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,886
pyglove.core.symbolic.base
infer
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.
@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. """
(self, **kwargs) -> Any
[ 0.0168459415435791, -0.05691405013203621, 0.03686712309718132, 0.023634091019630432, -0.0011338613694533706, -0.007148583419620991, 0.0221408698707819, -0.05272616446018219, 0.013722190633416176, 0.003936870023608208, 0.03762231394648552, 0.028474189341068268, 0.02581385150551796, 0.058046840131282806, -0.010486877523362637, 0.03535673767328262, -0.02600264921784401, 0.08938732743263245, 0.021969234570860863, 0.04373250901699066, -0.014597526751458645, -0.05015164613723755, -0.03273072838783264, 0.010632766410708427, -0.003037933260202408, -0.004157849587500095, 0.014511710032820702, -0.01585904136300087, 0.018982792273163795, 0.03010471723973751, -0.03472169116139412, -0.02742721699178219, -0.0003100150788668543, 0.03190688043832779, 0.007526179309934378, -0.007234400603920221, -0.032215822488069534, 0.10243155807256699, -0.08691579103469849, -0.013275939971208572, -0.05049491301178932, -0.04047144949436188, 0.012203224003314972, -0.017206374555826187, -0.050700876861810684, -0.031220342963933945, 0.006599352229386568, -0.0677613615989685, -0.025264620780944824, -0.013155795633792877, 0.009560050442814827, -0.034841835498809814, 0.011868536472320557, 0.021969234570860863, 0.0326792374253273, 0.07064482569694519, -0.0104096420109272, -0.0470622219145298, -0.06261231750249863, 0.03909837454557419, -0.0013977496419101954, -0.003469165414571762, 0.0670061707496643, -0.035700008273124695, -0.019411878660321236, 0.007157165091484785, -0.02509298548102379, -0.0011638974538072944, -0.04682193323969841, 0.010915963910520077, -0.0040183961391448975, -0.01929173432290554, -0.014271421357989311, 0.05138741433620453, 0.0762057825922966, 0.012795363552868366, -0.04599808529019356, -0.025350438430905342, 0.035030633211135864, -0.02323933131992817, -0.013181541115045547, -0.00902798306196928, -0.06542713195085526, -0.017850004136562347, -0.015653079375624657, -0.04472798854112625, -0.04273702949285507, -0.032181497663259506, 0.004908751230686903, 0.04850395396351814, -0.016674306243658066, 0.03892673924565315, -0.028783131390810013, 0.04345789551734924, 0.008139773271977901, 0.005337837617844343, 0.0012711691670119762, -0.051318760961294174, 0.0017474553314968944, -0.03061962127685547, 0.018742503598332405, 0.0670061707496643, 0.01749815233051777, -0.03648952767252922, -0.008277080953121185, -0.02505865879356861, -0.004565481562167406, -0.008491624146699905, 0.018828321248292923, 0.008993655443191528, -0.06158251315355301, -0.02567654475569725, -0.08437559753656387, 0.030465150251984596, -0.06546145677566528, 0.02090509980916977, 0.016382526606321335, 0.005350710358470678, 0.02186625450849533, 0.047268182039260864, -0.026036975905299187, 0.02323933131992817, -0.034223951399326324, -0.0003424647729843855, 0.002030652482062578, -0.002287031849846244, 0.01338750310242176, -0.0103152422234416, 0.009517141617834568, -0.02281024493277073, 0.018879812210798264, 0.01910293661057949, -0.03947596997022629, 0.038652122020721436, 0.002535901963710785, 0.0871904045343399, 0.022827409207820892, 0.021591639146208763, -0.01250358484685421, -0.0024608117528259754, -0.0022891771513968706, 0.01875966787338257, 0.09137828648090363, 0.013250195421278477, -0.04792039468884468, 0.02919505350291729, -0.014382983557879925, 0.012984161265194416, -0.008268499746918678, 0.045036934316158295, 0.01612507551908493, 0.022037889808416367, 0.014443055726587772, -0.01829625479876995, 0.009251107461750507, -0.021986398845911026, 0.025968322530388832, 0.011164833791553974, -0.020064091309905052, -0.038411833345890045, -0.06638828665018082, -0.03233596682548523, 0.026500390842556953, -0.032215822488069534, -0.0011156252585351467, 0.01743808016180992, -0.04064308479428291, -0.025178803130984306, 0.014580363407731056, 0.027873467653989792, -0.03906404599547386, -0.02020139805972576, -0.015249738469719887, -0.045277222990989685, 0.03614625707268715, 0.026328755542635918, 0.02014990895986557, 0.0459294319152832, 0.02315351366996765, 0.0894559770822525, 0.050460588186979294, -0.06882549822330475, -0.119114451110363, -0.02509298548102379, 0.06789866834878922, 0.06583905220031738, -0.018982792273163795, 0.01340466644614935, 0.04263404756784439, 0.03307399898767471, 0.007796504069119692, -0.006552152801305056, -0.003396220738068223, -0.026740679517388344, 0.0033254213631153107, -0.046890586614608765, -0.0031645139679312706, 0.043801162391901016, -0.011130507104098797, 0.032988179475069046, -0.02581385150551796, -0.005775506142526865, 0.025968322530388832, 0.03981924057006836, -0.01862235926091671, -0.007878030650317669, 0.0107872374355793, -0.04757712408900261, -0.04596376046538353, -0.04816068336367607, -0.02753019891679287, 0.0032331678085029125, 0.0384804904460907, 0.024303466081619263, 0.03101438097655773, -0.056845396757125854, 0.024543754756450653, -0.023513946682214737, 0.008985074236989021, 0.04953376203775406, 0.05890501290559769, 0.0002433725749142468, 0.029898757115006447, 0.045174241065979004, 0.07085078209638596, -0.04551750794053078, -0.007067056838423014, -0.05821847543120384, -0.024972841143608093, -0.04057443141937256, 0.003522801212966442, -0.04359520226716995, 0.0262429378926754, -0.016648560762405396, 0.03920135274529457, 0.04548318311572075, 0.01124206930398941, -0.017266446724534035, -0.06038106977939606, 0.01379084400832653, -0.02256995625793934, 0.04888154938817024, -0.028319718316197395, 0.024612409994006157, -0.018793994560837746, -0.027547361329197884, 0.022072216495871544, 0.06844790279865265, -0.0427713543176651, -0.011920026503503323, 0.04654731601476669, -0.052897799760103226, -0.007350253872573376, 0.00395832397043705, 0.04980837553739548, 0.013610627502202988, -0.052039626985788345, 0.00600292207673192, 0.0466846264898777, 0.024732552468776703, 0.03813721984624863, 0.02186625450849533, 0.016897430643439293, 0.10140175372362137, -0.061994437128305435, -0.014520291239023209, -0.04919049143791199, -0.0435265488922596, -0.047611452639102936, 0.035219430923461914, 0.05859607085585594, -0.020167071372270584, 0.025899669155478477, -0.017189210280776024, -0.0431489497423172, -0.019823802635073662, -0.03518510237336159, 0.03029351681470871, -0.05162770301103592, -0.045414529740810394, -0.009748848155140877, -0.05355001240968704, -0.03283371031284332, 0.013919570483267307, -0.05502606928348541, 0.004308029543608427, -0.007294472772628069, -0.03329712152481079, 0.015043777413666248, -0.008766239508986473, 0.10710002481937408, -0.052794817835092545, 0.025350438430905342, 0.03264491260051727, 0.05845876410603523, 0.0048315152525901794, -0.015653079375624657, 0.00448824604973197, 0.01746382564306259, -0.044316068291664124, 0.04610106721520424, -0.007345963269472122, -0.047886066138744354, 0.03142630308866501, 0.015653079375624657, 0.00020850928558502346, -0.020355869084596634, 0.026380246505141258, -0.03563135489821434, 0.027598852291703224, -0.032181497663259506, 0.005981467664241791, -0.0633331835269928, 0.029830101877450943, -0.03858346864581108, -0.04205048829317093, 0.019463369622826576, 0.011190579272806644, 0.011327886953949928, 0.040986355394124985, -0.02234683185815811, 0.028302554041147232, -0.013996805995702744, 0.003913269843906164, -0.04047144949436188, 0.012331949546933174, -0.010744329541921616, 0.023651255294680595, -0.00009842174767982215, 0.025556400418281555, -0.0235311109572649, -0.00252517475746572, 0.03037933260202408, 0.027873467653989792, -0.09968540817499161, -0.0035399647895246744, 0.02272442728281021, 0.03372620791196823, 0.06329885870218277, -0.01934322528541088, 0.005003150086849928, -0.000032969273888738826, 0.00943132396787405, 0.02600264921784401, 0.0303450059145689, 0.06044972315430641, 0.002636737423017621, -0.007238691207021475, 0.1034613698720932, 0.02052750438451767, -0.018038801848888397, -0.05427087843418121, -0.029177891090512276, -0.0107872374355793, 0.02924654446542263, 0.007024148013442755, -0.04998001083731651, -0.010641348548233509, 0.006728078238666058, -0.06577039510011673, -0.010607021860778332, -0.02643173560500145, -0.02162596583366394, 0.01934322528541088, 0.011473776772618294, -0.0018010911298915744, -0.061891455203294754, 0.04568914324045181, 0.01038389652967453, -0.01762687787413597, -0.021368514746427536, -0.046993568539619446, -0.011885699816048145, -0.0338120274245739, -0.009251107461750507, 0.01604783907532692, -0.0065950616262853146, 0.03985356539487839, 0.014520291239023209, 0.1073746383190155, -0.011216324754059315, -0.03916702792048454, -0.05100981891155243, -0.01409978698939085, 0.030070390552282333, -0.04191318154335022, -0.01728360913693905, -0.010049208998680115, -0.008255627006292343, 0.04963674023747444, 0.013233032077550888, -0.01805596612393856, -0.06374511122703552, -0.062234725803136826, 0.0012443512678146362, -0.019308898597955704, -0.014177022501826286, -0.00820842757821083, -0.06302424520254135, 0.03171808272600174, -0.0030636785086244345, 0.003703017719089985, 0.038514815270900726, 0.007307345513254404, 0.016090748831629753, 0.03676414117217064, 0.05320674180984497, -0.02677500620484352, -0.008671840652823448, -0.01455461885780096, 0.0431489497423172, -0.016107911244034767, -0.058561742305755615, 0.008916419930756092, 0.023840053007006645, 0.037279047071933746, 0.023685581982135773, -0.0392356812953949, 0.004224357660859823, -0.011662574484944344, 0.05540366470813751, 0.03600895032286644, 0.01915442757308483, 0.05471712723374367, 0.01223755069077015, 0.0326792374253273, 0.010658511891961098, 0.06542713195085526, 0.005590998567640781, 0.00011960789561271667, 0.011602502316236496, -0.023840053007006645, -0.04881289601325989, -0.018467888236045837, -0.00369229051284492, -0.008882093243300915, -0.020510340109467506, -0.04843530058860779, -0.027272745966911316, -0.006226046942174435, -0.021660292521119118, 0.03115168958902359, 0.014022551476955414, 0.012151733040809631, 0.043801162391901016, -0.06789866834878922, 0.003913269843906164, 0.03264491260051727, -0.04647866263985634, -0.05736029893159866, 0.03252476826310158, -0.02414899505674839, 0.03724471852183342, 0.03858346864581108, -0.02538476511836052, -0.031083036214113235, 0.02420048601925373, -0.00948281493037939, 0.01112192589789629, 0.01593627780675888, 0.013327430933713913, -0.0068396409042179585, -0.043320585042238235, -0.11300425231456757, 0.03552837297320366, 0.022312505170702934, -0.0013323139864951372, -0.01776418648660183, -0.08588597923517227, -0.03745068237185478, 0.0878082886338234, -0.01682019606232643, 0.01698324829339981, -0.027616014704108238, -0.027564525604248047, 0.03700442984700203, -0.03357173874974251, -0.03858346864581108, 0.019823802635073662, -0.018450725823640823, 0.015601590275764465, 0.00919103529304266, -0.008873511105775833, 0.006723787635564804, 0.021608803421258926, -0.015593008138239384, -0.021265532821416855, 0.0027504453901201487, 0.016167983412742615, -0.00075036525959149, -0.054614145308732986, 0.08526809513568878, 0.057188667356967926, 0.012314786203205585, -0.0004060232313349843, -0.020699139684438705, 0.02900625579059124, 0.02919505350291729, 0.05073520168662071, -0.012855435721576214, 0.021420003846287727, -0.026414573192596436, 0.039510298520326614, 0.01621089316904545, -0.013250195421278477, 0.0027311365120112896, -0.0009509632363915443, 0.004968823399394751, -0.01364495512098074, 0.04754279926419258, 0.013713608495891094, 0.03180390223860741, 0.011302141472697258, 0.001078080153092742, 0.021608803421258926, -0.03782827779650688, 0.03067111223936081, -0.03686712309718132, -0.006831059232354164, -0.02519596740603447, -0.012383440509438515, 0.003999087493866682, -0.03295385465025902, 0.030327843502163887, 0.006062994245439768, 0.0025981194339692593, 0.012280459515750408, 0.006384809035807848, 0.017532479017972946, 0.013868079520761967, -0.013258776627480984, -0.01666572503745556, 0.028491351753473282, 0.040505778044462204, 0.0004717271076515317, -0.009208198636770248, -0.029092073440551758, 0.020664812996983528, -0.01474341657012701, -0.002617428544908762, 0.04229077696800232, 0.010847309604287148, -0.04016250744462013, 0.02095659077167511, 0.017901495099067688, -0.05440818518400192, -0.0579095296561718, 0.011181997135281563, 0.030327843502163887, 0.03333145007491112, -0.08670982718467712, -0.040368471294641495, -0.0030272062867879868, 0.053652990609407425, -0.01843356154859066, -0.019360389560461044, 0.04119231551885605, 0.043938469141721725, -0.00759912421926856, 0.03302250802516937, 0.003089423757046461, -0.0002982152218464762, 0.0862978994846344, 0.000698338495567441, 0.04620404914021492, 0.05011731758713722, 0.025848178192973137, 0.07291039824485779, -0.002497284207493067, -0.10098982602357864, 0.007856575772166252, -0.027375726029276848, 0.026448899880051613, -0.003709453856572509, -0.012752454727888107, 0.056467801332473755, -0.02105957269668579, -0.021883418783545494, 0.011653993278741837, -0.06405404955148697, -0.023599764332175255, -0.016923176124691963, 0.029847266152501106, -0.020424524322152138, 0.015472863800823689, -0.04249674081802368, 0.007985302247107029, 0.016597071662545204, -0.07442078739404678, -0.030756929889321327, -0.0677613615989685, -0.050700876861810684, 0.0013301685685291886, 0.0069040036760270596, -0.005981467664241791, -0.03152928501367569, -0.004475373774766922, -0.024887025356292725, 0.011671156622469425, -0.08053097873926163, -0.06982097774744034, 0.02076779305934906, 0.01977231167256832, -0.02342813089489937, 0.007041311357170343, -0.009723102673888206, -0.04469366371631622, 0.05087251216173172, -0.01580755226314068, -0.012829690240323544, 0.036695487797260284, -0.0013784407638013363, 0.04191318154335022, -0.015318392775952816, -0.018793994560837746, 0.023496784269809723, -0.015344138257205486, 0.024080341681838036, -0.03992221876978874, 0.04867558553814888, -0.033417265862226486, -0.024131832644343376, -0.03000173717737198, 0.025041496381163597, -0.001545784529298544, 0.10510905832052231, 0.005818414501845837, -0.04407577961683273, 0.011302141472697258, -0.035597026348114014, 0.039510298520326614, 0.04816068336367607, 0.01985812932252884, -0.028233900666236877, -0.010006300173699856, -0.026792168617248535, 0.01972082071006298, 0.037896931171417236, 0.004904460161924362, 0.007049893494695425, -0.020596157759428024, 0.05207395181059837, -0.021797601133584976, -0.0003719644737429917, 0.016399690881371498, -0.050082992762327194, -0.05883635953068733, -0.008487333543598652, 0.0502202995121479, 0.058321453630924225, -0.026517553254961967, 0.01953202299773693, 0.005689688492566347, 0.04043712466955185, 0.029744284227490425, 0.02514447644352913, 0.0008512006024830043, -0.0029435341712087393, -0.00893358327448368, 0.011825627647340298, -0.05433953180909157, 0.0060801575891673565, -0.054751452058553696, 0.006809604819864035, 0.07407751679420471, 0.03686712309718132, -0.10153906047344208, -0.08561136573553085, 0.04102068021893501, -0.04843530058860779, -0.008169809356331825, 0.05334404855966568, 0.05962587893009186, -0.048847220838069916, -0.02457808144390583, -0.0033254213631153107, 0.012100243009626865, -0.020167071372270584, 0.028079429641366005, 0.00042908661998808384, 0.016056422144174576, -0.01875966787338257, -0.023119186982512474, 0.005861323326826096, -0.0439041443169117, -0.0754505917429924, -0.023410966619849205, 0.04462501034140587, -0.000402000528993085, -0.06281828135251999, 0.0009472087258473039, -0.013533391989767551, -0.0021776147186756134, 0.024887025356292725, 0.03010471723973751, -0.07194924354553223, -0.07902059704065323, 0.0007176473736763, 0.035322412848472595, -0.02691231295466423, 0.027221255004405975, 0.021780436858534813, -0.015103849582374096, -0.02643173560500145, 0.04692491516470909, 0.07888328284025192, -0.05777222290635109, 0.030276352539658546, -0.012357695028185844, -0.04829799011349678, -0.005080385599285364, 0.02023572474718094, -0.02272442728281021, -0.009517141617834568, -0.01843356154859066, -0.027461543679237366, 0.0252989474684, 0.06892847269773483, -0.05262318253517151, 0.06511818617582321, -0.021934907883405685, -0.025796689093112946, 0.04956808686256409, 0.029332362115383148, -0.03824020177125931, 0.04647866263985634, -0.008671840652823448, -0.02162596583366394, 0.030070390552282333, 0.05619318410754204, 0.07517597824335098, 0.015223993919789791, -0.0007895193994045258, 0.025933995842933655, 0.008757658302783966, -0.015876205638051033, -0.034189622849226, -0.04496827721595764, -0.04215347021818161, -0.00225699576549232, -0.020990917459130287, -0.021780436858534813, -0.06079299375414848, 0.05128443241119385, 0.016107911244034767, -0.036558181047439575, 0.04658164456486702, 0.045654818415641785, 0.03209567815065384, -0.004625553730875254, -0.020544668659567833, 0.056021548807621, 0.02828538976609707, 0.03628356382250786, 0.04524289444088936, 0.012057334184646606, 0.04459068179130554, -0.0799817442893982, -0.0015028759371489286, -0.023651255294680595, -0.04730251058936119, -0.04187885671854019, 0.010701420716941357, -0.006573607213795185, -0.021214043721556664, 0.030499476939439774, 0.021265532821416855, 0.05385895445942879 ]
40,887
pyglove.core.symbolic.base
sym_setparent
Sets the parent of this object.
@abc.abstractmethod def sym_setparent(self, parent: Optional['TopologyAware']) -> None: """Sets the parent of this object."""
(self, parent: Optional[pyglove.core.symbolic.base.TopologyAware]) -> NoneType
[ 0.00901777297258377, -0.021265286952257156, 0.04412844404578209, 0.056877415627241135, -0.06714458763599396, -0.039266835898160934, -0.010734635405242443, 0.052389778196811676, 0.030903508886694908, -0.02384907752275467, -0.002030273899435997, -0.05235578119754791, 0.03766896575689316, 0.04497837647795677, -0.07486196607351303, 0.0014353218721225858, 0.0018645372474566102, 0.022404193878173828, 0.0019952142611145973, -0.029645610600709915, -0.0017009254079312086, -0.02753778174519539, 0.05650344863533974, -0.049092043191194534, -0.004950851202011108, 0.09682419896125793, -0.026568859815597534, 0.019837401807308197, 0.001392825273796916, -0.048990052193403244, -0.04341450333595276, -0.022880155593156815, 0.005282324273139238, 0.054939571768045425, 0.11314288526773453, 0.03797493875026703, -0.03685303032398224, 0.09260853379964828, -0.07091828435659409, 0.001385388313792646, -0.013037949800491333, -0.03177044168114662, 0.01822253130376339, -0.04678022861480713, 0.03709100931882858, 0.04844609647989273, 0.04331250861287117, 0.032008420675992966, 0.00901777297258377, 0.012188018299639225, 0.019106460735201836, -0.041544653475284576, 0.010981115512549877, 0.011142602190375328, -0.05194781348109245, 0.06932041049003601, 0.02784375660121441, 0.01954842545092106, 0.015162778086960316, 0.008176340721547604, -0.003977679647505283, 0.010768632404506207, -0.003578211646527052, -0.03562912717461586, 0.0032276147976517677, -0.052797745913267136, -0.03647905960679054, -0.029050659388303757, 0.006344738882035017, 0.05201580747961998, -0.04259856790304184, -0.04113668575882912, -0.01903846673667431, 0.02786075510084629, 0.06408483535051346, -0.008992275223135948, -0.03372528403997421, 0.0056222970597445965, 0.03566312789916992, -0.07425002008676529, -0.04487638548016548, -0.02548094652593136, -0.013301428407430649, 0.02439303509891033, -0.02745278738439083, 0.0233561173081398, 0.060175150632858276, 0.038144927471876144, 0.03566312789916992, -0.025650933384895325, 0.002119516720995307, 0.013190937228500843, -0.026160892099142075, 0.047358185052871704, 0.041204679757356644, 0.057183392345905304, 0.024851996451616287, -0.08349727094173431, -0.018987469375133514, -0.020211370661854744, 0.005983517970889807, 0.0269258301705122, -0.00637448625639081, -0.03909685090184212, -0.004589630290865898, -0.02694282867014408, 0.00007675943925278261, 0.005737037863582373, -0.024801000952720642, -0.0050485930405557156, -0.06578470021486282, 0.012910459190607071, -0.07302611321210861, 0.02119729109108448, -0.008376074954867363, -0.008167841471731663, 0.001633993349969387, -0.033844273537397385, 0.0416126474738121, -0.013938876800239086, -0.043788470327854156, 0.058203309774398804, -0.04045673832297325, -0.03562912717461586, 0.04086470603942871, 0.046236272901296616, 0.028591696172952652, 0.036717042326927185, -0.038144927471876144, -0.0433805026113987, 0.02476700395345688, -0.001217526849359274, -0.01659916155040264, 0.00012968094961252064, 0.03542514517903328, 0.02036435902118683, 0.014049367979168892, 0.004094545263797045, -0.06911642849445343, -0.014074865728616714, 0.009502233937382698, -0.005851778667420149, 0.034031257033348083, 0.020976310595870018, -0.01678614690899849, 0.04168064147233963, -0.04341450333595276, -0.05021395534276962, -0.04123867675662041, 0.024104056879878044, 0.0020026511047035456, -0.008469567634165287, 0.0029450126457959414, -0.008112596347928047, -0.039368826895952225, 0.005388565827161074, -0.02548094652593136, -0.00676120538264513, 0.04096669703722, -0.02080632373690605, -0.036717042326927185, -0.08723697066307068, 0.030563537031412125, -0.03501717746257782, -0.0317874401807785, -0.02384907752275467, -0.030359553173184395, -0.04943201690912247, -0.005919773131608963, 0.006421232596039772, -0.011618563905358315, -0.055857498198747635, -0.0423605851829052, -0.005877276416867971, 0.017474591732025146, 0.0013067696709185839, 0.0379069447517395, 0.02068733237683773, -0.023509105667471886, 0.028897671028971672, 0.09104466438293457, 0.00709267845377326, -0.04579430818557739, 0.05157384276390076, 0.07091828435659409, 0.01274897251278162, 0.013836884871125221, 0.005762535613030195, 0.058917250484228134, 0.017746569588780403, -0.018681494519114494, 0.009451238438487053, -0.010709136724472046, -0.0035187164321541786, 0.03817892447113991, -0.029203645884990692, 0.036887027323246, -0.004657624755054712, -0.05378366634249687, 0.1026037335395813, 0.0201603751629591, 0.011431578546762466, 0.019990388303995132, 0.02213221602141857, 0.053409695625305176, 0.015188275836408138, 0.024410033598542213, -0.05313771963119507, -0.037634968757629395, -0.0073519074358046055, 0.025650933384895325, -0.01187354326248169, 0.01116809993982315, -0.01852850615978241, 0.04545433819293976, -0.06955839693546295, -0.0211802925914526, 0.019021466374397278, 0.0021970728412270546, 0.04769815504550934, 0.030495543032884598, 0.02252318523824215, 0.03275636211037636, -0.016131700947880745, 0.008720297366380692, -0.04946601390838623, 0.007764124311506748, -0.07778573036193848, -0.0028217725921422243, -0.04314252361655235, -0.008252834901213646, -0.04759616404771805, -0.0005041156546212733, -0.030155569314956665, 0.004508886486291885, -0.02763977274298668, -0.03307933360338211, -0.009910201653838158, -0.0832252949476242, 0.019514426589012146, -0.04314252361655235, 0.016862642019987106, 0.004721369594335556, 0.06027714163064957, -0.03658105060458183, -0.014635820873081684, -0.008932780474424362, 0.05072391405701637, 0.01699863001704216, 0.011236094869673252, 0.04083070904016495, -0.10117584466934204, -0.06819850206375122, 0.0015808725729584694, 0.05225379019975662, -0.03204241767525673, -0.05609548091888428, -0.00813809409737587, 0.019310444593429565, -0.0007649383624084294, -0.07051032036542892, 0.02714681252837181, -0.00941724143922329, 0.01895347237586975, 0.028506703674793243, -0.008439820259809494, 0.00041327919461764395, -0.004479139111936092, -0.08975277096033096, 0.021231289952993393, 0.029475625604391098, 0.029832595959305763, 0.00849931500852108, 0.04147665947675705, 0.0025115476455539465, -0.05395365133881569, -0.04497837647795677, -0.01854550465941429, -0.04222459718585014, -0.05816931277513504, 0.02641587145626545, 0.009170761331915855, -0.012519490905106068, 0.03658105060458183, -0.06789252907037735, -0.024750005453824997, 0.010632643476128578, -0.036411065608263016, -0.02221721038222313, -0.010386163368821144, -0.020738329738378525, 0.049737993627786636, -0.03399726003408432, 0.03756697103381157, 0.03491518646478653, 0.006153504364192486, -0.02478400245308876, 0.045726314187049866, 0.008206089027225971, -0.04800413176417351, 0.07805770635604858, -0.003909684717655182, -0.03511916846036911, 0.041408661752939224, 0.030376551672816277, 0.006977937649935484, 0.009689219295978546, 0.057897333055734634, -0.017746569588780403, 0.006314991042017937, 0.001633993349969387, 0.06483277678489685, -0.10008793324232101, 0.03462620824575424, 0.01944643259048462, 0.02007538266479969, 0.01803554594516754, -0.05782933905720711, 0.03545914217829704, 0.11871843039989471, -0.05194781348109245, -0.023713089525699615, -0.048174116760492325, -0.02272716909646988, -0.036819033324718475, -0.02221721038222313, 0.003219115547835827, -0.012510991655290127, -0.0250729788094759, 0.027673769742250443, -0.0419866181910038, 0.05204980447888374, 0.018307525664567947, -0.03872288018465042, -0.11042310297489166, 0.017032627016305923, 0.0072754137217998505, -0.018205532804131508, 0.0201603751629591, -0.0011686558136716485, 0.07261814922094345, 0.034779198467731476, -0.028319718316197395, -0.026653852313756943, -0.018987469375133514, -0.001340766903012991, -0.026857836171984673, -0.015817224979400635, 0.054735589772462845, 0.007126675918698311, -0.02172425016760826, 0.05133586376905441, -0.0056987907737493515, -0.009357745759189129, 0.011907540261745453, 0.03879087418317795, -0.02950962260365486, 0.04212260618805885, -0.023067140951752663, -0.0579313300549984, 0.05833929777145386, -0.07778573036193848, 0.016845641657710075, 0.017440594732761383, -0.0645947977900505, -0.005809281952679157, -0.007075679954141378, 0.014610323123633862, 0.0416126474738121, -0.032416388392448425, -0.03022356517612934, -0.0809134766459465, 0.027401791885495186, -0.03052954003214836, -0.013063447549939156, 0.09145262837409973, -0.010819627903401852, 0.0012079651933163404, -0.023611096665263176, -0.03545914217829704, 0.08512914180755615, -0.024936990812420845, 0.05130186676979065, 0.013539409264922142, -0.004657624755054712, -0.034983180463314056, 0.06656663864850998, 0.04854808747768402, 0.019072463735938072, 0.01924244873225689, 0.027282802388072014, -0.0017370475688949227, -0.009621224366128445, -0.018375519663095474, 0.014372342266142368, -0.03233139589428902, 0.016658658161759377, -0.0023543103598058224, -0.041306670755147934, -0.016055205836892128, 0.06439080834388733, -0.06911642849445343, 0.049703992903232574, -0.009043271653354168, 0.04361848533153534, -0.015545247122645378, 0.03421824425458908, 0.002730404958128929, -0.005847528576850891, -0.037838950753211975, -0.014049367979168892, -0.0023798083420842886, -0.018766487017273903, -0.0018188534304499626, 0.01315694022923708, -0.009978195652365685, 0.07091828435659409, 0.03760097175836563, 0.06632865220308304, -0.028693687170743942, 0.02447802759706974, 0.018409516662359238, 0.012493993155658245, 0.036309074610471725, 0.035901106894016266, -0.006242746952921152, 0.002704906975850463, -0.01708362251520157, 0.005541553255170584, 0.026381874457001686, 0.010896122083067894, -0.015434755943715572, 0.03289235010743141, 0.0027580277528613806, -0.003544214414432645, -0.005741287488490343, 0.017950553447008133, -0.012978454120457172, -0.0362410806119442, 0.04433242604136467, 0.05055392533540726, -0.01708362251520157, -0.045012373477220535, -0.011771551333367825, 0.05476958677172661, 0.013343924656510353, -0.006229998078197241, 0.045012373477220535, 0.0029598865658044815, 0.014057867228984833, 0.03000258281826973, 0.005520305130630732, 0.03637706860899925, 0.03535715118050575, -0.08098147064447403, -0.02898266538977623, 0.046440258622169495, -0.03285835310816765, -0.018205532804131508, 0.009272752329707146, 0.018783485516905785, 0.004047798924148083, 0.004806362558156252, -0.02784375660121441, 0.023628095164895058, 0.08084548264741898, -0.011746053583920002, -0.03695502132177353, -0.035391148179769516, -0.0358671098947525, 0.05963119491934776, -0.0558914951980114, -0.01619119569659233, -0.0006932253600098193, -0.020857319235801697, -0.008563060313463211, -0.028217725455760956, -0.022965149953961372, -0.030699526891112328, -0.020823322236537933, -0.04270055890083313, -0.003165994770824909, 0.012782969512045383, 0.016828643158078194, 0.00046560310875065625, -0.03051254153251648, 0.02988359145820141, -0.04865007847547531, -0.01254498865455389, 0.0030491293873637915, -0.057081401348114014, 0.04222459718585014, -0.007789622526615858, 0.04062672704458237, 0.06401684135198593, 0.035289157181978226, 0.008737295866012573, -0.02855769917368889, 0.0031001251190900803, -0.040286753326654434, -0.010581647045910358, 0.003064003074541688, -0.01367539819329977, -0.0352211631834507, 0.06476478278636932, -0.025888914242386818, -0.05725138634443283, 0.0033211074769496918, -0.021996228024363518, 0.06445880234241486, 0.05548352748155594, 0.013190937228500843, 0.05364767834544182, -0.008074349723756313, 0.022591179236769676, 0.004332525655627251, -0.01864749751985073, 0.008065850473940372, 0.029832595959305763, -0.035493139177560806, 0.03960680961608887, -0.03919884189963341, 0.018290525302290916, -0.0076238857582211494, 0.03459221124649048, -0.02837071381509304, -0.019888397306203842, -0.0240530613809824, 0.02262517623603344, 0.01454232819378376, -0.002770776627585292, -0.004381396807730198, -0.0534776896238327, 0.08648902922868729, 0.035799115896224976, 0.0622829794883728, -0.03421824425458908, 0.03122648410499096, 0.004525885451585054, -0.02867668867111206, -0.01670965366065502, -0.005601048469543457, 0.012001032941043377, 0.013505411334335804, 0.04545433819293976, -0.011856544762849808, -0.0585772804915905, -0.026874834671616554, -0.029118653386831284, 0.007772623561322689, -0.031379472464323044, 0.000741034047678113, 0.021248288452625275, 0.06054912135004997, 0.01172905508428812, -0.005456560291349888, 0.0470862053334713, 0.0013365172781050205, 0.014355342835187912, 0.05170983448624611, 0.0074454001151025295, 0.014372342266142368, 0.06836848706007004, -0.04103469476103783, 0.07323010265827179, 0.017389599233865738, 0.018205532804131508, -0.014406339265406132, 0.06282693892717361, 0.02046635001897812, -0.008686300367116928, -0.0558914951980114, 0.014210854656994343, 0.017576582729816437, -0.020942311733961105, 0.02673884481191635, -0.00257104285992682, 0.040592730045318604, -0.05735337734222412, -0.06105908006429672, -0.022965149953961372, 0.009408742189407349, 0.03316432610154152, 0.020738329738378525, 0.009434239938855171, 0.00023559038527309895, -0.0044238935224711895, 0.05674142763018608, -0.03637706860899925, -0.05119987577199936, -0.045114364475011826, -0.036921024322509766, 0.03294334560632706, -0.005877276416867971, -0.021945232525467873, -0.021486269310116768, -0.008873284794390202, -0.06343888491392136, 0.05439561605453491, -0.009247254580259323, -0.04477439075708389, 0.029152650386095047, 0.04824211075901985, 0.02325412631034851, 0.031090494245290756, -0.008461068384349346, -0.029458625242114067, 0.03899485617876053, -0.07207418978214264, -0.010352165438234806, 0.043686479330062866, 0.02078932523727417, 0.016446175053715706, -0.05609548091888428, -0.06051512435078621, -0.043074529618024826, -0.05731938034296036, 0.03279035910964012, 0.011618563905358315, -0.04137466475367546, -0.00819758977741003, -0.01059864554554224, -0.009748714044690132, -0.010836626403033733, -0.08737295866012573, 0.07615386694669724, 0.025820918381214142, -0.033759281039237976, 0.016361180692911148, -0.03831491246819496, 0.04344850033521652, -0.05133586376905441, -0.0057752844877541065, -0.015902219340205193, -0.00781087065115571, -0.075813889503479, 0.00004445540253072977, 0.001951655256561935, 0.00885628629475832, 0.03746498003602028, -0.01885148137807846, 0.00921325758099556, 0.021792244166135788, -0.00691419281065464, -0.03739698603749275, 0.009680720046162605, -0.008665051311254501, -0.010199178010225296, -0.04443442076444626, -0.007844868116080761, -0.02152026630938053, 0.027010822668671608, -0.031889431178569794, -0.02170725166797638, 0.10817928612232208, 0.03545914217829704, -0.0436524823307991, 0.018902476876974106, -0.0014725063228979707, -0.013989872299134731, -0.002696407726034522, -0.009383243508636951, -0.018562505021691322, 0.05772734805941582, 0.027673769742250443, 0.016505669802427292, -0.002269317163154483, -0.06857247650623322, 0.024019064381718636, -0.025446949526667595, 0.003176619065925479, 0.0011049109743908048, -0.03290934860706329, -0.037838950753211975, 0.02315213344991207, -0.06588669121265411, 0.01832452416419983, -0.027928749099373817, -0.009918700903654099, -0.020211370661854744, -0.019293446093797684, 0.01874948851764202, -0.010267172940075397, -0.029526621103286743, 0.002469050930812955, 0.0352211631834507, 0.013802887871861458, 0.027316799387335777, 0.021367277950048447, -0.10709136724472046, 0.017967551946640015, -0.017126120626926422, 0.0209933090955019, 0.03360629081726074, 0.014712314121425152, -0.018970470875501633, -0.03207641467452049, -0.05748936906456947, 0.042462579905986786, 0.0191404577344656, 0.049092043191194534, 0.021452270448207855, -0.040694721043109894, 0.01834152266383171, 0.029458625242114067, 0.040898703038692474, -0.0073986537754535675, -0.00345709640532732, 0.03899485617876053, -0.036615051329135895, 0.006412733346223831, -0.018103541806340218, 0.004980598576366901, -0.08662501722574234, 0.029730604961514473, 0.0045471335761249065, 0.019123459234833717, 0.029985584318637848, -0.010360664688050747, 0.011967035941779613, -0.03879087418317795, -0.016845641657710075, 0.06309891492128372, -0.03617308661341667, 0.030699526891112328, 0.022149214521050453, -0.022965149953961372, -0.02969660609960556, 0.024529023095965385, 0.05170983448624611, -0.0269258301705122, 0.03297734260559082, -0.054327622056007385, 0.01854550465941429, 0.036819033324718475, -0.0037078261375427246, -0.04800413176417351, -0.017049625515937805, -0.04052473604679108, 0.013717894442379475, 0.01608920283615589, -0.0007893738802522421, -0.04885406419634819, -0.01854550465941429, 0.027826758101582527, -0.0022098219487816095, -0.01608920283615589, 0.0660906732082367, 0.014219353906810284, 0.013411919586360455, 0.005941021256148815, 0.025582939386367798, 0.017253609374165535, 0.0033359811641275883, -0.006450979970395565, -0.031481463462114334, 0.03020656667649746, 0.049500010907649994, 0.02490299381315708, -0.005201580934226513, -0.06428881734609604, -0.017440594732761383, 0.010003694333136082, 0.012553488835692406, 0.022098219022154808, 0.019531426951289177, -0.006204499863088131, 0.04273455590009689 ]
40,888
pyglove.core.symbolic.base
sym_setpath
Sets the path of this object under its topology.
@abc.abstractmethod def sym_setpath(self, path: object_utils.KeyPath) -> None: """Sets the path of this object under its topology."""
(self, path: pyglove.core.object_utils.value_location.KeyPath) -> NoneType
[ 0.031187184154987335, -0.029100120067596436, 0.008297352120280266, 0.059591617435216904, -0.0590147040784359, -0.05769120156764984, -0.04180915281176567, 0.04133404791355133, 0.017663687467575073, 0.0011061015538871288, 0.03293488919734955, -0.021176064386963844, 0.056435566395521164, 0.06865252554416656, -0.09766780585050583, 0.008165850304067135, 0.02750512771308422, 0.041707344353199005, -0.019750751554965973, -0.008993039838969707, -0.010655904188752174, -0.020429471507668495, 0.07642386853694916, -0.03344392776489258, -0.013192620128393173, 0.06889007985591888, 0.010842552408576012, 0.04893571138381958, 0.05114155262708664, -0.061695646494627, -0.027522096410393715, -0.005697005894035101, -0.00031443824991583824, 0.05504419282078743, 0.07744195312261581, 0.007512582000344992, 0.008993039838969707, 0.059320129454135895, -0.01919080875813961, -0.01611959934234619, 0.005158272106200457, 0.028930440545082092, 0.03322334587574005, -0.040451712906360626, 0.06047395244240761, 0.03340999037027359, -0.020667023956775665, 0.05070038512349129, 0.03057633526623249, -0.004772250074893236, -0.009519048035144806, -0.03254462406039238, -0.009663276374340057, -0.028149912133812904, -0.010206252336502075, 0.045406367629766464, 0.04567785561084747, 0.052023887634277344, 0.003179379040375352, -0.008081009611487389, 0.01211515162140131, -0.013294427655637264, 0.011427948251366615, -0.01946229673922062, -0.004218669142574072, -0.05158272013068199, -0.041910961270332336, -0.015966888517141342, 0.009196655824780464, 0.031305961310863495, -0.03987479954957962, -0.005120093934237957, -0.014923356473445892, -0.00968872755765915, 0.04208064079284668, 0.0012153330026194453, -0.04323446378111839, 0.011063136160373688, 0.01666257530450821, -0.06963667273521423, -0.04303084686398506, -0.03692236915230751, -0.04211457446217537, -0.024484824389219284, -0.07472707331180573, 0.047103166580200195, 0.07981747388839722, -0.006732054054737091, 0.0064775338396430016, -0.012081216089427471, -0.012564804404973984, -0.0021316050551831722, -0.0506664477288723, 0.03223919868469238, 0.0016766504850238562, 0.008942135609686375, 0.035361312329769135, -0.0992288663983345, -0.013718628324568272, -0.00435229204595089, 0.003790226997807622, -0.03817800059914589, -0.0017328569665551186, 0.0143803795799613, -0.010545612312853336, -0.02896437607705593, 0.016577735543251038, -0.02604587934911251, -0.0321882963180542, -0.028319591656327248, -0.06810954958200455, 0.08327894657850266, -0.040248095989227295, -0.006982332095503807, -0.024909023195505142, 0.020073143765330315, 0.020734896883368492, -0.05915044620633125, 0.05748758465051651, -0.014041019603610039, -0.04208064079284668, 0.06342638283967972, -0.03093266487121582, 0.05131123214960098, 0.06963667273521423, 0.04863028973340988, 0.03132292628288269, 0.05480663850903511, -0.037533216178417206, -0.06383361667394638, -0.021176064386963844, 0.006129689980298281, -0.004687409847974777, 0.061525966972112656, 0.03132292628288269, 0.025078704580664635, -0.022160207852721214, -0.04672987386584282, -0.020582184195518494, 0.003020304022356868, 0.015924468636512756, -0.01692558079957962, 0.013786500319838524, -0.016009308397769928, 0.011097071692347527, 0.06471595168113708, -0.003359663998708129, -0.041978832334280014, -0.033477865159511566, 0.042419999837875366, -0.019835591316223145, 0.015008196234703064, 0.02005617693066597, 0.002263107104226947, -0.03174712881445885, -0.010766196064651012, -0.02774268016219139, 0.025740455836057663, 0.042182449251413345, 0.018461184576153755, -0.04476158320903778, -0.06726115196943283, 0.019513199105858803, -0.03313850238919258, -0.03385116159915924, 0.002092366572469473, -0.02154936082661152, -0.04133404791355133, -0.028268687427043915, -0.0018898110138252378, -0.005913347937166691, -0.08891232311725616, -0.06783806532621384, 0.007902845740318298, 0.04459190368652344, -0.006142416037619114, 0.026860343292355537, 0.046356577426195145, -0.0005278638564050198, -0.005221901927143335, 0.0590147040784359, -0.015636011958122253, -0.06576796621084213, 0.0825323536992073, 0.041503727436065674, 0.04021415859460831, -0.006956879980862141, 0.004356534220278263, 0.03760108724236488, 0.06142415851354599, -0.013311396352946758, 0.03466562554240227, -0.005081916227936745, 0.006659939885139465, 0.021685104817152023, -0.05046283081173897, 0.06166171282529831, -0.02837049588561058, -0.06861859560012817, 0.14551757276058197, 0.04275935888290405, -0.019445328041911125, 0.008471273817121983, 0.03817800059914589, 0.056130144745111465, -0.022838927805423737, 0.058811087161302567, -0.015873564407229424, -0.021379679441452026, 0.025197479873895645, 0.0023224949836730957, -0.020344631746411324, 0.02261834405362606, -0.02438301593065262, 0.03245978429913521, -0.05008953437209129, -0.027454223483800888, 0.04554211348295212, 0.02750512771308422, 0.04214851185679436, 0.06403723359107971, 0.05775907263159752, -0.014745191670954227, -0.009137268178164959, -0.0021252420265227556, -0.046594128012657166, -0.006078786216676235, -0.05358494445681572, -0.02652098424732685, -0.0664806216955185, 0.02205839939415455, -0.029015280306339264, -0.00044381924089975655, -0.0271148644387722, 0.020497344434261322, -0.006350274197757244, 0.014490672387182713, 0.010299576446413994, -0.04910539090633392, 0.02703002467751503, -0.02521444857120514, 0.005879411939531565, 0.0013839524472132325, 0.006456323899328709, -0.06027033552527428, 0.02277105674147606, -0.00031682438566349447, 0.02536715939640999, -0.001301233540289104, -0.010791648179292679, 0.028794696554541588, -0.052023887634277344, -0.04550817608833313, 0.015924468636512756, 0.03162835165858269, -0.03943363204598427, -0.02360248751938343, -0.008513693697750568, 0.023432807996869087, 0.01641654036939144, -0.08565446734428406, -0.005056464113295078, -0.02032766491174698, 0.018936287611722946, 0.0387549102306366, -0.004891025833785534, -0.011690951883792877, 0.023806104436516762, -0.07520217448472977, 0.003143321955576539, 0.02222808077931404, 0.018495120108127594, -0.03637939319014549, 0.05803056061267853, 0.013498043641448021, 0.018885383382439613, -0.037024177610874176, -0.003995963837951422, -0.028709856793284416, -0.03176409751176834, 0.02896437607705593, -0.028574112802743912, 0.016968000680208206, 0.008679131977260113, -0.06810954958200455, 0.004176248796284199, 0.010494708083570004, -0.028149912133812904, -0.018579959869384766, -0.006592067889869213, 0.05521387234330177, 0.05965948849916458, -0.018427247181534767, 0.05032708868384361, 0.10397990047931671, 0.02414546348154545, -0.06488563120365143, 0.00785194244235754, 0.013277459889650345, -0.021837815642356873, 0.03283308073878288, 0.017714591696858406, -0.037329599261283875, 0.0351576954126358, 0.05168452858924866, -0.02971096709370613, 0.02431514486670494, 0.058132369071245193, 0.009824471548199654, 0.03773683309555054, 0.004759524017572403, 0.03481833636760712, -0.1114458218216896, 0.0503610223531723, 0.07289452850818634, 0.013599852100014687, -0.021837815642356873, -0.03391903266310692, -0.012437543831765652, 0.08097129315137863, -0.04751040041446686, -0.02300860732793808, -0.07574515044689178, -0.031543511897325516, -0.017264939844608307, -0.010308059863746166, 0.015143940225243568, 0.008577324450016022, -0.013693176209926605, 0.014329476282000542, -0.03171319141983986, 0.06743083149194717, 0.03439413756132126, 0.004377744160592556, -0.0351576954126358, -0.005879411939531565, -0.009943247772753239, -0.036549072712659836, -0.02616465650498867, 0.01606869511306286, 0.06956879794597626, 0.007156253792345524, -0.019767720252275467, -0.04204670339822769, 0.008942135609686375, 0.01898719184100628, -0.030440591275691986, 0.0042632101103663445, 0.020582184195518494, 0.052702609449625015, -0.026249496266245842, 0.05976129695773125, -0.007058687973767519, -0.021108191460371017, -0.006396935787051916, 0.032408878207206726, -0.04014628753066063, 0.009637824259698391, -0.03505588695406914, -0.06481775641441345, 0.07221581041812897, -0.022754088044166565, -0.014677319675683975, -0.008471273817121983, -0.010494708083570004, -0.009561467915773392, -0.05623195320367813, 0.02458663284778595, 0.05555323138833046, -0.023704295977950096, -0.017086775973439217, -0.05555323138833046, -0.024247271940112114, -0.00552732590585947, 0.012233927845954895, 0.09033763408660889, 0.0354631207883358, 0.01479609590023756, -0.02214323915541172, 0.018461184576153755, 0.10004332661628723, -0.041978832334280014, 0.05779300630092621, 0.026537952944636345, 0.031967710703611374, -0.0012821444543078542, 0.09325613081455231, 0.015025164000689983, 0.0453045591711998, 0.02005617693066597, 0.013235040009021759, -0.016789836809039116, 0.033630575984716415, -0.031458672136068344, 0.02781055122613907, -0.03245978429913521, 0.03637939319014549, 0.010392899625003338, -0.03498801589012146, 0.003264219034463167, 0.0393318235874176, -0.029490383341908455, 0.01919080875813961, 0.030321815982460976, 0.03834768012166023, -0.016314731910824776, 0.026011943817138672, 0.03766895830631256, -0.020497344434261322, -0.0064860181882977486, 0.002784872893244028, -0.007957992143929005, -0.014210700057446957, -0.028200816363096237, 0.027912359684705734, -0.02009011246263981, 0.04533849656581879, -0.022245047613978386, 0.05623195320367813, 0.03422445431351662, 0.009637824259698391, 0.01839331164956093, -0.0239927526563406, 0.023025576025247574, 0.019513199105858803, -0.017561880871653557, 0.022923767566680908, 0.010172315873205662, 0.02411152794957161, 0.04696742445230484, -0.0024476340040564537, 0.009018491953611374, -0.0007927237311378121, 0.026130719110369682, -0.02687731198966503, -0.03018607199192047, 0.028811663389205933, -0.05680886283516884, -0.011275235563516617, 0.003412689082324505, 0.016526831313967705, 0.0028972860891371965, -0.023772168904542923, -0.05378856137394905, 0.009018491953611374, -0.031933777034282684, -0.00783921591937542, 0.03990873694419861, 0.046865615993738174, 0.021837815642356873, -0.01010444387793541, 0.007342902012169361, 0.023772168904542923, 0.00865792203694582, -0.026062848046422005, -0.017867304384708405, 0.04459190368652344, -0.04995379224419594, -0.02431514486670494, 0.010189283639192581, -0.008721551857888699, 0.020972447469830513, -0.0069229439832270145, -0.05087006464600563, 0.0330876000225544, 0.017952144145965576, -0.010426836088299751, 0.017629751935601234, 0.012004859745502472, -0.058878958225250244, 0.008445821702480316, -0.06088118255138397, -0.05402611196041107, 0.016374120488762856, 0.015551172196865082, -0.0177315603941679, -0.027369383722543716, 0.01740916818380356, -0.09950035065412521, -0.06298521906137466, -0.025791360065340996, -0.06305308640003204, 0.010257155634462833, 0.012030311860144138, 0.04533849656581879, -0.004768007900565863, 0.04812124744057655, -0.00984992366284132, -0.01788427121937275, -0.00783921591937542, -0.00847975816577673, 0.027522096410393715, -0.04815518483519554, 0.005196449812501669, 0.02518051117658615, 0.03715991973876953, -0.04038384184241295, 0.019682880491018295, -0.022991640493273735, -0.02774268016219139, -0.04275935888290405, -0.020633088424801826, -0.007028994150459766, 0.0032430090941488743, 0.038551297038793564, 0.05080219358205795, -0.024162432178854942, -0.029439479112625122, -0.004526214208453894, -0.005247354041785002, 0.030050328001379967, -0.007113833911716938, 0.008747003972530365, 0.008500968106091022, 0.029541287571191788, 0.009637824259698391, -0.04418467357754707, 0.01130917202681303, -0.02462056837975979, -0.027488160878419876, -0.011249784380197525, -0.05775907263159752, 0.01542391162365675, -0.041503727436065674, 0.0014762160135433078, -0.05986310541629791, -0.020191920921206474, -0.04333627223968506, 0.059354063123464584, 0.012149088084697723, 0.013311396352946758, 0.028658952564001083, -0.022838927805423737, 0.08300745487213135, 0.04941081628203392, 0.09515654295682907, -0.012955067679286003, -0.007733166217803955, -0.025265352800488472, -0.011275235563516617, -0.02765784040093422, 0.0010923149529844522, -0.04835880175232887, -0.012819323688745499, 0.034411102533340454, -0.008386434055864811, -0.03620971366763115, -0.06576796621084213, 0.007512582000344992, -0.025129608809947968, -0.023585520684719086, -0.005260080099105835, 0.004606811795383692, 0.03590428829193115, 0.010494708083570004, -0.014397348277270794, 0.0664806216955185, -0.027403319254517555, -0.012004859745502472, 0.03760108724236488, -0.045134879648685455, -0.0034572300501167774, 0.04632264003157616, -0.017782464623451233, 0.03838161751627922, 0.022669248282909393, -0.00621453020721674, -0.019564103335142136, 0.06926337629556656, -0.009145751595497131, 0.0058115399442613125, -0.016637124121189117, 0.02750512771308422, 0.014066471718251705, -0.0009459659922868013, 0.052261438220739365, 0.01402405183762312, 0.00870458409190178, -0.036583006381988525, -0.051039744168519974, -0.004360775928944349, 0.062272559851408005, 0.03057633526623249, 0.03206951916217804, 0.01542391162365675, -0.013956179842352867, 0.005425517912954092, 0.04727284982800484, -0.06071150302886963, -0.034495942294597626, -0.06210288032889366, -0.050021663308143616, -0.008993039838969707, -0.012734483927488327, -0.058369919657707214, -0.029677031561732292, 0.0010726957116276026, -0.040960751473903656, 0.02143058367073536, -0.006388451904058456, -0.03722779080271721, -0.001221696031279862, 0.032442815601825714, 0.029100120067596436, -0.024298176169395447, 0.007745891809463501, -0.004615296144038439, 0.059320129454135895, -0.031543511897325516, -0.0039365761913359165, 0.010384416207671165, 0.03553099185228348, 0.051989950239658356, -0.02234685607254505, -0.04021415859460831, -0.017748527228832245, -0.000605015258770436, 0.04330233484506607, -0.04089288040995598, -0.008823360316455364, -0.05263473466038704, -0.03675268962979317, -0.01659470424056053, -0.022160207852721214, -0.05748758465051651, 0.061050865799188614, 0.036345455795526505, -0.01588204875588417, 0.02533322386443615, -0.06264585256576538, 0.008942135609686375, -0.0610847994685173, -0.02825172059237957, 0.0019513199804350734, 0.020429471507668495, -0.09115209430456161, -0.011283719912171364, 0.010078991763293743, 0.009188172407448292, 0.06244223937392235, -0.04510094225406647, 0.039060335606336594, -0.020514311268925667, -0.0009608130203559995, -0.05531568080186844, 0.044659774750471115, -0.03699024021625519, -0.043641697615385056, -0.0007704532472416759, 0.017799431458115578, -0.0287607591599226, -0.01713768020272255, -0.0342753604054451, 0.003268460975959897, 0.0906091183423996, 0.04547423869371414, -0.005658828187733889, -0.049784112721681595, 0.008339772000908852, -0.01046077162027359, -0.03563280031085014, -0.008437338285148144, -0.017010420560836792, 0.02005617693066597, 0.019767720252275467, -0.009697211906313896, 0.005815782118588686, -0.060304272919893265, 0.005196449812501669, -0.0053109838627278805, 0.011470368131995201, -0.028675919398665428, -0.03179803118109703, -0.022550471127033234, -0.004390470217913389, -0.04727284982800484, 0.03637939319014549, -0.05209175869822502, 0.01832544058561325, -0.006070301868021488, -0.05283835157752037, -0.006197561975568533, -0.020395535975694656, -0.005039495881646872, -0.01978468708693981, 0.04425254464149475, 0.04313265532255173, 0.04771401733160019, 0.01641654036939144, -0.06916157156229019, -0.016399571672081947, -0.030016392469406128, 0.003427535993978381, 0.03834768012166023, -0.023314032703638077, -0.019648943096399307, -0.011003747582435608, -0.06899188458919525, 0.06196713447570801, 0.00023277975560631603, 0.033783286809921265, 0.05134516954421997, -0.00940027181059122, 0.011987891979515553, 0.00867488980293274, -0.008059799671173096, -0.03760108724236488, -0.02726757526397705, 0.0007731044897809625, -0.026487048715353012, 0.013464108109474182, -0.017477039247751236, 0.008993039838969707, -0.0882335975766182, 0.05847172811627388, -0.02229595184326172, -0.007762860041111708, -0.01321807224303484, -0.017027387395501137, 0.02351764775812626, -0.00801737979054451, -0.05361888185143471, 0.033393025398254395, -0.006099996156990528, 0.0036799348890781403, 0.001399860018864274, -0.016611672937870026, 0.028709856793284416, 0.0664806216955185, 0.028353527188301086, -0.04449009522795677, 0.041944894939661026, -0.02825172059237957, 0.03227313607931137, 0.003648119978606701, -0.034886207431554794, -0.047069232910871506, -0.009332399815320969, 0.0014401590451598167, 0.09698908776044846, 0.01781640015542507, -0.013710143975913525, -0.031458672136068344, -0.030270911753177643, 0.009569952264428139, -0.014482188038527966, -0.03980692848563194, 0.08124278485774994, -0.00005040689211455174, 0.011733371764421463, 0.020667023956775665, 0.03719385713338852, 0.024162432178854942, -0.006604793947190046, 0.03637939319014549, -0.03432626277208328, -0.005807298235595226, 0.011886084452271461, 0.031305961310863495, 0.0013256249949336052, -0.07459133118391037, -0.011343107558786869, 0.014210700057446957, 0.0009003644809126854, 0.0506664477288723, 0.03349483385682106, -0.027335448190569878, 0.0372617281973362 ]
40,889
pyglove.core.symbolic.inferred
InferredValue
Base class for inferred values.
class InferredValue(Object, base.Inferential): """Base class for inferred values.""" def custom_apply(self, *args, **kwargs: Any) -> Tuple[bool, Any]: # This is to make a ``InferredValue`` object assignable # to any symbolic attribute. return (False, self)
()
[ 0.08930628001689911, -0.08937659859657288, 0.044231221079826355, 0.02677430398762226, 0.0343688540160656, -0.006117831915616989, 0.0041972193866968155, -0.03632023185491562, 0.019531354308128357, -0.011347874999046326, 0.00946681760251522, 0.02032245323061943, 0.026950104162096977, 0.02612384408712387, -0.030975917354226112, 0.0468682162463665, -0.0367773100733757, 0.09155651926994324, 0.01687677763402462, 0.05660752207040787, 0.010468875989317894, -0.014046400785446167, -0.056361403316259384, 0.01242025289684534, 0.03254053741693497, 0.009378917515277863, 0.02570192515850067, -0.02804006263613701, -0.01343989185988903, 0.01101385522633791, -0.04300062358379364, -0.02450648695230484, 0.02287154830992222, -0.008398833684623241, 0.05147416889667511, -0.07854733616113663, -0.04387962073087692, 0.12488815188407898, -0.08663412183523178, -0.04173486307263374, -0.04159422218799591, -0.03313825652003288, -0.02751266211271286, 0.022818809375166893, -0.02559644542634487, 0.006082671694457531, -0.015487958677113056, 0.008407623507082462, 0.02030487172305584, -0.035089630633592606, 0.04451249912381172, -0.022326570004224777, 0.04071522504091263, 0.03396451473236084, -0.033577755093574524, 0.05231801047921181, -0.012578473426401615, 0.03793758898973465, -0.044653140008449554, 0.037234388291835785, 0.0060519068501889706, 0.03341953456401825, 0.023609908297657967, -0.08410260826349258, -0.015162729658186436, 0.021992549300193787, -0.020691631361842155, 0.02053341269493103, -0.042402900755405426, 0.056044962257146835, -0.051122572273015976, -0.05031389370560646, 0.02343410812318325, 0.03345469385385513, 0.04243806377053261, -0.04553213715553284, -0.02375054731965065, -0.034878671169281006, 0.06733130663633347, -0.05172029137611389, -0.048309773206710815, -0.01666581816971302, -0.04461798071861267, -0.053900208324193954, -0.0685267448425293, -0.03470287472009659, -0.051649969071149826, -0.046586938202381134, 0.046903375536203384, 0.0318373367190361, -0.04307094216346741, 0.0451805405318737, -0.010671045631170273, 0.03363049402832985, 0.015233049169182777, 0.012446623295545578, 0.04693853482604027, -0.044231221079826355, 0.028075221925973892, -0.005581642501056194, 0.010486455634236336, 0.019970852881669998, -0.028936641290783882, -0.003285258077085018, 0.03396451473236084, -0.011207235045731068, 0.0010350211523473263, -0.056783322244882584, 0.039590105414390564, 0.0021623370703309774, -0.05382988601922989, -0.030395779758691788, -0.02589530497789383, 0.036390550434589386, -0.03287455439567566, -0.018212854862213135, -0.03554671257734299, 0.0052300430834293365, 0.025508545339107513, 0.04212162271142006, 0.00448509119451046, 0.01900395378470421, 0.004370821639895439, 0.011954383924603462, 0.02967499941587448, 0.04075038433074951, 0.037445347756147385, -0.022308990359306335, 0.013404731638729572, 0.016709767282009125, -0.013132242485880852, -0.025315165519714355, -0.021219031885266304, 0.07214821875095367, -0.005480557680130005, 0.06265503168106079, 0.02782910317182541, 0.026809463277459145, 0.0099326865747571, 0.0397307462990284, 0.03116929717361927, 0.008170293644070625, 0.04447733983397484, -0.030026599764823914, -0.0378321073949337, 0.032083455473184586, -0.01762392558157444, 0.0687377080321312, -0.03387661278247833, -0.007133075501769781, -0.022853968665003777, 0.01374754123389721, -0.010591935366392136, 0.036390550434589386, -0.028127962723374367, 0.017711825668811798, 0.021412411704659462, -0.044653140008449554, -0.0005501983105204999, -0.04461798071861267, -0.0481339730322361, -0.03579283133149147, -0.006350766401737928, 0.007783534470945597, 0.06740162521600723, 0.02870810031890869, 0.005876107141375542, -0.07042538374662399, -0.00489162839949131, 0.013070711866021156, -0.033384375274181366, -0.08199300616979599, 0.022326570004224777, 0.03405241295695305, 0.037550829350948334, 0.06518655270338058, 0.000022249656467465684, 0.004017024766653776, 0.02299460954964161, 0.015004510059952736, 0.015514329075813293, -0.0468682162463665, -0.11419952660799026, -0.05070064961910248, 0.05309152975678444, 0.06058059632778168, -0.015857137739658356, 0.0037049800157546997, 0.042719341814517975, 0.05052485316991806, 0.010178806260228157, -0.014380420558154583, 0.03786727041006088, 0.029534360393881798, -0.024014247581362724, -0.0481339730322361, -0.023803288117051125, 0.016358166933059692, 0.007906594313681126, 0.04285998269915581, -0.02580740489065647, -0.06075639650225639, 0.02387360855937004, 0.0571700818836689, -0.0367773100733757, 0.023486848920583725, 0.005669542122632265, 0.0012954245321452618, -0.042297422885894775, -0.0393088273704052, -0.03167911618947983, -0.0171844270080328, 0.030009020119905472, 0.04198098182678223, 0.016525177285075188, -0.05140385031700134, 0.05449792742729187, -0.023240728303790092, -0.019091853871941566, 0.06666327267885208, 0.10147162526845932, -0.024963567033410072, 0.03341953456401825, 0.01710531674325466, 0.08698572218418121, -0.03944946825504303, -0.03333163633942604, -0.0767190158367157, -0.027002843096852303, -0.02278364822268486, 0.01893363520503044, -0.008324118331074715, -0.016621867194771767, -0.012508152984082699, 0.031028658151626587, 0.04328190162777901, 0.05899839848279953, 0.005862921942025423, -0.0659952312707901, 0.03850014880299568, -0.022924289107322693, 0.03793758898973465, -0.012692742981016636, 0.013220141641795635, -0.010556776076555252, -0.039941705763339996, 0.050032611936330795, 0.05516596511006355, -0.025930464267730713, -0.04683305695652962, 0.029094859957695007, -0.013211351819336414, -0.006293631624430418, 0.017456917092204094, 0.019390713423490524, 0.010583145543932915, -0.0487668551504612, -0.021447570994496346, 0.044442180544137955, -0.014274940825998783, 0.016314217820763588, 0.020761951804161072, 0.007915384136140347, 0.08902499824762344, -0.05372440814971924, -0.017694246023893356, -0.0345798134803772, 0.0008185676415450871, -0.012481783516705036, -0.004155466798692942, 0.020357612520456314, -0.026264484971761703, -0.0020502647385001183, 0.011910433880984783, -0.06690938770771027, -0.00009339362441096455, 0.0097217271104455, 0.020375192165374756, -0.027336863800883293, -0.013870601542294025, 0.007598944939672947, -0.050138093531131744, -0.026035943999886513, -0.011523674242198467, -0.03807822987437248, 0.039273668080568314, -0.029727740213274956, -0.0015975803835317492, 0.024559225887060165, -0.05157965049147606, 0.07510165870189667, 0.007106705568730831, 0.07538294047117233, 0.029305819422006607, 0.09830722957849503, 0.04672757536172867, -0.06047511845827103, -0.0172899067401886, 0.024699866771697998, -0.0031402232125401497, 0.05576368421316147, -0.013686011545360088, -0.05312668904662132, 0.01900395378470421, 0.0047817532904446125, -0.029094859957695007, 0.05073581263422966, 0.020902590826153755, -0.04451249912381172, 0.0322592556476593, 0.035845570266246796, 0.028532302007079124, -0.05161480978131294, 0.003432490397244692, 0.03807822987437248, -0.04721981659531593, -0.0013569544535130262, -0.05323216691613197, 0.011497304774820805, 0.05748652294278145, -0.027055583894252777, -0.022730909287929535, -0.030589157715439796, 0.006966065615415573, -0.039801064878702164, -0.012121393345296383, 0.010574355721473694, -0.006588096264749765, 0.0007328652427531779, 0.006614466197788715, -0.040363624691963196, -0.014969349838793278, 0.046375978738069534, 0.026088684797286987, -0.014688069932162762, -0.009651406668126583, 0.03797274827957153, 0.036390550434589386, 0.046481456607580185, 0.0039862594567239285, 0.008636163547635078, 0.024998726323246956, -0.015602229163050652, 0.019584093242883682, -0.011356664821505547, 0.01600656844675541, -0.04901297390460968, 0.005489347502589226, 0.14429643750190735, -0.007862644270062447, -0.042613863945007324, -0.0048520732671022415, -0.05252896994352341, 0.0009965648641809821, 0.035951051861047745, 0.01912701316177845, -0.019601672887802124, 0.01656912826001644, -0.009000947698950768, -0.06694454699754715, 0.05340796709060669, -0.030149659141898155, 0.0008130738860927522, 0.01774698682129383, 0.023170407861471176, 0.009985426440834999, -0.047571416944265366, 0.018617194145917892, 0.0010910573182627559, -0.01375633105635643, -0.022308990359306335, -0.060897037386894226, 0.005568457301706076, -0.05667784437537193, 0.027811521664261818, -0.004680668469518423, -0.02698526345193386, 0.008978973142802715, 0.0002941899001598358, 0.01656033843755722, 0.04479378089308739, 0.02494598552584648, -0.044125739485025406, 0.006544146221131086, -0.002540306653827429, 0.00507621793076396, 0.0039862594567239285, 0.0034237003419548273, 0.013562951236963272, 0.06311211735010147, 0.0048784432001411915, -0.056044962257146835, -0.036285072565078735, -0.03549397364258766, -0.0006350766634568572, -0.01859961450099945, -0.00500150304287672, -0.004627928603440523, -0.04212162271142006, -0.02484050579369068, 0.02536790631711483, -0.007616524584591389, -0.005898082163184881, 0.026299644261598587, -0.023732967674732208, -0.001943686162121594, 0.035089630633592606, 0.04620017856359482, -0.008143924176692963, 0.03341953456401825, -0.005054243374615908, -0.0010311754886060953, -0.015444008633494377, -0.00739237992092967, 0.0007680252310819924, 0.00962503720074892, 0.004047789610922337, -0.03146815672516823, 0.028004901483654976, -0.019742313772439957, 0.040996503084897995, -0.009906316176056862, 0.015734078362584114, 0.04781753569841385, -0.023240728303790092, 0.002790821250528097, 0.02707316353917122, 0.0374101884663105, -0.002524923998862505, 0.04092618450522423, 0.007212185300886631, -0.0563262440264225, 0.0015107792569324374, -0.04451249912381172, -0.007612129673361778, -0.06198699772357941, -0.0382540263235569, -0.056044962257146835, 0.01317619252949953, 0.019830213859677315, -0.0380430668592453, 0.041207462549209595, 0.040996503084897995, 0.027108322829008102, -0.04950521141290665, -0.0559043250977993, -0.03259327635169029, 0.03408757224678993, -0.04535633698105812, -0.0320482961833477, 0.033700812608003616, -0.013097082264721394, 0.07207790017127991, 0.031327515840530396, -0.01646364852786064, -0.02278364822268486, -0.047782376408576965, -0.039590105414390564, 0.01675371639430523, -0.01333441212773323, -0.016964677721261978, -0.011857694014906883, -0.062162794172763824, -0.09261131286621094, -0.046692416071891785, 0.03020239993929863, 0.004504868760704994, -0.034544654190540314, -0.05952579900622368, -0.031011078506708145, 0.03850014880299568, -0.011884063482284546, 0.01816011592745781, -0.03966042771935463, -0.00876361783593893, 0.031116558238863945, -0.05646688491106033, -0.028092801570892334, -0.05140385031700134, -0.04553213715553284, -0.037128910422325134, -0.007695634383708239, 0.019935693591833115, 0.0026413914747536182, 0.022941868752241135, 0.02259027026593685, 0.0061749666929244995, -0.008227428421378136, 0.010600725188851357, 0.011593994684517384, -0.025930464267730713, 0.08839212357997894, 0.051122572273015976, -0.020463092252612114, -0.056361403316259384, -0.006346371490508318, 0.03029029816389084, -0.0027424762956798077, 0.058506160974502563, 0.01009969599545002, -0.005199277773499489, -0.021764010190963745, -0.042613863945007324, 0.06427239626646042, 0.03408757224678993, -0.03104623779654503, -0.02106081135571003, -0.03095833770930767, -0.028321342542767525, 0.003146815812215209, 0.0010910573182627559, -0.007831878960132599, 0.07939117401838303, 0.008948207832872868, 0.0460243783891201, -0.03313825652003288, 0.043774139136075974, 0.00008261215407401323, -0.04321158304810524, -0.06124863773584366, -0.007757164537906647, -0.02826860174536705, -0.026369964703917503, -0.02814554236829281, 0.011145705357193947, -0.001888748724013567, -0.035511553287506104, -0.010776525363326073, 0.018757835030555725, -0.024770187214016914, 0.05344312638044357, -0.053161848336458206, 0.004627928603440523, 0.027881842106580734, -0.011761004105210304, 0.07214821875095367, 0.018001895397901535, -0.009255857206881046, -0.05439244583249092, 0.013141032308340073, 0.03941430523991585, 0.017579976469278336, -0.004900418221950531, 0.06170571595430374, 0.05182576924562454, -0.028743261471390724, -0.05477920547127724, -0.04162938520312309, 0.005405842792242765, -0.006583700887858868, -0.05193125084042549, -0.03496657311916351, -0.02030487172305584, 0.05688880383968353, -0.01870509423315525, -0.02204529009759426, 0.029622260481119156, 0.042402900755405426, 0.0031819758005440235, 0.023346208035945892, 0.02440100722014904, -0.01656912826001644, 0.07896925508975983, -0.014037610962986946, 0.017711825668811798, 0.016709767282009125, -0.0038390273693948984, 0.008148319087922573, -0.009291017428040504, -0.02578982524573803, 0.015162729658186436, 0.007612129673361778, 0.020814692601561546, -0.016208738088607788, 0.023908767849206924, 0.044231221079826355, -0.022062869742512703, -0.008833938278257847, -0.01912701316177845, -0.07404685765504837, -0.06560847163200378, 0.013624481856822968, -0.0036346600390970707, -0.06884318590164185, -0.011734633706510067, -0.04222710430622101, -0.007748374715447426, 0.08417292684316635, -0.04296546056866646, -0.00445872126147151, -0.05140385031700134, -0.025121785700321198, -0.04254354164004326, -0.008209848776459694, 0.005528902634978294, -0.04310610145330429, -0.04324674233794212, -0.01118086464703083, 0.030606739223003387, -0.055306605994701385, -0.05804908275604248, -0.01664823666214943, -0.00730887521058321, 0.020445512607693672, -0.01656912826001644, -0.02301218919456005, -0.005484952591359615, 0.0007630808395333588, -0.007801114581525326, -0.024313107132911682, 0.04503989964723587, -0.012727903202176094, 0.01504845917224884, 0.012508152984082699, 0.00865813810378313, -0.0062716566026210785, -0.017483286559581757, 0.0784066915512085, -0.052282847464084625, 0.05006777122616768, -0.02986837923526764, -0.027108322829008102, -0.06926510483026505, 0.019935693591833115, -0.008253798820078373, 0.030800119042396545, 0.026844624429941177, -0.015312159433960915, -0.01138303428888321, -0.03192523494362831, -0.005972797051072121, 0.04138326272368431, 0.006772685796022415, -0.03313825652003288, 0.0041005294770002365, -0.0196544136852026, 0.03387661278247833, 0.017122896388173103, -0.00364125263877213, 0.018406234681606293, -0.034667711704969406, 0.01903911493718624, -0.008688903413712978, 0.04806365445256233, -0.016586707904934883, -0.016938306391239166, -0.0746094211935997, -0.03944946825504303, 0.029850799590349197, 0.024559225887060165, -0.036601509898900986, 0.03709375113248825, 0.0122444536536932, -0.004307094030082226, 0.03408757224678993, -0.005172907840460539, 0.010187596082687378, 0.0033577755093574524, 0.04968101158738136, 0.019302813336253166, -0.07784413546323776, -0.006254076492041349, 0.010732575319707394, -0.013870601542294025, 0.06349887698888779, 0.05523628368973732, -0.04556729644536972, -0.009704146534204483, 0.035423651337623596, -0.02730170264840126, -0.006961670704185963, 0.04345770180225372, 0.008179083466529846, 0.006359556224197149, -0.05048969015479088, -0.05491984635591507, 0.02107839100062847, 0.03032545931637287, 0.021095970645546913, -0.018248016014695168, 0.010671045631170273, -0.03384145349264145, -0.014441950246691704, 0.019091853871941566, -0.03533575311303139, -0.07432813942432404, 0.015725288540124893, 0.005695912055671215, 0.019214913249015808, -0.06757742911577225, -0.03051883913576603, -0.05576368421316147, 0.04236774146556854, 0.0060343267396092415, -0.0243834275752306, -0.05210705101490021, -0.0731327012181282, 0.006882560905069113, 0.010539195500314236, 0.002566676586866379, 0.035511553287506104, 0.03591589257121086, -0.0025644791312515736, -0.01569012925028801, 0.0468682162463665, 0.028620202094316483, -0.01118086464703083, -0.016964677721261978, 0.023486848920583725, -0.02341652847826481, 0.0031709882896393538, 0.06448335200548172, -0.048309773206710815, -0.05273992940783501, 0.0121389739215374, -0.0028919060714542866, -0.00015725838602520525, 0.04285998269915581, -0.015857137739658356, 0.008042839355766773, 0.02019939199090004, -0.011620364151895046, 0.03860562667250633, 0.020181812345981598, -0.015672549605369568, 0.04289514198899269, 0.01889847405254841, 0.0050190831534564495, 0.009088847786188126, -0.007576969917863607, 0.07510165870189667, 0.07035506516695023, -0.004173046909272671, 0.05020841211080551, -0.00751983467489481, 0.030677057802677155, 0.031011078506708145, 0.009185537695884705, -0.039590105414390564, 0.055201124399900436, 0.009739306755363941, 0.034122735261917114, 0.002566676586866379, -0.0006696872296743095, 0.03403483331203461, 0.01322893239557743, -0.013729961588978767, 0.02505146525800228, 0.028866320848464966, 0.03538849204778671, 0.03313825652003288, 0.048309773206710815, 0.04823945462703705, 0.008908652700483799, 0.10470633953809738, 0.0005007546278648078, 0.01504845917224884, -0.041875503957271576, -0.019267654046416283, -0.047325294464826584, -0.07221854478120804, -0.027793942019343376, -0.0013822256587445736, 0.021887069568037987, -0.01139182411134243, 0.025930464267730713, -0.014978139661252499, 0.07102310657501221 ]
40,925
pyglove.core.symbolic.inferred
custom_apply
null
def custom_apply(self, *args, **kwargs: Any) -> Tuple[bool, Any]: # This is to make a ``InferredValue`` object assignable # to any symbolic attribute. return (False, self)
(self, *args, **kwargs: Any) -> Tuple[bool, Any]
[ 0.06550474464893341, -0.08832734823226929, 0.06419958919286728, 0.04060094803571701, 0.018554385751485825, -0.010203149169683456, 0.009462384507060051, -0.0064905076287686825, 0.04412839934229851, -0.0016093989834189415, 0.015220945701003075, 0.03024788200855255, 0.06977295875549316, 0.008523200638592243, -0.030724087730050087, 0.03760261461138725, -0.04917265102267265, 0.06959658861160278, 0.00854524690657854, 0.05717996135354042, 0.008060222491621971, 0.001057132612913847, -0.0408831425011158, -0.006137762684375048, 0.05904950946569443, 0.06596331298351288, 0.03181759640574455, -0.016270361840724945, 0.0124518983066082, 0.030671177431941032, -0.0335284098982811, -0.004221916664391756, 0.054252177476882935, 0.012945741415023804, 0.07725115120410919, -0.04987814277410507, -0.06649243086576462, 0.11951000243425369, -0.06465815752744675, -0.07393535226583481, -0.009753398597240448, -0.05979027599096298, 0.0028241644613444805, 0.01425089780241251, -0.018924769014120102, -0.026085492223501205, -0.007319458294659853, 0.02737301029264927, 0.0029476252384483814, -0.046527065336704254, 0.040812596678733826, 0.0006729713059030473, 0.07619291543960571, 0.022593315690755844, -0.04045984894037247, 0.0480438657104969, -0.01104973629117012, 0.05943753197789192, -0.04031875357031822, 0.036085810512304306, 0.014665372669696808, 0.040565673261880875, 0.002784480806440115, -0.07478193938732147, -0.02359863929450512, -0.02541527710855007, -0.025768021121621132, 0.0011331932619214058, -0.030106784775853157, 0.10102616250514984, -0.046103768050670624, -0.0484318882226944, 0.00410066032782197, 0.004700326826423407, 0.016940578818321228, -0.03947216272354126, 0.0007032853318378329, -0.037496790289878845, 0.05192406103014946, -0.022505130618810654, -0.04077732190489769, 0.0013735007960349321, -0.03419862687587738, -0.04938429966568947, -0.06035466864705086, -0.02763756923377514, -0.0822601318359375, -0.018289826810359955, 0.027567021548748016, 0.026438236236572266, -0.032046880573034286, 0.04303488880395889, 0.012531265616416931, 0.011340751312673092, 0.03232907876372337, 0.025768021121621132, 0.02719663828611374, -0.01702876389026642, 0.08042585849761963, -0.012160883285105228, -0.005996664986014366, 0.0060539860278368, -0.01135838869959116, -0.019718443974852562, 0.05569843202829361, -0.023104796186089516, -0.016614288091659546, -0.0604957640171051, -0.004590094089508057, 0.008302735164761543, -0.057391609996557236, -0.042223576456308365, 0.016861209645867348, 0.04120061546564102, -0.05996664613485336, -0.035027578473091125, -0.043281808495521545, -0.007363551761955023, 0.010767540894448757, 0.03668547794222832, -0.004598912782967091, 0.03707349672913551, 0.05453437566757202, -0.037743713706731796, 0.032505448907613754, 0.052312079817056656, 0.04631541669368744, 0.0007065922836773098, 0.0070548998191952705, 0.035133399069309235, -0.010935094207525253, -0.010635261423885822, 0.0031416350975632668, 0.06324717402458191, -0.01561778411269188, 0.026508785784244537, 0.05770907923579216, 0.06561056524515152, -0.01201978512108326, 0.043634556233882904, 0.04744420200586319, 0.011164378374814987, 0.05344086512923241, -0.020917776972055435, -0.03569779172539711, 0.027214275673031807, -0.018995316699147224, 0.0720658004283905, -0.010943912900984287, -0.00753992423415184, 0.007636928930878639, 0.01780480332672596, -0.0344102717936039, 0.05220625922083855, -0.04620959237217903, 0.03121793083846569, 0.02954239211976528, -0.02788449078798294, 0.002735978225246072, -0.026156039908528328, -0.042329397052526474, -0.01656137779355049, -0.0012026398908346891, 0.009674031287431717, 0.0804964080452919, 0.03400461748242378, -0.015071029774844646, -0.04557465389370918, 0.013183844275772572, 0.004665052518248558, -0.0010163465049117804, -0.03993073105812073, 0.07527577877044678, 0.01621745154261589, 0.004301283974200487, 0.0626475065946579, -0.010405977256596088, -0.014524274505674839, 0.005282356403768063, 0.012178520672023296, 0.02516835555434227, -0.06324717402458191, -0.07725115120410919, -0.04409312456846237, 0.06201256811618805, 0.07181888073682785, -0.015273857861757278, 0.004700326826423407, -0.012910466641187668, 0.04077732190489769, -0.009197825565934181, -0.011781682260334492, 0.030988646671175957, 0.02298133634030819, -0.03918996825814247, -0.039154693484306335, -0.025133080780506134, 0.013342578895390034, 0.03141194209456444, 0.0453982800245285, 0.003031402127817273, -0.053335040807724, -0.007412054110318422, 0.08381220698356628, -0.01656137779355049, -0.02463923767209053, -0.001278700539842248, 0.008875945582985878, -0.05770907923579216, -0.05594535544514656, -0.019665533676743507, -0.02728482522070408, 0.021517444401979446, 0.034957028925418854, 0.006239176727831364, -0.02596203051507473, 0.055204588919878006, -0.010511800646781921, -0.021376345306634903, 0.0689263716340065, 0.11605309695005417, -0.04105951637029648, 0.03405752778053284, 0.006045167334377766, 0.12339019775390625, -0.0242159441113472, 0.004448995925486088, -0.057744354009628296, -0.011614128947257996, 0.04557465389370918, -0.010106143541634083, 0.009920952841639519, 0.005330858752131462, 0.001033432548865676, 0.00033786354470066726, 0.04620959237217903, 0.07435864210128784, 0.02543291263282299, -0.08303616940975189, 0.031623587012290955, -0.016367366537451744, 0.045116085559129715, 0.009153732098639011, 0.04190610349178314, 0.015582509338855743, -0.052664827555418015, 0.049842868000268936, 0.0644112378358841, -0.014356721192598343, -0.04278796538710594, 0.022646227851510048, 0.019577346742153168, -0.004400493577122688, 0.026949716731905937, -0.008527610450983047, 0.0004952208837494254, -0.04991341382265091, -0.008712801150977612, 0.03199397027492523, -0.016261544078588486, 0.036191634833812714, 0.03622690960764885, 0.03243490308523178, 0.03971908614039421, -0.036509107798337936, -0.005890841130167246, -0.00445120083168149, 0.006852071266621351, -0.027690481394529343, 0.016781842336058617, -0.052312079817056656, -0.037849538028240204, -0.014683010056614876, 0.031023921445012093, -0.05259427800774574, 0.002383233280852437, 0.026720432564616203, -0.02183491550385952, -0.04677398502826691, -0.02874871715903282, 0.03467483073472977, -0.021623266860842705, -0.023263532668352127, -0.012522446922957897, -0.04702090844511986, 0.003591384971514344, 0.0063890935853123665, 0.000658641045447439, 0.012637089006602764, -0.0555926114320755, 0.044057849794626236, 0.004091841634362936, 0.0617656484246254, 0.022681502625346184, 0.10462415963411331, 0.025115443393588066, -0.02104123868048191, -0.01702876389026642, 0.049419574439525604, -0.008752484805881977, 0.01622626930475235, -0.029101461172103882, -0.04822023957967758, -0.021693816408514977, 0.05693304166197777, -0.010335427708923817, 0.04744420200586319, 0.03894304484128952, -0.04927847534418106, 0.05322922021150589, 0.027408285066485405, 0.019859543070197105, -0.03615636005997658, -0.02278732694685459, 0.02814904972910881, -0.037390969693660736, 0.03629745915532112, -0.0029520345851778984, -0.00917136948555708, 0.0671626478433609, -0.027690481394529343, -0.050548356026411057, -0.05464019998908043, 0.004607731476426125, -0.04377565160393715, -0.019171690568327904, -0.018254553899168968, -0.039331067353487015, 0.018554385751485825, 0.014153892174363136, -0.033722419291734695, -0.0024207124952226877, 0.035221587866544724, 0.015538416802883148, -0.019436249509453773, -0.00693143904209137, 0.018624935299158096, 0.040389299392700195, 0.03777898848056793, -0.01629681885242462, -0.020141739398241043, 0.051959335803985596, -0.000933671894017607, 0.025926755741238594, 0.00044534055632539093, 0.028290148824453354, -0.052065160125494, 0.040283478796482086, 0.11887506395578384, -0.011473030783236027, -0.013298486359417439, -0.031094470992684364, -0.05298229679465294, 0.018536748364567757, 0.05947280302643776, 0.03243490308523178, -0.0506894551217556, 0.029595304280519485, 0.01579415611922741, -0.047655846923589706, 0.06878527253866196, -0.07555797696113586, 0.03763788938522339, 0.02971876598894596, 0.04553937911987305, 0.016332093626260757, -0.05760325491428375, 0.03342258930206299, -0.014982842840254307, -0.04208247736096382, -0.008139590732753277, -0.04430476948618889, -0.00894649513065815, -0.07238326966762543, 0.019418612122535706, 0.03315803036093712, -0.035468507558107376, 0.004541591741144657, -0.014215623028576374, -0.023792648687958717, 0.020847229287028313, -0.0022189863957464695, -0.008527610450983047, 0.007703068666160107, 0.026861529797315598, 0.0034723335411399603, -0.0036266592796891928, -0.022346394136548042, 0.02753174677491188, 0.05358196422457695, -0.00793235283344984, -0.03229380398988724, -0.026896804571151733, -0.0564744733273983, -0.009008225053548813, -0.006874118000268936, 0.02788449078798294, -0.005692422389984131, -0.02455105073750019, -0.04589212313294411, -0.014630097895860672, -0.008280688896775246, -0.013324941508471966, 0.012822280637919903, -0.033369675278663635, 0.03603290021419525, -0.0014638917054980993, 0.080002561211586, -0.012972196564078331, 0.05993137136101723, -0.047761671245098114, 0.0031702956184744835, -0.0062788608483970165, -0.006512554362416267, -0.003168090945109725, 0.023016611114144325, 0.01858966052532196, -0.0026632247027009726, 0.03146485239267349, -0.0200006403028965, 0.012002147734165192, -0.01530031394213438, 0.01604989729821682, 0.04172973334789276, 0.013527770526707172, -0.014718284830451012, 0.008774531073868275, 0.03194105997681618, -0.017945900559425354, 0.024921434000134468, -0.00650814501568675, -0.06592803448438644, 0.010070869699120522, -0.003710436401888728, 0.0001590108295204118, -0.02858998067677021, -0.0480438657104969, -0.06458760797977448, 0.01043243333697319, 0.019859543070197105, -0.013404309749603271, 0.006750657223165035, 0.014127437025308609, 0.019930092617869377, -0.05926115810871124, -0.038202282041311264, -0.04800859093666077, 0.031094470992684364, -0.045116085559129715, -0.042399946600198746, 0.026984991505742073, 0.04613904282450676, 0.025574011728167534, 0.010467707179486752, -0.02640296146273613, -0.039507437497377396, -0.07852103561162949, -0.061695098876953125, 0.007244500331580639, -0.029577666893601418, 0.009224281646311283, -0.008342418819665909, -0.07964982092380524, -0.05111274868249893, -0.03467483073472977, 0.01398633886128664, -0.0049384296871721745, -0.059508077800273895, -0.04970176890492439, -0.026279501616954803, 0.04307016357779503, -0.06120125576853752, 0.012125608511269093, -0.03400461748242378, -0.03636800870299339, 0.023298805579543114, -0.04211775213479996, -0.032770007848739624, -0.0457862988114357, -0.018007632344961166, -0.017055220901966095, 0.00024154764832928777, 0.05255900323390961, 0.010573530569672585, 0.00451293122023344, -0.0026279501616954803, 0.00349658471532166, -0.00294982991181314, 0.005053071770817041, 0.014303809031844139, -0.013924608007073402, 0.06956131011247635, 0.06998460739850998, 0.0013161797542124987, -0.05813237279653549, -0.04684453457593918, 0.036544378846883774, -0.02516835555434227, 0.01761961169540882, -0.0022189863957464695, -0.021076513454318047, -0.013483677059412003, -0.027919765561819077, 0.07795663923025131, 0.03657965362071991, -0.022752052173018456, -0.025115443393588066, -0.0484318882226944, -0.04127116501331329, -0.011305476538836956, -0.035380322486162186, -0.030477166175842285, 0.04970176890492439, 0.006640424486249685, 0.04987814277410507, -0.027478834614157677, 0.04366983100771904, -0.0017879761289805174, -0.05672139301896095, -0.069808229804039, 0.03675602748990059, -0.03894304484128952, -0.03675602748990059, -0.044869162142276764, -0.0011453188490122557, 0.0046253688633441925, 0.0039419252425432205, -0.014832926914095879, 0.011164378374814987, -0.03338731452822685, 0.015141578391194344, -0.060284119099378586, -0.02545055001974106, -0.019365699961781502, -0.020300474017858505, 0.0759812667965889, 0.002967467298731208, 0.02911909855902195, -0.047232553362846375, 0.026967354118824005, 0.03508048877120018, -0.014145074412226677, -0.02525654062628746, 0.014312627725303173, 0.007998492568731308, -0.016102809458971024, -0.0449044369161129, -0.038731399923563004, 0.015538416802883148, -0.003961767069995403, -0.042752690613269806, -0.04455169290304184, -0.03462192043662071, 0.09651102870702744, 0.025380002334713936, 0.01038833986967802, 0.005533686839044094, 0.03365187346935272, -0.017654886469244957, 0.03142957761883736, 0.0184309259057045, -0.022028924897313118, 0.07065482437610626, -0.015661876648664474, -0.04250577092170715, -0.006856480613350868, -0.020124102011322975, 0.001198230660520494, -0.009550570510327816, -0.009647575207054615, 0.0010483140358701348, -0.009127276949584484, -0.02500961907207966, -0.05418163165450096, 0.025732746347784996, 0.024939071387052536, -0.00802494864910841, -0.04949012026190758, -0.028960363939404488, -0.04208247736096382, -0.06624551117420197, 0.016358548775315285, -0.0007352528045885265, -0.05111274868249893, -0.005771789699792862, -0.03806118294596672, -0.0008168251370079815, 0.07012570649385452, -0.04857298359274864, -0.025274178013205528, -0.058449845761060715, -0.010211966931819916, -0.04282324016094208, -0.04218830168247223, -0.0011960259871557355, -0.05086582526564598, -0.012293162755668163, -0.03926051780581474, -0.0015509756049141288, -0.027214275673031807, -0.02148216962814331, -0.023087158799171448, -0.014092162251472473, 0.019965365529060364, -0.023210620507597923, -0.010467707179486752, -0.0009325695573352277, 0.007985264994204044, -0.011349570006132126, 0.016975851729512215, 0.03252308815717697, -0.020670855417847633, 0.022610953077673912, -0.005031025502830744, 0.0130162900313735, 0.005626282654702663, -0.04426949471235275, 0.08056695759296417, -0.018660210072994232, 0.043634556233882904, -0.04366983100771904, -0.03940161317586899, -0.062047842890024185, 0.018254553899168968, -0.02799031510949135, 0.018483838066458702, 0.01727568544447422, -0.007800073362886906, 0.0123284375295043, 0.0008884764392860234, 0.00006186816608533263, 0.051888786256313324, 0.06285915523767471, -0.03816700726747513, 0.0204415712505579, -0.01622626930475235, 0.024709787219762802, 0.01982426829636097, 0.0016997898928821087, -0.022663865238428116, -0.004191051237285137, 0.01097036898136139, 0.0034723335411399603, 0.015071029774844646, -0.003849329659715295, 0.01779598370194435, -0.041518084704875946, -0.023633914068341255, 0.027778668329119682, -0.005423454102128744, -0.028431246057152748, 0.002848415868356824, -0.00037396480911411345, 0.0016722317086532712, 0.04324653372168541, 0.0264735110104084, -0.01192278042435646, 0.019930092617869377, 0.023616276681423187, -0.017840078100562096, -0.08240123093128204, -0.011552398093044758, 0.021605631336569786, 0.01885421946644783, 0.03262891247868538, 0.02971876598894596, -0.040389299392700195, -0.015758881345391273, 0.031112108379602432, -0.038625575602054596, -0.014303809031844139, 0.03746151924133301, -0.010494163259863853, 0.03259363770484924, -0.026949716731905937, -0.03703822195529938, 0.005793836433440447, 0.014744739979505539, -0.01236371137201786, -0.01052943803369999, -0.02938365750014782, -0.03428681194782257, -0.0413769856095314, 0.034692469984292984, 0.0031901374459266663, -0.04211775213479996, 0.020300474017858505, 0.016464373096823692, 0.030918098986148834, -0.0475500226020813, -0.00961230043321848, -0.07619291543960571, 0.05495766922831535, 0.00596139021217823, -0.021605631336569786, -0.025644561275839806, -0.08218958228826523, 0.0072797746397554874, 0.026261864230036736, 0.0044908844865858555, 0.02209947258234024, 0.006468461360782385, -0.0200006403028965, -0.011040918529033661, 0.05132439732551575, -0.012813461944460869, -0.018007632344961166, -0.004164595622569323, 0.008501154370605946, 0.006613968405872583, -0.0246568750590086, 0.02964821644127369, -0.011199653148651123, -0.04201192781329155, -0.0012081515742465854, -0.024956706911325455, 0.01807818002998829, 0.01000032015144825, 0.008712801150977612, -0.010017957538366318, -0.007341505028307438, -0.004285851493477821, 0.016720112413167953, -0.006539009977132082, -0.024921434000134468, -0.0027580249588936567, 0.006464052014052868, -0.008875945582985878, 0.02148216962814331, -0.008668707683682442, 0.0689263716340065, 0.03079463727772236, 0.012346074916422367, 0.06060158833861351, 0.01805172488093376, 0.013430764898657799, 0.04190610349178314, 0.007800073362886906, -0.04903155192732811, 0.04472806304693222, 0.025979667901992798, 0.05044253170490265, 0.004347581882029772, 0.000463804550236091, 0.03693240135908127, 0.023616276681423187, -0.0313766673207283, 0.03834338113665581, 0.034586645662784576, -0.006058394908905029, 0.039860185235738754, 0.04465751349925995, 0.06797395646572113, 0.012293162755668163, 0.10017957538366318, -0.007182769943028688, 0.015494323335587978, -0.027337735518813133, -0.006799159571528435, -0.03192342072725296, -0.036861851811409, 0.010494163259863853, -0.030459528788924217, 0.05051308125257492, 0.016332093626260757, 0.019101141020655632, -0.006852071266621351, 0.08868008852005005 ]
40,964
pyglove.core.symbolic.list
Insertion
Class that marks a value to insert into a list. Example:: l = pg.List([0, 1]) l.rebind({ 0: pg.Insertion(2) }) assert l == [2, 0, 1]
class Insertion: """Class that marks a value to insert into a list. Example:: l = pg.List([0, 1]) l.rebind({ 0: pg.Insertion(2) }) assert l == [2, 0, 1] """ value: Any
(value: Any) -> None
[ 0.04701383784413338, -0.022000065073370934, -0.01960793510079384, -0.0301370769739151, 0.015162716619670391, 0.05910634249448776, -0.003166747512295842, 0.010971779003739357, 0.025654185563325882, -0.04279464855790138, -0.033056605607271194, 0.008452508598566055, -0.00154687964823097, 0.02523980103433132, -0.056167975068092346, -0.025277473032474518, 0.0246935673058033, 0.05334262549877167, -0.03787853941321373, -0.025013772770762444, 0.031455572694540024, 0.030928174033761024, 0.005231608171015978, 0.01294010691344738, -0.03706860542297363, -0.01795981451869011, 0.009625028818845749, 0.03177578002214432, 0.025899050757288933, 0.01689559780061245, 0.0020448477007448673, -0.07210295647382736, -0.013589938171207905, -0.05624331906437874, 0.025032609701156616, -0.04697616770863533, -0.041815195232629776, 0.0644933432340622, -0.0014974359655752778, -0.010952943935990334, 0.026784326881170273, -0.007345912512391806, -0.03207715228199959, 0.0007175214122980833, 0.054698795080184937, 0.12650038301944733, 0.018176425248384476, 0.002307369839400053, 0.025070279836654663, -0.024429867044091225, -0.001945960451848805, -0.011075375601649284, -0.013043703511357307, -0.03827408701181412, -0.038801487535238266, 0.05194878578186035, 0.044640544801950455, 0.07715091854333878, 0.043698761612176895, 0.0018235285533592105, 0.028027480468153954, 0.010312531143426895, -0.03752066195011139, -0.0737604945898056, 0.06626389920711517, 0.011113046668469906, -0.08762355148792267, -0.031097695231437683, 0.015577101148664951, -0.02181170880794525, 0.014428125694394112, -0.0024039028212428093, -0.0036046768072992563, 0.017922142520546913, 0.024128496646881104, 0.019777456298470497, -0.043811775743961334, 0.0246935673058033, 0.03752066195011139, -0.021020611748099327, 0.0151909701526165, -0.008829222060739994, 0.021529173478484154, 0.049311790615320206, -0.033414483070373535, -0.017159298062324524, -0.028818579390645027, -0.03951724246144295, 0.010463216342031956, 0.0010595065541565418, -0.031229546293616295, -0.015077956020832062, -0.03966792672872543, 0.03921587020158768, -0.014079665765166283, -0.006022706627845764, 0.024071989580988884, -0.08589066565036774, -0.00044116677599959075, 0.011781712993979454, 0.030739817768335342, 0.027405904605984688, 0.00417916476726532, -0.0035905500408262014, -0.02198123000562191, -0.01755484752357006, 0.04094875231385231, -0.014936688356101513, -0.02540932223200798, 0.04456520080566406, -0.022131916135549545, 0.03373469039797783, -0.011188389733433723, 0.013307402841746807, 0.02883741445839405, 0.0016080955974757671, -0.038801487535238266, -0.03671072795987129, 0.00022293784422799945, 0.0065595232881605625, 0.04136313870549202, -0.05240084230899811, -0.01754542998969555, 0.0722913146018982, 0.044113144278526306, 0.030570296570658684, 0.04810630902647972, -0.014315111562609673, 0.005212772637605667, -0.06991801410913467, 0.01158393919467926, -0.029402485117316246, -0.05948305502533913, 0.02021067775785923, 0.034073732793331146, -0.003016062080860138, -0.025560008361935616, 0.0062110633589327335, -0.042756978422403336, -0.01957026496529579, -0.023732947185635567, 0.016914434731006622, 0.025333980098366737, 0.035128530114889145, 0.027631932869553566, -0.04908576235175133, -0.028931593522429466, 0.10269208997488022, -0.006239316426217556, 0.028743237257003784, -0.048483021557331085, 0.010971779003739357, 0.06972966343164444, 0.04863370582461357, -0.06539745628833771, 0.025691857561469078, -0.05187344178557396, -0.023544590920209885, -0.029025772586464882, 0.008923400193452835, 0.030513789504766464, -0.0006404128507710993, -0.011178972199559212, -0.007143429014831781, -0.0431336909532547, 0.02682199887931347, 0.020643897354602814, -0.0415891669690609, -0.01483309268951416, 0.024806581437587738, 0.002357990713790059, -0.06735636293888092, 0.004605322144925594, 0.04430150240659714, 0.043811775743961334, 0.06626389920711517, -0.02173636667430401, 0.06942828744649887, 0.044640544801950455, 0.006022706627845764, -0.005203354638069868, 0.010604484006762505, -0.016754331067204475, -0.01276116818189621, 0.0011813498567789793, -0.008664409630000591, -0.013900727033615112, 0.03575010597705841, 0.09508247673511505, 0.0629488155245781, 0.00023044268891680986, -0.008259442634880543, 0.01726289466023445, -0.05605496093630791, -0.00510917603969574, 0.01613275334239006, -0.07620913535356522, 0.0004794267297256738, -0.02648295648396015, 0.06852417439222336, -0.05944538488984108, -0.04742822423577309, 0.03622099757194519, -0.0002635522687342018, 0.04731521010398865, -0.011178972199559212, 0.03541106358170509, -0.028027480468153954, 0.0029077569488435984, -0.02292301319539547, -0.0004426383238751441, -0.023601097986102104, -0.016942687332630157, 0.02612507902085781, 0.004864312708377838, -0.10992498695850372, -0.053380295634269714, -0.04490424320101738, 0.05417139455676079, -0.008994033560156822, 0.05906866863369942, 0.020191840827465057, -0.025616515427827835, -0.029948720708489418, 0.04045902565121651, -0.014136172831058502, -0.03680490329861641, -0.10517840087413788, -0.005570650100708008, -0.024448703974485397, 0.03569360077381134, -0.02233910746872425, -0.021792873740196228, -0.02783912420272827, 0.06773307919502258, -0.07082212716341019, 0.01179113145917654, -0.016471795737743378, 0.002604031702503562, 0.04143847897648811, -0.013156717643141747, 0.10239072144031525, 0.017225222662091255, 0.017451250925660133, -0.02789563126862049, 0.049613162875175476, -0.01731940172612667, 0.05311659723520279, -0.060763880610466, 0.015407579950988293, -0.007807386573404074, -0.02635110728442669, -0.008735042996704578, 0.005438800435513258, -0.011339074932038784, 0.010387873277068138, -0.06204470619559288, 0.0017587809124961495, -0.021246638149023056, -0.020530883222818375, -0.019984649494290352, -0.04919877648353577, -0.004419319797307253, 0.08250024914741516, -0.009728625416755676, -0.01612333580851555, -0.026087407022714615, 0.02350691892206669, -0.009935817681252956, -0.018223512917757034, 0.10126058012247086, 0.025333980098366737, -0.014512886293232441, -0.024071989580988884, -0.03821758180856705, 0.017338236793875694, -0.0052645704708993435, -0.013062539510428905, -0.021548010408878326, -0.03160626068711281, 0.05228782817721367, -0.05206179991364479, 0.0009211821015924215, -0.06061319634318352, -0.021416159346699715, 0.0431336909532547, -0.020888760685920715, 0.026030899956822395, -0.002997226547449827, -0.003359813243150711, 0.04238026216626167, 0.010755169205367565, 0.010237188078463078, 0.03467647358775139, 0.06795910745859146, 0.007529560010880232, -0.10563044995069504, 0.0467878095805645, -0.008127592504024506, 0.0298922136425972, 0.07391118258237839, -0.02765076793730259, -0.022131916135549545, 0.050140559673309326, -0.004826641175895929, -0.051798101514577866, 0.0013561684172600508, 0.0024039028212428093, -0.05537687987089157, 0.026275763288140297, 0.04200354963541031, 0.03234085068106651, -0.08852766454219818, 0.050667960196733475, 0.07669886201620102, -0.06291114538908005, -0.039328884333372116, -0.05360632389783859, -0.033546332269907, 0.05213714390993118, -0.04302067682147026, -0.034356266260147095, -0.035486407577991486, -0.018468378111720085, -0.00004973794784746133, 0.004275697749108076, 0.008819803595542908, 0.042342592030763626, -0.022263765335083008, 0.018995776772499084, -0.07055842876434326, -0.004412256181240082, 0.017583100125193596, 0.03868847340345383, 0.021001774817705154, 0.006860893685370684, 0.01577487587928772, 0.012808257713913918, -0.003531688591465354, -0.029929883778095245, -0.031587421894073486, 0.03671072795987129, -0.04400013014674187, 0.014456379227340221, 0.038029223680496216, -0.006276987958699465, -0.00971920695155859, 0.030947010964155197, 0.06404128670692444, -0.017291147261857986, -0.04852069169282913, -0.008085212670266628, -0.02405315451323986, -0.0249384306371212, 0.08046599477529526, -0.015398162417113781, 0.008687954396009445, -0.036616548895835876, -0.017705531790852547, -0.06577417254447937, 0.10962361842393875, -0.0410240963101387, -0.026577133685350418, -0.039441898465156555, -0.01588789001107216, 0.04614739865064621, -0.05560290813446045, -0.031756944954395294, 0.027876796200871468, 0.00025810758234001696, 0.011602774262428284, -0.026162749156355858, -0.015407579950988293, 0.05726044625043869, -0.008523141965270042, -0.04742822423577309, 0.015341655351221561, 0.024034319445490837, -0.05112001672387123, -0.025861378759145737, 0.06464403122663498, -0.013184971176087856, 0.054698795080184937, -0.00812288373708725, -0.023544590920209885, -0.011037704534828663, 0.03102235309779644, 0.04226725175976753, 0.0011319061741232872, 0.012845928780734539, -0.026275763288140297, -0.03049495443701744, -0.03433743119239807, -0.01612333580851555, -0.0467878095805645, -0.01193239912390709, -0.009935817681252956, -0.00980396755039692, -0.022357944399118423, 0.020191840827465057, 0.06554814428091049, -0.010981197468936443, -0.00404731510207057, 0.030909338966012, 0.03343331813812256, -0.042041223496198654, 0.03865079954266548, 0.03126721829175949, 0.005589486099779606, -0.02410966157913208, -0.0046947915107011795, -0.036842577159404755, -0.021585680544376373, -0.05548989400267601, 0.06901390850543976, -0.05744880065321922, 0.010660991072654724, -0.005076213739812374, -0.040798068046569824, -0.011885309591889381, -0.007642574142664671, 0.033169619739055634, -0.029044607654213905, 0.09696604311466217, -0.04415081813931465, 0.019287729635834694, 0.022960685193538666, -0.011169553734362125, -0.03136139363050461, 0.014230350963771343, -0.007788550574332476, 0.013618191704154015, 0.025013772770762444, -0.029402485117316246, 0.015869054943323135, -0.05665770545601845, 0.01512504555284977, -0.04136313870549202, 0.021849380806088448, 0.02162335254251957, -0.03693675622344017, 0.0790344849228859, 0.03910285606980324, -0.0039884536527097225, 0.024561718106269836, 0.00010992380703100935, -0.0031479117460548878, -0.004897275008261204, 0.03868847340345383, -0.014851927757263184, 0.03315078467130661, -0.012874182313680649, 0.07926051318645477, 0.056167975068092346, 0.02079458348453045, -0.06618855148553848, -0.06539745628833771, -0.039441898465156555, 0.0007875665905885398, -0.019589100033044815, -0.006121593527495861, -0.005872020963579416, 0.011216643266379833, -0.029044607654213905, -0.04874671995639801, 0.03834943100810051, 0.024392196908593178, 0.022075409069657326, -0.02717987634241581, -0.004720690660178661, -0.00389192090369761, -0.012488051317632198, -0.03876381367444992, -0.032943591475486755, -0.01465415395796299, -0.009026995860040188, 0.060839224606752396, -0.010406709276139736, -0.029929883778095245, -0.05665770545601845, 0.013495760038495064, -0.02209424413740635, 0.03959258273243904, 0.023657605051994324, -0.02682199887931347, 0.02139732427895069, 0.016970941796898842, -0.02151033841073513, -0.000164223529282026, -0.009709789417684078, -0.024015482515096664, -0.0007869779365137219, 0.003986099269241095, 0.00880567729473114, 0.0176678616553545, -0.009267151355743408, -0.05594194680452347, 0.0028630222659558058, 0.037482988089323044, -0.02233910746872425, 0.0029195293318480253, 0.007703789975494146, -0.03326379880309105, 0.02181170880794525, 0.05364399775862694, -0.03846244513988495, 0.01702744886279106, 0.02049321122467518, -0.09365096688270569, -0.011565103195607662, 0.033527497202157974, -0.00602741539478302, 0.029515499249100685, 0.0033197873272001743, -0.04015765339136124, -0.011254314333200455, -0.018571972846984863, 0.0014103209832683206, -0.04060970991849899, -0.01648121327161789, 0.012977778911590576, 0.002408611588180065, 0.009238897822797298, -0.03262338414788246, 0.009945235215127468, -0.05002754554152489, 0.008739751763641834, -0.01760193705558777, 0.04189053550362587, 0.05063029006123543, 0.0051703923381865025, -0.03279290720820427, 0.02275349199771881, 0.008584357798099518, 0.01530398428440094, 0.060763880610466, 0.04415081813931465, -0.006950363516807556, -0.028272345662117004, -0.01601973921060562, -0.017338236793875694, 0.06340087205171585, -0.021378489211201668, -0.020191840827465057, 0.027782617136836052, -0.01578429341316223, -0.03586312010884285, -0.05831524357199669, -0.047654252499341965, -0.010557394474744797, -0.04818165302276611, -0.06487005949020386, -0.008005160838365555, -0.01903344690799713, -0.08257558941841125, -0.024542881175875664, 0.022941850125789642, -0.014531721360981464, 0.04739055410027504, 0.00768024567514658, 0.009243606589734554, 0.005603612866252661, 0.02588021382689476, 0.03503435105085373, 0.028498373925685883, 0.03656003996729851, -0.005203354638069868, -0.004675955977290869, 0.04166450724005699, 0.018157588317990303, 0.0493871346116066, -0.03544873744249344, 0.08498655259609222, 0.012120755389332771, -0.04117478057742119, 0.005966199561953545, 0.001933010877110064, 0.061592649668455124, 0.01635878160595894, -0.09967838227748871, 0.010708079673349857, 0.04023299738764763, 0.005071504972875118, -0.02435452491044998, 0.024806581437587738, 0.04445218667387962, -0.060236480087041855, 0.08385641872882843, -0.042455606162548065, -0.021830545738339424, -0.0322466716170311, 0.015577101148664951, -0.057825516909360886, 0.008537269197404385, 0.053267281502485275, -0.024241510778665543, -0.03563709184527397, -0.006168683059513569, -0.02906344272196293, -0.002432156354188919, 0.014607064425945282, 0.042643964290618896, -0.035712435841560364, -0.03194529935717583, 0.012196098454296589, -0.0545857809484005, -0.0022720531560480595, -0.030683310702443123, 0.02203773707151413, -0.024071989580988884, 0.03514736518263817, 0.01491785328835249, -0.003748298855498433, -0.008127592504024506, -0.0389898419380188, 0.005118594039231539, 0.006545396521687508, 0.027029190212488174, -0.0011266086949035525, 0.00630995025858283, -0.0004511732258833945, 0.022414451465010643, -0.009008160792291164, -0.011367328464984894, 0.0415891669690609, -0.06464403122663498, -0.01718755066394806, 0.004967908840626478, -0.013627609238028526, -0.06980500370264053, 0.00610275799408555, -0.02823467366397381, -0.011452089063823223, -0.014880181290209293, 0.006013288628309965, 0.005010289140045643, 0.00018614942382555455, -0.00039731498691253364, 0.010981197468936443, 0.017950396984815598, -0.03422441706061363, -0.024090826511383057, 0.014663571491837502, 0.0166130643337965, -0.01506853848695755, -0.013345073908567429, 0.01261990051716566, -0.027142204344272614, -0.011423835530877113, -0.02085109055042267, 0.01288359984755516, 0.06543512642383575, 0.000657482712995261, 0.05673304572701454, 0.006535978522151709, 0.03290592133998871, -0.009587357752025127, 0.0022108370903879404, 0.026690147817134857, 0.016999194398522377, -0.05620564892888069, 0.012365619651973248, -0.02079458348453045, -0.028102824464440346, 0.05477413535118103, 0.03416791185736656, -0.008937526494264603, -0.014013740234076977, -0.002204950898885727, 0.10834278911352158, -0.05571591854095459, -0.08347970247268677, -0.031097695231437683, -0.005208063405007124, 0.020530883222818375, -0.10427428781986237, 0.005306950770318508, 0.03752066195011139, 0.014428125694394112, 0.0022850024979561567, 0.004744234960526228, -0.04000696912407875, 0.03232201561331749, -0.026897341012954712, -0.04731521010398865, 0.053267281502485275, -0.003661183873191476, 0.00966269988566637, 0.036729563027620316, -0.01202657725661993, -0.0004764836630783975, -0.000991227338090539, 0.017225222662091255, -0.003477536141872406, -0.05567824840545654, -0.008428963832557201, -0.023921305313706398, -0.04448986053466797, -0.006258152425289154, 0.0009982906049117446, 0.05123303085565567, 0.033414483070373535, 0.015643026679754257, -0.0026770199183374643, 0.04633575677871704, -0.011565103195607662, 0.006827931385487318, -0.010482052341103554, 0.04693849757313728, 0.01607624627649784, 0.02770727500319481, 0.060010455548763275, -0.002799451816827059, -0.019532592967152596, 0.008970488794147968, -0.011951234191656113, 0.03296242654323578, 0.05729811638593674, -0.06735636293888092, 0.012506886385381222, 0.03735113888978958, -0.013213224709033966, 0.08506190031766891, -0.030344268307089806, 0.04305834695696831, 0.025917885825037956, 0.07662351429462433, -0.041626837104558945, -0.011866473592817783, -0.003079632529988885, 0.05526386573910713, 0.07345912605524063, -0.025691857561469078, 0.03030659817159176, 0.010557394474744797, -0.03025009110569954, -0.02593672089278698, 0.023732947185635567, -0.005561232566833496, 0.08159613609313965, -0.006281696725636721, 0.014173843897879124, 0.04019532725214958, -0.00314555736258626, -0.013806547969579697, -0.03147440776228905, -0.011301403865218163, -0.00960619281977415, 0.0005530035705305636, 0.04885973408818245, -0.0092200618237257, 0.045883700251579285, -0.02049321122467518, -0.01743241585791111, 0.06114059314131737, -0.050780974328517914, -0.006616029888391495, 0.030212419107556343, -0.019589100033044815, -0.06908924877643585, -0.061065252870321274, -0.0004588252049870789, 0.007510724477469921, -0.03149324655532837, 0.0016693115467205644, -0.010105338878929615, 0.014136172831058502, 0.03629634156823158 ]
40,965
pyglove.core.symbolic.list
__eq__
null
# Copyright 2022 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. """Symbolic list.""" import dataclasses import math import numbers import typing from typing import Any, Callable, Dict, Iterable, Iterator, Optional, Tuple, Union from pyglove.core import object_utils from pyglove.core import typing as pg_typing from pyglove.core.symbolic import base from pyglove.core.symbolic import flags class List(list, base.Symbolic, pg_typing.CustomTyping): """Symbolic list. ``pg.List`` implements a list type whose instances are symbolically programmable, which is a subclass of the built-in Python ``list``, and the subclass of ``pg.Symbolic``. ``pg.List`` can be used as a regular list:: # Construct a symbolic list from an iterable object. l = pg.List(range(10)) It also supports symbolic validation through the ``value_spec`` argument:: l = pg.List([1, 2, 3], value_spec=pg.typing.List( pg.typing.Int(min_value=1), max_size=10 )) # Raises: 0 is not in acceptable range. l.append(0) And can be symbolically manipulated:: l = pg.List([{'foo': 1}]) l.rebind({ '[0].foo': 2 }) pg.query(l, where=lambda x: isinstance(x, int)) The user call also subscribe changes to its sub-nodes:: def on_change(updates): print(updates) l = pg.List([{'foo': 1}], onchange_callaback=on_change) # `on_change` will be triggered on item insertion. l.append({'bar': 2}) # `on_change` will be triggered on item removal. l.pop(0) # `on_change` will also be triggered on subtree change. l.rebind({'[0].bar': 3}) """ @classmethod def partial(cls, items: Optional[Iterable[Any]] = None, *, value_spec: Optional[pg_typing.List] = None, onchange_callback: Optional[Callable[ [Dict[object_utils.KeyPath, base.FieldUpdate]], None]] = None, **kwargs) -> 'List': """Class method that creates a partial List object.""" return cls(items, 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.List] = None, allow_partial: bool = False, root_path: Optional[object_utils.KeyPath] = None, **kwargs) -> 'List': """Class method that load an symbolic List from a JSON value. Example:: l = List.from_json([{ '_type': '__main__.Foo', 'f1': 1, 'f2': { 'f21': True } }, 1 ]) assert l.value_spec is None # Okay: l.append('abc') # [0].f2 is bound by class Foo's field 'f2' definition # (assuming it defines a schema for the Dict field). assert l[0].f2.value_spec is not None # Not okay: l[0].f2.abc = 1 Args: json_value: Input JSON value, only JSON list is acceptable. value_spec: An optional `pg.typing.List` object as the schema for the list. allow_partial: Whether to allow elements of the list 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 schema-less symbolic list, but its items maybe symbolic. """ return cls(json_value, value_spec=value_spec, allow_partial=allow_partial, root_path=root_path) def __init__( self, items: Optional[Iterable[Any]] = None, *, value_spec: Optional[pg_typing.List] = None, onchange_callback: Optional[Callable[ [Dict[object_utils.KeyPath, base.FieldUpdate]], None]] = None, allow_partial: bool = False, accessor_writable: bool = True, sealed: bool = False, root_path: Optional[object_utils.KeyPath] = None): """Constructor. Args: items: A optional iterable object as initial value for this list. value_spec: Value spec that applies to this List. onchange_callback: Callback when sub-tree has been modified. allow_partial: Whether to allow unbound or partial fields. This takes effect only when value_spec is not None. accessor_writable: Whether to allow modification of this List using accessors (operator[]). sealed: Whether to seal this List after creation. root_path: KeyPath of this List in its object tree. """ if value_spec and not isinstance(value_spec, pg_typing.List): raise TypeError( f'Argument \'value_spec\' must be a `pg.typing.List` object. ' f'Encountered {value_spec}.') # We delay seal operation until items are filled. base.Symbolic.__init__( self, allow_partial=allow_partial, accessor_writable=accessor_writable, sealed=False, root_path=root_path) self._value_spec = None self._onchange_callback = None list.__init__(self) if items: # Copy the symbolic form instead of evaluated form. if isinstance(items, List): items = items.sym_values() for item in items: self._set_item_without_permission_check(len(self), item) if value_spec: self.use_value_spec(value_spec, allow_partial) # NOTE(daiyip): We set onchange callback at the end of init to avoid # triggering during initialization. self._onchange_callback = onchange_callback self.seal(sealed) @property def max_size(self) -> Optional[int]: """Returns max size of this list.""" if self._value_spec: return typing.cast(pg_typing.ListKey, self._value_spec.element.key).max_value return None def use_value_spec(self, value_spec: Optional[pg_typing.List], allow_partial: bool = False) -> 'List': """Applies a ``pg.List`` as the value spec for current list. Args: value_spec: A List ValueSpec to apply to this List. If current List 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 List. Or else if current List is already symbolic (whose immediate members are under the constraint of a List value spec), and `value_spec` is None, current List 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 List. Returns: Self. Raises: ValueError: schema validation failed due to value error. RuntimeError: List is already bound with another value_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.List): raise ValueError( self._error_message( f'Value spec for list must be a `pg.typing.List` object. ' f'Encountered: {value_spec!r}')) if self._value_spec and self._value_spec != value_spec: raise RuntimeError( self._error_message( f'List is already bound with a different value ' f'spec: {self._value_spec}. New value spec: {value_spec}.'))
(self, other)
[ 0.07445256412029266, -0.0541580468416214, -0.027570655569434166, 0.016194317489862442, 0.02562379650771618, 0.022359369322657585, -0.007807096932083368, -0.024325892329216003, 0.033548884093761444, -0.02479785680770874, -0.029753495007753372, 0.003923213575035334, 0.00453283591195941, -0.03087441436946392, 0.009488474577665329, 0.02131711132824421, 0.018386991694569588, 0.007753017824143171, 0.04987102746963501, 0.023126311600208282, -0.009326236322522163, -0.010747049003839493, -0.0008916953229345381, 0.05250616744160652, 0.004525461234152317, -0.05097227916121483, 0.025899110361933708, 0.020392844453454018, -0.03337189927697182, -0.02939952164888382, 0.034473150968551636, -0.019812721759080887, -0.0013876279117539525, -0.02973383106291294, 0.04739321023225784, -0.018986782059073448, -0.048022497445344925, 0.033843863755464554, -0.07264336943626404, 0.0009027570486068726, 0.040195733308792114, -0.004891726188361645, -0.02536814846098423, -0.011917130090296268, 0.05046098306775093, 0.0680023729801178, -0.02454220876097679, 0.05427603796124458, 0.009626130573451519, -0.051208265125751495, -0.002753132488578558, 0.002898163627833128, -0.04389279708266258, -0.012920057401061058, -0.00995060708373785, 0.016794107854366302, 0.033293236047029495, 0.0536467507481575, 0.1090240478515625, 0.00771860359236598, 0.044522084295749664, 0.001638359623029828, -0.06662580370903015, -0.12404828518629074, 0.007797264494001865, -0.004114949610084295, -0.013745997101068497, -0.04959571361541748, -0.03874050825834274, -0.035908713936805725, -0.06469861418008804, -0.016764609143137932, 0.027570655569434166, 0.007418708875775337, 0.03307691961526871, -0.001951774233020842, 0.04149363934993744, -0.00022860831813886762, 0.012900391593575478, -0.05152290686964989, 0.010963366366922855, 0.02047150582075119, -0.015496202744543552, -0.024896183982491493, -0.06025426834821701, 0.05156223848462105, 0.031287383288145065, 0.010068598203361034, 0.05128692463040352, 0.01936042122542858, -0.02686270698904991, -0.01036357693374157, -0.038170214742422104, 0.01054056454449892, -0.0316610224545002, -0.03057943470776081, -0.013165872544050217, -0.13270097970962524, -0.014906245283782482, 0.03899615630507469, 0.03085474856197834, 0.042280249297618866, -0.06163083761930466, 0.021808741614222527, 0.003257053904235363, -0.0008277833694592118, -0.02363760769367218, -0.013755830004811287, 0.022713342681527138, -0.0024802773259580135, -0.06465928256511688, 0.03781624138355255, 0.04145430773496628, -0.02735433727502823, 0.002388096647337079, 0.06021494045853615, -0.00030419655377045274, -0.04436476156115532, 0.023126311600208282, -0.050303664058446884, 0.021808741614222527, -0.04184761270880699, -0.00011107783211627975, 0.023185309022665024, 0.037068963050842285, 0.06088355556130409, 0.002718718256801367, -0.020963136106729507, 0.0038371782284229994, 0.024050578474998474, -0.0036626493092626333, 0.03276227414608002, -0.009070588275790215, 0.06764839589595795, 0.05816975608468056, -0.022909995168447495, -0.03024512715637684, -0.032152652740478516, -0.027786972001194954, -0.011209182441234589, 0.0207664854824543, -0.022418364882469177, 0.05238817632198334, -0.01396231446415186, -0.04751120135188103, -0.011130521073937416, 0.002110325265675783, 0.04373547434806824, -0.03895682469010353, 0.03189700469374657, -0.029930483549833298, 0.006863165646791458, 0.004134614951908588, 0.03844552859663963, -0.034748464822769165, 0.06564254313707352, -0.08880818635225296, -0.05266349017620087, 0.02418823540210724, 0.02104179747402668, -0.05223085358738899, -0.006745174527168274, -0.0187802966684103, -0.00584057392552495, -0.06371535360813141, 0.011425499804317951, -0.03805222362279892, -0.10595627129077911, -0.05931033939123154, 0.0294191874563694, 0.029891151934862137, -0.05797310173511505, 0.020029038190841675, 0.043381500989198685, 0.039330463856458664, 0.04464007541537285, 0.008898517116904259, 0.020668158307671547, 0.026626722887158394, -0.03594804182648659, -0.05647854506969452, -0.044246770441532135, -0.046881914138793945, -0.024050578474998474, 0.0037339357659220695, 0.06489526480436325, -0.06611450761556625, 0.017108751460909843, 0.05439402908086777, 0.02943885140120983, -0.03891749307513237, -0.04172962158918381, 0.07775632292032242, -0.04707856476306915, -0.042240917682647705, -0.007507202215492725, -0.036714985966682434, 0.030441777780652046, -0.06528856605291367, 0.013824657537043095, -0.04644927754998207, -0.03463047370314598, 0.0259581059217453, -0.002782630268484354, -0.05073629692196846, 0.023853925988078117, 0.0031292298808693886, -0.010894537903368473, 0.028337599709630013, -0.044561415910720825, -0.062417443841695786, 0.017738038673996925, -0.006440363358706236, 0.012536585330963135, -0.001051475410349667, -0.07775632292032242, -0.047157224267721176, -0.019743893295526505, 0.012792233377695084, -0.053135454654693604, 0.05683251842856407, -0.014788254164159298, -0.1003713458776474, -0.010756881907582283, 0.03842586278915405, 0.000005185168447496835, -0.010668388567864895, -0.0086527019739151, 0.008908350020647049, 0.028101615607738495, -0.004095284268260002, -0.046291954815387726, 0.03057943470776081, -0.02597777172923088, 0.03404051437973976, -0.006096221972256899, 0.002053787698969245, 0.0008185652550309896, -0.025171495974063873, 0.03266394883394241, -0.05388273298740387, 0.0032939263619482517, 0.024699531495571136, -0.007364629302173853, -0.04534802585840225, 0.05105094239115715, 0.03824887424707413, 0.0415329709649086, -0.013863988220691681, -0.021828407421708107, -0.01928175985813141, 0.037029631435871124, 0.02680371142923832, 0.0244832132011652, -0.007644858676940203, -0.020048703998327255, -0.051758889108896255, 0.002849000506103039, 0.015928838402032852, -0.011042027734220028, -0.008564208634197712, -0.041100334376096725, -0.0035028692800551653, 0.05050031468272209, 0.009449143894016743, -0.03594804182648659, 0.011022361926734447, 0.05301746353507042, -0.03773757815361023, 0.06261409819126129, 0.07610444724559784, -0.030146799981594086, 0.00850521307438612, -0.01125834509730339, -0.007802180480211973, 0.014237627387046814, 0.028022954240441322, 0.016508961096405983, 0.02393258735537529, -0.0042993114329874516, 0.01699076034128666, 0.00185713532846421, 0.0050883786752820015, -0.006238794885575771, 0.03484679013490677, 0.02078614942729473, 0.0025245242286473513, 0.018858958035707474, -0.04790450260043144, 0.015958335250616074, 0.07571113854646683, -0.007074567023664713, 0.06831701844930649, -0.009119750931859016, 0.07948686927556992, 0.05506264790892601, -0.019458746537566185, 0.018278833478689194, -0.02570245787501335, -0.0027236344758421183, 0.045701999217271805, 0.022733008489012718, 0.06949692964553833, 0.015201224014163017, -0.00410757539793849, -0.06733375042676926, 0.026331745088100433, -0.007895590737462044, 0.0020574748050421476, 0.0038838833570480347, 0.00259335245937109, 0.05872038006782532, -0.06485593318939209, 0.04287020489573479, 0.01904577761888504, -0.03111039660871029, -0.06957559287548065, -0.0317593477666378, 0.05628189444541931, 0.018298497423529625, -0.034473150968551636, 0.019773390144109726, 0.01454243902117014, 0.02821960672736168, 0.002644973574206233, 0.009006676264107227, 0.07067684084177017, 0.03952711448073387, -0.019094940274953842, -0.001630985178053379, -0.04011707380414009, -0.029006216675043106, -0.0013999186921864748, 0.01616482064127922, 0.007536699995398521, -0.018318163231015205, 0.042791545391082764, 0.002204964170232415, -0.03545641154050827, -0.07346930354833603, -0.0026843040250241756, 0.00222954573109746, 0.01340185571461916, 0.011337006464600563, 0.005948732607066631, -0.027767308056354523, 0.07004755735397339, 0.025545135140419006, 0.027236346155405045, 0.04873044416308403, 0.028042620047926903, -0.041336316615343094, -0.021533429622650146, 0.014788254164159298, 0.034433819353580475, -0.05718649551272392, -0.03455181047320366, -0.039074815809726715, -0.028455590829253197, -0.047707851976156235, 0.06996889412403107, 0.00620438065379858, -0.021513763815164566, -0.026410406455397606, 0.020412510260939598, -0.03380453214049339, -0.009822783060371876, -0.05081496015191078, 0.05388273298740387, -0.001198964542709291, -0.0007380607421509922, -0.06446263194084167, 0.013981979340314865, -0.02995014749467373, 0.0462132953107357, 0.007246637716889381, 0.03683298081159592, -0.0056537543423473835, -0.04487605765461922, 0.011641817167401314, -0.0076350262388587, -0.009532720781862736, 0.009149248711764812, -0.0167449451982975, 0.03113006241619587, -0.0009451602236367762, -0.0033160496968775988, 0.019665231928229332, 0.007895590737462044, -0.018259167671203613, -0.020294519141316414, 0.009847364388406277, 0.034748464822769165, 0.01705958880484104, -0.029222534969449043, 0.012202275916934013, 0.0020095407962799072, -0.0002470444596838206, 0.02253635600209236, -0.012929889373481274, -0.007753017824143171, -0.039035484194755554, 0.0033209659159183502, 0.03000914305448532, -0.010491400957107544, -0.04644927754998207, 0.03480745851993561, 0.028337599709630013, -0.04161163046956062, 0.05698984116315842, 0.054040055721998215, 0.009586800821125507, -0.02133677713572979, -0.0075416164472699165, 0.024384887889027596, 0.000022603493562201038, -0.03376520425081253, 0.007998833432793617, 0.04263422265648842, 0.011789306066930294, 0.04987102746963501, 0.0007780057494528592, 0.050932951271533966, 0.0744132399559021, -0.0178658626973629, 0.004141989629715681, 0.002287312177941203, 0.05946766212582588, -0.027786972001194954, 0.0178658626973629, 0.06717643141746521, 0.030068138614296913, 0.001850989880040288, -0.06686178594827652, -0.061591506004333496, -0.021808741614222527, 0.004685241263359785, -0.061788156628608704, -0.005511180963367224, -0.00909025315195322, 0.01762004755437374, 0.08361656218767166, 0.021533429622650146, 0.02621375396847725, 0.060647573322057724, 0.05270282179117203, -0.020569832995533943, 0.035908713936805725, 0.0017452893080189824, -0.030127134174108505, -0.030894078314304352, -0.03423716872930527, 0.08668433874845505, 0.03659699484705925, -0.05109027028083801, -0.0072761354967951775, -0.03669532388448715, -0.03824887424707413, -0.0031366045586764812, 0.006730425637215376, 0.05046098306775093, 0.03606603667140007, 0.03913380950689316, -0.04613463208079338, -0.045112039893865585, 0.020373180508613586, 0.013863988220691681, 0.037029631435871124, -0.026371074840426445, 0.011386169120669365, 0.00952288880944252, 0.013932816684246063, -0.011612319387495518, -0.03811121731996536, 0.003254595911130309, 0.0002422818070044741, 0.01869180239737034, -0.05805176496505737, -0.04200493544340134, -0.07693038880825043, 0.029753495007753372, -0.026980698108673096, 0.04562333598732948, 0.005845489911735058, 0.0009635963360778987, 0.006730425637215376, 0.030913744121789932, -0.033647213131189346, -0.006253543775528669, 0.006912328768521547, -0.04357815161347389, -0.046567268669605255, 0.027236346155405045, 0.007448206655681133, -0.019950376823544502, -0.014217962510883808, -0.018033018335700035, -0.007472787983715534, 0.07826761901378632, 0.00805782899260521, -0.01900644600391388, 0.0016334432875737548, -0.014257293194532394, 0.05482666566967964, 0.0112485121935606, -0.010973199270665646, 0.013451018370687962, 0.017177579924464226, -0.04176895320415497, -0.037344273179769516, 0.005314528942108154, -0.0002786932163871825, 0.10981065034866333, -0.004891726188361645, -0.03482712432742119, 0.01385415531694889, -0.004923682194203138, 0.013057713396847248, 0.002649890026077628, -0.03840619698166847, -0.03463047370314598, -0.051444247364997864, -0.0006378909456543624, -0.048887766897678375, 0.011651650071144104, -0.0192915927618742, -0.040195733308792114, -0.02880956418812275, 0.055770598351955414, 0.003517618402838707, 0.043145518749952316, -0.004171487409621477, 0.018849125131964684, -0.002686762250959873, -0.013165872544050217, 0.03524009510874748, 0.06489526480436325, 0.014906245283782482, -0.0501856729388237, 0.013942649587988853, 0.009694959037005901, 0.11193449795246124, -0.019960209727287292, 0.02281166799366474, 0.011238680221140385, -0.032191984355449677, -0.01126817800104618, -0.07457055896520615, -0.030422113835811615, -0.029045546427369118, -0.026941366493701935, -0.004043663386255503, 0.02684304118156433, -0.00938031543046236, -0.02709868922829628, -0.06847433745861053, 0.03697063401341438, -0.008696949109435081, -0.011435331776738167, -0.027531323954463005, 0.005776661913841963, 0.04487605765461922, 0.02106146328151226, -0.045112039893865585, 0.040215399116277695, 0.024915847927331924, -0.024679865688085556, -0.0037781826686114073, 0.010235752910375595, -0.013097044080495834, 0.05329277738928795, -0.03168068826198578, 0.07201407849788666, -0.0032152654603123665, 0.003847010899335146, -0.030992405489087105, 0.0036479004193097353, 0.008161070756614208, 0.014060640707612038, -0.0872349664568901, -0.012585747987031937, -0.0030505689792335033, -0.05368608236312866, -0.010063682682812214, 0.026174424216151237, 0.041139665991067886, 0.004692615941166878, 0.08558309078216553, -0.07413792610168457, 0.022123385220766068, -0.019488245248794556, 0.016548292711377144, -0.0015424916055053473, -0.02359827794134617, -0.033489890396595, -0.010442238301038742, -0.09376382827758789, 0.02045184187591076, -0.00039545551408082247, 0.019448913633823395, -0.026351410895586014, 0.03480745851993561, 0.026390740647912025, -0.029910817742347717, 0.017954356968402863, -0.016233649104833603, 0.03870117664337158, -0.03899615630507469, 0.03622335568070412, -0.0351221039891243, -0.014217962510883808, 0.06603584438562393, -0.01052089873701334, -0.03632168471813202, -0.02650873176753521, -0.019498078152537346, -0.02395225130021572, 0.07401993125677109, 0.05510197952389717, -0.013903318904340267, -0.01266440935432911, 0.008913266472518444, 0.014139301143586636, 0.005825825035572052, -0.03923213854432106, -0.028632577508687973, -0.02827860228717327, 0.037973564118146896, -0.0352204293012619, -0.051129601895809174, 0.026449736207723618, 0.013588675297796726, -0.014483443461358547, 0.06395133584737778, 0.02389325574040413, -0.055455952882766724, -0.03374553844332695, -0.046842582523822784, 0.033332567662000656, 0.04578065872192383, -0.044561415910720825, -0.014768589287996292, -0.012349765747785568, 0.06277141720056534, -0.022988656535744667, 0.0075514488853514194, -0.002733467146754265, -0.04869111254811287, 0.041375648230314255, 0.04814048856496811, -0.018406657502055168, 0.034492816776037216, -0.013460851274430752, 0.004581999033689499, 0.034453485161066055, 0.0635186955332756, 0.01703009009361267, -0.06418731808662415, 0.013687001541256905, 0.02021585777401924, -0.013578842394053936, -0.018259167671203613, 0.012123615480959415, 0.006533773150295019, -0.009286905638873577, -0.0009562218911014497, 0.04471873864531517, 0.009006676264107227, 0.05266349017620087, 0.07720570266246796, -0.0011909755412489176, -0.059506990015506744, -0.025761453434824944, 0.06060824543237686, 0.008991926908493042, -0.01410980336368084, 0.007605528458952904, 0.07582913339138031, 0.01037340983748436, -0.0015523242764174938, 0.0075956955552101135, -0.03769825026392937, 0.0016555667389184237, 0.008696949109435081, -0.017816700041294098, 0.009871946647763252, 0.010014519095420837, 0.00706473458558321, 0.012723404914140701, -0.049477722495794296, -0.059506990015506744, -0.05065763741731644, 0.005427604075521231, -0.012536585330963135, -0.07331198453903198, -0.030972739681601524, -0.037009965628385544, -0.01312654186040163, 0.0449940487742424, 0.030933409929275513, 0.010265250690281391, 0.017757704481482506, 0.005031841341406107, 0.020864810794591904, 0.03394218906760216, 0.01879012957215309, -0.027865633368492126, -0.037658918648958206, 0.01616482064127922, -0.0017268531955778599, 0.028416259214282036, 0.04613463208079338, -0.026626722887158394, -0.08857220411300659, 0.002760506933555007, -0.030205795541405678, 0.015093064866960049, 0.0037486848887056112, -0.011700812727212906, 0.007315466180443764, 0.03439449146389961, 0.0010391846299171448, 0.0687103196978569, 0.0002955930249299854, -0.017148081213235855, -0.0033185079228132963, 0.03028445690870285, 0.004407470114529133, -0.008126657456159592, -0.02936019003391266, 0.06520991027355194, 0.05246683955192566, -0.008269229903817177, -0.02678404562175274, 0.006396116688847542, -0.04054970666766167, -0.02218238078057766, 0.060686904937028885, -0.0363413468003273, 0.06961491703987122, 0.01875079795718193, 0.012212108820676804, -0.045701999217271805, 0.04011707380414009, -0.05128692463040352, 0.021690750494599342, -0.015289717353880405, -0.0253484845161438, 0.030795753002166748, -0.02882922999560833, 0.0294191874563694, -0.01241859421133995, -0.03262462094426155, -0.008991926908493042, 0.06741241365671158, 0.028770234435796738, -0.0576191283762455, 0.007123730145394802, -0.07181742787361145, -0.07527850568294525, -0.04035305604338646, 0.022123385220766068, 0.010697886347770691, 0.018799960613250732, -0.018396824598312378, -0.00837247259914875, -0.06151284649968147, 0.018042849376797676 ]
40,967
pyglove.core.symbolic.list
__repr__
null
def use_value_spec(self, value_spec: Optional[pg_typing.List], allow_partial: bool = False) -> 'List': """Applies a ``pg.List`` as the value spec for current list. Args: value_spec: A List ValueSpec to apply to this List. If current List 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 List. Or else if current List is already symbolic (whose immediate members are under the constraint of a List value spec), and `value_spec` is None, current List 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 List. Returns: Self. Raises: ValueError: schema validation failed due to value error. RuntimeError: List is already bound with another value_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.List): raise ValueError( self._error_message( f'Value spec for list must be a `pg.typing.List` object. ' f'Encountered: {value_spec!r}')) if self._value_spec and self._value_spec != value_spec: raise RuntimeError( self._error_message( f'List is already bound with a different value ' f'spec: {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 List.custom_apply method # called by spec.apply, thus we don't need to set the _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)
[ 0.11583887040615082, -0.05615314841270447, -0.009512181393802166, -0.004385815002024174, -0.003762555308640003, 0.047100938856601715, 0.011848829686641693, -0.027451016008853912, 0.005818621721118689, -0.0017869838047772646, -0.027966182678937912, -0.010919690132141113, -0.031277965754270554, -0.062445539981126785, 0.03808552399277687, 0.06443261355161667, 0.0310019850730896, -0.008941818960011005, 0.03736796975135803, 0.015261807478964329, 0.016512926667928696, -0.012934358790516853, -0.035012923181056976, 0.08470809459686279, 0.008665836416184902, -0.02148980274796486, 0.00603480776771903, -0.044672295451164246, -0.007824091240763664, 0.01891397126019001, 0.06281351298093796, 0.012529585510492325, 0.01514221541583538, -0.03311784565448761, 0.05615314841270447, 0.009383389726281166, -0.04665936529636383, 0.025758326053619385, -0.037018392235040665, -0.029309295117855072, 0.032621078193187714, -0.046475376933813095, -0.0160161592066288, 0.008891222067177296, 0.020183488726615906, 0.0774957612156868, -0.010441320948302746, 0.046585772186517715, 0.053503721952438354, -0.013532320037484169, -0.000493605388328433, 0.0320507176220417, -0.035675279796123505, -0.0000044245171011425555, -0.05777224525809288, 0.0361536480486393, 0.014801837503910065, 0.07756935805082321, 0.07043062150478363, 0.019502732902765274, 0.005901416298002005, -0.001870928332209587, -0.04676976054906845, -0.10634508728981018, -0.021103428676724434, -0.016200147569179535, 0.04268522560596466, -0.040219783782958984, -0.02428642101585865, 0.006858154200017452, -0.0640646368265152, -0.047468915581703186, 0.02165539190173149, 0.03709198907017708, 0.025279955938458443, 0.009020013734698296, 0.014038287103176117, 0.010570112615823746, 0.01565738208591938, -0.053614113479852676, 0.006678765639662743, 0.05928094685077667, 0.011241668835282326, -0.0346265472471714, -0.03352262079715729, 0.0382327139377594, -0.021066630259156227, 0.031333163380622864, 0.14093483984470367, 0.03538089990615845, -0.0021756584756076336, 0.0031093978323042393, -0.004489308223128319, 0.026678266003727913, 0.002987505868077278, 0.016356537118554115, 0.005124066956341267, -0.08897661417722702, -0.03302585333585739, 0.004949278198182583, 0.003663661889731884, 0.018472399562597275, -0.011315264739096165, 0.02531675435602665, 0.025445545092225075, -0.010827695950865746, -0.0024631398264318705, -0.03705519065260887, -0.001868628547526896, 0.029934853315353394, -0.008748630993068218, 0.007584907114505768, 0.01838960498571396, 0.02982446178793907, -0.01591496542096138, 0.06296070665121078, -0.004857284016907215, -0.06432221829891205, 0.04220685735344887, -0.02360566519200802, -0.01807682402431965, -0.036816004663705826, 0.01931874454021454, -0.01772724837064743, 0.011048481799662113, 0.04971356689929962, -0.003210591385141015, -0.04515066370368004, -0.00688575254753232, 0.020937839522957802, 0.0003078924783039838, 0.02134261280298233, 0.022704124450683594, 0.02665986679494381, 0.029934853315353394, -0.004553704056888819, -0.033927395939826965, -0.024268021807074547, 0.028922919183969498, -0.0173132736235857, 0.01906116120517254, 0.015841370448470116, 0.0744047611951828, -0.0076861004345119, -0.00016544549725949764, 0.012373195961117744, 0.015252608805894852, 0.046990543603897095, -0.021728986874222755, 0.04051416739821434, -0.0214530061930418, 0.027579806745052338, 0.019300345331430435, 0.009631773456931114, -0.024507205933332443, 0.03192192316055298, -0.03260267898440361, -0.08235304802656174, 0.04879362881183624, 0.010735701769590378, 0.0014834036119282246, -0.0284261517226696, -0.007695299573242664, 0.021581796929240227, -0.012363996356725693, 0.03576727584004402, -0.07403678447008133, -0.07720138132572174, -0.023495271801948547, -0.01482943631708622, 0.023789653554558754, -0.03414817899465561, 0.07712778449058533, 0.06737641990184784, 0.025905515998601913, 0.03383539989590645, 0.02583192102611065, -0.03538089990615845, -0.03440576419234276, -0.04540824890136719, -0.03688960149884224, 0.0010694304946810007, -0.0080080796033144, -0.04629139229655266, -0.015620584599673748, 0.052620578557252884, -0.04283241555094719, -0.017396068200469017, 0.013587516732513905, 0.044414713978767395, -0.034957725554704666, -0.023366481065750122, 0.054386865347623825, -0.014663846231997013, -0.08397214114665985, -0.026954248547554016, 0.015326203778386116, 0.01194082386791706, -0.01864718832075596, -0.0052114613354206085, -0.04025658220052719, -0.0671556368470192, 0.020606661215424538, -0.005929014645516872, -0.02577672339975834, 0.031130775809288025, -0.0026517275255173445, -0.03089159168303013, 0.032326698303222656, -0.05865538492798805, -0.08853504061698914, -0.03328343480825424, -0.010367725975811481, 0.021048231050372124, 0.014737442135810852, -0.05968571826815605, -0.033725008368492126, -0.07175533473491669, -0.02954847924411297, -0.03550969064235687, 0.07190252840518951, -0.007630903739482164, -0.04066135734319687, -0.0033094848040491343, 0.02309049852192402, 0.034019388258457184, -0.030781198292970657, -0.07263847440481186, 0.020330678671598434, 0.07514071464538574, -0.040698155760765076, -0.0025068370159715414, 0.0372023805975914, -0.019465934485197067, -0.01284236554056406, 0.039299845695495605, -0.011793632991611958, 0.0023527471348643303, -0.03135156258940697, 0.02780059352517128, -0.02577672339975834, -0.006269392557442188, 0.043016403913497925, -0.0009423637529835105, -0.04791048541665077, 0.016549723222851753, -0.02340327762067318, 0.0330810509622097, 0.04047736898064613, -0.007295125629752874, -0.0294564850628376, 0.06568372994661331, 0.046328186988830566, 0.016255343332886696, -0.018509196117520332, -0.00981576181948185, -0.04283241555094719, -0.018490798771381378, 0.018490798771381378, 0.020275481045246124, -0.021434606984257698, -0.028223766013979912, 0.011407257989048958, 0.0011798233026638627, -0.012336397543549538, -0.036613620817661285, -0.030413223430514336, 0.07926204800605774, -0.03236349672079086, 0.09582097083330154, -0.009760565124452114, -0.0526941753923893, 0.032271500676870346, -0.03911585733294487, 0.011186473071575165, -0.0062003969214856625, 0.07006264477968216, -0.03148035332560539, 0.0209194403141737, 0.018720783293247223, 0.010708103887736797, 0.015611384995281696, 0.005078069865703583, -0.006393584422767162, 0.03287866339087486, 0.011609645560383797, -0.014847834594547749, 0.06505817174911499, -0.02413923107087612, 0.00144085637293756, 0.02191297523677349, -0.029014913365244865, 0.06991545110940933, -0.01632893830537796, 0.02908850833773613, 0.013394328765571117, -0.014811037108302116, -0.03245548903942108, -0.010146940127015114, -0.007046741899102926, 0.02577672339975834, -0.006425782106816769, 0.04231724888086319, 0.07377920299768448, 0.024470409378409386, -0.05703629180788994, 0.012538785114884377, -0.0335778184235096, 0.010156139731407166, 0.005731227342039347, 0.022464940324425697, 0.06531575322151184, -0.06538935005664825, 0.011168073862791061, 0.06855393946170807, 0.010064145550131798, -0.03346742317080498, -0.01875757984817028, 0.01968671940267086, -0.008399054408073425, -0.03911585733294487, 0.012281201779842377, -0.00844965036958456, 0.004116732161492109, -0.0057772244326770306, 0.031590744853019714, 0.057441066950559616, 0.052473388612270355, -0.05287816375494003, 0.008431252092123032, -0.06351266801357269, -0.028646938502788544, -0.0056760311126708984, 0.016880903393030167, -0.0008037977386265993, -0.046475376933813095, 0.029438085854053497, -0.006025608163326979, -0.01637493632733822, -0.032013919204473495, -0.003670561360195279, -0.003463574917986989, -0.00013461311755236238, -0.018426401540637016, -0.0149858258664608, -0.027671800926327705, 0.05876578018069267, 0.023384880274534225, 0.036043256521224976, 0.00009192214929498732, 0.03837990388274193, -0.03089159168303013, -0.0007359521696344018, 0.033357031643390656, 0.012483588419854641, -0.016862504184246063, -0.058618590235710144, -0.05637393519282341, -0.03852709382772446, -0.07727497816085815, 0.05074390023946762, -0.015344602055847645, -0.0029783062636852264, -0.02388164773583412, 0.0003921244933735579, 0.012299600057303905, -0.049271997064352036, -0.07017304003238678, 0.001999719999730587, 0.018371205776929855, 0.0000030320295536512276, -0.041875679045915604, 0.011904026381671429, -0.001424757414497435, 0.08846145123243332, -0.02691745012998581, -0.030450019985437393, 0.015776975080370903, -0.05549079179763794, 0.009020013734698296, -0.02222575433552265, 0.017644453793764114, -0.0051286667585372925, -0.04386274889111519, 0.003373880637809634, 0.0006364836008287966, 0.005565638188272715, -0.027929384261369705, -0.0032036916818469763, -0.03595126420259476, -0.030670806765556335, 0.012363996356725693, -0.01581377163529396, 0.007014543749392033, -0.032381895929574966, 0.036816004663705826, -0.020588262006640434, 0.020183488726615906, 0.06491097807884216, -0.02242814190685749, 0.0017363871447741985, -0.04294280707836151, 0.030063645914196968, 0.0641014352440834, -0.025151165202260017, -0.04312679544091225, 0.04246443882584572, 0.04220685735344887, -0.028720533475279808, 0.03457135334610939, 0.0018019328126683831, -0.06722922623157501, 0.007212331052869558, 0.009158005006611347, 0.018665585666894913, 0.025592736899852753, -0.0325474850833416, -0.011112877167761326, 0.0646165981888771, -0.028738930821418762, 0.027561407536268234, -0.013651912100613117, 0.04217005893588066, 0.06417502462863922, -0.00435361685231328, -0.004553704056888819, 0.016982095316052437, -0.017837639898061752, -0.026880651712417603, -0.021416207775473595, 0.030063645914196968, -0.0022331548389047384, -0.015123817138373852, -0.012575582601130009, -0.04816806688904762, -0.022336147725582123, -0.003058801172301173, -0.02986125834286213, -0.027322223410010338, -0.03985181078314781, 0.022906510159373283, 0.05880257859826088, -0.029990050941705704, 0.03425857424736023, 0.018316010013222694, 0.0027598205488175154, -0.02562953345477581, 0.030670806765556335, -0.008675036020576954, -0.03236349672079086, 0.002121611963957548, -0.03435056656599045, 0.07734857499599457, 0.04618099704384804, -0.0635862648487091, -0.0012315699132159352, -0.04868323355913162, -0.04982396215200424, 0.030045246705412865, -0.0009124656789936125, 0.08014518767595291, -0.002225105417892337, -0.0012741171522065997, -0.05203181877732277, -0.034534554928541183, 0.06958427280187607, -0.027377421036362648, 0.03173793479800224, 0.00020023073011543602, 0.011020883917808533, 0.0157585758715868, -0.009484583511948586, 0.03405618667602539, -0.028444550931453705, -0.008012679405510426, -0.037533558905124664, 0.05523321032524109, -0.035675279796123505, -0.04312679544091225, -0.03933664411306381, 0.0006094604032114148, -0.01621854491531849, 0.010174538940191269, 0.03797513246536255, 0.018932368606328964, -0.017478862777352333, 0.011490052565932274, -0.04603380709886551, 0.00695014838129282, 0.014645447954535484, -0.008688835427165031, -0.03626404330134392, 0.046990543603897095, 0.02397364191710949, -0.0170556902885437, -0.013789903372526169, 0.021361012011766434, -0.05986970663070679, 0.06185678020119667, 0.025703128427267075, -0.0007721747970208526, -0.01746966503560543, 0.004427212290465832, 0.0754350945353508, 0.019024362787604332, -0.033669810742139816, -0.016457730904221535, -0.009438586421310902, -0.03560168668627739, -0.025040771812200546, -0.0029277096036821604, 0.03685280308127403, 0.07815811783075333, 0.005257458426058292, -0.012685975059866905, 0.03591446578502655, -0.010404523462057114, 0.0026655266992747784, 0.0038108523003757, -0.03793833404779434, -0.017350072041153908, -0.043789152055978775, -0.01833440735936165, -0.039962202310562134, 0.023164093494415283, -0.010818496346473694, -0.020809046924114227, -0.04055096209049225, 0.0397782139480114, -0.03591446578502655, -0.006186597980558872, -0.015436596237123013, 0.040734950453042984, 0.053761303424835205, 0.005781824234873056, 0.013467924669384956, 0.01979711279273033, -0.002330898540094495, -0.04816806688904762, 0.010395323857665062, -0.005791023373603821, 0.10612430423498154, 0.019668322056531906, 0.023844849318265915, 0.01674291118979454, -0.01392789464443922, -0.03269467502832413, -0.03471854329109192, -0.011186473071575165, -0.0526941753923893, 0.023495271801948547, 0.020735451951622963, 0.04680655524134636, -0.02903331257402897, -0.03539929911494255, -0.03265787661075592, 0.026586271822452545, 0.04014619067311287, 0.01527100708335638, -0.0325658842921257, 0.021416207775473595, 0.04345797374844551, 0.012143210507929325, -0.034129779785871506, 0.05129586532711983, 0.0011361261131241918, -0.039704617112874985, -0.027818990871310234, 0.005289656110107899, -0.01077249925583601, 0.04143410548567772, -0.014360266737639904, 0.03560168668627739, 0.0014029088197275996, 0.01746046543121338, -0.013440325856208801, 0.0320507176220417, 0.027046240866184235, -0.04654897376894951, -0.06987866014242172, -0.061819981783628464, -0.027966182678937912, -0.004539904650300741, -0.04194927215576172, 0.010965687222778797, 0.023072099313139915, -0.0064073833636939526, 0.06450620293617249, -0.03757035732269287, 0.008665836416184902, -0.0015730977756902575, -0.00015365876606665552, -0.0018226314568892121, -0.038269512355327606, -0.007410118356347084, 0.012952757999300957, -0.10965687036514282, 0.008817627094686031, 0.02334808185696602, 0.06145200505852699, -0.03217950835824013, 0.039667822420597076, 0.017340872436761856, 0.00937878992408514, 0.03674241155385971, 0.0023918445222079754, 0.000881417712662369, -0.03725757822394371, 0.03963102400302887, -0.0372023805975914, 0.0063889846205711365, 0.09236199408769608, -0.026807056739926338, -0.056042756885290146, 0.022556932643055916, -0.032105911523103714, -0.0083944546058774, 0.035068120807409286, 0.007046741899102926, -0.023035302758216858, 0.030008448287844658, 0.018628789111971855, 0.014139480888843536, -0.007203131914138794, -0.03383539989590645, -0.04573942720890045, -0.034700144082307816, -0.0033186841756105423, -0.03403778746724129, -0.03933664411306381, 0.04036697745323181, 0.0070191435515880585, -0.02051466703414917, 0.07363200932741165, 0.019705118611454964, -0.05317254364490509, -0.004190327599644661, -0.09810242056846619, 0.05287816375494003, 0.025850320234894753, -0.0083944546058774, -0.05641073361039162, -0.009001614525914192, 0.08220585435628891, -0.052215807139873505, 0.00965937227010727, -0.026236694306135178, -0.054386865347623825, 0.0014972026692703366, 0.05398209020495415, -0.017902035266160965, 0.013265538029372692, 0.0029737066943198442, -0.008877422660589218, 0.03591446578502655, 0.03471854329109192, 0.05894976854324341, -0.038159120827913284, 0.014507456682622433, 0.025647932663559914, -0.04691695049405098, -0.017800843343138695, 0.03043162077665329, -0.023844849318265915, -0.006338387727737427, 0.017552459612488747, 0.013173543848097324, 0.03560168668627739, 0.036613620817661285, 0.06700844317674637, 0.012943558394908905, -0.06310790032148361, -0.07135055959224701, 0.09111087769269943, 0.004114432726055384, -0.038159120827913284, -0.0402933806180954, 0.020809046924114227, -0.015822971239686012, 0.023016903549432755, -0.016200147569179535, -0.03900546580553055, 0.008454250171780586, 0.03269467502832413, -0.0294564850628376, 0.022096963599324226, 0.011894826777279377, 0.011582046747207642, 0.006168198771774769, -0.04334758222103119, -0.015776975080370903, -0.07742216438055038, -0.030873192474246025, 0.013624314218759537, -0.07433116436004639, -0.001790433656424284, -0.02056986279785633, -0.022501736879348755, 0.04367876052856445, 0.06575732678174973, 0.010404523462057114, 0.035215310752391815, -0.016292139887809753, 0.0289413183927536, 0.04349477216601372, 0.001456955331377685, -0.012226005084812641, -0.020643457770347595, 0.011729237623512745, 0.011858029291033745, 0.060421671718358994, 0.05755145847797394, -0.017064889892935753, -0.0914788544178009, -0.0036360635422170162, 0.0025896315928548574, 0.04386274889111519, -0.023550469428300858, 0.04831526055932045, 0.001095303799957037, 0.019907506182789803, -0.019760316237807274, 0.032731473445892334, -0.08154349774122238, -0.013090749271214008, -0.013891097158193588, -0.013477124273777008, 0.012373195961117744, 0.01565738208591938, 0.0050642709247767925, 0.05920735001564026, 0.04614419862627983, 0.018582791090011597, -0.000027382595362723805, -0.008012679405510426, -0.030707603320479393, -0.0024194426368921995, 0.10597711056470871, -0.008868223056197166, 0.036613620817661285, 0.014360266737639904, 0.029014913365244865, -0.010386125184595585, 0.042648427188396454, -0.09449625760316849, 0.026218295097351074, -0.012437591329216957, -0.013237939216196537, 0.022924909368157387, -0.008918819949030876, -0.022244153544306755, -0.026310289278626442, 0.0005522515857592225, 0.04268522560596466, 0.055932365357875824, -0.014387864619493484, -0.032473888248205185, -0.0007359521696344018, -0.041360512375831604, -0.05780903995037079, -0.022722523659467697, 0.05085429549217224, 0.008049476891756058, 0.052215807139873505, -0.07970362156629562, 0.009332792833447456, -0.04975036531686783, 0.027910985052585602 ]
40,968
pyglove.core.object_utils.json_conversion
JSONConvertible
Interface for classes whose instances are convertible from/to JSON. A JSON convertible object is an object that can be converted into plain Python objects, hence can be serialized into or deserialized from JSON. Subclasses of ``JSONConvertible`` should implement: * ``to_json``: A method that returns a plain Python dict with a `_type` property whose value should identify the class. * ``from_json``: A class method that takes a plain Python dict and returns an instance of the class. Example:: class MyObject(pg.JSONConvertible): def __init__(self, x: int): self.x = x def to_json(self, **kwargs): return { '_type': 'MyObject', 'x': self.x } @classmethod def from_json(cls, json_value, **kwargs): return cls(json_value['x']) All symbolic types (see :class:`pyglove.Symbolic`) are JSON convertible.
class JSONConvertible(metaclass=abc.ABCMeta): """Interface for classes whose instances are convertible from/to JSON. A JSON convertible object is an object that can be converted into plain Python objects, hence can be serialized into or deserialized from JSON. Subclasses of ``JSONConvertible`` should implement: * ``to_json``: A method that returns a plain Python dict with a `_type` property whose value should identify the class. * ``from_json``: A class method that takes a plain Python dict and returns an instance of the class. Example:: class MyObject(pg.JSONConvertible): def __init__(self, x: int): self.x = x def to_json(self, **kwargs): return { '_type': 'MyObject', 'x': self.x } @classmethod def from_json(cls, json_value, **kwargs): return cls(json_value['x']) All symbolic types (see :class:`pyglove.Symbolic`) are JSON convertible. """ # Registry for looking up the type definition for a string identifier during # deserialization. One key can be used for only one type, while the same type # can be registered with many different string identifiers, which can be # useful to allow backward compatibility of existing serialized strings. _TYPE_REGISTRY = _TypeRegistry() # Key in serialized dict that represents the class to restore. TYPE_NAME_KEY = '_type' # Marker (as the first element of a list) for serializing tuples. TUPLE_MARKER = '__tuple__' # Type converter that converts a complex type to basic JSON value type. # When this field is set by users, the converter will be invoked when a # complex value cannot be serialized by existing methods. TYPE_CONVERTER: Optional[ Callable[[Type[Any]], Callable[[Any], JSONValueType]]] = None # Class property that indicates whether to automatically register class # for deserialization. Subclass can override. auto_register = True @classmethod def from_json(cls, json_value: JSONValueType, **kwargs) -> 'JSONConvertible': """Creates an instance of this class from a plain Python value. NOTE(daiyip): ``pg.Symbolic`` overrides ``from_json`` class method. Args: json_value: JSON value type. **kwargs: Keyword arguments as flags to control object creation. Returns: An instance of cls. """ del kwargs assert isinstance(json_value, dict) init_args = {k: from_json(v) for k, v in json_value.items() if k != JSONConvertible.TYPE_NAME_KEY} return cls(**init_args) @abc.abstractmethod def to_json(self, **kwargs) -> JSONValueType: """Returns a plain Python value as a representation for this object. A plain Python value are basic python types that can be serialized into JSON, e.g: ``bool``, ``int``, ``float``, ``str``, ``dict`` (with string keys), ``list``, ``tuple`` where the container types should have plain Python values as their values. Args: **kwargs: Keyword arguments as flags to control JSON conversion. Returns: A plain Python value. """ @classmethod def register( cls, type_name: str, subclass: Type['JSONConvertible'], override_existing: bool = False ) -> None: """Registers a class with a type name. The type name will be used as the key for class lookup during deserialization. A class can be registered with multiple type names, but a type name should be uesd only for one class. Args: type_name: A global unique string identifier for subclass. subclass: A subclass of JSONConvertible. override_existing: If True, override the class if the type name is already present in the registry. Otherwise an error will be raised. """ cls._TYPE_REGISTRY.register(type_name, subclass, override_existing) @classmethod def add_module_alias(cls, source_name: str, target_name: str) -> None: """Adds a module alias so previous serialized objects could be loaded.""" cls._TYPE_REGISTRY.add_module_alias(source_name, target_name) @classmethod def is_registered(cls, type_name: str) -> bool: """Returns True if a type name is registered. Otherwise False.""" return cls._TYPE_REGISTRY.is_registered(type_name) @classmethod def class_from_typename( cls, type_name: str) -> Optional[Type['JSONConvertible']]: """Gets the class for a registered type name. Args: type_name: A string as the global unique type identifier for requested class. Returns: A type object if registered, otherwise None. """ return cls._TYPE_REGISTRY.class_from_typename(type_name) @classmethod def registered_types(cls) -> Iterable[Tuple[str, Type['JSONConvertible']]]: """Returns an iterator of registered (serialization key, class) tuples.""" return cls._TYPE_REGISTRY.iteritems() @classmethod def to_json_dict( cls, fields: Dict[str, Union[Tuple[Any, Any], Any]], *, exclude_default=False, exclude_keys: Optional[Set[str]] = None, **kwargs) -> Dict[str, JSONValueType]: """Helper method to create JSON dict from class and field.""" json_dict = {JSONConvertible.TYPE_NAME_KEY: _serialization_key(cls)} exclude_keys = exclude_keys or set() if exclude_default: for k, (v, default) in fields.items(): if k not in exclude_keys and v != default: json_dict[k] = to_json(v, **kwargs) else: json_dict.update( {k: to_json(v, **kwargs) for k, v in fields.items() if k not in exclude_keys}) return json_dict def __init_subclass__(cls): super().__init_subclass__() if not inspect.isabstract(cls) and cls.auto_register: type_name = _serialization_key(cls) JSONConvertible.register(type_name, cls, override_existing=True)
()
[ 0.01135623175650835, -0.03835706412792206, -0.02291099913418293, -0.020905790850520134, 0.005702932830899954, 0.03678863123059273, -0.008328565396368504, 0.06488140672445297, -0.0008909281459636986, -0.043955765664577484, 0.02928398922085762, 0.06893153488636017, 0.00857177097350359, 0.01911897026002407, -0.0379599928855896, 0.03355250135064125, 0.004218879621475935, 0.061307769268751144, 0.030534762889146805, -0.0365900956094265, 0.0042362515814602375, -0.013837926089763641, 0.04028285667300224, 0.051142748445272446, -0.0007680843118578196, -0.02900603972375393, 0.02608756721019745, 0.034068696200847626, -0.056900281459093094, -0.017242809757590294, -0.02894647978246212, -0.04613965377211571, 0.014105948619544506, 0.03923061862587929, 0.002911027055233717, -0.01858292520046234, -0.04359840229153633, 0.07198897749185562, -0.09791772067546844, 0.02608756721019745, -0.043082207441329956, 0.055470824241638184, -0.0711948350071907, -0.06003713980317116, 0.03210319206118584, 0.010502529330551624, -0.02596844546496868, 0.05594731122255325, -0.022414660081267357, -0.05463697388768196, 0.013162905350327492, -0.08056571334600449, -0.00614963797852397, 0.031547293066978455, 0.0041245752945542336, -0.0021764456760138273, 0.0009672402520664036, 0.05455756187438965, -0.021739639341831207, 0.012676493264734745, -0.010949233546853065, 0.0393298864364624, -0.042526308447122574, -0.010120348073542118, 0.005926285404711962, -0.005787310656160116, -0.0657152608036995, -0.052095722407102585, 0.0159225482493639, 0.0062637957744300365, 0.00023948347370605916, -0.0018625113880261779, 0.06400784850120544, 0.041454218327999115, 0.06992421299219131, 0.00837323535233736, -0.00650700181722641, -0.02650449238717556, -0.008537027053534985, -0.003655535401776433, 0.07738914340734482, -0.03212304785847664, -0.03450547531247139, -0.06515935808420181, -0.04383664205670357, 0.03776145726442337, -0.031011248007416725, -0.025571374222636223, -0.020687401294708252, 0.008209443651139736, -0.05936212092638016, -0.017044274136424065, -0.011822789907455444, 0.025472108274698257, -0.006596342660486698, -0.06591379642486572, -0.005891541484743357, -0.0427248440682888, -0.0039682285860180855, 0.027695706114172935, -0.008819940499961376, 0.042327772825956345, -0.03712614253163338, -0.023744847625494003, -0.004342964384704828, -0.05320752039551735, -0.03206348791718483, 0.03152744099497795, 0.010959160514175892, 0.012636786326766014, -0.0630548819899559, -0.015019211918115616, -0.054120782762765884, -0.005087472964078188, 0.016488375142216682, -0.0018091549864038825, 0.010869819670915604, 0.00924679171293974, 0.01172352209687233, -0.0009653789456933737, 0.011733449064195156, 0.031090661883354187, 0.018334755674004555, 0.08687914162874222, -0.004432305693626404, 0.0006281788228079677, 0.027735412120819092, 0.00036791112506762147, 0.03551800549030304, 0.019833698868751526, 0.024777233600616455, 0.040977731347084045, -0.04447195678949356, 0.048363253474235535, 0.05122216418385506, 0.027437608689069748, -0.07238604873418808, -0.0019344805041328073, -0.03633200004696846, 0.02156095765531063, 0.054398734122514725, 0.029383257031440735, 0.040699783712625504, -0.046735260635614395, -0.02181905321776867, -0.02412206493318081, -0.005067619029432535, 0.035021666437387466, -0.05753559246659279, -0.041176266968250275, -0.009395693428814411, 0.016160791739821434, 0.016230279579758644, 0.048363253474235535, -0.028589114546775818, -0.012329055927693844, -0.022414660081267357, 0.006700573954731226, -0.019913112744688988, -0.04332045093178749, -0.0041890996508300304, 0.0005980882560834289, -0.005196667276322842, -0.0413350947201252, -0.003717577550560236, 0.006010662764310837, 0.024062504991889, -0.06460345536470413, -0.0237249955534935, 0.04052110016345978, -0.027775119990110397, -0.004476976115256548, 0.0142349973320961, 0.017540613189339638, 0.013103344477713108, 0.04419400542974472, 0.019158678129315376, 0.01361953653395176, 0.04040198028087616, 0.030415641143918037, 0.04546463489532471, -0.05118245631456375, -0.04669555276632309, -0.00816477369517088, 0.06289605051279068, 0.012914735823869705, 0.0025958518963307142, 0.005906431935727596, 0.05165894329547882, 0.0223749540746212, 0.03978651762008667, 0.013341587036848068, 0.03788057714700699, -0.03835706412792206, 0.006829621735960245, 0.03375103697180748, -0.0223749540746212, 0.004097276832908392, -0.0739346295595169, 0.06801827251911163, -0.05789295956492424, -0.0033403602428734303, 0.014979504980146885, -0.04427342116832733, -0.044908735901117325, -0.05320752039551735, 0.03817838057875633, -0.02366543374955654, 0.031745828688144684, -0.0968853309750557, -0.04173216596245766, -0.025769909843802452, -0.017600173130631447, 0.024241186678409576, 0.018612705171108246, -0.10697093605995178, 0.05952094867825508, -0.05566935986280441, -0.0023365148808807135, -0.025730203837156296, 0.03178553655743599, 0.040699783712625504, -0.08457612991333008, 0.015505624003708363, 0.006397807039320469, -0.022196270525455475, -0.03259953111410141, -0.0073408507741987705, 0.009916849434375763, -0.018394315615296364, -0.0008053096826188266, -0.014810750260949135, 0.005040320567786694, -0.0006775024812668562, 0.02636551670730114, 0.0020362299401313066, 0.02203744277358055, 0.00042002671398222446, 0.0026181871071457863, 0.03240099549293518, 0.048125009983778, -0.028787650167942047, -0.04502785578370094, -0.03692760691046715, -0.0264449305832386, 0.010859892703592777, 0.029998717829585075, 0.026663320139050484, -0.012011399492621422, 0.0007010785629972816, 0.05376341938972473, -0.0298200361430645, -0.002084622858092189, -0.0015957292634993792, -0.03736438602209091, -0.0847349613904953, -0.044233713299036026, -0.026286102831363678, -0.011991545557975769, 0.0098324716091156, -0.00989699549973011, 0.0005555892712436616, -0.006760134361684322, 0.09069102257490158, -0.03768204152584076, -0.018890654668211937, 0.004871565382927656, 0.006065260153263807, -0.004509238060563803, -0.0037696931976825, 0.11419763416051865, -0.02501547522842884, 0.025670642033219337, 0.017798708751797676, -0.026425078511238098, -0.03150758892297745, -0.028787650167942047, -0.030673738569021225, 0.010303993709385395, -0.03158700093626976, -0.02692141756415367, -0.0400049090385437, 0.07854065299034119, -0.03821808844804764, 0.02582947164773941, -0.03678863123059273, 0.006025553215295076, 0.05475609749555588, -0.021997734904289246, -0.015465917065739632, 0.0521751344203949, -0.05467668175697327, 0.021382275968790054, 0.01822555996477604, 0.010343700647354126, 0.0009014753741212189, -0.1307951956987381, -0.0032510191667824984, 0.028092775493860245, -0.08306726068258286, -0.003528968896716833, 0.01707405410706997, 0.04725145548582077, 0.027973655611276627, -0.02976047433912754, -0.04256601631641388, -0.03218260779976845, -0.02150139771401882, -0.022613195702433586, 0.07314048707485199, -0.01667698286473751, 0.01993296667933464, 0.025114743039011955, 0.03402898833155632, -0.0024047615006566048, 0.014195289462804794, 0.016349399462342262, 0.011931984685361385, 0.061784252524375916, 0.019962746649980545, -0.03238114342093468, 0.022335246205329895, 0.008492357097566128, 0.012061032466590405, 0.01809651218354702, -0.013192685320973396, -0.0010509974090382457, 0.027973655611276627, 0.014215143397450447, -0.038674719631671906, -0.018324827775359154, 0.00002411896457488183, 0.010130275040864944, 0.01155476737767458, 0.030197253450751305, -0.014522873796522617, 0.021521249786019325, -0.025650789961218834, -0.006819695234298706, -0.013113271445035934, -0.010800332762300968, 0.006442477460950613, -0.003298171330243349, -0.017371857538819313, -0.05916358530521393, 0.022414660081267357, 0.03601434454321861, -0.0067551713436841965, 0.03140832111239433, -0.03817838057875633, -0.03958798199892044, -0.022454367950558662, 0.0009318761294707656, 0.03029652126133442, -0.04764852672815323, -0.11062399297952652, 0.011197403073310852, -0.08012893795967102, -0.014105948619544506, -0.03506137430667877, 0.009852325543761253, 0.007817336358129978, -0.039071790874004364, -0.003940930124372244, 0.008100248873233795, 0.011018721386790276, 0.02434045448899269, -0.08386140316724777, 0.039627689868211746, -0.00408238684758544, 0.010661357082426548, 0.0206675473600626, -0.06253869086503983, -0.039627689868211746, -0.032500263303518295, -0.004762370605021715, 0.017540613189339638, 0.06861387938261032, -0.06770060956478119, 0.025094889104366302, 0.016319619491696358, -0.0427248440682888, -0.06106952577829361, 0.003290726337581873, 0.055470824241638184, -0.03349294140934944, 0.0664299875497818, -0.011505133472383022, 0.006214161869138479, 0.010016117244958878, -0.026961123570799828, 0.010710990987718105, -0.0026752662379294634, -0.002130534267053008, -0.0023327923845499754, -0.054398734122514725, -0.04363810643553734, 0.046933796256780624, 0.008065505884587765, 0.05594731122255325, -0.02080652303993702, -0.02664346620440483, 0.06766090542078018, 0.01714354194700718, -0.014046387746930122, 0.029939156025648117, 0.09275579452514648, -0.04048139229416847, 0.005871688015758991, 0.0318649522960186, 0.038615159690380096, 0.007772665470838547, -0.07266400009393692, -0.039826225489377975, 0.027338340878486633, -0.021858761087059975, 0.02894647978246212, 0.0052264477126300335, -0.03664965555071831, 0.043955765664577484, 0.004834339953958988, 0.05618555098772049, 0.015297162346541882, 0.025273572653532028, 0.006045406684279442, 0.02563093602657318, 0.004993168171495199, 0.0576150082051754, -0.007767702452838421, 0.023010266944766045, 0.049514759331941605, -0.012904808856546879, -0.0176299549639225, -0.07500672340393066, 0.0053406055085361, 0.003290726337581873, 0.020349891856312752, -0.07103601098060608, -0.010050861164927483, 0.05666203796863556, -0.03410840407013893, 0.04081890359520912, 0.000018244329112349078, -0.00039365870179608464, 0.03831735625863075, 0.004246178548783064, -0.017183249816298485, 0.07063893973827362, 0.0366099514067173, -0.014443458989262581, 0.01688544638454914, 0.00911277998238802, 0.07012274861335754, -0.005236374214291573, -0.06531818956136703, -0.056503210216760635, 0.029641352593898773, -0.010840039700269699, -0.0016627350123599172, 0.003260945901274681, 0.04780735448002815, 0.0014381416840478778, 0.00249162083491683, 0.0012979259481653571, -0.05376341938972473, 0.009083000011742115, 0.04296308755874634, -0.023605873808264732, -0.048125009983778, -0.004119612276554108, 0.06821680814027786, 0.07425228506326675, 0.025948593392968178, -0.05340605601668358, -0.04502785578370094, 0.04784706234931946, 0.04792647436261177, -0.03696731477975845, -0.07000362128019333, -0.04792647436261177, 0.02976047433912754, -0.015972182154655457, 0.017679588869214058, -0.015237601473927498, 0.008363308385014534, 0.005449800286442041, 0.04024314880371094, 0.019615309312939644, 0.04044168442487717, 0.01836453564465046, -0.03369147703051567, 0.03788057714700699, -0.008293821476399899, 0.023208802565932274, -0.0213624220341444, -0.013530195690691471, -0.00013827688235323876, 0.025710349902510643, 0.020548425614833832, -0.04657643288373947, 0.04177187383174896, 0.018721899017691612, -0.04161304607987404, 0.03869457170367241, -0.014939798042178154, -0.05265162140130997, 0.009405620396137238, 0.04149392247200012, -0.03539888188242912, 0.006124821025878191, -0.013947119936347008, 0.04149392247200012, 0.03768204152584076, -0.0031145259272307158, -0.022672755643725395, 0.010452895425260067, 0.013818072155117989, 0.022811731323599815, -0.03539888188242912, -0.07973186671733856, -0.07294195145368576, -0.0039012229535728693, 0.055272288620471954, 0.000244912167545408, -0.03883354738354683, 0.0420101173222065, -0.010016117244958878, 0.0034346645697951317, 0.04594111815094948, 0.0056433724239468575, 0.019208312034606934, -0.016448667272925377, -0.023069826886057854, -0.021938174962997437, 0.013321733102202415, 0.006531818769872189, 0.05539141222834587, 0.04435283690690994, 0.02291099913418293, -0.015952328220009804, 0.049594175070524216, 0.09196165204048157, -0.00989699549973011, 0.007057937793433666, -0.01190220471471548, -0.02914501540362835, 0.01783841662108898, 0.009003586135804653, -0.020528573542833328, 0.005588775034993887, -0.0098324716091156, -0.015694232657551765, 0.010730844922363758, 0.027417754754424095, -0.03357235714793205, -0.031070809811353683, -0.0007711864309385419, 0.003834217321127653, 0.011634181253612041, 0.016786178573966026, 0.0010534791508689523, 0.08664090186357498, -0.006665830034762621, -0.019238092005252838, -0.017113761976361275, 0.014900091104209423, 0.02678244188427925, 0.10554148256778717, -0.01494972500950098, -0.004476976115256548, 0.032976750284433365, 0.014562580734491348, 0.041176266968250275, -0.01695493422448635, 0.031547293066978455, 0.03001856990158558, -0.022315392270684242, 0.010284139774739742, 0.009167377837002277, -0.03396942839026451, -0.000290513300569728, 0.017133615911006927, -0.023625727742910385, -0.06857416778802872, 0.0022670275066047907, -0.003792028408497572, -0.01566445268690586, 0.06269751489162445, 0.03049505688250065, -0.01477104239165783, 0.007325960788875818, 0.09180282801389694, 0.011763229966163635, -0.012150374241173267, -0.011644108220934868, 0.00840301625430584, 0.012388616800308228, -0.013818072155117989, 0.02650449238717556, -0.020449157804250717, -0.040084321051836014, 0.020985204726457596, -0.01186249777674675, -0.07103601098060608, 0.04649702087044716, 0.011981618590652943, -0.04351898655295372, -0.010502529330551624, 0.013718804344534874, -0.02852955460548401, 0.01654793508350849, 0.0027745338156819344, 0.028728090226650238, -0.02086608298122883, -0.018960142508149147, -0.037443798035383224, -0.05729735270142555, -0.0031616780906915665, 0.0030648920219391584, -0.00553914112970233, -0.01681595854461193, -0.00039800169179216027, 0.002685192972421646, 0.007653544191271067, -0.032698798924684525, -0.032440703362226486, -0.024975769221782684, -0.0012278180802240968, -0.006670793518424034, -0.03482313081622124, 0.007435155101120472, -0.018592851236462593, 0.01668691076338291, -0.03126934543251991, -0.035220202058553696, -0.04550434276461601, -0.009738167747855186, 0.0004944775137118995, 0.04534551128745079, 0.03295689821243286, -0.01980391889810562, -0.0623798593878746, -0.04040198028087616, 0.05936212092638016, -0.05646350234746933, -0.020449157804250717, 0.0427248440682888, -0.007211802992969751, 0.024042651057243347, 0.011227183975279331, 0.007554276380687952, 0.0914851650595665, -0.009455254301428795, -0.04121597483754158, -0.01281546801328659, 0.005281044635921717, -0.009718313813209534, -0.005648335441946983, 0.03581580892205238, 0.044908735901117325, 0.004089831840246916, 0.028986185789108276, -0.019674869254231453, -0.008224333636462688, 0.013262173160910606, 0.00680976826697588, -0.035140786319971085, -0.04141451045870781, 0.04161304607987404, 0.02277202345430851, -0.012676493264734745, -0.03722541034221649, -0.000504714495036751, -0.009212047792971134, -0.09029395878314972, 0.03015754558146, 0.004251142032444477, 0.06281664222478867, 0.01986347883939743, -0.009177304804325104, -0.03672907128930092, 0.005315788555890322, -0.06869328767061234, 0.06964626163244247, -0.041652753949165344, -0.024082358926534653, 0.022791877388954163, -0.02040945179760456, 0.03394957259297371, -0.08942040055990219, 0.02922442927956581, 0.021719785407185555, -0.042129237204790115, -0.028787650167942047, -0.03496210649609566, -0.0643652155995369, -0.057456180453300476, -0.0037498397286981344, -0.0250750370323658, 0.019476335495710373, 0.054597269743680954, -0.033651769161224365, 0.016458595171570778, -0.0010181149700656533, 0.07568173855543137, 0.020548425614833832, -0.05030890181660652, 0.00952474121004343, 0.08997629582881927, -0.023466898128390312, -0.0019183495314791799, 0.04498814791440964, 0.043082207441329956, -0.03190465644001961, -0.05646350234746933, 0.007306107319891453, 0.01305371057242155, 0.059878312051296234, -0.02344704419374466, 0.015475844033062458, -0.00005289110413286835, 0.003834217321127653, 0.06948743015527725, 0.019267871975898743, 0.08306726068258286, 0.01420521643012762, 0.029025893658399582, -0.019615309312939644, -0.006779987830668688, 0.0014567543985322118, 0.05126187205314636, 0.020230770111083984, -0.08799093961715698, -0.035756248980760574, 0.016150863841176033, -0.037443798035383224, 0.007112535182386637, -0.0019530932186171412, 0.005633445456624031, 0.028787650167942047, -0.04141451045870781, 0.013272099196910858, 0.01040326151996851, 0.035339321941137314, -0.0220175888389349, 0.025114743039011955, 0.045663170516490936, 0.04927651584148407, 0.010552163235843182, 0.00571285979822278, 0.011733449064195156, 0.014572507701814175, -0.05590760335326195, 0.01891050860285759, 0.08767328411340714, 0.018066732212901115, -0.02690156362950802, 0.03843647614121437, -0.027139805257320404, -0.02976047433912754, -0.07079776376485825, -0.030554616823792458, -0.005201630759984255, -0.04820442572236061, 0.0420101173222065, 0.022891145199537277, -0.04935593158006668, -0.014979504980146885 ]
40,970
pyglove.core.object_utils.json_conversion
to_json
Returns a plain Python value as a representation for this object. A plain Python value are basic python types that can be serialized into JSON, e.g: ``bool``, ``int``, ``float``, ``str``, ``dict`` (with string keys), ``list``, ``tuple`` where the container types should have plain Python values as their values. Args: **kwargs: Keyword arguments as flags to control JSON conversion. Returns: A plain Python value.
@abc.abstractmethod def to_json(self, **kwargs) -> JSONValueType: """Returns a plain Python value as a representation for this object. A plain Python value are basic python types that can be serialized into JSON, e.g: ``bool``, ``int``, ``float``, ``str``, ``dict`` (with string keys), ``list``, ``tuple`` where the container types should have plain Python values as their values. Args: **kwargs: Keyword arguments as flags to control JSON conversion. Returns: A plain Python value. """
(self, **kwargs) -> Union[int, float, bool, str, List[Any], Dict[str, Any]]
[ -0.030599897727370262, -0.07823332399129868, 0.008467867970466614, -0.020998533815145493, -0.01300628948956728, 0.023594457656145096, -0.03639627620577812, 0.002600369043648243, 0.020091738551855087, -0.06699617207050323, 0.04235267639160156, 0.04985596239566803, -0.007009883411228657, 0.044450752437114716, -0.0023403321392834187, 0.033035799860954285, 0.012428429909050465, 0.0307777002453804, 0.06546706706285477, 0.020073959603905678, -0.00885014422237873, -0.025212466716766357, 0.03029763139784336, 0.045944295823574066, 0.003724972950294614, -0.014064217917621136, 0.025710314512252808, 0.0066409423016011715, -0.011690547689795494, 0.04068132862448692, -0.06550262868404388, -0.04206819087266922, 0.010890433564782143, 0.05152731016278267, 0.006191989406943321, -0.00737437978386879, -0.0709078386425972, 0.08456310629844666, -0.12119052559137344, -0.002533692866563797, -0.04345505312085152, 0.025728095322847366, -0.07624192535877228, -0.05547453835606575, 0.029035231098532677, -0.026883814483880997, -0.021958671510219574, 0.04057464376091957, -0.006889866199344397, -0.03298245742917061, -0.00025878672022372484, -0.009103513322770596, 0.001152385724708438, 0.015602213330566883, -0.015655554831027985, 0.011557195335626602, 0.009974748827517033, 0.009868066757917404, -0.06166208162903786, 0.07624192535877228, -0.05344758182764053, 0.041499219834804535, 0.022438738495111465, -0.056576915085315704, 0.00969026330858469, 0.003718305379152298, -0.07382380962371826, -0.011397172696888447, 0.02268766239285469, 0.02448347397148609, 0.0019491654820740223, -0.03500941023230553, 0.04526864364743233, 0.055865705013275146, 0.06880976259708405, 0.04416626691818237, -0.04373953863978386, 0.012552891857922077, -0.018091455101966858, -0.02684825286269188, 0.03794316202402115, 0.0002772615698631853, -0.011023785918951035, -0.030742138624191284, -0.02517690509557724, 0.002878186060115695, -0.06888088583946228, 0.020749609917402267, 0.0035382797941565514, 0.005276304204016924, -0.032200124114751816, -0.021122997626662254, -0.043135009706020355, 0.03477826714515686, -0.004196150694042444, -0.05661247670650482, 0.002409230684861541, -0.05319865792989731, 0.007409940008074045, 0.0321645624935627, 0.00812115240842104, 0.030688798055052757, -0.010419256053864956, -0.03879661485552788, -0.025265807285904884, -0.0559723861515522, 0.013708611950278282, 0.01886489801108837, -0.0013935309834778309, 0.029390836134552956, -0.04551756754517555, 0.042992766946554184, -0.056399114429950714, -0.03826320543885231, -0.011112688109278679, 0.07773547619581223, -0.0003892218810506165, -0.026599328964948654, 0.017824750393629074, -0.0011062680277973413, -0.0192205049097538, 0.040645767003297806, 0.061839886009693146, 0.05945732444524765, 0.04053908586502075, 0.01872265711426735, 0.0011935026850551367, -0.01333522517234087, 0.017157990485429764, 0.023647800087928772, 0.013948645442724228, 0.02236761711537838, -0.002126968465745449, 0.011032676324248314, 0.05266524851322174, 0.02981756441295147, -0.0021036318503320217, -0.018313709646463394, 0.015682224184274673, 0.01687350496649742, 0.04288608580827713, -0.0015479973517358303, 0.06368903815746307, -0.03532945737242699, -0.009174634702503681, -0.015673335641622543, 0.025603633373975754, -0.008601220324635506, -0.045659810304641724, -0.00438728928565979, 0.049784839153289795, 0.025639193132519722, 0.031400009989738464, 0.0007934459135867655, -0.0026626000180840492, -0.014988793060183525, 0.0410369336605072, -0.053091976791620255, -0.013495247811079025, -0.03081326000392437, -0.004942923318594694, -0.020322883501648903, 0.021336359903216362, -0.0380498431622982, 0.00011591922520892695, 0.052771929651498795, 0.04637102410197258, -0.038192085921764374, -0.03508053347468376, 0.001255733659490943, -0.02684825286269188, -0.023078829050064087, -0.013788622803986073, 0.01431314181536436, 0.033355843275785446, 0.016162293031811714, 0.013210763223469257, 0.08093592524528503, 0.017824750393629074, 0.05049605295062065, 0.036698538810014725, -0.06696061044931412, -0.08321180939674377, 0.03879661485552788, 0.07673977315425873, -0.011023785918951035, 0.010792641900479794, -0.0014113113284111023, 0.041677024215459824, 0.03541835770010948, 0.020145080983638763, -0.007761101238429546, 0.004782900679856539, -0.04345505312085152, 0.002333664335310459, -0.011468294076621532, 0.029586419463157654, -0.007827777415513992, -0.05124282464385033, 0.08819028735160828, -0.0370541475713253, -0.019167164340615273, -0.0016124510439112782, -0.012979619204998016, -0.013112971559166908, -0.04334837198257446, 0.03687634319067001, -0.05117170512676239, 0.04139253869652748, -0.08925710618495941, -0.03294689580798149, -0.015104365535080433, -0.04537532478570938, 0.042317114770412445, 0.03641405329108238, -0.07474838197231293, -0.01216172520071268, -0.04772232472896576, -0.027132738381624222, 0.040183477103710175, 0.034547124058008194, 0.008218944072723389, -0.043277252465486526, -0.015993380919098854, 0.051065023988485336, -0.002604814013466239, -0.014535395428538322, -0.04416626691818237, -0.0058630541898310184, -0.03065323829650879, -0.0067076184786856174, -0.024714617058634758, 0.020073959603905678, 0.024892419576644897, 0.02716829814016819, 0.030884381383657455, 0.004167257808148861, -0.07368156313896179, -0.0679207444190979, 0.009530240669846535, 0.009885846637189388, -0.01656235009431839, 0.012766255997121334, 0.045446448028087616, -0.016517899930477142, 0.016757933422923088, 0.028715185821056366, 0.10589946806430817, -0.020980754867196083, 0.010641509667038918, 0.04487747699022293, -0.05831938609480858, -0.008361185900866985, -0.023274412378668785, -0.006045301910489798, -0.03648517653346062, 0.02039400488138199, 0.025443609803915024, 0.007032108958810568, 0.012864047661423683, 0.023309973999857903, -0.01954055018723011, -0.024607935920357704, 0.06959209591150284, -0.023149950429797173, -0.03232458606362343, 0.0019358302233740687, 0.023416655138134956, -0.016153402626514435, 0.08100704848766327, 0.04907362908124924, -0.03330250084400177, 0.02930193580687046, -0.03211122378706932, -0.028199557214975357, -0.054229915142059326, -0.04377510026097298, -0.0030559890437871218, -0.010125881060957909, -0.05447883903980255, -0.02450125478208065, -0.025568071752786636, 0.020785171538591385, -0.02254542149603367, -0.03399593383073807, -0.035044971853494644, 0.02764836698770523, 0.006143093574792147, -0.008552324026823044, 0.0028292902279645205, 0.03698302432894707, -0.033071357756853104, -0.07645529508590698, 0.01788698136806488, 0.04274384304881096, 0.024927981197834015, -0.047473400831222534, -0.012143945321440697, 0.058746110647916794, -0.016526788473129272, 0.009894737042486668, -0.00554300844669342, -0.01292627863585949, 0.029248593375086784, -0.026563769206404686, -0.01184167992323637, -0.018847119063138962, 0.002533692866563797, -0.0613420344889164, 0.05412323400378227, -0.03243126720190048, 0.0013779732398688793, -0.021567504853010178, 0.06130647659301758, -0.00978805497288704, 0.003644961630925536, 0.007081004790961742, -0.003344919066876173, 0.044450752437114716, 0.04718891531229019, -0.05750149115920067, -0.035702843219041824, 0.012019483372569084, -0.04437962919473648, 0.018793776631355286, -0.03541835770010948, -0.014233130030333996, 0.04775788635015488, 0.05006932467222214, 0.034671586006879807, -0.017922542989253998, -0.0007223247084766626, 0.06738733500242233, 0.007201021537184715, -0.0440240241587162, -0.0331602618098259, 0.02597701922059059, -0.004531754180788994, -0.013281884603202343, 0.02117633819580078, -0.0102592334151268, -0.014935452491044998, 0.028910769149661064, 0.009450229816138744, -0.016535678878426552, 0.035044971853494644, 0.032911334186792374, -0.022989928722381592, 0.09387998282909393, -0.03493829071521759, -0.005316309630870819, 0.02288324572145939, -0.00031587816192768514, 0.02451903373003006, -0.0665338858962059, -0.0291774719953537, 0.017922542989253998, -0.05021156743168831, -0.01674904301762581, -0.02683047391474247, 0.02453681454062462, -0.019309407100081444, 0.03442266210913658, 0.011370502412319183, -0.01458873599767685, 0.025941457599401474, 0.03280465304851532, -0.046619947999715805, 0.07972686737775803, -0.012223956175148487, 0.0037605336401611567, 0.012312858365476131, -0.03175561502575874, -0.04046796262264252, -0.0529852956533432, 0.016331205144524574, -0.03234236687421799, 0.048931386321783066, -0.08058032393455505, 0.0038516575004905462, 0.001181278727017343, -0.09274204820394516, -0.04370397701859474, 0.006889866199344397, 0.03511609137058258, -0.017318012192845345, 0.0725080668926239, -0.021976450458168983, -0.05252300575375557, 0.021745307371020317, -0.05817714333534241, -0.020820731297135353, -0.03872549533843994, -0.0207140501588583, -0.015611103735864162, -0.04957147687673569, -0.009796945378184319, 0.02366557903587818, -0.04854021966457367, 0.06578711420297623, 0.013895304873585701, -0.02732832171022892, 0.04057464376091957, 0.009387998841702938, -0.03252016752958298, -0.0033004682045429945, 0.06511145830154419, -0.04352617636322975, -0.0010718187550082803, 0.01786031201481819, 0.04320612922310829, -0.03463602438569069, -0.08996831625699997, -0.05124282464385033, 0.055723462253808975, -0.008418972603976727, -0.0038783280178904533, -0.02684825286269188, -0.021140776574611664, 0.012535111978650093, 0.0010223672725260258, 0.05725256726145744, 0.010294794104993343, 0.062195491045713425, 0.003004870843142271, 0.044948600232601166, 0.03447600081562996, 0.06500478088855743, 0.013957535848021507, 0.0420326292514801, 0.07652641087770462, -0.01774474047124386, -0.04270828142762184, -0.04935811460018158, 0.027701707556843758, 0.049109190702438354, 0.014508725143969059, -0.08598553389310837, -0.008890150114893913, 0.035702843219041824, 0.005409656558185816, 0.047615643590688705, -0.027612807229161263, 0.019949497655034065, 0.06664056330919266, -0.02748834528028965, -0.024714617058634758, 0.044806357473134995, 0.01819813810288906, -0.01407310739159584, 0.03198676183819771, 0.051562871783971786, 0.07994022965431213, -0.04907362908124924, -0.029035231098532677, -0.05650579556822777, -0.01818924769759178, -0.05206071957945824, 0.027790609747171402, -0.03191563859581947, 0.07745099067687988, -0.017282452434301376, -0.040503524243831635, -0.05383874848484993, -0.019167164340615273, -0.0021169669926166534, -0.008401191793382168, 0.00015168818936217576, -0.046477705240249634, 0.01641121692955494, 0.06408020108938217, 0.02453681454062462, -0.0235055573284626, -0.04206819087266922, -0.03061767667531967, 0.0374453142285347, 0.00046228780411183834, -0.03348030522465706, -0.03230680525302887, -0.04096581041812897, -0.050104886293411255, 0.011637206189334393, 0.012383978813886642, 0.012303967960178852, 0.019487209618091583, 0.036698538810014725, 0.026297064498066902, 0.009503570385277271, 0.029586419463157654, 0.006436468567699194, -0.06383127719163895, 0.06450693309307098, -0.0017046863213181496, 0.010988225229084492, 0.013121861964464188, 0.0021558613516390324, -0.007307703606784344, -0.01721133105456829, -0.011770558543503284, 0.02914191223680973, 0.030528776347637177, 0.029195252805948257, -0.0027848395984619856, 0.014508725143969059, -0.003711637808009982, -0.07282810658216476, 0.04189038649201393, 0.009921407327055931, -0.047473400831222534, -0.001017366535961628, 0.010570388287305832, 0.07183241099119186, 0.026439307257533073, -0.015442190691828728, -0.017922542989253998, 0.009210195392370224, 0.019593890756368637, 0.0011912800837308168, -0.036662980914115906, -0.04384621977806091, -0.05682583898305893, -0.011788339354097843, -0.009974748827517033, 0.013708611950278282, -0.05124282464385033, 0.031702276319265366, -0.023398876190185547, 0.0004772899264935404, 0.009005722589790821, 0.05718144774436951, -0.01756693609058857, -0.010614839382469654, -0.027079397812485695, 0.04029016196727753, -0.028750745579600334, -0.013939755037426949, 0.035702843219041824, 0.07979799062013626, 0.03045765496790409, -0.024430133402347565, 0.03280465304851532, 0.06468473374843597, 0.0007956684567034245, -0.03381812945008278, -0.004876247141510248, -0.0068054101429879665, -0.011788339354097843, 0.02402118593454361, 0.0015346622094511986, 0.01333522517234087, -0.005920839961618185, -0.03360476717352867, 0.025603633373975754, 0.03095550276339054, -0.00787667278200388, -0.001792476512491703, 0.04061020538210869, 0.011734997853636742, 0.017433583736419678, 0.016135621815919876, 0.022794345393776894, 0.05700364336371422, 0.0068809762597084045, 0.007285478059202433, -0.03500941023230553, 0.05999073386192322, 0.007814441807568073, 0.0980050191283226, 0.00256703095510602, -0.031880076974630356, 0.007009883411228657, -0.00426727207377553, 0.05718144774436951, -0.0350627526640892, 0.038156524300575256, 0.006316451821476221, -0.01300628948956728, 0.015806686133146286, -0.022260935977101326, -0.023487776517868042, -0.04306388646364212, -0.00101514405105263, 0.01771806925535202, -0.06105755269527435, 0.041677024215459824, 0.007258807774633169, -0.01323743350803852, 0.0589594766497612, 0.009450229816138744, -0.0065520405769348145, 0.00040061239269562066, 0.05547453835606575, 0.003211566712707281, -0.006974322721362114, 0.005903059616684914, -0.032217904925346375, -0.005951955448836088, -0.010188112035393715, 0.006592046469449997, -0.03497385233640671, -0.027915071696043015, 0.05035381019115448, -0.011148247867822647, -0.01176166906952858, 0.0266882311552763, 0.03886773809790611, -0.05501224845647812, 0.016153402626514435, -0.0011068236781284213, -0.010499266907572746, 0.029017450287938118, 0.031702276319265366, 0.02483907900750637, -0.07702425867319107, -0.012570672668516636, -0.0009373552165925503, -0.0464065857231617, 0.007192131597548723, -0.04505528137087822, -0.006147538777440786, 0.010943775065243244, -0.003376034554094076, -0.02288324572145939, -0.0007123232935555279, -0.0026981604751199484, -0.060559701174497604, -0.00811226200312376, -0.0025181351229548454, 0.0027937297709286213, -0.038334328681230545, 0.014668747782707214, -0.030902162194252014, 0.010925994254648685, -0.04846910014748573, -0.026723790913820267, -0.04946479573845863, -0.029426397755742073, 0.01556665264070034, 0.043490614742040634, 0.04345505312085152, 0.00766775431111455, 0.011583865620195866, -0.03723194822669029, 0.032555729150772095, -0.022243155166506767, -0.008739017881453037, -0.006667612586170435, -0.011219369247555733, 0.023790040984749794, -0.015851138159632683, -0.022314276546239853, 0.02252764068543911, 0.013761952519416809, -0.022936588153243065, -0.025728095322847366, 0.02766614779829979, 0.0002950418565887958, 0.041499219834804535, 0.011957252398133278, 0.0022547643166035414, -0.048931386321783066, 0.016606800258159637, -0.05981292948126793, -0.017993664368987083, 0.060168538242578506, 0.002471461659297347, -0.06031077727675438, -0.04886026680469513, 0.06635607779026031, 0.011130467988550663, 0.01366416085511446, 0.00904128234833479, 0.025070223957300186, 0.023630019277334213, -0.05814158171415329, 0.007663309574127197, 0.015940038487315178, 0.05543897673487663, 0.03723194822669029, -0.012766255997121334, -0.011219369247555733, -0.005991961341351271, -0.07581520080566406, 0.06987658143043518, -0.07304147630929947, -0.02585255727171898, -0.012090603820979595, 0.039650071412324905, -0.004982929211109877, -0.06799186766147614, 0.01706019788980484, -0.019647231325507164, -0.062195491045713425, -0.021976450458168983, 0.005929730366915464, -0.03477826714515686, -0.025532511994242668, 0.015557763166725636, 0.03234236687421799, 0.04292164370417595, 0.0017313567223027349, -0.01449983473867178, 0.0007006549858488142, 0.029604200273752213, 0.09793389588594437, 0.03191563859581947, -0.00885903462767601, -0.0008929044706746936, 0.06873863935470581, -0.0900394394993782, -0.053091976791620255, 0.05483444780111313, 0.0036605193745344877, -0.02732832171022892, -0.07218801975250244, -0.0070143286138772964, 0.006009741686284542, 0.08349628746509552, -0.03191563859581947, 0.04029016196727753, -0.030742138624191284, -0.012401759624481201, 0.0364496149122715, -0.001793587813153863, 0.025621412321925163, 0.017442474141716957, -0.04260160028934479, -0.02154972404241562, -0.009628032334148884, 0.030422093346714973, 0.028270676732063293, 0.02517690509557724, 0.009681373834609985, -0.05974180996417999, 0.008174492977559566, -0.036840781569480896, -0.027132738381624222, -0.03374700993299484, -0.0030715467873960733, 0.03429820016026497, -0.00951246079057455, 0.026208162307739258, -0.005387431010603905, -0.021460821852087975, 0.02814621478319168, -0.03758755326271057, 0.023238852620124817, 0.06976989656686783, -0.004765120334923267, -0.018100345507264137, -0.015291058458387852, 0.04864690080285072, -0.03161337226629257, -0.003080436959862709, 0.0890437439084053, 0.013317445293068886, -0.022652102634310722, 0.052594128996133804, 0.018847119063138962, 0.00447619054466486, -0.10063649713993073, -0.029017450287938118, -0.020998533815145493, -0.009583582170307636, -0.0460154190659523, 0.05184735730290413, -0.041499219834804535, -0.0007712205406278372 ]
40,971
pyglove.core.object_utils.value_location
KeyPath
Represents a path of keys from the root to a node in a tree. ``KeyPath`` is an important concept in PyGlove, which is used for representing a symbolic object's location (see :meth:`pyglove.Symbolic.sym_path`) within its symbolic tree. For example:: @pg.members([ ('x', pg.typing.Int()), ('y', pg.typing.Str()) ]) class A(pg.Object): pass @pg.members([ ('z', pg.typing.Object(A)) ]) class B(pg.Object): pass a = A(x=1, y='foo') b = B(z=a) assert a.sym_path == 'z' # The path to object `a` is 'z'. assert b.sym_path == '' # The root object's KeyPath is empty. Since each node in a tree has a unique location, given the root we shall be able to use a ``KeyPath`` object to locate the node. With the example above, we can query the member ``x`` of object ``a`` via:: pg.KeyPath.parse('z.x').query(b) # Should return 1. Similarly, we can modify a symbolic object's sub-node based on a ``KeyPath`` object. See :meth:`pyglove.Symbolic.rebind` for modifying sub-nodes in a symbolic tree.
class KeyPath(common_traits.Formattable): """Represents a path of keys from the root to a node in a tree. ``KeyPath`` is an important concept in PyGlove, which is used for representing a symbolic object's location (see :meth:`pyglove.Symbolic.sym_path`) within its symbolic tree. For example:: @pg.members([ ('x', pg.typing.Int()), ('y', pg.typing.Str()) ]) class A(pg.Object): pass @pg.members([ ('z', pg.typing.Object(A)) ]) class B(pg.Object): pass a = A(x=1, y='foo') b = B(z=a) assert a.sym_path == 'z' # The path to object `a` is 'z'. assert b.sym_path == '' # The root object's KeyPath is empty. Since each node in a tree has a unique location, given the root we shall be able to use a ``KeyPath`` object to locate the node. With the example above, we can query the member ``x`` of object ``a`` via:: pg.KeyPath.parse('z.x').query(b) # Should return 1. Similarly, we can modify a symbolic object's sub-node based on a ``KeyPath`` object. See :meth:`pyglove.Symbolic.rebind` for modifying sub-nodes in a symbolic tree. """ def __init__(self, key_or_key_list: Optional[Union[Any, List[Any]]] = None, parent: Optional['KeyPath'] = None): """Constructor. Args: key_or_key_list: A single object as key, or a list/tuple of objects as keys in the path. When string types or StrKey objects are used as key, dot ('.') is used as the delimiter, otherwise square brackets ('[]') is used as the delimiter when formatting a KeyPath. For object type key, str(object) will be used to represent the key in string form. parent: Parent KeyPath. """ if key_or_key_list is None: key_or_key_list = [] elif not isinstance(key_or_key_list, (tuple, list)): key_or_key_list = [key_or_key_list] keys = [] if parent: keys.extend(parent.keys) keys.extend(key_or_key_list) self._keys = keys # NOTE(daiyip): Lazy to build path string cache for fast access. self._path_str = None @classmethod def from_value(cls, value: Union['KeyPath', str, int]) -> 'KeyPath': """Returns a KeyPath object from a KeyPath equivalence.""" if isinstance(value, str): value = cls.parse(value) elif isinstance(value, int): value = cls(value) elif not isinstance(value, KeyPath): raise ValueError(f'{value!r} is not a valid KeyPath equivalence.') return value @classmethod def parse(cls, path_str: str, parent: Optional['KeyPath'] = None) -> 'KeyPath': """Creates a ``KeyPath`` object from parsing a JSONPath-like string. The JSONPath (https://restfulapi.net/json-jsonpath/) like string is defined as following:: <path> := <empty> | {<dict-key>[.<dict-key>]*} <dict-key> := <identifier>['[('<list-key>|<special-dict-key>)']']* <list-key> := <number> <special-dict-key> := <string-with-delimiter-chars> <delimiter_chars> := '[' | ']' | '.' For example, following keys are valid path strings:: '' : An empty path representing the root of a path. 'a' : A path that contains a dict key 'a'. 'a.b' : A path that contains two dict keys 'a' and 'b'. 'a[0]' : A path that contains a dict key 'a' and a list key 0. 'a.0.' : A path that contains two dict keys 'a' and '0'. 'a[0][1]' : A path that contains a dict key 'a' and two list keys 0 and 1 for a multi-dimension list. 'a[x.y].b' : A path that contains three dict keys: 'a', 'x.y', 'b'. Since 'x.y' has delimiter characters, it needs to be enclosed in brackets. TODO(daiyip): Support paring ``KeyPath`` from keys of complex types. Now this method only supports parsing KeyPath of string and int keys. That being said, ``format``/``parse`` are not symmetric, while ``format`` can convert a ``KeyPath`` that includes complex keys into a string, ``parse`` is not able to convert them back. Args: path_str: A JSON-path-like string. parent: Parent KeyPath object. Returns: A KeyPath object. Raises: ValueError: Path string is in bad format. """ if not isinstance(path_str, str): raise ValueError( f'\'path_str\' must be a string type. Encountered: {path_str!r}') keys = [] def _append_key(key, preserve_empty=False, maybe_numeric=False): """Helper method to append key.""" if not (preserve_empty or key): return if maybe_numeric and key.lstrip('-').isdigit(): key = int(key) keys.append(key) pos, key_start, unmatched_brackets = 0, 0, 0 while pos != len(path_str): ch = path_str[pos] if ch == ']': unmatched_brackets -= 1 if unmatched_brackets == 0: key = path_str[key_start:pos] _append_key(key, True, True) key_start = pos + 1 elif unmatched_brackets < 0: raise ValueError( f'KeyPath parse failed: unmatched close bracket at position ' f'{pos}:{path_str!r}') elif ch == '[': if unmatched_brackets == 0: key = path_str[key_start:pos] _append_key(key) key_start = pos + 1 unmatched_brackets += 1 elif ch == '.' and unmatched_brackets == 0: key = path_str[key_start:pos] _append_key(key) key_start = pos + 1 pos += 1 if key_start != len(path_str): _append_key(path_str[key_start:]) if unmatched_brackets != 0: raise ValueError( f'KeyPath parse failed: unmatched open bracket at position ' f'{key_start - 1}: {path_str!r}') return KeyPath(keys, parent) @property def keys(self) -> List[Any]: """A list of keys in this path.""" return copy.copy(self._keys) @property def key(self) -> Any: """The rightmost key of this path.""" if self.depth == 0: raise KeyError('Key of root KeyPath does not exist.') return self._keys[-1] @property def is_root(self) -> bool: """Returns True if this path is the root of a tree.""" return not self._keys @property def depth(self) -> int: """The depth of this path.""" return len(self._keys) @property def parent(self) -> 'KeyPath': """The ``KeyPath`` object for current node's parent. Example:: path = pg.KeyPath.parse('a.b.c.') assert path.parent == 'a.b' Returns: A ``KeyPath`` object for the parent of current node. Raises: KeyError: If current path is the root. """ if self.is_root: raise KeyError('Parent of a root KeyPath does not exist.') return KeyPath(self._keys[:-1]) def __sub__(self, other: Union[None, int, str, 'KeyPath']) -> 'KeyPath': """Finds the relative path of this path to the other. Example:: path1 = pg.KeyPath.parse('a.b.c.d') path2 = pg.KeyPath.parse('a.b') assert path1 - path2 == 'c.d' Args: other: Object to subtract, which can be None, int (as a depth-1 KeyPath), string (parsed as a KeyPath) or a KeyPath object. Returns: Relative path of this path to the other. Raises: ValueError: This path is an ancestor node of the other path, or these two paths are in different branch. """ if other is None: return self if isinstance(other, str): other = KeyPath.parse(other) elif isinstance(other, int): other = KeyPath(other) if not isinstance(other, KeyPath): raise TypeError( f'Cannot subtract KeyPath({self}) by {other!r}.') max_len = max(len(self), len(other)) for pos in range(max_len): if pos >= len(self): raise ValueError( f'KeyPath subtraction failed: left path {self!r} ' f'is an ancestor of right path {other!r}.') if pos >= len(other): return KeyPath(self.keys[pos:]) if self.keys[pos] != other.keys[pos]: raise ValueError(
(key_or_key_list: Union[Any, List[Any], NoneType] = None, parent: Optional[ForwardRef('KeyPath')] = None)
[ 0.02571047469973564, -0.0316753052175045, -0.05993625894188881, 0.02908368967473507, -0.008669571951031685, -0.011014367453753948, -0.00461245933547616, 0.033773280680179596, 0.08227352052927017, -0.03798979893326759, 0.03383498638868332, 0.0030389782041311264, 0.04706045240163803, 0.03632375970482826, -0.0488293319940567, 0.007425185292959213, 0.07005590200424194, -0.0012296034255996346, 0.01884063519537449, 0.0035968953743577003, 0.0013118769275024533, -0.037598997354507446, 0.07437526434659958, -0.00014180933067109436, 0.0032729434315115213, 0.004082823172211647, 0.031922124326229095, 0.037146493792533875, 0.03949128836393356, -0.06832815706729889, 0.0019411408575251698, -0.025381380692124367, -0.02198759838938713, 0.03963526710867882, -0.03161359950900078, -0.03796922788023949, -0.00856673065572977, -0.004954408388584852, 0.007908541709184647, -0.006612733937799931, -0.0023293690755963326, 0.04471565783023834, -0.0514620877802372, -0.05660418048501015, 0.009451170451939106, 0.048705924302339554, -0.02673889324069023, 0.05713896080851555, 0.010073363780975342, 0.0009795690421015024, 0.027849586680531502, -0.0559459924697876, -0.03700251504778862, -0.03138734772801399, -0.03200439736247063, -0.003123822622001171, 0.023818183690309525, 0.04097221419215202, 0.01863495260477066, -0.057180095463991165, 0.013729393482208252, 0.0026790315750986338, -0.018490973860025406, 0.056439634412527084, -0.033238500356674194, -0.04924070090055466, -0.02092832699418068, -0.04533270746469498, -0.051215264946222305, -0.004167668055742979, -0.06285697221755981, -0.0228309016674757, -0.010119643062353134, -0.013431152328848839, 0.0011396168265491724, -0.023139426484704018, -0.044797930866479874, 0.012310175225138664, -0.006818417925387621, -0.020393548533320427, -0.021946461871266365, -0.044222015887498856, -0.06820474565029144, -0.07030272483825684, 0.03729047253727913, 0.06154059246182442, 0.04640226438641548, -0.007193790748715401, -0.011384597979485989, 0.07589732110500336, -0.06178741157054901, -0.011374314315617085, -0.04132187366485596, 0.026450935751199722, 0.01855267770588398, -0.023365680128335953, 0.01836756244301796, -0.0807514563202858, 0.010073363780975342, 0.009893390350043774, 0.03805150091648102, 0.010983514599502087, 0.003800008213147521, 0.021576231345534325, 0.004082823172211647, -0.027170829474925995, -0.0723184272646904, 0.009101508185267448, 0.04185665398836136, -0.037043653428554535, -0.07149568945169449, 0.0013819379964843392, 0.0021159721072763205, -0.0003663742681965232, 0.014428718015551567, 0.026697756722569466, -0.016249019652605057, -0.012783247977495193, 0.07067295163869858, -0.015292590484023094, 0.05257277935743332, 0.017719659954309464, -0.05487643927335739, 0.05948375537991524, 0.011909091845154762, 0.01323575247079134, 0.002691886620596051, 0.02180248312652111, -0.01620788313448429, -0.029700741171836853, 0.029844719916582108, 0.07375820726156235, -0.03650887310504913, 0.015878789126873016, 0.06075899302959442, 0.04866478592157364, 0.01072640996426344, 0.013770530000329018, -0.05347778648138046, 0.07560936361551285, 0.06647700071334839, -0.029227668419480324, 0.04446883872151375, -0.015817083418369293, -0.021000316366553307, 0.010993799194693565, 0.03422578424215317, -0.01762710139155388, -0.01686607114970684, -0.0032343778293579817, -0.038833100348711014, 0.015817083418369293, 0.0630626529455185, 0.03290940821170807, 0.05557576194405556, -0.04689590632915497, -0.07725483179092407, -0.04047857224941254, 0.028363795951008797, -0.027047419920563698, -0.011569713242352009, -0.058126240968704224, 0.030441202223300934, -0.029885856434702873, 0.008499883115291595, 0.018614383414387703, -0.0013041638303548098, -0.000545704853720963, -0.029248235747218132, 0.026265820488333702, 0.033320777118206024, 0.002367934677749872, -0.09593092650175095, 0.02768503874540329, 0.006026535294950008, -0.01561139989644289, -0.00852559320628643, 0.044222015887498856, -0.020208433270454407, -0.04360496625304222, 0.0411778949201107, 0.012844953685998917, -0.0009872822556644678, 0.05166776850819588, 0.03735217824578285, 0.040869370102882385, -0.010016800835728645, 0.0432758703827858, 0.031263936311006546, 0.014716675505042076, -0.09008950740098953, 0.004548183176666498, 0.05524666979908943, 0.053560059517621994, 0.011384597979485989, -0.019550245255231857, 0.013667688705027103, -0.027705607935786247, -0.037598997354507446, 0.09428545087575912, -0.05244936794042587, -0.010880673304200172, -0.0015143469208851457, -0.034904539585113525, -0.0180796068161726, -0.0172877237200737, 0.01937541365623474, 0.027335377410054207, -0.03130507469177246, 0.015878789126873016, -0.04335814341902733, -0.034246351569890976, 0.022522376850247383, -0.0438106507062912, -0.0020221287850290537, -0.028075838461518288, 0.017513975501060486, 0.047019317746162415, -0.006211650557816029, -0.0035609006881713867, 0.10679102689027786, 0.05236709490418434, 0.02675946243107319, -0.007636011112481356, 0.021411683410406113, -0.05220254883170128, -0.00523208174854517, 0.01789448969066143, 0.0028075838927179575, -0.05454734340310097, 0.060553308576345444, -0.04706045240163803, 0.010171064175665379, -0.01950910873711109, 0.030235517770051956, -0.046731360256671906, 0.015734810382127762, -0.016691239550709724, 0.04520929977297783, -0.015858221799135208, -0.007024101912975311, -0.017544828355312347, -0.03381441533565521, -0.07203046977519989, -0.00918378122150898, 0.004733298439532518, 0.05368347093462944, -0.03646773844957352, 0.016804365441203117, 0.002328083384782076, 0.0387919656932354, 0.013821951113641262, 0.017380280420184135, 0.02898084744811058, -0.033505890518426895, 0.0004306504561100155, -0.040108341723680496, -0.03393782675266266, 0.02898084744811058, 0.03603580221533775, -0.046937040984630585, -0.036118075251579285, -0.0501457117497921, 0.014840085990726948, 0.004715301096439362, -0.012700974941253662, 0.04389292374253273, -0.017956195399165154, -0.02694457769393921, 0.01412019319832325, 0.02692400850355625, -0.024928877130150795, -0.03338247910141945, 0.022213850170373917, -0.016938060522079468, 0.040869370102882385, -0.011672555468976498, 0.0327242910861969, -0.002124970778822899, -0.005789998918771744, -0.01752425916492939, -0.02449694089591503, -0.03523363545536995, -0.004784719552844763, 0.020990030840039253, 0.01981763355433941, -0.019725076854228973, -0.03262145072221756, -0.009733986109495163, 0.012310175225138664, 0.08272602409124374, -0.016516409814357758, -0.002894999459385872, 0.015385148115456104, 0.048705924302339554, 0.010705841705203056, -0.04557953029870987, -0.10687330365180969, 0.04631999135017395, -0.036220915615558624, 0.06606563925743103, 0.04136301204562187, 0.07499231398105621, 0.002797299763187766, 0.028836868703365326, 0.019097739830613136, 0.009075797162950039, 0.01439786609262228, 0.0009127218509092927, 0.03671455755829811, -0.05742691829800606, 0.012752395123243332, -0.028116974979639053, 0.024558644741773605, 0.000624121748842299, 0.011929660104215145, -0.008047378621995449, -0.0011274042772129178, 0.015693673864006996, 0.05397142842411995, -0.04286450520157814, 0.056809864938259125, -0.05220254883170128, 0.02739708125591278, 0.021185431629419327, -0.03829832375049591, 0.062486737966537476, 0.024764329195022583, 0.004005691967904568, 0.022049304097890854, 0.015169179998338223, -0.008237635716795921, 0.014140761457383633, -0.002095403615385294, -0.017112892121076584, 0.013390014879405499, 0.03336191177368164, -0.016907207667827606, -0.040416866540908813, 0.005825993604958057, 0.11098697781562805, -0.03949128836393356, 0.016321009024977684, -0.007342911791056395, -0.028219817206263542, -0.060635585337877274, 0.07499231398105621, 0.027643902227282524, 0.022625217214226723, 0.026636051014065742, -0.03142848610877991, -0.002366649219766259, 0.019838202744722366, -0.0033063669688999653, 0.011528576724231243, -0.04932297393679619, -0.03895651176571846, -0.026636051014065742, -0.008114226162433624, -0.00545576261356473, 0.08622264862060547, -0.009327759966254234, -0.042370863258838654, -0.024250119924545288, -0.03782524913549423, -0.03186041861772537, 0.011117209680378437, -0.030523475259542465, 0.010207058861851692, -0.001632615108974278, 0.008350762538611889, -0.052038002759218216, 0.02766447141766548, -0.04800659790635109, -0.007075522560626268, 0.04817114397883415, 0.04977547749876976, 0.04631999135017395, -0.026636051014065742, 0.030975980684161186, 0.03134620934724808, 0.013636835850775242, 0.02702685073018074, 0.070220448076725, 0.0010245623998343945, 0.04467451944947243, 0.07935281097888947, -0.03914162516593933, 0.049734342843294144, 0.005810567177832127, -0.02235782891511917, -0.018892057240009308, 0.062034234404563904, 0.011898808181285858, -0.022851470857858658, -0.02815811149775982, 0.04360496625304222, -0.022995449602603912, -0.009996232576668262, -0.03132564201951027, 0.058208514004945755, -0.030070971697568893, 0.021205998957157135, 0.03402009978890419, 0.06001853197813034, -0.016321009024977684, 0.07536254078149796, 0.019437119364738464, -0.05133867636322975, 0.037516724318265915, -0.0021159721072763205, -0.027355944737792015, -0.029659604653716087, 0.026903441175818443, 0.019303424283862114, -0.02881629951298237, -0.04660794883966446, 0.02935107797384262, 0.004964692518115044, 0.04788318648934364, -0.03459601476788521, -0.021226568147540092, -0.013400299474596977, -0.006885265000164509, 0.043769512325525284, 0.011909091845154762, -0.04808887094259262, -0.010942378081381321, 0.045826349407434464, 0.056809864938259125, -0.004648454021662474, -0.026348095387220383, -0.006062529981136322, -0.0385245755314827, -0.04837682843208313, -0.01823386922478676, 0.02673889324069023, -0.02385932020843029, 0.022028734907507896, 0.035377614200115204, -0.006797849666327238, 0.022872038185596466, 0.01369854062795639, 0.01902575045824051, 0.01407905574887991, -0.01285523734986782, -0.008397040888667107, 0.06479039788246155, 0.015570263378322124, -0.011579997837543488, 0.03225122019648552, -0.02404443547129631, 0.041712675243616104, -0.012834669090807438, -0.04520929977297783, -0.0017328859539702535, 0.042165178805589676, 0.04286450520157814, -0.019683940336108208, 0.019807349890470505, -0.006828702054917812, 0.06684723496437073, 0.056151676923036575, -0.0025466224178671837, -0.04475679621100426, -0.008818692527711391, 0.027355944737792015, 0.045044753700494766, -0.027746744453907013, -0.03525420278310776, -0.030317792668938637, -0.039367880672216415, -0.08918449282646179, 0.04467451944947243, 0.014367013238370419, 0.021411683410406113, 0.06684723496437073, -0.010140211321413517, -0.0965891107916832, -0.05265505239367485, -0.02480546571314335, -0.10374690592288971, -0.005502041429281235, -0.023283405229449272, 0.03327963873744011, -0.020619800314307213, -0.0038540002424269915, 0.03251861035823822, -0.018089890480041504, -0.043563827872276306, -0.05738577991724014, 0.021555662155151367, -0.038833100348711014, 0.03177814558148384, 0.006905833724886179, 0.0070086754858493805, -0.011034935712814331, -0.019036035984754562, -0.02357136271893978, -0.02638923190534115, -0.006196224596351385, 0.00020841554214712232, 0.019087456166744232, 0.029885856434702873, 0.02023928612470627, 0.04800659790635109, 0.008001099340617657, 0.02293374389410019, 0.007553737610578537, -0.06762883067131042, -0.005496899597346783, -0.0063607716001570225, 0.03864798694849014, 0.0021468247286975384, -0.048500239849090576, 0.03130507469177246, -0.0055174678564071655, 0.022892607375979424, 0.009404892101883888, -0.02209044061601162, -0.03066745400428772, 0.009538586251437664, 0.027067987248301506, -0.023694774135947227, 0.01625930517911911, 0.005093244835734367, -0.005563746672123671, -0.020969463512301445, 0.02143225260078907, 0.02021871693432331, -0.005414626095443964, 0.054835300892591476, 0.07408730685710907, 0.07355252653360367, -0.005825993604958057, 0.05405370146036148, -0.01389394048601389, -0.007281206548213959, -0.06051217392086983, -0.010808683931827545, 0.05166776850819588, 0.05236709490418434, -0.018408700823783875, -0.029947560280561447, 0.08165647089481354, 0.023242268711328506, 0.034040667116642, -0.01770937442779541, -0.004946695175021887, -0.0019167158752679825, -0.008283914998173714, 0.015858221799135208, 0.041897788643836975, 0.03037949651479721, 0.0257310438901186, -0.034349195659160614, 0.02396216243505478, -0.03698194772005081, -0.010716126300394535, -0.017143744975328445, -0.026306957006454468, 0.0082479203119874, -0.000046881443267920986, -0.030605750158429146, 0.031922124326229095, 0.021596798673272133, -0.01504576951265335, 0.019971895962953568, 0.03103768453001976, 0.0203215591609478, -0.03315622732043266, 0.018676089122891426, 0.007594874128699303, -0.0374755896627903, -0.03138734772801399, 0.009970522485673428, -0.08852630853652954, 0.027705607935786247, 0.013965929858386517, -0.02589558996260166, 0.046566810458898544, 0.028404932469129562, 0.036118075251579285, 0.04128073900938034, 0.012783247977495193, 0.026985714212059975, 0.03903878480195999, 0.061458319425582886, -0.00440677534788847, -0.00556888896971941, -0.0469781793653965, -0.04640226438641548, 0.009204350411891937, 0.023139426484704018, 0.029762445017695427, -0.01705118641257286, -0.00748174823820591, 0.029021983966231346, 0.052696190774440765, -0.07227728515863419, -0.03260088339447975, -0.015714243054389954, 0.03264201804995537, 0.07042613625526428, 0.02092832699418068, 0.0028075838927179575, 0.0747043564915657, 0.023180564865469933, 0.01225875411182642, -0.025772180408239365, 0.018521826714277267, 0.03188098967075348, 0.01691749319434166, -0.005635736044496298, -0.05623394995927811, -0.02066093683242798, -0.008875255472958088, -0.02217271365225315, -0.0300915390253067, -0.03500738367438316, -0.046196579933166504, -0.00899866595864296, -0.019570812582969666, 0.01323575247079134, -0.0757327750325203, -0.018665805459022522, -0.003800008213147521, -0.011106925085186958, -0.003370643360540271, -0.06602449715137482, 0.042453136295080185, -0.04743068292737007, -0.0572623685002327, 0.013102058321237564, -0.01757568120956421, -0.043851785361766815, 0.00504182418808341, -0.02702685073018074, -0.012814100831747055, 0.07659664750099182, -0.06947998702526093, -0.04977547749876976, -0.09815230965614319, 0.046937040984630585, -0.06762883067131042, 0.007512600626796484, -0.02935107797384262, -0.08013440668582916, 0.035727277398109436, 0.033691007643938065, 0.0026790315750986338, 0.02219328097999096, -0.034061238169670105, -0.05767373740673065, -0.020856337621808052, 0.016845503821969032, 0.03338247910141945, -0.061376046389341354, -0.03515136241912842, 0.014500707387924194, 0.01662953570485115, -0.05520553141832352, -0.02145281992852688, 0.021493956446647644, -0.05738577991724014, -0.026450935751199722, 0.014336160384118557, -0.020208433270454407, 0.06223991885781288, 0.006088240537792444, 0.023818183690309525, -0.07141341269016266, -0.04193892702460289, 0.009677423164248466, -0.027520492672920227, -0.024352962151169777, 0.053560059517621994, 0.02497001364827156, 0.030256086960434914, -0.04323473572731018, 0.007594874128699303, 0.028075838461518288, -0.005610025487840176, 0.0025826171040534973, 0.002166107529774308, 0.004195949528366327, 0.06261014938354492, 0.02330397441983223, 0.027931859716773033, -0.08490627259016037, 0.01683521829545498, -0.038833100348711014, 0.019180014729499817, 0.015909641981124878, -0.048047736287117004, -0.036488305777311325, -0.008253062143921852, 0.011271472088992596, -0.042535409331321716, -0.02385932020843029, 0.005352920852601528, 0.01369854062795639, -0.0036817400250583887, -0.03655001148581505, -0.007538311183452606, -0.004077681340277195, -0.0034683430567383766, 0.012515858747065067, -0.028034701943397522, -0.009610575623810291, -0.012783247977495193, 0.04685476794838905, 0.016218166798353195, -0.12925170361995697, 0.031737010926008224, -0.004702446050941944, -0.005615167785435915, -0.015354295261204243, 0.004941553343087435, -0.004116246942430735, -0.004635598510503769, -0.00747660594061017, 0.04899388179183006, 0.012731826864182949, -0.007934252731502056, -0.013215184211730957, 0.014284740202128887, -0.006787565536797047, -0.049816615879535675, 0.013780814595520496, -0.030544044449925423, 0.029495056718587875, -0.01625930517911911, -0.060800131410360336, 0.03216894716024399, -0.071783646941185, -0.03356759622693062, -0.037413883954286575, 0.05430052429437637, 0.057097822427749634, -0.008222210220992565, 0.0501457117497921, -0.06129377335309982, -0.021288273856043816, 0.0020529814064502716, -0.00789311621338129, 0.020414117723703384, 0.03186041861772537, 0.0006408335757441819, -0.027150262147188187, 0.008623293600976467, 0.03663228452205658, -0.011538861319422722, -0.033793848007917404, 0.012844953685998917, -0.004491619765758514, -0.06972680985927582, 0.02480546571314335, -0.015076622366905212, -0.0028384365141391754, -0.04401633143424988, -0.03309452161192894, 0.0040648262947797775, 0.04854137822985649, 0.038257185369729996, 0.0040648262947797775, -0.03692024201154709, 0.027170829474925995 ]
40,972
pyglove.core.object_utils.value_location
__add__
Concatenates a KeyPath equivalent object. Args: other: Object to add, which can be None, int (as a 1-level KeyPath), string (parsed as a KeyPath), a KeyPath object, or any other object as a single key. Returns: Newly concatenated KeyPath. Raises: ValueError: If other is a string that cannot be parsed into a KeyPath.
def __add__(self, other: Any) -> 'KeyPath': """Concatenates a KeyPath equivalent object. Args: other: Object to add, which can be None, int (as a 1-level KeyPath), string (parsed as a KeyPath), a KeyPath object, or any other object as a single key. Returns: Newly concatenated KeyPath. Raises: ValueError: If other is a string that cannot be parsed into a KeyPath. """ if other is None: return self if isinstance(other, str): other = KeyPath.parse(other) elif not isinstance(other, KeyPath): other = KeyPath(other) assert isinstance(other, KeyPath) return KeyPath(other.keys, self)
(self, other: Any) -> pyglove.core.object_utils.value_location.KeyPath
[ -0.07164748758077621, -0.04377482458949089, -0.03394567221403122, 0.037034835666418076, -0.007564935367554426, -0.051181793212890625, -0.0037210355512797832, 0.04837346449494362, 0.07743966579437256, -0.0332786962389946, 0.022835223004221916, -0.03394567221403122, 0.037982646375894547, 0.06725947558879852, -0.019395019859075546, 0.012716463766992092, 0.03843899816274643, -0.004936515353620052, -0.01953543722629547, -0.012839327566325665, -0.015621328726410866, -0.0019384050974622369, 0.05097116529941559, 0.017683696001768112, -0.00830650981515646, 0.0665924921631813, 0.024502668529748917, 0.025608448311686516, 0.005221736151725054, -0.024836156517267227, 0.011531700380146503, -0.05198918655514717, -0.0183067936450243, -0.013813466764986515, -0.007700963877141476, 0.005857998039573431, -0.03654337674379349, 0.02241397462785244, 0.015156199224293232, -0.0013175010681152344, 0.05946636199951172, 0.04180899262428284, -0.01979871839284897, -0.0432833656668663, 0.04693419486284256, 0.03879003971815109, -0.06259062886238098, 0.04531940445303917, 0.021501267328858376, 0.013453650288283825, 0.01337466575205326, -0.03917618468403816, -0.01807861588895321, -0.005485017318278551, -0.04693419486284256, 0.0021051496732980013, 0.016130337491631508, 0.015340495854616165, -0.0593610480427742, 0.027872662991285324, -0.004458222072571516, -0.030259741470217705, 0.002643778221681714, 0.03247130289673805, -0.019552988931536674, -0.040861181914806366, -0.07786091417074203, -0.007810664363205433, 0.016885075718164444, 0.032699476927518845, -0.021711891517043114, -0.01897377148270607, -0.039632540196180344, -0.02818859927356243, -0.019342364743351936, 0.003604753175750375, -0.027820006012916565, 0.04465242847800255, 0.03317338228225708, -0.0188684593886137, -0.017165908589959145, -0.04475773870944977, -0.09035797417163849, -0.04089628905057907, 0.006897957529872656, 0.07062947005033493, -0.036192335188388824, -0.07287613302469254, -0.02108001708984375, 0.01362039428204298, -0.03791243955492973, -0.014743725769221783, -0.04868939891457558, 0.006498648319393396, 0.05448157712817192, -0.04619700834155083, 0.001403067377395928, -0.0626959428191185, 0.024713292717933655, 0.013988987542688847, 0.01697283610701561, -0.0307863038033247, 0.041142016649246216, 0.01740286312997341, 0.015270287171006203, -0.062450211495161057, 0.004883859306573868, -0.022729910910129547, 0.018113721162080765, 0.03545514866709709, -0.01678854040801525, 0.010934930294752121, 0.005129587836563587, 0.006485484074801207, -0.02657381072640419, 0.036087024956941605, 0.026047248393297195, -0.004295865539461374, 0.0521647073328495, -0.019500331953167915, 0.024783501401543617, 0.03205005079507828, -0.0053928690031170845, 0.0765971690416336, 0.007038373965770006, 0.019430125132203102, 0.00034857282298617065, -0.02079918421804905, -0.014998231083154678, -0.07449091970920563, 0.028925785794854164, 0.03566577658057213, -0.02585417591035366, -0.0027710306458175182, 0.06452134996652603, 0.021343298256397247, 0.022536838427186012, 0.02701261267066002, -0.016244426369667053, 0.06420541554689407, 0.030874064192175865, -0.025432927533984184, 0.04647783935070038, -0.0065688565373420715, -0.054060328751802444, 0.005498181097209454, -0.03217291459441185, 0.009337693452835083, -0.01555989682674408, 0.01589338481426239, -0.05188387259840965, 0.0335770808160305, 0.028434328734874725, 0.02164168283343315, 0.02146616205573082, -0.020448144525289536, -0.029820941388607025, -0.0004785677301697433, 0.04626721516251564, -0.022045381367206573, 0.027328548952937126, -0.010750633664429188, 0.036087024956941605, -0.030874064192175865, 0.008960324339568615, -0.013243025168776512, 0.03850920870900154, 0.012453182600438595, -0.011268419213593006, 0.009170948527753353, 0.041142016649246216, -0.06971675902605057, -0.011514147743582726, 0.035314735025167465, -0.029382139444351196, -0.04732033982872963, -0.02852208912372589, 0.0577111542224884, -0.016060130670666695, -0.047250133007764816, 0.06476708501577377, 0.01059266459196806, -0.01864028163254261, 0.029031097888946533, 0.040685661137104034, -0.003530157031491399, -0.00012649821292143315, 0.06455645710229874, 0.04595128074288368, 0.017244894057512283, 0.005344600882381201, 0.032874997705221176, 0.015182527713477612, 0.05026908591389656, -0.014024091884493828, -0.045635342597961426, -0.008455702103674412, -0.024783501401543617, -0.022782567888498306, 0.16049598157405853, -0.07498237490653992, 0.0067575410939753056, 0.004747830796986818, -0.014190835878252983, 0.041528161615133286, -0.04872450232505798, 0.008403046056628227, 0.03721035644412041, -0.03654337674379349, 0.024537771940231323, 0.022940535098314285, -0.032155364751815796, -0.005511345341801643, 0.008758475072681904, -0.011601908132433891, 0.017297549173235893, -0.044301386922597885, 0.013585289940237999, -0.0075561595149338245, -0.00401283847168088, 0.09962546080350876, 0.048233047127723694, 0.0782119557261467, 0.00038641944411210716, 0.009873030707240105, -0.0466182567179203, -0.027609381824731827, -0.013637946918606758, -0.009241157211363316, -0.010329384356737137, 0.07115603238344193, -0.01874559372663498, -0.02706526778638363, -0.021237986162304878, 0.041633475571870804, 0.006661004852503538, 0.012242558412253857, -0.037420980632305145, 0.04475773870944977, -0.030171982944011688, -0.004699562676250935, -0.006020354572683573, -0.04089628905057907, -0.0332786962389946, -0.0382634773850441, 0.013673050329089165, 0.02495902217924595, -0.013673050329089165, 0.0155335683375597, 0.0068321372382342815, 0.0660308301448822, 0.0174818467348814, -0.001579684903845191, 0.0036398572847247124, -0.061818335205316544, 0.015164975076913834, -0.03784222900867462, -0.035981711000204086, 0.0030803855042904615, 0.0007569323643110693, -0.0010657388484105468, 0.04117712005972862, -0.015208855271339417, 0.013392217457294464, -0.05279657989740372, -0.019781164824962616, 0.022150693461298943, 0.01089982595294714, -0.016569139435887337, -0.008227525278925896, -0.008876951411366463, -0.017832888290286064, -0.013295681215822697, 0.011233314871788025, 0.0067268251441419125, 0.02906620316207409, -0.01134740374982357, 0.06518833339214325, -0.049742523580789566, -0.017236117273569107, -0.008714594878256321, -0.014015316031873226, -0.01879825070500374, -0.04977762699127197, -0.022098036482930183, 0.037034835666418076, -0.008030065335333347, -0.05153283104300499, -0.03280479088425636, -0.030821407213807106, 0.06862853467464447, 0.026064801961183548, 0.0015412898501381278, 0.054235849529504776, 0.04377482458949089, 0.0021621936466544867, -0.04300253465771675, -0.06971675902605057, 0.04556513577699661, 0.015673985704779625, 0.01979871839284897, 0.05686865746974945, 0.015068438835442066, -0.022168245166540146, -0.022291108965873718, -0.04212493076920509, 0.03900066390633583, 0.03738587722182274, 0.011461491696536541, 0.05079564452171326, -0.07694821059703827, 0.01794697530567646, -0.03612212836742401, 0.03921129181981087, 0.030856512486934662, 0.033928122371435165, -0.0013021430931985378, -0.0023563632275909185, -0.01825413666665554, 0.038193270564079285, -0.033840361982584, 0.011645788326859474, -0.08038841187953949, -0.02613500878214836, 0.027223236858844757, -0.016261978074908257, 0.04128243401646614, -0.013637946918606758, 0.03566577658057213, 0.019904030486941338, 0.002045911271125078, -0.0055420612916350365, -0.0031681458931416273, 0.044863052666187286, -0.040861181914806366, -0.02002689428627491, 0.06006313115358353, -0.0038241539150476456, -0.047952212393283844, 0.030856512486934662, 0.051673248410224915, -0.013637946918606758, -0.01389245130121708, -0.021676788106560707, 0.003789049806073308, -0.06592551618814468, 0.039141081273555756, -0.0017650785157456994, 0.03801774978637695, 0.010364488698542118, -0.06504791229963303, -0.031084688380360603, -0.0014930216129869223, -0.053288038820028305, 0.05620167776942253, 0.036578480154275894, -0.05995781719684601, 0.021097570657730103, 0.036192335188388824, -0.04721502587199211, 0.0860050693154335, 0.005818506237119436, -0.026784434914588928, -0.002637196332216263, -0.06290656328201294, 0.002242275048047304, 0.003606947138905525, -0.006288023665547371, -0.02562600001692772, -0.023274024948477745, 0.007472787518054247, -0.02639828994870186, 0.057676050812006, 0.015314167365431786, 0.02218579687178135, 0.044301386922597885, 0.03749118745326996, 0.04953189939260483, -0.03959743678569794, 0.013348337262868881, 0.013997763395309448, 0.04001868516206741, -0.0033765765838325024, 0.07835236936807632, 0.014673518016934395, 0.03893045708537102, 0.061502400785684586, -0.04184409976005554, 0.05170835182070732, 0.04409076273441315, 0.016621796414256096, -0.010750633664429188, 0.06796155869960785, -0.004412147682160139, -0.044582217931747437, -0.038193270564079285, 0.009214828722178936, -0.03728056326508522, -0.05040949955582619, 0.012365422211587429, 0.07259529829025269, -0.02873271331191063, -0.006836525164544582, 0.04300253465771675, 0.04001868516206741, 0.0018813608912751079, 0.0069067333824932575, 0.0045854742638766766, -0.03738587722182274, 0.029276827350258827, -0.04858408868312836, -0.06497770547866821, -0.01597237028181553, 0.007033986039459705, -0.010197743773460388, -0.019166843965649605, -0.028329016640782356, -0.011830084957182407, 0.007758008316159248, 0.05335824564099312, -0.034156300127506256, 0.011373731307685375, -0.08698797971010208, 0.01333956141024828, 0.011584356427192688, -0.013558962382376194, -0.0035586790181696415, 0.0032186079770326614, 0.007161238230764866, 0.0005268359091132879, -0.01935991644859314, 0.007196342572569847, 0.04198451340198517, 0.0001667445176281035, -0.03127776086330414, 0.0065381405875086784, 0.06908489018678665, -0.07926508039236069, 0.04595128074288368, -0.001372351311147213, -0.03152348846197128, -0.04739054664969444, -0.030084222555160522, 0.03519187122583389, -0.045845966786146164, -0.07596529275178909, -0.027030164375901222, 0.015963593497872353, 0.04654804989695549, -0.006059846840798855, 0.06508301943540573, -0.029557660222053528, 0.004690786823630333, 0.021044913679361343, 0.02380058541893959, -0.012067037634551525, 0.05227001756429672, -0.02767959050834179, -0.021676788106560707, 0.04187920317053795, -0.05346355959773064, 0.06346823275089264, 0.0765971690416336, 0.010996362194418907, -0.04816283658146858, 0.036578480154275894, 0.026889747008681297, 0.0432833656668663, 0.0041335090063512325, -0.0049672313034534454, -0.02501167729496956, -0.04630231857299805, -0.05785157158970833, 0.002863178960978985, 0.027925318107008934, 0.018657833337783813, 0.05230512470006943, -0.0015259317588061094, -0.05904511362314224, -0.040299516171216965, -0.0033129502553492785, -0.06617124378681183, -0.0007574808550998569, -0.01835944876074791, 0.02580152079463005, 0.03417384997010231, 0.011856412515044212, 0.01925460435450077, 0.022817671298980713, 0.02852208912372589, 0.02613500878214836, 0.04265149310231209, -0.07575466483831406, 0.001060253824107349, 0.027117924764752388, 0.019570540636777878, -0.02169433981180191, -0.004940903279930353, -0.016104010865092278, 0.036087024956941605, -0.008565402589738369, -0.023783033713698387, -0.0014886336866766214, 0.034366924315690994, 0.02868005819618702, 0.06388948112726212, -0.05925573781132698, 0.015717865899205208, -0.03194474056363106, -0.013032400980591774, -0.006560080219060183, -0.02462553232908249, 0.019289707764983177, 0.019552988931536674, 0.02673177979886532, 0.01750817522406578, -0.027328548952937126, 0.013936331495642662, -0.01958809234201908, -0.019377468153834343, -0.013637946918606758, 0.03879003971815109, -0.002019583247601986, -0.08523277938365936, -0.024537771940231323, -0.013032400980591774, -0.050514813512563705, -0.03373504802584648, -0.007310430984944105, 0.04475773870944977, -0.03840389475226402, 0.06374906003475189, 0.010425920598208904, 0.05848344787955284, -0.022782567888498306, 0.08038841187953949, -0.04321315884590149, 0.023625066503882408, -0.00939912535250187, -0.027504069730639458, 0.030470367521047592, 0.007731680292636156, 0.014392685145139694, -0.035929057747125626, 0.003916302230209112, 0.0643458291888237, 0.0013207921292632818, 0.00163672911003232, 0.010162639431655407, -0.0199742391705513, -0.04538961499929428, 0.003802213817834854, 0.015410703606903553, 0.07617592066526413, 0.032260674983263016, -0.03262927010655403, -0.009223604574799538, -0.043739721179008484, -0.02778490260243416, 0.02318626455962658, 0.004567922092974186, -0.0004917318001389503, 0.01115433033555746, 0.015595000237226486, -0.01555989682674408, -0.013839795254170895, -0.05248064175248146, -0.014884142205119133, 0.03227822855114937, 0.024555323645472527, -0.027556726709008217, -0.023396888747811317, -0.028469432145357132, -0.05114668607711792, -0.07185811549425125, 0.012374198995530605, -0.060659900307655334, 0.039246395230293274, -0.04816283658146858, -0.0007344437763094902, -0.05718459561467171, 0.08298611640930176, 0.04138774424791336, 0.001391000347211957, 0.034928590059280396, -0.01434002909809351, 0.03517431765794754, 0.01270768791437149, -0.03557801619172096, -0.017938200384378433, -0.06754030287265778, -0.02724078856408596, 0.004350715782493353, 0.008403046056628227, 0.014778830111026764, -0.056938864290714264, -0.006897957529872656, 0.028153495863080025, -0.006042294669896364, -0.05535918101668358, 0.02274746261537075, -0.03854431211948395, 0.03168145939707756, 0.07196342200040817, 0.0016147890128195286, 0.05370928719639778, -0.01115433033555746, 0.00251652579754591, -0.03291010111570358, -0.03420895338058472, 0.03173411637544632, 0.04503857344388962, 0.03140062466263771, 0.043142952024936676, -0.01563888043165207, -0.030874064192175865, -0.01389245130121708, -0.02667912282049656, -0.03766670823097229, 0.024643084034323692, -0.03710504248738289, 0.024397356435656548, -0.022835223004221916, 0.03477061912417412, -0.06894446909427643, -0.048233047127723694, 0.012242558412253857, -0.02580152079463005, 0.029224170371890068, -0.053393349051475525, -0.006459156051278114, -0.04791710898280144, 0.005085707642138004, -0.02957521192729473, -0.015243959613144398, -0.02613500878214836, 0.03280479088425636, 0.013585289940237999, 0.009837926365435123, 0.034858379513025284, -0.056938864290714264, 0.0158144012093544, -0.13711665570735931, 0.017288774251937866, -0.07399946451187134, 0.039351705461740494, -0.04342378303408623, -0.08804110437631607, 0.01958809234201908, -0.001964733237400651, -0.028100838884711266, -0.008065168745815754, -0.009916910901665688, -0.016727108508348465, 0.01699916459619999, 0.015595000237226486, 0.023431992158293724, -0.03699973225593567, -0.030329950153827667, 0.004620578605681658, 0.0002661604667082429, -0.05518366023898125, 0.037982646375894547, -0.00237830332480371, -0.05535918101668358, -0.008486418053507805, 0.025432927533984184, -0.05335824564099312, 0.04805752635002136, 0.015831952914595604, 0.006485484074801207, -0.08474131673574448, -0.039632540196180344, 0.022098036482930183, -0.01964074932038784, -0.021887412294745445, 0.01794697530567646, -0.010706753470003605, 0.030207086354494095, -0.051673248410224915, -0.023993657901883125, 0.0013745452743023634, -0.014103075489401817, -0.026328081265091896, -0.0466182567179203, 0.024888813495635986, 0.0715772807598114, 0.047566067427396774, 0.01337466575205326, -0.06943593174219131, 0.04405565559864044, -0.05388480797410011, 0.023976106196641922, 0.022396421059966087, -0.013699378818273544, 0.02051835134625435, 0.0032822343055158854, -0.0285747442394495, -0.036859314888715744, -0.017437966540455818, 0.012883207760751247, 0.06582020223140717, 0.0015445807948708534, -0.05792178213596344, -0.016323409974575043, -0.026328081265091896, 0.01853496953845024, -0.014103075489401817, 0.04798731580376625, -0.009425452910363674, -0.027977975085377693, 0.04686398431658745, 0.021115122362971306, -0.08516257256269455, 0.02534516714513302, 0.0013986793346703053, 0.04433649033308029, -0.0035477089695632458, -0.029171515256166458, 0.014717398211359978, 0.0037539456970989704, -0.002101858612149954, 0.08958568423986435, -0.017990855500102043, 0.019991790875792503, -0.007823828607797623, 0.040194205939769745, -0.04149305820465088, -0.027609381824731827, 0.01306750439107418, -0.009311364963650703, 0.04749586060643196, 0.040194205939769745, 0.012058261781930923, 0.04528430104255676, -0.015349271707236767, -0.027117924764752388, -0.007534219417721033, 0.04897023364901543, 0.09288547188043594, -0.009671182371675968, 0.032155364751815796, 0.041247326880693436, -0.021343298256397247, 0.02158902771770954, -0.0632576048374176, 0.03319093585014343, 0.044406697154045105, -0.026275426149368286, 0.025538239628076553, 0.011522923596203327, 0.030803855508565903, 0.040685661137104034, -0.01128597091883421, 0.019552988931536674, 0.011171882972121239, -0.04472263529896736, 0.015989921987056732, 0.04591617360711098, -0.021343298256397247, -0.04591617360711098, -0.02762693352997303, 0.02318626455962658, 0.019781164824962616, 0.06539895385503769, 0.006889181677252054, -0.02629297785460949, 0.03399832919239998 ]
40,973
pyglove.core.object_utils.value_location
__eq__
Equality check. Args: other: A string or a KeyPath. Returns: Whether JSON-path representation (either absolute or relative form) of current path equals to other.
def __eq__(self, other: Any) -> bool: """Equality check. Args: other: A string or a KeyPath. Returns: Whether JSON-path representation (either absolute or relative form) of current path equals to other. """ if isinstance(other, str): return self.path == other return isinstance(other, KeyPath) and self.keys == other.keys
(self, other: Any) -> bool
[ 0.041715092957019806, -0.04365287348628044, -0.04548495635390282, 0.03752244636416435, -0.026864660903811455, -0.04707041010260582, -0.01921924389898777, 0.046400994062423706, 0.0713454931974411, 0.0036817798390984535, 0.04093998298048973, -0.03486240282654762, 0.06902015954256058, 0.042631134390830994, -0.03329456225037575, -0.028767207637429237, 0.03051120974123478, 0.020276213064789772, 0.018038960173726082, -0.005901417229324579, -0.022548699751496315, 0.006478346884250641, 0.04308915510773659, 0.04604867100715637, 0.0036421434488147497, 0.038685113191604614, 0.03454531356692314, 0.013555644080042839, 0.05594896152615547, 0.03653594106435776, -0.044110894203186035, -0.058274295181035995, 0.05908463895320892, 0.05158014968037605, -0.001178081496618688, -0.01985342428088188, -0.0364302434027195, 0.044850774109363556, -0.0625021755695343, -0.06362961232662201, -0.01832081750035286, 0.06130427494645119, -0.030106037855148315, -0.022760093212127686, 0.02661803551018238, 0.022443002089858055, -0.09132223576307297, 0.038473717868328094, 0.03593698889017105, 0.028203491121530533, 0.007434024475514889, -0.04506216570734978, -0.038790810853242874, 0.0416446290910244, -0.020839931443333626, 0.008455762639641762, 0.03424583747982979, 0.052742816507816315, -0.06214985251426697, -0.013890351168811321, -0.029841793701052666, -0.04178555682301521, -0.0022053243592381477, -0.015053018927574158, -0.04231404513120651, -0.05425780639052391, -0.059859748929739, -0.012745300307869911, 0.009785783477127552, 0.028150642290711403, -0.05859138444066048, 0.0024684660602360964, -0.030158884823322296, 0.03243137151002884, -0.03611315041780472, 0.007099316921085119, -0.04728180542588234, 0.06997143477201462, 0.006293377373367548, -0.020998476073145866, -0.021174637600779533, -0.06944295018911362, -0.06214985251426697, -0.06532076001167297, -0.06838598102331161, 0.060353003442287445, -0.0023627690970897675, -0.018391283228993416, 0.03635977953672409, 0.03769860789179802, -0.03322409838438034, 0.005518265534192324, -0.024821186438202858, -0.021051324903964996, 0.04999469593167305, -0.01330901775509119, 0.0040781437419354916, -0.07095793634653091, -0.0010167834116145968, -0.0011048642918467522, 0.02235492132604122, -0.018725989386439323, 0.04865586385130882, 0.033999212086200714, 0.0033668908290565014, 0.02321811392903328, -0.014533341862261295, -0.02348235622048378, -0.009424651972949505, -0.02737553045153618, -0.06634250283241272, 0.049219582229852676, -0.03243137151002884, 0.03833279013633728, 0.02487403340637684, 0.020963244140148163, -0.01099249068647623, -0.045555420219898224, 0.027710238471627235, -0.02490926720201969, 0.05718209221959114, 0.07828626781702042, 0.036817796528339386, 0.049924228340387344, 0.07856812328100204, 0.012208006344735622, 0.010199762880802155, -0.0011098188115283847, -0.0551738478243351, -0.004472305532544851, 0.03611315041780472, 0.032713230699300766, -0.01514990720897913, 0.04840923845767975, 0.05859138444066048, 0.05485675856471062, -0.01525560487061739, 0.04516786336898804, 0.006764609832316637, 0.05291897803544998, 0.05915510281920433, -0.007196206133812666, 0.03266038000583649, -0.015625543892383575, -0.03301270678639412, 0.008993055671453476, -0.06500367075204849, -0.008777257055044174, 0.010349500924348831, 0.0006996922893449664, -0.012331319972872734, 0.012366551905870438, 0.03886127471923828, 0.018725989386439323, -0.008746429346501827, -0.03977731615304947, -0.04249020665884018, -0.004287335556000471, 0.016550393775105476, 0.013247360475361347, 0.006007114425301552, -0.052320029586553574, 0.05439873784780502, -0.036183614283800125, -0.00945107638835907, 0.0119789969176054, -0.017395969480276108, -0.028097793459892273, 0.0022702841088175774, 0.02214352786540985, 0.028203491121530533, -0.012392976321280003, -0.03928406164050102, -0.0213507991284132, -0.022002598270773888, -0.0021403648424893618, 0.0016449099639430642, 0.04456891492009163, -0.0077819437719881535, -0.008077014237642288, 0.016127604991197586, -0.040658123791217804, -0.015317261219024658, 0.05267235264182091, 0.057428717613220215, 0.004857659339904785, -0.002917678328230977, 0.0011593642411753535, 0.04763412848114967, 0.04689424857497215, -0.07744068652391434, 0.0351090282201767, 0.0038139012176543474, 0.02124510332942009, 0.005795720499008894, -0.06362961232662201, 0.048479702323675156, -0.06849167495965958, -0.010120490565896034, 0.1114751324057579, -0.05475106090307236, -0.05605465918779373, -0.01797730289399624, 0.004809214733541012, 0.006702953018248081, -0.030475975945591927, 0.04936051368713379, 0.02640664018690586, 0.047845520079135895, 0.03766337409615517, -0.06902015954256058, -0.0614452064037323, 0.012322511523962021, -0.026212863624095917, 0.03472147509455681, 0.05041748285293579, -0.03720535337924957, 0.007491277065128088, -0.02327096275985241, 0.028784824535250664, 0.1394496113061905, 0.043476711958646774, 0.02688227780163288, 0.014233866706490517, -0.009354187175631523, -0.010886793956160545, 0.003780870698392391, 0.038685113191604614, -0.028784824535250664, -0.037029191851615906, 0.04710564389824867, 0.00958319753408432, 0.04664762318134308, -0.00039911639760248363, 0.009354187175631523, -0.02193213254213333, 0.011582632549107075, -0.0056547909043729305, -0.0007288691122084856, -0.012410593219101429, 0.0244864784181118, -0.026494720950722694, -0.0076806508004665375, -0.034316301345825195, -0.007464852649718523, -0.05091073364019394, 0.025578681379556656, -0.002461859956383705, 0.018602676689624786, -0.023658517748117447, 0.03496810048818588, 0.006090791430324316, -0.026811812072992325, -0.006394670344889164, -0.0053376997821033, -0.006769014056771994, -0.03738151490688324, -0.01985342428088188, 0.05193247273564339, 0.028714358806610107, -0.02651233784854412, 0.03209666535258293, -0.01679701916873455, 0.030158884823322296, -0.050664108246564865, -0.03024696558713913, 0.021685507148504257, 0.025948621332645416, -0.010446389205753803, -0.026494720950722694, 0.00011787695984821767, -0.019553950056433678, -0.0066589126363396645, 0.02661803551018238, -0.022548699751496315, 0.021844051778316498, 0.011749986559152603, -0.015105866827070713, -0.044639378786087036, -0.02177358791232109, -0.01559911947697401, -0.007627802435308695, 0.03635977953672409, -0.05499768629670143, -0.03236090764403343, -0.030652137473225594, -0.010631359182298183, -0.048162613064050674, -0.0008075913647189736, -0.021068941801786423, 0.049325279891490936, -0.011450511403381824, -0.03204381465911865, 0.037029191851615906, 0.014868048951029778, 0.02695274166762829, -0.012014228850603104, -0.10534470528364182, 0.039213597774505615, 0.022654395550489426, 0.009006267413496971, 0.02693512663245201, 0.02987702749669552, -0.02822110615670681, 0.05084026977419853, 0.023077184334397316, -0.0021293547470122576, 0.04238450899720192, 0.02827395498752594, 0.05341223254799843, -0.03759291023015976, -0.0013322229497134686, -0.01458618976175785, 0.03805093094706535, 0.010323076508939266, 0.025578681379556656, 0.006104003172367811, -0.01205826923251152, -0.02571961097419262, 0.06317158788442612, -0.04259590432047844, 0.06021207571029663, -0.07095793634653091, -0.021791204810142517, -0.005214386619627476, -0.07222630083560944, 0.013282593339681625, 0.04537925869226456, 0.04939574375748634, 0.05073457211256027, 0.013397098518908024, -0.018673142418265343, 0.05947219580411911, 0.002999153221026063, 0.018708374351263046, -0.026124782860279083, -0.006821862421929836, -0.013194512575864792, 0.015123482793569565, 0.019923890009522438, 0.043688103556632996, -0.06126904487609863, 0.056900233030319214, -0.05041748285293579, -0.016973180696368217, -0.018012534826993942, -0.0018893344094976783, 0.03119823895394802, 0.018285585567355156, -0.007500085048377514, -0.09075851738452911, 0.026265712454915047, 0.035655129700899124, -0.038368020206689835, 0.0014269099337980151, 0.01863790862262249, -0.004373214673250914, 0.015317261219024658, -0.01256913784891367, -0.005716447718441486, 0.11795788258314133, -0.0014037886867299676, -0.04396996274590492, -0.0283796526491642, -0.040446728467941284, 0.0012397380778566003, 0.024398397654294968, -0.03977731615304947, -0.030158884823322296, -0.02129795216023922, -0.01964203082025051, -0.021526960656046867, 0.008535034954547882, -0.06909062713384628, -0.0045097400434315205, 0.00496335607022047, -0.025525832548737526, 0.029806561768054962, 0.005738467909395695, 0.006020326633006334, 0.05644221231341362, 0.03896697238087654, 0.0036245272494852543, 0.06609587371349335, 0.0011109198676422238, 0.011371239088475704, 0.0335940383374691, -0.044216591864824295, 0.014418836683034897, 0.042032185941934586, -0.023781832307577133, -0.023817064240574837, 0.027076056227087975, 0.0036927899345755577, -0.0448155403137207, -0.01682344451546669, 0.004274123813956976, 0.007464852649718523, -0.06775179505348206, 0.024662639945745468, 0.03595460578799248, 0.01884930394589901, -0.01690271683037281, 0.024627408012747765, 0.0351090282201767, 0.026019085198640823, 0.04414612427353859, 0.02503257989883423, -0.04351194202899933, 0.03334741294384003, -0.04051719605922699, -0.06972480565309525, -0.009230873547494411, -0.0007707074983045459, -0.01727265678346157, -0.007050872780382633, -0.018250353634357452, -0.03829755634069443, 0.03893173858523369, 0.03861464932560921, -0.0473874993622303, 0.035531818866729736, -0.03988301381468773, -0.020364293828606606, 0.028414884582161903, -0.04643622785806656, -0.02219637669622898, 0.019236858934164047, 0.03392874449491501, 0.017818758264183998, -0.01658562570810318, -0.02742837928235531, 0.03066975437104702, -0.0004649017646443099, 0.008077014237642288, 0.041186608374118805, 0.01496493723243475, -0.0854031965136528, 0.04189125448465347, -0.00040544720832258463, -0.04770459234714508, -0.030335046350955963, -0.025578681379556656, 0.009169217199087143, -0.04699994623661041, -0.04865586385130882, -0.00441725505515933, 0.04967760294675827, 0.07560861110687256, 0.023130033165216446, -0.018338434398174286, 0.02374659851193428, -0.0634886845946312, -0.06546169519424438, -0.03162102773785591, -0.03295985609292984, 0.025067811831831932, 0.029859410598874092, -0.0036421434488147497, 0.02284817397594452, -0.04714087396860123, 0.023077184334397316, 0.021209869533777237, -0.01658562570810318, -0.0033162443432956934, 0.012357744388282299, -0.01160905696451664, 0.06288973242044449, 0.022284457460045815, 0.0239579938352108, -0.01740477792918682, -0.029137147590517998, -0.08244368433952332, 0.04636576399207115, -0.0018210717244073749, 0.01109818834811449, 0.04872633144259453, 0.020839931443333626, -0.08152764290571213, -0.005491841584444046, -0.04573158174753189, -0.05228479579091072, -0.020857546478509903, -0.028661511838436127, 0.042032185941934586, -0.073917455971241, -0.01800372637808323, 0.008786065503954887, 0.012331319972872734, -0.016973180696368217, 0.028080176562070847, -0.008411722257733345, -0.08145717531442642, 0.031761955469846725, 0.054927222430706024, -0.020910395309329033, -0.013520411215722561, 0.037874769419431686, -0.036500707268714905, 0.01091321837157011, 0.007116933353245258, 0.027234600856900215, 0.015775281935930252, 0.05179154500365257, 0.0023825871758162975, 0.030176501721143723, -0.016735363751649857, -0.04330055043101311, -0.027181752026081085, 0.013000734150409698, 0.009997176937758923, 0.002268081996589899, 0.03380543366074562, -0.001705465605482459, 0.050029926002025604, 0.060670092701911926, -0.040341030806303024, -0.030106037855148315, -0.0007729094941169024, -0.00580452848225832, -0.024292699992656708, -0.01743120141327381, 0.030335046350955963, -0.08357111364603043, -0.037134889513254166, -0.020734233781695366, -0.027551691979169846, 0.0062537407502532005, 0.024891650304198265, -0.00769386300817132, -0.03843848779797554, 0.018514595925807953, 0.011256733909249306, 0.043793801218271255, -0.0038249113131314516, 0.09731172770261765, -0.027992095798254013, 0.015264412388205528, 0.007993337698280811, 0.024609791114926338, 0.001740697887726128, 0.01706126146018505, -0.0016713342629373074, -0.03606030344963074, -0.007861216552555561, 0.044427983462810516, 0.010340692475438118, 0.005734063684940338, 0.04573158174753189, 0.0421731136739254, 0.011943764053285122, -0.01387273520231247, 0.06341821700334549, 0.018391283228993416, -0.013960815966129303, 0.0036773758474737406, 0.0019069506088271737, -0.027058439329266548, 0.03142724931240082, 0.01869075745344162, 0.012102309614419937, 0.006517983507364988, 0.0017451019957661629, 0.02268962934613228, -0.009116368368268013, -0.03614838421344757, -0.012392976321280003, 0.015625543892383575, 0.053271301090717316, 0.0515449158847332, -0.011811642907559872, 0.01679701916873455, -0.007636610418558121, -0.06165660172700882, 0.004840042907744646, -0.017440009862184525, -0.0359017588198185, 0.02219637669622898, -0.02938377484679222, -0.026441873982548714, 0.013934391550719738, 0.056089889258146286, 0.06218508630990982, 0.02098086103796959, 0.0213507991284132, -0.033682119101285934, 0.023499973118305206, 0.03401682525873184, -0.0018585061188787222, -0.025790074840188026, -0.07127503305673599, -0.0015248998533934355, 0.008684772066771984, -0.024785952642560005, 0.03188527002930641, -0.030951613560318947, 0.02698797546327114, -0.035390887409448624, 0.013282593339681625, -0.06225555017590523, 0.0034835978876799345, -0.04425182193517685, -0.013229744508862495, -0.01906069740653038, 0.011908532120287418, 0.013097623363137245, -0.0008874146151356399, 0.0005430735182017088, -0.00008684222120791674, 0.0008241065079346299, 0.05341223254799843, 0.03977731615304947, 0.04020010307431221, -0.015317261219024658, 0.03924883157014847, 0.008513014763593674, -0.022830558940768242, 0.001969708129763603, -0.08343018591403961, 0.024151770398020744, -0.006460730917751789, -0.0015050816582515836, 0.0007784146000631154, 0.006522387266159058, -0.08843318372964859, -0.033153634518384933, 0.020593304187059402, 0.0010079753119498491, -0.010772288776934147, -0.07927276939153671, 0.01469188742339611, -0.07356513291597366, 0.0050558410584926605, -0.0317443422973156, 0.004296144004911184, -0.08406437188386917, -0.006707357242703438, -0.01477115973830223, 0.01779233291745186, 0.06683575361967087, -0.032290443778038025, -0.000999717740342021, -0.10337169468402863, 0.06327728927135468, -0.10611981898546219, 0.03769860789179802, 0.0074780648574233055, -0.06193845719099045, 0.043476711958646774, -0.005734063684940338, -0.03283654525876045, 0.040446728467941284, -0.01477115973830223, -0.005963074043393135, -0.02469787187874317, 0.0021943142637610435, 0.013538028113543987, -0.029753712937235832, -0.022319689393043518, -0.007614590227603912, 0.030599290505051613, -0.028626278042793274, -0.01568720117211342, -0.00934537872672081, 0.008786065503954887, -0.022319689393043518, 0.029436621814966202, -0.05926080048084259, 0.04470984265208244, 0.03875557705760002, -0.021051324903964996, -0.037346284836530685, -0.022865790873765945, -0.033417876809835434, -0.027463611215353012, -0.013978431932628155, 0.029366157948970795, -0.010243803262710571, 0.028820056468248367, -0.03606030344963074, -0.06327728927135468, -0.0032920220401138067, -0.03699396178126335, 0.035161878913640976, -0.004360002465546131, 0.06577878445386887, 0.04354717582464218, 0.035637516528367996, 0.020910395309329033, -0.03163864463567734, 0.02753407508134842, -0.08624877780675888, -0.0031334764789789915, 0.03162102773785591, 0.015458190813660622, -0.016356615349650383, -0.027974480763077736, 0.03035266324877739, -0.045872509479522705, 0.002754728775471449, 0.014471684582531452, 0.01256913784891367, 0.03914313390851021, -0.043899498879909515, 0.017818758264183998, -0.01589859463274479, -0.03903743624687195, 0.010323076508939266, 0.03819185867905617, 0.0009353085770271719, -0.05281328037381172, 0.037980467081069946, 0.03970684856176376, -0.1009758934378624, 0.016356615349650383, 0.0014423240208998322, 0.001801253529265523, -0.021861668676137924, 0.00934537872672081, -0.009785783477127552, -0.03408729285001755, -0.020223364233970642, 0.0000747999147279188, -0.009407036006450653, 0.015026594512164593, 0.014101745560765266, 0.03262514993548393, -0.027234600856900215, -0.009063520468771458, 0.024257468059659004, -0.02961278334259987, 0.07758162170648575, 0.018444132059812546, 0.017026029527187347, -0.010243803262710571, -0.017466433346271515, -0.031339168548583984, -0.03303031995892525, 0.05947219580411911, 0.10992491245269775, 0.03928406164050102, 0.03392874449491501, 0.04030580073595047, -0.03812139481306076, 0.005232003051787615, -0.03327694907784462, -0.002261475892737508, 0.03903743624687195, -0.02540251985192299, -0.019342556595802307, 0.035760827362537384, 0.014101745560765266, 0.020223364233970642, -0.016629666090011597, 0.00953034870326519, 0.05147445201873779, -0.06947817653417587, 0.002715092385187745, 0.04728180542588234, 0.02066376991569996, -0.062431711703538895, 0.012657219544053078, -0.014418836683034897, 0.028097793459892273, 0.02251346781849861, 0.007588165812194347, -0.027040822431445122, 0.04611913859844208 ]
40,974
pyglove.core.object_utils.value_location
__ge__
null
def __ge__(self, other: Any) -> bool: return self._compare(other, operator.ge)
(self, other: Any) -> bool
[ 0.0442718006670475, -0.016841787844896317, -0.010948018170893192, 0.05468869209289551, -0.046533361077308655, -0.06280975788831711, -0.04663616046309471, 0.004004850052297115, 0.008052533492445946, -0.05307818576693535, 0.021227847784757614, -0.05280405655503273, 0.05211873725056648, -0.02299255132675171, -0.042250100523233414, -0.01098228432238102, -0.05674465745687485, 0.016661889851093292, 0.022478559985756874, 0.004381777253001928, -0.04303821921348572, 0.008480858989059925, 0.007371494546532631, 0.01888062059879303, 0.042695559561252594, 0.08333515375852585, 0.0035336914006620646, 0.00756424106657505, -0.012738422490656376, 0.03861789405345917, -0.06846366822719574, -0.03745284676551819, 0.018400894477963448, -0.022084500640630722, 0.04882919043302536, -0.03291258588433266, -0.020696723833680153, 0.025699574500322342, -0.04252422973513603, -0.014451727271080017, -0.0017379337223246694, -0.0464990958571434, -0.005958017893135548, 0.0032167299650609493, -0.003730721538886428, -0.032689858227968216, -0.029571643099188805, -0.009243279695510864, 0.01122214738279581, 0.024603059515357018, -0.002035620389506221, -0.05619640275835991, 0.032689858227968216, 0.03508848324418068, -0.10252416878938675, 0.048726391047239304, 0.011470576748251915, 0.05856076255440712, -0.05503135547041893, 0.036219265311956406, -0.04739001393318176, -0.014760121703147888, -0.004347511101514101, -0.05941741541028023, -0.008288112469017506, -0.027618475258350372, -0.07750991731882095, 0.005418326705694199, -0.008527975529432297, 0.05040543153882027, -0.07428890466690063, 0.014177598059177399, -0.0024414595682173967, 0.01615646481513977, -0.07141055166721344, 0.03190173953771591, -0.03400910273194313, 0.04612216725945473, 0.009491709060966969, -0.024243265390396118, 0.02705308422446251, -0.05235859751701355, 0.030599625781178474, -0.010750988498330116, -0.03279265761375427, 0.01198456808924675, -0.01323528029024601, 0.010099932551383972, 0.05283832550048828, 0.012001700699329376, -0.04663616046309471, 0.07257559895515442, 0.023814938962459564, -0.04231863096356392, 0.0648999884724617, 0.0376584418118, -0.002372927265241742, 0.010211297310888767, 0.02074812352657318, 0.016893185675144196, 0.0642489343881607, 0.03690458834171295, 0.05503135547041893, -0.020251264795660973, 0.038309499621391296, 0.00878925435245037, 0.00592375174164772, -0.05225580185651779, -0.02905765175819397, 0.0026534809730947018, -0.04290115460753441, 0.0014937877422198653, -0.02775553986430168, 0.007512842305004597, -0.014357495121657848, 0.018041100353002548, 0.016284963116049767, -0.000800434616394341, 0.02647056058049202, -0.004026266746222973, 0.011479143053293228, 0.03803537040948868, 0.0472186841070652, 0.030239831656217575, 0.01640489511191845, -0.004276837222278118, 0.013141049072146416, 0.00079079729039222, -0.056710392236709595, 0.0021951720118522644, 0.07353504747152328, 0.006561957765370607, -0.0015462576411664486, 0.04115358367562294, 0.0354311466217041, -0.008031116798520088, 0.02811533398926258, 0.049206119030714035, 0.04780120775103569, -0.006334945093840361, 0.004651622846722603, -0.017090216279029846, 0.052015937864780426, -0.009183314628899097, -0.03370070829987526, 0.023729274049401283, -0.07202734053134918, 0.05811530351638794, -0.021570509299635887, 0.039611611515283585, -0.011684739962220192, 0.020868053659796715, 0.054517362266778946, -0.013158181682229042, -0.019394611939787865, -0.01888062059879303, -0.027378613129258156, -0.0376584418118, -0.005585373844951391, 0.020868053659796715, 0.01888062059879303, 0.0449913889169693, 0.0009792608907446265, -0.00630496209487319, -0.0025999401696026325, -0.027481410652399063, -0.046978820115327835, -0.00528982887044549, -0.014511692337691784, 0.04111931845545769, 0.03697311878204346, -0.025990836322307587, -0.03395770490169525, 0.020508259534835815, -0.014100499451160431, 0.035465411841869354, 0.01084521971642971, 0.07483715564012527, -0.003203880274668336, 0.0058209532871842384, 0.020199865102767944, -0.02280408889055252, -0.05345511436462402, 0.003957734443247318, 0.05438029766082764, -0.02205023355782032, -0.00007596098294015974, -0.012498559430241585, -0.009346078149974346, 0.04619070142507553, -0.061884574592113495, -0.05314671993255615, 0.0005402264650911093, -0.01021986361593008, 0.01359507441520691, 0.001155409961938858, -0.024740122258663177, -0.008022550493478775, 0.04533404856920242, 0.07682459056377411, -0.03875495865941048, -0.03047969378530979, -0.009226147085428238, -0.04975437372922897, 0.03539688140153885, -0.04190743714570999, -0.028817789629101753, -0.03419756516814232, 0.04598510265350342, -0.06428319960832596, -0.02557964250445366, -0.02222156524658203, -0.024517392739653587, 0.03957734256982803, 0.04776694253087044, 0.022461427375674248, 0.017261547967791557, -0.04930891469120979, -0.015479709953069687, 0.015505409799516201, 0.08312955498695374, -0.0428326241672039, 0.003908476792275906, -0.017193015664815903, 0.040057070553302765, 0.01937747932970524, -0.01184750348329544, 0.027515677735209465, -0.020679591223597527, -0.01896628551185131, 0.04547111317515373, 0.0007849078392609954, 0.04290115460753441, -0.03717871755361557, -0.036493394523859024, 0.00932894553989172, -0.028817789629101753, 0.08278689533472061, -0.06990283727645874, 0.026796089485287666, 0.0368703231215477, 0.012986850924789906, 0.004114073235541582, 0.00484436983242631, 0.010408326983451843, -0.09765838086605072, -0.012095932848751545, 0.036664724349975586, 0.042250100523233414, 0.04605363681912422, -0.03190173953771591, -0.06191883981227875, -0.020062800496816635, -0.01194173563271761, -0.025151316076517105, -0.012155898846685886, -0.038549359887838364, -0.06058246269822121, 0.04694455489516258, 0.02588803693652153, 0.000019073902876698412, 0.042250100523233414, -0.020696723833680153, 0.029211848974227905, -0.0406053252518177, 0.019000550732016563, 0.031010819599032402, 0.003784262342378497, 0.03601367026567459, 0.017441444098949432, 0.023061083629727364, -0.07730431854724884, -0.0015077083371579647, 0.02641916275024414, -0.019754406064748764, 0.006467726081609726, 0.039611611515283585, -0.030154166743159294, -0.04776694253087044, -0.03125068172812462, 0.001135064521804452, 0.0038249532226473093, -0.04632776603102684, -0.046533361077308655, -0.07552248239517212, 0.018058234825730324, -0.038309499621391296, -0.052598461508750916, -0.02235862985253334, -0.06280975788831711, 0.04262702539563179, -0.02169043943285942, 0.027824072167277336, 0.0007816953584551811, 0.043723542243242264, -0.013509409502148628, 0.05585373938083649, -0.03183320537209511, 0.058766357600688934, 0.036664724349975586, 0.03755564242601395, -0.01896628551185131, 0.00732009531930089, -0.04087945446372032, 0.020508259534835815, 0.00233223638497293, 0.001874998095445335, 0.0324842631816864, -0.010725288651883602, 0.02302681840956211, -0.0017593499505892396, 0.012601357884705067, -0.015154181979596615, 0.001692959456704557, -0.006437743082642555, 0.04379207268357277, 0.020987985655665398, -0.0273100808262825, -0.02602510154247284, 0.03810390084981918, -0.009063382633030415, 0.046670425683259964, -0.02205023355782032, 0.0006740784156136215, -0.05043969675898552, -0.07771550863981247, -0.04272982478141785, 0.02905765175819397, 0.006724721752107143, 0.032775525003671646, 0.007093082182109356, -0.02455165982246399, 0.12328942120075226, 0.011521975509822369, 0.04732148349285126, 0.03323811665177345, 0.05105648562312126, 0.03700738772749901, -0.007165897637605667, -0.013920602388679981, -0.015633907169103622, 0.011042250320315361, 0.030719557777047157, -0.02638489566743374, -0.010511125437915325, -0.004861502908170223, -0.06263842433691025, 0.018366629257798195, 0.05359217897057533, -0.01960020884871483, -0.04039973020553589, -0.018315229564905167, 0.03652765974402428, -0.014177598059177399, 0.013774971477687359, -0.014768688008189201, 0.0024907169863581657, 0.006643339991569519, 0.0016169315204024315, 0.004368927329778671, 0.04612216725945473, -0.026659024879336357, -0.012549958191812038, 0.0010692093055695295, -0.07757844775915146, 0.014974284917116165, 0.006133631803095341, -0.028954852372407913, -0.08641909807920456, 0.00831381231546402, -0.028989119455218315, -0.025870904326438904, 0.02624783106148243, -0.02628209814429283, -0.014383194968104362, -0.022598491981625557, -0.0679154098033905, 0.04029693081974983, -0.019034817814826965, -0.003895627101883292, 0.08436313271522522, 0.04194170609116554, -0.006771837826818228, 0.00043020016164518893, 0.018555091693997383, -0.017732705920934677, -0.004263987764716148, -0.011898902244865894, 0.029246114194393158, 0.022786956280469894, -0.007020266726613045, -0.05321525037288666, -0.050062768161296844, 0.018914885818958282, -0.07572808116674423, -0.010819520801305771, 0.003113931743428111, -0.020696723833680153, -0.0493774488568306, -0.03954307734966278, 0.035773806273937225, 0.06366641074419022, -0.00937177799642086, 0.002544257789850235, 0.020251264795660973, 0.02213590033352375, 0.0361507348716259, 0.05061102658510208, -0.044477395713329315, 0.08518552035093307, -0.07737284898757935, -0.00531124509871006, -0.037384312599897385, 0.012841220013797283, -0.047424279153347015, -0.017784105613827705, 0.031165016815066338, -0.003972725942730904, 0.06390627473592758, -0.020816653966903687, 0.014468859881162643, -0.014246130362153053, -0.007902618497610092, -0.0328097902238369, 0.0006515912828035653, -0.034968554973602295, 0.0004757098213303834, -0.007011700421571732, -0.030496828258037567, 0.005709588527679443, -0.041975971311330795, -0.0026727556250989437, 0.04029693081974983, 0.012370061129331589, 0.03244999423623085, 0.0121644651517272, -0.033101052045822144, -0.06280975788831711, 0.018041100353002548, -0.0028055368456989527, 0.039303213357925415, -0.014049100689589977, 0.008823520503938198, -0.014948585070669651, -0.04259276017546654, -0.0302569642663002, 0.054620161652565, 0.022701289504766464, 0.05499708652496338, -0.029623042792081833, -0.008515125140547752, 0.014288962818682194, -0.048452261835336685, 0.004433176480233669, -0.0006708659348078072, -0.021056517958641052, -0.05102222040295601, -0.05986287444829941, -0.012121632695198059, 0.03183320537209511, -0.02597370184957981, -0.00671615544706583, -0.027344346046447754, -0.0032402880024164915, -0.07689312845468521, 0.04382634162902832, 0.014742989093065262, -0.0049814339727163315, -0.01099941786378622, 0.053043920546770096, 0.01852082647383213, -0.06510558724403381, -0.060239799320697784, 0.007971150800585747, -0.04320954903960228, 0.058492228388786316, -0.04495711997151375, -0.006724721752107143, -0.009723005816340446, -0.023266680538654327, 0.003171755699440837, 0.023061083629727364, 0.015119915828108788, -0.04458019509911537, 0.03447169438004494, -0.0582866333425045, -0.04190743714570999, 0.022872621193528175, -0.01343231089413166, -0.03455736115574837, 0.00711021525785327, -0.012764121405780315, -0.02085092104971409, 0.08285542577505112, 0.017364345490932465, -0.01780123822391033, 0.006990284193307161, 0.01338947843760252, 0.00941461045295, 0.03597940504550934, -0.010853786952793598, 0.06688742339611053, -0.06205590441823006, 0.022375762462615967, 0.059348881244659424, 0.00831381231546402, 0.053763508796691895, -0.012712722644209862, -0.026881754398345947, 0.05578520894050598, 0.007572807837277651, -0.05530548468232155, 0.04972010850906372, 0.01640489511191845, 0.05571667477488518, 0.010185597464442253, 0.018555091693997383, -0.03741857782006264, -0.005589657463133335, -0.0026813221629709005, 0.07202734053134918, -0.021896036341786385, -0.040194135159254074, -0.06322094798088074, -0.024517392739653587, -0.01464019063860178, -0.021142182871699333, -0.021724706515669823, 0.049959972500801086, -0.020011400803923607, 0.005422609858214855, -0.021262114867568016, 0.010913752019405365, 0.02521984837949276, -0.07552248239517212, 0.05650479719042778, -0.051570478826761246, 0.06945738196372986, -0.021570509299635887, 0.04406620189547539, 0.027601342648267746, 0.02093658596277237, 0.06609930098056793, 0.02847512811422348, -0.0073629277758300304, 0.030736690387129784, -0.04762987792491913, 0.009517408907413483, 0.03920041769742966, 0.02222156524658203, -0.010091366246342659, -0.0023793522268533707, 0.019171882420778275, 0.029760107398033142, 0.005319811869412661, 0.017338646575808525, -0.025956569239497185, 0.04365500807762146, 0.052872590720653534, 0.01838376186788082, 0.012404327280819416, -0.0040605328977108, 0.05050823092460632, -0.038994818925857544, -0.041838906705379486, -0.01610506698489189, 0.041975971311330795, 0.004056249279528856, 0.0206281915307045, 0.04663616046309471, 0.004386060405522585, 0.015839504078030586, -0.05324951559305191, -0.019617341458797455, -0.007272979244589806, 0.034574493765830994, -0.058937691152095795, 0.038720689713954926, -0.06842939555644989, -0.05873209238052368, -0.027618475258350372, -0.0018011118518188596, 0.009543108753859997, -0.023266680538654327, 0.0010311953956261277, -0.03998853638768196, -0.01021986361593008, 0.024020535871386528, -0.014323228970170021, -0.00091233488637954, -0.035636741667985916, -0.020765256136655807, -0.004792970605194569, -0.03440316393971443, -0.013757838867604733, 0.02366074174642563, -0.0014927169540897012, 0.02213590033352375, -0.01960020884871483, 0.016387762501835823, 0.040057070553302765, 0.009311811998486519, -0.03342657908797264, -0.056710392236709595, 0.02525411546230316, 0.022067368030548096, 0.005444026552140713, -0.00417832238599658, -0.0058852024376392365, -0.022392895072698593, 0.05705305561423302, 0.027618475258350372, 0.01423756405711174, -0.021896036341786385, 0.02146770991384983, 0.025339780375361443, 0.007727005053311586, 0.014408894814550877, -0.03892628848552704, 0.03968014195561409, 0.0033088200725615025, 0.013363778591156006, 0.014160465449094772, 0.029400313273072243, -0.000003906803613062948, -0.08683029562234879, 0.054517362266778946, -0.04259276017546654, 0.004814386833459139, -0.010322662070393562, 0.007851219736039639, -0.038720689713954926, 0.08950304985046387, -0.03642486408352852, -0.0501655675470829, -0.07051963359117508, 0.0011607641354203224, 0.015642473474144936, -0.00008660220919409767, 0.019891470670700073, -0.04488858953118324, 0.03926894813776016, -0.055271215736866, 0.028989119455218315, -0.05653906241059303, 0.008026833645999432, -0.028406595811247826, 0.010493992827832699, 0.03834376484155655, -0.04015986621379852, -0.016370628029108047, 0.06171324476599693, 0.01768130622804165, -0.0017379337223246694, -0.08744708448648453, 0.00999713409692049, 0.019583074375987053, 0.011127915233373642, 0.02049112692475319, -0.013201014138758183, 0.027292948216199875, 0.010699588805437088, 0.0060608163475990295, -0.024534527212381363, 0.02830379642546177, -0.009037683717906475, 0.011770404875278473, -0.04598510265350342, 0.012113065458834171, 0.022684156894683838, -0.02016559988260269, 0.02335234545171261, -0.00794116873294115, -0.03800110146403313, -0.007127348333597183, -0.05194740369915962, 0.00551255838945508, 0.010451160371303558, -0.03017129935324192, -0.021810371428728104, -0.0014745130902156234, 0.060376863926649094, -0.05177607387304306, -0.00871643889695406, 0.0038485112600028515, 0.024534527212381363, -0.041050784289836884, 0.08011414110660553, 0.05856076255440712, -0.028543660417199135, 0.0206281915307045, -0.059348881244659424, 0.005354078020900488, -0.03717871755361557, -0.0009209014242514968, 0.0015580366598442197, -0.02266702428460121, 0.022786956280469894, 0.006137914955615997, 0.00941461045295, 0.02151910960674286, -0.018675023689866066, 0.0047672707587480545, 0.024585925042629242, 0.028817789629101753, 0.024483127519488335, -0.0228897538036108, 0.009945735335350037, 0.09340938180685043, -0.059657275676727295, -0.03423183411359787, 0.05588800832629204, -0.0019606633577495813, -0.09608214348554611, 0.0239691361784935, 0.050645291805267334, 0.03270699083805084, 0.04146197810769081, 0.007302962243556976, 0.013869203627109528, -0.04893198981881142, 0.018006835132837296, 0.05441456288099289, -0.05379777401685715, -0.0053069619461894035, 0.03083948791027069, 0.05561387911438942, -0.09779544174671173, -0.02241002768278122, -0.030376896262168884, 0.021947436034679413, 0.054517362266778946, 0.028595058247447014, -0.01968587376177311, -0.02119358256459236, 0.015137049369513988, -0.06565384566783905, -0.03741857782006264, 0.04584803804755211, 0.09066809713840485, 0.02427753061056137, 0.006600507069379091, 0.04471725970506668, -0.049788642674684525, 0.012704156339168549, -0.019034817814826965, -0.017647041007876396, 0.06407760083675385, -0.02049112692475319, -0.0027948287315666676, -0.015059949830174446, -0.005187030881643295, 0.06760701537132263, -0.023592209443449974, 0.02972584031522274, 0.09025690704584122, -0.04574524238705635, -0.019977135583758354, -0.005161331035196781, -0.019120482727885246, -0.05191313847899437, 0.06798394024372101, -0.034968554973602295, 0.01662762463092804, -0.01320958137512207, 0.02741287834942341, -0.004278979264199734, 0.10567665100097656 ]
40,975
pyglove.core.object_utils.value_location
__gt__
null
def __gt__(self, other: Any) -> bool: return self._compare(other, operator.gt)
(self, other: Any) -> bool
[ 0.024724051356315613, 0.007415518164634705, -0.0335649773478508, 0.018801817670464516, -0.021533850580453873, -0.059493839740753174, -0.03892722725868225, 0.02192414179444313, 0.00089671352179721, -0.06489002704620361, 0.040182944387197495, -0.020787207409739494, 0.049142658710479736, -0.024147098883986473, -0.026641564443707466, 0.02387559413909912, -0.02156778983771801, 0.00801792275160551, 0.041744109243154526, 0.0009513329714536667, -0.02789728157222271, 0.016689158976078033, 0.0003338149981573224, -0.018309712409973145, 0.05691452696919441, 0.08572814613580704, 0.008162161335349083, -0.001269504544325173, -0.010410573333501816, 0.05053412541747093, -0.07418911904096603, -0.05705028027296066, 0.031375955790281296, -0.04075989872217178, 0.002954753115773201, -0.0224162470549345, -0.03293712064623833, 0.04479855298995972, -0.04021688550710678, -0.009137886576354504, 0.020787207409739494, -0.05477641522884369, -0.031681403517723083, -0.021330220624804497, -0.0065500917844474316, -0.040149006992578506, -0.007029470056295395, 0.0017213081009685993, 0.008823957294225693, 0.0037438184954226017, 0.0022993197198957205, -0.04435735568404198, 0.02896633744239807, 0.038791473954916, -0.10147551447153091, 0.038587845861911774, 0.034209806472063065, 0.06984502077102661, -0.038146648555994034, 0.04065808281302452, -0.030765067785978317, 0.03351407125592232, -0.01012209802865982, -0.07405336946249008, 0.01603584550321102, -0.01864909566938877, -0.08348821848630905, 0.009731806814670563, -0.023349549621343613, 0.0550139844417572, -0.06665481626987457, 0.019141200929880142, 0.0021699299104511738, 0.05922233313322067, -0.06424520164728165, 0.0010245124576613307, -0.03378557786345482, 0.03232622891664505, 0.002712942659854889, -0.02966207265853882, 0.043746467679739, -0.029831765219569206, 0.03499038517475128, -0.030934760347008705, -0.03648367151618004, -0.005001656711101532, -0.013371690176427364, -0.003656851826235652, 0.026454903185367584, 0.012480809353291988, -0.05538730323314667, 0.04435735568404198, 0.027829404920339584, -0.03950418159365654, 0.04198167473077774, 0.016909757629036903, -0.018496373668313026, 0.009680899791419506, -0.000763081421609968, 0.01606978476047516, 0.0684874877333641, 0.03174927830696106, 0.045680951327085495, -0.0032814093865454197, 0.04445917159318924, 0.01771579124033451, 0.003054447006434202, -0.019395736977458, -0.0522649809718132, 0.010809347964823246, -0.034786757081747055, 0.026624595746397972, -0.009494239464402199, -0.007160981185734272, 0.016400683671236038, 0.03392133116722107, 0.0192599855363369, -0.009570600464940071, 0.024639204144477844, -0.015026181936264038, 0.0008277763263322413, -0.006214951165020466, 0.05372432619333267, 0.01288806926459074, -0.034956447780132294, 0.028236664831638336, 0.023790746927261353, -0.006906443741172552, -0.07832959294319153, -0.0006172528374008834, 0.038587845861911774, -0.010274820029735565, -0.01749519258737564, 0.0519934743642807, 0.033276502043008804, -0.01551828719675541, 0.024503452703356743, 0.057287849485874176, 0.04157441481947899, -0.01587463915348053, 0.004636819940060377, -0.011386299505829811, 0.03940236568450928, -0.024741020053625107, -0.039334487169981, -0.012964430265128613, -0.08260581642389297, 0.05022868141531944, -0.014050455763936043, 0.006431307643651962, -0.04316951707005501, 0.0121074877679348, 0.04534156620502472, -0.014008033089339733, 0.003408677875995636, 0.015967968851327896, -0.007169465534389019, -0.042931947857141495, -0.003395951120182872, 0.007636117283254862, 0.0059561715461313725, 0.02944147400557995, -0.0012801102129742503, -0.013863795436918736, -0.005705876741558313, -0.034345559775829315, -0.007746416609734297, -0.001967360731214285, -0.026285212486982346, 0.05959565192461014, 0.040013253688812256, -0.024367699399590492, -0.01075844094157219, 0.00872214324772358, -0.049583856016397476, 0.02217867784202099, 0.0121074877679348, 0.06706207990646362, 0.018190927803516388, 0.01909029297530651, 0.021686572581529617, -0.03334438055753708, -0.040895652025938034, -0.014754675328731537, 0.034600093960762024, -0.034345559775829315, -0.00046479562297463417, -0.021279312670230865, -0.02767668291926384, 0.040454450994729996, -0.03556733578443527, -0.01917513832449913, -0.00965544581413269, -0.035804904997348785, 0.033904362469911575, 0.009765745140612125, -0.015908578410744667, 0.007852474227547646, 0.07975500077009201, 0.06865718215703964, -0.033140748739242554, -0.00648645730689168, -0.011097824200987816, -0.04405191168189049, 0.04215136915445328, -0.006159801036119461, -0.015747370198369026, -0.015509802848100662, 0.005213771015405655, -0.07860109955072403, -0.03454918786883354, -0.02302713505923748, -0.03402314335107803, 0.017367923632264137, 0.031053543090820312, 0.020668424665927887, 0.005540427286177874, -0.045545198023319244, -0.01119963824748993, 0.011242061853408813, 0.0883074551820755, -0.04754755645990372, -0.012862615287303925, -0.005867083556950092, 0.053384944796562195, 0.03482069447636604, -0.0017626703483983874, 0.013541380874812603, -0.014805583283305168, -0.021313251927495003, 0.04557913541793823, 0.02670944109559059, 0.04652940854430199, -0.025012526661157608, -0.03947024047374725, 0.007407033815979958, -0.007118558045476675, 0.04737786576151848, -0.07995863258838654, 0.019209077581763268, 0.023281672969460487, 0.034566156566143036, -0.007877927273511887, 0.023417426273226738, -0.004316527396440506, -0.10256154090166092, -0.021364159882068634, 0.0272354856133461, 0.04666516184806824, 0.05698240548372269, -0.02536887861788273, -0.060647740960121155, -0.03169837221503258, -0.031155358999967575, -0.03453221917152405, 0.002256896812468767, -0.05219710245728493, -0.07439275085926056, 0.04792087897658348, 0.0272354856133461, 0.009689384140074253, 0.018971508368849754, -0.03923267498612404, 0.040047191083431244, -0.020481763407588005, 0.01392318680882454, 0.02316288836300373, -0.0011698107700794935, 0.034074053168296814, 0.010766925290226936, 0.014084394089877605, -0.06539910286664963, -0.027574867010116577, -0.01961633749306202, -0.009086979553103447, -0.0023968922905623913, 0.04578276351094246, -0.03807877004146576, -0.054538846015930176, -0.05535336583852768, 0.015458894893527031, -0.03777332603931427, -0.045816704630851746, -0.02794818952679634, -0.06017260253429413, 0.023061074316501617, -0.042321059852838516, -0.045239754021167755, -0.024741020053625107, -0.037841204553842545, 0.032665614038705826, -0.013176544569432735, 0.004696212243288755, 0.0181569904088974, 0.029102090746164322, -0.02418103814125061, 0.02258593775331974, -0.030663253739476204, 0.06105500087141991, 0.020295102149248123, 0.016197053715586662, -0.03446434438228607, -0.0013193513732403517, -0.0158237311989069, 0.023061074316501617, 0.024248914793133736, -0.004607124254107475, 0.015671009197831154, -0.01735943928360939, 0.04578276351094246, 0.004687727428972721, -0.003580490592867136, 0.004136230330914259, 0.004352586809545755, 0.023536210879683495, 0.05328312888741493, 0.009918468073010445, -0.03200381621718407, -0.021686572581529617, 0.0385199710726738, -0.0298487339168787, 0.01771579124033451, -0.04968566820025444, 0.00022961379727348685, -0.03468494117259979, -0.08599965274333954, -0.05793267488479614, 0.015424956567585468, 0.010079674422740936, 0.032801367342472076, -0.006380400154739618, -0.008208826184272766, 0.1271328628063202, 0.0037565454840660095, 0.041879862546920776, 0.03139292821288109, 0.02900027669966221, 0.034617066383361816, 0.006371915806084871, -0.02302713505923748, -0.0497874841094017, -0.006452518980950117, 0.05610000714659691, 0.006673118099570274, 0.02200898714363575, 0.014814067631959915, -0.05243467167019844, 0.01529768854379654, 0.044832494109869, -0.00467075826600194, -0.033412255346775055, -0.018207896500825882, 0.030001455917954445, -0.00730521883815527, -0.004874388221651316, -0.025080403313040733, 0.021024776622653008, 0.03746788203716278, -0.013235936872661114, 0.025538569316267967, 0.07507151365280151, -0.0018666064133867621, 0.002831726800650358, -0.01315109059214592, -0.0660099908709526, 0.012548686005175114, 0.015747370198369026, -0.02077023871243, -0.06336280703544617, -0.0015123754274100065, -0.02060054801404476, -0.013405628502368927, 0.04086171090602875, 0.008662750944495201, -0.03200381621718407, -0.005629515275359154, -0.052502550184726715, 0.05043231323361397, -0.01975209079682827, 0.0012090519303455949, 0.07160980999469757, 0.03519401699304581, 0.005612546112388372, 0.0006681602681055665, 0.015331626869738102, 0.0030099027790129185, -0.01184446644037962, -0.017563069239258766, 0.0004592275945469737, -0.005434370134025812, 0.01024936605244875, -0.045545198023319244, -0.081451915204525, 0.015840701758861542, -0.08593177050352097, -0.005582849960774183, -0.0068725054152309895, -0.019395736977458, -0.021975047886371613, -0.012497778981924057, 0.03882541507482529, 0.052502550184726715, -0.02014238014817238, 0.01578979380428791, 0.03892722725868225, 0.028864523395895958, 0.03848602995276451, 0.04361071437597275, -0.06088531017303467, 0.0833524614572525, -0.05083957314491272, 0.00016942634829320014, -0.058204181492328644, 0.001701157190836966, 0.0016990361036732793, -0.01297291461378336, 0.0385199710726738, 0.022331399843096733, 0.06054592505097389, -0.028983308002352715, 0.00008491203334415331, 0.005408916622400284, 0.0030777794308960438, -0.04547731950879097, -0.006766448263078928, -0.03875753656029701, -0.005807691253721714, 0.0016841881442815065, -0.05277405306696892, 0.003818058641627431, -0.018038205802440643, 0.0030989910010248423, 0.010436027310788631, 0.036246102303266525, 0.06624756008386612, 0.01876787841320038, -0.04130290821194649, -0.08077315241098404, 0.02302713505923748, 0.02217867784202099, 0.02555553987622261, -0.0014073788188397884, 0.021160529926419258, -0.0232477355748415, -0.039029043167829514, -0.022840475663542747, 0.04836207628250122, 0.014669829979538918, 0.06044410914182663, -0.04473067820072174, 0.0018337287474423647, 0.0330049954354763, 0.0021306888666003942, 0.00017897150246426463, 0.014949820935726166, -0.0684874877333641, -0.0660439282655716, -0.0668584480881691, -0.010037251748144627, 0.03303893283009529, -0.045986395329236984, 0.007220373023301363, -0.022908352315425873, -0.01119963824748993, -0.06855536252260208, 0.027116701006889343, -0.007852474227547646, -0.01702854223549366, -0.015552225522696972, 0.04720817506313324, 0.017155809327960014, -0.05039837583899498, -0.04038657620549202, 0.03037477843463421, -0.06729964911937714, 0.052943747490644455, -0.012285664677619934, -0.0014179846039041877, -0.027795467525720596, -0.007250069174915552, 0.03967387229204178, 0.01713884063065052, -0.009579084813594818, -0.0127947386354208, 0.017325501888990402, -0.026251275092363358, -0.043950095772743225, 0.025233125314116478, 0.002158263698220253, -0.0434749610722065, -0.007674297783523798, -0.0272354856133461, -0.015755854547023773, 0.07256008684635162, 0.010215427726507187, -0.005383462645113468, 0.02989964187145233, 0.010622687637805939, -0.004619850777089596, 0.03512613847851753, -0.01198021974414587, 0.06516153365373611, -0.03193593770265579, -0.0027023369912058115, 0.055149734020233154, -0.011997188441455364, 0.06645119190216064, -0.006414338480681181, -0.05216316506266594, 0.0324619822204113, 0.013422597199678421, -0.05725391209125519, 0.025979768484830856, 0.02604764513671398, 0.05168803036212921, 0.0045519741252064705, 0.008463363163173199, -0.04252468794584274, 0.0038519969675689936, 0.0046453047543764114, 0.05436915531754494, -0.04075989872217178, -0.03485463187098503, -0.06489002704620361, 0.0038647237233817577, -0.02418103814125061, -0.011369329877197742, 0.009553630836308002, 0.042049553245306015, -0.016680674627423286, 0.010139066725969315, -0.004662273917347193, 0.02922087535262108, 0.003054447006434202, -0.04971960932016373, 0.07955137640237808, -0.06553485244512558, 0.08124829083681107, -0.020159348845481873, 0.030086301267147064, 0.028457263484597206, -0.004420463461428881, 0.06370218843221664, 0.008319125510752201, -0.04316951707005501, 0.02195807918906212, -0.05111107975244522, 0.022161709144711494, 0.036958806216716766, 0.026200367137789726, -0.00856942031532526, 0.008934257552027702, 0.0064185806550085545, 0.0041998643428087234, 0.011768105439841747, 0.03560127690434456, -0.01988784410059452, 0.05582850053906441, 0.07052378356456757, 0.036110348999500275, 0.007954289205372334, 0.01675703562796116, 0.05881507322192192, -0.001228142180480063, -0.04822632297873497, -0.008416698314249516, 0.0258609838783741, 0.0003163155633956194, 0.0015028303023427725, 0.027829404920339584, 0.021907171234488487, 0.0005642242031171918, -0.03706062212586403, -0.033412255346775055, 0.022925321012735367, 0.03556733578443527, -0.04259256646037102, 0.06533122807741165, -0.07004865258932114, -0.022738659754395485, -0.03621216490864754, 0.029322689399123192, 0.0363139808177948, -0.024435576051473618, -0.009154856204986572, -0.04608821123838425, -0.0024732535239309072, 0.0143728693947196, -0.00916334055364132, -0.010868740268051624, -0.031596556305885315, -0.004636819940060377, 0.007877927273511887, -0.03787514194846153, 0.015747370198369026, 0.000864896341226995, -0.024910710752010345, 0.001158144441433251, -0.04734392836689949, 0.019243014976382256, 0.06984502077102661, 0.0218732338398695, -0.017325501888990402, -0.02784637361764908, 0.05531942844390869, 0.001224960433319211, -0.0165109820663929, -0.0055107311345636845, -0.029390566051006317, -0.01361774280667305, 0.046257901936769485, 0.05209529027342796, 0.03056143783032894, 0.034600093960762024, 0.023417426273226738, 0.005124683026224375, 0.013159575872123241, 0.009112433530390263, -0.02803303487598896, 0.01694369502365589, -0.014245601370930672, 0.02759183757007122, 0.01970118284225464, 0.04836207628250122, 0.006007079035043716, -0.10072886943817139, 0.020566608756780624, -0.08029801398515701, 0.01735943928360939, -0.00626585865393281, -0.007296734489500523, -0.05738966539502144, 0.08511725068092346, -0.05097532644867897, -0.07140617817640305, -0.08043377101421356, -0.011055400595068932, 0.03278439864516258, 0.019769059494137764, 0.0012292027240619063, -0.05491216853260994, 0.022993197664618492, -0.04910871759057045, 0.02387559413909912, -0.033632855862379074, -0.003217774908989668, -0.01807214505970478, 0.03409102186560631, 0.02445254474878311, -0.03587278351187706, -0.02387559413909912, 0.06203921139240265, 0.004641062580049038, -0.004299558233469725, -0.06665481626987457, -0.003949569538235664, 0.02604764513671398, 0.02652277983725071, 0.00764884427189827, -0.026149459183216095, 0.033581946045160294, -0.03648367151618004, 0.016960665583610535, -0.011089338921010494, 0.034786757081747055, -0.007843988947570324, -0.015195873565971851, -0.05335100740194321, -0.025080403313040733, 0.004420463461428881, 0.0026450662408024073, 0.01961633749306202, 0.003837148891761899, -0.05481035262346268, -0.014050455763936043, -0.04890508949756622, 0.004142593592405319, 0.03743394464254379, -0.03628004342317581, -0.0385199710726738, 0.012166880071163177, 0.04802269488573074, -0.08131616562604904, 0.0014582863077521324, 0.02107568457722664, 0.03256379812955856, -0.036551546305418015, 0.07805808633565903, 0.0076191481202840805, -0.029509350657463074, 0.04055626690387726, -0.042931947857141495, 0.00965544581413269, -0.021177498623728752, -0.008815472945570946, 0.018750909715890884, -0.009053041227161884, 0.035092201083898544, 0.019158169627189636, -0.007233100011944771, 0.0037310917396098375, -0.02453739009797573, 0.0043907673098146915, 0.024876773357391357, 0.014644376002252102, 0.017647914588451385, -0.013626227155327797, 0.01909029297530651, 0.08735717833042145, -0.06509365886449814, -0.04697060585021973, 0.06231071799993515, 0.016298867762088776, -0.09109039604663849, -0.011988704092800617, 0.028457263484597206, 0.04259256646037102, 0.06543304026126862, 0.005396189633756876, 0.020346010103821754, -0.04690272733569145, 0.025742199271917343, 0.07520727068185806, -0.06390582025051117, -0.0068215979263186455, 0.019633306190371513, 0.06234465539455414, -0.08111253380775452, -0.026811257004737854, -0.037705451250076294, 0.01097903959453106, 0.02825363352894783, 0.027218515053391457, -0.017206717282533646, -0.026183398440480232, -0.0007275522802956402, -0.0684874877333641, -0.03600853681564331, 0.04805663228034973, 0.087492935359478, 0.03180018439888954, 0.01895453967154026, 0.04890508949756622, -0.046699099242687225, 0.02409619279205799, -0.043373145163059235, -0.027574867010116577, 0.07242432981729507, -0.02377377822995186, 0.010554810985922813, 0.02024419605731964, -0.010215427726507187, 0.05521761253476143, -0.03417586535215378, 0.06539910286664963, 0.1138969287276268, -0.016247959807515144, -0.01120812352746725, -0.021313251927495003, -0.021499913185834885, -0.03967387229204178, 0.05565880984067917, -0.020074503496289253, -0.015526771545410156, -0.0005610425141640007, 0.023434394970536232, -0.0192599855363369, 0.07887260615825653 ]
40,976
pyglove.core.object_utils.value_location
__hash__
Hash function. Returns: return the hash value of its path. NOTE(daiyip): KeyPath shares the same hash of its JSONPath representation (relative form), thus we can lookup a dict with KeyPath key by string, and vice versa.
def __hash__(self): """Hash function. Returns: return the hash value of its path. NOTE(daiyip): KeyPath shares the same hash of its JSONPath representation (relative form), thus we can lookup a dict with KeyPath key by string, and vice versa. """ return hash(self.path)
(self)
[ 0.026309067383408546, -0.05345834419131279, -0.02767440862953663, 0.05387844890356064, -0.0045380075462162495, -0.022738175466656685, -0.025048753246665, -0.002314952900633216, 0.03283819556236267, -0.0014517686795443296, 0.030160028487443924, -0.011946732178330421, 0.044461097568273544, 0.009907472878694534, -0.033905964344739914, -0.025013742968440056, 0.04589645564556122, 0.015858959406614304, -0.015228801406919956, -0.020707668736577034, -0.00012772719492204487, -0.011727927252650261, 0.05835956707596779, 0.026921719312667847, -0.006205298937857151, -0.014344830997288227, 0.08710174262523651, 0.004686794709414244, 0.10411598533391953, -0.013723425567150116, -0.06543133407831192, -0.02147786132991314, 0.03644409775733948, 0.051147766411304474, -0.023245802149176598, -0.07785943150520325, 0.00412665493786335, 0.05566389486193657, -0.07974990457296371, -0.026554128155112267, 0.005868339911103249, 0.08178041130304337, -0.03836957737803459, -0.02105775661766529, 0.06249059736728668, 0.043235793709754944, -0.04659663140773773, 0.030597638338804245, 0.0027175534050911665, -0.005036882124841213, 0.0002605142362881452, -0.03903474286198616, -0.04099523276090622, 0.005308200139552355, -0.019674910232424736, 0.016637902706861496, 0.040049996227025986, 0.0036846697330474854, -0.05149785429239273, 0.014642405323684216, -0.021827949211001396, -0.0189572311937809, 0.0423605740070343, -0.02105775661766529, -0.038019489496946335, -0.03478118032217026, -0.06039007380604744, 0.015657657757401466, 0.021862957626581192, -0.0037393709644675255, -0.025626396760344505, 0.004993121139705181, 0.0317879356443882, 0.02284320257604122, 0.00022591576271224767, 0.00638471869751811, -0.023578384891152382, 0.011622901074588299, 0.026466606184840202, 0.01421354804188013, -0.024208541959524155, -0.09669413417577744, -0.04708675295114517, -0.0631907731294632, -0.06119527667760849, 0.053178273141384125, 0.08002997934818268, -0.048102006316185, 0.002647535875439644, 0.040049996227025986, -0.04995746910572052, 0.05548885092139244, -0.07855960726737976, -0.003719678381457925, 0.055453840643167496, -0.05128780007362366, -0.016419097781181335, -0.027114268392324448, 0.052758168429136276, -0.0023105768486857414, 0.043235793709754944, 0.015333827584981918, -0.0014791191788390279, 0.03460613638162613, -0.0013161097886040807, -0.0024352953769266605, -0.001387221273034811, -0.03514877334237099, -0.03266315162181854, -0.0026234672404825687, -0.022668158635497093, 0.0733082965016365, -0.023210793733596802, 0.034641146659851074, 0.0648011714220047, 0.026711666956543922, 0.007102397736161947, -0.023665906861424446, 0.06945733726024628, 0.004076329991221428, 0.034956224262714386, 0.048942215740680695, -0.021320322528481483, 0.04712176322937012, 0.0435858778655529, 0.019849954172968864, -0.0024484237655997276, -0.012498119845986366, -0.050727661699056625, -0.0065947710536420345, 0.011605396866798401, 0.06938731670379639, -0.006516001652926207, 0.03763439506292343, 0.024628646671772003, 0.026239048689603806, 0.007500622421503067, 0.04694671928882599, 0.017250556498765945, 0.09326327592134476, 0.042010486125946045, -0.02172292210161686, 0.033345822244882584, -0.027219293639063835, 0.03885969892144203, 0.014353582635521889, -0.0358489491045475, -0.004966864828020334, -0.025503866374492645, 0.012340580113232136, 0.03609400987625122, 0.015850206837058067, 0.06711175292730331, 0.04411100968718529, 0.017793191596865654, -0.022125523537397385, -0.05104273930191994, -0.02086520753800869, -0.017626900225877762, -0.04194046929478645, 0.01963990181684494, -0.03374842554330826, 0.0615103542804718, -0.07204798609018326, -0.0403650738298893, 0.007308074273169041, -0.012725676409900188, -0.00481807766482234, -0.027656903490424156, 0.004669290501624346, -0.026554128155112267, -0.015333827584981918, -0.08773189783096313, 0.020305069163441658, 0.01927231065928936, -0.0065335058607161045, -0.009872464463114738, 0.05748434737324715, 0.008747808635234833, 0.002605963032692671, 0.009102271869778633, -0.0403650738298893, 0.006852960679680109, 0.055208779871463776, 0.015578888356685638, 0.03756437823176384, 0.02522379532456398, 0.022178035229444504, 0.032015491276979446, 0.04449610784649849, -0.09907472878694534, 0.009093520231544971, -0.0024374835193157196, 0.01848461478948593, 0.023963481187820435, -0.047051746398210526, 0.018694667145609856, -0.03861463814973831, -0.04631656035780907, 0.08738180994987488, -0.04138032719492912, -0.047471851110458374, -0.02490871772170067, -0.001343460287898779, -0.025066256523132324, -0.030842699110507965, 0.03493872284889221, 0.04229055717587471, 0.019867459312081337, 0.025258805602788925, -0.021950479596853256, -0.04547635093331337, 0.0022646277211606503, 0.022440601140260696, 0.021460356190800667, -0.04750685766339302, -0.024348577484488487, 0.005999622400850058, -0.007386843673884869, 0.014379839412868023, 0.10586642473936081, 0.031017743051052094, 0.02441859431564808, -0.0022843200713396072, -0.03308325633406639, -0.04302573949098587, 0.012760684825479984, -0.010773939080536366, -0.044216036796569824, -0.0668666884303093, 0.0344310961663723, -0.004634281620383263, 0.06497621536254883, 0.012786941602826118, 0.0032317442819476128, -0.026309067383408546, 0.0022777561098337173, -0.014108521863818169, 0.02989746257662773, -0.01909726671874523, 0.0008681073086336255, -0.0016300943680107594, 0.05426354333758354, -0.0021782000549137592, -0.0034593010786920786, -0.01797698810696602, 0.03124529868364334, 0.020112520083785057, 0.02116278186440468, -0.0688621923327446, 0.0038947220891714096, 0.01956988498568535, -0.02307075820863247, 0.019867459312081337, 0.014476113021373749, -0.004844333976507187, -0.010590143501758575, -0.0015546068316325545, 0.021250303834676743, 0.039314813911914825, -0.026361580938100815, -0.047646891325712204, -0.022265557199716568, 0.008437106385827065, -0.036479104310274124, -0.05111275985836983, 0.03738933429121971, 0.05916476622223854, -0.06137031689286232, 0.03805449977517128, 0.08703172206878662, -0.040855199098587036, -0.03296072781085968, -0.017618147656321526, -0.013557134196162224, -0.004319203086197376, -0.010248808190226555, 0.03234807401895523, -0.008297070860862732, -0.0015841454733163118, 0.00939109455794096, -0.0323655791580677, 0.02958238311111927, -0.0189572311937809, -0.0199549812823534, 0.02338583767414093, 0.011894218623638153, -0.009714924730360508, -0.018922222778201103, -0.003953799605369568, 0.05989995226264, -0.009443607181310654, -0.08598145842552185, 0.013373337686061859, 0.05524379014968872, -0.00034461726318113506, -0.06721677631139755, -0.05772940814495087, 0.07477866858243942, 0.012900720350444317, -0.030247550457715988, 0.047401830554008484, 0.03413351997733116, -0.03640908747911453, -0.015596392564475536, 0.016909221187233925, 0.017994491383433342, 0.025258805602788925, 0.0019900279585272074, 0.06413600593805313, -0.04561638459563255, 0.024401091039180756, -0.023298315703868866, 0.03763439506292343, -0.0071505350060760975, -0.007496246136724949, -0.011552883312106133, 0.019989989697933197, -0.024628646671772003, 0.08346083015203476, -0.055628884583711624, 0.06487119197845459, -0.04190545901656151, -0.006139657460153103, 0.03472866863012314, -0.06179042533040047, 0.02853212133049965, -0.014677413739264011, 0.020900217816233635, 0.03819453343749046, -0.002192422281950712, -0.009128528647124767, 0.07435856014490128, 0.002829143777489662, -0.023000741377472878, 0.0044067250564694405, 0.05972490832209587, -0.006769814994186163, -0.03700423613190651, -0.00941735040396452, 0.05240808054804802, -0.06938731670379639, 0.042990729212760925, -0.023350829258561134, -0.040470100939273834, -0.01463365275412798, -0.0023171408101916313, 0.022178035229444504, -0.022563131526112556, -0.0460364893078804, -0.00945235975086689, 0.0018095141276717186, 0.024593638256192207, 0.016637902706861496, 0.059129759669303894, -0.030370080843567848, -0.007929479703307152, -0.04621153324842453, -0.03413351997733116, 0.024873709306120872, 0.06203548610210419, -0.03770441189408302, -0.06172040477395058, -0.03738933429121971, 0.008091394789516926, 0.00991622544825077, -0.0013215799117460847, -0.0044373576529324055, 0.008852834813296795, -0.06161538138985634, -0.04995746910572052, -0.02902224473655224, -0.041835442185401917, -0.05069265514612198, 0.032190535217523575, -0.012804445810616016, 0.03819453343749046, 0.03840458765625954, -0.03420353680849075, 0.021337825804948807, 0.019377335906028748, 0.04939733073115349, 0.015710171312093735, 0.005483243614435196, -0.016550380736589432, 0.04939733073115349, 0.0668666884303093, -0.05265314131975174, 0.025976484641432762, 0.04589645564556122, -0.008012625388801098, -0.0435858778655529, 0.02926730550825596, -0.004028193186968565, -0.020270058885216713, 0.010205047205090523, 0.04750685766339302, -0.013189542107284069, -0.05125279352068901, -0.007513750344514847, 0.05881468206644058, -0.044531114399433136, 0.012541880831122398, 0.034641146659851074, 0.037354324012994766, -0.009364837780594826, 0.028199538588523865, 0.051462844014167786, -0.013023250736296177, -0.03460613638162613, -0.04285069555044174, -0.025048753246665, -0.030947724357247353, -0.00935608521103859, 0.026746675372123718, -0.04694671928882599, -0.017425600439310074, -0.04579142853617668, 0.004334519617259502, 0.04271066188812256, -0.01095773559063673, 0.012576889246702194, -0.05779942870140076, -0.004533631727099419, 0.010835204273462296, -0.013312072493135929, -0.026554128155112267, 0.025433847680687904, -0.00412009097635746, 0.0696323812007904, 0.024103516712784767, 0.026991738006472588, 0.017863208428025246, -0.021512869745492935, -0.007833205163478851, -0.016541628167033195, 0.03387095406651497, -0.05111275985836983, 0.025976484641432762, 0.049502357840538025, -0.004494247026741505, 0.021687913686037064, 0.005588269792497158, 0.01481744833290577, 0.014239804819226265, -0.022493114694952965, -0.026659155264496803, 0.021897966042160988, 0.07708924263715744, -0.02958238311111927, 0.00667354092001915, 0.0043564001098275185, -0.004651786293834448, -0.07659912109375, -0.0484871044754982, -0.03450111299753189, -0.021512869745492935, -0.010126277804374695, 0.002049105241894722, 0.006244683638215065, -0.03189295902848244, 0.05758937448263168, 0.04057512804865837, -0.030055001378059387, -0.05030755698680878, -0.06655161082744598, -0.018519623205065727, 0.03275067359209061, 0.022493114694952965, -0.009093520231544971, 0.01190297119319439, 0.010852708481252193, -0.10404597222805023, 0.036058999598026276, -0.03331081569194794, 0.015596392564475536, 0.04768190160393715, -0.00407195370644331, -0.09676415473222733, -0.029039748013019562, -0.02350836805999279, -0.05475366860628128, -0.0019386089406907558, -0.00008622269524494186, 0.057974472641944885, -0.030422594398260117, -0.03313577175140381, 0.02644910104572773, 0.02896973118185997, -0.014073512516915798, -0.003225180087611079, 0.0030063753947615623, -0.06858211755752563, 0.050657644867897034, 0.007736931089311838, 0.0017504369607195258, 0.012839455157518387, 0.018064508214592934, -0.046001482754945755, -0.021617896854877472, -0.03325830027461052, -0.0006761062541045249, 0.06592145562171936, 0.054998729377985, -0.013049507513642311, 0.05006249621510506, 0.007767563685774803, -0.035813938826322556, -0.005898972507566214, -0.016034001484513283, -0.024226047098636627, -0.04057512804865837, 0.06375091522932053, 0.03430856391787529, 0.02086520753800869, 0.036304060369729996, -0.06333080679178238, -0.0052994475699961185, 0.007404348347336054, 0.036864202469587326, -0.016244053840637207, 0.004277630243450403, 0.06137031689286232, -0.06956236064434052, -0.015447606332600117, -0.016034001484513283, 0.0022930724080652, -0.04295572265982628, 0.04012001305818558, 0.035813938826322556, -0.035201285034418106, -0.012970737181603909, 0.005316952243447304, 0.054473597556352615, -0.009277315810322762, 0.08381091803312302, -0.05394846573472023, -0.005702048074454069, -0.05527879670262337, -0.009898721240460873, 0.0031354702077805996, -0.02497873455286026, -0.004443921614438295, -0.016497867181897163, 0.027849450707435608, 0.044776175171136856, 0.007785068359225988, -0.015141279436647892, 0.007995120249688625, -0.01669916883111, 0.0224055927246809, -0.024033499881625175, 0.025363830849528313, -0.02989746257662773, 0.054403580725193024, -0.054403580725193024, 0.02571391873061657, -0.038754671812057495, -0.007036756258457899, 0.01871217042207718, -0.007246809080243111, 0.018309570848941803, -0.018327074125409126, 0.003980055917054415, -0.016830451786518097, 0.010240055620670319, -0.01878218911588192, 0.020952729508280754, 0.013373337686061859, 0.018152030184864998, -0.028934722766280174, 0.1124480664730072, 0.049432337284088135, -0.024453604593873024, -0.00012635966413654387, 0.008174540475010872, -0.039489857852458954, -0.00935608521103859, 0.014703670516610146, -0.04733181372284889, 0.03227805718779564, 0.013023250736296177, 0.018694667145609856, 0.06487119197845459, -0.05020252987742424, 0.012358084321022034, 0.03693421930074692, 0.04344584420323372, -0.026554128155112267, 0.0008560730493627489, -0.06627154350280762, -0.06508124619722366, -0.02823454700410366, 0.001741684740409255, 0.014966235496103764, -0.013049507513642311, 0.016436602920293808, -0.05517377331852913, -0.013942230492830276, -0.030580133199691772, 0.007518126629292965, -0.019604893401265144, 0.009749934077262878, 0.06109024956822395, 0.02571391873061657, 0.01648036390542984, 0.014196043834090233, 0.014773687347769737, -0.026309067383408546, -0.024033499881625175, -0.024751178920269012, 0.004093834199011326, 0.04586144909262657, -0.016830451786518097, 0.03658413141965866, 0.02762189507484436, 0.001689171651378274, -0.010047508403658867, -0.0790497288107872, 0.010143782012164593, -0.04218553006649017, 0.004958112724125385, 0.009784942492842674, 0.02233557589352131, -0.05331831052899361, -0.015150032006204128, -0.006301573012024164, 0.030597638338804245, -0.01346961222589016, -0.05429855361580849, -0.0004983274848200381, -0.0513228103518486, 0.003181419102475047, -0.017469361424446106, 0.06585143506526947, -0.06014501303434372, 0.0002508047909941524, 0.0012756309006363153, -0.013137029483914375, 0.05636407062411308, -0.05356337130069733, -0.015009996481239796, -0.07204798609018326, 0.031455352902412415, -0.06462613493204117, 0.03364339843392372, 0.007863838225603104, -0.042990729212760925, 0.049082253128290176, -0.033783432096242905, -0.032138023525476456, 0.00806951429694891, -0.010913974605500698, -0.010703922249376774, 0.02086520753800869, 0.004796197172254324, 0.023473359644412994, -0.04813701659440994, -0.03787945583462715, -0.038929715752601624, -0.03567390516400337, -0.003450548741966486, -0.0688621923327446, -0.022265557199716568, -0.015333827584981918, -0.0348161906003952, 0.00609152065590024, -0.04505624622106552, 0.01988496258854866, 0.02492622099816799, -0.009653659537434578, -0.020515121519565582, -0.01491372287273407, -0.016375336796045303, -0.08955235034227371, -0.027901964262127876, 0.04057512804865837, 0.010108773596584797, 0.01457238756120205, -0.033170778304338455, -0.0319804809987545, -0.005605774465948343, -0.04659663140773773, 0.043305810540914536, 0.019499868154525757, 0.08605147898197174, 0.038019489496946335, 0.014362335205078125, 0.01702299900352955, -0.0011924850987270474, -0.008108898997306824, -0.08808198571205139, -0.027516867965459824, 0.03192796930670738, -0.0266941636800766, -0.021950479596853256, 0.0051244040951132774, 0.032628145068883896, 0.012699419632554054, -0.027114268392324448, 0.006765438709408045, 0.021810444071888924, 0.0319804809987545, -0.02049761638045311, 0.004643033724278212, -0.034396085888147354, -0.021810444071888924, 0.009312324225902557, 0.002282132161781192, 0.010388842783868313, -0.02889971435070038, -0.014791191555559635, 0.05909474939107895, -0.035078756511211395, 0.03889470919966698, 0.018449604511260986, -0.010887717828154564, -0.015421349555253983, 0.018327074125409126, -0.012515624053776264, -0.012725676409900188, -0.050972722470760345, 0.012961985543370247, 0.028584634885191917, 0.022125523537397385, 0.003741558874025941, 0.07568889111280441, -0.016550380736589432, -0.012340580113232136, 0.03861463814973831, -0.012751933187246323, 0.026799188926815987, -0.008896595798432827, -0.0273068156093359, 0.05142783746123314, -0.04180043563246727, 0.02307075820863247, -0.044706158339977264, 0.016436602920293808, 0.08843207359313965, 0.02571391873061657, 0.016594141721725464, -0.023298315703868866, -0.014169787056744099, 0.04708675295114517, -0.05856962129473686, -0.00022906108642928302, 0.07477866858243942, 0.00007439356704708189, -0.07316826283931732, 0.006476616486907005, 0.04736682400107384, 0.015272562392055988, -0.023105766624212265, 0.016524124890565872, 0.005605774465948343, -0.03308325633406639, 0.01669916883111, 0.06203548610210419, 0.026746675372123718, -0.05916476622223854, -0.06137031689286232, -0.019902467727661133, 0.007925103418529034, 0.05454361438751221, 0.007666913792490959, 0.01983245089650154, 0.009496120736002922 ]
40,977
pyglove.core.object_utils.value_location
__init__
Constructor. Args: key_or_key_list: A single object as key, or a list/tuple of objects as keys in the path. When string types or StrKey objects are used as key, dot ('.') is used as the delimiter, otherwise square brackets ('[]') is used as the delimiter when formatting a KeyPath. For object type key, str(object) will be used to represent the key in string form. parent: Parent KeyPath.
def __init__(self, key_or_key_list: Optional[Union[Any, List[Any]]] = None, parent: Optional['KeyPath'] = None): """Constructor. Args: key_or_key_list: A single object as key, or a list/tuple of objects as keys in the path. When string types or StrKey objects are used as key, dot ('.') is used as the delimiter, otherwise square brackets ('[]') is used as the delimiter when formatting a KeyPath. For object type key, str(object) will be used to represent the key in string form. parent: Parent KeyPath. """ if key_or_key_list is None: key_or_key_list = [] elif not isinstance(key_or_key_list, (tuple, list)): key_or_key_list = [key_or_key_list] keys = [] if parent: keys.extend(parent.keys) keys.extend(key_or_key_list) self._keys = keys # NOTE(daiyip): Lazy to build path string cache for fast access. self._path_str = None
(self, key_or_key_list: Union[Any, List[Any], NoneType] = None, parent: Optional[pyglove.core.object_utils.value_location.KeyPath] = None)
[ -0.006982788909226656, -0.03524516150355339, -0.06014544889330864, 0.042795103043317795, -0.014001875184476376, -0.02878415398299694, 0.010245053097605705, 0.051869552582502365, 0.096406951546669, 0.0065925875678658485, 0.011878454126417637, 0.030417554080486298, 0.036225203424692154, 0.008811290375888348, -0.029873088002204895, 0.004891128279268742, 0.033158037811517715, 0.004927426110953093, -0.026914816349744797, 0.005299478303641081, -0.0019929760601371527, -0.006411098409444094, 0.060000259429216385, 0.01758628338575363, 0.012250506319105625, 0.03682411462068558, -0.018294090405106544, 0.05150657519698143, 0.05691494792699814, -0.030925722792744637, 0.010762296617031097, -0.002308313036337495, -0.035045523196458817, 0.07281338423490524, 0.043847739696502686, 0.01339388731867075, -0.00916973128914833, 0.005843945313245058, -0.026932965964078903, -0.0036592716351151466, 0.057822391390800476, 0.03139759600162506, -0.05662456527352333, -0.04537224769592285, 0.046860456466674805, 0.09335793554782867, 0.017540911212563515, 0.034047335386276245, 0.035099972039461136, 0.003666077507659793, 0.04181506112217903, -0.03067163936793804, -0.011996421962976456, -0.04715083912014961, -0.0724141076207161, 0.03491847962141037, 0.01854817382991314, 0.03272246569395065, -0.03370250388979912, -0.014537268318235874, -0.005771349649876356, 0.00421961909160018, 0.012604409828782082, 0.022976506501436234, -0.017695175483822823, -0.0490020252764225, -0.05651567131280899, -0.03920162096619606, 0.0056624566204845905, 0.024319523945450783, -0.015998253598809242, -0.016361232846975327, -0.05147027596831322, 0.016216041520237923, 0.003995026461780071, 0.014038173481822014, -0.07666094601154327, 0.01998193748295307, -0.005848482716828585, -0.015272297896444798, -0.03018161840736866, -0.05658826604485512, -0.0759349912405014, -0.02339393086731434, 0.07847584038972855, 0.05154287442564964, 0.006910193245857954, -0.0019045000663027167, 0.02148829586803913, 0.07245040684938431, -0.08000034838914871, 0.003702375339344144, -0.0716155543923378, 0.015435638837516308, 0.0141379926353693, -0.0026157100219279528, 0.026297753676772118, -0.07433789223432541, 0.0025272341445088387, 0.047187138348817825, 0.048021987080574036, -0.048639047890901566, 0.0508895106613636, 0.014927469193935394, -0.011905677616596222, -0.06101659685373306, -0.041742466390132904, 0.009446501731872559, 0.007109831087291241, -0.012295878492295742, -0.055608224123716354, 0.01459171436727047, 0.03225059434771538, 0.03854826092720032, -0.03774970769882202, 0.03771341219544411, -0.005630695726722479, -0.030326809734106064, 0.062105532735586166, -0.05078062042593956, 0.03702375292778015, 0.02105272188782692, -0.06275889277458191, 0.06232331693172455, 0.012232357636094093, -0.0009845778113231063, 0.018784109503030777, -0.020018234848976135, -0.0033280542120337486, 0.014074470847845078, 0.06050843000411987, 0.0438840389251709, -0.05237772315740585, -0.028802301734685898, 0.051651764661073685, 0.008271360769867897, -0.012486441992223263, 0.01801278255879879, -0.0786210298538208, 0.05335776135325432, 0.049473896622657776, -0.032214295119047165, 0.057713497430086136, 0.029038237407803535, -0.028475621715188026, 0.025354010984301567, 0.012677005492150784, -0.012985536828637123, -0.0028902122285217047, 0.00048434874042868614, -0.050925809890031815, 0.024863991886377335, 0.017976485192775726, 0.03640669211745262, 0.038511961698532104, -0.066787950694561, -0.04994576796889305, -0.033158037811517715, 0.041234299540519714, 0.00782217551022768, 0.0043738847598433495, -0.04214174300432205, -0.003035403322428465, -0.06214182823896408, -0.003926968201994896, -0.026969263330101967, -0.030834978446364403, -0.03279506042599678, 0.024246929213404655, -0.009006391279399395, 0.006905655842274427, -0.053539250046014786, -0.04929240792989731, 0.0406535342335701, -0.02321244217455387, -0.037568219006061554, -0.04272250831127167, 0.013121654279530048, -0.014165215194225311, -0.061561062932014465, 0.045299652963876724, 0.04214174300432205, 0.03152463585138321, 0.03272246569395065, 0.033720653504133224, 0.06903841346502304, 0.014618937857449055, 0.050816915929317474, 0.020363064482808113, 0.017468314617872238, -0.07883881777524948, 0.01911078952252865, 0.010172457434237003, 0.03658818081021309, -0.00030484478338621557, -0.008157930336892605, 0.025263266637921333, -0.04127059504389763, -0.09655214101076126, 0.11869379878044128, -0.042577315121889114, -0.00021268241107463837, 0.0036842264235019684, -0.037894900888204575, -0.003677420550957322, 0.019945640116930008, 0.022504635155200958, 0.0331217385828495, -0.00916973128914833, 0.007758654188364744, 0.017994632944464684, -0.053757037967443466, -0.0028675259090960026, -0.01795833557844162, 0.012259581126272678, -0.00706899631768465, -0.0433395691215992, 0.015136181376874447, -0.014755054377019405, -0.00021693605231121182, 0.11695150285959244, 0.07317636162042618, 0.01865706779062748, -0.01612529717385769, 0.006597124505788088, -0.004174246918410063, 0.00007206389273051172, -0.004950112197548151, -0.02266797423362732, -0.011152498424053192, -0.021089021116495132, -0.052813295274972916, -0.014618937857449055, -0.007177889347076416, 0.018103526905179024, -0.0681309625506401, 0.01903819479048252, -0.027931155636906624, 0.01147010363638401, -0.024900289252400398, 0.0141379926353693, -0.031488340348005295, -0.020254170522093773, -0.054156314581632614, 0.0072640967555344105, 0.012150688096880913, 0.027132604271173477, -0.016678838059306145, 0.025698840618133545, 0.007273171097040176, 0.05589860677719116, 0.017350347712635994, -0.0001916977489599958, -0.006855746731162071, 0.0019271861528977752, 0.034501057118177414, -0.008103483356535435, -0.03858456015586853, 0.0333939753472805, -0.011951049789786339, -0.055208951234817505, 0.015508233569562435, -0.02321244217455387, 0.018375759944319725, 0.010934711433947086, -0.024700650945305824, 0.04932870715856552, 0.0025884867645800114, -0.05128878727555275, 0.004485046491026878, 0.06849394738674164, -0.0019385291961953044, 0.012323101982474327, 0.016996443271636963, -0.011515476740896702, 0.008448312059044838, -0.008697859942913055, -0.022486485540866852, -0.04627969115972519, 0.0212705098092556, 0.030889425426721573, -0.0058666313998401165, -0.025825882330536842, -0.006451933644711971, 0.03927421569824219, -0.003702375339344144, -0.03575333207845688, -0.032323189079761505, -0.025408457964658737, -0.007404750678688288, 0.03495477885007858, 0.04827607050538063, 0.0019305890891700983, 0.02711445465683937, 0.00010641209519235417, -0.014972841367125511, -0.01631586067378521, -0.05136138200759888, 0.06613458693027496, -0.02533586323261261, 0.07041772454977036, 0.01661531627178192, 0.08493684977293015, -0.0027745128609240055, 0.009709660895168781, 0.009428353048861027, -0.014537268318235874, 0.026207009330391884, -0.004941037856042385, 0.04152468219399452, -0.03513626754283905, 0.05234142392873764, -0.006855746731162071, 0.03836677223443985, -0.01943747140467167, 0.037568219006061554, -0.008620726875960827, -0.017441092059016228, 0.005045393947511911, 0.06921990215778351, -0.02745928429067135, 0.02333948388695717, -0.05110729858279228, 0.0031261479016393423, 0.014482821337878704, -0.030925722792744637, 0.04413812234997749, -0.013157951645553112, 0.016869401559233665, 0.04940130189061165, -0.008661561645567417, -0.016524571925401688, -0.006706018000841141, 0.011669741943478584, -0.05589860677719116, 0.03840307146310806, 0.015381191857159138, -0.0008802216034382582, -0.03128870204091072, -0.012241432443261147, 0.044682588428258896, -0.03045385144650936, -0.033666208386421204, -0.01698736846446991, -0.0646100789308548, -0.06885692477226257, 0.09575358778238297, -0.013829461298882961, 0.015172479674220085, -0.009042688645422459, -0.04105281084775925, -0.023121697828173637, 0.02361171692609787, -0.006715092342346907, 0.04392033442854881, -0.033720653504133224, -0.05637047812342644, -0.018103526905179024, 0.005254106130450964, -0.01806722953915596, 0.11020011454820633, -0.02589847892522812, -0.029691599309444427, -0.03464624658226967, -0.04831236973404884, -0.006284056231379509, 0.045517437160015106, -0.026533689349889755, -0.03290395438671112, 0.016361232846975327, 0.023539122194051743, -0.06747760623693466, 0.006578975822776556, 0.004764086101204157, 0.03667892515659332, 0.023430228233337402, 0.010952860116958618, 0.029310472309589386, -0.02822153829038143, -0.0021290925797075033, -0.030762383714318275, 0.009137970395386219, 0.05713273212313652, 0.053648144006729126, -0.030889425426721573, 0.02177867852151394, 0.05085321515798569, 0.03172427415847778, 0.05931060016155243, 0.0289474930614233, 0.007050847169011831, -0.012205134145915508, 0.04642488434910774, -0.018275940790772438, 0.01533581968396902, 0.01269515510648489, 0.0719059407711029, 0.011143423616886139, -0.013194249011576176, -0.01596195623278618, 0.04221433773636818, -0.08312195539474487, -0.007114368490874767, 0.039891280233860016, 0.06025434285402298, 0.0014405688270926476, 0.017595358192920685, -0.0062250723131000996, -0.01865706779062748, -0.007404750678688288, 0.04087131842970848, -0.05074432119727135, 0.014909320510923862, 0.013738716021180153, -0.0231579951941967, 0.010471914894878864, -0.051760658621788025, 0.024519162252545357, 0.012422921136021614, 0.009664288721978664, -0.03272246569395065, -0.00707353325560689, -0.0064927684143185616, -0.015045437030494213, 0.05117989331483841, -0.011288614943623543, -0.01013616006821394, -0.051143597811460495, 0.053829632699489594, -0.017132559791207314, -0.01609807275235653, 0.007409288082271814, 0.015490084886550903, -0.020816786214709282, -0.024845842272043228, 0.031597234308719635, 0.044464800506830215, -0.03301284834742546, 0.004178783856332302, -0.007921994663774967, -0.05252291262149811, -0.045009270310401917, 0.02094382978975773, 0.04225063696503639, -0.009373906068503857, 0.00526318047195673, -0.01483672484755516, 0.0649004653096199, 0.05157916992902756, -0.00867063645273447, 0.029764194041490555, -0.0003105163050349802, 0.030036427080631256, 0.0011292018461972475, -0.007096219342201948, -0.004550836514681578, 0.02789485827088356, 0.04776789993047714, 0.025517351925373077, 0.027259645983576775, 0.016515497118234634, 0.04261361435055733, 0.06079881265759468, -0.05183325335383415, -0.05513635277748108, 0.049473896622657776, 0.014491896145045757, 0.060000259429216385, 0.020925680175423622, -0.05317627266049385, -0.02789485827088356, 0.00016234756913036108, -0.05996396020054817, 0.023684313520789146, 0.004185589961707592, -0.010426542721688747, 0.09118007123470306, -0.031942062079906464, -0.08021813631057739, -0.05067172646522522, -0.03341212123632431, -0.0880584567785263, -0.001212573261000216, -0.033484719693660736, -0.01157899759709835, -0.07343044131994247, -0.03702375292778015, -0.022849462926387787, -0.0358077771961689, 0.01943747140467167, -0.019945640116930008, 0.027477432042360306, -0.052196234464645386, 0.046642668545246124, 0.066787950694561, -0.012758675962686539, -0.0009409069898538291, 0.003543572500348091, -0.02410173788666725, -0.019891193136572838, 0.0017241453751921654, 0.006533603649586439, 0.013775014318525791, 0.02762262336909771, 0.0331217385828495, 0.015045437030494213, -0.028766004368662834, -0.011297689750790596, -0.003899744711816311, -0.04566263034939766, 0.031161658465862274, -0.013430184684693813, -0.00008500206604367122, -0.015998253598809242, -0.038766048848629, 0.000422245473600924, -0.05078062042593956, -0.0042649912647902966, 0.01920153573155403, 0.027767814695835114, -0.0023956545628607273, 0.06740500777959824, 0.021506445482373238, -0.02762262336909771, -0.002363894134759903, -0.010063564404845238, -0.026152562350034714, -0.017332198098301888, 0.017695175483822823, 0.05237772315740585, -0.049147218465805054, 0.0040721590630710125, -0.008784066885709763, 0.0735030397772789, -0.02912898175418377, 0.10047230124473572, -0.016860326752066612, 0.056043799966573715, -0.030417554080486298, -0.028911195695400238, 0.03804009035229683, 0.06689684092998505, 0.007209650240838528, -0.06853023916482925, 0.07811286300420761, 0.03675151988863945, -0.013829461298882961, -0.004378421697765589, -0.021923869848251343, 0.009242326952517033, 0.01495469268411398, -0.0023412080481648445, 0.02243203856050968, 0.05234142392873764, 0.0284030269831419, -0.02577143721282482, 0.0045417617075145245, -0.07869362831115723, -0.031216105446219444, 0.0008013873011805117, 0.01757720857858658, 0.020798638463020325, -0.03196021169424057, 0.011932901106774807, 0.018375759944319725, -0.012813122943043709, -0.014537268318235874, -0.0045417617075145245, 0.0554630346596241, 0.05691494792699814, -0.0438840389251709, 0.03250467777252197, 0.0019328576745465398, -0.00822598859667778, -0.03613445907831192, -0.022958356887102127, -0.0476590096950531, 0.017649803310632706, -0.033775102347135544, -0.08079889416694641, 0.012341251596808434, 0.02816709131002426, 0.025136224925518036, 0.018675217404961586, 0.030290512368083, 0.022922059521079063, 0.02500918321311474, 0.04275880381464958, -0.026079967617988586, -0.013103504665195942, -0.04221433773636818, -0.03938310965895653, -0.019401172176003456, 0.0527769960463047, -0.0010781580349430442, -0.03891123831272125, 0.019510066136717796, 0.02165163680911064, 0.02649739198386669, -0.04932870715856552, -0.036606330424547195, -0.008475535549223423, 0.019945640116930008, 0.07114368677139282, 0.027695219963788986, -0.008675173856317997, 0.020508255809545517, 0.026243308559060097, -0.0012216477189213037, -0.0032236981205642223, 0.013067207299172878, 0.0484575591981411, 0.03373880311846733, -0.003377963788807392, -0.013693343847990036, -0.023756908252835274, -0.026461094617843628, -0.004013175144791603, 0.006188774481415749, -0.015054511837661266, -0.04849385842680931, -0.007749579846858978, -0.0050363196060061455, 0.04831236973404884, -0.10054489970207214, -0.02883860096335411, 0.005095303524285555, -0.014274109154939651, 0.01363889779895544, -0.05215993523597717, 0.07949217408895493, -0.05215993523597717, -0.035499244928359985, 0.015626201406121254, -0.018856706097722054, -0.0037999257910996675, 0.020526405423879623, -0.019564513117074966, 0.020726041868329048, 0.0735030397772789, -0.04475518316030502, 0.012459219433367252, -0.04428331181406975, 0.025644393637776375, -0.05858464539051056, -0.02862081304192543, -0.00888388603925705, -0.05578971654176712, 0.017568133771419525, 0.01736849546432495, -0.015689723193645477, 0.03833047300577164, -0.05136138200759888, -0.024972883984446526, -0.021125318482518196, 0.000042855506762862206, -0.011932901106774807, -0.07448308169841766, -0.02784041129052639, 0.005059005692601204, -0.013321291655302048, -0.024464715272188187, 0.0013044520746916533, 0.012323101982474327, -0.047187138348817825, -0.03401103615760803, 0.01483672484755516, -0.03156093508005142, 0.028312282636761665, 0.04646117985248566, 0.01188752893358469, -0.06849394738674164, -0.040617235004901886, 0.010154308751225471, -0.01478227786719799, 0.0034278733655810356, 0.03825787827372551, 0.01327591948211193, 0.04410182312130928, -0.035717032849788666, 0.024882139638066292, -0.0016277293907478452, -0.00836210511624813, -0.016805879771709442, -0.0216697845607996, 0.04834866523742676, 0.037894900888204575, 0.04275880381464958, 0.01914708875119686, -0.09219640493392944, 0.03333952650427818, -0.03934681415557861, 0.011225094087421894, -0.022286847233772278, -0.06163366138935089, -0.03468254581093788, -0.01677865721285343, -0.024736948311328888, -0.0036433914210647345, -0.0027177976444363594, -0.019183386117219925, 0.04210544377565384, -0.028820451349020004, -0.015181553550064564, -0.028584515675902367, -0.019909342750906944, -0.0006873895181342959, 0.017404794692993164, 0.030490150675177574, -0.0007412690902128816, 0.015353968366980553, 0.019836746156215668, 0.01725960336625576, -0.14228737354278564, -0.013039983808994293, 0.01133398711681366, 0.061778850853443146, -0.005725977476686239, -0.011588071472942829, -0.0465700738132, 0.03891123831272125, -0.007527255918830633, 0.04544484242796898, -0.0029650763608515263, 0.02673332765698433, -0.049691684544086456, 0.004691490437835455, -0.017268676310777664, -0.03598926588892937, 0.0254447553306818, -0.0019090372370555997, -0.007640686351805925, -0.010353947058320045, -0.07687873393297195, 0.030000129714608192, -0.0805085152387619, -0.024428417906165123, -0.028965642675757408, 0.043629951775074005, 0.08312195539474487, -0.028983792290091515, 0.03223244473338127, -0.011243242770433426, 0.03658818081021309, -0.03535405546426773, -0.011061754077672958, 0.011978273279964924, -0.0033575461711734533, -0.0012148419627919793, -0.01787666603922844, -0.02194201946258545, 0.043521057814359665, 0.012250506319105625, -0.019455619156360626, 0.009564469568431377, -0.048965729773044586, -0.0592380054295063, 0.028584515675902367, -0.010980083607137203, -0.012041794136166573, -0.053430359810590744, -0.03938310965895653, 0.004446480423212051, -0.00969151221215725, 0.05074432119727135, 0.003330322913825512, 0.02199646458029747, -0.0021358984522521496 ]
40,978
pyglove.core.object_utils.value_location
__le__
null
def __le__(self, other: Any) -> bool: return self._compare(other, operator.le)
(self, other: Any) -> bool
[ -0.005490594543516636, 0.013996305875480175, -0.020369164645671844, 0.053552571684122086, -0.03028821013867855, -0.05129123479127884, -0.03820288926362991, 0.014972792007029057, -0.008848337456583977, -0.05550554394721985, 0.03325193375349045, -0.04019012674689293, 0.0761316791176796, -0.01869029365479946, -0.05331273376941681, -0.026176689192652702, -0.0610218346118927, 0.03001410886645317, -0.03033960424363613, 0.006308616138994694, -0.0327722541987896, 0.038682568818330765, 0.02564561739563942, 0.028078267350792885, 0.02941451221704483, 0.09641518443822861, -0.023418543860316277, 0.02093449793756008, -0.05440913885831833, 0.04378770664334297, -0.048687271773815155, -0.03690090775489807, 0.010698522441089153, -0.07462412118911743, 0.044918376952409744, -0.015726570039987564, -0.03225831314921379, 0.03953913599252701, -0.03631844371557236, -0.020591871812939644, 0.025782668963074684, -0.04138932004570961, -0.0023105896543711424, -0.007953224703669548, -0.021174337714910507, -0.0357702411711216, -0.016351865604519844, -0.019701041281223297, 0.029345987364649773, 0.018741687759757042, 0.024206584319472313, -0.06252939254045486, 0.005888898391276598, 0.01643752120435238, -0.07578904926776886, 0.03888814523816109, 0.00245406455360353, 0.040704067796468735, -0.05310715734958649, 0.046768561005592346, -0.05762983113527298, 0.003042954485863447, 0.012865637429058552, -0.023041654378175735, 0.021020155400037766, -0.033594559878110886, -0.06725764274597168, -0.014398892410099506, 0.0013426688965409994, 0.05019482970237732, -0.07311656326055527, 0.01843332313001156, -0.001210971619002521, 0.012180383317172527, -0.08743836730718613, 0.009310883469879627, -0.03402284160256386, 0.044370174407958984, 0.018656030297279358, -0.01238595973700285, 0.00818449817597866, -0.03618139028549194, 0.022596238180994987, 0.010647128336131573, -0.03755189850926399, 0.0028009742964059114, -0.03167584910988808, -0.0036596828140318394, 0.042074572294950485, 0.007285102736204863, -0.042999666184186935, 0.06270071119070053, 0.006539889611303806, -0.02667349763214588, 0.04752233996987343, 0.038956668227910995, -0.008085993118584156, 0.03230970725417137, 0.01241165678948164, 0.023658381775021553, 0.038408465683460236, 0.04779643937945366, 0.029345987364649773, -0.007165183313190937, 0.03522203862667084, 0.006736899726092815, -0.01666879467666149, -0.03438260033726692, -0.04861874505877495, -0.007794760167598724, -0.05396372452378273, -0.012428787536919117, -0.02554282918572426, 0.015658045187592506, -0.01930702105164528, 0.04347934201359749, 0.043547868728637695, -0.010518643073737621, 0.01641182415187359, -0.011006886139512062, 0.03475949168205261, 0.012428787536919117, 0.04416459798812866, 0.017328351736068726, 0.013807861134409904, 0.002017215359956026, 0.031795769929885864, 0.011803493835031986, -0.0724998340010643, -0.012009070254862309, 0.07380181550979614, 0.023212967440485954, -0.011692140251398087, 0.037312060594558716, 0.03734632208943367, -0.0001668967306613922, 0.04587773233652115, 0.04673429951071739, -0.007396456319838762, -0.005006634164601564, -0.008788377977907658, -0.010929795913398266, 0.0665723904967308, 0.026279477402567863, -0.026981862261891365, 0.016206247732043266, -0.09312596917152405, 0.06712059676647186, 0.011092543601989746, 0.07078669965267181, -0.002544004237279296, -0.01870742440223694, 0.03744911029934883, 0.020420558750629425, -0.034416865557432175, -0.00838150829076767, -0.03018542192876339, -0.002779560163617134, 0.0012206080136820674, 0.030579444020986557, 0.03208700194954872, 0.018176352605223656, 0.010861270129680634, 0.007246557157486677, -0.01314830407500267, -0.019341284409165382, -0.0327722541987896, 0.013576587662100792, -0.0005139402346685529, 0.05221632868051529, 0.0669492781162262, -0.014518811367452145, -0.0004539805231615901, 0.025662748143076897, -0.03434833884239197, -0.002948732115328312, 0.00880550965666771, 0.07551494985818863, 0.0008158801356330514, 0.009584985673427582, 0.008085993118584156, 0.02891770377755165, -0.06270071119070053, -0.03275512531399727, 0.05506012961268425, -0.01046724896878004, -0.004162915982306004, 0.009328015148639679, 0.016249077394604683, 0.042177360504865646, -0.06379711627960205, -0.02257910743355751, 0.007734800223261118, -0.0327722541987896, 0.00009877288539428264, 0.005088008474558592, -0.03652402013540268, -0.007499244529753923, 0.049406785517930984, 0.05762983113527298, -0.020095063373446465, 0.011786362156271935, 0.01848471723496914, -0.03253241628408432, 0.04598052054643631, -0.029757138341665268, -0.026998993009328842, -0.0006911425152793527, 0.0357702411711216, -0.07099227607250214, 0.0030729342252016068, -0.05769835785031319, -0.03669533133506775, 0.04275982826948166, 0.01648891530930996, 0.01539251022040844, -0.014047699980437756, -0.04090964049100876, -0.013439537025988102, 0.0001045279495883733, 0.09696339070796967, -0.018107827752828598, -0.0007082739030010998, -0.05855492502450943, 0.04001881182193756, 0.011469433084130287, -0.019426940008997917, -0.02497749589383602, -0.029945584014058113, 0.004895280580967665, 0.04001881182193756, -0.003593298839405179, 0.026450790464878082, -0.045192476361989975, -0.00824445765465498, 0.01701142080128193, -0.034416865557432175, 0.05129123479127884, -0.049338262528181076, 0.03482801467180252, 0.022390661761164665, 0.023915352299809456, 0.01303695049136877, 0.0011884868144989014, 0.012163251638412476, -0.08017467707395554, -0.018244877457618713, 0.037312060594558716, 0.02646792121231556, 0.05396372452378273, -0.04001881182193756, -0.06729190796613693, -0.026981862261891365, -0.019940881058573723, -0.018244877457618713, -0.009996137581765652, -0.017371179535984993, -0.058143772184848785, 0.04632314667105675, 0.010561471804976463, 0.0064413840882480145, 0.04632314667105675, -0.006475646980106831, 0.01803930290043354, -0.04707692563533783, 0.004411320202052593, 0.01798790879547596, 0.021825328469276428, 0.047762177884578705, 0.004544088151305914, 0.027752771973609924, -0.08229896426200867, -0.02859220840036869, 0.03768894821405411, -0.005571968853473663, 0.0020975186489522457, 0.059514276683330536, -0.03278938680887222, -0.03472522646188736, -0.0204034261405468, 0.011400907300412655, -0.0004852987767662853, -0.05903460085391998, -0.05862344801425934, -0.07078669965267181, 0.023041654378175735, -0.036112867295742035, -0.05622506141662598, -0.03515351191163063, -0.07325361669063568, 0.06972455978393555, -0.008278720080852509, 0.02389821968972683, 0.0008544256561435759, 0.048241857439279556, -0.006831122096627951, 0.042177360504865646, -0.03905945643782616, 0.05790393054485321, 0.01541820727288723, 0.015409640967845917, -0.0346224382519722, -0.02619381994009018, -0.04296540468931198, -0.0003257631615269929, -0.00934514682739973, -0.00989334937185049, 0.03690090775489807, -0.017525361850857735, 0.02180819772183895, -0.009610681794583797, 0.02400100789964199, -0.01227460615336895, -0.023641251027584076, 0.011863453313708305, 0.020711790770292282, 0.04426738619804382, 0.0015343257691711187, -0.022442055866122246, 0.059137389063835144, -0.007148052100092173, 0.058794762939214706, -0.07311656326055527, -0.024343635886907578, -0.02974000759422779, -0.05101713165640831, -0.008060296066105366, 0.012188948690891266, 0.020574741065502167, 0.030373867601156235, 0.007447850424796343, -0.04019012674689293, 0.1083386018872261, 0.029294593259692192, 0.02831810712814331, 0.02953443117439747, 0.04498689994215965, 0.01978669874370098, 0.008814075030386448, -0.01908431388437748, 0.005379240959882736, 0.011632180772721767, 0.005212210584431887, -0.023932483047246933, 0.020848842337727547, -0.008094558492302895, -0.027530064806342125, 0.051256973296403885, 0.07667988538742065, 0.012171817943453789, -0.02953443117439747, -0.011666443198919296, 0.020317770540714264, -0.04577494412660599, 0.03023681603372097, -0.014929963275790215, -0.01952972821891308, 0.017508231103420258, 0.01337101124227047, 0.013328183442354202, 0.04783070459961891, -0.0463574081659317, -0.03427981212735176, 0.010295935906469822, -0.07462412118911743, 0.0006327889277599752, -0.03325193375349045, -0.023469937965273857, -0.057321466505527496, 0.014201881363987923, -0.020797448232769966, -0.005344978533685207, 0.040053073316812515, -0.02317870408296585, -0.021191468462347984, -0.023315755650401115, -0.034690964967012405, 0.03278938680887222, -0.040978167206048965, 0.01000470295548439, 0.08469735085964203, 0.044096071273088455, 0.01550386380404234, 0.009670642204582691, 0.022510582581162453, 0.005910312756896019, 0.01776519976556301, -0.012454484589397907, 0.03227544575929642, 0.01983809284865856, 0.007280820049345493, -0.0486530065536499, -0.07010144740343094, -0.0013780022272840142, -0.06670944392681122, -0.016951462253928185, 0.004240006674081087, -0.009662075899541378, -0.032669465988874435, -0.04269130155444145, 0.06712059676647186, 0.056567687541246414, -0.019649647176265717, 0.006107322871685028, 0.04173194617033005, 0.054648976773023605, 0.035187773406505585, 0.026998993009328842, -0.05982264131307602, 0.0655445083975792, -0.08654753118753433, 0.009644945152103901, -0.0245492123067379, -0.029928453266620636, -0.04258851334452629, -0.031350355595350266, 0.017002856358885765, 0.019889486953616142, 0.05636211112141609, -0.021842459216713905, 0.016797279939055443, -0.026604972779750824, -0.0077390833757817745, -0.02012932486832142, 0.005490594543516636, -0.005730433389544487, 0.025782668963074684, 0.006227242294698954, -0.027255963534116745, -0.006694071460515261, -0.03314914554357529, 0.01289989985525608, 0.0334746390581131, 0.011435169726610184, 0.045089688152074814, -0.008441467769443989, -0.02422371692955494, -0.06496204435825348, 0.02602250687777996, 0.002745297271758318, 0.029123280197381973, -0.016548875719308853, 0.022493449971079826, -0.010235976427793503, -0.017799463123083115, -0.01241165678948164, 0.03549613803625107, 0.010758481919765472, 0.05211354047060013, -0.01798790879547596, -0.0033855813089758158, 0.024583473801612854, -0.039127983152866364, 0.0012184666702523828, -0.010510077700018883, -0.041971784085035324, -0.05838361009955406, -0.06270071119070053, -0.011683574877679348, 0.021242862567305565, -0.0033598842564970255, -0.019992275163531303, -0.024908969178795815, 0.0069082132540643215, -0.05855492502450943, 0.024806180968880653, 0.011632180772721767, -0.005237907636910677, -0.008450034074485302, 0.064653679728508, 0.030682232230901718, -0.08373799175024033, -0.011041149497032166, 0.012814243324100971, -0.03434833884239197, 0.046562984585762024, -0.03439973294734955, -0.013525193557143211, 0.004479845520108938, -0.039333559572696686, 0.0029230350628495216, 0.021465569734573364, 0.02843802608549595, -0.03810010105371475, 0.027821296826004982, -0.07270541042089462, -0.06664091348648071, 0.03023681603372097, -0.011469433084130287, -0.024634867906570435, 0.008839772082865238, -0.009739167056977749, -0.047213975340127945, 0.1009378582239151, 0.02689620479941368, -0.026656366884708405, 0.005970272235572338, 0.014638731256127357, 0.013705072924494743, 0.0436163954436779, -0.020951630547642708, 0.05036614090204239, -0.03683238476514816, 0.0035504703409969807, 0.058760497719049454, 0.038031578063964844, 0.042519986629486084, -0.019752435386180878, -0.05159959942102432, 0.04855021834373474, 0.02602250687777996, -0.06091904640197754, 0.04687134921550751, 0.025697011500597, 0.04128653183579445, 0.001733477576635778, 0.008552822284400463, -0.025953982025384903, -0.00314360111951828, -0.011169633828103542, 0.05461471527814865, -0.03378300368785858, -0.015829358249902725, -0.062460869550704956, -0.011752099730074406, -0.02958582527935505, -0.028026873245835304, -0.05615653470158577, 0.01985522359609604, -0.012942727655172348, -0.018793081864714622, -0.03724353387951851, 0.02629660815000534, 0.011358078569173813, -0.07592610269784927, 0.058966074138879776, -0.0651676207780838, 0.07373329252004623, -0.012240342795848846, 0.056944578886032104, 0.012283171527087688, -0.018724555149674416, 0.0536896213889122, 0.0045055425725877285, -0.022836077958345413, 0.03133322298526764, -0.047213975340127945, 0.02941451221704483, -0.008514276705682278, 0.02980853244662285, -0.021448438987135887, -0.027958348393440247, -0.004903846420347691, 0.029500169679522514, -0.006197262555360794, -0.01320826355367899, -0.027101781219244003, 0.06424252688884735, 0.048413168638944626, 0.02722170017659664, 0.0019861648324877024, 0.020471952855587006, 0.011666443198919296, -0.058143772184848785, -0.04755660146474838, -0.015803661197423935, 0.0591716505587101, -0.047111187130212784, 0.02011219412088394, 0.07695398479700089, 0.0341770239174366, 0.020214982330799103, -0.06760027259588242, -0.02579979971051216, -0.002053619595244527, 0.05064024403691292, -0.04121800512075424, 0.045843467116355896, -0.07106079906225204, -0.06938192993402481, -0.046117570251226425, 0.005396372172981501, 0.01908431388437748, -0.04608330875635147, 0.024754786863923073, -0.053997986018657684, -0.00913100503385067, 0.018124958500266075, -0.029174674302339554, -0.012231777422130108, -0.04714544862508774, -0.019803829491138458, -0.009122438728809357, -0.03287504240870476, -0.0061458684504032135, 0.021225731819868088, -0.0012730727903544903, 0.006514192558825016, 0.017919382080435753, 0.04275982826948166, 0.049406785517930984, 0.026433659717440605, -0.03155592828989029, -0.06564729660749435, 0.024429291486740112, 0.017431139945983887, 0.014253275468945503, -0.0195125974714756, -0.0018898010021075606, -0.008916863240301609, 0.06715485453605652, 0.011452301405370235, 0.03499932959675789, -0.01634329929947853, 0.014141921885311604, 0.015469600446522236, 0.017251260578632355, -0.02324722893536091, -0.007597749587148428, 0.04282835125923157, 0.011803493835031986, 0.026382265612483025, 0.008013185113668442, 0.02554282918572426, -0.02646792121231556, -0.08291569352149963, 0.05108565837144852, -0.020026536658406258, 0.04413033276796341, -0.010124622844159603, 0.01746540144085884, -0.023538462817668915, 0.08586227893829346, -0.04920121282339096, -0.06849110126495361, -0.05862344801425934, -0.0018373363418504596, 0.0020568317268043756, 0.010698522441089153, 0.0018855181988328695, -0.08846624195575714, 0.04625461995601654, -0.04347934201359749, 0.007370759267359972, -0.05636211112141609, -0.0036639655008912086, -0.003935925662517548, 0.006308616138994694, 0.010587168857455254, -0.02389821968972683, -0.01958112232387066, 0.07195163518190384, -0.003674672683700919, 0.010741351172327995, -0.06201545521616936, 0.009148135781288147, 0.02991132065653801, 0.030373867601156235, 0.01983809284865856, -0.027649983763694763, 0.023093046620488167, -0.006227242294698954, 0.026210950687527657, -0.03285791352391243, 0.023881088942289352, 0.020814578980207443, 0.02180819772183895, -0.01618911698460579, -0.008814075030386448, -0.002368407789617777, -0.04536379128694534, -0.0037496222648769617, 0.006321464665234089, -0.04478132352232933, 0.03683238476514816, -0.04526100307703018, -0.009936178103089333, 0.007460698951035738, -0.0138849513605237, -0.036386966705322266, -0.04193752259016037, 0.04025864973664284, -0.05173664912581444, -0.04515821486711502, -0.011657877825200558, 0.019221363589167595, -0.018450453877449036, 0.06903930753469467, 0.05074303224682808, -0.02826671302318573, 0.02734162099659443, -0.01331105176359415, 0.0024155189748853445, -0.018450453877449036, -0.009876217693090439, 0.019820962101221085, -0.02554282918572426, -0.004484128672629595, 0.009173832833766937, -0.014578770846128464, 0.03964192420244217, -0.03755189850926399, 0.008561387658119202, 0.014184750616550446, 0.025834061205387115, 0.009670642204582691, -0.00455265399068594, -0.001790225156582892, 0.08819214254617691, -0.03150453418493271, -0.0327722541987896, 0.0678401067852974, -0.012128989212214947, -0.11416325718164444, -0.00008779812196735293, -0.009533591568470001, 0.035290561616420746, 0.03679811954498291, 0.004544088151305914, 0.025354385375976562, -0.05320994555950165, 0.008351529017090797, 0.03765468671917915, -0.03535908833146095, 0.007366476580500603, 0.020900236442685127, 0.05622506141662598, -0.06708633154630661, -0.03768894821405411, -0.03191568702459335, 0.035016462206840515, 0.04293113946914673, 0.00918239913880825, 0.030476655811071396, 0.004861018154770136, 0.019940881058573723, -0.04714544862508774, -0.0015171943232417107, 0.038305677473545074, 0.07907827198505402, 0.04337655380368233, 0.0016435380093753338, 0.04817333072423935, -0.049783676862716675, 0.010886967182159424, -0.02405240200459957, 0.011075411923229694, 0.060816261917352676, -0.013627981767058372, -0.01648891530930996, -0.036763858050107956, -0.017533928155899048, 0.05416930094361305, -0.03287504240870476, 0.015144105069339275, 0.08798656612634659, -0.026553578674793243, 0.0067711626179516315, -0.02148270234465599, -0.026604972779750824, -0.061707090586423874, 0.0348794087767601, -0.006993869785219431, 0.002839519642293453, 0.00832154881209135, 0.018775949254631996, 0.0006349303293973207, 0.10964058339595795 ]
40,979
pyglove.core.object_utils.value_location
__len__
Use depth as length of current path.
def __len__(self) -> int: """Use depth as length of current path.""" return self.depth
(self) -> int
[ 0.013598251156508923, 0.006489704363048077, -0.013516824692487717, 0.047748591750860214, 0.02361373044550419, 0.024151146411895752, 0.0009170676930807531, -0.00026743568014353514, 0.003560380544513464, -0.003279458498582244, 0.02577967941761017, -0.04797658696770668, 0.004154795315116644, 0.009046501480042934, -0.0038555520586669445, 0.01928183250129223, 0.05611925199627876, 0.00462910532951355, 0.005284590180963278, 0.0726977214217186, 0.009119785390794277, 0.05885518714785576, 0.0614934116601944, -0.051657069474458694, -0.06067914515733719, 0.03735854849219322, 0.050712522119283676, 0.025242263451218605, 0.05328560248017311, -0.04996339604258537, -0.11021912097930908, -0.017392734065651894, 0.00791874248534441, 0.03442718833684921, 0.001757797901518643, 0.009005787782371044, -0.031186409294605255, 0.022913461551070213, -0.04625033959746361, -0.02776649035513401, -0.03154468536376953, 0.011766151525080204, -0.04781373217701912, -0.013362114317715168, 0.020438089966773987, -0.03621857613325119, 0.023418305441737175, -0.025975102558732033, -0.042016156017780304, -0.042016156017780304, 0.026724228635430336, 0.024558279663324356, 0.010072477161884308, -0.018988696858286858, 0.00037074575084261596, 0.043840110301971436, 0.031007271260023117, 0.0003669288707897067, 0.009779341518878937, -0.009738627821207047, -0.011872006580233574, -0.006131427362561226, 0.026691658422350883, -0.040876179933547974, -0.03911736607551575, -0.04165787622332573, -0.04364468902349472, 0.056835804134607315, 0.018483851104974747, 0.03862880542874336, -0.03667456656694412, 0.03442718833684921, 0.011709152720868587, 0.03323836252093315, -0.020666085183620453, -0.007299899589270353, -0.03928021714091301, 0.03281494230031967, 0.10696205496788025, -0.0363488607108593, -0.031267836689949036, -0.010960027575492859, 0.03608829528093338, 0.01477893814444542, 0.05719408392906189, 0.03187039494514465, 0.01944468542933464, -0.01562577486038208, -0.014721939340233803, 0.04221157729625702, -0.04937712475657463, 0.07256743311882019, -0.009649058803915977, -0.0009358976385556161, -0.005402658600360155, 0.008737079799175262, 0.024493137374520302, -0.02942759357392788, 0.019037552177906036, -0.04172302037477493, -0.020666085183620453, 0.05380673334002495, 0.014168238267302513, 0.01939583010971546, -0.02784791588783264, 0.004783816169947386, -0.005602153949439526, -0.022148050367832184, -0.019004981964826584, 0.0037822681479156017, -0.01656218245625496, 0.019118979573249817, 0.02382543869316578, 0.0174904465675354, -0.001435144804418087, 0.023043744266033173, -0.02739192731678486, -0.04810686782002449, 0.029737014323472977, 0.0013394685229286551, 0.056444957852363586, 0.024818845093250275, -0.02433028444647789, -0.024379141628742218, 0.04162530601024628, 0.06113513186573982, -0.05022396147251129, 0.0066362726502120495, -0.019037552177906036, -0.026691658422350883, 0.04462180659174919, 0.021366354078054428, -0.015853770077228546, 0.010194617323577404, 0.07628048956394196, 0.0030982843600213528, 0.03294522687792778, -0.011416017077863216, -0.05361131206154823, 0.044686947017908096, 0.0061965687200427055, -0.001145062386058271, 0.03240780904889107, -0.031609829515218735, -0.03187039494514465, 0.0769970491528511, 0.03563230484724045, 0.02459084987640381, -0.012450135312974453, 0.019900674000382423, -0.0025120123755186796, -0.012857268564403057, 0.04191844165325165, 0.009005787782371044, 0.03967106714844704, -0.008851077407598495, -0.055728401988744736, -0.03187039494514465, 0.055598121136426926, -0.056314677000045776, -0.04722746089100838, -0.04390525445342064, -0.06393621116876602, -0.05374159291386604, -0.010414469055831432, 0.006282066460698843, -0.025535399094223976, -0.03416662663221359, -0.05019139125943184, 0.05136393383145332, 0.05813863128423691, -0.0007079030037857592, 0.005923789460211992, 0.011578870937228203, 0.0032489236909896135, 0.060809426009655, -0.032163530588150024, 0.06768183410167694, 0.0042545427568256855, 0.014966219663619995, -0.02208290994167328, -0.04745545610785484, -0.0016590681625530124, -0.014062383212149143, 0.07510794699192047, 0.028645897284150124, 0.01454280037432909, 0.02560054138302803, 0.02967187389731407, 0.03621857613325119, -0.06527160853147507, 0.017295021563768387, 0.04673890024423599, -0.021464066579937935, 0.015951482579112053, -0.03416662663221359, 0.03465518355369568, -0.018207000568509102, 0.03159354254603386, 0.02250632829964161, -0.051657069474458694, 0.009274495765566826, 0.003945121541619301, -0.02980215661227703, -0.010186474770307541, 0.049149129539728165, -0.00552072748541832, 0.044654376804828644, -0.03358035162091255, 0.02568196691572666, -0.07986326515674591, -0.04325383901596069, 0.09549718350172043, 0.0008712652488611639, 0.022766893729567528, -0.08338089287281036, -0.051982779055833817, 0.005842362530529499, 0.033938631415367126, 0.021968912333250046, 0.09693028777837753, 0.03540430963039398, 0.0017079240642488003, -0.015226785093545914, -0.05051709711551666, -0.06475047767162323, -0.0021435567177832127, 0.003489132272079587, -0.016839032992720604, -0.03323836252093315, -0.003269280306994915, -0.04673890024423599, 0.00853351317346096, 0.036446571350097656, 0.017181023955345154, 0.005247947759926319, -0.02441171184182167, 0.020910365507006645, -0.01205928809940815, -0.03869394585490227, -0.05582611635327339, -0.04983311519026756, 0.012262854725122452, 0.01783243753015995, -0.02955787628889084, 0.005321232136338949, 0.017555586993694305, 0.025160836055874825, 0.03830309957265854, -0.009005787782371044, -0.036414001137018204, -0.0216594897210598, -0.09393379092216492, 0.007743674796074629, 0.0034382406156510115, -0.028727324679493904, -0.04227672144770622, -0.024297714233398438, -0.018207000568509102, 0.0024244787637144327, -0.017604442313313484, -0.049311984330415726, -0.019965816289186478, 0.04605491831898689, -0.0363488607108593, 0.020666085183620453, 0.03436204791069031, -0.05204791948199272, -0.058366626501083374, 0.02174091711640358, 0.0015735700726509094, 0.020731227472424507, -0.002705400576815009, -0.001396467094309628, -0.05924603343009949, -0.028515614569187164, -0.000049364909500582144, 0.0293461661785841, -0.03774939849972725, 0.017343876883387566, 0.012433850206434727, -0.016269046813249588, -0.07784388214349747, -0.01830471307039261, -0.08155693858861923, 0.026854511350393295, 0.016790175810456276, 0.0025771537330001593, -0.057128943502902985, 0.010601750575006008, 0.03180525079369545, 0.0237765833735466, 0.009347779676318169, 0.05582611635327339, 0.11718924343585968, -0.0628613755106926, -0.03206581622362137, -0.0010575286578387022, 0.041039034724235535, 0.014844079501926899, -0.042179007083177567, -0.05211305990815163, -0.02385801076889038, -0.011033311486244202, 0.008386945351958275, 0.02517712116241455, 0.027196502313017845, -0.0009923874167725444, 0.04449152573943138, 0.02556796930730343, -0.01520235650241375, 0.02985101193189621, -0.009526918642222881, 0.03765168413519859, 0.05087537318468094, -0.008647510781884193, -0.026512518525123596, -0.001451430143788457, -0.031153839081525803, 0.10044792294502258, -0.04302584379911423, 0.05338331684470177, -0.015633918344974518, -0.02781534567475319, -0.011709152720868587, 0.016488898545503616, 0.07719247043132782, 0.03800996392965317, 0.020226381719112396, 0.013345829211175442, -0.042048726230859756, -0.0071248323656618595, 0.04348183423280716, -0.022783178836107254, -0.033906061202287674, 0.002227019052952528, 0.028303906321525574, 0.013638964854180813, -0.04318869858980179, 0.007759960368275642, 0.07113432884216309, -0.005174663849174976, -0.025421401485800743, -0.0010707605397328734, 0.06240538880228996, -0.011057740077376366, 0.07667133957147598, -0.0022310903295874596, 0.05576097592711449, 0.048172008246183395, -0.0034484188072383404, -0.006310565862804651, -0.02178977243602276, -0.030079007148742676, -0.03410148248076439, -0.02216433547437191, 0.01907012239098549, 0.003662163857370615, -0.0033303501550108194, 0.05406729876995087, 0.03154468536376953, 0.01659475266933441, -0.04416581988334656, 0.005573654547333717, 0.018874699249863625, -0.03367806598544121, -0.005109522491693497, -0.0174904465675354, 0.02229461818933487, -0.0052560907788574696, -0.0237765833735466, -0.04657604545354843, 0.024493137374520302, -0.03954078257083893, 0.021333783864974976, 0.05569583177566528, -0.008997645229101181, 0.019428400322794914, 0.003442311892285943, -0.0033466354943811893, -0.01392395794391632, 0.04488237202167511, 0.006387921050190926, -0.012686273083090782, -0.002754256594926119, 0.014550943858921528, -0.049442265182733536, -0.037553973495960236, 0.0023776583839207888, 0.035436879843473434, -0.022783178836107254, 0.008032739162445068, -0.014860364608466625, -0.02649623341858387, -0.04445895552635193, 0.000678385840728879, 0.02921588346362114, -0.005508513189852238, 0.011692867614328861, 0.032456666231155396, 0.05771521478891373, -0.025958817452192307, -0.012824698351323605, 0.0642944872379303, 0.012555990368127823, -0.0020336308516561985, 0.06100485101342201, 0.053643882274627686, -0.06865895539522171, -0.04585949331521988, 0.0023247310891747475, -0.003503381973132491, -0.034752897918224335, 0.03563230484724045, 0.035730015486478806, -0.09386865049600601, 0.05396958813071251, -0.003928835969418287, 0.06491333246231079, 0.008036810904741287, -0.019477255642414093, 0.01584562659263611, 0.01944468542933464, 0.06318708509206772, 0.006681057158857584, 0.008142665959894657, -0.031186409294605255, 0.023744013160467148, 0.011741723865270615, 0.05455585941672325, -0.07204630225896835, -0.014339233748614788, 0.007751817815005779, 0.0017679763259366155, -0.019412115216255188, -0.025209693238139153, -0.001038698828779161, -0.041332170367240906, 0.003749697469174862, 0.03732597827911377, 0.045664068311452866, 0.03556716442108154, 0.02021009661257267, 0.04712975025177002, 0.025958817452192307, -0.05214563012123108, 0.01757187210023403, -0.013622679747641087, -0.0019857925362885, -0.04582692310214043, -0.05455585941672325, -0.012564132921397686, 0.0026463663671165705, -0.022148050367832184, -0.04778116196393967, -0.03494831919670105, -0.08325061202049255, 0.025193408131599426, -0.031528402119874954, -0.03595801070332527, -0.00846837181597948, 0.08038439601659775, 0.007365040946751833, -0.011896434240043163, -0.02467227727174759, -0.03507860377430916, 0.009307066909968853, 0.015585062094032764, -0.04540350288152695, -0.049442265182733536, 0.060614001005887985, -0.012034859508275986, -0.08344604074954987, -0.034883178770542145, 0.052503906190395355, 0.02403714880347252, 0.0005664241616614163, -0.005219448823481798, -0.020519517362117767, -0.04631548374891281, -0.05787806585431099, -0.026952223852276802, -0.006143641192466021, -0.011758008971810341, -0.01939583010971546, -0.017865007743239403, -0.08084038645029068, 0.029443878680467606, 0.023206597194075584, -0.030942128971219063, -0.015324496664106846, -0.022734321653842926, -0.054751284420490265, 0.004804172553122044, 0.05563069134950638, 0.046348053961992264, 0.021040648221969604, -0.010797174647450447, -0.03196810558438301, -0.004783816169947386, -0.05523984506726265, 0.014331091195344925, 0.0538393035531044, -0.0060418578796088696, -0.04374239966273308, 0.05256905034184456, 0.025193408131599426, -0.014738224446773529, 0.012319853529334068, -0.01303640753030777, 0.03862880542874336, -0.01182315032929182, 0.019509827718138695, 0.04094132408499718, 0.024867700412869453, 0.05745464935898781, 0.001677389140240848, 0.016065478324890137, 0.06305680423974991, 0.028434189036488533, -0.0022331259679049253, -0.050549667328596115, 0.024558279663324356, -0.08305519074201584, 0.006689199712127447, 0.010772746987640858, 0.009714200161397457, -0.0017700119642540812, 0.04423096030950546, 0.079798124730587, 0.044002965092659, 0.013467969372868538, 0.029476448893547058, 0.07595478743314743, 0.03859623521566391, 0.02581224963068962, -0.02900417521595955, -0.0188584141433239, -0.02916702814400196, 0.04556635767221451, 0.02858075685799122, -0.07517308741807938, 0.015454779379069805, -0.03719569742679596, -0.016431899741292, 0.0059930020943284035, 0.03465518355369568, -0.06234024837613106, 0.07934213429689407, -0.001974596409127116, -0.027652492746710777, 0.008606797084212303, -0.02441171184182167, 0.001230560359545052, 0.09829825907945633, 0.04198358207941055, -0.012108143419027328, -0.03540430963039398, 0.02573082409799099, -0.01038189884275198, -0.0040102628991007805, -0.015226785093545914, -0.008386945351958275, -0.029704444110393524, -0.01791386492550373, -0.025535399094223976, -0.03999677300453186, 0.024086004123091698, 0.002809219527989626, 0.04055047407746315, -0.03589287027716637, 0.038954511284828186, -0.019851818680763245, -0.021887484937906265, 0.006909051910042763, -0.0033507070038467646, -0.030502425506711006, 0.03729340806603432, 0.022734321653842926, -0.02942759357392788, 0.03384091705083847, -0.003081999020650983, 0.007967598736286163, 0.03660942614078522, -0.032586947083473206, 0.010170189663767815, -0.007755889091640711, 0.016871603205800056, -0.0461851991713047, -0.03103984147310257, -0.03954078257083893, -0.044100675731897354, 0.020747512578964233, -0.03621857613325119, 0.007605249527841806, -0.007861743681132793, -0.04312355816364288, -0.021252356469631195, 0.025551684200763702, -0.0011796687031164765, -0.007735532242804766, -0.005028096027672291, -0.040192198008298874, 0.10272786766290665, -0.007295828312635422, -0.015593204647302628, 0.05872490257024765, 0.04905141890048981, -0.03533916920423508, 0.02258775383234024, 0.018272140994668007, -0.0014147881884127855, 0.025128265842795372, -0.065727598965168, -0.08474886417388916, -0.001222417689859867, 0.01999838650226593, 0.007332470268011093, 0.005370087921619415, 0.033906061202287674, -0.07334913313388824, 0.018565278500318527, -0.03310807794332504, -0.025111980736255646, -0.0475531667470932, 0.03011157736182213, 0.01356568094342947, -0.01454280037432909, -0.02322288230061531, -0.0482371523976326, 0.0188584141433239, -0.027017364278435707, -0.009803769178688526, -0.04416581988334656, -0.03019300475716591, -0.06100485101342201, -0.04302584379911423, -0.015283782966434956, -0.01817443035542965, 0.03201696276664734, -0.04139731079339981, 0.017392734065651894, -0.07080861926078796, -0.0018259927164763212, -0.0558912567794323, -0.032033246010541916, -0.008236306719481945, 0.02657766081392765, 0.000004953984898747876, -0.024997983127832413, -0.001075849635526538, -0.009673486463725567, 0.015145357698202133, 0.007189973723143339, 0.0008086684974841774, -0.005325303412973881, 0.07087375968694687, -0.0028886105865240097, -0.021089503541588783, -0.026479948312044144, -0.025030553340911865, -0.01762072928249836, 0.010960027575492859, -0.01770215481519699, 0.018776986747980118, -0.034036342054605484, 0.04113674536347389, -0.05214563012123108, 0.032863799482584, -0.04055047407746315, -0.017979005351662636, 0.010903029702603817, -0.010960027575492859, -0.019298117607831955, -0.05211305990815163, -0.016163190826773643, 0.0013618607772514224, 0.033612921833992004, 0.0726325735449791, 0.008293304592370987, -0.04712975025177002, 0.03592544049024582, -0.045664068311452866, -0.008867362514138222, 0.07634562999010086, 0.08005868643522263, -0.032766085118055344, 0.03595801070332527, 0.09002531319856644, -0.0034524903167039156, -0.026740513741970062, -0.07484738528728485, 0.029688159003853798, 0.036153435707092285, -0.008036810904741287, -0.021887484937906265, 0.004848957527428865, 0.02708250656723976, 0.0279781986027956, -0.0559563972055912, 0.050256531685590744, 0.03719569742679596, -0.017001885920763016, -0.05230848491191864, -0.0010850102407857776, -0.03234266862273216, -0.029688159003853798, -0.00548815680667758, -0.014933648519217968, 0.01778358221054077, -0.024558279663324356, 0.06136312708258629, 0.025502828881144524, -0.09250067919492722, -0.05087537318468094, 0.02156177908182144, 0.012588560581207275, 0.04866056889295578, -0.023678870871663094, -0.012360566295683384, 0.005410801153630018, 0.02641480788588524, 0.019086407497525215, 0.018353568390011787, -0.024379141628742218, 0.023157741874456406, 0.023336879909038544, 0.007890243083238602, 0.0046942466869950294, -0.014884792268276215, -0.054588429629802704, -0.029443878680467606, 0.002373587107285857, -0.03550202026963234, -0.008720794692635536, 0.010797174647450447, 0.016741320490837097, -0.011652154847979546, 0.011171736754477024, 0.008688224479556084, 0.06598816066980362, 0.047748591750860214, -0.02713136188685894, -0.00541487243026495, 0.05634724721312523, -0.015120930038392544, 0.011692867614328861, 0.06683500111103058, -0.01939583010971546, -0.06152598187327385, 0.06038600951433182, 0.00437261164188385, 0.025209693238139153, -0.05576097592711449, -0.001135901897214353, 0.00912792794406414, -0.004008227027952671, -0.04042019322514534, 0.004238257650285959, -0.006192496977746487, -0.04540350288152695, -0.07341427356004715, -0.010821602307260036, 0.06318708509206772, 0.026431092992424965, 0.07302342355251312, 0.007821029983460903, 0.0258936770260334 ]
40,980
pyglove.core.object_utils.value_location
__lt__
null
def __lt__(self, other: Any) -> bool: return self._compare(other, operator.lt)
(self, other: Any) -> bool
[ 0.0004989104345440865, 0.006029295269399881, -0.009160461835563183, 0.029930388554930687, -0.007423278409987688, -0.029591426253318787, 0.006444524507969618, 0.011439983732998371, -0.007707159500569105, -0.04965800419449806, 0.030116816982626915, -0.05199684575200081, 0.054064515978097916, 0.0023324857465922832, -0.05826765298843384, -0.02501543238759041, -0.03806548938155174, 0.0289982408285141, 0.0001778229052433744, -0.018185338005423546, -0.018168389797210693, 0.030032077804207802, 0.0011259909952059388, -0.0025104410015046597, 0.04830215498805046, 0.09213000535964966, 0.0017202346352860332, 0.004737000912427902, -0.02516796439886093, 0.030472727492451668, -0.035319890826940536, -0.022354576736688614, 0.04053991287946701, -0.06331819295883179, -0.0007902063080109656, -0.0343877449631691, -0.03445553779602051, 0.01949034258723259, -0.03230312466621399, -0.0028705885633826256, 0.006025058217346668, -0.046912409365177155, -0.029794802889227867, -0.03320137783885002, -0.025083225220441818, -0.04053991287946701, -0.02193087339401245, -0.01666000671684742, 0.020625866949558258, -0.010855274274945259, 0.0017890863819047809, -0.03293020650744438, 0.022913863882422447, 0.03343864902853966, -0.11972155421972275, 0.04735305905342102, 0.01835481822490692, 0.04257369041442871, -0.053657762706279755, 0.056233879178762436, -0.03354033827781677, 0.024659521877765656, -0.013228011317551136, -0.03782821446657181, 0.016371889039874077, -0.06250468641519547, -0.07714786380529404, 0.013812721706926823, -0.032879363745450974, 0.03701470419764519, -0.056233879178762436, 0.026591608300805092, -0.005376792512834072, 0.045285388827323914, -0.055759329348802567, 0.02091398648917675, -0.05033592879772186, 0.0377943180501461, 0.025947578251361847, -0.018049752339720726, 0.04850553348660469, -0.01692270301282406, 0.01928696595132351, 0.012550086714327335, -0.047658126801252365, -0.013778825290501118, -0.024862898513674736, 0.006016584113240242, 0.016236303374171257, 0.020049631595611572, -0.0438617467880249, 0.07138550281524658, -0.012550086714327335, -0.029896492138504982, 0.05247139558196068, 0.05138671398162842, 0.01889715902507305, 0.010126504115760326, 0.01379577349871397, 0.002493492793291807, 0.07328369468450546, 0.04203134775161743, 0.027032257989048958, -0.01815144158899784, 0.01788027212023735, 0.006075902841985226, -0.00009109616803470999, -0.023286722600460052, -0.048132672905921936, 0.03338780626654625, -0.03360813111066818, -0.00769021175801754, -0.028438953682780266, 0.008656254969537258, 0.009389260783791542, 0.0018579381285235286, 0.030930327251553535, -0.006563161499798298, 0.03377761319279671, -0.008308818563818932, 0.014583861455321312, -0.008410506881773472, 0.04467525705695152, 0.00535984430462122, -0.04101446270942688, 0.01889715902507305, 0.03352339193224907, -0.01903274469077587, -0.07389382272958755, -0.027133947238326073, 0.0640639141201973, -0.004076024051755667, -0.006448761560022831, 0.04331940785050392, 0.01942255161702633, -0.0633859857916832, 0.020405542105436325, 0.06772470474243164, 0.04460746422410011, -0.016583740711212158, 0.005779310595244169, -0.03694691136479378, 0.0431499257683754, -0.0006360842962749302, -0.05874219909310341, -0.016041399911046028, -0.07009744644165039, 0.07199563086032867, 0.02535439468920231, 0.05765752121806145, -0.00900792796164751, 0.005173414945602417, 0.05142061039805412, -0.005114096682518721, -0.019405603408813477, -0.01309242658317089, -0.035387683659791946, -0.061962343752384186, 0.006554687395691872, 0.009363838471472263, 0.009897705167531967, -0.016414258629083633, 0.032286178320646286, -0.0350826196372509, -0.020117424428462982, -0.017227768898010254, -0.02698141522705555, -0.019880149513483047, -0.018524300307035446, 0.05718297138810158, 0.06464014947414398, -0.013634766452014446, 0.010584103874862194, 0.005982688162475824, -0.010575629770755768, 0.016363414004445076, 0.001977634383365512, 0.07816474884748459, 0.007465648930519819, 0.02496458776295185, 0.010270563885569572, 0.017176924273371696, -0.04525149241089821, -0.019117483869194984, 0.02664245292544365, -0.030591364949941635, -0.004444645717740059, -0.02603231929242611, 0.00890623964369297, 0.048403844237327576, -0.03904847800731659, -0.029099930077791214, -0.015193994157016277, -0.017185399308800697, -0.003237091703340411, 0.034845344722270966, -0.03891289606690407, -0.023439256474375725, 0.05226801708340645, 0.07640214264392853, -0.028828760609030724, 0.012905997224152088, 0.015032986178994179, -0.022015614435076714, 0.05382724478840828, -0.020761452615261078, -0.031455717980861664, -0.011965376324951649, 0.021896976977586746, -0.0566406324505806, -0.015465163625776768, -0.06731794774532318, -0.02571030519902706, 0.028760967776179314, 0.013566973619163036, 0.016143089160323143, -0.020490283146500587, -0.059454020112752914, -0.020591972395777702, -0.020219113677740097, 0.11070515215396881, -0.019270017743110657, -0.027201740071177483, -0.041794076561927795, 0.05928454175591469, 0.02784576825797558, -0.012033168226480484, -0.026134008541703224, -0.042472001165151596, 0.02274438366293907, 0.05925064533948898, -0.02247321419417858, 0.03670963644981384, -0.023557893931865692, -0.013253433629870415, 0.01660068891942501, 0.002279522828757763, 0.05274256318807602, -0.08006294071674347, 0.0006090732058510184, 0.015219415538012981, 0.05287814885377884, 0.027896612882614136, 0.004796319175511599, 0.004978511482477188, -0.09660430997610092, -0.03593002259731293, 0.03786211088299751, -0.0031692993361502886, 0.04972579702734947, -0.015465163625776768, -0.045759934931993484, -0.03809938579797745, -0.017244717106223106, -0.03789600729942322, -0.014583861455321312, -0.025083225220441818, -0.055555954575538635, 0.012456871569156647, 0.02003268338739872, -0.008596936240792274, 0.01733793132007122, -0.02238847315311432, 0.012397552840411663, -0.029862595722079277, -0.004660734441131353, -0.002485018689185381, 0.03925185650587082, 0.030777795240283012, 0.03891289606690407, 0.008507958613336086, -0.0741649940609932, -0.013075478374958038, 0.04362447187304497, 0.015575326979160309, -0.007105501368641853, 0.009236727841198444, -0.019608980044722557, -0.04962410777807236, -0.025523874908685684, 0.016160037368535995, 0.003944675903767347, -0.06569093465805054, -0.05050541087985039, -0.07131770998239517, -0.017981959506869316, -0.029354151338338852, -0.08148658275604248, -0.06436897814273834, -0.04728526622056961, 0.04237031191587448, 0.015168571844696999, 0.015083830803632736, -0.003167180810123682, 0.038268864154815674, -0.02010047622025013, 0.027150895446538925, -0.03255734592676163, 0.04982748627662659, 0.022235939279198647, 0.039556924253702164, -0.03799769654870033, 0.004258216358721256, -0.02906603366136551, 0.011219658888876438, 0.0143296392634511, -0.03569275140762329, 0.032947152853012085, -0.03596391901373863, 0.016575265675783157, -0.012600930407643318, 0.03515041247010231, -0.024371404200792313, -0.021608859300613403, 0.008889291435480118, 0.030998120084404945, 0.018371766433119774, -0.003090914338827133, -0.019456448033452034, 0.05558984726667404, -0.03352339193224907, 0.047658126801252365, -0.04843774065375328, 0.004753949120640755, -0.023439256474375725, -0.0627080649137497, -0.007952907122671604, -0.0007425397052429616, -0.008075781166553497, 0.0330657921731472, 0.028523694723844528, 0.008829972706735134, 0.10582409054040909, 0.011270502582192421, 0.022235939279198647, 0.028422005474567413, 0.030811689794063568, 0.02833726443350315, -0.006969916168600321, -0.023218931630253792, -0.010067186318337917, -0.00296804029494524, 0.05162398889660835, -0.0038599353283643723, 0.027133947238326073, -0.002688396256417036, -0.014465223997831345, 0.04511590674519539, 0.03670963644981384, -0.013872040435671806, -0.045827727764844894, -0.013236485421657562, 0.01403304748237133, -0.047793712466955185, 0.028438953682780266, -0.02354094572365284, -0.008465588092803955, 0.00866896566003561, 0.005643725395202637, 0.02265964262187481, 0.10419707000255585, -0.031659096479415894, -0.03055746853351593, -0.023761270567774773, -0.06918224692344666, 0.012507716193795204, 0.00704618263989687, -0.04294654726982117, -0.07585980743169785, 0.015058408491313457, -0.050166450440883636, -0.0023367227986454964, 0.0215749628841877, -0.05047151446342468, -0.03381150960922241, -0.03337085619568825, -0.03596391901373863, 0.05833544582128525, -0.038946788758039474, 0.026676347479224205, 0.1032479777932167, 0.04562435299158096, 0.01901579648256302, 0.011312873102724552, -0.00769021175801754, -0.010965436697006226, 0.007677500601857901, -0.004491252824664116, 0.02650686725974083, 0.007359723094850779, -0.008063070476055145, -0.05114943906664848, -0.06375884264707565, 0.010923066176474094, -0.05579322576522827, -0.02030385285615921, 0.014380483888089657, -0.005758125334978104, -0.020134372636675835, -0.03813328221440315, 0.06213182583451271, 0.05236970633268356, -0.0004184068238828331, 0.025184912607073784, 0.03593002259731293, 0.020676711574196815, 0.03670963644981384, 0.020812297239899635, -0.06247078627347946, 0.07714786380529404, -0.06660612672567368, 0.02643907442688942, -0.020897038280963898, -0.01847345568239689, -0.002932025585323572, -0.015600748360157013, 0.03445553779602051, 0.0418279729783535, 0.01774468645453453, -0.015151623636484146, -0.01238060463219881, -0.013236485421657562, -0.027913561090826988, -0.013024633750319481, -0.0020274193957448006, -0.011914531700313091, 0.01707523502409458, 0.001075146603398025, -0.03420131653547287, -0.008622358553111553, 0.0045124380849301815, 0.032353971153497696, 0.03265903517603874, 0.02940499596297741, 0.049420733004808426, 0.010431570932269096, -0.034845344722270966, -0.06623326987028122, 0.01560922246426344, 0.017371827736496925, 0.03393014520406723, 0.005241207778453827, 0.045285388827323914, 0.0036523209419101477, -0.027218688279390335, -0.010448519140481949, 0.029591426253318787, 0.03293020650744438, 0.03391319885849953, -0.03394709527492523, 0.01869378238916397, 0.031048964709043503, 0.013270381838083267, -0.0014278795570135117, -0.028083043172955513, -0.05833544582128525, -0.07104653865098953, -0.03857393190264702, -0.02037164568901062, 0.0377604216337204, -0.016846435144543648, 0.012397552840411663, -0.028286419808864594, -0.031133705750107765, -0.036540158092975616, 0.04094666987657547, -0.017558258026838303, 0.001024302328005433, -0.03762483596801758, 0.05047151446342468, 0.03245566040277481, -0.06443677097558975, -0.013939832337200642, 0.010372252203524113, -0.07497850060462952, 0.05701349303126335, -0.01815144158899784, -0.02711699903011322, 0.00617335457354784, -0.0030210032127797604, 0.007347011938691139, -0.016109192743897438, 0.028489798307418823, -0.002879062667489052, 0.025608615949749947, -0.03704860061407089, -0.0579964816570282, 0.047590333968400955, -0.010855274274945259, -0.03137097880244255, 0.015821075066924095, -0.003942557610571384, -0.029591426253318787, 0.07104653865098953, 0.022168146446347237, -0.009253676049411297, -0.003406573086977005, 0.01454149093478918, 0.014405906200408936, 0.04728526622056961, -0.0168718583881855, 0.02860843390226364, -0.01008413452655077, 0.02510017342865467, 0.07789357751607895, 0.04376005753874779, 0.05430179089307785, 0.010728162713348866, -0.047590333968400955, 0.019524239003658295, 0.016270199790596962, -0.06331819295883179, 0.05443737655878067, 0.02340536005795002, 0.0512850247323513, -0.0013378425501286983, 0.007135160267353058, -0.012261968106031418, 0.02165970392525196, -0.005639488343149424, 0.06708067655563354, -0.0627080649137497, -0.0025867074728012085, -0.09429936856031418, -0.007546152453869581, -0.012914471328258514, -0.0029659217689186335, -0.014931297861039639, 0.03255734592676163, -0.003641728311777115, 0.004029416479170322, -0.02840505726635456, 0.016914227977395058, 0.004508201032876968, -0.05077658221125603, 0.08257126063108444, -0.07430057972669601, 0.07680889964103699, -0.0033853878267109394, 0.035116516053676605, 0.0259645264595747, -0.009126565419137478, 0.07057198882102966, 0.023896856233477592, -0.010143452323973179, 0.011372191831469536, -0.08148658275604248, 0.049420733004808426, -0.0377943180501461, 0.015032986178994179, -0.01110102143138647, -0.017642997205257416, -0.0004936141194775701, 0.01699049584567547, -0.02908298186957836, -0.02637128159403801, -0.015439741313457489, 0.04216693341732025, 0.05989467352628708, 0.04006536677479744, 0.04108225554227829, 0.016041399911046028, 0.030133765190839767, -0.04067549854516983, -0.05728466063737869, -0.01638883724808693, 0.01638036221265793, -0.017575206235051155, -0.015388897620141506, 0.03008292056620121, 0.03562495857477188, 0.005728465970605612, -0.04552266374230385, -0.013075478374958038, -0.008194418624043465, 0.048200465738773346, -0.04291265085339546, 0.06623326987028122, -0.083655945956707, -0.05308152735233307, -0.023981597274541855, -0.0005788843845948577, 0.03860782831907272, -0.040031470358371735, 0.008211366832256317, -0.06030142679810524, -0.009973971173167229, 0.02340536005795002, -0.015532956458628178, -0.04040433093905449, -0.06704678386449814, -0.021490221843123436, -0.0037794318050146103, -0.015685489401221275, 0.020897038280963898, 0.01881241798400879, 0.01403304748237133, -0.017897220328450203, -0.04108225554227829, 0.010685792192816734, 0.03786211088299751, 0.03143877163529396, -0.010685792192816734, -0.035726647824048996, 0.05179346725344658, -0.01571938581764698, 0.02501543238759041, -0.02516796439886093, -0.012126383371651173, -0.01082985196262598, 0.0896894782781601, 0.03647236526012421, 0.03394709527492523, -0.0229308120906353, 0.030269350856542587, 0.0032286178320646286, 0.030879482626914978, -0.019812358543276787, 0.02462562546133995, 0.012431449256837368, 0.002188426675274968, 0.012694145552814007, 0.014109313488006592, 0.02887960523366928, -0.015829548239707947, -0.07409720122814178, 0.03735366836190224, -0.023896856233477592, 0.025913681834936142, -0.04728526622056961, 0.03282851725816727, -0.05003086477518082, 0.10765448957681656, -0.053183216601610184, -0.0715210884809494, -0.05796258524060249, 0.007774952333420515, -0.001922552939504385, 0.007097027264535427, 0.014482172206044197, -0.05070878937840462, 0.005614066496491432, -0.05691180378198624, 0.01869378238916397, -0.040641602128744125, -0.011541672982275486, -0.030879482626914978, -0.000054055250075180084, 0.03142182156443596, -0.01210943516343832, -0.008592699654400349, 0.056979596614837646, -0.0016418496379628778, 0.010973910801112652, -0.08087645471096039, 0.018253130838274956, -0.0012531019747257233, -0.0058343918062746525, 0.03670963644981384, -0.024117181077599525, 0.0286592785269022, 0.002643907442688942, 0.023354515433311462, -0.009592638351023197, 0.05762362480163574, 0.003292173147201538, -0.0023960410617291927, -0.0364045724272728, -0.007529204245656729, 0.017558258026838303, -0.049488525837659836, 0.017032865434885025, 0.0112959248945117, -0.038472242653369904, 0.004965800326317549, -0.04237031191587448, -0.01754130981862545, -0.012999211438000202, -0.029913440346717834, -0.02928636036813259, -0.029371099546551704, 0.03487924113869667, -0.05928454175591469, -0.028167782351374626, -0.03277767449617386, 0.01059257797896862, -0.0289982408285141, 0.0411500483751297, 0.033760663121938705, -0.004614126868546009, 0.03548937290906906, -0.023252826184034348, -0.005486955400556326, -0.02247321419417858, -0.016609162092208862, -0.0036332542076706886, -0.006952967960387468, 0.006834331434220076, 0.002963803242892027, 0.0016693902434781194, 0.03176078572869301, -0.016151562333106995, 0.0036078321281820536, 0.019049692898988724, 0.003182010492309928, 0.0018039160640910268, -0.008965558372437954, 0.02103262208402157, 0.09768898785114288, -0.0283203162252903, -0.032879363745450974, 0.03333695977926254, 0.026761088520288467, -0.08013073354959488, 0.012838204391300678, 0.021219052374362946, 0.033726766705513, 0.049420733004808426, 0.028049146756529808, 0.046370070427656174, -0.03286241367459297, 0.007503782398998737, 0.03398099169135094, -0.006423339247703552, 0.01571091078221798, 0.053861141204833984, 0.06036921963095665, -0.10012952238321304, -0.0458616241812706, -0.02501543238759041, 0.04836994782090187, 0.06043701246380806, 0.02786271646618843, -0.0018770048627629876, 0.022676590830087662, 0.017693841829895973, -0.05772531405091286, 0.0002852051693480462, 0.05711517855525017, 0.0789104700088501, 0.03272682800889015, -0.00026494686608202755, 0.02908298186957836, -0.059657398611307144, 0.040844980627298355, -0.04053991287946701, 0.022676590830087662, 0.06260637193918228, -0.009643482975661755, 0.03857393190264702, -0.021219052374362946, -0.015736334025859833, 0.02279522828757763, -0.04735305905342102, 0.0330488421022892, 0.09362144023180008, -0.04074329137802124, 0.01840566284954548, -0.009058772586286068, -0.03048967570066452, -0.04369226470589638, 0.03142182156443596, -0.049895279109478, 0.016693903133273125, 0.02238847315311432, 0.011609465815126896, 0.015329578891396523, 0.09314689040184021 ]
40,981
pyglove.core.object_utils.value_location
__ne__
null
def __ne__(self, other: Any) -> bool: return not self.__eq__(other)
(self, other: Any) -> bool
[ 0.004366076085716486, 0.007448398973792791, 0.01749059371650219, 0.03338635340332985, -0.11279504746198654, -0.07069844752550125, -0.0793561190366745, 0.03321109712123871, 0.04412957280874252, 0.0072074211202561855, -0.009788072668015957, -0.04795016348361969, 0.02809360809624195, 0.019015325233340263, -0.03489355742931366, -0.006519539747387171, -0.03592757135629654, 0.07725304365158081, 0.014660201966762543, -0.0600428581237793, -0.031388428062200546, 0.03296573832631111, -0.004810789600014687, 0.07648191601037979, 0.01001590583473444, 0.05864080786705017, -0.004845840856432915, 0.01451999694108963, -0.025815274566411972, 0.07388811558485031, -0.03303584083914757, -0.02437817119061947, 0.04602234438061714, -0.010418995283544064, 0.057238753885030746, 0.008889882825314999, -0.02641114592552185, 0.07760355621576309, -0.07578089088201523, -0.04535636678338051, -0.006234748288989067, -0.02525445446372032, 0.005494289565831423, 0.011076207272708416, -0.003555515082553029, -0.033105943351984024, 0.007606129627674818, 0.001879625371657312, -0.028549274429678917, 0.055205781012773514, 0.004109763540327549, 0.0014042422408238053, 0.008644524030387402, 0.08580555766820908, -0.05692329257726669, 0.05468001216650009, 0.006326757837086916, 0.02024211920797825, -0.04791511222720146, 0.046548113226890564, -0.08131898939609528, 0.012311764992773533, 0.02795340307056904, -0.09120345115661621, -0.009569002315402031, -0.03746982663869858, -0.05860575661063194, -0.026008056476712227, -0.0033649238757789135, 0.030827607959508896, -0.07676232606172562, 0.005113106686621904, 0.006799950264394283, 0.049772828817367554, -0.004247778095304966, -0.019190581515431404, 0.012828771956264973, 0.11076207458972931, 0.004876510705798864, -0.035734787583351135, 0.00435293186455965, -0.04209659993648529, -0.02106582559645176, 0.005498670972883701, -0.054820217192173004, 0.030214210972189903, -0.0011210936354473233, 0.0009217393817380071, 0.024413222447037697, -0.007154844235628843, -0.032334815710783005, -0.0051306323148310184, 0.0018719579093158245, -0.05355836823582649, 0.05061406269669533, 0.06635209172964096, -0.0035598964896053076, -0.02351941540837288, 0.006887578405439854, -0.03512139245867729, 0.04717903584241867, 0.03992341831326485, 0.03191420063376427, -0.017779765650629997, -0.0022454732097685337, 0.004409890156239271, -0.005980626214295626, -0.039572905749082565, -0.03820590674877167, 0.032036878168582916, -0.060288216918706894, 0.060288216918706894, -0.04791511222720146, 0.018489554524421692, 0.006865671370178461, -0.026008056476712227, -0.010909713804721832, -0.005003571510314941, 0.027077121660113335, -0.011435482650995255, 0.010278790257871151, 0.07339739799499512, -0.0286544281989336, 0.01529112458229065, 0.06684280931949615, -0.028198761865496635, 0.03852136805653572, 0.02670908160507679, -0.028882263228297234, -0.004999190103262663, 0.03329872339963913, 0.002099791308864951, -0.004657439887523651, 0.05373362451791763, 0.023887453600764275, 0.05191095918416977, 0.030231736600399017, 0.004972901660948992, 0.013783919624984264, -0.014651439152657986, -0.006629074923694134, -0.005971863400191069, 0.07900560647249222, 0.0685252696275711, -0.005121869500726461, 0.030564723536372185, -0.09211479127407074, 0.03182657063007355, 0.0016835572896525264, 0.009682918898761272, -0.02455342747271061, 0.011680842377245426, 0.026218364015221596, 0.025815274566411972, -0.0584305003285408, 0.017218945547938347, -0.01784110628068447, -0.011505586095154285, -0.027883300557732582, 0.02593795396387577, 0.009884463623166084, 0.02245035022497177, 0.08531484007835388, -0.013573612086474895, -0.016815856099128723, -0.03960795700550079, 0.0037745856679975986, -0.017911208793520927, 0.02269570901989937, 0.030424518510699272, 0.0008910694741643965, -0.03135337680578232, -0.03627808392047882, 0.0208029393106699, -0.016552971675992012, 0.038801778107881546, 0.010383944027125835, 0.02963586524128914, -0.04419967532157898, 0.028023505583405495, 0.03196677565574646, -0.05338311195373535, -0.04009867459535599, 0.0015148728853091598, 0.0804777592420578, -0.012267950922250748, -0.03205440565943718, -0.032159559428691864, 0.0017832343000918627, 0.04020382836461067, -0.03184409439563751, -0.014537522569298744, -0.015028240159153938, 0.014712778851389885, 0.03985331580042839, -0.03072245419025421, -0.0043704574927687645, 0.006935773883014917, 0.02528950572013855, 0.02916267327964306, -0.021609120070934296, -0.019541094079613686, -0.004326643422245979, -0.03464819863438606, -0.0051481579430401325, -0.06088408827781677, -0.059131525456905365, -0.049387264996767044, 0.06873557716608047, -0.01891016960144043, 0.014677727594971657, -0.01623751036822796, 0.05524083226919174, 0.007435254752635956, 0.05184085667133331, 0.02231014519929886, -0.00687005277723074, -0.023466838523745537, -0.004622388631105423, 0.06729847192764282, 0.05871091037988663, -0.051034677773714066, 0.01529112458229065, 0.0010318222921341658, 0.0065589724108576775, 0.04440998286008835, 0.0036781947128474712, 0.005275219213217497, -0.001161073916591704, -0.06410881131887436, 0.028409069404006004, 0.020575106143951416, 0.014265874400734901, -0.024833837524056435, 0.022082312032580376, 0.010673117823898792, -0.04714398458600044, 0.015922047197818756, -0.045952241867780685, 0.02399260737001896, 0.0033452073112130165, -0.028338966891169548, 0.010112296789884567, 0.007706901989877224, 0.04188629239797592, -0.035874996334314346, 0.0022849058732390404, 0.08265093713998795, 0.021942107006907463, 0.009236014448106289, 0.014309688471257687, -0.046127498149871826, -0.04405947029590607, -0.0016988922143355012, 0.017516881227493286, -0.007882158271968365, -0.06032326817512512, -0.007606129627674818, 0.07304688543081284, 0.019891606643795967, -0.01367876585572958, 0.02972349338233471, -0.015045765787363052, 0.03554200753569603, -0.01982150413095951, -0.0037964927032589912, -0.020364798605442047, 0.044655341655015945, 0.015098342671990395, 0.01068188063800335, 0.09639104455709457, -0.05453980714082718, 0.03287810832262039, 0.039958469569683075, -0.012898874469101429, 0.0188751183450222, 0.015878234058618546, -0.03669869899749756, -0.04307803511619568, -0.01843697763979435, 0.022730760276317596, 0.013214335776865482, 0.013179284520447254, -0.06463457643985748, -0.031388428062200546, 0.008311537094414234, -0.0240451842546463, -0.06698301434516907, -0.022380247712135315, -0.031213173642754555, 0.07879529893398285, -0.022976120933890343, 0.02425549179315567, 0.02313385158777237, -0.00036749086575582623, 0.04455018788576126, 0.007549171335995197, -0.03943270072340965, 0.0337018147110939, 0.03265027701854706, 0.026726607233285904, 0.015282361768186092, -0.0014863937394693494, -0.044690392911434174, 0.03673375025391579, -0.020452426746487617, -0.015834419056773186, 0.07297678291797638, 0.04213165119290352, 0.019102953374385834, 0.0178761575371027, -0.0037220087833702564, -0.0011380715295672417, 0.03817085549235344, 0.029004942625761032, 0.045847088098526, 0.059306781738996506, -0.03398222476243973, 0.00011528588220244274, 0.07304688543081284, -0.012276713736355305, 0.01934831216931343, -0.06098924204707146, -0.016298849135637283, -0.04665326699614525, -0.07830458134412766, -0.038240958005189896, 0.055556293576955795, -0.0195586197078228, 0.059902653098106384, 0.0335090309381485, -0.04020382836461067, 0.06642219424247742, 0.009016944095492363, 0.00625665532425046, -0.028742056339979172, 0.010909713804721832, 0.01908542774617672, 0.05022849887609482, 0.00011042525147786364, 0.01225918810814619, 0.015457618981599808, 0.03624303266406059, -0.05976244807243347, -0.018244195729494095, 0.007115411572158337, -0.07199534773826599, 0.054785165935754776, 0.03690900653600693, 0.033456455916166306, -0.0032882490195333958, 0.019979234784841537, 0.02188953012228012, -0.023554466664791107, 0.009402507916092873, 0.021749325096607208, -0.0308977123349905, 0.038451265543699265, -0.028812158852815628, -0.03764508292078972, 0.016684412956237793, 0.0016506966203451157, -0.005568773485720158, 0.007400203496217728, 0.0022498546168208122, 0.0008045366266742349, -0.02159159444272518, -0.03929249569773674, -0.07108401507139206, -0.027112172916531563, -0.06495004147291183, -0.03184409439563751, -0.009393745101988316, -0.04402441903948784, -0.008372876793146133, -0.05664288252592087, -0.060253165662288666, 0.01891016960144043, -0.004832696635276079, -0.008583184331655502, 0.06379334628582001, -0.012933925725519657, -0.024956518784165382, -0.0030231736600399017, 0.016921009868383408, 0.013661240227520466, 0.01952356845140457, 0.02658640220761299, 0.01723647117614746, 0.04398936778306961, -0.025710120797157288, -0.06957680732011795, -0.02115345373749733, 0.004609244409948587, -0.06971701234579086, -0.021468915045261383, -0.04213165119290352, -0.018664810806512833, -0.09625083953142166, -0.02381735108792782, 0.03645334020256996, 0.06645724177360535, -0.018419452011585236, 0.0029640246648341417, 0.043148137629032135, 0.059867601841688156, 0.006133975461125374, 0.011453009210526943, 0.0035598964896053076, 0.01633390039205551, -0.025815274566411972, -0.03385954722762108, -0.011365380138158798, -0.03072245419025421, 0.01671070232987404, -0.0014820123324170709, 0.02132871001958847, -0.04889654740691185, 0.08335196226835251, -0.02132871001958847, -0.012154034338891506, -0.008570040576159954, -0.011382905766367912, -0.02635856904089451, -0.0008768299012444913, 0.00454352330416441, 0.012592175975441933, -0.020820464938879013, -0.014931849204003811, 0.03286058455705643, -0.05983255058526993, -0.05997275561094284, 0.04714398458600044, 0.0004586789873428643, 0.03187914937734604, -0.014125669375061989, -0.02357199229300022, -0.0966714546084404, 0.003794301999732852, 0.0674036294221878, -0.033666763454675674, -0.014169483445584774, -0.02425549179315567, -0.03541932627558708, -0.014406079426407814, 0.020540054887533188, 0.025429710745811462, 0.033018313348293304, 0.08265093713998795, 0.024535901844501495, 0.012118983082473278, 0.01908542774617672, -0.0483357273042202, -0.04462029039859772, -0.007645562291145325, -0.05226147174835205, -0.07076855003833771, -0.038065701723098755, -0.003857832634821534, 0.01873491331934929, -0.043744008988142014, 0.016088541597127914, -0.03852136805653572, -0.033491507172584534, -0.038240958005189896, 0.028812158852815628, 0.01779729127883911, -0.010585489682853222, 0.006103305611759424, 0.050298601388931274, 0.006401241756975651, -0.0732571929693222, -0.03768013417720795, -0.003051652805879712, -0.03943270072340965, 0.03492860868573189, -0.029110096395015717, -0.011453009210526943, -0.015326175838708878, -0.01567668840289116, -0.032685328274965286, 0.017998836934566498, -0.003470077645033598, -0.044690392911434174, 0.017140081152319908, -0.05496042221784592, -0.015107105486094952, -0.00986693799495697, 0.03329872339963913, -0.005511815194040537, 0.008780348114669323, -0.0505790114402771, -0.07388811558485031, 0.06382840126752853, 0.042937830090522766, -0.041115161031484604, -0.02003181166946888, 0.012968976981937885, 0.016964824870228767, -0.01537875272333622, -0.005121869500726461, 0.040554340928792953, -0.024202914908528328, 0.00908704660832882, 0.04118526354432106, -0.013599900528788567, 0.015361227095127106, 0.018507080152630806, -0.05247177928686142, 0.028321441262960434, 0.024798786267638206, -0.020575106143951416, 0.032808005809783936, -0.028321441262960434, 0.060813985764980316, 0.006466962862759829, -0.009051995351910591, -0.06698301434516907, 0.008197620511054993, -0.02032974734902382, 0.06954175978899002, 0.013188047334551811, -0.029460608959197998, -0.020627683028578758, -0.030126582831144333, 0.010594252496957779, -0.02670908160507679, -0.015869470313191414, 0.03426263481378555, -0.0402388796210289, -0.01580813154578209, -0.0258503258228302, -0.008188857696950436, 0.00796978734433651, -0.04826562479138374, 0.02718227542936802, -0.006217222195118666, 0.031773991882801056, 0.028584325686097145, 0.06824485957622528, -0.0012125555658712983, 0.008583184331655502, 0.054399602115154266, 0.013284438289701939, -0.04044918715953827, 0.04763470217585564, -0.044269777834415436, 0.019961709156632423, 0.0027668611146509647, 0.05156044661998749, 0.0012530835811048746, -0.0012979930033907294, 0.0517006516456604, -0.006690414622426033, -0.010576726868748665, 0.01805141381919384, -0.006414385978132486, 0.07234586030244827, 0.05944698676466942, 0.024974044412374496, 0.01010353397578001, -0.012802483513951302, 0.06018306314945221, -0.09456837922334671, -0.034437891095876694, -0.008372876793146133, 0.0427275225520134, -0.03746982663869858, 0.053313009440898895, 0.060428421944379807, -0.01710502989590168, 0.02266065776348114, -0.04440998286008835, -0.011453009210526943, -0.014747830107808113, 0.036768801510334015, -0.024868888780474663, 0.041675981134176254, -0.056888241320848465, -0.11784243583679199, -0.02348436415195465, -0.013556086458265781, 0.014677727594971657, -0.05464496091008186, -0.004344169050455093, -0.0402388796210289, -0.021942107006907463, -0.004841459449380636, 0.006646600551903248, -0.025797748938202858, -0.0008669717353768647, 0.01899779960513115, 0.042972881346940994, -0.05716865137219429, 0.008951222524046898, 0.02239777334034443, 0.007132937200367451, 0.008504319004714489, -0.003643143456429243, 0.019225632771849632, 0.0208029393106699, 0.012855060398578644, -0.003708864562213421, -0.0438491627573967, 0.03016163408756256, -0.0031655696220695972, -0.06417891383171082, -0.004530379083007574, 0.002088837791234255, 0.005108725279569626, 0.06375829875469208, 0.04907180368900299, 0.027427634224295616, -0.04405947029590607, 0.03718941658735275, 0.00078920170199126, -0.008407928049564362, 0.019400889053940773, -0.08615607023239136, 0.05580165237188339, -0.01614988222718239, -0.003932316321879625, -0.028742056339979172, 0.01068188063800335, -0.044830597937107086, -0.062110885977745056, 0.036172930151224136, -0.0004017206374555826, -0.0014250539243221283, 0.015948336571455002, -0.0033824495039880276, -0.048616137355566025, -0.0010301793226972222, -0.015799367800354958, -0.045040905475616455, -0.060253165662288666, -0.002235614927485585, 0.011339091695845127, 0.010199924930930138, 0.09078283607959747, -0.01301279105246067, 0.009455084800720215, -0.03163378685712814, 0.029793595895171165, -0.0832117572426796, -0.04556667432188988, 0.0017843296518549323, -0.019891606643795967, 0.00417767558246851, -0.0305822491645813, -0.030266787856817245, 0.03904713690280914, 0.025955479592084885, -0.018068939447402954, -0.05019344761967659, 0.03838116303086281, 0.011347854509949684, 0.04318318888545036, 0.034052327275276184, -0.0353141725063324, 0.04644295945763588, -0.02378229983150959, -0.024483324959874153, -0.019576145336031914, 0.042937830090522766, 0.02614826150238514, 0.01475659292191267, -0.056888241320848465, 0.0158519446849823, -0.0027624797075986862, -0.029933800920844078, 0.0346306748688221, -0.025219403207302094, -0.04143062233924866, -0.005682690069079399, -0.04931716248393059, -0.02558744139969349, 0.005406661424785852, -0.03729457035660744, -0.015974625945091248, -0.05338311195373535, -0.001817190321162343, -0.04630275443196297, -0.028198761865496635, -0.026551350951194763, 0.032510071992874146, -0.024676106870174408, 0.028198761865496635, 0.04963262379169464, -0.05327795818448067, 0.00818447582423687, -0.05268208682537079, -0.0016079779015854, 0.053523316979408264, 0.05541608855128288, -0.00917467474937439, -0.018717387691140175, -0.005638875998556614, 0.025447236374020576, 0.0212410818785429, 0.024658581241965294, -0.00661154929548502, 0.013564849272370338, 0.01676327921450138, 0.020347272977232933, 0.015624112449586391, -0.0008614949765615165, 0.00835973210632801, 0.05261198431253433, -0.03317604586482048, -0.07311698794364929, 0.04826562479138374, 0.010962290689349174, -0.05695834383368492, 0.011479297652840614, 0.007641180884093046, 0.054259397089481354, 0.011409194208681583, -0.01762203499674797, -0.004565430339425802, -0.018209144473075867, -0.013643714599311352, 0.008478030562400818, 0.001876339316368103, 0.018840067088603973, 0.022730760276317596, -0.013459695503115654, -0.08363237977027893, 0.01415195781737566, -0.004405508749186993, 0.04647801071405411, 0.07367780804634094, 0.02150396630167961, 0.0240451842546463, -0.01581689342856407, 0.005060529801994562, -0.029320403933525085, -0.017218945547938347, -0.014686490409076214, 0.07034793496131897, -0.013082893565297127, -0.000933788251131773, 0.052016112953424454, -0.015221022069454193, -0.0029640246648341417, -0.0088285431265831, 0.01762203499674797, 0.05548619106411934, -0.01274990662932396, -0.03028431348502636, 0.019961709156632423, 0.005538103636354208, 0.01685090735554695, 0.0031918580643832684, 0.04405947029590607, 0.05541608855128288, 0.026638979092240334, -0.00036858621751889586, 0.005113106686621904, -0.04227185621857643, -0.03960795700550079, 0.024483324959874153, 0.0257276464253664, -0.011689605191349983, -0.04907180368900299, 0.012793720699846745, 0.0073739150539040565, 0.07276647537946701 ]
40,984
pyglove.core.object_utils.value_location
__sub__
Finds the relative path of this path to the other. Example:: path1 = pg.KeyPath.parse('a.b.c.d') path2 = pg.KeyPath.parse('a.b') assert path1 - path2 == 'c.d' Args: other: Object to subtract, which can be None, int (as a depth-1 KeyPath), string (parsed as a KeyPath) or a KeyPath object. Returns: Relative path of this path to the other. Raises: ValueError: This path is an ancestor node of the other path, or these two paths are in different branch.
def __sub__(self, other: Union[None, int, str, 'KeyPath']) -> 'KeyPath': """Finds the relative path of this path to the other. Example:: path1 = pg.KeyPath.parse('a.b.c.d') path2 = pg.KeyPath.parse('a.b') assert path1 - path2 == 'c.d' Args: other: Object to subtract, which can be None, int (as a depth-1 KeyPath), string (parsed as a KeyPath) or a KeyPath object. Returns: Relative path of this path to the other. Raises: ValueError: This path is an ancestor node of the other path, or these two paths are in different branch. """ if other is None: return self if isinstance(other, str): other = KeyPath.parse(other) elif isinstance(other, int): other = KeyPath(other) if not isinstance(other, KeyPath): raise TypeError( f'Cannot subtract KeyPath({self}) by {other!r}.') max_len = max(len(self), len(other)) for pos in range(max_len): if pos >= len(self): raise ValueError( f'KeyPath subtraction failed: left path {self!r} ' f'is an ancestor of right path {other!r}.') if pos >= len(other): return KeyPath(self.keys[pos:]) if self.keys[pos] != other.keys[pos]: raise ValueError( f'KeyPath subtraction failed: left path {self!r} ' f'and right path {other!r} are in different subtree.') return KeyPath()
(self, other: Union[NoneType, int, str, pyglove.core.object_utils.value_location.KeyPath]) -> pyglove.core.object_utils.value_location.KeyPath
[ 0.020738510414958, -0.040999431163072586, -0.019948648288846016, 0.03795018792152405, -0.0670098215341568, -0.06109502911567688, 0.005574967246502638, 0.048934802412986755, 0.08633392304182053, -0.017275968566536903, 0.023861227557063103, -0.03122716397047043, 0.0703529641032219, 0.03795018792152405, -0.06807521730661392, 0.038942109793424606, 0.04008098319172859, 0.0021617922466248274, 0.009450809098780155, -0.009542654268443584, 0.01795561984181404, -0.04478342831134796, 0.03624187782406807, 0.025716489180922508, -0.02360406331717968, 0.04746529087424278, -0.003979167435318232, -0.007053665351122618, 0.03695826604962349, -0.037105217576026917, -0.006240840535610914, -0.008068548515439034, -0.026763517409563065, 0.008853819221258163, -0.04533449560403824, -0.026322662830352783, -0.02037113346159458, 0.010571314021945, 0.0053775012493133545, 0.005634666420519352, -0.0015326568391174078, 0.002060763305053115, 0.04052183777093887, -0.024044916033744812, 0.030786311253905296, 0.013308282941579819, -0.04434257373213768, 0.010534576140344143, 0.0018587050726637244, 0.041770923882722855, 0.023530587553977966, -0.010112090967595577, -0.022869305685162544, 0.0016382781323045492, -0.050367578864097595, 0.01594422198832035, 0.025643013417720795, 0.05653953552246094, -0.03930949047207832, 0.0009339447715319693, 0.00022745889145880938, -0.03919927403330803, -0.0679282695055008, 0.03098836913704872, -0.017312707379460335, -0.06329929828643799, -0.024926625192165375, -0.029904602095484734, -0.0227039847522974, 0.02955559268593788, -0.035360172390937805, 0.021803908050060272, -0.0382440909743309, 0.00909261591732502, 0.007049072999507189, -0.002203122479841113, 0.0023041514214128256, 0.044856902211904526, 0.030345456674695015, -0.035543859004974365, -0.017404552549123764, -0.052608586847782135, -0.03752770274877548, -0.04144028574228287, 0.03930949047207832, 0.06554030627012253, 0.04529775679111481, -0.044856902211904526, 0.01737699843943119, 0.03455193713307381, -0.05396788939833641, -0.013198069296777248, -0.05881728231906891, -0.02285093627870083, 0.06627506762742996, -0.02915147691965103, -0.016320785507559776, -0.04970629885792732, -0.017266785725951195, -0.02929842844605446, 0.057751886546611786, 0.01689022220671177, 0.022722354158759117, 0.05235142260789871, 0.06506271660327911, 0.004812656901776791, -0.01480534952133894, -0.02441229484975338, 0.031006736680865288, -0.02217128686606884, -0.03462541475892067, 0.05389441177248955, -0.017716823145747185, 0.017165755853056908, -0.012141856364905834, 0.019379211589694023, -0.029371904209256172, -0.026579827070236206, 0.04294653609395027, -0.019268997013568878, 0.034111086279153824, 0.03923601284623146, -0.03668273240327835, 0.03908906131982803, 0.02288767509162426, 0.009533469565212727, 0.018378105014562607, 0.018662823364138603, -0.009019140154123306, -0.029188213869929314, 0.058156002312898636, 0.010598867200314999, -0.04562839865684509, 0.022520296275615692, 0.051579929888248444, 0.05073495954275131, 0.08809734135866165, 0.040962692350149155, -0.018938357010483742, 0.03671947121620178, 0.06623832881450653, -0.028453458100557327, 0.06612811237573624, 0.04000750929117203, -0.03422129899263382, 0.020591558888554573, -0.02924332022666931, -0.022832568734884262, 0.010001877322793007, 0.0346621535718441, -0.07233680784702301, 0.03085978515446186, 0.04144028574228287, -0.04742855206131935, 0.05859685689210892, -0.04022793471813202, -0.04518754407763481, -0.0018219673074781895, 0.028288137167692184, -0.010562129318714142, -0.006571481004357338, 0.009147722274065018, 0.04948586970567703, -0.04599577561020851, 0.02086709253489971, -0.0017737488960847259, 0.0502573661506176, 0.011177487671375275, -0.015246204100549221, 0.02812281623482704, 0.040962692350149155, -0.043607816100120544, -0.05389441177248955, 0.003630157792940736, -0.05007367581129074, -0.048089832067489624, 0.00425470108166337, 0.03646230697631836, -0.025294004008173943, -0.004840210545808077, 0.07545952498912811, -0.006782723590731621, 0.006006637122482061, 0.017680086195468903, 0.032715048640966415, 0.015200281515717506, -0.020481346175074577, 0.05352703481912613, 0.042799584567546844, -0.007067441940307617, -0.03341306746006012, 0.008435926400125027, 0.027130894362926483, 0.04144028574228287, 0.007843528874218464, -0.04195461422204971, 0.00030050406348891556, -0.013363389298319817, -0.018552608788013458, 0.11175651103258133, -0.05859685689210892, -0.00886759627610445, 0.02158348076045513, -0.015576844103634357, 0.00469325901940465, -0.0157146118581295, 0.02360406331717968, 0.02525726519525051, -0.02799423411488533, 0.013583816587924957, -0.022520296275615692, -0.031245533376932144, 0.04044836387038231, -0.063078872859478, 0.011609157547354698, -0.0029688766226172447, -0.03686642274260521, 0.025863438844680786, 0.0165228433907032, 0.006847015116363764, 0.10014735162258148, 0.0002443927514832467, 0.040999431163072586, 0.0030515368562191725, 0.024522509425878525, -0.021528374403715134, -0.02500010095536709, -0.0007577179349027574, 0.011002982966601849, -0.04533449560403824, 0.050147153437137604, -0.004015905316919088, 0.022226393222808838, -0.0655035674571991, 0.02929842844605446, 0.023255053907632828, -0.03447846323251724, -0.037325646728277206, 0.041477020829916, -0.018442396074533463, -0.0011250963434576988, -0.0069113061763346195, -0.012279623188078403, -0.010690711438655853, -0.017055543139576912, -0.01267455518245697, 0.04085247963666916, -0.01759742572903633, 0.010194750502705574, 0.016871852800250053, 0.023897964507341385, -0.013960379175841808, -0.028361612930893898, 0.04426909610629082, -0.017129018902778625, -0.00178637751378119, -0.045665137469768524, -0.05235142260789871, 0.012288807891309261, 0.06807521730661392, -0.0043534343130886555, -0.027424797415733337, -0.057494718581438065, -0.0199302788823843, -0.013051117770373821, 0.0004216241359245032, -0.00302398344501853, -0.011453021317720413, -0.014410417526960373, 0.009772265329957008, -0.05495980754494667, -0.052571848034858704, -0.021399792283773422, 0.01634833961725235, -0.00039005253347568214, 0.05128602683544159, -0.026175711303949356, 0.02248355746269226, -0.0004359748272690922, -0.03117205761373043, -0.009634498506784439, -0.01296845730394125, -0.046914223581552505, -0.029904602095484734, -0.028067709878087044, 0.009023732505738735, -0.010525391437113285, -0.11028699576854706, 0.008394596166908741, 0.01272047683596611, 0.0709407702088356, -0.0031066436786204576, 0.00019516977772582322, 0.029537223279476166, 0.038758423179388046, 0.021087519824504852, -0.011948982253670692, -0.09764917939901352, 0.06396058201789856, 0.04081574082374573, 0.04478342831134796, 0.019985385239124298, -0.020389501005411148, -0.0019092196598649025, -0.0009758488740772009, -0.01729433797299862, 0.053233131766319275, 0.0652831420302391, 0.037913452833890915, 0.04011772200465202, -0.08148453384637833, -0.020903831347823143, -0.016274863854050636, 0.01823115348815918, 0.017900513485074043, 0.0145573690533638, 0.0231632087379694, 0.0010958209168165922, -0.030620990321040154, 0.0502573661506176, -0.019783327355980873, 0.05066148191690445, -0.07832507789134979, 0.031429223716259, 0.006498005706816912, -0.027167633175849915, -0.01307867094874382, 0.031741492450237274, 0.05830295383930206, 0.032678309828042984, -0.001599244074895978, 0.024375557899475098, 0.0398605577647686, -0.03550712391734123, -0.02637776918709278, 0.019636375829577446, 0.046473369002342224, 0.04537123441696167, -0.028288137167692184, 0.040154460817575455, 0.10440894216299057, -0.031080212444067, 0.016284048557281494, -0.04202808812260628, 0.021124258637428284, -0.023181578144431114, 0.02995970845222473, -0.013491972349584103, 0.03739912062883377, 0.02037113346159458, -0.05940508842468262, 0.025698119774460793, 0.007664431817829609, -0.031961921602487564, 0.0012984530767425895, 0.0035704588517546654, -0.04820004850625992, -0.010424362495541573, 0.03095163032412529, -0.06344625353813171, 0.0709407702088356, 0.01393282599747181, -0.054041363298892975, -0.036352094262838364, -0.07465129345655441, -0.07285113632678986, -0.03727053850889206, -0.03484584018588066, -0.07920678704977036, -0.0052902488969266415, 0.0035176482051610947, -0.04331391304731369, 0.05066148191690445, -0.024393925443291664, 0.004231739789247513, 0.015420708805322647, 0.01738618314266205, 0.027828915044665337, 0.02261214144527912, 0.04493037983775139, 0.06572400033473969, 0.020683404058218002, -0.04662032052874565, 0.07854550331830978, -0.01611872762441635, 0.03978708013892174, 0.02637776918709278, -0.0655035674571991, 0.0956653356552124, 0.03010665997862816, -0.026763517409563065, -0.021436529234051704, 0.06230737641453743, 0.007306238170713186, -0.024338819086551666, -0.026579827070236206, 0.030492408201098442, -0.027975864708423615, -0.01782703772187233, -0.01697288267314434, 0.05878054350614548, 0.03203539550304413, -0.01171018648892641, 0.0382440909743309, 0.059956155717372894, -0.010387624613940716, 0.05286575108766556, 0.02248355746269226, -0.031465958803892136, 0.021748801693320274, -0.05492307245731354, -0.04570187255740166, -0.024559246376156807, 0.03172312676906586, -0.016871852800250053, -0.04169744998216629, -0.04228525608778, 0.015659503638744354, 0.02297951839864254, 0.00301709515042603, -0.052645325660705566, -0.017000434920191765, -0.032053764909505844, -0.05396788939833641, 0.04008098319172859, 0.002456843154504895, -0.022961150854825974, -0.019783327355980873, 0.007581771817058325, 0.043607816100120544, -0.026230817660689354, -0.03780323639512062, 0.01220614742487669, -0.004771327134221792, -0.002837998094037175, 0.00938192568719387, 0.0390523262321949, -0.041183117777109146, 0.039566654711961746, 0.01795561984181404, -0.015567660331726074, -0.028508564457297325, 0.011030536144971848, 0.017092280089855194, -0.038501255214214325, -0.05642932280898094, -0.008169577457010746, 0.01774437725543976, -0.003653119085356593, -0.01738618314266205, 0.04599577561020851, 0.004465943668037653, 0.003269667737185955, -0.02485314942896366, -0.0390523262321949, -0.039162538945674896, -0.008573693223297596, 0.022722354158759117, -0.048530686646699905, 0.027332954108715057, -0.03820735588669777, 0.06814869493246078, 0.04290979728102684, -0.018828142434358597, -0.019287366420030594, 0.04272610694169998, 0.07854550331830978, 0.034111086279153824, -0.016339154914021492, -0.008931887336075306, -0.02705741859972477, -0.06638527661561966, -0.06836912035942078, 0.024265343323349953, 0.02468782849609852, 0.024302082136273384, 0.020885461941361427, -0.019967015832662582, -0.05940508842468262, -0.048934802412986755, 0.014428786933422089, -0.04489364102482796, -0.014327757991850376, -0.021032413467764854, 0.04250568151473999, -0.03300894796848297, -0.043607816100120544, 0.04375476762652397, -0.013381758704781532, -0.010626420378684998, -0.02410002425312996, 0.013822612352669239, -0.08251319080591202, 0.027130894362926483, 0.009368149563670158, -0.011076458729803562, -0.021473268046975136, 0.003969982732087374, -0.002757634036242962, -0.008500217460095882, -0.008573693223297596, 0.005979083478450775, 0.02198759838938713, 0.03300894796848297, -0.011104011908173561, 0.06800173968076706, -0.03842778131365776, 0.04133006930351257, 0.014373679645359516, -0.023861227557063103, 0.0016176130156964064, 0.022942781448364258, 0.051396239548921585, 0.03817061707377434, -0.004863171838223934, 0.03438661992549896, -0.026616565883159637, 0.035764288157224655, 0.027424797415733337, -0.002426993567496538, -0.009487546980381012, 0.018919987604022026, 0.01173773966729641, -0.06190326064825058, -0.010635605081915855, -0.022428451105952263, -0.06598116457462311, -0.022832568734884262, 0.0291147381067276, -0.00985492579638958, -0.05396788939833641, 0.032090503722429276, 0.05922139808535576, 0.04720812663435936, 0.00810528639703989, 0.07424717396497726, -0.08229276537895203, 0.014327757991850376, -0.056723225861787796, 0.005616297479718924, 0.010644788853824139, 0.04537123441696167, 0.004863171838223934, 0.012334729544818401, 0.004178929142653942, 0.03783997520804405, -0.013767505995929241, 0.027700331062078476, 0.003478614380583167, 0.062197163701057434, -0.011205041781067848, 0.0031938960310071707, 0.07167552411556244, 0.043828245252370834, -0.0046542249619960785, 0.005496899597346783, -0.01930573582649231, -0.0003820161509793252, 0.02503683790564537, 0.017716823145747185, -0.03014339879155159, -0.018956726416945457, 0.045665137469768524, 0.010773371905088425, 0.008821673691272736, 0.029041262343525887, 0.003581939497962594, -0.006741393823176622, 0.035415276885032654, 0.024155130609869957, -0.0375460721552372, 0.03497442230582237, -0.018075017258524895, -0.026579827070236206, -0.04335065186023712, 0.013776689767837524, -0.04970629885792732, -0.013602185063064098, -0.036131665110588074, 0.018708745017647743, 0.0030423523858189583, 0.004500385373830795, 0.04305674880743027, 0.05477612093091011, -0.003033167915418744, 0.009432440623641014, 0.023181578144431114, 0.016871852800250053, -0.034331511706113815, 0.0026749740354716778, -0.05231468379497528, -0.04676727205514908, 0.04081574082374573, 0.02924332022666931, 0.010350886732339859, -0.027755439281463623, 0.015503368340432644, -0.004066419787704945, 0.014952301047742367, -0.05808252468705177, 0.01719330996274948, -0.06021331995725632, 0.09676747024059296, 0.059552039951086044, 0.007696577813476324, 0.04081574082374573, 0.0039837597869336605, -0.028416719287633896, -0.022465189918875694, -0.021693695336580276, 0.03798692673444748, 0.02158348076045513, 0.0338539183139801, -0.013299098238348961, -0.0070904032327234745, -0.03480910509824753, 0.005437200423330069, -0.04904501885175705, -0.07553300261497498, -0.0000064264313550665975, -0.054482217878103256, -0.002024025423452258, -0.039566654711961746, 0.036131665110588074, -0.06351972371339798, -0.001408666605129838, 0.04133006930351257, 0.0012869724305346608, -0.015797272324562073, -0.03054751455783844, 0.024981731548905373, -0.06616485118865967, 0.005147889722138643, 0.0024775080382823944, -0.010690711438655853, -0.04155049845576286, 0.014943116344511509, -0.00005715173756470904, 0.0009919216390699148, 0.06197673827409744, -0.021601850166916847, -0.00996513944119215, -0.09250587970018387, 0.05701712891459465, -0.09493058174848557, -0.018488317728042603, -0.06785479187965393, -0.051432978361845016, 0.008798712864518166, 0.019250627607107162, -0.00763687863945961, 0.028857573866844177, -0.017588241025805473, -0.04188113659620285, -0.046914223581552505, 0.0018231152789667249, 0.053049441426992416, -0.05011041462421417, -0.010047798976302147, 0.00653933547437191, 0.01267455518245697, -0.03927275165915489, -0.006576073355972767, 0.020811986178159714, -0.023034626618027687, -0.023457111790776253, 0.038133878260850906, -0.04845721274614334, 0.03739912062883377, -0.004206482786685228, 0.017129018902778625, -0.06616485118865967, -0.08170495927333832, 0.003655415028333664, -0.054261788725852966, -0.01917715184390545, 0.04673053324222565, -0.04114638268947601, 0.03534180298447609, -0.03637046366930008, -0.00604796689003706, 0.045848824083805084, -0.02382448874413967, -0.020701773464679718, 0.004332769196480513, 0.024265343323349953, 0.045261017978191376, 0.049522608518600464, 0.005244326777756214, -0.05113907530903816, 0.03846452012658119, -0.06025005877017975, 0.001378817018121481, 0.008950256742537022, -0.018561793491244316, -0.0036990412045270205, -0.0010418621823191643, -0.043020009994506836, -0.04878785088658333, -0.002590017858892679, 0.0048815407790243626, 0.010938691906630993, -0.003772516967728734, -0.039750345051288605, -0.017413737252354622, -0.0037495559081435204, 0.008178762160241604, -0.02024254947900772, 0.02105078287422657, -0.013776689767837524, -0.03416619077324867, 0.020260918885469437, 0.024265343323349953, -0.10734797269105911, 0.0359296090900898, 0.00394013337790966, -0.009487546980381012, -0.011397914960980415, -0.023365266621112823, 0.024779673665761948, -0.034827474504709244, -0.041403546929359436, 0.09544491022825241, -0.0042615896090865135, 0.021289577707648277, 0.01032333355396986, 0.056686487048864365, -0.045444708317518234, -0.05029410496354103, 0.030253611505031586, -0.041587237268686295, 0.03363349288702011, 0.04570187255740166, -0.015439077280461788, 0.04011772200465202, -0.022005965933203697, -0.03570917993783951, -0.037693023681640625, 0.06601789593696594, 0.07009579986333847, 0.034331511706113815, 0.035947978496551514, -0.008137431927025318, 0.003956206142902374, 0.00810528639703989, 0.0019413653062656522, -0.03010665997862816, 0.03945644199848175, -0.010672342963516712, -0.023769382387399673, -0.015475815162062645, 0.000664725317619741, 0.033082425594329834, -0.012224516831338406, -0.013602185063064098, 0.022465189918875694, -0.06436469405889511, 0.0019000351894646883, -0.005662219598889351, 0.003960798494517803, -0.037656284868717194, 0.03839104250073433, -0.009928401559591293, 0.07575342804193497, 0.03642556816339493, 0.024467401206493378, 0.0029482117388397455, 0.05146971344947815 ]
40,985
pyglove.core.object_utils.value_location
_compare
Compare to another KeyPath or a string. Args: other: A Keypath or a string. comparison: A comparison operator. Returns: Whether or not the comparison holds true. Raises: TypeError: The other object is neither a Keypath nor a string.
def _compare( self, other: Any, comparison: Callable[[Any, Any], bool] ) -> bool: """Compare to another KeyPath or a string. Args: other: A Keypath or a string. comparison: A comparison operator. Returns: Whether or not the comparison holds true. Raises: TypeError: The other object is neither a Keypath nor a string. """ if isinstance(other, str): return comparison(self.path, other) if isinstance(other, KeyPath): return comparison( tuple(map(KeyPath._KeyComparisonWrapper, self.keys)), tuple(map(KeyPath._KeyComparisonWrapper, other.keys)) ) raise TypeError( f'Comparison is not supported between instances of \'KeyPath\' and ' f'{type(other).__name__!r}.')
(self, other: Any, comparison: Callable[[Any, Any], bool]) -> bool
[ 0.045257680118083954, -0.03745463117957115, -0.032972417771816254, 0.05084684118628502, 0.0006657542544417083, -0.04503992199897766, 0.011214613914489746, 0.07781272381544113, 0.059339459985494614, -0.044785868376493454, 0.054548751562833786, -0.016322888433933258, 0.07614323496818542, -0.01857306994497776, -0.030068956315517426, -0.037962738424539566, -0.0010247172322124243, -0.01602347008883953, -0.012421363964676857, 0.006056435871869326, 0.0014846207341179252, 0.014798572286963463, 0.027582868933677673, -0.009853617288172245, 0.046890877187252045, 0.08209532499313354, 0.0012407754547894, -0.009336438030004501, 0.036964673548936844, 0.05106459930539131, -0.03707355260848999, -0.04082990437746048, -0.0008971237111836672, 0.006151705514639616, -0.02112266980111599, 0.019362447783350945, -0.011332566849887371, 0.03397047892212868, 0.02277401275932789, -0.06645293533802032, -0.0024792824406176805, 0.01838253065943718, -0.014553592540323734, -0.03720058128237724, -0.028435761108994484, 0.011931405402719975, -0.10408903658390045, -0.014716912060976028, 0.054004352539777756, 0.01635010913014412, 0.009563270956277847, -0.07832083106040955, -0.015306677669286728, 0.03529518470168114, -0.053387369960546494, 0.0021957415156066418, 0.030068956315517426, 0.051500119268894196, -0.019108396023511887, -0.019997579976916313, -0.03435156121850014, -0.024370916187763214, -0.04003145173192024, 0.01332869566977024, -0.045947253704071045, -0.0508105494081974, -0.015306677669286728, 0.012121944688260555, -0.008247640915215015, 0.026167431846261024, -0.06325913220643997, 0.004166918806731701, -0.0236269049346447, -0.002533722436055541, -0.06609000265598297, 0.0512823611497879, -0.06325913220643997, 0.04522138833999634, 0.033752720803022385, -0.013537381775677204, 0.0008897516527213156, -0.03121219389140606, -0.02386281080543995, -0.04278973862528801, -0.02056012488901615, 0.03573070466518402, -0.008655940182507038, -0.0008602634188719094, 0.03182917833328247, 0.016404548659920692, -0.06492862105369568, -0.004042160697281361, -0.0008307751268148422, -0.012457657605409622, 0.009708443656563759, -0.0003609477134887129, -0.006800447590649128, -0.042499393224716187, 0.005058371461927891, 0.03634768724441528, 0.05669005587697029, 0.020287925377488136, 0.09741108119487762, 0.014553592540323734, 0.03607548773288727, -0.027945801615715027, -0.01309278979897499, -0.003552201669663191, -0.022937333211302757, -0.03315388411283493, -0.06242438778281212, -0.0066325911320745945, -0.008374666795134544, 0.009200338274240494, 0.021177111193537712, 0.05817807838320732, -0.02556859329342842, -0.06021049991250038, 0.028290586546063423, -0.06137188524007797, 0.024842727929353714, 0.03580328822135925, 0.036964673548936844, 0.017493346706032753, -0.042826034128665924, 0.03188361972570419, 0.03634768724441528, -0.013192595914006233, -0.04474957659840584, 0.030522622168064117, 0.050955720245838165, 0.01493467204272747, -0.00953605119138956, 0.030141543596982956, 0.04362448304891586, 0.04841519519686699, -0.015842003747820854, 0.06514637917280197, -0.00037030456587672234, 0.05146382749080658, 0.0444229356944561, -0.022429227828979492, 0.016431767493486404, -0.010062303394079208, -0.02596781961619854, 0.014353979378938675, -0.03251875191926956, 0.006419368553906679, 0.03763609752058983, 0.023372851312160492, -0.051645293831825256, 0.025913380086421967, 0.03348052129149437, -0.025151221081614494, 0.032845389097929, 0.018319016322493553, -0.03854342922568321, -0.010470602661371231, 0.022265907377004623, 0.02573191374540329, 0.025750059634447098, -0.011178320273756981, 0.01630474254488945, -0.03242801874876022, 0.03188361972570419, -0.010815388523042202, -0.03141180798411369, 0.006700641009956598, -0.0003958232409786433, 0.00037597535992972553, 0.033825308084487915, -0.03161142021417618, -0.0434793122112751, -0.009826397523283958, -0.04355189949274063, -0.008048027753829956, 0.008932676166296005, 0.04366077855229378, 0.015742195770144463, -0.029706023633480072, 0.025241954252123833, -0.022628840059041977, -0.020777884870767593, 0.061517056077718735, 0.01833716407418251, 0.013864020816981792, 0.031067021191120148, 0.006160778924822807, 0.020687151700258255, 0.013700701296329498, -0.06500120460987091, 0.014444712549448013, -0.02767360210418701, 0.02072344534099102, 0.0043869465589523315, -0.018945075571537018, 0.04177352786064148, -0.054149527102708817, 0.01909024827182293, 0.10401645302772522, -0.021775949746370316, -0.010379869490861893, -0.0055846236646175385, 0.004380141384899616, 0.002173058222979307, -0.013582748360931873, 0.05618194863200188, 0.06271473318338394, 0.029234211891889572, 0.0012679953360930085, -0.034768931567668915, -0.0786837637424469, -0.04529397562146187, -0.015751270577311516, 0.031720299273729324, 0.06271473318338394, -0.03349866718053818, -0.011332566849887371, -0.013945681042969227, 0.009762884117662907, 0.10662956535816193, 0.0708807110786438, 0.00045054664951749146, -0.03150254115462303, 0.021086378023028374, -0.011895112693309784, -0.017620371654629707, 0.00166608695872128, -0.03767239302396774, -0.013673481531441212, 0.026929590851068497, -0.008887309581041336, 0.06398499757051468, -0.019525768235325813, 0.023753931745886803, -0.03861601650714874, 0.029941929504275322, 0.014916525222361088, -0.03353496268391609, 0.001652476959861815, 0.03286353498697281, 0.007426505908370018, -0.026022259145975113, -0.032101377844810486, -0.0039945258758962154, -0.08238567411899567, -0.010615775361657143, -0.03482337296009064, 0.033680133521556854, 0.022792160511016846, 0.02259254641830921, -0.009454390965402126, -0.012711710296571255, -0.05436728522181511, -0.03767239302396774, 0.012530243955552578, -0.07432857155799866, -0.04964916408061981, 0.06137188524007797, 0.028508346527814865, -0.010652068071067333, 0.035313330590724945, -0.053060729056596756, -0.0002061343111563474, -0.014553592540323734, -0.04231792688369751, 0.0010241500567644835, 0.04950398951768875, 0.024516088888049126, -0.006487417966127396, -0.018709169700741768, -0.0053577907383441925, -0.02306436002254486, 0.05139124020934105, -0.026258165016770363, 0.011042220517992973, 0.01537019107490778, -0.011196467094123363, -0.03326276317238808, -0.01663138158619404, 0.009018871933221817, 0.0043098232708871365, -0.028363173827528954, -0.06431163847446442, -0.03847084194421768, -0.0036860329564660788, -0.027038469910621643, -0.09283813089132309, -0.02948826365172863, -0.03995886817574501, 0.04068473353981972, -0.0012498487485572696, -0.02823614701628685, 0.03346237540245056, -0.009762884117662907, 0.007108940277248621, -0.009608637541532516, -0.13864021003246307, 0.06460198014974594, 0.015234091319143772, 0.01161383930593729, 0.0010241500567644835, 0.04663682356476784, -0.027655456215143204, 0.03981369361281395, 0.057524800300598145, -0.013156302273273468, 0.03291797637939453, -0.024262037128210068, 0.05052020028233528, -0.06039196625351906, 0.018010525032877922, -0.01220360491424799, 0.011387006379663944, 0.029161624610424042, 0.06706992536783218, 0.022628840059041977, 0.015959955751895905, -0.026294458657503128, 0.04137430340051651, 0.0038402792997658253, 0.06638035178184509, -0.10546818375587463, -0.003697374602779746, 0.005366864148527384, -0.05973868817090988, -0.02251996099948883, -0.008297543972730637, 0.07305830717086792, 0.061045244336128235, 0.06133558973670006, 0.00391740258783102, 0.07051777839660645, -0.016885433346033096, 0.038978949189186096, 0.036565449088811874, 0.023282118141651154, 0.006777764298021793, 0.006854887120425701, -0.004922271706163883, 0.018518630415201187, -0.05052020028233528, 0.043443020433187485, -0.05218969285488129, -0.018037743866443634, -0.017284659668803215, -0.003729131305590272, 0.020614564418792725, 0.010579481720924377, -0.00890999287366867, -0.08122429251670837, -0.017801837995648384, 0.008968968875706196, -0.03397047892212868, -0.0012226288672536612, 0.019053954631090164, -0.03691023215651512, 0.008016271516680717, -0.010579481720924377, 0.004062575288116932, 0.08078876882791519, 0.0263488981872797, -0.0021662532817572355, -0.037418339401483536, -0.043225258588790894, -0.03141180798411369, 0.01454451959580183, -0.05215339735150337, -0.059557221829891205, 0.016885433346033096, 0.016694894060492516, -0.00040659779915586114, 0.017221147194504738, -0.038035325706005096, -0.009136825799942017, -0.012375997379422188, -0.029306799173355103, 0.062460679560899734, -0.007004596758633852, 0.007462799083441496, 0.05618194863200188, 0.06834018975496292, 0.014952818863093853, 0.09465279430150986, -0.007104403339326382, -0.005081054754555225, -0.004981248173862696, -0.0185458492487669, 0.04072102531790733, -0.003568080021068454, -0.06322284042835236, -0.03963222727179527, -0.008810185827314854, 0.009962496347725391, -0.015587950125336647, -0.0016014395514503121, -0.014453786425292492, 0.027165496721863747, -0.059883859008550644, -0.04217275604605675, 0.024770142510533333, -0.0037064480129629374, -0.05523832514882088, 0.029524557292461395, 0.04231792688369751, 0.05262520909309387, 0.03879748284816742, 0.06369464844465256, -0.07643358409404755, 0.05672634765505791, -0.03204694017767906, 0.014562666416168213, 0.0033276372123509645, -0.0067505440674722195, -0.06438422203063965, 0.022356640547513962, -0.01826457679271698, 0.028345027938485146, 0.006455661728978157, 0.03340793401002884, -0.05727074667811394, 0.01615956984460354, -0.0024792824406176805, -0.03315388411283493, 0.03489596024155617, -0.022973626852035522, 0.009436245076358318, -0.02026977948844433, -0.0022195589262992144, -0.0280002411454916, -0.04456811025738716, 0.02008831314742565, 0.006759617477655411, 0.04543914645910263, 0.010633922182023525, 0.045257680118083954, 0.004228163510560989, -0.0564722940325737, 0.03607548773288727, -0.03598475456237793, -0.026802564039826393, -0.04983063042163849, 0.000653278490062803, -0.0016479403711855412, -0.09378175437450409, -0.03291797637939453, -0.02526010014116764, 0.04097507894039154, 0.02487902157008648, -0.001423375797457993, 0.032101377844810486, 0.041954994201660156, -0.011477739550173283, -0.01987055316567421, 0.014989111572504044, 0.024280183017253876, -0.0009226424153894186, 0.01231248490512371, -0.06253326684236526, 0.038978949189186096, -0.03188361972570419, 0.044713281095027924, 0.03558553010225296, -0.04308008775115013, -0.03607548773288727, 0.041011370718479156, -0.015678683295845985, 0.0569441057741642, 0.028962012380361557, 0.025296393781900406, -0.01560609694570303, -0.05654488131403923, -0.054476168006658554, 0.05614565685391426, -0.0017590883653610945, 0.038507137447595596, 0.04217275604605675, 0.011450519785284996, -0.06423904746770859, -0.020287925377488136, -0.019598353654146194, -0.04921364411711693, -0.026802564039826393, -0.03153883293271065, 0.03553108870983124, -0.0652189701795578, -0.017801837995648384, 0.014027340337634087, -0.019180981442332268, -0.03373457491397858, 0.006256048567593098, 0.054076939821243286, -0.026639243587851524, 0.03395233303308487, 0.05160899832844734, 0.013700701296329498, -0.0044209714978933334, 0.002293279627338052, -0.037962738424539566, 0.027655456215143204, -0.007068110164254904, 0.017429832369089127, -0.014009193517267704, 0.055891603231430054, 0.041011370718479156, 0.004268993157893419, -0.013319621793925762, -0.023790225386619568, -0.023663198575377464, -0.005026614759117365, -0.013110935688018799, -0.03466005250811577, 0.04543914645910263, -0.014698765240609646, 0.013519234955310822, 0.0026221871376037598, -0.009223021566867828, -0.04246310144662857, -0.031103314831852913, 0.004745342303067446, -0.004981248173862696, -0.025042342022061348, -0.02377207763493061, -0.06217033416032791, -0.0016139154322445393, -0.025822646915912628, -0.01703968085348606, -0.01462617889046669, 0.060900069773197174, -0.05872247740626335, -0.020687151700258255, 0.05378659442067146, 0.04308008775115013, 0.02839946746826172, -0.004148771986365318, 0.07766754925251007, -0.06902975589036942, 0.0850713774561882, -0.005906726233661175, 0.02698403038084507, 0.014889305457472801, 0.02095935121178627, -0.014081780798733234, -0.020233485847711563, 0.015842003747820854, 0.032264698296785355, -0.01661323383450508, 0.02173965610563755, 0.02360875904560089, 0.031901765614748, -0.012475804425776005, -0.0007258649566210806, 0.012022138573229313, 0.00022087844263296574, -0.005035688169300556, 0.0071724532172083855, -0.0031824642792344093, 0.0034410536754876375, 0.025205660611391068, 0.00539408391341567, 0.038361962884664536, -0.00035726165515370667, -0.0008818125352263451, 0.011178320273756981, 0.016322888433933258, -0.03636583685874939, 0.03177474066615105, 0.00714069651439786, 0.009005262516438961, 0.010661141946911812, 0.00617892574518919, 0.0477256216108799, 0.010697434656322002, -0.039523348212242126, -0.0004465770907700062, 0.014444712549448013, -0.04155576974153519, 0.040249213576316833, -0.08347447216510773, -0.019507620483636856, -0.006478345021605492, 0.044241469353437424, 0.09574159234762192, 0.05803290382027626, -0.02003387361764908, -0.04369707033038139, 0.018137551844120026, 0.000983887235634029, -0.062460679560899734, 0.005920336116105318, -0.07519961148500443, -0.019888700917363167, 0.013446648605167866, 0.003152976045385003, 0.0120493583381176, -0.0018691023578867316, 0.01317444909363985, 0.029941929504275322, -0.009200338274240494, -0.06652552634477615, 0.008841942995786667, -0.044241469353437424, 0.0013780093286186457, 0.005961166229099035, 0.047580450773239136, -0.016694894060492516, 0.0026448704302310944, -0.008501693606376648, -0.0014936940278857946, 0.011559399776160717, 0.06148076429963112, 0.04812484607100487, 0.07022743672132492, 0.011078514158725739, 0.05796031653881073, 0.0002551868965383619, 0.010153036564588547, -0.04514880105853081, -0.02832688018679619, 0.0019167371792718768, -0.013011129572987556, 0.0033707355614751577, 0.01857306994497776, 0.018872490152716637, -0.03442414477467537, -0.05632712319493294, 0.031012581661343575, -0.018745463341474533, 0.01566961035132408, -0.08594240993261337, 0.006183462217450142, -0.055020563304424286, 0.04710863530635834, -0.027165496721863747, -0.011087587103247643, -0.07157028466463089, -0.014580812305212021, -0.004727195482701063, -0.028290586546063423, 0.009200338274240494, -0.005212618038058281, 0.012167311273515224, -0.07392934709787369, 0.024933461099863052, -0.05629082769155502, -0.0037087162490934134, 0.013364988379180431, -0.021866682916879654, 0.04921364411711693, 0.019289862364530563, -0.045257680118083954, 0.05999274179339409, -0.03456931933760643, -0.017112266272306442, -0.0564722940325737, -0.005480280611664057, 0.006505564786493778, -0.06409388035535812, -0.018092185258865356, -0.01835530996322632, 0.02618557959794998, 0.019924992695450783, 0.02199370786547661, 0.012258044444024563, -0.048524074256420135, -0.04554802551865578, 0.03400677442550659, -0.04122912883758545, 0.008007197640836239, 0.03485966473817825, -0.012838737107813358, -0.03622066229581833, -0.0003467706555966288, -0.05716186761856079, -0.004885978531092405, 0.02261069416999817, 0.05287926271557808, -0.012167311273515224, 0.03128477931022644, -0.01580571010708809, -0.04217275604605675, 0.036002904176712036, -0.05422211438417435, 0.007535385899245739, -0.01979796774685383, 0.04670941084623337, 0.04972175136208534, 0.045330267399549484, 0.013628114946186543, -0.019979434087872505, 0.03620251640677452, -0.03807161748409271, 0.014961891807615757, -0.04747156798839569, -0.014453786425292492, -0.016531575471162796, -0.0333172008395195, -0.019525768235325813, -0.032645776867866516, 0.0019087980035692453, 0.031067021191120148, -0.004398288205265999, 0.02230220101773739, -0.03667432814836502, 0.004890515469014645, -0.0564722940325737, -0.03019598312675953, -0.007535385899245739, 0.048995885998010635, -0.007458262611180544, -0.034133799374103546, -0.0004970473819412291, 0.024751994758844376, -0.10140333324670792, 0.010252842679619789, 0.020614564418792725, 0.015787562355399132, 0.0050492980517446995, 0.02769174799323082, 0.0063240984454751015, -0.023899104446172714, -0.015097991563379765, 0.08071618527173996, -0.029451971873641014, -0.004786171950399876, 0.00607911916449666, 0.059303168207407, -0.053532540798187256, -0.03894265741109848, 0.046963464468717575, -0.010633922182023525, 0.04456811025738716, 0.012766149826347828, -0.011777158826589584, 0.01239414419978857, -0.028816839680075645, -0.018981369212269783, -0.03916041553020477, 0.0852891355752945, 0.10786353796720505, 0.008637793362140656, 0.06587224453687668, 0.030286716297268867, -0.024842727929353714, 0.035948462784290314, -0.024497942999005318, -0.024153156206011772, 0.05356883630156517, -0.03553108870983124, 0.018319016322493553, -0.003205147571861744, -0.03759980574250221, 0.01835530996322632, -0.028816839680075645, 0.006646201014518738, 0.06021049991250038, -0.038035325706005096, 0.007431042846292257, -0.0049631018191576, 0.021612629294395447, -0.010606701485812664, 0.05385918170213699, -0.04529397562146187, 0.008283933624625206, 0.045947253704071045, -0.030794821679592133, -0.0002689386310521513, 0.07781272381544113 ]
40,986
pyglove.core.object_utils.value_location
_has_special_chars
Returns True if key has special characters.
def _has_special_chars(self, key): """Returns True if key has special characters.""" return any([c in key for c in ['[', ']', '.']])
(self, key)
[ 0.04286893084645271, -0.07431076467037201, 0.05879761278629303, 0.05858984962105751, 0.0011914048809558153, 0.024585574865341187, 0.005215777549892664, -0.05990569666028023, 0.11413247138261795, -0.042661167681217194, -0.007708963006734848, 0.030974362045526505, 0.03246334567666054, -0.032774996012449265, -0.029520003125071526, -0.018162161111831665, 0.002977970987558365, 0.04917114973068237, 0.012292787432670593, -0.00016285778838209808, -0.06274515390396118, 0.008587636984884739, 0.06174095720052719, 0.008263004012405872, 0.011808001436293125, 0.06620791554450989, 0.04297281429171562, -0.010327672585844994, 0.05713549256324768, -0.0281002726405859, -0.019183674827218056, -0.019512636587023735, 0.04415015131235123, 0.04955205321311951, 0.04685110226273537, -0.0007710044737905264, 0.004826217424124479, -0.012552494183182716, -0.014405068941414356, -0.004075231961905956, -0.0027442348655313253, 0.061775583773851395, -0.013115191832184792, 0.0008878725348040462, 0.02505304664373398, -0.002397959353402257, 0.03473145142197609, 0.05782804265618324, 0.004938757047057152, -0.01710601896047592, 0.014110734686255455, -0.019478008151054382, -0.0007109473226591945, -0.04203787073493004, -0.04203787073493004, -0.0014727538218721747, -0.02224821411073208, 0.05114492028951645, 0.0036856720689684153, 0.02463751658797264, -0.02226552739739418, 0.02304464764893055, -0.03764016926288605, -0.02664591558277607, 0.04924040660262108, 0.0004493468441069126, -0.025555146858096123, -0.03777867928147316, 0.04193398728966713, -0.010076623409986496, 0.021624917164444923, -0.015997936949133873, -0.014482981525361538, 0.03024718351662159, -0.03673985227942467, -0.047612909227609634, -0.042557284235954285, -0.03189199045300484, -0.04217638075351715, -0.010604693554341793, -0.021105503663420677, -0.03343291953206062, 0.027494290843605995, 0.013149820268154144, 0.01690691150724888, 0.02832535281777382, -0.02834266610443592, 0.01868157461285591, 0.034679513424634933, 0.056062035262584686, 0.025278126820921898, 0.01710601896047592, 0.002111199777573347, -0.0051681650802493095, 0.009799602441489697, -0.04511972516775131, 0.062225744128227234, 0.023321669548749924, -0.0063801296055316925, -0.05405363813042641, 0.030212555080652237, 0.014309843070805073, 0.04698961228132248, -0.0009051863453350961, 0.0219365656375885, 0.001840671757236123, -0.011115450412034988, -0.025278126820921898, -0.03608192875981331, -0.00502965459600091, -0.02756354585289955, -0.03213438391685486, 0.03443711996078491, -0.0010361218592152, 0.051560454070568085, 0.02654203213751316, 0.01876814290881157, 0.008695848286151886, -0.0012985338689759374, -0.02427392639219761, 0.04647019878029823, 0.000699044088833034, -0.01563434861600399, -0.01215427741408348, 0.05405363813042641, 0.03362337127327919, -0.00837987195700407, 0.06776615232229233, -0.04338834434747696, 0.052356887608766556, -0.04352685436606407, 0.07438001781702042, -0.01809290610253811, -0.0038523171097040176, -0.018144845962524414, -0.007302088662981987, -0.020603403449058533, -0.007734933402389288, -0.0026706513017416, -0.0539843812584877, 0.026143815368413925, 0.013764459639787674, 0.024706771597266197, 0.013045936822891235, -0.06838945299386978, -0.019270243123173714, -0.05433065816760063, 0.0022183286491781473, 0.026784425601363182, -0.08705370873212814, -0.0036986572667956352, 0.006674464326351881, -0.026715170592069626, -0.03736314922571182, 0.00804225355386734, 0.04016797989606857, 0.01702810823917389, 0.004425836261361837, -0.014638805761933327, 0.022438665851950645, 0.04428866133093834, -0.005133537109941244, -0.03971782326698303, 0.027598174288868904, -0.0008040089160203934, 0.015391955152153969, 0.03464488312602043, -0.04653945565223694, 0.036601342260837555, 0.014716717414557934, 0.05633905529975891, -0.007107308600097895, -0.02891402132809162, 0.04813232272863388, 0.06437265127897263, 0.039198409765958786, -0.026455463841557503, -0.00778254633769393, -0.022802254185080528, -0.020620718598365784, -0.016214359551668167, 0.0008705587824806571, -0.01444835402071476, -0.012180248275399208, 0.01911441795527935, -0.01958189159631729, 0.014266558922827244, -0.008224047720432281, -0.009834229946136475, 0.05079864710569382, -0.02766742929816246, 0.00911570806056261, -0.0584859661757946, 0.006155050825327635, -0.040652766823768616, -0.03448906168341637, 0.051110293716192245, 0.017010793089866638, -0.0450158417224884, -0.015218816697597504, -0.058416709303855896, -0.04591615870594978, -0.008527039550244808, 0.020412953570485115, 0.02214433066546917, -0.026005305349826813, -0.005899672396481037, -0.016110477969050407, 0.01635286957025528, -0.08504531532526016, -0.031216755509376526, -0.0449465848505497, 0.051664333790540695, 0.061463937163352966, 0.019720401614904404, 0.04733588919043541, -0.04141457378864288, -0.00018815214571077377, -0.03348486125469208, 0.0075055258348584175, 0.019166359677910805, 0.030108671635389328, 0.025693656876683235, 0.00973034743219614, 0.04484270513057709, 0.021884623914957047, -0.002270270138978958, 0.07694245874881744, -0.040999043732881546, -0.006739391013979912, -0.0035233553498983383, 0.02711338736116886, -0.008812716230750084, 0.04553525522351265, -0.0058693732134997845, -0.032757680863142014, 0.020516835153102875, -0.009626464918255806, 0.08165181428194046, 0.0018244400853291154, 0.03473145142197609, -0.024689458310604095, -0.01776394434273243, -0.03362337127327919, -0.025278126820921898, 0.01809290610253811, -0.006042511202394962, 0.1000736802816391, -0.0034411149099469185, 0.0059602707624435425, -0.012708318419754505, -0.0047006928361952305, 0.006704763509333134, -0.006176692899316549, -0.012050394900143147, 0.03364068642258644, -0.03563176840543747, 0.03161497041583061, 0.007778218016028404, 0.000880297739058733, -0.046954985707998276, 0.08677668869495392, 0.003854481503367424, 0.08331393450498581, -0.013452811166644096, 0.027269212529063225, 0.061671704053878784, 0.08414499461650848, -0.0354066900908947, -0.05703160911798477, 0.010145878419280052, 0.005817431956529617, -0.003932393621653318, -0.029970161616802216, 0.003709478536620736, 0.04127606377005577, 0.06253739446401596, -0.022629117593169212, -0.005748176481574774, 0.002768041333183646, 0.022317469120025635, 0.032099757343530655, -0.0004066034161951393, 0.05332645773887634, 0.010777831077575684, -0.006808646023273468, 0.0021371704060584307, -0.011730089783668518, -0.0031467804219573736, 0.0021945221815258265, -0.05983643978834152, -0.027805939316749573, 0.045362118631601334, 0.02340823784470558, 0.015080306679010391, 0.017201244831085205, 0.015539121814072132, -0.07583437860012054, -0.0029065515846014023, -0.02373719960451126, 0.047855302691459656, 0.026368895545601845, -0.0450158417224884, -0.03982170671224594, -0.039544686675071716, -0.011496352963149548, -0.035458631813526154, 0.024533633142709732, -0.0009527992224320769, 0.015660319477319717, -0.019079791381955147, 0.040306493639945984, 0.018404552713036537, 0.04415015131235123, -0.008881972171366215, -0.021503720432519913, -0.018750829622149467, -0.031857363879680634, -0.017010793089866638, 0.05519634857773781, 0.051768217235803604, -0.022075075656175613, 0.0264381505548954, -0.014231931418180466, -0.023200472816824913, -0.0550924651324749, 0.04879024624824524, -0.0573432557284832, 0.009790945798158646, -0.006271918769925833, 0.0057957894168794155, -0.0866381824016571, 0.014768659137189388, -0.04972518980503082, -0.041310690343379974, 0.00797299761325121, -0.05263390764594078, -0.0013926775427535176, -0.006055496167391539, -0.015461210161447525, -0.008916599676012993, 0.01310653518885374, 0.04754365235567093, 0.0039929915219545364, -0.010007367469370365, -0.05485007166862488, -0.02699219062924385, 0.018733516335487366, -0.005696235224604607, -0.04092978686094284, 0.029191041365265846, -0.03149377554655075, 0.09210933744907379, -0.018629632890224457, 0.016162417829036713, -0.006384458392858505, -0.0029974491335451603, 0.032653797417879105, -0.011903227306902409, 0.012327414937317371, 0.15097621083259583, -0.003497384488582611, -0.033917706459760666, -0.009964083321392536, -0.04712812229990959, -0.025468578562140465, 0.017954396083950996, -0.0036488801706582308, -0.012621749192476273, -0.01698482409119606, 0.03068002685904503, 0.011271273717284203, -0.04016797989606857, -0.013677890412509441, -0.0018569034291431308, -0.0741722583770752, 0.01005930919200182, -0.0070120831951498985, 0.004352252930402756, 0.03874824941158295, 0.021226700395345688, 0.021434465423226357, 0.01766006089746952, 0.018300671130418777, 0.00269878632389009, -0.023564061149954796, 0.00478293327614665, -0.0030039416160434484, -0.0030926747713238, 0.012050394900143147, -0.011046195402741432, -0.004205085802823305, -0.051456570625305176, 0.06828556954860687, -0.07361821085214615, -0.0393369197845459, 0.0472320057451725, -0.054711561650037766, -0.03178811073303223, 0.0562005452811718, 0.04955205321311951, -0.03857511281967163, -0.017971709370613098, 0.04653945565223694, 0.06838945299386978, 0.030835852026939392, -0.023477492853999138, -0.020291756838560104, -0.022577175870537758, 0.06174095720052719, -0.014552236534655094, -0.04297281429171562, 0.007830159738659859, -0.03926766291260719, -0.02003205008804798, -0.020187873393297195, -0.040306493639945984, -0.014881198294460773, -0.01935681141912937, 0.0019564577378332615, -0.0044020297937095165, -0.052668534219264984, -0.004012469667941332, 0.06918588280677795, -0.01592002622783184, 0.009349443949759007, 0.010171848349273205, -0.07687320560216904, 0.02269837260246277, 0.005484141409397125, -0.09127827733755112, -0.061013780534267426, -0.01305459439754486, -0.03173616901040077, 0.0185430645942688, -0.023667944595217705, 0.002813490107655525, -0.0064623705111444, -0.04124143719673157, 0.011314558796584606, -0.03159765899181366, 0.05550799518823624, -0.007765232585370541, 0.004791589919477701, 0.057724159210920334, 0.012336071580648422, -0.014361784793436527, 0.08414499461650848, 0.07791203260421753, -0.0258494820445776, -0.029589258134365082, 0.07074412703514099, -0.031995873898267746, -0.03743240237236023, 0.07659618556499481, 0.03386576473712921, -0.004391208756715059, 0.016768401488661766, -0.022109704092144966, 0.04737051576375961, -0.03383113443851471, 0.08040522038936615, -0.07230236381292343, -0.011773373931646347, 0.03971782326698303, 0.008535696193575859, -0.043561484664678574, 0.05024460330605507, 0.036947619169950485, 0.08359095454216003, -0.06496132165193558, 0.04574302211403847, 0.010725890286266804, -0.026351580396294594, -0.004705021157860756, -0.021451780572533607, -0.026801738888025284, 0.062225744128227234, -0.006475355476140976, 0.013357585296034813, -0.03577027842402458, -0.07005157321691513, -0.051456570625305176, -0.028810137882828712, 0.00489114411175251, -0.02977970987558365, -0.02236941084265709, 0.006726405583322048, -0.014110734686255455, 0.012232189066708088, 0.025001104921102524, -0.011401127092540264, 0.01890665292739868, 0.05817431956529617, 0.036705225706100464, 0.002270270138978958, 0.0036315664183348417, 0.04588153213262558, 0.03116481378674507, 0.014595520682632923, 0.027736684307456017, 0.06464967131614685, -0.010215133428573608, -0.017590805888175964, 0.0225079208612442, -0.05135268718004227, -0.0281002726405859, -0.0027096073608845472, 0.01843918114900589, -0.026143815368413925, -0.014863885007798672, -0.05578501522541046, 0.07327193766832352, -0.049863699823617935, 0.011652177199721336, 0.030628085136413574, -0.005038311704993248, -0.016794372349977493, 0.03767479583621025, 0.032671112567186356, 0.0006243783864192665, 0.006916857324540615, -0.015028365887701511, -0.03663596883416176, -0.0015668976120650768, 0.02339092455804348, -0.0415877103805542, -0.023010021075606346, -0.026697857305407524, 0.03542400524020195, -0.017971709370613098, 0.00722417701035738, 0.020880425348877907, 0.011184705421328545, -0.056062035262584686, 0.062225744128227234, 0.01725318655371666, -0.02732115238904953, -0.010050652548670769, 0.05457305163145065, -0.003380516543984413, -0.022750314325094223, 0.09072423726320267, -0.05464230477809906, 0.019858911633491516, 0.06243351101875305, -0.00025186146376654506, -0.04574302211403847, -0.029277611523866653, 0.03092242032289505, -0.00357096828520298, -0.010899027809500694, -0.0450158417224884, 0.005717877764254808, 0.10415973514318466, -0.05793192610144615, 0.022404037415981293, 0.00556205352768302, -0.05124880373477936, 0.07292566448450089, -0.01674243062734604, -0.02508767507970333, -0.014863885007798672, -0.015391955152153969, -0.09543358534574509, -0.042003244161605835, -0.05207986757159233, 0.04556988179683685, -0.009626464918255806, 0.01749558001756668, -0.05214912071824074, 0.03493921831250191, 0.043007440865039825, -0.001698915148153901, -0.03874824941158295, -0.02475871331989765, 0.01710601896047592, 0.05464230477809906, -0.0483400896191597, -0.05595815181732178, -0.038505859673023224, 0.007345373276621103, -0.01592002622783184, 0.03358874469995499, 0.025451263412833214, -0.02292345091700554, 0.04598541185259819, 0.006496998015791178, -0.04702423885464668, -0.01901053637266159, -0.01124530378729105, -0.013487438671290874, 0.03338097780942917, -0.06617328524589539, 0.044808074831962585, 0.017097363248467445, 0.011487696319818497, 0.007033725269138813, -0.01023244671523571, 0.013089221902191639, 0.016448095440864563, -0.006531625520437956, 0.019287556409835815, -0.01946069486439228, 0.06014809012413025, 0.02124401368200779, 0.04782067611813545, 0.05869373306632042, -0.012760259211063385, -0.09037795662879944, -0.04511972516775131, 0.036255065351724625, 0.004466956481337547, -0.00615937914699316, 0.04463493824005127, 0.010258417576551437, -0.0029325224459171295, -0.015218816697597504, 0.04647019878029823, 0.015703603625297546, -0.04328446462750435, -0.009955426678061485, -0.03653208538889885, -0.004696364048868418, -0.008349573239684105, -0.10492153465747833, 0.010388270951807499, -0.004899801220744848, -0.012102335691452026, -0.08456052839756012, -0.027494290843605995, -0.018283357843756676, -0.005046968348324299, 0.008899285458028316, 0.028533117845654488, 0.007635379210114479, -0.020966993644833565, -0.036705225706100464, -0.01260443590581417, 0.04196861386299133, -0.050660137087106705, -0.017937080934643745, -0.044704195111989975, 0.02114013209939003, -0.022646430879831314, 0.04061814025044441, -0.058970753103494644, -0.031649600714445114, 0.015365984290838242, -0.02775399759411812, -0.018266042694449425, 0.07431076467037201, 0.05027923360466957, 0.02519155666232109, 0.009574523195624352, 0.013738488778471947, -0.024083474650979042, -0.020274441689252853, -0.015651661902666092, -0.015218816697597504, 0.003921572118997574, -0.049413543194532394, -0.04058351367712021, -0.04214175418019295, 0.02056877687573433, -0.03166691213846207, -0.01186859980225563, -0.04678184911608696, -0.014595520682632923, 0.048409342765808105, 0.0180063359439373, -0.013470124453306198, -0.059178516268730164, -0.07320268452167511, 0.00412933761253953, 0.011565608903765678, 0.01140978466719389, -0.050660137087106705, 0.07064024358987808, 0.016794372349977493, -0.020153246819972992, -0.02655934728682041, -0.006254605017602444, 0.024654829874634743, -0.03024718351662159, 0.060425110161304474, -0.02371988631784916, 0.002311390358954668, 0.032774996012449265, -0.030558830127120018, -0.02316584438085556, -0.04106829687952995, -0.01112410705536604, 0.04827083274722099, -0.003726792288944125, 0.013305643573403358, 0.05568113178014755, 0.04584690183401108, 0.038055699318647385, -0.0032290208619087934, -0.06416488438844681, 0.02169417217373848, -0.013920282945036888, 0.01411939226090908, 0.008743461221456528, -0.018595004454255104, -0.008838687092065811, -0.013149820268154144, 0.00837987195700407, 0.019426066428422928, -0.003335067769512534, 0.024654829874634743, 0.020274441689252853, -0.07936639338731766, 0.006293560843914747, -0.07839681953191757, 0.009635121561586857, -0.028844766318798065, 0.0853915885090828, -0.02711338736116886, 0.04647019878029823, 0.008180763572454453, -0.005103238392621279, 0.035129670053720474, -0.005185478832572699, -0.02730383910238743, -0.058970753103494644, -0.04463493824005127, 0.021503720432519913, -0.01626630127429962, -0.037847936153411865, 0.024221984669566154, -0.025122301653027534, 0.041656967252492905, -0.051664333790540695, -0.0264381505548954, -0.05793192610144615, -0.0241527296602726, -0.03511235490441322, 0.04061814025044441, 0.024568261578679085, 0.014136705547571182, -0.021538348868489265, -0.05928239971399307, 0.027234584093093872, -0.021867310628294945, 0.005947285331785679, 0.027580859139561653, -0.01018050592392683, 0.0032571558840572834, 0.013677890412509441, 0.06129080057144165, -0.06534222513437271, 0.04678184911608696, 0.03294813260436058, 0.06485743820667267, -0.005964599084109068, -0.010197819210588932, 0.0007672171341255307, -0.018369926139712334, -0.054815445095300674, -0.005839074030518532, 0.002636023797094822, 0.045500628650188446, -0.052910927683115005, 0.004222399555146694, 0.034818023443222046, 0.016049878671765327 ]
40,988
pyglove.core.object_utils.value_location
_query
Query the value of current path up to key_pos from an object. Args: key_pos: Start position in self._keys. src: Source value to query. Returns: Value from src if path exists. Raises: KeyError: Path doesn't exist in src.
def _query(self, key_pos: int, src: Any) -> Any: """Query the value of current path up to key_pos from an object. Args: key_pos: Start position in self._keys. src: Source value to query. Returns: Value from src if path exists. Raises: KeyError: Path doesn't exist in src. """ if key_pos == len(self._keys): return src key = self.keys[key_pos] # NOTE(daiyip): For contextual value (e.g. ``pg.ContextualValue``), # `query` returns its symbolic form instead of its evaluated value. if hasattr(src, 'sym_getattr'): assert hasattr(src, 'sym_hasattr') if src.sym_hasattr(key): return self._query(key_pos + 1, src.sym_getattr(key)) elif hasattr(src, '__getitem__'): if isinstance(key, int): if not hasattr(src, '__len__'): raise KeyError( f'Cannot query index ({key}) on object ({src!r}): ' f'\'__len__\' does not exist.') if key < len(src): return self._query(key_pos + 1, src[key]) else: if not hasattr(src, '__contains__'): raise KeyError( f'Cannot query key ({key!r}) on object ({src!r}): ' f'\'__contains__\' does not exist.') if key in src: return self._query(key_pos + 1, src[key]) else: raise KeyError( f'Cannot query sub-key {key!r} of object ({src!r}): ' f'\'__getitem__\' does not exist. ' f'(path={KeyPath(self.keys[:key_pos])})') raise KeyError( f'Path {KeyPath(self._keys[:key_pos + 1])!r} does not exist: ' f'key {key!r} is absent from innermost value {src!r}.')
(self, key_pos: int, src: Any) -> Any
[ 0.05880255252122879, -0.08874667435884476, -0.08811627328395844, 0.015164684504270554, 0.02348249778151512, 0.004942531697452068, 0.021416177973151207, -0.0110320458188653, 0.09995383769273758, -0.061639364808797836, 0.0068381172604858875, 0.04125634953379631, 0.06244488060474396, 0.019454924389719963, -0.02772020362317562, 0.056175876408815384, 0.03134501725435257, 0.060903895646333694, 0.0026091663166880608, 0.030557015910744667, 0.024095388129353523, 0.030276836827397346, 0.048400912433862686, 0.024393077939748764, -0.0360029935836792, 0.01828167587518692, 0.04955665022134781, -0.008974481374025345, 0.042692266404628754, -0.016696913167834282, 0.003686104202643037, 0.0059144021943211555, 0.033691518008708954, -0.017782606184482574, -0.05459986999630928, -0.04654472693800926, 0.0180014967918396, 0.0034190586302429438, 0.023675119504332542, -0.04157155007123947, -0.04195679724216461, 0.012336628511548042, -0.0019503080984577537, -0.030451947823166847, 0.012047694064676762, 0.0010742016602307558, -0.007757454179227352, -0.014508015476167202, 0.007761831860989332, 0.017660029232501984, 0.028245538473129272, 0.009946351870894432, -0.019384879618883133, -0.046929970383644104, -0.016626868396997452, -0.009972618892788887, -0.052323415875434875, 0.05155292525887489, 0.006654249504208565, 0.00921963807195425, 0.024182943627238274, 0.010795644484460354, -0.014166546985507011, 0.05354920029640198, -0.0175637174397707, -0.0839836373925209, 0.000348034780472517, -0.0139389019459486, -0.05817215144634247, -0.0049863094463944435, -0.05841730907559395, -0.0051833102479577065, -0.019297324120998383, 0.00056199956452474, -0.04976678267121315, -0.037894200533628464, -0.04997691884636879, 0.01831669732928276, 0.05078243091702461, -0.030749637633562088, 0.017108425498008728, -0.05792699381709099, -0.033498894423246384, -0.09463043510913849, 0.002471265848726034, 0.056596145033836365, 0.0316777303814888, -0.0063390485011041164, 0.07053504884243011, 0.047210149466991425, -0.010804399847984314, 0.008663658052682877, -0.03586290404200554, 0.04160657152533531, 0.03584539145231247, 0.021188531070947647, 0.020645685493946075, -0.04566916450858116, -0.01796647347509861, 0.005200821440666914, 0.02321982942521572, 0.002519421512261033, 0.03218555450439453, 0.033919163048267365, 0.025741439312696457, 0.0058793798089027405, -0.00436028465628624, -0.030802171677350998, 0.061464253813028336, -0.010804399847984314, -0.016749447211623192, 0.0278778038918972, -0.015077129006385803, -0.006636738311499357, -0.0329035148024559, -0.008624257519841194, -0.04073101282119751, 0.005178932566195726, -0.0018539965385571122, -0.010891956277191639, 0.021118486300110817, 0.014525526203215122, -0.02749255858361721, 0.02749255858361721, 0.05943295732140541, -0.024165432900190353, 0.021521244198083878, -0.020680706948041916, -0.007608609274029732, -0.00587500212714076, 0.03947020694613457, 0.008177722804248333, -0.03516245633363724, 0.025478770956397057, 0.042937420308589935, 0.10149481892585754, 0.03610806167125702, 0.012257828377187252, -0.061499275267124176, 0.02715984545648098, 0.042727287858724594, -0.04391804710030556, 0.012152761220932007, -0.03663339465856552, -0.0031148018315434456, 0.016092777252197266, 0.03180030733346939, 0.04381297901272774, 0.01167120411992073, 0.005765557289123535, -0.011574892327189445, -0.0013461721828207374, 0.017800118774175644, 0.030802171677350998, -0.003027245867997408, -0.05981820076704025, 0.0035022366791963577, -0.029471321031451225, -0.008856280706822872, -0.02243182621896267, 0.008689925074577332, -0.038734737783670425, -0.011925116181373596, -0.061569321900606155, -0.038244426250457764, 0.04199181869626045, -0.05967811122536659, -0.016495535150170326, -0.01587388850748539, -0.001475317170843482, 0.04405813664197922, -0.0035022366791963577, -0.012073961086571217, -0.019945237785577774, -0.02644188702106476, 0.013623700477182865, -0.05039718747138977, 0.016145311295986176, -0.020225416868925095, -0.06486142426729202, -0.02321982942521572, -0.017309805378317833, -0.014394192956387997, -0.03999554365873337, 0.04055590182542801, 0.0727064311504364, 0.006715538911521435, -0.003683915128931403, 0.04083608090877533, 0.046894948929548264, -0.09904325008392334, -0.02202906832098961, 0.024200456216931343, 0.0039115604013204575, -0.0312399510294199, -0.003622625954449177, 0.011285957880318165, 0.028525717556476593, -0.03978540748357773, 0.12944266200065613, -0.060973942279815674, -0.02663451060652733, -0.0005784162785857916, -0.0005882662953808904, -0.06507156044244766, 0.011215913109481335, 0.01596144400537014, 0.029278699308633804, -0.03486476466059685, -0.02309725061058998, -0.09378989785909653, -0.07389719039201736, 0.0012991109397262335, -0.03908495977520943, -0.00002609576768008992, 0.05764681473374367, -0.033551428467035294, -0.021696357056498528, 0.028052914887666702, 0.023464985191822052, 0.11424296349287033, -0.05130776762962341, 0.025776462629437447, -0.009499817155301571, 0.04864606633782387, -0.06342550367116928, -0.013212188147008419, -0.017379850149154663, -0.0032439467031508684, -0.06720792502164841, 0.05337408557534218, 0.004253028891980648, 0.05127274617552757, -0.008514813147485256, 0.039155006408691406, 0.019559992477297783, 0.030154258012771606, 0.023517519235610962, 0.08503430336713791, -0.0037079930771142244, -0.056386008858680725, 0.01378130167722702, -0.010305331088602543, -0.01337854377925396, -0.06030851602554321, 0.008558590896427631, 0.07014980167150497, 0.01124218013137579, 0.006711161229759455, -0.014096502214670181, 0.03560023754835129, 0.005432844627648592, 0.001903246738947928, -0.021643823012709618, 0.005288377404212952, -0.048400912433862686, -0.05032714083790779, 0.0005557064432650805, 0.0276151355355978, -0.006356559693813324, -0.08972730487585068, -0.05747170373797417, -0.010769377462565899, 0.005726156756281853, -0.038909848779439926, 0.02202906832098961, 0.01350987795740366, 0.013457344844937325, -0.04388302564620972, 0.033744052052497864, 0.0012334439670667052, 0.014613082632422447, -0.028560740873217583, 0.020575640723109245, -0.002176858950406313, 0.06503653526306152, -0.034812234342098236, 0.02300969511270523, -0.01554993074387312, -0.03239569067955017, 0.029366254806518555, -0.021538754925131798, -0.014297881163656712, -0.01852683164179325, 0.020190393552184105, -0.007696165237575769, 0.005358422175049782, -0.07106038182973862, 0.04405813664197922, -0.006514160428196192, 0.06710285693407059, -0.0016132177552208304, 0.004627330228686333, 0.010392887517809868, 0.02309725061058998, 0.04143146052956581, -0.04048585519194603, -0.05978317931294441, 0.025005970150232315, 0.043392714112997055, 0.017187226563692093, -0.016968335956335068, -0.008221500553190708, 0.028122959658503532, 0.030241813510656357, 0.06286514550447464, 0.05036216229200363, 0.01842176541686058, 0.006317159626632929, -0.002243620343506336, -0.052393462508916855, -0.028858430683612823, 0.01097951177507639, 0.015182196162641048, -0.0377541109919548, -0.08167216181755066, -0.052463505417108536, 0.014070236124098301, -0.009718706831336021, 0.04696499556303024, -0.051622968167066574, 0.0706050917506218, -0.030311858281493187, 0.002981279045343399, -0.029506344348192215, 0.003366525052115321, -0.01372001226991415, 0.033989205956459045, 0.0046535967849195, 0.010865689255297184, 0.002094775205478072, -0.01884203404188156, 0.03101230598986149, 0.021468710154294968, 0.036528330296278, -0.013676234520971775, 0.01850932091474533, 0.03113488480448723, 0.03614308312535286, 0.015278507955372334, 0.0656319186091423, -0.05943295732140541, 0.043707914650440216, -0.0014008947182446718, 0.0879061371088028, -0.07179585099220276, 0.039400164037942886, -0.019787637516856194, 0.056666187942028046, -0.053128931671381, -0.01801900751888752, -0.021398665383458138, 0.004763042088598013, -0.04045083373785019, 0.024690767750144005, 0.014297881163656712, 0.013089609332382679, -0.048260822892189026, -0.0158388651907444, -0.01812407560646534, 0.1076587587594986, -0.0008148172637447715, -0.03943518549203873, -0.03134501725435257, -0.01673193648457527, -0.017029626294970512, -0.06948437541723251, -0.0360029935836792, -0.01153111457824707, -0.007210229989141226, -0.021591288968920708, -0.03971536457538605, -0.01842176541686058, 0.030084213241934776, 0.003994738683104515, 0.005200821440666914, 0.02278205007314682, 0.04038078710436821, 0.012494229711592197, 0.02668704278767109, 0.08111180365085602, -0.005432844627648592, -0.004618574399501085, 0.04146648198366165, 0.0056473566219210625, 0.026091663166880608, 0.01655682362616062, 0.007945699617266655, 0.033674005419015884, 0.0026069774758070707, -0.023937787860631943, -0.020102838054299355, 0.02687966637313366, -0.03197542205452919, -0.008773102425038815, -0.021188531070947647, 0.07361701130867004, -0.02626677416265011, -0.04941656067967415, 0.004968798253685236, 0.023955298587679863, -0.021766401827335358, -0.06629733741283417, 0.05978317931294441, 0.036528330296278, -0.08566471189260483, 0.03621312603354454, -0.0035022366791963577, -0.0547049380838871, 0.05918779969215393, -0.02763264812529087, -0.07887037098407745, -0.030259324237704277, 0.06016842648386955, -0.009053281508386135, -0.0536542646586895, -0.027965359389781952, 0.012091471813619137, 0.005502889398485422, 0.06843370199203491, -0.000012851224710175302, -0.04216692969202995, -0.009850041009485722, -0.003219868754968047, -0.030644571408629417, -0.030101723968982697, -0.030644571408629417, -0.048190776258707047, 0.020768264308571815, 0.06836365908384323, -0.03736886382102966, -0.038454558700323105, -0.020347995683550835, -0.005051976535469294, -0.008759969845414162, 0.005704267881810665, -0.0001366009091725573, 0.04062594473361969, 0.026284286752343178, 0.04255217686295509, 0.007289030123502016, 0.017852650955319405, -0.0033971695229411125, 0.05761179327964783, -0.02694971114397049, -0.038314469158649445, 0.052113283425569534, 0.011522358283400536, 0.026179218664765358, 0.0024209211114794016, 0.01119840145111084, -0.002012691693380475, 0.0278778038918972, 0.01155738066881895, -0.007569209206849337, -0.048190776258707047, -0.08671537786722183, 0.060483627021312714, -0.021416177973151207, 0.006050114054232836, -0.0013702501310035586, 0.02686215564608574, -0.009105815552175045, -0.06542178243398666, -0.04104621335864067, 0.0460544116795063, -0.0006501026800833642, 0.0811818465590477, -0.02309725061058998, -0.02652944251894951, -0.02241431549191475, -0.01167995948344469, -0.07284652441740036, 0.006321537308394909, 0.034286897629499435, -0.0356527678668499, 0.0017029625596478581, 0.010182753205299377, -0.016145311295986176, -0.020803285762667656, 0.013833834789693356, -0.06363563984632492, 0.037929221987724304, -0.023850232362747192, 0.0038371379487216473, -0.026161707937717438, 0.0044062514789402485, 0.03258831053972244, -0.00197985814884305, -0.009972618892788887, 0.06356559693813324, 0.047035038471221924, 0.01892958953976631, 0.0016734125092625618, 0.007897543720901012, -0.004811197519302368, -0.02794784866273403, 0.010287820361554623, 0.025128548964858055, 0.00041041834629140794, 0.007577964570373297, 0.034759700298309326, -0.008011366240680218, 0.03251826763153076, -0.01351863332092762, -0.0038371379487216473, 0.05495009198784828, 0.038874827325344086, 0.010217775590717793, -0.033779073506593704, 0.012643074616789818, 0.008203989826142788, 0.047980643808841705, -0.028438162058591843, 0.02693220041692257, 0.04069599136710167, 0.008252144791185856, 0.04017065465450287, -0.017178470268845558, -0.028298072516918182, 0.02350000850856304, 0.002440621145069599, -0.016740690916776657, -0.03211551159620285, -0.023902764543890953, 0.017038380727171898, -0.028665807098150253, -0.0067724501714110374, -0.003839327022433281, 0.014455481432378292, -0.02672206610441208, -0.009867551736533642, 0.023710142821073532, 0.03278093412518501, 0.06307528167963028, 0.020663196220993996, 0.015935176983475685, -0.012310361489653587, -0.009736217558383942, 0.06948437541723251, 0.05491507053375244, 0.04381297901272774, 0.019437413662672043, -0.008282789960503578, 0.03519747778773308, -0.02341245301067829, -0.0018944911425933242, 0.007801232393831015, -0.0038349491078406572, 0.008304678834974766, 0.013614945113658905, -0.03989047557115555, 0.052078258246183395, 0.04878615587949753, 0.016583090648055077, 0.038384515792131424, -0.017467405647039413, 0.024323033168911934, -0.02290462702512741, 0.0032351911067962646, 0.020978398621082306, -0.005958179943263531, 0.008203989826142788, 0.0079194325953722, -0.052988842129707336, -0.029821544885635376, -0.019700082018971443, -0.011706226505339146, 0.05897766724228859, 0.01854434236884117, -0.02288711629807949, 0.05747170373797417, -0.020698219537734985, -0.008326567709445953, 0.015523663721978664, -0.026249263435602188, -0.08384354412555695, -0.007809987757354975, 0.019104700535535812, -0.03560023754835129, 0.0054459781385958195, -0.007582342252135277, 0.0928092747926712, 0.024638235569000244, 0.015383574180305004, 0.038524601608514786, -0.016723180189728737, 0.01117213536053896, 0.00820836704224348, -0.025548815727233887, -0.002333365147933364, -0.05925784632563591, -0.06311030685901642, 0.004999442957341671, 0.09098810702562332, -0.024830857291817665, -0.0443032942712307, -0.011592403054237366, -0.014490503817796707, -0.04440836235880852, -0.04538898915052414, -0.004622952546924353, 0.04493369534611702, 0.02260693721473217, 0.0023771431297063828, 0.005708645563572645, 0.038034290075302124, 0.042236972600221634, 0.04454845190048218, -0.007621742784976959, -0.01554117538034916, 0.029208654537796974, 0.0021878033876419067, 0.07382714748382568, -0.026074152439832687, -0.00885190349072218, -0.028368117287755013, 0.03258831053972244, -0.043112535029649734, 0.005861868616193533, -0.0557556077837944, 0.017257271334528923, -0.016180332750082016, 0.02791282720863819, -0.020295461639761925, -0.0012728441506624222, 0.06391581892967224, -0.056245919317007065, -0.02232675813138485, -0.0021856145467609167, 0.006851250305771828, 0.02687966637313366, 0.03561774641275406, 0.029103586450219154, -0.05127274617552757, -0.047630418092012405, -0.0011973271612077951, -0.013194676488637924, -0.051938168704509735, 0.047910597175359726, -0.05498511716723442, 0.00006125494110165164, -0.061499275267124176, 0.03139755129814148, -0.014420459978282452, 0.017852650955319405, -0.020680706948041916, -0.03754397854208946, 0.03223808854818344, 0.030451947823166847, 0.01386885717511177, -0.007862521335482597, -0.02707228995859623, 0.011522358283400536, 0.04864606633782387, 0.01562873087823391, 0.017519939690828323, -0.06780330091714859, -0.005962558090686798, 0.033586449921131134, 0.025864018127322197, -0.04885620251297951, -0.0527787059545517, -0.04192177206277847, -0.00928968284279108, -0.01796647347509861, -0.030014168471097946, -0.0462295226752758, 0.05113265663385391, 0.029821544885635376, 0.013054586946964264, -0.05747170373797417, -0.056666187942028046, -0.012599296867847443, -0.02335991896688938, -0.03239569067955017, 0.03677348420023918, -0.0054810005240142345, -0.018964610993862152, -0.06251492351293564, 0.012625562958419323, 0.006452871020883322, 0.005297132767736912, 0.07221612334251404, -0.025548815727233887, 0.01875447668135166, 0.04031074419617653, -0.02232675813138485, 0.0347772091627121, -0.09273922443389893, 0.014376681298017502, -0.039049938321113586, 0.01342232245951891, -0.015199706889688969, -0.0706050917506218, -0.06538675725460052, -0.011566136963665485, 0.017274782061576843, 0.013982679694890976, 0.010366620495915413, 0.019910216331481934, 0.04514383152127266, 0.04157155007123947, -0.07158571481704712, -0.025636373087763786, 0.0277026928961277, 0.01864941045641899, 0.029208654537796974, -0.007582342252135277, 0.024970946833491325, -0.038524601608514786, 0.019822658970952034, -0.00436466233804822, -0.07424741983413696, 0.016022732481360435, 0.030399413779377937, -0.01111084595322609, 0.01779136247932911, -0.03943518549203873, 0.02314978465437889, -0.01775633916258812, -0.03747393190860748, 0.019875193014740944, 0.006658627651631832, -0.0028981007635593414, -0.014166546985507011, 0.04444338381290436, -0.019262300804257393, -0.0353025458753109, 0.056701213121414185, -0.011014534160494804, -0.0001192949348478578, 0.020943375304341316, -0.014656860381364822, 0.015725042670965195, -0.04493369534611702, -0.020505595952272415, -0.04594934359192848, 0.017283538356423378, 0.0723562091588974, -0.04171163961291313, 0.06577200442552567, -0.04629956930875778, -0.05403951182961464, 0.028508206829428673, -0.02276453748345375, 0.012091471813619137, 0.014394192956387997, -0.00784063246101141, -0.03283346816897392, 0.04185172915458679, 0.0697295293211937, 0.05375933274626732, 0.03782415762543678, 0.017082158476114273, 0.01555868610739708, -0.0361781045794487, -0.0010977323399856687, 0.013028320856392384, -0.0026135442312806845, -0.09820271283388138, -0.010506710037589073, -0.02279956080019474, 0.0642310231924057, -0.024778325110673904, -0.02285209484398365, -0.016714423894882202, 0.02325485087931156 ]
40,989
pyglove.core.object_utils.value_location
exists
Returns whether current path exists in source object.
def exists(self, src: Any) -> bool: """Returns whether current path exists in source object.""" try: self.query(src) return True except KeyError: return False
(self, src: Any) -> bool
[ 0.03352612257003784, -0.06503462046384811, -0.0727015808224678, 0.008045260794460773, 0.023639783263206482, -0.008684173226356506, 0.00804105680435896, 0.027506887912750244, 0.055652689188718796, -0.01898244209587574, -0.0045858826488256454, -0.002271924400702119, 0.068531833589077, -0.028936035931110382, -0.02878471463918686, -0.0024337542708963156, 0.020058507099747658, 0.059889692813158035, 0.02145402692258358, -0.04105857014656067, -0.01879749447107315, 0.056997768580913544, 0.07882169634103775, -0.005939369555562735, 0.0124083636328578, 0.06674960255622864, 0.06301700323820114, -0.022916803136467934, 0.014619339257478714, 0.02955813519656658, -0.028885595500469208, 0.002620804589241743, 0.030062539502978325, 0.021218638867139816, 0.011113724671304226, 0.031373992562294006, -0.010634539648890495, 0.0014228424988687038, -0.06328602135181427, -0.08568160235881805, -0.030146608129143715, 0.036149028688669205, -0.008469801396131516, 0.03342524170875549, 0.03391283378005028, -0.01898244209587574, -0.07169277220964432, -0.007603906095027924, 0.014215814881026745, -0.007444177754223347, 0.03211378678679466, 0.018511664122343063, -0.018410783261060715, -0.025371573865413666, -0.04670790582895279, -0.002839379943907261, -0.015426387079060078, 0.10350391268730164, 0.0059015387669205666, 0.03937721997499466, 0.03036518394947052, -0.01196280587464571, 0.04687604308128357, 0.001210572081618011, -0.01713295839726925, -0.03081914782524109, -0.041529349982738495, -0.07176002115011215, -0.006843095179647207, 0.03769586980342865, -0.07471919804811478, 0.029860777780413628, 0.030751893296837807, 0.057165905833244324, -0.005018830299377441, -0.014207408763468266, -0.01740197464823723, 0.021134570240974426, 0.057434920221567154, -0.04041965678334236, 0.004989406559616327, -0.09476089477539062, -0.01439235731959343, -0.052928902208805084, -0.0015857233665883541, 0.06469835340976715, 0.020714232698082924, -0.018595732748508453, 0.01588035188615322, 0.029625389724969864, -0.0040289354510605335, 0.06150378659367561, -0.012526058591902256, -0.01783912442624569, 0.06342052668333054, -0.012299076654016972, 0.04004976153373718, -0.03537560626864433, 0.0029591761995106936, -0.023522088304162025, 0.02145402692258358, -0.018259461969137192, 0.05931803211569786, 0.02649807743728161, 0.051516566425561905, 0.04959983006119728, 0.015115337446331978, -0.028986476361751556, 0.01775505766272545, 0.009028850123286247, -0.008785054087638855, -0.00869258027523756, 0.03428272902965546, -0.006149538327008486, 0.01684712804853916, -0.08998586237430573, 0.013131344690918922, 0.00020005439000669867, -0.06550540030002594, -0.030415624380111694, 0.03823390230536461, 0.04469028487801552, -0.02382473088800907, -0.00745678786188364, 0.13349920511245728, -0.035980891436338425, 0.009297866374254227, -0.013307886198163033, 0.02411056123673916, -0.028582952916622162, 0.01836034283041954, 0.002812058199197054, -0.023606155067682266, 0.00794017594307661, 0.015426387079060078, 0.05242449790239334, 0.018562104552984238, 0.00842776708304882, -0.035711877048015594, 0.02136996015906334, 0.016830313950777054, -0.020428404211997986, 0.008436174131929874, -0.016905976459383965, -0.00635970663279295, 0.04697692394256592, -0.008553869090974331, 0.025388386100530624, 0.07821641117334366, 0.022899989038705826, 0.0023097547236829996, -0.05881362780928612, -0.014829508028924465, 0.04041965678334236, -0.08083931356668472, -0.027086550369858742, -0.029776711016893387, -0.0001686604373389855, 0.014014053158462048, -0.015947606414556503, 0.01319019217044115, -0.01151724811643362, -0.03581275790929794, -0.031222671270370483, -0.03520747274160385, 0.001427045906893909, -0.07626604288816452, 0.028835155069828033, -0.013703003525733948, 0.03028111532330513, 0.01721702516078949, -0.031996093690395355, -0.015064897015690804, 0.008335293270647526, 0.008570682257413864, 0.02861657924950123, 0.002786837751045823, 0.04583360627293587, -0.022126568481326103, -0.007023840211331844, 0.016813501715660095, -0.02120182476937771, -0.015207812190055847, -0.00481286458671093, 0.009592102840542793, 0.05514828488230705, -0.002620804589241743, -0.03749410808086395, 0.048422884196043015, 0.06839732080698013, -0.04317707195878029, -0.03176070377230644, 0.027052924036979675, 0.026716653257608414, -0.02567421644926071, -0.04273992031812668, 0.021840738132596016, 0.028986476361751556, -0.03520747274160385, 0.08816999942064285, 0.02179029770195484, -0.03167663514614105, 0.01257649902254343, 0.012971616350114346, -0.009903152473270893, 0.01213094126433134, 0.007599702570587397, 0.021134570240974426, -0.01790637895464897, 0.014501645229756832, -0.057771191000938416, -0.10283137112855911, 0.02567421644926071, 0.008970002643764019, 0.06893535703420639, 0.08547984063625336, -0.046472515910863876, 0.002847786759957671, -0.0027384990826249123, 0.022210635244846344, 0.07532448321580887, -0.038973696529865265, 0.004531238693743944, -0.006637129466980696, 0.035980891436338425, -0.05225636065006256, 0.00838153064250946, 0.04085680842399597, -0.028213055804371834, -0.07202903926372528, 0.032012905925512314, 0.006414350587874651, 0.039780743420124054, 0.014493238180875778, 0.03719146549701691, 0.035880010575056076, 0.03964623436331749, 0.08117558062076569, 0.0402851477265358, 0.002549347234889865, -0.011265045963227749, 0.011929179541766644, 0.01239995751529932, -0.0402851477265358, -0.014678186737000942, -0.03836841136217117, 0.01852847822010517, 0.022193821147084236, -0.013568495400249958, -0.040823180228471756, 0.029625389724969864, 0.023505274206399918, -0.05921715125441551, -0.05313066393136978, -0.007221398875117302, -0.07431567460298538, -0.05447574332356453, -0.0117862643674016, 0.022177008911967278, -0.004590085707604885, -0.09348306804895401, -0.011063284240663052, 0.05995694547891617, 0.059385284781455994, -0.06762390583753586, -0.023555714637041092, -0.0068010613322257996, 0.03463581204414368, -0.04200012609362602, -0.03159257024526596, -0.00544757442548871, -0.002039687940850854, -0.004564865492284298, 0.0017969429027289152, 0.009718203917145729, -0.0022950428538024426, -0.006229402031749487, -0.012803480960428715, -0.017250651493668556, 0.0057249972596764565, 0.00403524050489068, -0.008221802301704884, 0.01572062447667122, -0.04896091669797897, -0.04119307920336723, -0.03463581204414368, 0.011803077533841133, -0.030062539502978325, -0.027422821149230003, -0.00820919219404459, 0.016031673178076744, 0.03433316946029663, -0.011071690358221531, 0.010962402448058128, -0.007007026579231024, 0.06732125580310822, 0.0040835789404809475, -0.029339559376239777, 0.002723787212744355, 0.026111368089914322, -0.015148964710533619, -0.0011012842878699303, -0.024329137057065964, -0.0021710433065891266, -0.022664599120616913, 0.009877932257950306, -0.026178620755672455, 0.004260120913386345, -0.0018221632344648242, 0.0014648763462901115, -0.03142443299293518, -0.0008648444782011211, 0.015745844691991806, 0.011038064025342464, 0.03130673989653587, -0.03381195291876793, -0.0776783749461174, -0.030970469117164612, -0.060864873230457306, 0.0647992342710495, -0.06385767459869385, 0.0851435735821724, -0.03803214058279991, 0.011988026089966297, -0.022294702008366585, -0.04953257367014885, 0.02402649261057377, 0.03867105394601822, -0.008667360059916973, 0.02446364425122738, 0.00008012683974811807, -0.04822112247347832, 0.11312123388051987, -0.011870332062244415, 0.012198194861412048, -0.02567421644926071, -0.025976859033107758, -0.027406007051467896, 0.061402905732393265, 0.07371038943529129, 0.04041965678334236, -0.029356373474001884, 0.005540048703551292, -0.010474811308085918, 0.06180642917752266, -0.03300490230321884, -0.00587211549282074, 0.008221802301704884, 0.05474476143717766, -0.067489393055439, -0.05467750504612923, 0.020546099171042442, 0.01881430856883526, -0.0028667019214481115, 0.011105317622423172, 0.017368346452713013, 0.046573396772146225, 0.04213463515043259, 0.01846122369170189, -0.02083192765712738, 0.08554709702730179, -0.0002782109077088535, -0.04970071092247963, -0.03678794205188751, -0.05252537876367569, 0.01501445658504963, -0.004535441752523184, -0.005783844273537397, -0.06980966031551361, -0.010743827559053898, -0.04795210435986519, -0.023353952914476395, -0.02002488076686859, -0.03256775066256523, 0.03090321458876133, -0.0363507904112339, 0.01631750352680683, -0.011870332062244415, 0.00940715428441763, 0.02303449623286724, 0.0400833860039711, 0.08184812217950821, -0.03416503593325615, 0.016359535977244377, 0.03366062790155411, 0.008263835683465004, 0.0017139263218268752, 0.028280308470129967, -0.015426387079060078, -0.020848741754889488, 0.007856108248233795, -0.0248167272657156, -0.01014694757759571, -0.045329198241233826, -0.022647786885499954, -0.07673682272434235, 0.05107941851019859, 0.012315889820456505, -0.038536544889211655, 0.05561906099319458, 0.03477032110095024, -0.0003990579571109265, 0.0009925219928845763, 0.06785929203033447, -0.010020846500992775, -0.021588535979390144, 0.04122670367360115, 0.00014567322796210647, -0.01817539520561695, -0.012677379883825779, -0.04748132824897766, -0.08581610769033432, -0.04822112247347832, 0.04623712971806526, -0.05958705022931099, 0.022277889773249626, 0.0042075784876942635, -0.034030526876449585, -0.017368346452713013, 0.05376957729458809, 0.0052920496091246605, -0.008650545962154865, -0.001514266012236476, 0.030247488990426064, -0.038435664027929306, -0.031643010675907135, -0.029726270586252213, -0.02649807743728161, 0.010323490016162395, 0.027859970927238464, -0.05410584807395935, -0.058477357029914856, 0.0731051042675972, -0.013215412385761738, -0.009255832061171532, -0.0188983753323555, -0.02974308468401432, -0.04253815859556198, -0.015283472836017609, 0.02675028145313263, -0.0016424688510596752, -0.0011517248349264264, -0.039242710918188095, 0.0248167272657156, -0.051415685564279556, -0.04062141850590706, -0.004573272541165352, 0.0024400593247264624, 0.07458469271659851, 0.007692176848649979, -0.041260331869125366, 0.014333509840071201, -0.0006888281204737723, -0.01174423098564148, -0.03645167127251625, -0.06493373960256577, -0.045598216354846954, 0.03752773627638817, -0.025808723643422127, 0.017721429467201233, -0.06029321625828743, 0.04290805384516716, 0.004220188595354557, -0.03786400333046913, 0.01757010817527771, -0.03160938248038292, 0.003518225159496069, 0.04566546902060509, 0.013257445767521858, 0.010617726482450962, -0.015577709302306175, 0.0016666383016854525, -0.07371038943529129, 0.009692983701825142, 0.03692244738340378, -0.02136996015906334, -0.005960386246442795, 0.0562916025519371, -0.03715783730149269, 0.034215476363897324, -0.0016487740213051438, -0.03688882291316986, 0.023101750761270523, 0.0029129390604794025, 0.016359535977244377, -0.05888088047504425, 0.012526058591902256, 0.02779271826148033, 0.016393164172768593, -0.054341237992048264, 0.07344137132167816, -0.025304319337010384, -0.017082517966628075, -0.02444683015346527, 0.054408490657806396, -0.05104579031467438, -0.031037723645567894, 0.04284080117940903, -0.0038250715006142855, -0.022177008911967278, 0.007473601493984461, 0.0031651416793465614, 0.0015573505079373717, 0.06557265669107437, -0.008226005360484123, -0.008860714733600616, 0.02594323270022869, 0.018309902399778366, -0.014829508028924465, 0.031373992562294006, 0.002524126786738634, 0.047548580914735794, -0.005418150685727596, 0.0319792777299881, 0.10336940735578537, 0.055921703577041626, -0.008768240921199322, -0.02020982839167118, -0.012509245425462723, 0.00008144039748003706, 0.020277082920074463, -0.04062141850590706, 0.05323154479265213, -0.04697692394256592, -0.024850355461239815, 0.02673346735537052, -0.022446023300290108, -0.0007329635554924607, -0.021823924034833908, 0.019301898777484894, -0.0023517885711044073, -0.012971616350114346, -0.02965901605784893, 0.0023559918627142906, 0.04764946177601814, 0.08621963113546371, 0.04354696720838547, -0.058141086250543594, 0.008583292365074158, 0.01271100714802742, 0.04855739325284958, -0.010121727362275124, 0.026111368089914322, 0.013627342879772186, 0.008675767108798027, 0.01563655585050583, -0.02861657924950123, -0.040386028587818146, 0.05356781557202339, -0.010231015272438526, 0.03584638610482216, 0.013316293247044086, 0.019570915028452873, 0.03877193480730057, 0.07411391288042068, 0.0679265484213829, -0.0018620953196659684, -0.006725400686264038, -0.022883174940943718, 0.047716718167066574, 0.00909610465168953, -0.03688882291316986, -0.001535282819531858, 0.04300893470644951, -0.059351660311222076, -0.070213183760643, -0.014921982772648335, -0.05948616936802864, 0.0706167072057724, 0.0016960619250312448, -0.0002663889026734978, 0.024060120806097984, -0.021874364465475082, -0.010979216545820236, -0.00604445394128561, -0.011248232796788216, -0.016367943957448006, 0.010937182232737541, 0.024648593738675117, -0.049028169363737106, -0.023992866277694702, -0.05719953030347824, 0.03524109721183777, 0.024749474599957466, -0.005170151591300964, -0.028885595500469208, -0.05508102849125862, 0.014863135293126106, -0.007801464758813381, -0.03290402144193649, -0.012046873569488525, 0.01050843857228756, -0.0016992144519463181, -0.02340439334511757, 0.07478645443916321, 0.00028609222499653697, 0.0008406750857830048, -0.06543814390897751, 0.02100006304681301, -0.019890371710062027, -0.03258456662297249, -0.02843162976205349, -0.0025115166790783405, -0.01642679050564766, 0.002095382660627365, -0.0176541768014431, -0.022933615371584892, -0.005687166936695576, -0.02479991503059864, -0.019470034167170525, -0.0016256554517894983, 0.026279501616954803, 0.005800657905638218, 0.02691841498017311, 0.01773824356496334, 0.009726610034704208, 0.01941959373652935, 0.035442858934402466, -0.03762861713767052, 0.024396389722824097, -0.0024904999881982803, 0.017855938524007797, 0.023858359083533287, 0.010214202105998993, -0.025018490850925446, 0.011500434949994087, 0.056526992470026016, -0.0007292856462299824, -0.04731319099664688, -0.04653977230191231, 0.010298269800841808, -0.02604411356151104, 0.007360110059380531, 0.004867508541792631, -0.0015783674316480756, -0.07142375409603119, 0.025808723643422127, -0.03172707557678223, -0.007885532453656197, 0.06994416564702988, -0.09314679354429245, -0.020445218309760094, -0.0647992342710495, 0.042235516011714935, -0.02251327782869339, 0.03098728321492672, 0.005170151591300964, -0.037998512387275696, 0.0363507904112339, -0.0009163358481600881, 0.007494618184864521, 0.004262222442775965, -0.004119307734072208, 0.0335429348051548, 0.07189453393220901, 0.03971349075436592, -0.014039273373782635, -0.011971212923526764, -0.00940715428441763, 0.012458804063498974, 0.04072229936718941, -0.03470306843519211, -0.01408130768686533, -0.007868718355894089, 0.005153337959200144, 0.009356713853776455, 0.017502855509519577, -0.07640054821968079, -0.02249646559357643, 0.067489393055439, -0.036956075578927994, 0.01408130768686533, -0.0471450574696064, -0.03308897092938423, -0.025052117183804512, -0.04240364953875542, 0.00039643084164708853, -0.044454898685216904, -0.020697420462965965, -0.035274725407361984, -0.049936097115278244, -0.014888355508446693, 0.023555714637041092, 0.061133891344070435, -0.00651102839037776, 0.08628688752651215, 0.01213094126433134, -0.06927162408828735, 0.07256706804037094, -0.05198734626173973, -0.042605411261320114, -0.04058779031038284, 0.03181114420294762, 0.07196178287267685, -0.022563718259334564, -0.029978472739458084, 0.004972592927515507, 0.04522831737995148, -0.012105721049010754, -0.026447637006640434, 0.04764946177601814, 0.05111304298043251, 0.0322987362742424, -0.029978472739458084, -0.016905976459383965, 0.028313936665654182, -0.018124954774975777, 0.0013104022946208715, 0.004434560891240835, 0.027170618996024132, -0.0623108372092247, 0.0333411730825901, 0.04600173979997635, -0.02870064601302147, 0.04307619109749794, -0.01755329594016075, 0.009070883505046368, 0.010701793245971203, 0.011080097407102585, -0.02348846197128296, 0.032971277832984924, -0.027120176702737808, -0.030062539502978325, -0.01129867322742939, -0.021084129810333252, -0.03159257024526596, -0.007927565835416317, -0.061268400400877, 0.01236633025109768, 0.04627075418829918, -0.009154951199889183, 0.02347164787352085, -0.005262625869363546, 0.047716718167066574, -0.003226090455427766, -0.015006049536168575, -0.01288754865527153, 0.019486848264932632, 0.006233605556190014, 0.012299076654016972, 0.001829519052989781, 0.032786328345537186, 0.036956075578927994, -0.06987690925598145, 0.013358326628804207, -0.002843583468347788, 0.044253136962652206, -0.02234514243900776, -0.032433245331048965, 0.015771064907312393, 0.07868718355894089, 0.024211442098021507, 0.03705695644021034, 0.008549665100872517, 0.019638169556856155, -0.005750217474997044, -0.06765753030776978, 0.00730546610429883, 0.02241239696741104, 0.01898244209587574, -0.0803685337305069, -0.024682220071554184, 0.00743577117100358, 0.010567285120487213, 0.010004033334553242, -0.0023622969165444374, 0.0004219138063490391, 0.030566945672035217 ]
40,990
pyglove.core.object_utils.value_location
format
Format current path.
def format(self, *args, **kwargs): """Format current path.""" return self.path
(self, *args, **kwargs)
[ 0.016631225124001503, -0.018186308443546295, 0.03768216446042061, 0.019037513062357903, 0.017400581389665604, -0.038304198533296585, 0.023326274007558823, 0.013463761657476425, 0.05752177536487579, -0.009027677588164806, 0.020379796624183655, -0.059093229472637177, 0.02835165336728096, 0.0023183042649179697, -0.019086621701717377, 0.042691174894571304, 0.02702573873102665, -0.04835495725274086, 0.018611911684274673, 0.03925361856818199, 0.03142908588051796, -0.023653659969568253, 0.045539434999227524, -0.06881660223007202, 0.015485372394323349, 0.04711088910698891, 0.012276986613869667, -0.021492911502718925, 0.01956133171916008, -0.08354898542165756, 0.010288114659488201, -0.024341171607375145, 0.02527422271668911, 0.027451341971755028, 0.014012133702635765, 0.01979050226509571, -0.07392382621765137, -0.006298094056546688, -0.04910794645547867, -0.056539613753557205, -0.008552967570722103, -0.0030303695239126682, -0.02155838906764984, -0.013316437602043152, -0.0031265392899513245, 0.009068600833415985, -0.002778691239655018, 0.01605011336505413, -0.023899199441075325, -0.034342821687459946, 0.02867904119193554, 0.007329361047595739, -0.05706343427300453, -0.030839789658784866, -0.032460350543260574, 0.010623686015605927, 0.05002462863922119, -0.0038079118821769953, 0.011564921587705612, 0.003576695453375578, 0.01758064515888691, -0.00409028260037303, 0.07012614607810974, -0.0035214489325881004, 0.018530065193772316, 0.02306436561048031, 0.0055123670026659966, 0.008000503294169903, -0.010214452631771564, 0.05722712725400925, 0.011270273476839066, -0.01736784353852272, -0.013750224374234676, 0.00795957911759615, -0.013259145431220531, -0.027844205498695374, -0.06587012112140656, 0.028859103098511696, 0.03480116277933121, 0.0009064508485607803, -0.044131673872470856, -0.05382230877876282, -0.03905718773603439, -0.050286535173654556, 0.020739922299981117, -0.03755120933055878, -0.014527766965329647, -0.029726676642894745, -0.01297268271446228, 0.022933410480618477, -0.014143088832497597, -0.018153570592403412, -0.028940949589014053, -0.010206268168985844, -0.0020993647631257772, -0.05503363907337189, -0.0023878738284111023, -0.03408091515302658, 0.018988406285643578, 0.009142262861132622, -0.0072966222651302814, -0.032165706157684326, -0.01472419872879982, -0.028744516894221306, 0.024013785645365715, -0.04118519648909569, 0.008700290694832802, -0.018268154934048653, -0.01890655979514122, -0.010132606141269207, -0.05221811681985855, -0.011303012259304523, -0.025519762188196182, -0.034342821687459946, 0.03931909427046776, 0.01274351216852665, -0.05054844543337822, -0.02416110970079899, 0.029530243948101997, -0.005749722011387348, 0.01027993019670248, 0.0010609362507238984, -0.01302179042249918, -0.029382921755313873, 0.01965954713523388, 0.033688049763441086, -0.07745960354804993, -0.026321858167648315, 0.0007366191712208092, -0.04881329834461212, 0.0051604267209768295, 0.054346125572919846, -0.04416441172361374, -0.041479844599962234, 0.08466210216283798, 0.01967591606080532, -0.005471443757414818, 0.012669850140810013, -0.031363606452941895, 0.17652669548988342, 0.017531536519527435, -0.034899380058050156, -0.007071544416248798, -0.024357540532946587, 0.015027031302452087, 0.08106084913015366, 0.057980116456747055, 0.030299602076411247, -0.006645942106842995, 0.030168648809194565, 0.05333122983574867, 0.03702739253640175, 0.06426592916250229, -0.017777075991034508, 0.019070252776145935, -0.046881720423698425, -0.027615034952759743, 0.033147864043712616, 0.026763830333948135, -0.012105108238756657, 0.03077431209385395, -0.04370607063174248, 0.02507779188454151, -0.00038263274473138154, 0.023882830515503883, 0.07804889231920242, -0.015035215765237808, 0.032165706157684326, 0.015477187931537628, -0.014102164655923843, 0.03817324340343475, -0.0463578999042511, -0.046194206923246384, 0.03010317124426365, -0.0351940281689167, 0.05339670553803444, -0.012497971765697002, 0.05464077368378639, 0.03414639085531235, -0.013185483403503895, 0.01792440004646778, -0.040956027805805206, -0.028400762006640434, 0.05892953649163246, 0.03850062936544418, -0.0016379546141251922, -0.01248160284012556, -0.020690813660621643, 0.027058478444814682, 0.007165667600929737, -0.018513696268200874, 0.0448191836476326, 0.017662491649389267, -0.01092651765793562, -0.009191370569169521, -0.04848591238260269, 0.02306436561048031, -0.061810534447431564, 0.037322040647268295, 0.034244608134031296, 0.0400066077709198, -0.001664554700255394, -0.023702768608927727, -0.021361956372857094, 0.03814050555229187, 0.05064666271209717, 0.048191264271736145, 0.012735327705740929, -0.06590286642313004, 0.054575297981500626, -0.03265678510069847, -0.030905267223715782, 0.009199555031955242, -0.02033068984746933, 0.00010614477650960907, -0.0069119432009756565, -0.016524823382496834, 0.05968252196907997, -0.0314454548060894, 0.05889679491519928, 0.04350963979959488, -0.02625638246536255, -0.002610905794426799, -0.028433499857783318, -0.012669850140810013, -0.051039524376392365, 0.06118850037455559, -0.007664931938052177, -0.03548867627978325, -0.05054844543337822, -0.01329188421368599, -0.08086441457271576, -0.02494683675467968, 0.053462184965610504, -0.030250495299696922, 0.02880999445915222, -0.02440664917230606, -0.0022241806145757437, -0.029710307717323303, 0.004751193802803755, -0.0021341494284570217, 0.00846293568611145, 0.05123595520853996, -0.010353592224419117, 0.023555444553494453, -0.07477503269910812, 0.002874861005693674, 0.0022998887579888105, 0.03506307303905487, -0.009625157341361046, 0.00015435753448400646, 0.07647743821144104, -0.0644296258687973, -0.0014896077336743474, -0.03859884664416313, -0.02208220586180687, -0.05761998891830444, -0.015780020505189896, -0.01329188421368599, 0.0327877402305603, -0.03604523092508316, -0.007542162202298641, 0.00731299165636301, -0.024553973227739334, -0.009985282085835934, -0.001742308959364891, -0.023571813479065895, -0.041709017008543015, -0.0012624834198504686, 0.03925361856818199, -0.01925031468272209, 0.04305129870772362, -0.050941310822963715, 0.00731299165636301, -0.035783324390649796, -0.03879527747631073, -0.034113653004169464, 0.01723688840866089, -0.07896557450294495, -0.0034621101804077625, 0.03722382336854935, -0.0353904590010643, -0.010369961149990559, -0.009093154221773148, -0.012137847021222115, 0.00016279795090667903, 0.02725490927696228, -0.010312668979167938, -0.0224095918238163, 0.02967756800353527, 0.06393854320049286, 0.04743827506899834, -0.053920526057481766, 0.014969739131629467, 0.02637096680700779, -0.03195290267467499, 0.018513696268200874, -0.05955157056450844, 0.015747280791401863, -0.03417912870645523, -0.04043220728635788, -0.01593552902340889, -0.009273217059671879, -0.004562946502119303, -0.01005075965076685, 0.015616326592862606, -0.009944358840584755, -0.02682930789887905, 0.03375352919101715, 0.0019080482888966799, -0.01433952059596777, -0.029055533930659294, 0.03722382336854935, 0.01434770505875349, -0.02638733573257923, 0.03967922180891037, -0.030921636149287224, 0.008123273029923439, -0.011401227675378323, 0.03912266343832016, -0.04927163943648338, 0.08715023100376129, -0.00785317923873663, 0.017007717862725258, 0.04678350314497948, -0.010697347111999989, -0.030135909095406532, 0.07182855904102325, -0.0239483080804348, 0.09245388954877853, 0.015133432112634182, 0.023882830515503883, 0.024226587265729904, -0.04861686751246452, -0.009076785296201706, -0.009846143424510956, -0.00023083292762748897, -0.029808523133397102, -0.020838137716054916, -0.015583587810397148, 0.07516789436340332, -0.02448849566280842, -0.0044401767663657665, -0.00037777310353703797, -0.03872980177402496, 0.03869706019759178, 0.05915870517492294, 0.031036222353577614, 0.035783324390649796, -0.02691115438938141, -0.03679822012782097, 0.014282227493822575, -0.017449690029025078, -0.004599777515977621, -0.02902279607951641, -0.014331335201859474, -0.033475250005722046, -0.026632875204086304, -0.03200201317667961, 0.04910794645547867, 0.04593230038881302, -0.01467509102076292, 0.015509925782680511, -0.003709696000441909, 0.023162581026554108, 0.020527120679616928, 0.042920343577861786, 0.011188426986336708, 0.033246077597141266, -0.011196611449122429, -0.008020964451134205, 0.009125893004238605, 0.0652153491973877, -0.055753886699676514, -0.02142743393778801, 0.056212227791547775, 0.03010317124426365, 0.006351294461637735, -0.0738583505153656, -0.03738751634955406, 0.025978103280067444, 0.03604523092508316, 0.028417130932211876, 0.021607495844364166, 0.02416110970079899, -0.003595110960304737, 0.019970564171671867, -0.036536309868097305, -0.01967591606080532, -0.011286643333733082, -0.03394996002316475, -0.03954826667904854, 0.028155222535133362, -0.017416952177882195, -0.006498618051409721, -0.0711737796664238, 0.03196927160024643, 0.016573932021856308, -0.00818056520074606, 0.007714039646089077, 0.06711418926715851, -0.012825358659029007, -0.041152458637952805, 0.00845475122332573, -0.0039941128343343735, -0.032591305673122406, 0.04717636480927467, 0.07529885321855545, -0.02371913753449917, 0.007513515651226044, 0.0014865384437143803, -0.018644649535417557, -0.055557455867528915, 0.05529554560780525, 0.08315612375736237, -0.00000878411992744077, -0.049631763249635696, -0.02463581971824169, -0.013283699750900269, 0.03892623260617256, -0.042036402970552444, 0.05667056888341904, 0.047634705901145935, 0.03804228827357292, 0.0703880563378334, -0.020723553374409676, -0.051727037876844406, 0.014986108057200909, 0.08695380389690399, 0.03869706019759178, -0.03151093050837517, -0.03627440333366394, -0.02790968306362629, 0.05680152401328087, 0.0005683221388608217, -0.004431992303580046, 0.042036402970552444, 0.0004074424796272069, -0.02725490927696228, 0.024537604302167892, 0.03568510711193085, -0.03977743536233902, -0.01065642386674881, 0.03761668503284454, -0.003715834580361843, -0.03908992558717728, -0.03912266343832016, -0.011884123086929321, -0.013422838412225246, -0.0064126793295145035, -0.017940768972039223, 0.06207244470715523, -0.00037035575951449573, -0.04806030914187431, -0.02119826339185238, -0.05879858136177063, 0.022344116121530533, -0.01979050226509571, 0.022835195064544678, 0.004002297762781382, -0.006944681983441114, 0.06717967242002487, 0.02660013735294342, -0.013136375695466995, 0.034571994096040726, -0.12591277062892914, 0.026894785463809967, 0.012317909859120846, -0.07536432892084122, -0.06953684985637665, 0.018055355176329613, 0.018088093027472496, -0.12460322678089142, 0.05549198016524315, -0.01767886057496071, 0.029808523133397102, -0.03388448432087898, 0.0005033564520999789, -0.04491740092635155, -0.04701267182826996, -0.07051900774240494, -0.03065972775220871, 0.005614675115793943, 0.04262569546699524, 0.01646753028035164, 0.003713788464665413, 0.0026211366057395935, 0.028760887682437897, 0.01247341837733984, -0.012964497320353985, 0.05110500380396843, 0.04714362695813179, -0.08911455422639847, -0.0223113764077425, -0.026240011677145958, 0.021378325298428535, -0.027942420914769173, 0.024864990264177322, -0.04835495725274086, 0.03493211790919304, 0.033557094633579254, -0.04341142252087593, 0.03327881917357445, 0.04606325179338455, -0.005054025910794735, 0.005455074366182089, 0.023047996684908867, 0.017204150557518005, 0.010910148732364178, -0.007714039646089077, 0.003470294876024127, -0.003865204518660903, 0.010312668979167938, 0.04233105108141899, -0.022671502083539963, -0.006617295555770397, -0.045343004167079926, 0.022475069388747215, 0.07739412039518356, 0.022998888045549393, -0.03689643740653992, -0.04305129870772362, 0.009657896123826504, -0.04514657333493233, -0.04508109390735626, 0.013856625184416771, 0.01792440004646778, 0.02177118882536888, -0.040399469435214996, 0.05012284219264984, 0.0043460531160235405, 0.02463581971824169, 0.052021682262420654, 0.07209046185016632, -0.02561797760426998, 0.11831741034984589, -0.05041749030351639, -0.024144740775227547, -0.025356069207191467, -0.006887389346957207, 0.012989051640033722, -0.014699645340442657, -0.04216735437512398, -0.07025709748268127, 0.03111806884407997, -0.04920616000890732, 0.029382921755313873, -0.03252582997083664, 0.0986742302775383, 0.00705926725640893, 0.005876583978533745, -0.06842374056577682, -0.0075012389570474625, 0.07615005224943161, 0.03761668503284454, 0.06478974968194962, 0.006531356833875179, 0.04946807026863098, 0.0017597014084458351, -0.010967440903186798, -0.04046494886279106, 0.008749399334192276, 0.025339700281620026, 0.021018201485276222, -0.04036673158407211, 0.020903615280985832, -0.005045841448009014, 0.03157640993595123, -0.02350633591413498, -0.003255447605624795, 0.002049233764410019, 0.0055287363938987255, 0.030250495299696922, -0.0682927817106247, -0.017400581389665604, 0.013782963156700134, 0.04514657333493233, 0.054346125572919846, 0.05595032125711441, 0.030135909095406532, 0.032820478081703186, -0.0223113764077425, 0.042363788932561874, -0.009698819369077682, -0.04085781052708626, 0.0040616365149617195, 0.009576049633324146, -0.017777075991034508, 0.035783324390649796, 0.014732384122908115, -0.0355868898332119, -0.044131673872470856, 0.0340481773018837, 0.0007934002787806094, 0.03453925624489784, -0.011622213758528233, -0.01087740994989872, -0.0834835097193718, 0.01835000328719616, -0.004517931025475264, -0.027287648990750313, 0.026632875204086304, -0.010754640214145184, 0.07418573647737503, -0.03388448432087898, -0.002428797073662281, 0.06639394164085388, 0.0015070000663399696, -0.07844176143407822, 0.017891662195324898, -0.009526941925287247, 0.028073376044631004, 0.006961051374673843, 0.008512044325470924, -0.040595900267362595, 0.024013785645365715, 0.041152458637952805, -0.01857917197048664, -0.030201386660337448, 0.041479844599962234, -0.06717967242002487, 0.017220519483089447, -0.08564426004886627, -0.00046320047113113105, -0.016844024881720543, 0.02011788822710514, 0.00366877275519073, -0.0001260948774870485, -0.011172058060765266, -0.010746455751359463, 0.02286793291568756, -0.054346125572919846, -0.004558854270726442, -0.012907205149531364, 0.017285997048020363, -0.05817654728889465, -0.03617618605494499, -0.005299565847963095, -0.059944432228803635, -0.0009540241444483399, -0.03702739253640175, -0.03265678510069847, -0.03800955042243004, -0.03525950387120247, -0.0475037544965744, -0.01605011336505413, -0.08649545907974243, -0.05156334489583969, 0.005467351526021957, -0.012375202029943466, -0.005651506129652262, -0.007902286946773529, -0.010746455751359463, 0.016631225124001503, -0.012080554850399494, 0.025650717318058014, 0.04360785707831383, -0.003562372177839279, 0.0013085221871733665, -0.014855153858661652, -0.02142743393778801, -0.007247514557093382, -0.00037342499126680195, -0.005532828625291586, -0.009469648823142052, -0.02571619488298893, -0.015362602658569813, -0.0119741540402174, 0.006875112187117338, -0.021738450974225998, -0.006449510343372822, -0.0005601375014521182, -0.02506142109632492, -0.020150627940893173, -0.04491740092635155, -0.01248160284012556, 0.06256352365016937, 0.003347524907439947, 0.07700125873088837, -0.005766091402620077, -0.018186308443546295, -0.03666726499795914, -0.029530243948101997, 0.0384678915143013, 0.04570312798023224, 0.05788189917802811, 0.008147826418280602, 0.03912266343832016, 0.036438096314668655, 0.0044729155488312244, -0.05516459420323372, -0.05699795484542847, -0.014364073984324932, -0.01280080433934927, 0.015583587810397148, 0.012465233914554119, 0.008994938805699348, -0.034768424928188324, 0.007272068411111832, -0.014855153858661652, 0.024439387023448944, 0.03787859529256821, 0.054575297981500626, -0.019184837117791176, 0.0333770327270031, -0.050188321620225906, 0.03915540128946304, -0.031805578619241714, -0.06259626150131226, 0.009371433407068253, 0.015264386311173439, 0.029317444190382957, 0.04111972078680992, 0.021820297464728355, 0.03624166548252106, -0.007693578023463488, -0.03000495582818985, -0.018055355176329613, 0.03748573362827301, -0.044459059834480286, -0.01825178600847721, -0.011744983494281769, 0.002815522253513336, -0.037518471479415894, 0.0521198995411396, 0.037649426609277725, 0.008217396214604378, -0.0038549737073481083, 0.052807409316301346, 0.0053077503107488155, -0.0586676262319088, 0.015477187931537628, 0.0011079980758950114, -0.0010486592072993517, 0.04766744747757912, 0.018857451155781746, -0.0008082349668256938, 0.004333776421844959, 0.02925196662545204, 0.008806691505014896, 0.015559034422039986, 0.09533489495515823, -0.003922497387975454, -0.0013064759550616145, 0.022049468010663986, 0.010910148732364178, 0.005283196456730366, -0.006519079674035311, -0.04806030914187431, 0.02461945079267025, 0.03431008383631706, 0.016344761475920677, -0.023784615099430084, 0.003930681850761175, 0.03187105804681778, -0.06524808704853058, 0.020707184448838234, -0.007218868006020784, 0.04066137969493866, 0.0415453240275383, -0.040301255881786346, -0.025470655411481857, 0.04625968635082245, 0.06046824902296066, 0.0673106238245964, 0.054116956889629364, -0.05771820619702339, -0.00489033292979002 ]
40,991
pyglove.core.object_utils.value_location
get
Gets the value of current path from an object with a default value.
def get(self, src: Any, default_value: Optional[Any] = None) -> Any: """Gets the value of current path from an object with a default value.""" try: return self.query(src) except KeyError: return default_value
(self, src: Any, default_value: Optional[Any] = None) -> Any
[ 0.07753299921751022, -0.0705462098121643, -0.022130481898784637, -0.0003526780637912452, -0.0005373636959120631, -0.015728753060102463, 0.04792393743991852, -0.013142623007297516, 0.10792213678359985, -0.020214201882481575, 0.006028648465871811, 0.023588888347148895, -0.022469645366072655, -0.011107636615633965, 0.027370572090148926, 0.07041054219007492, 0.011345051229000092, 0.0613887682557106, 0.06932521611452103, 0.04531237110495567, 0.04219206050038338, -0.03471348434686661, 0.024318091571331024, 0.002293599769473076, -0.018365755677223206, 0.02908335253596306, 0.044566210359334946, -0.04158156365156174, 0.03367903083562851, -0.007826220244169235, 0.03825775161385536, -0.03325507417321205, -0.026013914495706558, 0.034526944160461426, -0.01422794908285141, 0.014914757572114468, -0.014490801841020584, 0.050501588732004166, -0.10697247087955475, -0.05986252799630165, -0.03764725476503372, 0.007894053123891354, 0.004129327367991209, -0.02772669494152069, 0.0009607893298380077, -0.0050959461368620396, -0.027489280328154564, 0.007699033245444298, 0.027862360700964928, -0.01222687866538763, 0.05772579088807106, 0.02414851076900959, -0.0644073337316513, -0.018959293141961098, -0.043548718094825745, -0.0010212030028924346, -0.040564071387052536, 0.06840947270393372, 0.016525788232684135, 0.0736665204167366, 0.03425561264157295, -0.04873793572187424, 0.015737231820821762, -0.0062067098915576935, -0.001871763844974339, -0.022350938990712166, 0.013015436008572578, 0.001392694073729217, -0.013151101768016815, 0.04219206050038338, -0.048771850764751434, -0.0007318533025681973, -0.04361655190587044, 0.001529419794678688, 0.039546575397253036, -0.038834329694509506, -0.03281416371464729, -0.03211887553334236, 0.03205104172229767, -0.029286852106451988, 0.010929575189948082, -0.027099240571260452, -0.051213834434747696, -0.046601198613643646, -0.003389524994418025, -0.002414426999166608, 0.002042406005784869, -0.04215814173221588, 0.04636378213763237, 0.02048553340137005, -0.01669537089765072, -0.002448343439027667, -0.03859691694378853, 0.02518296241760254, 0.025606917217373848, -0.013617453165352345, 0.01904408447444439, -0.02006157860159874, 0.020824698731303215, 0.009352460503578186, 0.02272401936352253, -0.027557112276554108, 0.04063190147280693, 0.006422927137464285, 0.036901094019412994, -0.0062024700455367565, 0.05647088214755058, -0.011590945534408092, 0.052672240883111954, 0.015186089091002941, -0.0419546440243721, -0.000403552723582834, -0.03467956557869911, 0.009801853448152542, 0.001948075951077044, 0.026149580255150795, -0.044260963797569275, 0.021316487342119217, 0.007944927550852299, 0.018484463915228844, -0.055724721401929855, 0.009174399077892303, -0.0593876987695694, -0.005269767716526985, 0.07583717256784439, 0.02416546829044819, -0.011319614015519619, -0.04751694202423096, 0.027404488995671272, 0.019518915563821793, 0.06210101395845413, 0.020621199160814285, -0.05145125091075897, -0.007304754573851824, 0.02916814386844635, 0.05599605292081833, 0.029337726533412933, 0.06993571668863297, 0.005825149826705456, 0.040699735283851624, 0.0008563902811147273, -0.02436896786093712, 0.015627002343535423, -0.06634057313203812, -0.010242766700685024, 0.028472857549786568, 0.10181717574596405, 0.020909490063786507, 0.01427882444113493, 0.031237047165632248, 0.05955728143453598, 0.02620045468211174, -0.03222062438726425, 0.021774359047412872, -0.022740976884961128, -0.022639228031039238, -0.029100311920046806, -0.03247499838471413, 0.006308459211140871, -0.020943405106663704, 0.00718604726716876, -0.023181891068816185, 0.019875038415193558, -0.07359869033098221, 0.018806669861078262, 0.0317288376390934, -0.02558995969593525, 0.05487681180238724, 0.02321580797433853, 0.016110312193632126, -0.014092283323407173, -0.025708666071295738, -0.061253104358911514, -0.004807656165212393, 0.07495534420013428, 0.047449108213186264, -0.032186709344387054, 0.03132183849811554, 0.008377362042665482, 0.012362544424831867, -0.01534719206392765, -0.004010619595646858, -0.008576621301472187, 0.015627002343535423, 0.03571401908993721, 0.05128166824579239, 0.027692778035998344, -0.01914583332836628, 0.013380038551986217, 0.03707067668437958, -0.028303274884819984, 0.0050238738767802715, 0.0007196646183729172, 0.006308459211140871, -0.03144054487347603, -0.03456085920333862, 0.05433414876461029, -0.022944476455450058, -0.001019083196297288, 0.0992395207285881, -0.015923772007226944, -0.05067117139697075, 0.0016311691142618656, 0.0006359333638101816, -0.04358263313770294, 0.01059041079133749, 0.04453229531645775, 0.026030872017145157, -0.07590501010417938, 0.03162708505988121, -0.09849335998296738, -0.028303274884819984, -0.04229380935430527, -0.04873793572187424, 0.019400207325816154, 0.0035633465740829706, -0.06739197671413422, 0.0024229062255471945, -0.019264541566371918, 0.056742213666439056, 0.061558350920677185, -0.06393250077962875, 0.039241328835487366, 0.021062113344669342, 0.06128701940178871, -0.04493929073214531, 0.014431447722017765, -0.03717242553830147, -0.028642438352108, -0.06712064892053604, 0.026641368865966797, -0.02691270038485527, 0.03440823405981064, -0.015398066490888596, 0.04209031164646149, 0.009335502050817013, 0.06088002026081085, 0.023164933547377586, -0.013481787405908108, 0.014982590451836586, 0.0019639742095023394, -0.01802659220993519, 0.012430377304553986, 0.010700639337301254, -0.0040678540244698524, 0.020824698731303215, -0.0010816167341545224, 0.003349249018356204, 0.002494978718459606, -0.036087099462747574, 0.0839092880487442, 0.04571937024593353, -0.012048817239701748, -0.006698498036712408, -0.010615848004817963, 0.0069062365218997, -0.05955728143453598, -0.021926982328295708, 0.034730441868305206, -0.02085861563682556, -0.06840947270393372, -0.042632974684238434, -0.004010619595646858, 0.0225205197930336, -0.061558350920677185, -0.007902531884610653, -0.04422704502940178, 0.006003211252391338, 0.015915293246507645, 0.013515704311430454, -0.0189423356205225, 0.01963762193918228, -0.004896686878055334, -0.03849516808986664, -0.018891461193561554, -0.006846882868558168, -0.030049972236156464, 0.012566043063998222, -0.01789092645049095, -0.03825775161385536, -0.04137806594371796, -0.013787035830318928, 0.003921589348465204, -0.03540876880288124, -0.05402889847755432, -0.020824698731303215, 0.033017661422491074, -0.05901461839675903, -0.028320232406258583, -0.02618349716067314, 0.06511957943439484, 0.04941626265645027, -0.057997122406959534, -0.006901996675878763, 0.016313811764121056, -0.023571930825710297, -0.04524454101920128, -0.04863618314266205, 0.047211695462465286, 0.06277934461832047, -0.010310599580407143, -0.0583362877368927, 0.02754015475511551, 0.01812834106385708, -0.01821313239634037, 0.03138967230916023, 0.020400742068886757, -0.04103890061378479, 0.04853443428874016, 0.005549578461796045, -0.03457781672477722, -0.02355497144162655, -0.003665096126496792, 0.019824163988232613, -0.022639228031039238, -0.017772218212485313, -0.03050784394145012, -0.005469026975333691, 0.009632270783185959, 0.05185824632644653, -0.0430060550570488, 0.07488751411437988, -0.07041054219007492, 0.013634411618113518, 0.0022554437164217234, -0.02772669494152069, -0.024487674236297607, 0.07719383388757706, 0.010310599580407143, 0.05240090936422348, 0.008296811021864414, -0.006494999397546053, 0.005206174682825804, 0.013312205672264099, 0.024436799809336662, -0.014914757572114468, 0.0007080057985149324, -0.024640299379825592, 0.0008807677077129483, 0.019417164847254753, 0.031135298311710358, -0.08146730810403824, 0.016847994178533554, -0.009250710718333721, 0.05887895077466965, 0.0054351105354726315, 0.1033773273229599, -0.02302926778793335, 0.04541412368416786, -0.11280610412359238, -0.05484289303421974, 0.003243260318413377, -0.0009576096781529486, -0.01524544321000576, -0.006003211252391338, 0.01882362738251686, 0.020349867641925812, -0.02079078182578087, 0.032491955906152725, -0.012769542634487152, 0.04276863858103752, 0.018043549731373787, -0.03193233534693718, 0.01227775402367115, -0.0005998971755616367, 0.03133879601955414, -0.003389524994418025, 0.017789175733923912, -0.00043561437632888556, -0.023995885625481606, -0.04860226809978485, -0.011336572468280792, 0.005638609174638987, -0.02107907086610794, 0.04327738657593727, -0.006931673735380173, -0.01851838082075119, -0.00865293387323618, 0.009886643849313259, 0.032695453613996506, 0.031576212495565414, 0.04643161594867706, -0.006389010697603226, 0.05487681180238724, -0.009250710718333721, -0.020519450306892395, 0.003319572191685438, 0.030236512422561646, -0.024402882903814316, -0.035578351467847824, -0.005621651187539101, -0.039241328835487366, 0.029948221519589424, -0.029914306476712227, 0.006380531471222639, -0.038834329694509506, 0.03625668212771416, 0.005426631309092045, -0.02445375733077526, 0.028608523309230804, 0.017433052882552147, 0.03203408420085907, -0.02947339229285717, 0.06881646811962128, -0.01833183877170086, -0.07922881841659546, 0.037206340581178665, 0.010776950977742672, -0.03859691694378853, -0.0020286275539547205, -0.06566224247217178, -0.039037831127643585, -0.03693500906229019, 0.03829166665673256, 0.01782309263944626, 0.0007445719675160944, 0.014465364627540112, 0.02774365432560444, 0.00038818432949483395, 0.023588888347148895, -0.039750076830387115, -0.03622276335954666, 0.01923062466084957, 0.0031902657356113195, 0.014270344749093056, -0.03768117353320122, 0.03386557102203369, -0.03564618527889252, -0.011073719710111618, 0.04039448872208595, 0.011853798292577267, -0.05087466910481453, 0.010352995246648788, -0.02548820897936821, 0.0348321907222271, 0.012074255384504795, 0.0032199425622820854, -0.01437209453433752, 0.027692778035998344, -0.01575418934226036, 0.008148426190018654, -0.009742499329149723, -0.02077382430434227, 0.05250265821814537, -0.05803104117512703, -0.05233307555317879, -0.003883433062583208, 0.03164404630661011, 0.03038913570344448, -0.04317563772201538, -0.050162423402071, -0.057047463953495026, 0.03717242553830147, 0.0250642541795969, -0.01975633017718792, -0.041920728981494904, -0.08764009922742844, 0.03028738684952259, 0.009233752265572548, 0.01535567082464695, 0.00962379202246666, 0.030168678611516953, 0.03184754401445389, -0.08004281669855118, -0.021638693287968636, 0.03734200820326805, 0.00506202969700098, 0.0480935201048851, -0.05565688759088516, -0.053486235439777374, -0.00885219220072031, 0.016822557896375656, -0.09998568147420883, -0.01540654618293047, 0.03262762352824211, -0.04178506135940552, -0.014117720536887646, 0.003898271592333913, -0.016652975231409073, -0.028574606403708458, -0.004625355359166861, -0.003913110122084618, 0.04653336480259895, -0.00606256490573287, -0.014117720536887646, -0.020621199160814285, 0.014151637442409992, 0.05236699432134628, 0.03930916264653206, -0.025132086127996445, 0.03666367754340172, 0.10249549895524979, -0.04181898012757301, -0.02608174830675125, -0.0036269400734454393, 0.020315950736403465, 0.024080676957964897, -0.012583001516759396, 0.05290965735912323, 0.03778292238712311, 0.016958223655819893, -0.04510887339711189, -0.027896277606487274, 0.03574793413281441, -0.02874418906867504, -0.052536576986312866, -0.049077097326517105, 0.006762091536074877, -0.010361474007368088, 0.018450547009706497, 0.03744375705718994, 0.044871460646390915, 0.01259148120880127, 0.006113439332693815, 0.037613339722156525, -0.010929575189948082, 0.03149142116308212, 0.011395925655961037, 0.02018028497695923, -0.01965458132326603, 0.004069973714649677, 0.010454745031893253, -0.022859685122966766, -0.030558718368411064, -0.019705455750226974, 0.003039761446416378, -0.045685455203056335, -0.00931006483733654, -0.008568142540752888, 0.0532149039208889, 0.005719160661101341, -0.01933237537741661, -0.02291055954992771, 0.10921096056699753, 0.0348321907222271, 0.03764725476503372, -0.002581889508292079, -0.028896812349557877, -0.04799177125096321, -0.018671004101634026, 0.032186709344387054, -0.016415560618042946, 0.009920560754835606, 0.040699735283851624, 0.03252587094902992, -0.043141718953847885, -0.03490002453327179, 0.08329879492521286, 0.08133164048194885, -0.018162257969379425, 0.007673596031963825, -0.04534628987312317, 0.020332910120487213, 0.03089788369834423, -0.022367896512150764, 0.025963040068745613, -0.026030872017145157, 0.030253469944000244, -0.002976168179884553, 0.0010598889784887433, 0.05514814332127571, -0.01181988138705492, -0.015872897580266, 0.05955728143453598, -0.0019120397046208382, -0.036697596311569214, -0.02048553340137005, -0.015949208289384842, 0.048670101910829544, 0.0003055129782296717, -0.04073365405201912, -0.006719695869833231, 0.0051892162300646305, 0.012778021395206451, 0.02754015475511551, 0.044362712651491165, -0.04120848327875137, -0.00010983099491568282, 0.006872320082038641, -0.0011722372146323323, -0.002355073345825076, -0.02302926778793335, 0.09713670611381531, -0.007957646623253822, 0.024097634479403496, -0.043141718953847885, -0.03283112123608589, 0.008551184087991714, -0.028286317363381386, -0.02579345740377903, -0.028727229684591293, -0.00734715024009347, -0.07841482758522034, 0.03357728198170662, 0.05165474861860275, 0.0033725667744874954, -0.05043375492095947, -0.034136902540922165, 0.02416546829044819, -0.029727766290307045, -0.06179576739668846, -0.012421898543834686, 0.020841656252741814, 0.06793463975191116, -0.011548549868166447, 0.013481787405908108, -0.006020169239491224, -0.02642091177403927, -0.0010630686301738024, -0.014304261654615402, 0.005036592483520508, 0.03220366686582565, -0.015220005065202713, 0.06827380508184433, -0.0281336922198534, -0.008021239191293716, 0.01615270785987377, 0.06077827140688896, -0.07122454047203064, -0.0024250259157270193, -0.022062648087739944, 0.03601926565170288, -0.039343077689409256, 0.013676807284355164, 0.000002947816255982616, -0.019111918285489082, 0.02282576821744442, -0.029761681333184242, -0.03254283219575882, 0.014601030386984348, 0.024199385195970535, -0.021129947155714035, 0.019366290420293808, 0.05402889847755432, -0.008368883281946182, -0.05375756695866585, 0.04890751466155052, -0.026760077103972435, -0.04890751466155052, 0.042531225830316544, -0.07855048775672913, 0.017857009544968605, -0.014931716024875641, 0.0705462098121643, -0.015822023153305054, 0.0337468646466732, -0.04164939746260643, -0.00003457887578406371, 0.016042478382587433, 0.008156905882060528, -0.04443054646253586, -0.03152533620595932, 0.0015135214198380709, 0.015236963517963886, 0.03591751679778099, 0.00493484316393733, 0.049891091883182526, -0.01565244048833847, 0.0036481379065662622, 0.008330726996064186, -0.059218116104602814, -0.04561762139201164, 0.0026052070315927267, -0.03754550591111183, -0.03693500906229019, -0.052434828132390976, -0.04470187798142433, -0.07922881841659546, 0.02445375733077526, -0.001750936615280807, 0.0017583557637408376, -0.00506626907736063, -0.04209031164646149, -0.005672525614500046, -0.017941800877451897, -0.07217419892549515, 0.04992501065135002, 0.0022342458833009005, -0.0014244907069951296, -0.02979559823870659, 0.03622276335954666, -0.009683145210146904, -0.005231611896306276, 0.10317382961511612, -0.04114064946770668, 0.0348321907222271, 0.010471702553331852, -0.03335682675242424, 0.08146730810403824, -0.00957291666418314, -0.03673151135444641, -0.05619955062866211, 0.016856474801898003, -0.0012559684691950679, -0.044057466089725494, -0.020315950736403465, -0.04036056995391846, 0.012235358357429504, -0.01283737551420927, 0.031677961349487305, 0.03193233534693718, 0.029100311920046806, 0.016245977953076363, -0.047550857067108154, 0.017772218212485313, -0.03359423950314522, 0.028795063495635986, -0.014567113481462002, -0.05433414876461029, -0.0031775471288710833, -0.024945545941591263, 0.04470187798142433, 0.00012937269639223814, -0.031779710203409195, -0.0037795640528202057, 0.05687788128852844, -0.05650480091571808, 0.04493929073214531, -0.07861832529306412, 0.025742582976818085, -0.003966104704886675, -0.041513729840517044, 0.018603170290589333, -0.017433052882552147, 0.06098177284002304, 0.02414851076900959, 0.003516711527481675, -0.05915028229355812, 0.009420293383300304, 0.10419132560491562, 0.002217287663370371, 0.026760077103972435, 0.07427702099084854, -0.014143158681690693, 0.003277176758274436, -0.03880041465163231, 0.018162257969379425, -0.03951266035437584, 0.015559169463813305, 0.02496250532567501, -0.03344161808490753, 0.044057466089725494, 0.010115580633282661, -0.0054987040348351, 0.01923062466084957, -0.03825775161385536, 0.030626552179455757, 0.01309174858033657, -0.01802659220993519, 0.03951266035437584, 0.025556042790412903, 0.005163779016584158, 0.07509101182222366, 0.017365220934152603, 0.01739913783967495, -0.03395036235451698, -0.027167074382305145, -0.004684709012508392, 0.04541412368416786, 0.05128166824579239, -0.08058547973632812, 0.016017042100429535, -0.0225205197930336, 0.0419546440243721, -0.0014435687335208058, 0.0163816437125206, -0.022995350882411003, 0.011658778414130211 ]
40,992
pyglove.core.object_utils.value_location
path_str
Returns JSONPath representation of current path. Args: preserve_complex_keys: if True, complex keys such as 'x.y' will be preserved by quoted in brackets. For example: KeyPath(['a', 'x.y', 'b']) will return 'a[x.y].b' when `preserve_complex_keys` is True, and `a.x.y.b` when `preserve_complex_keys` is False. Returns: Path string.
def path_str(self, preserve_complex_keys: bool = True) -> str: """Returns JSONPath representation of current path. Args: preserve_complex_keys: if True, complex keys such as 'x.y' will be preserved by quoted in brackets. For example: KeyPath(['a', 'x.y', 'b']) will return 'a[x.y].b' when `preserve_complex_keys` is True, and `a.x.y.b` when `preserve_complex_keys` is False. Returns: Path string. """ s = [] for i, key in enumerate(self._keys): if ((isinstance(key, str) and not (preserve_complex_keys and self._has_special_chars(key))) or isinstance(key, StrKey)): if i != 0: s.append('.') s.append(str(key)) else: s.append(f'[{key}]') return ''.join(s)
(self, preserve_complex_keys: bool = True) -> str
[ -0.015869906172156334, -0.02410462498664856, -0.0251273512840271, 0.009883425198495388, 0.024386756122112274, -0.05388714745640755, 0.0049196709878742695, -0.006418495438992977, 0.06778213381767273, 0.00220525567419827, 0.02304663136601448, 0.012951606884598732, 0.002944749314337969, 0.019255487248301506, -0.01426528301090002, -0.012634208425879478, 0.02352272719144821, -0.07081504911184311, 0.05374608188867569, 0.023258229717612267, 0.008349333889782429, -0.00849040038883686, 0.052934955805540085, -0.007163499481976032, -0.01378918532282114, 0.009654193185269833, 0.013180838897824287, 0.011461598798632622, 0.06005878001451492, -0.05476881191134453, -0.021195141598582268, -0.03172218054533005, 0.031228449195623398, 0.039463166147470474, -0.0472923219203949, 0.009098746813833714, -0.018920455127954483, 0.020207680761814117, -0.03674764931201935, -0.04634012654423714, -0.04365987703204155, 0.05117163062095642, -0.029782524332404137, -0.06333856284618378, 0.028442399576306343, 0.027208073064684868, -0.03574255481362343, 0.0593181848526001, 0.03551332280039787, 0.02151254005730152, 0.053499218076467514, -0.018320925533771515, -0.049443576484918594, -0.061469439417123795, -0.03858150541782379, -0.034367162734270096, 0.028213167563080788, 0.001827243366278708, -0.021459640935063362, -0.04581113159656525, -0.035319358110427856, -0.00576165784150362, 0.03514302521944046, 0.05956504866480827, -0.013410070911049843, -0.039357367902994156, -0.04609326273202896, -0.019237853586673737, 0.01557014137506485, -0.017386363819241524, -0.003445092123001814, -0.025180252268910408, -0.04404780641198158, -0.006687402259558439, -0.0322159118950367, -0.0018349579768255353, -0.08957680314779282, -0.030487854033708572, -0.030434953048825264, -0.028389498591423035, -0.05557993799448013, -0.07113244384527206, -0.05607366934418678, -0.084004707634449, 0.013930250890552998, 0.016337186098098755, -0.03755877912044525, -0.038228839635849, 0.006797609850764275, 0.03907523676753044, -0.029288794845342636, 0.008018710650503635, -0.04662225767970085, 0.07201410830020905, 0.007644005119800568, -0.045458465814590454, 0.003830819157883525, -0.05762539431452751, 0.04126175493001938, -0.007749804295599461, 0.012740008533000946, -0.011955329217016697, 0.006317104212939739, 0.022253135219216347, 0.012025862000882626, -0.016778018325567245, -0.011611481197178364, -0.021230408921837807, 0.013172022067010403, -0.026820141822099686, -0.043871473520994186, 0.0210893414914608, -0.027737069875001907, -0.035883620381355286, 0.035319358110427856, 0.03207484260201454, 0.0022482366766780615, -0.027684170752763748, 0.08153605461120605, -0.023840125650167465, 0.03248040750622749, -0.005012245383113623, -0.03861677274107933, 0.042319752275943756, 0.04055642709136009, 0.0359894223511219, -0.00551038421690464, 0.023275863379240036, 0.0011880388483405113, -0.039886366575956345, 0.002144641475751996, 0.08090125769376755, -0.009698276408016682, 0.04669279232621193, 0.04207288473844528, 0.06450235098600388, -0.011488049291074276, 0.024510188028216362, 0.017924178391695023, 0.11913009732961655, 0.04369514063000679, -0.027948668226599693, 0.004306916147470474, 0.03272727504372597, 0.018955722451210022, -0.018426723778247833, 0.04704545438289642, -0.041826020926237106, -0.026432210579514503, -0.029376959428191185, 0.0210893414914608, 0.013242554850876331, 0.031810346990823746, -0.029394593089818954, 0.03406739979982376, -0.04549373313784599, -0.02063087746500969, 0.002409139880910516, 0.0027155173011124134, -0.04457680508494377, 0.008481583558022976, -0.013172022067010403, -0.0031827979255467653, -0.026449844241142273, 0.05155956372618675, 0.02465125545859337, 0.03570729121565819, -0.010765086859464645, 0.0027309462893754244, 0.039463166147470474, 0.05512147396802902, 0.010606387630105019, -0.07405956089496613, 0.0246336217969656, -0.026432210579514503, 0.01715713180601597, 0.011461598798632622, 0.052899688482284546, -0.03415556624531746, -0.04302508011460304, 0.04411834105849266, -0.048914577811956406, -0.03225117549300194, 0.041826020926237106, 0.08492163568735123, -0.0019165115663781762, -0.0012376322411000729, -0.011153017170727253, 0.03207484260201454, -0.000009987571502279025, -0.08280564844608307, 0.04112068936228752, 0.03777037560939789, 0.046939656138420105, 0.0008882739348337054, -0.05674373358488083, 0.0443299375474453, -0.06912226229906082, -0.06372649222612381, 0.08823668211698532, -0.04478840157389641, -0.007273707073181868, -0.015446708537638187, -0.03847570717334747, 0.012907523661851883, -0.010306622833013535, 0.01434463169425726, -0.02008424885571003, 0.014759013429284096, 0.010209639556705952, 0.020436912775039673, -0.0032092477194964886, -0.018232759088277817, -0.04683385789394379, 0.020436912775039673, 0.053499218076467514, -0.027966301888227463, 0.06594827771186829, -0.004985795821994543, 0.011602665297687054, 0.06841693073511124, 0.05706113204360008, 0.059529781341552734, -0.014044866897165775, -0.021248040720820427, -0.020348746329545975, 0.009945141151547432, 0.0025678391102701426, -0.020965909585356712, -0.023469828069210052, 0.03875783830881119, -0.027807602658867836, -0.018867556005716324, 0.00034908283851109445, 0.04976097494363785, -0.004659580998122692, 0.013172022067010403, -0.05854232236742973, 0.0823824480175972, -0.03413793072104454, 0.020419279113411903, -0.040909092873334885, -0.03373236954212189, -0.0700039193034172, 0.0013500441564247012, 0.012404976412653923, 0.0402037613093853, -0.027913402765989304, 0.03554859012365341, -0.003295209724456072, 0.06464342027902603, -0.01381563488394022, 0.014018417336046696, 0.03953370079398155, -0.01150568202137947, -0.004456798546016216, -0.028953762724995613, -0.0001237081305589527, -0.015191026963293552, 0.04175548627972603, -0.04122649133205414, -0.007185541093349457, -0.0734952986240387, 0.024298589676618576, 0.01200822927057743, -0.0472923219203949, 0.021829938516020775, 0.006727077066898346, -0.01203467883169651, 0.009327977895736694, -0.008371375501155853, -0.006652135867625475, -0.06520768254995346, -0.018285658210515976, -0.02361089363694191, 0.017386363819241524, -0.031369514763355255, 0.019184954464435577, -0.03847570717334747, -0.02868926338851452, -0.031246082857251167, -0.029994122684001923, 0.04507053270936012, -0.009592477232217789, 0.008675549179315567, 0.014520964585244656, 0.011867163702845573, -0.024915752932429314, 0.011108934879302979, 0.015817007049918175, 0.08111285418272018, 0.006431720219552517, -0.0015407034661620855, 0.005669083446264267, 0.04411834105849266, -0.051876962184906006, 0.003237901721149683, -0.11680251359939575, 0.04023902863264084, -0.010941418819129467, 0.03678291663527489, 0.074482761323452, 0.03108738362789154, -0.009178095497190952, 0.037382446229457855, -0.006634502671658993, -0.0001530509180156514, -0.010103840380907059, 0.011629114858806133, 0.06591301411390305, -0.04210815206170082, -0.03865204006433487, -0.012986873276531696, 0.04859717935323715, 0.005003429017961025, 0.01303977333009243, -0.014635580591857433, -0.030822884291410446, -0.016249021515250206, 0.04803291708230972, -0.01106485165655613, 0.019202586263418198, -0.015076410956680775, 0.0015175597509369254, -0.0032268809154629707, -0.043342478573322296, 0.014688479714095592, 0.016875000670552254, 0.018691223114728928, 0.007679271511733532, 0.019802115857601166, -0.04083855822682381, -0.014961794950067997, 0.022711599245667458, 0.009945141151547432, -0.0012773070484399796, 0.032885972410440445, -0.0380525104701519, -0.06132837012410164, 0.04365987703204155, 0.08019592612981796, -0.029200628399848938, 0.021741772070527077, 0.0037272239569574594, -0.07603448629379272, -0.02258816733956337, 0.022852664813399315, 0.04619906097650528, 0.031810346990823746, -0.03380290046334267, -0.015887539833784103, -0.03020572103559971, 0.029324060305953026, 0.008477174676954746, 0.024721788242459297, -0.00876812357455492, -0.019343651831150055, 0.0551920086145401, -0.003429663134738803, 0.02905956283211708, 0.06450235098600388, 0.0036434659268707037, 0.015437892638146877, -0.007551430258899927, 0.011514498852193356, -0.0006149588734842837, 0.040873825550079346, -0.02611481212079525, 0.023364029824733734, -0.01150568202137947, -0.0032423101365566254, -0.01899098791182041, 0.04348354414105415, -0.029747258871793747, -0.01665458455681801, 0.07335423678159714, 0.059459250420331955, 0.0038903311360627413, -0.012096395716071129, -0.006982758641242981, 0.02715517394244671, 0.0014602518640458584, 0.02913009561598301, 0.05113636702299118, -0.016407720744609833, 0.07222570478916168, 0.04704545438289642, -0.04105015844106674, 0.011699647642672062, -0.01914968714118004, -0.024439655244350433, -0.03702978044748306, 0.006136363837867975, 0.011629114858806133, -0.03907523676753044, -0.0392163023352623, 0.05776645988225937, -0.018902821466326714, -0.01611677184700966, 0.039392635226249695, 0.03267437219619751, -0.050431035459041595, -0.05561520531773567, 0.008150960318744183, 0.012836990877985954, 0.025444749742746353, 0.03710031509399414, 0.012352077290415764, -0.008402233943343163, 0.02410462498664856, -0.014767829328775406, -0.03577782213687897, -0.061046238988637924, -0.011920062825083733, 0.053851883858442307, 0.0012266115518286824, -0.08739028126001358, 0.007926136255264282, 0.017236482352018356, 0.020366379991173744, -0.045352667570114136, 0.03299177065491676, -0.053463950753211975, 0.006281837821006775, 0.004902037791907787, 0.0042672413401305676, -0.04115595668554306, 0.040803294628858566, 0.11094827950000763, 0.0853448286652565, -0.022394200786948204, -0.029853057116270065, -0.059071317315101624, -0.03812304139137268, -0.024298589676618576, 0.011153017170727253, 0.04813871532678604, -0.0023760776966810226, 0.012854624539613724, 0.010086207650601864, -0.008984130807220936, 0.0005730799748562276, -0.053957682102918625, 0.01950235106050968, 0.02763126976788044, -0.029711991548538208, -0.027437305077910423, 0.02856583148241043, 0.04870298132300377, 0.026908308267593384, 0.0011119955452159047, 0.006299471016973257, 0.02207680232822895, -0.05219436064362526, -0.020454546436667442, -0.022835031151771545, 0.06224529817700386, -0.003663303330540657, -0.004924079403281212, -0.013559953309595585, 0.0011009747395291924, 0.03404976427555084, 0.04559953138232231, -0.010421238839626312, 0.021953370422124863, -0.02264106646180153, -0.02412225864827633, 0.06411442160606384, -0.031387146562337875, -0.026908308267593384, -0.0012585717486217618, -0.011029585264623165, -0.0952194407582283, 0.0632680281996727, 0.04701019078493118, 0.03600705415010452, 0.028900863602757454, 0.010747453197836876, -0.03819357603788376, -0.05614420399069786, -0.0721551775932312, -0.07236677408218384, -0.0271904394030571, -0.03246277570724487, 0.04954937472939491, 0.008918005973100662, -0.012263910844922066, 0.02708464115858078, 0.007895278744399548, -0.01177018042653799, 0.06376175582408905, 0.09536050260066986, -0.04863244667649269, 0.007599921897053719, 0.0362539179623127, 0.046904388815164566, -0.04122649133205414, -0.023716693744063377, -0.005197394173592329, 0.024951020255684853, 0.007467672694474459, -0.0013875147560611367, 0.02560344897210598, 0.016786834225058556, -0.028495298698544502, 0.033397335559129715, 0.051876962184906006, 0.03346787020564079, -0.004968162160366774, -0.028918495401740074, 0.007740987930446863, -0.015764107927680016, 0.0341026671230793, -0.029482759535312653, -0.03567202389240265, 0.03061128593981266, -0.00007253043440869078, 0.011920062825083733, 0.021248040720820427, 0.011867163702845573, -0.04027429595589638, 0.0245454553514719, 0.005029878579080105, -0.000715798931196332, -0.010553487576544285, 0.0012684904504567385, -0.031810346990823746, -0.004157033748924732, 0.0004515759937930852, 0.1054467111825943, -0.011100118048489094, 0.07007445394992828, 0.04055642709136009, 0.11426332592964172, -0.008578565903007984, 0.05875391885638237, -0.015534874983131886, -0.02456308901309967, -0.03253330662846565, -0.000646919128485024, 0.024898119270801544, 0.024422023445367813, -0.017307015135884285, -0.056038402020931244, 0.02309953048825264, 0.030487854033708572, 0.10192006826400757, -0.001548417960293591, 0.05557993799448013, -0.01359521970152855, -0.0052194357849657536, -0.004571414552628994, 0.0029866283293813467, 0.0265203770250082, 0.01807405985891819, -0.046904388815164566, 0.02761363796889782, -0.022923197597265244, -0.056955330073833466, -0.01003330759704113, -0.06016457825899124, -0.015772923827171326, -0.008366967551410198, -0.0002505847078282386, -0.02456308901309967, 0.03967476636171341, -0.001218896941281855, 0.016963167116045952, 0.04736285284161568, 0.02209443598985672, -0.021777037531137466, 0.01527919340878725, 0.04559953138232231, -0.047468654811382294, -0.02613244578242302, -0.0015638470649719238, -0.00540458457544446, 0.037876177579164505, 0.053499218076467514, 0.004897629376500845, 0.024404389783740044, -0.003872697940096259, 0.03653605282306671, 0.028460031375288963, -0.007895278744399548, 0.005744024645537138, 0.06072884052991867, 0.02103644236922264, 0.005942398216575384, -0.04302508011460304, -0.036888714879751205, -0.048456113785505295, 0.02853056602180004, -0.0009417246328666806, 0.06055251136422157, -0.046375393867492676, -0.010200823657214642, 0.018426723778247833, 0.03769984468817711, -0.04570532962679863, -0.014415165409445763, -0.0006419597775675356, 0.033838167786598206, 0.03450822830200195, -0.004831505008041859, 0.009618926793336868, 0.04013323038816452, 0.062456898391246796, -0.004567006602883339, 0.0018195288721472025, -0.007802703883498907, 0.01434463169425726, -0.029271161183714867, 0.014159482903778553, -0.018232759088277817, 0.04066222533583641, -0.011867163702845573, -0.015182210132479668, -0.07123824954032898, -0.03108738362789154, 0.010086207650601864, 0.017880095168948174, -0.009980407543480396, -0.006691810674965382, -0.07370689511299133, -0.047398120164871216, 0.005386951379477978, -0.02618534490466118, -0.01154976524412632, -0.04115595668554306, 0.004791830200701952, -0.05505094304680824, -0.035901255905628204, -0.02510971948504448, -0.0008144347812049091, -0.04009796306490898, -0.00975117553025484, 0.0035993829369544983, -0.008164185099303722, 0.021865203976631165, -0.054521944373846054, -0.00020484853303059936, -0.10057993978261948, 0.010077390819787979, -0.07878527045249939, 0.024951020255684853, -0.008437500335276127, -0.0725078359246254, 0.03561912477016449, -0.03524882718920708, -0.0715203806757927, 0.022306034341454506, -0.003956455737352371, -0.03798197582364082, -0.009098746813833714, 0.01814459264278412, 0.04549373313784599, -0.0410148911178112, 0.0008623751346021891, -0.004350999370217323, 0.0018834492657333612, -0.059529781341552734, -0.023893026635050774, -0.014935345388948917, -0.006308287847787142, -0.015499608591198921, 0.005338460206985474, -0.037417713552713394, 0.05921238288283348, -0.04672805964946747, 0.038934171199798584, -0.043413009494543076, 0.00026601378340274096, -0.026890674605965614, -0.02160070650279522, 0.030223354697227478, 0.008803389966487885, 0.025903213769197464, 0.007639596704393625, -0.046939656138420105, 0.009539577178657055, -0.005479526240378618, -0.01602860540151596, 0.00301307812333107, 0.007965811528265476, 0.002470856299623847, 0.05286442115902901, 0.05808385834097862, -0.030258622020483017, -0.03226881101727486, 0.024951020255684853, -0.07751567661762238, 0.02163597196340561, 0.02807210199534893, 0.015869906172156334, -0.020913010463118553, 0.028019201010465622, 0.03971003368496895, 0.031334247440099716, -0.040803294628858566, 0.018356190994381905, 0.029535658657550812, 0.006321512628346682, -0.042848747223615646, 0.028248433023691177, -0.0020884356927126646, 0.03720611333847046, -0.0205074455589056, -0.04669279232621193, -0.01650470308959484, -0.026449844241142273, 0.06072884052991867, 0.029958857223391533, -0.08746081590652466, 0.0023848942946642637, -0.010288989171385765, 0.003436275525018573, -0.039886366575956345, 0.015781739726662636, 0.02003134787082672, -0.02154780551791191, -0.04023902863264084, -0.024245690554380417, -0.01150568202137947, 0.022676333785057068, -0.0053957682102918625, 0.032321710139513016, 0.01506759412586689, 0.006872551050037146, -0.00853007473051548, -0.0420023538172245, 0.0014867016579955816, 0.019766850396990776, -0.022429468110203743, 0.0306465532630682, -0.024439655244350433, -0.025444749742746353, -0.06393808871507645, 0.014009600505232811, 0.07335423678159714, 0.002360648475587368, 0.10749216377735138, -0.011197100393474102, -0.021953370422124863, 0.009918691590428352, -0.010474137961864471, -0.0070048002526164055, 0.04083855822682381, -0.0033437011297792196, -0.036923982203006744, 0.00045984156895428896, 0.0709913820028305, 0.007286931853741407, -0.05279389023780823, -0.0009246424888260663, -0.010650470852851868, -0.07208464294672012, 0.03018808923661709, -0.007648413069546223, 0.01599333994090557, -0.08739028126001358, -0.03762931004166603, -0.005823373794555664, 0.06288009881973267, -0.01608150452375412, 0.0490909107029438, -0.04859717935323715, -0.015614224597811699 ]
40,993
pyglove.core.object_utils.value_location
query
Query the value from the source object based on current path. Example:: @pg.members([ ('x', pg.typing.Int()), ('y', pg.typing.Str()) ]) class A(pg.Object): pass @pg.members([ ('z', pg.typing.Object(A)) ]) class B(pg.Object): pass b = B(z=A(x=1, y='foo')) assert pg.KeyPath.parse('z.x').query(b) == 1 Args: src: Source value to query. Returns: Value from src if path exists. Raises: KeyError: Path doesn't exist in src. RuntimeError: Called on a KeyPath that is considered as removed.
def query(self, src: Any) -> Any: """Query the value from the source object based on current path. Example:: @pg.members([ ('x', pg.typing.Int()), ('y', pg.typing.Str()) ]) class A(pg.Object): pass @pg.members([ ('z', pg.typing.Object(A)) ]) class B(pg.Object): pass b = B(z=A(x=1, y='foo')) assert pg.KeyPath.parse('z.x').query(b) == 1 Args: src: Source value to query. Returns: Value from src if path exists. Raises: KeyError: Path doesn't exist in src. RuntimeError: Called on a KeyPath that is considered as removed. """ return self._query(0, src)
(self, src: Any) -> Any
[ 0.04316134750843048, -0.0468369759619236, -0.05364235118031502, 0.0056089735589921474, 0.014074748381972313, -0.030751550570130348, 0.018214380368590355, 0.02602054364979267, 0.12730050086975098, -0.04316134750843048, -0.0011895755305886269, 0.025947758927941322, 0.03752053156495094, 0.02674839086830616, -0.032280031591653824, 0.04789235442876816, 0.029677975922822952, 0.05655374005436897, 0.04301577806472778, 0.042942993342876434, 0.012710034847259521, 0.020907415077090263, 0.06583379209041595, 0.03641056269407272, -0.02269064076244831, 0.01719539426267147, 0.05691766366362572, -0.03468192741274834, 0.028003927320241928, -0.01853281259536743, 0.023582253605127335, 0.013601647689938545, 0.0018662461079657078, -0.004009983967989683, -0.04789235442876816, -0.00681902002543211, 0.011782028712332249, -0.021890008822083473, -0.06597936153411865, -0.06546986848115921, -0.04363444820046425, 0.031151866540312767, 0.02281801402568817, 0.007519572973251343, 0.04676419124007225, -0.01595805399119854, 0.007942634634673595, -0.04396197944879532, -0.00480834161862731, -0.0010314962128177285, 0.036792684346437454, 0.036719899624586105, -0.048438239842653275, -0.043124955147504807, -0.0022290325723588467, 0.0023495822679251432, -0.03579189255833626, 0.04701893776655197, 0.02785835787653923, 0.03883065655827522, 0.02864079363644123, -0.02503794990479946, 0.015184715390205383, 0.03120645508170128, 0.000012261100891919341, -0.059610698372125626, -0.012318816035985947, -0.01678597927093506, -0.06597936153411865, -0.016149112954735756, -0.08624991029500961, 0.008547657169401646, 0.008229224011301994, 0.04246989265084267, -0.016294682398438454, -0.008092752657830715, -0.05218665674328804, 0.030169272795319557, 0.03209806978702545, -0.052878111600875854, 0.04847463220357895, -0.047128114849328995, -0.0323164239525795, -0.09112648665904999, 0.007310316897928715, 0.026566429063677788, 0.0250561460852623, -0.03289870172739029, 0.01704072579741478, 0.048365455120801926, -0.005631718784570694, 0.016276486217975616, -0.05578950047492981, 0.0354461669921875, 0.05455216020345688, -0.0007483180379495025, 0.031151866540312767, -0.03519142046570778, -0.021271338686347008, 0.02445567026734352, 0.03766610100865364, 0.015157421119511127, 0.03466372936964035, 0.029641583561897278, 0.049020517617464066, 0.015184715390205383, 0.03189790993928909, -0.037447746843099594, 0.04953001067042351, 0.024819593876600266, -0.02198098972439766, 0.043525271117687225, -0.021817224100232124, -0.016949744895100594, 0.021362319588661194, -0.012891996651887894, -0.006627960130572319, -0.003925826866179705, -0.01183661725372076, -0.004569516517221928, 0.006896353792399168, 0.03937654197216034, -0.032079871743917465, 0.02602054364979267, 0.09491129219532013, 0.0023859746288508177, -0.000777886831201613, -0.0810094103217125, -0.0088251493871212, -0.02556563913822174, 0.03706562519073486, -0.0009405152522958815, -0.04112337529659271, 0.015794288367033005, 0.04414394125342369, 0.10837647318840027, 0.05389709770679474, -0.0006903177127242088, 0.01105418149381876, 0.018287165090441704, 0.01714080572128296, 0.004219240043312311, 0.01910599321126938, -0.06943663954734802, 0.0017809515120461583, -0.0009132209816016257, 0.06153949350118637, 0.052550580352544785, 0.056080639362335205, 0.020525295287370682, -0.013947375118732452, -0.020761845633387566, 0.039995212107896805, 0.04308856278657913, -0.012537171132862568, -0.048365455120801926, -0.028731774538755417, -0.01099049486219883, 0.01749563030898571, -0.014593339525163174, -0.01442047581076622, -0.01711351051926613, -0.012136854231357574, -0.058373358100652695, -0.028950128704309464, 0.008998013101518154, -0.041050590574741364, 0.022526875138282776, -0.04800153151154518, -0.012728231027722359, 0.017632102593779564, -0.058955635875463486, -0.038757871836423874, -0.0007198865059763193, -0.012955683283507824, 0.02858620509505272, -0.003252567956224084, 0.06703474372625351, -0.009935116395354271, -0.028695382177829742, 0.010490099899470806, -0.011199750937521458, -0.012000382877886295, -0.0030137428548187017, 0.0348820835351944, 0.03897622600197792, -0.0039986115880310535, 0.0005598169518634677, 0.04239710792899132, 0.03792084753513336, -0.05546196922659874, -0.017859553918242455, 0.022999975830316544, 0.013656236231327057, -0.04945722594857216, -0.036974646151065826, 0.005931955762207508, 0.021999185904860497, -0.044253118336200714, 0.11878468841314316, -0.032734934240579605, -0.024892378598451614, 0.009066248312592506, -0.0005140422144904733, -0.033317212015390396, 0.00941652525216341, 0.030915316194295883, 0.0218536164611578, -0.027967534959316254, -0.030915316194295883, -0.07576891034841537, -0.06492398679256439, 0.0025110733695328236, -0.047855962067842484, 0.0011583007872104645, 0.039995212107896805, -0.05393349006772041, 0.0010326334740966558, 0.055170830339193344, 0.03277132660150528, 0.09119927138090134, -0.02445567026734352, -0.002066404093056917, 0.0007921026553958654, 0.043124955147504807, -0.05717241019010544, -0.013137645088136196, 0.0045808893628418446, -0.03140661492943764, -0.11732899397611618, 0.06415974348783493, -0.03433619812130928, 0.05899202823638916, -0.04206957668066025, 0.06656163930892944, 0.039995212107896805, 0.034372590482234955, 0.04367084056138992, 0.05145880952477455, -0.005517992656677961, -0.03178873285651207, -0.0059819952584803104, 0.0016035387525334954, -0.03435439616441727, -0.03513683006167412, -0.006850863341242075, 0.02296358346939087, -0.0037393157836049795, 0.018651088699698448, -0.025820385664701462, 0.02838604710996151, 0.018669284880161285, 0.0000031541237603960326, -0.018441831693053246, -0.021562477573752403, -0.030842531472444534, -0.033517371863126755, -0.00891158077865839, 0.03648334741592407, 0.0007437689928337932, -0.07977207005023956, -0.05407905951142311, 0.010235353372991085, 0.026893960312008858, -0.019906625151634216, 0.014129336923360825, -0.041560083627700806, 0.02667560614645481, 0.007173845544457436, -0.009798645041882992, -0.03015107661485672, -0.006218545604497194, -0.01681327447295189, 0.004903871566057205, -0.022399501875042915, 0.021344123408198357, -0.054370198398828506, 0.06201259419322014, -0.014520554803311825, -0.040905021131038666, -0.004469437524676323, -0.02460123971104622, 0.0022381306625902653, -0.04454425722360611, -0.0029159383848309517, -0.026966745033860207, 0.019906625151634216, -0.09199990332126617, -0.010380922816693783, -0.001957227010279894, 0.07707903534173965, 0.009243661537766457, -0.013128546997904778, -0.017550218850374222, 0.01138171274214983, 0.012473484501242638, -0.025656620040535927, -0.04701893776655197, 0.003586922772228718, 0.06597936153411865, 0.017550218850374222, -0.023527665063738823, 0.018924031406641006, 0.05102210119366646, -0.00922546535730362, 0.05487969145178795, -0.000429316220106557, -0.007956281304359436, 0.02218114770948887, -0.002508798846974969, -0.0289683248847723, -0.022326717153191566, 0.006791725754737854, 0.008957071229815483, -0.05211387202143669, -0.037629708647727966, -0.0563717782497406, 0.0024132688995450735, -0.03817559406161308, 0.020980199798941612, -0.05145880952477455, 0.10968659818172455, -0.03466372936964035, 0.052805326879024506, -0.053205642849206924, 0.0034959418699145317, -0.020488902926445007, 0.07380372285842896, 0.00409641582518816, -0.007337611168622971, 0.0250561460852623, 0.005108578596264124, 0.055098045617341995, 0.012327914126217365, 0.042942993342876434, 0.00005682753544533625, 0.008534010499715805, -0.01805061474442482, 0.016003543511033058, 0.015302990563213825, 0.08872459083795547, -0.0696185976266861, 0.0419967919588089, -0.0004526300763245672, 0.09207268804311752, -0.024892378598451614, 0.029186679050326347, -0.02381880395114422, 0.06550626456737518, -0.07081954926252365, -0.01956089772284031, -0.01105418149381876, 0.01890583522617817, -0.037775278091430664, 0.01039911899715662, -0.008643187582492828, 0.019251562654972076, -0.002356405835598707, -0.006550626363605261, -0.022472286596894264, 0.10903153568506241, 0.005495247431099415, -0.042942993342876434, -0.041632868349552155, -0.036647114902734756, -0.0013613019837066531, -0.04570881277322769, -0.007747025229036808, -0.022472286596894264, 0.023927981033921242, -0.04159647598862648, -0.043925587087869644, -0.023837000131607056, 0.014657026156783104, 0.01052649226039648, 0.005372423212975264, 0.0218536164611578, 0.013428783975541592, 0.013164939358830452, 0.06219455599784851, 0.07671511173248291, 0.024564847350120544, -0.025492854416370392, 0.038284771144390106, -0.020816434174776077, 0.01732276752591133, 0.003238920820876956, 0.020525295287370682, -0.01222783513367176, -0.01079033687710762, -0.00819283165037632, -0.04210596904158592, 0.04126894474029541, -0.03610122948884964, -0.00805636029690504, -0.05335121229290962, 0.06052050739526749, -0.012073167599737644, -0.03883065655827522, 0.012600857764482498, 0.01337419543415308, -0.01343788206577301, -0.05393349006772041, 0.06048411503434181, 0.016958843916654587, -0.07693346589803696, 0.05906481295824051, -0.008101850748062134, -0.0485474169254303, 0.03766610100865364, -0.018314458429813385, -0.07296669483184814, -0.05043982341885567, 0.07282112538814545, -0.00487202825024724, -0.02498336136341095, 0.004899322520941496, -0.03380851075053215, -0.002173306653276086, 0.051822733134031296, -0.0018571480177342892, -0.008838796056807041, 0.0026543682906776667, -0.025783993303775787, -0.0046400269493460655, -0.03952211141586304, -0.009580290876328945, -0.03380851075053215, 0.013583451509475708, 0.07347618788480759, -0.029459621757268906, -0.028076712042093277, 0.01988842897117138, -0.011463595554232597, -0.0007665142184123397, 0.007260277401655912, -0.0036688055843114853, 0.025128930807113647, 0.04021356627345085, 0.0008392989984713495, -0.015084636397659779, 0.001762755331583321, -0.015839777886867523, 0.032480187714099884, -0.06401417404413223, -0.06827208399772644, 0.03952211141586304, 0.002331386087462306, 0.009498408064246178, 0.006141211837530136, -0.026966745033860207, -0.04035913571715355, 0.039740465581417084, -0.01259175967425108, -0.019178777933120728, -0.07518663257360458, -0.05815500393509865, 0.04439868777990341, -0.02654823288321495, 0.026329878717660904, -0.025420069694519043, 0.028931932523846626, 0.02427370846271515, -0.1000790148973465, -0.039594896137714386, 0.014666124247014523, 0.017331864684820175, 0.07969928532838821, -0.03484569117426872, -0.034572750329971313, -0.007888046093285084, 0.00519955949857831, -0.09753154218196869, 0.04479900375008583, 0.030260253697633743, -0.023837000131607056, -0.0305331964045763, 0.01318313553929329, -0.03912179544568062, -0.018469126895070076, 0.012573563493788242, -0.019797448068857193, 0.05102210119366646, 0.011090573854744434, 0.02314554527401924, -0.029350444674491882, 0.02962338738143444, 0.030951708555221558, 0.015457658097147942, -0.040249958634376526, 0.07176575064659119, 0.07238441705703735, -0.02118035778403282, -0.020434314385056496, -0.009671271778643131, -0.01903320848941803, -0.02602054364979267, 0.006859961431473494, 0.026439055800437927, 0.010153470560908318, 0.0016149113653227687, 0.015766993165016174, -0.029022913426160812, 0.037775278091430664, -0.014274906367063522, 0.011763832531869411, 0.04789235442876816, 0.03513683006167412, 0.008138243108987808, 0.020379725843667984, 0.005495247431099415, 0.027239687740802765, -0.007464984431862831, -0.006091172341257334, 0.0449809655547142, 0.02491057477891445, 0.01111786812543869, 0.038612302392721176, -0.045563243329524994, -0.020943807438015938, -0.00857040286064148, -0.015030047856271267, 0.0010673198848962784, -0.013064860366284847, -0.021216750144958496, 0.0209256112575531, -0.03464553505182266, -0.010308138094842434, -0.004589987453073263, 0.02909569814801216, 0.01812339946627617, 0.011982186697423458, -0.0013704000739380717, 0.04403476417064667, 0.045417673885822296, 0.03879426419734955, -0.00218013022094965, -0.04912969470024109, -0.019542701542377472, 0.03422702103853226, 0.03206167742609978, 0.027239687740802765, 0.01923336647450924, 0.06022936850786209, 0.01527569629251957, -0.01877846196293831, -0.0037120215129107237, 0.04308856278657913, 0.019724663347005844, -0.007651495281606913, 0.0015432637883350253, -0.05942873656749725, 0.0353005975484848, 0.05080374702811241, 0.012819211930036545, 0.04181483015418053, 0.009280053898692131, 0.015821581706404686, -0.027967534959316254, -0.009284602478146553, 0.01772308349609375, -0.023855196312069893, 0.002736251102760434, 0.07198410481214523, -0.04960279539227486, -0.03635597601532936, 0.0024837790988385677, -0.018924031406641006, 0.05342399701476097, 0.017577514052391052, -0.027876554057002068, 0.036665309220552444, 0.007883496582508087, 0.015739699825644493, 0.011600066907703876, -0.01481169369071722, -0.056007854640483856, 0.04538128152489662, 0.02150788903236389, -0.013974669389426708, 0.0013613019837066531, -0.03788445517420769, 0.06707113236188889, 0.02498336136341095, -0.02296358346939087, 0.02112576924264431, -0.03773888573050499, 0.0028568007983267307, -0.012173246592283249, -0.019724663347005844, 0.01454784907400608, -0.03853951767086983, -0.04814710095524788, 0.027439845725893974, 0.06739866733551025, -0.04348887875676155, -0.058300573378801346, -0.033462781459093094, 0.009571192786097527, -0.03466372936964035, -0.05815500393509865, -0.011208849027752876, 0.057136017829179764, 0.01317403744906187, 0.015302990563213825, -0.016039935871958733, 0.011618263088166714, -0.008019967935979366, 0.021271338686347008, -0.011236143298447132, -0.017859553918242455, 0.045890774577856064, -0.03415423631668091, 0.06212177127599716, 0.00039974742685444653, -0.003855316434055567, -0.0176502987742424, 0.04723729193210602, -0.054515767842531204, 0.005950151942670345, -0.02682117559015751, 0.04243350028991699, -0.003420882625505328, 0.03688366338610649, 0.018814854323863983, 0.022927191108465195, 0.028531616553664207, -0.04297938570380211, -0.039667680859565735, -0.02132592722773552, 0.016649508848786354, -0.02616611309349537, -0.0016217349329963326, 0.03944932669401169, -0.026402663439512253, -0.07809802144765854, 0.007442239206284285, -0.03662891685962677, -0.060666076838970184, 0.03981325030326843, -0.08894294500350952, 0.014802595600485802, -0.07227524369955063, 0.061830632388591766, -0.023691430687904358, 0.0002965409366879612, -0.06252209097146988, -0.05971987545490265, 0.010180764831602573, -0.007451337296515703, 0.005108578596264124, -0.007114707957953215, -0.00902530737221241, 0.04461704194545746, 0.05236861854791641, 0.03657433018088341, 0.02916848286986351, -0.027367061004042625, -0.008311106823384762, 0.02987813390791416, 0.02876816689968109, -0.04494457319378853, -0.01563052274286747, -0.03297148644924164, -0.023837000131607056, -0.01956089772284031, -0.015084636397659779, -0.06201259419322014, -0.0005839837831445038, 0.05080374702811241, -0.024437474086880684, -0.020252352580428123, -0.041887614876031876, -0.022053774446249008, -0.02864079363644123, -0.05757272616028786, 0.055498361587524414, -0.03923097252845764, -0.015612325631082058, -0.043925587087869644, -0.010899513959884644, -0.014011061750352383, 0.016403859481215477, 0.056990448385477066, -0.02472861297428608, 0.05160437896847725, 0.01694064773619175, -0.008529460988938808, 0.04792874678969383, -0.0548069067299366, -0.02118035778403282, -0.03460914269089699, 0.04716450721025467, -0.0011998108820989728, -0.0368654690682888, -0.030715158209204674, -0.0023746020160615444, 0.009325544349849224, 0.005536188837140799, 0.018214380368590355, 0.039340149611234665, 0.05396988242864609, 0.03300787881016731, -0.07860751450061798, -0.0015478128334507346, 0.014174827374517918, 0.022344913333654404, 0.021890008822083473, -0.025674816220998764, 0.02041611820459366, -0.032989680767059326, 0.03335360437631607, -0.01568511128425598, -0.03944932669401169, 0.04552685096859932, 0.04316134750843048, -0.02152608521282673, 0.01311035081744194, -0.03995881974697113, 0.030569588765501976, -0.023764215409755707, -0.02460123971104622, 0.00904805213212967, -0.01671319454908371, 0.01229152176529169, 0.0404319204390049, 0.009689467959105968, -0.03324442729353905, -0.01664040982723236, 0.03433619812130928, -0.03100629709661007, 0.030296646058559418, 0.037447746843099594, 0.007483180612325668, -0.0080427136272192, -0.008406637236475945, -0.015048244036734104, -0.03428161144256592, 0.032862309366464615, 0.0323164239525795, -0.05174994841217995, 0.05891924351453781, 0.013738119043409824, -0.05236861854791641, 0.01565781608223915, -0.028404243290424347, 0.008224675431847572, 0.008443029597401619, -0.018942227587103844, -0.0019276582170277834, 0.023236526176333427, 0.05677209421992302, 0.07147461175918579, 0.0013305959291756153, -0.0015114204725250602, -0.0034254316706210375, -0.057390764355659485, -0.027348864823579788, 0.010380922816693783, 0.005113127641379833, -0.11507266759872437, 0.012509876862168312, 0.01429310254752636, 0.032534778118133545, -0.00018992266268469393, -0.02536548115313053, -0.009061699733138084, 0.026711998507380486 ]
40,994
pyglove.core.typing.class_schema
KeySpec
Interface for key specifications. A key specification determines what keys are acceptable for a symbolic field (see :class:`pyglove.Field`). Usually, symbolic attributes have an 1:1 relationship with symbolic fields. But in some cases (e.g. a dict with dynamic keys), a field can be used to describe a group of symbolic attributes:: # A dictionary that accepts key 'x' with float value # or keys started with 'foo' with int values. d = pg.Dict(value_spec=pg.Dict([ ('x', pg.typing.Float(min_value=0.0)), (pg.typing.StrKey('foo.*'), pg.typing.Int()) ])) You may noticed that the code above pass a string 'x' for the key spec for a field definition. The string is automatically converted to :class:`pyglove.typing.ConstStrKey`. PyGlove's Builtin key specifications are: +---------------------------+----------------------------------------------+ | ``KeySpec`` type | Class | +===========================+==============================================+ | Fixed string identifier | :class:`pyglove.typing.ConstStrKey` | +---------------------------+----------------------------------------------+ | Dynamic string identifier | :class:`pyglove.typing.StrKey` | +---------------------------+----------------------------------------------+ | Key of a list | :class:`pyglove.typing.ListKey` | +---------------------------+----------------------------------------------+ | Key of a tuple | :class:`pyglove.typing.TupleKey` | +---------------------------+----------------------------------------------+ In most scenarios, the user either use a string or a ``StrKey`` as the key spec, while other ``KeySpec`` subclasses (e.g. ``ListKey`` and ``TupleKey``) are used internally to constrain list size and tuple items.
class KeySpec(object_utils.Formattable, object_utils.JSONConvertible): """Interface for key specifications. A key specification determines what keys are acceptable for a symbolic field (see :class:`pyglove.Field`). Usually, symbolic attributes have an 1:1 relationship with symbolic fields. But in some cases (e.g. a dict with dynamic keys), a field can be used to describe a group of symbolic attributes:: # A dictionary that accepts key 'x' with float value # or keys started with 'foo' with int values. d = pg.Dict(value_spec=pg.Dict([ ('x', pg.typing.Float(min_value=0.0)), (pg.typing.StrKey('foo.*'), pg.typing.Int()) ])) You may noticed that the code above pass a string 'x' for the key spec for a field definition. The string is automatically converted to :class:`pyglove.typing.ConstStrKey`. PyGlove's Builtin key specifications are: +---------------------------+----------------------------------------------+ | ``KeySpec`` type | Class | +===========================+==============================================+ | Fixed string identifier | :class:`pyglove.typing.ConstStrKey` | +---------------------------+----------------------------------------------+ | Dynamic string identifier | :class:`pyglove.typing.StrKey` | +---------------------------+----------------------------------------------+ | Key of a list | :class:`pyglove.typing.ListKey` | +---------------------------+----------------------------------------------+ | Key of a tuple | :class:`pyglove.typing.TupleKey` | +---------------------------+----------------------------------------------+ In most scenarios, the user either use a string or a ``StrKey`` as the key spec, while other ``KeySpec`` subclasses (e.g. ``ListKey`` and ``TupleKey``) are used internally to constrain list size and tuple items. """ @property @abc.abstractmethod def is_const(self) -> bool: """Returns whether current key is const.""" @abc.abstractmethod def match(self, key: Any) -> bool: """Returns whether current key specification can match a key.""" @abc.abstractmethod def extend(self, base: 'KeySpec') -> 'KeySpec': """Extend base key specification and returns self. NOTE(daiyip): When a ``Field`` extends a base Field (from a base schema), it calls ``extend`` on both its ``KeySpec`` and ``ValueSpec``. ``KeySpec.extend`` is to determine whether the ``Field`` key is allowed to be extended, and ``ValueSpec.extend`` is to determine the final ``ValueSpec`` after extension. Args: base: A base ``KeySpec`` object. Returns: An ``KeySpec`` object derived from this key spec by extending the base. """ @classmethod def from_str(cls, key: str) -> 'KeySpec': """Get a concrete ValueSpec from annotation.""" del key assert False, 'Overridden in `key_specs.py`.'
()
[ 0.04330440238118172, -0.07839524000883102, -0.08121021836996078, 0.06092694401741028, 0.023811638355255127, -0.03082980588078499, 0.009678900241851807, -0.02332962118089199, 0.018538372591137886, -0.030347788706421852, 0.0037693725898861885, 0.014990727417171001, 0.03956395387649536, 0.03607415035367012, -0.013862808234989643, -0.039872441440820694, 0.014932885766029358, 0.024968478828668594, 0.004735816735774279, -0.04507822543382645, 0.00814608670771122, 0.014489430002868176, 0.03798293694853783, 0.012011862359941006, 0.003644048236310482, 0.05768778920173645, 0.034859467297792435, 0.014537631534039974, -0.00007105984695954248, -0.05865182355046272, -0.022365586832165718, -0.041222091764211655, 0.04773896187543869, 0.040913600474596024, -0.03431960940361023, -0.09601777791976929, -0.015414902940392494, 0.02828475460410118, -0.06370336562395096, 0.012840932235121727, 0.01875046081840992, 0.05915312096476555, -0.010257321409881115, -0.0936269760131836, 0.023676672950387, 0.043651457875967026, -0.0051286607049405575, 0.036980342119932175, -0.02762921154499054, 0.00918242335319519, -0.0014038743684068322, -0.07326658070087433, -0.008541340939700603, -0.019955502822995186, -0.04978271201252937, 0.0017280308529734612, 0.021787166595458984, 0.028747491538524628, -0.023503147065639496, 0.018895065411925316, -0.048240259289741516, 0.027494248002767563, -0.013920649886131287, -0.014402667060494423, -0.033818311989307404, -0.041916195303201675, -0.04554096236824989, -0.021073780953884125, 0.0013701332500204444, -0.0010122356470674276, -0.015164253301918507, -0.0475461520254612, 0.0005904707941226661, 0.03281571343541145, -0.004998515825718641, -0.028573965653777122, -0.07018166780471802, 0.01810455694794655, 0.06401184946298599, -0.04210900142788887, 0.035206519067287445, -0.03408823907375336, -0.061042629182338715, -0.06833072751760483, 0.0118865380063653, 0.012908414006233215, -0.015241376124322414, -0.0025980714708566666, 0.07851092517375946, -0.003566925646737218, -0.05201927199959755, 0.023156095296144485, -0.012908414006233215, 0.050129763782024384, 0.003926028031855822, -0.023850198835134506, 0.002995735500007868, -0.05633814260363579, 0.010999627411365509, 0.019916940480470657, 0.03397255390882492, -0.0040127914398908615, 0.008989616297185421, 0.035900622606277466, -0.033047083765268326, -0.0453481562435627, -0.04361289367079735, -0.006145716179162264, -0.03431960940361023, -0.015733033418655396, -0.03493658825755119, -0.012975896708667278, -0.027744896709918976, 0.012821651063859463, -0.005996291060000658, 0.0388505682349205, 0.03574637696146965, -0.02473711036145687, 0.050476815551519394, -0.019974783062934875, 0.007495363708585501, 0.02683870494365692, -0.04781608283519745, 0.036633290350437164, 0.03586206212639809, -0.005056357942521572, 0.01504856999963522, 0.021748606115579605, -0.014132737182080746, 0.010768258944153786, 0.030540594831109047, 0.08791989088058472, -0.03607415035367012, 0.04592657461762428, 0.07851092517375946, 0.013342229649424553, 0.020823132246732712, 0.01942528411746025, 0.013265106827020645, 0.08067035675048828, 0.02942231483757496, -0.00016509080887772143, 0.04415275529026985, -0.03607415035367012, -0.06019427999854088, -0.030347788706421852, 0.009592137299478054, -0.06119687482714653, -0.01593548059463501, 0.02334890142083168, -0.02091953530907631, 0.0460808202624321, 0.04422987625002861, 0.011578047648072243, 0.03871560096740723, -0.0047743781469762325, -0.04118352755904198, -0.05703224614262581, 0.030521314591169357, -0.013245826587080956, 0.006396364886313677, -0.041530583053827286, 0.01095142588019371, -0.025990353897213936, -0.013400071300566196, 0.03613199293613434, -0.02334890142083168, -0.050399694591760635, 0.011394880712032318, -0.006126435473561287, 0.009625879116356373, 0.010218759998679161, -0.024004444479942322, -0.007876156829297543, 0.03854207694530487, 0.035572852939367294, -0.019242117181420326, 0.025624021887779236, -0.0050611780025064945, -0.020977377891540527, 0.0912361741065979, -0.007852056063711643, -0.037018902599811554, 0.025411933660507202, 0.03726955130696297, 0.04530959576368332, -0.016542822122573853, 0.03779013082385063, 0.009298107586801052, 0.006184277590364218, -0.02653021365404129, -0.016735628247261047, 0.0076929908245801926, 0.03397255390882492, -0.037481639534235, -0.0015870408387854695, 0.02649165317416191, -0.009592137299478054, -0.03607415035367012, 0.09601777791976929, -0.04669780284166336, -0.0029137926176190376, -0.024563584476709366, 0.014354465529322624, -0.0005229883827269077, -0.005678159650415182, 0.05136372894048691, -0.04704485461115837, -0.011182793416082859, -0.07793249934911728, -0.04530959576368332, -0.047276224941015244, -0.015636630356311798, -0.007456802297383547, 0.04268742352724075, -0.09648051857948303, 0.027552088722586632, 0.004959954414516687, -0.03250722587108612, -0.008155726827681065, 0.11321614682674408, 0.03669113293290138, 0.04045086354017258, -0.021767886355519295, 0.04642787575721741, -0.022519832476973534, 0.013428992591798306, 0.02365739271044731, -0.036614008247852325, -0.027031511068344116, 0.013486834242939949, -0.004465887323021889, 0.024351496249437332, 0.01466295588761568, -0.02863180823624134, -0.009866887703537941, 0.03138894587755203, -0.020958097651600838, 0.028072668239474297, -0.002643862972036004, 0.014055614359676838, 0.052597690373659134, -0.03370262682437897, -0.007133851293474436, -0.043034475296735764, -0.05097811296582222, 0.01311086118221283, 0.038734883069992065, 0.03572709858417511, 0.02084241434931755, -0.003253614529967308, -0.0431501604616642, 0.012329993769526482, 0.02090025506913662, -0.018634775653481483, 0.014267702586948872, -0.07997625321149826, -0.025604741647839546, 0.04989839717745781, -0.01327474694699049, -0.04045086354017258, 0.04102928563952446, -0.07920502871274948, 0.03298924118280411, 0.04099072143435478, -0.023811638355255127, 0.067829430103302, 0.04118352755904198, 0.006116795353591442, 0.020668886601924896, -0.010479048825800419, 0.007254355121403933, -0.022404149174690247, -0.014364105649292469, -0.005972190294414759, 0.020360397174954414, 0.01078754011541605, 0.01632109470665455, 0.06852353364229202, -0.0009706616401672363, -0.00556729594245553, -0.028458282351493835, 0.001489432412199676, 0.0038754164706915617, 0.03931330516934395, 0.030154980719089508, -0.04075935482978821, -0.028863176703453064, -0.014508710242807865, -0.02654949389398098, 0.02759065106511116, -0.001122497022151947, 0.026992950588464737, 0.020630326122045517, 0.018162399530410767, 0.014817201532423496, -0.02159436047077179, -0.06705819815397263, 0.02793770283460617, -0.049397099763154984, 0.061736732721328735, 0.06254652142524719, 0.030367068946361542, 0.011693731881678104, -0.02618316188454628, -0.02410084754228592, 0.02408156730234623, -0.017082681879401207, -0.03397255390882492, 0.03333629295229912, -0.060695577412843704, 0.06705819815397263, -0.04361289367079735, 0.03358694165945053, 0.024216532707214355, 0.010585092939436436, -0.0047454568557441235, 0.02901742048561573, 0.021864289417862892, 0.06493732333183289, -0.0007712271180935204, 0.0268772654235363, -0.06620985269546509, 0.009196883998811245, 0.008763068355619907, -0.03563069552183151, 0.05730217695236206, -0.0020401368383318186, -0.0009140246547758579, 0.002258249558508396, -0.003154800971969962, 0.0029065622948110104, 0.035553570836782455, 0.016870593652129173, -0.07419205456972122, 0.0012460137950256467, 0.054949935525655746, -0.014730438590049744, -0.03503299131989479, -0.04342008754611015, 0.02728215977549553, -0.06266220659017563, 0.0035380045883357525, -0.019396362826228142, -0.05703224614262581, -0.06736668944358826, 0.03719243034720421, -0.05263625085353851, 0.05950017273426056, 0.002050982089713216, 0.027436405420303345, -0.04056654870510101, 0.038368549197912216, 0.003253614529967308, 0.053947336971759796, -0.04276454448699951, -0.033471256494522095, -0.05417870730161667, -0.04110640659928322, -0.001761771971359849, 0.1237819567322731, -0.03431960940361023, -0.013515755534172058, -0.008512419648468494, -0.051132358610630035, -0.0015219685155898333, 0.01807563565671444, -0.04453836753964424, 0.04203188046813011, 0.012185389176011086, 0.0007097699563018978, -0.03325917199254036, -0.04484685882925987, -0.016147568821907043, -0.01704411953687668, -0.010276601649820805, -0.0007182052941061556, 0.06817647814750671, -0.09100480377674103, 0.0039453087374567986, 0.01947348564863205, 0.021864289417862892, 0.01059473305940628, 0.07465478777885437, -0.029460877180099487, 0.01555950753390789, 0.05884462967514992, -0.018923986703157425, 0.036980342119932175, 0.020321834832429886, 0.027012230828404427, -0.02695438824594021, 0.02976936846971512, 0.025585459545254707, -0.030367068946361542, -0.05950017273426056, -0.009592137299478054, -0.033799029886722565, 0.027359282597899437, 0.012002222239971161, 0.05371597036719322, -0.04642787575721741, 0.03998812660574913, 0.013949571177363396, 0.03115757741034031, 0.008377455174922943, 0.0720326155424118, -0.012619203887879848, -0.04523247107863426, 0.05803484097123146, 0.005408230237662792, 0.00814126618206501, -0.04731478542089462, -0.025296250358223915, 0.03584278002381325, -0.051170919090509415, -0.008979976177215576, -0.024929916486144066, -0.014026693999767303, 0.06054133176803589, -0.0014846122357994318, -0.012648125179111958, 0.01657174341380596, 0.04357433319091797, 0.002011215779930353, 0.03216017037630081, -0.013428992591798306, 0.01129847764968872, 0.014653315767645836, 0.016706708818674088, -0.019213195890188217, 0.037713006138801575, -0.029923612251877785, -0.019936220720410347, -0.04384426400065422, -0.03935186564922333, 0.005480533000081778, -0.026703739538788795, 0.014373745769262314, -0.01007415447384119, -0.018634775653481483, -0.003873006207868457, 0.017256207764148712, 0.04180051013827324, 0.036671850830316544, -0.02369595319032669, -0.011799775063991547, 0.07604299485683441, 0.059962909668684006, 0.009828326292335987, 0.05903743952512741, 0.0030680380295962095, 0.060657013207674026, -0.012725248001515865, -0.03229513764381409, -0.029885051771998405, 0.05132516473531723, -0.011549126356840134, -0.008623283356428146, -0.020784571766853333, 0.04507822543382645, 0.03883128613233566, -0.013670001178979874, 0.0015617349417880177, -0.02546977624297142, 0.02867036871612072, 0.01809491589665413, 0.01219502929598093, -0.009852427057921886, 0.023599550127983093, -0.011500924825668335, 0.043728578835725784, 0.010392285883426666, 0.030174262821674347, -0.008820910006761551, 0.03187096118927002, 0.049744151532649994, 0.019618090242147446, -0.09779160469770432, -0.05552835389971733, 0.03314348682761192, -0.057803474366664886, -0.016109006479382515, -0.005239524412900209, 0.06412753462791443, 0.0016015013679862022, -0.017082681879401207, 0.03144678846001625, -0.058921754360198975, 0.015443823300302029, -0.07006598263978958, 0.043381527066230774, 0.01806599646806717, 0.03302780166268349, 0.05703224614262581, -0.004882832057774067, 0.027340002357959747, -0.009327027946710587, -0.028169071301817894, -0.012725248001515865, 0.008536520414054394, -0.005210603587329388, -0.015790876001119614, 0.01980125717818737, 0.053214672952890396, -0.046890608966350555, -0.008922133594751358, -0.0058709667064249516, -0.004367073532193899, -0.036961060017347336, -0.01810455694794655, -0.0068832021206617355, 0.059654418379068375, -0.005774563178420067, 0.012455318123102188, -0.012464958243072033, -0.01381460577249527, -0.013101221062242985, -0.012792729772627354, -0.008526880294084549, -0.03140822425484657, -0.0034753424115478992, 0.016378937289118767, -0.011847976595163345, 0.033818311989307404, 0.013583238236606121, -0.019762694835662842, -0.04079791530966759, 0.023503147065639496, 0.0326421894133091, 0.0029137926176190376, 0.037481639534235, 0.04982127249240875, 0.06821504235267639, -0.03994956612586975, 0.06547718495130539, -0.025392653420567513, 0.048664432018995285, -0.011761213652789593, 0.021767886355519295, 0.06316350400447845, 0.06408897787332535, 0.026086758822202682, -0.004834630060940981, 0.04889580234885216, 0.054641444236040115, 0.02049536071717739, -0.016022244468331337, -0.037308111786842346, -0.04045086354017258, -0.025932513177394867, 0.026819424703717232, 0.01625361293554306, -0.021343711763620377, -0.03867704048752785, -0.04415275529026985, 0.026819424703717232, -0.016398217529058456, -0.0043550231494009495, 0.03534148260951042, -0.005085278768092394, 0.005258805118501186, 0.024351496249437332, -0.004796068649739027, 0.0011941969860345125, 0.023946601897478104, 0.002641452942043543, 0.036980342119932175, 0.005586576648056507, 0.007847236469388008, -0.029865771532058716, 0.004593621473759413, 0.03279643505811691, 0.014074895530939102, -0.04056654870510101, 0.016147568821907043, -0.06478308141231537, 0.03827214613556862, -0.0702202320098877, -0.09247013181447983, -0.02683870494365692, 0.0367489717900753, 0.03971819952130318, -0.015530586242675781, -0.005875786766409874, 0.011047828942537308, 0.018316645175218582, 0.018682977184653282, -0.04322728142142296, 0.025546899065375328, -0.030347788706421852, -0.011211714707314968, 0.006878382060676813, -0.014074895530939102, -0.01632109470665455, -0.000656748132314533, -0.020726729184389114, 0.01273488812148571, 0.017526136711239815, -0.047584716230630875, -0.011713012121617794, 0.006044492591172457, 0.03011642023921013, 0.041222091764211655, 0.05591396614909172, 0.02828475460410118, 0.03478234261274338, 0.02155579812824726, 0.02762921154499054, -0.07068296521902084, -0.016137927770614624, 0.012879493646323681, -0.021073780953884125, -0.0265109334141016, 0.011047828942537308, -0.01077789906412363, 0.012985536828637123, 0.009919908829033375, 0.036961060017347336, -0.04180051013827324, -0.013660361059010029, 0.030984049662947655, -0.00760622788220644, 0.01113459188491106, -0.04118352755904198, -0.0013725432800129056, -0.024949198588728905, -0.006078233942389488, 0.0118865380063653, -0.09671188145875931, 0.01944456435739994, 0.019743414595723152, -0.009857246652245522, -0.0006013161619193852, 0.041916195303201675, -0.04785464331507683, 0.009327027946710587, -0.03399183601140976, -0.0021943822503089905, 0.10319019109010696, -0.05336891859769821, -0.036575447767972946, -0.056453827768564224, 0.07596587389707565, -0.06759805977344513, 0.023965884000062943, -0.009216164238750935, -0.0714927539229393, 0.04056654870510101, -0.017487576231360435, -0.006083054002374411, 0.06154392659664154, -0.03115757741034031, -0.0863003209233284, -0.01095142588019371, 0.02088097482919693, 0.012821651063859463, -0.053214672952890396, -0.03744307905435562, 0.0030463472940027714, 0.030714120715856552, -0.00115021294914186, 0.006593992002308369, -0.0023980343248695135, -0.04272598400712013, -0.02693510800600052, 0.0019377082353457808, -0.04415275529026985, 0.07897365838289261, 0.03443529084324837, 0.026260284706950188, -0.07160843908786774, -0.018682977184653282, -0.020090466365218163, -0.06196809932589531, -0.011761213652789593, 0.05737929791212082, 0.04395994544029236, 0.028901737183332443, -0.023213937878608704, 0.036305516958236694, -0.03042491152882576, -0.02795698307454586, 0.002581200795248151, -0.013747124001383781, -0.03314348682761192, 0.026453090831637383, 0.009866887703537941, -0.013284387066960335, -0.0842951238155365, 0.04384426400065422, -0.035206519067287445, -0.01028624176979065, -0.03374118730425835, -0.05244344472885132, -0.06898626685142517, 0.004545419942587614, 0.005576936062425375, 0.011539486236870289, -0.006015571765601635, -0.04538671672344208, 0.0011261121835559607, -0.002757136942818761, 0.0054998137056827545, -0.005143120884895325, 0.027783457189798355, -0.003072858089581132, -0.01731404848396778, 0.047931768000125885, -0.05919168144464493, 0.020341115072369576, 0.05367740988731384, -0.004388764500617981, -0.10658358782529831, 0.057533543556928635, -0.008271411061286926, 0.01634037494659424, 0.01433518435806036, 0.034840185195207596, 0.02720503695309162, 0.021015940234065056, -0.010816460475325584, 0.04746903106570244, 0.003268074942752719, -0.03048275224864483, -0.031350381672382355, -0.02683870494365692, -0.003974230028688908, -0.02190285176038742, 0.01382424682378769, 0.06443602591753006, 0.03615127131342888, -0.07156988233327866, -0.011915459297597408, 0.025392653420567513, -0.04257173836231232, -0.04538671672344208, -0.07264959812164307, 0.04280310496687889, 0.05803484097123146, -0.058613263070583344, 0.05637670308351517, -0.053985901176929474, -0.01772858388721943, -0.014903964474797249, 0.02799554541707039, 0.03956395387649536, 0.05602965131402016, 0.013014458119869232, -0.02897886000573635, -0.002704115118831396, 0.03935186564922333, -0.04295735061168671, -0.04912716895341873, 0.02587467059493065, -0.0215750802308321, -0.030154980719089508, 0.026992950588464737, -0.00460567232221365, -0.00008164162136381492, -0.046543557196855545, -0.04002668708562851, 0.013843527063727379, 0.005123840179294348, -0.043767139315605164, -0.004371894057840109, -0.006073413882404566, 0.03298924118280411 ]
40,999
pyglove.core.typing.class_schema
extend
Extend base key specification and returns self. NOTE(daiyip): When a ``Field`` extends a base Field (from a base schema), it calls ``extend`` on both its ``KeySpec`` and ``ValueSpec``. ``KeySpec.extend`` is to determine whether the ``Field`` key is allowed to be extended, and ``ValueSpec.extend`` is to determine the final ``ValueSpec`` after extension. Args: base: A base ``KeySpec`` object. Returns: An ``KeySpec`` object derived from this key spec by extending the base.
@abc.abstractmethod def extend(self, base: 'KeySpec') -> 'KeySpec': """Extend base key specification and returns self. NOTE(daiyip): When a ``Field`` extends a base Field (from a base schema), it calls ``extend`` on both its ``KeySpec`` and ``ValueSpec``. ``KeySpec.extend`` is to determine whether the ``Field`` key is allowed to be extended, and ``ValueSpec.extend`` is to determine the final ``ValueSpec`` after extension. Args: base: A base ``KeySpec`` object. Returns: An ``KeySpec`` object derived from this key spec by extending the base. """
(self, base: pyglove.core.typing.class_schema.KeySpec) -> pyglove.core.typing.class_schema.KeySpec
[ 0.014054857194423676, -0.06431615352630615, -0.04498962685465813, 0.11328373849391937, 0.007938310503959656, -0.020752256736159325, 0.012329903431236744, -0.05386082082986832, -0.007559876423329115, -0.03671688586473465, 0.02823292650282383, -0.029764262959361076, 0.05477610230445862, 0.06079583987593651, -0.020417826250195503, -0.023885337635874748, 0.020681850612163544, 0.04650336131453514, -0.0035599186085164547, -0.04537685960531235, 0.017733586952090263, 0.007938310503959656, 0.02170274220407009, 0.01703832484781742, -0.004362990614026785, 0.11687445640563965, 0.0019911781419068575, 0.008004316128790379, 0.048404332250356674, -0.03787858784198761, -0.059211697429418564, -0.02330448478460312, 0.06787167489528656, 0.03398863971233368, -0.003625924466177821, -0.10722879320383072, -0.037209730595350266, 0.04594011232256889, -0.08237536996603012, 0.052875131368637085, 0.0428774356842041, -0.00543888658285141, -0.005689708981662989, -0.08455796539783478, 0.07385621219873428, 0.04650336131453514, 0.04720742255449295, 0.031770844012498856, 0.03360140696167946, 0.02745845727622509, 0.004156171809881926, -0.03140120953321457, 0.0035115142818540335, -0.04921400547027588, -0.05252309888601303, 0.003744735149666667, -0.025856712833046913, -0.007040630094707012, -0.04266621917486191, 0.046784985810518265, -0.025539886206388474, -0.004083565436303616, -0.01892169378697872, 0.0003047272621188313, -0.03057393617928028, -0.032017264515161514, -0.09434444457292557, -0.0458345003426075, -0.007502671331167221, 0.004466399550437927, -0.001363022020086646, -0.0351855494081974, -0.026120737195014954, 0.02772247977554798, -0.022318797186017036, 0.043229468166828156, -0.02564549446105957, -0.04210296645760536, 0.04928440973162651, -0.06868134438991547, 0.0361536368727684, -0.0088359909132123, -0.05382561683654785, -0.014107662253081799, 0.05150220915675163, 0.028866583481431007, -0.04551767185330391, -0.016756698489189148, 0.07406742870807648, -0.017539968714118004, 0.016140643507242203, 0.023480501025915146, 0.00451920460909605, 0.05019969120621681, 0.05090375617146492, -0.06790687888860703, -0.0291306059807539, -0.00592733034864068, -0.0143100805580616, -0.00003523752820910886, -0.019766569137573242, -0.009091213345527649, -0.019537748768925667, 0.0032100873067975044, 0.0014895332278683782, -0.019326528534293175, -0.021421117708086967, -0.012057079002261162, -0.022706031799316406, -0.00916161946952343, -0.015181358903646469, -0.002193596214056015, -0.042243778705596924, 0.040307607501745224, -0.045165643095970154, 0.06195754557847977, 0.053403180092573166, 0.02298765629529953, 0.05523374304175377, -0.03011629544198513, -0.001337719731964171, 0.04815790802240372, -0.02571590058505535, -0.016202250495553017, 0.06885736435651779, -0.0333021804690361, 0.02837373875081539, 0.018041614443063736, 0.002113289199769497, -0.04696100205183029, -0.001055544475093484, 0.033126164227724075, -0.037667371332645416, -0.011916265822947025, 0.05030530318617821, -0.04629214107990265, 0.06769565492868423, 0.017636777833104134, -0.049178801476955414, 0.011511430144309998, -0.002216698369011283, -0.0026248348876833916, 0.07406742870807648, 0.007625882513821125, -0.07744693011045456, -0.03777297958731651, -0.008435554802417755, -0.05586740002036095, -0.0097512723878026, 0.03530875965952873, -0.037913791835308075, 0.03689290210604668, -0.006292562931776047, -0.025997526943683624, 0.01839364506304264, 0.013430002145469189, -0.014626909047365189, -0.025416674092411995, 0.0138260368257761, -0.0176719818264246, 0.01246191468089819, -0.0019911781419068575, -0.016431070864200592, -0.019977787509560585, -0.014098861254751682, 0.030485928058624268, -0.05783877521753311, -0.046855393797159195, 0.029693856835365295, -0.02274123579263687, 0.0219491645693779, -0.011590637266635895, 0.04696100205183029, -0.00876118429005146, 0.005276072304695845, 0.026120737195014954, -0.016712695360183716, -0.008998805657029152, -0.05375520884990692, 0.0305035300552845, 0.07044150680303574, -0.009953690692782402, -0.006794207729399204, -0.0005995536339469254, 0.019414536654949188, -0.01062255073338747, 0.003460909705609083, 0.05752194672822952, 0.022389203310012817, 0.014169268310070038, 0.00781949982047081, -0.04699620604515076, -0.027564067393541336, 0.006653395481407642, -0.035379163920879364, -0.011036187410354614, 0.025434276089072227, 0.028285730630159378, -0.01375563070178032, 0.11011545360088348, -0.06769565492868423, -0.014802924357354641, -0.01016490999609232, 0.0046204132959246635, 0.03858265280723572, -0.00038283425965346396, 0.04101166874170303, -0.07582758367061615, -0.03833622857928276, -0.026507971808314323, -0.006578588858246803, -0.0466441735625267, 0.01305156759917736, -0.013491607271134853, 0.018376044929027557, -0.04273662343621254, -0.007960312068462372, 0.00006662471423624083, -0.005632503889501095, 0.027036018669605255, 0.05868365243077278, 0.026525573804974556, 0.07716530561447144, -0.02201957069337368, 0.06674516946077347, 0.01097458228468895, 0.023850133642554283, -0.05505772680044174, -0.0381954163312912, -0.02025941200554371, 0.015797413885593414, 0.001347620622254908, -0.017214341089129448, 0.030749952420592308, -0.005597300827503204, 0.08265699446201324, 0.02758166752755642, -0.047101814299821854, 0.02421976812183857, -0.006433375645428896, 0.027229636907577515, 0.09392200410366058, 0.00916161946952343, 0.012708337046205997, -0.08061521500349045, -0.06896296888589859, -0.008290342055261135, 0.024959033355116844, 0.02997548133134842, 0.016448670998215675, 0.0032364896032959223, -0.0562194287776947, -0.0012981161708012223, 0.026191143319010735, -0.020752256736159325, 0.05709950998425484, -0.0429830476641655, 0.0008063721470534801, 0.005535695236176252, -0.017786391079425812, 0.013315591961145401, 0.038829073309898376, -0.05991576239466667, -0.0001951299636857584, 0.018728075549006462, -0.02105148322880268, 0.051185380667448044, 0.016827106475830078, -0.0006210055435076356, 0.027704879641532898, -0.025240657851099968, 0.01624625362455845, 0.018833685666322708, -0.03339018672704697, -0.0017249543452635407, 0.006996626034379005, -0.0034983130171895027, 0.015093350782990456, 0.01653667911887169, -0.039673950523138046, -0.01651027798652649, -0.013799634762108326, -0.003656727261841297, 0.008378349244594574, 0.01660708524286747, -0.003916350658982992, -0.05794438347220421, -0.04227898269891739, -0.030450724065303802, -0.0533679760992527, 0.006952621974050999, 0.011053789407014847, 0.007810698822140694, 0.04794669151306152, 0.006318965461105108, -0.031225193291902542, 0.007942711003124714, -0.04907318949699402, 0.03148921951651573, 0.017390355467796326, 0.04780587926506996, 0.02538147196173668, -0.02965865470468998, 0.042842235416173935, -0.04118768498301506, -0.05868365243077278, 0.02752886340022087, 0.017627976834774017, -0.012822747230529785, 0.006855813320726156, -0.0732225552201271, 0.07843261957168579, -0.009540054015815258, 0.017302347347140312, 0.006222156807780266, -0.033126164227724075, 0.017275946214795113, 0.044778406620025635, -0.025363869965076447, 0.04534165561199188, -0.009091213345527649, 0.0380898080766201, -0.04826352000236511, -0.017108730971813202, -0.017240742221474648, -0.028778575360774994, 0.05674747750163078, -0.003533516079187393, 0.009346436709165573, -0.005821721162647009, -0.031506817787885666, 0.018886489793658257, 0.05678268149495125, -0.001886668847873807, -0.16728536784648895, -0.03171803802251816, 0.04836912825703621, -0.031225193291902542, -0.017874399200081825, 0.01699431985616684, 0.014626909047365189, -0.02564549446105957, 0.010182511061429977, -0.06885736435651779, -0.024501392617821693, -0.08399471640586853, 0.05058692768216133, -0.03224608674645424, 0.03703371435403824, -0.014424490742385387, 0.03692810609936714, -0.0770948976278305, -0.000491468992549926, -0.0400259830057621, 0.04449678212404251, -0.030925966799259186, -0.061007060110569, -0.03692810609936714, 0.0036281247157603502, -0.003183684777468443, 0.09244347363710403, 0.010754561983048916, -0.016158245503902435, 0.021878758445382118, -0.04217337444424629, -0.01045533549040556, -0.035255953669548035, 0.016228651627898216, 0.026455167680978775, -0.019344130530953407, 0.034023843705654144, -0.031630031764507294, 0.012505918741226196, 0.0038283425383269787, 0.011194601655006409, -0.04442637413740158, -0.04178613796830177, 0.019344130530953407, -0.05836682394146919, 0.022494813427329063, 0.05037570744752884, 0.027898496016860008, -0.041539717465639114, 0.025275861844420433, -0.03154202178120613, -0.0067282021045684814, 0.08505081385374069, -0.03289734199643135, 0.03840663656592369, 0.052100662142038345, 0.01673029735684395, 0.019924983382225037, -0.028655363246798515, 0.027863293886184692, -0.0466441735625267, -0.030327513813972473, -0.034815914928913116, -0.06343607604503632, -0.012734739109873772, 0.002776648383587599, 0.06892776489257812, -0.01353561133146286, 0.06054941937327385, -0.007375060115009546, 0.07765814661979675, -0.02951784059405327, 0.05748674273490906, -0.033513396978378296, -0.015374976210296154, 0.02397334575653076, -0.04548247158527374, 0.0071946438401937485, -0.04822831600904465, 0.015788612887263298, 0.0010720458813011646, -0.06927979737520218, 0.025592690333724022, -0.04734823852777481, -0.01139701995998621, 0.059810150414705276, -0.0005222717300057411, 0.006217756308615208, -0.08406512439250946, 0.03240450099110603, -0.017416758462786674, 0.015137354843318462, -0.02351570501923561, -0.00321228732354939, -0.010252917185425758, 0.002360811224207282, -0.012989962473511696, 0.03657607361674309, -0.00561490235850215, 0.007405862677842379, -0.01269073598086834, -0.04805229976773262, 0.019713763147592545, -0.03192925825715065, -0.024976635351777077, -0.012021875940263271, 0.0018228631233796477, -0.03096117079257965, 0.010930578224360943, -0.0012717137578874826, 0.048474736511707306, -0.011925066821277142, -0.024888627231121063, 0.07815099507570267, 0.0019031702540814877, 0.01897449791431427, 0.06685078144073486, 0.02168514020740986, 0.0457288920879364, 0.003243090119212866, -0.028250528499484062, -0.04928440973162651, 0.07533474266529083, -0.045623283833265305, 0.008541163988411427, -0.014257275499403477, 0.035660792142152786, 0.049636442214250565, -0.042525406926870346, 0.000761818140745163, -0.00016583983961027116, 0.050481315702199936, 0.004924040753394365, 0.008857992477715015, 0.019643357023596764, 0.014283678494393826, -0.002041782718151808, 0.0155069874599576, -0.011256206780672073, -0.004734823480248451, 0.02726483903825283, 0.013526810333132744, 0.051114972680807114, 0.008976803161203861, -0.004477400798350573, -0.042842235416173935, 0.02951784059405327, -0.05667707324028015, -0.011502629145979881, -0.019907381385564804, 0.0848395898938179, -0.034428682178258896, -0.017363954335451126, 0.0185872633010149, -0.05421284958720207, 0.044531986117362976, -0.014257275499403477, 0.05090375617146492, -0.009575257077813148, 0.07244808226823807, 0.04463759437203407, -0.04041321575641632, 0.03194686025381088, 0.00887119397521019, 0.050798144191503525, 0.00971606932580471, 0.020365022122859955, -0.02532866597175598, 0.008888795040547848, 0.038301028311252594, -0.0071330382488667965, -0.008910797536373138, -0.05977495014667511, 0.017011921852827072, 0.041082076728343964, 0.0010489438427612185, -0.006248559337109327, 0.022054772824048996, 0.018604865297675133, -0.008105525746941566, 0.023920539766550064, -0.03560798615217209, -0.02818012237548828, 0.020417826250195503, 0.019009701907634735, 0.01528696808964014, -0.015683002769947052, 0.029869873076677322, 0.0010742461308836937, -0.013808435760438442, -0.01702072285115719, 0.014037256129086018, -0.0035577183589339256, -0.03245730325579643, -0.02958824671804905, 0.050551723688840866, -0.007335456553846598, 0.016598286107182503, 0.02751126140356064, 0.004107767716050148, -0.01923852227628231, 0.08821909129619598, -0.04822831600904465, 0.03407664969563484, -0.021473921835422516, -0.03446388244628906, 0.04780587926506996, 0.0185872633010149, 0.054177649319171906, -0.035572782158851624, -0.015357374213635921, 0.09448525309562683, -0.007762294728308916, -0.01434528362005949, 0.015075748786330223, -0.04220857843756676, -0.02175554633140564, 0.03192925825715065, 0.031506817787885666, 0.003080275608226657, -0.005839322693645954, -0.08674056082963943, 0.026067933067679405, -0.00141252635512501, 0.006125348154455423, 0.03879387304186821, 0.017997611314058304, 0.034164655953645706, 0.024061353877186775, 0.05083334818482399, -0.014926135540008545, 0.007357458584010601, -0.013104372657835484, 0.0391107015311718, -0.019132912158966064, 0.03307335823774338, -0.04506003111600876, 0.05252309888601303, -0.005434486083686352, -0.016140643507242203, -0.031225193291902542, 0.012831548228859901, -0.07808058708906174, 0.04065963998436928, -0.08723340928554535, -0.07163841277360916, -0.06737882643938065, -0.012778743170201778, 0.06656915694475174, -0.007568677421659231, 0.005056052468717098, -0.0032584916334599257, 0.020840264856815338, 0.02992267720401287, -0.040448419749736786, 0.029042597860097885, -0.08286821842193604, -0.03175324201583862, -0.0018888689810410142, -0.037209730595350266, -0.001309117185883224, -0.0035093140322715044, -0.040835652500391006, -0.038758669048547745, -0.044074345380067825, -0.04798189178109169, -0.02168514020740986, 0.014081260189414024, 0.02175554633140564, 0.06343607604503632, -0.004182574339210987, 0.0023498102091252804, 0.009311232715845108, 0.04741864278912544, -0.01388764288276434, -0.044250357896089554, 0.017892001196742058, 0.00022758285922463983, -0.000031902854971122, -0.03872346505522728, 0.012145087122917175, -0.02149152383208275, -0.021808352321386337, 0.0033288979902863503, 0.05065733194351196, -0.054177649319171906, -0.030362717807292938, 0.042454998940229416, -0.0351855494081974, 0.03258051350712776, -0.05625463277101517, 0.020030591636896133, 0.016334261745214462, 0.02020660787820816, -0.005007647909224033, -0.05847243219614029, 0.002723843790590763, -0.011441024020314217, -0.015744609758257866, -0.00012458614946808666, 0.03289734199643135, -0.02668398804962635, 0.027106424793601036, -0.01392284594476223, 0.003920750692486763, 0.098991259932518, -0.013711626641452312, 0.005531294737011194, -0.0016919514164328575, 0.007678687106817961, -0.047700267285108566, 0.013104372657835484, -0.038371432572603226, -0.05762755498290062, -0.01655428111553192, -0.015524589456617832, -0.016158245503902435, 0.011546633206307888, -0.007419063709676266, -0.036364853382110596, 0.03159482777118683, -0.005465289112180471, 0.04048362374305725, -0.010692956857383251, -0.008576367050409317, -0.006208955775946379, -0.004532405640929937, -0.0066577959805727005, 0.025082243606448174, 0.00019292975775897503, 0.024976635351777077, 0.003713932354003191, -0.013456404209136963, -0.05231188237667084, 0.03263331949710846, 0.02719443291425705, 0.04829872027039528, -0.036294449120759964, -0.030661944299936295, 0.019273724406957626, -0.029711458832025528, -0.004347588866949081, 0.01269073598086834, -0.024695008993148804, 0.044391173869371414, 0.003276093164458871, 0.07836221158504486, -0.030538732185959816, 0.016035035252571106, 0.02914820797741413, -0.008637973107397556, -0.005223267246037722, 0.025874314829707146, 0.030538732185959816, -0.07132158428430557, -0.04829872027039528, 0.033636610954999924, -0.05600821226835251, -0.01592942513525486, -0.007916308008134365, -0.03374221920967102, -0.027053620666265488, 0.015436581335961819, -0.00842235330492258, 0.013069169595837593, -0.020752256736159325, -0.020294615998864174, 0.023075664415955544, -0.002216698369011283, -0.005078054498881102, 0.029236216098070145, 0.02842654287815094, -0.007335456553846598, -0.02117469534277916, 0.036752089858055115, -0.014486095868051052, 0.011898664757609367, 0.05199505388736725, -0.010939379222691059, -0.07121597230434418, 0.05343838036060333, 0.01655428111553192, 0.029183411970734596, -0.005315675865858793, 0.021966764703392982, 0.05885966867208481, -0.008827189914882183, 0.0015203360235318542, 0.04889717698097229, 0.007960312068462372, -0.023867735639214516, -0.015920624136924744, -0.03372461721301079, 0.007498270832002163, -0.034604694694280624, 0.05266391113400459, 0.027176830917596817, 0.022389203310012817, -0.029746660962700844, 0.03984996676445007, 0.04643295332789421, 0.002994467969983816, -0.06980784982442856, -0.04009638726711273, -0.01511975284665823, 0.016448670998215675, 0.017874399200081825, 0.000005341493761079619, -0.015075748786330223, 0.008681977167725563, -0.013359595090150833, -0.012549922801554203, 0.06463298201560974, 0.019150514155626297, -0.016272656619548798, 0.02740565314888954, -0.025997526943683624, 0.051326192915439606, -0.009064811281859875, -0.0002521975548006594, 0.006626992952078581, 0.01948494277894497, -0.017240742221474648, -0.00047359237214550376, 0.040448419749736786, 0.01948494277894497, -0.03062674030661583, -0.05569138377904892, 0.0334605947136879, 0.047770675271749496, -0.04129329323768616, 0.02958824671804905, 0.043616704642772675, 0.011132996529340744 ]
41,001
pyglove.core.typing.class_schema
match
Returns whether current key specification can match a key.
@abc.abstractmethod def match(self, key: Any) -> bool: """Returns whether current key specification can match a key."""
(self, key: Any) -> bool
[ 0.05451653152704239, -0.0714426189661026, -0.031931113451719284, 0.05216280370950699, -0.02308731898665428, -0.02727557346224785, 0.013196462765336037, -0.02346806973218918, 0.019210588186979294, -0.027448641136288643, 0.020560521632432938, 0.031308066099882126, 0.08141135424375534, 0.04565543308854103, -0.02912740409374237, -0.06559290736913681, 0.028712041676044464, 0.07009268552064896, -0.008631784468889236, -0.0392519049346447, -0.02024899795651436, 0.04679768532514572, 0.06708129495382309, 0.00953606702387333, 0.010236993432044983, 0.10474096983671188, 0.02445455826818943, 0.00959664024412632, 0.06981577724218369, 0.023450762033462524, -0.09664136916399002, -0.021183567121624947, 0.051055166870355606, 0.08708799630403519, -0.027656324207782745, -0.02928316593170166, 0.005447326693683863, 0.0526127815246582, -0.07794998586177826, -0.018587542697787285, 0.006001145578920841, 0.03835194930434227, 0.04101720079779625, -0.049324482679367065, -0.0009459267603233457, 0.02795054018497467, -0.017557784914970398, 0.04340554401278496, 0.002862117951735854, -0.0005808607093058527, 0.009804322384297848, -0.0529935322701931, -0.017298182472586632, -0.018933678045868874, -0.013637786731123924, 0.051055166870355606, -0.0011357611510902643, 0.037105854600667953, -0.016908777877688408, 0.017142420634627342, -0.0259083341807127, 0.003411610145121813, 0.003621455514803529, -0.029265860095620155, -0.015074254013597965, -0.06060853973031044, -0.05174744129180908, -0.03873270004987717, 0.035582855343818665, 0.02488723024725914, -0.026548685505986214, -0.00008335675374837592, 0.01122348289936781, 0.038248106837272644, -0.003798850579187274, -0.01047928910702467, -0.07050804793834686, 0.017566438764333725, 0.05084748566150665, -0.014736770652234554, -0.018189484253525734, -0.05188589543104172, -0.02795054018497467, -0.038248106837272644, -0.04925525560975075, 0.032606080174446106, -0.01242630835622549, -0.01535116322338581, 0.06022778898477554, -0.018068335950374603, -0.04015186056494713, 0.033073361963033676, -0.012582069262862206, 0.055174194276332855, 0.024991070851683617, 0.014736770652234554, 0.034440603107213974, -0.020352838560938835, -0.022204671055078506, -0.007701541762799025, -0.021304715424776077, 0.04136333614587784, 0.0706811174750328, -0.004889181349426508, -0.014979066327214241, -0.017038580030202866, -0.0486668236553669, 0.006178540643304586, -0.062200769782066345, 0.031152304261922836, -0.04534390941262245, -0.0288504958152771, -0.013378184288740158, 0.015714606270194054, -0.041155654937028885, 0.018795223906636238, -0.012062864378094673, -0.05773560330271721, -0.024835309013724327, -0.010193726047873497, 0.005057923030108213, 0.019522111862897873, 0.005845383740961552, -0.030165815725922585, 0.0789191722869873, -0.013334916904568672, 0.005988165270537138, 0.03018312156200409, 0.006576597690582275, 0.0065203504636883736, -0.006278054788708687, 0.07192721217870712, -0.024194955825805664, 0.035305947065353394, 0.013880082406103611, 0.045828502625226974, 0.04915141314268112, -0.0007609599269926548, -0.04049799591302872, 0.019539417698979378, 0.036413583904504776, 0.00790922436863184, 0.07248102873563766, 0.009466839022934437, -0.031117690727114677, -0.06863891333341599, -0.02881588228046894, -0.02426418475806713, 0.03627512976527214, 0.019989395514130592, 0.014581008814275265, 0.016476107761263847, -0.00014751373964827508, 0.015230015851557255, -0.005001675803214312, -0.011509045958518982, 0.020006703212857246, -0.02147778309881687, -0.003993552178144455, -0.032329168170690536, 0.007978451438248158, -0.0341636948287487, -0.03752122074365616, -0.04305940866470337, -0.015576152130961418, -0.018829837441444397, -0.05032827705144882, -0.030442724004387856, 0.05410116910934448, 0.008610150776803493, -0.0345444455742836, -0.018552927300333977, -0.04717843607068062, -0.00703522888943553, 0.02952546253800392, 0.028954336419701576, -0.04662461578845978, 0.0078053828328847885, 0.0016971515724435449, -0.00934569165110588, 0.06472756713628769, -0.028348596766591072, -0.08473426848649979, 0.021166259422898293, 0.04835529997944832, 0.05091671273112297, -0.0031671510078012943, 0.022273898124694824, -0.0036560690496116877, 0.038801927119493484, -0.06493525207042694, -0.0561433769762516, -0.014330060221254826, -0.011465778574347496, -0.007121763192117214, -0.055174194276332855, 0.021962374448776245, 0.05088209733366966, -0.029369700700044632, 0.07635775953531265, -0.04274788498878479, -0.046382319182157516, -0.02182392030954361, 0.05503574013710022, -0.002836157800629735, -0.005490593612194061, 0.04209022596478462, -0.03179265931248665, -0.024143036454916, -0.05953551456332207, -0.05098593980073929, -0.06600826978683472, -0.004144987091422081, 0.027535175904631615, 0.0628238171339035, -0.005620394833385944, -0.00469015259295702, -0.013135888613760471, -0.022481579333543777, 0.04312863573431969, 0.09809514880180359, 0.04517084360122681, 0.054931897670030594, 0.0018064009491354227, 0.05977781116962433, -0.0016127807321026921, 0.024368025362491608, 0.017064539715647697, -0.04887450486421585, -0.038836538791656494, 0.01426948606967926, -0.008956287987530231, 0.0588778555393219, 0.0184490866959095, 0.01770489290356636, -0.02826206386089325, 0.04018647223711014, 0.005287238396704197, -0.0063083418644964695, 0.040290314704179764, 0.023191159591078758, 0.05354734882712364, 0.00862313061952591, 0.03182727098464966, -0.06500447541475296, -0.047593798488378525, 0.005174743942916393, 0.05974319949746132, 0.018345246091485023, 0.0006722623948007822, 0.008298628032207489, -0.06590443104505539, -0.006533330772072077, -0.006230460945516825, -0.003911344800144434, -0.01643284037709236, -0.0663544088602066, 0.013533946126699448, 0.05804712697863579, -0.007147723343223333, -0.005031962413340807, 0.090272456407547, -0.039355743676424026, 0.013689707033336163, -0.008662071079015732, 0.016259772703051567, 0.03869808465242386, 0.06334301829338074, -0.04821684584021568, 0.010539863258600235, 0.012261893600225449, -0.012538802810013294, -0.0008291056146845222, 0.021425863727927208, -0.017756814137101173, 0.005205031018704176, 0.03141190856695175, -0.016043437644839287, -0.029854292050004005, -0.026704447343945503, 0.016147278249263763, -0.0038702411111444235, -0.002842647721990943, -0.0038442809600383043, -0.018085643649101257, -0.001117372652515769, -0.018466394394636154, -0.024194955825805664, 0.01369836088269949, -0.037071242928504944, 0.012132092379033566, -0.031377293169498444, -0.006810239981859922, 0.0263063907623291, 0.030667712911963463, 0.02795054018497467, -0.009622600860893726, -0.0694696381688118, 0.051712825894355774, -0.04444395378232002, 0.031861886382102966, -0.000782052637077868, -0.016753017902374268, -0.030823474749922752, -0.024627627804875374, 0.005378099158406258, -0.021529704332351685, 0.039390359073877335, -0.041397951543331146, 0.04326708987355232, -0.03513287752866745, 0.04925525560975075, -0.03225994110107422, -0.01516944169998169, 0.005689622368663549, -0.026358311995863914, 0.01195036992430687, 0.03395601361989975, 0.02869473397731781, 0.08937250077724457, -0.031931113451719284, 0.038836538791656494, -0.0690888911485672, -0.020422065630555153, -0.005741542670875788, -0.06029701605439186, 0.01340414397418499, -0.045516978949308395, 0.011777302250266075, 0.012564762495458126, -0.02621985599398613, 0.006888120900839567, 0.04188254475593567, -0.0031130670104175806, -0.10501787811517715, -0.007814036682248116, -0.023416148498654366, -0.012114785611629486, 0.02080281637609005, 0.011119642294943333, 0.028988949954509735, -0.03400793299078941, 0.021685466170310974, -0.03772890195250511, 0.027621710672974586, -0.002894568257033825, -0.031861886382102966, 0.015065601095557213, 0.05766637623310089, -0.0624084509909153, 0.006230460945516825, -0.0514359176158905, 0.04472086578607559, -0.022862330079078674, 0.05884324386715889, 0.00026906721177510917, 0.0005673397099599242, -0.013006087392568588, -0.022066215053200722, -0.02469685487449169, 0.1366547793149948, -0.06960809230804443, -0.05981242656707764, -0.014598316513001919, -0.06836200505495071, 0.005546840839087963, -0.007281851023435593, -0.014944452792406082, 0.04911680147051811, -0.04617463797330856, 0.007450592704117298, -0.04060183838009834, -0.05500112473964691, -0.009787015616893768, -0.004517083987593651, -0.006593904457986355, 0.025735264644026756, 0.04309402033686638, -0.03450983017683029, 0.023779593408107758, 0.045551590621471405, 0.016043437644839287, -0.005931918043643236, 0.02795054018497467, -0.03329835087060928, -0.022602727636694908, 0.016943393275141716, 0.0388711541891098, -0.012720524333417416, 0.05396271497011185, 0.03838656097650528, -0.015091560781002045, -0.080096036195755, -0.042644042521715164, -0.05943167582154274, -0.0259083341807127, 0.014165645465254784, -0.008333241567015648, -0.06472756713628769, 0.021996987983584404, 0.05936244875192642, -0.03046003170311451, -0.010505249723792076, -0.03575592488050461, 0.04617463797330856, 0.06583520025014877, 0.07331175357103348, -0.02092396467924118, -0.04309402033686638, -0.007225603796541691, -0.011110988445580006, -0.026444844901561737, -0.05880862846970558, -0.03333296626806259, -0.02476608194410801, -0.037659674882888794, 0.07241179794073105, -0.016787631437182426, -0.014399287290871143, 0.021495090797543526, 0.05787406116724014, -0.020750897005200386, -0.009337037801742554, 0.03599821776151657, 0.015212709084153175, 0.0270851980894804, -0.0006490063387900591, -0.0001521108642918989, 0.013421451672911644, -0.01230516005307436, -0.05451653152704239, -0.02653137966990471, -0.040913358330726624, 0.006676111835986376, -0.002606842201203108, -0.03148113563656807, -0.022914251312613487, -0.04430549964308739, -0.0009199664928019047, 0.009527413174510002, -0.030165815725922585, -0.012789751403033733, -0.00953606702387333, 0.03445791080594063, 0.045205455273389816, -0.050189822912216187, 0.027587097138166428, 0.061646949499845505, 0.05275123566389084, -0.01829332485795021, -0.009518759325146675, 0.0526127815246582, -0.017298182472586632, -0.01340414397418499, 0.024229571223258972, -0.02127010188996792, 0.0035111242905259132, -0.01584440842270851, 0.01047928910702467, -0.026202550157904625, 0.051089778542518616, 0.039424970746040344, -0.03206956759095192, -0.0333675779402256, 0.0024056502152234316, 0.061335425823926926, -0.0365174226462841, 0.013707013800740242, 0.0036387622822076082, 0.0020670851226896048, 0.0016701096901670098, -0.03431945666670799, -0.015325203537940979, -0.008103925734758377, -0.019366350024938583, 0.03596360608935356, 0.05043211951851845, 0.04399397596716881, -0.06275458633899689, -0.00218174303881824, -0.013369530439376831, -0.024212263524532318, -0.013127234764397144, -0.005075229797512293, 0.022793103009462357, -0.0914493203163147, -0.014044497162103653, -0.008510636165738106, -0.06690822541713715, -0.036171287298202515, -0.04503238573670387, 0.00803469866514206, 0.04361322522163391, 0.0655582919716835, 0.06431220471858978, -0.036205898970365524, 0.020456679165363312, 0.03783274441957474, -0.024039195850491524, -0.0043959361501038074, 0.0020984539296478033, 0.02300078421831131, -0.003089270321652293, 0.030979236587882042, 0.012755137868225574, -0.03357526287436485, -0.020975885912775993, -0.037625059485435486, 0.018985599279403687, 0.02826206386089325, 0.01683955080807209, 0.023173853754997253, 0.0300273597240448, -0.02049129456281662, 0.054897282272577286, 0.01267725694924593, -0.009562026709318161, -0.05998549237847328, -0.03224263712763786, 0.00973509531468153, 0.02178930677473545, -0.023571910336613655, 0.03932113200426102, -0.023606523871421814, 0.020266305655241013, 0.02092396467924118, -0.004026002716273069, -0.026202550157904625, 0.005936244502663612, -0.0003366720338817686, -0.02968122437596321, 0.014087764546275139, 0.0018810366746038198, 0.04067106544971466, -0.050259049981832504, 0.05995088070631027, -0.002942162100225687, 0.03665587678551674, -0.027569789439439774, 0.04295556619763374, 0.03184457868337631, 0.024212263524532318, 0.017280874773859978, -0.05365119129419327, 0.027015971019864082, 0.06102390214800835, -0.05095132440328598, -0.06559290736913681, -0.027154425159096718, 0.0034289169125258923, -0.034959807991981506, 0.025579502806067467, 0.03033888339996338, -0.004504104144871235, 0.05091671273112297, -0.009189929813146591, 0.058774013072252274, -0.013239729218184948, -0.022914251312613487, 0.04797454923391342, 0.006096332799643278, 0.00003192638178006746, 0.00301355286501348, 0.004186091013252735, -0.034354068338871, -0.03293490782380104, 0.03579053655266762, 0.020664362236857414, 0.06285842508077621, 0.018397167325019836, -0.038525015115737915, 0.019833633676171303, 0.016926085576415062, -0.009293771348893642, -0.038525015115737915, 0.011967676691710949, -0.03380025178194046, -0.009466839022934437, -0.052232030779123306, -0.10591783374547958, -0.0033423826098442078, -0.006719379220157862, 0.08217285573482513, 0.0031390273943543434, 0.009691827930510044, -0.014139684848487377, -0.00552520714700222, 0.033973317593336105, -0.08071908354759216, -0.04063645005226135, -0.05822019651532173, -0.015731913968920708, 0.013205115683376789, -0.05036289244890213, -0.014105071313679218, 0.016328999772667885, 0.021218180656433105, -0.009311078116297722, 0.018224097788333893, -0.026323696598410606, -0.00044754394912160933, 0.004949755035340786, 0.02123548835515976, -0.005693948827683926, 0.0459323413670063, 0.04105181619524956, -0.02343345619738102, 0.056697193533182144, -0.0051877242513000965, -0.031775351613759995, -0.00308061670511961, -0.016830898821353912, 0.05482805520296097, -0.04915141314268112, 0.015455004759132862, 0.011180216446518898, -0.0031974378507584333, 0.04627848044037819, 0.025562196969985962, 0.016943393275141716, -0.02390073984861374, 0.03592899069190025, -0.01686551235616207, 0.03990956395864487, -0.033540647476911545, 0.018466394394636154, -0.006018452346324921, -0.003666885895654559, 0.00016657829110044986, -0.07594239711761475, 0.018431780859827995, 0.008242380805313587, 0.033852171152830124, -0.00010668041795725003, 0.018552927300333977, -0.0357213094830513, 0.025371821597218513, 0.011232136748731136, 0.011370590887963772, 0.06458911299705505, -0.04662461578845978, 0.017324142158031464, -0.013040700927376747, 0.04267865791916847, -0.019677871838212013, 0.03470020741224289, -0.012235932983458042, -0.0288504958152771, 0.0553472600877285, -0.039632655680179596, -0.02952546253800392, 0.0320003405213356, -0.041467178612947464, 0.01990286074578762, 0.044097818434238434, -0.012547455728054047, 0.0016387409996241331, -0.008026044815778732, -0.0404287688434124, -0.043197862803936005, -0.04703998193144798, 0.015550192445516586, 0.0059708585031330585, -0.0031693142373114824, 0.04184792935848236, -0.0150136798620224, 0.008454388938844204, -0.10937920212745667, 0.005793463438749313, 0.07912685722112656, 0.04184792935848236, -0.01352529227733612, 0.003117393935099244, -0.02095857821404934, 0.019418269395828247, 0.011976330541074276, 0.016354959458112717, -0.03058118000626564, 0.04326708987355232, -0.004086576867848635, 0.028365904465317726, -0.018085643649101257, -0.041397951543331146, 0.03357526287436485, -0.0038313008844852448, 0.03606744483113289, 0.0032493583858013153, 0.011656153947114944, 0.006304014939814806, -0.09435687214136124, 0.05233587324619293, -0.06431220471858978, 0.011370590887963772, 0.003995715640485287, 0.009873549453914165, 0.006715052295476198, -0.05157437175512314, 0.036482810974121094, 0.048182230442762375, 0.004772359970957041, -0.022273898124694824, 0.022671954706311226, 0.008346221409738064, -0.008359202183783054, -0.006442469544708729, 0.01662321574985981, -0.05538187548518181, 0.019297122955322266, 0.04655538871884346, -0.058497104793787, -0.03696740046143532, 0.029058177024126053, 0.007952490821480751, -0.07559625804424286, 0.0021492927335202694, -0.04046338424086571, 0.030875395983457565, 0.010738891549408436, 0.023295002058148384, 0.020110543817281723, -0.008272667415440083, -0.03855963051319122, 0.023571910336613655, -0.02469685487449169, -0.013274342752993107, -0.013750281184911728, -0.03990956395864487, -0.022931557148694992, 0.01259937696158886, 0.08411122113466263, 0.050812870264053345, 0.0017328469548374414, -0.054931897670030594, 0.042609430849552155, 0.016337653622031212, -0.038801927119493484, -0.08210363239049911, -0.08847254514694214, 0.02634100429713726, 0.05673180893063545, 0.0015186748933047056, 0.0376942902803421, 0.015904981642961502, -0.03227724879980087, 0.03212148696184158, 0.01891637220978737, -0.02210082858800888, 0.07085418701171875, 0.0009762137196958065, -0.005996818654239178, -0.0171770341694355, 0.0573202408850193, 0.017254915088415146, -0.0035262678284198046, 0.0010497677139937878, 0.020231692120432854, -0.006745339371263981, -0.006226134020835161, 0.03523671627044678, 0.029213938862085342, -0.05998549237847328, -0.007602027617394924, -0.0048026470467448235, 0.02646215260028839, -0.04060183838009834, -0.023571910336613655, 0.027223652228713036, 0.06289304047822952 ]
41,003
pyglove.core.symbolic.list
List
Symbolic list. ``pg.List`` implements a list type whose instances are symbolically programmable, which is a subclass of the built-in Python ``list``, and the subclass of ``pg.Symbolic``. ``pg.List`` can be used as a regular list:: # Construct a symbolic list from an iterable object. l = pg.List(range(10)) It also supports symbolic validation through the ``value_spec`` argument:: l = pg.List([1, 2, 3], value_spec=pg.typing.List( pg.typing.Int(min_value=1), max_size=10 )) # Raises: 0 is not in acceptable range. l.append(0) And can be symbolically manipulated:: l = pg.List([{'foo': 1}]) l.rebind({ '[0].foo': 2 }) pg.query(l, where=lambda x: isinstance(x, int)) The user call also subscribe changes to its sub-nodes:: def on_change(updates): print(updates) l = pg.List([{'foo': 1}], onchange_callaback=on_change) # `on_change` will be triggered on item insertion. l.append({'bar': 2}) # `on_change` will be triggered on item removal. l.pop(0) # `on_change` will also be triggered on subtree change. l.rebind({'[0].bar': 3})
class List(list, base.Symbolic, pg_typing.CustomTyping): """Symbolic list. ``pg.List`` implements a list type whose instances are symbolically programmable, which is a subclass of the built-in Python ``list``, and the subclass of ``pg.Symbolic``. ``pg.List`` can be used as a regular list:: # Construct a symbolic list from an iterable object. l = pg.List(range(10)) It also supports symbolic validation through the ``value_spec`` argument:: l = pg.List([1, 2, 3], value_spec=pg.typing.List( pg.typing.Int(min_value=1), max_size=10 )) # Raises: 0 is not in acceptable range. l.append(0) And can be symbolically manipulated:: l = pg.List([{'foo': 1}]) l.rebind({ '[0].foo': 2 }) pg.query(l, where=lambda x: isinstance(x, int)) The user call also subscribe changes to its sub-nodes:: def on_change(updates): print(updates) l = pg.List([{'foo': 1}], onchange_callaback=on_change) # `on_change` will be triggered on item insertion. l.append({'bar': 2}) # `on_change` will be triggered on item removal. l.pop(0) # `on_change` will also be triggered on subtree change. l.rebind({'[0].bar': 3}) """ @classmethod def partial(cls, items: Optional[Iterable[Any]] = None, *, value_spec: Optional[pg_typing.List] = None, onchange_callback: Optional[Callable[ [Dict[object_utils.KeyPath, base.FieldUpdate]], None]] = None, **kwargs) -> 'List': """Class method that creates a partial List object.""" return cls(items, 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.List] = None, allow_partial: bool = False, root_path: Optional[object_utils.KeyPath] = None, **kwargs) -> 'List': """Class method that load an symbolic List from a JSON value. Example:: l = List.from_json([{ '_type': '__main__.Foo', 'f1': 1, 'f2': { 'f21': True } }, 1 ]) assert l.value_spec is None # Okay: l.append('abc') # [0].f2 is bound by class Foo's field 'f2' definition # (assuming it defines a schema for the Dict field). assert l[0].f2.value_spec is not None # Not okay: l[0].f2.abc = 1 Args: json_value: Input JSON value, only JSON list is acceptable. value_spec: An optional `pg.typing.List` object as the schema for the list. allow_partial: Whether to allow elements of the list 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 schema-less symbolic list, but its items maybe symbolic. """ return cls(json_value, value_spec=value_spec, allow_partial=allow_partial, root_path=root_path) def __init__( self, items: Optional[Iterable[Any]] = None, *, value_spec: Optional[pg_typing.List] = None, onchange_callback: Optional[Callable[ [Dict[object_utils.KeyPath, base.FieldUpdate]], None]] = None, allow_partial: bool = False, accessor_writable: bool = True, sealed: bool = False, root_path: Optional[object_utils.KeyPath] = None): """Constructor. Args: items: A optional iterable object as initial value for this list. value_spec: Value spec that applies to this List. onchange_callback: Callback when sub-tree has been modified. allow_partial: Whether to allow unbound or partial fields. This takes effect only when value_spec is not None. accessor_writable: Whether to allow modification of this List using accessors (operator[]). sealed: Whether to seal this List after creation. root_path: KeyPath of this List in its object tree. """ if value_spec and not isinstance(value_spec, pg_typing.List): raise TypeError( f'Argument \'value_spec\' must be a `pg.typing.List` object. ' f'Encountered {value_spec}.') # We delay seal operation until items are filled. base.Symbolic.__init__( self, allow_partial=allow_partial, accessor_writable=accessor_writable, sealed=False, root_path=root_path) self._value_spec = None self._onchange_callback = None list.__init__(self) if items: # Copy the symbolic form instead of evaluated form. if isinstance(items, List): items = items.sym_values() for item in items: self._set_item_without_permission_check(len(self), item) if value_spec: self.use_value_spec(value_spec, allow_partial) # NOTE(daiyip): We set onchange callback at the end of init to avoid # triggering during initialization. self._onchange_callback = onchange_callback self.seal(sealed) @property def max_size(self) -> Optional[int]: """Returns max size of this list.""" if self._value_spec: return typing.cast(pg_typing.ListKey, self._value_spec.element.key).max_value return None def use_value_spec(self, value_spec: Optional[pg_typing.List], allow_partial: bool = False) -> 'List': """Applies a ``pg.List`` as the value spec for current list. Args: value_spec: A List ValueSpec to apply to this List. If current List 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 List. Or else if current List is already symbolic (whose immediate members are under the constraint of a List value spec), and `value_spec` is None, current List 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 List. Returns: Self. Raises: ValueError: schema validation failed due to value error. RuntimeError: List is already bound with another value_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.List): raise ValueError( self._error_message( f'Value spec for list must be a `pg.typing.List` object. ' f'Encountered: {value_spec!r}')) if self._value_spec and self._value_spec != value_spec: raise RuntimeError( self._error_message( f'List is already bound with a different value ' f'spec: {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 List.custom_apply method # called by spec.apply, thus we don't need to set the _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 @property def value_spec(self) -> Optional[pg_typing.List]: """Returns value spec of this List.""" return self._value_spec def sym_attr_field(self, key: Union[str, int]) -> Optional[pg_typing.Field]: """Returns the field definition for a symbolic attribute.""" del key if self._value_spec is None: return None return self._value_spec.element def sym_hasattr(sel
(items: Optional[Iterable[Any]] = None, *, value_spec: Optional[pyglove.core.typing.value_specs.List] = None, onchange_callback: Optional[Callable[[Dict[pyglove.core.object_utils.value_location.KeyPath, pyglove.core.symbolic.base.FieldUpdate]], NoneType]] = None, allow_partial: bool = False, accessor_writable: bool = True, sealed: bool = False, root_path: Optional[pyglove.core.object_utils.value_location.KeyPath] = None)
[ 0.08292025327682495, -0.0421595461666584, -0.030735669657588005, 0.019816929474473, 0.024984873831272125, 0.027918556705117226, -0.0010236318921670318, -0.023838602006435394, 0.03576761484146118, -0.02887054719030857, -0.02465459331870079, 0.012307868339121342, 0.014736413024365902, -0.019476933404803276, 0.010714742355048656, 0.028715120628476143, 0.019612932577729225, 0.01672782003879547, 0.04219840466976166, 0.026519715785980225, -0.006620214786380529, -0.010879883542656898, 0.007732488214969635, 0.07009753584861755, -0.00406052777543664, -0.04266468435525894, 0.02811284177005291, 0.019234079867601395, -0.02502373233437538, -0.013842708431184292, 0.04371381551027298, -0.02570372447371483, 0.00869419239461422, -0.029297972097992897, 0.05521540716290474, -0.014551843516528606, -0.04845433682203293, 0.03345564007759094, -0.06982553750276566, -0.0036695320159196854, 0.03792416304349899, 0.000202479975996539, -0.025140302255749702, -0.01916608028113842, 0.05587597191333771, 0.07716945558786392, -0.013085002079606056, 0.04585093632340431, 0.014716984704136848, -0.05051374435424805, 0.0027685416862368584, 0.015105552040040493, -0.047094352543354034, -0.012871290557086468, -0.02224547602236271, 0.020632920786738396, 0.017961520701646805, 0.06512387096881866, 0.09387785196304321, 0.01373585220426321, 0.03633103892207146, 0.0009981321636587381, -0.061393626034259796, -0.11734731495380402, 0.007499347906559706, -0.0006514572887681425, -0.008995331823825836, -0.05735252797603607, -0.03932300582528114, -0.03765216842293739, -0.05575940012931824, -0.019321506842970848, 0.023605460301041603, 0.020011214539408684, 0.03625332564115524, -0.0005254765274003148, 0.032134510576725006, 0.011822158470749855, 0.01954493299126625, -0.05408856272697449, 0.0074313487857580185, 0.02655857242643833, -0.022051192820072174, -0.027782559394836426, -0.0521845817565918, 0.058090806007385254, 0.024848876520991325, 0.020866062492132187, 0.04806577041745186, 0.023586032912135124, -0.02887054719030857, -0.006270504090934992, -0.03042481653392315, 0.020768919959664345, -0.03949786350131035, -0.03211508318781853, -0.008869047276675701, -0.12379752844572067, -0.027549419552087784, 0.042858969420194626, 0.026150576770305634, 0.02838483825325966, -0.05447712913155556, 0.020788349211215973, 0.0054690842516720295, -0.007951057516038418, -0.02504315972328186, -0.020477494224905968, 0.017815809696912766, 0.004458809271454811, -0.06570672243833542, 0.019622646272182465, 0.035456761717796326, -0.019476933404803276, 0.01257986482232809, 0.057469096034765244, -0.0071884943172335625, -0.058090806007385254, 0.031998515129089355, -0.046938925981521606, 0.028928833082318306, -0.03778816759586334, -0.000999346375465393, 0.028093412518501282, 0.03555390238761902, 0.0485709086060524, 0.014852983877062798, -0.02502373233437538, -0.0021395485382527113, 0.021779194474220276, 0.004322810564190149, 0.03205679729580879, -0.006974782329052687, 0.056691963225603104, 0.05490455403923988, -0.01508612371981144, -0.022323189303278923, -0.028676263988018036, -0.02403288520872593, -0.014182704500854015, 0.020108355209231377, -0.01903008110821247, 0.05199030041694641, -0.018864940851926804, -0.045190371572971344, -0.009549040347337723, -0.006275361403822899, 0.045423511415719986, -0.03499048203229904, 0.030366530641913414, -0.03668075054883957, 0.0028365410398691893, 0.012541008181869984, 0.03116309456527233, -0.03743845596909523, 0.05785766616463661, -0.0910024493932724, -0.051951441913843155, 0.020866062492132187, 0.008159912191331387, -0.043247535824775696, -0.009291614405810833, -0.024363167583942413, -0.0017279100138694048, -0.054127417504787445, 0.02238147333264351, -0.037127602845430374, -0.11470505595207214, -0.05319485813379288, 0.021390628069639206, 0.035340193659067154, -0.049658894538879395, 0.021002059802412987, 0.03625332564115524, 0.030075104907155037, 0.045812081545591354, 0.014920982532203197, 0.026170004159212112, 0.014163276180624962, -0.03807958960533142, -0.04433552548289299, -0.04021671041846275, -0.03296993300318718, -0.02043863758444786, 0.007951057516038418, 0.06722213327884674, -0.06574557721614838, 0.02440202422440052, 0.06399703025817871, 0.03815730661153793, -0.03563161939382553, -0.04332524910569191, 0.07584832608699799, -0.05070802569389343, -0.05160173028707504, -0.006688213907182217, -0.02813226915895939, 0.034427057951688766, -0.06263703852891922, 0.019651789218187332, -0.05074688419699669, -0.04674464091658592, 0.02311975136399269, -0.002537829801440239, -0.04227611795067787, 0.013221001252532005, -0.003339249873533845, -0.01854437217116356, 0.03040538728237152, -0.053350284695625305, -0.06174333766102791, 0.00348496250808239, -0.009243044070899487, 0.013017003424465656, 0.0021771909669041634, -0.08556251227855682, -0.038526441901922226, -0.03778816759586334, 0.011540447361767292, -0.05183487385511398, 0.06881526112556458, -0.0077179172076284885, -0.08812705427408218, -0.023022610694169998, 0.04099384695291519, -0.00007778934377711266, -0.017718667164444923, -0.018097519874572754, 0.0071107810363173485, 0.026616856455802917, -0.0018444801680743694, -0.04864862188696861, 0.03592304140329361, -0.019826645031571388, 0.0255482979118824, -0.006328789051622152, -0.003963386174291372, -0.01137530617415905, -0.022323189303278923, 0.025373442098498344, -0.05132973566651344, 0.017436955124139786, 0.020360924303531647, -0.008898190222680569, -0.04868747666478157, 0.05226229503750801, 0.03658360615372658, 0.03543733432888985, -0.006309360731393099, -0.024343738332390785, -0.019768359139561653, 0.03716645762324333, 0.030327674001455307, 0.02875397726893425, -0.007936486043035984, -0.016038114205002785, -0.044646378606557846, -0.0002665328502189368, 0.019263220950961113, -0.0035748188383877277, -0.002231833292171359, -0.041460126638412476, -0.001997478539124131, 0.04690006747841835, 0.013250143267214298, -0.03563161939382553, 0.0015336263459175825, 0.06135477125644684, -0.053350284695625305, 0.06496844440698624, 0.0508245974779129, -0.03390249237418175, 0.011258736252784729, -0.011210164986550808, -0.008733049035072327, 0.016038114205002785, 0.02541229873895645, 0.0077956304885447025, 0.014289560727775097, -0.013687281869351864, 0.014814126305282116, -0.001106202369555831, 0.0075964899733662605, -0.004150384105741978, 0.03998357057571411, 0.01569811813533306, -0.0081259123980999, 0.026480859145522118, -0.04756063222885132, 0.016319824382662773, 0.07561518996953964, -0.018223803490400314, 0.060499921441078186, -0.011229593306779861, 0.07215694338083267, 0.05358342453837395, -0.02519858628511429, 0.016378110274672508, -0.023197464644908905, -0.011346164159476757, 0.04456866532564163, 0.030599672347307205, 0.08462994545698166, 0.03390249237418175, -0.0023945458233356476, -0.05844051390886307, 0.02006949856877327, -0.01010274887084961, -0.005571083165705204, 0.0017995521193370223, -0.0022816183045506477, 0.06185990571975708, -0.07048609852790833, 0.048998329788446426, 0.026675142347812653, -0.026247717440128326, -0.07437177002429962, -0.029492255300283432, 0.05098002403974533, 0.018971797078847885, -0.04740520566701889, 0.010588457807898521, 0.010646742768585682, 0.01659182272851467, 0.004762377589941025, 0.0057070814073085785, 0.06252047419548035, 0.04946461319923401, -0.026772284880280495, 0.0027199708856642246, -0.03339735418558121, -0.02313918061554432, 0.0010363816982135177, 0.021293485537171364, 0.0019476934103295207, -0.01777695119380951, 0.032639648765325546, 0.0010867740493267775, -0.029220256954431534, -0.06846555322408676, -0.004453952424228191, -0.0032955361530184746, 0.02327517792582512, 0.003990100231021643, 0.002523258561268449, -0.03127966448664665, 0.06970896571874619, 0.03281450644135475, 0.03248422220349312, 0.032523080706596375, 0.031629376113414764, -0.03104652464389801, -0.017339814454317093, 0.020030641928315163, 0.034427057951688766, -0.05583711341023445, -0.04029442369937897, -0.028909403830766678, -0.030327674001455307, -0.047210920602083206, 0.08004485815763474, 0.004823090974241495, -0.025101445615291595, -0.030580243095755577, 0.03300878778100014, -0.019826645031571388, -0.013706710189580917, -0.05342799797654152, 0.04958118125796318, -0.003640389535576105, -0.0057070814073085785, -0.07130209356546402, 0.003628246719017625, -0.0268111415207386, 0.0544382743537426, 0.0018359803361818194, 0.027180280536413193, 0.01774781011044979, -0.05338913947343826, 0.011802730150520802, -0.015639832243323326, -0.02236204594373703, 0.01621296815574169, -0.014231275767087936, 0.025898007676005363, -0.0012774148490279913, -0.007703345734626055, 0.010025035589933395, 0.006654214113950729, -0.019078653305768967, -0.02877340465784073, 0.009937607683241367, 0.01450327318161726, 0.01310443039983511, -0.032523080706596375, 0.0034096776507794857, 0.003596675582230091, -0.006537644192576408, 0.018204376101493835, -0.022167762741446495, 0.0003827994514722377, -0.05265086516737938, 0.011734731495380402, 0.040449850261211395, -0.00932561419904232, -0.04219840466976166, 0.0452292300760746, 0.023702602833509445, -0.04142126813530922, 0.0480269119143486, 0.050552599132061005, -0.0011317020980641246, -0.030463673174381256, -0.01736895553767681, 0.031221378594636917, 0.0003454605757724494, -0.02519858628511429, 0.009709324687719345, 0.04037213698029518, 0.0104718878865242, 0.043752674013376236, -0.005988792981952429, 0.04612293466925621, 0.08058884739875793, -0.017223244532942772, -0.0014631985686719418, 0.007120495196431875, 0.05311714485287666, -0.02426602505147457, 0.020982632413506508, 0.06831012666225433, 0.03543733432888985, 0.0026325432118028402, -0.059722788631916046, -0.04534579813480377, -0.023566603660583496, 0.006294789724051952, -0.06714442372322083, -0.00725649343803525, -0.016193540766835213, 0.014687842689454556, 0.08719449490308762, 0.01425070408731699, 0.01335699949413538, 0.06220961734652519, 0.049153756350278854, -0.027005424723029137, 0.023547176271677017, 0.007411920465528965, -0.020632920786738396, -0.01750495471060276, -0.028326552361249924, 0.10771084576845169, 0.03512648120522499, -0.06302560865879059, -0.011151880025863647, -0.02298375405371189, -0.04010014235973358, 0.000012474754839786328, 0.002400617115199566, 0.059373077005147934, 0.029822537675499916, 0.03858472779393196, -0.048842903226614, -0.046938925981521606, 0.037865880876779556, -0.0026398287154734135, 0.03932300582528114, -0.019370077177882195, 0.02183748036623001, 0.009855037555098534, 0.01220101211220026, -0.015435834415256977, -0.03652532398700714, 0.009364470839500427, -0.006872783415019512, 0.02556772530078888, -0.05789652094244957, -0.05113545060157776, -0.08113284409046173, 0.029084259644150734, -0.02723856456577778, 0.046200647950172424, 0.013978706672787666, 0.0028972546570003033, -0.00008765530947130173, 0.022711755707859993, -0.03258136287331581, -0.011929014697670937, 0.003761816769838333, -0.04037213698029518, -0.037399597465991974, 0.040449850261211395, 0.006911640055477619, -0.019826645031571388, -0.013191858306527138, -0.01929236389696598, -0.017592383548617363, 0.0728563591837883, -0.00895161833614111, -0.016659820452332497, 0.0031279665417969227, -0.006197647657245398, 0.05556511878967285, 0.016708392649888992, -0.01425070408731699, 0.011472448706626892, 0.01482384093105793, -0.04348067566752434, -0.04002242907881737, -0.0015081266174092889, 0.001982907298952341, 0.10281489789485931, -0.01073417067527771, -0.03668075054883957, 0.018078092485666275, 0.002549972617998719, 0.014940410852432251, -0.0019950501155108213, -0.042237259447574615, -0.028792833909392357, -0.048998329788446426, 0.001825051847845316, -0.043402962386608124, 0.014619843102991581, -0.00843676645308733, -0.03182365745306015, -0.030211104080080986, 0.05459370091557503, 0.009252757765352726, 0.0390898659825325, 0.0026592572685331106, 0.02082720585167408, -0.008276483044028282, -0.014716984704136848, 0.045034945011138916, 0.05533197894692421, 0.020011214539408684, -0.029492255300283432, 0.022906040772795677, 0.0194089338183403, 0.128926619887352, -0.011802730150520802, 0.013784423470497131, 0.007494491059333086, -0.03180423006415367, -0.02875397726893425, -0.08190997689962387, -0.02172091044485569, -0.01995292864739895, -0.014153562486171722, 0.0015226979739964008, 0.03671960532665253, -0.005731367040425539, -0.031027095392346382, -0.06380274146795273, 0.03434934467077255, -0.010190176777541637, 0.001619839807972312, -0.028948260471224785, 0.004456380847841501, 0.042625829577445984, 0.011161594651639462, -0.046822354197502136, 0.04791034385561943, 0.028404267504811287, -0.022672899067401886, -0.004546236712485552, 0.008825333788990974, -0.01582440175116062, 0.04418009892106056, -0.01953521929681301, 0.07184608280658722, -0.0008912761695683002, 0.00466280709952116, -0.03434934467077255, -0.0010958811035379767, 0.014716984704136848, 0.0018262660596519709, -0.09753037989139557, -0.007771345321089029, 0.006591072306036949, -0.037360742688179016, -0.016135254874825478, 0.017067816108465195, 0.03248422220349312, 0.004786662757396698, 0.08089970052242279, -0.07289521396160126, -0.0004914768505841494, -0.025334585458040237, 0.01569811813533306, -0.00984532292932272, -0.021546054631471634, -0.02467402070760727, -0.0024637593887746334, -0.09364470839500427, 0.018486088141798973, -0.007455634418874979, 0.010617600753903389, -0.021002059802412987, 0.04371381551027298, 0.022012334316968918, -0.02877340465784073, 0.027801986783742905, -0.020477494224905968, 0.0332225002348423, -0.0316876582801342, 0.03551504760980606, -0.03133795037865639, -0.004398095887154341, 0.06353074312210083, -0.014347845688462257, -0.037127602845430374, -0.01609639823436737, -0.02976425178349018, -0.03312535956501961, 0.08089970052242279, 0.05272857844829559, -0.016290681436657906, -0.014396416954696178, 0.019632359966635704, 0.023935742676258087, 0.01736895553767681, -0.033688779920339584, -0.033436212688684464, -0.03067738562822342, 0.027821416035294533, -0.032892219722270966, -0.05684738978743553, 0.03347506746649742, 0.011462734080851078, -0.005109659396111965, 0.05894565209746361, 0.01967121660709381, -0.06489073485136032, -0.02570372447371483, -0.0603056401014328, 0.041460126638412476, 0.04445209354162216, -0.04079956188797951, -0.03246479481458664, -0.016795819625258446, 0.06426902115345001, -0.021060345694422722, 0.016640393063426018, -0.005779937840998173, -0.05575940012931824, 0.032639648765325546, 0.048881761729717255, -0.020166641101241112, 0.03899272531270981, -0.01309471670538187, 0.0004920840146951377, 0.024615736678242683, 0.061121631413698196, 0.0044855233281850815, -0.06597872078418732, 0.006804784294217825, 0.019515790045261383, -0.01727181486785412, -0.03269793465733528, -0.002974968170747161, -0.004308239556849003, 0.0017679809825494885, 0.0032615363597869873, 0.03771045058965683, 0.006867926102131605, 0.04538465663790703, 0.0820654034614563, -0.004135812632739544, -0.05327257141470909, -0.017699237912893295, 0.051174309104681015, 0.0007613489869982004, -0.02238147333264351, 0.00552251236513257, 0.06096620112657547, 0.003164394525811076, -0.002224547555670142, 0.00957818329334259, -0.04903718829154968, -0.0029118258971720934, 0.017572954297065735, -0.02300318144261837, 0.01546497642993927, 0.020671777427196503, 0.005702224560081959, 0.015056981705129147, -0.05816851928830147, -0.05214572697877884, -0.06170447915792465, 0.0006381003186106682, -0.0023714746348559856, -0.08299796283245087, -0.04227611795067787, -0.031998515129089355, -0.006518215872347355, 0.05432170256972313, 0.03285336121916771, 0.013794138096272945, 0.016795819625258446, 0.008572764694690704, 0.014746127650141716, 0.044413238763809204, 0.018068376928567886, -0.03126023709774017, -0.03192080184817314, 0.030696813017129898, -0.0007510276627726853, 0.016951246187090874, 0.05494340881705284, -0.02069120667874813, -0.09418870508670807, 0.013434712775051594, -0.029744824394583702, 0.030249960720539093, 0.01143359113484621, -0.007776202168315649, 0.0046118078753352165, 0.03219279646873474, -0.0011833087773993611, 0.06935925781726837, -0.013026717118918896, -0.008159912191331387, -0.007062209770083427, 0.02632543258368969, -0.003662246512249112, -0.011035310104489326, -0.020768919959664345, 0.0695146843791008, 0.05816851928830147, -0.0022160476073622704, -0.009976464323699474, 0.0029361112974584103, -0.043364107608795166, -0.012638149783015251, 0.058051947504282, -0.03423277661204338, 0.08121055364608765, 0.00901476014405489, 0.016795819625258446, -0.03256193548440933, 0.035184767097234726, -0.05420513078570366, 0.01393985003232956, -0.011190736666321754, -0.023741459473967552, 0.03493219614028931, -0.02300318144261837, 0.027646560221910477, -0.00217476231046021, -0.03883729875087738, -0.0021784051787108183, 0.05785766616463661, 0.028909403830766678, -0.04627836123108864, 0.008582479320466518, -0.07476034015417099, -0.07627575099468231, -0.05070802569389343, 0.028423694893717766, 0.005949936341494322, 0.01662096381187439, -0.01952550560235977, -0.00901476014405489, -0.06073306128382683, 0.02119634486734867 ]
41,005
pyglove.core.symbolic.list
__add__
Returns a concatenated List of self and other.
def __add__(self, other: Iterable[Any]) -> 'List': """Returns a concatenated List of self and other.""" concatenated = self.copy() concatenated.extend(other) return concatenated
(self, other: Iterable[Any]) -> pyglove.core.symbolic.list.List
[ -0.09276212006807327, -0.050890836864709854, 0.0020074015483260155, 0.03726983815431595, -0.03915807977318764, -0.012475221417844296, -0.027333660051226616, -0.016590852290391922, 0.07310974597930908, -0.012145237997174263, -0.006265109404921532, -0.06640008091926575, 0.015775060281157494, 0.03450164198875427, -0.00013527330884244293, 0.023905495181679726, 0.0391947440803051, -0.016132542863488197, -0.015087593346834183, -0.0028346527833491564, -0.011466938070952892, 0.004835179541260004, 0.001349725527688861, 0.044474486261606216, -0.025757070630788803, 0.05752718076109886, 0.04553776606917381, -0.012456889264285564, -0.0600937195122242, 0.011576931923627853, 0.013822655193507671, -0.04469447582960129, -0.037801481783390045, -0.04854428768157959, 0.03488662466406822, 0.02685701660811901, -0.04319121688604355, 0.03649987652897835, -0.05155080556869507, 0.06892995536327362, 0.035674918442964554, -0.06438350677490234, 0.029075240716338158, -0.008180849254131317, 0.04553776606917381, -0.004358536098152399, -0.010641978122293949, 0.025958728045225143, -0.001332538784481585, -0.05422734096646309, 0.01388681959360838, -0.0010002634953707457, -0.014244301244616508, 0.0020119845867156982, -0.0130251944065094, 0.05653722956776619, 0.039891377091407776, 0.0353449322283268, -0.029606882482767105, 0.08183598518371582, -0.006847164127975702, -0.044474486261606216, -0.012301063165068626, -0.07285309582948685, 0.013327679596841335, 0.000527916825376451, -0.10339493304491043, -0.03065183013677597, 0.02379550039768219, 0.025610411539673805, -0.008263344876468182, 0.02704034000635147, -0.036261554807424545, 0.022310573607683182, -0.0020646904595196247, 0.006645507644861937, 0.03061516582965851, 0.01801161654293537, 0.030193518847227097, -0.06640008091926575, -0.005650972947478294, 0.01941404864192009, -0.04759100079536438, 0.03517994284629822, 0.016985001042485237, -0.018616586923599243, -0.058517131954431534, -0.015912553295493126, -0.045207783579826355, 0.01996402069926262, -0.010687809437513351, 0.011631929315626621, -0.03048683889210224, 0.016810841858386993, 0.024620460346341133, 0.006760085001587868, -0.07156982272863388, -0.07919611781835556, 0.0043493700213730335, 0.02243890054523945, -0.022988872602581978, 0.025188764557242393, 0.009111220017075539, -0.013694328255951405, 0.018130777403712273, -0.036646537482738495, -0.009542032144963741, -0.062330275774002075, 0.011118621565401554, 0.06530012935400009, 0.000003065849114136654, 0.04667437821626663, -0.010559482499957085, -0.024033822119235992, -0.014821773394942284, 0.005779299885034561, -0.006246777251362801, -0.004619773477315903, -0.003668778343126178, 0.03156845271587372, 0.024675456807017326, 0.007612543646246195, 0.037398166954517365, 0.05408068001270294, 0.004156879615038633, 0.03065183013677597, -0.0007865760126151145, -0.024235477671027184, -0.06071702390909195, -0.10933464020490646, -0.010706141591072083, -0.008607078343629837, -0.04891093447804451, 0.03193509951233864, 0.03978138417005539, -0.03219175338745117, 0.018919073045253754, -0.0035771161783486605, 0.023850496858358383, 0.012713543139398098, 0.00614594854414463, -0.014803441241383553, 0.07134983688592911, 0.046527717262506485, -0.08462251722812653, -0.008982893079519272, 0.0062421937473118305, 0.03519827499985695, -0.04759100079536438, 0.010586980730295181, -0.024877114221453667, 0.03120180405676365, -0.00024892008514143527, -0.004195835907012224, -0.04036802053451538, 0.04421783238649368, -0.04018469527363777, -0.0032975466456264257, 0.023832164704799652, -0.025958728045225143, -0.03391500562429428, -0.0026696608401834965, -0.0029308979865163565, 0.01769080013036728, -0.009587863460183144, -0.01220023538917303, 0.006457600276917219, -0.04454781487584114, -0.05177079513669014, -0.004835179541260004, 0.04696769639849663, -0.0910022035241127, 0.056977204978466034, 0.012961030937731266, -0.005091833882033825, -0.008460418321192265, -0.020110679790377617, 0.058517131954431534, -0.004161462653428316, 0.0013096232432872057, 0.009917846880853176, -0.035711582750082016, -0.045207783579826355, -0.026325376704335213, 0.04887427017092705, -0.018323268741369247, -0.018304936587810516, 0.009024140425026417, 0.05771050229668617, -0.009193715639412403, 0.0314401239156723, 0.009060805663466454, -0.0014322214992716908, -0.0174066461622715, -0.061413656920194626, -0.02458379417657852, -0.06599676609039307, 0.02188892662525177, -0.014693446457386017, 0.06244027242064476, -0.07391637563705444, -0.0007470467244274914, 0.031733445823192596, -0.0174066461622715, 0.05166080221533775, -0.0000052365594456205145, -0.05734385550022125, -0.002383216517046094, -0.021613940596580505, -0.020807312801480293, 0.056977204978466034, -0.016398362815380096, 0.026398705318570137, 0.008680407889187336, 0.004968089517205954, -0.028506936505436897, -0.037214841693639755, -0.05477731302380562, -0.015747562050819397, -0.023483848199248314, 0.053200725466012955, -0.06947992742061615, -0.031330130994319916, -0.005389735568314791, 0.003478579455986619, -0.0009899514261633158, -0.03191676735877991, -0.04605107381939888, -0.03123846836388111, -0.01939571648836136, 0.04110131785273552, -0.024895446375012398, -0.02243890054523945, -0.03908475115895271, 0.01561006810516119, 0.07640958577394485, -0.026197049766778946, -0.028048625215888023, 0.009358707815408707, 0.01572006195783615, -0.06834331899881363, 0.01151276845484972, 0.03266839683055878, 0.02014734596014023, -0.05276074633002281, 0.030156854540109634, 0.014235135167837143, 0.07772952318191528, 0.0039666807278990746, 0.033181704580783844, 0.01066947728395462, 0.021265624091029167, 0.010550316423177719, -0.014794274233281612, 0.006219278555363417, 0.017314983531832695, -0.021412283182144165, -0.041211314499378204, -0.0001877642353065312, -0.011448604986071587, 0.06647340953350067, 0.015371746383607388, 0.049974218010902405, 0.007410886697471142, -0.0814693421125412, -0.007035071961581707, -0.009326625615358353, 0.055290620774030685, -0.045941080898046494, 0.0335116907954216, 0.13917984068393707, -0.008827066980302334, 0.015995049849152565, 0.000018833712601917796, -0.006352188531309366, 0.025243762880563736, 0.03241174295544624, 0.04986422136425972, -0.06071702390909195, -0.026600362733006477, 0.01388681959360838, 0.0050230869092047215, -0.02762697823345661, -0.06332022696733475, -0.025922061875462532, 0.028011959046125412, 0.014372628182172775, 0.01322685182094574, -0.049387577921152115, -0.020037351176142693, 0.06104700639843941, 0.005848046392202377, 0.06691338866949081, 0.008460418321192265, 0.06475015729665756, 0.020843977108597755, -0.02553708106279373, 0.018249938264489174, 0.01305269356817007, 0.022585559636354446, 0.022365570068359375, 0.01465678121894598, 0.019175726920366287, -0.011824420653283596, -0.0453544445335865, -0.08982893079519272, 0.050744179636240005, 0.014904269017279148, -0.00410875678062439, 0.0023167612962424755, -0.010064506903290749, 0.03521660715341568, -0.03879143297672272, 0.04161462560296059, 0.00912955217063427, -0.03442831337451935, -0.019909024238586426, 0.02836027555167675, 0.0030202686320990324, 0.040441349148750305, -0.028616929426789284, -0.023850496858358383, 0.0006410623318515718, -0.0047481004148721695, 0.03783814609050751, 0.010055339895188808, 0.0017404354875907302, 0.02034900151193142, 0.02302553690969944, 0.018992401659488678, -0.009285378269851208, -0.0415046326816082, -0.011586098931729794, 0.05173413082957268, 0.0038475196342915297, -0.01293353270739317, 0.042531248182058334, -0.010238664224743843, -0.006581344176083803, -0.03809479996562004, -0.03287005424499512, -0.004010220058262348, -0.021008970215916634, 0.02018401026725769, 0.0266736913472414, -0.02401548996567726, 0.00231790728867054, 0.030780157074332237, 0.015866722911596298, 0.0019799028523266315, -0.0071175675839185715, -0.03006519190967083, -0.023942159488797188, -0.01188858412206173, 0.04715102165937424, 0.05422734096646309, -0.0624036081135273, 0.041174646466970444, 0.0026742438785731792, -0.045977745205163956, 0.06346689164638519, 0.003920849412679672, 0.024107150733470917, 0.028506936505436897, -0.014207636937499046, 0.03668320178985596, -0.020403999835252762, -0.05305406451225281, -0.022915543988347054, -0.03593157231807709, -0.00657217763364315, 0.0005814819014631212, 0.029845204204320908, -0.016526689752936363, -0.008799568749964237, -0.001083332346752286, -0.034373313188552856, 0.01102695893496275, -0.04506112262606621, 0.011760257184505463, -0.006352188531309366, -0.0006983511848375201, -0.011641096323728561, 0.013529337011277676, 0.042201265692710876, 0.024033822119235992, 0.04011136665940285, -0.06453017145395279, 0.01683834195137024, 0.06892995536327362, -0.004812263883650303, -0.05789382755756378, -0.01187941711395979, 0.027920298278331757, -0.12194735556840897, -0.06387019902467728, 0.029936864972114563, -0.01568339765071869, -0.04762766510248184, -0.010696975514292717, 0.05041419342160225, -0.02876359038054943, 0.02854360081255436, 0.0567205511033535, -0.028268614783883095, -0.018350766971707344, -0.0026627860497683287, -0.019139060750603676, -0.031073477119207382, 0.005513479467481375, -0.047114357352256775, -0.04095465689897537, 0.007429218851029873, 0.024125482887029648, 0.022310573607683182, -0.00781878363341093, -0.02738865651190281, -0.019542375579476357, 0.06189030036330223, 0.0525774210691452, 0.03232008218765259, 0.012814371846616268, -0.017837459221482277, 0.0719364732503891, -0.03450164198875427, -0.00709923543035984, -0.016499191522598267, 0.0521007776260376, -0.05048752576112747, -0.07897612452507019, 0.023355521261692047, 0.0058251312002539635, -0.015930885449051857, -0.03140345960855484, 0.003952931147068739, -0.03175177797675133, 0.013666830025613308, -0.06489681452512741, 0.036243222653865814, 0.031880103051662445, 0.008519998751580715, 0.007186314091086388, -0.019322386011481285, -0.011375275440514088, -0.010999460704624653, -0.044071171432733536, -0.04784765467047691, 0.0039506396278738976, -0.02399715594947338, -0.030945150181651115, 0.061560314148664474, 0.0012042118469253182, 0.045427773147821426, 0.005568476859480143, 0.007809617090970278, 0.014335963875055313, 0.026508700102567673, -0.069626584649086, -0.013923483900725842, -0.0067967502400279045, 0.025518748909235, 0.0422745943069458, 0.05448399484157562, 0.003673361614346504, -0.002486336510628462, -0.008341257460415363, 0.04058801010251045, -0.03160511702299118, -0.028690259903669357, 0.06295357644557953, 0.07552962750196457, -0.06401686370372772, -0.010339492931962013, -0.07985608279705048, 0.02397882379591465, 0.03142179176211357, -0.01924905553460121, -0.033383361995220184, -0.009872015565633774, -0.01939571648836136, -0.028085289523005486, -0.017800793051719666, -0.00033800426172092557, -0.010632812045514584, -0.026508700102567673, 0.054520659148693085, 0.017947454005479813, 0.012786872684955597, 0.04143130034208298, 0.02914857119321823, 0.01198024582117796, 0.03429998457431793, -0.05895711109042168, -0.006682172417640686, -0.005774716846644878, 0.01561006810516119, -0.02757198177278042, -0.011173618957400322, 0.04392451420426369, 0.062146954238414764, -0.007937944494187832, -0.00723214540630579, -0.0030592249240726233, 0.03369501605629921, 0.03655487298965454, 0.018286602571606636, 0.0045785256661474705, -0.0005153132951818407, -0.08161599934101105, 0.01827743649482727, -0.008767486549913883, -0.005353070795536041, 0.004211877007037401, 0.002809445606544614, 0.025225430727005005, -0.027681976556777954, -0.06280691921710968, 0.01493176817893982, 0.03468496724963188, -0.021265624091029167, 0.021173961460590363, 0.019505709409713745, -0.04003803804516792, -0.03926807641983032, 0.0031256801448762417, -0.027168668806552887, -0.05954374745488167, -0.0300468597561121, -0.023190530017018318, 0.046344395726919174, -0.06438350677490234, 0.006773834582418203, -0.01697583496570587, 0.008946227841079235, -0.04803097993135452, 0.08520915359258652, -0.009065388701856136, 0.0007802742184139788, 0.026325376704335213, 0.02401548996567726, 0.017250820994377136, 0.027498651295900345, 0.036646537482738495, -0.010238664224743843, -0.05591392517089844, 0.05617057904601097, -0.06049703434109688, 0.014638449065387249, -0.007965442724525928, -0.008717072196304798, -0.058150481432676315, -0.022402234375476837, -0.03974471613764763, 0.09378873556852341, 0.03904808685183525, -0.08586912602186203, -0.030560167506337166, -0.002699451055377722, -0.030230185016989708, 0.05829714238643646, 0.04238458722829819, 0.006847164127975702, -0.008212930522859097, -0.010971962474286556, -0.046711042523384094, 0.03065183013677597, -0.017837459221482277, 0.03488662466406822, -0.0325034074485302, -0.012154404073953629, 0.0014895102940499783, -0.019285721704363823, -0.03743483126163483, -0.03259506821632385, -0.03714151307940483, 0.04110131785273552, -0.030321845784783363, 0.03706818073987961, -0.02055065892636776, -0.014409293420612812, -0.06911327689886093, 0.00781878363341093, 0.019762365147471428, -0.04377785325050354, 0.04033135622739792, 0.021852262318134308, -0.04003803804516792, -0.014904269017279148, -0.009661193005740643, 0.011732758022844791, -0.009679525159299374, 0.051514141261577606, 0.011778589338064194, -0.020129013806581497, -0.01417097169905901, -0.03134846314787865, -0.05917709693312645, 0.01941404864192009, -0.04421783238649368, -0.007314641494303942, 0.053200725466012955, -0.00034659760422073305, 0.03349335864186287, 0.025408754125237465, 0.025188764557242393, 0.003959805704653263, -0.026343708857893944, -0.020495662465691566, -0.036261554807424545, -0.003664195304736495, 0.014335963875055313, 0.04678437113761902, 0.02550041675567627, -0.05708720162510872, -0.014015146531164646, -0.018616586923599243, -0.061963628977537155, 0.03155012056231499, 0.040441349148750305, 0.060240380465984344, -0.0030752657912671566, 0.04880094155669212, -0.007461301051080227, 0.04095465689897537, -0.046527717262506485, -0.03875476494431496, -0.03422665596008301, -0.0175258070230484, 0.053017400205135345, 0.01227356493473053, 0.017663300037384033, 0.005568476859480143, 0.06973657757043839, -0.015014263801276684, -0.0006124178762547672, -0.04168795421719551, 0.015188422054052353, 0.0017473101615905762, 0.022145580500364304, 0.002591748023405671, 0.036041565239429474, 0.012557717971503735, -0.08506249636411667, -0.006773834582418203, -0.033786676824092865, 0.006237610708922148, -0.06350355595350266, -0.05085417255759239, 0.02168726921081543, -0.008029606193304062, -0.013236017897725105, 0.05514396354556084, 0.0177916269749403, 0.0567205511033535, -0.02471212111413479, -0.006773834582418203, 0.019084064289927483, 0.022182246670126915, 0.021375618875026703, 0.014629282988607883, 0.024437135085463524, 0.0036412798799574375, 0.03769148513674736, -0.0039666807278990746, 0.0176724661141634, 0.026123719289898872, -0.003673361614346504, -0.007548379711806774, 0.07750952988862991, 0.029973531141877174, -0.011439438909292221, -0.026123719289898872, -0.04975422844290733, 0.056830547749996185, -0.02511543594300747, 0.010421988554298878, -0.02341051958501339, 0.011457771994173527, 0.010907798074185848, -0.02645370364189148, -0.008185432292521, -0.03752649202942848, -0.016710013151168823, -0.021925590932369232, -0.04399784281849861, 0.037801481783390045, -0.00033542627352289855, 0.03486828878521919, -0.01744331233203411, -0.043887849897146225, 0.01857992261648178, -0.041761286556720734, 0.032851722091436386, -0.0009933888213708997, 0.03708651661872864, 0.10339493304491043, -0.03908475115895271, -0.08740904927253723, -0.026325376704335213, 0.005692220758646727, 0.025408754125237465, 0.03325503692030907, -0.013822655193507671, 0.03331003338098526, 0.03103681094944477, -0.012282731011509895, 0.0057976325042545795, -0.003927723970264196, 0.0329800508916378, -0.00044284286559559405, 0.021265624091029167, 0.08909562975168228, 0.006750918924808502, -0.04971756413578987, 0.028598597273230553, -0.04781099036335945, 0.08110269159078598, 0.008116685785353184, -0.010147002525627613, 0.054740648716688156, -0.011411940678954124, 0.01361183263361454, 0.12106739729642868, -0.03538160026073456, -0.014115974307060242, 0.03199009969830513, 0.04286123067140579, -0.05444733053445816, -0.013776824809610844, -0.002777363872155547, 0.038571443408727646, 0.05763717368245125, 0.04205460473895073, 0.04476780444383621, 0.02854360081255436, -0.019890692085027695, -0.05254075676202774, 0.05936042219400406, -0.007108401507139206, 0.03805813565850258, -0.015197588130831718, -0.03407999500632286, 0.05107416212558746, 0.03908475115895271, -0.05514396354556084, -0.07787618041038513, 0.06401686370372772, 0.025592079386115074, -0.03649987652897835, 0.010926131159067154, 0.011659428477287292, 0.016233371570706367, 0.009267045184969902, -0.01824077218770981, 0.06735336780548096, 0.031073477119207382, 0.003664195304736495, -0.03728817030787468, -0.018955737352371216, -0.09540198743343353, -0.027828635647892952, 0.007901279255747795, 0.034923288971185684, 0.01180608756840229, 0.012328562326729298, 0.028983578085899353, 0.009560364298522472, 0.04773765802383423 ]
41,006
pyglove.core.symbolic.list
__copy__
List.copy.
def __copy__(self) -> 'List': """List.copy.""" return self.sym_clone(deep=False)
(self) -> pyglove.core.symbolic.list.List
[ 0.00421149330213666, -0.04097246378660202, 0.04608098790049553, -0.017045795917510986, -0.07999882102012634, 0.009330878965556622, 0.0045698718167841434, 0.0013944191159680486, 0.05369165167212486, 0.009582830592989922, -0.04632425308227539, -0.06147607043385506, -0.0059165069833397865, 0.03440435975790024, -0.015551465563476086, 0.01376174297183752, 0.03160683065652847, -0.009643645957112312, -0.009556766599416733, 0.011268296279013157, -0.009704461321234703, -0.021476659923791885, 0.01371830329298973, 0.03718451038002968, -0.010460315272212029, 0.003551207482814789, 0.02693270519375801, 0.005842659156769514, -0.03056427650153637, 0.0032254087273031473, 0.011667942628264427, -0.02267559990286827, -0.040451183915138245, 0.008310042321681976, 0.049139153212308884, 0.00004184478893876076, -0.051954057067632675, 0.035898689180612564, -0.0385398305952549, -0.005434324964880943, 0.02483021654188633, -0.04872213304042816, -0.0011772197904065251, 0.014604476280510426, 0.052510086447000504, 0.029539095237851143, 0.007823516614735126, 0.022918863222002983, 0.02781887724995613, -0.05007745698094368, 0.016385510563850403, 0.05230157449841499, -0.03398733586072922, -0.0035099396482110023, -0.023005742579698563, 0.024222059175372124, 0.06509026885032654, 0.03287527710199356, -0.007271830458194017, 0.07103283703327179, -0.018991900607943535, -0.019078779965639114, -0.010651450604200363, -0.10849536210298538, 0.023005742579698563, -0.01829686388373375, -0.05376115441322327, -0.026063907891511917, 0.061267558485269547, -0.02790575660765171, -0.028270652517676353, 0.009626270271837711, 0.0011620159493759274, 0.027766749262809753, 0.00094698864268139, -0.015334266237914562, 0.04931291565299034, 0.009252686984837055, 0.013944190926849842, -0.0831959918141365, -0.06561154127120972, 0.015212634578347206, -0.0533788837492466, 0.044621411710977554, -0.05080724507570267, 0.015230010263621807, 0.03131144121289253, -0.00019303581211715937, -0.012771314941346645, 0.015273449942469597, -0.004439552314579487, 0.06498601287603378, -0.057896628975868225, 0.012397732585668564, -0.0012163156643509865, -0.02660256251692772, -0.026880577206611633, -0.06293565034866333, 0.026672065258026123, 0.0406249463558197, -0.01218053326010704, 0.039860405027866364, -0.07242291420698166, 0.003216720651835203, -0.00006729782762704417, 0.02748873457312584, 0.008270947262644768, -0.027210719883441925, -0.019825946539640427, 0.014508908614516258, -0.030129877850413322, 0.11905993521213531, -0.0018223015358671546, 0.005655867978930473, 0.023092621937394142, -0.0013955050380900502, 0.005660212133079767, -0.041841261088848114, 0.015742599964141846, 0.018279487267136574, 0.012936386279761791, 0.010938153602182865, -0.01513444259762764, 0.000026352376153226942, 0.0022523561492562294, 0.06665410101413727, 0.011685318313539028, -0.04427389055490494, -0.033744074404239655, -0.02529936656355858, -0.01715005189180374, -0.01157237496227026, -0.014283021911978722, 0.09230098873376846, 0.042049773037433624, -0.031641583889722824, -0.01013885997235775, 0.00045666139340028167, -0.023961419239640236, 0.003724966896697879, 0.004452584311366081, -0.030129877850413322, 0.07436902076005936, 0.07367397844791412, -0.05852216109633446, -0.03822706639766693, -0.0053474451415240765, 0.046637021005153656, -0.025142982602119446, 0.04437814652919769, -0.0008883448899723589, 0.05028596520423889, 0.020260345190763474, 0.015186570584774017, -0.04889589175581932, 0.06133706495165825, -0.05716683715581894, -0.056923575699329376, -0.007771388627588749, 0.0003638087073341012, -0.053344130516052246, -0.0025064791552722454, 0.009765277616679668, -0.0257511418312788, -0.02491709589958191, -0.013822559267282486, 0.02491709589958191, -0.10780032724142075, -0.048409365117549896, 0.01079045794904232, -0.003814018564298749, -0.06960801035165787, 0.03073803521692753, 0.038331322371959686, -0.008427330292761326, 0.05167604237794876, -0.019078779965639114, 0.053344130516052246, -0.0032362686470150948, -0.03718451038002968, -0.00417674146592617, -0.04319658502936363, -0.0623101145029068, 0.016150934621691704, 0.04510793834924698, 0.031224561855196953, -0.025699013844132423, 0.024500073865056038, 0.05674981698393822, 0.05025121569633484, -0.010799146257340908, 0.020051833242177963, 0.04535119980573654, -0.05306611582636833, -0.05560300499200821, -0.06370019167661667, -0.08090236783027649, 0.010738329961895943, -0.05285760387778282, 0.06543778628110886, -0.014361212961375713, -0.030042998492717743, 0.037323515862226486, -0.014317773282527924, 0.013197025284171104, -0.00041892300941981375, -0.04722779989242554, 0.00038905811379663646, 0.023631276562809944, 0.008062435314059258, 0.006641952786594629, 0.003355728229507804, 0.0652640238404274, -0.004730599466711283, 0.014812987297773361, -0.03697599843144417, -0.07138035446405411, -0.0641867145895958, 0.021772051230072975, -0.01231085229665041, 0.05167604237794876, -0.03009512647986412, -0.12482874095439911, 0.00042381000821478665, -0.03124193847179413, 0.013865998946130276, -0.017549697309732437, -0.040694449096918106, -0.019200412556529045, -0.042466793209314346, 0.026498306542634964, -0.05428243428468704, 0.010286555625498295, -0.04729730635881424, 0.035516418516635895, 0.0070633189752697945, -0.040451183915138245, 0.005056397989392281, -0.024291561916470528, 0.0247085839509964, -0.06950375437736511, 0.004739287309348583, 0.08882579952478409, 0.059495214372873306, -0.00024407764431089163, 0.023839788511395454, -0.010599322617053986, 0.036107201129198074, 0.04024267569184303, 0.0033036002423614264, -0.0036207111552357674, -0.006120674312114716, -0.03443910926580429, 0.0046306876465678215, 0.04059019312262535, 0.009626270271837711, -0.005751435644924641, -0.02529936656355858, -0.014187454245984554, -0.014152701944112778, 0.012475923635065556, -0.032058607786893845, 0.05084199830889702, -0.025959651917219162, -0.021702546626329422, 0.006020762957632542, -0.017845088616013527, 0.051363274455070496, -0.049382418394088745, 0.04945192113518715, 0.12559328973293304, -0.0087965689599514, -0.007323957979679108, 0.03794905170798302, -0.029156824573874474, -0.03035576455295086, -0.0033166322391480207, 0.019113533198833466, -0.0141005739569664, -0.02065999060869217, 0.03275364264845848, 0.033952582627534866, -0.014882491901516914, -0.05386541038751602, -0.029938742518424988, 0.023579148575663567, 0.01330128125846386, 0.008614121936261654, -0.047610070556402206, -0.013935502618551254, 0.04906965047121048, 0.041250478476285934, 0.06665410101413727, -0.022831983864307404, 0.08444706350564957, 0.052753351628780365, -0.04177175834774971, 0.05341363698244095, -0.012102341279387474, 0.04239729046821594, 0.007510749623179436, -0.007280518300831318, 0.04375261440873146, 0.05004270374774933, -0.007606317289173603, -0.05240583047270775, 0.00773663679137826, 0.030755411833524704, 0.010903401300311089, 0.017245618626475334, 0.04486467316746712, 0.014187454245984554, -0.01926991529762745, 0.071310855448246, 0.0019461051560938358, -0.048756882548332214, -0.024169931188225746, -0.01850537396967411, 0.03944338113069534, 0.05678456649184227, -0.07610660791397095, -0.03039051592350006, -0.004821822978556156, -0.013092770241200924, 0.03596819192171097, -0.0018027536571025848, 0.007480341475456953, 0.01998232863843441, 0.006363937631249428, 0.02397879585623741, -0.012762626633048058, 0.0155775286257267, 0.008240538649260998, 0.04788808524608612, -0.003266676561906934, -0.01304932963103056, 0.0008899738313630223, -0.005642835982143879, -0.050146959722042084, -0.07610660791397095, 0.0023913634940981865, 0.009495950303971767, -0.0010029174154624343, -0.02559475786983967, -0.0155775286257267, -0.011077160947024822, -0.005833971314132214, 0.05737534910440445, -0.013509792275726795, -0.019026651978492737, 0.03459549322724342, 0.0024261153303086758, 0.008553305640816689, 0.06092004105448723, 0.06717538088560104, 0.014117950573563576, -0.03979089856147766, 0.026567811146378517, -0.0445171557366848, -0.07499454915523529, 0.06491650640964508, 0.015681784600019455, 0.005360477138310671, -0.03878309577703476, 0.059078190475702286, 0.011563687585294247, -0.03673273324966431, -0.03148519992828369, -0.051363274455070496, -0.045420702546834946, -0.057653363794088364, -0.0386093370616436, -0.01631600596010685, -0.07735767960548401, -0.008818289265036583, -0.03718451038002968, -0.0564022958278656, -0.010269179940223694, -0.05911294370889664, 0.040068913251161575, 0.0584179051220417, -0.0158121045678854, -0.020225591957569122, -0.00465675164014101, 0.02444794587790966, 0.018748637288808823, 0.013266528956592083, 0.00040914907003752887, 0.040485937148332596, 0.02217169851064682, -0.04177175834774971, -0.028513915836811066, -0.023509645834565163, 0.03892210125923157, -0.04816610366106033, -0.0016670040786266327, 0.011798262596130371, 0.024187305942177773, -0.07058106362819672, -0.006237961817532778, 0.04615049436688423, -0.019669562578201294, 0.010269179940223694, 0.007797452621161938, -0.046602267771959305, -0.024552201852202415, 0.040277425199747086, 0.005938226822763681, 0.0007813742267899215, -0.03287527710199356, 0.0311550572514534, -0.00935694295912981, 0.00369890290312469, -0.01192858163267374, 0.05025121569633484, 0.009878220967948437, 0.025056103244423866, -0.02264084853231907, 0.055707260966300964, 0.006485569290816784, 0.03435223177075386, -0.015342953614890575, 0.005881755147129297, 0.038505081087350845, -0.008579369634389877, -0.0005256221629679203, -0.02542099915444851, 0.08437755703926086, -0.02264084853231907, -0.03815755993127823, 0.01549064926803112, 0.007224046625196934, -0.006889559794217348, -0.005451700650155544, 0.025281989946961403, -0.0464632585644722, 0.008501177653670311, -0.07624562084674835, 0.00243480340577662, 0.06957326084375381, 0.030616404488682747, 0.013292592950165272, 0.017749521881341934, -0.024222059175372124, 0.011963333934545517, 0.020642615854740143, -0.019165661185979843, -0.00891385693103075, 0.007371741812676191, -0.03431747853755951, 0.04152849316596985, 0.03157208114862442, 0.08722721040248871, -0.01847062259912491, -0.03801855444908142, 0.010660137981176376, -0.01850537396967411, -0.05105050653219223, -0.013987630605697632, -0.025872772559523582, 0.04628949984908104, 0.04229303449392319, 0.06213635578751564, -0.03937387838959694, 0.0023566116578876972, -0.030755411833524704, 0.0037141069769859314, 0.001948277116753161, 0.00482616713270545, 0.030755411833524704, 0.05581151321530342, -0.04469091445207596, -0.02929583191871643, -0.06804417818784714, 0.022571343928575516, 0.0031602487433701754, -0.03473450243473053, -0.04319658502936363, -0.038505081087350845, -0.027627741917967796, -0.061232808977365494, -0.050355471670627594, 0.020034456625580788, 0.014647915959358215, -0.031016049906611443, 0.004561183974146843, 0.015299513936042786, 0.011806949973106384, 0.008731408976018429, 0.025403622537851334, -0.011937269940972328, 0.031224561855196953, -0.07044205814599991, -0.00036245121737010777, -0.0010496153263375163, 0.009243999607861042, -0.026533057913184166, -0.004782726988196373, 0.04316183179616928, -0.014613164588809013, -0.029573848471045494, -0.004278825130313635, 0.022571343928575516, 0.05581151321530342, 0.010547194629907608, -0.0019439331954345107, 0.011224856600165367, -0.013865998946130276, -0.04764482378959656, -0.00818841066211462, 0.0217546746134758, 0.008045059628784657, -0.01371830329298973, -0.003920446150004864, 0.010712265968322754, -0.019200412556529045, -0.07409100234508514, 0.013388160616159439, 0.010173612274229527, -0.04927816241979599, 0.02811426855623722, 0.006420409306883812, -0.03396996110677719, -0.08034633845090866, -0.006654984317719936, -0.0455249585211277, -0.024552201852202415, -0.006016418803483248, 0.049347665160894394, 0.012093652971088886, -0.010625386610627174, -0.021476659923791885, -0.021928435191512108, 0.027506111189723015, -0.0018038395792245865, 0.0494866743683815, 0.014717419631779194, -0.01197202131152153, 0.0016365962801501155, 0.021633043885231018, -0.016455013304948807, 0.030512148514389992, 0.004272309131920338, -0.014587100595235825, -0.042849063873291016, 0.057305846363306046, -0.055081725120544434, -0.02719334326684475, -0.041667502373456955, 0.00044661591527983546, 0.0158468559384346, -0.033952582627534866, -0.011476807296276093, -0.00029403346707113087, 0.019947577267885208, -0.0066767046228051186, 0.023666027933359146, -0.024378441274166107, 0.01222397293895483, 0.005473420489579439, 0.02622029185295105, -0.025403622537851334, 0.02559475786983967, -0.060051243752241135, -0.012336916290223598, 0.041667502373456955, -0.016003239899873734, 0.03930437192320824, -0.020972758531570435, -0.014422029256820679, 0.04267530515789986, -0.00009509253868600354, 0.07853924483060837, 0.029139449819922447, 0.00734567828476429, 0.01108584925532341, 0.049139153212308884, 0.02950434386730194, -0.0018766013672575355, -0.05661080777645111, -0.01370092760771513, 0.021024886518716812, -0.01334472093731165, -0.029191577807068825, -0.02356177195906639, 0.006833088118582964, -0.02781887724995613, -0.017488881945610046, 0.018018849194049835, -0.043439846485853195, 0.008279634639620781, 0.07012929022312164, 0.011120600625872612, -0.018731262534856796, -0.05525548383593559, -0.02390929125249386, -0.08006832748651505, -0.014595788903534412, -0.011659255251288414, 0.06161507964134216, 0.03325754776597023, 0.04764482378959656, 0.04827035591006279, -0.011250920593738556, 0.014300397597253323, -0.0076975408010184765, -0.010799146257340908, -0.03784479573369026, 0.05758386105298996, 0.007432557642459869, 0.0008823719108477235, 0.009096303954720497, -0.003729310818016529, -0.11370814591646194, -0.011789574287831783, -0.01829686388373375, -0.029747607186436653, 0.043474599719047546, 0.009548078291118145, 0.02908732183277607, -0.03798380121588707, 0.013127521611750126, -0.003073369152843952, 0.027853630483150482, -0.04003416374325752, -0.0414937399327755, -0.030929170548915863, 0.049139153212308884, -0.0063291857950389385, 0.0029408775735646486, 0.02912207320332527, -0.03562067449092865, 0.027836253866553307, 0.01989544928073883, 0.008522897958755493, -0.01749756932258606, 0.011685318313539028, -0.014152701944112778, 0.018748637288808823, 0.08813076466321945, 0.020520983263850212, -0.03360506519675255, -0.011754822917282581, 0.02276247926056385, -0.10022441297769547, -0.0396171398460865, -0.01572522521018982, -0.060642026364803314, 0.007654101122170687, -0.009678398258984089, -0.044829923659563065, 0.05223207175731659, -0.009852156974375248, 0.06071152910590172, -0.004608967807143927, -0.00045937637332826853, -0.003329664235934615, 0.0061250184662640095, 0.025021351873874664, -0.023075247183442116, -0.008062435314059258, 0.017627889290452003, -0.015421145595610142, -0.024135177955031395, 0.05772286653518677, 0.026029156520962715, 0.016185685992240906, 0.01622912660241127, 0.035655427724123, 0.04469091445207596, -0.0365937277674675, -0.02444794587790966, -0.08013782650232315, 0.058487407863140106, -0.01939154788851738, -0.006767928134649992, 0.0012651855358853936, 0.009634957648813725, 0.006546385120600462, -0.004535119980573654, 0.006663672626018524, -0.03094654716551304, 0.014170077629387379, -0.034004710614681244, -0.03278839588165283, 0.09918186068534851, -0.011850390583276749, 0.01897452585399151, -0.022032691165804863, -0.0341784730553627, -0.03655897453427315, -0.02891356125473976, 0.024222059175372124, 0.025768516585230827, 0.008105874992907047, 0.06679310649633408, -0.051363274455070496, -0.08535061031579971, 0.027175968512892723, 0.01264968328177929, 0.006898247636854649, 0.02352702058851719, 0.007302238140255213, 0.04983419179916382, 0.04288381710648537, 0.001736507867462933, -0.04159799590706825, 0.0027779783122241497, 0.012102341279387474, 0.020920630544424057, 0.03351818397641182, 0.05052923038601875, 0.016246503219008446, -0.028479162603616714, 0.03536003455519676, -0.0494866743683815, 0.05914769694209099, -0.02495184727013111, -0.009895596653223038, 0.020347224548459053, 0.018696509301662445, -0.03965189307928085, 0.07575909048318863, 0.021528787910938263, 0.02840965986251831, 0.0643952265381813, 0.008231851272284985, -0.03944338113069534, -0.005234501324594021, -0.00613370630890131, 0.037705786526203156, 0.07044205814599991, 0.03485613316297531, 0.014925931580364704, 0.018818141892552376, -0.028357531875371933, -0.00404207780957222, 0.06905198097229004, -0.027558239176869392, 0.06860020756721497, 0.0032905684784054756, -0.014152701944112778, 0.020851125940680504, 0.09181445837020874, -0.10557620227336884, -0.046011485159397125, 0.018140479922294617, -0.017011044546961784, 0.019113533198833466, -0.04236253723502159, 0.0002918614773079753, -0.0006999245379120111, 0.0036598071455955505, -0.0029647694900631905, 0.029938742518424988, -0.010903401300311089, -0.00578618748113513, -0.023805035278201103, -0.039860405027866364, -0.06248387694358826, -0.030129877850413322, 0.008805257268249989, 0.02491709589958191, 0.0703030452132225, -0.016741717234253883, 0.018070975318551064, 0.012006773613393307, 0.007732292637228966 ]
41,007
pyglove.core.symbolic.list
__deepcopy__
null
def __deepcopy__(self, memo) -> 'List': return self.sym_clone(deep=True, memo=memo)
(self, memo) -> pyglove.core.symbolic.list.List
[ -0.004693790804594755, -0.04638173431158066, 0.03839302062988281, 0.0048623294569551945, -0.08710058033466339, 0.015589790418744087, -0.007428324315696955, 0.012994300574064255, 0.026949269697070122, 0.007276640273630619, -0.04112333804368973, 0.0014051878824830055, -0.025567255914211273, 0.021016722545027733, 0.009294886142015457, -0.0057387282140553, 0.04186490923166275, -0.006787878926843405, -0.023629065603017807, 0.03974132612347603, -0.0012735173804685473, 0.008671293966472149, 0.023140305653214455, 0.05187608301639557, -0.03043801337480545, -0.020662792026996613, 0.03449978679418564, 0.014738672412931919, -0.039471663534641266, 0.03333687037229538, -0.01055892277508974, -0.0033834059722721577, -0.02738747000694275, 0.03170204907655716, 0.04998845234513283, -0.02132009156048298, -0.04095480218529701, 0.053595170378685, -0.05086485296487808, -0.03123014234006405, 0.025954894721508026, -0.040617723017930984, -0.005692380480468273, 0.013483062386512756, 0.04604465514421463, 0.0026839720085263252, -0.00006076594945625402, 0.0366402193903923, 0.0016148074064403772, -0.09080842137336731, -0.00016853827401064336, 0.042943552136421204, -0.02342681959271431, 0.004537892993539572, 0.010322969406843185, 0.023713335394859314, 0.05541538447141647, -0.004287192597985268, 0.015775183215737343, 0.05373000353574753, -0.06724677234888077, -0.043213214725255966, 0.0168959628790617, -0.0713253989815712, -0.00527946138754487, -0.025263886898756027, -0.07462874799966812, -0.03090992011129856, 0.06050524115562439, -0.02401670441031456, -0.043651413172483444, -0.010567350313067436, 0.021623460575938225, 0.01457013376057148, 0.0021299023646861315, -0.030235767364501953, 0.06181984022259712, -0.008296296931803226, 0.015235859900712967, -0.06950518488883972, -0.11089818179607391, 0.015421251766383648, -0.07355010509490967, 0.03412900120019913, -0.06964001804590225, 0.02772454544901848, 0.038291897624731064, 0.0127583472058177, 0.011772398836910725, 0.024556025862693787, -0.00111445935908705, 0.025230180472135544, -0.05561763048171997, 0.006935350131243467, -0.024185242131352425, -0.030623404309153557, -0.01924707181751728, -0.031179580837488174, 0.0009000997524708509, 0.052179448306560516, -0.008662867359817028, 0.021185262128710747, -0.0860893502831459, 0.03416270762681961, -0.0038363526109606028, -0.004306152928620577, -0.008599665947258472, -0.021758291870355606, -0.0034571413416415453, 0.011772398836910725, -0.05585358291864395, 0.09997690469026566, -0.014334180392324924, -0.0017022365937009454, 0.021185262128710747, 0.029864981770515442, -0.010407238267362118, -0.04857273027300835, 0.005085642449557781, 0.0089156748726964, -0.003128491807729006, -0.0038616331294178963, -0.010516788810491562, -0.0041439346969127655, -0.003752083284780383, 0.06802204996347427, 0.026848146691918373, -0.022179637104272842, -0.040786262601614, -0.008431127294898033, -0.013255535624921322, 0.0018265335820615292, -0.00359829212538898, 0.08561744540929794, 0.03187058866024017, -0.025668378919363022, 0.0030147284269332886, -0.02973015233874321, -0.0291571207344532, 0.017089780420064926, 0.00030995241831988096, -0.011814532801508904, 0.043887365609407425, 0.06505577266216278, -0.027707692235708237, -0.04921317473053932, -0.022011099383234978, 0.05035923793911934, -0.025381864979863167, 0.04894351586699486, -0.010129150003194809, 0.03264586254954338, 0.0242358036339283, 0.04705588519573212, -0.05130305141210556, 0.08959494531154633, -0.04823565483093262, -0.01101397629827261, -0.016879107803106308, 0.0060168164782226086, -0.04607836529612541, 0.010971841402351856, 0.004038598388433456, -0.03299979493021965, -0.030235767364501953, -0.005073002073913813, 0.0356626994907856, -0.108740895986557, -0.05305584892630577, 0.0162049550563097, -0.02307288907468319, -0.07321302592754364, 0.04489859566092491, 0.027320055291056633, -0.017544833943247795, 0.03126385062932968, -0.030977334827184677, 0.023106597363948822, -0.0027092527598142624, 0.0018370671896263957, -0.05302214249968529, -0.03485371544957161, -0.04756150022149086, -0.011637567542493343, 0.03815706446766853, 0.02716837078332901, 0.00008789007551968098, 0.013921261765062809, 0.05184237286448479, 0.04887609928846359, -0.05281989648938179, 0.01808415725827217, 0.06259511411190033, -0.05760638415813446, -0.029426783323287964, -0.05396595597267151, -0.04732554778456688, 0.049853622913360596, -0.034685175865888596, 0.06765126436948776, -0.023494236171245575, -0.027134662494063377, 0.025044787675142288, -0.03519079089164734, 0.013247108086943626, 0.022095367312431335, -0.06401083618402481, -0.006480296608060598, 0.05342663452029228, 0.01934819482266903, 0.003025262150913477, -0.005266821011900902, 0.04756150022149086, -0.0009538212907500565, 0.005646032281219959, -0.0392020046710968, -0.05362888053059578, -0.038426727056503296, 0.03146609663963318, -0.019044825807213783, 0.0370447114109993, -0.051808666437864304, -0.12404417246580124, 0.005553336348384619, -0.025938041508197784, 0.020544815808534622, -0.03449978679418564, -0.029005438089370728, -0.0152695681899786, -0.03697729855775833, 0.00291360542178154, -0.06458386778831482, 0.03412900120019913, -0.025584110990166664, 0.06256140768527985, 0.006429735105484724, -0.05197720229625702, -0.022651543840765953, -0.010424092411994934, 0.03633685037493706, -0.06802204996347427, 0.00827522948384285, 0.09411177039146423, 0.060909733176231384, 0.008966236375272274, 0.03869638964533806, -0.0034634615294635296, 0.03825818747282028, 0.046819932758808136, 0.024623442441225052, -0.01072746142745018, 0.017182476818561554, -0.011216222308576107, -0.014477438293397427, 0.05817941203713417, -0.010862291790544987, 0.0005472227348946035, -0.012497113086283207, 0.007731693331152201, -0.014671256765723228, 0.047864869236946106, -0.018016742542386055, 0.05207832530140877, -0.020544815808534622, -0.038055941462516785, 0.0015789929311722517, -0.02507849596440792, 0.0356626994907856, -0.06053894758224487, 0.0596962571144104, 0.08346015214920044, -0.01183138694614172, 0.012328574433922768, 0.03465146943926811, -0.02693241648375988, -0.026645900681614876, 0.006981697864830494, 0.034331247210502625, -0.04419073462486267, -0.016845401376485825, 0.015151591040194035, 0.015016760677099228, 0.01751112751662731, -0.05622436851263046, -0.04092109203338623, 0.009193763136863708, 0.026140285655856133, -0.0002471455663908273, -0.026949269697070122, -0.0044072759337723255, 0.060909733176231384, 0.03707842156291008, 0.055786170065402985, -0.00510249612852931, 0.059999626129865646, 0.03461776301264763, -0.025921186432242393, 0.041561540216207504, -0.023645920678973198, 0.050291821360588074, -0.0007094407919794321, -0.022213345393538475, 0.018387526273727417, 0.024218950420618057, 0.008051916025578976, -0.02565152570605278, 0.004175535868853331, 0.027117809280753136, 0.04442669078707695, 0.034685175865888596, 0.03576382249593735, 0.030488574877381325, -0.0120167788118124, 0.08615676313638687, -0.019904369488358498, -0.07193213701248169, -0.02285378985106945, -0.037819989025592804, 0.057067058980464935, 0.05295472592115402, -0.0650220662355423, -0.01608697883784771, -0.04240423068404198, -0.018370671197772026, 0.002079340862110257, -0.02007290907204151, 0.021404361352324486, 0.02998295985162258, 0.014317326247692108, 0.018016742542386055, 0.013247108086943626, -0.016744278371334076, 0.0013419860042631626, 0.06434791535139084, 0.009876342490315437, -0.005810357164591551, 0.024876249954104424, -0.018960556015372276, -0.03950536996126175, -0.07705570012331009, 0.041561540216207504, -0.0049845194444060326, -0.02248300611972809, -0.038291897624731064, 0.03342114016413689, 0.0014841902302578092, 0.031786318868398666, 0.051471590995788574, -0.007238719146698713, 0.028752630576491356, 0.026258263736963272, -0.015244287438690662, 0.014865076169371605, 0.03308406472206116, 0.07914557307958603, 0.03208968788385391, -0.03180317208170891, 0.005148844327777624, -0.05524684488773346, -0.07557256519794464, 0.038291897624731064, 0.01474709901958704, 0.01130049116909504, -0.01622180826961994, 0.0860893502831459, 0.0030189419630914927, -0.04894351586699486, -0.021134700626134872, -0.002338468562811613, -0.04998845234513283, -0.03741549700498581, -0.03299979493021965, -0.011207795701920986, -0.04887609928846359, 0.0011302598286420107, -0.022887498140335083, -0.049819912761449814, -0.0014525892911478877, -0.03741549700498581, 0.039572786539793015, 0.04597724229097366, -0.014056092128157616, -0.0004460997588466853, -0.012193744070827961, 0.02821330726146698, 0.02634253166615963, 0.03030318208038807, -0.006071591284126043, 0.06869620084762573, 0.019904369488358498, -0.03414585441350937, -0.01183981355279684, -0.004038598388433456, 0.05942659452557564, -0.019516732543706894, -0.017881911247968674, 0.05305584892630577, -0.0001510260917712003, -0.07146023213863373, -0.028415553271770477, 0.04955025389790535, -0.03916829451918602, 0.01820213347673416, 0.015581363812088966, -0.062325455248355865, -0.015244287438690662, 0.0019813780672848225, 0.009834208525717258, -0.0014673363184556365, -0.01784820295870304, 0.023477381095290184, -0.027336908504366875, 0.02379760518670082, -0.019398756325244904, 0.05248281732201576, -0.015463386662304401, 0.01714877039194107, -0.03583123907446861, 0.058819856494665146, 0.02064593881368637, 0.06586475670337677, -0.018134718760848045, -0.0024353780318051577, 0.014081372879445553, -0.007575795520097017, 0.0039753965102136135, -0.029241390526294708, 0.0673816055059433, -0.03502225503325462, -0.04095480218529701, 0.015539228916168213, -0.007158663123846054, 0.021404361352324486, -0.03353911638259888, -0.010078588500618935, -0.04044918715953827, -0.007807535585016012, -0.06316814571619034, -0.0025997029151767492, 0.061246808618307114, 0.03711212798953056, 0.012640370987355709, 0.02271896041929722, -0.017106635496020317, 0.03660651296377182, 0.042943552136421204, -0.002791415201500058, 0.007664278149604797, -0.01735944300889969, -0.017881911247968674, 0.02415153570473194, 0.02671331726014614, 0.053696293383836746, -0.03416270762681961, -0.03190429508686066, 0.01020499225705862, -0.03970761597156525, -0.045303087681531906, -0.013078570365905762, 0.012783627957105637, 0.05598841607570648, 0.028617799282073975, 0.0794152319431305, -0.020460546016693115, -0.0247245654463768, -0.05410078540444374, 0.0072007980197668076, 0.026881854981184006, 0.01968527026474476, -0.01353362388908863, 0.04655027016997337, -0.03674134239554405, -0.025584110990166664, -0.07671862095594406, 0.030252620577812195, -0.010786449536681175, -0.018724601715803146, -0.04698847234249115, -0.016483044251799583, -0.027303200215101242, -0.06299960613250732, -0.05278618633747101, 0.039808738976716995, -0.015286421403288841, -0.02949419803917408, 0.0012355962535366416, 0.014030811376869678, -0.005174125079065561, -0.015682486817240715, 0.03242676332592964, -0.0496513769030571, 0.023848166689276695, -0.06778609752655029, 0.008313150145113468, 0.008338430896401405, 0.014418449252843857, -0.009943758137524128, 0.013879126869142056, 0.04392107576131821, -0.02448861114680767, -0.03077508881688118, 0.010280834510922432, 0.0354604534804821, 0.055550213903188705, -0.02271896041929722, 0.007310347631573677, 0.0002981020661536604, -0.005949401296675205, -0.05049406737089157, -0.0216740220785141, 0.02507849596440792, 0.00021488629863597453, -0.027353761717677116, 0.009480278007686138, -0.011325771920382977, -0.020780770108103752, -0.07307819277048111, -0.01853921078145504, -0.008043489418923855, -0.07274112105369568, 0.023157158866524696, 0.03839302062988281, 0.002981020836159587, -0.08858371526002884, 0.0029957678634673357, -0.019769540056586266, -0.034213270992040634, -0.006914282683283091, 0.031213289126753807, -0.009311739355325699, -0.0016674755606800318, -0.006037883926182985, -0.0017306774388998747, 0.04746037721633911, -0.0004971878952346742, 0.003587758634239435, 0.012969020754098892, -0.0025849558878690004, -0.02460658736526966, 0.016946524381637573, -0.009337020106613636, 0.00001742988570185844, 0.007955006323754787, -0.045539043843746185, -0.046921055763959885, 0.08453880250453949, -0.02555040270090103, -0.00821202713996172, -0.05750526115298271, -0.013238681480288506, 0.005957827903330326, -0.03018520586192608, -0.005203619133681059, -0.01724146492779255, -0.002504900097846985, -0.01061791181564331, 0.02506164088845253, -0.038864925503730774, 0.04024694114923477, -0.0020519534591585398, 0.039134588092565536, -0.0013662134297192097, 0.010129150003194809, -0.04499971866607666, -0.024994226172566414, 0.015320129692554474, -0.0311290193349123, 0.04779745638370514, -0.011873521842062473, 0.0007389350212179124, 0.05514572188258171, 0.00011521171109052375, 0.05571875348687172, 0.017443710938096046, 0.0208818931132555, 0.022584129124879837, 0.032578449696302414, 0.003752083284780383, 0.01887628622353077, -0.05588729307055473, -0.000578823615796864, 0.008705002255737782, -0.019735831767320633, -0.01598585583269596, -0.017410004511475563, 0.02588748000562191, -0.036909881979227066, 0.013213400729000568, 0.0008058236562646925, -0.02671331726014614, 0.018101010471582413, 0.0918196514248848, -0.018589772284030914, -0.026072870939970016, -0.07314561307430267, -0.013542050495743752, -0.08076354116201401, 0.008153039030730724, 0.0011007656576111913, 0.03849414363503456, 0.0036193595733493567, 0.04034806415438652, 0.02015717700123787, 0.0002857250510714948, -0.0023700695019215345, -0.003061076393350959, -0.023241428658366203, -0.02752230130136013, 0.059291765093803406, 0.038763802498579025, -0.013980249874293804, 0.008763990364968777, 0.03542674705386162, -0.07678604125976562, -0.021050430834293365, -0.019078532233834267, -0.030488574877381325, 0.014148788526654243, -0.015261140652000904, 0.02868521399796009, -0.05484235659241676, 0.016280798241496086, 0.012126329354941845, 0.026848146691918373, -0.06643778830766678, -0.03697729855775833, -0.03697729855775833, 0.04631431773304939, -0.001972951227799058, 0.017645956948399544, -0.014738672412931919, 0.0033960463479161263, 0.006901642307639122, 0.04746037721633911, 0.014890356920659542, -0.00966566987335682, 0.018606625497341156, -0.015160017646849155, 0.026089724153280258, 0.05184237286448479, -0.006147433537989855, -0.022432444617152214, -0.012033632956445217, 0.011224648915231228, -0.09997690469026566, -0.04803340882062912, 0.01545496005564928, -0.0278762299567461, 0.017182476818561554, -0.009176908992230892, -0.05073001980781555, 0.008696574717760086, -0.011822960339486599, 0.0634378045797348, 0.02949419803917408, 0.025044787675142288, 0.014241483993828297, 0.010685326531529427, 0.04149412363767624, -0.008241522125899792, -0.00821202713996172, -0.0025849558878690004, -0.03832560405135155, -0.03436495363712311, 0.0520109124481678, 0.029089706018567085, 0.01200835220515728, 0.018842579796910286, 0.022921204566955566, 0.03835931047797203, -0.03139868006110191, -0.03158407285809517, -0.05046036094427109, 0.03219081088900566, -0.013213400729000568, -0.013272388838231564, -0.03333687037229538, 0.042741306126117706, 0.0034866356290876865, 0.02239873632788658, 0.013702161610126495, -0.004074412863701582, 0.00991847738623619, 0.014376315288245678, -0.03519079089164734, 0.11521276831626892, 0.019061679020524025, 0.03443237021565437, -0.03751662001013756, -0.029224537312984467, -0.03535933047533035, -0.036303143948316574, 0.04648285731673241, 0.04479747265577316, -0.008195173926651478, 0.07105574011802673, -0.0671793594956398, -0.06357263773679733, 0.05605582892894745, 0.004181855823844671, -0.005839851219207048, 0.03647168353199959, 0.007811748888343573, 0.04641544073820114, 0.049617666751146317, -0.01875831000506878, -0.015699340030550957, -0.01656731218099594, -0.004689577501267195, 0.042741306126117706, 0.033994171768426895, 0.04749408736824989, 0.035864945501089096, -0.02027515508234501, 0.024909956380724907, -0.04722442477941513, 0.0484716072678566, -0.04247164726257324, 0.0008116171229630709, 0.02017403207719326, 0.019516732543706894, -0.049381714314222336, 0.052651356905698776, 0.01586787775158882, 0.00300208805128932, 0.06539285182952881, 0.0050308676436543465, -0.017578542232513428, 0.001694863080047071, -0.02775825373828411, 0.018859433010220528, 0.038527850061655045, 0.05093226581811905, 0.016238663345575333, 0.0032928164582699537, -0.032359350472688675, 0.00844798143953085, 0.07287594676017761, -0.04048289358615875, 0.06616812944412231, -0.03765144944190979, -0.0008816658519208431, -0.0014831367880105972, 0.1276845932006836, -0.0715276449918747, -0.03284810855984688, 0.012800482101738453, -0.009438143111765385, 0.008856686763465405, -0.07894332706928253, 0.021404361352324486, -0.010061735287308693, 0.02263469062745571, 0.004223990719765425, 0.024572880938649178, -0.007171303499490023, -0.016154393553733826, -0.05315697193145752, -0.03866267949342728, -0.05908951908349991, -0.01229486707597971, -0.006442375481128693, -0.016634726896882057, 0.05922434851527214, -0.03859526664018631, 0.0085701709613204, 0.03337057679891586, 0.0061137257143855095 ]
41,008
pyglove.core.symbolic.list
__delitem__
Delete an item from the List.
def __delitem__(self, index: int) -> None: """Delete an item from the List.""" if base.treats_as_sealed(self): raise base.WritePermissionError('Cannot delete item from a sealed List.') if not base.writtable_via_accessors(self): raise base.WritePermissionError( self._error_message('Cannot delete List item while accessor_writable ' 'is set to False. ' 'Use \'rebind\' method instead.')) if not isinstance(index, numbers.Integral): raise TypeError( f'list index must be an integer. Encountered {index!r}.') if index < -len(self) or index >= len(self): raise IndexError( f'list index out of range. ' f'Length={len(self)}, index={index}') old_value = self.sym_getattr(index) super().__delitem__(index) if flags.is_change_notification_enabled(): self._notify_field_updates([ base.FieldUpdate( self.sym_path + index, self, self._value_spec.element if self._value_spec else None, old_value, pg_typing.MISSING_VALUE) ])
(self, index: int) -> NoneType
[ 0.033345434814691544, 0.00029203263693489134, -0.03383394330739975, -0.0203908309340477, -0.02907548099756241, -0.05883849784731865, -0.02502264454960823, 0.027718504890799522, 0.03347208350896835, -0.009087218903005123, -0.05221645161509514, 0.020788878202438354, 0.011489066295325756, -0.006034021731466055, -0.02013752982020378, 0.01943190209567547, -0.011669997125864029, 0.044762127101421356, 0.036656454205513, -0.016120878979563713, -0.0009363137069158256, 0.018093017861247063, 0.0027976329438388348, 0.022561993449926376, -0.044979244470596313, 0.023557109758257866, 0.04924919456243515, 0.031101899221539497, 0.038067709654569626, -0.03638505935668945, -0.009326950646936893, -0.010322066955268383, -0.04353180155158043, 0.01489055436104536, 0.005115801002830267, -0.007960927672684193, -0.06958574801683426, 0.020065156742930412, -0.014121601358056068, 0.050732824951410294, 0.04089022055268288, -0.0024855283554643393, 0.05967077612876892, -0.04128826782107353, 0.07356621325016022, 0.07309579104185104, -0.005093184765428305, 0.062167610973119736, -0.0025805167388170958, 0.0014316100860014558, -0.00867560226470232, 0.04165012761950493, 0.018635809421539307, -0.011679043062031269, -0.02619869075715542, 0.05087756738066673, 0.028623154386878014, 0.03265789896249771, 0.05521989241242409, 0.02120501734316349, 0.033327341079711914, -0.0023294761776924133, -0.024696970358490944, -0.0981365293264389, 0.045702964067459106, -0.02994394488632679, 0.03282073512673378, -0.020716506987810135, 0.0111362524330616, -0.03549850359559059, 0.0027184761129319668, -0.02495027333498001, 0.007323149126023054, 0.03097524680197239, 0.01544239092618227, -0.043748918920755386, 0.0339244082570076, 0.034195803105831146, 0.060285937041044235, -0.03842956945300102, 0.02013752982020378, 0.008015207014977932, 0.009815462864935398, 0.032205574214458466, -0.04541347548365593, 0.043966036289930344, 0.050551895052194595, -0.012411810457706451, -0.014700577594339848, 0.03944278135895729, -0.024497946724295616, -0.006373265758156776, -0.05210789293050766, -0.023430459201335907, -0.02118692547082901, -0.03303785249590874, 0.023430459201335907, -0.0719740241765976, -0.009326950646936893, 0.00252397614531219, 0.05109468474984169, 0.03973226994276047, 0.004957486875355244, 0.0082232765853405, 0.000733332650270313, 0.006264707539230585, 0.03689166530966759, -0.040057942271232605, -0.01642846129834652, 0.014673437923192978, -0.03081241063773632, 0.044762127101421356, -0.005649545229971409, -0.04320612922310829, 0.016989344730973244, 0.02788134105503559, -0.04628194123506546, -0.06278277188539505, 0.008983183652162552, -0.037090688943862915, 0.049502499401569366, -0.009914973750710487, -0.05228882282972336, -0.0034263653215020895, 0.0618419386446476, 0.04523254558444023, -0.03926185145974159, -0.005360056646168232, 0.023918969556689262, 0.034394826740026474, -0.027284272015094757, 0.005355533678084612, -0.0005654068081639707, 0.031300920993089676, 0.03396059572696686, 0.015532856807112694, 0.04885115101933479, -0.023611389100551605, -0.09444555640220642, -0.017568320035934448, 0.00407997565343976, -0.004204364959150553, 0.07418137788772583, 0.05663114786148071, 0.03490143269300461, -0.014791042543947697, -0.06006881967186928, -0.00034489817335270345, -0.047620825469493866, 0.01063869521021843, -0.05699300765991211, 0.04432789608836174, 0.020427018404006958, -0.03258552774786949, -0.02104218117892742, 0.04530491679906845, -0.0738556981086731, -0.020010879263281822, -0.05272305756807327, -0.008291125297546387, 0.01687173917889595, 0.03473859652876854, 0.029328782111406326, 0.03479287400841713, -0.05688444897532463, 0.03256743401288986, -0.010656788013875484, -0.05699300765991211, -0.07251682132482529, 0.032893106341362, 0.005174603313207626, -0.004333277698606253, 0.03379775956273079, 0.04548584669828415, -0.021422134712338448, 0.06792119145393372, -0.02502264454960823, 0.05590742826461792, 0.02974492311477661, -0.1082686260342598, -0.01735120452940464, -0.04411077871918678, -0.02037273906171322, -0.03385203704237938, 0.012294205836951733, 0.08264891058206558, -0.053555335849523544, 0.02225441299378872, 0.05142035707831383, 0.047729384154081345, -0.04465356841683388, -0.042735710740089417, 0.03206082805991173, -0.06831923872232437, -0.01687173917889595, 0.013714508153498173, -0.0387190580368042, -0.006287323776632547, 0.01685364730656147, -0.006875346880406141, -0.04125208035111427, -0.007124125957489014, 0.026506271213293076, -0.0018443571170791984, -0.05004528909921646, -0.01692601852118969, 0.034394826740026474, -0.016645576804876328, -0.039080921560525894, 0.020626040175557137, 0.002856435254216194, 0.03756110742688179, 0.008431346155703068, 0.02884027175605297, 0.0460648238658905, -0.11507159471511841, -0.062348540872335434, -0.025637807324528694, 0.06926007568836212, -0.007268870249390602, 0.04168631508946419, -0.005572649650275707, -0.016989344730973244, -0.018852924928069115, 0.0388999879360199, 0.013180764392018318, -0.009562159888446331, -0.013253135606646538, 0.012276113033294678, 0.007128649391233921, -0.007748335134238005, -0.010846764780580997, 0.04610101133584976, 0.0006920579471625388, 0.03368920087814331, 0.03645743057131767, -0.07989876717329025, -0.020951716229319572, -0.047801755368709564, 0.010493950918316841, -0.026397714391350746, 0.008707265369594097, 0.02326762117445469, 0.08539904654026031, 0.006739649455994368, 0.07700388878583908, 0.02786324918270111, 0.05333821848034859, -0.0029242841992527246, -0.04700566083192825, 0.013642136007547379, -0.0019823163747787476, 0.0008221015450544655, 0.04143301397562027, 0.019522367045283318, -0.016636529937386513, -0.065786212682724, -0.0008520680712535977, -0.021548785269260406, -0.010276834480464458, -0.02784515544772148, -0.07504983991384506, -0.007951881736516953, 0.009815462864935398, 0.04530491679906845, 0.025764457881450653, 0.046897102147340775, 0.08395160734653473, 0.011624764651060104, 0.06451970338821411, 0.04508780315518379, -0.04175868630409241, 0.01540620531886816, -0.04610101133584976, -0.027483295649290085, 0.05315728858113289, -0.0261263195425272, -0.02315906435251236, -0.017396437004208565, -0.007829753682017326, 0.05214408040046692, -0.008847486227750778, 0.003971417434513569, 0.016419414430856705, -0.01733311079442501, 0.058331891894340515, 0.023629482835531235, 0.013162670657038689, -0.017568320035934448, 0.05887468159198761, 0.04121589660644531, -0.013669275678694248, 0.03965989500284195, -0.0009408369660377502, 0.056377846747636795, 0.020662227645516396, -0.07772760838270187, 0.06951338052749634, -0.012827950529754162, 0.018246809020638466, -0.0031934177968651056, 0.02976301498711109, -0.04906826466321945, 0.003736208425834775, 0.02205538935959339, -0.04852547496557236, 0.040021758526563644, 0.026524364948272705, 0.008060439489781857, 0.020879343152046204, 0.050551895052194595, 0.033291153609752655, -0.022833390161395073, 0.06310845166444778, 0.06654611974954605, -0.039913199841976166, -0.03191608563065529, -0.02044511027634144, 0.01197757851332426, 0.0661480724811554, -0.0561969168484211, -0.013669275678694248, -0.024606505408883095, -0.0000746337027521804, 0.006879870314151049, -0.027519481256604195, -0.02319524995982647, 0.04125208035111427, -0.021639250218868256, 0.05138417333364487, -0.011959484778344631, -0.004957486875355244, -0.0016306332545354962, -0.04516017436981201, 0.009914973750710487, -0.031481850892305374, 0.043133754283189774, 0.03095715492963791, 0.0017052670009434223, -0.0030124876648187637, -0.03207892179489136, 0.014754856936633587, 0.03965989500284195, 0.010240648873150349, -0.04411077871918678, -0.03463003784418106, 0.030360085889697075, 0.011534299701452255, 0.02609013207256794, 0.034141525626182556, 0.06245709955692291, -0.011470973491668701, -0.03003440983593464, -0.007305056322365999, 0.05912798270583153, -0.04530491679906845, -0.021584970876574516, -0.018834833055734634, -0.02310478501021862, -0.0767143964767456, 0.019124319776892662, -0.022435342893004417, 0.004154609516263008, -0.027700411155819893, -0.012384670786559582, -0.04943012818694115, -0.06343412399291992, -0.0969785824418068, -0.006739649455994368, -0.01685364730656147, -0.027664225548505783, -0.0541343130171299, 0.005495754536241293, 0.028586968779563904, 0.07356621325016022, -0.019902320578694344, 0.030378177762031555, 0.061262961477041245, -0.054315242916345596, -0.0179935060441494, -0.010530136525630951, -0.05297635868191719, 0.020571762695908546, 0.021765900775790215, -0.016184205189347267, 0.016935065388679504, -0.032314129173755646, 0.005355533678084612, -0.03343589976429939, 0.025493063032627106, -0.028713621199131012, -0.026596738025546074, -0.047693196684122086, 0.0013614996569231153, -0.06726983934640884, 0.002958208555355668, 0.004283522255718708, -0.025420691817998886, -0.04530491679906845, -0.0423014760017395, 0.02601776085793972, 0.003059981856495142, -0.0074678934179246426, 0.004975580144673586, 0.020698413252830505, -0.020987901836633682, -0.019775670021772385, -0.008937951177358627, -0.01304506603628397, -0.025348318740725517, 0.054496172815561295, 0.03566133975982666, 0.04921301081776619, 0.022851482033729553, 0.06763170659542084, -0.0178125761449337, -0.012656066566705704, 0.00790212582796812, 0.04718659073114395, 0.038067709654569626, -0.022797202691435814, -0.008386113680899143, 0.00040596211329102516, 0.013370740227401257, -0.06180575117468834, -0.04548584669828415, -0.010385392233729362, 0.025330225005745888, -0.03602319955825806, 0.010448718443512917, -0.0019054210279136896, -0.04364036023616791, -0.020463204011321068, -0.0036050339695066214, -0.03347208350896835, 0.010113997384905815, -0.004254120867699385, -0.03146376088261604, -0.030378177762031555, 0.05605217069387436, 0.013804973103106022, 0.005138417240232229, 0.03926185145974159, 0.029165945947170258, 0.05956221744418144, 0.027248086407780647, 0.026524364948272705, -0.009096264839172363, 0.014338716864585876, -0.004735847469419241, 0.03341780602931976, 0.01797541417181492, 0.03164469078183174, -0.022435342893004417, -0.02806227095425129, -0.08474770188331604, -0.05196315050125122, -0.04751226678490639, -0.009887835010886192, -0.018491065129637718, 0.034159619361162186, 0.08127383887767792, -0.015424298122525215, -0.11326229572296143, -0.04516017436981201, 0.013633089140057564, 0.019033854827284813, 0.01797541417181492, -0.017396437004208565, 0.028713621199131012, -0.003878690768033266, -0.03578799217939377, -0.057282496243715286, -0.0674869567155838, -0.07298723608255386, 0.02502264454960823, 0.00967976450920105, 0.015071484260261059, 0.017577366903424263, -0.045702964067459106, 0.031427573412656784, -0.04816361516714096, 0.056594960391521454, 0.007770951371639967, -0.011679043062031269, 0.01210422907024622, -0.017893996089696884, -0.025257853791117668, 0.017197413370013237, 0.007232684176415205, 0.020644133910536766, -0.07020091265439987, 0.019956599920988083, -0.01018636953085661, 0.08561616390943527, -0.03399678319692612, -0.03343589976429939, -0.02409990131855011, 0.03976845368742943, -0.039985571056604385, 0.010801532305777073, 0.0027343074325472116, -0.009715951047837734, -0.03350827097892761, 0.031373292207717896, -0.04704184830188751, 0.04798268526792526, 0.06043068319559097, -0.05218026414513588, -0.09046509116888046, -0.0280079934746027, 0.042808081954717636, 0.07454323768615723, -0.004328754730522633, 0.012230880558490753, 0.009417416527867317, -0.06003263592720032, 0.018373459577560425, 0.033363524824380875, 0.03748873248696327, 0.02303241193294525, -0.015351925976574421, -0.04827217385172844, -0.03770584985613823, -0.02495027333498001, -0.03213319927453995, -0.03273027017712593, -0.014474415220320225, 0.07765523344278336, 0.02028227411210537, -0.0009453602251596749, 0.03273027017712593, 0.0005829344154335558, -0.021856365725398064, 0.02301432006061077, 0.035263292491436005, -0.01925097219645977, 0.003460289677605033, 0.023557109758257866, 0.05145654454827309, -0.0016611652681604028, 0.04440026730298996, 0.0033381618559360504, -0.06636518985033035, -0.018671995028853416, -0.03159040957689285, -0.04450882598757744, -0.05514752119779587, -0.014863414689898491, 0.05297635868191719, -0.03455766662955284, -0.008707265369594097, 0.03191608563065529, -0.04602864012122154, 0.007779997773468494, 0.06379598379135132, 0.020028971135616302, -0.016446553170681, 0.034141525626182556, -0.010919136926531792, -0.017731158062815666, 0.013271229341626167, 0.07570119202136993, -0.051492732018232346, 0.05398956686258316, 0.04526873305439949, 0.0015164210926741362, -0.05778910219669342, 0.053519148379564285, -0.006432068068534136, 0.0019992785528302193, -0.022634366527199745, 0.039949383586645126, -0.009114357642829418, -0.04128826782107353, -0.012330392375588417, 0.015026251785457134, -0.04052836075425148, -0.018617715686559677, -0.08778732270002365, 0.0004927520640194416, 0.03788677975535393, -0.02120501734316349, -0.04512398689985275, 0.02990775927901268, 0.032115109264850616, 0.01110006682574749, 0.013343601487576962, -0.03759729117155075, -0.003292929381132126, 0.014166833832859993, -0.03151803836226463, 0.02033655345439911, -0.012782717123627663, 0.03292929381132126, 0.04132445529103279, -0.05905561149120331, -0.014058275148272514, -0.03759729117155075, 0.05815096199512482, 0.04440026730298996, -0.012330392375588417, 0.04316994175314903, -0.03984082490205765, 0.03216938674449921, 0.04943012818694115, -0.023412365466356277, -0.044183149933815, 0.014564880169928074, -0.0597793348133564, 0.0008464140119031072, 0.03075813129544258, -0.04447263851761818, -0.001963092479854822, -0.030595295131206512, -0.028767898678779602, -0.0011483412235975266, 0.024516040459275246, 0.023575203493237495, 0.005414335988461971, -0.03951515257358551, 0.010774392634630203, -0.033381618559360504, -0.009878788143396378, 0.0043174466118216515, -0.047874126583337784, -0.010855810716748238, 0.0673060268163681, -0.04505161568522453, 0.024461761116981506, -0.008191614411771297, -0.01733311079442501, 0.008209707215428352, 0.04733133688569069, -0.019829947501420975, -0.0031934177968651056, -0.03383394330739975, -0.023900877684354782, 0.02328571490943432, 0.04429170861840248, 0.08518192917108536, -0.002958208555355668, -0.024389388039708138, 0.06441114842891693, -0.06252947449684143, -0.03933422267436981, -0.0179935060441494, -0.04447263851761818, 0.03770584985613823, -0.024353202432394028, -0.022543901577591896, 0.017749251797795296, -0.050732824951410294, -0.027266178280115128, 0.005242452025413513, 0.024317016825079918, -0.0018567959778010845, -0.053627707064151764, -0.02683194726705551, 0.011326229199767113, -0.01258369442075491, -0.02789943479001522, -0.024660784751176834, -0.03262171149253845, 0.036149851977825165, -0.021476412191987038, -0.00417722575366497, 0.014791042543947697, 0.03538994491100311, 0.007757381536066532, -0.0033110224176198244, -0.04168631508946419, -0.057499613612890244, 0.06618425995111465, -0.0005300688790157437, -0.03265789896249771, 0.03379775956273079, 0.01022255513817072, -0.00863941665738821, -0.005581696052104235, -0.007522172294557095, 0.0046725221909582615, 0.012285159900784492, 0.01449250802397728, -0.012248973362147808, 0.043966036289930344, 0.0035507548600435257, 0.019938506186008453, 0.0014203019673004746, -0.05185459181666374, -0.06755933165550232, -0.0712503045797348, -0.039985571056604385, -0.013913530856370926, -0.03727161884307861, -0.05029859021306038, 0.008024253882467747, -0.02022799476981163, 0.007422660943120718, 0.026415806263685226, -0.0031956792809069157, 0.014230159111320972, 0.0541343130171299, 0.02306859940290451, 0.01585853099822998, 0.022362971678376198, -0.010955322533845901, -0.005201742984354496, -0.001809301902540028, -0.0058395215310156345, 0.03973226994276047, 0.0678488165140152, 0.004407911561429501, -0.03377966582775116, 0.02784515544772148, 0.036059387028217316, 0.03207892179489136, 0.00969785824418068, -0.023430459201335907, -0.01731501892209053, 0.01694411225616932, -0.021838273853063583, 0.04259096458554268, 0.0019461303018033504, 0.014212066307663918, -0.026289155706763268, 0.027284272015094757, -0.022815296426415443, -0.03164469078183174, 0.01816539093852043, 0.04653524234890938, -0.02406371384859085, 0.018527250736951828, -0.024552226066589355, 0.04161394387483597, -0.00599331222474575, 0.04432789608836174, 0.023719947785139084, 0.025294039398431778, 0.05905561149120331, -0.003023795783519745, 0.06296370178461075, -0.031174270436167717, 0.02104218117892742, -0.026542458683252335, 0.039080921560525894, -0.05894705280661583, 0.02504073828458786, 0.010683927685022354, -0.04859784618020058, 0.043966036289930344, 0.012990787625312805, -0.040926408022642136, 0.040419802069664, 0.05963458865880966, -0.028695527464151382, -0.0022514499723911285, 0.0007367251091636717, -0.03842956945300102, -0.022453436627984047, -0.007694056257605553, 0.04052836075425148, -0.01394971739500761, 0.03759729117155075, -0.043785106390714645, 0.021928738802671432, -0.03958752378821373, 0.008015207014977932 ]
41,009
pyglove.core.symbolic.list
__getitem__
Gets the item at a given position.
def __getitem__(self, index) -> Any: """Gets the item at a given position.""" if isinstance(index, numbers.Integral): if index < -len(self) or index >= len(self): raise IndexError('list index out of range') return self.sym_inferred(index) elif isinstance(index, slice): return [self[i] for i in range(*self._parse_slice(index))] else: raise TypeError( f'list index must be an integer. Encountered {index!r}.')
(self, index) -> Any
[ 0.00927311833947897, -0.028853699564933777, -0.046914242208004, -0.021838149055838585, 0.010307461954653263, 0.004829936660826206, -0.00732585322111845, -0.02088475413620472, 0.03304503858089447, -0.04673435911536217, 0.0021372693590819836, 0.016387606039643288, 0.0030693032313138247, -0.03889133408665657, -0.035221658647060394, 0.02622736431658268, 0.03612108901143074, 0.031426068395376205, 0.005891263484954834, 0.05115954950451851, -0.02297142893075943, -0.005877771880477667, 0.03239745274186134, 0.03201968967914581, -0.0025341426953673363, 0.04565504193305969, 0.07598380744457245, 0.007136973086744547, 0.04011455550789833, -0.07843025028705597, -0.016522519290447235, -0.0171431265771389, 0.01093706302344799, 0.056052446365356445, 0.01277189888060093, -0.007883499376475811, -0.03802787885069847, 0.003388600656762719, 0.02095670811831951, 0.08951122313737869, 0.012708938680589199, -0.0712348148226738, 0.043640319257974625, -0.03549148887395859, -0.03545551002025604, 0.03144405409693718, 0.008576060645282269, 0.019697505980730057, -0.0013007998932152987, -0.02838599495589733, 0.0007178571540862322, 0.01409406028687954, 0.008256763219833374, -0.03745224326848984, -0.05792326107621193, 0.0712348148226738, 0.013851214200258255, 0.04400009289383888, 0.02426660805940628, 0.07677530497312546, 0.005338114220649004, -0.015011478215456009, 0.001462697284296155, -0.05504508689045906, 0.04957655444741249, -0.03176784887909889, -0.004488153383135796, -0.00004746598642668687, -0.020489003509283066, -0.0421292781829834, 0.05400174856185913, 0.020848775282502174, -0.02745058946311474, -0.008081373758614063, 0.020686879754066467, -0.0429927296936512, -0.03263130411505699, 0.037380289286375046, 0.0781424343585968, 0.010460365563631058, -0.009470992721617222, 0.035365570336580276, -0.014840587042272091, 0.02095670811831951, -0.04256100580096245, -0.0008078001555986702, 0.011548674665391445, -0.02070486731827259, -0.018582213670015335, 0.048137467354536057, -0.01976945996284485, 0.04925275966525078, -0.017493903636932373, 0.017871664837002754, -0.02052498236298561, -0.01732301339507103, 0.05317427217960358, -0.11656606197357178, 0.004852422047406435, 0.013158653862774372, 0.010154559276998043, 0.04687826707959175, -0.019211813807487488, -0.03405240178108215, -0.02806220017373562, 0.016108782961964607, 0.006174583453685045, -0.009569929912686348, -0.018690144643187523, 0.025220002979040146, 0.0011748798424378037, 0.019751472398638725, -0.05745555832982063, -0.030004968866705894, -0.041121918708086014, 0.05105162039399147, 0.003228951944038272, -0.02205401100218296, -0.012610001489520073, -0.00857156328856945, 0.044144000858068466, -0.049468621611595154, -0.03365665301680565, 0.06040568649768829, 0.023259246721863747, 0.0464465394616127, -0.04108593985438347, -0.0024284597020596266, 0.011071977205574512, 0.013068710453808308, 0.020039290189743042, -0.03612108901143074, -0.03637292981147766, 0.04187743738293648, 0.0022418280132114887, 0.01298776175826788, 0.008454637601971626, -0.02942933328449726, -0.09980069845914841, -0.012016378343105316, 0.031066294759511948, -0.00634097820147872, 0.04194939136505127, 0.029411345720291138, -0.036696724593639374, 0.010127576068043709, 0.0032424433156847954, -0.0005374091560952365, -0.015578119084239006, -0.0068581500090658665, -0.04320859536528587, 0.0746886283159256, 0.009043763391673565, -0.009884729981422424, 0.004288030322641134, -0.02241378277540207, -0.019013939425349236, -0.03380056098103523, 0.013968140818178654, 0.005072782281786203, -0.02482425421476364, -0.02678501047194004, -0.02419465407729149, 0.002075433498248458, -0.037812016904354095, 0.03513171523809433, -0.040330421179533005, -0.03139008954167366, -0.010082605294883251, 0.03230750933289528, 0.0009809402981773019, -0.015344267711043358, -0.026695068925619125, 0.001547018764540553, 0.013797248713672161, 0.03219957649707794, -0.04324457049369812, 0.09073445200920105, 0.05349806696176529, -0.044503770768642426, -0.025507820770144463, -0.0288716871291399, -0.07850220799446106, -0.07605575770139694, 0.014381878077983856, 0.08800018578767776, -0.035365570336580276, 0.04932471364736557, 0.026263341307640076, 0.07087504863739014, 0.011476720683276653, 0.005261662881821394, 0.03340481221675873, -0.05173518508672714, -0.015434210188686848, 0.007568699307739735, -0.030328763648867607, 0.03380056098103523, -0.020417049527168274, 0.04792160540819168, 0.012996756471693516, 0.009479987435042858, 0.0056978859938681126, 0.02518402598798275, -0.02462637983262539, 0.0160817988216877, 0.03335084766149521, -0.0009106723591685295, -0.0659821480512619, -0.001786491833627224, -0.07807048410177231, -0.0012142298510298133, 0.017385972663760185, 0.021226536482572556, 0.03327889367938042, -0.0034605551045387983, -0.038855355232954025, -0.08260360360145569, 0.06087338924407959, 0.023690974339842796, 0.11663801968097687, -0.05817510187625885, -0.011188902892172337, 0.0214963648468256, 0.06860848516225815, -0.004580345004796982, -0.03421429917216301, -0.02869180217385292, -0.03201968967914581, 0.02942933328449726, 0.023259246721863747, -0.018168475478887558, 0.061341091990470886, 0.0018955477280542254, 0.049792416393756866, 0.05159127712249756, 0.008009419776499271, 0.005607943050563335, 0.024860231205821037, 0.04594285786151886, -0.03716442734003067, 0.0555487684905529, -0.017179103568196297, 0.050224144011735916, -0.032469406723976135, 0.06626996397972107, 0.013014744967222214, 0.0842585563659668, -0.03426826372742653, 0.0068311672657728195, -0.01861819066107273, 0.050404030829668045, -0.0075372192077338696, 0.020471015945076942, 0.03509574010968208, 0.019391700625419617, -0.043892160058021545, -0.06868043541908264, 0.010055622085928917, -0.028350017964839935, -0.06026177853345871, -0.03748822212219238, 0.04238111898303032, 0.00014685998030472547, -0.0503680519759655, 0.008886363357305527, 0.019337734207510948, 0.07177447527647018, 0.00017018892685882747, 0.09922506660223007, 0.022377805784344673, 0.04176950827240944, -0.01554214209318161, -0.015020472928881645, 0.03613907843828201, 0.02795426920056343, 0.039107196033000946, 0.05270656943321228, -0.022323841229081154, 0.019643541425466537, 0.024554425850510597, 0.043388478457927704, -0.07461667060852051, 0.006026177667081356, 0.007316858973354101, 0.008796420879662037, 0.05511704087257385, -0.009381050243973732, 0.0014728158712387085, 0.009327083826065063, 0.04205732420086861, -0.0122592244297266, 0.028332030400633812, -0.02777438424527645, 0.039646852761507034, 0.02045302651822567, -0.042417094111442566, 0.02770242840051651, 0.01843830570578575, -0.004047432914376259, 0.019805438816547394, -0.016936257481575012, -0.042237211018800735, 0.01783568784594536, 0.018096521496772766, -0.017979595810174942, 0.019193826243281364, 0.025507820770144463, -0.01829439587891102, -0.024896208196878433, 0.026263341307640076, -0.022143954411149025, -0.008036402985453606, 0.02253970317542553, 0.02775639481842518, -0.04158962145447731, -0.0755520761013031, 0.01747591607272625, 0.02548983320593834, 0.08692086488008499, -0.04651849344372749, 0.006246537901461124, 0.018816065043210983, -0.019499631598591805, 0.01946365460753441, 0.0026937914080917835, -0.06997561454772949, -0.000407272920710966, -0.05090771242976189, 0.04004260152578354, -0.012888824567198753, -0.016675423830747604, -0.010010650381445885, -0.005720371846109629, 0.01602783426642418, 0.0019472648855298758, 0.003948495723307133, 0.07591184973716736, -0.023547064512968063, -0.023996779695153236, -0.012205258943140507, -0.027054840698838234, 0.03827971965074539, 0.0681048035621643, 0.059182461351156235, -0.02513006143271923, 0.055800605565309525, 0.011314823292195797, 0.02597552351653576, 0.01592889614403248, -0.02703685127198696, -0.03622902184724808, 0.009187672287225723, -0.0038765412755310535, -0.004229567479342222, -0.006984070409089327, 0.02826007455587387, -0.03838765248656273, -0.03291912004351616, -0.007483253721147776, 0.06191672757267952, -0.04227318614721298, -0.007968945428729057, -0.029951002448797226, -0.05911050736904144, -0.023241259157657623, -0.03288314491510391, -0.012340173125267029, -0.0034605551045387983, 0.011278846301138401, -0.014669694937765598, -0.013572391122579575, -0.0338905043900013, -0.02217993140220642, 0.010325450450181961, -0.035779304802417755, -0.005832800641655922, 0.04151766747236252, -0.06634192168712616, -0.05105162039399147, 0.008225282654166222, 0.0023565052542835474, -0.005329119972884655, 0.07454472035169601, -0.016324644908308983, -0.025705695152282715, -0.05112357437610626, -0.029771117493510246, -0.012223247438669205, 0.05349806696176529, -0.025381900370121002, -0.05105162039399147, -0.01093706302344799, -0.008180311881005764, -0.05824705585837364, -0.03917915001511574, 0.043280549347400665, -0.03320693597197533, -0.02703685127198696, -0.010910079814493656, 0.017466921359300613, 0.009228146634995937, -0.023205282166600227, 0.06630594283342361, 0.023457121104002, -0.016441572457551956, 0.030886409804224968, -0.007132476195693016, -0.042165257036685944, 0.0132396025583148, 0.0172420646995306, 0.019931357353925705, -0.010226513259112835, -0.008877369575202465, 0.039466965943574905, 0.023439133539795876, -0.029087550938129425, 0.03599517047405243, -0.03770408406853676, 0.0368766114115715, 0.021280502900481224, -0.07684725522994995, 0.035779304802417755, 0.010676228441298008, -0.04497147724032402, -0.03101233020424843, -0.006466898135840893, 0.01121588610112667, -0.050511959940195084, -0.0005323498626239598, -0.0275765098631382, -0.050224144011735916, -0.03552746772766113, -0.016018839552998543, 0.030544625595211983, -0.051627255976200104, -0.061520978808403015, -0.04766976460814476, -0.027666451409459114, 0.007667636498808861, 0.08058888465166092, 0.08648914098739624, 0.02457241527736187, 0.047453902661800385, 0.019985323771834373, -0.03101233020424843, -0.02617339976131916, -0.0007375322165898979, -0.0171431265771389, -0.08317924290895462, -0.01892399787902832, -0.00955194141715765, 0.07152263820171356, 0.035653386265039444, 0.07357333600521088, -0.03538355603814125, -0.0755520761013031, -0.007285378873348236, 0.04982839524745941, -0.011863475665450096, -0.005873274523764849, 0.04176950827240944, -0.02671305648982525, -0.11699779331684113, -0.011746549047529697, 0.044575728476047516, -0.01302373968064785, 0.012340173125267029, -0.04709412902593613, 0.01607280597090721, 0.00487041100859642, -0.020363084971904755, -0.05281450226902962, -0.08382683247327805, -0.016702406108379364, 0.03047267161309719, -0.00796444807201624, 0.028332030400633812, 0.024482471868395805, -0.04925275966525078, -0.022899474948644638, -0.058930620551109314, 0.004272290039807558, 0.029807094484567642, -0.04734596982598305, 0.02253970317542553, -0.0038832868449389935, 0.027612486854195595, -0.04029444232583046, -0.013311556540429592, 0.042848821729421616, 0.003494283650070429, 0.004290279000997543, 0.03034675121307373, 0.04421595484018326, 0.021550331264734268, -0.02462637983262539, 0.017673790454864502, 0.03644488379359245, 0.011593646369874477, 0.02347511053085327, 0.011728560552001, 0.04525929316878319, -0.036157067865133286, 0.018375344574451447, -0.0061296122148633, 0.03871144726872444, 0.04342445731163025, -0.038243744522333145, -0.08476223796606064, -0.0003906897036358714, 0.050763800740242004, 0.016477549448609352, -0.018600203096866608, 0.034610047936439514, 0.04018650949001312, -0.022036023437976837, 0.0068986243568360806, -0.01046935934573412, 0.056736014783382416, 0.05346209183335304, -0.06918411701917648, -0.05317427217960358, -0.01135979499667883, 0.042237211018800735, -0.01676536537706852, -0.017080167308449745, -0.04335250332951546, -0.0050278110429644585, 0.06533455848693848, -0.027072828263044357, 0.04500745236873627, 0.0032222061417996883, 0.030814455822110176, -0.01717010885477066, 0.03324291482567787, 0.01785367541015148, -0.01234916690737009, 0.06986768543720245, 0.0407981239259243, -0.0009859995916485786, 0.012870836071670055, 0.00872446596622467, -0.06688158214092255, 0.016036828979849815, -0.03493384271860123, -0.08030106872320175, -0.047274015843868256, 0.01854623667895794, 0.03004094585776329, -0.01989538036286831, -0.01811451092362404, 0.03523964807391167, 0.024590402841567993, 0.03556344285607338, -0.016702406108379364, -0.019877392798662186, -0.015128404833376408, -0.004375724587589502, 0.023726951330900192, 0.005931737832725048, -0.004018201492726803, 0.041193872690200806, -0.015218347311019897, -0.07598380744457245, 0.04914483055472374, -0.027072828263044357, -0.04957655444741249, 0.01976945996284485, -0.08202797174453735, 0.016873298212885857, -0.019625551998615265, -0.02530994638800621, 0.05011621117591858, -0.004593836143612862, -0.001294054207392037, 0.009470992721617222, -0.03158796578645706, -0.01607280597090721, -0.05277852341532707, 0.010856114327907562, 0.018600203096866608, 0.026083456352353096, -0.02156832069158554, 0.02701886184513569, 0.013599374331533909, 0.0009944317862391472, -0.03398044779896736, -0.03336883336305618, -0.004955856595188379, 0.040150534361600876, -0.06986768543720245, 0.008018414489924908, 0.023133326321840286, 0.03156997635960579, 0.04018650949001312, -0.09764207154512405, -0.008463631384074688, -0.02574167214334011, -0.02701886184513569, -0.013077705167233944, 0.05317427217960358, 0.04209330305457115, -0.014552769251167774, 0.05972211807966232, 0.025273969396948814, 0.02198205702006817, -0.006300503853708506, 0.024986151605844498, -0.061700865626335144, -0.010325450450181961, 0.008067882619798183, -0.02444649487733841, 0.006565835326910019, -0.02309734933078289, -0.021424410864710808, -0.009345072321593761, 0.07972542941570282, 0.023241259157657623, 0.030634569004178047, -0.041301801800727844, 0.02126251347362995, -0.05346209183335304, -0.001620097435079515, -0.006966081447899342, -0.06123316287994385, 0.056232333183288574, -0.022395795211195946, 0.015281307511031628, -0.011845487169921398, 0.04256100580096245, -0.0022395795676857233, 0.07317758351564407, -0.025202015414834023, -0.07979738712310791, -0.019931357353925705, 0.021028662100434303, 0.002817462896928191, -0.0360131561756134, 0.08843190968036652, 0.004105895757675171, 0.011809509247541428, -0.024986151605844498, 0.0199673343449831, 0.03518568351864815, -0.04810149222612381, -0.03716442734003067, 0.004416198935359716, 0.07141470164060593, 0.02586759254336357, -0.009025774896144867, 0.014912541024386883, -0.04738194867968559, 0.01130582857877016, -0.03752420097589493, 0.018384339287877083, 0.04479159042239189, -0.04281284660100937, -0.001191744115203619, 0.015784988179802895, -0.041445713490247726, -0.014049088582396507, -0.05572865158319473, -0.026946907863020897, 0.017080167308449745, -0.03914317116141319, -0.06285213679075241, 0.00453537330031395, 0.025220002979040146, 0.0351497046649456, 0.027936281636357307, -0.01750289835035801, -0.029195481911301613, 0.03549148887395859, 0.03004094585776329, -0.014489809051156044, 0.0442519336938858, -0.015515158884227276, 0.00780255114659667, -0.026749033480882645, 0.04184146225452423, -0.06706146150827408, -0.008337711915373802, 0.02536391280591488, -0.0416615754365921, 0.043280549347400665, 0.005365096963942051, -0.012565030716359615, 0.0006481513846665621, -0.014381878077983856, 0.009947690181434155, -0.04151766747236252, -0.006372458301484585, -0.0057068802416324615, -0.036085113883018494, -0.013338539749383926, -0.04482756555080414, 0.007415796164423227, 0.0083557004109025, 0.0037078980822116137, 0.016747377812862396, 0.011018011718988419, 0.01078416034579277, 0.03802787885069847, -0.025399889796972275, -0.03374659642577171, -0.02383488230407238, -0.00016906464588828385, -0.009156192652881145, -0.036264996975660324, 0.008922340348362923, 0.030076922848820686, 0.008477123454213142, -0.01872612163424492, 0.015011478215456009, -0.0015886173350736499, 0.006984070409089327, 0.06594616919755936, -0.02806220017373562, 0.03185779228806496, 0.019733482971787453, -0.04108593985438347, 0.03414234519004822, 0.04669838026165962, 0.0026870456058532, -0.006570332683622837, 0.033818550407886505, 0.0010219768155366182, -0.04860517010092735, 0.04964850842952728, 0.0611971840262413, -0.04583492875099182, 0.05871475860476494, -0.0404023751616478, -0.026892943307757378, -0.02093871869146824, -0.0044746617786586285, 0.014885558746755123, 0.003901275573298335, 0.0327572226524353, -0.014957512728869915, 0.06094534322619438, -0.05756348744034767, -0.007510236464440823, -0.034915853291749954, -0.007078510243445635, -0.016108782961964607, 0.012385144829750061, -0.014219980686903, -0.01200738362967968, 0.00599020067602396, 0.03052663803100586, -0.005311131477355957, 0.020039290189743042, 0.03480792045593262, -0.03239745274186134, 0.010208524763584137, -0.024050746113061905, -0.03103031776845455, -0.024302585050463676, -0.07396908104419708, 0.029141515493392944, -0.0338905043900013, 0.07047929614782333, -0.08123647421598434, 0.0013873700518161058, -0.010766170918941498, 0.03658879175782204 ]
41,010
pyglove.core.symbolic.list
__getstate__
Customizes pickle.dump.
def __getstate__(self) -> Any: """Customizes pickle.dump.""" return dict(value=list(self), kwargs=self._init_kwargs())
(self) -> Any
[ 0.006986341904848814, -0.042958199977874756, -0.031360525637865067, 0.005361107178032398, -0.0191387627273798, -0.00175200286321342, -0.04361696168780327, 0.018480001017451286, 0.043235573917627335, -0.04781223461031914, -0.03793080896139145, 0.027720000594854355, -0.051799476146698, 0.03716802969574928, 0.000039242644561454654, 0.02362874336540699, -0.0206296443939209, 0.03696000203490257, -0.033059436827898026, 0.04212608188390732, 0.004719681106507778, 0.001087823649868369, 0.03602386638522148, 0.05297831445932388, -0.004719681106507778, 0.003631857456639409, -0.013825329020619392, -0.022727280855178833, 0.027078574523329735, 0.04597463458776474, -0.04070454090833664, -0.04798559099435806, 0.01238645426928997, 0.033839549869298935, 0.041675347834825516, 0.00412809569388628, -0.03994176536798477, 0.09083978086709976, -0.05231955274939537, -0.03182859346270561, 0.020265592262148857, -0.03380487859249115, -0.03380487859249115, -0.006561613641679287, 0.056688182055950165, 0.02798003889620304, -0.006427261047065258, 0.006726304069161415, 0.06743639707565308, -0.0735732838511467, 0.03314611688256264, 0.014397411607205868, 0.0039048970211297274, 0.028240075334906578, -0.0031941276974976063, 0.031915273517370224, 0.055335987359285355, 0.01984953135251999, 0.01081756129860878, 0.06258236616849899, -0.052284881472587585, -0.003217964433133602, 0.06632690876722336, -0.06826852262020111, -0.021964503452181816, -0.04476112872362137, -0.06833786517381668, -0.010262814350426197, -0.028084052726626396, 0.05998199060559273, 0.04320090264081955, -0.08487625420093536, 0.0004572326724883169, 0.0347236804664135, -0.022883303463459015, 0.010652870871126652, -0.03876292705535889, 0.006574615836143494, -0.04157133400440216, 0.0066049532033503056, -0.03959504887461662, -0.04028848186135292, -0.06812983006238937, 0.05089801177382469, -0.02697456069290638, -0.029366904869675636, 0.021323077380657196, 0.024079475551843643, -0.02903752401471138, 0.006487936247140169, -0.011623677797615528, 0.0841134712100029, -0.013946679420769215, 0.06792180240154266, -0.055197302252054214, -0.0864018052816391, -0.03004300221800804, 0.037965480238199234, 0.00935268308967352, -0.010514183901250362, -0.06573748588562012, -0.06129951402544975, -0.05058596655726433, -0.02498093992471695, -0.015255535021424294, -0.048644356429576874, 0.025171633809804916, -0.03217530995607376, -0.024460863322019577, -0.04115527495741844, 0.03481035679578781, -0.00035809335531666875, -0.018115948885679245, 0.040739212185144424, 0.006310244090855122, -0.007701444905251265, 0.0010618199594318867, -0.007896472699940205, 0.007684109266847372, -0.024044804275035858, -0.017067130655050278, 0.052700940519571304, -0.024304840713739395, 0.06341448426246643, 0.009794747456908226, 0.04198739305138588, 0.025813059881329536, 0.012455797754228115, 0.0273906197398901, 0.0008256191504187882, 0.030164353549480438, 0.015463565476238728, -0.06656961143016815, 0.004897373728454113, 0.031707242131233215, -0.019589494913816452, 0.0412592887878418, -0.0009361351258121431, -0.016746416687965393, 0.019676173105835915, 0.022380564361810684, -0.004409803077578545, 0.0586644671857357, 0.03337148204445839, 0.031204504892230034, 0.0009204245288856328, 0.030632421374320984, 0.05346371605992317, -0.019121427088975906, -0.02447819896042347, 0.08626312017440796, 0.02092435397207737, -0.05426116660237312, 0.02648915722966194, -0.03820818290114403, -0.02085500955581665, 0.011658349074423313, 0.013799325563013554, -0.03144720569252968, -0.022883303463459015, -0.015125516802072525, -0.0006143386708572507, 0.005733827594667673, -0.07048750668764114, 0.010696210898458958, 0.03813883662223816, 0.05058596655726433, -0.0627903938293457, 0.02270994521677494, 0.00047348500811494887, -0.05467722564935684, -0.030008330941200256, -0.0563761368393898, 0.04229943826794624, -0.0109995873644948, 0.07627767324447632, -0.01527287159115076, 0.02546634152531624, -0.016104990616440773, 0.023715423420071602, 0.01324457861483097, -0.04392900690436363, -0.08473756164312363, 0.03959504887461662, 0.04739617556333542, 0.0019231942715123296, 0.016200337558984756, 0.021409757435321808, 0.033631522208452225, 0.045385219156742096, 0.03110048919916153, -0.006115215830504894, 0.0158709567040205, -0.03966439142823219, -0.019884202629327774, -0.01463144551962614, -0.053914450109004974, -0.04947647452354431, 0.0067609758116304874, 0.07849666476249695, -0.014562102034687996, -0.05159144848585129, -0.011762364767491817, -0.021375086158514023, -0.016261013224720955, -0.010652870871126652, 0.0072203753516077995, -0.05460788309574127, 0.03165523707866669, 0.007198705803602934, 0.03650926798582077, -0.03813883662223816, 0.001994704594835639, 0.022969981655478477, 0.048020265996456146, -0.11816105246543884, 0.02213786169886589, -0.016850432381033897, 0.01387733593583107, 0.017838574945926666, 0.07190904766321182, 0.05183414742350578, -0.04320090264081955, 0.0052354224026203156, -0.03538244217634201, 0.00871559139341116, -0.016130995005369186, -0.07440540939569473, -0.025518350303173065, -0.0030034335795789957, 0.005920188035815954, -0.024876924231648445, -0.035989195108413696, 0.016815761104226112, 0.03744540363550186, 0.04982319101691246, -0.014510094188153744, -0.08217185735702515, -0.03489703685045242, 0.01787324622273445, 0.07385066151618958, -0.017890581861138344, 0.04646003991365433, -0.04271549731492996, 0.014787468127906322, -0.011658349074423313, 0.06112615764141083, 0.06868457794189453, -0.006756641902029514, 0.028517449274659157, 0.0767630785703659, 0.002112804912030697, -0.03430761769413948, 0.020768331363797188, 0.03852022811770439, -0.033458162099123, 0.013417936861515045, -0.0018863555742427707, 0.027078574523329735, -0.00786180142313242, -0.009318011812865734, -0.029453584924340248, 0.01188371516764164, 0.02198183909058571, -0.00011058367090299726, 0.013617298565804958, 0.00391573179513216, -0.030129682272672653, -0.05557869002223015, 0.03103114478290081, 0.0825185775756836, -0.028777487576007843, -0.060328707098960876, 0.026142440736293793, -0.05450386554002762, -0.034272946417331696, 0.01915609836578369, -0.033839549869298935, -0.017708556726574898, 0.016174335032701492, 0.06129951402544975, 0.022085854783654213, 0.04711880162358284, -0.04004577919840813, 0.0010558607755228877, -0.007476079277694225, -0.014319400303065777, 0.02853478491306305, 0.0401151217520237, -0.04382499307394028, 0.02576105110347271, 0.033631522208452225, 0.010540188290178776, -0.012360450811684132, 0.04115527495741844, -0.042819514870643616, -0.0529436431825161, -0.02484225295484066, 0.037618763744831085, 0.021028367802500725, 0.00814784225076437, -0.03354484215378761, 0.009950770065188408, 0.05609876289963722, 0.010262814350426197, -0.004589662421494722, 0.012559812515974045, 0.04132863134145737, -0.05089801177382469, 0.01886138878762722, 0.010826229117810726, 0.018618687987327576, 0.02732127718627453, 0.026922551915049553, 0.0023295029532164335, -0.07634702324867249, -0.009040637873113155, -0.023524729534983635, -0.02005756087601185, 0.0804382786154747, -0.10248945653438568, -0.024824917316436768, -0.04507317394018173, -0.0034996718168258667, 0.04704945906996727, -0.02548367902636528, 0.006526941899210215, -0.0036795311607420444, 0.054053135216236115, -0.002158311428502202, -0.09742739796638489, -0.03538244217634201, 0.05332503095269203, 0.048575010150671005, -0.0030381050892174244, 0.027945367619395256, 0.004375131335109472, 0.005400112830102444, 0.006769643630832434, -0.044934485107660294, 0.019242776557803154, 0.02676652930676937, -0.02527564764022827, 0.01387733593583107, -0.026922551915049553, 0.028344091027975082, 0.0017780066700652242, 0.04299287125468254, 0.02954026311635971, -0.014241388998925686, -0.04077388346195221, -0.023472720757126808, -0.016477711498737335, 0.05998199060559273, 0.043374259024858475, -0.05159144848585129, 0.005785834975540638, -0.009187992662191391, -0.019728180021047592, -0.00818251445889473, 0.03793080896139145, -0.012343115173280239, -0.022172532975673676, 0.013001876883208752, 0.0857083722949028, 0.02926289103925228, -0.017171144485473633, -0.02463422156870365, 0.026523828506469727, -0.08827407658100128, -0.014908818528056145, -0.05238889530301094, -0.07336525619029999, -0.007913809269666672, 0.02477290853857994, -0.009699399583041668, -0.05485058203339577, 0.03281673789024353, -0.02491159550845623, 0.014917486347258091, 0.04150199145078659, -0.014900150708854198, 0.020976360887289047, 0.011840376071631908, 0.054191820323467255, 0.014865479432046413, 0.049788519740104675, 0.010912908241152763, 0.059184543788433075, 0.005348105449229479, -0.05679219588637352, 0.03959504887461662, -0.08231054991483688, 0.006258236709982157, 0.010098123922944069, -0.015472233295440674, 0.01685909926891327, 0.015558912418782711, 0.011190282180905342, -0.018948068842291832, 0.05138341709971428, -0.01787324622273445, 0.0002822490641847253, 0.0018040103605017066, -0.01159767434000969, -0.02917621098458767, 0.0016111491713672876, -0.01906941831111908, 0.024356849491596222, -0.08265726268291473, 0.033978238701820374, -0.023299362510442734, -0.014622777700424194, -0.06334514170885086, 0.025934409350156784, -0.011086266487836838, 0.009257336147129536, -0.010860901325941086, -0.0030966135673224926, -0.007203039713203907, 0.038034822791814804, 0.0870952382683754, 0.028552120551466942, -0.006630957126617432, 0.030511070042848587, 0.004422805272042751, -0.06400390714406967, 0.030216360464692116, 0.012559812515974045, 0.02397545985877514, 0.013556623831391335, -0.03442896902561188, -0.012265103869140148, 0.013322589918971062, 0.04014979675412178, -0.016261013224720955, 0.014007355086505413, -0.05117538571357727, 0.005547467153519392, 0.08841276168823242, -0.017110468819737434, 0.020803002640604973, 0.005114071536809206, 0.004919043276458979, 0.06962071359157562, -0.036682628095149994, -0.028638800606131554, 0.03616255149245262, 0.06979407370090485, 0.0020564633887261152, 0.011510995216667652, -0.014917486347258091, 0.0435476191341877, -0.02662784419953823, -0.022103190422058105, -0.00020545674487948418, 0.017032457515597343, -0.0499618798494339, -0.0219991747289896, -0.03737606108188629, 0.02284863218665123, -0.05335970222949982, -0.010808893479406834, 0.0364399254322052, 0.02385411038994789, -0.03323279693722725, -0.04292352870106697, 0.008195516653358936, -0.01327058207243681, 0.026870544999837875, 0.05186881870031357, 0.04649471119046211, -0.016261013224720955, -0.0744747519493103, -0.038554899394512177, 0.012802514247596264, 0.011077598668634892, -0.020317599177360535, -0.039248332381248474, -0.07558424025774002, -0.00423644483089447, -0.01694577932357788, 0.011944390833377838, -0.0027520637959241867, -0.023455385118722916, -0.0266971867531538, 0.042958199977874756, 0.02782401628792286, 0.06365718692541122, 0.048366982489824295, -0.04042716696858406, 0.027529306709766388, -0.024218162521719933, 0.010687543079257011, 0.03264337778091431, -0.0055518015287816525, -0.02376743033528328, 0.024824917316436768, 0.03716802969574928, -0.04982319101691246, 0.013608630746603012, -0.026350470259785652, 0.03141253441572189, 0.025778386741876602, -0.016529718413949013, -0.05335970222949982, -0.03886694461107254, 0.017023790627717972, -0.005274428054690361, 0.015186191536486149, -0.024183491244912148, -0.022033847868442535, -0.015827618539333344, 0.000328297377564013, -0.009864090010523796, -0.023073997348546982, -0.03699467331171036, 0.030476398766040802, -0.035122402012348175, -0.0007362312753684819, 0.04271549731492996, 0.07190904766321182, 0.03973373398184776, -0.06331047415733337, -0.038832273334264755, -0.002187565667554736, -0.01792525313794613, -0.02534499205648899, 0.0015374718932434916, 0.05765898898243904, -0.01167568564414978, -0.05544000118970871, -0.0010266065364703536, 0.03779212012887001, -0.017535198479890823, 0.039178989827632904, 0.0003962863702327013, 0.03817351162433624, -0.03793080896139145, -0.035417113453149796, 0.03921366110444069, 0.003315478563308716, 0.00039709897828288376, -0.03983775153756142, 0.004026247654110193, 0.02747729979455471, -0.023316698148846626, 0.028864165768027306, -0.017561201006174088, -0.03194994479417801, 0.02777200937271118, -0.060259364545345306, 0.005859512370079756, -0.045593246817588806, 0.01057485956698656, -0.06982874870300293, 0.020109569653868675, 0.0017715056892484426, 0.02121906355023384, 0.0015786445001140237, 0.0001896106987260282, 0.06982874870300293, -0.03439429774880409, -0.029002852737903595, -0.0032569700852036476, 0.03196728229522705, -0.004149765707552433, 0.04975384846329689, -0.05211152136325836, -0.0034043246414512396, 0.03503572195768356, -0.01007212046533823, 0.0007611515466123819, -0.028136061504483223, 0.052354224026203156, 0.04441441223025322, 0.008884615264832973, 0.02092435397207737, 0.02128840610384941, -0.05557869002223015, 0.03545178472995758, 0.0346023291349411, 0.01345260813832283, -0.05193816497921944, -0.00743707362562418, 0.0007210624171420932, -0.033839549869298935, 0.0075627584010362625, 0.03430761769413948, 0.016261013224720955, -0.028482777997851372, 0.0540878064930439, -0.0015288039576262236, -0.040669869631528854, 0.01540288981050253, -0.02995632402598858, 0.010002776980400085, -0.0009030886576510966, -0.0004789024533238262, -0.03302476555109024, 0.011996397748589516, 0.03527842462062836, -0.00446397764608264, -0.002266660565510392, 0.016044314950704575, -0.03772277757525444, 0.0013716979883611202, 0.05609876289963722, 0.020872345194220543, 0.025431670248508453, -0.044657111167907715, -0.025934409350156784, 0.03247002139687538, -0.054053135216236115, -0.000625715299975127, -0.023438049480319023, 0.0037618763744831085, 0.011623677797615528, -0.04704945906996727, 0.012975872494280338, -0.010869569145143032, 0.002626379020512104, -0.02390611730515957, 0.00720737362280488, -0.03337148204445839, -0.05908052623271942, -0.01630435325205326, 0.030372383072972298, 0.018965404480695724, -0.03571182116866112, -0.0010591112077236176, 0.020889682695269585, 0.08237989246845245, -0.07076488435268402, 0.01991887576878071, 0.013175235129892826, 0.03226199001073837, 0.019745517522096634, -0.020317599177360535, 0.024027468636631966, 0.029644278809428215, -0.01886138878762722, -0.018254633992910385, -0.042888857424259186, -0.06868457794189453, -0.011805703863501549, 0.020542964339256287, -0.012646491639316082, 0.024183491244912148, -0.03914431855082512, -0.01281118206679821, -0.02803204581141472, -0.02713058330118656, 0.023715423420071602, -0.04361696168780327, 0.01657305844128132, 0.059357900172472, 0.060952797532081604, 0.020907018333673477, -0.01998821832239628, -0.1090770810842514, 0.012005066499114037, -0.07523752748966217, 0.007142364047467709, 0.056410808116197586, 0.032782066613435745, -0.10242011398077011, 0.051071371883153915, 0.045454561710357666, -0.023178013041615486, 0.0044054691679775715, -0.01842799410223961, -0.02747729979455471, -0.00797015056014061, -0.07766454666852951, -0.03793080896139145, -0.021305741742253304, 0.005829174537211657, 0.04340893402695656, -0.0035126737784594297, 0.0003285682469140738, 0.017266491428017616, -0.044171709567308426, 0.0387282557785511, 0.006314578000456095, 0.05734694376587868, -0.015142852440476418, 0.01998821832239628, 0.035174410790205, -0.02576105110347271, 0.01685909926891327, -0.027737336233258247, 0.010704878717660904, 0.03103114478290081, -0.029072197154164314, 0.011840376071631908, -0.0022709944751113653, -0.06521741300821304, 0.036335911601781845, -0.07093823701143265, -0.018826717510819435, 0.015550244599580765, 0.022397900000214577, -0.004325291141867638, 0.05557869002223015, -0.02071632258594036, -0.032209981232881546, 0.0007405652431771159, 0.027026567608118057, 0.000010343940630264115, 0.007918142713606358, 0.04385966435074806, -0.009638724848628044, -0.02917621098458767, -0.013998687267303467, -0.04361696168780327, 0.02064698003232479, -0.00583784282207489, -0.0371333584189415, 0.008217185735702515, -0.06428127735853195, 0.03453298285603523, 0.011372308246791363, 0.0020803003571927547, 0.02191249653697014, 0.012057073414325714, -0.010063452646136284, -0.02796270325779915, 0.011502326466143131, 0.04476112872362137, 0.02981763705611229, -0.013383264653384686, -0.04933778941631317, 0.02007489837706089, -0.004620000254362822, -0.02014424093067646, 0.0458359494805336, 0.043374259024858475, -0.0018603518838062882, 0.03997643664479256, 0.02804938144981861, 0.01455343421548605, 0.03331947699189186, 0.11608075350522995, -0.022727280855178833, -0.015914296731352806, 0.04014979675412178, 0.02475557290017605, -0.026575835421681404, -0.015914296731352806, 0.0057684993371367455, 0.055197302252054214, 0.002721726195886731, 0.0050490619614720345, 0.02662784419953823, -0.029349569231271744, 0.006877992767840624, -0.03401290997862816, -0.00487570371478796, -0.033198125660419464, -0.09472300857305527, -0.06702034175395966, -0.00211713882163167, 0.016113659366965294, 0.05665351077914238, 0.05037793889641762, 0.0033869887702167034, -0.025084953755140305 ]
41,011
pyglove.core.symbolic.list
__hash__
Overriden hashing function.
def __hash__(self) -> int: """Overriden hashing function.""" return self.sym_hash()
(self) -> int
[ 0.025572067126631737, -0.06744758039712906, 0.025155313313007355, 0.07508252561092377, -0.011694136075675488, -0.053744684904813766, -0.05511163920164108, -0.01101065892726183, -0.01885398104786873, -0.03577422350645065, 0.0007532840827479959, -0.025805450975894928, 0.05014392361044884, 0.029972996562719345, -0.04190885275602341, -0.013552862219512463, 0.010543893091380596, 0.03190673887729645, -0.019404098391532898, -0.026872342452406883, -0.024538515135645866, 0.015411588363349438, 0.03370711952447891, 0.02153788134455681, -0.028706062585115433, 0.053878046572208405, 0.04994388297200203, 0.006955635733902454, 0.03464065119624138, 0.00039331222069449723, -0.07568264752626419, -0.010218825191259384, 0.02408841997385025, 0.05544504150748253, 0.040341854095458984, -0.10955647379159927, -0.0022858993615955114, 0.08748514205217361, -0.04390927404165268, 0.017820430919528008, 0.029906315729022026, 0.019504118710756302, 0.004142541438341141, -0.03780798614025116, 0.043509189039468765, 0.02615552395582199, -0.015344907529652119, 0.0362076461315155, -0.021604562178254128, -0.044609420001506805, -0.021571222692728043, -0.06431358307600021, 0.02152121253311634, 0.0351407565176487, 0.005926251411437988, 0.05731210485100746, 0.04891033098101616, -0.052844494581222534, -0.03767462447285652, 0.04994388297200203, -0.03225681185722351, -0.0032090111635625362, 0.04370922967791557, -0.048510245978832245, -0.017220303416252136, -0.03300696983933449, -0.0647803470492363, 0.02915615774691105, 0.010343851521611214, 0.021054446697235107, 0.020170927047729492, -0.029539572075009346, 0.005251109134405851, -0.0009694756008684635, 0.010077128186821938, 0.012894390150904655, 0.0036215982399880886, -0.0019514538580551744, 0.0509774312376976, -0.009101922623813152, 0.01610340178012848, -0.059545908123254776, 0.00008276487642433494, -0.0027380783576518297, -0.06811438500881195, -0.005780387669801712, 0.08081706613302231, -0.02207132801413536, -0.04440937936306, -0.01860392838716507, -0.04327580705285072, 0.03255687654018402, -0.0004889053525403142, 0.024121761322021484, 0.023488294333219528, -0.045209549367427826, 0.00002897747435781639, -0.02878941409289837, 0.05694536119699478, -0.0398750863969326, 0.04794345796108246, 0.019970884546637535, -0.020954426378011703, -0.0026255545672029257, -0.008543470874428749, -0.016195086762309074, -0.004059190396219492, -0.04447605833411217, -0.06011269614100456, 0.014303021132946014, -0.025155313313007355, 0.07481580227613449, -0.022404732182621956, -0.019470779225230217, 0.026172194629907608, -0.014186329208314419, 0.015778332948684692, -0.015544950030744076, 0.04154210537672043, 0.024255122989416122, -0.009918761439621449, 0.03420722484588623, -0.03630766645073891, -0.001304442179389298, 0.0453762486577034, 0.02488858997821808, 0.020954426378011703, -0.009793735109269619, -0.015169870108366013, 0.021987976506352425, 0.045342911034822464, 0.037474580109119415, -0.0029881310183554888, 0.06868117302656174, 0.00707649439573288, -0.0032861107029020786, 0.04687656834721565, 0.0501105822622776, 0.019287407398223877, 0.05227770656347275, 0.04714329168200493, -0.01572832092642784, 0.030106358230113983, -0.010968983173370361, 0.0037112005520612, 0.020287618041038513, -0.05141085758805275, 0.018703950569033623, -0.008876875042915344, 0.012902725487947464, 0.0490436926484108, 0.022638114169239998, 0.04517620801925659, 0.07634945958852768, -0.0329236201941967, 0.04397595301270485, -0.015744991600513458, -0.025405365973711014, -0.0379413478076458, -0.01957079954445362, 0.014811461791396141, -0.024738557636737823, 0.010210489854216576, -0.08261744678020477, -0.0250052809715271, 0.0073182121850550175, 0.022238029167056084, -0.040041789412498474, -0.010660585016012192, -0.022971518337726593, -0.07108167558908463, -0.07354886829853058, -0.07761639356613159, 0.043875932693481445, 0.06814772635698318, 0.04620976001024246, -0.01933741755783558, 0.03554083779454231, 0.02560540847480297, -0.002708905376493931, 0.02397172898054123, -0.08028361946344376, -0.05407808721065521, 0.0036195144057273865, 0.02915615774691105, 0.05261111259460449, 0.05061068758368492, 0.02677232027053833, 0.03980840742588043, 0.008726842701435089, -0.06184639409184456, -0.04207555204629898, -0.019987555220723152, 0.024305133149027824, 0.04104200005531311, -0.015478269197046757, -0.03970838710665703, 0.01860392838716507, -0.04517620801925659, 0.06548049300909042, -0.023771686479449272, -0.01091897301375866, -0.02140451967716217, -0.01381125021725893, 0.0019024851499125361, -0.02738911844789982, 0.030823176726698875, 0.006684745196253061, 0.016570165753364563, -0.03262355551123619, 0.0006543048657476902, -0.05437815189361572, -0.01720363274216652, 0.06084618344902992, 0.023488294333219528, -0.05494493618607521, 0.019737502560019493, -0.009685378521680832, 0.0038424781523644924, 0.03317367285490036, 0.09395317733287811, -0.008651827462017536, 0.000014627112250309438, -0.023371603339910507, 0.013186118565499783, -0.014228004962205887, 0.031123239547014236, -0.016861895099282265, -0.023371603339910507, -0.0369744747877121, 0.025955481454730034, -0.0073848930187523365, 0.032656896859407425, 0.037541262805461884, 0.02390504814684391, -0.006088785827159882, 0.00939365103840828, 0.013427835889160633, -0.02933952957391739, 0.022954847663640976, -0.02037096954882145, 0.04127538576722145, 0.08015026152133942, 0.040408533066511154, -0.007784977555274963, -0.028205957263708115, 0.01860392838716507, 0.08595148473978043, -0.01817050389945507, -0.04120870307087898, -0.027839213609695435, -0.047410011291503906, -0.024105090647935867, -0.032706908881664276, 0.04244229570031166, -0.018820641562342644, -0.030156368389725685, 0.026238875463604927, 0.0282392967492342, 0.011235706508159637, -0.021871285513043404, 0.02188795618712902, -0.023805027827620506, -0.017903780564665794, 0.004055023193359375, -0.02897278591990471, -0.01657850109040737, 0.09401986002922058, -0.05257777124643326, 0.043142445385456085, 0.058879103511571884, -0.06788100302219391, -0.061679694801568985, 0.05231104791164398, -0.02365499548614025, 0.007551595102995634, 0.017537036910653114, 0.05761216580867767, -0.027705851942300797, -0.014569743536412716, 0.019370757043361664, -0.00773079926148057, -0.004438437521457672, -0.045276228338479996, -0.022521423175930977, 0.07528256624937057, -0.016753537580370903, -0.0306064635515213, -0.0029297855217009783, -0.04640980064868927, 0.005238606594502926, 0.011119014583528042, -0.02482190914452076, 0.01773707941174507, 0.08655161410570145, 0.0021223232615739107, -0.0199375431984663, 0.014261345379054546, 0.047176629304885864, 0.024171771481633186, -0.06608062237501144, 0.023888379335403442, -0.0004071172443218529, -0.009652038104832172, -0.058812420815229416, -0.022904837504029274, 0.040941979736089706, 0.016611842438578606, 0.02273813635110855, 0.03537413850426674, 0.006830609403550625, 0.08195064216852188, -0.02927284874022007, 0.05471155419945717, 0.028706062585115433, -0.0059304190799593925, -0.01405296754091978, -0.010535558685660362, 0.013544526882469654, 0.11515765637159348, -0.03860815241932869, 0.019037354737520218, -0.025322014465928078, -0.011352397501468658, 0.016128405928611755, -0.06328003108501434, -0.016178416088223457, -0.037908006459474564, 0.017787089571356773, 0.0010413657873868942, -0.01823718473315239, -0.016553496941924095, 0.08928552269935608, -0.001583667821250856, -0.060212716460227966, 0.01732032559812069, 0.05081073194742203, 0.047476693987846375, -0.04787677899003029, -0.04440937936306, 0.031439974904060364, -0.034607309848070145, 0.026855671778321266, -0.023738346993923187, -0.05127749592065811, -0.028689391911029816, -0.07441571354866028, 0.0021817106753587723, -0.030823176726698875, -0.0051010772585868835, 0.021071117371320724, -0.04514286667108536, 0.004119620192795992, 0.0032090111635625362, 0.09241952002048492, -0.029322858899831772, -0.0019629145972430706, -0.02658894844353199, -0.04657650366425514, -0.0021358677186071873, 0.03262355551123619, -0.05157756060361862, -0.03390716016292572, -0.016495149582624435, 0.002506779506802559, 0.018187174573540688, -0.043809253722429276, 0.003934164065867662, 0.015344907529652119, -0.06724753230810165, -0.04677654430270195, -0.035407476127147675, -0.03904157876968384, -0.05794557183980942, 0.04477612301707268, -0.008043365553021431, -0.005676198750734329, 0.05811227485537529, -0.03974172845482826, -0.02347162365913391, 0.06754759699106216, 0.02060435153543949, -0.02347162365913391, 0.019970884546637535, -0.04154210537672043, 0.034540627151727676, 0.02523866295814514, 0.007709961850196123, 0.08295085281133652, 0.06828108429908752, -0.039608366787433624, -0.021421190351247787, 0.022288041189312935, -0.0032569379545748234, -0.03480735048651695, 0.02835598960518837, 0.008464287966489792, -0.027039043605327606, -0.09101922065019608, -0.043809253722429276, 0.03847479075193405, -0.02615552395582199, 0.03025639057159424, 0.007764139678329229, 0.008685167878866196, -0.003688278840854764, 0.00704315397888422, 0.01725364476442337, -0.01268601231276989, -0.03594092279672623, -0.07481580227613449, 0.0194541085511446, -0.012060880661010742, -0.06077950447797775, 0.014444717206060886, -0.06171303242444992, 0.030406421050429344, -0.04227559641003609, 0.0352407768368721, 0.018320536240935326, 0.02682233229279518, -0.026855671778321266, -0.026788990944623947, 0.03767462447285652, -0.015528279356658459, 0.030339740216732025, -0.0039029077161103487, 0.048876989632844925, -0.04030851274728775, 0.02310488000512123, -0.004263400565832853, 0.010668920353055, 0.039541684091091156, 0.006818106863647699, 0.010718930512666702, -0.05171092227101326, 0.013427835889160633, -0.048510245978832245, 0.004038352984935045, 0.06011269614100456, 0.03950834274291992, 0.006330503616482019, -0.005226103588938713, 0.036674413830041885, 0.04337582737207413, -0.011660795658826828, 0.003990426193922758, 0.02488858997821808, 0.01694524474442005, 0.009018571116030216, 0.011785822920501232, -0.00920194387435913, -0.006180471740663052, -0.055345021188259125, -0.030689815059304237, -0.020704371854662895, -0.03184005618095398, -0.057045381516218185, 0.015778332948684692, -0.0002553924859967083, -0.04190885275602341, 0.07301542162895203, -0.0014023794792592525, -0.0007246322347782552, -0.06041276082396507, -0.00695146806538105, -0.0301230289041996, -0.00932697020471096, 0.04124204441905022, 0.03834143280982971, 0.025688758119940758, 0.01128571666777134, -0.053811363875865936, -0.018070483580231667, -0.06521376967430115, 0.01743701659142971, -0.026939023286104202, -0.02012091688811779, -0.0758826956152916, -0.0481768399477005, -0.00027922564186155796, -0.013086097314953804, 0.03694113343954086, -0.019804183393716812, 0.06631400436162949, -0.029006125405430794, 0.027405787259340286, -0.0075432597659528255, 0.0065305461175739765, 0.012419289909303188, -0.02695569209754467, 0.01512819528579712, -0.01720363274216652, 0.06127960979938507, 0.006476367823779583, 0.01341116614639759, 0.011660795658826828, 0.0148448022082448, -0.051444198936223984, -0.04227559641003609, -0.038808196783065796, 0.016670187935233116, 0.020454319193959236, 0.013119437731802464, 0.03360709920525551, 0.009768730029463768, -0.010927307419478893, -0.01097731851041317, 0.00026984864962287247, -0.0024609363172203302, -0.0017045267159119248, -0.054244790226221085, 0.0647803470492363, -0.009868751280009747, 0.04190885275602341, -0.0010773108806461096, -0.02220468968153, -0.05404474586248398, -0.027855882421135902, 0.030656473711133003, 0.016686856746673584, -0.032656896859407425, -0.012144231237471104, -0.04941043630242348, 0.010010447353124619, -0.00030318903736770153, -0.017787089571356773, -0.02487191930413246, 0.05074404925107956, 0.015828343108296394, -0.04837688431143761, 0.007601605262607336, -0.04714329168200493, 0.038441453129053116, -0.024355143308639526, 0.10408864915370941, -0.058645717799663544, 0.010660585016012192, -0.0035674201790243387, -0.006284660659730434, -0.03757460415363312, -0.007201520726084709, 0.014594748616218567, -0.02738911844789982, 0.0010835621505975723, 0.03720785677433014, -0.04657650366425514, 0.006063780747354031, -0.02450517565011978, -0.04024183377623558, -0.0167035274207592, 0.00798502005636692, 0.056378573179244995, -0.07034818828105927, 0.04370922967791557, -0.0842844694852829, 0.05047732591629028, 0.008760183118283749, 0.009218613617122173, 0.056678637862205505, 0.008918549865484238, 0.038874875754117966, 0.03550750017166138, -0.0788833275437355, -0.024921929463744164, -0.003736205631867051, -0.017653727903962135, -0.011727476492524147, -0.00021697291231248528, 0.00954368244856596, -0.0481768399477005, 0.07381559163331985, 0.037541262805461884, 0.022471413016319275, 0.00786416046321392, 0.019537460058927536, -0.04367589205503464, 0.009718718938529491, -0.00987708568572998, -0.10168814659118652, -0.021804604679346085, 0.03810804709792137, -0.03362376615405083, 0.03474067151546478, -0.011544104665517807, -0.023921718820929527, -0.004946878179907799, 0.0318567268550396, -0.04517620801925659, -0.003744540736079216, -0.08721841871738434, -0.03774130344390869, -0.03854147344827652, -0.01360287331044674, -0.0016909821424633265, -0.007555762305855751, -0.04187551140785217, -0.008343428373336792, -0.014886477030813694, -0.0032194298692047596, 0.018637269735336304, 0.008943555876612663, 0.02427179366350174, 0.018620599061250687, 0.08008357882499695, 0.02872273325920105, -0.008826863951981068, 0.02170458436012268, -0.02408841997385025, -0.026788990944623947, -0.041442085057497025, 0.014328026212751865, 0.04480946436524391, -0.044242676347494125, 0.016253432258963585, -0.003957085777074099, 0.0063971844501793385, 0.010568899102509022, -0.029506230726838112, 0.02347162365913391, -0.06761427968740463, 0.051610901951789856, -0.02347162365913391, 0.03714117780327797, -0.03477400913834572, 0.028155947104096413, 0.023021528497338295, 0.0687478557229042, 0.010185484774410725, -0.04690990597009659, -0.05514498054981232, 0.019587470218539238, 0.04707660898566246, -0.03360709920525551, 0.06921461969614029, -0.04254231974482536, 0.014319690875709057, 0.048510245978832245, 0.0001779021549737081, 0.07481580227613449, -0.012060880661010742, -0.00689312256872654, -0.022821485996246338, 0.024105090647935867, -0.05154421925544739, 0.014411376789212227, 0.011460754089057446, -0.005867905914783478, 0.015778332948684692, -0.04801014065742493, -0.034907370805740356, 0.005847068037837744, -0.007397395558655262, -0.014503062702715397, 0.022421402856707573, -0.02793923392891884, -0.01908736489713192, -0.03774130344390869, 0.012936064973473549, -0.03395717218518257, -0.02408841997385025, 0.022638114169239998, -0.07995022088289261, -0.004705160390585661, 0.014328026212751865, 0.014369701966643333, 0.019770842045545578, -0.018954003229737282, 0.00046624429523944855, -0.01262766681611538, 0.010810616426169872, 0.018270526081323624, 0.0007673495565541089, -0.03774130344390869, -0.08115047216415405, -0.03170669823884964, 0.004509285558015108, 0.04267568141222, -0.005584512837231159, -0.018737290054559708, 0.002281731925904751, -0.018337206915020943, -0.0407419390976429, 0.02103777602314949, 0.0056595285423099995, 0.06814772635698318, -0.032040100544691086, -0.005242773797363043, -0.014611419290304184, -0.07481580227613449, -0.02890610508620739, -0.05621187016367912, -0.00613046158105135, -0.004838522057980299, -0.04230893403291702, 0.007580767851322889, -0.03042309172451496, -0.012727688066661358, 0.033323705196380615, -0.039975110441446304, -0.014169659465551376, 0.022304710000753403, 0.03914159908890724, 0.004248814191669226, 0.016128405928611755, -0.002275480655953288, -0.03194008022546768, -0.0162200927734375, 0.04270901903510094, 0.007305709645152092, -0.000567828246857971, -0.01216923724859953, 0.00553450221195817, -0.00829341821372509, 0.03730788081884384, -0.0012648504925891757, -0.002281731925904751, 0.03202342987060547, -0.004144625272601843, 0.04664318263530731, -0.005017726216465235, -0.03854147344827652, 0.06608062237501144, 0.028456009924411774, -0.015386583283543587, 0.013294474221765995, 0.052844494581222534, -0.008826863951981068, -0.003642435884103179, 0.05317789688706398, 0.029256178066134453, 0.020204266533255577, -0.030706485733389854, 0.04957713559269905, 0.027239086106419563, 0.011735811829566956, 0.01860392838716507, -0.03714117780327797, -0.015353242866694927, 0.08495127409696579, -0.01219424232840538, -0.012085885740816593, -0.03580756112933159, -0.0006782682612538338, 0.08375102281570435, 0.0070889974012970924, -0.011560775339603424, 0.09148598462343216, 0.03910825774073601, -0.026855671778321266, -0.013927941210567951, 0.05014392361044884, 0.012302597984671593, -0.008060035295784473, 0.011277381330728531, 0.02750580944120884, -0.01652849093079567, 0.03078983537852764, 0.013061092235147953, 0.0066930800676345825, -0.02812260575592518, -0.022604774683713913, -0.035274118185043335, 0.01823718473315239, 0.007334882393479347, -0.003800802631303668, 0.059012461453676224, 0.044742781668901443 ]
41,012
pyglove.core.symbolic.list
__init__
Constructor. Args: items: A optional iterable object as initial value for this list. value_spec: Value spec that applies to this List. onchange_callback: Callback when sub-tree has been modified. allow_partial: Whether to allow unbound or partial fields. This takes effect only when value_spec is not None. accessor_writable: Whether to allow modification of this List using accessors (operator[]). sealed: Whether to seal this List after creation. root_path: KeyPath of this List in its object tree.
def __init__( self, items: Optional[Iterable[Any]] = None, *, value_spec: Optional[pg_typing.List] = None, onchange_callback: Optional[Callable[ [Dict[object_utils.KeyPath, base.FieldUpdate]], None]] = None, allow_partial: bool = False, accessor_writable: bool = True, sealed: bool = False, root_path: Optional[object_utils.KeyPath] = None): """Constructor. Args: items: A optional iterable object as initial value for this list. value_spec: Value spec that applies to this List. onchange_callback: Callback when sub-tree has been modified. allow_partial: Whether to allow unbound or partial fields. This takes effect only when value_spec is not None. accessor_writable: Whether to allow modification of this List using accessors (operator[]). sealed: Whether to seal this List after creation. root_path: KeyPath of this List in its object tree. """ if value_spec and not isinstance(value_spec, pg_typing.List): raise TypeError( f'Argument \'value_spec\' must be a `pg.typing.List` object. ' f'Encountered {value_spec}.') # We delay seal operation until items are filled. base.Symbolic.__init__( self, allow_partial=allow_partial, accessor_writable=accessor_writable, sealed=False, root_path=root_path) self._value_spec = None self._onchange_callback = None list.__init__(self) if items: # Copy the symbolic form instead of evaluated form. if isinstance(items, List): items = items.sym_values() for item in items: self._set_item_without_permission_check(len(self), item) if value_spec: self.use_value_spec(value_spec, allow_partial) # NOTE(daiyip): We set onchange callback at the end of init to avoid # triggering during initialization. self._onchange_callback = onchange_callback self.seal(sealed)
(self, items: Optional[Iterable[Any]] = None, *, value_spec: Optional[pyglove.core.typing.value_specs.List] = None, onchange_callback: Optional[Callable[[Dict[pyglove.core.object_utils.value_location.KeyPath, pyglove.core.symbolic.base.FieldUpdate]], NoneType]] = None, allow_partial: bool = False, accessor_writable: bool = True, sealed: bool = False, root_path: Optional[pyglove.core.object_utils.value_location.KeyPath] = None)
[ 0.053946297615766525, -0.028913388028740883, -0.023454084992408752, 0.025337258353829384, -0.012592541985213757, 0.017966246232390404, 0.0018653415609151125, -0.014399628154933453, 0.03243245184421539, -0.00626298226416111, 0.001566934515722096, 0.03182375058531761, 0.007318701595067978, -0.004548627883195877, 0.003302688943222165, 0.040630921721458435, 0.006957284174859524, 0.01719585806131363, 0.03520965948700905, 0.03266071528196335, -0.010490613989531994, 0.018907833844423294, 0.022065481171011925, 0.07414762675762177, -0.004489183891564608, -0.02632640115916729, 0.02219863422214985, 0.038538504391908646, 0.01311564538627863, -0.03332648426294327, 0.04146788641810417, 0.009363562799990177, 0.008122379891574383, -0.014932243153452873, 0.04051679000258446, -0.017614340409636497, -0.035323791205883026, 0.031138958409428596, -0.062315963208675385, 0.00514068640768528, 0.05778873339295387, -0.007233102805912495, -0.008440997451543808, -0.027068257331848145, 0.0872727781534195, 0.09100108593702316, 0.006971550639718771, 0.014199897646903992, 0.01193628367036581, -0.03321235254406929, -0.015103441663086414, 0.03882383182644844, -0.013220266439020634, -0.030187860131263733, -0.05223431810736656, 0.0571419857442379, 0.03132917732000351, 0.04698425531387329, 0.08666408061981201, 0.039717864245176315, 0.017395587638020515, 0.009292230941355228, -0.03096776083111763, -0.11238177865743637, -0.0046104490756988525, -0.007394789252430201, -0.026763906702399254, -0.06391380727291107, -0.030644387006759644, 0.0063818697817623615, -0.036293912678956985, -0.0029745600186288357, 0.014047722332179546, 0.012992003001272678, 0.03600858151912689, 0.01774749532341957, 0.015721654519438744, 0.016064049676060677, 0.03005470708012581, -0.030777541920542717, -0.0099484883248806, 0.03081558458507061, -0.011831662617623806, 0.0011270515387877822, -0.019155120477080345, 0.0260220505297184, 0.0013339153956621885, -0.009420628659427166, 0.052881065756082535, 0.046451643109321594, -0.050332121551036835, 0.005506859160959721, -0.02820957638323307, 0.007732429075986147, -0.062011610716581345, -0.031956903636455536, 0.0017381322104483843, -0.1116969883441925, -0.04504401609301567, 0.05147344246506691, 0.032071035355329514, -0.0031505131628364325, -0.043446172028779984, 0.016187693923711777, 0.007085682358592749, -0.017814071848988533, -0.015312682837247849, -0.024424204602837563, 0.02035350352525711, -0.014932243153452873, -0.017604829743504524, 0.05470717325806618, 0.04207658767700195, 0.019449960440397263, -0.034619979560375214, 0.0703812763094902, -0.008260289207100868, -0.07913137972354889, 0.06227791681885719, -0.09381633996963501, 0.013524617999792099, -0.0308726504445076, -0.02474757842719555, 0.06726167351007462, 0.036712393164634705, 0.022065481171011925, 0.011527311988174915, -0.012839827686548233, -0.007642074953764677, 0.01740509830415249, 0.02162797562777996, 0.0012471276568248868, -0.025984006002545357, 0.029959596693515778, 0.05687567964196205, -0.03429660573601723, 0.005763655994087458, -0.03378301113843918, -0.058435481041669846, -0.02178015187382698, -0.007342479191720486, -0.041239622980356216, 0.06087029352784157, 0.010376482270658016, -0.05105495825409889, -0.004527227953076363, -0.0034643756225705147, 0.01947849430143833, -0.03796784579753876, 0.044967927038669586, -0.05223431810736656, 0.007332968059927225, 0.01321075577288866, 0.03498139604926109, -0.03610369190573692, 0.043141819536685944, -0.08118575066328049, -0.05577240511775017, 0.02663075365126133, 0.03347866237163544, -0.028095444664359093, 0.003766349283978343, -0.0022327033802866936, 0.013838480226695538, -0.05326150730252266, 0.01640644669532776, -0.05265280231833458, -0.1428169161081314, -0.057978954166173935, 0.019706757739186287, 0.04169614985585213, -0.053185418248176575, 0.0012934936676174402, 0.03460095822811127, 0.01583578623831272, 0.031405266374349594, 0.01671079732477665, 0.020752964541316032, -0.009382585063576698, -0.038291219621896744, -0.03463900089263916, -0.03616075962781906, 0.009021167643368244, 0.00812713522464037, -0.0005929503822699189, 0.06456055492162704, -0.07007692009210587, 0.044054873287677765, 0.05592457950115204, 0.037986867129802704, -0.02529921568930149, -0.038899920880794525, 0.06646274775266647, -0.04264724999666214, -0.04215267673134804, -0.001400492270477116, -0.023663325235247612, 0.012735206633806229, -0.05877787619829178, 0.026611730456352234, -0.0586637444794178, -0.03117700293660164, 0.02332093007862568, -0.002281447174027562, -0.035590097308158875, 0.03694066032767296, 0.008702549152076244, -0.019155120477080345, 0.030929716303944588, -0.02335897460579872, -0.03279386833310127, 0.018394241109490395, -0.03739718720316887, -0.0015645567327737808, -0.016663242131471634, -0.07456611096858978, -0.014218919910490513, -0.032927025109529495, 0.015407792292535305, -0.016130628064274788, 0.05387020856142044, 0.02010621875524521, -0.0739574059844017, -0.047935355454683304, 0.04842992499470711, 0.016482533887028694, -0.028304684907197952, -0.026098137721419334, 0.003433465026319027, 0.020676877349615097, -0.041543975472450256, -0.04892449826002121, 0.018736636266112328, -0.0339161641895771, 0.01729096658527851, -0.00821748934686184, -0.0052167740650475025, -0.050065815448760986, -0.031595487147569656, 0.01069034542888403, -0.018708104267716408, -0.0021530487574636936, 0.022027436643838882, 0.009040189906954765, -0.03245147317647934, 0.052310407161712646, 0.01637791283428669, 0.019973063841462135, -0.0013600705424323678, -0.01853690668940544, 0.003228978719562292, 0.03285093605518341, 0.012592541985213757, 0.02617422491312027, 0.009201875887811184, 0.010414526797831059, -0.023663325235247612, 0.013106134720146656, 0.004869623575359583, -0.001120512722991407, 0.0039779688231647015, -0.038595568388700485, 0.001481335610151291, 0.05725611746311188, -0.005069354083389044, -0.03945155814290047, 0.009634626097977161, 0.04253311827778816, -0.045995116233825684, 0.0795879065990448, 0.07852267473936081, -0.009696447290480137, 0.030682431533932686, -0.0005899781826883554, -0.019973063841462135, 0.0006372358766384423, 0.009606093168258667, -0.011280026286840439, -0.014409139752388, 0.0017488320590928197, 0.030092749744653702, 0.005987164098769426, 0.013077601790428162, 0.01022430695593357, 0.043902698904275894, 0.00047911578440107405, -0.019221697002649307, 0.030891673639416695, -0.07076171785593033, 0.002388445660471916, 0.05794090777635574, 0.007404300384223461, 0.06128877401351929, -0.0068336413241922855, 0.07331065833568573, 0.013248799368739128, -0.03490530699491501, 0.01892685703933239, -0.010880564339458942, -0.011631932109594345, 0.016796397045254707, 0.005178730469197035, 0.02174210734665394, 0.024956820532679558, 0.025166060775518417, -0.055277835577726364, -0.017481187358498573, -0.005468815099447966, 0.013296354562044144, 0.0239866990596056, -0.005801699589937925, 0.06075616180896759, -0.0413157120347023, 0.05474521964788437, 0.03772055730223656, -0.04009830579161644, -0.06064203009009361, -0.03967982158064842, 0.041810281574726105, 0.023948656395077705, -0.04025048017501831, 0.015911875292658806, -0.022522008046507835, 0.012002861127257347, -0.00867401622235775, 0.0047269584611058235, 0.04922884702682495, 0.04416900500655174, -0.02044861391186714, 0.012716184370219707, -0.032622672617435455, 0.005920587107539177, 0.024253007024526596, 0.0015633678995072842, -0.023796480149030685, -0.02168504148721695, 0.038177087903022766, -0.010252839885652065, -0.022160591557621956, -0.06132682040333748, 0.012107481248676777, -0.0030934473033994436, 0.011926773004233837, -0.00385908130556345, -0.04173419252038002, -0.02326386421918869, 0.08734887093305588, 0.007023861166089773, 0.023549193516373634, 0.0064199138432741165, 0.04698425531387329, -0.04801144450902939, -0.04953319951891899, 0.005868276581168175, 0.033592794090509415, -0.051549527794122696, -0.03500041738152504, -0.03220418840646744, -0.013039558194577694, -0.05824526026844978, 0.09450113028287888, -0.0041658105328679085, -0.021666020154953003, -0.03372594714164734, 0.041049402207136154, -0.03922329470515251, -0.0015835786471143365, -0.058131128549575806, 0.018299130722880363, -0.008802414871752262, 0.011945795267820358, -0.06710949540138245, 0.01643497869372368, -0.026250313967466354, 0.052310407161712646, -0.010880564339458942, 0.00703812763094902, 0.013572173193097115, -0.053185418248176575, 0.016311336308717728, -0.037682514637708664, -0.015902364626526833, 0.02474757842719555, -0.01053816918283701, 0.013153689913451672, -0.007989225909113884, -0.008650239557027817, 0.027315543964505196, 0.05223431810736656, -0.0029484047554433346, -0.0326416939496994, 0.009306496940553188, -0.007894116453826427, -0.005335661582648754, -0.023435061797499657, 0.009515739046037197, 0.04177223891019821, -0.014123809523880482, 0.02056274563074112, -0.038995031267404556, 0.014789578504860401, -0.07882703095674515, 0.023187777027487755, 0.03336453065276146, 0.01889832317829132, -0.044359225779771805, 0.03188081458210945, 0.007946426048874855, -0.017576297745108604, 0.01923120766878128, 0.07456611096858978, 0.010756921954452991, -0.015788232907652855, -0.03178570419549942, 0.02316875569522381, -0.018061356619000435, -0.06079420447349548, -0.011784108355641365, 0.03714989870786667, -0.021646996960043907, 0.01820402219891548, 0.03241343051195145, 0.009919955395162106, 0.048087529838085175, 0.01346755214035511, -0.015084419399499893, 0.04127766564488411, 0.03745425119996071, -0.0014504248974844813, 0.010661812499165535, 0.05600066855549812, 0.034106384962797165, -0.013429508544504642, -0.0262693352997303, -0.053908251225948334, 0.00797971524298191, 0.00626298226416111, -0.057826776057481766, -0.011688997969031334, -0.029503069818019867, -0.008811925537884235, 0.06513120979070663, 0.030416123569011688, -0.013705326244235039, 0.05832134932279587, 0.020030129700899124, -0.019915997982025146, 0.018023313954472542, -0.00600618589669466, -0.017994780093431473, 0.010290883481502533, 0.00829357746988535, 0.08438143879175186, 0.02065785601735115, -0.04394074156880379, -0.02444322593510151, -0.02056274563074112, -0.02056274563074112, -0.01551241334527731, 0.002962671220302582, 0.049875594675540924, 0.01925974152982235, 0.06847907602787018, -0.07643026113510132, -0.02796228975057602, 0.021856239065527916, 0.010756921954452991, 0.05801699683070183, -0.010680833831429482, -0.015521924942731857, 0.015426814556121826, 0.024576380848884583, -0.03528574854135513, -0.012630585581064224, 0.006591111421585083, -0.023397019132971764, 0.021152427420020103, -0.07669656723737717, -0.07627808302640915, -0.1030229702591896, -0.0022541030775755644, -0.024728557094931602, 0.04941906780004501, 0.01655862107872963, -0.013277332298457623, -0.040174391120672226, -0.004993265960365534, -0.05489739403128624, -0.014009677805006504, -0.011213448829948902, -0.025850852951407433, -0.03713087737560272, 0.0002544187882449478, 0.03209005668759346, 0.017880648374557495, -0.036293912678956985, -0.020068174228072166, -0.004258542787283659, 0.049000583589076996, -0.022483963519334793, -0.006048985291272402, 0.012630585581064224, 0.015284149907529354, 0.0520441010594368, 0.011470246128737926, -0.01928827352821827, -0.00902592297643423, 0.0031243578996509314, -0.036503154784440994, -0.061859432607889175, 0.014656425453722477, -0.029293827712535858, 0.06410402804613113, -0.019297784194350243, -0.03528574854135513, 0.01387652475386858, -0.027943268418312073, 0.016663242131471634, 0.007542209699749947, -0.005017043557018042, -0.019430939108133316, -0.03030199185013771, -0.006990572437644005, -0.04432118311524391, 0.019364362582564354, -0.039299383759498596, -0.030092749744653702, -0.026820972561836243, 0.05375607684254646, -0.004068322945386171, 0.029465025290846825, -0.01219308003783226, 0.017367055639624596, 0.009054455906152725, -0.04397878423333168, 0.0637616291642189, 0.05832134932279587, 0.04626142233610153, -0.047212518751621246, 0.01458984799683094, 0.03593249246478081, 0.16008886694908142, 0.00453436141833663, -0.008816681802272797, 0.03511454910039902, -0.04595706984400749, -0.02908458560705185, -0.07182694226503372, -0.006182139273732901, -0.005506859160959721, 0.0037592160515487194, 0.002332568634301424, 0.03296506777405739, 0.009182854555547237, -0.011203938163816929, -0.05702785402536392, 0.023948656395077705, -0.028609037399291992, -0.009406362660229206, -0.0224459208548069, -0.0013838480226695538, 0.04877232015132904, -0.008621706627309322, -0.01035746093839407, 0.056609369814395905, 0.03503846004605293, 0.017176834866404533, 0.0017607207410037518, 0.037111856043338776, -0.004833957180380821, 0.028380773961544037, -0.000016244834114331752, 0.05387020856142044, 0.0160735622048378, -0.01558850146830082, -0.04428313672542572, -0.0038662145379930735, 0.006743287201970816, -0.029046542942523956, -0.14251257479190826, 0.007204569876194, -0.0013576928758993745, -0.05116908997297287, -0.03323137387633324, 0.010005554184317589, 0.019649691879749298, 0.006372358649969101, 0.07098998129367828, -0.08590319752693176, 0.007114215288311243, -0.011089806444942951, -0.01328684389591217, -0.038500458002090454, 0.01677737385034561, -0.02739163115620613, -0.017947224900126457, -0.09495765715837479, 0.012297701090574265, -0.015493391081690788, -0.0029579156544059515, -0.029446003958582878, 0.047060344368219376, 0.01313466764986515, -0.01285884901881218, 0.020981227979063988, -0.030473189428448677, 0.031595487147569656, -0.02402474358677864, 0.03368790075182915, 0.008017758838832378, 0.010319416411221027, 0.05520174652338028, 0.01944044977426529, -0.026973148807883263, -0.007770473137497902, -0.0224459208548069, -0.03964177891612053, 0.06079420447349548, 0.057218074798583984, -0.00779425073415041, -0.028475884348154068, 0.01407625526189804, 0.019725779071450233, 0.01537925936281681, -0.05444086715579033, -0.06627252697944641, -0.009843867272138596, 0.02198939211666584, -0.027049235999584198, -0.05569631606340408, 0.05265280231833458, -0.016520578414201736, -0.009663159027695656, 0.05040821060538292, 0.035266727209091187, -0.037321098148822784, -0.018375219777226448, -0.04664186015725136, 0.04120158031582832, 0.04698425531387329, -0.024005722254514694, -0.018337175250053406, -0.016178181394934654, 0.045272279530763626, -0.026973148807883263, -0.026440532878041267, -0.025831829756498337, -0.03311724215745926, 0.036712393164634705, 0.042723335325717926, -0.026155203580856323, 0.050484299659729004, -0.02484268881380558, 0.006129828747361898, -0.012383299879729748, 0.05444086715579033, 0.016644220799207687, -0.07783788442611694, 0.01574067771434784, 0.016111604869365692, -0.027429675683379173, -0.02499486319720745, 0.014237942174077034, 0.00816042348742485, 0.01398114487528801, -0.015702633187174797, 0.038747746497392654, 0.014856155961751938, 0.027467720210552216, 0.09739246964454651, -0.0013077601324766874, -0.04858210310339928, -0.025013886392116547, 0.07098998129367828, 0.002620275830850005, -0.02162797562777996, 0.032470498234033585, 0.05417456105351448, 0.038234151899814606, 0.02010621875524521, 0.0018558305455371737, -0.04709838703274727, -0.02025839500129223, 0.009458673186600208, -0.017604829743504524, 0.025128018110990524, -0.0026083870325237513, 0.03106287121772766, 0.03922329470515251, -0.056038711220026016, -0.012383299879729748, -0.04717447608709335, -0.0057826777920126915, 0.0014872800093144178, -0.0699247494339943, -0.02271222695708275, -0.019060010090470314, -0.03106287121772766, 0.05128322169184685, 0.03332648426294327, 0.043902698904275894, 0.03172864019870758, -0.009463428519666195, 0.02438616007566452, 0.02111438289284706, 0.010319416411221027, -0.023435061797499657, -0.02489975467324257, 0.029141651466488838, 0.0003052431275136769, 0.010338438674807549, 0.07536502927541733, 0.00017491292965132743, -0.11207742244005203, 0.025926940143108368, -0.027886202558875084, 0.0622398741543293, -0.0033312218729406595, -0.012649607844650745, -0.031234068796038628, 0.0369977243244648, -0.030073728412389755, 0.05135931074619293, -0.023682348430156708, 0.02147579938173294, -0.016539599746465683, 0.025888895615935326, -0.003540463512763381, 0.003502419451251626, -0.031196024268865585, 0.08780539780855179, 0.04112549126148224, 0.009891422465443611, -0.056190889328718185, 0.010424037463963032, -0.04432118311524391, -0.006515023298561573, 0.04260920360684395, -0.025223126634955406, 0.0780661478638649, 0.010775944218039513, 0.009534760378301144, -0.004696047864854336, 0.047326650470495224, -0.07235956192016602, 0.007851316593587399, -0.007047638297080994, -0.025128018110990524, 0.03745425119996071, -0.029008498415350914, 0.008488552644848824, 0.018708104267716408, -0.01079496555030346, 0.009392095729708672, 0.04941906780004501, -0.0009368318133056164, -0.057674601674079895, 0.001400492270477116, -0.06338119506835938, -0.06064203009009361, -0.04679403826594353, 0.018708104267716408, 0.024424204602837563, -0.00410874467343092, -0.010271862149238586, 0.02590791881084442, -0.024975841864943504, 0.0008244833443313837 ]
41,013
pyglove.core.symbolic.list
__iter__
Iterates the list.
def __iter__(self): """Iterates the list.""" for i in range(len(self)): yield self.sym_inferred(i)
(self)
[ 0.04911798611283302, -0.055078908801078796, 0.006190842017531395, -0.01442542765289545, -0.015498394146561623, 0.021271971985697746, 0.013114025816321373, -0.028118515387177467, 0.023179465904831886, 0.02685820497572422, -0.0180019810795784, -0.004491979721933603, 0.027266955003142357, 0.04101113602519035, -0.032512564212083817, 0.035288650542497635, -0.008157946169376373, 0.021408220753073692, -0.007080722134560347, 0.05317141115665436, -0.034607402980327606, 0.030111165717244148, 0.006859316490590572, -0.024337587878108025, -0.00747669767588377, 0.050821106880903244, 0.040704574435949326, -0.006271739955991507, -0.015174801461398602, -0.02897007390856743, -0.009171302430331707, -0.00005322250581230037, 0.008115367963910103, 0.0036510638892650604, 0.08672288060188293, -0.05000361055135727, -0.08944787085056305, 0.04543924704194069, -0.041760507971048355, 0.029157418757677078, 0.09728222340345383, -0.037196144461631775, 0.013480196706950665, 0.010678563266992569, -0.03239334747195244, 0.005590491928160191, 0.021868063136935234, -0.013718632981181145, 0.03200162947177887, -0.0584510862827301, 0.03254662826657295, -0.025001805275678635, 0.017967918887734413, -0.03218897059559822, 0.016503235325217247, 0.08658663183450699, -0.006216388661414385, -0.03705989569425583, -0.0034041116014122963, 0.041079260408878326, -0.016171125695109367, -0.041283633559942245, 0.035084277391433716, -0.053205475211143494, 0.036514896899461746, -0.022413061931729317, -0.052251726388931274, 0.004166257567703724, -0.005186000838875771, 0.0049901423044502735, 0.008545405231416225, -0.0227707177400589, -0.01839369907975197, 0.0403980128467083, 0.0002506780147086829, -0.01951775699853897, -0.0455414354801178, 0.019091976806521416, 0.07616353780031204, -0.0988490954041481, -0.05163860321044922, 0.022310875356197357, -0.0745285376906395, -0.021169783547520638, -0.053001102060079575, 0.0033721779473125935, 0.03203568980097771, -0.024048056453466415, -0.0470401793718338, 0.061857324093580246, -0.03505021333694458, 0.05078704282641411, 0.00030789218726567924, 0.03009413368999958, -0.020607754588127136, 0.010465674102306366, -0.013539806008338928, -0.07800290733575821, 0.0023652082309126854, 0.0031103233341127634, 0.030315538868308067, 0.056237030774354935, 0.019109008833765984, 0.0043855346739292145, 0.015217378735542297, -0.014740505255758762, -0.033278968185186386, -0.07548228651285172, 0.0003826698230113834, 0.0074383774772286415, -0.07241667062044144, 0.030400695279240608, -0.0038086024578660727, -0.0049901423044502735, -0.01846182346343994, -0.012449808418750763, 0.010942547582089901, 0.00806853175163269, 0.04206706956028938, 0.008302710950374603, 0.010584891773760319, 0.015651674941182137, -0.03370475023984909, 0.002573840320110321, 0.018649166449904442, 0.0521836020052433, 0.03057100810110569, -0.019483694806694984, -0.002825050614774227, -0.003057100810110569, 0.03542489930987358, 0.006727324798703194, 0.011223562061786652, 0.08692725747823715, 0.005611781030893326, 0.011964419856667519, 0.00573951518163085, -0.03569740056991577, -0.0459161214530468, 0.015174801461398602, 0.02418430708348751, -0.01876838505268097, 0.012858557514846325, 0.044996436685323715, -0.054329533129930496, 0.027369141578674316, -0.03440302982926369, 0.06117607653141022, -0.0038745985366404057, -0.001608384191058576, -0.046631429344415665, 0.056339215487241745, 0.07589103281497955, 0.059847645461559296, -0.03324490785598755, 0.06672824919223785, -0.03627645969390869, 0.02343493327498436, -0.03501615300774574, -0.02990679070353508, -0.05208141729235649, -0.022617436945438385, -0.06587669253349304, 0.024644149467349052, -0.0181893240660429, 0.01410183496773243, -0.03760489448904991, -0.04482612386345863, 0.01669909432530403, 0.006918925791978836, 0.0038405361119657755, -0.10096096247434616, 0.008106851950287819, -0.011317233555018902, 0.024133212864398956, 0.0646163821220398, -0.01810416765511036, 0.0727572962641716, 0.0225833747535944, 0.011036219075322151, -0.013982617296278477, -0.04046613723039627, -0.10709220170974731, -0.08951599895954132, 0.031848348677158356, 0.07657228410243988, 0.017593231052160263, 0.013974101282656193, 0.0187513530254364, 0.027658673003315926, 0.002952784765511751, -0.014016679488122463, 0.022140562534332275, 0.009622628800570965, 0.004641002509742975, -0.014178475365042686, -0.03442005813121796, 0.04649518057703972, -0.006463340949267149, 0.05610077828168869, -0.03448818251490593, -0.018308542668819427, -0.019773226231336594, 0.02449086867272854, 0.0067060356959700584, 0.03620833531022072, 0.003565907943993807, -0.017763543874025345, 0.00633134925737977, -0.023758526891469955, -0.03140553832054138, -0.00434934301301837, 0.05875764787197113, 0.028936011716723442, 0.03610614687204361, 0.0026611252687871456, 0.0032316704746335745, -0.07159917056560516, 0.012926681898534298, 0.0020043596159666777, 0.07664041221141815, -0.015421753749251366, -0.036821458488702774, -0.03113303706049919, 0.04574580863118172, -0.0185640100389719, -0.000005941793915553717, -0.0330575630068779, -0.0900609940290451, 0.004623971413820982, -0.015430268831551075, -0.01090848445892334, 0.039750825613737106, 0.025734147056937218, 0.05054860934615135, 0.027386173605918884, -0.006974277086555958, 0.01953478902578354, -0.06720512360334396, 0.028918981552124023, -0.061755139380693436, 0.0510595440864563, -0.004772994201630354, -0.006088654510676861, -0.04530299827456474, 0.02827179618179798, 0.022889936342835426, 0.06897636502981186, -0.00745115103200078, 0.011376842856407166, 0.010985124856233597, -0.030060071498155594, -0.017780574038624763, -0.004811314400285482, 0.045371122658252716, -0.055657967925071716, -0.02980460412800312, -0.03453927859663963, 0.04056832194328308, -0.020914316177368164, 0.012058091349899769, 0.019790256395936012, -0.0007280838908627629, 0.07405166327953339, -0.010882938280701637, 0.03883114084601402, -0.011002156883478165, 0.0019702971912920475, -0.028544293716549873, 0.025376491248607635, 0.02963429130613804, -0.002590871648862958, -0.013045900501310825, 0.04826642572879791, -0.024320555850863457, 0.04697205498814583, 0.013659023679792881, 0.029566166922450066, -0.08065976947546005, -0.04945861175656319, 0.02895304374396801, 0.0009643918019719422, -0.04560955986380577, -0.024593055248260498, -0.023009153082966805, 0.04656330496072769, 0.005194516386836767, -0.0045856512151658535, 0.02103353478014469, -0.027028517797589302, 0.07493729144334793, 0.016639484092593193, 0.0750054121017456, -0.009171302430331707, 0.0995984673500061, -0.014612771570682526, -0.04407675191760063, 0.0506848581135273, 0.013037385419011116, -0.013352462090551853, 0.03556114807724953, -0.03355146944522858, -0.009511926211416721, 0.03583364933729172, -0.01808713562786579, -0.015455815941095352, 0.026159925386309624, 0.0580764003098011, -0.028987105935811996, -0.0011538639664649963, 0.03442005813121796, 0.04789173975586891, -0.044519562274217606, 0.020982440561056137, 0.03535677492618561, -0.06390106678009033, -0.0481642410159111, 0.006178068462759256, 0.00709775323048234, 0.08474726229906082, -0.008762553334236145, 0.012483871541917324, 0.03094569407403469, -0.0009606662206351757, -0.023503059521317482, 0.06189138814806938, -0.008021696470677853, 0.0016147708520293236, -0.023554151877760887, -0.015745345503091812, 0.02246415615081787, -0.044042687863111496, -0.008796615526080132, 0.04407675191760063, -0.015626128762960434, 0.039205826818943024, 0.02762460894882679, 0.04220331832766533, 0.0027547969948500395, -0.07003230601549149, -0.008455991744995117, -0.0016296731773763895, 0.006399474106729031, 0.01706526428461075, -0.04574580863118172, 0.033091627061367035, -0.016665030270814896, -0.023366808891296387, 0.044621750712394714, 0.055657967925071716, 0.02760757878422737, -0.024422744289040565, 0.035867709666490555, -0.0038745985366404057, 0.05950701981782913, 0.014297693967819214, -0.010218720883131027, 0.0521836020052433, -0.053852662444114685, -0.004436627961695194, 0.05133204162120819, -0.026551643386483192, -0.00003426198964007199, -0.006659199949353933, 0.025546802207827568, -0.048607051372528076, -0.042816441506147385, 0.012228403240442276, -0.022430093958973885, -0.005398890934884548, -0.047108303755521774, -0.013633477501571178, -0.008455991744995117, -0.06308357417583466, -0.007532048970460892, 0.0026291918475180864, -0.010372001677751541, 0.043668001890182495, -0.018342604860663414, 0.015941204503178596, 0.03372177854180336, -0.006582559552043676, 0.04942454770207405, 0.03222303465008736, -0.004198191221803427, -0.05163860321044922, 0.0024610087275505066, 0.002673898823559284, 0.011777075938880444, 0.07629978656768799, -0.02343493327498436, -0.055760156363248825, -0.040227700024843216, 0.0033125688787549734, -0.019960569217801094, -0.06281107664108276, 0.014689411967992783, -0.030060071498155594, -0.07561853528022766, -0.03067319467663765, 0.01423808466643095, -0.03363662585616112, 0.007647009566426277, 0.04087488353252411, -0.001956459367647767, -0.029923822730779648, 0.004670807160437107, -0.018308542668819427, -0.018325572833418846, 0.03610614687204361, -0.027556484565138817, 0.00659959064796567, 0.01009098719805479, -0.05477234721183777, 0.03125225752592087, -0.011955903843045235, 0.011138406582176685, 0.015208863653242588, 0.05817858502268791, 0.04990142211318016, 0.060222331434488297, -0.06757981330156326, 0.06672824919223785, 0.046427056193351746, -0.04772142693400383, -0.03263178467750549, 0.013701601885259151, -0.005015688948333263, -0.0183766670525074, -0.006403732113540173, -0.054636094719171524, -0.029668353497982025, 0.001053273444995284, -0.02561492845416069, 0.03668520972132683, -0.06339013576507568, -0.056713901460170746, -0.05518109351396561, -0.004200320225208998, 0.01252644881606102, 0.042986754328012466, 0.06485481560230255, 0.02770976535975933, -0.012977776117622852, 0.03125225752592087, -0.0009686496341601014, -0.021203845739364624, 0.04697205498814583, 0.004560104571282864, 0.005194516386836767, -0.015132223255932331, -0.017261123284697533, 0.07044105231761932, -0.029940852895379066, 0.04036394879221916, 0.038149893283843994, 0.040908947587013245, -0.056713901460170746, -0.014774567447602749, -0.0017020558007061481, 0.030877569690346718, 0.02200431376695633, -0.0020511953625828028, -0.09115099161863327, -0.021595563739538193, 0.03426677733659744, -0.012918166816234589, 0.04421300068497658, -0.0036872553173452616, -0.002759054768830538, 0.04046613723039627, -0.008562437258660793, -0.03583364933729172, -0.0693851187825203, -0.025870395824313164, 0.0008622045861557126, -0.05599859356880188, 0.021220877766609192, -0.018444791436195374, -0.0933309867978096, -0.019585883244872093, -0.05150235444307327, 0.0363786481320858, -0.011070281267166138, 0.006484630052000284, -0.0003821376012638211, 0.019568851217627525, -0.023945869877934456, -0.038728952407836914, -0.005564945284277201, 0.004819829948246479, 0.001784018357284367, 0.029889758676290512, -0.011112859472632408, 0.02285587228834629, 0.02220868691802025, 0.014297693967819214, 0.020931348204612732, 0.02990679070353508, -0.023486027494072914, -0.018138229846954346, 0.013403556309640408, 0.006723066791892052, 0.011078797280788422, 0.03378990665078163, 0.05817858502268791, 0.011972934938967228, -0.049765173345804214, -0.05790608748793602, -0.015651674941182137, 0.02837398275732994, -0.014416912570595741, -0.025938520208001137, -0.01914307102560997, 0.01866619661450386, -0.058042336255311966, -0.009571535512804985, -0.024048056453466415, -0.03067319467663765, 0.031371474266052246, 0.02696039341390133, -0.09769097715616226, -0.08542850613594055, 0.00824310164898634, 0.010525282472372055, -0.02418430708348751, -0.01820635423064232, -0.026619769632816315, 0.03351740539073944, -0.002812277292832732, 0.019841350615024567, 0.011087312363088131, 0.014749021269381046, 0.03484584018588066, -0.034913964569568634, 0.013318399898707867, 0.05763358622789383, -0.029668353497982025, 0.005292445886880159, 0.08822162449359894, 0.03029850870370865, 0.024729305878281593, -0.011751529760658741, -0.03579958528280258, 0.007817321456968784, -0.019551819190382957, -0.08127289265394211, -0.09666910022497177, 0.007842868566513062, -0.008157946169376373, -0.0647185668349266, -0.021782906726002693, -0.044144876301288605, 0.04073863476514816, -0.018529947847127914, -0.013020354323089123, 0.04421300068497658, 0.004832603503018618, 0.006373927462846041, 0.03879707679152489, 0.008673139847815037, 0.044723935425281525, 0.006999824196100235, -0.06679637730121613, 0.03763895481824875, 0.04206706956028938, 0.02275368571281433, 0.00032838285551406443, -0.001490230206400156, 0.01305441651493311, 0.022344937548041344, 0.0014348787954077125, 0.04046613723039627, 0.018734322860836983, 0.024354618042707443, 0.03191647306084633, -0.01752510666847229, -0.013446133583784103, 0.0023928838782012463, -0.12834714353084564, -0.0288508553057909, 0.030026009306311607, 0.014297693967819214, -0.011002156883478165, -0.02113572135567665, -0.047482989728450775, -0.022123530507087708, 0.019568851217627525, -0.04400862753391266, -0.006974277086555958, -0.011870747432112694, -0.06904449313879013, -0.045200809836387634, -0.001581772929057479, -0.02667086198925972, -0.050718918442726135, -0.05691827833652496, -0.034522246569395065, -0.040908947587013245, -0.0031294834334403276, 0.00533502409234643, 0.035288650542497635, 0.027318047359585762, 0.03154178708791733, 0.04342956468462944, -0.02200431376695633, 0.01009098719805479, 0.035969898104667664, 0.02084619179368019, 0.016741670668125153, -0.014127382077276707, 0.00251210224814713, 0.046903930604457855, -0.005977951921522617, -0.04925423488020897, -0.010687079280614853, -0.005539398640394211, 0.07684478163719177, 0.015549487434327602, 0.014084803871810436, -0.06594481319189072, -0.01481714565306902, -0.05286484956741333, 0.030162258073687553, -0.03610614687204361, 0.021646657958626747, 0.04673361778259277, -0.012279496528208256, 0.022975090891122818, -0.025751177221536636, -0.02789710834622383, -0.008319742046296597, 0.05691827833652496, -0.04220331832766533, -0.01887057162821293, -0.03254662826657295, 0.018359635025262833, 0.0012230532011017203, -0.06781824678182602, 0.02409915067255497, -0.011989966034889221, 0.02762460894882679, -0.020403379574418068, 0.02486555464565754, -0.028731638565659523, -0.005369086284190416, -0.033875059336423874, -0.010729657486081123, 0.04295269027352333, 0.005347797647118568, -0.00549682043492794, 0.07214417308568954, -0.011368327774107456, 0.030111165717244148, 0.009384192526340485, -0.024712273851037025, 0.0021948961075395346, -0.04131769761443138, 0.038728952407836914, -0.016792764887213707, 0.0014008163707330823, -0.001939428155310452, -0.012032544240355492, -0.026824142783880234, -0.013037385419011116, -0.0007089237915351987, -0.013667539693415165, -0.011129890568554401, -0.004340827465057373, -0.018359635025262833, -0.022906966507434845, 0.06165295094251633, -0.02208946831524372, -0.038626767694950104, -0.049662984907627106, 0.006088654510676861, 0.005943889729678631, 0.0020022306125611067, 0.002124642487615347, -0.021782906726002693, -0.025683052837848663, -0.04973110929131508, 0.024456806480884552, 0.012083637528121471, -0.05323953926563263, -0.009290521033108234, -0.00530947744846344, 0.0050667827017605305, 0.022515248507261276, -0.06029045581817627, -0.026704924181103706, -0.03331303223967552, 0.02990679070353508, -0.02113572135567665, -0.04135175794363022, 0.013395040296018124, -0.017576200887560844, -0.039750825613737106, 0.06570637971162796, -0.027863046154379845, 0.0237074326723814, 0.0009319260716438293, 0.04288456588983536, 0.030724288895726204, 0.04407675191760063, 0.027658673003315926, -0.010116534307599068, -0.004572877660393715, -0.008060016669332981, 0.03879707679152489, 0.01846182346343994, 0.02324759028851986, -0.05521515756845474, -0.030043039470911026, 0.02077806554734707, -0.044144876301288605, 0.04468987509608269, 0.06952136754989624, 0.039580512791872025, 0.057565461844205856, 0.07507354021072388, -0.03336412459611893, 0.017644325271248817, 0.07078167796134949, -0.029566166922450066, 0.034522246569395065, -0.0181893240660429, 0.07664041221141815, -0.020250098779797554, 0.013650508597493172, 0.027692735195159912, -0.020164942368865013, -0.01171746663749218, 0.02428649365901947, -0.03351740539073944, -0.018598072230815887, 0.002371594775468111, 0.039376139640808105, -0.039478328078985214, 0.044042687863111496, -0.024320555850863457, 0.03716208413243294, -0.037673018872737885, 0.053477972745895386, -0.022685561329126358, 0.006684746593236923, 0.03370475023984909, 0.011461999267339706, 0.03988707438111305, -0.03780926764011383, 0.021476345136761665, -0.0093756765127182, 0.01499597355723381, 0.009299036115407944, 0.023400871083140373, 0.014476521871984005, 0.026057738810777664, -0.057565461844205856, -0.08467913419008255, -0.005215805489569902, -0.054908595979213715, -0.009435285814106464, 0.05599859356880188, 0.04945861175656319, -0.03791145607829094, 0.009477864019572735, 0.06744355708360672, 0.02694336138665676 ]
41,014
pyglove.core.symbolic.list
__mul__
Returns a repeated Lit of self.
def __mul__(self, n: int) -> 'List': """Returns a repeated Lit of self.""" result = List() for _ in range(n): result.extend(self) if self._value_spec is not None: result.use_value_spec(self._value_spec) return result
(self, n: int) -> pyglove.core.symbolic.list.List
[ 0.03232560679316521, -0.0497397817671299, 0.015550244599580765, -0.0013476295862346888, -0.021859601140022278, 0.051629964262247086, -0.028387729078531265, -0.10402999818325043, -0.0107372822239995, 0.04571439325809479, -0.03222059831023216, 0.0223146453499794, 0.04746456444263458, 0.03804865851998329, 0.014010096900165081, 0.016652850434184074, 0.0008630517404526472, -0.03139801695942879, -0.0189543217420578, 0.03738359361886978, 0.012469949200749397, 0.05278507620096207, 0.040533896535634995, 0.06923665851354599, -0.028002692386507988, 0.04620444402098656, 0.06710144877433777, -0.011166073381900787, -0.05828060209751129, 0.013835079967975616, -0.011218578554689884, 0.04578440263867378, -0.005066737066954374, -0.003371261525899172, 0.023364746943116188, -0.04452428221702576, -0.059890758246183395, 0.01709914393723011, -0.12440195679664612, 0.052120011299848557, 0.09576920419931412, -0.03220309689640999, 0.048934705555438995, -0.013231271877884865, -0.02465987019240856, -0.021457063034176826, 0.06899163126945496, 0.028562746942043304, -0.014981440268456936, -0.09142878651618958, 0.03145052492618561, 0.031030483543872833, -0.00782762747257948, -0.02350476011633873, -0.014421386644244194, 0.08141782879829407, 0.008186412043869495, 0.018271757289767265, 0.02959534525871277, 0.02744263783097267, -0.04788460209965706, -0.015191460959613323, 0.0010036120656877756, -0.05583036690950394, 0.0063443598337471485, -0.04721954092383385, -0.03990383818745613, 0.005298634525388479, 0.021702086552977562, -0.001556555856950581, 0.010921049863100052, 0.009870949201285839, -0.014010096900165081, 0.005001105833798647, -0.0032750023528933525, 0.021807096898555756, 0.016652850434184074, 0.021842099726200104, 0.06626137346029282, -0.04578440263867378, -0.03979882597923279, 0.041513990610837936, -0.01146360207349062, -0.015235214494168758, -0.001939405221492052, -0.005749302916228771, 0.046099431812763214, -0.025202423334121704, -0.00005575242903432809, 0.025482449680566788, -0.027862679213285446, 0.01869179680943489, -0.030680449679493904, 0.0035156505182385445, -0.025167420506477356, 0.016399076208472252, -0.027337627485394478, -0.06626137346029282, -0.005600538570433855, 0.008133906871080399, 0.01162111759185791, -0.011139821261167526, -0.012233676388859749, 0.0033668861724436283, 0.025832483544945717, -0.0024392970371991396, -0.022909702733159065, -0.029175305739045143, -0.0022620924282819033, 0.07168689370155334, 0.01155111100524664, 0.1146710216999054, -0.019724396988749504, 0.0045154341496527195, -0.055865369737148285, 0.06297105550765991, -0.03208058327436447, -0.018656793981790543, 0.0035747187212109566, 0.022542167454957962, -0.003511275164783001, 0.007350706495344639, -0.02133455127477646, 0.025062410160899162, -0.012802480719983578, 0.07371708750724792, 0.01188364252448082, -0.040848925709724426, -0.011656120419502258, -0.03491585701704025, 0.010037215426564217, 0.025552457198500633, 0.01602279022336006, 0.1094905287027359, -0.016469083726406097, -0.0019208096200600266, 0.001609060913324356, -0.05688047036528587, 0.010072218254208565, 0.018096739426255226, -0.03222059831023216, 0.026760073378682137, 0.07868756353855133, 0.0741371288895607, -0.05341513454914093, -0.02425733208656311, 0.03769862279295921, 0.07497721165418625, -0.06356611102819443, 0.0065456293523311615, -0.029315318912267685, 0.05527031421661377, 0.09919954091310501, 0.002863712841644883, 0.0332706980407238, 0.046239446848630905, 0.015348975546658039, -0.03486335277557373, 0.002533368533477187, -0.03288566321134567, -0.03325319662690163, 0.014438888058066368, -0.028510240837931633, 0.010973555035889149, -0.052470043301582336, -0.022297143936157227, 0.018761804327368736, -0.06272602826356888, -0.019776901230216026, 0.014955188147723675, 0.03507337346673012, -0.08043773472309113, 0.06356611102819443, 0.0019525315146893263, 0.009652177803218365, 0.0412689670920372, -0.023959804326295853, 0.00847519002854824, 0.012399942614138126, -0.014482642523944378, -0.03962380811572075, -0.06720646470785141, -0.01340628881007433, -0.0909387394785881, 0.008063900284469128, 0.052330031991004944, -0.02301471307873726, 0.010255985893309116, -0.01695038005709648, 0.01779046095907688, 0.01276747789233923, -0.012959996238350868, 0.006650639232248068, -0.019006827846169472, -0.04123396426439285, -0.01614530198276043, -0.05341513454914093, 0.04032387584447861, -0.005793056916445494, 0.04532935842871666, -0.04788460209965706, 0.0206344835460186, 0.013310030102729797, -0.00936339981853962, 0.032938167452812195, 0.006711895111948252, -0.03264063969254494, 0.006313731893897057, -0.006961294449865818, -0.012434945441782475, -0.00012463112943805754, 0.016399076208472252, 0.04854966700077057, 0.047079525887966156, 0.007040051743388176, -0.016294065862894058, -0.030505433678627014, -0.038153667002916336, -0.009127127937972546, -0.046729493886232376, 0.057720549404621124, -0.06416116654872894, -0.05236503481864929, 0.017519183456897736, 0.002445860067382455, 0.03643850237131119, -0.011647369712591171, 0.013030002824962139, -0.026042504236102104, 0.02248966135084629, 0.002120985183864832, -0.015637753531336784, 0.01953187771141529, -0.022874699905514717, -0.029175305739045143, 0.050789881497621536, -0.022874699905514717, 0.01881430856883526, -0.033813249319791794, 0.047254543751478195, -0.07497721165418625, -0.004747331608086824, 0.0349508598446846, 0.035458408296108246, -0.042704105377197266, 0.06713645160198212, -0.014640157110989094, 0.08883854001760483, 0.0037497354205697775, 0.029857870191335678, -0.018569285050034523, 0.013161265291273594, 0.01608404703438282, 0.02796768955886364, 0.04123396426439285, 0.006808154750615358, -0.03699855878949165, -0.04343917593359947, 0.027022598311305046, -0.0438242144882679, 0.04854966700077057, -0.04732454940676689, 0.018324261531233788, -0.009599672630429268, -0.03892374038696289, -0.012321184389293194, -0.04907471686601639, 0.04308914393186569, -0.0446992963552475, 0.05674045532941818, 0.07959765195846558, 0.021632079035043716, 0.016906624659895897, -0.010518510825932026, 0.00031721798586659133, 0.023977305740118027, 0.06892162561416626, 0.05863063782453537, -0.026830079033970833, -0.04571439325809479, 0.013012501411139965, 0.0058061834424734116, -0.021719587966799736, -0.04245908185839653, 0.0023671025410294533, 0.037663619965314865, 0.01617155410349369, 0.05614539980888367, -0.004460741300135851, -0.02938532456755638, 0.05632041394710541, 0.0017534497892484069, 0.03538840264081955, -0.013152514584362507, 0.07350707054138184, -0.035755936056375504, -0.05404519662261009, 0.05271506682038307, 0.0055961632169783115, 0.025517452508211136, -0.015252716839313507, -0.05173497274518013, 0.03356822580099106, 0.011376094073057175, -0.015427732840180397, -0.05548033490777016, 0.03335820883512497, 0.0036140973679721355, 0.010956053622066975, 0.02889527752995491, 0.030120395123958588, 0.0891885757446289, -0.059715740382671356, 0.0009604048100300133, 0.03752360865473747, -0.05324012041091919, -0.027722666040062904, 0.037803635001182556, 0.020827002823352814, 0.03325319662690163, 0.005276757292449474, -0.01672285795211792, -0.0349508598446846, 0.0025749350897967815, 0.004694826435297728, 0.010938551276922226, 0.027145110070705414, -0.014185113832354546, -0.042739108204841614, -0.05082488805055618, -0.024799885228276253, -0.04329916462302208, -0.030855465680360794, 0.05387017875909805, -0.031030483543872833, -0.02500990405678749, 0.03668352589011192, -0.0012951245298609138, -0.0128374844789505, -0.07637733966112137, -0.00536864111199975, -0.013555053621530533, -0.06524627655744553, 0.012189921922981739, 0.006921915337443352, 0.01886681467294693, 0.08232791721820831, -0.012023655697703362, 0.03402327001094818, -0.016469083726406097, 0.025919992476701736, -0.04781459644436836, 0.02959534525871277, 0.0134762953966856, 0.051664967089891434, 0.03993884101510048, -0.03976382315158844, -0.01939186453819275, -0.04991479963064194, -0.020301951095461845, 0.03498586267232895, -0.003362510818988085, 0.03465333208441734, 0.005097365006804466, 0.046589478850364685, -0.010614770464599133, -0.022332146763801575, -0.016276564449071884, -0.021037021651864052, 0.04112895578145981, -0.03255312889814377, -0.039833828806877136, -0.02240215428173542, -0.0009139159810729325, 0.015961535274982452, -0.0070356763899326324, -0.05527031421661377, 0.023959804326295853, -0.05408019945025444, 0.0006049019284546375, -0.007573853246867657, -0.026042504236102104, 0.016906624659895897, -0.0015434296801686287, 0.006812530104070902, 0.04739455506205559, 0.028825271874666214, -0.00024502354790456593, 0.0020783247891813517, 0.042389076203107834, 0.013572555035352707, -0.01276747789233923, 0.0054342723451554775, -0.01947937346994877, -0.08792845159769058, -0.005688047036528587, 0.03727858513593674, 0.014806423336267471, -0.059575729072093964, -0.02584998495876789, 0.027862679213285446, -0.007009423803538084, 0.0011190138757228851, 0.05579536408185959, -0.06279603391885757, -0.04665948450565338, 0.011349841021001339, -0.0090571204200387, -0.05527031421661377, -0.009275891818106174, -0.03446081280708313, -0.020214444026350975, 0.029175305739045143, -0.03895874693989754, 0.06832657009363174, -0.010422252118587494, 0.0017031325260177255, -0.03300817310810089, 0.024729877710342407, 0.06587633490562439, 0.07378709316253662, -0.03318319097161293, 0.01779046095907688, 0.09569919854402542, 0.0025771227665245533, -0.046064428985118866, -0.000857582432217896, 0.020511971786618233, -0.058070581406354904, -0.004629195202142, -0.02364477328956127, -0.010728531517088413, -0.01394009031355381, -0.02010943368077278, 0.03913376107811928, -0.10038965195417404, -0.029105298221111298, -0.014412635937333107, -0.04571439325809479, -0.02005692757666111, 0.04165400564670563, 0.03654351457953453, 0.032763149589300156, -0.0130562549456954, 0.05695047602057457, -0.006663765758275986, -0.004211342427879572, 0.01172612700611353, -0.0463794581592083, -0.044244252145290375, 0.02306721732020378, 0.020214444026350975, 0.0791076049208641, 0.0045066834427416325, 0.06416116654872894, -0.00011041100515285507, -0.029717857018113136, -0.0959092229604721, 0.019111838191747665, -0.033515721559524536, 0.027232619002461433, 0.006921915337443352, 0.03906375542283058, -0.007499470841139555, -0.04581940546631813, -0.05089489370584488, 0.025919992476701736, -0.003001538570970297, -0.020511971786618233, -0.007801374886184931, 0.027845177799463272, 0.009835945442318916, 0.00021713024761993438, -0.04616943746805191, 0.012688719667494297, -0.009529666043817997, -0.029455332085490227, -0.018901817500591278, -0.010938551276922226, -0.08288796991109848, 0.0025683718267828226, -0.027932684868574142, 0.052014999091625214, -0.008615203201770782, -0.04837464913725853, 0.018989326432347298, 0.021439561620354652, 0.013922588899731636, 0.012776228599250317, 0.010649774223566055, -0.04749956727027893, 0.028440235182642937, 0.01385258138179779, 0.03300817310810089, -0.03467083349823952, -0.0049267238937318325, 0.027022598311305046, -0.0005808370769955218, 0.048129625618457794, 0.04536436125636101, -0.007683238480240107, 0.01988191157579422, 0.024397345259785652, 0.006121213547885418, 0.04536436125636101, 0.04938974976539612, 0.00940715428441763, -0.02327723801136017, -0.04816463217139244, 0.0038569332100450993, -0.01576901599764824, -0.0052242521196603775, -0.02173708938062191, 0.004611693322658539, 0.002539931796491146, -0.01657409407198429, -0.04483931139111519, 0.0029818492475897074, 0.0063181072473526, -0.01881430856883526, 0.07966765761375427, -0.006676891818642616, -0.04819963499903679, -0.019496874883770943, 0.009529666043817997, 0.0016210933681577444, -0.046239446848630905, -0.06524627655744553, 0.012233676388859749, 0.05590037256479263, -0.021982112899422646, -0.02898278646171093, -0.039833828806877136, 0.033813249319791794, -0.04735955223441124, 0.0009735311032272875, -0.015103952027857304, 0.018621791154146194, 0.017265409231185913, 0.01738792099058628, -0.0011912082554772496, 0.0446292906999588, 0.05306510254740715, -0.007061928976327181, -0.058560628443956375, 0.04298413172364235, -0.04091893509030342, 0.008295797742903233, 0.0438242144882679, -0.04532935842871666, 0.012504952028393745, -0.02213962934911251, -0.02469487488269806, -0.002752139698714018, 0.026795076206326485, -0.03127550706267357, 0.047919608652591705, -0.0413389727473259, -0.010264736600220203, 0.01707289181649685, 0.00678190216422081, 0.008759591728448868, 0.03619347885251045, -0.04224906116724014, -0.005110491532832384, 0.037033561617136, -0.0021483316086232662, 0.012093662284314632, -0.015664005652070045, -0.005692422389984131, 0.025429945439100266, 0.01724790781736374, 0.036298491060733795, -0.018009232357144356, 0.0038153668865561485, -0.045924413949251175, -0.005478026811033487, -0.0387837290763855, -0.031835559755563736, -0.055375322699546814, -0.03390076011419296, 0.014263871125876904, 0.003714732127264142, -0.060590825974941254, 0.02707510255277157, 0.01237368956208229, -0.07175689935684204, 0.0020706679206341505, -0.02031945437192917, 0.041023943573236465, 0.02416982315480709, -0.002421795390546322, -0.026007499545812607, 0.00241960771381855, -0.026165015995502472, 0.01750168204307556, -0.07875756919384003, -0.011778632178902626, -0.03423329070210457, 0.06363611668348312, 0.001203240710310638, 0.041689008474349976, -0.01321377046406269, 0.05106991156935692, -0.019601885229349136, -0.025919992476701736, 0.02390729822218418, -0.03411078080534935, 0.02156207337975502, -0.007766371592879295, -0.008378930389881134, 0.03446081280708313, -0.00038831858546473086, -0.012653716839849949, -0.01436013076454401, -0.04074391722679138, -0.04518934339284897, 0.0707768052816391, 0.04007885232567787, -0.05306510254740715, -0.06524627655744553, 0.0581405907869339, -0.04242407903075218, 0.004252908751368523, -0.044909317046403885, -0.05523531138896942, -0.01173487864434719, -0.02744263783097267, 0.019461870193481445, -0.0023342869244515896, 0.04480430856347084, 0.012172420509159565, 0.04431426152586937, -0.029700355604290962, -0.0012065222254022956, -0.033865757286548615, -0.01310000941157341, -0.006099336314946413, -0.0023277238942682743, 0.04819963499903679, -0.023557264357805252, -0.014386382885277271, -0.03402327001094818, -0.026935089379549026, -0.024729877710342407, -0.012093662284314632, -0.021194538101553917, -0.046239446848630905, 0.04347417876124382, 0.007473218720406294, -0.014080103486776352, 0.043754205107688904, 0.02756514959037304, 0.026935089379549026, 0.024554859846830368, -0.016932878643274307, 0.02805519662797451, -0.00041074262117035687, 0.000601620355155319, -0.009538416750729084, -0.020932013168931007, -0.02289220131933689, -0.008886479772627354, -0.019549379125237465, 0.024064812809228897, -0.012294932268559933, -0.014631406404078007, -0.012006154283881187, 0.011358591727912426, 0.04613443464040756, 0.0030518558342009783, 0.006510626059025526, -0.020616982132196426, 0.05120992287993431, -0.015453985892236233, 0.0060949609614908695, -0.046729493886232376, -0.000909540569409728, 0.011253582313656807, -0.0031087363604456186, -0.0015882777515798807, -0.05460524931550026, -0.01837676763534546, 0.008033271878957748, -0.044244252145290375, -0.006370612420141697, 0.004567939322441816, 0.0333407036960125, -0.015095201320946217, -0.03993884101510048, 0.004158837255090475, -0.019741898402571678, -0.0007274136878550053, -0.018446773290634155, -0.04518934339284897, 0.06745148450136185, -0.018079238012433052, -0.010956053622066975, 0.06762649863958359, 0.008847100660204887, 0.006199971307069063, -0.003994759172201157, -0.02031945437192917, 0.03145052492618561, 0.01765044778585434, 0.05422021448612213, 0.0010408031521365047, -0.03271064534783363, -0.016294065862894058, 0.02217463217675686, -0.00921463593840599, 0.11831137537956238, -0.021439561620354652, -0.06171093136072159, -0.003476271638646722, 0.003032166510820389, 0.06283104419708252, 0.041548993438482285, -0.03979882597923279, 0.04595942050218582, 0.02753014676272869, 0.01654784008860588, 0.04634445533156395, 0.005001105833798647, -0.04662448167800903, 0.047744590789079666, 0.012609962373971939, 0.006926290690898895, -0.014263871125876904, -0.014858928509056568, 0.01471016462892294, 0.03601846471428871, 0.046064428985118866, -0.05124492570757866, 0.0008903981070034206, -0.04032387584447861, -0.021842099726200104, 0.020564477890729904, -0.015593999065458775, -0.029805365949869156, -0.031923070549964905, -0.018989326432347298, 0.02248966135084629, 0.038503702729940414, -0.07728742808103561, 0.008370179682970047, 0.03822367638349533, 0.022699682042002678, 0.01939186453819275, -0.06171093136072159, 0.0005362625233829021, 0.0005748209077864885, -0.01738792099058628, 0.001729384995996952, 0.045399364084005356, -0.0471845380961895, 0.06948167830705643, -0.06892162561416626, -0.040183864533901215, -0.04501432925462723, -0.05296009033918381, 0.014823924750089645, 0.06570131331682205, 0.08120780438184738, -0.09079872816801071, 0.013773824088275433, 0.04518934339284897, -0.02474737912416458 ]
41,015
pyglove.core.symbolic.list
__rmul__
Returns a repeated Lit of self.
def __rmul__(self, n: int) -> 'List': """Returns a repeated Lit of self.""" return self.__mul__(n)
(self, n: int) -> pyglove.core.symbolic.list.List
[ -0.02642953209578991, -0.010543317534029484, 0.02213740535080433, 0.016741078346967697, -0.03825514763593674, 0.02012491412460804, -0.03376711159944534, -0.06753422319889069, 0.0034706571605056524, 0.030294228345155716, -0.0423513688147068, 0.003455073805525899, 0.05171924829483032, 0.05008075758814812, -0.0029786652885377407, 0.013535340316593647, 0.005129181779921055, -0.0032792033161967993, -0.03159433230757713, 0.01569921337068081, 0.01154065877199173, 0.0847739726305008, 0.05453317239880562, 0.083634153008461, -0.052823446691036224, 0.05467564985156059, 0.06318866461515427, -0.00900278240442276, -0.057169001549482346, 0.00035702798049896955, -0.007422175258398056, 0.059626735746860504, 0.0008498546085320413, -0.006331333424896002, 0.01651845872402191, -0.02847764454782009, -0.05496060475707054, 0.03333967924118042, -0.11056236177682877, 0.044524144381284714, 0.07241407036781311, -0.04171022027730942, 0.07508552074432373, -0.01104198768734932, -0.0033504420425742865, -0.028851646929979324, 0.08776599913835526, 0.0031456309370696545, -0.02965308167040348, -0.08548635989427567, 0.031576525419950485, 0.04174583777785301, 0.004973347298800945, -0.009732978418469429, -0.009078473784029484, 0.0708112046122551, -0.007502318359911442, 0.011683136224746704, 0.018156947568058968, 0.01758703775703907, -0.06400791555643082, -0.025343144312500954, -0.013740151189267635, -0.04584205895662308, 0.03195052593946457, -0.04616263508796692, -0.04701749607920647, 0.016901366412639618, 0.034034255892038345, -0.009545977227389812, -0.021157873794436455, 0.02771182917058468, -0.0016407148214057088, 0.0053963265381753445, 0.04509405419230461, 0.00763589097186923, 0.02290322072803974, 0.012083853594958782, 0.049973901361227036, -0.04776550456881523, -0.011727659963071346, 0.03435483202338219, -0.0007379876915365458, 0.02263607643544674, 0.004790798295289278, -0.03889629244804382, 0.06447096168994904, -0.031362809240818024, -0.03387397155165672, 0.0059484257362782955, -0.059448640793561935, 0.0021126708015799522, -0.037364661693573, -0.01834394782781601, -0.026358293369412422, 0.02012491412460804, -0.05225353688001633, -0.04723121225833893, 0.00756910489872098, -0.05481812730431557, 0.039216868579387665, 0.0275871604681015, -0.0289941243827343, 0.011282418854534626, 0.029866797849535942, 0.019875578582286835, -0.029742129147052765, -0.02381151355803013, -0.0105878422036767, 0.060730934143066406, -0.017604846507310867, 0.11889728158712387, -0.030347658321261406, 0.009554881602525711, -0.03839762508869171, 0.040000490844249725, -0.028691358864307404, -0.028299547731876373, 0.018593283370137215, 0.03406987711787224, 0.004049471113830805, -0.0026625439058989286, -0.04705311730504036, 0.010302887298166752, 0.006625192705541849, 0.052146680653095245, 0.00014651226229034364, -0.02235112152993679, -0.007065982092171907, -0.01735551282763481, 0.019875578582286835, 0.02781868539750576, 0.002929688896983862, 0.08776599913835526, 0.0039648753590881824, 0.021816831082105637, 0.03545903041958809, -0.029029743745923042, -0.0032792033161967993, 0.03779209405183792, -0.026180198416113853, 0.053927645087242126, 0.08021470159292221, 0.10123009979724884, -0.030240800231695175, 0.008383896201848984, 0.023330653086304665, 0.08662617951631546, -0.038825053721666336, 0.012475665658712387, -0.02669667825102806, 0.03896753117442131, 0.13250385224819183, 0.012012614868581295, 0.024612948298454285, 0.049368374049663544, -0.005814853589981794, -0.011558468453586102, -0.018201470375061035, -0.03145185485482216, -0.0203386303037405, 0.031914908438920975, -0.03351777791976929, -0.01609102636575699, -0.049973901361227036, -0.06172827631235123, 0.04398985579609871, -0.05681281164288521, -0.03367806226015091, 0.03707970678806305, 0.019038524478673935, -0.08099832385778427, 0.06137208268046379, -0.0047462740913033485, -0.010872796177864075, 0.020196152850985527, -0.03561931475996971, 0.04320622980594635, -0.009145259857177734, 0.003882505465298891, -0.012876383028924465, -0.05367831140756607, -0.02425675466656685, -0.09624339640140533, 0.017943231388926506, 0.05905682593584061, -0.02776525728404522, 0.0030654873698949814, -0.024844473227858543, 0.008317110128700733, -0.0008565332391299307, -0.014336775057017803, 0.012912002392113209, -0.03529874235391617, -0.015530021861195564, -0.019091954454779625, -0.06400791555643082, 0.02954622358083725, 0.01583278551697731, -0.00048447836888954043, -0.06108712777495384, 0.06903023272752762, 0.0142121072858572, -0.0031033330596983433, 0.03294786810874939, -0.0040472447872161865, -0.03333967924118042, 0.025841813534498215, 0.005040133371949196, 0.007871869020164013, 0.045913297683000565, 0.013998391106724739, 0.07002757489681244, 0.04377613961696625, 0.0030610349494963884, -0.03935934603214264, -0.04377613961696625, -0.013873724266886711, 0.023045698180794716, -0.035263124853372574, 0.048584748059511185, -0.04270756244659424, -0.06315305083990097, -0.027729637920856476, -0.02263607643544674, 0.026002101600170135, -0.025628099218010902, 0.02938593551516533, -0.0289941243827343, 0.022547027096152306, 0.01821928098797798, -0.03106004372239113, 0.035815224051475525, -0.029670890420675278, -0.013357243500649929, 0.011104322038590908, -0.06090903282165527, 0.032645102590322495, -0.007925298064947128, 0.04121154919266701, -0.08897705376148224, -0.0072663407772779465, 0.06212008744478226, 0.04220889136195183, -0.003230226691812277, 0.08235186338424683, -0.016758888959884644, 0.08185318857431412, -0.010267267934978008, 0.03243138641119003, -0.02637610398232937, -0.002235112013295293, -0.0030031537171453238, 0.02792554348707199, 0.06917271018028259, 0.016839031130075455, -0.017729515209794044, -0.04762302711606026, 0.02268950454890728, -0.0342835932970047, 0.05781015008687973, -0.06553953886032104, 0.020498916506767273, -0.024221135303378105, -0.04064163938164711, 0.0009500339510850608, -0.021585306152701378, 0.0507219061255455, -0.02669667825102806, 0.04021420702338219, 0.12673352658748627, 0.000678993237670511, 0.012493475340306759, -0.024238944053649902, -0.007159482687711716, 0.03764961659908295, 0.036865994334220886, 0.07091806083917618, -0.021229112520813942, -0.037150945514440536, 0.019946817308664322, 0.001585059566423297, -0.017943231388926506, -0.030579183250665665, -0.038931913673877716, 0.05524555966258049, 0.013722341507673264, 0.04156774282455444, -0.016429409384727478, -0.013838104903697968, 0.08790847659111023, -0.012057138606905937, 0.02402522973716259, 0.020498916506767273, 0.08669741451740265, -0.035530269145965576, -0.06322428584098816, 0.053428974002599716, 0.015530021861195564, 0.04203079268336296, -0.04605577513575554, -0.07237844914197922, 0.015343020670115948, -0.021531876176595688, 0.014310060068964958, -0.05228915810585022, 0.03750713914632797, -0.005739162210375071, 0.01474639680236578, 0.03533436357975006, 0.010863891802728176, 0.06935080885887146, -0.07106053829193115, 0.012546904385089874, 0.030312038958072662, -0.03668789565563202, -0.015369734726846218, 0.04017858952283859, 0.01711508072912693, 0.043669283390045166, 0.010080266743898392, -0.01017821952700615, -0.03946620225906372, 0.00847739726305008, 0.005240492057055235, -0.004915465600788593, -0.008441777899861336, -0.018272709101438522, -0.023384081199765205, -0.018860427662730217, -0.03383835032582283, -0.048477888107299805, -0.03300129622220993, 0.03529874235391617, -0.035761792212724686, -0.03857572004199028, 0.05823758244514465, -0.00048503492143936455, -0.00902949646115303, -0.06956452876329422, 0.013009955175220966, -0.01978653110563755, -0.06543268263339996, 0.008557540364563465, 0.010124790482223034, 0.030739469453692436, 0.06703555583953857, -0.002181683201342821, 0.0674273669719696, 0.020481107756495476, 0.043348707258701324, -0.025075998157262802, 0.026019910350441933, -0.005004514008760452, 0.05734710022807121, 0.03219986334443092, -0.04990266263484955, 0.02726658619940281, -0.031131282448768616, -0.025717146694660187, -0.008900376968085766, -0.022101785987615585, 0.018361758440732956, 0.00620221346616745, 0.041674599051475525, -0.02692820318043232, -0.0456995815038681, -0.016215693205595016, -0.034319210797548294, 0.03179024159908295, -0.03661665692925453, -0.032751962542533875, -0.026607628911733627, -0.007252983283251524, -0.0003932038671337068, 0.022511407732963562, -0.009661739692091942, 0.023401891812682152, -0.06347361952066422, 0.0006294600898399949, -0.010774843394756317, -0.019644053652882576, 0.015182733535766602, -0.01187904179096222, 0.0004858697357121855, 0.06500525027513504, -0.026678867638111115, 0.026055529713630676, -0.0012733906041830778, 0.05652785673737526, -0.0008787953411228955, -0.03513845428824425, 0.036652278155088425, -0.02085511013865471, -0.10215619951486588, -0.0030120585579425097, 0.014007296413183212, 0.0008481849799863994, -0.0563141405582428, -0.03513845428824425, 0.030739469453692436, 0.028513262048363686, -0.009813121519982815, 0.06546830385923386, -0.04559272527694702, 0.006580668967217207, 0.002395399147644639, -0.021834641695022583, -0.027907734736800194, -0.047694265842437744, -0.03257386386394501, 0.000978974625468254, 0.01967967301607132, -0.05104248225688934, 0.07230721414089203, -0.018967285752296448, 0.000009844010492088273, -0.023847132921218872, 0.04915465787053108, 0.05998292937874794, 0.05503184348344803, -0.012484570033848286, 0.025343144312500954, 0.08634122461080551, 0.006723145954310894, -0.009038401767611504, -0.0031278212554752827, 0.008677756413817406, -0.0769377201795578, 0.0195015762001276, -0.031184712424874306, -0.009087378159165382, 0.010944034904241562, -0.03373149409890175, 0.043847378343343735, -0.09617215394973755, -0.04509405419230461, -0.008566445671021938, -0.04438166692852974, -0.0019457051530480385, 0.057952627539634705, 0.030686041340231895, 0.028085831552743912, -0.014933398924767971, 0.07123862951993942, 0.0016050954582169652, 0.00005450729440781288, 0.017159605398774147, -0.023455319926142693, -0.029724320396780968, 0.02509380877017975, 0.028744788840413094, 0.037934571504592896, -0.006059736013412476, 0.048584748059511185, -0.01666983962059021, -0.05556613206863403, -0.07230721414089203, -0.00896271038800478, -0.03533436357975006, 0.00934116542339325, 0.034034255892038345, 0.021496256813406944, 0.002900748047977686, -0.05278782546520233, -0.0222976915538311, 0.030686041340231895, -0.016705458983778954, -0.017079463228583336, -0.015565641224384308, 0.020605774596333504, -0.01630474254488945, -0.029742129147052765, -0.0429212749004364, -0.009323355741798878, 0.010115886107087135, -0.02860231138765812, -0.027230966836214066, 0.007533485535532236, -0.0852726474404335, 0.009350070729851723, -0.015521117486059666, 0.05781015008687973, -0.015530021861195564, -0.04676816239953041, 0.01006245706230402, -0.006910147611051798, 0.025895243510603905, 0.03209300339221954, 0.01112213172018528, -0.05157677084207535, 0.01695479452610016, -0.024399232119321823, 0.04035668447613716, -0.016420504078269005, -0.0031589881982654333, 0.006892337929457426, -0.009243212640285492, 0.031416237354278564, 0.015814976766705513, -0.006696431431919336, 0.002767175668850541, 0.0423513688147068, 0.0026981632690876722, 0.0390387699007988, 0.061300843954086304, 0.02653639018535614, -0.015111494809389114, -0.057169001549482346, -0.02290322072803974, -0.024541709572076797, -0.0040183039382100105, -0.01134475227445364, 0.028780408203601837, 0.010516603477299213, -0.018156947568058968, -0.06069531664252281, 0.0058282106183469296, 0.015530021861195564, 0.0031968336552381516, 0.0641147717833519, -0.013107908889651299, -0.0423513688147068, -0.023223794996738434, -0.001109207747504115, -0.0011643064208328724, -0.038041431456804276, -0.0574183389544487, 0.020534535869956017, 0.062191326171159744, -0.028976313769817352, -0.016571886837482452, -0.054390694946050644, 0.01845080591738224, -0.04046354442834854, 0.017551418393850327, -0.07558418810367584, -0.00399158988147974, 0.04837103188037872, 0.023134745657444, -0.0067365034483373165, 0.018967285752296448, 0.047302450984716415, -0.009385690093040466, -0.06931518763303757, 0.03857572004199028, -0.033143773674964905, 0.03426578268408775, 0.015449878759682178, -0.0220127385109663, -0.03647417947649956, -0.04762302711606026, -0.023401891812682152, -0.010783747769892216, 0.02714191935956478, -0.009492548182606697, 0.019109763205051422, -0.012725001201033592, 0.013722341507673264, 0.004450188484042883, -0.01577935740351677, 0.00609090318903327, 0.04765864461660385, -0.05061504989862442, 0.013277100399136543, 0.030739469453692436, -0.0008186877239495516, 0.007813987322151661, -0.005783686414361, 0.008579802699387074, 0.023277223110198975, -0.01591292954981327, 0.0239717997610569, -0.014238822273910046, -0.02185245044529438, -0.03426578268408775, 0.007992084138095379, -0.04092659428715706, -0.0239717997610569, -0.06265437602996826, -0.04017858952283859, 0.009163069538772106, 0.009207593277096748, -0.048406653106212616, 0.0006678621866740286, -0.006015212275087833, -0.05179048702120781, 0.007871869020164013, -0.0222976915538311, 0.04035668447613716, 0.025485621765255928, 0.00003760203253477812, -0.006179951597005129, -0.018121328204870224, -0.03293005749583244, 0.00597959291189909, -0.046127013862133026, -0.006865623407065868, -0.04377613961696625, 0.07779258489608765, 0.0222976915538311, 0.02174559235572815, 0.011602992191910744, 0.037222184240818024, -0.02431018278002739, -0.01496901735663414, 0.014399108476936817, -0.04455976560711861, 0.02329503372311592, -0.022368930280208588, -0.026180198416113853, 0.017880896106362343, 0.004982252139598131, 0.00349737168289721, -0.022208644077181816, -0.046910639852285385, -0.01834394782781601, 0.020587965846061707, 0.027070680633187294, -0.034657593816518784, -0.07255654782056808, 0.025610288605093956, -0.03490693122148514, -0.003929255995899439, -0.04309937357902527, -0.02007148414850235, -0.005387421697378159, 0.0004291014629416168, 0.04498719796538353, -0.00027090159710496664, 0.02943936549127102, -0.004407890606671572, 0.03978677839040756, -0.03387397155165672, -0.01758703775703907, -0.021229112520813942, -0.024345802143216133, 0.012279759161174297, -0.012048234231770039, 0.024684187024831772, 0.011309132911264896, -0.0026091148611158133, -0.030864138156175613, -0.027676209807395935, -0.043455567210912704, -0.0157526433467865, -0.008170180954039097, -0.013214766047894955, 0.05004514008760452, -0.003105559153482318, -0.022315502166748047, 0.05681281164288521, 0.04751616716384888, 0.013027764856815338, -0.005133633967489004, -0.030650421977043152, 0.035654935985803604, -0.0006205553072504699, -0.0074666994623839855, -0.028976313769817352, -0.01146051473915577, -0.03211081400513649, -0.013179146684706211, -0.010338506661355495, 0.022315502166748047, -0.008597612380981445, 0.0018021147698163986, -0.0035997771192342043, -0.0011698718881234527, 0.005311730783432722, -0.015868404880166054, 0.005654566455632448, 0.005850472953170538, 0.028014592826366425, -0.016741078346967697, 0.023205984383821487, -0.042280130088329315, -0.007573557086288929, 0.012920906767249107, -0.007920845411717892, -0.03907439112663269, -0.03396301716566086, -0.04648320749402046, -0.039216868579387665, -0.03451511636376381, 0.019038524478673935, -0.013205861672759056, 0.05033009499311447, -0.01714179664850235, -0.029866797849535942, 0.006923504639416933, -0.00964393001049757, -0.010694699361920357, -0.007533485535532236, -0.03451511636376381, 0.07130987197160721, -0.02587743289768696, 0.01536083035171032, 0.06707116961479187, -0.004229793790727854, 0.028798216953873634, -0.0007012552814558148, 0.0018744665430858731, 0.034657593816518784, -0.0168568417429924, 0.04648320749402046, -0.002439923118799925, -0.03462197631597519, -0.03257386386394501, 0.02726658619940281, 0.011665326543152332, 0.10172876715660095, 0.0022139630746096373, -0.05634975805878639, 0.005877187009900808, -0.019091954454779625, 0.07594038546085358, 0.0451652929186821, -0.04712435603141785, 0.03307253494858742, 0.0053072781302034855, 0.007439984939992428, 0.043455567210912704, 0.0018722403328865767, -0.01081936713308096, 0.028085831552743912, 0.01067689061164856, 0.008401705883443356, -0.043348707258701324, -0.018308328464627266, 0.014568300917744637, 0.03661665692925453, 0.03672351688146591, -0.03978677839040756, 0.014310060068964958, -0.0395730622112751, -0.008998329751193523, 0.029510604217648506, -0.0015260650543496013, -0.023793702945113182, -0.022814171388745308, -0.015111494809389114, 0.023562178015708923, 0.040392305701971054, -0.06283247470855713, 0.001994681777432561, 0.02609114907681942, 0.04007172957062721, 0.027017252519726753, -0.07049062848091125, 0.02090853825211525, -0.037044089287519455, 0.002557912142947316, -0.03143404796719551, 0.011371467262506485, -0.041674599051475525, 0.05221791937947273, -0.05364269018173218, -0.035209693014621735, -0.028085831552743912, -0.041995175182819366, -0.023134745657444, 0.052431635558605194, 0.06482715904712677, -0.046910639852285385, 0.012297568842768669, 0.0390387699007988, -0.03333967924118042 ]
41,016
pyglove.core.symbolic.list
__setitem__
Set item in this List.
def __setitem__(self, index, value: Any) -> None: """Set item in this List.""" if base.treats_as_sealed(self): raise base.WritePermissionError( self._error_message('Cannot set item for a sealed List.')) if not base.writtable_via_accessors(self): raise base.WritePermissionError( self._error_message('Cannot modify List item by __setitem__ while ' 'accessor_writable is set to False. ' 'Use \'rebind\' method instead.')) if isinstance(index, slice): start, stop, step = self._parse_slice(index) replacements = [self._formalized_value(i, v) for i, v in enumerate(value)] if step < 0: replacements.reverse() step = -step slice_size = math.ceil((stop - start) * 1.0 / step) if step == 1: if slice_size < len(replacements): for i in range(slice_size, len(replacements)): replacements[i] = Insertion(replacements[i]) else: replacements.extend( [pg_typing.MISSING_VALUE for _ in range(slice_size - len(replacements))]) elif slice_size != len(replacements): raise ValueError( f'attempt to assign sequence of size {len(replacements)} to ' f'extended slice of size {slice_size}') updates = [] for i, r in enumerate(replacements): update = self._set_item_without_permission_check(start + i * step, r) if update is not None: updates.append(update) if flags.is_change_notification_enabled() and updates: self._notify_field_updates(updates) elif isinstance(index, numbers.Integral): if index < -len(self) or index >= len(self): raise IndexError( f'list assignment index out of range. ' f'Length={len(self)}, index={index}') update = self._set_item_without_permission_check(index, value) if flags.is_change_notification_enabled() and update: self._notify_field_updates([update]) else: raise TypeError( f'list assignment index must be an integer. Encountered {index!r}.')
(self, index, value: Any) -> NoneType
[ 0.01887243613600731, 0.009710879065096378, -0.0430891178548336, 0.005060270894318819, -0.006899100262671709, -0.0012732144678011537, -0.023648736998438835, -0.011256426572799683, 0.010809521190822124, -0.0438712015748024, -0.03467240184545517, 0.0004579615197144449, 0.024803241714835167, 0.007085310760885477, -0.004743713419884443, 0.012010578997433186, 0.029477126896381378, 0.020650748163461685, 0.011740573681890965, 0.014822358265519142, -0.014096137136220932, -0.01975693739950657, 0.04867543280124664, 0.026311548426747322, -0.023462526500225067, -0.004359654150903225, 0.012736800126731396, 0.038135915994644165, 0.0372421070933342, 0.0034286014270037413, 0.03705589473247528, -0.03716761991381645, -0.016749637201428413, -0.014254416339099407, 0.08372025191783905, -0.015967553481459618, -0.06792960315942764, 0.010297441855072975, -0.0023253040853887796, 0.04416913911700249, -0.007504284381866455, -0.03020334802567959, 0.016358595341444016, -0.03694416955113411, 0.05928943306207657, 0.0875934362411499, 0.008360852487385273, 0.08446509391069412, 0.05906597897410393, -0.025194283574819565, -0.033070988953113556, 0.05280930548906326, 0.001750378985889256, -0.04532364383339882, -0.04632917791604996, 0.09057280421257019, 0.04632917791604996, 0.07932568341493607, 0.06521092355251312, -0.001897019799798727, 0.03331306204199791, -0.020948683843016624, -0.029458506032824516, -0.09951090812683105, 0.028173653408885002, -0.0035752421244978905, -0.020203841850161552, -0.03759590536355972, 0.007429799996316433, -0.002739622490480542, 0.0308550838381052, -0.013528195209801197, -0.014040273614227772, 0.006838581524789333, -0.006694268435239792, 0.04487673565745354, -0.03405790403485298, 0.06420539319515228, 0.04495122283697128, 0.013165084645152092, 0.05660799890756607, 0.040407683700323105, 0.02949574775993824, 0.01966383121907711, -0.014654768630862236, 0.01986866258084774, -0.02474737912416458, 0.0008094338700175285, 0.01573478989303112, -0.02361149527132511, -0.003803350031375885, 0.01825794205069542, 0.00029880969668738544, -0.023108726367354393, -0.039588358253240585, -0.008030328899621964, 0.010604689829051495, -0.14003032445907593, -0.02711225301027298, 0.03495171666145325, -0.014924773946404457, 0.04483949393033981, 0.02865779958665371, -0.014729253016412258, -0.022643201053142548, 0.002502203918993473, 0.022736305370926857, 0.007490318734198809, -0.05400105193257332, -0.041748400777578354, 0.028508832678198814, 0.0626412183046341, -0.01407751627266407, -0.014040273614227772, -0.022494232282042503, 0.07418627291917801, -0.049010612070560455, -0.10293717682361603, 0.03511930629611015, -0.004943889565765858, 0.026125337928533554, -0.016023416072130203, 0.0007163286209106445, 0.0659557655453682, 0.04457880184054375, 0.016386525705456734, -0.024170126765966415, 0.015353058464825153, 0.034839991480112076, -0.02970057912170887, -0.026888800784945488, -0.03249373659491539, -0.04893612861633301, 0.05321896821260452, 0.016107210889458656, -0.021283863112330437, -0.03051990643143654, -0.024859106168150902, -0.08945553749799728, -0.04126425459980965, -0.0006558102322742343, -0.021358348429203033, 0.09608463197946548, 0.039998020976781845, 0.021265242248773575, -0.0044015515595674515, -0.0059354607947170734, 0.05515556037425995, -0.014477868564426899, -0.001883053919300437, -0.016246868297457695, 0.016786878928542137, -0.007206347305327654, -0.014887531287968159, -0.03381583094596863, 0.029979895800352097, -0.04241875931620598, -0.01256921049207449, 0.033610999584198, 0.018602432683110237, -0.02316458895802498, -0.05973633751273155, 0.009073108434677124, 0.07184002548456192, -0.047446440905332565, 0.05515556037425995, -0.014133378863334656, -0.061002567410469055, -0.027149494737386703, 0.04469052702188492, 0.06022048369050026, -0.0019633572082966566, 0.031115779653191566, 0.0391414538025856, 0.01071641594171524, 0.036888305097818375, -0.008588960394263268, 0.050463054329156876, 0.01682412065565586, -0.0451374314725399, -0.008439992554485798, -0.019533485174179077, -0.021265242248773575, -0.02681431546807289, -0.027298463508486748, 0.04364774748682976, -0.06837650388479233, 0.053963810205459595, 0.04442983120679855, 0.08878517895936966, 0.008626203052699566, -0.03508206456899643, 0.04085458815097809, -0.07731460779905319, -0.05284654721617699, 0.023052863776683807, -0.046291936188936234, -0.03333168476819992, -0.014710632152855396, 0.025790158659219742, -0.008165331557393074, -0.016749637201428413, 0.07798496633768082, 0.013183705508708954, 0.005698041990399361, 0.004033785779029131, 0.018285874277353287, -0.022103190422058105, -0.012038510292768478, -0.0019121493678539991, -0.023518389090895653, 0.0026395341847091913, -0.016228247433900833, 0.004175771027803421, 0.012215410359203815, -0.09377562254667282, -0.04115252569317818, -0.044653285294771194, 0.058619074523448944, 0.008565683849155903, 0.07709115743637085, -0.0003494356933515519, -0.051692042499780655, -0.017950695008039474, 0.04286566376686096, -0.012606453150510788, -0.019198305904865265, -0.058619074523448944, -0.00878913700580597, 0.06282743066549301, -0.028583316132426262, 0.007769634481519461, 0.004110597539693117, -0.020762473344802856, 0.0743352398276329, 0.007080655544996262, -0.028322622179985046, -0.05120789632201195, -0.036888305097818375, 0.04752092808485031, -0.02826675772666931, 0.026032231748104095, 0.021172137930989265, 0.06893514096736908, -0.023723220452666283, 0.04841473698616028, -0.004897336941212416, 0.044653285294771194, -0.006456850096583366, 0.008472578600049019, -0.010399858467280865, 0.029346778988838196, -0.06450332701206207, 0.023425284773111343, -0.008062915876507759, 0.0232763160020113, -0.02824813686311245, 0.004999752622097731, -0.002904884284362197, -0.007155139464884996, -0.04658987373113632, -0.0631253719329834, 0.014142689295113087, -0.04044492542743683, -0.016312042251229286, -0.007709115743637085, 0.016907915472984314, 0.06930755823850632, -0.014245104975998402, 0.0684882327914238, 0.06457781046628952, 0.009506047703325748, -0.002958419732749462, 0.0005548491608351469, -0.024896347895264626, 0.03495171666145325, 0.04256772622466087, 0.005050960462540388, -0.019421758130192757, -0.009329147636890411, 0.06945652514696121, 0.02340666390955448, -0.019310031086206436, 0.0033401513937860727, 0.0010858401656150818, 0.021786632016301155, -0.010604689829051495, 0.012746110558509827, -0.040407683700323105, 0.013388536870479584, 0.027819853276014328, 0.014151999726891518, 0.023052863776683807, 0.014003031887114048, 0.04178564250469208, 0.042381517589092255, -0.06576956063508987, 0.04003526270389557, 0.0023951330222189426, -0.004971821326762438, 0.002013401361182332, 0.00912897102534771, -0.024300474673509598, 0.06413090229034424, 0.05243688449263573, -0.08297540992498398, -0.007802220992743969, 0.01593962125480175, -0.016386525705456734, 0.014300968497991562, 0.04956924170255661, 0.02493358962237835, -0.04856370761990547, 0.05243688449263573, 0.12245204299688339, -0.029030220583081245, -0.030370937660336494, -0.023834947496652603, -0.0068665132857859135, 0.04536088556051254, -0.05660799890756607, -0.008528442122042179, -0.017196541652083397, -0.037204865366220474, 0.018760710954666138, -0.015436852350831032, 0.037316590547561646, 0.04752092808485031, -0.03735383227467537, 0.03390893712639809, -0.06994067132472992, -0.04305187240242958, -0.023648736998438835, 0.018108973279595375, -0.033610999584198, -0.0034286014270037413, -0.013602678664028645, -0.006745476275682449, 0.011796437203884125, -0.018993474543094635, -0.020054873079061508, 0.03394617885351181, -0.005088202655315399, 0.010865384712815285, 0.0348772332072258, -0.04286566376686096, 0.047446440905332565, 0.03521241247653961, 0.003123681526631117, 0.024914968758821487, -0.012671626172959805, -0.04327532649040222, -0.03476550430059433, -0.006512713152915239, 0.004794921260327101, -0.07049930840730667, -0.010101920925080776, -0.06498747318983078, -0.018090352416038513, -0.0583956204354763, 0.027410190552473068, -0.033685483038425446, 0.011535742320120335, -0.007955844514071941, -0.04025871679186821, -0.0015618407633155584, -0.07396282255649567, -0.04241875931620598, 0.00931052677333355, -0.021693525835871696, 0.012587831355631351, -0.06498747318983078, 0.03465377911925316, 0.014570973813533783, 0.0308550838381052, -0.007927913218736649, -0.017615515738725662, 0.04975545406341553, -0.09124315530061722, -0.044131893664598465, 0.024393578991293907, -0.04096631705760956, 0.02474737912416458, 0.019719695672392845, 0.01474787387996912, -0.00040937220910564065, 0.032866157591342926, 0.012653005309402943, 0.01361199002712965, 0.026125337928533554, -0.02143283188343048, 0.013230257667601109, -0.026665348559617996, -0.022903895005583763, -0.045286402106285095, 0.0315626859664917, -0.014422005042433739, 0.020427294075489044, 0.01784827932715416, -0.021488694474101067, 0.02122800052165985, -0.02547360025346279, 0.040407683700323105, 0.05321896821260452, 0.006112360395491123, -0.005064926575869322, 0.045062948018312454, 0.003963956609368324, -0.019179685041308403, -0.010837452486157417, 0.017336200922727585, 0.022643201053142548, 0.0038685237523168325, -0.035137925297021866, 0.05236240103840828, 0.0029304882045835257, -0.02431909553706646, -0.04126425459980965, 0.004271204117685556, 0.019794179126620293, -0.00811877939850092, 0.0018702519591897726, 0.0019796506967395544, 0.07470766454935074, -0.04562157765030861, -0.06476402282714844, -0.01402165275067091, 0.0037824013270437717, -0.029346778988838196, -0.01966383121907711, 0.0325123593211174, 0.003051524981856346, 0.008900863118469715, 0.011684711091220379, -0.015604441985487938, -0.055639706552028656, 0.02081833779811859, -0.03321995958685875, -0.03351789340376854, 0.01304404716938734, 0.0037288658786565065, 0.023965295404195786, 0.024077020585536957, 0.022084569558501244, 0.06279019266366959, -0.00012940177111886442, -0.04614296928048134, -0.013546816073358059, -0.023741843178868294, 0.002795485546812415, 0.025436358526349068, 0.0424560010433197, 0.03169303014874458, 0.06022048369050026, -0.012988184578716755, -0.029328158125281334, -0.06651440262794495, -0.04349878057837486, 0.035249654203653336, -0.008761205710470676, 0.03858282044529915, 0.037093136459589005, 0.002146076411008835, -0.03713037818670273, -0.017829658463597298, 0.025957748293876648, -0.00030201018671505153, 0.016116520389914513, -0.01646101102232933, 0.0252501480281353, -0.03407652676105499, -0.04256772622466087, -0.015129605308175087, -0.06930755823850632, -0.043945685029029846, -0.015772031620144844, 0.03910421207547188, -0.029141947627067566, 0.01718723215162754, -0.040631137788295746, 0.01376095786690712, -0.030594389885663986, 0.04271669685840607, 0.05120789632201195, -0.04498846456408501, -0.03457929566502571, -0.001595591427758336, 0.014878220856189728, 0.0006092575495131314, 0.04856370761990547, 0.02413288503885269, -0.06562059372663498, -0.021563179790973663, 0.03387169539928436, 0.005199929233640432, -0.005828389432281256, -0.05131962150335312, -0.01470132078975439, 0.02970057912170887, -0.027447432279586792, 0.016684463247656822, -0.004531898535788059, -0.0000860496293171309, -0.033890314400196075, 0.05429898947477341, -0.01396578922867775, 0.01916106417775154, 0.015343747101724148, -0.05258585140109062, -0.07534077763557434, 0.027708126232028008, 0.026683969423174858, 0.03228890523314476, -0.03955111652612686, -0.00044748716754838824, 0.02938402071595192, -0.05269758030772209, 0.017019642516970634, -0.005232515744864941, -0.013649231754243374, 0.023834947496652603, -0.056459031999111176, 0.003982577472925186, -0.023946674540638924, 0.0008431845344603062, -0.04789334908127785, 0.040519412606954575, -0.054820381104946136, 0.03221442177891731, 0.008491200394928455, -0.03910421207547188, 0.01714067906141281, 0.023108726367354393, 0.011535742320120335, 0.02349976822733879, 0.0752662941813469, 0.0471857488155365, 0.0053861397318542, 0.0321957990527153, 0.024300474673509598, -0.03673933818936348, 0.06141223385930061, -0.001301146112382412, -0.09876606613397598, -0.0021716803312301636, -0.05485762283205986, -0.06055566295981407, -0.06979170441627502, 0.00585166597738862, -0.011479878798127174, -0.02256871573626995, -0.016088590025901794, 0.0405566543340683, 0.013360605575144291, -0.01587444730103016, -0.036050356924533844, 0.02214043214917183, -0.011610226705670357, 0.03644140064716339, 0.021563179790973663, -0.026460515335202217, -0.01262507401406765, 0.0391414538025856, -0.034206874668598175, 0.037819359451532364, 0.04379671812057495, -0.02627430483698845, -0.025082558393478394, 0.026311548426747322, -0.017001021653413773, 0.05258585140109062, -0.004985786974430084, 0.012857836671173573, -0.01396578922867775, -0.05165480077266693, -0.045286402106285095, -0.006638405378907919, 0.004776299931108952, -0.018565189093351364, -0.07388833910226822, 0.0046459524892270565, 0.06625370681285858, -0.008374818600714207, -0.039178695529699326, 0.05016511678695679, 0.011060905642807484, -0.013919237069785595, 0.05932667478919029, -0.03208407387137413, 0.007532215677201748, -0.011749884113669395, 0.02359287440776825, 0.010437100194394588, -0.03610622137784958, 0.05090995877981186, 0.03785660117864609, -0.07910223305225372, -0.03962559998035431, 0.02150731533765793, -0.004841473884880543, 0.0028071238193660975, 0.03685106337070465, -0.029942652210593224, -0.027577780187129974, 0.037093136459589005, -0.012075752951204777, 0.02132110483944416, -0.004252582788467407, 0.04357326403260231, -0.04793059080839157, 0.0018807263113558292, 0.06096532568335533, 0.004618021193891764, -0.063758485019207, -0.05072374641895294, -0.03407652676105499, -0.03562207520008087, 0.04033320024609566, 0.031525444239377975, -0.026348790153861046, -0.018015868961811066, 0.023145968094468117, -0.02949574775993824, -0.023239074274897575, -0.012457484379410744, -0.09049831330776215, -0.007718426175415516, 0.007597389630973339, 0.008495855145156384, -0.041971854865550995, 0.023257695138454437, -0.008048949763178825, -0.009682947769761086, 0.005465278867632151, -0.009357078932225704, 0.002504531526938081, -0.028024684637784958, -0.01592100039124489, 0.047967832535505295, 0.05720387399196625, 0.056347306817770004, -0.04089183360338211, 0.04342429339885712, 0.00522320531308651, -0.016330663114786148, -0.01687067374587059, 0.0033960144501179457, -0.018472084775567055, -0.010986421257257462, 0.014124068431556225, -0.00296074734069407, 0.02215905301272869, -0.02588326297700405, -0.019589347764849663, -0.0005903455894440413, 0.05333069711923599, 0.004804231692105532, -0.04647814854979515, -0.01350026298314333, 0.010818831622600555, -0.03277305141091347, -0.018230009824037552, -0.03217718005180359, -0.021283863112330437, 0.08841276168823242, 0.02847158908843994, -0.010697795078158379, 0.03240063041448593, 0.02050177939236164, 0.07895326614379883, -0.004487673752009869, -0.061226021498441696, -0.05906597897410393, 0.06748269498348236, 0.05266033858060837, -0.06766890734434128, 0.019384516403079033, 0.00688047893345356, 0.006293915677815676, -0.007872049696743488, -0.007411179132759571, -0.0531817264854908, -0.009417597204446793, -0.025008073076605797, -0.04294014722108841, 0.08103882521390915, -0.008770516142249107, -0.008966037072241306, 0.01721516251564026, -0.04416913911700249, 0.00845861341804266, -0.019831420853734016, -0.03454205393791199, 0.01210368424654007, -0.04472776874899864, -0.020557641983032227, -0.005320965778082609, -0.019012095406651497, -0.011098147369921207, 0.0075089395977556705, 0.01850932650268078, 0.04584503173828125, 0.0037986948154866695, 0.0006139128236100078, 0.02565981075167656, -0.007080655544996262, -0.035659316927194595, 0.014254416339099407, 0.0033750657457858324, -0.02958885207772255, 0.04834025353193283, 0.08059191703796387, -0.006303226575255394, -0.06670061498880386, -0.009952953085303307, -0.032735809683799744, 0.050053391605615616, -0.01521340012550354, -0.033610999584198, 0.01573478989303112, 0.01282990537583828, -0.014654768630862236, 0.028397105634212494, -0.04096631705760956, -0.0043200841173529625, -0.030613010749220848, 0.006736165843904018, -0.0219356007874012, -0.024374958127737045, 0.004280514549463987, 0.062455009669065475, 0.05400105193257332, 0.034728262573480606, -0.027484674006700516, 0.04491398110985756, -0.030780600383877754, -0.02286665327847004, 0.03785660117864609, -0.01236437913030386, 0.0585445910692215, 0.04841473698616028, -0.00043352137436158955, -0.022792167961597443, -0.024374958127737045, -0.09243490546941757, 0.03651588410139084, -0.040295958518981934, 0.0009007934131659567, 0.007723081856966019, 0.030352316796779633, 0.022419746965169907, 0.017829658463597298, -0.045286402106285095, 0.028434347361326218, 0.06670061498880386, -0.06025772541761398, 0.03176751732826233, 0.04089183360338211, -0.022903895005583763, -0.03685106337070465, -0.057092148810625076, 0.03020334802567959, 0.025380495935678482, 0.019701074808835983, -0.05619833618402481, 0.03828488290309906, -0.01525995321571827, 0.01185229979455471 ]
41,020
pyglove.core.symbolic.list
_formalized_value
Get transformed (formal) value from user input.
def _formalized_value(self, idx: int, value: Any): """Get transformed (formal) value from user input.""" allow_partial = base.accepts_partial(self) value = base.from_json( value, allow_partial=allow_partial, root_path=object_utils.KeyPath(idx, self.sym_path)) if self._value_spec and flags.is_type_check_enabled(): value = self._value_spec.element.apply( value, allow_partial=allow_partial, transform_fn=base.symbolic_transform_fn(self._allow_partial), root_path=object_utils.KeyPath(idx, self.sym_path)) return self._relocate_if_symbolic(idx, value)
(self, idx: int, value: Any)
[ 0.06338338553905487, -0.05058078095316887, 0.02429346553981304, -0.03534708172082901, -0.0014571270439773798, 0.007660574745386839, 0.024101076647639275, -0.04299016669392586, 0.026147395372390747, -0.043165065348148346, 0.02086544595658779, 0.060794878751039505, -0.04040165990591049, -0.048691872507333755, 0.00448178593069315, 0.06653156876564026, 0.05114045739173889, 0.08444122225046158, -0.009392074309289455, 0.06747601926326752, 0.027966344729065895, -0.052574627101421356, -0.02399613708257675, 0.0390724278986454, 0.024835653603076935, -0.06618177145719528, 0.055268071591854095, -0.0459284670650959, 0.001844090991653502, -0.08122307807207108, 0.02787889540195465, 0.009094745852053165, 0.010415233671665192, 0.015618477948009968, 0.04459923505783081, -0.051245395094156265, -0.0808732807636261, 0.01836439222097397, -0.005303811281919479, 0.007673691958189011, 0.008596284314990044, -0.0063925571739673615, -0.06408298015594482, -0.015723416581749916, -0.025745127350091934, 0.04470417648553848, -0.008172154426574707, 0.06013026461005211, -0.00555741460993886, -0.023768769577145576, -0.006012151949107647, -0.04351486265659332, -0.0012931592063978314, -0.021215245127677917, -0.033930398523807526, -0.0089635718613863, 0.004278466105461121, 0.03580181673169136, 0.07198841124773026, 0.019046496599912643, 0.004936523269861937, 0.012295396998524666, -0.05904589220881462, -0.03149930387735367, -0.0131961265578866, -0.04344490170478821, 0.06884023547172546, 0.01036276388913393, -0.046767983585596085, -0.00690413685515523, -0.01030154898762703, -0.01461280882358551, -0.005448102951049805, -0.0024682616349309683, 0.05652734637260437, -0.03879259154200554, -0.01818949170410633, -0.008482599630951881, 0.03162173181772232, -0.045403771102428436, 0.011998068541288376, -0.0028115008026361465, -0.06523731350898743, -0.042745307087898254, -0.09269645065069199, 0.011849405243992805, -0.005579276941716671, -0.032461248338222504, 0.07125383615493774, 0.048551954329013824, -0.015032566152513027, -0.033930398523807526, -0.04816717654466629, 0.053938839584589005, -0.0399819016456604, 0.01030154898762703, 0.047502558678388596, -0.09542487561702728, 0.011998068541288376, 0.016230624169111252, 0.05561787262558937, 0.03146432340145111, -0.028001325204968452, 0.0018779776291921735, 0.014875156804919243, -0.00499773770570755, 0.03595922887325287, -0.023349011316895485, 0.03809299319982529, 0.007730534300208092, 0.007634339854121208, -0.022404557093977928, -0.05149025470018387, -0.016755320131778717, -0.02224714867770672, 0.053938839584589005, -0.04879681020975113, -0.0074506960809230804, -0.00903353188186884, 0.025902537629008293, 0.032758574932813644, -0.006396929733455181, -0.005609884392470121, 0.0005006482824683189, -0.03253120929002762, 0.08143296092748642, -0.013406005688011646, -0.007170857395976782, 0.07849465310573578, 0.001304090372286737, -0.02119775488972664, -0.003338383976370096, 0.0027481000870466232, 0.02999517321586609, 0.007232072297483683, 0.05086061730980873, 0.005111422389745712, -0.0090247867628932, -0.027966344729065895, 0.029942702502012253, 0.039597123861312866, 0.013668353669345379, 0.029470475390553474, -0.05999034643173218, 0.02640974335372448, -0.011202278546988964, 0.04760750010609627, 0.07205837219953537, -0.0635233074426651, -0.008233368396759033, -0.020235810428857803, 0.08856883645057678, 0.010922440327703953, 0.04127615690231323, 0.015872081741690636, -0.002411419525742531, 0.012610215693712234, -0.10913695394992828, 0.024048607796430588, 0.03641396388411522, 0.012068028561770916, -0.030974606052041054, 0.008989807218313217, -0.006790452171117067, -0.0024398404639214277, 0.05712200328707695, 0.02254447713494301, -0.02119775488972664, -0.014437909238040447, 0.007293286733329296, -0.017192568629980087, -0.022701885551214218, -0.043619800359010696, 0.05547795072197914, 0.07562631368637085, 0.04106627777218819, -0.028910798951983452, 0.016440503299236298, 0.042150650173425674, -0.031219465658068657, -0.05222482979297638, 0.014464144594967365, -0.06971472501754761, -0.06506241858005524, 0.013222361914813519, 0.035714369267225266, -0.03277606517076492, 0.02179241180419922, 0.07513659447431564, 0.012426571920514107, -0.011578311212360859, 0.04473915696144104, 0.028910798951983452, 0.00873183086514473, -0.04008684307336807, -0.040926359593868256, 0.003108829027041793, 0.015907060354948044, 0.012216692790389061, -0.017061393707990646, -0.009593208320438862, -0.029348045587539673, -0.0007094339234754443, 0.05016102269291878, -0.10340026766061783, -0.003688181983307004, 0.06537723541259766, 0.010747541673481464, -0.054673414677381516, -0.019781073555350304, -0.04208068922162056, -0.044074539095163345, -0.03179663047194481, -0.008045352064073086, -0.02791387401521206, -0.07842469960451126, 0.023646339774131775, -0.06884023547172546, 0.027529096230864525, 0.025167960673570633, 0.08891863375902176, -0.00003921562893083319, 0.07422712445259094, -0.008749321103096008, 0.09248657524585724, -0.04148603603243828, -0.029033228754997253, -0.06408298015594482, -0.0603051632642746, -0.006982841063290834, -0.002999517135322094, -0.04456425458192825, 0.004669802263379097, 0.012776369228959084, 0.004927778150886297, 0.028980758041143417, 0.050335921347141266, -0.04459923505783081, -0.0027437275275588036, 0.04613834619522095, -0.01909896731376648, -0.015102525241672993, 0.013694589026272297, 0.04278028756380081, -0.0790543332695961, 0.03181412070989609, 0.028700919821858406, 0.0790543332695961, -0.03938724845647812, -0.02149508334696293, 0.009654423221945763, 0.06233398988842964, 0.003342756535857916, 0.043794699013233185, -0.0077436515130102634, 0.013851998373866081, -0.005465592723339796, -0.007861708290874958, 0.04127615690231323, -0.006466889288276434, -0.06572703272104263, -0.032863516360521317, -0.01923888549208641, 0.04085639864206314, -0.03158675134181976, -0.055407993495464325, -0.0030301245860755444, 0.047082800418138504, -0.0012876936234533787, -0.003386481199413538, -0.04008684307336807, 0.014787707477807999, 0.012653940357267857, -0.004427129868417978, 0.019606174901127815, 0.0477474182844162, 0.03499728441238403, 0.02878836914896965, 0.029418006539344788, 0.016641637310385704, 0.01455159392207861, -0.013169892132282257, -0.008863004855811596, -0.0001337703870376572, -0.009531993418931961, -0.007035310845822096, 0.039737045764923096, -0.003622594755142927, -0.010948674753308296, -0.024660754948854446, 0.04792231693863869, 0.001820042380131781, 0.0015970461536198854, 0.0071883476339280605, 0.012557745911180973, -0.01246155146509409, -0.08430130034685135, -0.03970206528902054, 0.019571194425225258, -0.03539954870939255, 0.00014880075468681753, 0.019606174901127815, -0.012260417453944683, -0.009287134744226933, 0.016973944380879402, -0.04428441822528839, -0.02476569265127182, -0.03191906213760376, -0.001084373565390706, 0.005076442379504442, -0.03732343763113022, 0.020043421536684036, -0.038827572017908096, -0.02551775984466076, -0.015531027689576149, 0.007463813293725252, -0.024678243324160576, -0.017498642206192017, 0.06023520231246948, 0.06397803872823715, -0.015469813719391823, -0.04967130720615387, -0.03176165372133255, -0.04162595421075821, -0.022492006421089172, -0.009663167409598827, -0.002424536971375346, 0.006506241392344236, -0.01298624835908413, -0.0055180625058710575, -0.007293286733329296, -0.022194677963852882, 0.0247831828892231, -0.010231589898467064, 0.0012516207061707973, -0.002169840270653367, 0.03837283328175545, 0.028998248279094696, -0.029330557212233543, -0.005933447275310755, -0.014394184574484825, -0.011350942775607109, 0.027826424688100815, 0.031236955896019936, -0.01848682016134262, 0.003939599264413118, 0.027861405164003372, -0.020970385521650314, 0.0996224507689476, -0.04057655856013298, -0.061389535665512085, -0.060934800654649734, 0.014604063704609871, -0.012793859466910362, -0.001031357329338789, 0.013248596340417862, 0.025290390476584435, -0.06884023547172546, -0.048097215592861176, -0.06306856870651245, 0.09633435308933258, -0.0641879215836525, -0.02100536599755287, -0.018609249964356422, 0.05432361736893654, -0.017524875700473785, -0.027494117617607117, -0.020812977105379105, 0.043794699013233185, 0.020620588213205338, 0.006235148292034864, 0.0005468325689435005, -0.0034608133137226105, -0.04652312397956848, -0.002302107634022832, 0.016650380566716194, 0.019046496599912643, 0.010957419872283936, -0.019518723711371422, -0.06177431344985962, 0.03686870262026787, 0.013222361914813519, -0.024730714038014412, 0.0707990974187851, -0.0010045759845525026, 0.0009848998161032796, -0.0009368025930598378, -0.015758397057652473, -0.02175743132829666, 0.008911102078855038, -0.020498158410191536, -0.022002289071679115, 0.03889752924442291, -0.02922561764717102, 0.036483924835920334, -0.01669410616159439, 0.0316392220556736, -0.012925033457577229, -0.04281526803970337, 0.015120015479624271, -0.027511607855558395, -0.0189590472728014, -0.016519207507371902, 0.02429346553981304, -0.001779597019776702, -0.0735974833369255, 0.06289366632699966, 0.04764247685670853, -0.020480668172240257, 0.06502743810415268, 0.02146010287106037, -0.010091669857501984, 0.02072552777826786, -0.009820576757192612, 0.035294611006975174, 0.016344308853149414, -0.009400819428265095, 0.0008324097725562751, -0.05159519612789154, -0.006729237735271454, 0.021669982001185417, -0.023541400209069252, -0.04613834619522095, 0.05670224502682686, 0.008390777744352818, 0.000005538182449527085, -0.018976537510752678, -0.0011871267342939973, -0.004420571494847536, 0.06163439527153969, 0.009007296524941921, -0.039317287504673004, -0.005400005728006363, -0.028753390535712242, -0.004678547382354736, 0.004634822718799114, -0.02013087086379528, -0.04354984313249588, 0.03102707676589489, 0.02042819932103157, 0.011613291688263416, 0.05866111442446709, 0.0029973310884088278, 0.03263614699244499, -0.04194077104330063, -0.015224955044686794, -0.00742446118965745, 0.05985042452812195, -0.04187081381678581, -0.06821059435606003, 0.04141607508063316, -0.005964054726064205, 0.03135938569903374, -0.0308521781116724, -0.011831915006041527, 0.0018921882146969438, -0.037078581750392914, -0.036309026181697845, 0.059885405004024506, 0.040051862597465515, 0.02999517321586609, 0.013668353669345379, 0.018224472180008888, -0.04641818627715111, -0.030799707397818565, 0.04998612403869629, -0.034210238605737686, 0.0071883476339280605, -0.046593084931373596, -0.00037357324617914855, -0.0008805069955997169, -0.01245280634611845, 0.008539441972970963, -0.02235208824276924, 0.01185814943164587, 0.00872308574616909, -0.00879741832613945, -0.01238284632563591, -0.04127615690231323, -0.047222722321748734, -0.006991586182266474, -0.019571194425225258, -0.005461220163851976, 0.030379951000213623, 0.018574269488453865, 0.032163918018341064, -0.0003921562747564167, 0.020935406908392906, -0.002238706685602665, 0.029750313609838486, 0.010319039225578308, 0.06502743810415268, 0.0658319741487503, 0.02567516826093197, 0.004980247933417559, 0.027354197576642036, 0.011455882340669632, -0.04403955861926079, -0.0012691105948761106, 0.01761232502758503, -0.030047642067074776, -0.004000813700258732, -0.030519869178533554, 0.026147395372390747, 0.022859293967485428, -0.03149930387735367, -0.035574451088905334, 0.004634822718799114, -0.02579759806394577, -0.04281526803970337, -0.019868522882461548, -0.011071104556322098, 0.06247391179203987, -0.005513689946383238, 0.04218563064932823, 0.004626077599823475, 0.005386888049542904, 0.016344308853149414, -0.04127615690231323, -0.04669802263379097, 0.008277093060314655, -0.058556172996759415, -0.05114045739173889, -0.05246968939900398, 0.021704962477087975, 0.023803750053048134, 0.005303811281919479, -0.017944633960723877, 0.033038415014743805, -0.041975751519203186, 0.0053475359454751015, -0.003609477309510112, 0.039911944419145584, 0.07660574465990067, 0.02418852597475052, -0.01275887992233038, 0.039457205682992935, -0.009007296524941921, -0.04830709472298622, 0.0009832601062953472, 0.00031755093368701637, 0.07548639178276062, -0.02922561764717102, -0.005391260609030724, 0.07912429422140121, -0.050335921347141266, -0.007966647855937481, -0.028561001643538475, 0.008674988523125648, -0.026637112721800804, -0.0973137840628624, -0.02030576951801777, 0.026217354461550713, 0.04351486265659332, -0.041136234998703, 0.001607977319508791, -0.020340749993920326, 0.042430490255355835, -0.008972316980361938, -0.008303328417241573, 0.03415776789188385, 0.029295576736330986, 0.03651890531182289, -0.033772990107536316, -0.06516735255718231, 0.026462214067578316, -0.014726492576301098, 0.003941785544157028, 0.02940051630139351, -0.04309510439634323, 0.007866080850362778, 0.014394184574484825, 0.031866591423749924, 0.024345936253666878, 0.0003109922108706087, 0.030205050483345985, -0.004059842322021723, -0.021512573584914207, -0.023069173097610474, 0.0243284460157156, -0.018556781113147736, 0.023016704246401787, -0.020043421536684036, -0.012076773680746555, 0.02119775488972664, 0.008648754097521305, 0.01834690198302269, 0.039737045764923096, -0.035417038947343826, -0.05925576761364937, -0.039911944419145584, -0.06635666638612747, -0.041555993258953094, 0.01640552282333374, 0.008513207547366619, 0.04218563064932823, -0.08255231380462646, 0.008001627400517464, 0.03165671229362488, -0.04715276136994362, -0.09997224807739258, -0.0030957115814089775, -0.03539954870939255, 0.05491827428340912, 0.028158733621239662, 0.035591937601566315, 0.04977624490857124, 0.006165188737213612, 0.04012182354927063, -0.04267534613609314, 0.07240816950798035, 0.04550871253013611, -0.0016680988483130932, -0.009803087450563908, -0.026164885610342026, 0.019308846443891525, -0.006772962398827076, 0.01578463241457939, -0.04208068922162056, -0.027634035795927048, -0.057052042335271835, 0.0024660753551870584, -0.07408720254898071, 0.0016538883792236447, -0.01290754321962595, -0.022404557093977928, 0.06103973835706711, 0.022317107766866684, -0.02803630381822586, -0.051840052008628845, 0.008465110324323177, 0.017087629064917564, 0.0041997614316642284, 0.020777996629476547, -0.027389178052544594, 0.011289727874100208, -0.015032566152513027, 0.01776973530650139, -0.037078581750392914, 0.05876605212688446, -0.010791266337037086, -0.012330377474427223, -0.009680657647550106, 0.05498823523521423, 0.0017686657374724746, 0.02821120247244835, -0.027529096230864525, -0.06324346363544464, 0.0027481000870466232, 0.040926359593868256, -0.02908569760620594, 0.02296423353254795, -0.04505397379398346, 0.017944633960723877, 0.05145527422428131, -0.014175561256706715, 0.04057655856013298, -0.048412032425403595, 0.027179298922419548, 0.014464144594967365, -0.061984192579984665, -0.0340353399515152, 0.031219465658068657, -0.03310837224125862, 0.03847777098417282, -0.00607336638495326, -0.01834690198302269, -0.021669982001185417, 0.023803750053048134, -0.02758156694471836, -0.0065718283876776695, -0.01320487167686224, -0.000005354572749638464, 0.011368433013558388, -0.0037647001445293427, -0.02518545091152191, 0.06387310475111008, 0.05327422544360161, 0.02908569760620594, 0.005649236496537924, 0.026672091335058212, -0.07055424153804779, -0.0006842921720817685, 0.07436703890562057, -0.04655810445547104, -0.08835895359516144, 0.01610819436609745, -0.014114346355199814, 0.0035919875372201204, -0.041381094604730606, -0.030677277594804764, -0.06506241858005524, -0.03146432340145111, -0.05694710463285446, -0.022701885551214218, -0.04354984313249588, -0.014175561256706715, 0.04624328762292862, 0.02403111755847931, 0.08416137844324112, 0.0745069608092308, -0.017192568629980087, 0.04739762097597122, 0.0012953454861417413, 0.006952234078198671, -0.0020736458245664835, 0.007380736526101828, -0.014367950148880482, 0.0036597608122974634, -0.032443758100271225, 0.018154513090848923, 0.010555152781307697, -0.03445509448647499, 0.038827572017908096, 0.008220251649618149, 0.053029365837574005, -0.06187925487756729, 0.06341836601495743, 0.043165065348148346, 0.018539290875196457, 0.04330498352646828, 0.006423164624720812, 0.0002137046685675159, 0.0056885890662670135, 0.022439537569880486, 0.0555129311978817, -0.025587718933820724, -0.0022059131879359484, 0.004285024479031563, 0.03358060121536255, 0.07429707795381546, 0.0154260890558362, -0.008749321103096008, -0.029208127409219742, 0.0045123933814466, 0.007074662949889898, 0.053344182670116425, 0.07338760793209076, -0.03417525812983513, 0.011464627459645271, -0.002424536971375346, 0.10486941784620285, -0.006685513071715832, 0.00814154651015997, -0.00532567361369729, 0.034227728843688965, -0.014700258150696754, -0.002540407469496131, 0.008552559651434422, 0.0311844851821661, 0.01743742637336254, 0.03293347358703613, -0.010152884759008884, 0.029418006539344788, 0.06254386901855469, -0.05726192146539688, 0.0059509375132620335, 0.02030576951801777, -0.012400336563587189, -0.01296875812113285, -0.04106627777218819, -0.014499124139547348, -0.01142090279608965, 0.03599420562386513, -0.01461280882358551, -0.02728423848748207, -0.03218140825629234, 0.051805075258016586 ]
41,024
pyglove.core.symbolic.list
_on_change
On change event of List.
def _on_change(self, field_updates: Dict[object_utils.KeyPath, base.FieldUpdate]): """On change event of List.""" # Do nothing for now to handle changes of List. # NOTE(daiyip): Remove items that are MISSING_VALUES. keys_to_remove = [] for i, item in self.sym_items(): if pg_typing.MISSING_VALUE == item: keys_to_remove.append(i) if keys_to_remove: for i in reversed(keys_to_remove): list.__delitem__(self, i) # Update paths for children. for idx, item in self.sym_items(): if isinstance(item, base.TopologyAware) and item.sym_path.key != idx: item.sym_setpath(object_utils.KeyPath(idx, self.sym_path)) if self._onchange_callback is not None: self._onchange_callback(field_updates)
(self, field_updates: Dict[pyglove.core.object_utils.value_location.KeyPath, pyglove.core.symbolic.base.FieldUpdate])
[ 0.0562494620680809, -0.013279025442898273, -0.0669708326458931, 0.06629130989313126, -0.06946241855621338, -0.04794417321681976, -0.004825090058147907, 0.033164530992507935, 0.057193245738744736, -0.0063375020399689674, -0.026727931573987007, -0.06987768411636353, 0.07950427383184433, -0.044697556644678116, 0.00977759063243866, -0.012212551198899746, -0.07890024781227112, 0.017648739740252495, 0.06644231826066971, -0.02972916141152382, -0.04194171354174614, -0.024292971938848495, 0.04028065502643585, 0.04745340347290039, -0.01830938830971718, -0.01738448068499565, 0.01834714040160179, 0.031446848064661026, 0.016487887129187584, -0.018167821690440178, 0.013165771961212158, -0.004813292995095253, -0.005431470461189747, -0.019366424530744553, -0.0037727721501141787, 0.03284364566206932, -0.026180537417531013, 0.05126628652215004, -0.04934097081422806, -0.0032725671771913767, 0.035712745040655136, 0.008409105241298676, 0.015506353229284286, -0.007734301034361124, 0.116425059735775, 0.09800241887569427, -0.043565019965171814, 0.03171110525727272, 0.013694290071725845, -0.013883046805858612, -0.005823140498250723, 0.005308778956532478, 0.019064415246248245, 0.017931874841451645, 0.0034235725179314613, 0.03614688664674759, 0.04016739875078201, 0.01667664386332035, 0.08108982443809509, 0.0016634173225611448, 0.02602953277528286, 0.005860891658812761, -0.04258348420262337, -0.0576462596654892, 0.008069343864917755, -0.055154673755168915, 0.08622400462627411, -0.015544104389846325, -0.030937204137444496, 0.0049784546718001366, -0.029011886566877365, -0.025727521628141403, 0.010938444174826145, 0.0038624315056949854, -0.008258100599050522, 0.010815751738846302, 0.0071302796714007854, 0.04843493923544884, 0.0065781669691205025, -0.04416903853416443, -0.010504303500056267, -0.008998969569802284, 0.021348370239138603, 0.002129410160705447, 0.0011502354172989726, -0.0009325754945166409, 0.03414606675505638, 0.01514771580696106, 0.027011066675186157, 0.05806152522563934, -0.05881655216217041, -0.0007390999817289412, -0.05070001631975174, 0.012155923992395401, -0.03982763737440109, -0.007238815072923899, -0.012410745024681091, -0.0647057592868805, -0.02761508710682392, 0.036750905215740204, 0.0901501402258873, -0.011655719019472599, 0.015260969288647175, 0.031163711100816727, 0.005237995181232691, -0.05062451586127281, -0.016940902918577194, -0.03937462344765663, 0.003090888960286975, 0.0002495126100257039, 0.0048840767703950405, 0.016752146184444427, 0.039865389466285706, -0.0066300746984779835, -0.011684032157063484, 0.022462032735347748, -0.05658922344446182, -0.03482558950781822, 0.0062289671041071415, -0.08599749952554703, 0.0024632734712213278, 0.003305599559098482, -0.03746818006038666, 0.0024538354482501745, 0.010032412596046925, -0.02365119941532612, -0.0036642372142523527, 0.04175295680761337, 0.021971266716718674, 0.01772424392402172, -0.030144426971673965, -0.018894534558057785, -0.009588833898305893, 0.03978988900780678, 0.06848088651895523, -0.025029122829437256, -0.017139097675681114, -0.01775255613029003, -0.01124989241361618, -0.03376855328679085, 0.010787438601255417, -0.007031182758510113, 0.07097247242927551, -0.01514771580696106, -0.003701988374814391, 0.010041849687695503, -0.02933277189731598, -0.011061135679483414, -0.08682803064584732, -0.008909310214221478, -0.061345890164375305, 0.03052193857729435, 0.00507283303886652, -0.06712184101343155, -0.051568299531936646, 0.06715959310531616, -0.06742385029792786, -0.021046359091997147, 0.03018217720091343, 0.05836353451013565, -0.005011487286537886, -0.02506687492132187, 0.060892872512340546, -0.012033232487738132, -0.02631266787648201, 0.029257269576191902, -0.06244067847728729, -0.08343040943145752, -0.0517193041741848, 0.04103568196296692, 0.03656214848160744, 0.02244315668940544, -0.005908080842345953, 0.013939673081040382, 0.04586784914135933, 0.03609025850892067, 0.01782805845141411, 0.0012516920687630773, 0.014222808182239532, -0.020951980724930763, -0.04609435796737671, -0.0440935380756855, 0.03467458486557007, 0.06327120959758759, 0.00891874823719263, 0.07221826910972595, -0.04949197545647621, 0.0022391248494386673, -0.02978578768670559, 0.02080097608268261, -0.053342610597610474, -0.05847679078578949, 0.013496095314621925, -0.04843493923544884, -0.0012528718216344714, 0.025557640939950943, 0.005898643285036087, 0.0004061215731780976, -0.04443329945206642, 0.01079687662422657, -0.019913818687200546, -0.04730239883065224, 0.01721459999680519, 0.015006148256361485, -0.08063681423664093, 0.0856199860572815, 0.025954030454158783, -0.0014817392220720649, 0.050209250301122665, -0.028388990089297295, -0.003954450599849224, 0.04118668660521507, -0.04001639410853386, -0.007455884944647551, 0.002524619223549962, -0.06228967010974884, -0.06206316500902176, -0.0010605760617181659, -0.01930036023259163, -0.013769792392849922, 0.012155923992395401, 0.005733481142669916, -0.07867374271154404, -0.06187440827488899, 0.02676568366587162, 0.008017435669898987, -0.006007178220897913, 0.01904553920030594, 0.02148049883544445, 0.0011632124660536647, -0.023783329874277115, -0.019989322870969772, -0.017488297075033188, -0.015081650577485561, 0.03552398830652237, 0.013864170759916306, -0.013363965786993504, -0.02893638424575329, -0.015138277783989906, -0.03229625150561333, -0.0063280644826591015, -0.036977414041757584, -0.01769592985510826, -0.0010623456910252571, 0.024708235636353493, -0.006601761560887098, 0.025312257930636406, 0.042545732110738754, -0.03212637081742287, 0.006861301604658365, 0.0144115649163723, -0.012033232487738132, 0.023330314084887505, 0.05209681764245033, 0.0087630245834589, -0.05828803405165672, -0.04152644798159599, 0.04484856501221657, 0.03380630537867546, -0.051341790705919266, -0.02365119941532612, -0.027029942721128464, -0.041903961449861526, 0.04564134031534195, 0.019989322870969772, 0.0076729548163712025, 0.06663107126951218, 0.01860196143388748, -0.014194495044648647, 0.06281819194555283, 0.11801061779260635, -0.04798192158341408, -0.01068362221121788, 0.019319236278533936, 0.009357607923448086, 0.0025883247144520283, 0.005214400589466095, -0.0293894000351429, -0.013930235989391804, 0.012590063735842705, 0.05338036268949509, -0.025557640939950943, 0.01105169765651226, 0.022405406460165977, 0.012599501758813858, -0.012533437460660934, -0.001097147585824132, -0.00022739269479643553, -0.05590970069169998, 0.00012844295997638255, 0.03869510069489479, 0.012089858762919903, 0.000756206049118191, 0.03320228308439255, 0.026841185986995697, -0.015270407311618328, 0.02455723099410534, 0.04303650185465813, -0.002689781365916133, -0.00508699007332325, 0.016695519909262657, 0.03705291822552681, -0.020215829834342003, -0.049756236374378204, 0.023047178983688354, -0.011721783317625523, 0.02444397658109665, -0.021669255569577217, 0.018337702378630638, -0.004950141534209251, -0.02921951934695244, 0.06629130989313126, -0.07157649844884872, 0.04265898838639259, 0.017110783606767654, -0.00774373859167099, -0.023273685947060585, -0.010079601779580116, 0.016582265496253967, 0.0652720257639885, -0.049416471272706985, 0.01613868772983551, -0.06576279550790787, 0.07153874635696411, -0.038393087685108185, -0.0008452755864709616, 0.06485676020383835, 0.021556001156568527, 0.03184323385357857, 0.011599091812968254, 0.044471051543951035, -0.05564543977379799, 0.03150347247719765, -0.02857774682343006, 0.0051860869862139225, -0.03595812991261482, 0.012986453250050545, -0.0038388369139283895, 0.007847554981708527, -0.020083699375391006, 0.008446857333183289, -0.028483368456363678, -0.012420183047652245, 0.01380754355341196, 0.026331543922424316, -0.015562980435788631, 0.06198766082525253, 0.032881397753953934, 0.020782100036740303, 0.05772176384925842, 0.014364375732839108, -0.012221988290548325, -0.06259167939424515, 0.02602953277528286, 0.08078781515359879, -0.06481900811195374, -0.013694290071725845, -0.0556831918656826, -0.00873471051454544, -0.03612801060080528, 0.04937872290611267, 0.001464043278247118, 0.031125960871577263, -0.036335643380880356, 0.04247023165225983, -0.03612801060080528, 0.03174885734915733, -0.06213866546750069, 0.02040458656847477, -0.023915458470582962, -0.008253381587564945, -0.012250302359461784, 0.06176115199923515, 0.012155923992395401, 0.004950141534209251, -0.014024614356458187, 0.0336364209651947, 0.047491155564785004, -0.020423462614417076, 0.008243943564593792, -0.02080097608268261, -0.004950141534209251, -0.0003727942530531436, 0.01355272252112627, 0.007432290352880955, 0.023273685947060585, 0.016629455611109734, 0.005488097667694092, 0.007248252630233765, -0.01684652455151081, -0.0015029743080958724, 0.0633089542388916, -0.04039390757679939, -0.02512350119650364, -0.056173957884311676, -0.0015029743080958724, 0.04443329945206642, -0.022820670157670975, 0.011570778675377369, -0.05149279534816742, -0.01264669094234705, -0.0562494620680809, -0.06059086322784424, 0.03735492751002312, 0.008706397376954556, -0.009683212265372276, -0.040205150842666626, 0.046962637454271317, 0.0039025424048304558, 0.01023060642182827, 0.039185866713523865, 0.02421746961772442, 0.000023225908080348745, -0.025727521628141403, -0.008904592134058475, -0.009173570200800896, -0.05239882692694664, -0.030880575999617577, 0.038336463272571564, -0.003201783401891589, -0.033957310020923615, 0.04035615548491478, 0.018970036879181862, 0.04937872290611267, -0.0030177459120750427, -0.06074186787009239, 0.011108324863016605, 0.023217059671878815, 0.01924373395740986, 0.047189146280288696, 0.04681163281202316, 0.016516201198101044, -0.011466962285339832, -0.025991780683398247, -0.0030578565783798695, 0.017686491832137108, 0.03539185971021652, -0.006375253666192293, -0.008140127174556255, -0.009376483038067818, -0.046396367251873016, 0.00018433260265737772, 0.0325038842856884, -0.030672945082187653, 0.035203102976083755, 0.018092317506670952, -0.020310208201408386, -0.0035415454767644405, -0.009546363726258278, -0.021065235137939453, -0.022858422249555588, 0.00775789562612772, 0.005851454101502895, 0.03140909597277641, -0.03046531230211258, -0.05534343048930168, -0.0429609976708889, -0.0322207473218441, 0.02017807774245739, -0.024198593571782112, -0.03359867259860039, 0.02376445382833481, 0.03427819535136223, -0.055041417479515076, -0.024292971938848495, 0.008456294424831867, 0.015421412885189056, 0.005412594880908728, -0.020423462614417076, 0.02278291992843151, 0.061459142714738846, -0.03582599759101868, -0.04152644798159599, -0.008376073092222214, -0.019309798255562782, -0.036109134554862976, 0.008583705872297287, -0.017478859052062035, -0.042432479560375214, -0.052889592945575714, 0.002859662286937237, 0.01608206145465374, 0.04496181756258011, -0.023726701736450195, 0.031163711100816727, -0.0534181110560894, -0.011127200908958912, -0.060213349759578705, -0.007380382157862186, 0.00691792881116271, -0.04700038954615593, -0.09022564440965652, 0.042432479560375214, -0.022292152047157288, -0.038223206996917725, -0.0534181110560894, 0.010787438601255417, -0.0059788646176457405, 0.05451289936900139, -0.027973724529147148, 0.0015041540609672666, 0.03301352635025978, 0.01989494450390339, 0.004969017114490271, -0.008347759954631329, -0.06251618266105652, 0.026860062032938004, 0.05519242584705353, -0.05689123272895813, -0.03097495436668396, -0.00331739685498178, -0.06213866546750069, 0.13205410540103912, -0.01557241752743721, -0.011429211124777794, -0.0293894000351429, -0.043791525065898895, 0.05832578241825104, 0.030219929292798042, 0.025595393031835556, 0.008692240342497826, -0.031390219926834106, 0.043678272515535355, -0.004221069160848856, -0.009310418739914894, 0.002298111328855157, -0.05507916957139969, -0.024915868416428566, 0.015893304720520973, -0.034013934433460236, -0.007838116958737373, -0.015987683087587357, 0.030729571357369423, -0.03254163637757301, -0.017535487189888954, 0.04798192158341408, 0.05530567839741707, -0.0038152423221617937, -0.15493139624595642, 0.04794417321681976, 0.025538764894008636, 0.07421908527612686, 0.015534666366875172, -0.015591293573379517, -0.010560930706560612, -0.03325891122221947, 0.0037538965698331594, -0.056287214159965515, 0.011004508472979069, 0.00720578245818615, -0.029087388888001442, 0.009013126604259014, 0.0162519421428442, -0.006960398983210325, 0.007781490217894316, -0.038732849061489105, -0.022877298295497894, 0.016072623431682587, -0.0064790695905685425, -0.013373403809964657, -0.012486248277127743, 0.014383251778781414, 0.03665652871131897, 0.024972496554255486, 0.033504292368888855, 0.05070001631975174, 0.004683522507548332, 0.01758267544209957, 0.06870739907026291, 0.024878118187189102, 0.048283934593200684, 0.0067291720770299435, 0.014166181907057762, -0.036581024527549744, -0.0018887455807998776, -0.05209681764245033, 0.0030319024808704853, -0.028521118685603142, -0.042772240936756134, -0.14224696159362793, -0.04001639410853386, 0.0014923567650839686, -0.032598260790109634, 0.011523589491844177, 0.030446436256170273, 0.01326958741992712, 0.005473940633237362, 0.04866144806146622, -0.011098886840045452, 0.04337626323103905, -0.03199424222111702, -0.06247842684388161, -0.014052927494049072, 0.005308778956532478, -0.023160433396697044, 0.013486657291650772, -0.07625766098499298, -0.005884486250579357, -0.05013374984264374, 0.028672125190496445, -0.01690315268933773, 0.014940083026885986, 0.04632086679339409, -0.06334670633077621, 0.0064649130217731, -0.05489041283726692, 0.037826817482709885, -0.02040458656847477, 0.024481728672981262, 0.00508699007332325, 0.0142039330676198, 0.06549853086471558, 0.029370523989200592, -0.00017238785221707076, 0.02204676903784275, 0.014713575132191181, 0.02227327600121498, 0.028445616364479065, 0.05779726430773735, -0.015619606710970402, -0.011938854120671749, 0.008163722231984138, -0.018998349085450172, -0.002023234497755766, -0.05590970069169998, -0.040658168494701385, 0.028105854988098145, 0.001067654462531209, -0.023047178983688354, 0.0010086679831147194, 0.0009420133428648114, -0.003966247662901878, -0.002708656946197152, 0.015874428674578667, 0.03727942332625389, -0.06085512042045593, -0.006441318430006504, -0.07467210292816162, 0.009272666648030281, -0.013656538911163807, 0.02893638424575329, 0.0027770812157541513, 0.05598520115017891, -0.004428701475262642, 0.014628634788095951, 0.004615098237991333, -0.016780460253357887, -0.023424692451953888, 0.039752136915922165, -0.011174389161169529, -0.014902331866323948, 0.0032041429076343775, -0.0870545357465744, -0.007583295460790396, 0.032994650304317474, 0.051115281879901886, -0.042696740478277206, -0.09452929347753525, -0.0059269568882882595, 0.02187688834965229, -0.014704138040542603, -0.0033881806302815676, 0.03456132858991623, 0.004865200724452734, 0.05183255672454834, -0.012892074882984161, 0.04360277205705643, 0.048283934593200684, 0.04488631337881088, 0.028521118685603142, -0.0029351648408919573, -0.05236107483506203, -0.010457114316523075, 0.04382927715778351, 0.009027283638715744, -0.04666062816977501, 0.05451289936900139, 0.06345996260643005, 0.012410745024681091, 0.03527860343456268, -0.004461733624339104, 0.006582885980606079, -0.018460392951965332, 0.0003825270105153322, 0.026237165555357933, 0.04247023165225983, 0.012231426313519478, 0.02489699237048626, 0.08463845402002335, 0.004525438882410526, -0.003848274704068899, -0.03499547019600868, -0.007918338291347027, -0.03371192514896393, -0.04530157893896103, -0.046056605875492096, -0.0401296503841877, -0.04432004690170288, 0.02676568366587162, 0.053342610597610474, 0.05005824565887451, 0.031390219926834106, -0.04280999302864075, 0.0440935380756855, 0.052474331110715866, -0.026860062032938004, -0.02972916141152382, -0.03926136717200279, -0.002482149051502347, 0.0264259222894907, -0.03971438482403755, -0.011155514046549797, -0.060439858585596085, -0.10351411253213882, 0.008163722231984138, 0.017006967216730118, 0.036184635013341904, -0.016015995293855667, 0.05828803405165672, -0.003390540136024356, 0.01605374738574028, 0.0060779619961977005, 0.019121041521430016, -0.008989532478153706, 0.01594049297273159, -0.007682392839342356, 0.03573162108659744, -0.04201721400022507, -0.03522197902202606, 0.013194085098803043, 0.060439858585596085, 0.013307338580489159, 0.008998969569802284, -0.050322502851486206, 0.0435272678732872, -0.03357979655265808, -0.005422032903879881, 0.046283114701509476, -0.06644231826066971, 0.029087388888001442, 0.004124331288039684, -0.06221416965126991, 0.014421002939343452, 0.03074844740331173, -0.017969626933336258, 0.015279845334589481, -0.020725471898913383, 0.038506343960762024, 0.00831000879406929, -0.01761098951101303, 0.026841185986995697, 0.02944602631032467, 0.018951160833239555, 0.0031144835520535707, 0.00036365134292282164, 0.009357607923448086, -0.034240443259477615, 0.008357197977602482, -0.01789412461221218, -0.004659927915781736, 0.005289903376251459, 0.06546077877283096, -0.0002850519376806915, 0.020366834476590157, 0.015251532196998596, 0.032824769616127014, -0.038732849061489105, 0.027596212923526764 ]
41,025
pyglove.core.symbolic.list
_parse_slice
null
def _parse_slice(self, index: slice) -> Tuple[int, int, int]: start = index.start if index.start is not None else 0 start = max(-len(self), start) start = min(len(self), start) if start < 0: start += len(self) stop = index.stop if index.stop is not None else len(self) stop = max(-len(self), stop) stop = min(len(self), stop) if stop < 0: stop += len(self) step = index.step if index.step is not None else 1 return start, stop, step
(self, index: slice) -> Tuple[int, int, int]
[ -0.04398804157972336, 0.029500331729650497, -0.0767778530716896, 0.00841179396957159, -0.028170542791485786, -0.01433023251593113, 0.037129126489162445, 0.032089922577142715, -0.029622813686728477, -0.038423921912908554, 0.03968372195959091, 0.06512469798326492, -0.0007469130796380341, -0.039088815450668335, 0.01891450770199299, 0.012711739167571068, 0.03810897096991539, -0.006522092968225479, -0.05781085416674614, 0.05448637902736664, -0.018092136830091476, -0.006570210214704275, 0.005721594672650099, 0.027873089537024498, 0.01599247008562088, 0.04356810823082924, 0.050007086247205734, -0.014006533659994602, 0.03611428663134575, -0.06736434251070023, -0.018687043339014053, 0.0009475844562985003, -0.010349612683057785, 0.008748616091907024, -0.037968993186950684, -0.00783001072704792, -0.02365625649690628, 0.0073007200844585896, 0.00029553918284364045, 0.12164075672626495, -0.014190254732966423, -0.0941351056098938, -0.01143444050103426, -0.010550830513238907, -0.043708086013793945, -0.010095902718603611, 0.010900774970650673, -0.04143344610929489, -0.03074263595044613, -0.04531782865524292, 0.00951849389821291, 0.0037881506141275167, 0.022466445341706276, -0.022221483290195465, -0.03772403299808502, 0.03793399780988693, 0.05413643270730972, 0.09273532778024673, 0.0007168396841734648, 0.049167219549417496, -0.0004038033075630665, 0.033087264746427536, 0.018109634518623352, 0.036464229226112366, -0.026770764961838722, -0.05602613463997841, 0.02561594732105732, -0.022099003195762634, -0.08846600353717804, -0.0014085271395742893, 0.0558861568570137, 0.031844962388277054, -0.006500221323221922, -0.016386156901717186, -0.024006200954318047, -0.025143520906567574, 0.05305160582065582, 0.06110033392906189, 0.08776611089706421, 0.021224141120910645, -0.027295680716633797, 0.030672647058963776, -0.03828394412994385, -0.011093244887888432, 0.047382503747940063, 0.009553488343954086, -0.020174307748675346, -0.018022147938609123, -0.017086045816540718, 0.050042081624269485, -0.038178957998752594, 0.03320974484086037, 0.01852956786751747, 0.005314784124493599, -0.03313975781202316, 0.01782967895269394, 0.0006588801043108106, -0.034294575452804565, -0.05949058756232262, -0.0535765215754509, -0.0657895877957344, 0.020856700837612152, -0.08692624419927597, -0.02899291180074215, 0.004100913647562265, -0.005970930214971304, -0.0048204874619841576, -0.009466002695262432, -0.03516943380236626, 0.00017715946887619793, 0.06379490345716476, -0.002096387092024088, -0.08202701807022095, 0.05578117445111275, -0.015983721241354942, 0.017969656735658646, 0.003925941418856382, -0.0579858236014843, -0.0372341088950634, 0.006950775161385536, -0.011154484935104847, 0.004177464172244072, -0.025878405198454857, 0.07257851958274841, -0.05809080973267555, 0.025633445009589195, 0.021206645295023918, 0.03553687781095505, 0.016543632373213768, -0.0004806270881090313, 0.033472202718257904, -0.013402879238128662, -0.04363809525966644, 0.021889036521315575, -0.03186246007680893, 0.014802657999098301, 0.06417984515428543, 0.012510520406067371, -0.1360584795475006, -0.012711739167571068, -0.020419269800186157, 0.014977630227804184, 0.0345570333302021, 0.05014706403017044, -0.012134330347180367, -0.025021040812134743, -0.004579900298267603, 0.0002628685615491122, 0.021591583266854286, 0.0017672204412519932, -0.028537984937429428, -0.0040965392254292965, 0.01582624576985836, -0.022186489775776863, 0.04531782865524292, -0.06676943600177765, -0.005865946877747774, -0.04181838408112526, 0.03978870436549187, -0.02761063165962696, -0.03544938936829567, -0.035466887056827545, -0.01472392026335001, 0.00909856054931879, -0.02232646755874157, 0.08594640344381332, 0.04206334426999092, -0.03277231380343437, -0.02974529378116131, -0.01380531582981348, 0.02099667862057686, 0.07278848439455032, -0.015266334637999535, 0.033629678189754486, -0.08888593316078186, 0.019089478999376297, 0.020629236474633217, 0.026455814018845558, -0.0020056201610714197, -0.059875525534152985, 0.018144629895687103, 0.009868438355624676, -0.0020296787843108177, -0.03268482908606529, -0.01770719885826111, 0.003263233695179224, -0.015651274472475052, 0.031197564676404, 0.009404761716723442, -0.01230930257588625, 0.004523034207522869, 0.009877187199890614, -0.004995459690690041, -0.011259468272328377, -0.003866888117045164, 0.014706423506140709, -0.01940442994236946, 0.06152026727795601, 0.05427641049027443, -0.055711183696985245, -0.02528349868953228, 0.004188399761915207, -0.026963233947753906, 0.0047461241483688354, -0.017173532396554947, 0.008626135066151619, -0.02153909206390381, 0.07156367599964142, -0.10099402070045471, 0.03803898021578789, -0.03410210460424423, -0.018984496593475342, 0.05910564959049225, 0.021381616592407227, 0.0035431894939392805, -0.032632336020469666, 0.011460687033832073, -0.023691251873970032, 0.0921054258942604, -0.001716915867291391, 0.12234064191579819, -0.0448978953063488, 0.06554462760686874, 0.020384274423122406, 0.06236013397574425, -0.018757032230496407, -0.012029347009956837, -0.029797784984111786, -0.012291804887354374, 0.03919379785656929, 0.009824695065617561, -0.051126912236213684, 0.027645625174045563, 0.001879858784377575, 0.043288152664899826, 0.06942901760339737, 0.007580675650388002, -0.042833223938941956, 0.024251163005828857, -0.042168326675891876, -0.02169656753540039, 0.009177298285067081, -0.05340155214071274, 0.01293045375496149, -0.03147751837968826, 0.002569905947893858, 0.010717053897678852, -0.011399446055293083, 0.014251494780182838, 0.02286888100206852, -0.04447796195745468, 0.07614795118570328, 0.0003376418899279088, 0.04678759723901749, 0.0014063399285078049, 0.04290321096777916, -0.013332890346646309, -0.008376799523830414, 0.026543300598859787, 0.0082236984744668, 0.025808416306972504, -0.059455592185258865, -0.007899999618530273, -0.07817763090133667, 0.028048062697052956, 0.0059578074142336845, 0.042378295212984085, -0.028433000668883324, 0.005253543611615896, 0.06652447581291199, 0.0657196044921875, 0.015231340192258358, -0.008700498379766941, -0.007265725173056126, 0.00290454039350152, -0.029377851635217667, 0.024583609774708748, 0.032719824463129044, 0.0020198365673422813, -0.0028695459477603436, 0.04314817115664482, 0.03789900243282318, -0.07565803080797195, -0.021224141120910645, 0.041013509035110474, -0.003772840602323413, 0.06760930269956589, -0.031057586893439293, -0.010034662671387196, 0.00550725357607007, 0.014636434614658356, -0.05410144105553627, 0.023043854162096977, -0.04493289068341255, 0.02199402078986168, 0.04955216124653816, -0.006876411847770214, 0.0024736712221056223, -0.034679513424634933, -0.018687043339014053, -0.028083056211471558, -0.05735592544078827, -0.0257734227925539, 0.011898117139935493, 0.012781728059053421, 0.048957254737615585, 0.013166666962206364, 0.01030586939305067, 0.04727752134203911, -0.06851916015148163, 0.006640199571847916, -0.00619402015581727, 0.02106666751205921, -0.034679513424634933, 0.025563456118106842, 0.009903432801365852, -0.012396788224577904, 0.018022147938609123, 0.0007835478754714131, 0.040418606251478195, -0.030042747035622597, 0.01160066481679678, -0.019561905413866043, 0.027330676093697548, 0.05959556996822357, 0.05434640124440193, -0.05711096525192261, -0.026718271896243095, -0.005769711919128895, 0.032054927200078964, -0.051336877048015594, 0.029255371540784836, -0.017051052302122116, 0.03744407370686531, 0.02449612505733967, -0.014942635782063007, -0.0007480066269636154, 0.05781085416674614, -0.009492248296737671, -0.040593575686216354, 0.08349678665399551, -0.06851916015148163, 0.0284504983574152, 0.04363809525966644, 0.09224540740251541, -0.04444296658039093, 0.04244828224182129, -0.0036766058765351772, 0.022816389799118042, 0.029587818309664726, -0.02474108524620533, -0.0016677048988640308, -0.02769811823964119, 0.008617386221885681, 0.00783001072704792, 0.04010365530848503, 0.010734551586210728, -0.08713621646165848, 0.004991085268557072, -0.01149568147957325, 0.015161351300776005, -0.032754816114902496, 0.02881794050335884, -0.016753599047660828, 0.013840310275554657, -0.0427282378077507, -0.060295458883047104, 0.018512070178985596, -0.038248948752880096, 0.045457806438207626, 0.003217303426936269, -0.005642857402563095, 0.02927286922931671, -0.02248394303023815, 0.0034119600895792246, -0.006316500715911388, 0.01754097454249859, 0.04318316653370857, -0.09679468721151352, -0.09434507042169571, -0.03656921535730362, -0.00972846057265997, 0.003645985620096326, 0.09070564806461334, -0.017024805769324303, 0.016421152278780937, -0.03343721106648445, -0.051371872425079346, 0.010279623791575432, 0.04377807304263115, -0.016088703647255898, 0.0020373337902128696, -0.0066139535047113895, -0.04843233525753021, 0.0044027408584952354, -0.032719824463129044, 0.004236517008394003, -0.04111849516630173, 0.006994518451392651, -0.039088815450668335, 0.00649584736675024, -0.035466887056827545, -0.01985935866832733, 0.04311317950487137, 0.013245404697954655, 0.002047176007181406, 0.042798228561878204, 0.011171982623636723, -0.014732669107615948, -0.057495903223752975, 0.008967331610620022, 0.00019246955343987793, 0.0065658362582325935, 0.01251926925033331, 0.034049611538648605, 0.016631118953227997, -0.01220431923866272, 0.0744682177901268, -0.050497010350227356, -0.0068414174020290375, -0.013087929226458073, -0.017549723386764526, 0.02657829411327839, -0.03193244710564613, -0.001553972833789885, -0.033472202718257904, -0.02006932534277439, -0.019544407725334167, 0.008354928344488144, 0.012834219262003899, -0.02678826078772545, -0.02507353201508522, -0.06438980996608734, 0.0028061184566468, 0.004282447509467602, -0.025300996378064156, -0.039123810827732086, 0.028765449300408363, 0.04027862846851349, 0.016552381217479706, 0.021749058738350868, 0.04318316653370857, 0.033629678189754486, 0.013840310275554657, 0.06543964892625809, -0.02691074274480343, -0.05172181501984596, -0.028852934017777443, -0.033262237906455994, -0.060085494071245193, 0.01551129575818777, -0.020384274423122406, 0.03355969116091728, -0.04220332205295563, 0.04451295733451843, -0.02153909206390381, -0.03961373120546341, -0.013971539214253426, 0.030795127153396606, 0.02033178322017193, 0.03982369974255562, 0.06725935637950897, -0.01309667807072401, -0.04601771757006645, -0.007235105149447918, -0.029622813686728477, 0.016359912231564522, -0.04447796195745468, -0.08377674221992493, 0.00034775747917592525, -0.031302548944950104, -0.03761904686689377, -0.017313510179519653, -0.001162472297437489, 0.027628129348158836, 0.032089922577142715, 0.05721594765782356, -0.01879202574491501, 0.0028170542791485786, -0.030970100313425064, -0.016429901123046875, -0.036674197763204575, -0.02166157215833664, 0.07523809373378754, -0.04356810823082924, 0.036709193140268326, -0.04066356644034386, 0.040838539600372314, -0.0624651163816452, -0.056621041148900986, 0.004540531430393457, -0.024601107463240623, -0.019526910036802292, -0.02706821635365486, 0.01795215904712677, 0.008906090632081032, 0.043498117476701736, 0.031145071610808372, 0.031057586893439293, -0.02782059833407402, -0.0034207087010145187, -0.020104318857192993, 0.09658471494913101, -0.052911628037691116, -0.006119656842201948, 0.024636102840304375, -0.011845625936985016, 0.015423809178173542, -0.0015725636621937156, -0.046507641673088074, -0.01782967895269394, 0.030847618356347084, -0.013525360263884068, 0.03562436252832413, 0.011740642599761486, 0.02815304510295391, -0.006329623516649008, 0.02307884767651558, -0.007466943468898535, -0.001485077547840774, 0.047382503747940063, 0.006430232431739569, 0.030130233615636826, 0.0036437984090298414, 0.016736101359128952, -0.008586766198277473, -0.0016589562874287367, -0.04948217049241066, -0.018267109990119934, -0.038633886724710464, -0.0015605343505740166, 0.035676855593919754, 0.048747286200523376, 0.003186683403328061, 0.012720487080514431, 0.00018754844495560974, 0.007860631681978703, -0.035711850970983505, 0.04167840629816055, 0.04066356644034386, 0.007020764052867889, 0.004385243635624647, -0.0361492820084095, -0.031180066987872124, 0.004606146365404129, 0.02619335614144802, -0.013656589202582836, 0.02857297845184803, 0.04776744171977043, 0.036044295877218246, 0.032387375831604004, 0.0317399762570858, 0.026508305221796036, -0.027383167296648026, 0.034049611538648605, 0.02498604729771614, -0.03074263595044613, -0.015817496925592422, 0.009133554995059967, -0.019089478999376297, 0.003639424219727516, -0.04143344610929489, 0.0112069770693779, -0.02603588066995144, -0.09077563881874084, 0.021976523101329803, 0.012772979214787483, -0.07782768458127975, -0.04332314431667328, -0.016263676807284355, -0.00345132895745337, -0.004553654696792364, -0.0809071958065033, 0.02691074274480343, 0.03226489573717117, -0.04409302398562431, -0.0003294400521554053, -0.035134442150592804, -0.02148660086095333, 0.047592468559741974, 0.028642967343330383, 0.04755747690796852, 0.03719911351799965, -0.011215724982321262, -0.04944717511534691, 0.09791450947523117, -0.017672203481197357, -0.051581837236881256, 0.02374374307692051, 0.003810022259131074, 0.04493289068341255, -0.03219490498304367, 0.013954042457044125, -0.006115282420068979, -0.012921705842018127, 0.035711850970983505, -0.045702770352363586, -0.0405585840344429, -0.04685758426785469, -0.04220332205295563, -0.017899667844176292, 0.03565935790538788, 0.00799623504281044, 0.07187862694263458, 0.019964341074228287, 0.015817496925592422, 0.04395304620265961, 0.005166057497262955, 0.013779070228338242, -0.0230263564735651, 0.04955216124653816, -0.05385647714138031, 0.0005801426013931632, -0.03041018918156624, -0.04549280181527138, -0.03252735361456871, -0.01482890360057354, 0.025213509798049927, 0.0010093715973198414, 0.014295238070189953, -0.03611428663134575, 0.020769214257597923, -0.032632336020469666, 0.011032004840672016, -0.01182812824845314, -0.027225691825151443, 0.027418162673711777, -0.019229456782341003, 0.04307818412780762, -0.0459127351641655, 0.008801107294857502, -0.023971207439899445, 0.030812624841928482, -0.08020731061697006, -0.02673576958477497, 0.004558028653264046, 0.016009967774152756, 0.0019301633583381772, -0.03453953564167023, 0.03978870436549187, 0.01694606803357601, -0.00941351056098938, 0.006832669023424387, 0.01628117449581623, 0.02881794050335884, -0.05389147251844406, -0.010734551586210728, -0.0022155868355184793, 0.0503920279443264, 0.028065558522939682, 0.031302548944950104, 0.029955260455608368, -0.030270211398601532, -0.04965714365243912, -0.06774928420782089, 0.04052358865737915, 0.0723685473203659, -0.010480841621756554, -0.03859889134764671, -0.025685936212539673, -0.033927131444215775, 0.000644663639832288, 0.01978936977684498, 0.013455371372401714, 0.020734218880534172, 0.0013494739541783929, -0.05767087638378143, 0.05469634756445885, 0.029640309512615204, 0.019211960956454277, 0.03107508271932602, 0.030007751658558846, 0.004033111967146397, 0.11940110474824905, 0.043253157287836075, 0.0036066167522221804, 0.061205316334962845, -0.07586799561977386, 0.006093410775065422, -0.011845625936985016, 0.018669545650482178, -0.016937321051955223, 0.010577076114714146, -0.053786490112543106, -0.011574418283998966, 0.005004208069294691, 0.005240420810878277, -0.032754816114902496, 0.06281506270170212, 0.04493289068341255, 0.020979180932044983, -0.007563178427517414, -0.031512513756752014, 0.012904208153486252, -0.025231007486581802, -0.001431492273695767, -0.006080287974327803, -0.021714065223932266, 0.04377807304263115, -0.00029499238007701933, -0.005026079714298248, -0.049797121435403824, -0.006246511824429035, -0.014321483671665192, -0.04139845073223114, -0.02649080939590931, -0.012230564840137959, -0.014496455900371075, -0.017357254400849342, 0.012501771561801434, 0.025895902886986732, 0.01749723218381405, -0.04255326837301254, -0.008346179500222206, 0.035256922245025635, 0.040838539600372314, -0.010918272659182549, 0.00004811738835996948, -0.014977630227804184, 0.04276323318481445, -0.014925138093531132, -0.022518936544656754, -0.0013680647825822234, 0.03222990036010742, -0.05319158360362053, 0.0006304471171461046, 0.001244490616954863, 0.015257585793733597, -0.05252669006586075, 0.03086511604487896, -0.04332314431667328, -0.0023052601609379053, 0.02006932534277439, -0.07299844920635223, 0.019981838762760162, 0.02661328949034214, 0.04230830445885658, 0.01615869253873825, 0.041013509035110474, -0.027890587225556374, 0.004890476353466511, 0.018774529919028282, -0.011093244887888432, 0.005774086341261864, -0.06701439619064331, 0.027208194136619568, 0.004649889189749956, 0.006277131848037243, -0.047382503747940063, -0.03268482908606529, 0.02323632314801216, 0.029955260455608368, -0.01359534915536642, -0.01949191652238369, -0.05319158360362053, -0.0657196044921875, 0.0602254718542099, 0.002427740953862667, -0.045877739787101746, 0.010367109440267086, -0.008608638308942318, 0.046507641673088074, 0.024898560717701912, 0.04776744171977043, -0.024391140788793564, 0.00011735448060790077, 0.0014544574078172445, 0.01553754135966301 ]
41,028
pyglove.core.symbolic.list
_set_item_without_permission_check
Set or add an item without permission check.
def _set_item_without_permission_check( # pytype: disable=signature-mismatch # overriding-parameter-type-checks self, key: int, value: Any) -> Optional[base.FieldUpdate]: """Set or add an item without permission check.""" assert isinstance(key, numbers.Integral), key index = key if index >= len(self): # Appending MISSING_VALUE is considered no-op. if value == pg_typing.MISSING_VALUE: return None index = len(self) should_insert = False if isinstance(value, Insertion): should_insert = True value = value.value old_value = pg_typing.MISSING_VALUE # Replace an existing value. if index < len(self) and not should_insert: old_value = list.__getitem__(self, index) # Generates no update as old value is the same as the new value. if old_value is value: return None new_value = self._formalized_value(index, value) if index < len(self): if should_insert: list.insert(self, index, new_value) else: list.__setitem__(self, index, new_value) # Detach old value from object tree. if isinstance(old_value, base.TopologyAware): old_value.sym_setparent(None) else: super().append(new_value) return base.FieldUpdate( self.sym_path + index, self, self._value_spec.element if self._value_spec else None, old_value, new_value)
(self, key: int, value: Any) -> Optional[pyglove.core.symbolic.base.FieldUpdate]
[ 0.05042051523923874, -0.007781171705573797, -0.06491086632013321, 0.0565197691321373, -0.006034566555172205, -0.0304038655012846, 0.011043349280953407, -0.0007606742437928915, 0.06901400536298752, -0.051011957228183746, -0.015562343411147594, 0.025875631719827652, 0.01999816671013832, -0.009144263342022896, 0.003047317499294877, 0.03005269728600979, 0.008996402844786644, 0.05847892537713051, 0.02931339293718338, -0.02339896373450756, 0.03319473937153816, 0.011043349280953407, 0.026596451178193092, 0.03665098175406456, -0.012549680657684803, 0.0008178547723218799, 0.035652924329042435, 0.03855469077825546, 0.044801805168390274, -0.008631370961666107, 0.03929399326443672, -0.008058411069214344, 0.02916553243994713, -0.0018609660910442472, 0.031050756573677063, -0.00728214206174016, -0.04003329575061798, 0.05722210928797722, -0.03740876913070679, -0.01981334015727043, 0.013566223904490471, -0.004107756540179253, 0.030644139274954796, -0.04276872053742409, 0.06513266265392303, 0.08849465847015381, 0.018889211118221283, 0.09078650176525116, 0.022567246109247208, -0.0017188811907544732, -0.019739409908652306, 0.06491086632013321, 0.03700215369462967, -0.02326958440244198, -0.05847892537713051, 0.03855469077825546, 0.0122539596632123, 0.018353214487433434, 0.047648124396800995, 0.017466051504015923, 0.022234560921788216, 0.032658740878105164, -0.057480864226818085, -0.09655306488275528, 0.004622958600521088, -0.005318366456776857, -0.020330853760242462, -0.022105181589722633, -0.006894007325172424, 0.03873951733112335, -0.03659553453326225, -0.01842714659869671, 0.013556982390582561, 0.021014709025621414, 0.008599027059972286, 0.0250439140945673, 0.004976438358426094, 0.031180135905742645, 0.03750118240714073, -0.021901873871684074, 0.04188155755400658, 0.02611590549349785, 0.037649042904376984, 0.023472893983125687, -0.03310232609510422, 0.08028838783502579, 0.026781277731060982, -0.0008952506468631327, 0.03970061242580414, -0.020774435251951218, -0.04528235271573067, -0.03313928842544556, -0.008959436789155006, -0.01688385009765625, 0.02737272158265114, 0.027391202747821808, 0.019739409908652306, -0.11082162708044052, -0.07770082354545593, 0.03679884225130081, 0.02624528296291828, 0.006565941497683525, 0.08191485702991486, -0.019221898168325424, 0.024064335972070694, -0.04428429529070854, 0.03657705336809158, -0.008049169555306435, -0.014231597073376179, -0.006418080534785986, 0.041548870503902435, 0.026744313538074493, -0.00554477795958519, 0.009620189666748047, -0.034969065338373184, 0.07108405232429504, -0.06468907743692398, -0.08420669287443161, 0.0278717502951622, 0.005919050425291061, -0.006995661649852991, -0.025820182636380196, -0.010239357128739357, 0.011218934319913387, 0.04554111137986183, -0.032436951994895935, -0.01999816671013832, 0.04095742851495743, 0.04324926808476448, -0.0225117988884449, -0.053008079528808594, -0.03665098175406456, -0.01964699663221836, 0.01886148750782013, -0.016504956409335136, -0.0009010264184325933, 0.013797256164252758, 0.01206913311034441, -0.04058777540922165, -0.010054530575871468, -0.018094459548592567, -0.0318639911711216, 0.06528051942586899, 0.03962668031454086, 0.03947881981730461, -0.03498755022883415, -0.04036598280072212, 0.06735057383775711, -0.001881759031675756, -0.003493210067972541, -0.05027265474200249, 0.018186872825026512, 0.017022468149662018, 0.027317272499203682, -0.015756411477923393, 0.042472999542951584, -0.012826919555664062, -0.05722210928797722, 0.025321153923869133, 0.004475098103284836, 0.026319213211536407, -0.024600332602858543, 0.04361892119050026, 0.009925153106451035, -0.014471870847046375, 0.04269479215145111, -0.0003638760535977781, -0.017918873578310013, -0.0018944658804684877, 0.06343226134777069, 0.04520842432975769, -0.0017362086800858378, 0.024397023022174835, 0.008026066236197948, -0.002237549051642418, 0.024544883519411087, -0.029387323185801506, -0.0152019327506423, 0.021033192053437233, -0.014989383518695831, -0.027243342250585556, 0.010026806965470314, 0.027594512328505516, -0.023472893983125687, 0.02214214764535427, 0.03447003662586212, -0.034599415957927704, 0.02753906510770321, 0.023288067430257797, 0.0787358507514, -0.020441748201847076, -0.023306550458073616, 0.05374738201498985, -0.04842439666390419, -0.0608077310025692, 0.015821099281311035, -0.023195654153823853, -0.012540440075099468, -0.021347396075725555, 0.024711227044463158, -0.01678219437599182, -0.047093648463487625, 0.0860549584031105, 0.04162279888987541, -0.048165637999773026, 0.016791436821222305, 0.03197488561272621, -0.006376494653522968, -0.024711227044463158, 0.009107298217713833, -0.0037126909010112286, 0.013621671125292778, -0.044801805168390274, -0.008733025752007961, -0.006418080534785986, -0.07160156965255737, -0.015063313767313957, -0.024637296795845032, -0.016292406246066093, 0.03517237678170204, 0.008099996484816074, -0.016671299934387207, -0.002675355412065983, -0.032252125442028046, 0.07947514951229095, 0.011172727681696415, -0.009971358813345432, -0.04543021321296692, -0.01055356115102768, 0.04254693165421486, 0.013917393051087856, 0.019702443853020668, -0.02570928819477558, -0.03633677959442139, -0.008594405837357044, -0.05914429947733879, 0.0023611513897776604, -0.08405883610248566, 0.006002222187817097, 0.0337677001953125, -0.01750301569700241, -0.009250538423657417, 0.022086698561906815, 0.0817669928073883, -0.03873951733112335, 0.05703728273510933, -0.007859722711145878, 0.026725830510258675, 0.012087616138160229, 0.0018297767965123057, 0.0230477936565876, 0.013020986691117287, -0.0393679253757, 0.02182794362306595, 0.013261260464787483, -0.0022352386731654406, -0.05115981772542, -0.023528341203927994, 0.0012521956814453006, 0.0016645885771140456, -0.0656871348619461, -0.01644950732588768, -0.01828852668404579, -0.04088349640369415, -0.03822200372815132, -0.04539325088262558, 0.03992240130901337, 0.08080589771270752, 0.0007624069694429636, 0.0879032164812088, -0.04735240340232849, -0.044801805168390274, 0.04483877122402191, -0.029054636135697365, 0.007628690451383591, 0.042805686593055725, 0.04088349640369415, 0.015349794179201126, -0.015525378286838531, -0.003888275707140565, 0.06875524669885635, -0.00037658284418284893, 0.015386759303510189, 0.02018299140036106, -0.029904836788773537, 0.00422558281570673, -0.007929032668471336, 0.06006842851638794, -0.05862678587436676, -0.00035059169749729335, 0.023491377010941505, 0.02931339293718338, -0.00879309419542551, 0.037796903401613235, 0.0014612800441682339, 0.021680081263184547, -0.067535400390625, -0.006085393950343132, 0.04520842432975769, -0.0018240009667351842, 0.0021416705567389727, 0.05456061661243439, -0.0640237033367157, 0.008599027059972286, 0.09965814650058746, -0.03683580830693245, 0.01968396268785, 0.001400056411512196, -0.021846424788236618, 0.040476880967617035, -0.0012637473409995437, 0.00675076711922884, -0.026504039764404297, 0.011690240353345871, 0.09707058221101761, -0.02232697233557701, -0.01153313834220171, 0.013760291039943695, -0.005567881278693676, 0.054264895617961884, -0.03193792328238487, -0.022068217396736145, -0.07673972845077515, 0.007716482970863581, -0.03785235062241554, -0.0565197691321373, 0.030256005004048347, 0.013390638865530491, -0.03410038352012634, 0.05481937155127525, -0.019369758665561676, -0.006981799844652414, -0.005369193386286497, 0.010590526275336742, -0.05160340294241905, 0.009463087655603886, 0.004073101561516523, -0.03058869205415249, 0.03201185166835785, 0.02057112567126751, -0.02857409045100212, 0.02288145013153553, -0.005198229569941759, -0.001788190915249288, 0.03214123100042343, -0.05293414741754532, 0.0500878281891346, 0.016662057489156723, 0.043692849576473236, -0.0029664563480764627, 0.03306536003947258, -0.009684879332780838, -0.03251088038086891, -0.026929138228297234, 0.05718514323234558, -0.051936086267232895, -0.013270501978695393, -0.048683151602745056, -0.002112791407853365, -0.053155940026044846, 0.08827286958694458, -0.007360693067312241, 0.005420020315796137, 0.031069239601492882, -0.037963248789310455, -0.012484991922974586, -0.029276428744196892, -0.06982723623514175, 0.009703361429274082, -0.03217819705605507, 0.0020584987942129374, -0.08405883610248566, 0.03267722576856613, 0.04347106069326401, 0.04975514113903046, 0.020497195422649384, -0.000798794615548104, 0.07614828646183014, -0.08265415579080582, -0.02630073018372059, 0.03750118240714073, -0.03197488561272621, -0.017715565860271454, 0.01927734538912773, 0.0202199574559927, 0.021310430020093918, 0.019074035808444023, 0.013048711232841015, 0.004549028351902962, -0.022585729137063026, -0.002751596039161086, 0.0042579276487231255, -0.0340079702436924, -0.0345439687371254, -0.029720010235905647, 0.020460231229662895, -0.0067831119522452354, -0.014083736576139927, -0.010137702338397503, -0.03552354499697685, 0.034229762852191925, -0.018750591203570366, 0.005064230412244797, 0.013797256164252758, 0.006145462393760681, -0.016357095912098885, -0.0334719754755497, 0.022955380380153656, -0.03463638201355934, 0.00018598110182210803, 0.02770540677011013, -0.03951578587293625, 0.027206378057599068, -0.018667420372366905, 0.03929399326443672, -0.0479438491165638, -0.001251040492206812, -0.02838926389813423, 0.0020330853294581175, 0.0035879334900528193, 0.007513174321502447, -0.00394834391772747, -0.0667591243982315, 0.048683151602745056, -0.0500878281891346, -0.04343409463763237, 0.01555310282856226, -0.025136327371001244, -0.03646615520119667, 0.027113964781165123, 0.016662057489156723, -0.04820260405540466, 0.0340079702436924, 0.0318639911711216, -0.04099439084529877, -0.022826002910733223, 0.029904836788773537, -0.031143169850111008, -0.030256005004048347, 0.03038538433611393, -0.03491361811757088, -0.011819618754088879, -0.0061916690319776535, 0.016320129856467247, 0.04306444153189659, 0.03286205232143402, -0.02753906510770321, 0.03981150686740875, 0.04088349640369415, 0.00002373497045482509, 0.06006842851638794, 0.04328623414039612, 0.04158583655953407, 0.045688971877098083, -0.03018207475543022, -0.05688942223787308, -0.11111735552549362, -0.053008079528808594, 0.028518641367554665, -0.005142781417816877, 0.023491377010941505, 0.04239907115697861, -0.04184459149837494, -0.05374738201498985, -0.004006102215498686, 0.047611162066459656, 0.0382959321141243, -0.007527036126703024, -0.01053507812321186, 0.004620648454874754, -0.021033192053437233, -0.07119494676589966, 0.011163486167788506, -0.01733667217195034, -0.05415399745106697, -0.00425099628046155, 0.06661126762628555, -0.03180854395031929, 0.008959436789155006, -0.03219667822122574, 0.05093802884221077, 0.006626009941101074, 0.013362915255129337, 0.029793940484523773, -0.02750209905207157, -0.04506056383252144, -0.015229657292366028, 0.009795774705708027, 0.027612995356321335, 0.03896130621433258, 0.017798736691474915, -0.06720270961523056, 0.008215513080358505, 0.018750591203570366, 0.007097315974533558, -0.04520842432975769, -0.04809170961380005, -0.03247391805052757, 0.04461698234081268, -0.014453387819230556, -0.0016749850474298, -0.010950936935842037, -0.009592466056346893, -0.02591259591281414, 0.024933017790317535, -0.03873951733112335, -0.01628316566348076, 0.01656964421272278, -0.0225117988884449, -0.025080880150198936, 0.028832845389842987, -0.0003690742887556553, 0.07770082354545593, -0.03491361811757088, 0.026374660432338715, 0.0335274264216423, -0.041216183453798294, -0.005336849018931389, 0.0030450073536485434, -0.030644139274954796, 0.030718069523572922, -0.040292054414749146, 0.02859257161617279, -0.05626101419329643, -0.0036041056737303734, -0.047795988619327545, -0.034044936299324036, -0.05293414741754532, 0.029720010235905647, -0.03058869205415249, -0.048720117658376694, 0.0040476880967617035, -0.0025274946819990873, -0.008497372269630432, 0.02790871635079384, 0.046576134860515594, 0.055299919098615646, 0.03840683028101921, -0.03506147861480713, -0.01323353685438633, 0.02249331586062908, 0.09270869195461273, 0.039552751928567886, -0.07544595003128052, 0.003451624419540167, -0.008594405837357044, -0.06572410464286804, -0.013353673741221428, -0.0018193803261965513, -0.04055080935359001, -0.0836152508854866, 0.02447095327079296, 0.05980967357754707, 0.0013885048683732748, 0.011311347596347332, -0.028537124395370483, 0.011394519358873367, 0.01706867478787899, 0.01686536706984043, 0.024618813768029213, -0.008964058011770248, -0.03365680202841759, 0.009620189666748047, -0.04957031458616257, 0.008192409761250019, -0.018704384565353394, -0.05164036527276039, -0.029368842020630836, 0.08834679424762726, 0.0063949772156775, -0.0026476315688341856, -0.026134386658668518, -0.005567881278693676, -0.01071990467607975, -0.04713061451911926, -0.02482212334871292, -0.020996225997805595, 0.0004828577511943877, -0.047795988619327545, -0.07725723832845688, -0.003209040267392993, 0.019092518836259842, 0.014250079169869423, -0.04036598280072212, 0.032252125442028046, -0.02325110323727131, 0.02467426285147667, 0.05134464427828789, -0.0447278767824173, 0.017484532669186592, 0.00034481589682400227, 0.00813234131783247, 0.018002046272158623, -0.027649959549307823, 0.0568154938519001, 0.026541003957390785, -0.06812684237957001, -0.03450700268149376, -0.01422235555946827, 0.04398857429623604, 0.02877739816904068, 0.03410038352012634, -0.018094459548592567, -0.02753906510770321, 0.01566399820148945, -0.003442383138462901, -0.03145737573504448, -0.030440831556916237, 0.0063118054531514645, -0.062286339700222015, 0.0037820006255060434, 0.015959719195961952, 0.010387217625975609, 0.031383443623781204, -0.014462629333138466, -0.024027371779084206, -0.007952135987579823, 0.03057020902633667, -0.0038420690689235926, -0.038887377828359604, -0.05518902465701103, 0.03273267298936844, -0.02964607998728752, -0.02036781795322895, -0.028500158339738846, -0.08472421020269394, 0.014887728728353977, 0.005678776651620865, -0.02234545536339283, -0.009888187982141972, -0.0012129201786592603, -0.014887728728353977, 0.000966870691627264, 0.06236027181148529, -0.0006503562326543033, 0.004590614233165979, -0.031512822955846786, 0.00031824715551920235, 0.06476300954818726, 0.06653733551502228, 0.039589714258909225, -0.0152019327506423, 0.003442383138462901, 0.022604212164878845, -0.02646707370877266, 0.02289993315935135, -0.0075963460840284824, -0.03093986213207245, -0.029276428744196892, 0.011754929088056087, -0.06428246200084686, -0.017558462917804718, -0.022234560921788216, -0.04879404604434967, 0.04055080935359001, 0.013695601373910904, -0.000023626675101695582, -0.06849648803472519, -0.03914613276720047, -0.025524461641907692, -0.01949913613498211, -0.032067298889160156, -0.010451906360685825, 0.022400902584195137, 0.026319213211536407, 0.025469014421105385, 0.015322069637477398, -0.04328623414039612, 0.07089922577142715, 0.055336885154247284, 0.024581849575042725, -0.06184275820851326, -0.06583499908447266, 0.07274749130010605, 0.021587669849395752, -0.056741561740636826, 0.016828401014208794, 0.030237523838877678, -0.003313004970550537, 0.016005925834178925, -0.013483052141964436, -0.028666501864790916, -0.03130951523780823, 0.0323999859392643, -0.029793940484523773, 0.04202941805124283, 0.010063772089779377, -0.001505176187492907, 0.01080307550728321, -0.08428062498569489, 0.018214596435427666, -0.04631737992167473, -0.010183908976614475, -0.010572043247520924, -0.03973757475614548, -0.039552751928567886, -0.03256633132696152, 0.03291749954223633, 0.03907220438122749, 0.059587880969047546, 0.01911100186407566, 0.0133998803794384, -0.005530916154384613, -0.03437762334942818, 0.005443123634904623, 0.0019984303507953882, -0.036447674036026, 0.014259320683777332, 0.020608091726899147, -0.014499594457447529, -0.018103700131177902, 0.06838559359312057, -0.025968043133616447, -0.08531565219163895, -0.006501252297312021, 0.0005397495115175843, 0.006944834720343351, -0.020645057782530785, -0.01859348826110363, -0.0017373637529090047, 0.020330853760242462, 0.01785418577492237, 0.010294804349541664, -0.06679609417915344, 0.022973863407969475, -0.04162279888987541, 0.0038998271338641644, -0.09921456128358841, -0.008247856982052326, 0.02750209905207157, 0.09056470543146133, 0.04665006697177887, 0.01772480644285679, -0.029442772269248962, 0.09721843898296356, -0.016116822138428688, -0.02110712230205536, 0.027982646599411964, -0.019092518836259842, 0.054671511054039, 0.025080880150198936, 0.04036598280072212, -0.003410038538277149, -0.01805749349296093, -0.01223547663539648, 0.003754276782274246, -0.024803640320897102, 0.016754470765590668, 0.002241014502942562, 0.024341575801372528, 0.012180029414594173, 0.01583034172654152, -0.00894557498395443, 0.07544595003128052, 0.08487206697463989, -0.023288067430257797, 0.014268562197685242, 0.07858798652887344, 0.029073119163513184, -0.026504039764404297, -0.049274593591690063, 0.015987442806363106, 0.0009270175942219794, -0.00697717908769846, -0.04613255336880684, 0.030773518607020378, -0.02217911183834076, 0.04735240340232849 ]
41,030
pyglove.core.symbolic.list
_sym_clone
Override Symbolic._clone.
def _sym_clone(self, deep: bool, memo=None) -> 'List': """Override Symbolic._clone.""" source = [] for v in self.sym_values(): if deep or isinstance(v, base.Symbolic): v = base.clone(v, deep, memo) source.append(v) return List( source, value_spec=self._value_spec, allow_partial=self._allow_partial, accessor_writable=self._accessor_writable, # NOTE(daiyip): parent and root_path are reset to empty # for copy object. root_path=None)
(self, deep: bool, memo=None) -> pyglove.core.symbolic.list.List
[ 0.02574876882135868, -0.07270648330450058, 0.05212133005261421, -0.012493178248405457, -0.06813200563192368, 0.016105975955724716, 0.005484175868332386, 0.028555836528539658, 0.05236391723155975, 0.008269582875072956, -0.01742287166416645, -0.007550488691776991, -0.006272580474615097, 0.01584606245160103, -0.018887052312493324, 0.010491843335330486, 0.031778763979673386, 0.001626625657081604, -0.053403571248054504, 0.023236270993947983, -0.0008014001068659127, 0.012224600650370121, -0.011696109548211098, -0.015274252742528915, -0.02041187696158886, 0.01774343103170395, 0.04532892256975174, 0.019250931218266487, -0.05284908786416054, 0.0022157630883157253, -0.013324901461601257, 0.027620146051049232, -0.02207532525062561, 0.015542830340564251, 0.05087374523282051, -0.026719113811850548, -0.044670477509498596, 0.06289908289909363, -0.03196936845779419, -0.023808080703020096, 0.03659582883119583, -0.026285924017429352, -0.01264912635087967, 0.0013093145098537207, 0.03060048818588257, 0.021104980260133743, -0.017587482929229736, 0.029023680835962296, 0.04834391921758652, -0.09093508869409561, -0.01777808740735054, 0.04678443819284439, -0.022057997062802315, -0.01570744253695011, -0.002144286874681711, 0.0028200619854032993, 0.05950287729501724, 0.010899041779339314, -0.0017002677777782083, 0.02396402880549431, -0.038917724043130875, -0.017076320946216583, -0.012744427658617496, -0.06861717998981476, -0.0029630144126713276, -0.053230296820402145, -0.03777410462498665, -0.027308249846100807, 0.03767013922333717, -0.0156467966735363, -0.03597203642129898, -0.03527893126010895, 0.015802744776010513, -0.018436534330248833, -0.0001892495492938906, -0.02432790771126747, 0.06740424782037735, -0.03794737905263901, 0.009174948558211327, -0.0688944160938263, -0.1143619641661644, 0.015508174896240234, -0.07492441684007645, 0.037704791873693466, -0.09239060431718826, 0.06452786922454834, 0.03805134445428848, 0.004778077360242605, 0.01730157807469368, 0.035868071019649506, 0.01155748963356018, 0.009798740968108177, -0.049522195011377335, 0.020169291645288467, -0.01923360303044319, -0.022941702976822853, -0.010041327215731144, -0.03825927525758743, 0.04193272069096565, 0.02332291007041931, 0.0038120653480291367, -0.026026010513305664, -0.11165886372327805, 0.04165547713637352, -0.005952020175755024, 0.025194287300109863, 0.017076320946216583, -0.019840067252516747, 0.0083995396271348, 0.006814066786319017, -0.060993045568466187, 0.10327231884002686, 0.028278594836592674, -0.02637256123125553, -0.003480675630271435, 0.02654583752155304, 0.006775079760700464, -0.0053065684624016285, 0.029491525143384933, -0.012328566052019596, -0.025090321898460388, 0.026909716427326202, 0.02450118400156498, 0.015620804391801357, 0.0024865062441676855, 0.09259853512048721, 0.03342488408088684, -0.021676789969205856, -0.04990340396761894, 0.02687506191432476, -0.020931703969836235, -0.001728425151668489, 0.014303909614682198, 0.07707303017377853, -0.00893236231058836, -0.01331623736768961, -0.009694775566458702, -0.009928697720170021, -0.015508174896240234, -0.03306100517511368, 0.01928558573126793, -0.015395546332001686, 0.0038423887453973293, 0.057492878288030624, -0.04962616041302681, -0.03262781351804733, -0.00823492743074894, 0.04390806332230568, -0.03763548284769058, 0.030149972066283226, -0.012935031205415726, 0.052606504410505295, -0.002508165780454874, 0.05943356454372406, -0.01715429499745369, 0.07825130969285965, -0.025315580889582634, -0.001928775105625391, -0.0037362573202699423, 0.04723495617508888, -0.04875978082418442, 0.003316063666716218, -0.0005450062453746796, -0.05409667268395424, -0.022127307951450348, -0.006276912521570921, 0.03475910425186157, -0.12150092422962189, -0.04044254869222641, 0.017916707322001457, -0.013862055726349354, -0.0650823563337326, 0.04557150974869728, 0.03181342035531998, 0.01733623445034027, 0.000608630885835737, 0.003125460585579276, 0.012692444957792759, -0.005375878885388374, -0.022612478584051132, -0.03371945023536682, -0.056661155074834824, -0.06726562976837158, 0.020359894260764122, 0.03905634209513664, 0.05863649770617485, -0.002538488944992423, 0.006246589124202728, 0.04307634010910988, 0.03898703306913376, -0.04571013152599335, 0.033112987875938416, 0.04397737234830856, -0.02162480726838112, -0.007637126371264458, -0.07936026901006699, -0.020273257046937943, 0.041794098913669586, -0.0722213089466095, 0.08227130025625229, -0.02290704846382141, -0.04324961453676224, 0.02061980776488781, -0.031328245997428894, -0.010405206121504307, 0.00995468907058239, -0.0277587678283453, -0.016556493937969208, 0.04220996052026749, 0.016972355544567108, 0.004635124932974577, 0.014139297418296337, 0.059329599142074585, 0.006406869273632765, -0.026303252205252647, 0.008455853909254074, -0.0504925400018692, -0.04193272069096565, 0.01475442573428154, -0.008941026404500008, 0.0036756107583642006, -0.027429543435573578, -0.09772749245166779, 0.006411200854927301, -0.02633790671825409, 0.014537831768393517, -0.03597203642129898, -0.023097651079297066, -0.01973610185086727, -0.015542830340564251, 0.00432539451867342, -0.06140890717506409, -0.028555836528539658, -0.03773944824934006, 0.031657472252845764, 0.021555498242378235, 0.023218944668769836, -0.007810402195900679, 0.011574816890060902, 0.04671512916684151, -0.06324563175439835, 0.014286581426858902, 0.030860401690006256, 0.032991692423820496, 0.016894381493330002, 0.022092651575803757, 0.00042560845031403005, 0.03371945023536682, 0.04629926756024361, -0.002167029306292534, 0.023236270993947983, -0.0013797078281641006, 0.0070263296365737915, 0.000473530002636835, 0.045432887971401215, -0.037704791873693466, -0.01469377987086773, 0.015057658776640892, 0.004535491578280926, -0.01742287166416645, 0.0014056991785764694, 0.023132305592298508, 0.019632136449217796, -0.02094903215765953, -0.0018399714026600122, -0.020689118653535843, -0.03241988271474838, 0.02867712825536728, -0.04373478889465332, 0.04692305997014046, 0.05679977685213089, -0.005848054774105549, -0.03832858428359032, 0.07741958647966385, -0.0004775911511387676, -0.000982798170298338, 0.0007288409397006035, 0.03403134644031525, -0.026389889419078827, -0.03496703505516052, 0.011670118197798729, 0.024605149403214455, 0.03427393361926079, -0.06203269958496094, -0.010795076377689838, 0.0156467966735363, 0.009148957207798958, -0.025142304599285126, -0.020897049456834793, -0.002412864239886403, 0.050180643796920776, 0.0667804554104805, 0.049140989780426025, -0.004678444005548954, 0.09121233224868774, 0.05125495418906212, -0.041759442538022995, 0.043007031083106995, -0.028330577537417412, 0.05530960485339165, -0.006406869273632765, 0.007021998055279255, 0.025818079710006714, 0.028694456443190575, 0.0011392877204343677, -0.05621063709259033, 0.025852734223008156, 0.01916429214179516, 0.025939373299479485, 0.028989024460315704, 0.04241789132356644, 0.032662469893693924, -0.003348552854731679, 0.05877511948347092, -0.01715429499745369, -0.049556851387023926, -0.022803083062171936, -0.0555175356566906, 0.06695373356342316, 0.04220996052026749, -0.062171321362257004, -0.021503515541553497, -0.04512099176645279, -0.017578819766640663, 0.014303909614682198, 0.0044531854800879955, 0.026909716427326202, 0.009235595352947712, -0.008620466105639935, -0.0012573318090289831, 0.000372272013919428, -0.005856718868017197, 0.017639465630054474, 0.048482540994882584, 0.035244278609752655, 0.0018800413236021996, 0.01798601821064949, -0.020394550636410713, -0.055067017674446106, -0.10507438331842422, 0.03160548955202103, 0.01608864963054657, -0.0041586169973015785, -0.041343580931425095, -0.031449541449546814, -0.012311238795518875, 0.026528509333729744, 0.035625483840703964, -0.014910373836755753, 0.026181958615779877, 0.0055838096886873245, 0.010751757770776749, -0.009408870711922646, 0.03190005570650101, 0.05284908786416054, 0.023357564583420753, -0.06397338956594467, -0.010127964429557323, -0.04865581542253494, -0.08254854381084442, 0.0684785544872284, 0.0248304083943367, 0.008789409883320332, -0.013654124923050404, 0.06012666970491409, -0.032575830817222595, -0.03947220370173454, 0.006701437756419182, -0.0035413221921771765, -0.04515564814209938, -0.07506303489208221, -0.011704773642122746, -0.011886713095009327, -0.08525164425373077, -0.03238523006439209, -0.005384542513638735, -0.015690114349126816, -0.021001014858484268, -0.024189287796616554, -0.003040988463908434, 0.07416199892759323, -0.023842737078666687, -0.010864386335015297, -0.007316566538065672, 0.03540022671222687, 0.016348563134670258, 0.0776275172829628, 0.0030539841391146183, 0.08899439871311188, -0.0007093474268913269, -0.04529426991939545, -0.01886972412467003, 0.008577147498726845, 0.07520165294408798, -0.0010407371446490288, -0.022023342549800873, 0.040546514093875885, 0.004990340210497379, -0.08455853909254074, -0.003907367121428251, 0.03701169043779373, -0.021728772670030594, -0.00008176446863217279, -0.002402034355327487, -0.041759442538022995, -0.04733892157673836, 0.016695113852620125, 0.02044653333723545, -0.017015673220157623, -0.018557827919721603, 0.039749447256326675, -0.01949351653456688, 0.03363281488418579, -0.039298929274082184, 0.0396454818546772, 0.004288573749363422, 0.014719771221280098, -0.012224600650370121, 0.04286840930581093, 0.005991007201373577, 0.04065047949552536, -0.049106333404779434, -0.029699455946683884, 0.020585153251886368, 0.017466191202402115, 0.03559082746505737, -0.007078312337398529, 0.05492839589715004, -0.032575830817222595, -0.01727558672428131, 0.0028590490110218525, 0.0331822969019413, 0.0006714433548040688, 0.002195186447352171, 0.014607141725718975, -0.043388236314058304, 0.022352565079927444, -0.050561849027872086, -0.03663048520684242, 0.05822063609957695, 0.012467186897993088, 0.01204266119748354, -0.007082644384354353, -0.018627138808369637, 0.022439204156398773, 0.06276045739650726, 0.011444860137999058, 0.03884841129183769, -0.028070664033293724, -0.0044098664075136185, 0.008364884182810783, -0.01748351752758026, 0.07568682730197906, -0.031328245997428894, -0.044012028723955154, 0.022924374788999557, 0.01517028734087944, -0.01869644783437252, -0.025904716923832893, -0.004834392108023167, 0.04879443719983101, 0.03985341265797615, 0.05572546645998955, -0.027429543435573578, -0.023860063403844833, -0.03978409990668297, 0.014615805819630623, 0.02044653333723545, 0.035122983157634735, 0.0008788327104412019, 0.04269513115286827, 0.002880708547309041, 0.0016569489380344748, -0.04737357795238495, -0.0004775911511387676, -0.0015183283248916268, -0.03169212490320206, -0.03690772503614426, -0.07547889649868011, -0.05780477449297905, -0.0830337181687355, -0.06421597301959991, 0.00851650070399046, -0.030115317553281784, 0.005159283988177776, -0.005635792389512062, 0.03864048048853874, -0.000915653770789504, -0.028347905725240707, 0.02391204610466957, -0.02061980776488781, 0.04044254869222641, -0.06251787394285202, 0.02791471593081951, -0.01041386928409338, 0.022733772173523903, -0.023305581882596016, 0.018211277201771736, 0.04796271398663521, -0.012562488205730915, -0.040130652487277985, 0.010231929831206799, 0.025194287300109863, 0.08400405943393707, -0.004808400757610798, 0.022006014361977577, -0.015213606879115105, -0.015014339238405228, -0.03957616910338402, -0.011089645326137543, 0.02249118685722351, -0.02311497926712036, 0.000355215190211311, -0.003968013450503349, 0.0007900288910605013, -0.026701785624027252, -0.039298929274082184, -0.01364546176046133, -0.0058350590988993645, -0.048933058977127075, 0.020931703969836235, -0.031362902373075485, -0.028902387246489525, -0.08850923180580139, 0.009122965857386589, -0.03760082647204399, -0.07111234962940216, 0.013428866863250732, 0.02767212875187397, -0.037878070026636124, 0.029491525143384933, -0.006887709256261587, -0.025315580889582634, 0.027828076854348183, -0.002282907487824559, 0.01611464098095894, 0.0342392772436142, 0.014979684725403786, -0.025887390598654747, 0.02278575487434864, -0.03652651980519295, 0.04193272069096565, -0.008841392584145069, -0.005115964915603399, -0.02370411530137062, 0.05541357025504112, -0.005284908693283796, -0.01944153383374214, -0.02003067173063755, -0.022855065762996674, 0.04473978653550148, -0.0026251268573105335, -0.012371884658932686, -0.012025333940982819, 0.012137962505221367, -0.02678842283785343, 0.04106634110212326, -0.017639465630054474, -0.012597143650054932, -0.0022287587635219097, 0.059745460748672485, 0.007355553563684225, 0.022612478584051132, -0.09239060431718826, -0.0034698459785431623, 0.013593479059636593, -0.04044254869222641, 0.03222928196191788, -0.005566481966525316, 0.008499173447489738, 0.027394888922572136, 0.012952358461916447, 0.06813200563192368, 0.03306100517511368, 0.042002029716968536, 0.0019764259923249483, 0.04169013351202011, 0.011921368539333344, 0.004269080236554146, -0.03054850548505783, 0.01724093221127987, -0.014572486281394958, -0.014182616025209427, 0.001391620491631329, -0.007810402195900679, 0.027031010016798973, 0.010214602574706078, 0.018124638125300407, 0.010821067728102207, -0.02891971543431282, 0.013966021127998829, 0.07041924446821213, -0.014243262819945812, -0.030236609280109406, -0.0855288878083229, -0.04023461788892746, -0.10334163159132004, 0.022006014361977577, -0.008733095601201057, 0.036214619874954224, 0.008377879858016968, 0.020897049456834793, 0.03898703306913376, -0.002306732814759016, -0.014615805819630623, -0.02224859967827797, 0.023686788976192474, -0.035365570336580276, 0.05652253329753876, 0.0032662469893693924, -0.012120635248720646, 0.006250921171158552, 0.023149633780121803, -0.09821266680955887, -0.015560157597064972, 0.015040330588817596, -0.019216274842619896, 0.015664122998714447, -0.0067317611537873745, 0.002607799367979169, -0.0701073482632637, -0.02249118685722351, -0.039541516453027725, 0.02470911480486393, -0.06598338484764099, 0.00264028855599463, -0.026909716427326202, 0.0918361246585846, -0.02770678512752056, -0.034325916320085526, -0.003073477651923895, 0.007593807764351368, -0.015239598229527473, 0.051566850394010544, -0.003157949773594737, -0.007637126371264458, 0.005345555488020182, -0.025610148906707764, 0.011652790941298008, 0.0972423255443573, 0.007559152320027351, -0.041135650128126144, -0.015066321939229965, 0.04886374622583389, -0.09086577594280243, -0.03339022770524025, 0.0033615485299378633, -0.035868071019649506, -0.004830060061067343, -0.0023348901886492968, -0.027568163350224495, 0.008529496379196644, -0.03981875628232956, 0.03072178177535534, 0.047685474157333374, 0.04151685908436775, -0.008204604499042034, -0.0302539374679327, 0.049972712993621826, -0.01789937913417816, -0.007749755866825581, -0.004394704941660166, -0.01487571932375431, -0.013766754418611526, 0.014078650623559952, 0.04702702537178993, 0.015005676075816154, 0.0026922712568193674, 0.05413132905960083, 0.01093369722366333, -0.036041345447301865, -0.05004202201962471, -0.06064649671316147, 0.05880977213382721, -0.04328427091240883, 0.028365232050418854, -0.0117914117872715, 0.0646664947271347, 0.01923360303044319, 0.02755083702504635, -0.009989344514906406, -0.053854089230298996, 0.026996353641152382, -0.011314903385937214, -0.02633790671825409, 0.06896372884511948, 0.026944370940327644, 0.03898703306913376, -0.031657472252845764, -0.031865403056144714, -0.039333585649728775, -0.01225059200078249, 0.02938755974173546, 0.026528509333729744, -0.03162281587719917, 0.06002270430326462, -0.047269612550735474, -0.07034993171691895, 0.0504925400018692, 0.027654802426695824, -0.011306239292025566, 0.027620146051049232, 0.013394211418926716, 0.020758429542183876, 0.08448923379182816, -0.03812065348029137, -0.00933089666068554, -0.000575058744288981, -0.012536496855318546, 0.054651156067848206, 0.030375231057405472, -0.0034113654401153326, -0.0061772787012159824, -0.030947040766477585, 0.021711446344852448, -0.04962616041302681, 0.03342488408088684, -0.03978409990668297, 0.011479515582323074, 0.033078331500291824, 0.03680375963449478, -0.04453185573220253, 0.05350753664970398, 0.04692305997014046, 0.010344559326767921, 0.04390806332230568, 0.006034326273947954, 0.033788762986660004, 0.030531179159879684, -0.004204101860523224, 0.007164950482547283, 0.05011133477091789, 0.01496235653758049, 0.00757648004218936, -0.009486844763159752, -0.012917703948915005, 0.005319564137607813, 0.06563683599233627, -0.036873068660497665, 0.07443924248218536, -0.015248261392116547, -0.011678782291710377, -0.007208269089460373, 0.09412336349487305, -0.06029994413256645, -0.0227511003613472, -0.01878308691084385, -0.0194068793207407, 0.03572944924235344, -0.05250253900885582, -0.01183473039418459, 0.0071952734142541885, 0.020637135952711105, -0.008416866883635521, -0.008551156148314476, 0.004134791437536478, -0.05537891387939453, -0.015889381989836693, -0.03481108695268631, -0.03663048520684242, -0.013454858213663101, -0.028815750032663345, -0.007117299363017082, 0.07866717129945755, -0.0064978390000760555, 0.0003657741763163358, 0.020429205149412155, -0.0018529670778661966 ]
41,031
pyglove.core.symbolic.list
_sym_getattr
Gets symbolic attribute by index.
def _sym_getattr(self, key: int) -> Any: # pytype: disable=signature-mismatch # overriding-parameter-type-checks """Gets symbolic attribute by index.""" return super().__getitem__(key)
(self, key: int) -> Any
[ 0.05969840660691261, -0.06582219898700714, -0.001056802924722433, 0.029866307973861694, 0.03436506912112236, -0.019158227369189262, 0.029113663360476494, -0.004284942988306284, 0.025059645995497704, -0.0369822196662426, -0.006547152996063232, 0.009536350145936012, 0.06291425228118896, 0.0062093185260891914, -0.027933379635214806, 0.030807113274931908, 0.02049246057868004, 0.06428269296884537, -0.02281881682574749, 0.036605898290872574, -0.019004277884960175, 0.02907945215702057, -0.015318029560148716, -0.05251406878232956, -0.011392302811145782, 0.06859329342842102, 0.053711459040641785, 0.010947558097541332, 0.07553815096616745, -0.09538060426712036, -0.045056045055389404, 0.004485933110117912, 0.021125366911292076, 0.04402971267700195, 0.00634188624098897, -0.03195318579673767, -0.01432590652257204, 0.036879587918519974, 0.024649111554026604, 0.01038307510316372, 0.04922980070114136, -0.017960838973522186, 0.07416971027851105, -0.0886068046092987, -0.011229800060391426, -0.014591042883694172, -0.05559306964278221, 0.007804411929100752, 0.014283142983913422, -0.05059824511408806, 0.00026232979143969715, -0.019277965649962425, 0.030755797401070595, -0.02033851109445095, -0.011691650375723839, 0.026103084906935692, -0.014291695319116116, 0.03636642172932625, 0.00022451046970672905, 0.042079679667949677, -0.019277965649962425, -0.04320864379405975, -0.03965068981051445, -0.013530498370528221, 0.022989872843027115, -0.07184335589408875, 0.0014090705662965775, 0.030225524678826332, -0.012846275232732296, -0.030687374994158745, 0.027522847056388855, -0.009810038842260838, -0.04639028012752533, -0.0434139110147953, -0.00400270102545619, -0.06575377285480499, -0.007406707387417555, -0.04940085858106613, 0.039753321558237076, -0.015172631479799747, -0.048887692391872406, -0.013008778914809227, -0.03691379725933075, 0.0037183212116360664, -0.09148053824901581, 0.003498086938634515, 0.05754310265183449, -0.052685126662254333, -0.05340356007218361, 0.02564123459160328, -0.04543236643075943, 0.02776232361793518, -0.0358874648809433, 0.03037947416305542, -0.010075175203382969, -0.03381769359111786, 0.054874636232852936, -0.029712358489632607, 0.060177359730005264, -0.026291245594620705, 0.03376637399196625, -0.02502543479204178, -0.01408642902970314, 0.02268197201192379, -0.0202700886875391, -0.0013502701185643673, -0.022528022527694702, -0.022528022527694702, -0.01746477745473385, -0.004116025287657976, -0.028361018747091293, 0.0393085777759552, 0.01958586648106575, -0.021039839833974838, -0.012623903341591358, 0.02974656969308853, -0.007107360288500786, -0.006162277888506651, 0.009459374472498894, 0.021809589117765427, 0.011948233470320702, 0.022237228229641914, -0.023554356768727303, 0.006016880739480257, 0.03277425467967987, 0.055353593081235886, -0.0357506200671196, 0.017892416566610336, 0.03085843101143837, 0.04639028012752533, -0.00035494036274030805, -0.009698852896690369, 0.01572856307029724, 0.10304389148950577, 0.0013630993198603392, 0.03828224539756775, 0.052685126662254333, 0.05070088058710098, -0.04481656849384308, 0.013350890018045902, 0.036605898290872574, -0.029917623847723007, -0.004498762544244528, -0.0005420324159786105, -0.02783074602484703, 0.0033163405023515224, -0.006825118325650692, 0.028703130781650543, -0.02233986184000969, -0.02124510519206524, -0.024375423789024353, 0.05815890431404114, -0.010408733040094376, 0.030003152787685394, 0.01718253456056118, 0.031645286828279495, -0.03544272109866142, 0.02962682954967022, -0.020321404561400414, -0.020184561610221863, -0.033424265682697296, -0.004039050545543432, -0.04632185772061348, -0.12124420702457428, 0.004344812128692865, 0.029301824048161507, 0.0049691651947796345, -0.03044789656996727, 0.009818591177463531, 0.011127166450023651, -0.061066851019859314, -0.009544902481138706, -0.017755571752786636, -0.012666666880249977, 0.04413234442472458, 0.023725412786006927, -0.03154265135526657, 0.0443718247115612, 0.059972092509269714, -0.023263562470674515, 0.0035045016556978226, -0.05052982643246651, -0.09934909641742706, -0.045398157089948654, 0.019089804962277412, 0.09476480633020401, 0.008095206692814827, 0.0075734867714345455, 0.019089804962277412, 0.04331127926707268, -0.00042656989535316825, 0.012008103542029858, 0.03345847502350807, -0.01408642902970314, -0.007919874042272568, -0.0353400856256485, -0.01737924851477146, 0.03244924917817116, -0.03516903147101402, 0.0708170160651207, 0.03910331055521965, 0.005721809808164835, -0.046356067061424255, 0.09674904495477676, -0.04324285686016083, -0.03404006361961365, 0.06424848735332489, -0.013761423528194427, -0.0417717769742012, 0.00900607742369175, -0.01835426688194275, -0.015908170491456985, 0.030396580696105957, -0.02186090499162674, -0.015104210004210472, 0.04084807634353638, -0.011948233470320702, -0.010117938742041588, 0.0413612462580204, 0.028566285967826843, 0.07581184059381485, -0.015010128729045391, 0.029182085767388344, -0.009972541593015194, 0.046356067061424255, -0.04303758963942528, 0.0036520371213555336, -0.003519468940794468, -0.07252757251262665, 0.0016079226043075323, 0.030841324478387833, 0.004772451240569353, 0.04392707720398903, -0.0012968152295798063, 0.010092280805110931, -0.018884537741541862, 0.01944902166724205, 0.04290074482560158, 0.04810083657503128, 0.025110961869359016, -0.018508216366171837, 0.06151159480214119, 0.002920774510130286, 0.06660905480384827, -0.055216748267412186, 0.019466128200292587, 0.03551114350557327, 0.06496691703796387, -0.026975467801094055, -0.013607473112642765, 0.04686923325061798, -0.013855503872036934, 0.023331984877586365, 0.018713483586907387, 0.008462975732982159, -0.03746117651462555, -0.09401215612888336, -0.003292820416390896, -0.002114674774929881, -0.04851136729121208, -0.0717749297618866, 0.02562412992119789, -0.036811165511608124, -0.04071123152971268, 0.011264011263847351, 0.013367995619773865, 0.044577088207006454, 0.04645870253443718, -0.024101734161376953, 0.0343821756541729, -0.031029487028717995, -0.000967533269431442, -0.04495341330766678, 0.03592167794704437, 0.026547828689217567, 0.06277740746736526, 0.04950349032878876, 0.06301688402891159, -0.012230475433170795, -0.019688500091433525, 0.008424488827586174, 0.008711006492376328, -0.028429441154003143, 0.013684447854757309, -0.04153230041265488, 0.01725095696747303, 0.018867433071136475, -0.015788432210683823, 0.0196542888879776, -0.016250282526016235, 0.09319109469652176, 0.046766601502895355, 0.04337970167398453, -0.0032693000975996256, 0.061545804142951965, 0.012435742653906345, -0.0434139110147953, 0.012487058527767658, 0.037632230669260025, 0.01705424301326275, -0.008668242953717709, 0.029661040753126144, -0.039205942302942276, 0.0049306778237223625, 0.004443169105798006, 0.00554647808894515, 0.05579833686351776, 0.04964033514261246, -0.019072700291872025, 0.03126896545290947, 0.004473104141652584, 0.013958137482404709, -0.018918748944997787, 0.025726761668920517, -0.023691201582551003, -0.04957191273570061, -0.064385324716568, 0.036469053477048874, 0.028549179434776306, 0.12295476347208023, -0.026103084906935692, -0.006940580904483795, -0.03332163020968437, -0.04375602304935455, 0.017293721437454224, 0.01869637705385685, -0.016797659918665886, -0.06695116311311722, -0.010212019085884094, 0.008411658927798271, 0.004498762544244528, -0.0016357192071154714, -0.01388116180896759, -0.020731939002871513, -0.005751744378358126, 0.036332208663225174, -0.0009996062144637108, 0.03431375324726105, -0.025110961869359016, -0.019962187856435776, -0.027437318116426468, -0.038795411586761475, 0.013556156307458878, -0.017011480405926704, 0.003641346003860235, -0.029301824048161507, 0.03272293508052826, 0.011734413914382458, 0.009476480074226856, -0.027454424649477005, 0.018320055678486824, -0.04741661250591278, 0.0007130880258046091, 0.02919919043779373, 0.01835426688194275, 0.00704321451485157, -0.009613324888050556, 0.0017618726706132293, -0.022083278745412827, 0.0072057172656059265, 0.0364348441362381, 0.0015437768306583166, -0.046356067061424255, -0.033646635711193085, -0.002677020151168108, -0.04447445645928383, -0.042079679667949677, 0.011281116865575314, 0.018251633271574974, -0.048545580357313156, -0.05104299262166023, -0.01013504434376955, -0.0349295549094677, 0.010212019085884094, -0.010639658197760582, 0.008296196348965168, 0.021553006023168564, 0.003547265427187085, -0.00329923490062356, -0.04666396975517273, 0.04019806534051895, -0.032876886427402496, 0.033578213304281235, 0.0857330709695816, -0.0002478969981893897, -0.015454873442649841, -0.01835426688194275, -0.0405401773750782, 0.03277425467967987, 0.04303758963942528, -0.016823317855596542, -0.047040291130542755, -0.03113211877644062, 0.03896646574139595, 0.007530722767114639, -0.03664011135697365, 0.03691379725933075, -0.05918523669242859, -0.047108713537454605, -0.02839522995054722, -0.008835021406412125, 0.015412109903991222, -0.03527166321873665, 0.0175331998616457, 0.008997525088489056, 0.0031367321498692036, 0.018730588257312775, 0.02562412992119789, -0.04184019938111305, -0.022288544103503227, -0.05107720196247101, 0.0782066211104393, -0.005995498970150948, -0.04481656849384308, 0.04652712494134903, -0.009792933240532875, 0.054053571075201035, 0.03132028132677078, -0.004875084850937128, 0.023930678144097328, 0.01595093496143818, -0.08634886890649796, -0.014967365190386772, -0.008202116005122662, -0.0016891740961000323, -0.0032008779235184193, 0.0037183212116360664, 0.01855953224003315, -0.03564798831939697, 0.06527481973171234, -0.022322755306959152, -0.011486384086310863, -0.013462075963616371, 0.0049691651947796345, 0.01426603738218546, -0.033509790897369385, -0.03978753462433815, -0.06568535417318344, -0.015831196680665016, -0.0024140221066772938, 0.007842899300158024, 0.05107720196247101, -0.006149448920041323, 0.026239929720759392, -0.02199774980545044, -0.044645510613918304, 0.018816115334630013, 0.069585420191288, 0.03622957691550255, -0.08566464483737946, -0.015583164989948273, -0.015181184746325016, 0.053643036633729935, -0.018251633271574974, 0.015104210004210472, -0.01799505017697811, -0.030003152787685394, -0.025470178574323654, 0.039342787116765976, 0.000513701350428164, -0.028822869062423706, 0.03510060906410217, -0.02700967900454998, -0.08634886890649796, -0.042079679667949677, 0.04823768138885498, -0.005277065094560385, -0.013367995619773865, 0.0033847626764327288, 0.012410083785653114, 0.011264011263847351, -0.007872833870351315, -0.019688500091433525, -0.06366689503192902, -0.037563808262348175, 0.015891065821051598, -0.031115014106035233, 0.016233175992965698, -0.0369822196662426, -0.07211703807115555, -0.025196490809321404, -0.04929822310805321, -0.0023455999325960875, -0.027368895709514618, 0.00725275743752718, 0.025829395279288292, 0.010348863899707794, 0.04522709921002388, -0.0405401773750782, -0.015061445534229279, 0.02707810141146183, 0.08019086718559265, 0.031303174793720245, 0.04878505691885948, 0.05651677027344704, 0.04101913422346115, -0.00036108767380937934, 0.009801485575735569, 0.020287195220589638, -0.0027475806418806314, -0.03551114350557327, -0.047929778695106506, 0.03882962092757225, 0.0361611545085907, 0.0021189511753618717, 0.027026785537600517, -0.03828224539756775, 0.0102034667506814, 0.0219122227281332, -0.0741012841463089, 0.02069772779941559, 0.005978393368422985, 0.029797885566949844, -0.011409408412873745, 0.059903670102357864, -0.010075175203382969, -0.0205437783151865, -0.036058519035577774, -0.009048840962350368, 0.039890166372060776, 0.05620887130498886, -0.061477381736040115, -0.04310601204633713, -0.031508442014455795, 0.018576638773083687, -0.014223272912204266, -0.04372180998325348, -0.004999099764972925, 0.005880036391317844, 0.010212019085884094, -0.012940356507897377, 0.03190186992287636, -0.0386243537068367, 0.03773486614227295, 0.0033569661900401115, 0.02482016757130623, 0.014736440032720566, 0.016438443213701248, 0.0012080802116543055, 0.0401296429336071, -0.003754670498892665, -0.006483007222414017, -0.0004177498631179333, -0.04591132327914238, 0.023725412786006927, -0.029712358489632607, -0.08196984231472015, -0.021330634132027626, 0.02837812341749668, -0.006559982430189848, -0.010306100361049175, 0.04467972368001938, 0.02117668278515339, -0.05097457021474838, 0.03277425467967987, 0.003930002450942993, -0.003498086938634515, -0.03400585427880287, -0.04317443445324898, 0.02707810141146183, 0.03523745387792587, -0.02461490035057068, 0.05032455921173096, -0.05049561336636543, -0.0399927981197834, 0.02254512906074524, 0.003964213654398918, -0.025521496310830116, 0.008368895389139652, -0.05032455921173096, -0.024375423789024353, -0.019671393558382988, 0.024443846195936203, 0.026992574334144592, 0.026753095909953117, 0.013547603972256184, 0.00005455738210002892, -0.023828044533729553, -0.02425568364560604, -0.027368895709514618, 0.05005086958408356, 0.03303083777427673, 0.0005650180391967297, 0.020099032670259476, 0.014719334430992603, -0.016455549746751785, 0.05333513766527176, -0.005542201455682516, -0.017011480405926704, -0.06955120712518692, -0.04803241416811943, -0.10023858398199081, -0.030122891068458557, -0.008189287036657333, 0.00690636970102787, 0.047245558351278305, -0.0887436494231224, 0.0338347963988781, -0.009271213784813881, -0.008574161678552628, 0.03937700018286705, -0.016677921637892723, 0.042079679667949677, 0.014077875763177872, 0.020184561610221863, 0.046150799840688705, 0.060451049357652664, 0.007988296449184418, 0.00544812111184001, -0.042319156229496, -0.034672971814870834, -0.018371371552348137, -0.001056802924722433, 0.018337160348892212, -0.008740941062569618, 0.004819491412490606, 0.010434391908347607, 0.06185370683670044, -0.007077425718307495, -0.008954760618507862, -0.0690380409359932, 0.026787307113409042, -0.04098492115736008, 0.024478057399392128, -0.02521359547972679, 0.036742743104696274, 0.07868557423353195, 0.04283232241868973, 0.0014561108546331525, -0.005076074972748756, -0.009442268870770931, 0.015976592898368835, 0.06000630557537079, 0.005396804306656122, -0.02521359547972679, -0.016181860119104385, 0.053779881447553635, 0.011084402911365032, -0.033646635711193085, 0.11118613928556442, -0.0009130092803388834, 0.010656763799488544, -0.03773486614227295, 0.04433761164546013, -0.00278392992913723, 0.0379401333630085, -0.03265451267361641, -0.012469952926039696, 0.026701780036091805, 0.011537699960172176, -0.05182984843850136, -0.04509025812149048, -0.05456673726439476, -0.012085078284144402, 0.032141346484422684, -0.046287644654512405, -0.01758451573550701, -0.052479859441518784, 0.005046140402555466, -0.017772676423192024, -0.03390321880578995, -0.013821292668581009, -0.053232502192258835, -0.005533648654818535, -0.025812290608882904, -0.04946928098797798, -0.031234752386808395, -0.05679045990109444, 0.047382403165102005, -0.0341084860265255, 0.060930006206035614, 0.0007611974142491817, -0.008390277624130249, -0.016104884445667267, -0.018166104331612587, 0.0439612902700901, 0.053232502192258835, 0.006641233805567026, 0.05658519268035889, -0.01188836432993412, 0.018850326538085938, -0.02473464049398899, 0.001511703827418387, 0.038795411586761475, -0.04105334356427193, -0.011965339072048664, 0.03910331055521965, 0.021279316395521164, 0.009177133440971375, -0.09319109469652176, -0.014351565390825272, -0.054532524198293686, 0.017233852297067642, 0.0073126270435750484, -0.05224037915468216, -0.030191313475370407, -0.02165563963353634, 0.0003025546029675752, 0.05121404677629471, 0.021159578114748, -0.008685348555445671, -0.004387576133012772, 0.027659690007567406, -0.002296421444043517, -0.005349764134734869, -0.009544902481138706, 0.006731037981808186, -0.013915373012423515, -0.030550530180335045, -0.010306100361049175, -0.024358317255973816, -0.06075894832611084, 0.0002043312560999766, -0.027796534821391106, 0.0723223090171814, -0.005469502881169319, -0.06472744047641754, 0.0031837723217904568, -0.030499214306473732, 0.0704064890742302, 0.0034510467667132616, -0.029045240953564644, 0.04597974568605423, 0.070680171251297, -0.019192438572645187, 0.006115237716585398, 0.015181184746325016, 0.029182085767388344, -0.02818996272981167, 0.068216972053051, 0.051932480186223984, -0.02377672865986824, 0.02391357347369194, 0.002079394645988941, -0.00007918003393569961, 0.016207518056035042, 0.0011236214777454734, -0.020304299890995026, 0.032209768891334534, 0.0799855962395668, -0.02928471937775612, 0.09278056025505066, -0.06205897405743599, 0.030550530180335045, 0.03320189192891121, 0.03304794058203697, -0.054600946605205536, 0.03477560356259346, 0.04563763365149498, -0.030961064621806145, 0.004704028833657503, 0.052137747406959534, 0.022356966510415077, 0.01710556074976921, 0.033920325338840485, -0.02653072401881218, 0.00432984484359622, -0.0027347514405846596, 0.030413685366511345, -0.000333023868734017, -0.04673239216208458, 0.014009453356266022, -0.09647536277770996, 0.0738275945186615, -0.04249021038413048, -0.022083278745412827, -0.006919199135154486, 0.013034436851739883 ]
41,033
pyglove.core.symbolic.list
_sym_missing
Returns missing fields.
def _sym_missing(self) -> Dict[Any, Any]: """Returns missing fields.""" missing = dict() for idx, elem in self.sym_items(): if isinstance(elem, base.Symbolic): missing_child = elem.sym_missing(flatten=False) if missing_child: missing[idx] = missing_child return missing
(self) -> Dict[Any, Any]
[ 0.047558948397636414, -0.03084716573357582, 0.03338874876499176, 0.04801155999302864, -0.01273403037339449, -0.01789553463459015, 0.016346212476491928, -0.03173498064279556, 0.06068466231226921, 0.0015134173445403576, 0.0017767149256542325, -0.02581622265279293, 0.02882782556116581, -0.04184908792376518, -0.03826301917433739, -0.0027591849211603403, -0.003464213339611888, 0.09456083923578262, 0.011915849521756172, -0.041744641959667206, -0.01869630627334118, 0.010044477880001068, -0.026234017685055733, 0.03452027589082718, -0.029941944405436516, -0.00036611425457522273, 0.05097093805670738, -0.022021254524588585, 0.012516428716480732, -0.026094751432538033, -0.034955479204654694, 0.003596950089558959, 0.0147533705458045, -0.018452594056725502, 0.00912184827029705, -0.040874235332012177, -0.012690509669482708, 0.005827363580465317, -0.041326846927404404, 0.024423573166131973, 0.04738486558198929, -0.0033249484840780497, -0.05546222999691963, -0.05654153227806091, 0.015145053155720234, -0.0001883611548691988, 0.035042520612478256, 0.019148917868733406, -0.017181800678372383, -0.005518369842320681, 0.049299757927656174, 0.016163427382707596, 0.025520285591483116, 0.014091862365603447, 0.00809912197291851, 0.013587027788162231, -0.024911001324653625, 0.0024806552100926638, -0.015353950671851635, 0.03431138023734093, -0.017930349335074425, 0.04108313098549843, -0.017521260306239128, -0.04289357736706734, 0.014335576444864273, 0.014117974787950516, 0.017016423866152763, -0.020733054727315903, -0.0226653553545475, -0.008773686364293098, -0.015902305021882057, -0.057411935180425644, -0.04056088998913765, 0.01622435636818409, 0.057829730212688446, -0.08536935597658157, 0.03298836201429367, -0.0359303317964077, 0.05055314302444458, -0.07374074310064316, -0.06535003334283829, -0.004804637748748064, -0.09678907692432404, 0.04968273639678955, -0.024632470682263374, 0.09302892535924911, 0.07701346278190613, 0.018731122836470604, -0.0067412895150482655, 0.034502867609262466, -0.06040612980723381, 0.0006745641585439444, -0.003372820792719722, 0.03767114505171776, 0.01843518577516079, 0.018800755962729454, -0.0003723702975548804, -0.040874235332012177, 0.02788778766989708, -0.019497079774737358, 0.05904829874634743, -0.06068466231226921, -0.07819721847772598, 0.03888970986008644, 0.004826397635042667, -0.03398062661290169, 0.0034337490797042847, -0.0892687737941742, 0.056158553808927536, 0.007637806702405214, -0.07151250541210175, 0.011184709146618843, 0.003133459249511361, 0.00918277632445097, 0.022543499246239662, -0.05156281217932701, -0.012881998904049397, 0.01276884600520134, 0.009426489472389221, -0.02501544915139675, 0.004704541061073542, 0.03836746886372566, -0.024702103808522224, -0.004913438111543655, 0.053408071398735046, 0.025311388075351715, 0.0002076732780551538, 0.008355891332030296, 0.06012760102748871, 0.0501701645553112, 0.04613148421049118, -0.0003386420721653849, -0.0182436965405941, 0.03666147217154503, -0.059292010962963104, 0.013970006257295609, 0.033963218331336975, -0.026860708370804787, 0.04275431111454964, -0.004227994009852409, 0.02863633632659912, -0.04651446267962456, -0.029663413763046265, 0.0008192690438590944, -0.02976786345243454, 0.03774077445268631, -0.0245976559817791, 0.045226261019706726, -0.04129203036427498, -0.044355858117341995, -0.016241764649748802, 0.02372724935412407, -0.02736554481089115, -0.020402301102876663, -0.03380654379725456, 0.04111794754862785, 0.024440981447696686, 0.008904246613383293, -0.03366727754473686, -0.048707883805036545, -0.026982566341757774, -0.05734230577945709, 0.011271749623119831, -0.04101350158452988, 0.0013643603306263685, 0.004565276205539703, 0.030203064903616905, -0.06388775259256363, 0.009774652309715748, 0.04198835417628288, -0.037183716893196106, -0.022421641275286674, -0.02842743881046772, -0.02144678868353367, 0.009931324981153011, 0.02816631644964218, -0.015641184523701668, -0.02400577999651432, 0.002994194393977523, 0.018661491572856903, 0.034624725580215454, -0.04446030408143997, -0.09323781728744507, -0.0028114093001931906, 0.04432104155421257, 0.011132484301924706, -0.03446805104613304, -0.04296320676803589, 0.017007719725370407, 0.024841368198394775, 0.008081713691353798, 0.03229203820228577, 0.03446805104613304, 0.09351634979248047, 0.035303641110658646, 0.004560924135148525, 0.014509657397866249, 0.05260729789733887, -0.06573301553726196, 0.01829591952264309, -0.03519919142127037, -0.06200767681002617, -0.04251059889793396, 0.06172914803028107, -0.08146993815898895, -0.01878334768116474, -0.03471176698803902, -0.026373282074928284, -0.014805595390498638, 0.011054147966206074, 0.0005083711002953351, -0.0006555240252055228, 0.029994167387485504, -0.027713706716895103, -0.017529964447021484, 0.018452594056725502, 0.012368460185825825, 0.0204545259475708, -0.006545448210090399, 0.004865565802901983, -0.02861892804503441, -0.025694366544485092, 0.020733054727315903, -0.0032357319723814726, -0.022613130509853363, 0.013352017849683762, 0.012124746106564999, 0.03875044733285904, -0.049439024180173874, -0.027922604233026505, -0.0038493676111102104, 0.014161494560539722, -0.04129203036427498, 0.0036513505037873983, 0.03500770404934883, 0.008603956550359726, 0.01504930853843689, -0.005561890080571175, 0.09177553653717041, -0.01122822891920805, -0.023431312292814255, 0.0023413903545588255, -0.0270870141685009, 0.034624725580215454, 0.02353576011955738, -0.020872320979833603, 0.04122239723801613, 0.05466145649552345, -0.021812358871102333, -0.04275431111454964, 0.027731114998459816, -0.018139246851205826, 0.03976011648774147, 0.01984524168074131, 0.04352026805281639, -0.09651054441928864, -0.01381333265453577, 0.02414504438638687, 0.06528040021657944, -0.04940420761704445, 0.008577845059335232, 0.02412763610482216, -0.015179869718849659, 0.04888196289539337, 0.001377416425384581, 0.03286650776863098, 0.03909860923886299, 0.013021264225244522, -0.06444481015205383, 0.008577845059335232, 0.06002315133810043, -0.004478235729038715, -0.019340407103300095, 0.0003935864078812301, 0.01730365864932537, 0.05852605402469635, 0.04456475377082825, 0.020593790337443352, 0.007820592261850834, 0.019357815384864807, 0.01817406341433525, -0.03826301917433739, 0.02259572222828865, 0.03244871273636818, -0.03103865496814251, 0.05692451074719429, -0.05751638486981392, -0.06851831078529358, -0.03197869285941124, -0.03652220964431763, 0.0402127280831337, 0.058839403092861176, 0.01256865356117487, 0.010645057074725628, 0.058700136840343475, 0.033562831580638885, -0.06350477784872055, 0.0006489959778264165, 0.01183751318603754, 0.04721078649163246, 0.02990712784230709, 0.03861118108034134, 0.04404250904917717, -0.008865078911185265, -0.016607334837317467, -0.06712566316127777, 0.068553127348423, 0.05744675174355507, -0.011184709146618843, -0.020802687853574753, -0.024440981447696686, 0.04512181505560875, 0.049787186086177826, 0.023500943556427956, -0.017381994053721428, -0.03700963407754898, -0.02642550691962242, -0.013613139279186726, 0.0357910692691803, 0.06642933934926987, 0.01648547686636448, -0.0012120394967496395, -0.03467695042490959, 0.026321057230234146, -0.03781040757894516, -0.011245637200772762, 0.017112169414758682, -0.037322983145713806, 0.001321928109973669, -0.01669437438249588, 0.014335576444864273, -0.039655666798353195, -0.016041571274399757, 0.0039842803962528706, -0.041675008833408356, 0.032083142548799515, 0.00799467321485281, -0.041605375707149506, 0.0004417307209223509, 0.014709850773215294, -0.015327838249504566, -0.01991487480700016, -0.008025137707591057, -0.0012098634615540504, -0.03794967383146286, -0.04839453846216202, 0.00840811524540186, -0.02038489282131195, -0.027835562825202942, 0.06395738571882248, -0.025433244183659554, 0.04271949455142021, -0.014631513506174088, 0.006684713065624237, 0.06973687559366226, 0.007215660531073809, -0.03707926720380783, 0.03337134048342705, -0.013412946835160255, 0.032744649797677994, 0.09476973116397858, 0.039063792675733566, -0.04634037986397743, -0.00015680896467529237, 0.03941195458173752, -0.06646415591239929, 0.024249492213129997, 0.018052207306027412, -0.03286650776863098, -0.06806569546461105, -0.036174047738313675, -0.0222475603222847, -0.021969031542539597, -0.044286224991083145, -0.0007066603284329176, 0.027313319966197014, 0.05612373724579811, 0.011271749623119831, -0.0180347990244627, -0.06103282421827316, -0.022160520777106285, -0.025032857432961464, -0.04432104155421257, 0.00710685970261693, -0.003089939011260867, -0.006192934233695269, 0.010383935645222664, -0.0030116024427115917, 0.01836555264890194, 0.03721853345632553, 0.03004639223217964, -0.043346185237169266, 0.0026286242064088583, 0.06099800765514374, 0.013238864950835705, -0.02694774977862835, 0.017878126353025436, -0.05821270868182182, -0.059013482183218, -0.04637519642710686, 0.041187580674886703, -0.0583171583712101, -0.0362088643014431, 0.0066107288002967834, 0.01984524168074131, -0.032883912324905396, -0.027330728247761726, -0.014527065679430962, 0.01601545885205269, -0.015327838249504566, 0.018940020352602005, 0.023030925542116165, -0.003024658653885126, -0.07450670003890991, 0.006558504421263933, -0.004291098564863205, 0.04672335833311081, 0.012690509669482708, 0.043346185237169266, 0.0034555091988295317, 0.04452993720769882, -0.08174847066402435, 0.0019148917635902762, 0.05626300349831581, -0.004608796443790197, 0.0009764860151335597, -0.044808465987443924, -0.014788187108933926, 0.00020726527145598084, 0.07119915634393692, 0.013534802943468094, 0.016415845602750778, 0.015275613404810429, -0.04111794754862785, -0.025224346667528152, -0.05267693102359772, 0.008930359035730362, -0.052468035370111465, -0.017747564241290092, 0.07694382965564728, -0.026303648948669434, 0.056228186935186386, 0.01897483691573143, 0.02360539324581623, 0.03854154795408249, 0.04157055914402008, 0.01991487480700016, 0.04651446267962456, 0.027731114998459816, 0.030655676499009132, -0.038576364517211914, -0.06705603003501892, 0.05852605402469635, -0.05605410411953926, -0.0033162443432956934, 0.04258022829890251, 0.019497079774737358, -0.03337134048342705, -0.028270766139030457, 0.024092819541692734, -0.019688569009304047, 0.053477704524993896, -0.036974817514419556, 0.012533836998045444, -0.01645936444401741, 0.03909860923886299, -0.02050675079226494, -0.03687037155032158, -0.029663413763046265, 0.02633846551179886, 0.0360695980489254, 0.023744657635688782, 0.004408603068441153, -0.057411935180425644, -0.03124755248427391, -0.05041387677192688, 0.00146663305349648, 0.018852978944778442, -0.03229203820228577, -0.08773685991764069, -0.02050675079226494, -0.022108295932412148, -0.03183942660689354, -0.06256473809480667, 0.01079302653670311, 0.03431138023734093, -0.023309454321861267, -0.026495138183236122, -0.018887795507907867, 0.0002468415186740458, -0.028061868622899055, -0.04237133264541626, -0.01383944507688284, 0.02400577999651432, 0.0205241572111845, 0.023953555151820183, 0.03406766429543495, 0.007637806702405214, 0.04386842995882034, -0.012690509669482708, -0.01742551475763321, 0.022143112495541573, -0.0024349589366465807, 0.06514113396406174, -0.017930349335074425, -0.06082392483949661, -0.011785288341343403, -0.00409090518951416, 0.02372724935412407, -0.018017390742897987, -0.02106381021440029, -0.020680831745266914, 0.05302509292960167, 0.006236454471945763, 0.005374752916395664, -0.014065750874578953, -0.0032727241050451994, -0.02365761809051037, 0.028862642124295235, 0.04686262458562851, 0.0004371066752355546, -0.028914865106344223, 0.01437909621745348, -0.02226496860384941, -0.0409090518951416, 0.046618908643722534, -0.035303641110658646, -0.03347579017281532, -0.012351051904261112, -0.040456440299749374, 0.046827808022499084, -0.013090896420180798, -0.002006284426897764, 0.01270791795104742, -0.04456475377082825, 0.03532104939222336, 0.06608117371797562, 0.0008573492523282766, -0.08321075141429901, 0.017016423866152763, 0.054139211773872375, 0.015571551397442818, 0.04815082252025604, 0.000909573573153466, 0.061311352998018265, -0.001056454493664205, -0.061380986124277115, -0.03944677114486694, -0.0014165847096592188, 0.018678897991776466, -0.04425140842795372, 0.005274656228721142, 0.011802696622908115, -0.008416819386184216, 0.03485102951526642, -0.016163427382707596, 0.03505992889404297, 0.014239831827580929, -0.006575912237167358, -0.005844771862030029, 0.04390324652194977, -0.04097868502140045, 0.05323399230837822, -0.0988084152340889, -0.03210055083036423, -0.03363246098160744, -0.0032139718532562256, 0.01227271556854248, 0.0030529466457664967, 0.051597628742456436, -0.0545918233692646, 0.031804610043764114, 0.022613130509853363, -0.0003065458731725812, 0.04557442292571068, -0.03138681501150131, -0.01383944507688284, 0.02151641994714737, -0.006380071397870779, -0.08460339903831482, 0.03760151192545891, 0.0272959116846323, 0.0033554125111550093, 0.0007811887771822512, 0.023640209808945656, -0.02736554481089115, -0.03257056698203087, 0.02184717357158661, 0.025241754949092865, -0.005997092928737402, -0.023901330307126045, -0.07443706691265106, 0.006693417206406593, -0.03089939057826996, -0.0016102498630061746, 0.0406305231153965, -0.04895159602165222, 0.01249902043491602, -0.03982974961400032, -0.02473692037165165, 0.021533828228712082, 0.017338475212454796, 0.024632470682263374, 0.007537710480391979, 0.010140222497284412, -0.0030725309625267982, 0.06012760102748871, 0.03337134048342705, -0.0003130739205516875, -0.041326846927404404, -0.013282385654747486, -0.02600771188735962, 0.006049317307770252, -0.02494581788778305, -0.007624750956892967, -0.020820096135139465, 0.024092819541692734, 0.008878134191036224, 0.00037781032733619213, 0.02534620463848114, -0.07631713896989822, -0.07464596629142761, -0.06782198697328568, 0.0270870141685009, -0.0031856836285442114, 0.02802705205976963, 0.01742551475763321, 0.09588385373353958, -0.02280461974442005, -0.0014731610426679254, -0.028061868622899055, 0.0027961772866547108, 0.02762666530907154, -0.0055140177719295025, -0.021551236510276794, 0.028531886637210846, 0.03582588583230972, -0.02736554481089115, -0.016111202538013458, 0.10653761774301529, -0.06186841055750847, -0.014057046733796597, -0.05911793187260628, 0.05260729789733887, -0.03103865496814251, 0.04860343411564827, -0.02823594957590103, -0.03666147217154503, 0.03599996492266655, 0.01062764972448349, -0.017521260306239128, -0.019079284742474556, -0.02936747670173645, -0.04526107758283615, -0.00034789013443514705, 0.025711774826049805, -0.06663823127746582, -0.034763988107442856, -0.020941952243447304, -0.002733072731643915, -0.014823002740740776, -0.040874235332012177, -0.03746224567294121, -0.006279974710196257, 0.04724560305476189, 0.0014318168396130204, 0.031352002173662186, -0.041187580674886703, 0.0359303317964077, -0.016146019101142883, -0.014161494560539722, 0.02480655163526535, 0.054348111152648926, -0.004184473771601915, -0.08905987441539764, 0.054139211773872375, 0.002972434274852276, 0.08523008972406387, 0.052537668496370316, -0.03159571439027786, 0.02452802285552025, -0.019340407103300095, -0.022943884134292603, -0.01203770563006401, -0.046688541769981384, 0.0003147059469483793, -0.006140709854662418, 0.0205241572111845, -0.004291098564863205, -0.04254541173577309, -0.02882782556116581, -0.048498984426259995, 0.06169433146715164, 0.05469627305865288, -0.059709805995225906, -0.023361679166555405, 0.008751926012337208, 0.020750463008880615, 0.039063792675733566, 0.004865565802901983, 0.00522678392007947, 0.035303641110658646, -0.0067848097532987595, 0.0020541567355394363, 0.03044677898287773, 0.017129577696323395, 0.015197277069091797, 0.004371610935777426, -0.06726492196321487, 0.035164374858140945, -0.04860343411564827, -0.00008411651651840657, -0.049508657306432724, -0.05149317905306816, -0.011828809045255184, -0.008799797855317593, 0.042998023331165314, 0.0027221927884966135, -0.007028523366898298, -0.013317202217876911, 0.035094745457172394, 0.04724560305476189, 0.013256273232400417, 0.07958986610174179, 0.005139743443578482, 0.09699796885251999, -0.042336516082286835, -0.05577557533979416, -0.012986447662115097, 0.040317174047231674, 0.039794933050870895, 0.0715821385383606, -0.03157830610871315, 0.07562081515789032, 0.006127653643488884, -0.023048333823680878, -0.01229882799088955, 0.044146958738565445, -0.022839436307549477, 0.05476590618491173, 0.011619911529123783, 0.03521659970283508, 0.013882964849472046, 0.037044450640678406, 0.041466109454631805, 0.00670212134718895, -0.008377651683986187, 0.03749706223607063, -0.01897483691573143, 0.0016602982068434358, 0.0500308983027935, 0.008216626942157745, 0.017408106476068497, 0.008382003754377365, -0.014117974787950516, 0.019270773977041245, 0.004465179517865181, 0.005701154936105013, 0.018139246851205826, -0.01815665513277054, -0.02955896593630314, -0.04324173927307129, -0.020611198619008064, 0.10054922848939896, -0.0017767149256542325, 0.010053182020783424, -0.008612660691142082, -0.015293021686375141 ]
41,034
pyglove.core.symbolic.list
_sym_nondefault
Returns non-default values.
def _sym_nondefault(self) -> Dict[int, Any]: """Returns non-default values.""" non_defaults = dict() for idx, elem in self.sym_items(): if isinstance(elem, base.Symbolic): non_defaults_child = elem.non_default_values(flatten=False) if non_defaults_child: non_defaults[idx] = non_defaults_child else: non_defaults[idx] = elem return non_defaults
(self) -> Dict[int, Any]
[ 0.059797078371047974, -0.0366155207157135, 0.042322296649217606, 0.00423798942938447, -0.03377985581755638, 0.005720067303627729, -0.013815004378557205, -0.02553870528936386, 0.10002807527780533, -0.0016072458820417523, -0.011564195156097412, 0.005915019195526838, -0.012352864257991314, -0.021657388657331467, -0.033195000141859055, -0.005104196257889271, -0.005516253877431154, 0.06656722724437714, 0.0135402986779809, 0.0037927015218883753, 0.019406581297516823, -0.017527952790260315, -0.0382460281252861, 0.005361178424209356, -0.04058545082807541, 0.0029996016528457403, 0.0011542041320353746, -0.0349850133061409, -0.008024045266211033, -0.02640712819993496, -0.05692596733570099, -0.01560501754283905, -0.0010827586520463228, -0.003101508365944028, 0.05706775188446045, -0.06543296575546265, -0.037856124341487885, 0.10449424386024475, -0.06358978152275085, -0.016305072233080864, 0.04317299649119377, -0.04646945372223854, -0.060009755194187164, -0.05228256806731224, -0.007855677045881748, 0.02986309491097927, 0.05678418651223183, 0.012760491110384464, 0.049943145364522934, -0.01728869415819645, 0.056039825081825256, -0.0026340666227042675, 0.027505947276949883, 0.0328405424952507, -0.03693453222513199, 0.0050111510790884495, -0.016996264457702637, 0.04132981225848198, -0.051360975950956345, 0.034276098012924194, -0.01843181997537613, 0.016987403854727745, 0.0045348480343818665, -0.08209249377250671, 0.011333797127008438, 0.025095632299780846, 0.015480956993997097, -0.0028378800489008427, -0.017341861501336098, 0.03849414736032486, -0.04887976869940758, -0.07457797974348068, -0.03303549438714981, -0.004851645324379206, 0.07028903812170029, -0.09031592309474945, 0.009534922428429127, -0.03315955400466919, 0.01047423668205738, -0.024829789996147156, -0.07769721001386642, -0.005254840943962336, -0.060895901173353195, 0.05965529754757881, -0.026194453239440918, 0.05114830285310745, 0.08662955462932587, 0.027807237580418587, 0.03436471149325371, 0.012884551659226418, -0.03404569998383522, -0.008958928287029266, 0.028321200981736183, 0.04526429623365402, 0.0004979028599336743, 0.01695195771753788, 0.012556677684187889, -0.03806879743933678, 0.04012465476989746, -0.0874093621969223, 0.009703290648758411, -0.0684458538889885, -0.06288086622953415, -0.036650966852903366, -0.015144221484661102, -0.03558759391307831, 0.03276965022087097, -0.04675302281975746, 0.013176979497075081, 0.004767461214214563, -0.09137929230928421, -0.00014856777852401137, 0.019955990836024284, -0.001384601928293705, -0.005999203305691481, -0.004065191373229027, -0.03425837308168411, 0.008015183731913567, 0.033336784690618515, 0.020487677305936813, -0.07014725357294083, 0.02748822420835495, -0.0208598580211401, 0.008471548557281494, 0.023146113380789757, 0.048525311052799225, 0.02059401571750641, 0.04249952360987663, 0.058591920882463455, 0.09357693791389465, 0.06539751589298248, -0.011475580744445324, -0.039167620241642, 0.05302692949771881, -0.027842683717608452, -0.0034382434096187353, 0.03301776945590973, 0.03567620739340782, 0.05763488635420799, 0.012698461301624775, 0.05816657096147537, -0.042180512100458145, -0.028268031775951385, 0.0649721696972847, -0.03440015763044357, 0.00660178204998374, 0.020718075335025787, 0.055295463651418686, -0.046292226761579514, -0.027240104973316193, 0.014027679339051247, 0.07408174127340317, -0.0725221261382103, 0.012104744091629982, -0.019335689023137093, 0.03526857867836952, 0.044059138745069504, -0.03803335130214691, -0.03234430029988289, -0.04118803143501282, -0.014453028328716755, -0.005361178424209356, 0.04526429623365402, -0.055685367435216904, 0.013602329418063164, 0.001273833797313273, 0.02628306671977043, -0.055898040533065796, 0.05735131725668907, 0.02910100854933262, -0.044059138745069504, -0.028179418295621872, -0.036969978362321854, -0.0021621943451464176, 0.07294747233390808, 0.04707203432917595, 0.006725842133164406, -0.04327933117747307, 0.007505650166422129, 0.04951779544353485, 0.019158460199832916, -0.018555881455540657, -0.08783471584320068, -0.0032587989699095488, 0.021462436765432358, 0.0181039460003376, 0.015356896445155144, -0.01307064201682806, -0.008405087515711784, -0.001098266220651567, -0.00813924428075552, 0.02404998056590557, 0.02647801861166954, 0.07564135640859604, 0.033460844308137894, -0.016039228066802025, 0.020824411883950233, 0.025574151426553726, -0.051290083676576614, 0.001960596302524209, -0.021302931010723114, -0.06086045503616333, -0.014045401476323605, 0.015534126199781895, -0.04877343401312828, -0.009348832070827484, -0.01579996943473816, -0.020292725414037704, -0.060612332075834274, 0.021462436765432358, -0.010766664519906044, -0.0010007902747020125, -0.008250012062489986, -0.031298648566007614, -0.019264796748757362, -0.026513464748859406, 0.009774181991815567, 0.02525513805449009, -0.05504734069108963, 0.020576292648911476, -0.027186935767531395, -0.020115496590733528, 0.04544152691960335, 0.009180464781820774, 0.027098320424556732, 0.016243042424321175, 0.016437994316220284, -0.016384825110435486, -0.014647980220615864, 0.00582640478387475, 0.00577323604375124, -0.01573793962597847, -0.06387335062026978, -0.02796674333512783, 0.0474264919757843, -0.034134313464164734, 0.05295603722333908, -0.04260586202144623, 0.05469288304448128, 0.02890605665743351, -0.01408084761351347, 0.005374470725655556, -0.009517199359834194, 0.03145815432071686, -0.0030106783378869295, 0.034134313464164734, 0.02823258750140667, 0.03572937473654747, 0.005923880729824305, -0.04476805776357651, 0.05518912523984909, -0.041436150670051575, 0.0020226265769451857, 0.018998954445123672, 0.034010253846645355, -0.016845621168613434, -0.073231041431427, 0.048596203327178955, 0.02844526246190071, -0.05841469392180443, 0.02135610021650791, 0.02816169522702694, -0.05972618982195854, 0.014984715729951859, 0.010509681887924671, 0.006136555690318346, 0.0007415927830152214, 0.002895479556173086, -0.030749239027500153, 0.023660076782107353, 0.07642116397619247, 0.004364265128970146, -0.03959297016263008, -0.03895494341850281, -0.01225538831204176, 0.06600009649991989, 0.021852340549230576, -0.003201199695467949, 0.015463233925402164, -0.01960153318941593, -0.007554388139396906, 0.00048682602937333286, 0.006167570594698191, 0.00423798942938447, 0.021568775177001953, 0.02823258750140667, -0.037643447518348694, -0.06816229224205017, -0.0016161072999238968, -0.04462627321481705, 0.06887120753526688, 0.08315587043762207, 0.005915019195526838, 0.02080669067800045, 0.03471916913986206, 0.00959695316851139, -0.060222428292036057, -0.023589186370372772, 0.02472345158457756, 0.06642544269561768, 0.019158460199832916, -0.0005134103703312576, 0.05104196444153786, 0.0168810673058033, 0.008218997158110142, -0.022933438420295715, 0.07656294852495193, 0.03145815432071686, 0.03328361362218857, 0.011581918224692345, -0.021604221314191818, 0.009295663796365261, 0.047036588191986084, 0.017678597941994667, -0.016322795301675797, -0.02938457578420639, 0.026318512856960297, -0.04774550348520279, 0.057918451726436615, 0.0708916187286377, -0.0162164568901062, 0.005888435058295727, -0.09421496093273163, -0.016588639467954636, -0.012636430561542511, -0.0025676058139652014, -0.015578432939946651, -0.021497882902622223, 0.012538954615592957, 0.01253009308129549, 0.00871523842215538, -0.030306166037917137, -0.043385669589042664, 0.011635086499154568, -0.012459201738238335, 0.023925920948386192, 0.010323591530323029, 0.007040423806756735, -0.031918950378894806, -0.035817988216876984, -0.04632767289876938, -0.01844954304397106, -0.009242494590580463, -0.03585343435406685, -0.02777179144322872, -0.009295663796365261, 0.014151738956570625, -0.02236630581319332, 0.0042579276487231255, 0.028675658628344536, -0.011466719210147858, 0.06036421284079552, -0.014461889863014221, 0.03517996519804001, 0.04965957999229431, 0.03080240823328495, 0.00888360571116209, 0.002824587980285287, 0.0012882336741313338, -0.011768008582293987, 0.06291630864143372, 0.041577935218811035, -0.04561875760555267, 0.015569571405649185, 0.07337282598018646, -0.03977019712328911, 0.03817513585090637, 0.024227211251854897, -0.008055060170590878, -0.07677562534809113, -0.012751629576086998, -0.017749488353729248, -0.027399610728025436, -0.06784328073263168, 0.02135610021650791, 0.007731616962701082, -0.029490912333130836, -0.006615073885768652, -0.02140926942229271, -0.07085616886615753, 0.007381589617580175, -0.04281853884458542, -0.017457060515880585, 0.04930511862039566, -0.01495813112705946, -0.01919390633702278, 0.013744112104177475, 0.03675730526447296, 0.017953302711248398, 0.017917856574058533, 0.01938885822892189, -0.04281853884458542, -0.023341065272688866, 0.049411457031965256, 0.01809508539736271, -0.02126748487353325, 0.0046168165281414986, -0.031192312017083168, -0.06380245834589005, -0.031511325389146805, 0.01313267182558775, 0.0069473786279559135, -0.01579996943473816, -0.007434758357703686, -0.008130382746458054, -0.022986607626080513, -0.0002658435550983995, -0.01816597767174244, 0.02126748487353325, 0.004798476584255695, 0.00019384427287150174, 0.04990769922733307, 0.006358092185109854, -0.07450708746910095, 0.056961413472890854, -0.02350057102739811, 0.03190122917294502, 0.06351888924837112, 0.05930083990097046, -0.053133267909288406, 0.006105540785938501, -0.06256185472011566, 0.04965957999229431, 0.0533459410071373, 0.030625179409980774, 0.012893413193523884, -0.0038968236185610294, -0.052849702537059784, -0.049872253090143204, 0.044271815568208694, 0.0026628663763403893, -0.028179418295621872, 0.0069030714221298695, -0.04544152691960335, 0.02869338169693947, -0.04097535461187363, 0.015286005102097988, -0.053062375634908676, -0.031227758154273033, 0.046504899859428406, -0.040301885455846786, 0.035215411335229874, -0.005711205769330263, 0.021037086844444275, 0.054196640849113464, 0.018857169896364212, -0.0037506096996366978, 0.06064777821302414, 0.005339025054126978, 0.013983371667563915, -0.047178372740745544, -0.08166714012622833, 0.1015876904129982, -0.03053656406700611, -0.003963284660130739, 0.030625179409980774, -0.05387762933969498, 0.005254840943962336, 0.03512679785490036, -0.003859162563458085, 0.044130031019449234, 0.010686911642551422, -0.012751629576086998, -0.013265593908727169, -0.013097226619720459, 0.06227828562259674, -0.014399860054254532, -0.0425349697470665, -0.023801861330866814, 0.005033304914832115, 0.026353958994150162, 0.016562053933739662, 0.009455169551074505, -0.10846417397260666, -0.02844526246190071, -0.019583810120821, -0.007917707785964012, -0.007155622821301222, -0.02775406837463379, -0.06093134731054306, -0.02472345158457756, -0.012219942174851894, -0.017581121996045113, -0.05012037232518196, -0.006619504652917385, 0.010846417397260666, -0.016021504998207092, -0.0416133813560009, -0.024138595908880234, 0.03789157047867775, -0.003938915673643351, 0.00010564512922428548, -0.004545925185084343, 0.026318512856960297, 0.014231491833925247, 0.0032942448742687702, 0.05111285671591759, 0.00006483398465206847, 0.04912789165973663, -0.011129983700811863, -0.015356896445155144, 0.003389505436643958, -0.042783092707395554, 0.054941002279520035, -0.013628913089632988, -0.03464827686548233, -0.07528689503669739, -0.009729874320328236, -0.006442275829613209, -0.035569868981838226, 0.010341314598917961, -0.027842683717608452, 0.040230993181467056, -0.020239556208252907, 0.02486523427069187, -0.035569868981838226, 0.0382460281252861, -0.024493053555488586, 0.046717576682567596, -0.0006767933955416083, 0.00253215990960598, -0.028888333588838577, -0.008103798143565655, 0.008444963954389095, -0.010704634711146355, 0.04033733159303665, -0.04388191178441048, -0.003887962084263563, 0.0007670694612897933, -0.014940408058464527, 0.028338924050331116, -0.0249892957508564, -0.016783591359853745, 0.06369611620903015, -0.046434011310338974, 0.016367102041840553, 0.0774136483669281, -0.012397171929478645, -0.05065206065773964, 0.037714339792728424, 0.028870610520243645, 0.02052312344312668, 0.05614615976810455, -0.009455169551074505, 0.04763916879892349, 0.01337193138897419, -0.08358121663331985, 0.032379746437072754, -0.0037240253295749426, -0.01647344045341015, -0.007394881919026375, -0.006203016731888056, 0.012813660316169262, -0.04193239286541939, -0.0029663711320608854, -0.026850201189517975, 0.030146660283207893, 0.02491840347647667, 0.000886145222466439, 0.01266301516443491, 0.03810424357652664, -0.018945785239338875, 0.04632767289876938, -0.09336426109075546, 0.008015183731913567, 0.006273908074945211, -0.03548125550150871, 0.00941972341388464, -0.01951291784644127, 0.07379817217588425, -0.04317299649119377, -0.02369552291929722, 0.06050599738955498, -0.022791655734181404, 0.027116043493151665, 0.0027049581985920668, 0.003090431448072195, -0.014966992661356926, -0.04537063464522362, -0.04097535461187363, 0.025042463093996048, 0.05309782177209854, 0.004798476584255695, -0.04179060831665993, 0.05398396775126457, -0.004182605538517237, -0.026176730170845985, 0.034683723002672195, -0.004820629954338074, -0.019229350611567497, -0.018662218004465103, 0.040160100907087326, -0.008852590806782246, -0.018591327592730522, -0.045689646154642105, 0.016925374045968056, -0.04402369633316994, 0.022437196224927902, 0.0019063198706135154, 0.010394483804702759, -0.008055060170590878, 0.008165827952325344, 0.01135152019560337, 0.03782067820429802, 0.0065884897485375404, -0.0077404784969985485, 0.05646517500281334, -0.011838899925351143, 0.022809378802776337, -0.029827648773789406, -0.026371682062745094, -0.03525085747241974, 0.009650121442973614, -0.007984168827533722, 0.0023239159490913153, -0.00918932631611824, 0.02195867896080017, 0.022508088499307632, -0.030784685164690018, -0.0023859459906816483, -0.09074126929044724, -0.028214864432811737, -0.06869398057460785, 0.012273111380636692, -0.0033097523264586926, -0.010633742436766624, 0.0070625776425004005, 0.1076134741306305, -0.005361178424209356, 0.05678418651223183, 0.00688977912068367, 0.011192014440894127, 0.016570916399359703, 0.0028821872547268867, -0.025698211044073105, 0.02904784120619297, 0.03459510952234268, -0.014107432216405869, -0.009632398374378681, 0.10725902020931244, -0.014966992661356926, 0.0002662589540705085, 0.026371682062745094, 0.04654034599661827, -0.01727983169257641, -0.0014266938669607043, 0.002735973335802555, 0.0056092990562319756, 0.021923232823610306, -0.00013963710807729512, -0.053062375634908676, -0.03455966338515282, -0.01313267182558775, -0.045087069272994995, -0.054409317672252655, 0.03337223082780838, -0.014204908162355423, -0.03714720904827118, 0.006916363257914782, -0.038742270320653915, -0.05370040237903595, -0.0424286350607872, -0.04969502240419388, 0.013549160212278366, 0.036243338137865067, -0.00800189096480608, -0.004789615049958229, -0.01050082128494978, 0.035215411335229874, -0.05235346034169197, 0.03397480770945549, 0.018892616033554077, 0.023004330694675446, -0.018484989181160927, -0.05547269061207771, 0.03418748453259468, -0.002049210714176297, 0.10626653581857681, 0.04572509229183197, -0.03546353057026863, 0.050545722246170044, -0.02054084651172161, -0.03838781267404556, -0.006530890241265297, -0.048737987875938416, -0.009508337825536728, -0.009543783962726593, -0.0024900680873543024, 0.000775377091486007, -0.0224903654307127, -0.012078159488737583, -0.059797078371047974, 0.054338425397872925, 0.04349200800061226, -0.07592492550611496, -0.0011985114542767406, -0.029207346960902214, 0.029544081538915634, 0.02397909015417099, 0.023996813222765923, 0.002990740118548274, 0.025237416848540306, -0.03051884099841118, -0.0009293447947129607, 0.03214934840798378, -0.010217254050076008, 0.003726240713149309, -0.018733110278844833, -0.019902821630239487, 0.04186150059103966, -0.028799720108509064, 0.04051455855369568, -0.057315874844789505, -0.0583438016474247, -0.05107741057872772, 0.01642027124762535, -0.024014536291360855, -0.009853934869170189, -0.05327505245804787, 0.015401204116642475, -0.000509533507283777, -0.01465684175491333, -0.0013990018051117659, 0.08471548557281494, 0.01649116352200508, 0.07266391068696976, -0.02364235371351242, -0.03767889365553856, 0.007346143946051598, 0.03269875794649124, 0.04728470742702484, 0.04625678062438965, -0.0106071587651968, 0.02741733379662037, -0.012521231546998024, -0.02640712819993496, 0.04317299649119377, -0.008081644773483276, -0.04848986491560936, 0.027647731825709343, -0.0011287274537608027, 0.028959225863218307, 0.003544580889865756, 0.07379817217588425, 0.028197141364216805, -0.025839995592832565, -0.003349628997966647, 0.037253543734550476, 0.017678597941994667, 0.03349629044532776, 0.0073860203847289085, 0.02926051616668701, 0.01673928275704384, -0.014116293750703335, 0.0106071587651968, -0.00010100670624524355, 0.01113884523510933, -0.004266789183020592, 0.014258076436817646, -0.0003048893413506448, -0.02438671700656414, -0.04040822386741638, -0.04196783900260925, 0.06947378814220428, -0.02215363085269928, -0.014116293750703335, 0.015374619513750076, -0.036969978362321854 ]
41,036
pyglove.core.symbolic.list
_sym_rebind
Subclass specific rebind implementation.
def _sym_rebind( self, path_value_pairs: typing.Dict[object_utils.KeyPath, Any] ) -> typing.List[base.FieldUpdate]: """Subclass specific rebind implementation.""" updates = [] # Apply the updates in reverse order, so the operated path will not alter # from insertions and deletions. path_value_pairs = sorted( path_value_pairs.items(), key=lambda x: x[0], reverse=True) for k, v in path_value_pairs: update = self._set_item_of_current_tree(k, v) if update is not None: updates.append(update) # Reverse the updates so the update is from the smallest number to # the largest. updates.reverse() return updates
(self, path_value_pairs: Dict[pyglove.core.object_utils.value_location.KeyPath, Any]) -> List[pyglove.core.symbolic.base.FieldUpdate]
[ 0.05793574079871178, -0.023588642477989197, -0.10453148931264877, -0.0023511408362537622, -0.050920937210321426, -0.014674752950668335, -0.01744614541530609, 0.019626913592219353, 0.049757860600948334, -0.008677639998495579, -0.0066467998549342155, -0.015910521149635315, 0.05353786051273346, 0.021535085514187813, -0.012394032441079617, -0.021062586456537247, 0.010694851167500019, 0.017318934202194214, -0.041834402829408646, -0.043397288769483566, 0.024515468627214432, 0.004456945229321718, 0.019099894911050797, 0.012103263288736343, -0.015301723964512348, -0.0168282613158226, 0.03182104229927063, 0.04459670931100845, 0.04870382323861122, -0.01349350344389677, -0.00228753499686718, 0.01478379126638174, -0.010876581072807312, 0.005420117639005184, 0.06138862669467926, -0.05484632030129433, -0.01744614541530609, 0.04641401767730713, 0.01355710905045271, -0.04088940471410751, 0.07429150491952896, -0.0010415440192446113, -0.039253827184438705, -0.024842584505677223, 0.08984765410423279, 0.08294188231229782, -0.039471905678510666, 0.06146131828427315, 0.07414612174034119, -0.004527365788817406, -0.007937087677419186, -0.022262008860707283, 0.01377518568187952, 0.02031749114394188, 0.024061143398284912, 0.028368160128593445, 0.05510074272751808, 0.0594986267387867, 0.02553316205739975, -0.048231322318315506, 0.03125767782330513, -0.044742096215486526, -0.036473348736763, -0.04652305692434311, -0.020789990201592445, -0.02300710417330265, -0.003141669323667884, -0.05139343813061714, -0.017927732318639755, -0.018772779032588005, -0.071819968521595, 0.0014072769554331899, -0.022770855575799942, -0.06411458551883698, 0.0017593802185729146, 0.035891808569431305, 0.05321074277162552, 0.025914795696735382, 0.02424287423491478, -0.07032977789640427, -0.02784114144742489, -0.03389277309179306, -0.005588218569755554, -0.01858196221292019, -0.09362764656543732, 0.05335612967610359, 0.04292478784918785, -0.01512907911092043, 0.022425565868616104, -0.02015393227338791, -0.047904208302497864, -0.007732640486210585, -0.04365171119570732, 0.04764978587627411, 0.024933449923992157, -0.05404670536518097, -0.032184503972530365, -0.10220533609390259, -0.0460142083466053, 0.01327542681246996, 0.03736382722854614, -0.0432155579328537, -0.03827248141169548, -0.009895236231386662, 0.024097489193081856, -0.042961135506629944, -0.010949273593723774, -0.033747389912605286, -0.029731139540672302, -0.004547810181975365, -0.026350948959589005, 0.04794055595993996, 0.06560477614402771, 0.01615585759282112, -0.044124212116003036, 0.030657965689897537, -0.004765887279063463, -0.003652786836028099, 0.08875726908445358, -0.009777111001312733, -0.012239561416208744, -0.0016230822075158358, -0.004191163927316666, 0.037509214133024216, 0.002764577977359295, 0.045541711151599884, 0.0347832515835762, 0.04681382328271866, -0.021080760285258293, -0.011458119377493858, -0.014874656684696674, -0.021026240661740303, -0.02120797149837017, 0.03889036551117897, 0.046159595251083374, -0.03194825351238251, -0.003091693390160799, -0.004275214392691851, -0.014620233327150345, 0.018363885581493378, 0.008482280187308788, 0.008932063356041908, 0.029931044206023216, 0.04521459341049194, 0.030603447929024696, -0.007532736752182245, 0.00047761097084730864, 0.09231919050216675, -0.05117535963654518, 0.023334220051765442, -0.05393766611814499, 0.03400181233882904, 0.06938477605581284, 0.07327381521463394, -0.04252497851848602, 0.06953015923500061, -0.05960766598582268, -0.031730178743600845, -0.005256560165435076, -0.002414746442809701, -0.018554702401161194, -0.005724516697227955, 0.0016049090772867203, -0.046268630772829056, 0.0033415730576962233, -0.006092521362006664, -0.015492540784180164, -0.06949381530284882, -0.038236137479543686, 0.05371959134936333, 0.018718261271715164, -0.045650746673345566, -0.01729167439043522, 0.012848359532654285, 0.06549573689699173, -0.025169700384140015, 0.009631725959479809, -0.03443796560168266, 0.02575123868882656, 0.009449996054172516, -0.012139610014855862, -0.04005344212055206, -0.005883530713617802, 0.005851727910339832, 0.005951679777354002, 0.11194609850645065, -0.0060016559436917305, 0.0235704705119133, 0.04466940090060234, 0.045432671904563904, -0.010422254912555218, -0.013257253915071487, 0.06349670141935349, -0.013084609061479568, 0.0071692755445837975, 0.01969960704445839, -0.01363888755440712, 0.03400181233882904, 0.008536798879504204, 0.06992996484041214, -0.03443796560168266, -0.03612805902957916, 0.028041044250130653, 0.028986044228076935, 0.008595861494541168, 0.012930138036608696, 0.03211181238293648, -0.027768447995185852, 0.01806402951478958, 0.006401463411748409, 0.0210444126278162, 0.015020040795207024, 0.010167831555008888, -0.044923827052116394, -0.028150083497166634, 0.015347156673669815, 0.002764577977359295, -0.034874118864536285, 0.024497296661138535, -0.03154844790697098, 0.02435191161930561, 0.06011651083827019, -0.02962210215628147, -0.03418354317545891, 0.015374415554106236, -0.0505211316049099, -0.06825804710388184, -0.0041888924315571785, -0.03405633196234703, -0.016473887488245964, 0.023752201348543167, -0.012966484762728214, -0.03918113559484482, -0.04794055595993996, 0.10569456964731216, -0.056663628667593, 0.019663259387016296, -0.007628145627677441, 0.023952104151248932, 0.0331113301217556, -0.018954509869217873, 0.02749585174024105, -0.016183117404580116, 0.010304129682481289, -0.041325557976961136, -0.02969479374587536, 0.010649418458342552, -0.01492917537689209, 0.0028963328804820776, 0.013202734291553497, 0.02682344987988472, 0.009613553062081337, -0.024370085448026657, 0.03696402162313461, -0.012593936175107956, -0.013457157649099827, -0.048958245664834976, 0.03098508156836033, -0.0015640197088941932, -0.020353836938738823, -0.008264202624559402, 0.000766108394600451, -0.04201613366603851, 0.004504649434238672, -0.00014020237722434103, 0.02698700688779354, 0.053174398839473724, 0.0173916257917881, -0.03392912074923515, 0.027532199397683144, 0.04619593918323517, -0.024533642455935478, -0.061025165021419525, 0.06854881346225739, -0.033311232924461365, 0.05528247356414795, 0.05768131837248802, -0.029931044206023216, -0.02244373969733715, -0.04899459332227707, 0.029876524582505226, -0.05506439879536629, 0.022589124739170074, -0.016355762258172035, 0.0003126335795968771, 0.029876524582505226, -0.009177399799227715, 0.0014140919083729386, -0.01383879128843546, 0.003661873284727335, 0.08803034573793411, 0.04088940471410751, 0.04859478399157524, 0.012802926823496819, 0.03899940475821495, 0.01621946319937706, -0.06614997237920761, 0.030058255419135094, 0.00586535781621933, 0.02784114144742489, -0.01891816407442093, 0.02217114344239235, 0.02367950789630413, 0.012493984773755074, 0.07603611797094345, -0.061315931379795074, 0.06560477614402771, 0.016346674412488937, -0.0060016559436917305, 0.005056656431406736, -0.011385427787899971, 0.0476861335337162, -0.07589073479175568, 0.03189373388886452, 0.022698162123560905, -0.038018058985471725, -0.0471409410238266, 0.005501896608620882, -0.011285475455224514, 0.030494408681988716, -0.050084978342056274, -0.00509300222620368, -0.047722477465867996, 0.021589605137705803, -0.04136190563440323, 0.021117106080055237, 0.05393766611814499, -0.013511676341295242, 0.010703937150537968, -0.022425565868616104, -0.002664626110345125, -0.008050668984651566, 0.03583729267120361, 0.027932006865739822, 0.06516862660646439, -0.005983482580631971, 0.030621619895100594, -0.013084609061479568, -0.014874656684696674, -0.025387777015566826, 0.02671441063284874, 0.033747389912605286, -0.030385371297597885, -0.0398353673517704, -0.01018600445240736, -0.0004517711349762976, 0.0033302148804068565, 0.05993478000164032, 0.039253827184438705, -0.01795499213039875, -0.0031598422210663557, -0.03838152065873146, -0.0460142083466053, 0.03965363651514053, 0.03463786840438843, -0.01545619498938322, -0.028749793767929077, -0.023861238732933998, 0.032693348824977875, -0.0370367132127285, 0.01234859973192215, -0.004477389622479677, -0.015338069759309292, 0.016810087487101555, 0.05291997641324997, -0.023025278002023697, -0.06324227899312973, 0.009268265217542648, -0.029531236737966537, -0.00002321325519005768, -0.03551017493009567, -0.013802445493638515, 0.05422843620181084, 0.005992569494992495, -0.05113901570439339, 0.027077872306108475, 0.038635943084955215, 0.023534122854471207, -0.0016469343099743128, -0.03881767392158508, 0.04819497838616371, -0.020971721038222313, 0.058226510882377625, 0.016410280019044876, 0.016973646357655525, 0.005897160619497299, 0.09137418866157532, -0.017155377194285393, 0.0549917034804821, 0.008704899810254574, 0.0044251419603824615, -0.0244064312428236, -0.04063498228788376, 0.02424287423491478, -0.045250941067934036, -0.01024052407592535, 0.04052594304084778, 0.018754607066512108, -0.04354267194867134, -0.031166812404990196, -0.006006198935210705, -0.021189797669649124, -0.05066651478409767, 0.006219732575118542, -0.00620155967772007, -0.02671441063284874, 0.02418835461139679, 0.10016995668411255, -0.03720027208328247, 0.0011494465870782733, 0.003459697822108865, -0.010958360508084297, 0.029494890943169594, -0.020917201414704323, 0.022189317271113396, -0.006696775555610657, -0.039144787937402725, -0.021026240661740303, 0.03258431330323219, 0.05924420431256294, 0.02088085561990738, -0.0029167775064706802, -0.06647708266973495, 0.0136116286739707, -0.005874444264918566, -0.023388739675283432, 0.022480085492134094, 0.027459505945444107, -0.031112292781472206, 0.06949381530284882, 0.011703455820679665, 0.009513601660728455, -0.002364770509302616, -0.023188835009932518, -0.004627317655831575, -0.023824892938137054, 0.05684535950422287, -0.012030571699142456, 0.012902878224849701, 0.007987063378095627, -0.03300229087471962, 0.0011732986895367503, 0.030221812427043915, -0.06022555008530617, -0.00042848687735386193, -0.020717298611998558, -0.039144787937402725, -0.011767061427235603, -0.00014935991202946752, 0.008473193272948265, -0.015428935177624226, -0.0204810481518507, 0.027077872306108475, 0.0067876409739255905, -0.02002672106027603, -0.02137152850627899, -0.030112775042653084, -0.04139824956655502, -0.019626913592219353, -0.011494466103613377, 0.002662354614585638, 0.0003858937416225672, 0.05938958749175072, -0.012448552064597607, -0.05382863059639931, -0.031184986233711243, 0.0015958226285874844, -0.018754607066512108, -0.019844990223646164, -0.05113901570439339, 0.0060016559436917305, -0.04641401767730713, -0.029149601235985756, -0.01790955848991871, -0.05284728482365608, -0.008218769915401936, 0.03231171518564224, 0.02397027797996998, -0.07032977789640427, -0.08337803930044174, -0.026587199419736862, -0.03607353940606117, 0.0207536444067955, 0.0032915971241891384, 0.0034188085701316595, -0.03376556187868118, 0.030948735773563385, -0.009749851189553738, -0.017355279996991158, -0.03232988715171814, 0.024442777037620544, -0.06109785661101341, -0.015565233305096626, 0.03131219744682312, -0.010885667987167835, -0.0014549812767654657, -0.04804959148168564, -0.01349350344389677, 0.01710994355380535, -0.021062586456537247, -0.02996739000082016, -0.02704152651131153, 0.02767758257687092, 0.04623228684067726, 0.0199176836758852, 0.04466940090060234, 0.010404082015156746, 0.012085090391337872, -0.022570950910449028, -0.03205729275941849, 0.0005000433302484453, -0.06811266392469406, 0.012930138036608696, 0.01812763512134552, 0.011167350225150585, -0.006251535378396511, -0.0387086346745491, -0.032802388072013855, -0.05117535963654518, -0.03318402171134949, 0.008286919444799423, -0.02655085362493992, -0.017600616440176964, -0.03383825346827507, -0.0030757917556911707, -0.045432671904563904, -0.026896141469478607, -0.0071329292841255665, 0.02362498827278614, -0.04103478789329529, 0.043797094374895096, 0.02980383299291134, 0.03405633196234703, -0.03451065719127655, 0.012421292252838612, 0.06869419664144516, 0.03625527024269104, -0.03194825351238251, -0.1167437955737114, 0.022080278024077415, 0.010794802568852901, 0.06378746777772903, -0.01566518470644951, -0.013457157649099827, -0.012048744596540928, 0.0009228511480614543, -0.0004125854466110468, -0.11121918261051178, 0.0035937242209911346, -0.04456036537885666, -0.08003419637680054, 0.0013754741521552205, 0.006151583511382341, 0.004920358303934336, -0.0022625471465289593, -0.057826705276966095, -0.022134797647595406, -0.054192088544368744, -0.024206526577472687, -0.007287400308996439, 0.018100377172231674, -0.020353836938738823, 0.042961135506629944, 0.026459988206624985, 0.03407450392842293, 0.02845902554690838, -0.018418405205011368, 0.018772779032588005, 0.0375819057226181, 0.04804959148168564, 0.018100377172231674, -0.0007059101480990648, 0.06942111998796463, -0.0038367891684174538, 0.03830882906913757, -0.021244317293167114, 0.0283499862998724, -0.0549917034804821, 0.012175955809652805, -0.10285956412553787, 0.014120474457740784, 0.04735901579260826, -0.0034165368415415287, -0.014556627720594406, 0.02013576030731201, 0.023425085470080376, -0.0011397921480238438, 0.12052378803491592, 0.019009029492735863, -0.024333739653229713, -0.05920785665512085, -0.029422197490930557, -0.03658238798379898, -0.031675659120082855, -0.04045325145125389, -0.028240948915481567, -0.08817572891712189, 0.04027152061462402, -0.045432671904563904, 0.03149392828345299, 0.020335663110017776, -0.004556897096335888, 0.04114382714033127, -0.009404563345015049, -0.04568709433078766, -0.06854881346225739, 0.035273924469947815, -0.010885667987167835, 0.0173916257917881, 0.0583718977868557, 0.039580944925546646, 0.025187872350215912, 0.0768357366323471, -0.008909346535801888, -0.004252498038113117, 0.02655085362493992, 0.007042063865810633, 0.06840343028306961, -0.013257253915071487, -0.012284994125366211, -0.06157035753130913, -0.018418405205011368, -0.004847666248679161, 0.016510233283042908, -0.04670478776097298, -0.0013459428446367383, 0.0249697957187891, 0.0026101069524884224, -0.01139451377093792, -0.009658985771238804, -0.0020626431796699762, -0.04808593913912773, 0.004765887279063463, 0.06197016313672066, 0.01951787620782852, -0.025896621868014336, 0.009459082037210464, -0.032129984349012375, -0.013520763255655766, -0.0063378578051924706, 0.022461913526058197, -0.022570950910449028, 0.009259178303182125, 0.021789509803056717, -0.035273924469947815, -0.00011500145046738908, 0.023715853691101074, -0.08621303737163544, 0.029276814311742783, 0.014738358557224274, -0.02733229473233223, -0.005206583999097347, -0.058117471635341644, 0.002498796908184886, 0.02002672106027603, 0.05495535954833031, -0.04270670935511589, -0.07887111604213715, 0.000048520672862650827, -0.014720185659825802, -0.05041209235787392, -0.0061788433231413364, 0.005292906425893307, -0.027804795652627945, 0.01806402951478958, 0.018254848197102547, 0.06160670146346092, 0.03765459731221199, 0.03849055990576744, 0.03074883110821247, 0.013011917471885681, -0.05888074263930321, -0.03743652254343033, 0.05848093330860138, -0.015746964141726494, -0.04023517295718193, 0.00413891626521945, 0.06614997237920761, 0.026514507830142975, 0.04888555407524109, -0.01085840817540884, -0.019681433215737343, 0.00033818944939412177, 0.022025758400559425, -0.002585119102150202, 0.04125286638736725, 0.03776363655924797, 0.05935324355959892, 0.08156073093414307, -0.020917201414704323, 0.002035383600741625, -0.03601902350783348, 0.03500133007764816, -0.03856325149536133, -0.07458227127790451, -0.021844027563929558, 0.03214816004037857, -0.05960766598582268, 0.04557805508375168, 0.01377518568187952, 0.0409620963037014, 0.0471409410238266, 0.014738358557224274, -0.026350948959589005, 0.04405151680111885, -0.0074327848851680756, -0.02346143126487732, -0.011185524053871632, -0.039253827184438705, 0.04794055595993996, 0.011094658635556698, -0.025187872350215912, -0.0061334106139838696, -0.061025165021419525, 0.05986208841204643, -0.0014095486840233207, 0.03903575241565704, -0.044633056968450546, 0.01144903339445591, 0.017037251964211464, 0.0017162191215902567, 0.010958360508084297, 0.04259767383337021, -0.009022928774356842, 0.04052594304084778, 0.0099588418379426, 0.06135227903723717, 0.015565233305096626, -0.045977864414453506, 0.01029504369944334, 0.013239080086350441, 0.025351431220769882, -0.017982251942157745, -0.031621139496564865, 0.02749585174024105, -0.012848359532654285, 0.01248489785939455, 0.03809075057506561, -0.019172586500644684, 0.09217379987239838, -0.025514988228678703, -0.012475811876356602, 0.010676677338778973, 0.029440371319651604, -0.06026189401745796, -0.012366773560643196, -0.029785659164190292, -0.014829223975539207, 0.021753162145614624, -0.024006623774766922, 0.05473728105425835, 0.06200651079416275, 0.0004176966322120279, -0.020353836938738823, 0.023879412561655045, -0.03238440677523613, -0.034147195518016815, -0.035946328192949295, -0.017600616440176964, -0.039144787937402725, 0.013856965117156506, 0.024660853669047356, -0.005483723245561123, 0.02676893025636673, 0.03776363655924797, 0.011467206291854382, -0.011385427787899971, 0.020226625725626945 ]
41,037
pyglove.core.symbolic.list
_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 idx, item in self.sym_items(): if isinstance(item, base.TopologyAware): item.sym_setpath(object_utils.KeyPath(idx, new_path))
(self, old_path: pyglove.core.object_utils.value_location.KeyPath, new_path: pyglove.core.object_utils.value_location.KeyPath) -> NoneType
[ 0.057543039321899414, -0.037548359483480453, -0.022866446524858475, 0.012034500017762184, -0.10072723776102066, 0.014071660116314888, 0.024858735501766205, 0.07983513176441193, 0.05380973964929581, 0.013919097371399403, 0.011944756843149662, -0.036184269934892654, 0.07452236115932465, 0.027927936986088753, -0.058225084096193314, -0.028161268681287766, 0.01148706953972578, 0.00899222120642662, 0.006528783589601517, 0.0011834822362288833, -0.019133150577545166, -0.03424582630395889, 0.034550949931144714, -0.010446053929626942, -0.02934587188065052, 0.02038954757153988, 0.007071726955473423, 0.043543171137571335, 0.07832745462656021, -0.07240443676710129, -0.03744066506624222, 0.011953731067478657, -0.005716611631214619, -0.004242587368935347, 0.009288372471928596, 0.026168979704380035, -0.0026272183749824762, 0.004372714553028345, 0.055855873972177505, 0.03569965809583664, 0.025845905765891075, 0.0025845905765891075, -0.053486667573451996, -0.03300737589597702, 0.07782489061355591, 0.07025060802698135, -0.009566575288772583, 0.08672737330198288, 0.02663564123213291, -0.00584225170314312, 0.0026451668236404657, -0.0567174032330513, 0.02636641450226307, 0.028233062475919724, 0.02934587188065052, 0.018092134967446327, -0.0005137771368026733, 0.0181370060890913, 0.02502027340233326, -0.034568898379802704, 0.06777370721101761, -0.008471713401377201, -0.04429700970649719, -0.016395997256040573, -0.018370335921645164, -0.08507610857486725, 0.016647275537252426, -0.0367945171892643, -0.03600478172302246, 0.032020203769207, -0.08155819028615952, -0.040240637958049774, -0.008844145573675632, -0.01970750279724598, -0.02663564123213291, 0.006089044269174337, -0.007883898913860321, 0.028125371783971786, 0.0068024988286197186, -0.03744066506624222, -0.059912245720624924, -0.051907192915678024, -0.016781890764832497, -0.0068698059767484665, -0.02371002919971943, 0.05427640303969383, 0.07394801080226898, -0.005424947943538427, 0.04311240836977959, -0.0008699435857124627, -0.014619090594351292, 0.019851092249155045, -0.010867844335734844, 0.020533137023448944, 0.05072259157896042, -0.015130624175071716, -0.0011588030029088259, -0.05441999062895775, 0.01098451018333435, -0.009835802949965, 0.001620978000573814, -0.014116531237959862, 0.0037041311152279377, 0.03596888482570648, 0.03230738267302513, -0.059840451925992966, -0.01650368794798851, -0.03259455785155296, 0.003499966347590089, -0.016548559069633484, -0.06339426338672638, 0.05578408017754555, 0.011208866722881794, 0.0372970774769783, -0.0613122321665287, 0.009198629297316074, 0.014233197085559368, -0.0679531916975975, 0.03464069217443466, -0.03555607050657272, -0.023907462134957314, 0.026851024478673935, 0.024966426193714142, 0.015265238471329212, 0.015597286634147167, 0.02767665684223175, 0.02536129578948021, 0.06170710176229477, -0.05495844781398773, -0.017060093581676483, -0.034874025732278824, 0.02037159912288189, -0.027227943763136864, 0.011630658060312271, 0.04609186574816704, -0.044225215911865234, -0.004065345507115126, -0.025756163522601128, -0.020263908430933952, 0.005927507299929857, 0.015929333865642548, -0.016728045418858528, 0.04878414794802666, -0.008678121492266655, -0.0015604016371071339, 0.022130556404590607, -0.014197299256920815, 0.01181014347821474, -0.11709631234407425, -0.0002536634274292737, -0.05327128246426582, 0.03358172997832298, 0.038481682538986206, -0.050866179168224335, 0.0035560557153075933, -0.01902545802295208, -0.04260984808206558, -0.015274212695658207, 0.004002525471150875, -0.011819117702543736, -0.027927936986088753, -0.0684557557106018, 0.031499698758125305, -0.0210356954485178, -0.022274145856499672, 0.0021280243527144194, -0.010706307366490364, -0.086511991918087, -0.04605596885085106, 0.021430563181638718, 0.03132021054625511, 0.009772983379662037, -0.04278933256864548, 0.0012014308013021946, 0.01251013670116663, -0.005393538158386946, 0.037799637764692307, -0.02430233173072338, 0.05632253736257553, -0.009185167960822582, -0.01974339969456196, -0.0023265802301466465, 0.022597219794988632, 0.05969686433672905, 0.04838927835226059, 0.05266103148460388, -0.03758425638079643, 0.01904340647161007, -0.0004784409247804433, 0.016737019643187523, -0.043507274240255356, 0.046235453337430954, 0.022184401750564575, 0.03295353055000305, 0.016360100358724594, 0.014960112981498241, 0.006955061573535204, -0.021556204184889793, -0.02198696881532669, 0.12987567484378815, -0.031176624819636345, -0.03291763365268707, 0.04042012616991997, 0.00981785450130701, 0.039199624210596085, -0.0026272183749824762, 0.006663397420197725, 0.014762679114937782, -0.0189895611256361, 0.0223997849971056, -0.027174098417162895, 0.04860466346144676, 0.025092067196965218, -0.0628558099269867, -0.03991756588220596, -0.015588312409818172, -0.04630724713206291, 0.013865252025425434, -0.006937113124877214, -0.02898690104484558, 0.004442265257239342, 0.06486604362726212, -0.023099778220057487, -0.032558660954236984, -0.031535595655441284, -0.03140995651483536, 0.028861261904239655, -0.009396064095199108, 0.015713952481746674, -0.03144585341215134, 0.014619090594351292, -0.007197367027401924, -0.019545966759324074, -0.023171572014689445, 0.03970218449831009, -0.02173568867146969, -0.00011736666056094691, -0.018558796495199203, 0.008619789034128189, 0.03356378152966499, -0.06382502615451813, -0.062245555222034454, -0.010589641518890858, -0.02397925779223442, -0.02406900003552437, -0.010410156100988388, 0.038553476333618164, -0.01402678806334734, 0.03625606372952461, -0.0026586283929646015, 0.016575481742620468, -0.05445588752627373, -0.013084489852190018, 0.0136678172275424, 0.02031775377690792, -0.06059429049491882, -0.023440800607204437, 0.03613042086362839, -0.00759672187268734, -0.006600577849894762, -0.019510069862008095, 0.03666887804865837, -0.031822770833969116, 0.04709698259830475, -0.0018464566674083471, 0.023494645953178406, 0.0662660300731659, 0.014269093982875347, -0.057866111397743225, -0.01689855568110943, 0.049537986516952515, -0.03604067862033844, -0.06414810568094254, 0.05065079778432846, 0.03029714524745941, 0.029920225962996483, -0.02362028695642948, -0.014762679114937782, -0.0316791832447052, -0.04124575853347778, 0.016108820214867592, -0.05836867168545723, 0.007628132123500109, 0.026833076030015945, -0.03295353055000305, -0.016620352864265442, -0.0361124724149704, -0.004971747286617756, -0.025756163522601128, -0.009225552901625633, -0.004390663001686335, -0.017481883987784386, -0.049932852387428284, 0.030458681285381317, 0.05136873945593834, 0.016279330477118492, -0.059840451925992966, -0.006851857528090477, 0.012456290423870087, -0.006075582932680845, 0.011289635673165321, 0.0036525290925055742, -0.011980654671788216, -0.0009097669390030205, 0.07305058091878891, -0.003057983471080661, 0.02866382710635662, 0.01972545124590397, 0.010284516960382462, 0.013416538015007973, -0.0352509431540966, -0.010446053929626942, -0.043507274240255356, -0.02064082771539688, -0.002548693446442485, -0.0439380407333374, 0.011478095315396786, -0.02295619063079357, -0.030261248350143433, 0.04903542622923851, -0.10022468119859695, 0.0038275273982435465, -0.10316824167966843, 0.025792060419917107, -0.02731768600642681, 0.053881533443927765, 0.07121983170509338, 0.020802363753318787, 0.01533703226596117, -0.012016551569104195, 0.00576148321852088, 0.017930597066879272, -0.007480056490749121, -0.022597219794988632, -0.030907396227121353, -0.007870437577366829, -0.0023400415666401386, -0.03769194707274437, -0.023279264569282532, 0.02731768600642681, 0.05596356466412544, 0.045876484364271164, -0.009485806338489056, -0.014448579400777817, 0.03205610439181328, 0.022220300510525703, 0.05531741678714752, 0.008305689319968224, -0.041820112615823746, 0.014888318255543709, -0.047563645988702774, 0.020228011533617973, -0.06511732190847397, -0.0030063814483582973, 0.02266901358962059, -0.008655685931444168, -0.005927507299929857, -0.0070089069195091724, -0.0379791222512722, -0.021861327812075615, 0.07125572860240936, -0.013631920330226421, 0.006299939472228289, 0.01130758412182331, -0.00709416251629591, -0.0372970774769783, -0.007794156204909086, 0.026815127581357956, 0.028089474886655807, -0.04214318469166756, 0.01369474083185196, 0.0024970914237201214, 0.06077377498149872, 0.04436880350112915, -0.008929401636123657, 0.06946086883544922, -0.02168184332549572, 0.028089474886655807, 0.009050554595887661, 0.03289968520402908, 0.02232799120247364, -0.06389681994915009, 0.051871296018362045, 0.019510069862008095, 0.01800239086151123, -0.03566376119852066, 0.10374259203672409, -0.07969154417514801, 0.035879142582416534, -0.004899953026324511, -0.03070996142923832, 0.025576677173376083, 0.005308282561600208, 0.007924282923340797, -0.00969221442937851, -0.02033570222556591, 0.056143052875995636, -0.02139466628432274, 0.0005917411181144416, -0.014242171309888363, 0.01612676866352558, -0.01781393215060234, -0.05068669468164444, 0.009916571900248528, 0.04426111280918121, -0.03595093637704849, 0.03033304214477539, 0.061240438371896744, 0.004554443527013063, 0.02236388809978962, 0.010392207652330399, -0.006335836835205555, 0.017095990478992462, 0.018181877210736275, 0.03812270984053612, -0.05711227282881737, 0.04336368665099144, 0.015579337254166603, 0.08076845854520798, 0.05140463635325432, 0.009907597675919533, 0.014699858613312244, 0.000977634801529348, -0.006273016799241304, 0.05747124180197716, -0.05065079778432846, -0.026833076030015945, -0.0054025123827159405, 0.004473675042390823, 0.046558529138565063, 0.025110015645623207, 0.0015368441818282008, -0.05510203540325165, 0.012052448466420174, -0.016413945704698563, 0.02139466628432274, 0.03142790496349335, -0.01015887688845396, 0.004242587368935347, 0.017347268760204315, -0.01970750279724598, -0.012483213096857071, -0.013210129924118519, -0.04867645725607872, 0.04042012616991997, -0.021807482466101646, -0.005214052740484476, -0.011298609897494316, 0.027622811496257782, 0.009019143879413605, -0.014592167921364307, -0.026510002091526985, -0.02372797764837742, 0.014233197085559368, -0.038481682538986206, -0.031535595655441284, 0.09361961483955383, -0.031158674508333206, -0.017481883987784386, 0.013003721833229065, -0.016279330477118492, 0.029220232740044594, 0.030602270737290382, 0.005828790366649628, 0.030135607346892357, -0.03399454429745674, 0.00790184736251831, -0.026527950540184975, -0.006098018493503332, -0.05179950222373009, 0.07624541968107224, -0.0715429037809372, -0.03704579919576645, -0.0019081548089161515, 0.0007392557454295456, -0.06246094033122063, -0.030835602432489395, -0.004832645878195763, -0.08995810896158218, -0.029866380617022514, -0.030225351452827454, -0.01999467983841896, 0.05068669468164444, -0.02896895259618759, -0.01402678806334734, -0.04896363243460655, 0.015884462743997574, 0.008592866361141205, -0.03873296082019806, -0.022076711058616638, 0.0068024988286197186, -0.03998935967683792, -0.036202218383550644, 0.030171506106853485, 0.0073409550823271275, 0.010760152712464333, -0.007403775118291378, 0.0008660173043608665, 0.03241507336497307, -0.027425378561019897, -0.03164328634738922, -0.03268430009484291, 0.025576677173376083, 0.042179081588983536, 0.003300288924947381, 0.06511732190847397, -0.015462672337889671, 0.02204081416130066, 0.0035784912761300802, 0.026761282235383987, 0.044153422117233276, -0.04558930546045303, 0.03469453752040863, -0.021107489243149757, -0.0023535031359642744, -0.005074951332062483, -0.03876885771751404, 0.050543103367090225, 0.04566109925508499, -0.001025310717523098, -0.049896955490112305, -0.03340224176645279, 0.041820112615823746, -0.03690221160650253, -0.01779598370194435, -0.03103303536772728, -0.023817719891667366, -0.032558660954236984, 0.03934321179986, 0.01350628025829792, 0.003764707362279296, 0.02631256729364395, 0.043220099061727524, 0.04081499204039574, 0.0052544367499649525, 0.07251212745904922, 0.03805091604590416, -0.036543238908052444, -0.030512528494000435, -0.014439605176448822, 0.003315993817523122, 0.005604433361440897, -0.059912245720624924, 0.012563982047140598, -0.008799274452030659, 0.01750880666077137, 0.059266097843647, -0.06432759016752243, 0.020910056307911873, 0.009467857889831066, -0.031086880713701248, 0.00353810703381896, -0.01350628025829792, 0.06938907504081726, 0.012178088538348675, -0.035143252462148666, 0.015148572623729706, -0.06005583330988884, -0.03275609761476517, 0.0024006180465221405, -0.043184202164411545, 0.016943426802754402, 0.049179013818502426, 0.00667237164452672, 0.07603003829717636, 0.012555007822811604, -0.03873296082019806, 0.06034301221370697, 0.06895831227302551, 0.04243036359548569, 0.0521225780248642, 0.028879210352897644, 0.014601142145693302, -0.05879943445324898, 0.014969087205827236, -0.043148305267095566, 0.009342217817902565, -0.025612574070692062, -0.005909558851271868, -0.04074319824576378, 0.0068698059767484665, 0.0645429715514183, 0.03002791665494442, 0.05172770842909813, 0.03623811528086662, 0.014287042431533337, 0.026474105194211006, 0.09204014390707016, 0.010553744621574879, -0.013362692669034004, -0.0715429037809372, -0.04706108570098877, 0.018774179741740227, -0.012240908108651638, -0.020210063084959984, -0.0420713908970356, -0.04081499204039574, -0.031858667731285095, 0.009422986768186092, 0.002683307509869337, 0.0009467857889831066, 0.001745496061630547, 0.05459947511553764, 0.05345077067613602, -0.027927936986088753, -0.01906135492026806, 0.0372970774769783, -0.023853616788983345, -0.06077377498149872, 0.0633583664894104, 0.046809807419776917, 0.03207405284047127, 0.1193937286734581, -0.024912580847740173, -0.030907396227121353, -0.01433191355317831, -0.017230603843927383, -0.02503822185099125, 0.006281991023570299, -0.04361496493220329, -0.0628558099269867, -0.0480303093791008, -0.02069467306137085, -0.027551017701625824, -0.07581465691328049, 0.00999733991920948, 0.0355919674038887, -0.01870238408446312, -0.04228677228093147, -0.01136142946779728, 0.003098367713391781, -0.1052502691745758, -0.033886853605508804, -0.009503754787147045, -0.0027124739717692137, -0.046163659542798996, 0.008126203902065754, -0.03462274372577667, 0.018253671005368233, 0.014287042431533337, -0.011316558346152306, -0.017589574679732323, -0.015884462743997574, -0.02200491726398468, -0.04372265562415123, -0.005631356034427881, 0.008947350084781647, -0.03397659584879875, -0.029543306678533554, 0.021448511630296707, 0.007349929306656122, -0.004305407404899597, -0.08127101510763168, -0.0044938670471310616, 0.024122845381498337, 0.027497172355651855, -0.020174166187644005, -0.04738416150212288, 0.0233331099152565, -0.004958285950124264, 0.013569100759923458, -0.0002254786086268723, 0.009162732400000095, 0.0014224222395569086, 0.07739412784576416, -0.009728111326694489, 0.03659708425402641, 0.024266432970762253, 0.0533071793615818, 0.0011184187605977058, 0.02471514791250229, -0.07007112354040146, -0.07025060802698135, 0.004256048705428839, -0.03826630115509033, -0.07502491772174835, 0.029184335842728615, 0.019599812105298042, 0.011253737844526768, 0.018083160743117332, -0.06321477890014648, 0.021825430914759636, -0.05158412083983421, 0.03575350344181061, 0.00590507173910737, 0.06368143856525421, 0.053199488669633865, 0.03704579919576645, 0.025433089584112167, -0.024786941707134247, 0.03744066506624222, -0.04781492426991463, 0.03137405961751938, 0.04146113991737366, -0.02430233173072338, 0.024122845381498337, 0.01116399560123682, -0.05531741678714752, 0.013892174698412418, -0.012178088538348675, 0.043830350041389465, 0.03539453074336052, -0.037189386785030365, -0.015678055584430695, 0.05402512103319168, -0.027551017701625824, -0.06059429049491882, 0.006160838529467583, -0.049250807613134384, 0.0533071793615818, -0.005034566856920719, -0.003639067756012082, -0.0008996708784252405, -0.06777370721101761, 0.02371002919971943, 0.0027012561913579702, 0.020604930818080902, -0.0740915983915329, 0.02200491726398468, -0.017257526516914368, -0.0036300932988524437, -0.04009705036878586, 0.0459841750562191, 0.011774245649576187, -0.006605064962059259, 0.0233331099152565, 0.05908661335706711, 0.007942231371998787, 0.0075249276123940945, 0.02731768600642681, -0.07279930263757706, 0.03246891871094704, 0.005653792060911655, -0.014251145534217358, 0.0355919674038887, -0.016737019643187523, -0.020766466856002808, 0.008525559678673744, -0.025289500132203102, 0.04630724713206291, 0.02907664328813553, 0.013183207251131535, -0.02907664328813553, 0.028125371783971786, -0.014771653339266777, -0.030781755223870277, -0.013793457299470901, 0.07768130302429199, 0.008085819892585278, -0.014879344031214714, 0.029130490496754646, 0.06174299865961075, 0.001112248981371522, 0.009548625908792019, -0.006990958470851183, -0.0050704642198979855, 0.014538321644067764, -0.022794652730226517, 0.02701256051659584, -0.008637737482786179, -0.007816591300070286, 0.019115202128887177, 0.014610116370022297, 0.04828158766031265, 0.0979272648692131, 0.031517647206783295, -0.01999467983841896, 0.03555607050657272 ]
41,038
pyglove.core.symbolic.list
append
Appends an item.
def append(self, value: Any) -> None: """Appends an item.""" if base.treats_as_sealed(self): raise base.WritePermissionError('Cannot append element on a sealed List.') if self.max_size is not None and len(self) >= self.max_size: raise ValueError(f'List reached its max size {self.max_size}.') update = self._set_item_without_permission_check(len(self), value) if flags.is_change_notification_enabled() and update: self._notify_field_updates([update])
(self, value: Any) -> NoneType
[ 0.004111587535589933, 0.005262300837785006, -0.028112811967730522, 0.027422385290265083, 0.0263424851000309, -0.02487311139702797, -0.008785254321992397, -0.009214558638632298, 0.014525542967021465, -0.030148690566420555, -0.012383446097373962, -0.02660803310573101, -0.008674608543515205, 0.011037996970117092, 0.017508545890450478, 0.050418950617313385, -0.0016840248135849833, -0.012348040007054806, 0.00032059536897577345, 0.0414256826043129, 0.007284900639206171, 0.03508790582418442, 0.026661142706871033, 0.013233203440904617, -0.013658082112669945, 0.008085974492132664, 0.022571684792637825, 0.031193183735013008, 0.03152954578399658, 0.02347455359995365, 0.008802956901490688, -0.05342850834131241, -0.017145629972219467, -0.04078836366534233, 0.05548208951950073, 0.04716154560446739, -0.07548679411411285, -0.0015435050008818507, -0.018358303233981133, 0.007590282242745161, -0.0023235557600855827, 0.014941570349037647, 0.02193436771631241, -0.0035782759077847004, 0.049958664923906326, 0.06008494272828102, -0.012126748450100422, 0.12498517334461212, 0.033777862787246704, -0.03777880594134331, -0.04124864935874939, 0.08327624201774597, -0.010515749454498291, -0.02956448122859001, -0.040611330419778824, 0.052862003445625305, 0.018234381452202797, 0.00572701171040535, 0.03388408198952675, 0.05080842226743698, 0.033087436109781265, -0.02273101545870304, 0.013693489134311676, -0.13957267999649048, 0.02809510938823223, 0.01233033649623394, -0.015809031203389168, 0.0008243090705946088, 0.004868402611464262, 0.030644381418824196, 0.015870992094278336, -0.005873064044862986, -0.044293612241744995, 0.004051839001476765, -0.028661614283919334, 0.036504168063402176, -0.00542163010686636, 0.06571458280086517, -0.012719808146357536, -0.0033746883273124695, 0.06560836732387543, 0.025280287489295006, 0.05976628139615059, 0.035760629922151566, -0.020093224942684174, 0.03707067295908928, -0.05583615228533745, -0.023757806047797203, -0.0043815625831484795, 0.05562371388077736, 0.012312632985413074, 0.036220915615558624, -0.0007844766951166093, -0.013082725927233696, 0.008696737699210644, -0.055269647389650345, -0.011666463688015938, -0.060686852782964706, 0.012693253345787525, 0.055057208985090256, -0.03485776484012604, 0.03689363971352577, 0.061642829328775406, -0.027705637738108635, 0.0011518198298290372, -0.0263424851000309, 0.04684288427233696, -0.005240171682089567, -0.0019241254776716232, 0.06730788201093674, 0.05385338515043259, 0.03374245762825012, 0.008263006806373596, -0.01071933750063181, -0.05250793695449829, 0.10664457082748413, -0.02589990198612213, -0.03299891948699951, 0.035247236490249634, -0.003817270277068019, -0.01549037266522646, 0.004903809167444706, 0.01710137166082859, -0.0052490234375, 0.020110929384827614, 0.016118839383125305, -0.08816234767436981, -0.039867792278528214, 0.025545837357640266, -0.015189416706562042, -0.045284997671842575, -0.00008775572496233508, -0.006541362963616848, -0.0068246154114604, 0.023279815912246704, -0.019455907866358757, -0.0029254674445837736, -0.016773860901594162, -0.015809031203389168, -0.0006998329190537333, -0.03586684912443161, -0.01876547932624817, 0.09354414790868759, 0.002859080210328102, 0.02027025818824768, -0.011958567425608635, -0.019331984221935272, 0.04663044586777687, -0.01489731203764677, 0.01560544315725565, -0.03979697823524475, 0.009108338505029678, -0.02462526597082615, 0.040894582867622375, -0.022270729765295982, 0.010560007765889168, -0.03763717785477638, -0.05562371388077736, 0.02659033052623272, -0.013463346287608147, -0.0014273271663114429, -0.029121899977326393, 0.011409766040742397, 0.024129575118422508, -0.04811752215027809, 0.045532841235399246, -0.008794105611741543, 0.019916193559765816, -0.054561518132686615, 0.05583615228533745, 0.03809746354818344, -0.034326665103435516, 0.026554923504590988, 0.04323141649365425, -0.006218277849256992, 0.005063138902187347, -0.02074824646115303, 0.030644381418824196, 0.014737983234226704, -0.09920919686555862, -0.044789306819438934, -0.023492256179451942, 0.004450162872672081, -0.01924346759915352, -0.015331042930483818, 0.0019606384448707104, -0.02974151447415352, 0.03291040286421776, 0.024766892194747925, 0.04347926378250122, -0.010825557634234428, -0.01220641378313303, 0.020659731701016426, -0.10515750199556351, -0.08044371753931046, -0.00411380035802722, -0.020447291433811188, -0.02975921891629696, -0.06429832428693771, 0.022040586918592453, -0.043302230536937714, -0.04539121687412262, 0.040611330419778824, -0.035760629922151566, 0.011418617330491543, -0.008174491114914417, -0.0061518908478319645, -0.030184097588062286, -0.0008154574315994978, -0.035512786358594894, -0.03278648108243942, 0.04262950271368027, -0.0229080468416214, 0.011153068393468857, -0.003792928298935294, -0.0677681639790535, -0.06684759259223938, -0.061607424169778824, -0.042381659150123596, 0.008108103647828102, 0.01023249700665474, -0.014968125149607658, -0.06153661012649536, -0.029953954741358757, -0.0008110316121019423, -0.020801357924938202, 0.02313818968832493, -0.052401717752218246, 0.03809746354818344, 0.023757806047797203, 0.004082819446921349, 0.022748718038201332, -0.018198974430561066, -0.01926117204129696, -0.0439041405916214, 0.05788973346352577, -0.029936250299215317, -0.023987947031855583, -0.051587365567684174, 0.035530488938093185, 0.012613588944077492, -0.012392297387123108, 0.012277226895093918, 0.07237102091312408, -0.027015209197998047, 0.04907349869608879, -0.0031224165577441454, 0.06918442994356155, 0.016942040994763374, 0.0049923257902264595, 0.04277113080024719, 0.02248316816985607, -0.02149178460240364, -0.02173963189125061, 0.012091342359781265, -0.01026790402829647, -0.0376017726957798, -0.0498170368373394, -0.010710486210882664, -0.03848693519830704, 0.006532511208206415, 0.00585978664457798, 0.022518575191497803, 0.014366214163601398, -0.06249258667230606, -0.00904637761414051, -0.0002492290223017335, 0.048188336193561554, -0.02320900373160839, 0.0660332441329956, 0.02591760642826557, -0.020942984148859978, 0.04181515425443649, -0.047232359647750854, -0.02004011534154415, 0.002865718910470605, 0.03806205838918686, 0.052401717752218246, -0.04737398400902748, 0.0341673344373703, 0.02951137162744999, 0.02565205655992031, -0.005479165818542242, -0.029670702293515205, -0.007957625202834606, 0.02124393917620182, 0.05608399957418442, 0.06638731062412262, -0.05799595266580582, 0.0012082490138709545, 0.01807505078613758, 0.0012790621258318424, 0.010905222035944462, 0.04326682165265083, 0.04004482552409172, -0.0028679317329078913, -0.010347568430006504, 0.035052500665187836, 0.0536409467458725, -0.0037685863208025694, 0.007368991617113352, 0.018907105550169945, -0.027280759066343307, -0.01734921708703041, 0.016154244542121887, -0.06978633999824524, 0.026767363771796227, 0.012498517520725727, -0.04057592526078224, 0.03413192927837372, 0.00555440504103899, 0.02853769063949585, -0.04935675114393234, 0.03489316999912262, 0.06043900549411774, 0.025687463581562042, -0.006227129604667425, -0.03489316999912262, -0.03841612488031387, 0.020411884412169456, -0.07746956497430801, -0.014366214163601398, -0.059695467352867126, -0.04592231661081314, -0.002540420973673463, -0.03521182760596275, 0.051410332322120667, 0.06631650030612946, -0.0052578747272491455, 0.004226658493280411, 0.006727247498929501, -0.06100551038980484, -0.01109995786100626, 0.02828984521329403, -0.01586214080452919, 0.005665050353854895, 0.009763360023498535, -0.011728424578905106, 0.012055935338139534, -0.0026554923970252275, -0.07017581164836884, 0.022589389234781265, -0.0150300869718194, 0.014144922606647015, 0.06819304823875427, -0.04783426970243454, 0.06702462583780289, 0.036026179790496826, 0.025970716029405594, -0.011285842396318913, -0.01429540105164051, -0.03567211329936981, -0.05126870796084404, -0.046772073954343796, 0.0429481640458107, -0.06911361217498779, -0.03469843417406082, -0.0038770188111811876, 0.007687650620937347, -0.05951843783259392, -0.002551485551521182, -0.024023354053497314, 0.003981025889515877, 0.016366684809327126, -0.06730788201093674, 0.018013089895248413, -0.015366449020802975, -0.0320606455206871, 0.07141504436731339, -0.035760629922151566, -0.005403927061706781, -0.05781891942024231, 0.053782571107149124, 0.024519046768546104, 0.06854710727930069, 0.014711427502334118, 0.005280003882944584, 0.031193183735013008, -0.04514336958527565, 0.02759941667318344, 0.01998700574040413, -0.018145864829421043, -0.001249187858775258, -0.025227177888154984, 0.07506191730499268, 0.03374245762825012, 0.02219991572201252, -0.010471492074429989, -0.0435146689414978, -0.002558124251663685, 0.023970244452357292, -0.001581124379299581, -0.05250793695449829, -0.012162155471742153, -0.06904280185699463, 0.038663968443870544, -0.006510382052510977, -0.005302133038640022, -0.024041058495640755, 0.0302549097687006, 0.01318894512951374, -0.001770328264683485, -0.016163097694516182, 0.051339518278837204, -0.044081173837184906, -0.0072008101269602776, -0.03021950274705887, 0.0003521293692756444, -0.0272984616458416, 0.002640001941472292, 0.011790386401116848, -0.03195442631840706, -0.02050040103495121, -0.0038482509553432465, 0.05548208951950073, -0.012011677026748657, -0.0120736388489604, -0.058491647243499756, 0.018871698528528214, 0.013976741582155228, -0.047515612095594406, 0.016906633973121643, -0.03806205838918686, 0.12052394449710846, -0.03347690775990486, -0.05937680974602699, -0.01637553609907627, -0.006395310629159212, -0.006156316492706537, -0.0752035453915596, 0.039690759032964706, 0.022093696519732475, -0.015835586935281754, 0.028272142633795738, -0.02591760642826557, -0.009320777840912342, -0.005324262194335461, -0.10175846517086029, -0.04181515425443649, -0.02267790585756302, -0.006001412868499756, -0.0075415982864797115, -0.008502001874148846, 0.05810217186808586, 0.04850699380040169, -0.031405624002218246, -0.011932012625038624, -0.011259287595748901, 0.03154724836349487, -0.031883612275123596, 0.030697492882609367, -0.019650643691420555, 0.039903197437524796, 0.0801604613661766, -0.06564377248287201, -0.051339518278837204, -0.057004570960998535, -0.05130411311984062, 0.06036819517612457, -0.06613946706056595, 0.003872593166306615, 0.05633184686303139, -0.0039013607893139124, -0.04634719341993332, -0.006917557679116726, 0.03489316999912262, 0.010329865850508213, 0.027758747339248657, -0.007638966664671898, 0.038239091634750366, 0.03643335402011871, -0.030166393145918846, 0.017738688737154007, -0.08023127913475037, 0.04100080206990242, -0.009409294463694096, 0.045284997671842575, -0.04588690772652626, -0.00009515514102531597, -0.01097603514790535, 0.048259150236845016, 0.0046117049641907215, -0.01586214080452919, 0.029706107452511787, -0.014923866838216782, -0.017968831583857536, 0.003080371068790555, 0.01901332475244999, 0.036256324499845505, 0.04832996055483818, 0.02784726396203041, -0.04861321300268173, -0.03731852024793625, 0.028484581038355827, 0.002859080210328102, 0.0022416780702769756, -0.004089458379894495, -0.03498168662190437, 0.019119545817375183, 0.022093696519732475, -0.009418146684765816, -0.014437027275562286, -0.011772682890295982, -0.012091342359781265, -0.028148218989372253, 0.011064551770687103, 0.0025205048732459545, 0.029405152425169945, -0.05045435577630997, 0.0077496119774878025, 0.02219991572201252, 0.04779886454343796, 0.056013185530900955, -0.011675314977765083, 0.024448232725262642, 0.0005092459614388645, -0.03494628146290779, -0.005948302801698446, 0.021544894203543663, -0.03241471201181412, 0.033052027225494385, 0.023386036977171898, -0.020146336406469345, -0.06302368640899658, 0.0062846653163433075, -0.04556825011968613, -0.07392890751361847, -0.03682282939553261, 0.01657027192413807, 0.03763717785477638, -0.022253025323152542, 0.008599369786679745, 0.017818354070186615, -0.019686050713062286, 0.0507730133831501, 0.044753897935152054, 0.014003296382725239, 0.030184097588062286, -0.026183154433965683, -0.037707991898059845, -0.018889402970671654, 0.00008796318434178829, -0.003819483332335949, -0.05491558089852333, -0.05183521285653114, -0.023846320807933807, -0.013224352151155472, -0.039619944989681244, 0.014313103631138802, -0.025811385363340378, -0.03979697823524475, 0.012896841391921043, 0.019686050713062286, 0.03517642244696617, 0.01718103513121605, -0.060616038739681244, 0.0006035713013261557, -0.00878082774579525, -0.004753331188112497, 0.016526013612747192, 0.010595414787530899, -0.0020768162794411182, -0.016171948984265327, 0.000596932542975992, 0.04216922074556351, 0.006705118343234062, -0.048684027045965195, 0.0022593813482671976, 0.0746370404958725, -0.019668346270918846, 0.002220655558630824, -0.0324501171708107, -0.029157306998968124, -0.04054051637649536, -0.01258703414350748, -0.004660388920456171, -0.035318050533533096, 0.027687933295965195, -0.013401385396718979, -0.029440559446811676, -0.07226479798555374, 0.019951598718762398, -0.0006876618717797101, -0.05615481361746788, 0.05583615228533745, 0.006926409434527159, -0.022288432344794273, 0.03287499397993088, -0.07725712656974792, 0.04641800746321678, -0.012392297387123108, 0.04032807797193527, -0.02246546559035778, -0.04443524032831192, 0.02883864752948284, -0.014020999893546104, -0.05048976093530655, -0.03342379629611969, 0.010037761181592941, 0.04631178826093674, 0.008338246494531631, 0.04422279819846153, -0.05243712291121483, 0.018871698528528214, 0.040363483130931854, 0.017853761091828346, -0.01425999402999878, -0.012144451960921288, -0.010630820877850056, -0.008617072366178036, 0.001074921223334968, 0.07938151806592941, -0.016844673082232475, -0.0018367156153544784, -0.05590696632862091, 0.008183342404663563, -0.011834644712507725, 0.011259287595748901, 0.07226479798555374, 0.02830754965543747, 0.032361600548028946, 0.05289740860462189, 0.0119762709364295, 0.019367391243577003, -0.04666585475206375, -0.08596713840961456, -0.018198974430561066, 0.026696549728512764, -0.018446819856762886, -0.020889872685074806, 0.007329158950597048, 0.019703753292560577, -0.019331984221935272, 0.021651115268468857, -0.0055632563307881355, -0.007754037622362375, -0.00012724233965855092, -0.03459221497178078, 0.052578750997781754, 0.013959038071334362, -0.01710137166082859, -0.005204765126109123, -0.01954442448914051, 0.0012790621258318424, -0.007090164814144373, 0.06536051630973816, -0.01597721315920353, -0.01477338932454586, -0.053109847009181976, -0.023368332535028458, 0.040398892015218735, -0.035512786358594894, 0.021527191624045372, -0.016295870766043663, 0.05123329907655716, 0.027652528136968613, 0.03710608184337616, 0.027475494891405106, -0.039195068180561066, -0.004177974537014961, -0.017765244469046593, -0.04369170218706131, 0.048896465450525284, -0.007833702489733696, 0.05102086067199707, 0.019101841375231743, 0.0014439240330830216, -0.005616366397589445, 0.06281124800443649, 0.029175009578466415, -0.017145629972219467, -0.03345920518040657, -0.022766420617699623, 0.09021592885255814, 0.06532511115074158, -0.05619021877646446, -0.026200858876109123, 0.0425586923956871, 0.026466406881809235, 0.010595414787530899, -0.018747776746749878, -0.025475023314356804, -0.01851763390004635, -0.015950657427310944, 0.02542191371321678, 0.06401506811380386, -0.026006123051047325, 0.02558124251663685, -0.006523659452795982, -0.065289705991745, 0.002593530807644129, -0.06097010523080826, -0.04776345565915108, 0.010294458828866482, 0.012870286591351032, 0.015065493062138557, -0.006567917764186859, 0.017836056649684906, -0.004558595363050699, 0.030095580965280533, 0.04372710734605789, 0.07754037529230118, 0.023722399026155472, -0.012516221031546593, 0.05045435577630997, 0.006200574804097414, -0.0229080468416214, 0.01725184917449951, 0.027209945023059845, 0.0005598663119599223, 0.000001486799078520562, 0.10480343550443649, -0.0339725986123085, -0.02565205655992031, -0.05031272768974304, -0.03873478248715401, 0.05565911903977394, -0.005266726482659578, -0.041107021272182465, 0.03172428160905838, 0.03216686472296715, 0.03498168662190437, 0.05509261414408684, -0.07669062167406082, -0.023793211206793785, -0.04376251623034477, 0.016826970502734184, -0.05881030485033989, 0.014844202436506748, 0.025315694510936737, 0.032113753259181976, 0.0075415982864797115, 0.02441282756626606, 0.034043412655591965, 0.0704236552119255, 0.007085738703608513, -0.0454266220331192, 0.04117783531546593, -0.02487311139702797, 0.013985592871904373, 0.05148114636540413, -0.0068954285234212875, 0.04224003106355667, -0.02313818968832493, -0.07180451601743698, -0.059943314641714096, -0.010763595812022686, -0.004133716691285372, -0.017898019403219223, 0.062032300978899, 0.027918076142668724, 0.01731381006538868, -0.0071034422144293785, 0.04029267281293869, 0.06366100162267685, -0.01489731203764677, 0.0339725986123085, -0.0018212251598015428, 0.006678563542664051, -0.051870618015527725, -0.008404633030295372, 0.012728660367429256, 0.05951843783259392, 0.015083196572959423, -0.018013089895248413, 0.05031272768974304, -0.0492505319416523, 0.028732428327202797 ]
41,039
pyglove.core.symbolic.list
clear
Clears the list.
def clear(self) -> None: """Clears the list.""" if base.treats_as_sealed(self): raise base.WritePermissionError('Cannot clear a sealed List.') if self._value_spec and self._value_spec.min_size > 0: raise ValueError( f'List cannot be cleared: min size is {self._value_spec.min_size}.') super().clear()
(self) -> NoneType
[ 0.010910168290138245, 0.009681226685643196, 0.009212637320160866, -0.026665369048714638, -0.01842527464032173, -0.013147017918527126, -0.02783242240548134, -0.039184655994176865, 0.031050655990839005, 0.010335483588278294, -0.06882070004940033, -0.005738005507737398, 0.02374774031341076, -0.02374774031341076, -0.015728678554296494, 0.04763694107532501, 0.028345217928290367, 0.008483230136334896, 0.034905463457107544, -0.018389910459518433, 0.00007425313378917053, 0.0037884984631091356, 0.01893807016313076, 0.0623488686978817, -0.03504692390561104, 0.00031055076397024095, 0.012015330605208874, -0.0029662572778761387, 0.00969890970736742, -0.0047919861972332, -0.003642616793513298, 0.04501991346478462, -0.013129334896802902, 0.018885023891925812, 0.01892038807272911, -0.028203757479786873, -0.02830985188484192, 0.00016784660692792386, -0.04724792391061783, 0.02136058732867241, 0.0024534615222364664, -0.0004050421994179487, 0.04572721943259239, -0.01632988639175892, 0.06188911944627762, 0.05559411272406578, 0.06804266571998596, 0.08211801946163177, 0.025480635464191437, -0.028645820915699005, -0.011979965493083, 0.09548607468605042, -0.020441092550754547, 0.025321491062641144, -0.014676563441753387, 0.025498317554593086, 0.02848667837679386, 0.01449089590460062, 0.07285233587026596, 0.006219856906682253, 0.0011416332563385367, -0.00634805578738451, -0.03731029853224754, -0.14938265085220337, 0.027726326137781143, -0.018124671652913094, -0.0008559486595913768, 0.004500223323702812, 0.015472279861569405, 0.004783145152032375, -0.032500628381967545, -0.023783104494214058, -0.02228008396923542, 0.06998775154352188, 0.020564870908856392, -0.03794687241315842, 0.035842642188072205, 0.03738103061914444, -0.0029552055057138205, -0.07822784781455994, 0.056195322424173355, 0.031545769423246384, 0.012289411388337612, 0.05318927764892578, -0.024543456733226776, 0.015772884711623192, 0.026930609717965126, 0.018027417361736298, 0.012298252433538437, 0.04629306122660637, 0.017638400197029114, 0.06616830825805664, -0.04646988958120346, -0.04696500301361084, 0.032217707484960556, 0.03481705114245415, -0.042296793311834335, -0.0718267485499382, -0.03334939479827881, -0.023623961955308914, 0.007590258494019508, 0.0383005253970623, 0.027248896658420563, 0.03433962166309357, -0.009663544595241547, 0.01725822314620018, 0.05679653212428093, -0.052411243319511414, -0.020529504865407944, 0.09279831498861313, -0.009371780790388584, 0.052870992571115494, 0.009504401125013828, -0.005928093567490578, -0.002813744591549039, 0.054320964962244034, -0.054497793316841125, -0.0575391985476017, 0.006339214276522398, -0.0073559642769396305, 0.03396828472614288, 0.0027540659066289663, -0.01464119739830494, -0.04406505450606346, 0.06015622615814209, 0.05676116421818733, -0.07511571049690247, -0.01892038807272911, 0.025250760838389397, 0.02348250150680542, -0.016179583966732025, -0.003266861429437995, -0.008730786852538586, 0.03409206494688988, 0.006905057467520237, -0.019256357103586197, 0.028415948152542114, -0.06553173810243607, -0.0431809239089489, 0.025038570165634155, 0.001624589436687529, 0.033667683601379395, 0.06920971721410751, 0.05492217466235161, 0.028610456734895706, 0.0068873749114573, 0.014287545345723629, -0.015039056539535522, -0.031298212707042694, 0.021289857104420662, -0.05421486869454384, 0.007793608587235212, -0.014818023890256882, -0.057857487350702286, -0.03911392390727997, 0.04201387241482735, -0.03953830897808075, -0.0335615873336792, -0.03212929517030716, -0.0019119317876175046, -0.01962769217789173, 0.020476458594202995, 0.03156345337629318, 0.007855497300624847, -0.059837937355041504, -0.017196334898471832, -0.0031364522874355316, -0.07355964183807373, -0.0575391985476017, 0.008576064370572567, 0.02563977800309658, -0.052128322422504425, 0.026417814195156097, 0.02470260113477707, 0.031492721289396286, 0.007263130508363247, -0.029865922406315804, 0.01892038807272911, 0.0024888268671929836, -0.07688397169113159, -0.02562209591269493, -0.06135864183306694, -0.039891958236694336, -0.03133357688784599, 0.024295900017023087, 0.038477350026369095, -0.056902624666690826, -0.008195888251066208, -0.000624417036306113, 0.0005686063086614013, -0.06609757989645004, -0.008173784241080284, 0.008792676031589508, -0.06567320227622986, -0.03741639479994774, -0.026417814195156097, -0.03218234330415726, -0.024631870910525322, -0.014225656166672707, -0.06800730526447296, -0.04671744629740715, -0.014517419971525669, 0.07087188214063644, -0.059590380638837814, 0.002292107790708542, 0.030025064945220947, -0.004955550190061331, -0.04597477614879608, -0.01533081941306591, 0.018778927624225616, -0.029636047780513763, 0.002191537991166115, -0.0017262643668800592, -0.030732369050383568, 0.04010415077209473, -0.13014398515224457, -0.05842332914471626, -0.05566484481096268, -0.009327574633061886, -0.008050006814301014, 0.01962769217789173, -0.03066163882613182, -0.018336862325668335, -0.05661970376968384, 0.009619337506592274, 0.027514135465025902, -0.009486718103289604, -0.04650525376200676, -0.0038636494427919388, 0.0020633391104638577, 0.026311717927455902, -0.04392359405755997, 0.006264063064008951, -0.005892728455364704, -0.06012086197733879, 0.05106736719608307, -0.027956200763583183, -0.015489962883293629, -0.05676116421818733, -0.0053887739777565, -0.05969647690653801, -0.044666264206171036, 0.025109300389885902, 0.06655733287334442, -0.027726326137781143, 0.0767425075173378, -0.003521048929542303, 0.054745350033044815, 0.03517070412635803, -0.022863609716296196, -0.011670519597828388, -0.005441822111606598, 0.014455530792474747, -0.027867786586284637, 0.06312690675258636, -0.05495753884315491, -0.04933447018265724, -0.022244717925786972, -0.016100013628602028, -0.03748712316155434, -0.0003732687619049102, -0.056407514959573746, 0.015940869227051735, 0.06585002690553665, 0.03322561830282211, 0.04332238435745239, 0.022173987701535225, 0.08169364184141159, -0.02109534852206707, 0.03315488621592522, 0.06295007467269897, -0.04127120226621628, 0.044489435851573944, -0.05149174854159355, -0.022686783224344254, 0.0575745664536953, 0.026187939569354057, -0.027867786586284637, -0.010662611573934555, 0.055947765707969666, 0.07115481048822403, 0.024401996284723282, 0.015145151875913143, 0.034374985843896866, 0.0052738371305167675, 0.04618696868419647, 0.007882021367549896, -0.06493052840232849, -0.058317236602306366, 0.007753822952508926, 0.02655927464365959, 0.0038945940323174, 0.053790487349033356, 0.004471489228308201, 0.07164991647005081, -0.032500628381967545, 0.025091618299484253, -0.003768605412915349, 0.00640110345557332, 0.015260089188814163, -0.015993917360901833, -0.004783145152032375, -0.0008548434707336128, -0.009212637320160866, 0.06132327765226364, -0.10050792992115021, 0.017682606354355812, 0.01872587949037552, 0.025109300389885902, 0.02968909591436386, -0.004281401168555021, 0.05559411272406578, -0.026895243674516678, 0.016002759337425232, 0.04894545301795006, 0.006564667448401451, 0.013474145904183388, -0.00249103712849319, -0.007687512785196304, 0.06662806123495102, -0.04487845301628113, -0.01053883321583271, -0.022916657850146294, -0.03265977278351784, -0.012811047956347466, -0.04696500301361084, 0.009071176871657372, 0.04597477614879608, -0.015489962883293629, 0.006564667448401451, -0.017311271280050278, -0.03218234330415726, 0.017152128741145134, -0.030732369050383568, -0.023447135463356972, -0.006604453548789024, 0.017328953370451927, 0.03403901681303978, 0.0023009490687400103, -0.025286126881837845, -0.014048830606043339, 0.007196820806711912, 0.013500669971108437, 0.01331500243395567, -0.008912033401429653, 0.00984921120107174, 0.054320964962244034, -0.005189844872802496, 0.039432212710380554, -0.020936205983161926, 0.042084600776433945, 0.018531370908021927, 0.01730242930352688, -0.012704952619969845, 0.07950099557638168, -0.02664768695831299, -0.0431809239089489, 0.025798922404646873, -0.013102810829877853, -0.036744456738233566, 0.07034140825271606, -0.0033552744425833225, -0.025250760838389397, -0.029335442930459976, -0.0028071138076484203, -0.03492314741015434, -0.02088315784931183, -0.07462059706449509, 0.016435982659459114, -0.005185424350202084, -0.019344771280884743, -0.09633483737707138, -0.04144802689552307, -0.027461087331175804, 0.034392669796943665, 0.03506460785865784, -0.00767867173999548, 0.055947765707969666, -0.037274934351444244, 0.06178302690386772, 0.023341039195656776, 0.013827797956764698, -0.0005072697531431913, -0.031298212707042694, -0.012457395903766155, 0.016842681914567947, -0.04823815077543259, -0.016674697399139404, -0.032005518674850464, 0.032925013452768326, 0.010865961201488972, -0.02130754105746746, -0.0287519171833992, -0.005698219873011112, -0.04402969032526016, 0.0814814493060112, 0.007050939369946718, 0.01475613471120596, -0.024631870910525322, 0.007855497300624847, 0.029070204123854637, -0.02304043620824814, -0.022686783224344254, 0.024012979120016098, -0.006692866329103708, -0.022828243672847748, 0.010618404485285282, -0.052128322422504425, 0.0015295454068109393, -0.009787322022020817, 0.10567125678062439, -0.004840613342821598, 0.02898179180920124, 0.04866253212094307, 0.05626605078577995, -0.03145735710859299, -0.03278355300426483, -0.020794745534658432, 0.07256941497325897, 0.021148396655917168, 0.0031320315320044756, 0.031245164573192596, 0.00014933513011783361, 0.07822784781455994, -0.03163418173789978, -0.027390357106924057, -0.041589491069316864, 0.012413189746439457, -0.01650671288371086, -0.04194314032793045, 0.011617472395300865, -0.004349920898675919, -0.03649690002202988, -0.01870819739997387, -0.06305617094039917, 0.043110191822052, -0.047566208988428116, -0.01535734347999096, -0.05580630525946617, -0.01306744571775198, 0.011414121836423874, -0.027903152629733086, 0.03140430897474289, 0.04738938435912132, 0.0837448239326477, 0.021961797028779984, -0.03400365263223648, 0.0526941642165184, -0.024844061583280563, -0.00473893852904439, -0.002094283699989319, 0.007170296739786863, 0.0020611288491636515, -0.024844061583280563, -0.08261313289403915, -0.010158657096326351, -0.04116510599851608, 0.005671695806086063, -0.02539222314953804, -0.04293336719274521, 0.0598733052611351, 0.032995741814374924, -0.03815906494855881, -0.06655733287334442, 0.016197267919778824, 0.037062741816043854, -0.01149369403719902, 0.026011113077402115, -0.013712860643863678, 0.013898528181016445, 0.016214950010180473, -0.03748712316155434, -0.034657906740903854, -0.06333909183740616, -0.015392708592116833, -0.004429492633789778, 0.041801679879426956, 0.005972300190478563, 0.019839884713292122, 0.003971955273300409, 0.05845869705080986, -0.007607941050082445, 0.039184655994176865, 0.009778480976819992, -0.007086304482072592, -0.01065377052873373, -0.04130656644701958, -0.031298212707042694, 0.006153546739369631, 0.012315935455262661, -0.007064200937747955, -0.0767425075173378, -0.020423410460352898, 0.010264752432703972, 0.031298212707042694, -0.020688649266958237, -0.0015792777994647622, -0.04650525376200676, 0.024154439568519592, 0.011590948328375816, 0.020476458594202995, -0.015410391613841057, -0.0276025477796793, 0.003169607138261199, 0.018080465495586395, -0.020458774641156197, 0.033649999648332596, 0.006317111197859049, -0.03264209255576134, -0.04823815077543259, -0.011829663068056107, 0.05842332914471626, 0.048308879137039185, 0.014897595159709454, 0.017585352063179016, 0.004042685963213444, -0.04141266271471977, 0.004283611197024584, 0.040846820920705795, -0.012775682844221592, -0.0454442985355854, 0.03794687241315842, -0.0431455597281456, -0.007342702243477106, -0.03911392390727997, -0.03564813360571861, -0.050713714212179184, -0.03692128136754036, 0.0552050955593586, 0.025798922404646873, 0.02203252725303173, -0.020688649266958237, -0.02922934852540493, 0.012218681164085865, 0.02353554777801037, 0.019839884713292122, -0.0552050955593586, -0.047778401523828506, -0.020476458594202995, 0.030573226511478424, -0.012890620157122612, 0.014720769599080086, 0.029812874272465706, -0.02394224889576435, -0.045868679881095886, -0.007842236198484898, -0.024543456733226776, -0.008310824632644653, -0.02680683135986328, 0.043039463460445404, -0.026718417182564735, -0.03142198920249939, 0.03646153211593628, -0.05923673138022423, 0.025533683598041534, -0.01626799814403057, 0.04342848062515259, 0.0041907774284482, 0.020953888073563576, 0.000511137826833874, -0.014393641613423824, 0.023164214566349983, 0.037522491067647934, -0.029140934348106384, 0.04526747018098831, -0.011811980977654457, -0.055240459740161896, 0.0054374015890061855, 0.04597477614879608, 0.037274934351444244, 0.006096078548580408, -0.030608590692281723, 0.01424333918839693, -0.015764042735099792, -0.011838505044579506, -0.014190291054546833, -0.013093969784677029, 0.02325262688100338, -0.014340593479573727, -0.034887783229351044, -0.02228008396923542, 0.0026126049924641848, -0.021042300388216972, -0.10984434932470322, 0.05202222615480423, 0.036532264202833176, -0.018142353743314743, -0.02010512351989746, -0.06531954556703568, 0.014853389002382755, 0.014048830606043339, 0.042296793311834335, 0.0359487384557724, -0.037062741816043854, -0.020900839939713478, 0.030148843303322792, 0.00014961142733227462, -0.058600157499313354, -0.0384066216647625, 0.08756426721811295, 0.011051628738641739, 0.0239245668053627, -0.005508131813257933, 0.00900486670434475, 0.010388530790805817, 0.0335615873336792, 0.006860851310193539, 0.0035763070918619633, 0.02111303247511387, -0.028858013451099396, -0.0046593667939305305, 0.05159784480929375, -0.017682606354355812, -0.01700182631611824, -0.007484163157641888, -0.021431319415569305, 0.016657015308737755, -0.009380622766911983, 0.04480772465467453, 0.01089248526841402, 0.02899947389960289, -0.002048972062766552, -0.05828186869621277, 0.003023725701496005, -0.032925013452768326, 0.001748367678374052, -0.03547130897641182, 0.09456657618284225, -0.019486231729388237, 0.05202222615480423, 0.038441985845565796, -0.04809669032692909, -0.044418707489967346, 0.055452652275562286, -0.004261508118361235, 0.02130754105746746, -0.021979479119181633, -0.01800089329481125, 0.061747658997774124, 0.04353457689285278, 0.06058060750365257, -0.03184637427330017, 0.016869205981492996, 0.051668573170900345, -0.07561082392930984, -0.012766841799020767, -0.05149174854159355, -0.02394224889576435, -0.0012853044318035245, -0.010644928552210331, -0.02998970076441765, 0.01795668713748455, 0.003269071690738201, -0.030838465318083763, -0.000024434461010969244, -0.005768950097262859, 0.005707060918211937, -0.05057225376367569, -0.01964537613093853, -0.015472279861569405, -0.021731922402977943, -0.0044913818128407, 0.03460485860705376, 0.0017671554815024137, 0.04459553211927414, -0.030803099274635315, -0.014632356353104115, 0.06047451123595238, 0.030361033976078033, 0.03497619554400444, -0.008456706069409847, -0.04837961122393608, -0.012439713813364506, 0.07249868661165237, -0.021236808970570564, 0.02783242240548134, 0.003392850048840046, 0.015012532472610474, 0.018796609714627266, 0.008558381348848343, -0.0227751974016428, 0.0004108443099539727, -0.0131735410541296, -0.026665369048714638, -0.002389362081885338, 0.05223441869020462, -0.0791473463177681, -0.013394573703408241, -0.03021957352757454, -0.02422516979277134, -0.012041854672133923, -0.11147114634513855, -0.02949458733201027, -0.01127266138792038, -0.032942693680524826, 0.040882185101509094, -0.030608590692281723, -0.006352476309984922, 0.04760157689452171, 0.021289857104420662, 0.03624934330582619, 0.045161377638578415, -0.007409011945128441, 0.06015622615814209, 0.024012979120016098, 0.03235916793346405, -0.02487942762672901, 0.052163686603307724, -0.02376542240381241, 0.011095834895968437, 0.0790058821439743, 0.09520315378904343, -0.044949185103178024, -0.02518003061413765, -0.005026280879974365, 0.003370746737346053, 0.03400365263223648, -0.0006023137830197811, 0.0053799329325556755, -0.012811047956347466, 0.026276351884007454, 0.026736101135611534, -0.0007194610079750419, -0.02710743434727192, 0.062207408249378204, 0.03264209255576134, -0.019097214564681053, -0.022350814193487167, 0.007024415303021669, -0.011042787693440914, 0.029865922406315804, -0.004761041607707739, -0.001370401936583221, 0.046116236597299576, 0.04905154928565025, 0.012262887321412563, 0.013606765307486057, 0.10192254185676575, 0.032730504870414734, 0.019945979118347168, 0.012749158777296543, -0.010998580604791641, 0.0013284058077260852, 0.027867786586284637, -0.048308879137039185, -0.0035033663734793663, -0.021449001505970955, 0.015622582286596298, -0.007868759334087372, 0.029812874272465706, 0.005658433772623539, -0.023358723148703575, 0.004197408445179462, 0.026700735092163086, 0.04360530525445938, -0.00767867173999548, -0.05704408884048462, -0.010370848700404167, -0.02371237426996231, -0.01007024385035038, 0.003048039274290204, 0.016453664749860764, 0.00498207425698638, 0.04452480375766754, -0.01510978676378727, 0.050925906747579575, -0.008483230136334896, -0.016100013628602028 ]
41,041
pyglove.core.symbolic.list
copy
Shallow current list.
def copy(self) -> 'List': """Shallow current list.""" return List(super().copy(), value_spec=self._value_spec)
(self) -> pyglove.core.symbolic.list.List
[ 0.025001822039484978, -0.031405165791511536, 0.028815049678087234, -0.029912251979112625, -0.060040347278118134, 0.04327653348445892, 0.0036760771181434393, 0.0006419082637876272, 0.040254730731248856, 0.015459759160876274, -0.03489463031291962, -0.044679515063762665, -0.011322767473757267, 0.007158794905990362, 0.03541624918580055, 0.014245642349123955, 0.03496657684445381, -0.02944459207355976, 0.01041442807763815, 0.017627183347940445, 0.0003164574154652655, -0.05673075094819069, 0.00536909606307745, 0.05539971962571144, -0.00595367094501853, -0.013139446265995502, -0.001049424521625042, -0.015279890038073063, -0.02183612249791622, 0.009883813560009003, 0.01978561468422413, -0.02590116672217846, -0.04392406344413757, -0.019731653854250908, 0.04316861182451248, 0.0018919993890449405, -0.06410539150238037, 0.009461120702326298, -0.050543252378702164, -0.003867188235744834, 0.02854524552822113, -0.056263092905282974, -0.012572858482599258, 0.03072166256606579, 0.05122675374150276, 0.02198001928627491, 0.023311050608754158, 0.02550545521080494, 0.03142315149307251, -0.03525436669588089, 0.013283342123031616, 0.07043678313493729, -0.04086628556251526, 0.011322767473757267, -0.03762863948941231, 0.008094115182757378, 0.05302544683218002, 0.02809557132422924, -0.00738363154232502, 0.07950219511985779, -0.00440229894593358, -0.024426240473985672, -0.01486619096249342, -0.13051310181617737, 0.035919882357120514, -0.005076808854937553, -0.03852798789739609, -0.02645876258611679, 0.04705378785729408, -0.0047125737182796, -0.029102839529514313, 0.015684595331549644, 0.013454217463731766, 0.02316715568304062, -0.0062279715202748775, 0.016925694420933723, 0.04302471876144409, 0.03942733258008957, 0.013013537973165512, -0.07313482463359833, -0.04514717310667038, 0.05047130212187767, -0.04075836390256882, 0.04953598231077194, -0.027412069961428642, 0.027160251513123512, 0.00797270331531763, 0.0011893851915374398, 0.013193407095968723, 0.021908070892095566, 0.011286793276667595, 0.05622711777687073, -0.04449964314699173, 0.008215527050197124, 0.013607106171548367, -0.015055053867399693, -0.03849201276898384, -0.05280960351228714, 0.011223839595913887, 0.06180306524038315, -0.035775989294052124, 0.05622711777687073, -0.06601200252771378, -0.008220023475587368, 0.012276073917746544, 0.040506549179553986, 0.017123550176620483, -0.02665661834180355, -0.01382294949144125, 0.027717847377061844, -0.010756179690361023, 0.10569114983081818, -0.0034062734339386225, 0.010198584757745266, 0.0029970707837492228, 0.0057782987132668495, -0.0017615942051634192, -0.03385138884186745, 0.01270776055753231, 0.0068844943307340145, 0.010846113786101341, -0.019281979650259018, 0.0065517365001142025, 0.0028216983191668987, -0.005868233274668455, 0.0715159997344017, -0.003457985818386078, -0.0474494993686676, -0.022915339097380638, -0.023760724812746048, -0.023203128948807716, -0.013580125756561756, -0.021746188402175903, 0.046622101217508316, 0.02541552111506462, -0.038563959300518036, 0.0006115553551353514, 0.012123185209929943, -0.003473724238574505, 0.004049305804073811, 0.011952309869229794, -0.023634815588593483, 0.09209304302930832, 0.06331396847963333, -0.05550764128565788, -0.04529106989502907, 0.0108910808339715, 0.07018496841192245, -0.021296516060829163, 0.05557958781719208, 0.023149168118834496, 0.055723484605550766, 0.02973238192498684, 0.0017694634152576327, -0.03716098144650459, 0.027466028928756714, -0.07389027625322342, -0.07820713520050049, 0.03913954272866249, 0.013858923688530922, -0.05126272886991501, 0.0056928605772554874, 0.02485792525112629, -0.008683186955749989, -0.02759193815290928, 0.0028261952102184296, -0.009865826927125454, -0.09569042176008224, -0.0591769739985466, 0.01665589027106762, 0.022339757531881332, -0.05896113067865372, 0.0367472805082798, 0.05424855649471283, -0.024480201303958893, 0.05036338046193123, -0.008979970589280128, 0.03615371137857437, 0.008485330268740654, -0.031549062579870224, -0.03460683673620224, -0.045075226575136185, -0.038024354726076126, -0.005306141916662455, 0.03913954272866249, 0.009209304116666317, -0.02626090683043003, 0.03390534967184067, 0.05021948739886284, 0.029516538605093956, 0.016637902706861496, 0.016269171610474586, 0.039859019219875336, -0.0643572062253952, -0.09022240340709686, -0.04719768464565277, -0.0578819140791893, -0.015171968378126621, -0.04007486253976822, 0.03784448280930519, -0.025397533550858498, -0.045866649597883224, 0.04932013899087906, -0.048061054199934006, 0.009865826927125454, 0.022339757531881332, -0.06219877675175667, -0.017510268837213516, 0.022663522511720657, 0.014191681519150734, 0.0010252546053379774, 0.01944386214017868, 0.02595512755215168, -0.012330034747719765, 0.0009735421626828611, -0.05036338046193123, -0.07255924493074417, -0.06543642282485962, 0.039499279111623764, -0.016970660537481308, 0.053637001663446426, -0.04385211691260338, -0.11058359593153, -0.007149801589548588, -0.014245642349123955, 0.018418608233332634, -0.018580490723252296, -0.07241534441709518, -0.04230524227023125, -0.04172965884208679, 0.04320458695292473, -0.07313482463359833, 0.004726063925772905, -0.05968060716986656, 0.012177146039903164, 0.020523078739643097, -0.037664614617824554, -0.0006947448709979653, -0.037664614617824554, 0.0260090883821249, -0.06043605878949165, -0.004469749983400106, 0.09828054159879684, 0.06212683022022247, -0.0009426271426491439, 0.02919277362525463, -0.01750127598643303, 0.0357220284640789, 0.041945502161979675, 0.005301645025610924, -0.002722770208492875, 0.012788701802492142, -0.02466006949543953, 0.002434979658573866, 0.028365375474095345, 0.02888699620962143, 0.004456259775906801, -0.04057849571108818, -0.015396805480122566, -0.009587028995156288, 0.003970613237470388, -0.040002916008234024, 0.03584793582558632, -0.01910211145877838, -0.0208288561552763, 0.017825039103627205, -0.029120827093720436, 0.06619187444448471, -0.04719768464565277, 0.07871077209711075, 0.14130525290966034, -0.006304416339844465, -0.00522070424631238, 0.0019751889631152153, -0.029822316020727158, -0.04133394733071327, 0.002448469866067171, -0.004802508279681206, -0.016161249950528145, -0.0057962858118116856, 0.005189226940274239, 0.026836488395929337, -0.018355654552578926, -0.04421185329556465, -0.016296152025461197, 0.010405434295535088, 0.028851022943854332, 0.012276073917746544, -0.05615517124533653, -0.0060121286660432816, 0.007032886613160372, 0.03654942661523819, 0.040146809071302414, -0.05374492332339287, 0.06489681452512741, 0.04205342382192612, -0.04730560630559921, 0.04658612608909607, -0.01805886998772621, 0.0461544431746006, 0.0067495922558009624, -0.017483288422226906, 0.020361196249723434, 0.06781069934368134, -0.007572493981570005, -0.03370749205350876, 0.00033416328369639814, 0.026566684246063232, 0.0151180075481534, -0.010387447662651539, 0.02232176996767521, 0.018778346478939056, -0.022609561681747437, 0.04270095378160477, -0.003977358341217041, -0.04978780075907707, -0.025595389306545258, -0.008035656996071339, 0.03489463031291962, 0.04205342382192612, -0.07885466516017914, -0.025397533550858498, -0.0188502948731184, 0.0036108745262026787, 0.027214212343096733, 0.02187209762632847, 0.021764175966382027, 0.03228652477264404, 0.002522665774449706, 0.03426508605480194, -0.006502272095531225, 0.013427237048745155, -0.0028284434229135513, 0.037125006318092346, 0.013346295803785324, -0.026081036776304245, 0.011619552038609982, 0.007662428542971611, -0.04284484684467316, -0.07446585595607758, -0.03773656114935875, -0.005683867260813713, 0.013463211245834827, -0.010882087983191013, -0.0023023260291665792, -0.015261903405189514, -0.0037277895025908947, 0.048960402607917786, -0.020451130345463753, -0.03437300771474838, 0.03424710035324097, -0.02590116672217846, 0.010333486832678318, 0.056910622864961624, 0.04816897585988045, -0.014164701104164124, -0.04460756480693817, 0.0005249932873994112, -0.04061447083950043, -0.03928343579173088, 0.04244913533329964, 0.025523442775011063, 0.011826401576399803, -0.043564323335886, 0.04421185329556465, -0.010216571390628815, -0.030991466715931892, -0.06194695830345154, -0.05475218966603279, -0.02054106444120407, -0.036081764847040176, -0.022951312363147736, 0.0003395031380932778, -0.0676308274269104, 0.01061228383332491, -0.05083104223012924, -0.06378162652254105, -0.030847571790218353, -0.05007559061050415, 0.03345567360520363, 0.02759193815290928, -0.011430689133703709, -0.024102475494146347, -0.006821540184319019, 0.02561337687075138, 0.006165017373859882, 0.022051965817809105, -0.030218029394745827, 0.02665661834180355, -0.01290561631321907, -0.05244986340403557, -0.043384455144405365, -0.038420066237449646, 0.05349310487508774, -0.06421331316232681, 0.02561337687075138, 0.017483288422226906, 0.030811596661806107, -0.022447679191827774, 0.0029296199791133404, 0.03203470632433891, -0.022555600851774216, 0.023580854758620262, 0.014155707322061062, -0.03773656114935875, -0.03230451047420502, 0.05155051872134209, 0.010972022078931332, -0.008575265295803547, -0.019965482875704765, 0.028131546452641487, -0.027178239077329636, 0.019461849704384804, 0.011853381991386414, 0.042233292013406754, -0.005157750099897385, 0.006097566336393356, -0.016970660537481308, 0.04712573438882828, -0.015100020915269852, 0.011574584059417248, -0.003019554540514946, 0.002531659323722124, 0.03430106118321419, -0.002450718078762293, -0.00369181577116251, -0.03446294367313385, 0.07871077209711075, -0.027016356587409973, -0.047809239476919174, 0.050687145441770554, 0.0001569640007801354, -0.020900802686810493, 0.0016132020391523838, 0.014344570226967335, -0.006578716915100813, 0.00870567001402378, -0.0488165058195591, 0.006025618873536587, 0.051334675401449203, 0.0396791510283947, 0.0009240781073458493, 0.02759193815290928, -0.006452808156609535, 0.022897351533174515, 0.034139178693294525, -0.05896113067865372, -0.021944044157862663, -0.0030173060949891806, -0.03953525424003601, 0.03762863948941231, 0.02744804322719574, 0.0696093887090683, -0.009434140287339687, -0.05083104223012924, 0.013310322538018227, -0.06097566708922386, -0.027160251513123512, 0.0023113195784389973, -0.04878053069114685, 0.06781069934368134, 0.05500400811433792, 0.05878126248717308, -0.03426508605480194, 0.009901800192892551, -0.02903089113533497, 0.006165017373859882, 0.012303054332733154, 0.0020077901426702738, 0.045470938086509705, 0.05151454359292984, -0.02381468378007412, -0.009051918052136898, -0.0741780698299408, 0.04316861182451248, 0.01769913174211979, -0.03509248420596123, -0.06043605878949165, -0.024534162133932114, -0.010846113786101341, -0.06741498410701752, -0.02242969162762165, 0.013867916539311409, 0.014488466084003448, -0.05446439981460571, 0.006596703547984362, 0.009865826927125454, -0.005890716798603535, 0.014209668152034283, 0.018706398084759712, 0.0017604699824005365, 0.01492015179246664, -0.07964608818292618, 0.006245958618819714, -0.023149168118834496, 0.007810820825397968, -0.006281932350248098, -0.017546242102980614, 0.04367224499583244, 0.022465664893388748, 0.002857672283425927, -0.010981015861034393, 0.01730341836810112, 0.06788264214992523, -0.003087005577981472, -0.018958216533064842, 0.015702582895755768, -0.006403344217687845, -0.038060326129198074, -0.001495162840001285, 0.02108067274093628, 0.035686053335666656, -0.017663156613707542, -0.01645803451538086, -0.013346295803785324, -0.014146714471280575, -0.08784812688827515, 0.002396757248789072, 0.01817578449845314, -0.05122675374150276, 0.01081913337111473, 0.03780851140618324, -0.032052695751190186, -0.07583286613225937, 0.007163291797041893, -0.025379545986652374, -0.024983834475278854, -0.009416153654456139, 0.04244913533329964, 0.010063682682812214, -0.011367734521627426, -0.0565868578851223, -0.015001093037426472, 0.02984030358493328, 0.0004002090136054903, 0.027034344151616096, 0.011241826228797436, 0.007936729118227959, -0.006138036958873272, 0.0033006002195179462, -0.008921513333916664, 0.03521839156746864, 0.018832307308912277, -0.012455943040549755, -0.048960402607917786, 0.03203470632433891, -0.061982933431863785, 0.0006908102077431977, -0.04971585050225258, 0.010603290051221848, 0.017348386347293854, -0.043564323335886, -0.02034320868551731, -0.016368098556995392, 0.013373276218771935, 0.011268806643784046, 0.013562139123678207, -0.001695267390459776, 0.011232832446694374, 0.003224155865609646, 0.05147857218980789, -0.021908070892095566, 0.01369704119861126, -0.03671130910515785, -0.023994553834199905, 0.04496730491518974, -0.020954763516783714, 0.04673002287745476, -0.01482122391462326, -0.0004125750274397433, 0.03480469435453415, -0.008993460796773434, 0.07496949285268784, 0.02635084092617035, 0.02158430591225624, -0.0056433966383337975, 0.048204950988292694, 0.036315593868494034, 0.009856833145022392, -0.0338154137134552, -0.006245958618819714, -0.0001697515690466389, 0.005598429590463638, -0.03509248420596123, -0.02014535292983055, 0.021548332646489143, -0.014929145574569702, -0.005288155283778906, 0.001392862293869257, -0.04421185329556465, 0.02789771556854248, 0.061839036643505096, 0.027484016492962837, -0.01653897389769554, -0.05539971962571144, -0.035326313227415085, -0.07201963663101196, -0.028527257964015007, -0.0003029672079719603, 0.062990203499794, 0.044931329786777496, 0.05791788920760155, 0.03480469435453415, 0.010882087983191013, 0.02913881279528141, -0.006942952051758766, -0.0061110565438866615, -0.06309812515974045, 0.027142265811562538, 0.00585474306717515, 0.012842662632465363, 0.02575727179646492, -0.012240100651979446, -0.1066984236240387, -0.0007132938480935991, -0.020271260291337967, -0.038563959300518036, 0.04932013899087906, 0.01178143359720707, 0.016889719292521477, 0.007032886613160372, 0.024102475494146347, 0.0021112149115651846, 0.04291679710149765, -0.030811596661806107, -0.0695374384522438, -0.025685325264930725, 0.020361196249723434, -0.007122821174561977, 0.040650442242622375, 0.05525582283735275, -0.03773656114935875, 0.0012309799203649163, 0.025829220190644264, -0.017168516293168068, 0.0024529665242880583, -0.004959893878549337, -0.025595389306545258, 0.054284531623125076, 0.06500473618507385, 0.037664614617824554, -0.025973115116357803, -0.011529617011547089, 0.030307963490486145, -0.08568969368934631, -0.07169587165117264, -0.017887994647026062, -0.056263092905282974, -0.016449039801955223, -0.010837120935320854, -0.036675333976745605, 0.045866649597883224, 0.021602293476462364, 0.04122602567076683, -0.03113536164164543, -0.0029386132955551147, 0.004914926365017891, 0.025037795305252075, 0.017087575048208237, -0.03345567360520363, -0.01151163037866354, 0.038959674537181854, -0.0032893584575504065, -0.02018132619559765, 0.08050946146249771, 0.021782161667943, 0.03228652477264404, 0.038563959300518036, 0.03350963443517685, 0.04906832426786423, -0.02381468378007412, -0.03440898284316063, -0.09993533790111542, 0.05942878872156143, -0.012995551340281963, -0.008615735918283463, 0.0067855664528906345, 0.017825039103627205, 0.0075590037740767, -0.005818769335746765, 0.01166451908648014, -0.018139811232686043, -0.00473505724221468, -0.008278480730950832, -0.01589144580066204, 0.07791934907436371, -0.018490556627511978, 0.0021854110527783632, -0.006938455160707235, -0.016565954312682152, -0.02908485196530819, -0.03953525424003601, 0.003833462717011571, 0.016170242801308632, 0.005742324981838465, 0.0664077177643776, -0.049751825630664825, -0.059536710381507874, -0.0016536726616322994, 0.021818136796355247, 0.005009357817471027, 0.023149168118834496, -0.013355289585888386, 0.049248192459344864, 0.06543642282485962, -0.006016625557094812, -0.030793610960245132, 0.013463211245834827, -0.0011123786680400372, -0.011817407794296741, 0.05259376019239426, 0.06924965232610703, -0.014308596029877663, -0.025577403604984283, 0.012150165624916553, -0.030613740906119347, 0.04708976298570633, -0.03485865518450737, -0.023454945534467697, 0.019317954778671265, 0.020900802686810493, -0.027214212343096733, 0.06403344124555588, 0.005508495029062033, 0.02028924785554409, 0.060687873512506485, 0.03288009390234947, -0.03660338744521141, -0.019533798098564148, -0.03390534967184067, 0.04086628556251526, 0.07216352969408035, 0.04334848374128342, 0.0044315280392766, 0.02829342894256115, -0.024228384718298912, -0.009299238212406635, 0.07335066795349121, -0.014830216765403748, 0.04370822012424469, 0.012096204794943333, -0.032142627984285355, 0.016071313992142677, 0.08403489738702774, -0.1156918853521347, -0.0501115657389164, 0.026980383321642876, -0.04748547449707985, 0.0025968619156628847, -0.03311392292380333, -0.0027497506234794855, -0.014353564009070396, -0.003977358341217041, 0.016889719292521477, 0.039463307708501816, -0.014848204329609871, -0.013319315388798714, -0.01820276491343975, -0.03073965013027191, -0.07712791860103607, -0.011727472767233849, 0.00032601295970380306, 0.00692496495321393, 0.07403416931629181, -0.03683721646666527, 0.03931941092014313, 0.019767627120018005, 0.025289611890912056 ]
41,042
pyglove.core.symbolic.list
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, 'List']: """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'List (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.List): 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.list.List]
[ 0.10399281233549118, -0.05360261723399162, -0.0425085574388504, 0.04239649698138237, -0.015473787672817707, 0.011411568149924278, 0.020040282979607582, -0.04004321247339249, 0.05711387097835541, -0.0096746189519763, 0.03186274319887161, 0.030181823298335075, -0.0005010653985664248, -0.053714681416749954, -0.004326030146330595, 0.0440027080476284, 0.0031377142295241356, 0.042770035564899445, 0.05438704788684845, 0.04658011719584465, 0.04609451815485954, -0.004631863906979561, -0.01979748345911503, 0.045347440987825394, 0.037559185177087784, -0.004564160481095314, 0.03195612505078316, -0.021665170788764954, -0.002119824755936861, 0.006308113224804401, 0.013148517347872257, 0.022505629807710648, 0.013540730811655521, -0.012550856918096542, 0.02937871776521206, -0.03427205607295036, -0.05711387097835541, 0.055955905467271805, -0.023906394839286804, -0.06854411214590073, 0.03518722578883171, 0.0038310931995511055, -0.07777048647403717, -0.0034738979302346706, 0.05136139318346977, 0.045758333057165146, 0.0016832529800012708, 0.09203961491584778, 0.04213501885533333, -0.03688681870698929, -0.013204547576606274, -0.0027291576843708754, 0.007167248986661434, -0.0005938661051914096, -0.0775463655591011, 0.0012746964348480105, 0.0037867354694753885, 0.06749820709228516, 0.05345320329070091, 0.0038731161039322615, 0.030984928831458092, 0.03892259672284126, -0.0689176544547081, -0.049232229590415955, -0.022076060995459557, -0.054013509303331375, 0.011962535791099072, -0.04624393209815025, -0.02891179546713829, 0.03959496691823006, -0.09599911421537399, -0.04146265238523483, 0.05561972036957741, 0.04329298436641693, 0.018527455627918243, -0.0037680587265640497, -0.0008060237159952521, -0.014698697254061699, 0.07336274534463882, -0.009478512220084667, -0.0503154881298542, -0.004094903822988272, -0.03399190306663513, -0.055955905467271805, -0.05352791026234627, 0.0367000512778759, -0.014175744727253914, -0.01572592556476593, 0.10205042362213135, 0.01722007431089878, -0.010879277251660824, 0.01695859804749489, 0.004379726015031338, 0.01229871902614832, 0.012999101541936398, 0.006130682770162821, 0.019423944875597954, -0.04407741501927376, -0.03382381424307823, 0.03584091365337372, 0.03305806219577789, 0.019517330452799797, -0.021011479198932648, -0.014409205876290798, 0.058645375072956085, 0.006154028698801994, -0.007853624410927296, -0.032591138035058975, 0.003952492959797382, 0.057599470019340515, 0.0015151611296460032, -0.009534542448818684, 0.004440425895154476, 0.027511030435562134, -0.018153918907046318, 0.03042462281882763, -0.03391719609498978, -0.049344293773174286, 0.02230018377304077, -0.02353285625576973, 0.03068609908223152, -0.01962939091026783, 0.0401926264166832, -0.030779482796788216, -0.042022958397865295, 0.06880559027194977, 0.043367695063352585, 0.0005696445587091148, -0.00532290805131197, 0.049680475145578384, -0.008068407885730267, -0.005570376757532358, 0.0019470637198537588, -0.0045361449010670185, 0.02711881697177887, -0.008199146017432213, 0.01788310334086418, -0.014885465614497662, -0.008866844698786736, -0.030835513025522232, 0.0206752959638834, -0.04239649698138237, 0.091666080057621, 0.007017834112048149, -0.0024863583967089653, -0.0014299479080364108, 0.027660446241497993, 0.05771153047680855, -0.055358245968818665, 0.0012139965547248721, -0.03817552328109741, 0.038287583738565445, 0.011028692126274109, 0.03778330981731415, 0.003112033475190401, 0.04777543619275093, 0.00862871389836073, -0.09211432933807373, 0.016444984823465347, -0.025269806385040283, -0.00832054577767849, -0.019069084897637367, -0.021497078239917755, 0.04796220362186432, 0.05076373368501663, 0.027753829956054688, -0.020002927631139755, -0.09256257116794586, -0.022206800058484077, 0.006728342734277248, 0.03249775618314743, -0.03567282110452652, 0.0680958703160286, 0.04557156562805176, 0.07452071458101273, 0.06533169001340866, 0.0017287778900936246, -0.02965887077152729, -0.03410396724939346, -0.023700948804616928, -0.028202075511217117, -0.030200500041246414, 0.025998203083872795, -0.016416968777775764, 0.007690201513469219, 0.05991540104150772, -0.039482902735471725, 0.0049073477275669575, 0.002750169252976775, 0.049344293773174286, -0.05487264692783356, -0.021627815440297127, 0.06645230948925018, -0.024354638531804085, -0.04404006153345108, -0.01595938578248024, -0.010001463815569878, 0.027623090893030167, -0.020301759243011475, 0.05124933272600174, -0.06383754312992096, -0.10600991547107697, 0.031377144157886505, -0.0028645650018006563, -0.05393880233168602, 0.024037132039666176, 0.012933732941746712, 0.038885243237018585, -0.03567282110452652, -0.058047715574502945, -0.053117021918296814, -0.03339424356818199, 0.010664492845535278, -0.009184351190924644, 0.018144579604268074, -0.0782187357544899, 0.022542983293533325, -0.0695900171995163, -0.028818411752581596, -0.0074007101356983185, 0.06282899528741837, 0.012541518546640873, -0.0007750901277177036, 0.0016657434171065688, 0.08830424398183823, -0.009721310809254646, -0.03410396724939346, -0.054013509303331375, 0.008035724051296711, 0.02724955417215824, -0.03158258646726608, -0.031209051609039307, -0.008264515548944473, -0.01886363886296749, -0.003354832995682955, 0.016351601108908653, 0.04538479447364807, -0.010851262137293816, 0.028575612232089043, 0.009329097345471382, 0.0012303388211876154, -0.008754783309996128, -0.03397322818636894, -0.004267665091902018, -0.043367695063352585, -0.012336073443293571, 0.02891179546713829, 0.010076171718537807, 0.05367732793092728, 0.00041935412446036935, 0.001071585458703339, 0.030200500041246414, -0.011645029298961163, 0.03059271350502968, -0.012177319265902042, 0.002533050486817956, -0.030536683276295662, -0.0251577440649271, 0.012448133900761604, 0.013297932222485542, -0.0027314922772347927, -0.02769779972732067, -0.002698807744309306, 0.01976012997329235, -0.040528807789087296, -0.05024078115820885, 0.0017124356236308813, 0.04064087197184563, -0.025083037093281746, 0.05195905268192291, -0.0983150452375412, -0.04504861310124397, 0.019536007195711136, -0.004559490829706192, -0.012700271792709827, 0.04000585526227951, 0.024093162268400192, 0.009609250351786613, 0.019041068851947784, 0.012504165060818195, 0.008035724051296711, -0.0031353796366602182, -0.009721310809254646, -0.02710014022886753, -0.0049073477275669575, -0.009114312939345837, -0.030760806053876877, 0.08045995980501175, -0.037970077246427536, -0.016613077372312546, -0.0003472730750218034, -0.01685587503015995, 0.04859721660614014, 0.009562557563185692, 0.04773808270692825, 0.003688681870698929, -0.03462691977620125, -0.07295185327529907, 0.0049073477275669575, -0.034384120255708694, 0.019003715366125107, 0.013774191960692406, 0.016183508560061455, 0.02622232586145401, 0.06615347415208817, 0.005957921966910362, 0.005271546542644501, -0.02263636700809002, -0.02728690765798092, 0.03881053626537323, -0.015735263004899025, 0.05199640616774559, -0.01736949011683464, -0.000851548567879945, 0.052519358694553375, -0.0033431597985327244, -0.00896022841334343, 0.004225641954690218, 0.011803782545030117, 0.00027183600468561053, -0.07702341675758362, -0.019143791869282722, -0.04527273401618004, 0.014138391241431236, 0.0323856920003891, -0.02172120101749897, 0.056702978909015656, 0.00997344870120287, 0.0029602840077131987, 0.021945323795080185, -0.049979306757450104, 0.026278356090188026, 0.04855986312031746, 0.030461976304650307, -0.005346254445612431, -0.031675972044467926, 0.01911577768623829, 0.004267665091902018, -0.04392800107598305, -0.008138446137309074, -0.010851262137293816, 0.038399647921323776, 0.024037132039666176, 0.006224066950380802, -0.018228625878691673, -0.011056707240641117, 0.021198248490691185, 0.0680958703160286, 0.061633672565221786, -0.009758665226399899, 0.013587423600256443, -0.07071062922477722, -0.015380403026938438, 0.016136815771460533, 0.001000963500700891, -0.024354638531804085, -0.010403016582131386, -0.047887496650218964, -0.0425085574388504, -0.07336274534463882, 0.1503114551305771, -0.06637759506702423, 0.00651355879381299, 0.010655154474079609, 0.06604141741991043, 0.011411568149924278, -0.06985149532556534, -0.019965574145317078, 0.005785160697996616, 0.014539944007992744, 0.025699373334646225, -0.0368681438267231, 0.006518227979540825, -0.02427993156015873, 0.07037445157766342, -0.01558584813028574, -0.03141449764370918, 0.049829889088869095, -0.055955905467271805, 0.02039514295756817, 0.015501802787184715, 0.025830112397670746, 0.004524471703916788, -0.033935874700546265, 0.009758665226399899, 0.0028178729116916656, 0.05083844065666199, -0.023775655776262283, 0.030835513025522232, -0.04254591092467308, -0.019274530932307243, 0.02472817711532116, -0.030480653047561646, -0.056702978909015656, -0.009287074208259583, -0.022449597716331482, -0.012522841803729534, 0.008801475167274475, 0.009861387312412262, -0.03100360557436943, 0.008250507526099682, -0.022113414481282234, 0.006443520542234182, 0.033637043088674545, -0.013559408485889435, -0.06335194408893585, 0.03206818550825119, 0.05307966470718384, -0.03249775618314743, 0.07851756364107132, 0.03959496691823006, -0.019517330452799797, 0.037559185177087784, 0.003975838888436556, -0.00033238992909900844, 0.000018403283320367336, -0.010197571478784084, 0.004879332613199949, -0.023794332519173622, -0.02080603316426277, 0.034384120255708694, 0.0023264377377927303, -0.00331747904419899, 0.02829545922577381, 0.03772727772593498, -0.04075293242931366, 0.0004003854119218886, -0.010599124245345592, 0.0023871376179158688, 0.0006618616171181202, 0.014343836344778538, -0.05890684947371483, -0.02259901352226734, 0.027062784880399704, -0.009198359213769436, -0.022673720493912697, 0.005649753380566835, -0.00501473993062973, -0.01595938578248024, -0.006233405787497759, -0.013559408485889435, 0.06432314217090607, -0.01070184726268053, -0.027062784880399704, 0.03147052600979805, 0.012139965780079365, -0.04841044917702675, 0.020712649449706078, -0.019704097881913185, -0.022356214001774788, 0.04415212199091911, 0.03201215714216232, 0.06454726308584213, 0.04090234637260437, -0.029714901000261307, 0.006719004362821579, -0.01745353639125824, -0.05987804755568504, -0.011346198618412018, 0.010440370999276638, 0.06533169001340866, -0.017341474071145058, 0.02517642080783844, -0.06118542701005936, -0.003357167588546872, 0.002036946127191186, -0.036475926637649536, 0.01745353639125824, -0.015240326523780823, -0.04445095360279083, 0.04150000587105751, -0.01994689740240574, 0.0032847945112735033, -0.0095905726775527, 0.014175744727253914, 0.007344679441303015, 0.044563014060258865, -0.03881053626537323, -0.07250361144542694, -0.03507516160607338, 0.027324261143803596, -0.016220862045884132, 0.04138794541358948, -0.0027314922772347927, -0.0045851715840399265, -0.030051084235310555, 0.021945323795080185, 0.009908080101013184, 0.03178803250193596, 0.01664109155535698, -0.005066100973635912, 0.028575612232089043, 0.059990108013153076, 0.012261365540325642, -0.043255630880594254, -0.053714681416749954, 0.0028061997145414352, -0.036644019186496735, 0.041425298899412155, -0.03391719609498978, -0.016799844801425934, -0.009926756843924522, 0.032423049211502075, 0.07709812372922897, 0.006023290567100048, -0.006443520542234182, 0.0045361449010670185, 0.00835323054343462, -0.017332136631011963, -0.030200500041246414, -0.04041674733161926, -0.022262830287218094, 0.06346400827169418, 0.006859080865979195, 0.009156336076557636, 0.02876238152384758, 0.025083037093281746, 0.02069397270679474, -0.024354638531804085, -0.0704118013381958, -0.0018758581718429923, -0.0368681438267231, -0.013055132701992989, -0.054013509303331375, 0.05143610015511513, 0.0025890811812132597, -0.0370362363755703, -0.031526558101177216, 0.045795686542987823, -0.03966967388987541, 0.027660446241497993, -0.0273989699780941, 0.04116382449865341, 0.028351489454507828, 0.009917418472468853, 0.09211432933807373, 0.003511251648887992, -0.019423944875597954, -0.055208828300237656, 0.003333821427077055, 0.036177098751068115, 0.038287583738565445, 0.0029462764505296946, 0.027230877429246902, 0.045459501445293427, 0.03216157108545303, 0.01728544384241104, -0.07612692564725876, 0.033487629145383835, -0.03675607964396477, 0.018742239102721214, -0.0037166972178965807, -0.009898741729557514, 0.05136139318346977, -0.00685441168025136, -0.026259679347276688, 0.009721310809254646, -0.0018046526238322258, -0.024784207344055176, -0.024634791538119316, 0.047850143164396286, 0.007764908950775862, 0.03675607964396477, -0.017425520345568657, 0.03247907757759094, -0.022972550243139267, -0.08232764899730682, 0.03531796112656593, 0.0043493760749697685, -0.02741764672100544, 0.03974438086152077, 0.01632358506321907, 0.0051454780623316765, -0.04079028591513634, 0.03599033132195473, 0.01265357993543148, -0.029135918244719505, -0.027156170457601547, -0.028855765238404274, -0.07164447754621506, -0.0782187357544899, -0.02231886051595211, 0.033487629145383835, -0.03937084227800369, -0.03232966363430023, -0.03432808816432953, 0.038437001407146454, 0.06820793449878693, -0.0055283536203205585, -0.004926024470478296, -0.05050225928425789, 0.04153735935688019, -0.014782743528485298, -0.00003273924085078761, 0.03216157108545303, -0.03219892457127571, -0.07429659366607666, 0.020021606236696243, -0.02439199388027191, -0.04900810867547989, -0.05229523777961731, -0.014539944007992744, 0.01627689227461815, 0.06835734844207764, -0.029397394508123398, -0.011532967910170555, 0.004298015031963587, -0.031059635803103447, 0.04153735935688019, 0.004099573008716106, 0.026782631874084473, 0.040678225457668304, 0.0386984758079052, -0.009044274687767029, 0.02185193821787834, -0.05136139318346977, -0.06137219816446304, 0.048186324536800385, -0.01257887203246355, -0.030181823298335075, -0.03595297783613205, -0.004391399212181568, -0.055358245968818665, -0.0028458882588893175, -0.07926464080810547, -0.02965887077152729, -0.0113742146641016, -0.009487850591540337, -0.021385017782449722, -0.029714901000261307, 0.02366359531879425, -0.004711240530014038, -0.0035509399604052305, 0.034851040691137314, -0.016799844801425934, -0.0491575226187706, -0.012448133900761604, -0.04945635423064232, 0.03698020428419113, 0.01630490832030773, -0.006924449931830168, -0.049680475145578384, -0.019554683938622475, 0.012205335311591625, -0.0476633757352829, -0.014101037755608559, -0.03548605367541313, -0.05554501339793205, 0.00014219226432032883, 0.04613187164068222, -0.01371816173195839, 0.013204547576606274, -0.011131415143609047, -0.009758665226399899, 0.052818190306425095, 0.014726712368428707, 0.07082269340753555, -0.03640121966600418, -0.004181284457445145, 0.04519802704453468, -0.037839338183403015, -0.05263142287731171, 0.0070271724835038185, -0.012149304151535034, 0.015763279050588608, -0.002561065834015608, 0.012494826689362526, -0.0008258678717538714, 0.05173493176698685, 0.011224798858165741, 0.024055808782577515, -0.06817057728767395, -0.0647713840007782, 0.07769577950239182, -0.048298388719558716, -0.05457381531596184, 0.0045875064097344875, 0.049531061202287674, 0.0024863583967089653, -0.011785105802118778, -0.010589785873889923, -0.06036364659667015, -0.04228443652391434, 0.10384339839220047, -0.022711073979735374, 0.007218610495328903, 0.04224708303809166, -0.0026311040855944157, 0.03057403676211834, -0.058981556445360184, 0.03578488528728485, -0.07496895641088486, -0.002297254977747798, -0.007269972003996372, -0.05046490579843521, -0.01886363886296749, -0.026166295632719994, 0.009945433586835861, 0.040977053344249725, 0.053864095360040665, 0.018406055867671967, 0.003599966876208782, -0.011458260007202625, -0.034216027706861496, 0.02233753725886345, -0.02575540542602539, -0.03191877156496048, -0.006761027034372091, 0.06406166404485703, 0.008441945537924767, -0.0013867575908079743, 0.08852836489677429, 0.011047368869185448, -0.0833735540509224, 0.012139965780079365, -0.006826396100223064, 0.04150000587105751, 0.020750002935528755, 0.05337849631905556, -0.056889746338129044, 0.023308735340833664, 0.01604343205690384, 0.015072234906256199, -0.012102612294256687, 0.020787356421351433, -0.008773460052907467, 0.02259901352226734, -0.005817844998091459, 0.020133666694164276, -0.0044847833923995495, 0.06947796046733856, 0.02170252427458763, 0.02833281271159649, -0.04979253560304642, 0.0021921976003795862, 0.008138446137309074, 0.0073119946755468845, 0.04362916946411133, -0.06761027127504349, 0.026782631874084473, 0.02620364911854267, 0.05782359093427658, 0.011486275121569633, 0.024653470143675804, -0.009086297824978828, -0.0199282206594944, 0.014203759841620922, 0.028687672689557076, 0.03681211173534393, 0.0009069955558516085, 0.02773515321314335, 0.035411346703767776, 0.008497975766658783, 0.029901670292019844, 0.057151224464178085, 0.014801420271396637, -0.01933056116104126, -0.022953873500227928, -0.022561660036444664, -0.028500905260443687, -0.02441067062318325, -0.02334608882665634, -0.03675607964396477, 0.026763955131173134, 0.008222492411732674, 0.023196673020720482, -0.010197571478784084, 0.05636679381132126 ]
41,043
pyglove.core.symbolic.list
extend
null
def extend(self, other: Iterable[Any]) -> None: # NOTE(daiyip): THIS IS A WORKAROUND FOR WORKING WITH PICKLE. # `pg.List` is a subclass of `list`, therefore, when pickle loads a list, # it tries to set the list values directly by calling `extend` without # calling `pg.List.__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 # `extend`, and simply do nothing as follows, which will give a chance to # `pg.List.__getstate__` to deal with the restoration logic as an object # (instead of a list). if not hasattr(self, '_sym_parent'): return if base.treats_as_sealed(self): raise base.WritePermissionError('Cannot extend a sealed List.') # Extend on the symbolic form instead of the evaluated form. iter_other = other.sym_values() if isinstance(other, List) else other other = list(iter_other) if self.max_size is not None and len(self) + len(other) > self.max_size: raise ValueError( f'Cannot extend List: the number of elements ' f'({len(self) + len(other)}) exceeds max size ({self.max_size}).') updates = [] for v in other: update = self._set_item_without_permission_check(len(self), v) if update is not None: updates.append(update) if flags.is_change_notification_enabled() and updates: self._notify_field_updates(updates)
(self, other: Iterable[Any]) -> NoneType
[ 0.011770045384764671, -0.03963101655244827, -0.042896904051303864, 0.08865605294704437, -0.024879472330212593, -0.016476228833198547, -0.00518322316929698, 0.0011742523638531566, 0.03218185156583786, -0.018274301663041115, 0.016650531440973282, -0.07676674425601959, 0.002394373994320631, 0.03698894754052162, -0.011256309226155281, 0.021375061944127083, 0.01497171726077795, 0.022329142317175865, 0.013815812766551971, 0.019026556983590126, -0.01818256266415119, -0.012779167853295803, 0.005288722459226847, 0.043961070477962494, -0.009944449178874493, 0.051446929574012756, 0.012256259098649025, 0.04040161892771721, -0.0018703179666772485, 0.02667754516005516, -0.001036071334965527, -0.04465828463435173, -0.01676061749458313, -0.012256259098649025, 0.04814434424042702, -0.002083609811961651, -0.0656113475561142, 0.025503292679786682, -0.05328169837594032, 0.0406951829791069, 0.04025483876466751, -0.030383778735995293, 0.055887073278427124, -0.015577191486954689, 0.056400809437036514, 0.055776987224817276, -0.03420009836554527, 0.062345460057258606, 0.05133684352040291, -0.009270171634852886, -0.004575456026941538, 0.03513583168387413, -0.0009105042554438114, -0.004651139955967665, -0.05221753194928169, 0.10135265439748764, 0.029246222227811813, 0.07295043021440506, -0.012302127666771412, 0.031576380133628845, -0.011770045384764671, -0.04517202079296112, -0.0054630255326628685, -0.10817799717187881, -0.006297845393419266, 0.004428674466907978, -0.08050967752933502, -0.021430104970932007, -0.03572295606136322, 0.023118093609809875, 0.00003680289228213951, -0.0016214773058891296, -0.04535549506545067, 0.050933193415403366, -0.02829214185476303, 0.07049183547496796, 0.018916470929980278, 0.028420576825737953, 0.00011632150562945753, -0.04425463452935219, 0.050382763147354126, 0.023026354610919952, -0.010017840191721916, 0.03528261184692383, -0.01495336927473545, 0.026072071865200996, -0.05225422978401184, 0.015191889367997646, 0.03390653803944588, -0.030640646815299988, -0.01703583262860775, 0.05379543453454971, 0.011017789132893085, -0.013531423173844814, -0.006173998583108187, -0.03397992625832558, -0.061868421733379364, -0.07273025065660477, -0.011944347992539406, 0.023815305903553963, -0.04535549506545067, -0.02502625249326229, 0.005715306382626295, 0.006765711586922407, 0.015687277540564537, -0.03963101655244827, 0.00384613499045372, -0.030879167839884758, -0.026824327185750008, -0.011577393859624863, -0.023283222690224648, 0.06891393661499023, -0.010293055325746536, 0.002113424940034747, -0.026530763134360313, 0.049795638769865036, -0.004738291725516319, -0.021154889836907387, 0.05823557823896408, -0.004428674466907978, -0.00034086572122760117, 0.0490250363945961, 0.026934413239359856, 0.03001682460308075, 0.019063252955675125, 0.05232761800289154, -0.007765660993754864, -0.017843130975961685, -0.005375873763114214, -0.06942766904830933, 0.04142909124493599, -0.007559249643236399, -0.054162390530109406, 0.01966872625052929, 0.01656796596944332, -0.06634525954723358, -0.012779167853295803, -0.007348251063376665, -0.03352123498916626, -0.04788747802376747, -0.007944551296532154, -0.030200302600860596, 0.10612305253744125, 0.05016259104013443, -0.10494880378246307, 0.006325366906821728, -0.026347286999225616, 0.012797515839338303, -0.0056694368831813335, -0.004830030258744955, -0.0410621352493763, 0.006701494567096233, -0.02262270450592041, -0.016586314886808395, -0.03375975415110588, 0.05603385344147682, -0.06953775882720947, 0.001605423167347908, 0.02427399717271328, -0.0005682050832547247, -0.0625656321644783, -0.02447582222521305, -0.004330055322498083, 0.014448808506131172, -0.04997911676764488, -0.029374655336141586, -0.00930227991193533, -0.1088385134935379, -0.038383372128009796, 0.037557728588581085, 0.10531575977802277, -0.06906071305274963, 0.09416036307811737, 0.0030319562647491693, 0.0014873098116368055, 0.047080181539058685, -0.010696704499423504, 0.009403192438185215, -0.009742625057697296, -0.019448554143309593, -0.005852913949638605, -0.04722696170210838, -0.020567763596773148, -0.017733044922351837, 0.017411960288882256, 0.020292548462748528, -0.024604255333542824, 0.028035273775458336, 0.0657581314444542, 0.01684318110346794, 0.03693390637636185, -0.03720911964774132, 0.0011083153076469898, -0.055813681334257126, -0.07962898910045624, 0.0299067385494709, -0.044988542795181274, 0.000952359929215163, -0.04737374186515808, 0.060180433094501495, -0.07977576553821564, -0.014467155560851097, 0.03702564537525177, -0.04355742409825325, 0.00303424964658916, 0.002536568557843566, -0.007852812297642231, -0.036878861486911774, 0.00045381870586425066, -0.042162999510765076, 0.025778507813811302, -0.017925696447491646, -0.015586365014314651, 0.001092834398150444, 0.0217236690223217, -0.03469548746943474, -0.06873045861721039, -0.04476837068796158, -0.006738190073519945, -0.008609654381871223, 0.05570359528064728, -0.015705624595284462, -0.08513329178094864, -0.001048685284331441, 0.01683400757610798, -0.0014678153675049543, -0.016650531440973282, -0.05618063360452652, -0.0018221552018076181, 0.05412569269537926, 0.013191991485655308, -0.012192041613161564, -0.025906942784786224, -0.021026456728577614, 0.01884308084845543, 0.08814231306314468, -0.019246729090809822, -0.0407685749232769, -0.03864024206995964, 0.04029153287410736, -0.02588859386742115, -0.0019804041367024183, 0.008128028362989426, 0.017659654840826988, -0.04535549506545067, -0.0157331470400095, 0.007779421750456095, 0.03420009836554527, 0.026347286999225616, 0.03996127471327782, 0.02966821938753128, 0.019191686064004898, -0.005059376358985901, 0.00326588936150074, -0.007715204730629921, 0.01746700331568718, -0.025558335706591606, -0.02812701277434826, -0.02025585249066353, -0.01699913665652275, 0.04425463452935219, -0.021540191024541855, -0.01276999432593584, -0.0034126709215343, -0.04267673194408417, 0.03397992625832558, 0.00008758156764088199, 0.032713934779167175, -0.024347389116883278, 0.022200709208846092, -0.004596096929162741, -0.030622299760580063, 0.034090012311935425, 0.009403192438185215, -0.0077335527166724205, 0.030126910656690598, 0.04421794041991234, 0.012228737585246563, -0.013384642079472542, -0.018164215609431267, 0.03636512532830238, 0.012558995746076107, -0.005898783449083567, -0.03882371634244919, -0.025429902598261833, 0.026971109211444855, -0.02416391111910343, -0.034255143254995346, -0.06377658247947693, -0.023595133796334267, 0.05500638484954834, 0.03278732672333717, 0.049281902611255646, 0.03827328607439995, 0.03627339005470276, 0.011788392439484596, 0.004912594798952341, 0.0339982733130455, 0.04851130023598671, 0.009559147991240025, 0.020035680383443832, 0.00214897352270782, -0.004047959577292204, 0.02678763121366501, 0.01107283215969801, -0.1366536170244217, 0.06267572194337845, 0.018265128135681152, -0.014522198587656021, 0.024127215147018433, 0.004733704961836338, 0.06579482555389404, -0.027081195265054703, 0.04686000570654869, 0.06197850778698921, -0.020604459568858147, 0.014017636887729168, 0.013659857213497162, -0.029558133333921432, 0.02733806148171425, -0.04616279527544975, 0.01829265058040619, -0.01884308084845543, -0.03627339005470276, 0.001701748464256525, -0.013237860053777695, 0.06040060520172119, 0.04851130023598671, 0.02643902599811554, 0.009742625057697296, -0.061795029789209366, -0.04803425818681717, 0.02541155368089676, -0.0006725576240569353, -0.03045717068016529, 0.022769486531615257, 0.003508996218442917, -0.003653484396636486, 0.014237809926271439, -0.032475415617227554, -0.02667754516005516, 0.009430713951587677, -0.01731104776263237, -0.005196983925998211, 0.021338365972042084, -0.03941084444522858, 0.06682229787111282, 0.011632436886429787, 0.023907043039798737, 0.014476330019533634, -0.03981449455022812, -0.050933193415403366, -0.04807095602154732, -0.03308089077472687, 0.006715255789458752, -0.04520871490240097, -0.07977576553821564, -0.0002990100474562496, -0.002467764774337411, -0.04616279527544975, 0.006201520096510649, -0.0022716736420989037, 0.0018370627658441663, 0.038970500230789185, -0.05133684352040291, -0.00022447254741564393, -0.04891495034098625, -0.04135569930076599, -0.01911829598248005, -0.009760972112417221, -0.0033828557934612036, -0.038346678018569946, 0.029411351308226585, -0.01739361323416233, 0.027246324345469475, -0.0017774327425286174, -0.06737272441387177, 0.04807095602154732, -0.0299067385494709, 0.018622908741235733, 0.0339982733130455, -0.008650937117636204, -0.0021237453911453485, 0.005362113006412983, 0.05717141181230545, 0.0005349499406293035, 0.017494525760412216, -0.057024627923965454, 0.04528210684657097, 0.039007194340229034, 0.0022063101641833782, 0.016889050602912903, -0.01292594987899065, 0.04458489269018173, -0.08887622505426407, 0.01306355744600296, -0.026035375893115997, 0.0015584072098135948, -0.016476228833198547, -0.0062382156029343605, 0.03941084444522858, -0.032126810401678085, 0.024182258173823357, 0.0490984246134758, 0.008783957920968533, -0.01939351111650467, 0.026292243972420692, -0.016045058146119118, -0.027998579666018486, 0.025209730491042137, 0.004270425532013178, 0.004242904018610716, -0.0061556510627269745, 0.014302026480436325, 0.023980434983968735, -0.002347358036786318, -0.011008615605533123, -0.04128230735659599, 0.049428682774305344, 0.030347084626555443, 0.031209426000714302, 0.028475619852542877, -0.028438923880457878, 0.050382763147354126, -0.06854698061943054, -0.03603486716747284, -0.024934515357017517, 0.02812701277434826, -0.051520321518182755, -0.059630002826452255, 0.01959533616900444, 0.05295144021511078, 0.024971209466457367, 0.002892055083066225, -0.0009976557921618223, -0.021852102130651474, 0.03489731252193451, -0.07544571161270142, -0.027925187721848488, -0.028347184881567955, 0.0218704491853714, 0.01601753570139408, 0.01538453996181488, 0.006871210876852274, 0.03423679620027542, -0.014613937586545944, -0.046603139489889145, 0.05999695509672165, -0.03581469506025314, -0.0011192092206329107, 0.02915448322892189, -0.0013519956264644861, 0.06803324818611145, 0.04260334372520447, -0.06491413712501526, -0.012439736165106297, 0.013054382987320423, -0.048217736184597015, 0.015035933814942837, 0.0010676063830032945, 0.019521944224834442, 0.011650784872472286, 0.01227460615336895, -0.014999238774180412, 0.01966872625052929, 0.036016520112752914, 0.009880232624709606, -0.005591459572315216, -0.013467206619679928, 0.03882371634244919, 0.06491413712501526, -0.04781408607959747, 0.021191585808992386, -0.08564703166484833, 0.0000626760083832778, 0.03462209552526474, 0.05324500426650047, -0.019888898357748985, 0.00802711583673954, -0.051483627408742905, 0.025319816544651985, -0.013971768319606781, 0.03394323214888573, -0.02333826571702957, -0.01605423167347908, -0.015604713000357151, 0.01481576170772314, 0.015870753675699234, 0.0069858841598033905, 0.05074971914291382, -0.0017602317966520786, -0.002736099762842059, -0.05507977306842804, 0.049942418932914734, 0.03018195554614067, -0.01911829598248005, -0.02880587801337242, -0.030071867629885674, 0.07823456078767776, 0.00488966004922986, -0.026255548000335693, -0.008921565487980843, 0.024530865252017975, 0.020310895517468452, 0.0325121134519577, 0.023595133796334267, -0.040071360766887665, 0.03599817305803299, -0.04128230735659599, -0.006504257209599018, -0.003678712295368314, 0.011008615605533123, 0.035154178738594055, 0.013228686526417732, 0.028475619852542877, -0.024732690304517746, -0.015045108273625374, 0.06495083123445511, 0.041172221302986145, -0.03482392057776451, 0.009127977304160595, -0.0045227063819766045, -0.02207227423787117, -0.05985017493367195, -0.025117991492152214, -0.04968555271625519, -0.03331940993666649, -0.005485960282385349, 0.009430713951587677, 0.022365838289260864, -0.011779218912124634, 0.017751391977071762, 0.00007106147677404806, -0.031319510191679, -0.02620050497353077, 0.0816839262843132, -0.011485655792057514, 0.054162390530109406, 0.0052566141821444035, 0.018861427903175354, -0.010770095512270927, 0.05218083783984184, 0.014586416073143482, -0.022806182503700256, -0.05390552058815956, 0.010669182986021042, -0.07434485107660294, -0.003960808273404837, 0.013696552254259586, -0.005912544205784798, -0.026347286999225616, 0.0036328432615846395, -0.0014838696224614978, 0.04021814092993736, 0.0077060312032699585, -0.11610420048236847, 0.0047291177324950695, -0.020549416542053223, 0.0044539025984704494, 0.028182055801153183, 0.012999339960515499, 0.037392597645521164, 0.01278834231197834, -0.024952862411737442, 0.026769284158945084, 0.006784059572964907, -0.04832782223820686, 0.02399878203868866, -0.020310895517468452, 0.03453035652637482, 0.02080628275871277, 0.010944399051368237, -0.033778101205825806, -0.05463942885398865, 0.0034585401881486177, 0.0023393307346850634, -0.026897717267274857, 0.05276796594262123, -0.006132716313004494, -0.04572245106101036, -0.07566588371992111, 0.02159523405134678, 0.02706284634768963, -0.030897514894604683, 0.061758335679769516, 0.0018921057926490903, -0.028237098827958107, 0.04256664589047432, -0.017613785341382027, 0.06047399714589119, -0.03812650591135025, 0.03966771066188812, 0.015347844921052456, -0.04473167657852173, 0.003348453901708126, -0.012971818447113037, -0.0737944170832634, -0.014889152720570564, -0.013971768319606781, -0.03471383452415466, 0.028182055801153183, 0.003362214658409357, -0.009595843032002449, -0.024622604250907898, 0.019063252955675125, -0.0157331470400095, 0.001646705437451601, -0.007820704020559788, 0.001619183924049139, -0.0015664342790842056, 0.037245817482471466, 0.07713370025157928, 0.017485350370407104, -0.09210541844367981, -0.044438112527132034, -0.019026556983590126, -0.036695387214422226, 0.0046878354623913765, 0.08638093620538712, 0.02966821938753128, -0.024695994332432747, 0.022292446345090866, -0.014274504967033863, 0.00028195243794471025, -0.054162390530109406, -0.04197952151298523, -0.03304419293999672, 0.05232761800289154, 0.019173339009284973, 0.002140946453437209, 0.012861732393503189, -0.02176036313176155, 0.04953876882791519, -0.008953673765063286, 0.022164013236761093, -0.04520871490240097, -0.008485808037221432, -0.0408419631421566, 0.024347389116883278, 0.03607156500220299, 0.04678661748766899, -0.015531321987509727, -0.041685957461595535, 0.011476482264697552, -0.05823557823896408, -0.0008726621163077652, -0.026732588186860085, -0.01643953286111355, -0.01687987707555294, 0.014485503546893597, 0.0031168144196271896, 0.016870703548192978, -0.021907145157456398, 0.012219563126564026, -0.0354844368994236, 0.043850984424352646, 0.012797515839338303, -0.030273692682385445, 0.020787935703992844, 0.013146121986210346, 0.003297997871413827, -0.026255548000335693, 0.015824884176254272, 0.027246324345469475, 0.07115235179662704, 0.029686566442251205, 0.0023920803796499968, 0.013797464780509472, 0.07999593764543533, 0.03827328607439995, -0.025191381573677063, -0.05306152626872063, -0.03722747042775154, 0.06414353102445602, -0.014925847761332989, -0.029136136174201965, -0.025833550840616226, 0.035154178738594055, 0.021686973050236702, 0.03737425059080124, -0.03304419293999672, -0.04304368793964386, -0.013733248226344585, 0.010329751297831535, -0.025558335706591606, 0.06924419105052948, -0.006192346103489399, 0.024952862411737442, 0.010806791484355927, -0.012403040193021297, 0.042823515832424164, -0.029851695522665977, 0.013237860053777695, -0.010788443498313427, -0.0008715154253877699, -0.008485808037221432, 0.0008703686762601137, -0.059666696935892105, -0.0355578288435936, -0.008430765010416508, 0.013256208039820194, 0.04564905911684036, -0.00889404397457838, 0.028860921040177345, 0.049905724823474884, -0.000130870655993931, -0.06942766904830933, 0.04748382791876793, 0.02651241607964039, -0.010146274231374264, 0.010971920564770699, 0.07559249550104141, 0.0016753736417740583, -0.09364662319421768, -0.008114267140626907, -0.011247135698795319, 0.08461955934762955, -0.016540445387363434, -0.016045058146119118, 0.03390653803944588, -0.022567661479115486, 0.019815508276224136, 0.09027064591646194, -0.029998477548360825, -0.024108868092298508, 0.013274556025862694, 0.025943636894226074, -0.03489731252193451, -0.006618930026888847, 0.015604713000357151, 0.05790532007813454, 0.04906173050403595, 0.017439482733607292, 0.039043888449668884, 0.05269457399845123, -0.013953420333564281, -0.07243669033050537, 0.09599512815475464, 0.005605220329016447, 0.05232761800289154, 0.039520930498838425, -0.04036492481827736, 0.010577444918453693, 0.057354886084795, -0.036255039274692535, -0.015990015119314194, -0.0031168144196271896, -0.009733450599014759, -0.03577800095081329, 0.047667305916547775, 0.00770144397392869, 0.02306305058300495, 0.006022630259394646, 0.005160288419574499, 0.04311707988381386, 0.03608991205692291, -0.012118651531636715, -0.04264003783464432, -0.031778205186128616, -0.09614191204309464, -0.009118803776800632, 0.028512313961982727, 0.01652209646999836, 0.02069619670510292, 0.007458337116986513, 0.037796247750520706, -0.01113704964518547, 0.012219563126564026 ]
41,044
pyglove.core.symbolic.list
format
Formats this List.
def format( self, compact: bool = False, verbose: bool = True, root_indent: int = 0, *, python_format: bool = False, use_inferred: bool = False, cls_name: Optional[str] = None, bracket_type: object_utils.BracketType = object_utils.BracketType.SQUARE, **kwargs) -> str: """Formats this List.""" def _indent(text, indent): return ' ' * 2 * indent + text cls_name = cls_name or '' open_bracket, close_bracket = object_utils.bracket_chars(bracket_type) s = [f'{cls_name}{open_bracket}'] if compact: kv_strs = [] for idx, elem in self.sym_items(): if use_inferred and isinstance(elem, base.Inferential): elem = self.sym_inferred(idx, default=elem) v_str = object_utils.format( elem, compact, verbose, root_indent + 1, python_format=python_format, use_inferred=use_inferred, **kwargs) if python_format: kv_strs.append(v_str) else: kv_strs.append(f'{idx}: {v_str}') s.append(', '.join(kv_strs)) s.append(close_bracket) else: if self: for idx, elem in self.sym_items(): if use_inferred and isinstance(elem, base.Inferential): elem = self.sym_inferred(idx, default=elem) if idx == 0: s.append('\n') else: s.append(',\n') v_str = object_utils.format( elem, compact, verbose, root_indent + 1, python_format=python_format, use_inferred=use_inferred, **kwargs) if python_format: s.append(_indent(v_str, root_indent + 1)) else: s.append(_indent(f'{idx} : {v_str}', root_indent + 1)) s.append('\n') s.append(_indent(close_bracket, root_indent)) else: s.append(close_bracket) return ''.join(s)
(self, compact: bool = False, verbose: bool = True, root_indent: int = 0, *, python_format: bool = False, use_inferred: bool = False, cls_name: Optional[str] = None, bracket_type: pyglove.core.object_utils.formatting.BracketType = <BracketType.SQUARE: 1>, **kwargs) -> str
[ 0.03676789999008179, -0.02213764563202858, 0.040283557027578354, -0.03277616575360298, 0.040649767965078354, -0.04980512335896492, -0.03222684562206268, -0.0771246999502182, 0.017962804064154625, -0.02783227525651455, -0.017294462770223618, -0.05793507769703865, 0.00982369389384985, -0.03841586410999298, 0.00559849850833416, 0.06302545219659805, 0.0034790344070643187, -0.0922127217054367, 0.05987601354718208, 0.059436555951833725, 0.07829658687114716, 0.04522744566202164, 0.023913783952593803, 0.026220932602882385, 0.048523373901844025, -0.029919695109128952, 0.07247377932071686, 0.01929948478937149, -0.07807685434818268, -0.04149206355214119, 0.032116979360580444, 0.03940464183688164, -0.018676921725273132, 0.02770409919321537, 0.012881582602858543, -0.011526590213179588, -0.03577912226319313, 0.018164221197366714, 0.0008102487772703171, -0.024426482617855072, 0.014877449721097946, -0.0337466336786747, -0.034259334206581116, -0.01977556385099888, -0.01222239714115858, 0.0545659065246582, 0.06452693045139313, 0.024243375286459923, -0.025470193475484848, -0.05064741522073746, 0.040356799960136414, -0.04727824404835701, -0.03636506572365761, -0.011966046877205372, -0.05716602876782417, -0.05181930214166641, 0.040393419563770294, -0.021496770903468132, 0.05756886303424835, 0.01386120542883873, 0.0026550525799393654, 0.04954877495765686, 0.02755761332809925, -0.0005215690471231937, -0.06921447068452835, 0.009878626093268394, -0.034863587468862534, 0.013531612232327461, -0.023126423358917236, -0.00236894772388041, 0.020526302978396416, -0.0011753184953704476, 0.011013890616595745, 0.0034149468410760164, 0.009677208960056305, -0.0012405504239723086, -0.012588610872626305, -0.04423866793513298, -0.018640300258994102, -0.07247377932071686, -0.04727824404835701, 0.015490857884287834, -0.03262967988848686, -0.010189908556640148, 0.05599414184689522, 0.027118157595396042, 0.02455465868115425, 0.022943316027522087, -0.05291794240474701, 0.05903371796011925, -0.045996494591236115, 0.03083522990345955, -0.008848649449646473, 0.03889194130897522, -0.059326689690351486, -0.01953752525150776, 0.009906092658638954, -0.10451751947402954, 0.023163044825196266, 0.05317429453134537, 0.05610400810837746, -0.07697821408510208, -0.02226581983268261, -0.025506814941763878, -0.026550525799393654, -0.014172486960887909, -0.029883073642849922, 0.03330717608332634, 0.022705277428030968, 0.007598943542689085, -0.031659211963415146, -0.023675743490457535, 0.014859138987958431, -0.04182165488600731, 0.06859190762042999, 0.023913783952593803, 0.021716497838497162, 0.015966936945915222, 0.018557902425527573, -0.0673101618885994, 0.010098354890942574, -0.05042768642306328, -0.016131732612848282, 0.00965889822691679, -0.04390907660126686, -0.009869471192359924, -0.012002668343484402, 0.013412592932581902, 0.03636506572365761, 0.004376259166747332, 0.01226817350834608, 0.021075623109936714, -0.06309869885444641, 0.017239531502127647, 0.07924874126911163, 0.06196343153715134, -0.02792382799088955, -0.03658479452133179, -0.06101127713918686, 0.07155824452638626, 0.06489314883947372, -0.032171912491321564, -0.006102043204009533, 0.023144733160734177, -0.059216827154159546, -0.010986424051225185, -0.0025245887227356434, 0.05588427931070328, -0.03032253123819828, 0.031000027433037758, -0.02217426709830761, 0.026843497529625893, 0.06489314883947372, 0.0034836120903491974, 0.002188129583373666, 0.012579455971717834, -0.05848439782857895, -0.029773209244012833, 0.05815480649471283, -0.017990270629525185, -0.03596222773194313, -0.012744252569973469, 0.003165463451296091, 0.056580085307359695, 0.03925815597176552, 0.003561432473361492, -0.06866515427827835, -0.010006801225244999, -0.04376259073615074, -0.01130686141550541, 0.034973450005054474, -0.06950744241476059, 0.001486600493080914, 0.04672892391681671, 0.002867914503440261, 0.019995292648673058, -0.017340239137411118, 0.011444192379713058, -0.006523189600557089, -0.0902351662516594, -0.006367548368871212, -0.02517722174525261, 0.0041405088268220425, -0.014621099457144737, -0.012844961136579514, 0.020050223916769028, 0.005937246605753899, -0.03772005811333656, 0.045886632055044174, 0.014996469020843506, 0.017248686403036118, 0.010785006918013096, 0.0015941759338602424, 0.014987314119935036, -0.01233226153999567, -0.020123466849327087, -0.03281278535723686, 0.014090089127421379, -0.003453857032582164, -0.021185487508773804, -0.034973450005054474, 0.029370374977588654, 0.025470193475484848, -0.06364801526069641, 0.02748437225818634, 0.03918491303920746, 0.024243375286459923, -0.0385623499751091, -0.017688142135739326, 0.00120278459507972, 0.017642365768551826, 0.007557744160294533, 0.010180752724409103, -0.011920270510017872, 0.014135865494608879, -0.023382773622870445, 0.08833085000514984, 0.009457480162382126, -0.02530539780855179, 0.008931047283113003, 0.03231839835643768, -0.06254937499761581, -0.04350623860955238, 0.023510947823524475, -0.0378299206495285, -0.010373015888035297, 0.014813361689448357, 0.017395172268152237, -0.010867404751479626, -0.029590101912617683, -0.0014671453973278403, -0.06668759882450104, -0.008473279885947704, 0.02523215487599373, -0.06771299242973328, 0.029315441846847534, -0.003714784746989608, -0.00006136947922641411, -0.017614901065826416, 0.0038063381798565388, -0.00002024191417149268, 0.00849159061908722, 0.0022236064542084932, -0.035065002739429474, -0.009503256529569626, -0.025726543739438057, 0.028344973921775818, -0.014849983155727386, -0.00817573070526123, 0.001526655163615942, -0.020892517641186714, 0.04467812553048134, 0.04976850003004074, -0.015655655413866043, -0.008926469832658768, -0.01230479497462511, -0.034533992409706116, 0.002597831655293703, -0.0030990871600806713, 0.0025726542808115482, -0.04636270925402641, -0.023968715220689774, 0.03623688966035843, 0.029461927711963654, 0.03907505050301552, 0.017807163298130035, 0.011709697544574738, -0.004470101557672024, -0.008001779206097126, 0.03583405539393425, -0.057019542902708054, 0.006655942182987928, 0.020031914114952087, 0.0387454554438591, -0.026697011664509773, 0.0026001203805208206, 0.021093934774398804, 0.021167177706956863, -0.059290070086717606, -0.010665986686944962, -0.006958068814128637, -0.03043239563703537, -0.028216799721121788, -0.0003567726816982031, 0.04149206355214119, 0.05006147176027298, -0.0002017038787016645, 0.008981402032077312, -0.01375134103000164, 0.025927960872650146, 0.06961730867624283, -0.0011215307749807835, 0.07595281302928925, -0.018329018726944923, 0.06734678149223328, 0.01517042052000761, 0.014437992125749588, 0.029571792110800743, 0.0022075846791267395, -0.03918491303920746, -0.043030161410570145, -0.009068377315998077, 0.09741295874118805, -0.003703340422362089, 0.014502080157399178, -0.05526171252131462, -0.017889561131596565, -0.03673127666115761, -0.0008554533706046641, -0.012954825535416603, -0.02460958994925022, 0.04954877495765686, 0.03797640651464462, 0.019848806783556938, -0.029498549178242683, 0.0498417429625988, -0.05877736955881119, -0.026166001334786415, 0.031402863562107086, 0.037189047783613205, -0.023565880954265594, 0.006010489538311958, -0.014209108427166939, 0.05061079561710358, 0.03565094619989395, -0.040246933698654175, -0.018145911395549774, 0.03665803745388985, 0.01630568504333496, -0.03341703861951828, 0.018219154328107834, -0.05852102115750313, -0.012240707874298096, 0.007836982607841492, -0.032080359756946564, -0.018136754631996155, 0.014941536821424961, -0.03552277013659477, -0.03790316358208656, -0.05050092935562134, 0.042920298874378204, 0.01961076818406582, -0.029846452176570892, 0.028674567118287086, -0.10810641199350357, -0.015921160578727722, 0.048706479370594025, 0.014410526491701603, 0.020892517641186714, 0.02768578939139843, -0.03026759810745716, -0.023419395089149475, 0.013485835865139961, 0.042956918478012085, -0.0018356484360992908, -0.03605378046631813, -0.012588610872626305, -0.0021240420173853636, -0.02823510952293873, -0.013137931935489178, 0.0038544037379324436, 0.002449057064950466, 0.05899709835648537, 0.023657433688640594, 0.048413511365652084, -0.04416542500257492, 0.006756650749593973, -0.03004787117242813, 0.015500013716518879, -0.011892803944647312, -0.06807921081781387, -0.034021295607089996, 0.026861807331442833, -0.08195872604846954, -0.03081692010164261, 0.059692904353141785, 0.014492924325168133, 0.026697011664509773, -0.034387506544589996, -0.040539905428886414, 0.03288602828979492, 0.03786654397845268, 0.046142980456352234, 0.021643254905939102, -0.02254047989845276, 0.003758272621780634, 0.002275105332955718, 0.0271914005279541, 0.024243375286459923, 0.05211227387189865, -0.042590703815221786, 0.000011319020813971292, 0.0069443355314433575, 0.009420858696103096, -0.0447513684630394, 0.0036987627390772104, -0.020874205976724625, -0.054163072258234024, -0.07445133477449417, 0.004989667795598507, 0.02741112932562828, -0.06090141087770462, 0.034680478274822235, -0.022888384759426117, -0.01937272772192955, -0.032043736428022385, 0.045483797788619995, -0.0009046633495017886, -0.048047296702861786, 0.06269586086273193, 0.05233200266957283, 0.006871093064546585, -0.04661906138062477, 0.013559078797698021, 0.017532501369714737, 0.03577912226319313, -0.07595281302928925, 0.05218551680445671, -0.018365638330578804, 0.015939470380544662, 0.011746319010853767, -0.00849159061908722, 0.06265924125909805, 0.042700570076704025, 0.01953752525150776, -0.028363285586237907, -0.04460488259792328, 0.026916738599538803, 0.042773813009262085, -0.024316618219017982, -0.0016239308752119541, 0.025927960872650146, 0.06679745763540268, -0.008528212085366249, -0.003968845587223768, -0.05251510813832283, 0.0338381864130497, -0.050830524414777756, 0.034277644008398056, 0.01924455352127552, 0.05723927170038223, 0.012954825535416603, -0.025378640741109848, -0.008738785050809383, -0.04610636085271835, 0.050940386950969696, -0.04482461139559746, 0.010336394421756268, -0.02775903232395649, 0.006431635934859514, 0.05537157878279686, 0.025415262207388878, 0.040320176631212234, 0.01111459918320179, -0.01245128083974123, -0.04138219729065895, 0.04094273969531059, -0.005314682610332966, 0.003957401495426893, 0.007296816911548376, 0.018466347828507423, 0.0051453085616230965, 0.06862852722406387, 0.03314238041639328, -0.012652698904275894, -0.05716602876782417, 0.0026184311136603355, 0.02536032907664776, -0.028583014383912086, -0.04376259073615074, 0.02257710136473179, -0.005891470238566399, -0.02990138530731201, 0.05295456573367119, 0.009796228259801865, 0.05515184998512268, -0.011361793614923954, -0.029809830710291862, -0.08071359992027283, -0.045337311923503876, 0.00835883803665638, -0.051050253212451935, -0.029553480446338654, -0.03400298207998276, 0.021313663572072983, 0.04738811030983925, 0.04973188042640686, 0.011764629743993282, 0.010574433021247387, -0.019995292648673058, -0.059143584221601486, 0.03398467227816582, -0.02514060027897358, 0.015536635182797909, -0.01110544428229332, 0.02997462823987007, -0.03914829343557358, -0.08342358469963074, -0.035065002739429474, 0.01711135543882847, 0.051453087478876114, -0.015637343749403954, 0.021624945104122162, 0.007223573978990316, 0.056177251040935516, -0.0017509614117443562, 0.014428837224841118, 0.05819142609834671, -0.017010647803544998, -0.02997462823987007, -0.01929948478937149, -0.014264040626585484, 0.06958068907260895, 0.0029663345776498318, -0.028564702719449997, -0.007997201755642891, -0.021331973373889923, 0.009970179758965969, 0.06287896633148193, 0.010940647684037685, -0.04152868315577507, 0.025927960872650146, -0.039953961968421936, 0.03599885106086731, 0.006958068814128637, 0.026385728269815445, 0.021075623109936714, -0.009173664264380932, -0.004994245246052742, 0.015500013716518879, 0.03951450437307358, 0.02779565379023552, 0.005928091239184141, -0.02526877634227276, -0.034405820071697235, 0.04130895435810089, -0.004225195851176977, 0.037427086383104324, 0.008445813320577145, -0.01637892797589302, 0.037317220121622086, 0.08086008578538895, 0.0003953968407586217, -0.0436527244746685, -0.007338015828281641, 0.022595413029193878, 0.056433599442243576, -0.03980747610330582, 0.010556122288107872, -0.020672788843512535, -0.015500013716518879, -0.012918204069137573, 0.006060843821614981, 0.0703863576054573, -0.009759606793522835, -0.026825185865163803, 0.011718852445483208, 0.01248790230602026, 0.04639933258295059, 0.0040443772450089455, -0.023474326357245445, 0.10341887176036835, 0.01920793205499649, -0.07437809556722641, 0.0778571292757988, 0.026806876063346863, 0.028857674449682236, -0.01119699701666832, 0.015628188848495483, -0.0010242551798000932, 0.0011587244225665927, 0.002275105332955718, 0.059729527682065964, 0.012954825535416603, 0.0067841168493032455, 0.00815284252166748, -0.023071490228176117, 0.05306442826986313, -0.00036707246908918023, -0.040027204900979996, -0.045666903257369995, 0.00966805312782526, 0.009004290215671062, -0.07653875648975372, 0.024316618219017982, 0.0033348375000059605, 0.01501477975398302, -0.045813389122486115, -0.007919380441308022, 0.0138245839625597, -0.034552305936813354, -0.011627298779785633, 0.031732454895973206, 0.004053532611578703, 0.011215307749807835, -0.0015014780219644308, -0.03568756952881813, 0.021386906504631042, -0.011425881646573544, 0.03341703861951828, -0.03797640651464462, 0.020398126915097237, 0.0028770698700100183, 0.01401684619486332, 0.051562950015068054, -0.013604855164885521, 0.06829893589019775, -0.01370556466281414, -0.007026733830571175, -0.01383373886346817, 0.01366894319653511, 0.06855528801679611, -0.042407598346471786, -0.017514191567897797, -0.014218264259397984, -0.02785058505833149, -0.018576212227344513, 0.04237097501754761, 0.014712653122842312, -0.009260640479624271, -0.008239817805588245, 0.031201444566249847, -0.06046195328235626, 0.0029571792110800743, -0.05471239238977432, 0.06101127713918686, -0.04954877495765686, -0.014712653122842312, 0.005195663310587406, -0.07968819886445999, 0.02217426709830761, 0.024115201085805893, -0.01383373886346817, -0.01891496032476425, -0.04973188042640686, -0.04478798806667328, 0.0007913658628240228, 0.005987601354718208, -0.0654790848493576, 0.04412880539894104, -0.00412906426936388, -0.06859190762042999, -0.008386303670704365, 0.047974053770303726, -0.019976980984210968, -0.020727720111608505, -0.003911624662578106, -0.06980041414499283, 0.025506814941763878, 0.04940228909254074, -0.06624814122915268, 0.056360356509685516, -0.029498549178242683, -0.020379817113280296, -0.024188444018363953, 0.037005938589572906, -0.012011824175715446, -0.00769049720838666, -0.012075911276042461, 0.0035087892320007086, 0.026623768731951714, -0.03076198883354664, -0.0281069353222847, 0.005566454958170652, -0.02199115976691246, -0.02221088856458664, -0.0152345085516572, 0.053540509194135666, 0.06379450112581253, -0.03554108366370201, -0.03885532170534134, 0.020544612780213356, 0.042920298874378204, 0.03262967988848686, -0.08254466950893402, -0.017935337498784065, 0.02250385843217373, 0.10085537284612656, 0.025909651070833206, -0.06958068907260895, 0.010052578523755074, -0.04661906138062477, -0.002264805603772402, -0.01915299892425537, -0.0076309870928525925, -0.008583144284784794, -0.026989981532096863, -0.015573256649076939, 0.01123361848294735, -0.07163148373365402, -0.053650371730327606, -0.0054794792085886, -0.018008580431342125, -0.04083287715911865, -0.01920793205499649, -0.01524366345256567, 0.002245350508019328, -0.032135289162397385, 0.04925580322742462, -0.04449502006173134, 0.02517722174525261, 0.013604855164885521, 0.034369196742773056, 0.02750268206000328, 0.045447174459695816, 0.05647021904587746, 0.009072955697774887, -0.023620812222361565, -0.02495749294757843, 0.03334379941225052, 0.045630283653736115, 0.07888252288103104, -0.0036850296892225742, 0.0066193207167088985, -0.015646498650312424, -0.03676789999008179, 0.06251275539398193, -0.013256952166557312, 0.03222684562206268, 0.023272909224033356, -0.03585236519575119, 0.042847055941820145, 0.023840541020035744, -0.01698318123817444, 0.028747810050845146, 0.04083287715911865, -0.010986424051225185, 0.03153103590011597, -0.037152424454689026, -0.04720500111579895, 0.004504433833062649, 0.026147689670324326, -0.029223889112472534, 0.023437704890966415, 0.020892517641186714, 0.01692824810743332, -0.05050092935562134, 0.05540819838643074, 0.01386120542883873, 0.017770541831851006, -0.042810432612895966, 0.08452222496271133, -0.05225875973701477, 0.051196735352277756, -0.07917549461126328, 0.0028290043119341135, 0.05310105159878731, 0.0095948101952672, -0.00816199742257595, 0.00406268797814846, -0.005566454958170652, -0.026056136935949326, -0.01948259212076664, -0.008551100268959999, 0.09609459340572357, 0.0074661909602582455, -0.026568835601210594, -0.018695231527090073, -0.017880406230688095, -0.06881164014339447, 0.00002975489951495547, -0.05555468425154686, 0.06064506247639656, 0.03640168532729149, 0.010757540352642536, 0.009750451892614365, -0.045959874987602234, -0.007127442862838507 ]
41,045
pyglove.core.symbolic.list
insert
Inserts an item at a given position.
def insert(self, index: int, value: Any) -> None: """Inserts an item at a given position.""" if base.treats_as_sealed(self): raise base.WritePermissionError( 'Cannot insert element into a sealed List.') if self.max_size is not None and len(self) >= self.max_size: raise ValueError(f'List reached its max size {self.max_size}.') update = self._set_item_without_permission_check( index, mark_as_insertion(value)) if flags.is_change_notification_enabled() and update: self._notify_field_updates([update])
(self, index: int, value: Any) -> NoneType
[ -0.0006399035337381065, 0.012246351689100266, -0.01672341488301754, -0.018993603065609932, 0.033410653471946716, 0.0009445925825275481, 0.00848833192139864, -0.016705326735973358, -0.008443108759820461, -0.016370676457881927, -0.054014191031455994, -0.0031701228581368923, -0.02091105282306671, -0.03567179664969444, -0.007149734999984503, -0.02154417335987091, 0.009686737321317196, 0.017428891733288765, -0.01883080042898655, 0.014181890524923801, 0.008185338228940964, 0.0018518762663006783, 0.005458399653434753, -0.028291424736380577, 0.005309164524078369, -0.005747826304286718, -0.004748400766402483, 0.034405555576086044, 0.024130919948220253, 0.0010881752241402864, 0.0561487078666687, -0.029014989733695984, 0.006001074332743883, -0.046850889921188354, 0.014851189218461514, -0.005761392880231142, -0.06475914269685745, -0.014118578284978867, 0.02718798629939556, 0.023552067577838898, -0.024510793387889862, 0.006964321248233318, 0.007805466651916504, -0.018559463322162628, 0.020965320989489555, 0.09804317355155945, 0.005499100312590599, 0.10701538622379303, 0.02114621177315712, -0.004352700896561146, -0.05611253157258034, 0.04109853878617287, 0.018939336761832237, -0.06707455217838287, -0.05535278841853142, 0.05126463994383812, 0.03809574246406555, -0.0038755994755774736, 0.0577043741941452, 0.018360482528805733, 0.04576553776860237, 0.013250299729406834, 0.01716659963130951, -0.08820267766714096, 0.018740355968475342, 0.006322156637907028, -0.003764803521335125, -0.021236658096313477, 0.0014358259504660964, 0.02626544050872326, 0.05727023631334305, -0.0072356583550572395, -0.012544822879135609, 0.01154087483882904, -0.04247331619262695, 0.0479724146425724, 0.0274412352591753, 0.06255226582288742, 0.029376773163676262, 0.05535278841853142, 0.016189785674214363, -0.008420497179031372, 0.03690185770392418, 0.05886208266019821, -0.016461122781038284, 0.06674894690513611, -0.022774234414100647, -0.025324804708361626, -0.005024260375648737, 0.01602698303759098, -0.006783429533243179, 0.006656805519014597, 0.010817308910191059, -0.02141754887998104, -0.018369527533650398, 0.015610933303833008, 0.05111992731690407, -0.09811552613973618, 0.009731960482895374, 0.07228422909975052, -0.004529070109128952, 0.05227763205766678, 0.0627693384885788, -0.041315607726573944, -0.04782770201563835, -0.009202852845191956, 0.05886208266019821, 0.023552067577838898, -0.059549469500780106, 0.05520807206630707, 0.0753232017159462, 0.014199979603290558, -0.000101398145488929, -0.013919597491621971, -0.027766838669776917, 0.04666999727487564, -0.010301768779754639, -0.022846590727567673, 0.025143912062048912, 0.010184189304709435, 0.043377771973609924, -0.02809244394302368, 0.030064160004258156, 0.03205396607518196, -0.005042349454015493, 0.022973215207457542, -0.026880471035838127, -0.027965819463133812, 0.03663052245974541, 0.016497300937771797, -0.009315909817814827, -0.022756146267056465, -0.00023204983153846115, 0.01604507304728031, -0.017392713576555252, -0.006824130192399025, -0.005557890050113201, -0.025957925245165825, -0.07416550070047379, -0.036323003470897675, -0.01834239438176155, -0.04345012828707695, 0.06844932585954666, 0.025071555748581886, -0.003961523063480854, -0.025324804708361626, -0.0627693384885788, 0.013295521959662437, 0.0027111107483506203, 0.012354887090623379, 0.0017953477799892426, 0.0338628813624382, -0.026193084195256233, 0.00577043741941452, -0.03024505265057087, -0.027604036033153534, -0.009686737321317196, -0.0476829893887043, 0.052241452038288116, 0.005413176957517862, 0.010012342594563961, -0.03701039403676987, 0.047502096742391586, 0.07496142387390137, -0.07944753021001816, 0.08856445550918579, -0.0236967820674181, 0.020567359402775764, -0.03885548561811447, 0.04746592044830322, 0.04496961832046509, 0.018541375175118446, 0.006919098552316427, 0.0246193278580904, -0.0074165500700473785, -0.005571457091718912, -0.013295521959662437, 0.05462922155857086, 0.060164500027894974, -0.09630661457777023, -0.03388097137212753, -0.010790175758302212, 0.016795771196484566, -0.012418198399245739, -0.04869598150253296, 0.011884569190442562, -0.03214441239833832, 0.057342592626810074, 0.05263941362500191, 0.05719787999987602, 0.0011938835959881544, 0.02474595233798027, 0.015294373035430908, -0.07937517017126083, -0.0715244859457016, 0.04319687932729721, -0.04638057202100754, -0.03536428138613701, -0.017727363854646683, 0.020404556766152382, -0.007118078880012035, -0.02371487021446228, 0.06682130694389343, -0.038023386150598526, 0.037118926644325256, 0.00200111186131835, -0.005227763205766678, -0.01897551491856575, -0.04605496674776077, -0.024764040485024452, -0.018270038068294525, 0.00759744131937623, -0.04533139988780022, 0.019391564652323723, -0.043015990406274796, -0.10527882725000381, -0.013657305389642715, -0.07373135536909103, 0.03406186029314995, -0.00864661205559969, 0.05987507477402687, -0.014408004470169544, -0.06428882479667664, -0.010943933390080929, 0.04677852988243103, -0.01147756353020668, 0.01722991093993187, -0.0636376142501831, 0.0011577053228393197, 0.025143912062048912, -0.045693181455135345, 0.0006206838297657669, -0.01492354553192854, -0.007588396780192852, 0.003360058879479766, 0.018098190426826477, 0.01628023199737072, -0.06826844066381454, -0.028508493676781654, 0.046091143041849136, 0.010726863518357277, 0.011486607603728771, 0.005643813405185938, 0.06580831110477448, -0.01908404938876629, 0.038891665637493134, -0.03187307342886925, 0.027911553159356117, 0.006860308814793825, -0.0021141688339412212, -0.0014991379575803876, 0.013747750781476498, -0.044788725674152374, -0.010925844311714172, -0.01428138092160225, 0.009333998896181583, -0.021562261506915092, -0.02396811917424202, -0.017112331464886665, -0.03445982187986374, -0.07467199116945267, -0.037335995584726334, 0.003072893712669611, -0.004556203726679087, -0.04507815092802048, -0.02821906842291355, -0.02331690862774849, 0.07355047017335892, 0.03881930559873581, 0.07604677230119705, 0.0705476701259613, 0.019753348082304, 0.013557814992964268, -0.03187307342886925, -0.0032356958836317062, -0.018812712281942368, 0.011893613263964653, 0.050432540476322174, -0.04793623834848404, 0.021706975996494293, 0.03900019824504852, 0.021706975996494293, -0.03715510666370392, -0.018360482528805733, 0.009976164437830448, 0.019680991768836975, 0.020856784656643867, 0.024203278124332428, -0.06038156896829605, 0.0026884994003921747, 0.002464646240696311, 0.03614211454987526, 0.02908734604716301, 0.009171197190880775, 0.013820107094943523, 0.02114621177315712, -0.05936857685446739, 0.04265420511364937, -0.019916148856282234, -0.02959384210407734, 0.006385468412190676, -0.0016642013797536492, -0.044535476714372635, 0.022123025730252266, 0.03708275035023689, -0.01718468777835369, -0.024528881534934044, 0.021182389929890633, -0.055171895772218704, 0.015638066455721855, 0.007751198951154947, 0.0172480009496212, -0.025957925245165825, 0.015592844225466251, 0.07423785328865051, -0.00688744243234396, -0.0169314406812191, -0.04656146094202995, -0.04833419993519783, 0.033139314502477646, -0.043775733560323715, 0.0015149660175666213, -0.0730801522731781, -0.07669797539710999, -0.0016246314626187086, -0.006240755319595337, 0.020024685189127922, 0.011676543392241001, -0.054665397852659225, 0.040700577199459076, -0.04648910462856293, -0.03617829084396362, -0.024040475487709045, 0.021200479939579964, -0.03272326663136482, 0.01883080042898655, -0.01779972016811371, -0.000594115408603102, 0.019029781222343445, -0.013729661703109741, -0.06421646475791931, 0.020223665982484818, 0.007109034340828657, 0.022213472053408623, 0.04565700516104698, -0.0706562027335167, 0.04728502780199051, 0.00891794916242361, -0.0144260935485363, 0.033012691885232925, -0.016207875683903694, -0.04587407410144806, -0.03523765504360199, -0.0577043741941452, 0.027531679719686508, -0.05144553259015083, 0.004524547606706619, -0.0708370953798294, 0.0056257243268191814, -0.046850889921188354, 0.0098043167963624, -0.03961522877216339, 0.019554367288947105, -0.0024284678511321545, -0.06410793215036392, 0.012798070907592773, -0.04247331619262695, -0.01428138092160225, 0.007308015134185553, -0.02282850258052349, 0.001149226096458733, -0.018414750695228577, 0.017890164628624916, 0.04406515881419182, 0.05368858575820923, -0.02577703259885311, 0.023371176794171333, 0.049021586775779724, -0.13024185597896576, -0.011260493658483028, 0.014507494866847992, -0.019898060709238052, 0.009239031001925468, 0.023787226527929306, 0.037625424563884735, 0.0017116854432970285, 0.03867459297180176, 0.021218568086624146, -0.05405036732554436, -0.010925844311714172, -0.010726863518357277, -0.029268238693475723, -0.04142414405941963, -0.015610933303833008, -0.03268708661198616, 0.018939336761832237, -0.0033917147666215897, 0.010536927729845047, -0.037480711936950684, 0.03283179923892021, 0.03154747188091278, 0.0052548968233168125, 0.01581895910203457, 0.02192404493689537, -0.0007083031232468784, -0.010148011147975922, -0.028273334726691246, 0.0011622275924310088, -0.01859564147889614, 0.028870277106761932, -0.001048605190590024, 0.023859582841396332, 0.010328901931643486, -0.010600239969789982, 0.05893443897366524, -0.032108232378959656, -0.03292224556207657, 0.0089405607432127, -0.07311632484197617, -0.012725714594125748, -0.043522484600543976, -0.015782779082655907, -0.0392172671854496, 0.09138636291027069, -0.04449930042028427, -0.05086667835712433, -0.016054116189479828, -0.021996401250362396, -0.04345012828707695, -0.061213668435811996, 0.015864180400967598, 0.0019660640973597765, 0.014824055135250092, 0.06385468691587448, 0.008741579949855804, -0.056582849472761154, -0.01307845301926136, -0.08270357549190521, -0.06392703950405121, 0.021725064143538475, -0.0017173383384943008, 0.034423645585775375, 0.020784428343176842, 0.036449629813432693, 0.057342592626810074, -0.0010926974937319756, -0.0008603649912402034, -0.014118578284978867, 0.05763201788067818, -0.004280344117432833, 0.04373955354094505, -0.010943933390080929, 0.046995602548122406, 0.08299300074577332, -0.0693899616599083, -0.03559944033622742, -0.08277593553066254, -0.0476829893887043, 0.04033879563212395, -0.010283679701387882, 0.027224164456129074, 0.026373974978923798, -0.037335995584726334, -0.057089343667030334, 0.013802018016576767, 0.05242234468460083, -0.00846572034060955, 0.03310313820838928, 0.008180816657841206, 0.019011693075299263, 0.0014900934183970094, 0.006466869730502367, -0.017772585153579712, -0.08653847128152847, -0.02588556706905365, -0.0069145760498940945, 0.05368858575820923, -0.042726561427116394, 0.03532810136675835, -0.0034211096353828907, 0.07604677230119705, -0.011206225492060184, 0.029250148683786392, 0.04587407410144806, -0.03332020714879036, -0.0072220913134515285, 0.019047871232032776, 0.024926843121647835, 0.04088146984577179, 0.03192734345793724, 0.060960423201322556, -0.09326763451099396, 0.0038348990492522717, 0.044426944106817245, 0.03397141769528389, 0.000336627708747983, -0.05101139098405838, -0.013051318936049938, 0.03791484981775284, -0.01404622197151184, -0.00413789227604866, -0.0018744877306744456, 0.003615568159148097, -0.05831940844655037, -0.02373296022415161, -0.002914613578468561, 0.006204577162861824, 0.02411283180117607, -0.04884069412946701, -0.030046071857213974, 0.030950529500842094, 0.052603237330913544, 0.05553367733955383, -0.01436278223991394, 0.07720447331666946, 0.03458644822239876, -0.03350109979510307, -0.03346491977572441, 0.02896072342991829, -0.007696931716054678, 0.03758924454450607, -0.02049500308930874, 0.002071207156404853, -0.06381850689649582, 0.030082250013947487, -0.030082250013947487, 0.00921641942113638, -0.0473935641348362, 0.03834898769855499, 0.04229242354631424, -0.03856606036424637, 0.011504696682095528, 0.012807114981114864, -0.001237975899130106, 0.04001319035887718, 0.03163791820406914, 0.039036378264427185, 0.04616349935531616, 0.024004297330975533, -0.02870747447013855, -0.04384808987379074, -0.015203927643597126, -0.013639216311275959, -0.07007735222578049, 0.008669223636388779, -0.041605036705732346, -0.05278412625193596, -0.082124724984169, -0.03174645081162453, -0.018224814906716347, 0.004386617802083492, 0.003276396542787552, -0.013711572624742985, 0.014326604083180428, 0.004040663130581379, -0.0339171476662159, 0.02141754887998104, 0.0325966402888298, 0.026337796822190285, 0.03590695559978485, 0.024438437074422836, -0.022267738357186317, 0.01506825815886259, -0.03907255455851555, 0.02512582391500473, -0.01204737089574337, -0.04829801991581917, -0.03820427507162094, 0.06320347636938095, -0.015285328030586243, 0.02756785787642002, -0.03809574246406555, -0.015176793560385704, 0.020712072029709816, -0.0417497493326664, -0.007583874277770519, -0.03690185770392418, 0.02373296022415161, -0.022846590727567673, -0.03827663138508797, -0.006335723213851452, 0.02897881157696247, 0.019807614386081696, -0.027115629985928535, 0.07235658168792725, 0.013069408014416695, -0.016497300937771797, -0.017211822792887688, -0.009894763119518757, 0.014498450793325901, -0.0032040399964898825, 0.025867478922009468, -0.014616030268371105, -0.003427893156185746, 0.08002638071775436, 0.006869353353977203, -0.05911532789468765, -0.0492386557161808, 0.007484384346753359, 0.009324954822659492, -0.017908254638314247, 0.049672793596982956, -0.060815710574388504, -0.008058714680373669, 0.07828982174396515, 0.021218568086624146, -0.003785153850913048, -0.04265420511364937, 0.01924685202538967, -0.05115610361099243, 0.01415475644171238, 0.04656146094202995, -0.031059063971042633, -0.010654507204890251, -0.06826844066381454, 0.026844292879104614, -0.006399035453796387, 0.004420535173267126, 0.054412152618169785, 0.033410653471946716, 0.01827908121049404, 0.047863882035017014, -0.0019084048690274358, -0.016687236726284027, 0.025704676285386086, -0.07640855014324188, -0.017067110165953636, -0.002380983904004097, -0.013467369601130486, 0.0039954399690032005, 0.029702378436923027, 0.022213472053408623, -0.026591043919324875, 0.0009440273279324174, -0.06302258372306824, 0.009415400214493275, -0.02821906842291355, -0.0175645612180233, 0.042220067232847214, 0.07318868488073349, -0.012798070907592773, -0.010419348254799843, 0.016840994358062744, 0.017953477799892426, 0.03686567768454552, -0.001609934028238058, -0.025849388912320137, -0.023497801274061203, -0.03523765504360199, 0.014634119346737862, 0.03181880712509155, -0.006385468412190676, -0.012418198399245739, -0.021869776770472527, 0.018866978585720062, 0.04041115194559097, -0.009379222057759762, -0.002442034659907222, -0.022900858893990517, 0.012798070907592773, 0.01351259183138609, -0.035961221903562546, -0.01307845301926136, -0.01640685461461544, 0.04551229253411293, 0.029322504997253418, -0.038023386150598526, -0.06200959160923958, 0.025596141815185547, 0.05126463994383812, -0.013802018016576767, -0.04862362518906593, -0.011278582736849785, 0.08899860084056854, 0.06902818381786346, -0.04023025929927826, -0.00018781621474772692, 0.05263941362500191, -0.008592343889176846, -0.015873225405812263, 0.006968843284994364, -0.05625724419951439, 0.028689386323094368, -0.012779981829226017, -0.05629342049360275, 0.043377771973609924, -0.044028982520103455, -0.02870747447013855, -0.0004957556375302374, -0.016940485686063766, 0.012662402354180813, -0.03563561663031578, -0.04855126887559891, 0.026048369705677032, -0.030950529500842094, 0.008352663367986679, 0.02382340468466282, 0.038385167717933655, -0.015312462113797665, 0.007954701781272888, 0.039289623498916626, 0.06153927370905876, 0.03572606295347214, -0.004221554379910231, 0.023045571520924568, -0.009903807193040848, -0.025342892855405807, 0.026880471035838127, 0.03317549452185631, -0.015954626724123955, 0.018161501735448837, 0.047755345702171326, -0.003568083979189396, 0.018921246752142906, -0.07626383751630783, 0.004558464977890253, 0.04605496674776077, 0.015502397902309895, -0.04974514991044998, 0.028906455263495445, 0.012798070907592773, -0.00928877666592598, 0.00928877666592598, -0.03344682976603508, 0.017428891733288765, -0.046091143041849136, 0.036594342440366745, -0.049021586775779724, 0.018686087802052498, 0.0010570844169706106, 0.07402078807353973, 0.00573878176510334, 0.014073355123400688, 0.015032080002129078, 0.04218388721346855, 0.008809413760900497, -0.028291424736380577, 0.031963519752025604, -0.0023425444960594177, 0.01070877443999052, 0.07980931550264359, 0.003109071869403124, 0.005924195516854525, -0.07575734704732895, -0.04905776306986809, -0.00215600011870265, -0.01538481842726469, -0.012716669589281082, -0.017139466479420662, 0.06573595851659775, 0.026337796822190285, 0.007656231056898832, -0.02615690603852272, 0.029304416850209236, 0.03310313820838928, -0.009903807193040848, 0.06729162484407425, 0.017664050683379173, 0.0033464920707046986, -0.04533139988780022, 0.026373974978923798, -0.012210173532366753, 0.03227103501558304, 0.007384893950074911, -0.050324004143476486, 0.03860223665833473, -0.01604507304728031, 0.039434339851140976 ]
41,049
pyglove.core.symbolic.list
pop
Pop an item and return its value.
def pop(self, index: int = -1) -> Any: """Pop an item and return its value.""" if index < -len(self) or index >= len(self): raise IndexError('pop index out of range') index = (index + len(self)) % len(self) value = self[index] with flags.allow_writable_accessors(True): del self[index] return value
(self, index: int = -1) -> Any
[ 0.02939881943166256, 0.027855124324560165, -0.048849381506443024, -0.04792316257953644, -0.015685658901929855, -0.03955290466547012, -0.026465797796845436, 0.022229213267564774, 0.07951746135950089, -0.05166233703494072, -0.026088450103998184, 0.011114606633782387, -0.04888368397951126, 0.01603727973997593, -0.027837973088026047, 0.05691090226173401, 0.000857072533108294, 0.025162233039736748, 0.025573885068297386, 0.049844205379486084, 0.03017066791653633, -0.012315258383750916, -0.009124954231083393, 0.010754411108791828, -0.025659646838903427, 0.007311112713068724, 0.06781968474388123, 0.004249450284987688, 0.055778857320547104, -0.02761499397456646, -0.005308596882969141, -0.014459279365837574, -0.019347647204995155, -0.006131900940090418, 0.002733627101406455, -0.015256855636835098, -0.07656728476285934, 0.019536321982741356, 0.027837973088026047, 0.03862668573856354, 0.022640865296125412, -0.03862668573856354, 0.04006746783852577, -0.051422204822301865, 0.020222408697009087, 0.0439438596367836, 0.026002690196037292, 0.08164433389902115, 0.00851176492869854, -0.00314099108800292, -0.000716639100573957, 0.11073441058397293, 0.026843145489692688, -0.004892656579613686, -0.07498928904533386, 0.025762559846043587, 0.019073212519288063, 0.02859266847372055, 0.007559819146990776, 0.027340559288859367, 0.004794031381607056, -0.0071009984239935875, -0.0226751696318388, -0.07629285007715225, 0.07533232867717743, -0.031096884980797768, 0.017186474055051804, 0.011946486309170723, 0.03294931724667549, -0.02613990753889084, 0.025162233039736748, 0.031920187175273895, 0.005171379540115595, -0.016680484637618065, -0.015179670415818691, -0.031611450016498566, 0.05372059717774391, 0.029553189873695374, 0.0457276850938797, -0.006449216045439243, -0.013421572744846344, 0.04490438103675842, 0.0011288272216916084, 0.042400166392326355, -0.018352821469306946, 0.03116549365222454, 0.03728881850838661, -0.038763903081417084, -0.025659646838903427, 0.03890112042427063, 0.016603300347924232, 0.03394414484500885, -0.0037884856574237347, -0.013061377219855785, 0.001541551318950951, -0.055778857320547104, 0.022160604596138, -0.03890112042427063, 0.005227123852819204, 0.0024163119960576296, 0.012392442673444748, 0.03581373021006584, -0.018644409254193306, -0.010557160712778568, 0.012255225330591202, 0.0932391956448555, 0.06085589900612831, -0.00018438583356328309, -0.02552242949604988, 0.04325777292251587, 0.024973560124635696, 0.02828392945230007, -0.053103119134902954, -0.03454447165131569, 0.024407537654042244, 0.03413281962275505, -0.06980933248996735, -0.01831851713359356, 0.012401019223034382, 0.006414911709725857, 0.03749464452266693, -0.029021471738815308, -0.02485349401831627, 0.015342616476118565, -0.0010671865893527865, 0.04679112136363983, -0.028849950060248375, -0.026654472574591637, 0.03394414484500885, 0.06202224642038345, -0.018833082169294357, -0.011491954326629639, -0.04198851436376572, 0.013738888315856457, -0.02799234166741371, 0.016191648319363594, 0.04020468518137932, -0.026603015139698982, -0.04511020705103874, -0.05890055373311043, 0.025488125160336494, 0.007825677283108234, 0.07224494218826294, 0.08040937036275864, 0.0018663705559447408, -0.05152511969208717, -0.02464766800403595, -0.02385866828262806, -0.03138847276568413, -0.008250193670392036, -0.005630199797451496, 0.03862668573856354, 0.000609438051469624, -0.04812898859381676, 0.016852008178830147, -0.0029501733370125294, -0.022898146882653236, -0.021114321425557137, -0.04020468518137932, -0.016894888132810593, 0.005896058399230242, 0.039347078651189804, 0.024493299424648285, -0.019570626318454742, -0.03137131780385971, 0.029536036774516106, 0.08637832850217819, 0.003216031938791275, -0.05440668389201164, 0.06287985295057297, -0.015994397923350334, 0.008841943927109241, 0.007778509054332972, -0.0076198517344892025, -0.053995031863451004, 0.03931277245283127, -0.025488125160336494, 0.05372059717774391, 0.056053292006254196, -0.06998085230588913, -0.052794378250837326, -0.041405338793992996, -0.019158974289894104, -0.10051171481609344, 0.02799234166741371, 0.01624310575425625, -0.03811212256550789, 0.04898659884929657, 0.05471542477607727, 0.04531603306531906, -0.0018513624090701342, -0.01987936533987522, 0.00646207993850112, -0.03238329663872719, 0.0324862115085125, -0.011174638755619526, -0.02147451788187027, 0.021646039560437202, 0.017872560769319534, 0.004969841334968805, -0.03684286028146744, -0.00277007557451725, 0.04915811866521835, -0.045864902436733246, -0.05564163997769356, -0.033223751932382584, 0.015051029622554779, -0.022091995924711227, -0.05691090226173401, 0.03732312098145485, -0.015128213912248611, 0.04552185907959938, 0.05330894514918327, -0.022898146882653236, -0.0040972246788442135, -0.07889997959136963, -0.03039364516735077, -0.049123816192150116, 0.08006633073091507, 0.03955290466547012, 0.01790686510503292, -0.08198737353086472, -0.04257168620824814, 0.021045712754130363, 0.022229213267564774, -0.005818873643875122, -0.05656785890460014, -0.05166233703494072, 0.02613990753889084, 0.0015394072979688644, 0.030719537287950516, 0.02385866828262806, 0.06596724689006805, -0.05313742160797119, 0.030016297474503517, 0.040616340935230255, -0.03481890633702278, 0.005896058399230242, -0.01181784551590681, 0.05598468333482742, 0.025659646838903427, 0.031319864094257355, -0.002450616331771016, 0.08082102984189987, -0.012949888594448566, 0.10963667184114456, 0.017357995733618736, 0.056842293590307236, 0.05025585740804672, -0.005917498841881752, 0.04027329385280609, 0.028472602367401123, -0.01385895349085331, 0.05385781452059746, 0.02444184198975563, -0.011217519640922546, -0.044321209192276, -0.08308511227369308, -0.011509106494486332, -0.01970784366130829, -0.020308170467615128, -0.07059833407402039, 0.022829538211226463, -0.011020269244909286, 0.008618965744972229, 0.030530862510204315, 0.03780338168144226, 0.012015094980597496, 0.020702669396996498, 0.0728624165058136, -0.010034019127488136, -0.02552242949604988, -0.012152312323451042, -0.05948372557759285, 0.025402363389730453, 0.03178296983242035, -0.04034190624952316, 0.03601955622434616, 0.00796289462596178, 0.0016691205091774464, 0.040822166949510574, -0.0034089938271790743, -0.03356679528951645, -0.005252852104604244, -0.009545182809233665, 0.03883251175284386, 0.049844205379486084, -0.028129559010267258, 0.057048119604587555, 0.01802693121135235, 0.06528116017580032, -0.003698436776176095, -0.017563821747899055, -0.038249339908361435, 0.044664252549409866, -0.01005117129534483, -0.07190189510583878, 0.025368059054017067, 0.0053686294704675674, 0.05046168342232704, -0.0208913441747427, -0.02919299341738224, -0.11869301646947861, 0.023001059889793396, 0.01572854071855545, 0.006633601617068052, 0.044081076979637146, 0.02512792870402336, -0.012778366915881634, 0.035985253751277924, 0.050427380949258804, -0.029724711552262306, 0.00003338308306410909, 0.05118207633495331, 0.01910751685500145, -0.03394414484500885, 0.017280811443924904, 0.002264086389914155, 0.012932736426591873, 0.02759784273803234, -0.04476716369390488, -0.07862554490566254, -0.04116521030664444, -0.03986164182424545, 0.007628427818417549, -0.008018639869987965, -0.14256884157657623, 0.023241190239787102, -0.013481605798006058, 0.02533375471830368, -0.020153800025582314, -0.03039364516735077, -0.007435465697199106, -0.0035140509717166424, 0.05372059717774391, 0.027889428660273552, -0.000700558943208307, 0.06106172502040863, 0.02406449429690838, -0.009871073998510838, -0.03883251175284386, -0.010660073719918728, 0.0036448361352086067, 0.02613990753889084, 0.018781626597046852, 0.021903321146965027, 0.029450276866555214, -0.009759584441781044, -0.000152359512867406, -0.017992626875638962, 0.03581373021006584, -0.014476431533694267, -0.021423060446977615, 0.017186474055051804, -0.02047969214618206, -0.0067493789829313755, 0.007491210475564003, 0.021251538768410683, 0.007718476466834545, -0.05327463895082474, -0.03166290745139122, -0.03818073123693466, -0.000661430589389056, -0.010454247705638409, -0.028849950060248375, -0.033583950251340866, -0.07155885547399521, 0.010119780898094177, -0.0703238993883133, -0.016749093309044838, -0.0024934967514127493, -0.012392442673444748, -0.0071696070954203606, 0.01790686510503292, 0.020308170467615128, -0.015977246686816216, -0.005360053386539221, 0.03047940693795681, -0.04445842653512955, -0.07121580839157104, 0.02027386613190174, -0.03701438382267952, -0.043394990265369415, 0.06016981229186058, 0.0057202489115297794, 0.030616624280810356, -0.06058146432042122, -0.04545325040817261, -0.013773192651569843, -0.002594265853986144, -0.03938138112425804, -0.0682656392455101, -0.046756815165281296, -0.03831794857978821, -0.014279182069003582, 0.02782081998884678, -0.019673539325594902, -0.013284355401992798, -0.04860924929380417, -0.0023605674505233765, 0.03883251175284386, 0.040136076509952545, -0.008979161269962788, 0.008125840686261654, 0.014133388176560402, -0.020531147718429565, 0.008194449357688427, 0.00549298245459795, -0.011937910690903664, 0.007122438866645098, -0.0059732431545853615, 0.007504074368625879, -0.0036619883030653, -0.01469940971583128, 0.08987737447023392, -0.026705928146839142, 0.03807781636714935, 0.03394414484500885, 0.012461051344871521, 0.020239561796188354, -0.027752211317420006, -0.01469940971583128, -0.033789776265621185, -0.031114036217331886, -0.06373746693134308, -0.024870647117495537, -0.010968812741339207, 0.000311151088681072, -0.08411424607038498, 0.03920986130833626, -0.0011116750538349152, -0.10538293421268463, 0.0016015839064493775, 0.03228038549423218, 0.017375148832798004, -0.03475029766559601, -0.036774251610040665, -0.046756815165281296, -0.05759698897600174, 0.05039307475090027, 0.058934856206178665, 0.03571081906557083, 0.006389183457940817, 0.03168005868792534, 0.0184042789041996, 0.025556733831763268, 0.0194848645478487, -0.00450244452804327, 0.0342700369656086, -0.034681688994169235, 0.009819617494940758, 0.009476574137806892, 0.04294903576374054, 0.006899460684508085, 0.02433892898261547, -0.0942683294415474, -0.11279267072677612, -0.042914729565382004, -0.017392300069332123, -0.04531603306531906, -0.014116236008703709, 0.012049399316310883, -0.035573601722717285, -0.08082102984189987, -0.019021756947040558, 0.05649925023317337, 0.016474658623337746, 0.021731799468398094, -0.0853492021560669, 0.03348103538155556, -0.029656102880835533, -0.06274263560771942, -0.0489179901778698, -0.08555502444505692, -0.027546385303139687, 0.00539006944745779, -0.004266602452844381, 0.010479976423084736, 0.0203767791390419, -0.0199994295835495, -0.003286784514784813, 0.012992768548429012, 0.0008501044358126819, 0.03560790419578552, -0.03920986130833626, 0.036088164895772934, 0.024664821103215218, 0.015891484916210175, 0.0184042789041996, 0.017246507108211517, 0.0482662059366703, -0.031114036217331886, -0.011054573580622673, 0.04514451324939728, 0.021457364782691002, 0.01261542085558176, -0.030599471181631088, -0.02415025606751442, 0.02156027778983116, -0.033995602279901505, 0.02433892898261547, 0.018490038812160492, -0.006161917001008987, -0.04267460107803345, -0.008636117912828922, -0.01939910463988781, 0.009502301923930645, 0.056945204734802246, -0.019639234989881516, -0.0646979883313179, -0.003340385155752301, 0.05056459829211235, 0.039038337767124176, -0.008601813577115536, 0.03329236060380936, 0.028232472017407417, 0.006929476745426655, 0.014081931672990322, 0.035573601722717285, 0.05444099009037018, 0.07341128587722778, -0.04342929646372795, -0.07354850322008133, 0.003947142977267504, 0.01182642113417387, -0.02761499397456646, -0.016654757782816887, -0.012469627894461155, 0.034870363771915436, 0.01396186649799347, -0.017272235825657845, 0.0016819847514852881, -0.03553929552435875, 0.00052930525271222, 0.053995031863451004, -0.03066807985305786, 0.007281096186488867, 0.023292647674679756, 0.08164433389902115, 0.004673966206610203, -0.0017002088716253638, -0.020205257460474968, 0.0034325781743973494, -0.04692833870649338, -0.03759755566716194, -0.030359340831637383, -0.05241703242063522, -0.03137131780385971, 0.021251538768410683, 0.0421600341796875, -0.038352251052856445, -0.028524059802293777, 0.06188502907752991, -0.013172866776585579, 0.03848946839570999, 0.06483520567417145, -0.0051756673492491245, 0.03742603585124016, 0.047339990735054016, 0.02017095312476158, 0.01282124686986208, 0.013172866776585579, 0.039347078651189804, -0.021508822217583656, -0.0062348139472305775, 0.04758011922240257, -0.03444155678153038, -0.013318659737706184, 0.048437729477882385, -0.03986164182424545, 0.0018953147809952497, -0.009519454091787338, 0.0032503362745046616, -0.0035397792235016823, -0.016603300347924232, 0.01979360356926918, 0.009605214931070805, -0.011449073441326618, -0.017066409811377525, 0.025213690474629402, -0.0040479120798408985, 0.0461050346493721, 0.032211776822805405, -0.04812898859381676, 0.010540008544921875, 0.038729600608348846, 0.029553189873695374, -0.0010232341010123491, -0.00905634555965662, 0.00004351693132775836, 0.06950059533119202, -0.0165261160582304, 0.034287188202142715, 0.015222551301121712, 0.06943198293447495, 0.02147451788187027, -0.030822450295090675, -0.010034019127488136, -0.03711729496717453, 0.018970299512147903, 0.009219291619956493, 0.008936280384659767, 0.04167977347970009, -0.00821160152554512, 0.00653497688472271, 0.05224550887942314, -0.05094194412231445, -0.01831851713359356, 0.04167977347970009, -0.029553189873695374, -0.0027915157843381166, -0.007439753971993923, -0.04926103353500366, -0.009570910595357418, -0.007778509054332972, -0.007572683040052652, -0.024218864738941193, 0.028849950060248375, -0.0646979883313179, -0.015496985986828804, -0.02010234259068966, 0.03327520936727524, -0.07375433295965195, 0.01256396435201168, 0.030530862510204315, -0.08274207264184952, -0.0001034490269375965, 0.012246649712324142, -0.016500387340784073, 0.07176467776298523, -0.008486036211252213, -0.06802550703287125, 0.023669995367527008, 0.0027100429870188236, -0.06257111579179764, 0.005398645531386137, -0.010488552041351795, 0.029467428103089333, -0.017255082726478577, 0.0203767791390419, 0.039038337767124176, -0.03440725430846214, -0.022212060168385506, 0.015891484916210175, -0.012169464491307735, -0.02535090781748295, -0.023309798911213875, 0.028043799102306366, 0.010334182530641556, -0.06781968474388123, -0.0029566052835434675, -0.016208801418542862, -0.0006448143976740539, -0.017040681093931198, -0.030856754630804062, 0.0013057090109214187, 0.06576141715049744, 0.011483377777040005, -0.02622566744685173, -0.0026435782201588154, -0.015608474612236023, -0.0382150337100029, -0.022932451218366623, -0.007950031198561192, 0.05924359709024429, -0.01118321530520916, -0.05197107419371605, 0.015411225147545338, 0.03222892805933952, 0.0068480041809380054, -0.019724994897842407, -0.043806642293930054, -0.029330210760235786, 0.03329236060380936, 0.0025663934648036957, -0.02869558148086071, 0.012735486030578613, 0.03150853514671326, -0.023241190239787102, 0.02771790698170662, 0.048437729477882385, 0.01741802878677845, 0.00463108578696847, -0.0035140509717166424, -0.02463051676750183, 0.030993971973657608, 0.004695406649261713, 0.022829538211226463, -0.015874333679676056, -0.020445387810468674, -0.0035998118110001087, -0.060204118490219116, -0.002433464163914323, 0.008824791759252548, -0.04634516313672066, -0.0027915157843381166, 0.02356708236038685, -0.016560420393943787, 0.00846888404339552, 0.029827624559402466, -0.0018460022984072566, 0.025488125160336494, 0.017666734755039215, -0.01859295181930065, -0.015874333679676056, 0.03293216601014137, -0.01654326729476452, 0.025779711082577705, -0.03574512153863907, -0.051010552793741226, -0.01700637675821781, 0.059518031775951385, -0.007774221245199442, 0.009433693252503872, 0.01172350812703371, 0.04322347044944763, -0.02514508180320263, 0.05780281499028206, -0.06987794488668442, 0.03523055836558342, -0.009030617773532867, 0.027958037331700325, 0.017383724451065063, 0.019244734197854996, 0.015557018108665943, 0.0006399903795681894, 0.029124384745955467, -0.05818016082048416, -0.05944942310452461, 0.06860867887735367, 0.0314570814371109, -0.03461308032274246, 0.06895172595977783, -0.027134733274579048, 0.026157058775424957, -0.031045427545905113, 0.05420085787773132, 0.005167091265320778, 0.05083903297781944, 0.019364800304174423, -0.008987736888229847, 0.02017095312476158, -0.023772908374667168, 0.005913210567086935, -0.00729824835434556, -0.010034019127488136, -0.054372381418943405, 0.0055272867903113365, -0.020239561796188354, -0.04095938429236412, 0.010479976423084736, 0.00559160765260458, -0.005282868631184101, 0.05293159559369087, 0.02286384254693985, -0.0125125078484416, 0.01960493065416813, 0.029415972530841827, -0.020068038254976273, -0.007872845977544785, -0.05938081443309784, 0.01088305190205574, -0.04600211977958679, 0.04233155772089958, -0.05598468333482742, 0.023018212988972664, -0.026568710803985596, -0.008005775511264801 ]
41,051
pyglove.core.symbolic.list
remove
Removes the first occurrence of the value.
def remove(self, value: Any) -> None: """Removes the first occurrence of the value.""" for i, item in self.sym_items(): if item == value: if (self._value_spec and self._value_spec.min_size == len(self)): raise ValueError( f'Cannot remove item: min size ({self._value_spec.min_size}) ' f'is reached.') del self[i] return raise ValueError(f'{value!r} not in list.')
(self, value: Any) -> NoneType
[ 0.087326280772686, 0.001003973069600761, -0.06971216946840286, -0.035210493952035904, -0.04157212749123573, -0.03474976494908333, -0.037460990250110626, 0.015461075119674206, 0.04462004452943802, -0.02147716097533703, -0.033278968185186386, 0.01837608590722084, 0.02245178446173668, -0.04837677255272865, -0.021991053596138954, 0.006844515912234783, 0.05911535397171974, 0.049794409424066544, -0.013573849573731422, -0.020910106599330902, 0.037106581032276154, 0.046640172600746155, -0.009958881884813309, 0.05769772082567215, -0.03898494690656662, 0.031524643301963806, 0.06595543771982193, -0.006219870876520872, 0.03140060231089592, -0.003442193614318967, 0.019332990050315857, 0.023745376616716385, -0.046923696994781494, -0.009196903556585312, 0.03717746213078499, 0.001086483825929463, -0.036681290715932846, 0.03457256034016609, -0.028405848890542984, -0.003406752599403262, 0.012484042905271053, 0.014078881591558456, 0.04816412925720215, -0.03538769856095314, 0.053692903369665146, 0.0718386247754097, 0.02085694670677185, 0.09895087778568268, 0.022239139303565025, 0.06861350685358047, 0.0165774617344141, 0.034005504101514816, -0.013352343812584877, 0.01632937602698803, -0.013937118463218212, 0.05209806561470032, 0.0007198924431577325, 0.0043038493022322655, 0.07244111597537994, 0.022203698754310608, 0.03767363354563713, 0.013547268696129322, -0.004890838637948036, -0.09023243188858032, 0.047030020505189896, -0.036574967205524445, 0.05720154941082001, -0.003289354732260108, -0.03407638520002365, -0.03296000137925148, -0.03125884011387825, -0.025606021285057068, -0.00014024059055373073, 0.03311948478221893, 0.017871053889393806, -0.025552859529852867, 0.0434504933655262, 0.0237276554107666, 0.0489792674779892, -0.08817686140537262, 0.04238726943731308, -0.003183032153174281, 0.034873805940151215, 0.023001117631793022, -0.04653384909033775, 0.06528206169605255, 0.07456757128238678, 0.02565918304026127, 0.0171179361641407, 0.07219303399324417, -0.013077677227556705, 0.014468731358647346, -0.0040513332933187485, 0.0026979355607181787, 0.04252903163433075, 0.02663380652666092, 0.034537117928266525, -0.0740005150437355, -0.011713203974068165, -0.04238726943731308, 0.07265376299619675, 0.025588300079107285, -0.004015892278403044, -0.0044522578828036785, 0.024861764162778854, 0.02789195626974106, 0.051991742104291916, -0.03476748242974281, 0.0025052258279174566, 0.08512894809246063, -0.05156645178794861, 0.013033376075327396, 0.011376515962183475, -0.01851784996688366, -0.01954563520848751, 0.028423570096492767, -0.07960017025470734, -0.035848431289196014, 0.011349935084581375, -0.016169892624020576, -0.0073761288076639175, 0.01327260211110115, -0.026119913905858994, 0.016550881788134575, 0.06312017142772675, 0.02002408541738987, -0.004073483869433403, -0.006910967640578747, 0.025535140186548233, 0.023656774312257767, 0.003887419356033206, -0.035015568137168884, -0.001189483911730349, -0.021707527339458466, 0.002527376404032111, -0.009294365532696247, 0.01461049448698759, -0.051212042570114136, 0.003109935438260436, -0.042564474046230316, 0.026704687625169754, 0.041536688804626465, 0.03212713822722435, 0.026669247075915337, 0.05415363237261772, -0.022132817655801773, -0.037744514644145966, 0.02487948350608349, -0.02124679647386074, 0.01533703226596117, -0.11688395589590073, 0.04660473018884659, 0.028955182060599327, -0.008443784900009632, -0.012767570093274117, 0.004456688184291124, 0.003874128917232156, -0.03951656073331833, -0.051743656396865845, -0.01088920421898365, 0.05273599922657013, 0.03753187134861946, 0.017702709883451462, -0.03739010915160179, -0.06361634284257889, 0.008045075461268425, -0.013237161561846733, 0.02858305349946022, -0.07077539712190628, 0.03898494690656662, 0.0005224758060649037, -0.018358364701271057, 0.01842924766242504, 0.03859509527683258, -0.038382451981306076, 0.020644301548600197, -0.013458666391670704, 0.019067183136940002, 0.012652386911213398, -0.03003612905740738, -0.021796129643917084, -0.007566623855382204, -0.04043802246451378, -0.040119051933288574, 0.024968085810542107, 0.037460990250110626, -0.01151827909052372, 0.03753187134861946, 0.06921599805355072, 0.03902038559317589, -0.027395784854888916, -0.010667698457837105, 0.03372197970747948, -0.009303226135671139, 0.0018839031690731645, -0.013458666391670704, 0.015221849083900452, -0.005280687939375639, -0.034891527146101, -0.02434787154197693, -0.056457288563251495, -0.07867871224880219, 0.01764068752527237, -0.006485677324235439, -0.024560516700148582, -0.007119182962924242, 0.050290580838918686, -0.03622055798768997, 0.004263978451490402, 0.038417890667915344, -0.03926847130060196, -0.008244429714977741, 0.05348025634884834, -0.023603612557053566, 0.042458150535821915, -0.12177479267120361, -0.0453997403383255, -0.0377090759575367, 0.00879819318652153, -0.008200128562748432, 0.008793763816356659, 0.016249634325504303, 0.053551141172647476, -0.03265875205397606, 0.0313120000064373, 0.0024653547443449497, -0.015239570289850235, -0.03632688149809837, 0.014832000248134136, -0.008519096300005913, 0.06482133269309998, -0.030550021678209305, 0.03563578426837921, -0.034980129450559616, 0.00901526864618063, 0.004088989458978176, -0.01702047325670719, -0.02071518264710903, -0.009763957001268864, 0.008829204365611076, -0.009728516452014446, 0.009320946410298347, 0.0036127527710050344, 0.08087604492902756, -0.02716541849076748, 0.08612129092216492, 0.021813848987221718, 0.037744514644145966, -0.0017941935220733285, -0.03000068850815296, 0.04593135416507721, 0.0072742365300655365, 0.019669678062200546, 0.00828873086720705, 0.044407397508621216, -0.05819389224052429, -0.04107595607638359, -0.04851853847503662, 0.034430794417858124, -0.02094554901123047, -0.033137205988168716, -0.023072000592947006, 0.039658322930336, 0.05007793381810188, 0.0020256666466593742, 0.05348025634884834, 0.01436240877956152, 0.07116524875164032, -0.010800601914525032, 0.046781934797763824, 0.0010399677557870746, -0.05142468959093094, 0.037886280566453934, -0.03241066634654999, 0.009604472666978836, 0.0585128590464592, -0.004164300858974457, -0.002551741898059845, 0.014716817066073418, 0.006667311768978834, 0.03855965659022331, -0.052523355931043625, 0.02085694670677185, -0.003145376220345497, -0.0040801288560032845, 0.07258287817239761, 0.03404094651341438, -0.061419010162353516, 0.012165075168013573, 0.05340937525033951, 0.03008929081261158, -0.02557058073580265, -0.01725969836115837, -0.006073677446693182, 0.02532249502837658, 0.004877548199146986, -0.011261333711445332, 0.0032029678113758564, 0.035795267671346664, 0.029539957642555237, 0.03145376220345497, 0.010472774505615234, -0.061277247965335846, -0.030975311994552612, 0.027395784854888916, -0.033952344208955765, 0.055287741124629974, 0.027732472866773605, -0.02989436499774456, 0.03568894788622856, 0.0061356988735497, 0.035121891647577286, -0.02964627929031849, -0.0012814085930585861, 0.06074563413858414, 0.0098879998549819, 0.00511677423492074, -0.0022538171615451574, -0.01151827909052372, 0.06294296681880951, -0.015496515668928623, -0.05234615132212639, -0.10703139752149582, -0.020591139793395996, -0.036238279193639755, -0.038665980100631714, -0.023550450801849365, 0.005488903261721134, -0.04408843070268631, 0.026722408831119537, 0.01662176288664341, -0.05394098907709122, 0.01686098985373974, -0.03455483913421631, 0.06567191332578659, 0.00375008606351912, 0.00901526864618063, 0.048447657376527786, 0.009693074971437454, 0.0032716344576328993, 0.003774451557546854, -0.011872688308358192, 0.029929805546998978, 0.027236301451921463, -0.007119182962924242, -0.02376309596002102, 0.019173504784703255, -0.005617376416921616, 0.03242838755249977, -0.022274579852819443, 0.06723131239414215, 0.05351569876074791, -0.00806722603738308, -0.013839655555784702, 0.07112980633974075, 0.0008096021483652294, -0.040367141366004944, 0.03816980496048927, -0.009418408386409283, -0.05858374014496803, 0.06907423585653305, -0.003969376441091299, -0.01500034425407648, -0.01331690326333046, -0.03212713822722435, -0.03909127041697502, -0.08335690200328827, -0.049510881304740906, -0.019474752247333527, -0.025198452174663544, -0.01062339823693037, -0.009569032117724419, 0.017578667029738426, -0.02376309596002102, 0.05390554666519165, 0.014619355089962482, 0.03203853592276573, 0.06971216946840286, -0.053692903369665146, -0.0029770322144031525, 0.02998296730220318, -0.014247225597500801, -0.03301316127181053, 0.023585893213748932, -0.024684559553861618, 0.02721858024597168, -0.012581504881381989, -0.04107595607638359, -0.01027784962207079, 0.002846344141289592, -0.0076197851449251175, -0.056705374270677567, -0.0312056764960289, -0.020626580342650414, -0.029770322144031525, 0.006534408777952194, -0.0377090759575367, -0.015035784803330898, -0.05780404433608055, 0.006268602330237627, 0.06365178525447845, -0.039197590202093124, -0.03724834322929382, 0.022185977548360825, 0.023302365094423294, -0.0473489873111248, -0.020927827805280685, 0.008452645502984524, -0.031028473749756813, 0.039445675909519196, 0.022150536999106407, -0.05071587115526199, 0.034732043743133545, -0.02411750517785549, 0.002403333317488432, -0.04915647208690643, -0.02562374249100685, -0.009790537878870964, 0.035511743277311325, -0.032641030848026276, 0.0035485161934047937, -0.034838367253541946, -0.0588318295776844, 0.02133539691567421, -0.040225375443696976, -0.009648773819208145, 0.04646296799182892, -0.005400300957262516, -0.026704687625169754, 0.0073141073808074, -0.03678761422634125, -0.07187406718730927, -0.006738193333148956, -0.020537978038191795, -0.027767913416028023, 0.008058365434408188, -0.041536688804626465, -0.03542314097285271, -0.002520731184631586, 0.01865961216390133, -0.03909127041697502, 0.010215828195214272, -0.003732365556061268, 0.04617943987250328, 0.034395355731248856, 0.02565918304026127, -0.005333849228918552, 0.03023105300962925, 0.03427131101489067, 0.006959699094295502, -0.01020696759223938, -0.048624858260154724, -0.001131338649429381, -0.027714751660823822, 0.02420610748231411, -0.07148421555757523, -0.06354546546936035, -0.0005025403224863112, -0.007221075240522623, -0.05418907478451729, 0.0351041704416275, 0.07633960992097855, -0.028848860412836075, -0.07690666615962982, -0.045966796576976776, 0.06368722766637802, 0.013715612702071667, 0.04111139848828316, 0.020094968378543854, 0.038240689784288406, 0.013821935281157494, -0.07272464781999588, -0.01755208522081375, -0.04327328875660896, -0.02571234479546547, 0.00918804295361042, 0.015780042856931686, 0.015966108068823814, 0.022770753130316734, -0.014681376516819, 0.05060954764485359, -0.029858924448490143, -0.007832430303096771, -0.005692688282579184, 0.004536429885774851, -0.002994752721861005, -0.01125247310847044, -0.08597952872514725, 0.02376309596002102, 0.0331549234688282, -0.03611423820257187, -0.08817686140537262, 0.01399913989007473, 0.03265875205397606, 0.0683654174208641, -0.029043784365057945, -0.0024321291130036116, -0.006069247145205736, 0.034005504101514816, 0.019581075757741928, 0.009701935574412346, 0.03831157088279724, -0.009134882129728794, -0.02013040892779827, 0.024223828688263893, -0.01574460230767727, 0.006627440918236971, 0.03544085845351219, -0.08406572043895721, -0.0417138934135437, -0.03508645296096802, 0.03276507556438446, 0.046108558773994446, -0.0032051827292889357, 0.0274135060608387, -0.014309247024357319, -0.01575346291065216, -0.028370408341288567, 0.0038342580664902925, 0.02114047296345234, -0.017233118414878845, -0.04901470988988876, -0.05454348400235176, -0.010898064821958542, -0.026137635111808777, -0.06092283874750137, -0.07013746351003647, -0.06421884149312973, 0.062056947499513626, -0.033420730382204056, 0.01647114008665085, 0.028264086693525314, -0.02328464575111866, 0.013697892427444458, 0.07874958962202072, -0.008045075461268425, 0.023904860019683838, -0.02863621525466442, 0.026119913905858994, 0.044407397508621216, 0.012023312039673328, 0.025499699637293816, 0.046392086893320084, -0.02133539691567421, -0.03154236450791359, 0.01696731150150299, -0.027200860902667046, -0.028742536902427673, -0.05982417240738869, 0.05039690434932709, -0.07112980633974075, -0.021034151315689087, 0.05624464526772499, -0.047951482236385345, 0.03421815112233162, -0.02596043050289154, 0.04125316068530083, 0.033615656197071075, 0.030798107385635376, 0.01392825786024332, 0.0002760510833468288, -0.024170666933059692, 0.050963956862688065, -0.03894950449466705, 0.011376515962183475, 0.01392825786024332, -0.06489221751689911, -0.07137789577245712, 0.07244111597537994, 0.059611525386571884, -0.01780017279088497, -0.02192017249763012, -0.025163009762763977, -0.011084129102528095, -0.04267079383134842, 0.001885010744445026, -0.010906924493610859, 0.016931870952248573, -0.06524662673473358, -0.03129427880048752, -0.0434504933655262, 0.03106391429901123, 0.05216894671320915, -0.03101075254380703, 0.04472636431455612, 0.041005074977874756, -0.004410171881318092, -0.002817548345774412, -0.09533591568470001, 0.05089307576417923, 0.03425358980894089, -0.02790967747569084, 0.004979440942406654, -0.021707527339458466, -0.007088171783834696, 0.02902606502175331, -0.015106666833162308, -0.021353118121623993, -0.06786924600601196, 0.10440877079963684, -0.023125160485506058, -0.02395802177488804, 0.05550038814544678, 0.03591931238770485, 0.03602563589811325, 0.034289032220840454, -0.01220051571726799, -0.010924644768238068, 0.005896473303437233, -0.05805213004350662, 0.008208989165723324, 0.07300817221403122, -0.021991053596138954, -0.0010139408987015486, -0.032392945140600204, 0.007190064527094364, 0.04699458181858063, -0.006100257858633995, -0.03393462300300598, -0.0013556128833442926, -0.007867870852351189, -0.019900042563676834, -0.03863053768873215, -0.009267784655094147, -0.0029393762815743685, -0.018783655017614365, 0.023001117631793022, 0.04944000020623207, -0.02406434342265129, -0.01118159107863903, -0.007805849425494671, -0.048589419573545456, -0.028423570096492767, 0.02046709693968296, -0.0509285144507885, 0.010410753078758717, -0.01499148365110159, -0.01929754763841629, -0.01857100985944271, 0.06223415210843086, 0.05379922688007355, -0.027005935087800026, -0.06478589028120041, 0.0928550511598587, -0.0698893740773201, 0.004709204193204641, -0.052806880325078964, -0.03432447463274002, 0.017507784068584442, 0.0031143655069172382, 0.012129634618759155, 0.01565600000321865, -0.04132404178380966, -0.030248774215579033, 0.02420610748231411, -0.004226322751492262, 0.025074409320950508, -0.03600791469216347, -0.035015568137168884, -0.024755440652370453, 0.02284163422882557, -0.03536997735500336, -0.003978236578404903, 0.010029762983322144, 0.016001548618078232, -0.03714201971888542, 0.019368430599570274, 0.00511677423492074, 0.03714201971888542, 0.015177547931671143, -0.02395802177488804, -0.050326019525527954, -0.03714201971888542, 0.007522322703152895, -0.02819320373237133, 0.005745849572122097, -0.04369857907295227, 0.05741419270634651, -0.0021829353645443916, 0.013733332976698875, -0.027962839230895042, 0.004086774308234453, 0.026846451684832573, -0.0019160214578732848, -0.019138064235448837, 0.034395355731248856, -0.027962839230895042, 0.03416498750448227, -0.030266495421528816, -0.02362133376300335, -0.027200860902667046, -0.09717883914709091, -0.01356498897075653, -0.022097377106547356, -0.060639310628175735, 0.025163009762763977, 0.002155247377231717, 0.01560283824801445, 0.06326193362474442, 0.035795267671346664, 0.004881978500634432, 0.05117660015821457, 0.015691440552473068, -0.008231139741837978, 0.018119139596819878, 0.00667174207046628, -0.010322150774300098, 0.02060886099934578, -0.006410365458577871, 0.012696688063442707, -0.0015073440736159682, 0.05223982781171799, -0.05170821398496628, 0.0028308387845754623, -0.04394666478037834, 0.017224257811903954, -0.02046709693968296, -0.01846468821167946, 0.006955268792808056, 0.020502537488937378, 0.014433289878070354, 0.029770322144031525, 0.028760258108377457, 0.01327260211110115, -0.01295363437384367, 0.019917763769626617, 0.058938149362802505, -0.044017549604177475, -0.06226959079504013, 0.05050322413444519, -0.00792546197772026, 0.010871483944356441, -0.05071587115526199, 0.05613832175731659, 0.045966796576976776, -0.0094804298132658, -0.011482838541269302, 0.020626580342650414, 0.0027289462741464376, 0.01290047261863947, 0.019988644868135452, 0.02518073096871376, 0.004177591297775507, 0.011846107430756092, -0.027431225404143333, -0.016949592158198357, -0.043485935777425766, 0.03820524737238884, -0.003327010665088892, -0.012962494976818562, -0.03372197970747948, 0.005178795661777258, 0.006786924786865711, 0.05401187017560005, 0.012484042905271053, -0.021406279876828194, -0.025606021285057068, 0.0030501289293169975, -0.01779131218791008, -0.0031564515084028244, -0.03233978524804115, 0.0000865255351527594, 0.011810666881501675, 0.029469074681401253, 0.00792103260755539, 0.01292705349624157, -0.02197333239018917, 0.025588300079107285 ]
41,052
pyglove.core.symbolic.list
reverse
Reverse the elements of the list in place.
def reverse(self) -> None: """Reverse the elements of the list in place.""" if base.treats_as_sealed(self): raise base.WritePermissionError('Cannot reverse a sealed List.') super().reverse()
(self) -> NoneType
[ -0.023783579468727112, 0.02534625492990017, 0.009762429632246494, 0.014828245155513287, -0.040801286697387695, -0.07226086407899857, -0.01954203099012375, 0.005580984055995941, 0.054470404982566833, -0.03327983617782593, -0.04990258440375328, 0.005151677876710892, 0.002633795142173767, -0.012913539074361324, -0.00807525496929884, 0.08847147971391678, 0.00474812975153327, 0.03643953427672386, -0.00907553918659687, 0.017343981191515923, 0.01906120777130127, 0.008186873979866505, 0.03257577493786812, 0.00928160548210144, -0.03606174513697624, 0.01871776208281517, -0.01616768166422844, -0.0062807537615299225, 0.008800782263278961, 0.012862022034823895, -0.008869471959769726, 0.023216893896460533, 0.02495129220187664, -0.002190536353737116, 0.047429777681827545, 0.002296789549291134, -0.07109314948320389, 0.05223800987005234, -0.01264736894518137, 0.04378926008939743, -0.003906689118593931, -0.034224312752485275, 0.06968502700328827, 0.00883512757718563, 0.06092717498540878, 0.02589576691389084, 0.04358319193124771, 0.005100160837173462, 0.028780706226825714, -0.03602739796042442, 0.020915811881422997, 0.04619337618350983, 0.01806521601974964, 0.00023115469957701862, 0.011265002191066742, 0.0366799458861351, 0.03534051030874252, 0.03774462640285492, 0.03310811519622803, -0.010045771487057209, -0.010870039463043213, -0.06398383527994156, -0.03894668444991112, -0.09066952764987946, 0.04244982451200485, 0.00946191418915987, -0.005641086958348751, -0.01846017874777317, 0.021362289786338806, 0.020314782857894897, -0.03166564553976059, -0.008397234603762627, -0.040286120027303696, 0.03870627284049988, -0.0038036552723497152, -0.01676871068775654, 0.034378863871097565, 0.041076041758060455, -0.03097875416278839, -0.035683952271938324, -0.008186873979866505, 0.01572120375931263, 0.020246094092726707, 0.09169986099004745, -0.04598730802536011, -0.03870627284049988, 0.04375491663813591, -0.04952479526400566, -0.013248397968709469, 0.05580984055995941, -0.047979291528463364, 0.024058334529399872, -0.06528893113136292, -0.04145383462309837, 0.00382941379211843, 0.005160263739526272, -0.05477950721979141, -0.07727516442537308, -0.03767593577504158, -0.03226667270064354, 0.010835695080459118, 0.0669718086719513, -0.0018739227671176195, 0.027166513726115227, 0.021740078926086426, 0.0013930995482951403, 0.002610183320939541, -0.03825979307293892, -0.04444180428981781, 0.0038272670935839415, -0.047326747328042984, 0.0845561996102333, 0.014613592065870762, -0.020503677427768707, -0.02575838752090931, 0.013188295066356659, -0.009590706788003445, -0.03381217643618584, 0.02527756430208683, 0.017962181940674782, 0.033743489533662796, -0.01671719364821911, -0.03843151405453682, -0.05663410946726799, 0.009728084318339825, 0.03262729197740555, -0.03808806836605072, 0.005078695714473724, -0.011359449476003647, 0.006705767009407282, -0.03825979307293892, -0.020984500646591187, -0.08228946477174759, 0.054882537573575974, 0.03918709605932236, 0.004076264798641205, 0.06789910793304443, -0.005662552546709776, -0.029776696115732193, 0.060480695217847824, 0.03180302307009697, 0.04317105934023857, 0.1107267215847969, 0.0988435223698616, 0.003584709018468857, -0.017069226130843163, 0.00945332832634449, 0.05653107538819313, 0.015600997023284435, 0.02495129220187664, -0.005679724738001823, 0.02568969875574112, -0.0010845354991033673, -0.02635941654443741, -0.005606742575764656, 0.047979291528463364, -0.059725116938352585, 0.005611035507172346, -0.04564386233687401, 0.03216364234685898, -0.03087572194635868, 0.01628788746893406, -0.027698853984475136, -0.022341107949614525, -0.029141323640942574, -0.04880356043577194, 0.05666845291852951, -0.08064092695713043, 0.0028183970134705305, 0.060858484357595444, 0.013729221187531948, -0.029862558469176292, -0.00123425608035177, 0.020022854208946228, -0.0017880614614114165, 0.01224382035434246, -0.001443543005734682, 0.06717787683010101, -0.014965623617172241, -0.011067520827054977, 0.013128192164003849, -0.06731525808572769, -0.03815675899386406, -0.07761861383914948, 0.04557517543435097, 0.020881466567516327, -0.04159121215343475, 0.022959310561418533, 0.007499983999878168, 0.004524890333414078, -0.03884365037083626, -0.01820259355008602, 0.051138985902071, -0.09616465121507645, -0.03118482232093811, -0.046742890030145645, -0.06652533262968063, 0.000707819068338722, 0.017601564526557922, -0.0371951125562191, -0.03266163542866707, 0.01919858530163765, 0.07754991948604584, -0.03276466950774193, 0.016691435128450394, 0.059965528547763824, -0.014939865097403526, -0.07363464683294296, -0.01246706023812294, -0.01265595480799675, 0.04323974624276161, 0.008440164849162102, 0.00934170838445425, -0.06831124424934387, 0.008350010961294174, -0.05653107538819313, -0.08016010373830795, -0.03310811519622803, 0.040320463478565216, 0.01697477698326111, 0.014072665944695473, -0.01875210739672184, -0.06717787683010101, -0.04396098107099533, -0.008792196400463581, 0.021740078926086426, 0.004842577036470175, -0.04358319193124771, 0.013557498343288898, 0.03343438729643822, -0.01897534541785717, -0.035512231290340424, -0.03056662157177925, -0.011831686832010746, 0.021997664123773575, 0.013497395440936089, -0.07706909626722336, -0.002582278335466981, -0.033915210515260696, 0.05117333307862282, -0.04533476382493973, -0.001689321012236178, 0.020847123116254807, 0.05824830383062363, -0.012037753127515316, 0.05574115365743637, 0.006834559142589569, 0.03190605714917183, 0.01875210739672184, -0.003374348860234022, -0.0006444963510148227, -0.01852886751294136, -0.026531139388680458, 0.0030459293629974127, 0.03733249008655548, -0.0490783154964447, -0.03046358749270439, -0.05058947578072548, -0.008732093498110771, -0.0006326904403977096, 0.01885513961315155, -0.05093292146921158, 0.00629363302141428, -0.013634773902595043, -0.0008119258563965559, 0.01815107837319374, -0.021791595965623856, 0.02512301504611969, 0.023234065622091293, 0.03032620996236801, 0.036851666867733, -0.06453334540128708, -0.03939316049218178, -0.010784178972244263, -0.020040025934576988, 0.09218068420886993, 0.052615802735090256, -0.005430726800113916, -0.06377776712179184, 0.012982227839529514, 0.040835630148649216, 0.013626187108457088, -0.0017043467378243804, -0.005155970808118582, 0.0023547459859400988, 0.00648252759128809, 0.005460778251290321, -0.021465323865413666, -0.028282711282372475, 0.028368571773171425, 0.12563224136829376, 0.0507955402135849, 0.06350301206111908, 0.00890381634235382, 0.05048644170165062, -0.0523410439491272, -0.007414122577756643, -0.021104706451296806, 0.08098437637090683, 0.002921430626884103, -0.04595296457409859, -0.03092723898589611, 0.053062278777360916, -0.01573837548494339, 0.04248416796326637, -0.06896378844976425, 0.028505949303507805, 0.013308500871062279, 0.0038487324491143227, 0.022461313754320145, 0.00897250510752201, 0.027389753609895706, -0.07548925280570984, 0.05024603009223938, 0.0017086397856473923, -0.01661415956914425, 0.015180276706814766, -0.0019554910250008106, 0.007014867849647999, 0.06683443486690521, -0.07569531351327896, -0.00031151549774222076, -0.020228920504450798, -0.0516541562974453, 0.01654547080397606, -0.00968515407294035, -0.022426970303058624, 0.04375491663813591, 0.06315957009792328, 0.012381198816001415, 0.041556864976882935, -0.04262154549360275, 0.008113892748951912, -0.0007115754997357726, -0.06346867233514786, 0.0023912370670586824, 0.029192840680480003, 0.05536336079239845, 0.02491694688796997, -0.029467595741152763, -0.0059029641561210155, 0.013892357237637043, -0.011436724103987217, 0.0075729661621153355, 0.03195757418870926, 0.047910600900650024, 0.026857413351535797, 0.03145957738161087, 0.03534051030874252, 0.027389753609895706, 0.015042899176478386, -0.015695445239543915, -0.03657691180706024, 0.029553458094596863, 0.0004631143528968096, -0.005040057934820652, -0.015489377081394196, 0.020967328920960426, -0.008702042512595654, -0.06947895884513855, 0.006426718086004257, -0.05842002481222153, -0.04928438365459442, 0.007976514287292957, -0.006503993179649115, -0.041282109916210175, -0.023594683036208153, -0.060721106827259064, 0.01825411058962345, 0.0009895514231175184, -0.04595296457409859, -0.06425859034061432, 0.014931279234588146, 0.002028473187237978, -0.004494838882237673, 0.015815651044249535, 0.010475077666342258, 0.040217429399490356, 0.03674863278865814, 0.0490783154964447, 0.020623883232474327, -0.007272451650351286, 0.009908393025398254, 0.00463221687823534, 0.01839148998260498, 0.035924363881349564, -0.017653081566095352, 0.016691435128450394, 0.006997695658355951, 0.008028031326830387, -0.05203194543719292, -0.03963357210159302, -0.020538020879030228, -0.0365082211792469, -0.05735534429550171, 0.03887799382209778, -0.015163104981184006, 0.027870576828718185, 0.0159272700548172, -0.0016345843905583024, 0.0040784114971756935, 0.04444180428981781, -0.011093279346823692, 0.02514018677175045, -0.01885513961315155, 0.03097875416278839, 0.02486543171107769, 0.013385775499045849, 0.013531739823520184, -0.0497652068734169, 0.00803232379257679, -0.021534012630581856, -0.03760724514722824, -0.028694843873381615, 0.08984525501728058, -0.01969658024609089, 0.005924429278820753, 0.03970226272940636, 0.05663410946726799, -0.0008103159489110112, 0.020349126309156418, 0.04571255296468735, 0.029261529445648193, 0.03285052999854088, -0.01888948492705822, -0.03343438729643822, -0.009667981415987015, 0.03609608858823776, -0.060171596705913544, 0.017824804410338402, 0.0007931436994113028, -0.04481959715485573, 0.01300798635929823, -0.04337712749838829, 0.03613043203949928, 0.009667981415987015, -0.0053663309663534164, -0.052890557795763016, -0.0649111419916153, 0.04533476382493973, 0.012810504995286465, -0.010200321674346924, -0.026702862232923508, 0.014665109105408192, 0.10076681524515152, 0.023852268233895302, -0.012080684304237366, 0.006259288173168898, 0.03157978504896164, -0.01921575702726841, -0.005847154185175896, 0.014896934852004051, 0.005061523523181677, -0.017026294022798538, -0.10949032008647919, -0.040286120027303696, -0.041213423013687134, -0.0259129386395216, 0.01894100196659565, -0.012492818757891655, 0.040560875087976456, 0.0052718836814165115, -0.00943615660071373, -0.05117333307862282, 0.01883796788752079, 0.0006600586930289865, -0.05082988739013672, -0.006199185270816088, -0.021413806825876236, -0.013317086733877659, 0.04928438365459442, -0.06731525808572769, -0.005477950442582369, -0.07665695995092392, 0.014768142253160477, 0.03121916577219963, 0.007950755767524242, -0.03080703318119049, 0.011187726631760597, -0.023835094645619392, -0.008938160724937916, -0.02515735849738121, -0.01914706826210022, -0.001077022636309266, -0.022135041654109955, -0.06168275326490402, -0.05653107538819313, 0.006740111391991377, 0.026857413351535797, -0.017094984650611877, 0.04169424623250961, -0.034275829792022705, -0.033657629042863846, 0.058729127049446106, 0.020211748778820038, 0.0045205969363451, -0.0743902251124382, -0.05793920159339905, 0.01307667512446642, -0.02629072777926922, 0.026376590132713318, -0.046742890030145645, 0.015987373888492584, -0.027252374216914177, 0.009968495927751064, 0.06168275326490402, 0.012381198816001415, 0.011823100037872791, -0.010071530006825924, -0.053611792623996735, 0.022924965247511864, 0.04900962859392166, 0.04969651624560356, 0.008852299302816391, 0.01804804429411888, 0.03171716257929802, -0.04849445819854736, 0.0196278914809227, 0.08407537639141083, 0.01835714466869831, 0.00022766659094486386, -0.014957037754356861, -0.048151012510061264, 0.017824804410338402, 0.010294768959283829, -0.047498468309640884, -0.04852880537509918, -0.0012632342986762524, 0.05738968774676323, 0.05196325480937958, -0.004842577036470175, 0.00123425608035177, 0.008817954920232296, -0.01942182518541813, 0.011668549850583076, 0.07878632098436356, -0.06171709671616554, 0.009298778139054775, 0.036336500197649, 0.017773287370800972, -0.014802487567067146, 0.022890621796250343, -0.03290204703807831, -0.06673140078783035, -0.06264439970254898, -0.028643328696489334, -0.0618201307952404, -0.027939265593886375, -0.01847735047340393, 0.01897534541785717, -0.05591287463903427, -0.015781305730342865, 0.052272357046604156, -0.0035031407605856657, 0.01792783848941326, -0.02574121579527855, -0.013669118285179138, 0.0614766851067543, 0.03161412850022316, 0.035409197211265564, -0.04330843687057495, 0.026771550998091698, 0.01803087256848812, -0.0241098515689373, 0.03243839740753174, 0.05732100084424019, 0.010569524951279163, 0.015643928200006485, 0.03376065939664841, 0.014879762195050716, 0.0375385582447052, -0.06109889596700668, 0.05141374468803406, -0.004054799675941467, -0.01265595480799675, 0.022323936223983765, 0.05773313343524933, -0.007821964100003242, 0.023182548582553864, -0.054161302745342255, -0.016176268458366394, -0.026960445567965508, -0.04499131813645363, -0.0635373592376709, 0.009006849490106106, -0.005611035507172346, 0.015188862569630146, 0.047086335718631744, -0.01683739945292473, -0.007821964100003242, -0.01659698784351349, 0.02441895194351673, 0.01809956133365631, -0.052547112107276917, 0.013720634393393993, -0.021430978551506996, -0.037366833537817, -0.02472805231809616, -0.015901511535048485, 0.06412121653556824, 0.03238688036799431, 0.027544302865862846, 0.03760724514722824, -0.01827128417789936, 0.015781305730342865, -0.00205101165920496, 0.007053505163639784, -0.048391424119472504, -0.013634773902595043, 0.020589537918567657, -0.001872849534265697, 0.05271883308887482, 0.005984532181173563, -0.06154537573456764, 0.008221219293773174, -0.01918141357600689, -0.02575838752090931, 0.00897250510752201, 0.004175005480647087, 0.027819059789180756, 0.014673694968223572, 0.00007982417446328327, -0.021894630044698715, 0.021963318809866905, -0.08613605052232742, 0.02486543171107769, 0.01599595881998539, 0.07700040936470032, 0.020915811881422997, 0.00958211999386549, 0.011745825409889221, -0.033966727554798126, -0.0016066795215010643, 0.03206060826778412, -0.041797276586294174, -0.006890368647873402, -0.00160560617223382, -0.004885507747530937, 0.04306802526116371, 0.005130212288349867, 0.035409197211265564, -0.029914075508713722, 0.01815107837319374, 0.04646813124418259, -0.08407537639141083, 0.03657691180706024, 0.0123554402962327, -0.023405788466334343, -0.03880930691957474, -0.020160231739282608, -0.06278178095817566, 0.060515038669109344, 0.0047094919718801975, 0.0193703081458807, -0.017215190455317497, 0.03939316049218178, 0.029364563524723053, -0.014364594593644142, 0.00629792595282197, -0.03041207045316696, 0.014613592065870762, -0.028797877952456474, 0.004273746162652969, -0.0387406162917614, 0.05721796676516533, 0.02465936355292797, -0.03261011838912964, 0.07590138167142868, 0.017086397856473923, -0.021310772746801376, 0.0031918936874717474, -0.028918083757162094, 0.008182581514120102, 0.026445278897881508, 0.013557498343288898, -0.003520313184708357, -0.013385775499045849, -0.01549796387553215, 0.017841976135969162, -0.017043467611074448, -0.034705135971307755, -0.033983901143074036, -0.02469370886683464, -0.04323974624276161, 0.00228391052223742, 0.07281037420034409, -0.06546065211296082, 0.047395434230566025, -0.029021117836236954, -0.054023925215005875, -0.011926134116947651, -0.0778246745467186, -0.028660500422120094, -0.022375453263521194, 0.053886547684669495, 0.026857413351535797, -0.06161406636238098, -0.011685722507536411, 0.06123627349734306, 0.022049181163311005, 0.04794494807720184, 0.014759556390345097, 0.05601590871810913, 0.03688601031899452, 0.029003946110606194, 0.00023987499298527837, -0.007302503101527691, -0.01882079616189003, -0.003288487670943141, 0.011479655280709267, 0.034310173243284225, 0.04852880537509918, 0.021568357944488525, -0.04660550877451897, 0.00937605369836092, -0.04306802526116371, 0.05883215740323067, 0.013961046934127808, -0.03795069083571434, 0.020177403464913368, -0.01228675153106451, -0.03812241554260254, 0.0015240380307659507, -0.05584418773651123, 0.035082925111055374, -0.028694843873381615, -0.04354884847998619, -0.015918683260679245, -0.04578124359250069, -0.0047051990404725075, 0.00451201107352972, -0.020520849153399467, 0.046536821871995926, 0.05100160837173462, 0.03211212530732155, 0.0179106667637825, -0.00030507592600770295, 0.07796205580234528, -0.004095583688467741, 0.06092717498540878, 0.014484800398349762, 0.010183149948716164, -0.017618738114833832, 0.034808170050382614, -0.04945610463619232, 0.007147952914237976, -0.028059471398591995, 0.0005747340619564056, -0.005456485319882631, -0.0241098515689373, 0.03032620996236801, -0.0009509138180874288, -0.014433283358812332, -0.03317680582404137, 0.013789324089884758, 0.011582688428461552, 0.009350295178592205, -0.0009128128876909614, -0.03829413652420044, -0.047464124858379364, -0.001118343323469162, 0.010226080194115639, -0.015231793746352196, 0.04220941290259361, -0.016940433531999588, 0.03764159232378006, 0.008526026271283627, 0.008534613065421581 ]
41,054
pyglove.core.symbolic.list
seal
Seal or unseal current object from further modification.
def seal(self, sealed: bool = True) -> 'List': """Seal or unseal current object from further modification.""" if self.is_sealed == sealed: return self for elem in self.sym_values(): if isinstance(elem, base.Symbolic): elem.seal(sealed) super().seal(sealed) return self
(self, sealed: bool = True) -> pyglove.core.symbolic.list.List
[ 0.045154113322496414, -0.06833559274673462, 0.032958947122097015, 0.008946380577981472, -0.034612227231264114, -0.05763371288776398, -0.009804131463170052, -0.058451466262340546, 0.01223960891366005, 0.06751784682273865, -0.08454841375350952, -0.037474360316991806, -0.02111932449042797, 0.023572580888867378, -0.060833610594272614, 0.010452999733388424, -0.025634735822677612, 0.027572453022003174, -0.02277260646224022, 0.034736666828393936, 0.016337255015969276, 0.009528584778308868, 0.016310589388012886, 0.032212305814027786, -0.02460365928709507, -0.013350684195756912, 0.03953651338815689, 0.009555250406265259, -0.01667502336204052, -0.05507379770278931, 0.004517633467912674, 0.037296585738658905, -0.009848574176430702, -0.004670961759984493, 0.07708198577165604, -0.0005688706878572702, -0.04636296257376671, 0.03404335677623749, 0.05375828221440315, 0.03683437779545784, -0.005062060430645943, 0.016479473561048508, 0.06485126167535782, -0.022505948320031166, 0.02547474205493927, 0.06069139391183853, 0.0716065987944603, 0.0510561466217041, 0.05535823106765747, -0.032052308320999146, 0.031910091638565063, 0.0615091472864151, 0.02712802216410637, -0.02911907061934471, 0.031447883695364, 0.027376903221011162, 0.04746514931321144, 0.013279575854539871, 0.056567080318927765, -0.025883616879582405, 0.016186149790883064, -0.06826448440551758, -0.0012988473754376173, -0.05614043027162552, -0.01923494040966034, -0.04366082698106766, -0.036354392766952515, -0.005057616159319878, 0.017892761155962944, 0.039927612990140915, -0.0305768009275198, -0.053971610963344574, -0.044371914118528366, 0.018097199499607086, -0.005648708436638117, -0.03768768534064293, 0.017119452357292175, -0.004273196682333946, -0.024408109486103058, -0.0541849359869957, 0.0038332107942551374, -0.01574171893298626, -0.03772323951125145, 0.09052155166864395, -0.03978539630770683, 0.038967642933130264, 0.03708326071500778, -0.012906254269182682, -0.0025976947508752346, 0.03359892591834068, 0.0229148231446743, 0.07359764724969864, -0.019661594182252884, 0.026612482964992523, 0.0013288464397192001, 0.016292812302708626, -0.02990126796066761, -0.08710832893848419, 0.0026243606116622686, -0.011688515543937683, 0.00795530155301094, 0.032941170036792755, -0.03262117877602577, 0.016026154160499573, -0.023910347372293472, 0.010497442446649075, 0.03159010037779808, -0.02471032179892063, 0.03407891094684601, 0.023572580888867378, -0.020799335092306137, 0.0855439305305481, -0.024852540343999863, 0.01664835773408413, -0.054896023124456406, 0.004239864647388458, -0.03422112762928009, -0.030310142785310745, -0.00360877369530499, 0.008026409894227982, -0.019466044381260872, 0.020443791523575783, 0.002573251025751233, 0.04760736972093582, 0.05464714393019676, 0.024212559685111046, -0.023234812542796135, -0.01670168898999691, 0.024888094514608383, 0.030310142785310745, -0.02119043469429016, 0.03786545619368553, -0.04149200767278671, 0.04152756184339523, 0.008004188537597656, -0.02289704605937004, 0.01446176040917635, -0.0273591261357069, -0.05091392993927002, 0.03697659820318222, 0.03953651338815689, 0.01571505330502987, 0.04021205008029938, 0.05699373409152031, -0.053082749247550964, 0.03532331436872482, -0.006306465249508619, 0.05013173073530197, -0.05173167958855629, 0.015048407949507236, 0.006453127134591341, 0.0012355160433799028, 0.016239481046795845, 0.05233610421419144, -0.04134979099035263, 0.043411947786808014, -0.04309195652604103, 0.011110756546258926, -0.01923494040966034, 0.01841718889772892, -0.03871876373887062, 0.02622138522565365, -0.01411510445177555, -0.01575060747563839, -0.04863844811916351, -0.02382146194577217, -0.0122840516269207, -0.06566901504993439, -0.018861619755625725, 0.0010666325688362122, 0.009315257892012596, -0.04817624017596245, -0.05205167084932327, 0.06382018327713013, 0.008995268493890762, 0.06286021322011948, -0.0008427508291788399, 0.044478580355644226, 0.009706356562674046, -0.03669216111302376, -0.006293132435530424, -0.04561632126569748, -0.05905589088797569, 0.01850607618689537, 0.06207801774144173, 0.017226116731762886, -0.028443535789847374, -0.006248689256608486, 0.020763780921697617, 0.00041304234764538705, -0.024123674258589745, 0.032016754150390625, 0.05759815871715546, -0.031963422894477844, -0.07260212302207947, -0.020639341324567795, -0.07228213548660278, -0.013955109752714634, -0.10566773265600204, -0.00033193384297192097, -0.04458524286746979, -0.01857718452811241, -0.005222055595368147, -0.006510903127491474, 0.000637757417280227, 0.02540363371372223, -0.024212559685111046, -0.07693976163864136, 0.009688579477369785, 0.0073286546394228935, 0.009021934121847153, 0.0167283546179533, 0.026843586936593056, -0.010284115560352802, 0.03143010661005974, -0.0750909373164177, -0.030967900529503822, 0.0013866223162040114, 0.03765213117003441, -0.014355096966028214, -0.01571505330502987, -0.026932472363114357, -0.061118047684431076, 0.0024488107301294804, -0.03836321830749512, -0.026576928794384003, 0.014399539679288864, -0.05290497839450836, -0.021563755348324776, 0.009484141133725643, -0.03267451003193855, -0.07174881547689438, 0.010310782119631767, -0.04465635120868683, 0.002135487273335457, 0.04917176440358162, -0.027714669704437256, -0.02373257465660572, -0.039074309170246124, 0.039892058819532394, 0.0006755339563824236, -0.04287863150238991, 0.04188310727477074, 0.06808671355247498, -0.03450556471943855, 0.1292758733034134, 0.05884256586432457, 0.06030029430985451, 0.010213007219135761, -0.006279799621552229, 0.03166121244430542, -0.016879461705684662, -0.01446176040917635, 0.028745748102664948, 0.027732446789741516, -0.06805115938186646, -0.021474869921803474, 0.03063013218343258, -0.009564138948917389, -0.030523469671607018, -0.008168627507984638, -0.01748388633131981, 0.017421666532754898, 0.024319224059581757, 0.018932728096842766, 0.03804323077201843, 0.015092851594090462, 0.01944826729595661, -0.022594833746552467, 0.006199801806360483, -0.016915015876293182, -0.049562860280275345, 0.0025399187579751015, 0.016337255015969276, -0.025208083912730217, 0.07309988886117935, 0.02284371480345726, 0.02728801779448986, -0.02993682213127613, 0.018808288499712944, 0.05013173073530197, 0.05596265569329262, 0.028354650363326073, 0.006195357535034418, -0.0012421825667843223, 0.0031398998107761145, -0.03246118500828743, -0.03143010661005974, -0.032070085406303406, -0.02730579487979412, 0.053189411759376526, 0.06257577985525131, 0.08568615466356277, -0.018630515784025192, 0.1195339560508728, 0.02716357633471489, -0.02193707786500454, -0.014123992994427681, 0.047571811825037, -0.0007466428214684129, 0.022185957059264183, -0.0014188435161486268, 0.06684231013059616, 0.006590900477021933, 0.022274844348430634, -0.09272592514753342, 0.04209643229842186, 0.015466172248125076, 0.034701112657785416, 0.028639085590839386, 0.027661338448524475, 0.05681596323847771, 0.0024110341910272837, 0.04387415573000908, -0.0306656863540411, -0.0874638706445694, -0.031199002638459206, -0.049669522792100906, 0.009288592264056206, 0.07135771960020065, -0.027394680306315422, -0.03496777266263962, -0.04746514931321144, -0.05201611667871475, 0.018968282267451286, -0.009990791790187359, 0.03679882362484932, 0.008239736780524254, 0.0022143737878650427, 0.00923526007682085, -0.022168179973959923, -0.04899398982524872, 0.006755339913070202, -0.011679627001285553, -0.03491444140672684, 0.0165950246155262, 0.01745722070336342, 0.008133073337376118, -0.012346272356808186, -0.05446936935186386, 0.02097710780799389, 0.013359573669731617, -0.011741846799850464, -0.008621946908533573, -0.06421127915382385, 0.02542141079902649, 0.012026282958686352, 0.037474360316991806, 0.03541220352053642, 0.043305281549692154, -0.004426525440067053, 0.03075457364320755, -0.0007883081561885774, 0.03804323077201843, -0.0044754124246537685, -0.042629748582839966, -0.04902954399585724, 0.034558895975351334, -0.04853178188204765, -0.09315258264541626, 0.03063013218343258, -0.002555473940446973, -0.05098503828048706, 0.019110500812530518, 0.021457092836499214, -0.00765308877453208, -0.02472809888422489, -0.07409541308879852, 0.030310142785310745, -0.05980253592133522, -0.02190152183175087, -0.03439890220761299, -0.03662105277180672, -0.018239418044686317, 0.03521665185689926, 0.04639851674437523, -0.011155199259519577, 0.02631027065217495, 0.03679882362484932, 0.0315367691218853, 0.03925208002328873, -0.0007749752257950604, 0.05553600192070007, 0.0331011638045311, 0.05038061365485191, 0.029385728761553764, 0.003748769173398614, -0.053864944726228714, 0.04120757430791855, 0.06143803894519806, -0.005857590585947037, -0.014275099150836468, 0.006306465249508619, 0.0562826469540596, -0.026843586936593056, 0.0306656863540411, 0.002424367005005479, -0.02796355076134205, 0.000537482846993953, 0.01939493604004383, 0.02376812882721424, -0.007319766096770763, 0.031963422894477844, -0.0526205413043499, -0.04760736972093582, -0.02904796041548252, 0.04650517925620079, -0.00041609781328588724, -0.007768640760332346, -0.027927996590733528, 0.023252589628100395, -0.026150275021791458, -0.02277260646224022, -0.052264995872974396, 0.06819337606430054, -0.033652257174253464, 0.05365161970257759, 0.047749586403369904, 0.08348178118467331, -0.01832830347120762, 0.03864765539765358, -0.012586264871060848, -0.010879652574658394, 0.05205167084932327, -0.04241642355918884, -0.022594833746552467, -0.050593938678503036, 0.009857462719082832, -0.023234812542796135, -0.018052756786346436, 0.02451477199792862, -0.025279192253947258, 0.027056913822889328, -0.06833559274673462, -0.0030487915500998497, -0.03308338671922684, 0.008675278164446354, -0.050593938678503036, -0.040816474705934525, 0.03445223346352577, 0.037332139909267426, 0.011306305415928364, -0.063606858253479, 0.049776189029216766, 0.08476173877716064, 0.012612930499017239, 0.008684166707098484, 0.07836194336414337, -0.015172848477959633, -0.005408715922385454, 0.032212305814027786, -0.02460365928709507, -0.0015266179107129574, 0.004070980940014124, -0.08134851604700089, 0.016159484162926674, 0.08177516609430313, -0.0541849359869957, -0.001948826597072184, 0.027554675936698914, 0.049633968621492386, -0.022150402888655663, 0.03861210122704506, 0.026932472363114357, -0.0282302089035511, -0.06833559274673462, -0.039856504648923874, 0.0021721527446061373, 0.0024799208622425795, -0.015155071392655373, 0.05080726742744446, -0.041634224355220795, -0.020870445296168327, -0.07295767217874527, -0.011635184288024902, -0.010870764032006264, 0.01941271312534809, -0.07025553286075592, -0.0932236909866333, -0.045189667493104935, -0.04853178188204765, -0.02641693316400051, -0.008710833266377449, -0.018630515784025192, 0.0052664983086287975, -0.02995459921658039, 0.041705332696437836, -0.02622138522565365, -0.005110947880893946, 0.03478999808430672, -0.009448586963117123, 0.01567061059176922, -0.03061235509812832, 0.05013173073530197, 0.01668391190469265, 0.024834761396050453, -0.012746259570121765, -0.026612482964992523, 0.034843333065509796, -0.020799335092306137, -0.0007171992911025882, -0.021350428462028503, -0.03253229334950447, 0.02099488489329815, 0.004286529961973429, 0.012399603612720966, -0.017812764272093773, -0.036585498601198196, -0.009741910733282566, -0.010355224832892418, 0.03704770654439926, 0.012061837129294872, 0.020888222381472588, -0.0017899428494274616, 0.00767086585983634, 0.004313195589929819, -0.0030999009031802416, 0.012941808439791203, 0.03521665185689926, -0.030256811529397964, 0.012701816856861115, -0.03242563083767891, -0.010932983830571175, -0.02984793484210968, -0.01576838456094265, -0.03765213117003441, -0.04750070348381996, -0.03542998060584068, 0.012648484669625759, 0.012621819041669369, 0.0011149643687531352, -0.030114592984318733, -0.07978411763906479, 0.013857334852218628, -0.01919938623905182, 0.035518866032361984, -0.012941808439791203, -0.0158572718501091, -0.012835145927965641, -0.0052131665870547295, -0.020905999466776848, 0.012470712885260582, -0.004293196368962526, -0.007795306388288736, -0.022274844348430634, 0.008830828592181206, -0.07978411763906479, -0.06478015333414078, -0.021243765950202942, 0.00612424872815609, -0.04209643229842186, -0.007759752217680216, 0.04376748949289322, 0.006870891433209181, 0.048780664801597595, -0.06389129161834717, 0.034736666828393936, -0.010879652574658394, -0.029385728761553764, 0.04302084818482399, 0.0006133137503638864, 0.041776444762945175, 0.03779434785246849, -0.06467349082231522, 0.060940276831388474, -0.014977299608290195, 0.03875431790947914, 0.04124312847852707, 0.029279064387083054, 0.030416805297136307, 0.02634582482278347, -0.01409732736647129, -0.010248561389744282, -0.011644072830677032, 0.002075489144772291, 0.028407981619238853, -0.00792863592505455, 0.018772734329104424, -0.0244792178273201, -0.03765213117003441, -0.013963998295366764, -0.008519727736711502, -0.07608646154403687, -0.04241642355918884, 0.033758923411369324, 0.04643407091498375, -0.03279895335435867, 0.046149637550115585, -0.04017649590969086, 0.037261031568050385, -0.001865495927631855, -0.0059242551214993, -0.005102059338241816, -0.010381890460848808, -0.04899398982524872, -0.027768000960350037, -0.006493126042187214, 0.0050976150669157505, 0.010310782119631767, 0.04405192658305168, -0.012292941100895405, 0.006733118090778589, 0.00784419383853674, 0.010310782119631767, 0.04366082698106766, 0.04070981219410896, 0.03231896832585335, -0.02300371043384075, 0.00014249545347411186, -0.0032043419778347015, -0.03967873379588127, 0.030239034444093704, 0.0016377255087718368, -0.07238879799842834, -0.011208530515432358, 0.03359892591834068, -0.034754443913698196, 0.021457092836499214, 0.002644360065460205, -0.02881685644388199, -0.026808032765984535, -0.0028687971644103527, -0.054113827645778656, -0.00186105165630579, -0.036372169852256775, -0.018630515784025192, 0.015403952449560165, 0.06702008098363876, 0.03267451003193855, -0.007573091425001621, 0.0022865936625748873, 0.014950633980333805, 0.02723468467593193, 0.013608453795313835, 0.040923137217760086, 0.05258498713374138, -0.020479345694184303, 0.002258816733956337, 0.033030055463314056, 0.05823814123868942, 0.0333678238093853, -0.020674895495176315, 0.013368462212383747, 0.030879013240337372, -0.07473538815975189, -0.018932728096842766, -0.0253503005951643, 0.009946349076926708, -0.0008460840908810496, -0.0028599086217582226, -0.0547182522714138, 0.008866383694112301, -0.0227370522916317, -0.0019432712579146028, 0.03326116129755974, -0.00000973059195530368, 0.02362591214478016, -0.011644072830677032, 0.04625630006194115, 0.01189295295625925, -0.031092340126633644, -0.007786417845636606, -0.033812254667282104, 0.021421538665890694, 0.0421675406396389, -0.009093042463064194, -0.03782990202307701, 0.014426206238567829, 0.0792863592505455, 0.030239034444093704, -0.026594705879688263, -0.032905615866184235, -0.04398081824183464, 0.043483056128025055, -0.022132625803351402, -0.011501855216920376, -0.009777465835213661, 0.0220437403768301, 0.03086123615503311, -0.02266594208776951, -0.08106407523155212, -0.008995268493890762, 0.007030886597931385, -0.03679882362484932, -0.02115488052368164, 0.044194143265485764, -0.04540299251675606, 0.029687941074371338, 0.00022554835595656186, -0.08518838882446289, -0.02881685644388199, -0.10637882351875305, 0.012835145927965641, 0.01839941181242466, -0.02207929454743862, 0.027519121766090393, -0.00881749577820301, -0.017083898186683655, 0.03155454620718956, 0.03061235509812832, 0.05614043027162552, 0.044443026185035706, 0.03176787495613098, 0.021545978263020515, 0.040069829672575, 0.016292812302708626, 0.0237859059125185, -0.017732767388224602, 0.016852794215083122, 0.000721088086720556, 0.019803812727332115, 0.06869114190340042, -0.004150978289544582, -0.03263895586133003, 0.0529760867357254, -0.02184819057583809, 0.03854099288582802, -0.04241642355918884, -0.01584838330745697, 0.0027643560897558928, -0.023430362343788147, -0.02113710343837738, 0.024888094514608383, -0.015599501319229603, 0.005226499866694212, 0.026932472363114357, 0.018861619755625725, 0.04504745081067085, 0.022150402888655663, 0.008248625323176384, 0.02540363371372223, 0.01001745741814375, -0.040745366364717484, 0.016115041449666023, -0.0066797868348658085, 0.0055242679081857204, -0.02812354639172554, 0.09279703348875046, -0.044371914118528366, 0.04469190537929535, 0.04145645350217819, 0.01768832467496395, -0.04888732731342316, 0.032105639576911926, -0.06364241242408752, 0.0082975123077631, -0.04465635120868683, 0.000589981151279062, -0.005484269466251135, -0.026790255680680275, -0.008155294694006443, 0.04031871259212494, 0.02641693316400051, 0.0073730978183448315, 0.043305281549692154, 0.004439858254045248, -0.019110500812530518, -0.006070917006582022, -0.014008441008627415, -0.04312751069664955, -0.029670163989067078, 0.012292941100895405, 0.015057296492159367, 0.06659343093633652, 0.002773244632408023, 0.01937715895473957, -0.0244792178273201, -0.015430618077516556 ]
41,056
pyglove.core.symbolic.list
sort
Sorts the items of the list in place..
def sort(self, *, key=None, reverse=False) -> None: """Sorts the items of the list in place..""" if base.treats_as_sealed(self): raise base.WritePermissionError('Cannot sort a sealed List.') super().sort(key=key, reverse=reverse)
(self, *, key=None, reverse=False) -> NoneType
[ -0.016094114631414413, 0.013210921548306942, 0.0015263969544321299, 0.033741407096385956, 0.019209394231438637, -0.04356033354997635, 0.016058409586548805, 0.0297781303524971, 0.057342540472745895, -0.05684266611933708, -0.06837544590234756, 0.010184906423091888, 0.027760786935687065, -0.03556236997246742, -0.022779913619160652, 0.05791382119059563, 0.0030215519946068525, 0.06955371797084808, -0.028546301648020744, 0.020459074527025223, -0.0027381419204175472, 0.013514415360987186, -0.012389701791107655, -0.02708238922059536, 0.01671895571053028, 0.03618721291422844, 0.03499108925461769, -0.012166544795036316, 0.015067591331899166, 0.0010215032380074263, 0.02920684777200222, 0.049023229628801346, -0.0059493775479495525, 0.024065298959612846, -0.022208629176020622, 0.009747517295181751, -0.016888557001948357, 0.02279776521027088, -0.02319052256643772, 0.054878879338502884, 0.010042085312306881, -0.026582516729831696, 0.07505231350660324, -0.02126244269311428, 0.026046937331557274, 0.06191280484199524, 0.018691668286919594, 0.048666179180145264, 0.08962003141641617, -0.03331294283270836, -0.04584546759724617, 0.0034410879015922546, 0.018888046965003014, 0.0021858273539692163, -0.025225719437003136, 0.04116808623075485, 0.0459882877767086, 0.04552412033081055, 0.04316757619380951, 0.0047309380024671555, -0.01976282335817814, -0.03649070858955383, -0.027510851621627808, -0.08147925138473511, -0.007756953127682209, -0.010256316512823105, -0.044810015708208084, -0.007328490726649761, -0.046488162130117416, -0.003954350017011166, -0.01333588920533657, 0.021619495004415512, 0.018727373331785202, 0.08690644055604935, 0.001002534874714911, 0.04588117077946663, -0.021191032603383064, -0.018655963242053986, -0.014523087069392204, -0.027189504355192184, 0.04313187301158905, 0.011157873086631298, 0.01179163996130228, 0.07119615375995636, -0.050415731966495514, -0.011032904498279095, 0.07476667314767838, -0.028867648914456367, 0.03117063269019127, 0.05016579478979111, -0.04327469319105148, 0.06130581721663475, -0.043238990008831024, -0.037419043481349945, 0.010890083387494087, 0.021976545453071594, -0.03584801405668259, -0.0731242373585701, -0.02456517331302166, 0.010229537263512611, -0.0038159925024956465, 0.037026286125183105, 0.06312678009271622, -0.004869295749813318, 0.017174197360873222, -0.028939059004187584, 0.035116057842969894, -0.0037401188164949417, -0.05791382119059563, 0.039168596267700195, -0.034937530755996704, 0.00478003267198801, 0.03447336331009865, -0.01701352372765541, -0.006891102064400911, 0.017218828201293945, 0.021012505516409874, -0.046488162130117416, 0.010479474440217018, 0.0037847503554075956, -0.0054762838408350945, -0.013425152748823166, 0.013987509533762932, -0.026975272223353386, -0.04720226302742958, 0.01628156751394272, -0.032241787761449814, -0.005770851857960224, -0.05470035597681999, 0.030902843922376633, -0.018513143062591553, 0.009363686665892601, -0.0055432310327887535, 0.0290104690939188, 0.022369302809238434, -0.03286663070321083, 0.06091305986046791, -0.0024770477320998907, 0.013550120405852795, 0.03211681917309761, 0.04830912500619888, 0.0025797002017498016, 0.0774802714586258, 0.04273911565542221, 0.04084673896431923, -0.05105842649936676, -0.028724826872348785, 0.0398469939827919, 0.020387664437294006, 0.05062996223568916, 0.002845257520675659, 0.01915583573281765, 0.010193832218647003, -0.022512122988700867, 0.01740628108382225, 0.021958693861961365, -0.056378498673439026, -0.007841752842068672, -0.04813059791922569, 0.03963276371359825, -0.0004956884658895433, -0.0093012023717165, 0.022904880344867706, -0.01081867329776287, -0.06691153347492218, -0.0422392413020134, 0.025993380695581436, -0.04470290243625641, -0.019602151587605476, 0.053879134356975555, 0.038597311824560165, -0.04356033354997635, -0.03599083423614502, -0.019387919455766678, -0.0063956924714148045, -0.009381539188325405, -0.010506252758204937, 0.04431014508008957, 0.020994653925299644, -0.002009532880038023, -0.01247003860771656, -0.03884724900126457, -0.009604697115719318, -0.005052284803241491, -0.006748281419277191, 0.020405517891049385, -0.016156598925590515, -0.01647794619202614, -0.020351959392428398, -0.03574089705944061, -0.040739625692367554, -0.00720798596739769, -0.005779778119176626, -0.06673300266265869, -0.03691916912794113, -0.004418517462909222, -0.0599847249686718, -0.018816636875271797, -0.007283859420567751, 0.014246371574699879, -0.04202501103281975, -0.013059173710644245, 0.07273148000240326, -0.04077532887458801, 0.038775838911533356, 0.05087989941239357, -0.03791891410946846, -0.07912270724773407, 0.011389956809580326, -0.052165284752845764, 0.06205562502145767, -0.032438166439533234, -0.029260404407978058, -0.022172924131155014, -0.035098202526569366, -0.06134152039885521, -0.03581230714917183, -0.0518796443939209, 0.04970162734389305, -0.012586080469191074, 0.003559361444786191, 0.015406790189445019, -0.06755422800779343, -0.053272146731615067, 0.020655453205108643, 0.053307853639125824, 0.012916353531181812, -0.028135690838098526, -0.042274948209524155, -0.005449505057185888, -0.001915806788019836, -0.08512117713689804, 0.0013467551907524467, -0.014665908180177212, -0.029331816360354424, -0.03870442882180214, -0.02904617413878441, -0.0026332580018788576, -0.08197912573814392, 0.026243316009640694, -0.038561608642339706, 0.016290493309497833, 0.04470290243625641, 0.0595562607049942, -0.05919921025633812, 0.010452695190906525, -0.003706645220518112, 0.01662076637148857, 0.005172789562493563, 0.04220353811979294, 0.0005068463506177068, 0.00613682996481657, -0.037204809486866, -0.026171905919909477, -0.01815609075129032, -0.023136964067816734, -0.038954365998506546, -0.03133130818605423, -0.03461618348956108, -0.013675088994204998, -0.02281561866402626, -0.04766643047332764, -0.021387409418821335, -0.00026946261641569436, 0.011559556238353252, -0.0033964563626796007, -0.0047978851944208145, 0.0693751871585846, 0.028153544291853905, 0.04559553042054176, 0.0000494433224957902, -0.06912524998188019, -0.02147667296230793, -0.009738591499626637, -0.00904680322855711, 0.08833464980125427, 0.04048968851566315, -0.007730174344033003, -0.028724826872348785, 0.022922733798623085, 0.11097174137830734, 0.04734508693218231, -0.013059173710644245, 0.01363938394933939, -0.017361650243401527, 0.007707858458161354, -0.0069669755175709724, -0.024440204724669456, -0.10847237706184387, 0.0022248798049986362, 0.07997962832450867, 0.05005868151783943, 0.07897988706827164, 0.000056905151723185554, 0.017968637868762016, -0.06666159629821777, -0.019298655912280083, -0.05198676139116287, 0.07897988706827164, 0.024529466405510902, -0.040525391697883606, -0.029724573716521263, 0.0774802714586258, -0.03695487603545189, 0.032813072204589844, -0.03308086097240448, -0.03731192648410797, -0.011523851193487644, -0.0297781303524971, -0.015014033764600754, 0.0030751097947359085, 0.05120124667882919, -0.04852335527539253, 0.01296098530292511, -0.021815871819853783, -0.015049738809466362, -0.022904880344867706, -0.007328490726649761, -0.007453458849340677, 0.060270365327596664, -0.0693751871585846, 0.006891102064400911, -0.04663098230957985, -0.050415731966495514, 0.03752615675330162, -0.00498980050906539, 0.01995920203626156, -0.004081550054252148, 0.030456529930233955, 0.02358327992260456, 0.028689121827483177, 0.003804834559559822, 0.032616693526506424, -0.035116057842969894, -0.11818418651819229, 0.023458311334252357, 0.02690386213362217, 0.002769384067505598, 0.019887791946530342, -0.03966847062110901, -0.052165284752845764, 0.006605460774153471, 0.006078809034079313, 0.016103042289614677, 0.0689467266201973, 0.02440449967980385, 0.03924000635743141, 0.015139001421630383, -0.0009037876734510064, -0.005186179187148809, 0.05205817148089409, -0.03809744119644165, -0.027385883033275604, 0.0045747277326881886, 0.03522317111492157, -0.03036726638674736, -0.009738591499626637, -0.0016357441199943423, -0.019673561677336693, -0.03486612066626549, 0.03565163537859917, -0.051022719591856, -0.06184139475226402, 0.00278500490821898, 0.016076263040304184, -0.03945423662662506, 0.006703650113195181, -0.07676616311073303, -0.013077027164399624, 0.00405700271949172, -0.045167069882154465, -0.054271891713142395, 0.0001977732899831608, 0.025582769885659218, -0.043060462921857834, 0.008685288019478321, 0.022119367495179176, 0.04456007853150368, -0.008319309912621975, 0.0641622319817543, 0.013746499083936214, 0.0010750610381364822, 0.02010202407836914, 0.03331294283270836, -0.054236188530921936, -0.0029055101331323385, -0.002058627549558878, 0.009363686665892601, 0.015005107037723064, -0.007029459811747074, -0.07912270724773407, -0.0402754582464695, -0.013978582806885242, 0.01699567213654518, -0.02554706484079361, 0.04534559324383736, 0.009792149066925049, 0.0012329448945820332, -0.002606478985399008, -0.037633273750543594, 0.03709769621491432, -0.04655957221984863, -0.004503317177295685, 0.019048720598220825, 0.008506761863827705, -0.0007185669965110719, 0.013871467672288418, -0.0028742679860442877, -0.02086968533694744, 0.009747517295181751, 0.030688613653182983, -0.0025149844586849213, -0.042453475296497345, -0.010809747502207756, 0.0204769279807806, -0.030884992331266403, 0.006873249541968107, 0.04220353811979294, 0.018182870000600815, -0.03058149665594101, 0.026564663276076317, 0.013469783589243889, -0.015879884362220764, 0.04638104513287544, -0.011220356449484825, -0.06255549937486649, 0.02279776521027088, 0.018316764384508133, -0.05280797928571701, -0.03691916912794113, 0.0307600237429142, 0.06691153347492218, -0.01953073963522911, 0.04234635829925537, 0.06948230415582657, 0.03948994353413582, -0.0019503961084410548, -0.04256058856844902, -0.06384088099002838, 0.03695487603545189, -0.0005975040839985013, 0.029885245487093925, 0.0007570616435259581, -0.008975393138825893, 0.08255040645599365, 0.07498090714216232, 0.030635055154561996, 0.028189249336719513, 0.02029840275645256, -0.0468452125787735, 0.035865865647792816, 0.014469529502093792, 0.025975527241826057, -0.016076263040304184, -0.09797504544258118, -0.03461618348956108, -0.037633273750543594, 0.006551902741193771, 0.005507525987923145, -0.01324662659317255, 0.058520808815956116, 0.017745479941368103, -0.005877967458218336, -0.03177762031555176, -0.051772527396678925, 0.017807964235544205, -0.06498344987630844, 0.0033830669708549976, 0.011559556238353252, 0.024654434993863106, 0.08454989641904831, -0.034562624990940094, 0.023333342745900154, -0.033955637365579605, -0.030688613653182983, 0.021958693861961365, 0.056557025760412216, -0.052558042109012604, -0.002202564151957631, 0.011666671372950077, 0.03540169820189476, -0.03092069737613201, -0.013773278333246708, 0.011996944434940815, 0.0038427712861448526, -0.019994907081127167, -0.034348394721746445, -0.002610942116007209, 0.016763588413596153, -0.05591433122754097, 0.025582769885659218, -0.027510851621627808, 0.0025105213280767202, 0.07123185694217682, 0.03849019855260849, 0.018852341920137405, -0.06255549937486649, -0.036669231951236725, 0.02106606401503086, -0.003403151175007224, 0.0118184182792902, -0.04252488538622856, 0.010854378342628479, 0.006703650113195181, 0.027118094265460968, 0.04913034662604332, -0.0021914062090218067, -0.009961748495697975, 0.015924515202641487, -0.036472853273153305, 0.027171650901436806, 0.050201501697301865, 0.03192044049501419, -0.024636583402752876, 0.05295079946517944, 0.0032938041258603334, -0.06748281419277191, 0.007221375126391649, 0.03770468384027481, 0.0039855921640992165, 0.014915844425559044, -0.02399388886988163, -0.00395881338045001, -0.027564408257603645, 0.021583788096904755, -0.04102526605129242, 0.009693959727883339, 0.010033159516751766, 0.04820201173424721, 0.02804642915725708, -0.021512378007173538, 0.0037802872247993946, -0.0168528500944376, -0.040918149054050446, 0.00012468922068364918, 0.04798777773976326, -0.07448103278875351, 0.09840351343154907, -0.03402704745531082, 0.016727883368730545, -0.009818928316235542, 0.050022974610328674, 0.001639091526158154, -0.11697021126747131, 0.02090539038181305, 0.01953073963522911, -0.09626119583845139, -0.0383116714656353, -0.0862637460231781, -0.0028586469125002623, -0.03265240043401718, -0.003055025590583682, -0.00008375378092750907, -0.03484826907515526, 0.032813072204589844, -0.058877862989902496, -0.02129814773797989, 0.007712321821600199, 0.03774038702249527, 0.03245602175593376, 0.014844433404505253, 0.06359095126390457, 0.0027559944428503513, -0.051915351301431656, -0.0007777037099003792, -0.012782459147274494, -0.0023476164788007736, 0.016906408593058586, 0.008828109130263329, 0.007145501673221588, 0.039597056806087494, -0.007221375126391649, 0.016870703548192978, 0.01974497176706791, -0.02531498111784458, -0.0063956924714148045, 0.05555728077888489, 0.052165284752845764, -0.05398625135421753, -0.0615200474858284, -0.022869175300002098, -0.02859986014664173, 0.01488906517624855, -0.01811145804822445, -0.0027091314550489187, -0.008435351774096489, 0.06309107691049576, 0.057378243654966354, -0.0257255919277668, -0.00061145139625296, -0.020441222935914993, -0.008538004010915756, 0.016790367662906647, -0.046702392399311066, -0.022315746173262596, 0.0019481645431369543, -0.02420812100172043, -0.026154054328799248, -0.014648055657744408, 0.043631743639707565, 0.0317419171333313, 0.01876307837665081, 0.007913162931799889, -0.017040302976965904, 0.06284113973379135, -0.011202503927052021, 0.020619748160243034, -0.034901827573776245, 0.0013757656561210752, 0.004340412560850382, -0.007578426972031593, 0.07947976142168045, 0.029296111315488815, -0.03615150600671768, 0.026029085740447044, -0.005538768135011196, 0.042667705565690994, -0.04384597763419151, 0.09776081889867783, 0.0001655549422139302, 0.0032670251093804836, 0.004228833597153425, 0.014183887280523777, 0.027421588078141212, 0.0005018252995796502, -0.04120379313826561, -0.014058919623494148, 0.05673554912209511, 0.035098202526569366, -0.04427443817257881, 0.006645629182457924, -0.024511614814400673, 0.01951288804411888, 0.03716910630464554, -0.00677059730514884, -0.019637856632471085, 0.0027135945856571198, -0.04513136297464371, 0.029671015217900276, 0.003300498705357313, 0.030670760199427605, -0.007931015454232693, 0.048844702541828156, 0.049023229628801346, -0.056949783116579056, 0.02631472609937191, -0.027314472943544388, -0.004646138288080692, -0.00835947785526514, -0.01935221441090107, -0.03534813970327377, 0.04813059791922569, -0.02267279662191868, 0.03149197995662689, -0.014728391543030739, 0.03034941293299198, 0.017932932823896408, -0.06209132820367813, 0.02768937684595585, -0.04238206520676613, 0.020744716748595238, 0.015817400068044662, 0.00885042455047369, -0.027189504355192184, 0.03265240043401718, -0.021958693861961365, -0.022690650075674057, 0.015317527577280998, 0.008444278500974178, 0.03963276371359825, 0.0023610058706253767, -0.03302730247378349, 0.04316757619380951, 0.02476155012845993, 0.01995920203626156, 0.017236681655049324, -0.006775060202926397, 0.013380520977079868, 0.018459584563970566, -0.04734508693218231, 0.00287649966776371, -0.013808983378112316, -0.023351196199655533, -0.049630217254161835, -0.034312691539525986, 0.0639122948050499, -0.08076514303684235, 0.017674069851636887, -0.051522593945264816, -0.02515430748462677, 0.004757716786116362, -0.06144863739609718, -0.03824026137590408, -0.03515176102519035, -0.005828872788697481, 0.029278257861733437, -0.03420557454228401, 0.015058664605021477, 0.046488162130117416, -0.004175276029855013, 0.034348394721746445, 0.04777354747056961, 0.05355778709053993, 0.02979598380625248, 0.024440204724669456, -0.02088753692805767, -0.029135437682271004, 0.03447336331009865, 0.04352463036775589, -0.012541448697447777, 0.03459833189845085, -0.02028054930269718, -0.004753253888338804, -0.02381536364555359, 0.008703140541911125, -0.045738350600004196, 0.07123185694217682, 0.010015306062996387, 0.02613620087504387, 0.028510596603155136, -0.009515433572232723, -0.05684266611933708, 0.020655453205108643, -0.05923491343855858, 0.06276972591876984, -0.01616552658379078, 0.016576135531067848, -0.03970417380332947, -0.04045398160815239, -0.035901572555303574, 0.03497323766350746, 0.021905135363340378, 0.006819691974669695, 0.049451690167188644, 0.046345338225364685, 0.031438421458005905, -0.05141547694802284, 0.07940834760665894, 0.048844702541828156, 0.07194596529006958, 0.004467612132430077, 0.015522832050919533, -0.006342134904116392, -0.016513651236891747, -0.024101005867123604, -0.01007779035717249, -0.018477438017725945, -0.009676107205450535, -0.0039275712333619595, -0.0026600367855280638, -0.027778640389442444, -0.0003266467247158289, -0.003916413523256779, -0.022601386532187462, 0.027600113302469254, 0.0529865063726902, -0.03615150600671768, 0.02067330665886402, 0.020833980292081833, -0.04584546759724617, 0.008122931234538555, -0.03447336331009865, -0.06423363834619522, 0.02904617413878441, 0.000850787793751806, 0.03574089705944061, 0.036472853273153305, 0.023083407431840897 ]
41,058
pyglove.core.symbolic.list
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.""" del key if self._value_spec is None: return None return self._value_spec.element
(self, key: Union[str, int]) -> Optional[pyglove.core.typing.class_schema.Field]
[ 0.10091257095336914, -0.01216451358050108, 0.048587534576654434, 0.08525737375020981, 0.03899696096777916, -0.01265814621001482, 0.07862859219312668, -0.058601222932338715, -0.035876501351594925, -0.01047205924987793, -0.004398617427796125, -0.025245772674679756, 0.06713400781154633, 0.00028483031201176345, 0.04590781778097153, 0.044567957520484924, -0.005976478569209576, 0.03786865994334221, -0.04368647187948227, 0.011767844669520855, 0.02676193043589592, 0.040548376739025116, -0.017215430736541748, -0.053418081253767014, 0.013971560634672642, 0.036493539810180664, 0.04259342700242996, 0.0031358881387859583, 0.0014291099505499005, -0.037339769303798676, 0.01690691150724888, -0.0033408338204026222, 0.042769722640514374, 0.009916722774505615, 0.0014280080795288086, -0.02677955850958824, -0.0037947993259876966, 0.02082071080803871, -0.05803706869482994, -0.06438377499580383, 0.027766823768615723, 0.01997448317706585, 0.006430443841964006, -0.06325546652078629, -0.011908882297575474, 0.004187060985714197, 0.028665941208600998, -0.006514185108244419, -0.019145887345075607, -0.04477951303124428, 0.022671831771731377, 0.010022501461207867, -0.001800436177290976, 0.004138579126447439, 0.02179034613072872, -0.04495581239461899, -0.053136005997657776, -0.00918508879840374, -0.02387065440416336, 0.01539956871420145, -0.03143380954861641, -0.0008936069207265973, -0.03758658468723297, -0.0577549934387207, -0.00632907310500741, -0.01645735278725624, 0.0074133011512458324, 0.02774919383227825, -0.011873623356223106, -0.026233037933707237, -0.04629566892981529, -0.04058363661170006, -0.02351805940270424, 0.025369180366396904, 0.03000579960644245, -0.0821545422077179, 0.016651280224323273, -0.0564151331782341, 0.032791297882795334, -0.052642371505498886, -0.023324131965637207, 0.04551996290683746, -0.030552322044968605, 0.013425039127469063, -0.018140992149710655, 0.025386810302734375, 0.0541585311293602, 0.010939246974885464, -0.001961307367309928, -0.021049898117780685, -0.0031821662560105324, -0.017127282917499542, -0.03145143762230873, 0.06272657960653305, -0.005888329818844795, -0.015346679836511612, 0.036352504044771194, 0.014447563327848911, 0.023570949211716652, -0.006188035011291504, 0.03339070826768875, -0.03998422622680664, -0.017770767211914062, 0.05567468702793121, -0.019727667793631554, -0.038468070328235626, -0.05094991996884346, -0.032509222626686096, -0.0007801155443303287, -0.0328441858291626, -0.00580899603664875, 0.006060219369828701, 0.022160571068525314, 0.05870699882507324, 0.01693335548043251, 0.026162518188357353, 0.012755108997225761, -0.004896657541394234, 0.04661300405859947, -0.0071664853021502495, 0.009255608543753624, 0.0004616785445250571, -0.04551996290683746, -0.009643462486565113, 0.02642696537077427, 0.021314343437552452, 0.0010974506149068475, 0.00018139339226763695, -0.01209399476647377, 0.04770604893565178, 0.01137117575854063, 0.017171356827020645, 0.044708993285894394, 0.06935535371303558, 0.011811918579041958, 0.005275696516036987, 0.06582941114902496, 0.06963743269443512, -0.025950962677598, 0.005667957942932844, -0.0015569254755973816, 0.03000579960644245, 0.01096569187939167, -0.05542787164449692, -0.03719872981309891, 0.0025408847723156214, -0.05838966369628906, 0.017056763172149658, -0.037304509431123734, -0.003790391841903329, -0.05849544331431389, -0.013195852749049664, 0.023659097030758858, -0.00360748334787786, 0.034554269164800644, 0.03991370648145676, -0.05976478382945061, 0.015038159675896168, 0.002961794612929225, -0.02082071080803871, -0.017506321892142296, -0.026656150817871094, -0.011335915885865688, -0.1042269617319107, 0.031345658004283905, 0.019604260101914406, 0.0014864065451547503, -0.04735345393419266, 0.03323204070329666, 0.046542488038539886, -0.042769722640514374, -0.02870119921863079, 0.010295761749148369, 0.005531327798962593, -0.042628686875104904, 0.05433482676744461, 0.016016609966754913, 0.009943167679011822, 0.03541812673211098, 0.0008274954161606729, 0.04798812419176102, 0.016078313812613487, 0.007179707288742065, -0.0004407432279549539, 0.0209793783724308, 0.03920852020382881, -0.002831775229424238, 0.012217402458190918, 0.03044654242694378, 0.04079519584774971, -0.009608202613890171, 0.01080702431499958, -0.0064877406693995, -0.022795241326093674, -0.04171194136142731, -0.08039157092571259, 0.05560416728258133, 0.003144703106954694, 0.0055048828944563866, 0.03289707377552986, 0.0658646672964096, -0.03536523878574371, -0.0009299682569690049, 0.08765501528978348, -0.058001808822155, -0.0023072909098118544, 0.032632630318403244, -0.02529866248369217, -0.06279709935188293, 0.01852884516119957, 0.014474008232355118, -0.014844232238829136, 0.0036757986526936293, -0.017929434776306152, 0.013909856788814068, -0.0442153625190258, -0.04823493957519531, 0.007713006809353828, -0.028419123962521553, 0.033443596214056015, 0.058424923568964005, -0.02288338914513588, 0.05161985009908676, -0.037657104432582855, 0.034554269164800644, -0.016413278877735138, -0.004330302122980356, 0.015716904774308205, -0.04273446649312973, -0.02048574574291706, -0.0021056507248431444, 0.009387831203639507, 0.0026158110704272985, -0.011662065982818604, 0.003730891505256295, -0.029758984223008156, 0.0011525435838848352, 0.011565102264285088, 0.017656173557043076, -0.013751189224421978, -0.026074370369315147, 0.03808021545410156, -0.023641467094421387, 0.07284604012966156, -0.03372567147016525, -0.02448769472539425, 0.0006038182182237506, 0.044885292649269104, -0.014764898456633091, -0.04185297712683678, -0.01626342535018921, -0.029617946594953537, 0.031997960060834885, 0.02739660069346428, 0.06286761909723282, -0.013398594222962856, -0.07305759936571121, -0.018105732277035713, 0.02254842408001423, -0.0026598854456096888, -0.02385302446782589, 0.014932380989193916, 0.0035920573864132166, -0.04157090187072754, 0.05920063331723213, -0.011450509540736675, 0.02468162216246128, 0.008612123318016529, -0.01345148403197527, -0.0017596674151718616, -0.0198510754853487, -0.04915168508887291, -0.011203693225979805, -0.032773666083812714, -0.00020191549265291542, -0.04418010264635086, 0.029723724350333214, 0.019445592537522316, 0.052289776504039764, -0.03256211057305336, -0.03388433903455734, -0.025563107803463936, -0.007920156233012676, 0.05140829086303711, -0.02915957197546959, 0.06152775511145592, -0.04174720123410225, 0.020097892731428146, -0.02032707817852497, -0.016668910160660744, 0.0595884844660759, 0.04823493957519531, -0.002986035542562604, 0.024893177673220634, 0.030675729736685753, 0.02110278606414795, 0.021649308502674103, 0.019939225167036057, 0.041994016617536545, 0.021702196449041367, 0.027132153511047363, 0.08821916580200195, -0.004782064352184534, 0.01773550733923912, -0.03977267071604729, 0.05655617266893387, 0.0008704679203219712, 0.01401563547551632, 0.01151221338659525, 0.033108633011579514, -0.05077362060546875, 0.08159039169549942, -0.07418590039014816, 0.051337771117687225, 0.01313414890319109, 0.009705166332423687, -0.03783340007066727, 0.03157484531402588, 0.01708320714533329, 0.07862859219312668, 0.008105267770588398, -0.0051831407472491264, -0.038785405457019806, -0.021666938439011574, -0.03210373595356941, -0.002734811743721366, -0.0116179920732975, -0.08927695453166962, 0.013601336628198624, 0.04114779084920883, 0.019710037857294083, 0.002657681703567505, -0.012702220119535923, 0.00821104645729065, -0.08596256375312805, 0.02690296806395054, 0.006791853345930576, -0.03931429609656334, -0.023976432159543037, -0.04051312059164047, -0.04083045572042465, -0.027854973450303078, 0.022689461708068848, -0.02432902716100216, -0.006426036357879639, -0.061492498964071274, 0.018405437469482422, -0.018458327278494835, 0.04534366354346275, -0.0028714421205222607, 0.05595676228404045, -0.049574799835681915, 0.002957387128844857, 0.012957851402461529, 0.013901041820645332, -0.0005567137850448489, -0.02513999491930008, 0.06773342192173004, -0.016730614006519318, 0.043263357132673264, 0.049222204834222794, 0.019110627472400665, -0.03220951557159424, -0.01306363008916378, 0.010516134090721607, 0.010260502807796001, -0.05221926048398018, 0.020379967987537384, 0.04551996290683746, 0.023183094337582588, -0.017435802146792412, 0.005355030298233032, -0.017850100994110107, -0.033619895577430725, 0.00023290525132324547, 0.05578046292066574, 0.029864761978387833, 0.0230244267731905, 0.002523255068808794, -0.07566680014133453, -0.026726670563220978, -0.009581757709383965, -0.016087127849459648, 0.07954534143209457, -0.024135099723935127, 0.01427126582711935, -0.010454429313540459, -0.04178246110677719, 0.033461228013038635, 0.0027458304539322853, -0.019780557602643967, -0.018088102340698242, -0.029565056785941124, 0.0010930432472378016, 0.014897121116518974, -0.018934329971671104, 0.006408406887203455, -0.053770676255226135, -0.0010451123816892505, -0.03141617774963379, 0.02339465171098709, -0.043756987899541855, -0.032191887497901917, 0.039243780076503754, 0.008409380912780762, 0.020679673179984093, -0.0038763368502259254, 0.024752140045166016, -0.026074370369315147, 0.008523974567651749, 0.017991138622164726, 0.04301654174923897, 0.011071470566093922, -0.04142986610531807, 0.0376923605799675, -0.014130228199064732, 0.06272657960653305, -0.02517525479197502, 0.025686515495181084, -0.004253172315657139, -0.023747246712446213, -0.025034215301275253, -0.04819967970252037, 0.02917720191180706, -0.04093623161315918, 0.02531629242002964, 0.011644436046481133, 0.0618450902402401, -0.025192882865667343, 0.11621517688035965, 0.001445637783035636, 0.04640144854784012, 0.04678930342197418, 0.024893177673220634, -0.0024615509901195765, -0.026797188445925713, -0.004967176355421543, -0.029565056785941124, 0.020256560295820236, -0.04224083200097084, -0.020256560295820236, 0.004967176355421543, 0.008836901746690273, -0.00838734395802021, 0.0006374249351210892, -0.003173351287841797, -0.0005542346043512225, 0.10309866070747375, 0.036987174302339554, -0.030428912490606308, 0.011450509540736675, -0.0012836647219955921, 0.06039945408701897, -0.008669419214129448, -0.0048834350891411304, -0.01659839041531086, -0.026021480560302734, -0.069707952439785, 0.030887287110090256, -0.012931406497955322, -0.018581734970211983, 0.0602584145963192, 0.00499802827835083, -0.0554983876645565, -0.05592150241136551, 0.0442153625190258, 0.01819388009607792, -0.012437773868441582, 0.010974506847560406, 0.013830523006618023, 0.02931823953986168, -0.007510264869779348, 0.04611937329173088, -0.020521005615592003, -0.0011266499059274793, -0.0028934793081134558, -0.0031865737400949, -0.010542578063905239, -0.06110464408993721, -0.10916328430175781, 0.022513164207339287, -0.0063731474801898, -0.06459532678127289, -0.016060683876276016, 0.06949639320373535, 0.021702196449041367, -0.031045954674482346, 0.011406434699892998, -0.054898977279663086, 0.02466399222612381, -0.03402537852525711, 0.08208402246236801, 0.03222714737057686, 0.02852490171790123, 0.04551996290683746, 0.01726832054555416, 0.035224199295043945, -0.02517525479197502, -0.008343269117176533, 0.012217402458190918, -0.057472918182611465, -0.06674615293741226, 0.016087127849459648, 0.005429956596344709, -0.003008072730153799, -0.04058363661170006, -0.06819179654121399, -0.00468069314956665, 0.015743348747491837, 0.003891762811690569, 0.04784708470106125, -0.04534366354346275, 0.05405275151133537, -0.021331973373889923, 0.033778563141822815, 0.007651302497833967, 0.01385696791112423, -0.0442153625190258, -0.003845484694465995, 0.008585678413510323, -0.027132153511047363, -0.03113410249352455, -0.05444060638546944, -0.05024472996592522, -0.02110278606414795, 0.022795241326093674, -0.03187455236911774, -0.017277134582400322, -0.013248741626739502, -0.01695098541676998, 0.056027282029390335, 0.03642302006483078, -0.012825628742575645, 0.020186040550470352, -0.0021926977206021547, 0.05010369047522545, -0.01345148403197527, 0.08123779296875, -0.04693033918738365, -0.04485003277659416, 0.000411819462897256, 0.014236006885766983, 0.00700781773775816, 0.022372126579284668, 0.018317289650440216, 0.01689809560775757, -0.061492498964071274, 0.016704168170690536, 0.001572351553477347, -0.03719872981309891, -0.05994107946753502, 0.09449534863233566, 0.021631678566336632, -0.10098309069871902, 0.012041104957461357, 0.036810874938964844, 0.03598227724432945, 0.007928971201181412, 0.01369830034673214, -0.017638543620705605, -0.00895590241998434, -0.051020435988903046, 0.04202927649021149, -0.03340833634138107, 0.01248184870928526, -0.027960751205682755, 0.01306363008916378, -0.033937230706214905, 0.036211464554071426, 0.006972557865083218, -0.047494493424892426, 0.01202347595244646, 0.03337307646870613, 0.02804889902472496, 0.022001903504133224, -0.011485768482089043, -0.027378970757126808, 0.024240877479314804, -0.06322021037340164, -0.017515135928988457, 0.020679673179984093, 0.01450045220553875, 0.007743858732283115, 0.05528683215379715, -0.06942587345838547, -0.03286181762814522, 0.055075276643037796, 0.027819713577628136, -0.08920643478631973, -0.04590781778097153, -0.03638776019215584, -0.07757081091403961, -0.03173351287841797, -0.003164536552503705, -0.04693033918738365, 0.03212136775255203, -0.03430745378136635, 0.01819388009607792, 0.018282029777765274, 0.007276671007275581, 0.03991370648145676, -0.013680670410394669, 0.018493587151169777, 0.012270292267203331, 0.02804889902472496, 0.004347932059317827, 0.058107588440179825, 0.02420561946928501, 0.0048217312432825565, -0.06195086985826492, -0.038609109818935394, 0.010736505500972271, -0.029459279030561447, 0.014667934738099575, -0.017806027084589005, -0.004222320392727852, 0.01594609022140503, 0.04255816712975502, -0.011829548515379429, -0.025563107803463936, -0.04530840367078781, 0.038785405457019806, -0.004488969687372446, 0.01932218298316002, -0.016369203105568886, 0.04365121200680733, 0.014623860828578472, 0.026709040626883507, -0.022989166900515556, -0.006562666967511177, 0.002366791246458888, 0.03386671096086502, 0.003069776576012373, -0.0014709805836901069, -0.018951959908008575, -0.009061681106686592, 0.008510751649737358, 0.02917720191180706, 0.006752186454832554, 0.08356492221355438, 0.0020285206846892834, 0.024734510108828545, -0.052783410996198654, 0.04703611880540848, 0.0027656638994812965, 0.07601939141750336, -0.002827367978170514, -0.05288919061422348, -0.025351550430059433, -0.019057737663388252, -0.1024639904499054, -0.05035050958395004, -0.04678930342197418, -0.06924957782030106, 0.0586717389523983, -0.07108306884765625, -0.02452295459806919, -0.05976478382945061, -0.07044839859008789, -0.04911642521619797, -0.006831520237028599, -0.03723398968577385, 0.006937298458069563, -0.023623837158083916, -0.03938481584191322, -0.00997842662036419, -0.0017662785248830914, -0.04202927649021149, 0.016827577725052834, -0.03430745378136635, -0.021349603310227394, 0.013839337974786758, 0.0004925305838696659, -0.0625150203704834, -0.049081169068813324, 0.05066784471273422, 0.05366489663720131, 0.015919646248221397, 0.047494493424892426, 0.011547473259270191, 0.0726344883441925, -0.002653274219483137, 0.004244357347488403, -0.013715929351747036, -0.015840312466025352, -0.025369180366396904, 0.06339650601148605, 0.015055788680911064, -0.0026444594841450453, -0.047318194061517715, -0.031169362366199493, -0.05930640920996666, 0.024276137351989746, -0.011362360790371895, -0.037304509431123734, -0.09957271069288254, 0.00911456998437643, 0.08836020529270172, 0.08497529476881027, 0.04396854713559151, -0.019110627472400665, -0.0008363103261217475, -0.008087638765573502, 0.016157647594809532, 0.035241831094026566, -0.0017310191178694367, 0.01981581561267376, 0.0020736970473080873, -0.014482823200523853, 0.001953594386577606, -0.0214377511292696, -0.029617946594953537, -0.08116727322340012, -0.03991370648145676, 0.024540584534406662, 0.00324387033469975, -0.06875594705343246, -0.013319260440766811, -0.027643416076898575, 0.05990581959486008, 0.0035964648704975843, 0.013010740280151367, 0.01629868522286415, 0.017973508685827255, -0.02997053973376751, 0.020221300423145294, -0.05694402754306793, 0.016157647594809532, -0.03772762045264244, 0.012631701305508614, 0.06822705268859863, 0.061351459473371506, 0.004442691802978516, 0.06265605986118317, -0.009193903766572475, 0.013319260440766811, -0.009705166332423687, -0.02563362754881382, -0.009581757709383965, 0.07171773910522461, -0.03390197083353996, 0.07369226962327957, -0.003014683723449707, 0.025668885558843613, 0.022848129272460938, 0.032650258392095566, -0.04950428009033203, 0.04865805432200432, -0.0038190402556210756, -0.051020435988903046, -0.028313346207141876, 0.03146906569600105, 0.03305574133992195, 0.036352504044771194, -0.012243847362697124, -0.00551810534670949, 0.010286947712302208, 0.050879400223493576, 0.050209470093250275, 0.010172354057431221, 0.016360389068722725, -0.0254925899207592, -0.042487647384405136, 0.01983344554901123, -0.041183046996593475, -0.027678675949573517, -0.008788419887423515, 0.028665941208600998 ]
41,067
pyglove.core.symbolic.list
sym_hasattr
Tests if a symbolic attribute exists.
def sym_hasattr(self, key: Union[str, int]) -> bool: """Tests if a symbolic attribute exists.""" return (isinstance(key, numbers.Integral) and key >= -len(self) and key < len(self))
(self, key: Union[str, int]) -> bool
[ 0.06760568916797638, -0.023280290886759758, 0.011373642832040787, 0.05048074945807457, 0.052887868136167526, -0.004693884402513504, 0.025670217350125313, -0.005729805678129196, -0.005901742726564407, 0.0023641358129680157, -0.001139083644375205, 0.0007371805841103196, 0.12310700118541718, 0.012869495898485184, -0.04339693859219551, -0.003410803386941552, 0.022265860810875893, 0.030845526605844498, -0.011476805433630943, -0.015001516789197922, -0.028902636840939522, 0.07125075906515121, -0.004762659315019846, -0.03177398815751076, 0.01699598878622055, 0.07448317855596542, 0.057805273681879044, 0.05068707466125488, 0.03875463455915451, -0.010066920891404152, -0.07744049280881882, -0.0185176320374012, 0.05852740630507469, 0.029555996879935265, 0.05436652898788452, -0.02981390245258808, 0.0075179520063102245, -0.010436585173010826, -0.01680685766041279, -0.029212122783064842, 0.04030206799507141, 0.04226215183734894, 0.020116647705435753, -0.022609736770391464, 0.004255444742739201, -0.012009810656309128, -0.013015642762184143, 0.040817879140377045, -0.041608791798353195, -0.042537253350019455, 0.02205953747034073, -0.017030375078320503, 0.038960959762334824, -0.005080742761492729, -0.02439788170158863, 0.014631851576268673, -0.0131188053637743, 0.04294990003108978, -0.04033645614981651, 0.04350009933114052, -0.023675747215747833, 0.0071010044775903225, 0.004582125227898359, -0.09944844990968704, 0.010058323852717876, -0.04466927424073219, -0.046560581773519516, 0.009172847494482994, 0.0036579628940671682, -0.015508731827139854, -0.022265860810875893, -0.014820982702076435, -0.016256658360362053, 0.051959410309791565, -0.005416020285338163, -0.08548715710639954, -0.01944609172642231, -0.02687377668917179, 0.01697019673883915, -0.044222235679626465, 0.0012508428189903498, -0.03208347409963608, -0.01991032250225544, -0.02223147451877594, -0.07523970305919647, 0.061072077602148056, 0.029366865754127502, -0.02517160028219223, -0.001574299531057477, 0.043156225234270096, -0.060625042766332626, 0.06571438163518906, 0.0046852873638272285, 0.0061983345076441765, 0.03982064500451088, -0.0019117261981591582, 0.07152585685253143, -0.01265457458794117, 0.06007484346628189, -0.05354123190045357, 0.016772469505667686, -0.0617254376411438, 0.036657001823186874, 0.045460183173418045, -0.025240374729037285, 0.014554480090737343, -0.043947137892246246, -0.03768862411379814, -0.03206627815961838, -0.003838496981188655, -0.024019621312618256, -0.011992616578936577, 0.041471242904663086, -0.01081484742462635, 0.030811138451099396, -0.02405400760471821, 0.027372395619750023, -0.01027324516326189, -0.00698494678363204, -0.01913660578429699, 0.01977277360856533, 0.02439788170158863, -0.003518264042213559, -0.020477715879678726, 0.04986177384853363, 0.023108353838324547, 0.0018805626314133406, 0.04136807844042778, 0.027888206765055656, 0.044531721621751785, 0.002047126879915595, 0.004304876551032066, 0.022300248965620995, 0.09635358303785324, -0.015783831477165222, 0.013901119120419025, 0.033734068274497986, 0.054607242345809937, -0.043121837079524994, -0.004521947354078293, 0.03148169443011284, 0.0013583035906776786, 0.0010455928277224302, -0.017812689766287804, -0.04002697020769119, 0.021578112617135048, -0.08369901031255722, 0.0068302033469080925, 0.004552036058157682, -0.026753421872854233, -0.040198907256126404, -0.018758343532681465, 0.016093317419290543, 0.02854156866669655, -0.002193273277953267, 0.023830490186810493, -0.026461128145456314, 0.01743442751467228, -0.009525318630039692, -0.04336255043745041, -0.007401894778013229, 0.01257720310240984, -0.0494491271674633, -0.09312116354703903, -0.026357965543866158, -0.024466658011078835, -0.015156260691583157, -0.03431865572929382, 0.022283054888248444, 0.08273615688085556, -0.00176450505387038, -0.03933922201395035, 0.021853212267160416, 0.020322971045970917, 0.009697255678474903, 0.014949935488402843, -0.009215831756591797, -0.0048615229316055775, 0.027544332668185234, 0.010367810726165771, 0.03488604724407196, -0.03610680252313614, -0.06829343736171722, -0.03101746365427971, 0.019703997299075127, 0.02888544276356697, -0.016720889136195183, -0.024329107254743576, 0.029263703152537346, 0.031155012547969818, -0.02298799715936184, -0.004474664572626352, 0.011769098229706287, 0.013093014247715473, 0.01127048023045063, -0.05880250781774521, 0.015018710866570473, 0.014537286944687366, -0.011098543182015419, 0.0447380468249321, 0.035281505435705185, -0.02205953747034073, -0.01803620718419552, 0.05821792036294937, -0.023108353838324547, -0.050859011709690094, -0.02037455327808857, -0.02472456358373165, -0.011373642832040787, -0.014081653207540512, -0.0012153807329013944, -0.05113410949707031, 0.03999258205294609, 0.04893331602215767, 0.022197086364030838, 0.04738587886095047, -0.0006173618603497744, 0.002796127926558256, -0.00397389754652977, 0.0008575365645810962, 0.10151169449090958, 0.010522553697228432, 0.051649920642375946, 0.016007348895072937, 0.022936416789889336, -0.027974175289273262, 0.014339558780193329, 0.058905668556690216, -0.029126154258847237, 0.01195822935551405, 0.03366529569029808, 0.053781941533088684, -0.00004110372537979856, 0.03139572590589523, -0.014124637469649315, -0.03337300196290016, 0.01635122299194336, 0.08720652759075165, 0.03179118037223816, -0.009224428795278072, -0.0031206593848764896, 0.04092104360461235, -0.038066886365413666, 0.04927719011902809, -0.027406781911849976, -0.03268525376915932, 0.003314088797196746, 0.06413255631923676, -0.043912749737501144, -0.018552018329501152, 0.020615264773368835, -0.056292224675416946, -0.022334637120366096, -0.014545883052051067, 0.032169442623853683, -0.017322668805718422, -0.10508798807859421, -0.02749275043606758, 0.013677600771188736, -0.01205279491841793, -0.04429101198911667, 0.018328500911593437, 0.02776785008609295, 0.03227260336279869, 0.03194592520594597, 0.032324183732271194, 0.07640887051820755, 0.03369968384504318, -0.06746813654899597, -0.029298091307282448, -0.0463198684155941, -0.024329107254743576, -0.04195266589522362, 0.014382543042302132, 0.022283054888248444, 0.019033443182706833, 0.046526193618774414, -0.026925358921289444, 0.014563077129423618, -0.02640954777598381, 0.013548647984862328, -0.015087485313415527, 0.00014453467156272382, 0.013110208325088024, -0.030329713597893715, 0.04370642453432083, -0.01684124395251274, 0.0071568842977285385, -0.014692029915750027, -0.015182050876319408, 0.05326613038778305, 0.0223862174898386, 0.042399704456329346, -0.0066711618565022945, 0.07462072372436523, 0.02175004966557026, 0.028180500492453575, 0.0019213977502658963, 0.0247073695063591, 0.003866436891257763, 0.030312521383166313, 0.03454217314720154, -0.03442182019352913, -0.03521272912621498, -0.019394511356949806, -0.0059834131971001625, 0.03796372562646866, 0.054435305297374725, -0.022798866033554077, 0.0586649589240551, 0.01867237500846386, 0.06708987802267075, -0.0494147390127182, 0.04078349471092224, 0.03139572590589523, -0.019996291026473045, -0.029435642063617706, -0.007891915738582611, -0.03058761917054653, 0.11856786161661148, -0.008605455048382282, -0.002012739423662424, -0.0463198684155941, -0.03535027801990509, -0.05357561632990837, -0.020168228074908257, 0.020941944792866707, -0.0833551362156868, -0.023245902732014656, -0.009172847494482994, 0.018586406484246254, -0.005029161926358938, 0.04446294903755188, -0.006013501901179552, -0.049002088606357574, 0.03227260336279869, -0.024311913177371025, 0.02658148482441902, 0.007887616753578186, 0.015139066614210606, -0.025240374729037285, 0.010445182211697102, 0.020598070695996284, -0.015061695128679276, 0.0036773059982806444, -0.0648890808224678, -0.03407794609665871, 0.006727041210979223, 0.05309419333934784, 0.015955768525600433, -0.017185118049383163, -0.012095779180526733, 0.023073965683579445, -0.007655501831322908, 0.03995819389820099, -0.008652737364172935, 0.0018934579566121101, 0.059524644166231155, 0.01349706668406725, 0.024827726185321808, 0.07434562593698502, -0.0011466059368103743, -0.04601038247346878, -0.0355222150683403, -0.0757211223244667, -0.02950441651046276, -0.0043371147476136684, -0.0003871272492688149, 0.008738705888390541, -0.01605893112719059, -0.02776785008609295, -0.040198907256126404, -0.05694558471441269, -0.03347616270184517, 0.0035419054329395294, 0.0385826975107193, 0.02596251107752323, 0.012216134928166866, 0.01419341191649437, -0.044084686785936356, 0.01886150613427162, 0.00009973698615795001, 0.015242229215800762, 0.045322634279727936, 0.013677600771188736, -0.0049560884945094585, -0.01490695122629404, -0.03731036186218262, 0.011064155958592892, 0.03799811005592346, 0.016953004524111748, -0.006258512381464243, -0.04852066561579704, 0.03027813322842121, -0.027045713737607002, -0.04552895948290825, 0.03505798429250717, -0.048073627054691315, -0.0008655961137264967, -0.0006587342359125614, 0.03693209961056709, -0.05192502215504646, -0.0025769080966711044, 0.026512710377573967, 0.011425224132835865, 0.04927719011902809, -0.0013056477764621377, -0.010582732036709785, -0.029762322083115578, -0.011218899860978127, 0.02904018573462963, 0.015018710866570473, -0.03916728496551514, -0.03192872926592827, 0.01383234467357397, -0.008773093111813068, 0.05374755337834358, -0.016918616369366646, 0.04642303287982941, 0.006920470390468836, 0.019961904734373093, -0.049930550158023834, -0.026357965543866158, 0.02764749526977539, -0.05955903232097626, 0.002306107198819518, 0.002205094089731574, -0.023899264633655548, 0.026186028495430946, 0.045460183173418045, -0.03627873957157135, 0.009594093076884747, 0.056395385414361954, 0.0005555719253607094, -0.010677297599613667, -0.043912749737501144, -0.042399704456329346, -0.0788159891963005, -0.04343132674694061, -0.017675139009952545, -0.03130975738167763, -0.018964668735861778, -0.02714887633919716, 0.04755781590938568, -0.011425224132835865, -0.010943800210952759, 0.04456610977649689, 0.06960015743970871, 0.07173217833042145, -0.039751868695020676, -0.03627873957157135, 0.0012938270810991526, -0.009662868455052376, -0.014253590255975723, -0.003277552081272006, -0.03488604724407196, -0.036519452929496765, -0.035143956542015076, 0.005003371275961399, -0.016875632107257843, -0.07032229751348495, 0.06371991336345673, -0.06526734679937363, -0.03786056116223335, -0.037585463374853134, 0.05773649737238884, -0.015242229215800762, -0.01149399857968092, 0.01759776845574379, 0.034954823553562164, -0.008738705888390541, -0.01527661643922329, 0.028146112337708473, -0.01729687862098217, -0.010849234648048878, 0.02298799715936184, 0.005394528154283762, 0.05632661283016205, -0.08060413599014282, -0.051649920642375946, 0.01543135941028595, -0.007702784612774849, -0.03734475001692772, -0.040370844304561615, 0.051477983593940735, 0.01915379986166954, -0.053781941533088684, 0.01590418629348278, -0.01133925560861826, -0.005845863372087479, -0.00016629547462798655, 0.018809925764799118, 0.020580878481268883, 0.05677364766597748, 0.08913221955299377, 0.011098543182015419, 0.032324183732271194, 0.01961802877485752, -0.004844329319894314, 0.002931528491899371, -0.047351494431495667, 0.00826587900519371, 0.032049085944890976, 0.013780763372778893, 0.010978187434375286, 0.020787201821804047, -0.032375767827034, 0.0039137196727097034, 0.02008225955069065, -0.02610005997121334, 0.04535702243447304, -0.003445190843194723, 0.047179557383060455, 0.016944406554102898, 0.053644392639398575, 0.027888206765055656, -0.0030131987296044827, -0.06268828362226486, -0.012078585103154182, 0.021423369646072388, 0.03999258205294609, -0.041883889585733414, -0.010849234648048878, -0.07015036046504974, -0.036519452929496765, 0.01977277360856533, -0.03662261366844177, -0.035419054329395294, -0.012138763442635536, 0.0015485089970752597, 0.026942552998661995, 0.03161924332380295, -0.028180500492453575, 0.03175679221749306, -0.00663677416741848, 0.05446968972682953, 0.008308863267302513, 0.02824927493929863, 0.0135142607614398, -0.009370574727654457, 0.017864270135760307, -0.006851695477962494, 0.023744521662592888, 0.005514884367585182, 0.005987711250782013, 0.02577337995171547, -0.050859011709690094, -0.042674802243709564, -0.0020589474588632584, -0.012903883121907711, -0.05928393080830574, 0.06389185041189194, -0.005106533411890268, -0.047901690006256104, 0.07805947214365005, 0.03412952646613121, 0.058561794459819794, -0.026443934068083763, -0.021887600421905518, 0.04986177384853363, -0.007320224307477474, -0.062447573989629745, 0.07008158415555954, -0.07049423456192017, -0.05281909555196762, -0.04910525307059288, -0.026822196319699287, -0.04614793136715889, 0.052578382194042206, 0.009069684892892838, -0.020408939570188522, 0.025051243603229523, -0.023263096809387207, -0.001432451419532299, 0.010135695338249207, -0.012680365703999996, -0.02128582075238228, 0.04614793136715889, -0.038513921201229095, -0.062275636941194534, 0.003359222086146474, 0.04243408888578415, -0.026134448125958443, 0.027389589697122574, -0.009009506553411484, -0.03168801963329315, -0.0031958818435668945, 0.02175004966557026, -0.07028791308403015, -0.04810801520943642, -0.05677364766597748, -0.05883689597249031, 0.011287674307823181, -0.06251634657382965, 0.005342947319149971, 0.03129256144165993, 0.012388071976602077, -0.02269570529460907, -0.013101611286401749, 0.027217652648687363, 0.07207605242729187, -0.013651810586452484, 0.02405400760471821, -0.005471900105476379, 0.009671465493738651, 0.04195266589522362, 0.0323929600417614, 0.05477917939424515, -0.03208347409963608, -0.07324522733688354, -0.03316667675971985, 0.017357055097818375, -0.005536376498639584, 0.01235368475317955, -0.00643904646858573, 0.0041544316336512566, 0.00718267448246479, 0.01622227020561695, -0.00759962247684598, -0.0007968212594278157, -0.033751264214515686, -0.022300248965620995, 0.013221967034041882, 0.02515440620481968, -0.01867237500846386, 0.012860898859798908, 0.01741723343729973, 0.03486885502934456, -0.009422156028449535, -0.08094801008701324, -0.012757737189531326, 0.019532060250639915, 0.04233092814683914, -0.01654035411775112, -0.009447947144508362, -0.021870406344532967, 0.03607241436839104, 0.02948722243309021, 0.047179557383060455, 0.06757130473852158, -0.05281909555196762, 0.00832605641335249, -0.06904996186494827, 0.04989616200327873, -0.006043591070920229, 0.06306654959917068, 0.008614051155745983, -0.026443934068083763, 0.022661317139863968, -0.03779178857803345, -0.05220011994242668, -0.03737913817167282, -0.028352437540888786, -0.05003371089696884, 0.08211718499660492, -0.041918277740478516, -0.054125815629959106, -0.026787808164954185, -0.03012339025735855, -0.041436854749917984, -0.0035010704305022955, -0.043637651950120926, -0.01898186281323433, 0.006550805643200874, 0.03454217314720154, -0.005635240115225315, 0.00842062197625637, -0.05955903232097626, 0.028335243463516235, -0.03223821520805359, 0.0026736226864159107, 0.06299777328968048, 0.009473737329244614, -0.07159463316202164, -0.030071808025240898, 0.02596251107752323, -0.014683432877063751, -0.022902028635144234, 0.03796372562646866, -0.017236700281500816, 0.02499966323375702, -0.008424920961260796, 0.0006689429865218699, -0.011528386734426022, -0.01297265850007534, 0.00010000563634093851, 0.04494437202811241, 0.0009773552883416414, -0.0012551412219181657, -0.07386419922113419, -0.018637986853718758, -0.06829343736171722, 0.0370352640748024, 0.040061358362436295, -0.007904810830950737, -0.07028791308403015, -0.007887616753578186, 0.09642235934734344, 0.06402939558029175, -0.028180500492453575, -0.009869192726910114, 0.01637701503932476, -0.016953004524111748, 0.015216438099741936, -0.004844329319894314, 0.0055105858482420444, -0.03101746365427971, 0.0065078213810920715, 0.02716607041656971, 0.01758917048573494, -0.04827995225787163, -0.010359213687479496, -0.023521002382040024, -0.10997100174427032, 0.02484491840004921, -0.036381904035806656, -0.007853229530155659, -0.018173757940530777, 0.013677600771188736, 0.01103836577385664, 0.04456610977649689, 0.01865518093109131, 0.008695721626281738, 0.026736227795481682, -0.0770966187119484, -0.008184208534657955, -0.0023340468760579824, 0.005484795197844505, -0.03333861380815506, 0.004006135743111372, 0.0401301309466362, 0.024432269856333733, -0.041746340692043304, 0.09690377861261368, -0.0035333086270838976, 0.014167621731758118, -0.059215158224105835, -0.0038535415660589933, 0.0013368113432079554, 0.08308003097772598, 0.0043929945677518845, 0.05804598331451416, 0.031722404062747955, -0.04274357855319977, 0.03411233052611351, 0.016944406554102898, -0.05728945881128311, 0.036038026213645935, 0.03228979930281639, -0.037929337471723557, 0.03505798429250717, 0.027974175289273262, 0.00933618750423193, -0.00839912984520197, 0.08424920588731766, 0.028128918260335922, -0.0524408333003521, 0.013522856868803501, 0.05185624584555626, -0.012474040500819683, -0.04387836158275604, -0.020271390676498413, -0.041436854749917984, 0.041436854749917984, -0.021234238520264626, 0.004423083271831274, -0.009963758289813995, 0.035419054329395294 ]
41,068
pyglove.core.symbolic.list
sym_hash
Symbolically hashing.
def sym_hash(self) -> int: """Symbolically hashing.""" return base.sym_hash( (self.__class__, tuple([base.sym_hash(e) for e in self.sym_values()])) )
(self) -> int
[ 0.07131350785493851, -0.05360432714223862, 0.03797256946563721, 0.047712620347738266, 0.015418906696140766, -0.031484879553318024, -0.02637646161019802, -0.03339202329516411, -0.042229585349559784, -0.026955416426062584, -0.00022535570315085351, -0.03725739195942879, 0.048836469650268555, 0.0072241537272930145, -0.038006626069545746, -0.006019418593496084, -0.0102338632568717, 0.019956884905695915, -0.014346139505505562, -0.006185442209243774, -0.018237050622701645, 0.012302772141993046, 0.018134882673621178, -0.027313005179166794, -0.013298913836479187, 0.019309818744659424, 0.0589170828461647, 0.030446168035268784, 0.02918609231710434, -0.0010035912273451686, -0.05421733856201172, 0.009910330176353455, 0.0010461612837389112, 0.00032459734939038754, 0.047814786434173584, -0.07778417319059372, -0.021353185176849365, 0.06981503963470459, 0.009927358478307724, -0.008003187365829945, 0.06927014142274857, -0.010736190713942051, -0.0014548347098752856, -0.021114792674779892, 0.04236580803990364, -0.0007279494893737137, -0.011212976649403572, 0.007901019416749477, 0.010140208527445793, -0.08227957785129547, -0.02945854142308235, -0.0660688653588295, 0.01660235784947872, 0.02188105508685112, 0.035929203033447266, 0.04103761911392212, 0.02916906401515007, -0.06647753715515137, -0.04297881945967674, 0.026121040806174278, -0.0029777816962450743, 0.003269387176260352, 0.04934731498360634, -0.042944762855768204, 0.016108542680740356, -0.013452165760099888, -0.0298501867800951, 0.03124648705124855, -0.008897160179913044, 0.014286541379988194, 0.02843685820698738, -0.03742767125368118, -0.006543031428009272, -0.03053130954504013, -0.009459086693823338, -0.010727676562964916, 0.0246566291898489, -0.016176655888557434, 0.02676810696721077, -0.018816005438566208, 0.0023009164724498987, -0.03347716107964516, -0.015197542496025562, 0.001367565942928195, -0.07914641499519348, 0.02188105508685112, 0.07955508679151535, -0.009595311246812344, -0.0694744810461998, -0.03545241802930832, -0.008250094018876553, 0.01944604329764843, 0.0009541034232825041, 0.019922828301787376, 0.01478035468608141, -0.07424233108758926, -0.003484366461634636, -0.044238895177841187, 0.052616700530052185, -0.024401208385825157, 0.057112108916044235, -0.010829845443367958, -0.0485299676656723, -0.006347208749502897, 0.002713846741244197, -0.006858050357550383, 0.017862433567643166, -0.040118105709552765, -0.06102856248617172, 0.0010078481864184141, -0.046043869107961655, 0.0946078896522522, 0.00830117892473936, -0.04103761911392212, 0.025286667048931122, 0.011502453126013279, 0.03342607989907265, 0.014695214107632637, 0.06283353269100189, 0.03238736838102341, -0.023038962855935097, 0.06514935195446014, -0.003765329485759139, -0.007160298526287079, 0.039709433913230896, 0.055715806782245636, -0.00290115550160408, -0.023686029016971588, -0.03647410124540329, 0.020774230360984802, 0.04400050267577171, 0.02252812124788761, 0.006300381384789944, 0.09631069749593735, -0.022681374102830887, -0.007228410802781582, 0.024452291429042816, 0.04856402426958084, 0.03303443267941475, 0.020229334011673927, 0.05166313052177429, -0.015589187853038311, -0.009586797095835209, 0.017326049506664276, 0.0029245689511299133, 0.013281885534524918, -0.06300381571054459, 0.021438324823975563, 0.003910067956894636, 0.03327282518148422, 0.04577142000198364, 0.0023200728464871645, 0.07035993784666061, 0.07737549394369125, -0.04972193017601967, 0.06818034499883652, -0.010353059507906437, -0.004635889083147049, -0.02572939544916153, -0.008688567206263542, 0.01731753535568714, -0.027926016598939896, 0.02366900071501732, -0.06715866178274155, -0.04440917447209358, -0.015018747188150883, 0.007356121204793453, -0.006517489440739155, -0.009237721562385559, -0.022034307941794395, -0.03688277304172516, -0.06160751357674599, -0.04716772213578224, 0.03414125740528107, 0.05602231249213219, 0.021795915439724922, -0.013613932766020298, 0.022136475890874863, 0.04331938177347183, -0.025269638746976852, 0.02671702392399311, -0.09195151180028915, -0.03708711266517639, -0.007930818013846874, 0.02331141196191311, 0.053638383746147156, 0.052242081612348557, 0.02852199785411358, 0.04165063053369522, -0.0002798986970447004, -0.06531963497400284, -0.02537180669605732, -0.003307700389996171, 0.05966631695628166, 0.025933733209967613, -0.013307427987456322, -0.03718927875161171, 0.012932810001075268, -0.04376211017370224, 0.04127601534128189, 0.018986284732818604, -0.017794320359826088, -0.01494212169200182, 0.00027457743999548256, 0.015410392545163631, -0.044613514095544815, 0.03514591231942177, -0.04297881945967674, 0.050130605697631836, -0.027585454285144806, 0.001833709073252976, -0.039471037685871124, -0.03369852900505066, 0.038347188383340836, -0.024809880182147026, -0.03182544186711311, 0.02945854142308235, -0.009084468707442284, 0.015870150178670883, -0.016891833394765854, 0.0610966719686985, -0.029611794278025627, -0.0025563372764736414, -0.007322065066546202, -0.002324329921975732, -0.03225114196538925, 0.013971521519124508, 0.024401208385825157, -0.01722388155758381, -0.010676592588424683, 0.03126351535320282, 0.011945183388888836, 0.028011156246066093, 0.026665939018130302, -0.004165488760918379, -0.00007263531006174162, 0.01147691160440445, -0.003950509708374739, -0.01684926450252533, 0.012549678795039654, -0.01835624687373638, 0.059257641434669495, 0.05758889392018318, 0.04662282392382622, 0.004648659843951464, -0.02462257258594036, -0.004114404786378145, 0.06773761659860611, -0.007364635355770588, -0.03923264518380165, -0.054694123566150665, -0.039811599999666214, 0.003918582107871771, -0.021268045529723167, 0.047065552324056625, -0.006245040334761143, -0.03448181971907616, 0.027261922135949135, 0.005087132565677166, 0.010582937858998775, -0.015154971741139889, 0.03616759553551674, -0.012158033438026905, -0.04004999250173569, 0.029765045270323753, -0.012379398569464684, -0.02504827454686165, 0.08146223425865173, -0.05878085643053055, 0.022102419286966324, 0.060960449278354645, -0.09147472679615021, -0.058167848736047745, 0.031093234196305275, -0.0018773433985188603, 0.00903338473290205, 0.032114919275045395, 0.05772511661052704, -0.035656753927469254, -0.002673405222594738, 0.024741768836975098, -0.03439667820930481, -0.016176655888557434, -0.0562947615981102, -0.016065973788499832, 0.10509717464447021, -0.0013090319698676467, -0.0323362834751606, -0.00020606610632967204, -0.04859807714819908, 0.019565239548683167, 0.024809880182147026, -0.018918173387646675, 0.010702135041356087, 0.07533212751150131, 0.0163639634847641, -0.031178375706076622, 0.02460554428398609, 0.04553302749991417, 0.04767856374382973, -0.04754233732819557, 0.044920019805431366, -0.017896490171551704, -0.005525604821741581, -0.02918609231710434, -0.010863901115953922, 0.0645022839307785, 0.04692932963371277, 0.018662752583622932, 0.033460136502981186, 0.0006460019503720105, 0.08486784249544144, -0.03586108982563019, 0.03483940660953522, 0.030446168035268784, -0.01621922478079796, -0.03579298034310341, -0.04924514517188072, -0.02322627231478691, 0.0707004964351654, -0.0049296231009066105, 0.000242516805883497, -0.02569534070789814, -0.02608698606491089, 0.018117854371666908, -0.05030088499188423, -0.02218756079673767, -0.05251453071832657, 0.05704399570822716, -0.00396115193143487, 0.014482364058494568, -0.019854716956615448, 0.06783978641033173, 0.019020341336727142, -0.020569894462823868, 0.03160407766699791, 0.054728180170059204, 0.06382115930318832, -0.07478722929954529, -0.04583953320980072, 0.016083000227808952, -0.023822253569960594, 0.011434340849518776, -0.022357840090990067, -0.06620509177446365, -0.01874789223074913, -0.0734931007027626, -0.0161681417375803, -0.06273137032985687, 0.01611705683171749, 0.016781151294708252, -0.02606995776295662, -0.004016493447124958, 0.004584804642945528, 0.0772392749786377, -0.013963008299469948, -0.010208320803940296, -0.01767512410879135, -0.04277448356151581, 0.02227270044386387, 0.017291992902755737, -0.02324330061674118, -0.011485425755381584, -0.019275762140750885, -0.019190622493624687, -0.008914188481867313, -0.049177031964063644, 0.030991066247224808, 0.009254749864339828, -0.045737363398075104, -0.032114919275045395, -0.02916906401515007, -0.007939332164824009, -0.04318315535783768, 0.05738455802202225, 0.054660066962242126, 0.00029533039196394384, 0.039368871599435806, -0.012430482544004917, -0.0732206478714943, 0.04546491429209709, -0.013588390313088894, 0.01982066035270691, 0.006692026741802692, -0.011161892674863338, 0.048870526254177094, 0.03810879588127136, -0.016338422894477844, 0.09453977644443512, 0.06007498875260353, -0.05666937679052353, -0.020774230360984802, 0.043217211961746216, -0.019905799999833107, 0.027176780626177788, 0.0485299676656723, 0.02608698606491089, -0.02091045491397381, -0.07771605998277664, -0.03681466355919838, 0.020706119015812874, -0.014635615982115269, 0.055749863386154175, -0.0037014742847532034, -0.007841421291232109, -0.01164719182997942, -0.023447636514902115, 0.01618517003953457, -0.0033672985155135393, -0.04703149572014809, -0.08105355501174927, 0.03305146098136902, -0.022306757047772408, -0.03500968962907791, 0.02532072365283966, -0.037632010877132416, 0.029117979109287262, -0.014346139505505562, 0.059257641434669495, 0.009893301874399185, 0.012600762769579887, -0.05179935321211815, -0.030820785090327263, 0.027006501331925392, -0.006364237051457167, 0.026308350265026093, -0.024213898926973343, 0.05861057713627815, -0.04961976036429405, 0.010932013392448425, 0.0041676172986626625, 0.01939495839178562, 0.07798850536346436, 0.009646395221352577, 0.003233202500268817, -0.05203774571418762, 0.047712620347738266, -0.043864279985427856, 0.014788868837058544, 0.03528213873505592, 0.04124195873737335, 0.006411063950508833, -0.015001719817519188, 0.026461603119969368, 0.042910706251859665, -0.005078618414700031, 0.006913391873240471, -0.0021902339067310095, 0.02288571000099182, 0.016304366290569305, -0.00000452723543276079, -0.04246797785162926, 0.005487291608005762, -0.0707004964351654, -0.054285451769828796, -0.0197695754468441, -0.030718617141246796, -0.03722333535552025, 0.0062663257122039795, -0.0010365830967202783, -0.04301287606358528, 0.053331878036260605, 0.0003405611787457019, -0.01509537361562252, -0.057827286422252655, -0.04873430356383324, -0.026308350265026093, -0.013928951695561409, 0.052923206239938736, 0.02218756079673767, 0.018952228128910065, 0.01873086392879486, -0.016696011647582054, 0.006159900221973658, -0.03477129340171814, -0.0010679785627871752, -0.025542087852954865, -0.018935201689600945, -0.05837218463420868, -0.068691186606884, 0.00721563957631588, -0.01075321901589632, 0.05738455802202225, -0.028998782858252525, 0.09358620643615723, -0.0011823858367279172, 0.020995596423745155, 0.005248899105936289, -0.02051880955696106, 0.021370213478803635, 0.0014048147713765502, -0.006304638460278511, -0.019360901787877083, 0.0493132583796978, 0.012754015624523163, 0.011332172900438309, 0.01183450035750866, -0.010557396337389946, -0.07437855750322342, -0.025473974645137787, -0.04795101284980774, -0.009339890442788601, 0.01839030347764492, 0.016125570982694626, 0.005959820467978716, 0.02499718964099884, -0.0042910706251859665, -0.011400285176932812, 0.006640942767262459, -0.010021012276411057, -0.008931216783821583, -0.05898519605398178, 0.0617096833884716, 0.005610745400190353, 0.03483940660953522, -0.0029245689511299133, -0.02498016133904457, -0.03637193143367767, -0.024384180083870888, 0.013835297897458076, 0.003484366461634636, -0.03606542944908142, -0.05091389641165733, -0.033460136502981186, -0.0003836634277831763, 0.004208059050142765, 0.002141278237104416, -0.023839281871914864, 0.04318315535783768, 0.009408002719283104, -0.05108417570590973, 0.020365558564662933, -0.06262920051813126, 0.03810879588127136, -0.03276198357343674, 0.06491095572710037, -0.03131460025906563, 0.01688331924378872, -0.014209914952516556, -0.021795915439724922, -0.050539277493953705, -0.03121243044734001, 0.02738111838698387, -0.04028838500380516, -0.029390428215265274, 0.017096171155571938, -0.03357933089137077, 0.007862705737352371, -0.026682967320084572, -0.03681466355919838, -0.01649167388677597, 0.007960617542266846, 0.047440171241760254, -0.0880691185593605, 0.02436715178191662, -0.0500965490937233, 0.04519246518611908, 0.02051880955696106, -0.011204462498426437, 0.046077925711870193, 0.023396551609039307, 0.01214100606739521, 0.04703149572014809, -0.11279385536909103, -0.0013303171144798398, -0.024162814021110535, -0.01980363205075264, -0.03504374250769615, -0.018679780885577202, 0.04965381696820259, -0.0383131317794323, 0.06470662355422974, 0.06974692642688751, -0.008122383616864681, 0.05527307838201523, -0.008786478079855442, -0.02365197241306305, 0.015785010531544685, 0.016661955043673515, -0.07056427747011185, -0.023464664816856384, 0.06085827946662903, -0.052276138216257095, 0.06944042444229126, 0.013767185620963573, -0.010846872813999653, -0.0036333620082587004, 0.0257464237511158, -0.06218646839261055, -0.012030323036015034, -0.07335687428712845, -0.05755483731627464, -0.024537432938814163, -0.008735394105315208, -0.007411462254822254, -0.012898754328489304, -0.027857903391122818, 0.004806169308722019, 0.00624929741024971, 0.025542087852954865, 0.027568425983190536, -0.004397496115416288, 0.02778979204595089, -0.00149740488268435, 0.06174373999238014, 0.02879444696009159, 0.02920312061905861, -0.0003671675221994519, -0.018560582771897316, -0.04018621891736984, -0.03184247016906738, 0.008999329060316086, 0.009586797095835209, -0.045294634997844696, -0.00849700067192316, 0.009161095134913921, 0.025099357590079308, 0.028981754556298256, -0.04835968464612961, 0.008462944999337196, -0.07553646713495255, 0.04205930605530739, -0.042195528745651245, 0.033562302589416504, -0.007364635355770588, 0.04376211017370224, -0.003171475837007165, 0.10809411108493805, 0.015785010531544685, -0.025831565260887146, -0.05380866304039955, 0.007862705737352371, 0.016270309686660767, -0.012421968393027782, 0.0640595555305481, -0.04168468713760376, -0.0085310572758317, 0.039471037685871124, -0.008743908256292343, 0.08514029532670975, -0.03061644919216633, 0.025082329288125038, -0.04168468713760376, 0.02084234356880188, -0.029424484819173813, -0.000717839109711349, 0.01388638187199831, -0.010906470939517021, -0.005129702389240265, -0.049858156591653824, -0.007139013614505529, -0.011596107855439186, -0.006815480533987284, -0.03206383436918259, 0.022698402404785156, -0.003292800858616829, -0.02324330061674118, -0.06416172534227371, -0.01631288044154644, -0.021642662584781647, -0.007530658971518278, -0.005674600601196289, -0.07233519107103348, -0.02259623259305954, 0.01724090985953808, 0.016925889998674393, 0.020927483215928078, 0.005359581205993891, 0.003218302968889475, -0.04750828444957733, 0.00969747919589281, -0.0018933071987703443, 0.0039207106456160545, -0.009867759421467781, -0.07608136534690857, -0.020638007670640945, -0.01684926450252533, 0.0790783017873764, -0.018509499728679657, -0.042229585349559784, -0.0119792390614748, -0.04039055481553078, -0.0325576476752758, 0.0073476070538163185, -0.002711718203499913, 0.03514591231942177, -0.015325252898037434, 0.024094702675938606, -0.04338749125599861, -0.05203774571418762, -0.05697588250041008, -0.02986721508204937, -0.007739252410829067, 0.0073476070538163185, -0.05673748999834061, 0.017607012763619423, -0.003460952779278159, -0.006887849420309067, 0.06276541948318481, -0.047440171241760254, -0.02601887285709381, 0.02535477839410305, 0.05309348553419113, 0.026240237057209015, 0.026665939018130302, 0.009535713121294975, -0.008982300758361816, -0.004882795736193657, 0.0007992545142769814, 0.03790445625782013, -0.033221740275621414, -0.03303443267941475, -0.01980363205075264, 0.017130225896835327, 0.04297881945967674, -0.0162788238376379, -0.0010179586242884398, -0.005483034998178482, -0.03223411366343498, 0.053672440350055695, 0.013545820489525795, -0.018679780885577202, 0.060960449278354645, 0.04236580803990364, -0.031042151153087616, 0.031484879553318024, 0.08078110963106155, 0.019582267850637436, 0.02017824910581112, 0.03705305606126785, -0.008041500113904476, -0.02399253472685814, -0.04733800143003464, 0.055749863386154175, 0.050164658576250076, 0.03708711266517639, 0.03204680606722832, -0.011187434196472168, -0.01649167388677597, 0.07315254211425781, 0.024946104735136032, -0.0016495931195095181, -0.05878085643053055, -0.025627227500081062, 0.05799756571650505, 0.014669672586023808, -0.04338749125599861, 0.054728180170059204, 0.05360432714223862, -0.039471037685871124, -0.02600184455513954, 0.04400050267577171, 0.018288135528564453, -0.021983223035931587, 0.018185965716838837, 0.03097403794527054, -0.0072922660037875175, 0.016551272943615913, 0.011936669237911701, -0.0010057196486741304, -0.010012498125433922, -0.0064578913152217865, -0.017947573214769363, 0.016661955043673515, -0.018611667677760124, -0.010123181156814098, 0.04818940535187721, 0.026189154013991356 ]
41,071
pyglove.core.symbolic.list
sym_items
Iterates the (key, value) pairs of symbolic attributes.
def sym_items(self) -> Iterator[Tuple[int, Any]]: """Iterates the (key, value) pairs of symbolic attributes.""" for i in range(len(self)): yield (i, super().__getitem__(i))
(self) -> Iterator[Tuple[int, Any]]
[ 0.06573551148176193, -0.037957970052957535, -0.014605947770178318, -0.025626003742218018, 0.015174442902207375, -0.028949512168765068, -0.008903506211936474, -0.014124913141131401, 0.07171782851219177, 0.026570580899715424, -0.0220401119440794, 0.02727026678621769, 0.0555550754070282, 0.05695445090532303, -0.029404308646917343, 0.020238419994711876, -0.002418290125206113, 0.01938130520284176, -0.05531018599867821, 0.04656410962343216, -0.008907878771424294, 0.06104761362075806, -0.02259986102581024, -0.04156135395169258, 0.009472000412642956, 0.03673351928591728, 0.026797978207468987, 0.009821843355894089, 0.06891908496618271, -0.02676299400627613, -0.06989864259958267, -0.019346321001648903, 0.03998706117272377, 0.011999616399407387, 0.058388806879520416, -0.04631922021508217, -0.044849880039691925, 0.020465819165110588, 0.011588551104068756, 0.05513526499271393, 0.08501186221837997, -0.03295521438121796, 0.029964057728648186, -0.015498047694563866, 0.008291280828416348, -0.009270841255784035, 0.01185093354433775, -0.03949728235602379, 0.017999425530433655, -0.0833326131105423, 0.02503127045929432, -0.01538434810936451, 0.060068052262067795, -0.012638079933822155, 0.010460307821631432, 0.027899984270334244, -0.020990584045648575, 0.005042112898081541, -0.022967197000980377, 0.04719382897019386, -0.0034415810368955135, -0.0359288826584816, 0.011938394047319889, -0.06328660994768143, 0.02361440658569336, -0.06468597799539566, -0.04680899903178215, -0.011247454211115837, -0.02111302874982357, -0.01571669988334179, 0.026658041402697563, -0.026395658031105995, -0.03557903692126274, 0.006598914507776499, -0.030156470835208893, -0.014553471468389034, -0.0036339948419481516, 0.014396041631698608, 0.05387583002448082, -0.09032947570085526, -0.04005702957510948, 0.027987444773316383, -0.06062780320644379, -0.004915294703096151, -0.06447607278823853, 0.039532266557216644, 0.019678672775626183, -0.020483311265707016, -0.03676850348711014, 0.07682553678750992, -0.04079170152544975, 0.042855773121118546, 0.0028643400873988867, 0.06398629397153854, -0.019888577982783318, -0.012830493971705437, 0.0016387960640713573, -0.05712937191128731, 0.02776004560291767, 0.0011490157339721918, 0.0221975427120924, -0.020308390259742737, -0.015323125757277012, 0.025748448446393013, -0.027987444773316383, -0.010810150764882565, -0.03243045136332512, -0.07276735454797745, 0.031310953199863434, -0.015769176185131073, -0.0815834030508995, 0.07234754413366318, 0.03704838082194328, 0.01894400082528591, -0.03715333342552185, -0.005203915294259787, 0.016661275178194046, 0.012716795317828655, 0.020413342863321304, -0.006826312746852636, -0.02975415252149105, 0.03108355589210987, 0.01392375398427248, 0.05244147405028343, 0.03008650243282318, 0.042261041700839996, 0.026972899213433266, 0.008820418268442154, -0.03568399325013161, 0.014754630625247955, -0.006082896143198013, -0.04229602590203285, 0.018331775441765785, 0.06311168521642685, -0.016337670385837555, -0.02968418411910534, 0.10866125673055649, -0.006948757916688919, -0.022057604044675827, 0.03293772414326668, 0.03799295425415039, 0.012104569934308529, -0.0247688889503479, 0.04789351299405098, -0.06430115550756454, -0.01409867499023676, -0.03215057775378227, 0.04299570992588997, 0.004143453668802977, -0.06108259782195091, -0.02510123886168003, 0.053910814225673676, 0.046843986958265305, 0.07080823183059692, -0.017500899732112885, 0.021812714636325836, -0.05583495274186134, -0.0034284619614481926, -0.01595284417271614, 0.009375793859362602, -0.059718210250139236, -0.02485634945333004, -0.011378644965589046, -0.023824311792850494, -0.006445858161896467, 0.034039728343486786, -0.006472096312791109, -0.051182039082050323, 0.04547959566116333, -0.029544245451688766, 0.007438538130372763, -0.094807468354702, -0.02336951531469822, -0.021637793630361557, 0.008527424186468124, 0.01613651029765606, 0.005566877778619528, 0.03876261040568352, 0.06332159042358398, 0.006861296948045492, 0.01920638419687748, -0.06612033396959305, -0.08522176742553711, -0.04939784109592438, 0.016188986599445343, 0.030541298910975456, 0.014518487267196178, 0.029211895540356636, 0.058073949068784714, -0.0036689790431410074, 0.02359691448509693, -0.008028898388147354, -0.015358109958469868, 0.01985359378159046, 0.0019011783879250288, -0.009900558739900589, -0.014037452638149261, 0.021217981353402138, -0.019801117479801178, 0.059718210250139236, -0.008483693934977055, -0.03192317858338356, -0.053001221269369125, 0.07353700697422028, -0.0017721736803650856, -0.0022717933170497417, 0.012139554135501385, -0.0778750628232956, -0.03197565674781799, 0.006988115143030882, -0.006856923922896385, 0.013477703556418419, 0.05552009120583534, -0.0017820131033658981, 0.00985682848840952, -0.006747597828507423, -0.019153907895088196, -0.023964248597621918, 0.009638176299631596, -0.009909304790198803, 0.06363645195960999, -0.03606881946325302, -0.005816140677779913, -0.009244603104889393, 0.052091632038354874, -0.04719382897019386, 0.017675820738077164, -0.00819507334381342, -0.08501186221837997, 0.028984496369957924, 0.011903409846127033, -0.009332063607871532, 0.009891812689602375, 0.01080140471458435, 0.021742746233940125, 0.03606881946325302, 0.00934955570846796, 0.0037389476783573627, -0.03510675206780434, 0.013031654059886932, -0.04894304275512695, 0.05485539138317108, -0.013556418009102345, 0.03641866147518158, -0.052091632038354874, 0.001428890274837613, 0.028302302584052086, 0.05677952617406845, -0.04929288476705551, -0.016757482662796974, 0.006572676356881857, -0.00810761284083128, 0.01720353215932846, 0.02844224125146866, 0.04187621548771858, -0.05219658464193344, -0.06241200119256973, -0.024593966081738472, 0.01687118224799633, -0.03697841241955757, 0.01679246686398983, 0.029806628823280334, -0.035474084317684174, 0.04680899903178215, 0.073117196559906, 0.05793400853872299, 0.03181822597980499, 0.021795222535729408, -0.0510421022772789, 0.009953035041689873, 0.05975319445133209, 0.010915103368461132, -0.05153188109397888, 0.040931638330221176, -0.0035837048199027777, 0.05593990534543991, 0.03725828602910042, 0.0288445595651865, -0.06769463419914246, -0.060977645218372345, 0.01588287390768528, 0.016495099291205406, -0.04166630655527115, -0.018069393932819366, 0.0032994572538882494, 0.0025254294741898775, -0.006349651608616114, 0.0009172447607852519, 0.019888577982783318, -0.015900366008281708, 0.08200321346521378, 0.0443950854241848, 0.007031845394521952, -0.02195265144109726, 0.10180433094501495, 0.0070624565705657005, -0.024471521377563477, 0.05478542298078537, 0.015226919203996658, 0.02527615986764431, 0.051671817898750305, 0.004556705709546804, -0.010215417481958866, 0.03704838082194328, -0.004722881130874157, 0.019748641178011894, 0.07647569477558136, 0.07178779691457748, -0.038027938455343246, 0.016057796776294708, 0.03556154668331146, 0.03750317543745041, 0.004305256064981222, 0.03169577941298485, -0.03641866147518158, -0.07962428033351898, -0.05202166363596916, 0.0021679336205124855, 0.009760621003806591, 0.079134501516819, -0.026745501905679703, -0.016495099291205406, -0.022984689101576805, -0.03900749981403351, -0.012034601531922817, 0.05244147405028343, -0.0006444765022024512, -0.031048571690917015, 0.008531797677278519, 0.0030283289961516857, 0.01744842156767845, -0.003133281832560897, -0.029981549829244614, 0.03921740502119064, -0.023299546912312508, 0.07332710176706314, 0.00868485402315855, 0.05751419812440872, -0.009165887720882893, -0.0724874809384346, -0.007491014432162046, -0.021725254133343697, 0.02410418726503849, -0.012585603632032871, -0.03552656248211861, -0.020815661177039146, -0.019801117479801178, -0.02120048925280571, 0.027987444773316383, 0.034127190709114075, -0.00019624008564278483, 0.02410418726503849, -0.00009436196705792099, 0.020168451592326164, 0.03690844401717186, 0.007993914186954498, -0.04380035027861595, -0.004464872181415558, -0.0252061914652586, 0.04117652773857117, 0.041036590933799744, 0.00242266315035522, 0.005448805633932352, -0.025888385251164436, -0.014326073229312897, -0.08676107972860336, -0.027585124596953392, 0.018471714109182358, 0.03265785053372383, -0.006139745470136404, -0.031713273376226425, -0.0029408682603389025, -0.024069203063845634, -0.035614024847745895, 0.0031442143954336643, -0.004840953275561333, 0.021410394459962845, 0.018261807039380074, -0.014623439870774746, -0.042855773121118546, 0.036558598279953, -0.05670955777168274, 0.05583495274186134, 0.05401576682925224, -0.0009402032010257244, -0.04673903062939644, 0.0440802238881588, -0.015568016096949577, -0.003861392615363002, 0.06486090272665024, -0.057829055935144424, -0.04477991163730621, -0.02534613013267517, 0.021305441856384277, 0.024296600371599197, -0.06566554307937622, 0.02419164776802063, -0.05670955777168274, -0.08585148304700851, -0.03788800165057182, -0.011649773456156254, -0.04345050826668739, -0.0273402351886034, -0.02492631785571575, 0.0007182715344242752, -0.05754918232560158, -0.009953035041689873, 0.0014824599493294954, 0.008304399438202381, -0.01962619461119175, -0.027200298383831978, 0.037608128041028976, 0.006109134294092655, -0.049747683107852936, 0.07262741774320602, -0.035124242305755615, 0.013416481204330921, 0.0348968431353569, 0.037783049046993256, 0.04180624336004257, 0.03384731709957123, -0.06961876899003983, -0.014667170122265816, 0.0048934295773506165, -0.05030743032693863, -0.0074122995138168335, -0.005545012652873993, 0.019801117479801178, -0.0014190508518368006, 0.01213080808520317, -0.023142118006944656, -0.01597033627331257, 0.035858914256095886, -0.010232909582555294, 0.0030764322727918625, -0.03701339662075043, -0.03402223810553551, -0.04939784109592438, -0.005868617445230484, -0.0033410012256354094, 0.01962619461119175, 0.02270481362938881, 0.029211895540356636, -0.015681715682148933, 0.04173627495765686, 0.00444956636056304, -0.013862530700862408, 0.045584551990032196, 0.06926892697811127, 0.006699494551867247, -0.002300217980518937, -0.012550619430840015, 0.046424172818660736, -0.049502793699502945, 0.02394675649702549, 0.04089665412902832, -0.017667073756456375, -0.07028347253799438, -0.005243272986263037, -0.006743224803358316, 0.04173627495765686, 0.008098866790533066, -0.018821556121110916, -0.06675005704164505, 0.000027895201128558256, -0.01995854638516903, -0.005907974671572447, 0.013880022801458836, 0.0009653481538407505, 0.021760238334536552, -0.0022258765529841185, 0.0016956455074250698, -0.01550679374486208, -0.061817269772291183, -0.02062324807047844, -0.005934212822467089, -0.02004600688815117, 0.012690557166934013, -0.0703534409403801, -0.08830038458108902, 0.009340809658169746, -0.03900749981403351, 0.0017218837747350335, -0.035963866859674454, 0.03384731709957123, 0.0345819853246212, 0.003316949587315321, -0.019101431593298912, -0.06965374946594238, 0.007250497117638588, 0.021760238334536552, -0.015909112989902496, -0.016914911568164825, 0.048768121749162674, 0.05552009120583534, 0.019906070083379745, 0.02776004560291767, 0.009594446048140526, -0.00021099908917676657, -0.014833346009254456, -0.013827546499669552, -0.04457000643014908, 0.046599093824625015, 0.01661754585802555, 0.006402127910405397, 0.058738648891448975, -0.015017013065516949, -0.05352598801255226, 0.00045588923967443407, -0.051007118076086044, 0.023299546912312508, -0.03482687473297119, 0.020640740171074867, -0.026413150131702423, 0.020728200674057007, -0.06709989905357361, -0.037713080644607544, -0.01595284417271614, 0.004473618231713772, 0.019801117479801178, 0.03433709591627121, -0.06958378106355667, -0.050587307661771774, 0.02128794975578785, -0.03725828602910042, 0.0037389476783573627, -0.02587089315056801, -0.043520476669073105, 0.015288141556084156, -0.003461259650066495, 0.02977164462208748, 0.01771080493927002, -0.01878657191991806, 0.015830397605895996, -0.028127381578087807, 0.016670022159814835, 0.09550715237855911, 0.0029408682603389025, -0.007770888973027468, 0.04845326393842697, 0.06755469739437103, 0.04820837453007698, -0.013468957506120205, -0.03382982313632965, 0.02817985787987709, -0.012375698424875736, -0.08438214659690857, -0.0667150691151619, -0.014046198688447475, -0.014448517933487892, -0.05020247772336006, 0.0012167978566139936, -0.030803680419921875, -0.027899984270334244, 0.001295512542128563, 0.0014256105059757829, 0.03701339662075043, -0.030488822609186172, -0.030716219916939735, 0.04030191898345947, 0.040441855788230896, -0.01550679374486208, -0.013705101795494556, -0.0522315688431263, 0.014990774914622307, 0.03174825757741928, 0.013381497003138065, 0.0022674202919006348, -0.012891716323792934, 0.052546426653862, -0.011177485808730125, 0.015261903405189514, 0.03372487053275108, 0.017981933429837227, 0.02678048610687256, -0.036558598279953, -0.04628423601388931, -0.012209522537887096, -0.014264850877225399, -0.07262741774320602, 0.02319459430873394, 0.08067380636930466, 0.016888674348592758, 0.008894759230315685, 0.017999425530433655, -0.00006224746903171763, -0.01720353215932846, 0.03858768939971924, -0.030313901603221893, -0.0009309105225838721, -0.03225553035736084, -0.08445211499929428, -0.036943428218364716, -0.03524668887257576, -0.023736851289868355, -0.041036590933799744, -0.04229602590203285, -0.013880022801458836, -0.08011405915021896, 0.00836124923080206, 0.01662629097700119, 0.028617162257432938, 0.017763281241059303, 0.04275082051753998, 0.0018552615074440837, -0.007298600859940052, 0.06286679953336716, 0.002591025084257126, -0.004027568269520998, 0.0035268552601337433, -0.044604990631341934, -0.007539117708802223, 0.023072149604558945, -0.04789351299405098, -0.02999904192984104, -0.006472096312791109, -0.0023614405654370785, 0.09095919132232666, -0.0015819466207176447, -0.0002127756451955065, -0.06398629397153854, -0.057409245520830154, -0.0622020959854126, 0.05464548617601395, -0.017404692247509956, 0.016250209882855415, 0.0504123829305172, 0.04208612069487572, 0.01251563522964716, -0.034547001123428345, -0.004368665162473917, -0.002052048221230507, 0.047683607786893845, -0.03433709591627121, -0.019661178812384605, 0.006402127910405397, 0.0012922327732667327, 0.01516569685190916, -0.043030694127082825, 0.0730472281575203, 0.006996861193329096, 0.050587307661771774, -0.021497854962944984, 0.05579996854066849, -0.011177485808730125, 0.013337766751646996, -0.015454317443072796, -0.02585340104997158, 0.029911581426858902, -0.018594158813357353, 0.0013512688456103206, 0.011929647997021675, -0.02935183234512806, -0.030313901603221893, 0.01550679374486208, -0.024891333654522896, -0.032377973198890686, -0.051077086478471756, -0.013538925908505917, -0.022407447919249535, -0.012445666827261448, -0.0071455445140600204, 0.00023682735627517104, -0.02660556510090828, 0.014570963568985462, -0.008916624821722507, -0.015288141556084156, 0.01084513496607542, 0.01918889209628105, -0.027410203590989113, 0.011815949343144894, 0.05503031238913536, -0.006148491520434618, -0.004569824784994125, -0.02137541025876999, 0.027077851817011833, 0.012524381279945374, 0.004084417596459389, 0.05559006333351135, -0.008964728564023972, 0.00985682848840952, -0.04114154353737831, 0.020588263869285583, 0.003640554379671812, -0.025660987943410873, -0.042365994304418564, 0.004626674577593803, 0.02294970490038395, -0.028792083263397217, -0.06507080793380737, -0.02245992422103882, -0.05593990534543991, 0.05422567203640938, -0.021182997152209282, -0.04016198217868805, -0.0009270841255784035, 0.025835908949375153, 0.009297079406678677, 0.09130904078483582, -0.0026675532571971416, -0.01409867499023676, -0.003338814713060856, 0.047018907964229584, 0.04222605749964714, 0.03750317543745041, 0.01904895529150963, -0.005479416809976101, -0.016407638788223267, 0.006244698539376259, 0.04761363938450813, -0.020518295466899872, 0.003990397322922945, -0.07822490483522415, -0.051077086478471756, 0.037118349224328995, -0.024996286258101463, 0.007784008048474789, 0.009113411419093609, -0.003961972426623106, 0.052336521446704865, 0.020168451592326164, 0.009909304790198803, 0.019258860498666763, 0.09263844043016434, -0.05646466836333275, 0.03549157828092575, -0.030243931338191032, 0.05146191269159317, -0.03540411591529846, 0.034616969525814056, 0.006598914507776499, -0.011518582701683044, -0.04425514489412308, 0.038027938455343246, -0.03250041976571083, 0.05006254091858864, -0.015568016096949577, 0.012314475141465664, -0.013084130361676216, 0.07381688803434372, 0.0004061459330841899, 0.0815834030508995, -0.02237246371805668, 0.04436010122299194, -0.017570868134498596, 0.012821747921407223, -0.026745501905679703, 0.012533127330243587, 0.003992584068328142, -0.030873648822307587, 0.05069226026535034, 0.05289626866579056, 0.008619258180260658, 0.0021416954696178436, 0.047928497195243835, 0.003872325411066413, 0.051671817898750305, -0.0540507510304451, -0.010066733695566654, -0.009883066639304161, -0.030226439237594604, -0.007088694721460342, 0.008628004230558872, 0.06052284687757492, -0.047333765774965286, 0.00013898061297368258, 0.02237246371805668, 0.012611841782927513 ]
41,072
pyglove.core.symbolic.list
sym_jsonify
Converts current list to a list of plain Python objects.
def sym_jsonify( self, use_inferred: bool = False, **kwargs) -> object_utils.JSONValueType: """Converts current list to a list of plain Python objects.""" def json_item(idx): v = self.sym_getattr(idx) if use_inferred and isinstance(v, base.Inferential): v = self.sym_inferred(idx, default=v) return base.to_json(v, use_inferred=use_inferred, **kwargs) return [json_item(i) for i in range(len(self))]
(self, use_inferred: bool = False, **kwargs) -> Union[int, float, bool, str, List[Any], Dict[str, Any]]
[ 0.06413689255714417, -0.09073547273874283, 0.045367736369371414, -0.029369262978434563, -0.008249491453170776, 0.03201482072472572, -0.010367725044488907, 0.008986851200461388, 0.02527579851448536, -0.0040219626389443874, 0.011386622674763203, -0.00036002148408442736, -0.025061294436454773, -0.023738516494631767, -0.004705695901066065, 0.035750776529312134, -0.005268770735710859, 0.010063843801617622, 0.04783454164862633, 0.08093976229429245, -0.00006280824891291559, 0.01229826733469963, 0.0319969467818737, 0.012432333081960678, 0.009205824695527554, -0.007655135355889797, 0.052803896367549896, -0.012459145858883858, -0.01721399836242199, -0.02350613661110401, -0.009313077665865421, -0.0030052997171878815, 0.006336825434118509, 0.010117470286786556, 0.08051075041294098, -0.023273756727576256, -0.07175181061029434, 0.07750768214464188, -0.01982380636036396, -0.03850358724594116, 0.02684883400797844, -0.03396323695778847, -0.022665992379188538, -0.021790098398923874, -0.017374876886606216, 0.05158837139606476, -0.006001661531627178, 0.0449029766023159, 0.08465784043073654, -0.06699695438146591, 0.026187444105744362, -0.0311746783554554, -0.004381704609841108, 0.03868234157562256, -0.01652579754590988, -0.004328078590333462, 0.024292653426527977, -0.00010829971870407462, 0.01498851366341114, 0.01825077086687088, 0.011404497548937798, -0.017937952652573586, -0.009482894092798233, -0.07636366039514542, 0.02620531991124153, -0.0015115875285118818, -0.058238014578819275, 0.013576357625424862, -0.013746174052357674, 0.019216042011976242, -0.02470378763973713, -0.03219357505440712, 0.012941781431436539, -0.0011138601694256067, 0.029726771637797356, 0.018644031137228012, 0.032408080995082855, -0.012843466363847256, 0.006730083841830492, -0.057129740715026855, -0.021629219874739647, 0.030137905851006508, -0.026920335367321968, 0.009500768966972828, -0.0344458743929863, 0.05359041318297386, 0.0074540372006595135, 0.017357002943754196, -0.051767125725746155, 0.006640706676989794, -0.024793164804577827, 0.01826864667236805, -0.02574056014418602, 0.04997958615422249, -0.04125639796257019, -0.04658326134085655, -0.02842186763882637, -0.09087847918272018, 0.03707355633378029, 0.03548264503479004, 0.05169562250375748, -0.01127937063574791, -0.055020447820425034, -0.023738516494631767, -0.013254600577056408, -0.03932585567235947, 0.01925179362297058, -0.020020434632897377, 0.006984808016568422, 0.022344235330820084, -0.03875384107232094, 0.09187949448823929, 0.015900157392024994, -0.04840655252337456, 0.030316658318042755, 0.07557713985443115, -0.011154242791235447, -0.026419823989272118, 0.04951482638716698, 0.015158329159021378, -0.013567419722676277, -0.0033762140665203333, 0.024811038747429848, -0.006368107162415981, 0.009831463918089867, 0.03637641668319702, 0.015748217701911926, -0.016883304342627525, -0.0040465411730110645, 0.03428499400615692, 0.032980091869831085, 0.02139683999121189, -0.04018387198448181, 0.0718948096036911, 0.015346021391451359, 0.03155006095767021, -0.017902201041579247, -0.016784990206360817, 0.019019413739442825, -0.024828914552927017, 0.04683351889252663, 0.003543795784935355, 0.010323036462068558, 0.02198672853410244, -0.0651736631989479, 0.022290609776973724, 0.016338104382157326, 0.08322780579328537, -0.06270686537027359, -0.028064360842108727, 0.001404335256665945, 0.038432084023952484, 0.023220129311084747, 0.02568693272769451, -0.010609042830765247, 0.054948944598436356, -0.06706845760345459, -0.015560525469481945, -0.026527076959609985, -0.010555417276918888, -0.03158581256866455, -0.013728298246860504, -0.011905008926987648, -0.0019517689943313599, 0.027492348104715347, 0.022308485582470894, 0.013701485469937325, -0.042042914777994156, -0.03921860083937645, 0.02468591183423996, 0.025400927290320396, -0.06606743484735489, 0.02953014150261879, 0.017294438555836678, 0.08372832089662552, 0.05323290824890137, -0.0009920840384438634, 0.021343214437365532, 0.03333760052919388, 0.01978805474936962, -0.025561805814504623, -0.03163943812251091, -0.05952504277229309, -0.06059756875038147, 0.04379470273852348, 0.024399904534220695, -0.009572270326316357, -0.0074272239580750465, 0.04232892021536827, 0.013317164033651352, 0.012834529392421246, 0.0579877607524395, 0.06367213279008865, -0.005796094890683889, -0.04919306933879852, -0.021575594320893288, -0.0588100291788578, 0.0263125728815794, -0.08766090869903564, 0.017571507021784782, -0.05098060891032219, -0.029655270278453827, -0.0028042015619575977, -0.01015322096645832, -0.025043418630957603, 0.024989793077111244, 0.0021785630378872156, -0.06842698901891708, 0.05373341962695122, -0.02527579851448536, -0.00024397112429141998, 0.012173139490187168, -0.020663948729634285, 0.00126915262080729, -0.0131562864407897, -0.002009863965213299, 0.03689480200409889, -0.020020434632897377, -0.0220403540879488, -0.010028093121945858, 0.023220129311084747, -0.012914968654513359, -0.06163433939218521, -0.007981360889971256, 0.03760981932282448, -0.03660879656672478, -0.007695354986935854, -0.034660376608371735, -0.010591167956590652, -0.023345258086919785, -0.022773245349526405, -0.06063331663608551, 0.01934117078781128, -0.000883155909832567, 0.0387180931866169, 0.04097038879990578, 0.028600621968507767, -0.06006130576133728, -0.02524004876613617, 0.04872830957174301, -0.0430796854197979, 0.03163943812251091, 0.01665986143052578, -0.0001787538785720244, -0.04136364907026291, 0.09230850636959076, 0.05366191640496254, 0.05033709481358528, 0.0007295393152162433, -0.005545839201658964, 0.05219613388180733, 0.011073803529143333, 0.03432074561715126, -0.002137226052582264, 0.002442224882543087, -0.02472166158258915, -0.010510728694498539, -0.02259449101984501, -0.00803498737514019, 0.006716677453368902, -0.003905772464349866, -0.01777707412838936, 0.002408708678558469, 0.07035753130912781, -0.012378706596791744, -0.007967954501509666, -0.02150409296154976, 0.04547498747706413, -0.049657829105854034, 0.040541380643844604, -0.0578090064227581, -0.06242085620760918, 0.03004852868616581, -0.008794691413640976, 0.009250513277947903, 0.019162416458129883, 0.01417518313974142, 0.025579681620001793, -0.03657304495573044, -0.006024005822837353, -0.023863643407821655, -0.017920076847076416, 0.027045462280511856, -0.02951226569712162, -0.015721404924988747, -0.00914326123893261, 0.016400668770074844, 0.0397191122174263, -0.044795725494623184, -0.04032687842845917, 0.056057218462228775, 0.029637394472956657, 0.049157317727804184, -0.012593211606144905, 0.08494384586811066, 0.043258439749479294, -0.04447396844625473, 0.005845251958817244, 0.0331767201423645, 0.029834022745490074, -0.00862934347242117, 0.020288566127419472, 0.0334448516368866, 0.01880490966141224, 0.009822526015341282, -0.07082229107618332, 0.018089892342686653, -0.04218591749668121, -0.031031673774123192, 0.00280867051333189, 0.013299289159476757, 0.04129214584827423, -0.04919306933879852, 0.01292390562593937, -0.036787550896406174, -0.039468858391046524, -0.07057203352451324, 0.03789582476019859, 0.06896325200796127, 0.05376916751265526, -0.04086313769221306, -0.006671988870948553, -0.022201232612133026, -0.01070735789835453, 0.021164460107684135, 0.03548264503479004, 0.024775288999080658, 0.015051077120006084, 0.006895431317389011, -0.023291630670428276, 0.04136364907026291, -0.04400920495390892, -0.00883044209331274, 0.012226765975356102, -0.010582230053842068, -0.02683095820248127, 0.03743106499314308, -0.013102659955620766, -0.040934640914201736, -0.032443828880786896, -0.0688917487859726, -0.02314862795174122, 0.026044441387057304, 0.03878959268331528, -0.10181821137666702, 0.029369262978434563, 0.04672626405954361, 0.01664198748767376, 0.05620022118091583, -0.009067290462553501, -0.017357002943754196, 0.024828914552927017, 0.007704292424023151, 0.0524463914334774, -0.04097038879990578, -0.025347301736474037, -0.03213994950056076, 0.002205376047641039, -0.0365372933447361, -0.024793164804577827, 0.01777707412838936, -0.008410369977355003, 0.02684883400797844, -0.00888853706419468, 0.07386110723018646, -0.022826870903372765, 0.022951999679207802, -0.06288561969995499, 0.03174668923020363, -0.014809759333729744, -0.06613893806934357, 0.00522408215329051, -0.016963744536042213, -0.03868234157562256, 0.004113573580980301, 0.029834022745490074, -0.00441522104665637, 0.02845761924982071, -0.015926972031593323, -0.017544694244861603, -0.005192800424993038, -0.008669563569128513, 0.01768769696354866, 0.023309506475925446, 0.030173655599355698, 0.020038310438394547, 0.014371812343597412, -0.028171611949801445, 0.016418544575572014, -0.0014914777129888535, -0.0817977786064148, -0.052839647978544235, -0.008647219277918339, 0.037359561771154404, -0.019627176225185394, -0.05459143593907356, 0.0014657818246632814, -0.018679780885577202, -0.04619000479578972, -0.0007563523831777275, 0.021825850009918213, -0.01128830760717392, 0.017357002943754196, 0.0010423585772514343, -0.04772728681564331, -0.036304913461208344, 0.04568949341773987, 0.03324822336435318, -0.02198672853410244, 0.02246936410665512, 0.029172634705901146, 0.016329167410731316, -0.014371812343597412, -0.04740552976727486, 0.028761500492691994, 0.03528601676225662, -0.037860073149204254, 0.03053116425871849, 0.04329419136047363, 0.0110201770439744, 0.038324832916259766, -0.009036009199917316, 0.02675945684313774, 0.04222166910767555, -0.013326101936399937, -0.029851898550987244, 0.02145046554505825, 0.029744647443294525, -0.006260854657739401, 0.028600621968507767, 0.05684373527765274, -0.023917270824313164, 0.05412667617201805, -0.06560267508029938, 0.008267367258667946, -0.0012814418878406286, 0.046333007514476776, -0.08558735996484756, 0.0009412509389221668, 0.005139174405485392, 0.030942298471927643, 0.07214506715536118, -0.046333007514476776, 0.01313841063529253, 0.02518642321228981, 0.007136749103665352, -0.04061288386583328, 0.055056195706129074, -0.002663432853296399, -0.006493235006928444, 0.03260470926761627, -0.008169052191078663, 0.09145049005746841, -0.037359561771154404, -0.0641726478934288, 0.013352915644645691, 0.05970379710197449, -0.033516354858875275, -0.012244640849530697, 0.0030477538239210844, 0.06724721193313599, -0.015453273430466652, 0.040469881147146225, -0.020824827253818512, -0.015158329159021378, -0.014586317352950573, -0.04393770545721054, 0.019484173506498337, -0.036823298782110214, -0.011449186131358147, 0.08694589138031006, 0.027492348104715347, -0.018054142594337463, -0.06785497814416885, 0.013370790518820286, 0.059846799820661545, 0.0011172117665410042, -0.026652203872799873, -0.035643525421619415, -0.06703270971775055, -0.04876406118273735, -0.06856998801231384, 0.03328397497534752, -0.05087335407733917, 0.018644031137228012, 0.025937188416719437, 0.014961699955165386, -0.05938204005360603, 0.009509706869721413, 0.003963867202401161, -0.008772347122430801, 0.047548532485961914, -0.01371042337268591, 0.013272476382553577, 0.017446380108594894, 0.06631769239902496, -0.0027349344454705715, -0.07343209534883499, 0.030995924025774002, 0.03233657777309418, 0.025865687057375908, -0.013263538479804993, -0.020270690321922302, 0.04293668270111084, -0.0016099021304398775, -0.009223700501024723, 0.008084144443273544, 0.003559436649084091, -0.09280901402235031, 0.0024377561639994383, 0.005081078968942165, 0.03231870383024216, 0.07822269946336746, -0.006551329977810383, 0.004381704609841108, 0.009259451180696487, -0.007190375123172998, 0.000001981305331355543, 0.015730341896414757, -0.05423392727971077, -0.025990815833210945, -0.07057203352451324, -0.03541114553809166, -0.017374876886606216, -0.0015998472226783633, -0.01652579754590988, -0.05788050964474678, 0.002475741319358349, 0.030191531404852867, 0.03557202219963074, 0.028082234784960747, -0.01044816430658102, -0.04776303842663765, 0.007932203821837902, -0.0526251457631588, 0.02370276488363743, 0.042614925652742386, 0.027510223910212517, 0.010662669315934181, -0.005233020056039095, 0.02579418569803238, 0.0740756094455719, -0.017330188304185867, 0.008531029336154461, 0.010814609937369823, -0.0043481881730258465, -0.029172634705901146, -0.03861083835363388, 0.015783967450261116, -0.01828652247786522, -0.027134839445352554, -0.010662669315934181, 0.016239790245890617, 0.05469869077205658, -0.013853426091372967, -0.0898059532046318, 0.057666003704071045, -0.006770303472876549, -0.018572527915239334, 0.008209272287786007, 0.020091935992240906, 0.10210421681404114, 0.00631894962862134, -0.09459655731916428, 0.02254086546599865, 0.057129740715026855, 0.0147471958771348, 0.05848827213048935, -0.00962589681148529, -0.01152962539345026, 0.025937188416719437, -0.023220129311084747, 0.09874364733695984, -0.025347301736474037, 0.04304393753409386, 0.001968527212738991, -0.002967314561828971, 0.019519925117492676, 0.003751597134396434, -0.07750768214464188, -0.04819204658269882, 0.01884065940976143, -0.04894281551241875, -0.019537799060344696, 0.03598315641283989, -0.022272733971476555, 0.013075847178697586, 0.04186416044831276, -0.014604192227125168, 0.0023863643873482943, -0.028100110590457916, 0.004285624250769615, 0.005849720910191536, 0.037216559052467346, -0.014407563023269176, -0.0182239580899477, -0.061884596943855286, 0.05484169349074364, -0.003760534804314375, -0.006417264696210623, 0.010037031024694443, 0.019108790904283524, 0.04018387198448181, -0.0319969467818737, 0.04597549885511398, -0.0015842063585296273, -0.01506001502275467, -0.04454546794295311, -0.0039236475713551044, 0.024811038747429848, -0.012021198868751526, 0.055556707084178925, 0.030423911288380623, -0.047048021107912064, -0.012906030751764774, 0.010760984383523464, -0.04783454164862633, 0.0854443609714508, -0.018483152613043785, -0.023398883640766144, 0.008772347122430801, -0.018125643953680992, -0.003599656280130148, -0.02473953738808632, -0.04197141155600548, -0.04558224231004715, -0.027778353542089462, 0.014675693586468697, -0.016239790245890617, -0.018358023837208748, -0.00470122741535306, -0.05637897551059723, 0.038396336138248444, 0.02423902601003647, -0.002491382183507085, -0.03768131881952286, -0.05534220486879349, -0.03707355633378029, 0.012065887451171875, 0.05255364254117012, 0.0017886561108753085, 0.003306946950033307, -0.022076105698943138, 0.0439019538462162, -0.03521451726555824, -0.04347294569015503, -0.023488260805606842, -0.020753325894474983, 0.015381772071123123, 0.04604700207710266, -0.04604700207710266, 0.02143259160220623, -0.007883046753704548, 0.015158329159021378, 0.020699700340628624, 0.03648366779088974, -0.03467825427651405, -0.04111339524388313, 0.05913178622722626, -0.005121298599988222, -0.03494638577103615, 0.01975230500102043, -0.08108276128768921, 0.0019495345186442137, -0.01128830760717392, -0.015444335527718067, -0.007525538560003042, 0.002553946105763316, 0.08372832089662552, -0.00708759156987071, -0.010644793510437012, -0.013245662674307823, -0.000934547686483711, 0.014872323721647263, -0.028189487755298615, 0.00752106960862875, 0.011163179762661457, 0.10296224057674408, 0.029887650161981583, -0.04021962359547615, -0.07378960400819778, -0.08744639903306961, 0.0018210551934316754, 0.06674670428037643, -0.06613893806934357, -0.023935144767165184, 0.016364919021725655, 0.022290609776973724, -0.02189735136926174, -0.04497447609901428, -0.00040945812361314893, -0.0397191122174263, 0.010010217316448689, -0.035715024918317795, -0.02350613661110401, -0.00941139180213213, -0.03541114553809166, -0.010144283063709736, 0.020771201699972153, 0.020574571564793587, 0.049157317727804184, 0.007257407531142235, 0.05219613388180733, -0.0058854715898633, 0.09381003677845001, 0.03551839664578438, 0.0036041252315044403, -0.026616454124450684, -0.020663948729634285, -0.02143259160220623, -0.020252814516425133, 0.04679776728153229, -0.011377684772014618, -0.026187444105744362, -0.015658840537071228, -0.008513153530657291, 0.00484869908541441, 0.00561734102666378, 0.00220090732909739, 0.019162416458129883, 0.016829678788781166, -0.022379986941814423, 0.03167518973350525, 0.022719619795680046, 0.0012367534218356013, 0.018536778166890144, 0.012441270053386688, 0.016212977468967438, -0.029637394472956657, -0.023881519213318825, 0.04347294569015503, 0.02902963012456894, -0.009742086753249168, -0.007704292424023151, -0.03478550538420677, -0.03428499400615692, -0.00969739817082882, 0.06488765776157379, -0.03528601676225662, 0.027563849464058876, -0.043758951127529144, 0.0375383161008358, -0.042686428874731064, 0.08051075041294098, -0.02084270305931568, -0.03760981932282448, 0.036269161850214005, -0.01825077086687088, 0.011940759606659412, -0.03333760052919388, -0.012709401547908783, 0.03415986895561218, -0.04097038879990578, -0.020252814516425133, 0.08587336540222168, 0.03868234157562256, -0.04615425318479538, 0.04572524502873421, -0.021736472845077515, -0.06824823468923569, -0.0804392471909523, 0.01934117078781128, -0.005921222269535065, 0.04994383454322815, -0.05527070164680481, 0.008687438443303108, -0.014890198595821857, 0.0057379999198019505 ]
41,073
pyglove.core.symbolic.list
sym_keys
Symbolically iterates indices.
def sym_keys(self) -> Iterator[int]: """Symbolically iterates indices.""" for i in range(len(self)): yield i
(self) -> Iterator[int]
[ 0.026886219158768654, -0.04813150689005852, -0.057711079716682434, 0.0038781410548835993, -0.004439313896000385, 0.01618012972176075, -0.014744862914085388, 0.026752706617116928, 0.0509352833032608, -0.0051778084598481655, -0.030457697808742523, -0.030975060537457466, 0.051235686987638474, 0.022680554538965225, -0.04292449355125427, -0.01779063232243061, 0.00284967222250998, 0.0026890391018241644, -0.04993393272161484, 0.007201367989182472, -0.020360762253403664, 0.01611337438225746, 0.025284061208367348, -0.02999040111899376, -0.04382570460438728, 0.06982740014791489, 0.010514164343476295, 0.010280515998601913, 0.07209712266921997, -0.02847168780863285, -0.06785807758569717, -0.01512871403247118, 0.03461329638957977, 0.00043704709969460964, 0.03591505065560341, -0.05510757118463516, -0.02847168780863285, 0.02817128412425518, 0.06061498820781708, 0.04529435187578201, 0.09406004846096039, -0.022980958223342896, 0.03145904466509819, -0.04619556665420532, -0.0000841628570924513, 0.01780732162296772, 0.024249333888292313, -0.02822135202586651, 0.0327107310295105, -0.06535470485687256, -0.004472692031413317, -0.04606205224990845, 0.05220365896821022, -0.02641892246901989, 0.005703516770154238, 0.026585815474390984, 0.006880101747810841, -0.05437324941158295, -0.0334283672273159, 0.018625089898705482, -0.041656117886304855, -0.03945314884185791, 0.04399259760975838, 0.005040123127400875, 0.05754418671131134, -0.05343865603208542, -0.052937980741262436, 0.0016073737060651183, -0.006892618723213673, -0.014352668076753616, 0.034846942871809006, -0.04025422781705856, -0.00026311486726626754, 0.009078897535800934, -0.053238384425640106, -0.01628861017525196, -0.03286093473434448, 0.06001418083906174, 0.04889920726418495, -0.057110268622636795, -0.040788281708955765, -0.0022092261351644993, -0.05791134759783745, -0.01722320169210434, -0.029589861631393433, 0.03948652744293213, 0.05497405678033829, -0.000024658869733684696, -0.028121216222643852, 0.02523399330675602, -0.033328231424093246, 0.025334129109978676, -0.0007181549444794655, 0.022647175937891006, -0.032193370163440704, -0.003200144274160266, -0.0024032373912632465, -0.048832450062036514, 0.029473038390278816, -0.020694544538855553, 0.011657371185719967, 0.012316592037677765, 0.0032105750869959593, 0.03461329638957977, -0.00830285158008337, -0.029289456084370613, -0.04682975262403488, -0.06431998312473297, -0.026819461956620216, -0.010397340171039104, -0.05510757118463516, 0.0785057544708252, 0.018040969967842102, -0.028888916596770287, -0.01275051012635231, 0.002386548323556781, 0.026569126173853874, 0.004727201536297798, 0.05166960507631302, 0.008703391067683697, -0.01557932049036026, 0.01635536551475525, -0.009696396067738533, 0.009879976511001587, 0.03392903879284859, 0.03745045140385628, 0.028638580814003944, 0.047297049313783646, -0.03601518273353577, 0.01613006182014942, 0.05550811067223549, -0.008945384062826633, 0.013977162539958954, 0.08698384463787079, -0.0048231640830636024, -0.013384697958827019, 0.08237764239311218, -0.00921241007745266, -0.029573172330856323, 0.011966119520366192, 0.028722025454044342, -0.01810772716999054, -0.010614299215376377, 0.0861160084605217, -0.022380148991942406, -0.006575524806976318, -0.0325438417494297, 0.02907249704003334, 0.032760798931121826, -0.014152398332953453, 0.017857389524579048, 0.050868526101112366, 0.05083514750003815, 0.05897945165634155, -0.03835166618227959, 0.021245287731289864, -0.044660162180662155, -0.0032230918295681477, -0.019976912066340446, 0.017640430480241776, -0.005795306991785765, -0.03745045140385628, 0.0029748408123850822, -0.02848837710916996, -0.02578473463654518, 0.03164262697100639, -0.0065254573710262775, -0.03658261522650719, 0.03261059895157814, -0.01616344042122364, 0.0051611196249723434, -0.062150392681360245, -0.043458543717861176, -0.032159991562366486, 0.014953477308154106, 0.011523857712745667, -0.00949612632393837, 0.0670236200094223, 0.04652934893965721, 0.017056310549378395, 0.009003795683383942, -0.040454499423503876, -0.07430009543895721, -0.08324547857046127, 0.018875427544116974, 0.06351890414953232, 0.03684964030981064, 0.024416225031018257, 0.05490729957818985, -0.014461147598922253, -0.021478934213519096, -0.026201963424682617, 0.01261699665337801, 0.027420273050665855, -0.0018483232706785202, -0.0007551839808002114, -0.038718827068805695, -0.006696521304547787, -0.02021056041121483, 0.051736362278461456, -0.0031313016079366207, -0.002190450904890895, -0.05944674834609032, 0.03434626758098602, 0.04005395993590355, 0.025634532794356346, 0.0005955939996056259, -0.059780530631542206, 0.010247137397527695, 0.0002545095339883119, -0.005778617691248655, -0.06411971151828766, 0.012758854776620865, 0.007948207668960094, 0.0056075542233884335, 0.013927094638347626, -0.036315590143203735, -0.005444834940135479, 0.024850143119692802, -0.023298053070902824, 0.08431357890367508, 0.018524955958127975, -0.03357856720685959, -0.04619556665420532, 0.03698315471410751, -0.04185638576745987, 0.0060414718464016914, -0.011482134461402893, -0.07950710505247116, -0.01421915553510189, 0.009612949565052986, 0.01955968327820301, 0.0013841562904417515, 0.02199629880487919, 0.019960222765803337, -0.004368384834378958, -0.014953477308154106, -0.015762900933623314, -0.01468645129352808, 0.030340872704982758, -0.05050136521458626, 0.06658970564603806, 0.040320985019207, 0.030474387109279633, -0.0730317160487175, 0.04295786842703819, -0.0018076434498652816, 0.05300473794341087, -0.017022931948304176, 0.018174484372138977, -0.03688301891088486, -0.07203036546707153, -0.014561282470822334, 0.0002545095339883119, 0.05016758292913437, -0.0362488329410553, -0.056843243539333344, -0.0066756596788764, -0.0036590960808098316, -0.0011525943409651518, -0.007301502861082554, 0.05460689589381218, -0.06134931370615959, -0.0026306272484362125, 0.043124761432409286, 0.04719691351056099, 0.038118015974760056, 0.03524748235940933, -0.040187470614910126, 0.03407924249768257, 0.0269696656614542, -0.007597735151648521, -0.04723029211163521, 0.03858531266450882, -0.0038051260635256767, 0.022380148991942406, 0.0015719092916697264, 0.05454013869166374, -0.07863926887512207, -0.015379050746560097, 0.028004392981529236, 0.010514164343476295, -0.05320500582456589, -0.008786836639046669, -0.02903912030160427, 0.022496972233057022, -0.008428020402789116, -0.04993393272161484, 0.028922295197844505, -0.06131593510508537, 0.08137629181146622, 0.040187470614910126, 0.018241239711642265, -0.026836151257157326, 0.059146344661712646, -0.01053085271269083, -0.0320097878575325, 0.0007645716541446745, -0.00563258770853281, 0.037283558398485184, 0.03534761816263199, -0.014035574160516262, -0.053238384425640106, -0.006938513834029436, 0.010639332234859467, 0.03564802184700966, 0.06889280676841736, 0.06371916830539703, -0.00828616227954626, -0.004343350883573294, 0.009829908609390259, 0.03498045727610588, -0.013559933751821518, -0.005040123127400875, 0.0015666938852518797, -0.1163567453622818, -0.027136556804180145, 0.010797879658639431, 0.009462747722864151, 0.10867974162101746, -0.006212535779923201, 0.025334129109978676, -0.049366503953933716, -0.050301097333431244, -0.01426087785512209, 0.03831828758120537, 0.026902908459305763, -0.034846942871809006, -0.005403112154453993, -0.01114835124462843, 0.019976912066340446, -0.03591505065560341, -0.022029677405953407, 0.03915274515748024, -0.026318788528442383, 0.03197640925645828, 0.0380178801715374, 0.07122928649187088, -0.013559933751821518, -0.054707031697034836, 0.016964519396424294, -0.04329165443778038, 0.01008024625480175, -0.021412178874015808, -0.048799071460962296, -0.004309972748160362, -0.0177739430218935, -0.023915551602840424, 0.00020144323934800923, 0.03402917459607124, 0.03938639163970947, 0.03261059895157814, 0.025000344961881638, 0.006442011799663305, 0.06805834919214249, 0.03222674876451492, -0.007293158210813999, -0.029155943542718887, -0.040487874299287796, 0.060681745409965515, 0.049967311322689056, -0.003283590078353882, -0.016238542273640633, -0.026836151257157326, -0.010656021535396576, -0.06735740602016449, -0.04569489136338234, -0.01040568482130766, 0.015904759988188744, -0.0003267422434873879, -0.04252395033836365, -0.018825359642505646, -0.000585684843827039, 0.002309361007064581, 0.015137058682739735, 0.005035950802266598, -0.003170938463881612, 0.045895159244537354, -0.012583618052303791, -0.02550102025270462, 0.041055306792259216, -0.051435958594083786, 0.07596901059150696, 0.07036145031452179, -0.050601501017808914, -0.028354864567518234, 0.03498045727610588, -0.017940836027264595, 0.03561464324593544, 0.05944674834609032, -0.04222354665398598, -0.05400608852505684, -0.003087492659687996, 0.0060414718464016914, 0.034246135503053665, -0.041122063994407654, 0.02671932801604271, -0.013877027668058872, -0.048198264092206955, -0.061883363872766495, 0.024149198085069656, -0.01646384596824646, -0.015262226574122906, 0.0030228220857679844, 0.0020381624344736338, -0.024566426873207092, -0.008895316161215305, -0.018825359642505646, 0.003254384035244584, -0.03382890671491623, -0.07877278327941895, 0.039920445531606674, 0.039353013038635254, -0.03022404946386814, 0.07396630942821503, -0.053572170436382294, 0.007898139767348766, 0.03164262697100639, 0.050868526101112366, 0.05540797486901283, 0.0314757339656353, -0.07990764826536179, 0.04425962269306183, 0.002265552058815956, -0.015003545209765434, -0.019209209829568863, -0.010872980579733849, 0.005102707538753748, -0.024082442745566368, 0.006842551287263632, -0.04239043965935707, -0.03611531853675842, 0.04696326702833176, 0.0011213022517040372, -0.023348119109869003, -0.00821523368358612, 0.002309361007064581, 0.0003650751314125955, 0.007072026841342449, 0.011198419146239758, 0.051736362278461456, 0.030023779720067978, 0.020360762253403664, -0.01052250899374485, 0.08945383876562119, 0.03174276277422905, -0.001871270826086402, 0.06652294844388962, 0.08357925713062286, 0.03791774809360504, 0.019409481436014175, -0.0018608401296660304, 0.0016856041038408875, -0.08177682757377625, 0.023231295868754387, 0.030190670862793922, -0.04532773047685623, -0.03030749410390854, -0.012408382259309292, -0.00404086010530591, 0.059813909232616425, 0.04329165443778038, -0.031258776783943176, -0.06759105622768402, 0.001755489851348102, -0.031909652054309845, -0.03825153037905693, 0.028571823611855507, 0.021161841228604317, 0.022496972233057022, 0.001728369970805943, 0.003254384035244584, -0.03975355252623558, -0.06869253516197205, -0.021278664469718933, 0.013226150535047054, -0.05046798661351204, 0.01381861511617899, -0.03825153037905693, -0.06024782732129097, -0.03301113843917847, -0.049099475145339966, 0.03968679532408714, -0.04736380651593208, 0.025584464892745018, -0.00830285158008337, 0.00414308113977313, -0.026201963424682617, -0.07556846737861633, -0.018491577357053757, 0.05407284200191498, -0.045795027166604996, -0.02132873237133026, 0.03461329638957977, 0.0947943702340126, 0.013635034672915936, 0.03197640925645828, 0.019709885120391846, 0.003510979702696204, -0.0007739592692814767, -0.0035965116694569588, -0.004764751996845007, 0.053271763026714325, 0.014402735978364944, 0.01717313379049301, 0.05347203463315964, 0.0177739430218935, -0.05066825821995735, -0.012274868786334991, -0.04572826996445656, 0.025651222094893456, -0.03261059895157814, 0.023264674469828606, -0.005152774974703789, 0.015278915874660015, -0.04239043965935707, -0.07650306075811386, -0.024716630578041077, 0.017406782135367393, 0.06174985319375992, 0.007614424452185631, -0.05253744125366211, -0.02610182948410511, 0.02790425717830658, -0.013418075628578663, 0.05100204050540924, -0.031909652054309845, -0.04409273341298103, 0.017056310549378395, 0.026468990370631218, -0.02044420689344406, 0.03286093473434448, 0.008348747156560421, 0.052937980741262436, -0.06174985319375992, 0.01217473391443491, 0.06699024140834808, -0.004197320900857449, 0.04445989429950714, 0.06565511226654053, 0.033077891916036606, 0.02436615712940693, -0.0011348621919751167, -0.061916742473840714, 0.03998720273375511, 0.02283075638115406, -0.08191034197807312, -0.060948774218559265, -0.04088841378688812, -0.022380148991942406, -0.03524748235940933, -0.0003942811454180628, 0.007910656742751598, -0.0480981282889843, -0.011482134461402893, 0.0027453650254756212, 0.024549737572669983, -0.03498045727610588, 0.003957414533942938, 0.03881896287202835, 0.01932603493332863, 0.009721429087221622, -0.02640223316848278, -0.09339247643947601, 0.013167738914489746, 0.03170938417315483, 0.02401568554341793, -0.05190325528383255, -0.0027662264183163643, 0.041722871363162994, -0.028688646852970123, -0.007005270570516586, 0.04352530092000961, -0.014544593170285225, -0.0037175079341977835, -0.0018410218181088567, -0.033361610025167465, -0.03641572222113609, -0.017590362578630447, -0.0961962565779686, 0.022680554538965225, 0.05617567524313927, 0.04743056371808052, 0.020010290667414665, 0.015679456293582916, 0.005365561693906784, -0.008786836639046669, 0.02229670248925686, -0.03314464911818504, 0.011089939624071121, -0.02434946782886982, -0.08725087344646454, -0.031909652054309845, -0.03222674876451492, -0.0037091635167598724, -0.001436309888958931, -0.04749731719493866, -0.025634532794356346, -0.02875540405511856, -0.01275051012635231, 0.04309138283133507, 0.023798726499080658, -0.0010920962085947394, 0.04145584627985954, 0.010822913609445095, 0.023364808410406113, 0.05574175715446472, -0.001526014064438641, 0.027754055336117744, 0.01362669002264738, -0.07783818989992142, -0.001403974718414247, 0.033328231424093246, -0.06395281851291656, -0.03918612375855446, 0.003156335325911641, 0.039052609354257584, 0.05988066643476486, 0.01350152213126421, 0.002774571068584919, -0.07376603782176971, -0.029523104429244995, -0.03110857494175434, 0.04239043965935707, -0.026869529858231544, 0.006375255063176155, 0.05253744125366211, 0.04369219392538071, 0.026919597759842873, 0.033044517040252686, -0.038451798260211945, -0.008002446964383125, 0.04005395993590355, -0.025000344961881638, 0.011916052550077438, -0.009854942560195923, -0.022713931277394295, -0.0006086323992349207, -0.04352530092000961, 0.0817100778222084, -0.03084154799580574, 0.07723738253116608, -0.024699941277503967, 0.03588167205452919, -0.03137560188770294, -0.020911503583192825, 0.00594133697450161, 0.0025763874873518944, 0.0159131046384573, -0.04753069579601288, 0.01870853640139103, 0.019225899130105972, -0.02318122796714306, -0.035180725157260895, -0.016839351505041122, -0.007977413013577461, -0.010322239249944687, -0.07016118615865707, 0.013276218436658382, -0.03761734068393707, 0.034880321472883224, 0.014419425278902054, -0.024699941277503967, -0.05420635640621185, -0.02021056041121483, 0.011440412141382694, 0.01468645129352808, -0.0017085516592487693, -0.0007661362760700285, 0.00027015560772269964, 0.02935621328651905, 0.02132873237133026, -0.027987703680992126, -0.03975355252623558, -0.026435611769557, 0.03379552811384201, 0.007601907476782799, -0.005661793984472752, 0.028922295197844505, -0.038151394575834274, -0.03222674876451492, -0.006112400908023119, 0.006542146671563387, 0.0267026387155056, -0.030057158321142197, -0.024099132046103477, 0.026051761582493782, -0.0027870878111571074, 0.011173385195434093, -0.04950001835823059, -0.008277817629277706, -0.03654923662543297, 0.042256925255060196, -0.01381027139723301, -0.04806474968791008, 0.0427909791469574, 0.021896163001656532, -0.02169589325785637, 0.05247068405151367, -0.013276218436658382, -0.0028747059404850006, 0.010363961569964886, 0.044059354811906815, 0.035547886043787, -0.010764501057565212, 0.01673087291419506, 0.01722320169210434, -0.01722320169210434, 0.014327635057270527, 0.04158936068415642, -0.026035072281956673, -0.018508266657590866, -0.03835166618227959, -0.030474387109279633, 0.020944882184267044, -0.027520406991243362, 0.011173385195434093, -0.006433667149394751, 0.004839853383600712, 0.07430009543895721, 0.04269084334373474, -0.0059496816247701645, -0.0015500047011300921, 0.09165680408477783, -0.04399259760975838, 0.007664491888135672, 0.0007098103524185717, 0.051502715796232224, -0.0415559820830822, 0.009395991452038288, 0.011173385195434093, -0.04953339323401451, -0.04559475556015968, 0.019092386588454247, -0.012650375254452229, 0.007464222144335508, 0.013685102574527264, -0.01628861017525196, -0.008511465974152088, 0.053538791835308075, -0.01406895276159048, 0.042891114950180054, -0.051235686987638474, 0.03152580186724663, 0.02611851878464222, 0.017874078825116158, 0.0032585563603788614, 0.022046366706490517, 0.02101163938641548, -0.029422970488667488, 0.011448756791651249, 0.03296107053756714, 0.007660319563001394, -0.019776642322540283, -0.0210450179874897, 0.03651585802435875, 0.009888321161270142, -0.022363459691405296, -0.03504721447825432, 0.007818866521120071, -0.025934938341379166, -0.013559933751821518, -0.027353515848517418, 0.045895159244537354, -0.03441302478313446, 0.008323713205754757, 0.08344574272632599, 0.011315243318676949 ]
41,081
pyglove.core.symbolic.base
sym_setparent
Sets the parent of current node in the symbolic tree.
def sym_setparent(self, parent: 'Symbolic'): """Sets the parent of current node in the symbolic tree.""" self._set_raw_attr('_sym_parent', parent)
(self, parent: pyglove.core.symbolic.base.Symbolic)
[ 0.0018671822035685182, 0.01668361946940422, 0.0805654525756836, 0.0626889169216156, -0.047405682504177094, 0.014799147844314575, 0.008004679344594479, 0.07468728721141815, 0.08492221683263779, 0.018187737092375755, -0.03125801309943199, -0.09052375704050064, 0.04747483506798744, 0.02802502177655697, -0.040006108582019806, -0.011583445593714714, 0.04266856983304024, 0.017063971608877182, 0.008026289753615856, -0.0021308353170752525, -0.004248703829944134, -0.016441576182842255, 0.0395566001534462, -0.05297265201807022, -0.019743723794817924, 0.06998475641012192, -0.02557002380490303, 0.05943863466382027, -0.03213973715901375, -0.08222517371177673, 0.014548460952937603, -0.00811705645173788, -0.018377913162112236, -0.00106001493986696, 0.1112702265381813, 0.007572461385279894, -0.07129869610071182, 0.007615683134645224, -0.04107800871133804, -0.000005516690180229489, 0.02401403710246086, -0.0160352922976017, -0.055565960705280304, 0.0057182456366717815, 0.014669482596218586, 0.06261976063251495, 0.045953430235385895, 0.00883886031806469, 0.09080038219690323, -0.031828541308641434, 0.012456526048481464, -0.01685650646686554, 0.028975902125239372, -0.014098954387009144, -0.0734425038099289, 0.04533103480935097, 0.0025608923751860857, -0.019916610792279243, -0.0035506717395037413, -0.01849893480539322, 0.04259941726922989, -0.003403717651963234, -0.04771687835454941, -0.04405166953802109, 0.018637245520949364, -0.005532391835004091, 0.027454493567347527, -0.025397134944796562, -0.023668263107538223, -0.01053747721016407, -0.09737009555101395, -0.03969490900635719, -0.03196685016155243, -0.005847910884767771, 0.03196685016155243, -0.019086752086877823, -0.05435574799776077, -0.011678533628582954, -0.00994966086000204, -0.047958921641111374, -0.03820808231830597, -0.010926473885774612, -0.0006045650807209313, 0.02435981296002865, -0.03910709545016289, 0.0654551088809967, 0.07745348662137985, 0.07088376581668854, 0.00460312282666564, -0.006219618488103151, -0.0020757275633513927, 0.00851901900023222, -0.014098954387009144, 0.028975902125239372, 0.028820302337408066, 0.04844300448894501, 0.049065399914979935, -0.08118785172700882, 0.0001515464682597667, 0.010753586888313293, 0.020746469497680664, 0.015568495728075504, -0.012897388078272343, -0.07212855666875839, 0.008825893513858318, -0.03347096964716911, 0.023166891187429428, -0.019017595797777176, 0.0619627870619297, -0.01785925216972828, -0.052903495728969574, -0.012931965291500092, -0.021870236843824387, 0.014349641278386116, 0.024982206523418427, -0.03013424575328827, 0.0165107324719429, -0.005298994015902281, 0.04277230426669121, 0.015888337045907974, -0.025812065228819847, 0.05470152199268341, -0.006055375561118126, 0.02024509571492672, 0.006695058662444353, 0.05186617374420166, 0.04982610419392586, 0.02169734798371792, 0.021109532564878464, -0.017548054456710815, 0.012197194620966911, -0.018671821802854538, -0.007762636989355087, -0.005826300010085106, 0.02866470441222191, 0.038623008877038956, -0.021144108846783638, 0.0056620570831000805, -0.04909997805953026, -0.010840030387043953, 0.025881219655275345, 0.00003165660018566996, -0.012482458725571632, 0.0010767633793875575, -0.03234720230102539, 0.02838808484375477, -0.03041086532175541, 0.013822334818542004, -0.0549781434237957, -0.003978567663580179, -0.013666736893355846, -0.006206652149558067, 0.06251602619886398, 0.03381674364209175, -0.0057182456366717815, 0.02209498919546604, -0.07178278267383575, -0.0002822924579959363, 0.053007230162620544, 0.007853402756154537, -0.01630326732993126, -0.04664497822523117, 0.03775857388973236, -0.0330214649438858, -0.015724094584584236, -0.03983322158455849, -0.04827011749148369, -0.05276518687605858, -0.027990443632006645, -0.012041596695780754, 0.006219618488103151, -0.10483882576227188, -0.014176754280924797, 0.011384624987840652, -0.029650162905454636, -0.0351998433470726, 0.03051459789276123, 0.004551256541162729, -0.0036241488996893167, 0.029252521693706512, 0.07503306120634079, 0.016934305429458618, -0.0020130558405071497, 0.07399573922157288, 0.052903495728969574, -0.021213265135884285, -0.011885997839272022, 0.0222505871206522, 0.0890023484826088, -0.009647107683122158, -0.011427846737205982, 0.036963291466236115, -0.018101293593645096, 0.0019795589614659548, 0.024256080389022827, 0.0009735712665133178, 0.03647920861840248, -0.04259941726922989, -0.04010983929038048, 0.054563213139772415, 0.005069918464869261, 0.015093056485056877, 0.04418997839093208, -0.021040378138422966, 0.04076681286096573, 0.004071494564414024, 0.015196788124740124, -0.02802502177655697, -0.026140550151467323, 0.003950473386794329, 0.015153566375374794, 0.02823248691856861, 0.04453575238585472, -0.03710160031914711, -0.019570834934711456, -0.06977728754281998, -0.059231169521808624, 0.020590869709849358, 0.0222505871206522, 0.0033475293312221766, -0.027454493567347527, -0.0022367287892848253, -0.02098851092159748, -0.05940405651926994, -0.03564934805035591, -0.06680362671613693, 0.0008449864108115435, -0.03755110874772072, -0.022700095549225807, 0.00405852822586894, -0.030998682603240013, -0.02601953037083149, -0.019190484657883644, -0.06068342179059982, -0.041181739419698715, -0.045227304100990295, 0.0029931103345006704, 0.052177369594573975, -0.07295841723680496, 0.028924034908413887, -0.043014347553253174, 0.0007196431397460401, 0.024515410885214806, 0.003656565211713314, -0.017928406596183777, 0.04802807420492172, 0.033038750290870667, 0.006478949449956417, -0.03481949120759964, 0.005363826639950275, 0.05321469157934189, -0.06462524831295013, -0.021230554208159447, 0.014626260846853256, 0.05120920017361641, 0.02465372160077095, -0.00802196841686964, 0.01649344339966774, -0.00510449567809701, 0.01200701855123043, -0.02702227607369423, 0.03113699145615101, 0.01813587173819542, -0.041354626417160034, 0.025535445660352707, 0.0158537607640028, 0.00930133368819952, 0.02078104577958584, -0.0642794743180275, -0.011393269523978233, 0.08851826936006546, 0.014090309850871563, 0.010476967319846153, 0.057398565113544464, 0.02372013032436371, -0.04982610419392586, -0.05321469157934189, 0.06804841756820679, -0.0634150430560112, -0.04605716094374657, 0.02301129139959812, 0.004129843786358833, 0.0008682181360200047, 0.04049019142985344, -0.07081461697816849, -0.02482660859823227, 0.008730805478990078, 0.039176248013973236, -0.03241635859012604, 0.007550850510597229, 0.006392505951225758, 0.07613953948020935, -0.01804942823946476, 0.024204213172197342, 0.014297774992883205, 0.0024355489294975996, -0.0033324016258120537, 0.037689417600631714, -0.00593435438349843, 0.023115023970603943, 0.06659616529941559, -0.007853402756154537, 0.008774027228355408, 0.050241030752658844, 0.0007866369560360909, 0.032399069517850876, 0.012525680474936962, 0.05297265201807022, -0.0174875445663929, -0.01943252608180046, 0.0006623742519877851, 0.08623615652322769, -0.08098038285970688, 0.016891082748770714, -0.009819995611906052, 0.017755519598722458, 0.027540937066078186, -0.08111869543790817, 0.04885793477296829, 0.06248144805431366, -0.028076888993382454, -0.04107800871133804, -0.006193685345351696, 0.006440049968659878, -0.016467509791254997, 0.03360927850008011, 0.01122902613133192, 0.025414424017071724, -0.05224652588367462, 0.015205432660877705, 0.020798334851861, 0.007386607583612204, -0.010191703215241432, -0.05335300415754318, -0.04259941726922989, 0.06310383975505829, 0.001771013718098402, -0.0006229343707673252, -0.015966136008501053, -0.008644361980259418, 0.048339273780584335, 0.01851622387766838, -0.013381472788751125, -0.06943151354789734, -0.057294830679893494, -0.02729889564216137, 0.0042465426959097385, -0.01998576521873474, 0.042841456830501556, 0.05404455214738846, -0.0789748951792717, 0.06185905635356903, 0.015179499983787537, -0.029252521693706512, -0.017357878386974335, 0.026780234649777412, -0.03208787366747856, 0.011955153197050095, -0.03450829163193703, -0.06562799960374832, 0.030186112970113754, -0.007010577712208033, -0.002225923351943493, -0.012577546760439873, -0.07973559945821762, -0.015464764088392258, -0.016363777220249176, 0.023702841252088547, 0.013675380498170853, 0.01135869137942791, 0.02465372160077095, -0.042288217693567276, 0.04820096120238304, -0.027195163071155548, -0.007563816849142313, 0.09246009588241577, -0.013191296719014645, 0.0041773878037929535, -0.017089903354644775, -0.1015193909406662, 0.06524764746427536, -0.04629920423030853, 0.013191296719014645, 0.016994815319776535, 0.02823248691856861, -0.00843257550150156, 0.04515814781188965, 0.006755569018423557, 0.03599512204527855, 0.03488864377140999, -0.0026775910519063473, 0.00819485541433096, 0.09370488673448563, 0.024428967386484146, 0.03419709578156471, -0.03564934805035591, 0.019380660727620125, 0.0031270980834960938, -0.007715092971920967, -0.043567586690187454, 0.023132313042879105, -0.04125089570879936, 0.009137090295553207, -0.0028504785150289536, 0.05252314358949661, -0.023495376110076904, -0.0066561587154865265, 0.0020519555546343327, -0.0032178638502955437, -0.04916913062334061, -0.008415286429226398, -0.0011875192867591977, 0.011324114166200161, 0.0036219877656549215, -0.006543782074004412, -0.013225873932242393, 0.061444126069545746, -0.00013567596033681184, 0.08257094770669937, -0.01191193051636219, -0.006310384254902601, 0.0003776505764108151, 0.015879692509770393, 0.01084867399185896, 0.023253334686160088, -0.007097021210938692, 0.014150820672512054, -0.03575308248400688, -0.022751960903406143, 0.02987491525709629, -0.0076372940093278885, 0.001762369298376143, 0.10110446065664291, 0.009232178330421448, -0.022233299911022186, -0.007520595099776983, 0.026226995512843132, -0.017254145815968513, -0.07358080893754959, 0.03813892602920532, 0.07026137411594391, -0.03397234156727791, -0.052453991025686264, -0.018568089231848717, -0.0014706221409142017, 0.05681074783205986, 0.02024509571492672, 0.059334900230169296, -0.04920370876789093, 0.029027767479419708, -0.00519958371296525, -0.02273467183113098, 0.06649243086576462, 0.0009719504741951823, -0.06382997334003448, 0.024290656670928, -0.003663048380985856, -0.03013424575328827, 0.0018715043552219868, 0.040075261145830154, -0.0062541961669921875, 0.008190533146262169, 0.06030306965112686, 0.023771995678544044, -0.011237670667469501, 0.0628272220492363, -0.0010913506848737597, -0.015196788124740124, -0.015836471691727638, -0.03499237820506096, 0.006418438628315926, -0.009629819542169571, -0.04899624362587929, 0.012465170584619045, -0.030549176037311554, -0.051727861166000366, -0.04609173908829689, -0.04982610419392586, -0.08118785172700882, -0.02053900435566902, -0.06659616529941559, -0.022319743409752846, 0.019276928156614304, -0.011531579308211803, 0.014323707669973373, -0.047129061073064804, 0.03041086532175541, -0.04837385192513466, -0.004026111681014299, 0.02482660859823227, -0.028076888993382454, 0.02135157398879528, -0.015594429336488247, 0.052453991025686264, 0.032105159014463425, 0.03703244775533676, -0.0034599059727042913, -0.02527611516416073, -0.001196163590066135, -0.037689417600631714, -0.03813892602920532, -0.0008957720128819346, -0.048339273780584335, 0.0007914993911981583, 0.06587003916501999, 0.04259941726922989, -0.06721855700016022, -0.007745348382741213, -0.012845521792769432, 0.016917016357183456, 0.03997153043746948, 0.004780332092195749, 0.02069460228085518, -0.009266756474971771, -0.016735484823584557, -0.003913735039532185, 0.01072765327990055, 0.04609173908829689, 0.041354626417160034, -0.030307132750749588, 0.006219618488103151, -0.0733041912317276, 0.008415286429226398, -0.004780332092195749, 0.03931456059217453, -0.004823553841561079, -0.011981085874140263, -0.01099562831223011, 0.016182245686650276, -0.015629006549715996, 0.00861842930316925, 0.004905675537884235, -0.036513786762952805, 0.08257094770669937, 0.027247028425335884, 0.057294830679893494, 0.01879284344613552, 0.020366117358207703, 0.005964609794318676, -0.04975694790482521, -0.03717075660824776, 0.025155093520879745, 0.014202686958014965, 0.050448495894670486, 0.08257094770669937, -0.006331995129585266, -0.06248144805431366, -0.024135058745741844, -0.03710160031914711, -0.027437204495072365, -0.032018717378377914, -0.027731113135814667, -0.00782747007906437, 0.022700095549225807, -0.029753893613815308, 0.0019557869527488947, 0.039452869445085526, 0.035960547626018524, 0.011678533628582954, 0.012447881512343884, 0.015386964194476604, 0.008644361980259418, 0.07060714811086655, -0.06154785677790642, 0.08512967824935913, -0.04488152638077736, -0.027143297716975212, -0.019121328368782997, 0.04180413484573364, 0.02823248691856861, 0.0008828054997138679, -0.006548104342073202, 0.05518560856580734, 0.03450829163193703, 0.013113497756421566, -0.0012998959282413125, 0.004103911109268665, 0.06956982612609863, -0.03979864344000816, 0.006102919578552246, 0.0017083421116694808, -0.006180719006806612, -0.05252314358949661, 0.04619546979665756, -0.016277333721518517, -0.016156312078237534, 0.0012307410361245275, 0.08976305276155472, -0.01685650646686554, 0.0012663990492001176, -0.03741279989480972, -0.013649447821080685, -0.007732382044196129, 0.045123569667339325, -0.022216010838747025, -0.04571138694882393, -0.013390117324888706, -0.03307332843542099, 0.039349135011434555, 0.03098139353096485, -0.042288217693567276, -0.027437204495072365, 0.031569208949804306, 0.040075261145830154, 0.016329199075698853, -0.021852947771549225, -0.004296247847378254, 0.02105766534805298, -0.03383403271436691, -0.044120825827121735, 0.03355741500854492, 0.023841150104999542, -0.02959829568862915, 0.000575390353333205, -0.08264010399580002, -0.041838712990283966, -0.03481949120759964, -0.03979864344000816, -0.012119395658373833, -0.02593308687210083, -0.02814604341983795, -0.055116452276706696, 0.0048840646632015705, -0.059334900230169296, -0.047129061073064804, 0.0430489219725132, 0.020573582500219345, 0.029027767479419708, -0.007702126633375883, -0.0458151176571846, 0.022060412913560867, -0.045953430235385895, -0.034940510988235474, -0.02180108055472374, 0.00787933636456728, -0.036410052329301834, 0.003228669287636876, -0.027731113135814667, -0.005039663054049015, 0.013199941255152225, 0.006664803251624107, -0.019726434722542763, -0.01191193051636219, 0.007849080488085747, -0.017072614282369614, 0.006016476079821587, -0.0056490907445549965, -0.017115836963057518, -0.09488052129745483, -0.012759078294038773, -0.008190533146262169, 0.014859658665955067, -0.041631247848272324, -0.011557511985301971, 0.08962474763393402, 0.029200654476881027, -0.039625756442546844, -0.01080545224249363, -0.005964609794318676, -0.013908778317272663, 0.053560469299554825, 0.009560664184391499, 0.006128852721303701, 0.04702533036470413, 0.018723689019680023, 0.05138208717107773, 0.034231673926115036, -0.0016672813799232244, 0.005675023887306452, -0.031672943383455276, -0.020020343363285065, -0.018827419728040695, -0.07669278234243393, -0.040351882576942444, 0.0119637968018651, -0.04380962625145912, 0.014202686958014965, 0.0032999853137880564, 0.04170040413737297, -0.0024355489294975996, -0.10483882576227188, -0.0009595241863280535, 0.05027560889720917, -0.02169734798371792, -0.02639988251030445, 0.05120920017361641, 0.0353381521999836, 0.017703654244542122, -0.015196788124740124, -0.0733041912317276, 0.004572867415845394, -0.00492296414449811, 0.031102415174245834, 0.012672634795308113, -0.051070891320705414, -0.0197091456502676, -0.02693583257496357, -0.0320705845952034, -0.026140550151467323, 0.03528628498315811, 0.04788976535201073, 0.025120515376329422, 0.023391643539071083, -0.03397234156727791, 0.012707212008535862, -0.021213265135884285, 0.027333473786711693, 0.00911980215460062, -0.0023620720021426678, 0.03288315236568451, 0.03252008929848671, -0.025500867515802383, -0.0349750891327858, -0.05687990412116051, 0.020089497789740562, 0.033125195652246475, -0.014090309850871563, -0.026434458792209625, -0.02959829568862915, 0.02427336946129799, -0.015568495728075504, 0.014462017454206944, 0.045503921806812286, -0.00911980215460062, 0.01787654124200344, -0.021092243492603302, -0.021645482629537582, 0.009966949932277203, 0.009698973968625069, 0.009819995611906052, -0.05691447854042053, 0.04602258279919624, -0.043014347553253174, -0.031551919877529144, 0.015049834735691547, -0.0031724809668958187, -0.00593435438349843, 0.038968782871961594, 0.005039663054049015, -0.0183260478079319, -0.01630326732993126, 0.019104041159152985, -0.06320757418870926, -0.01822231523692608, 0.030808506533503532, 0.022665517404675484, -0.04903082177042961, -0.0009811350610107183, 0.004732788074761629, 0.0493074432015419, 0.02098851092159748, 0.004147132858633995, -0.005666379351168871, -0.012482458725571632, 0.0007342305034399033, -0.007148887496441603, -0.002614919561892748, 0.05646497383713722, 0.056395817548036575, 0.022198721766471863, -0.012620768509805202, -0.02878572605550289, -0.011030206456780434, 0.018896576017141342, 0.04125089570879936, -0.01823960430920124, 0.0016694423975422978, -0.01960541307926178 ]
41,083
pyglove.core.symbolic.list
sym_values
Iterates the values of symbolic attributes.
def sym_values(self) -> Iterator[Any]: """Iterates the values of symbolic attributes.""" for i in range(len(self)): yield super().__getitem__(i)
(self) -> Iterator[Any]
[ 0.08680857717990875, -0.060135167092084885, 0.0033598896116018295, -0.009411118924617767, -0.002871334319934249, 0.0007805100758560002, -0.028490493074059486, -0.03497027978301048, 0.08118590712547302, 0.03853587806224823, -0.02543916366994381, 0.02288496308028698, 0.05698098614811897, 0.042444318532943726, -0.022336408495903015, 0.03327319398522377, 0.009668253362178802, 0.03641023114323616, -0.03202180564403534, 0.05506104975938797, -0.026964828372001648, 0.0390501469373703, -0.04738130047917366, -0.035861678421497345, -0.004202004987746477, 0.031181832775473595, 0.030821844935417175, -0.009882532060146332, 0.03956441581249237, -0.01586519367992878, -0.05804380774497986, -0.005142688285559416, 0.024170635268092155, -0.002612057141959667, 0.0864657312631607, -0.05622672289609909, -0.05111832171678543, 0.028267642483115196, -0.019850775599479675, 0.0564667172729969, 0.06603211909532547, -0.030976125970482826, 0.017356572672724724, -0.004696988500654697, -0.02295353077352047, -0.013370988890528679, 0.012188171036541462, -0.014382384717464447, 0.01762227900326252, -0.08824852854013443, 0.030873270705342293, 0.01345670036971569, 0.05050119757652283, -0.014665232039988041, 0.026141997426748276, 0.04984978958964348, -0.010731075890362263, 0.019987914711236954, -0.00822830107063055, 0.045358508825302124, -0.004615562502294779, -0.05248970538377762, 0.011888180859386921, -0.06939200311899185, 0.027530524879693985, -0.048581261187791824, -0.02684483304619789, 0.002862763125449419, -0.008254014886915684, -0.0068440609611570835, -0.012059603817760944, -0.043609995394945145, -0.020142195746302605, 0.007109766360372305, -0.018102262169122696, -0.0266219824552536, -0.0034520295448601246, 0.018702242523431778, 0.03706163913011551, -0.11252201348543167, -0.037610191851854324, 0.04542708024382591, -0.04635276272892952, -0.015008077956736088, -0.06959771364927292, 0.022353550419211388, 0.014090965501964092, -0.023056386038661003, -0.007259761448949575, 0.10189379751682281, -0.03970155119895935, 0.034918852150440216, -0.0010826430516317487, 0.0577695295214653, -0.011262486688792706, 0.011511050164699554, 0.009205412119626999, -0.05478677153587341, 0.02075931802392006, -0.0003629345155786723, 0.035210270434617996, 0.020416472107172012, 0.011579619720578194, 0.029964730143547058, -0.01709943823516369, -0.007469754666090012, -0.03956441581249237, -0.08303727209568024, 0.052386850118637085, 0.0026291992980986834, -0.08927706629037857, 0.08344868570566177, 0.04422711953520775, -0.01630232110619545, -0.048649828881025314, -0.011982463300228119, 0.002389207249507308, 0.007808315102010965, 0.004559850320219994, -0.00929112359881401, -0.009839676320552826, 0.05358681082725525, 0.025542017072439194, 0.061369411647319794, 0.03107897937297821, 0.06784919649362564, 0.02207927405834198, 0.010028242133557796, -0.02216498553752899, 0.014905224554240704, 0.006719779223203659, -0.033307477831840515, 0.029656168073415756, 0.07734602689743042, 0.004193433560431004, -0.011142491362988949, 0.0800887942314148, -0.030376145616173744, -0.007131194230169058, 0.018770812079310417, 0.036890216171741486, 0.014888082630932331, -0.007396899629384279, 0.020930740982294083, -0.05821523070335388, 0.009899674914777279, -0.010593937709927559, 0.06082085892558098, -0.016482315957546234, -0.05965518206357956, -0.02252497337758541, 0.06479787081480026, 0.06003231182694435, 0.05636386200785637, -0.02106788009405136, 0.030359001830220222, -0.02852477692067623, -0.01301100105047226, -0.010473941452801228, 0.0038955863565206528, -0.07638606429100037, 0.0034713144414126873, -0.033667463809251785, -0.03802160918712616, -0.00508269015699625, 0.041415780782699585, -0.005112688988447189, -0.04765557870268822, 0.0168765876442194, -0.012085317634046078, -0.00753403827548027, -0.1097106784582138, -0.006676923483610153, 0.015488062985241413, 0.0227478239685297, 0.023416373878717422, -0.0014603091403841972, 0.041930049657821655, 0.05252398923039436, 0.026227708905935287, -0.005121260415762663, -0.058523792773485184, -0.10079668462276459, -0.04474138841032982, 0.042512889951467514, 0.021770713850855827, -0.00509983254596591, 0.0017581564607098699, 0.053929656744003296, 0.0006181939970701933, 0.023673508316278458, 0.0021256443578749895, -0.0020506468135863543, 0.027016256004571915, 0.007414042018353939, -0.037095922976732254, -0.01092821266502142, 0.020639322698116302, -0.03730162978172302, 0.042512889951467514, -0.0008426508866250515, -0.04892410710453987, -0.04217004403471947, 0.0438842736184597, -0.015402351506054401, 0.007816885598003864, 0.0179136972874403, -0.04943837597966194, -0.02915904112160206, -0.006466930266469717, -0.024770613759756088, 0.01243673451244831, 0.05344967171549797, 0.003404888091608882, 0.012188171036541462, -0.006479787174612284, -0.006959771271795034, -0.051941148936748505, 0.013216708786785603, 0.00245777633972466, 0.06106084957718849, -0.03371889144182205, -0.0022434976417571306, -0.01616518385708332, 0.04045581445097923, -0.04175862669944763, 0.007568322587758303, -0.019182227551937103, -0.0722719132900238, 0.00862685963511467, 0.013259564526379108, 0.001698158448562026, 0.007504038978368044, 0.01082535833120346, 0.04364427924156189, 0.05272969603538513, 0.017305145040154457, 0.044638533145189285, -0.03778161481022835, 0.02214784361422062, -0.052901118993759155, 0.029536172747612, -0.02331352047622204, 0.028559060767292976, -0.05492391064763069, 0.022764965891838074, 0.03486742451786995, 0.07714032381772995, -0.040764376521110535, -0.03195323422551155, 0.012128173373639584, -0.03860444575548172, 0.012393878772854805, 0.009231125004589558, 0.02866191603243351, -0.05711812153458595, -0.031764671206474304, -0.00579409534111619, 0.05931233614683151, -0.03173038735985756, 0.006042658817023039, -0.00368345039896667, -0.016979442909359932, 0.054135363548994064, 0.031130405142903328, 0.03884443640708923, 0.02039933018386364, 0.02302210032939911, -0.042958587408065796, 0.022199271246790886, 0.06335791945457458, -0.002207070356234908, -0.06990627199411392, 0.030804703012108803, 0.0016403032932430506, 0.06133512780070305, 0.026296278461813927, 0.015676626935601234, -0.053346820175647736, -0.04158720374107361, 0.010602508671581745, 0.003197037847712636, -0.030084725469350815, -0.020056484267115593, -0.008318298496305943, -0.006531213875859976, 0.0010617508087307215, -0.027290532365441322, 0.013636695221066475, -0.022902105003595352, 0.09160842001438141, 0.041278645396232605, 0.015805194154381752, -0.03342747315764427, 0.10868214070796967, -0.01563377119600773, -0.015565202571451664, 0.0343702994287014, 0.011699615977704525, 0.03178181126713753, 0.05622672289609909, -0.011965321376919746, 0.006094085518270731, 0.04539279267191887, -0.01616518385708332, -0.0066169253550469875, 0.07830599695444107, 0.07405471056699753, -0.01878795400261879, 0.02317638136446476, 0.03385603055357933, 0.051804013550281525, -0.016936587169766426, 0.03500456362962723, -0.01966221071779728, -0.07446612417697906, -0.04974693804979324, -0.015110932290554047, 0.015359495766460896, 0.06143798306584358, -0.023364946246147156, -0.009342550300061703, -0.0032163229770958424, -0.043987125158309937, -0.03474742919206619, 0.05886663869023323, 0.004791270941495895, -0.01349098514765501, -0.004339143168181181, -0.01389382965862751, 0.016130898147821426, -0.025182029232382774, -0.002397778443992138, 0.04494709521532059, 0.020605036988854408, 0.0684320405125618, 0.0005946233286522329, 0.050638336688280106, -0.023004958406090736, -0.07000912725925446, -0.02120501734316349, -0.015436635352671146, 0.004232003819197416, -0.0075640371069312096, -0.04107293486595154, 0.0014603091403841972, -0.016713736578822136, -0.016482315957546234, 0.03898157551884651, 0.04223861172795296, 0.0018481535371392965, 0.03296463191509247, 0.012985287234187126, 0.02638198994100094, 0.017073724418878555, 0.010851072147488594, -0.03056471049785614, 0.015265212394297123, -0.03486742451786995, 0.016336606815457344, 0.04330143332481384, 0.01827368512749672, 0.0023956354707479477, -0.034250304102897644, -0.004088437184691429, -0.0709690973162651, -0.04546136409044266, 0.014390955679118633, 0.03593024984002113, -0.010585366748273373, -0.03071899153292179, 0.008524005301296711, -0.021479293704032898, -0.060512296855449677, 0.002132072811946273, -0.007431184407323599, -0.00026597341638989747, 0.0000958897071541287, -0.002219927031546831, -0.019576499238610268, 0.042375750839710236, -0.04333571717143059, 0.025199171155691147, 0.037095922976732254, 0.010731075890362263, -0.0481012761592865, 0.04672989249229431, -0.031164690852165222, -0.005155544728040695, 0.06664923578500748, -0.048512693494558334, -0.05595244839787483, -0.045358508825302124, 0.01680801995098591, 0.0052026864141225815, -0.06315220892429352, 0.028781911358237267, -0.024222061038017273, -0.06466073542833328, -0.028336212038993835, -0.02494203671813011, -0.018839381635189056, -0.00881113950163126, -0.006805490702390671, -0.0169537290930748, -0.07062625139951706, 0.011579619720578194, -0.021839281544089317, -0.00004118168362765573, 0.01769084669649601, -0.02646770142018795, 0.012042461894452572, 0.007615464273840189, -0.048512693494558334, 0.0703519731760025, -0.033376045525074005, 0.028781911358237267, 0.011545334942638874, 0.04919838532805443, 0.047552723437547684, 0.04265002906322479, -0.06610068678855896, -0.015308068133890629, 0.036375947296619415, -0.03226179629564285, 0.0019295794190838933, 0.014862368814647198, 0.005159830674529076, -0.011511050164699554, 0.0224392618983984, -0.03085612878203392, -0.014030967839062214, 0.00030882912687957287, -0.026296278461813927, 0.00771403219550848, -0.03361603990197182, -0.05382680147886276, -0.04145006835460663, -0.022644970566034317, -0.004349857103079557, 0.004326286260038614, 0.027684804052114487, 0.019027946516871452, -0.009925387799739838, 0.024393483996391296, -0.00368345039896667, 0.007328330539166927, 0.05331253260374069, 0.03435315564274788, -0.024016354233026505, -0.028181931003928185, -0.026450559496879578, 0.05536960810422897, -0.039152998477220535, 0.014210961759090424, 0.061369411647319794, -0.013662408106029034, -0.08084306120872498, 0.009402547962963581, 0.017373714596033096, 0.03335890546441078, 0.010028242133557796, -0.018770812079310417, -0.09819106012582779, -0.02163357473909855, 0.003696307074278593, 0.004296287428587675, 0.017459426075220108, -0.0038634445518255234, 0.010353945195674896, 0.028336212038993835, -0.01210245955735445, -0.004714130889624357, -0.06970056891441345, -0.02048504166305065, -0.011056779883801937, -0.04539279267191887, 0.01782798580825329, -0.07528895139694214, -0.08763140439987183, -0.02713625133037567, -0.04446711018681526, 0.004426997620612383, -0.03569025546312332, 0.03767876327037811, 0.021616432815790176, 0.0324503630399704, -0.037130206823349, -0.03558740392327309, 0.00913684256374836, 0.026776263490319252, 0.0007360472227446735, -0.0003104362403973937, 0.03767876327037811, 0.029416175559163094, 0.017005154862999916, 0.04210147261619568, 0.014665232039988041, 0.004992693196982145, 0.003293463261798024, -0.02646770142018795, -0.0313018299639225, 0.009051131084561348, 0.029484745115041733, 0.007478325627744198, 0.0662035420536995, -0.015453778207302094, -0.05667242407798767, 0.00008691678522154689, -0.04275288060307503, 0.02156500518321991, -0.02624485269188881, 0.007962595671415329, -0.032570358365774155, 0.014245246537029743, -0.0716547891497612, -0.02471918798983097, -0.012273882515728474, -0.029810449108481407, 0.012188171036541462, 0.0162251815199852, -0.07151765376329422, -0.07254618406295776, 0.006261222995817661, -0.037095922976732254, 0.007045482750982046, -0.05338110402226448, -0.03481600061058998, 0.02465061843395233, -0.005365537945181131, 0.03524455800652504, -0.007782601285725832, -0.017502281814813614, 0.0419643372297287, -0.019285080954432487, 0.0008667572401463985, 0.10936783254146576, -0.022782107815146446, -0.028627630323171616, 0.06808919459581375, 0.04525565728545189, 0.038570161908864975, -0.005836951080709696, -0.007319759577512741, 0.019610784947872162, -0.03764447569847107, -0.08015736937522888, -0.06959771364927292, 0.014793799258768559, -0.017536567524075508, -0.02471918798983097, 0.003239893587306142, -0.014279530383646488, -0.013088141568005085, 0.00581123773008585, 0.014108107425272465, 0.049541227519512177, -0.011416767723858356, -0.0355188325047493, 0.026553412899374962, 0.04148435220122337, -0.018239401280879974, 0.013182424008846283, -0.052832551300525665, -0.006329792086035013, 0.036375947296619415, -0.0021256443578749895, 0.002993473084643483, -0.01473380159586668, 0.03317033872008324, -0.007439755368977785, 0.011545334942638874, 0.023142097517848015, 0.02017647959291935, 0.04847840592265129, 0.006102656479924917, -0.04408998042345047, -0.014956651255488396, -0.008896850980818272, -0.0658949762582779, 0.002571344142779708, 0.03599881753325462, 0.004906981717795134, -0.023724934086203575, 0.03442172706127167, 0.0162251815199852, -0.028387637808918953, 0.05972375348210335, -0.01740800030529499, -0.008763997815549374, -0.028730483725667, -0.07055768370628357, -0.06082085892558098, -0.03990726172924042, -0.04117579013109207, -0.03911871463060379, -0.06939200311899185, -0.007345472928136587, -0.05824951454997063, 0.025250598788261414, -0.010988210327923298, 0.032056089490652084, 0.031456109136343, 0.029364749789237976, -0.011502479203045368, -0.014159535057842731, 0.04350714012980461, 0.01916508376598358, 0.026279136538505554, -0.0032420363277196884, -0.03356461226940155, 0.013396702706813812, 0.016928015276789665, -0.03932442143559456, -0.00859257485717535, -0.00010640275286277756, -0.014339528977870941, 0.08804281800985336, -0.013808118179440498, 0.003794875228777528, -0.04234146699309349, -0.049678366631269455, -0.06860346347093582, 0.03877586871385574, -0.02105073630809784, 0.012891004793345928, 0.046695608645677567, 0.025970574468374252, -0.008279727771878242, -0.01388525776565075, -0.0003208823036402464, -0.0012513874098658562, 0.025696298107504845, -0.03251893073320389, -0.033153194934129715, -0.009265409782528877, 0.004377713426947594, 0.008686857298016548, -0.04789556935429573, 0.056261006742715836, -0.0006315864156931639, 0.0432671494781971, -0.021256444975733757, 0.06304935365915298, -0.033804602921009064, 0.014236674644052982, -0.03685593232512474, -0.0326046422123909, 0.03217608481645584, -0.014236674644052982, -0.007131194230169058, 0.02113644778728485, -0.020587895065546036, -0.012822436168789864, 0.03320462256669998, -0.03990726172924042, -0.014510951936244965, -0.02223355509340763, 0.015590916387736797, -0.0037777330726385117, -0.02902190387248993, -0.012145315296947956, -0.0007017626776359975, -0.025919148698449135, 0.01528235524892807, -0.005506962072104216, -0.021033594384789467, 0.020879313349723816, 0.02603914402425289, -0.026776263490319252, 0.0048812683671712875, 0.06514071673154831, -0.01739942841231823, -0.0011228203075006604, -0.020999310538172722, 0.02355351112782955, 0.0031306114979088306, -0.008524005301296711, 0.06263794004917145, 0.00008243032789323479, 0.011048207990825176, -0.028764769434928894, 0.023999212309718132, 0.020605036988854408, -0.044055696576833725, -0.05416964739561081, 0.005888377781957388, 0.0384330227971077, -0.005751239601522684, -0.07412327826023102, -0.04899267479777336, -0.07590607553720474, 0.059072345495224, -0.015033791773021221, -0.03310177102684975, 0.024307772517204285, 0.007915453985333443, 0.011133919470012188, 0.07597464323043823, 0.03327319398522377, -0.011399625800549984, 0.013542411848902702, 0.01561663020402193, 0.046695608645677567, 0.05605529993772507, 0.005742668639868498, -0.003002044279128313, -0.012213884852826595, 0.000623015221208334, 0.03723306208848953, 0.012951003387570381, 0.03495313599705696, -0.0916769877076149, -0.07083196192979813, 0.01747656799852848, -0.003747734008356929, -0.0025220599491149187, 0.012548158876597881, 0.0017399428179487586, 0.06630638986825943, 0.031627532094717026, 0.004615562502294779, 0.03490171208977699, 0.07439755648374557, -0.07055768370628357, 0.06023802235722542, -0.03186752274632454, 0.08063735067844391, 0.0006240866496227682, 0.028387637808918953, -0.005125545896589756, -0.003739162813872099, -0.02559344470500946, 0.02684483304619789, -0.07220334559679031, 0.01067964918911457, -0.016028044745326042, 0.013268135488033295, -0.035278841853141785, 0.0497126504778862, -0.0004277538100723177, 0.05835236981511116, -0.033016059547662735, 0.04021582007408142, -0.0028563346713781357, 0.015736626461148262, -0.036375947296619415, 0.00968539621680975, 0.027393385767936707, -0.041998621076345444, 0.0342160202562809, 0.04642133042216301, 0.014030967839062214, 0.005095547065138817, 0.07542609423398972, 0.009556828998029232, 0.03365032374858856, -0.056329578161239624, -0.022062132135033607, -0.008793996647000313, -0.051666874438524246, -0.002419206313788891, -0.00489841029047966, 0.06911773234605789, -0.043678563088178635, 0.013936685398221016, 0.004439854063093662, 0.011639617383480072 ]
41,086
pyglove.core.symbolic.list
use_value_spec
Applies a ``pg.List`` as the value spec for current list. Args: value_spec: A List ValueSpec to apply to this List. If current List 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 List. Or else if current List is already symbolic (whose immediate members are under the constraint of a List value spec), and `value_spec` is None, current List 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 List. Returns: Self. Raises: ValueError: schema validation failed due to value error. RuntimeError: List is already bound with another value_spec. TypeError: type errors during validation. KeyError: key errors during validation.
def use_value_spec(self, value_spec: Optional[pg_typing.List], allow_partial: bool = False) -> 'List': """Applies a ``pg.List`` as the value spec for current list. Args: value_spec: A List ValueSpec to apply to this List. If current List 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 List. Or else if current List is already symbolic (whose immediate members are under the constraint of a List value spec), and `value_spec` is None, current List 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 List. Returns: Self. Raises: ValueError: schema validation failed due to value error. RuntimeError: List is already bound with another value_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.List): raise ValueError( self._error_message( f'Value spec for list must be a `pg.typing.List` object. ' f'Encountered: {value_spec!r}')) if self._value_spec and self._value_spec != value_spec: raise RuntimeError( self._error_message( f'List is already bound with a different value ' f'spec: {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 List.custom_apply method # called by spec.apply, thus we don't need to set the _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.List], allow_partial: bool = False) -> pyglove.core.symbolic.list.List
[ 0.11585182696580887, -0.056085824966430664, -0.009596049785614014, -0.004356403835117817, -0.003735374892130494, 0.04710620641708374, 0.011840954422950745, -0.02749088779091835, 0.005823872517794371, -0.0017917839577421546, -0.027950908988714218, -0.010948512703180313, -0.03129986673593521, -0.06248932704329491, 0.03812658414244652, 0.06440301239490509, 0.03100545145571232, -0.008942819200456142, 0.037372149527072906, 0.015208312310278416, 0.01655157469213009, -0.01292660553008318, -0.034980036318302155, 0.08471756428480148, 0.008639204315841198, -0.02145540527999401, 0.006030882243067026, -0.04464048892259598, -0.007774364203214645, 0.018897684291005135, 0.06282053887844086, 0.012576988898217678, 0.01519911177456379, -0.03310314938426018, 0.05619623139500618, 0.009370638988912106, -0.04662778228521347, 0.025742804631590843, -0.036948930472135544, -0.02931257337331772, 0.0325879268348217, -0.04644377529621124, -0.015990348532795906, 0.008832413703203201, 0.02014894410967827, 0.07757803052663803, -0.01045168936252594, 0.04662778228521347, 0.053436100482940674, -0.013552234508097172, -0.0005295997834764421, 0.03203589841723442, -0.03571607172489166, 0.00004039564009872265, -0.0577051006257534, 0.03604728728532791, 0.014840294606983662, 0.07757803052663803, 0.07047530263662338, 0.019468111917376518, 0.005865274462848902, -0.001919439877383411, -0.04677499085664749, -0.10635697841644287, -0.021087387576699257, -0.01615595631301403, 0.042726799845695496, -0.04026108607649803, -0.02423393540084362, 0.006891122553497553, -0.06407179683446884, -0.047400619834661484, 0.021621013060212135, 0.037022534757852554, 0.025264382362365723, 0.009080825373530388, 0.014058258384466171, 0.010525292716920376, 0.015723535791039467, -0.05369371548295021, 0.006693313363939524, 0.05932437628507614, 0.011242926120758057, -0.0346304215490818, -0.03350796923041344, 0.038236990571022034, -0.020995382219552994, 0.031263064593076706, 0.14095060527324677, 0.03534805402159691, -0.0022357048001140356, 0.003128146519884467, -0.00442770728841424, 0.02660764567553997, 0.00295103807002306, 0.016330765560269356, 0.005046436097472906, -0.08898656815290451, -0.03302954509854317, 0.004977433010935783, 0.0037008733488619328, 0.018511267378926277, -0.011270527727901936, 0.02537478879094124, 0.025466792285442352, -0.010856508277356625, -0.0024841162376105785, -0.037022534757852554, -0.0018665373791009188, 0.02993820235133171, -0.008768010884523392, 0.007640957832336426, 0.01839166134595871, 0.029827795922756195, -0.015907544642686844, 0.06296774744987488, -0.0048670279793441296, -0.06436621397733688, 0.04221157729625702, -0.02360830456018448, -0.018161650747060776, -0.03685692697763443, 0.01926570199429989, -0.017821233719587326, 0.011104919947683811, 0.04968232661485672, -0.0032477520871907473, -0.04511891305446625, -0.006845120340585709, 0.020848175510764122, 0.0002499929687473923, 0.021344998851418495, 0.02266986109316349, 0.02660764567553997, 0.029975004494190216, -0.004501310642808676, -0.033894386142492294, -0.024252336472272873, 0.02890775352716446, -0.017260007560253143, 0.019044890999794006, 0.01574193686246872, 0.07441308349370956, -0.00768696004524827, -0.00016057626635301858, 0.012328577227890491, 0.015217512845993042, 0.04695899784564972, -0.02171301655471325, 0.04051869735121727, -0.021492205560207367, 0.02756449021399021, 0.019376106560230255, 0.009586849249899387, -0.02456515096127987, 0.0319070927798748, -0.03266153112053871, -0.08228865265846252, 0.04879908636212349, 0.010746102780103683, 0.0015100206946954131, -0.028410930186510086, -0.007696160580962896, 0.021492205560207367, -0.012319376692175865, 0.03584487736225128, -0.0739714652299881, -0.07721001654863358, -0.023516301065683365, -0.014766691252589226, 0.0237555131316185, -0.034096796065568924, 0.07706280797719955, 0.06742075830698013, 0.02585321106016636, 0.033765580505132675, 0.02587161213159561, -0.035403259098529816, -0.03435440734028816, -0.045450128614902496, -0.03693052753806114, 0.0011046266881749034, -0.00804577674716711, -0.04622296616435051, -0.015640731900930405, 0.052626464515924454, -0.042800404131412506, -0.017398014664649963, 0.013607436791062355, 0.04438287764787674, -0.034998439252376556, -0.023387495428323746, 0.05439294874668121, -0.014665486291050911, -0.08398152887821198, -0.026957262307405472, 0.015337117947638035, 0.01197896059602499, -0.018686074763536453, -0.00516144186258316, -0.04029788821935654, -0.06708954274654388, 0.020608965307474136, -0.005948078352957964, -0.025742804631590843, 0.031171059235930443, -0.002679625526070595, -0.0308766458183527, 0.032275110483169556, -0.05858834460377693, -0.08854494243860245, -0.0332503579556942, -0.010332084260880947, 0.02110578864812851, 0.014739090576767921, -0.059692393988370895, -0.033710379153490067, -0.07176335901021957, -0.02958858571946621, -0.03547685965895653, 0.07183696329593658, -0.007590355351567268, -0.0407027043402195, -0.0033489568158984184, 0.023056279867887497, 0.03402319177985191, -0.03074784018099308, -0.0726466029882431, 0.02035135217010975, 0.07503871619701385, -0.04066590592265129, -0.002479516202583909, 0.037096135318279266, -0.019504914060235023, -0.012806999497115612, 0.039267439395189285, -0.011813352815806866, 0.0024174132850021124, -0.03129986673593521, 0.0278221033513546, -0.02577960677444935, -0.006306895520538092, 0.043058015406131744, -0.0008999171550385654, -0.047952644526958466, 0.016597576439380646, -0.023461097851395607, 0.03304794803261757, 0.040481895208358765, -0.0073327431455254555, -0.02945978008210659, 0.06569107621908188, 0.04629656672477722, 0.016247961670160294, -0.01846526376903057, -0.009835260920226574, -0.04287400841712952, -0.01858486980199814, 0.018446864560246468, 0.02029615081846714, -0.021418603137135506, -0.0281717199832201, 0.011390133760869503, 0.0011730549158528447, -0.012365379370748997, -0.036617714911699295, -0.03034302033483982, 0.07934451848268509, -0.032348714768886566, 0.09583168476819992, -0.009761656634509563, -0.05258966237306595, 0.03225671127438545, -0.039193835109472275, 0.011187723837792873, -0.006178089417517185, 0.07007048279047012, -0.03142867237329483, 0.020958581939339638, 0.018787279725074768, 0.0106909004971385, 0.015659132972359657, 0.005074037704616785, -0.006385099142789841, 0.032827138900756836, 0.011583342216908932, -0.01486789621412754, 0.06510224938392639, -0.024178732186555862, 0.001468618749640882, 0.02191542647778988, -0.029018158093094826, 0.06984966993331909, -0.016312364488840103, 0.02911016345024109, 0.013349825516343117, -0.014886297285556793, -0.032477520406246185, -0.010157275944948196, -0.007052130065858364, 0.025687603279948235, -0.006403499748557806, 0.04228518158197403, 0.07386105507612228, 0.024528348818421364, -0.05707947164773941, 0.012641391716897488, -0.03361837565898895, 0.010194077156484127, 0.005750269163399935, 0.022449051961302757, 0.06532306224107742, -0.06535986065864563, 0.011187723837792873, 0.0685616135597229, 0.010000868700444698, -0.03339756280183792, -0.01872287690639496, 0.019707322120666504, -0.008372391574084759, -0.03915703296661377, 0.012300975620746613, -0.008427594788372517, 0.00410799216479063, -0.005759469699114561, 0.03148387372493744, 0.057447489351034164, 0.05247925594449043, -0.0529208779335022, 0.008386192843317986, -0.06355657428503036, -0.028686942532658577, -0.005699666682630777, 0.016873590648174286, -0.0008165382314473391, -0.04651737958192825, 0.029441379010677338, -0.006086084991693497, -0.016339965164661407, -0.03198069706559181, -0.0036962730810046196, -0.0034731626510620117, -0.00020111566118430346, -0.018428463488817215, -0.014950700104236603, -0.02769329585134983, 0.05884595587849617, 0.023369094356894493, 0.036010485142469406, 0.00006174351437948644, 0.038384199142456055, -0.030895046889781952, -0.0007561604143120348, 0.033360760658979416, 0.012521786615252495, -0.016937993466854095, -0.058661945164203644, -0.05641704052686691, -0.03853140398859978, -0.07721001654863358, 0.050675973296165466, -0.015291116200387478, -0.0030177412554621696, -0.023847516626119614, 0.0002816194319166243, 0.01229177601635456, -0.04935111105442047, -0.07021769136190414, 0.0019918931648135185, 0.0183180570602417, -0.000010125864719157107, -0.041843559592962265, 0.011923758313059807, -0.0013973154127597809, 0.08847134560346603, -0.02688365802168846, -0.030453426763415337, 0.01580633968114853, -0.05546019598841667, 0.00909922644495964, -0.02219143882393837, 0.017664827406406403, -0.005170641932636499, -0.04386765509843826, 0.0034156600013375282, 0.0006371298222802579, 0.005524858832359314, -0.027987711131572723, -0.003236251650378108, -0.0359552837908268, -0.030637433752417564, 0.012319376692175865, -0.015833942219614983, 0.007029129192233086, -0.03238551691174507, 0.03693052753806114, -0.020590564236044884, 0.020130543038249016, 0.06488143652677536, -0.022449051961302757, 0.0017308309907093644, -0.04283720627427101, 0.030103810131549835, 0.06410860270261765, -0.02524598129093647, -0.04309481754899025, 0.04250599071383476, 0.04221157729625702, -0.028742145746946335, 0.0345936194062233, 0.001774533069692552, -0.0672367513179779, 0.00719473697245121, 0.009168229065835476, 0.018686074763536453, 0.025540396571159363, -0.032532721757888794, -0.011086518876254559, 0.06458702683448792, -0.02870534360408783, 0.027509288862347603, -0.013625837862491608, 0.04221157729625702, 0.06418220698833466, -0.004441508091986179, -0.00454961322247982, 0.016919592395424843, -0.017802834510803223, -0.026902059093117714, -0.021473806351423264, 0.030048606917262077, -0.0022081034258008003, -0.0151071073487401, -0.012604590505361557, -0.0481734573841095, -0.022393848747015, -0.0030200413893908262, -0.029827795922756195, -0.027380481362342834, -0.03989306837320328, 0.022982675582170486, 0.058809153735637665, -0.029975004494190216, 0.03420720249414444, 0.018336458131670952, 0.002845233306288719, -0.025613998994231224, 0.03067423589527607, -0.008593202568590641, -0.03231191262602806, 0.0021126489154994488, -0.034299205988645554, 0.0773572251200676, 0.04622296616435051, -0.06359338015317917, -0.0011995062232017517, -0.04865187779068947, -0.04986633360385895, 0.030048606917262077, -0.0009459193097427487, 0.08015415072441101, -0.002173601882532239, -0.0013145115226507187, -0.05200083553791046, -0.03450161591172218, 0.06962885707616806, -0.02736208215355873, 0.03175988793373108, 0.00020240947196725756, 0.011012915521860123, 0.01580633968114853, -0.009513245895504951, 0.034041594713926315, -0.02842933125793934, -0.007999774999916553, -0.037574559450149536, 0.055276188999414444, -0.035605669021606445, -0.04309481754899025, -0.039341043680906296, 0.0006802568677812815, -0.016183556988835335, 0.010056070983409882, 0.037979379296302795, 0.018971288576722145, -0.017499219626188278, 0.011417734436690807, -0.04603895545005798, 0.006960126105695963, 0.014637885615229607, -0.00865760538727045, -0.03630489856004715, 0.04695899784564972, 0.023994723334908485, -0.017048398032784462, -0.013754644431173801, 0.021418603137135506, -0.05987640470266342, 0.061863698065280914, 0.025687603279948235, -0.0007647858001291752, -0.017490018159151077, 0.0044553084298968315, 0.0753699317574501, 0.019026491791009903, -0.03367357701063156, -0.016468770802021027, -0.009448842145502567, -0.035532064735889435, -0.02504357323050499, -0.0028866352513432503, 0.036893729120492935, 0.07816685736179352, 0.005244245752692223, -0.01268739439547062, 0.03591848164796829, -0.010479290969669819, 0.002631323179230094, 0.00380897824652493, -0.03794257715344429, -0.017342811450362206, -0.04372044652700424, -0.018373260274529457, -0.03996667265892029, 0.02314828336238861, -0.010847307741641998, -0.020866576582193375, -0.040555499494075775, 0.03981946408748627, -0.0359920859336853, -0.006182689685374498, -0.015493525192141533, 0.040739506483078, 0.05376731604337692, 0.005823872517794371, 0.013414228335022926, 0.01974412426352501, -0.0022989576682448387, -0.0481734573841095, 0.010442488826811314, -0.0057318685576319695, 0.10613617300987244, 0.01961531862616539, 0.023773912340402603, 0.016717182472348213, -0.013929451815783978, -0.032735131680965424, -0.03477763012051582, -0.011178523302078247, -0.052700068801641464, 0.023497899994254112, 0.020792974159121513, 0.04688539355993271, -0.02911016345024109, -0.0353112518787384, -0.03264312818646431, 0.026589244604110718, 0.040077075362205505, 0.015291116200387478, -0.0325695239007473, 0.021418603137135506, 0.043462835252285004, 0.012144568376243114, -0.03415199741721153, 0.05137520655989647, 0.0011351031716912985, -0.03974585980176926, -0.027803702279925346, 0.005304048303514719, -0.010865708813071251, 0.04147554188966751, -0.014343471266329288, 0.03564246743917465, 0.0014237667201086879, 0.017416415736079216, -0.013377426192164421, 0.03205430135130882, 0.027030866593122482, -0.04655418172478676, -0.06984966993331909, -0.0617532916367054, -0.027950908988714218, -0.004466809332370758, -0.04195396602153778, 0.010985314846038818, 0.022982675582170486, -0.006431101355701685, 0.0644766166806221, -0.03748255595564842, 0.008648404851555824, -0.0015951247187331319, -0.00003752050542971119, -0.0018630872946232557, -0.03834739699959755, -0.007410947233438492, 0.013073812238872051, -0.10959552973508835, 0.008809412829577923, 0.02342429757118225, 0.06149568036198616, -0.03218310698866844, 0.03970905765891075, 0.017361212521791458, 0.009412040933966637, 0.03670971840620041, 0.0023737112060189247, 0.0008504647994413972, -0.0373353473842144, 0.039672259241342545, -0.03716973960399628, 0.006385099142789841, 0.092298723757267, -0.026791654527187347, -0.056085824966430664, 0.02252265438437462, -0.03216470777988434, -0.008321790024638176, 0.034998439252376556, 0.007079731673002243, -0.023129882290959358, 0.030048606917262077, 0.018612472340464592, 0.014168663881719112, -0.0071809361688792706, -0.033894386142492294, -0.04574454203248024, -0.034722425043582916, -0.0033765581902116537, -0.0339495912194252, -0.03930424153804779, 0.04037148877978325, 0.006996927782893181, -0.020516959950327873, 0.07364024966955185, 0.019707322120666504, -0.053104884922504425, -0.004209197126328945, -0.09803979098796844, 0.0529576800763607, 0.02585321106016636, -0.00837699230760336, -0.05638023838400841, -0.009011821821331978, 0.08221504837274551, -0.052295248955488205, 0.009651252068579197, -0.02612922340631485, -0.05439294874668121, 0.0015054205432534218, 0.05402493104338646, -0.018005242571234703, 0.013285421766340733, 0.0030476427637040615, -0.008929017931222916, 0.03591848164796829, 0.0345936194062233, 0.05891956016421318, -0.03812658414244652, 0.014527480117976665, 0.025613998994231224, -0.04688539355993271, -0.01785803586244583, 0.030453426763415337, -0.023847516626119614, -0.006279293913394213, 0.017563622444868088, 0.013248620554804802, 0.035532064735889435, 0.036617714911699295, 0.06697913259267807, 0.012935806065797806, -0.0631149560213089, -0.0712849348783493, 0.09112107008695602, 0.0041907960548996925, -0.03812658414244652, -0.04029788821935654, 0.020811375230550766, -0.01581554114818573, 0.02300107665359974, -0.016238760203123093, -0.03889942169189453, 0.008422994054853916, 0.03269832953810692, -0.029441379010677338, 0.022154636681079865, 0.01191455777734518, 0.011583342216908932, 0.006187289487570524, -0.04335242882370949, -0.015787938609719276, -0.0773572251200676, -0.030895046889781952, 0.013690240681171417, -0.07433947920799255, -0.0017883337568491697, -0.020608965307474136, -0.022504253312945366, 0.04368364438414574, 0.0658382847905159, 0.010442488826811314, 0.0353112518787384, -0.016312364488840103, 0.028926154598593712, 0.043462835252285004, 0.0014663186157122254, -0.01229177601635456, -0.02064576745033264, 0.01167534664273262, 0.01180415228009224, 0.06046523153781891, 0.05763150006532669, -0.017057599499821663, -0.09148908406496048, -0.0035996686201542616, 0.0024588152300566435, 0.04386765509843826, -0.023534702137112617, 0.04832066223025322, 0.0011322280624881387, 0.019909732043743134, -0.019707322120666504, 0.03277193382382393, -0.08155261725187302, -0.01310141384601593, -0.013874249532818794, -0.01346943061798811, 0.012273374944925308, 0.015631532296538353, 0.00504183629527688, 0.05925077572464943, 0.046186164021492004, 0.01852966845035553, 0.00001484288259234745, -0.0079767731949687, -0.03080304153263569, -0.0024772160686552525, 0.10598896443843842, -0.008809412829577923, 0.036617714911699295, 0.014352671802043915, 0.02898135781288147, -0.010341283865272999, 0.042653195559978485, -0.09458042681217194, 0.02620282769203186, -0.012438982725143433, -0.013267021626234055, 0.022909073159098625, -0.008823213167488575, -0.022228240966796875, -0.026386834681034088, 0.0005692766280844808, 0.04268999770283699, 0.05593862012028694, -0.014371072873473167, -0.032551124691963196, -0.0007768613868393004, -0.041365135461091995, -0.05788911134004593, -0.02266986109316349, 0.050859980285167694, 0.008013575337827206, 0.052221644669771194, -0.07963892817497253, 0.009343037381768227, -0.04975593090057373, 0.02789570577442646 ]
41,087
pyglove.core.object_utils.common_traits
MaybePartial
Interface for classes whose instances can be partially constructed. A ``MaybePartial`` object is an object whose ``__init__`` method can accept ``pg.MISSING_VALUE`` as its argument values. All symbolic types (see :class:`pyglove.Symbolic`) implements this interface, as their symbolic attributes can be partially filled. Example:: d = pg.Dict(x=pg.MISSING_VALUE, y=1) assert d.is_partial assert 'x' in d.missing_values()
class MaybePartial(metaclass=abc.ABCMeta): """Interface for classes whose instances can be partially constructed. A ``MaybePartial`` object is an object whose ``__init__`` method can accept ``pg.MISSING_VALUE`` as its argument values. All symbolic types (see :class:`pyglove.Symbolic`) implements this interface, as their symbolic attributes can be partially filled. Example:: d = pg.Dict(x=pg.MISSING_VALUE, y=1) assert d.is_partial assert 'x' in d.missing_values() """ @property def is_partial(self) -> bool: """Returns True if this object is partial. Otherwise False. An object is considered partial when any of its required fields is missing, or at least one member is partial. The subclass can override this method to provide a more efficient solution. """ return len(self.missing_values()) > 0 # pylint: disable=g-explicit-length-test @abc.abstractmethod def missing_values(self, flatten: bool = True) -> Dict[str, Any]: # pylint: disable=redefined-outer-name """Returns missing values from this object. Args: flatten: If True, convert nested structures into a flattened dict using key path (delimited by '.' and '[]') as key. Returns: A dict of key to MISSING_VALUE. """
()
[ 0.05457064136862755, -0.0288439579308033, -0.000745509983971715, -0.0006005337927490473, 0.005634015426039696, 0.0016778272110968828, 0.0060099223628640175, -0.04782266169786453, 0.047969356179237366, -0.04624568670988083, 0.01418359950184822, 0.036398764699697495, 0.004082254599779844, 0.00006006054172758013, -0.049032896757125854, 0.045695580542087555, 0.007192652672529221, 0.07056042551994324, 0.0019769479986280203, -0.020684033632278442, 0.03146613761782646, 0.033446524292230606, -0.022701093927025795, 0.1127353236079216, 0.007765681017190218, -0.037810709327459335, 0.006628792732954025, -0.021674226969480515, 0.026001738384366035, -0.02237102948129177, 0.033061448484659195, -0.00513891875743866, -0.01720002107322216, -0.022866126149892807, -0.011323041282594204, -0.05831137299537659, 0.04639238119125366, 0.059154871851205826, -0.10965471714735031, -0.029559098184108734, 0.006793824955821037, -0.024553121998906136, -0.08434978127479553, -0.028312187641859055, 0.029522424563765526, -0.009828583337366581, 0.06040177866816521, 0.048629485070705414, -0.025653336197137833, -0.004377936944365501, 0.03594034165143967, 0.028513895347714424, -0.023911330848932266, -0.0175392534583807, -0.03627040609717369, 0.0895574688911438, -0.027211973443627357, 0.08647686243057251, -0.02277444116771221, 0.042981717735528946, -0.06175871193408966, 0.016420703381299973, 0.04617233946919441, -0.059594955295324326, 0.006954273208975792, 0.026221780106425285, -0.020482327789068222, -0.03876422718167305, -0.019437124952673912, 0.00404328852891922, -0.048556137830019, -0.017750129103660583, 0.015696395188570023, 0.06406915932893753, 0.04001113772392273, -0.017126673832535744, -0.03517019376158714, -0.028568904846906662, 0.08574339002370834, -0.04851946234703064, -0.05464399233460426, -0.04624568670988083, -0.0869169533252716, -0.05933823809027672, -0.018511110916733742, 0.015778910368680954, -0.014027736149728298, -0.009599371813237667, 0.11522913724184036, 0.023269537836313248, -0.07899540662765503, 0.03746230527758598, 0.031594496220350266, 0.04437532275915146, 0.04712585732340813, 0.030585965141654015, 0.03087935596704483, -0.02359960228204727, -0.03650878742337227, -0.03964439779520035, 0.004950965754687786, -0.06395914405584335, -0.04558555781841278, 0.033703241497278214, 0.047382574528455734, -0.02094075083732605, 0.01945546083152294, -0.05167341232299805, 0.0005584161845035851, -0.02194928005337715, -0.029339054599404335, -0.05486403405666351, -0.05864143744111061, 0.04708918556571007, 0.02238936722278595, -0.003458799561485648, -0.018401088193058968, -0.01014947984367609, 0.011955665424466133, -0.0009036658448167145, -0.0028513893485069275, 0.0012950442032888532, -0.06729646027088165, 0.019528808072209358, 0.061868734657764435, 0.00269094156101346, 0.01422027312219143, -0.012890847399830818, 0.02422305755317211, 0.015292982570827007, 0.03647211194038391, 0.02635013870894909, -0.02840387262403965, 0.002067486522719264, -0.05519409850239754, 0.05849474295973778, 0.018181046470999718, -0.017777634784579277, -0.009608540683984756, 0.01422027312219143, -0.01971217803657055, -0.05376381799578667, 0.0025144487153738737, 0.0217292383313179, 0.03504183515906334, -0.022719431668519974, 0.04452201724052429, -0.013697671703994274, 0.01730087399482727, 0.02035396918654442, 0.006252886261790991, -0.01617315411567688, 0.006922183558344841, 0.003754482138901949, -0.03704055771231651, -0.030549291521310806, 0.01886867918074131, -0.033684901893138885, -0.034895140677690506, -0.041184697300195694, 0.00714681064710021, -0.023782972246408463, -0.036985546350479126, 0.012322403490543365, -0.005835721269249916, 0.02176591195166111, 0.05611094459891319, -0.08471652120351791, 0.013275922276079655, 0.025983400642871857, -0.013248417526483536, -0.01696164160966873, -0.013899377547204494, 0.007330179680138826, 0.011854812502861023, 0.0646192729473114, -0.0288439579308033, -0.047749314457178116, -0.003610079176723957, -0.02075738087296486, 0.055267445743083954, -0.006005337927490473, -0.0962321013212204, -0.003486305009573698, 0.0427616722881794, 0.031594496220350266, -0.024534784257411957, -0.019620493054389954, 0.0447787344455719, 0.02594672702252865, -0.028110481798648834, -0.0075135487131774426, 0.04785933345556259, 0.07063377648591995, 0.025616662576794624, -0.010305343195796013, 0.033648230135440826, 0.010699586942791939, -0.004960134159773588, 0.026570182293653488, -0.06949688494205475, -0.08963081240653992, 0.011341379024088383, -0.0009214297169819474, -0.036398764699697495, 0.035646952688694, -0.017007483169436455, -0.0036077869590371847, -0.01655822992324829, -0.03517019376158714, -0.06340903043746948, -0.038654204457998276, 0.00007714395178481936, 0.007779433857649565, -0.00028751700301654637, -0.05115997791290283, 0.00015285532572306693, -0.015577204525470734, -0.029999183490872383, 0.018492773175239563, 0.00962687749415636, -0.014385305345058441, 0.026625193655490875, 0.017970170825719833, 0.016649913042783737, 0.017108336091041565, -0.03711390495300293, -0.005349793471395969, -0.034546736627817154, -0.004112051799893379, 0.0476759634912014, -0.001651467871852219, 0.018089361488819122, -0.036215394735336304, 0.021252477541565895, 0.001079585519619286, 0.007128473836928606, -0.013826030306518078, 0.06040177866816521, -0.008760458789765835, 0.004396274220198393, -0.019217081367969513, -0.03858085721731186, 0.003018713789060712, 0.024534784257411957, -0.022719431668519974, -0.018199382349848747, 0.03456507623195648, 0.018556952476501465, -0.024131372570991516, -0.020794056355953217, 0.024791501462459564, -0.00652335537597537, -0.01294585783034563, 0.038654204457998276, -0.05552416294813156, -0.01504543423652649, 0.0052351877093315125, 0.027083614841103554, 0.02055567502975464, -0.0009093960979953408, -0.02301282249391079, -0.01378018781542778, 0.06843334436416626, 0.0057715424336493015, -0.0051205819472670555, 0.005996169522404671, 0.002702401950955391, -0.03727893903851509, 0.06516937911510468, -0.016448207199573517, 0.013862703926861286, 0.047749314457178116, -0.036178722977638245, -0.002203867305070162, 0.006981778424233198, 0.01691580004990101, -0.00046959679457359016, 0.058971501886844635, -0.03674716874957085, -0.004827191587537527, -0.03340984880924225, 0.02385631948709488, -0.007733591832220554, 0.009883594699203968, 0.01816270872950554, -0.07254081219434738, -0.0350785069167614, 0.008820053189992905, -0.0018738029757514596, 0.05178343132138252, -0.037847381085157394, 0.0163748599588871, 0.008852142840623856, 0.023104505613446236, 0.03872755169868469, -0.030787670984864235, -0.04026785492897034, 0.013285091146826744, -0.03647211194038391, 0.032016243785619736, -0.044485341757535934, 0.024553121998906136, 0.03111773543059826, 0.004827191587537527, -0.026166770607233047, 0.019987231120467186, 0.022957811132073402, -0.0070688785053789616, 0.018116867169737816, -0.019822198897600174, -0.013147564604878426, 0.024791501462459564, 0.034326694905757904, 0.04081796109676361, 0.005991585087031126, 0.004618609324097633, -0.026405150070786476, 0.03603202849626541, 0.02693692035973072, -0.029907500371336937, 0.02033563330769539, -0.03403330594301224, 0.026826899498701096, -0.05226019397377968, 0.005271861329674721, 0.04103800281882286, -0.012038181535899639, -0.025818368420004845, 0.0014394473982974887, -0.022719431668519974, -0.0015746820718050003, 0.002281799213960767, 0.036985546350479126, -0.06975360214710236, 0.008820053189992905, 0.03384993597865105, -0.02836719900369644, 0.06920349597930908, -0.02842221036553383, 0.05801798030734062, -0.03960772603750229, -0.022646082565188408, 0.0030210057739168406, 0.010772934183478355, -0.03663714602589607, 0.02572668343782425, -0.03047594428062439, 0.06289560347795486, -0.007719838991761208, -0.013908546417951584, 0.006610455922782421, 0.020812392234802246, 0.007229326758533716, 0.03392328321933746, -0.02319619059562683, 0.03197957202792168, 0.014211105182766914, -0.020243948325514793, -0.0008389136055484414, 0.07367770373821259, -0.017126673832535744, -0.07111053913831711, -0.012019844725728035, 0.036178722977638245, 0.021234141662716866, -0.011799801141023636, 0.005322287790477276, -0.05009643733501434, -0.051526717841625214, -0.011570589616894722, -0.04686914011836052, -0.026918582618236542, -0.038434162735939026, 0.014201936312019825, -0.05115997791290283, -0.011506411246955395, 0.02343457005918026, -0.054423946887254715, -0.01295502670109272, 0.023562928661704063, -0.06516937911510468, -0.029155686497688293, -0.009136364795267582, -0.05684442073106766, 0.0088017163798213, 0.050463173538446426, 0.012789994478225708, -0.012175708077847958, 0.033061448484659195, 0.003866795916110277, -0.03795740380883217, -0.015586373396217823, -0.0020193522796034813, -0.004795101936906576, -0.012560782954096794, 0.03392328321933746, -0.030824344605207443, -0.02215098775923252, -0.013862703926861286, 0.09806579351425171, -0.09476514905691147, -0.022646082565188408, 0.04334845393896103, 0.025029880926012993, -0.02319619059562683, 0.07169731706380844, -0.02073904499411583, 0.0318695493042469, 0.008577089756727219, 0.024791501462459564, -0.007958218455314636, -0.0046690357849001884, -0.05735785514116287, 0.012808331288397312, -0.04602564498782158, -0.0041418494656682014, -0.0352068655192852, 0.003344193799421191, -0.0021121827885508537, 0.060841865837574005, -0.014486158266663551, 0.0621621236205101, 0.010259500704705715, -0.014532000757753849, 0.016530724242329597, -0.01597144827246666, -0.0539105124771595, 0.04540218785405159, 0.02734033204615116, -0.04690581560134888, -0.0069359359331429005, -0.05820135027170181, -0.037664011120796204, -0.019767189398407936, -0.06197875365614891, -0.012689141556620598, -0.013321764767169952, -0.019767189398407936, 0.047785986214876175, 0.027890440076589584, 0.07265083491802216, -0.015943942591547966, 0.02367294952273369, 0.03023756481707096, 0.037810709327459335, 0.01832774095237255, 0.015678057447075844, 0.046722445636987686, 0.01806185580790043, 0.013110890053212643, -0.015127950347959995, 0.08860395103693008, -0.0060099223628640175, -0.015164623968303204, -0.014972086995840073, -0.05299367010593414, -0.018116867169737816, -0.03317147120833397, -0.0009575305157341063, 0.016182322055101395, 0.035738635808229446, -0.01822688803076744, -0.02924737147986889, -0.020152263343334198, 0.04532884061336517, -0.002099576173350215, 0.0005375006585381925, -0.059778325259685516, 0.020629024133086205, 0.011781464330852032, 0.02365461364388466, 0.011955665424466133, -0.037187252193689346, -0.00455672200769186, 0.006926767528057098, -0.003206667024642229, 0.015604710206389427, 0.011488073505461216, -0.0721740797162056, 0.02323286421597004, 0.03526187688112259, 0.002121351193636656, 0.0032456330955028534, 0.03392328321933746, 0.01524714007973671, -0.017392558977007866, 0.01929042860865593, 0.045072123408317566, -0.006931351963430643, -0.052956994622945786, 0.029485750943422318, -0.011478905566036701, 0.018639469519257545, -0.01419276837259531, 0.016585735604166985, -0.01191899087280035, 0.030127542093396187, 0.09344489127397537, -0.029889162629842758, -0.004540677182376385, 0.0025052803102880716, 0.03296976536512375, 0.024168046191334724, -0.006069517228752375, -0.10921463370323181, -0.019932221621274948, 0.0306409765034914, -0.0025786280166357756, -0.0053589618764817715, 0.01534799300134182, 0.01947379857301712, 0.03770068660378456, 0.021912606433033943, 0.0250665545463562, 0.03207125514745712, 0.019583819434046745, -0.010727091692388058, 0.007311842869967222, -0.04562222957611084, 0.016732430085539818, 0.029302380979061127, 0.03069598600268364, 0.0048730336129665375, -0.0543505996465683, 0.02592839114367962, 0.021215803921222687, -0.09146450459957123, -0.013395112939178944, -0.027083614841103554, 0.03007253259420395, -0.04081796109676361, 0.01418359950184822, 0.06652630865573883, 0.0022726308088749647, 0.002908692229539156, 0.0058953166007995605, -0.02381964586675167, -0.005455230828374624, 0.03043927066028118, 0.03737062215805054, 0.0563676618039608, 0.08816386014223099, 0.0366554819047451, 0.050683218985795975, 0.013587649911642075, -0.018923690542578697, 0.005634015426039696, -0.019162070006132126, 0.010066963732242584, -0.007458537817001343, -0.04719920456409454, -0.002017060061916709, -0.018611963838338852, -0.04602564498782158, 0.0008710031979717314, 0.01780513860285282, 0.02530493587255478, 0.02200429141521454, 0.02279277890920639, 0.040964655578136444, 0.009237218648195267, 0.0621621236205101, -0.06509602814912796, -0.02237102948129177, -0.0022393951658159494, 0.009920268319547176, 0.030420932918787003, 0.01758509688079357, 0.03005419485270977, -0.011955665424466133, 0.06836000084877014, -0.016723262146115303, 0.004987639375030994, 0.03194289654493332, -0.018511110916733742, -0.018832005560398102, 0.014064409770071507, -0.03623373433947563, -0.07906875759363174, -0.007371437735855579, -0.03164950758218765, 0.045952294021844864, -0.046979162842035294, 0.009218880906701088, 0.004116636235266924, -0.015375498682260513, 0.05200347676873207, 0.0016709509072825313, -0.008219519630074501, 0.009434339590370655, 0.01951047219336033, 0.03623373433947563, -0.012276560999453068, 0.040524572134017944, 0.057907961308956146, -0.03108106181025505, -0.02277444116771221, -0.0039447275921702385, -0.028293851763010025, -0.05310368910431862, 0.0438985601067543, -0.011286367662250996, 0.05053652450442314, -0.01003945805132389, 0.015659721568226814, -0.01641153357923031, 0.03311645984649658, 0.017392558977007866, -0.08024231344461441, -0.003937851171940565, -0.02154586836695671, 0.012395750731229782, 0.001019990653730929, -0.04661242291331291, -0.03759066388010979, -0.05743120238184929, -0.007600649259984493, -0.019143734127283096, 0.004332094918936491, -0.09124445915222168, -0.0385441854596138, -0.03559194132685661, 0.038434162735939026, -0.0046782041899859905, 0.0005458095693029463, -0.00596407987177372, -0.01120385155081749, -0.027835428714752197, -0.00018236628966405988, 0.017374221235513687, 0.03293308988213539, -0.0267352145165205, -0.00037848527426831424, -0.021802585572004318, -0.0015391543274745345, 0.010360353626310825, -0.02112412080168724, -0.01192815974354744, 0.10598734021186829, -0.09674553573131561, -0.06311564147472382, -0.030989376828074455, 0.07397109270095825, -0.030585965141654015, 0.032456330955028534, -0.054423946887254715, -0.051123302429914474, 0.030200889334082603, -0.025121565908193588, -0.014229441992938519, 0.04411860555410385, 0.020647360011935234, -0.058788131922483444, -0.01873115263879299, 0.016081469133496284, 0.028697263449430466, -0.04048789665102959, 0.007133057806640863, 0.027890440076589584, 0.006188706960529089, -0.07914210110902786, -0.011808970011770725, -0.029889162629842758, 0.06403248757123947, 0.055927574634552, -0.0008704302017576993, -0.06986362487077713, 0.024003013968467712, 0.0127533208578825, -0.01593477465212345, 0.016439039260149002, 0.01929042860865593, -0.012725815176963806, -0.0597049780189991, 0.005230603273957968, -0.02717529982328415, 0.045695580542087555, -0.009553530253469944, 0.004228950012475252, 0.10980141162872314, -0.012505772523581982, -0.03707722947001457, -0.0025006961077451706, -0.05541414022445679, -0.025763358920812607, -0.01422027312219143, -0.012414087541401386, 0.02570834755897522, -0.03669215738773346, 0.05427725240588188, -0.006436255294829607, 0.027487028390169144, 0.09652549028396606, -0.011955665424466133, -0.06586617976427078, -0.017163347452878952, 0.0035665289033204317, 0.060805194079875946, 0.011158009059727192, 0.013230080716311932, 0.009416002780199051, -0.03278639540076256, -0.008613763377070427, -0.018401088193058968, 0.06425253301858902, -0.009663551114499569, 0.02055567502975464, -0.004242702387273312, -0.015540530905127525, -0.008164509199559689, 0.11970334500074387, 0.016008121892809868, -0.06766320019960403, 0.011753958649933338, -0.02176591195166111, 0.036362092941999435, 0.005876979324966669, 0.014843728393316269, 0.003293767338618636, 0.016989147290587425, 0.013954387977719307, 0.010167816653847694, 0.013908546417951584, 0.027413679286837578, 0.027505364269018173, -0.026258453726768494, -0.05101328343153, -0.012514940463006496, 0.023709625005722046, 0.049032896757125854, 0.06755317747592926, -0.05512075126171112, 0.03131944313645363, 0.0481160506606102, -0.02319619059562683, -0.014504495076835155, 0.01888701692223549, -0.03645377606153488, 0.03023756481707096, -0.04151476174592972, 0.026625193655490875, 0.08801716566085815, 0.02403968945145607, 0.0163748599588871, -0.004091423004865646, 0.0302925743162632, 0.061465319246053696, -0.02215098775923252, 0.029889162629842758, 0.012184876017272472, 0.021307488903403282, -0.007330179680138826, 0.03377658873796463, 0.030604302883148193, -0.02592839114367962, -0.016631577163934708, -0.006624208763241768, -0.025378283113241196, -0.051490042358636856, -0.13209909200668335, -0.07158729434013367, 0.012065686285495758, 0.06612289696931839, -0.004079962614923716, 0.048152726143598557, -0.01649405062198639, 0.03817744553089142 ]
41,088
pyglove.core.object_utils.common_traits
missing_values
Returns missing values from this object. Args: flatten: If True, convert nested structures into a flattened dict using key path (delimited by '.' and '[]') as key. Returns: A dict of key to MISSING_VALUE.
@abc.abstractmethod def missing_values(self, flatten: bool = True) -> Dict[str, Any]: # pylint: disable=redefined-outer-name """Returns missing values from this object. Args: flatten: If True, convert nested structures into a flattened dict using key path (delimited by '.' and '[]') as key. Returns: A dict of key to MISSING_VALUE. """
(self, flatten: bool = True) -> Dict[str, Any]
[ 0.03576444834470749, -0.06709632277488708, 0.021555183455348015, 0.004542049020528793, -0.047328464686870575, -0.006380763370543718, -0.0005146947805769742, -0.03685471788048744, 0.06452256441116333, -0.010420125909149647, 0.00024226681853178889, 0.030581193044781685, 0.033959243446588516, 0.01016990002244711, -0.02747124247252941, 0.023306766524910927, 0.01538890041410923, 0.10266415774822235, 0.04178774356842041, 0.021894777193665504, 0.0015907225897535682, -0.03474567085504532, -0.02436129003763199, 0.07692662626504898, -0.03301196172833443, -0.007055480033159256, 0.007243149448186159, -0.02344975247979164, 0.012824083678424358, -0.004633649718016386, -0.04886556789278984, -0.008927706629037857, 0.004986647050827742, 0.027935948222875595, -0.02209138311445713, -0.08178815990686417, -0.03674747794866562, 0.018498852849006653, -0.13061797618865967, 0.0032216599211096764, 0.01604127511382103, -0.02205563522875309, -0.038963764905929565, -0.062377769500017166, 0.034942276775836945, -0.016193198040127754, 0.0482221283018589, 0.01842735894024372, -0.021555183455348015, 0.005527313798666, 0.03311920166015625, 0.052726197987794876, -0.03610403835773468, 0.01946401037275791, -0.06688184291124344, 0.024593641981482506, -0.008807062171399593, -0.005254746414721012, -0.02773934043943882, 0.022913554683327675, -0.06673885136842728, 0.024486403912305832, -0.0027994036208838224, -0.02605925314128399, -0.004005850292742252, 0.02446852996945381, -0.04346783459186554, -0.005714983679354191, -0.015424646437168121, 0.013020689599215984, -0.023324638605117798, -0.04139453172683716, -0.027524862438440323, 0.04439724609255791, 0.06294971704483032, -0.016175324097275734, -0.013994784094393253, -0.009821371175348759, 0.036247026175260544, -0.07742708176374435, -0.05908908694982529, 0.01709579862654209, -0.0556216686964035, -0.0033110263757407665, -0.0062779919244349, 0.08264607936143875, 0.047256968915462494, 0.028221920132637024, 0.08600625395774841, 0.0656307116150856, -0.0642365962266922, 0.026291605085134506, -0.007001860067248344, 0.05698003992438316, 0.022556088864803314, 0.03176083043217659, 0.01521016750484705, -0.027989568188786507, -0.0010623434791341424, -0.04575561359524727, 0.0348171629011631, -0.065451979637146, -0.03910675272345543, 0.012314694933593273, -0.013199422508478165, -0.06416510045528412, 0.003681897185742855, -0.07706961035728455, 0.07328047603368759, -0.01905292458832264, -0.0888659805059433, -0.0045152390375733376, -0.010670352727174759, 0.00902600958943367, -0.01638980396091938, -0.0023592738434672356, -0.01118867751210928, 0.0029423898085951805, -0.010858021676540375, -0.022842060774564743, 0.0005387120181694627, 0.07142165303230286, -0.03685471788048744, 0.014942067675292492, 0.051689546555280685, 0.016881318762898445, -0.011805306188762188, 0.031957436352968216, 0.07571124285459518, 0.047328464686870575, 0.04425425827503204, 0.014218199998140335, -0.0004557688080240041, -0.0176677443087101, -0.0029423898085951805, 0.03188594430685043, 0.05994700267910957, 0.007801689673215151, 0.036318518221378326, -0.0030518637504428625, 0.04085833206772804, -0.07649766653776169, 0.010464809834957123, 0.009446032345294952, 0.01873120479285717, -0.003483056789264083, 0.05572890862822533, 0.04071534797549248, -0.05015244334936142, -0.015138673596084118, 0.02103685960173607, 0.03045608103275299, -0.028204046189785004, -0.03140336647629738, -0.012341504916548729, -0.021984143182635307, 0.027596354484558105, -0.02543368749320507, -0.022270115092396736, -0.04911579191684723, -0.029240697622299194, -0.04425425827503204, 0.008270863443613052, -0.0071046315133571625, -0.01835586503148079, 0.020875999704003334, 0.05487098917365074, -0.04815063625574112, 0.004392360337078571, 0.019660616293549538, -0.002275492763146758, -0.0231101606041193, -0.025952013209462166, -0.025880519300699234, 0.02439703606069088, 0.025862645357847214, -0.00021182638010941446, 0.007336984388530254, -0.00818149745464325, 0.06570219993591309, 0.008248521946370602, -0.01742645539343357, -0.046970997005701065, -0.04407552629709244, 0.0720650926232338, -0.022591834887862206, -0.021483691409230232, -0.015362090431153774, 0.010598858818411827, 0.08057277649641037, 0.008337887935340405, 0.004620244726538658, 0.04178774356842041, 0.07892843335866928, 0.040572360157966614, -0.010616732761263847, 0.019213782623410225, 0.01733708754181862, -0.04954475164413452, 0.062020305544137955, -0.03746240958571434, -0.04153751954436302, 0.004133197478950024, -0.008958985097706318, -0.05351262167096138, -0.01604127511382103, -0.04779316857457161, -0.038606300950050354, 0.0028172768652439117, 0.016148515045642853, -0.04185923933982849, -0.033887751400470734, -0.016595346853137016, -0.029187077656388283, -0.0082038389518857, -0.03515675663948059, 0.003690833691507578, 0.013923290185630322, -0.02173391729593277, 0.007605083752423525, 0.04150177165865898, -0.07213658839464188, 0.061984557658433914, 0.008105535991489887, 0.016452360898256302, 0.026541830971837044, -0.01869545876979828, -0.04046512022614479, -0.036282774060964584, -0.02035767398774624, 0.016488106921315193, -0.02847214601933956, -0.01876695081591606, -0.012466617859899998, 0.050974614918231964, 0.013923290185630322, 0.049651991575956345, -0.047256968915462494, 0.11295917630195618, -0.007908929139375687, -0.010634605772793293, -0.03653299808502197, -0.031278252601623535, 0.04118005186319351, -0.0011785198003053665, -0.031599972397089005, -0.005723920185118914, 0.08664969354867935, -0.01674726977944374, -0.018802698701620102, 0.018927810713648796, -0.005339644383639097, -0.006103727500885725, 0.03706919774413109, 0.03513888269662857, -0.04793615639209747, -0.00493302708491683, 0.036604490131139755, 0.052976422011852264, -0.05140357464551926, 0.03077780082821846, -0.04940176382660866, -0.03814159333705902, 0.05916057899594307, -0.042002223432064056, 0.003777966136112809, 0.034888654947280884, -0.015817858278751373, -0.055693160742521286, 0.02849001996219158, -0.026988662779331207, 0.020643645897507668, 0.01119761448353529, -0.051296334713697433, -0.001682323170825839, 0.0864352136850357, 0.02477237582206726, -0.04214521124958992, 0.026899296790361404, -0.013994784094393253, -0.04786466062068939, -0.05458501726388931, 0.0058311596512794495, 0.02073301374912262, 0.002330229850485921, 0.012243201956152916, -0.04353932663798332, -0.07428137958049774, -0.025880519300699234, -0.012243201956152916, 0.05190402641892433, -0.00026251390227116644, -0.051975518465042114, 0.014012657105922699, 0.045648373663425446, 0.0050983550027012825, -0.052011266350746155, -0.08093024045228958, 0.023860838264226913, 0.023199526593089104, 0.035978928208351135, 0.02940155752003193, 0.037283677607774734, 0.017220912501215935, 0.02570178732275963, -0.04107281193137169, 0.04479045793414116, 0.05326239392161369, -0.005245809908956289, 0.009955421090126038, -0.07785604149103165, 0.04511217772960663, 0.03537123650312424, 0.004825787618756294, 0.03646150603890419, -0.05111759901046753, -0.00013397983275353909, 0.017256658524274826, 0.03535336256027222, 0.03585381433367729, -0.011117184534668922, 0.03079567290842533, -0.05050990730524063, -0.006622052751481533, -0.021894777193665504, -0.015138673596084118, 0.05172529071569443, 0.014656094834208488, 0.003979040309786797, 0.014137770049273968, 0.026506084948778152, -0.030920786783099174, -0.007908929139375687, 0.009052819572389126, -0.010473745875060558, 0.01571061834692955, 0.031314000487327576, -0.008302141912281513, 0.027935948222875595, 0.016666840761899948, -0.02175178937613964, -0.025934139266610146, -0.0207151398062706, -0.017605187371373177, -0.000010926442882919218, -0.03140336647629738, 0.017167292535305023, -0.02677418291568756, 0.013315598480403423, 0.039964668452739716, -0.008914302103221416, 0.05408456549048424, 0.005026862025260925, 0.01637193001806736, 0.02777508832514286, 0.004825787618756294, -0.027667848393321037, -0.010625668801367283, 0.025183461606502533, 0.018570344895124435, 0.0908677875995636, -0.003121122717857361, -0.0184094849973917, -0.021662423387169838, 0.07907142490148544, -0.047042492777109146, -0.011483586393296719, -0.005942868068814278, -0.0042806523852050304, -0.050617147237062454, -0.026559704914689064, -0.04461172595620155, 0.008110003545880318, -0.06305695325136185, 0.039607204496860504, 0.004470556043088436, 0.014289692975580692, 0.02813255414366722, -0.0574447438120842, 0.0482221283018589, 0.0006462310557253659, -0.010017977096140385, -0.04693525284528732, 0.004767699167132378, 0.011143994517624378, -0.028150426223874092, 0.09837456792593002, 0.013440711423754692, -0.013333472423255444, 0.0012488958891481161, 0.012314694933593273, -0.0036729604471474886, -0.014003720134496689, 0.008932175114750862, -0.036961957812309265, -0.07378093153238297, 0.010000104084610939, -0.0594465509057045, -0.030920786783099174, -0.0368189699947834, 0.04507642984390259, -0.04772167652845383, -0.01388754416257143, -0.016568537801504135, 0.05322664976119995, -0.061734333634376526, 0.005916058085858822, -0.06159134581685066, 0.016595346853137016, 0.0029759022872895002, 0.07378093153238297, -0.025594547390937805, -0.006327143404632807, -0.058660127222537994, 0.03714068979024887, -0.04114430770277977, -0.020214688032865524, 0.027882328256964684, 0.02439703606069088, 0.013967974111437798, 0.013789241202175617, -0.08679267764091492, -0.013592634350061417, 0.04521941766142845, -0.004247139673680067, 0.00888749212026596, -0.032314904034137726, -0.0170153696089983, 0.022145003080368042, 0.04747144877910614, 0.017480075359344482, -0.012296820990741253, -0.047256968915462494, -0.040322136133909225, -0.015219103544950485, -0.0380343534052372, -0.006161815486848354, -0.0556216686964035, -0.005236872937530279, 0.06305695325136185, -0.019517628476023674, 0.03306557983160019, 0.03077780082821846, 0.0013818284496665, 0.03503164276480675, -0.0006663384847342968, -0.02979476936161518, 0.06909812986850739, 0.048007648438215256, -0.008717695251107216, -0.01735496148467064, -0.02879386581480503, 0.07871395349502563, -0.06227053329348564, -0.03245788812637329, 0.038820780813694, -0.0287223719060421, -0.005782008171081543, 0.0022263412829488516, 0.03218979015946388, 0.012127025052905083, 0.030366715043783188, -0.05687279999256134, -0.007412945851683617, 0.011135057546198368, 0.020643645897507668, 0.004910685587674379, -0.03478141501545906, -0.03735516965389252, 0.005496035795658827, 0.021662423387169838, -0.014200326055288315, 0.0019593590404838324, -0.03340517356991768, -0.02143007144331932, -0.038248833268880844, 0.00451747328042984, 0.040286388248205185, -0.014665031805634499, -0.051010359078645706, -0.004559922497719526, -0.011608700267970562, 0.00041052704909816384, -0.03415585309267044, 0.022234369069337845, 0.008011700585484505, -0.009901801124215126, 0.0036662579514086246, -0.0002463162236381322, 0.015799986198544502, -0.03179657831788063, -0.03731942176818848, -0.017891159281134605, 0.0095085883513093, 0.019303150475025177, -0.0010025796946138144, 0.021144097670912743, -0.0002486900193616748, 0.0784279853105545, -0.026666944846510887, -0.01184105221182108, -0.005008988548070192, -0.006023297552019358, 0.05951804667711258, -0.02639884501695633, -0.03640788421034813, 0.0031814451795071363, 0.0012578325113281608, -0.002473216038197279, -0.06030447036027908, -0.02339613251388073, 0.027542734518647194, 0.046327561140060425, 0.0176677443087101, -0.0076408302411437035, -0.0026162024587392807, -0.0400361642241478, -0.01184998918324709, 0.03617553412914276, 0.0037466876674443483, -0.004231500905007124, 0.01219851803034544, 0.00034461930044926703, -0.014522045850753784, -0.051010359078645706, 0.031188884750008583, 0.029866263270378113, -0.01876695081591606, -0.007229744456708431, 0.015281660482287407, 0.009472842328250408, -0.05597913637757301, 0.028150426223874092, 0.04586285352706909, 0.012439807876944542, 0.030295221135020256, 0.034316711127758026, 0.006841000635176897, -0.10223519802093506, 0.06809722632169724, 0.07799902558326721, 0.029330063611268997, 0.039607204496860504, -0.006724824197590351, 0.07328047603368759, 0.0018979196902364492, -0.05050990730524063, 0.029866263270378113, 0.03853480517864227, -0.0009735355852171779, 0.03892802074551582, -0.026577576994895935, 0.01004478707909584, 0.011412093415856361, 0.021501563489437103, -0.0462203212082386, 0.027292508631944656, 0.01000904105603695, 0.0052011264488101006, -0.0019571250304579735, 0.00025413581170141697, -0.016836635768413544, -0.0032864506356418133, -0.060054242610931396, -0.0650230199098587, 0.010732908733189106, -0.07013478130102158, 0.07492481917142868, -0.017301341518759727, 0.042002223432064056, -0.0706709772348404, 0.04253842309117317, 0.020822379738092422, 0.00443480908870697, 0.03606829419732094, 0.041001319885253906, -0.0061707524582743645, 0.004597903229296207, -0.026917170733213425, -0.051689546555280685, 0.01772136427462101, 0.018275436013936996, 0.022967172786593437, -0.008074257522821426, 0.02938368357717991, -0.010545238852500916, -0.01935677044093609, 0.011966165155172348, 0.030027121305465698, -0.012833019718527794, -0.034888654947280884, -0.03917824476957321, 0.0402148962020874, 0.00934772938489914, 0.015782112255692482, 0.022502468898892403, -0.012663223780691624, -0.03319069370627403, 0.005353049375116825, -0.060697682201862335, -0.026631196960806847, 0.028204046189785004, -0.009991167113184929, 0.05451352521777153, -0.013628381304442883, 0.006295865401625633, 0.05115334689617157, 0.0035969989839941263, 0.01018777396529913, -0.02107260562479496, 0.008547899313271046, -0.03419159725308418, 0.02278844080865383, -0.008065320551395416, 0.01070609875023365, -0.03299408778548241, -0.01137634739279747, -0.003018351271748543, -0.0334230475127697, -0.009973294101655483, -0.043932538479566574, -0.08114472031593323, -0.08622073382139206, 0.018534598872065544, -0.048365116119384766, -0.016497043892741203, 0.031206758692860603, 0.06602392345666885, -0.04182349145412445, 0.002228575525805354, 0.01643448695540428, -0.015049307607114315, 0.0065907747484743595, -0.02436129003763199, -0.021001111716032028, 0.037676889449357986, 0.046005841344594955, -0.013619444333016872, 0.011126121506094933, 0.11867862194776535, -0.03814159333705902, -0.01767668128013611, -0.06227053329348564, 0.06580944359302521, -0.0502239353954792, 0.01100100763142109, -0.037962861359119415, -0.046256065368652344, 0.04400403052568436, -0.007886587642133236, -0.02579115331172943, 0.012958132661879063, -0.016640029847621918, -0.036926209926605225, -0.04153751954436302, 0.02302079275250435, -0.029026217758655548, 0.0077793481759727, -0.020000208169221878, 0.014968877658247948, -0.03376263752579689, -0.03419159725308418, -0.06999178975820541, -0.009356665425002575, 0.057659223675727844, 0.0026296074502170086, -0.008387040346860886, -0.02709590271115303, 0.07074247300624847, -0.02368210442364216, -0.0025491775013506413, 0.03279748186469078, 0.037962861359119415, 0.014986750669777393, -0.06473704427480698, 0.04071534797549248, -0.009839244186878204, 0.04350357875227928, 0.01773923635482788, -0.024254050105810165, 0.042931634932756424, 0.033637527376413345, -0.048972807824611664, 0.058052435517311096, -0.04650629311800003, -0.04075109586119652, 0.004273949656635523, -0.032565128058195114, 0.028865357860922813, 0.019571248441934586, 0.0231101606041193, -0.03753390163183212, 0.0004937495687045157, 0.06881215423345566, -0.024200430139899254, -0.0032730456441640854, -0.0023078881204128265, 0.020804505795240402, 0.01155508030205965, 0.02303866669535637, -0.00007191205077106133, -0.0021671359427273273, -0.020572153851389885, 0.00852108933031559, 0.020125320181250572, 0.011161867529153824, 0.011170804500579834, 0.03408435732126236, -0.013923290185630322, 0.01867758482694626, -0.023825092241168022, 0.07449585944414139, -0.032243408262729645, -0.06852617859840393, -0.020822379738092422, -0.01740858145058155, 0.019910842180252075, -0.00036249260301701725, -0.008896428160369396, 0.009910737164318562, 0.02875811792910099, 0.025576673448085785, -0.002841852605342865, 0.0668460950255394, -0.01556763332337141, 0.07549676299095154, -0.03849906101822853, -0.06559496372938156, 0.005916058085858822, 0.038248833268880844, 0.031314000487327576, 0.07227957248687744, -0.02103685960173607, 0.02545156143605709, 0.03619340434670448, -0.05412031337618828, -0.02241310104727745, 0.04643480107188225, -0.0013628380838781595, 0.044647470116615295, 0.03985742852091789, 0.0064656613394618034, 0.01842735894024372, 0.006867810618132353, 0.050652895122766495, -0.036640238016843796, 0.03285109996795654, 0.08143069595098495, -0.03637214004993439, 0.009615828283131123, 0.016246818006038666, 0.013717747293412685, -0.03554996848106384, 0.014951004646718502, 0.0065907747484743595, -0.004568859003484249, -0.0012891108635812998, -0.003786902641877532, 0.02539794147014618, -0.003364646341651678, -0.04225245118141174, -0.03907100483775139, -0.023592738434672356, 0.08250309526920319, -0.03349453955888748, 0.06584519147872925, 0.029884135350584984, 0.012109152041375637 ]
41,089
pyglove.core.symbolic.object
Object
Base class for symbolic user classes. PyGlove allow symbolic programming interfaces to be easily added to most Python classes in two ways: * Developing a dataclass-like symbolic class by subclassing ``pg.Object``. * Developing a class as usual and decorate it using :func:`pyglove.symbolize`. This also work with existing classes. By directly subclassing ``pg.Object``, programmers can create new symbolic classes with the least effort. For example:: @pg.members([ # Each tuple in the list defines a symbolic field for `__init__`. ('name', pg.typing.Str().noneable(), 'Name to greet'), ('time_of_day', pg.typing.Enum('morning', ['morning', 'afternnon', 'evening']), 'Time of the day.') ]) class Greeting(pg.Object): def __call__(self): # Values for symbolic fields can be accessed # as public data members of the symbolic object. print(f'Good {self.time_of_day}, {self.name}') # Create an object of Greeting and invoke it, # which shall print 'Good morning, Bob'. Greeting('Bob')() Symbolic fields can be inherited from the base symbolic class: the fields from the base class will be copied to the subclass in their declaration order, while the subclass can override the inherited fields with more restricted validation rules or different default values. For example:: @pg.members([ ('x', pg.typing.Int(max_value=10)), ('y', pg.typing.Float(min_value=0)) ]) class Foo(pg.Object) pass @pg.members([ ('x', pg.typing.Int(min_value=1, default=1)), ('z', pg.typing.Str().noneable()) ]) class Bar(Foo) pass # Printing Bar's schema will show that there are 3 parameters defined: # x : pg.typing.Int(min_value=1, max_value=10, default=1)) # y : pg.typing.Float(min_value=0) # z : pg.typing.Str().noneable() print(Bar.__schema__)
class Object(base.Symbolic, metaclass=ObjectMeta): """Base class for symbolic user classes. PyGlove allow symbolic programming interfaces to be easily added to most Python classes in two ways: * Developing a dataclass-like symbolic class by subclassing ``pg.Object``. * Developing a class as usual and decorate it using :func:`pyglove.symbolize`. This also work with existing classes. By directly subclassing ``pg.Object``, programmers can create new symbolic classes with the least effort. For example:: @pg.members([ # Each tuple in the list defines a symbolic field for `__init__`. ('name', pg.typing.Str().noneable(), 'Name to greet'), ('time_of_day', pg.typing.Enum('morning', ['morning', 'afternnon', 'evening']), 'Time of the day.') ]) class Greeting(pg.Object): def __call__(self): # Values for symbolic fields can be accessed # as public data members of the symbolic object. print(f'Good {self.time_of_day}, {self.name}') # Create an object of Greeting and invoke it, # which shall print 'Good morning, Bob'. Greeting('Bob')() Symbolic fields can be inherited from the base symbolic class: the fields from the base class will be copied to the subclass in their declaration order, while the subclass can override the inherited fields with more restricted validation rules or different default values. For example:: @pg.members([ ('x', pg.typing.Int(max_value=10)), ('y', pg.typing.Float(min_value=0)) ]) class Foo(pg.Object) pass @pg.members([ ('x', pg.typing.Int(min_value=1, default=1)), ('z', pg.typing.Str().noneable()) ]) class Bar(Foo) pass # Printing Bar's schema will show that there are 3 parameters defined: # x : pg.typing.Int(min_value=1, max_value=10, default=1)) # y : pg.typing.Float(min_value=0) # z : pg.typing.Str().noneable() print(Bar.__schema__) """ # Disable pytype attribute checking. _HAS_DYNAMIC_ATTRIBUTES = True # Class property that indicates whether to allow attribute access on symbolic # members. allow_symbolic_attribute = True # Class property that indicates whether to allow to set or rebind symbolic # members by value assginment. allow_symbolic_assignment = False # Allow symbolic mutation using `rebind`. allow_symbolic_mutation = True # Class property that indicates whether to use `sym_eq` for `__eq__`, # `sym_ne` for `__ne__`, and `sym_hash` for `__hash__`. use_symbolic_comparison = True # If True, symbolic fields will be inferred from class annotations. # It's an alternative way of declaring symbolic fields other than # `pg.members`. # # e.g.:: # # class A(pg.Object): # x: int # y: str # # Please note that class attributes in UPPER_CASE or starting with '_' will # not be considered as symbolic fields even if they have annotations. infer_symbolic_fields_from_annotations = True # Automatically infer schema during subclass creation time. auto_schema = True # # Customizable class behaviors. # def __init_subclass__(cls, user_cls=None): """Initializes subclass. `pg.Object` allows child classes to explicit call `pg.Object.__init_subclass__` in their `__init_subclass__`, to bypass other classes' `__init__subclass__` in multi-inheritance use cases. Example: class Subclass(pg.Object, UserClass): def __init_subclass__(cls): # This bypasses UserClass.__init_subclass__ pg.Object.__init_subclass__(cls) Args: user_cls: The source class that calls this class method. """ object_utils.ensure_explicit_method_override( cls.__init__, ( '`pg.Object.__init__` is a PyGlove managed method. For setting up ' 'the class initialization logic, please override `_on_bound()` or ' '`_on_init()`. If you do have a need to override `__init__` and ' 'know the implications, please decorate your overridden method ' 'with `@pg.explicit_method_override`.' )) # Set `__serialization_key__` before JSONConvertible.__init_subclass__ # is called. setattr(cls, '__serialization_key__', cls.__type_name__) super().__init_subclass__() user_cls = user_cls or cls if user_cls.auto_schema: # Inherit schema from base classes that have schema # in the ordered of inheritance. # TODO(daiyip): size of base_schema_list can be reduced # by looking at their inheritance chains. base_schema_list = [] for base_cls in user_cls.__bases__: base_schema = getattr(base_cls, '__schema__', None) if isinstance(base_schema, pg_typing.Schema): base_schema_list.append(base_schema) new_fields = user_cls._infer_fields_from_annotations() cls_schema = schema_utils.formalize_schema( pg_typing.create_schema( new_fields, name=user_cls.__type_name__, base_schema_list=base_schema_list, allow_nonconst_keys=True, metadata={}, ) ) # NOTE(daiyip): When new fields are added through class attributes. # We invalidate `init_arg_list` so PyGlove could recompute it based # on its schema during `apply_schema`. Otherwise, we inherit the # `init_arg_list` from the base class. # TODO(daiyip): detect new fields based on the differences from the base # schema. if new_fields: cls_schema.metadata['init_arg_list'] = None user_cls.apply_schema(cls_schema) @classmethod def _on_schema_update(cls): """Customizable trait: handling schema change.""" # Update the default value for each field after schema is updated. This is # because that users may change a field's default value via class attribute. cls._update_default_values_from_class_attributes() # pylint: disable=no-value-for-parameter # Update all schema-based signatures. cls._update_signatures_based_on_schema() # Expose symbolic attributes as object attributes when being asked. if cls.allow_symbolic_attribute: cls._generate_sym_attributes() @classmethod def _update_signatures_based_on_schema(cls): """Customizable trait: updates method signatures upon schema change.""" if cls.__init__ is not Object.__init__ and not hasattr( cls.__init__, '__sym_generated_init__' ): # We only generate `__init__` from pg.Object subclass which does not # override the `__init__` method. # Functor and ClassWrapper override their `__init__` methods, therefore # they need to synchronize the __init__ signature by themselves. return signature = pg_typing.Signature.from_schema( cls.__schema__, cls.__module__, '__init__', f'{cls.__name__}.__init__' ) pseudo_init = signature.make_function(['pass']) # Create a new `__init__` that passes through all the arguments to # in `pg.Object.__init__`. This is needed for each class to use different # signature. @object_utils.explicit_method_override @functools.wraps(pseudo_init) def _init(self, *args, **kwargs): # We pass through the arguments to `Object.__init__` instead of # `super()` since the parent class uses a generated `__init__` will # be delegated to `Object.__init__` eventually. Therefore, directly # calling `Object.__init__` is equivalent to calling `super().__init__`. Object.__init__(self, *args, **kwargs) setattr(_init, '__sym_generated_init__', True) setattr(cls, '__init__', _init) @classmethod def _generate_sym_attributes(cls): """Customizable trait: logics for generating symbolic attributes..""" for key, field in cls.__schema__.fields.items(): if isinstance(key, pg_typing.ConstStrKey): attr_name = str(key) attr_value = cls.__dict__.get(attr_name, pg_typing.MISSING_VALUE) if attr_value == pg_typing.MISSING_VALUE or ( not inspect.isfunction(attr_value) and not isinstance(attr_value, property) )
(*args, allow_partial: bool = False, sealed: Optional[bool] = None, root_path: Optional[pyglove.core.object_utils.value_location.KeyPath] = None, explicit_init: bool = False, **kwargs)
[ 0.01993894763290882, -0.040233761072158813, -0.008566943928599358, 0.05245879292488098, 0.006562582682818174, -0.039145227521657944, -0.012947232462465763, 0.03485390543937683, 0.03987789526581764, -0.04860706999897957, 0.002697776071727276, 0.043583083897829056, 0.036068037152290344, 0.04873266816139221, -0.05940864235162735, 0.0420968197286129, 0.0035298739094287157, 0.047518540173769, -0.002402093494310975, -0.034016575664281845, -0.005194069352000952, 0.0237592700868845, 0.013344964012503624, 0.031378984451293945, -0.03424684330821037, -0.004670737311244011, -0.003155691549181938, 0.04902573674917221, 0.003652856918051839, -0.0413641557097435, 0.003658090252429247, -0.047979071736335754, 0.030939383432269096, 0.032258179038763046, 0.03707283362746239, -0.0795045867562294, 0.010989970527589321, 0.08699870109558105, -0.06535369157791138, 0.004607937764376402, 0.019091149792075157, 0.031148716807365417, -0.03470737487077713, -0.05384039133787155, 0.02865765616297722, 0.021959008648991585, 0.024073269218206406, 0.0384334959089756, -0.0371147021651268, -0.042431753128767014, 0.016453556716442108, -0.06430702656507492, 0.0200959462672472, 0.011052770540118217, -0.011251636780798435, 0.028552990406751633, 0.00010352159733884037, 0.06564676016569138, 0.003372874343767762, 0.013449630700051785, 0.006499782670289278, 0.025036199018359184, -0.013690363615751266, -0.04140602424740791, 0.026334062218666077, -0.01974008046090603, -0.0335979089140892, -0.06238116696476936, -0.013439164496958256, -0.01556389220058918, -0.06380462646484375, -0.03353511169552803, 0.040589623153209686, 0.0442948155105114, 0.014632361009716988, -0.014014828950166702, 0.017709553241729736, -0.03397471085190773, 0.01622329093515873, -0.052207592874765396, 0.03188138082623482, -0.05065853148698807, -0.07021021097898483, -0.04864893853664398, -0.0005380506627261639, 0.009849106892943382, 0.018295684829354286, -0.008493677712976933, -0.01142956968396902, -0.008289577439427376, -0.05898997560143471, -0.005217619240283966, 0.03230004757642746, 0.0478116050362587, -0.023340605199337006, -0.03370257839560509, -0.000992368208244443, -0.05919930711388588, -0.016108157113194466, 0.009890973567962646, 0.02426166832447052, 0.019248148426413536, -0.04274575412273407, 0.04831400513648987, 0.0045529878698289394, -0.017081554979085922, -0.04756040498614311, -0.04772787168622017, 0.004335805308073759, -0.02069254405796528, -0.08193285018205643, 0.0018041868461295962, 0.018232883885502815, -0.017437420785427094, 0.00588225107640028, -0.046220675110816956, 0.025664197281003, 0.003430440789088607, 0.025412999093532562, 0.00416572205722332, 0.007295247167348862, 0.008870475925505161, -0.009582207538187504, 0.025601398199796677, 0.029264722019433975, 0.018389884382486343, 0.048188403248786926, 0.01421369519084692, -0.005303969141095877, 0.01037243939936161, 0.013711296953260899, 0.010675971396267414, -0.04785347357392311, 0.051412127912044525, 0.010440472513437271, 0.005861317738890648, 0.031232450157403946, -0.004040122497826815, -0.03378630802035332, 0.02039947919547558, 0.035565637052059174, -0.0025800263974815607, 0.025810731574892998, -0.044085483998060226, -0.045132145285606384, 0.014967293478548527, -0.01717575453221798, -0.0028783257585018873, -0.02652246318757534, -0.025161799043416977, -0.011890101246535778, -0.03493763878941536, 0.05555691942572594, 0.062799833714962, -0.06979154795408249, 0.019164415076375008, -0.06673528999090195, -0.027213260531425476, -0.0193632822483778, 0.008200610987842083, -0.035335373133420944, -0.03849629685282707, -0.04496467858552933, -0.050532933324575424, -0.039647627621889114, -0.012476233765482903, 0.039856959134340286, -0.11965461075305939, -0.019038815051317215, 0.05618491768836975, -0.012549499981105328, -0.04910947009921074, 0.021372877061367035, 0.028092458844184875, 0.035544704645872116, 0.0938648134469986, 0.02769472636282444, 0.0104875722900033, 0.034602709114551544, 0.01315656490623951, 0.06887048482894897, -0.06330223381519318, -0.04349935054779053, -0.007703446317464113, 0.03244658187031746, 0.043373752385377884, -0.02147754281759262, 0.018463151529431343, 0.05626865103840828, 0.04626254364848137, 0.009226341731846333, 0.014297428540885448, 0.02361273765563965, 0.01179590169340372, 0.05120279639959335, 0.02346620336174965, -0.008818143047392368, 0.04542521387338638, -0.10701091587543488, 0.06292543560266495, -0.007352813612669706, 0.017217621207237244, 0.007588312961161137, -0.06104143708944321, 0.004288705065846443, -0.004063672386109829, 0.006892281584441662, 0.015448758378624916, -0.024533800780773163, -0.11220236867666245, -0.022670740261673927, 0.001668120501562953, -0.012727432884275913, -0.004257305525243282, -0.0009262975072488189, -0.09160402417182922, 0.05568251758813858, -0.021959008648991585, -0.0033074577804654837, 0.02593633159995079, 0.07330834120512009, 0.013334497809410095, -0.08415177464485168, -0.009435675106942654, 0.019321415573358536, -0.024450067430734634, -0.00393022270873189, -0.018002618104219437, 0.008661143481731415, -0.05727344751358032, -0.025308333337306976, -0.02980898693203926, -0.02075534500181675, 0.01465329434722662, 0.03179764747619629, 0.0100846067070961, 0.04084082320332527, 0.038182299584150314, -0.017207155004143715, 0.014203228987753391, -0.0036947233602404594, 0.02461753413081169, -0.04421108216047287, -0.014527694322168827, -0.07146620750427246, 0.006457915995270014, 0.03045791946351528, 0.01337636448442936, 0.003482774132862687, -0.015522025525569916, -0.009315308183431625, -0.05120279639959335, 0.009105975739657879, 0.018902748823165894, -0.04046402499079704, -0.05832011252641678, -0.05120279639959335, -0.0026127346791327, 0.0120261674746871, 0.0048382035456597805, -0.019761014729738235, -0.003121674992144108, -0.04823027178645134, 0.0815560519695282, 0.049653735011816025, -0.02045181207358837, 0.003163541667163372, 0.0050606196746230125, -0.037533365190029144, -0.002527693286538124, 0.11262103170156479, 0.009325775317847729, -0.038035765290260315, 0.037093766033649445, -0.012068034149706364, -0.026982994750142097, -0.041468821465969086, 0.01629655621945858, 0.011126036755740643, -0.053170524537563324, 0.011994767934083939, -0.03018578700721264, 0.06794942170381546, -0.0032263414468616247, 0.022398607805371284, 0.007478413172066212, -0.026501528918743134, 0.020514611154794693, -0.037449631839990616, -0.01282163243740797, 0.04931880161166191, 0.006709115579724312, 0.041259489953517914, 0.02769472636282444, 0.0695403441786766, 0.03209071606397629, -0.05852944403886795, 0.049946799874305725, -0.02455473504960537, -0.09085042774677277, 0.05350545793771744, 0.041259489953517914, 0.07368513941764832, 0.03428870812058449, 0.0005125381867401302, -0.04718360677361488, 0.03282338008284569, -0.0062224166467785835, 0.02323593758046627, 0.03782643377780914, -0.008226778358221054, 0.03529350459575653, -0.035209771245718, 0.07263847440481186, 0.009435675106942654, -0.002634976292029023, -0.019112082198262215, -0.06066463887691498, 0.028825122863054276, 0.03600523620843887, -0.03761709854006767, -0.017657220363616943, 0.0055944183841347694, 0.0039459229446947575, -0.024680333212018013, -0.002489751670509577, -0.028385523706674576, 0.018944615498185158, -0.03734496608376503, -0.03397471085190773, 0.0013815963175147772, 0.021372877061367035, 0.03368164226412773, 0.06079023703932762, -0.012706499546766281, -0.008378543891012669, 0.013669430278241634, -0.030206719413399696, -0.018463151529431343, -0.04442041367292404, 0.05237505957484245, -0.0027867425233125687, -0.013460097834467888, -0.01635935716331005, -0.0018499783473089337, -0.04433668032288551, -0.001460096100345254, -0.026501528918743134, 0.0184840839356184, 0.019572613760828972, -0.00004550534868030809, -0.021603142842650414, -0.04159442335367203, -0.0008065853617154062, 0.04647187516093254, -0.08021631836891174, -0.03458177298307419, -0.03424684330821037, -0.034163109958171844, -0.024575667455792427, 0.05371478945016861, 0.0003797427343670279, -0.047309208661317825, 0.018065419048070908, 0.008111645467579365, 0.030081119388341904, -0.026501528918743134, -0.0009034017566591501, 0.01623375713825226, -0.005092019680887461, 0.01964588090777397, -0.06535369157791138, -0.03393284231424332, -0.01886088214814663, -0.00500828679651022, 0.033283911645412445, 0.02221020683646202, 0.025098999962210655, -0.05597558245062828, 0.0197296142578125, 0.04218055307865143, -0.01717575453221798, 0.0026650677900761366, 0.022921938449144363, 0.01651635579764843, 0.0018447451293468475, 0.037010036408901215, 0.0037784564774483442, 0.040882691740989685, -0.00048015706124715507, -0.03793109953403473, -0.01260183285921812, 0.04638814181089401, -0.02250327356159687, 0.029285654425621033, -0.00814827810972929, -0.0011755343293771148, 0.030520718544721603, 0.019091149792075157, -0.02075534500181675, 0.022628873586654663, -0.08172351866960526, 0.07301527261734009, 0.007352813612669706, -0.013030964881181717, -0.007577846292406321, 0.09872133284807205, 0.019488880410790443, -0.007949411869049072, 0.08440297842025757, 0.011952901259064674, 0.011931967921555042, -0.07661579549312592, -0.02863672375679016, 0.023256871849298477, -0.04163628816604614, 0.07238727062940598, 0.010068906471133232, 0.01981334760785103, 0.06589795649051666, 0.0316929817199707, 0.0463462769985199, 0.02229394018650055, 0.03420497477054596, -0.005353685934096575, 0.014140428975224495, -0.021582208573818207, 0.00830004457384348, -0.002324902219697833, 0.04647187516093254, 0.026648061349987984, 0.02390580251812935, -0.005929350852966309, -0.0379938967525959, -0.010644571855664253, -0.05124466493725777, 0.014946360141038895, -0.030604451894760132, -0.0377008318901062, 0.06133450195193291, 0.0017374620074406266, -0.017301354557275772, 0.021174009889364243, 0.01783515326678753, 0.05095159634947777, 0.03523070737719536, -0.007787179201841354, 0.04069429263472557, 0.05693851411342621, 0.035691238939762115, 0.0033283911179751158, -0.025329265743494034, 0.0818491131067276, 0.036570437252521515, -0.07996512204408646, -0.05685478076338768, -0.0096450075507164, -0.03998256102204323, -0.010906237177550793, 0.029620587825775146, -0.02907632291316986, 0.02499433420598507, -0.010403838939964771, -0.018620150163769722, -0.05049106478691101, 0.04580201208591461, 0.0415106900036335, -0.041468821465969086, -0.05635238438844681, -0.018253818154335022, 0.0440017506480217, 0.007823812775313854, 0.04148975759744644, -0.05501265451312065, -0.013564763590693474, -0.006217183545231819, 0.005183602683246136, -0.03610990196466446, -0.08143045008182526, -0.07293153554201126, 0.054845187813043594, -0.01944701559841633, 0.026187529787421227, -0.000646642001811415, 0.043080683797597885, 0.039501093327999115, 0.05869691073894501, -0.010225906036794186, 0.016997821629047394, -0.015961624681949615, -0.014297428540885448, 0.075108602643013, 0.014150895178318024, 0.011021370999515057, -0.015333625487983227, -0.01849455013871193, -0.0018251201836392283, 0.012549499981105328, 0.012811166234314442, -0.05049106478691101, -0.0161395575851202, 0.006850414909422398, -0.056436117738485336, 0.006337549537420273, 0.030667250975966454, -0.03830789774656296, -0.008943743072450161, -0.008488443680107594, -0.0029123423155397177, -0.00505800312384963, -0.022984739392995834, -0.007462713401764631, 0.03761709854006767, -0.014119495637714863, -0.003953772597014904, 0.016045358031988144, 0.02491060085594654, 0.025098999962210655, -0.02543393149971962, -0.06740515679121017, -0.018735283985733986, -0.03669603541493416, 0.006478849332779646, 0.0019441781332716346, 0.014161362312734127, 0.00588225107640028, -0.017887486144900322, -0.009006543084979057, 0.08385870605707169, 0.002920192200690508, 0.04864893853664398, -0.006860881578177214, -0.030520718544721603, 0.037303101271390915, -0.02103794366121292, 0.03922896087169647, 0.029348455369472504, 0.002497601555660367, 0.019038815051317215, -0.0112202363088727, 0.04075708985328674, 0.05924117565155029, -0.034079376608133316, 0.05275185778737068, -0.015679024159908295, -0.03816136345267296, -0.0005351069266907871, -0.018819017335772514, -0.03188138082623482, -0.02892978861927986, -0.03083471767604351, 0.009985173121094704, 0.03250937908887863, 0.0400453582406044, -0.05409158766269684, -0.01754208654165268, 0.025015266612172127, 0.016464022919535637, 0.020483212545514107, 0.014914960600435734, -0.0023458353243768215, -0.005186219699680805, 0.06087397038936615, -0.049276936799287796, -0.007839512079954147, 0.031672049313783646, -0.002407326828688383, 0.04509028047323227, -0.019677281379699707, 0.019624948501586914, 0.013010031543672085, -0.0006283253896981478, 0.002402093494310975, 0.034456174820661545, 0.026145663112401962, 0.01733275316655636, -0.05890624225139618, 0.06405583024024963, -0.026271263137459755, -0.09821894019842148, 0.03192324936389923, 0.009341474622488022, -0.038475364446640015, -0.023487137630581856, -0.03822416439652443, 0.009911906905472279, -0.008933275938034058, 0.08582643419504166, 0.0013187965378165245, -0.025852598249912262, -0.0416572205722332, 0.05120279639959335, -0.02836459130048752, -0.04471348226070404, -0.026982994750142097, 0.014883560128509998, -0.039501093327999115, -0.01950981467962265, 0.04071522504091263, -0.01201570127159357, -0.057399045675992966, 0.0736432671546936, 0.012612299993634224, -0.04069429263472557, -0.0035141739062964916, -0.021749675273895264, 0.01132490299642086, 0.028825122863054276, 0.013460097834467888, -0.0448809452354908, -0.043583083897829056, 0.012968165799975395, -0.0046655042096972466, 0.0015529874945059419, -0.06794942170381546, -0.0451740138232708, -0.05978544056415558, 0.05685478076338768, 0.05061666667461395, -0.028092458844184875, -0.08105365186929703, 0.0010636721272021532, 0.037889230996370316, 0.012193634174764156, -0.02461753413081169, 0.03824509680271149, -0.008812909945845604, -0.014611427672207355, 0.013889229856431484, -0.06510249525308609, 0.008860009722411633, -0.019091149792075157, -0.021707808598876, -0.0031923248898237944, 0.05070039629936218, -0.046723075211048126, -0.04178282245993614, -0.01279023289680481, 0.005683384835720062, 0.06916354596614838, -0.037533365190029144, -0.038475364446640015, -0.00017531619232613593, 0.06012037396430969, -0.03186044842004776, -0.00043371133506298065, 0.025224599987268448, -0.03738683462142944, 0.03786829859018326, 0.02279633842408657, 0.010874837636947632, 0.048774536699056625, -0.0080331452190876, -0.0463462769985199, 0.03479110822081566, 0.0413641557097435, -0.03646576777100563, -0.049946799874305725, 0.02432446926832199, 0.003365024458616972, 0.02936938777565956, -0.02995551936328411, 0.0040375059470534325, -0.003660706803202629, -0.01176450215280056, 0.05903184413909912, -0.007399913389235735, -0.03497950732707977, 0.06677715480327606, 0.05589184910058975, -0.0083994772285223, 0.01406716275960207, 0.004919320344924927, -0.029641520231962204, -0.02936938777565956, -0.004121238831430674, 0.0337444432079792, 0.018442217260599136, 0.0014378544874489307, -0.022984739392995834, 0.0066567822359502316, -0.009111208841204643, -0.0331583097577095, -0.0027579593006521463, -0.03091845102608204, -0.017636286094784737, 0.018819017335772514, 0.0221474077552557, 0.01716528832912445, -0.1076807826757431, -0.0213414765894413, -0.02505713328719139, 0.03340950980782509, 0.022817272692918777, -0.030876584351062775, -0.057901445776224136, -0.05430092290043831, -0.007703446317464113, 0.041992153972387314, 0.009226341731846333, 0.02015874534845352, 0.011858701705932617, -0.0322791151702404, 0.030813785269856453, 0.039061494171619415, 0.06300916522741318, -0.008797209709882736, -0.02411513589322567, 0.06468382477760315, -0.019269082695245743, 0.0018434367375448346, 0.041761890053749084, 0.017081554979085922, -0.06958221644163132, 0.03428870812058449, -0.017081554979085922, 0.015375492163002491, 0.043164417147636414, -0.041175756603479385, -0.016694288700819016, 0.011146970093250275, -0.0198028814047575, 0.07837419211864471, 0.015658091753721237, 0.012319234199821949, -0.022021807730197906, -0.011262102983891964, -0.020933277904987335, 0.016788488253951073, -0.00008667685324326158, 0.04509028047323227, 0.010424772277474403, -0.05744091421365738, 0.0036240736953914165, 0.009875273331999779, -0.03470737487077713, 0.018525950610637665, -0.0322791151702404, -0.019918013364076614, 0.06422329694032669, -0.08808723092079163, -0.01695595495402813, -0.02221020683646202, 0.0009642390650697052, 0.023780202493071556, 0.015574358403682709, -0.004479721188545227, 0.021686876192688942, 0.034100309014320374, 0.042201489210128784, 0.046806808561086655, 0.022838205099105835, -0.010989970527589321, -0.012109900824725628, 0.060832105576992035, 0.02177060768008232, -0.0390196293592453, 0.009618841111660004, -0.019405148923397064, -0.08239337801933289, -0.055054519325494766, -0.044462282210588455, 0.0012474925024434924, -0.03991976007819176, 0.066609688103199, 0.006484082899987698, -0.022921938449144363, 0.022670740261673927 ]
41,097
pyglove.core.symbolic.object
__init__
Create an Object instance. Args: *args: positional arguments. allow_partial: If True, the object can be partial. sealed: If True, seal the object from future modification (unless under a `pg.seal(False)` context manager). If False, treat the object as unsealed. If None, it's determined by `cls.allow_symbolic_mutation`. root_path: The symbolic path for current object. By default it's None, which indicates that newly constructed object does not have a parent. explicit_init: Should set to `True` when `__init__` is called via `pg.Object.__init__` instead of `super().__init__`. **kwargs: key/value arguments that align with the schema. All required keys in the schema must be specified, and values should be acceptable according to their value spec. Raises: KeyError: When required key(s) are missing. ValueError: When value(s) are not acceptable by their value spec.
@object_utils.explicit_method_override def __init__( self, *args, allow_partial: bool = False, sealed: Optional[bool] = None, root_path: Optional[object_utils.KeyPath] = None, explicit_init: bool = False, **kwargs): """Create an Object instance. Args: *args: positional arguments. allow_partial: If True, the object can be partial. sealed: If True, seal the object from future modification (unless under a `pg.seal(False)` context manager). If False, treat the object as unsealed. If None, it's determined by `cls.allow_symbolic_mutation`. root_path: The symbolic path for current object. By default it's None, which indicates that newly constructed object does not have a parent. explicit_init: Should set to `True` when `__init__` is called via `pg.Object.__init__` instead of `super().__init__`. **kwargs: key/value arguments that align with the schema. All required keys in the schema must be specified, and values should be acceptable according to their value spec. Raises: KeyError: When required key(s) are missing. ValueError: When value(s) are not acceptable by their value spec. """ # Placeholder for Google-internal usage instrumentation. if sealed is None: sealed = not self.__class__.allow_symbolic_mutation if not isinstance(allow_partial, bool): raise TypeError( f'Expect bool type for argument \'allow_partial\' in ' f'symbolic.Object.__init__ but encountered {allow_partial}.') # We delay the seal attempt until members are all set. super().__init__( allow_partial=allow_partial, accessor_writable=self.__class__.allow_symbolic_assignment, sealed=sealed, root_path=root_path, init_super=not explicit_init) # Fill field_args and init_args from **kwargs. _, unmatched_keys = self.__class__.__schema__.resolve(list(kwargs.keys())) if unmatched_keys: arg_phrase = object_utils.auto_plural(len(unmatched_keys), 'argument') keys_str = object_utils.comma_delimited_str(unmatched_keys) raise TypeError( f'{self.__class__.__name__}.__init__() got unexpected ' f'keyword {arg_phrase}: {keys_str}') field_args = {} # Fill field_args and init_args from *args. init_arg_names = self.__class__.init_arg_list if args: if not self.__class__.__schema__.fields: raise TypeError(f'{self.__class__.__name__}() takes no arguments.') elif init_arg_names and init_arg_names[-1].startswith('*'): vararg_name = init_arg_names[-1][1:] vararg_field = self.__class__.__schema__.get_field(vararg_name) assert vararg_field is not None num_named_args = len(init_arg_names) - 1 field_args[vararg_name] = list(args[num_named_args:]) args = args[:num_named_args] elif len(args) > len(init_arg_names): arg_phrase = object_utils.auto_plural(len(init_arg_names), 'argument') was_phrase = object_utils.auto_plural(len(args), 'was', 'were') raise TypeError( f'{self.__class__.__name__}.__init__() takes ' f'{len(init_arg_names)} positional {arg_phrase} but {len(args)} ' f'{was_phrase} given.') for i, arg_value in enumerate(args): arg_name = init_arg_names[i] field_args[arg_name] = arg_value for k, v in kwargs.items(): if k in field_args: values_str = object_utils.comma_delimited_str([field_args[k], v]) raise TypeError( f'{self.__class__.__name__}.__init__() got multiple values for ' f'argument \'{k}\': {values_str}.') field_args[k] = v # Check missing arguments when partial binding is disallowed. if not base.accepts_partial(self): missing_args = [] for field in self.__class__.__schema__.fields.values(): if (not field.value.has_default and isinstance(field.key, pg_typing.ConstStrKey) and field.key not in field_args): missing_args.append(str(field.key)) if missing_args: arg_phrase = object_utils.auto_plural(len(missing_args), 'argument') keys_str = object_utils.comma_delimited_str(missing_args) raise TypeError( f'{self.__class__.__name__}.__init__() missing {len(missing_args)} ' f'required {arg_phrase}: {keys_str}.') self._set_raw_attr( '_sym_attributes', pg_dict.Dict( field_args, value_spec=self.__class__.sym_fields, allow_partial=allow_partial, sealed=sealed, # NOTE(daiyip): Accessor writable is honored by # `Object.__setattr__` thus we could always make `_sym_attributes` # accessor writable. This prevents a child object's attribute access # from being changed when it's attached to a parent whose symbolic # attributes could not be directly written. accessor_writable=True, root_path=root_path, as_object_attributes_container=True, ), ) self._sym_attributes.sym_setparent(self) self._on_init() self.seal(sealed)
(self, *args, allow_partial: bool = False, sealed: Optional[bool] = None, root_path: Optional[pyglove.core.object_utils.value_location.KeyPath] = None, explicit_init: bool = False, **kwargs)
[ 0.02791925147175789, -0.03531665727496147, 0.009778697974979877, 0.027441998943686485, 0.0024645598605275154, -0.010136636905372143, 0.024976195767521858, 0.02177462913095951, 0.03249291703104973, -0.06983789801597595, -0.010887314565479755, 0.06399156153202057, 0.011921361088752747, 0.0437878854572773, -0.06788911670446396, 0.0453389547765255, 0.012786380015313625, 0.06299728155136108, -0.01240855548530817, 0.006313648074865341, 0.0024285174440592527, 0.023186499252915382, 0.014039167203009129, 0.0680084303021431, -0.01436727773398161, 0.00961961317807436, -0.010429947637021542, 0.06021331250667572, 0.03903524950146675, -0.006139650009572506, 0.028814097866415977, -0.004834663588553667, 0.03688761219382286, 0.04267429560422897, 0.058383844792842865, -0.09926844388246536, 0.007278094999492168, 0.06283819675445557, -0.06387224793434143, -0.028833983466029167, 0.03909490630030632, -0.0079442597925663, 0.011314853094518185, -0.028217533603310585, 0.03780234605073929, 0.018702318891882896, 0.04000963643193245, 0.048520635813474655, -0.02698463201522827, -0.020064475014805794, 0.03973124176263809, -0.016266344115138054, 0.03299005329608917, -0.011911418288946152, -0.04211750254034996, 0.04987284913659096, 0.00033805359271354973, 0.07019583880901337, 0.01687285117805004, -0.01726061850786209, -0.014168422669172287, 0.03780234605073929, 0.014138595201075077, -0.03684784099459648, -0.0099775530397892, -0.058423615992069244, -0.04832177981734276, -0.055401019752025604, -0.011255196295678616, 0.006552274338901043, -0.038060858845710754, -0.032632116228342056, 0.0006052650860510767, 0.046929795295000076, 0.01475504506379366, -0.011185597628355026, 8.350359053110878e-7, -0.0069599272683262825, 0.027680624276399612, -0.024419400840997696, 0.0056474837474524975, -0.05635552480816841, -0.08208736777305603, -0.03008677065372467, -0.023643866181373596, 0.04510032758116722, -0.00031133246375247836, 0.02704428881406784, 0.046452540904283524, -0.011951189488172531, -0.05484422668814659, 0.015262125991284847, 0.007949231192469597, 0.06184392422437668, 0.003044968005269766, -0.04307200759649277, 0.018990658223628998, -0.060611020773649216, -0.015858691185712814, 0.0006419289857149124, -0.010111779905855656, -0.02418077550828457, -0.047208189964294434, 0.02487676776945591, 0.026785776019096375, -0.0037260467652231455, -0.015590236522257328, -0.048719488084316254, 0.0036987040657550097, -0.034222956746816635, -0.05774750933051109, 0.024618256837129593, 0.0013907426036894321, 0.015997890383005142, -0.03841879591345787, -0.021536003798246384, 0.0021178063470870256, -0.03615184873342514, 0.04887857288122177, -0.026885204017162323, 0.03483940660953522, 0.01807592436671257, -0.02109852246940136, 0.007571406662464142, 0.06196323782205582, 0.05281590297818184, 0.02779993787407875, 0.003885130863636732, -0.001352214370854199, -0.000991168199107051, 0.03863753750920296, 0.016843022778630257, -0.046412769705057144, 0.03485929220914841, 0.0032985082361847162, -0.005083232652395964, 0.04168001934885979, -0.0027690567076206207, -0.08101355284452438, 0.011195539496839046, 0.04199818894267082, -0.02177462913095951, 0.03388490155339241, -0.0013273574877530336, -0.043946970254182816, 0.031359441578388214, 0.00908767618238926, -0.007611177396029234, -0.01387014053761959, -0.0038279599975794554, -0.018821630626916885, -0.014516419731080532, 0.0217945147305727, 0.06092919036746025, -0.06164506822824478, 0.009341216646134853, -0.048520635813474655, -0.03833925724029541, 0.004951491020619869, 0.004233126994222403, -0.03225428983569145, -0.019636936485767365, -0.037006925791502, -0.044026508927345276, -0.02853570133447647, 0.015272068791091442, 0.019716478884220123, -0.1307670921087265, -0.014943958260118961, 0.04072551801800728, 0.00831214152276516, -0.01741970330476761, 0.01879180409014225, 0.05042964220046997, -0.015560408122837543, 0.07834889739751816, 0.019636936485767365, -0.006771015003323555, -0.023544440045952797, -0.025990355759859085, 0.05202048271894455, -0.0709117129445076, -0.00601039407774806, -0.02181440033018589, 0.047088880091905594, 0.04307200759649277, -0.022271767258644104, 0.015331725589931011, 0.09075745195150375, 0.013104548677802086, -0.003604247933253646, 0.015938233584165573, 0.03746429458260536, 0.016693882644176483, -0.0037807319313287735, 0.018583005294203758, -0.0022222052793949842, 0.00008000808884389699, -0.07484904676675797, 0.058423615992069244, -0.020899666473269463, -0.030285626649856567, -0.00639816140756011, -0.04915697127580643, 0.0021389347966760397, -0.013959625735878944, 0.004233126994222403, 0.013969567604362965, 0.017946669831871986, -0.06940041482448578, -0.025155164301395416, -0.029032839462161064, 0.0040317862294614315, 0.0036440188996493816, -0.007795118261128664, -0.07238323986530304, 0.052378423511981964, -0.03328833729028702, 0.04080505669116974, 0.015490809455513954, 0.10841578245162964, 0.043946970254182816, -0.028257304802536964, -0.005761825479567051, -0.0210189800709486, -0.035078033804893494, 0.0037533892318606377, -0.01394968293607235, 0.004046700429171324, -0.017777642235159874, -0.04287315160036087, -0.029947571456432343, -0.025274477899074554, 0.002334061311557889, -0.009003163315355778, 0.0007183639099821448, 0.0354558564722538, 0.00042101345025002956, -0.014496534131467342, -0.002893341239541769, -0.004675579722970724, 0.031140701845288277, -0.022092796862125397, -0.022231996059417725, -0.03259234502911568, 0.004583609290421009, 0.03752395138144493, 0.018592948094010353, 0.0135619156062603, -0.031936123967170715, -0.012657124549150467, -0.0016132117016240954, -0.016405543312430382, 0.015948176383972168, -0.041799332946538925, -0.05591804161667824, -0.015719491988420486, 0.02865501493215561, 0.0011987232137471437, 0.014924072660505772, -0.015341668389737606, -0.039572156965732574, -0.039631813764572144, 0.07377522438764572, 0.038100630044937134, -0.02095932327210903, -0.01399939600378275, -0.014198251068592072, -0.05046941339969635, 0.01803615316748619, 0.018742090091109276, -0.022132568061351776, -0.011901475489139557, 0.053134072571992874, -0.03092196211218834, -0.016495026648044586, -0.03018619865179062, 0.0033507077023386955, -0.02340524084866047, -0.031936123967170715, 0.03527688607573509, -0.01246821228414774, 0.06971858441829681, 0.002746685640886426, 0.019656822085380554, 0.02720337174832821, -0.025811387225985527, -0.027501655742526054, -0.02342512644827366, -0.023981919512152672, 0.031240129843354225, 0.029589632526040077, 0.04307200759649277, 0.04386742785573006, 0.03987044095993042, -0.0020979209803044796, -0.05516239255666733, 0.0013634000206366181, -0.006920156069099903, -0.07830912619829178, 0.044941242784261703, -0.002721828641369939, 0.057548653334379196, 0.05886109918355942, 0.02187405712902546, -0.06530400365591049, 0.02563241682946682, 0.022152453660964966, 0.019398311153054237, 0.013442602008581161, 0.00041386709199287, 0.056952089071273804, 0.007054383400827646, 0.04207773134112358, 0.026646578684449196, -0.0065821027383208275, -0.01505332812666893, -0.07413316518068314, 0.004198327660560608, 0.04354925826191902, -0.037225667387247086, -0.0016169402515515685, -0.012179872021079063, -0.0008121986174955964, -0.028217533603310585, 0.006845585536211729, 0.003912473097443581, 0.012846036814153194, -0.023126844316720963, -0.0070692976005375385, -0.04283338040113449, 0.03452123701572418, 0.029808374121785164, 0.0264477226883173, -0.0279987920075655, -0.0067063868045806885, 0.009873153641819954, -0.03829948604106903, -0.0044444105587899685, -0.044066280126571655, 0.08208736777305603, -0.0015895976684987545, 0.00980355404317379, -0.04140162467956543, -0.030345281586050987, -0.04585597664117813, 0.04947514086961746, -0.0161768589168787, 0.04748658835887909, -0.011076226830482483, -0.021297376602888107, -0.007362608797848225, -0.040367577224969864, -0.019050315022468567, 0.0337059311568737, -0.06359384953975677, -0.041083455085754395, 0.0065970164723694324, -0.047049108892679214, -0.053889721632003784, 0.0831214189529419, -0.021337147802114487, -0.06713347136974335, -0.009599728509783745, 0.007437179330736399, 0.0003054289554711431, -0.03509791940450668, -0.012209700420498848, -0.0052348594181239605, -0.011294967494904995, 0.02636818028986454, -0.08037721365690231, -0.017578788101673126, -0.002375075127929449, 0.0021861628629267216, 0.04665139690041542, 0.002360160928219557, 0.021536003798246384, -0.05353178083896637, -0.014735160395503044, 0.03696715459227562, -0.05110574886202812, 0.02563241682946682, 0.014854473061859608, -0.014695389196276665, -0.02869478613138199, 0.04454353451728821, -0.006020336877554655, 0.059059951454401016, 0.01576920598745346, -0.04275383800268173, -0.004531409591436386, 0.062082551419734955, 0.01797649823129177, 0.040486890822649, -0.005120517686009407, 0.028336845338344574, 0.00714883953332901, 0.015242240391671658, 0.0074471221305429935, 0.018682433292269707, -0.08678034693002701, 0.03509791940450668, -0.0004958948120474815, 0.018065981566905975, -0.023166615515947342, 0.11414280533790588, 0.0058065676130354404, 0.021655315533280373, 0.04752635955810547, 0.009395902045071125, 0.005359143950045109, -0.049276284873485565, -0.009510243311524391, 0.00511554628610611, -0.042634524405002594, 0.05643506720662117, -0.0005835153278894722, 0.01507321372628212, 0.015172640793025494, 0.024419400840997696, 0.04422536492347717, 0.007362608797848225, 0.019756250083446503, 0.025950584560632706, 0.015520637854933739, -0.02943054959177971, 0.0022768904455006123, 0.03519734740257263, 0.044026508927345276, -0.023802950978279114, 0.013104548677802086, 0.008570653386414051, -0.020313045009970665, -0.043151549994945526, -0.02485688216984272, 0.025234706699848175, -0.027322685346007347, -0.016316058114171028, 0.0656619444489479, -0.001621911535039544, -0.023126844316720963, 0.007054383400827646, 0.006940041668713093, 0.013034949079155922, 0.022132568061351776, 0.028098220005631447, 0.053929492831230164, 0.03404398635029793, 0.03973124176263809, 0.041043683886528015, -0.01652485504746437, 0.055281706154346466, -0.015779148787260056, -0.08479179441928864, -0.06379270553588867, 0.001492655836045742, -0.02105875127017498, -0.03821994364261627, 0.021973485127091408, 0.011066284030675888, 0.03446158021688461, -0.003949758596718311, -0.013969567604362965, -0.059895142912864685, 0.059736061841249466, 0.026765890419483185, 0.005940794944763184, -0.059179265052080154, -0.0164651982486248, 0.010698402300477028, 0.03464055061340332, -0.006015365477651358, -0.023842722177505493, 0.0026895147748291492, -0.03324856609106064, 0.006174449808895588, -0.059179265052080154, -0.09863211214542389, -0.08288279175758362, 0.017509188503026962, -0.020621269941329956, 0.05703163146972656, -0.009545043110847473, 0.015103042125701904, -0.011901475489139557, 0.04132208228111267, -0.005970623344182968, 0.0031965950038284063, 0.019716478884220123, -0.01954745315015316, 0.08013858646154404, 0.013730942271649837, 0.03845856711268425, 0.02855558693408966, -0.014198251068592072, -0.025433562695980072, 0.012120216153562069, 0.029172036796808243, -0.05858270078897476, -0.017310332506895065, 0.008799336850643158, -0.01732027530670166, 0.032890625298023224, 0.009495329111814499, -0.036529675126075745, -0.03823982924222946, 0.007273124065250158, 0.004255498293787241, -0.029211807996034622, -0.00488686328753829, -0.01679331064224243, 0.02698463201522827, 0.010579089634120464, -0.0073029519990086555, 0.04521964117884636, 0.01582886278629303, 0.013989453203976154, -0.03483940660953522, -0.044901471585035324, 0.0009184618247672915, 0.00034426781348884106, 0.014178365468978882, -0.042554982006549835, 0.004168499261140823, -0.022092796862125397, 0.011016570031642914, -0.033526964485645294, 0.07099125534296036, 0.00008707676897756755, 0.02418077550828457, -0.003455106634646654, -0.02336546964943409, 0.03710635378956795, -0.03754383698105812, 0.06677553057670593, 0.013631514273583889, 0.018294665962457657, 0.03153841197490692, -0.013482373207807541, 0.03452123701572418, 0.0858258455991745, -0.024300089105963707, 0.015291954390704632, 0.005083232652395964, -0.04219704493880272, 0.0007805061177350581, -0.0019612079486250877, -0.011155769228935242, -0.029072610661387444, 0.0014168423367664218, -0.0076062059961259365, 0.05190116912126541, 0.04971376433968544, -0.05719071626663208, -0.038001202046871185, 0.04597529023885727, -0.004153585061430931, 0.0032512801699340343, 0.014078938402235508, 0.00018549448577687144, 0.022450735792517662, 0.046412769705057144, -0.041083455085754395, -0.004088957328349352, 0.015968061983585358, 0.01760861650109291, -0.013551972806453705, 0.005195088684558868, 0.04311177879571915, -0.024359744042158127, 0.02121783420443535, -0.017598673701286316, 0.01908014342188835, -0.003842873964458704, -0.03462066501379013, -0.059059951454401016, 0.04589574784040451, -0.03368604555726051, -0.08113286644220352, 0.07449110597372055, -0.009167218580842018, -0.059059951454401016, -0.0067411866039037704, -0.01919945701956749, 0.059934914112091064, -0.005048432853072882, 0.08208736777305603, -0.01246821228414774, -0.05941789224743843, -0.06164506822824478, 0.006408104207366705, -0.013094605877995491, -0.054645370692014694, 0.011503765359520912, 0.04987284913659096, -0.06112804636359215, -0.03688761219382286, 0.06228140369057655, -0.06840614229440689, -0.06037239730358124, 0.05174208804965019, -0.016345886513590813, -0.0026596863754093647, -0.009470472112298012, -0.017578788101673126, 0.0018070953665301204, 0.05138414725661278, 0.00100235384888947, -0.023564325645565987, -0.018354322761297226, -0.007462036330252886, -0.00014587883197236806, -0.0068903276696801186, -0.07902500033378601, -0.05866224318742752, -0.06840614229440689, 0.03710635378956795, 0.056116897612810135, -0.012607410550117493, -0.08940523862838745, 0.020760469138622284, 0.012995177879929543, -0.00014657793508376926, -0.03627116233110428, 0.03746429458260536, -0.00511554628610611, -0.013015063479542732, -0.005463542882353067, -0.047208189964294434, 0.01885145902633667, -0.03322868049144745, -0.016246458515524864, 0.020820124074816704, 0.04991262033581734, -0.03772280365228653, -0.0037011897657066584, -0.012090387754142284, -0.008361855521798134, 0.09656401723623276, -0.016783367842435837, -0.050031933933496475, -0.02191382832825184, 0.05253750830888748, -0.05190116912126541, 0.03927387297153473, 0.009117504581809044, -0.06287796795368195, 0.029748717322945595, 0.015997890383005142, 0.005667369347065687, 0.034203071147203445, -0.028416387736797333, -0.048600178211927414, 0.046969566494226456, 0.03740463778376579, -0.011702620424330235, -0.054565828293561935, 0.03324856609106064, 0.03561494126915932, 0.019030429422855377, -0.026706235483288765, -0.026567036285996437, -0.01324374694377184, -0.011901475489139557, 0.03527688607573509, -0.008600481785833836, -0.04346971586346626, 0.04673093929886818, 0.09091653674840927, -0.02181440033018589, -0.03259234502911568, -0.020183788612484932, 0.01354203000664711, -0.02324615605175495, 0.0062440489418804646, 0.015659835189580917, 0.0120605593547225, 0.014208193868398666, -0.011782162822782993, -0.0034153356682509184, -0.03664898872375488, -0.024976195767521858, 0.010748116299510002, -0.043310631066560745, -0.01908014342188835, 0.037344980984926224, 0.05210002511739731, 0.027263028547167778, -0.11867669969797134, 0.011215425096452236, -0.03388490155339241, 0.027640853077173233, 0.04657185450196266, -0.06530400365591049, -0.07274118065834045, -0.03818017244338989, -0.02622898295521736, 0.03911479189991951, 0.01387014053761959, 0.04152093827724457, 0.030544137582182884, -0.004213241394609213, -0.00031816810951568186, 0.011106055229902267, 0.04080505669116974, -0.008063572458922863, -0.015003614127635956, 0.07600240409374237, 0.005617655348032713, 0.00808842945843935, 0.0813714936375618, 0.020840009674429893, -0.09624584764242172, 0.016355829313397408, 0.01656462624669075, 0.03300993889570236, 0.040964141488075256, -0.044145822525024414, -0.04002952203154564, -0.017250675708055496, -0.028297076001763344, 0.05961674824357033, -0.02044229954481125, 0.04657185450196266, -0.01507321372628212, -0.010310634970664978, 0.006736215204000473, 0.02698463201522827, -0.024677913635969162, 0.036549560725688934, 0.026805661618709564, -0.053134072571992874, 0.005856281612068415, 0.041799332946538925, -0.04740704596042633, 0.047725215554237366, -0.011175654828548431, -0.03223440423607826, 0.060491710901260376, -0.028396502137184143, 0.04271406680345535, -0.00046451299567706883, 0.025334134697914124, 0.045696891844272614, 0.05858270078897476, -0.025871044024825096, 0.007029526401311159, 0.03631093353033066, -0.025811387225985527, 0.0406857468187809, 0.05066826939582825, 0.012985235080122948, -0.004424524959176779, 0.02408134751021862, -0.013621571473777294, -0.050708040595054626, 0.032890625298023224, -0.01741970330476761, -0.07747393101453781, -0.1040409654378891, -0.04050677642226219, 0.01472521759569645, 0.01359174307435751, 0.03975112736225128, 0.03704669699072838, 0.007839860394597054, 0.012338956817984581 ]
41,162
pyglove.core.patching.object_factory
ObjectFactory
A factory to create symbolic object from a base value and patches. Args: value_type: Type of return value. base_value: An instance of `value_type`, or a callable object that produces an instance of `value_type`, or a string as the path to the serialized value. patches: Optional patching rules. See :func:`patch` for details. params_override: A rebind dict (or a JSON string as serialized rebind dict) as an additional patch to the value, Returns: Value after applying `patchers` and `params_override` based on `base_value`.
from pyglove.core.patching.object_factory import ObjectFactory
null
[ 0.07805822789669037, -0.08346116542816162, -0.05072363093495369, 0.024384310469031334, -0.02648150362074375, -0.04421877861022949, -0.0059983269311487675, 0.09248976409435272, 0.00338572240434587, 0.036309871822595596, -0.02241152711212635, -0.040806397795677185, -0.03643428161740303, 0.033750586211681366, -0.04567614942789078, 0.01296527311205864, -0.02310466766357422, 0.04791552573442459, 0.014938056468963623, -0.08929065614938736, -0.0007692298968322575, 0.040806397795677185, 0.012449861504137516, -0.017675070092082024, 0.03456813842058182, 0.018483733758330345, -0.005189663730561733, 0.05424265190958977, 0.07791604846715927, -0.030818071216344833, -0.037109650671482086, -0.06629262119531631, -0.003474586643278599, 0.056873027235269547, -0.00586947426199913, -0.04439650848507881, 0.0067047965712845325, 0.055095747113227844, -0.0511857233941555, -0.007375720888376236, -0.007477914448827505, 0.03574114292860031, 0.0024504277389496565, -0.0007947783451527357, 0.004469864536076784, 0.01133017335087061, -0.015640081837773323, 0.06312905997037888, 0.005025265272706747, 0.04667142778635025, -0.029431791976094246, -0.04510742053389549, 0.027281280606985092, 0.03750065341591835, -0.02557509019970894, 0.03838929533958435, 0.02530849725008011, 0.09639978408813477, 0.01169451605528593, 0.055024653673172, -0.01332072913646698, 0.017710616812109947, 0.0020916389767080545, -0.06355560570955276, 0.0067625585943460464, -0.027316825464367867, -0.03218657895922661, 0.043365683406591415, 0.02074088156223297, 0.011223536916077137, -0.04404105246067047, 0.010876966640353203, 0.03814047574996948, 0.032950811088085175, 0.04905298724770546, 0.018554825335741043, -0.00904636550694704, -0.05466919764876366, 0.09113902598619461, -0.034532591700553894, 0.005407380871474743, -0.016795316711068153, -0.05353173613548279, -0.002142735756933689, -0.003290193621069193, -0.0074556986801326275, 0.01783502660691738, -0.03504800423979759, 0.053602829575538635, -0.037180740386247635, -0.06412433832883835, 0.023157985880970955, -0.03449704498052597, -0.021025247871875763, -0.048661984503269196, -0.004269920289516449, 0.02038542553782463, -0.0037722813431173563, 0.022962484508752823, 0.021807251498103142, 0.03016047738492489, 0.012263246811926365, -0.10393545776605606, 0.037109650671482086, 0.025699499994516373, 0.006069418508559465, 0.011356832459568977, -0.041517309844493866, -0.007429039105772972, 0.0333595834672451, -0.045285146683454514, 0.03750065341591835, -0.054918017238378525, 0.03311076760292053, -0.010263804346323013, -0.03714519739151001, 0.025077451020479202, -0.020687563344836235, 0.02690805122256279, -0.04034430533647537, -0.04130403697490692, 0.017239635810256004, -0.05506020039319992, 0.02824101224541664, 0.08154170215129852, 0.04855534806847572, 0.0031613404862582684, 0.022820303216576576, 0.05189663916826248, -0.03254203498363495, 0.029147427529096603, 0.011570106260478497, -0.08452753722667694, -0.00019258518295828253, 0.02081197313964367, -0.0027103552129119635, -0.012734225951135159, -0.04130403697490692, 0.016635360196232796, 0.014635918661952019, -0.06085414066910744, -0.012325451709330082, 0.024935267865657806, -0.0008797546615824103, -0.05303409695625305, 0.01622658595442772, -0.022109389305114746, -0.007331288885325193, -0.05690857395529747, 0.03380390629172325, 0.055273473262786865, 0.018323779106140137, 0.04478750750422478, 0.000729796476662159, -0.051647819578647614, -0.027050234377384186, -0.04272586107254028, -0.051043543964624405, -0.008197713643312454, 0.006655921693891287, -0.009623982943594456, 0.012796430848538876, -0.0001079560024663806, -0.017097454518079758, -0.007162447087466717, -0.020527608692646027, 0.036114372313022614, -0.07166001200675964, -0.011454583145678043, 0.052714187651872635, -0.057832758873701096, -0.012823090888559818, -0.021718386560678482, 0.02797442115843296, 0.04094858095049858, 0.09839034080505371, -0.042157132178545, 0.010157166980206966, 0.01887473650276661, 0.012467633932828903, -0.004838650580495596, -0.024153264239430428, -0.04219267889857292, 0.03469254821538925, 0.006353783421218395, 0.02434876561164856, -0.013498458079993725, 0.01606662943959236, 0.011072468012571335, -0.010974717326462269, 0.015453468076884747, 0.03024934232234955, 0.0357944630086422, 0.020403198897838593, -0.02541513368487358, -0.002639263868331909, -0.06383997201919556, -0.01940792053937912, -0.08331898599863052, 0.1060681939125061, -0.0633067861199379, 0.021309612318873405, -0.03799829259514809, -0.03714519739151001, 0.014440417289733887, 0.01633322238922119, 0.031546756625175476, -0.00785114336758852, -0.044680871069431305, -0.035421233624219894, 0.010690351948142052, 0.02399330772459507, -0.03062257170677185, 0.024935267865657806, 0.041943859308958054, -0.057121846824884415, 0.018039412796497345, 0.0069002979435026646, -0.009339617565274239, 0.025628408417105675, -0.01834155060350895, 0.03510132059454918, -0.05737066641449928, 0.002619269536808133, -0.04340123012661934, 0.0027992192190140486, 0.017426250502467155, -0.011081353761255741, 0.022251572459936142, -0.12142391502857208, 0.009357389993965626, -0.016999702900648117, 0.026623686775565147, 0.007317959330976009, 0.043081317096948624, -0.05274973437190056, 0.01914132758975029, 0.028009966015815735, -0.05019044503569603, 0.027601191774010658, 0.04322350025177002, -0.024330992251634598, 0.010868079960346222, 0.01905246451497078, 0.016537610441446304, 0.025699499994516373, -0.027743373066186905, -0.039384569972753525, 0.01887473650276661, 0.005456256214529276, 0.012263246811926365, -0.03504800423979759, 0.0028903051279485226, 0.05637538805603981, -0.008144395425915718, -0.09398268163204193, 0.020687563344836235, -0.02708577923476696, 0.026801414787769318, -0.011898904107511044, -0.027725601568818092, -0.008793103508651257, -0.029485110193490982, 0.06711017340421677, -0.026410412043333054, -0.005167447961866856, -0.016528723761439323, 0.027050234377384186, 0.010379327461123466, 0.0066292621195316315, 0.14431530237197876, -0.00053179613314569, 0.002142735756933689, 0.010850307531654835, -0.02239375375211239, -0.05168336257338524, -0.05282082408666611, 0.04620933532714844, 0.040877487510442734, -0.0009114124695770442, 0.04613824188709259, -0.0009241867228411138, 0.028791969642043114, 0.027654509991407394, -0.08602045476436615, -0.019798923283815384, -0.0247042216360569, 0.08900628983974457, -0.037891656160354614, -0.04859089478850365, -0.03225766867399216, 0.02841874025762081, -0.0029924986883997917, -0.014858078211545944, -0.009988325648009777, 0.06995382159948349, -0.07699186354875565, 0.012121063657104969, 0.02497081458568573, -0.03115575574338436, 0.016884179785847664, 0.00194612389896065, -0.031120209023356438, 0.04756006971001625, 0.006984718609601259, -0.0287741981446743, 0.041517309844493866, -0.04272586107254028, -0.028791969642043114, 0.02136293053627014, 0.009988325648009777, -0.00597611116245389, -0.00790001917630434, 0.024721994996070862, 0.04791552573442459, -0.010956943966448307, -0.05011935532093048, -0.01871477998793125, 0.0338749960064888, 0.04272586107254028, -0.05726402997970581, -0.0048208776861429214, -0.005882803816348314, 0.04066421464085579, 0.07052255421876907, 0.005620654672384262, 0.03305744752287865, 0.04052203148603439, -0.02143402211368084, 0.004467642866075039, -0.09639978408813477, 0.003330182284116745, 0.06522625684738159, 0.040877487510442734, 0.006056088954210281, -0.0055006882175803185, 0.023780034855008125, -0.07034482806921005, -0.02294471301138401, -0.027547873556613922, 0.07091355323791504, -0.014111620374023914, -0.0880110114812851, 0.008975274860858917, -0.035954415798187256, 0.02637486718595028, 0.03220435231924057, -0.03913575038313866, 0.06565280258655548, -0.0502970851957798, -0.013898346573114395, -0.030213795602321625, 0.012014427222311497, 0.03547454997897148, 0.013098569586873055, -0.00010524842218728736, -0.008602045476436615, -0.054313741624355316, -0.04692024737596512, -0.029325155541300774, -0.004954173695296049, -0.013400707393884659, 0.001459592953324318, -0.01580003835260868, -0.04798661544919014, -0.013907232321798801, -0.007424596231430769, -0.028347650542855263, 0.032701991498470306, -0.008317680098116398, -0.022287117317318916, 0.002239375375211239, -0.005971667822450399, -0.003379057627171278, 0.02214493602514267, -0.021736159920692444, 0.007908905856311321, -0.004067754372954369, -0.06245369464159012, 0.0914233922958374, -0.002087195636704564, 0.03071143478155136, -0.010201599448919296, -0.000568730290979147, 0.010059417225420475, -0.014964715577661991, 0.01569340191781521, 0.028720878064632416, 0.048377618193626404, -0.02621491067111492, 0.009828370064496994, -0.06401769816875458, 0.021682841703295708, 0.016741996631026268, -0.006318238098174334, -0.03405272588133812, -0.03161785006523132, 0.016164381057024002, -0.01045930478721857, -0.018021641299128532, 0.07649422436952591, -0.0020261015743017197, 0.005700632464140654, 0.007633426692336798, -0.01641320064663887, -0.04073530435562134, 0.06167168915271759, 0.032062169164419174, 0.022873621433973312, 0.020580926910042763, 0.005278527736663818, -0.0019372374517843127, -0.06785663217306137, -0.08232370764017105, 0.020438743755221367, -0.024810858070850372, 0.03211548924446106, -0.01173006184399128, 0.003136902814731002, 0.018057186156511307, 0.0342482253909111, 0.019834468141198158, 0.00869535282254219, 0.0374295599758625, -0.00850873813033104, 0.021771706640720367, -0.011276855133473873, 0.03725183382630348, 0.013702845200896263, 0.019265737384557724, -0.01659981533885002, -1.909189819571111e-7, -0.030675889924168587, -0.020261015743017197, 0.03355508670210838, -0.02027878910303116, -0.0021782813128083944, -0.02559286169707775, -0.023264622315764427, 0.06572389602661133, 0.049088530242443085, 0.015951106324791908, 0.053318463265895844, 0.011419037356972694, 0.008366555906832218, -0.014769214205443859, -0.026979142799973488, 0.013551776297390461, 0.07620985805988312, 0.005825042258948088, 0.028116602450609207, -0.019088009372353554, 0.046813610941171646, -0.006980275269597769, -0.011383491568267345, -0.06309351325035095, -0.0013851692201569676, -0.02912965416908264, -0.005198550410568714, 0.0135340029373765, -0.026534821838140488, -0.033306267112493515, -0.006575943902134895, 0.0019150214502587914, -0.024384310469031334, 0.004183277953416109, 0.01622658595442772, 0.003359063295647502, -0.021665068343281746, -0.032613128423690796, 0.08161279559135437, -0.002241597045212984, 0.008570943027734756, -0.04532069340348244, 0.008855308406054974, 0.05466919764876366, -0.002048317575827241, 0.04947953298687935, -0.01915910094976425, -0.05019044503569603, -0.008166611194610596, -0.06014322489500046, 0.03000052273273468, 0.022038297727704048, -0.05246536806225777, -0.01053928304463625, 0.03988220915198326, -0.01905246451497078, 0.009215207770466805, -0.027192415669560432, -0.0342482253909111, 0.049372896552085876, -0.04620933532714844, -0.006806990597397089, 0.04802216216921806, 0.022020526230335236, 0.02081197313964367, 0.03248871862888336, 0.012805317528545856, -0.05274973437190056, -0.01150790136307478, -0.006073861848562956, -0.014467076398432255, -0.010592601262032986, 0.03545677661895752, -0.07763168215751648, 0.007979996502399445, -0.03636319190263748, -0.015009147115051746, 0.01756843365728855, -0.0002946400491055101, 0.008997490629553795, -0.011365719139575958, 0.013089682906866074, 0.03202662244439125, 0.001442930893972516, -0.012538725510239601, 0.03995330259203911, -0.07379275560379028, -0.014662577770650387, 0.03403495252132416, -0.008490965701639652, 0.053602829575538635, -0.10692129284143448, 0.010779215954244137, -0.0457116961479187, -0.020403198897838593, 0.05019044503569603, 0.06490634381771088, 0.03721628710627556, 0.03026711381971836, -0.03810492902994156, 0.0010191602632403374, 0.0402376689016819, 0.029787248000502586, 0.0008253253763541579, -0.03314631059765816, -0.05644648149609566, 0.003981112036854029, -0.03796274587512016, 0.007860030047595501, -0.01111689954996109, -0.03636319190263748, 0.05129236355423927, -0.007313515990972519, -0.026801414787769318, 0.014076074585318565, -0.03998884931206703, -0.02417103759944439, -0.040095485746860504, 0.04823543503880501, -0.0035279050935059786, 0.00535850552842021, 0.00688252504914999, -0.06711017340421677, -0.03469254821538925, 0.005314073525369167, -0.046706974506378174, 0.0053540621884167194, -0.006327124312520027, -0.003136902814731002, 0.04069976136088371, 0.06785663217306137, 0.043543413281440735, -0.019390147179365158, 0.04368559271097183, 0.0025037461891770363, 0.06288024038076401, -0.03346622362732887, -0.00412773760035634, 0.06639926135540009, -0.01878587156534195, 0.05786830559372902, 0.022535936906933784, 0.01332072913646698, 0.041695039719343185, 0.0021993867121636868, 0.027956647798419, -0.0008536507957614958, -0.062240418046712875, -0.028365422040224075, 0.010370440781116486, -0.030124932527542114, -0.07919569313526154, -0.037003014236688614, -0.04322350025177002, 0.02409994602203369, 0.06913627684116364, 0.06465752422809601, 0.04549842327833176, -0.04638706147670746, 0.035954415798187256, -0.024757539853453636, -0.054740287363529205, -0.03204439580440521, 0.022464845329523087, 0.0016428751405328512, -0.021807251498103142, -0.022180480882525444, 0.006500409450381994, 0.004458756651729345, 0.041410673409700394, 0.026517048478126526, 0.002428211737424135, -0.005318516865372658, -0.0031102437060326338, -0.05214545875787735, -0.03472809121012688, 0.006806990597397089, -0.002721463330090046, -0.013400707393884659, -0.0002732571156229824, 0.03026711381971836, -0.031191300600767136, -0.010397100821137428, -0.011143558658659458, -0.015435694716870785, 0.023442350327968597, 0.02409994602203369, -0.004643149673938751, -0.014875851571559906, -0.0206342451274395, -0.0033501768484711647, -0.042405951768159866, -0.021718386560678482, -0.03977557271718979, 0.012334337458014488, -0.06280914694070816, 0.008224372752010822, -0.05719294026494026, -0.002508189296349883, -0.014351553283631802, 0.017524002119898796, -0.09817706048488617, 0.05292746052145958, 0.025806136429309845, -0.014351553283631802, -0.011152445338666439, -0.026090500876307487, 0.08161279559135437, 0.0013285183813422918, -0.039740029722452164, -0.006682580802589655, 0.011676743626594543, -0.06590162217617035, -0.01473366841673851, -0.005922792479395866, -0.04649370163679123, 0.060818593949079514, -0.011179104447364807, -0.0005631762905977666, 0.04745343327522278, -0.021540658548474312, 0.010121621191501617, -0.017079681158065796, 0.02434876561164856, 0.006855865940451622, -0.008570943027734756, 0.020261015743017197, -0.007202435750514269, -0.0001423214125679806, 0.0315823033452034, 0.00677144480869174, 0.01230767834931612, -0.0033501768484711647, -0.011676743626594543, 0.01801275461912155, -0.010876966640353203, 0.025379588827490807, 0.07898242026567459, 0.013347388245165348, -0.01456482708454132, -0.0047720023430883884, 0.0205631535500288, -0.02848983183503151, -0.07407712191343307, -0.0007753393147140741, 0.0513279065489769, 0.040984123945236206, 0.03678974136710167, -0.04222822189331055, 0.003761173225939274, -0.04549842327833176, 0.021665068343281746, -0.01763063855469227, 0.03282640129327774, 0.01862591691315174, 0.024739766493439674, 0.031902212649583817, -0.010930284857749939, -0.01252983883023262, 0.0205631535500288, 0.027672283351421356, 0.0538516491651535, -0.026072729378938675, -0.03053370676934719, -0.03225766867399216, -0.051825545728206635, 0.0006114960997365415, 0.03952675312757492, 0.043045774102211, 0.004098856821656227, -0.00953511893749237, 0.01887473650276661, -0.0020205476321280003, 0.04311686381697655, -0.006806990597397089, 0.010699238628149033, -0.016884179785847664, -0.08879301697015762, 0.02319353073835373, 0.06590162217617035, 0.07528567314147949, -0.03796274587512016, 0.07261974364519119, -0.0043632276356220245, -0.06565280258655548, 0.0357944630086422, -0.019727831706404686, -0.029876112937927246, 0.0016573155298829079, 0.0024437629617750645, 0.05865031108260155, -0.009606209583580494, 0.06451533734798431, -0.00177506054751575, -0.01880364492535591, -0.0003687860444188118, -0.02143402211368084, 0.00688252504914999, 0.03415936231613159, 0.005731734912842512, -0.07990660518407822, -0.01851928047835827, 0.010219371877610683, -0.032701991498470306, -0.02134515903890133, -0.019034691154956818, -0.03133348375558853, -0.018137164413928986, -0.023424578830599785, -0.02521963231265545, -0.05019044503569603, 0.00575395068153739, 0.000280199630651623, 0.02690805122256279, 0.043721139430999756, -0.0034768080804497004, -0.045924969017505646, 0.022269343957304955, 0.041232943534851074, 0.02541513368487358, -0.009899461641907692, 0.013711731880903244, 0.018288232386112213, -0.06046313792467117, -0.010663692839443684, 0.041943859308958054, 0.01818159595131874, -0.025521771982312202, -0.04677806422114372, -0.0320977158844471, 0.007571221794933081, 0.0178972315043211, 0.05004826560616493, 0.034905821084976196, -0.030551480129361153, -0.003972225356847048 ]
41,181
pyglove.core.symbolic.functor
_call
null
def functor_class( func: types.FunctionType, args: Optional[List[Union[ Tuple[Tuple[str, pg_typing.KeySpec], pg_typing.ValueSpec, str], Tuple[Tuple[str, pg_typing.KeySpec], pg_typing.ValueSpec, str, Any]]] ] = None, # pylint: disable=bad-continuation returns: Optional[pg_typing.ValueSpec] = None, base_class: Optional[Type[Functor]] = None, *, auto_doc: bool = False, auto_typing: bool = False, serialization_key: Optional[str] = None, additional_keys: Optional[List[str]] = None, add_to_registry: bool = False, ) -> Type[Functor]: """Returns a functor class from a function. Args: func: Function to be wrapped into a functor. args: Symbolic args specification. `args` is a list of tuples, each describes an argument from the input function. Each tuple is the format of (<argumment-name>, <value-spec>, [description], [metadata-objects]). `argument-name` - a `str` or `pg_typing.StrKey` object. When `pg_typing.StrKey` is used, it describes the wildcard keyword argument. `value-spec` - a `pg_typing.ValueSpec` object or equivalent, e.g. primitive values which will be converted to ValueSpec implementation according to its type and used as its default value. `description` - a string to describe the agument. `metadata-objects` - an optional list of any type, which can be used to generate code according to the schema. There are notable rules in filling the `args`: 1) When `args` is None or arguments from the function signature are missing from it, `schema.Field` for these fields will be automatically generated and inserted into `args`. That being said, every arguments in input function will have a `schema.Field` counterpart in `Functor.__schema__.fields` sorted by the declaration order of each argument in the function signature ( other than the order in `args`). 2) Default argument values are specified along with function definition as regular python functions, instead of being set at `schema.Field` level. But validation rules can be set using `args` and apply to argument values. For example:: @pg.functor([('c', pg.typing.Int(min_value=0), 'Arg c')]) def foo(a, b, c=1, **kwargs): return a + b + c + sum(kwargs.values()) assert foo.schema.fields() == [ pg.typing.Field('a', pg.Any(), 'Argument a'.), pg.typing.Field('b', pg.Any(), 'Argument b'.), pg.typing.Field('c', pg.typing.Int(), 'Arg c.), pg.typing.Filed( pg.typing.StrKey(), pg.Any(), 'Other arguments.') ] # Prebind a=1, b=2, with default value c=1. assert foo(1, 2)() == 4 returns: Optional schema specification for the return value. base_class: Optional base class (derived from `symbolic.Functor`). If None, returned type will inherit from `Functor` directly. auto_doc: If True, the descriptions of argument fields will be inherited from funciton docstr if they are not explicitly specified through ``args``. auto_typing: If True, the value spec for constraining each argument will be inferred from its annotation. Otherwise the value specs for all arguments will be ``pg.typing.Any()``. serialization_key: An optional string to be used as the serialization key for the class during `sym_jsonify`. If None, `cls.__type_name__` will be used. This is introduced for scenarios when we want to relocate a class, before the downstream can recognize the new location, we need the class to serialize it using previous key. additional_keys: An optional list of strings as additional keys to deserialize an object of the registered class. This can be useful when we need to relocate or rename the registered class while being able to load existing serialized JSON values. add_to_registry: If True, the newly created functor class will be added to the registry for deserialization. Returns: `symbolic.Functor` subclass that wraps input function. Raises: KeyError: names of symbolic arguments are not compatible with function signature. TypeError: types of symbolic arguments are not compatible with function signature. ValueError: default values of symbolic arguments are not compatible with function signature. """ if not inspect.isfunction(func): raise TypeError(f'{func!r} is not a function.') class _Functor(base_class or Functor): """Functor wrapper for input function.""" # The schema for function-based Functor will be inferred from the function # signature. Therefore we do not infer the schema automatically during class # creation. auto_schema = False # Do not infer symbolic fields from annotations, since this functor is # created from function definition which does not have class-level # attributes. infer_symbolic_fields_from_annotations = True def _call(self, *args, **kwargs): return func(*args, **kwargs) cls = typing.cast(Type[Functor], _Functor) cls.__name__ = func.__name__ cls.__qualname__ = func.__qualname__ cls.__module__ = getattr(func, '__module__', 'wrapper') cls.__doc__ = func.__doc__ # Enable automatic registration for subclass. cls.auto_register = True # Apply function schema. schema = schema_utils.function_schema( func, args, returns, auto_doc=auto_doc, auto_typing=auto_typing) cls.apply_schema(schema) # Register functor class for deserialization if needed. if add_to_registry: cls.register_for_deserialization(serialization_key, additional_keys) return cls
(self, *args, **kwargs)
[ -0.022191151976585388, -0.0336875356733799, 0.024400491267442703, 0.0034777543041855097, 0.016658026725053787, 0.024009456858038902, -0.058146681636571884, -0.014311826787889004, 0.034841086715459824, -0.029757650569081306, -0.006471604574471712, 0.06784431636333466, -0.011418178677558899, 0.01651138998568058, 0.0005190359079279006, 0.022836357355117798, 0.006564475130289793, -0.006525371689349413, -0.022288909181952477, 0.020529258996248245, 0.022836357355117798, 0.026336107403039932, 0.014878825284540653, 0.021233119070529938, 0.03906424716114998, 0.013735052198171616, 0.0020162665750831366, 0.008157936856150627, -0.0011798214400187135, -0.038282182067632675, -0.007522507105022669, 0.009634087793529034, -0.052359387278556824, 0.003956770524382591, 0.019698312506079674, -0.034039467573165894, 0.03929886594414711, 0.04887918755412102, 0.019229073077440262, -0.005049220286309719, -0.017537852749228477, -0.028956031426787376, -0.07644705474376678, -0.02377483807504177, 0.03183012828230858, 0.06197880953550339, 0.008700495585799217, 0.03888828307390213, -0.021976083517074585, -0.05126449465751648, -0.01976674422621727, -0.05212476849555969, 0.06628017872571945, -0.0018244157545268536, 0.031302232295274734, -0.029757650569081306, 0.001275746850296855, -0.021878324449062347, -0.018613195046782494, 0.04410858079791069, -0.017508525401353836, 0.057169098407030106, -0.02467421442270279, -0.0011816543992608786, 0.008832469582557678, -0.0032333582639694214, -0.039807211607694626, -0.04129314050078392, -0.042622651904821396, 0.002541717840358615, -0.04637657478451729, 0.018329694867134094, 0.05728640779852867, -0.025573590770363808, 0.04884008690714836, -0.04039376229047775, 0.019062884151935577, -0.06010185182094574, -0.00958520919084549, -0.02088118903338909, 0.005015004891902208, -0.054119039326906204, -0.09298776835203171, -0.03669849410653114, 0.0008596627158112824, -0.027352793142199516, -0.009643863886594772, -0.0048097120597958565, -0.035388533025979996, -0.020627018064260483, -0.0757431909441948, -0.024811076000332832, -0.007522507105022669, 0.03304233029484749, -0.01209271140396595, -0.05928067862987518, -0.006486268248409033, 0.005435365717858076, 0.05095166712999344, -0.018906470388174057, 0.024009456858038902, 0.06045377999544144, -0.020040467381477356, 0.028956031426787376, 0.030187787488102913, -0.025202110409736633, -0.03834083676338196, -0.0009366474696435034, -0.03151730075478554, 0.018701177090406418, -0.03357022628188133, -0.007908652536571026, 0.05634792894124985, 0.037812940776348114, 0.006466716527938843, -0.010948938317596912, 0.010440594516694546, 0.001722991350106895, -0.029874959960579872, -0.026218796148896217, 0.013998999260365963, -0.010665439069271088, -0.004978345241397619, 0.007678920403122902, -0.022914564236998558, -0.03147819638252258, 0.04387395828962326, 0.026394762098789215, 0.007791342679411173, 0.029718546196818352, 0.051068976521492004, 0.012376210652291775, -0.015299186110496521, 0.06049288436770439, 0.031048061326146126, -0.009619424119591713, 0.020763879641890526, 0.0325535386800766, -0.09635065495967865, 0.0807093158364296, 0.037402354180812836, 0.029307961463928223, 0.01976674422621727, 0.026981312781572342, -0.04457781836390495, 0.008001523092389107, -0.006090346723794937, -0.06639748811721802, 0.00452865706756711, -0.04203610122203827, -0.014927703887224197, -0.002432961715385318, 0.0319865420460701, 0.025534488260746002, -0.005679761525243521, -0.019258400425314903, -0.0023315371945500374, -0.05345427989959717, -0.04012003913521767, 0.002903423737734556, -0.030109580606222153, 0.03401991352438927, -0.0009555881260894239, -0.07108989357948303, -0.0014309382531791925, -0.008871573023498058, 0.048175327479839325, -0.05767744407057762, -0.008343677967786789, 0.031927887350320816, -0.008622288703918457, -0.045829128473997116, 0.043052788823843, 0.038360387086868286, -0.011828763410449028, 0.03681580349802971, 0.012122038751840591, 0.0100886644795537, 0.03562315180897713, -0.03237757459282875, 0.05591779202222824, 0.0023376471363008022, -0.07480470836162567, 0.017713818699121475, 0.02395080216228962, 0.02442004345357418, -0.04653298854827881, 0.025514936074614525, 0.05431455373764038, -0.02064657025039196, -0.035075705498456955, 0.003868787782266736, 0.020294638350605965, -0.0006164887454360723, 0.025202110409736633, -0.02674669213593006, -0.03401991352438927, 0.06948665529489517, 0.03927931562066078, 0.032670848071575165, -0.0013955008471384645, 0.03237757459282875, 0.08219524472951889, -0.002903423737734556, -0.04661119356751442, -0.02596462517976761, 0.01756718009710312, 0.03759787231683731, -0.028486791998147964, -0.057403720915317535, 0.041019413620233536, -0.04289637506008148, -0.06002364307641983, 0.05149911344051361, -0.022758150473237038, -0.028330378234386444, 0.04176237806677818, -0.010509025305509567, -0.031302232295274734, -0.04297458380460739, 0.07762014865875244, 0.029151547700166702, -0.024302732199430466, -0.012307779863476753, 0.046493884176015854, -0.020060019567608833, 0.028995133936405182, -0.02312963269650936, -0.0044235666282474995, -0.024322284385561943, 0.03759787231683731, -0.05407993495464325, 0.008827581070363522, -0.016452735289931297, 0.03147819638252258, -0.04751057177782059, 0.06084481254220009, 0.034430500119924545, 0.03454780951142311, -0.02498704195022583, 0.021409085020422935, -0.030891647562384605, 0.027215931564569473, -0.02940572053194046, -0.03349202126264572, -0.007292774971574545, 0.036600735038518906, 0.024400491267442703, 0.0034606466069817543, -0.015553358010947704, -0.019493021070957184, 0.008509866893291473, -0.009428795427083969, 0.025651797652244568, 0.02307097800076008, 0.002109136898070574, -0.05286772921681404, -0.03574046120047569, 0.00003138960528303869, 0.01715659536421299, 0.019991587847471237, -0.008343677967786789, 0.01808529905974865, 0.0757431909441948, 0.026238348335027695, -0.06549811363220215, -0.015123221091926098, -0.029542582109570503, 0.033863503485918045, 0.030637474730610847, 0.04332651197910309, -0.008817805908620358, 0.0241854228079319, -0.028349928557872772, -0.019385486841201782, -0.023520665243268013, -0.049934979528188705, -0.020763879641890526, 0.06221343204379082, -0.07320147007703781, -0.024732869118452072, -0.04829263687133789, -0.04328741133213043, -0.03372664004564285, -0.023364251479506493, 0.05278952419757843, -0.0346846729516983, -0.00008630231604911387, 0.01646251045167446, -0.04907470569014549, 0.07715091109275818, -0.02289501205086708, 0.032573092728853226, 0.003978766035288572, 0.011066248640418053, 0.010303732939064503, -0.07038602977991104, -0.04778429493308067, 0.03454780951142311, -0.0882953628897667, -0.00903287436813116, -0.01814395561814308, 0.025495385751128197, -0.011515936814248562, 0.01852521300315857, -0.02958168461918831, -0.020920293405652046, -0.0314195416867733, -0.03963124752044678, 0.06315191090106964, -0.023579319939017296, 0.025984177365899086, -0.06033647060394287, -0.0023999682161957026, -0.015905287116765976, 0.06197880953550339, -0.03415677696466446, -0.05634792894124985, 0.05928067862987518, 0.043522030115127563, 0.027352793142199516, 0.018534988164901733, -0.034743327647447586, 0.058381304144859314, -0.014262947253882885, -0.0037490336690098047, 0.0000261198165389942, -0.06573273241519928, 0.023833492770791054, 0.0040618604980409145, 0.004318476188927889, 0.013774155639111996, 0.03613149747252464, 0.05087345838546753, -0.013871913775801659, 0.045359887182712555, 0.05318055674433708, -0.019062884151935577, -0.002561269560828805, -0.007204792462289333, 0.02594507299363613, -0.006153889931738377, 0.025495385751128197, 0.00638851011171937, -0.03706997632980347, -0.024537352845072746, 0.03798890486359596, -0.017215250059962273, 0.11433819681406021, -0.03327695280313492, 0.04641567915678024, -0.029620788991451263, -0.017049061134457588, 0.012004728429019451, 0.06342563778162003, -0.026336107403039932, -0.03706997632980347, -0.011066248640418053, 0.013852362520992756, -0.05341517925262451, 0.06366025656461716, -0.07543036341667175, -0.03562315180897713, 0.0042891488410532475, 0.06549811363220215, 0.045829128473997116, -0.00028808170463889837, -0.005366934929043055, -0.01511344499886036, 0.015064566396176815, 0.06514618545770645, -0.049622152000665665, -0.022914564236998558, -0.04371754825115204, -0.020705224946141243, -0.006041467655450106, 0.03261219337582588, 0.03036375157535076, -0.059984538704156876, 0.03216250613331795, 0.019023779779672623, -0.028506342321634293, 0.01020597480237484, 0.0033580001909285784, -0.003795468946918845, 0.056699857115745544, -0.03292502090334892, 0.02330559678375721, 0.04778429493308067, -0.006139226257801056, -0.02827172353863716, 0.027861136943101883, 0.02668803744018078, -0.017694266512989998, -0.006818647030740976, -0.020060019567608833, 0.023090528324246407, -0.004861035384237766, 0.017518300563097, -0.03136088699102402, -0.02395080216228962, -0.025730004534125328, 0.06498976796865463, 0.042231619358062744, 0.030637474730610847, 0.011848315596580505, 0.013138726353645325, -0.04043286666274071, 0.019317055121064186, 0.08571454882621765, 0.03841904178261757, 0.0012794127687811852, -0.04058927670121193, 0.019463693723082542, 0.014771291054785252, 0.06354294717311859, -0.02715727686882019, -0.04461692273616791, -0.009047538042068481, 0.01792888715863228, 0.03648342564702034, 0.048488155007362366, 0.0007777900900691748, 0.0556049644947052, 0.017225025221705437, 0.08047469705343246, 0.023246942088007927, 0.010694766417145729, 0.009194175712764263, 0.048644568771123886, 0.003609728068113327, -0.01891624554991722, -0.07214568555355072, -0.003025621874257922, -0.024889282882213593, -0.03204519674181938, -0.055487655103206635, -0.02956213243305683, 0.007229232229292393, 0.05286772921681404, -0.024771973490715027, -0.007102146279066801, 0.013725276105105877, 0.007972195744514465, -0.0293275136500597, 0.02049015648663044, 0.027685172855854034, 0.02330559678375721, 0.01646251045167446, 0.043443821370601654, 0.09330059587955475, -0.029914064332842827, 0.024732869118452072, 0.03910335153341293, 0.039416179060935974, -0.013011639937758446, 0.00042555443360470235, -0.043052788823843, -0.0015482483431696892, 0.02307097800076008, 0.0045824237167835236, -0.015211203135550022, -0.001226256601512432, -0.0575210303068161, -0.06620196998119354, 0.022054290398955345, 0.06373846530914307, 0.013617741875350475, -0.03372664004564285, -0.006935956887900829, 0.06479424983263016, -0.018388351425528526, -0.043600235134363174, -0.01976674422621727, 0.016218114644289017, 0.07374891638755798, 0.0009500892483629286, -0.028056655079126358, -0.040863003581762314, -0.042700860649347305, 0.043600235134363174, -0.014517119154334068, 0.0035168577451258898, 0.01578797772526741, 0.05994543805718422, 0.015533805824816227, 0.045281682163476944, 0.007693584077060223, 0.00901821069419384, 0.03566225618124008, -0.037480562925338745, 0.09134542942047119, 0.057403720915317535, -0.012561951763927937, 0.027861136943101883, -0.02064657025039196, 0.03351157158613205, 0.048331741243600845, -0.02692265808582306, -0.04629836603999138, -0.021330878138542175, -0.008680944330990314, -0.0697212740778923, 0.04313099756836891, 0.009878483600914478, -0.045672714710235596, -0.02395080216228962, 0.01397944800555706, -0.004320920445024967, -0.025026144459843636, -0.000123114456073381, -0.018564315512776375, 0.00874448660761118, 0.00944345910102129, -0.048409949988126755, 0.006965284235775471, 0.048644568771123886, 0.0054598054848611355, -0.10299822688102722, -0.07797208428382874, -0.004479777533560991, 0.010939162224531174, -0.01808529905974865, 0.002698131138458848, 0.003546185093000531, 0.02193697914481163, 0.05623061954975128, -0.03134133666753769, 0.05834219977259636, 0.016003046184778214, -0.023559769615530968, -0.0012977424776181579, -0.02369663119316101, 0.04414768144488335, -0.038360387086868286, 0.034841086715459824, 0.004777940921485424, 0.02193697914481163, 0.04852725937962532, -0.043522030115127563, 0.02459600754082203, 0.09642886370420456, -0.021878324449062347, 0.07054244726896286, -0.018202610313892365, -0.018173282966017723, 0.02506524883210659, -0.0194343663752079, -0.037480562925338745, -0.01450734306126833, -0.08008366078138351, -0.006012140307575464, 0.07480470836162567, -0.009350588545203209, -0.02467421442270279, -0.03712863102555275, 0.025202110409736633, 0.04297458380460739, -0.02596462517976761, -0.01221002172678709, -0.020705224946141243, 0.04070658981800079, 0.06557632237672806, -0.004873255267739296, -0.0016313429223373532, 0.01852521300315857, 0.05439276248216629, 0.008128609508275986, -0.045438092201948166, -0.03800845891237259, 0.028310826048254967, 0.04012003913521767, -0.05216386914253235, -0.014976583421230316, -0.03116537071764469, 0.016628699377179146, -0.010020233690738678, 0.007414972875267267, -0.026551175862550735, -0.08352475613355637, -0.0525549054145813, 0.004721729550510645, -0.02090074121952057, -0.04012003913521767, -0.009893148206174374, -0.014820169657468796, -0.032103851437568665, 0.042466238141059875, -0.09111081063747406, -0.01622788980603218, -0.039416179060935974, 0.008475651033222675, -0.06792251765727997, -0.0314195416867733, -0.04708043485879898, -0.006916405167430639, -0.022191151976585388, 0.025378074496984482, 0.005948597099632025, -0.017899559810757637, -0.0891556367278099, 0.04219251498579979, -0.01800709404051304, -0.02217159979045391, -0.03663983941078186, -0.03296412527561188, -0.029777200892567635, 0.026218796148896217, 0.02009912207722664, -0.06592825055122375, 0.009570545516908169, 0.01871095411479473, 0.00755672249943018, 0.046493884176015854, 0.01792888715863228, -0.0015934616094455123, -0.020509706810116768, -0.0053278314881026745, 0.05083435773849487, -0.0006708668661303818, -0.03245577961206436, -0.0575210303068161, 0.028995133936405182, 0.000832779158372432, -0.02066612057387829, -0.01073386985808611, 0.005601555109024048, 0.0017144375015050173, 0.04602464288473129, -0.04211430996656418, 0.00027402894920669496, -0.0016423407942056656, 0.02836948074400425, -0.03437184542417526, 0.006979948375374079, -0.053884416818618774, -0.01800709404051304, 0.04868367314338684, -0.0006039635045453906, -0.004799936432391405, -0.029542582109570503, -0.021565498784184456, -0.005948597099632025, 0.0014016107888892293, 0.058224890381097794, -0.0472368486225605, 0.02009912207722664, -0.02144818753004074, 0.09556858986616135, -0.015289410017430782, 0.005352271255105734, 0.02940572053194046, 0.013187604956328869, -0.0007075262838043272, 0.03116537071764469, -0.03859500586986542, 0.04234892874956131, -0.05232028290629387, 0.05102987214922905, -0.0006537591689266264, -0.014047878794372082, -0.04058927670121193, 0.04031555354595184, 0.017479198053479195, -0.03736325353384018, -0.00767403282225132, -0.008509866893291473, -0.0012525292113423347, 0.01136929914355278, 0.025984177365899086, 0.02612103894352913, 0.019141091033816338, 0.01756718009710312, -0.03881007432937622, 0.011506160721182823, -0.020685672760009766, 0.025905970484018326, 0.023755285888910294, -0.016364753246307373, 0.006192993372678757, 0.044225890189409256, 0.04715863987803459, -0.05095166712999344, -0.008069953881204128, -0.033374711871147156, -0.06901741772890091, 0.021037602797150612, 0.0011303311912342906, -0.04618105664849281, -0.050756148993968964, 0.03263174742460251, -0.029268858954310417, 0.06514618545770645, -0.04082389920949936, -0.06616286933422089, -0.04332651197910309, -0.05736461654305458, 0.027900241315364838, 0.0845414474606514, 0.007160800974816084, 0.013793706893920898, 0.0735534057021141, -0.036190152168273926, 0.02314918301999569, 0.04015913978219032, 0.0189357977360487, -0.028349928557872772, -0.048018913716077805, 0.05353248864412308, -0.013275587931275368, 0.020587913691997528, 0.014008775353431702, 0.009238166734576225, -0.010880507528781891, 0.05345427989959717, -0.003162483451887965, -0.014292274601757526, 0.04324830695986748, -0.02950347773730755, -0.008803142234683037, 0.011427954770624638, -0.014693084172904491, 0.0578729584813118, 0.006070795468986034, 0.03509525582194328, -0.02082253433763981, -0.001707105664536357, -0.0074003092013299465, -0.03924021124839783, 0.014194516465067863, 0.09345700591802597, 0.05204655975103378, -0.04942663386464119, -0.023090528324246407, -0.00901821069419384, -0.0636211484670639, 0.010352612473070621, -0.06678852438926697, -0.038653664290905, 0.017166370525956154, -0.06921292841434479, 0.013353794813156128, 0.004377131350338459, 0.04622016102075577, 0.07296685129404068, -0.028819169849157333, 0.022836357355117798, -0.01961033046245575, 0.03746100887656212, 0.017518300563097, -0.029992269352078438, 0.035564497113227844, -0.014350930228829384, -0.03640522062778473, 0.010450370609760284, 0.0019258400425314903, -0.03542763739824295, 0.009634087793529034, -0.02242577262222767, -0.061509571969509125, -0.020275088027119637, -0.041410449892282486, 0.006803982891142368, -0.06162688136100769, 0.06651479750871658, -0.007488291710615158, -0.006080571096390486, 0.03349202126264572 ]
41,242
pyglove.core.symbolic.origin
Origin
Class that represents the origin of a symbolic value. Origin is used for debugging the creation chain of a symbolic value, as well as keeping track of the factory or builder in creational design patterns. An `Origin` object records the source value, a string tag, and optional stack information on where a symbolic value is created. Built-in tags are '__init__', 'clone', 'deepclone' and 'return'. Users can pass custom tags to the `sym_setorigin` method of a symbolic value for tracking its source in their own scenarios. When origin tracking is enabled by calling `pg.track_origin(True)`, the `sym_setorigin` method of symbolic values will be automatically called during object creation, cloning or being returned from a functor. The stack information can be obtained by `origin.stack` or `origin.stacktrace`.
class Origin(object_utils.Formattable): """Class that represents the origin of a symbolic value. Origin is used for debugging the creation chain of a symbolic value, as well as keeping track of the factory or builder in creational design patterns. An `Origin` object records the source value, a string tag, and optional stack information on where a symbolic value is created. Built-in tags are '__init__', 'clone', 'deepclone' and 'return'. Users can pass custom tags to the `sym_setorigin` method of a symbolic value for tracking its source in their own scenarios. When origin tracking is enabled by calling `pg.track_origin(True)`, the `sym_setorigin` method of symbolic values will be automatically called during object creation, cloning or being returned from a functor. The stack information can be obtained by `origin.stack` or `origin.stacktrace`. """ def __init__(self, source: Any, tag: str, stacktrace: Optional[bool] = None, stacklimit: Optional[int] = None, stacktop: int = -1): """Constructor. Args: source: Source value for the origin. tag: A descriptive tag of the origin. Built-in tags are: '__init__', 'clone', 'deepclone', 'return'. Users can manually call `sym_setorigin` with custom tag value. stacktrace: If True, enable stack trace for the origin. If None, enable stack trace if `pg.tracek_origin()` is called. Otherwise stack trace is disabled. stacklimit: An optional integer to limit the stack depth. If None, it's determined by the value passed to `pg.set_origin_stacktrace_limit`, which is 10 by default. stacktop: A negative integer to indicate the stack top among the stack frames that we want to present to user, by default it's 2-level up from the stack within current `sym_setorigin` call. """ if not isinstance(tag, str): raise ValueError(f'`tag` must be a string. Encountered: {tag!r}.') self._source = source self._tag = tag self._stack = None self._stacktrace = None if stacktrace is None: stacktrace = flags.is_tracking_origin() if stacklimit is None: stacklimit = flags.get_origin_stacktrace_limit() if stacktrace: self._stack = traceback.extract_stack(limit=stacklimit - stacktop) if stacktop < 0: self._stack = self._stack[:stacktop] @property def source(self) -> Any: """Returns the source object.""" return self._source @property def root(self) -> 'Origin': """Returns the root source of the origin.""" current = self while True: parent = getattr(current.source, 'sym_origin', None) if parent is None: break current = parent return current def history( self, condition: Optional[Callable[['Origin'], bool]] = None) -> List['Origin']: """Returns a history of origins with an optional filter. Args: condition: An optional callable object with signature (origin) -> should_list. If None, all origins will be listed. Returns: A list of filtered origin from the earliest (root) to the most recent. """ condition = condition or (lambda o: True) current = self history = [] while current is not None: if condition(current): history.append(current) current = getattr(current.source, 'sym_origin', None) history.reverse() return history @property def tag(self) -> str: """Returns tag.""" return self._tag @property def stack(self) -> Optional[List[traceback.FrameSummary]]: """Returns the frame summary of original stack.""" return self._stack @property def stacktrace(self) -> Optional[str]: """Returns stack trace string.""" if self._stack is None: return None if self._stacktrace is None: self._stacktrace = ''.join(traceback.format_list(self._stack)) return self._stacktrace def chain(self, tag: Optional[str] = None) -> List['Origin']: """Get the origin list from the neareast to the farthest filtered by tag.""" origins = [] o = self while o is not None: if tag is None or tag == o.tag: origins.append(o) o = getattr(o.source, 'sym_origin', None) return origins def format(self, compact: bool = False, verbose: bool = True, root_indent: int = 0, **kwargs) -> str: """Formats this object.""" if isinstance(self._source, (str, type(None))): source_str = object_utils.quote_if_str(self._source) else: source_info = object_utils.format( self._source, compact, verbose, root_indent + 1, **kwargs) source_str = f'{source_info} at 0x{id(self._source):8x}' details = object_utils.kvlist_str([ ('tag', object_utils.quote_if_str(self._tag), None), ('source', source_str, None), ]) return f'{self.__class__.__name__}({details})' def __eq__(self, other: Any) -> bool: """Operator ==.""" if not isinstance(other, self.__class__): return False return self._source is other.source and self._tag == other.tag def __ne__(self, other: Any) -> bool: """Operator !=.""" return not self.__eq__(other)
(source: Any, tag: str, stacktrace: Optional[bool] = None, stacklimit: Optional[int] = None, stacktop: int = -1)
[ 0.019537724554538727, -0.027512306347489357, -0.02675282210111618, 0.021892124786973, -0.007571105845272541, -0.053353749215602875, -0.02213895693421364, -0.00824514776468277, 0.010034682229161263, -0.04803736135363579, -0.01508525013923645, 0.014116908423602581, 0.01732572726905346, 0.0001398073509335518, -0.05525245890021324, 0.04499942436814308, -0.001791907474398613, -0.0004880277847405523, 0.011705546639859676, 0.0029453737661242485, -0.02707560360431671, -0.019461777061223984, 0.023961719125509262, -0.008909695781767368, 0.006635990925133228, 0.024284500628709793, -0.01651877537369728, -0.013319450430572033, -0.08088504523038864, -0.01987949199974537, 0.005435056984424591, -0.05046771094202995, 0.007836924865841866, -0.0152181601151824, 0.04154377430677414, -0.06383462995290756, -0.02107568085193634, 0.03246793895959854, -0.04013872891664505, -0.03151858597993851, -0.012702369131147861, 0.0030426825396716595, -0.012882746756076813, -0.04659434035420418, 0.028556596487760544, 0.018692798912525177, 0.009004632011055946, 0.016414348036050797, -0.018426978960633278, -0.05745496228337288, 0.06542954593896866, 0.004248363431543112, -0.0053353747352957726, -0.011696052737534046, 0.015408030711114407, -0.006408146116882563, 0.03956911340355873, 0.09280893951654434, 0.031993262469768524, -0.009882785379886627, 0.012427056208252907, 0.06026505306363106, 0.007965087890625, -0.01590169593691826, -0.022100983187556267, -0.027398383244872093, -0.012996668927371502, -0.0409361869096756, -0.035961564630270004, -0.0011338858166709542, -0.004613865166902542, -0.03956911340355873, 0.0019877119921147823, 0.004649465903639793, -0.019461777061223984, -0.06873329728841782, -0.03049328178167343, 0.00869609136134386, -0.00029593173530884087, -0.095770925283432, -0.010034682229161263, -0.0018500554142519832, -0.006920797750353813, -0.0161959957331419, 0.02333514392375946, -0.014971327967941761, 0.03776533901691437, 0.03930329531431198, -0.005772077944129705, 0.01193339191377163, -0.05244236811995506, -0.0041107069700956345, -0.05096137523651123, 0.0033061285503208637, -0.01210427563637495, 0.019480763003230095, 0.017259273678064346, -0.08468246459960938, 0.02734142355620861, 0.009939745999872684, 0.04374627768993378, 0.031119855120778084, -0.10473284125328064, 0.03787926211953163, -0.029467977583408356, 0.06235363334417343, -0.03049328178167343, 0.022708570584654808, 0.009137541055679321, -0.035126134753227234, -0.05012594163417816, 0.018379511311650276, 0.020012402907013893, -0.05810052156448364, 0.029771771281957626, -0.041126057505607605, -0.015540940687060356, 0.024075642228126526, -0.02134149894118309, -0.03478436544537544, 0.036872945725917816, 0.009640699252486229, -0.04363235458731651, 0.005933468695729971, -0.023487040773034096, 0.024056654423475266, 0.041088081896305084, -0.014059946872293949, 0.0019129501888528466, -0.06451816111803055, 0.00122466788161546, -0.016708647832274437, -0.05999923124909401, 0.05813849717378616, 0.0432526133954525, -0.002404241356998682, -0.027398383244872093, -0.0004194962093606591, -0.09569498151540756, 0.07769520580768585, 0.035657770931720734, 0.013661217875778675, 0.017724456265568733, -0.029733797535300255, -0.08642927557229996, 0.025100944563746452, 0.017582053318619728, 0.03518309444189072, 0.005283160135149956, -0.017240285873413086, 0.0006847222684882581, -0.011230869218707085, 0.006560042500495911, 0.09918860346078873, 0.0005998736596666276, 0.021797189489006996, -0.028328752145171165, 0.005961949005723, 0.008406538516283035, 0.05973341315984726, -0.023733874782919884, -0.03820204362273216, -0.018930137157440186, -0.078682541847229, -0.0353349931538105, -0.008833748288452625, 0.016945986077189445, -0.03605649992823601, -0.06235363334417343, 0.03634130582213402, -0.04693610966205597, -0.033986907452344894, 0.009626459330320358, 0.059353671967983246, 0.011240363121032715, 0.09349247813224792, -0.025993337854743004, 0.06030302494764328, -0.047961413860321045, -0.010499865747988224, 0.0024066148325800896, -0.053315773606300354, -0.023278184235095978, -0.010167591273784637, 0.012711863033473492, -0.010604294948279858, -0.0015913562383502722, -0.039379242807626724, 0.08680901676416397, 0.035657770931720734, -0.012075794860720634, 0.010461892001330853, 0.04215136170387268, -0.01617700792849064, 0.005003100726753473, -0.02303135208785534, -0.03250591456890106, -0.008036289364099503, 0.004464341793209314, 0.013632737100124359, -0.013281475752592087, 0.043708302080631256, 0.01154415588825941, -0.03451854735612869, 0.014629559591412544, 0.05342969670891762, -0.012085288763046265, 0.026657886803150177, -0.026866745203733444, 0.0489487424492836, 0.018702292814850807, -0.03706281632184982, -0.013870076276361942, 0.012692876160144806, -0.001593729597516358, -0.02022126130759716, -0.015464992262423038, 0.021398460492491722, 0.06068276986479759, 0.018436472862958908, 0.12683382630348206, -0.07344210147857666, -0.06011315435171127, -0.009522030130028725, 0.0038377672899514437, 0.013471346348524094, 0.022271867841482162, -0.012265666387975216, 0.050809476524591446, -0.07306236028671265, 0.025252841413021088, -0.0881001427769661, -0.06504980474710464, -0.016661180183291435, 0.08779634535312653, 0.024664241820573807, 0.0631890669465065, 0.03468943014740944, -0.030379358679056168, -0.013537801802158356, -0.0749230906367302, 0.03045530617237091, 0.04260705038905144, 0.0025751253124326468, 0.0038496344350278378, -0.062125787138938904, 0.036607127636671066, 0.015142211690545082, -0.05437905341386795, -0.02933506853878498, 0.0026344601064920425, 0.02876545488834381, -0.0304363202303648, -0.022081995382905006, -0.01932886615395546, -0.08635332435369492, 0.02475917711853981, -0.03478436544537544, 0.054189179092645645, -0.027512306347489357, -0.02925911918282509, -0.10366956144571304, -0.0023864409886300564, 0.0020624736789613962, 0.00824514776468277, 0.017135856673121452, -0.02844267524778843, -0.048531025648117065, -0.020145311951637268, 0.01617700792849064, 0.02876545488834381, -0.02648700401186943, -0.059011902660131454, 0.06979657709598541, -0.043100714683532715, -0.04773356765508652, -0.018616851419210434, 0.01652826927602291, -0.029373042285442352, -0.05084745213389397, -0.003007081802934408, 0.0068306089378893375, 0.003932702820748091, -0.04161972180008888, 0.030854035168886185, -0.0028860389720648527, 0.004355165641754866, -0.031708456575870514, -0.011192894540727139, -0.011772001162171364, 0.042265281081199646, 0.05635371059179306, 0.03326539695262909, -0.031138842925429344, 0.10268223285675049, 0.03975898399949074, -0.01822761446237564, 0.032562874257564545, -0.02194908633828163, -0.02052505500614643, 0.006242008879780769, 0.03265780955553055, 0.1019986942410469, 0.033740073442459106, 0.0027555027045309544, -0.005477778147906065, 0.011003023944795132, -0.03892355412244797, 0.013699191622436047, 0.013832101598381996, 0.028328752145171165, 0.07891038060188293, -0.011173907667398453, -0.010072655975818634, 0.020316196605563164, 0.005112276412546635, -0.028879377990961075, -0.017420662567019463, 0.035714734345674515, 0.07127756625413895, -0.001903456635773182, -0.0011392259038984776, -0.025993337854743004, -0.012835279107093811, 0.011866937391459942, -0.04161972180008888, -0.04386019706726074, 0.004402633756399155, 0.0046542128548026085, 0.00202212599106133, -0.04268299788236618, -0.0029809745028615, 0.021265551447868347, 0.06949277967214584, 0.023771848529577255, 0.0092324772849679, -0.0053353747352957726, -0.015332082286477089, -0.031765416264534, -0.07310032844543457, 0.05187275633215904, -0.008553688414394855, -0.025252841413021088, 0.013965011574327946, 0.02246173843741417, -0.04359437897801399, 0.045113347470760345, 0.008036289364099503, 0.04192351549863815, 0.03979695960879326, -0.03165149316191673, 0.03244895115494728, 0.021113654598593712, 0.024417409673333168, 0.04188553988933563, -0.01222769170999527, -0.0414678230881691, -0.005235692486166954, -0.015142211690545082, 0.018332043662667274, 0.062163762748241425, -0.01849343441426754, -0.0062182750552892685, -0.02872748114168644, 0.00026730276294983923, -0.01930988021194935, -0.0007327833445742726, -0.012199210934340954, 0.00405611889436841, -0.028651531785726547, -0.03501221165060997, -0.04723990336060524, -0.002384067513048649, -0.06387259811162949, -0.06144225224852562, 0.01874976046383381, 0.06577131152153015, -0.021436434239149094, -0.07701167464256287, -0.01997442916035652, 0.07488512247800827, 0.078682541847229, -0.012588446959853172, 0.041733644902706146, -0.0022036901209503412, 0.023164261132478714, 0.02846166118979454, 0.023487040773034096, 0.023999692872166634, 0.010471384972333908, 0.0013338436838239431, -0.060796692967414856, 0.05430310219526291, 0.005273666698485613, -0.020278220996260643, -0.04587282985448837, -0.02044910565018654, 0.030854035168886185, -0.039986830204725266, -0.022708570584654808, 0.03590460494160652, 0.0036241626366972923, 0.05130314081907272, 0.008629636839032173, 0.0009018871933221817, -0.07306236028671265, 0.0774293914437294, 0.012075794860720634, -0.008283121511340141, 0.053885385394096375, -0.003863874590024352, -0.06717635691165924, -0.02477816492319107, -0.012559966184198856, -0.006764153949916363, -0.02107568085193634, 0.021759215742349625, -0.0003435478138271719, -0.0015866095200181007, 0.02699965424835682, 0.02219591848552227, -0.021208589896559715, -0.015170692466199398, 0.034575507044792175, -0.024056654423475266, 0.00520246522501111, -0.033683113753795624, 0.03271477296948433, 0.016414348036050797, 0.04754369705915451, 0.021778203547000885, -0.0010804845951497555, 0.05153098702430725, -0.02221490629017353, -0.009892278350889683, -0.0489487424492836, 0.0004853577120229602, -0.0004512402811087668, 0.037708379328250885, 0.06956873089075089, 0.015322589315474033, 0.004369406029582024, 0.0053496151231229305, -0.00470168050378561, -0.03949316591024399, 0.04161972180008888, 0.0042815906926989555, 0.04773356765508652, -0.019556712359189987, 0.02280350588262081, 0.011999846436083317, -0.008022049441933632, -0.02101871930062771, -0.019129501655697823, -0.05722711607813835, -0.021113654598593712, 0.06098656356334686, 0.00910906121134758, -0.06170807033777237, 0.021531369537115097, 0.005311640910804272, 0.018303563818335533, 0.03096795827150345, -0.009545763954520226, -0.04275894537568092, 0.03522107005119324, 0.048796843737363815, -0.046480417251586914, -0.0761762410402298, -0.03330337256193161, 0.043062739074230194, -0.006294223479926586, -0.056467633694410324, -0.004070359282195568, 0.016309918835759163, 0.03805014491081238, 0.012911227531731129, -0.021455422043800354, -0.04720192775130272, -0.043062739074230194, -0.029392030090093613, -0.09941644966602325, 0.03336033225059509, -0.028594572097063065, 0.00504582142457366, 0.016964973881840706, 0.0489487424492836, -0.01987949199974537, 0.061859969049692154, 0.04773356765508652, -0.02787306159734726, 0.023202234879136086, -0.05859418958425522, -0.019556712359189987, -0.02274654433131218, 0.04097415879368782, -0.004632852040231228, -0.008748305961489677, 0.0010140297235921025, -0.06520169973373413, -0.017553573474287987, -0.032923631370067596, -0.024854112416505814, 0.005444550886750221, 0.059049878269433975, -0.025176893919706345, 0.014050452969968319, 0.016632698476314545, -0.02101871930062771, -0.025138918310403824, 0.026866745203733444, -0.011316310614347458, 0.03892355412244797, -0.00048209429951384664, -0.03926531970500946, 0.00455453060567379, -0.035391952842473984, 0.016072578728199005, -0.014828924089670181, -0.04036657139658928, -0.0013433372369036078, -0.026923706755042076, 0.04291084408760071, -0.008947670459747314, 0.019157983362674713, -0.024398421868681908, -0.0007873712456785142, -0.012417563237249851, -0.0013290969654917717, 0.004903418477624655, 0.0500120185315609, 0.007784710731357336, -0.020316196605563164, 0.002011445816606283, 0.03233502805233002, 0.09470765292644501, 0.02075289934873581, -0.017002947628498077, -0.0421893335878849, -0.016727633774280548, 0.04241717979311943, 0.024569306522607803, -0.041999462991952896, 0.03953114151954651, 0.008700838312506676, -0.04572093486785889, -0.0022452245466411114, 0.0015794893261045218, 0.020866822451353073, -0.041126057505607605, -0.0036906173918396235, 0.008753052912652493, 0.06618902832269669, 0.02707560360431671, 0.014135895296931267, -0.007965087890625, 0.03212617337703705, 0.05851823836565018, 0.009768862277269363, 0.021493395790457726, 0.01768648251891136, 0.03592359274625778, 0.014135895296931267, -0.04982214793562889, -0.020657964050769806, 0.03983493521809578, -0.008382804691791534, -0.00016984553076326847, 0.020657964050769806, 0.00927045103162527, 0.0012080541346222162, -0.014620066620409489, 0.057341039180755615, 0.06227768585085869, 0.0242085512727499, 0.010680243372917175, -0.029107222333550453, 0.08430272340774536, 0.02736040949821472, -0.04131592810153961, 0.0735180452466011, -0.02107568085193634, 0.014828924089670181, -0.06440424174070358, -0.01266439538449049, 0.03518309444189072, -0.03267679736018181, 0.04294881969690323, 0.04287286847829819, -0.01765800267457962, -0.01065176259726286, 0.012806798331439495, -0.03725268691778183, -0.0036170424427837133, 0.02874646708369255, 0.014876391738653183, -0.03129073977470398, -0.011857443489134312, 0.029392030090093613, 0.01596814952790737, -0.025898402556777, -0.0008164452738128603, 0.007542625069618225, -0.04442981258034706, 0.013357424177229404, -0.05586004629731178, 0.03787926211953163, -0.020999731495976448, 0.03167048096656799, -0.02673383615911007, 0.03607548773288727, 0.02498702146112919, -0.024075642228126526, -0.06117643415927887, -0.021512383595108986, -0.041999462991952896, -0.011772001162171364, 0.04534119367599487, 0.007129655685275793, 0.012066301889717579, 0.03180339187383652, -0.005449297372251749, -0.04294881969690323, -0.005748344119638205, -0.04192351549863815, 0.05206262692809105, 0.01880672201514244, 0.015332082286477089, -0.022271867841482162, -0.018275082111358643, 0.030284423381090164, 0.021151628345251083, 0.004473835229873657, -0.02048707939684391, -0.030910996720194817, -0.0036241626366972923, 0.0129492012783885, 0.011040997691452503, -0.055328406393527985, 0.06725230813026428, -0.022575661540031433, -0.04617662355303764, -0.05240439251065254, 0.049898095428943634, -0.08885962516069412, 0.0006230141734704375, 0.0068590897135436535, -0.07465727627277374, 0.008563181385397911, 0.008197680115699768, 0.016309918835759163, 0.0380881205201149, -0.01853140816092491, -0.00866286363452673, 0.027094589546322823, 0.045910805463790894, -0.054530948400497437, -0.0034770125057548285, 0.05897393077611923, 0.013034643605351448, 0.06387259811162949, -0.026600925251841545, 0.015863722190260887, 0.030816061422228813, -0.016974465921521187, 0.0027768632862716913, 0.008938176557421684, 0.014743482694029808, 0.06227768585085869, 0.043708302080631256, -0.013575775548815727, -0.05236642062664032, -0.013404891826212406, -0.03563878312706947, -0.027967996895313263, -0.003353596432134509, 0.05092339962720871, 0.04815128445625305, 0.008420778438448906, -0.06702446192502975, 0.04442981258034706, 0.023676913231611252, 0.016575736925005913, -0.032619837671518326, 0.008710331283509731, 0.03070213831961155, 0.004210389219224453, 0.006294223479926586, 0.047088004648685455, -0.04048049449920654, -0.0015165945515036583, -0.04161972180008888, 0.03271477296948433, 0.019224436953663826, -0.028689507395029068, 0.016044098883867264, -0.06873329728841782, -0.033189449459314346, 0.01991746760904789, -0.0244743712246418, 0.03326539695262909, 0.0494803786277771, 0.038031160831451416, -0.005914481356739998, 0.011268842965364456, -0.005928721744567156, 0.006944531574845314, -0.03438563644886017, 0.053087927401065826, -0.01596814952790737, 0.0036834971979260445, 0.019993415102362633, -0.00042364964610897005, -0.0484171025454998, 0.04701205715537071, 0.00426260381937027, -0.016898518428206444, 0.0323919914662838, 0.020828846842050552, -0.00017340561316814274, 0.02274654433131218, 0.030094552785158157, 0.03366412594914436, 0.017297247424721718, 0.054530948400497437, 0.06292324513196945, -0.02479715086519718, -0.0017218925058841705, -0.04731585085391998, -0.040290623903274536, 0.02905026078224182, 0.12516295909881592, -0.03525904193520546, 0.014933353289961815, 0.0031589786522090435, -0.043138690292835236, -0.014990314841270447, 0.03618941083550453, -0.014078933745622635, 0.03991088271141052, -0.02793002314865589, -0.013699191622436047, -0.030607203021645546, 0.013404891826212406, 0.060416948050260544, 0.025119932368397713, 0.00039783905958756804, -0.01991746760904789, -0.005814799107611179, 0.03664509952068329, 0.06956873089075089, -0.0024517092388123274, 0.009711900725960732, -0.06930290907621384, 0.009892278350889683, -0.05210059881210327, -0.05745496228337288, 0.05582207068800926, -0.013461853377521038, -0.04575891047716141, -0.06170807033777237, -0.02734142355620861, 0.025746505707502365, 0.011344791390001774, 0.05468284711241722, 0.024341460317373276, -0.04374627768993378, 0.02361995168030262 ]
41,243
pyglove.core.symbolic.origin
__eq__
Operator ==.
def __eq__(self, other: Any) -> bool: """Operator ==.""" if not isinstance(other, self.__class__): return False return self._source is other.source and self._tag == other.tag
(self, other: Any) -> bool
[ 0.037593498826026917, -0.04400840774178505, -0.0237781573086977, 0.022201308980584145, -0.04210902005434036, -0.07798232138156891, -0.03284503519535065, 0.017542438581585884, 0.035568684339523315, -0.019585173577070236, 0.01801728457212448, -0.0657259076833725, 0.09246066212654114, 0.06712356954813004, -0.026250943541526794, -0.004132507834583521, -0.04461764171719551, 0.03429645299911499, 0.0026855699252337217, 0.0022051238920539618, -0.05045915022492409, 0.014343945309519768, 0.02135912887752056, 0.03178783133625984, 0.028096571564674377, 0.08830351382493973, 0.002974509494379163, -0.012372884899377823, -0.05676654353737831, 0.06418489664793015, -0.04078303277492523, -0.06751777976751328, 0.045477744191884995, -0.0011400793446227908, 0.028401190415024757, 0.0057653519324958324, -0.035962894558906555, 0.05787750333547592, -0.045083530247211456, -0.05078168585896492, -0.036769237369298935, -0.019441824406385422, -0.018563807010650635, -0.011423191986978054, -0.004159385804086924, -0.032719604671001434, -0.046875402331352234, -0.019853955134749413, 0.0374501496553421, -0.0067643215879797935, 0.011548622511327267, -0.0020326562225818634, -0.01491734478622675, 0.06923798471689224, -0.05210767313838005, 0.028777483850717545, 0.008721943013370037, 0.06988305598497391, -0.035371579229831696, 0.06257221102714539, -0.0197464432567358, 0.016565868631005287, 0.03490569069981575, -0.03895532339811325, -0.041141409426927567, -0.04612281545996666, -0.07318010181188583, -0.00520987156778574, 0.0046991873532533646, 0.06396987289190292, -0.0384535975754261, -0.007866322994232178, 0.013949733227491379, 0.033938080072402954, -0.050423312932252884, -0.0008488999446853995, -0.03447563946247101, 0.09324908256530762, 0.015195084735751152, -0.0840030163526535, 0.012991080991923809, -0.019244719296693802, 0.004703667014837265, -0.03411726653575897, -0.060350291430950165, 0.0003499752492643893, -0.04848808795213699, 0.022900139912962914, 0.008336690254509449, -0.01001657173037529, 0.011745728552341461, 0.032934628427028656, 0.004748464096337557, -0.033543866127729416, 0.06482997536659241, 0.0455494187772274, 0.007593062706291676, -0.05038747563958168, -0.008762259967625141, 0.00723020825535059, 0.02600008063018322, 0.021878771483898163, 0.016162697225809097, 0.01953141763806343, -0.0005935580120421946, 0.042144857347011566, -0.008049990050494671, 0.0011490386677905917, -0.013860139064490795, -0.01274021901190281, -0.043148308992385864, 0.030497683212161064, -0.023491457104682922, 0.024011101573705673, 0.005886303726583719, -0.046588703989982605, -0.008977284654974937, 0.009134073741734028, -0.02883123978972435, -0.026931853964924812, 0.031931180506944656, 0.07117320597171783, 0.0048111798241734505, 0.03719928860664368, 0.05622898042201996, -0.03392016142606735, 0.05192848667502403, -0.01933431252837181, -0.0687362551689148, -0.025337086990475655, 0.026340536773204803, -0.013465926982462406, 0.0009457730920985341, 0.07153157889842987, 0.07841236889362335, 0.0013383053010329604, 0.014334985986351967, 0.03316757455468178, 0.00915647204965353, 0.008878732100129128, 0.03386640548706055, 0.0011120813433080912, 0.035049039870500565, -0.013483845628798008, -0.04662454128265381, 0.0015600495971739292, -0.07199746370315552, 0.03264793008565903, 0.017632031813263893, -0.011656135320663452, -0.019871873781085014, -0.02662723697721958, 0.017443886026740074, 0.02266719564795494, -0.03449355810880661, -0.0020091377664357424, -0.008144063875079155, 0.005236749537289143, 0.0018624282674863935, 0.030426006764173508, 0.016216453164815903, -0.0171840637922287, 0.007906640879809856, -0.004627512767910957, -0.009084797464311123, -0.00024568260414525867, -0.05719659477472305, -0.005966937635093927, 0.005725034978240728, 0.007485550362616777, -0.011772607453167439, -0.030210983008146286, -0.00865026842802763, 0.008739861659705639, -0.030103469267487526, 0.04873895272612572, 0.01790977269411087, 0.05536888167262077, -0.02530124969780445, -0.010159920901060104, 0.027146879583597183, -0.04078303277492523, -0.04873895272612572, 0.01658378727734089, 0.0363929457962513, 0.0016182855470106006, 0.022935977205634117, -0.023204758763313293, 0.022434253245592117, 0.027057286351919174, -0.01933431252837181, -0.0394928865134716, -0.04422343149781227, -0.014343945309519768, -0.001217353856191039, -0.04744880273938179, 0.0029543510172516108, -0.04096222296357155, 0.04906148836016655, 0.09991484880447388, -0.015006938017904758, -0.04565693065524101, -0.002240961417555809, 0.026537641882896423, -0.0038592468481510878, -0.03227163851261139, 0.013385293073952198, -0.0028871556278318167, 0.061568763107061386, -0.012955243699252605, -0.0237781573086977, -0.041141409426927567, 0.020373597741127014, 0.027594847604632378, 0.04737712815403938, 0.03522822633385658, -0.04218069463968277, -0.02438739500939846, -0.03409934788942337, 0.04332749545574188, 0.11475156247615814, -0.03938537463545799, -0.020714053884148598, 0.0032500100787729025, 0.020767809823155403, 0.012937325052917004, -0.0012509515509009361, 0.02033776044845581, -0.016019346192479134, -0.05834339186549187, 0.0809926688671112, -0.005133716855198145, 0.04995742440223694, -0.016001427546143532, 0.023491457104682922, 0.03599873185157776, 0.018796749413013458, 0.044474292546510696, -0.10994934290647507, -0.01532947551459074, -0.009192309342324734, -0.013770545832812786, 0.03277336061000824, 0.006562735885381699, 0.0035143112763762474, -0.0941091850399971, -0.004788781050592661, 0.04278993234038353, -0.0076289004646241665, -0.018268147483468056, 0.04228820651769638, -0.04135643318295479, -0.05289609730243683, -0.030193064361810684, -0.010186798870563507, -0.04429510608315468, -0.04239572212100029, -0.024656174704432487, 0.06081617623567581, 0.0028535581659525633, -0.021592073142528534, 0.046696215867996216, 0.025731299072504044, 0.03913450986146927, -0.01710342988371849, 0.017022795975208282, -0.012175778858363628, 0.036285433918237686, 0.005375619512051344, -0.03712761402130127, 0.07955916970968246, -0.03408142924308777, 0.00900416262447834, 0.07052812725305557, -0.02205795980989933, -0.028795402497053146, 0.0227567907422781, -0.014603766612708569, -0.06941717118024826, -0.0556555837392807, 0.009819465689361095, 0.02318684011697769, 0.011172330006957054, -0.06482997536659241, -0.03488777205348015, -0.035049039870500565, -0.0075258673168718815, -0.04798636585474014, 0.011503825895488262, -0.05848674103617668, 0.01501589734107256, 0.013618236407637596, 0.043148308992385864, 0.007019663229584694, 0.013062755577266216, 0.06052947789430618, 0.007951437495648861, -0.005303944926708937, 0.014227473177015781, 0.035962894558906555, 0.0012195936869829893, 0.009084797464311123, 0.022004203870892525, -0.013241942971944809, 0.004914212506264448, 0.042144857347011566, -0.01203242875635624, 0.046481192111968994, 0.028705809265375137, 0.01002553105354309, 0.03449355810880661, 0.03780852630734444, 0.012381844222545624, 0.051426760852336884, -0.0018086719792336226, -0.0005269226967357099, 0.0136540737003088, -0.025139981880784035, 0.002360793063417077, 0.06913046538829803, -0.05128341168165207, 0.03194909915328026, -0.05622898042201996, -0.02399318292737007, -0.012578950263559818, -0.07748059928417206, -0.013286739587783813, 0.021717503666877747, 0.025014549493789673, 0.04766382649540901, 0.011360475793480873, -0.013725749216973782, 0.08586656302213669, 0.022111715748906136, -0.015275719575583935, -0.050136614590883255, -0.012802934274077415, 0.014227473177015781, 0.03386640548706055, -0.018545888364315033, 0.008211258798837662, -0.007521387655287981, 0.031913261860609055, -0.0313398614525795, 0.04210902005434036, -0.0074765910394489765, -0.06017110124230385, 0.009568602778017521, 0.034529395401477814, -0.036876749247312546, -0.046302005648612976, 0.013528643175959587, 0.057124920189380646, -0.030712706968188286, 0.028652053326368332, -0.010258474387228489, 0.01067956443876028, 0.04572860524058342, -0.013600317761301994, 0.0014995739329606295, 0.08077764511108398, 0.000976010924205184, 0.01739908941090107, -0.012793974950909615, -0.008023112080991268, 0.028204085305333138, -0.011217126622796059, -0.020068980753421783, -0.0819961205124855, -0.028365353122353554, -0.068772092461586, -0.007122695911675692, -0.033131737262010574, -0.03734263777732849, -0.03467274829745293, -0.03963623568415642, -0.08020424842834473, 0.010688523761928082, -0.007651298772543669, -0.01218473818153143, 0.09181558340787888, 0.07002640515565872, -0.021484559401869774, 0.06332480162382126, -0.004345292691141367, -0.01532947551459074, -0.013671992346644402, -0.001323746400885284, 0.03813106194138527, 0.05443710833787918, -0.030927732586860657, -0.03164448216557503, -0.035371579229831696, 0.003977958578616381, -0.06228551268577576, -0.0344039648771286, -0.03295254707336426, -0.001377502572722733, -0.09869638085365295, -0.011127532459795475, 0.014657522551715374, 0.05644400790333748, 0.00307306251488626, 0.014603766612708569, 0.0055637662298977375, 0.025623787194490433, 0.03329300507903099, 0.008005193434655666, -0.04676789045333862, 0.0374501496553421, -0.059239327907562256, -0.030515601858496666, -0.005357700865715742, -0.0012431120267137885, -0.05067417398095131, -0.018330862745642662, 0.0637190118432045, -0.02558794990181923, 0.0566231943666935, 0.006997264921665192, -0.023796075955033302, 0.049527376890182495, -0.017542438581585884, -0.0237602386623621, -0.019101368263363838, -0.05425792187452316, 0.03429645299911499, 0.0678044855594635, 0.017730586230754852, -0.008117185905575752, -0.04393673315644264, -0.030318494886159897, 0.05031580105423927, 0.02610759250819683, 0.034654829651117325, 0.013537602499127388, -0.03449355810880661, -0.06242886185646057, 0.052358534187078476, 0.0323612317442894, -0.018545888364315033, -0.02205795980989933, -0.009470050223171711, -0.01274917833507061, -0.07705055177211761, -0.0566231943666935, -0.005303944926708937, 0.04461764171719551, 0.014496254734694958, 0.009685074910521507, 0.01840253733098507, 0.062464699149131775, -0.05673070624470711, -0.040030449628829956, -0.021699585020542145, -0.05293193459510803, -0.003202973399311304, -0.01861756294965744, -0.009720912203192711, -0.0171840637922287, -0.04590779170393944, 0.011853241361677647, -0.029117939993739128, -0.023294351994991302, -0.025122063234448433, 0.012166819535195827, 0.007579623721539974, 0.010070327669382095, 0.017049673944711685, 0.06160460039973259, 0.025139981880784035, -0.07160325348377228, -0.041750647127628326, 0.027774034067988396, -0.02791738510131836, 0.014854628592729568, -0.04067552089691162, 0.02094699814915657, -0.05501050874590874, 0.0011137612164020538, -0.03275544196367264, -0.013887017033994198, 0.021000754088163376, -0.02793530374765396, 0.028365353122353554, -0.04726961627602577, 0.023240596055984497, 0.0028826759662479162, 0.00437665032222867, -0.002828919794410467, -0.001964340917766094, -0.02134121023118496, -0.07267837971448898, 0.004260178655385971, 0.004567036870867014, -0.014182676561176777, 0.005178513471037149, 0.044760994613170624, -0.02639429271221161, 0.008860813453793526, 0.0103749455884099, 0.013125471770763397, -0.014245391823351383, 0.007270525675266981, 0.05816420540213585, -0.022398415952920914, 0.0004863255890086293, -0.021681666374206543, -0.05031580105423927, 0.05293193459510803, 0.01852796971797943, -0.043363332748413086, 0.03277336061000824, -0.016449395567178726, 0.09217395633459091, 0.032128285616636276, -0.01852796971797943, -0.03114275634288788, -0.039421211928129196, -0.03564035892486572, 0.038596950471401215, -0.02164582908153534, 0.00834116991609335, -0.04443845525383949, -0.037987712770700455, 0.0011439990485087037, -0.043650031089782715, -0.004591675009578466, 0.004123548045754433, -0.06518834829330444, -0.012122021988034248, -0.0323970690369606, -0.04619449004530907, -0.0014357384061440825, -0.0465170294046402, 0.06658601015806198, 0.001665322226472199, 0.030497683212161064, 0.011172330006957054, 0.03013930842280388, 0.013430089689791203, 0.01233704760670662, 0.01748868264257908, 0.011915956623852253, -0.009080317802727222, 0.050029098987579346, -0.016431476920843124, 0.010957304388284683, 0.03673340007662773, 0.04773550108075142, -0.004430406726896763, -0.00614164536818862, 0.014003489166498184, 0.0022600002121180296, 0.0202302485704422, 0.030999407172203064, -0.0004734465037472546, 0.038202736526727676, 0.07232000678777695, 0.04379338026046753, 0.05067417398095131, -0.006974866613745689, 0.02347353845834732, -0.011423191986978054, -0.025157900527119637, -0.03619584068655968, 0.02519373781979084, -0.035550765693187714, 0.05243020877242088, 0.04838057607412338, 0.003615104127675295, -0.02318684011697769, -0.02456658147275448, -0.02608967386186123, 0.031626563519239426, 0.0027169277891516685, -0.03456523269414902, 0.07160325348377228, -0.06644266098737717, -0.033525947481393814, -0.023097245022654533, 0.024208206683397293, 0.07619044929742813, -0.03659005090594292, 0.010186798870563507, -0.05078168585896492, -0.005424896255135536, 0.00409443024545908, 0.004309454932808876, -0.04866727814078331, -0.0364467017352581, 0.018492132425308228, -0.002582537243142724, -0.04278993234038353, 0.025408761575818062, -0.034869853407144547, 0.03510279580950737, -0.028060734272003174, -0.0072839646600186825, -0.017739545553922653, 0.045155204832553864, -0.03630335256457329, -0.016861526295542717, -0.05088919773697853, 0.03279127925634384, -0.015544500201940536, -0.030426006764173508, -0.00809926725924015, 0.017927691340446472, 0.013080674223601818, 0.07676384598016739, 0.027164798229932785, 0.034332290291786194, -0.035568684339523315, 0.04056800901889801, -0.006280515808612108, -0.016108939424157143, 0.06905879080295563, -0.05511802062392235, 0.037987712770700455, 0.013286739587783813, 0.020373597741127014, -0.03194909915328026, 0.020176492631435394, -0.070850670337677, -0.030103469267487526, 0.034439802169799805, -0.03795187547802925, 0.014182676561176777, -0.010401824489235878, 0.024727851152420044, -0.04157146066427231, 0.06357566267251968, -0.03203869238495827, -0.01627916842699051, -0.0576624795794487, 0.024441150948405266, 0.021394966170191765, 0.010222637094557285, 0.0657259076833725, -0.003429197473451495, -0.014191635884344578, -0.0434708446264267, 0.06594093143939972, -0.07027726620435715, 0.0035277504939585924, -0.017649950459599495, -0.025838812813162804, 0.004945570137351751, -0.019047612324357033, -0.025337086990475655, 0.034959446638822556, 0.0011434390908107162, -0.000970971304923296, -0.03472650423645973, 0.02953007072210312, -0.007955917157232761, 0.0037517345044761896, 0.026465967297554016, -0.007767770439386368, 0.03608832508325577, 0.0065761748701334, 0.020964916795492172, -0.00033653617720119655, 0.032110366970300674, 0.007171972654759884, 0.003491912968456745, -0.050530824810266495, -0.0030484243761748075, 0.042754095047712326, -0.042324043810367584, 0.010168880224227905, -0.020785730332136154, -0.030694788321852684, -0.015051734633743763, -0.0546521320939064, 0.04716210439801216, -0.022183390334248543, -0.04640951752662659, -0.03927786275744438, -0.030067631974816322, 0.03366929665207863, -0.02438739500939846, -0.03361554071307182, -0.006715044844895601, 0.05239437147974968, -0.03977958485484123, 0.0008869772427715361, 0.06848539412021637, -0.06590509414672852, -0.012632706202566624, -0.04744880273938179, 0.030712706968188286, 0.030282657593488693, 0.02770235948264599, -0.005012765526771545, -0.046875402331352234, -0.008583072572946548, -0.037378475069999695, -0.007328761275857687, 0.011028979904949665, -0.021717503666877747, 0.03105316311120987, -0.020570704713463783, 0.02560586854815483, 0.009255025535821915, -0.04866727814078331, 0.017981447279453278, 0.07977419346570969, -0.019280556589365005, -0.04934819042682648, 0.021771259605884552, -0.03572995215654373, -0.04898981377482414, 0.052251022309064865, 0.003019306343048811, -0.02338394522666931, 0.008820495568215847, -0.009685074910521507, 0.045155204832553864, -0.04343500733375549, -0.011665094643831253, 0.019495580345392227, -0.015087572857737541, 0.004322894383221865, 0.06551088392734528, 0.0414997823536396, -0.044868506491184235, -0.01821439154446125, 0.005877344403415918, 0.023813994601368904, 0.11460821330547333, 0.022828465327620506, 0.00860547088086605, -0.04644535481929779, 0.0197464432567358, -0.04429510608315468, -0.03144737333059311, 0.03558660298585892, 0.09389415383338928, 0.013439049012959003, -0.0031895344145596027, 0.041320595890283585, -0.030067631974816322, -0.016673380509018898, -0.02780987322330475, 0.0207498911768198, 0.02953007072210312, -0.02659139782190323, 0.008704024367034435, 0.02014065533876419, 0.018850507214665413, 0.05981272831559181, -0.007530347444117069, 0.052752748131752014, 0.05088919773697853, -0.011270882561802864, -0.00012165139196440578, 0.02386775054037571, -0.017972487956285477, -0.033149655908346176, 0.024154450744390488, 0.011647175997495651, 0.0040518734604120255, -0.03422477841377258, 0.025767136365175247, -0.0068315165117383, 0.09181558340787888 ]
41,244
pyglove.core.symbolic.origin
__init__
Constructor. Args: source: Source value for the origin. tag: A descriptive tag of the origin. Built-in tags are: '__init__', 'clone', 'deepclone', 'return'. Users can manually call `sym_setorigin` with custom tag value. stacktrace: If True, enable stack trace for the origin. If None, enable stack trace if `pg.tracek_origin()` is called. Otherwise stack trace is disabled. stacklimit: An optional integer to limit the stack depth. If None, it's determined by the value passed to `pg.set_origin_stacktrace_limit`, which is 10 by default. stacktop: A negative integer to indicate the stack top among the stack frames that we want to present to user, by default it's 2-level up from the stack within current `sym_setorigin` call.
def __init__(self, source: Any, tag: str, stacktrace: Optional[bool] = None, stacklimit: Optional[int] = None, stacktop: int = -1): """Constructor. Args: source: Source value for the origin. tag: A descriptive tag of the origin. Built-in tags are: '__init__', 'clone', 'deepclone', 'return'. Users can manually call `sym_setorigin` with custom tag value. stacktrace: If True, enable stack trace for the origin. If None, enable stack trace if `pg.tracek_origin()` is called. Otherwise stack trace is disabled. stacklimit: An optional integer to limit the stack depth. If None, it's determined by the value passed to `pg.set_origin_stacktrace_limit`, which is 10 by default. stacktop: A negative integer to indicate the stack top among the stack frames that we want to present to user, by default it's 2-level up from the stack within current `sym_setorigin` call. """ if not isinstance(tag, str): raise ValueError(f'`tag` must be a string. Encountered: {tag!r}.') self._source = source self._tag = tag self._stack = None self._stacktrace = None if stacktrace is None: stacktrace = flags.is_tracking_origin() if stacklimit is None: stacklimit = flags.get_origin_stacktrace_limit() if stacktrace: self._stack = traceback.extract_stack(limit=stacklimit - stacktop) if stacktop < 0: self._stack = self._stack[:stacktop]
(self, source: Any, tag: str, stacktrace: Optional[bool] = None, stacklimit: Optional[int] = None, stacktop: int = -1)
[ -0.011453545652329922, -0.028926605358719826, -0.014966453425586224, 0.02561495639383793, -0.027316521853208542, -0.028103267773985863, -0.03538523241877556, 0.06282982975244522, 0.02327301912009716, -0.07838176935911179, 0.0014488460728898644, 0.06389102339744568, -0.009953240863978863, 0.0031446933280676603, -0.07669850438833237, 0.04852204769849777, 0.02367553859949112, -0.013694853521883488, 0.00008462084224447608, -0.010575317777693272, -0.0318906232714653, 0.03084772638976574, 0.012313475832343102, 0.026859112083911896, 0.012533032335340977, 0.06612318009138107, -0.03664768487215042, -0.0011406660778447986, -0.01785728521645069, -0.0024631526321172714, 0.014225449413061142, -0.055730827152729034, -0.04672900214791298, 0.017491357401013374, 0.026163849979639053, -0.04628988727927208, -0.02393168956041336, 0.008000100031495094, -0.06780645251274109, -0.060963597148656845, -0.0007998956716619432, -0.023419389501214027, -0.05551127344369888, -0.03787354379892349, 0.05887781083583832, 0.017546245828270912, 0.061402712017297745, -0.04069118946790695, 0.004617553669959307, -0.08518803119659424, 0.03620857000350952, 0.05737750604748726, 0.004427728243172169, -0.03172595426440239, -0.004816527012735605, 0.0708436518907547, 0.01766517199575901, 0.09923966228961945, -0.006422035861760378, 0.007190484553575516, -0.01324659213423729, 0.07911362498998642, 0.041349858045578, 0.003682150039821863, 0.012432402931153774, -0.008448361419141293, -0.03981296345591545, -0.06992883235216141, -0.03523886203765869, -0.031048987060785294, 0.0005160156288184226, -0.020784707739949226, -0.013804632239043713, 0.048119526356458664, 0.008228804916143417, -0.052034955471754074, -0.05276681110262871, 0.016951613128185272, -0.03604390472173691, -0.039447035640478134, 0.020839598029851913, -0.011124210432171822, -0.006078978069126606, -0.005315103568136692, 0.05873143672943115, -0.025102658197283745, 0.017180318012833595, 0.02546858601272106, 0.010108759626746178, 0.024297617375850677, -0.054852601140737534, -0.01216710451990366, -0.057048168033361435, 0.018021952360868454, 0.03489123284816742, -0.010017277672886848, 0.06023174151778221, -0.040105704218149185, 0.014307782985270023, -0.0027627560775727034, 0.020309001207351685, -0.014445005916059017, -0.09404348582029343, 0.01273429300636053, -0.0020045991986989975, 0.05221791937947273, 0.022065456956624985, 0.028267934918403625, 0.004743341356515884, -0.030902616679668427, -0.01784813590347767, -0.018973365426063538, 0.025596661493182182, -0.01482923049479723, -0.012944702059030533, -0.02402317151427269, -0.017491357401013374, 0.03066476248204708, -0.016768649220466614, -0.0347631573677063, 0.013987596146762371, 0.01055702194571495, -0.04559462517499924, 0.021845899522304535, -0.004592395853251219, 0.004853119608014822, 0.061219748109579086, -0.041642602533102036, -0.026419999077916145, -0.02402317151427269, 0.020528558641672134, -0.04585077241063118, -0.04025207459926605, 0.054706230759620667, -0.008631325326859951, -0.00766619062051177, 0.01700650155544281, 0.01851595565676689, -0.053681630641222, 0.009687942452728748, 0.010081315413117409, 0.030243946239352226, 0.008617603220045567, -0.03758080303668976, -0.033555593341588974, 0.03273225575685501, 0.023876799270510674, 0.013200851157307625, 0.029951203614473343, -0.02384020760655403, 0.00029331413679756224, -0.05434030294418335, -0.010602762922644615, 0.08643218129873276, 0.01719861477613449, 0.009198513813316822, -0.009029272012412548, 0.008503250777721405, 0.018342139199376106, 0.03436063602566719, -0.009450089186429977, -0.011737138964235783, -0.023785317316651344, -0.09477534145116806, -0.05887781083583832, -0.022852201014757156, 0.037946730852127075, -0.0062390719540417194, -0.05767024680972099, 0.032805442810058594, -0.045777589082717896, -0.05869484320282936, 0.01563427224755287, 0.07007520645856857, 0.016329534351825714, 0.06835534423589706, -0.005365418735891581, 0.05477941408753395, -0.044021133333444595, -0.0015826384769752622, 0.033061590045690536, -0.019595442339777946, 0.002675848314538598, -0.0049720462411642075, 0.014838378876447678, 0.013392963446676731, 0.025797922164201736, -0.00766619062051177, 0.03450700640678406, 0.058548472821712494, -0.007684487383812666, -0.017710912972688675, 0.034744858741760254, -0.023437686264514923, 0.04025207459926605, 0.00821965653449297, -0.008828012272715569, -0.0015277492348104715, -0.04519210383296013, 0.05664564669132233, 0.03406789153814316, 0.04069118946790695, 0.03179914131760597, -0.05778002366423607, 0.03798332065343857, 0.06491561979055405, -0.024828212335705757, 0.03703191131353378, -0.03613538667559624, -0.00041023956146091223, -0.0014168273191899061, -0.07212439924478531, 0.017921321094036102, 0.04526528716087341, -0.005735920742154121, 0.020931079983711243, -0.05821913853287697, 0.025724735110998154, 0.049436867237091064, 0.02674933336675167, 0.15822724997997284, -0.04848545417189598, -0.10860741883516312, -0.022010566666722298, 0.03146980330348015, 0.031030690297484398, 0.0041235508397221565, -0.02934742160141468, 0.03516567870974541, -0.0545598603785038, -0.002813071245327592, -0.08562714606523514, -0.020382188260555267, -0.023437686264514923, 0.04738767072558403, 0.013658260926604271, 0.06850171089172363, 0.0347631573677063, -0.027170151472091675, -0.032146770507097244, -0.03567797690629959, 0.04156941547989845, 0.025230733677744865, 0.004853119608014822, 0.021626342087984085, -0.023199832066893578, -0.01387781836092472, 0.025157546624541283, -0.01641186885535717, -0.017957914620637894, 0.01031916867941618, 0.022980276495218277, -0.05756046995520592, -0.03247610479593277, -0.037910137325525284, -0.04826589673757553, 0.06652570515871048, -0.013392963446676731, 0.022541161626577377, 0.0021395350340753794, -0.02943890541791916, -0.10158160328865051, 0.005790810100734234, 0.013685706071555614, 0.0266212597489357, 0.014710304327309132, -0.036281757056713104, -0.045777589082717896, -0.000003091090775342309, 0.011938399635255337, 0.06209797412157059, -0.015295788645744324, 0.01058446615934372, 0.0704045370221138, -0.03353729844093323, -0.08409024775028229, -0.07596664130687714, 0.018625732511281967, 0.01258792169392109, -0.06308598071336746, 0.02631022036075592, 0.00496289785951376, 0.04731448367238045, -0.039264071732759476, 0.031177062541246414, -0.030737949535250664, -0.002357948338612914, -0.03317137062549591, -0.019595442339777946, -0.02314494363963604, 0.009971536695957184, 0.06341531872749329, -0.0049720462411642075, -0.012441550381481647, 0.07223417609930038, 0.05624312907457352, -0.018900178372859955, 0.03291521966457367, -0.018159175291657448, 0.01966862753033638, 0.04156941547989845, -0.04632648080587387, 0.04460661858320236, 0.0585118792951107, 0.008828012272715569, 0.03472656384110451, 0.005356270354241133, -0.028414305299520493, -0.011910955421626568, 0.01016364898532629, 0.03119535930454731, 0.09272614866495132, 0.012697700411081314, 0.012286031618714333, 0.002737598493695259, 0.037416134029626846, 0.009203088469803333, -0.0488513819873333, -0.0005866282735951245, 0.03723317012190819, -0.028524084016680717, -0.02393168956041336, 0.012972146272659302, -0.021809305995702744, 0.025249028578400612, 0.012441550381481647, -0.032842036336660385, -0.024626951664686203, -0.009468385949730873, -0.00842549093067646, -0.02583451382815838, 0.03467167541384697, 0.04526528716087341, 0.019741812720894814, -0.0015723466640338302, 0.017308393493294716, -0.040325261652469635, 0.0106667997315526, -0.040325261652469635, -0.08409024775028229, 0.039886146783828735, -0.023437686264514923, 0.006422035861760378, 0.023748723790049553, 0.06356168538331985, -0.07238055020570755, 0.04061800241470337, -0.05778002366423607, 0.06063426285982132, 0.021004265174269676, -0.01612827554345131, 0.013768039643764496, 0.029420608654618263, 0.02301686815917492, 0.04109371080994606, -0.0285972710698843, -0.01515856571495533, 0.014838378876447678, 0.014820082113146782, -0.017335837706923485, 0.0514860637485981, -0.029274236410856247, -0.012359216809272766, -0.01480178628116846, 0.005575827322900295, 0.013136813417077065, -0.034909527748823166, 0.018150025978684425, -0.03106728382408619, 0.02631022036075592, 0.010300871916115284, -0.08028459548950195, -0.06948971748352051, 0.004725044593214989, -0.04566780850291252, -0.031177062541246414, -0.0006929760565981269, -0.019522257149219513, -0.06722096353769302, -0.019119735807180405, 0.035934124141931534, 0.04870501160621643, 0.0006952631520107388, 0.0065455362200737, -0.030079279094934464, 0.02652977779507637, 0.01900995709002018, 0.028304528445005417, 0.05020531639456749, 0.010383205488324165, -0.027353115379810333, -0.048119526356458664, 0.056828610599040985, -0.011700546368956566, 0.017875580117106438, -0.05349866673350334, 0.019284402951598167, 0.03754420951008797, -0.002179558388888836, 0.01891847513616085, 0.023163240402936935, -0.0076295980252325535, 0.018250657245516777, 0.002107516396790743, 0.029932906851172447, -0.040983930230140686, 0.04863182455301285, -0.01997966691851616, 0.014874971471726894, 0.03765398636460304, 0.012798330746591091, -0.04680218547582626, -0.044899359345436096, -0.02943890541791916, -0.03295181319117546, -0.010694244876503944, 0.03273225575685501, -0.007748524658381939, -0.012478143908083439, -0.005045231897383928, 0.022028863430023193, 0.009532423689961433, -0.017088836058974266, -0.009225958958268166, -0.02715185470879078, 0.011051024310290813, -0.024736730381846428, -0.02376702055335045, 0.01058446615934372, 0.03361048176884651, -0.05653586983680725, 0.045777589082717896, 0.06004877761006355, 0.028615565970540047, 0.018268954008817673, -0.01966862753033638, -0.026767630130052567, 0.027956895530223846, 0.029530387371778488, 0.07801584154367447, 0.031963806599378586, -0.020528558641672134, 0.03598901629447937, -0.00360210333019495, -0.013356370851397514, 0.012221993878483772, -0.018625732511281967, 0.030701356008648872, -0.022998573258519173, 0.013054479844868183, 0.02292538620531559, 0.0031812861561775208, 0.021626342087984085, -0.009404348209500313, -0.0479731559753418, -0.05397437512874603, -0.0356413833796978, 0.028103267773985863, -0.03787354379892349, 0.02402317151427269, -0.02960357256233692, 0.014188856817781925, 0.019741812720894814, -0.04263060912489891, -0.04976620152592659, 0.05327911302447319, 0.02878023497760296, -0.018488509580492973, -0.06363487243652344, -0.016146570444107056, 0.029530387371778488, -0.004404857754707336, -0.057487282902002335, 0.0014236884890124202, 0.01804024912416935, 0.012935553677380085, -0.004729618784040213, -0.026566369459033012, -0.03000609204173088, 0.0023190684150904417, -0.0017667459324002266, -0.08855456858873367, 0.08731041103601456, 0.03726976364850998, -0.008242527022957802, -0.023327907547354698, 0.04907093942165375, -0.022888794541358948, 0.04200853034853935, 0.04259401559829712, -0.03955681249499321, 0.04255742207169533, -0.03335433453321457, 0.0100081292912364, -0.0022275864612311125, 0.022156938910484314, 0.0017701764591038227, 0.030024388805031776, -0.006110996939241886, -0.05130309984087944, -0.03361048176884651, -0.021662935614585876, -0.0343240424990654, -0.04409432038664818, 0.07099002599716187, -0.021260414272546768, 0.028322823345661163, 0.03437893092632294, -0.047277893871068954, -0.02226671576499939, 0.01590871810913086, 0.02023581601679325, -0.012176252901554108, 0.01148098986595869, -0.031963806599378586, 0.03816628456115723, -0.02274242229759693, 0.03298840671777725, -0.045558031648397446, -0.0554380863904953, 0.04548484459519386, -0.007766820956021547, 0.0686480849981308, 0.0019954508170485497, 0.025797922164201736, -0.03298840671777725, 0.05349866673350334, 0.00881886389106512, 0.016155719757080078, 0.05993900075554848, 0.03571457043290138, 0.01954055391252041, -0.030609874054789543, -0.012533032335340977, 0.029804833233356476, 0.0835779458284378, -0.003135545179247856, -0.006769667379558086, -0.012533032335340977, -0.05869484320282936, -0.004940027371048927, 0.018845289945602417, -0.034525301307439804, 0.06945312768220901, 0.004173866007477045, -0.03282373771071434, -0.05265703424811363, 0.045301880687475204, -0.01922951452434063, -0.05562105029821396, 0.054413486272096634, -0.03062817081809044, 0.026200441643595695, 0.03194551169872284, 0.002751320833340287, -0.006175034213811159, 0.03075624443590641, 0.03823947161436081, 0.02345598302781582, 0.03995933383703232, 0.0011984141310676932, 0.0025294770020991564, 0.017765803262591362, -0.03962999954819679, -0.07139254361391068, 0.024169541895389557, -0.03761739283800125, 0.001571203232742846, -0.01130717433989048, -0.002593514509499073, 0.004544368013739586, -0.018936771899461746, 0.021973975002765656, 0.06945312768220901, -0.00834773201495409, -0.02226671576499939, -0.014911564067006111, 0.12595240771770477, -0.002193280728533864, -0.014015041291713715, 0.02768244966864586, -0.0035403529182076454, 0.011554175056517124, -0.039044514298439026, -0.05646268278360367, 0.0426671989262104, -0.05005894601345062, 0.029292533174157143, 0.02759096771478653, 0.00022184383124113083, 0.01891847513616085, 0.010749134235084057, -0.042740385979413986, -0.030829431489109993, 0.023785317316651344, 0.0009153916616924107, -0.011718843132257462, -0.015533641912043095, 0.040105704218149185, -0.003515195567160845, -0.051632434129714966, 0.03125024959445, -0.004921731073409319, -0.017152873799204826, 0.00595090351998806, -0.05166902765631676, -0.01697905734181404, -0.000704983074683696, 0.026859112083911896, -0.012286031618714333, 0.022650940343737602, 0.009216810576617718, -0.022211827337741852, -0.004468895029276609, -0.04804634302854538, -0.022211827337741852, -0.016668017953634262, 0.050498057156801224, 0.041423045098781586, 0.011453545652329922, -0.014746896922588348, -0.020089445635676384, 0.0008279120083898306, 0.013603371568024158, 0.006175034213811159, 0.03269566223025322, 0.01659483276307583, -0.026987187564373016, -0.04720470681786537, 0.009203088469803333, 0.029823128134012222, -0.011316321790218353, 0.02129700779914856, -0.03211017698049545, -0.022815607488155365, -0.026017477735877037, 0.017116280272603035, 0.006074404343962669, -0.020309001207351685, 0.07625938951969147, -0.04464321210980415, -0.04039844870567322, -0.04735107719898224, 0.015680013224482536, -0.033775150775909424, -0.04021548479795456, 0.0012155669974163175, -0.05810936167836189, 0.020931079983711243, -0.009825165383517742, 0.05712135508656502, 0.02248627319931984, -0.04281357303261757, 0.009189366362988949, -0.005790810100734234, 0.08855456858873367, -0.029201051220297813, 0.01622890494763851, 0.04819271340966225, -0.0020926506258547306, 0.021370192989706993, -0.02781052514910698, 0.025322215631604195, 0.03970318287611008, -0.00032333165290765464, 0.033336035907268524, 0.01031916867941618, -0.028194749727845192, 0.02943890541791916, 0.052913181483745575, -0.015890421345829964, -0.03732465207576752, -0.053791411221027374, -0.021040858700871468, -0.008022970519959927, -0.026785926893353462, 0.0204553734511137, -0.0030875171069055796, -0.034433819353580475, -0.041642602533102036, 0.02978653647005558, 0.021150635555386543, 0.015478752553462982, -0.07684487104415894, -0.02186419628560543, 0.05624312907457352, 0.00264611653983593, 0.020748116075992584, 0.037379540503025055, -0.031177062541246414, -0.0009651349973864853, -0.006454054266214371, 0.02274242229759693, 0.027206743136048317, -0.05196177214384079, -0.012578773312270641, -0.08167511969804764, -0.07896725088357925, 0.028743641451001167, -0.035312049090862274, 0.011371211148798466, 0.05536489933729172, -0.016302090138196945, 0.010538725182414055, 0.0015014482196420431, -0.025139251723885536, 0.00575421703979373, -0.009477534331381321, 0.06480584293603897, -0.017235206440091133, -0.009751980192959309, -0.014024188742041588, 0.032091882079839706, -0.0369587242603302, 0.01465541496872902, 0.023090055212378502, -0.00933116301894188, 0.021717824041843414, -0.025761328637599945, -0.013932706788182259, 0.012212845496833324, 0.019375884905457497, 0.010310020297765732, 0.008356879465281963, 0.0677332654595375, -0.005804532207548618, -0.03097580187022686, -0.01845191791653633, 0.007593005429953337, -0.04200853034853935, -0.0032567589078098536, 0.06872127205133438, -0.030518392100930214, -0.0035037603229284286, -0.022650940343737602, -0.06564747542142868, -0.027883710339665413, 0.02715185470879078, 0.036153681576251984, 0.03187232464551926, -0.0417889729142189, -0.02856067754328251, 0.0020572012290358543, -0.006188756786286831, 0.0699654296040535, 0.030390316620469093, -0.0018536538118496537, -0.026548072695732117, 0.0034122781362384558, 0.04592395946383476, 0.046399664133787155, 0.04025207459926605, 0.022632643580436707, -0.0554380863904953, -0.01196584478020668, -0.06590362638235092, -0.04980279505252838, 0.02931082993745804, -0.029530387371778488, -0.033281147480010986, -0.0959463119506836, -0.031963806599378586, 0.010026426054537296, -0.035312049090862274, 0.06608659029006958, 0.027956895530223846, 0.011115062050521374, 0.03955681249499321 ]
41,249
pyglove.core.symbolic.origin
chain
Get the origin list from the neareast to the farthest filtered by tag.
def chain(self, tag: Optional[str] = None) -> List['Origin']: """Get the origin list from the neareast to the farthest filtered by tag.""" origins = [] o = self while o is not None: if tag is None or tag == o.tag: origins.append(o) o = getattr(o.source, 'sym_origin', None) return origins
(self, tag: Optional[str] = None) -> List[pyglove.core.symbolic.origin.Origin]
[ -0.020421458408236504, -0.012655302882194519, -0.03861897438764572, -0.024251585826277733, -0.06865987181663513, -0.00845451932400465, 0.010960869491100311, -0.05086831748485565, 0.08458049595355988, 0.014976324513554573, -0.014588017016649246, -0.013979080133140087, -0.022910159081220627, -0.01869172416627407, -0.030340956524014473, 0.003527864348143339, -0.027534551918506622, 0.006680658552795649, -0.022821906954050064, 0.03184123709797859, -0.0010854967404156923, 0.0029762908816337585, -0.011631582863628864, -0.02045675925910473, 0.0028681824915111065, 0.03265315294265747, -0.008105924353003502, -0.03265315294265747, -0.08112102001905441, -0.011410953477025032, 0.018674073740839958, -0.04956219345331192, 0.008997267112135887, -0.06894227862358093, 0.037277545779943466, -0.009601792320609093, 0.018674073740839958, 0.050091702491045, -0.013837876729667187, 0.03660683333873749, -0.03667743504047394, -0.019274186342954636, 0.01819751411676407, -0.025557711720466614, 0.05439838767051697, -0.013952604494988918, 0.009557666257023811, -0.009610617533326149, -0.0024644306395202875, -0.021233374252915382, 0.06986010074615479, 0.042890358716249466, 0.01423500943928957, -0.0441964827477932, -0.022680703550577164, -0.028081711381673813, 0.001344736316241324, 0.06841276586055756, 0.02716389298439026, 0.07293125987052917, 0.00046139126061461866, -0.03139998018741608, 0.009213484823703766, -0.008070624433457851, -0.021780535578727722, -0.043278664350509644, 0.02299841120839119, -0.039395589381456375, -0.022768955677747726, 0.023598521947860718, -0.017562100663781166, -0.01109324675053358, -0.011013820767402649, -0.0048494343645870686, -0.039324987679719925, -0.05912868306040764, 0.03614792227745056, 0.02107452228665352, 0.0225924514234066, -0.09580611437559128, -0.04645572975277901, 0.04578501731157303, -0.0064644417725503445, 0.0339592806994915, 0.019750745967030525, 0.019044730812311172, 0.010378407314419746, -0.023227864876389503, -0.054857298731803894, 0.010687288828194141, -0.06378837674856186, -0.004544965922832489, -0.051997940987348557, -0.0019448483362793922, -0.0006210717838257551, 0.07540231198072433, -0.03784235566854477, -0.02538120746612549, 0.004445682745426893, 0.006601232104003429, 0.010449009016156197, 0.06495329737663269, -0.061988040804862976, 0.05898747965693474, -0.017350297421216965, 0.04147832840681076, -0.058705076575279236, -0.0039338222704827785, 0.0022460075560957193, 0.02901718020439148, -0.04045461118221283, 0.02375737577676773, 0.029687894508242607, -0.03519480302929878, 0.009354687295854092, -0.018497569486498833, 0.003177063539624214, 0.047408849000930786, 0.00047490480937995017, -0.030817516148090363, 0.01464979350566864, 0.0018433587392792106, -0.049315087497234344, -0.0020132435020059347, -0.04550261050462723, 0.023016059771180153, 0.05538680776953697, 0.008344204165041447, -0.046985238790512085, -0.06615352630615234, 0.031188175082206726, -0.015364632941782475, -0.03777175769209862, -0.001452844706363976, 0.003819095203652978, -0.01812691241502762, 0.0003281862591393292, -0.014332086779177189, -0.06604762375354767, 0.03139998018741608, 0.0033226790837943554, 0.029740845784544945, 0.024057431146502495, 0.010007750242948532, -0.11868097633123398, 0.015585262328386307, -0.006782148033380508, 0.0008742440841160715, 0.031311728060245514, -0.013511345721781254, -0.029317237436771393, 0.026228424161672592, 0.01622067391872406, 0.1017366349697113, 0.004889147821813822, 0.020139053463935852, -0.04444358870387077, 0.017685653641819954, -0.0037837945856153965, 0.03011150285601616, -0.02102157101035118, -0.009098757058382034, -0.036853939294815063, -0.03660683333873749, -0.013776101171970367, -0.02944078855216503, -0.016397178173065186, 0.025010550394654274, -0.013034786097705364, 0.04214904457330704, -0.031329378485679626, -0.0023166087921708822, 0.01084614172577858, 0.01828576624393463, -0.0038058573845773935, 0.07476689666509628, -0.018532870337367058, 0.03614792227745056, -0.01464979350566864, 0.0024114795960485935, -0.035424258559942245, -0.02266305312514305, 0.02723449468612671, -0.02922898530960083, 0.014967499300837517, -0.024357488378882408, 0.023369068279862404, -0.04098412021994591, 0.027022691443562508, 0.006561518646776676, -0.006843924522399902, 0.0070292530581355095, -0.0170502420514822, -0.0055819242261350155, -0.004889147821813822, 0.003168238326907158, -0.004677343647927046, 0.060540713369846344, -0.045890919864177704, -0.032000090926885605, -0.009795946069061756, 0.032070692628622055, -0.022980760782957077, 0.008295666426420212, 0.007889707572758198, 0.07850877195596695, -0.016044171527028084, 0.027199193835258484, -0.01358194649219513, 0.04232554882764816, 0.06993070244789124, 0.0011991208884865046, 0.011808086186647415, -0.0559869222342968, 0.01352017093449831, 0.01826811581850052, -0.07074261456727982, 0.012690603733062744, 0.06520040333271027, 0.010016575455665588, 0.05464549362659454, -0.13145983219146729, 0.023369068279862404, 0.04225494712591171, -0.011137372814118862, 0.030093852430582047, 0.016591332852840424, -0.043984681367874146, -0.0038080636877566576, -0.045890919864177704, 0.00426256051287055, -0.06527100503444672, -0.02792285941541195, -0.07218994200229645, 0.08006200194358826, 0.08020320534706116, 0.03067631460726261, 0.03657153248786926, -0.023016059771180153, -0.0009448454948142171, -0.050480011850595474, 0.023157263174653053, 0.029246635735034943, 0.035212453454732895, -0.014040855690836906, 0.014526240527629852, 0.041301827877759933, -0.050409410148859024, -0.019733095541596413, -0.017562100663781166, -0.005904043093323708, 0.042396146804094315, 0.007086616940796375, 0.012231694534420967, 0.007474924437701702, -0.06590642035007477, 0.014367387630045414, -0.053904179483652115, 0.030835166573524475, -0.03579491749405861, -0.017570925876498222, -0.07335487008094788, 0.01748267561197281, 0.011993414722383022, -0.026334326714277267, 0.04811486229300499, -0.007457274477928877, -0.038371868431568146, -0.06396488100290298, 0.040066301822662354, 0.03639502823352814, -0.027269795536994934, -0.024057431146502495, 0.049456290900707245, 0.0014991768402978778, -0.007408735807985067, -0.03503595292568207, 0.033359166234731674, -0.07702614367008209, -0.027393348515033722, -0.032282497733831406, 0.043561071157455444, -0.018497569486498833, -0.047408849000930786, -0.010210729204118252, -0.06219984591007233, 0.054045382887125015, 0.016803136095404625, -0.023016059771180153, -0.01936243660748005, 0.07314306497573853, 0.05672823637723923, 0.01748267561197281, -0.058352068066596985, 0.09771235287189484, 0.01688256300985813, 0.0016767835477367043, 0.028717124834656715, 0.042960960417985916, -0.015091052278876305, 0.03558311238884926, -0.034241683781147, 0.046102721244096756, 0.011340351775288582, -0.01231994666159153, 0.03748935088515282, 0.030217405408620834, -0.0017815824830904603, 0.024410437792539597, -0.007016015239059925, -0.004615567158907652, 0.03921908512711525, -0.06283526122570038, -0.06643593311309814, -0.030076202005147934, -0.012169918976724148, -0.013423093594610691, 0.019044730812311172, 0.005387770477682352, 0.05884627625346184, 0.005114189814776182, 0.011993414722383022, -0.03346506878733635, 0.009628267958760262, -0.013943779282271862, 0.031647082418203354, -0.06036420911550522, 0.01998019963502884, 0.023916227743029594, 0.013361317105591297, 0.019962549209594727, 0.021480480208992958, -0.023033710196614265, 0.07215464115142822, 0.011552155949175358, 0.011137372814118862, 0.0568341389298439, 0.005078888963907957, 0.002581364242359996, -0.05100952088832855, -0.00831331592053175, -0.011199149303138256, -0.012169918976724148, 0.03408283367753029, 0.05665763467550278, 0.021409878507256508, 0.025628313422203064, 0.031505879014730453, 0.02335141785442829, 0.043984681367874146, 0.024286886677145958, 0.0390072800219059, 0.03653623163700104, 0.022327696904540062, 0.06897757947444916, 0.04511430114507675, -0.060752514749765396, 0.046102721244096756, 0.014896898530423641, 0.016511905938386917, 0.02963494323194027, -0.0568341389298439, 0.010625512339174747, -0.02361617237329483, 0.06329416483640671, -0.01310538686811924, 0.02901718020439148, 0.021674633026123047, -0.037136342376470566, -0.021233374252915382, -0.05111542344093323, -0.007739679887890816, -0.0013381174067035317, -0.05146843194961548, -0.050409410148859024, -0.026546131819486618, 0.06869517266750336, -0.05146843194961548, -0.0019680142868310213, 0.03191183879971504, -0.02326316572725773, 0.07441388815641403, 0.031329378485679626, 0.0565517321228981, 0.003016004106029868, 0.008966379798948765, 0.0022746892645955086, 0.017094366252422333, 0.033429767936468124, 0.030623363330960274, 0.06993070244789124, -0.10738474875688553, -0.00592169351875782, -0.017465025186538696, -0.05672823637723923, -0.037136342376470566, -0.022486550733447075, -0.015444058924913406, -0.02621077373623848, -0.04200784116983414, 0.022980760782957077, 0.0012355247745290399, 0.045079004019498825, 0.0392896868288517, 0.0166266318410635, -0.03717164322733879, -0.002091566799208522, 0.026034271344542503, -0.021868787705898285, -0.03660683333873749, -0.07053080946207047, -0.06110552325844765, 0.034541741013526917, -0.006976302247494459, -0.014437989331781864, -0.026034271344542503, 0.05189203843474388, 0.0568341389298439, -0.01567351445555687, 0.03936028853058815, 0.012125792913138866, -0.07377848029136658, -0.030852816998958588, 0.020862717181444168, -0.012946533970534801, -0.01826811581850052, 0.025998970493674278, 0.017279695719480515, -0.011410953477025032, 0.007192519027739763, 0.035283055156469345, -0.00971651915460825, 0.023386718705296516, -0.07822636514902115, 0.0011092143831774592, -0.011428603902459145, -0.025857767090201378, -0.01665310747921467, 0.05291575938463211, 0.04278445616364479, 0.005709889344871044, 0.01617654785513878, -0.01998019963502884, -0.038160063326358795, -0.0152587303891778, 0.013484870083630085, 0.0040728189051151276, 0.05979939550161362, -0.017632702365517616, -0.031647082418203354, 0.005330406595021486, -0.047938358038663864, -0.009681218303740025, 0.0012266995618119836, 0.015196953900158405, 0.050091702491045, 0.028117012232542038, -0.0006558209424838424, -0.09326446801424026, 0.012964184395968914, 0.045467309653759, 0.02061561308801174, 0.06954239308834076, -0.016132423654198647, -0.043102163821458817, 0.05217444524168968, 0.02847001887857914, -0.0568341389298439, -0.06541220843791962, -0.04783245548605919, 0.05919928476214409, -0.06032890826463699, -0.05305696278810501, -0.058634474873542786, 0.025998970493674278, 0.04779715836048126, 0.027269795536994934, -0.034594692289829254, 0.02792285941541195, -0.04927978664636612, -0.08210944384336472, -0.10018340498209, 0.009231134317815304, -0.022839557379484177, -0.043772876262664795, 0.018532870337367058, -0.004145626910030842, -0.01874467544257641, 0.010140127502381802, 0.017279695719480515, -0.007673491258174181, 0.021462829783558846, -0.06968359649181366, -0.03330621495842934, -0.0097871208563447, 0.06512980163097382, 0.04973869398236275, -0.012558226473629475, 0.02608722262084484, -0.022980760782957077, -0.00910758227109909, -0.03448878973722458, 0.028522970154881477, -0.00230998988263309, 0.028999529778957367, -0.004611155018210411, -0.050338808447122574, 0.00017870982992462814, -0.03194713965058327, 0.007161630783230066, 0.04677343741059303, -0.03067631460726261, 0.03741874918341637, -0.016873737797141075, -0.032282497733831406, -0.03072926588356495, -0.03387102857232094, 0.022062942385673523, 0.03840716928243637, 0.0030888118781149387, 0.03201774135231972, -0.0110491206869483, 0.03113522380590439, 0.02135692723095417, 0.039042580872774124, -0.050480011850595474, -0.014932198449969292, -0.043031562119722366, -0.04073701426386833, -0.04529080539941788, 0.0341004841029644, -0.013873177580535412, -0.0502329058945179, -0.013184813782572746, 0.015682339668273926, 0.03249429911375046, 0.018497569486498833, -0.007470511831343174, -0.012761205434799194, 0.0007589652086608112, 0.03974859416484833, 0.0048803226090967655, 0.005564273800700903, 0.04010160267353058, 0.030235055834054947, -0.0028637698851525784, -0.08387447893619537, 0.020015500485897064, 0.01983899623155594, 0.032141294330358505, -0.008635435253381729, 0.017923934385180473, -0.013290716335177422, 0.017747430130839348, 0.04709114134311676, -0.038971979171037674, -0.03235309571027756, 0.01888587884604931, -0.03755995258688927, 0.016617808490991592, 0.046032119542360306, 0.02257480099797249, -0.07166043668985367, -0.0112962257117033, 0.015620562247931957, -0.0037043679039925337, 0.028717124834656715, -0.016211848706007004, 0.06004650145769119, 0.0016800930025056005, -0.0073822601698338985, 0.014252659864723682, -0.02285720780491829, 0.05175083503127098, 0.041372429579496384, 0.059658195823431015, 0.009284085594117641, 0.01523225475102663, 0.0068924627266824245, -0.054115984588861465, 0.05468079447746277, -0.04956219345331192, 0.03558311238884926, -0.02107452228665352, -0.0019316105172038078, 0.030552761629223824, -0.03773645684123039, 0.023316117003560066, -0.0016745772445574403, -0.038971979171037674, 0.03759525343775749, -0.010325456969439983, -0.036024369299411774, 0.015876492485404015, -0.007311658933758736, -0.02492229826748371, -0.018462268635630608, -0.00018215716409031302, -0.05277455598115921, 0.03205304220318794, 0.02285720780491829, -0.0305174607783556, 0.03992509841918945, -0.013634897768497467, -0.007616127375513315, -0.04522020369768143, -0.024728145450353622, -0.029176034033298492, 0.005396595690399408, 0.016494255512952805, 0.03621852397918701, 0.008013260550796986, 0.0019768394995480776, -0.038301266729831696, -0.01615007407963276, -0.012487624771893024, 0.0007236644742079079, 0.05083301663398743, 0.004659693222492933, 0.032812006771564484, 0.05432778596878052, -0.05521030351519585, -0.023016059771180153, 0.0002818540669977665, -0.05919928476214409, 0.011499205604195595, 0.036924537271261215, -0.010228379629552364, 0.018303416669368744, 0.054998502135276794, 0.04550261050462723, -0.0078588193282485, 0.024339837953448296, -0.027605151757597923, -0.04899737983942032, 0.004041931126266718, 0.05422188341617584, -0.030446859076619148, -0.05552801117300987, -0.007391085382550955, -0.040489912033081055, 0.015497010201215744, -0.018674073740839958, 0.017535626888275146, -0.04426708444952965, -0.02471049502491951, 0.0114374291151762, 0.017094366252422333, -0.008022085763514042, -0.016238324344158173, 0.00969004351645708, 0.0006265875417739153, 0.010246030054986477, 0.039113182574510574, 0.012928883545100689, 0.002804199932143092, -0.012611177749931812, 0.039113182574510574, 0.08020320534706116, 0.010775540955364704, 0.029652593657374382, 0.013017135672271252, 0.03510655090212822, 0.02156873233616352, -0.024657543748617172, -0.031505879014730453, 0.015373457223176956, -0.06301175802946091, 0.00526863057166338, 0.04469069465994835, -0.04620862379670143, -0.012002239935100079, -0.03717164322733879, -0.010157777927815914, -0.028434719890356064, 0.02333376742899418, 0.03544190898537636, 0.0010617790976539254, -0.0008130194037221372, -0.0359184704720974, 0.026299025863409042, 0.010404882952570915, 0.04352577030658722, -0.031117573380470276, 0.0338180772960186, 0.043561071157455444, 0.013776101171970367, -0.005573099013417959, 0.09615912288427353, 0.02342201955616474, 0.006883637979626656, -0.05146843194961548, 0.03544190898537636, 0.029211334884166718, 0.03018210455775261, 0.04440828785300255, -0.05206854268908501, -0.061988040804862976, 0.012999485246837139, -0.005317168775945902, 0.08126222342252731, 0.056304626166820526, -0.010802016593515873, -0.03401223197579384, 0.006027595605701208, -0.052809856832027435, 0.03650093078613281, -0.024533990770578384, 0.003333710366860032, 0.04673813655972481, -0.02908778190612793, -0.0199272483587265, 0.00018450134666636586, -0.020068451762199402, 0.049526892602443695, 0.003362392308190465, 0.011702184565365314, 0.01748267561197281, 0.005114189814776182, 0.034524090588092804, 0.03988979756832123, -0.031311728060245514, 0.01365254819393158, 0.03060571290552616, 0.057257745414972305, 0.06724784523248672, -0.01450859010219574, 0.022468900308012962, -0.12616471946239471, 0.010757890529930592, -0.03731284663081169, 0.0774497464299202, 0.007536700926721096, 0.0031064620707184076, -0.009707693941891193, -0.04236084967851639, -0.002040822058916092, 0.03777175769209862, -0.02963494323194027, -0.012708254158496857, -0.056375227868556976, -0.04691464081406593, -0.003664654679596424, 0.011375652626156807, 0.04426708444952965, -0.04585561901330948, 0.026369627565145493, -0.048573773354291916, -0.009945973753929138, -0.02545180916786194, 0.03565371409058571, 0.028487669304013252, 0.08196824043989182, -0.058352068066596985, -0.02395152859389782, -0.022698353976011276, -0.00612467247992754, 0.017826857045292854, -0.0443376861512661, -0.026881488040089607, -0.027128592133522034, 0.010104827582836151, 0.011816911399364471, -0.0012255964102223516, 0.05333936586976051, 0.006632120348513126, 0.02841706946492195, -0.001400996814481914 ]
41,250
pyglove.core.symbolic.origin
format
Formats this object.
def format(self, compact: bool = False, verbose: bool = True, root_indent: int = 0, **kwargs) -> str: """Formats this object.""" if isinstance(self._source, (str, type(None))): source_str = object_utils.quote_if_str(self._source) else: source_info = object_utils.format( self._source, compact, verbose, root_indent + 1, **kwargs) source_str = f'{source_info} at 0x{id(self._source):8x}' details = object_utils.kvlist_str([ ('tag', object_utils.quote_if_str(self._tag), None), ('source', source_str, None), ]) return f'{self.__class__.__name__}({details})'
(self, compact: bool = False, verbose: bool = True, root_indent: int = 0, **kwargs) -> str
[ -0.0011889826273545623, -0.024181807413697243, 0.03168288990855217, -0.01196850836277008, 0.033448878675699234, -0.09476890414953232, -0.00257248617708683, -0.03287187218666077, 0.03916648402810097, -0.035109955817461014, -0.04843355715274811, -0.020107794553041458, -0.0037592831067740917, 0.008912998251616955, 0.01395306084305048, 0.04885319620370865, -0.05766565725207329, -0.0818299800157547, 0.025912826880812645, 0.052140384912490845, 0.07560530304908752, 0.02325510047376156, 0.0018861985299736261, 0.01638348028063774, 0.04046037793159485, 0.04846852645277977, 0.029479773715138435, 0.002935300813987851, -0.04913295805454254, -0.04147450998425484, 0.003971289377659559, -0.0008600453147664666, 0.0030729954596608877, 0.02246827445924282, -0.01888384111225605, 0.017922164872288704, -0.03191019594669342, 0.011181682348251343, -0.03107091225683689, -0.05913439765572548, -0.03647378832101822, 0.013996773399412632, -0.0545533187687397, -0.0006666170665994287, 0.020649829879403114, 0.016278570517897606, 0.04115977883338928, 0.007684674113988876, -0.0036303310189396143, -0.03416576609015465, 0.02685701847076416, 0.019635697826743126, -0.03213750198483467, -0.00828353688120842, -0.05479811131954193, -0.03170037269592285, 0.03647378832101822, 0.04850349575281143, 0.02939234860241413, 0.01616491749882698, -0.027136778458952904, 0.06210685521364212, 0.05063667148351669, 0.0018151655094698071, -0.07910231500864029, -0.04025055840611458, -0.036124087870121, 0.00012314657215029, -0.027364084497094154, 0.025248395279049873, 0.04927283897995949, -0.019268512725830078, 0.029916901141405106, 0.013454737141728401, -0.03066875785589218, -0.013297371566295624, -0.07812315225601196, -0.020055338740348816, 0.004253235645592213, -0.07658446580171585, -0.036124087870121, -0.0353022925555706, -0.04252361133694649, -0.0706045851111412, 0.03488264977931976, -0.0557423010468483, 0.01100683119148016, 0.008134913630783558, 0.0035953610204160213, 0.04140457138419151, 0.009065992198884487, 0.038676902651786804, -0.026734624058008194, 0.03797750174999237, -0.04084504768252373, -0.017694858834147453, 0.009406950324773788, -0.06133751571178436, 0.05731595680117607, 0.045216307044029236, 0.04046037793159485, -0.09637752920389175, -0.043327923864126205, 0.00040516111766919494, -0.036613669246435165, 0.04902804642915726, -0.00859389640390873, 0.061792124062776566, 0.02056240476667881, 0.0197056382894516, -0.0003245660336688161, -0.0641351193189621, -0.011374017223715782, -0.08224961906671524, 0.06291116774082184, -0.056721463799476624, 0.02370971255004406, 0.06147739291191101, -0.019163601100444794, -0.07910231500864029, 0.041964091360569, -0.01739761233329773, -0.047734152525663376, 0.01995042897760868, -0.046020619571208954, -0.01659330166876316, 0.01543054636567831, 0.0034554805606603622, 0.020492464303970337, -0.05329439789056778, -0.02706683985888958, 0.018359290435910225, -0.02243330329656601, -0.0002835854538716376, 0.07497584074735641, -0.0107882684096694, 0.012431861832737923, -0.0011616622796282172, -0.04067019745707512, 0.08406805992126465, 0.033483847975730896, -0.03063378669321537, -0.011216651648283005, -0.021139411255717278, -0.016296055167913437, -0.03420073539018631, 0.0304239671677351, -0.0008840872324071825, -0.015413060784339905, -0.0098528191447258, 0.03902660682797432, 0.0009769764728844166, 0.021943723782896996, 0.0011813328601419926, 0.029269954189658165, -0.005284852813929319, -0.04759427532553673, -0.01844671554863453, 0.055322661995887756, 0.0161911454051733, 0.0057482062838971615, 0.002493803622201085, -0.0010414526332169771, 0.024636419489979744, 0.028623007237911224, -0.01995042897760868, -0.06609344482421875, -0.004900182131677866, -0.03965606540441513, -0.004126469139009714, 0.012571742758154869, -0.040180616080760956, -0.02115689590573311, 0.08490734547376633, 0.02538827620446682, 0.05091642960906029, 0.0071251532062888145, 0.04783906415104866, -0.03755786269903183, -0.0659535676240921, 0.0030096122063696384, -0.0068891048431396484, 0.026944443583488464, 0.051301103085279465, 0.011225394904613495, -0.025982767343521118, 0.04888816550374031, -0.03920145705342293, 0.045845769345760345, -0.0171965342015028, 0.07102422416210175, 0.018306834623217583, -0.03983091562986374, 0.016051264479756355, 0.0032259896397590637, -0.028080971911549568, 0.04245367273688316, -0.07532554119825363, 0.05332936719059944, 0.013918090611696243, -0.04231379181146622, 0.030039295554161072, -0.015089588239789009, -0.03675355017185211, -0.003711199387907982, 0.022975340485572815, 0.018009589985013008, -0.012895215302705765, -0.03568696230649948, 0.01761617511510849, 0.03626396879553795, -0.012903958559036255, -0.01780851185321808, 0.00005754353333031759, 0.026909474283456802, -0.06081296131014824, 0.04004073888063431, 0.02016024850308895, 0.003566947765648365, 0.0608479343354702, 0.04713966324925423, -0.053609125316143036, -0.02601773664355278, 0.0036412591580301523, -0.01680312119424343, 0.004384373314678669, 0.046475231647491455, -0.007015871349722147, -0.0028347617480903864, -0.05567236244678497, 0.016733180731534958, -0.07245799899101257, -0.04011067748069763, 0.060917872935533524, -0.06448481976985931, 0.03874684497714043, 0.026262527331709862, -0.0021397315431386232, -0.021121926605701447, -0.07144386321306229, 0.00012574200809467584, -0.02325510047376156, 0.009992699138820171, -0.01638348028063774, 0.042034029960632324, -0.07833296805620193, -0.014958450570702553, -0.00027921420405618846, -0.025703005492687225, 0.017082883045077324, 0.008060602471232414, 0.05353918671607971, 0.014827311970293522, 0.027136778458952904, -0.05682637542486191, -0.03755786269903183, -0.019810548052191734, -0.009704195894300938, -0.002253384329378605, -0.009048507548868656, -0.05367906764149666, -0.0634007453918457, -0.016418451443314552, 0.030493905767798424, 0.07035979628562927, 0.026996899396181107, 0.004790900275111198, -0.027643844485282898, -0.01016754936426878, 0.008510841988027096, -0.04741942510008812, 0.013043838553130627, -0.008668207563459873, 0.054413437843322754, -0.026577258482575417, -0.048153795301914215, -0.031560495495796204, -0.016470905393362045, -0.018114499747753143, -0.05262996628880501, 0.0166020430624485, -0.008388446643948555, 0.0058618588373064995, -0.025423245504498482, 0.07476602494716644, -0.031140852719545364, 0.020457495003938675, -0.04493654891848564, -0.01676815189421177, 0.02432168833911419, 0.025860371068120003, 0.0457058884203434, 0.014023000374436378, -0.0019441177137196064, 0.04906301572918892, 0.02141917124390602, -0.004004073794931173, 0.011680005118250847, -0.04420217499136925, -0.07109416276216507, -0.031560495495796204, -0.029200013726949692, 0.06182709336280823, 0.0036609298549592495, -0.016243601217865944, 0.035547081381082535, -0.04161439090967178, -0.030336542055010796, 0.014669947326183319, -0.017659887671470642, 0.019775578752160072, 0.033274028450250626, 0.02037006989121437, 0.024723844602704048, -0.03189270943403244, 0.032801929861307144, -0.01991545781493187, -0.012615455314517021, 0.0019932943396270275, 0.030179176479578018, -0.028657978400588036, 0.0074049136601388454, -0.031770315021276474, 0.02435665763914585, 0.07721392810344696, -0.05427355691790581, -0.019828032702207565, -0.013078808784484863, 0.008099944330751896, 0.003997516818344593, 0.015692822635173798, -0.01449509710073471, 0.033046722412109375, 0.03231235221028328, -0.042034029960632324, -0.005831260234117508, -0.005494673270732164, -0.02832576259970665, -0.031123368069529533, -0.013577132485806942, 0.07182853668928146, 0.0499022975564003, -0.003566947765648365, -0.006062936969101429, -0.07539548724889755, -0.03213750198483467, 0.003319971729069948, -0.05070661008358002, 0.01697797141969204, -0.017502523958683014, -0.07518566399812698, -0.021121926605701447, 0.027206718921661377, 0.041964091360569, 0.01153138279914856, -0.052560023963451385, 0.005787547677755356, 0.0015539827290922403, -0.01996791362762451, 0.004887068178504705, -0.013288629241287708, 0.0098528191447258, 0.04885319620370865, 0.012816532514989376, 0.03622899949550629, -0.013437251560389996, 0.0197056382894516, 0.013568389229476452, -0.0065656318329274654, -0.022293424233794212, -0.05651164427399635, -0.00703772809356451, 0.004712217953056097, -0.07441632449626923, -0.06000865250825882, 0.010307430289685726, 0.030354026705026627, -0.008034375496208668, -0.07074446231126785, -0.05091642960906029, 0.08231955766677856, 0.0626663789153099, -0.0034467382356524467, 0.017336415126919746, -0.0007999404915608466, 0.018831385299563408, -0.005791918840259314, 0.012187071144580841, 0.014608749188482761, 0.021506596356630325, -0.02435665763914585, -0.007147009484469891, 0.016103720292448997, 0.021856296807527542, -0.003916648682206869, 0.00806497409939766, 0.024863723665475845, -0.02477629855275154, -0.049447689205408096, -0.010560963302850723, 0.010980604216456413, -0.09868555516004562, 0.0009010258945636451, -0.018079528585076332, 0.008454016409814358, -0.051685772836208344, 0.09721681475639343, -0.007776470854878426, -0.021489111706614494, 0.07735380530357361, 0.010359885171055794, 0.004685990046709776, -0.05098637193441391, 0.03105342760682106, 0.01844671554863453, 0.015124558471143246, -0.03811738267540932, -0.01204719115048647, -0.07693416625261307, 0.006163476034998894, -0.016025036573410034, 0.07210829854011536, -0.03295929729938507, -0.0030358396470546722, -0.00935449544340372, -0.07833296805620193, -0.025230910629034042, 0.024916179478168488, 0.07994159311056137, 0.011977250687777996, -0.025737976655364037, 0.023534860461950302, 0.05228026583790779, 0.025912826880812645, -0.006622458342462778, -0.03290684148669243, 0.021768871694803238, -0.01028994470834732, 0.0461605004966259, 0.0638553574681282, 0.06350565701723099, -0.05374900624155998, -0.021366717293858528, 0.008139285258948803, -0.0716187134385109, 0.01869150623679161, -0.05413367971777916, 0.013070066459476948, -0.024391628801822662, 0.03063378669321537, 0.08742518723011017, 0.03301175311207771, -0.0074573690071702, -0.021856296807527542, -0.023360010236501694, -0.05658158287405968, 0.012213299050927162, 0.012868988327682018, -0.009153417311608791, -0.019583242014050484, -0.046230439096689224, 0.02899019420146942, 0.03288935497403145, 0.01676815189421177, -0.015841444954276085, -0.05437846854329109, -0.009302040562033653, 0.01780851185321808, -0.02899019420146942, -0.02456647902727127, 0.005905571859329939, -0.022590668871998787, -0.0596589520573616, 0.08861417323350906, 0.023744681850075722, 0.037837620824575424, -0.041894152760505676, -0.02913007326424122, -0.05979882925748825, -0.02370971255004406, 0.000634925439953804, -0.055287688970565796, 0.007623476441949606, -0.006806050892919302, 0.036613669246435165, 0.07833296805620193, 0.0818299800157547, 0.03832720220088959, 0.01823689416050911, 0.01204719115048647, -0.0191111471503973, 0.06228170543909073, -0.06602350622415543, 0.00945066288113594, -0.04304816573858261, 0.023622287437319756, -0.018131984397768974, -0.0431530736386776, -0.03063378669321537, 0.0257729459553957, 0.04126469045877457, -0.0257729459553957, 0.012125873938202858, -0.010508507490158081, 0.030493905767798424, 0.04175427183508873, 0.02787115052342415, 0.07151380926370621, 0.024006957188248634, -0.015028390102088451, -0.003774582641199231, -0.01436395850032568, 0.03126324713230133, 0.04829367622733116, 0.0046029360964894295, -0.009704195894300938, -0.033693667501211166, 0.03437558561563492, 0.03217247128486633, 0.01123413722962141, -0.017659887671470642, 0.0545533187687397, -0.008668207563459873, -0.016479648649692535, -0.005341679323464632, 0.051965534687042236, 0.027521450072526932, 0.012903958559036255, -0.030319055542349815, 0.009302040562033653, 0.005944912787526846, 0.023325040936470032, 0.008493357338011265, -0.021786358207464218, -0.03692840039730072, 0.02998683974146843, -0.038082413375377655, 0.03227737918496132, -0.014250306412577629, -0.05049679055809975, 0.04846852645277977, 0.00556461326777935, 0.013183718547224998, -0.041054870933294296, 0.024671388790011406, -0.016628270968794823, 0.06165224313735962, -0.00666617089882493, 0.008030003868043423, -0.012659167870879173, 0.0019189829472452402, -0.05416864901781082, -0.03383354842662811, 0.052105411887168884, 0.004432457033544779, 0.017572462558746338, -0.0054465895518660545, 0.03605414927005768, 0.04084504768252373, 0.022590668871998787, -0.0071950932033360004, 0.04108984023332596, 0.015448031015694141, 0.019163601100444794, 0.0005354792810976505, 0.05497296154499054, 0.020947076380252838, -0.03425319120287895, 0.002273055026307702, 0.016943002119660378, -0.02073725499212742, 0.021314261481165886, 0.035162411630153656, 0.021891267970204353, 0.0053504216484725475, 0.011461442336440086, -0.04175427183508873, 0.07749368995428085, -0.0012239526258781552, 0.015990067273378372, -0.008843057788908482, -0.02685701847076416, 0.09966471791267395, -0.03794253244996071, -0.015194498002529144, 0.01322743110358715, 0.02493366412818432, -0.039760977029800415, 0.029619654640555382, 0.001275314949452877, 0.0043931156396865845, -0.09357992559671402, -0.005057547241449356, -0.012624197639524937, 0.03608911857008934, -0.019355937838554382, 0.02199617773294449, -0.03948121517896652, 0.031560495495796204, 0.021961208432912827, -0.05217535421252251, -0.011408987455070019, -0.025912826880812645, 0.0298294760286808, -0.0021790729369968176, 0.002056677592918277, 0.05724601447582245, 0.01654958911240101, -0.0008441995014436543, -0.027014384046196938, 0.00394069030880928, 0.07266782224178314, -0.05881967023015022, -0.025703005492687225, -0.01679437980055809, -0.005713236052542925, -0.01446886919438839, 0.031560495495796204, -0.017117852345108986, -0.02474132925271988, -0.007671560626477003, 0.04801391437649727, -0.07756362855434418, 0.017100367695093155, -0.011094256304204464, 0.052979666739702225, -0.014827311970293522, 0.014556294307112694, 0.01761617511510849, -0.012965155765414238, 0.03479522466659546, 0.009686711244285107, -0.007785213179886341, 0.0016108091222122312, -0.035337261855602264, -0.02558061107993126, 0.003798624500632286, 0.03547714278101921, -0.08791477233171463, 0.05175571143627167, 0.00682353600859642, -0.07364697754383087, -0.010307430289685726, 0.04969247803092003, -0.021454142406582832, -0.011601323261857033, -0.009494375437498093, -0.06525415927171707, 0.021121926605701447, -0.0013998958747833967, -0.04420217499136925, 0.015264438465237617, -0.02349989116191864, -0.023814622312784195, 0.00859389640390873, 0.08357848227024078, -0.008882399648427963, 0.02014276385307312, -0.020457495003938675, 0.021314261481165886, 0.02815091237425804, -0.01905869133770466, 0.03152552247047424, 0.011898568831384182, -0.0038073670584708452, -0.018394259735941887, -0.026297496631741524, -0.04245367273688316, 0.012300724163651466, 0.002305839443579316, -0.04507642984390259, 0.029287438839673996, 0.025877855718135834, 0.03467283025383949, -0.05511283874511719, -0.03170037269592285, 0.03587929904460907, 0.031770315021276474, -0.01636599563062191, -0.07032482326030731, 0.042733434587717056, -0.012536772526800632, -0.005988625343888998, -0.015500485897064209, -0.005206170026212931, -0.023360010236501694, -0.021314261481165886, 0.01070958562195301, 0.025300851091742516, -0.03341390937566757, -0.031752828508615494, -0.023884562775492668, -0.006744853686541319, -0.0034358100965619087, 0.00039860422839410603, -0.018848871812224388, 0.04217391088604927, 0.003105779876932502, 0.027941090986132622, -0.08127045631408691, 0.009406950324773788, 0.023954501375555992, 0.041229721158742905, 0.0098528191447258, 0.045006487518548965, 0.00348826521076262, 0.03246971592307091, -0.005311080254614353, -0.027993546798825264, -0.002471947344020009, 0.05315451696515083, 0.04762924462556839, 0.004642277490347624, 0.03500504791736603, -0.0004827509692404419, -0.020509948953986168, 0.036403849720954895, -0.014503839425742626, 0.04367762431502342, 0.023342525586485863, -0.057176075875759125, 0.019443362951278687, -0.019670667126774788, -0.0039625465869903564, 0.04136960208415985, 0.06934566050767899, -0.006023595575243235, -0.004439014010131359, 0.011513897217810154, -0.017082883045077324, 0.026577258482575417, 0.0343930684030056, -0.023429950699210167, -0.03983091562986374, 0.0431530736386776, 0.034480493515729904, -0.014608749188482761, 0.026926958933472633, 0.03381606563925743, 0.019198572263121605, -0.021454142406582832, 0.08280914276838303, -0.029864445328712463, 0.034725286066532135, -0.024723844602704048, 0.034532949328422546, 0.03142061457037926, 0.04378253594040871, -0.05798038840293884, 0.023377496749162674, 0.002860989421606064, 0.007033356465399265, -0.019688153639435768, -0.004760301671922207, 0.08176004141569138, -0.03584432974457741, -0.018306834623217583, -0.0039013491477817297, 0.06455475836992264, -0.04532121866941452, -0.00786389596760273, -0.10882687568664551, 0.02899019420146942, 0.04245367273688316, 0.026699652895331383, 0.056966252624988556, -0.048783257603645325, 0.03804744407534599 ]
41,251
pyglove.core.symbolic.origin
history
Returns a history of origins with an optional filter. Args: condition: An optional callable object with signature (origin) -> should_list. If None, all origins will be listed. Returns: A list of filtered origin from the earliest (root) to the most recent.
def history( self, condition: Optional[Callable[['Origin'], bool]] = None) -> List['Origin']: """Returns a history of origins with an optional filter. Args: condition: An optional callable object with signature (origin) -> should_list. If None, all origins will be listed. Returns: A list of filtered origin from the earliest (root) to the most recent. """ condition = condition or (lambda o: True) current = self history = [] while current is not None: if condition(current): history.append(current) current = getattr(current.source, 'sym_origin', None) history.reverse() return history
(self, condition: Optional[Callable[[pyglove.core.symbolic.origin.Origin], bool]] = None) -> List[pyglove.core.symbolic.origin.Origin]
[ -0.00956549309194088, 0.0014781840145587921, -0.03410991653800011, -0.041695740073919296, -0.021969100460410118, -0.019674083217978477, -0.04053947329521179, 0.015443190932273865, 0.04071466252207756, -0.004922900348901749, -0.016827208921313286, -0.018307583406567574, 0.006232461892068386, -0.047056619077920914, -0.03333907201886177, 0.02906438335776329, -0.010064790956676006, -0.001433291006833315, -0.03661516681313515, -0.02062012068927288, 0.004809025675058365, -0.05024511739611626, 0.018622929230332375, 0.001127799740061164, 0.022214369848370552, 0.027329981327056885, -0.06303414702415466, -0.008777128532528877, -0.06457583606243134, 0.019901832565665245, -0.013901500031352043, -0.017843324691057205, 0.019376255571842194, -0.05494026839733124, -0.00891290232539177, 0.006928850896656513, 0.01146632805466652, 0.02186398394405842, -0.01517164334654808, 0.028661441057920456, 0.002960747806355357, 0.022266926243901253, -0.004844063892960548, 0.0436929315328598, 0.028731517493724823, -0.0019391585374251008, -0.005299563519656658, -0.03735097497701645, 0.043377585709095, -0.014444595202803612, 0.015381873585283756, 0.06117711216211319, -0.01998942904174328, -0.03745608776807785, 0.027172308415174484, -0.050840772688388824, 0.028030749410390854, 0.021723831072449684, 0.050455350428819656, 0.016871007159352303, 0.041590623557567596, 0.004038179758936167, -0.014041653834283352, -0.015381873585283756, 0.0765940248966217, -0.03244559094309807, 0.005098092369735241, -0.007914306595921516, -0.027119750156998634, -0.0020179948769509792, -0.052978117018938065, -0.007169740274548531, 0.03573920577764511, -0.011965625919401646, -0.06786945462226868, -0.034705571830272675, -0.001157363411039114, 0.019674083217978477, -0.010266262106597424, -0.04302719980478287, 0.007607720792293549, 0.03990877792239189, 0.012429885566234589, 0.025945963338017464, -0.00189645541831851, -0.03333907201886177, 0.0033812092151492834, -0.001992810983210802, 0.026489058509469032, 0.02132088877260685, -0.08318124711513519, -0.012202135287225246, -0.06440065056085587, -0.0265591349452734, 0.004765227437019348, 0.02799571119248867, -0.05669219046831131, -0.03808677941560745, 0.02035733126103878, 0.04884358122944832, -0.010537809692323208, 0.08437255769968033, -0.028030749410390854, 0.0432724691927433, -0.011159742251038551, 0.023966290056705475, -0.06124718859791756, -0.037315934896469116, -0.010625406168401241, -0.002761466894298792, -0.018903236836194992, 0.08990862965583801, -0.0012942322064191103, -0.06948122382164001, 0.02457946352660656, 0.006994547788053751, -0.01290290430188179, -0.008934801444411278, -0.057147689163684845, -0.040048934519290924, 0.01031006034463644, -0.04134535416960716, -0.0033133220858871937, 0.026103636249899864, -0.0036571368109434843, 0.02971259504556656, 0.014970172196626663, -0.026208750903606415, -0.022564753890037537, -0.08072856068611145, -0.001157363411039114, -0.05451980605721474, -0.03382961079478264, -0.011878030374646187, 0.023440714925527573, -0.025017444044351578, -0.018657967448234558, 0.006000332534313202, -0.05732288211584091, 0.03794662654399872, -0.007782912813127041, 0.011860511265695095, 0.00426811957731843, 0.04632081463932991, -0.0770144835114479, -0.05192696303129196, 0.025472942739725113, 0.03840212523937225, 0.0440082773566246, 0.01913098618388176, -0.0034162476658821106, 0.04029420390725136, -0.018850678578019142, 0.04260673746466637, -0.06398018449544907, 0.012219655327498913, -0.04313231632113457, 0.01806231401860714, 0.0333741120994091, 0.06930603086948395, -0.014865056611597538, -0.0028556326869875193, -0.008553758263587952, -0.07855617254972458, -0.04681135341525078, -0.009442858397960663, -0.008312868885695934, -0.022091735154390335, -0.041976045817136765, 0.048913657665252686, 0.011343694292008877, 0.001045130891725421, 0.04824792593717575, 0.008321628905832767, -0.03365441784262657, 0.04684638977050781, -0.012061981484293938, 0.056026458740234375, 0.02212677337229252, 0.031534593552351, -0.01100206933915615, -0.051051001995801926, -0.030255690217018127, -0.022144291549921036, 0.03717578202486038, -0.09495416283607483, -0.02387869544327259, -0.012324769981205463, 0.06180780380964279, 0.05262773111462593, -0.07147841155529022, -0.019148506224155426, 0.04092489555478096, -0.04407835379242897, -0.0048834821209311485, -0.02512255869805813, -0.06405026465654373, 0.029992902651429176, -0.035826802253723145, -0.006298159249126911, -0.011983145028352737, 0.004084168002009392, 0.0012526240898296237, -0.03410991653800011, 0.007336172740906477, 0.08892755210399628, -0.00626312056556344, 0.012631356716156006, 0.01076555997133255, 0.029957864433526993, -0.00190630997531116, -0.011588962748646736, -0.0636998787522316, -0.03885762766003609, -0.02356334961950779, 0.013323365710675716, -0.04428858309984207, 0.006871913559734821, 0.07505232840776443, -0.0014037273358553648, 0.029239576309919357, -0.0747019499540329, -0.0848630964756012, 0.011387491598725319, -0.011510126292705536, 0.059600379317998886, 0.01696736365556717, -0.03840212523937225, 0.020637638866901398, -0.03952335566282272, 0.026909518986940384, -0.009302704595029354, -0.03735097497701645, -0.10490508377552032, 0.10504523664712906, 0.024141483008861542, 0.003873937064781785, 0.039838701486587524, 0.01610892079770565, 0.030308248475193977, -0.03537130355834961, 0.06706357002258301, 0.08920785784721375, 0.02345823310315609, 0.030483439564704895, -0.04908885061740875, 0.0032585745211690664, 0.01645054668188095, -0.04344766214489937, -0.034653015434741974, -0.05476507544517517, 0.007857369258999825, -0.025245193392038345, -0.03213024511933327, 0.04092489555478096, -0.00980200245976448, 0.003913355525583029, -0.0535387322306633, 0.01976167783141136, -0.018412698060274124, 0.009688127785921097, -0.014540951699018478, -0.000476303743198514, -0.01662573777139187, -0.0430622398853302, -0.021653754636645317, -0.04943923279643059, -0.010423935018479824, -0.01472490280866623, 0.06450576335191727, 0.006744899321347475, -0.050630539655685425, -0.09866824001073837, 0.01504024863243103, -0.011956866830587387, -0.01424312498420477, -0.0160826425999403, -0.030816305428743362, -0.07463186979293823, -0.03542385995388031, -0.0333741120994091, 0.02580580860376358, 0.0018876957474276423, -0.027277423068881035, 0.0215836763381958, -0.03328651562333107, 0.011422530747950077, -0.026646731421351433, 0.011483848094940186, 0.020690197125077248, 0.051261235028505325, 0.05574615299701691, -0.03672028332948685, -0.04782746732234955, 0.07715463638305664, -0.02575325034558773, 0.022319484502077103, -0.03976862505078316, 0.01381390355527401, 0.030220651999115944, 0.029905306175351143, 0.0002844135742634535, 0.04225635528564453, 0.008628214709460735, -0.05637684464454651, 0.014208085834980011, -0.015854893252253532, -0.025630617514252663, 0.017186352983117104, -0.027697883546352386, 0.04512950778007507, 0.011921828612685204, -0.03524866700172424, -0.06457583606243134, 0.009661848656833172, -0.03759624436497688, -0.03766632080078125, -0.01986679434776306, -0.022144291549921036, 0.0440082773566246, -0.003252004971727729, 0.034653015434741974, -0.017738208174705505, -0.00375349260866642, -0.05192696303129196, -0.023948771879076958, -0.039943818002939224, 0.023808617144823074, 0.013008019886910915, 0.03339163213968277, -0.010091070085763931, 0.01811487227678299, 0.000260050903307274, 0.07806563377380371, 0.04796762019395828, 0.012859106063842773, 0.04134535416960716, 0.016310391947627068, -0.006552187725901604, -0.045760199427604675, 0.014225604943931103, -0.03857731819152832, -0.014523431658744812, 0.041065048426389694, 0.06376995146274567, 0.025613097473978996, 0.050735656172037125, 0.03514355048537254, 0.017895881086587906, 0.04894869774580002, -0.014234364964067936, 0.05241750180721283, 0.0014814689056947827, 0.021758869290351868, 0.053713925182819366, 0.0159249696880579, -0.019831756129860878, -0.03714074194431305, -0.006906951777637005, 0.018955795094370842, 0.09411323815584183, 0.012815308757126331, -0.008028182201087475, -0.04873846471309662, -0.03878755122423172, 0.0035126032307744026, 0.06278888136148453, -0.0132007310166955, -0.0011650280794128776, -0.027540210634469986, -0.04460392892360687, -0.006657302845269442, 0.03456541895866394, -0.01153640542179346, -0.023475753143429756, -0.026278827339410782, 0.09390301257371902, -0.04866838827729225, 0.022477157413959503, 0.05851418897509575, 0.043833084404468536, 0.02799571119248867, -0.02724238485097885, -0.019639043137431145, -0.007734735030680895, 0.041695740073919296, 0.003919925075024366, 0.02944980561733246, 0.022774983197450638, -0.0157672967761755, 0.02676936611533165, -0.06857021898031235, -0.004633833188563585, -0.036895472556352615, -0.033742014318704605, -0.011334934271872044, 0.006534668616950512, 0.07316025346517563, -0.012018184177577496, -0.027873076498508453, 0.036790359765291214, 0.0436929315328598, -0.022617310285568237, 0.011816713027656078, -0.0018625118536874652, -0.056657154113054276, -0.01902587153017521, 0.016196517273783684, 0.0004919068305753171, -0.0420110858976841, 0.035984475165605545, -0.08002778887748718, -0.02100554294884205, 0.030588556081056595, 0.0423264317214489, -0.02752269245684147, 0.0003514793061185628, -0.009057436138391495, -0.01571473851799965, 0.037421051412820816, 0.02387869544327259, -0.0006285019335336983, 0.00841798447072506, 0.04835304245352745, 0.012937942519783974, 0.07841601967811584, -0.011553924530744553, 0.04435865953564644, -0.05791853740811348, 0.030851343646645546, 0.059705495834350586, -0.0426417775452137, 0.0027154788840562105, -0.04074970260262489, -0.014260644093155861, 0.008382946252822876, 0.03044840134680271, 0.017326507717370987, -0.0009328983724117279, 0.046355850994586945, -0.004879102110862732, -0.01595124788582325, -0.014996451325714588, 0.003571730572730303, -0.03798166662454605, 0.022512195631861687, 0.025315269827842712, -0.01563590206205845, 0.023948771879076958, -0.018833160400390625, -0.04628577455878258, -0.008439883589744568, -0.037806473672389984, 0.02372102253139019, -0.014707383699715137, 0.02517511695623398, -0.04120520129799843, -0.0008157386328093708, -0.07778532803058624, 0.01976167783141136, 0.041065048426389694, 0.01746666058897972, 0.04530470073223114, -0.04569012299180031, -0.018342621624469757, 0.01709875650703907, 0.03370697796344757, -0.05749807506799698, -0.025735732167959213, -0.04926404356956482, 0.03519611060619354, -0.010169906541705132, -0.06023107469081879, -0.013603673316538334, 0.010783079080283642, 0.033531785011291504, 0.000520375557243824, -0.028118345886468887, 0.05728784576058388, -0.012517482042312622, -0.05932007357478142, 0.007450047414749861, -0.034653015434741974, -0.025630617514252663, -0.02186398394405842, -0.04856327176094055, -0.018027275800704956, -0.049614425748586655, 0.04386812448501587, 0.014225604943931103, 0.008632594719529152, -0.019060909748077393, -0.047687314450740814, -0.031657226383686066, 0.005014876369386911, 0.03312884271144867, 0.026208750903606415, 0.027610288932919502, 0.06107199564576149, -0.015057768672704697, -0.005080573260784149, -0.004673251416534185, -0.04989473521709442, 0.06902571767568588, -0.015986286103725433, -0.006109827663749456, 0.0317448228597641, -0.021618716418743134, -0.034653015434741974, 0.020865390077233315, 0.07280987501144409, -0.010318819433450699, 0.03962847217917442, 0.022564753890037537, -0.05711265280842781, -0.065486840903759, -0.05998580530285835, 0.012403606437146664, 0.0037206439301371574, 0.027224864810705185, -0.0006744898855686188, -0.025245193392038345, 0.03339163213968277, -0.04246658459305763, 0.012053222395479679, -0.027978191152215004, -0.027014635503292084, -0.0421162024140358, 0.012727712281048298, -0.013472278602421284, 0.01759805530309677, -0.01707247830927372, 0.002840303350239992, 0.031341880559921265, 0.00750698521733284, 0.04547988995909691, 0.04625073820352554, 0.0003227368579246104, -0.026086116209626198, -0.00961805135011673, 0.018903236836194992, 0.052067115902900696, 0.004171764012426138, 0.046776313334703445, -0.005422198213636875, -0.042186278849840164, -0.01629287376999855, 0.010380136780440807, 0.012123298831284046, 0.002176762791350484, 0.047056619077920914, -0.008382946252822876, 0.04674127325415611, -0.021671272814273834, 0.014094211161136627, 0.004611934069544077, 0.05932007357478142, 0.03062359429895878, -0.035564012825489044, -0.014978932216763496, 0.028994306921958923, 0.002343195490539074, -0.04152054712176323, 0.015828613191843033, -0.06615256518125534, 0.015057768672704697, 0.035301223397254944, 0.011720357462763786, 0.05676226690411568, 0.051576580852270126, 0.025402866303920746, 0.025210155174136162, 0.054694999009370804, 0.061632610857486725, 0.0423264317214489, 0.026489058509469032, 0.05494026839733124, -0.005496654659509659, 0.03703562915325165, -0.024159003049135208, 0.05882953479886055, -0.10098077356815338, -0.006092308089137077, -0.028573844581842422, -0.011851751245558262, 0.019691601395606995, -0.02890671044588089, 0.058374036103487015, 0.005439717322587967, 0.013752586208283901, 0.05315330997109413, 0.09074955433607101, -0.007231057621538639, 0.010318819433450699, 0.009574253112077713, -0.05392415449023247, -0.0009892883244901896, -0.05854922905564308, -0.06513645499944687, 0.07189887017011642, -0.00932022463530302, 0.038822587579488754, -0.025945963338017464, -0.062333378940820694, -0.016126440837979317, -0.08409225195646286, -0.018360141664743423, -0.06450576335191727, -0.0011168501805514097, -0.005409058649092913, 0.010380136780440807, -0.004281259141862392, 0.013857701793313026, -0.026786884292960167, 0.04740700498223305, -0.0013259858824312687, 0.04894869774580002, 0.02810082584619522, 0.008050081320106983, 0.05728784576058388, 0.07102291285991669, -0.0132795674726367, 0.018290063366293907, 0.04145047068595886, -0.05294307693839073, -0.03836708888411522, 0.014672345481812954, -0.003063673386350274, 0.0006673727184534073, 0.009530454874038696, 0.03062359429895878, 0.017054958269000053, -0.028608882799744606, 0.01298174075782299, -0.05651699751615524, 0.005084953270852566, -0.006871913559734821, 0.007918686605989933, 0.012175857089459896, -0.04176581650972366, -0.052592694759368896, 0.013174451887607574, 0.027277423068881035, 0.011229818686842918, -0.061947956681251526, 0.016765892505645752, 0.014681105501949787, 0.018605409190058708, 0.0015340265817940235, -0.052277348935604095, -0.004099497105926275, 0.022669868543744087, 0.007826711051166058, 0.07021702826023102, -0.033742014318704605, 0.04074970260262489, -0.06839502602815628, 0.02040988951921463, 0.07869633287191391, -0.012850346975028515, 0.04695150628685951, 0.005084953270852566, -0.005654327571392059, 0.010984550230205059, 0.004381994716823101, -0.0024899188429117203, 0.0165556613355875, 0.006363856140524149, -0.02244211919605732, 0.05539576709270477, -0.004388564266264439, -0.0324280746281147, -0.0031425098422914743, 0.00023500388488173485, 0.0026475919876247644, -0.016222795471549034, 0.0031687887385487556, 0.032620783895254135, 0.034653015434741974, -0.05161161720752716, 0.01874556392431259, 0.003917735069990158, 0.012990500777959824, -0.030816305428743362, 0.05028015747666359, 0.07764517515897751, -0.023948771879076958, 0.007187259383499622, 0.0324280746281147, 0.03749112784862518, -0.029852747917175293, 0.03973358869552612, 0.03382961079478264, 0.022354522719979286, 0.05932007357478142, 0.05283796414732933, -0.08514340221881866, -0.0036987450439482927, 0.033899687230587006, -0.02601603977382183, 0.054694999009370804, 0.0759633332490921, -0.00837856624275446, -0.004690770525485277, -0.0105553288012743, -0.08058840781450272, -0.010967031121253967, -0.017527978867292404, 0.04614562168717384, 0.029204536229372025, -0.02549046277999878, 0.020322293043136597, -0.010826877318322659, -0.025788290426135063, 0.02233700267970562, -0.01093199197202921, 0.02666424959897995, -0.011054626666009426, 0.030168093740940094, 0.011510126292705536, 0.050315193831920624, 0.007270475849509239, 0.004049129318445921, 0.02843369171023369, 0.04590035229921341, 0.052557654678821564, 0.0330587662756443, -0.020707715302705765, -0.09039916843175888, -0.010423935018479824, -0.0014595699030905962, 0.05304819345474243, -0.011685318313539028, 0.007393110077828169, 0.04502439126372337, -0.032025132328271866, -0.007993143051862717, 0.003495084121823311, -0.02116321586072445, 0.018517814576625824, 0.0012810928747057915, -0.04260673746466637, -0.015381873585283756, 0.025735732167959213, 0.07694441080093384, -0.06843006610870361, 0.007743494585156441, -0.03717578202486038, 0.002362904604524374, 0.001346789882518351, -0.000806979020126164, -0.03661516681313515, 0.06503134220838547, -0.0744917169213295, -0.04765227437019348, 0.024824732914566994, -0.042186278849840164, 0.05213719233870506, 0.013875220902264118, 0.004423602484166622, -0.0434826985001564, 0.0132795674726367, 0.012105779722332954, -0.01769440993666649, 0.03626478090882301, -0.015539546497166157, -0.005286423955112696, 0.015057768672704697 ]
41,252
pyglove.core.symbolic.pure_symbolic
PureSymbolic
Base class to classes whose objects are considered pure symbolic. Pure symbolic objects can be used for representing abstract concepts - for example, a search space of objects - which cannot be executed but soely representational. Having pure symbolic object is a key differentiator of symbolic OOP from regular OOP, which can be used to placehold values in an object as a high-level expression of ideas. Later, with symbolic manipulation, the pure symbolic objects are replaced with material values so the object can be evaluated. This effectively decouples the expression of ideas from the implementation of ideas. For example: ``pg.oneof(['a', 'b', 'c']`` will be manipulated into 'a', 'b' or 'c' based on the decision of a search algorithm, letting the program evolve itself.
class PureSymbolic(pg_typing.CustomTyping): """Base class to classes whose objects are considered pure symbolic. Pure symbolic objects can be used for representing abstract concepts - for example, a search space of objects - which cannot be executed but soely representational. Having pure symbolic object is a key differentiator of symbolic OOP from regular OOP, which can be used to placehold values in an object as a high-level expression of ideas. Later, with symbolic manipulation, the pure symbolic objects are replaced with material values so the object can be evaluated. This effectively decouples the expression of ideas from the implementation of ideas. For example: ``pg.oneof(['a', 'b', 'c']`` will be manipulated into 'a', 'b' or 'c' based on the decision of a search algorithm, letting the program evolve itself. """ 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)
()
[ 0.04522501677274704, -0.06111689656972885, -0.006637087091803551, 0.058629147708415985, 0.04756424203515053, -0.029871532693505287, -0.057478100061416626, -0.04440814629197121, 0.06572108715772629, -0.05499035492539406, 0.03525546193122864, 0.05135155841708183, 0.03022427298128605, 0.021442895755171776, -0.05387643724679947, 0.02541586570441723, 0.0004522385715972632, 0.07455815374851227, 0.03506981208920479, 0.03909847512841225, 0.03258206322789192, 0.03761325404047966, 0.0018553674453869462, 0.011194862425327301, 0.011668276973068714, -0.01816612482070923, 0.025712911039590836, 0.002385638188570738, -0.0351812019944191, -0.03462424501776695, 0.04377692565321922, 0.00427233474329114, 0.031096840277314186, 0.0018727724673226476, 0.03642507642507553, -0.07251597940921783, -0.024673255160450935, 0.11555029451847076, -0.03460567817091942, -0.04114065691828728, -0.014759396202862263, 0.024060601368546486, -0.04956929385662079, -0.027662264183163643, 0.0014631759840995073, 0.0047805593349039555, -0.021944159641861916, 0.07273875921964645, -0.005982660688459873, -0.03384450078010559, 0.012197387404739857, -0.026511216536164284, 0.018704518675804138, 0.0040588341653347015, -0.01848173514008522, 0.03430863469839096, -0.010526512749493122, 0.039395518600940704, -0.00471093924716115, 0.003590060630813241, -0.0006799533148296177, 0.032674890011548996, -0.044668059796094894, -0.07518937438726425, 0.004970853216946125, -0.0076071228832006454, -0.017172882333397865, -0.030521316453814507, -0.01182608213275671, 0.0000831811485113576, -0.06275063753128052, -0.05948315188288689, 0.0430714450776577, -0.014425220899283886, 0.025712911039590836, -0.053170956671237946, 0.014490199275314808, -0.037557557225227356, 0.054396264255046844, -0.02326229400932789, -0.06033715233206749, -0.051091644912958145, -0.059780195355415344, -0.07641468197107315, -0.06698352098464966, 0.025601519271731377, 0.014007502235472202, -0.021981289610266685, 0.06030002236366272, -0.012800759635865688, 0.0007559549412690103, -0.003838371252641082, 0.016931533813476562, 0.03629511967301369, 0.020199023187160492, -0.01980915106832981, 0.01869523525238037, -0.07834547758102417, -0.009291921742260456, -0.0025666498113423586, 0.009542552754282951, 0.04485371336340904, -0.03226645290851593, 0.0115940161049366, 0.06854300945997238, 0.018138276413083076, -0.006590673699975014, -0.03653646633028984, 0.019623499363660812, -0.01927075907588005, -0.06895144283771515, 0.0009311647154390812, -0.013107086531817913, -0.035905249416828156, -0.011816799640655518, 0.0023345837835222483, -0.02964874915778637, -0.027606569230556488, 0.02710530534386635, -0.0115940161049366, 0.0022719260305166245, 0.042328834533691406, 0.02042180672287941, 0.010879253037273884, 0.01601255312561989, 0.05235408619046211, 0.0621565505862236, -0.0009758374071680009, -0.04522501677274704, 0.022946683689951897, -0.016810858622193336, 0.033900197595357895, 0.003016857663169503, 0.06973118335008621, -0.005843421444296837, 0.059817325323820114, 0.014202437363564968, -0.004430139437317848, -0.024988863617181778, 0.027550872415304184, 0.021702811121940613, -0.021814201027154922, 0.021758506074547768, -0.015854747965931892, -0.002110640052706003, 0.020106196403503418, -0.004683091305196285, -0.016021834686398506, -0.025323038920760155, -0.01365476194769144, -0.013329870067536831, 0.009579683654010296, 0.008600365370512009, 0.06401307880878448, -0.025972824543714523, 0.05914897471666336, 0.011009209789335728, -0.03757612407207489, -0.042477358132600784, 0.007421469781547785, -0.05621566250920296, -0.01647668518126011, -0.02264964021742344, -0.007829906418919563, -0.01772984117269516, -0.016987228766083717, 0.045744843780994415, -0.111837238073349, -0.022166941314935684, 0.010415120981633663, -0.011129884049296379, -0.06935987621545792, 0.016523096710443497, 0.03577529266476631, 0.03403015434741974, 0.046784501522779465, 0.01267080195248127, -0.011723972856998444, -0.0037293003406375647, -0.04526214674115181, 0.03076266683638096, -0.06237933412194252, -0.10396555811166763, -0.0035018755588680506, 0.0460047610104084, 0.06341899186372757, -0.05075747147202492, 0.0184167567640543, 0.06505273282527924, 0.021814201027154922, -0.03614659607410431, 0.0038963877595961094, 0.03846725821495056, 0.03783603757619858, 0.037130557000637054, -0.05699540302157402, 0.018212538212537766, 0.03375167399644852, -0.05291104316711426, 0.06976831704378128, -0.02849770151078701, -0.035515375435352325, 0.05168573558330536, 0.04166048392653465, -0.05060894787311554, -0.011352667585015297, 0.03161666914820671, 0.014072480611503124, -0.050014860928058624, -0.07218179851770401, -0.039209868758916855, -0.021257244050502777, -0.012763628736138344, 0.03408585116267204, -0.004341954365372658, -0.03629511967301369, 0.053319480270147324, -0.0016940815839916468, 0.018036168068647385, 0.03796599432826042, 0.007932014763355255, -0.0011295811273157597, 0.013023542240262032, 0.01654166355729103, 0.06880292296409607, -0.013264891691505909, -0.015947574749588966, -0.005871269386261702, 0.010275881737470627, -0.020644590258598328, -0.0034345765598118305, -0.021275809034705162, -0.008609647862613201, -0.02534160390496254, 0.04418536275625229, 0.009978837333619595, 0.05164860561490059, 0.007648894563317299, -0.009988119825720787, 0.038318734616041183, -0.027680829167366028, -0.004100605845451355, -0.05172286555171013, -0.002942596562206745, -0.07392694056034088, -0.003942801151424646, 0.07043666392564774, 0.012215953320264816, 0.008266190066933632, -0.05068320780992508, 0.013803284615278244, -0.03991534933447838, 0.009932423941791058, 0.011129884049296379, 0.02838630974292755, -0.0012438736157491803, -0.04299718514084816, -0.020106196403503418, 0.02756943739950657, 0.02838630974292755, -0.010377990081906319, 0.003295336849987507, -0.02795930951833725, 0.02703104540705681, 0.02257537841796875, -0.06315907835960388, -0.03746473044157028, 0.04106639698147774, -0.00318162445910275, 0.020700285211205482, -0.004594906233251095, 0.014675852842628956, -0.0036132673267275095, 0.01478724367916584, -0.02688252367079258, 0.029128922149538994, -0.0046227541752159595, 0.08963316679000854, 0.01980915106832981, -0.0476013720035553, -0.002317178761586547, -0.0174049474298954, 0.019716326147317886, -0.042588748037815094, 0.007412187289446592, 0.029370270669460297, -0.04385118559002876, -0.0023450267035514116, 0.011231993325054646, -0.00834509264677763, 0.045633453875780106, -0.0021883822046220303, 0.05135155841708183, 0.0209230687469244, 0.08020199835300446, 0.05807219073176384, -0.06861726939678192, -0.04756424203515053, 0.014007502235472202, -0.06761474162340164, 0.039395518600940704, 0.023744991049170494, 0.02329942397773266, 0.020403239876031876, 0.027290958911180496, -0.01855599507689476, 0.02788504771888256, 0.007699949201196432, -0.0034601036459207535, 0.04381405562162399, -0.021257244050502777, 0.007291513029485941, -0.040398046374320984, 0.06527552008628845, 0.018871605396270752, 0.0198834128677845, 0.016745880246162415, -0.07333284616470337, 0.05510174483060837, 0.02149859257042408, -0.03367741405963898, -0.01895514875650406, -0.03076266683638096, 0.012995694763958454, -0.02268677018582821, -0.029908662661910057, -0.027550872415304184, -0.00820121169090271, 0.0020050499588251114, -0.018648821860551834, 0.007356491405516863, 0.045522063970565796, 0.030020054429769516, 0.04544780030846596, -0.04299718514084816, -0.0005885773571208119, 0.053282346576452255, -0.025007430464029312, -0.007426111493259668, -0.02907322533428669, 0.02534160390496254, 0.022742465138435364, 0.019549237564206123, -0.002794074360281229, -0.006483923643827438, -0.014378807507455349, -0.03657359629869461, -0.017210012301802635, 0.05447052791714668, 0.009124834090471268, 0.010888535529375076, -0.004587944597005844, -0.0626392513513565, -0.00834509264677763, 0.021312939003109932, -0.024171993136405945, -0.0038267679046839476, -0.010099511593580246, -0.06004010885953903, -0.05706966668367386, 0.08955889940261841, -0.05458191782236099, -0.01451804768294096, 0.013060673139989376, 0.037056297063827515, -0.010619339533150196, -0.02972301095724106, 0.04158622398972511, 0.0026641173753887415, -0.002972765127196908, 0.004845537710934877, -0.0899302065372467, 0.0025364812463521957, -0.06030002236366272, 0.021182982251048088, 0.022241203114390373, 0.007207969203591347, 0.001704524620436132, -0.028646225109696388, -0.015882596373558044, 0.06572108715772629, -0.021015895530581474, -0.03735334053635597, 0.027253828942775726, 0.011705407872796059, 0.019363585859537125, 0.031709495931863785, 0.006414303556084633, 0.03399302437901497, 0.027625134214758873, 0.000979318399913609, -0.014128176495432854, 0.05825784429907799, -0.036406509578228, -0.003265168284997344, -0.00852146279066801, -0.03906134516000748, 0.012076713144779205, -0.07518937438726425, -0.025323038920760155, 0.014369525015354156, -0.07173623144626617, 0.02781078591942787, 0.014313829131424427, -0.012503715232014656, -0.02576860599219799, 0.03857864812016487, 0.02045893669128418, -0.018509581685066223, 0.09720779955387115, 0.009110909886658192, 0.01501930970698595, -0.019976239651441574, -0.016096096485853195, 0.019753456115722656, -0.01611466147005558, 0.05127729848027229, -0.06267637759447098, 0.030892623588442802, 0.02584286779165268, 0.055213138461112976, 0.0002990750363096595, 0.013376282528042793, 0.039209868758916855, 0.017377100884914398, 0.00857715867459774, 0.03284197673201561, 0.025972824543714523, -0.026511216536164284, 0.05803506076335907, 0.002138487994670868, -0.044742319732904434, -0.03614659607410431, 0.0023740348406136036, -0.023373685777187347, -0.03495841845870018, 0.012995694763958454, -0.017423514276742935, -0.03538541868329048, 0.024394774809479713, 0.017135752364993095, 0.04938364028930664, -0.004348916467279196, 0.005899117328226566, 0.01498217973858118, 0.02938883565366268, -0.015956856310367584, 0.015734072774648666, -0.041400570422410965, 0.04615328088402748, 0.009848879650235176, 0.009101627394557, 0.0844348818063736, 0.013469109311699867, -0.053208086639642715, 0.020087631419301033, 0.007198686711490154, -0.08242983371019363, -0.03631368279457092, 0.040472306311130524, -0.005481398198753595, 0.02372642606496811, 0.008219776675105095, -0.05625279247760773, -0.019437845796346664, 0.0012949281372129917, 0.0072822305373847485, 0.006627804134041071, -0.037093427032232285, -0.03161666914820671, 0.0323035828769207, -0.0018054733518511057, 0.03284197673201561, -0.0016546304104849696, 0.01977202109992504, 0.018101146444678307, -0.038095951080322266, -0.027940744534134865, -0.08673697710037231, -0.07403832674026489, 0.016569510102272034, -0.003306940197944641, 0.00866998452693224, 0.029630184173583984, 0.04496510326862335, 0.04284866154193878, 0.0637531653046608, 0.017831949517130852, 0.04422249272465706, 0.005100809969007969, -0.016021834686398506, 0.06018863245844841, 0.051091644912958145, 0.029128922149538994, -0.06549829989671707, -0.0007820623577572405, -0.02838630974292755, 0.020904503762722015, 0.01977202109992504, -0.054322004318237305, -0.028015004470944405, 0.012726497836411, -0.03869003802537918, 0.042551618069410324, 0.06464429944753647, -0.010507947765290737, -0.03211793303489685, -0.0050265491008758545, -0.0022661243565380573, -0.01999480463564396, -0.03549681231379509, -0.016318880021572113, 0.06965692341327667, -0.029518792405724525, 0.023392250761389732, 0.03612803295254707, 0.060856983065605164, 0.0014341677306219935, -0.03872717171907425, -0.11005496978759766, -0.03211793303489685, -0.05246547609567642, -0.04006386920809746, 0.017581317573785782, 0.015529855154454708, -0.02272390015423298, -0.02454329840838909, -0.023596469312906265, 0.059668805450201035, -0.0430714450776577, 0.06427299231290817, 0.03111540712416172, 0.00034432788379490376, 0.01572479121387005, 0.030094316229224205, 0.0571439266204834, -0.006149748340249062, -0.00542106106877327, 0.022835291922092438, 0.013896110467612743, 0.009542552754282951, 0.06661222130060196, 0.01938215084373951, 0.039395518600940704, 0.05487896129488945, -0.006711347959935665, 0.023670729249715805, -0.055361658334732056, 0.00673919590190053, -0.01582689955830574, -0.029704445973038673, -0.01182608213275671, 0.03341750055551529, 0.03015001118183136, -0.01315349992364645, -0.017664862796664238, 0.022835291922092438, 0.021442895755171776, -0.03843012452125549, -0.0005294005386531353, -0.002866014838218689, -0.0076071228832006454, 0.08903907239437103, -0.06345611810684204, 0.009482216089963913, -0.0011632307432591915, -0.03737190365791321, 0.006975903175771236, 0.028126396238803864, -0.03789173439145088, 0.03200653940439224, 0.03737190365791321, 0.049903467297554016, -0.004506721161305904, 0.05242834612727165, 0.0005169269861653447, -0.040286652743816376, 0.003963686991482973, -0.04218031093478203, -0.057440970093011856, -0.03419724106788635, -0.0006967781228013337, -0.038244474679231644, -0.018351778388023376, -0.014759396202862263, -0.022872421890497208, 0.03965543583035469, 0.0940888300538063, -0.05153721198439598, -0.015223528258502483, -0.04878954961895943, 0.03737190365791321, -0.006776326335966587, -0.01423028577119112, 0.004891950637102127, -0.045596323907375336, -0.06356751173734665, -0.006391096860170364, 0.04407396912574768, -0.03991534933447838, -0.08792515844106674, 0.006581391207873821, 0.0010953514138236642, -0.0065396190620958805, -0.005829497240483761, 0.005764518864452839, -0.00857715867459774, 0.0006619681953452528, 0.038281604647636414, -0.06687213480472565, 0.00369681091979146, 0.025360170751810074, -0.020366109907627106, 0.0006729913293384016, 0.00890205055475235, -0.03792886435985565, -0.08183574676513672, 0.0256943441927433, -0.005309669766575098, -0.006688141264021397, -0.06679786741733551, 0.004339633975178003, -0.04318283870816231, 0.004065795801579952, -0.03750186040997505, 0.04210605099797249, 0.028850441798567772, 0.010266599245369434, -0.010907100513577461, -0.04619041085243225, -0.015010027214884758, 0.018871605396270752, -0.02756943739950657, 0.012503715232014656, 0.0335288941860199, -0.07455815374851227, -0.025434430688619614, 0.0126336719840765, 0.019047975540161133, 0.050014860928058624, -0.04964355379343033, -0.0409921333193779, -0.028330614790320396, 0.03739047050476074, -0.0165787935256958, 0.004666846711188555, -0.03015001118183136, -0.06568395346403122, 0.008108384907245636, 0.01596613973379135, -0.04934651032090187, 0.04318283870816231, 0.02461755834519863, -0.042551618069410324, 0.06000297889113426, 0.04492797330021858, 0.03722338378429413, -0.08109313249588013, 0.012568693608045578, 0.010656469501554966, -0.010480099357664585, -0.06928561627864838, -0.013348435051739216, 0.02853483334183693, 0.03026140294969082, 0.03057701326906681, 0.010340860113501549, -0.01805473305284977, 0.05235408619046211, -0.0022440780885517597, 0.011788951233029366, 0.006613880395889282, -0.007472524419426918, -0.011167014949023724, -0.027476612478494644, 0.006056922022253275, 0.0331575870513916, 0.04407396912574768, -0.006070845760405064, -0.032823413610458374, 0.01017377246171236, -0.0368892066180706, -0.028126396238803864, 0.029296008870005608, -0.04388831928372383, -0.06341899186372757, 0.05075747147202492, 0.01640242338180542, -0.027625134214758873, -0.1101292297244072, -0.010944231413304806, -0.017999038100242615, 0.03876430168747902, 0.013181347399950027, -0.026084216311573982, -0.05072034150362015, -0.04697015509009361, 0.011315536685287952, 0.04303431510925293, 0.00574131216853857, 0.02411629632115364, 0.004901233594864607, -0.002114121103659272, -0.03141245245933533, 0.02042180672287941, 0.05584435537457466, -0.029778705909848213, -0.03607233613729477, 0.028219223022460938, 0.003406728617846966, -0.01636529341340065, 0.06735482811927795, -0.00012422782310750335, -0.03488415852189064, 0.03196940943598747, -0.04838111624121666, -0.009533270262181759, 0.05287391319870949, -0.025972824543714523, -0.01177038624882698, 0.013255608268082142, -0.017989754676818848, 0.06590674072504044, 0.0021686565596610308, 0.012364475056529045, 0.0006138145108707249, -0.0044022914953529835, -0.014880070462822914, 0.011454776860773563, 0.020718850195407867, 0.04321996867656708, 0.058480627834796906, -0.011909626424312592, 0.008396146818995476, 0.013589783571660519, 0.019103670492768288, 0.026529783383011818, -0.015288506634533405, -0.044593799859285355, 0.035088375210762024, -0.02838630974292755, 0.02576860599219799, -0.031858015805482864, -0.049754947423934937, 0.049977727234363556, 0.018296081572771072, -0.03330611065030098, 0.04626467451453209, 0.044779449701309204, 0.052205562591552734, 0.04641319438815117, 0.04388831928372383, 0.015604116022586823, 0.014675852842628956, 0.06449577957391739, 0.028757615014910698, -0.0028822594322264194, -0.015474159270524979, -0.040472306311130524, -0.053282346576452255, -0.0675404816865921, -0.030298534780740738, -0.011426928453147411, 0.015056440606713295, 0.032210756093263626, -0.035125505179166794, -0.053356610238552094, 0.0389128215610981 ]
41,254
pyglove.core.symbolic.ref
Ref
Symbolic reference. When adding a symbolic node to a symbolic tree, it undergoes a copy operation if it already has a parent, ensuring that all symbolic objects have a single parent. Additionally, list and dict objects are automatically converted to ``pg.List`` and ``pg.Dict``, respectively, to enable symbolic operability. However, these two conventions come with certain costs. The act of making copies incurs a runtime cost, and it also introduces challenges in sharing states across different symbolic objects. To address this issue, symbolic reference is introduced. This feature allows a symbolic node to refer to value objects without the need for transformation or copying, even when the symbolic node itself is copied. For example:: class A(pg.Object): x: int a = pg.Ref(A(1)) b = pg.Dict(x=a) c = pg.Dict(y=a) assert b.x is a assert c.y is a assert b.clone().x is a assert c.clone(deep=True).y is a In this example, ``pg.Ref`` is used to create a symbolic reference to the object ``A(1)``, and the ``pg.Dict`` objects `b` and `c` can then reference `a` without creating additional copies. This mechanism not only mitigates the runtime cost but also facilitates seamless sharing of states among various symbolic objects. Another useful scenario arises when we wish to utilize regular Python list and dict objects. In this case, ``pg.Ref`` enables us to access the list/dict object as fields in the symbolic tree without requiring them to be transformed into ``pg.List`` and ``pg.Dict``. This allows for seamless integration of standard Python containers within the symbolic structure:: d = pg.Dict(x=pg.Ref({1: 2})) assert isinstance(d.x, dict) assert not isinstance(d.x, pg.Dict) e = pg.Dict(x=pg.Ref([0, 1, 2]])) assert isinstance(e.x, list) assert not isinstance(e.x, pg.List) Please be aware that ``pg.Ref`` objects are treated as leaf nodes in the symbolic tree, even when they reference other symbolic objects. As a result, the ``rebind()`` method cannot modify the value they are pointing to. For primitive types, ``pg.Ref()`` returns their values directly without creating a reference. For example, ``pg.Ref(1)`` and ``pg.Ref('abc')`` will simply return the values 1 and 'abc', respectively, without any additional referencing.
class Ref(Object, base.Inferential): """Symbolic reference. When adding a symbolic node to a symbolic tree, it undergoes a copy operation if it already has a parent, ensuring that all symbolic objects have a single parent. Additionally, list and dict objects are automatically converted to ``pg.List`` and ``pg.Dict``, respectively, to enable symbolic operability. However, these two conventions come with certain costs. The act of making copies incurs a runtime cost, and it also introduces challenges in sharing states across different symbolic objects. To address this issue, symbolic reference is introduced. This feature allows a symbolic node to refer to value objects without the need for transformation or copying, even when the symbolic node itself is copied. For example:: class A(pg.Object): x: int a = pg.Ref(A(1)) b = pg.Dict(x=a) c = pg.Dict(y=a) assert b.x is a assert c.y is a assert b.clone().x is a assert c.clone(deep=True).y is a In this example, ``pg.Ref`` is used to create a symbolic reference to the object ``A(1)``, and the ``pg.Dict`` objects `b` and `c` can then reference `a` without creating additional copies. This mechanism not only mitigates the runtime cost but also facilitates seamless sharing of states among various symbolic objects. Another useful scenario arises when we wish to utilize regular Python list and dict objects. In this case, ``pg.Ref`` enables us to access the list/dict object as fields in the symbolic tree without requiring them to be transformed into ``pg.List`` and ``pg.Dict``. This allows for seamless integration of standard Python containers within the symbolic structure:: d = pg.Dict(x=pg.Ref({1: 2})) assert isinstance(d.x, dict) assert not isinstance(d.x, pg.Dict) e = pg.Dict(x=pg.Ref([0, 1, 2]])) assert isinstance(e.x, list) assert not isinstance(e.x, pg.List) Please be aware that ``pg.Ref`` objects are treated as leaf nodes in the symbolic tree, even when they reference other symbolic objects. As a result, the ``rebind()`` method cannot modify the value they are pointing to. For primitive types, ``pg.Ref()`` returns their values directly without creating a reference. For example, ``pg.Ref(1)`` and ``pg.Ref('abc')`` will simply return the values 1 and 'abc', respectively, without any additional referencing. """ def __new__(cls, value: Any, **kwargs): del kwargs if isinstance(value, (bool, numbers.Number, str)): return value return object.__new__(cls) @object_utils.explicit_method_override def __init__(self, value: Any, **kwargs) -> None: super().__init__(**kwargs) if isinstance(value, Ref): value = value.value self._value = value def _on_parent_change( self, old_parent: Optional[base.Symbolic], new_parent: Optional[base.Symbolic]) -> None: if (new_parent is not None and isinstance(self._value, base.Symbolic) and self._value.sym_root is new_parent.sym_root): raise NotImplementedError('Self-referential object is not supported.') @property def value(self) -> Any: """Returns the referenced value.""" return self._value def infer(self, **kwargs) -> Any: """Returns the referenced value.""" return self._value def custom_apply( self, path: object_utils.KeyPath, value_spec: pg_typing.ValueSpec, allow_partial: bool = False, child_transform: Optional[Callable[ [object_utils.KeyPath, pg_typing.Field, Any], Any]] = None ) -> Tuple[bool, Any]: """Validate candidates during value_spec binding time.""" del child_transform # Check if the field being assigned could accept the referenced value. # We do not do any transformation, thus not passing the child transform. value_spec.apply( self._value, allow_partial=allow_partial) return (False, self) def _sym_clone(self, deep: bool, memo: Any = None) -> 'Ref': # Always create a new object. # TODO(daiyip): support deep clone with the update of reference when # the original value is updated. return Ref(self._value, allow_partial=self.allow_partial) def sym_eq(self, other: Any) -> bool: return isinstance(other, Ref) and self.value is other.value def sym_jsonify(self, **kwargs: Any) -> Any: raise TypeError(f'{self!r} cannot be serialized at the moment.') def __getstate__(self): raise TypeError(f'{self!r} cannot be pickled at the moment.') def format( self, compact: bool = False, verbose: bool = False, root_indent: int = 0, **kwargs: Any) -> str: value_str = object_utils.format( self._value, compact=compact, verbose=verbose, root_indent=root_indent + 1) if compact: return f'{self.__class__.__name__}({value_str})' else: return (f'{self.__class__.__name__}(\n' + ' ' * (root_indent + 1) + f'value = {value_str}\n' + ' ' * root_indent + ')')
(value: Any, **kwargs)
[ 0.0707620158791542, -0.0771048292517662, 0.003932049032300711, 0.01764095015823841, -0.02392430044710636, 0.011208941228687763, -0.01753193326294422, -0.01471730973571539, 0.025549646466970444, -0.050108227878808975, -0.024063048884272575, 0.012110809795558453, 0.001774005708284676, 0.040435437113046646, -0.045826829969882965, 0.018195945769548416, -0.0283642690628767, 0.03460797667503357, 0.01944468729197979, 0.026183927431702614, -0.014469543471932411, 0.003203616477549076, 0.020098790526390076, 0.002933551324531436, -0.026600174605846405, -0.014360526576638222, 0.020931284874677658, 0.019831202924251556, -0.04237792268395424, 0.01421186700463295, -0.009747120551764965, -0.051059648394584656, -0.019167190417647362, -0.03565850481390953, 0.06021708622574806, -0.10449785739183426, -0.037957776337862015, 0.09244650602340698, -0.019008619710803032, -0.011268404312431812, -0.000729671330191195, 0.031297821551561356, -0.06517241150140762, -0.01881040632724762, 0.02499464899301529, 0.062476713210344315, -0.009494398720562458, 0.03813616558909416, 0.006694641429930925, -0.06342813372612, 0.03762081265449524, -0.05601497367024422, -0.030346399173140526, 0.008121774531900883, -0.022853950038552284, 0.024419832974672318, 0.0089047159999609, 0.08019694685935974, 0.04336898773908615, -0.0010530061554163694, 0.03264566883444786, 0.011635098606348038, 0.011446796357631683, -0.06548955291509628, 0.004425103310495615, -0.011952239088714123, 0.013488389551639557, -0.0356188639998436, 0.012834287248551846, 0.0025544690433889627, -0.05530140548944473, -0.02820569835603237, 0.016758901998400688, -0.012497324496507645, 0.05450855568051338, -0.01654086820781231, 0.002742771292105317, -0.00834476388990879, 0.03314119949936867, -0.05970173329114914, -0.00037133952719159424, -0.07262521237134933, -0.0299499724060297, -0.0315951406955719, -0.04975144565105438, 0.05363641679286957, 0.04816574230790138, -0.010961174964904785, 0.03682796284556389, 0.012398218736052513, -0.020316824316978455, 0.0037957774475216866, -0.017234614118933678, 0.022635916247963905, -0.01812657155096531, -0.05133714899420738, 0.007923562079668045, -0.09054366499185562, 0.0029508948791772127, 0.019038351252675056, 0.02699659951031208, -0.003258124925196171, -0.09894789010286331, 0.03236817196011543, -0.010069216601550579, -0.0030029257759451866, -0.004286354407668114, -0.029513904824852943, 0.03823527321219444, -0.03512332960963249, -0.06937452405691147, 0.03242763504385948, -0.002809668192639947, 0.009425024501979351, -0.003119375789538026, -0.000046030305384192616, -0.030306756496429443, -0.042496852576732635, 0.024261262267827988, 0.008751100860536098, 0.03603510931134224, -0.014201955869793892, -0.019831202924251556, 0.039127230644226074, 0.016818366944789886, 0.04610432684421539, 0.03512332960963249, -0.013537942431867123, -0.022893592715263367, -0.025767680257558823, 0.018632015213370323, 0.018295053392648697, -0.058512456715106964, 0.07694625854492188, 0.034568335860967636, 0.060573868453502655, -0.028284983709454536, 0.03639189153909683, -0.03593600168824196, -0.004244234412908554, 0.01273518055677414, -0.03692706674337387, 0.03266549110412598, -0.032824061810970306, -0.021486280485987663, 0.010891799814999104, -0.010207965970039368, 0.03205103054642677, -0.0933186486363411, 0.004038588143885136, 0.00397416902706027, -0.004103007726371288, 0.04467719420790672, 0.05387427285313606, -0.052011072635650635, 0.04590611159801483, -0.04194185510277748, -0.04495469108223915, -0.01689765229821205, 0.02741284668445587, -0.011763936839997768, 0.011050370521843433, 0.013795619830489159, -0.018879780545830727, -0.005872057750821114, 0.019771739840507507, 0.047095391899347305, -0.12566699087619781, -0.02979140169918537, 0.03904794529080391, -0.005713487509638071, -0.04178328439593315, -0.028621945530176163, 0.0488000214099884, 0.021486280485987663, 0.06913667172193527, 0.007373520638793707, 0.02223948948085308, 0.005658979061990976, 0.021565565839409828, -0.006035583559423685, -0.0307428240776062, -0.04348791390657425, -0.00900877732783556, 0.02947426214814186, 0.018265321850776672, -0.02541089616715908, -0.00443749176338315, 0.11765918880701065, 0.030148185789585114, 0.00436068419367075, 0.030663538724184036, 0.06802667677402496, 0.018027465790510178, 0.013736155815422535, -0.03966240584850311, -0.027432668954133987, -0.016521047800779343, -0.05193178728222847, 0.09910646080970764, -0.032883524894714355, -0.05157500132918358, 0.004819051828235388, -0.013181159272789955, -0.0185428187251091, -0.0014865968842059374, 0.03314119949936867, -0.015173199586570263, 0.02150610275566578, -0.022417882457375526, -0.0489189513027668, -0.012011703103780746, -0.027611060068011284, 0.0065955352038145065, -0.0024070481304079294, -0.06663918495178223, -0.02023753896355629, -0.03359708935022354, 0.0114368861541152, 0.031832996755838394, 0.0822187215089798, 0.005282374564558268, -0.04717467725276947, -0.024538759142160416, -0.032982632517814636, -0.03137710690498352, -0.009132660925388336, -0.030148185789585114, 0.020574500784277916, -0.0711187943816185, 0.022358417510986328, -0.03006890043616295, -0.018711300566792488, -0.023904478177428246, 0.05212999880313873, -0.02160520851612091, 0.00956377387046814, 0.014796595089137554, -0.00344147183932364, 0.038175810128450394, -0.009459711611270905, 0.028146235272288322, 0.01648140512406826, -0.014489364810287952, -0.00717035261914134, 0.00836954079568386, 0.0474521741271019, 0.01922665350139141, -0.01099090650677681, -0.03314119949936867, 0.020277181640267372, -0.07020701467990875, -0.026164105162024498, 0.021902527660131454, 0.008027623407542706, -0.031357284635305405, -0.03571796789765358, -0.02002941630780697, 0.013755977153778076, 0.010277340188622475, -0.015014628879725933, -0.03242763504385948, 0.020733071491122246, 0.0772237554192543, -0.013250534422695637, -0.02461804449558258, -0.026084821671247482, -0.024974828585982323, -0.0292165856808424, -0.008275389671325684, 0.11607348918914795, -0.009063285775482655, -0.024340547621250153, 0.04967216029763222, -0.07286307215690613, -0.0252523273229599, -0.010971085168421268, 0.048522524535655975, 0.014073117636144161, -0.02699659951031208, -0.016441762447357178, -0.034786369651556015, 0.047095391899347305, -0.05284356698393822, -0.01605524681508541, 0.0036842827685177326, -0.036471176892519, 0.02118896134197712, -0.005644112825393677, -0.04009847342967987, 0.059344951063394547, 0.025490181520581245, 0.023052163422107697, 0.024736972525715828, 0.06584633141756058, 0.02959319017827511, -0.09220865368843079, 0.009588549844920635, 0.002037876518443227, 0.0146082928404212, 0.036154039204120636, -0.0023513007909059525, 0.03783884644508362, 0.0322096012532711, -0.008572708815336227, -0.06608419120311737, 0.05530140548944473, -0.008166372776031494, 0.002503677038475871, 0.0551428347826004, 0.0009848704794421792, 0.022675558924674988, -0.053121063858270645, 0.05764031782746315, 0.002940984209999442, -0.06227850168943405, -0.027908379212021828, -0.07436949014663696, 0.032308705151081085, 0.03417190909385681, -0.05827460065484047, -0.012517145834863186, -0.04210042580962181, -0.001433327211998403, -0.023626981303095818, -0.01088188961148262, -0.0067887925542891026, 0.03839384391903877, 0.00007359428855124861, 0.0017777221510186791, -0.023012520745396614, -0.018681569024920464, 0.05173357203602791, 0.03873080387711525, -0.0037214476615190506, -0.02969229593873024, 0.025926250964403152, -0.031614962965250015, -0.02667945995926857, -0.034885473549366, 0.04015794023871422, 0.04475647956132889, -0.005138670094311237, -0.035995468497276306, -0.001822320045903325, -0.015311948023736477, 0.015866944566369057, 0.0027700255159288645, 0.04348791390657425, 0.00469021312892437, -0.056292470544576645, 0.02334948256611824, -0.02778945118188858, -0.0036619838792830706, -0.02398376353085041, -0.022120563313364983, -0.012536967173218727, -0.025490181520581245, -0.03934526443481445, -0.06180278956890106, 0.05070286616683006, -0.00956377387046814, -0.0403759740293026, -0.012100898660719395, 0.02350805327296257, 0.006768971215933561, -0.03518279269337654, 0.009420068934559822, -0.025034291669726372, -0.013280265964567661, 0.008424049243330956, -0.04828466847538948, -0.022417882457375526, -0.005381480790674686, -0.0013230713084340096, 0.0013379371957853436, 0.0036694167647510767, 0.016768813133239746, -0.006357679609209299, -0.023626981303095818, 0.059503521770238876, 0.016600333154201508, -0.011744115501642227, 0.01632283441722393, -0.009871003217995167, -0.001694720471277833, 0.047253962606191635, 0.01949424110352993, 0.055658187717199326, 0.03086175210773945, -0.028503019362688065, -0.0166498851031065, 0.02229895442724228, -0.022635916247963905, -0.010435910895466805, -0.021525923162698746, 0.03633242845535278, -0.012873928993940353, -0.01827523112297058, -0.010455732233822346, 0.05387427285313606, 0.011317958123981953, -0.0037189701106399298, -0.0016810933593660593, 0.0035182794090360403, -0.006228841375559568, 0.08919581770896912, 0.03603510931134224, -0.012675716541707516, 0.025034291669726372, -0.005926566664129496, -0.0037932998966425657, -0.04769003018736839, -0.002529692370444536, 0.0008981522987596691, -0.07952302694320679, 0.05133714899420738, -0.04622325301170349, 0.011892775073647499, -0.0009154959698207676, 0.022219669073820114, 0.04396362602710724, -0.015480429865419865, 0.06834381818771362, 0.004080708604305983, -0.011417064815759659, 0.009712433442473412, 0.015153378248214722, 0.02239806018769741, 0.06350742280483246, 0.0411093607544899, -0.004472179338335991, 0.02747231163084507, -0.04554932937026024, -0.009652969427406788, -0.03474672511219978, 0.018077019602060318, -0.027829093858599663, 0.0026758743915706873, 0.04638182371854782, -0.015282216481864452, 0.035162974148988724, 0.022120563313364983, -0.01996004208922386, 0.008146551437675953, -0.0013069665292277932, 0.010287250392138958, 0.00035213763476349413, 0.006942407693713903, 0.009747120551764965, 0.037541527301073074, -0.03845330700278282, 0.05779888853430748, 0.01843380182981491, -0.1025950089097023, -0.032824061810970306, 0.004861171822994947, -0.012883840128779411, -0.012497324496507645, 0.0244000107049942, -0.017422916367650032, 0.006427054293453693, 0.02065378613770008, -0.010792694054543972, -0.06196136027574539, -0.0019028440583497286, 0.039226338267326355, 0.009023643098771572, -0.056451041251420975, -0.03544047102332115, 0.05569783225655556, 0.018413981422781944, -0.017313899472355843, -0.0030400906689465046, 0.002050264971330762, 0.0019585913978517056, -0.017284167930483818, -0.05744210630655289, -0.07952302694320679, -0.09641076624393463, -0.0010920293862000108, -0.05022715404629707, 0.03918669372797012, 0.0006856928230263293, 0.02471715211868286, 0.02499464899301529, 0.04467719420790672, 0.010148501954972744, 0.01349829975515604, 0.03597564622759819, -0.05260571092367172, 0.043289702385663986, -0.02705606445670128, 0.040118295699357986, -0.01633274555206299, 0.018265321850776672, -0.005698621738702059, -0.011635098606348038, 0.009618282318115234, -0.009206990711390972, -0.002410764805972576, -0.004273966420441866, -0.0403759740293026, 0.044875405728816986, 0.027611060068011284, -0.039166875183582306, -0.002037876518443227, -0.011099923402071, -0.008597485721111298, -0.0017157805850729346, 0.0007364848861470819, -0.04336898773908615, 0.1245570033788681, 0.024221619591116905, -0.016570599749684334, 0.016570599749684334, 0.011724294163286686, 0.014667756855487823, -0.043725769966840744, -0.08324942737817764, -0.0014358048792928457, -0.028503019362688065, -0.01127831544727087, -0.07464698702096939, 0.02455858141183853, -0.058195315301418304, -0.039444372057914734, -0.013478478416800499, 0.055975329130887985, -0.011664831079542637, 0.0340331606566906, -0.031515855342149734, -0.0032506920397281647, 0.0064964285120368, 0.00469021312892437, 0.05653032660484314, 0.04658003896474838, -0.01917709968984127, -0.03314119949936867, -0.003894883906468749, 0.006813569460064173, 0.057085324078798294, -0.027908379212021828, 0.04523218795657158, 0.02404322847723961, -0.01770041324198246, 0.022675558924674988, -0.030445504933595657, -0.0030723002273589373, -0.0161642637103796, 0.000043513929995242506, -0.03270513191819191, 0.054231055080890656, 0.04309149086475372, -0.027868736535310745, 0.008642083965241909, 0.039702050387859344, 0.0006646327092312276, 0.04479612037539482, -0.006243707146495581, 0.021248426288366318, 0.03918669372797012, 0.06834381818771362, -0.034568335860967636, 0.05002894252538681, 0.020356466993689537, 0.0236071590334177, 0.008602441288530827, 0.029176943004131317, 0.0096678351983428, 0.03155549615621567, 0.009434935636818409, 0.045192547142505646, 0.007373520638793707, 0.008077176287770271, 0.016402119770646095, -0.0569663941860199, 0.040871504694223404, 0.000594638753682375, -0.06366599351167679, 0.013716334477066994, 0.03597564622759819, -0.04527183249592781, -0.0337953045964241, 0.03444940596818924, 0.0244000107049942, -0.029077835381031036, 0.09427006542682648, -0.013250534422695637, -0.037739742547273636, -0.05082179233431816, -0.017878806218504906, -0.047888241708278656, -0.02451893873512745, -0.0011911358451470733, 0.021803421899676323, -0.051852501928806305, -0.019722186028957367, 0.0647759810090065, -0.010495373979210854, 0.00889976043254137, 0.01405329629778862, -0.0009291230817325413, -0.02794802188873291, -0.030207648873329163, -0.0012747568544000387, 0.04005883261561394, -0.026005536317825317, 0.029652653262019157, -0.013755977153778076, 0.025648752227425575, 0.018513087183237076, -0.013072142377495766, -0.03337905555963516, -0.05902780964970589, -0.018304962664842606, -0.0680663213133812, 0.053755346685647964, -0.07036558538675308, -0.004236801061779261, -0.009420068934559822, -0.017839163541793823, -0.02039610967040062, -0.0027402937412261963, -0.006248662248253822, 0.0018136482685804367, -0.008651994168758392, -0.022953055799007416, -0.014548828825354576, -0.036114394664764404, 0.03254656121134758, -0.014618203043937683, -0.010653944686055183, 0.027293920516967773, 0.04967216029763222, -0.04539075866341591, 0.030544612556695938, -0.006283349823206663, -0.01468757726252079, 0.11202994734048843, -0.07583626359701157, -0.034687262028455734, -0.05252642557024956, 0.04919644817709923, -0.07310092449188232, -0.002263343892991543, 0.006813569460064173, -0.08586584031581879, 0.015074092894792557, 0.04396362602710724, -0.015460608527064323, 0.0472143180668354, 0.023686444386839867, -0.03546029329299927, 0.04495469108223915, 0.03845330700278282, 0.019008619710803032, -0.026818208396434784, 0.00043947523226961493, 0.04769003018736839, -0.04840359464287758, -0.0033027229364961386, -0.01895906589925289, -0.00291868532076478, 0.015183109790086746, 0.04289327561855316, 0.028661588206887245, 0.005138670094311237, 0.03490529581904411, 0.10949281603097916, -0.04142650216817856, -0.03847312927246094, -0.02150610275566578, -0.006768971215933561, -0.020247450098395348, -0.05732317641377449, 0.02985086664557457, 0.06497419625520706, 0.0017541843699291348, -0.024102691560983658, 0.018869871273636818, 0.009940378367900848, -0.007031603716313839, 0.022417882457375526, -0.007522180676460266, 0.02176377922296524, 0.04495469108223915, 0.05383463203907013, 0.0073883868753910065, -0.05970173329114914, -0.007358654867857695, -0.01895906589925289, 0.02953372523188591, -0.008865073323249817, -0.08618298172950745, -0.007735259365290403, -0.030465327203273773, -0.0519714280962944, 0.029573367908596992, -0.021307889372110367, 0.061049580574035645, 0.025133399292826653, 0.03504404425621033, -0.011367511004209518, 0.05700603872537613, 0.03982097655534744, 0.00813168566673994, -0.030088722705841064, 0.009628192521631718, 0.011734205298125744, 0.005426079034805298, 0.0786905288696289, 0.004890903830528259, -0.05863138288259506, 0.03345834091305733, -0.037700098007917404, -0.002341390121728182, 0.03825509548187256, -0.06751132011413574, -0.022160204127430916, -0.0021233558654785156, -0.009340784512460232, 0.08824439346790314, -0.015202931128442287, 0.04658003896474838, 0.0551428347826004, 0.05002894252538681, 0.00043978492612950504, 0.00009848704939940944, -0.022695379331707954, 0.07559841126203537, 0.09316007792949677, -0.00930114183574915, -0.007576689124107361, -0.0031441524624824524, -0.05542033538222313, 0.022437702864408493, 0.000968765642028302, -0.006659954320639372, 0.05363641679286957, 0.007348744198679924, 0.031456392258405685, -0.022853950038552284, 0.008027623407542706, 0.007413163315504789, -0.0043408628553152084, -0.021625030785799026, 0.025272147729992867, 0.005089116748422384, -0.03407280147075653, 0.031456392258405685, 0.03546029329299927, 0.009474577382206917, -0.018879780545830727, 0.06957273930311203, -0.0061991093680262566, -0.022655736654996872, 0.0026932181790471077, -0.031238356605172157, -0.07496412843465805, -0.056609611958265305, -0.005728353746235371, -0.0043210419826209545, 0.013082052581012249, 0.005212999880313873, 0.02578750066459179, -0.051852501928806305, 0.020693428814411163 ]
41,260
pyglove.core.symbolic.ref
__getstate__
null
def __getstate__(self): raise TypeError(f'{self!r} cannot be pickled at the moment.')
(self)
[ 0.006883466150611639, -0.03125784546136856, -0.00993342325091362, 0.050652876496315, -0.007839737460017204, -0.019277075305581093, -0.004764504265040159, 0.011011861264705658, 0.011652183718979359, -0.07832154631614685, -0.01444938126951456, 0.051630210131406784, -0.04118284210562706, 0.023843584582209587, -0.041452452540397644, 0.04536179080605507, -0.05698869749903679, 0.03895856440067291, -0.019715189933776855, 0.0021358123049139977, -0.04937222972512245, 0.011441551148891449, 0.03814973682165146, 0.04307010769844055, 0.02628692053258419, 0.03124099411070347, 0.02423114888370037, -0.008412657305598259, 0.053753383457660675, 0.009326801635324955, -0.05233793333172798, 0.0015112872933968902, -0.028191037476062775, 0.015654198825359344, 0.021770963445305824, -0.01187124103307724, -0.03349897265434265, 0.0420253723859787, -0.01853564940392971, -0.044485557824373245, 0.004134713672101498, -0.048293791711330414, -0.0037429374642670155, -0.01769311912357807, 0.016083888709545135, -0.032016120851039886, 0.0007387930527329445, 0.013160310685634613, -0.017760522663593292, -0.04101433604955673, 0.02010275423526764, 0.018198637291789055, -0.011180366389453411, 0.040980637073516846, -0.010312560945749283, 0.05961738899350166, 0.051090989261865616, 0.019243374466896057, -0.022630343213677406, 0.03838564455509186, -0.052910853177309036, 0.03351582586765289, 0.029539085924625397, -0.034981824457645416, 0.021164340898394585, -0.056247271597385406, -0.02131599746644497, -0.013674254529178143, -0.038857460021972656, 0.057932328432798386, 0.03814973682165146, 0.005628097336739302, -0.0026708184741437435, 0.05473071709275246, 0.026438577100634575, -0.017726821824908257, -0.03193186968564987, 0.004012546967715025, -0.009748066775500774, 0.0035344113130122423, -0.004444343037903309, 0.002765603130683303, -0.06356042623519897, 0.030718626454472542, -0.06494217365980148, -0.028241589665412903, 0.03616136685013771, -0.013514173217117786, -0.08600541204214096, -0.013202437199652195, -0.027752922847867012, 0.05331526696681976, -0.05149540305137634, 0.03700389713048935, 0.0035070290323346853, -0.039767391979694366, 0.003951463382691145, -0.04724905639886856, -0.02525903470814228, -0.036498378962278366, -0.01846824772655964, -0.01993424817919731, -0.033886536955833435, -0.04286790266633034, 0.03228573128581047, -0.007148862816393375, 0.038857460021972656, -0.028966164216399193, -0.04488997161388397, -0.051630210131406784, 0.01713705062866211, 0.031089339405298233, -0.07239013910293579, 0.04253089055418968, -0.00854324921965599, -0.0095121581107378, 0.004970923997461796, -0.012115574441850185, 0.00005140746361576021, 0.012469436973333359, 0.03226888179779053, 0.03344842046499252, -0.06780677288770676, 0.03393708914518356, 0.02222592942416668, 0.07292935252189636, 0.01026200968772173, -0.02610156498849392, 0.024028941988945007, -0.023119010031223297, -0.01175328716635704, 0.032319433987140656, -0.04839489609003067, 0.052607543766498566, -0.028679704293608665, 0.07218793034553528, 0.01835029385983944, -0.004351664800196886, -0.027955129742622375, -0.01198919489979744, 0.028932463377714157, -0.012654793448746204, 0.08539879322052002, -0.003951463382691145, 0.06339192390441895, 0.032504789531230927, 0.005008838139474392, 0.03912707045674324, 0.0006998261087574065, 0.007190989330410957, 0.08270269632339478, -0.004735015798360109, -0.017844775691628456, 0.015300336293876171, -0.04633912444114685, 0.023119010031223297, 0.006516966037452221, -0.003052063286304474, -0.03282494843006134, -0.05038326606154442, -0.05688759312033653, -0.0061167641542851925, 0.012452586553990841, -0.08290490508079529, 0.005480654537677765, 0.044620364904403687, 0.04020550847053528, -0.046002112329006195, -0.013413069769740105, 0.015974359586834908, -0.07427740097045898, -0.00714465044438839, -0.05729200690984726, 0.027483312413096428, -0.006436925381422043, 0.03653208166360855, -0.04664243385195732, 0.050484370440244675, 0.0009715418564155698, -0.004452768713235855, 0.01301708072423935, -0.043575625866651535, -0.0905887708067894, 0.010068227536976337, 0.06076322868466377, 0.04718165472149849, -0.0016713679069653153, -0.021349698305130005, 0.04701314866542816, 0.041890569031238556, -0.010986585170030594, -0.005518568214029074, 0.002483355812728405, -0.019260223954916, 0.0079366285353899, -0.0061715287156403065, -0.041216544806957245, -0.01829974167048931, -0.013741656206548214, 0.09065617620944977, 0.021905766800045967, -0.00714465044438839, -0.020507168024778366, 0.00558597082272172, -0.032740697264671326, -0.01835029385983944, 0.016218693926930428, -0.024079494178295135, 0.06079693138599396, -0.01541829016059637, -0.02888191118836403, -0.05483182147145271, -0.009638537652790546, 0.0896451398730278, 0.05978589504957199, -0.09186942130327225, -0.0005797656485810876, -0.043339718133211136, 0.04704684764146805, 0.033650629222393036, 0.11566245555877686, 0.045092180371284485, -0.02350657433271408, -0.028814509510993958, -0.015334037132561207, -0.006120976991951466, -0.024989426136016846, -0.03865525498986244, -0.05189981684088707, -0.022748297080397606, 0.04192426800727844, -0.029336877167224884, 0.0036313021555542946, -0.00693401787430048, 0.04020550847053528, 0.06042621657252312, 0.011786988005042076, -0.04101433604955673, -0.03713870048522949, 0.036734286695718765, 0.017575165256857872, -0.012941253371536732, 0.04876560717821121, -0.020372364670038223, 0.045766204595565796, -0.025360139086842537, 0.047821976244449615, 0.09395889192819595, -0.05119209364056587, 0.027415910735726357, 0.04354192689061165, 0.0032521639950573444, -0.07333377003669739, -0.022124825045466423, 0.02525903470814228, -0.09793563187122345, 0.0033153537660837173, -0.04286790266633034, 0.026674484834074974, 0.02084418013691902, -0.02677558735013008, -0.03858785331249237, 0.024248000234365463, 0.03761051967740059, -0.027584416791796684, -0.0037302994169294834, -0.02047346718609333, 0.03137579932808876, -0.026505978778004646, 0.04795677959918976, 0.06602061539888382, -0.046069514006376266, -0.03247108682990074, 0.0511246919631958, -0.05500032752752304, -0.07057027518749237, -0.008197812363505363, 0.030449016019701958, 0.003755575278773904, -0.005602821242064238, 0.04101433604955673, 0.036734286695718765, 0.03211722522974014, -0.025697151198983192, -0.07899557054042816, -0.02192261815071106, 0.01310975942760706, -0.03464481234550476, 0.0003551788395270705, -0.015603646636009216, 0.036430977284908295, 0.016218693926930428, 0.01713705062866211, -0.018367143347859383, 0.0604599192738533, -0.03895856440067291, -0.06002180278301239, -0.0033848623279482126, 0.0634930282831192, 0.003591282060369849, 0.008530611172318459, -0.03354952484369278, -0.08398333936929703, 0.03065122477710247, 0.0041241818107664585, -0.06494217365980148, 0.01931077614426613, 0.04876560717821121, -0.056954994797706604, 0.04822639003396034, 0.04283419996500015, 0.048967815935611725, 0.0079366285353899, 0.021029537543654442, 0.04724905639886856, -0.018485097214579582, 0.0033996065612882376, 0.011424700729548931, -0.02985924668610096, 0.0975986197590828, -0.07670389115810394, -0.011433125473558903, 0.022883102297782898, 0.015519393607974052, -0.007127799559384584, 0.0022053210996091366, -0.02827529050409794, -0.013370943255722523, 0.000933101458940655, 0.03299345448613167, -0.08000660687685013, -0.016067037358880043, 0.040306612849235535, -0.01396071445196867, -0.0189063623547554, 0.027634968981146812, 0.019007466733455658, -0.012949679046869278, 0.023523423820734024, -0.04869820550084114, 0.05220312997698784, -0.02348972298204899, -0.006040936801582575, 0.009065617807209492, 0.014120794832706451, 0.054595913738012314, 0.014845370315015316, 0.04650763049721718, 0.08364632725715637, -0.025528645142912865, -0.053079359233379364, -0.014550484716892242, -0.03435835242271423, 0.04890041425824165, -0.004886671435087919, -0.035150330513715744, -0.012191401794552803, 0.0315106026828289, -0.0016639957902953029, -0.0006545401411131024, 0.02846064791083336, -0.06854820251464844, -0.02040606550872326, 0.014516783878207207, -0.021214893087744713, -0.004343239590525627, -0.04428335279226303, -0.035285137593746185, -0.004549659322947264, -0.05479811877012253, -0.04232868179678917, -0.044182248413562775, -0.1041366457939148, 0.002554970793426037, -0.013337242417037487, 0.024012090638279915, -0.019546685740351677, 0.020035352557897568, -0.020641973242163658, 0.0025655024219304323, 0.047215353697538376, -0.04826009273529053, -0.0024243786465376616, 0.020641973242163658, -0.013151885941624641, 0.029505383223295212, 0.014879071153700352, -0.0011184579925611615, 0.0674697607755661, 0.04330601915717125, -0.05934777855873108, 0.004042035434395075, -0.030752327293157578, -0.014634737744927406, -0.013472046703100204, 0.016976969316601753, 0.058842260390520096, -0.023001056164503098, 0.009419480338692665, -0.00022814120166003704, 0.021113790571689606, 0.047754574567079544, -0.011525804176926613, 0.019833145663142204, -0.00531636131927371, 0.05880856141448021, 0.018249189481139183, -0.008261001668870449, -0.015940658748149872, -0.08829709142446518, 0.001504968386143446, -0.005628097336739302, -0.02834269218146801, -0.08627502620220184, 0.00031515868613496423, -0.019715189933776855, 0.00755327707156539, -0.03307770937681198, 0.019883695989847183, 0.015435140579938889, 0.006955081131309271, 0.05867375433444977, 0.008206237107515335, 0.00038782687624916434, -0.028393244370818138, 0.03868895396590233, -0.026202667504549026, 0.0417894646525383, 0.02022070810198784, 0.01684216596186161, 0.02348972298204899, 0.02180466428399086, 0.0009325748542323709, -0.013337242417037487, 0.028140485286712646, -0.05331526696681976, -0.05432630330324173, -0.023759333416819572, -0.017827924340963364, 0.0840507447719574, 0.017111774533987045, 0.043508224189281464, 0.011829114519059658, 0.007330006919801235, 0.08715125173330307, -0.061201345175504684, 0.01466001383960247, 0.05570805072784424, 0.013210862874984741, -0.009773342870175838, 0.0013828015653416514, 0.0014270343817770481, 0.01630294695496559, 0.0022221715189516544, -0.027180003002285957, -0.01858620159327984, -0.04293530434370041, -0.025107380002737045, 0.019849995151162148, -0.039632588624954224, -0.01677476242184639, 0.01671578548848629, -0.04040771722793579, 0.02011960558593273, 0.03189816698431969, -0.016614682972431183, -0.015831129625439644, -0.004566510207951069, -0.019732041284441948, 0.01811438426375389, 0.034493159502744675, -0.0017777372850105166, -0.00014810089487582445, -0.0602240115404129, -0.05469701811671257, 0.023523423820734024, 0.0018072258681058884, 0.011424700729548931, 0.011441551148891449, -0.06928962469100952, 0.019411880522966385, -0.018704155460000038, 0.03535253927111626, 0.018805259838700294, -0.015586796216666698, -0.03393708914518356, 0.022664044052362442, 0.04313751310110092, 0.0749514251947403, 0.024787219241261482, -0.07407519221305847, 0.04731645807623863, -0.020490318536758423, 0.050720278173685074, 0.02628692053258419, 0.0024306976702064276, -0.060662124305963516, 0.019243374466896057, 0.03427410125732422, 0.005518568214029074, 0.007216265425086021, -0.006714960094541311, 0.022124825045466423, 0.01665680855512619, 0.02187206596136093, -0.06703165173530579, 0.01510655414313078, 0.025039976462721825, 0.04391263797879219, -0.02773607149720192, 0.01575530134141445, 0.025663448497653008, 0.027348509058356285, 0.011416275054216385, 0.018266040831804276, -0.03912707045674324, -0.015409864485263824, -0.012191401794552803, -0.059145573526620865, 0.032016120851039886, 0.04640652611851692, 0.02392783761024475, 0.022748297080397606, -0.06298750638961792, -0.02937057986855507, -0.025157932192087173, -0.0038335092831403017, -0.03538623824715614, 0.007675443775951862, 0.02974129281938076, -0.005960896145552397, -0.053214166313409805, 0.010716975666582584, 0.01123091857880354, -0.00752378860488534, -0.006955081131309271, -0.043946340680122375, 0.054966624826192856, -0.03579065576195717, -0.048125285655260086, -0.0001281566364923492, -0.02628692053258419, 0.012410460039973259, 0.014887496829032898, -0.004520170856267214, -0.01504757720977068, -0.04320491477847099, 0.03761051967740059, -0.07191832363605499, -0.022209078073501587, 0.0017271855613216758, -0.05631467327475548, 0.027820324525237083, -0.04320491477847099, 0.021181192249059677, -0.0389922671020031, 0.04610321670770645, 0.014036541804671288, 0.020641973242163658, 0.024787219241261482, 0.0178616251796484, 0.05301195755600929, 0.021063238382339478, -0.014786393381655216, -0.019007466733455658, -0.006546454504132271, 0.014887496829032898, 0.00752378860488534, -0.002548651769757271, -0.024382803589105606, 0.047754574567079544, 0.006567517761141062, 0.01489592157304287, 0.010927608236670494, 0.06204387545585632, 0.04404744505882263, -0.01471899077296257, 0.04640652611851692, 0.007363708224147558, -0.053685981780290604, 0.03223517909646034, -0.013438345864415169, -0.012444160878658295, -0.04644022881984711, 0.019175972789525986, -0.019597236067056656, -0.08277010172605515, -0.012385183945298195, -0.00390723068267107, 0.009352077730000019, -0.02889876253902912, 0.0025086316745728254, 0.03713870048522949, -0.03009515441954136, 0.03149375319480896, 0.03354952484369278, 0.06130244955420494, -0.019597236067056656, 0.004886671435087919, -0.00929310079663992, 0.00854324921965599, 0.014280875213444233, 0.035217732191085815, -0.028662854805588722, 0.01720445230603218, -0.01993424817919731, -0.02822473831474781, 0.06679574400186539, -0.005173131357878447, 0.008328404277563095, 0.0008193599642254412, -0.013707955367863178, 0.03081972897052765, -0.05621356889605522, 0.0014533634530380368, -0.02096213400363922, -0.039632588624954224, 0.0259162075817585, -0.017406659200787544, 0.03193186968564987, 0.004823481664061546, 0.0023485510610044003, 0.005371125880628824, 0.008913962170481682, -0.007220477797091007, -0.03371803089976311, -0.0036039201077073812, -0.01498860027641058, 0.021214893087744713, -0.034189846366643906, -0.009015065617859364, 0.002215852728113532, 0.07063767313957214, -0.078456349670887, 0.00349649740383029, 0.016159716993570328, 0.05601136386394501, 0.03535253927111626, -0.005476441700011492, 0.0586063526570797, -0.02864600345492363, -0.03568955138325691, -0.03535253927111626, -0.02047346718609333, -0.0602240115404129, -0.04256459325551987, 0.005573332775384188, -0.04330601915717125, 0.047383859753608704, -0.016926418989896774, -0.02156875655055046, 0.0273148063570261, -0.015409864485263824, 0.0038903800304979086, -0.009503733366727829, -0.02187206596136093, 0.05031586438417435, 0.03317881375551224, -0.0005247379303909838, -0.01181226409971714, -0.08243308961391449, 0.024938873946666718, -0.06837969273328781, 0.028477497398853302, 0.04826009273529053, 0.021164340898394585, -0.06757086515426636, 0.044249650090932846, 0.02234388329088688, -0.011736435815691948, -0.0003088397206738591, -0.004836119245737791, 0.0022263843566179276, -0.01937817968428135, -0.043508224189281464, -0.026000460609793663, 0.005076240282505751, -0.013682679273188114, -0.008804433047771454, 0.013252989389002323, 0.004258986562490463, 0.05887596309185028, -0.08330932259559631, 0.03397079184651375, 0.0056997123174369335, 0.040374014526605606, 0.0031047211959958076, 0.03343157097697258, 0.0357232503592968, -0.0700310543179512, 0.029522234573960304, 0.0061631035059690475, -0.016193417832255363, 0.04263199493288994, -0.029117820784449577, -0.019917398691177368, -0.0382845401763916, -0.07151390612125397, 0.029471682384610176, -0.02488832175731659, 0.01272219605743885, 0.009748066775500774, 0.02229333110153675, 0.004478044342249632, 0.03147690370678902, 0.011736435815691948, -0.05722460523247719, 0.03986849635839462, 0.0051941946148872375, -0.058303043246269226, 0.021096939221024513, 0.026135265827178955, 0.009790193289518356, -0.018636753782629967, -0.008366318419575691, -0.05277604982256889, 0.03216777741909027, 0.03599286079406738, -0.02471981570124626, 0.02997720055282116, -0.07980439811944962, -0.0030625949148088694, 0.035959161818027496, -0.013842759653925896, 0.04954073578119278, 0.03161170706152916, -0.0046634008176624775, -0.04010440409183502, -0.017659418284893036, 0.07899557054042816, 0.08074802905321121, 0.0038819548208266497, -0.06915482133626938, 0.02077677845954895, 0.046305421739816666, -0.05385448783636093, 0.02059142105281353, 0.07137910276651382, 0.018754707649350166, 0.08236568421125412, 0.022091124206781387, -0.01310975942760706, 0.025781404227018356, 0.050551772117614746, -0.005788177717477083, 0.000975227914750576, 0.002774028340354562, 0.0329260528087616, -0.027095749974250793, -0.032319433987140656, 0.01858620159327984, 0.017524614930152893, 0.002896195277571678, -0.00569549947977066, 0.048496000468730927, -0.03196556866168976, -0.02932002767920494, -0.012300930917263031, -0.015030726790428162, -0.026842990890145302, -0.08930812776088715, -0.014112369157373905, -0.0033785433042794466, 0.038520447909832, -0.0260341614484787, 0.02143395133316517, -0.03149375319480896, -0.0021653007715940475 ]
41,262
pyglove.core.symbolic.ref
__init__
null
@object_utils.explicit_method_override def __init__(self, value: Any, **kwargs) -> None: super().__init__(**kwargs) if isinstance(value, Ref): value = value.value self._value = value
(self, value: Any, **kwargs) -> NoneType
[ 0.03269333392381668, -0.057564444839954376, 0.003435555612668395, 0.026631111279129982, -0.04586666822433472, 0.029688889160752296, 0.005377777852118015, 0.025475556030869484, 0.02769777737557888, -0.03514666482806206, 0.0009505555499345064, 0.05969777703285217, -0.014720000326633453, 0.03425777703523636, -0.026293333619832993, 0.04899555444717407, -0.011315555311739445, 0.07836444675922394, 0.03950222209095955, 0.025280000641942024, -0.01706666685640812, 0.0163644440472126, -0.035786665976047516, 0.013155555352568626, -0.0007183333509601653, 0.029528889805078506, -0.018088888376951218, 0.019128888845443726, -0.005888889078050852, 0.023697778582572937, -0.001361111062578857, -0.023484444245696068, -0.004937777761369944, 0.03409777954220772, 0.06339555233716965, -0.0873955562710762, -0.05013333261013031, 0.09820444136857986, -0.10126221925020218, -0.01356444414705038, -0.006297777872532606, 0.012666666880249977, -0.041422221809625626, -0.026346666738390923, 0.019857777282595634, 0.01351999957114458, -0.018142221495509148, -0.0017011110903695226, -0.0070088887587189674, -0.02696888893842697, 0.041351109743118286, -0.007337777875363827, 0.0038999998942017555, 0.02248888835310936, -0.024586666375398636, 0.08412444591522217, 0.008853333070874214, 0.08796444535255432, 0.005128888878971338, 0.07487999647855759, -0.029279999434947968, 0.007817777805030346, 0.01393777783960104, -0.08753778040409088, -0.009484444744884968, -0.05187555402517319, -0.01751111075282097, -0.005542222410440445, 0.024657778441905975, 0.04277333244681358, 0.018631111830472946, 0.018951110541820526, 0.00411333329975605, 0.029617777094244957, 0.06307555735111237, -0.004840000066906214, -0.03907555714249611, 0.03262222185730934, 0.036088887602090836, -0.03669333457946777, 0.02209777757525444, -0.004577777814120054, 0.006875555496662855, -0.01081777736544609, -0.035253334790468216, -0.025635555386543274, -0.03818666562438011, -0.018364444375038147, 0.05425777658820152, 0.06396444141864777, -0.03315555676817894, 0.02789333276450634, -0.05507555603981018, -0.0064355554059147835, -0.006293333135545254, -0.0175199992954731, 0.04462222382426262, -0.04981333389878273, -0.00837777741253376, 0.025475556030869484, 0.042062222957611084, -0.009128889068961143, -0.018577776849269867, -0.009080000221729279, 0.014675555750727654, -0.03200000151991844, 0.03336888924241066, -0.03376000002026558, 0.05031111091375351, 0.010542222298681736, -0.003693333361297846, -0.01600888930261135, -0.04465777799487114, 0.05375999957323074, -0.04949333518743515, 0.0023333332501351833, -0.018328888341784477, -0.05749333277344704, 0.037048887461423874, 0.007991110906004906, 0.04035555571317673, 0.0142666669562459, -0.04014222323894501, 0.03818666562438011, 0.030435554683208466, 0.028888888657093048, -0.00400444446131587, -0.00199666665866971, 0.004508888814598322, -0.0033288889098912477, 0.024000000208616257, -0.003093333449214697, -0.05045333504676819, 0.008853333070874214, 0.02855111099779606, 0.02190222218632698, 0.006639999803155661, 0.052835553884506226, -0.029546666890382767, -0.024000000208616257, 0.0036155555862933397, -0.01719111204147339, 0.07672888785600662, -0.05059555545449257, 0.011928888969123363, 0.06623999774456024, 0.0075111109763383865, 0.059342220425605774, -0.06435555219650269, 0.006911111064255238, 0.011173333041369915, 0.00797333288937807, 0.01427555549889803, 0.04661333188414574, -0.019786667078733444, -0.030986666679382324, -0.01123555563390255, -0.04846222326159477, 0.012151110917329788, 0.025866666808724403, 0.025546666234731674, 0.01351999957114458, 0.03854222223162651, -0.0686577782034874, -0.002595555502921343, 0.0686577782034874, 0.023875555023550987, -0.0754488855600357, -0.0030955555848777294, 0.01746666617691517, -0.020871110260486603, -0.04312888905405998, 0.0033711111173033714, 0.046471111476421356, 0.04892444610595703, 0.06979555636644363, -0.02768000029027462, 0.026008889079093933, 0.001621111063286662, 0.04554666578769684, -0.025315554812550545, -0.010035555809736252, -0.02209777757525444, -0.01648000068962574, 0.06012444570660591, 0.01711999997496605, -0.005817777942866087, -0.006920000072568655, 0.07235555350780487, 0.02682666666805744, 0.03719111159443855, 0.052693333476781845, 0.028817778453230858, -0.02145777828991413, 0.01730666682124138, -0.030204445123672485, -0.007048889063298702, -0.05130666494369507, -0.06382222473621368, 0.09109333157539368, -0.005431110970675945, -0.02195555530488491, -0.006995555479079485, -0.0005213888944126666, -0.01412444468587637, -0.002397777745500207, 0.07644444704055786, 0.009057777933776379, -0.019822223111987114, -0.03233777731657028, -0.052551109343767166, -0.015377777628600597, -0.005679999943822622, 0.0167644452303648, 0.0017677777213975787, -0.08071111142635345, -0.031199999153614044, -0.04028444364666939, 0.02188444510102272, 0.07207111269235611, 0.11548444628715515, 0.010577777400612831, -0.0317511111497879, -0.03807999938726425, 0.015262221917510033, 0.009840000420808792, 0.00042249998659826815, -0.10979555547237396, -0.007906666956841946, -0.03470222279429436, -0.02174222283065319, -0.020444445312023163, -0.02801777794957161, 0.02769777737557888, 0.012799999676644802, -0.002784444484859705, 0.029208889231085777, -0.013919999822974205, -0.09251555800437927, 0.00040972221177071333, 0.013368888758122921, 0.019022222608327866, 0.0321066677570343, 0.001653333310969174, -0.012951111420989037, 0.019093332812190056, 0.0030555555131286383, 0.07249777764081955, -0.03376000002026558, -0.017902221530675888, 0.03985777869820595, -0.04910222068428993, -0.04967110976576805, -0.01080888882279396, -0.004355555400252342, -0.058382220566272736, 0.004622222390025854, -0.02259555645287037, 0.015404444187879562, -0.00035166667657904327, -0.028675556182861328, -0.053119998425245285, 0.03342222049832344, 0.07665777951478958, -0.03239111229777336, -0.02860444411635399, -0.026435555890202522, -0.0007149999728426337, -0.0440533347427845, 0.019235555082559586, 0.11768888682126999, -0.06908444315195084, 0.01733333244919777, 0.03384888917207718, -0.04462222382426262, -0.04284444451332092, -0.017991110682487488, 0.024124443531036377, -0.002337777754291892, 0.020391110330820084, 0.06005333364009857, -0.029742222279310226, 0.024568889290094376, -0.02261333353817463, -0.028266666457057, -0.005182221997529268, 0.03303110972046852, 0.01775999926030636, -0.03985777869820595, -0.04327110946178436, 0.036942221224308014, 0.01695111021399498, 0.017591111361980438, 0.0544000007212162, 0.04302222281694412, -0.01725333370268345, -0.03818666562438011, 0.02136888913810253, -0.001234444440342486, 0.0014900000533089042, 0.02775111049413681, -0.01592888869345188, -0.029386667534708977, 0.03726222366094589, 0.012079999782145023, -0.06119111180305481, 0.024462223052978516, 0.004084444604814053, -0.025937777012586594, 0.03473777696490288, 0.03319111093878746, 0.05909333378076553, -0.07235555350780487, 0.02147555537521839, 0.02145777828991413, -0.04028444364666939, 0.010106666944921017, -0.066880002617836, 0.014506666921079159, 0.04839111119508743, -0.06239999830722809, -0.052657779306173325, -0.057635556906461716, -0.01652444526553154, -0.036515556275844574, 0.00850222259759903, -0.012995555996894836, 0.03840000182390213, -0.01685333251953125, 0.010320000350475311, -0.03875555470585823, -0.002988888882100582, 0.041919998824596405, -0.014106666669249535, 0.005537777673453093, -0.06204444542527199, -0.018071111291646957, -0.011253333650529385, -0.014746666885912418, -0.019964443519711494, -0.014346666634082794, 0.036622222512960434, -0.03907555714249611, -0.009982221759855747, 0.02127999998629093, 0.02819555625319481, 0.020693333819508553, 0.008813333697617054, 0.07630222290754318, -0.04842666536569595, -0.04380444437265396, -0.024017777293920517, -0.041884444653987885, 0.0015744444681331515, 0.020586667582392693, -0.023751111701130867, -0.012115555815398693, -0.011742222122848034, -0.01384000014513731, -0.06200888752937317, 0.04864000156521797, -0.018471110612154007, -0.024906666949391365, -0.007906666956841946, 0.03146666660904884, 0.03411555662751198, -0.044764444231987, -0.015208888798952103, -0.025760000571608543, -0.01601777784526348, -0.012524444609880447, -0.05059555545449257, -0.00878222193568945, 0.00029638889827765524, 0.01408000010997057, -0.020444445312023163, -0.0344177782535553, 0.02160000056028366, 0.002408888889476657, 0.02691555581986904, 0.03943111002445221, 0.014568888582289219, 0.0031844445038586855, -0.00863111112266779, -0.00849777739495039, -0.011715555563569069, 0.010586666874587536, 0.01099555566906929, 0.02792888879776001, 0.012933333404362202, -0.01661333255469799, -0.019200000911951065, -0.019857777282595634, -0.053795553743839264, 0.02796444483101368, -0.023484444245696068, 0.018071111291646957, -0.0034822223242372274, 0.018542222678661346, 0.01612444408237934, 0.03985777869820595, -0.0010361111490055919, 0.0031355556566268206, 0.03511111065745354, -0.0059111109003424644, 0.03180444613099098, 0.05006222054362297, -0.0016644444549456239, 0.008902221918106079, -0.012951111420989037, -0.026364443823695183, -0.02712888829410076, -0.03244444355368614, -0.03768888860940933, 0.036177776753902435, -0.05610666796565056, 0.06431999802589417, -0.05678222328424454, 0.0006699999794363976, -0.03953777626156807, -0.010097777470946312, 0.04842666536569595, -0.0335288904607296, 0.06887111067771912, 0.03800888732075691, 0.012799999676644802, 0.03800888732075691, 0.008417777717113495, 0.05632000043988228, 0.01587555557489395, 0.018862221390008926, 0.018808888271450996, -0.04348444566130638, -0.036622222512960434, 0.0030577778816223145, 0.012106666341423988, -0.012791111133992672, -0.029191110283136368, -0.0066533335484564304, 0.02871111035346985, -0.03445333242416382, 0.035804443061351776, 0.046826668083667755, 0.03864888846874237, 0.018524443730711937, -0.03283555433154106, -0.001548888860270381, 0.019039999693632126, -0.0025599999353289604, -0.06296888738870621, -0.0002131944493157789, -0.005124444607645273, 0.06119111180305481, 0.0013800000306218863, -0.07310222089290619, -0.07175111025571823, -0.06872888654470444, -0.02117333374917507, 0.047502223402261734, -0.04074666649103165, -0.00878222193568945, 0.0082266665995121, -0.05770666524767876, -0.088106669485569, -0.041422221809625626, 0.03475555405020714, 0.0345066674053669, -0.0029533333145081997, -0.069191113114357, -0.010266666300594807, 0.06773333251476288, -0.0284444447606802, 0.007280000019818544, -0.02824888937175274, -0.0019033333519473672, -0.01336000021547079, -0.03212444484233856, -0.052444443106651306, -0.04800000041723251, -0.042097777128219604, -0.03191111236810684, -0.01104888878762722, 0.04419555515050888, 0.026897776871919632, -0.0020633332896977663, 0.017839999869465828, -0.002859999891370535, 0.005408888682723045, 0.046257779002189636, 0.052515555173158646, -0.051982223987579346, 0.08312889188528061, -0.03489777818322182, 0.031306665390729904, 0.00003184027809766121, 0.000012178819815744646, 0.014293333515524864, 0.006866666488349438, 0.04590222239494324, 0.0013755555264651775, 0.00014652777463197708, -0.018844444304704666, -0.01384888868778944, 0.014159999787807465, 0.020871110260486603, -0.07495111227035522, -0.012417777441442013, 0.02190222218632698, -0.00420222245156765, -0.0034688888117671013, 0.02158222161233425, 0.01723555475473404, 0.08256000280380249, 0.0070088887587189674, -0.00359333329834044, -0.017591111361980438, -0.03484444320201874, -0.009022221900522709, -0.046542223542928696, -0.03711999952793121, -0.003566666739061475, 0.014337778091430664, 0.020231110975146294, -0.08583111315965652, 0.020035555586218834, -0.06485333293676376, -0.03523555397987366, -0.005773333366960287, 0.057742223143577576, 0.005799999926239252, 0.006395555566996336, -0.07452444732189178, -0.013493333011865616, 0.03455999866127968, 0.02757333405315876, 0.0452977791428566, 0.030168889090418816, -0.01661333255469799, -0.03857777640223503, -0.010933333076536655, 0.03409777954220772, 0.04078222066164017, -0.003815555479377508, 0.010177778080105782, -0.004142221994698048, -0.03511111065745354, -0.03836444392800331, 0.03198222070932388, -0.0019166666315868497, -0.004404444247484207, 0.015519999898970127, -0.04323555529117584, 0.011537778191268444, 0.05624888837337494, -0.07623111456632614, -0.005226666573435068, 0.00390666676685214, -0.031697776168584824, 0.047111112624406815, 0.007631110958755016, 0.04028444364666939, 0.03447110950946808, 0.04373333230614662, 0.01611555553972721, -0.024622222408652306, 0.031039999797940254, 0.01428444404155016, 0.002802222268655896, -0.0017399999778717756, -0.010053332895040512, 0.026151111349463463, -0.0458311103284359, 0.005822222214192152, 0.011786666698753834, -0.0007149999728426337, 0.04967110976576805, -0.029635556042194366, 0.025368889793753624, -0.002653333358466625, -0.05991110950708389, 0.006217777729034424, 0.010444444604218006, -0.018382221460342407, -0.08895999938249588, 0.03498666733503342, -0.024728888645768166, -0.018328888341784477, 0.03658666834235191, -0.013635555282235146, -0.0747377797961235, -0.06183111295104027, -0.026791110634803772, -0.07295999675989151, -0.036302223801612854, -0.02160000056028366, 0.021191110834479332, -0.048035554587841034, -0.06247111037373543, 0.03489777818322182, -0.012008888646960258, 0.002646666718646884, 0.052337776869535446, -0.010684444569051266, 0.0162311103194952, -0.011893332935869694, -0.028888888657093048, -0.007071110885590315, 0.008244444616138935, 0.009982221759855747, 0.017626667395234108, 0.057848889380693436, 0.035857778042554855, 0.006102222017943859, -0.009866666980087757, -0.009279999881982803, -0.021084444597363472, -0.03900444507598877, 0.03932444378733635, -0.05642666667699814, 0.026417776942253113, -0.015208888798952103, 0.01428444404155016, -0.02785777859389782, 0.010053332895040512, -0.024480000138282776, -0.014435555785894394, -0.000683333317283541, -0.03936000168323517, -0.026435555890202522, -0.011066666804254055, 0.06161777675151825, -0.029297778382897377, 0.020106665790081024, -0.01577777788043022, 0.025208888575434685, -0.03422222286462784, 0.02270222268998623, -0.0031066667288541794, 0.02142222225666046, 0.06080000102519989, -0.04483555629849434, -0.009608888998627663, -0.0166311115026474, 0.03857777640223503, -0.07246222347021103, 0.0018588888924568892, -0.023128889501094818, -0.06538666784763336, -0.030595555901527405, 0.04028444364666939, -0.004082222003489733, 0.014480000361800194, 0.018933333456516266, 0.012293333187699318, 0.05087999999523163, 0.02213333360850811, 0.042702220380306244, 0.03811555728316307, 0.05407999828457832, 0.02778666652739048, -0.0968533307313919, 0.018364444375038147, -0.0007300000288523734, 0.03232000023126602, 0.014924444258213043, 0.017537778243422508, -0.0011433333856984973, -0.04032000154256821, 0.004751110915094614, 0.06286222487688065, -0.01592888869345188, 0.009119999594986439, -0.05034666508436203, -0.00675111124292016, 0.0010938888881355524, -0.04977777600288391, -0.02223999984562397, -0.000733333348762244, 0.023928888142108917, 0.01095111109316349, -0.0037155556492507458, 0.009053333662450314, -0.058062221854925156, -0.0003302777768112719, -0.0438755564391613, 0.018595555797219276, 0.006777777802199125, 0.06428444385528564, 0.047040000557899475, -0.0961422249674797, -0.00866222195327282, -0.05109333246946335, -0.010168888606131077, 0.01598222181200981, -0.07992888987064362, -0.011546666733920574, -0.08128000050783157, -0.05536000058054924, 0.03413333371281624, 0.014915555715560913, 0.05176888778805733, -0.0002055555523838848, -0.012871110811829567, 0.008484444580972195, 0.024337777867913246, 0.029866667464375496, 0.0044577778317034245, -0.018968889489769936, 0.03872000053524971, -0.01621333323419094, 0.01655111089348793, 0.06574222445487976, -0.0317511111497879, -0.1007644459605217, -0.03454222157597542, 0.019786667078733444, -0.01600000075995922, 0.03239111229777336, -0.07207111269235611, -0.0001106944473576732, -0.0017244444461539388, 0.007253333460539579, 0.05454222112894058, -0.005271111149340868, 0.04540444537997246, 0.03807999938726425, 0.01414222177118063, 0.004822222050279379, 0.03267555683851242, -0.007222222164273262, 0.10168889164924622, 0.04831999912858009, -0.006022222340106964, -0.005151111166924238, -0.004264444578438997, -0.025635555386543274, 0.02271999977529049, 0.015093333087861538, -0.010826666839420795, 0.05425777658820152, 0.004635555669665337, 0.010568888857960701, -0.01375111099332571, 0.0435199998319149, 0.03697777912020683, 0.02234666608273983, 0.0023444443941116333, 0.00878222193568945, 0.02698666602373123, -0.023804444819688797, -0.005768889095634222, 0.04568888992071152, 0.011973333545029163, 0.03345777839422226, 0.08547555655241013, -0.05176888778805733, -0.03182222321629524, 0.003708888776600361, -0.02855111099779606, -0.05344000086188316, -0.07658666372299194, -0.0042088888585567474, -0.00882666651159525, -0.007173333317041397, 0.01613333262503147, 0.06097777932882309, -0.012711111456155777, 0.024568889290094376 ]
41,264
pyglove.core.symbolic.ref
__new__
null
def __new__(cls, value: Any, **kwargs): del kwargs if isinstance(value, (bool, numbers.Number, str)): return value return object.__new__(cls)
(cls, value: Any, **kwargs)
[ 0.040053073316812515, -0.06472056359052658, 0.05717224255204201, -0.02508283220231533, -0.04348413273692131, 0.00805846881121397, -0.0346536748111248, 0.021398959681391716, -0.016441985964775085, -0.026039915159344673, 0.01372422743588686, 0.0749053880572319, -0.023331185802817345, 0.0206766314804554, 0.017678972333669662, -0.005516778212040663, 0.004175957292318344, 0.05572758615016937, 0.03068087063729763, -0.018211688846349716, 0.004449087660759687, 0.0749053880572319, -0.020622458308935165, 0.08140634000301361, 0.056305449455976486, 0.03506901115179062, 0.0020146172028034925, 0.03089756891131401, -0.021904589608311653, 0.01415762398391962, -0.031999118626117706, 0.002925427397713065, 0.02038770169019699, 0.06565959006547928, 0.039836376905441284, -0.01832003705203533, -0.07104093581438065, 0.05735282227396965, -0.05951980873942375, 0.00823002215474844, 0.00021204269432928413, -0.030915627256035805, -0.08545137196779251, -0.001389352255500853, -0.010266083292663097, -0.005566438194364309, 0.013326947577297688, 0.02645525336265564, -0.04984061419963837, 0.006410658825188875, 0.0024197979364544153, 0.0214531347155571, 0.05442739650607109, 0.012478211894631386, -0.03929463028907776, 0.030409999191761017, 0.015882181003689766, 0.05204371362924576, -0.031999118626117706, 0.06750153005123138, -0.06356484442949295, 0.08010614663362503, 0.009516668505966663, -0.10184821486473083, 0.0024085117038339376, -0.004952459596097469, -0.05608874931931496, 0.009214193560183048, -0.008062983863055706, 0.03322707861661911, -0.017633825540542603, -0.0033949404023587704, -0.006451289635151625, 0.05348837003111839, 0.06298697739839554, 0.004212073516100645, -0.07028248906135559, 0.018943045288324356, -0.018067223951220512, 0.0032346739899367094, 0.031782422214746475, 0.01342626754194498, 0.0206766314804554, 0.008157788775861263, -0.047420818358659744, 0.004342995584011078, -0.07093258947134018, -0.016478102654218674, 0.06519007682800293, 0.060133785009384155, -0.04590392857789993, -0.030355824157595634, -0.03512318804860115, -0.03763327747583389, 0.03443697467446327, -0.02396322414278984, 0.06598464399576187, 0.004902799613773823, 0.051285270601511, 0.008622787892818451, 0.028604179620742798, -0.020441874861717224, -0.034021638333797455, -0.039150163531303406, 0.000791174650657922, -0.031601838767528534, 0.03817502036690712, 0.009060698561370373, 0.01667674258351326, 0.035014837980270386, -0.013516558334231377, -0.01322762668132782, -0.04882935807108879, 0.029182041063904762, -0.04835984483361244, 0.0017482589464634657, -0.014961213804781437, -0.01097035314887762, -0.014816747978329659, 0.012866463512182236, -0.0265816617757082, 0.02878476120531559, -0.003697415115311742, 0.07244947552680969, 0.05330779030919075, 0.06919899582862854, 0.028911167755723, -0.06360095739364624, 0.04752916470170021, 0.05605263262987137, -0.0012956754071637988, -0.001541718258522451, 0.00005138825872563757, 0.0214531347155571, -0.006324882619082928, 0.011665592901408672, -0.05395788326859474, 0.0315476655960083, -0.015539076179265976, 0.014943155460059643, -0.009060698561370373, 0.0019536707550287247, 0.07700014114379883, -0.0063880858942866325, 0.019918188452720642, 0.0033723677042871714, 0.0057289618998765945, 0.021705949679017067, -0.06172290816903114, 0.0309336856007576, -0.015593250282108784, 0.009597930125892162, 0.018202658742666245, 0.0680793896317482, -0.018563823774456978, -0.011187051422894001, 0.032251935452222824, -0.07281063497066498, 0.02352982759475708, 0.014193740673363209, 0.04099209979176521, 0.007164588663727045, 0.0036026097368448973, -0.06161455810070038, 0.00920065026730299, 0.028369423002004623, 0.01195452455431223, -0.03770550712943077, -0.0017945329891517758, 0.024577202275395393, -0.011394720524549484, -0.035141244530677795, 0.04778198152780533, 0.08306769281625748, 0.0035190905909985304, 0.040703170001506805, -0.0008617144194431603, 0.016821207478642464, 0.05428292974829674, -0.008523467928171158, 0.002733559114858508, 0.023385360836982727, -0.0730634555220604, 0.00784177053719759, 0.08927971124649048, 0.035231538116931915, -0.00013811697135679424, 0.004505519289523363, 0.0029592865612357855, 0.026166323572397232, 0.01465422473847866, 0.013859664089977741, 0.04727635160088539, -0.003916370682418346, -0.0174893606454134, -0.024721667170524597, -0.011855204589664936, -0.02356594242155552, -0.009087786078453064, 0.12135106325149536, -0.019593140110373497, 0.025064773857593536, 0.032775621861219406, -0.035827457904815674, -0.028676411136984825, -0.05106857419013977, 0.006532551720738411, 0.00646483339369297, 0.008433176204562187, -0.0528382770717144, 0.005868913140147924, -0.022374102845788002, 0.017805378884077072, 0.07371354848146439, -0.016694800928235054, -0.05850854888558388, 0.03329930827021599, -0.027845734730362892, -0.037561044096946716, 0.0460122786462307, 0.07302733510732651, 0.04225617274641991, -0.035177361220121384, 0.029976602643728256, 0.062373001128435135, 0.02732204832136631, -0.0342022180557251, -0.0662013366818428, -0.03645949438214302, 0.0031443829648196697, -0.003988603595644236, 0.001435626414604485, -0.0132095692679286, 0.029741846024990082, -0.0132908308878541, -0.029200099408626556, 0.06833220273256302, -0.017742175608873367, -0.0808284729719162, 0.025750985369086266, 0.05446351319551468, -0.013661024160683155, 0.01745324395596981, 0.04835984483361244, 0.02629273012280464, 0.004853139631450176, -0.04370082914829254, 0.07533878833055496, -0.008600214496254921, -0.02120031975209713, 0.007047210354357958, -0.022518567740917206, 0.01311927754431963, -0.034455034881830215, 0.028333306312561035, 0.032125525176525116, -0.028423598036170006, -0.04124491661787033, 0.017010819166898727, -0.024848075583577156, -0.015403639525175095, 0.004722217563539743, 0.026130206882953644, 0.09621405601501465, -0.02327701263129711, -0.06540677696466446, 0.004988576285541058, 0.013986071571707726, -0.0016590965678915381, 0.022374102845788002, 0.05572758615016937, -0.02020711824297905, 0.017769262194633484, 0.012189281173050404, -0.0315476655960083, -0.05637768283486366, -0.011900349520146847, -0.01737198233604431, -0.016992760822176933, -0.047420818358659744, 0.019231976941227913, -0.0008916233200579882, 0.013661024160683155, -0.05244099348783493, -0.01098841056227684, 0.01728169247508049, 0.015078592114150524, 0.024107689037919044, -0.0063880858942866325, -0.015539076179265976, -0.01094326563179493, -0.02297002263367176, 0.0035032895393669605, 0.004722217563539743, 0.021868472918868065, -0.010419578291475773, -0.04597616195678711, 0.006455804221332073, -0.01754353567957878, -0.06797104328870773, 0.03396746143698692, -0.0593753419816494, -0.038500070571899414, 0.015629366040229797, 0.00954375509172678, -0.031439315527677536, -0.0009243537788279355, -0.0026071518659591675, -0.01852770708501339, 0.06020601838827133, 0.04503713548183441, 0.027683211490511894, -0.049443334341049194, -0.014094420708715916, 0.03864453360438347, -0.010464723221957684, 0.04037811979651451, -0.04189500957727432, -0.0077740526758134365, 0.04796256124973297, -0.02602185681462288, -0.05193536728620529, -0.06970462948083878, -0.016008589416742325, -0.0767834410071373, -0.05608874931931496, 0.00917807687073946, -0.03911404684185982, -0.03642337769269943, 0.010193850845098495, -0.04929887130856514, 0.021019738167524338, 0.07512208819389343, 0.006026922259479761, -0.010527927428483963, -0.03201717883348465, 0.003476202255114913, 0.011114818044006824, -0.008518952876329422, 0.002372395247220993, 0.028080491349101067, 0.013642965815961361, -0.03304649516940117, 0.020441874861717224, -0.0379222072660923, -0.0041737002320587635, 0.006351969670504332, 0.00007568922592326999, 0.12344581633806229, -0.03115038387477398, -0.0060043493285775185, -0.05265769362449646, -0.009787540882825851, -0.02120031975209713, 0.06461221724748611, -0.061470091342926025, 0.0010507612023502588, 0.017227517440915108, -0.01568354107439518, -0.07887819409370422, 0.05641379952430725, 0.002641010796651244, 0.03223387524485588, 0.04843207448720932, -0.03223387524485588, 0.020008478313684464, 0.008667932823300362, -0.027809618040919304, 0.0042639910243451595, 0.017651883885264397, 0.021362842991948128, -0.022518567740917206, -0.038536187261343, -0.01930420845746994, 0.02241021953523159, -0.021308667957782745, -0.04156996309757233, 0.020803039893507957, -0.022699149325489998, 0.014879952184855938, 0.012983841821551323, -0.02934456430375576, 0.011638506315648556, 0.012694910168647766, 0.015367522835731506, 0.0010631761979311705, 0.04590392857789993, 0.023836815729737282, 0.0024604289792478085, 0.010889090597629547, -0.038247253745794296, -0.00722779193893075, -0.018762463703751564, -0.022807499393820763, 0.0025304043665528297, 0.012758114375174046, -0.0050156633369624615, 0.023168662562966347, -0.01883469708263874, 0.017471302300691605, 0.027629036456346512, 0.018410328775644302, -0.01934032514691353, 0.028333306312561035, -0.0404142364859581, 0.004566465970128775, 0.046770721673965454, -0.02757486142218113, -0.013751314952969551, -0.013065103441476822, 0.06461221724748611, -0.02775544486939907, -0.005656729452311993, -0.01577383279800415, 0.04059481993317604, 0.0052549345418810844, 0.009254824370145798, -0.045181602239608765, -0.00009318310185335577, -0.041858892887830734, 0.022247694432735443, 0.03933074697852135, -0.025443995371460915, 0.019791780039668083, 0.030265532433986664, 0.0817674994468689, 0.02826107293367386, 0.008035896345973015, 0.013489470817148685, 0.014067333191633224, -0.017074022442102432, -0.054788559675216675, -0.048973821103572845, -0.011141905561089516, 0.017055964097380638, -0.0134443249553442, -0.04333966597914696, -0.06851278990507126, -0.02981407754123211, 0.0014322404749691486, -0.04619285836815834, -0.035953864455223083, 0.03115038387477398, 0.04597616195678711, 0.012478211894631386, -0.07403859496116638, 0.02185041457414627, 0.008324827067553997, 0.02977796271443367, -0.04984061419963837, 0.032649215310811996, 0.014446554705500603, 0.05204371362924576, 0.02573292702436447, 0.054355163127183914, -0.04684295505285263, -0.06797104328870773, -0.024378562346100807, 0.0315476655960083, -0.029633495956659317, -0.001566548366099596, -0.008902689442038536, -0.08212866634130478, -0.07830032706260681, -0.05684719607234001, 0.04099209979176521, -0.0022527596447616816, -0.011448894627392292, -0.00721876323223114, 0.0008205191697925329, 0.032811738550662994, -0.019069453701376915, 0.04774586483836174, 0.0013171195751056075, -0.0680793896317482, 0.024161864072084427, -0.021832356229424477, -0.04839596152305603, -0.0404142364859581, -0.034274451434612274, -0.01805819384753704, 0.03584551438689232, 0.01580994948744774, 0.005096925422549248, -0.029489031061530113, 0.01930420845746994, 0.05648602917790413, 0.0315476655960083, 0.032992321997880936, 0.06399823725223541, -0.019575081765651703, 0.07497762143611908, 0.015918297693133354, 0.0006935475394129753, 0.013326947577297688, 0.005173672456294298, 0.00011787204130087048, -0.0034378287382423878, 0.03589969128370285, 0.02085721492767334, 0.010248024947941303, 0.007033666595816612, -0.04521771892905235, -0.0025213754270225763, 0.046517908573150635, -0.08313992619514465, 0.007543810643255711, 0.04391752928495407, -0.05579981952905655, 0.01066336315125227, -0.0026500399690121412, 0.035484351217746735, 0.010898119769990444, 0.01303801592439413, 0.01098841056227684, -0.013760344125330448, -0.02029740996658802, -0.023674292489886284, -0.06284251809120178, -0.04077540338039398, 0.02468555048108101, 0.07432752847671509, -0.041136566549539566, -0.0767834410071373, -0.028766702860593796, -0.01075365487486124, -0.033064551651477814, -0.027502629905939102, 0.05706389248371124, 0.030518347397446632, 0.019123626872897148, -0.06161455810070038, -0.0184915903955698, 0.05637768283486366, -0.007959148846566677, -0.03335348516702652, -0.000015227783478621859, 0.0562693327665329, 0.041136566549539566, -0.06313144415616989, 0.029109809547662735, 0.0265816617757082, -0.008681477047502995, 0.04131714627146721, -0.01603567600250244, 0.009670162573456764, 0.008785311132669449, 0.04055870324373245, -0.038283370435237885, -0.0029186555184423923, -0.041858892887830734, -0.02529953047633171, -0.01602664776146412, 0.01887081190943718, -0.015141795389354229, -0.005155614577233791, 0.015782861039042473, 0.006993035785853863, -0.0062436205334961414, 0.01279423013329506, 0.03929463028907776, -0.03196300193667412, 0.050526827573776245, -0.013579761609435081, -0.0746164545416832, 0.005837311036884785, -0.02977796271443367, 0.023475652560591698, 0.048287611454725266, -0.02797214314341545, 0.03987249359488487, -0.04156996309757233, -0.01870828866958618, 0.031312908977270126, 0.023475652560591698, 0.03385911509394646, -0.009615988470613956, 0.02757486142218113, -0.03552046790719032, -0.028080491349101067, -0.05973650515079498, 0.03382299840450287, -0.06204795464873314, -0.10683227330446243, 0.010509869083762169, -0.05258546024560928, -0.01870828866958618, 0.01861799880862236, 0.0033407658338546753, -0.010464723221957684, 0.027376221492886543, 0.04149772971868515, -0.028622237965464592, -0.017344895750284195, -0.04149772971868515, -0.017850523814558983, -0.037849973887205124, -0.016794120892882347, 0.005688331089913845, 0.023421477526426315, -0.06356484442949295, 0.06529843062162399, -0.0394752137362957, 0.004826052114367485, 0.029579320922493935, 0.005065323319286108, -0.03770550712943077, -0.008527982048690319, -0.015539076179265976, -0.053885649889707565, 0.0630953311920166, 0.013372092507779598, -0.0017155284294858575, 0.029705729335546494, 0.026599720120429993, 0.021182261407375336, -0.04532606527209282, -0.0006630743155255914, -0.04980449751019478, -0.0013306632172316313, -0.03972802683711052, -0.007223277352750301, -0.02714146487414837, 0.021742066368460655, -0.0373082272708416, -0.07111316919326782, 0.008654389530420303, 0.016098879277706146, -0.030066892504692078, -0.0746164545416832, 0.012938695959746838, -0.016902469098567963, -0.0034671733155846596, -0.036820657551288605, -0.0755554810166359, -0.011737826280295849, 0.010049385018646717, 0.04066705331206322, 0.07887819409370422, 0.03541211783885956, -0.044061992317438126, -0.0016929557314142585, -0.0309336856007576, 0.002003330970183015, -0.0237826406955719, -0.07598888128995895, -0.009480551816523075, -0.0182658638805151, -0.008234536275267601, 0.0030066892504692078, -0.011665592901408672, 0.03456338495016098, 0.005291050765663385, -0.019376441836357117, -0.003115038387477398, -0.003692900761961937, 0.007846285589039326, 0.0677543431520462, 0.06818774342536926, -0.013642965815961361, -0.08805175125598907, 0.00487119797617197, 0.03443697467446327, 0.011557243764400482, 0.04886547103524208, 0.048973821103572845, -0.02607603184878826, -0.0522242970764637, 0.025407878682017326, -0.03972802683711052, -0.025696810334920883, 0.0035416632890701294, -0.04131714627146721, 0.028080491349101067, -0.028947284445166588, -0.04821537807583809, -0.014166653156280518, 0.03398552164435387, 0.008266137912869453, 0.03461755812168121, -0.0033655958250164986, -0.019105568528175354, -0.03459949791431427, 0.00009240716462954879, -0.03627891093492508, -0.03241445869207382, -0.01088006142526865, 0.034364741295576096, -0.02073080651462078, -0.07107704877853394, -0.012360833585262299, -0.025949625298380852, 0.01094326563179493, -0.005566438194364309, -0.013516558334231377, -0.013697139918804169, -0.05135750398039818, -0.008261623792350292, 0.027267873287200928, 0.03907793015241623, 0.016469072550535202, 0.007385801523923874, -0.059483692049980164, 0.03943909704685211, 0.014067333191633224, -0.0026816418394446373, -0.01404927484691143, 0.0066183279268443584, 0.06230076774954796, -0.03857230395078659, -0.010076472535729408, 0.06298697739839554, -0.00477187754586339, -0.05226041376590729, -0.05919475853443146, 0.02396322414278984, 0.03530376777052879, 0.028550004586577415, -0.017913728952407837, -0.02757486142218113, 0.05226041376590729, -0.008157788775861263, 0.03467173129320145, 0.036224737763404846, -0.006193960551172495, 0.0046409559436142445, -0.016478102654218674, -0.03972802683711052, 0.012884520925581455, -0.042508989572525024, 0.07002967596054077, 0.03904181346297264, -0.02278944104909897, -0.05803903564810753, -0.031258732080459595, -0.01484383549541235, -0.001917554414831102, 0.0006021279259584844, -0.016125967726111412, 0.05348837003111839, -0.023204779252409935, 0.06295086443424225, 0.03577328100800514, 0.009796570055186749, -0.01899722032248974, 0.022085171192884445, 0.04731246829032898, 0.02222963608801365, 0.03676648437976837, 0.018283922225236893, -0.031782422214746475, 0.0014186968328431249, 0.011539186351001263, 0.036387261003255844, 0.11420001834630966, -0.022554684430360794, -0.03524959459900856, 0.000004906926278636092, -0.0008041539695113897, -0.042039476335048676, -0.05486079305410385, -0.008302254602313042, -0.017399070784449577, 0.008988466113805771, -0.005241390783339739, 0.031042035669088364, 0.0011613676324486732, 0.05384953320026398 ]
41,276
pyglove.core.symbolic.ref
_on_parent_change
null
def _on_parent_change( self, old_parent: Optional[base.Symbolic], new_parent: Optional[base.Symbolic]) -> None: if (new_parent is not None and isinstance(self._value, base.Symbolic) and self._value.sym_root is new_parent.sym_root): raise NotImplementedError('Self-referential object is not supported.')
(self, old_parent: Optional[pyglove.core.symbolic.base.Symbolic], new_parent: Optional[pyglove.core.symbolic.base.Symbolic]) -> NoneType
[ 0.014389787800610065, -0.03358503803610802, 0.02752058021724224, 0.08199430257081985, -0.07773854583501816, -0.010337949730455875, 0.03452485054731369, 0.0760362446308136, 0.09242092072963715, 0.013476572930812836, 0.014904025942087173, -0.11043696850538254, 0.07823505252599716, 0.001779882819391787, -0.05802019312977791, -0.021012814715504646, -0.029701657593250275, -0.012084584683179855, 0.01432772446423769, -0.009735050611197948, -0.03720243275165558, -0.01844162493944168, 0.04035878926515579, -0.02991444431245327, -0.02908102609217167, 0.08355475217103958, -0.0127140823751688, 0.04457908496260643, -0.01607435941696167, -0.036138493567705154, -0.016313746571540833, -0.022590991109609604, 0.0182997677475214, -0.004951753653585911, 0.08305824548006058, 0.016180753707885742, -0.06507766246795654, 0.015772908926010132, -0.012279639951884747, 0.019807014614343643, -0.01609209179878235, 0.007992848753929138, -0.06447476148605347, -0.012332837097346783, 0.02306976541876793, 0.06273699551820755, 0.004481846932321787, 0.06238234415650368, 0.03463124483823776, -0.000005246969521977007, 0.014451851136982441, -0.017439749091863632, -0.0008550308994017541, 0.020587237551808357, -0.06798576563596725, 0.03188273310661316, 0.016455603763461113, 0.014753300696611404, -0.009947838261723518, -0.010169493034482002, 0.05734636262059212, 0.006959940306842327, -0.0068890112452209, -0.05426093935966492, 0.0056034172885119915, -0.05114004760980606, 0.05940331518650055, -0.0307655967772007, -0.006028993055224419, 0.05259409919381142, -0.09802433103322983, -0.04035878926515579, -0.011180236004292965, 0.01293573621660471, 0.020800026133656502, 0.004712367430329323, -0.04362153634428978, -0.0030410951003432274, 0.04404711350798607, -0.04011053591966629, -0.01927504502236843, -0.05748822167515755, 0.018228838220238686, 0.007567272987216711, -0.016136422753334045, 0.03477310389280319, 0.03936577960848808, 0.009477932006120682, 0.062134094536304474, 0.03411700949072838, -0.03255656361579895, 0.0073722172528505325, -0.007048602215945721, 0.029790319502353668, 0.07901527732610703, 0.04220295324921608, 0.01996660605072975, -0.08830701559782028, 0.040855295956134796, 0.000006636636953771813, 0.04401164874434471, 0.05755915120244026, -0.0032494498882442713, -0.014372055418789387, 0.025374967604875565, -0.026172922924160957, -0.008573582395911217, -0.01872534304857254, 0.03702510893344879, 0.0006228481652215123, -0.0706101506948471, -0.009167616255581379, -0.009965570643544197, 0.04532384127378464, -0.03285801038146019, 0.0016823550686240196, -0.020604969933629036, -0.02140292525291443, 0.022856976836919785, -0.022573258727788925, 0.02069363184273243, 0.031652212142944336, -0.0059624966233968735, -0.03048188053071499, 0.044791873544454575, 0.023282552137970924, 0.028442662209272385, 0.0067161209881305695, 0.00779335992410779, -0.001408612122759223, 0.05245224013924599, 0.010488674975931644, -0.0326806902885437, -0.015045884065330029, 0.04929588362574577, 0.036138493567705154, -0.02110147662460804, 0.03901113197207451, -0.0551120899617672, -0.03145715966820717, 0.010639399290084839, -0.026031063869595528, 0.06585787981748581, 0.027697904035449028, -0.007048602215945721, 0.047309864312410355, -0.04652963951230049, 0.024115972220897675, -0.10540098696947098, 0.020604969933629036, -0.014008542522788048, 0.005364030599594116, 0.03759254515171051, -0.032928939908742905, -0.05050168186426163, 0.011295495554804802, -0.053055137395858765, -0.059580639004707336, 0.0025179912336170673, 0.006662923842668533, -0.04028785973787308, -0.054863836616277695, 0.06713461130857468, -0.03957856446504593, 0.0013698226539418101, -0.02627931721508503, -0.03897566720843315, -0.07731296867132187, -0.02250232920050621, 0.016003429889678955, 0.021491587162017822, -0.02711273729801178, 0.005089179612696171, 0.019452368840575218, -0.0052266051061451435, 0.02026805654168129, 0.03748615086078644, -0.03720243275165558, -0.004796595778316259, 0.025055786594748497, 0.038089051842689514, -0.020587237551808357, 0.012483562342822552, 0.055537667125463486, 0.059757959097623825, 0.01831750012934208, -0.04979239031672478, 0.007824392057955265, 0.04670696333050728, -0.017865324392914772, -0.08724307268857956, 0.01062166690826416, -0.008954827673733234, 0.01565765030682087, 0.042309343814849854, -0.005288667976856232, 0.016544265672564507, -0.031120244413614273, -0.042699456214904785, 0.07447579503059387, -0.01340564340353012, -0.018955864012241364, 0.011144771240651608, -0.023247087374329567, -0.01870761066675186, 0.02778656594455242, -0.00029757071752101183, 0.024647941812872887, 0.030215894803404808, -0.012253041379153728, -0.017679136246442795, 0.036528605967760086, -0.011401889845728874, 0.0005582913872785866, -0.0310138501226902, -0.06890784204006195, -0.05312606692314148, -0.020374450832605362, -0.011357558891177177, -0.010940848849713802, 0.014575976878404617, 0.02053404040634632, -0.02516217902302742, -0.029027828946709633, -0.013343580067157745, -0.04553662985563278, 0.01634034514427185, -0.019133185967803, 0.02557002380490303, -0.015888169407844543, -0.015356199815869331, -0.03784079849720001, -0.04553662985563278, -0.06919156014919281, 0.02025032415986061, -0.024984857067465782, -0.007864289917051792, 0.02835400030016899, -0.05911959707736969, 0.018104711547493935, -0.07965363562107086, -0.03972042351961136, 0.007686966098845005, 0.030109500512480736, 0.02879730798304081, -0.053870826959609985, 0.03869194909930229, 0.017226960510015488, -0.040890756994485855, 0.0010046474635601044, 0.051636550575494766, -0.07951177656650543, -0.04848019778728485, 0.021030547097325325, 0.051636550575494766, -0.006077757105231285, -0.01258108951151371, -0.004477413836866617, 0.01718262955546379, 0.008334196172654629, -0.009593191556632519, 0.060431789606809616, 0.015764042735099792, 0.02908102609217167, -0.041422728449106216, -0.003369143232703209, 0.03950763866305351, 0.0006849113269709051, -0.03158128261566162, -0.008139140903949738, 0.060467254370450974, -0.023176157847046852, -0.01955876313149929, 0.042557597160339355, 0.0012346137082204223, -0.088377945125103, -0.024009577929973602, 0.0363512821495533, -0.02303430065512657, -0.03972042351961136, 0.015471460297703743, 0.010923116467893124, 0.019523298367857933, 0.015710847452282906, -0.06688635796308517, -0.04124540463089943, -0.003076559631153941, -0.02402731031179428, -0.003045528195798397, -0.0032760484609752893, -0.00832089688628912, 0.024009577929973602, -0.04152912274003029, 0.05670800060033798, 0.008719874545931816, 0.03356730565428734, -0.004477413836866617, 0.02461247704923153, 0.011552615091204643, 0.004293440841138363, 0.06259513646364212, 0.007642635144293308, -0.04404711350798607, -0.026633962988853455, -0.007270256523042917, -0.00015571204130537808, 0.05447372421622276, 0.008852867409586906, -0.029435671865940094, 0.011268896982073784, -0.031669944524765015, 0.052203986793756485, -0.03784079849720001, 0.0037703372072428465, -0.00389889650978148, -0.0363512821495533, 0.05422547459602356, -0.0657869502902031, 0.02766243927180767, 0.06454569101333618, -0.05270049348473549, 0.02026805654168129, -0.0741211473941803, 0.04092622175812721, -0.041458193212747574, 0.0077224308624863625, 0.031067047268152237, 0.049118559807538986, 0.010524139739573002, 0.02220088057219982, 0.001889601699076593, -0.007208193186670542, 0.029683925211429596, -0.0567789301276207, -0.0665317103266716, 0.008272132836282253, 0.01362729724496603, -0.028123479336500168, 0.008941528387367725, 0.02377905882894993, 0.04748718813061714, 0.023282552137970924, -0.0039121960289776325, -0.045855812728405, -0.014540513046085835, -0.005253203678876162, 0.037237897515296936, -0.020924152806401253, 0.03463124483823776, 0.01717376336455345, -0.11469272524118423, 0.06280792504549026, -0.029010096564888954, -0.017359953373670578, 0.008555850014090538, -0.025126714259386063, -0.017581608146429062, -0.010648265480995178, -0.016012296080589294, -0.06415557861328125, 0.0686950534582138, -0.04000414162874222, 0.006441270001232624, -0.004144932609051466, -0.07199326902627945, -0.011623543687164783, 0.003007846884429455, -0.000988023355603218, 0.005208872724324465, -0.008857300505042076, 0.003805801970884204, -0.03950763866305351, 0.06500673294067383, -0.025410432368516922, -0.010293618775904179, 0.053480714559555054, -0.001225747517310083, 0.01019609160721302, -0.0003363601863384247, -0.08405125886201859, 0.025534559041261673, -0.01397307775914669, -0.030836526304483414, 0.021970359608530998, -0.001831971574574709, 0.0009597624884918332, 0.04975692555308342, -0.013503171503543854, 0.04035878926515579, 0.031137976795434952, -0.014265661127865314, 0.011375291272997856, 0.05184933915734291, 0.00958432536572218, 0.006897877436131239, -0.010009901598095894, 0.019452368840575218, -0.011960458010435104, -0.03406381234526634, -0.03314172849059105, -0.0077490294352173805, -0.01648220233619213, -0.0788734182715416, -0.017803261056542397, 0.03535827249288559, -0.007336752489209175, 0.03791172802448273, 0.02487846277654171, -0.025374967604875565, -0.04167098179459572, -0.013733691535890102, -0.012057986110448837, -0.0035819311160594225, 0.03663500025868416, -0.010009901598095894, -0.04081983119249344, 0.04195469990372658, -0.018654413521289825, 0.062098629772663116, -0.0076027377508580685, -0.021172404289245605, 0.05174294486641884, 0.043692465871572495, 0.031794071197509766, 0.014425252564251423, 0.00831646379083395, -0.00023149006301537156, 0.0009425843018107116, 0.019736086949706078, 0.04234480857849121, 0.06748925894498825, 0.0023295851424336433, 0.04823194444179535, 0.00548815680667758, -0.031368497759103775, 0.014877427369356155, 0.007469744887202978, 0.015737446025013924, -0.039755888283252716, 0.03581931069493294, -0.004991651512682438, -0.021278798580169678, -0.03530507534742355, 0.014753300696611404, 0.025676418095827103, 0.03688324987888336, 0.02821214124560356, 0.022059021517634392, -0.05170748010277748, -0.0033757928758859634, -0.01968288980424404, -0.0475226528942585, -0.01774119958281517, 0.02154478430747986, -0.07780947536230087, -0.029435671865940094, -0.004246893804520369, -0.0021755355410277843, 0.01636694371700287, -0.008702142164111137, -0.048444733023643494, 0.051352836191654205, 0.04791276156902313, 0.0034179070498794317, 0.00005773398152086884, 0.05145923048257828, 0.024789800867438316, -0.04858659207820892, -0.04525291174650192, -0.030109500512480736, 0.08057571947574615, -0.031935930252075195, -0.004195913206785917, 0.019133185967803, -0.05816205218434334, -0.03769893944263458, -0.05337432026863098, -0.03310626372694969, -0.026084261015057564, -0.026048796251416206, -0.05865855515003204, 0.02835400030016899, 0.03129756823182106, -0.024913927540183067, 0.005461558233946562, -0.05784286931157112, -0.014372055418789387, -0.013822353444993496, -0.016881180927157402, 0.027290059253573418, -0.03716696798801422, -0.0026753656566143036, -0.043692465871572495, 0.039897747337818146, 0.0015737444628030062, -0.015622184611856937, 0.027768833562731743, -0.05018250271677971, 0.023513073101639748, -0.007017570547759533, -0.020587237551808357, 0.03062373772263527, -0.010807856917381287, 0.03436525911092758, 0.05546673759818077, -0.022998835891485214, -0.0475226528942585, 0.012253041379153728, -0.05117551237344742, 0.04238027334213257, 0.031545817852020264, -0.003934361506253481, 0.12228216230869293, 0.015196609310805798, 0.005009383894503117, -0.02711273729801178, 0.006552096921950579, 0.06490033864974976, 0.025392699986696243, -0.0365995354950428, 0.014895159751176834, -0.06880144774913788, 0.046884287148714066, -0.04571395367383957, 0.029098758473992348, -0.042309343814849854, -0.038514625281095505, -0.01216438040137291, -0.016872314736247063, -0.03862101957201958, 0.0016092092264443636, -0.011827466078102589, -0.006525498349219561, 0.05507662519812584, -0.024807533249258995, 0.05103365331888199, 0.03475537151098251, 0.012616554275155067, -0.041316334158182144, -0.02280377969145775, -0.005004950799047947, 0.014841962605714798, 0.0073589179664850235, 0.06823401898145676, 0.033744629472494125, -0.016304880380630493, 0.012997799552977085, -0.023814521729946136, -0.03940124437212944, 0.02642117626965046, -0.0018186724046245217, -0.012545625679194927, 0.03741522133350372, 0.06773751229047775, 0.011162503622472286, 0.03940124437212944, 0.029258348047733307, 0.017439749091863632, 0.02572961524128914, 0.0006500008166767657, 0.01761707291007042, 0.0016169670270755887, 0.06220502406358719, -0.013866684399545193, 0.05965156480669975, -0.02459474466741085, -0.0036063131410628557, 0.013050996698439121, 0.10568470507860184, 0.07163862138986588, 0.03534054011106491, 0.03308853134512901, 0.02280377969145775, -0.01412380300462246, 0.015728579834103584, -0.01943463645875454, -0.033336784690618515, 0.010923116467893124, -0.05582138150930405, -0.05312606692314148, 0.009398136287927628, -0.034861765801906586, 0.0017621505539864302, 0.03214871883392334, 0.014567111618816853, -0.012838209047913551, -0.026917681097984314, 0.10802537202835083, -0.010497541166841984, 0.005878268275409937, -0.057665545493364334, -0.015090215019881725, -0.005146809387952089, -0.0022542227525264025, 0.01362729724496603, -0.0254281647503376, -0.0037703372072428465, -0.06940434873104095, 0.059332385659217834, 0.003663943149149418, -0.012988933362066746, -0.03190046548843384, 0.04624592140316963, 0.00809480994939804, -0.006126520689576864, 0.00006067782669560984, 0.02713046967983246, -0.016304880380630493, -0.024647941812872887, -0.008897197432816029, 0.055289413779973984, 0.03170540928840637, 0.013352446258068085, -0.05376443266868591, -0.03519868105649948, -0.02305203303694725, -0.04390525445342064, -0.016730455681681633, -0.022892441600561142, 0.012261907570064068, 0.010151760652661324, -0.026740357279777527, -0.02377905882894993, -0.02587147243320942, -0.10823816061019897, 0.008077077567577362, 0.02587147243320942, 0.013387911021709442, -0.004231377970427275, -0.046033136546611786, 0.04738079383969307, -0.025108983740210533, -0.033070798963308334, -0.03074786439538002, 0.040855295956134796, -0.031120244413614273, 0.021172404289245605, -0.01595023274421692, -0.033762361854314804, 0.011889529414474964, -0.009814846329391003, -0.019877944141626358, -0.01410607062280178, 0.014788765460252762, -0.03323039039969444, -0.024665674194693565, 0.01215551421046257, -0.009336072951555252, -0.06497126817703247, -0.03074786439538002, -0.006028993055224419, 0.022466864436864853, -0.03688324987888336, -0.020516308024525642, 0.07639088481664658, -0.0004341650928836316, -0.014044007286429405, -0.038904737681150436, -0.0055901180021464825, 0.022981103509664536, 0.054012686014175415, 0.006928909104317427, 0.021615713834762573, 0.039791353046894073, 0.07135490328073502, 0.047168005257844925, 0.06812762469053268, 0.004136066418141127, 0.00935380533337593, -0.013379044830799103, -0.05216852203011513, -0.05301967263221741, -0.050927259027957916, 0.006432403810322285, 0.0019040092593058944, -0.08405125886201859, 0.0475226528942585, 0.04347968101501465, 0.009637522511184216, -0.022466864436864853, -0.04333782196044922, 0.020587237551808357, -0.00601126067340374, -0.015560122206807137, 0.018095845356583595, 0.07383742928504944, 0.03535827249288559, -0.0005336324102245271, 0.052345845848321915, -0.04280585050582886, 0.035712916404008865, -0.010444344021379948, 0.04571395367383957, -0.00006511090759886429, -0.0036129627842456102, -0.013263784348964691, -0.06333988904953003, -0.010603934526443481, -0.07206419855356216, 0.031368497759103775, 0.09873362630605698, 0.006804782431572676, -0.007163862232118845, -0.00831646379083395, 0.032928939908742905, -0.0012722949031740427, -0.03972042351961136, -0.008551416918635368, 0.013848952017724514, 0.019186383113265038, -0.02640344388782978, -0.03886927291750908, -0.04209655895829201, -0.08085943758487701, -0.0010495324386283755, 0.017980584874749184, 0.012306238524615765, -0.02528630569577217, 0.026775822043418884, -0.03936577960848808, -0.029878979548811913, 0.008015014231204987, 0.05099818855524063, 0.007873155176639557, 0.014877427369356155, 0.028566787019371986, 0.05195573344826698, -0.04202562943100929, -0.028017085045576096, 0.03922392055392265, -0.012253041379153728, 0.05582138150930405, -0.0247188713401556, -0.04120993986725807, 0.0693688839673996, -0.018778540194034576, -0.017430882900953293, 0.023672664538025856, -0.005731976591050625, -0.04504012316465378, 0.03145715966820717, 0.006733853369951248, -0.015232074074447155, -0.016038894653320312, 0.036564070731401443, -0.005341865122318268, -0.04167098179459572, 0.02097734995186329, 0.0039121960289776325, 0.0007885346421971917, 0.01774119958281517, 0.02544589713215828, 0.02950660139322281, -0.005718677304685116, -0.006463435012847185, 0.00831646379083395, -0.05507662519812584, 0.06809215992689133, 0.05461558327078819, 0.01580837368965149, 0.005417227745056152, 0.022129951044917107, 0.03087199106812477, 0.035021357238292694, 0.03044641576707363, 0.0041648815385997295, -0.012536759488284588, 0.007806659210473299 ]
41,282
pyglove.core.symbolic.ref
_sym_clone
null
def _sym_clone(self, deep: bool, memo: Any = None) -> 'Ref': # Always create a new object. # TODO(daiyip): support deep clone with the update of reference when # the original value is updated. return Ref(self._value, allow_partial=self.allow_partial)
(self, deep: bool, memo: Optional[Any] = None) -> pyglove.core.symbolic.ref.Ref
[ 0.05304097384214401, -0.10774163901805878, 0.08187811821699142, 0.00750751094892621, -0.09633126109838486, 0.01668335683643818, 0.003740789135918021, 0.01808372139930725, 0.010641043074429035, -0.016216568648815155, 0.0003398261615075171, 0.030479542911052704, -0.008938129991292953, 0.03253686800599098, -0.034646060317754745, -0.01946679875254631, -0.002203197218477726, -0.009223389439284801, -0.060405854135751724, 0.03865697979927063, 0.0006083374610170722, 0.05511558800935745, 0.005342131946235895, -0.02724660187959671, -0.0009146672091446817, 0.029995465651154518, 0.02489537186920643, 0.040178366005420685, -0.04304824769496918, 0.03431757912039757, -0.015784358605742455, -0.0024247055407613516, -0.01201547496020794, 0.014505011960864067, 0.07095181196928024, -0.08146319538354874, -0.03990175202488899, 0.10615110397338867, -0.010934947058558464, -0.06448592990636826, 0.00032442863448522985, 0.0019233404891565442, -0.03511285036802292, -0.023131949827075005, -0.0002733736764639616, 0.011842590756714344, -0.006638766266405582, 0.008328712545335293, 0.022008201107382774, -0.08346865326166153, 0.014928579330444336, 0.01081392727792263, -0.03934852033853531, 0.012093272991478443, 0.0021426877938210964, 0.006085535511374474, 0.0448116697371006, 0.039832595735788345, -0.025932680815458298, 0.011228850111365318, -0.05916108563542366, -0.02084987424314022, 0.022889912128448486, -0.027021853253245354, -0.035164713859558105, -0.035510484129190445, -0.027972716838121414, -0.007788448128849268, 0.07655327022075653, -0.00981984194368124, -0.03813832625746727, -0.008631260134279728, 0.012119205668568611, -0.018446778878569603, -0.016112837940454483, -0.019881721585989, 0.035164713859558105, -0.05189993605017662, 0.027004564180970192, -0.06531577557325363, -0.08547411113977432, -0.012197003699839115, -0.036374904215335846, 0.026503199711441994, -0.08208557963371277, 0.058607857674360275, 0.025379449129104614, -0.013502282090485096, 0.048649705946445465, 0.009569158777594566, 0.043463170528411865, 0.018550509586930275, -0.050205670297145844, -0.014634675346314907, 0.003064378397539258, -0.029753427952528, -0.002394450828433037, -0.002413900336250663, 0.04304824769496918, -0.005843497347086668, -0.01020018756389618, -0.03737763687968254, -0.1191520169377327, 0.04965243861079216, -0.016121482476592064, 0.015784358605742455, 0.033245693892240524, -0.027817120775580406, 0.004944497719407082, -0.030929043889045715, -0.054112859070301056, 0.06573069840669632, -0.01566333882510662, 0.028266621753573418, -0.015767069533467293, 0.03644406050443649, 0.0024225444067269564, -0.0361674427986145, 0.04526117071509361, 0.011298004537820816, -0.006755463313311338, 0.007542087696492672, -0.014859425835311413, -0.016925396397709846, 0.015490454621613026, 0.06770158559083939, 0.05200366675853729, -0.028958158567547798, -0.029010023921728134, 0.03934852033853531, 0.006388083565980196, 0.014574166387319565, 0.02525843121111393, 0.07655327022075653, -0.016717934980988503, 0.041734326630830765, -0.013727031648159027, 0.05279893800616264, -0.04820020869374275, -0.025189276784658432, -0.005929939448833466, -0.00911965873092413, -0.016328943893313408, 0.056879010051488876, -0.006803006399422884, -0.017011838033795357, -0.046575091779232025, 0.05317928269505501, -0.047889016568660736, 0.04792359098792076, -0.008912197314202785, -0.0063189296051859856, 0.023754334077239037, 0.09930487722158432, -0.002375001320615411, 0.072611503303051, -0.018031856045126915, 0.018827125430107117, -0.05438947305083275, 0.04152686521410942, -0.0011983058648183942, 0.017020482569932938, 0.013208378106355667, -0.06548865884542465, 0.00035225224564783275, 0.0022431768011301756, 0.059645164757966995, -0.10967794805765152, -0.03644406050443649, 0.023806199431419373, -0.012974984012544155, -0.009353052824735641, 0.025241142138838768, 0.025223853066563606, -0.011574619449675083, 0.03831121325492859, 0.010883081704378128, -0.002147009829059243, -0.013277532532811165, -0.007706328295171261, -0.04360147938132286, -0.018550509586930275, -0.022509565576910973, -0.024100104346871376, 0.050724323838949203, 0.022509565576910973, 0.003343154676258564, -0.00432211346924305, 0.06946500390768051, 0.01970883645117283, -0.052971821278333664, 0.06687173992395401, 0.059195663779973984, -0.013372618705034256, 0.0122834462672472, -0.08146319538354874, -0.009586446918547153, 0.02465333417057991, -0.04982532188296318, 0.09155964851379395, -0.01676980033516884, -0.017677443102002144, 0.002608395414426923, -0.024601468816399574, 0.007127164863049984, -0.012923118658363819, -0.03589082881808281, -0.012006830424070358, 0.05096635967493057, 0.003010351909324527, -0.029615120962262154, 0.0006245453841984272, -0.000689917360432446, 0.03813832625746727, -0.016328943893313408, 0.0005305394297465682, -0.005597136914730072, -0.022682450711727142, 0.001230721827596426, 0.0250682570040226, 0.03289992734789848, -0.03113650530576706, -0.05905735492706299, -0.012992273084819317, -0.040524136275053024, -0.00011885811545653269, -0.040627866983413696, -0.0292520634829998, -0.0237716231495142, -0.06237674131989479, -0.007529121357947588, -0.0491337850689888, -0.012957695871591568, -0.038449518382549286, 0.016934040933847427, -0.017323030158877373, 0.01936306804418564, 0.000312542833853513, 0.013346686027944088, 0.03345315903425217, -0.020383086055517197, 0.04021294414997101, 0.05304097384214401, 0.04463878646492958, 0.01574113592505455, 0.004624661058187485, -0.005143315065652132, 0.027194736525416374, 0.045019131153821945, 0.00281153479591012, 0.018135586753487587, -0.045019131153821945, -0.012914475053548813, -0.0012155943550169468, 0.06472796946763992, -0.015844866633415222, -0.010485447011888027, 0.02525843121111393, 0.002792085288092494, -0.0005048768362030387, 0.035251155495643616, 0.0224749892950058, 0.03820748254656792, -0.008436765521764755, -0.017755242064595222, -0.01625978946685791, -0.035856250673532486, -0.025310296565294266, -0.04439674690365791, 0.015118752606213093, 0.07980350404977798, -0.023460431024432182, 0.002439833013340831, 0.047958169132471085, -0.03372977301478386, -0.04574524611234665, 0.00730869360268116, 0.04422386363148689, -0.028422217816114426, -0.04180347919464111, -0.010641043074429035, -0.007935400120913982, 0.05127755180001259, -0.07050231099128723, -0.01849864423274994, 0.03165515884757042, 0.0065523236989974976, -0.00633621821179986, -0.002524114213883877, -0.04574524611234665, 0.0249991025775671, 0.05632578209042549, 0.03189719468355179, 0.022353969514369965, 0.06548865884542465, 0.03009919635951519, -0.06147773936390877, 0.02517198771238327, -0.028041871264576912, 0.05494270473718643, -0.022336682304739952, -0.005757054779678583, -0.027557794004678726, 0.029217485338449478, 0.005782987456768751, -0.04273705556988716, 0.015550963580608368, 0.009629668667912483, 0.0534558966755867, 0.040351249277591705, -0.0017958381213247776, 0.03668609634041786, -0.01720201037824154, 0.06337946653366089, -0.02454960346221924, -0.05380166694521904, 0.0224749892950058, -0.06607646495103836, 0.0499982051551342, 0.04463878646492958, -0.04093905910849571, -0.06044043228030205, -0.07530850172042847, -0.03106735087931156, -0.025794371962547302, -0.008562106639146805, -0.020832587033510208, -0.003602481447160244, -0.003857486182823777, 0.0206769909709692, 0.010537312366068363, -0.02361602708697319, 0.046056438237428665, 0.04093905910849571, 0.02256143093109131, -0.04176890477538109, -0.0025867847725749016, -0.07095181196928024, -0.06044043228030205, -0.08920841664075851, 0.0349399633705616, 0.026105564087629318, -0.018446778878569603, -0.07558511942625046, -0.013908560387790203, -0.006323251873254776, 0.04958328232169151, 0.0133293978869915, 0.00903321709483862, -0.013675166293978691, -0.0112374946475029, -0.01574113592505455, 0.0019546756520867348, 0.0036457024980336428, 0.039313942193984985, 0.035683367401361465, -0.050205670297145844, 0.017348963767290115, -0.03952140361070633, -0.09432580322027206, 0.03647863492369652, 0.009223389439284801, 0.00912830326706171, -0.003513878211379051, 0.055495936423540115, 0.013217022642493248, -0.0646933913230896, 0.027004564180970192, -0.051865361630916595, -0.03668609634041786, -0.03858782723546028, -0.020953604951500893, 0.018291182816028595, -0.052384015172719955, -0.010087812319397926, 0.00916288048028946, -0.05062059313058853, -0.02344314195215702, 0.02180073969066143, -0.04719747602939606, 0.06507373601198196, -0.00860100518912077, -0.0009308751323260367, -0.0024030948989093304, 0.022284816950559616, 0.01912102848291397, 0.06414016336202621, 0.00464627193287015, 0.08830942213535309, 0.01766015589237213, -0.030565984547138214, -0.011211561970412731, 0.012793455272912979, 0.035147424787282944, 0.015023665502667427, -0.016830310225486755, 0.03452504053711891, -0.01841220259666443, -0.072611503303051, 0.019656971096992493, 0.031361255794763565, 0.017755242064595222, -0.0026840323116630316, -0.03245042636990547, -0.04941039904952049, 0.01607826165854931, 0.03122294694185257, 0.023201104253530502, -0.019587818533182144, -0.01834304817020893, -0.014090089127421379, -0.017098279669880867, -0.00451660854741931, -0.00025122283841483295, 0.02588081546127796, -0.032035503536462784, 0.07890450209379196, -0.03934852033853531, 0.03428300470113754, 0.00032442863448522985, -0.002893654862418771, -0.01910374127328396, -0.05836581811308861, 0.0423567108809948, -0.0008298457833006978, 0.02422112226486206, 0.01423704158514738, 0.03872613608837128, -0.004008760210126638, 0.021489547565579414, 0.010364428162574768, 0.02932121604681015, 0.014254329726099968, -0.004732714034616947, 0.00284395064227283, -0.03599455952644348, 0.004456098657101393, -0.04564151540398598, -0.005705189425498247, 0.047370363026857376, 0.010632398538291454, -0.0008563186856918037, 0.005151959136128426, -0.027747968211770058, -0.003732144832611084, 0.008851688355207443, 0.04629847779870033, 0.013649233616888523, -0.019501375034451485, -0.0105891777202487, 0.044777095317840576, 0.003976344130933285, 0.04792359098792076, -0.027609659358859062, -0.048476822674274445, -0.03353960067033768, 0.0065652900375425816, -0.02413468062877655, -0.004823478404432535, 0.001765583292581141, 0.0032631955109536648, 0.029701562598347664, 0.01046815887093544, 0.00607689144089818, -0.0655578151345253, -0.05632578209042549, 0.02378891222178936, 0.007490222342312336, 0.00968153402209282, -0.02378891222178936, 0.05113924667239189, -0.044500477612018585, 0.017426760867238045, -0.009370341897010803, 0.019950876012444496, -0.020815297961235046, -0.0340755432844162, -0.058434970676898956, -0.04712832346558571, -0.06438220292329788, -0.07399457693099976, -0.04699001461267471, -0.0012285606935620308, -0.020988183096051216, 0.024687910452485085, 0.012300734408199787, 0.0211092010140419, 0.026053698733448982, -0.04636763036251068, 0.05165790021419525, -0.029545966535806656, 0.08547411113977432, -0.059818048030138016, 0.04889174550771713, -0.019795279949903488, 0.008129894733428955, -0.006115790456533432, 0.032727040350437164, 0.01358872465789318, -0.031101927161216736, -0.02966698631644249, 0.00355709926225245, 0.010433581657707691, 0.06165062636137009, 0.010234764777123928, -0.027142871171236038, -0.023979084566235542, -0.02560419961810112, -0.045364901423454285, -0.005406963638961315, 0.03340129181742668, -0.05663697421550751, 0.01766015589237213, 0.028059160336852074, -0.01227480173110962, -0.013735676184296608, -0.012197003699839115, -0.02873340994119644, -0.008652870543301105, -0.09612379968166351, 0.028301198035478592, -0.011712927371263504, -0.05120839923620224, -0.10386902838945389, 0.009655601345002651, -0.04214924946427345, -0.04125025123357773, 0.01944950968027115, 0.04522659257054329, -0.03765425086021423, 0.015516387298703194, -0.020279355347156525, -0.013173801824450493, 0.011557331308722496, 0.013052782043814659, -0.0002651346439961344, 0.03345315903425217, 0.006712242029607296, -0.023823488503694534, -0.00838490016758442, -0.04031667485833168, 0.00211891601793468, -0.03139583021402359, -0.01435806043446064, -0.03295179083943367, 0.07987265288829803, 0.0517270527780056, 0.013606012798845768, 0.0014565521851181984, -0.029131043702363968, 0.04287536442279816, -0.0004295100225135684, -0.001363626797683537, -0.032312117516994476, -0.022544143721461296, 0.027142871171236038, 0.02847408317029476, -0.036720674484968185, 0.026503199711441994, -0.017772529274225235, 0.06403642892837524, 0.015118752606213093, 0.05390539765357971, -0.042252980172634125, -0.009370341897010803, -0.01254277303814888, 0.0070580109022557735, 0.024082815274596214, 0.021869894117116928, 0.03331485018134117, 0.023892642930150032, 0.01224022451788187, 0.08201642334461212, 0.01773795299232006, 0.05068974569439888, 0.032657887786626816, 0.020573260262608528, 0.02793814055621624, -0.004680848680436611, -0.004358851350843906, 0.014712473377585411, -0.00744267925620079, -0.04332486540079117, -0.02309737354516983, -0.01730574108660221, 0.009015928022563457, -0.018464067950844765, 0.034818943589925766, -0.0019417094299569726, -0.06106281653046608, -0.004134101327508688, 0.03215652331709862, -0.049341246485710144, -0.039071906358003616, -0.07371796667575836, 0.013415839523077011, -0.07814381271600723, 0.022717026993632317, 0.04055871069431305, 0.0339372344315052, -0.006936992052942514, 0.01797999069094658, -0.02429027669131756, -0.012611926533281803, -0.03727390617132187, 0.010485447011888027, 0.0008692850242368877, -0.0174699816852808, 0.05442405119538307, 0.015412656590342522, 0.0135800801217556, -0.011686994694173336, 0.014859425835311413, -0.04100821167230606, -0.005242723505944014, 0.02437671832740307, -0.05967973917722702, 0.004255120642483234, -0.07586172968149185, 0.009560514241456985, -0.07918111979961395, -0.003835875540971756, -0.03163786977529526, -0.0009886834304779768, -0.061270277947187424, -0.0069024148397147655, -0.002394450828433037, 0.06420931220054626, -0.026347603648900986, -0.00005632254033116624, -0.026001833379268646, 0.005839175079017878, -0.022094642743468285, 0.03592540696263313, 0.028664255514740944, -0.0020594869274646044, 0.04695544019341469, 0.008129894733428955, 0.0206769909709692, 0.11638586968183517, -0.05487355217337608, -0.0073303040117025375, -0.029269350692629814, 0.029718851670622826, -0.09460241347551346, -0.020469529554247856, 0.050378553569316864, -0.05425116792321205, -0.016138771548867226, -0.009102370589971542, -0.043636057525873184, 0.012819387950003147, -0.009525937959551811, -0.012343955226242542, 0.06981077790260315, 0.018394913524389267, 0.030652428045868874, -0.019570529460906982, 0.04629847779870033, 0.002964969724416733, -0.04854597523808479, -0.012300734408199787, -0.02273431606590748, -0.023460431024432182, 0.008186082355678082, 0.05362878367304802, 0.029753427952528, -0.02333941124379635, 0.012075984850525856, 0.007222251500934362, -0.047889016568660736, -0.024601468816399574, -0.03478436917066574, 0.026969987899065018, -0.0028007293585687876, 0.0029368759132921696, -0.023460431024432182, 0.06680258363485336, 0.0008881943067535758, 0.042944516986608505, 0.0010448709363117814, 0.027920851483941078, 0.005834852810949087, 0.005540949292480946, -0.019345778971910477, 0.058849893510341644, 0.04837309196591377, 0.06438220292329788, -0.013355330564081669, -0.031689733266830444, -0.03578709810972214, 0.002316652797162533, 0.05442405119538307, 0.03181075304746628, -0.05594543367624283, 0.03219110146164894, -0.045814402401447296, -0.062307585030794144, 0.0534558966755867, 0.023564161732792854, 0.012421753257513046, 0.011799369007349014, 0.02378891222178936, -0.021852605044841766, 0.06739038974046707, 0.014764338731765747, 0.024687910452485085, -0.0033928588964045048, -0.007399457972496748, 0.048476822674274445, 0.011937676928937435, 0.024324852973222733, 0.017858972772955894, 0.013104647397994995, 0.011643772944808006, -0.024238411337137222, 0.023892642930150032, -0.031361255794763565, -0.014945867471396923, 0.012482263147830963, 0.04080075025558472, -0.03537217527627945, 0.039590559899806976, 0.021040048450231552, 0.008432443253695965, 0.06479712575674057, 0.02862967923283577, 0.02932121604681015, 0.03236398473381996, -0.0135800801217556, 0.016156058758497238, 0.04197636619210243, 0.030514119192957878, 0.0005399940419010818, -0.0016283561708405614, -0.0237024687230587, 0.058849893510341644, 0.035233866423368454, -0.034818943589925766, 0.048926323652267456, -0.027730679139494896, 0.032848060131073, 0.013000916689634323, 0.06545408070087433, -0.0361674427986145, -0.014591454528272152, -0.00581324240192771, 0.009595091454684734, 0.024601468816399574, -0.08263880759477615, -0.027920851483941078, 0.023996373638510704, 0.06286081671714783, 0.026157429441809654, -0.018706105649471283, -0.00523407943546772, -0.05933397263288498, 0.011159696616232395, -0.03314196318387985, -0.032139234244823456, 0.010623754933476448, -0.004659238271415234, -0.021679719910025597, 0.06503915786743164, -0.05390539765357971, 0.015153328888118267, 0.03571794554591179, 0.016493184491991997 ]
41,291
pyglove.core.symbolic.ref
custom_apply
Validate candidates during value_spec binding time.
def custom_apply( self, path: object_utils.KeyPath, value_spec: pg_typing.ValueSpec, allow_partial: bool = False, child_transform: Optional[Callable[ [object_utils.KeyPath, pg_typing.Field, Any], Any]] = None ) -> Tuple[bool, Any]: """Validate candidates during value_spec binding time.""" del child_transform # Check if the field being assigned could accept the referenced value. # We do not do any transformation, thus not passing the child transform. value_spec.apply( self._value, allow_partial=allow_partial) return (False, self)
(self, path: pyglove.core.object_utils.value_location.KeyPath, value_spec: pyglove.core.typing.class_schema.ValueSpec, allow_partial: bool = False, child_transform: Optional[Callable[[pyglove.core.object_utils.value_location.KeyPath, pyglove.core.typing.class_schema.Field, Any], Any]] = None) -> Tuple[bool, Any]
[ 0.12303818017244339, -0.07323354482650757, -0.003442486049607396, 0.06966827809810638, -0.03448852524161339, -0.007603483274579048, 0.046421267092227936, -0.03736257180571556, 0.03743533045053482, -0.008049141615629196, 0.05318799987435341, 0.02944985404610634, 0.04289237782359123, -0.029777277261018753, 0.006434766110032797, 0.029777277261018753, 0.006757641211152077, 0.04616660252213478, 0.05300610139966011, 0.05169640854001045, 0.00925423949956894, -0.021646279841661453, -0.05642584711313248, 0.0027967356145381927, 0.03998195379972458, 0.05697155371308327, 0.03556174412369728, -0.014852258376777172, 0.011969119310379028, 0.02988641895353794, 0.0025761800352483988, 0.038417600095272064, 0.04078231751918793, -0.012287447229027748, 0.035870976746082306, -0.04740353301167488, -0.05507977679371834, 0.039036065340042114, -0.011450700461864471, -0.055261678993701935, 0.020318398252129555, 0.013569852337241173, -0.06006387993693352, -0.0013824515044689178, 0.013278810307383537, 0.018563048914074898, -0.013933655805885792, 0.09378841519355774, -0.00078103959094733, -0.012587584555149078, -0.0061482712626457214, -0.013788134790956974, 0.024065569043159485, 0.011014136485755444, -0.05042309686541557, 0.0219191312789917, 0.019572602584958076, 0.10550287365913391, 0.06286516040563583, -0.007849049754440784, -0.002252168022096157, 0.017262453213334084, -0.03754447028040886, -0.05926351249217987, -0.01559805404394865, -0.047185253351926804, 0.03830845654010773, -0.05562548339366913, -0.03232389688491821, 0.07199661433696747, -0.06599386781454086, -0.042746853083372116, 0.023228822275996208, 0.05318799987435341, 0.019645363092422485, -0.02130066603422165, -0.019718123599886894, 0.011332464404404163, 0.07683520019054413, -0.028485776856541634, 0.001571174245327711, -0.03143258020281792, 0.0020793615840375423, -0.09058695286512375, -0.06322896480560303, 0.01877223514020443, -0.01221468672156334, -0.018444813787937164, 0.11292445659637451, 0.03139619901776314, -0.0015245620161294937, 0.00341974850744009, -0.0022248828317970037, 0.018535763025283813, 0.03488871082663536, 0.06661233305931091, 0.023319773375988007, -0.03050488419830799, -0.0243929922580719, 0.007589840330183506, 0.013251525349915028, 0.03754447028040886, -0.016480276361107826, 0.01214192621409893, 0.08127359300851822, 0.02053667977452278, 0.007135086692869663, -0.049004267901182175, -0.009245144203305244, 0.011414320208132267, 0.018426623195409775, -0.011859978549182415, -0.010468431748449802, 0.04762181639671326, -0.05075052008032799, -0.010432051494717598, -0.01880861632525921, -0.04511157423257828, 0.013724468648433685, -0.013360666111111641, 0.059663694351911545, -0.006939542479813099, 0.017398878931999207, -0.028413016349077225, -0.0047521768137812614, 0.08018218725919724, 0.011423414573073387, 0.013478902168571949, 0.013169669546186924, 0.03918158635497093, -0.0018053725361824036, 0.010686713270843029, 0.027121515944600105, -0.0036880532279610634, 0.011814502999186516, 0.015789050608873367, 0.047840096056461334, 0.011705362237989902, -0.00022680844995193183, -0.03196009621024132, 0.007698981557041407, -0.024174710735678673, 0.07770832628011703, -0.03950900956988335, 0.04609384387731552, 0.0165257528424263, 0.00014978452236391604, 0.055334437638521194, -0.05318799987435341, 0.005075051914900541, -0.010359290987253189, 0.027612648904323578, 0.025175169110298157, 0.037871893495321274, 0.011605316773056984, 0.03330616652965546, 0.025848204270005226, -0.08265604823827744, 0.018599430099129677, -0.021609898656606674, 0.011732647195458412, -0.03430662304162979, -0.007176014594733715, 0.04805837944149971, 0.04369274154305458, 0.035197943449020386, -0.030814114958047867, -0.08287432789802551, -0.0021464377641677856, 0.029031481593847275, 0.02619381807744503, -0.015006874687969685, 0.042092010378837585, 0.05162364989519119, 0.0547887347638607, 0.050277575850486755, 0.021009624004364014, -0.052060212939977646, -0.022974161431193352, -0.011405224911868572, -0.005970917176455259, -0.017344309017062187, 0.04478415101766586, 0.008644869551062584, 0.020209258422255516, 0.052205733954906464, -0.032724082469940186, -0.011141467839479446, 0.01839933730661869, 0.014197412878274918, -0.05042309686541557, -0.008999576792120934, 0.050204817205667496, 0.0006230126600712538, -0.034070152789354324, -0.04325617849826813, 0.01283315196633339, 0.018262911587953568, 0.019172418862581253, 0.02495688758790493, -0.0369441956281662, -0.12696725130081177, 0.000040785729652270675, 0.01787182316184044, -0.07225128263235092, 0.016707653179764748, 0.02368357591331005, 0.036580394953489304, -0.027703600004315376, -0.06421123445034027, -0.06315620243549347, -0.03510699048638344, -0.01770811155438423, 0.014133747667074203, 0.006066415458917618, -0.09582571685314178, 0.030395742505788803, -0.06861324608325958, -0.01661670207977295, 0.04500243440270424, 0.09931822121143341, 0.03114153817296028, 0.056571368128061295, -0.021046005189418793, 0.09058695286512375, 0.0011277893790975213, -0.020318398252129555, -0.0447113923728466, 0.0014677178114652634, 0.027958262711763382, -0.026375718414783478, 0.004788557067513466, -0.01343342661857605, -0.025375260040163994, -0.034779567271471024, 0.02812197431921959, 0.058354005217552185, 0.013997321017086506, 0.010150103829801083, 0.008699439465999603, -0.008453872986137867, -0.01877223514020443, -0.029158812016248703, -0.017508020624518394, -0.028976909816265106, -0.05929989367723465, 0.010686713270843029, 0.009813586249947548, 0.022628547623753548, -0.014115557074546814, -0.025993725284934044, 0.004415659233927727, -0.017635351046919823, 0.03177819401025772, -0.008012761361896992, -0.025993725284934044, -0.034688618034124374, -0.01631656475365162, 0.04947721213102341, 0.018863186240196228, -0.006193746346980333, -0.0005297881434671581, -0.002482955576851964, 0.015134206041693687, -0.06832220405340195, -0.03137801215052605, 0.0027467128820717335, 0.008499347604811192, -0.010350195690989494, 0.026030106469988823, -0.10266521573066711, -0.03363358974456787, -0.017280643805861473, 0.010941375978291035, -0.03612564131617546, 0.022683117538690567, 0.004861318040639162, 0.012878626585006714, 0.04733077436685562, -0.0038267530035227537, 0.008162830024957657, -0.0037744564469903708, -0.0007077105692587793, -0.011659886687994003, -0.035816408693790436, -0.02492050640285015, -0.023501675575971603, 0.04070955887436867, -0.042746853083372116, -0.00942249782383442, -0.027630839496850967, -0.04187372699379921, 0.05238763615489006, 0.008822223171591759, 0.01850847899913788, -0.020718581974506378, -0.01802643947303295, -0.09051419049501419, -0.016971411183476448, -0.03758085146546364, -0.005316071677953005, 0.01095047127455473, -0.04234667122364044, 0.014579406008124352, 0.05438855290412903, 0.014988684095442295, 0.010504812002182007, -0.009267881512641907, -0.018090104684233665, 0.05944541469216347, -0.02319244295358658, 0.03812655806541443, -0.054061129689216614, -0.008517538197338581, 0.07443410158157349, 0.004656678531318903, 0.02612105756998062, -0.0033879156690090895, 0.0014267900260165334, -0.004135985393077135, -0.06366553157567978, -0.0008566424367018044, -0.057153455913066864, 0.024556703865528107, -0.02870405837893486, -0.006089153233915567, 0.03794465586543083, 0.016480276361107826, -0.028904149308800697, 0.02066401205956936, -0.05860866606235504, 0.03496146947145462, 0.0770534798502922, 0.01219649612903595, 0.01933613047003746, -0.03819931671023369, 0.021100575104355812, -0.0015586685622110963, 0.0015859537525102496, 0.024192901328206062, 0.017035076394677162, 0.03758085146546364, 0.02382909692823887, -0.0311961080878973, 0.02190094254910946, 0.00005037819209974259, -0.037107907235622406, 0.04558451846241951, 0.06475693732500076, -0.020463919267058372, -0.025266120210289955, -0.0623922161757946, -0.03541622310876846, -0.018426623195409775, -0.010995945893228054, -0.014161032624542713, -0.009486163966357708, -0.008976839482784271, -0.033942822366952896, -0.03563450649380684, 0.15017788112163544, -0.08651235699653625, 0.00430879183113575, 0.00686678197234869, 0.05500701814889908, 0.027794551104307175, -0.09990031272172928, -0.013515282422304153, -0.012523919343948364, 0.011687171645462513, 0.01585271582007408, -0.013888180255889893, 0.009977297857403755, -0.05166002735495567, 0.045875560492277145, -0.004613477271050215, -0.02180999144911766, 0.04180096834897995, -0.015307012014091015, -0.01065942831337452, 0.022737689316272736, 0.042201150208711624, -0.02119152620434761, -0.02748531848192215, -0.01931793987751007, -0.032869603484869, 0.037198860198259354, -0.027303416281938553, 0.016252899542450905, -0.007676243782043457, 0.004765819758176804, 0.0267759021371603, -0.02735798805952072, -0.06330172717571259, -0.006339267827570438, -0.0018258363706991076, 0.008817675523459911, -0.017753588035702705, 0.03245123103260994, -0.01928156055510044, -0.025957345962524414, 0.006521169096231461, -0.0061482712626457214, 0.04663954675197601, 0.010695808567106724, -0.033324357122182846, 0.0362347811460495, 0.05788106098771095, -0.023210633546113968, 0.07054140418767929, -0.005284239072352648, -0.013497091829776764, 0.03732619062066078, 0.034070152789354324, -0.018262911587953568, -0.037198860198259354, 0.013742659240961075, -0.045839179307222366, -0.005802658386528492, -0.024520322680473328, -0.0036312087904661894, 0.006630309857428074, -0.024793175980448723, 0.011323369108140469, 0.02062763087451458, -0.031614482402801514, 0.001709874253720045, -0.010504812002182007, 0.011941834352910519, 0.015552579425275326, -0.007262417580932379, -0.03419748321175575, -0.03366997092962265, 0.030905066058039665, -0.003995012026280165, -0.017062362283468246, -0.004834032617509365, 0.015134206041693687, 0.017826348543167114, -0.012596679851412773, -0.016944125294685364, 0.05038671940565109, 0.00684404419735074, -0.037726372480392456, -0.0006883835303597152, -0.012505728751420975, -0.014743117615580559, 0.05289695784449577, -0.037726372480392456, -0.01628018543124199, 0.02866767719388008, 0.018826806917786598, 0.024483943358063698, -0.0035084253177046776, -0.05853590741753578, 0.019245179370045662, -0.006216484121978283, -0.06392019242048264, -0.011032326146960258, -0.00042292100260965526, 0.035943739116191864, 0.006130080670118332, -0.02062763087451458, -0.059081610292196274, -0.025138787925243378, 0.01153255533427, -0.032232947647571564, 0.014133747667074203, -0.0063438150100409985, -0.01594366692006588, 0.015307012014091015, -0.03448852524161339, 0.040200233459472656, 0.0199727863073349, -0.006143723614513874, -0.006011845078319311, 0.0387086421251297, 0.008885888382792473, -0.055225297808647156, -0.022228363901376724, 0.0200637374073267, 0.0034765927121043205, 0.022992350161075592, 0.013533472083508968, 0.028576727956533432, -0.02317425236105919, -0.0012176032178103924, 0.010668523609638214, 0.0038176579400897026, 0.023519866168498993, -0.0053388094529509544, 0.018863186240196228, 0.05075052008032799, 0.03186914324760437, -0.04442035034298897, -0.07668967545032501, 0.030195651575922966, -0.023228822275996208, 0.039108823984861374, -0.02444756217300892, -0.03510699048638344, 0.007526175118982792, 0.026703141629695892, 0.07407029718160629, 0.017689920961856842, -0.0037608137354254723, -0.014570310711860657, -0.017753588035702705, 0.008394754491746426, -0.015252442099153996, -0.041437163949012756, -0.026030106469988823, 0.07588931173086166, 0.03201466426253319, 0.018244720995426178, 0.029831847175955772, 0.027303416281938553, 0.03065040521323681, -0.044020164757966995, -0.061555471271276474, 0.003310607513412833, -0.04885874688625336, -0.006025487557053566, -0.07225128263235092, 0.04303789883852005, 0.0009140550973825157, -0.034070152789354324, -0.033324357122182846, 0.02755807898938656, -0.08061874657869339, 0.024065569043159485, -0.041582684963941574, 0.06886791437864304, 0.0103411003947258, 0.010941375978291035, 0.06181013211607933, -0.005334261804819107, -0.022919589653611183, -0.12594860792160034, -0.003785825101658702, 0.01585271582007408, 0.03265132009983063, -0.009759016335010529, 0.031559910625219345, 0.03736257180571556, 0.00799002405256033, 0.02741255797445774, -0.05911799147725105, 0.03801741451025009, -0.04765819385647774, 0.013397046364843845, 0.02381090819835663, 0.008080974221229553, 0.021682659164071083, 0.0014552121283486485, 0.009586209431290627, -0.00428150687366724, 0.020245637744665146, -0.01935432106256485, -0.017680827528238297, 0.052060212939977646, -0.022628547623753548, 0.07090520858764648, -0.015307012014091015, 0.0006826990866102278, -0.0560256652534008, -0.057808298617601395, -0.008240138180553913, 0.03554355353116989, -0.010141009464859962, 0.019718123599886894, 0.024065569043159485, -0.011005041189491749, -0.022191984578967094, 0.031559910625219345, 0.004920436069369316, -0.043292559683322906, -0.013424331322312355, -0.0523148737847805, -0.030777735635638237, -0.055261678993701935, -0.034470334649086, 0.030832305550575256, -0.026011915877461433, -0.023920048028230667, -0.037162479013204575, 0.02002735622227192, 0.08469334244728088, -0.00683949701488018, -0.017617160454392433, -0.06159185245633125, -0.0028240210376679897, -0.06432037055492401, -0.028413016349077225, 0.03492508828639984, -0.01629837602376938, -0.06359276920557022, -0.007567103020846844, 0.008694891817867756, -0.046530406922101974, -0.02806740254163742, -0.034779567271471024, 0.009777205996215343, 0.04514795541763306, -0.04871322587132454, 0.014888638630509377, -0.010241054929792881, -0.009849966503679752, 0.01935432106256485, -0.014188317582011223, 0.02173723094165325, 0.03603468835353851, 0.03874502331018448, -0.026430290192365646, -0.012050975114107132, -0.019445272162556648, -0.05169640854001045, 0.045948322862386703, -0.05042309686541557, -0.019081467762589455, -0.05704431235790253, -0.009895442053675652, -0.060318540781736374, 0.0004740808217320591, -0.050350338220596313, 0.0004277527623344213, 0.008194662630558014, -0.012132830917835236, -0.0411825031042099, -0.022628547623753548, 0.022937780246138573, 0.004372457507997751, -0.012114640325307846, 0.04391102492809296, 0.022319315001368523, -0.05235125496983528, 0.018444813787937164, -0.0152433468028903, 0.003362904069945216, 0.029595375061035156, -0.017344309017062187, -0.04573003947734833, -0.05166002735495567, 0.03565269708633423, -0.03630753979086876, 0.02817654423415661, -0.04296513646841049, -0.05438855290412903, -0.02255578711628914, 0.017635351046919823, 0.00428150687366724, 0.0011363159865140915, -0.00934064295142889, -0.03632573038339615, 0.08869517594575882, -0.013551662676036358, 0.08047322928905487, -0.018244720995426178, -0.005920893978327513, 0.047767337411642075, -0.04180096834897995, -0.02555716224014759, 0.04129164293408394, -0.008572109043598175, 0.02613924629986286, -0.004051856230944395, 0.018090104684233665, -0.020136497914791107, -0.0014654439873993397, 0.012478443793952465, -0.010213769972324371, -0.05915437266230583, -0.08141911774873734, 0.062028415501117706, -0.03929072618484497, -0.06977742165327072, -0.0020293386187404394, 0.01839933730661869, -0.01031381543725729, 0.0013563031097874045, 0.003324249992147088, -0.05173278972506523, -0.01942708157002926, 0.08090978860855103, 0.0027171538677066565, -0.03126886859536171, 0.049586351960897446, 0.020936863496899605, 0.058972470462322235, -0.05104156211018562, 0.023920048028230667, -0.0625741183757782, -0.008012761361896992, 0.02251940779387951, -0.052096594125032425, -0.012360207736492157, -0.02115514501929283, 0.01663489267230034, 0.007567103020846844, 0.058317624032497406, 0.031559910625219345, 0.002362445928156376, -0.0038813233841210604, -0.02488412708044052, 0.014224697835743427, -0.03186914324760437, -0.034070152789354324, 0.002914971671998501, 0.04998653382062912, 0.00750798499211669, 0.008181020617485046, 0.044565871357917786, -0.018262911587953568, -0.06937723606824875, 0.006825854070484638, 0.0066803330555558205, 0.010441146790981293, 0.0071805622428655624, 0.052678678184747696, -0.040927838534116745, -0.0021373427007347345, 0.003840395715087652, -0.0026330244727432728, -0.0397636704146862, -0.02370176650583744, 0.02875862829387188, -0.004158723168075085, -0.006425670813769102, 0.06653957068920135, 0.019154228270053864, 0.06799478083848953, 0.03947262838482857, 0.007780836895108223, -0.014515740796923637, 0.006584834773093462, 0.009868157096207142, -0.0025488948449492455, 0.030359361320734024, -0.023519866168498993, 0.015807241201400757, 0.05136898532509804, 0.05286058038473129, 0.04016385227441788, -0.029195193201303482, 0.023228822275996208, 0.030141079798340797, -0.03812655806541443, 0.060827866196632385, 0.012023690156638622, -0.026539430022239685, 0.011059612035751343, 0.04551175609230995, 0.0410006009042263, 0.04311065748333931, 0.06242859736084938, -0.022228363901376724, -0.023428915068507195, -0.011032326146960258, -0.017398878931999207, -0.00358345964923501, -0.004408837761729956, 0.01222378108650446, -0.024793175980448723, 0.027976451441645622, 0.02124609611928463, 0.018553953617811203, 0.0014950030017644167, 0.08985934406518936 ]
41,292
pyglove.core.symbolic.ref
format
null
def format( self, compact: bool = False, verbose: bool = False, root_indent: int = 0, **kwargs: Any) -> str: value_str = object_utils.format( self._value, compact=compact, verbose=verbose, root_indent=root_indent + 1) if compact: return f'{self.__class__.__name__}({value_str})' else: return (f'{self.__class__.__name__}(\n' + ' ' * (root_indent + 1) + f'value = {value_str}\n' + ' ' * root_indent + ')')
(self, compact: bool = False, verbose: bool = False, root_indent: int = 0, **kwargs: Any) -> str
[ 0.040377963334321976, -0.027585286647081375, 0.07172174751758575, -0.000012114021956222132, 0.055446427315473557, -0.05899803340435028, 0.00027315900661051273, -0.08482475578784943, 0.027809416875243187, -0.036688432097435, -0.026637043803930283, 0.003889956511557102, -0.00922383088618517, -0.0071161421947181225, 0.03648154065012932, 0.02330956794321537, -0.015809817239642143, -0.07510094344615936, 0.0764802098274231, 0.07337686419487, 0.09558302164077759, 0.015473621897399426, -0.018844198435544968, 0.01960279420018196, 0.022602694109082222, 0.00012149379472248256, 0.026843933388590813, 0.014301246963441372, -0.05854977294802666, -0.009473822079598904, -0.0053317188285291195, 0.011939257383346558, -0.003749874886125326, 0.007163554430007935, -0.002045190427452326, -0.02463711053133011, -0.07503198087215424, 0.03411955386400223, -0.0968933179974556, -0.022654417902231216, -0.016939090564846992, -0.0028231816831976175, -0.07903184741735458, -0.014646063558757305, -0.010758262127637863, 0.009422099217772484, 0.08689365535974503, 0.043688200414180756, -0.0036981524899601936, -0.03679187595844269, 0.03370577469468117, 0.016620134934782982, -0.0363091342151165, -0.02020622231066227, -0.07003214955329895, 0.008844533003866673, 0.05292927101254463, 0.016344282776117325, 0.021826857700943947, 0.01217200793325901, -0.06503231823444366, 0.05158448591828346, 0.037791844457387924, 0.0010969461873173714, -0.08185934275388718, -0.02887834794819355, -0.03741254657506943, 0.03761943429708481, -0.03174032270908356, 0.018171807751059532, 0.04423990473151207, -0.025533631443977356, 0.003898576833307743, 0.019447628408670425, -0.008659194223582745, -0.010370343923568726, -0.07110107690095901, -0.021188948303461075, -0.010318621061742306, -0.058308400213718414, -0.04258478805422783, -0.03544709458947182, -0.029619703069329262, -0.07703191787004471, 0.006124795880168676, -0.03196445107460022, -0.007831635884940624, 0.010577233508229256, 0.012318555265665054, 0.08434201776981354, -0.0007338117575272918, 0.018068363890051842, -0.0009417789406143129, 0.05927388742566109, -0.05386027321219444, -0.002762838965281844, 0.009706572629511356, -0.06458405405282974, 0.028826626017689705, 0.05458438768982887, 0.0449640192091465, -0.07051488757133484, -0.03803321346640587, -0.008939357474446297, -0.03651602566242218, 0.012706472538411617, -0.013473688624799252, 0.04499850049614906, 0.04292960464954376, 0.02546466886997223, -0.025395704433321953, -0.0505155585706234, -0.028033548966050148, -0.06003248319029808, 0.0525844544172287, -0.007370444014668465, -0.004607604816555977, 0.06041177734732628, 0.0247405543923378, -0.06392890214920044, 0.017758028581738472, -0.0035257444251328707, -0.0010770114604383707, 0.010128973051905632, -0.05517057329416275, 0.032119620591402054, 0.0054610250517725945, 0.0020419578067958355, 0.0059868693351745605, 0.010223797522485256, -0.030395537614822388, 0.006301513873040676, 0.005370510742068291, -0.015335695818066597, 0.08868669718503952, 0.0247405543923378, 0.0007467423565685749, 0.008219553157687187, -0.03051622398197651, 0.10716883838176727, 0.025947410613298416, -0.005254135001450777, -0.02827491983771324, -0.01784423179924488, 0.019206255674362183, -0.026447394862771034, 0.05489472299814224, 0.06748051196336746, -0.043688200414180756, -0.00010418564488645643, 0.022516490891575813, 0.046239838004112244, 0.038722846657037735, 0.002657239092513919, 0.016171874478459358, 0.016533931717276573, -0.022930270060896873, -0.03237823024392128, 0.07337686419487, -0.016335662454366684, -0.016258079558610916, 0.011870293878018856, 0.013344382867217064, 0.014456414617598057, 0.044067494571208954, 0.029430054128170013, -0.03289545327425003, -0.007482509128749371, -0.01856834627687931, 0.004874837584793568, 0.012482342310249805, -0.06392890214920044, -0.02363714389503002, 0.07592850178480148, 0.009904841892421246, 0.03496435284614563, 0.008042835630476475, 0.015059842728078365, -0.009835879318416119, -0.041722748428583145, -0.019051089882850647, -0.012258212082087994, 0.014301246963441372, 0.009741054847836494, 0.028326641768217087, -0.06196345016360283, 0.03999866545200348, -0.048515625298023224, 0.047170840203762054, -0.003426609793677926, 0.03661946952342987, 0.044377829879522324, -0.023947477340698242, 0.0191890150308609, -0.004508470185101032, -0.0317920446395874, 0.0701700747013092, -0.08585920929908752, 0.06892873346805573, -0.009482442401349545, -0.04444679245352745, 0.03463677689433098, -0.006896321661770344, -0.04417094215750694, 0.019137293100357056, -0.0028943000361323357, 0.020275186747312546, -0.04113655909895897, -0.011120319366455078, -0.0107237808406353, 0.002952487673610449, -0.0032843733206391335, -0.019240736961364746, 0.0040063317865133286, 0.018930403515696526, -0.06992870569229126, 0.07689398527145386, -0.010034148581326008, -0.015654651448130608, 0.06168759986758232, 0.04751565679907799, -0.07151485979557037, 0.0005436241044662893, 0.003924438264220953, -0.03537813201546669, -0.0008544973679818213, 0.017706306651234627, -0.039240069687366486, -0.005323098506778479, -0.018102845177054405, 0.01413745991885662, -0.019464869052171707, -0.04403301328420639, 0.03865388408303261, -0.07972148060798645, 0.04879147559404373, 0.020982058718800545, -0.029843833297491074, -0.04220549017190933, -0.040791742503643036, 0.00512913940474391, -0.030981725081801414, 0.004646396730095148, 0.009551405906677246, 0.03084379993379116, -0.07241138070821762, -0.008327309042215347, 0.019464869052171707, -0.020913096144795418, 0.032343748956918716, 0.0003496650606393814, 0.026326708495616913, 0.03610224649310112, 0.017895955592393875, -0.046653617173433304, -0.006935113575309515, -0.03968833386898041, 0.04465368390083313, 0.00896521843969822, 0.007616125512868166, -0.044101979583501816, -0.06730809807777405, -0.035516057163476944, 0.036653950810432434, 0.055205054581165314, 0.007810084614902735, -0.009878980927169323, -0.03361956775188446, 0.00278654508292675, 0.013611615635454655, -0.01129272673279047, 0.021930303424596786, -0.007913528941571712, 0.03382645919919014, -0.0522051565349102, -0.033654049038887024, -0.017964918166399002, -0.01803388074040413, -0.040895190089941025, -0.05372234806418419, -0.009628989733755589, -0.04751565679907799, 0.0004832812992390245, -0.026343949139118195, 0.07316997647285461, -0.013421966694295406, 0.022292360663414, -0.038102179765701294, 0.009965185075998306, 0.024809516966342926, 0.028016306459903717, -0.011603061109781265, 0.02734391577541828, 0.012551305815577507, 0.04679154232144356, -0.017352869734168053, -0.016990812495350838, -0.0058273919858038425, -0.04072277992963791, -0.06534264981746674, -0.016990812495350838, -0.026688765734434128, 0.022930270060896873, 0.022033747285604477, 0.01278405636548996, 0.009404858574271202, -0.014654683880507946, 0.004430886823683977, 0.014732267707586288, 0.023947477340698242, -0.005861873738467693, 0.04468816518783569, 0.019240736961364746, 0.022533731535077095, -0.015508104115724564, 0.027585286647081375, -0.0023964717984199524, -0.0321713425219059, 0.012318555265665054, 0.02341301180422306, 0.009404858574271202, -0.029533497989177704, -0.04055037349462509, 0.050998300313949585, 0.033878181129693985, -0.04137793183326721, -0.040998633950948715, 0.008085937239229679, 0.027188748121261597, -0.01371506042778492, 0.0015559826279059052, -0.041619300842285156, 0.005301547236740589, 0.024499183520674706, 0.0007494362071156502, -0.016870127990841866, 0.01128410641103983, -0.0012725868728011847, -0.024050923064351082, 0.006430820096284151, 0.04899836704134941, 0.037998732179403305, -0.03084379993379116, -0.028636977076530457, -0.07248034328222275, -0.013646096922457218, 0.004978282377123833, -0.014120219275355339, 0.0299127958714962, -0.011887534521520138, -0.06934251636266708, -0.037688396871089935, 0.017611481249332428, 0.009060042910277843, -0.02432677522301674, -0.036757394671440125, 0.011197902262210846, -0.011301347054541111, -0.025326741859316826, 0.013827125541865826, -0.0020527332089841366, -0.0046765683218836784, 0.0816524475812912, 0.02167169190943241, 0.035516057163476944, -0.015594307333230972, 0.004538641776889563, -0.0030537776183336973, 0.03258512169122696, -0.020464835688471794, -0.021619968116283417, 0.025016406551003456, 0.036688432097435, -0.08641090989112854, -0.06127382069826126, 0.06796324998140335, 0.0021583333145827055, -0.00041458747000433505, -0.033774737268686295, -0.07172174751758575, 0.09179004281759262, 0.01351679116487503, 0.005607571452856064, 0.023430252447724342, -0.01579257659614086, 0.027326675131917, 0.023137159645557404, -0.0005570934736169875, 0.007991112768650055, 0.031619634479284286, -0.05072244629263878, 0.011646163649857044, 0.009870360605418682, 0.021188948303461075, -0.013034048490226269, 0.033360958099365234, 0.01908557116985321, -0.03855044022202492, -0.03249891474843025, -0.013758162036538124, 0.008581610396504402, -0.08647987246513367, 0.004402870312333107, -0.012853019870817661, 0.01128410641103983, -0.04941214621067047, 0.07406649738550186, -0.00621100002899766, -0.015516724437475204, 0.08137659728527069, -0.00554291857406497, -0.01367195788770914, -0.03298166021704674, 0.022016506642103195, 0.053377531468868256, -0.044584721326828, -0.06296341866254807, -0.013680578209459782, -0.044791609048843384, -0.01521501038223505, -0.028033548966050148, 0.05175689607858658, -0.043481308966875076, 0.04358475282788277, -0.003792976960539818, -0.04827425256371498, 0.0008889790042303503, 0.01898212544620037, 0.0705493688583374, -0.0023900065571069717, -0.003025761106982827, 0.017171841114759445, 0.029343849048018456, 0.008939357474446297, 0.017895955592393875, -0.0494811087846756, 0.01786147430539131, -0.026861174032092094, 0.01730976812541485, 0.03348164260387421, 0.051412079483270645, -0.015189148485660553, -0.02187858149409294, -0.010223797522485256, -0.059032514691352844, 0.01474088802933693, -0.034378163516521454, 0.004499849863350391, -0.03968833386898041, 0.003555916016921401, 0.07337686419487, 0.013059909455478191, -0.016059810295701027, -0.011577200144529343, -0.011784089729189873, -0.0330161415040493, -0.027585286647081375, -0.017189081758260727, 0.004823115188628435, -0.02598189190030098, -0.04527435451745987, 0.0014751662965863943, 0.0012456481344997883, 0.029740387573838234, -0.031067930161952972, -0.012982325628399849, 0.01169788558036089, 0.02486124075949192, -0.03246443346142769, -0.030981725081801414, -0.0027649940457195044, -0.0006071995594538748, -0.007629055995494127, 0.0660322830080986, 0.004909318871796131, 0.03682635724544525, -0.03093000315129757, -0.04134345054626465, -0.07523886859416962, -0.034378163516521454, -0.03651602566242218, -0.011241004802286625, 0.009353136643767357, -0.0036097934935241938, 0.045826058834791183, 0.08144555985927582, 0.06934251636266708, 0.0536189004778862, 0.036550506949424744, 0.02958521991968155, -0.019223496317863464, 0.07289411872625351, -0.05199826508760452, 0.010318621061742306, -0.0356539823114872, 0.016025327146053314, -0.017671825364232063, -0.0702735185623169, -0.03796425089240074, 0.04772254824638367, 0.008310067467391491, 0.0014439173974096775, 0.006534264888614416, -0.00834885984659195, 0.017464935779571533, 0.0033533365931361914, 0.009611748158931732, 0.06865288317203522, 0.02806803025305271, -0.019447628408670425, 0.016568413004279137, -0.03153343126177788, 0.01730976812541485, 0.01980968378484249, -0.025326741859316826, -0.04341234639286995, -0.02496468462049961, 0.014516757801175117, 0.033774737268686295, -0.0026292225811630487, -0.03886077180504799, 0.04641224443912506, -0.03241271153092384, 0.0178269911557436, -0.032119620591402054, 0.05596365034580231, 0.036136727780103683, -0.003002054989337921, -0.020688965916633606, 0.012387517839670181, 0.0009719503577798605, 0.0018048967467620969, 0.00727130938321352, 0.0221544336527586, -0.03896421939134598, -0.004329597111791372, -0.045929502695798874, 0.036757394671440125, -0.031412746757268906, -0.041826192289590836, 0.037067729979753494, 0.013413346372544765, 0.012620269320905209, -0.03399886563420296, 0.03672291338443756, -0.024792276322841644, 0.05186033993959427, 0.018068363890051842, -0.0022132883314043283, -0.01372368074953556, -0.012870260514318943, -0.07137692719697952, -0.01929246075451374, 0.020137259736657143, -0.028205955401062965, 0.011266865767538548, -0.0009972727857530117, 0.04165378212928772, 0.05920492112636566, 0.033067863434553146, -0.0030343816615641117, 0.055342983454465866, 0.05441197752952576, -0.007702329196035862, 0.01844766177237034, 0.00809455756098032, 0.007185105234384537, -0.01578395627439022, -0.008702295832335949, 0.02598189190030098, -0.02155100554227829, 0.02599913254380226, 0.046343281865119934, 0.01515466719865799, -0.002827491844072938, 0.03498159348964691, -0.03637809678912163, 0.06644605845212936, -0.009577266871929169, 0.04523986950516701, -0.05272237956523895, -0.002635688055306673, 0.04786047339439392, -0.0633082315325737, 0.0013480153866112232, 0.03127481788396835, 0.00662477919831872, -0.005086037330329418, -0.0067239138297736645, 0.0012381052365526557, -0.012939224019646645, -0.042033080011606216, -0.015430520288646221, -0.007409235928207636, 0.06503231823444366, -0.021309634670615196, -0.007555782794952393, -0.04423990473151207, 0.04930870234966278, 0.040377963334321976, -0.0591704398393631, 0.004448127467185259, -0.03186100721359253, 0.0480673648416996, 0.011301347054541111, -0.006323065143078566, 0.06010144576430321, 0.020499316975474358, -0.006654950324445963, -0.015723614022135735, 0.009310034103691578, 0.08068696409463882, -0.04689498990774155, -0.0030106755439192057, 0.0010996400378644466, 0.0024675901513546705, -0.03575742989778519, 0.0029029203578829765, -0.05723947286605835, -0.0439295694231987, -0.0016464968211948872, 0.051515523344278336, -0.09110040962696075, 0.009447961114346981, -0.01515466719865799, 0.030567945912480354, -0.02618878148496151, 0.0046765683218836784, 0.010404825210571289, -0.047584619373083115, 0.02206823043525219, 0.03272304683923721, -0.026895655319094658, -0.02813699282705784, -0.07723880559206009, -0.02453366480767727, -0.0047800131142139435, 0.039653848856687546, -0.06441164761781693, 0.01701667346060276, -0.003829613793641329, -0.054205089807510376, -0.03351612389087677, 0.0553085021674633, -0.02813699282705784, -0.019464869052171707, -0.028602493926882744, -0.05910147726535797, -0.0056506735272705555, 0.018085604533553123, -0.07310101389884949, 0.019240736961364746, -0.023378530517220497, -0.027895621955394745, 0.005598951131105423, 0.028585253283381462, 0.0387573279440403, 0.048515625298023224, -0.016439106315374374, 0.03158515319228172, -0.024412978440523148, -0.039446961134672165, 0.01216338761150837, -0.0030063653830438852, 0.040584854781627655, 0.00058672612067312, -0.0536189004778862, -0.009404858574271202, 0.030378296971321106, -0.041826192289590836, 0.0026981858536601067, 0.033154066652059555, 0.0004781629249919206, 0.033791977912187576, -0.10744469612836838, -0.037067729979753494, -0.006745464634150267, 0.07351478934288025, 0.01217200793325901, -0.06661847233772278, 0.07082522660493851, -0.035222962498664856, -0.02546466886997223, 0.011197902262210846, 0.004127017688006163, -0.06527368724346161, 0.005073106847703457, 0.024068163707852364, -0.009482442401349545, -0.032326508313417435, -0.03692980483174324, -0.039860740303993225, -0.022395804524421692, -0.018844198435544968, -0.013904708437621593, -0.00706872995942831, 0.050998300313949585, 0.01844766177237034, 0.02999899908900261, -0.05527402088046074, -0.0000880223888088949, 0.005624812562018633, 0.03589535504579544, 0.019551072269678116, 0.06648053973913193, 0.013223697431385517, 0.06968732923269272, -0.013982292264699936, -0.0028231816831976175, 0.01283577922731638, 0.05741187930107117, 0.09461753815412521, -0.0016464968211948872, 0.02134411595761776, -0.04689498990774155, -0.005736877676099539, 0.01536155678331852, -0.008370410650968552, 0.029533497989177704, 0.033154066652059555, -0.051308635622262955, 0.039964184165000916, -0.002543018665164709, -0.011232384480535984, 0.04034348204731941, 0.07082522660493851, 0.009215209633111954, 0.03927455097436905, 0.020361389964818954, -0.03517124056816101, 0.003252046648412943, 0.028895588591694832, -0.010637576691806316, -0.014611582271754742, 0.06179104372859001, 0.026154300197958946, 0.006672191433608532, 0.02186134085059166, 0.02339577116072178, 0.024826757609844208, 0.000350473215803504, 0.08130763471126556, -0.01005138922482729, 0.010585853829979897, -0.019033847376704216, 0.03992970287799835, 0.010249658487737179, 0.05279134213924408, -0.04303304851055145, 0.02103378064930439, -0.015146046876907349, -0.013749541714787483, -0.025654317811131477, 0.00902556162327528, 0.11565131694078445, -0.02248200960457325, -0.027516324073076248, -0.010508270002901554, 0.034378163516521454, -0.045998465269804, -0.014025394804775715, -0.08792810142040253, 0.002106610918417573, 0.04782599210739136, -0.008939357474446297, 0.05499816685914993, -0.050687965005636215, 0.01262888964265585 ]
41,293
pyglove.core.symbolic.ref
infer
Returns the referenced value.
def infer(self, **kwargs) -> Any: """Returns the referenced value.""" return self._value
(self, **kwargs) -> Any
[ 0.052485257387161255, -0.06469269096851349, 0.0742507129907608, 0.02637677639722824, 0.0041103670373559, 0.0057683479972183704, 0.048427291214466095, -0.03776255622506142, 0.05838775262236595, -0.0145885543897748, 0.014320258982479572, 0.03689059615135193, -0.00479577761143446, 0.004774816799908876, 0.029713699594140053, 0.07653121650218964, -0.07136653363704681, 0.08759839832782745, 0.05355843901634216, 0.08028735220432281, 0.006292362231761217, -0.07948246598243713, -0.045174211263656616, -0.014345411211252213, -0.0035549120511859655, -0.06486037373542786, 0.028070390224456787, -0.030065836384892464, -0.009423870593309402, 0.051713909953832626, -0.02339199185371399, -0.036555226892232895, -0.005051496438682079, -0.011888833716511726, 0.028640517964959145, -0.021027639508247375, -0.05560418963432312, 0.10637906938791275, -0.055067598819732666, -0.05443039909005165, -0.07176897674798965, -0.046649836003780365, -0.033805202692747116, 0.0006392973009496927, -0.04846083000302315, -0.010991721414029598, -0.003978315740823746, -0.04718642681837082, -0.005277870688587427, -0.010237140581011772, 0.023274613544344902, -0.01876389980316162, 0.002789851278066635, 0.016215093433856964, -0.013381225988268852, 0.03937232866883278, -0.028757896274328232, 0.01390104740858078, -0.04946693778038025, 0.06066826358437538, 0.006992444861680269, -0.0022595489863306284, 0.04118332266807556, -0.013708210550248623, 0.013867510482668877, 0.018076391890645027, 0.014672396704554558, 0.02532036416232586, -0.025085605680942535, 0.042088817805051804, -0.006954716052860022, -0.06838174909353256, -0.03608570992946625, 0.02968016266822815, 0.06697320193052292, -0.04171990975737572, -0.0405796580016613, -0.00030392821645364165, 0.026594767346978188, -0.028741128742694855, -0.0039091454818844795, 0.0036722912918776274, -0.06502806395292282, -0.03217866271734238, 0.01217389665544033, -0.043866273015737534, -0.042793091386556625, 0.0014599034329876304, 0.0012754504568874836, 0.05231757462024689, -0.012064902111887932, 0.018244076520204544, -0.03206128254532814, 0.05815299600362778, -0.02059166133403778, -0.003873512614518404, 0.0017826962284743786, -0.04601263627409935, 0.010773731395602226, -0.0008033136837184429, 0.04017721489071846, 0.0356161929666996, 0.004070541821420193, -0.014705933630466461, 0.018177002668380737, -0.0271984301507473, 0.02444840408861637, -0.0361192487180233, 0.0509425587952137, -0.007747025229036808, -0.03896988555788994, -0.026142017915844917, -0.05161329731345177, 0.0677110105752945, -0.06693966686725616, -0.0006916986894793808, -0.03564973175525665, 0.0011769358534365892, 0.028070390224456787, 0.0831044539809227, -0.000967330124694854, 0.01407711673527956, -0.032396651804447174, 0.002844348782673478, -0.0029994570650160313, 0.03149115666747093, 0.016122868284583092, -0.028992654755711555, 0.0039971801452338696, 0.0013949256390333176, 0.0306862685829401, 0.008006935939192772, -0.03930525481700897, 0.027366114780306816, 0.014337027445435524, 0.08243371546268463, 0.052787091583013535, 0.045844949781894684, 0.02419687807559967, 0.040009528398513794, -0.0057683479972183704, 0.04195467010140419, 0.06546404212713242, -0.05261940509080887, 0.00829619262367487, 0.035280823707580566, 0.01390104740858078, 0.059528008103370667, -0.06563172489404678, 0.024632858112454414, 0.015753962099552155, 0.01288655586540699, 0.041619300842285156, 0.030719805508852005, 0.00023305529612116516, -0.016550462692975998, -0.0071433610282838345, -0.0007860212353989482, -0.008769900538027287, -0.017221201211214066, -0.028741128742694855, -0.00783505942672491, 0.028372222557663918, -0.023911813274025917, 0.0247502364218235, 0.062881700694561, 0.018227308988571167, -0.011394163593649864, 0.02044074423611164, 0.030065836384892464, -0.032799094915390015, -0.011528311297297478, -0.05929325148463249, -0.0033620749600231647, 0.003630370134487748, 0.07384826987981796, 0.002781467279419303, 0.037158891558647156, 0.010622815228998661, 0.08129346370697021, -0.0034480132162570953, -0.045643728226423264, -0.06687258929014206, -0.03836622089147568, 0.07840928435325623, 0.05047304555773735, 0.0006057603750377893, -0.004779009148478508, 0.047655943781137466, 0.028338685631752014, 0.0002774655004031956, 0.014940692111849785, 0.036655839532613754, -0.009247802197933197, -0.03429148718714714, -0.04809192195534706, 0.010664735920727253, -0.00511018605902791, -0.02892558090388775, 0.01851237192749977, -0.03967415913939476, -0.06455854326486588, 0.0032111587934195995, 0.0390704944729805, -0.05647614970803261, -0.006271401420235634, 0.022738022729754448, 0.0008289904217235744, -0.019116036593914032, -0.04275955632328987, -0.04296077787876129, -0.0005486428271979094, 0.02023952268064022, 0.0025655734352767467, 0.01648338884115219, -0.12261092662811279, -0.015871340408921242, -0.04594556242227554, 0.00032803285284899175, 0.0771348848938942, 0.09725702553987503, -0.04212235286831856, 0.019770005717873573, -0.0001591692998772487, 0.058220069855451584, -0.046649836003780365, -0.03658876568078995, -0.057918235659599304, -0.010035919025540352, -0.05838775262236595, 0.010815652087330818, -0.02166484110057354, -0.017539801076054573, 0.0037812860682606697, 0.031021637842059135, 0.03967415913939476, 0.011804991401731968, -0.020625198259949684, -0.05147914960980415, 0.012710487470030785, 0.014269953593611717, 0.025840185582637787, 0.010513819754123688, 0.04795777425169945, -0.0015238331397995353, -0.003359978785738349, 0.04926571622490883, 0.07539096474647522, -0.04175344854593277, -0.012567956000566483, 0.06174144521355629, -0.022100821137428284, 0.01800931803882122, 0.031373776495456696, 0.042893704026937485, -0.012676950544118881, 0.013867510482668877, -0.010010766796767712, 0.05241818353533745, 0.006933755241334438, 0.013691442087292671, 0.011637306772172451, 0.05141207575798035, 0.09249478578567505, -0.09316552430391312, -0.017891939729452133, -0.043597977608442307, -0.057549331337213516, -0.05332368239760399, 0.008920816704630852, -0.009549633599817753, -0.008593832142651081, 0.006221096031367779, -0.02642708271741867, -0.05305538699030876, -0.04658276215195656, -0.01876389980316162, 0.034677162766456604, -0.046046171337366104, -0.0062881698831915855, -0.006791223306208849, -0.062881700694561, -0.00791051797568798, -0.0029784964863210917, -0.05178098380565643, 0.01953524723649025, -0.005533589515835047, -0.006342667620629072, 0.01871359348297119, -0.04825960844755173, 0.0841105580329895, -0.04118332266807556, 0.04658276215195656, 0.02973046712577343, 0.05597309768199921, -0.006384588312357664, -0.05707981437444687, -0.0043556056916713715, 0.04343029484152794, -0.006154022179543972, 0.01841176114976406, 0.0011507350718602538, -0.026393545791506767, 0.03598510101437569, 0.034123800694942474, 0.018193772062659264, 0.020876724272966385, -0.0021987634245306253, -0.0037749980110675097, 0.037863168865442276, -0.029713699594140053, -0.016357626765966415, -0.06026582047343254, 0.03326861187815666, -0.04282663017511368, -0.05325660854578018, 0.003928010351955891, 0.006610962562263012, -0.0013551006559282541, 0.04393334686756134, -0.012769176624715328, -0.02236911654472351, -0.006971484515815973, 0.017623644322156906, -0.028741128742694855, -0.005583894904702902, -0.058521900326013565, 0.026058176532387733, 0.004204689525067806, 0.029764004051685333, -0.021899599581956863, -0.021698378026485443, 0.022738022729754448, 0.030887490138411522, -0.042893704026937485, -0.008463876321911812, 0.040915027260780334, 0.04976876825094223, 0.0583542175590992, -0.023760898038744926, -0.03403995931148529, 0.0018927390919998288, -0.009088501334190369, 0.01653369516134262, 0.007067902944982052, 0.06083594635128975, 0.013272230513393879, -0.0030099372379481792, 0.11100716143846512, 0.0040181404910981655, -0.047052279114723206, -0.03551558405160904, -0.010664735920727253, 0.020105374976992607, 0.014152574352920055, 0.006820568349212408, -0.032346345484256744, -0.007956631481647491, 0.0045358664356172085, -0.008371650241315365, 0.021077945828437805, -0.022000210359692574, -0.003240503603592515, 0.020524587482213974, 0.05627492815256119, 0.047354113310575485, -0.07230556756258011, 0.030149679630994797, -0.02314046584069729, -0.03826560825109482, -0.033603981137275696, -0.027114588767290115, -0.02018921822309494, -0.01009460911154747, 0.012098439037799835, 0.030669501051306725, -0.03699120879173279, 0.039841845631599426, 0.014119037427008152, 0.05137854069471359, 0.013808821327984333, -0.0021180652547627687, -0.021295934915542603, 0.01531798206269741, 0.012995551340281963, 0.0009416534448973835, -0.03186006098985672, -0.058119457215070724, 0.008962738327682018, 0.046348005533218384, -0.009272954426705837, -0.026309702545404434, -0.027818864211440086, -0.04752179607748985, 0.01886451058089733, -0.01993769034743309, 0.0008452348411083221, -0.026611534878611565, -0.005881534889340401, 0.008149468339979649, -0.0013959737261757255, -0.00037938624154776335, -0.004275955725461245, 0.048729125410318375, -0.022234968841075897, -0.004938309546560049, 0.03444240242242813, 0.050405971705913544, 0.00695052370429039, -0.018126698210835457, -0.008015320636332035, -0.046750448644161224, -0.03501252830028534, 0.007491306401789188, 0.029965225607156754, 0.003355786669999361, 0.018680056557059288, -0.006300746463239193, 0.02622586116194725, -0.023308150470256805, 0.015376671217381954, 0.03927171602845192, -0.0027626026421785355, 0.043094925582408905, 0.016751684248447418, -0.008317152969539165, 0.013532141223549843, 0.045073602348566055, 0.006208519916981459, 0.029042961075901985, 0.023207539692521095, -0.04742118716239929, -0.005076649133116007, -0.019266951829195023, 0.018680056557059288, 0.027567336335778236, -0.004309492651373148, -0.05017121136188507, 0.015787499025464058, -0.0050431122072041035, -0.009801160544157028, 0.060601189732551575, 0.005416210275143385, -0.014840081334114075, -0.0033432103227823973, -0.06392133980989456, -0.04088148847222328, 0.030820416286587715, -0.04125039651989937, -0.06053411588072777, 0.021027639508247375, -0.043296147137880325, 0.056744445115327835, 0.002059375634416938, -0.03628693148493767, -0.025588659569621086, -0.05600663274526596, -0.04044551029801369, 0.030602427199482918, -0.021128250285983086, 0.005847997963428497, -0.03668937459588051, -0.03373812884092331, -0.06935432553291321, -0.013146467506885529, 0.049332790076732635, -0.004544250667095184, -0.018646519631147385, -0.0979277640581131, -0.010362903587520123, 0.0772019550204277, -0.019367562606930733, -0.016223479062318802, -0.040512584149837494, 0.0014431349700316787, 0.024632858112454414, -0.03839975595474243, -0.053793199360370636, 0.007583532948046923, -0.061808519065380096, -0.022050516679883003, 0.005919264163821936, 0.00783505942672491, -0.0038798009045422077, 0.019401099532842636, 0.030870722606778145, -0.018478835001587868, 0.015862956643104553, 0.04718642681837082, 0.011301937513053417, -0.031189322471618652, 0.12294629961252213, 0.04789070039987564, 0.012140359729528427, -0.03221219778060913, 0.0002461556578055024, 0.014680780470371246, -0.021195324137806892, 0.03776255622506142, 0.03357044234871864, 0.001589859020896256, 0.0014431349700316787, 0.021010871976614, 0.01750626415014267, -0.003460589563474059, -0.04296077787876129, -0.027466725558042526, -0.0015091607347130775, -0.04785716533660889, 0.016718147322535515, 0.011888833716511726, -0.0003186006215400994, 0.04550958052277565, 0.022855401039123535, -0.0003888185019604862, -0.026695378124713898, 0.025555122643709183, -0.02552158571779728, -0.011855296790599823, -0.020407207310199738, -0.015208986587822437, 0.03605217486619949, -0.030149679630994797, -0.009440639056265354, -0.010228756815195084, 0.003586352802813053, -0.020407207310199738, 0.001189512200653553, 0.01918311044573784, 0.02983107790350914, -0.0005570270586758852, -0.07103116810321808, -0.0022511647548526525, 0.02880820259451866, -0.0074326167814433575, -0.004615516867488623, -0.030099373310804367, 0.009876619093120098, -0.06787870079278946, -0.008828590624034405, 0.020457513630390167, 0.0029764005448669195, -0.0500035285949707, 0.026360008865594864, 0.038634516298770905, -0.057046279311180115, -0.05718042701482773, 0.03568326681852341, 0.03301708400249481, 0.03331891819834709, -0.06908603012561798, -0.06536342948675156, 0.03474423661828041, 0.06013167276978493, -0.05523528531193733, 0.0028191960882395506, -0.006514544133096933, 0.034576550126075745, 0.04011014103889465, 0.005982145667076111, 0.04829314351081848, 0.012609876692295074, 0.08263494074344635, 0.024280719459056854, 0.009633475914597511, 0.029294487088918686, 0.007575148716568947, 0.05231757462024689, -0.008644137531518936, -0.07042749971151352, -0.0049844225868582726, -0.024364562705159187, 0.031725913286209106, 0.012643413618206978, 0.02059166133403778, 0.05764994025230408, -0.040713805705308914, -0.012945245951414108, -0.016357626765966415, -0.03281586244702339, -0.014655628241598606, 0.01534313429147005, 0.03598510101437569, -0.0405796580016613, 0.006460046395659447, -0.01923341490328312, 0.013305767439305782, 0.03990891948342323, -0.06670490652322769, -0.034777771681547165, -0.03776255622506142, -0.05567126348614693, -0.06888480484485626, 0.04416810721158981, 0.05181451886892319, -0.039238180965185165, -0.03534789755940437, 0.0018099448643624783, 0.03434179350733757, -0.0751897469162941, -0.017271507531404495, 0.002452386310324073, 0.002328719012439251, -0.007755409460514784, -0.006531312596052885, -0.012417039833962917, -0.012199049815535545, 0.03772902116179466, 0.005516821052879095, -0.016801990568637848, 0.022922474890947342, 0.013079393655061722, 0.004003467969596386, 0.013540525920689106, -0.007461961824446917, 0.01501614972949028, -0.02516944892704487, 0.05463162064552307, -0.092964306473732, 0.026058176532387733, -0.04463762044906616, -0.0100191505625844, -0.038232073187828064, 0.025236522778868675, 0.022302042692899704, 0.04936632513999939, 0.014974229037761688, -0.07036042958498001, 0.0021212093997746706, 0.0007205194560810924, 0.04265894368290901, 0.03357044234871864, 0.06194266676902771, -0.025052068755030632, 0.00669480487704277, 0.006359436083585024, 0.02094379812479019, 0.018495604395866394, -0.01110910065472126, -0.009113654494285583, -0.03491191938519478, 0.03444240242242813, -0.030820416286587715, 0.03409026563167572, 0.009373565204441547, -0.009222649037837982, -0.06516221165657043, -0.02389504574239254, -0.0026074943598359823, 0.04825960844755173, -0.04346382990479469, 0.02246972732245922, 0.00024117752036545426, 0.016475005075335503, 0.03313446417450905, 0.022436190396547318, 0.03370459005236626, 0.010312599129974842, 0.004129231441766024, 0.00036759593058377504, -0.08035442978143692, -0.015745578333735466, -0.06881773471832275, -0.03326861187815666, 0.06439086049795151, 0.010128146037459373, -0.10168389976024628, -0.040009528398513794, 0.04460408538579941, -0.011637306772172451, -0.008727979846298695, 0.004072638228535652, 0.014286722056567669, -0.03236311301589012, -0.03328537940979004, -0.05463162064552307, 0.018227308988571167, 0.010865957476198673, 0.014219648204743862, -0.019367562606930733, 0.024163341149687767, -0.02384474128484726, -0.020725807175040245, 0.045476045459508896, -0.054262712597846985, -0.043396756052970886, -0.027969779446721077, 0.07109823822975159, 0.018529141321778297, -0.05768347904086113, -0.00999399833381176, -0.06083594635128975, -0.02034013345837593, 0.002842252841219306, -0.018646519631147385, -0.06009813770651817, -0.05104317143559456, -0.052082814276218414, 0.006384588312357664, 0.009415486827492714, 0.03917110711336136, 0.005026343744248152, 0.002462866483256221, -0.04779009148478508, 0.049500472843647, 0.05104317143559456, 0.03568326681852341, 0.004148096311837435, -0.029110034927725792, -0.022084053605794907, 0.013683057390153408, 0.029847847297787666, -0.013750131241977215, -0.010186835192143917, -0.0077596018090844154, 0.016097715124487877, -0.02912680245935917, 0.06975676864385605, -0.06274755299091339, 0.04919864237308502, -0.015326365828514099, -0.005617431830614805, 0.03296677768230438, -0.0002717013412620872, 0.03232957795262337, 0.05731457099318504, 0.031725913286209106, -0.024230415001511574, 0.006912794895470142, 0.023609982803463936, 0.09289722889661789, 0.03236311301589012, 0.038232073187828064, 0.007281700614839792, 0.005504244938492775, -0.013733362779021263, 0.026343239471316338, -0.012509265914559364, -0.01943463645875454, 0.013314152136445045, -0.019266951829195023, 0.02034013345837593, -0.03414057195186615, 0.0440339595079422, -0.0023769282270222902, -0.024129804223775864, 0.014882002025842667, 0.00557970255613327, 0.01968616433441639, -0.047823626548051834, -0.0031629495788365602, 0.0782080665230751, 0.038735125213861465, 0.026360008865594864, 0.061808519065380096, -0.006003106012940407, 0.041585762053728104, -0.05292123928666115, -0.022385884076356888, -0.03120609186589718, -0.062278036028146744, -0.018797436729073524, -0.03454301506280899, 0.012609876692295074, -0.006627731025218964, 0.047823626548051834, 0.00031598054920323193, 0.06257987022399902 ]
41,306
pyglove.core.symbolic.ref
sym_eq
null
def sym_eq(self, other: Any) -> bool: return isinstance(other, Ref) and self.value is other.value
(self, other: Any) -> bool
[ 0.08230825513601303, -0.07449952512979507, 0.03269466757774353, 0.05515356734395027, -0.04910355806350708, -0.0218257587403059, -0.019662529230117798, -0.007342670578509569, 0.03010934591293335, 0.01201208122074604, 0.008776030503213406, -0.05146024748682976, 0.08160477131605148, 0.0444253534078598, -0.023179976269602776, -0.01848418451845646, -0.019697703421115875, 0.03826982155442238, 0.014588611200451851, 0.013656487688422203, -0.03658144921064377, 0.0335916168987751, 0.0003921403840649873, -0.016065938398241997, 0.008512221276760101, 0.07421813160181046, 0.013287155888974667, 0.02544872835278511, -0.05948002636432648, 0.07829836755990982, -0.021808171644806862, -0.036898016929626465, 0.033538855612277985, -0.008309968747198582, 0.08920245617628098, -0.040134068578481674, -0.03756633400917053, 0.05131955072283745, -0.039465755224227905, -0.03654627501964569, 0.006129151210188866, -0.0017521282425150275, -0.01746412366628647, -0.0160219706594944, -0.01465896051377058, -0.009813676588237286, -0.04280732944607735, 0.017121173441410065, 0.01343664713203907, -0.00458587147295475, 0.02581806108355522, -0.04973670095205307, -0.017288250848650932, 0.060922179371118546, 0.019926337525248528, 0.0088419821113348, -0.0010849125683307648, 0.05167129635810852, -0.0351392962038517, 0.02766472101211548, 0.00026422072551213205, -0.025923583656549454, -0.003622970310971141, -0.04600820690393448, -0.006810656748712063, -0.031727369874715805, -0.010552341118454933, -0.007197575643658638, 0.01952183060348034, 0.030003823339939117, -0.05539979040622711, -0.014773277565836906, -0.03605383262038231, -0.008358333259820938, -0.03060178831219673, -0.030179694294929504, 0.0046254429034888744, 0.03098870813846588, 0.007514146156609058, -0.07407743483781815, -0.001153063029050827, -0.03826982155442238, -0.00358779588714242, -0.024499017745256424, -0.11670888960361481, 0.05888206139206886, 0.005381694063544273, 0.02365483157336712, 0.024762826040387154, 0.003620771924033761, 0.007316289469599724, -0.00691178347915411, 0.0029172825161367655, -0.018536945804953575, 0.022283026948571205, 0.019082149490714073, 0.00950590055435896, -0.054590776562690735, 0.010622689500451088, -0.0009876331314444542, 0.022546835243701935, 0.0005886227590963244, -0.027471261098980904, 0.020752936601638794, -0.014219279401004314, 0.009233297780156136, -0.005513598211109638, -0.0475207082927227, -0.01551194116473198, -0.03848087042570114, -0.07158004492521286, 0.0501587949693203, -0.019732877612113953, 0.022687532007694244, -0.008433079347014427, 0.0036515495739877224, 0.006933767348527908, -0.005544375628232956, 0.00974332820624113, -0.001095354906283319, 0.021350903436541557, 0.049068383872509, 0.03306400030851364, -0.006533657666295767, 0.07407743483781815, 0.050193969160318375, 0.03802360221743584, 0.004994774702936411, -0.07393673807382584, 0.024745238944888115, 0.05547013878822327, 0.014711721800267696, -0.018906276673078537, 0.09314199537038803, 0.03397853672504425, 0.03721458837389946, 0.013102489523589611, 0.05645502358675003, 0.012522110715508461, -0.02829786017537117, 0.00542566180229187, 0.0006622693035751581, -0.000534761871676892, -0.01603076420724392, -0.03137562796473503, 0.050721585750579834, -0.09588560461997986, 0.038551218807697296, -0.02944103069603443, 0.01517778355628252, -0.0028249495662748814, -0.0033042016439139843, 0.05142507329583168, 0.028878239914774895, -0.06303264945745468, 0.023813115432858467, -0.009303647093474865, 0.00023179425625130534, -0.025114571675658226, 0.056525371968746185, 0.004394610412418842, -0.00036740832729265094, 0.029159635305404663, -0.03992302343249321, -0.0024995857384055853, -0.009980755858123302, -0.006960147991776466, -0.043334946036338806, 0.007931842468678951, 0.030074171721935272, -0.00924209225922823, -0.03763668239116669, -0.021087095141410828, 0.0025347601622343063, 0.031744956970214844, 0.011370147578418255, -0.017877424135804176, 0.013885121792554855, -0.011713098734617233, -0.0044913399033248425, 0.010499578900635242, -0.044917795807123184, -0.03749598562717438, -0.016839778050780296, 0.04716896265745163, -0.00024622128694318235, -0.02068258821964264, -0.0006232476443983614, 0.08385593444108963, 0.0161362886428833, -0.02581806108355522, 0.028614431619644165, 0.00046386331086978316, -0.005368503276258707, 0.009901612997055054, -0.07165039330720901, -0.007131623569875956, -0.043370120227336884, 0.010965640656650066, 0.07935360074043274, 0.002222586888819933, -0.05926898121833801, -0.03774220496416092, 0.014201692305505276, -0.0054916138760745525, -0.06851986795663834, 0.0076108756475150585, -0.03162184730172157, 0.05244513228535652, -0.01459740474820137, -0.04108377918601036, -0.026802945882081985, -0.01259246002882719, 0.0031305276788771152, 0.0195042435079813, 0.014764484018087387, -0.02274029515683651, -0.023426197469234467, -0.018449008464813232, 0.047098614275455475, 0.11009608954191208, -0.030197281390428543, 0.0012519912561401725, 0.00976091530174017, -0.014131342992186546, 0.013858741149306297, -0.017613615840673447, 0.014614991843700409, 0.003655946347862482, -0.06637422740459442, 0.05156577378511429, 0.02894858829677105, 0.04818902164697647, -0.02956414222717285, 0.02325032465159893, -0.0007062373915687203, 0.01603076420724392, 0.02752402238547802, -0.04766140505671501, 0.03770703077316284, 0.004113214556127787, 0.003086559707298875, 0.0067710853181779385, 0.013058521784842014, -0.00584335858002305, -0.03561415150761604, 0.01226709596812725, 0.039852675050497055, -0.016690285876393318, -0.015195370651781559, -0.011783447116613388, -0.07302220165729523, -0.037918079644441605, -0.027682308107614517, 0.02300410345196724, -0.027840591967105865, -0.0467468686401844, -0.03433028236031532, 0.04688756912946701, 0.016822190955281258, -0.020436367020010948, 0.04776693135499954, 0.03229016438126564, 0.026908468455076218, -0.03837534785270691, 0.006133547984063625, -0.0320439413189888, 0.024833176285028458, 0.006472102366387844, -0.05617362633347511, 0.07471057027578354, -0.05269135534763336, -0.029388269409537315, 0.049279432743787766, -0.024094510823488235, -0.0014003835385665298, 0.05364106595516205, -0.005623518489301205, -0.009708154015243053, -0.03626487776637077, -0.016505619511008263, -0.011792240664362907, 0.027823004871606827, -0.08294139802455902, -0.05230443552136421, 0.02133331634104252, -0.024850763380527496, -0.05853031575679779, 0.006986529100686312, -0.07351464033126831, 0.048786990344524384, 0.009303647093474865, 0.045691635459661484, 0.01746412366628647, 0.027981290593743324, 0.04185761883854866, -0.011088751256465912, -0.019328370690345764, 0.01290903054177761, 0.07632859796285629, 0.01169551070779562, 0.035578977316617966, 0.0028337431140244007, 0.009039838798344135, 0.04720413684844971, -0.03735528513789177, 0.029528968036174774, 0.053570717573165894, 0.03498100861907005, 0.0233734343200922, 0.017235489562153816, 0.0470634400844574, -0.040520988404750824, 0.053183797746896744, 0.025888409465551376, -0.010429230518639088, -0.010191802866756916, -0.05930415540933609, 0.008041762746870518, 0.06239951029419899, -0.001548775820992887, 0.004594665020704269, -0.09138327091932297, -0.040380291640758514, -0.0210519190877676, -0.05462595075368881, -0.016329746693372726, 0.018413834273815155, 0.028473732993006706, 0.03492824733257294, 0.024499017745256424, -0.027488848194479942, 0.0801977887749672, 0.004473752807825804, 0.013533377088606358, -0.034682027995586395, -0.010737006552517414, 0.020119797438383102, -0.013788391835987568, -0.029898298904299736, 0.007632859982550144, 0.013392679393291473, 0.021262966096401215, -0.0691881850361824, -0.009039838798344135, 0.023461371660232544, -0.05156577378511429, 0.010200596414506435, 0.036089006811380386, -0.003906564321368933, -0.08005709201097488, 0.024235209450125694, 0.01832589879631996, -0.043370120227336884, -0.00717559177428484, 0.0374608114361763, -0.021350903436541557, 0.03433028236031532, -0.026134630665183067, -0.027453674003481865, 0.09243850409984589, 0.016496825963258743, -0.006982132326811552, -0.01589886099100113, -0.01885351538658142, 0.026820532977581024, -0.034699615091085434, -0.010728213004767895, -0.05026431754231453, 0.0014960141852498055, -0.061027705669403076, -0.0023478958755731583, -0.016101112589240074, -0.03190324455499649, -0.009963168762624264, 0.0021467418409883976, -0.08012744039297104, 0.004337451886385679, 0.04745035991072655, -0.051495421677827835, 0.10735248029232025, 0.02055947668850422, 0.0034009316004812717, 0.03809395059943199, 0.005249789450317621, -0.008956299163401127, -0.0024182447232306004, -0.011809827759861946, 0.040380291640758514, 0.06623352319002151, -0.02727780118584633, -0.031305279582738876, -0.0176839642226696, 0.018572119995951653, -0.022458897903561592, -0.015459178946912289, -0.014676547609269619, -0.0034031299874186516, -0.06971579790115356, -0.018044503405690193, 0.015424004755914211, 0.06556521356105804, -0.003772461786866188, -0.027172278612852097, -0.007821922190487385, 0.03742563724517822, 0.007114036474376917, 0.013304742984473705, -0.04034511744976044, 0.03422475978732109, -0.055646009743213654, -0.03383783996105194, -0.008534206077456474, -0.008059350773692131, -0.01492276880890131, -0.04692274332046509, 0.055892232805490494, -0.028737541288137436, 0.09236815571784973, 0.003853802802041173, -0.008683697320520878, 0.021931281313300133, -0.02842097170650959, 0.027066754177212715, -0.02388346567749977, -0.029265157878398895, 0.03299365192651749, 0.049033209681510925, 0.021790584549307823, 0.0165232066065073, -0.018378660082817078, -0.01871281862258911, 0.06968062371015549, 0.015204164199531078, 0.01589886099100113, 0.008991473354399204, 0.014403944835066795, -0.08054953813552856, 0.020207732915878296, 0.02608186937868595, -0.02416486106812954, 0.004344047047197819, -0.057299211621284485, 0.010121453553438187, -0.05223408713936806, -0.029388269409537315, 0.03202635422348976, 0.031076643615961075, 0.026785358786582947, 0.01285626832395792, -0.024850763380527496, 0.0010272044455632567, -0.0517064705491066, -0.031463563442230225, -0.03686284273862839, -0.024991460144519806, 0.037777379155159, -0.04421430826187134, -0.016347333788871765, -0.0038845804519951344, -0.04016924276947975, 0.001630116836167872, -0.045550938695669174, -0.02599393203854561, -0.04171692207455635, 0.02571253664791584, -0.0031964799854904413, 0.012741951271891594, 0.014535849913954735, 0.032765019685029984, 0.03774220496416092, -0.042455583810806274, 0.016224224120378494, 0.024622129276394844, 0.004363832529634237, 0.003178892657160759, -0.03593071922659874, 0.002831544727087021, -0.061309099197387695, -0.04175209626555443, -0.06380648910999298, 0.0023566894233226776, 0.00800219178199768, -0.040767211467027664, 0.06957510113716125, -0.03682766854763031, -0.007685621734708548, 0.0006908485665917397, -0.00633580144494772, 0.01642647758126259, 0.00008202796016121283, 0.012680396437644958, -0.05610327795147896, 0.048153847455978394, 0.025923583656549454, -0.00866611022502184, 0.015608671121299267, 0.01232865173369646, -0.008991473354399204, 0.03897331282496452, -0.00948831345885992, 0.00475295027717948, -0.04650064930319786, 0.03862156718969345, 0.03450615331530571, -0.026539137586951256, -0.009022251702845097, -0.03721458837389946, -0.03763668239116669, 0.06310299783945084, 0.0455157645046711, -0.03418958559632301, 0.06436927616596222, -0.0034207170829176903, 0.05202304199337959, 0.03425993397831917, 0.011053577065467834, -0.0455157645046711, -0.02908928692340851, -0.07752452790737152, 0.020752936601638794, -0.04804832488298416, -0.0578971765935421, -0.04854076728224754, -0.029951060190796852, -0.03141080215573311, -0.038164298981428146, -0.002221487695351243, 0.023988988250494003, -0.06999719142913818, -0.022968929260969162, -0.030021410435438156, -0.04407361149787903, 0.008358333259820938, -0.03911400958895683, 0.04871664196252823, 0.005834565032273531, -0.00048254974535666406, -0.013040934689342976, 0.012750744819641113, -0.0431942492723465, 0.00950590055435896, -0.0062610553577542305, 0.005838961806148291, -0.023074451833963394, 0.03561415150761604, -0.012900236994028091, -0.014219279401004314, 0.027752656489610672, 0.034963421523571014, -0.010772181674838066, -0.0008557288674637675, 0.06271608173847198, -0.019996685907244682, -0.024762826040387154, 0.026152217760682106, 0.009725741110742092, 0.040661685168743134, 0.049666352570056915, 0.013208013027906418, 0.0691881850361824, 0.020999157801270485, 0.09187571704387665, -0.05726403743028641, 0.010807355865836143, -0.027858179062604904, 0.024323144927620888, -0.04745035991072655, 0.06465067714452744, 0.05167129635810852, 0.0064808959141373634, -0.015687813982367516, 0.015837304294109344, -0.033521268516778946, 0.045023322105407715, 0.01677822135388851, -0.03710906580090523, 0.04646547511219978, -0.05462595075368881, -0.05286722630262375, -0.019170084968209267, 0.040520988404750824, 0.0028843064792454243, -0.008459459990262985, 0.06655009835958481, -0.022652357816696167, -0.015459178946912289, 0.048364896327257156, -0.028913414105772972, -0.046817220747470856, -0.08244895935058594, -0.014676547609269619, -0.015837304294109344, -0.06461550295352936, 0.0018642469076439738, -0.006296230014413595, 0.010473198257386684, 0.015731781721115112, 0.03207911550998688, 0.010499578900635242, 0.05146024748682976, -0.024182448163628578, -0.016839778050780296, -0.10038793832063675, -0.01874799281358719, 0.025642188265919685, -0.0006232476443983614, -0.022546835243701935, 0.024727651849389076, 0.01175706647336483, 0.07689139246940613, 0.03076007403433323, 0.03190324455499649, -0.06911782920360565, 0.012539698742330074, 0.015336068347096443, -0.038304995745420456, 0.03644074872136116, -0.08681058883666992, 0.02854408137500286, 0.007602082099765539, 0.008156079798936844, -0.041646573692560196, -0.014210485853254795, -0.038551218807697296, -0.013269568793475628, 0.034453392028808594, 0.013331123627722263, 0.004735363181680441, -0.023461371660232544, 0.004337451886385679, -0.008806807920336723, 0.019961511716246605, 0.005979659967124462, 0.008771633729338646, -0.0803384855389595, 0.002013738267123699, 0.020963983610272408, 0.03505135700106621, 0.11867865920066833, -0.04224453866481781, 0.011211861856281757, -0.07309255003929138, 0.0749216228723526, -0.07527336478233337, 0.015028292313218117, -0.0035548198502510786, -0.05722886323928833, -0.03100629523396492, 0.012100017629563808, -0.037777379155159, 0.03925470635294914, 0.008112112060189247, -0.013225600123405457, 0.02159712463617325, 0.009549868293106556, 0.022529248148202896, -0.012944204732775688, 0.019170084968209267, 0.004372626077383757, 0.011880177073180676, -0.012574872933328152, -0.02223026379942894, -0.006318213883787394, 0.004502332303673029, 0.0030228060204535723, 0.03295847773551941, -0.019029388204216957, 0.01677822135388851, -0.021491600200533867, -0.017481710761785507, 0.020119797438383102, -0.026187391951680183, -0.031445976346731186, 0.0258532352745533, -0.05476664751768112, 0.003781255567446351, 0.03200876712799072, -0.016206637024879456, -0.015872478485107422, -0.0065116737969219685, 0.014447913505136967, -0.0012168168323114514, 0.0034954629372805357, -0.014447913505136967, 0.01664631813764572, 0.02882547862827778, 0.07203731685876846, 0.04576198384165764, -0.04998292028903961, -0.024499017745256424, -0.04882216453552246, 0.049560826271772385, 0.0021159641910344362, -0.019170084968209267, 0.021227791905403137, -0.02986312471330166, -0.011150307022035122, -0.00775157380849123, 0.012759538367390633, 0.02184334583580494, -0.03179772198200226, 0.0436515174806118, -0.011976907029747963, 0.07372568547725677, 0.02492111176252365, -0.0043616341426968575, -0.013788391835987568, 0.043229423463344574, 0.011862589977681637, -0.041927967220544815, 0.014421532861888409, -0.035332754254341125, -0.08167511969804764, -0.005276170559227467, -0.011282211169600487, -0.024762826040387154, 0.01822037436068058, -0.023197563365101814, 0.027594370767474174, -0.032360512763261795, -0.012513317167758942, 0.03371473029255867, -0.0270139928907156, -0.020489128306508064, 0.08540361374616623, 0.04586750641465187, 0.0013432250125333667, 0.016180256381630898, 0.009321234188973904, 0.017085999250411987, 0.09468967467546463, 0.02013738453388214, 0.06018351763486862, -0.06123875081539154, 0.027858179062604904, -0.03596589341759682, -0.0004918929771520197, -0.027084341272711754, 0.07998674362897873, 0.04766140505671501, 0.017604822292923927, 0.05131955072283745, -0.02274029515683651, 0.008094524964690208, 0.007668034173548222, -0.03137562796473503, 0.02945861779153347, -0.0178422499448061, -0.03964162617921829, -0.007742780260741711, 0.03471720218658447, 0.03492824733257294, -0.007100846152752638, 0.038691915571689606, 0.06816811859607697, -0.030971121042966843, 0.0006578724714927375, -0.0029260762967169285, -0.03063696250319481, -0.04435500502586365, 0.05462595075368881, -0.011660336516797543, 0.05346519500017166, -0.05184716731309891, 0.0062786429189145565, -0.05539979040622711, 0.0780169740319252 ]