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
|
---|---|---|---|---|---|---|
41,669 | pyglove.core.patching.pattern_based | patch_on_value | Recursively patch values on matched values.
Example::
d = pg.Dict(a={'x': 1}, b=1)
print(pg.patching.patch_on_value(d, 1, value=3))
# {a={x=3}, b=3}
Args:
src: symbolic value to patch.
old_value: Old value to match.
value: New value for field that satisfy `condition`.
value_fn: Callable object that produces new value based on old value.
If not None, `value` must be None.
skip_notification: If True, `on_change` event will not be triggered for this
operation. If None, the behavior is decided by `pg.notify_on_rebind`.
Please see `symbolic.Symbolic.rebind` for details.
Returns:
`src` after being patched.
| def patch_on_value(
src: symbolic.Symbolic,
old_value: Any,
value: Any = None,
value_fn: Optional[Callable[[Any], Any]] = None,
skip_notification: Optional[bool] = None) -> Any:
"""Recursively patch values on matched values.
Example::
d = pg.Dict(a={'x': 1}, b=1)
print(pg.patching.patch_on_value(d, 1, value=3))
# {a={x=3}, b=3}
Args:
src: symbolic value to patch.
old_value: Old value to match.
value: New value for field that satisfy `condition`.
value_fn: Callable object that produces new value based on old value.
If not None, `value` must be None.
skip_notification: If True, `on_change` event will not be triggered for this
operation. If None, the behavior is decided by `pg.notify_on_rebind`.
Please see `symbolic.Symbolic.rebind` for details.
Returns:
`src` after being patched.
"""
return _conditional_patch(
src, lambda k, v, p: v == old_value,
value, value_fn, skip_notification)
| (src: pyglove.core.symbolic.base.Symbolic, old_value: Any, value: Optional[Any] = None, value_fn: Optional[Callable[[Any], Any]] = None, skip_notification: Optional[bool] = None) -> Any | [
0.05833130702376366,
-0.0642584040760994,
-0.01897393725812435,
0.0481034480035305,
-0.032201483845710754,
0.010607334785163403,
-0.02509980835020542,
0.03205692023038864,
0.06812547147274017,
-0.08709941059350967,
0.00008399920625379309,
-0.011763841845095158,
0.06321031600236893,
0.01183612272143364,
0.02847897633910179,
0.029219863936305046,
-0.01142050325870514,
0.05305474251508713,
0.05124770104885101,
0.04879012703895569,
0.015531523153185844,
0.005556653253734112,
0.03084620088338852,
0.06400541961193085,
-0.021052036434412003,
-0.0033339918591082096,
-0.02240731753408909,
-0.005647005047649145,
0.024557696655392647,
0.02593104913830757,
-0.004074878990650177,
-0.03294236958026886,
0.016154952347278595,
-0.009116525761783123,
0.03209305927157402,
-0.019263064488768578,
-0.03838156536221504,
0.05721094086766243,
-0.10676002502441406,
-0.04983821138739586,
-0.0037947874516248703,
0.02219047211110592,
-0.06501735746860504,
0.000985967111773789,
0.033484481275081635,
0.04488691687583923,
-0.03652031347155571,
0.042718466371297836,
0.04221249371767044,
0.045501310378313065,
-0.008709941059350967,
0.017600586637854576,
-0.0005621594027616084,
-0.011556031182408333,
0.03467712923884392,
0.022226613014936447,
-0.016760312020778656,
-0.030141456052660942,
0.03570714220404625,
-0.022967500612139702,
0.0248829647898674,
0.01172770094126463,
-0.003980009350925684,
-0.05283790081739426,
-0.03765874728560448,
-0.03603241220116615,
0.01754637435078621,
-0.04799502715468407,
-0.036393821239471436,
-0.03361097723245621,
-0.08912329375743866,
-0.01920885406434536,
0.07116129994392395,
-0.030557075515389442,
-0.01626337505877018,
0.030502863228321075,
-0.03765874728560448,
-0.012423411943018436,
0.02405172400176525,
-0.08876188844442368,
0.003546319203451276,
-0.03377360850572586,
0.016597677022218704,
-0.029039159417152405,
-0.004680238198488951,
0.02320241555571556,
0.022280823439359665,
0.028442835435271263,
0.13921448588371277,
0.04163423925638199,
0.008113617077469826,
-0.03236411511898041,
-0.0012095884885638952,
-0.026075610890984535,
0.028388625010848045,
0.0042126658372581005,
0.05106699839234352,
0.00654600840061903,
0.02108817733824253,
0.021883275359869003,
0.07351045310497284,
0.000845356669742614,
-0.013200439512729645,
-0.003792528761550784,
0.0637524276971817,
-0.03910438343882561,
0.008637659251689911,
0.030755849555134773,
0.024774542078375816,
-0.028876526281237602,
-0.01770900934934616,
-0.07669085264205933,
0.014528615400195122,
-0.050741732120513916,
-0.0009577320888638496,
0.06729423254728317,
-0.04286302998661995,
-0.08052177727222443,
0.018486035987734795,
-0.041887227445840836,
-0.020437641069293022,
-0.015179149806499481,
0.008312392048537731,
0.026147892698645592,
0.011908404529094696,
-0.009992940351366997,
0.05536775663495064,
0.0006951463292352855,
0.009423722513020039,
-0.013625094667077065,
-0.03102690540254116,
0.060102205723524094,
-0.009202360175549984,
0.026888780295848846,
0.07784735411405563,
0.0023423777893185616,
-0.035544510930776596,
0.01790778338909149,
0.02896687760949135,
-0.04918767511844635,
-0.009261088445782661,
-0.027539314702153206,
0.008709941059350967,
-0.04008018597960472,
0.029075300320982933,
-0.04264618456363678,
0.006229776423424482,
0.09750796854496002,
0.004282688722014427,
0.04770589992403984,
0.006848687771707773,
0.02853318862617016,
0.012360164895653725,
0.04438094422221184,
-0.021485725417733192,
0.04850099980831146,
0.009974869899451733,
-0.04904311150312424,
0.02558770962059498,
-0.0031329584307968616,
0.014112995937466621,
0.021196598187088966,
-0.00538046658039093,
-0.05851200968027115,
0.012224636971950531,
-0.004070361610502005,
-0.013525706715881824,
-0.01879323273897171,
-0.014176242053508759,
-0.0014761271886527538,
-0.012802890501916409,
-0.031785864382982254,
0.08377445489168167,
0.03267131373286247,
0.035978201776742935,
0.027304399758577347,
0.0112759405747056,
-0.009631532244384289,
-0.05001891404390335,
0.03594205901026726,
-0.00012557528680190444,
0.04651325196027756,
-0.026690006256103516,
0.024124005809426308,
-0.011429538950324059,
0.019479909911751747,
-0.013552812859416008,
-0.011059095151722431,
0.034749411046504974,
0.01690487563610077,
-0.010480841621756554,
-0.0434412807226181,
0.061367135494947433,
0.01834147237241268,
-0.022280823439359665,
-0.046332549303770065,
-0.011330150999128819,
0.0014693507691845298,
0.019100431352853775,
0.06418611854314804,
-0.007576022297143936,
-0.08702712506055832,
0.0280452873557806,
0.029075300320982933,
-0.06910127401351929,
-0.02197362668812275,
0.04962136596441269,
0.019100431352853775,
-0.009233983233571053,
-0.01966061443090439,
-0.026671934872865677,
-0.015667051076889038,
0.01055312342941761,
-0.002218143781647086,
-0.004160713404417038,
-0.010526018217206001,
-0.006433068308979273,
0.02511787973344326,
-0.061511699110269547,
-0.04008018597960472,
-0.03773102909326553,
0.015341783873736858,
-0.008190416730940342,
-0.015920037403702736,
0.06180082634091377,
-0.0029206310864537954,
-0.01300166454166174,
-0.011700594797730446,
0.04806730896234512,
-0.03418922796845436,
0.033231496810913086,
0.0035530957393348217,
0.06306575238704681,
-0.04206793010234833,
0.10994041711091995,
-0.03565293177962303,
0.03892367705702782,
-0.03406273573637009,
0.020564135164022446,
0.04409181699156761,
-0.025840695947408676,
-0.011565066874027252,
0.043802689760923386,
0.034297652542591095,
0.004775107838213444,
-0.020437641069293022,
-0.0030493829399347305,
0.023943303152918816,
0.022750655189156532,
0.025912977755069733,
0.027539314702153206,
-0.019389556720852852,
-0.015432136133313179,
0.012703503482043743,
-0.03184007480740547,
0.026545442640781403,
0.03693593293428421,
-0.008023264817893505,
0.062415219843387604,
0.00801874790340662,
-0.0001451280404580757,
-0.004323347471654415,
-0.04470621049404144,
-0.027810372412204742,
-0.02578648552298546,
-0.03755032643675804,
0.00400937395170331,
0.013064911589026451,
0.02262416109442711,
0.042140211910009384,
-0.05218736454844475,
-0.04250162094831467,
0.011583137325942516,
-0.007892254739999771,
-0.009107490070164204,
0.0017652538372203708,
0.010779003612697124,
0.03942964971065521,
0.06664370000362396,
-0.06107800826430321,
0.004077137913554907,
-0.059885360300540924,
-0.01711268536746502,
-0.01857638917863369,
-0.01309201680123806,
-0.004406922962516546,
-0.018196910619735718,
0.031171469017863274,
0.05095857381820679,
-0.008502131327986717,
0.043621987104415894,
-0.0299607515335083,
-0.018278226256370544,
0.012071038596332073,
0.02065448649227619,
0.021702570840716362,
-0.035779424011707306,
-0.0358697772026062,
0.002468870719894767,
0.01987745799124241,
0.059017982333898544,
-0.02806335687637329,
-0.02088940143585205,
0.039791058748960495,
-0.019263064488768578,
-0.013372108340263367,
0.0272140484303236,
-0.03373746946454048,
-0.05095857381820679,
-0.008484060876071453,
-0.027286330237984657,
0.003559872042387724,
-0.03384589031338692,
-0.05045260488986969,
0.03740576282143593,
-0.06227065622806549,
-0.02406979538500309,
-0.02699720300734043,
0.021467655897140503,
-0.009202360175549984,
-0.021810993552207947,
0.044272519648075104,
-0.061258714646101,
0.03442414477467537,
-0.0143569465726614,
0.003568907268345356,
0.0697518065571785,
0.08160600066184998,
0.015233361162245274,
0.012992629781365395,
-0.017600586637854576,
-0.014917128719389439,
0.05019961670041084,
0.04300759360194206,
-0.04058615490794182,
0.010652510449290276,
-0.014411157928407192,
-0.05095857381820679,
-0.03552643954753876,
-0.009098455309867859,
0.02663579396903515,
-0.004630544222891331,
-0.014600897207856178,
-0.043585844337940216,
0.05211508274078369,
0.011827087961137295,
0.005443713162094355,
0.007097156252712011,
0.05128384381532669,
0.029888469725847244,
0.03426150977611542,
0.05428353324532509,
-0.023148203268647194,
-0.021594148129224777,
-0.005660558119416237,
0.016841627657413483,
0.012025862000882626,
-0.056271277368068695,
-0.008813845925033092,
-0.10430244356393814,
0.04517604038119316,
-0.006586667150259018,
0.010245926678180695,
-0.004404664039611816,
0.050127334892749786,
0.008944856002926826,
-0.04488691687583923,
0.0026292456313967705,
-0.0018194650765508413,
0.01985938847064972,
0.003928056918084621,
-0.017456023022532463,
-0.003365615149959922,
-0.004034220706671476,
0.04036930948495865,
-0.0835576057434082,
-0.009640567004680634,
-0.02280486561357975,
0.009026173502206802,
0.06440296769142151,
0.06017448753118515,
-0.010155574418604374,
-0.03668294474482536,
0.01960640214383602,
-0.010119433514773846,
-0.017230141907930374,
0.045501310378313065,
0.014880988746881485,
0.008813845925033092,
-0.041272833943367004,
0.0012073296820744872,
-0.002179743954911828,
0.014275629073381424,
0.018214980140328407,
0.008944856002926826,
-0.07611259818077087,
0.004293982870876789,
-0.021413443610072136,
-0.021250810474157333,
-0.04250162094831467,
0.0007533105090260506,
0.010598299093544483,
-0.02600332908332348,
-0.001286387792788446,
0.025045597925782204,
-0.04221249371767044,
0.001197165111079812,
0.013914220966398716,
-0.009107490070164204,
0.05619899556040764,
0.005037128925323486,
-0.051392264664173126,
-0.04539288580417633,
-0.041706521064043045,
0.016805488616228104,
-0.021377302706241608,
-0.042935311794281006,
-0.021413443610072136,
0.017175931483507156,
-0.05630742013454437,
0.05934324860572815,
-0.01881130412220955,
-0.030773919075727463,
0.012116214260458946,
0.0046440972946584225,
-0.047633618116378784,
0.043585844337940216,
-0.00019496286404319108,
-0.005082304589450359,
0.07369115948677063,
0.0350385382771492,
-0.02217240072786808,
0.027141766622662544,
0.044633928686380386,
0.0023694834671914577,
-0.04008018597960472,
0.017645761370658875,
-0.0018510883674025536,
0.05092243477702141,
0.015025551430881023,
-0.04286302998661995,
0.007458564359694719,
0.007038427516818047,
0.025370866060256958,
-0.008691870607435703,
0.0112759405747056,
0.024991385638713837,
-0.03892367705702782,
-0.02134116180241108,
0.007688962388783693,
-0.03688172250986099,
-0.05063330754637718,
-0.0034243438858538866,
0.054355815052986145,
-0.06736651062965393,
-0.026509301736950874,
-0.06982409209012985,
-0.04499533772468567,
-0.002090521389618516,
0.037261199206113815,
-0.006446621380746365,
-0.010932601988315582,
0.0075353640131652355,
-0.052440349012613297,
-0.09100262075662613,
0.05348843336105347,
0.040224749594926834,
0.009956799447536469,
-0.0595962330698967,
-0.03700821474194527,
0.0439472533762455,
-0.06129485368728638,
0.016841627657413483,
0.03903210163116455,
-0.0061032832600176334,
0.018115593120455742,
-0.03950193151831627,
0.0036231186240911484,
0.0004904423840343952,
0.01920885406434536,
-0.02070869691669941,
-0.0007894513546489179,
0.0417788028717041,
-0.0007736397092230618,
0.00017053955525625497,
-0.03480362147092819,
0.03594205901026726,
0.01882937364280224,
0.017645761370658875,
0.030864272266626358,
-0.02891266718506813,
-0.012983594089746475,
0.02090747281908989,
0.009667673148214817,
-0.010535052977502346,
-0.03924894705414772,
0.013245615176856518,
-0.02491910569369793,
0.05222350358963013,
-0.018404720351099968,
-0.043368998914957047,
0.0252985842525959,
-0.07828104496002197,
0.05865657329559326,
0.01151085551828146,
-0.004400146659463644,
-0.010399525053799152,
0.03758646547794342,
-0.012929383665323257,
0.04539288580417633,
0.039574213325977325,
0.03993562236428261,
0.06476437300443649,
0.012712538242340088,
-0.03193042799830437,
-0.019534120336174965,
0.03997176140546799,
0.031189540401101112,
-0.07632943987846375,
-0.07611259818077087,
0.004684755578637123,
-0.06187310814857483,
0.038092438131570816,
-0.05703023448586464,
0.005050681531429291,
-0.029274076223373413,
-0.0175192691385746,
0.003101335372775793,
0.013995537534356117,
-0.04705536738038063,
-0.0018443119479343295,
0.03610469400882721,
0.056704968214035034,
0.0037360587157309055,
0.030701639130711555,
-0.005976790562272072,
0.027611596509814262,
-0.009450827725231647,
-0.07343817502260208,
0.009098455309867859,
0.008271733298897743,
0.0587649941444397,
0.0060174488462507725,
0.07697997242212296,
-0.008113617077469826,
-0.018007170408964157,
0.03001496195793152,
-0.012296918779611588,
-0.016182057559490204,
-0.08095546811819077,
-0.014393087476491928,
-0.029400568455457687,
0.06602930277585983,
0.04915153235197067,
-0.036429960280656815,
0.0023288249503821135,
0.04470621049404144,
0.022660301998257637,
-0.01985938847064972,
-0.024214359000325203,
-0.016118811443448067,
-0.0035169548355042934,
0.05717479810118675,
-0.0017370188143104315,
0.004472428001463413,
-0.005854815244674683,
-0.016335656866431236,
0.0007143461843952537,
0.024864893406629562,
0.011266904883086681,
0.012287883087992668,
0.054572660475969315,
-0.0035372842103242874,
-0.010309172794222832,
-0.02092554233968258,
-0.016986191272735596,
-0.00501002324745059,
-0.020329218357801437,
-0.019805176183581352,
-0.040441591292619705,
-0.0714142844080925,
-0.03483976423740387,
0.054608799517154694,
-0.00316909933462739,
0.01962447352707386,
0.012721573933959007,
-0.027087554335594177,
0.10943444818258286,
-0.05197051912546158,
0.031189540401101112,
-0.050741732120513916,
0.0025072703137993813,
-0.06252364069223404,
-0.052874039858579636,
-0.016109775751829147,
-0.018955867737531662,
-0.048211872577667236,
0.0035146961454302073,
0.044850774109363556,
0.02788265235722065,
-0.07000479847192764,
0.006993251387029886,
0.005208797752857208,
-0.02050992287695408,
-0.03353869542479515,
-0.007119744084775448,
0.051609110087156296,
-0.03276166692376137,
0.035327665507793427,
-0.01686873473227024,
0.02238924615085125,
0.05482564494013786,
0.011565066874027252,
-0.03729734197258949,
0.030755849555134773,
0.022714514285326004,
-0.009306265041232109,
0.04499533772468567,
-0.02367224544286728,
-0.03848998621106148,
0.007887736894190311,
0.015242396853864193,
-0.019552191719412804,
-0.0046440972946584225,
0.056271277368068695,
-0.01834147237241268,
0.003950644750148058,
-0.026473160833120346,
-0.09013523906469345,
-0.04535674676299095,
-0.03319535404443741,
0.050741732120513916,
-0.015567664057016373,
0.04607956483960152,
-0.0016444079810753465,
-0.048031169921159744,
-0.013887115754187107,
-0.028623539954423904,
-0.046946942806243896,
-0.0166880302131176,
-0.014736425131559372,
-0.0287138931453228,
-0.012314989231526852,
0.001800265279598534,
-0.010751898400485516,
0.04788660630583763,
0.010074257850646973,
-0.04098370671272278,
-0.025443147867918015,
0.001698619220405817,
0.016100741922855377,
0.00043623114470392466,
-0.08514780551195145,
0.01055312342941761,
0.0700770765542984,
0.03971877694129944,
0.03677329793572426,
0.03174972161650658,
0.008741564117372036,
0.02172064036130905,
-0.01859445869922638,
-0.009992940351366997,
0.02130502089858055,
0.02361803501844406,
0.04206793010234833,
0.02173871174454689,
0.05937939137220383,
-0.007612163200974464,
0.05222350358963013,
0.0333760604262352,
-0.024973316118121147,
-0.03691786155104637,
-0.054608799517154694,
0.023997513577342033,
0.01944376900792122,
-0.13061296939849854,
0.004553745035082102,
0.0717395544052124,
-0.025678062811493874,
0.029057230800390244,
-0.03671908751130104,
0.034713272005319595,
-0.024593837559223175,
0.05713865906000137,
-0.008235592395067215,
0.022009767591953278,
0.031550947576761246,
0.025443147867918015,
-0.004838353954255581,
0.040658436715602875,
-0.019967811182141304,
-0.014573791064321995,
0.010950672440230846,
-0.026942990720272064,
-0.08059406280517578,
-0.019967811182141304,
-0.040875282138586044,
0.020166585221886635,
0.029852328822016716,
0.016308551654219627,
0.009550215676426888,
0.03652031347155571,
0.0028257614467293024,
-0.05424739047884941,
0.05551232025027275,
-0.026129823178052902,
-0.026653865352272987,
-0.05453651770949364,
0.029057230800390244,
0.02341926097869873,
-0.021792922168970108,
0.0670773908495903,
-0.04239319637417793,
-0.03509274870157242,
-0.012748679146170616,
0.014609931968152523,
-0.06165626272559166,
-0.0689205676317215,
-0.0061123184859752655,
0.03776717185974121,
-0.014655107632279396,
0.023509612306952477,
0.01879323273897171,
-0.061114151030778885,
-0.042537759989500046,
0.00617556506767869,
0.02999689243733883,
0.02090747281908989,
-0.06837845593690872,
0.04788660630583763,
0.06107800826430321,
0.0705830454826355,
0.0038151168264448643,
-0.023328907787799835,
0.03315921500325203,
-0.007851595990359783,
-0.048248011618852615,
0.024774542078375816,
-0.03606855124235153,
-0.0037450939416885376,
0.01815173402428627,
0.030737780034542084,
-0.014420192688703537,
-0.01561284065246582,
0.061367135494947433,
-0.000006895522801642073,
-0.046332549303770065,
0.04387497156858444,
0.0047480021603405476,
0.024142077192664146,
0.001196035766042769,
0.028388625010848045,
0.009830307215452194,
-0.016154952347278595,
0.04412795975804329,
-0.031207609921693802,
-0.011284975335001945,
-0.039827197790145874,
0.02575034461915493,
0.018937796354293823,
-0.06902899593114853,
0.02932828664779663,
0.019787106662988663,
0.04112827032804489,
0.008258180692791939,
-0.008194933645427227,
-0.05887341871857643,
0.026039469987154007
]
|
41,670 | pyglove.core.patching.rule_based | patcher | Decorate a function into a Patcher and register it.
A patcher function is defined as:
`<patcher_fun> := <fun_name>(<target>, [parameters])`
The signature takes at least one argument as the patching target,
with additional arguments as patching parameters to control the details of
this patch.
Example::
@pg.patching.patcher([
('x': pg.typing.Int())
])
def increment(v, x=1):
return pg.symbolic.get_rebind_dict(
lambda k, v, p: v + x if isinstance(v, int) else v)
# This patcher can be called via:
# pg.patching.apply(v, [increment(x=2)])
# or pg.patching.apply(v, ['increment?x=2'])
Args:
args: A list of (arg_name, arg_value_spec) to schematize patcher arguments.
name: String to be used as patcher name in URI. If None, function name will
be used as patcher name.
Returns:
A decorator that converts a function into a Patcher subclass.
| def patcher(
args: Optional[List[Tuple[str, pg_typing.ValueSpec]]] = None,
name: Optional[str] = None) -> Any:
"""Decorate a function into a Patcher and register it.
A patcher function is defined as:
`<patcher_fun> := <fun_name>(<target>, [parameters])`
The signature takes at least one argument as the patching target,
with additional arguments as patching parameters to control the details of
this patch.
Example::
@pg.patching.patcher([
('x': pg.typing.Int())
])
def increment(v, x=1):
return pg.symbolic.get_rebind_dict(
lambda k, v, p: v + x if isinstance(v, int) else v)
# This patcher can be called via:
# pg.patching.apply(v, [increment(x=2)])
# or pg.patching.apply(v, ['increment?x=2'])
Args:
args: A list of (arg_name, arg_value_spec) to schematize patcher arguments.
name: String to be used as patcher name in URI. If None, function name will
be used as patcher name.
Returns:
A decorator that converts a function into a Patcher subclass.
"""
functor_decorator = symbolic.functor(args, base_class=Patcher)
def _decorator(fn):
"""Returns decorated Patcher class."""
cls = functor_decorator(fn)
_PATCHER_REGISTRY.register(name or fn.__name__,
typing.cast(Type[Patcher], cls))
arg_specs = cls.__signature__.args
if len(arg_specs) < 1:
raise TypeError(
'Patcher function should have at least 1 argument '
f'as patching target. (Patcher={cls.__type_name__!r})'
)
if not _is_patcher_target_spec(arg_specs[0].value_spec):
raise TypeError(
f'{arg_specs[0].value_spec!r} cannot be used for constraining '
f'Patcher target. (Patcher={cls.__type_name__!r}, '
f'Argument={arg_specs[0].name!r})\n'
'Acceptable value spec types are: '
'Any, Callable, Dict, Functor, List, Object.'
)
for arg_spec in arg_specs[1:]:
if not _is_patcher_parameter_spec(arg_spec.value_spec):
raise TypeError(
f'{arg_spec.value_spec!r} cannot be used for constraining '
f'Patcher argument. (Patcher={cls.__type_name__!r}, '
f'Argument={arg_spec.name!r})\n'
'Consider to treat it as string and parse yourself.'
)
return cls
return _decorator
| (args: Optional[List[Tuple[str, pyglove.core.typing.class_schema.ValueSpec]]] = None, name: Optional[str] = None) -> Any | [
0.040098637342453,
-0.03368677943944931,
0.010000149719417095,
0.003970647696405649,
-0.01527473796159029,
-0.02847101353108883,
-0.07184421271085739,
0.043059468269348145,
0.03258872032165527,
0.009691321291029453,
0.013862952589988708,
-0.004232906270772219,
0.0011630075750872493,
0.015608076006174088,
-0.03584367409348488,
-0.04482419788837433,
0.02700040303170681,
0.032549504190683365,
-0.008328556083142757,
-0.016245340928435326,
0.04905955493450165,
0.010500157251954079,
0.05819694697856903,
0.02105913870036602,
-0.013735499233007431,
0.04502027854323387,
0.04521636292338371,
0.034353453665971756,
0.010804083198308945,
0.023000342771410942,
0.009348179213702679,
-0.03994177281856537,
-0.017617911100387573,
0.030490651726722717,
0.032647546380758286,
-0.027843553572893143,
-0.05211842432618141,
0.033431872725486755,
-0.037294674664735794,
-0.037941742688417435,
0.05235372483730316,
0.036471132189035416,
-0.009156999178230762,
-0.048628177493810654,
0.03747114911675453,
0.03602014482021332,
-0.00020511948969215155,
0.018559100106358528,
-0.015970826148986816,
-0.006838337518274784,
0.005578514654189348,
-0.08227574080228806,
0.0691382884979248,
0.010872711427509785,
0.03884371742606163,
0.04090256989002228,
0.04486341401934624,
0.052510589361190796,
0.012225672602653503,
-0.0285690538585186,
0.021176787093281746,
-0.001268401276320219,
0.007436385378241539,
-0.019108127802610397,
0.00993152055889368,
-0.05258902162313461,
-0.00034681890974752605,
-0.038079001009464264,
-0.033157359808683395,
-0.007656977046281099,
-0.034804441034793854,
-0.01999049447476864,
0.002818669658154249,
-0.048902690410614014,
0.028686702251434326,
0.029784759506583214,
0.020255204290151596,
-0.020235596224665642,
0.056471433490514755,
-0.029333772137761116,
0.0008891064208000898,
-0.03772605210542679,
-0.030941639095544815,
-0.005196155980229378,
0.001664240495301783,
-0.04235357418656349,
-0.02221601828932762,
-0.027863161638379097,
0.009627594612538815,
-0.04580460488796234,
-0.04400065541267395,
-0.013823735527694225,
0.014784534461796284,
-0.033157359808683395,
-0.013686479069292545,
-0.04564774036407471,
0.058353811502456665,
0.00787756871432066,
0.058549895882606506,
0.03392207622528076,
0.029274947941303253,
0.012127632275223732,
0.002061305334791541,
0.006421664729714394,
0.05051055923104286,
0.009250137954950333,
0.006897161714732647,
-0.003426521783694625,
-0.06023619323968887,
0.035588767379522324,
0.006416762713342905,
-0.022706221789121628,
-0.03415737301111221,
-0.044902630150318146,
0.02137286774814129,
0.03598092868924141,
-0.051216449588537216,
-0.06345193088054657,
0.02262778952717781,
0.006877553649246693,
0.03429463133215904,
0.025882739573717117,
0.0313338004052639,
0.0035735827405005693,
-0.047020308673381805,
-0.012911957688629627,
-0.019137540832161903,
0.05458905175328255,
0.02911808155477047,
-0.02870631031692028,
-0.015568859875202179,
0.04349084571003914,
-0.06737355887889862,
0.07356972992420197,
0.050706639885902405,
0.012627639807760715,
-0.008921701461076736,
0.004186336882412434,
0.03607897087931633,
-0.026569023728370667,
-0.006774610839784145,
0.00047794831334613264,
0.025921955704689026,
0.01759830117225647,
-0.010215838439762592,
-0.0796874612569809,
-0.00992661900818348,
0.0516086146235466,
-0.002169150160625577,
-0.007862862199544907,
-0.012264888733625412,
0.07392267137765884,
0.07337364554405212,
0.001502473372966051,
0.00951484777033329,
-0.0029020041693001986,
-0.008701110258698463,
0.0017598301637917757,
-0.017539476975798607,
-0.015784548595547676,
-0.007911883294582367,
-0.029549460858106613,
0.009897206909954548,
-0.05458905175328255,
-0.0005208411021158099,
-0.03815743327140808,
0.02068658359348774,
-0.06341271102428436,
0.001359088928438723,
0.06431468576192856,
0.0007218245300464332,
-0.037294674664735794,
0.02345133014023304,
0.03233381733298302,
0.06376565992832184,
0.046471282839775085,
0.0013835991267114878,
0.015500231646001339,
0.01622573286294937,
0.009392296895384789,
0.049137987196445465,
-0.007460895925760269,
-0.06192249432206154,
0.03784370422363281,
0.00582851842045784,
0.024431737139821053,
-0.038451556116342545,
-0.005774596240371466,
0.002742687938734889,
-0.000935675750952214,
0.020255204290151596,
0.030765164643526077,
0.04588303714990616,
0.036137793213129044,
-0.023098384961485863,
-0.03482405096292496,
-0.07223637402057648,
0.013833539560437202,
0.05368707701563835,
0.01099035982042551,
-0.0058334204368293285,
-0.024118008092045784,
0.02115717902779579,
0.07756978273391724,
0.006612843833863735,
-0.019470879808068275,
0.059608735144138336,
0.0012071258388459682,
-0.010186426341533661,
-0.037902526557445526,
0.05054977536201477,
-0.012706072069704533,
-0.032922059297561646,
0.027490606531500816,
-0.044941846281290054,
-0.04164768010377884,
0.05486356467008591,
-0.004362810403108597,
0.0034559338819235563,
0.0025956269819289446,
-0.0019644901622086763,
0.048588961362838745,
0.00046906337956897914,
-0.0032500484958291054,
-0.005416747648268938,
-0.027902377769351006,
0.010676629841327667,
0.0009614113951101899,
0.029804367572069168,
-0.04058884084224701,
0.031118111684918404,
-0.03282402083277702,
0.01861792430281639,
-0.01847086474299431,
-0.019176756963133812,
-0.0728246197104454,
0.013872756622731686,
0.025176847353577614,
0.028549445793032646,
0.02327485755085945,
0.03443188592791557,
0.04556930810213089,
0.042784951627254486,
0.03337304666638374,
0.048079147934913635,
-0.046196769922971725,
0.00219366024248302,
0.011853118427097797,
0.03796135261654854,
-0.02262778952717781,
-0.025588616728782654,
-0.015441407449543476,
0.001286783954128623,
0.03341226279735565,
-0.038177039474248886,
0.035078953951597214,
-0.0027770022861659527,
-0.026510199531912804,
0.0200493186712265,
0.02754943072795868,
-0.015304150059819221,
0.02635333500802517,
-0.017657127231359482,
0.006539313122630119,
0.022314058616757393,
-0.0691382884979248,
-0.04129473492503166,
0.006215779110789299,
-0.01741202548146248,
0.012862937524914742,
0.060157760977745056,
-0.035451509058475494,
0.001528209075331688,
0.00672559067606926,
-0.033059317618608475,
0.014333547092974186,
0.015745332464575768,
0.03458875045180321,
0.06223622336983681,
-0.05192234367132187,
0.04003981500864029,
-0.035863280296325684,
-0.005132429767400026,
-0.04274573549628258,
-0.023568980395793915,
0.012755092233419418,
-0.044902630150318146,
0.015774745494127274,
-0.016804171726107597,
-0.0065148030407726765,
0.06329506635665894,
-0.01714731566607952,
0.006078522186726332,
-0.02962789312005043,
0.026019996032118797,
0.025627832859754562,
-0.0437653586268425,
-0.05188312754034996,
0.025725875049829483,
-0.07427562028169632,
0.05454983562231064,
0.00983348023146391,
-0.012343321926891804,
0.03717702627182007,
-0.010686433874070644,
-0.028255324810743332,
0.013529613614082336,
-0.030745556578040123,
-0.09317786246538162,
0.04733404144644737,
0.035412292927503586,
-0.017353201285004616,
-0.09772694855928421,
-0.06662844866514206,
0.07953059673309326,
0.0005024584825150669,
0.00011098511458840221,
-0.018970871344208717,
0.005789302289485931,
0.04133395105600357,
0.007093243300914764,
0.05643221363425255,
-0.05196155980229378,
0.031157327815890312,
-0.0035319156013429165,
-0.003497601253911853,
0.05380472540855408,
0.031157327815890312,
-0.01409824937582016,
0.021529734134674072,
-0.03382403403520584,
-0.015608076006174088,
0.057765569537878036,
0.03166713938117027,
0.02682393044233322,
0.059608735144138336,
0.0364123098552227,
-0.029274947941303253,
-0.028451405465602875,
-0.016019847244024277,
0.06815788149833679,
0.00024096561537589878,
-0.01644142158329487,
0.04051040858030319,
-0.04690266028046608,
0.059922464191913605,
0.009387395344674587,
0.024627819657325745,
0.08643266558647156,
-0.011451151221990585,
0.014078641310334206,
-0.02617686241865158,
-0.06000089645385742,
-0.0043284958228468895,
0.04098100587725639,
-0.010647217743098736,
-0.030157312750816345,
-0.034902483224868774,
-0.01027466356754303,
-0.04592225328087807,
-0.027333742007613182,
-0.03151027485728264,
0.014706102199852467,
-0.01654926687479019,
-0.002114002127200365,
0.0014730612747371197,
0.004056433215737343,
0.005451061762869358,
-0.04062805697321892,
0.01880420185625553,
0.023157209157943726,
0.008926603943109512,
-0.011186441406607628,
-0.021510126069188118,
-0.02921612188220024,
-0.05796165019273758,
0.015245325863361359,
0.014755122363567352,
-0.058353811502456665,
0.03811821714043617,
0.019147343933582306,
-0.006054012104868889,
0.04184376075863838,
-0.010127602145075798,
0.007279520388692617,
0.0035564256832003593,
-0.0350201316177845,
-0.015196305699646473,
0.009872696362435818,
-0.06086365506052971,
0.01002465933561325,
-0.03143184259533882,
-0.005926559213548899,
0.0006409409688785672,
-0.062275439500808716,
-0.02525527961552143,
0.012157044373452663,
0.03943196311593056,
-0.07945216447114944,
-0.015519839711487293,
0.0649813637137413,
-0.041726112365722656,
0.08235417306423187,
-0.0172845721244812,
0.03754958137869835,
-0.036294661462306976,
0.08855034410953522,
-0.006186367012560368,
0.013264903798699379,
0.0894130989909172,
-0.008054042235016823,
-0.00003802906212513335,
-0.018696358427405357,
-0.03166713938117027,
0.026549415662884712,
0.030902422964572906,
-0.012804112397134304,
-0.049961529672145844,
-0.017568890005350113,
-0.01925518922507763,
0.048079147934913635,
0.019588528200984,
-0.0200493186712265,
0.10266820341348648,
0.03341226279735565,
0.016931625083088875,
0.012911957688629627,
0.0008835916523821652,
-0.03309853374958038,
0.04349084571003914,
0.005343216937035322,
-0.06109895184636116,
-0.007725605741143227,
0.02478468418121338,
0.01571592129766941,
-0.03954961150884628,
0.01315705943852663,
0.004617716185748577,
-0.001485316315665841,
0.006068718153983355,
-0.03288284316658974,
-0.010039365850389004,
0.021941503509879112,
-0.017813991755247116,
-0.02603960409760475,
-0.026196470484137535,
0.01232371386140585,
-0.04956936836242676,
0.02552979253232479,
-0.03143184259533882,
0.08517774194478989,
-0.027843553572893143,
0.05662829801440239,
0.0271768756210804,
-0.02327485755085945,
-0.018559100106358528,
0.007230500224977732,
-0.06290289759635925,
-0.02170620672404766,
0.024118008092045784,
0.016666915267705917,
-0.02243170700967312,
0.022784654051065445,
-0.03903979808092117,
-0.04741247370839119,
0.003277009818702936,
0.008877583779394627,
-0.008000119589269161,
-0.03219655901193619,
0.009720733389258385,
0.10666825622320175,
-0.049137987196445465,
-0.015147284604609013,
0.05027526244521141,
-0.02727491781115532,
0.07149126380681992,
-0.025549400597810745,
0.026706282049417496,
-0.056510649621486664,
0.03696133568882942,
-0.013921776786446571,
-0.019745392724871635,
0.011990374885499477,
0.06949123740196228,
0.05505964532494545,
-0.06925593316555023,
-0.00007456453022314236,
-0.010804083198308945,
-0.02027481235563755,
0.047843851149082184,
-0.053569428622722626,
0.03419658914208412,
0.031157327815890312,
0.025412144139409065,
-0.012176652438938618,
0.013882560655474663,
0.04451046884059906,
-0.008965820074081421,
0.01354922167956829,
-0.021588558331131935,
-0.02778472937643528,
-0.029471028596162796,
-0.0008884936687536538,
0.03839273005723953,
0.05353021249175072,
-0.07317756116390228,
-0.0011397228809073567,
0.037392716854810715,
-0.020902272313833237,
0.062314655631780624,
-0.0193532295525074,
-0.00467654038220644,
0.015862982720136642,
0.044667333364486694,
-0.03860842064023018,
-0.030255353078246117,
-0.013823735527694225,
-0.019480682909488678,
-0.12313909083604813,
-0.07855018973350525,
0.017617911100387573,
0.020235596224665642,
0.023372897878289223,
-0.04741247370839119,
0.028451405465602875,
-0.02382388524711132,
0.05956951901316643,
-0.020843448117375374,
0.04905955493450165,
0.01059819757938385,
0.009156999178230762,
0.05662829801440239,
-0.011451151221990585,
-0.020019907504320145,
0.008235417306423187,
0.028314149007201195,
-0.04764777049422264,
-0.0036201521288603544,
-0.03754958137869835,
-0.01239234209060669,
0.023235641419887543,
0.09317786246538162,
-0.006009893491864204,
-0.005754987709224224,
-0.039373137056827545,
-0.06874612718820572,
-0.015578663907945156,
-0.06651079654693604,
-0.046235986053943634,
-0.06321663409471512,
-0.03386325016617775,
-0.028902392834424973,
0.009583476930856705,
0.012294300831854343,
-0.08909936994314194,
-0.03123576007783413,
0.05474591627717018,
0.014735514298081398,
-0.024059182032942772,
0.008897191844880581,
-0.026510199531912804,
0.016323773190379143,
0.08776601403951645,
-0.01027466356754303,
-0.013421769253909588,
0.06874612718820572,
0.0529811829328537,
0.013166863471269608,
-0.07102067023515701,
-0.03239263966679573,
-0.015588467940688133,
0.020863056182861328,
-0.013460985384881496,
-0.025451360270380974,
-0.04003981500864029,
0.012294300831854343,
0.04502027854323387,
-0.018696358427405357,
-0.03294166922569275,
-0.07702075690031052,
-0.021941503509879112,
0.005313804838806391,
-0.043333981186151505,
-0.07404032349586487,
-0.00045129351201467216,
-0.0031250466126948595,
-0.04415752366185188,
0.09804067760705948,
-0.04451046884059906,
0.03464757651090622,
-0.05996168032288551,
0.00033854672801680863,
-0.027490606531500816,
-0.06302054971456528,
0.010206034407019615,
0.011853118427097797,
-0.05800086632370949,
0.03221616894006729,
0.03694172948598862,
0.006916769780218601,
-0.023019950836896896,
-0.02211797796189785,
-0.03137301653623581,
-0.02382388524711132,
-0.013333532027900219,
-0.06843239814043045,
-0.011960962787270546,
-0.02092188037931919,
0.020980706438422203,
-0.06400095671415329,
0.0023419468197971582,
-0.007098145317286253,
0.02225523442029953,
-0.009225628338754177,
0.036843687295913696,
0.008519735187292099,
0.002634843345731497,
0.031765181571245193,
0.05615770071744919,
0.009960932657122612,
-0.03166713938117027,
-0.0052941967733204365,
0.010725650005042553,
-0.00710794935002923,
0.05749105289578438,
-0.012862937524914742,
-0.047843851149082184,
0.020863056182861328,
0.02170620672404766,
-0.06333427876234055,
-0.0033162259496748447,
0.016941430047154427,
0.03998098894953728,
-0.05266745388507843,
0.029980840161442757,
-0.05717732384800911,
-0.017706146463751793,
-0.011549192480742931,
-0.042824167758226395,
0.0017316434532403946,
0.011853118427097797,
-0.023431722074747086,
-0.0271768756210804,
0.02774551324546337,
-0.05564789101481438,
-0.019970886409282684,
0.013823735527694225,
-0.06286368519067764,
0.06004011258482933,
-0.02068658359348774,
-0.02160816639661789,
0.058118514716625214,
-0.03382403403520584,
0.01732378825545311,
0.005264784675091505,
0.05407923832535744,
-0.006299113854765892,
-0.032647546380758286,
-0.025372928008437157,
0.013117843307554722,
0.017755167558789253,
-0.0031323996372520924,
0.021353259682655334,
-0.00010822771582752466,
-0.026941578835248947,
-0.002519645495340228,
-0.019549312070012093,
-0.003852998837828636,
0.07125596702098846,
0.03437306359410286,
-0.028137674555182457,
0.0014620316214859486,
-0.02590234763920307,
-0.04058884084224701,
0.03509856387972832,
-0.07956981658935547,
-0.0016887506935745478,
0.023470938205718994,
-0.010049169883131981,
0.04156924784183502,
-0.05654986575245857,
-0.02645137533545494,
-0.024118008092045784,
0.043608494102954865,
-0.050392910838127136,
0.03482405096292496,
0.02611803635954857,
0.03151027485728264,
-0.03013770468533039,
0.02101992256939411,
0.0603538416326046,
-0.007186381611973047,
0.06090287119150162,
-0.01852968893945217,
-0.005007427651435137,
0.0048334053717553616,
-0.05741262063384056,
-0.011647232808172703,
0.035412292927503586,
-0.023098384961485863,
-0.025451360270380974,
0.05349099636077881,
-0.02621607854962349,
0.002970632631331682,
0.02382388524711132,
0.013313923962414265,
-0.028176890686154366,
-0.024843508377671242,
0.02505919709801674,
-0.03827508166432381,
0.011823706328868866,
0.059647951275110245,
0.07721684128046036,
-0.03827508166432381,
0.0373338907957077,
-0.0483928807079792,
-0.0038284885231405497,
-0.0061373463831841946,
0.01751006580889225,
0.031176935881376266,
-0.020568935200572014,
0.05556945875287056,
0.0327063724398613,
-0.03403972461819649,
0.0025490575935691595,
0.012215868569910526,
0.009044252336025238,
-0.05866754427552223,
-0.04023589566349983,
-0.006931476294994354,
0.06247152015566826,
0.04231435805559158,
-0.009818773716688156,
-0.035588767379522324,
0.030569083988666534,
-0.029000433161854744,
0.005416747648268938,
-0.019970886409282684,
-0.05258902162313461,
0.000010120019396708813,
-0.01345118135213852,
0.013951188884675503,
-0.0654127448797226,
-0.0005263559287413955,
0.10211917012929916,
0.024392521008849144,
-0.019519899040460587,
0.017892424017190933,
0.028882784768939018,
0.0059853834100067616,
0.02966710925102234,
0.04215749353170395,
-0.055177293717861176,
-0.02676510624587536,
0.03072594851255417,
-0.06564804166555405,
0.03072594851255417,
0.0006758679519407451,
-0.022196410223841667,
0.001753702643327415,
-0.028274932876229286,
0.013176667504012585,
0.005171645898371935,
-0.06666766107082367,
0.022274842485785484,
-0.02894160896539688,
-0.028784744441509247,
0.05662829801440239
]
|
41,672 | pyglove.core.hyper.categorical | permutate | Permuatation of candidates.
Example::
@pg.members([
('x', pg.typing.Int())
])
class A(pg.Object):
pass
# Permutates the candidates.
v = pg.permutate([1, 2, 3])
# A complex type as candidate.
v1 = pg.permutate(['a', {'x': 1}, A(1)])
# A hierarchical categorical choice:
v2 = pg.permutate([
'foo',
'bar',
A(pg.oneof([1, 2, 3]))
])
.. note::
Under symbolic mode (by default), `pg.manyof` returns a ``pg.hyper.ManyOf``
object. Under dynamic evaluate mode, which is called under the context of
:meth:`pyglove.hyper.DynamicEvaluationContext.collect` or
:meth:`pyglove.hyper.DynamicEvaluationContext.apply`, it evaluates to
a concrete candidate value.
To use conditional search space in dynamic evaluate mode, the candidate
should be wrapped with a `lambda` function, which is not necessary under
symbolic mode. For example::
pg.permutate([
lambda: pg.oneof([0, 1], name='sub_a'),
lambda: pg.floatv(0.0, 1.0, name='sub_b'),
lambda: pg.manyof(2, ['a', 'b', 'c'], name='sub_c')
], name='root')
See also:
* :class:`pyglove.hyper.ManyOf`
* :func:`pyglove.oneof`
* :func:`pyglove.manyof`
* :func:`pyglove.floatv`
* :func:`pyglove.evolve`
Args:
candidates: Candidates to select from. Items of candidate can be any type,
therefore it can have nested hyper primitives, which forms a hierarchical
search space.
name: A name that can be used to identify a decision point in the search
space. This is needed when the code to instantiate the same hyper
primitive may be called multiple times under a
`pg.DynamicEvaluationContext.collect` context or a
`pg.DynamicEvaluationContext.apply` context.
hints: An optional value which acts as a hint for the controller.
Returns:
In symbolic mode, this function returns a `Choices`.
In dynamic evaluate mode, this function returns a permutation from
`candidates`.
If evaluated under an `pg.DynamicEvaluationContext.apply` scope,
this function will return a permutation of candidates based on controller
decisions.
If evaluated under a `pg.DynamicEvaluationContext.collect`
scope, it will return the first valid permutation.
For example::
# Evaluates to [0, 1, 2, 3, 4].
permutate(range(5), name='numbers')
| def permutate(candidates: Iterable[Any],
name: Optional[str] = None,
hints: Optional[Any] = None) -> Any:
"""Permuatation of candidates.
Example::
@pg.members([
('x', pg.typing.Int())
])
class A(pg.Object):
pass
# Permutates the candidates.
v = pg.permutate([1, 2, 3])
# A complex type as candidate.
v1 = pg.permutate(['a', {'x': 1}, A(1)])
# A hierarchical categorical choice:
v2 = pg.permutate([
'foo',
'bar',
A(pg.oneof([1, 2, 3]))
])
.. note::
Under symbolic mode (by default), `pg.manyof` returns a ``pg.hyper.ManyOf``
object. Under dynamic evaluate mode, which is called under the context of
:meth:`pyglove.hyper.DynamicEvaluationContext.collect` or
:meth:`pyglove.hyper.DynamicEvaluationContext.apply`, it evaluates to
a concrete candidate value.
To use conditional search space in dynamic evaluate mode, the candidate
should be wrapped with a `lambda` function, which is not necessary under
symbolic mode. For example::
pg.permutate([
lambda: pg.oneof([0, 1], name='sub_a'),
lambda: pg.floatv(0.0, 1.0, name='sub_b'),
lambda: pg.manyof(2, ['a', 'b', 'c'], name='sub_c')
], name='root')
See also:
* :class:`pyglove.hyper.ManyOf`
* :func:`pyglove.oneof`
* :func:`pyglove.manyof`
* :func:`pyglove.floatv`
* :func:`pyglove.evolve`
Args:
candidates: Candidates to select from. Items of candidate can be any type,
therefore it can have nested hyper primitives, which forms a hierarchical
search space.
name: A name that can be used to identify a decision point in the search
space. This is needed when the code to instantiate the same hyper
primitive may be called multiple times under a
`pg.DynamicEvaluationContext.collect` context or a
`pg.DynamicEvaluationContext.apply` context.
hints: An optional value which acts as a hint for the controller.
Returns:
In symbolic mode, this function returns a `Choices`.
In dynamic evaluate mode, this function returns a permutation from
`candidates`.
If evaluated under an `pg.DynamicEvaluationContext.apply` scope,
this function will return a permutation of candidates based on controller
decisions.
If evaluated under a `pg.DynamicEvaluationContext.collect`
scope, it will return the first valid permutation.
For example::
# Evaluates to [0, 1, 2, 3, 4].
permutate(range(5), name='numbers')
"""
candidates = list(candidates)
return manyof(
len(candidates), candidates,
choices_distinct=True, choices_sorted=False, name=name, hints=hints)
| (candidates: Iterable[Any], name: Optional[str] = None, hints: Optional[Any] = None) -> Any | [
0.042933762073516846,
-0.06077189743518829,
-0.043965090066194534,
-0.049389105290174484,
-0.03325074538588524,
0.007319557014852762,
0.042437195777893066,
-0.037051375955343246,
0.01867847889661789,
0.03546619042754173,
-0.019614310935139656,
0.03806360438466072,
-0.004676781594753265,
0.05511869862675667,
-0.018955407664179802,
-0.03500782325863838,
0.05206291377544403,
-0.015584496781229973,
0.00033870257902890444,
0.05588264390826225,
0.04258998483419418,
0.0418260395526886,
0.004173054825514555,
0.025114722549915314,
-0.020550144836306572,
-0.013130320236086845,
0.08968725055456161,
0.033900100737810135,
-0.0864022821187973,
0.0289535503834486,
-0.004788985941559076,
0.029220931231975555,
-0.012280430644750595,
0.03561897948384285,
-0.06333111971616745,
-0.02020636945962906,
0.003989230375736952,
0.09259025007486343,
-0.00008012479520402849,
-0.019432874396443367,
0.030748823657631874,
0.005758242215961218,
-0.06462982296943665,
-0.05756332725286484,
-0.026986390352249146,
-0.006493540480732918,
0.035065118223428726,
0.05443114787340164,
-0.032696884125471115,
-0.04415607452392578,
-0.0004706026229541749,
-0.018955407664179802,
-0.00403936393558979,
-0.019366029649972916,
0.056799378246068954,
0.06100108101963997,
0.0023574894294142723,
0.043048352003097534,
0.06504999846220016,
0.013751027174293995,
0.018296504393219948,
-0.018668929114937782,
0.017141036689281464,
-0.03819729760289192,
-0.002919705817475915,
-0.047364648431539536,
0.01561314519494772,
-0.030137667432427406,
-0.07184911519289017,
0.01878352090716362,
-0.044920019805431366,
-0.03403379023075104,
0.0033207775559276342,
0.013989759609103203,
0.006082919426262379,
0.030175864696502686,
0.0376434363424778,
0.034148383885622025,
0.04190243408083916,
-0.03130268305540085,
0.0017594629898667336,
-0.022994771599769592,
-0.03898034244775772,
-0.08304092288017273,
-0.006230934057384729,
0.027062784880399704,
-0.005404917523264885,
-0.04465264081954956,
0.06890792399644852,
-0.03821639344096184,
0.04071831703186035,
-0.027272868901491165,
0.038254592567682266,
0.016491683200001717,
-0.01534576341509819,
0.01416164729744196,
-0.03674579784274101,
-0.011650175787508488,
-0.0037027504295110703,
0.014066154137253761,
-0.056799378246068954,
0.07983235269784927,
-0.004874929785728455,
0.013989759609103203,
0.03796811401844025,
-0.04174964502453804,
-0.021925248205661774,
-0.01836335100233555,
0.04721185937523842,
-0.02190614864230156,
-0.05496590957045555,
0.04220801219344139,
-0.002621289575472474,
0.015918724238872528,
-0.02920183353126049,
0.049962062388658524,
-0.030328653752803802,
-0.05989336222410202,
-0.04958008974790573,
0.025897767394781113,
-0.022135334089398384,
0.020187271758913994,
0.03397649526596069,
-0.03027135692536831,
-0.030787020921707153,
0.0034019467420876026,
0.01768534816801548,
0.010580651462078094,
-0.04266637936234474,
0.03221942111849785,
0.029087241739034653,
0.04140586778521538,
-0.009788056835532188,
0.027482954785227776,
0.028838958591222763,
0.004903577733784914,
0.05148995667695999,
-0.021237697452306747,
0.007243162486702204,
-0.026375234127044678,
-0.01775219291448593,
-0.00024022518482524902,
0.018372898921370506,
0.02137138694524765,
0.056799378246068954,
-0.07104697078466415,
0.05022944509983063,
0.010504256933927536,
-0.017943179234862328,
0.028724366798996925,
-0.015250270254909992,
0.01790498197078705,
0.05985516309738159,
0.04534019157290459,
-0.018191462382674217,
0.004566964227706194,
0.02268919348716736,
-0.033193450421094894,
-0.06684526801109314,
-0.012834291905164719,
-0.004096659831702709,
-0.03771983087062836,
-0.046906281262636185,
0.09442371875047684,
-0.014763254672288895,
-0.0752868726849556,
-0.01167882326990366,
-0.05213930830359459,
0.029641102999448776,
0.00300803710706532,
0.04186423867940903,
-0.014486324973404408,
-0.011526034213602543,
-0.046944476664066315,
-0.0026189021300524473,
0.06367489695549011,
-0.0033279394265264273,
-0.05546247586607933,
0.051375363022089005,
-0.0622233971953392,
-0.013340406119823456,
-0.037261463701725006,
-0.02671900950372219,
-0.07853364199399948,
-0.005104113835841417,
0.014047055505216122,
0.0005287938402034342,
0.035065118223428726,
-0.0317610502243042,
-0.01824875921010971,
-0.05943499505519867,
-0.044881824404001236,
0.03519880771636963,
0.06344570964574814,
0.0022190241143107414,
0.013817871920764446,
-0.06501179933547974,
0.02622244320809841,
-0.017169684171676636,
0.0018072095699608326,
-0.038082703948020935,
-0.02832329459488392,
-0.004378364887088537,
0.021925248205661774,
0.0010892198188230395,
0.061115674674510956,
0.007625135127454996,
-0.01832515373826027,
0.06760921329259872,
-0.07479030638933182,
0.017351122573018074,
0.021314091980457306,
0.04140586778521538,
0.018984057009220123,
-0.02207803726196289,
0.02207803726196289,
0.002328841481357813,
-0.05248308554291725,
0.021562373265624046,
0.03300246596336365,
0.013130320236086845,
-0.029220931231975555,
0.04262818396091461,
0.05588264390826225,
0.04721185937523842,
-0.015727736055850983,
-0.06455343216657639,
0.0193469300866127,
-0.01165972463786602,
0.01451497245579958,
0.030615132302045822,
-0.0619560144841671,
0.017141036689281464,
-0.029144536703824997,
-0.003385235322639346,
0.0023634578101336956,
-0.0358099639415741,
0.013789224438369274,
-0.02696729078888893,
0.042933762073516846,
-0.029010847210884094,
0.04213161766529083,
-0.013942013494670391,
0.021982545033097267,
-0.004894028417766094,
-0.0077779246494174,
0.014600916765630245,
-0.004660069942474365,
0.058289073407649994,
-0.024675453081727028,
0.01279609464108944,
-0.019824396818876266,
-0.0013464547228068113,
0.003681264352053404,
0.021810656413435936,
-0.03447306156158447,
-0.03976338729262352,
0.06661608815193176,
0.028972649946808815,
0.019308732822537422,
0.016720866784453392,
0.019938988611102104,
-0.03863656520843506,
0.03263958916068077,
-0.02849518321454525,
-0.020683836191892624,
-0.009210322983562946,
0.011927105486392975,
-0.05351441353559494,
-0.023796916007995605,
-0.005705721210688353,
0.008833125233650208,
0.011822063475847244,
0.025534892454743385,
-0.008708983659744263,
0.019900791347026825,
0.024751847609877586,
0.07467571645975113,
0.013206715695559978,
-0.010762088000774384,
0.02828509733080864,
0.007582163438200951,
0.010714341886341572,
0.00403936393558979,
-0.018802618607878685,
0.019432874396443367,
-0.029641102999448776,
0.02807501330971718,
-0.014486324973404408,
0.01984349638223648,
0.0127769960090518,
-0.021638767793774605,
0.05171914026141167,
-0.024007000029087067,
0.014085252769291401,
0.05259767547249794,
-0.003986842930316925,
-0.0038340536411851645,
-0.02870526909828186,
-0.05588264390826225,
0.040985699743032455,
-0.014696409925818443,
0.029832089319825172,
0.02452266402542591,
0.002439852338284254,
-0.011602428741753101,
0.028437886387109756,
-0.07505768537521362,
0.05103158950805664,
0.02941191755235195,
-0.0096066202968359,
-0.030882515013217926,
0.03178014978766441,
0.04514920338988304,
0.036382924765348434,
-0.056226421147584915,
0.03867476433515549,
-0.015460356138646603,
0.029832089319825172,
-0.02757844887673855,
-0.02696729078888893,
0.09335419535636902,
-0.04725005477666855,
0.03938141092658043,
-0.04732644930481911,
0.04262818396091461,
0.01201304979622364,
0.04236080124974251,
0.007825670763850212,
-0.033479928970336914,
-0.09534045308828354,
-0.03445396199822426,
0.01928008534014225,
0.05496590957045555,
-0.037586141377687454,
0.016778161749243736,
0.025649484246969223,
0.01080983504652977,
0.03155096620321274,
-0.032372210174798965,
0.07165812700986862,
0.0002576825500000268,
-0.010303720831871033,
0.00807872787117958,
0.038120903074741364,
0.09824344515800476,
0.026146048679947853,
0.0002894638746511191,
0.05210111290216446,
-0.03069152683019638,
0.016720866784453392,
-0.04621873050928116,
0.012261332012712955,
-0.03544709086418152,
0.044576246291399,
-0.027884026989340782,
0.03433936834335327,
0.020034482702612877,
-0.06317833065986633,
-0.006450568325817585,
0.03069152683019638,
-0.08304092288017273,
-0.0009740310488268733,
0.008556194603443146,
0.041444066911935806,
-0.026146048679947853,
-0.0619560144841671,
-0.005137536209076643,
0.018582984805107117,
-0.029010847210884094,
0.016491683200001717,
-0.019289635121822357,
-0.036841291934251785,
-0.00992174819111824,
0.026948193088173866,
0.016816359013319016,
-0.019786199554800987,
0.05393458157777786,
-0.0015338602242991328,
0.025286611169576645,
-0.009047984145581722,
-0.012060795910656452,
0.06184142455458641,
0.012643305584788322,
-0.02016817219555378,
0.025573089718818665,
0.0029865510296076536,
0.00475795054808259,
0.04732644930481911,
0.037261463701725006,
-0.008933392353355885,
0.010313269682228565,
-0.029755694791674614,
0.006565160118043423,
-0.01362688560038805,
-0.0021820205729454756,
0.002595028840005398,
-0.0318947434425354,
-0.10343828052282333,
-0.024121591821312904,
0.06585214287042618,
8.113195235637249e-7,
-0.02866707183420658,
-0.008093052543699741,
-0.04618053138256073,
-0.0023801689967513084,
0.05989336222410202,
0.031589165329933167,
-0.007033077068626881,
0.0367267020046711,
0.009716437198221684,
0.031417276710271835,
0.037337858229875565,
-0.024618158116936684,
-0.00039182070759125054,
0.029220931231975555,
0.005595903843641281,
-0.008814026601612568,
0.04404148459434509,
-0.003330326871946454,
0.1108485534787178,
-0.006918485276401043,
-0.005686622578650713,
0.04041273891925812,
0.018945859745144844,
-0.0020662350580096245,
-0.003664553165435791,
-0.015364862978458405,
-0.0020769780967384577,
-0.020492849871516228,
-0.050878800451755524,
-0.03802540898323059,
0.01256691012531519,
-0.039496004581451416,
0.022956574335694313,
-0.01963341049849987,
-0.02513382025063038,
0.06344570964574814,
-0.05343801900744438,
-0.00019441827316768467,
0.05760152265429497,
-0.016596725210547447,
-0.0023980739060789347,
-0.034644946455955505,
0.06615772098302841,
0.01963341049849987,
-0.021848853677511215,
-0.006947133224457502,
-0.07261306047439575,
-0.032773278653621674,
0.0950348749756813,
0.011000821366906166,
0.06944268196821213,
-0.02792222425341606,
0.016988247632980347,
0.015765933319926262,
-0.03695588558912277,
-0.018802618607878685,
-0.04476723074913025,
-0.0016460648039355874,
0.03819729760289192,
-0.05504230409860611,
0.11207086592912674,
0.029889384284615517,
-0.03097800724208355,
-0.0027860153932124376,
-0.016596725210547447,
-0.0040083290077745914,
-0.005925355479121208,
-0.0096066202968359,
0.04472903534770012,
-0.013512293808162212,
0.035389795899391174,
0.0068086679093539715,
-0.06451523303985596,
-0.0034496933221817017,
-0.021256795153021812,
-0.013225814327597618,
0.00974985957145691,
-0.023663224652409554,
0.007352979388087988,
-0.0385601706802845,
0.09564603120088577,
0.01325446180999279,
0.0058441865257918835,
-0.053285229951143265,
-0.01888856291770935,
0.012977531179785728,
-0.05095519497990608,
-0.015403060242533684,
-0.03674579784274101,
-0.018974507227540016,
0.02253640443086624,
-0.01439083181321621,
-0.024369874969124794,
-0.0074866702780127525,
0.042933762073516846,
0.01004588883370161,
0.016434386372566223,
-0.027368362993001938,
-0.021237697452306747,
0.042437195777893066,
0.05844186246395111,
-0.0427427738904953,
0.05492771416902542,
-0.032696884125471115,
0.06371308863162994,
-0.018334701657295227,
-0.03441576287150383,
0.028189605101943016,
-0.0694044902920723,
-0.08097826689481735,
-0.003962969407439232,
-0.00852277223020792,
0.021524176001548767,
0.03527520224452019,
0.046409714967012405,
-0.0030414597131311893,
-0.07062680274248123,
-0.09060398489236832,
0.017207881435751915,
-0.030863415449857712,
-0.0023001935333013535,
0.03206663206219673,
0.019060451537370682,
0.0011250297538936138,
-0.011726570315659046,
-0.04415607452392578,
-0.012500065378844738,
-0.019260987639427185,
0.03302156180143356,
-0.005213931202888489,
-0.01396111212670803,
0.016205202788114548,
-0.025496695190668106,
-0.026661712676286697,
-0.012318627908825874,
-0.022841982543468475,
0.03155096620321274,
0.06955727934837341,
0.029354622587561607,
0.03987797722220421,
0.005595903843641281,
-0.002537732943892479,
-0.005424016155302525,
-0.05733414366841316,
0.04618053138256073,
-0.0678384006023407,
0.057677917182445526,
-0.031837448477745056,
-0.0074532474391162395,
-0.039534203708171844,
-0.05779251083731651,
0.008632589131593704,
-0.06306373327970505,
-0.06050451844930649,
0.01006498746573925,
-0.054240159690380096,
-0.01205124706029892,
-0.04178784415125847,
-0.024427171796560287,
-0.015336214564740658,
0.08220057934522629,
-0.0384264811873436,
0.06623411178588867,
0.003927159588783979,
-0.06432424485683441,
0.01004588883370161,
0.023701421916484833,
-0.033479928970336914,
0.07521047443151474,
0.016739964485168457,
-0.002783627947792411,
-0.03380460664629936,
-0.01658717542886734,
-0.005123212467879057,
0.02717737667262554,
0.011793415062129498,
-0.013435899280011654,
-0.014791903086006641,
-0.02675720676779747,
-0.021505078300833702,
-0.05301784723997116,
-0.055347882211208344,
-0.014304887503385544,
0.04851056635379791,
0.03409108892083168,
0.02381601370871067,
0.03806360438466072,
0.04946549981832504,
-0.02240271493792534,
0.030003976076841354,
0.03300246596336365,
-0.008799701929092407,
-0.032830577343702316,
0.01006498746573925,
-0.05206291377544403,
0.01573728583753109,
0.01637709140777588,
-0.049427300691604614,
-0.049389105290174484,
0.009620944038033485,
0.0011739700566977262,
0.005075465887784958,
-0.004643358755856752,
-0.01114406157284975,
-0.03525610640645027,
0.05351441353559494,
0.08961085975170135,
0.0560736320912838,
-0.023701421916484833,
-0.018793070688843727,
-0.0013166130520403385,
-0.007988009601831436,
-0.025152919813990593,
0.013349954970180988,
-0.03093980997800827,
0.031952038407325745,
0.037586141377687454,
0.011096314527094364,
-0.12712059915065765,
0.014218943193554878,
-0.03019496239721775,
-0.0074866702780127525,
-0.06944268196821213,
-0.03470224514603615,
-0.06623411178588867,
-0.057716116309165955,
0.010036339983344078,
0.008584842085838318,
-0.007138120010495186,
-0.015059283934533596,
0.01006498746573925,
0.019432874396443367,
0.0492745116353035,
-0.015059283934533596,
-0.01522162277251482,
-0.05240669101476669,
-0.03983978182077408,
-0.0318947434425354,
-0.00830791238695383,
0.01616700552403927,
0.008374757133424282,
0.02866707183420658,
-0.00030095293186604977,
0.030748823657631874,
0.0068086679093539715,
0.03483593463897705,
0.05221570283174515,
0.015126129612326622,
-0.001642483752220869,
0.019337382167577744,
0.00004565770723274909,
-0.00723838759586215,
0.01900315470993519,
0.008245841600000858,
0.027349263429641724,
-0.004843894857913256,
-0.027807632461190224,
0.02668081223964691,
0.021218597888946533,
-0.014600916765630245,
0.07089418172836304,
-0.004003554116934538,
-0.004984747152775526,
0.04385049641132355,
-0.017838137224316597,
-0.007362528704106808,
-0.034396667033433914,
0.11543223261833191,
-0.02016817219555378,
-0.020683836191892624,
0.011249103583395481,
-0.021237697452306747,
0.005734369158744812,
-0.018372898921370506,
-0.015030636452138424,
0.0280368160456419,
-0.05297965183854103,
0.05118437856435776,
0.010217776522040367,
-0.028838958591222763,
0.003347038058564067,
0.02083662524819374,
0.0037266237195581198,
0.0010945912217721343,
0.002955515868961811,
0.019308732822537422,
-0.016539430245757103,
-0.01484919898211956,
0.013302208855748177,
-0.03302156180143356,
0.036382924765348434,
-0.005314198788255453,
-0.014667761512100697,
0.057716116309165955,
-0.027693040668964386,
-0.031245388090610504,
0.028113210573792458,
0.009788056835532188,
0.03072972595691681,
0.014304887503385544,
-0.031168993562459946,
-0.004927451256662607,
-0.052253901958465576,
0.023052068427205086,
0.0006248839199542999,
0.05206291377544403,
0.045874953269958496,
-0.020015383139252663,
-0.02414069138467312,
0.05893842875957489,
0.009277168661355972,
-0.001946868491359055,
0.04415607452392578,
0.010571101680397987,
0.02994668111205101,
0.024217085912823677,
0.04094750061631203,
-0.002977001713588834,
0.006121116690337658,
0.007410275749862194,
0.02580227330327034,
-0.05210111290216446,
-0.049389105290174484,
0.002766916761174798,
0.010781186632812023,
0.004452372435480356,
0.04079471156001091,
-0.003986842930316925,
0.025821372866630554,
-0.017379770055413246,
-0.026661712676286697,
-0.06321652233600616,
-0.01690230332314968,
-0.04129127785563469,
0.06657788902521133,
0.03147457167506218,
-0.05744873359799385,
-0.01747526228427887,
-0.07627999782562256,
0.031837448477745056,
-0.027903124690055847,
-0.028972649946808815,
-0.015976019203662872,
0.00124021852388978,
0.004922676365822554,
-0.00034437249996699393,
0.012633755803108215,
-0.013521842658519745,
0.010380115360021591,
0.01290113665163517,
0.02186795137822628,
0.01679726131260395,
-0.014610465615987778,
-0.04709726572036743,
-0.005080240312963724,
-0.06283455342054367,
-0.06711264699697495,
-0.04564576968550682,
-0.03525610640645027,
0.025248413905501366,
0.04663889855146408,
-0.03420567885041237,
-0.036841291934251785,
-0.062108803540468216,
0.0358099639415741,
0.017885884270071983
]
|
41,673 | pyglove.core.tuning.backend | poll_result | Gets tuning result by name. | def poll_result(
name: str,
backend: Optional[str] = None,
**kwargs) -> Result:
"""Gets tuning result by name."""
return get_backend_cls(backend).poll_result(name, **kwargs)
| (name: str, backend: Optional[str] = None, **kwargs) -> pyglove.core.tuning.protocols.Result | [
0.07726968079805374,
-0.06021013855934143,
-0.051613468676805496,
-0.0041687157936394215,
0.0061548142693936825,
0.02834894135594368,
-0.017477665096521378,
-0.03913659229874611,
0.03632678464055061,
-0.048536062240600586,
0.013112430460751057,
0.016524339094758034,
-0.025104282423853874,
-0.0233147032558918,
0.010294261388480663,
0.0034432674292474985,
0.02008677087724209,
0.023816455155611038,
-0.0233147032558918,
0.04395340010523796,
0.009725609794259071,
-0.012660854496061802,
0.05174726992845535,
0.052148669958114624,
0.04442170262336731,
0.006869809702038765,
0.04709770902991295,
-0.0658966526389122,
-0.0459938570857048,
0.010419699363410473,
-0.013831607066094875,
-0.008981346152722836,
0.009399471804499626,
0.023381603881716728,
-0.037096135318279266,
0.0382334403693676,
-0.011431563645601273,
0.029787294566631317,
-0.035356730222702026,
-0.005586163140833378,
0.04713115841150284,
-0.04412065073847771,
-0.020371098071336746,
0.008722107857465744,
-0.007526267319917679,
-0.012920092791318893,
-0.011431563645601273,
-0.04261539876461029,
-0.010946538299322128,
-0.016900651156902313,
0.0033742766827344894,
-0.004365235101431608,
-0.06332099437713623,
0.05238282307982445,
-0.013455294072628021,
-0.03987249359488487,
-0.04191294685006142,
0.021240798756480217,
-0.0036565116606652737,
0.007634980138391256,
-0.03425287827849388,
-0.023582303896546364,
0.013957045041024685,
0.05666442960500717,
-0.012468516826629639,
-0.04030734300613403,
0.014525696635246277,
0.021257523447275162,
-0.06057808920741081,
0.009399471804499626,
0.04522450640797615,
0.02400043047964573,
-0.02440183237195015,
-0.04017354175448418,
0.008391788229346275,
0.02885069139301777,
-0.028900867328047752,
-0.014985634945333004,
-0.03508913144469261,
0.018230292946100235,
0.009683797135949135,
0.06833850592374802,
0.0008921762928366661,
-0.06840541213750839,
-0.028181690722703934,
-0.03840068727731705,
-0.024702882394194603,
-0.040240444242954254,
0.008571582846343517,
-0.033466801047325134,
0.012460153549909592,
-0.052148669958114624,
0.03923694044351578,
0.04753255844116211,
-0.003995193634182215,
-0.05154656991362572,
0.001494800322689116,
-0.03132599592208862,
-0.028014440089464188,
-0.011791151948273182,
-0.012234365567564964,
0.05840383470058441,
0.004436316434293985,
-0.05398842692375183,
0.09085041284561157,
0.010386249050498009,
0.002862072316929698,
-0.027128012850880623,
0.013246230781078339,
0.045425206422805786,
0.01828046701848507,
0.03099149651825428,
-0.06225059553980827,
-0.0026132874190807343,
0.010921450331807137,
0.022060325369238853,
-0.027980990707874298,
0.0009203997906297445,
-0.0497402660548687,
0.010946538299322128,
-0.026776786893606186,
0.010110286064445972,
0.03682853654026985,
-0.010846187360584736,
-0.03599228337407112,
0.03997284173965454,
0.021090274676680565,
-0.0024627619422972202,
-0.013898507691919804,
0.04003974422812462,
0.07104796171188354,
0.019785720854997635,
-0.03186119720339775,
-0.0026780967600643635,
0.01572989858686924,
0.05007476732134819,
0.05054306611418724,
0.04442170262336731,
0.03008834458887577,
0.022746052592992783,
0.025840185582637787,
0.010996713303029537,
-0.01802959106862545,
-0.01706790179014206,
0.03291487693786621,
-0.05455707758665085,
-0.015479023568332195,
-0.00559452548623085,
0.03528983145952225,
0.00379658374004066,
0.0105702243745327,
0.02269587852060795,
0.029419343918561935,
-0.013087342493236065,
0.03211207315325737,
-0.03074062056839466,
0.028583090752363205,
-0.033583879470825195,
-0.027780288830399513,
-0.05398842692375183,
0.018380817025899887,
-0.06686670333147049,
0.004607748240232468,
-0.06733500957489014,
-0.02987091988325119,
-0.0009893905371427536,
-0.06335444748401642,
0.042816098779439926,
-0.02343177981674671,
0.004519941750913858,
-0.01675012707710266,
-0.014500608667731285,
-0.05743378400802612,
0.014584233984351158,
-0.029820743948221207,
0.012226003222167492,
0.014893647283315659,
0.021408049389719963,
0.08068158477544785,
-0.0296869445592165,
-0.009549996815621853,
-0.02291330322623253,
-0.06997755914926529,
-0.018230292946100235,
-0.021224074065685272,
-0.01955156959593296,
0.010578586719930172,
0.0469304583966732,
-0.009968123398721218,
0.039337292313575745,
-0.017544565722346306,
-0.014709671959280968,
0.024518907070159912,
-0.038902439177036285,
0.014057395048439503,
-0.018146667629480362,
0.013890144415199757,
0.0506768673658371,
0.032998502254486084,
-0.0026237403508275747,
-0.023331429809331894,
0.004674648400396109,
0.013037167489528656,
0.05636338144540787,
0.02751268818974495,
-0.006246801931411028,
0.027780288830399513,
0.01594732515513897,
0.0111137880012393,
-0.015596098266541958,
-0.024268031120300293,
-0.0017299961764365435,
-0.05198141932487488,
0.08442799746990204,
-0.04361890256404877,
-0.00852977018803358,
0.05094446986913681,
-0.00299587263725698,
0.05810278654098511,
-0.028466016054153442,
-0.043250951915979385,
-0.06104639172554016,
0.07887528091669083,
0.008504682220518589,
0.015236509963870049,
-0.014726396650075912,
0.005715781822800636,
-0.007388285826891661,
0.023364879190921783,
-0.019785720854997635,
0.05449017509818077,
-0.08041398972272873,
0.06800400465726852,
-0.08315689116716385,
-0.04137774556875229,
0.012970267795026302,
0.0044697667472064495,
0.030021443963050842,
-0.011598814278841019,
-0.024635981768369675,
0.036627836525440216,
0.0029833288863301277,
-0.01734386570751667,
-0.008492138236761093,
-0.05934043601155281,
-0.08543150126934052,
0.04097634553909302,
-0.005448181182146072,
-0.021424774080514908,
-0.044588953256607056,
0.02672661282122135,
0.008090737275779247,
0.05612923204898834,
-0.02620813623070717,
0.0106454873457551,
-0.03242985159158707,
-0.06843885779380798,
-0.038501039147377014,
0.05007476732134819,
-0.007814774289727211,
-0.007488636299967766,
0.07124866545200348,
-0.07593167573213577,
0.04127739742398262,
-0.08061468601226807,
-0.022210851311683655,
-0.04385305196046829,
0.0037338649854063988,
-0.0011226682690903544,
0.025405334308743477,
-0.06228404492139816,
-0.01991952210664749,
-0.019568296149373055,
-0.02060524746775627,
-0.03291487693786621,
0.03192809969186783,
-0.018598243594169617,
0.07994568347930908,
-0.022528627887368202,
-0.052115220576524734,
-0.01077092532068491,
-0.0029059755615890026,
-0.0184978935867548,
-0.022863127291202545,
-0.027679938822984695,
-0.030473019927740097,
0.020822674036026,
-0.01681702584028244,
-0.030857697129249573,
-0.017444215714931488,
-0.004037006292492151,
-0.07813937962055206,
0.016708314418792725,
-0.034888431429862976,
0.013396755792200565,
0.030539920553565025,
-0.034487031400203705,
-0.03686198592185974,
0.027311988174915314,
0.01955156959593296,
0.001642189803533256,
-0.039805591106414795,
-0.02386663109064102,
0.05669788271188736,
-0.006836359389126301,
0.025723109021782875,
0.0026091060135513544,
-0.05094446986913681,
-0.024736331775784492,
-0.008697019889950752,
-0.03903624042868614,
-0.033801302313804626,
0.02617468498647213,
-0.005230756010860205,
0.0016171021852642298,
0.02440183237195015,
0.05582818016409874,
-0.011640626937150955,
0.013965407386422157,
-0.013037167489528656,
-0.02368265576660633,
0.030824245885014534,
0.0007986205746419728,
-0.03528983145952225,
0.018798943608999252,
-0.02766321413218975,
-0.06472589820623398,
0.009223858825862408,
0.04044114425778389,
-0.008972982876002789,
-0.07325567305088043,
-0.019384320825338364,
0.03615953400731087,
-0.021893076598644257,
-0.013388393446803093,
0.012560504488646984,
0.06773640960454941,
0.06740190833806992,
-0.002120943972840905,
0.021491674706339836,
0.08369209617376328,
-0.05589507892727852,
-0.028884142637252808,
0.013890144415199757,
0.04137774556875229,
0.07994568347930908,
0.018832392990589142,
-0.019384320825338364,
0.11901537328958511,
-0.08897720277309418,
-0.05743378400802612,
-0.06549525260925293,
-0.04800086095929146,
0.05398842692375183,
0.06586319953203201,
0.01386505737900734,
-0.011013437993824482,
-0.007568079978227615,
-0.023264529183506966,
-0.022528627887368202,
-0.05833693593740463,
-0.0035896115005016327,
-0.0326472744345665,
0.023164179176092148,
-0.014442071318626404,
-0.032814525067806244,
0.04412065073847771,
0.006786184385418892,
0.0053603751584887505,
-0.008697019889950752,
-0.07639997452497482,
-0.02834894135594368,
0.018330642953515053,
-0.009784148074686527,
0.004340147599577904,
-0.013020442798733711,
-0.0014582143630832434,
-0.030924595892429352,
0.020688872784376144,
0.004988242872059345,
0.048970915377140045,
0.017427491024136543,
0.007459367159754038,
-0.030422845855355263,
0.03569123148918152,
-0.027027662843465805,
-0.1267758011817932,
0.0037673150654882193,
0.004611929412931204,
-0.025070833042263985,
0.01918361894786358,
0.04181259870529175,
0.006685834378004074,
0.025656210258603096,
-0.0070328786969184875,
0.05198141932487488,
-0.02921864204108715,
-0.03273089975118637,
-0.09754042327404022,
-0.0076391613110899925,
-0.023164179176092148,
-0.0009433967061340809,
-0.039805591106414795,
0.04014009237289429,
-0.01108033861964941,
-0.04177914559841156,
0.050041314214468,
0.05395497381687164,
-0.04218054935336113,
0.01178278960287571,
-0.02635866031050682,
-0.006853084545582533,
-0.012042027898132801,
0.00391784030944109,
-0.07011136412620544,
0.067769855260849,
-0.026275036856532097,
0.059574589133262634,
0.023448504507541656,
0.03192809969186783,
-0.002251608297228813,
0.009533272124826908,
0.051212068647146225,
-0.00231223669834435,
0.038467589765787125,
0.048970915377140045,
0.04586005583405495,
-0.014023944735527039,
-0.054222576320171356,
-0.037564437836408615,
0.004457222763448954,
-0.027529414743185043,
0.023833179846405983,
-0.019886070862412453,
0.03652748465538025,
-0.021173899993300438,
-0.0002610674127936363,
0.013154243119060993,
-0.018347367644309998,
-0.08710400015115738,
0.06332099437713623,
0.043284401297569275,
-0.003528983099386096,
0.03458737954497337,
0.025171183049678802,
-0.04181259870529175,
-0.018882568925619125,
-0.03134272247552872,
-0.057366881519556046,
-0.06817125529050827,
0.012869917787611485,
-0.011389750987291336,
0.06857266277074814,
0.009524909779429436,
0.05241627246141434,
-0.003083679126575589,
-0.06201644241809845,
-0.025907084345817566,
-0.024452006444334984,
0.014743121340870857,
-0.016081124544143677,
-0.025589309632778168,
0.029569867998361588,
-0.017276965081691742,
-0.002109445631504059,
0.03442012891173363,
0.00990122277289629,
0.0234652291983366,
0.000614645192399621,
-0.006999428849667311,
-0.03639368340373039,
0.025723109021782875,
-0.026743337512016296,
0.016683226451277733,
0.0031463978812098503,
-0.008508863858878613,
-0.08389279246330261,
0.027980990707874298,
0.07412537187337875,
0.023582303896546364,
-0.001964146737009287,
0.025656210258603096,
0.04100979492068291,
0.037664785981178284,
-0.0007688291370868683,
-0.027462514117360115,
0.026776786893606186,
0.008404332213103771,
-0.010578586719930172,
-0.03207862377166748,
-0.040206994861364365,
0.029954545199871063,
0.06097949296236038,
0.028365666046738625,
-0.0947975218296051,
-0.02390008047223091,
0.0382334403693676,
0.011172326281666756,
0.03776513785123825,
0.04863641411066055,
0.013798156753182411,
-0.04127739742398262,
-0.006861447356641293,
-0.013095705769956112,
0.06659910082817078,
-0.023381603881716728,
0.004645379725843668,
0.03502223268151283,
0.011322851292788982,
0.050242017954587936,
-0.05234936997294426,
0.023548854514956474,
0.009650347754359245,
0.014927096664905548,
0.00023493453045375645,
-0.008324887603521347,
0.016281824558973312,
-0.02259552665054798,
-0.038434140384197235,
-0.009391109459102154,
-0.007597348652780056,
0.0612470917403698,
0.005385462660342455,
0.030606821179389954,
0.03239639848470688,
0.011598814278841019,
-0.030473019927740097,
-0.015479023568332195,
0.00036455359077081084,
0.04124394431710243,
0.015403760597109795,
-0.03309885039925575,
-0.008053106255829334,
0.017494389787316322,
0.035825032740831375,
-0.035758133977651596,
-0.08663570135831833,
0.02794753946363926,
-0.04609420523047447,
-0.017427491024136543,
0.04492345452308655,
0.016373813152313232,
0.05087756738066673,
-0.04686355963349342,
0.016482526436448097,
-0.010177185758948326,
-0.022528627887368202,
0.08810750395059586,
0.02993781864643097,
-0.024518907070159912,
0.041143596172332764,
-0.04586005583405495,
0.001234516967087984,
-0.032998502254486084,
-0.07499507069587708,
-0.0017153618391603231,
0.027311988174915314,
-0.005326924845576286,
0.019969696179032326,
-0.042883001267910004,
0.036226432770490646,
0.009842685423791409,
0.05278422310948372,
0.043284401297569275,
0.05529297888278961,
-0.010787650011479855,
-0.0015836521051824093,
0.034553930163383484,
-0.03393510356545448,
-0.061347443610429764,
0.03156014904379845,
-0.052182119339704514,
0.04980716481804848,
-0.013898507691919804,
0.012719391845166683,
-0.008153456263244152,
0.06686670333147049,
0.010586949996650219,
-0.011465013958513737,
0.026927312836050987,
-0.00313176354393363,
0.013405118137598038,
-0.021525124087929726,
-0.0016610054299235344,
-0.014316633343696594,
-0.0018962012836709619,
0.004570116754621267,
-0.03289815038442612,
-0.018380817025899887,
0.02704438753426075,
0.0003533164563123137,
0.050242017954587936,
0.00696179736405611,
0.0466294065117836,
0.04582660645246506,
0.025288257747888565,
-0.08088228851556778,
0.0000499137859151233,
0.06204989552497864,
0.02216067723929882,
-0.038032736629247665,
-0.02446873113512993,
0.007162497844547033,
-0.02773011475801468,
0.02204360067844391,
0.02060524746775627,
-0.04318404942750931,
-0.03963834047317505,
0.01384833175688982,
0.025321708992123604,
0.057768285274505615,
-0.03983904421329498,
0.017695091664791107,
0.05673133209347725,
0.028399115428328514,
0.000045993856474524364,
0.010503324680030346,
-0.005448181182146072,
0.012426704168319702,
0.010854550637304783,
-0.0001235431554960087,
0.0985439270734787,
0.04960646480321884,
0.04980716481804848,
0.0010421789484098554,
-0.0005644700722768903,
0.025020657107234,
-0.01976899616420269,
0.006008469965308905,
0.014851834625005722,
-0.04773326218128204,
0.004315060097724199,
0.04124394431710243,
-0.03425287827849388,
-0.04298334941267967,
-0.0506768673658371,
0.018916018307209015,
0.006075370125472546,
-0.01777871698141098,
-0.049940966069698334,
-0.006008469965308905,
0.0764668807387352,
0.03099149651825428,
0.014776571653783321,
0.02542205899953842,
-0.018380817025899887,
-0.052115220576524734,
0.026007436215877533,
0.04559245705604553,
0.06164849177002907,
-0.011105425655841827,
-0.01766164042055607,
0.020989922806620598,
0.04358544945716858,
0.005791044794023037,
0.02154185064136982,
0.011891502887010574,
-0.0212909746915102,
-0.0109549006447196,
-0.0015961958561092615,
-0.0444551520049572,
-0.02900121733546257,
-0.019166894257068634,
-0.014960546977818012,
0.01654106378555298,
0.019451219588518143,
-0.07352326810359955,
0.0018136213766410947,
-0.025656210258603096,
-0.027278538793325424,
0.04037424549460411,
0.016306912526488304,
0.031075121834874153,
0.005352012347429991,
-0.042448148131370544,
0.00732138566672802,
-0.032814525067806244,
-0.03468773141503334,
-0.0012470607180148363,
-0.03659438341856003,
0.021993426606059074,
-0.03289815038442612,
-0.004553391598165035,
0.06395655125379562,
-0.032530199736356735,
0.003963834140449762,
-0.03953799232840538,
-0.004632835742086172,
0.0200533214956522,
-0.03403545543551445,
-0.08282238990068436,
0.014943822287023067,
0.0037903119809925556,
0.02403387986123562,
-0.048101212829351425,
-0.028181690722703934,
0.02418440580368042,
-0.050275467336177826,
0.021809451282024384,
0.0019913248252123594,
0.04358544945716858,
-0.03722993656992912,
-0.010712387040257454,
-0.04224744811654091,
0.00954163447022438,
0.05144621804356575,
-0.012518691830337048,
-0.03445357829332352,
-0.026408836245536804,
-0.06101294234395027,
-0.01232635322958231,
0.0008555902750231326,
0.017051177099347115,
0.00868865754455328,
0.027061112225055695,
0.036293335258960724,
-0.02172582596540451,
-0.001705953967757523,
0.017695091664791107,
0.051278967410326004,
-0.003144307294860482,
0.04649560898542404,
0.013229506090283394,
0.021023374050855637,
0.011364663951098919,
0.05800243467092514,
0.020588522776961327,
-0.05877178534865379,
0.029318993911147118,
0.08496319502592087,
-0.019283968955278397,
-0.0001578425581101328,
-0.04090944305062294,
-0.03048974648118019,
0.024669433012604713,
0.021675650030374527,
0.08830820769071579,
0.003142216708511114,
0.08074849098920822,
0.03445357829332352,
0.02975384332239628,
0.016641413792967796,
-0.02983746863901615,
-0.04970681667327881,
0.050375815480947495,
-0.027679938822984695,
0.03957144170999527,
0.02008677087724209,
0.007221035659313202,
0.014985634945333004,
0.05462397634983063,
-0.0382334403693676,
0.01998642086982727,
0.08777300268411636,
0.00204359064809978,
-0.006129726767539978,
0.04836881160736084,
0.007680973969399929,
0.015704810619354248,
0.010152098722755909,
0.018665144219994545,
0.06245129555463791,
0.0034307236783206463,
0.02104009874165058,
-0.08436109870672226,
-0.04485655575990677,
-0.013363306410610676,
-0.010745837353169918
]
|
41,674 | pyglove.core.object_utils.formatting | printv | Prints formatted value. | def printv(v: Any, **kwargs):
"""Prints formatted value."""
fs = kwargs.pop('file', sys.stdout)
print(format(v, **kwargs), file=fs)
| (v: Any, **kwargs) | [
0.0436491034924984,
-0.000313874043058604,
0.0128910131752491,
0.02528107911348343,
0.06338638067245483,
-0.024412773549556732,
-0.012799172662198544,
-0.028437038883566856,
0.035433586686849594,
0.004312310833483934,
-0.0331125371158123,
-0.00011780060594901443,
-0.005643992684781551,
-0.013692526146769524,
0.000539560685865581,
0.060781460255384445,
0.0005557370604947209,
0.004274739883840084,
0.027618827298283577,
0.05997994542121887,
0.04344872385263443,
0.05386840179562569,
-0.004771511536091566,
-0.018067454919219017,
0.02753533609211445,
-0.02857062593102455,
0.0022145991679280996,
-0.0609484426677227,
-0.021056434139609337,
0.00474646408110857,
0.003798841265961528,
-0.04064342752099037,
-0.01395969744771719,
0.0023314866703003645,
0.011839025653898716,
0.021056434139609337,
-0.022893236950039864,
0.035700757056474686,
-0.14026489853858948,
0.012682285159826279,
0.007184401620179415,
0.026299670338630676,
-0.035667359828948975,
-0.024512961506843567,
-0.03646887466311455,
0.033646877855062485,
0.08275629580020905,
0.04698874428868294,
-0.023210501298308372,
-0.024746736511588097,
0.008440941572189331,
-0.0027113708201795816,
-0.012323274277150631,
-0.05082932859659195,
-0.05059555545449257,
0.05066234618425369,
0.02543136291205883,
0.018100852146744728,
0.03994210064411163,
-0.000021264117094688118,
0.0030056764371693134,
0.02791939489543438,
0.022960029542446136,
0.003955387044698,
0.0039992197416722775,
-0.003911553882062435,
0.01875208131968975,
0.029171761125326157,
-0.08442611247301102,
0.01481130626052618,
0.022342195734381676,
-0.013675828464329243,
-0.04829120263457298,
0.01758320815861225,
0.008294831961393356,
0.08516083657741547,
-0.0946454182267189,
0.006917230784893036,
-0.0011072995839640498,
-0.02543136291205883,
0.02950572408735752,
-0.0832238420844078,
0.032160740345716476,
-0.025214286521077156,
-0.0007686391472816467,
-0.07487474381923676,
-0.05353444069623947,
-0.010352886281907558,
0.043081365525722504,
0.05316707864403725,
-0.03009016253054142,
0.02317710593342781,
-0.03606811910867691,
0.05259934067726135,
-0.07260378450155258,
-0.02857062593102455,
0.061716556549072266,
-0.04708893224596977,
-0.07153510302305222,
0.024763435125350952,
0.05877767503261566,
-0.049059320241212845,
0.010845483280718327,
-0.0539017990231514,
-0.0459868498146534,
-0.016781693324446678,
-0.013467100448906422,
0.017007119953632355,
0.024830227717757225,
0.07654456049203873,
-0.05279971659183502,
-0.009935431182384491,
0.021457191556692123,
-0.027785809710621834,
0.035500381141901016,
0.0421796590089798,
-0.004287263844162226,
-0.017265941947698593,
0.0038426739629358053,
-0.016648108139634132,
0.04829120263457298,
-0.026199480518698692,
0.05153065547347069,
-0.01019425317645073,
-0.03513301908969879,
-0.03401423990726471,
-0.06612488627433777,
-0.0036235100124031305,
0.052365563809871674,
0.003942863084375858,
0.057909369468688965,
-0.016539569944143295,
-0.009985525161027908,
-0.019002554938197136,
0.058176539838314056,
0.003546280786395073,
-0.022225307300686836,
-0.019286423921585083,
0.029338743537664413,
0.04518533870577812,
-0.029171761125326157,
-0.05727483704686165,
-0.04177890345454216,
-0.025013908743858337,
0.032711777836084366,
-0.03767114505171776,
0.05780917778611183,
0.03009016253054142,
-0.0221251193434,
0.022492479532957077,
0.025882214307785034,
0.05283311381936073,
0.027151277288794518,
0.009534673765301704,
0.02147388830780983,
-0.028754305094480515,
0.024279186502099037,
-0.09477899968624115,
0.004842478781938553,
-0.009534673765301704,
0.029522422701120377,
0.011864073574543,
0.018535004928708076,
0.047890447080135345,
-0.005702436435967684,
0.10038959980010986,
-0.02950572408735752,
0.07834796607494354,
0.04829120263457298,
0.018685288727283478,
0.008461814373731613,
-0.05046197026968002,
-0.04889233782887459,
0.03813869506120682,
0.06408770382404327,
0.00972670316696167,
-0.021540682762861252,
-0.009559721685945988,
0.03894020989537239,
-0.03790492191910744,
-0.03373036906123161,
-0.04468439146876335,
0.0006225298857316375,
-0.005481184925884008,
0.025130795314908028,
-0.014318709261715412,
0.015237110666930676,
-0.004963540937751532,
-0.017733491957187653,
-0.0386730395257473,
0.0238784309476614,
-0.007973391562700272,
0.009167313575744629,
-0.013767668046057224,
0.014101632870733738,
-0.037136804312467575,
0.00802766066044569,
-0.05997994542121887,
0.061950333416461945,
-0.06812866777181625,
0.001302459859289229,
-0.03560056909918785,
-0.025414664298295975,
-0.015053429640829563,
0.0032561495900154114,
0.02162417210638523,
0.07627739012241364,
-0.011905819177627563,
-0.005021984688937664,
-0.04782365262508392,
-0.018468212336301804,
-0.005151395685970783,
-0.022893236950039864,
-0.015562725253403187,
-0.032828666269779205,
-0.012465208768844604,
-0.02100634016096592,
-0.01778358593583107,
-0.06011353060603142,
0.060547683387994766,
0.038840021938085556,
-0.014160076156258583,
0.010695199482142925,
0.03334631025791168,
0.0606478750705719,
0.009526324458420277,
0.049994420260190964,
-0.007706220727413893,
-0.033413104712963104,
-0.019703879952430725,
0.07614380866289139,
0.011613599956035614,
-0.04685515910387039,
0.03773793950676918,
-0.03987530991435051,
-0.03129243105649948,
0.014627626165747643,
0.016188908368349075,
-0.02853722870349884,
-0.015462536364793777,
0.017073912546038628,
0.025999102741479874,
0.012339971959590912,
0.011363127268850803,
0.024646548554301262,
-0.0682622566819191,
-0.01716575212776661,
0.060313910245895386,
-0.011246239766478539,
0.023511070758104324,
0.03266168385744095,
0.0060864947736263275,
-0.02027161791920662,
-0.0013097652699798346,
-0.01640598475933075,
-0.009760099463164806,
0.006090669427067041,
-0.002077882643789053,
0.034298110753297806,
0.04177890345454216,
-0.046688176691532135,
0.010160856880247593,
-0.02601579949259758,
0.03606811910867691,
0.011454966850578785,
-0.016155511140823364,
-0.05520425736904144,
-0.06579092144966125,
0.04515194147825241,
0.0018889842322096229,
-0.01898585632443428,
0.01163029856979847,
0.016781693324446678,
-0.003064120188355446,
-0.03560056909918785,
-0.005689912475645542,
-0.0021363263949751854,
0.02776911109685898,
0.01605532132089138,
-0.02135700173676014,
0.03707000985741615,
-0.008315704762935638,
0.00004520255606621504,
0.021490586921572685,
0.023093614727258682,
0.02132360450923443,
0.031208941712975502,
-0.00614493852481246,
-0.009509626775979996,
-0.017599906772375107,
0.05493708699941635,
-0.018919063732028008,
-0.00025751758948899806,
0.05353444069623947,
-0.005681563634425402,
0.029522422701120377,
0.018535004928708076,
-0.02660023793578148,
-0.011905819177627563,
-0.014494040049612522,
0.006549870129674673,
-0.06331958621740341,
0.0682622566819191,
0.02050539292395115,
0.0016134638572111726,
0.04271400347352028,
0.028487134724855423,
-0.034231316298246384,
-0.008749858476221561,
-0.04294777661561966,
-0.018034059554338455,
0.009643211960792542,
0.005765054374933243,
0.004395802039653063,
0.024863624945282936,
0.011688741855323315,
-0.06732715666294098,
-0.036903027445077896,
0.00022999165230430663,
-0.05436934903264046,
0.0006444462924264371,
0.02376154251396656,
0.019904257729649544,
0.01886896975338459,
0.031108751893043518,
-0.05203159898519516,
-0.021223416551947594,
-0.005443613976240158,
0.03257819265127182,
0.03623510152101517,
0.0074181766249239445,
-0.0023168756160885096,
0.014318709261715412,
0.03910719230771065,
-0.017800284549593925,
0.009075473062694073,
-0.027268165722489357,
0.05560501664876938,
-0.006616662722080946,
0.016865184530615807,
0.01743292436003685,
0.03384725749492645,
-0.022876538336277008,
-0.042814191430807114,
-0.013675828464329243,
0.03920738026499748,
-0.00522236293181777,
0.005806799978017807,
0.028904588893055916,
0.007827282883226871,
-0.0004821605980396271,
0.017449622973799706,
0.03526660427451134,
-0.005034508183598518,
-0.033413104712963104,
-0.020004447549581528,
0.04608704149723053,
-0.031743284314870834,
-0.0221251193434,
0.024563057348132133,
0.03560056909918785,
0.02776911109685898,
-0.0008150810608640313,
-0.013208278454840183,
0.043081365525722504,
0.001661471207626164,
0.016414333134889603,
-0.03910719230771065,
0.04518533870577812,
0.036903027445077896,
-0.02115662395954132,
-0.029555819928646088,
0.042847588658332825,
-0.018301229923963547,
-0.011864073574543,
0.04705553501844406,
-0.001852456945925951,
-0.0032853714656084776,
-0.0076394276693463326,
-0.05293330177664757,
0.040209271013736725,
0.018267834559082985,
0.05082932859659195,
0.00518479198217392,
-0.011930866166949272,
-0.004329008981585503,
-0.018418118357658386,
0.04341532662510872,
-0.007347209379076958,
0.0515640527009964,
-0.053334061056375504,
0.0023127011954784393,
0.052165187895298004,
-0.005906989332288504,
0.03797171264886856,
-0.01163029856979847,
0.000312830408802256,
0.003567153587937355,
-0.04491816461086273,
-0.01910274475812912,
0.0100356200709939,
0.022275403141975403,
-0.1277078539133072,
-0.02185794711112976,
-0.00665005948394537,
-0.03241121023893356,
0.024796832352876663,
-0.02736835554242134,
-0.010311140678822994,
0.03277857229113579,
0.025765327736735344,
0.03229432553052902,
-0.034732263535261154,
-0.012047753669321537,
0.07981740683317184,
-0.0020517916418612003,
-0.04662138223648071,
0.001737656770274043,
-0.045753076672554016,
-0.028320152312517166,
0.012448510155081749,
-0.01751641556620598,
-0.00032091859611682594,
0.06819546222686768,
0.06258486211299896,
-0.03840586543083191,
-0.024947116151452065,
0.010202602483332157,
0.12737388908863068,
0.013867857865989208,
-0.024479566141963005,
-0.004143241792917252,
0.023711448535323143,
0.03600132465362549,
0.05924522504210472,
-0.01898585632443428,
-0.015946783125400543,
-0.03820548951625824,
0.030774788931012154,
0.013951349072158337,
0.017716793343424797,
-0.027000993490219116,
-0.031743284314870834,
-0.01388455554842949,
-0.03234441950917244,
0.04515194147825241,
-0.023678051307797432,
-0.0011511323973536491,
-0.026783917099237442,
-0.025214286521077156,
0.0056648654863238335,
-0.008144548162817955,
0.004850828088819981,
-0.017733491957187653,
0.033880654722452164,
-0.0518646202981472,
-0.0459868498146534,
-0.009167313575744629,
0.02853722870349884,
-0.05590558424592018,
0.03850605711340904,
0.007839806377887726,
-0.02815316990017891,
-0.05774238705635071,
-0.011839025653898716,
0.003066207515075803,
0.023728147149086,
0.03576755151152611,
-0.03773793950676918,
-0.03987530991435051,
0.012849267572164536,
0.04782365262508392,
-0.05320047587156296,
0.03237781673669815,
0.015345648862421513,
0.07781362533569336,
-0.01368417777121067,
-0.042112868279218674,
-0.042146265506744385,
-0.00522236293181777,
-0.03600132465362549,
0.004224645439535379,
0.01026939507573843,
0.040008895099163055,
0.029372138902544975,
0.04949347302317619,
0.0375041626393795,
0.049025923013687134,
0.03401423990726471,
-0.007973391562700272,
0.05036177858710289,
0.06966490298509598,
-0.03790492191910744,
-0.037604354321956635,
-0.012506954371929169,
-0.032711777836084366,
-0.044784579426050186,
0.004704718478024006,
-0.0030599457677453756,
0.015028382651507854,
0.008257261477410793,
0.032912157475948334,
0.0003042203898075968,
-0.035233207046985626,
0.003339640563353896,
-0.031542904675006866,
0.08382497727870941,
0.05737502500414848,
-0.017533112317323685,
0.029338743537664413,
0.03530000150203705,
-0.000042658692109398544,
0.014535785652697086,
0.03334631025791168,
0.008574527688324451,
-0.014101632870733738,
-0.05370141938328743,
-0.029322044923901558,
0.011596902273595333,
-0.011271286755800247,
0.004345707129687071,
-0.013391958549618721,
-0.003458615392446518,
-0.024512961506843567,
-0.024062110111117363,
0.006115716882050037,
-0.04698874428868294,
0.017750190570950508,
-0.013826112262904644,
0.06659243255853653,
-0.002634141594171524,
-0.010010573081672192,
-0.015437488444149494,
-0.04558609426021576,
-0.01522041205316782,
0.06448846310377121,
0.0018148859962821007,
-0.0061616371385753155,
-0.04034285992383957,
-0.010411329567432404,
0.04027606546878815,
0.0012888925848528743,
-0.022308798506855965,
-0.05881107226014137,
-0.001977693522349,
-0.024863624945282936,
0.01380106434226036,
-0.05630633980035782,
0.06652563810348511,
-0.014519087970256805,
-0.0027781634125858545,
-0.06589110940694809,
0.031309131532907486,
0.043582309037446976,
-0.06325279176235199,
0.009275851771235466,
0.00003952777842641808,
0.02563174068927765,
0.016539569944143295,
-0.03827228024601936,
0.056907474994659424,
0.059846360236406326,
0.0744071900844574,
0.011212843470275402,
-0.03910719230771065,
-0.02927194908261299,
-0.019870862364768982,
-0.02379493974149227,
0.006503949873149395,
0.004383278079330921,
0.0515640527009964,
-0.01883557252585888,
0.0016176383942365646,
-0.023978618904948235,
-0.04822441190481186,
0.03211064264178276,
0.00941778626292944,
0.07661135494709015,
0.02853722870349884,
0.019670482724905014,
-0.09711674600839615,
-0.0389736071228981,
0.014435596764087677,
-0.03673604503273964,
-0.018000662326812744,
0.04822441190481186,
0.053567834198474884,
-0.007447398733347654,
-0.02217521332204342,
0.032945554703474045,
-0.03553377464413643,
-0.02558164671063423,
-0.022859839722514153,
-0.001996478997170925,
0.04758987948298454,
-0.045051753520965576,
-0.0328119695186615,
0.019937654957175255,
0.017466319724917412,
0.0229934249073267,
-0.0741400197148323,
0.032945554703474045,
-0.03204385191202164,
0.04061003029346466,
-0.018301229923963547,
0.003886506659910083,
0.06041409820318222,
-0.001725133042782545,
-0.00017950568872038275,
-0.005147221032530069,
-0.026733823120594025,
0.03483245149254799,
-0.011304683052003384,
-0.022726254537701607,
-0.014510738663375378,
0.028837796300649643,
-0.002243821043521166,
0.03843926265835762,
-0.06341977417469025,
-0.026667030528187752,
-0.054302554577589035,
0.026850709691643715,
-0.08068571984767914,
-0.005510407034307718,
0.03873983025550842,
0.021657569333910942,
-0.023210501298308372,
0.02771901711821556,
-0.009993874467909336,
-0.0878993421792984,
-0.014477342367172241,
0.026500048115849495,
-0.025598345324397087,
0.03850605711340904,
-0.07280416786670685,
-0.07166868448257446,
-0.03483245149254799,
-0.0014443945838138461,
-0.0744071900844574,
0.031643096357584,
-0.005539628677070141,
-0.03934096544981003,
0.004043052438646555,
-0.005134697537869215,
0.06575752049684525,
0.045051753520965576,
-0.061516180634498596,
-0.015370695851743221,
0.05082932859659195,
0.006516473833471537,
-0.00003466834095888771,
0.005881941877305508,
-0.0159718319773674,
0.003237364115193486,
-0.0015988529194146395,
0.024713341146707535,
0.08248912543058395,
0.02493041753768921,
0.024446168914437294,
0.023627957329154015,
-0.03302904590964317,
-0.0351664163172245,
0.013517195358872414,
-0.022459082305431366,
0.022191911935806274,
-0.034531883895397186,
-0.02361125871539116,
-0.0067210267297923565,
-0.06285203248262405,
-0.006040574982762337,
0.01734943315386772,
0.0038447612896561623,
-0.006412109825760126,
0.013408657163381577,
-0.02604919672012329,
-0.0571412518620491,
0.012298226356506348,
0.033646877855062485,
0.0489257350564003,
-0.035934533923864365,
0.06766112148761749,
-0.05246575549244881,
0.02306021749973297,
-0.0421796590089798,
-0.04949347302317619,
0.017766887322068214,
-0.07173547893762589,
0.07367247343063354,
-0.02616608329117298,
-0.020221523940563202,
-0.0682622566819191,
-0.04989423230290413,
-0.04895913228392601,
-0.02648334950208664,
-0.053634628653526306,
0.007618555333465338,
0.059111639857292175,
-0.029989972710609436,
0.04154513031244278,
0.0023398357443511486,
-0.023394182324409485,
-0.026199480518698692,
0.04304796829819679,
0.0383724719285965,
-0.04184569790959358,
-0.027201373130083084,
0.04251362383365631,
-0.03394744545221329,
-0.038806624710559845,
-0.055304449051618576,
0.007480795029550791,
0.07140151411294937,
-0.0231437087059021,
-0.00672520138323307,
-0.010261045768857002,
0.05784257501363754,
-0.06128240376710892,
-0.006812866777181625,
0.03087497688829899,
0.00641628447920084,
-0.027234768494963646,
0.04782365262508392,
-0.024980511516332626,
-0.019820766523480415,
0.034147825092077255,
0.020221523940563202,
-0.04822441190481186,
-0.0031392620876431465,
0.02586551569402218,
0.03059110790491104,
0.05664030462503433,
0.03436490148305893,
-0.0439496710896492,
-0.054770104587078094,
-0.003598462790250778,
0.04728931188583374,
-0.025648439303040504,
0.0005807843990623951,
0.0015550201060250401,
0.003362600691616535,
-0.033413104712963104,
0.0603473074734211,
0.0025527377147227526,
-0.07460757344961166,
-0.0017178276320919394,
0.00730128912255168,
0.008724811486899853,
0.04231324791908264,
-0.024062110111117363,
0.05209839344024658,
-0.021657569333910942,
0.01116274856030941,
-0.058644089847803116,
0.05306689068675041,
0.09524655342102051,
-0.0005194706609472632,
0.01584659516811371,
0.00043989327969029546,
0.030507616698741913,
-0.043582309037446976,
-0.1037292405962944,
-0.01886896975338459,
-0.005748356226831675,
0.062217503786087036,
-0.004700544290244579,
0.01918623596429825,
-0.026817314326763153,
0.023778241127729416
]
|
41,675 | pyglove.core.symbolic.base | query | Queries a (maybe) symbolic value.
Example::
@pg.members([
('x', pg.typing.Int()),
('y', pg.typing.Int())
])
class A(pg.Object):
pass
value = {
'a1': A(x=0, y=1),
'a2': [A(x=1, y=1), A(x=1, y=2)],
'a3': {
'p': A(x=2, y=1),
'q': A(x=2, y=2)
}
}
# Query by path regex.
# Shall print:
# {'a3.p': A(x=2, y=1)}
print(pg.query(value, r'.*p'))
# Query by value.
# Shall print:
# {
# 'a2[1].y': 2,
# 'a3.p.x': 2,
# 'a3.q.x': 2,
# 'a3.q.y': 2,
# }
print(pg.query(value, where=lambda v: v==2))
# Query by path, value and parent.
# Shall print:
# {
# 'a2[1].y': 2,
# }
print(pg.query(
value, r'.*y',
where=lambda v, p: v > 1 and isinstance(p, A) and p.x == 1))
Args:
x: A nested structure that may contains symbolic value.
path_regex: Optional regex expression to constrain path.
where: Optional callable to constrain value and parent when path matches
with `path_regex` or `path_regex` is not provided. The signature is:
`(value) -> should_select` or `(value, parent) -> should_select`
enter_selected: If True, if a node is selected, enter the node and query
its sub-nodes.
custom_selector: Optional callable object as custom selector. When
`custom_selector` is provided, `path_regex` and `where` must be None.
The signature of `custom_selector` is:
`(key_path, value) -> should_select`
or `(key_path, value, parent) -> should_select`
Returns:
A dict of key path to value as results for selected values.
| def query(
x: Any,
path_regex: Optional[str] = None,
where: Optional[Union[Callable[[Any], bool],
Callable[[Any, Any], bool]]] = None,
enter_selected: bool = False,
custom_selector: Optional[Union[
Callable[[object_utils.KeyPath, Any], bool],
Callable[[object_utils.KeyPath, Any, Any], bool]]] = None
) -> Dict[str, Any]:
"""Queries a (maybe) symbolic value.
Example::
@pg.members([
('x', pg.typing.Int()),
('y', pg.typing.Int())
])
class A(pg.Object):
pass
value = {
'a1': A(x=0, y=1),
'a2': [A(x=1, y=1), A(x=1, y=2)],
'a3': {
'p': A(x=2, y=1),
'q': A(x=2, y=2)
}
}
# Query by path regex.
# Shall print:
# {'a3.p': A(x=2, y=1)}
print(pg.query(value, r'.*p'))
# Query by value.
# Shall print:
# {
# 'a2[1].y': 2,
# 'a3.p.x': 2,
# 'a3.q.x': 2,
# 'a3.q.y': 2,
# }
print(pg.query(value, where=lambda v: v==2))
# Query by path, value and parent.
# Shall print:
# {
# 'a2[1].y': 2,
# }
print(pg.query(
value, r'.*y',
where=lambda v, p: v > 1 and isinstance(p, A) and p.x == 1))
Args:
x: A nested structure that may contains symbolic value.
path_regex: Optional regex expression to constrain path.
where: Optional callable to constrain value and parent when path matches
with `path_regex` or `path_regex` is not provided. The signature is:
`(value) -> should_select` or `(value, parent) -> should_select`
enter_selected: If True, if a node is selected, enter the node and query
its sub-nodes.
custom_selector: Optional callable object as custom selector. When
`custom_selector` is provided, `path_regex` and `where` must be None.
The signature of `custom_selector` is:
`(key_path, value) -> should_select`
or `(key_path, value, parent) -> should_select`
Returns:
A dict of key path to value as results for selected values.
"""
regex = re.compile(path_regex) if path_regex else None
if custom_selector is not None:
if path_regex is not None or where is not None:
raise ValueError('\'path_regex\' and \'where\' must be None when '
'\'custom_selector\' is provided.')
signature = pg_typing.get_signature(custom_selector)
if len(signature.args) == 2:
select_fn = lambda k, v, p: custom_selector(k, v) # pytype: disable=wrong-arg-count
elif len(signature.args) == 3:
select_fn = custom_selector
else:
raise TypeError(
f'Custom selector \'{signature.id}\' should accept 2 or 3 arguments. '
f'(key_path, value, [parent]). Encountered: {signature.args}')
else:
if where is not None:
signature = pg_typing.get_signature(where)
if len(signature.args) == 1:
where_fn = lambda v, p: where(v) # pytype: disable=wrong-arg-count
elif len(signature.args) == 2:
where_fn = where
else:
raise TypeError(
f'Where function \'{signature.id}\' should accept 1 or 2 '
f'arguments: (value, [parent]). Encountered: {signature.args}.')
else:
where_fn = lambda v, p: True
def select_fn(k, v, p):
if regex is not None and not regex.match(str(k)):
return False
return where_fn(v, p) # pytype: disable=wrong-arg-count
results = {}
def _preorder_visitor(path: object_utils.KeyPath, v: Any,
parent: Any) -> TraverseAction:
if select_fn(path, v, parent): # pytype: disable=wrong-arg-count
results[str(path)] = v
return TraverseAction.ENTER if enter_selected else TraverseAction.CONTINUE
return TraverseAction.ENTER
traverse(x, preorder_visitor_fn=_preorder_visitor)
return results
| (x: Any, path_regex: Optional[str] = None, where: Union[Callable[[Any], bool], Callable[[Any, Any], bool], NoneType] = None, enter_selected: bool = False, custom_selector: Union[Callable[[pyglove.core.object_utils.value_location.KeyPath, Any], bool], Callable[[pyglove.core.object_utils.value_location.KeyPath, Any, Any], bool], NoneType] = None) -> Dict[str, Any] | [
0.07339939475059509,
-0.07593874633312225,
0.013412217609584332,
0.04748187214136124,
0.016374796628952026,
0.027227507904171944,
-0.008283128030598164,
-0.026501977816224098,
0.03901736065745354,
-0.034160345792770386,
0.045829277485609055,
0.05647037550806999,
0.019599372521042824,
0.020697742700576782,
-0.014843123033642769,
-0.023882010951638222,
0.029101792722940445,
0.050948288291692734,
0.058324504643678665,
0.05038398876786232,
0.01715070940554142,
0.003038154449313879,
0.053689178079366684,
0.027852268889546394,
0.02581675536930561,
-0.03484556823968887,
-0.006111578084528446,
0.04820740222930908,
-0.006549918558448553,
-0.013613753952085972,
0.014903583563864231,
-0.0217860359698534,
-0.035026948899030685,
-0.030210239812731743,
-0.04449914023280144,
-0.0052600884810090065,
0.002632563468068838,
0.066748708486557,
0.02305571362376213,
-0.033555734902620316,
-0.03412003815174103,
0.0016664504073560238,
-0.03139930218458176,
-0.00007285996980499476,
-0.02839641645550728,
-0.0059705027379095554,
0.02966609224677086,
-0.0019977251067757607,
0.020899279043078423,
-0.016868559643626213,
0.031177612021565437,
0.008121899329125881,
-0.0025972947478294373,
-0.014117593877017498,
-0.003317785682156682,
-0.024909844622015953,
-0.028013497591018677,
0.061911847442388535,
0.12132464349269867,
-0.0010259440168738365,
0.049174774438142776,
0.02706627920269966,
-0.05465655028820038,
0.06102508679032326,
-0.04276593029499054,
-0.07223048806190491,
0.025433838367462158,
-0.01971021667122841,
-0.14212316274642944,
-0.0005898075760342181,
-0.06304045021533966,
-0.025937678292393684,
0.03702215477824211,
-0.02097989246249199,
0.01355329342186451,
-0.03303174301981926,
-0.025675680488348007,
0.004093699157238007,
0.018783150240778923,
0.02054659090936184,
0.017624318599700928,
-0.04893292859196663,
-0.0940769836306572,
-0.03301158919930458,
-0.011910774745047092,
0.062153689563274384,
0.05884850025177002,
0.02557491324841976,
0.05888880789279938,
0.022350337356328964,
-0.030996229499578476,
0.004464021418243647,
-0.03093576990067959,
0.10689467191696167,
-0.019569141790270805,
-0.00007199399988166988,
0.061952151358127594,
-0.004899843130260706,
0.003368169767782092,
0.02793288417160511,
0.0175537820905447,
-0.025534605607390404,
-0.004081103019416332,
-0.016979403793811798,
0.017402630299329758,
-0.004204543773084879,
-0.05187535658478737,
-0.0016513352748006582,
0.04228224232792854,
-0.04865077883005142,
-0.06239553168416023,
-0.012334000319242477,
-0.029948243871331215,
-0.017261555418372154,
0.0014875872293487191,
0.006076308898627758,
-0.050303373485803604,
-0.02160465531051159,
0.0007041162461973727,
-0.038191065192222595,
0.0065297652035951614,
0.035026948899030685,
0.009683802723884583,
0.08593492954969406,
-0.011296090669929981,
0.00352184078656137,
0.022330183535814285,
-0.009356306865811348,
-0.01882345788180828,
0.013654060661792755,
0.026159366592764854,
0.02732827514410019,
0.0009094310225918889,
0.017453012987971306,
-0.00014524759899359196,
0.09480251371860504,
-0.011175168678164482,
-0.020596975460648537,
-0.012857994064688683,
0.0071847569197416306,
-0.017674703150987625,
-0.05929187685251236,
-0.03317281976342201,
-0.053447335958480835,
-0.0071142190136015415,
-0.024426158517599106,
0.06340321153402328,
0.02563537284731865,
-0.008454433642327785,
0.00709910411387682,
-0.0053255874663591385,
-0.01186039112508297,
0.03367665782570839,
0.00805136188864708,
0.00011186819756403565,
-0.014339283108711243,
-0.025514451786875725,
-0.03274959325790405,
-0.008096707053482533,
0.0076079824939370155,
0.02454707957804203,
-0.009250500239431858,
-0.008968350477516651,
0.002657755510881543,
-0.017442936077713966,
0.028900256380438805,
-0.02283402346074581,
-0.00782967172563076,
-0.00549689307808876,
0.021000046283006668,
0.059574030339717865,
0.02835610881447792,
-0.08698292076587677,
-0.007572713773697615,
-0.0741652324795723,
0.022753410041332245,
-0.003511764109134674,
-0.003937508910894394,
0.00878696795552969,
-0.05235904082655907,
0.008419164456427097,
0.0005123422015458345,
-0.0004984865663573146,
0.027570119127631187,
0.05739744007587433,
-0.019619524478912354,
-0.0067111472599208355,
-0.010671328753232956,
0.026300441473722458,
0.028255341574549675,
-0.06517672538757324,
-0.03538971394300461,
0.07460860908031464,
0.02583690918982029,
-0.042443472892045975,
-0.0398235060274601,
0.014369513839483261,
-0.019962135702371597,
-0.033555734902620316,
0.07460860908031464,
-0.03258836269378662,
-0.06602317839860916,
-0.004322946071624756,
0.011326320469379425,
-0.058727577328681946,
-0.03369681164622307,
0.05022276192903519,
0.007169641554355621,
-0.0014686932554468513,
-0.04300777241587639,
-0.08287158608436584,
-0.01631433516740799,
-0.009583034552633762,
-0.02771119400858879,
-0.032265905290842056,
0.017886316403746605,
-0.01651587150990963,
0.038191065192222595,
0.03815075755119324,
-0.005829427391290665,
0.010862788185477257,
0.039702583104372025,
0.030774541199207306,
0.00550193153321743,
0.09415759891271591,
-0.07565660029649734,
0.003940028138458729,
-0.013261065818369389,
0.01335175707936287,
-0.06989266723394394,
0.06005771458148956,
-0.06884468346834183,
0.055140238255262375,
-0.07053758203983307,
-0.023821549490094185,
-0.029766861349344254,
0.05844542756676674,
0.014621433801949024,
0.06755485385656357,
0.013754828833043575,
0.010731789283454418,
-0.023599861189723015,
-0.016022108495235443,
-0.06860283762216568,
0.0035772633273154497,
0.0035016871988773346,
0.04377361014485359,
-0.04385422542691231,
0.024446312338113785,
-0.02817472629249096,
-0.015619036741554737,
-0.004023161716759205,
0.035006795078516006,
0.010731789283454418,
-0.01045971643179655,
-0.002040551509708166,
-0.010011298581957817,
0.01907537877559662,
0.018742844462394714,
0.01691894419491291,
-0.07565660029649734,
-0.03724384307861328,
-0.007864940911531448,
-0.018742844462394714,
-0.028073959052562714,
-0.028940564021468163,
-0.008116860873997211,
-0.010590714402496815,
-0.013895903714001179,
-0.026501977816224098,
-0.09173917025327682,
0.014722201973199844,
-0.006988259498029947,
0.03613539785146713,
-0.026622898876667023,
0.0363570861518383,
-0.07352031767368317,
0.006514649838209152,
-0.02537337690591812,
-0.052641190588474274,
-0.01991175301373005,
0.03367665782570839,
0.0038442984223365784,
0.007124295923858881,
-0.009935722686350346,
0.008409087546169758,
-0.013109914027154446,
-0.01690886728465557,
-0.029263021424412727,
-0.033535584807395935,
0.03305189684033394,
-0.02924286760389805,
0.03641754761338234,
-0.01260607410222292,
0.018309541046619415,
0.004275081679224968,
-0.03708261623978615,
-0.06658747792243958,
0.023559553548693657,
0.02519199438393116,
0.043934836983680725,
0.0004345618945080787,
0.09826893359422684,
0.02859795279800892,
0.01966990903019905,
0.07456830143928528,
0.036961693316698074,
0.01563918963074684,
-0.011155014857649803,
-0.017301861196756363,
-0.04554712772369385,
0.006786723155528307,
-0.02412385307252407,
-0.004605096764862537,
-0.07686581462621689,
-0.08182359486818314,
-0.05594637989997864,
-0.05058552324771881,
0.017291784286499023,
-0.01631433516740799,
-0.026340749114751816,
0.05308457091450691,
-0.06545887887477875,
0.022733256220817566,
-0.0038468176499009132,
0.01589111052453518,
-0.020254364237189293,
0.03815075755119324,
-0.03319297358393669,
-0.007995938882231712,
0.03430141881108284,
0.04724002629518509,
0.024506771937012672,
0.019186222925782204,
0.026985663920640945,
0.008343588560819626,
0.006237538065761328,
0.03901736065745354,
0.012273539789021015,
0.02050628326833248,
0.031177612021565437,
-0.013895903714001179,
0.031217919662594795,
-0.02093958668410778,
0.028537491336464882,
-0.035026948899030685,
0.05356825888156891,
0.04381391778588295,
0.0143795907497406,
-0.033737119287252426,
0.021544193848967552,
0.028033651411533356,
-0.010016337037086487,
-0.030593158677220345,
0.0012476334813982248,
-0.03444249555468559,
-0.009300884790718555,
-0.029988549649715424,
-0.016878636553883553,
0.020858971402049065,
0.14897537231445312,
0.01569965109229088,
-0.042000092566013336,
-0.034422341734170914,
0.039702583104372025,
-0.04046842083334923,
-0.03752599656581879,
0.04300777241587639,
0.003992930985987186,
-0.0729157105088234,
0.009583034552633762,
-0.04550682008266449,
0.0250106118619442,
0.01673756167292595,
0.03887628763914108,
0.021282196044921875,
0.02605859935283661,
0.00942684430629015,
0.021282196044921875,
0.0389568991959095,
0.06074293702840805,
-0.0000656566335237585,
0.009683802723884583,
0.020637281239032745,
0.009920607320964336,
0.024204468354582787,
0.04937630891799927,
0.02116127498447895,
0.032306212931871414,
-0.012555690482258797,
-0.05074675381183624,
0.008761775679886341,
0.03682062029838562,
0.020697742700576782,
-0.0011966197052970529,
-0.04042811319231987,
0.0423225499689579,
-0.006262729875743389,
-0.057478055357933044,
-0.01270684227347374,
0.002074560848996043,
-0.016777867451310158,
-0.039863813668489456,
-0.0329914353787899,
0.04824770614504814,
-0.05719590559601784,
0.0321248322725296,
0.005471701268106699,
-0.03278990089893341,
0.03158068284392357,
-0.01473227795213461,
-0.0550193153321743,
-0.050263065844774246,
0.03430141881108284,
-0.00256328540854156,
-0.06513641774654388,
0.05622853338718414,
0.059574030339717865,
0.017392553389072418,
0.014651663601398468,
-0.007023528218269348,
-0.029383942484855652,
-0.028537491336464882,
0.03430141881108284,
0.07364124059677124,
0.014208285138010979,
0.0014674336416646838,
-0.021866651251912117,
0.03879567235708237,
0.07239171862602234,
-0.030996229499578476,
-0.06259706616401672,
0.0047864788211882114,
-0.009708994999527931,
-0.004927554167807102,
-0.003967739176005125,
0.0021136084105819464,
-0.021685268729925156,
0.0014258668525144458,
0.035026948899030685,
-0.005320549011230469,
0.042685315012931824,
-0.02009313553571701,
-0.012968839146196842,
-0.0203450545668602,
-0.020214056596159935,
0.057074982672929764,
0.05892911180853844,
0.0007948074489831924,
-0.026804281398653984,
-0.006015848368406296,
-0.02454707957804203,
0.05340702831745148,
0.009371422231197357,
-0.006434035487473011,
0.024466464295983315,
-0.06553949415683746,
0.059170957654714584,
-0.002084637526422739,
0.03764691576361656,
0.027025971561670303,
0.01669725403189659,
0.034382034093141556,
-0.04715941473841667,
-0.02372078225016594,
0.03746553510427475,
-0.003894682275131345,
0.04365268722176552,
-0.008177321404218674,
-0.022914638742804527,
-0.02561522088944912,
-0.017201093956828117,
-0.12317877262830734,
0.02750965766608715,
0.06670840084552765,
-0.03224575147032738,
-0.02327740378677845,
-0.042645007371902466,
-0.05836481228470802,
-0.050464604049921036,
0.032467443495988846,
-0.03837244585156441,
0.012898300774395466,
-0.019367605447769165,
0.026098906993865967,
-0.021503886207938194,
0.06711146980524063,
0.02176588401198387,
-0.021080661565065384,
-0.034805260598659515,
0.0031943449284881353,
0.07549536973237991,
0.028416570276021957,
-0.01205185055732727,
0.007975785061717033,
0.00023900905216578394,
-0.015971723943948746,
-0.015054736286401749,
0.05465655028820038,
-0.040508728474378586,
-0.013623830862343311,
0.0140672093257308,
-0.006267768330872059,
0.02073805034160614,
-0.004685711115598679,
0.01240453775972128,
0.043088387697935104,
0.013170374557375908,
0.013210682198405266,
0.005154281854629517,
0.003015481634065509,
-0.013371910899877548,
0.05018245428800583,
-0.016253875568509102,
-0.00709910411387682,
0.031238073483109474,
0.05171412602066994,
0.038211219012737274,
-0.016132952645421028,
-0.036316778510808945,
0.006811915431171656,
0.00634334422647953,
0.008111822418868542,
-0.07122280448675156,
0.024466464295983315,
0.04260469973087311,
-0.008086630143225193,
-0.0016349604120478034,
0.027348428964614868,
-0.00625265296548605,
0.030190085992217064,
0.00035268792998977005,
-0.009240423329174519,
0.07747042179107666,
0.029746707528829575,
-0.012434768490493298,
0.018742844462394714,
0.04994060844182968,
-0.043934836983680725,
0.01950868032872677,
0.05864696204662323,
0.1015741229057312,
-0.025151686742901802,
0.03782830014824867,
0.041133489459753036,
-0.03359604254364967,
0.04969876632094383,
-0.0173623226583004,
0.0019082935759797692,
0.0141881313174963,
0.04018627107143402,
-0.0617506168782711,
0.05143197625875473,
0.0235192459076643,
-0.008439318276941776,
-0.020002443343400955,
0.019377682358026505,
-0.002294990699738264,
-0.05058552324771881,
-0.03045208379626274,
0.01948852650821209,
-0.00719483382999897,
0.02944440394639969,
-0.037163231521844864,
-0.008071514777839184,
-0.057074982672929764,
-0.0020670031663030386,
-0.018742844462394714,
0.050907980650663376,
0.008212590590119362,
-0.008540086448192596,
0.026139212772250175,
0.02668336033821106,
0.0013616272481158376,
-0.021705422550439835,
-0.015185734257102013,
-0.049255385994911194,
0.023620013147592545,
-0.034825414419174194,
0.004642884712666273,
-0.004731056746095419,
0.011477472260594368,
0.00023412809241563082,
0.020002443343400955,
0.004353176802396774,
0.006862299516797066,
0.03281005471944809,
0.055341772735118866,
-0.0684819146990776,
0.002341595944017172,
0.02434554323554039,
-0.005658121779561043,
-0.021040353924036026,
0.04216132313013077,
0.018803304061293602,
-0.03051254339516163,
-0.02009313553571701,
0.020435746759176254,
0.001034131390042603,
-0.08432264626026154,
-0.07352031767368317,
-0.006101501174271107,
0.04365268722176552,
-0.010011298581957817,
-0.022491412237286568,
-0.01111470814794302,
0.08440326154232025,
-0.023801395669579506,
0.0005630410742014647,
-0.05985618010163307,
0.01353313960134983,
0.04466036707162857,
-0.016143029555678368,
0.07795410603284836,
-0.026320595294237137,
0.014450128190219402,
-0.04046842083334923,
0.03764691576361656,
-0.02946455590426922,
-0.03663923591375351,
-0.08593492954969406,
-0.006988259498029947,
0.004159198142588139,
0.004872131627053022,
-0.012616151012480259,
-0.022954944521188736,
0.04679664969444275,
-0.036095090210437775,
-0.016838328912854195,
0.007492098957300186,
0.03748568892478943,
-0.0018705056281760335,
-0.0035923784598708153,
0.03281005471944809,
-0.025554759427905083,
-0.09069117903709412,
0.016656946390867233,
-0.02902117744088173,
-0.04865077883005142,
-0.004645403940230608,
-0.07287540286779404,
-0.011255783028900623,
-0.052157506346702576,
0.010283372364938259,
0.01842038705945015,
0.030129624530673027,
-0.030593158677220345,
-0.05671221762895584,
0.02644151821732521,
0.03617570549249649,
-0.009169885888695717,
-0.003428630530834198,
-0.05965464189648628,
0.00782967172563076,
0.020586898550391197,
0.03319297358393669,
0.016646869480609894,
0.0022017802111804485,
-0.002123685088008642,
0.05381010100245476,
-0.0010171267203986645,
-0.018893996253609657,
-0.019730370491743088,
0.020032674074172974,
-0.04236285760998726,
-0.027993343770503998,
0.0024776326026767492,
-0.05860665440559387,
0.03581294044852257,
0.046071119606494904,
0.036478009074926376,
-0.05522085353732109,
-0.007235141005367041,
-0.0011078179813921452,
0.014359436929225922,
-0.059614334255456924,
0.021342657506465912,
-0.008630777709186077,
-0.021040353924036026,
-0.05905003473162651,
0.013250988908112049,
0.01672748476266861,
0.01565934345126152,
0.07053758203983307,
0.0016525948885828257,
-0.011144937947392464,
0.022572027519345284,
-0.0029953280463814735,
0.061508774757385254,
-0.027348428964614868,
-0.010081836022436619,
-0.015729881823062897,
0.012444845400750637,
0.012132464908063412,
-0.07722857594490051,
-0.006459227297455072,
0.003574744099751115,
-0.002258462365716696,
0.012968839146196842,
0.014309053309261799,
0.05272180587053299,
0.035047102719545364,
0.0060007330030202866,
-0.02162480726838112,
0.00047077538329176605,
-0.005295357201248407,
0.022269723936915398,
0.02160465531051159,
0.0398235060274601,
-0.0005753221921622753,
-0.04345115274190903,
0.02200772613286972,
-0.024244775995612144,
-0.02331770956516266,
0.03891659155488014,
0.0220278799533844,
-0.03412003815174103,
0.005905003286898136,
-0.0364578552544117,
0.04105287417769432,
-0.004259966313838959,
-0.025030765682458878,
0.01632441207766533,
0.014319129288196564,
-0.011296090669929981,
0.04800586402416229,
0.018480846658349037,
-0.0716661885380745,
0.0026023329701274633,
0.0020670031663030386,
-0.0065297652035951614,
0.0674339309334755,
0.010923248715698719,
-0.01859169267117977,
0.01569965109229088,
-0.06376597285270691,
-0.010620945133268833,
-0.05437440052628517,
-0.026562439277768135,
0.028033651411533356,
-0.02454707957804203,
0.06291952729225159,
-0.027811961248517036,
-0.0435720719397068,
0.0008155908435583115,
-0.0042322552762925625,
-0.006428997032344341,
0.03829183056950569,
0.0048696123994886875,
-0.0026804283261299133,
-0.021846497431397438,
0.022753410041332245,
0.039924271404743195,
0.0020896759815514088,
-0.020657435059547424,
0.07686581462621689,
-0.04546651244163513,
0.009880300611257553,
-0.005703467410057783,
0.015840725973248482,
-0.05542238801717758,
0.033777426928281784,
-0.04135517776012421,
0.0015077408170327544,
0.032265905290842056,
-0.045184362679719925,
-0.03216513991355896,
0.04679664969444275
]
|
41,676 | pyglove.core.geno.random | random_dna | Generates a random DNA from a DNASpec.
Example::
spec = pg.geno.space([
pg.geno.oneof([
pg.geno.constant(),
pg.geno.constant(),
pg.geno.constant()
]),
pg.geno.floatv(0.1, 0.2)
])
print(pg.random_dna(spec))
# DNA([2, 0.1123])
Args:
dna_spec: a DNASpec object.
random_generator: a Python random generator.
attach_spec: If True, attach the DNASpec to generated DNA.
previous_dna: An optional DNA representing previous DNA. This field might
be useful for generating stateful random DNAs.
Returns:
A DNA object.
| def random_dna(
dna_spec: DNASpec,
random_generator: Union[None, types.ModuleType, random.Random] = None,
attach_spec: bool = True,
previous_dna: Optional[DNA] = None
) -> DNA:
"""Generates a random DNA from a DNASpec.
Example::
spec = pg.geno.space([
pg.geno.oneof([
pg.geno.constant(),
pg.geno.constant(),
pg.geno.constant()
]),
pg.geno.floatv(0.1, 0.2)
])
print(pg.random_dna(spec))
# DNA([2, 0.1123])
Args:
dna_spec: a DNASpec object.
random_generator: a Python random generator.
attach_spec: If True, attach the DNASpec to generated DNA.
previous_dna: An optional DNA representing previous DNA. This field might
be useful for generating stateful random DNAs.
Returns:
A DNA object.
"""
return dna_spec.random_dna(
random_generator or random, attach_spec, previous_dna)
| (dna_spec: pyglove.core.geno.base.DNASpec, random_generator: Union[module, random.Random, NoneType] = None, attach_spec: bool = True, previous_dna: Optional[pyglove.core.geno.base.DNA] = None) -> pyglove.core.geno.base.DNA | [
-0.004765217192471027,
0.06670383363962173,
0.01724686287343502,
-0.02338869869709015,
0.012845367193222046,
-0.011012946255505085,
-0.0638677179813385,
0.004168989602476358,
0.058563828468322754,
-0.014318671077489853,
0.002882150700315833,
0.012615163810551167,
-0.0183610487729311,
0.05307576805353165,
-0.046445902436971664,
-0.00862343143671751,
-0.03661159798502922,
0.07624347507953644,
-0.008554370142519474,
-0.01310319546610117,
-0.03911621496081352,
0.07771677523851395,
-0.046445902436971664,
0.02946607582271099,
0.0050690858624875546,
0.028250601142644882,
-0.04187865927815437,
-0.020386841148138046,
-0.02528557740151882,
0.04114200919866562,
0.08626193553209305,
-0.13311299681663513,
0.029852818697690964,
0.028950419276952744,
-0.005768905393779278,
0.011694349348545074,
-0.010055298916995525,
0.0683981329202652,
-0.10187895596027374,
0.006390455178916454,
0.02902408502995968,
-0.025764400139451027,
0.015257902443408966,
-0.024051684886217117,
0.020699918270111084,
-0.010819574818015099,
0.04195232689380646,
-0.029134582728147507,
-0.08316799998283386,
-0.026887794956564903,
0.062136586755514145,
-0.01715478114783764,
0.03495413437485695,
0.0002748057013377547,
0.00015625078231096268,
0.019687023013830185,
-0.036887843161821365,
0.012302086688578129,
0.004820466041564941,
0.006086586508899927,
0.03263368085026741,
-0.0005404032417573035,
-0.025303993374109268,
-0.0814737007021904,
0.04202599078416824,
-0.020791999995708466,
-0.04942934215068817,
-0.009360083378851414,
-0.0007654273649677634,
-0.002251392463222146,
-0.04372029006481171,
0.019650189206004143,
0.03699834272265434,
-0.005174979567527771,
0.043978117406368256,
-0.0397423692047596,
-0.001126847229897976,
-0.04305730387568474,
0.05108680948615074,
-0.05546988919377327,
0.0020649274811148643,
0.004290997516363859,
-0.011574642732739449,
-0.0038674224633723497,
0.011068195104598999,
-0.003443847643211484,
-0.02644580416381359,
0.04581974819302559,
0.06357306241989136,
-0.00998163316398859,
0.05082898214459419,
-0.034014903008937836,
0.028232185170054436,
0.018268967047333717,
0.030386891216039658,
0.0016148791182786226,
0.07587514817714691,
0.02031317725777626,
0.0668511614203453,
-0.029963316395878792,
-0.005989900790154934,
-0.0223758015781641,
-0.04622490704059601,
0.04832436516880989,
-0.025267159566283226,
-0.01134443935006857,
-0.018526796251535416,
-0.007891383953392506,
0.013793806545436382,
0.000792476290371269,
-0.07200772315263748,
-0.10202629119157791,
0.006077378056943417,
-0.031252458691596985,
0.019723854959011078,
-0.007352706976234913,
0.06416238099336624,
-0.008756949566304684,
0.007794697768986225,
-0.06364672631025314,
0.032873090356588364,
0.045635584741830826,
-0.08117903769016266,
0.0316944494843483,
0.011878511868417263,
-0.026519468054175377,
0.024162182584404945,
-0.01875699870288372,
-0.07370202243328094,
0.03585653007030487,
0.05241278186440468,
0.051676131784915924,
-0.007283645682036877,
0.06467803567647934,
0.07465966790914536,
0.02911616675555706,
-0.019189782440662384,
0.01715478114783764,
-0.041363004595041275,
-0.03878472372889519,
0.003715488128364086,
0.0070074014365673065,
0.022210054099559784,
-0.026924626901745796,
0.033370330929756165,
0.0452672578394413,
-0.04762454703450203,
-0.04394128546118736,
-0.0709027424454689,
-0.03716408833861351,
0.01669437438249588,
-0.016860119998455048,
-0.0019889601971954107,
-0.003186019603163004,
-0.020036932080984116,
0.00033523415913805366,
-0.023112453520298004,
-0.02826901711523533,
-0.03163919970393181,
-0.0001766813511494547,
0.022596796974539757,
-0.03681417927145958,
-0.007104086689651012,
0.011178692802786827,
0.01139048021286726,
0.0018922745948657393,
-0.0006825540331192315,
0.007845343090593815,
-0.010165796615183353,
-0.07075541466474533,
-0.007237604819238186,
0.01679566316306591,
0.003989430610090494,
-0.03373865783214569,
-0.010340751148760319,
-0.007163939997553825,
-0.009258793666958809,
0.002435555448755622,
-0.0017783237854018807,
-0.06209975481033325,
0.04869269207119942,
-0.005501869134604931,
0.015331568196415901,
0.015000074170529842,
0.018066387623548508,
-0.017587564885616302,
-0.02771652862429619,
-0.004631699062883854,
0.017219237983226776,
0.002801579190418124,
0.009539642371237278,
0.017891433089971542,
-0.06139993667602539,
0.05248644948005676,
0.03530404344201088,
-0.06279957294464111,
0.020000100135803223,
0.024972500279545784,
-0.02519349567592144,
0.05244961753487587,
0.03077363409101963,
0.0017898338846862316,
-0.0012292878236621618,
-0.03324141725897789,
-0.021344488486647606,
0.005630782805383205,
0.029079334810376167,
-0.03550662100315094,
-0.004907943308353424,
-0.017274487763643265,
-0.008370207622647285,
-0.013250526040792465,
0.07675912976264954,
-0.0069199237041175365,
-0.01639971323311329,
-0.068361297249794,
0.10718285292387009,
0.025267159566283226,
0.00998163316398859,
-0.04596707969903946,
-0.008121587336063385,
0.0065423897467553616,
0.017863808199763298,
0.02112349309027195,
0.03941087797284126,
0.036537934094667435,
-0.057753510773181915,
0.02911616675555706,
-0.021915394812822342,
-0.06320473551750183,
-0.007219188846647739,
-0.04154716804623604,
0.020902497693896294,
-0.047698210924863815,
0.04449377581477165,
0.015617020428180695,
0.0487663559615612,
-0.013683308847248554,
0.013895096257328987,
0.002033849945291877,
-0.01548810675740242,
0.0734441950917244,
0.02821376733481884,
0.018987203016877174,
0.02173123136162758,
0.00045004827552475035,
-0.012035050429403782,
0.013158444315195084,
-0.05108680948615074,
-0.0960594117641449,
-0.05421758070588112,
0.023425530642271042,
-0.00232505751773715,
0.03405173495411873,
-0.005326914135366678,
0.04353612661361694,
0.02554340474307537,
0.017412610352039337,
0.01891353726387024,
0.03265209496021271,
0.004274883307516575,
-0.004495878703892231,
-0.04537775740027428,
0.011270774528384209,
0.012679620645940304,
-0.015101363882422447,
-0.045193593949079514,
0.04117884114384651,
0.03224693611264229,
0.027532365173101425,
0.02725611999630928,
0.009843511506915092,
0.02786385826766491,
-0.05889531970024109,
0.0367220975458622,
-0.03616960719227791,
0.05259694531559944,
-0.01935552805662155,
0.03878472372889519,
0.0071593355387449265,
-0.03856372833251953,
0.024751504883170128,
-0.019631773233413696,
0.04766137897968292,
0.000280416919849813,
0.021547067910432816,
0.00558013841509819,
0.07720112055540085,
0.022946706041693687,
0.026629965752363205,
0.003552043344825506,
0.009249585680663586,
0.09797470271587372,
-0.005322310142219067,
-0.0022928291000425816,
0.02850842848420143,
0.010801158845424652,
-0.011574642732739449,
-0.00569524010643363,
0.05038699135184288,
0.08773524314165115,
0.023204535245895386,
0.019079284742474556,
0.05399658530950546,
-0.09016619622707367,
0.02780861034989357,
0.02182331308722496,
-0.05012916401028633,
0.004327829927206039,
-0.0017069606110453606,
-0.03289150819182396,
0.041363004595041275,
0.01774410344660282,
0.10232094675302505,
-0.0010773533722385764,
-0.0013869773829355836,
0.018637293949723244,
-0.03294675797224045,
0.037587665021419525,
0.009521225467324257,
-0.047956038266420364,
0.08316799998283386,
-0.039963364601135254,
0.008807593956589699,
-0.027624446898698807,
-0.03294675797224045,
-0.03675892949104309,
0.04088418185710907,
-0.02423584833741188,
0.06206292286515236,
-0.03333349898457527,
-0.038453228771686554,
-0.020092179998755455,
0.053186267614364624,
0.003441545646637678,
0.02307562157511711,
-0.01528552733361721,
-0.044383276253938675,
-0.007587514817714691,
-0.06291007250547409,
-0.012440209276974201,
-0.03278100863099098,
0.00025120979989878833,
-0.011326023377478123,
0.05038699135184288,
-0.039447709918022156,
0.02585648186504841,
-0.0256539024412632,
-0.042062822729349136,
0.005170375574380159,
0.0031814153771847486,
0.06721948832273483,
0.016169508919119835,
0.0228730421513319,
0.04707205668091774,
-0.031307704746723175,
0.020147429779171944,
0.03926354646682739,
0.01911611668765545,
0.014530458487570286,
-0.030607886612415314,
-0.017440233379602432,
0.025230327621102333,
-0.02092091366648674,
-0.005515681114047766,
0.004640907049179077,
-0.06674066185951233,
0.03193385899066925,
-0.021915394812822342,
-0.020755168050527573,
0.009889551438391209,
-0.05171296373009682,
-0.01765202172100544,
-0.01503690704703331,
-0.005782717373222113,
-0.08618827164173126,
-0.02057100459933281,
0.003314933506771922,
-0.005313101690262556,
-0.02152865193784237,
-0.017320528626441956,
0.018987203016877174,
-0.014419960789382458,
0.0910501778125763,
-0.0243831779807806,
-0.03138137236237526,
0.0719340592622757,
0.02861892618238926,
-0.06357306241989136,
-0.058563828468322754,
-0.041915494948625565,
-0.048103369772434235,
0.025838065892457962,
0.06655649840831757,
-0.009042401798069477,
-0.054438576102256775,
-0.03731141984462738,
-0.009212752804160118,
-0.07314953207969666,
0.007486225105822086,
0.03565395250916481,
-0.025874897837638855,
-0.07399668544530869,
-0.012919032946228981,
0.05226545408368111,
0.0011855491902679205,
0.022449467331171036,
-0.0352119617164135,
-0.030810466036200523,
0.04139983654022217,
-0.006436496041715145,
0.008126191794872284,
-0.017431026324629784,
0.03036847524344921,
0.06810346990823746,
0.06176826357841492,
0.012477041222155094,
-0.008526746183633804,
0.00674036517739296,
-0.0050690858624875546,
0.030792050063610077,
-0.06195242702960968,
-0.00717775197699666,
0.08987153321504593,
0.057864006608724594,
0.04077368229627609,
0.06629867106676102,
-0.007877571508288383,
-0.05727468430995941,
-0.010193420574069023,
0.015119780786335468,
-0.02836109884083271,
0.01041441597044468,
-0.00834718719124794,
0.05510156229138374,
0.0063167898915708065,
-0.021602317690849304,
-0.008448476903140545,
-0.045782916247844696,
0.0012615163577720523,
0.022762544453144073,
-0.0030893338844180107,
0.0068922992795705795,
-0.02725611999630928,
-0.11108710616827011,
0.037937574088573456,
0.07130790501832962,
0.008885863237082958,
0.0422469861805439,
-0.024401593953371048,
0.022707294672727585,
-0.025432907044887543,
0.043978117406368256,
0.03775341063737869,
-0.024917250499129295,
0.0016793361864984035,
0.02327820099890232,
-0.011012946255505085,
-0.03349924460053444,
-0.02082883194088936,
0.007081066258251667,
-0.006035941652953625,
-0.010340751148760319,
-0.001548120053485036,
-0.020129013806581497,
0.06349939107894897,
0.04202599078416824,
0.015865640714764595,
-0.0728917047381401,
0.0532967671751976,
0.07558048516511917,
0.017467858269810677,
0.04346246272325516,
-0.014401544816792011,
0.02600381150841713,
-0.06906111538410187,
-0.02429109625518322,
0.02987123467028141,
-0.035377707332372665,
-0.0011279982281848788,
-0.009171316400170326,
-0.008595806546509266,
-0.0063490187749266624,
0.030239561572670937,
0.003922671545296907,
0.02348078042268753,
0.002041907049715519,
0.016887744888663292,
0.016832496970891953,
0.0258933138102293,
-0.02539607509970665,
-0.02510141395032406,
0.01432787999510765,
-0.03007381409406662,
-0.024070100858807564,
0.025211911648511887,
0.06180509552359581,
-0.03885838761925697,
0.020331593230366707,
-0.04710888862609863,
-0.009419936686754227,
-0.020386841148138046,
-0.02961340732872486,
-0.017569148913025856,
0.0442359484732151,
-0.029208248481154442,
-0.05473323538899422,
-0.03208119049668312,
-0.03896888718008995,
0.025027748197317123,
0.05837966501712799,
0.011482561938464642,
0.07528582215309143,
0.024567341431975365,
0.015377608127892017,
0.04430961236357689,
-0.0034185252152383327,
-0.06825079768896103,
0.022652046754956245,
0.010966905392706394,
0.004714572336524725,
0.029594989493489265,
-0.022136390209197998,
-0.023609694093465805,
0.018084803596138954,
-0.019926434382796288,
0.015460481867194176,
0.0006198235205374658,
0.02318611927330494,
0.035230375826358795,
0.021804897114634514,
0.06305740028619766,
0.04029485955834389,
0.02232055366039276,
0.007767073344439268,
-0.0241437666118145,
0.0012051165103912354,
0.014907993376255035,
-0.02650105208158493,
-0.03992653265595436,
0.03786390647292137,
0.017127156257629395,
0.026187974959611893,
-0.0007009703549556434,
0.0517866276204586,
-0.005865590646862984,
0.029631823301315308,
-0.03651951998472214,
0.033867571502923965,
0.03327824920415878,
-0.02423584833741188,
-0.03403331711888313,
-0.06261540949344635,
-0.0281585194170475,
-0.021989058703184128,
0.008259709924459457,
-0.024806752800941467,
0.03812173753976822,
0.002755538560450077,
-0.006717344745993614,
-0.00605896208435297,
-0.01310319546610117,
0.0007729089702479541,
-0.04390445351600647,
0.02182331308722496,
0.017965098842978477,
0.0021685189567506313,
-0.028839921578764915,
0.04290997236967087,
-0.03182336315512657,
-0.02725611999630928,
0.019171366468071938,
-0.027679694816470146,
0.024548925459384918,
-0.05145513638854027,
-0.009143691509962082,
-0.031602367758750916,
-0.005469640251249075,
-0.020939329639077187,
-0.02554340474307537,
0.005722864530980587,
-0.0316760316491127,
0.006680511869490147,
-0.005119730718433857,
-0.036482684314250946,
-0.02449367567896843,
0.009240377694368362,
-0.01784539222717285,
-0.018342632800340652,
-0.03491729870438576,
-0.0053361221216619015,
0.056795861572027206,
-0.044272780418395996,
-0.06467803567647934,
0.018876705318689346,
0.04036852344870567,
0.028600510209798813,
0.025764400139451027,
-0.00005546470856643282,
-0.033020421862602234,
-0.02705354057252407,
0.04364662617444992,
0.0145857073366642,
0.009622515179216862,
0.08464130759239197,
0.01310319546610117,
0.02972390502691269,
-0.10305760055780411,
-0.005575533956289291,
-0.06972410529851913,
-0.008489913307130337,
0.025119829922914505,
-0.10195262730121613,
-0.0367220975458622,
0.0417313314974308,
-0.07248654961585999,
-0.07399668544530869,
-0.09620673954486847,
0.03751399740576744,
0.04681422933936119,
0.017182406038045883,
-0.005428203847259283,
-0.03893205150961876,
-0.01830579899251461,
-0.027919108048081398,
-0.037937574088573456,
-0.007785489782691002,
0.009005569852888584,
0.008885863237082958,
0.01720082201063633,
0.012707245536148548,
-0.019097700715065002,
0.004530409350991249,
0.005221020430326462,
-0.03548820689320564,
-0.03808490186929703,
0.044530607759952545,
-0.01895037107169628,
0.0186004601418972,
-0.02057100459933281,
0.000943835242651403,
-0.007085670717060566,
-0.057753510773181915,
-0.005285477265715599,
-0.0013674100628122687,
-0.06394138187170029,
-0.017219237983226776,
-0.04169449955224991,
-0.009530434384942055,
-0.024106932803988457,
-0.01239416841417551,
0.032504767179489136,
-0.017117949202656746,
-0.010128963738679886,
0.000011087546226917766,
-0.014861952513456345,
0.0367220975458622,
0.029889650642871857,
0.032707344740629196,
0.016979826614260674,
0.039153050631284714,
0.013683308847248554,
0.030202727764844894,
-0.018425505608320236,
-0.005543305538594723,
0.0497976690530777,
-0.010377584025263786,
-0.0007378029404208064,
0.015147404745221138,
-0.02931874617934227,
-0.01846233755350113,
-0.01410688366740942,
0.002346926834434271,
-0.024420009925961494,
0.03882155567407608,
-0.0036970716901123524,
0.004187405575066805,
0.032210104167461395,
0.04799287021160126,
-0.015432857908308506,
0.0028153914026916027,
0.020939329639077187,
-0.002051115268841386,
-0.06191559135913849,
-0.04394128546118736,
-0.05642753466963768,
0.06655649840831757,
-0.07204455882310867,
0.05970563739538193,
0.04464110732078552,
-0.0030064606107771397,
-0.030607886612415314,
0.007122503127902746,
-0.013388648629188538,
-0.014825119636952877,
-0.03423589840531349,
-0.009696180932223797,
-0.006855466868728399,
-0.052781108766794205,
-0.008600411005318165,
0.026280056685209274,
0.05550672113895416,
-0.04817703366279602,
0.04611441120505333,
-0.016169508919119835,
-0.02574598416686058,
0.02278096042573452,
0.02042367495596409,
0.04931884631514549,
-0.03189702704548836,
0.0035934799816459417,
0.011049778200685978,
-0.004912547301501036,
0.03797440603375435,
-0.03182336315512657,
-0.025230327621102333,
0.05012916401028633,
0.05550672113895416,
0.0020373028237372637,
-0.013314982876181602,
-0.0744018405675888,
-0.010331543162465096,
0.04648273438215256,
-0.025580236688256264,
0.015073739923536777,
-0.01476066280156374,
-0.043830789625644684,
-0.01118790078908205,
-0.026224808767437935,
-0.012283670715987682,
-0.013453105464577675,
0.035377707332372665,
0.04990816488862038,
0.02379385568201542,
-0.050460655242204666,
0.006072774063795805,
0.024401593953371048,
0.04854536056518555,
-0.025838065892457962,
-0.02429109625518322,
-0.07808510214090347,
0.05944781005382538,
0.03727458789944649,
0.008844426833093166,
0.06677749752998352,
-0.018066387623548508,
-0.009917176328599453,
-0.03309408575296402,
0.03222852200269699,
-0.046593233942985535,
0.016114261001348495,
-0.035782866179943085,
0.007955840788781643,
-0.003855912247672677,
0.001163679757155478,
0.029300330206751823,
-0.014429168775677681,
0.011694349348545074,
0.020607836544513702,
-0.010764325968921185,
0.004742196761071682,
0.028029605746269226,
0.03425431251525879,
-0.00033350763260386884,
-0.03600386157631874,
-0.005386766977608204,
-0.04309413582086563,
0.006942944135516882
]
|
41,677 | pyglove.core.hyper.iter | random_sample | Returns an iterator of random sampled examples.
Example::
hyper_dict = pg.Dict(x=pg.oneof(range(3)), y=pg.floatv(0.0, 1.0))
# Generate one random example from the hyper_dict.
d = next(pg.random_sample(hyper_dict))
# Generate 5 random examples with random seed.
ds = list(pg.random_sample(hyper_dict, 5, seed=1))
# Generate 3 random examples of `x` with `y` intact.
ds = list(pg.random_sample(hyper_dict, 3,
where=lambda x: isinstance(x, pg.hyper.OneOf)))
Args:
value: A (maybe) hyper value.
num_examples: An optional integer as number of examples to propose. If None,
propose will return an iterator that iterates forever.
where: Function to filter hyper primitives. If None, all hyper primitives in
`value` will be included in the encoding/decoding process. Otherwise only
the hyper primitives on which 'where' returns True will be included.
`where` can be useful to partition a search space into separate
optimization processes. Please see 'Template' docstr for details.
seed: An optional integer as random seed.
Returns:
Iterator of random examples.
| def random_sample(
value: Any,
num_examples: Optional[int] = None,
where: Optional[Callable[[base.HyperPrimitive], bool]] = None,
seed: Optional[int] = None):
"""Returns an iterator of random sampled examples.
Example::
hyper_dict = pg.Dict(x=pg.oneof(range(3)), y=pg.floatv(0.0, 1.0))
# Generate one random example from the hyper_dict.
d = next(pg.random_sample(hyper_dict))
# Generate 5 random examples with random seed.
ds = list(pg.random_sample(hyper_dict, 5, seed=1))
# Generate 3 random examples of `x` with `y` intact.
ds = list(pg.random_sample(hyper_dict, 3,
where=lambda x: isinstance(x, pg.hyper.OneOf)))
Args:
value: A (maybe) hyper value.
num_examples: An optional integer as number of examples to propose. If None,
propose will return an iterator that iterates forever.
where: Function to filter hyper primitives. If None, all hyper primitives in
`value` will be included in the encoding/decoding process. Otherwise only
the hyper primitives on which 'where' returns True will be included.
`where` can be useful to partition a search space into separate
optimization processes. Please see 'Template' docstr for details.
seed: An optional integer as random seed.
Returns:
Iterator of random examples.
"""
return iterate(
value, num_examples, geno.Random(seed), where=where)
| (value: Any, num_examples: Optional[int] = None, where: Optional[Callable[[pyglove.core.hyper.base.HyperPrimitive], bool]] = None, seed: Optional[int] = None) | [
0.04494411498308182,
-0.06247705966234207,
-0.051286593079566956,
-0.04578248783946037,
-0.008201480843126774,
0.04931823909282684,
-0.0034491783007979393,
0.0012848986079916358,
0.03632344678044319,
0.025424590334296227,
0.0011578896082937717,
0.08230641484260559,
-0.01948307268321514,
0.03995032235980034,
-0.04049709066748619,
0.023237528279423714,
0.005230722017586231,
0.04662086069583893,
-0.008000999689102173,
-0.04673021659255028,
-0.026445219293236732,
0.020212093368172646,
0.011828357353806496,
0.015318543650209904,
0.02600780688226223,
-0.006583966314792633,
-0.025515718385577202,
-0.03574023023247719,
-0.004084792919456959,
0.016749246045947075,
0.049427591264247894,
-0.07180851697921753,
-0.05726456269621849,
0.021815938875079155,
-0.0016140969237312675,
-0.030983371660113335,
-0.01000580657273531,
0.09856357425451279,
-0.02258140966296196,
0.03267834335565567,
0.027921484783291817,
-0.06018064171075821,
0.01168255414813757,
0.006629530340433121,
-0.028194868937134743,
0.05219786986708641,
0.028194868937134743,
0.04844341427087784,
-0.010971758514642715,
-0.047714393585920334,
0.015190964564681053,
0.01248447597026825,
0.02593490481376648,
0.008775584399700165,
0.000572394987102598,
-0.02868695743381977,
-0.042829956859350204,
0.013869615271687508,
0.049500491470098495,
0.057774875313043594,
-0.0022212343756109476,
-0.017159320414066315,
-0.02161545865237713,
0.01897275820374489,
0.041007403284311295,
-0.036232318729162216,
-0.021998193114995956,
0.02704666182398796,
-0.04337672144174576,
-0.03661505505442619,
-0.009026185609400272,
0.0040483418852090836,
0.00023935224453452975,
0.02779390662908554,
0.00012928723299410194,
0.07946323603391647,
-0.0586497001349926,
0.0019444343633949757,
0.04527217522263527,
-0.042793504893779755,
0.06010774150490761,
-0.00795543659478426,
-0.039549361914396286,
-0.06021709367632866,
-0.03965871408581734,
0.00020574894733726978,
0.029634684324264526,
0.021487880498170853,
0.10738471895456314,
0.03010854683816433,
-0.03668795898556709,
0.024167029187083244,
0.018116159364581108,
-0.014225012622773647,
0.04727698117494583,
0.0047249640338122845,
-0.00020674566621892154,
-0.00003177005783072673,
-0.005280842538923025,
-0.01933726854622364,
0.044543154537677765,
-0.06681472808122635,
0.0660492554306984,
-0.023146402090787888,
-0.005066692363470793,
-0.028049064800143242,
-0.02619006112217903,
-0.0028181199450045824,
-0.007814188487827778,
0.0019763291347771883,
-0.07118885219097137,
-0.009960242547094822,
-0.01175545621663332,
-0.0031803520396351814,
0.027411172166466713,
0.010570797137916088,
0.044652506709098816,
0.010807729326188564,
-0.05398396775126457,
-0.013869615271687508,
-0.010406767949461937,
0.04818825423717499,
-0.011992387473583221,
0.03572200611233711,
-0.011117562651634216,
0.03286059945821762,
-0.005827607586979866,
-0.07224593311548233,
-0.08573281019926071,
-0.025132982060313225,
0.0500108078122139,
0.022344479337334633,
0.020886437967419624,
0.03599538654088974,
0.043121565133333206,
0.005121368914842606,
-0.06189384311437607,
-0.0127031821757555,
0.02742939628660679,
-0.013942517340183258,
0.012420686893165112,
-0.02939775213599205,
0.016448525711894035,
0.008023781701922417,
0.06225835159420967,
-0.02008451521396637,
0.00032435718458145857,
-0.023091724142432213,
0.015245641581714153,
-0.004041507374495268,
-0.008552322164177895,
0.03468314930796623,
0.07107950001955032,
-0.03564910218119621,
-0.054348479956388474,
-0.02657279744744301,
-0.0031894647981971502,
-0.07231883704662323,
-0.05219786986708641,
-0.03021790087223053,
0.03666973114013672,
0.031657714396715164,
0.03643279895186424,
-0.0017940739635378122,
-0.03648747503757477,
0.07082433998584747,
-0.017423590645194054,
0.025843776762485504,
0.027210690081119537,
-0.023711392655968666,
-0.005053023342043161,
-0.019173240289092064,
0.05905066058039665,
-0.006907469127327204,
0.04381413385272026,
-0.004444746766239405,
-0.010889743454754353,
0.013459540903568268,
0.008415630087256432,
-0.030691763386130333,
0.011746343225240707,
-0.005340075120329857,
-0.053036242723464966,
0.044579602777957916,
0.004599663894623518,
0.018498895689845085,
0.028231319040060043,
0.014817342162132263,
0.019501298666000366,
0.002299831947311759,
-0.007126175332814455,
0.011719005182385445,
0.00852954015135765,
0.010589023120701313,
-0.030345479026436806,
0.01904566027224064,
0.00666142487898469,
-0.03987742215394974,
-0.039403557777404785,
0.11460202187299728,
-0.02850470133125782,
-0.08099418133497238,
-0.0336078442633152,
-0.03592248633503914,
-0.04024193063378334,
0.0011994665255770087,
0.017651408910751343,
0.0036975007969886065,
0.0033079306595027447,
-0.04676666483283043,
-0.013714698143303394,
-0.025843776762485504,
0.03322511166334152,
0.06659602373838425,
0.015318543650209904,
-0.046438608318567276,
-0.04574603587388992,
-0.03559442609548569,
-0.04490766301751137,
-0.02343801036477089,
-0.0077686249278485775,
0.030381929129362106,
0.025770874693989754,
-0.004916332196444273,
0.06918404996395111,
-0.0017507883021607995,
0.037909068167209625,
-0.03043660707771778,
-0.054676540195941925,
-0.07118885219097137,
0.06688763201236725,
0.010106046684086323,
0.0844205766916275,
-0.032842375338077545,
-0.022526733577251434,
-0.01571950502693653,
0.03289705142378807,
-0.006934807635843754,
0.03566733002662659,
0.01822551339864731,
0.005162376444786787,
0.014498395845293999,
0.0017542055575177073,
-0.057884227484464645,
-0.01576506905257702,
0.013013016432523727,
-0.04523572325706482,
0.006210343446582556,
-0.02500540390610695,
-0.021451428532600403,
-0.00873913336545229,
-0.028267771005630493,
-0.0034286745358258486,
-0.030090320855379105,
0.06021709367632866,
0.005768375005573034,
0.0584309957921505,
-0.07931742817163467,
-0.0038569741882383823,
0.0003032839158549905,
-0.07352171838283539,
-0.008000999689102173,
-0.011390945874154568,
0.09426235407590866,
-0.02857760339975357,
-0.00486165564507246,
-0.03143901005387306,
0.00006158230098662898,
0.06747084856033325,
0.023237528279423714,
0.015081611461937428,
0.04355897381901741,
0.013650909066200256,
-0.059852585196495056,
0.012821648269891739,
0.009504605084657669,
0.036195866763591766,
0.02176126278936863,
-0.0004912345320917666,
-0.018936308100819588,
0.018717601895332336,
0.032477863132953644,
-0.007850639522075653,
0.0008355258614756167,
-0.00852954015135765,
0.02875985950231552,
-0.04060644283890724,
0.0669969841837883,
0.022253351286053658,
-0.009377025999128819,
0.04724052920937538,
-0.02079530991613865,
-0.0036132079549133778,
-0.039330657571554184,
-0.035339269787073135,
-0.01740536466240883,
0.0014705710345879197,
-0.003795463126152754,
-0.005686359945684671,
0.005230722017586231,
0.05547846108675003,
-0.022289801388978958,
0.044579602777957916,
0.06419025361537933,
-0.05518685281276703,
0.06674183160066605,
0.07035048305988312,
-0.02269076369702816,
-0.09324172139167786,
-0.014288801699876785,
0.011482072994112968,
0.0070441607385873795,
0.003841026918962598,
-0.016047563403844833,
0.017341574653983116,
-0.03714359551668167,
0.0004747176426462829,
-0.02168836072087288,
-0.053218498826026917,
0.014243238605558872,
-0.07676585763692856,
0.059451621025800705,
0.03306107968091965,
-0.053036242723464966,
0.025807326659560204,
-0.016047563403844833,
0.002813563449308276,
-0.027338270097970963,
-0.04490766301751137,
0.027210690081119537,
-0.008757359348237514,
0.012411573901772499,
0.046183448284864426,
0.0844205766916275,
-0.020175643265247345,
0.009431703016161919,
-0.0020617612171918154,
0.027484074234962463,
-0.03311575576663017,
-0.04578248783946037,
0.009026185609400272,
-0.034555573016405106,
-0.012293108738958836,
-0.01175545621663332,
-0.0066842068918049335,
-0.029015015810728073,
0.0034856293350458145,
-0.023055274039506912,
0.01758762076497078,
-0.021633684635162354,
0.05500459671020508,
0.12830761075019836,
0.029926292598247528,
0.03592248633503914,
0.026208287104964256,
0.00860699824988842,
0.01706819236278534,
-0.03085579350590706,
-0.018343979492783546,
0.05070337653160095,
0.06291446834802628,
-0.012976565398275852,
0.04355897381901741,
-0.020813535898923874,
-0.015309430658817291,
0.006137441378086805,
0.002881909254938364,
-0.02332865633070469,
-0.019574200734496117,
0.00959573220461607,
-0.016266269609332085,
-0.030564185231924057,
-0.045891840010881424,
0.04709472507238388,
0.05092208459973335,
-0.10490605235099792,
-0.06189384311437607,
0.021250948309898376,
-0.012739633210003376,
0.07053273171186447,
0.05343720316886902,
0.026445219293236732,
0.03892969712615013,
0.018571797758340836,
-0.04169997200369835,
-0.06419025361537933,
0.049427591264247894,
0.02500540390610695,
-0.056098129600286484,
-0.025643296539783478,
-0.05751971900463104,
-0.004314890131354332,
0.02376606874167919,
0.026481669396162033,
0.008447525091469288,
0.0006128328968770802,
-0.0046930694952607155,
0.019647102802991867,
-0.06674183160066605,
-0.031129175797104836,
0.044579602777957916,
0.00888493750244379,
-0.07552652806043625,
0.011117562651634216,
-0.01919146440923214,
-0.07199077308177948,
-0.004847986623644829,
-0.019537750631570816,
-0.008247044868767262,
-0.013423089869320393,
-0.011263366788625717,
-0.025169434025883675,
-0.015464347787201405,
0.020685957744717598,
0.0019979719072580338,
-0.04140836372971535,
-0.02865050546824932,
0.03149368613958359,
-0.03914840146899223,
0.07384977489709854,
0.10738471895456314,
-0.0421009361743927,
0.04155416786670685,
0.03661505505442619,
0.05423912778496742,
-0.0029775931034237146,
0.02597135491669178,
-0.05179690569639206,
0.06535668671131134,
-0.0027862251736223698,
-0.04374122992157936,
-0.0333162359893322,
-0.01919146440923214,
0.02276366576552391,
0.04381413385272026,
0.019027436152100563,
-0.030418381094932556,
0.020886437967419624,
0.0030869462061673403,
-0.012903663329780102,
0.008880381472408772,
0.00901707261800766,
0.004146303981542587,
0.000561004038900137,
0.0170590803027153,
0.005818495061248541,
0.0335349440574646,
0.03692488744854927,
0.05019306391477585,
-0.046256352216005325,
0.04913598299026489,
-0.0663408637046814,
0.061383526772260666,
0.029197271913290024,
0.04319446533918381,
0.04326736927032471,
-0.007158070337027311,
0.039585813879966736,
-0.024914275854825974,
-0.0018100212328135967,
0.061091918498277664,
0.023146402090787888,
-0.024239931255578995,
-0.09593909978866577,
-0.02529701218008995,
0.0014272854896262288,
0.02768455445766449,
0.009677747264504433,
0.027812132611870766,
0.017988581210374832,
0.08070257306098938,
0.06674183160066605,
0.012092627584934235,
0.029926292598247528,
0.026335865259170532,
-0.004993790294975042,
-0.017797213047742844,
0.03327978774905205,
-0.011983274482190609,
-0.030309027060866356,
0.0847121849656105,
-0.013769375160336494,
0.04406929016113281,
-0.012165529653429985,
-0.003993665333837271,
-0.013049467466771603,
-0.004857099149376154,
0.0501566119492054,
0.04822470620274544,
0.013268173672258854,
-0.015856195241212845,
0.006916582118719816,
0.023529136553406715,
-0.03209512680768967,
-0.008037450723350048,
-0.019537750631570816,
0.03603183850646019,
0.013359300792217255,
0.09324172139167786,
0.007622820790857077,
0.014762665145099163,
0.020849986001849174,
-0.029288399964571,
-0.02183416485786438,
-0.0146441999822855,
0.042720600962638855,
0.07873421907424927,
-0.020777083933353424,
-0.024804923683404922,
0.05238012224435806,
0.04527217522263527,
0.01746915467083454,
0.023966548964381218,
-0.0044994233176112175,
0.03528459370136261,
-0.04359542578458786,
0.03903904929757118,
0.019610652700066566,
-0.06276866793632507,
-0.026390543207526207,
0.0507398284971714,
0.05711875855922699,
-0.04155416786670685,
0.023602038621902466,
-0.02332865633070469,
-0.028103740885853767,
-0.04702182486653328,
-0.04527217522263527,
0.052963338792324066,
0.0006265019765123725,
0.021560782566666603,
-0.04064289480447769,
0.0038501396775245667,
0.046183448284864426,
0.011801019310951233,
-0.06987661868333817,
-0.0027201578486710787,
-0.04206448420882225,
0.003731673816218972,
0.02950710617005825,
0.03572200611233711,
0.02690085768699646,
-0.008616111241281033,
0.004488032311201096,
0.0249689519405365,
0.002009362680837512,
0.0020013891626149416,
-0.023091724142432213,
-0.02161545865237713,
-0.009613958187401295,
0.005016572307795286,
-0.06732504069805145,
0.013359300792217255,
-0.020485475659370422,
0.011144900694489479,
-0.015437009744346142,
0.00033603288466110826,
-0.011965049430727959,
-0.04508991912007332,
0.03143901005387306,
0.030272576957941055,
0.004658896941691637,
0.017542056739330292,
-0.027411172166466713,
0.036195866763591766,
0.031056273728609085,
-0.04683956876397133,
-0.0015389167238026857,
0.002588022733107209,
-0.037726812064647675,
0.011472960002720356,
0.030345479026436806,
0.025424590334296227,
0.04702182486653328,
-0.020594829693436623,
0.02197996899485588,
-0.06408090144395828,
-0.021068692207336426,
-0.0007814188720658422,
-0.012557378038764,
-0.05675424635410309,
-0.01844421960413456,
0.05194270983338356,
-0.026317641139030457,
0.08850309252738953,
-0.0020458137150853872,
0.007312986999750137,
0.06491927802562714,
-0.01373292412608862,
0.06954855471849442,
-0.004412852227687836,
0.01078950334340334,
-0.08019225299358368,
0.019173240289092064,
0.03674263507127762,
-0.011864808388054371,
0.009431703016161919,
-0.0680176168680191,
-0.06812696903944016,
0.02708311192691326,
-0.042793504893779755,
0.0828896313905716,
0.012712295167148113,
-0.0029434203170239925,
0.000720477313734591,
0.0026632030494511127,
0.003961770795285702,
-0.059305816888809204,
0.02019386738538742,
-0.05737391486763954,
0.004034672863781452,
0.01911856234073639,
-0.0340452566742897,
-0.02589845284819603,
0.003184908302500844,
0.008648006245493889,
-0.06393510103225708,
-0.014835567213594913,
0.0032145248260349035,
-0.0833999440073967,
0.013359300792217255,
-0.06280511617660522,
-0.008447525091469288,
0.012520927004516125,
-0.02954355627298355,
-0.08252511918544769,
0.018772277981042862,
-0.029762262478470802,
-0.04669376462697983,
-0.0016220706747844815,
0.03151191025972366,
-0.015118062496185303,
0.017760762944817543,
-0.013623571023344994,
-0.05241657420992851,
-0.01944662258028984,
0.014944920316338539,
-0.005157819949090481,
-0.05205206573009491,
0.008215149864554405,
-0.021178046241402626,
0.029525330290198326,
-0.005435759201645851,
0.010889743454754353,
0.004998346790671349,
0.030764665454626083,
-0.054603636264801025,
0.00034970202250406146,
0.0028522927314043045,
0.002831788966432214,
0.04738633334636688,
0.02604425698518753,
0.014088321477174759,
-0.011855696327984333,
-0.02033967152237892,
-0.020394349470734596,
0.0037225610576570034,
-0.029707586392760277,
-0.012192867696285248,
0.022891243919730186,
0.017387138679623604,
0.04541797935962677,
0.0009471570956520736,
-0.01706819236278534,
-0.044688958674669266,
0.016931502148509026,
-0.027101337909698486,
-0.017004404217004776,
0.015190964564681053,
0.017277786508202553,
-0.021542556583881378,
0.0017302846536040306,
-0.04242899268865585,
0.006123772356659174,
-0.0026016919873654842,
-0.04552733153104782,
-0.03643279895186424,
0.005212496500462294,
-0.05230722203850746,
-0.057920679450035095,
0.020959340035915375,
0.016776584088802338,
0.008265269920229912,
0.04490766301751137,
-0.04538152739405632,
-0.02597135491669178,
-0.027921484783291817,
0.002465000608935952,
-0.017131982371211052,
-0.019683554768562317,
-0.038054872304201126,
-0.003809132147580385,
0.0014796837931498885,
-0.04330381751060486,
-0.05176045745611191,
-0.03743520379066467,
-0.014543958939611912,
-0.08719085156917572,
0.022235125303268433,
0.03293350338935852,
0.02243560552597046,
0.00448119780048728,
0.013459540903568268,
0.025388140231370926,
0.0033079306595027447,
0.002297553699463606,
-0.06236770376563072,
0.019100338220596313,
0.07793229073286057,
0.00797366164624691,
-0.02440396137535572,
0.03984097018837929,
-0.06783536076545715,
-0.03517524152994156,
-0.042939309030771255,
-0.02742939628660679,
-0.027247142046689987,
0.04877147078514099,
-0.019282592460513115,
0.009185658767819405,
0.010825954377651215,
-0.01915501430630684,
0.015828857198357582,
-0.0211598202586174,
-0.027812132611870766,
-0.00716262636706233,
0.03696133941411972,
-0.005435759201645851,
-0.03400880843400955,
0.021105144172906876,
0.012174642644822598,
-0.011782794259488583,
-0.03617764264345169,
-0.035977162420749664,
-0.032587215304374695,
0.00013576583296526223,
-0.011381832882761955,
0.017861003056168556,
0.0013407142832875252,
-0.04658441245555878,
-0.025132982060313225,
0.07392267882823944,
0.010470557026565075,
0.008260713890194893,
0.023638490587472916,
-0.0332433357834816,
0.03322511166334152,
-0.03586781024932861,
0.027374720200896263,
-0.015245641581714153,
-0.036232318729162216,
0.02657279744744301,
0.009254003874957561,
0.008839373476803303,
0.057884227484464645,
0.037617459893226624,
-0.023018822073936462,
0.004223762545734644,
-0.02850470133125782,
-0.007057829760015011,
-0.08915920555591583,
0.030381929129362106,
0.039294205605983734,
-0.01837131753563881,
0.0037795156240463257,
-0.002335143741220236,
0.004624723922461271,
0.029033241793513298
]
|
41,678 | pyglove.core.typing.type_conversion | register_converter | Register converter from source type to destination type.
Examples::
# Add converter from int to float.
pg.typing.register_converter(int, float, float)
assert pg.typing.Float().apply(1) is 1.0
# Add converter from a dict to class A.
def from_dict(d):
return A(**d)
assert isinstance(pg.typing.Object(A).apply({'x': 1, 'y': 2}), A)
Args:
src_type: Source value type.
dest_type: Target value type.
convert_fn: Function that performs the conversion, in signature
(src_type) -> dest_type.
| def register_converter(
src_type: Union[Type[Any], Tuple[Type[Any], ...]],
dest_type: Union[Type[Any], Tuple[Type[Any], ...]],
convert_fn: Callable[[Any], Any]) -> None:
"""Register converter from source type to destination type.
Examples::
# Add converter from int to float.
pg.typing.register_converter(int, float, float)
assert pg.typing.Float().apply(1) is 1.0
# Add converter from a dict to class A.
def from_dict(d):
return A(**d)
assert isinstance(pg.typing.Object(A).apply({'x': 1, 'y': 2}), A)
Args:
src_type: Source value type.
dest_type: Target value type.
convert_fn: Function that performs the conversion, in signature
(src_type) -> dest_type.
"""
_TYPE_CONVERTER_REGISTRY.register(src_type, dest_type, convert_fn)
| (src_type: Union[Type[Any], Tuple[Type[Any], ...]], dest_type: Union[Type[Any], Tuple[Type[Any], ...]], convert_fn: Callable[[Any], Any]) -> NoneType | [
-0.03146854043006897,
-0.001954813254997134,
-0.03298163786530495,
-0.023443393409252167,
0.019804304465651512,
0.05776574835181236,
0.01267935149371624,
0.04313277825713158,
-0.014039222151041031,
-0.00557355210185051,
-0.006277428474277258,
0.03606528788805008,
0.07776158303022385,
0.013857267796993256,
-0.007412249222397804,
0.018415704369544983,
-0.02599075622856617,
0.028461504727602005,
0.002051775809377432,
-0.0018949597142636776,
-0.01988091692328453,
0.003042948665097356,
0.07603780180215836,
0.028538117185235023,
-0.019287170842289925,
-0.039187241345644,
0.001588510232977569,
0.010888537392020226,
-0.07990673184394836,
0.030376816168427467,
0.0072350832633674145,
-0.039991673082113266,
0.00275565218180418,
0.02941916137933731,
-0.032349586486816406,
0.00883436668664217,
-0.01096514891833067,
0.05960444360971451,
-0.0746970847249031,
-0.03301994502544403,
-0.007124952971935272,
0.038191281259059906,
-0.039608608931303024,
0.03210059553384781,
0.07358621060848236,
-0.004536890424787998,
-0.08879376947879791,
-0.04048965126276016,
-0.026661114767193794,
-0.007627721875905991,
-0.014020068570971489,
-0.05837864801287651,
0.048074278980493546,
-0.00557355210185051,
0.0681467279791832,
0.024477660655975342,
-0.04317108541727066,
0.026603655889630318,
-0.023079484701156616,
0.050679102540016174,
-0.014144564047455788,
0.02374984323978424,
-0.04041304066777229,
-0.015667235478758812,
0.009614855982363224,
0.002499479567632079,
-0.05569721385836601,
-0.04811258614063263,
0.019670233130455017,
-0.008623682893812656,
-0.016414206475019455,
-0.013962609693408012,
0.059681057929992676,
0.0018219385528936982,
0.03957030177116394,
0.010179872624576092,
0.013359286822378635,
0.009217428974807262,
0.002172679640352726,
0.04202190041542053,
0.05228796228766441,
-0.03811466693878174,
-0.023251863196492195,
-0.09944289177656174,
-0.031794145703315735,
-0.02330932207405567,
-0.07312653213739395,
-0.02723570726811886,
0.03633343055844307,
0.03930215910077095,
-0.01640462875366211,
-0.07090477645397186,
-0.014613814651966095,
-0.04163883626461029,
0.006574301514774561,
-0.0321197472512722,
0.04497147724032402,
0.038708414882421494,
0.036295123398303986,
-0.001322760945186019,
0.006526418495923281,
-0.03462880477309227,
-0.0013263521250337362,
0.04263480007648468,
-0.01519798394292593,
-0.09699129313230515,
0.0036845775321125984,
0.006483324337750673,
-0.05945121869444847,
0.04815089330077171,
0.011817462742328644,
-0.0773785188794136,
-0.03231127932667732,
-0.05673148110508919,
0.026680266484618187,
0.0002627565700095147,
0.027657074853777885,
0.0036989422515034676,
0.021968604996800423,
-0.004477037116885185,
0.015150101855397224,
0.025243785232305527,
0.009705833159387112,
0.0515984483063221,
-0.0352800078690052,
-0.054892782121896744,
0.03949369117617607,
-0.014824498444795609,
-0.03618020564317703,
0.027906065806746483,
-0.0053245616145431995,
-0.017247365787625313,
-0.059221383184194565,
0.06347337365150452,
0.030989713966846466,
-0.013388016261160374,
-0.0484190359711647,
0.03506932407617569,
-0.006200816016644239,
0.014374401420354843,
0.0545097216963768,
0.07760836184024811,
0.0085183409973979,
-0.05665486678481102,
0.035126782953739166,
-0.012143065221607685,
-0.013186909258365631,
0.07044509798288345,
-0.004714056383818388,
0.0031195611227303743,
-0.05657825618982315,
0.02869134210050106,
0.01730482466518879,
0.02742723748087883,
-0.02643127739429474,
-0.0004764333425555378,
0.0348011814057827,
0.026239745318889618,
0.027197401970624924,
-0.02645043097436428,
0.04899362847208977,
0.0632818415760994,
0.003947932738810778,
-0.014604237861931324,
0.01727609522640705,
-0.00011978168913628906,
0.006373193580657244,
-0.015351208858191967,
0.01771661639213562,
-0.04719323664903641,
-0.043400924652814865,
-0.05178998038172722,
0.03388183191418648,
-0.005439480300992727,
0.07124952971935272,
-0.033671148121356964,
0.041064243763685226,
-0.02788691222667694,
0.009657950140535831,
0.010352250188589096,
0.046273887157440186,
0.03878502547740936,
-0.06458424776792526,
0.03721447288990021,
0.019478702917695045,
0.028174208477139473,
0.0031219550874084234,
0.04749968647956848,
0.014297788962721825,
-0.05297747254371643,
0.09599533677101135,
0.04045134410262108,
-0.030281050130724907,
-0.03290502354502678,
-0.028040137141942978,
-0.01515967771410942,
-0.04749968647956848,
-0.0009037868585437536,
-0.008647624403238297,
0.06807011365890503,
0.011271598748862743,
0.01842528209090233,
0.03830619901418686,
0.05807219818234444,
-0.007110588252544403,
-0.06914269179105759,
0.01357954740524292,
0.029208475723862648,
0.0413706935942173,
-0.0625540241599083,
0.047614604234695435,
-0.06071532517671585,
-0.01353166438639164,
-0.004319023806601763,
-0.013818961568176746,
-0.039340466260910034,
0.0008930132607929409,
-0.04952991381287575,
0.021030103787779808,
-0.03158346191048622,
0.029438313096761703,
0.007594204042106867,
-0.0523262657225132,
0.017074987292289734,
0.10112836211919785,
-0.02599075622856617,
-0.04378398507833481,
-0.010189448483288288,
0.012296290136873722,
-0.008547070436179638,
0.030510887503623962,
-0.0021918327547609806,
-0.003761189989745617,
-0.009351500310003757,
0.011884498409926891,
-0.008949285373091698,
0.041332390159368515,
0.03317316621541977,
-0.013359286822378635,
0.018501894548535347,
-0.030185284093022346,
0.06795519590377808,
-0.02221759594976902,
-0.02769538201391697,
-0.019315900281071663,
-0.01610775664448738,
0.020666195079684258,
0.010553358122706413,
-0.03436065837740898,
-0.0037564015947282314,
0.06282216310501099,
-0.009940458461642265,
-0.027906065806746483,
-0.027025023475289345,
-0.04615896940231323,
0.015351208858191967,
-0.037195317447185516,
-0.05106216296553612,
-0.045737601816654205,
0.005741141736507416,
-0.01276554074138403,
0.00972019787877798,
0.0034260107204318047,
0.04822750389575958,
0.0034427696373313665,
-0.05711454153060913,
-0.037176165729761124,
0.0006655702018178999,
0.04949161037802696,
-0.009227005764842033,
0.05385851487517357,
0.024688344448804855,
0.05826372653245926,
0.02591414377093315,
0.03075987659394741,
-0.04255818575620651,
-0.0011252445401623845,
-0.03595036640763283,
0.07416079938411713,
-0.013857267796993256,
-0.03049173392355442,
-0.03803805634379387,
-0.03271349519491196,
-0.047423072159290314,
0.02859557792544365,
0.026201440021395683,
0.015408668667078018,
-0.04677186906337738,
-0.001556189265102148,
-0.043400924652814865,
0.04351584240794182,
-0.007895865477621555,
0.028997791931033134,
0.05408835411071777,
-0.03148769587278366,
0.0705600157380104,
-0.020206520333886147,
-0.00028924172511324286,
-0.004170587286353111,
-0.024975640699267387,
-0.024247823283076286,
0.03725278005003929,
0.010926843620836735,
0.03231127932667732,
-0.0074601322412490845,
-0.038459423929452896,
-0.04608235880732536,
-0.05692300945520401,
-0.08389057219028473,
0.014048798009753227,
-0.01757296919822693,
0.0036606360226869583,
-0.08488653600215912,
0.011692967265844345,
0.016931340098381042,
-0.0027029812335968018,
0.024343589320778847,
0.045277927070856094,
0.0007727078627794981,
0.004333388525992632,
-0.004927134606987238,
0.03579714149236679,
-0.010179872624576092,
0.012028146535158157,
0.01686430349946022,
0.029993753880262375,
0.012056875973939896,
0.01326352171599865,
0.0511004701256752,
-0.0289594866335392,
-0.026105673983693123,
0.014862804673612118,
0.04152391850948334,
0.013158178888261318,
-0.0012096379650756717,
-0.05071740597486496,
0.009519089944660664,
-0.031889911741018295,
-0.013014530763030052,
0.03342215716838837,
-0.01007452979683876,
0.02122163400053978,
-0.0011515801306813955,
-0.031257856637239456,
-0.012344172224402428,
0.004120310302823782,
-0.07741682976484299,
-0.058416951447725296,
0.012794270180165768,
0.0045656198635697365,
-0.018042219802737236,
-0.03761668875813484,
-0.007426614407449961,
-0.0238456092774868,
-0.02302202582359314,
-0.0011850979644805193,
0.0489170141518116,
-0.04229004308581352,
0.033403005450963974,
-0.10181787610054016,
-0.01438397727906704,
0.010850231163203716,
-0.026316357776522636,
-0.06971728056669235,
0.010400133207440376,
0.0579189732670784,
0.0070100342854857445,
-0.026278052479028702,
0.03581629693508148,
0.047154929488897324,
0.02474580518901348,
0.06504392623901367,
-0.036026980727910995,
0.006928633898496628,
-0.07990673184394836,
-0.05209643021225929,
0.011252446100115776,
0.012143065221607685,
-0.09898322075605392,
0.021815380081534386,
0.03711870685219765,
-0.010036224499344826,
-0.0382104329764843,
0.02562684752047062,
0.04991297796368599,
-0.07891076803207397,
0.05106216296553612,
0.03524170443415642,
-0.048878710716962814,
-0.025952449068427086,
0.004728421568870544,
0.0601024255156517,
0.0220260638743639,
-0.01834866963326931,
0.07297331094741821,
-0.08672523498535156,
-0.022753881290555,
0.039340466260910034,
0.030510887503623962,
0.01232501957565546,
-0.016366323456168175,
-0.017927300184965134,
0.029457466676831245,
-0.021700462326407433,
0.0026503100525587797,
0.06362659484148026,
0.015217137522995472,
-0.006756255868822336,
0.03715701401233673,
0.0698321983218193,
0.02499479427933693,
-0.016174793243408203,
-0.0071632592007517815,
-0.016567431390285492,
-0.04179206117987633,
-0.005482574459165335,
-0.05757421627640724,
-0.038172125816345215,
-0.06718907505273819,
-0.012468667700886726,
0.04830411821603775,
-0.03702294081449509,
-0.02769538201391697,
0.006018861662596464,
0.022907106205821037,
-0.033671148121356964,
0.10250739008188248,
0.03497355803847313,
-0.011558894999325275,
0.019651079550385475,
0.022428279742598534,
0.0005557391559705138,
0.05439480394124985,
-0.04512470215559006,
-0.033058248460292816,
-0.01326352171599865,
0.007632510270923376,
-0.002078111283481121,
0.026297206059098244,
0.029457466676831245,
-0.00027996444259770215,
-0.0027795934583991766,
0.008144855499267578,
-0.041868675500154495,
-0.08205188065767288,
-0.007072282023727894,
-0.02608652040362358,
-0.013924303464591503,
0.015619352459907532,
0.019210558384656906,
0.0193446297198534,
0.03541408106684685,
-0.010515051893889904,
-0.0075319563038647175,
0.013751924969255924,
-0.0018889744533225894,
-0.0013682495336979628,
-0.03495440632104874,
-0.06377982348203659,
0.02978307008743286,
0.009255735203623772,
-0.036831408739089966,
-0.0017991942586377263,
-0.015312902629375458,
-0.005204854533076286,
-0.000443813216406852,
0.0511004701256752,
-0.02681433968245983,
0.045814212411642075,
0.028480658307671547,
0.020474663004279137,
0.019143523648381233,
0.033403005450963974,
-0.04956822097301483,
0.03608443960547447,
0.013253944925963879,
-0.025243785232305527,
0.017189906910061836,
-0.016260981559753418,
0.0698321983218193,
0.0029160594567656517,
0.025607693940401077,
0.045814212411642075,
0.01737186126410961,
-0.026029061526060104,
0.04156222566962242,
0.06726568192243576,
0.010313943959772587,
-0.0009013927192427218,
0.07523337751626968,
-0.014489319175481796,
0.015456550754606724,
0.0113769406452775,
-0.03587375581264496,
-0.04409043490886688,
-0.013751924969255924,
0.022351667284965515,
-0.0203214380890131,
-0.00840821024030447,
-0.011300328187644482,
0.026737727224826813,
0.03671649098396301,
-0.045929133892059326,
0.015600199811160564,
0.020666195079684258,
-0.000051025053835473955,
-0.006430652923882008,
0.05542907118797302,
-0.050755713135004044,
0.005305408500134945,
-0.023692384362220764,
0.017209060490131378,
-0.005899154581129551,
-0.0004764333425555378,
-0.015590623021125793,
-0.020742805674672127,
0.043669067323207855,
-0.019900070503354073,
-0.048074278980493546,
-0.035126782953739166,
-0.07818295061588287,
0.023175250738859177,
0.033939290791749954,
-0.005233584437519312,
0.0130815664306283,
0.0401448979973793,
0.01591622643172741,
-0.008283715695142746,
0.00133712578099221,
0.0023845608811825514,
-0.02491818182170391,
0.020283132791519165,
-0.00888224970549345,
-0.06649956107139587,
-0.01645251177251339,
-0.015763001516461372,
-0.003567264648154378,
-0.029917141422629356,
0.02472665160894394,
-0.014862804673612118,
-0.020704500377178192,
0.020934337750077248,
0.01937335915863514,
0.012909188866615295,
0.03210059553384781,
0.010984302498400211,
0.027044177055358887,
-0.02815505675971508,
-0.022983718663454056,
-0.012612315826117992,
-0.02499479427933693,
-0.06879793107509613,
-0.04152391850948334,
0.05163675546646118,
-0.05144522339105606,
0.036486655473709106,
-0.06454594433307648,
-0.0036319063510745764,
-0.017707040533423424,
-0.01366573665291071,
-0.02420951798558235,
0.04110255092382431,
0.009341924451291561,
0.049874670803546906,
-0.029802221804857254,
-0.014498895965516567,
0.0355289988219738,
0.006076320540159941,
-0.015217137522995472,
0.001179112703539431,
0.0420985110104084,
-0.025933297351002693,
-0.0032847565598785877,
-0.08787441998720169,
-0.02589499019086361,
0.01698879897594452,
-0.00757983885705471,
-0.096378393471241,
0.004266352858394384,
0.006473747547715902,
-0.08327767252922058,
0.05397343263030052,
0.011290752328932285,
-0.020034141838550568,
0.003665424417704344,
-0.0019967106636613607,
-0.01779322884976864,
0.032330431044101715,
-0.05611858144402504,
0.02825082093477249,
0.012890036217868328,
0.044281966984272,
-0.02401798591017723,
-0.006401923485100269,
-0.023903068155050278,
-0.08680184930562973,
0.0044459132477641106,
0.03388183191418648,
0.020014988258481026,
-0.0372336246073246,
-0.06286047399044037,
-0.01997668296098709,
-0.0691043809056282,
-0.03200482949614525,
0.022753881290555,
0.0021140233147889376,
-0.0005632208194583654,
-0.04784444347023964,
0.01357954740524292,
-0.033403005450963974,
0.042596492916345596,
0.02662280760705471,
0.03483948856592178,
0.03183245286345482,
0.035299163311719894,
-0.04397551715373993,
-0.01361785363405943,
-0.06795519590377808,
-0.02706332877278328,
0.07952366769313812,
-0.017285672947764397,
0.03914893418550491,
-0.003864137688651681,
0.011214139871299267,
0.042596492916345596,
-0.01326352171599865,
-0.0023534370120614767,
0.014412707649171352,
0.011549319140613079,
-0.030070366337895393,
-0.0406428761780262,
0.019507432356476784,
-0.0030357663054019213,
-0.021796226501464844,
-0.01024690829217434,
-0.03482033312320709,
0.02499479427933693,
-0.01725694164633751,
0.04309447482228279,
-0.012487820349633694,
0.010448015294969082,
0.003461922751739621,
0.00450816098600626,
0.004467460326850414,
0.06286047399044037,
-0.0006416288088075817,
0.020263979211449623,
-0.0282316692173481,
-0.005089936312288046,
-0.015169254504144192,
0.031698379665613174,
0.039608608931303024,
0.004783486481755972,
0.046886786818504333,
0.014278635382652283,
0.0484190359711647,
-0.026603655889630318,
-0.02509056031703949,
0.06240079924464226,
0.053552065044641495,
0.0025784859899431467,
0.023673230782151222,
0.03414997458457947,
-0.0011264416389167309,
0.006406711880117655,
0.013244368135929108,
0.0014616209082305431,
-0.03518424183130264,
-0.04635050147771835,
-0.016442935913801193,
-0.004740391857922077,
-0.027369778603315353,
-0.008484822697937489,
-0.023864760994911194,
-0.031334470957517624,
0.001879397896118462,
-0.004520131275057793,
0.03135362267494202,
-0.04700170457363129,
0.03633343055844307,
-0.03248365595936775,
-0.00022639561211690307,
-0.03930215910077095,
0.024611731991171837,
-0.045737601816654205,
-0.015140525065362453,
0.028806261718273163,
-0.03660157322883606,
0.026948411017656326,
0.009519089944660664,
0.044741641730070114,
0.053743597120046616,
-0.016825998201966286,
-0.05745929852128029,
-0.02625889889895916,
-0.052479490637779236,
-0.05117708072066307,
0.006631760857999325,
-0.01744847372174263,
0.004845734219998121,
0.028997791931033134,
0.030261896550655365,
0.029840528964996338,
0.03623766452074051,
0.08634217083454132,
-0.0469634011387825,
-0.019727692008018494,
-0.01929674670100212,
0.08580588549375534,
-0.0379614420235157,
0.002199015114456415,
-0.05313069745898247,
0.024860722944140434,
0.019488278776407242,
-0.06374151259660721,
0.004242411348968744,
-0.019258441403508186,
0.056616563349962234,
0.011396094225347042,
0.022964566946029663,
0.044396884739398956,
-0.08350751549005508,
0.042941249907016754,
-0.01407752837985754,
0.05558229610323906,
0.015054335817694664,
-0.018923262134194374,
0.013780655339360237,
0.036467500030994415,
-0.0598725900053978,
0.041332390159368515,
0.018971145153045654,
-0.04022150859236717,
0.06948744505643845,
-0.004951076116412878,
0.034590497612953186,
-0.013637006282806396,
0.037444308400154114,
-0.0261631328612566,
-0.012056875973939896,
-0.05125369504094124,
0.06477577984333038,
0.04937668889760971,
0.0013646583538502455,
0.08726152032613754,
-0.0017142023425549269,
0.06703584641218185,
-0.017362285405397415,
0.014355247840285301,
0.026201440021395683,
0.019086062908172607,
-0.004019756801426411,
-0.024496814236044884,
-0.015226714313030243,
0.06500562280416489,
-0.025665152817964554,
-0.024764956906437874,
0.024707498028874397,
-0.020436357706785202,
0.04317108541727066,
-0.01997668296098709,
0.0003579235344659537,
0.015418244525790215,
-0.08480992168188095,
0.0462355799973011,
0.009959612041711807,
0.014632968232035637,
0.008987591601908207
]
|
41,679 | pyglove.core.object_utils.json_conversion | registered_types | Returns an iterator of registered (serialization key, class) tuples. | def registered_types() -> Iterable[Tuple[str, Type[JSONConvertible]]]:
"""Returns an iterator of registered (serialization key, class) tuples."""
return JSONConvertible.registered_types()
| () -> Iterable[Tuple[str, Type[pyglove.core.object_utils.json_conversion.JSONConvertible]]] | [
0.03169330209493637,
-0.014141632243990898,
-0.07301495224237442,
-0.0451875776052475,
0.004595346748828888,
0.05186177045106888,
-0.020113758742809296,
0.04008163511753082,
0.06149011477828026,
0.006332278251647949,
0.013740451075136662,
0.041066352277994156,
0.008958190679550171,
-0.0023820125497877598,
-0.0026897366624325514,
-0.038294557482004166,
-0.04095694050192833,
0.08074680715799332,
-0.03630688786506653,
-0.04361932352185249,
-0.049017030745744705,
0.053466495126485825,
0.042889904230833054,
-0.002635030075907707,
0.005935656372457743,
0.030653880909085274,
0.024563223123550415,
-0.03410039097070694,
-0.00718478811904788,
-0.004978292156010866,
-0.08563391864299774,
-0.038075730204582214,
0.017123136669397354,
-0.03058093786239624,
-0.0018269694410264492,
0.010904830880463123,
-0.010439825244247913,
0.06331366300582886,
-0.0005068900063633919,
0.02354203350841999,
0.01388633530586958,
0.02724384143948555,
-0.0862903967499733,
-0.0626571848988533,
-0.010977772995829582,
0.0014804948586970568,
-0.0073580252937972546,
0.02002258226275444,
0.036999836564064026,
-0.057186536490917206,
0.010157175362110138,
-0.04580758139491081,
-0.016375482082366943,
0.014105161651968956,
0.004458580631762743,
0.0013311917427927256,
-0.01251867227256298,
0.035486288368701935,
-0.009190693497657776,
0.06922196596860886,
0.04434874281287193,
-0.011178363114595413,
-0.010904830880463123,
0.014059572480618954,
0.017734026536345482,
-0.01911080628633499,
-0.031073296442627907,
-0.04099341109395027,
-0.015144584700465202,
0.032149191945791245,
0.006988756358623505,
-0.019147278741002083,
0.008187741041183472,
0.008835101500153542,
-0.0074765561148524284,
-0.017341963946819305,
-0.00639154389500618,
0.0364527702331543,
0.0010354346595704556,
-0.03395450487732887,
0.05332060903310776,
-0.00040061119943857193,
-0.06863842904567719,
-0.005060351919382811,
-0.024782048538327217,
0.03683571517467499,
-0.041029881685972214,
-0.018436092883348465,
-0.10430707782506943,
0.04879820719361305,
-0.06116187572479248,
-0.019366104155778885,
-0.0038089407607913017,
0.051241762936115265,
-0.029432101175189018,
-0.02614971064031124,
-0.04795937240123749,
-0.020314350724220276,
-0.023304972797632217,
-0.0006399521953426301,
0.0000032321715934813255,
-0.01453369576483965,
-0.003373567946255207,
-0.004087032284587622,
0.0022817172575742006,
-0.04832408204674721,
-0.034373924136161804,
-0.009044809266924858,
-0.003770190291106701,
0.00878951232880354,
-0.04132165014743805,
-0.021062005311250687,
0.0592653825879097,
-0.009040250442922115,
0.04095694050192833,
-0.026824424043297768,
0.012600732035934925,
-0.01747872866690159,
0.032915081828832626,
-0.004964615684002638,
-0.007759206462651491,
0.06860195845365524,
0.07297848165035248,
0.05510769039392471,
0.0010434127179905772,
0.0007516446057707071,
0.058827731758356094,
0.025693822652101517,
-0.0033051848877221346,
0.02257555164396763,
0.034756869077682495,
0.03138330206274986,
-0.0035559230018407106,
0.03163859620690346,
-0.008196858689188957,
-0.007558615878224373,
-0.0032641550060361624,
-0.044385213404893875,
-0.01206278521567583,
0.010521885007619858,
0.01001129113137722,
0.026970308274030685,
0.013193386606872082,
0.010913948528468609,
-0.036963365972042084,
-0.012956324964761734,
0.004244313109666109,
0.04981939494609833,
0.0014303472125902772,
-0.05871831998229027,
0.006400661543011665,
0.00992011371999979,
-0.009655699133872986,
0.043801676481962204,
-0.07826677709817886,
-0.011998960748314857,
0.01250043697655201,
0.035705115646123886,
-0.03683571517467499,
-0.04945468530058861,
-0.03185742348432541,
0.022757908329367638,
-0.029505044221878052,
-0.01501693669706583,
0.03203978016972542,
0.05200765281915665,
-0.05204412341117859,
-0.029559750109910965,
0.0263320654630661,
-0.01812608912587166,
-0.007134640589356422,
-0.02334144338965416,
0.023596741259098053,
-0.02261202409863472,
0.021609071642160416,
0.0020902445539832115,
0.0011117957765236497,
0.026970308274030685,
0.06637722998857498,
0.026459714397788048,
0.029523279517889023,
-0.0415404736995697,
-0.07695382088422775,
-0.03968045487999916,
0.030343877151608467,
0.004777701571583748,
0.028119144961237907,
-0.013284564018249512,
0.03785690292716026,
-0.060140687972307205,
0.05598299205303192,
0.04201459884643555,
0.012828676030039787,
0.017569907009601593,
0.00078697589924559,
0.043072257190942764,
-0.02742619626224041,
0.025657352060079575,
-0.061453644186258316,
0.04664641618728638,
-0.036963365972042084,
0.014223692007362843,
-0.019366104155778885,
-0.019566694274544716,
-0.008465832099318504,
-0.04515110328793526,
0.02671501226723194,
-0.034173332154750824,
0.04671935737133026,
-0.06149011477828026,
0.012701028026640415,
-0.038112200796604156,
-0.011087185703217983,
0.000005560581939789699,
-0.0030453288927674294,
-0.048652321100234985,
0.03515804931521416,
-0.06940432637929916,
-0.01195337250828743,
-0.08410213887691498,
0.04482286423444748,
0.03535864129662514,
-0.043473437428474426,
-0.019785519689321518,
0.023997921496629715,
-0.04358285292983055,
-0.026204418390989304,
-0.0005188570357859135,
-0.08468567579984665,
-0.059557151049375534,
0.026587363332509995,
0.020259642973542213,
-0.002057192614302039,
0.011260422877967358,
-0.012400141917169094,
0.007649793289601803,
0.014223692007362843,
0.0059858039021492004,
0.027754435315728188,
0.034556277096271515,
0.020423762500286102,
0.0008490905747748911,
-0.06754430383443832,
-0.016621660441160202,
-0.0231590885668993,
-0.0030726823024451733,
0.00038237569970078766,
0.022302020341157913,
0.017077548429369926,
0.0031661391258239746,
0.015664296224713326,
-0.030471526086330414,
0.02244790457189083,
-0.05131470412015915,
0.016111066564917564,
-0.10357765853404999,
-0.04453109949827194,
-0.04664641618728638,
0.0497099794447422,
-0.025657352060079575,
-0.00410070875659585,
0.03898750618100166,
0.006920373532921076,
0.10963184386491776,
-0.02427145466208458,
0.007718176580965519,
0.03333449736237526,
0.03579629212617874,
-0.036233942955732346,
-0.006118011195212603,
0.08344566076993942,
-0.0019135880284011364,
-0.02831973508000374,
0.01907433569431305,
-0.012290729209780693,
-0.003875044407323003,
0.028410913422703743,
0.011588661931455135,
-0.013658391311764717,
-0.032167427241802216,
-0.028265029191970825,
-0.01415986754000187,
0.04854290932416916,
-0.04544287174940109,
-0.0051515293307602406,
-0.030161522328853607,
-0.0059858039021492004,
0.06189129501581192,
-0.04799584299325943,
-0.029359159991145134,
0.0544876828789711,
-0.004722995217889547,
0.0014189500361680984,
-0.03207625076174736,
0.02594912052154541,
0.02148142270743847,
-0.06524662673473358,
-0.03840396925806999,
0.07505732774734497,
-0.018253738060593605,
0.01231808215379715,
-0.01806226558983326,
0.025110287591814995,
0.015454588457942009,
-0.0031045943032950163,
0.007467438466846943,
-0.0029199598357081413,
0.003827176056802273,
-0.07957973331212997,
0.049235858023166656,
-0.03565040975809097,
0.00866642314940691,
0.03785690292716026,
-0.030270934104919434,
-0.0322403684258461,
-0.025146758183836937,
-0.036434534937143326,
0.07622440159320831,
0.01462487317621708,
0.050293516367673874,
-0.024399103596806526,
0.06615840643644333,
0.034574512392282486,
-0.012974560260772705,
-0.009391283616423607,
0.010430707596242428,
-0.0030498879496008158,
-0.00916334055364132,
0.012746616266667843,
-0.03946162760257721,
-0.02762678638100624,
-0.03554099425673485,
-0.002787752542644739,
0.06469956040382385,
0.04912644624710083,
0.05824419483542442,
0.03949809819459915,
-0.03415509685873985,
0.023049674928188324,
-0.026569128036499023,
-0.02505558170378208,
-0.016275186091661453,
0.02222907729446888,
0.004552037455141544,
-0.12239669263362885,
0.02501910924911499,
-0.0027056927792727947,
0.0172507856041193,
0.03461098298430443,
0.0350668728351593,
-0.00806920975446701,
-0.009783347137272358,
0.01510811410844326,
0.04985586553812027,
0.014305751770734787,
-0.039206329733133316,
-0.026824424043297768,
0.009336577728390694,
-0.01907433569431305,
0.04354638233780861,
0.05339355394244194,
0.03597864881157875,
-0.01864580251276493,
-0.02593088522553444,
0.02056964673101902,
-0.026605598628520966,
0.02523793652653694,
-0.0333709716796875,
0.06211012229323387,
-0.012810440734028816,
-0.016959017142653465,
0.06097952276468277,
-0.09394931048154831,
-0.03171154111623764,
-0.011716310866177082,
-0.02449028007686138,
0.07965267449617386,
0.061636000871658325,
-0.05430532619357109,
-0.005215353798121214,
-0.014816345646977425,
-0.03227683901786804,
0.004294461105018854,
-0.003717763116583228,
0.007266847882419825,
-0.023286737501621246,
0.005274618975818157,
-0.007864060811698437,
-0.051971182227134705,
0.036635126918554306,
-0.025073816999793053,
-0.013576331548392773,
-0.061088934540748596,
-0.015828415751457214,
0.004754907451570034,
-0.038476910442113876,
0.01261896826326847,
0.019220219925045967,
-0.016083713620901108,
0.01176189910620451,
0.003722321940585971,
-0.03185742348432541,
-0.02649618498980999,
0.01982199214398861,
-0.010768064297735691,
0.005055793095380068,
0.03182095289230347,
-0.045880526304244995,
0.005561828147619963,
-0.0467558279633522,
0.05488886311650276,
-0.022648494690656662,
0.0002635600103531033,
-0.0470111258327961,
0.009628345258533955,
0.006646840833127499,
-0.009186134673655033,
0.03295155242085457,
-0.012327199801802635,
0.03800278902053833,
0.0415404736995697,
-0.04372873529791832,
-0.0010935603640973568,
0.05186177045106888,
0.008055533282458782,
0.02556617558002472,
0.018189914524555206,
0.04062870144844055,
-0.004759466275572777,
-0.01565517857670784,
0.01416898611932993,
-0.0013881776249036193,
-0.013120444491505623,
-0.05164294317364693,
-0.007467438466846943,
-0.0492723286151886,
-0.010330412536859512,
-0.08111151307821274,
0.01674930937588215,
0.011151010170578957,
-0.034191567450761795,
0.02981504797935486,
0.023578505963087082,
-0.03078152798116207,
0.05653005838394165,
0.016211362555623055,
-0.038805149495601654,
0.08701981604099274,
0.04471345245838165,
0.002336423844099045,
-0.03978986665606499,
-0.04941821098327637,
0.05930185690522194,
-0.06863842904567719,
0.055508870631456375,
0.041795771569013596,
0.008976425975561142,
-0.0032117278315126896,
-0.028994450345635414,
-0.02188260294497013,
0.053284138441085815,
0.005849037319421768,
-0.023669682443141937,
0.013156915083527565,
0.004773142747581005,
-0.016858723014593124,
-0.016630778089165688,
-0.019967876374721527,
0.04369226470589638,
0.021791426464915276,
0.04784996062517166,
0.061234816908836365,
0.02058788202702999,
-0.07049845159053802,
-0.04941821098327637,
0.0537947341799736,
0.05499827489256859,
0.00878951232880354,
-0.017724908888339996,
-0.03315214440226555,
0.025985591113567352,
-0.03358979523181915,
0.023651447147130966,
-0.031784482300281525,
-0.010941301472485065,
-0.0333709716796875,
0.010412472300231457,
-0.030617408454418182,
-0.030872706323862076,
0.0057988897897303104,
0.013001913204789162,
0.022101430222392082,
-0.0011186341289430857,
0.02430792525410652,
0.06473603844642639,
-0.01233631744980812,
0.02259378880262375,
0.023414386436343193,
-0.0026167945470660925,
0.017141371965408325,
0.07024315744638443,
0.00663316436111927,
-0.0007402474293485284,
0.020989064127206802,
0.0006467904895544052,
-0.027480902150273323,
0.041066352277994156,
-0.056967709213495255,
-0.03003387339413166,
-0.008766718208789825,
0.013193386606872082,
-0.00465233251452446,
0.011005125939846039,
-0.005447856616228819,
0.01307485532015562,
-0.07173846662044525,
0.035322170704603195,
-0.028027968481183052,
-0.028392678126692772,
0.027480902150273323,
-0.07093610614538193,
-0.01325721014291048,
0.060687754303216934,
0.016576072201132774,
-0.002231569727882743,
0.03333449736237526,
-0.03774749115109444,
-0.03495745733380318,
-0.011834841221570969,
-0.004305858165025711,
0.08563391864299774,
-0.003485260531306267,
-0.04671935737133026,
-0.04489580914378166,
-0.0368904210627079,
-0.04194165766239166,
0.06455367803573608,
0.025474997237324715,
0.059775978326797485,
0.03240448981523514,
0.06130776181817055,
0.036963365972042084,
-0.01565517857670784,
0.026240888983011246,
0.03552275896072388,
-0.005124176386743784,
-0.020314350724220276,
-0.02241143211722374,
-0.02109847590327263,
0.0019477796740829945,
-0.012035432271659374,
-0.042889904230833054,
-0.06327719241380692,
0.017451375722885132,
-0.02077023684978485,
-0.024909697473049164,
0.0031593008898198605,
-0.045296989381313324,
-0.04423933103680611,
0.03674453869462013,
0.023286737501621246,
0.06480897963047028,
-0.07093610614538193,
0.01949375309050083,
-0.01587400585412979,
-0.023633211851119995,
0.046427588909864426,
0.05580063909292221,
-0.04763113334774971,
0.04646405950188637,
0.04212401062250137,
-0.006377866957336664,
0.06455367803573608,
-0.041795771569013596,
0.05474298074841499,
0.03165683150291443,
-0.017223432660102844,
-0.03127388656139374,
-0.01869139075279236,
-0.058463022112846375,
0.015226644463837147,
0.05025704577565193,
0.022283785045146942,
-0.05580063909292221,
0.04274401813745499,
-0.03132859244942665,
-0.03311567381024361,
0.017916381359100342,
0.005921979434788227,
0.02449028007686138,
-0.018673155456781387,
0.06652311235666275,
0.003617467824369669,
-0.029505044221878052,
-0.016083713620901108,
-0.05281001701951027,
0.021572599187493324,
0.027298547327518463,
-0.06951373815536499,
-0.028866801410913467,
0.035267461091279984,
0.04212401062250137,
0.011324247345328331,
-0.042889904230833054,
0.035340406000614166,
-0.02968739904463291,
0.003982177935540676,
-0.004289901815354824,
0.02669677697122097,
0.035139814019203186,
-0.01620224490761757,
-0.018518153578042984,
0.04259813576936722,
-0.023779096081852913,
0.025876179337501526,
-0.015007819049060345,
-0.01591959409415722,
-0.0014349061530083418,
0.026769718155264854,
0.04536993056535721,
-0.008652745746076107,
-0.01167072169482708,
0.028465619310736656,
0.043473437428474426,
-0.02263025939464569,
-0.049965277314186096,
-0.05667594447731972,
-0.0008371235453523695,
0.06951373815536499,
-0.04653700441122055,
0.006200070958584547,
-0.013640156015753746,
0.07363495975732803,
-0.06550192832946777,
-0.06648664176464081,
-0.023852037265896797,
-0.03709101304411888,
-0.030653880909085274,
-0.005019322037696838,
0.016311656683683395,
-0.013202504254877567,
0.020879650488495827,
-0.010950419120490551,
0.03481157496571541,
0.011679839342832565,
0.026970308274030685,
0.008137593045830727,
0.002502822782844305,
0.04482286423444748,
-0.0013323314487934113,
0.04748525097966194,
0.06754430383443832,
0.00011674995766952634,
0.026605598628520966,
-0.03227683901786804,
-0.004239754285663366,
-0.0585724338889122,
-0.005789772141724825,
0.015363411046564579,
-0.005849037319421768,
0.01581929810345173,
0.041394591331481934,
-0.02055141143500805,
0.014953112229704857,
-0.019803756847977638,
-0.0020492146722972393,
-0.038075730204582214,
-0.000637102872133255,
-0.021444952115416527,
-0.0037451162934303284,
-0.008707452565431595,
0.00835186056792736,
0.06364190578460693,
-0.06484545022249222,
-0.08461273461580276,
0.08089268952608109,
-0.04712053760886192,
0.09548109024763107,
0.04558875784277916,
-0.026769718155264854,
-0.043291084468364716,
-0.0644807368516922,
-0.0660489946603775,
0.07454673200845718,
-0.027863848954439163,
-0.02091612108051777,
-0.004602184984833002,
-0.03203978016972542,
0.010056879371404648,
-0.06338660418987274,
0.05368531867861748,
0.010175410658121109,
0.03577805683016777,
-0.03366273641586304,
-0.009974819608032703,
0.010676886886358261,
-0.00391379464417696,
0.00411666464060545,
-0.00635507283732295,
-0.02392498031258583,
0.054232385009527206,
-0.027863848954439163,
0.014287516474723816,
-0.005502562969923019,
0.03298802301287651,
0.009008338674902916,
0.011442777700722218,
0.03891456127166748,
0.07031609863042831,
0.027353255078196526,
-0.021189654245972633,
0.026587363332509995,
-0.013658391311764717,
-0.05470651015639305,
-0.047558192163705826,
-0.03942515701055527,
0.05306531488895416,
0.03163859620690346,
0.02295849844813347,
0.023614976555109024,
0.02257555164396763,
0.0030270933639258146,
0.00737170223146677,
0.06754430383443832,
0.06262071430683136,
0.07275965809822083,
0.023232029750943184,
0.04445815458893776,
-0.03822161257266998,
0.04088399559259415,
0.04248872026801109,
-0.035340406000614166,
-0.11539426445960999,
0.02077023684978485,
0.019183749333024025,
-0.0016936223255470395,
0.0014041337417438626,
0.03169330209493637,
-0.025912649929523468,
-0.0004963476094417274,
-0.014843699522316456,
0.03448333591222763,
0.03145624324679375,
0.03395450487732887,
-0.005994921550154686,
-0.0392792746424675,
0.06415250152349472,
0.00006442973244702443,
-0.02500087395310402,
0.022502610459923744,
0.017633730545639992,
0.014934876933693886,
-0.03428274393081665,
-0.03946162760257721,
0.010166293010115623,
0.025073816999793053,
0.008461273275315762,
-0.007599645759910345,
-0.051825299859046936,
-0.01416898611932993,
-0.05343002453446388,
-0.019803756847977638,
-0.027298547327518463,
-0.05510769039392471,
0.034756869077682495,
-0.010184528306126595,
0.027572080492973328,
-0.03131035715341568
]
|
41,680 | pyglove.core.object_utils.common_traits | repr_format | Context manager for setting the default format kwargs for __repr__. | def repr_format(**kwargs) -> ContextManager[Dict[str, Any]]:
"""Context manager for setting the default format kwargs for __repr__."""
return thread_local.thread_local_arg_scope(_TLS_REPR_FORMAT_KWARGS, **kwargs)
| (**kwargs) -> ContextManager[Dict[str, Any]] | [
0.023380255326628685,
-0.007525029592216015,
0.03321632742881775,
0.000782859860919416,
0.019950686022639275,
-0.0036624132189899683,
-0.00040367062320001423,
-0.034104183316230774,
0.06904400140047073,
-0.0480835922062397,
-0.006959238089621067,
0.007281304337084293,
-0.040945909917354584,
0.00413898378610611,
-0.014771516434848309,
0.032624419778585434,
-0.060478780418634415,
-0.061871498823165894,
-0.00665022898465395,
-0.05696216970682144,
0.03666330501437187,
0.027210230007767677,
0.013735681772232056,
-0.012151464819908142,
0.006785148289054632,
-0.002606994239613414,
-0.005975631065666676,
-0.028811855241656303,
0.003975775092840195,
0.0433831661939621,
0.032955192029476166,
-0.012325555086135864,
-0.04362689331173897,
0.04247790202498436,
-0.015911804512143135,
-0.03453940898180008,
-0.07416223734617233,
0.05786743760108948,
-0.038090839982032776,
-0.09191939234733582,
-0.017879018560051918,
0.002778907772153616,
-0.021221540868282318,
-0.03003048337996006,
-0.04000582545995712,
0.00012859520211350173,
0.05020748823881149,
0.0026418121997267008,
0.0024851313792169094,
-0.05724071338772774,
0.02846367470920086,
-0.00033240264747291803,
0.007329178974032402,
0.025643421337008476,
-0.04543742537498474,
-0.03756856918334961,
-0.01509358175098896,
0.06810391694307327,
0.004691719077527523,
-0.03607139736413956,
-0.02512115240097046,
0.055882811546325684,
0.018070517107844353,
0.05219211056828499,
-0.05828525125980377,
-0.08105619251728058,
-0.027819544076919556,
0.03003048337996006,
0.002541710389778018,
0.006450025364756584,
-0.0170694999396801,
-0.03913537785410881,
-0.08008129149675369,
-0.00875671487301588,
-0.0026570449117571115,
-0.012107943184673786,
-0.031545065343379974,
0.01655593514442444,
-0.038160476833581924,
0.046864964067935944,
-0.008956918492913246,
-0.003253302304074168,
-0.041189637035131454,
0.005662269424647093,
0.03976210206747055,
-0.1031307727098465,
-0.01298709586262703,
0.048501405864953995,
0.060792144387960434,
-0.01424054242670536,
-0.019637323915958405,
0.0413985438644886,
-0.007281304337084293,
-0.0046481965109705925,
-0.04066736623644829,
-0.048501405864953995,
-0.017139136791229248,
0.031214293092489243,
0.015241558663547039,
-0.037847112864255905,
0.02193531021475792,
-0.05623099207878113,
-0.03882201761007309,
-0.04714350774884224,
-0.010915427468717098,
0.004021473228931427,
0.010436681099236012,
-0.015493988990783691,
-0.0004969718866050243,
0.0028376630507409573,
-0.028254767879843712,
-0.02505151554942131,
0.023745842278003693,
0.0033403472043573856,
0.009661981835961342,
0.03265924006700516,
-0.06667637825012207,
-0.023136528208851814,
0.04362689331173897,
-0.015685487538576126,
-0.04634269326925278,
0.02433774806559086,
0.00769911939278245,
-0.02661832422018051,
-0.05602208524942398,
0.009827367030084133,
-0.023275800049304962,
0.015023945830762386,
0.038543473929166794,
-0.03455681726336479,
0.0499289445579052,
0.033581916242837906,
-0.018383879214525223,
0.005466418340802193,
0.07109826058149338,
-0.02933412417769432,
-0.006032210309058428,
0.0580415241420269,
0.030779069289565086,
0.11691868305206299,
0.029664894565939903,
0.0036145385820418596,
-0.05079939216375351,
0.0153982387855649,
-0.026496460661292076,
-0.02949080429971218,
0.003564487909898162,
0.0416770875453949,
-0.033024828881025314,
0.02778472565114498,
0.09366028755903244,
0.027836952358484268,
0.03767302259802818,
0.03568840026855469,
0.03234587609767914,
0.022457579150795937,
-0.007303065154701471,
-0.021204132586717606,
0.016921523958444595,
0.01423183735460043,
0.004822286311537027,
-0.0448107048869133,
0.04909331351518631,
-0.028498493134975433,
0.0762513130903244,
0.06542292982339859,
0.02428552135825157,
-0.10006679594516754,
0.021604539826512337,
0.03516612946987152,
0.02123895101249218,
-0.01307414099574089,
0.04021473601460457,
-0.01751342974603176,
0.011037291027605534,
0.0634383112192154,
-0.008304081857204437,
0.009809957817196846,
-0.0596083328127861,
-0.0018736410420387983,
0.03850865364074707,
-0.05563908815383911,
-0.02240535244345665,
0.0020368502009660006,
0.018383879214525223,
-0.03321632742881775,
0.0019770069047808647,
-0.024564065039157867,
-0.009583640843629837,
-0.018853921443223953,
-0.003299000905826688,
0.010628179647028446,
-0.011994784697890282,
-0.020890770480036736,
-0.05260992422699928,
-0.02653127908706665,
-0.03906574100255966,
-0.07165534794330597,
0.05793707072734833,
0.010010161437094212,
-0.046864964067935944,
0.01881910301744938,
-0.05727552995085716,
-0.00038272544043138623,
0.013866249471902847,
-0.004669957794249058,
0.004017121158540249,
0.01601625792682171,
-0.029421169310808182,
0.01556362397968769,
-0.008373717777431011,
-0.008826350793242455,
0.02630496211349964,
0.05180911347270012,
-0.013700864277780056,
0.027401728555560112,
0.0032685352489352226,
0.052018020302057266,
-0.026252735406160355,
0.026165690273046494,
0.03850865364074707,
-0.07057598978281021,
-0.004761354997754097,
-0.07527641206979752,
-0.012856529094278812,
-0.03065720573067665,
0.06020023673772812,
0.0399710088968277,
-0.010819678194820881,
-0.01946323551237583,
0.03930946812033653,
-0.02747136354446411,
-0.0466560535132885,
0.06514438986778259,
0.0051269433461129665,
-0.0701233521103859,
0.011115631088614464,
0.022196443751454353,
-0.010027569718658924,
0.01937619037926197,
0.012830414809286594,
0.07471932470798492,
0.04930222034454346,
-0.008251854218542576,
0.061105504631996155,
-0.04303498938679695,
0.03110983967781067,
0.04954594373703003,
0.018958374857902527,
0.02668795920908451,
-0.0307268425822258,
0.04091109335422516,
-0.06476139277219772,
-0.004761354997754097,
-0.008347603492438793,
-0.03631512448191643,
-0.023989569395780563,
0.032711464911699295,
0.02512115240097046,
0.008386773988604546,
-0.014310178346931934,
0.019794005900621414,
-0.04293053597211838,
0.018262015655636787,
0.05779780074954033,
0.007329178974032402,
-0.05584799498319626,
-0.06792982667684555,
-0.013961998745799065,
-0.00801683310419321,
-0.06556220352649689,
0.009400847367942333,
0.0009346443694084883,
0.046551600098609924,
-0.038543473929166794,
-0.026096055284142494,
0.008156104944646358,
-0.00305309914983809,
-0.010506317019462585,
-0.006554479245096445,
0.04595969617366791,
-0.0198462326079607,
0.013613819144666195,
0.0037581627257168293,
0.022614259272813797,
0.01762658730149269,
-0.01143769733607769,
0.03518354147672653,
0.004421880003064871,
-0.014362405054271221,
0.01567678339779377,
0.05066011846065521,
0.03767302259802818,
0.030517933890223503,
0.02428552135825157,
-0.011803285218775272,
0.03586249053478241,
-0.033808231353759766,
0.017600474879145622,
0.02465111017227173,
-0.05034675821661949,
-0.013674750924110413,
0.06577111035585403,
0.04279126226902008,
0.03429568186402321,
0.005692735314369202,
0.027279864996671677,
-0.021413039416074753,
-0.020594818517565727,
-0.003327290527522564,
0.018262015655636787,
0.03777747601270676,
0.025800101459026337,
-0.029229670763015747,
-0.004809229634702206,
0.03018716350197792,
0.013709568418562412,
-0.015354717150330544,
-0.003499204060062766,
0.013117663562297821,
-0.05048602819442749,
-0.021883083507418633,
-0.005096477456390858,
0.01592050865292549,
0.03058757074177265,
-0.03050052560865879,
-0.017078205943107605,
0.0239721592515707,
0.07444077730178833,
0.0579022541642189,
-0.05483827367424965,
0.004004064481705427,
-0.019341371953487396,
-0.010532430373132229,
-0.02317134663462639,
0.02545192278921604,
-0.004482811316847801,
0.012142760679125786,
-0.02947339601814747,
-0.08467725664377213,
0.04303498938679695,
0.0037603387609124184,
-0.03506167605519295,
-0.0023415072355419397,
-0.07095898687839508,
0.020507773384451866,
0.04543742537498474,
0.041572634130716324,
0.06925290822982788,
-0.026879459619522095,
-0.0896214097738266,
0.018801694735884666,
0.01691281981766224,
0.06284639984369278,
0.0007817718433216214,
0.008869873359799385,
-0.02007254958152771,
-0.020908180624246597,
-0.0066632856614887714,
0.047805048525333405,
0.03126652166247368,
0.02707095816731453,
0.04136372730135918,
-0.0007464098162017763,
-0.017565656453371048,
0.007207315880805254,
0.03245032951235771,
0.00507471663877368,
0.04884958639740944,
-0.025730466470122337,
-0.04000582545995712,
0.013013209216296673,
0.01601625792682171,
-0.028359221294522285,
-0.07527641206979752,
0.015171922743320465,
-0.04770059511065483,
-0.003638475900515914,
-0.06483102589845657,
-0.008821998722851276,
0.04021473601460457,
-0.019236918538808823,
0.07179461419582367,
-0.0033882218413054943,
-0.01096765510737896,
-0.024772971868515015,
-0.006933124735951424,
0.02846367470920086,
0.04474106803536415,
0.02863776497542858,
-0.05382855236530304,
-0.014571312814950943,
0.044706251472234726,
0.04178154096007347,
-0.01928914524614811,
-0.001075548236258328,
-0.01843610592186451,
0.005392430350184441,
-0.05626580864191055,
-0.007229077164083719,
0.028916308656334877,
0.031614698469638824,
-0.008047299459576607,
-0.0860699787735939,
-0.01836646907031536,
0.03725520893931389,
0.06524883955717087,
0.041572634130716324,
0.028898900374770164,
0.04571596905589104,
-0.014658357948064804,
-0.019881051033735275,
-0.02193531021475792,
-0.013666045852005482,
0.030047891661524773,
-0.04954594373703003,
-0.01509358175098896,
0.03269405663013458,
0.006415207404643297,
0.026096055284142494,
0.021970126777887344,
0.006376037374138832,
0.016878001391887665,
0.02996084839105606,
0.04787468537688255,
0.03795156627893448,
-0.06058323755860329,
-0.009984048083424568,
0.05483827367424965,
-0.007838391698896885,
-0.06469175219535828,
0.006397798657417297,
0.04853622615337372,
0.0239721592515707,
0.03624548763036728,
-0.011899035423994064,
0.0037973327562212944,
0.013135071843862534,
-0.013483251444995403,
0.009905707091093063,
0.030535344034433365,
-0.04105036333203316,
0.022910213097929955,
-0.0025874089915305376,
-0.00534890778362751,
0.008717544376850128,
-0.0431046225130558,
0.0007132239989005029,
-0.03521835803985596,
0.018575377762317657,
0.03694184496998787,
0.03406936675310135,
-0.036210671067237854,
-0.00657624052837491,
-0.05010303109884262,
-0.06604965776205063,
0.02202235534787178,
0.02022922970354557,
-0.03920501470565796,
-0.00733353104442358,
0.015868281945586205,
-0.011402878910303116,
-0.014336291700601578,
0.08467725664377213,
0.03375600278377533,
-0.03739447891712189,
0.03189324215054512,
-0.0062237088568508625,
-0.07555495202541351,
-0.030517933890223503,
-0.005144352559000254,
0.04014509916305542,
-0.05515163391828537,
0.025713058188557625,
-0.019358782097697258,
0.07409260421991348,
-0.019550280645489693,
-0.03459163382649422,
-0.041120000183582306,
-0.012665029615163803,
-0.003081388771533966,
-0.05017266795039177,
0.051704660058021545,
0.0019400127930566669,
-0.04620342329144478,
-0.030831295996904373,
0.03610621765255928,
0.04428843408823013,
0.025608602911233902,
0.0415378175675869,
-0.03344264253973961,
0.06737273931503296,
0.0009482451714575291,
0.02101263403892517,
0.03184101730585098,
-0.019167281687259674,
0.01260409876704216,
-0.025260424241423607,
-0.001751778181642294,
-0.02902076207101345,
0.030239390209317207,
-0.027575816959142685,
0.10215587168931961,
0.029926029965281487,
0.05494272708892822,
-0.014658357948064804,
-0.013552887365221977,
0.05079939216375351,
0.01921951025724411,
0.02895112708210945,
0.019306553527712822,
-0.03680257499217987,
0.07478895783424377,
-0.0029704065527766943,
-0.027749907225370407,
-0.020472954958677292,
-0.011411583982408047,
-0.042826078832149506,
-0.007311769761145115,
-0.004149864427745342,
0.0008432472823187709,
0.09268538653850555,
-0.00910489447414875,
-0.06114032492041588,
0.0065936497412621975,
-0.01031481847167015,
0.0482228621840477,
0.03802120313048363,
-0.006671989802271128,
0.046238239854574203,
0.027262456715106964,
-0.007263895124197006,
0.03795156627893448,
-0.04223417490720749,
0.0006800381233915687,
0.0766691267490387,
-0.0829363614320755,
-0.01944582536816597,
-0.004639491904526949,
-0.020664453506469727,
0.028115496039390564,
0.023293210193514824,
-0.03701148182153702,
-0.0628812238574028,
-0.04115482047200203,
-0.05299292132258415,
0.07256060838699341,
0.02527783252298832,
-0.010062388144433498,
-0.039483558386564255,
0.012543166987597942,
-0.0829363614320755,
-0.00945307407528162,
0.03231105953454971,
-0.09609754383563995,
0.02964748628437519,
0.027366910129785538,
0.03875238075852394,
0.06347312778234482,
-0.0009194115409627557,
0.013744386844336987,
0.03937910497188568,
0.014223133213818073,
0.016268687322735786,
0.007242133840918541,
-0.010375749319791794,
-0.012621507048606873,
0.04554188251495361,
-0.0926157534122467,
0.025034107267856598,
0.013596409931778908,
-0.057205893099308014,
0.02684464119374752,
0.01715654507279396,
-0.00806470774114132,
-0.035427264869213104,
0.012421304360032082,
0.003396926447749138,
0.047422051429748535,
0.026026418432593346,
0.029229670763015747,
0.017461203038692474,
0.0022065876983106136,
-0.1098158210515976,
-0.006598001811653376,
0.02924707904458046,
0.032398104667663574,
-0.019184691831469536,
0.03701148182153702,
0.00712027121335268,
-0.05995651334524155,
0.011637900024652481,
0.0399710088968277,
-0.03944873809814453,
0.05128684267401695,
-0.006288992706686258,
-0.032485149800777435,
0.0068069095723330975,
-0.021378222852945328,
0.03648921474814415,
-0.005301033146679401,
0.05059048533439636,
-0.01221239659935236,
0.01594662107527256,
-0.022579440847039223,
-0.06848691403865814,
0.0307268425822258,
0.026705369353294373,
-0.02816772274672985,
0.03819529339671135,
-0.030674615874886513,
0.005866824649274349,
0.01920210011303425,
-0.012865233235061169,
0.01834906078875065,
-0.04700423404574394,
-0.03198028728365898,
0.02498188056051731,
0.0026004656683653593,
-0.002942116931080818,
-0.02832440286874771,
0.031701743602752686,
-0.06312494724988937,
0.0014667061623185873,
0.011890330351889133,
0.04787468537688255,
-0.020664453506469727,
-0.04592487961053848,
-0.02809808775782585,
-0.02249239757657051,
-0.010219069197773933,
0.08056873828172684,
0.016590753570199013,
-0.03607139736413956,
0.03335559740662575,
-0.028359221294522285,
0.01229073666036129,
0.027715088799595833,
-0.0499289445579052,
-0.014031634666025639,
-0.004402294754981995,
-0.037464115768671036,
-0.04132890701293945,
-0.05699698626995087,
-0.04801395535469055,
0.04108518362045288,
0.021952718496322632,
-0.07388368993997574,
0.08147400617599487,
0.019323963671922684,
0.008060355670750141,
-0.005766723304986954,
0.02031627483665943,
-0.00264398823492229,
-0.05093866214156151,
0.060409147292375565,
-0.07889747619628906,
0.030239390209317207,
0.017931245267391205,
-0.035514310002326965,
-0.0307964775711298,
-0.006854784209281206,
-0.02318875677883625,
0.010593362152576447,
-0.03332078084349632,
-0.012421304360032082,
-0.08015092462301254,
0.033581916242837906,
0.05891197547316551,
-0.021743811666965485,
-0.012891346588730812,
0.01673002541065216,
0.017791973426938057,
0.01998550444841385,
-0.052714377641677856,
-0.015729010105133057,
-0.023850297555327415,
-0.00451327720656991,
0.032154377549886703,
0.0027245047967880964,
0.01724359020590782,
-0.01074133813381195,
-0.0759727731347084,
0.015302489511668682,
-0.008830702863633633,
0.054107096046209335,
-0.02731468342244625,
0.06681565195322037,
0.007777459919452667,
0.0012218925403431058,
0.014188315719366074,
-0.015354717150330544,
0.0012610626872628927,
-0.01646018587052822,
-0.05866824835538864,
-0.030622389167547226,
-0.04439288750290871,
-0.0830756351351738,
0.03500945121049881,
-0.02285798452794552,
-0.03199769929051399,
0.017661405727267265,
0.04268680885434151,
-0.030604979023337364,
-0.00816481001675129,
0.024006977677345276,
0.014083861373364925,
0.006741625722497702,
-0.013100254349410534,
-0.005588281434029341,
0.007982015609741211,
0.04199045151472092,
0.05689253285527229,
0.005866824649274349,
-0.016677798703312874,
0.009322506375610828,
0.01758306473493576,
-0.006001744419336319,
-0.005749314092099667,
-0.03610621765255928,
-0.003877849318087101,
0.073117695748806,
0.008895986713469028,
-0.003390398109331727,
0.02926448918879032,
0.03586249053478241,
-0.04206008464097977,
-0.0413985438644886,
0.053410738706588745,
-0.038787197321653366,
0.02388511411845684,
0.04254753887653351,
-0.054176732897758484,
0.010541134513914585,
0.039866555482149124,
-0.02714059315621853,
-0.0036145385820418596,
-0.008317138068377972,
-0.0330074168741703,
0.005227045156061649,
-0.033947501331567764,
0.06044396385550499,
-0.017408976331353188,
0.07423187047243118,
0.03937910497188568,
0.03041348047554493,
0.006406503263860941,
0.00597127852961421,
-0.004343539476394653,
-0.028602946549654007,
0.04442770779132843,
0.00023542919370811433,
-0.04404471069574356,
-0.01540694385766983,
0.0433831661939621,
-0.04317425936460495,
-0.006341219414025545,
0.0013524597743526101,
0.006201947573572397,
0.006006096489727497,
-0.05173947662115097,
-0.04136372730135918,
0.020560000091791153,
0.03429568186402321,
-0.00832149013876915,
-0.012194987386465073,
-0.007294361013919115,
0.012099238112568855
]
|
41,681 | pyglove.core.tuning.sample | sample | Yields an example and its feedback sampled from a hyper value.
Example 1: sample a search space defined by a symbolic hyper value::
for example, feedback in pg.sample(
pg.Dict(x=pg.floatv(-1, 1))),
pg.geno.Random(),
num_examples=10,
name='my_search'):
# We can access trial ID (staring from 1) and DNA from the feedback.
print(feedback.id, feedback.dna)
# We can report the reward computed on the example using
# `feedback.add_measurement`, which can be called
# multiple times to report the rewards incrementally.
# Once a trial is done, we call `feedback.done` to mark evaluation on
# current example as completed, or use `feedback.skip` to move to the
# next sample without passing any feedback to the algorithm.
# Without `feedback.done` or `feedback.skip`, the same trial will be
# iterated over and over again for failover handling purpose.
# Besides the reward and the step, metrics and checkpoint can be added
# to each measurement. Additional meta-data and related links (URLs) can
# be passed to `feedback.done` which can be retrieved via
# `pg.poll_result` later.
if example.x >= 0:
# If we only want to add one measurement for each example, a
# shortcut expression for the next two lines can be written as
# follows:
# `feedback(reward=math.sqrt(example.x), step=1)`
feedback.add_measurement(reward=math.sqrt(example.x), step=1)
feedback.done()
else:
feedback.skip()
# IMPORTANT: to stop the loop among all workers, we can call
# `feedback.end_loop`. As a result, each worker will quit their loop
# after current iteration, while using `break` in the for-loop is
# only effective for the local process rather than remotely.
if session.id > 1000:
feedback.end_loop()
# At any time, we can poll the search result via `pg.poll_result`, please
# see `pg.tuning.Result` for more details.
result = pg.poll_result('my_search')
print(result.best_trial)
Example 2: sample a search space defined by `pg.hyper.trace`::
def fun():
return pg.oneof([
lambda: pg.oneof([1, 2, 3]),
lambda: pg.float(0.1, 1.0),
3]) + sum(pg.manyof(2, [1, 2, 3]))
for example, feedback in pg.sample(
pg.hyper.trace(fun),
pg.geno.Random(),
num_examples=10,
name='my_search'):
# When space is a `pg.hyper.DynamicEvaluationContext` object,
# the `example` yielded at each iteration is a context manager under which
# the hyper primitives (e.g. pg.oneof) will be materialized into concrete
# values according to the controller decision.
with example():
reward = fun()
feedback(reward)
Example 3: sample DNAs from an abstract search space represented by
`pg.DNASpec`::
for dna, feedback in pg.sample(
pg.List([pg.oneof(range(3))] * 5).dna_spec(),
pg.geno.Random(),
num_examples=10,
name='my_search'):
reward = evaluate_dna(dna)
feedback(reward)
**Using `pg.sample` in distributed environment**
`pg.sample` is designed with distributed sampling in mind, in which multiple
processes can work on the trials of the same sampling loop. While the default
'in-memory' backend works only within a single process without failover
handling, other backends may support distributed computing environment with
persistent state. Nevertheless, the `pg.sample` API is the same
among different backends, users can switch the backend easily by passing a
different value to the `backend` argument, or set the default value globally
via `pg.tuning.set_default_backend`.
**Identifying a sampling**
To identify a distributed loop, a unique `name` is introduced, which will
also be used to poll the latest sampling result via `pg.poll_result`.
**Failover handling**
In a distributed setup, worker processes may incidentally die and restart.
Unless a trial is explicitly marked as done (via `feedback(reward)` or
`feedback.done()`) or skipped (via feedback.skip()), a worker will try to
resume its work on the trial from where it left off.
**Workroup**
In a distributed setup, worker processes may or may not work on the same
trials. Worker group is introduced to serve this purpose, which is identified
by an integer or a string named `group`. If `group` is not specified or
having different values among the workers, every worker will work on
different trials of the loop. On the contrary, workers having the same
`group` will co-work on the same trials. Group is useful when evaluation on
one example can be parallelized - for example - an example in the outer loop
of a nested search. However, feedback on the same example should be fed back
to the search algorithm only once. Therefore, workers in the same group need
to communicate with each other to avoid duplicated evaluation and feedbacks.
To facilitate such communication, per-trial metadata is supported, and can be
accessed via `feedback.set_metadata/get_metadata` methods. The consistency in
reading and writing the metadata is defined by the backend used. For the
'in-memory' backend, all the trials and their metadata is stored in memory,
thus will be lost if the process get restarted. On the contrary, the backends
built on distributed computing environment may store both the trials and
metadata in a persistent storage with varing read/write QPS and read/write
consistency guarentees.
**Switch between backends**
The `backend` argument of `pg.sample` lets users choose a backend used in
current sampling loop. Users can use different backends in the same process
to achieve a best performance trade-off, e.g., using `in-memory` backend when
the communication cost overweighs the redudant evaluation cost upon worker
failure.
Helper function :func:`pyglove.tuning.set_default_backend` is introduced to
set the default tuning backend for the entire process.
Args:
space: One of (a hyper value, a `pg.hyper.DynamicEvaluationContext`,
a `pg.DNASpec`) to sample from.
A hyper value is an object with to-be-determined values specified by
`pg.oneof`, `pg.manyof`, `pg.floatv` and etc, representing a search space.
A `pg.hyper.DynamicEvaluationContext` object represents a search space
that is traced via dynamic evaluation.
A `pg.DNASpec` represents an abstract search space that emits DNAs.
algorithm: The search algorithm that samples the search space. For example:
`pg.geno.Random()`, `pg.evolution.regularized_evolution(...)`, and
etc.
num_examples: An optional integer as the max number of examples to
sample. If None, sample will return an iterator of infinite examples.
early_stopping_policy: An optional early stopping policy for user to tell
if incremental evaluation (which reports multiple measurements) on each
example can be early short circuited.
After each call to `feedback.add_measurement`, users can use method
`feedback.should_stop_early` to check whether current example worth
further evaluation or not.
where: Function to filter the hyper values. If None, all decision points
from the `space` will be included for the algorithm to make
decisions. Otherwise only the decision points on which 'where' returns
True will be included. The rest decision points will be passed through
in the example, intact, which is a sub-space of the search space
represented by the `space`. `where` is usually used in nested search
flows. Please see 'hyper.Template' docstr for details.
name: A string as a unique identifier for current sampling. Two separate
calls to `pg.sample` with the same `name` (also the same algorithm) will
share the same sampling queue, whose examples are proposed by the same
search algorithm.
group: An string or integer as the group ID of current process in
distributed sampling, which will be used to group different workers into
co-worker groups. Workers with the same group id will work on the same
trial. On the contrary, workers in different groups will always be working
with different trials. If not specified, each worker in current sampling
will be in different groups. `group` is usually used in the outer
loops of nested search, in order to allow workers to work on the same
higher-order item.
backend: An optional string to specify the backend name for sampling.
if None, the default backend set by `pg.tuning.set_default_backend`
will be used.
metrics_to_optimize: A sequence of string as the names of the metrics
to be optimized by the algorithm, which is ['reward'] by default.
When specified, it should have only 1 item for single-objective algorithm
and can have multiple items for algorithms that support multi-objective
optimization.
**kwargs: Arguments passed to the `BackendFactory` subclass registered with
the requested backend.
Yields:
An iterator of tuples (example, feedback) as examples sampled from the
search space defined by the `space` through `algorithm`.
Raises:
ValueError: `space` is a fixed value, or requested `backend` is not
available.
| def sample(space: Union[HyperValue,
hyper.DynamicEvaluationContext,
geno.DNASpec],
algorithm: geno.DNAGenerator,
num_examples: Optional[int] = None,
early_stopping_policy: Optional[EarlyStoppingPolicy] = None,
where: Optional[Callable[[hyper.HyperPrimitive], bool]] = None,
name: Optional[str] = None,
group: Union[None, int, str] = None,
backend: Optional[str] = None,
metrics_to_optimize: Optional[Sequence[str]] = None,
**kwargs):
"""Yields an example and its feedback sampled from a hyper value.
Example 1: sample a search space defined by a symbolic hyper value::
for example, feedback in pg.sample(
pg.Dict(x=pg.floatv(-1, 1))),
pg.geno.Random(),
num_examples=10,
name='my_search'):
# We can access trial ID (staring from 1) and DNA from the feedback.
print(feedback.id, feedback.dna)
# We can report the reward computed on the example using
# `feedback.add_measurement`, which can be called
# multiple times to report the rewards incrementally.
# Once a trial is done, we call `feedback.done` to mark evaluation on
# current example as completed, or use `feedback.skip` to move to the
# next sample without passing any feedback to the algorithm.
# Without `feedback.done` or `feedback.skip`, the same trial will be
# iterated over and over again for failover handling purpose.
# Besides the reward and the step, metrics and checkpoint can be added
# to each measurement. Additional meta-data and related links (URLs) can
# be passed to `feedback.done` which can be retrieved via
# `pg.poll_result` later.
if example.x >= 0:
# If we only want to add one measurement for each example, a
# shortcut expression for the next two lines can be written as
# follows:
# `feedback(reward=math.sqrt(example.x), step=1)`
feedback.add_measurement(reward=math.sqrt(example.x), step=1)
feedback.done()
else:
feedback.skip()
# IMPORTANT: to stop the loop among all workers, we can call
# `feedback.end_loop`. As a result, each worker will quit their loop
# after current iteration, while using `break` in the for-loop is
# only effective for the local process rather than remotely.
if session.id > 1000:
feedback.end_loop()
# At any time, we can poll the search result via `pg.poll_result`, please
# see `pg.tuning.Result` for more details.
result = pg.poll_result('my_search')
print(result.best_trial)
Example 2: sample a search space defined by `pg.hyper.trace`::
def fun():
return pg.oneof([
lambda: pg.oneof([1, 2, 3]),
lambda: pg.float(0.1, 1.0),
3]) + sum(pg.manyof(2, [1, 2, 3]))
for example, feedback in pg.sample(
pg.hyper.trace(fun),
pg.geno.Random(),
num_examples=10,
name='my_search'):
# When space is a `pg.hyper.DynamicEvaluationContext` object,
# the `example` yielded at each iteration is a context manager under which
# the hyper primitives (e.g. pg.oneof) will be materialized into concrete
# values according to the controller decision.
with example():
reward = fun()
feedback(reward)
Example 3: sample DNAs from an abstract search space represented by
`pg.DNASpec`::
for dna, feedback in pg.sample(
pg.List([pg.oneof(range(3))] * 5).dna_spec(),
pg.geno.Random(),
num_examples=10,
name='my_search'):
reward = evaluate_dna(dna)
feedback(reward)
**Using `pg.sample` in distributed environment**
`pg.sample` is designed with distributed sampling in mind, in which multiple
processes can work on the trials of the same sampling loop. While the default
'in-memory' backend works only within a single process without failover
handling, other backends may support distributed computing environment with
persistent state. Nevertheless, the `pg.sample` API is the same
among different backends, users can switch the backend easily by passing a
different value to the `backend` argument, or set the default value globally
via `pg.tuning.set_default_backend`.
**Identifying a sampling**
To identify a distributed loop, a unique `name` is introduced, which will
also be used to poll the latest sampling result via `pg.poll_result`.
**Failover handling**
In a distributed setup, worker processes may incidentally die and restart.
Unless a trial is explicitly marked as done (via `feedback(reward)` or
`feedback.done()`) or skipped (via feedback.skip()), a worker will try to
resume its work on the trial from where it left off.
**Workroup**
In a distributed setup, worker processes may or may not work on the same
trials. Worker group is introduced to serve this purpose, which is identified
by an integer or a string named `group`. If `group` is not specified or
having different values among the workers, every worker will work on
different trials of the loop. On the contrary, workers having the same
`group` will co-work on the same trials. Group is useful when evaluation on
one example can be parallelized - for example - an example in the outer loop
of a nested search. However, feedback on the same example should be fed back
to the search algorithm only once. Therefore, workers in the same group need
to communicate with each other to avoid duplicated evaluation and feedbacks.
To facilitate such communication, per-trial metadata is supported, and can be
accessed via `feedback.set_metadata/get_metadata` methods. The consistency in
reading and writing the metadata is defined by the backend used. For the
'in-memory' backend, all the trials and their metadata is stored in memory,
thus will be lost if the process get restarted. On the contrary, the backends
built on distributed computing environment may store both the trials and
metadata in a persistent storage with varing read/write QPS and read/write
consistency guarentees.
**Switch between backends**
The `backend` argument of `pg.sample` lets users choose a backend used in
current sampling loop. Users can use different backends in the same process
to achieve a best performance trade-off, e.g., using `in-memory` backend when
the communication cost overweighs the redudant evaluation cost upon worker
failure.
Helper function :func:`pyglove.tuning.set_default_backend` is introduced to
set the default tuning backend for the entire process.
Args:
space: One of (a hyper value, a `pg.hyper.DynamicEvaluationContext`,
a `pg.DNASpec`) to sample from.
A hyper value is an object with to-be-determined values specified by
`pg.oneof`, `pg.manyof`, `pg.floatv` and etc, representing a search space.
A `pg.hyper.DynamicEvaluationContext` object represents a search space
that is traced via dynamic evaluation.
A `pg.DNASpec` represents an abstract search space that emits DNAs.
algorithm: The search algorithm that samples the search space. For example:
`pg.geno.Random()`, `pg.evolution.regularized_evolution(...)`, and
etc.
num_examples: An optional integer as the max number of examples to
sample. If None, sample will return an iterator of infinite examples.
early_stopping_policy: An optional early stopping policy for user to tell
if incremental evaluation (which reports multiple measurements) on each
example can be early short circuited.
After each call to `feedback.add_measurement`, users can use method
`feedback.should_stop_early` to check whether current example worth
further evaluation or not.
where: Function to filter the hyper values. If None, all decision points
from the `space` will be included for the algorithm to make
decisions. Otherwise only the decision points on which 'where' returns
True will be included. The rest decision points will be passed through
in the example, intact, which is a sub-s | (space: Union[Any, pyglove.core.hyper.dynamic_evaluation.DynamicEvaluationContext, pyglove.core.geno.base.DNASpec], algorithm: pyglove.core.geno.dna_generator.DNAGenerator, num_examples: Optional[int] = None, early_stopping_policy: Optional[pyglove.core.tuning.early_stopping.EarlyStoppingPolicy] = None, where: Optional[Callable[[pyglove.core.hyper.base.HyperPrimitive], bool]] = None, name: Optional[str] = None, group: Union[NoneType, int, str] = None, backend: Optional[str] = None, metrics_to_optimize: Optional[Sequence[str]] = None, **kwargs) | [
0.06800724565982819,
-0.0007883904618211091,
-0.051494050770998,
-0.004375099670141935,
0.015974722802639008,
0.02959611639380455,
-0.04247960075736046,
-0.06481628865003586,
0.029376737773418427,
-0.06804713606834412,
-0.022695673629641533,
0.059272006154060364,
-0.006586332339793444,
0.0430380180478096,
-0.04722614586353302,
0.008391216397285461,
0.0017076600342988968,
0.07203582674264908,
0.013322240673005581,
0.004911080468446016,
-0.04220039024949074,
-0.0019594463519752026,
-0.017998985946178436,
0.03059328906238079,
0.023154374212026596,
-0.0005063772550784051,
-0.012434756383299828,
-0.05516364797949791,
-0.030094701796770096,
0.03007475845515728,
0.035798534750938416,
-0.1279573291540146,
-0.010849249549210072,
0.007099876645952463,
-0.005394709762185812,
-0.04678739234805107,
0.002924212021753192,
0.04204084351658821,
-0.09070292115211487,
0.002330893650650978,
0.02385239489376545,
-0.08551761507987976,
0.012045858427882195,
0.000018852815628633834,
-0.018607260659337044,
0.0530097559094429,
0.045072250068187714,
0.020920705050230026,
-0.02732256054878235,
-0.03250786289572716,
-0.012265237048268318,
-0.028578998520970345,
-0.005514370743185282,
0.054525457322597504,
0.014897774904966354,
-0.02465013414621353,
-0.021917877718806267,
0.015516023151576519,
0.08144915103912354,
-0.006591318175196648,
0.06377922743558884,
-0.011288006789982319,
-0.027721429243683815,
0.027402333915233612,
-0.006426784675568342,
0.004816349130123854,
-0.009891963563859463,
-0.0009111674735322595,
-0.03262752294540405,
-0.027063295245170593,
0.0007927531260065734,
-0.013760996982455254,
0.035559214651584625,
0.011138430796563625,
-0.0015007464680820704,
0.02104036509990692,
0.0012215378228574991,
-0.015974722802639008,
0.02608606405556202,
-0.06649154424667358,
0.058833248913288116,
0.05448557063937187,
-0.04351666197180748,
-0.06597301363945007,
-0.016692688688635826,
0.015127125196158886,
0.02185804769396782,
0.02399200014770031,
0.07251447439193726,
-0.07048023492097855,
-0.035319894552230835,
-0.004596970975399017,
0.08791083097457886,
0.044633496552705765,
0.05651980638504028,
-0.012883484363555908,
-0.005668932572007179,
-0.043117791414260864,
0.006327067036181688,
-0.002524096053093672,
-0.03049357235431671,
-0.013711138628423214,
0.046627841889858246,
0.02560742013156414,
0.012853569351136684,
-0.048622190952301025,
-0.01828816533088684,
0.029097529128193855,
0.00518031744286418,
-0.027422277256846428,
-0.07829807698726654,
0.025248438119888306,
-0.009443234652280807,
-0.026046177372336388,
-0.021578839048743248,
0.03583842143416405,
-0.003829146968200803,
0.030513515695929527,
-0.07048023492097855,
0.0004945358377881348,
0.005110515281558037,
-0.0031685195863246918,
-0.04957947880029678,
-0.011317921802401543,
0.007209565956145525,
-0.004736575298011303,
-0.0011916225776076317,
0.01914573460817337,
-0.05049687623977661,
-0.0004072831361554563,
0.0019955940078943968,
0.001933270483277738,
-0.028519168496131897,
0.02598634734749794,
0.022177143022418022,
0.024670077487826347,
-0.008271556347608566,
0.0025477788876742125,
-0.0008694108109921217,
0.048103660345077515,
0.02750205062329769,
-0.024909399449825287,
0.022875165566802025,
-0.02612595073878765,
0.060747820883989334,
-0.056559693068265915,
-0.01036063488572836,
-0.03847096115350723,
0.02110019512474537,
-0.02261590026319027,
-0.020182795822620392,
0.044633496552705765,
0.06377922743558884,
-0.057796187698841095,
-0.0180787593126297,
0.026784086599946022,
-0.02993515506386757,
-0.002817015629261732,
-0.02117997035384178,
-0.051573824137449265,
0.013192608021199703,
-0.06681063771247864,
0.013860714621841908,
0.027900921180844307,
-0.01166693214327097,
0.04678739234805107,
-0.05971076339483261,
0.06908419728279114,
-0.01746051199734211,
0.005688875913619995,
-0.017231162637472153,
-0.037413958460092545,
-0.02794080786406994,
-0.01688215136528015,
-0.05217212811112404,
0.06453708559274673,
0.0161542147397995,
-0.005359808914363384,
0.060269180685281754,
-0.030254250392317772,
0.003941329196095467,
-0.02048194780945778,
-0.05791584774851799,
0.017949126660823822,
-0.052052468061447144,
-0.029655946418642998,
0.021359460428357124,
0.009732415899634361,
0.0377330519258976,
0.045152027159929276,
-0.004464845173060894,
-0.009842104278504848,
0.008411160670220852,
-0.008949633687734604,
-0.004041046369820833,
-0.0030638163443654776,
0.0016814841656014323,
0.0003465178597252816,
0.0053797522559762,
0.07566554099321365,
0.01848760060966015,
-0.03514040261507034,
0.022336691617965698,
-0.008595637045800686,
-0.03159046173095703,
0.0477047897875309,
0.0027372417971491814,
0.013760996982455254,
-0.057038336992263794,
-0.008396202698349953,
-0.030852554365992546,
-0.04180152341723442,
0.06505561619997025,
0.06010963022708893,
0.04583010450005531,
0.01900613121688366,
0.016164185479283333,
0.03250786289572716,
0.0268838033080101,
-0.019265396520495415,
-0.027262728661298752,
-0.08567716181278229,
0.004387564491480589,
-0.021638669073581696,
0.03687548264861107,
-0.007209565956145525,
0.06477640569210052,
0.002939169527962804,
-0.014399188570678234,
-0.08148903399705887,
0.09620732069015503,
-0.023732734844088554,
0.11591146886348724,
-0.04479304328560829,
0.005025755614042282,
-0.033604755997657776,
0.005140430293977261,
0.053089529275894165,
0.014618566259741783,
0.019504718482494354,
0.006875512655824423,
0.01769983395934105,
-0.040924008935689926,
-0.05396704003214836,
-0.038032203912734985,
0.013222523033618927,
0.039029378443956375,
-0.0014795565512031317,
0.033425264060497284,
-0.04048525169491768,
-0.0246102474629879,
-0.028439395129680634,
-0.04459360986948013,
-0.04180152341723442,
0.00030569607042707503,
-0.022197086364030838,
-0.0019021088955923915,
-0.039787232875823975,
0.017241133376955986,
-0.020880818367004395,
-0.04626886174082756,
0.037134747952222824,
-0.10402516275644302,
0.0522519014775753,
-0.003816682379692793,
0.06477640569210052,
-0.01275385171175003,
0.02451053075492382,
0.0815289244055748,
0.018377911299467087,
-0.04172174632549286,
0.07083921879529953,
-0.020840929821133614,
-0.00950306560844183,
-0.013411986641585827,
0.030752837657928467,
0.007189622614532709,
0.035938140004873276,
-0.009867033921182156,
-0.008027248084545135,
0.03651650249958038,
0.03613757714629173,
-0.009253771975636482,
0.001812363276258111,
-0.00813195202499628,
0.022336691617965698,
-0.03667604923248291,
0.031131763011217117,
0.005319921765476465,
-0.008820001035928726,
-0.026484934613108635,
0.0020180302672088146,
0.01918562315404415,
-0.03807209059596062,
-0.01756022870540619,
0.030393855646252632,
0.00014162983279675245,
-0.04750535637140274,
0.00016500108176842332,
-0.012345010414719582,
0.055562518537044525,
-0.0115472711622715,
0.04419473931193352,
0.07016114145517349,
-0.052810318768024445,
0.027621712535619736,
0.04247960075736046,
-0.048103660345077515,
-0.04598965123295784,
-0.06437753140926361,
-0.049818798899650574,
0.0030787738505750895,
0.050058118999004364,
0.020192768424749374,
-0.013062975369393826,
-0.03310616686940193,
-0.005025755614042282,
-0.020701326429843903,
-0.014708312228322029,
0.041602086275815964,
-0.053608059883117676,
0.044673383235931396,
0.00984709057956934,
-0.006287180352956057,
-0.015047350898385048,
-0.027302617207169533,
-0.021877991035580635,
0.018587317317724228,
-0.04204084351658821,
-0.018088731914758682,
-0.001082556671462953,
0.025667252019047737,
0.025766968727111816,
0.005103036295622587,
-0.04375598207116127,
0.05344850942492485,
-0.004205580335110426,
0.002580187050625682,
0.002212479244917631,
-0.054525457322597504,
0.03932853043079376,
-0.020023249089717865,
-0.03970745578408241,
0.05304964259266853,
0.048342980444431305,
-0.03771311044692993,
0.016553083434700966,
-0.034183114767074585,
0.021738387644290924,
-0.05775630101561546,
0.01397040393203497,
0.059551212936639786,
0.006970244459807873,
0.09413319826126099,
0.07941491156816483,
-0.017470482736825943,
-0.006217378191649914,
0.0004742807359434664,
-0.01811864599585533,
0.0055442857556045055,
-0.03496091067790985,
-0.0036197404842823744,
-0.019055990502238274,
0.06138601526618004,
0.025926517322659492,
-0.027721429243683815,
0.031331196427345276,
0.021838104352355003,
-0.03258763626217842,
-0.03819175437092781,
0.005080600269138813,
-0.1068970188498497,
-0.007772969081997871,
0.050855860114097595,
-0.031231481581926346,
-0.05624059587717056,
-0.04826320707798004,
-0.03516034409403801,
-0.03145086020231247,
0.050815973430871964,
0.04874185100197792,
0.07171673327684402,
0.0044374228455126286,
0.04945981502532959,
-0.032148879021406174,
-0.0445537231862545,
-0.019504718482494354,
0.020252598449587822,
0.006586332339793444,
-0.057038336992263794,
0.02299482561647892,
-0.006002985872328281,
0.006541459355503321,
0.034701645374298096,
-0.003569881897419691,
-0.005713805556297302,
-0.016273874789476395,
0.0017625045729801059,
-0.07582508772611618,
-0.010659786872565746,
-0.000993434339761734,
-0.026106007397174835,
-0.05576195567846298,
0.0157752875238657,
-0.009248786605894566,
-0.0622236393392086,
0.0576765276491642,
0.014359301887452602,
-0.030234307050704956,
0.0400066077709198,
-0.01917565055191517,
-0.02361307293176651,
-0.06744883209466934,
0.022556070238351822,
-0.011587158776819706,
-0.02732256054878235,
-0.004878672305494547,
0.08424123376607895,
-0.013092891313135624,
0.07127797603607178,
0.07746045291423798,
-0.040545083582401276,
0.0938938781619072,
0.02949639782309532,
0.06350002437829971,
0.029257075861096382,
-0.015615740790963173,
-0.05249122530221939,
-0.012773795053362846,
-0.017440568655729294,
-0.03424294665455818,
-0.027900921180844307,
-0.018796725198626518,
-0.003948807716369629,
0.024011943489313126,
0.01328235398977995,
-0.049140721559524536,
0.03942824900150299,
0.027262728661298752,
-0.04706659913063049,
0.03587831184267998,
-0.036416783928871155,
0.017659947276115417,
-0.006376925855875015,
-0.027621712535619736,
0.007608435582369566,
0.014508877880871296,
-0.004073454532772303,
-0.03653644397854805,
-0.04235994070768356,
0.0731925517320633,
-0.044114965945482254,
0.08791083097457886,
0.0591922327876091,
0.0034227988217025995,
-0.0043052975088357925,
-0.003584839403629303,
0.009886977262794971,
-0.000845727976411581,
0.00859065167605877,
-0.026285499334335327,
0.034083396196365356,
-0.029536284506320953,
-0.01880669593811035,
0.007738068234175444,
0.02385239489376545,
0.028040524572134018,
0.021538952365517616,
-0.03206910565495491,
0.01567557081580162,
-0.017829466611146927,
0.03512045741081238,
-0.003108689095824957,
-0.0014359301421791315,
0.009313602931797504,
-0.018038872629404068,
-0.06637188047170639,
0.007862715050578117,
0.018517516553401947,
0.006272222846746445,
0.09285681694746017,
-0.05145416408777237,
0.03797237575054169,
0.06266239285469055,
-0.008959605358541012,
-0.026963576674461365,
0.013062975369393826,
0.030334023758769035,
0.013880657963454723,
-0.006715964991599321,
-0.05049687623977661,
-0.022595956921577454,
0.060069743543863297,
-0.002630045637488365,
-0.05488444119691849,
0.01990358717739582,
0.04930026829242706,
0.008904761634767056,
0.08280530571937561,
-0.01092902384698391,
0.012394869700074196,
-0.022915052250027657,
-0.062064092606306076,
-0.023872338235378265,
0.03747378662228584,
-0.007139763794839382,
-0.0016715124947950244,
0.018916385248303413,
-0.006157547701150179,
0.052570998668670654,
0.016443394124507904,
0.009348503313958645,
0.059790536761283875,
-0.04403519257903099,
0.025926517322659492,
-0.029815493151545525,
0.03653644397854805,
-0.03093232773244381,
-0.033943794667720795,
-0.015894949436187744,
0.009393376298248768,
0.023553242906928062,
-0.045630667358636856,
0.03364464268088341,
0.0445537231862545,
-0.02917730249464512,
0.002183810342103243,
-0.020222682505846024,
-0.0013598956866189837,
0.018946301192045212,
0.024729907512664795,
0.027262728661298752,
0.056360259652137756,
0.03946813568472862,
0.012674078345298767,
-0.023493412882089615,
0.01852748729288578,
-0.028140241280198097,
-0.008371273055672646,
-0.024350982159376144,
0.026764143258333206,
0.034382548183202744,
0.001231509493663907,
-0.02897786721587181,
0.04204084351658821,
0.02062155306339264,
-0.002061656676232815,
-0.0010208565508946776,
-0.010849249549210072,
0.0003324951103422791,
0.007748039904981852,
-0.05787596106529236,
-0.0002616022829897702,
-0.00477895513176918,
0.029815493151545525,
-0.014459018595516682,
-0.0008987028268165886,
0.04949970170855522,
0.008520849049091339,
0.04243971407413483,
-0.014309442602097988,
-0.027202898636460304,
0.03557915985584259,
-0.015137096866965294,
0.08264575898647308,
0.018647149205207825,
-0.023433582857251167,
-0.029616059735417366,
-0.04598965123295784,
-0.05763664096593857,
0.02612595073878765,
0.016453366726636887,
0.03184972703456879,
0.07203582674264908,
-0.06425787508487701,
0.0073641277849674225,
-0.019225509837269783,
-0.0007989854202605784,
-0.03190955892205238,
-0.013272382318973541,
0.0010844264179468155,
0.023872338235378265,
0.015565881505608559,
-0.03440249338746071,
0.05093563348054886,
0.057796187698841095,
-0.013003145344555378,
0.031331196427345276,
-0.022436408326029778,
0.00026674396940506995,
0.009448220953345299,
0.04555089399218559,
-0.013691195286810398,
-0.023174317553639412,
0.016343677416443825,
0.06389889121055603,
-0.02385239489376545,
-0.07351164519786835,
0.01618412882089615,
-0.0010694687953218818,
-0.05683889985084534,
0.0668904110789299,
0.045670557767152786,
-0.03847096115350723,
0.045351460576057434,
0.009074280969798565,
-0.015964752063155174,
-0.056280482560396194,
-0.010629871860146523,
-0.04447394609451294,
-0.0010819335002452135,
-0.014758170582354069,
-0.0338241308927536,
-0.03535978123545647,
0.021917877718806267,
-0.02203753963112831,
-0.016961924731731415,
-0.03169018030166626,
0.08639512956142426,
-0.06681063771247864,
0.008545778691768646,
-0.0041282991878688335,
-0.006406841333955526,
0.03611763194203377,
0.007473817095160484,
-0.03962768241763115,
0.01132789347320795,
-0.05735743045806885,
-0.0066611203365027905,
0.01670265942811966,
-0.039926834404468536,
-0.023932168260216713,
0.03972740098834038,
-0.0033156026620417833,
0.023932168260216713,
-0.01890641450881958,
0.04072457551956177,
0.009014450013637543,
-0.054525457322597504,
-0.002347097732126713,
-0.041402652859687805,
0.041921183466911316,
0.052610885351896286,
0.006686049979180098,
0.008441075682640076,
-0.04204084351658821,
-0.018647149205207825,
0.005858395714312792,
0.026903746649622917,
0.04722614586353302,
0.0037967388052493334,
0.04184141010046005,
-0.05404681712388992,
-0.03167023882269859,
0.005474483594298363,
0.011407666839659214,
-0.01351170428097248,
0.005000825971364975,
-0.02175833098590374,
-0.011297978460788727,
0.025866685435175896,
0.05568217858672142,
0.031012102961540222,
-0.0041731721721589565,
-0.07123809307813644,
0.03083261102437973,
0.018338024616241455,
-0.030473629012703896,
0.03240814432501793,
0.06118657812476158,
-0.033844076097011566,
-0.01698186807334423,
-0.006561403162777424,
0.014738227240741253,
-0.010480295866727829,
-0.03282696008682251,
0.021199913695454597,
-0.024729907512664795,
-0.06142590194940567,
-0.04602953791618347,
0.05289009213447571,
-0.02708323858678341,
0.02295493893325329,
-0.02670431137084961,
0.03322582691907883,
0.00847597699612379,
-0.02189793437719345,
-0.03757350519299507,
0.018687035888433456,
-0.015785260125994682,
-0.0684061199426651,
0.003036394016817212,
0.020801043137907982,
-0.06034895405173302,
-0.02746216394007206,
-0.02289510890841484,
-0.02780120261013508,
-0.07594475150108337,
0.054804667830467224,
-0.048342980444431305,
0.03454209864139557,
-0.0018522501923143864,
-0.001402275520376861,
0.006990187801420689,
0.018467657268047333,
0.06066804751753807,
-0.055402971804142,
0.010709645226597786,
0.04459360986948013,
-0.07391051203012466,
0.01983378455042839,
0.006132618524134159,
-0.04702671244740486,
0.01766991801559925,
0.006147576030343771,
-0.017201246693730354,
-0.04046531021595001,
0.05496421456336975,
-0.013760996982455254,
0.029336851090192795,
0.014887803234159946,
0.01149741280823946,
0.034382548183202744,
-0.04044536501169205,
-0.025806855410337448,
0.010948967188596725,
0.010026581585407257,
-0.0530097559094429,
0.03358481079339981,
0.0007559822988696396,
-0.012325067073106766,
0.006516530178487301,
-0.03288678824901581,
0.02949639782309532,
-0.002347097732126713,
-0.011467497795820236,
0.023353807628154755,
0.000034978984331246465,
0.045152027159929276,
-0.01097888220101595,
-0.0346418134868145,
0.036935314536094666,
-0.02189793437719345,
-0.0408242903649807,
-0.005733748897910118,
0.046587955206632614,
0.00842113234102726,
-0.050377216190099716,
0.004507225006818771,
-0.036935314536094666,
0.053608059883117676,
-0.005220204591751099,
0.00818181037902832,
0.04774467647075653,
0.01378094032406807,
0.05221201479434967,
0.030772780999541283,
0.004016117192804813,
-0.027482107281684875,
-0.04423462599515915,
-0.030373910441994667,
0.011098543182015419,
0.04323745146393776,
-0.0016042032511904836,
-0.014568707905709743,
-0.013003145344555378,
0.0203822311013937,
0.03412328287959099
]
|
41,682 | pyglove.core.symbolic.base | save | Save a symbolic value using the global save handler.
Example::
@pg.members([
('x', pg.typing.Any())
])
class A(pg.Object):
pass
a1 = A(1)
file = 'my_file.json'
a1.save(file)
a2 = pg.load(file)
assert pg.eq(a1, a2)
Args:
value: value to save.
path: A path string for saving `value`.
*args: Positional arguments that will be passed through to the global
save handler.
**kwargs: Keyword arguments that will be passed through to the global
save handler.
Returns:
Return value from the global save handler.
Raises:
RuntimeError: if global save handler is not set.
| def save(value: Any, path: str, *args, **kwargs) -> Any:
"""Save a symbolic value using the global save handler.
Example::
@pg.members([
('x', pg.typing.Any())
])
class A(pg.Object):
pass
a1 = A(1)
file = 'my_file.json'
a1.save(file)
a2 = pg.load(file)
assert pg.eq(a1, a2)
Args:
value: value to save.
path: A path string for saving `value`.
*args: Positional arguments that will be passed through to the global
save handler.
**kwargs: Keyword arguments that will be passed through to the global
save handler.
Returns:
Return value from the global save handler.
Raises:
RuntimeError: if global save handler is not set.
"""
save_handler = flags.get_save_handler() or default_save_handler
return save_handler(value, path, *args, **kwargs)
| (value: Any, path: str, *args, **kwargs) -> Any | [
0.01781385764479637,
-0.009564366191625595,
-0.06026811897754669,
0.05018140375614166,
0.021019991487264633,
-0.024658413603901863,
-0.025000641122460365,
0.046831175684928894,
0.020605716854333878,
-0.05028947442770004,
0.0326557382941246,
0.013653088361024857,
-0.029467616230249405,
-0.009672438725829124,
0.0007576293428428471,
0.005799860693514347,
0.015841545537114143,
0.02397395856678486,
0.02310938388109207,
0.04005866497755051,
0.03732084482908249,
0.020155416801571846,
0.03375446796417236,
-0.03092658706009388,
0.0013418932212516665,
-0.04978514090180397,
0.030386226251721382,
0.042688414454460144,
0.026063349097967148,
0.030025986954569817,
0.05601728707551956,
-0.10194786638021469,
0.0010964799439534545,
-0.025955278426408768,
0.011653757654130459,
-0.003512338036671281,
-0.07139952480792999,
0.08969970792531967,
-0.07601059973239899,
-0.08869104087352753,
-0.037573009729385376,
0.0452100932598114,
-0.006907598115503788,
0.013004656881093979,
0.05028947442770004,
0.009055527858436108,
-0.01984921284019947,
0.01974114030599594,
0.01698530651628971,
0.0010604559211060405,
0.004759668372571468,
-0.0010722762672230601,
-0.000652371789328754,
-0.0015951868845149875,
-0.011572703719139099,
0.06361834704875946,
0.03589789569377899,
0.02364974282681942,
-0.01215809304267168,
-0.023739803582429886,
0.06549159437417984,
-0.004356650169938803,
0.039446257054805756,
-0.014823867939412594,
0.06091655045747757,
0.02028150111436844,
-0.032889895141124725,
-0.046290814876556396,
-0.04769574850797653,
0.017228469252586365,
-0.031052671372890472,
-0.0856650248169899,
0.008924940600991249,
-0.014652754180133343,
-0.011941948905587196,
0.028026657178997993,
-0.03314206004142761,
0.03218742460012436,
-0.017102384939789772,
0.03562771528959274,
0.016354886814951897,
-0.07456963509321213,
0.003847811371088028,
-0.019831201061606407,
-0.05796258524060249,
0.007357897702604532,
0.014643747359514236,
0.038149394094944,
-0.008344054222106934,
0.049857188016176224,
0.004356650169938803,
-0.006452795583754778,
0.010356893762946129,
0.025072690099477768,
-0.026999972760677338,
-0.0961119756102562,
0.031178753823041916,
0.002064624335616827,
-0.016841210424900055,
-0.006664436310529709,
-0.01841725967824459,
-0.005660268012434244,
-0.009339217096567154,
-0.012140081264078617,
0.01840825378894806,
-0.006691454444080591,
0.07255229353904724,
-0.022569023072719574,
-0.012752489186823368,
0.003658685367554426,
-0.025126725435256958,
0.0075515266507864,
-0.001988073345273733,
-0.0029697269201278687,
0.01968710497021675,
0.003793775336816907,
-0.02083987183868885,
-0.01638190448284149,
0.012275171466171741,
-0.011275505647063255,
-0.056917887181043625,
0.05147826671600342,
-0.016913259401917458,
0.06999459117650986,
0.0703188106417656,
0.04866839572787285,
0.05187452957034111,
0.007821707054972649,
-0.003512338036671281,
0.017615726217627525,
0.01122146937996149,
-0.0139502864331007,
0.01403134036809206,
0.056917887181043625,
0.03440289944410324,
0.014355556108057499,
0.0012968633091077209,
0.017948947846889496,
-0.018948612734675407,
-0.025000641122460365,
-0.029917914420366287,
-0.02899930439889431,
-0.0053225429728627205,
-0.04877647012472153,
0.08472839742898941,
0.030332190915942192,
-0.00804685615003109,
0.012716464698314667,
0.00796580221503973,
0.019362889230251312,
0.030458275228738785,
-0.009438282810151577,
-0.016183773055672646,
0.08501659333705902,
-0.03234953433275223,
-0.028044668957591057,
0.028963278979063034,
0.023127395659685135,
-0.025955278426408768,
0.018714457750320435,
-0.015319197438657284,
0.028747135773301125,
0.026999972760677338,
-0.08076576143503189,
0.0111314095556736,
0.08220671862363815,
0.0022650077007710934,
0.04794791713356972,
0.03901397064328194,
0.008834880776703358,
-0.04434552043676376,
-0.02139824442565441,
-0.049965258687734604,
0.021092040464282036,
-0.004764171317219734,
0.02244293875992298,
0.023847874253988266,
0.029791831970214844,
0.03395260125398636,
0.01719244383275509,
0.047767795622348785,
-0.0533515140414238,
-0.017723798751831055,
0.028963278979063034,
0.04783984646201134,
0.02287522703409195,
-0.012491314671933651,
0.009627408348023891,
0.026315517723560333,
0.06689652800559998,
0.021812519058585167,
0.039950594305992126,
0.026783829554915428,
-0.0310886949300766,
0.003991907462477684,
-0.037176746875047684,
0.004016673658043146,
-0.06293389201164246,
-0.005304531194269657,
0.06196124479174614,
0.01215809304267168,
-0.04499395191669464,
0.017453618347644806,
-0.025432929396629333,
-0.02089390903711319,
-0.04524612054228783,
0.06988652050495148,
-0.007812700234353542,
-0.04621876776218414,
0.007191286887973547,
-0.0328538678586483,
-0.005254997871816158,
-0.03753698617219925,
0.011914931237697601,
0.061384860426187515,
-0.014130406081676483,
-0.019867224618792534,
0.04560635983943939,
0.008051359094679356,
0.04232817515730858,
0.006808532401919365,
0.055440906435251236,
-0.026477625593543053,
0.017993977293372154,
0.033934589475393295,
-0.06282582134008408,
-0.00010378001752542332,
-0.04769574850797653,
0.034042660146951675,
-0.05392789840698242,
0.017714792862534523,
0.031448934227228165,
-0.013355890288949013,
-0.03980649635195732,
0.016949282959103584,
-0.01819211058318615,
0.03434886410832405,
-0.006817538291215897,
0.0010598930530250072,
-0.010780176147818565,
0.04593057557940483,
-0.020587705075740814,
-0.02249697595834732,
0.027756476774811745,
-0.01019478589296341,
0.006326711270958185,
0.009510330855846405,
-0.017651749774813652,
-0.00002232149927294813,
-0.026315517723560333,
0.08948356658220291,
0.01603967696428299,
-0.015472299419343472,
-0.005979980807751417,
-0.0014499651733785868,
0.0019790674559772015,
-0.024352209642529488,
0.0006067788926884532,
-0.002908936468884349,
0.032997965812683105,
-0.028134727850556374,
0.01950698532164097,
-0.013896250165998936,
0.0151030533015728,
-0.0062906877137720585,
-0.029953939840197563,
-0.018318193033337593,
-0.006128579378128052,
0.032115377485752106,
0.0010959169594570994,
-0.08141419291496277,
0.013761159963905811,
-0.05904330313205719,
-0.03505133092403412,
-0.025991301983594894,
-0.05064971745014191,
-0.015148083679378033,
0.06113269552588463,
0.01251833327114582,
-0.041931912302970886,
0.015256155282258987,
0.004311620257794857,
0.06567171216011047,
-0.04773177206516266,
-0.009312198497354984,
0.034042660146951675,
-0.016571030020713806,
0.006605897098779678,
0.02177649550139904,
-0.021236136555671692,
0.04416539892554283,
0.013734142296016216,
-0.024820521473884583,
0.07529012113809586,
0.03879782557487488,
0.032889895141124725,
-0.059619687497615814,
-0.06783315539360046,
0.07456963509321213,
0.003548362059518695,
0.04081517085433006,
0.021308183670043945,
0.022082699462771416,
0.02584720589220524,
0.0469752699136734,
-0.006592388264834881,
0.03352031484246254,
-0.025162750855088234,
-0.026441602036356926,
0.04971309378743172,
-0.0010407553054392338,
-0.027720453217625618,
-0.009546354413032532,
0.08393587172031403,
0.021344207227230072,
-0.019362889230251312,
-0.01709337905049324,
-0.08609731495380402,
-0.033268146216869354,
-0.01974114030599594,
-0.011419601738452911,
0.010519002564251423,
-0.0258652176707983,
-0.03180917352437973,
0.014328538440167904,
-0.04052697867155075,
-0.005187453236430883,
0.018498314544558525,
0.017354551702737808,
-0.003118325723335147,
-0.00025160497170872986,
0.004624578636139631,
0.06030414253473282,
0.044957928359508514,
0.01698530651628971,
0.02568509802222252,
0.00008738629549043253,
0.03443892300128937,
0.021524328738451004,
-0.007808197755366564,
0.03026014380156994,
0.01869644597172737,
0.005655765067785978,
-0.022226795554161072,
0.015391245484352112,
0.017732804641127586,
-0.019254816696047783,
0.023667754605412483,
0.04185986518859863,
-0.03119676746428013,
0.014850885607302189,
0.02795460820198059,
-0.06390654295682907,
-0.030458275228738785,
-0.02568509802222252,
-0.030422251671552658,
0.049208756536245346,
-0.028693100437521935,
-0.04041890427470207,
-0.08163034170866013,
0.046939246356487274,
0.012086044996976852,
-0.02766641601920128,
-0.02210071124136448,
0.03782517835497856,
0.04387720674276352,
-0.013310860842466354,
0.03416874632239342,
0.03341224044561386,
-0.019272828474640846,
0.05273910611867905,
-0.027864549309015274,
0.02597329020500183,
0.04564238339662552,
0.014508658088743687,
0.0750739723443985,
0.05518873780965805,
0.017165426164865494,
-0.0051469262689352036,
-0.03926613926887512,
0.04877647012472153,
-0.04686719924211502,
0.027684427797794342,
-0.025270821526646614,
0.08616936206817627,
0.00016703306755516678,
0.06949025392532349,
-0.002872912446036935,
-0.024046005681157112,
-0.01764274388551712,
-0.03242158144712448,
-0.007209299132227898,
0.003982901107519865,
-0.028476955369114876,
0.03951830416917801,
0.002778349444270134,
-0.019002649933099747,
0.06610400229692459,
-0.01570645533502102,
0.05803463235497475,
-0.005930447485297918,
-0.015265161171555519,
0.010302858427166939,
-0.020497644320130348,
-0.03274579718708992,
0.0014612226514145732,
0.0035956434439867735,
0.007686616852879524,
0.019434936344623566,
0.03984251990914345,
-0.02950363978743553,
-0.007339885924011469,
-0.05518873780965805,
-0.03283585608005524,
0.06156498193740845,
0.0135089922696352,
0.007479478605091572,
0.02608136087656021,
-0.008100892417132854,
-0.06275377422571182,
-0.02608136087656021,
0.059403542429208755,
-0.04218408092856407,
0.05997992679476738,
0.004912770353257656,
-0.025342870503664017,
0.025775156915187836,
0.009069036692380905,
0.03400663658976555,
0.05144224315881729,
0.020191440358757973,
-0.1140519231557846,
-0.002872912446036935,
0.007529011927545071,
-0.01494094543159008,
-0.038833849132061005,
0.015337209217250347,
-0.055981263518333435,
-0.02519877441227436,
0.01027583982795477,
-0.04481383040547371,
0.014013328589498997,
-0.037176746875047684,
0.029125386849045753,
0.006686951033771038,
-0.07305663079023361,
-0.004347644280642271,
0.03170110285282135,
0.0832153931260109,
-0.008366568945348263,
-0.057314153760671616,
-0.039662402123212814,
0.06913001835346222,
0.0033164576161652803,
0.02132619544863701,
-0.052234772592782974,
-0.0610966682434082,
-0.07565035670995712,
0.02073180116713047,
-0.04639888554811478,
0.015940610319375992,
0.0035371044650673866,
0.04373311251401901,
-0.06862568110227585,
-0.014823867939412594,
0.0003610841231420636,
0.0032511642202734947,
0.02116408757865429,
0.013220801018178463,
-0.024046005681157112,
0.010735145770013332,
0.022695107385516167,
-0.07709131389856339,
0.00634022057056427,
0.03879782557487488,
-0.01846228912472725,
-0.008078377693891525,
-0.04989321157336235,
-0.08141419291496277,
-0.03207935392856598,
0.05241489037871361,
-0.008375575765967369,
-0.041823841631412506,
0.07219205796718597,
0.03467307984828949,
-0.006695957388728857,
0.04160769656300545,
0.005597225856035948,
0.05018140375614166,
0.026045337319374084,
0.024874558672308922,
0.011095385998487473,
-0.03732084482908249,
-0.056485600769519806,
-0.008726809173822403,
0.011635745875537395,
-0.014184442348778248,
0.01543627493083477,
-0.03651030361652374,
-0.04888454079627991,
-0.017489641904830933,
-0.02608136087656021,
-0.027702441439032555,
0.027432261034846306,
-0.0026905410923063755,
-0.02662172168493271,
-0.0035528650041669607,
0.0021220375783741474,
-0.03645626828074455,
0.005709800869226456,
-0.04492190107703209,
0.00486774044111371,
-0.003433535574004054,
0.036294158548116684,
-0.004140506032854319,
0.01929084211587906,
0.04124745726585388,
-0.04791189357638359,
-0.059295471757650375,
-0.02217276021838188,
-0.03433085232973099,
-0.047551654279232025,
0.03132285177707672,
-0.030007975175976753,
-0.025504978373646736,
-0.04992923513054848,
-0.01923680491745472,
0.00906453374773264,
0.034366875886917114,
0.021200112998485565,
0.08609731495380402,
0.03429482877254486,
0.008456629700958729,
0.04063504934310913,
0.04701129347085953,
0.02298329956829548,
0.03234953433275223,
-0.026063349097967148,
0.03951830416917801,
-0.043408896774053574,
0.005236986093223095,
-0.024820521473884583,
-0.07824408262968063,
0.015805521979928017,
0.00826750323176384,
-0.06941820681095123,
0.006655430421233177,
-0.04845225438475609,
0.03589789569377899,
-0.02584720589220524,
-0.012536345049738884,
-0.050973933190107346,
0.05273910611867905,
-0.055368855595588684,
-0.045678406953811646,
-0.03098062239587307,
0.04034685716032982,
0.03948228061199188,
-0.024496305733919144,
-0.004262086935341358,
-0.019975297152996063,
-0.032331522554159164,
-0.005610734689980745,
0.024352209642529488,
-0.004984818398952484,
-0.03247561678290367,
-0.011707793921232224,
-0.004086470231413841,
0.01896662451326847,
-0.010356893762946129,
0.022028664126992226,
0.023343538865447044,
0.03948228061199188,
-0.06592388451099396,
0.02193860337138176,
0.04708334058523178,
-0.004710135515779257,
0.040382880717515945,
-0.03346627578139305,
0.015643414109945297,
-0.03193525969982147,
0.062213413417339325,
-0.04956899583339691,
0.025432929396629333,
0.011149421334266663,
0.0310886949300766,
0.04261636734008789,
0.09459897130727768,
-0.1114581972360611,
0.043697088956832886,
-0.03297995403409004,
0.08386382460594177,
-0.011914931237697601,
-0.04499395191669464,
0.045786477625370026,
-0.03818541765213013,
-0.012743483297526836,
-0.017282504588365555,
0.015472299419343472,
-0.05126212164759636,
-0.039158064872026443,
-0.0010767793282866478,
-0.014535675756633282,
0.0016300850547850132,
-0.008875408209860325,
-0.007173275109380484,
0.036960601806640625,
0.020695775747299194,
0.023829862475395203,
-0.002146804006770253,
-0.05843089520931244,
0.043913230299949646,
-0.020029332488775253,
0.0042530810460448265,
-0.009114067070186138,
0.05320741981267929,
0.020191440358757973,
0.0180209968239069,
-0.08407996594905853,
-0.014796849340200424,
-0.026945937424898148,
-0.014697783626616001,
-0.024496305733919144,
-0.04895658791065216,
0.022190771996974945,
-0.005065872333943844,
-0.05209067463874817,
0.025450941175222397,
-0.006583382375538349,
-0.08624140918254852,
-0.05007333308458328,
-0.011878907680511475,
-0.03359236195683479,
-0.013184776529669762,
0.06282582134008408,
-0.05814270302653313,
-0.003431284101679921,
0.0011454499326646328,
0.0072858501225709915,
0.021704448387026787,
-0.048488277941942215,
0.03483518958091736,
-0.014346550218760967,
0.022190771996974945,
-0.022010652348399162,
0.06203329190611839,
-0.03179116174578667,
-0.0036924579180777073,
0.027576357126235962,
-0.04773177206516266,
0.018786504864692688,
-0.016030671074986458,
-0.02950363978743553,
0.00010800157906487584,
0.08299925178289413,
0.04477780684828758,
0.09409463405609131,
-0.019579032436013222,
-0.010771170258522034,
-0.008578210137784481,
-0.03380850329995155,
-0.036798495799303055,
-0.019092708826065063,
0.037464939057826996,
-0.03771710768342018,
-0.010942284017801285,
-0.03724879398941994,
0.029341531917452812,
0.03782517835497856,
-0.04935285076498985,
-0.008528676815330982,
-0.015724467113614082,
0.008906928822398186,
-0.0016717377584427595,
-0.017408588901162148,
-0.05360368266701698,
-0.0043273805640637875,
0.047767795622348785,
0.009528342634439468,
-0.001379042980261147,
-0.07406530529260635,
-0.005273010116070509,
0.006988652050495148,
-0.024766486138105392,
-0.014373567886650562,
0.056485600769519806,
0.04701129347085953,
0.06621207296848297,
0.009726474992930889,
-0.014238477684557438,
-0.029359543696045876,
-0.026747804135084152,
0.008109898306429386,
-0.02597329020500183,
-0.03081851452589035,
-0.018264157697558403,
0.04794791713356972,
0.044129375368356705,
0.010618068277835846,
-0.009915600530803204,
-0.0393742099404335,
0.03714072331786156,
0.047551654279232025,
-0.016138743609189987,
0.03283585608005524,
-0.05273910611867905,
-0.0257931686937809,
-0.011734811589121819,
0.0007125993724912405,
-0.03912204131484032,
-0.026495637372136116,
-0.00310031371191144,
-0.02046162076294422,
0.019813189283013344,
-0.04654298350214958,
-0.03577181324362755,
-0.02343359962105751,
0.010762164369225502,
-0.07226410508155823,
0.02536088228225708,
-0.05601728707551956,
-0.004095476120710373,
0.03627614676952362,
-0.09301391243934631,
-0.0003703715337906033,
-0.00017969774489756674,
0.011068367399275303,
-0.011725805699825287,
0.07363301515579224,
-0.017606720328330994,
-0.03287188336253166,
-0.0006231022998690605,
-0.013815196231007576,
0.04416539892554283,
-0.01741759479045868,
0.008573707193136215,
0.02690991386771202,
-0.03236754611134529,
-0.0012552106054499745,
0.020695775747299194,
0.030242132022976875,
0.047047317028045654,
0.01631886325776577,
-0.05612536147236824,
0.017849881201982498,
-0.01609371230006218,
-0.03843758627772331,
0.02745027281343937,
-0.027882561087608337,
0.04041890427470207,
0.02590124122798443,
0.05396392196416855,
0.0281707514077425,
0.01641792804002762,
0.04117541015148163,
0.018345212563872337,
0.011347553692758083,
0.0019565524999052286,
0.0014713543932884932,
0.024442270398139954,
-0.06080847978591919,
0.0243702232837677,
-0.015121066011488438,
-0.05497259274125099,
0.06887784600257874,
0.009726474992930889,
-0.07435349375009537,
0.002589223440736532
]
|
41,685 | pyglove.core.symbolic.flags | set_load_handler | Sets global load handler.
Args:
load_handler: A callable object that takes arbitrary arguments and returns
a value. `symbolic.load` method will pass through all arguments to this
handler and return its return value.
Returns:
Previous global load handler.
| def set_load_handler(
load_handler: Optional[Callable[..., Any]]) -> Optional[Callable[..., Any]]:
"""Sets global load handler.
Args:
load_handler: A callable object that takes arbitrary arguments and returns
a value. `symbolic.load` method will pass through all arguments to this
handler and return its return value.
Returns:
Previous global load handler.
"""
if load_handler and not callable(load_handler):
raise ValueError('`load_handler` must be callable.')
global _LOAD_HANDLER
old_handler = _LOAD_HANDLER
_LOAD_HANDLER = load_handler
return old_handler
| (load_handler: Optional[Callable[..., Any]]) -> Optional[Callable[..., Any]] | [
-0.046860989183187485,
-0.023306524381041527,
-0.016373010352253914,
0.05033217370510101,
-0.010395843535661697,
0.0354202501475811,
0.06605876982212067,
0.029203996062278748,
-0.02226162701845169,
-0.059506021440029144,
0.009891104884445667,
-0.05231570824980736,
0.014292070642113686,
-0.025024406611919403,
-0.04048534482717514,
0.009846829809248447,
-0.015726590529084206,
0.050473857671022415,
0.003256449243053794,
-0.00670770974829793,
0.01569117046892643,
-0.013424274511635303,
0.040095724165439606,
-0.021464671939611435,
-0.02562655135989189,
-0.009027736261487007,
-0.006960079073905945,
0.05206776782870293,
0.06744015961885452,
-0.04236261919140816,
0.04969461262226105,
-0.042716823518276215,
-0.038501810282468796,
0.02571510151028633,
0.014841084368526936,
0.005560979247093201,
0.04158337414264679,
0.07424084097146988,
0.0039227926172316074,
-0.0187373124063015,
-0.06372103095054626,
-0.00999736599624157,
0.06492532044649124,
-0.011006842367351055,
0.04586922377347946,
0.021216729655861855,
-0.02640579640865326,
0.025095246732234955,
0.05405130237340927,
-0.01840081997215748,
0.012069450691342354,
-0.014061839319765568,
-0.005552124232053757,
0.03557964041829109,
0.008430019952356815,
0.055113907903432846,
0.02419203147292137,
0.02160635218024254,
-0.010236452333629131,
0.009209265001118183,
0.035048335790634155,
-0.037651725113391876,
-0.009563467465341091,
0.04445241391658783,
0.049800872802734375,
0.0019525412935763597,
-0.01105111837387085,
-0.00529532739892602,
-0.011653262190520763,
-0.010475538671016693,
-0.04764023795723915,
-0.015859417617321014,
-0.01202517468482256,
-0.050048813223838806,
0.03356068581342697,
0.0003663782263174653,
-0.05699118226766586,
-0.0633668303489685,
-0.02706107124686241,
0.030302023515105247,
0.013946723192930222,
-0.026671448722481728,
0.0420084185898304,
0.061772916465997696,
-0.048702843487262726,
-0.06248132139444351,
0.03896227478981018,
0.017409052699804306,
0.0619145967066288,
0.005445863585919142,
-0.07076966017484665,
0.01399985421448946,
0.0009845722233876586,
0.013884738087654114,
-0.0026653737295418978,
-0.03557964041829109,
0.020047862082719803,
0.04275224357843399,
0.02699023112654686,
-0.053838782012462616,
-0.03510146960616112,
-0.07268235087394714,
0.0007460390334017575,
-0.003608437953516841,
0.03793508931994438,
-0.028867503628134727,
0.08727549761533737,
-0.0036482857540249825,
-0.0016470416449010372,
0.007309854030609131,
-0.014362911693751812,
-0.029381098225712776,
-0.01059065479785204,
0.05412214249372482,
-0.01795806735754013,
0.02353675663471222,
0.004569212440401316,
-0.018276849761605263,
-0.00632694223895669,
0.03212616592645645,
-0.09946006536483765,
0.011608987115323544,
-0.00016257341485470533,
0.00007409197132801637,
0.07820791006088257,
0.018684182316064835,
0.005140363704413176,
0.0029664458706974983,
0.05008423328399658,
0.0017477680230513215,
0.04349606856703758,
0.03113440051674843,
-0.008996743708848953,
-0.01949884742498398,
-0.05624735727906227,
-0.06350851058959961,
-0.03396802023053169,
0.0993892252445221,
0.019463427364826202,
0.0016724999295547605,
-0.05709744244813919,
0.015753155574202538,
-0.01152043603360653,
-0.018684182316064835,
0.07126554101705551,
0.027981998398900032,
0.022899191826581955,
0.027858026325702667,
0.018436240032315254,
0.0464005284011364,
0.01214914582669735,
0.002472776221111417,
-0.0018949833465740085,
0.04774649813771248,
-0.05171356350183487,
0.011113103479146957,
-0.0018219291232526302,
0.053697098046541214,
0.016718357801437378,
-0.003781111678108573,
0.010112481191754341,
-0.023908669129014015,
0.0029310258105397224,
-0.10980277508497238,
-0.0027893446385860443,
0.03299396485090256,
0.01898525469005108,
-0.000753787171561271,
0.022031394764780998,
0.04849032312631607,
-0.08203329890966415,
-0.032267846167087555,
-0.01724080741405487,
0.061524976044893265,
0.08139573782682419,
0.039422739297151566,
0.006061290390789509,
-0.03768714517354965,
0.01539009902626276,
0.01564689539372921,
0.05104058235883713,
-0.017019430175423622,
0.019180065020918846,
-0.021659482270479202,
-0.0012629532720893621,
0.04066244885325432,
0.01822371780872345,
-0.023589886724948883,
-0.035792164504528046,
0.01856021024286747,
-0.0043566906824707985,
0.011449595913290977,
0.0022038037423044443,
-0.003340572351589799,
0.02808825857937336,
0.007309854030609131,
-0.03203761577606201,
-0.030585385859012604,
-0.02134069986641407,
0.0332241952419281,
-0.007137180306017399,
0.014035274274647236,
0.008177650161087513,
0.003015148686245084,
-0.021624062210321426,
0.029646748676896095,
0.04470035433769226,
0.07927051931619644,
-0.058726776391267776,
0.018613342195749283,
0.0015905905747786164,
-0.0455150231719017,
-0.06956537067890167,
0.04477119445800781,
0.010785466060042381,
0.008177650161087513,
-0.09754736721515656,
0.053838782012462616,
-0.04866742342710495,
-0.005100516136735678,
0.028194518759846687,
0.048206958919763565,
0.001855135546065867,
0.003688133554533124,
0.010555234737694263,
0.010448973625898361,
-0.028017418459057808,
-0.037651725113391876,
-0.005569834262132645,
0.028531011193990707,
0.0209333673119545,
0.037651725113391876,
-0.00411981763318181,
-0.02235017716884613,
0.03180738538503647,
-0.05050927773118019,
0.06021442636847496,
0.08777137845754623,
0.039174795150756836,
0.022456439211964607,
0.06039152666926384,
0.013362289406359196,
-0.00966087356209755,
-0.020614584907889366,
0.021305279806256294,
0.06963621079921722,
-0.021464671939611435,
0.021641772240400314,
-0.06230422109365463,
0.022899191826581955,
0.00044026263640262187,
0.024351421743631363,
0.012432508170604706,
0.009439496323466301,
0.009138424880802631,
0.06843192130327225,
0.004857001826167107,
0.009731713682413101,
-0.04377942904829979,
0.02158864215016365,
0.01307892706245184,
0.04916330799460411,
0.03476497530937195,
0.011998609639704227,
-0.0022469721734523773,
0.00027699742349795997,
0.019339457154273987,
-0.024333711713552475,
0.018418530002236366,
0.0018496011616662145,
0.018453950062394142,
-0.006703282240778208,
-0.04218551889061928,
0.03441077470779419,
-0.0022757509723305702,
-0.02226162701845169,
-0.053519997745752335,
0.01236166711896658,
0.03155944123864174,
0.028123678639531136,
0.02470562420785427,
0.0011019018711522222,
0.04951750859618187,
0.01728508248925209,
-0.09577635675668716,
0.03299396485090256,
-0.05408672243356705,
-0.032586630433797836,
-0.006951224058866501,
-0.09152592718601227,
0.010785466060042381,
0.019286327064037323,
-0.0465422086417675,
0.051146842539310455,
-0.02497127652168274,
-0.03945815935730934,
-0.022792931646108627,
-0.04218551889061928,
0.05847883224487305,
0.03159486502408981,
-0.02470562420785427,
-0.0677589401602745,
0.0232002642005682,
-0.012512203305959702,
0.030815618112683296,
-0.0727531909942627,
0.06945911049842834,
-0.05585773289203644,
-0.015912547707557678,
0.0309572983533144,
0.0008406774722971022,
0.07806622982025146,
-0.05458260700106621,
-0.006464195437729359,
0.05245739221572876,
0.048702843487262726,
-0.016390720382332802,
-0.023660726845264435,
0.022739801555871964,
0.0039117238484323025,
-0.040095724165439606,
0.020207252353429794,
-0.04597548395395279,
0.014433751814067364,
-0.0020289162639528513,
-0.014619708061218262,
0.04048534482717514,
-0.02116359956562519,
-0.017789820209145546,
-0.0008395705954171717,
-0.0018750594463199377,
-0.055963996797800064,
-0.002254720311611891,
0.008084672503173351,
0.03457016497850418,
0.03196677565574646,
0.008580555208027363,
0.028619561344385147,
0.016001097857952118,
-0.01383160799741745,
0.012219985947012901,
0.030496835708618164,
-0.01999473199248314,
-0.003942716401070356,
0.007929708808660507,
-0.013424274511635303,
-0.0049898275174200535,
-0.0021628490649163723,
0.02284606173634529,
-0.056636981666088104,
-0.0309572983533144,
-0.03952899947762489,
-0.03526085987687111,
-0.019587397575378418,
0.008562845177948475,
-0.038324709981679916,
-0.010741190984845161,
0.026671448722481728,
0.04062702879309654,
-0.05507848784327507,
0.015947967767715454,
-0.017816385254263878,
-0.06938827037811279,
-0.019250905141234398,
0.023430494591593742,
0.09329693764448166,
0.01138761080801487,
-0.006738702766597271,
-0.04328354448080063,
-0.01059065479785204,
0.02217307686805725,
-0.05709744244813919,
0.025608841329813004,
0.024014929309487343,
0.02683083899319172,
0.0774286687374115,
-0.001748874899931252,
-0.000363334285793826,
-0.003431336721405387,
-0.021641772240400314,
0.07820791006088257,
0.02327110432088375,
0.007146035321056843,
-0.012795565649867058,
0.01972907967865467,
-0.04066244885325432,
0.016576677560806274,
0.03457016497850418,
-0.025750521570444107,
0.014770244248211384,
0.028300780802965164,
0.0024882724974304438,
0.03899769484996796,
0.03694332018494606,
0.0597185418009758,
-0.014114969410002232,
-0.04034366458654404,
0.07140722125768661,
0.006025869864970446,
0.016311025246977806,
0.010431263595819473,
-0.0023532328195869923,
0.01463741809129715,
-0.0040821838192641735,
-0.013813897967338562,
0.029823850840330124,
-0.02892063371837139,
0.02344820648431778,
0.0007355236448347569,
-0.04438157379627228,
-0.020472904667258263,
0.052669912576675415,
-0.06655465066432953,
-0.030390575528144836,
-0.04307102411985397,
0.030248893424868584,
0.09358029812574387,
0.03127608075737953,
0.00005344168675947003,
-0.04268139973282814,
0.017834095284342766,
0.03194906562566757,
-0.014584288001060486,
-0.003422481706365943,
0.02977072075009346,
-0.003615079214796424,
0.01607193797826767,
-0.004865856841206551,
-0.021464671939611435,
0.030071793124079704,
-0.018206007778644562,
0.019109224900603294,
0.0026166709139943123,
-0.04122916981577873,
-0.021464671939611435,
-0.0264943465590477,
0.010457828640937805,
0.02259811945259571,
0.005175784230232239,
-0.013574810698628426,
-0.05943518131971359,
-0.005370595492422581,
-0.019162354990839958,
-0.0012042885646224022,
-0.003756760386750102,
-0.018701892346143723,
-0.04253971949219704,
0.08536279946565628,
-0.04788817837834358,
-0.0633668303489685,
-0.05801837146282196,
-0.05964770168066025,
0.006362362299114466,
0.01392015814781189,
0.026423506438732147,
-0.006712137255817652,
-0.0287612434476614,
-0.005950602237135172,
0.008580555208027363,
0.02596304379403591,
-0.015115591697394848,
0.009669728577136993,
0.048029858618974686,
-0.019339457154273987,
-0.06566914170980453,
0.017107980325818062,
0.03550880029797554,
-0.018206007778644562,
-0.030213473364710808,
0.037403784692287445,
-0.016080792993307114,
-0.028442461043596268,
-0.03290541097521782,
0.0035508801229298115,
0.008044824004173279,
-0.01703714020550251,
0.0012087160721421242,
-0.009687438607215881,
-0.018684182316064835,
-0.04689641296863556,
0.02084481716156006,
0.04055618494749069,
-0.017178820446133614,
0.02918628603219986,
-0.013557100668549538,
0.015930257737636566,
0.029965531080961227,
0.029505068436264992,
-0.002840261207893491,
0.012538768351078033,
-0.03157715126872063,
0.05826631188392639,
-0.01531040295958519,
-0.040272824466228485,
0.029310256242752075,
0.01210487075150013,
0.03963525965809822,
0.03618178516626358,
0.05274075269699097,
0.028690403327345848,
0.01071462593972683,
-0.016780342906713486,
-0.043460648506879807,
0.04555044323205948,
0.0324980802834034,
-0.027202751487493515,
-0.022066816687583923,
0.018206007778644562,
-0.05135936290025711,
-0.00752680329605937,
-0.007774745114147663,
0.021818874403834343,
-0.006287094205617905,
0.04091038927435875,
0.0102098872885108,
-0.01387588307261467,
0.03974151983857155,
0.008948041126132011,
-0.033188775181770325,
-0.0007914212183095515,
0.02784031629562378,
-0.04919872805476189,
0.004750741180032492,
-0.05143020302057266,
-0.06393355131149292,
-0.03416283056139946,
-0.02015412226319313,
0.04540875926613808,
0.020366644486784935,
-0.06063946709036827,
0.032197006046772,
0.0553264319896698,
-0.05256365239620209,
0.006902521476149559,
0.010077061131596565,
0.05398046225309372,
0.003012934932485223,
-0.03448161482810974,
-0.003925006370991468,
-0.04810069873929024,
-0.036234915256500244,
0.006566029042005539,
-0.01109539344906807,
0.06134787201881409,
0.02362530678510666,
-0.06446485221385956,
-0.046506788581609726,
0.06591708213090897,
0.0075932159088552,
-0.04342522844672203,
-0.03687248006463051,
0.003008507424965501,
0.04409821331501007,
-0.061524976044893265,
-0.018524790182709694,
-0.10703999549150467,
0.014628563076257706,
-0.003074920503422618,
-0.027309013530611992,
0.005715942941606045,
-0.01294610183686018,
-0.038005929440259933,
-0.046613048762083054,
0.06230422109365463,
0.016390720382332802,
-0.05135936290025711,
-0.037651725113391876,
-0.007331991568207741,
-0.023890959098935127,
-0.023430494591593742,
-0.010448973625898361,
0.046435948461294174,
-0.018701892346143723,
-0.05185524746775627,
-0.01555834524333477,
0.054192982614040375,
0.03003637306392193,
-0.002472776221111417,
0.012255406938493252,
0.016842329874634743,
-0.016133923083543777,
0.05348457768559456,
-0.01147616095840931,
0.06386271119117737,
-0.030479125678539276,
-0.04285850375890732,
0.0408395491540432,
0.10895268619060516,
-0.02647663652896881,
0.017178820446133614,
-0.039174795150756836,
0.022544989362359047,
-0.025236928835511208,
-0.05001339316368103,
0.011653262190520763,
-0.01210487075150013,
-0.022208496928215027,
0.037757985293865204,
0.042043838649988174,
-0.039776939898729324,
-0.044239893555641174,
0.015469794161617756,
-0.03476497530937195,
-0.02665373869240284,
-0.017471037805080414,
-0.02057916484773159,
0.00733641954138875,
0.033525265753269196,
-0.0309572983533144,
-0.007690622005611658,
-0.018772732466459274,
0.007101760245859623,
0.017586154863238335,
0.01236166711896658,
-0.007982838898897171,
0.025166086852550507,
0.044062789529561996,
-0.01786951534450054,
-0.008549562655389309,
-0.0287612434476614,
-0.04034366458654404,
-0.0001093738610506989,
0.03136463090777397,
-0.0342513807117939,
0.006105565465986729,
-0.00016174325719475746,
-0.0009845722233876586,
-0.0009109645616263151,
0.03286999091506004,
-0.023164844140410423,
-0.05323663726449013,
-0.024262871593236923,
0.012538768351078033,
-0.015965677797794342,
0.045160818845033646,
-0.049304988235235214,
0.07721614837646484,
0.0408395491540432,
0.0654212012887001,
-0.0009115180000662804,
0.041300009936094284,
0.0003544792125467211,
-0.0039050825871527195,
-0.017674705013632774,
0.04207925871014595,
0.04657762870192528,
-0.030656225979328156,
0.06372103095054626,
0.04477119445800781,
-0.01889670267701149,
0.01324717327952385,
-0.016674082726240158,
-0.05341373756527901,
0.0051049436442554,
-0.0020488400477916002,
-0.0019602894317358732,
0.03704958036541939,
-0.018666472285985947,
0.05762874707579613,
-0.02118130959570408,
-0.08203329890966415,
0.038430970162153244,
-0.012087160721421242,
0.0531303770840168,
0.011290204711258411,
-0.0151864318177104,
-0.004312415607273579,
-0.03186051547527313,
-0.03818302974104881,
-0.04866742342710495,
0.011068828403949738,
-0.031098980456590652,
0.029203996062278748,
-0.04232719913125038,
0.006667862180620432,
-0.0253963191062212,
-0.01829455979168415,
-0.001105775940231979,
0.007393977139145136,
0.03472955524921417,
-0.03956441953778267,
0.07115928083658218,
-0.038926854729652405,
-0.03814760968089104,
-0.04321270436048508,
0.05610567703843117,
-0.007517948281019926,
-0.005459146108478308,
0.03651827946305275,
0.0025945333763957024,
0.029983241111040115,
0.007318709045648575,
0.002818123670294881,
-0.020703136920928955,
-0.07388664036989212,
-0.0187373124063015,
-0.01687774993479252,
-0.0821041390299797,
-0.028212228789925575,
0.026883969083428383,
0.011237074621021748,
-0.005534414201974869,
-0.04402736946940422,
-0.03290541097521782,
-0.020561454817652702,
-0.04292934387922287,
-0.0750909298658371,
0.007792455144226551,
-0.04193757474422455,
0.007106187753379345,
0.02741527371108532,
-0.06386271119117737,
-0.021305279806256294,
-0.005264334846287966,
-0.010909437201917171,
-0.03991862013936043,
-0.05844341218471527,
-0.004053405020385981,
-0.07066339999437332,
0.04526707902550697,
-0.06655465066432953,
-0.03573903068900108,
0.01797577738761902,
-0.05256365239620209,
0.04225635901093483,
0.037085000425577164,
0.028353910893201828,
-0.011113103479146957,
-0.005897471681237221,
-0.003422481706365943,
-0.012158000841736794,
0.019357167184352875,
0.004033480770885944,
0.06857360154390335,
0.0019149072468280792,
-0.050155073404312134,
0.009457206353545189,
-0.0031413333490490913,
0.02302316203713417,
-0.032675180584192276,
-0.008430019952356815,
-0.039847780019044876,
-0.0006829467019997537,
0.00421943748369813,
0.03306480497121811,
-0.029806140810251236,
-0.030673936009407043,
0.031931355595588684,
-0.036412015557289124,
0.09775988757610321,
-0.08174993842840195,
0.05879761651158333,
0.049482088536024094,
0.0023288815282285213,
-0.0039006550796329975,
-0.011741813272237778,
-0.06230422109365463,
0.03754546493291855,
0.00974942371249199,
0.003674851031973958,
-0.05801837146282196,
-0.004330125637352467,
-0.09343861788511276,
-0.04006030410528183,
0.11794943362474442,
0.01037813350558281,
0.0028424751944839954,
0.0046090600080788136
]
|
41,686 | pyglove.core.symbolic.flags | set_origin_stacktrace_limit | Set stack trace limit for origin tracking. | def set_origin_stacktrace_limit(limit: int) -> None:
"""Set stack trace limit for origin tracking."""
global _ORIGIN_STACKTRACE_LIMIT
_ORIGIN_STACKTRACE_LIMIT = limit
| (limit: int) -> NoneType | [
-0.029756970703601837,
0.01600460894405842,
-0.03794696182012558,
0.06483743339776993,
-0.06596355885267258,
0.011576894670724869,
-0.03057597018778324,
0.029432782903313637,
-0.037742212414741516,
-0.046853579580783844,
-0.03688908740878105,
-0.03057597018778324,
-0.02909153327345848,
-0.03787871077656746,
-0.010228958912193775,
0.01253239344805479,
0.023733913898468018,
-0.02477472461760044,
0.013581736013293266,
0.012310581281781197,
-0.011713394895195961,
-0.025235412642359734,
-0.04617108032107353,
-0.05405394732952118,
-0.005532510112971067,
0.064120814204216,
-0.05746644362807274,
0.0676698088645935,
0.026532160118222237,
-0.022368915379047394,
-0.06780631095170975,
-0.025713162496685982,
-0.024723537266254425,
-0.003182152984663844,
0.03951670974493027,
-0.07193543016910553,
-0.0322139672935009,
-0.0037132229190319777,
-0.05620381981134415,
-0.02049204148352146,
-0.0380152128636837,
0.011738988570868969,
-0.0251330379396677,
0.012856581248342991,
0.02397278882563114,
-0.010467832908034325,
0.04531795531511307,
0.02361447550356388,
0.034312654286623,
0.0040267459116876125,
-0.046921826899051666,
0.042895082384347916,
-0.0364113375544548,
-0.005430135410279036,
0.05009545013308525,
0.019690105691552162,
-0.006551993545144796,
0.028920909389853477,
0.018632231280207634,
-0.07220842689275742,
-0.0038753163535147905,
0.009896240197122097,
0.017036888748407364,
-0.016115514561533928,
0.028067784383893013,
-0.007349664345383644,
-0.004483167547732592,
0.030456531792879105,
-0.02064560353755951,
-0.014016829431056976,
-0.006283259484916925,
-0.019092919304966927,
-0.03968733549118042,
0.0167553573846817,
0.008177194744348526,
-0.03845883533358574,
-0.03432971611618996,
0.07384642958641052,
-0.0779414251446724,
0.006334446836262941,
0.03460271656513214,
0.012557987123727798,
0.05715931951999664,
0.025815537199378014,
0.0015228266129270196,
-0.02909153327345848,
0.006462415214627981,
0.02016785554587841,
0.045215580612421036,
-0.018956419080495834,
-0.03200921788811684,
0.029228033497929573,
-0.039482586085796356,
-0.01498086005449295,
-0.011764582246541977,
0.02509891241788864,
0.0167553573846817,
-0.02799953520298004,
-0.018819918856024742,
-0.008932209573686123,
-0.011918144300580025,
-0.022010603919625282,
-0.0013767291093245149,
-0.04419182986021042,
0.0373668372631073,
0.0244846623390913,
0.04248558357357979,
-0.028170159086585045,
-0.009384365752339363,
0.029688719660043716,
0.0016422639600932598,
0.002821708098053932,
0.010135115124285221,
0.016917452216148376,
-0.01672976464033127,
0.029228033497929573,
-0.019058793783187866,
-0.010996770113706589,
0.023273225873708725,
-0.005233916454017162,
0.0005763919907622039,
0.0193317923694849,
-0.010945582762360573,
-0.027624160051345825,
-0.004016081802546978,
0.04292920604348183,
0.03178740665316582,
0.030490657314658165,
0.0005561303114518523,
-0.044533081352710724,
-0.008015101775527,
-0.06623655557632446,
-0.035933587700128555,
0.02409222535789013,
0.022112978622317314,
0.02615678682923317,
-0.02886972203850746,
0.01984366774559021,
-0.003052051644772291,
-0.026634536683559418,
-0.0628240630030632,
0.06111781299114227,
0.04443070665001869,
-0.022727226838469505,
-0.03835646063089371,
0.037162087857723236,
0.036479588598012924,
0.004359464161098003,
0.0058225723914802074,
-0.011022363789379597,
0.021822916343808174,
-0.03264053165912628,
-0.06664606183767319,
0.02695872262120247,
-0.052654821425676346,
0.04548858106136322,
0.00024247387773357332,
0.009000459685921669,
0.05866081640124321,
0.05285957083106041,
-0.04794557765126228,
-0.020696790888905525,
0.014298360794782639,
-0.08838365972042084,
-0.04241733253002167,
-0.06493981182575226,
0.026361536234617233,
0.02967165783047676,
-0.030302969738841057,
0.06374543905258179,
-0.020338479429483414,
0.0038561210967600346,
0.05852431803941727,
0.04002858325839043,
0.05067557469010353,
0.04094995930790901,
-0.037708088755607605,
-0.0015100297750905156,
-0.037162087857723236,
0.04019920900464058,
-0.003794269636273384,
-0.03363015502691269,
0.04995895177125931,
-0.039414335042238235,
0.03323771804571152,
-0.04125708341598511,
0.00296034081839025,
-0.012626237235963345,
0.02782890945672989,
0.038834210485219955,
0.01686626486480236,
0.008279569447040558,
0.07487017661333084,
-0.08647266030311584,
-0.022437164559960365,
-0.00881277211010456,
0.01839335635304451,
-0.05852431803941727,
0.039960335940122604,
-0.03037121891975403,
-0.041666582226753235,
0.09111365675926208,
0.030388282611966133,
-0.09862115234136581,
0.09288815408945084,
0.10674289613962173,
0.02438228763639927,
-0.006398431025445461,
-0.011628082022070885,
0.09643715620040894,
-0.020406730473041534,
-0.020150791853666306,
0.0018331505125388503,
-0.002051763469353318,
-0.018922293558716774,
0.04094995930790901,
-0.04620520398020744,
0.006624509114772081,
0.031940966844558716,
0.03018353320658207,
0.07063867896795273,
-0.05688631907105446,
-0.09766565263271332,
-0.08688216656446457,
0.017693795263767242,
0.03501221537590027,
0.025934973731637,
-0.028340784832835197,
0.07896517217159271,
-0.03692321479320526,
-0.0043679955415427685,
-0.012046112678945065,
-0.06855705380439758,
-0.012105831876397133,
0.0579783171415329,
0.018154481425881386,
0.06220981106162071,
-0.02045791782438755,
-0.016354389488697052,
-0.046955954283475876,
-0.051869947463274,
-0.006057181395590305,
0.03692321479320526,
0.02950103208422661,
-0.030456531792879105,
0.0020187050104141235,
-0.031940966844558716,
0.03311827778816223,
0.024109289050102234,
0.014869953505694866,
0.03424440324306488,
0.017275763675570488,
-0.10312564671039581,
-0.013206361792981625,
-0.012805393896996975,
-0.03675258904695511,
0.05053907632827759,
-0.019144106656312943,
-0.021379292011260986,
0.006505071651190519,
-0.016234952956438065,
-0.05746644362807274,
-0.021157478913664818,
-0.05579432100057602,
0.005788447335362434,
0.04023333638906479,
-0.07268618047237396,
-0.043441083282232285,
0.0036257775500416756,
-0.00735393026843667,
0.06657780706882477,
-0.01987779326736927,
-0.02956928312778473,
0.05367857217788696,
-0.05920681729912758,
-0.03729858621954918,
-0.043543457984924316,
0.0489693246781826,
-0.01676389016211033,
-0.027453534305095673,
0.029330408200621605,
-0.038219962269067764,
0.040472209453582764,
0.013991235755383968,
-0.02252247743308544,
-0.02180585265159607,
0.013249018229544163,
-0.0001488968264311552,
-0.033101215958595276,
-0.014494579285383224,
-0.036991462111473083,
0.04309983178973198,
0.021208666265010834,
-0.04794557765126228,
-0.019980167970061302,
-0.05692044273018837,
0.022112978622317314,
-0.02325616404414177,
0.008846897631883621,
0.06043531373143196,
-0.027487659826874733,
-0.03127552941441536,
-0.010749364271759987,
0.03586534038186073,
0.07589392364025116,
-0.014050954952836037,
0.05456582084298134,
-0.06265343725681305,
0.014195986092090607,
0.011303895153105259,
0.0030136611312627792,
0.06964905560016632,
-0.027231723070144653,
-0.034005530178546906,
0.052142947912216187,
0.052142947912216187,
0.01607285812497139,
-0.013812080025672913,
-0.016209358349442482,
0.03723033890128136,
0.0034615511540323496,
-0.04668295383453369,
0.006108368746936321,
-0.08442516624927521,
0.027692409232258797,
0.005378947593271732,
0.031872719526290894,
-0.007695179898291826,
-0.017932670190930367,
-0.03862946107983589,
-0.032777030020952225,
-0.0360700897872448,
-0.00027459932607598603,
0.0006057181162759662,
0.0360700897872448,
0.04077933356165886,
-0.023273225873708725,
0.01712220162153244,
0.004156847484409809,
-0.013752360828220844,
-0.03014940768480301,
-0.04013096168637276,
-0.0010962645756080747,
0.02132810279726982,
0.055555444210767746,
0.021891165524721146,
0.07452892512083054,
-0.029159782454371452,
0.03105371817946434,
0.018410418182611465,
-0.029978781938552856,
0.013641455210745335,
-0.0008301964262500405,
-0.005114479456096888,
-0.017608482390642166,
0.018888168036937714,
0.003708957228809595,
0.032811153680086136,
-0.008057757280766964,
0.011918144300580025,
-0.01109914481639862,
-0.00440638605505228,
0.011082082986831665,
-0.01984366774559021,
-0.01225939393043518,
0.06319943815469742,
-0.0023482241667807102,
-0.03852708637714386,
0.03264053165912628,
0.014912609942257404,
-0.03514871373772621,
-0.053200822323560715,
0.010604333132505417,
0.010962645523250103,
-0.016780951991677284,
0.03978971019387245,
-0.019451230764389038,
0.02564491145312786,
-0.049822449684143066,
0.03308415412902832,
0.04733132943511009,
0.019451230764389038,
0.018734605982899666,
-0.04320220649242401,
-0.032231029123067856,
0.04193958267569542,
0.015245328657329082,
-0.038800086826086044,
0.032845281064510345,
0.0056647444143891335,
0.03740096092224121,
-0.04241733253002167,
0.04255383089184761,
0.025849660858511925,
-0.0038028007838875055,
-0.03856121003627777,
-0.02880147099494934,
0.052040573209524155,
0.01926354318857193,
0.01614964008331299,
-0.015799859538674355,
0.07739542424678802,
-0.014366610907018185,
0.01701982691884041,
0.020321417599916458,
-0.000466285680886358,
0.0007160910754464567,
-0.015501265414059162,
0.024433474987745285,
0.010211896151304245,
-0.00479882350191474,
-0.05995756387710571,
0.012464143335819244,
0.0036001838743686676,
0.025781411677598953,
0.004662323277443647,
-0.0023908803705126047,
-0.046375829726457596,
0.043338704854249954,
-0.041666582226753235,
0.052108824253082275,
-0.018990542739629745,
-0.01962185464799404,
-0.007848742417991161,
-0.010911458171904087,
-0.00190673244651407,
-0.02470647543668747,
-0.03311827778816223,
0.0019877792801707983,
0.009281991049647331,
-0.04620520398020744,
0.048082076013088226,
0.03835646063089371,
0.018956419080495834,
0.026685724034905434,
-0.009614708833396435,
-0.00014143198495730758,
0.04439657926559448,
0.000013904923434893135,
0.013487893156707287,
0.027555910870432854,
-0.03951670974493027,
-0.003320785705000162,
-0.04204195737838745,
0.02325616404414177,
0.022181227803230286,
0.0005715931765735149,
0.039346083998680115,
-0.04600045457482338,
-0.016627389937639236,
-0.029876407235860825,
-0.029006220400333405,
-0.032486967742443085,
-0.052040573209524155,
-0.020628541707992554,
-0.017642607912421227,
-0.04873045161366463,
0.018990542739629745,
-0.013641455210745335,
0.009921833872795105,
-0.012933362275362015,
-0.014682266861200333,
0.03438090160489082,
-0.036581963300704956,
0.033032968640327454,
0.07910167425870895,
0.08162692189216614,
-0.015117360278964043,
-0.03661608695983887,
-0.02154991589486599,
0.044533081352710724,
-0.0050718230195343494,
-0.03920958563685417,
-0.013027206063270569,
0.042963333427906036,
0.012284987606108189,
-0.012182612903416157,
0.059548065066337585,
0.03545583784580231,
0.06937605887651443,
-0.010049802251160145,
-0.03403965383768082,
0.07896517217159271,
-0.018495731055736542,
-0.010740833356976509,
-0.06405255943536758,
-0.022044727578759193,
-0.036001838743686676,
0.010612864047288895,
0.053815070539712906,
0.019451230764389038,
-0.00699988380074501,
-0.027487659826874733,
-0.008646413683891296,
0.02895503304898739,
0.04501083120703697,
0.016960108652710915,
-0.0028515674639493227,
-0.0012540925526991487,
-0.019280605018138885,
-0.03781046345829964,
-0.06930780410766602,
-0.07992067188024521,
-0.05012957379221916,
0.008258242160081863,
0.024348163977265358,
-0.01311251800507307,
0.013752360828220844,
-0.02702697366476059,
-0.0048030889593064785,
0.038219962269067764,
0.05115332454442978,
-0.013829142786562443,
0.04176895692944527,
0.029296282678842545,
-0.018512794747948647,
-0.012830987572669983,
0.04658057913184166,
0.048628076910972595,
-0.036547839641571045,
-0.008467257022857666,
-0.046375829726457596,
0.06978555768728256,
-0.01138920709490776,
0.04722895100712776,
-0.060025814920663834,
0.03900483623147011,
0.02013373002409935,
0.014161860570311546,
0.05855844169855118,
0.012720081023871899,
0.02695872262120247,
0.012378831394016743,
0.011764582246541977,
0.07896517217159271,
0.029620470479130745,
-0.0402674600481987,
-0.0602305643260479,
0.012924830429255962,
-0.0025039194151759148,
-0.06207331269979477,
-0.04234908148646355,
0.019348856061697006,
0.044601328670978546,
-0.037708088755607605,
-0.04705832898616791,
-0.06275581568479538,
0.048491574823856354,
-0.010604333132505417,
-0.06255105882883072,
0.10401289910078049,
0.03924370929598808,
0.0934341549873352,
0.020082542672753334,
-0.05746644362807274,
-0.051869947463274,
0.07043392956256866,
0.008262507617473602,
0.01832510717213154,
0.023819226771593094,
-0.013914454728364944,
-0.0002406076673651114,
0.06688493490219116,
-0.03380077704787254,
-0.052040573209524155,
-0.01929766871035099,
-0.06705556064844131,
0.06016231328248978,
-0.04487432911992073,
0.00598466582596302,
-0.010928520001471043,
0.024911224842071533,
0.017710857093334198,
0.047467827796936035,
-0.015211203135550022,
0.02183997817337513,
0.028682034462690353,
0.0467170774936676,
-0.00787007063627243,
0.03173621743917465,
-0.00006028521966072731,
0.010919989086687565,
-0.010860270820558071,
-0.026139723137021065,
-0.009537927806377411,
0.04531795531511307,
0.0009379033581353724,
-0.019707167521119118,
0.015876639634370804,
0.04241733253002167,
-0.0029496767092496157,
0.058865565806627274,
-0.04999307543039322,
-0.04255383089184761,
0.0013895259471610188,
0.05593081936240196,
-0.05504357069730759,
-0.032486967742443085,
0.053780946880578995,
0.062346313148736954,
-0.015160015784204006,
-0.007682383060455322,
-0.004577010869979858,
0.02387041412293911,
-0.017983857542276382,
-0.03066128119826317,
-0.018956419080495834,
-0.056681569665670395,
0.016269076615571976,
0.0573299415409565,
-0.027777722105383873,
0.010595802217721939,
0.025184225291013718,
-0.02912565879523754,
-0.0663730576634407,
0.003924371208995581,
0.02329028956592083,
0.03613833710551262,
0.018052106723189354,
-0.014366610907018185,
0.01195226889103651,
-0.007678117137402296,
-0.018819918856024742,
-0.02677103504538536,
-0.010416645556688309,
0.007989508099853992,
0.0031544265802949667,
-0.02020197920501232,
-0.050368450582027435,
0.032162781804800034,
-0.02271016500890255,
-0.00419950345531106,
-0.005208322778344154,
-0.048047952353954315,
-0.01541595347225666,
-0.0052765728905797005,
-0.01813741959631443,
0.015697484835982323,
-0.023597413673996925,
0.03545583784580231,
0.039926208555698395,
-0.009981552138924599,
-0.043372832238674164,
0.02151579037308693,
-0.05654506757855415,
0.0415642075240612,
-0.024433474987745285,
-0.027231723070144653,
-0.021959414705634117,
-0.01897348091006279,
0.026020286604762077,
0.022027665749192238,
-0.017395202070474625,
0.05760294198989868,
-0.011662207543849945,
0.020833291113376617,
-0.07534792274236679,
0.04371408000588417,
0.06879593431949615,
-0.05050494894385338,
0.04763845354318619,
-0.03467096388339996,
0.03579708933830261,
0.01443486101925373,
0.011884019710123539,
0.022368915379047394,
-0.0222324151545763,
0.0031992155127227306,
-0.016166701912879944,
-0.01832510717213154,
0.028067784383893013,
-0.04299745708703995,
-0.015902234241366386,
-0.0025401771999895573,
0.028033658862113953,
-0.014750516042113304,
-0.03151440620422363,
0.05924094095826149,
-0.042212583124637604,
-0.04951532557606697,
-0.00023247633362188935,
0.023955725133419037,
0.005558103788644075,
-0.04207608476281166,
0.026941660791635513,
0.05975281447172165,
-0.05391744524240494,
0.0314120315015316,
0.0182056687772274,
0.0795794203877449,
0.04651232808828354,
-0.03777633607387543,
-0.03383490443229675,
0.06784043461084366,
-0.05296194553375244,
0.03257228061556816,
-0.0579783171415329,
-0.04794557765126228,
0.0022245212458074093,
-0.003307988867163658,
0.01412773597985506,
0.057875942438840866,
-0.006795133929699659,
-0.024655288085341454,
-0.02503066323697567,
-0.04234908148646355,
-0.007673851680010557,
-0.008245444856584072,
0.019127042964100838,
-0.009503803215920925,
0.016815077513456345,
-0.001811822410672903,
0.03497809171676636,
-0.022061791270971298,
-0.020799167454242706,
0.021379292011260986,
-0.02213004045188427,
-0.028170159086585045,
0.00888955406844616,
-0.009171084500849247,
0.00239941175095737,
0.06592943519353867,
-0.019604792818427086,
0.04668295383453369,
0.03525108844041824,
0.02470647543668747,
0.01730135828256607,
0.01369264256209135,
-0.018273919820785522,
-0.03195803239941597,
0.016371453180909157,
0.030917219817638397,
-0.03228221833705902,
0.023631539195775986,
-0.007080930285155773,
-0.015825452283024788,
-0.010732301510870457,
0.026327410712838173,
-0.010595802217721939,
-0.032777030020952225,
0.010629926808178425,
-0.09739265590906143,
-0.054872944951057434,
0.005459994543343782,
0.0336642786860466,
0.004726307932287455,
-0.01224233116954565,
0.012873643077909946,
0.02970578335225582,
0.05006132647395134,
0.02709522284567356,
0.002538044238463044,
0.017071014270186424,
-0.06398431211709976,
-0.023699788376688957,
-0.009819459170103073,
-0.05245007202029228,
0.04207608476281166,
0.011773113161325455,
0.029910532757639885,
-0.053269073367118835,
0.008565366268157959,
-0.021566977724432945,
0.007614132948219776,
0.04364583268761635,
0.02013373002409935,
0.016780951991677284,
0.010715239681303501
]
|
41,687 | pyglove.core.symbolic.flags | set_save_handler | Sets global save handler.
Args:
save_handler: A callable object that takes at least one argument as value to
save. `symbolic.save` method will pass through all arguments to this
handler and return its return value.
Returns:
Previous global save handler.
| def set_save_handler(
save_handler: Optional[Callable[..., Any]]) -> Optional[Callable[..., Any]]:
"""Sets global save handler.
Args:
save_handler: A callable object that takes at least one argument as value to
save. `symbolic.save` method will pass through all arguments to this
handler and return its return value.
Returns:
Previous global save handler.
"""
if save_handler and not callable(save_handler):
raise ValueError('`save_handler` must be callable.')
global _SAVE_HANDLER
old_handler = _SAVE_HANDLER
_SAVE_HANDLER = save_handler
return old_handler
| (save_handler: Optional[Callable[..., Any]]) -> Optional[Callable[..., Any]] | [
-0.04541965574026108,
-0.004445261787623167,
-0.032264355570077896,
0.07301370054483414,
-0.011943159624934196,
-0.024171529337763786,
0.005597241688519716,
0.0714450478553772,
0.019233833998441696,
-0.03967981040477753,
0.011613385751843452,
-0.03764769062399864,
0.002244912786409259,
-0.027094928547739983,
-0.01625695638358593,
0.011239048093557358,
0.008329017087817192,
0.0019129108404740691,
0.02212158404290676,
0.025027157738804817,
0.028021860867738724,
-0.027326662093400955,
0.01873471774160862,
-0.029840072616934776,
-0.018289076164364815,
0.0015018077101558447,
0.012406624853610992,
0.07779096812009811,
0.06934162974357605,
-0.00031891133403405547,
0.037897247821092606,
-0.07978743314743042,
-0.009759522043168545,
-0.0007820986793376505,
0.02288808487355709,
0.020214242860674858,
-0.03484907001256943,
0.12656183540821075,
-0.029857898131012917,
-0.0421040914952755,
-0.05771932750940323,
-0.0047683510929346085,
0.035419490188360214,
0.029554862529039383,
0.032228704541921616,
0.04324493184685707,
-0.025544101372361183,
0.025882788002490997,
0.07522407919168472,
-0.034759942442178726,
-0.003123938338831067,
0.021372906863689423,
-0.023066340014338493,
0.030677877366542816,
-0.028039686381816864,
0.031248295679688454,
0.047630034387111664,
0.018930798396468163,
-0.004830740392208099,
-0.02434978447854519,
0.01700563356280327,
-0.006586563307791948,
0.013912889175117016,
0.008805851452052593,
0.06755906343460083,
0.022620700299739838,
-0.0519438311457634,
0.011185570620000362,
0.010517110116779804,
0.02529454231262207,
-0.051658619195222855,
-0.06545564532279968,
-0.02290591038763523,
-0.036168165504932404,
-0.004313797689974308,
-0.03650685027241707,
-0.02524106577038765,
-0.02841402404010296,
-0.04812914878129959,
0.0524786002933979,
0.028717059642076492,
-0.042745813727378845,
0.013903976418077946,
0.0490204319357872,
-0.043601445853710175,
-0.05051778256893158,
0.05365508794784546,
0.05615067481994629,
0.014830908738076687,
0.016658034175634384,
-0.05857495963573456,
0.011123181320726871,
0.038788530975580215,
-0.012094677425920963,
-0.04399360716342926,
-0.04916303604841232,
-0.04153367504477501,
0.014501134864985943,
0.02536584436893463,
-0.04424316808581352,
-0.04951954632997513,
-0.040357183665037155,
-0.0053298575803637505,
-0.005512570030987263,
0.029733119532465935,
-0.018396031111478806,
0.08427949249744415,
-0.003926090896129608,
-0.005739846732467413,
-0.019055578857660294,
0.0038748423103243113,
0.0033512148074805737,
0.0032977380324155092,
0.026364078745245934,
-0.004728243220597506,
0.02607886865735054,
-0.007829899899661541,
0.01351181324571371,
0.02859228104352951,
-0.029020095244050026,
-0.09989472478628159,
0.04488489031791687,
-0.018895147368311882,
0.05361943691968918,
0.05076733976602554,
-0.017335407435894012,
0.05322727560997009,
0.055687207728624344,
0.018396031111478806,
-0.00048519085976295173,
-0.0093406205996871,
0.02458151802420616,
0.015294373966753483,
0.014189186505973339,
-0.016969982534646988,
-0.0259719155728817,
-0.037790294736623764,
0.057469770312309265,
-0.0453840047121048,
-0.023226771503686905,
-0.05351248383522034,
0.0034292018972337246,
-0.009117799811065197,
-0.03522340580821037,
0.050838641822338104,
0.038824182003736496,
-0.016827376559376717,
0.015178508125245571,
0.021729419007897377,
0.027041452005505562,
0.026542335748672485,
0.02187202498316765,
-0.030392667278647423,
0.048485662788152695,
-0.06456436216831207,
0.011408391408622265,
0.019911207258701324,
0.08513511717319489,
0.015766752883791924,
0.035419490188360214,
0.0010773353278636932,
0.0036052297800779343,
0.03814680874347687,
-0.07850398868322372,
0.0072104595601558685,
0.05226469039916992,
-0.024207180365920067,
0.008048263378441334,
0.045170098543167114,
0.02613234519958496,
-0.0668816938996315,
-0.01796821504831314,
-0.04627528786659241,
0.03836071491241455,
0.04381535202264786,
0.036168165504932404,
0.03479559347033501,
-0.015909356996417046,
0.008400319144129753,
0.03285260125994682,
0.07565189152956009,
-0.047772638499736786,
-0.0118005545809865,
0.030713528394699097,
0.020855965092778206,
-0.010971663519740105,
-0.015811316668987274,
-0.01300378330051899,
-0.04759438335895538,
0.02210375852882862,
0.01064188964664936,
0.02436760999262333,
-0.02281678281724453,
-0.04399360716342926,
0.010427982546389103,
-0.007125787902623415,
0.015668712556362152,
-0.04160497710108757,
0.004333851858973503,
0.0060384259559214115,
-0.009786260314285755,
-0.024082399904727936,
0.02294156141579151,
-0.02037467435002327,
-0.03613251447677612,
0.006359286606311798,
0.03679206222295761,
0.027255360037088394,
-0.04727352038025856,
0.03167610988020897,
0.047523077577352524,
-0.012647271156311035,
-0.08613335341215134,
0.024028923362493515,
0.053405530750751495,
0.048556964844465256,
-0.021836373955011368,
0.05729151517152786,
-0.012513578869402409,
0.042817119508981705,
-0.025401495397090912,
0.008730093017220497,
-0.0007698435802012682,
0.007985874079167843,
0.020909441635012627,
0.0015252038137987256,
0.006452871020883322,
-0.04142672196030617,
0.06285310536623001,
-0.04156932607293129,
-0.03757638856768608,
0.051801227033138275,
-0.041961487382650375,
-0.028182290494441986,
0.04313797876238823,
-0.07786227017641068,
0.051801227033138275,
-0.0023708061780780554,
0.012825527228415012,
0.009010846726596355,
0.04545530676841736,
-0.028752710670232773,
-0.03943025320768356,
0.013895063661038876,
0.020909441635012627,
0.043601445853710175,
0.022513747215270996,
0.0007503468077629805,
-0.008222063072025776,
0.005592785310000181,
0.0716233029961586,
0.026577986776828766,
0.011230135336518288,
0.0036542501766234636,
0.002847641473636031,
0.08149869740009308,
-0.033066507428884506,
0.031390901654958725,
-0.04566921666264534,
0.050161268562078476,
-0.004835196770727634,
0.039358947426080704,
-0.0006183258956298232,
-0.03679206222295761,
-0.013565289787948132,
-0.02212158404290676,
0.008288908749818802,
-0.02051727846264839,
0.048450011759996414,
0.020089464262127876,
0.020962918177247047,
0.02290591038763523,
-0.04869956895709038,
0.01227293349802494,
0.0038057679776102304,
-0.018217774108052254,
-0.05315597355365753,
0.034563858062028885,
0.016533253714442253,
-0.033013030886650085,
0.03746943548321724,
0.020018160343170166,
0.09575918316841125,
0.028824012726545334,
-0.015704363584518433,
0.016658034175634384,
-0.01615891605615616,
0.00531203206628561,
0.01796821504831314,
-0.08342386037111282,
0.0018026148900389671,
0.044528376311063766,
0.0036921296268701553,
0.07009030133485794,
0.0014806397957727313,
-0.009447573684155941,
-0.0324426107108593,
-0.068521648645401,
0.09426183253526688,
0.012121415697038174,
-0.009064323268830776,
-0.04092760384082794,
-0.0029701923485845327,
0.011328175663948059,
0.041961487382650375,
-0.010695366188883781,
0.054118555039167404,
-0.03278129920363426,
0.03566904738545418,
0.027861429378390312,
0.006818296387791634,
0.03579382598400116,
-0.031194819137454033,
0.06370873749256134,
0.04053543880581856,
0.03764769062399864,
-0.013948540203273296,
-0.05714890733361244,
0.005695282947272062,
0.006408307235687971,
-0.0040642390958964825,
0.0047683510929346085,
-0.012816614471375942,
-0.01055276207625866,
-0.003721096320077777,
-0.030820481479167938,
-0.03326259180903435,
-0.01421592477709055,
-0.030392667278647423,
0.0031083410140126944,
0.006047338712960482,
-0.04306667670607567,
0.033761706203222275,
0.009616916999220848,
0.02861010655760765,
0.03939460217952728,
0.032264355570077896,
0.03509862720966339,
0.03415387123823166,
-0.01015168521553278,
-0.01950121857225895,
0.045205749571323395,
0.0006846148753538728,
-0.004340536426752806,
-0.0161767415702343,
-0.00902421586215496,
-0.0284318495541811,
-0.0053833345882594585,
0.0024064574390649796,
-0.025847136974334717,
-0.025062808766961098,
-0.031248295679688454,
-0.0473804734647274,
-0.05073168873786926,
-0.01419809926301241,
-0.019857730716466904,
0.018360380083322525,
0.020535103976726532,
0.0029724205378443003,
-0.08755940198898315,
-0.015891531482338905,
0.010026906616985798,
-0.029109222814440727,
-0.029733119532465935,
0.03199697285890579,
0.09212275594472885,
0.01869906671345234,
0.010419069789350033,
-0.012299671769142151,
-0.05476027727127075,
0.0421040914952755,
-0.0358116514980793,
0.04959084838628769,
0.0003111126134172082,
0.005739846732467413,
0.0924079641699791,
0.000913005496840924,
0.010303203016519547,
-0.013146388344466686,
-0.06185486912727356,
0.05679239705204964,
-0.029947025701403618,
0.014180273748934269,
-0.0046079205349087715,
0.06092793866991997,
-0.021747246384620667,
0.02374371327459812,
0.018966449424624443,
-0.012379886582493782,
0.009518876671791077,
-0.005851256661117077,
-0.001156436512246728,
0.0018226687097921968,
0.033030856400728226,
0.07515277713537216,
-0.016925416886806488,
-0.0634235218167305,
0.059929706156253815,
-0.013672243803739548,
0.0586819127202034,
-0.01701454631984234,
-0.02693449892103672,
0.04235365241765976,
-0.03276347368955612,
-0.018146472051739693,
0.021604640409350395,
-0.04402925819158554,
0.0391806922852993,
0.00028632389148697257,
-0.01544589176774025,
-0.021444210782647133,
0.027932733297348022,
-0.04306667670607567,
-0.021372906863689423,
0.02445673756301403,
0.018396031111478806,
0.060785334557294846,
0.049234338104724884,
0.012059025466442108,
-0.033779531717300415,
-0.014019843190908432,
0.05618632584810257,
-0.014349617063999176,
0.012477927841246128,
0.03087395802140236,
-0.006328091956675053,
0.010936012491583824,
0.0013090682914480567,
-0.011488606221973896,
0.03825376182794571,
0.022620700299739838,
-0.03971546143293381,
-0.023957621306180954,
-0.013797023333609104,
-0.02921617589890957,
0.005958210676908493,
0.03534818813204765,
-0.014313966035842896,
-0.057434119284152985,
0.014920036308467388,
-0.03638207167387009,
-0.0134850749745965,
-0.04959084838628769,
0.004215756896883249,
0.009884301573038101,
-0.029483560472726822,
-0.004991170950233936,
0.09711392968893051,
-0.026560161262750626,
-0.04071369394659996,
-0.03839636594057083,
-0.02276330441236496,
0.010338854044675827,
-0.00183492386713624,
0.03939460217952728,
-0.027344487607479095,
-0.024599343538284302,
-0.052621204406023026,
-0.025544101372361183,
0.01351181324571371,
-0.009625829756259918,
0.0050045400857925415,
0.06937728077173233,
-0.013903976418077946,
-0.06420785188674927,
0.016782812774181366,
0.013654418289661407,
-0.0009286029380746186,
0.00041082463576458395,
0.019037753343582153,
-0.005151601508259773,
-0.009224753826856613,
-0.04816479980945587,
-0.0025758007541298866,
0.010312115773558617,
-0.03850331902503967,
0.009812998585402966,
-0.03606121242046356,
-0.05636458098888397,
-0.011916421353816986,
-0.00470596132799983,
0.06595475971698761,
-0.06513478606939316,
0.03591860458254814,
0.012362061068415642,
-0.005601698067039251,
0.02440326102077961,
-0.03402909263968468,
0.0013034978182986379,
0.031444378197193146,
-0.008970738388597965,
0.03675641119480133,
-0.01869906671345234,
-0.06096358969807625,
0.014171360991895199,
0.023012863472104073,
0.03025006130337715,
0.06317396461963654,
0.013431597501039505,
-0.024741947650909424,
0.03315563499927521,
-0.04085630178451538,
-0.0650634840130806,
0.02782577835023403,
0.005459093488752842,
-0.07878920435905457,
-0.08641856163740158,
0.0011124295415356755,
-0.057362817227840424,
-0.009171277284622192,
0.006381568964570761,
0.01787908747792244,
-0.024991506710648537,
0.02693449892103672,
0.012344235554337502,
-0.03504515066742897,
0.05779062956571579,
-0.04000066965818405,
0.006920793559402227,
-0.0003453712270129472,
-0.010062557645142078,
-0.05237164348363876,
0.008351298980414867,
-0.04146237298846245,
-0.025847136974334717,
-0.04912738502025604,
-0.005842343904078007,
0.06531304121017456,
0.016506515443325043,
-0.05208643525838852,
0.039572857320308685,
0.054867230355739594,
-0.029750945046544075,
0.033761706203222275,
-0.007125787902623415,
0.04976910725235939,
0.03925199434161186,
-0.03351214900612831,
0.03850331902503967,
-0.02918052487075329,
-0.042781464755535126,
0.0002147429040633142,
-0.051658619195222855,
0.01622130535542965,
0.02379719167947769,
-0.03907373920083046,
-0.03438560292124748,
0.023601109161973,
0.018342554569244385,
-0.02698797546327114,
-0.022406792268157005,
-0.02677406743168831,
0.07212242484092712,
-0.08085697144269943,
-0.009527789428830147,
-0.060749683529138565,
0.02616799622774124,
0.045241400599479675,
-0.014144622720777988,
0.010855796746909618,
-0.05215773731470108,
-0.024670645594596863,
-0.008132935501635075,
0.032193053513765335,
0.02276330441236496,
-0.05379769578576088,
0.015615235082805157,
-0.0026894391048699617,
-0.03007180616259575,
-0.03167610988020897,
-0.008752374909818172,
0.06203312799334526,
-0.007901201955974102,
-0.06328091770410538,
0.004786176607012749,
0.03853897005319595,
0.010294290259480476,
0.0013213234487921,
-0.045312702655792236,
0.03351214900612831,
0.007691751234233379,
0.07208677381277084,
-0.04238930344581604,
0.04837870970368385,
-0.038645923137664795,
-0.024831077083945274,
0.053369879722595215,
0.08927065879106522,
-0.09526006877422333,
0.041105858981609344,
-0.016764987260103226,
0.09889648854732513,
-0.038681574165821075,
-0.06274615228176117,
0.02516976371407509,
-0.0503038726747036,
-0.023405026644468307,
-0.0045588999055325985,
0.022317664697766304,
-0.056578490883111954,
-0.019340787082910538,
0.02358328364789486,
-0.04174758121371269,
-0.012406624853610992,
0.03588295355439186,
-0.05233599245548248,
-0.009812998585402966,
0.024046748876571655,
-0.009893214330077171,
-0.025027157738804817,
-0.07372672855854034,
0.04891347512602806,
0.019804254174232483,
-0.013538551516830921,
-0.01794147677719593,
0.03438560292124748,
0.033761706203222275,
-0.011274699121713638,
-0.07244328409433365,
-0.008859328925609589,
-0.03768334165215492,
0.001867232727818191,
-0.000047662619181210175,
-0.06755906343460083,
-0.007415454369038343,
-0.01104296650737524,
-0.021818548440933228,
-0.005111494101583958,
0.023921970278024673,
-0.03721987456083298,
-0.05957319214940071,
-0.01706802286207676,
0.01423375029116869,
-0.0371842235326767,
0.06656083464622498,
-0.02458151802420616,
0.011907508596777916,
0.04499184340238571,
0.033939965069293976,
0.00941192265599966,
0.03597208485007286,
0.023280248045921326,
0.01711258664727211,
0.004786176607012749,
0.039358947426080704,
0.0519438311457634,
-0.012522491626441479,
0.050874292850494385,
0.02048162743449211,
-0.06463566422462463,
-0.03682771325111389,
0.001821554615162313,
-0.046025726944208145,
0.014135709963738918,
0.005632893182337284,
0.02611451968550682,
0.042638860642910004,
-0.047202218323946,
0.0634235218167305,
-0.03518775478005409,
-0.05190818011760712,
0.00426700571551919,
0.014465483836829662,
0.04317362979054451,
-0.03442125394940376,
0.003999621607363224,
-0.04306667670607567,
0.01623913086950779,
-0.009768434800207615,
-0.06780862808227539,
0.014322878792881966,
-0.012415538541972637,
0.013690069317817688,
-0.03344084694981575,
0.010891448706388474,
-0.03003615513443947,
0.00935844611376524,
0.038574621081352234,
0.014474396593868732,
-0.015294373966753483,
-0.017255190759897232,
0.009304968640208244,
-0.027077103033661842,
-0.03843201696872711,
-0.019376439973711967,
0.04295972362160683,
0.029590513557195663,
0.011123181320726871,
0.020214242860674858,
0.03007180616259575,
0.015748927369713783,
-0.0033467584289610386,
0.015953922644257545,
-0.01256705541163683,
-0.04941259324550629,
-0.03278129920363426,
-0.006902968045324087,
-0.03996501863002777,
-0.03187219426035881,
0.003937231842428446,
-0.018574286252260208,
0.023993272334337234,
-0.0028053056448698044,
-0.017691919580101967,
0.01806625723838806,
-0.04944824427366257,
-0.04577616974711418,
0.00006990981637500226,
-0.010686453431844711,
-0.007843269035220146,
-0.007509038783609867,
-0.06445740908384323,
-0.021337255835533142,
0.00553930876776576,
-0.043565794825553894,
-0.05155166611075401,
-0.008297821506857872,
-0.03828941285610199,
-0.07158765196800232,
0.03725552558898926,
-0.07365542650222778,
-0.04003632068634033,
0.022210711613297462,
-0.06253224611282349,
0.028788361698389053,
0.006947531830519438,
0.023494156077504158,
-0.00425809295848012,
0.06167661398649216,
-0.03260304406285286,
-0.043423186987638474,
0.002867695176973939,
-0.004507651552557945,
0.034510381519794464,
-0.003935003653168678,
-0.018342554569244385,
0.04067804291844368,
-0.02595409005880356,
0.014964600093662739,
-0.016693685203790665,
0.027487091720104218,
-0.02607886865735054,
0.017299756407737732,
-0.0024710753932595253,
0.015989573672413826,
-0.004554443527013063,
-0.050089966505765915,
0.02689884789288044,
-0.041141510009765625,
0.04160497710108757,
-0.022371141240000725,
0.04388665407896042,
0.06577650457620621,
-0.012665096670389175,
0.012335322797298431,
0.03985806554555893,
-0.03732683137059212,
0.06317396461963654,
0.009042041376233101,
0.07294239848852158,
-0.04206844046711922,
0.0342608243227005,
-0.040428485721349716,
-0.05918102711439133,
0.09911039471626282,
0.0022995038889348507,
-0.034688640385866165,
-0.021069873124361038
]
|
41,688 | pyglove.core.object_utils.common_traits | str_format | Context manager for setting the default format kwargs for __str__. | def str_format(**kwargs) -> ContextManager[Dict[str, Any]]:
"""Context manager for setting the default format kwargs for __str__."""
return thread_local.thread_local_arg_scope(_TLS_STR_FORMAT_KWARGS, **kwargs)
| (**kwargs) -> ContextManager[Dict[str, Any]] | [
0.007394377142190933,
0.016589727252721786,
0.024261176586151123,
-0.016009606420993805,
0.01605289801955223,
-0.002065057400614023,
0.0021851942874491215,
0.0014481376856565475,
0.0716232880949974,
-0.0619603767991066,
-0.006502549163997173,
0.0055934046395123005,
-0.06009013578295708,
-0.014442413114011288,
0.006567488424479961,
0.017195822671055794,
-0.07778815180063248,
-0.057215508073568344,
0.028988728299736977,
-0.06386525183916092,
0.01598362997174263,
0.022546788677573204,
0.035205546766519547,
0.0025174650363624096,
-0.010840468108654022,
0.006649744231253862,
-0.0017371157882735133,
-0.05669599771499634,
0.01785387098789215,
0.016719603911042213,
0.05420234054327011,
-0.015611313283443451,
-0.030564580112695694,
0.03018360398709774,
-0.006524195894598961,
-0.0623759850859642,
-0.060782819986343384,
0.003430939046666026,
-0.027897754684090614,
-0.10210128128528595,
-0.014364486560225487,
0.017299724742770195,
-0.02656434290111065,
-0.025005808100104332,
-0.027170440182089806,
0.008299192413687706,
0.01019107922911644,
0.03920578211545944,
0.0010563395917415619,
-0.013896926306188107,
0.04952673986554146,
-0.01720448210835457,
-0.005407246295362711,
-0.016641678288578987,
-0.050288692116737366,
0.008320839144289494,
-0.00574492895975709,
0.025265565142035484,
-0.0019752250518649817,
-0.034114573150873184,
0.016589727252721786,
0.03764725103974342,
0.055414535105228424,
0.06047111004590988,
-0.08776277303695679,
-0.08533838391304016,
-0.007251511327922344,
0.03612335026264191,
0.045751623809337616,
0.020589962601661682,
0.013299488462507725,
-0.07203889638185501,
-0.07328572124242783,
-0.006368342321366072,
-0.01792313903570175,
0.008429070003330708,
-0.08582326024770737,
0.018442649394273758,
-0.031534332782030106,
0.04637503996491432,
-0.0018918868154287338,
-0.025490686297416687,
-0.06355354189872742,
-0.027170440182089806,
0.028070924803614616,
-0.07903498411178589,
-0.070999875664711,
0.02767263352870941,
0.0535442940890789,
0.008654192090034485,
-0.01863313652575016,
0.03021823801100254,
0.008004803210496902,
0.044955041259527206,
-0.02142118103802204,
-0.04270382598042488,
0.010035226121544838,
0.011905466206371784,
-0.004067340400069952,
0.0036906946916133165,
0.015420826151967049,
-0.06580475717782974,
-0.008749435655772686,
-0.02914458140730858,
-0.023672396317124367,
-0.04862625524401665,
-0.0026018857024610043,
-0.05260917544364929,
0.02848653495311737,
0.00574492895975709,
-0.022650690749287605,
-0.06334573775529861,
0.03660822659730911,
-0.009091447107493877,
0.004480784758925438,
0.012710709124803543,
-0.06895646452903748,
-0.02665092796087265,
0.032313600182533264,
-0.021732887253165245,
-0.02853848598897457,
0.00028194309561513364,
-0.018459966406226158,
-0.040348708629608154,
-0.009212666191160679,
0.0311879925429821,
-0.02651239186525345,
-0.020035818219184875,
0.10542615503072739,
-0.019914599135518074,
0.06137159839272499,
0.0312918946146965,
0.028780924156308174,
0.004292462021112442,
0.07287011295557022,
-0.033352624624967575,
-0.032417502254247665,
0.07688766717910767,
0.040348708629608154,
0.14075292646884918,
0.04270382598042488,
-0.005247063934803009,
-0.03217506408691406,
-0.022823860868811607,
0.027222391217947006,
0.010771200060844421,
0.022616056725382805,
0.017091920599341393,
-0.05441014841198921,
0.03695456683635712,
0.09905347973108292,
0.015282290056347847,
-0.003422280540689826,
0.040452610701322556,
-0.004705906379967928,
0.01744692027568817,
-0.0010379402665421367,
-0.027689950540661812,
0.03712773695588112,
-0.0028399948496371508,
-0.0050652348436415195,
-0.06521598249673843,
0.02412264049053192,
-0.017265090718865395,
0.10411005467176437,
0.06417696177959442,
0.016996676102280617,
-0.053786732256412506,
0.019204599782824516,
0.0021808650344610214,
0.002435208996757865,
0.013238878920674324,
0.026114100590348244,
0.008502667769789696,
0.06040184199810028,
0.0444355309009552,
-0.01020839624106884,
0.004136608447879553,
-0.043916020542383194,
-0.01152449194341898,
-0.000587155984248966,
-0.021022889763116837,
-0.02855580300092697,
0.01686679944396019,
0.02658165991306305,
-0.01732570119202137,
0.010727907530963421,
0.015784483402967453,
-0.014026803895831108,
-0.015438143163919449,
-0.018217528238892555,
-0.010407542809844017,
-0.005052247084677219,
-0.0032664272002875805,
-0.042322851717472076,
0.025559954345226288,
-0.022806543856859207,
-0.10494127869606018,
0.008753764443099499,
0.002021764637902379,
-0.03028750605881214,
0.019118014723062515,
-0.036850664764642715,
-0.01948167197406292,
0.024226542562246323,
-0.011680345050990582,
0.0001319071598118171,
0.02855580300092697,
-0.06902573257684708,
0.04055651277303696,
-0.030841652303934097,
-0.02320483699440956,
-0.021871425211429596,
0.05260917544364929,
0.013879609294235706,
0.0048357839696109295,
0.0446779690682888,
0.056349653750658035,
-0.009377178736031055,
0.01856386847794056,
0.06919889897108078,
-0.05766575038433075,
0.02668556198477745,
-0.06857548654079437,
0.005467856302857399,
-0.04163017123937607,
0.060852088034152985,
0.016061557456851006,
-0.011437905952334404,
0.011663028039038181,
0.04717162251472473,
-0.017299724742770195,
-0.00023946222790982574,
0.08118229359388351,
0.00005360842260415666,
-0.07328572124242783,
0.008043766021728516,
-0.015974970534443855,
-0.0035954508930444717,
-0.04242675378918648,
0.009030837565660477,
0.06151013448834419,
0.026979951187968254,
0.009515714831650257,
0.06486964225769043,
-0.043119434267282486,
-0.000294660305371508,
0.06705158948898315,
0.021126791834831238,
0.026218002662062645,
-0.0005979791167192161,
0.05160478502511978,
-0.08727788925170898,
-0.022650690749287605,
-0.03667749464511871,
-0.051050640642642975,
0.01878899149596691,
0.04703308641910553,
0.0027317635249346495,
-0.015905702486634254,
-0.052782345563173294,
0.021542400121688843,
-0.05222820118069649,
0.02566385641694069,
0.021525083109736443,
0.01206132024526596,
-0.029646776616573334,
-0.051050640642642975,
-0.034062620252370834,
0.006294745020568371,
-0.041214559227228165,
0.018927527591586113,
0.012191197834908962,
0.04519747942686081,
-0.04731015861034393,
-0.025992879644036293,
0.012147905305027962,
-0.019724112004041672,
0.00600468460470438,
-0.0014697839505970478,
0.022650690749287605,
-0.0051474906504154205,
-0.0027772206813097,
-0.012459611520171165,
0.056522827595472336,
0.005939745344221592,
0.007022060453891754,
-0.035084325820207596,
0.01792313903570175,
0.0037664566189050674,
-0.031222626566886902,
0.03201921284198761,
0.01949898898601532,
0.01937776990234852,
0.008684496395289898,
-0.019689476117491722,
0.03827066347002983,
-0.041145291179418564,
0.04166480526328087,
-0.013351439498364925,
-0.029923848807811737,
0.031430430710315704,
0.012303758412599564,
0.03215774893760681,
0.04259992390871048,
-0.012329733930528164,
-0.0076411450281739235,
-0.0310667734593153,
-0.022927764803171158,
-0.017975090071558952,
0.005671331193298101,
0.024365078657865524,
0.00974083598703146,
-0.04332723841071129,
0.02393215149641037,
0.06473110616207123,
-0.007480962201952934,
0.012693392112851143,
-0.01505716796964407,
0.03927505016326904,
-0.032313600182533264,
-0.06538914889097214,
-0.016217410564422607,
-0.019983867183327675,
0.03217506408691406,
0.0015228174161165953,
0.009134739637374878,
0.029993116855621338,
0.0711384117603302,
0.058185260742902756,
-0.043950654566287994,
0.00982742104679346,
-0.007909558713436127,
-0.044851139187812805,
-0.02931775338947773,
0.008446387015283108,
-0.009550348855555058,
-0.01729106716811657,
-0.04159553721547127,
-0.059189651161432266,
0.04637503996491432,
0.013481317088007927,
-0.0312572605907917,
0.020936304703354836,
-0.08187497407197952,
-0.010303639806807041,
0.02767263352870941,
0.01642521470785141,
0.07564084231853485,
-0.030720433220267296,
-0.06310330331325531,
0.006645414978265762,
0.008675837889313698,
0.045890163630247116,
0.03442627936601639,
0.024191908538341522,
-0.020745815709233284,
-0.0008880395907908678,
0.010294981300830841,
0.020122403278946877,
0.0037751151248812675,
0.0062644402496516705,
0.03806285932660103,
0.0019676489755511284,
-0.0222870334982872,
0.016243385151028633,
0.0710691437125206,
-0.0004042446962557733,
0.06670524924993515,
-0.013879609294235706,
-0.009143398143351078,
0.028001656755805016,
0.015767166391015053,
-0.022771909832954407,
-0.0795891284942627,
0.019083380699157715,
-0.045924797654151917,
0.008532973006367683,
-0.08139009773731232,
-0.034235794097185135,
0.036885298788547516,
-0.01063266396522522,
0.06708621978759766,
0.02848653495311737,
0.0028031961992383003,
0.002900604624301195,
0.008061083033680916,
-0.0015509575605392456,
0.05444478243589401,
0.029802629724144936,
-0.02124801091849804,
-0.03809749335050583,
0.036746762692928314,
0.014858022332191467,
0.007909558713436127,
-0.01851191744208336,
-0.01744692027568817,
-0.0008133598021231592,
-0.017611432820558548,
0.027187757194042206,
0.013524609617888927,
-0.005493831820785999,
0.0024092334788292646,
-0.06116379424929619,
-0.04980381205677986,
0.06047111004590988,
0.04339650645852089,
0.012831928208470345,
0.010052543133497238,
0.0714154839515686,
-0.025248248130083084,
-0.029854580760002136,
-0.028902143239974976,
-0.03709310293197632,
0.031499698758125305,
-0.04194187745451927,
-0.03350847586989403,
0.04003700241446495,
0.0008972392533905804,
0.030807018280029297,
-0.01681484840810299,
-0.01783655397593975,
0.0020098593086004257,
0.028157509863376617,
0.0312918946146965,
0.01880630850791931,
-0.06912963092327118,
-0.026979951187968254,
0.09268081188201904,
-0.03454750031232834,
-0.05146624892950058,
0.005459197796881199,
0.01205266173928976,
0.015247656032443047,
0.011359979398548603,
0.004454809240996838,
0.00974949449300766,
0.014026803895831108,
0.017013993114233017,
-0.01870240643620491,
0.01956825703382492,
-0.06646280735731125,
0.01548143569380045,
0.05430624261498451,
-0.014078754931688309,
-0.004584686830639839,
-0.08997935056686401,
0.005225417669862509,
-0.015325582586228848,
0.023672396317124367,
0.03730091080069542,
0.04807211086153984,
-0.0706188976764679,
0.006983097176998854,
-0.03210579603910446,
-0.061752572655677795,
0.04346577450633049,
-0.012944488786160946,
-0.042911630123853683,
0.00977547001093626,
-0.019135331735014915,
0.002889781491830945,
-0.021559717133641243,
0.09614422172307968,
0.04090285301208496,
-0.03018360398709774,
0.01790582202374935,
-0.001592085580341518,
-0.055379901081323624,
-0.030772384256124496,
-0.020797768607735634,
0.04336187243461609,
-0.06729402393102646,
0.018944844603538513,
-0.01148985791951418,
0.050046250224113464,
-0.029698727652430534,
-0.034114573150873184,
-0.017074603587388992,
-0.008558948524296284,
0.0024005749728530645,
-0.022841177880764008,
0.08312180638313293,
0.03376823291182518,
-0.039378952234983444,
-0.013767048716545105,
0.07508669793605804,
0.020693864673376083,
0.02659897692501545,
0.054617952555418015,
-0.008701813407242298,
0.06493891030550003,
0.021958010271191597,
-0.003920145332813263,
0.027897754684090614,
-0.005952733103185892,
-0.0222004484385252,
-0.03359506279230118,
-0.024295810610055923,
0.026928000152111053,
0.014000828377902508,
0.0012489916989579797,
0.05943208932876587,
0.0441584587097168,
0.06147550046443939,
-0.020936304703354836,
-0.018356064334511757,
0.048383817076683044,
-0.013334122486412525,
0.004067340400069952,
0.007714742328971624,
-0.025057760998606682,
0.05129307880997658,
-0.021663619205355644,
-0.016156800091266632,
-0.02403605543076992,
-0.016485823318362236,
-0.04377748444676399,
-0.0019990361761301756,
0.0037015178240835667,
-0.033335305750370026,
0.0799354687333107,
-0.013515951111912727,
-0.05434088036417961,
0.012347050942480564,
-0.037889689207077026,
0.06417696177959442,
0.015438143163919449,
-0.019845331087708473,
0.058115992695093155,
0.007896571420133114,
0.013342780992388725,
0.03622725233435631,
-0.01550741121172905,
0.01942972093820572,
0.05967452749609947,
-0.06864475458860397,
-0.045543819665908813,
0.016702286899089813,
-0.029057996347546577,
0.036019448190927505,
0.015351558104157448,
0.007381389383226633,
-0.06389988213777542,
-0.014295218512415886,
-0.06074818596243858,
0.07390913367271423,
0.020607279613614082,
-0.023499226197600365,
-0.02311825193464756,
-0.007619498763233423,
-0.08326034247875214,
-0.045890163630247116,
0.044123824685811996,
-0.09704470634460449,
-0.016572410240769386,
-0.012632782571017742,
0.036781396716833115,
0.030858969315886497,
0.019187282770872116,
0.002469843253493309,
0.03524018079042435,
-0.021784838289022446,
0.019187282770872116,
-0.005892123561352491,
-0.03300628066062927,
0.008030778728425503,
0.03534408286213875,
-0.0529901497066021,
0.04284236207604408,
0.004576028324663639,
-0.08263692259788513,
0.018217528238892555,
0.0034590791910886765,
-0.03646969050168991,
-0.00035554051282815635,
0.013334122486412525,
-0.010987663641571999,
0.03615798428654671,
0.049284301698207855,
0.03169018775224686,
0.04180334135890007,
-0.003623591037467122,
-0.04253065586090088,
0.018027041107416153,
0.021732887253165245,
0.023464592173695564,
-0.006480902899056673,
0.006052306387573481,
0.021161425858736038,
-0.05077356845140457,
-0.0044136811047792435,
0.06358817964792252,
-0.013966194353997707,
0.0353614017367363,
-0.0111435167491436,
-0.021611668169498444,
-0.013169610872864723,
0.006238464266061783,
-0.005827184766530991,
-0.009550348855555058,
0.06902573257684708,
-0.025213614106178284,
0.06317257136106491,
0.02310093492269516,
-0.00979278702288866,
0.021490449085831642,
0.027689950540661812,
-0.036054082214832306,
0.05008088797330856,
-0.028088241815567017,
-0.007563218008726835,
-0.00024040925200097263,
-0.007840290665626526,
0.01725643314421177,
-0.021005572751164436,
-0.011264735832810402,
-0.0018399357795715332,
0.0019449202809482813,
-0.04869552329182625,
-0.0033356952480971813,
0.056488193571567535,
-0.061717938631772995,
0.003194994293153286,
0.016589727252721786,
0.016676312312483788,
-0.007281816098839045,
-0.02389751747250557,
-0.04602869972586632,
-0.05506819486618042,
-0.04509357735514641,
0.07307791709899902,
0.012321075424551964,
-0.028659705072641373,
0.05482575669884682,
-0.007086999714374542,
-0.0004026212263852358,
0.011481199413537979,
-0.03380286693572998,
-0.017542162910103798,
-0.00019048746617045254,
-0.010087177157402039,
-0.007524254731833935,
-0.0444355309009552,
-0.06403842568397522,
0.032486770302057266,
0.012338392436504364,
-0.06473110616207123,
0.05226283520460129,
0.002673318376764655,
-0.008095717057585716,
-0.019118014723062515,
0.009056813083589077,
-0.012788635678589344,
-0.03383750095963478,
0.0705842673778534,
-0.07605645060539246,
0.0017468566074967384,
0.030477995052933693,
-0.03350847586989403,
-0.01723911613225937,
0.011740954592823982,
-0.0071043167263269424,
0.030651165172457695,
-0.04332723841071129,
-0.04537064954638481,
-0.04142236337065697,
0.02311825193464756,
0.07938132435083389,
-0.02739556133747101,
-0.0045284065417945385,
0.012961805798113346,
0.020105086266994476,
-0.0034612438175827265,
-0.04370821639895439,
-0.006467915140092373,
0.006303403526544571,
0.017723992466926575,
0.026910683140158653,
0.0046669431030750275,
0.0075026084668934345,
-0.016615701839327812,
-0.04197651147842407,
0.0027122816536575556,
-0.0221831314265728,
0.057319410145282745,
-0.01873704046010971,
0.011645711027085781,
0.03409725800156593,
-0.016581067815423012,
0.020676547661423683,
-0.03465140238404274,
-0.01551606971770525,
-0.009325227700173855,
-0.014113389886915684,
-0.031586285680532455,
-0.02486727200448513,
-0.05946672335267067,
0.02566385641694069,
-0.025369467213749886,
-0.046617478132247925,
0.002134325448423624,
0.018252162262797356,
-0.016156800091266632,
0.010130469687283039,
-0.009013520553708076,
0.02304898388683796,
0.003080268856137991,
-0.0001382657646900043,
-0.012078637257218361,
0.034253109246492386,
-0.0004967826534993947,
0.03619261831045151,
0.03802822530269623,
-0.008697484619915485,
-0.007879254408180714,
0.008567607030272484,
-0.023637762293219566,
0.028642388060688972,
-0.029594825580716133,
0.04138772934675217,
0.02942165546119213,
-0.0009037331328727305,
0.0022815202828496695,
0.02668556198477745,
0.020953621715307236,
-0.03524018079042435,
0.004558711312711239,
0.05496429279446602,
-0.033231403678655624,
0.01459826622158289,
0.027689950540661812,
-0.04526674747467041,
0.046721380203962326,
0.06559695303440094,
-0.016096191480755806,
-0.004398528952151537,
0.012147905305027962,
-0.040383342653512955,
0.017143871635198593,
-0.04111065715551376,
0.07938132435083389,
-0.007857607677578926,
0.03924041613936424,
0.05434088036417961,
0.045820895582437515,
0.028070924803614616,
-0.008398765698075294,
-0.0078099858947098255,
-0.042080413550138474,
0.029698727652430534,
0.007736388593912125,
-0.04911113157868385,
-0.0012046167394146323,
0.05008088797330856,
-0.06715548783540726,
-0.018442649394273758,
0.004214535001665354,
-0.001593167893588543,
0.02576775848865509,
-0.07390913367271423,
-0.042080413550138474,
0.04859162122011185,
0.041145291179418564,
-0.005381270777434111,
-0.012147905305027962,
0.013611195608973503,
0.03544798493385315
]
|
41,691 | pyglove.core.symbolic.symbolize | symbolize | Make a symbolic class/function out of a regular Python class/function.
``pg.symbolize`` is introduced for the purpose of making existing
classes/functions symbolically programmable. For use cases that build
symbolic classes from scratch (native PyGlove classes), extending `pg.Object`
with `@pg.members` that declares the symbolic properties is the recommended
way, which automatically generates the ``__init__`` method and allow
symbolic attributes to be accessed via `self.<member>`.
``pg.symbolize`` can be invoked as a class/function decorator, or as a
function. When it is used as a decorator, the decorated class or function
will be converted to a symbolic type (via :func:`pyglove.wrap` and
:func:`pyglove.functor_class`). This is preferred when user can modify the
files of existing classes/functions. For example::
@pg.symbolize
def foo(a, b):
return a + b
f = foo(1, 2)
f.rebind(a=2)
f() # Returns 4
@pg.symbolize([
# (Optional) add symbolic constraint for __init__ argument 'a'.
('a', pg.typing.Int(min_value=0), 'Description for `a`.')
])
class Foo:
def __init__(self, a, b):
self._a = a
self._b = b
def result(self):
return self._a + self._b
f = Foo(1, 2)
f.rebind(a=2, b=3)
f.result() # Returns 5
When it used as a function, the input class or function will not be modified.
Instead, a new symbolic type will be created and returned. This is helpful
when users want to create new symbolic types from existing classes/functions
without modifying their original source code. For example::
def foo(a, b):
return a + b
# Create a new symbolic type with constraint on 'a'.
symbolic_foo = pg.symbolize(foo, [
('a', pg.typing.Int(min_value=0))
], returns=pg.typing.Int())
foo(1, 2) # Returns 3 (foo is kept intact).
f = symbolic_foo(1, 2)
f.rebind(a=2)
f() # Returns 4.
class Foo:
def __init__(self, a, b):
self._a = a
self._b = b
def result(self):
return self._a + self._b
SymbolicFoo = pg.symbolize(Foo)
f = SymbolicFoo(2, 2)
f.rebind(a=3)
f.result() # Returns 5.
Args:
*args: The positional arguments for `symbolize` are:
* `class_or_fn`: applicable when `symbolize` is called in function mode.
* `constraints`: an optional list of tuples that allows users to specify
the constraints for arguments from the `__init__` method (for class)
or the arguments from the function signature (for function).
Each tuple should be in format:
`(<arg_name>, <value_spec>, [description], [arg_metadata])`
Where `arg_name` is an argument name that is acceptable to the
`__init__` method of the class, or the function signature;
'value_spec' is a `pg.ValueSpec` object that validates the value of
the argument.
`description` and `arg_metadata` are optional, for documentation and
meta-programming purposes.
**kwargs: Keyword arguments will be passsed through to :func:`pyglove.wrap`
(for symbolizing classes) and :func:`pyglove.functor_class` (for
symbolizing functions).
Returns:
A Symbolic subclass for the decorated/input type.
Raises:
TypeError: input type cannot be symbolized, or it's not a type.
| def symbolize(*args, **kwargs):
"""Make a symbolic class/function out of a regular Python class/function.
``pg.symbolize`` is introduced for the purpose of making existing
classes/functions symbolically programmable. For use cases that build
symbolic classes from scratch (native PyGlove classes), extending `pg.Object`
with `@pg.members` that declares the symbolic properties is the recommended
way, which automatically generates the ``__init__`` method and allow
symbolic attributes to be accessed via `self.<member>`.
``pg.symbolize`` can be invoked as a class/function decorator, or as a
function. When it is used as a decorator, the decorated class or function
will be converted to a symbolic type (via :func:`pyglove.wrap` and
:func:`pyglove.functor_class`). This is preferred when user can modify the
files of existing classes/functions. For example::
@pg.symbolize
def foo(a, b):
return a + b
f = foo(1, 2)
f.rebind(a=2)
f() # Returns 4
@pg.symbolize([
# (Optional) add symbolic constraint for __init__ argument 'a'.
('a', pg.typing.Int(min_value=0), 'Description for `a`.')
])
class Foo:
def __init__(self, a, b):
self._a = a
self._b = b
def result(self):
return self._a + self._b
f = Foo(1, 2)
f.rebind(a=2, b=3)
f.result() # Returns 5
When it used as a function, the input class or function will not be modified.
Instead, a new symbolic type will be created and returned. This is helpful
when users want to create new symbolic types from existing classes/functions
without modifying their original source code. For example::
def foo(a, b):
return a + b
# Create a new symbolic type with constraint on 'a'.
symbolic_foo = pg.symbolize(foo, [
('a', pg.typing.Int(min_value=0))
], returns=pg.typing.Int())
foo(1, 2) # Returns 3 (foo is kept intact).
f = symbolic_foo(1, 2)
f.rebind(a=2)
f() # Returns 4.
class Foo:
def __init__(self, a, b):
self._a = a
self._b = b
def result(self):
return self._a + self._b
SymbolicFoo = pg.symbolize(Foo)
f = SymbolicFoo(2, 2)
f.rebind(a=3)
f.result() # Returns 5.
Args:
*args: The positional arguments for `symbolize` are:
* `class_or_fn`: applicable when `symbolize` is called in function mode.
* `constraints`: an optional list of tuples that allows users to specify
the constraints for arguments from the `__init__` method (for class)
or the arguments from the function signature (for function).
Each tuple should be in format:
`(<arg_name>, <value_spec>, [description], [arg_metadata])`
Where `arg_name` is an argument name that is acceptable to the
`__init__` method of the class, or the function signature;
'value_spec' is a `pg.ValueSpec` object that validates the value of
the argument.
`description` and `arg_metadata` are optional, for documentation and
meta-programming purposes.
**kwargs: Keyword arguments will be passsed through to :func:`pyglove.wrap`
(for symbolizing classes) and :func:`pyglove.functor_class` (for
symbolizing functions).
Returns:
A Symbolic subclass for the decorated/input type.
Raises:
TypeError: input type cannot be symbolized, or it's not a type.
"""
cls_or_fn = None
if args:
if inspect.isclass(args[0]) or inspect.isfunction(args[0]): # pytype: disable=not-supported-yet
cls_or_fn = args[0]
if cls_or_fn is dict or cls_or_fn is list:
if len(args) != 1 or kwargs:
raise ValueError(
f'Constraints are not supported in symbolic {cls_or_fn!r}. '
f'Encountered: constraints={args[1]!r}.')
return pg_dict.Dict if cls_or_fn is dict else pg_list.List
args = args[1:]
if len(args) > 1:
raise ValueError(
f'Only `constraint` is supported as positional arguments. '
f'Encountered {args!r}.')
elif not isinstance(args[0], list):
raise TypeError(f'{args[0]!r} cannot be symbolized.')
def _symbolize(cls_or_fn):
if inspect.isclass(cls_or_fn):
if (issubclass(cls_or_fn, base.Symbolic)
and not issubclass(cls_or_fn, class_wrapper.ClassWrapper)):
raise ValueError(
f'Cannot symbolize {cls_or_fn!r}: {cls_or_fn.__name__} is already '
f'a dataclass-like symbolic class derived from `pg.Object`. '
f'Consider to use `pg.members` to add new symbolic attributes.')
return class_wrapper.wrap(cls_or_fn, *args, **kwargs)
assert inspect.isfunction(cls_or_fn), (
f'Unexpected: {cls_or_fn!r} should be a class or function.')
return functor_class(
cls_or_fn, add_to_registry=True, *args, **kwargs)
if cls_or_fn is not None:
# When `cls_or_fn` is provided, `symbolize` is called under function mode
# such as `SymbolicFoo = pg.symbolize(Foo)` or being used as a decorator
# with no arguments, e.g:
# ```
# @symbolize
# class Foo:
# pass
# ```
# In both case, we return the symbolic type of `cls_or_fn`.
return _symbolize(cls_or_fn)
else:
# Otherwise a factory method is returned to create the symbolic type from
# a late-bound `cls_or_fn` input, which is the case when `symbolize` is used
# as a decorator with provided arguments.
return _symbolize
| (*args, **kwargs) | [
0.04622694477438927,
-0.06024691462516785,
0.014253633096814156,
-0.00397962611168623,
-0.01838173344731331,
-0.029052486643195152,
-0.04533122479915619,
0.021711476147174835,
0.017758624628186226,
-0.024827023968100548,
-0.015811407938599586,
0.028117822483181953,
0.045097559690475464,
0.03499149903655052,
-0.047122664749622345,
0.010875210165977478,
0.027650490403175354,
0.026190077885985374,
-0.01889774762094021,
-0.0026457819622009993,
0.00922981183975935,
0.05008243769407272,
0.03283008933067322,
0.0016770411748439074,
-0.025859050452709198,
0.009151922538876534,
0.023697638884186745,
0.06900939345359802,
-0.04677216708660126,
-0.020601563155651093,
0.05456103757023811,
-0.011946179904043674,
-0.015236977487802505,
0.029714541509747505,
0.0609089657664299,
-0.03454364091157913,
-0.0034344051964581013,
0.057170309126377106,
-0.00796898826956749,
-0.046110112220048904,
0.019219037145376205,
-0.018206484615802765,
-0.01293926127254963,
-0.02204250358045101,
0.011994860135018826,
0.03444628044962883,
0.013153455220162868,
-0.004605169873684645,
-0.018177276477217674,
-0.0880921259522438,
0.028059406206011772,
-0.08894889801740646,
0.05128971114754677,
-0.00035658423439599574,
0.03985954448580742,
0.01393234170973301,
0.008226994425058365,
0.03839913010597229,
0.0329858660697937,
-0.018868539482355118,
0.017193932086229324,
0.0056177228689193726,
-0.04747316613793373,
-0.010076851584017277,
0.04326717555522919,
0.019277455285191536,
-0.07644776254892349,
-0.060091134160757065,
-0.03045448288321495,
-0.029636653140187263,
-0.042683009058237076,
-0.047161612659692764,
0.02301611192524433,
0.009721484035253525,
0.00998922623693943,
-0.05245804414153099,
0.033083226531744,
-0.059156470000743866,
-0.022334586828947067,
-0.043734509497880936,
0.006055846810340881,
-0.06129841133952141,
-0.08411980420351028,
-0.055573590099811554,
-0.06476445496082306,
-0.01649293303489685,
0.024846496060490608,
-0.002626309869810939,
-0.0717744380235672,
-0.023580806329846382,
-0.09011723101139069,
-0.019754523411393166,
-0.008095556870102882,
0.06324563175439835,
-0.03094128891825676,
-0.052613820880651474,
0.03306375443935394,
-0.03950904682278633,
0.029734013602137566,
-0.01026183646172285,
0.043617673218250275,
0.034251559525728226,
-0.07002194225788116,
0.050705548375844955,
-0.0031131142750382423,
-0.028176238760352135,
-0.02404813840985298,
-0.016278740018606186,
-0.010398142039775848,
-0.025235939770936966,
-0.07154077291488647,
0.03929485008120537,
0.021653059870004654,
-0.008582361973822117,
-0.005023821257054806,
-0.04548700526356697,
0.00046641947119496763,
0.018264900892972946,
-0.0010393273551017046,
0.007545468397438526,
-0.024573886767029762,
0.019257983192801476,
0.00398936215788126,
0.029558762907981873,
0.014905950985848904,
0.034134723246097565,
0.05101710185408592,
0.010602599941194057,
-0.027261046692728996,
0.035653553903102875,
0.015198033303022385,
0.005510625895112753,
-0.049225661903619766,
0.10935574024915695,
0.02387288771569729,
0.019374815747141838,
0.02093258872628212,
0.04587644711136818,
-0.04805733263492584,
0.03226539492607117,
0.05530098080635071,
0.008791687898337841,
-0.0259564109146595,
0.0029914129991084337,
-0.013357913121581078,
-0.02591746672987938,
-0.02398972027003765,
-0.01891721971333027,
-0.008592098020017147,
0.002133420202881098,
0.011313334107398987,
0.016843432560563087,
0.09447900205850601,
0.06566017866134644,
-0.07407215982675552,
0.03483572229743004,
-0.04844677448272705,
0.017301028594374657,
-0.03904171288013458,
-0.0002650041424203664,
-0.03454364091157913,
-0.0012054494582116604,
-0.045720670372247696,
-0.06604962050914764,
-0.005393792875111103,
-0.025586439296603203,
0.04579855874180794,
-0.0440460629761219,
0.0063868737779557705,
0.024807551875710487,
-0.04482495039701462,
-0.07613620907068253,
0.024593358859419823,
0.03802916035056114,
0.0175249595195055,
0.049186717718839645,
0.023580806329846382,
0.005038425792008638,
0.050627660006284714,
-0.0015565571375191212,
0.10141109675168991,
-0.031077593564987183,
-0.0899614542722702,
-0.005306167993694544,
0.03734763339161873,
0.04408500716090202,
-0.026793714612722397,
0.009356380440294743,
0.0507834367454052,
0.021283088251948357,
0.019550064578652382,
0.03859385475516319,
0.036685578525066376,
0.0005817312630824745,
0.028799349442124367,
-0.02636532671749592,
-0.06040269136428833,
0.06819155812263489,
-0.07200811058282852,
0.06725689768791199,
0.02141939476132393,
0.012802955694496632,
0.04205990210175514,
-0.010154739953577518,
0.014438618905842304,
-0.03286903351545334,
0.020757339894771576,
-0.03179806470870972,
0.008694326505064964,
-0.06932094693183899,
0.0014555451925843954,
-0.017145251855254173,
-0.008806291967630386,
0.01020342018455267,
-0.014545715413987637,
-0.018703024834394455,
0.07329326868057251,
0.024573886767029762,
0.03726974502205849,
-0.01702841743826866,
0.018712760880589485,
0.005194202996790409,
-0.09432322531938553,
0.022354058921337128,
0.027747850865125656,
-0.05701453238725662,
-0.017291292548179626,
0.004279010929167271,
-0.012812691740691662,
-0.02987031824886799,
-0.0021017780527472496,
-0.04953721538186073,
0.03092181496322155,
-0.026326382532715797,
0.04556489363312721,
-0.02601482719182968,
0.027806267142295837,
0.0659717321395874,
0.009166526608169079,
0.015120144933462143,
0.012140901759266853,
0.05495048314332962,
-0.025274883955717087,
-0.015139617025852203,
-0.03127231448888779,
0.005943881813436747,
0.024262331426143646,
0.018858803436160088,
0.007409163285046816,
-0.019180092960596085,
-0.04392923042178154,
-0.02350291609764099,
0.029325097799301147,
-0.010057379491627216,
-0.026988435536623,
-0.024651775136590004,
-0.04634378105401993,
-0.025722743943333626,
-0.011469111777842045,
0.043617673218250275,
-0.027124742045998573,
-0.0007600233657285571,
0.002373171504586935,
0.0368218868970871,
0.0678410604596138,
-0.023132944479584694,
-0.03191489726305008,
-0.010651280172169209,
0.011508055962622166,
-0.009848053567111492,
0.04447444900870323,
0.01749574951827526,
-0.015782197937369347,
0.032771673053503036,
-0.00047372153494507074,
-0.006703296676278114,
-0.01952085644006729,
-0.004291180986911058,
0.05230226367712021,
-0.04942038282752037,
-0.016609765589237213,
-0.037230800837278366,
0.001552906003780663,
-0.04427972808480263,
0.00025724570150487125,
0.04630483686923981,
-0.020075812935829163,
0.014867006801068783,
0.041787289083004,
-0.008932860568165779,
0.07687614858150482,
0.014477563090622425,
0.07017772644758224,
0.017213404178619385,
0.10468242317438126,
0.030045567080378532,
-0.07368271797895432,
0.012559553608298302,
0.02139992080628872,
-0.06947672367095947,
0.03092181496322155,
0.03133073076605797,
0.08988356590270996,
0.05592409148812294,
-0.007530864328145981,
-0.03444628044962883,
0.03053237311542034,
0.0014409410068765283,
-0.022821391001343727,
0.06885361671447754,
-0.020212119445204735,
0.02895512618124485,
-0.04307245463132858,
0.04603222385048866,
0.0036461648996919394,
-0.010651280172169209,
-0.006537782959640026,
-0.04825205355882645,
0.013114511035382748,
0.03627666458487511,
-0.015587477013468742,
-0.006562123540788889,
-0.018138332292437553,
0.01688237674534321,
-0.007861890830099583,
0.014886478893458843,
-0.03635455295443535,
-0.013815509155392647,
0.01371814776211977,
-0.02099100686609745,
0.028546210378408432,
0.038652271032333374,
0.02395077608525753,
0.043189287185668945,
-0.018858803436160088,
0.013786301016807556,
0.048174165189266205,
0.00996975414454937,
-0.03253800794482231,
-0.050549767911434174,
0.0695156678557396,
-0.011722249910235405,
-0.010992043651640415,
0.0037824702449142933,
-0.05382109433412552,
-0.014010231010615826,
-0.032635368406772614,
-0.03779549524188042,
0.042683009058237076,
0.025274883955717087,
0.010534447617828846,
-0.028643570840358734,
-0.037659190595149994,
0.028332015499472618,
0.026034299284219742,
-0.03405683487653732,
-0.023756055161356926,
-0.018118860200047493,
-0.033745281398296356,
-0.06048057973384857,
0.055573590099811554,
0.004157309420406818,
-0.06079213321208954,
0.014857270754873753,
0.04244934394955635,
0.012277207337319851,
-0.03378422558307648,
0.0006754411151632667,
0.021633587777614594,
0.007584412582218647,
0.03333636745810509,
-0.018751705065369606,
-0.03590669482946396,
-0.026345854625105858,
-0.03047395497560501,
0.03251853585243225,
0.052185431122779846,
0.005155258812010288,
-0.023347139358520508,
0.04190412163734436,
0.03627666458487511,
-0.01940402388572693,
0.07013878226280212,
0.002135854447260499,
0.021633587777614594,
0.03355056047439575,
0.01997845247387886,
0.011177029460668564,
0.041203126311302185,
0.00022484279179479927,
-0.05101710185408592,
0.006562123540788889,
0.059701692312955856,
0.005763764027506113,
-0.004982443060725927,
-0.02940298616886139,
-0.011829347349703312,
0.038710687309503555,
-0.009419665671885014,
0.003037659451365471,
0.004381239879876375,
-0.013873925432562828,
0.06861995160579681,
-0.007462711539119482,
-0.022860335186123848,
-0.019131412729620934,
0.04926460608839989,
0.02301611192524433,
0.03355056047439575,
0.05892280489206314,
0.008460660465061665,
-0.003753261873498559,
-0.07512365281581879,
-0.04112523794174194,
0.025839578360319138,
0.0106804883107543,
0.06861995160579681,
0.02439863607287407,
0.020815756171941757,
0.03904171288013458,
0.04782366380095482,
0.020192647352814674,
0.018605664372444153,
0.018751705065369606,
0.008460660465061665,
0.050705548375844955,
0.013903133571147919,
0.004098893143236637,
-0.021750420331954956,
0.04501967132091522,
-0.02441810816526413,
-0.019569536671042442,
0.022217752411961555,
-0.04731738939881325,
0.022587724030017853,
-0.05179598927497864,
0.00397962611168623,
-0.006435554474592209,
-0.02593693882226944,
0.059156470000743866,
0.013416329398751259,
-0.006995379459112883,
-0.008845236152410507,
-0.007774266414344311,
0.009059430100023746,
0.0001337190915364772,
0.011566472239792347,
0.028818821534514427,
0.06963250041007996,
0.011790403164923191,
0.039703767746686935,
-0.024807551875710487,
0.07527943700551987,
0.026073243468999863,
-0.039119601249694824,
-0.0067568449303507805,
0.048641495406627655,
-0.07411110401153564,
-0.017067361623048782,
0.05545675754547119,
-0.013416329398751259,
-0.027728378772735596,
0.02992873452603817,
-0.02056261897087097,
-0.043578729033470154,
0.031759120523929596,
0.0440460629761219,
-0.022568251937627792,
-0.015441435389220715,
-0.045681726187467575,
0.05031610280275345,
0.0026433479506522417,
0.02297716774046421,
-0.042215678840875626,
0.010709697380661964,
0.042605120688676834,
-0.018868539482355118,
-0.028059406206011772,
-0.0528474859893322,
-0.058689139783382416,
0.050549767911434174,
-0.022665612399578094,
0.0039139073342084885,
0.015597213059663773,
0.06573806703090668,
0.04739527776837349,
0.0749678760766983,
0.0024863535072654486,
0.02449599839746952,
0.03199278563261032,
-0.04202095791697502,
0.07224177569150925,
0.03950904682278633,
0.010427350178360939,
-0.027299990877509117,
0.03947010263800621,
-0.012063013389706612,
-0.0006115480209700763,
-0.02737787924706936,
-0.05685875564813614,
-0.026073243468999863,
-0.014068647287786007,
-0.062194131314754486,
0.010719433426856995,
0.034621529281139374,
-0.006518310867249966,
-0.03399841859936714,
0.0244570542126894,
-0.027202630415558815,
0.018206484615802765,
-0.029130375012755394,
0.005656667053699493,
0.02546960674226284,
0.01695052906870842,
-0.03251853585243225,
0.03843807429075241,
0.010349461808800697,
0.0009437920525670052,
-0.06908728182315826,
-0.0710344985127449,
-0.004678190220147371,
-0.026579519733786583,
0.0036412968765944242,
-0.002937864512205124,
-0.0014068647287786007,
-0.022120391950011253,
0.03674399480223656,
-0.014389938674867153,
0.08700168132781982,
0.013591579161584377,
0.020718395709991455,
0.018751705065369606,
-0.031720176339149475,
0.028195710852742195,
-0.012316151522099972,
0.034679945558309555,
-0.01276401150971651,
-0.003393026767298579,
0.03734763339161873,
-0.04135890305042267,
0.008217258378863335,
0.047239501029253006,
-0.04692794382572174,
0.04287773370742798,
-0.03183700889348984,
-0.008592098020017147,
-0.003563408274203539,
-0.02496333047747612,
-0.07446160167455673,
-0.05424948409199715,
-0.05643036589026451,
-0.013649995438754559,
0.04443550482392311,
-0.02151675522327423,
-0.029558762907981873,
-0.066166453063488,
0.020231591537594795,
0.05319798365235329,
-0.019676633179187775,
0.017077097669243813,
-0.02887723781168461,
0.022626668214797974,
0.06433606892824173,
-0.0777718722820282,
-0.014896214939653873,
0.011323070153594017,
0.03290797770023346,
0.01026183646172285,
0.009190866723656654,
-0.030162401497364044,
0.05273065343499184,
-0.03958693519234657,
0.05031610280275345,
0.04174834489822388,
0.007881362922489643,
0.04949827119708061,
0.0008360865758731961,
0.016385836526751518,
-0.02346397191286087,
-0.09829554706811905,
0.008275674656033516,
0.03306375443935394,
-0.11083562672138214,
-0.0050140852108597755,
-0.028779877349734306,
-0.03259642422199249,
-0.023366611450910568,
0.06788000464439392,
-0.040735792368650436,
-0.011605417355895042,
-0.011683305725455284,
0.06612750887870789,
-0.008178314194083214,
-0.0327911451458931,
-0.04147573560476303,
-0.033628448843955994,
-0.044630229473114014,
0.0348551943898201,
0.002833201549947262,
0.018644608557224274,
-0.05849441885948181,
0.045097559690475464,
0.031077593564987183,
-0.04544806107878685,
0.00622136052697897,
-0.018878275528550148,
-0.000052521631005220115,
-0.023113472387194633,
-0.008864708244800568,
-0.08731323480606079,
-0.04241039976477623,
0.0005811227601952851,
0.0010807057842612267,
0.011342542245984077,
-0.0489141084253788,
-0.0007965337135829031,
-0.047161612659692764,
0.003916341345757246,
0.021107839420437813,
0.0085044726729393,
-0.053626373410224915,
-0.03705555200576782,
0.03491361066699028,
0.006927226670086384,
-0.013299495913088322,
0.03806810453534126,
-0.0036169567611068487,
0.017651528120040894,
0.024184443056583405,
-0.0427219532430172,
-0.04630483686923981,
-0.039645351469516754,
0.034679945558309555,
-0.014828062616288662,
0.00872840266674757,
-0.05226331949234009,
-0.014857270754873753,
0.0358872190117836,
-0.0012851636856794357,
0.046655334532260895,
-0.056196700781583786,
-0.030084513127803802,
-0.011030987836420536,
0.02840990573167801,
0.014389938674867153,
-0.03360897675156593,
0.030785510316491127,
-0.029286153614521027,
0.031252842396497726,
0.0014738003956153989,
-0.006703296676278114,
0.041086290031671524,
-0.022665612399578094,
-0.02737787924706936,
0.04307245463132858,
0.027027379721403122,
-0.012793219648301601,
-0.07469526678323746,
0.0204263124614954,
-0.003811678383499384,
0.02194514311850071,
-0.030785510316491127,
-0.019559800624847412,
-0.0002774785098154098,
-0.054210539907217026,
0.03345320001244545,
-0.037581298500299454,
0.006596199702471495,
0.044552337378263474,
-0.00878195185214281,
-0.018079916015267372,
0.021185727789998055,
-0.027572602033615112,
-0.044201839715242386,
-0.05787130817770958,
-0.013065829873085022,
0.009833448566496372,
0.014058911241590977,
-0.015100672841072083,
-0.014409410767257214,
-0.020698923617601395,
-0.005038425792008638,
0.0024388900492340326,
-0.0199589803814888,
-0.03376475349068642,
-0.04579855874180794,
0.015782197937369347,
0.014506771229207516,
-0.026988435536623,
-0.06947672367095947,
-0.0061093950644135475,
0.00634792959317565,
0.043578729033470154,
-0.00685420585796237,
-0.03152545168995857,
-0.00901561789214611,
-0.04174834489822388,
-0.032635368406772614,
0.06733478605747223,
-0.007165760733187199,
0.003794640302658081,
0.014088119380176067,
0.0024352390319108963,
0.04135890305042267,
0.04794049635529518,
0.03152545168995857,
-0.01753469556570053,
-0.0507834367454052,
0.03358950465917587,
0.026151131838560104,
0.009886997751891613,
-0.015100672841072083,
0.031174954026937485,
0.01324107963591814,
0.046655334532260895,
-0.05436631664633751,
-0.02545013464987278,
0.02798151783645153,
-0.025566967204213142,
0.04050212725996971,
0.0022928486578166485,
-0.05545675754547119,
0.08817001432180405,
-0.019170356914401054,
0.007584412582218647,
0.0050140852108597755,
-0.022061975672841072,
0.015061728656291962,
0.026560047641396523,
-0.02141939476132393,
0.02453494258224964,
-0.0015273487661033869,
-0.07699298113584518,
0.05339270830154419,
-0.012617969885468483,
-0.021633587777614594,
-0.011683305725455284,
-0.014409410767257214,
-0.01273480337113142,
0.054210539907217026,
-0.060558468103408813,
0.016629237681627274,
-0.03394000232219696,
0.017758624628186226,
0.024651775136590004,
0.008480132557451725,
-0.012900317087769508,
0.020796284079551697,
0.06788000464439392,
0.01224799919873476,
0.029188791289925575,
0.03956746309995651,
0.007652565371245146,
-0.03292744979262352,
0.047122664749622345,
0.014789117500185966,
-0.014068647287786007,
-0.011060195975005627,
-0.029695069417357445,
-0.07925175875425339,
-0.027592074126005173,
0.005082237999886274,
-0.007048927713185549,
-0.03635455295443535,
0.054599981755018234,
-0.05580725893378258,
0.0009900385048240423,
0.014350993558764458
]
|
41,692 | pyglove.core.hyper.object_template | template | Creates an object template from the input.
Example::
d = pg.Dict(x=pg.oneof(['a', 'b', 'c'], y=pg.manyof(2, range(4))))
t = pg.template(d)
assert t.dna_spec() == pg.geno.space([
pg.geno.oneof([
pg.geno.constant(),
pg.geno.constant(),
pg.geno.constant(),
], location='x'),
pg.geno.manyof([
pg.geno.constant(),
pg.geno.constant(),
pg.geno.constant(),
pg.geno.constant(),
], location='y')
])
assert t.encode(pg.Dict(x='a', y=0)) == pg.DNA([0, 0])
assert t.decode(pg.DNA([0, 0])) == pg.Dict(x='a', y=0)
t = pg.template(d, where=lambda x: isinstance(x, pg.hyper.ManyOf))
assert t.dna_spec() == pg.geno.space([
pg.geno.manyof([
pg.geno.constant(),
pg.geno.constant(),
pg.geno.constant(),
pg.geno.constant(),
], location='y')
])
assert t.encode(pg.Dict(x=pg.oneof(['a', 'b', 'c']), y=0)) == pg.DNA(0)
assert t.decode(pg.DNA(0)) == pg.Dict(x=pg.oneof(['a', 'b', 'c']), y=0)
Args:
value: A value based on which the template is created.
where: Function to filter hyper values. If None, all hyper primitives from
`value` will be included in the encoding/decoding process. Otherwise
only the hyper values on which 'where' returns True will be included.
`where` can be useful to partition a search space into separate
optimization processes. Please see 'ObjectTemplate' docstr for details.
Returns:
A template object.
| def template(
value: Any,
where: Optional[Callable[[base.HyperPrimitive], bool]] = None
) -> ObjectTemplate:
"""Creates an object template from the input.
Example::
d = pg.Dict(x=pg.oneof(['a', 'b', 'c'], y=pg.manyof(2, range(4))))
t = pg.template(d)
assert t.dna_spec() == pg.geno.space([
pg.geno.oneof([
pg.geno.constant(),
pg.geno.constant(),
pg.geno.constant(),
], location='x'),
pg.geno.manyof([
pg.geno.constant(),
pg.geno.constant(),
pg.geno.constant(),
pg.geno.constant(),
], location='y')
])
assert t.encode(pg.Dict(x='a', y=0)) == pg.DNA([0, 0])
assert t.decode(pg.DNA([0, 0])) == pg.Dict(x='a', y=0)
t = pg.template(d, where=lambda x: isinstance(x, pg.hyper.ManyOf))
assert t.dna_spec() == pg.geno.space([
pg.geno.manyof([
pg.geno.constant(),
pg.geno.constant(),
pg.geno.constant(),
pg.geno.constant(),
], location='y')
])
assert t.encode(pg.Dict(x=pg.oneof(['a', 'b', 'c']), y=0)) == pg.DNA(0)
assert t.decode(pg.DNA(0)) == pg.Dict(x=pg.oneof(['a', 'b', 'c']), y=0)
Args:
value: A value based on which the template is created.
where: Function to filter hyper values. If None, all hyper primitives from
`value` will be included in the encoding/decoding process. Otherwise
only the hyper values on which 'where' returns True will be included.
`where` can be useful to partition a search space into separate
optimization processes. Please see 'ObjectTemplate' docstr for details.
Returns:
A template object.
"""
return ObjectTemplate(value, compute_derived=True, where=where)
| (value: Any, where: Optional[Callable[[pyglove.core.hyper.base.HyperPrimitive], bool]] = None) -> pyglove.core.hyper.object_template.ObjectTemplate | [
0.09510952979326248,
-0.022297078743577003,
-0.030161194503307343,
-0.06154363974928856,
-0.010223349556326866,
0.01367430854588747,
-0.06050742790102959,
-0.02118685096502304,
-0.0018827616004273295,
-0.06550345569849014,
0.05399408936500549,
0.10576771944761276,
-0.02734861709177494,
0.03789578378200531,
-0.05832397937774658,
-0.009788510389626026,
0.013748323544859886,
0.07216481864452362,
0.04141150414943695,
-0.03375093266367912,
0.0458524152636528,
0.0034879662562161684,
0.02819979190826416,
0.032178107649087906,
0.025109656155109406,
-0.0724978893995285,
-0.0509224571287632,
-0.0027593791019171476,
-0.0017428266583010554,
-0.0299946591258049,
0.01686621457338333,
-0.07682777941226959,
0.005874956492334604,
0.002821829402819276,
0.02819979190826416,
-0.034620609134435654,
-0.01016783807426691,
0.0953315794467926,
-0.05388306453824043,
0.03956112638115883,
0.03789578378200531,
-0.031049376353621483,
-0.025239182636141777,
-0.019910089671611786,
-0.0063653071410954,
0.03717413544654846,
0.01924395188689232,
0.03256668895483017,
-0.033121801912784576,
0.010648936964571476,
0.014053636230528355,
-0.045408327132463455,
0.030956856906414032,
-0.01101901289075613,
-0.04233669489622116,
-0.004551935009658337,
-0.02808876894414425,
0.037470195442438126,
0.03671154007315636,
0.007720710709691048,
-0.02288920059800148,
0.03793279081583023,
-0.06713178753852844,
-0.04318786785006523,
0.009557212702929974,
-0.0032289130613207817,
-0.001667654956690967,
0.0022794369142502546,
-0.039154041558504105,
-0.012869392521679401,
-0.005648285150527954,
0.018947891891002655,
0.04130048304796219,
0.015348901972174644,
0.016135314479470253,
0.0029444172978401184,
-0.01773589290678501,
0.03789578378200531,
0.029421042650938034,
-0.031956061720848083,
0.019965600222349167,
-0.04389101266860962,
-0.098958320915699,
-0.03578634932637215,
-0.026774998754262924,
0.016995741054415703,
0.005805567372590303,
-0.0070730773732066154,
0.07379315793514252,
0.010806219652295113,
-0.019873080775141716,
-0.013544782064855099,
0.009788510389626026,
0.021334880962967873,
0.012194003909826279,
0.002179978881031275,
0.019095921888947487,
0.029643088579177856,
-0.004690713249146938,
0.0036082409787923098,
0.05736178159713745,
-0.04914609342813492,
-0.031086383387446404,
0.009376800619065762,
-0.019151432439684868,
-0.01660715974867344,
-0.01457174215465784,
0.020946301519870758,
0.02275967411696911,
-0.030179698020219803,
-0.08689384162425995,
-0.01765262521803379,
-0.0053753540851175785,
-0.01498807780444622,
0.03852491080760956,
-0.00835446547716856,
-0.024887610226869583,
0.00641619274392724,
-0.033861953765153885,
-0.0372481495141983,
0.0012941095046699047,
0.0027108066715300083,
0.004778606351464987,
-0.017809906974434853,
0.024943122640252113,
0.0290879737585783,
0.024887610226869583,
-0.05717674270272255,
-0.06072947010397911,
-0.012582584284245968,
-0.041892603039741516,
0.03536076098680496,
-0.04033828526735306,
0.017079006880521774,
-0.013933361507952213,
0.0005140586872585118,
-0.05876806750893593,
-0.048776015639305115,
0.002821829402819276,
0.041818588972091675,
0.01939198188483715,
0.007591183762997389,
0.03591587767004967,
-0.006689123809337616,
0.01184243243187666,
-0.0037400806322693825,
0.049775220453739166,
0.006670619826763868,
0.009399930015206337,
0.01841128058731556,
-0.014469971880316734,
0.02035417966544628,
0.06746485829353333,
-0.015543191693723202,
-0.04211464896798134,
-0.004491797648370266,
-0.0035319128073751926,
-0.036674533039331436,
-0.03091984987258911,
-0.03090134635567665,
0.031197406351566315,
0.08067657053470612,
-0.015607954934239388,
0.043742984533309937,
-0.002689989982172847,
0.03258519247174263,
0.051551587879657745,
-0.025794297456741333,
0.04936813935637474,
-0.057620834559202194,
-0.021686453372240067,
0.010889486409723759,
-0.029698599129915237,
0.0308088269084692,
0.0704994797706604,
0.021371889859437943,
-0.011509363539516926,
-0.000415757269365713,
-0.017153022810816765,
-0.020650241523981094,
0.004447850864380598,
0.022741170600056648,
-0.034009985625743866,
0.07238686829805374,
0.006036864593625069,
-0.008479366078972816,
0.035619813948869705,
0.06657667458057404,
0.03349187970161438,
-0.017365816980600357,
0.005218071397393942,
-0.002127937041223049,
-0.004133286420255899,
0.006814024411141872,
-0.020890790969133377,
-0.01272136252373457,
-0.0037632102612406015,
-0.03252968192100525,
-0.073756143450737,
0.10480552166700363,
-0.07283096015453339,
-0.07608762383460999,
-0.02368486486375332,
-0.02633090689778328,
-0.009284282103180885,
-0.00722573371604085,
0.02733011357486248,
-0.0063838111236691475,
-0.05040435120463371,
-0.06228379160165787,
0.039043016731739044,
-0.02807026542723179,
-0.018346518278121948,
0.027848219498991966,
0.01325797289609909,
-0.051440563052892685,
0.01856856420636177,
-0.02126086689531803,
-0.06047041714191437,
-0.04903506860136986,
-0.015543191693723202,
0.05806492641568184,
0.04644453898072243,
-0.006439322605729103,
0.059249166399240494,
-0.03789578378200531,
0.01283238548785448,
-0.007558802142739296,
-0.01541366521269083,
-0.038191843777894974,
0.06568849086761475,
-0.022500621154904366,
0.0316229946911335,
0.0013773766113445163,
0.006097001954913139,
-0.014738276600837708,
0.028551364317536354,
-0.050552383065223694,
-0.0050284075550735,
0.03252968192100525,
0.02473958022892475,
0.026090357452630997,
-0.031160399317741394,
-0.03695208951830864,
-0.00010769790242193267,
0.039006009697914124,
-0.020372683182358742,
-0.012434553354978561,
-0.005481750704348087,
-0.04081938415765762,
-0.014858551323413849,
-0.017088258638978004,
-0.003002241486683488,
-0.009992051869630814,
-0.01843903586268425,
-0.009349045343697071,
0.035693831741809845,
-0.11553772538900375,
0.00926577765494585,
0.027015548199415207,
-0.03967214748263359,
-0.003575859358534217,
-0.05132954195141792,
0.07186876237392426,
0.0009679800132289529,
-0.04411305859684944,
-0.04477919638156891,
0.013063683174550533,
-0.009927288629114628,
0.02910647727549076,
-0.005726926028728485,
0.05477124825119972,
0.0387839637696743,
-0.05876806750893593,
-0.0031849665101617575,
0.02366635948419571,
0.06809398531913757,
0.05288385972380638,
0.010334372520446777,
-0.012434553354978561,
-0.03867294266819954,
-0.017134519293904305,
0.01942899078130722,
-0.04836893454194069,
0.026071853935718536,
-0.008502496406435966,
-0.06098852679133415,
0.04903506860136986,
0.0007719554123468697,
-0.008141672238707542,
-0.019836073741316795,
-0.015126856975257397,
-0.012156996876001358,
0.01593177206814289,
-0.04200362786650658,
-0.029772615060210228,
-0.02895844727754593,
-0.035749342292547226,
0.043483931571245193,
-0.04762878268957138,
0.04736972972750664,
0.02203802578151226,
0.07778997719287872,
0.05614053085446358,
-0.07142467051744461,
0.02740412764251232,
0.05162560194730759,
-0.019614027813076973,
0.006240406539291143,
-0.00876154936850071,
0.00019212148617953062,
0.024369504302740097,
0.011157791130244732,
0.024850603193044662,
-0.01226801984012127,
0.040227260440588,
-0.011130035854876041,
-0.014358948916196823,
-0.004267438780516386,
0.010648936964571476,
-0.06257985532283783,
0.050700411200523376,
-0.032936763018369675,
-0.01412765122950077,
0.0478508286178112,
-0.03808081895112991,
0.003339936025440693,
-0.027126571163535118,
0.000028279733669478446,
0.033121801912784576,
0.0042234924621880054,
0.0614326149225235,
0.04996025934815407,
0.06339401751756668,
-0.0334363654255867,
0.0015288764843717217,
0.04070835933089256,
0.00829432811588049,
-0.07993641495704651,
-0.02633090689778328,
0.027052555233240128,
-0.029365530237555504,
0.014506978914141655,
-0.020946301519870758,
0.0018503799801692367,
-0.05806492641568184,
-0.03365841135382652,
-0.015617207624018192,
0.055955491960048676,
-0.015533939935266972,
-0.0043136985041201115,
0.063245989382267,
0.07660572975873947,
0.007605061866343021,
0.0009303942206315696,
-0.05950821936130524,
0.021797476336359978,
-0.011231807060539722,
-0.04833192750811577,
0.03970915451645851,
0.04067135229706764,
-0.020798271521925926,
-0.010103074833750725,
-0.005944345612078905,
0.0194845013320446,
-0.025923823937773705,
0.014803039841353893,
0.01103751640766859,
-0.02640492282807827,
-0.011601882986724377,
-0.00528746098279953,
-0.015691222622990608,
-0.027607670053839684,
0.0026969288010150194,
0.04677760601043701,
-0.04825790971517563,
-0.0438540056347847,
0.02723759412765503,
-0.0779380053281784,
0.0579909086227417,
0.04555635526776314,
-0.00240549398586154,
0.06535542011260986,
0.007031443994492292,
-0.040856391191482544,
-0.04685162007808685,
0.05521534010767937,
0.04289180785417557,
-0.0202986691147089,
-0.04155953601002693,
-0.014210918918251991,
-0.023148253560066223,
0.059434205293655396,
0.02725609764456749,
0.013720567338168621,
-0.01453473512083292,
-0.032141100615262985,
0.018068959936499596,
-0.03410250321030617,
-0.005486376583576202,
0.04870200157165527,
-0.013054431416094303,
-0.011250310577452183,
0.027700189501047134,
-0.027977745980024338,
-0.08104664087295532,
0.08904028683900833,
0.0212053544819355,
0.0010367910144850612,
0.029402539134025574,
-0.017041999846696854,
0.003580485237762332,
-0.05921215936541557,
-0.03948710858821869,
0.005440117325633764,
-0.061099547892808914,
0.018244747072458267,
0.04033828526735306,
-0.07690179347991943,
0.03974616155028343,
0.06568849086761475,
0.0110097611322999,
0.04218866303563118,
0.016126060858368874,
0.03815483674407005,
-0.0013079873751848936,
0.014201666228473186,
-0.04218866303563118,
0.032992277294397354,
0.028532858937978745,
-0.026960035786032677,
-0.0824529305100441,
-0.027126571163535118,
-0.03774775192141533,
0.058546021580696106,
0.008359091356396675,
0.015672719106078148,
-0.00971449539065361,
0.04289180785417557,
0.03432454913854599,
0.0331588089466095,
-0.0006771234329789877,
0.038376882672309875,
0.004510301165282726,
0.0027177457232028246,
0.036507997661828995,
-0.0008263103081844747,
-0.027774203568696976,
0.013470766134560108,
-0.0038719200529158115,
0.09362922608852386,
-0.01281388197094202,
0.06657667458057404,
0.005162560380995274,
0.012425301596522331,
-0.010778463445603848,
0.0157189778983593,
-0.00014962056593503803,
-0.025276191532611847,
0.026941532269120216,
-0.01749534346163273,
0.014655009843409061,
0.06720580160617828,
-0.03149346634745598,
-0.04944215342402458,
-0.028717897832393646,
-0.03258519247174263,
0.016412870958447456,
0.008465488441288471,
0.0030577529687434435,
0.003023058408871293,
0.016079802066087723,
-0.002912035444751382,
0.01103751640766859,
0.06550345569849014,
0.0024841350968927145,
0.046185486018657684,
-0.0290879737585783,
-0.022648651152849197,
-0.05565943196415901,
0.05869405344128609,
-0.02127937041223049,
0.022297078743577003,
0.02016914263367653,
0.021815979853272438,
0.01315620169043541,
0.047036658972501755,
0.02377738244831562,
0.021519919857382774,
0.021667949855327606,
-0.05747280269861221,
0.06698375940322876,
-0.0157652385532856,
-0.026090357452630997,
-0.049812231212854385,
0.013341239653527737,
-0.012675102800130844,
-0.006906543392688036,
0.021334880962967873,
-0.06135860085487366,
0.016468381509184837,
-0.024073444306850433,
-0.04814688861370087,
-0.024887610226869583,
-0.013230216689407825,
-0.032122597098350525,
0.07246088236570358,
0.0037192637100815773,
-0.00920564029365778,
-0.010796966962516308,
-0.02020614966750145,
-0.011925699189305305,
0.034620609134435654,
0.024073444306850433,
-0.011916447430849075,
0.029643088579177856,
0.019984103739261627,
0.012443805113434792,
-0.05095946416258812,
-0.03345486894249916,
0.033103298395872116,
0.00385110336355865,
-0.016292596235871315,
0.004533431027084589,
-0.026626968756318092,
-0.010352876037359238,
-0.010759959928691387,
-0.028440341353416443,
0.024073444306850433,
0.020927798002958298,
0.04019025340676308,
-0.058435000479221344,
0.016070550307631493,
0.047924842685461044,
-0.03800680488348007,
-0.01750459522008896,
-0.04744374379515648,
-0.034639112651348114,
-0.0008864476694725454,
0.03278873488306999,
0.01004756335169077,
0.041707564145326614,
0.007632817607372999,
0.0017011931631714106,
0.04411305859684944,
-0.016505390405654907,
0.010306616313755512,
-0.03600839525461197,
-0.008419228717684746,
0.014506978914141655,
-0.026774998754262924,
-0.08992847055196762,
0.027977745980024338,
0.041670557111501694,
-0.036674533039331436,
0.018984898924827576,
0.0066428640857338905,
-0.0025558373890817165,
-0.01060267724096775,
0.02997615560889244,
0.04033828526735306,
0.013618797063827515,
0.052291739732027054,
-0.0014062888221815228,
0.046074461191892624,
0.07771596312522888,
-0.013877850025892258,
0.0008650526287965477,
-0.018124472349882126,
0.0159040167927742,
0.02290770411491394,
0.0020955554209649563,
-0.02459155023097992,
-0.005551139824092388,
0.02903246320784092,
0.04592643305659294,
-0.07964035868644714,
0.01410914771258831,
-0.018929388374090195,
-0.021630942821502686,
-0.07260891050100327,
0.017190029844641685,
-0.011481608264148235,
-0.03160449117422104,
0.05913814529776573,
0.035730838775634766,
0.02812577597796917,
0.07964035868644714,
0.002467944286763668,
0.024832099676132202,
-0.015506184659898281,
0.027922233566641808,
-0.026923028752207756,
0.038339871913194656,
0.020539218559861183,
0.05121851712465286,
-0.0056714145466685295,
-0.02098330855369568,
-0.054845262318849564,
-0.0618026927113533,
-0.03360290080308914,
0.07405220717191696,
0.0006146731320768595,
0.060396403074264526,
0.018873875960707664,
-0.01830950938165188,
0.03066079691052437,
-0.05521534010767937,
0.022630147635936737,
-0.07209080457687378,
0.05466022714972496,
0.014146154746413231,
-0.037396181374788284,
-0.00296523398719728,
-0.016348106786608696,
-0.0033422489650547504,
-0.07816005498170853,
0.006989810615777969,
-0.02997615560889244,
-0.09444339573383331,
0.002914348617196083,
-0.029402539134025574,
-0.013868598267436028,
0.016995741054415703,
-0.007012940011918545,
-0.012416049838066101,
0.060211364179849625,
-0.014636505395174026,
-0.021464407444000244,
-0.006906543392688036,
0.02285219356417656,
0.006971306633204222,
-0.018068959936499596,
0.04685162007808685,
-0.037433188408613205,
0.028440341353416443,
-0.010741455480456352,
-0.021556926891207695,
-0.014266429468989372,
0.0628759115934372,
-0.0385989286005497,
-0.033972978591918945,
0.023240773007273674,
0.03410250321030617,
-0.00790112279355526,
0.004098591860383749,
-0.01584850437939167,
-0.05665863677859306,
-0.03141945227980614,
-0.00017723170458339155,
0.02366635948419571,
0.059323184192180634,
-0.01586700789630413,
-0.04814688861370087,
-0.0042766910046339035,
0.01661641336977482,
0.0656144767999649,
-0.026812005788087845,
0.013646552339196205,
0.029698599129915237,
0.025183672085404396,
-0.019040409475564957,
0.002615974750369787,
-0.03188204765319824,
0.007193352095782757,
0.021593933925032616,
-0.028810417279601097,
-0.03354739025235176,
0.014331192709505558,
0.03804381191730499,
-0.007577306125313044,
-0.004383087623864412,
-0.03071630746126175,
-0.031974565237760544,
0.0042026755400002,
-0.042632754892110825,
0.015321146696805954,
0.04389101266860962,
0.0019336470868438482,
-0.013035926967859268,
0.08830013126134872,
-0.011768416501581669,
-0.0022748110350221395,
0.03673004359006882,
-0.003538851859048009,
-0.08371119201183319,
0.030087178573012352,
-0.007947382517158985,
-0.017171526327729225,
-0.03623044118285179,
-0.014395956881344318,
-0.012980415485799313,
-0.004165668040513992,
-0.004787858109921217,
-0.04063434526324272,
-0.028569867834448814,
0.003548103617504239,
-0.025017138570547104,
-0.012573332525789738,
0.04333589971065521,
0.03521273285150528,
-0.01497882604598999,
0.007378390058875084,
0.003511096118018031,
-0.03499068692326546,
0.015321146696805954,
0.02723759412765503,
-0.011925699189305305,
0.06250583380460739,
-0.036545004695653915,
-0.021501416340470314,
0.08622770756483078,
0.021630942821502686,
-0.0336214043200016,
-0.004940514452755451,
0.006221902556717396,
-0.04163355007767677,
0.15232327580451965,
0.013128446415066719,
-0.010204846039414406,
-0.01226801984012127,
-0.016385115683078766,
0.03926506265997887,
-0.023536833003163338,
0.011657394468784332,
0.001118901651352644,
-0.012027470394968987,
-0.035749342292547226,
-0.035693831741809845,
-0.01282313372939825,
0.007133214734494686,
0.0014166971668601036,
-0.08334111422300339,
-0.07127663493156433,
0.01681995391845703,
-0.03264070302248001,
-0.03597138822078705,
-0.03191905468702316,
-0.012989667244255543,
-0.0059859794564545155,
-0.03702610358595848,
0.05643659085035324,
-0.010001303628087044,
-0.022278575226664543,
0.008058404549956322,
0.00040274678030982614,
0.052291739732027054,
0.006934299133718014,
0.00592121621593833,
0.05547439306974411,
0.0012756057549268007,
0.07853012531995773,
-0.012906400486826897,
-0.02287069708108902,
0.07079553604125977,
0.06483731418848038,
0.02296321652829647,
0.013220964930951595,
-0.06365307420492172,
-0.02831081487238407,
-0.08230490237474442,
0.007517168764024973,
0.02812577597796917,
0.006041490938514471,
0.026867518201470375,
-0.02651594579219818,
0.008322084322571754,
0.025146665051579475
]
|
41,693 | pyglove.core.symbolic.base | to_json | Serializes a (maybe) symbolic value into a plain Python object.
Example::
@pg.members([
('x', pg.typing.Any())
])
class A(pg.Object):
pass
a1 = A(1)
json = a1.to_json()
a2 = pg.from_json(json)
assert pg.eq(a1, a2)
Args:
value: value to serialize. Applicable value types are:
* Builtin python types: None, bool, int, float, string;
* JSONConvertible types;
* List types;
* Tuple types;
* Dict types.
**kwargs: Keyword arguments to pass to value.to_json if value is
JSONConvertible.
Returns:
JSON value.
| def to_json(value: Any, **kwargs) -> Any:
"""Serializes a (maybe) symbolic value into a plain Python object.
Example::
@pg.members([
('x', pg.typing.Any())
])
class A(pg.Object):
pass
a1 = A(1)
json = a1.to_json()
a2 = pg.from_json(json)
assert pg.eq(a1, a2)
Args:
value: value to serialize. Applicable value types are:
* Builtin python types: None, bool, int, float, string;
* JSONConvertible types;
* List types;
* Tuple types;
* Dict types.
**kwargs: Keyword arguments to pass to value.to_json if value is
JSONConvertible.
Returns:
JSON value.
"""
# NOTE(daiyip): special handling `sym_jsonify` since symbolized
# classes may have conflicting `to_json` method in their existing classes.
if isinstance(value, Symbolic):
return value.sym_jsonify(**kwargs)
return object_utils.to_json(value, **kwargs)
| (value: Any, **kwargs) -> Any | [
0.001140694716013968,
-0.038925617933273315,
0.02092062495648861,
-0.020295847207307816,
0.0034481168258935213,
0.017862996086478233,
-0.01572360098361969,
0.007615675684064627,
0.015051490627229214,
-0.05895640701055527,
0.04441609978675842,
0.043885983526706696,
-0.013678871095180511,
0.02092062495648861,
0.006034796126186848,
0.03199625015258789,
0.03489295393228531,
0.06656734645366669,
0.04752105847001076,
0.049073539674282074,
0.01030885148793459,
0.015505875460803509,
0.01430364977568388,
0.037108078598976135,
0.0011690937681123614,
-0.04293934628367424,
0.018838029354810715,
0.05884281173348427,
-0.056760214269161224,
0.044302500784397125,
0.030557366088032722,
-0.04324227198958397,
0.0370323471724987,
-0.02565379999577999,
0.0325452983379364,
0.018838029354810715,
-0.03847123309969902,
0.07913865894079208,
-0.0896652340888977,
-0.060508888214826584,
-0.0002662409970071167,
0.0655449852347374,
-0.09239154309034348,
-0.0026127116288989782,
0.03167439624667168,
-0.0016625270945951343,
-0.03987225145101547,
0.04225777089595795,
0.014767500571906567,
-0.02565379999577999,
0.0030410639010369778,
-0.04150046408176422,
0.03339727222919464,
0.027073750272393227,
0.01415218785405159,
-0.0011140706483274698,
-0.021450741216540337,
0.014918962493538857,
-0.03623717278242111,
0.014644438400864601,
-0.027111615985631943,
0.05535919591784477,
0.005296420771628618,
-0.03778965398669243,
0.0218293946236372,
0.0017157753463834524,
-0.04839196428656578,
-0.047256000339984894,
-0.046915214508771896,
-0.0027239411137998104,
-0.030954953283071518,
-0.052632886916399,
0.03718381002545357,
0.006086860783398151,
0.02315468341112137,
0.034268174320459366,
-0.028531568124890327,
0.01297836098819971,
-0.03938000276684761,
-0.03858482837677002,
0.034627895802259445,
-0.040364500135183334,
-0.03888775035738945,
-0.055132001638412476,
-0.014720168896019459,
0.005381618160754442,
-0.015051490627229214,
0.04574138671159744,
0.00592593289911747,
0.024820759892463684,
-0.0370323471724987,
-0.04665015637874603,
0.0036516431719064713,
0.045021943747997284,
-0.0131866205483675,
-0.06444688886404037,
0.050171636044979095,
-0.03688088431954384,
0.012628106400370598,
0.0044515496119856834,
0.055548522621393204,
0.004946166183799505,
-0.05653301998972893,
0.013584207743406296,
-0.011255485936999321,
-0.038812022656202316,
0.04589284956455231,
-0.003923800773918629,
0.012419846840202808,
-0.0007916232571005821,
-0.08269800245761871,
0.04134900122880936,
-0.007535211741924286,
-0.07220929116010666,
0.04059169441461563,
0.026335375383496284,
0.004640876315534115,
-0.024517837911844254,
0.014691770076751709,
-0.030273376032710075,
-0.058767080307006836,
0.05884281173348427,
0.045021943747997284,
0.05975157767534256,
0.03424924239516258,
0.0360289141535759,
0.042863618582487106,
-0.04475688561797142,
0.011444812640547752,
0.019690001383423805,
0.023552270606160164,
0.005144959315657616,
-0.015808798372745514,
0.0360289141535759,
0.045211270451545715,
0.02926994301378727,
-0.047634657472372055,
-0.014805366285145283,
0.037827521562576294,
-0.006905699614435434,
0.03248850256204605,
-0.020182250067591667,
-0.029383540153503418,
-0.06721106171607971,
0.0014554507797583938,
-0.015818264335393906,
0.010043793357908726,
0.009731404483318329,
-0.021488606929779053,
-0.02964859828352928,
0.042787887156009674,
0.007222822401672602,
0.06671880930662155,
0.02099635638296604,
-0.026524703949689865,
-0.011312284506857395,
0.0032919219229370356,
-0.049565792083740234,
-0.007308019325137138,
0.011937063187360764,
0.0131866205483675,
0.032621029764413834,
-0.024536769837141037,
-0.05304940789937973,
0.004950899165123701,
0.029667530208826065,
0.06353811919689178,
-0.010479245334863663,
-0.0216590017080307,
-0.010365649126470089,
-0.030803492292761803,
-0.04021304100751877,
0.02648683823645115,
0.019093621522188187,
-0.002615078119561076,
0.015165086835622787,
0.03496868535876274,
0.0649770051240921,
0.009456880390644073,
0.04150046408176422,
0.02466929890215397,
-0.04275001958012581,
-0.05032309889793396,
0.03252636641263962,
0.049149271100759506,
-0.01881909742951393,
0.03192051872611046,
-0.013584207743406296,
0.07069467753171921,
0.037373136729002,
0.017692601308226585,
0.027963588014245033,
0.03307541459798813,
-0.00023503163538407534,
-0.00551888020709157,
-0.05244356021285057,
0.03222344443202019,
-0.021999789401888847,
-0.07936584949493408,
0.06259148567914963,
-0.04184124991297722,
-0.03354873135685921,
0.006886767223477364,
-0.011757202446460724,
-0.009144490584731102,
-0.010005928575992584,
0.05100467428565025,
-0.04842982813715935,
0.05051242560148239,
-0.04941432923078537,
-0.039152808487415314,
-0.032564230263233185,
-0.022643500939011574,
0.02213231846690178,
-0.011965462006628513,
-0.02406345307826996,
0.014445644803345203,
-0.014379380270838737,
0.010848432779312134,
0.02406345307826996,
-0.03167439624667168,
0.011075625196099281,
-0.046915214508771896,
0.004913033917546272,
0.03042483702301979,
-0.03193945437669754,
-0.00382440397515893,
-0.016007592901587486,
0.005092894658446312,
-0.06895286589860916,
0.01436044741421938,
-0.016121188178658485,
-0.004162826109677553,
0.012968895025551319,
0.0343439057469368,
0.005111827049404383,
0.025786327198147774,
-0.05789617449045181,
-0.022037655115127563,
-0.029724327847361565,
0.011955996043980122,
-0.04892208054661751,
0.0010430730180814862,
0.001274406909942627,
-0.007563611026853323,
0.014104856178164482,
0.03991011530160904,
0.02394985593855381,
-0.024650366976857185,
-0.02565379999577999,
0.05032309889793396,
-0.033170077949762344,
0.03775179013609886,
-0.05274648219347,
-0.07421615719795227,
-0.054942674934864044,
0.016461975872516632,
0.008519711904227734,
-0.00008882095426088199,
0.014758034609258175,
-0.025066886097192764,
0.03267782926559448,
-0.062023501843214035,
0.030159780755639076,
0.03235597163438797,
-0.023665865883231163,
-0.02819078043103218,
0.02678976021707058,
-0.031541865319013596,
0.05062602087855339,
-0.07353457808494568,
-0.059183597564697266,
0.022586703300476074,
-0.02618391439318657,
-0.007274887524545193,
-0.025994587689638138,
-0.035536665469408035,
0.006243055686354637,
0.01844990998506546,
-0.03182585537433624,
-0.03858482837677002,
-0.05679807811975479,
0.03036803938448429,
-0.056457292288541794,
-0.017560072243213654,
0.02921314537525177,
0.025937790051102638,
0.03381378948688507,
0.02413918450474739,
-0.0068915002048015594,
0.08019889146089554,
-0.01942494325339794,
-0.03850909695029259,
0.03845230117440224,
0.02714948169887066,
0.03907707706093788,
-0.029951520264148712,
-0.0493764653801918,
0.06047102063894272,
0.00382440397515893,
0.057252462953329086,
0.003911967854946852,
0.050285231322050095,
0.07217142730951309,
-0.04771038517355919,
-0.0016861929325386882,
0.027016952633857727,
-0.01633891463279724,
-0.059789445251226425,
0.028815558180212975,
-0.014814832247793674,
-0.0052680219523608685,
-0.01741807721555233,
0.05342806130647659,
-0.004063429310917854,
-0.014341514557600021,
-0.02033371292054653,
-0.0685742124915123,
0.037827521562576294,
0.007691406644880772,
-0.0530872717499733,
0.004006631206721067,
-0.004214890766888857,
-0.023135751485824585,
0.01188026461750269,
-0.03301861509680748,
0.000995149719528854,
0.028985952958464622,
0.06717319786548615,
0.01330968365073204,
-0.007147091440856457,
0.0037936384323984385,
0.08178923279047012,
0.05751752108335495,
-0.06005450338125229,
0.010034327395260334,
0.025559134781360626,
0.021810462698340416,
-0.07035388797521591,
0.009778736159205437,
0.01164360623806715,
0.012571307830512524,
0.020125452429056168,
-0.01427525095641613,
-0.005045562516897917,
0.03854696452617645,
0.007672473788261414,
-0.014862163923680782,
0.037467800080776215,
-0.059070002287626266,
-0.03907707706093788,
0.0996616929769516,
-0.020030789077281952,
0.03814937546849251,
-0.0780026987195015,
-0.003876468865200877,
0.042674291878938675,
-0.048354096710681915,
-0.049679387360811234,
-0.05202703922986984,
0.033908452838659286,
0.01596025936305523,
0.013035159558057785,
-0.03059523180127144,
0.03521480783820152,
0.02968646213412285,
0.011331216432154179,
-0.014246851205825806,
0.08413688838481903,
-0.013252885080873966,
0.009206022135913372,
0.01070643775165081,
-0.012741702608764172,
-0.005116560496389866,
-0.026714030653238297,
0.03563132882118225,
0.02612711675465107,
0.025029020383954048,
-0.026448972523212433,
0.027300942689180374,
0.031182145699858665,
-0.05248142406344414,
-0.00366584281437099,
0.0006105793290771544,
0.04346946254372597,
-0.003911967854946852,
0.0770939290523529,
-0.023930924013257027,
-0.026581501588225365,
-0.013962861150503159,
-0.06914219260215759,
-0.015288149937987328,
0.03623717278242111,
0.0018045223550871015,
0.039228539913892746,
-0.010933630168437958,
0.0012602073838934302,
0.010384581983089447,
-0.050777483731508255,
0.04100821167230606,
0.011530010029673576,
-0.04373452067375183,
0.03447643294930458,
0.010450846515595913,
-0.021867260336875916,
-0.019368145614862442,
0.06516633182764053,
-0.04312867671251297,
0.025899924337863922,
0.05823696404695511,
0.007965930737555027,
-0.06569644808769226,
-0.07913865894079208,
-0.04801331087946892,
0.050171636044979095,
0.018961092457175255,
-0.032942887395620346,
-0.017446476966142654,
-0.006872567813843489,
-0.015524808317422867,
0.0343439057469368,
0.04100821167230606,
-0.02370373159646988,
0.030576299875974655,
0.01330968365073204,
0.002747607184574008,
0.05679807811975479,
0.03337833657860756,
0.03210984915494919,
0.059675849974155426,
0.045703522861003876,
-0.06384103745222092,
0.04441609978675842,
-0.03896348178386688,
0.003074195934459567,
0.01639571227133274,
0.027566000819206238,
-0.05407177284359932,
0.016887962818145752,
0.022037655115127563,
-0.010450846515595913,
0.04150046408176422,
-0.06168271228671074,
0.03309434652328491,
0.011056692339479923,
-0.0008371800067834556,
0.03466575965285301,
0.03379485756158829,
0.04305294528603554,
0.019443875178694725,
0.020541971549391747,
-0.0435451939702034,
0.10753769427537918,
-0.029837924987077713,
-0.04153832793235779,
-0.036256108433008194,
0.0059969304129481316,
-0.019879328086972237,
0.030992818996310234,
0.01844990998506546,
0.03979652002453804,
-0.011747736483812332,
-0.03133360669016838,
-0.052405692636966705,
-0.03669155761599541,
0.05691167712211609,
0.009807134978473186,
0.04138686880469322,
-0.021091019734740257,
-0.021621135994791985,
0.06209923326969147,
0.04990657791495323,
-0.035763856023550034,
0.0004943207604810596,
0.01740861125290394,
0.04755892604589462,
-0.019671067595481873,
-0.03430603817105293,
-0.05819910019636154,
-0.03742993250489235,
-0.011937063187360764,
-0.03708914667367935,
0.002034081146121025,
-0.00931488536298275,
0.05884281173348427,
0.06255361437797546,
0.04676375165581703,
0.008283053524792194,
0.04381025210022926,
0.015344947576522827,
-0.02607031911611557,
0.05036096274852753,
-0.027357742190361023,
-0.0024375843349844217,
0.00420305784791708,
0.04293934628367424,
-0.003722640685737133,
-0.04275001958012581,
-0.024707164615392685,
-0.012381981126964092,
-0.029913654550909996,
0.04100821167230606,
-0.03968292474746704,
0.025029020383954048,
-0.01803339086472988,
-0.03271569311618805,
0.03729740530252457,
0.01809018850326538,
-0.04767252132296562,
0.007587276864796877,
0.0044302502647042274,
0.04513553902506828,
0.04108394309878349,
0.021242480725049973,
-0.02998938597738743,
0.03358659893274307,
0.01844990998506546,
0.007634608540683985,
-0.06293227523565292,
-0.0713762566447258,
-0.05346592515707016,
-0.02472609654068947,
0.018733900040388107,
0.004390018060803413,
-0.06149338558316231,
-0.01844044215977192,
-0.016130654141306877,
0.020523039624094963,
0.03968292474746704,
0.03315114602446556,
0.030159780755639076,
0.0062146564014256,
-0.02370373159646988,
0.04858129099011421,
0.006295120343565941,
-0.02201872132718563,
0.02885342389345169,
0.03847123309969902,
0.05032309889793396,
-0.037884317338466644,
0.04203058034181595,
0.060092367231845856,
-0.0013051725691184402,
-0.025559134781360626,
0.0007667740574106574,
-0.012505044229328632,
-0.00023355252051260322,
-0.00861437525600195,
0.004505980759859085,
-0.007809735834598541,
-0.005007697269320488,
-0.04687734693288803,
0.06297013908624649,
0.029894722625613213,
-0.05653301998972893,
-0.014379380270838737,
0.03053843416273594,
0.02472609654068947,
-0.006266721524298191,
-0.006119993049651384,
-0.0038054713513702154,
0.060508888214826584,
0.02601351961493492,
-0.021261414512991905,
-0.02201872132718563,
0.020409442484378815,
-0.025975655764341354,
0.042674291878938675,
0.02080702967941761,
-0.0023441039957106113,
-0.012732235714793205,
-0.000603479566052556,
0.04244709759950638,
-0.011312284506857395,
0.015875063836574554,
0.0034457501024007797,
-0.022170184180140495,
0.04100821167230606,
-0.016708102077245712,
-0.025691663846373558,
-0.029080616310238838,
0.003999531269073486,
-0.020901693031191826,
-0.027054818347096443,
0.05997877195477486,
0.029970454052090645,
0.016282115131616592,
0.08815062046051025,
-0.01170040387660265,
-0.0404023677110672,
-0.023817328736186028,
0.06259148567914963,
-0.007492613513022661,
-0.005798137281090021,
0.02353333681821823,
-0.047331731766462326,
-0.034192442893981934,
0.01143534667789936,
0.018667634576559067,
-0.015553207136690617,
-0.07868427038192749,
0.026884423568844795,
0.013281283900141716,
-0.05032309889793396,
0.03858482837677002,
0.04604430869221687,
-0.03572599217295647,
-0.010545509867370129,
0.024101318791508675,
-0.04839196428656578,
-0.0034812488593161106,
0.060584619641304016,
-0.027073750272393227,
-0.04059169441461563,
-0.0358017235994339,
-0.0010980962542816997,
-0.017465408891439438,
0.008041661232709885,
-0.05941079184412956,
-0.009357483126223087,
0.04078102111816406,
0.0002992252993863076,
-0.012665972113609314,
-0.019973991438746452,
0.042977213859558105,
0.012893163599073887,
-0.02287069335579872,
0.0172287505120039,
-0.02673296257853508,
-0.035896386951208115,
-0.021867260336875916,
-0.021147817373275757,
-0.02836117334663868,
0.0020127820316702127,
-0.02866409718990326,
-0.10322104394435883,
-0.024536769837141037,
0.0043213870376348495,
0.008936231024563313,
0.040553826838731766,
-0.06395463645458221,
-0.026392174884676933,
-0.059486523270606995,
0.03000831790268421,
-0.03767605870962143,
0.02819078043103218,
-0.005414750427007675,
-0.036805156618356705,
0.003029230982065201,
0.005783937871456146,
0.035953182727098465,
-0.0072843534871935844,
-0.025294078513979912,
-0.024517837911844254,
0.02359013631939888,
0.034324973821640015,
0.0026221780572086573,
0.011548942886292934,
0.0065412456169724464,
0.0018743366235867143,
0.006489180494099855,
-0.051383327692747116,
-0.03778965398669243,
-0.0012057758867740631,
0.05100467428565025,
0.028266509994864464,
-0.04221990704536438,
-0.029307808727025986,
0.061909906566143036,
0.007587276864796877,
-0.03720274195075035,
0.0038528030272573233,
0.013375947251915932,
-0.0031215278431773186,
-0.0836067721247673,
-0.016376780346035957,
0.0002789614081848413,
0.08269800245761871,
0.01012899074703455,
-0.030273376032710075,
-0.049982309341430664,
-0.009845000691711903,
-0.0036469099577516317,
0.05293580889701843,
-0.08474273234605789,
-0.013300216756761074,
0.0018731533782556653,
0.05812336876988411,
-0.007000363431870937,
-0.04233350232243538,
0.007218089420348406,
0.00019420801254455,
-0.055737849324941635,
-0.0036374437622725964,
-0.04396171495318413,
-0.0038433365989476442,
-0.015193486586213112,
0.040137309581041336,
0.045021943747997284,
0.021980857476592064,
-0.008581243455410004,
0.0018281881930306554,
0.04498407989740372,
0.02552127093076706,
0.08148631453514099,
-0.009286485612392426,
0.009508945047855377,
-0.03466575965285301,
0.0625157505273819,
-0.03212878108024597,
-0.08701466023921967,
0.025975655764341354,
-0.02152647264301777,
0.014208986423909664,
-0.04930073395371437,
-0.018042856827378273,
-0.03652116656303406,
0.07111119478940964,
-0.03888775035738945,
0.05596503987908363,
0.00898356270045042,
-0.025029020383954048,
0.06838488578796387,
-0.04100821167230606,
0.03930427134037018,
-0.018128054216504097,
-0.0003751039912458509,
-0.0032327573280781507,
0.027906790375709534,
-0.0171151552349329,
-0.017806198447942734,
0.0557757131755352,
-0.03182585537433624,
0.002891968935728073,
-0.005272754933685064,
-0.00795646384358406,
-0.014786433428525925,
-0.01942494325339794,
-0.01511775515973568,
0.03349193558096886,
-0.023306144401431084,
0.034855086356401443,
-0.018364712595939636,
-0.03309434652328491,
0.06550712138414383,
-0.0015335481148213148,
-0.01427525095641613,
0.04661228880286217,
0.00574607215821743,
0.016859563067555428,
-0.0020246149506419897,
0.045211270451545715,
-0.03616144508123398,
-0.0162726491689682,
0.09996461868286133,
0.01297836098819971,
-0.03551773354411125,
0.04547632858157158,
0.023987721651792526,
-0.04892208054661751,
-0.12541015446186066,
-0.01143534667789936,
-0.019746799021959305,
-0.049868714064359665,
0.010715904645621777,
0.005490480922162533,
-0.041954848915338516,
-0.020882761105895042
]
|
41,694 | pyglove.core.symbolic.base | to_json_str | Serializes a (maybe) symbolic value into a JSON string.
Example::
@pg.members([
('x', pg.typing.Any())
])
class A(pg.Object):
pass
a1 = A(1)
json_str = a1.to_json_str()
a2 = pg.from_json_str(json_str)
assert pg.eq(a1, a2)
Args:
value: Value to serialize.
json_indent: The size of indentation for JSON format.
**kwargs: Additional keyword arguments that are passed to ``pg.to_json``.
Returns:
A JSON string.
| def to_json_str(value: Any,
*,
json_indent=None,
**kwargs) -> str:
"""Serializes a (maybe) symbolic value into a JSON string.
Example::
@pg.members([
('x', pg.typing.Any())
])
class A(pg.Object):
pass
a1 = A(1)
json_str = a1.to_json_str()
a2 = pg.from_json_str(json_str)
assert pg.eq(a1, a2)
Args:
value: Value to serialize.
json_indent: The size of indentation for JSON format.
**kwargs: Additional keyword arguments that are passed to ``pg.to_json``.
Returns:
A JSON string.
"""
return json.dumps(to_json(value, **kwargs), indent=json_indent)
| (value: Any, *, json_indent=None, **kwargs) -> str | [
-0.022063929587602615,
-0.04973861575126648,
-0.006236282642930746,
-0.02955126017332077,
0.004736447241157293,
-0.007274083327502012,
-0.006113073322921991,
-0.04791891202330589,
0.006255237851291895,
-0.07915718853473663,
0.03324753791093826,
0.05614549666643143,
-0.03478291258215904,
0.022063929587602615,
0.007492068689316511,
-0.019618699327111244,
0.035749632865190506,
0.00537381786853075,
0.11342830955982208,
0.0589129664003849,
0.02363721653819084,
0.04556845873594284,
0.025589609518647194,
0.0558043010532856,
-0.03262201324105263,
-0.04481024667620659,
-0.006724380422383547,
0.01595085673034191,
-0.010065246373414993,
0.05910252034664154,
0.03616664558649063,
-0.0780198723077774,
0.046933237463235855,
-0.006184155587106943,
-0.01036853063851595,
0.021779600530862808,
-0.05117921903729439,
0.029683945700526237,
-0.10053873062133789,
-0.0843888446688652,
-0.01714503765106201,
0.051709964871406555,
-0.08234167098999023,
-0.03338022157549858,
0.037929486483335495,
-0.0071508740074932575,
-0.026082444936037064,
0.03150365129113197,
-0.006283670663833618,
0.03629933297634125,
0.02532423473894596,
0.0013612250331789255,
-0.00011654526315396652,
-0.006421096157282591,
0.009392334148287773,
0.013742567971348763,
-0.014074284583330154,
-0.024243785068392754,
-0.01907847449183464,
-0.01855720579624176,
-0.026878567412495613,
0.013723612762987614,
0.05466698482632637,
0.00191211246419698,
-0.007468374911695719,
-0.03114350140094757,
-0.0533401183784008,
-0.054742805659770966,
-0.027731554582715034,
-0.005871393717825413,
-0.027883196249604225,
-0.0350293293595314,
0.029115287587046623,
0.01295592449605465,
0.019884074106812477,
0.06020192429423332,
-0.057282812893390656,
0.024186918511986732,
-0.03859291970729828,
-0.06331058591604233,
0.023788858205080032,
-0.050117723643779755,
0.0026845394168049097,
-0.07157508283853531,
0.021722733974456787,
-0.03336126729846001,
-0.04746398702263832,
0.054098326712846756,
0.03175007179379463,
0.035635899752378464,
-0.014339658431708813,
-0.02900155633687973,
0.01163853332400322,
0.0621732734143734,
-0.0009175533195957541,
-0.021552138030529022,
0.04526517540216446,
-0.03286843001842499,
0.03247037157416344,
0.000761172384954989,
0.06023983284831047,
0.010776069015264511,
-0.047084879130125046,
0.009629274718463421,
-0.020130492746829987,
-0.052506085485219955,
0.03283052146434784,
0.009932558983564377,
-0.00936864037066698,
-0.0023528223391622305,
-0.043559201061725616,
0.0330769382417202,
0.0026253042742609978,
-0.07695838063955307,
0.06679835915565491,
0.02526737004518509,
-0.008037032559514046,
-0.03810008242726326,
0.06990701705217361,
-0.031314097344875336,
-0.010529650375247002,
0.033645596355199814,
0.04098128527402878,
0.045985475182533264,
0.03957859426736832,
-0.0021478685084730387,
-0.0011071059852838516,
-0.011742787435650826,
0.02456602454185486,
0.008354533463716507,
0.03349395468831062,
-0.0006041990709491074,
-0.003831333015114069,
0.016367871314287186,
0.07112015783786774,
0.0628935694694519,
-0.021931242197752,
0.011183606460690498,
0.04094337299466133,
0.04382457584142685,
0.03717127442359924,
-0.013202342204749584,
-0.022651541978120804,
-0.05068638175725937,
0.0462508499622345,
-0.02124885283410549,
0.023466618731617928,
0.013761523179709911,
-0.003445119597017765,
-0.02428169548511505,
0.054894451051950455,
-0.011742787435650826,
0.04973861575126648,
0.000892082171048969,
-0.022272437810897827,
-0.008506175130605698,
-0.006482700817286968,
-0.060012370347976685,
0.0008452863548882306,
-0.026006624102592468,
0.024111097678542137,
0.027447225525975227,
-0.02477453276515007,
-0.03880142793059349,
0.023694081231951714,
0.029437527060508728,
0.06251446902751923,
0.0011799653293564916,
-0.030214693397283554,
-0.030252603814005852,
-0.009643491357564926,
-0.04026098549365997,
0.012178758159279823,
0.01818757690489292,
0.001463109627366066,
0.05208906903862953,
0.03463127091526985,
0.07305359095335007,
-0.04810846596956253,
0.021931242197752,
0.015183167532086372,
-0.04799473285675049,
0.004532678052783012,
0.05280936881899834,
0.05000399053096771,
-0.03472604602575302,
0.043293826282024384,
-0.02297378145158291,
0.059822820127010345,
0.026006624102592468,
-0.003108663484454155,
-0.001104736584238708,
0.028034837916493416,
-0.017780039459466934,
-0.01159114483743906,
-0.03118141181766987,
0.048525478690862656,
-0.05064846947789192,
-0.021798554807901382,
0.03531365841627121,
-0.05064846947789192,
-0.029266931116580963,
-0.02477453276515007,
-0.0203390009701252,
0.009913603775203228,
-0.023807814344763756,
0.016851231455802917,
-0.05694161728024483,
0.029721856117248535,
-0.040412627160549164,
-0.010728680528700352,
-0.03353186324238777,
-0.01437756884843111,
-0.009998902678489685,
0.025153636932373047,
-0.006060946267098188,
0.03243245929479599,
0.02293587103486061,
-0.0023753317072987556,
0.011221516877412796,
-0.021154075860977173,
-0.0038455494213849306,
-0.0056060198694467545,
-0.0009477632702328265,
0.010501217097043991,
-0.004625084809958935,
0.017770562320947647,
-0.031769026070833206,
0.016064587980508804,
-0.036583662033081055,
0.03650784119963646,
-0.016159364953637123,
0.030517978593707085,
-0.0064969174563884735,
0.06107386574149132,
-0.0060562072321772575,
0.01465242076665163,
-0.0829482451081276,
0.010491739958524704,
-0.06573686003684998,
-0.003909523598849773,
-0.07953629642724991,
-0.01400794181972742,
-0.01335398480296135,
0.007999122142791748,
0.005781356245279312,
0.028319166973233223,
0.004719861317425966,
-0.006781246513128281,
0.003883460070937872,
0.06804940104484558,
-0.013496149331331253,
0.001440600142814219,
-0.029229018837213516,
-0.06482701003551483,
-0.040071431547403336,
0.040564268827438354,
0.0445827841758728,
0.0029025250114500523,
0.047729358077049255,
-0.02293587103486061,
-0.001865908969193697,
-0.09121274203062057,
0.0005926482263021171,
0.019884074106812477,
-0.018595116212964058,
-0.014500778168439865,
0.021514225751161575,
-0.019808253273367882,
0.04716069996356964,
-0.08355481177568436,
-0.04003352299332619,
0.01687018573284149,
-0.04716069996356964,
-0.04033680632710457,
-0.03645097464323044,
-0.044203680008649826,
-0.008340316824615002,
0.04272516816854477,
-0.06812522560358047,
-0.03950277343392372,
-0.04109501466155052,
0.041019193828105927,
-0.03724709898233414,
0.003013887209817767,
0.0027959016151726246,
0.03501037508249283,
-0.02437647245824337,
0.04371084272861481,
0.03493455424904823,
0.06232491508126259,
-0.008444570936262608,
-0.039275310933589935,
0.018879445269703865,
0.028887825086712837,
0.027769464999437332,
0.044089946895837784,
-0.05004190281033516,
0.0453789047896862,
-0.0032792610581964254,
0.03973023593425751,
0.005880871322005987,
0.06475118547677994,
0.05462907627224922,
-0.03114350140094757,
0.014794585295021534,
0.010861366987228394,
-0.023997366428375244,
-0.04568219184875488,
-0.0015543317422270775,
-0.023864679038524628,
-0.011505845934152603,
-0.05068638175725937,
0.0454547256231308,
0.00787117425352335,
0.013391895219683647,
-0.0319206677377224,
-0.055728480219841,
0.002537636086344719,
-0.008520391769707203,
-0.03612873703241348,
-0.0006711348542012274,
-0.027124986052513123,
-0.011249950155615807,
0.04336964711546898,
-0.058723412454128265,
-0.0010792654938995838,
0.027788419276475906,
0.03889620676636696,
0.024205874651670456,
-0.010046291165053844,
-0.03353186324238777,
0.03645097464323044,
0.05925416201353073,
-0.0036702132783830166,
0.011685920879244804,
0.020831836387515068,
0.0027603604830801487,
-0.08029450476169586,
0.010197932831943035,
0.068466417491436,
-0.002076786244288087,
0.03781575337052345,
0.004572957754135132,
0.011648010462522507,
0.013941598124802113,
-0.001918035908602178,
0.011752264574170113,
0.05686579644680023,
-0.07161299139261246,
-0.016528991982340813,
0.10137276351451874,
0.0061936331912875175,
0.019921984523534775,
-0.07472165673971176,
0.009960992261767387,
0.03756933659315109,
0.0038147473242133856,
-0.02839498780667782,
-0.02058541774749756,
0.0026395206805318594,
-0.0005399289075285196,
0.027788419276475906,
-0.01091823261231184,
0.03010096214711666,
0.055728480219841,
0.006828634534031153,
-0.04920786991715431,
0.0757073312997818,
0.005999341607093811,
-0.009416027925908566,
0.0014998354017734528,
-0.0014180907746776938,
0.0021028497721999884,
-0.047539807856082916,
0.04496189206838608,
0.03205335512757301,
0.007212478667497635,
-0.024167964234948158,
-0.009979947470128536,
0.033057983964681625,
-0.0493595115840435,
0.03849814459681511,
0.015704438090324402,
0.018452951684594154,
0.01702182926237583,
0.06133924052119255,
-0.03413843363523483,
-0.019675565883517265,
-0.029418572783470154,
-0.05989864096045494,
-0.023504529148340225,
0.021362584084272385,
0.01886996626853943,
-0.0018339219968765974,
-0.03935113176703453,
-0.013363461941480637,
0.0015258989296853542,
-0.037436649203300476,
0.0621732734143734,
-0.023750947788357735,
-0.04117083549499512,
0.028186479583382607,
-0.006274193059653044,
-0.03004409559071064,
0.001999780535697937,
0.05193742737174034,
-0.03950277343392372,
-0.006861806381493807,
0.08476794511079788,
-0.020016761496663094,
-0.08355481177568436,
-0.09689931571483612,
-0.02517259307205677,
0.06133924052119255,
-0.012519952841103077,
-0.06414461880922318,
0.017258768901228905,
-0.016585856676101685,
-0.016765931621193886,
0.02143840491771698,
0.04568219184875488,
-0.029437527060508728,
0.037228140980005264,
-0.015107346698641777,
0.009226475842297077,
0.03125723451375961,
0.03487768769264221,
0.06698790937662125,
0.04765353724360466,
0.04037471488118172,
-0.04026098549365997,
0.06986910849809647,
-0.04568219184875488,
0.018945788964629173,
0.006904455367475748,
0.028072748333215714,
-0.035692766308784485,
0.029475437477231026,
0.0013778108404949307,
0.01246308721601963,
0.023694081231951714,
-0.057927291840314865,
0.05292310193181038,
0.00452556973323226,
0.008349794894456863,
0.002850398188456893,
0.025437965989112854,
0.02447124756872654,
0.04716069996356964,
0.0035754370037466288,
-0.012055548839271069,
0.04010934382677078,
-0.032015442848205566,
-0.021874377503991127,
-0.03954068571329117,
0.0048004211857914925,
-0.027826329693198204,
-0.006705425214022398,
0.008638862520456314,
0.016064587980508804,
0.019618699327111244,
0.0053027356043457985,
-0.028072748333215714,
-0.02223452739417553,
0.017922203987836838,
-0.010785546153783798,
0.04989026114344597,
-0.026821700856089592,
-0.017599964514374733,
0.05098966509103775,
0.048335928469896317,
-0.04750189557671547,
0.02576020546257496,
0.054742805659770966,
0.030517978593707085,
-0.008861586451530457,
-0.03341813385486603,
-0.0390857569873333,
0.0040943375788629055,
-0.01975138671696186,
-0.02431960590183735,
0.0019903029315173626,
0.009856738150119781,
0.053453847765922546,
0.052619818598032,
0.0469711497426033,
0.02860349602997303,
0.04666786268353462,
0.02511572651565075,
-0.01767578534781933,
0.08037032932043076,
-0.01524951122701168,
-0.036583662033081055,
0.011581667698919773,
0.028072748333215714,
-0.013808910734951496,
-0.05087593197822571,
-0.0266700591892004,
-0.005127399228513241,
-0.02596871368587017,
0.04503771290183067,
-0.013657269068062305,
0.0025447444058954716,
-0.01544854138046503,
-0.03254619240760803,
0.05197533965110779,
0.0422702431678772,
-0.0374176949262619,
-0.0018753865733742714,
0.03338022157549858,
0.021817510947585106,
0.03197753429412842,
-0.003165529342368245,
-0.0338730588555336,
0.005662885494530201,
0.03485873341560364,
-0.015761302784085274,
-0.05178578570485115,
-0.08165928721427917,
-0.07142344117164612,
-0.0039569116197526455,
-0.01623518578708172,
0.014102717861533165,
-0.04462069645524025,
-0.01459555421024561,
0.01226405706256628,
0.019675565883517265,
-0.0003183892404194921,
0.06679835915565491,
0.0044805509969592094,
0.039768148213624954,
-0.008856847882270813,
0.050610560923814774,
0.009543976746499538,
0.011221516877412796,
-0.012093459255993366,
0.019031086936593056,
0.04731234163045883,
-0.03461231663823128,
0.037531424313783646,
0.03556007891893387,
0.007714793086051941,
-0.056638333946466446,
-0.011932339519262314,
0.010207410901784897,
0.033001117408275604,
0.03356977552175522,
0.01437756884843111,
-0.008487219922244549,
0.0054022506810724735,
-0.03999561071395874,
0.029759766533970833,
0.003930848091840744,
-0.033304400742053986,
0.01595085673034191,
0.008046510629355907,
0.014254359528422356,
0.01009367872029543,
0.013884732499718666,
-0.02771259844303131,
0.03736082836985588,
0.013685701414942741,
0.01402689702808857,
0.007240911480039358,
0.01393212005496025,
-0.025930803269147873,
0.027617821469902992,
0.028432898223400116,
0.02536214515566826,
-0.005312213208526373,
-0.01579921320080757,
0.018244443461298943,
-0.005127399228513241,
-0.03224290534853935,
-0.027617821469902992,
-0.021722733974456787,
0.03950277343392372,
0.0013316074619069695,
0.006184155587106943,
-0.030669620260596275,
-0.013818388804793358,
0.02471766620874405,
-0.027219761162996292,
0.04666786268353462,
0.061415061354637146,
0.003089708276093006,
0.08529869467020035,
0.0012842192081734538,
-0.03935113176703453,
-0.03332335874438286,
0.05277146026492119,
0.010406441055238247,
-0.0038218554109334946,
0.059064608067274094,
-0.0446586050093174,
-0.0021490531507879496,
0.007345165591686964,
0.025892892852425575,
-0.0226894523948431,
-0.062059540301561356,
0.03610978275537491,
0.01437756884843111,
-0.014841972850263119,
0.05800311267375946,
0.05383295565843582,
-0.02517259307205677,
0.01895526610314846,
0.029873499646782875,
-0.024433337152004242,
-0.019770342856645584,
0.07043776661157608,
-0.060315653681755066,
-0.06748074293136597,
-0.02312542498111725,
0.00936864037066698,
-0.019770342856645584,
0.005842960439622402,
-0.07786823064088821,
-0.05641087144613266,
0.06585059314966202,
0.04560637101531029,
-0.01203659363090992,
-0.030328424647450447,
0.03336126729846001,
-0.017960114404559135,
-0.04363502189517021,
-0.00621732696890831,
-0.030252603814005852,
-0.059671174734830856,
-0.014548166655004025,
-0.020206313580274582,
-0.028224390000104904,
-0.030821261927485466,
-0.046137116849422455,
-0.10463306307792664,
-0.022670498117804527,
0.00010388374357717112,
-0.0159224234521389,
0.012301967479288578,
-0.02547587640583515,
-0.015041003003716469,
-0.08082525432109833,
0.03248932585120201,
-0.04158785194158554,
0.04496189206838608,
-0.007662666030228138,
-0.04939742386341095,
-0.016481604427099228,
-0.021059300750494003,
0.0060088192112743855,
-0.03317171335220337,
0.0107476357370615,
-0.041208747774362564,
0.001017068512737751,
0.01223562378436327,
0.01898369938135147,
0.05610758811235428,
-0.0003403062582947314,
0.013789955526590347,
0.028281256556510925,
-0.04530308395624161,
-0.03739874064922333,
0.005113183055073023,
0.05720699205994606,
-0.006928149610757828,
-0.029835587367415428,
-0.034650225192308426,
0.08636019378900528,
-0.027617821469902992,
-0.012055548839271069,
0.027371402829885483,
-0.007695837877690792,
-0.00025234196800738573,
-0.05292310193181038,
-0.03629933297634125,
-0.01286114752292633,
0.08817989379167557,
-0.016652200371026993,
-0.06880761682987213,
-0.023220200091600418,
0.0017628397326916456,
0.008183935657143593,
0.010207410901784897,
-0.05481863021850586,
0.025343190878629684,
0.016728021204471588,
0.044696517288684845,
0.027030209079384804,
0.008700466714799404,
0.008510914631187916,
-0.022670498117804527,
-0.06315894424915314,
0.0002874388301279396,
0.0038739824667572975,
0.006127289496362209,
0.01776108331978321,
0.06986910849809647,
0.042990542948246,
-0.004961540922522545,
-0.004776726942509413,
0.024603934958577156,
0.033456042408943176,
0.03586336225271225,
0.058533862233161926,
-0.02337184175848961,
0.04211860150098801,
-0.0413983017206192,
0.03138991817831993,
-0.05356758087873459,
-0.04128456860780716,
0.03224290534853935,
-0.0038763517513871193,
0.030176782980561256,
-0.0628935694694519,
-0.012396743521094322,
-0.026290953159332275,
0.033057983964681625,
-0.023599306121468544,
0.0558043010532856,
-0.040412627160549164,
-0.030859172344207764,
-0.002273447113111615,
-0.06630551815032959,
0.026139311492443085,
-0.005165310110896826,
-0.009615058079361916,
0.012197713367640972,
0.04014725238084793,
-0.0338730588555336,
-0.048373837023973465,
0.05788938328623772,
0.007240911480039358,
-0.011411069892346859,
0.015476974658668041,
0.016329960897564888,
-0.02970290184020996,
-0.03605291619896889,
-0.0159603338688612,
0.010870845057070255,
-0.012415698729455471,
0.07472165673971176,
-0.0001279480493394658,
-0.027295581996440887,
0.05690370872616768,
0.02547587640583515,
-0.04272516816854477,
0.060315653681755066,
-0.012927491217851639,
0.008240802213549614,
-0.004174897447228432,
0.06816313415765762,
-0.03904784843325615,
-0.02263258770108223,
0.07479748129844666,
-0.012823237106204033,
-0.03635619953274727,
0.058420129120349884,
0.0069139329716563225,
-0.037929486483335495,
-0.1290474534034729,
-0.013884732499718666,
-0.006681730970740318,
-0.03482082486152649,
0.008368750102818012,
0.01984616369009018,
-0.03175007179379463,
-0.02342870831489563
]
|
41,695 | pyglove.core.symbolic.flags | track_origin | Returns a context manager to enable or disable origin tracking.
`track_origin` is thread-safe and can be nested. For example::
a = pg.Dict(x=1)
with pg.track_origin(False):
with pg.track_origin(True):
# b's origin will be tracked, which can be accessed by `b.sym_origin`.
b = a.clone()
# c's origin will not be tracked, `c.sym_origin` returns None.
c = a.clone()
Args:
enabled: If True, the origin of symbolic values will be tracked during
object cloning and retuning from functors under current scope.
Returns:
A context manager for enable or disable origin tracking.
| def track_origin(enabled: bool = True) -> ContextManager[None]:
"""Returns a context manager to enable or disable origin tracking.
`track_origin` is thread-safe and can be nested. For example::
a = pg.Dict(x=1)
with pg.track_origin(False):
with pg.track_origin(True):
# b's origin will be tracked, which can be accessed by `b.sym_origin`.
b = a.clone()
# c's origin will not be tracked, `c.sym_origin` returns None.
c = a.clone()
Args:
enabled: If True, the origin of symbolic values will be tracked during
object cloning and retuning from functors under current scope.
Returns:
A context manager for enable or disable origin tracking.
"""
return thread_local.thread_local_value_scope(
_TLS_ENABLE_ORIGIN_TRACKING, enabled, False
)
| (enabled: bool = True) -> ContextManager[NoneType] | [
0.06407846510410309,
-0.025034239515662193,
-0.03385746851563454,
0.060595110058784485,
0.016852177679538727,
0.032728247344493866,
-0.0008935673395171762,
0.029512841254472733,
0.0011346031678840518,
-0.028613293543457985,
-0.020096292719244957,
-0.05424085259437561,
-0.03739824518561363,
0.0024330869782716036,
-0.04425012320280075,
-0.007627021986991167,
-0.044632911682128906,
-0.047542087733745575,
0.006248990073800087,
-0.04830766096711159,
0.017990967258810997,
0.026680221781134605,
0.035369474440813065,
-0.01681389845907688,
-0.01963694952428341,
0.03268996998667717,
-0.032555993646383286,
-0.014478900469839573,
-0.03148419409990311,
0.013033881783485413,
0.04417356476187706,
0.0005424803239293396,
-0.01665121503174305,
-0.02218247950077057,
0.010497921146452427,
-0.06446125358343124,
-0.05045126751065254,
0.06315977871417999,
0.015359309501945972,
-0.058834291994571686,
-0.05221208557486534,
-0.020881006494164467,
0.03741738572716713,
0.008215555921196938,
-0.000030409848477574997,
0.020613055676221848,
-0.017148837447166443,
0.007258589845150709,
0.07870091497898102,
-0.005086276214569807,
0.071925587952137,
-0.008607911877334118,
-0.04321660101413727,
0.010316097177565098,
-0.014402343891561031,
0.007918896153569221,
0.04314004257321358,
0.04344627261161804,
-0.054279129952192307,
-0.011340050958096981,
0.013751606456935406,
0.022316455841064453,
-0.008765812031924725,
0.028153950348496437,
0.003918777219951153,
-0.07571517676115036,
-0.018880946561694145,
0.009517029859125614,
0.042297910898923874,
0.012430992908775806,
-0.0214551854878664,
-0.04352283105254173,
-0.012555398046970367,
-0.02656538598239422,
-0.01692873425781727,
-0.03814467787742615,
-0.0324028804898262,
-0.006028887815773487,
0.016852177679538727,
0.0032441159710288048,
-0.03801070153713226,
0.00862705148756504,
0.04918806999921799,
0.051752738654613495,
-0.021531742066144943,
0.0025407455395907164,
0.017502915114164352,
0.015512424521148205,
0.05010675638914108,
0.009717993438243866,
0.025991205126047134,
0.0569586381316185,
-0.0014402343658730388,
-0.048345938324928284,
-0.028785547241568565,
0.008024162612855434,
0.01130177266895771,
0.01892879419028759,
-0.04777175933122635,
-0.0025239987298846245,
-0.009536169469356537,
0.03818295896053314,
-0.05496814846992493,
0.024421781301498413,
-0.0077992756851017475,
0.0885002464056015,
0.04589610546827316,
-0.06817428022623062,
0.03954184800386429,
0.01813451200723648,
0.013971708714962006,
-0.02348395437002182,
-0.004751337692141533,
0.04581954702734947,
-0.0013744429452344775,
-0.026871614158153534,
-0.07785878330469131,
-0.0068614487536251545,
-0.03760877624154091,
-0.02532132901251316,
-0.04371422156691551,
0.045436762273311615,
-0.01902449131011963,
-0.05531265586614609,
0.01672777161002159,
0.038604021072387695,
0.0885002464056015,
-0.0051389094442129135,
-0.011799395084381104,
-0.05408773943781853,
0.005760937463492155,
-0.005646101664751768,
0.012593677267432213,
0.0377044752240181,
0.03531205654144287,
0.0006453541573137045,
-0.008885432966053486,
0.037111155688762665,
-0.008483506739139557,
0.01742635667324066,
-0.010038577020168304,
-0.004873351193964481,
-0.02243129163980484,
-0.005765722133219242,
-0.015665538609027863,
0.030795177444815636,
-0.029857350513339043,
0.023809323087334633,
-0.009856753051280975,
-0.030106160789728165,
0.06419330090284348,
-0.0377044752240181,
0.013196566142141819,
0.08138041943311691,
-0.06863362342119217,
0.04153233766555786,
-0.014297077432274818,
0.0359627939760685,
0.021627439185976982,
0.009655790403485298,
-0.007359071169048548,
-0.004540805239230394,
-0.015560273081064224,
-0.09676843881607056,
0.0315224714577198,
-0.01875654049217701,
-0.002940279198810458,
-0.062164533883333206,
-0.025723256170749664,
-0.027464933693408966,
-0.021780554205179214,
0.007359071169048548,
0.04846077412366867,
0.03257513418793678,
0.0604802742600441,
0.026412270963191986,
-0.024517478421330452,
-0.0021950416266918182,
-0.05339872092008591,
0.03335984796285629,
0.02645055018365383,
0.01743592694401741,
0.010871137492358685,
-0.012641525827348232,
0.041570618748664856,
-0.005894912872463465,
0.06384879350662231,
-0.027732884511351585,
0.07311222702264786,
0.029953045770525932,
-0.053245607763528824,
0.00011887316213687882,
0.005823140032589436,
-0.03961840644478798,
-0.014450191520154476,
0.014000417664647102,
-0.03066120110452175,
-0.041072994470596313,
-0.05125511810183525,
0.06170519068837166,
0.016593797132372856,
0.02794341742992401,
-0.007339932024478912,
-0.028689850121736526,
-0.004787224344909191,
0.054011180996894836,
-0.030890872702002525,
-0.009052901528775692,
0.00145100022200495,
0.08383025228977203,
0.0315224714577198,
-0.044900860637426376,
-0.038604021072387695,
0.04853733256459236,
0.008641405962407589,
0.04168545454740524,
-0.00902897771447897,
0.06614551693201065,
0.02436436340212822,
0.009062470868229866,
0.03261341154575348,
-0.05443224683403969,
-0.04846077412366867,
-0.02400071546435356,
0.0170818492770195,
-0.001702203880995512,
0.040192585438489914,
-0.017895270138978958,
-0.011416608467698097,
-0.08635663986206055,
0.027101287618279457,
-0.0056317467242479324,
-0.07050927728414536,
-0.03699631989002228,
0.08030861616134644,
-0.018249347805976868,
0.0788540244102478,
0.047542087733745575,
-0.02296719141304493,
-0.00710069015622139,
-0.026661083102226257,
0.04784831777215004,
0.07410747557878494,
0.04187684878706932,
-0.0508340522646904,
-0.006402104627341032,
-0.0025527076795697212,
0.028938662260770798,
0.015311461873352528,
0.01936899870634079,
-0.02446006052196026,
0.0017536408267915249,
-0.07651902735233307,
-0.015541133470833302,
-0.012172612361609936,
-0.07954303920269012,
-0.009354346431791782,
0.002187864389270544,
-0.001050868653692305,
-0.02111067809164524,
-0.0232160035520792,
0.00915338285267353,
-0.006646131165325642,
-0.010450072586536407,
0.03006788343191147,
0.0021507819183170795,
-0.010354375466704369,
-0.07376296818256378,
0.020536497235298157,
-0.006569574121385813,
-0.16092346608638763,
0.015435867011547089,
0.015292322263121605,
0.04765692353248596,
-0.02472800947725773,
-0.035350337624549866,
-0.02601034566760063,
0.05221208557486534,
-0.006143724080175161,
0.015914350748062134,
-0.0446711890399456,
0.010306527838110924,
-0.013608061708509922,
-0.02539788745343685,
-0.0473506934940815,
-0.007182032335549593,
-0.031579889357089996,
0.010191691108047962,
0.008225126191973686,
-0.03827865421772003,
-0.05994437262415886,
0.0981464684009552,
0.029589399695396423,
-0.028498457744717598,
0.11521875113248825,
-0.012115193530917168,
-0.018708692863583565,
-0.016708632931113243,
-0.0018086663912981749,
0.08536139875650406,
0.032211486250162125,
0.0920218825340271,
-0.013177426531910896,
0.0613224022090435,
0.0675235465168953,
-0.00898112915456295,
0.04685307294130325,
-0.04532192647457123,
0.001793115632608533,
0.01288076676428318,
0.04172373190522194,
0.07242321223020554,
-0.019589101895689964,
-0.0342019759118557,
0.05163790285587311,
-0.0029713804833590984,
0.008258619345724583,
-0.04738897457718849,
-0.0028182659298181534,
0.037915006279945374,
-0.007665300276130438,
-0.016689492389559746,
-0.01578037440776825,
0.006363826338201761,
-0.010067285969853401,
-0.010162982158362865,
0.015828223899006844,
0.022125061601400375,
0.014536318369209766,
0.01926373317837715,
-0.061475519090890884,
0.022756660357117653,
-0.045092254877090454,
-0.013253984041512012,
-0.028441039845347404,
0.006626992020756006,
-0.0122683085501194,
-0.002866114256903529,
-0.028326204046607018,
-0.04478602483868599,
0.03892939165234566,
0.01646939106285572,
-0.05626961961388588,
-0.01893836446106434,
-0.05772421136498451,
-0.029398005455732346,
0.010603186674416065,
0.02086186595261097,
0.09937138855457306,
-0.0464702844619751,
-0.042795535176992416,
0.015005231834948063,
-0.020019736140966415,
0.03293878212571144,
0.02103411965072155,
0.018861806020140648,
0.006894942373037338,
0.016144022345542908,
-0.0011423785472288728,
-0.0015981338219717145,
-0.004059929866343737,
-0.049379464238882065,
0.04532192647457123,
-0.018182359635829926,
-0.06786805391311646,
-0.023426536470651627,
0.03718771040439606,
-0.0841364786028862,
0.018077094107866287,
-0.010497921146452427,
-0.04654684290289879,
-0.0010867549572139978,
0.00836867094039917,
0.0267376396805048,
-0.008215555921196938,
0.031216241419315338,
-0.008296898566186428,
-0.034489065408706665,
-0.02007715404033661,
0.03525463864207268,
0.1104721948504448,
0.05186757445335388,
0.050604380667209625,
0.014603306539356709,
-0.021397767588496208,
0.008057656697928905,
0.020919283851981163,
0.045436762273311615,
0.0007972726016305387,
-0.013732466846704483,
0.016172731295228004,
-0.047886595129966736,
0.01893836446106434,
-0.004442716483026743,
0.010813719592988491,
-0.03707287460565567,
-0.04612577706575394,
0.01954125240445137,
-0.016258858144283295,
-0.031675584614276886,
0.06683453172445297,
0.047542087733745575,
0.024995960295200348,
-0.03958012908697128,
-0.007143753580749035,
-0.0037130294367671013,
-0.008024162612855434,
-0.016086604446172714,
0.010373515076935291,
-0.0010927359107881784,
-0.058834291994571686,
-0.039388734847307205,
0.03171386569738388,
-0.014258798211812973,
-0.02252698689699173,
-0.06649002432823181,
-0.015474146232008934,
-0.0056317467242479324,
0.028019974008202553,
0.04015430808067322,
-0.00604802742600441,
-0.0665665790438652,
-0.07238493114709854,
-0.020096292719244957,
-0.046317171305418015,
0.02532132901251316,
-0.011799395084381104,
-0.010268248617649078,
-0.0030886088497936726,
-0.0016459821490570903,
0.004318310413509607,
-0.01165585033595562,
0.09607942402362823,
-0.017215823754668236,
-0.014632015489041805,
-0.020134571939706802,
-0.0034929271787405014,
0.04003947228193283,
-0.024479199200868607,
0.03747480362653732,
-0.0036843204870820045,
0.003031190950423479,
-0.019235024228692055,
-0.003193875076249242,
0.03885283321142197,
-0.011885521933436394,
-0.030125301331281662,
0.01587607152760029,
0.0010514667956158519,
0.04777175933122635,
-0.050604380667209625,
0.02235473319888115,
0.023177724331617355,
0.015885641798377037,
-0.06564789265394211,
0.01936899870634079,
0.009483536705374718,
-0.022239897400140762,
-0.05734142288565636,
0.042106520384550095,
0.010804150253534317,
-0.05313077196478844,
-0.021684857085347176,
0.011091239750385284,
0.05975297838449478,
0.026412270963191986,
0.025991205126047134,
-0.00436137430369854,
-0.06204969808459282,
-0.03898680955171585,
0.04880528524518013,
-0.024306945502758026,
0.007918896153569221,
-0.030622923746705055,
0.024383502081036568,
0.031771283596754074,
-0.04853733256459236,
0.029130054637789726,
-0.007866263389587402,
-0.022239897400140762,
-0.05810699611902237,
-0.010890277102589607,
0.024479199200868607,
-0.007153323385864496,
0.0015036333352327347,
-0.03889111056923866,
0.03270911052823067,
-0.026431409642100334,
0.035369474440813065,
0.05994437262415886,
-0.009933310560882092,
0.00011438738147262484,
-0.03468045964837074,
-0.044900860637426376,
0.02411555126309395,
0.03380005061626434,
-0.0016112921293824911,
-0.029072636738419533,
0.02225903794169426,
-0.031771283596754074,
0.00004459612682694569,
-0.0315607488155365,
0.0006973892450332642,
0.011043391190469265,
0.06882502138614655,
-0.019560392946004868,
-0.030163578689098358,
0.02357965148985386,
-0.038259513676166534,
0.05186757445335388,
0.02279493771493435,
0.006363826338201761,
0.031177964061498642,
-0.029761653393507004,
0.0017919194651767612,
0.019244592636823654,
-0.010354375466704369,
-0.027905138209462166,
0.026163460686802864,
-0.05462363734841347,
-0.0038302578032016754,
0.0054738475009799,
0.08972516655921936,
-0.024172969162464142,
0.007971529848873615,
0.01760818064212799,
-0.027196982875466347,
0.022373873740434647,
-0.017388079315423965,
0.026699360460042953,
0.09921827167272568,
-0.022316455841064453,
-0.03217320889234543,
0.018967073410749435,
0.08620353043079376,
0.07961960136890411,
-0.011703697964549065,
-0.12034808844327927,
-0.039044227451086044,
-0.017732586711645126,
0.027713745832443237,
-0.03747480362653732,
0.018440742045640945,
0.03669008985161781,
0.009349561296403408,
-0.0059331911616027355,
-0.005942760966718197,
-0.03575226292014122,
0.038431767374277115,
-0.03757049888372421,
0.06626035273075104,
-0.003366129007190466,
0.010086425580084324,
-0.0232160035520792,
-0.020364243537187576,
-0.026871614158153534,
0.033417265862226486,
0.015435867011547089,
-0.007493046578019857,
-0.0011435748310759664,
0.033685214817523956,
-0.012919045984745026,
-0.08528484404087067,
0.021225513890385628,
-0.009942879900336266,
-0.02777116373181343,
0.011024252511560917,
0.05136995390057564,
0.016536379233002663,
0.013885581865906715,
0.007851908914744854,
-0.03441251069307327,
0.022105922922492027,
-0.0018804388819262385,
0.0003687310963869095,
0.04922634735703468,
0.010191691108047962,
-0.011397468857467175,
0.010804150253534317,
-0.004430754110217094,
0.01710098795592785,
-0.05837494879961014,
-0.04417356476187706,
-0.006899727508425713,
-0.011904661543667316,
-0.006612637545913458,
-0.005961900111287832,
0.025818951427936554,
0.021493464708328247,
0.0005257333978079259,
-0.030182719230651855,
0.04241274669766426,
0.02428780496120453,
-0.027311818674206734,
0.0368049256503582,
-0.004933161661028862,
-0.0709303468465805,
-0.008512215688824654,
0.054891590029001236,
0.04520709067583084,
-0.020038874819874763,
-0.012029066681861877,
-0.024651452898979187,
0.004244145937263966,
-0.02874726988375187,
-0.0665665790438652,
-0.004713059403002262,
-0.03441251069307327,
0.003985764924436808,
-0.03136935830116272,
-0.023790182545781136,
-0.020976701751351357,
0.027541492134332657,
-0.04440324008464813,
0.05592511221766472,
-0.024976821616292,
0.004894882906228304,
0.0499153658747673,
-0.03531205654144287,
0.018679983913898468,
0.05328388512134552,
-0.0045431978069245815,
-0.040269143879413605,
-0.027196982875466347,
0.0027919493149966,
-0.0022572444286197424,
0.050872329622507095,
0.0258572306483984,
-0.06116928905248642,
0.011684559285640717,
-0.01936899870634079,
0.022660963237285614,
-0.01681389845907688,
-0.021971946582198143,
0.053513556718826294,
-0.026680221781134605,
-0.010067285969853401,
0.022660963237285614,
-0.010268248617649078,
0.019416846334934235,
-0.04983880743384361,
0.01288076676428318,
0.000409701227908954,
0.00637818081304431,
-0.07640419155359268,
-0.023943297564983368,
0.009229940362274647,
-0.020613055676221848,
-0.007440413348376751,
0.021608300507068634,
-0.0064882319420576096,
0.007526540197432041,
0.0019354644464328885,
-0.00038218844565562904,
-0.025570141151547432,
0.068365678191185,
-0.0613224022090435,
0.031216241419315338,
0.09975416958332062,
-0.004119740333408117,
-0.01340709812939167,
0.012344866059720516,
0.026661083102226257,
0.06262388080358505,
-0.020574776455760002,
0.015885641798377037,
-0.023713625967502594,
0.027828581631183624,
0.09041418135166168,
-0.023082029074430466,
0.008909356780350208,
-0.002409162698313594,
-0.06978198885917664,
-0.00015520797751378268,
-0.008028947748243809,
-0.03655611351132393,
-0.02989562787115574,
-0.01174197718501091,
-0.00958880316466093,
-0.009531384333968163,
0.0025407455395907164,
0.051561348140239716,
0.04130266606807709,
-0.0016818683361634612,
0.020134571939706802,
0.029761653393507004,
0.06706420332193375,
-0.03445078805088997,
0.05152306705713272,
-0.007737073116004467,
-0.02076616883277893,
0.02461317367851734,
0.04348454996943474,
0.026661083102226257,
-0.020632194355130196,
0.034221116453409195,
-0.02093842439353466,
-0.04880528524518013,
0.03494841232895851,
-0.026661083102226257,
-0.008550493977963924,
0.005789646413177252,
0.04275725781917572,
-0.02742665633559227,
-0.0032441159710288048,
-0.009847183711826801,
0.018871376290917397,
-0.019043629989027977,
0.017129696905612946,
-0.0022919343318790197,
-0.02725440077483654,
-0.026220878586173058,
0.00666048564016819,
-0.002894823206588626,
0.0473506934940815,
0.03347468376159668,
-0.05328388512134552,
-0.01240228395909071,
0.063121497631073,
0.022469568997621536,
0.05225036293268204,
0.01516791619360447,
0.0473506934940815,
0.044211845844984055,
0.0490732342004776,
0.03200095519423485,
0.012718082405626774,
-0.005076706409454346,
-0.014880826696753502,
-0.013158286921679974,
0.01893836446106434,
0.024134691804647446,
-0.04268069937825203,
0.07299739122390747,
0.012698943726718426,
0.030986569821834564,
-0.024172969162464142,
0.047542087733745575,
-0.06649002432823181,
0.045972663909196854,
0.028173089027404785,
-0.02796255610883236,
-0.010478781536221504,
0.05462363734841347,
0.04264242202043533,
0.0036029783077538013,
-0.014574597589671612,
-0.010038577020168304,
-0.016766050830483437,
0.06449953466653824,
0.024306945502758026,
-0.031139684841036797,
0.010296957567334175,
-0.022125061601400375,
-0.06534165889024734,
0.012976463884115219,
-0.038967669010162354,
-0.008450012654066086,
-0.02235473319888115,
0.0030886088497936726,
-0.05240347608923912,
-0.0236562080681324,
-0.020440801978111267,
0.04417356476187706,
-0.059906091541051865,
-0.02181883342564106,
0.005067136604338884,
0.04432668164372444
]
|
41,696 | pyglove.core.symbolic.base | traverse | Traverse a (maybe) symbolic value using visitor functions.
Example::
@pg.members([
('x', pg.typing.Int())
])
class A(pg.Object):
pass
v = [{'a': A(1)}, A(2)]
integers = []
def track_integers(k, v, p):
if isinstance(v, int):
integers.append((k, v))
return pg.TraverseAction.ENTER
pg.traverse(v, track_integers)
assert integers == [('[0].a.x', 1), ('[1].x', 2)]
Args:
x: Maybe symbolic value.
preorder_visitor_fn: preorder visitor function. Function signature is
`(path, value, parent) -> should_continue`.
postorder_visitor_fn: postorder visitor function. Function signature is
`(path, value, parent) -> should_continue`.
root_path: KeyPath of root value.
parent: Optional parent of the root node.
Returns:
True if both `preorder_visitor_fn` and `postorder_visitor_fn` return
either `TraverseAction.ENTER` or `TraverseAction.CONTINUE` for all nodes.
Otherwise False.
| def traverse(x: Any,
preorder_visitor_fn: Optional[
Callable[[object_utils.KeyPath, Any, Any],
Optional[TraverseAction]]] = None,
postorder_visitor_fn: Optional[
Callable[[object_utils.KeyPath, Any, Any],
Optional[TraverseAction]]] = None,
root_path: Optional[object_utils.KeyPath] = None,
parent: Optional[Any] = None) -> bool:
"""Traverse a (maybe) symbolic value using visitor functions.
Example::
@pg.members([
('x', pg.typing.Int())
])
class A(pg.Object):
pass
v = [{'a': A(1)}, A(2)]
integers = []
def track_integers(k, v, p):
if isinstance(v, int):
integers.append((k, v))
return pg.TraverseAction.ENTER
pg.traverse(v, track_integers)
assert integers == [('[0].a.x', 1), ('[1].x', 2)]
Args:
x: Maybe symbolic value.
preorder_visitor_fn: preorder visitor function. Function signature is
`(path, value, parent) -> should_continue`.
postorder_visitor_fn: postorder visitor function. Function signature is
`(path, value, parent) -> should_continue`.
root_path: KeyPath of root value.
parent: Optional parent of the root node.
Returns:
True if both `preorder_visitor_fn` and `postorder_visitor_fn` return
either `TraverseAction.ENTER` or `TraverseAction.CONTINUE` for all nodes.
Otherwise False.
"""
root_path = root_path or object_utils.KeyPath()
def no_op_visitor(path, value, parent):
del path, value, parent
return TraverseAction.ENTER
if preorder_visitor_fn is None:
preorder_visitor_fn = no_op_visitor
if postorder_visitor_fn is None:
postorder_visitor_fn = no_op_visitor
preorder_action = preorder_visitor_fn(root_path, x, parent)
if preorder_action is None or preorder_action == TraverseAction.ENTER:
if isinstance(x, dict):
for k, v in x.items():
if not traverse(v, preorder_visitor_fn, postorder_visitor_fn,
object_utils.KeyPath(k, root_path), x):
preorder_action = TraverseAction.STOP
break
elif isinstance(x, list):
for i, v in enumerate(x):
if not traverse(v, preorder_visitor_fn, postorder_visitor_fn,
object_utils.KeyPath(i, root_path), x):
preorder_action = TraverseAction.STOP
break
elif isinstance(x, Symbolic.ObjectType): # pytype: disable=wrong-arg-types
for k, v in x.sym_items():
if not traverse(v, preorder_visitor_fn, postorder_visitor_fn,
object_utils.KeyPath(k, root_path), x):
preorder_action = TraverseAction.STOP
break
postorder_action = postorder_visitor_fn(root_path, x, parent)
if (preorder_action == TraverseAction.STOP or
postorder_action == TraverseAction.STOP):
return False
return True
| (x: Any, preorder_visitor_fn: Optional[Callable[[pyglove.core.object_utils.value_location.KeyPath, Any, Any], Optional[pyglove.core.symbolic.base.TraverseAction]]] = None, postorder_visitor_fn: Optional[Callable[[pyglove.core.object_utils.value_location.KeyPath, Any, Any], Optional[pyglove.core.symbolic.base.TraverseAction]]] = None, root_path: Optional[pyglove.core.object_utils.value_location.KeyPath] = None, parent: Optional[Any] = None) -> bool | [
0.005249994341284037,
-0.013346065767109394,
-0.04761079326272011,
0.0028689466416835785,
-0.011130191385746002,
0.021020308136940002,
-0.0104288375005126,
0.012858166359364986,
0.04224390536546707,
-0.033847980201244354,
0.018590977415442467,
0.008736438117921352,
0.04023132473230362,
-0.005361804738640785,
-0.028542080894112587,
-0.007669159676879644,
0.017066294327378273,
0.0667608231306076,
0.020064838230609894,
0.06106866896152496,
-0.01016455888748169,
0.013590014539659023,
0.008482323959469795,
-0.03547430783510208,
-0.0288876760751009,
-0.033299095928668976,
0.035738587379455566,
0.030635979026556015,
-0.02679377608001232,
0.024821851402521133,
0.0426504872739315,
-0.014931736513972282,
-0.020898332819342613,
-0.03228263929486275,
0.037527550011873245,
0.017818471416831017,
-0.06464659422636032,
0.045008666813373566,
-0.018336864188313484,
-0.03518970310688019,
-0.026285547763109207,
0.017726989462971687,
-0.046675652265548706,
-0.0018054797546938062,
-0.021833471953868866,
0.013224090449512005,
0.00502129178494215,
0.013091951608657837,
0.05557980760931969,
-0.06037747859954834,
0.03581990301609039,
-0.023520788177847862,
0.05370952934026718,
0.01022554561495781,
0.04773276671767235,
0.0022374733816832304,
0.004927269648760557,
-0.01452515460550785,
0.06123130023479462,
-0.018062420189380646,
0.06383343040943146,
0.043707601726055145,
-0.024150991812348366,
0.030351372435688972,
-0.004012459423393011,
-0.030940916389226913,
-0.01801159791648388,
-0.043301019817590714,
-0.08554492890834808,
-0.01048982422798872,
-0.08261753618717194,
-0.03815775364637375,
0.010652457363903522,
-0.016913825646042824,
-0.0059005264192819595,
-0.03655175119638443,
0.0001442890934413299,
0.019170356914401054,
0.02413066290318966,
-0.008909235708415508,
-0.021731825545430183,
-0.0515953004360199,
-0.1078256368637085,
-0.032831523567438126,
-0.007872451096773148,
0.0423252210021019,
0.04675697162747383,
-0.006063159089535475,
0.02573666162788868,
0.07582760602235794,
-0.03535233438014984,
-0.010439001955091953,
-0.009153185412287712,
0.053506236523389816,
-0.034559499472379684,
0.026346536353230476,
0.040373627096414566,
-0.04598446190357208,
-0.0053922985680401325,
-0.0014903784031048417,
0.05029423534870148,
0.03535233438014984,
-0.017472876235842705,
0.028867347165942192,
0.00021679098426830024,
-0.012553229928016663,
-0.0010431378614157438,
0.030331043526530266,
0.054034795612096786,
-0.026061927899718285,
-0.05842588469386101,
-0.05663692206144333,
0.023439472541213036,
-0.018794268369674683,
-0.008451830595731735,
0.012990306131541729,
-0.023927371948957443,
-0.0036744880490005016,
-0.037954460829496384,
-0.037344589829444885,
0.016741028055548668,
-0.0028689466416835785,
-0.004187798127532005,
0.01767616719007492,
0.004835788626223803,
-0.04610643908381462,
0.0927007719874382,
0.033786993473768234,
-0.043585628271102905,
0.05952365696430206,
0.06700477004051208,
0.035149045288562775,
-0.026305878534913063,
0.05614902079105377,
0.0267327893525362,
0.04752947762608528,
0.019119534641504288,
0.005351640284061432,
-0.03760886564850807,
-0.07021676748991013,
0.012461748905479908,
-0.08383727818727493,
-0.022179067134857178,
-0.0006562492926605046,
-0.009137937799096107,
-0.034315548837184906,
-0.023622434586286545,
0.02394770085811615,
0.009651248343288898,
0.019292332231998444,
-0.00716093135997653,
0.011689242906868458,
-0.003555054310709238,
0.009808799251914024,
-0.03691767528653145,
-0.004035329911857843,
-0.04464274272322655,
0.016578394919633865,
-0.018712952733039856,
0.04565919563174248,
0.03148980438709259,
-0.009600426070392132,
0.027423979714512825,
-0.020878003910183907,
-0.017442382872104645,
-0.010078160092234612,
-0.02953820675611496,
-0.0008144352468661964,
0.001299157622270286,
0.05281504616141319,
0.01310211606323719,
-0.010347520932555199,
-0.03317711874842644,
-0.005079738330096006,
-0.0182352177798748,
-0.018763775005936623,
-0.005249994341284037,
0.003417832776904106,
-0.009910444729030132,
-0.01594819314777851,
0.012227963656187057,
-0.02419164963066578,
-0.05163595825433731,
-0.030514005571603775,
0.007669159676879644,
0.040739551186561584,
-0.010855748318135738,
-0.014362521469593048,
0.016954483464360237,
0.009325983002781868,
-0.07452654093503952,
-0.031937044113874435,
0.0701354518532753,
0.044846031814813614,
0.009153185412287712,
-0.005844621453434229,
-0.008334938436746597,
-0.0043987128883600235,
-0.005112772807478905,
0.002297190250828862,
-0.010977723635733128,
-0.06424000859260559,
0.03346172720193863,
0.008045247755944729,
-0.08147910237312317,
0.036043524742126465,
0.021467547863721848,
0.0050009628757834435,
0.0037303930148482323,
-0.011059040203690529,
-0.06846846640110016,
-0.04443944990634918,
0.004446994513273239,
-0.005814127624034882,
-0.08314608782529831,
-0.0007845768705010414,
0.007470950484275818,
0.03433587774634361,
0.050660159438848495,
0.0004256409010849893,
0.009808799251914024,
0.0392351970076561,
-0.010332274250686169,
-0.05114806070923805,
0.11384305357933044,
-0.05444137752056122,
-0.03488476574420929,
0.018916243687272072,
0.014433673582971096,
-0.06513449549674988,
-0.007318482268601656,
-0.030290383845567703,
0.009961267933249474,
-0.023459801450371742,
0.08334938436746597,
-0.07359140366315842,
0.028806358575820923,
-0.013874622993171215,
0.033543042838573456,
0.01325458474457264,
0.012604053132236004,
-0.027586612850427628,
-0.03356337174773216,
-0.05033489316701889,
-0.021894458681344986,
0.03291283920407295,
0.023256510496139526,
-0.015999015420675278,
0.02264663577079773,
-0.00832985620945692,
0.01117085013538599,
-0.02585863694548607,
0.01785912923514843,
-0.029782157391309738,
-0.023134535178542137,
0.04391089454293251,
0.024496586993336678,
0.037527550011873245,
0.017605016008019447,
0.032180991023778915,
-0.011140355840325356,
0.0078012989833951,
-0.022260382771492004,
0.05675889551639557,
0.011445293202996254,
-0.017320407554507256,
0.05610836297273636,
-0.05549849197268486,
0.014758938923478127,
-0.02138623222708702,
-0.014403179287910461,
-0.012522736564278603,
-0.0012667580740526319,
0.0324452705681324,
0.01720859855413437,
0.03340074047446251,
-0.016852838918566704,
-0.0021637803874909878,
0.01286833081394434,
0.0054431213065981865,
0.003834579838439822,
0.008736438117921352,
-0.02348013035953045,
-0.02911129593849182,
-0.06424000859260559,
-0.004556263331323862,
-0.01850966177880764,
-0.04553722217679024,
0.007491279859095812,
-0.03061565011739731,
0.0806659385561943,
0.019719243049621582,
0.057612717151641846,
0.006596798542886972,
0.017899787053465843,
-0.013478204607963562,
-0.05781600996851921,
-0.08416254818439484,
0.0012464290484786034,
0.005260159261524677,
0.043585628271102905,
-0.02305321954190731,
0.0729002133011818,
-0.053099654614925385,
0.023378485813736916,
0.07517707347869873,
0.02823714353144169,
0.022687295451760292,
-0.014901243150234222,
-0.010621964000165462,
-0.045374590903520584,
0.011221672408282757,
-0.026997067034244537,
-0.03793413192033768,
-0.03488476574420929,
-0.10758168995380402,
-0.035453978925943375,
-0.05972694605588913,
0.038828615099191666,
-0.007166014052927494,
-0.059686288237571716,
0.10831353813409805,
-0.0426504872739315,
0.004121728707104921,
-0.015521281398832798,
0.005610836204141378,
0.05029423534870148,
0.017228927463293076,
-0.017808306962251663,
-0.010774431750178337,
0.042040616273880005,
-0.016771521419286728,
0.025228435173630714,
0.046431705355644226,
-0.06090603396296501,
0.023846054449677467,
-0.0013252043863758445,
0.03209967538714409,
0.021975776180624962,
0.035392992198467255,
0.035149045288562775,
0.003565218998119235,
0.03951980546116829,
-0.0021434512455016375,
0.020003851503133774,
0.006215627770870924,
0.06960690021514893,
-0.003384798066690564,
0.06350816041231155,
0.05972694605588913,
-0.021467547863721848,
0.03874729573726654,
-0.0038549089804291725,
-0.052571095526218414,
-0.016212470829486847,
-0.06598831713199615,
0.029192611575126648,
-0.0747704952955246,
-0.010682950727641582,
0.018855256959795952,
0.09205023944377899,
0.04736684262752533,
-0.08814705163240433,
0.02437461167573929,
0.04488668963313103,
-0.08030001074075699,
-0.013976268470287323,
0.0194651298224926,
-0.026407523080706596,
-0.01755419187247753,
-0.013874622993171215,
-0.031408485025167465,
0.01872311718761921,
0.013559521175920963,
-0.011841710656881332,
0.04984699562191963,
0.10522351413965225,
-0.017696496099233627,
0.07436390966176987,
0.06464659422636032,
0.019180521368980408,
0.017066294327378273,
0.025533370673656464,
0.025411397218704224,
0.02762727066874504,
0.004769719205796719,
0.06265433877706528,
0.02722068876028061,
0.035392992198467255,
-0.023134535178542137,
-0.008553476072847843,
0.016649547964334488,
0.012268622405827045,
0.007242247927933931,
0.015765231102705002,
-0.032770536839962006,
0.05923904851078987,
0.00029064284171909094,
-0.009610590524971485,
-0.032059017568826675,
0.03201835975050926,
0.03252658620476723,
-0.027261346578598022,
-0.01711711660027504,
0.03340074047446251,
-0.03850334882736206,
0.004614709410816431,
-0.04557787999510765,
0.033014487475156784,
0.0577753521502018,
0.04244719818234444,
-0.025513041764497757,
-0.029375573620200157,
-0.0009796093218028545,
0.024090003222227097,
-0.013264749199151993,
0.022138409316539764,
0.10603667795658112,
0.009874869138002396,
-0.049237120896577835,
0.06749267131090164,
0.030879929661750793,
-0.008334938436746597,
0.003771051298826933,
0.0689157098531723,
-0.0370803102850914,
-0.004624874331057072,
-0.02573666162788868,
0.022321371361613274,
0.06419935077428818,
0.006266450509428978,
-0.07916158437728882,
0.02864372543990612,
0.009107444435358047,
-0.022138409316539764,
0.02976182848215103,
-0.008863494731485844,
-0.011902698315680027,
0.028989320620894432,
0.047692108899354935,
-0.04736684262752533,
0.041674692183732986,
-0.0318150669336319,
-0.014596305787563324,
0.03626714646816254,
0.04116646200418472,
0.04224390536546707,
0.02811517007648945,
0.054278742522001266,
0.002840994158759713,
-0.022971902042627335,
-0.049115147441625595,
0.03827972710132599,
-0.0011809946736320853,
-0.09156234562397003,
-0.021304914727807045,
-0.03240461274981499,
0.04104448854923248,
-0.04761079326272011,
0.026753118261694908,
0.04338233545422554,
-0.036633070558309555,
0.03445785492658615,
-0.05854785814881325,
-0.057084161788225174,
0.0550105907022953,
-0.04854593053460121,
0.0763155072927475,
0.01825554668903351,
-0.043301019817590714,
0.0007826710352674127,
-0.016060002148151398,
-0.05728745087981224,
0.025533370673656464,
0.045130640268325806,
0.0005390392616391182,
0.00405565882101655,
-0.036998994648456573,
-0.04630972817540169,
-0.021304914727807045,
0.017655838280916214,
-0.018560484051704407,
0.03915388137102127,
-0.02341914363205433,
0.008909235708415508,
-0.03216066211462021,
0.0265701562166214,
0.020400268957018852,
-0.008954975754022598,
-0.008350185118615627,
-0.004271655809134245,
-0.046269070357084274,
0.025817979127168655,
0.016852838918566704,
0.033014487475156784,
-0.006083488464355469,
0.03321777656674385,
-0.03927585482597351,
0.05679955333471298,
-0.058629173785448074,
-0.0015424718149006367,
0.05301833897829056,
0.030168410390615463,
0.03874729573726654,
-0.01702563650906086,
0.06127195805311203,
-0.027180029079318047,
0.02596028335392475,
-0.03272987902164459,
0.0031967537943273783,
0.008929564617574215,
-0.0031637188512831926,
0.028481094166636467,
0.027911877259612083,
-0.010815090499818325,
0.01996319368481636,
0.04582183063030243,
-0.02602127008140087,
-0.048098690807819366,
-0.05781600996851921,
0.0058801970444619656,
-0.059035755693912506,
0.04321970418095589,
-0.040373627096414566,
0.02734266221523285,
0.042162589728832245,
-0.012583723291754723,
0.01887558586895466,
0.025838308036327362,
-0.04366694390773773,
0.009859621524810791,
0.019302496686577797,
0.008243457414209843,
0.058141276240348816,
-0.02199610508978367,
-0.007963932119309902,
0.04870856553316116,
0.030635979026556015,
-0.05070081725716591,
0.032363954931497574,
0.07176178693771362,
0.04224390536546707,
-0.06232907250523567,
-0.006977969314903021,
0.06424000859260559,
-0.041796665638685226,
0.059564314782619476,
-0.03518970310688019,
-0.04858659207820892,
-0.0008404819527640939,
-0.02465922012925148,
-0.039723094552755356,
0.06997282058000565,
0.04521195590496063,
0.025533370673656464,
-0.018519826233386993,
0.03590122237801552,
0.04826132580637932,
-0.0009954915149137378,
-0.021833471953868866,
-0.0003652888408396393,
0.02293124422430992,
-0.021955447271466255,
-0.08078791201114655,
0.018855256959795952,
-0.015805888921022415,
0.007221919018775225,
-0.04248785600066185,
0.07460786402225494,
0.043951552361249924,
0.0432603619992733,
-0.018347028642892838,
-0.0200851671397686,
-0.019881876185536385,
-0.018336864188313484,
-0.0028079592157155275,
-0.05021291971206665,
0.014067749492824078,
-0.03980441018939018,
-0.08708994090557098,
0.028745371848344803,
-0.02490316890180111,
0.024943826720118523,
-0.009768140502274036,
0.02805418148636818,
-0.010342438705265522,
0.019912369549274445,
0.06440263986587524,
-0.028968991711735725,
-0.016741028055548668,
-0.06054010987281799,
-0.016425926238298416,
-0.019078876823186874,
-0.013793306425213814,
0.0019604892004281282,
-0.028481094166636467,
-0.0008544581942260265,
0.057734694331884384,
0.03317711874842644,
-0.06066208705306053,
-0.036633070558309555,
0.030351372435688972,
0.04752947762608528,
-0.005773469340056181,
-0.007679324131458998,
-0.007430292200297117,
0.03880828619003296,
-0.0017051047179847956,
0.05370952934026718,
-0.031001903116703033,
0.020878003910183907,
0.018052255734801292,
0.039255525916814804,
-0.00412426982074976,
-0.05334360525012016,
0.010764267295598984,
0.018580812960863113,
0.012787015177309513,
-0.00840608961880207,
-0.0048993173986673355,
-0.047854743897914886,
-0.0689157098531723,
-0.018458837643265724,
0.01658855937421322,
-0.030331043526530266,
0.03588089346885681,
0.06106866896152496,
-0.028033852577209473,
0.033075474202632904,
-0.05301833897829056,
-0.008695780299603939,
-0.016710534691810608,
-0.01016455888748169,
0.029700839892029762,
-0.008787261322140694,
-0.05212385579943657,
0.011445293202996254,
0.003865073435008526,
-0.04431747645139694,
-0.027606941759586334,
-0.08700862526893616,
0.005793798249214888,
-0.018804432824254036,
0.035738587379455566,
0.00297059235163033,
0.013020799495279789,
0.007775887381285429,
0.0315101332962513,
0.05854785814881325,
0.034071601927280426,
-0.010560976341366768,
0.016923990100622177,
-0.06944426149129868,
-0.005803963169455528,
0.006119064521044493,
0.0689157098531723,
0.03232329711318016,
-0.03260790556669235,
-0.020573066547513008,
0.019078876823186874,
-0.008451830595731735,
-0.046919602900743484,
-0.016984976828098297,
-0.011150521226227283,
0.007282906211912632,
-0.015744902193546295,
-0.018092913553118706,
-0.020196978002786636,
-0.004853576887398958,
0.0017673625843599439,
-0.04399221017956734,
-0.02781023271381855,
0.028155827894806862,
0.015673749148845673,
0.03169309347867966,
-0.05423808470368385,
0.027261346578598022,
0.02852175198495388,
-0.03309580311179161,
-0.04153238609433174,
-0.04553722217679024,
-0.007470950484275818,
0.01634461060166359,
-0.03317711874842644,
-0.059401679784059525,
-0.0290503092110157,
-0.005910690873861313,
-0.0005133101949468255,
0.034905094653367996,
-0.014271040447056293,
0.016080331057310104,
-0.0550105907022953,
0.06253236532211304,
0.0033797158394008875,
-0.06915965676307678,
-0.017686331644654274,
-0.02014615572988987,
0.05216451361775398,
-0.006332519929856062,
-0.02293124422430992,
0.005336393136531115,
0.003191671334207058,
0.012787015177309513,
-0.00032558353268541396,
0.010499988682568073,
-0.023866383358836174,
-0.030046435073018074,
-0.004624874331057072,
0.05944233760237694,
0.02110162377357483,
-0.04088185355067253,
-0.04659433662891388,
-0.04130876809358597,
-0.05082279443740845,
0.018651966005563736,
0.011038710363209248,
-0.010926900431513786,
0.01214664801955223,
-0.02128458581864834,
-0.00882283691316843,
-0.025696003809571266,
-0.013508698903024197,
-0.03457982838153839,
0.007237165700644255,
-0.004182715900242329,
0.012370267882943153,
0.018153902143239975,
-0.03557595610618591,
0.024171320721507072,
0.010947229340672493,
0.012532901018857956,
0.03671438619494438,
0.00616480503231287,
-0.03055466338992119,
-0.009585178457200527,
-0.032587576657533646,
-0.03968243673443794,
0.002340389648452401,
-0.014433673582971096,
0.03175408020615578,
0.016547901555895805,
0.02205709181725979,
-0.03071729652583599,
-0.046391043812036514,
0.027484966441988945,
0.026102585718035698,
-0.012766685336828232,
0.01687316782772541,
0.016242964193224907,
-0.01822505332529545,
0.016578394919633865,
-0.008289197459816933,
0.04346365109086037,
-0.05590507388114929,
0.00333397532813251,
0.07326614111661911,
-0.08863495290279388,
-0.019241509959101677,
-0.025696003809571266,
-0.03346172720193863,
-0.05391281843185425,
-0.02437461167573929,
-0.03293317183852196,
0.0043275607749819756,
0.04309772700071335,
-0.012665039859712124,
0.007166014052927494,
0.0608653761446476
]
|
41,699 | pyglove.core.symbolic.object | use_init_args | Decorator for updating the `__init__` signature of a `pg.Object` subclass.
Examples::
@pg.use_init_args(['x', 'y', '*z'])
class Foo(pg.Object):
y: int
x: str
z: list[int]
f = Foo('abc', 1, 2, 3)
assert f.x == 'abc'
assert f.y == 1
assert f.z == [2, 3]
Args:
init_arg_list: A sequence of attribute names that will be used as the
positional arguments of `__init__`. The last element could be the name of
a list-type attribute, indicating it's used as `*args`. Keyword-only
arguments are not needed to be present in this list, which will be figured
out automatically based on class' schema.
Returns:
a decorator function that updates the `__init__` signature.
| def use_init_args(init_arg_list: Sequence[str]) -> pg_typing.Decorator:
"""Decorator for updating the `__init__` signature of a `pg.Object` subclass.
Examples::
@pg.use_init_args(['x', 'y', '*z'])
class Foo(pg.Object):
y: int
x: str
z: list[int]
f = Foo('abc', 1, 2, 3)
assert f.x == 'abc'
assert f.y == 1
assert f.z == [2, 3]
Args:
init_arg_list: A sequence of attribute names that will be used as the
positional arguments of `__init__`. The last element could be the name of
a list-type attribute, indicating it's used as `*args`. Keyword-only
arguments are not needed to be present in this list, which will be figured
out automatically based on class' schema.
Returns:
a decorator function that updates the `__init__` signature.
"""
def _decorator(cls):
schema_utils.update_schema(
cls, [], extend=True, init_arg_list=init_arg_list
)
return cls
return typing.cast(pg_typing.Decorator, _decorator)
| (init_arg_list: Sequence[str]) -> <function <lambda> at 0x7f2fa64d25f0> | [
-0.021554354578256607,
-0.0039239367470145226,
0.016493353992700577,
-0.0270046629011631,
0.017214996740221977,
0.04250101000070572,
-0.0008011668105609715,
0.06692294776439667,
0.05412326753139496,
-0.004662197083234787,
-0.00676540844142437,
0.05408528819680214,
-0.009998561814427376,
0.03015710599720478,
-0.0366898775100708,
0.015353916212916374,
0.020149048417806625,
0.0502871610224247,
-0.019731255248188972,
0.007116734981536865,
0.0180885661393404,
0.030252058058977127,
0.015800196677446365,
0.07292398065328598,
-0.022332970052957535,
0.0033660875633358955,
0.02295966073870659,
0.06133970245718956,
-0.004187431652098894,
-0.032948724925518036,
0.08735685050487518,
-0.017262473702430725,
-0.009215198457241058,
0.0502871610224247,
0.018477873876690865,
-0.07121482491493225,
0.007814640179276466,
0.04158945754170418,
-0.025428440421819687,
-0.006594493053853512,
0.08340680599212646,
0.011660240590572357,
-0.003817114746198058,
-0.046223171055316925,
0.042121194303035736,
0.04956552013754845,
0.024744778871536255,
-0.039462510496377945,
-0.025067618116736412,
-0.0492616705596447,
0.05644012242555618,
-0.04591932147741318,
0.062403179705142975,
-0.06156758964061737,
-0.007287650369107723,
0.055870406329631805,
0.002599341096356511,
0.08112792670726776,
-0.01001755241304636,
-0.0014266703510656953,
0.016588306054472923,
0.004280011169612408,
0.021307475864887238,
-0.01564827188849449,
0.026928700506687164,
-0.042614951729774475,
-0.05427519232034683,
-0.03251194208860397,
-0.002246827818453312,
-0.008056771010160446,
-0.0680244043469429,
-0.030460955575108528,
0.005663952324539423,
-0.012723715975880623,
-0.0347338430583477,
0.003707918571308255,
-0.014698740094900131,
0.030062152072787285,
0.0003801091224886477,
0.01880071498453617,
-0.017461875453591347,
0.0009863253217190504,
-0.035569433122873306,
0.0006397465476766229,
0.06817632913589478,
-0.027688324451446533,
-0.07129079103469849,
-0.006414081901311874,
-0.00014613875828217715,
0.014053058810532093,
-0.08864821493625641,
0.02459285408258438,
0.023320481181144714,
-0.01572423428297043,
-0.0589468851685524,
-0.02681475505232811,
0.03019508719444275,
-0.018430396914482117,
0.022826725617051125,
0.050856880843639374,
0.01242936123162508,
-0.015230477787554264,
0.018734246492385864,
0.0333855114877224,
-0.0018325948622077703,
-0.07197444885969162,
-0.020642803981900215,
-0.05157852545380592,
-0.02269379049539566,
-0.024251021444797516,
0.002492518862709403,
-0.03186625987291336,
0.04652702063322067,
-0.024099096655845642,
0.023301491513848305,
-0.022162053734064102,
0.0011691100662574172,
-0.018411407247185707,
0.046261150389909744,
-0.0275174081325531,
0.04352650046348572,
0.02073775790631771,
-0.0018658284097909927,
0.05628819763660431,
0.0049612997099757195,
-0.02442193776369095,
0.016028083860874176,
0.038038212805986404,
-0.0018955012783408165,
-0.02221902646124363,
0.08735685050487518,
0.000001771097913660924,
-0.08052022755146027,
0.00893508642911911,
0.01933245174586773,
-0.03716464340686798,
0.028789781033992767,
-0.0002738803450483829,
-0.04227311909198761,
-0.056402143090963364,
0.0333855114877224,
0.04394429549574852,
0.04538758099079132,
0.004923318512737751,
-0.07102491706609726,
0.046261150389909744,
-0.014024573378264904,
0.009528543800115585,
0.03695574775338173,
0.003586853388696909,
-0.023757265880703926,
-0.00955228228121996,
0.03433504328131676,
0.03160039335489273,
-0.05408528819680214,
-0.07732980698347092,
-0.06342867016792297,
-0.03139149397611618,
0.03410715237259865,
0.06099787354469299,
0.025485413148999214,
-0.004073488060384989,
-0.02387120947241783,
-0.033955227583646774,
-0.013920124620199203,
-0.021288486197590828,
-0.005958307068794966,
-0.0834827646613121,
-0.010330897755920887,
-0.0033352277241647243,
0.040943779051303864,
-0.050135236233472824,
0.09715601056814194,
-0.006646716967225075,
0.04755251482129097,
0.059022847563028336,
-0.04413420334458351,
0.03163837268948555,
0.00821344368159771,
-0.00199401518329978,
0.0739874541759491,
-0.017670772969722748,
0.024782760068774223,
-0.011565287597477436,
0.02702365256845951,
0.060276228934526443,
-0.030138114467263222,
0.05849111080169678,
0.01168872695416212,
0.006442567799240351,
0.05074293911457062,
0.008954077027738094,
-0.016322437673807144,
0.015031076036393642,
-0.013331415131688118,
0.04512171447277069,
-0.05693387985229492,
0.003696049563586712,
-0.061947405338287354,
0.0507049560546875,
-0.01999712362885475,
0.0348287969827652,
-0.01645537279546261,
-0.05097082629799843,
0.061681535094976425,
0.001607081270776689,
0.02727053128182888,
0.0006118540768511593,
-0.04063992574810982,
-0.06259308755397797,
0.01810755580663681,
-0.009030040353536606,
-0.021573344245553017,
-0.004073488060384989,
-0.040601946413517,
-0.007819388061761856,
0.037810325622558594,
-0.011802670545876026,
0.02028198167681694,
-0.014242964796721935,
0.09616850316524506,
0.0031714336946606636,
-0.026624849066138268,
0.022029120475053787,
0.04436209052801132,
-0.006504287477582693,
-0.008688208647072315,
-0.02539045922458172,
-0.0006041391170583665,
-0.007268659770488739,
-0.07691201567649841,
-0.019655292853713036,
0.020149048417806625,
0.033955227583646774,
-0.02580825239419937,
-0.009846637025475502,
0.02220003493130207,
0.01737641729414463,
-0.039728377014398575,
-0.001848024781793356,
-0.03169534355401993,
0.04907176271080971,
-0.014822179451584816,
-0.006808137521147728,
-0.02100362628698349,
0.05841514840722084,
-0.016578812152147293,
0.0119545953348279,
-0.01832594908773899,
0.004994533024728298,
-0.03190424293279648,
0.045767396688461304,
0.004714421462267637,
0.0065422686748206615,
-0.058301202952861786,
0.07448121160268784,
0.014318928122520447,
-0.005478793755173683,
-0.043336596339941025,
-0.03725959733128548,
-0.005763653200119734,
-0.020452897995710373,
0.0059725502505898476,
0.03063187003135681,
0.015002589672803879,
0.008987311273813248,
0.019693274050951004,
0.007159464061260223,
-0.07938079535961151,
0.017784716561436653,
0.05670599266886711,
-0.024194050580263138,
0.0428808219730854,
0.03689877688884735,
0.060959890484809875,
-0.022636819630861282,
-0.006095989141613245,
-0.051540542393922806,
-0.014727226458489895,
0.0006587371462956071,
0.06475801765918732,
0.005307878367602825,
0.00009947820944944397,
0.00048337061889469624,
0.06840421259403229,
0.025998158380389214,
-0.010568279772996902,
0.0614156648516655,
-0.046033263206481934,
-0.012410370633006096,
0.04105772078037262,
0.020168038085103035,
0.055376648902893066,
0.02924555540084839,
0.05294584855437279,
0.03570236638188362,
0.03260689601302147,
-0.002775004366412759,
-0.009856131859123707,
-0.0482361763715744,
0.0428808219730854,
-0.0219531562179327,
0.01618000864982605,
0.0328727625310421,
0.020699776709079742,
-0.06263106316328049,
-0.037335559725761414,
-0.005061000119894743,
-0.011527306400239468,
-0.005910830572247505,
0.03228405490517616,
0.07189849019050598,
-0.0682143047451973,
-0.020376935601234436,
-0.000890185299795121,
-0.000464380020275712,
-0.040905795991420746,
-0.02461184374988079,
0.0012688108254224062,
0.014337918721139431,
0.007548771798610687,
-0.0023797620087862015,
0.004844982177019119,
-0.013207976706326008,
-0.004773767199367285,
0.030973702669143677,
-0.002691920381039381,
0.04086781665682793,
-0.014945617876946926,
0.0012581285554915667,
-0.041627440601587296,
0.015410888008773327,
0.003458666615188122,
0.025162572041153908,
-0.0009162974311038852,
0.027194568887352943,
-0.005635466426610947,
0.010805662721395493,
-0.033461473882198334,
-0.05047706887125969,
0.02028198167681694,
0.01588565483689308,
-0.025675319135189056,
0.06745468080043793,
-0.09442136436700821,
0.0016759221907705069,
0.026188066229224205,
-0.03904471546411514,
0.05135063827037811,
0.0026658084243535995,
0.026966681703925133,
-0.030460955575108528,
-0.02028198167681694,
-0.044779881834983826,
0.07869713008403778,
-0.017082063481211662,
-0.03406917303800583,
-0.02052886039018631,
0.003515638643875718,
-0.07535478472709656,
0.01596161723136902,
-0.021098578348755836,
-0.029283536598086357,
-0.04785636439919472,
0.005431317258626223,
0.03712666407227516,
0.023567359894514084,
0.0023121079429984093,
-0.009614001959562302,
0.0294734425842762,
0.0055405134335160255,
-0.025694308802485466,
-0.004498403053730726,
0.013369396328926086,
0.004090104717761278,
-0.026947690173983574,
-0.0410197414457798,
-0.0031619383953511715,
-0.04789434373378754,
0.03530356287956238,
-0.0814317837357521,
-0.04519767686724663,
0.06255510449409485,
-0.01172670815140009,
-0.011261438019573689,
0.014546815305948257,
-0.022105082869529724,
0.02510559931397438,
0.035094667226076126,
-0.017091557383537292,
-0.02491569332778454,
-0.011365885846316814,
0.028334004804491997,
-0.06126374006271362,
0.015002589672803879,
-0.020130056887865067,
0.043336596339941025,
0.04250101000070572,
0.042121194303035736,
-0.018174024298787117,
0.036594923585653305,
-0.10558784753084183,
0.0723542645573616,
-0.0077719115652143955,
0.0377153716981411,
-0.005863354075700045,
0.05522472411394119,
-0.04193129017949104,
0.016056569293141365,
0.02126949466764927,
-0.003582105739042163,
-0.03866490349173546,
-0.012676239013671875,
0.02028198167681694,
0.03475283458828926,
-0.006789146922528744,
0.012752201408147812,
-0.0042254128493368626,
-0.03163837268948555,
-0.02440294623374939,
0.053743455559015274,
0.02362433262169361,
0.024440929293632507,
0.07258214801549911,
0.02753639966249466,
0.013321920298039913,
0.023016631603240967,
-0.034373022615909576,
0.00537434546276927,
0.010055533610284328,
-0.04872993007302284,
-0.002789247315376997,
0.02246590331196785,
0.006684698164463043,
-0.032473959028720856,
-0.0021316970232874155,
0.04181734472513199,
0.006466306280344725,
-0.020661795511841774,
0.01662628725171089,
-0.003786254907026887,
-0.02924555540084839,
0.04193129017949104,
0.04728664457798004,
-0.011365885846316814,
0.02240893244743347,
0.001347147161141038,
0.003000518074259162,
0.05241411179304123,
0.005483541637659073,
0.009922599419951439,
-0.009333889931440353,
0.022162053734064102,
-0.0020770991686731577,
-0.015562813729047775,
-0.07182252407073975,
-0.0021791737526655197,
0.0032307791989296675,
-0.02996719814836979,
0.015486851334571838,
0.01685417629778385,
-0.011384876444935799,
0.041855327785015106,
-0.060694023966789246,
-0.04402025789022446,
0.017765725031495094,
0.014508834108710289,
-0.02652989700436592,
-0.045007769018411636,
-0.008132733404636383,
0.039272602647542953,
0.021098578348755836,
0.006532773375511169,
-0.056895896792411804,
0.022617828100919724,
-0.009865627624094486,
0.023130575194954872,
0.004510272294282913,
-0.0754307433962822,
0.007349370047450066,
0.011185475625097752,
-0.0029459199868142605,
0.09267422556877136,
0.010425850749015808,
-0.005136962980031967,
-0.04250101000070572,
-0.01761380024254322,
-0.03953847289085388,
0.008602751418948174,
0.03741152212023735,
-0.020623814314603806,
0.03241698816418648,
0.028846751898527145,
0.005929821170866489,
0.029872246086597443,
-0.04588133841753006,
0.03239799663424492,
0.012391380034387112,
-0.000780395814217627,
-0.03638602793216705,
-0.015657765790820122,
0.00398803036659956,
-0.0030646114610135555,
0.03141048550605774,
0.04098175838589668,
-0.04869195073843002,
-0.05150256305932999,
-0.029872246086597443,
-0.05089486390352249,
-0.0296823401004076,
-0.019750244915485382,
-0.018667779862880707,
-0.024080106988549232,
0.04098175838589668,
-0.008849629200994968,
0.013616275042295456,
-0.006622978951781988,
0.016360418871045113,
-0.027422456070780754,
-0.0059725502505898476,
-0.02827703393995762,
0.044324107468128204,
-0.017328940331935883,
-0.013018069788813591,
0.01048282254487276,
-0.005777896381914616,
0.08712896704673767,
-0.028409967198967934,
0.0647200345993042,
0.022029120475053787,
-0.008716695010662079,
0.02918858267366886,
-0.05412326753139496,
0.03408816456794739,
-0.06521379202604294,
0.04193129017949104,
0.013606779277324677,
0.014822179451584816,
0.08910398930311203,
0.011973585933446884,
0.05074293911457062,
0.0777096152305603,
0.04618518799543381,
0.00542656984180212,
0.018297461792826653,
-0.014299937523901463,
-0.01782269775867462,
-0.027631351724267006,
-0.028561893850564957,
0.004251525271683931,
-0.03862692043185234,
-0.045045752078294754,
-0.023833228275179863,
0.034429993480443954,
-0.09487713873386383,
-0.03475283458828926,
-0.010235944762825966,
-0.014053058810532093,
-0.02728952094912529,
0.01934194751083851,
-0.02894170582294464,
0.028144098818302155,
0.023757265880703926,
0.022978650406003,
-0.023757265880703926,
0.006480548996478319,
0.02656787820160389,
0.006960062310099602,
-0.027232550084590912,
0.0277263056486845,
-0.019750244915485382,
-0.0031429475639015436,
-0.028163090348243713,
0.013378892093896866,
-0.04755251482129097,
-0.048653967678546906,
0.007667462807148695,
0.016312943771481514,
-0.0053695980459451675,
-0.11979283392429352,
0.04318467155098915,
0.016740232706069946,
-0.07079703360795975,
-0.041665419936180115,
0.030802786350250244,
0.03374633193016052,
0.004792757797986269,
0.08583760261535645,
-0.045767396688461304,
-0.0166927557438612,
-0.03746849298477173,
0.023111585527658463,
0.011185475625097752,
-0.016085054725408554,
-0.002905564848333597,
-0.030309030786156654,
0.0020343700889497995,
-0.022655809298157692,
0.0013851283583790064,
-0.04056396335363388,
-0.044779881834983826,
0.08819244056940079,
-0.058339186012744904,
-0.019674282521009445,
-0.00676540844142437,
-0.05089486390352249,
0.008270415477454662,
0.012533809058368206,
0.02972032129764557,
-0.03520860895514488,
-0.01862979866564274,
0.054199229925870895,
0.005535766016691923,
0.023586349561810493,
-0.020889682695269585,
-0.04443805292248726,
-0.045311618596315384,
-0.0036723113153129816,
0.09761178493499756,
0.015258963219821453,
-0.046716924756765366,
0.01038786955177784,
0.035835299640893936,
-0.018753238022327423,
-0.004640833009034395,
0.014385394752025604,
-0.034183114767074585,
-0.033214595168828964,
0.011793174780905247,
-0.043374575674533844,
0.05993439629673958,
-0.022598838433623314,
0.01362576987594366,
0.00033441296545788646,
0.05078091844916344,
-0.02727053128182888,
-0.06665707379579544,
-0.05583242326974869,
0.005402831360697746,
0.012400874868035316,
-0.00718320207670331,
-0.005117972381412983,
0.024744778871536255,
0.042121194303035736,
-0.0076294816099107265,
-0.01400558277964592,
0.013302929699420929,
-0.03689877688884735,
0.024080106988549232,
-0.029549404978752136,
0.042387064546346664,
0.0492616705596447,
0.012628762982785702,
0.04512171447277069,
-0.04371640831232071,
0.013483340851962566,
-0.03790527954697609,
-0.043336596339941025,
0.06361857801675797,
-0.009238936938345432,
0.037088681012392044,
-0.02438395656645298,
0.017053576186299324,
0.01982620730996132,
-0.07129079103469849,
-0.00700279138982296,
-0.04364044591784477,
-0.026112103834748268,
0.025010647252202034,
0.0560603104531765,
-0.04690683260560036,
0.006480548996478319,
-0.012581286020576954,
-0.004180310294032097,
-0.0034824050962924957,
-0.032208092510700226,
0.030043160542845726,
-0.013777694664895535,
0.030745813623070717,
0.004016516264528036,
-0.03446797654032707,
-0.07216435670852661,
0.00043737771920859814,
-0.005849110893905163,
-0.05408528819680214,
0.0014231095556169748,
-0.01595212146639824,
0.006936324294656515,
0.05860505253076553,
-0.016797203570604324,
0.04827415570616722,
-0.028884733095765114,
0.0391586609184742,
-0.025979168713092804,
0.009115497581660748,
-0.04250101000070572,
-0.058756981045007706,
0.03232203423976898,
0.015562813729047775,
-0.051768429577350616,
-0.006110232323408127,
0.07258214801549911,
-0.048160213977098465,
0.07026529312133789,
0.01667376421391964,
-0.01353081688284874,
-0.0021530615631490946,
-0.016987109556794167,
0.05138861760497093,
0.012381884269416332,
-0.002005884191021323,
0.018022099509835243,
0.007036024704575539,
-0.029283536598086357,
0.01860131323337555,
-0.0033637136220932007,
0.11850146949291229,
0.01001755241304636,
-0.013644760474562645,
-0.046716924756765366,
0.037031710147857666,
-0.031201589852571487,
0.03520860895514488,
0.00020652299281209707,
-0.011100017465651035,
-0.06570754945278168,
-0.05450307950377464,
0.028182080015540123,
-0.02918858267366886,
-0.05571848154067993,
0.03868389502167702,
-0.03547447919845581,
-0.040222134441137314,
-0.026112103834748268,
0.025447431951761246,
-0.019161535426974297,
0.007819388061761856,
-0.008697704412043095,
-0.08849629014730453,
0.0006314381025731564,
-0.040943779051303864,
-0.0004216511151753366,
0.014328422956168652,
0.04242504760622978,
0.05313575640320778,
0.013435863889753819,
-0.02635898068547249,
-0.040943779051303864,
0.05051505193114281,
0.0036272085271775723,
0.023700295016169548,
0.04003222659230232,
-0.011574783362448215,
-0.05511077865958214,
0.024744778871536255,
-0.02174426056444645,
-0.04485584422945976,
0.004875841550529003,
-0.04196926951408386,
-0.03336651995778084,
-0.05700984224677086,
-0.05283190682530403,
0.02973931096494198,
-0.091914601624012,
0.0531737357378006,
0.03547447919845581,
0.02125050500035286,
0.009291160851716995
]
|
41,700 | pyglove.core.symbolic.class_wrapper | wrap | Makes a symbolic class wrapper from a regular Python class.
``pg.wrap`` is called by :func:`pyglove.symbolize` for symbolizing existing
Python classes. For example::
class A:
def __init__(self, x):
self.x = x
# The following two lines are equivalent.
A1 = pg.symbolize(A)
A2 = pg.wrap(A)
Besides passing the source class, ``pg.wrap`` allows the user to pass symbolic
field definitions for the init arguments. For example::
A3 = pg.wrap(A, [
('x', pg.typing.Int())
])
Moreover, multiple flags are provided to determine whether or not to use the
symbolic operations as the default behaviors. For example::
A4 = pg.wrap(
A,
[],
# Instead clearing out all internal states (default),
# do not reset internal state.
reset_state_fn=lambda self: None,
# Use symbolic representation for __repr__ and __str__.
repr=True,
# use symbolic equality for __eq__, __ne__ and __hash__.
eq=True,
# Customize the class name obtained (the default behaivor
# is to use the source class name).
class_name='A4'
# Customize the module name for created class (the default
# behavior is to use the source module name).
module_name='my_module')
Args:
cls: Class to wrap.
init_args: An optional list of field definitions for the arguments of
__init__. It can be a sparse value specifications for argument in the
__init__ method of `cls`.
reset_state_fn: An optional callable object to reset the internal state of
the user class when rebind happens.
repr: Options for generating `__repr__` and `__str__`. If True (default),
use symbolic representation if the user class does not define its own.
Otherwise use the user class' definition. If False, always use
non-symbolic representations, which falls back to `object.__repr__` and
`object.__str__` if the user class does not define them.
eq: Options for generating `__eq__`, `__ne__` and `__hash__`. If True and
the `user_cls` defines `__eq__`, `__ne__` and `__hash__`, use the
definitions from the `user_cls`. If True and the `user_cls` does not
define `__eq__`, `__ne__` and `__hash__`, use symbolic eq/hash. If False
(default), use `user_cls`'s definition if present, or the definitions from
the `object` class.
class_name: An optional string used as class name for the wrapper class. If
None, the wrapper class will use the class name of the wrapped class.
module_name: An optional string used as module name for the wrapper class.
If None, the wrapper class will use the module name of the wrapped class.
auto_doc: If True, the descriptions for init argument fields will be
extracted from docstring if present.
auto_typing: If True, PyGlove typing (runtime-typing) will be enabled based
on type annotations inspected from the `__init__` method.
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.
override: Additional class attributes to override.
Returns:
A subclass of `cls` and `ClassWrapper`.
Raises:
TypeError: input `cls` is not a class.
| def wrap(
cls,
init_args: Optional[List[Union[
Tuple[Union[Text, pg_typing.KeySpec], pg_typing.ValueSpec, Text],
Tuple[Union[Text, pg_typing.KeySpec], pg_typing.ValueSpec, Text, Any]
]]] = None,
*,
reset_state_fn: Optional[Callable[[Any], None]] = None,
repr: bool = True, # pylint: disable=redefined-builtin
eq: bool = False,
class_name: Optional[str] = None,
module_name: Optional[str] = None,
auto_doc: bool = False,
auto_typing: bool = False,
serialization_key: Optional[str] = None,
additional_keys: Optional[List[str]] = None,
override: Optional[Dict[str, Any]] = None
) -> Type['ClassWrapper']:
"""Makes a symbolic class wrapper from a regular Python class.
``pg.wrap`` is called by :func:`pyglove.symbolize` for symbolizing existing
Python classes. For example::
class A:
def __init__(self, x):
self.x = x
# The following two lines are equivalent.
A1 = pg.symbolize(A)
A2 = pg.wrap(A)
Besides passing the source class, ``pg.wrap`` allows the user to pass symbolic
field definitions for the init arguments. For example::
A3 = pg.wrap(A, [
('x', pg.typing.Int())
])
Moreover, multiple flags are provided to determine whether or not to use the
symbolic operations as the default behaviors. For example::
A4 = pg.wrap(
A,
[],
# Instead clearing out all internal states (default),
# do not reset internal state.
reset_state_fn=lambda self: None,
# Use symbolic representation for __repr__ and __str__.
repr=True,
# use symbolic equality for __eq__, __ne__ and __hash__.
eq=True,
# Customize the class name obtained (the default behaivor
# is to use the source class name).
class_name='A4'
# Customize the module name for created class (the default
# behavior is to use the source module name).
module_name='my_module')
Args:
cls: Class to wrap.
init_args: An optional list of field definitions for the arguments of
__init__. It can be a sparse value specifications for argument in the
__init__ method of `cls`.
reset_state_fn: An optional callable object to reset the internal state of
the user class when rebind happens.
repr: Options for generating `__repr__` and `__str__`. If True (default),
use symbolic representation if the user class does not define its own.
Otherwise use the user class' definition. If False, always use
non-symbolic representations, which falls back to `object.__repr__` and
`object.__str__` if the user class does not define them.
eq: Options for generating `__eq__`, `__ne__` and `__hash__`. If True and
the `user_cls` defines `__eq__`, `__ne__` and `__hash__`, use the
definitions from the `user_cls`. If True and the `user_cls` does not
define `__eq__`, `__ne__` and `__hash__`, use symbolic eq/hash. If False
(default), use `user_cls`'s definition if present, or the definitions from
the `object` class.
class_name: An optional string used as class name for the wrapper class. If
None, the wrapper class will use the class name of the wrapped class.
module_name: An optional string used as module name for the wrapper class.
If None, the wrapper class will use the module name of the wrapped class.
auto_doc: If True, the descriptions for init argument fields will be
extracted from docstring if present.
auto_typing: If True, PyGlove typing (runtime-typing) will be enabled based
on type annotations inspected from the `__init__` method.
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.
override: Additional class attributes to override.
Returns:
A subclass of `cls` and `ClassWrapper`.
Raises:
TypeError: input `cls` is not a class.
"""
if not inspect.isclass(cls):
raise TypeError(f'Class wrapper can only be created from classes. '
f'Encountered: {cls!r}.')
if not issubclass(cls, ClassWrapper):
cls = _subclassed_wrapper(
cls,
use_symbolic_repr=repr,
use_symbolic_comp=eq,
reset_state_fn=reset_state_fn,
class_name=class_name,
module_name=module_name,
use_auto_doc=auto_doc,
use_auto_typing=auto_typing)
if issubclass(cls, ClassWrapper):
# Update init argument specifications according to user specified specs.
# Replace schema instead of extending it.
description, init_arg_list, arg_fields = _extract_init_signature(
cls, init_args, auto_doc=auto_doc, auto_typing=auto_typing)
schema_utils.update_schema(
cls,
arg_fields,
init_arg_list=init_arg_list,
extend=False,
description=description,
serialization_key=serialization_key,
additional_keys=additional_keys)
if override:
for k, v in override.items():
setattr(cls, k, v)
return cls
| (cls, init_args: Optional[List[Union[Tuple[Union[str, pyglove.core.typing.class_schema.KeySpec], pyglove.core.typing.class_schema.ValueSpec, str], Tuple[Union[str, pyglove.core.typing.class_schema.KeySpec], pyglove.core.typing.class_schema.ValueSpec, str, Any]]]] = None, *, reset_state_fn: Optional[Callable[[Any], NoneType]] = None, repr: bool = True, eq: bool = False, class_name: Optional[str] = None, module_name: Optional[str] = None, auto_doc: bool = False, auto_typing: bool = False, serialization_key: Optional[str] = None, additional_keys: Optional[List[str]] = None, override: Optional[Dict[str, Any]] = None) -> Type[pyglove.core.symbolic.class_wrapper.ClassWrapper] | [
0.01661493442952633,
-0.08362850546836853,
0.02366563118994236,
0.027563750743865967,
-0.045073337852954865,
-0.004790107253938913,
-0.05470147728919983,
0.043241433799266815,
0.05666118860244751,
-0.03913030028343201,
0.023857342079281807,
0.04920576885342598,
0.00652881758287549,
0.024006450548768044,
-0.036361146718263626,
0.04094090312719345,
0.028138883411884308,
-0.02150356024503708,
-0.007151877507567406,
-0.04388047009706497,
0.08102975785732269,
0.029054835438728333,
0.030013389885425568,
0.07118860632181168,
-0.022110644727945328,
-0.028330594301223755,
0.029885582625865936,
0.0765991136431694,
-0.02541233040392399,
-0.05303998291492462,
0.015315561555325985,
-0.04733126237988472,
0.009335250593721867,
0.030929340049624443,
0.032037001103162766,
-0.05367901921272278,
0.03446533903479576,
0.03450794145464897,
-0.008057177998125553,
-0.032974254339933395,
-0.016018500551581383,
0.011310936883091927,
-0.04290061444044113,
-0.07135901600122452,
-0.0024203488137573004,
0.04268760234117508,
0.05397723615169525,
-0.023516522720456123,
-0.04528634995222092,
-0.059174731373786926,
0.03742620721459389,
-0.06369058042764664,
0.026626497507095337,
0.006001612637192011,
0.015507272444665432,
-0.004249589052051306,
-0.019543848931789398,
0.03553039953112602,
-0.012131032533943653,
-0.012386647053062916,
-0.015954596921801567,
0.01568833366036415,
-0.019341489300131798,
0.012684863992035389,
0.00756725063547492,
0.0032697340939193964,
-0.040514878928661346,
-0.05018562451004982,
0.008685563690960407,
-0.0313766673207283,
-0.057300224900245667,
0.0002058561221929267,
0.04609579220414162,
0.01207777950912714,
0.007093299180269241,
-0.0013120207004249096,
0.005311986431479454,
-0.03861907497048378,
-0.028245389461517334,
-0.04528634995222092,
0.03857647255063057,
0.01706225983798504,
-0.008717515505850315,
-0.019618403166532516,
-0.0033309748396277428,
-0.0005671444232575595,
-0.022344958037137985,
0.007024070248007774,
-0.0014151984360069036,
-0.01252510491758585,
-0.05781145393848419,
0.01321739424020052,
0.01580549031496048,
0.016646886244416237,
0.0002461287076584995,
-0.03621203824877739,
0.028245389461517334,
-0.02522061951458454,
-0.003322986885905266,
0.029629968106746674,
0.03063112311065197,
0.0005351926083676517,
-0.04104740917682648,
0.04822591319680214,
0.008850648067891598,
-0.032846447080373764,
-0.03487006202340126,
-0.008089129813015461,
-0.013249346055090427,
-0.04486032575368881,
-0.014793682843446732,
0.003605227917432785,
-0.002833059523254633,
0.03144057095050812,
0.016178259626030922,
-0.031014544889330864,
0.0026972643099725246,
0.03403931483626366,
0.03606292977929115,
0.011300286278128624,
0.013600815087556839,
-0.00006544293864862993,
-0.034720953553915024,
0.04253849387168884,
0.005921733099967241,
-0.010799707844853401,
0.041409529745578766,
0.0382995568215847,
0.012748767621815205,
-0.0031472521368414164,
0.06058060750365257,
-0.004172372166067362,
-0.07144422084093094,
0.05235834792256355,
0.02843710035085678,
0.04703304544091225,
0.030013389885425568,
0.041856855154037476,
-0.031142352148890495,
0.027180328965187073,
0.0480555035173893,
0.003117962973192334,
0.009037033654749393,
0.0016455176519230008,
-0.02724423259496689,
-0.038725581020116806,
-0.017935609444975853,
-0.0011236382415518165,
-0.02008702978491783,
-0.019618403166532516,
-0.008397997356951237,
-0.03714929148554802,
0.06944190710783005,
0.0949181392788887,
-0.06905848532915115,
0.0350404717028141,
-0.05120808258652687,
0.018840910866856575,
0.01482563465833664,
0.02620047517120838,
0.007748310919851065,
-0.08090195059776306,
0.022387560456991196,
-0.07817539572715759,
0.015038645826280117,
-0.015262308530509472,
-0.011907369829714298,
-0.08618465065956116,
-0.01779715158045292,
0.06305155158042908,
0.022217150777578354,
-0.04392307251691818,
0.05005781725049019,
-0.014048140496015549,
-0.03254823014140129,
0.06441482156515121,
0.01301503274589777,
-0.019565150141716003,
0.04247459024190903,
0.002301860833540559,
0.053508609533309937,
-0.033378977328538895,
-0.02313310094177723,
-0.017051609233021736,
0.03265473619103432,
0.04179295152425766,
0.0030700352508574724,
-0.008541780523955822,
0.026349583640694618,
0.0038661675062030554,
0.012887225486338139,
0.010927515104413033,
0.03755401447415352,
0.004803420510143042,
0.016881199553608894,
0.05768364667892456,
-0.05095246806740761,
0.0692714974284172,
-0.056277766823768616,
0.05921733379364014,
-0.02794717252254486,
0.048864949494600296,
0.05218793824315071,
-0.0440082773566246,
0.0045664445497095585,
-0.04253849387168884,
0.06415920704603195,
-0.029885582625865936,
0.022494066506624222,
-0.08886860311031342,
-0.0012454544194042683,
-0.01902197115123272,
-0.05943034589290619,
-0.020992331206798553,
-0.010650599375367165,
-0.041686445474624634,
0.07216846197843552,
0.009681395255029202,
-0.013696670532226562,
0.00628385366871953,
0.03742620721459389,
0.027180328965187073,
-0.10531312972307205,
0.029182642698287964,
0.004846022929996252,
-0.012887225486338139,
-0.02818148583173752,
-0.027073822915554047,
-0.0007794907432980835,
-0.05572393536567688,
-0.011577201075851917,
-0.009148865006864071,
0.026903413236141205,
0.013590164482593536,
0.008642961271107197,
-0.016178259626030922,
0.05001521483063698,
0.03553039953112602,
0.0013146833516657352,
0.030332906171679497,
0.04334793984889984,
0.019213682040572166,
-0.007013419643044472,
-0.03344288095831871,
-0.08494918048381805,
-0.001513716415502131,
-0.018063416704535484,
0.010709177702665329,
0.040259264409542084,
-0.004896612837910652,
-0.02647739090025425,
-0.020971029996871948,
0.018350983038544655,
-0.0031845292542129755,
0.004667625296860933,
-0.015698984265327454,
-0.08171139657497406,
-0.05231574550271034,
-0.027691558003425598,
0.010075466707348824,
0.001351294806227088,
0.009287322871387005,
-0.0023977162782102823,
0.07966648042201996,
0.01743503101170063,
0.0020262764301151037,
-0.01832968182861805,
0.01321739424020052,
-0.01075178012251854,
0.01682794652879238,
0.06765260547399521,
0.026093969121575356,
-0.014687176793813705,
0.04486032575368881,
-0.006401010323315859,
-0.03970543295145035,
0.0034561194479465485,
-0.035381291061639786,
0.019724909216165543,
-0.06603371351957321,
0.008019900880753994,
-0.007950672879815102,
0.06194388493895531,
-0.013622116297483444,
0.02651999145746231,
0.008264864794909954,
-0.04255979508161545,
0.032846447080373764,
-0.000722243741620332,
-0.01364341750741005,
0.02326090820133686,
-0.0008314123842865229,
0.04104740917682648,
0.0024855835363268852,
0.06893067806959152,
-0.01723266951739788,
-0.11332237720489502,
0.016306066885590553,
0.006933540105819702,
-0.09866715222597122,
0.008845322765409946,
0.02073671668767929,
0.02773416042327881,
0.04988740757107735,
0.02447507716715336,
-0.05461627244949341,
-0.037703122943639755,
-0.024347269907593727,
0.012919177301228046,
0.05657598376274109,
-0.009654768742620945,
0.055297911167144775,
0.01228014100342989,
-0.01187541801482439,
0.01236534584313631,
-0.011470695957541466,
0.019213682040572166,
-0.0350404717028141,
0.01054941862821579,
0.02603006549179554,
-0.02777676284313202,
-0.03629724308848381,
-0.04247459024190903,
0.03546649590134621,
-0.041686445474624634,
-0.016529729589819908,
-0.012738117016851902,
0.0158906951546669,
-0.008429949171841145,
-0.05542571842670441,
-0.02358042635023594,
0.029140040278434753,
0.02236625924706459,
-0.01567768305540085,
0.01799951307475567,
0.0009419123525731266,
0.02826669067144394,
-0.03499786928296089,
-0.019043272361159325,
-0.04750167205929756,
0.0631367564201355,
-0.004332131240516901,
-0.030162496492266655,
0.0017653368413448334,
-0.04490292817354202,
0.0064116609282791615,
-0.0015270296717062593,
-0.027648955583572388,
0.039982348680496216,
-0.050569046288728714,
0.02754244953393936,
-0.08252084255218506,
-0.004079179372638464,
0.0015456682303920388,
0.0725092813372612,
-0.06603371351957321,
-0.016795994713902473,
-0.04473251849412918,
-0.009846478700637817,
-0.04997261241078377,
0.024986306205391884,
0.00781221454963088,
-0.06867506355047226,
0.06888807564973831,
-0.027350738644599915,
0.020385246723890305,
-0.035871218889951706,
-0.027648955583572388,
-0.030247701331973076,
0.047885093837976456,
0.013036333955824375,
-0.051548901945352554,
0.0020888487342745066,
-0.019991174340248108,
-0.04443430155515671,
0.029097437858581543,
-0.017871705815196037,
0.026456089690327644,
-0.051719311624765396,
0.011896719224750996,
0.045201145112514496,
-0.00011557564721442759,
-0.006539468187838793,
0.018436187878251076,
0.03836346045136452,
0.019447993487119675,
0.017861055210232735,
-0.007551274728029966,
0.07757896929979324,
0.009116913191974163,
-0.04988740757107735,
0.013078936375677586,
0.036765869706869125,
-0.005650143139064312,
-0.010027538985013962,
0.002215324668213725,
-0.025028908625245094,
0.0529547818005085,
0.021066885441541672,
-0.016316717490553856,
0.0362546406686306,
-0.06198648735880852,
0.10821008682250977,
-0.0399184450507164,
0.017051609233021736,
0.006874961778521538,
0.09381047636270523,
-0.01572028547525406,
-0.013068285770714283,
0.020907126367092133,
-0.009276672266423702,
0.01726462133228779,
-0.05448846518993378,
-0.015177103690803051,
-0.02264317497611046,
-0.028458401560783386,
0.04036577045917511,
0.03836346045136452,
-0.014697827398777008,
0.004441299941390753,
-0.010293804109096527,
0.04494553059339523,
0.0021740535739809275,
0.029310449957847595,
0.017978211864829063,
0.06207169219851494,
-0.008445925079286098,
-0.016934452578425407,
-0.00981452688574791,
0.033293772488832474,
-0.005317311733961105,
0.02826669067144394,
-0.0016015839064493775,
0.022557970136404037,
-0.0014644573675468564,
-0.021482259035110474,
0.017285922542214394,
0.010235225781798363,
-0.014282453805208206,
0.024858498945832253,
-0.06373318284749985,
-0.04117521643638611,
-0.012983080931007862,
0.027627654373645782,
0.03316596522927284,
0.02121599391102791,
-0.015038645826280117,
0.012897876091301441,
0.04733126237988472,
0.042261578142642975,
0.041729047894477844,
-0.015911994501948357,
0.0615178607404232,
0.08563081920146942,
-0.05363641679286957,
-0.06995313614606857,
-0.027478545904159546,
-0.03844866529107094,
-0.01951189711689949,
0.025327125564217567,
-0.010448237881064415,
-0.0224088616669178,
0.01662558503448963,
-0.000060076035879319534,
-0.023005293682217598,
0.013334549963474274,
0.06888807564973831,
-0.06692836433649063,
-0.061730872839689255,
-0.04392307251691818,
0.039854541420936584,
-0.008989105932414532,
0.028863124549388885,
0.0074607450515031815,
-0.022430162876844406,
-0.02562534250319004,
0.018468139693140984,
-0.026775605976581573,
-0.08869819343090057,
-0.044178687036037445,
0.012056478299200535,
0.008121081627905369,
0.015081248246133327,
-0.023686932399868965,
0.017946260049939156,
0.008664262481033802,
0.06236990913748741,
-0.010064816102385521,
0.02566794492304325,
0.03107844851911068,
-0.007934696972370148,
0.10974377393722534,
0.009154190309345722,
0.03791613504290581,
-0.02069411426782608,
-0.022515367716550827,
0.008062503300607204,
-0.0003601233765948564,
-0.024176860228180885,
-0.06462783366441727,
0.003096661763265729,
-0.008951828815042973,
-0.01584809273481369,
0.004537155386060476,
0.04818331077694893,
-0.08081674575805664,
-0.025838354602456093,
0.012695514596998692,
0.028032377362251282,
0.038640376180410385,
-0.011374840512871742,
-0.009175491519272327,
0.026413487270474434,
-0.004678275901824236,
-0.008344744332134724,
0.019011320546269417,
-0.00014145327440928668,
0.006092142779380083,
-0.034231025725603104,
-0.06484084576368332,
-0.01393098384141922,
0.04946138337254524,
0.007668431382626295,
-0.000054792340961284935,
0.008786744438111782,
0.03695758059620857,
0.04818331077694893,
0.00012131698167650029,
0.06705617159605026,
-0.0034401435405015945,
-0.007338263094425201,
-0.03237782046198845,
-0.03161098062992096,
0.0076897325925529,
-0.0028516980819404125,
0.031057147309184074,
-0.030482014641165733,
0.06236990913748741,
0.02513541467487812,
-0.04371006041765213,
0.03406061604619026,
0.07979428768157959,
-0.03642505034804344,
0.030652424320578575,
-0.01959710195660591,
0.008344744332134724,
0.029182642698287964,
0.007785588037222624,
-0.0794108659029007,
-0.02130119875073433,
-0.05874870717525482,
-0.028138883411884308,
0.048737142235040665,
0.01228014100342989,
-0.07097559422254562,
-0.03593512251973152,
0.015304910950362682,
0.06603371351957321,
0.01203517708927393,
0.02888442575931549,
0.033826302736997604,
0.01525165792554617,
0.02679690718650818,
-0.0448177233338356,
-0.02362302877008915,
-0.010011563077569008,
0.05700200796127319,
0.04639400914311409,
-0.022302355617284775,
0.02920394390821457,
-0.021684620529413223,
0.03229261562228203,
-0.01580549031496048,
0.06765260547399521,
0.037085387855768204,
0.0054850587621331215,
-0.0073915161192417145,
0.07468200474977493,
-0.01034705713391304,
-0.10786926746368408,
0.050782058387994766,
0.030865436419844627,
-0.06969752162694931,
-0.07255188375711441,
-0.03312336280941963,
-0.03751141205430031,
-0.028948329389095306,
0.0207686685025692,
-0.0529547818005085,
-0.012354695238173008,
0.0006550118559971452,
0.08567342162132263,
0.01701965741813183,
0.0017520235851407051,
0.0015097224386408925,
0.002070210175588727,
-0.03923680633306503,
0.0060655162669718266,
0.05027082934975624,
0.03518958017230034,
-0.06684315949678421,
0.05137849226593971,
-0.005974986124783754,
-0.03595642372965813,
-0.006230600643903017,
-0.05487188696861267,
-0.004891287535429001,
-0.023857342079281807,
-0.013622116297483444,
-0.051548901945352554,
0.01111922599375248,
-0.031866591423749924,
0.022707078605890274,
0.02513541467487812,
-0.04993000999093056,
-0.020459800958633423,
-0.04579757899045944,
0.008563081733882427,
0.02566794492304325,
-0.010501490905880928,
-0.05465887486934662,
-0.008089129813015461,
0.05218793824315071,
0.003027432831004262,
-0.033868905156850815,
0.028628811240196228,
-0.011023370549082756,
0.025774450972676277,
0.017051609233021736,
-0.0643296167254448,
0.011502646841108799,
-0.017605440691113472,
0.02130119875073433,
-0.005548962391912937,
0.004912588745355606,
-0.04703304544091225,
-0.010165996849536896,
0.0004243598086759448,
0.021365102380514145,
0.04396567493677139,
-0.050611648708581924,
-0.03783093020319939,
0.012919177301228046,
0.05201752856373787,
-0.025327125564217567,
-0.07242407649755478,
0.06645973771810532,
-0.0012281471863389015,
-0.033059459179639816,
0.011843466199934483,
-0.007577901240438223,
0.05546832084655762,
-0.01678534410893917,
-0.07766417413949966,
-0.02196153625845909,
-0.008632310666143894,
-0.0382995568215847,
0.012684863992035389,
0.03508307412266731,
-0.0012154995929449797,
0.009074310772120953,
0.0031153003219515085,
0.02522061951458454,
-0.014719128608703613,
-0.025114113464951515,
0.05546832084655762,
-0.01301503274589777,
0.007828190922737122,
0.04993000999093056,
-0.01091686449944973,
-0.028245389461517334,
-0.008057177998125553,
-0.03755401447415352,
-0.031270161271095276,
-0.04273020476102829,
-0.025476234033703804,
0.019724909216165543,
-0.02167396992444992,
-0.006257227156311274,
0.008712190203368664,
-0.04566977173089981,
0.028330594301223755,
-0.06228470429778099,
0.04486032575368881,
-0.021077536046504974,
0.016881199553608894,
0.02724423259496689,
0.0012620959896594286,
0.01678534410893917,
-0.10727283358573914,
0.006933540105819702,
0.026626497507095337,
0.02826669067144394,
-0.008919877000153065,
0.01857464574277401,
-0.061858680099248886,
-0.053508609533309937,
-0.03959892690181732,
0.0378735326230526,
-0.02594486065208912,
0.018585296347737312,
0.004380058962851763,
-0.04232548177242279,
0.007742985617369413,
0.04464731365442276,
0.040791794657707214,
-0.016306066885590553,
-0.013430405408143997,
0.029502160847187042,
0.0014564694138243794,
0.00756725063547492,
0.035871218889951706,
0.02794717252254486,
-0.05044123902916908,
0.009489684365689754,
-0.02705252170562744,
0.04228287935256958,
-0.00212346320040524,
-0.04160124063491821,
0.00014045478019397706,
0.0026160534471273422,
0.029118739068508148,
0.06850465387105942,
-0.026733003556728363,
0.03261213377118111,
-0.004896612837910652,
0.009292648173868656,
-0.007157202810049057,
0.0195544995367527,
-0.003474758006632328,
0.046820033341646194,
0.00252552330493927,
-0.09679264575242996,
0.007540624123066664,
0.00959086511284113,
-0.02692471444606781,
0.016753392294049263,
-0.04070658981800079,
-0.04353965073823929,
0.034848760813474655,
-0.06330716609954834,
0.016156958416104317,
0.01091686449944973,
0.02660519629716873,
0.0189474169164896,
0.011641104705631733,
0.0123227434232831,
0.021620716899633408,
0.013899032026529312,
0.001994324615225196,
0.034806158393621445,
0.017222018912434578,
0.01261030975729227,
0.00420432398095727,
0.09798551350831985,
0.014857586473226547,
-0.05027082934975624,
-0.020928427577018738,
-0.006470239255577326,
-0.05572393536567688,
-0.0080412020906806,
-0.041409529745578766,
0.011758261360228062,
-0.024091655388474464,
0.03608423098921776,
0.01525165792554617,
-0.008057177998125553,
0.021194692701101303
]
|
41,701 | pyglove.core.symbolic.class_wrapper | wrap_module | Wrap classes from a module.
For example, users can wrap all subclasses of `xxx.Base` under module `xxx`::
import xxx
pg.wrap_module(
xxx, where=lambda c: isinstance(c, xxx.Base))
Args:
module: A container that contains classes to wrap.
names: An optional list of class names. If not provided, all classes under
`module` will be considered candidates.
where: An optional filter function in signature (user_class) -> bool.
Only the classes under `module` with True return value will be wrapped.
export_to: An optional module to export the wrapper classes.
**kwargs: Keyword arguments passed to `wrap`
Returns:
Wrapper classes.
| def wrap_module(
module,
names: Optional[Sequence[Text]] = None,
where: Optional[Callable[[Type['ClassWrapper']], bool]] = None,
export_to: Optional[types.ModuleType] = None,
**kwargs):
"""Wrap classes from a module.
For example, users can wrap all subclasses of `xxx.Base` under module `xxx`::
import xxx
pg.wrap_module(
xxx, where=lambda c: isinstance(c, xxx.Base))
Args:
module: A container that contains classes to wrap.
names: An optional list of class names. If not provided, all classes under
`module` will be considered candidates.
where: An optional filter function in signature (user_class) -> bool.
Only the classes under `module` with True return value will be wrapped.
export_to: An optional module to export the wrapper classes.
**kwargs: Keyword arguments passed to `wrap`
Returns:
Wrapper classes.
"""
wrapper_classes = []
module_name = export_to.__name__ if export_to else None
origin_cls_to_wrap_cls = {}
for symbol_name in (names or dir(module)):
s = getattr(module, symbol_name)
if inspect.isclass(s) and (not where or where(s)):
# NOTE(daiyip): It's possible that a name under a module is an alias for
# another class. In such case, we do not create duplicated wrappers but
# shares the same wrapper classes with different names.
if s in origin_cls_to_wrap_cls:
wrapper_class = origin_cls_to_wrap_cls[s]
else:
wrapper_class = wrap(s, module_name=module_name, **kwargs)
origin_cls_to_wrap_cls[s] = wrapper_class
wrapper_classes.append(wrapper_class)
if export_to:
setattr(export_to, symbol_name, wrapper_class)
return wrapper_classes
| (module, names: Optional[Sequence[str]] = None, where: Optional[Callable[[Type[pyglove.core.symbolic.class_wrapper.ClassWrapper]], bool]] = None, export_to: Optional[module] = None, **kwargs) | [
-0.018196705728769302,
-0.05031229183077812,
-0.008674218319356441,
-0.017658555880188942,
-0.0286586694419384,
0.011127809062600136,
-0.062461670488119125,
0.06848163157701492,
-0.028530973941087723,
-0.01946454495191574,
0.03582789748907089,
0.0107903266325593,
0.04224919155240059,
0.006968562491238117,
-0.008852081373333931,
0.004239056725054979,
0.04173840582370758,
-0.007825951091945171,
-0.0003229459107387811,
-0.04706516116857529,
0.029899146407842636,
0.03577317297458649,
0.034094877541065216,
-0.022018468007445335,
-0.05760921537876129,
-0.04972853884100914,
0.04823267087340355,
0.055857956409454346,
-0.015086391009390354,
-0.07271385192871094,
-0.02395215444266796,
-0.03626571223139763,
0.0025995292235165834,
-0.015104632824659348,
-0.004683713428676128,
-0.02955254353582859,
0.03604680672287941,
0.043781545013189316,
0.051479801535606384,
0.001824231119826436,
-0.034496210515499115,
-0.003933498170226812,
-0.026797953993082047,
-0.005367800127714872,
-0.011720684356987476,
0.04611656069755554,
0.0314679853618145,
0.0018994805868715048,
0.010243057273328304,
-0.0036005759611725807,
0.0014970096526667476,
-0.04885290935635567,
0.05614983290433884,
-0.005668797995895147,
0.06902890652418137,
-0.005012074951082468,
0.0011447049910202622,
0.016199171543121338,
0.00784419383853674,
0.003764756955206394,
0.019446302205324173,
0.002163994126021862,
0.017156893387436867,
0.014940452761948109,
0.010407238267362118,
0.042687006294727325,
-0.007488468661904335,
-0.03517117351293564,
-0.007680012844502926,
0.014265486970543861,
-0.025448022410273552,
-0.047393523156642914,
0.07493941485881805,
0.040206052362918854,
0.024991964921355247,
0.012614557519555092,
-0.019245637580752373,
0.0006225188262760639,
-0.003039625007659197,
-0.019902361556887627,
0.03303682431578636,
0.014292850159108639,
-0.04940017685294151,
0.024991964921355247,
-0.02756413072347641,
-0.016308626160025597,
-0.05859430134296417,
0.01926388032734394,
0.03128556162118912,
-0.04400045424699783,
-0.10142724961042404,
0.011620352044701576,
0.009549849666655064,
0.022419799119234085,
-0.0098873320966959,
0.0016030430560931563,
-0.009025382809340954,
0.0012359165120869875,
-0.09121154993772507,
0.03892908990383148,
0.06720466911792755,
0.0011720684124156833,
0.0053449971601367,
0.03436851501464844,
0.017758889123797417,
-0.046189531683921814,
-0.042978882789611816,
-0.01564278081059456,
-0.002193637890741229,
-0.033620577305555344,
-0.04042496159672737,
-0.004200291819870472,
-0.020905688405036926,
-0.02977145090699196,
0.037506189197301865,
-0.04812321439385414,
0.004321147222071886,
-0.03216119483113289,
-0.02247452735900879,
-0.013253038749098778,
0.004929984454065561,
-0.023787973448634148,
0.03493402525782585,
-0.0034751601051539183,
0.009960301220417023,
0.02807491645216942,
0.010416359640657902,
-0.012423013336956501,
0.03602856397628784,
-0.05837539583444595,
0.0009839446283876896,
-0.037798069417476654,
-0.051078468561172485,
0.027983704581856728,
-0.018652763217687607,
0.03943987563252449,
-0.09923817217350006,
0.04910830035805702,
-0.0008613790851086378,
0.017959555611014366,
0.000031389601645059884,
0.012112894095480442,
-0.0055411020293831825,
0.06366566568613052,
-0.00005779106868430972,
-0.08106882870197296,
0.015451236627995968,
-0.011428807862102985,
-0.03951284661889076,
0.016655229032039642,
-0.03354761004447937,
-0.03816291317343712,
0.08880356699228287,
0.04790430888533592,
-0.09398438781499863,
0.04006011411547661,
0.00046831430518068373,
0.007369893603026867,
-0.028603943064808846,
0.033201005309820175,
0.04520444571971893,
-0.05126089230179787,
-0.016481928527355194,
0.01805988699197769,
0.006635640282183886,
-0.004549176432192326,
0.022328589111566544,
-0.06129416450858116,
-0.011857502162456512,
0.048889391124248505,
0.015797840431332588,
-0.003778438549488783,
0.07358948141336441,
0.011109567247331142,
-0.05990774929523468,
-0.006051886361092329,
0.0009913555113598704,
-0.04432881623506546,
0.004369033500552177,
0.025922322645783424,
0.041993800550699234,
0.012240590527653694,
-0.05414317920804024,
0.03367530554533005,
0.010243057273328304,
-0.011310232803225517,
-0.02557571977376938,
0.033711791038513184,
0.012176742777228355,
-0.029315393418073654,
-0.011547382920980453,
0.05118792504072189,
0.06319136172533035,
0.0017603830201551318,
-0.030683565884828568,
0.03584614023566246,
-0.0561133474111557,
0.043672092258930206,
-0.04721109941601753,
0.08004725724458694,
-0.10347038507461548,
0.07293275743722916,
0.024846026673913002,
0.007953647524118423,
0.020814476534724236,
0.009413031861186028,
0.0403519906103611,
-0.012833465822041035,
0.013845914043486118,
-0.037506189197301865,
0.028111400082707405,
0.025922322645783424,
-0.07180173695087433,
0.0323253758251667,
-0.015998506918549538,
0.041592467576265335,
0.04626249894499779,
0.03216119483113289,
-0.002419386524707079,
-0.0427599772810936,
-0.07402729988098145,
0.08865763247013092,
-0.048779938369989395,
0.024627119302749634,
0.03367530554533005,
-0.048488061875104904,
0.0028298385441303253,
-0.029315393418073654,
0.06432238966226578,
-0.02187252976000309,
0.04750297591090202,
0.019300363957881927,
-0.04243161529302597,
0.029716724529862404,
0.04983799159526825,
-0.05549310892820358,
0.00869246106594801,
-0.03761564567685127,
-0.024244030937552452,
0.00262005184777081,
0.04980150982737541,
0.014612090773880482,
-0.03577317297458649,
-0.03217943757772446,
-0.013991852290928364,
-0.03604680672287941,
-0.0597253255546093,
-0.04494905471801758,
0.021051626652479172,
0.020832719281315804,
-0.03615625947713852,
-0.007602483034133911,
0.010270420461893082,
-0.031595680862665176,
0.014739787206053734,
-0.020011814311146736,
-0.0205773264169693,
-0.053267545998096466,
-0.017485255375504494,
-0.0057782516814768314,
0.012404771521687508,
-0.030519384890794754,
-0.00653986819088459,
0.01228619646281004,
0.0371413454413414,
-0.03296385705471039,
-0.03064708225429058,
-0.010224815458059311,
0.02336839959025383,
0.008500916883349419,
0.05344996973872185,
0.04421935975551605,
0.023897426202893257,
0.00044009575503878295,
-0.02387918531894684,
-0.008988898247480392,
0.01247774064540863,
-0.032489556819200516,
-0.030920716002583504,
0.01122814230620861,
0.01448439434170723,
-0.04830563813447952,
-0.0593239925801754,
-0.04217622056603432,
0.03482457250356674,
0.052173007279634476,
-0.05439857020974159,
0.0673506110906601,
0.01957399956882,
0.021635379642248154,
0.006421293132007122,
-0.007233076263219118,
0.005253785289824009,
-0.06683982908725739,
-0.03976823762059212,
0.016573138535022736,
-0.11857502162456512,
-0.024517664685845375,
0.02834855020046234,
-0.08216336369514465,
-0.061549555510282516,
-0.019300363957881927,
-0.00008665097266202793,
0.01752173900604248,
0.005746327806264162,
-0.022620465606451035,
0.0035663717426359653,
-0.06300894170999527,
-0.043380215764045715,
0.07351651042699814,
0.024244030937552452,
0.024809543043375015,
0.012696648016571999,
-0.061184708029031754,
0.09070076793432236,
0.027126315981149673,
0.05104198679327965,
-0.003525326494127512,
-0.01467593852430582,
0.03256252408027649,
-0.006421293132007122,
-0.01193959265947342,
-0.04753946140408516,
0.01948278769850731,
0.030191024765372276,
-0.02267519198358059,
-0.00103924167342484,
0.014247244223952293,
0.02796546183526516,
-0.0601266548037529,
0.020632052794098854,
0.039476361125707626,
0.04626249894499779,
0.03407663479447365,
0.018716610968112946,
0.023915668949484825,
0.0525013692677021,
-0.03438675403594971,
0.015259692445397377,
-0.02734522335231304,
0.0525013692677021,
-0.03652110695838928,
-0.07406377792358398,
0.0012450376525521278,
-0.1044919565320015,
0.040753323584795,
-0.007825951091945171,
0.0258493535220623,
0.01995708793401718,
-0.025429781526327133,
0.03462390601634979,
0.010115360841155052,
-0.015770478174090385,
0.005586707498878241,
0.033401671797037125,
0.01004239171743393,
0.017640314996242523,
-0.03495226800441742,
-0.04870697110891342,
-0.07858787477016449,
0.0545080229640007,
0.042978882789611816,
0.006758776027709246,
0.005436208564788103,
-0.013699974864721298,
0.02716279961168766,
0.05520123243331909,
-0.02736346609890461,
0.011419686488807201,
-0.005810176022350788,
0.005645995028316975,
-0.0007428040844388306,
0.024791300296783447,
-0.006731412839144468,
-0.018497703596949577,
0.017102167010307312,
-0.030209265649318695,
0.0002732071152422577,
-0.05629577115178108,
0.043088339269161224,
0.03086598962545395,
-0.045605774968862534,
0.01203992497175932,
-0.04863400012254715,
0.01307973638176918,
-0.011419686488807201,
0.05593092367053032,
-0.03677649796009064,
-0.0018173902062699199,
-0.003466038964688778,
-0.01736667938530445,
-0.005062241107225418,
-0.03194228559732437,
0.04805024713277817,
-0.053778331726789474,
-0.0025379613507539034,
-0.021197564899921417,
0.06300894170999527,
-0.03462390601634979,
-0.041884344071149826,
0.06519801914691925,
-0.05574849992990494,
0.02787424996495247,
-0.012495982460677624,
-0.01798691786825657,
0.03263549506664276,
0.049181267619132996,
-0.0011424246476963162,
0.04885290935635567,
-0.019190911203622818,
0.018917275592684746,
0.011957834474742413,
-0.04392748326063156,
-0.04629898443818092,
-0.005755449179559946,
-0.010507570579648018,
0.0007006187224760652,
0.023623792454600334,
-0.009723151102662086,
-0.04910830035805702,
0.0296619962900877,
-0.045788198709487915,
0.033711791038513184,
-0.03776158392429352,
0.009330942295491695,
0.0014901687391102314,
0.014010094106197357,
-0.005810176022350788,
-0.04651789367198944,
0.02895054779946804,
-0.04261403903365135,
0.04232215881347656,
-0.06300894170999527,
-0.012459497898817062,
0.059251025319099426,
-0.035499535501003265,
0.00862861331552267,
0.005317633505910635,
-0.019792906939983368,
0.01163859385997057,
-0.00042612897232174873,
-0.025101419538259506,
-0.007383575197309256,
-0.0050987256690859795,
0.034186091274023056,
0.01338985562324524,
-0.02876812405884266,
0.015560691244900227,
-0.019920602440834045,
0.015068148262798786,
0.039585813879966736,
-0.049071814864873886,
0.0690653845667839,
0.008861202746629715,
-0.005313072819262743,
0.00994205940514803,
-0.004209413193166256,
-0.03321924805641174,
0.05060416832566261,
0.05884969234466553,
0.0004007607640232891,
-0.02526560053229332,
0.01772240549325943,
-0.027527647092938423,
0.002103566424921155,
-0.008852081373333931,
0.03546305000782013,
-0.128498837351799,
0.03653934970498085,
0.0016361072193831205,
0.09500595182180405,
0.008902247995138168,
0.0383453369140625,
0.007173788733780384,
0.021635379642248154,
0.024791300296783447,
-0.01207640953361988,
-0.010060634464025497,
0.01278785988688469,
-0.039476361125707626,
0.002679339377209544,
-0.0030601476319134235,
0.03535359725356102,
-0.035992078483104706,
-0.01307973638176918,
-0.011748048476874828,
0.046663831919431686,
-0.027035104110836983,
0.03303682431578636,
0.00518993753939867,
-0.015177602879703045,
0.02205495350062847,
0.03017278201878071,
0.04345318302512169,
-0.017777131870388985,
0.016034990549087524,
0.006973123177886009,
0.039002060890197754,
-0.04024253785610199,
-0.07209361344575882,
0.021033383905887604,
0.04980150982737541,
0.02156241051852703,
-0.023642035201191902,
0.036192744970321655,
-0.027928978204727173,
0.05914157256484032,
-0.0500933863222599,
0.008546522818505764,
0.04896236211061478,
0.002045419067144394,
0.03487929701805115,
0.01629038341343403,
0.0048022884875535965,
-0.029534300789237022,
-0.029096486046910286,
-0.038089945912361145,
0.09449516981840134,
-0.028622185811400414,
-0.06209682673215866,
-0.007752981968224049,
0.027108073234558105,
0.022912342101335526,
0.015624538995325565,
-0.02725401148200035,
0.010735600255429745,
0.008090464398264885,
0.043197792023420334,
0.04097222909331322,
-0.012614557519555092,
0.007027850020676851,
0.0029529740568250418,
-0.006184143479913473,
-0.0613306500017643,
0.011337595991790295,
-0.0014023776166141033,
-0.05552959442138672,
0.06621959060430527,
0.004321147222071886,
0.0043553514406085014,
0.010680872946977615,
0.06297245621681213,
-0.010407238267362118,
0.015068148262798786,
-0.020413145422935486,
0.027290496975183487,
0.002389742759987712,
-0.024116335436701775,
-0.05100550130009651,
-0.0187713373452425,
-0.008642294444143772,
-0.022729918360710144,
0.03841830790042877,
0.03084774687886238,
0.013307766057550907,
-0.04462069272994995,
0.00863773375749588,
-0.0081679942086339,
-0.02885933592915535,
0.05224597826600075,
0.016390716657042503,
0.03084774687886238,
0.0525013692677021,
-0.01113693043589592,
-0.008186236955225468,
-0.010197451338171959,
0.09573564678430557,
0.01488572545349598,
-0.03287264332175255,
0.00408399710431695,
0.03725079819560051,
0.0387466661632061,
-0.019336849451065063,
0.03544481098651886,
0.08435244113206863,
0.052975669503211975,
0.00539516331627965,
0.0079673295840621,
-0.031613923609256744,
-0.03325573354959488,
0.012003440409898758,
-0.012724011205136776,
-0.043380215764045715,
-0.04294240102171898,
-0.013955367729067802,
-0.039585813879966736,
-0.031084896996617317,
0.03445972502231598,
-0.013964489102363586,
0.07052477449178696,
0.0427599772810936,
0.03084774687886238,
0.04213973879814148,
0.017941312864422798,
0.056988976895809174,
-0.011346717365086079,
-0.10536758601665497,
0.027527647092938423,
0.0002779102069325745,
0.07074368000030518,
-0.03936690464615822,
0.005573025904595852,
-0.027126315981149673,
-0.018607156351208687,
-0.01691974326968193,
-0.02285761572420597,
-0.02066853828728199,
-0.04286943003535271,
-0.03197877109050751,
-0.002695301314815879,
0.0075705586932599545,
-0.023897426202893257,
0.07264088094234467,
0.03502523526549339,
-0.02915121242403984,
0.014621212147176266,
-0.04553280770778656,
-0.02397039532661438,
0.03373003378510475,
-0.035992078483104706,
0.021635379642248154,
-0.025283843278884888,
0.035317111760377884,
0.003217487595975399,
0.0065945954993367195,
-0.03341991454362869,
-0.008354978635907173,
-0.018753094598650932,
0.04863400012254715,
-0.012796981260180473,
-0.07446511089801788,
-0.0014582447474822402,
0.060163140296936035,
-0.027819523587822914,
-0.05155276879668236,
0.005933311302214861,
0.005563904531300068,
-0.02716279961168766,
0.047284070402383804,
0.0028640427626669407,
-0.0012176742311567068,
-0.026907408609986305,
0.0035686520859599113,
-0.0143293347209692,
0.013216554187238216,
-0.08012022823095322,
0.05604037642478943,
0.00739269657060504,
-0.019245637580752373,
-0.05213652551174164,
-0.0047430009581148624,
0.08829278498888016,
-0.024846026673913002,
-0.030574113130569458,
-0.017640314996242523,
-0.004248178098350763,
-0.038892604410648346,
0.015697509050369263,
0.018269674852490425,
-0.045569293200969696,
0.048670485615730286,
-0.05680655688047409,
0.05319457873702049,
-0.001711356802843511,
0.021234050393104553,
0.013143585063517094,
0.012988525442779064,
0.028512731194496155,
0.010662630200386047,
0.0020978657994419336,
-0.006936638616025448,
-0.001982711022719741,
0.017083924263715744,
-0.041191138327121735,
-0.03965878486633301,
0.009650181978940964,
0.013152705505490303,
-0.02316773496568203,
-0.02028544992208481,
-0.0037077495362609625,
-0.06804382055997849,
0.024335242807865143,
-0.051990583539009094,
0.09048186242580414,
-0.0019268440082669258,
0.05315809324383736,
-0.035408325493335724,
0.016408957540988922,
-0.029917389154434204,
-0.046882737427949905,
0.038783151656389236,
0.061148226261138916,
0.032270647585392,
0.005386042408645153,
0.02895054779946804,
0.03976823762059212,
-0.02106986939907074,
-0.07793115079402924,
0.0054726931266486645,
0.0134263401851058,
0.0415559820830822,
-0.023532580584287643,
-0.030519384890794754,
-0.015907295048236847,
-0.011155173182487488,
-0.022930584847927094,
0.0031787226907908916,
0.014511758461594582,
0.031230835244059563,
0.013845914043486118,
-0.0633373036980629,
0.030774777755141258,
0.0415559820830822,
-0.00347059965133667,
-0.020996900275349617,
-0.0549093559384346,
0.015460358001291752,
0.005659677088260651,
-0.002759149530902505,
-0.0009850848000496626,
0.06041853129863739,
0.008464432321488857,
0.06603716313838959,
0.015569811686873436,
-0.025448022410273552,
-0.03646637871861458,
0.021325260400772095,
0.030391689389944077,
0.007233076263219118,
-0.021252291277050972,
0.0047430009581148624,
0.02407984994351864,
-0.11638594418764114,
-0.0018892192747443914,
0.03314627707004547,
-0.034204334020614624,
0.016682593151926994,
-0.02805667370557785,
-0.056770071387290955,
0.002135490532964468,
-0.025393296033143997,
0.009476880542933941,
0.0034249937161803246,
-0.005737206898629665,
-0.004971029702574015,
-0.07019641250371933,
0.0021537328138947487,
-0.008227282203733921,
0.03413136303424835,
0.04374505952000618,
0.015998506918549538,
0.037396736443042755,
-0.0010700254933908582,
-0.006927517242729664,
0.08092288672924042,
0.03683122619986534,
-0.025101419538259506,
0.02716279961168766,
-0.04232215881347656,
-0.0351346917450428,
-0.0068910326808691025,
0.00909379217773676,
0.010680872946977615,
-0.049692053347826004,
-0.0031673212070018053,
-0.007520392537117004,
0.009768757037818432,
0.0024262273218482733
]
|
41,703 | builtins | type | type(object) -> the object's type
type(name, bases, dict, **kwds) -> a new type | from builtins import type
| null | [
0.024378793314099312,
0.015226082876324654,
0.014569271355867386,
0.004356706980615854,
0.019192541018128395,
0.027551960200071335,
0.025231795385479927,
0.012974157929420471,
-0.037941522896289825,
-0.0242081917822361,
0.0014788919361308217,
0.04234301298856735,
-0.0018254240276291966,
-0.005280081648379564,
-0.03137340769171715,
0.002940723905339837,
-0.017392707988619804,
0.0833212211728096,
0.0038043882232159376,
-0.014475441537797451,
-0.053875599056482315,
0.03671320155262947,
0.02581183612346649,
-0.012897388078272343,
0.024003472179174423,
0.04633506014943123,
0.0384192019701004,
-0.03372769430279732,
-0.043434854596853256,
-0.024276433512568474,
-0.03828272223472595,
-0.061177294701337814,
0.03534839674830437,
-0.010628403164446354,
0.014611922204494476,
-0.035211917012929916,
-0.013417718932032585,
0.09560444951057434,
-0.022877510637044907,
-0.02175154723227024,
-0.021171506494283676,
0.01452662143856287,
-0.09717397391796112,
-0.013409188948571682,
-0.04575502127408981,
-0.03695204108953476,
-0.005804677493870258,
-0.04036404937505722,
-0.021922146901488304,
-0.04541381821036339,
-0.004045361187309027,
-0.044731415808200836,
0.04636918008327484,
-0.002054668264463544,
-0.04207004979252815,
0.03297705203294754,
-0.0009548289817757905,
0.048894066363573074,
-0.07294871658086777,
0.10365678369998932,
-0.03331825137138367,
0.04984942823648453,
-0.022570429369807243,
-0.06568114459514618,
0.042377132922410965,
-0.00013807967479806393,
-0.05800412595272064,
0.011037844233214855,
-0.041353531181812286,
0.04087584838271141,
-0.06718242913484573,
-0.004900495521724224,
-0.019601982086896896,
0.03626963868737221,
0.07458648085594177,
-0.04804106429219246,
-0.05145307257771492,
0.023662270978093147,
0.034938957542181015,
-0.017486538738012314,
0.0443560965359211,
0.009937471710145473,
-0.025112373754382133,
0.017810678109526634,
-0.030588647350668907,
0.024174071848392487,
-0.08263882249593735,
0.049269385635852814,
-0.03777092322707176,
-0.007553331553936005,
-0.029735645279288292,
-0.03654259815812111,
-0.035996679216623306,
0.052306074649095535,
-0.01212115678936243,
0.0189366415143013,
0.02291163057088852,
-0.06974143534898758,
0.004499584902077913,
-0.027961401268839836,
0.05080479010939598,
0.027773739770054817,
0.028882643207907677,
-0.06472577899694443,
-0.013750390149652958,
0.01617291569709778,
0.04295717179775238,
0.009092999622225761,
-0.032635852694511414,
0.03906748443841934,
-0.035314276814460754,
-0.04705158248543739,
-0.037395600229501724,
-0.01874898001551628,
0.0006168269901536405,
-0.0015130119863897562,
0.0027061484288424253,
0.0005517855752259493,
0.01662500575184822,
0.027176639065146446,
-0.00414558919146657,
0.05721936374902725,
0.00012508472718764096,
0.03722500056028366,
0.0822293758392334,
0.06322449445724487,
0.017341528087854385,
-0.009988651610910892,
0.014919002540409565,
0.008905339054763317,
-0.005817472469061613,
0.013997760601341724,
-0.08338946104049683,
0.0895310714840889,
-0.020079663023352623,
0.043298374861478806,
-0.04937174916267395,
0.01528579369187355,
0.012556186877191067,
0.024498213082551956,
-0.006448694039136171,
0.029206784442067146,
0.08004569262266159,
-0.05967601016163826,
-0.040432289242744446,
0.009510970674455166,
0.001505548250861466,
0.04425373673439026,
-0.03551899641752243,
0.011012254282832146,
-0.037293240427970886,
0.0017539850668981671,
0.04203592985868454,
0.04619858041405678,
-0.026494238525629044,
0.03270409256219864,
0.015626994892954826,
-0.05162367224693298,
-0.0071865408681333065,
-0.05390971899032593,
-0.017674198374152184,
0.028370842337608337,
-0.01217233669012785,
-0.040807608515024185,
0.03246524930000305,
0.04964470863342285,
0.005838797893375158,
-0.01769125834107399,
0.020437924191355705,
0.012760907411575317,
-0.04411725699901581,
-0.041319411247968674,
-0.01630939543247223,
0.02702309936285019,
0.018356600776314735,
0.05319319665431976,
-0.04585738107562065,
0.0632927343249321,
0.002748798578977585,
0.023201650008559227,
0.0328746922314167,
-0.029206784442067146,
-0.13941462337970734,
0.0204208642244339,
0.03330119326710701,
0.00810778234153986,
0.014373081736266613,
-0.02613597735762596,
0.034068893641233444,
-0.018083639442920685,
-0.028746163472533226,
0.02407171204686165,
-0.014697222039103508,
-0.03804388269782066,
0.025845956057310104,
-0.01939726248383522,
-0.0411146879196167,
-0.007476561237126589,
-0.04565265774726868,
0.05769704654812813,
-0.044594936072826385,
0.04073936864733696,
0.01521755289286375,
0.03944280743598938,
0.025197675451636314,
-0.02864380180835724,
0.0008993838564492762,
0.005992338061332703,
0.000998545321635902,
-0.03423949331045151,
0.011199913918972015,
-0.049951788038015366,
0.007267575711011887,
0.05107774958014488,
0.02826848067343235,
-0.039101604372262955,
-0.026494238525629044,
-0.05558159947395325,
0.013434778898954391,
0.028609681874513626,
0.08373066037893295,
0.055445119738578796,
-0.018356600776314735,
-0.009340370073914528,
0.09471732378005981,
-0.020932665094733238,
-0.06172321364283562,
0.01133639458566904,
-0.00483652064576745,
-0.00854281336069107,
0.0605972521007061,
-0.023389311507344246,
-0.028302602469921112,
0.012590307742357254,
0.020625585690140724,
-0.009826580993831158,
0.026937799528241158,
0.03579195961356163,
-0.03899924457073212,
0.030656887218356133,
0.002179419854655862,
0.03657671809196472,
-0.024037592113018036,
-0.024839414283633232,
-0.018731920048594475,
-0.00849589891731739,
0.038589805364608765,
0.06660238653421402,
-0.05953953042626381,
-0.004576354753226042,
0.031202808022499084,
-0.06919550895690918,
0.030093904584646225,
-0.06138201430439949,
0.055820442736148834,
-0.016659125685691833,
0.005062566138803959,
-0.055445119738578796,
0.03024744614958763,
-0.031236927956342697,
-0.024276433512568474,
0.011003724299371243,
0.029872125014662743,
0.06387277692556381,
-0.07642896473407745,
-0.04752926528453827,
-0.006738714873790741,
0.05148719251155853,
-0.00010375968122389168,
-0.003443995025008917,
0.1206485852599144,
-0.00592409772798419,
0.021717427298426628,
0.016454406082630157,
-0.0484163835644722,
-0.010398092679679394,
0.027091339230537415,
0.04541381821036339,
0.03219228982925415,
-0.009391550906002522,
-0.0041733114048838615,
0.019823763519525528,
-0.01990906335413456,
-0.035450756549835205,
-0.07308519631624222,
-0.0032478044740855694,
0.009596270509064198,
0.0026549682952463627,
-0.030383925884962082,
0.014833702705800533,
0.03613315895199776,
0.016479995101690292,
0.045516178011894226,
-0.0060349879786372185,
0.031117508187890053,
0.0903499573469162,
-0.009340370073914528,
-0.04234301298856735,
0.058038245886564255,
0.007813497446477413,
-0.007962772622704506,
-0.015396683476865292,
0.009357430040836334,
0.01667618565261364,
0.01258177775889635,
-0.040022846311330795,
0.027006039395928383,
-0.044219616800546646,
-0.05483096092939377,
0.04858698695898056,
0.00254621054045856,
0.015831714496016502,
-0.05728760361671448,
0.0067941597662866116,
0.029257964342832565,
0.04466317594051361,
-0.004827990662306547,
0.007335816044360399,
-0.03804388269782066,
0.08946283161640167,
-0.04323013499379158,
-0.02688661776483059,
0.05448975786566734,
0.014202481135725975,
-0.04456081613898277,
-0.02485647425055504,
-0.02642599679529667,
0.013929520733654499,
0.05223783478140831,
0.04609622061252594,
-0.07308519631624222,
0.007519211154431105,
0.07636072486639023,
0.03592843934893608,
0.018970761448144913,
0.021256806328892708,
0.02743254043161869,
-0.02470293454825878,
-0.02156388759613037,
-0.0043716346845030785,
0.00031161223887465894,
0.03362533450126648,
0.0323287695646286,
0.006926374975591898,
-0.015831714496016502,
0.00833809282630682,
-0.01912430115044117,
-0.004397224634885788,
0.14603391289710999,
0.03412007540464401,
-0.023031050339341164,
-0.058447688817977905,
-0.005305671598762274,
0.004256479442119598,
0.005420826841145754,
-0.0157549437135458,
-0.003906748723238707,
0.019943183287978172,
-0.05100950971245766,
0.01999436318874359,
0.08400361984968185,
-0.02646011672914028,
0.013409188948571682,
0.00181262893602252,
-0.01990906335413456,
-0.0038406408857554197,
0.007092710584402084,
0.0027274733874946833,
0.06097257137298584,
-0.012359997257590294,
-0.018868401646614075,
0.008828569203615189,
-0.10201901942491531,
-0.058311205357313156,
-0.06714830547571182,
0.010526043362915516,
0.013477429747581482,
0.02734723873436451,
-0.08065985888242722,
0.014569271355867386,
0.008103517815470695,
0.003957928624004126,
-0.01902194134891033,
0.020472044125199318,
-0.010142192244529724,
-0.041353531181812286,
-0.033369433134794235,
0.013042398728430271,
-0.043810173869132996,
0.046266820281744,
-0.014637512154877186,
-0.016607945784926414,
0.026954859495162964,
-0.017486538738012314,
0.018117759376764297,
-0.00678989477455616,
-0.04664214327931404,
-0.03913572430610657,
-0.07172039896249771,
0.058686528354883194,
0.030793366953730583,
0.042752452194690704,
-0.00754053657874465,
0.05814060568809509,
-0.0185272004455328,
0.038726285099983215,
0.04831402376294136,
-0.00859399326145649,
0.008713413961231709,
-0.04169473052024841,
0.07281223684549332,
-0.03633787855505943,
-0.0285414420068264,
-0.09280660003423691,
0.026664838194847107,
-0.031049268320202827,
-0.002806376200169325,
-0.044083137065172195,
0.007979832589626312,
0.00271894340403378,
0.027722559869289398,
-0.03427361324429512,
-0.0003697229840327054,
0.036747321486473083,
-0.020472044125199318,
-0.00012828348553739488,
-0.0030878668185323477,
0.03132222965359688,
-0.0007405122159980237,
0.04169473052024841,
-0.029633283615112305,
0.020932665094733238,
-0.004478259943425655,
-0.06670474261045456,
0.05380735546350479,
-0.005416561849415302,
-0.03551899641752243,
-0.03125398978590965,
0.037259120494127274,
0.01967022195458412,
0.017520658671855927,
0.04831402376294136,
0.007638631854206324,
-0.01944844238460064,
0.06629530340433121,
-0.021785667166113853,
-0.03579195961356163,
0.07874913513660431,
-0.017060037702322006,
-0.02221216820180416,
-0.021325046196579933,
-0.02456645295023918,
0.03130516782402992,
-0.03582607954740524,
0.05513804033398628,
-0.013724800199270248,
-0.05326143652200699,
0.0559910424053669,
0.038453321903944016,
-0.03391535207629204,
-0.03280645236372948,
0.006307948846369982,
-0.0411146879196167,
-0.018578380346298218,
0.005028445739299059,
0.052169594913721085,
-0.020983844995498657,
0.007485091220587492,
0.04244537279009819,
0.033369433134794235,
0.013477429747581482,
0.02318459004163742,
0.015737883746623993,
-0.02697191946208477,
-0.0037254856433719397,
0.09000875800848007,
-0.019380202516913414,
-0.013451838865876198,
0.016923556104302406,
-0.03736148029565811,
-0.014867822639644146,
-0.04507261887192726,
0.004772545304149389,
0.0032350094988942146,
-0.06264445930719376,
0.009340370073914528,
-0.013281239196658134,
0.0009537626756355166,
0.00725051574409008,
0.010858713649213314,
-0.01740976795554161,
0.09642332792282104,
0.00028069093241356313,
-0.007301696110516787,
0.05837944522500038,
0.01885134167969227,
-0.010244552046060562,
0.01258177775889635,
-0.02328694984316826,
0.024771174415946007,
0.045004379004240036,
0.01498724240809679,
-0.01796421967446804,
0.00010522577940719202,
0.055410999804735184,
0.0018648753175511956,
0.06813778728246689,
-0.015490513294935226,
-0.038180362433195114,
-0.011293744668364525,
-0.009169770404696465,
0.012940037995576859,
0.022894570603966713,
-0.01602790504693985,
0.038316842168569565,
-0.028524382039904594,
0.032669972628355026,
-0.0123088164255023,
-0.05524040013551712,
-0.016505585983395576,
-0.03103220835328102,
-0.02840496227145195,
-0.03325001150369644,
-0.05339791625738144,
0.013264179229736328,
0.009101529605686665,
-0.027910221368074417,
0.019926123321056366,
0.0005451214965432882,
0.0323287695646286,
0.08577786386013031,
0.023525791242718697,
-0.007860411889851093,
-0.03592843934893608,
-0.012317346408963203,
0.02355991117656231,
-0.02729605883359909,
-0.012180866673588753,
0.040671128779649734,
0.0017689126543700695,
0.0018211589194834232,
-0.0224510096013546,
0.011012254282832146,
0.011524055153131485,
0.02918972261250019,
0.014031880535185337,
-0.022331587970256805,
-0.011737305670976639,
-0.027824919670820236,
0.01487635262310505,
-0.049030546098947525,
-0.03444421663880348,
-0.017520658671855927,
0.03372769430279732,
-0.043161895126104355,
-0.026630718261003494,
0.0010102740488946438,
-0.028046701103448868,
0.04022756591439247,
0.006998880300670862,
0.005024180747568607,
0.0007293166127055883,
0.01018484216183424,
0.044083137065172195,
-0.07513240724802017,
-0.027176639065146446,
-0.015806123614311218,
0.06319037824869156,
0.010278671979904175,
-0.04254773259162903,
0.044321976602077484,
-0.05278375372290611,
0.059607770293951035,
-0.03551899641752243,
0.03362533450126648,
0.06701182574033737,
-0.030588647350668907,
0.000622158229816705,
0.001109968638047576,
-0.04022756591439247,
-0.03763444349169731,
0.011438755318522453,
-0.010773413814604282,
-0.06523758172988892,
-0.0009766871808096766,
-0.038862764835357666,
-0.007348611019551754,
0.0066576795652508736,
-0.025743596255779266,
-0.019482562318444252,
-0.011174323968589306,
0.03852156549692154,
0.03248231112957001,
-0.022195108234882355,
0.005002855788916349,
-0.04346897453069687,
0.016138795763254166,
0.027637260034680367,
-0.040159326046705246,
-0.032908812165260315,
0.019039001315832138,
0.01735858805477619,
-0.02248512953519821,
-0.021137386560440063,
0.04964470863342285,
-0.016471466049551964,
0.012735317461192608,
0.024515273049473763,
0.018783101812005043,
-0.046539779752492905,
0.02424231357872486,
-0.0032733946572989225,
0.0017497200751677155,
-0.015481983311474323,
0.015968194231390953,
0.0052544912323355675,
-0.0017017386853694916,
-0.026391876861453056,
-0.02023320458829403,
0.02656247839331627,
-0.04722218215465546,
0.028524382039904594,
0.03029862605035305,
-0.01949962228536606,
0.012522066943347454,
-0.010355442762374878,
-0.037668563425540924,
-0.026818377897143364,
0.06946846842765808,
-0.07363112270832062,
-0.02355991117656231,
0.008871219120919704,
0.06820602715015411,
-0.08482250571250916,
-0.06305389851331711,
0.0020973184145987034,
-0.0022519249469041824,
-0.018953701481223106,
0.019004881381988525,
0.05837944522500038,
-0.005599956959486008,
-0.03427361324429512,
-0.0037873282562941313,
0.007962772622704506,
-0.019158421084284782,
-0.016147324815392494,
-0.008303972892463207,
-0.0189366415143013,
0.0014703619526699185,
-0.024975894019007683,
-0.0023308275267481804,
0.04763162508606911,
0.016846787184476852,
0.02831966243684292,
-0.035962559282779694,
0.030179206281900406,
-0.023013990372419357,
-0.012726787477731705,
0.018168939277529716,
-0.047085702419281006,
0.0005709780962206423,
0.008257057517766953,
-0.01640322618186474,
0.03698616102337837,
0.05298847705125809,
-0.02618715725839138,
-0.005872917827218771,
-0.007979832589626312,
0.016411755234003067,
-0.03865804523229599,
0.001283767749555409,
-0.022229228168725967,
0.03202169016003609,
-0.07294871658086777,
-0.05551335960626602,
0.005361116491258144,
0.009050349704921246,
0.0495082288980484,
0.014330430887639523,
-0.01299974787980318,
-0.03007684461772442,
-0.038965124636888504,
-0.04711982235312462,
-0.027654320001602173,
-0.0251635555177927,
0.01485076267272234,
-0.04036404937505722,
0.016369106248021126,
-0.004913290496915579,
-0.08823451399803162,
0.011097554117441177,
-0.009920411743223667,
-0.010628403164446354,
-0.030827486887574196,
-0.010039831511676311,
-0.029957424849271774,
-0.017034446820616722,
0.011541115120053291,
0.014569271355867386,
0.024549392983317375,
0.05605928227305412,
-0.017162397503852844,
0.0150810731574893,
0.02120562642812729,
0.019874943420290947,
0.006431634072214365,
-0.034529514610767365,
0.035314276814460754,
0.01888546161353588,
0.0006648083217442036,
-0.00040011119563132524,
0.025607116520404816,
-0.024174071848392487,
-0.026937799528241158,
0.0022028773091733456,
-0.030230386182665825,
-0.040568768978118896,
0.10911599546670914,
0.0009644252131693065,
0.005744967609643936,
0.01866368018090725,
-0.010457802563905716,
0.04295717179775238,
0.036781441420316696,
0.07772552967071533,
0.03331825137138367,
-0.06636354327201843,
0.010841653682291508,
-0.02983800508081913,
0.002710413420572877,
0.022092748433351517,
0.01871486008167267,
-0.02239982783794403,
0.04299129173159599,
-0.020847365260124207,
0.014867822639644146,
-0.020608525723218918,
0.03103220835328102,
-0.023815812543034554,
-0.022092748433351517,
-0.05718524381518364,
0.004810930695384741,
-0.02956504374742508,
0.0028596888296306133,
-0.02077912539243698,
-0.03934044390916824,
0.06622706353664398,
0.003480247687548399,
0.0003145444206893444,
0.03214111179113388,
0.033232953399419785,
0.0050966860726475716,
-0.005420826841145754,
-0.0017347924876958132,
0.06704594939947128,
-0.017998339608311653,
-0.010662523098289967,
0.002420392818748951,
-0.02997448481619358,
-0.009186830371618271,
-0.05472859740257263,
-0.03746384009718895,
-0.024447033181786537,
-0.023935232311487198,
-0.030554527416825294,
-0.031612247228622437,
-0.0071524204686284065,
0.0007820960599929094
]
|
41,707 | comm.base_comm | BaseComm | Class for communicating between a Frontend and a Kernel
Must be subclassed with a publish_msg method implementation which
sends comm messages through the iopub channel.
| class BaseComm:
"""Class for communicating between a Frontend and a Kernel
Must be subclassed with a publish_msg method implementation which
sends comm messages through the iopub channel.
"""
def __init__(
self,
target_name: str = "comm",
data: MaybeDict = None,
metadata: MaybeDict = None,
buffers: BuffersType = None,
comm_id: str | None = None,
primary: bool = True,
target_module: str | None = None,
topic: bytes | None = None,
_open_data: MaybeDict = None,
_close_data: MaybeDict = None,
**kwargs: t.Any,
) -> None:
super().__init__(**kwargs)
self.comm_id = comm_id if comm_id else uuid.uuid4().hex
self.primary = primary
self.target_name = target_name
self.target_module = target_module
self.topic = topic if topic else ("comm-%s" % self.comm_id).encode("ascii")
self._open_data = _open_data if _open_data else {}
self._close_data = _close_data if _close_data else {}
self._msg_callback: CommCallback | None = None
self._close_callback: CommCallback | None = None
self._closed = True
if self.primary:
# I am primary, open my peer.
self.open(data=data, metadata=metadata, buffers=buffers)
else:
self._closed = False
def publish_msg(
self,
msg_type: str, # noqa: ARG002
data: MaybeDict = None, # noqa: ARG002
metadata: MaybeDict = None, # noqa: ARG002
buffers: BuffersType = None, # noqa: ARG002
**keys: t.Any, # noqa: ARG002
) -> None:
msg = "publish_msg Comm method is not implemented"
raise NotImplementedError(msg)
def __del__(self) -> None:
"""trigger close on gc"""
with contextlib.suppress(Exception):
# any number of things can have gone horribly wrong
# when called during interpreter teardown
self.close(deleting=True)
# publishing messages
def open(
self, data: MaybeDict = None, metadata: MaybeDict = None, buffers: BuffersType = None
) -> None:
"""Open the frontend-side version of this comm"""
if data is None:
data = self._open_data
comm_manager = comm.get_comm_manager()
if comm_manager is None:
msg = "Comms cannot be opened without a comm_manager." # type:ignore[unreachable]
raise RuntimeError(msg)
comm_manager.register_comm(self)
try:
self.publish_msg(
"comm_open",
data=data,
metadata=metadata,
buffers=buffers,
target_name=self.target_name,
target_module=self.target_module,
)
self._closed = False
except Exception:
comm_manager.unregister_comm(self)
raise
def close(
self,
data: MaybeDict = None,
metadata: MaybeDict = None,
buffers: BuffersType = None,
deleting: bool = False,
) -> None:
"""Close the frontend-side version of this comm"""
if self._closed:
# only close once
return
self._closed = True
if data is None:
data = self._close_data
self.publish_msg(
"comm_close",
data=data,
metadata=metadata,
buffers=buffers,
)
if not deleting:
# If deleting, the comm can't be registered
comm.get_comm_manager().unregister_comm(self)
def send(
self, data: MaybeDict = None, metadata: MaybeDict = None, buffers: BuffersType = None
) -> None:
"""Send a message to the frontend-side version of this comm"""
self.publish_msg(
"comm_msg",
data=data,
metadata=metadata,
buffers=buffers,
)
# registering callbacks
def on_close(self, callback: CommCallback | None) -> None:
"""Register a callback for comm_close
Will be called with the `data` of the close message.
Call `on_close(None)` to disable an existing callback.
"""
self._close_callback = callback
def on_msg(self, callback: CommCallback | None) -> None:
"""Register a callback for comm_msg
Will be called with the `data` of any comm_msg messages.
Call `on_msg(None)` to disable an existing callback.
"""
self._msg_callback = callback
# handling of incoming messages
def handle_close(self, msg: MessageType) -> None:
"""Handle a comm_close message"""
logger.debug("handle_close[%s](%s)", self.comm_id, msg)
if self._close_callback:
self._close_callback(msg)
def handle_msg(self, msg: MessageType) -> None:
"""Handle a comm_msg message"""
logger.debug("handle_msg[%s](%s)", self.comm_id, msg)
if self._msg_callback:
from IPython import get_ipython
shell = get_ipython()
if shell:
shell.events.trigger("pre_execute")
self._msg_callback(msg)
if shell:
shell.events.trigger("post_execute")
| (target_name: 'str' = 'comm', data: 'MaybeDict' = None, metadata: 'MaybeDict' = None, buffers: 'BuffersType' = None, comm_id: 'str | None' = None, primary: 'bool' = True, target_module: 'str | None' = None, topic: 'bytes | None' = None, _open_data: 'MaybeDict' = None, _close_data: 'MaybeDict' = None, **kwargs: 't.Any') -> 'None' | [
0.009094543755054474,
-0.0620947889983654,
-0.07877055555582047,
0.013326947577297688,
0.010280787944793701,
0.001927037606947124,
-0.007112586870789528,
0.04514564573764801,
-0.017632577568292618,
-0.07939541339874268,
0.025247976183891296,
-0.035831425338983536,
-0.007942469790577888,
0.012868070974946022,
-0.08240251988172531,
0.020092936232686043,
0.038330838084220886,
-0.024525489658117294,
0.007688623387366533,
-0.0629149079322815,
-0.00660489359870553,
-0.0034781869035214186,
-0.000947043183259666,
-0.04944150894880295,
-0.02179175615310669,
0.03643675148487091,
-0.019800037145614624,
0.0031633193138986826,
0.02065921016037464,
-0.01826719380915165,
-0.02809886820614338,
-0.04998825863003731,
0.008269541896879673,
0.0026263361796736717,
0.01186244748532772,
0.04889476299285889,
0.03251189365983009,
0.03913143277168274,
-0.039639126509428024,
-0.01242872141301632,
0.016431687399744987,
-0.03606574609875679,
0.060298334807157516,
-0.020991163328289986,
0.007039362099021673,
0.05611962825059891,
-0.02188938856124878,
0.09599307179450989,
0.009079898707568645,
0.026732001453638077,
-0.010642031207680702,
-0.061704255640506744,
0.00281672109849751,
0.016363343223929405,
-0.04432552680373192,
0.04620008543133736,
0.052331455051898956,
0.02522844821214676,
-0.041669897735118866,
-0.026204781606793404,
-0.037334978580474854,
0.04623913764953613,
0.02065921016037464,
0.003641722723841667,
0.001802555052563548,
-0.021284062415361404,
0.03641722723841667,
-0.012087004259228706,
0.008469689637422562,
0.04573144391179085,
0.007464067079126835,
-0.015084346756339073,
-0.02251424267888069,
0.011784341186285019,
0.06459420174360275,
0.030383488163352013,
0.039072852581739426,
0.010661558248102665,
0.012350614182651043,
0.009006673470139503,
0.04975393787026405,
0.020991163328289986,
-0.006639065220952034,
0.025755668058991432,
0.04413025826215744,
0.009172650054097176,
0.04291960597038269,
0.06314922869205475,
-0.015367483720183372,
-0.021030215546488762,
-0.03159414231777191,
-0.006517023779451847,
0.01182339433580637,
0.018042637035250664,
0.03932669758796692,
-0.04022492468357086,
-0.03813557326793671,
0.00853315182030201,
0.006311994045972824,
0.0012802168494090438,
-0.031672246754169464,
0.06635159999132156,
-0.047606006264686584,
-0.053815484046936035,
-0.022455662488937378,
-0.04666872322559357,
-0.03436692804098129,
0.05240956321358681,
-0.030090587213635445,
-0.010397948324680328,
-0.08333979547023773,
0.013014520518481731,
-0.03430834785103798,
-0.01898968033492565,
0.0001731465890770778,
0.026380522176623344,
-0.04202137887477875,
0.015982573851943016,
0.007961996830999851,
-0.02038583531975746,
-0.0677575170993805,
0.025169868022203445,
-0.02075684256851673,
-0.07716937363147736,
0.008967620320618153,
0.04858233779668808,
0.025326082482933998,
0.015308903530240059,
0.031750354915857315,
-0.04748884588479996,
-0.030832601711153984,
-0.01788642257452011,
0.026126675307750702,
0.024896495044231415,
-0.0018708984134718776,
0.032316628843545914,
-0.056236788630485535,
-0.021186430007219315,
-0.03317579999566078,
-0.014596180990338326,
0.02901662141084671,
-0.0005925121949985623,
-0.024408329278230667,
0.03327343240380287,
-0.02161601558327675,
0.02753259427845478,
0.0024359512608498335,
-0.063383549451828,
-0.019721928983926773,
-0.009431377984583378,
-0.02159648947417736,
-0.010681084357202053,
-0.03069591335952282,
0.00607279222458601,
0.01816955953836441,
0.04826991260051727,
-0.04108409956097603,
0.0004710807406809181,
-0.02809886820614338,
0.018413642421364784,
-0.03079354763031006,
-0.04573144391179085,
0.04432552680373192,
0.016656244173645973,
0.005648087244480848,
0.008376938290894032,
-0.012311561033129692,
-0.08498004078865051,
-0.006663473788648844,
0.08474572002887726,
-0.015836123377084732,
0.012135821394622326,
-0.0048108818009495735,
-0.03163319453597069,
-0.01975121907889843,
0.03801841288805008,
-0.015592040494084358,
-0.03532373160123825,
-0.024896495044231415,
-0.04182611033320427,
-0.004652227275073528,
-0.022221341729164124,
-0.06525810807943344,
0.028587033972144127,
-0.017857132479548454,
0.07455279678106308,
0.05264388397336006,
-0.04006871208548546,
0.0730687752366066,
-0.03255094587802887,
-0.08029364049434662,
0.001275335205718875,
0.030090587213635445,
0.03692492097616196,
0.016363343223929405,
0.04042019322514534,
0.02300240844488144,
0.0409669391810894,
-0.009631526656448841,
0.01432280708104372,
-0.003534326096996665,
0.03087165392935276,
0.052526723593473434,
0.001254588132724166,
-0.028255080804228783,
-0.01966334879398346,
0.01706630364060402,
-0.0023493017069995403,
-0.004308070056140423,
-0.03747166693210602,
-0.0043715317733585835,
-0.0028191618621349335,
-0.00959247350692749,
0.05850188061594963,
0.07619304209947586,
-0.02559945546090603,
0.001208822475746274,
-0.0007365213241428137,
0.006067910697311163,
0.021205956116318703,
0.06303206831216812,
0.02132311649620533,
-0.023978741839528084,
-0.0025189395528286695,
-0.039834391325712204,
0.004146974999457598,
0.028489401564002037,
-0.008352530188858509,
0.07556818425655365,
0.009875609539449215,
0.012877834029495716,
0.0204834695905447,
-0.025326082482933998,
0.04256812483072281,
0.03159414231777191,
-0.030344434082508087,
-0.03465982526540756,
0.0003139521286357194,
-0.06166520342230797,
0.02901662141084671,
0.006624420639127493,
-0.005115985870361328,
0.0348355658352375,
0.03079354763031006,
0.017945002764463425,
-0.024310695007443428,
0.04744978994131088,
0.030813073739409447,
-0.024798862636089325,
0.021127849817276,
-0.014908607117831707,
-0.08669838309288025,
-0.014850026927888393,
-0.07107705622911453,
-0.03465982526540756,
-0.060220230370759964,
-0.03909238055348396,
0.01898968033492565,
0.0029851386789232492,
0.0001862660574261099,
-0.027181115001440048,
0.041396524757146835,
-0.08755755424499512,
0.09825816750526428,
0.0843551829457283,
-0.023959215730428696,
0.0013058455660939217,
-0.019800037145614624,
-0.004730334039777517,
0.02577519603073597,
0.08263684064149857,
0.020053882151842117,
-0.023295309394598007,
0.009392324835062027,
-0.0433882437646389,
-0.029407154768705368,
-0.010671321302652359,
-0.024213062599301338,
-0.009406969882547855,
-0.024447381496429443,
0.02065921016037464,
-0.013375763781368732,
-0.017915712669491768,
-0.01808168925344944,
0.007078415248543024,
-0.01751541718840599,
-0.004112803377211094,
-0.07408416271209717,
-0.008728418499231339,
-0.03858468681573868,
-0.01957548037171364,
0.021088795736432076,
-0.007678860332816839,
0.044911324977874756,
0.03214088827371597,
0.04846517741680145,
-0.06182141602039337,
0.07506049424409866,
0.019966013729572296,
-0.06560958921909332,
0.025287028402090073,
0.02151838317513466,
-0.026165727525949478,
-0.0058677620254457,
-0.017212754115462303,
-0.03391781449317932,
0.023529628291726112,
-0.0020161280408501625,
-0.06642970442771912,
0.008865104988217354,
0.03829178586602211,
-0.010837297886610031,
-0.00008947178139351308,
0.022650929167866707,
0.04151368513703346,
0.04690304398536682,
0.08826051652431488,
-0.01918494701385498,
0.025931408628821373,
0.06674213707447052,
-0.016431687399744987,
-0.003858956741169095,
0.006731817033141851,
0.056236788630485535,
0.009304454550147057,
-0.01686127297580242,
0.0039028918836265802,
0.002919236198067665,
0.025892354547977448,
0.016705060377717018,
-0.03819415345788002,
0.02735685557126999,
-0.0069710188545286655,
-0.05377642810344696,
0.02557992935180664,
-0.020522523671388626,
-0.0002311163698323071,
-0.03836989402770996,
0.03243378549814224,
-0.04702020436525345,
0.00009549758397042751,
0.015318667516112328,
-0.03087165392935276,
0.016831982880830765,
-0.03387875854969025,
-0.029836740344762802,
0.02569708786904812,
0.018042637035250664,
0.023392941802740097,
-0.0326681062579155,
0.01871630735695362,
0.01798405684530735,
-0.016578136011958122,
0.030442068353295326,
0.01715417392551899,
-0.03022727370262146,
-0.007054007146507502,
-0.041201259940862656,
0.008845577947795391,
-0.037120185792446136,
0.0482308566570282,
0.012350614182651043,
0.025443241000175476,
0.030090587213635445,
-0.11083333939313889,
-0.009948834776878357,
-0.010720138438045979,
-0.01534795667976141,
0.07353740930557251,
0.008333003148436546,
-0.007571463473141193,
-0.04479416459798813,
0.002911913674324751,
0.0346793532371521,
-0.06482852250337601,
0.01317073404788971,
-0.015465117059648037,
0.014889081008732319,
-0.029075201600790024,
-0.006995426956564188,
0.04971488565206528,
-0.047606006264686584,
0.009455787017941475,
-0.016177840530872345,
-0.014195883646607399,
-0.015299140475690365,
0.03659296780824661,
0.024701228365302086,
-0.013932273723185062,
0.0015084347687661648,
0.017632577568292618,
0.0075324103236198425,
-0.040810726583004,
0.05514329671859741,
-0.04014682024717331,
0.012174874544143677,
0.05639300122857094,
0.03311721980571747,
-0.0366906002163887,
-0.07908298820257187,
0.021166902035474777,
-0.014889081008732319,
0.04541901871562004,
0.021947968751192093,
0.04498943313956261,
0.013375763781368732,
0.0820900946855545,
0.04573144391179085,
0.01778879016637802,
0.07584156095981598,
-0.0164902675896883,
0.033976394683122635,
-0.03551900014281273,
-0.022123709321022034,
-0.01575801707804203,
-0.0210497435182333,
-0.017564233392477036,
0.03836989402770996,
0.039990607649087906,
-0.003939504269510508,
-0.024798862636089325,
-0.001429107622243464,
0.06283680349588394,
0.026029041036963463,
-0.03557758033275604,
0.021362168714404106,
-0.023236729204654694,
0.029075201600790024,
0.0020088055171072483,
-0.0024371715262532234,
-0.008489216677844524,
0.046785883605480194,
-0.01874559558928013,
-0.04600481688976288,
-0.013053574599325657,
0.006468207109719515,
0.023041462525725365,
-0.01334647461771965,
0.01863819919526577,
0.03532373160123825,
0.0066927638836205006,
0.03827225789427757,
0.035831425338983536,
-0.035011306405067444,
0.009509485214948654,
0.030344434082508087,
0.00950460322201252,
0.02188938856124878,
-0.03325390815734863,
0.016275472939014435,
0.03346870094537735,
0.025169868022203445,
0.022123709321022034,
0.016460977494716644,
-0.022221341729164124,
-0.08638595789670944,
0.026400048285722733,
0.006443799007683992,
-0.006751343607902527,
-0.01992695964872837,
0.014771920628845692,
0.02837224118411541,
-0.07947351783514023,
-0.03813557326793671,
-0.030207747593522072,
0.086464062333107,
0.038975220173597336,
-0.05471371114253998,
-0.03145745396614075,
0.03686634078621864,
0.07716937363147736,
0.04350540414452553,
0.034523140639066696,
-0.010808007791638374,
-0.050105419009923935,
-0.01381511427462101,
0.006560958921909332,
-0.03663202002644539,
-0.058540936559438705,
-0.03571426495909691,
0.017661865800619125,
-0.08349601179361343,
0.005189210642129183,
-0.020405363291502,
-0.06107940152287483,
0.0009183633956126869,
0.0819338783621788,
-0.0241154283285141,
0.022592348977923393,
-0.04061545804142952,
-0.05303441733121872,
0.021088795736432076,
0.034816041588783264,
-0.010378421284258366,
0.057525549083948135,
0.024876968935132027,
-0.031945619732141495,
-0.0409669391810894,
0.019223999232053757,
-0.08544867485761642,
-0.015601803548634052,
0.007752085104584694,
-0.036221958696842194,
-0.021069269627332687,
0.03628053888678551,
-0.08021552860736847,
-0.004891429096460342,
0.051589444279670715,
-0.05627584457397461,
0.009533893316984177,
0.00044270604848861694,
-0.007957114838063717,
0.012458010576665401,
-0.06756225228309631,
-0.03255094587802887,
-0.04897287115454674,
0.01938997581601143,
-0.0005424750852398574,
-0.06381313502788544,
-0.05842377617955208,
0.07658357173204422,
0.013239077292382717,
-0.017486127093434334,
0.021947968751192093,
0.002197969937697053,
-0.013034047558903694,
-0.04959772527217865,
-0.016431687399744987,
0.0157677810639143,
-0.0006224123644642532,
-0.015338193625211716,
0.021186430007219315,
0.009109187871217728,
-0.013053574599325657,
0.03448408842086792,
-0.014459493570029736,
-0.0015963047044351697,
-0.00042348451097495854,
-0.05764270946383476,
-0.010397948324680328,
-0.04819180443882942,
0.01534795667976141,
-0.033058639615774155,
-0.043271083384752274,
-0.00918241310864687,
-0.026126675307750702,
0.03608527407050133,
0.01892133615911007,
-0.02011246234178543,
-0.027239695191383362,
-0.04252907261252403,
-0.0017805875977501273,
0.008415991440415382,
0.011208304204046726,
-0.029407154768705368,
0.01790595054626465,
0.0383894182741642,
-0.024271642789244652,
0.032218992710113525,
0.006668355315923691,
-0.019223999232053757,
0.07845813035964966,
-0.03659296780824661,
-0.025091761723160744,
0.08084038645029068,
0.03217994049191475,
0.03542136773467064,
-0.0022541091311722994,
0.013571030460298061,
-0.02474028244614601,
0.0030412778723984957,
0.0071711670607328415,
0.0049378047697246075,
0.011696470901370049,
0.04256812483072281,
-0.009206821210682392,
-0.0027630229014903307,
0.0038199033588171005,
0.011198541149497032,
-0.06393029540777206,
0.030910708010196686,
0.01261422410607338,
-0.01918494701385498,
-0.042060431092977524,
0.018032873049378395,
0.05971253663301468,
-0.031847987323999405,
0.035187046974897385,
0.04627818986773491,
-0.060688868165016174,
0.006473088636994362,
0.01464499719440937,
-0.019497372210025787,
-0.03432787209749222,
0.031398873776197433,
0.05553383007645607,
-0.011022801510989666,
0.04811369627714157,
0.018189087510108948,
-0.002421306213364005,
-0.06912438571453094,
0.027005374431610107,
0.013278130441904068,
-0.05115985870361328,
0.03618290647864342,
-0.0291142538189888,
-0.06502378731966019,
0.023392941802740097,
0.012331088073551655,
0.018794413655996323,
0.024701228365302086,
0.005599270574748516,
-0.014898844063282013,
-0.0027117652352899313,
-0.039834391325712204,
-0.03321485221385956,
-0.032316628843545914,
0.0054137674160301685,
0.07197528332471848,
0.018784649670124054,
0.06803089380264282,
-0.02159648947417736,
-0.014039671048521996,
-0.04163084551692009,
-0.03516751900315285,
0.038623739033937454,
-0.031398873776197433,
-0.07013977319002151,
-0.021537909284234047,
0.007283445447683334,
0.004200673196464777,
0.025345608592033386,
0.06650781631469727,
0.03301958739757538,
0.005115985870361328,
-0.05112080276012421,
0.0054918741807341576,
-0.007620280142873526,
0.005379595793783665,
0.020913055166602135,
0.021713649854063988,
0.0039028918836265802,
0.01229203399270773,
-0.11520731449127197,
-0.01686127297580242,
-0.001088611432351172,
0.035362787544727325,
-0.015718962997198105,
0.05276104435324669,
-0.01723228022456169,
-0.00331465108320117,
0.05803324282169342,
-0.008406228385865688,
-0.017691155895590782,
0.017691155895590782,
0.04748884588479996,
-0.05670543015003204,
-0.013688190840184689,
0.04276339337229729,
0.04979299008846283,
0.0075275287963449955,
-0.0022711949422955513,
0.05440128222107887,
-0.008796761743724346,
0.002728851046413183,
-0.002792312763631344,
0.044091206043958664,
-0.043895937502384186,
0.029719581827521324,
-0.0026531852781772614,
0.013063337653875351,
0.015299140475690365,
0.01780831627547741,
-0.034523140639066696,
-0.01854056678712368,
-0.012926651164889336,
0.057603657245635986,
0.0545184426009655,
-0.0030339553486555815,
0.01574825309216976,
-0.013746771030128002,
0.061235614120960236,
-0.028294134885072708,
-0.0069710188545286655,
0.01024173479527235,
-0.006165544036775827,
0.027044428512454033,
0.01182339433580637,
-0.011637890711426735,
-0.11427003145217896,
0.023959215730428696,
0.04573144391179085,
0.026536734774708748,
-0.05932200327515602,
-0.044364579021930695,
-0.07888771593570709,
-0.038428474217653275,
-0.08685459941625595,
-0.07326404005289078,
-0.011227831244468689,
0.03598764166235924,
-0.01994648575782776,
0.0030217510648071766,
-0.00537471380084753,
0.030910708010196686,
0.05444033816456795,
-0.06459420174360275,
-0.03942433372139931,
0.01882370375096798,
-0.04627818986773491,
0.01437162421643734,
-0.008406228385865688,
0.042060431092977524,
-0.03807699307799339,
0.013678427785634995,
-0.00876747164875269,
0.005364950746297836,
0.04635629802942276,
-0.012838780879974365,
0.02206512913107872,
-0.016734350472688675,
0.03456219285726547,
0.10599073022603989,
-0.004388617351651192,
0.035382311791181564,
-0.028528453782200813,
0.02196749672293663,
-0.024779334664344788,
0.05647110939025879,
0.008821169845759869,
-0.004066427703946829,
0.0003761933767236769,
-0.06521905213594437,
0.03993202745914459,
0.01340505387634039,
-0.08779187500476837,
0.059673480689525604,
-0.04561428353190422,
-0.05662732198834419,
0.02409590221941471,
-0.05315157771110535,
-0.059282947331666946,
-0.01826719380915165,
0.011296174488961697,
0.02708348073065281,
-0.0029973427299410105,
0.005272198934108019,
0.018110979348421097,
0.027376381680369377,
0.021947968751192093,
0.025169868022203445,
-0.014918370172381401,
-0.018618673086166382,
-0.013366000726819038,
0.007766730152070522,
-0.02251424267888069,
-0.03522609919309616,
0.06498473137617111,
-0.03633911907672882,
-0.06334449350833893,
0.005589507054537535,
0.01668553426861763,
0.005799418780952692,
-0.001956327585503459,
0.0495196171104908,
0.012174874544143677,
-0.024994129315018654,
0.054752763360738754
]
|
41,708 | comm.base_comm | __del__ | trigger close on gc | def __del__(self) -> None:
"""trigger close on gc"""
with contextlib.suppress(Exception):
# any number of things can have gone horribly wrong
# when called during interpreter teardown
self.close(deleting=True)
| (self) -> NoneType | [
0.013510151766240597,
-0.04608140140771866,
0.035252783447504044,
0.03819051757454872,
-0.03400595486164093,
-0.017148157581686974,
-0.0007253593648783863,
0.05328909307718277,
0.02375805377960205,
-0.03270788863301277,
-0.004357493482530117,
-0.03668748959898949,
0.03127318248152733,
0.03205885365605354,
-0.05868632346391678,
0.008322150446474552,
-0.06814855337142944,
-0.001993003534153104,
0.009504929184913635,
-0.05267421901226044,
-0.046388838440179825,
0.05175190791487694,
0.0005609659128822386,
-0.09578372538089752,
-0.01476551964879036,
0.04809682071208954,
-0.026251710951328278,
0.02587595395743847,
-0.000008715053809282836,
-0.01882198080420494,
-0.04806266352534294,
-0.02450956590473652,
-0.01596110872924328,
0.04953153058886528,
0.03890787065029144,
-0.031666018068790436,
-0.021998830139636993,
-0.00013543777458835393,
-0.010307681746780872,
0.01585862971842289,
-0.015491412952542305,
-0.018804900348186493,
0.030760787427425385,
-0.01754099316895008,
-0.0019577762577682734,
0.0021125623025000095,
-0.011597209610044956,
-0.008638127706944942,
0.0023527476005256176,
-0.03822467476129532,
0.00900961458683014,
0.022272108122706413,
0.03576517850160599,
0.009462229907512665,
-0.0017869779840111732,
0.053596530109643936,
0.04580812528729439,
0.02413381077349186,
0.03344232216477394,
-0.038634590804576874,
0.017848430201411247,
0.029086962342262268,
-0.006789235398173332,
-0.026183390989899635,
-0.0009879618883132935,
-0.003892068052664399,
-0.035696860402822495,
0.05038551986217499,
0.05540699139237404,
-0.021964671090245247,
-0.013749268837273121,
-0.035150304436683655,
-0.030777867883443832,
0.033664360642433167,
0.005226430483162403,
-0.05062463879585266,
-0.06097501888871193,
-0.04587644338607788,
0.026115071028470993,
-0.034603752195835114,
0.007105212192982435,
0.021161919459700584,
-0.016669921576976776,
0.06070174276828766,
0.07822565734386444,
-0.03311780467629433,
0.022272108122706413,
0.009180412627756596,
-0.009504929184913635,
0.059745270758867264,
0.045090772211551666,
0.04673043638467789,
-0.003001781413331628,
-0.035628542304039,
0.04362190514802933,
-0.009436610154807568,
-0.01696881838142872,
0.028728285804390907,
-0.0034010226372629404,
-0.043929342180490494,
0.0324687696993351,
0.01819002628326416,
0.005388688761740923,
-0.012784258462488651,
0.010444320738315582,
0.0383613146841526,
0.03593597933650017,
-0.05995022878050804,
-0.021605994552373886,
-0.013296653516590595,
-0.08287137001752853,
-0.04526156932115555,
-0.02304070070385933,
0.0031619048677384853,
-0.0009591396083123982,
-0.00863385759294033,
-0.07453641295433044,
0.007920774631202221,
0.011981505900621414,
-0.030145913362503052,
-0.017711792141199112,
0.024150889366865158,
-0.06425435096025467,
-0.012485361658036709,
0.0612141378223896,
0.04515909031033516,
-0.009154792875051498,
0.010171043686568737,
0.004812244325876236,
0.02860872820019722,
0.015431633219122887,
0.03682412952184677,
-0.008091572672128677,
0.0036358702927827835,
0.03819051757454872,
0.006148741580545902,
-0.004872023593634367,
-0.008535648696124554,
-0.019522253423929214,
-0.02942856028676033,
-0.04990728572010994,
0.008864435367286205,
-0.026627466082572937,
0.010580959729850292,
0.022647865116596222,
0.04102576896548271,
-0.03549190238118172,
-0.01562805101275444,
-0.0739898532629013,
-0.04375854507088661,
-0.01476551964879036,
0.012007125653326511,
0.02295530214905739,
0.03178557753562927,
-0.008552728220820427,
0.032844528555870056,
-0.04734531044960022,
0.07979699969291687,
-0.022801583632826805,
-0.031187783926725388,
0.03955690190196037,
0.03181973844766617,
-0.03146106004714966,
-0.021093599498271942,
-0.021161919459700584,
0.001693038851954043,
0.01316855475306511,
-0.017763031646609306,
-0.005439928267151117,
-0.0008139610290527344,
-0.0739898532629013,
-0.006033452693372965,
0.034689150750637054,
0.015969648957252502,
-0.03152938187122345,
0.07289674878120422,
0.004366033244878054,
0.028591647744178772,
-0.05858384445309639,
0.0016044372459873557,
-0.009214572608470917,
-0.09161625057458878,
-0.06849014759063721,
0.012630539946258068,
0.04362190514802933,
-0.01388590782880783,
0.021623075008392334,
-0.020632443949580193,
0.02568807639181614,
-0.007331520318984985,
-0.02432168833911419,
0.0017186586046591401,
0.016798019409179688,
0.024355847388505936,
0.08198322355747223,
-0.03791723772883415,
-0.03333984315395355,
-0.012417041696608067,
-0.014441002160310745,
0.05270837992429733,
-0.048404257744550705,
0.06917334347963333,
0.022630784660577774,
-0.09735507518053055,
0.02978723682463169,
0.022237949073314667,
-0.007596257608383894,
-0.014432462863624096,
-0.05192270502448082,
0.042631275951862335,
0.021264398470520973,
0.018497463315725327,
0.013655330054461956,
0.0456714853644371,
0.08239313960075378,
-0.02394593134522438,
0.009522009640932083,
-0.001087238430045545,
-0.028096333146095276,
0.031136544421315193,
0.004658525809645653,
0.00027434490039013326,
-0.03986433893442154,
0.00877049658447504,
-0.020137127488851547,
-0.00955616869032383,
0.01947101391851902,
0.0237751342356205,
0.05694417655467987,
-0.03228089213371277,
-0.012758638709783554,
0.028864925727248192,
-0.0054655480198562145,
-0.03682412952184677,
0.017711792141199112,
-0.011964426375925541,
-0.021366877481341362,
0.03315196558833122,
-0.06937830150127411,
-0.025739315897226334,
0.004398058168590069,
-0.03144397959113121,
0.005828494671732187,
0.005943783558905125,
0.028318369761109352,
0.06022350862622261,
0.05520203337073326,
0.06346867978572845,
0.06148741394281387,
0.010495560243725777,
0.03819051757454872,
-0.09359750896692276,
0.029923874884843826,
-0.03702908754348755,
-0.015491412952542305,
-0.07043725252151489,
0.013100235722959042,
-0.051137033849954605,
0.014432462863624096,
0.011127513833343983,
0.03006051480770111,
0.06808023154735565,
0.012621999718248844,
0.07911380380392075,
0.024458326399326324,
-0.0054057687520980835,
0.05919871851801872,
-0.07808901369571686,
0.009897765703499317,
-0.010751757770776749,
0.04888249561190605,
-0.02997511439025402,
0.004282769281417131,
-0.02888200432062149,
-0.05875464156270027,
0.05923287570476532,
-0.035867657512426376,
0.03480871021747589,
-0.08765372633934021,
0.02222086861729622,
0.09557876735925674,
0.03238337114453316,
0.05438220128417015,
0.012007125653326511,
-0.04471501335501671,
0.026200471445918083,
-0.028916165232658386,
-0.020000489428639412,
0.015926947817206383,
-0.020325006917119026,
-0.033596038818359375,
-0.021776793524622917,
0.03709740564227104,
0.06876342743635178,
0.09851650148630142,
-0.0017859104555100203,
-0.016934659332036972,
-0.0009762194822542369,
0.0017346709500998259,
0.024424167349934578,
0.026097992435097694,
-0.011503270827233791,
-0.012690319679677486,
0.06876342743635178,
0.019693052396178246,
0.0031917947344481945,
0.042357996106147766,
-0.016379565000534058,
-0.018070468679070473,
0.040889132767915726,
0.010982335545122623,
0.02121315896511078,
-0.0065543875098228455,
0.020991120487451553,
0.06251220405101776,
-0.026969064027071,
-0.007147911936044693,
-0.04621804133057594,
-0.025448957458138466,
0.02959935925900936,
-0.02495364286005497,
-0.05537283420562744,
0.05967695266008377,
-0.013108775019645691,
-0.0021424521692097187,
-0.007002733182162046,
0.01984677091240883,
0.04918993264436722,
0.0055338675156235695,
-0.010546799749135971,
-0.011879026889801025,
-0.02695198357105255,
0.005905353929847479,
-0.04789186269044876,
-0.01036746148020029,
-0.01772887073457241,
0.025551436468958855,
-0.023894691839814186,
-0.00813000276684761,
-0.06012102961540222,
-0.01653328351676464,
0.03948858380317688,
-0.0074895089492201805,
-0.015534112229943275,
-0.076790951192379,
0.003433047328144312,
0.00037949264515191317,
-0.028181731700897217,
0.03600429743528366,
-0.024987801909446716,
0.05267421901226044,
0.023057781159877777,
-0.043553587049245834,
0.013868828304111958,
0.03713156655430794,
-0.0347403883934021,
0.019078178331255913,
0.052230142056941986,
-0.008864435367286205,
-0.03781475871801376,
0.04591060429811478,
0.0041504004038870335,
-0.010905476287007332,
-0.003977467305958271,
0.027857214212417603,
-0.03942026570439339,
0.015209595672786236,
-0.024099649861454964,
-0.03784891963005066,
0.001693038851954043,
-0.02495364286005497,
-0.06842182576656342,
0.043451108038425446,
0.024543726816773415,
0.008787576109170914,
0.010700518265366554,
0.015013176947832108,
0.04772106558084488,
0.03393763676285744,
0.07849892973899841,
0.014970477670431137,
0.027549777179956436,
0.016464963555336,
-0.04369022324681282,
-0.017523912712931633,
-0.06452762335538864,
-0.019317295402288437,
0.018770741298794746,
0.005316099617630243,
0.03812219575047493,
0.026524987071752548,
-0.05417724326252937,
0.010683438740670681,
0.014961937442421913,
-0.009214572608470917,
0.031478140503168106,
-0.025466037914156914,
-0.002769068581983447,
-0.009641568176448345,
0.025448957458138466,
0.035628542304039,
0.03819051757454872,
-0.04929241165518761,
-0.02678118459880352,
0.01339059229940176,
-0.007711546495556831,
0.02266494370996952,
-0.01623438484966755,
0.071257084608078,
0.011537429876625538,
-0.04625219851732254,
-0.03576517850160599,
0.008390470407903194,
-0.04006929695606232,
0.03911282867193222,
-0.04608140140771866,
0.044646695256233215,
0.007758516352623701,
0.09188952296972275,
0.03699492663145065,
0.013920067809522152,
0.018599942326545715,
0.00006031317752785981,
-0.0013012700947001576,
-0.05270837992429733,
-0.056363463401794434,
-0.05421140417456627,
0.024834083393216133,
0.021691393107175827,
-0.03511614724993706,
-0.049668166786432266,
-0.01846330426633358,
0.03911282867193222,
0.012135224416851997,
-0.04133320599794388,
0.008437439799308777,
-0.04406598210334778,
0.013774888589978218,
0.028113411739468575,
0.05434804409742355,
-0.012160844169557095,
0.0036657601594924927,
0.027908453717827797,
0.01682364009320736,
0.010546799749135971,
-0.042562954127788544,
0.06565489619970322,
0.03726820647716522,
-0.04006929695606232,
0.01051263976842165,
0.0013930742861703038,
-0.0053374492563307285,
-0.0018755797063931823,
-0.018309585750102997,
0.013117315247654915,
-0.003883528057485819,
0.016755320131778717,
0.009351210668683052,
-0.02915528230369091,
0.03407427668571472,
-0.0061060418374836445,
0.080480195581913,
0.020239608362317085,
-0.07802069932222366,
-0.05632930248975754,
0.01630270481109619,
0.02539771795272827,
0.022733263671398163,
0.003501366591081023,
-0.0004013761936221272,
-0.0010925758397206664,
0.02495364286005497,
-0.03159769997000694,
-0.00738275982439518,
-0.04915577173233032,
0.011392251588404179,
-0.03180265799164772,
0.034057196229696274,
0.034415870904922485,
-0.041913922876119614,
0.009931925684213638,
-0.04925825074315071,
0.016012348234653473,
-0.02020544745028019,
-0.054621320217847824,
0.042733754962682724,
0.09387078881263733,
-0.0841011181473732,
0.015781769528985023,
0.01856578327715397,
-0.0333910807967186,
0.013501611538231373,
-0.04184560105204582,
-0.05977943167090416,
0.06715792417526245,
-0.002640969818457961,
-0.06476674228906631,
-0.023536015301942825,
0.014236044138669968,
-0.10398205369710922,
0.022699104622006416,
0.017882589250802994,
-0.053254932165145874,
-0.030555829405784607,
0.08259809762239456,
-0.059642791748046875,
0.039078667759895325,
0.027447298169136047,
-0.053801488131284714,
-0.023091940209269524,
-0.043929342180490494,
-0.03052167035639286,
0.020512884482741356,
-0.0013204849092289805,
0.047208670526742935,
-0.001371724414639175,
-0.03877123072743416,
-0.02486824430525303,
0.017882589250802994,
0.023245658725500107,
0.029274841770529747,
0.037780601531267166,
0.004820784088224173,
-0.037439003586769104,
-0.0025278159882873297,
-0.0648350641131401,
0.014329983852803707,
0.03795139864087105,
0.03774644061923027,
0.06179485097527504,
0.0648350641131401,
-0.02119607850909233,
-0.02485116384923458,
-0.03993266075849533,
0.0057815248146653175,
-0.001244693179614842,
-0.028369609266519547,
-0.07603943347930908,
0.029274841770529747,
-0.005354529246687889,
-0.007660306990146637,
0.02020544745028019,
0.0631270781159401,
0.0015137005830183625,
-0.025653915479779243,
0.017660552635788918,
0.02795969322323799,
-0.012545140460133553,
0.008898595348000526,
0.02614923194050789,
0.030111754313111305,
-0.017020057886838913,
0.03767812252044678,
0.006737995892763138,
-0.008450249210000038,
-0.009820906445384026,
0.06804607063531876,
-0.013868828304111958,
0.019419774413108826,
-0.02039332687854767,
-0.005841304548084736,
0.04837010055780411,
0.020085887983441353,
-0.04515909031033516,
0.027840135619044304,
0.01448370236903429,
0.029496880248188972,
0.01302337646484375,
0.018343744799494743,
-0.041708964854478836,
-0.0011112568899989128,
-0.080480195581913,
0.06753367930650711,
-0.03993266075849533,
-0.02449248731136322,
0.04406598210334778,
-0.041264887899160385,
0.025004882365465164,
0.016328325495123863,
-0.05421140417456627,
-0.027840135619044304,
0.010102723725140095,
-0.06842182576656342,
-0.053596530109643936,
-0.025978432968258858,
0.014150645583868027,
0.02039332687854767,
0.007369949948042631,
-0.02375805377960205,
0.020512884482741356,
0.023894691839814186,
0.0053417193703353405,
-0.009530548937618732,
-0.08464767783880234,
0.013621170073747635,
0.031956374645233154,
-0.015602431260049343,
0.021964671090245247,
-0.010538259521126747,
0.028369609266519547,
-0.00511541124433279,
0.02167431451380253,
0.010111263953149319,
0.020512884482741356,
-0.04461253434419632,
0.06117997691035271,
0.01284403819590807,
0.045944761484861374,
-0.0365508534014225,
0.022545386105775833,
-0.0630587637424469,
-0.01133247185498476,
0.031666018068790436,
-0.024834083393216133,
-0.037234045565128326,
0.009752587415277958,
-0.030760787427425385,
0.008497219532728195,
-0.017592232674360275,
0.04789186269044876,
-0.023928852751851082,
-0.029923874884843826,
-0.003140555229038,
-0.02915528230369091,
-0.0009858268313109875,
0.03152938187122345,
-0.02468036487698555,
0.036414213478565216,
-0.09557876735925674,
0.009299971163272858,
-0.06333203613758087,
-0.018770741298794746,
0.053801488131284714,
0.0021317771170288324,
0.017361653968691826,
0.025431878864765167,
0.007118022069334984,
0.03959106281399727,
0.030043434351682663,
-0.01334789302200079,
0.02688366360962391,
-0.04280207306146622,
-0.0022182438988238573,
0.003388212760910392,
-0.08273473381996155,
-0.04679875448346138,
0.0052733998745679855,
-0.03986433893442154,
0.06012102961540222,
-0.05803728848695755,
0.014236044138669968,
0.05185438692569733,
-0.004688415210694075,
-0.07098380476236343,
-0.01726771518588066,
-0.015551191754639149,
0.011528890579938889,
-0.0008225009078159928,
-0.003642275230959058,
0.04826762154698372,
-0.016208766028285027,
-0.0033113535027951,
-0.03583350032567978,
0.032844528555870056,
0.04379270225763321,
-0.002555570797994733,
-0.00785672478377819,
0.02869412675499916,
0.0038408285472542048,
0.007314440328627825,
-0.013723649084568024,
-0.0003053020918741822,
-0.04734531044960022,
-0.00785672478377819,
-0.04515909031033516,
0.007515128701925278,
0.006007832940667868,
0.0004419407923705876,
-0.040445055812597275,
0.030965745449066162,
-0.042562954127788544,
0.06531330198049545,
-0.016789481043815613,
-0.04269959405064583,
0.02396301180124283,
0.056636739522218704,
-0.03972770273685455,
0.040000978857278824,
0.006323809735476971,
-0.09216280281543732,
-0.04092328995466232,
0.04157232493162155,
0.03709740564227104,
-0.03573102131485939,
-0.10487020015716553,
0.008480139076709747,
-0.016926119104027748,
-0.09715011715888977,
-0.0027199641335755587,
-0.0475161075592041,
0.010598039254546165,
-0.027481459081172943,
0.03682412952184677,
-0.020410405471920967,
0.038429632782936096,
0.019163576886057854,
0.024817004799842834,
-0.010717597790062428,
-0.018121708184480667,
0.024919483810663223,
0.02770349569618702,
0.03199053555727005,
0.0002255072322441265,
0.030555829405784607,
0.029206521809101105,
-0.002901437459513545,
-0.06644056737422943,
-0.04351942613720894,
0.015030257403850555,
-0.00973550695925951,
0.024987801909446716,
0.05810560658574104,
0.008027523756027222,
-0.018429145216941833,
-0.020051728934049606,
0.0007712614024057984,
-0.019351456314325333,
0.021042359992861748,
0.016601601615548134,
0.008416090160608292,
-0.03668748959898949,
-0.06374195218086243,
-0.018343744799494743,
0.057627372443675995,
-0.05171774700284004,
-0.02722526155412197,
0.010683438740670681,
0.03508198633790016,
0.046013083308935165,
-0.0010317289270460606,
-0.05591938644647598,
-0.01046994049102068,
-0.01558535173535347,
0.008373389951884747,
0.06329787522554398,
-0.005952323321253061,
-0.013117315247654915,
0.08656061440706253,
0.01604650728404522,
-0.0005188000504858792,
0.013979846611618996,
0.013194174505770206,
0.036072615534067154,
0.07091548293828964,
0.006067612208425999,
-0.01699443906545639,
-0.027020303532481194,
-0.017967989668250084,
-0.04092328995466232,
-0.00798055436462164,
-0.0530158169567585,
-0.014953398145735264,
-0.0017763030482456088,
0.011118974536657333,
0.02157183550298214,
-0.012963596731424332,
0.04898497462272644,
0.03795139864087105
]
|
41,709 | comm.base_comm | __init__ | null | def __init__(
self,
target_name: str = "comm",
data: MaybeDict = None,
metadata: MaybeDict = None,
buffers: BuffersType = None,
comm_id: str | None = None,
primary: bool = True,
target_module: str | None = None,
topic: bytes | None = None,
_open_data: MaybeDict = None,
_close_data: MaybeDict = None,
**kwargs: t.Any,
) -> None:
super().__init__(**kwargs)
self.comm_id = comm_id if comm_id else uuid.uuid4().hex
self.primary = primary
self.target_name = target_name
self.target_module = target_module
self.topic = topic if topic else ("comm-%s" % self.comm_id).encode("ascii")
self._open_data = _open_data if _open_data else {}
self._close_data = _close_data if _close_data else {}
self._msg_callback: CommCallback | None = None
self._close_callback: CommCallback | None = None
self._closed = True
if self.primary:
# I am primary, open my peer.
self.open(data=data, metadata=metadata, buffers=buffers)
else:
self._closed = False
| (self, target_name: str = 'comm', data: Optional[Dict[str, Any]] = None, metadata: Optional[Dict[str, Any]] = None, buffers: Optional[List[bytes]] = None, comm_id: Optional[str] = None, primary: bool = True, target_module: Optional[str] = None, topic: Optional[bytes] = None, _open_data: Optional[Dict[str, Any]] = None, _close_data: Optional[Dict[str, Any]] = None, **kwargs: Any) -> NoneType | [
0.011413905769586563,
-0.03802783787250519,
-0.045285340398550034,
0.0029321610927581787,
-0.006623397581279278,
-0.020439499989151955,
0.016662636771798134,
0.05980034917593002,
-0.03645414486527443,
-0.04224903881549835,
0.0051931883208453655,
0.004503540229052305,
0.004394770134240389,
0.012608061544597149,
-0.04276743158698082,
0.02838202379643917,
-0.001969431061297655,
-0.0012138267047703266,
-0.009738384746015072,
-0.009923525154590607,
0.03599129244685173,
0.05846733972430229,
-0.026715759187936783,
0.014505750499665737,
-0.01511671394109726,
0.07627784460783005,
-0.06587295234203339,
0.01011792290955782,
0.00903022289276123,
-0.013765188865363598,
-0.0021765567362308502,
-0.029344754293560982,
0.023568373173475266,
0.09138530492782593,
0.008650684729218483,
0.06909439712762833,
0.0016026216326281428,
0.021365202963352203,
-0.06827978044748306,
-0.038990568369627,
0.021550342440605164,
-0.0362134613096714,
0.016894061118364334,
0.016199784353375435,
0.02862270548939705,
0.057356495410203934,
0.011774929240345955,
0.04865489527583122,
-0.03252916783094406,
0.019273115321993828,
-0.011228765361011028,
0.023198092356324196,
-0.004924734588712454,
0.005211702082306147,
-0.06453994661569595,
0.06017063185572624,
0.04010140895843506,
0.04161956161260605,
-0.0631328746676445,
0.0016003072960302234,
-0.041952814906835556,
0.045507509261369705,
0.0405457466840744,
-0.009284790605306625,
-0.027567405253648758,
-0.020939379930496216,
-0.0010986925335600972,
-0.03101101703941822,
0.0204209852963686,
0.069316565990448,
0.08049904555082321,
0.017347656190395355,
-0.03041856735944748,
0.020902350544929504,
0.07842547446489334,
0.052839070558547974,
0.01007163804024458,
0.019199060276150703,
-0.024401504546403885,
-0.0042512863874435425,
0.013820731081068516,
0.018365927040576935,
-0.04073088616132736,
0.01631086878478527,
0.015690648928284645,
-0.0064984280616045,
0.049839794635772705,
0.03156643733382225,
-0.013774446211755276,
-0.010858484543859959,
-0.029640978202223778,
0.021735483780503273,
-0.03451016917824745,
0.01631086878478527,
0.07998065650463104,
-0.04621104523539543,
-0.006040205713361502,
0.04635915532708168,
0.012182238511741161,
0.025327207520604134,
-0.06257745623588562,
0.027826601639389992,
-0.04843273013830185,
-0.014709404669702053,
-0.002976131858304143,
-0.06802058219909668,
-0.01589430309832096,
0.042471207678318024,
-0.020772753283381462,
-0.00006848748307675123,
-0.08360940217971802,
-0.002399882534518838,
-0.028493108227849007,
0.056430794298648834,
-0.027678489685058594,
-0.006692825350910425,
0.02253158576786518,
-0.003818520810455084,
-0.01769942231476307,
-0.02843756601214409,
-0.02110600471496582,
0.02401270903646946,
-0.019606368616223335,
-0.06416966021060944,
-0.01742171123623848,
0.02880784682929516,
0.018458498641848564,
-0.038138922303915024,
0.03215888887643814,
-0.06946467608213425,
0.01705143041908741,
0.0193471722304821,
-0.0014417808270081878,
0.026012226939201355,
-0.013098683208227158,
-0.0003650737344287336,
0.010312320664525032,
0.014487236738204956,
-0.031140616163611412,
-0.006678939796984196,
0.036528199911117554,
-0.017532795667648315,
-0.000753868545871228,
0.00022115599131211638,
-0.027252666652202606,
0.011450933292508125,
-0.025290178135037422,
-0.07605567574501038,
-0.011617559939622879,
0.029529893770813942,
0.001227712258696556,
-0.057541634887456894,
-0.004542882554233074,
0.02160588465631008,
0.0074056158773601055,
0.008372974582016468,
-0.03488045185804367,
-0.03538032993674278,
0.010080894455313683,
0.025956684723496437,
-0.010025352239608765,
-0.025734515860676765,
0.02778957411646843,
0.007368587888777256,
-0.022179819643497467,
-0.030585194006562233,
-0.027178611606359482,
-0.11323186755180359,
0.012071154080331326,
0.040619805455207825,
-0.00305944518186152,
0.010330834425985813,
-0.0016489067347720265,
-0.015542536973953247,
-0.009858726523816586,
-0.018819522112607956,
0.017412453889846802,
-0.056319709867239,
-0.01004386693239212,
-0.05672701820731163,
-0.005012676119804382,
0.04128630831837654,
-0.016745949164032936,
0.029622463509440422,
0.0246051587164402,
0.06753921508789062,
0.03428800031542778,
0.003779178485274315,
0.050210077315568924,
-0.010821456089615822,
-0.027715517207980156,
-0.00905336532741785,
0.007748125586658716,
0.042471207678318024,
0.020883837714791298,
0.004526682663708925,
0.05768974870443344,
0.019735965877771378,
-0.03445462882518768,
0.02327214740216732,
0.02547531947493553,
-0.01191378477960825,
0.02884487435221672,
0.03388069197535515,
-0.021031949669122696,
-0.003927290905267,
0.018227072432637215,
0.03460273891687393,
0.006077233701944351,
-0.0442485548555851,
0.00933107640594244,
-0.03460273891687393,
0.024642188102006912,
0.04728485643863678,
0.054542362689971924,
-0.04709971696138382,
-0.03212185949087143,
-0.013376394286751747,
0.018680665642023087,
0.01760685257613659,
0.06939062476158142,
0.042693376541137695,
0.004061517305672169,
0.03341784328222275,
-0.022327931597828865,
0.025401262566447258,
0.009599530138075352,
-0.030492624267935753,
0.012015611864626408,
0.04821056127548218,
-0.007479672320187092,
-0.03239956870675087,
-0.047581084072589874,
0.029233669862151146,
0.007461158093065023,
-0.01700514554977417,
-0.027252666652202606,
0.0031080443877726793,
-0.10375268012285233,
-0.024531103670597076,
0.0492103174328804,
0.012117438949644566,
0.05635673925280571,
0.0020134018268436193,
0.01658857986330986,
-0.06361424177885056,
0.01654229499399662,
-0.004452626686543226,
0.02556788921356201,
0.00898393802344799,
0.006572484038770199,
-0.02810431271791458,
-0.014783460646867752,
-0.03717619180679321,
-0.01861586794257164,
-0.08694193512201309,
0.0030779591761529446,
-0.041545506566762924,
0.0005493462667800486,
-0.0010628215968608856,
-0.05243176221847534,
0.01581099070608616,
-0.03589872270822525,
0.09790224581956863,
0.04769216850399971,
-0.023142550140619278,
-0.016607094556093216,
-0.04276743158698082,
-0.03243659809231758,
0.000759075628593564,
0.1055300310254097,
-0.004630824085325003,
0.03276985138654709,
0.020976407453417778,
-0.04995087906718254,
-0.07864764332771301,
-0.007400987669825554,
-0.03717619180679321,
0.02179102599620819,
0.0009170235716737807,
0.02193913795053959,
-0.02451258897781372,
-0.019976649433374405,
-0.023753512650728226,
0.0492103174328804,
-0.027252666652202606,
-0.010858484543859959,
-0.028548650443553925,
-0.023124035447835922,
-0.020865323022007942,
-0.04510020092129707,
0.04124928265810013,
-0.01612572930753231,
0.021087491884827614,
0.03973113000392914,
0.007488929200917482,
-0.04295257106423378,
0.10004987567663193,
0.03876839950680733,
-0.09382915496826172,
0.020717211067676544,
-0.014385408721864223,
-0.004915477707982063,
-0.010191978886723518,
-0.061540670692920685,
-0.011700873263180256,
0.025456804782152176,
0.00933107640594244,
-0.04717377573251724,
-0.0024646816309541464,
0.08012876659631729,
0.025216123089194298,
0.024808812886476517,
0.03754647448658943,
0.025549374520778656,
0.03887948393821716,
0.0798325389623642,
-0.01186749991029501,
0.01598687283694744,
0.06320693343877792,
-0.018365927040576935,
-0.007479672320187092,
-0.02234644629061222,
0.023938653990626335,
0.004089288413524628,
-0.010256778448820114,
0.031085073947906494,
-0.023383231833577156,
0.01403364259749651,
0.03312161937355995,
-0.08005470782518387,
0.03843514621257782,
0.03004828654229641,
-0.04391530156135559,
-0.015237054787576199,
0.0051700458861887455,
-0.038324061781167984,
-0.04976573958992958,
0.017023660242557526,
-0.03708362206816673,
0.00023258262081071734,
-0.026289936155080795,
-0.02419785037636757,
0.008076749742031097,
0.005512555595487356,
-0.031307242810726166,
-0.002747020684182644,
-0.05220959335565567,
0.029622463509440422,
-0.040990084409713745,
0.00905336532741785,
0.0009980225004255772,
0.01296908501535654,
0.017532795667648315,
0.06572484225034714,
-0.04676646366715431,
-0.03202928975224495,
0.006637283135205507,
-0.005373700056225061,
-0.011117680929601192,
0.04087899997830391,
-0.004387827590107918,
0.0034019548911601305,
0.02142074517905712,
-0.10471540689468384,
-0.016653379425406456,
-0.020772753283381462,
0.014440950937569141,
0.0188010074198246,
0.014228039421141148,
0.00199835910461843,
-0.0897560641169548,
-0.02497543953359127,
0.048358671367168427,
-0.011950813233852386,
-0.01764388009905815,
-0.04632212966680527,
-0.0018433041404932737,
-0.016523780301213264,
-0.023142550140619278,
-0.011580532416701317,
-0.010441918857395649,
0.038546230643987656,
0.00030114242690615356,
-0.054727502167224884,
-0.03143683820962906,
0.0017842906527221203,
0.020883837714791298,
0.03552844375371933,
0.03608386218547821,
0.05839328095316887,
-0.007095505949109793,
0.00270073558203876,
0.03700956702232361,
-0.007243618369102478,
0.02469772845506668,
0.05124686285853386,
0.002825705334544182,
-0.034824907779693604,
-0.04972871020436287,
0.02654913254082203,
-0.07975848764181137,
0.012135953642427921,
0.011580532416701317,
0.04198984429240227,
0.03958301618695259,
0.09760601818561554,
0.03732430562376976,
0.00903022289276123,
0.06142958626151085,
-0.0014892230974510312,
0.02423487789928913,
-0.03321418911218643,
-0.0008834668551571667,
-0.02903001382946968,
0.01691257581114769,
0.016199784353375435,
0.0560234859585762,
0.04635915532708168,
-0.023031465709209442,
0.005743980873376131,
0.01149721909314394,
0.03745390474796295,
-0.011784186586737633,
0.021087491884827614,
0.03447314351797104,
0.003054816508665681,
0.00503581902012229,
0.04650726914405823,
-0.011700873263180256,
-0.031233185902237892,
0.055505093187093735,
0.01769016496837139,
-0.03054816648364067,
0.03680591285228729,
0.061873920261859894,
-0.0045891678892076015,
0.014274325221776962,
0.022550100460648537,
0.001920831622555852,
0.005943006835877895,
-0.03189969062805176,
0.03995329886674881,
-0.01986556500196457,
-0.009284790605306625,
-0.010941797867417336,
-0.0053783287294209,
0.01559807825833559,
0.00946993101388216,
0.027252666652202606,
0.04047169163823128,
0.011339849792420864,
0.039138682186603546,
-0.007706468924880028,
-0.05728244036436081,
-0.07872169464826584,
0.019606368616223335,
0.013922558166086674,
0.023346204310655594,
-0.03456571325659752,
0.005896721966564655,
0.004614624660462141,
-0.03887948393821716,
-0.05998548865318298,
-0.03580615296959877,
0.09419943392276764,
0.02640102058649063,
-0.053061239421367645,
-0.04898814857006073,
-0.021143034100532532,
0.06513239443302155,
0.017440225929021835,
0.0396200455725193,
0.03321418911218643,
-0.014996372163295746,
-0.005623639561235905,
-0.0025155951734632254,
-0.04772919416427612,
-0.05146903172135353,
-0.0408419705927372,
0.011441676877439022,
-0.057356495410203934,
0.051728226244449615,
0.015051914379000664,
-0.06294773519039154,
-0.022420503199100494,
0.014265067875385284,
-0.014487236738204956,
0.0073315599001944065,
-0.009932782500982285,
-0.038990568369627,
0.052283648401498795,
0.012015611864626408,
-0.01764388009905815,
0.04661835357546806,
0.05506075546145439,
0.017893819138407707,
0.02277226932346821,
-0.00752132898196578,
-0.03773161396384239,
-0.0031080443877726793,
-0.0004984326660633087,
-0.002876618877053261,
-0.06513239443302155,
0.00379537814296782,
-0.04406341537833214,
-0.05024710297584534,
0.03549141436815262,
-0.021254118531942368,
0.07379696518182755,
-0.003036302514374256,
0.0030663879588246346,
-0.022087249904870987,
-0.006466028280556202,
-0.04102711379528046,
0.028770817443728447,
-0.03004828654229641,
-0.007363959215581417,
-0.08590514212846756,
-0.037953782826662064,
0.06846491992473602,
0.07076065987348557,
0.027123069390654564,
-0.01126579288393259,
-0.006567855831235647,
-0.0588005892932415,
-0.06068902462720871,
-0.005743980873376131,
0.012746916152536869,
0.019754480570554733,
0.0012323408154770732,
-0.025604916736483574,
-0.008155434392392635,
-0.006651168689131737,
0.013219024986028671,
0.0009291733731515706,
0.0003523453196976334,
0.037398360669612885,
-0.06442885845899582,
-0.05180228501558304,
0.0038671200163662434,
-0.0005019040545448661,
-0.054209109395742416,
-0.10101260244846344,
-0.014487236738204956,
-0.03364001214504242,
0.011117680929601192,
0.05846733972430229,
-0.0037976924795657396,
0.0026313080452382565,
-0.013617075979709625,
-0.030862905085086823,
-0.02806728519499302,
0.02345728874206543,
-0.03534330055117607,
0.008803426288068295,
0.05783786252140999,
-0.06827978044748306,
0.01968042366206646,
-0.0062716309912502766,
-0.01672743447124958,
0.05202445387840271,
-0.04102711379528046,
0.03295499086380005,
0.04884003847837448,
-0.021180061623454094,
0.010025352239608765,
-0.009516216814517975,
-0.006905736867338419,
-0.017801249399781227,
-0.0005759602063335478,
-0.0015331939794123173,
-0.0020677868742495775,
0.07627784460783005,
0.02395716868340969,
-0.02156885713338852,
0.00510524632409215,
0.05095063894987106,
0.02497543953359127,
-0.045359399169683456,
0.037213221192359924,
0.018458498641848564,
-0.00008056500519160181,
-0.03717619180679321,
-0.017940104007720947,
0.009229249320924282,
-0.034824907779693604,
-0.008479430340230465,
0.042323093861341476,
-0.1120469719171524,
0.01686629094183445,
-0.04821056127548218,
-0.03378812223672867,
-0.008169320411980152,
-0.004836793057620525,
0.02018030360341072,
0.021772511303424835,
-0.004607681650668383,
0.07131608575582504,
0.013006113469600677,
-0.07664812356233597,
0.03249213844537735,
-0.006604883819818497,
-0.03876839950680733,
0.02345728874206543,
-0.033991776406764984,
-0.09064473956823349,
0.04332285374403,
-0.024271907284855843,
-0.0035315530840307474,
0.04484100639820099,
-0.01343193557113409,
-0.03456571325659752,
-0.02008773386478424,
-0.012395150028169155,
-0.042286068201065063,
-0.029622463509440422,
0.030751820653676987,
0.059096816927194595,
0.014524264261126518,
0.03097398951649666,
-0.03128872811794281,
0.0005131860380060971,
0.043470967561006546,
-0.07498186081647873,
0.026475077494978905,
-0.02875230461359024,
-0.08183205872774124,
-0.03132575750350952,
-0.0058087799698114395,
0.03184415027499199,
0.005109874997287989,
0.03626900538802147,
0.055875372141599655,
-0.005507926922291517,
-0.06013360247015953,
0.0430266298353672,
-0.018217815086245537,
0.041360367089509964,
0.013681875541806221,
-0.0458037331700325,
0.011506475508213043,
0.019050946459174156,
-0.0900522917509079,
-0.03226997330784798,
-0.0001562122197356075,
0.01603315956890583,
-0.008534972555935383,
0.022087249904870987,
-0.012848744168877602,
0.004031432326883078,
0.02051355689764023,
-0.00430914293974638,
0.005882836412638426,
0.05280204117298126,
0.05128389224410057,
-0.026845358312129974,
0.030899932608008385,
0.03367703780531883,
0.05524589493870735,
-0.023105522617697716,
-0.013478221371769905,
0.08531269431114197,
-0.011821214109659195,
0.02456813119351864,
0.0038162064738571644,
0.02345728874206543,
-0.07783302664756775,
-0.012015611864626408,
0.03484342247247696,
-0.027900658547878265,
0.05028413236141205,
0.00725750345736742,
0.006748367566615343,
0.03054816648364067,
-0.01755131036043167,
0.02667873166501522,
-0.001239283592440188,
0.02197616547346115,
0.03432502970099449,
0.009812441654503345,
0.050802525132894516,
0.0021337431389838457,
-0.019328657537698746,
0.02308700792491436,
0.02621588110923767,
-0.0005681496113538742,
0.028363509103655815,
0.004003661219030619,
-0.10752954334020615,
0.013672618195414543,
0.01154350396245718,
-0.0029182755388319492,
-0.014191011898219585,
-0.06665054708719254,
-0.05561617761850357,
-0.06265151500701904,
-0.09368104487657547,
-0.016570065170526505,
0.00788235291838646,
-0.0005256251897662878,
0.012867257930338383,
-0.025179093703627586,
-0.026197366416454315,
-0.011876756325364113,
0.008238747715950012,
-0.06609512120485306,
-0.00905336532741785,
0.011256536468863487,
-0.055653203278779984,
0.023253634572029114,
-0.00011477258522063494,
0.0321773998439312,
-0.05554211884737015,
0.002668336033821106,
-0.0022367273923009634,
-0.002335083205252886,
0.01981002278625965,
-0.026900900527834892,
0.022883353754878044,
-0.019939621910452843,
0.01838444173336029,
0.0733526274561882,
-0.018412211909890175,
0.04598887637257576,
-0.028511621057987213,
-0.0022864839993417263,
-0.012608061544597149,
0.07061254978179932,
-0.010312320664525032,
0.01612572930753231,
-0.0016211356269195676,
-0.060763079673051834,
0.021457772701978683,
0.004248972050845623,
-0.06827978044748306,
0.0637623518705368,
-0.04787730798125267,
0.020624641329050064,
0.06672459840774536,
-0.0665394589304924,
0.01723657175898552,
-0.018088217824697495,
0.05502372607588768,
-0.04028655216097832,
0.018449241295456886,
0.006859451998025179,
-0.008951538242399693,
0.05780083313584328,
-0.00002800610127451364,
-0.02299443818628788,
-0.006655797362327576,
0.0002891372423619032,
-0.007155676372349262,
-0.012765430845320225,
-0.0362134613096714,
-0.018217815086245537,
0.03493599221110344,
-0.021772511303424835,
-0.06798355281352997,
-0.02695644274353981,
0.0129228001460433,
0.037583500146865845,
-0.014811231754720211,
0.009581015445291996,
0.028511621057987213,
-0.007553728297352791,
0.05598645657300949
]
|
41,710 | comm.base_comm | close | Close the frontend-side version of this comm | def close(
self,
data: MaybeDict = None,
metadata: MaybeDict = None,
buffers: BuffersType = None,
deleting: bool = False,
) -> None:
"""Close the frontend-side version of this comm"""
if self._closed:
# only close once
return
self._closed = True
if data is None:
data = self._close_data
self.publish_msg(
"comm_close",
data=data,
metadata=metadata,
buffers=buffers,
)
if not deleting:
# If deleting, the comm can't be registered
comm.get_comm_manager().unregister_comm(self)
| (self, data: Optional[Dict[str, Any]] = None, metadata: Optional[Dict[str, Any]] = None, buffers: Optional[List[bytes]] = None, deleting: bool = False) -> NoneType | [
0.020849669352173805,
-0.03639857470989227,
-0.03643391281366348,
-0.0173334963619709,
-0.00975340511649847,
-0.026857201009988785,
-0.013985181227326393,
0.06261968612670898,
0.016538381576538086,
-0.03339480981230736,
-0.0021622697822749615,
-0.06795578449964523,
-0.016344020143151283,
-0.014594769105315208,
-0.032864734530448914,
0.017492519691586494,
-0.029542921110987663,
-0.040533170104026794,
0.015204356051981449,
-0.04537453502416611,
-0.01557540986686945,
-0.027599308639764786,
-0.030797434970736504,
-0.053148988634347916,
-0.0038408448453992605,
0.026698177680373192,
-0.0007238854886963964,
0.051558759063482285,
-0.04781288653612137,
-0.0068998271599411964,
0.012235929258167744,
-0.03325345739722252,
-0.003823175560683012,
0.027599308639764786,
0.0316985659301281,
0.08587236702442169,
0.005380274727940559,
-0.013728977181017399,
0.036963991820812225,
0.03454330936074257,
0.023906443268060684,
-0.045586567372083664,
0.042017385363578796,
-0.03450797125697136,
0.010327653959393501,
0.027228254824876785,
-0.02632712572813034,
0.05424448102712631,
0.013543450273573399,
-0.0021998167503625154,
-0.02636246383190155,
-0.042229413986206055,
-0.0208320003002882,
-0.006617119535803795,
-0.023394035175442696,
0.01647653989493847,
0.0881340280175209,
0.06110013276338577,
-0.02171546034514904,
-0.033606842160224915,
-0.01325190905481577,
-0.008119002915918827,
-0.05445650964975357,
-0.03226397931575775,
0.03012600541114807,
0.031062474474310875,
0.06212494894862175,
-0.017642708495259285,
0.011997394263744354,
0.036327898502349854,
-0.0016929312841966748,
-0.008216183632612228,
-0.01563725247979164,
0.015593078918755054,
0.03593917563557625,
-0.025567349046468735,
0.04968582093715668,
0.01600830629467964,
-0.010566188022494316,
-0.04738882556557655,
0.043077535927295685,
-0.014373903162777424,
-0.03162788972258568,
0.03767075762152672,
0.01906507834792137,
-0.0037723765708506107,
0.07654302567243576,
0.060888104140758514,
-0.09421223402023315,
0.03668128326535225,
-0.016688570380210876,
-0.03606285899877548,
-0.004026371520012617,
-0.0019049618858844042,
0.052442219108343124,
-0.07092421501874924,
-0.047176793217659,
0.024136142805218697,
0.03514406085014343,
0.013949842192232609,
0.025761710479855537,
0.027475623413920403,
-0.02160944603383541,
-0.030108336359262466,
0.00520800007507205,
-0.053325679153203964,
-0.015875786542892456,
0.017041955143213272,
-0.06078208610415459,
-0.05000386759638786,
-0.06753172725439072,
0.013004539534449577,
-0.021627115085721016,
-0.0241538118571043,
0.003926982171833515,
0.024931257590651512,
-0.028818484395742416,
0.03201661258935928,
0.005238921381533146,
-0.00978874322026968,
-0.09972503036260605,
0.027776001021265984,
-0.03646925091743469,
-0.05435049533843994,
-0.0213797464966774,
0.08672048896551132,
0.016344020143151283,
0.003957903478294611,
-0.027510961517691612,
0.05438583344221115,
-0.00799973588436842,
0.022245537489652634,
0.035744816064834595,
0.013658300042152405,
0.013243073597550392,
0.04268881678581238,
-0.005018055904656649,
-0.0031407023780047894,
-0.03454330936074257,
0.0204609464854002,
0.01740417256951332,
-0.012235929258167744,
-0.040603846311569214,
0.04784822463989258,
0.01740417256951332,
0.015460560098290443,
0.006581781432032585,
-0.07710843533277512,
-0.04431438073515892,
0.002740936353802681,
-0.01319890096783638,
0.03450797125697136,
0.016246840357780457,
-0.014329730533063412,
0.003346106968820095,
0.01777522638440132,
-0.053997110575437546,
-0.009364682249724865,
-0.013287247158586979,
0.0483076237142086,
-0.002473689615726471,
0.010150961577892303,
0.007509415037930012,
0.0004309631185606122,
0.0036641526967287064,
-0.02031959407031536,
0.009806412272155285,
-0.023182004690170288,
0.0058750128373503685,
0.038836926221847534,
-0.025266973301768303,
-0.008251521736383438,
0.013296081684529781,
-0.01991320215165615,
-0.034896694123744965,
0.014029353857040405,
0.01504533365368843,
-0.05007454380393028,
0.02643314003944397,
-0.0623016394674778,
-0.013004539534449577,
-0.0468234121799469,
-0.06124148890376091,
0.08770996332168579,
-0.028818484395742416,
0.0311508197337389,
0.018976733088493347,
-0.0365045927464962,
0.046505365520715714,
-0.027705322951078415,
-0.04784822463989258,
0.00798206590116024,
-0.00561439199373126,
0.008852275088429451,
0.03471999987959862,
-0.0140116848051548,
0.039649710059165955,
0.012562809512019157,
-0.034454964101314545,
-0.03463165462017059,
0.00597219355404377,
0.00826035626232624,
0.04855499416589737,
-0.04844897612929344,
-0.0014610228827223182,
0.01872936449944973,
0.032794058322906494,
-0.03161022067070007,
0.0007001425256021321,
-0.022545913234353065,
-0.00597219355404377,
0.04965048283338547,
0.00870208628475666,
0.024047797545790672,
0.06926330924034119,
-0.028853822499513626,
-0.03646925091743469,
-0.04668205603957176,
-0.005402361508458853,
-0.012916193343698978,
0.03201661258935928,
-0.0032643869053572416,
0.04926175996661186,
0.06385652720928192,
-0.017342330887913704,
0.01482446864247322,
0.013958676718175411,
0.02880081534385681,
0.07385730743408203,
-0.0032511348836123943,
-0.0335538312792778,
0.048873040825128555,
-0.01489514485001564,
-0.007681689690798521,
-0.004253862891346216,
-0.029542921110987663,
-0.03122149594128132,
0.027440285310149193,
-0.07134827971458435,
0.04689408838748932,
0.02116771601140499,
-0.045586567372083664,
-0.005420030560344458,
0.025372987613081932,
0.0007730280049145222,
0.02595607191324234,
0.03192826360464096,
0.015460560098290443,
0.04191137105226517,
-0.022916967049241066,
-0.0272812619805336,
-0.08050093054771423,
0.03343014791607857,
-0.04456175118684769,
0.028959836810827255,
-0.07986483722925186,
-0.07011143118143082,
-0.053361017256975174,
0.015787441283464432,
0.001827659085392952,
-0.009435359388589859,
0.04198204725980759,
-0.053042974323034286,
0.09081974625587463,
0.11682882905006409,
-0.023217344656586647,
0.05035725235939026,
-0.03523240610957146,
0.008671165443956852,
0.0272812619805336,
0.03145119547843933,
-0.006215145345777273,
-0.018923725932836533,
-0.04505648836493492,
-0.011476152576506138,
-0.02524930238723755,
0.000042551051592454314,
-0.05947456508874893,
0.0020518372766673565,
-0.03304142504930496,
0.01994854025542736,
-0.014771460555493832,
-0.027669984847307205,
-0.04664671793580055,
0.0057645803317427635,
0.005817587953060865,
0.0034234097693115473,
-0.04749483987689018,
0.002729893196374178,
-0.006740804295986891,
-0.02385343611240387,
0.0215741079300642,
-0.01530153676867485,
0.08877012133598328,
0.02694554813206196,
0.013375593349337578,
0.005062229000031948,
0.05993396416306496,
-0.008154341019690037,
-0.02042560838162899,
0.02208651416003704,
-0.013490443117916584,
0.049862515181303024,
-0.012068071402609348,
-0.02178613841533661,
-0.025461332872509956,
0.08410544693470001,
-0.0026216693222522736,
0.0014256845461204648,
0.054032448679208755,
0.04396099969744682,
-0.0215741079300642,
-0.06908661872148514,
0.049827177077531815,
-0.01762503758072853,
0.02639780193567276,
0.02585005573928356,
-0.017209811136126518,
-0.0007995318155735731,
0.05297229439020157,
0.02374741993844509,
-0.09795811027288437,
0.021521098911762238,
0.04155798628926277,
-0.04283016920089722,
-0.030762096866965294,
-0.005826422479003668,
0.005305180791765451,
0.07802724093198776,
0.01325190905481577,
0.0039137303829193115,
0.009461862966418266,
0.017377668991684914,
-0.019012071192264557,
0.07050015032291412,
-0.06367983669042587,
0.012951532378792763,
-0.0519828200340271,
0.005199165549129248,
-0.013322585262358189,
-0.06106479465961456,
-0.009877089411020279,
-0.00043041096068918705,
-0.013119389303028584,
-0.10601527243852615,
0.0285711158066988,
0.012774839997291565,
-0.06021667271852493,
0.02547900378704071,
0.04936777800321579,
-0.011334799230098724,
0.030797434970736504,
0.007535918615758419,
0.007535918615758419,
-0.0007448677206411958,
-0.0711715817451477,
0.05562267825007439,
0.020513953641057014,
0.016759246587753296,
-0.04191137105226517,
0.027404947206377983,
0.024206819012761116,
0.008693251758813858,
0.05208883434534073,
-0.09668592363595963,
-0.05594072490930557,
-0.01599947176873684,
0.015769770368933678,
0.026821862906217575,
0.02252824418246746,
0.007460824679583311,
-0.051452744752168655,
0.03535609319806099,
0.04880236089229584,
-0.003619979601353407,
0.020602300763130188,
-0.001311938976868987,
0.005640895571559668,
-0.0009430941427126527,
-0.015469394624233246,
-0.015531237237155437,
-0.026680508628487587,
0.039508357644081116,
-0.01275717094540596,
-0.005609974730759859,
0.01758086495101452,
-0.02072598598897457,
-0.004309079144150019,
-0.05993396416306496,
-0.019824855029582977,
0.023641405627131462,
-0.041381292045116425,
-0.0042914096266031265,
0.0276523157954216,
-0.019842524081468582,
0.04106324911117554,
0.08177310973405838,
-0.005592305213212967,
-0.016503043472766876,
-0.011060926131904125,
-0.022916967049241066,
0.025319980457425117,
-0.0011137124383822083,
0.03851887956261635,
0.03381887078285217,
-0.010248142294585705,
0.027016224339604378,
0.019824855029582977,
0.0100449463352561,
-0.011219949461519718,
-0.0182522963732481,
0.01740417256951332,
0.03555045276880264,
0.02514328807592392,
0.041169263422489166,
0.037105344235897064,
0.018234625458717346,
0.07908739149570465,
0.05424448102712631,
0.028270738199353218,
-0.008454717695713043,
0.014082361944019794,
0.07654302567243576,
-0.04392566159367561,
-0.04692942649126053,
-0.024118473753333092,
-0.022210199385881424,
0.005755745805799961,
-0.013711308129131794,
-0.036928653717041016,
-0.03145119547843933,
-0.030444052070379257,
-0.000634435098618269,
-0.0317162349820137,
-0.0015615165466442704,
0.021627115085721016,
0.002584122121334076,
0.00013679834955837578,
-0.00798206590116024,
0.017819399014115334,
0.04947379231452942,
0.006771725136786699,
0.01994854025542736,
-0.0468234121799469,
-0.002610625931993127,
-0.009364682249724865,
0.05883847549557686,
0.01802259497344494,
0.03222864121198654,
-0.013631796464323997,
0.058343734592199326,
0.019365455955266953,
0.007385730277746916,
0.0049032061360776424,
-0.0272812619805336,
-0.05360838770866394,
0.024966595694422722,
-0.03728203475475311,
-0.002802778733894229,
-0.01513367984443903,
-0.03664594516158104,
0.0350203774869442,
-0.062478333711624146,
-0.06350314617156982,
-0.049085069447755814,
0.06813248246908188,
-0.0002829834702424705,
-0.035886168479919434,
-0.018517334014177322,
0.024489527568221092,
0.02160944603383541,
0.0167769156396389,
0.041381292045116425,
-0.013870331458747387,
-0.009965435601770878,
0.052300866693258286,
-0.024860581383109093,
0.0008354224264621735,
-0.02592073380947113,
-0.049897853285074234,
-0.00235442235134542,
-0.06035802513360977,
-0.022316213697195053,
-0.020107563585042953,
-0.04021512717008591,
0.017792895436286926,
0.06912195682525635,
0.011370137333869934,
0.03516172990202904,
-0.005181496497243643,
0.014797965064644814,
0.01637052372097969,
-0.006581781432032585,
-0.05562267825007439,
0.07951144874095917,
0.06477533280849457,
-0.016202667728066444,
-0.06375051289796829,
-0.006595033220946789,
-0.08389341831207275,
-0.016935938969254494,
0.016865262761712074,
-0.0012246972182765603,
-0.02134440839290619,
0.015831613913178444,
-0.094353586435318,
0.03304142504930496,
0.04180535301566124,
-0.042264752089977264,
-0.0028160305228084326,
-0.08869944512844086,
-0.023977119475603104,
0.061700887978076935,
0.007862798869609833,
-0.010990249924361706,
-0.029171867296099663,
-0.015725597739219666,
-0.015593078918755054,
-0.06686029583215714,
0.008397292345762253,
0.07880468666553497,
0.02473689615726471,
-0.0276523157954216,
-0.0025907482486218214,
-0.01596413180232048,
-0.049897853285074234,
-0.07237309217453003,
-0.02979028970003128,
0.0075447531417012215,
-0.004258280154317617,
-0.023570727556943893,
0.015760935842990875,
0.01614965870976448,
0.008176427334547043,
0.013349088840186596,
-0.08672048896551132,
-0.010053781792521477,
0.009806412272155285,
0.014170707203447819,
-0.005093150306493044,
-0.04102790728211403,
-0.01338442787528038,
0.0007669542101211846,
-0.02252824418246746,
-0.011184610426425934,
-0.009576712734997272,
0.04622265696525574,
0.008498890325427055,
0.042088061571121216,
0.030072998255491257,
-0.05032191425561905,
0.0052521731704473495,
0.037776775658130646,
-0.02385343611240387,
-0.0733625665307045,
0.08975959569215775,
-0.0012103409972041845,
-0.0025797048583626747,
0.013349088840186596,
-0.04841363802552223,
-0.005442117340862751,
0.07134827971458435,
0.03639857470989227,
0.013296081684529781,
0.07979416102170944,
0.040462493896484375,
0.044597089290618896,
-0.03904895856976509,
0.015937628224492073,
-0.03309443220496178,
0.009479532018303871,
-0.04618731886148453,
0.05109935998916626,
0.01494815293699503,
0.08544830977916718,
0.002263867761939764,
0.025726372376084328,
-0.010089119896292686,
-0.016432367265224457,
-0.050745975226163864,
-0.023182004690170288,
0.025673365220427513,
-0.04611664265394211,
-0.038836926221847534,
0.015460560098290443,
0.028624122962355614,
-0.034861356019973755,
0.019966209307312965,
0.04929710179567337,
-0.08361070603132248,
0.04088655486702919,
0.0368579737842083,
0.020107563585042953,
-0.04484445974230766,
0.020991023629903793,
0.04618731886148453,
-0.036186546087265015,
0.03897828236222267,
-0.010592692531645298,
0.03387187793850899,
-0.048095595091581345,
0.009391185827553272,
0.009594381786882877,
-0.012447959743440151,
0.026185771450400352,
-0.006723134778439999,
-0.07477610558271408,
0.03420759364962578,
-0.023358697071671486,
-0.03535609319806099,
0.021114706993103027,
-0.0008558524423278868,
-0.037882789969444275,
0.007880467921495438,
-0.017377668991684914,
-0.0019568651914596558,
-0.004585160408169031,
-0.008896447718143463,
0.01761620305478573,
-0.023800427094101906,
0.03855421766638756,
-0.029913974925875664,
0.022280875593423843,
0.019930871203541756,
-0.03192826360464096,
0.055834706872701645,
-0.036928653717041016,
0.037034668028354645,
-0.03019668161869049,
0.0346669927239418,
-0.0376000814139843,
0.016202667728066444,
0.03523240610957146,
0.06717833876609802,
-0.008012987673282623,
-0.02717524766921997,
0.006179806776344776,
-0.006550860125571489,
0.03277638554573059,
-0.012801343575119972,
0.04700010269880295,
0.027776001021265984,
0.02975495159626007,
-0.04601062834262848,
-0.025797048583626747,
0.022616591304540634,
0.03259969502687454,
0.008679999969899654,
0.047176793217659,
-0.035444438457489014,
-0.029260214418172836,
0.045480549335479736,
0.000004926328074361663,
-0.04947379231452942,
0.027740662917494774,
0.002164478413760662,
0.030002322047948837,
-0.03855421766638756,
-0.0030611909460276365,
0.05343169718980789,
0.02307599037885666,
-0.03639857470989227,
0.07958212494850159,
-0.019330117851495743,
-0.00034537786268629134,
-0.022687267512083054,
0.025337649509310722,
-0.015469394624233246,
0.035444438457489014,
-0.05449184775352478,
-0.005861761048436165,
0.01028348132967949,
0.004050666932016611,
0.03130984306335449,
-0.0282000619918108,
0.007659603375941515,
0.0062063103541731834,
0.02123839221894741,
-0.041204601526260376,
0.041275277733802795,
-0.02484291046857834,
0.040568508207798004,
0.00910847820341587,
-0.0213797464966774,
0.03403090313076973,
-0.004388590343296528,
-0.0026702596805989742,
0.02592073380947113,
-0.018570341169834137,
-0.07011143118143082,
0.0014786921674385667,
0.002197608118876815,
0.01581394486129284,
-0.08869944512844086,
-0.043854981660842896,
-0.05989862605929375,
-0.007416651584208012,
-0.048130933195352554,
-0.03201661258935928,
0.04883769899606705,
-0.0200898926705122,
-0.0032754300627857447,
0.02979028970003128,
0.0035537201911211014,
0.030921120196580887,
0.036221884191036224,
-0.03222864121198654,
-0.03901362046599388,
-0.0024648550897836685,
-0.044738441705703735,
0.027475623413920403,
0.0042693233117461205,
-0.008043908514082432,
0.019877862185239792,
0.0070676845498383045,
-0.007712610997259617,
-0.02724592387676239,
0.03820083662867546,
0.03525007516145706,
0.018676357343792915,
-0.005199165549129248,
0.03643391281366348,
0.11166941374540329,
-0.009991939179599285,
0.025090280920267105,
-0.05180612951517105,
-0.0368579737842083,
-0.012712997384369373,
0.024171480908989906,
0.02585005573928356,
-0.02948991395533085,
-0.07774452865123749,
-0.04604596644639969,
0.010442503727972507,
-0.027457954362034798,
-0.05975727364420891,
0.06876856833696365,
-0.010106788948178291,
0.0019568651914596558,
0.02473689615726471,
-0.052512895315885544,
-0.001231323229148984,
-0.007204621098935604,
0.01126412209123373,
-0.011467318050563335,
0.03290007263422012,
-0.01220059022307396,
0.003513964358717203,
0.01445341482758522,
0.029118860140442848,
0.032387666404247284,
-0.029065852984786034,
0.0013240865664556623,
0.014170707203447819,
0.02588539570569992,
0.023217344656586647,
-0.05007454380393028,
0.04675273224711418,
-0.055834706872701645,
-0.03682263568043709,
0.036186546087265015,
0.07880468666553497,
-0.01835831068456173,
-0.04268881678581238,
0.04431438073515892,
0.024931257590651512,
-0.019383125007152557,
0.04180535301566124
]
|
41,711 | comm.base_comm | handle_close | Handle a comm_close message | def handle_close(self, msg: MessageType) -> None:
"""Handle a comm_close message"""
logger.debug("handle_close[%s](%s)", self.comm_id, msg)
if self._close_callback:
self._close_callback(msg)
| (self, msg: Dict[str, Any]) -> NoneType | [
-0.0015487255295738578,
-0.017724430188536644,
-0.017606085166335106,
0.02488885074853897,
-0.022358089685440063,
-0.04988694190979004,
0.039545416831970215,
0.11951018124818802,
0.01273573562502861,
-0.03271782398223877,
-0.005812556948512793,
-0.06237688660621643,
0.017078084871172905,
-0.05087011680006981,
-0.05647784471511841,
0.022485537454485893,
0.013345667161047459,
-0.04355093836784363,
-0.009485801681876183,
-0.010732975788414478,
-0.0295134074985981,
-0.009003318846225739,
-0.021793674677610397,
-0.09831733256578445,
0.008111179806292057,
-0.003989589866250753,
0.0035503481049090624,
0.06783895939588547,
-0.029440579935908318,
-0.01737849973142147,
-0.07282765209674835,
-0.03315478935837746,
-0.003645934397354722,
0.058480605483055115,
-0.06609109789133072,
0.04821190610527992,
0.020391743630170822,
0.00775614520534873,
0.008334214799106121,
0.029040027409791946,
0.03630458563566208,
0.017615187913179398,
0.03566734492778778,
0.0013120357180014253,
0.00027964680339209735,
0.008661938831210136,
-0.06445247679948807,
0.04129327833652496,
0.009385664016008377,
0.019754501059651375,
-0.051161427050828934,
-0.06365136802196503,
-0.018379878252744675,
0.0046928320080041885,
0.008024697192013264,
0.014474496245384216,
0.04890377074480057,
0.014774910174310207,
-0.024633953347802162,
-0.005835315678268671,
-0.026855196803808212,
0.04122045263648033,
-0.04122045263648033,
-0.009613250382244587,
0.03484803065657616,
0.011506768874824047,
0.09285525977611542,
0.0032977270893752575,
0.02567174844443798,
-0.015921946614980698,
0.037397000938653946,
0.0016943808877840638,
0.01875312067568302,
0.03801603615283966,
-0.0007396558648906648,
-0.0127994604408741,
0.029950372874736786,
0.04129327833652496,
-0.011242768727242947,
0.034975480288267136,
0.007551317568868399,
0.005011452827602625,
-0.007856283336877823,
0.017970222979784012,
0.029476992785930634,
-0.04165741801261902,
0.09766188263893127,
0.03455672040581703,
-0.09504009038209915,
0.06033771112561226,
-0.013545943424105644,
-0.06073826178908348,
-0.017014360055327415,
0.00018036224355455488,
-0.0133274607360363,
-0.0322626493871212,
-0.03357354924082756,
0.04271341860294342,
0.05505770817399025,
0.003400141140446067,
-0.01717822253704071,
-0.0037756587844341993,
-0.003352347994223237,
-0.03462954983115196,
-0.006067453883588314,
-0.05844419077038765,
0.007146213669329882,
-0.035831205546855927,
-0.050833702087402344,
-0.035303205251693726,
-0.034119755029678345,
0.008083869703114033,
0.01032331958413124,
0.02645464614033699,
0.005603177472949028,
0.0062131090089678764,
0.005908143240958452,
0.07009661942720413,
-0.01991836354136467,
-0.00033369858283549547,
-0.0097042853012681,
0.018170500174164772,
-0.023213814944028854,
-0.07588641345500946,
-0.017487740144133568,
0.02670954167842865,
0.021975744515657425,
0.015166359022259712,
-0.013017943128943443,
0.06725633889436722,
0.005229935981333256,
0.0076696621254086494,
0.03885355219244957,
-0.03652307018637657,
-0.019317535683512688,
0.031115615740418434,
-0.01822512038052082,
-0.03690541535615921,
0.029367750510573387,
-0.02206677943468094,
0.02579919621348381,
0.02436085045337677,
-0.028329957276582718,
-0.05185328796505928,
0.030915338546037674,
0.06157578155398369,
-0.008875870145857334,
-0.04657328501343727,
-0.04853963106870651,
0.007988283410668373,
-0.027674509212374687,
0.007960973307490349,
-0.003538968740031123,
0.01378263346850872,
0.015139048919081688,
-0.0035344171337783337,
-0.04508031904697418,
0.06172143667936325,
-0.05269080772995949,
0.018061257898807526,
0.028002232313156128,
-0.007100696209818125,
0.0033705548848956823,
-0.008880422450602055,
0.009722491726279259,
-0.009950078092515469,
-0.014438082464039326,
-0.02443367801606655,
-0.0016044842777773738,
0.05392887815833092,
-0.06292309612035751,
0.005899040028452873,
-0.022285262122750282,
-0.050651632249355316,
0.02599947154521942,
0.056259363889694214,
-0.014711186289787292,
-0.01574897952377796,
-0.0014406220288947225,
-0.05811646953225136,
0.018989810720086098,
-0.05072446167469025,
-0.030551200732588768,
0.0477021150290966,
-0.02519836835563183,
0.03499368950724602,
0.0013359322911128402,
-0.03579479083418846,
-0.030059613287448883,
-0.03339147940278053,
-0.06958682090044022,
-0.015949256718158722,
-0.018307050690054893,
-0.0022701744455844164,
0.06965965032577515,
0.0029040027875453234,
-0.0004514745669439435,
0.05363756790757179,
-0.005375591106712818,
-0.0011777597246691585,
0.04948639124631882,
0.007032420486211777,
0.005867178086191416,
-0.05935453623533249,
-0.0016727601177990437,
0.018989810720086098,
0.03269961476325989,
-0.010359733365476131,
-0.043587349355220795,
-0.0703515112400055,
0.0022018984891474247,
0.006326902657747269,
-0.03703286126255989,
0.016668429598212242,
0.07683317363262177,
0.010468975640833378,
-0.0625225380063057,
0.0039349691942334175,
-0.04533521458506584,
0.040382932871580124,
0.03160720318555832,
-0.013072564266622066,
-0.015321117825806141,
0.01269932184368372,
0.01908084563910961,
0.042677003890275955,
0.0267641618847847,
0.01096966490149498,
0.08746600896120071,
0.008543593809008598,
-0.06434322893619537,
0.05578598380088806,
-0.01404663361608982,
-0.008880422450602055,
-0.018297947943210602,
0.011807183735072613,
-0.0300414077937603,
0.005603177472949028,
-0.07333745062351227,
0.04315038397908211,
0.003639106871560216,
-0.03619534522294998,
-0.023068159818649292,
0.031006373465061188,
0.043405283242464066,
0.009440284222364426,
0.06343288719654083,
0.033464305102825165,
0.03768831118941307,
0.0646345391869545,
-0.02423340268433094,
-0.05844419077038765,
0.05356473848223686,
-0.04435203969478607,
0.002172312466427684,
-0.08127566426992416,
-0.04041934758424759,
-0.014019323512911797,
0.0034570377320051193,
0.01964525878429413,
0.00129382882732898,
0.03808886185288429,
-0.019499603658914566,
0.05203535780310631,
0.059718675911426544,
0.0057533844374120235,
0.06499867886304855,
-0.03473879024386406,
0.022867882624268532,
-0.000024572220354457386,
0.14339764416217804,
-0.0456993542611599,
-0.05483922362327576,
-0.009048836305737495,
-0.013118080794811249,
0.004319590050727129,
-0.005070625338703394,
-0.08397028595209122,
-0.014893255196511745,
0.005839867517352104,
0.051379911601543427,
0.014256013557314873,
0.039472587406635284,
-0.00924456026405096,
0.003916762303560972,
0.05327342823147774,
0.026217956095933914,
-0.004617728292942047,
-0.029622647911310196,
-0.008661938831210136,
-0.05374680832028389,
-0.021830089390277863,
-0.016040291637182236,
0.10297830402851105,
0.023869263008236885,
0.0014315185835584998,
-0.003771106945350766,
0.07042434066534042,
0.011279182508587837,
0.012580976821482182,
-0.017132705077528954,
0.04471617937088013,
0.02736499160528183,
-0.02900361269712448,
-0.04650045558810234,
-0.01848912052810192,
0.03683258593082428,
-0.0026058645453304052,
-0.005425660405308008,
0.053710393607616425,
0.05363756790757179,
0.014283323660492897,
-0.054038118571043015,
0.005471177399158478,
0.0033295892644673586,
0.08389745652675629,
0.02487064339220524,
-0.02428802289068699,
0.03348251432180405,
0.029731890186667442,
-0.017141809687018394,
-0.0679117888212204,
-0.00884856004267931,
0.042167212814092636,
-0.032626789063215256,
-0.0031293132342398167,
-0.050833702087402344,
0.026290783658623695,
0.086519256234169,
-0.055749569088220596,
0.01074207853525877,
0.0018935189582407475,
-0.012444425374269485,
-0.06015564128756523,
0.06645523756742477,
-0.0624132975935936,
0.020391743630170822,
-0.026928024366497993,
0.027965819463133812,
-0.017660705372691154,
-0.07155317068099976,
-0.012062080204486847,
0.0006520351162180305,
0.020810501649975777,
-0.03816169127821922,
0.008675593882799149,
-0.050651632249355316,
-0.02867588959634304,
0.051379911601543427,
0.0009877250995486975,
0.03683258593082428,
-0.06365136802196503,
-0.016632014885544777,
0.012025666423141956,
-0.014228702522814274,
-0.011188148520886898,
0.041511762887239456,
-0.0169779472053051,
0.037651896476745605,
-0.012489942833781242,
0.026108713820576668,
-0.026035886257886887,
0.026090506464242935,
-0.00005775005411123857,
-0.07748862355947495,
0.050578806549310684,
-0.03410154953598976,
-0.0014952428173273802,
0.054438672959804535,
0.016377119347453117,
-0.02853023260831833,
-0.017733532935380936,
-0.009440284222364426,
0.0356491357088089,
-0.03266320377588272,
0.009595043025910854,
0.009476698003709316,
0.03271782398223877,
-0.0046928320080041885,
-0.009804422967135906,
-0.017478637397289276,
-0.036468446254730225,
-0.013728012330830097,
-0.02756526693701744,
-0.04041934758424759,
-0.0004975608317181468,
-0.021830089390277863,
0.030004993081092834,
-0.05858984589576721,
-0.023760022595524788,
0.034065134823322296,
-0.008803042583167553,
-0.0200458113104105,
-0.015858221799135208,
-0.0169233251363039,
0.015239186584949493,
0.02741961181163788,
-0.004376486875116825,
0.008607318624854088,
-0.0007134834304451942,
-0.04191231355071068,
0.01442897878587246,
-0.015967462211847305,
-0.017478637397289276,
0.03870789706707001,
0.02652747370302677,
-0.04282265901565552,
0.04478900879621506,
0.02873050980269909,
-0.03932693228125572,
0.01404663361608982,
0.011552286334335804,
0.0033045548480004072,
-0.03297271952033043,
0.011606907472014427,
0.010769389569759369,
0.02678236924111843,
0.05909964069724083,
0.023942090570926666,
0.006249523255974054,
-0.015849119052290916,
0.0023373125586658716,
0.05276363343000412,
-0.04599066451191902,
-0.06022847071290016,
-0.014083047397434711,
-0.02605409361422062,
0.03710569068789482,
0.01080580335110426,
-0.024178780615329742,
-0.05210818722844124,
0.04122045263648033,
-0.03812527656555176,
-0.017815465107560158,
0.0017103119753301144,
0.052217427641153336,
-0.01355504710227251,
-0.005475729238241911,
-0.027856577187776566,
0.027674509212374687,
0.008780283853411674,
0.0556403286755085,
0.008625525049865246,
-0.03461134433746338,
0.059136055409908295,
-0.05272722244262695,
0.05422018840909004,
-0.02976830303668976,
0.03355534002184868,
-0.021447744220495224,
0.008074766024947166,
0.036486655473709106,
-0.006062902044504881,
0.01450180634856224,
-0.007519455160945654,
-0.042021557688713074,
0.013491323217749596,
-0.017988430336117744,
0.006586350966244936,
-0.0857909768819809,
-0.04591783508658409,
0.04056500270962715,
-0.03852582722902298,
-0.036486655473709106,
-0.01939036324620247,
0.05778874456882477,
-0.0002719657786656171,
-0.07472117245197296,
0.0013256908860057592,
0.02208498679101467,
0.027929404750466347,
0.013728012330830097,
0.02481602318584919,
-0.021338501945137978,
-0.03062402829527855,
-0.024579333141446114,
0.009185387752950191,
0.026272576302289963,
-0.027219336479902267,
0.03240830451250076,
0.020737674087285995,
-0.04369659349322319,
-0.014301530085504055,
-0.05571315437555313,
-0.03532141074538231,
0.012371597811579704,
0.032371893525123596,
-0.04132969304919243,
0.043332453817129135,
-0.026855196803808212,
-0.026818783953785896,
0.016313394531607628,
0.024907058104872704,
-0.029276717454195023,
0.12154935300350189,
-0.026800576597452164,
-0.0294587854295969,
-0.04486183449625969,
0.02853023260831833,
-0.09096173942089081,
-0.042349278926849365,
0.009158077649772167,
-0.030551200732588768,
-0.038562241941690445,
-0.018789535388350487,
-0.11361113935709,
0.03339147940278053,
0.034520309418439865,
-0.007533110678195953,
-0.01964525878429413,
-0.040783487260341644,
0.011379321105778217,
0.002849381882697344,
-0.02456112578511238,
0.015912842005491257,
-0.03827093169093132,
0.007651455234736204,
-0.03983672708272934,
-0.03643203526735306,
0.025762783363461494,
0.0676933005452156,
-0.04369659349322319,
0.0009399318951182067,
0.04828473553061485,
-0.008238628506660461,
-0.041184037923812866,
-0.01971808820962906,
0.003108830424025655,
0.01522097922861576,
-0.0017933809431269765,
0.017779050394892693,
-0.009394767694175243,
0.0024328988511115313,
-0.006932282354682684,
-0.02254015952348709,
-0.01742401532828808,
-0.009494905360043049,
-0.010814907029271126,
-0.1259918361902237,
0.025416851043701172,
-0.04500748962163925,
-0.014774910174310207,
-0.01665022224187851,
-0.007446627598255873,
-0.014902358874678612,
0.032426513731479645,
0.04890377074480057,
0.01640442945063114,
0.03304554894566536,
0.01953601837158203,
0.03175285831093788,
0.0195178110152483,
0.0163953248411417,
-0.04799342527985573,
0.008247732184827328,
0.06026488542556763,
0.001307483995333314,
-0.029877545312047005,
0.020610226318240166,
-0.06259536743164062,
-0.04872170090675354,
0.07395648211240768,
0.026400024071335793,
-0.012225942686200142,
0.022485537454485893,
0.057643089443445206,
0.01946319080889225,
-0.011433941312134266,
0.02898540534079075,
0.010996975935995579,
0.007278213743120432,
-0.04478900879621506,
0.0255989208817482,
-0.036541275680065155,
0.07530379295349121,
-0.009585940279066563,
0.047119490802288055,
-0.015048014000058174,
-0.004326418042182922,
-0.04289548844099045,
-0.009431181475520134,
-0.002621795516461134,
-0.01554870419204235,
-0.0163953248411417,
-0.04384224861860275,
0.048758115619421005,
-0.002865313086658716,
-0.001974312122911215,
0.06397909671068192,
0.014265116304159164,
0.03867148235440254,
-0.01446539256721735,
0.018589258193969727,
-0.023268435150384903,
0.012489942833781242,
0.04362376406788826,
0.03688720613718033,
0.03965465724468231,
-0.03488444536924362,
-0.0038029691204428673,
0.0028129681013524532,
0.05920888110995293,
0.013737116008996964,
0.008174903690814972,
-0.004422004334628582,
0.005088832229375839,
-0.052872877568006516,
0.055858809500932693,
-0.0025922092609107494,
0.0455901101231575,
-0.021465951576828957,
0.00009530180977890268,
0.012844977900385857,
0.014092151075601578,
-0.03193492442369461,
0.027874784544110298,
0.006308695301413536,
-0.015293807722628117,
0.007760697044432163,
0.06397909671068192,
0.036923620849847794,
-0.035230375826358795,
0.040200866758823395,
-0.007387455087155104,
0.0019697605166584253,
0.04609990492463112,
-0.04577217996120453,
-0.008375179953873158,
-0.05276363343000412,
0.005707867443561554,
-0.051489152014255524,
0.05185328796505928,
0.012080286629498005,
0.004651866387575865,
0.005935453809797764,
-0.014001116156578064,
-0.005735177546739578,
-0.00035503480467014015,
-0.02842099219560623,
-0.01450180634856224,
0.007824420928955078,
0.03746982663869858,
0.00044919870560988784,
-0.040382932871580124,
-0.037906792014837265,
0.019608845934271812,
0.03513934463262558,
0.011625113897025585,
0.02441547065973282,
-0.06000998616218567,
0.03603148087859154,
0.03304554894566536,
-0.043332453817129135,
-0.010569113306701183,
0.045225974172353745,
-0.007401110138744116,
-0.013855461031198502,
0.013609668239951134,
0.00920814648270607,
0.051489152014255524,
-0.002211002167314291,
-0.015840014442801476,
0.0028106921818107367,
-0.0035162102431058884,
-0.02527119591832161,
-0.015849119052290916,
0.015912842005491257,
-0.009422077797353268,
0.019754501059651375,
-0.07122544199228287,
0.005421108566224575,
0.02456112578511238,
0.0036641412880271673,
-0.009144422598183155,
-0.03264499455690384,
-0.0222124345600605,
0.03661410138010979,
0.03950900211930275,
0.029622647911310196,
0.04256776347756386,
-0.00122441491112113,
0.0655812993645668,
-0.026145128533244133,
0.010541803203523159,
0.09897278249263763,
0.029149267822504044,
-0.0006736557697877288,
0.021666226908564568,
-0.010942354798316956,
-0.03976389765739441,
-0.0018218292389065027,
0.013372978195548058,
-0.020337121561169624,
-0.06401550769805908,
-0.045553699135780334,
-0.024961678311228752,
-0.05858984589576721,
-0.05582239851355553,
-0.053783223032951355,
0.009504009038209915,
-0.006345109548419714,
-0.036741551011800766,
0.026691334322094917,
0.032044168561697006,
0.03972748667001724,
-0.015785394236445427,
-0.03655948117375374,
-0.011197252199053764,
0.029877545312047005,
0.04362376406788826,
-0.04985053092241287,
-0.0766875222325325,
-0.014265116304159164,
0.02749243937432766,
-0.024324435740709305,
0.025234781205654144,
-0.022358089685440063,
0.025963058695197105,
0.024961678311228752,
-0.007228144444525242,
-0.03286347910761833,
0.025780988857150078,
0.06652805954217911,
-0.011352011002600193,
0.005166211631149054,
-0.07683317363262177,
-0.0008710870170034468,
0.0027333127800375223,
0.02350512519478798,
0.003818900091573596,
-0.033464305102825165,
-0.05957302078604698,
-0.06401550769805908,
0.08739318698644638,
-0.03743341565132141,
-0.06416116654872894,
0.02097436413168907,
-0.0029062784742563963,
0.0013438977766782045,
0.05061522126197815,
-0.06711068004369736,
-0.05589522421360016,
0.03801603615283966,
0.00007460567576345056,
0.031006373465061188,
0.012544563040137291,
-0.03683258593082428,
0.05811646953225136,
-0.002501174807548523,
-0.007260006852447987,
0.0055121430195868015,
0.006049246992915869,
0.02233988232910633,
0.0300414077937603,
-0.02736499160528183,
0.03351892903447151,
-0.03466596454381943,
0.006153936963528395,
-0.021575191989541054,
-0.004119314253330231,
0.05054239183664322,
0.07166241109371185,
0.013200012035667896,
-0.032299064099788666,
0.06259536743164062,
-0.02867588959634304,
-0.020883329212665558,
0.02873050980269909
]
|
41,712 | comm.base_comm | handle_msg | Handle a comm_msg message | def handle_msg(self, msg: MessageType) -> None:
"""Handle a comm_msg message"""
logger.debug("handle_msg[%s](%s)", self.comm_id, msg)
if self._msg_callback:
from IPython import get_ipython
shell = get_ipython()
if shell:
shell.events.trigger("pre_execute")
self._msg_callback(msg)
if shell:
shell.events.trigger("post_execute")
| (self, msg: Dict[str, Any]) -> NoneType | [
0.009726883843541145,
-0.017292236909270287,
-0.043853405863046646,
0.022787652909755707,
0.02069939486682415,
0.000757336791139096,
0.058397937566041946,
0.07781507074832916,
-0.018830953165888786,
-0.035097379237413406,
0.012529545463621616,
-0.01121064554899931,
-0.002704201964661479,
-0.04128888249397278,
-0.078327976167202,
-0.017887573689222336,
0.00520690530538559,
-0.004458155017346144,
-0.03654450550675392,
-0.03542710468173027,
-0.03555533289909363,
-0.026945849880576134,
0.02762361615896225,
-0.045868393033742905,
0.012795156799256802,
0.012547862716019154,
0.008975843898952007,
0.013344698585569859,
0.022091565653681755,
-0.0058938320726156235,
-0.031067410483956337,
-0.05587004870176315,
-0.013628628104925156,
0.026048265397548676,
-0.0605594664812088,
0.01590006612241268,
0.030957501381635666,
-0.015634454786777496,
0.007876760326325893,
-0.002688173670321703,
0.018070755526423454,
0.01573520340025425,
0.06143873557448387,
0.013894239440560341,
-0.02626808173954487,
-0.004664232954382896,
-0.03319230303168297,
0.0560898631811142,
-0.007139459252357483,
0.02974851056933403,
-0.06598161160945892,
-0.08184503763914108,
0.0056328000500798225,
0.017420463263988495,
0.0055503686890006065,
0.013024132698774338,
0.030353005975484848,
-0.035390470176935196,
-0.02833802066743374,
0.008920889347791672,
-0.028667746111750603,
0.026652760803699493,
-0.020900893956422806,
0.029198968783020973,
0.04737047106027603,
-0.046637751162052155,
0.11826132237911224,
-0.013042449951171875,
-0.0326610803604126,
-0.0035880478098988533,
-0.008522472344338894,
-0.01750289462506771,
0.008298075757920742,
0.015387160703539848,
0.01123812235891819,
0.021303890272974968,
-0.0028507462702691555,
0.050777629017829895,
0.0067273033782839775,
0.07708234339952469,
0.06865604221820831,
-0.0076569439843297005,
0.0010452736169099808,
0.032917533069849014,
0.005902991164475679,
-0.03824808448553085,
0.04348704591393471,
0.026744350790977478,
-0.04381677135825157,
0.013930875808000565,
0.010780171491205692,
-0.07499408721923828,
-0.02483927272260189,
0.009058275260031223,
-0.01263029407709837,
-0.0021386321168392897,
-0.00047970388550311327,
0.004123850725591183,
0.008820139802992344,
0.03317398577928543,
-0.017228124663233757,
0.06066937744617462,
0.032862577587366104,
-0.07730216532945633,
-0.005980842746794224,
-0.03905407711863518,
0.01886758953332901,
0.006292249541729689,
-0.04191169515252113,
-0.008357609622180462,
0.020571168512105942,
0.03491419926285744,
-0.06495580077171326,
0.0025507882237434387,
-0.013152359053492546,
-0.007217310834676027,
-0.03104909136891365,
0.027055757120251656,
-0.025388814508914948,
0.025059090927243233,
-0.09620638936758041,
-0.003730012569576502,
-0.003746040863916278,
-0.09591329842805862,
-0.008348450064659119,
0.025571994483470917,
0.0468575656414032,
-0.017054103314876556,
0.022164838388562202,
-0.022696061059832573,
-0.023465419188141823,
-0.03236798942089081,
0.005119894631206989,
-0.05015481635928154,
-0.03284426033496857,
0.04590502753853798,
-0.014645279385149479,
-0.062427908182144165,
0.04216814786195755,
-0.008627800270915031,
0.052023258060216904,
0.03169022500514984,
-0.014324713498353958,
-0.0535619743168354,
0.00979099702090025,
0.046747658401727676,
0.04733383655548096,
0.011641119606792927,
0.016898399218916893,
0.0036086554173380136,
-0.01590006612241268,
0.0007682131254114211,
-0.029968326911330223,
0.008270598948001862,
0.03040795959532261,
0.025828447192907333,
-0.018244776874780655,
-0.01132971327751875,
-0.03799163177609444,
0.008270598948001862,
0.022677743807435036,
-0.03438297659158707,
0.042790960520505905,
0.004932134412229061,
0.023044105619192123,
0.039163988083601,
-0.020387988537549973,
-0.029418785125017166,
-0.01132971327751875,
0.052133165299892426,
-0.022311381995677948,
0.021395480260252953,
-0.04715065658092499,
-0.018492069095373154,
0.041252244263887405,
0.059057388454675674,
-0.035756830126047134,
0.010890079662203789,
0.0058022416196763515,
-0.045978300273418427,
-0.025920039042830467,
0.028063250705599785,
-0.0340532511472702,
0.05634631589055061,
-0.04689420387148857,
0.06180509552359581,
0.04235132783651352,
-0.03280762583017349,
-0.007675262168049812,
-0.01905076950788498,
-0.04762692376971245,
-0.012208979576826096,
-0.001104234834201634,
-0.0034850086085498333,
0.012089911848306656,
0.055613595992326736,
-0.011457939632236958,
0.023080740123987198,
-0.02430805005133152,
0.0020768088288605213,
0.05968020111322403,
-0.0008494994835928082,
0.002214194042608142,
0.05257279798388481,
-0.008957525715231895,
0.02513236179947853,
0.01674269698560238,
0.022164838388562202,
-0.019600311294198036,
-0.0653221607208252,
-0.01466359756886959,
-0.027110710740089417,
-0.023850098252296448,
0.05718894675374031,
0.062940813601017,
-0.005124473944306374,
-0.05129053443670273,
0.025517040863633156,
-0.029052425175905228,
0.025407133623957634,
0.07737543433904648,
0.028283067047595978,
-0.054148152470588684,
-0.020626122131943703,
0.037588633596897125,
0.010716058313846588,
0.04187505692243576,
-0.006763939280062914,
0.038064904510974884,
0.010990829207003117,
-0.03282594308257103,
0.02295251376926899,
-0.025920039042830467,
0.0245461855083704,
0.011668596416711807,
0.034932516515254974,
-0.03742377087473869,
0.009516226127743721,
-0.07484754174947739,
0.07056111842393875,
-0.009552862495183945,
0.000765923410654068,
0.01511238981038332,
0.012456272728741169,
0.025828447192907333,
-0.024106550961732864,
0.041435424238443375,
0.07037793844938278,
-0.03328389301896095,
0.07290583103895187,
-0.01011156290769577,
-0.04506240040063858,
-0.009323886595666409,
-0.05795830488204956,
-0.0357385128736496,
0.020845938473939896,
-0.01568024978041649,
0.02626808173954487,
0.01401330716907978,
0.01666942425072193,
-0.038064904510974884,
0.03022477962076664,
-0.026854258030653,
0.051840078085660934,
0.0651756152510643,
0.002330971648916602,
-0.013766013085842133,
0.03471270203590393,
0.05359860882163048,
0.028118204325437546,
0.10426633059978485,
0.020607804879546165,
-0.004826805554330349,
0.011906730942428112,
-0.013610309921205044,
-0.027019120752811432,
-0.01916067861020565,
-0.02082762122154236,
-0.011348030529916286,
0.02579181268811226,
0.03791835904121399,
0.011577006429433823,
-0.005037463270127773,
-0.005715230945497751,
-0.0345478393137455,
-0.004254366736859083,
0.04630802571773529,
0.006983756087720394,
-0.04498912766575813,
-0.03352202847599983,
-0.027605298906564713,
0.03222144767642021,
-0.015203979797661304,
0.05140044167637825,
-0.001894773100502789,
0.011183168739080429,
-0.03484092652797699,
0.09591329842805862,
0.02908906154334545,
0.011595324613153934,
-0.019911717623472214,
0.023520374670624733,
-0.03502410650253296,
-0.041252244263887405,
-0.01135719008743763,
-0.017658598721027374,
-0.002177557907998562,
0.018134867772459984,
-0.031433772295713425,
-0.024399640038609505,
0.04689420387148857,
0.028411293402314186,
-0.038357991725206375,
0.022439608350396156,
0.02571853995323181,
0.08484920114278793,
0.08199158310890198,
-0.0007327219354920089,
0.012538704089820385,
0.0437801368534565,
-0.023227285593748093,
-0.022842606529593468,
-0.01401330716907978,
0.06327053904533386,
-0.03211154043674469,
-0.004950452595949173,
-0.033210620284080505,
0.016284745186567307,
0.04879928007721901,
-0.02106575481593609,
0.026927530765533447,
0.026854258030653,
-0.009113228879868984,
-0.07305237650871277,
0.012208979576826096,
-0.06019310653209686,
-0.00530765438452363,
0.009781837463378906,
0.005715230945497751,
0.0004980219528079033,
-0.04352368414402008,
-0.000748750229831785,
0.0182172991335392,
0.02661612443625927,
0.04121560975909233,
-0.008536210283637047,
-0.021633615717291832,
0.013445447199046612,
0.05037463456392288,
-0.060889191925525665,
-0.00981847383081913,
-0.052133165299892426,
-0.03956698253750801,
-0.023154012858867645,
-0.02544376812875271,
-0.033686891198158264,
0.024289732798933983,
-0.06436961889266968,
0.0033018281683325768,
-0.019728537648916245,
0.021322207525372505,
-0.028118204325437546,
0.04583175852894783,
-0.005064940545707941,
-0.13042449951171875,
0.021798476576805115,
-0.018620295450091362,
-0.0218167956918478,
0.10675758868455887,
0.036159828305244446,
-0.013930875808000565,
0.0055183121003210545,
-0.029144015163183212,
0.03744209185242653,
-0.06371017545461655,
0.029821783304214478,
-0.017667757347226143,
0.01833636686205864,
-0.025040771812200546,
0.010157357901334763,
0.042607780545949936,
-0.04989836364984512,
0.00391777278855443,
-0.037588633596897125,
-0.029968326911330223,
0.013784331269562244,
-0.013381334021687508,
0.09071097522974014,
-0.05407487973570824,
-0.025333860889077187,
-0.016541197896003723,
0.04099579155445099,
-0.014929208904504776,
-0.017255600541830063,
-0.024271413683891296,
0.002978972624987364,
0.031140681356191635,
-0.003922352101653814,
-0.033393800258636475,
-0.03381511569023132,
-0.011247281916439533,
0.014791823923587799,
0.024106550961732864,
0.011485416442155838,
0.0249674990773201,
0.019233951345086098,
-0.06436961889266968,
0.06931549310684204,
0.014892573468387127,
-0.018711885437369347,
0.03354034572839737,
0.018904225900769234,
-0.005390085745602846,
-0.040959157049655914,
-0.021432116627693176,
0.0033315951004624367,
0.008091997355222702,
0.0045543247833848,
-0.040189798921346664,
0.0007779446314089,
-0.05359860882163048,
0.0019680452533066273,
0.06942540407180786,
0.0028942516073584557,
-0.04092251881957054,
0.015029958449304104,
-0.020809302106499672,
0.006782257463783026,
0.043853405863046646,
-0.04410985857248306,
-0.05143707990646362,
0.054734326899051666,
-0.020571168512105942,
-0.017997482791543007,
0.005193166900426149,
-0.0025393394753336906,
-0.015606977045536041,
-0.022860923781991005,
-0.019142361357808113,
0.02058948576450348,
-0.021322207525372505,
0.05162025988101959,
0.02135884389281273,
-0.04169187694787979,
0.055796775966882706,
0.01952703855931759,
0.038467902690172195,
-0.013289744034409523,
-0.046454571187496185,
-0.010184834711253643,
0.049422092735767365,
0.0634903535246849,
-0.0036590301897376776,
0.025168998166918755,
0.00800956692546606,
-0.0918833315372467,
-0.018473751842975616,
0.020717712119221687,
0.031910039484500885,
-0.04938545823097229,
-0.059643566608428955,
0.033925026655197144,
-0.11261936277151108,
-0.03626973554491997,
0.022805970162153244,
0.027348846197128296,
-0.0040070731192827225,
-0.024216460064053535,
-0.010450446978211403,
-0.004623017273843288,
0.04062943160533905,
0.00225540972314775,
0.043743498623371124,
-0.012886746786534786,
-0.015863429754972458,
-0.014626961201429367,
0.042241420596838,
-0.038284722715616226,
-0.029711874201893806,
0.0372772291302681,
0.024637775495648384,
-0.04469603672623634,
0.0021122999023646116,
-0.014846778474748135,
-0.027532026171684265,
0.005055781453847885,
0.0326610803604126,
-0.03365025296807289,
0.054624419659376144,
-0.07407818734645844,
-0.022164838388562202,
0.033796798437833786,
0.03579346463084221,
0.014242282137274742,
0.07275928556919098,
-0.044329676777124405,
-0.02419814094901085,
-0.028704382479190826,
0.030682731419801712,
-0.051070719957351685,
-0.02897915244102478,
0.006654031109064817,
-0.034749336540699005,
0.004813067149370909,
-0.003359072143211961,
-0.069095678627491,
0.07517726719379425,
0.06510234624147415,
-0.017255600541830063,
-0.01544211432337761,
0.001549019943922758,
0.03134218230843544,
-0.01046876423060894,
-0.07634962350130081,
0.012437954545021057,
-0.058104850351810455,
0.013134040869772434,
-0.0019680452533066273,
-0.07605654001235962,
-0.0006743331323377788,
0.04927555099129677,
-0.09320222586393356,
-0.021871749311685562,
0.03744209185242653,
0.0036658993922173977,
0.016925876960158348,
-0.06521224975585938,
-0.0014116346137598157,
-0.0021214589942246675,
-0.001194107811897993,
0.009562021121382713,
-0.009772678837180138,
0.03145208954811096,
0.008884252980351448,
-0.006480009760707617,
0.022970832884311676,
-0.0021855721715837717,
-0.03372352570295334,
-0.10954193025827408,
0.02656117081642151,
-0.0667143315076828,
-0.04608821123838425,
-0.049055732786655426,
0.0006657465710304677,
0.03278930485248566,
0.014562848024070263,
-0.0067685190588235855,
0.03802827000617981,
-0.02353869192302227,
0.0028988311532884836,
-0.014141533523797989,
-0.015194821171462536,
-0.028850926086306572,
0.018775999546051025,
-0.010129881091415882,
0.03544542193412781,
0.012144866399466991,
-0.0528658889234066,
0.0073638553731143475,
-0.02260447107255459,
-0.029968326911330223,
0.06044955924153328,
-0.0012628004187718034,
0.01666942425072193,
0.023080740123987198,
0.04352368414402008,
0.00011756466119550169,
0.02189006842672825,
0.009571180678904057,
0.008920889347791672,
0.01963694766163826,
-0.001547875115647912,
-0.0036956663243472576,
-0.051253899931907654,
0.026890894398093224,
-0.007221890613436699,
0.03905407711863518,
-0.01840047910809517,
-0.010926716029644012,
-0.043963316828012466,
-0.03595832735300064,
-0.023410465568304062,
0.0016497692558914423,
0.015277252532541752,
-0.023154012858867645,
0.03857780992984772,
-0.05436796694993973,
0.003349913051351905,
0.0766427144408226,
-0.003846790175884962,
0.011494575068354607,
-0.008091997355222702,
0.007038710173219442,
0.004522268194705248,
0.024234777316451073,
0.044036589562892914,
0.03390670567750931,
0.023465419188141823,
-0.013994988985359669,
-0.03641628101468086,
-0.03872435539960861,
0.04890918731689453,
0.014260600320994854,
-0.007753113750368357,
0.05546705052256584,
-0.03975016623735428,
-0.02791670523583889,
0.04275432601571083,
0.012538704089820385,
0.05619977042078972,
0.001966900425031781,
-0.008243122138082981,
0.03194667771458626,
0.04792001470923424,
-0.005064940545707941,
0.023282239213585854,
0.021303890272974968,
-0.012099070474505424,
0.09027133882045746,
0.05942374840378761,
0.07334546744823456,
-0.017347192391753197,
0.023154012858867645,
-0.025755176320672035,
0.04762692376971245,
0.015652772039175034,
0.0035788887180387974,
-0.07700907438993454,
-0.010624468326568604,
0.017713552340865135,
-0.04975181818008423,
0.06759359687566757,
0.016348857432603836,
-0.02104743756353855,
0.05081426724791527,
-0.03566524013876915,
-0.0357385128736496,
-0.022494563832879066,
-0.051143988966941833,
-0.031067410483956337,
0.023447101935744286,
-0.012502067722380161,
0.006356362719088793,
-0.11012810468673706,
0.009543702937662601,
0.03046291507780552,
0.007748534437268972,
0.0006829197518527508,
0.04099579155445099,
-0.003819313133135438,
0.05946038290858269,
0.005985422059893608,
-0.04806656017899513,
0.08594828099012375,
0.040482886135578156,
0.009397158399224281,
-0.056932494044303894,
-0.0059762634336948395,
0.02366691827774048,
0.029144015163183212,
-0.03755199909210205,
-0.01732887327671051,
-0.017072420567274094,
0.003439213614910841,
-0.0058938320726156235,
0.013555355370044708,
-0.000563566223718226,
-0.007734796032309532,
0.0355919674038887,
-0.0429375059902668,
0.004107822198420763,
0.0333571657538414,
0.007299742195755243,
-0.02040630578994751,
0.01963694766163826,
-0.037698544561862946,
0.07026803493499756,
0.03258780762553215,
0.008087418042123318,
0.02494918182492256,
-0.054807599633932114,
0.02064444124698639,
-0.02377682738006115,
-0.02518731728196144,
0.06374680995941162,
0.0017573877703398466,
0.021029120311141014,
-0.001520397956483066,
-0.0008512167842127383,
-0.05554032325744629,
-0.018116550520062447,
0.05532050505280495,
-0.024674411863088608,
-0.07184338569641113,
-0.024509549140930176,
-0.0226594265550375,
-0.042790960520505905,
-0.08287084847688675,
-0.04660111293196678,
0.0010521429358050227,
0.03934716805815697,
-0.025993309915065765,
0.00111682852730155,
0.001891338499262929,
0.03639796003699303,
0.007377593778073788,
-0.08155195415019989,
-0.027935024350881577,
0.001952017075382173,
0.0018146316288039088,
-0.06634797155857086,
-0.05205989256501198,
-0.006571599747985601,
0.002585134468972683,
-0.013225630857050419,
0.027183983474969864,
-0.011375508271157742,
0.05920393019914627,
0.019417131319642067,
-0.013830126263201237,
-0.04235132783651352,
-0.010935874655842781,
0.06096246466040611,
-0.024234777316451073,
0.04216814786195755,
-0.04854282736778259,
-0.006667769514024258,
-0.040482886135578156,
0.03306407853960991,
0.031964994966983795,
-0.011741869151592255,
-0.033448755741119385,
-0.078327976167202,
0.07184338569641113,
0.009882587008178234,
-0.08052614331245422,
0.014059102162718773,
-0.016641946509480476,
-0.021029120311141014,
0.0016886950470507145,
-0.04715065658092499,
-0.09137042611837387,
0.019966673105955124,
-0.03205658495426178,
0.02005826309323311,
0.011009147390723228,
0.0012559312162920833,
0.028887562453746796,
0.0024202722124755383,
0.06341708451509476,
-0.018180662766098976,
0.018382161855697632,
0.00040900768362917006,
0.0124471141025424,
-0.0075699333101511,
-0.0005953365471214056,
-0.02377682738006115,
0.02998664416372776,
-0.014178168959915638,
-0.012291410006582737,
0.019325541332364082,
0.0560898631811142,
0.018492069095373154,
-0.02271438017487526,
0.03714900091290474,
-0.03289921581745148,
-0.004009362775832415,
0.03636132553219795
]
|
41,713 | comm.base_comm | on_close | Register a callback for comm_close
Will be called with the `data` of the close message.
Call `on_close(None)` to disable an existing callback.
| def on_close(self, callback: CommCallback | None) -> None:
"""Register a callback for comm_close
Will be called with the `data` of the close message.
Call `on_close(None)` to disable an existing callback.
"""
self._close_callback = callback
| (self, callback: Optional[Callable[[Dict[str, Any]], NoneType]]) -> NoneType | [
0.013883542269468307,
-0.0044653648510575294,
0.0008008062141016126,
0.03951804339885712,
-0.00027718121418729424,
-0.021778447553515434,
0.009348541498184204,
0.09644491970539093,
0.021273590624332428,
-0.040562573820352554,
0.025782477110624313,
-0.07057540118694305,
0.02621769905090332,
-0.05027670040726662,
-0.018958216533064842,
0.027471134439110756,
0.015772400423884392,
-0.048675090074539185,
-0.009479108266532421,
-0.008190854452550411,
0.022091805934906006,
0.015659242868423462,
-0.07924499362707138,
-0.12945206463336945,
0.0022120093926787376,
0.01909748651087284,
-0.0015417694812640548,
0.047769829630851746,
-0.009461699053645134,
0.0058754803612828255,
-0.05999083071947098,
-0.048083189874887466,
-0.01556349452584982,
0.024267910048365593,
-0.04400952160358429,
0.07207255810499191,
0.03107476234436035,
0.03349458798766136,
-0.0013742095325142145,
0.040109943598508835,
-0.00042978048441000283,
0.002493815030902624,
0.01109812967479229,
0.02264888770878315,
0.059050753712654114,
0.03840387985110283,
-0.06775517016649246,
0.027993399649858475,
0.0368022657930851,
0.001084243762306869,
-0.029055338352918625,
-0.03469580039381981,
-0.021552132442593575,
-0.010053599253296852,
-0.03934395685791969,
0.024529041722416878,
0.057379502803087234,
0.03976176679134369,
-0.015781104564666748,
-0.034591346979141235,
-0.03535733371973038,
0.03687190264463425,
0.004491478204727173,
-0.03175370767712593,
0.02470313012599945,
0.043069444596767426,
0.05107750743627548,
0.009496516548097134,
0.060791634023189545,
-0.02339746803045273,
0.050032977014780045,
0.015554789453744888,
0.008991660550236702,
0.011585576459765434,
0.028080442920327187,
0.03448689356446266,
-0.010401776060461998,
-0.002574330661445856,
-0.0176960751414299,
0.032014839351177216,
0.003869112581014633,
0.03394721820950508,
0.029333878308534622,
0.04484514519572258,
0.033599041402339935,
-0.07353489845991135,
0.0557778924703598,
0.02097764052450657,
-0.037916433066129684,
0.08356238156557083,
-0.04272126778960228,
-0.0409107506275177,
-0.0013894422445446253,
-0.010175460949540138,
-0.0001602156407898292,
-0.07409197837114334,
-0.02196994423866272,
0.04136338084936142,
0.06545720249414444,
0.004861415829509497,
-0.022631479427218437,
-0.01908007822930813,
0.011307035572826862,
-0.0604434572160244,
-0.007385696284472942,
-0.06291551142930984,
-0.019532708451151848,
-0.02705332264304161,
-0.05114714428782463,
-0.021987352520227432,
-0.029577601701021194,
-0.04658602923154831,
0.03248487785458565,
0.024111229926347733,
0.04293017461895943,
0.02696627750992775,
0.009357246570289135,
0.05281839147210121,
-0.0012066495837643743,
-0.017330490052700043,
-0.004336975049227476,
0.019515298306941986,
-0.021656583994627,
-0.06876488029956818,
-0.009653196670114994,
0.020733917132019997,
0.028533073142170906,
0.064273402094841,
0.028672343119978905,
0.031701479107141495,
0.03809051960706711,
-0.020664282143115997,
0.04066702723503113,
-0.046620845794677734,
-0.01064549945294857,
0.0279585812240839,
-0.022231075912714005,
-0.0236411914229393,
-0.00833882950246334,
-0.01871449314057827,
-0.013813906349241734,
-0.005300988908857107,
-0.03229337930679321,
0.02637437731027603,
0.0278889462351799,
0.0301520936191082,
-0.04961516708135605,
-0.055499352514743805,
-0.04864027351140976,
0.01401410810649395,
-0.015049933455884457,
-0.01007100846618414,
-0.00350570329464972,
-0.014675644226372242,
-0.00874793715775013,
0.031022535637021065,
-0.04059739038348198,
0.066536545753479,
-0.010488820262253284,
0.033442363142967224,
0.0353921502828598,
0.004108483903110027,
0.004393553361296654,
0.007033167406916618,
-0.008795811794698238,
0.009244089014828205,
-0.013343868777155876,
-0.023588964715600014,
-0.0008035263163037598,
0.05967747047543526,
-0.006550072226673365,
-0.01314366701990366,
0.021917717531323433,
-0.04136338084936142,
-0.009914329275488853,
0.0448799654841423,
0.00038789049722254276,
-0.03445207327604294,
-0.006541368085891008,
-0.00534451100975275,
0.02886383980512619,
-0.046864572912454605,
-0.029212016612291336,
0.04355689510703087,
-0.023658599704504013,
0.01840113289654255,
0.020646871998906136,
-0.02075132541358471,
-0.00932242814451456,
-0.050868600606918335,
-0.0365237258374691,
-0.03930914029479027,
-0.006106147076934576,
0.020629463717341423,
0.07036649435758591,
-0.02658328413963318,
0.03401685506105423,
0.05765804648399353,
-0.0017484993441030383,
-0.028811614960432053,
0.0037842444144189358,
0.018592631444334984,
0.0068373181857168674,
-0.06354223191738129,
-0.029124973341822624,
0.0258347038179636,
0.040109943598508835,
-0.029351288452744484,
-0.030552497133612633,
-0.0772952064871788,
0.03673263266682625,
0.024981671944260597,
-0.029194608330726624,
0.014266536571085453,
0.06765071302652359,
-0.020333513617515564,
-0.050032977014780045,
-0.01446673832833767,
0.005227001383900642,
0.0604434572160244,
-0.026931460946798325,
-0.011141651310026646,
0.01303050946444273,
0.011272217147052288,
-0.005448963958770037,
0.04540222883224487,
0.01306532695889473,
-0.021238772198557854,
0.0908740907907486,
0.004848359152674675,
-0.060408640652894974,
0.08272676169872284,
-0.023467103019356728,
-0.007999357767403126,
-0.008495509624481201,
-0.0406322106719017,
-0.006624059751629829,
-0.004508886951953173,
-0.07283854484558105,
0.021343225613236427,
0.035113610327243805,
0.009496516548097134,
-0.008948138915002346,
0.06406449526548386,
0.06127908080816269,
0.013692044652998447,
0.027227411046624184,
0.027523361146450043,
0.01760903187096119,
0.03323345631361008,
-0.03462616354227066,
-0.0729081779718399,
0.052470214664936066,
-0.04703865945339203,
0.027836719527840614,
-0.03554883226752281,
-0.07311708480119705,
-0.0034513005521148443,
-0.002411122899502516,
0.02317115291953087,
0.0022479151375591755,
0.030639540404081345,
-0.017278263345360756,
0.06392522156238556,
0.07520614564418793,
0.0070157586596906185,
0.0539325550198555,
-0.03408648818731308,
0.004830950405448675,
0.013700749725103378,
0.0864870697259903,
-0.0236411914229393,
-0.06082645431160927,
-0.061174631118774414,
-0.023240787908434868,
0.0034904705826193094,
-0.001763732172548771,
-0.10020522773265839,
0.01124610472470522,
-0.003046545200049877,
0.07527577877044678,
0.005553416907787323,
0.03177111595869064,
-0.01803554780781269,
0.025730250403285027,
0.04599412903189659,
-0.0051138438284397125,
0.010897927917540073,
-0.047700196504592896,
-0.010358254425227642,
0.0005995166138745844,
-0.01779182441532612,
-0.029960596933960915,
0.1123914048075676,
0.02445940673351288,
-0.0001504231768194586,
0.0366629958152771,
0.05226130783557892,
0.02014201693236828,
-0.02136063389480114,
-0.005122548434883356,
-0.007220312487334013,
-0.011620393954217434,
-0.005727505311369896,
-0.0729081779718399,
-0.03408648818731308,
0.03857796639204025,
0.00004682023427449167,
-0.062393248081207275,
0.0668150931596756,
0.04070184379816055,
-0.0007409633253701031,
-0.08244822174310684,
0.024720538407564163,
-0.0008334477315656841,
0.07050576061010361,
0.045193322002887726,
-0.03532251715660095,
0.02628733403980732,
0.02895088493824005,
-0.011629099026322365,
-0.10410480201244354,
-0.019428255036473274,
-0.013056622818112373,
-0.034660980105400085,
-0.014771392568945885,
-0.02766263112425804,
0.01280419435352087,
0.049580346792936325,
-0.02766263112425804,
0.0015080398879945278,
-0.045715589076280594,
0.023380059748888016,
-0.05765804648399353,
0.027314454317092896,
-0.02463349513709545,
0.01593778468668461,
-0.04157228767871857,
0.05097305402159691,
-0.021952534094452858,
-0.05623052269220352,
0.031109578907489777,
-0.04505405202507973,
0.033912401646375656,
-0.09595747292041779,
0.01961975172162056,
-0.07450979202985764,
-0.0065457201562821865,
0.03144034743309021,
0.016964904963970184,
0.05107750743627548,
-0.037846796214580536,
-0.02976910024881363,
0.023153744637966156,
0.009000365622341633,
-0.018453359603881836,
0.049580346792936325,
-0.016686363145709038,
0.03923950344324112,
-0.052017584443092346,
0.0006740481476299465,
-0.012647515162825584,
0.015363292768597603,
-0.0006784003344364464,
-0.032693784683942795,
0.05755359306931496,
-0.03718526288866997,
0.021848082542419434,
0.037777163088321686,
0.001849688240326941,
-0.03243264928460121,
-0.04745647311210632,
0.0280282162129879,
0.059120386838912964,
0.0010200486285611987,
-0.037463802844285965,
0.016416527330875397,
0.03478284180164337,
-0.03335531800985336,
-0.06037382408976555,
-0.040423303842544556,
-0.05327102169394493,
-0.030256547033786774,
-0.043069444596767426,
-0.022300710901618004,
0.0063107009045779705,
-0.030569905415177345,
0.017643850296735764,
-0.032763417810201645,
-0.003103123977780342,
0.03198002278804779,
-0.03532251715660095,
-0.08042879402637482,
0.012386382557451725,
-0.027297046035528183,
0.05038115382194519,
0.035113610327243805,
0.017295673489570618,
0.01620762050151825,
-0.0032663317397236824,
-0.014066334813833237,
-0.02318856120109558,
0.017556805163621902,
0.0014797506155446172,
0.045262958854436874,
0.027070730924606323,
-0.03582737222313881,
0.056926876306533813,
0.009479108266532421,
-0.032902687788009644,
0.01105460710823536,
0.019584933295845985,
0.0038669363129884005,
-0.04324353486299515,
-0.0019367323257029057,
0.011811891570687294,
-0.0018475120887160301,
0.036941539496183395,
0.024668311700224876,
-0.035792555660009384,
-0.006550072226673365,
0.0013535364996641874,
0.028985701501369476,
0.005536008160561323,
-0.0411892905831337,
-0.004852711223065853,
0.017095470800995827,
0.04199009761214256,
-0.008460691198706627,
-0.010454002767801285,
-0.017408831045031548,
0.014458033256232738,
-0.023501921445131302,
-0.009618379175662994,
-0.021708810701966286,
0.08370165526866913,
0.010741248726844788,
0.013857428915798664,
-0.03532251715660095,
0.03107476234436035,
0.0017430591396987438,
0.05661351606249809,
0.019445663318037987,
-0.02402418665587902,
0.03245006129145622,
-0.024790173396468163,
0.008756641298532486,
-0.01855781301856041,
0.04393988847732544,
-0.043139081448316574,
-0.02174362912774086,
0.026026200503110886,
0.011045902967453003,
0.03145775571465492,
0.0236411914229393,
-0.05431555211544037,
-0.02522539533674717,
-0.04122411087155342,
-0.0034491245169192553,
-0.054594092071056366,
-0.029525376856327057,
0.046620845794677734,
-0.05226130783557892,
-0.06932196021080017,
-0.03293750807642937,
0.050346337258815765,
-0.0033250865526497364,
-0.04439251869916916,
-0.0005113843944855034,
0.03445207327604294,
0.03462616354227066,
0.04787428304553032,
0.022770749405026436,
0.013491843827068806,
-0.005814549513161182,
-0.012473426759243011,
0.011437601409852505,
0.008830629289150238,
-0.022910021245479584,
0.025103533640503883,
0.007229016628116369,
-0.008408465422689915,
-0.05006779730319977,
-0.07071466743946075,
-0.025852112099528313,
0.010514933615922928,
0.01993311010301113,
-0.06152280792593956,
0.0035601058043539524,
-0.015476450324058533,
-0.028846431523561478,
0.023954549804329872,
0.011437601409852505,
-0.025939157232642174,
0.10856146365404129,
0.01124610472470522,
0.00020360171038191766,
-0.06845152378082275,
0.028167488053441048,
-0.08300530165433884,
-0.03333790972828865,
0.028063034638762474,
0.011237399652600288,
-0.05574307590723038,
-0.02545171044766903,
-0.11002380400896072,
-0.010349549353122711,
0.01109812967479229,
-0.0365237258374691,
0.0033838413655757904,
-0.03514842689037323,
0.010488820262253284,
0.021482497453689575,
0.002561274217441678,
0.0015232726000249386,
-0.06249770149588585,
0.018679674714803696,
-0.03607109561562538,
0.004478421527892351,
0.012908647768199444,
0.05059006065130234,
0.02015942521393299,
-0.011498532257974148,
-0.016016123816370964,
-0.017896277830004692,
-0.06845152378082275,
-0.0341213084757328,
-0.009383359923958778,
-0.018018139526247978,
-0.02848084643483162,
0.018314089626073837,
0.004478421527892351,
0.016033532097935677,
-0.004260811023414135,
0.014370989054441452,
-0.008695710450410843,
-0.0046786232851445675,
0.04804837331175804,
-0.08467654883861542,
0.015650538727641106,
-0.031022535637021065,
-0.007059280760586262,
0.024807583540678024,
-0.03180593252182007,
-0.0006832965882495046,
0.008556440472602844,
0.04978925362229347,
-0.019445663318037987,
0.0368022657930851,
0.031335894018411636,
0.0022979655768722296,
0.01704324409365654,
0.005862423684448004,
-0.0823785811662674,
0.008795811794698238,
0.025277622044086456,
0.014223014004528522,
-0.026252515614032745,
0.04460142180323601,
-0.03628000244498253,
-0.04021439701318741,
0.07673812657594681,
0.011629099026322365,
-0.027018504217267036,
0.06113981083035469,
0.05358437821269035,
0.06096572428941727,
-0.02553875371813774,
0.008077696897089481,
-0.020803552120923996,
-0.006023455411195755,
0.021987352520227432,
0.014588600024580956,
-0.00029622213332913816,
0.04453178867697716,
0.00501809548586607,
0.06047827750444412,
-0.0020672986283898354,
-0.0003802741412073374,
-0.07085394114255905,
-0.011341853067278862,
0.016982313245534897,
-0.007655533030629158,
-0.026339560747146606,
-0.032902687788009644,
0.062010254710912704,
0.015546085312962532,
0.04376579821109772,
0.008965547196567059,
-0.0030226081144064665,
0.04122411087155342,
-0.017844051122665405,
-0.033303093165159225,
-0.030587315559387207,
0.030256547033786774,
0.01923675835132599,
0.014214309863746166,
0.012473426759243011,
-0.046411942690610886,
0.012377678416669369,
0.0011109010083600879,
0.04024921730160713,
-0.022822976112365723,
0.020733917132019997,
-0.0007072337321005762,
0.00701140658929944,
-0.07931463420391083,
0.04999816045165062,
-0.03387758508324623,
0.027610404416918755,
-0.037324532866477966,
0.019445663318037987,
-0.03641927242279053,
-0.03184074908494949,
-0.01833149790763855,
0.01620762050151825,
-0.00015409535262733698,
-0.020890595391392708,
-0.020107198506593704,
0.07005313038825989,
0.04588967561721802,
-0.011489828117191792,
0.026792189106345177,
-0.0006713280454277992,
-0.0353921502828598,
0.014849732629954815,
-0.06573574244976044,
0.03392980992794037,
-0.040040310472249985,
-0.028585299849510193,
-0.026026200503110886,
0.07297781854867935,
0.013692044652998447,
-0.0004539896617643535,
0.03711562603712082,
-0.032084472477436066,
-0.0031553504522889853,
-0.024146048352122307,
0.030099866911768913,
-0.01984606683254242,
-0.012908647768199444,
0.033442363142967224,
0.05097305402159691,
-0.04588967561721802,
-0.022474799305200577,
0.03607109561562538,
0.019201939925551414,
0.02499908022582531,
0.013134962879121304,
-0.09491294622421265,
-0.013169780373573303,
0.036628179252147675,
0.005866775754839182,
-0.011620393954217434,
0.035792555660009384,
-0.007825269363820553,
-0.02599138393998146,
0.007398752961307764,
0.015093456022441387,
0.04279090464115143,
-0.02637437731027603,
-0.009757649153470993,
-0.0007083218079060316,
0.008839333429932594,
0.013056622818112373,
-0.0048788245767354965,
0.024372361600399017,
-0.030970308929681778,
-0.018296681344509125,
-0.06061754748225212,
-0.02310151793062687,
0.021517314016819,
0.018923398107290268,
-0.0022141856607049704,
0.005061617586761713,
-0.01948048174381256,
-0.006637116428464651,
0.05536007881164551,
0.05797140300273895,
0.06577055901288986,
0.01552867703139782,
0.04780464619398117,
-0.006624059751629829,
-0.018749309703707695,
0.05128641426563263,
0.03847351670265198,
-0.009688014164566994,
0.019410844892263412,
0.013927063904702663,
-0.015476450324058533,
0.004012735560536385,
0.025573572143912315,
-0.011228695511817932,
-0.04421842843294144,
-0.029124973341822624,
-0.05347992479801178,
-0.05522080883383751,
-0.047386836260557175,
-0.02552134543657303,
0.01760903187096119,
0.008787106722593307,
-0.030099866911768913,
0.0054881335236132145,
0.0012316746870055795,
0.03198002278804779,
0.004952812101691961,
-0.02529503032565117,
-0.0627066045999527,
0.02667032741010189,
0.02642660401761532,
-0.019201939925551414,
-0.049197353422641754,
-0.009400768205523491,
0.007733872625976801,
-0.01317848451435566,
-0.007120211608707905,
-0.0027614757418632507,
-0.014806210063397884,
0.012186180800199509,
0.013091440312564373,
-0.007694703061133623,
0.030361000448465347,
0.05744913965463638,
0.005866775754839182,
-0.00897425226867199,
-0.058458853513002396,
0.011272217147052288,
-0.019376028329133987,
0.030169503763318062,
0.006819909438490868,
-0.029420923441648483,
-0.04028403386473656,
-0.07945390045642853,
0.0770166665315628,
-0.03634963929653168,
-0.03236301615834236,
-0.0025917396415024996,
-0.006241065450012684,
-0.03053508885204792,
0.011768369004130363,
-0.08056806772947311,
-0.055185992270708084,
0.04418361186981201,
0.0014666939387097955,
0.05664833262562752,
0.020194243639707565,
-0.03690671920776367,
0.032397832721471786,
0.016599319875240326,
-0.010079712606966496,
0.0019661097321659327,
0.008460691198706627,
0.0151108643040061,
0.044357698410749435,
-0.008765346370637417,
0.057762499898672104,
-0.03575773909687996,
0.06737217307090759,
-0.016782112419605255,
-0.0021195251028984785,
0.03795124962925911,
0.07283854484558105,
-0.009748945012688637,
-0.07987171411514282,
0.0905955508351326,
0.00585371907800436,
-0.0001411747361999005,
0.0365237258374691
]
|
41,714 | comm.base_comm | on_msg | Register a callback for comm_msg
Will be called with the `data` of any comm_msg messages.
Call `on_msg(None)` to disable an existing callback.
| def on_msg(self, callback: CommCallback | None) -> None:
"""Register a callback for comm_msg
Will be called with the `data` of any comm_msg messages.
Call `on_msg(None)` to disable an existing callback.
"""
self._msg_callback = callback
| (self, callback: Optional[Callable[[Dict[str, Any]], NoneType]]) -> NoneType | [
0.00014705762441735715,
0.00949400570243597,
-0.01788129284977913,
0.03195766732096672,
0.01845751889050007,
0.029853984713554382,
0.05506157502532005,
0.047671250998973846,
0.018119100481271744,
-0.02507954277098179,
0.04554927721619606,
-0.03790285065770149,
0.03157351538538933,
-0.037610165774822235,
-0.02778688818216324,
-0.0018430078634992242,
0.012539771385490894,
-0.03075033612549305,
-0.03459184244275093,
0.006077810190618038,
0.021402671933174133,
0.03358573094010353,
-0.04009799659252167,
-0.06929343938827515,
-0.0064711072482168674,
0.054768890142440796,
-0.00955803133547306,
0.008762290701270103,
0.04979322478175163,
0.005990919191390276,
-0.04353706166148186,
-0.04134191572666168,
0.006356776691973209,
-0.015612974762916565,
-0.06793976575136185,
0.028701532632112503,
0.06933002173900604,
0.014369059354066849,
-0.009896449744701385,
-0.013637344352900982,
0.04704929515719414,
0.005538170225918293,
0.022756345570087433,
0.06102505698800087,
0.05630549043416977,
0.012887335382401943,
-0.03746382147073746,
0.06040309742093086,
0.01156110130250454,
0.012219645082950592,
-0.04386633262038231,
-0.04975663870573044,
-0.0034985137172043324,
0.001322804018855095,
-0.030183255672454834,
0.01933557726442814,
0.023762455210089684,
-0.01223793812096119,
-0.006384215783327818,
0.0048156012780964375,
-0.03790285065770149,
0.023908797651529312,
0.02217097394168377,
-0.01635383628308773,
0.00327671249397099,
-0.012320256792008877,
0.08590337634086609,
0.0029131416231393814,
0.03188449516892433,
-0.0008157482370734215,
0.019170939922332764,
0.012658674269914627,
0.012951361015439034,
-0.00829124916344881,
0.03358573094010353,
0.07467154413461685,
-0.009420834481716156,
0.01415869127959013,
-0.026177115738391876,
0.08363506197929382,
0.034171104431152344,
0.005968052893877029,
0.02109169401228428,
0.03750040754675865,
0.01953679881989956,
-0.045988306403160095,
-0.009196747094392776,
-0.0199392419308424,
-0.02493319846689701,
0.0480005219578743,
-0.025244178250432014,
-0.04690295085310936,
-0.011716591194272041,
-0.015393460169434547,
-0.010737922042608261,
-0.04573220759630203,
-0.006096103228628635,
0.032122302800416946,
0.03965896740555763,
0.055317677557468414,
-0.024073433130979538,
0.05114689841866493,
0.013518440537154675,
-0.06702512502670288,
0.008487897925078869,
-0.05967138335108757,
-0.029140561819076538,
-0.0026982000563293695,
-0.027292979881167412,
0.030585698783397675,
0.007614412344992161,
-0.027256395667791367,
-0.020634371787309647,
0.03309182450175285,
0.00771959638223052,
0.0445980466902256,
-0.02540881372988224,
-0.00606409041211009,
-0.02628687210381031,
0.008771437220275402,
-0.04697612300515175,
-0.009997060522437096,
0.0053186556324362755,
-0.10631823539733887,
-0.035232093185186386,
-0.010033645667135715,
0.06907392293214798,
0.03453696146607399,
0.06632999330759048,
-0.061464086174964905,
0.008359847590327263,
-0.0174056775867939,
0.03336621820926666,
-0.07141541689634323,
-0.03268938139081001,
0.040500443428754807,
-0.008405579254031181,
-0.06109822914004326,
0.026945415884256363,
-0.027384445071220398,
0.009324796497821808,
0.01419527642428875,
-0.02844543196260929,
-0.0025953026488423347,
0.00889034103602171,
0.011305001564323902,
-0.007865939289331436,
0.011570247821509838,
-0.01861300878226757,
0.031262535601854324,
-0.008062588050961494,
-0.028902754187583923,
0.007554960437119007,
-0.04569562152028084,
0.01321660727262497,
0.07445203512907028,
-0.027329565957188606,
-0.005076274741441011,
-0.022481951862573624,
0.026103943586349487,
0.029616177082061768,
0.01415869127959013,
0.015210531651973724,
0.009475712664425373,
0.03270767256617546,
0.04631757736206055,
-0.02034168504178524,
-0.05411034822463989,
-0.015667853876948357,
0.05663476511836052,
0.01833861507475376,
0.006699768360704184,
-0.0007888805703260005,
-0.029488125815987587,
0.02087217941880226,
0.026305165141820908,
-0.03133570775389671,
-0.007445203140377998,
0.0001686375035205856,
0.0001391974074067548,
-0.007943684235215187,
0.053415216505527496,
0.0015663281083106995,
0.02932349033653736,
-0.06168359890580177,
0.0709763839840889,
0.05019566789269447,
-0.012210499495267868,
0.0035396728198975325,
-0.04803710803389549,
-0.030256427824497223,
-0.025518571957945824,
0.006237872876226902,
0.0010426943190395832,
0.003724888199940324,
0.00916930753737688,
0.01999412104487419,
0.03391500562429428,
-0.010920850560069084,
-0.04309803247451782,
0.0287198256701231,
-0.005176885519176722,
-0.011689151637256145,
0.031866200268268585,
-0.018841668963432312,
0.006937575526535511,
0.0032081142999231815,
0.0002663900959305465,
0.008318688720464706,
-0.0777081623673439,
0.017094697803258896,
-0.008163198828697205,
-0.007582399994134903,
0.03378695249557495,
0.06043968349695206,
-0.04426877573132515,
-0.057000622153282166,
0.012109887786209583,
-0.015768464654684067,
0.05663476511836052,
0.030110085383057594,
0.017177017405629158,
-0.028061281889677048,
-0.009402541443705559,
-0.0007248554611578584,
0.03969555348157883,
0.010719629004597664,
-0.04148825630545616,
0.04225656017661095,
0.006004638504236937,
-0.0287198256701231,
0.04613465070724487,
-0.031244242563843727,
0.02046973630785942,
-0.006370496470481157,
-0.026177115738391876,
0.009237905964255333,
0.0014359912602230906,
-0.04291510209441185,
0.013518440537154675,
0.018805082887411118,
0.011981838382780552,
0.019811192527413368,
0.05334204435348511,
0.07192761451005936,
0.0028216771315783262,
0.011341586709022522,
0.038561396300792694,
-0.008574788458645344,
0.08100088685750961,
-0.052610330283641815,
-0.05582987889647484,
0.015786757692694664,
-0.04712246358394623,
-0.020762421190738678,
0.029982034116983414,
-0.054037176072597504,
0.04280534386634827,
-0.0150367496535182,
0.03870774060487747,
-0.02067095786333084,
0.022280730307102203,
-0.03634795919060707,
0.052024956792593,
0.08934243768453598,
-0.0003695733903441578,
-0.009109855629503727,
0.009448274038732052,
0.01297880057245493,
0.03797602280974388,
0.13478195667266846,
0.00712965102866292,
-0.008483324199914932,
-0.025847842916846275,
-0.003148662392050028,
-0.020707542076706886,
-0.0398784838616848,
-0.07683010399341583,
0.03462842479348183,
0.04580537602305412,
0.03444549813866615,
-0.02533564157783985,
0.008460458368062973,
-0.02711005136370659,
-0.0036471434868872166,
-0.017085552215576172,
0.03142717108130455,
0.019445333629846573,
-0.05528109148144722,
-0.060183584690093994,
0.0062607391737401485,
-0.02290268801152706,
-0.03303694725036621,
0.06750073283910751,
0.008108319714665413,
-0.03252474591135979,
0.018055075779557228,
0.10192794352769852,
0.028280796483159065,
-0.03248815983533859,
0.006416228599846363,
0.00843759160488844,
-0.056122563779354095,
-0.01705811358988285,
-0.03459184244275093,
-0.03863456845283508,
-0.03323816880583763,
0.018969718366861343,
-0.0405736118555069,
0.01585078239440918,
-0.0001536316267447546,
-0.0011433052131906152,
-0.060586027801036835,
0.010609871707856655,
0.02555515617132187,
0.07983013987541199,
0.0932205319404602,
0.004628099035471678,
0.04441512003540993,
0.02184170112013817,
0.0021151145920157433,
-0.0628909319639206,
-0.0715983435511589,
0.0177349504083395,
-0.04913468286395073,
0.000021615613150061108,
-0.015466632321476936,
-0.00033784666447900236,
0.05656159296631813,
-0.0017984190490096807,
-0.011259268969297409,
-0.04181753098964691,
0.006571718025952578,
-0.07485447824001312,
-0.03563453629612923,
-0.01813739351928234,
-0.00239865412004292,
-0.027219809591770172,
0.027549080550670624,
0.018073368817567825,
-0.04170777276158333,
0.014981870539486408,
-0.04145167022943497,
0.02683565951883793,
-0.014945285394787788,
0.01705811358988285,
-0.03867115452885628,
0.01898801140487194,
0.033293046057224274,
-0.02121974341571331,
0.02359781786799431,
-0.040793128311634064,
-0.007239408325403929,
0.0028491164557635784,
0.010884265415370464,
-0.028152745217084885,
0.013975761830806732,
-0.04576879367232323,
0.027055174112319946,
-0.021859994158148766,
-0.004177636932581663,
0.019079476594924927,
0.039037011563777924,
-0.0314088799059391,
-0.09007415175437927,
0.06054944172501564,
-0.02195145934820175,
-0.009187600575387478,
0.097318135201931,
0.023158788681030273,
-0.001836148090660572,
-0.0029703069012612104,
0.00011018603254342452,
0.056744519621133804,
-0.03579917177557945,
-0.01845751889050007,
-0.027055174112319946,
0.03272596746683121,
-0.05081762745976448,
-0.017862999811768532,
-0.005766831338405609,
-0.055646948516368866,
-0.011963545344769955,
-0.040646784007549286,
0.0004201646370347589,
0.016509326174855232,
-0.0391833558678627,
0.06750073283910751,
-0.044634632766246796,
0.01878678984940052,
-0.008163198828697205,
0.018750203773379326,
-0.05751282349228859,
-0.008730278350412846,
-0.07057394087314606,
0.04020775482058525,
0.039841897785663605,
-0.005529023706912994,
-0.02487831935286522,
-0.04986639693379402,
0.01931728422641754,
-0.015210531651973724,
0.01212818082422018,
0.010600725188851357,
0.012384281493723392,
0.053159117698669434,
-0.04898833855986595,
0.09153758734464645,
-0.0012210499262437224,
0.02392709068953991,
0.013600758276879787,
0.03272596746683121,
0.04006141424179077,
-0.046463921666145325,
-0.01695750281214714,
-0.00792539119720459,
-0.012484892271459103,
-0.001836148090660572,
-0.01720445603132248,
-0.026250286027789116,
-0.05400058999657631,
-0.022134387865662575,
0.04481756314635277,
0.04145167022943497,
-0.017268480733036995,
0.01017084252089262,
0.008721131831407547,
0.0063247643411159515,
0.027530787512660027,
-0.028024695813655853,
-0.008606800809502602,
0.037683337926864624,
-0.018219711259007454,
-0.030091792345046997,
-0.018411785364151,
0.06812269240617752,
0.00034584981040097773,
-0.009640349075198174,
-0.04986639693379402,
-0.0033796101342886686,
-0.019244112074375153,
0.054585959762334824,
0.03462842479348183,
-0.045915134251117706,
0.011067193932831287,
0.026945415884256363,
-0.00811289343982935,
-0.009228759445250034,
-0.0006059517036192119,
-0.054439619183540344,
0.034225981682538986,
0.0635128915309906,
0.0010455525480210781,
0.054439619183540344,
0.04708588123321533,
-0.09036684036254883,
-0.017524581402540207,
-0.025573449209332466,
0.02473197691142559,
-0.04097605496644974,
-0.033896710723638535,
0.03285401687026024,
-0.11985496431589127,
-0.04276875779032707,
-0.00021894293604418635,
0.06750073283910751,
-0.003240126883611083,
0.007966550067067146,
-0.028628360480070114,
-0.014012347906827927,
0.0493541955947876,
0.0014760069316253066,
0.046061478555202484,
0.007929964922368526,
-0.012448306195437908,
0.01296965405344963,
0.03664064407348633,
-0.03995165601372719,
-0.018000196665525436,
0.04617123678326607,
0.02400026097893715,
-0.010079378262162209,
-0.010326332412660122,
-0.05886649712920189,
-0.008721131831407547,
0.023140495643019676,
-0.008007708936929703,
-0.04858589544892311,
-0.01230196375399828,
-0.03757357969880104,
-0.031207658350467682,
0.04452487453818321,
0.03265279531478882,
0.022591710090637207,
0.06563486158847809,
-0.0031052168924361467,
0.004479469731450081,
-0.05462254583835602,
0.040244340896606445,
-0.040244340896606445,
-0.05231764540076256,
-0.012064156122505665,
-0.004550354555249214,
-0.010994022712111473,
-0.03881749510765076,
-0.07397641986608505,
-0.0009912456152960658,
0.03969555348157883,
-0.025445399805903435,
0.014167837798595428,
0.007952830754220486,
0.03812236711382866,
-0.024292947724461555,
-0.03393329679965973,
-0.007253128103911877,
-0.07141541689634323,
-0.0011027178261429071,
-0.036585766822099686,
-0.07009832561016083,
-0.031536929309368134,
0.01419527642428875,
-0.01825629733502865,
-0.016372129321098328,
-0.005812563467770815,
-0.0025015517603605986,
-0.015146506950259209,
-0.0810740515589714,
-0.016536766663193703,
-0.027622252702713013,
-0.04920785501599312,
0.01835690811276436,
-0.011295855045318604,
0.025866135954856873,
0.00006448955537052825,
-0.005785123910754919,
-0.0046189529821276665,
0.03040277026593685,
0.03726259991526604,
-0.06954953819513321,
0.0378296822309494,
-0.03386012464761734,
-0.02623199298977852,
-0.0022500245831906796,
-0.02663443610072136,
0.004948224872350693,
0.012649528682231903,
0.0098049845546484,
0.013637344352900982,
0.005981772672384977,
0.006987880915403366,
-0.03468330577015877,
-0.015914807096123695,
-0.04979322478175163,
-0.03197595849633217,
0.02400026097893715,
0.01918923296034336,
0.033695489168167114,
-0.06790318340063095,
0.030860092490911484,
-0.02372586913406849,
-0.05857380852103233,
0.08034233748912811,
-0.03316499665379524,
0.01662822999060154,
0.03027472086250782,
0.044159017503261566,
0.013719662092626095,
0.009274491108953953,
0.0022443081252276897,
-0.025390520691871643,
0.024841735139489174,
0.04880541190505028,
-0.045037075877189636,
-0.028975926339626312,
0.010115964338183403,
-0.004948224872350693,
0.04609806463122368,
0.0005039117531850934,
-0.034500375390052795,
-0.08473262935876846,
-0.009740959852933884,
-0.00851533655077219,
0.012484892271459103,
-0.003102930262684822,
-0.009521445259451866,
0.05601280555129051,
-0.021585600450634956,
0.020158756524324417,
0.02493319846689701,
-0.038415051996707916,
0.02743932418525219,
-0.013033678755164146,
-0.030768629163503647,
0.01668310910463333,
0.02987227775156498,
0.033695489168167114,
0.03137229382991791,
-0.00035928364377468824,
-0.032195474952459335,
-0.0013879725011065602,
-0.007495508529245853,
0.052610330283641815,
-0.020835593342781067,
-0.023067325353622437,
0.03285401687026024,
-0.02866494655609131,
-0.061207983642816544,
0.04346388950943947,
0.014112958684563637,
0.061793357133865356,
-0.018878255039453506,
0.017853854224085808,
-0.029360076412558556,
0.004648678936064243,
0.005469571799039841,
0.02204292267560959,
0.013646489940583706,
-0.030695457011461258,
0.04489073529839516,
0.08568385988473892,
0.0831228569149971,
-0.003855224931612611,
0.029049096629023552,
-0.02184170112013817,
0.01628066599369049,
-0.03393329679965973,
-0.02359781786799431,
-0.06376899033784866,
-0.027055174112319946,
-0.019353870302438736,
-0.021109987050294876,
0.08553751558065414,
0.021402671933174133,
-0.018292883411049843,
0.04401267692446709,
-0.0533786304295063,
-0.03859798237681389,
-0.031866200268268585,
-0.013125143013894558,
-0.046390749514102936,
-0.043756574392318726,
0.002867409260943532,
0.016710547730326653,
-0.13909907639026642,
-0.02912226878106594,
0.055646948516368866,
0.008542776107788086,
0.025390520691871643,
0.0300734993070364,
-0.04456146061420441,
0.020853886380791664,
0.0029268611688166857,
-0.029561297968029976,
0.07492764294147491,
0.060512855648994446,
0.016161762177944183,
-0.06007382646203041,
0.008926927112042904,
0.03528697043657303,
0.04576879367232323,
-0.06658609211444855,
-0.02540881372988224,
-0.002858262974768877,
0.012832457199692726,
0.01270440686494112,
0.016417862847447395,
0.02345147542655468,
-0.0324515737593174,
-0.003882664255797863,
-0.02926861122250557,
-0.041890699416399,
0.06461045891046524,
0.036110151559114456,
-0.028610067442059517,
0.06395191699266434,
-0.036585766822099686,
0.03536014258861542,
0.042878516018390656,
0.06095188483595848,
0.07280567288398743,
-0.018969718366861343,
0.044634632766246796,
0.0014462809776887298,
-0.006800379138439894,
0.02114657126367092,
0.0034687877632677555,
0.01885996200144291,
0.010308039374649525,
0.030658870935440063,
0.010692189447581768,
0.020707542076706886,
0.05008591338992119,
-0.006525985896587372,
-0.057476237416267395,
-0.031536929309368134,
-0.0048659066669642925,
-0.06574461609125137,
-0.06197628751397133,
-0.028006402775645256,
-0.0017881292151287198,
0.041598014533519745,
-0.026982001960277557,
-0.028171038255095482,
-0.021988045424222946,
0.009100709110498428,
-0.002897135214880109,
-0.04752491042017937,
-0.07262274622917175,
-0.008762290701270103,
0.014469670131802559,
-0.055646948516368866,
-0.03559795022010803,
0.022957567125558853,
-0.021384378895163536,
-0.006274458486586809,
-0.02731127291917801,
0.008208931423723698,
0.008181491866707802,
0.014625159092247486,
0.011689151637256145,
-0.03298206627368927,
0.0027873779181391,
0.04573220759630203,
-0.021475844085216522,
0.021512430161237717,
-0.034774769097566605,
0.030896678566932678,
-0.057549409568309784,
0.0317564457654953,
-0.003148662392050028,
0.020396564155817032,
-0.0014645738992840052,
-0.06768366694450378,
0.07536667585372925,
-0.007875085808336735,
-0.049098096787929535,
-0.00927906483411789,
-0.023012446239590645,
-0.05557377636432648,
0.0022100089117884636,
-0.07126907259225845,
-0.05751282349228859,
0.0466102659702301,
-0.0021997191943228245,
0.00018021347932517529,
0.007495508529245853,
0.013088557869195938,
0.027677131816744804,
0.017497142776846886,
0.015622121281921864,
-0.05209812894463539,
0.009338516741991043,
-0.005858295597136021,
0.03600039333105087,
-0.023872211575508118,
0.04291510209441185,
-0.04145167022943497,
0.03907359763979912,
0.006356776691973209,
-0.035908930003643036,
0.029378369450569153,
0.06947636604309082,
0.008007708936929703,
-0.05765916407108307,
0.05956162512302399,
0.016170907765626907,
0.003951262682676315,
0.041598014533519745
]
|
41,715 | comm.base_comm | open | Open the frontend-side version of this comm | def open(
self, data: MaybeDict = None, metadata: MaybeDict = None, buffers: BuffersType = None
) -> None:
"""Open the frontend-side version of this comm"""
if data is None:
data = self._open_data
comm_manager = comm.get_comm_manager()
if comm_manager is None:
msg = "Comms cannot be opened without a comm_manager." # type:ignore[unreachable]
raise RuntimeError(msg)
comm_manager.register_comm(self)
try:
self.publish_msg(
"comm_open",
data=data,
metadata=metadata,
buffers=buffers,
target_name=self.target_name,
target_module=self.target_module,
)
self._closed = False
except Exception:
comm_manager.unregister_comm(self)
raise
| (self, data: Optional[Dict[str, Any]] = None, metadata: Optional[Dict[str, Any]] = None, buffers: Optional[List[bytes]] = None) -> NoneType | [
0.031648099422454834,
-0.06790859252214432,
-0.03354627639055252,
-0.002472507767379284,
0.04154700040817261,
0.002654342446476221,
0.021571798250079155,
0.015566820278763771,
-0.03732488676905632,
-0.01192125678062439,
0.005601393990218639,
-0.04225659742951393,
-0.002561207627877593,
0.00288496189750731,
-0.04654967039823532,
-0.017633525654673576,
-0.02861456573009491,
-0.0321093387901783,
-0.024623071774840355,
-0.011167308315634727,
0.003315156092867255,
-0.000956295058131218,
-0.02006390132009983,
-0.04200823977589607,
-0.000921369472052902,
0.0828101634979248,
-0.04190180078148842,
0.04218563809990883,
-0.026148710399866104,
-0.04161795973777771,
0.03732488676905632,
-0.036934610456228256,
0.02588260918855667,
0.0034659458324313164,
0.029324162751436234,
0.07078246027231216,
0.01702149771153927,
-0.013491244055330753,
-0.012382496148347855,
-0.026468029245734215,
0.01206317637115717,
-0.056767892092466354,
0.05541965365409851,
-0.00008897701627574861,
-0.02660994790494442,
-0.0017640178557485342,
-0.030122462660074234,
0.03728940710425377,
0.020418699830770493,
-0.017686745151877403,
-0.0055348691530525684,
-0.030033761635422707,
-0.02432149276137352,
-0.03853120654821396,
-0.04832366853952408,
0.05637761205434799,
0.05627117305994034,
0.05417785421013832,
-0.033705934882164,
-0.025953570380806923,
-0.03877956420183182,
-0.011282618157565594,
-0.00011794305464718491,
-0.027035707607865334,
-0.0010605172719806433,
0.0025368151254951954,
0.050062183290719986,
-0.030920760706067085,
-0.011406797915697098,
0.04342743754386902,
0.027745306491851807,
0.03049500100314617,
-0.03331565484404564,
0.004430556669831276,
0.053716614842414856,
0.021678239107131958,
0.01522976066917181,
0.023505454882979393,
-0.032960858196020126,
-0.011078608222305775,
0.033776894211769104,
-0.021376658231019974,
-0.03179001808166504,
0.021695978939533234,
-0.002312848111614585,
-0.012976785190403461,
0.03432683274149895,
0.04261139780282974,
-0.06407675892114639,
0.015424900688230991,
-0.009025207720696926,
0.024729512631893158,
-0.036544330418109894,
0.011947866529226303,
0.05172973871231079,
-0.07117274403572083,
-0.001352672348730266,
0.04786242917180061,
0.008759108372032642,
0.0643605962395668,
-0.013757343403995037,
0.06482183188199997,
-0.04523691162467003,
-0.018928542733192444,
-0.004153369460254908,
-0.05577445402741432,
-0.014422591775655746,
0.0764947310090065,
-0.02841942571103573,
-0.03860216587781906,
-0.09380894154310226,
0.016081279143691063,
-0.0034260309766978025,
0.0076547954231500626,
-0.028632305562496185,
0.027958186343312263,
0.013030004687607288,
0.05240385979413986,
0.025634249672293663,
-0.0024436803068965673,
-0.13709445297718048,
0.0412631593644619,
-0.02511979080736637,
-0.024144092574715614,
-0.007246776018291712,
0.08337783813476562,
0.0321802981197834,
-0.031364258378744125,
0.02283133566379547,
-0.04005684331059456,
0.027266327291727066,
0.009118342772126198,
0.032375436276197433,
0.03539123013615608,
0.0003456521371845156,
0.03049500100314617,
-0.020099380984902382,
0.0023106306325644255,
-0.04101480171084404,
0.03799900785088539,
0.007854369468986988,
-0.03555089235305786,
-0.055880893021821976,
0.039311762899160385,
-0.04076644033193588,
0.029874103143811226,
0.023966694250702858,
-0.0321802981197834,
0.016542518511414528,
0.03484129160642624,
0.03585246950387955,
-0.03455745428800583,
0.004692221060395241,
0.013171924278140068,
0.002255193190649152,
0.002301760483533144,
-0.03831832483410835,
-0.02998054213821888,
0.007610445376485586,
0.06084808334708214,
-0.027780786156654358,
0.0009618387557566166,
0.026698648929595947,
0.04250495880842209,
-0.010502059943974018,
-0.016923926770687103,
-0.05843544751405716,
-0.07117274403572083,
-0.019070463255047798,
0.02820654585957527,
0.03411395475268364,
0.0018128027440980077,
0.007561660371720791,
-0.03771516680717468,
-0.019496222957968712,
-0.025102050974965096,
-0.003922749776393175,
-0.05481649562716484,
0.01753595657646656,
-0.044775672256946564,
-0.03574603050947189,
0.02006390132009983,
-0.06776666641235352,
0.06829886883497238,
-0.04200823977589607,
0.05212001875042915,
0.022849075496196747,
-0.05439073592424393,
0.07755912840366364,
0.0010738222626969218,
-0.04615939036011696,
0.007725755218416452,
0.008741368539631367,
-0.016719916835427284,
-0.012950175441801548,
-0.020081641152501106,
0.018289905041456223,
-0.01661347784101963,
-0.043640315532684326,
0.013917002826929092,
0.0360298715531826,
0.018272165209054947,
0.06017396226525307,
0.03163035959005356,
0.010262570343911648,
0.011522107757627964,
0.02492465265095234,
-0.04654967039823532,
0.0766366496682167,
-0.013775083236396313,
-0.03452197462320328,
-0.001469090930186212,
-0.022050777450203896,
0.044172514230012894,
0.042682357132434845,
0.001200773986056447,
-0.024853691458702087,
-0.04686899110674858,
0.0010350161464884877,
-0.008444223552942276,
0.08437127619981766,
0.012347016483545303,
0.001940308720804751,
0.046691589057445526,
-0.015628909692168236,
-0.01139792799949646,
0.01192125678062439,
-0.02966122329235077,
0.00942879170179367,
0.04122767969965935,
-0.028827443718910217,
-0.001935873762704432,
-0.051587820053100586,
0.006750056985765696,
-0.008382134139537811,
0.0003470380906946957,
-0.014901570975780487,
0.05112658068537712,
-0.08635815232992172,
0.02127021923661232,
0.03042404167354107,
0.006000543478876352,
0.02966122329235077,
0.018768884241580963,
-0.020720280706882477,
-0.0490332655608654,
-0.011318097822368145,
-0.008027334697544575,
-0.003133321413770318,
-0.00832891371101141,
0.008750238455832005,
-0.02428601309657097,
-0.010945558547973633,
-0.02307969518005848,
-0.02877422422170639,
-0.03391881287097931,
-0.044491834938526154,
-0.036828167736530304,
0.004239851608872414,
-0.009171562269330025,
-0.05396497622132301,
0.03799900785088539,
-0.030353082343935966,
0.0686536654829979,
0.08990614861249924,
-0.028596824035048485,
0.007308865897357464,
-0.038424767553806305,
0.0275679063051939,
0.022565236315131187,
0.05116206035017967,
0.05722913146018982,
0.03258831799030304,
-0.006599267479032278,
-0.0008498552488163114,
-0.07919120788574219,
0.009987601079046726,
-0.04105028137564659,
-0.0021942120511084795,
-0.006213422864675522,
-0.028596824035048485,
-0.002612209878861904,
-0.07479169219732285,
-0.03148844093084335,
-0.012382496148347855,
-0.03728940710425377,
0.012737295590341091,
-0.027514686807990074,
0.0074064359068870544,
-0.050665341317653656,
-0.00871032290160656,
0.08415839821100235,
0.013792823068797588,
0.03631370887160301,
0.032606057822704315,
0.04030520096421242,
0.0037675253115594387,
0.09529909491539001,
0.029643483459949493,
-0.038673125207424164,
0.05683885142207146,
-0.038992445915937424,
0.009153822436928749,
-0.02841942571103573,
-0.01882210373878479,
-0.05854188650846481,
0.012036566622555256,
0.0016786442138254642,
-0.047614067792892456,
0.019070463255047798,
0.02174919843673706,
0.011362448334693909,
-0.03328017517924309,
0.023576414212584496,
-0.02893388457596302,
0.01785527542233467,
0.028224285691976547,
0.0022163870744407177,
0.02581164985895157,
0.04768502712249756,
0.04530787095427513,
-0.013730733655393124,
0.004412816371768713,
0.023487715050578117,
-0.033972036093473434,
0.003452640725299716,
0.0688665434718132,
-0.008648233488202095,
0.03446875512599945,
0.025013351812958717,
-0.02511979080736637,
0.040198761969804764,
0.04193728044629097,
-0.029075803235173225,
0.019957462325692177,
-0.03414943441748619,
-0.005361904855817556,
-0.054355256259441376,
0.0022108431439846754,
-0.027869485318660736,
-0.020259041339159012,
-0.010484320111572742,
-0.020560620352625847,
-0.031807757914066315,
-0.044811151921749115,
0.021607277914881706,
0.04977834224700928,
-0.06148672103881836,
0.017633525654673576,
-0.013429153710603714,
-0.04346291720867157,
0.016187718138098717,
-0.0028783094603568316,
-0.046975430101156235,
-0.004421686287969351,
-0.058329008519649506,
0.02311517484486103,
0.005290944594889879,
0.011264878325164318,
-0.04378223419189453,
-0.009925510734319687,
0.014866091310977936,
-0.005122415255755186,
0.03464615345001221,
-0.14560963213443756,
-0.057725850492715836,
-0.0054018194787204266,
0.024853691458702087,
0.02464081160724163,
0.033368874341249466,
0.008062814362347126,
-0.05180070176720619,
0.0244456734508276,
0.07394018024206161,
-0.031559400260448456,
0.02841942571103573,
-0.008617188781499863,
-0.029324162751436234,
-0.009286872111260891,
-0.013278364203870296,
0.012196226045489311,
-0.016223197802901268,
0.06822790950536728,
-0.022441057488322258,
-0.01206317637115717,
-0.0038229625206440687,
-0.03093850053846836,
0.02327483519911766,
-0.01581517979502678,
-0.02158953808248043,
0.039666563272476196,
-0.02969670295715332,
0.008590578101575375,
0.06783762574195862,
-0.015620039775967598,
0.00210662093013525,
0.11247137933969498,
-0.007029461208730936,
-0.013216274790465832,
-0.006891976576298475,
0.00490510044619441,
0.0023971127811819315,
0.021571798250079155,
0.020117120817303658,
0.03122233971953392,
-0.006812146864831448,
0.04321455582976341,
0.0013837172882631421,
0.01745612546801567,
0.01211639679968357,
-0.02845490537583828,
0.02645028941333294,
-0.022405575960874557,
0.01270181592553854,
0.008603882975876331,
0.038744084537029266,
0.012187356129288673,
0.03093850053846836,
0.0129856551066041,
0.006138028111308813,
-0.003927184734493494,
0.004350726492702961,
0.03789256513118744,
-0.007614880334585905,
-0.01737629622220993,
0.0050248452462255955,
0.014058922417461872,
0.010945558547973633,
0.019230123609304428,
-0.00018169605755247176,
0.00493614561855793,
0.017438385635614395,
0.027319546788930893,
-0.033368874341249466,
0.011983347125351429,
0.00847083330154419,
-0.01686183735728264,
0.009694891050457954,
0.016888447105884552,
0.0007323279860429466,
0.07078246027231216,
-0.026751868426799774,
0.049139704555273056,
-0.038140926510095596,
-0.016143368557095528,
-0.013508983887732029,
0.03292537480592728,
0.015726478770375252,
0.022015297785401344,
0.009615061804652214,
0.04683351144194603,
0.033812373876571655,
0.01605466939508915,
0.02476499229669571,
-0.04594651237130165,
-0.07684953510761261,
0.014289542101323605,
0.0035657330881804228,
0.021358918398618698,
-0.004723265767097473,
-0.011797077022492886,
-0.004847445525228977,
-0.057371050119400024,
-0.0918930247426033,
-0.017323076725006104,
0.0796169638633728,
0.01230266597121954,
-0.01561116985976696,
-0.024569852277636528,
-0.011282618157565594,
0.024303752928972244,
0.01577083021402359,
0.051587820053100586,
-0.02772756665945053,
0.014821741729974747,
0.03306729719042778,
-0.0313110388815403,
-0.03475259244441986,
-0.02006390132009983,
-0.05290057882666588,
-0.038460247218608856,
-0.07464977353811264,
0.018449563533067703,
0.026751868426799774,
-0.05478101596236229,
-0.005601393990218639,
0.043285515159368515,
0.005463909357786179,
0.017961716279387474,
-0.004882925655692816,
0.029395123943686485,
0.027745306491851807,
-0.022582976147532463,
-0.03555089235305786,
0.06219632178544998,
0.0950152575969696,
-0.004727700725197792,
-0.026148710399866104,
-0.027638867497444153,
-0.0206670593470335,
-0.015682129189372063,
0.008759108372032642,
0.016507038846611977,
0.008918767794966698,
0.008280129171907902,
-0.046975430101156235,
-0.0027763047255575657,
0.022742636501789093,
-0.0290935430675745,
-0.009269132278859615,
-0.03633144870400429,
-0.015708738937973976,
0.030512740835547447,
-0.003412725869566202,
-0.03154166042804718,
-0.008967552334070206,
-0.004856315441429615,
0.012692945078015327,
-0.09678925573825836,
-0.0033639410976320505,
0.08103616535663605,
-0.006727882195264101,
0.009304611943662167,
-0.03574603050947189,
-0.00890989787876606,
-0.05992560461163521,
-0.06677322834730148,
-0.028845183551311493,
-0.016604607924818993,
0.023576414212584496,
0.012719555757939816,
0.016028059646487236,
0.007991855032742023,
0.029075803235173225,
-0.003552428213879466,
-0.049068745225667953,
0.02511979080736637,
0.041511520743370056,
-0.005641309078782797,
-0.0008082771673798561,
-0.03544445335865021,
-0.016320768743753433,
-0.028862925246357918,
-0.038708604872226715,
0.031364258378744125,
-0.07500457763671875,
0.01942526176571846,
0.008280129171907902,
0.03892148658633232,
0.0066258772276341915,
-0.01745612546801567,
-0.012417975813150406,
0.010404489934444427,
0.012240576557815075,
-0.06375743448734283,
0.055880893021821976,
0.04275331646203995,
-0.02905806340277195,
0.004204371944069862,
-0.046017471700906754,
0.03544445335865021,
0.05212001875042915,
-0.055277734994888306,
0.04034068062901497,
0.0687955841422081,
-0.011868037283420563,
0.04846558719873428,
0.002270715544000268,
0.0008343327790498734,
-0.02400217391550541,
0.05172973871231079,
-0.021695978939533234,
0.03743132948875427,
0.054319776594638824,
0.08699679374694824,
-0.019052723422646523,
0.004510386381298304,
0.027479207143187523,
-0.0214653592556715,
-0.04200823977589607,
-0.009898900985717773,
-0.004519256297498941,
-0.07372729480266571,
-0.013615423813462257,
0.002180906943976879,
0.012905824929475784,
-0.08039752393960953,
0.011699507012963295,
0.01670217700302601,
-0.1287921518087387,
0.03141747787594795,
-0.012471196241676807,
-0.00009562950435793027,
-0.022050777450203896,
0.014866091310977936,
0.042043719440698624,
-0.01734081655740738,
0.013854913413524628,
0.06514115631580353,
-0.004745441023260355,
-0.10040820389986038,
-0.006958501413464546,
-0.01640946790575981,
-0.04843010753393173,
0.02588260918855667,
-0.036934610456228256,
-0.039879441261291504,
0.04807530716061592,
0.003237543860450387,
-0.01882210373878479,
0.0565904900431633,
0.004754310939460993,
-0.06361551582813263,
0.019034983590245247,
-0.034734852612018585,
0.010031950660049915,
0.003672173013910651,
0.011938996613025665,
0.069008469581604,
0.024694032967090607,
0.07088890671730042,
-0.026237409561872482,
0.021199259907007217,
0.02323935553431511,
-0.04346291720867157,
0.07159850001335144,
0.0160901490598917,
0.002667647320777178,
0.0035391231067478657,
0.010972169227898121,
0.021660497412085533,
0.038353804498910904,
0.04498855397105217,
0.057690367102622986,
-0.008453093469142914,
-0.03468163311481476,
0.027834005653858185,
0.0035590806510299444,
0.03478807210922241,
0.012338146567344666,
-0.04520143195986748,
0.012551025487482548,
0.026787348091602325,
-0.12198000401258469,
0.008936507627367973,
0.030282121151685715,
-0.0011752727441489697,
0.00473657064139843,
0.07365633547306061,
-0.003658867906779051,
0.0024170703254640102,
0.011761597357690334,
0.0021409920882433653,
0.002452550223097205,
0.04122767969965935,
0.020170340314507484,
0.010262570343911648,
-0.06272851675748825,
0.03033534064888954,
0.058293528854846954,
0.005450604483485222,
-0.038424767553806305,
0.12779870629310608,
-0.04686899110674858,
0.021163778379559517,
-0.01139792799949646,
0.02588260918855667,
-0.05421333387494087,
0.0024858126416802406,
0.020436439663171768,
-0.026538988575339317,
0.013145314529538155,
0.010271440260112286,
0.026148710399866104,
0.041476041078567505,
0.013100964948534966,
0.02435697242617607,
0.00790315493941307,
-0.027355026453733444,
0.037786126136779785,
-0.042043719440698624,
0.020968640223145485,
0.027425987645983696,
-0.04044712334871292,
-0.011025388725101948,
-0.03267701715230942,
-0.00047204940347000957,
-0.002145427046343684,
0.016844097524881363,
-0.06006752327084541,
0.014733041636645794,
0.026468029245734215,
0.00949088204652071,
-0.06049328297376633,
-0.054603613913059235,
-0.04442087560892105,
-0.01225831639021635,
-0.038460247218608856,
-0.034255873411893845,
0.04257591813802719,
0.038140926510095596,
0.0207025408744812,
0.036615289747714996,
0.0036876953672617674,
0.013118704780936241,
0.0017684528138488531,
-0.04097932204604149,
-0.025669731199741364,
-0.026876047253608704,
-0.08472607284784317,
0.01970910280942917,
-0.021766938269138336,
0.004015884827822447,
0.019212383776903152,
0.041156720370054245,
-0.054000455886125565,
-0.06248015910387039,
0.05510033294558525,
0.013251754455268383,
0.024729512631893158,
-0.01680861786007881,
0.006475087720900774,
0.07748816907405853,
-0.004741006065160036,
0.06957614421844482,
-0.025279451161623,
-0.041192200034856796,
-0.012941304594278336,
0.040234241634607315,
0.013349324464797974,
-0.010750419460237026,
-0.06592171639204025,
-0.046691589057445526,
-0.01869792304933071,
0.01230266597121954,
-0.05502937361598015,
0.018272165209054947,
-0.027514686807990074,
0.004599086008965969,
0.021287959069013596,
-0.025900350883603096,
-0.024215053766965866,
-0.027869485318660736,
0.011468888260424137,
-0.0222281776368618,
0.018307644873857498,
0.01717228628695011,
-0.0382118858397007,
0.012426845729351044,
0.0719887837767601,
-0.01211639679968357,
-0.056767892092466354,
0.02419731393456459,
0.01781979575753212,
0.004388424102216959,
0.0005144589813426137,
-0.05662596970796585,
0.05414237454533577,
-0.022653935477137566,
-0.055277734994888306,
0.029714442789554596,
0.06407675892114639,
0.0003478696453385055,
-0.021607277914881706,
-0.023824773728847504,
0.011823686771094799,
-0.03232221677899361,
0.01601031981408596
]
|
41,716 | comm.base_comm | publish_msg | null | def publish_msg(
self,
msg_type: str, # noqa: ARG002
data: MaybeDict = None, # noqa: ARG002
metadata: MaybeDict = None, # noqa: ARG002
buffers: BuffersType = None, # noqa: ARG002
**keys: t.Any, # noqa: ARG002
) -> None:
msg = "publish_msg Comm method is not implemented"
raise NotImplementedError(msg)
| (self, msg_type: str, data: Optional[Dict[str, Any]] = None, metadata: Optional[Dict[str, Any]] = None, buffers: Optional[List[bytes]] = None, **keys: Any) -> NoneType | [
-0.05106224864721298,
-0.017050443217158318,
-0.055124424397945404,
-0.008053082972764969,
0.04732077196240425,
-0.02004362642765045,
0.015963634476065636,
0.014885732904076576,
-0.013157526962459087,
-0.020382139831781387,
0.017308784648776054,
0.007585398852825165,
0.02980709820985794,
-0.013718748465180397,
-0.06520859152078629,
-0.006489680614322424,
0.010957182385027409,
-0.043472398072481155,
0.013202068395912647,
-0.039552755653858185,
0.016061624512076378,
0.0052291592583060265,
-0.0005347750848159194,
-0.02111261896789074,
0.0023896456696093082,
0.023393137380480766,
0.02219942957162857,
0.00018053181702271104,
-0.018422318622469902,
0.02309025637805462,
-0.03370892256498337,
-0.028292691335082054,
0.023696020245552063,
0.029967447742819786,
-0.003325014840811491,
0.06702588498592377,
0.021183885633945465,
0.00681037874892354,
-0.01478774193674326,
-0.029468582943081856,
0.03361983969807625,
0.03584691137075424,
0.005349420942366123,
-0.04585981369018555,
0.04767710343003273,
-0.013095168396830559,
-0.011767835356295109,
0.1273527443408966,
-0.023393137380480766,
0.050135787576436996,
-0.05469682812690735,
-0.03413652256131172,
0.004324968904256821,
-0.02449776418507099,
-0.012827920727431774,
0.039196424186229706,
0.0631062388420105,
0.026617934927344322,
-0.01791454665362835,
0.03164220228791237,
-0.01899244822561741,
0.03670210391283035,
0.019152797758579254,
-0.02052467316389084,
0.003267111023887992,
-0.0204890388995409,
0.03593599423766136,
-0.03777109831571579,
0.002354012569412589,
0.031268056482076645,
0.0495300255715847,
-0.024105800315737724,
-0.05434049665927887,
0.05416233092546463,
0.05416233092546463,
0.044683922082185745,
0.018849916756153107,
0.015580577775835991,
0.01800362952053547,
0.053200237452983856,
0.07874917984008789,
-0.03385145589709282,
-0.03933895751833916,
-0.021272968500852585,
0.05359220132231712,
0.04343676194548607,
-0.010912640951573849,
0.013362416997551918,
-0.04528968408703804,
-0.029094435274600983,
0.022591393440961838,
-0.03561529517173767,
-0.013745472766458988,
-0.002543313428759575,
0.01908153109252453,
-0.03962402045726776,
-0.03805616497993469,
-0.019526945427060127,
-0.018021445721387863,
0.04618051275610924,
-0.011251155287027359,
0.02394545078277588,
0.019918909296393394,
-0.045182786881923676,
-0.0009047469939105213,
-0.069876529276371,
-0.02736623026430607,
0.04357929527759552,
-0.09186216443777084,
0.035276781767606735,
0.0045966715551912785,
0.022929906845092773,
-0.07119495421648026,
-0.04496898874640465,
0.00446972856298089,
0.04407816007733345,
-0.039410222321748734,
-0.008547492325305939,
-0.015812193974852562,
0.01881428249180317,
-0.058010704815387726,
-0.004022087436169386,
0.008805832825601101,
-0.052879538387060165,
-0.03146403655409813,
0.04667937755584717,
0.02868465520441532,
-0.024408681318163872,
0.0006358283571898937,
-0.05109788104891777,
-0.05744057521224022,
0.02120170183479786,
0.011981633491814137,
-0.0040042707696557045,
-0.014164161868393421,
0.028150158002972603,
0.01296154409646988,
-0.02638631872832775,
0.01339805033057928,
-0.022591393440961838,
0.025762740522623062,
0.026813916862010956,
-0.0016903456998988986,
0.009799106046557426,
0.03452848643064499,
0.004578854888677597,
0.05181054398417473,
-0.00596409197896719,
-0.01819070428609848,
0.015348963439464569,
-0.007411687169224024,
-0.04977945610880852,
-0.030323779210448265,
-0.023482220247387886,
0.0504208542406559,
0.025067893788218498,
0.02098790369927883,
-0.014119620434939861,
-0.05487499386072159,
0.007888279855251312,
-0.022591393440961838,
0.007843738421797752,
0.04593108221888542,
0.023161523044109344,
0.023981085047125816,
-0.0011224430054426193,
0.025780556723475456,
-0.0395171195268631,
0.02538859285414219,
0.018885549157857895,
0.012052900157868862,
0.003665756434202194,
-0.044006891548633575,
-0.05127604678273201,
0.0285955723375082,
0.014271060936152935,
-0.03201635181903839,
-0.002068947535008192,
-0.0036568481009453535,
-0.038376860320568085,
-0.027170248329639435,
0.007478499319404364,
-0.024960994720458984,
0.04169074073433876,
-0.05911533161997795,
0.06086135655641556,
0.01984764263033867,
-0.013772197999060154,
0.0016135118203237653,
-0.024194883182644844,
-0.04218960553407669,
0.02178964763879776,
-0.012640846893191338,
0.00947840791195631,
0.008449501357972622,
-0.0006397257093340158,
0.0001447595132049173,
-0.01737114228308201,
-0.03237268328666687,
0.06460282951593399,
0.060433756560087204,
-0.022359777241945267,
0.0005784812965430319,
0.05726240947842598,
-0.004761474672704935,
-0.05334276705980301,
0.01612398400902748,
-0.021558033302426338,
0.012988269329071045,
-0.0453965850174427,
0.012150891125202179,
-0.01922406442463398,
0.007220159284770489,
0.028969720005989075,
0.030003080144524574,
-0.06645575165748596,
-0.05587271973490715,
-0.04030105099081993,
-0.0021691657602787018,
-0.0013941455399617553,
0.07760892063379288,
0.04226087033748627,
0.002362920669838786,
0.030893908813595772,
0.02907661907374859,
0.00896172784268856,
0.018671751022338867,
-0.02782946079969406,
0.0033762373495846987,
-0.02916570194065571,
-0.001533337403088808,
0.028666839003562927,
-0.021629298105835915,
0.06267864257097244,
-0.019241880625486374,
-0.06599252671003342,
-0.04564601555466652,
0.017861098051071167,
-0.020970085635781288,
0.02084537036716938,
0.003719205968081951,
0.003977546002715826,
0.005246975924819708,
0.048781730234622955,
0.0034875909332185984,
-0.04507588595151901,
0.016587214544415474,
0.021967813372612,
0.042973533272743225,
0.065743088722229,
-0.004801562055945396,
-0.06285680830478668,
-0.058545202016830444,
-0.04618051275610924,
0.008070900104939938,
0.005255884025245905,
-0.032123249024152756,
-0.02774037793278694,
0.022163795307278633,
-0.030858274549245834,
-0.04104934632778168,
0.0325864814221859,
-0.02700989879667759,
0.07511460036039352,
0.09008050709962845,
-0.05469682812690735,
-0.032889362424612045,
0.0012304559350013733,
-0.012721020728349686,
0.039196424186229706,
0.09628067165613174,
0.08509187400341034,
0.03474228456616402,
0.009487316012382507,
0.004814924206584692,
-0.004311606753617525,
-0.005981908645480871,
-0.03137495368719101,
0.037664201110601425,
0.047926533967256546,
0.033833641558885574,
-0.024551214650273323,
0.03481354936957359,
-0.04767710343003273,
0.02898753620684147,
-0.0076655731536448,
0.026225971058011055,
-0.025744924321770668,
-0.04240340366959572,
-0.03440377116203308,
-0.0389113575220108,
0.04439885914325714,
-0.023927634581923485,
0.02957548387348652,
0.001717070583254099,
0.011384779587388039,
0.0044340952299535275,
0.06417523324489594,
0.05266574025154114,
-0.03322787582874298,
0.02872028760612011,
0.06503042578697205,
0.058188870549201965,
-0.03727223351597786,
0.01651594787836075,
-0.0016703021246939898,
-0.027580028399825096,
-0.00965657364577055,
-0.011705477721989155,
0.000887487200088799,
0.003004316706210375,
0.009986179880797863,
-0.026012171059846878,
0.05398416519165039,
0.0027771557215601206,
0.035419315099716187,
0.09107823669910431,
0.002371829003095627,
-0.0010244519216939807,
0.053057704120874405,
0.01639123074710369,
-0.07297661155462265,
-0.024925362318754196,
0.008133257739245892,
-0.015072806738317013,
-0.013121893629431725,
-0.021718380972743034,
-0.030822642147541046,
0.05109788104891777,
-0.014965906739234924,
0.006431776564568281,
0.03296062722802162,
0.016328873112797737,
-0.02638631872832775,
0.010280152782797813,
-0.02945076674222946,
-0.01963384449481964,
-0.07201451808214188,
0.026315053924918175,
0.0034541848581284285,
-0.062108512967824936,
-0.0034541848581284285,
0.004206934478133917,
0.01633778214454651,
0.04122751206159592,
-0.012694296427071095,
0.014030537568032742,
-0.057832539081573486,
0.031036440283060074,
0.027473129332065582,
-0.02872028760612011,
0.007910550571978092,
0.007678935769945383,
0.01089482381939888,
0.016916820779442787,
-0.037664201110601425,
0.02562020719051361,
-0.017861098051071167,
0.007848192937672138,
0.02170056477189064,
0.07939057052135468,
0.06962709873914719,
0.04062174633145332,
0.017166251316666603,
-0.12435956299304962,
0.03413652256131172,
-0.01904589869081974,
0.04325859621167183,
0.06891443580389023,
0.029860548675060272,
0.02382073551416397,
-0.024782828986644745,
-0.09656573086977005,
0.07418813556432724,
-0.054946258664131165,
0.038376860320568085,
-0.03844812884926796,
0.023446587845683098,
-0.046572476625442505,
-0.025958722457289696,
-0.015687476843595505,
-0.05744057521224022,
-0.005251429975032806,
-0.018832100555300713,
0.030288144946098328,
0.04340112954378128,
0.022627025842666626,
0.03755730018019676,
-0.06068319082260132,
0.01472538337111473,
0.012694296427071095,
0.012435955926775932,
-0.0077368393540382385,
0.005099989008158445,
-0.040764279663562775,
0.028381774201989174,
0.03034159541130066,
0.0029196881223469973,
-0.047926533967256546,
-0.029343867674469948,
0.0023562395945191383,
-0.07005469501018524,
-0.024960994720458984,
0.0038127428852021694,
0.019918909296393394,
0.008520768024027348,
-0.013255517929792404,
-0.008338147774338722,
-0.0097278393805027,
0.04471955448389053,
0.04749893769621849,
0.0235891193151474,
0.010030721314251423,
-0.004721387289464474,
0.0442206934094429,
-0.01559839490801096,
0.006240248680114746,
-0.030003080144524574,
-0.0009314718190580606,
0.005385054275393486,
-0.035223331302404404,
-0.040728647261857986,
0.07839284837245941,
0.02467592991888523,
0.009157709777355194,
-0.00336064794100821,
-0.040407948195934296,
-0.03645267337560654,
0.041583843529224396,
-0.03408307209610939,
0.0016758698038756847,
0.02134423330426216,
-0.03673774003982544,
-0.026671383529901505,
0.012578488327562809,
0.06905697286128998,
-0.0010238952236250043,
-0.03816306218504906,
-0.028524305671453476,
0.03673774003982544,
-0.01024451944977045,
-0.0008229021914303303,
-0.010431593284010887,
-0.045182786881923676,
0.015001540072262287,
0.024301782250404358,
0.005549857392907143,
-0.017050443217158318,
-0.03912515565752983,
0.04030105099081993,
0.08281135559082031,
0.0734042078256607,
0.0328715443611145,
-0.008418322540819645,
0.012026174925267696,
-0.09856119006872177,
0.008703387342393398,
-0.026190336793661118,
0.009469499811530113,
-0.04251030087471008,
0.015723111107945442,
0.009362599812448025,
-0.10846719145774841,
-0.022217245772480965,
0.00794172938913107,
0.02449776418507099,
-0.07646866142749786,
-0.021682748571038246,
-0.013130801729857922,
-0.015144072473049164,
0.04204707220196724,
0.01949131302535534,
0.06274990737438202,
0.020239608362317085,
-0.01633778214454651,
-0.005162347108125687,
0.013460407964885235,
0.024729380384087563,
-0.035722196102142334,
-0.042617201805114746,
0.04696444049477577,
-0.010912640951573849,
0.031054256483912468,
0.017495857551693916,
-0.060754455626010895,
0.02700989879667759,
0.028292691335082054,
0.002621260704472661,
0.01447595190256834,
-0.013585124164819717,
0.004002043977379799,
0.03002089634537697,
0.05622905120253563,
0.03390490636229515,
0.045218419283628464,
0.028061075136065483,
-0.03296062722802162,
-0.023250605911016464,
-0.02804325893521309,
-0.04635867848992348,
0.002659121062606573,
-0.004846103023737669,
0.02638631872832775,
-0.024693746119737625,
0.016783196479082108,
-0.07390307635068893,
0.04407816007733345,
0.030715743079781532,
0.006191253196448088,
-0.009166617877781391,
-0.05626468360424042,
0.005567673593759537,
-0.01206180825829506,
-0.050349585711956024,
-0.0069440025836229324,
-0.007122168317437172,
-0.019509129226207733,
-0.05469682812690735,
-0.11167417466640472,
-0.06050502508878708,
0.03119678981602192,
0.009451682679355145,
-0.005906188394874334,
0.0020533581264317036,
0.01795908808708191,
-0.027615662664175034,
-0.06609942018985748,
-0.02872028760612011,
-0.04137004166841507,
0.042617201805114746,
-0.019117165356874466,
0.02219942957162857,
0.0005370021099224687,
-0.021415499970316887,
0.044862087815999985,
-0.01620415784418583,
-0.04147694259881973,
0.05230940878391266,
-0.029147885739803314,
-0.012551764026284218,
-0.05875900015234947,
-0.06164528429508209,
-0.013006085529923439,
-0.083737812936306,
0.004218069836497307,
0.04411379247903824,
0.06731095165014267,
0.02975364774465561,
-0.001841786433942616,
-0.012685388326644897,
-0.048282865434885025,
-0.0230011735111475,
-0.046394310891628265,
0.053235869854688644,
0.012275607325136662,
0.05669227987527847,
0.010101987048983574,
-0.08601833134889603,
0.046893175691366196,
-0.019687294960021973,
-0.049993257969617844,
0.0571911446750164,
-0.02768692746758461,
0.048959895968437195,
-0.04960129037499428,
0.01080574095249176,
-0.020132707431912422,
-0.009558582678437233,
-0.012035083957016468,
-0.01742459088563919,
0.01720188558101654,
0.008756836876273155,
-0.025406409054994583,
-0.05038522183895111,
0.08216995745897293,
-0.016498131677508354,
-0.011821284890174866,
0.04308043420314789,
-0.04525405168533325,
-0.047249507158994675,
-0.006667845882475376,
0.014190887100994587,
0.03240831568837166,
-0.020506855100393295,
0.011607485823333263,
-0.0012516130227595568,
-0.03629232570528984,
-0.050492119044065475,
0.04404252767562866,
-0.04479082301259041,
0.026671383529901505,
0.029860548675060272,
0.025548940524458885,
-0.011812376789748669,
0.04151257500052452,
0.01024451944977045,
0.03326350823044777,
-0.021362051367759705,
0.0050019980408251286,
-0.014244336634874344,
0.006903915666043758,
0.03402962163090706,
-0.03566874563694,
0.007197888568043709,
0.06845121085643768,
-0.03575782850384712,
-0.05694171413779259,
0.11694787442684174,
0.05797507241368294,
0.012836828827857971,
-0.001281678443774581,
0.0365595743060112,
-0.006583217531442642,
0.017121709883213043,
0.0011391460429877043,
-0.01836887001991272,
-0.026190336793661118,
0.003436368191614747,
0.061395853757858276,
0.01940223015844822,
0.027758194133639336,
-0.0012749972520396113,
0.024034533649683,
-0.0269742663949728,
0.02007925882935524,
0.02107698656618595,
-0.02966456487774849,
-0.1052602156996727,
0.01904589869081974,
-0.060219958424568176,
-0.029272601008415222,
0.052879538387060165,
0.039196424186229706,
0.027758194133639336,
0.01481446623802185,
-0.03224796801805496,
-0.04967255890369415,
-0.007229067385196686,
0.012988269329071045,
-0.02025742456316948,
0.01899244822561741,
0.007251338101923466,
-0.016061624512076378,
-0.10825339704751968,
-0.018386686220765114,
0.07882044464349747,
0.05473246052861214,
-0.01949131302535534,
0.029343867674469948,
-0.04411379247903824,
-0.006703479215502739,
-0.02088100276887417,
0.009157709777355194,
0.006681208498775959,
0.07917677611112595,
0.09307368844747543,
-0.04568164795637131,
-0.022840823978185654,
-0.004037676844745874,
0.002699208213016391,
-0.03408307209610939,
-0.036131974309682846,
0.003233704948797822,
-0.011776743456721306,
-0.01836887001991272,
-0.006418414413928986,
-0.0026168066542595625,
-0.07009033113718033,
0.006240248680114746,
-0.006694571115076542,
-0.0008613191312178969,
0.034332502633333206,
0.06289244443178177,
-0.016533764079213142,
0.06563619524240494,
0.0076744817197322845,
-0.00011295417789369822,
0.018333235755562782,
-0.03388708829879761,
0.018065987154841423,
0.02813234180212021,
0.0017204112373292446,
-0.02638631872832775,
0.02373165264725685,
0.013478224165737629,
0.032390497624874115,
0.018261969089508057,
-0.00009736469655763358,
-0.049102429300546646,
-0.05947166308760643,
0.04906679689884186,
0.01175001822412014,
0.005438503809273243,
-0.07939057052135468,
-0.009353691712021828,
-0.02727714739739895,
-0.004478636663407087,
-0.031089890748262405,
-0.023464404046535492,
-0.040265414863824844,
-0.009914913214743137,
0.0036813458427786827,
-0.01711280271410942,
0.030804825946688652,
-0.003255975665524602,
0.0349382646381855,
-0.03317442908883095,
0.012026174925267696,
-0.0013273333897814155,
-0.002096785930916667,
-0.031321506947278976,
-0.004806016106158495,
0.035223331302404404,
-0.07247775048017502,
-0.03812742978334427,
-0.032622113823890686,
0.018155070021748543,
0.09036557376384735,
-0.008329239673912525,
-0.01845795288681984,
-0.037022802978754044,
0.02098790369927883,
0.05416233092546463,
-0.06805924326181412,
0.007879371754825115,
-0.03543712943792343,
0.0021279649809002876,
-0.04867482930421829,
0.058010704815387726,
0.005398416426032782,
0.04568164795637131,
-0.004075536970049143,
-0.01611507497727871,
0.04015851765871048,
0.03516988083720207,
-0.015357871539890766,
-0.0005289289983920753,
-0.03588254377245903,
-0.01751367375254631,
0.03623887524008751,
-0.06727531552314758,
0.03908952325582504,
-0.014306694269180298,
-0.0427597351372242,
-0.026404136791825294,
-0.02718806453049183,
0.027348414063453674,
0.024818463250994682,
-0.0032537486404180527,
-0.02098790369927883,
-0.0031958448234945536,
0.006209069862961769,
-0.0474633052945137,
-0.010743383318185806,
0.02116606943309307,
-0.0031490763649344444,
-0.01566966064274311,
0.02679610066115856,
0.0015968087827786803,
-0.04824723303318024,
0.024836279451847076,
0.012587396427989006,
0.019295329228043556,
0.005540948826819658,
-0.0011937092058360577,
0.022252878174185753,
-0.012266699224710464,
0.02341095544397831
]
|
41,717 | comm.base_comm | send | Send a message to the frontend-side version of this comm | def send(
self, data: MaybeDict = None, metadata: MaybeDict = None, buffers: BuffersType = None
) -> None:
"""Send a message to the frontend-side version of this comm"""
self.publish_msg(
"comm_msg",
data=data,
metadata=metadata,
buffers=buffers,
)
| (self, data: Optional[Dict[str, Any]] = None, metadata: Optional[Dict[str, Any]] = None, buffers: Optional[List[bytes]] = None) -> NoneType | [
-0.005952626932412386,
-0.0059302314184606075,
-0.05912315472960472,
-0.010418216697871685,
0.021929316222667694,
-0.0056390948593616486,
-0.034166015684604645,
0.02001229301095009,
0.03740883246064186,
-0.025888774544000626,
0.01913440227508545,
-0.04557857662439346,
-0.009504495188593864,
-0.01706509292125702,
-0.04701186716556549,
-0.02178598754107952,
0.002012202749028802,
-0.035187236964702606,
0.01538097858428955,
-0.028791185468435287,
0.022251805290579796,
-0.008201098069548607,
0.010006146505475044,
-0.013168338686227798,
-0.02083643339574337,
0.05679406225681305,
0.028074540197849274,
0.013947689905762672,
-0.01588262990117073,
0.010722789913415909,
0.014162682928144932,
-0.07567764073610306,
0.011788798496127129,
-0.020818516612052917,
0.010910909622907639,
0.07660927623510361,
-0.008362343534827232,
-0.03973792493343353,
-0.028576191514730453,
-0.025261711329221725,
0.007959230802953243,
-0.01117069274187088,
0.04794350266456604,
-0.01983313076198101,
0.00937908235937357,
0.00887743104249239,
0.003271929221227765,
0.13838401436805725,
0.013625199906527996,
0.02579919435083866,
-0.04149370640516281,
-0.009665739722549915,
-0.018793996423482895,
-0.029095757752656937,
-0.03844796493649483,
0.065250463783741,
0.07517598569393158,
0.03758799284696579,
-0.033413540571928024,
0.0013840192696079612,
-0.0010587299475446343,
-0.0057824235409498215,
-0.009997188113629818,
-0.0238463394343853,
0.017853401601314545,
-0.009316375479102135,
0.0514550618827343,
-0.013347500003874302,
0.0027792362961918116,
0.00888191070407629,
0.015613887459039688,
-0.009043155238032341,
-0.05220753699541092,
0.018614836037158966,
0.019994376227259636,
0.03477516397833824,
0.023738842457532883,
0.04221034795045853,
-0.007462058681994677,
-0.009034196846187115,
0.07227357476949692,
-0.053497496992349625,
-0.0210155937820673,
0.003271929221227765,
0.0009433950181119144,
0.04450361058115959,
-0.01940314471721649,
0.032911889255046844,
-0.09481204301118851,
-0.010776538401842117,
0.0021331366151571274,
-0.026121685281395912,
-0.012666688300669193,
0.018247555941343307,
0.02391800284385681,
-0.028468694537878036,
-0.021194756031036377,
-0.021069342270493507,
-0.012577107176184654,
0.06439048796892166,
0.0194568932056427,
0.09488370269536972,
-0.011815672740340233,
-0.0614880807697773,
0.019152319058775902,
-0.06449798494577408,
-0.0175667442381382,
0.0389137864112854,
-0.02610376849770546,
0.02083643339574337,
-0.011976918205618858,
0.025082550942897797,
-0.05095341056585312,
-0.06571628153324127,
-0.00491349259391427,
0.051419228315353394,
-0.032159414142370224,
0.034739334136247635,
0.026390425860881805,
0.031030697748064995,
-0.09531369060277939,
0.026820413768291473,
0.01900899037718773,
-0.05887233093380928,
-0.053175006061792374,
0.048301827162504196,
0.04375113546848297,
-0.006718540098518133,
-0.0065931277349591255,
-0.04529191926121712,
-0.002629188820719719,
-0.009647823870182037,
0.048660147935152054,
0.03998875245451927,
0.016214076429605484,
0.05890816077589989,
-0.006508026272058487,
-0.03289397433400154,
0.0326252318918705,
0.003925866913050413,
0.0408128947019577,
-0.026641251519322395,
-0.03300147131085396,
0.052816685289144516,
0.04317782074213028,
0.0007821500767022371,
0.027017490938305855,
-0.039379604160785675,
-0.00016600392700638622,
0.008635563775897026,
0.0010206582956016064,
0.01135881245136261,
-0.013356458395719528,
-0.0229147020727396,
-0.01289959717541933,
0.06073560565710068,
-0.013929774053394794,
-0.0483376570045948,
-0.024401739239692688,
0.04511275887489319,
-0.042317844927310944,
-0.046151891350746155,
0.05378415435552597,
0.03945126757025719,
0.016420112922787666,
0.002631428185850382,
-0.03219524398446083,
0.008447444997727871,
-0.015416810289025307,
0.061093926429748535,
0.019438976421952248,
-0.03420184925198555,
-0.0577256977558136,
-0.03783882036805153,
0.051813382655382156,
-0.034918494522571564,
-0.02628292888402939,
-0.04106371849775314,
-0.0016158089274540544,
-0.0451844222843647,
-0.04367947205901146,
0.0026403863448649645,
-0.014888285659253597,
0.05643573775887489,
-0.03405851870775223,
0.017781736329197884,
0.0310665313154459,
-0.026712916791439056,
0.043894462287425995,
-0.02201889641582966,
-0.009343249723315239,
0.01289959717541933,
-0.014028312638401985,
0.010946741327643394,
0.00265158386901021,
0.010319678112864494,
0.06804537773132324,
-0.040562067180871964,
-0.02911367453634739,
-0.034667667001485825,
0.04256867244839668,
-0.0451844222843647,
0.06317219883203506,
0.013732696883380413,
0.024330073967576027,
-0.03018864057958126,
0.024258408695459366,
-0.027035405859351158,
0.0583706796169281,
-0.042962826788425446,
0.00004349555092630908,
0.007242586463689804,
0.019743550568819046,
0.0035227546468377113,
0.049555953592061996,
-0.038698792457580566,
-0.03337770700454712,
-0.0489468052983284,
0.01007781084626913,
-0.03980959206819534,
0.06937117129564285,
-0.003502598963677883,
-0.0006651355070061982,
0.0389137864112854,
-0.005182234104722738,
-0.024742145091295242,
0.0006125069339759648,
-0.03294772282242775,
0.026712916791439056,
-0.026820413768291473,
-0.0050209891051054,
0.023237191140651703,
-0.03413018584251404,
0.034112267196178436,
0.00611835066229105,
-0.025440873578190804,
-0.05296001210808754,
0.012514401227235794,
-0.05654323473572731,
0.01788027584552765,
0.013437080197036266,
-0.004805995617061853,
0.007296334952116013,
0.0320160835981369,
0.0036705625243484974,
-0.024706311523914337,
0.02717873454093933,
0.021373916417360306,
0.0070007191970944405,
0.03094111755490303,
-0.021105173975229263,
-0.04926929622888565,
-0.051419228315353394,
-0.04382279887795448,
-0.015237649902701378,
0.007318730000406504,
-0.00954032689332962,
0.011941085569560528,
0.02467047981917858,
0.006355739198625088,
-0.07309772074222565,
0.030457383021712303,
-0.09653198719024658,
0.08241409808397293,
0.11803131550550461,
-0.027698302641510963,
-0.06320802867412567,
-0.0011947804596275091,
-0.01775486208498478,
0.059158988296985626,
0.09617366641759872,
0.04504109546542168,
0.05256585776805878,
0.003383904928341508,
-0.00872514396905899,
-0.048803478479385376,
-0.020066039636731148,
-0.006951449904590845,
-0.010516755282878876,
0.009078987874090672,
-0.004613397642970085,
-0.03294772282242775,
-0.035796381533145905,
-0.0514550618827343,
-0.009916565380990505,
-0.021678490564227104,
0.04285532981157303,
-0.027698302641510963,
-0.01794298179447651,
-0.04701186716556549,
-0.014538921415805817,
0.07148526608943939,
-0.009146172553300858,
0.00884607806801796,
0.0024455487728118896,
0.0027814756613224745,
-0.014664334245026112,
0.08764559775590897,
0.05088174715638161,
-0.01563180424273014,
0.07134193927049637,
-0.004575326107442379,
0.027626637369394302,
-0.04550691321492195,
0.027017490938305855,
-0.0101942652836442,
0.01167234405875206,
0.03289397433400154,
-0.027895379811525345,
-0.02542295679450035,
-0.01701134443283081,
-0.0019271012861281633,
-0.021373916417360306,
0.032284826040267944,
0.028217868879437447,
0.053819987922906876,
0.06664791703224182,
0.009105862118303776,
0.02836119756102562,
0.03242815285921097,
0.050989240407943726,
-0.04794350266456604,
0.011484225280582905,
0.04461110755801201,
-0.023613430559635162,
-0.0014534442452713847,
0.011851505376398563,
-0.026336677372455597,
0.05127590149641037,
0.0021174598950892687,
0.025870859622955322,
0.034739334136247635,
0.031227774918079376,
-0.05120423436164856,
0.03420184925198555,
-0.015963252633810043,
0.014126851223409176,
0.00033284767414443195,
0.015192858874797821,
-0.0019360593287274241,
-0.028325365856289864,
0.007475495804101229,
0.027339980006217957,
0.012926471419632435,
0.006373655050992966,
0.026569588109850883,
0.008528066799044609,
-0.04901846870779991,
0.008111517876386642,
0.06019812077283859,
-0.022932616993784904,
0.007063425611704588,
0.04228201508522034,
-0.026067936792969704,
0.015470558777451515,
-0.038125477731227875,
0.03074404038488865,
-0.007054467219859362,
0.001573258196003735,
-0.01850733906030655,
0.010167391039431095,
0.06442632526159286,
0.04152953624725342,
0.028271617367863655,
-0.11939293891191483,
-0.009638865478336811,
-0.00032332976115867496,
0.038304638117551804,
0.06757955998182297,
0.06288553774356842,
0.021302251145243645,
-0.02905992604792118,
-0.0008599731372669339,
0.04891097545623779,
-0.03984542191028595,
0.03859129548072815,
-0.042891159653663635,
0.00013968965504318476,
-0.03482891246676445,
-0.04410945624113083,
0.00018098068539984524,
-0.059087321162223816,
0.03751632943749428,
-0.025190047919750214,
0.042138684540987015,
0.0489468052983284,
0.0056256577372550964,
0.015954293310642242,
-0.06188223510980606,
-0.0018655146704986691,
0.0012160558253526688,
-0.057259880006313324,
-0.010982573963701725,
0.021320167928934097,
-0.08055081963539124,
-0.006870827171951532,
0.08513734489679337,
0.013625199906527996,
-0.056077416986227036,
-0.048660147935152054,
-0.009396998211741447,
-0.044969428330659866,
-0.044467780739068985,
0.0382688045501709,
0.024939222261309624,
0.020030207931995392,
0.006566253490746021,
-0.006700624246150255,
0.017853401601314545,
0.06048477813601494,
0.003139797830954194,
0.03314479812979698,
-0.0032181807328015566,
0.02246679924428463,
0.021355999633669853,
0.019349396228790283,
-0.03459600359201431,
-0.010185306891798973,
0.008187660947442055,
0.021678490564227104,
-0.04106371849775314,
-0.0319981686770916,
0.08542399853467941,
0.015515348874032497,
0.01895524188876152,
-0.002144334139302373,
-0.01289959717541933,
-0.04504109546542168,
0.011134861037135124,
-0.026820413768291473,
0.01132297981530428,
-0.008053290657699108,
-0.007699447218328714,
-0.0229147020727396,
0.02504671923816204,
0.022126393392682076,
0.001492635696195066,
-0.031729426234960556,
-0.023738842457532883,
0.011403602547943592,
0.021983064711093903,
-0.006382613442838192,
0.016151370480656624,
-0.08449236303567886,
0.013947689905762672,
0.040060415863990784,
0.0070410300977528095,
0.00028693766216747463,
0.004340176936239004,
0.005150881130248308,
0.060018960386514664,
0.028146205469965935,
0.043213650584220886,
0.0011113585205748677,
-0.006530421320348978,
-0.08090914040803909,
-0.013625199906527996,
-0.041207049041986465,
-0.016303658485412598,
-0.036047209054231644,
0.0007457579486072063,
-0.015837838873267174,
-0.09646032005548477,
-0.04869598150253296,
0.005244940519332886,
0.07474599778652191,
-0.01668885350227356,
-0.015470558777451515,
-0.03061862848699093,
-0.020048124715685844,
0.05496661737561226,
-0.004299866035580635,
0.042138684540987015,
-0.009889691136777401,
0.009020759724080563,
0.04278366640210152,
-0.03588596358895302,
-0.009208879433572292,
-0.06188223510980606,
-0.034864746034145355,
-0.03672802075743675,
-0.024867556989192963,
0.005428580567240715,
0.029167423024773598,
-0.0200839564204216,
0.019474808126688004,
0.049161799252033234,
0.0013828995870426297,
0.0401679128408432,
-0.018722333014011383,
0.009190963581204414,
0.00888191070407629,
0.007502370048314333,
-0.01308771688491106,
0.043894462287425995,
0.07567764073610306,
-0.04987844452261925,
-0.03884212300181389,
-0.04084872454404831,
-0.02911367453634739,
-0.05704488605260849,
0.0066200015135109425,
0.020979762077331543,
0.0019327000482007861,
0.009997188113629818,
-0.0796908438205719,
0.02266387641429901,
0.06596710532903671,
-0.008210056461393833,
0.008035373874008656,
-0.04658187925815582,
-0.005397227592766285,
0.025028802454471588,
-0.02234138548374176,
-0.0063378228805959225,
-0.04812266305088997,
-0.026820413768291473,
-0.0074396636337041855,
-0.09610199928283691,
-0.06392467021942139,
0.04891097545623779,
0.0020502745173871517,
-0.008227972313761711,
0.012675645761191845,
0.02239513397216797,
-0.026462091132998466,
-0.06578794866800308,
-0.03816130757331848,
0.004416320472955704,
0.020352698862552643,
-0.00853254646062851,
0.04299865663051605,
0.021427664905786514,
0.023577596992254257,
0.030600711703300476,
-0.039881255477666855,
0.017486121505498886,
0.01245169434696436,
-0.02542295679450035,
-0.011439434252679348,
-0.048982638865709305,
-0.04357197508215904,
0.008339948020875454,
-0.05872900038957596,
-0.0009915445698425174,
-0.016491776332259178,
0.005540556274354458,
0.014655375853180885,
-0.01712779887020588,
-0.03051113151013851,
-0.08305907249450684,
-0.028253702446818352,
-0.015703467652201653,
0.024383822456002235,
-0.060018960386514664,
0.057009052485227585,
0.02078268490731716,
-0.016912804916501045,
0.016644064337015152,
-0.015461600385606289,
0.00555399339646101,
0.04801516979932785,
0.001348187099210918,
0.006297511979937553,
0.04729852452874184,
-0.002144334139302373,
0.00749789085239172,
-0.020370613783597946,
-0.0006427403423003852,
-0.05184921622276306,
0.02296845056116581,
0.034363094717264175,
0.013123548589646816,
0.025709614157676697,
0.09230378270149231,
0.017172589898109436,
0.017853401601314545,
0.015398894436657429,
-0.047226861119270325,
-0.06804537773132324,
-0.005267335567623377,
0.017244253307580948,
-0.03284022584557533,
0.0005061300471425056,
0.0006349020404741168,
0.029167423024773598,
-0.05410664528608322,
-0.012066498398780823,
0.010516755282878876,
-0.07926086336374283,
0.022198056802153587,
0.039379604160785675,
0.021320167928934097,
-0.003052456770092249,
0.034685585647821426,
0.022878868505358696,
-0.012747310101985931,
0.04357197508215904,
0.03722967207431793,
0.019600221887230873,
-0.04525608941912651,
0.021947231143712997,
0.019152319058775902,
-0.022735539823770523,
0.06535796076059341,
-0.06066393852233887,
-0.05009343847632408,
0.06123725697398186,
0.04009624943137169,
-0.02153516188263893,
0.026211265474557877,
0.049914274364709854,
-0.03276856243610382,
0.013204171322286129,
-0.01821172423660755,
-0.006481152027845383,
-0.010740706697106361,
0.011448392644524574,
0.06066393852233887,
0.01863275095820427,
0.05321083962917328,
-0.03280439227819443,
-0.03550972416996956,
-0.01963605359196663,
-0.016832182183861732,
0.039522934705019,
-0.004024405498057604,
-0.04149370640516281,
-0.03196233510971069,
-0.02221597358584404,
-0.021176839247345924,
0.015327230095863342,
0.03776715323328972,
0.05840650945901871,
-0.010463006794452667,
-0.05629241093993187,
-0.04794350266456604,
0.0031890671234577894,
-0.04167286679148674,
-0.005029947031289339,
0.03242815285921097,
0.046402718871831894,
-0.012281491421163082,
-0.13351082801818848,
-0.008187660947442055,
0.08126746118068695,
-0.00047309722867794335,
-0.010767580941319466,
0.04170869663357735,
-0.025620033964514732,
0.006579690612852573,
0.0038564421702176332,
0.001158948172815144,
0.026695000007748604,
0.06299303472042084,
0.08492235094308853,
-0.007206754293292761,
-0.05464412644505501,
0.005845129955559969,
0.01593637838959694,
0.014270179904997349,
-0.04167286679148674,
0.10076019167900085,
-0.07445934414863586,
-0.007251544389873743,
0.0005789142451249063,
0.015192858874797821,
-0.0627063736319542,
0.0310665313154459,
-0.03626220300793648,
-0.019223982468247414,
0.024258408695459366,
0.01518390141427517,
-0.021624742075800896,
0.03622636944055557,
0.015587013214826584,
0.015076404437422752,
0.003643688280135393,
-0.04504109546542168,
-0.005079216323792934,
-0.011367769911885262,
-0.0037735800724476576,
0.020245201885700226,
-0.010579461231827736,
-0.018650667741894722,
-0.026945825666189194,
0.022287636995315552,
-0.001191421179100871,
0.007247065659612417,
-0.039702095091342926,
0.03187275677919388,
-0.015192858874797821,
0.004169974010437727,
-0.06170307472348213,
-0.005468891933560371,
-0.0457935705780983,
0.013410206884145737,
-0.04550691321492195,
-0.03848379850387573,
0.020567690953612328,
0.009352208115160465,
0.02467047981917858,
0.004711936227977276,
0.015309314243495464,
0.009907607920467854,
0.016644064337015152,
-0.03074404038488865,
-0.03506182134151459,
-0.010471965186297894,
-0.0621330626308918,
0.0030323010869324207,
-0.015300355851650238,
0.03169359266757965,
0.024455487728118896,
-0.03798214718699455,
-0.03977375850081444,
-0.015425768680870533,
0.08083748072385788,
0.013580409809947014,
0.04303449019789696,
-0.04593690112233162,
0.0025463267229497433,
0.08270075172185898,
-0.05442913621664047,
0.05747487396001816,
-0.031460683792829514,
0.0026986137963831425,
-0.05371249094605446,
0.04486193507909775,
0.013661031611263752,
-0.0038564421702176332,
-0.0351334884762764,
-0.01085716113448143,
-0.0019159037619829178,
0.004931408446282148,
-0.040705397725105286,
0.028468694537878036,
-0.04507692530751228,
-0.024491319432854652,
0.02986615151166916,
-0.022287636995315552,
-0.032607316970825195,
0.030923200771212578,
-0.06822453439235687,
-0.0067588514648377895,
0.002317896345630288,
0.022054728120565414,
-0.003666083561256528,
0.02943616546690464,
0.03520515188574791,
0.036871347576379776,
-0.015040572732686996,
-0.058585669845342636,
-0.019815215840935707,
0.0389137864112854,
0.011564847081899643,
-0.05847817659378052,
0.04686853662133217,
-0.030152808874845505,
-0.0432853139936924,
0.04009624943137169,
0.034739334136247635,
-0.00439168605953455,
-0.01845359057188034,
0.0035451496951282024,
0.0332702100276947,
-0.0017826526891440153,
0.05184921622276306
]
|
41,718 | comm.base_comm | CommManager | Default CommManager singleton implementation for Comms in the Kernel | class CommManager:
"""Default CommManager singleton implementation for Comms in the Kernel"""
# Public APIs
def __init__(self) -> None:
self.comms: dict[str, BaseComm] = {}
self.targets: dict[str, CommTargetCallback] = {}
def register_target(self, target_name: str, f: CommTargetCallback | str) -> None:
"""Register a callable f for a given target name
f will be called with two arguments when a comm_open message is received with `target`:
- the Comm instance
- the `comm_open` message itself.
f can be a Python callable or an import string for one.
"""
if isinstance(f, str):
f = import_item(f)
self.targets[target_name] = t.cast(CommTargetCallback, f)
def unregister_target(self, target_name: str, f: CommTargetCallback) -> CommTargetCallback: # noqa: ARG002
"""Unregister a callable registered with register_target"""
return self.targets.pop(target_name)
def register_comm(self, comm: BaseComm) -> str:
"""Register a new comm"""
comm_id = comm.comm_id
self.comms[comm_id] = comm
return comm_id
def unregister_comm(self, comm: BaseComm) -> None:
"""Unregister a comm, and close its counterpart"""
# unlike get_comm, this should raise a KeyError
comm = self.comms.pop(comm.comm_id)
def get_comm(self, comm_id: str) -> BaseComm | None:
"""Get a comm with a particular id
Returns the comm if found, otherwise None.
This will not raise an error,
it will log messages if the comm cannot be found.
"""
try:
return self.comms[comm_id]
except KeyError:
logger.warning("No such comm: %s", comm_id)
if logger.isEnabledFor(logging.DEBUG):
# don't create the list of keys if debug messages aren't enabled
logger.debug("Current comms: %s", list(self.comms.keys()))
return None
# Message handlers
def comm_open(self, stream: ZMQStream, ident: str, msg: MessageType) -> None: # noqa: ARG002
"""Handler for comm_open messages"""
from comm import create_comm
content = msg["content"]
comm_id = content["comm_id"]
target_name = content["target_name"]
f = self.targets.get(target_name, None)
comm = create_comm(
comm_id=comm_id,
primary=False,
target_name=target_name,
)
self.register_comm(comm)
if f is None:
logger.error("No such comm target registered: %s", target_name)
else:
try:
f(comm, msg)
return
except Exception:
logger.error("Exception opening comm with target: %s", target_name, exc_info=True)
# Failure.
try:
comm.close()
except Exception:
logger.error(
"""Could not close comm during `comm_open` failure
clean-up. The comm may not have been opened yet.""",
exc_info=True,
)
def comm_msg(self, stream: ZMQStream, ident: str, msg: MessageType) -> None: # noqa: ARG002
"""Handler for comm_msg messages"""
content = msg["content"]
comm_id = content["comm_id"]
comm = self.get_comm(comm_id)
if comm is None:
return
try:
comm.handle_msg(msg)
except Exception:
logger.error("Exception in comm_msg for %s", comm_id, exc_info=True)
def comm_close(self, stream: ZMQStream, ident: str, msg: MessageType) -> None: # noqa: ARG002
"""Handler for comm_close messages"""
content = msg["content"]
comm_id = content["comm_id"]
comm = self.get_comm(comm_id)
if comm is None:
return
self.comms[comm_id]._closed = True
del self.comms[comm_id]
try:
comm.handle_close(msg)
except Exception:
logger.error("Exception in comm_close for %s", comm_id, exc_info=True)
| () -> 'None' | [
0.05141255259513855,
-0.03488566726446152,
-0.03964461386203766,
0.018328912556171417,
0.007850270718336105,
-0.006401679012924433,
-0.016098778694868088,
0.04981959983706474,
0.011120801791548729,
-0.05161166936159134,
-0.018229354172945023,
-0.04663369432091713,
0.012136309407651424,
0.00649626087397337,
-0.052886031568050385,
0.019921865314245224,
0.00904000736773014,
-0.008323178626596928,
-0.0005329546984285116,
-0.026084601879119873,
0.015252523124217987,
0.020230500027537346,
0.017333317548036575,
-0.04420443996787071,
-0.01983226276934147,
0.031998440623283386,
-0.018896402791142464,
0.02905147708952427,
0.041217654943466187,
-0.057983480393886566,
-0.032575882971286774,
-0.033372361212968826,
-0.004644453059881926,
-0.006292163394391537,
-0.002080794656649232,
0.05535510927438736,
0.039545051753520966,
0.059337493032217026,
-0.02696072682738304,
-0.020768122747540474,
0.022281426936388016,
-0.006959212478250265,
0.08139988780021667,
-0.019752614200115204,
0.008900623768568039,
0.07001027464866638,
-0.031002843752503395,
0.08108130097389221,
-0.0018331402679905295,
0.025069095194339752,
0.00915450043976307,
-0.05826224759221077,
-0.014217103831470013,
-0.006267273798584938,
-0.0307639017701149,
0.0018119837623089552,
0.02819526381790638,
0.016128646209836006,
-0.02016080915927887,
-0.04973994940519333,
-0.0040993643924593925,
0.06774032115936279,
0.045877039432525635,
0.0074072303250432014,
-0.01085199136286974,
-0.027100110426545143,
0.06371811032295227,
-0.002317248610779643,
0.03862910717725754,
0.07088640332221985,
0.024471737444400787,
-0.017154110595583916,
0.00019771904044318944,
-0.029628921300172806,
0.0628419890999794,
0.023715084418654442,
0.031659938395023346,
0.011767938733100891,
0.030106807127594948,
0.0025661473628133535,
0.02204248495399952,
0.03020636737346649,
0.0036812142934650183,
0.03950522840023041,
0.029449714347720146,
0.009612474590539932,
0.06280216574668884,
0.06204551085829735,
-0.01349031925201416,
-0.006127890199422836,
-0.06116938591003418,
-0.0018318956717848778,
0.0038728665094822645,
-0.002829980105161667,
0.009264016523957253,
-0.04420443996787071,
-0.040241971611976624,
0.03484584391117096,
0.005147228948771954,
0.021604422479867935,
-0.056111764162778854,
0.04181501269340515,
-0.039545051753520966,
-0.013808909803628922,
-0.03958487883210182,
-0.04970012605190277,
-0.0314209945499897,
0.037533950060606,
-0.01912538893520832,
0.002460365416482091,
-0.11294035613536835,
0.0022276449017226696,
0.0018804309656843543,
-0.01689525507390499,
0.015312259085476398,
-0.005545467138290405,
-0.048266470432281494,
0.029310330748558044,
-0.021086713299155235,
-0.0354631133377552,
-0.049461185932159424,
0.0191453006118536,
-0.02373499609529972,
-0.04607615992426872,
0.02048935554921627,
0.03604055568575859,
0.01128009706735611,
0.009000183083117008,
0.08840887993574142,
-0.04679298773407936,
-0.015660718083381653,
0.0033800466917455196,
0.0393260233104229,
0.005172118544578552,
0.018557900562882423,
0.04512038826942444,
-0.0810016468167305,
0.006222472060471773,
-0.05105413869023323,
-0.011399568058550358,
0.012146265245974064,
-0.010244677774608135,
-0.047231052070856094,
-0.004236259032040834,
-0.03928619995713234,
0.03500513732433319,
0.0006875831168144941,
-0.0506160743534565,
-0.035781703889369965,
-0.0033999586012214422,
-0.030126720666885376,
-0.021664157509803772,
0.02052917890250683,
0.027120022103190422,
-0.0005522443680092692,
0.0184384286403656,
-0.04032161831855774,
0.017821159213781357,
-0.00973194558173418,
0.030883371829986572,
-0.012385208159685135,
-0.004923219792544842,
0.003750906093046069,
-0.003178438637405634,
-0.007905027829110622,
-0.010324325412511826,
-0.04906294494867325,
-0.09501963108778,
0.0064066569320857525,
0.048107173293828964,
-0.04424426332116127,
0.0420539528131485,
0.01603904366493225,
-0.007093618158251047,
-0.02238098718225956,
0.042093776166439056,
-0.0477885827422142,
-0.01620829477906227,
-0.01392838079482317,
-0.057824186980724335,
-0.003952513914555311,
-0.0017049573361873627,
-0.040719855576753616,
0.021763717755675316,
-0.026761606335639954,
0.09071866422891617,
0.04966030269861221,
-0.0406402088701725,
0.04611598327755928,
-0.008168861269950867,
-0.06738190352916718,
-0.009368553757667542,
0.02240089885890484,
0.01727358251810074,
0.016019131988286972,
0.05041695758700371,
-0.006939300801604986,
0.03586135059595108,
0.001785849453881383,
0.010463709011673927,
-0.018348824232816696,
0.06260304152965546,
0.038310516625642776,
0.013121948577463627,
-0.028394384309649467,
-0.02921077236533165,
0.0420539528131485,
0.002532545942813158,
-0.056629471480846405,
-0.014894108287990093,
0.010672783479094505,
-0.005615158472210169,
-0.05535510927438736,
0.06981115788221359,
0.06666507571935654,
-0.01145930401980877,
0.02269957773387432,
0.017034638673067093,
0.005201986525207758,
0.023754907771945,
0.030186455696821213,
0.045677922666072845,
-0.02168406918644905,
-0.009781725704669952,
-0.050337307155132294,
0.019702835008502007,
0.03508478403091431,
0.014555606059730053,
0.07980693876743317,
0.006142824422568083,
0.04181501269340515,
-0.0011922256089746952,
-0.02046944387257099,
0.018727151677012444,
0.042452193796634674,
-0.08088217675685883,
-0.02134556695818901,
0.004241236951202154,
-0.03430822119116783,
0.03160019963979721,
0.022142043337225914,
-0.013131904415786266,
0.0495806559920311,
0.03769324719905853,
0.054399337619543076,
-0.021942924708127975,
0.03396971896290779,
0.030883371829986572,
-0.018368737772107124,
0.024332353845238686,
-0.013201596215367317,
-0.0477885827422142,
0.012375252321362495,
-0.06981115788221359,
-0.05567369982600212,
-0.0706474557518959,
-0.0836300253868103,
0.010712607763707638,
-0.02445182576775551,
-0.019752614200115204,
-0.04488144442439079,
0.025586804375052452,
-0.030783813446760178,
0.08434685319662094,
0.03229711949825287,
0.00880604237318039,
0.016984859481453896,
-0.049620479345321655,
-0.006312075536698103,
0.03383033350110054,
0.0737537145614624,
0.003121191868558526,
-0.03177940845489502,
0.003765840083360672,
-0.03735474497079849,
-0.024889888241887093,
-0.017054550349712372,
-0.04300972446799278,
-0.011001329869031906,
-0.013818865641951561,
-0.002050926676020026,
-0.02218186855316162,
0.0049281977117061615,
-0.0182492658495903,
0.00593374902382493,
0.022241603583097458,
-0.0175921730697155,
-0.0393260233104229,
0.00283993617631495,
-0.024013763293623924,
-0.018916314467787743,
-0.0013577434001490474,
-0.013689437881112099,
0.031500641256570816,
0.05077537149190903,
0.0030415442306548357,
-0.10401982069015503,
0.05726665258407593,
0.05463828146457672,
-0.05893925204873085,
-0.009169434197247028,
0.022301338613033295,
-0.03769324719905853,
-0.005107405129820108,
-0.034069277346134186,
-0.026044778525829315,
0.03351174294948578,
-0.014894108287990093,
-0.047430168837308884,
0.02835455909371376,
0.043487612158060074,
0.021942924708127975,
-0.021923013031482697,
-0.004096875432878733,
0.07016956806182861,
0.053881630301475525,
0.042770784348249435,
0.013440539129078388,
0.021624334156513214,
0.08211671561002731,
-0.015013580210506916,
0.020907506346702576,
-0.011479215696454048,
0.03683703392744064,
0.01195710152387619,
0.0013017411110922694,
-0.02696072682738304,
0.0232371985912323,
0.026164250448346138,
0.032018352299928665,
-0.05041695758700371,
0.01640741340816021,
-0.021604422479867935,
-0.05332409590482712,
0.030863460153341293,
-0.021305743604898453,
0.02837447263300419,
-0.026084601879119873,
0.03813130781054497,
-0.04914259538054466,
-0.010433840565383434,
0.018567856401205063,
-0.07096605002880096,
-0.003711082274094224,
-0.03795209899544716,
-0.010493576526641846,
0.049461185932159424,
0.022978344932198524,
0.027777114883065224,
-0.061209212988615036,
0.027637731283903122,
0.017801247537136078,
-0.016656313091516495,
0.011300008744001389,
0.007033882196992636,
-0.03361130505800247,
-0.025507155805826187,
-0.04802752658724785,
0.024511560797691345,
-0.02132565528154373,
0.009348642081022263,
-0.0029867864213883877,
0.014147412031888962,
0.020061248913407326,
-0.08088217675685883,
-0.0024640988558530807,
-0.023496054112911224,
-0.04304954782128334,
0.07088640332221985,
-0.023814644664525986,
-0.02202257327735424,
-0.013779041357338428,
-0.024352265521883965,
0.03787245228886604,
-0.0540011003613472,
0.024113323539495468,
0.035761792212724686,
0.005779431667178869,
-0.00949300266802311,
0.002064616186544299,
0.041416771709918976,
-0.0410185344517231,
0.026223985478281975,
0.002095728414133191,
-0.04523985832929611,
-0.04942135885357857,
0.01841851696372032,
0.051133785396814346,
-0.01211639679968357,
0.02064865082502365,
0.032575882971286774,
0.0013166751014068723,
-0.03392989560961723,
0.037832628935575485,
-0.0430893748998642,
0.033412184566259384,
0.04093888774514198,
0.01689525507390499,
-0.05005853995680809,
-0.04527968168258667,
0.028493942692875862,
0.0031162139493972063,
0.04508056491613388,
0.007447054143995047,
0.03924637287855148,
0.02289869636297226,
0.05204973369836807,
0.050655897706747055,
0.005396127700805664,
0.06204551085829735,
-0.03657817840576172,
0.010543356649577618,
-0.01570054143667221,
-0.03554276004433632,
-0.02664213627576828,
-0.05579317361116409,
-0.0013527653645724058,
0.04368672892451286,
0.05905872583389282,
-0.0012270715087652206,
-0.021982748061418533,
-0.015770232304930687,
0.03347191959619522,
0.01894618198275566,
-0.031878966838121414,
0.01587974838912487,
-0.006137846037745476,
0.0354631133377552,
-0.015660718083381653,
0.00567489443346858,
-0.025387685745954514,
0.05981537699699402,
-0.00879608653485775,
-0.06766066700220108,
0.0013851221883669496,
-0.023515965789556503,
0.016795696690678596,
-0.018747063353657722,
0.017333317548036575,
0.011638510972261429,
0.018318956717848778,
0.05547458305954933,
0.02952936291694641,
-0.01569058559834957,
0.0025835703127086163,
0.003419870510697365,
0.05846136808395386,
0.0016651335172355175,
0.0005637559806928039,
0.007870182394981384,
0.006879564840346575,
0.023277021944522858,
0.006615732330828905,
0.03267544507980347,
-0.00682480726391077,
-0.08729381114244461,
0.020788034424185753,
0.002278669271618128,
0.004985444247722626,
-0.022281426936388016,
0.004196435213088989,
0.009806615300476551,
-0.06527124345302582,
-0.02972848154604435,
-0.07108552008867264,
0.10680748522281647,
0.040719855576753616,
-0.03671756386756897,
-0.009945998899638653,
0.005246788263320923,
0.06634648144245148,
0.034407779574394226,
-0.010483620688319206,
-0.017452789470553398,
-0.08936465531587601,
-0.015829969197511673,
0.015282390639185905,
-0.02715984545648098,
-0.014366443268954754,
-0.03191879019141197,
0.04105835780501366,
-0.06718278676271439,
0.015192787162959576,
-0.060731325298547745,
-0.059377316385507584,
-0.012534547597169876,
0.0929487943649292,
-0.05726665258407593,
0.030544869601726532,
-0.03823086619377136,
-0.05368250980973244,
0.024013763293623924,
0.06009414419531822,
-0.02357570081949234,
0.057465773075819016,
0.026243897154927254,
-0.026223985478281975,
-0.04512038826942444,
0.014844329096376896,
-0.09207267314195633,
-0.008024499751627445,
0.01425692718476057,
-0.05599229037761688,
-0.019513672217726707,
0.021445127204060555,
-0.06427564471960068,
-0.029250595718622208,
0.03669764846563339,
-0.049978893250226974,
-0.018358781933784485,
-0.003024121280759573,
-0.001996168866753578,
0.012594282627105713,
-0.05451881140470505,
-0.055116165429353714,
-0.06328005343675613,
0.008452605456113815,
0.003768329042941332,
-0.05459845811128616,
-0.00948802474886179,
0.07490860670804977,
0.028812533244490623,
-0.029648834839463234,
0.01812979392707348,
-0.037653420120477676,
-0.0271399337798357,
-0.0215446874499321,
-0.0023869401775300503,
0.03333253785967827,
0.0008680348400957882,
0.008596966974437237,
-0.01984221860766411,
-0.027737291529774666,
-0.01708441972732544,
0.027916498482227325,
0.005555422976613045,
-0.017034638673067093,
-0.004838594235479832,
-0.062284454703330994,
0.01142943650484085,
-0.0321776457130909,
0.015969350934028625,
-0.02781693823635578,
-0.01966301165521145,
-0.0016912678256630898,
-0.025666452944278717,
0.024013763293623924,
-0.0016340211732313037,
-0.008940448053181171,
-0.01538195088505745,
0.0024640988558530807,
-0.019702835008502007,
0.008293310180306435,
-0.011748027056455612,
0.02252037078142166,
0.012683887034654617,
0.0396047905087471,
-0.021584510803222656,
0.040222059935331345,
0.012693842872977257,
-0.027418700978159904,
0.1033826395869255,
-0.06395705789327621,
-0.008507363498210907,
0.08952394872903824,
-0.003865399630740285,
0.056430354714393616,
0.003867888590320945,
0.04396549612283707,
-0.001546906540170312,
-0.011757982894778252,
-0.003892778418958187,
0.0075167459435760975,
0.016437280923128128,
0.022938519716262817,
0.002205244032666087,
-0.004310928750783205,
-0.022938519716262817,
0.0074122087098658085,
-0.06781996786594391,
0.05041695758700371,
0.017223801463842392,
-0.028235089033842087,
-0.05093466490507126,
0.039206549525260925,
0.019384244456887245,
-0.05037713050842285,
0.017462745308876038,
0.01949376054108143,
-0.034905578941106796,
-0.010662827640771866,
0.005172118544578552,
-0.010189919732511044,
-0.018906358629465103,
0.015481510199606419,
0.040899064391851425,
0.004674321040511131,
0.03108249232172966,
0.011061065830290318,
0.021405303850769997,
-0.047549642622470856,
0.015561157837510109,
-0.009497981518507004,
-0.06479335576295853,
0.024511560797691345,
-0.00956767238676548,
-0.05228867754340172,
-0.019931821152567863,
-0.02373499609529972,
0.02066856250166893,
-0.006376788951456547,
-0.02578592300415039,
0.0027055307291448116,
0.028274912387132645,
-0.04898329824209213,
-0.029609009623527527,
-0.018757019191980362,
0.008462561294436455,
0.054040923714637756,
0.02441200241446495,
0.07618296891450882,
-0.03516443446278572,
-0.010623004287481308,
-0.04838594049215317,
-0.005035224370658398,
0.03215773403644562,
-0.023794732987880707,
-0.0682978481054306,
0.00550564331933856,
0.03004707209765911,
0.021086713299155235,
0.044841621071100235,
0.06889520585536957,
-0.0003388135810382664,
-0.03637905791401863,
-0.021923013031482697,
0.010921682231128216,
0.005361281801015139,
-0.0015668184496462345,
0.017631996423006058,
-0.0002664773492142558,
-0.000055107768275775015,
0.009438245557248592,
-0.08864782005548477,
-0.02885235846042633,
-0.03213782235980034,
0.034447602927684784,
-0.018030233681201935,
0.05587282031774521,
-0.0036065448075532913,
-0.010294457897543907,
0.03209799900650978,
-0.03315332904458046,
-0.02357570081949234,
0.017880896106362343,
0.0024392090272158384,
-0.08458579331636429,
-0.010204853489995003,
0.03291438892483711,
0.0488240048289299,
-0.008447627536952496,
0.004557338543236256,
0.03279491513967514,
0.0032680423464626074,
-0.037334829568862915,
-0.04062029719352722,
0.031878966838121414,
-0.03438786789774895,
0.017343273386359215,
0.0014834372559562325,
0.025666452944278717,
0.019035786390304565,
0.04117783159017563,
-0.04404514655470848,
-0.041615892201662064,
-0.028832444921135902,
0.0836300253868103,
0.08243530988693237,
0.025865571573376656,
0.022978344932198524,
-0.007252913434058428,
0.09032042324542999,
-0.027757203206419945,
0.03108249232172966,
0.05161166936159134,
0.019553495571017265,
0.031022755429148674,
-0.0069343228824436665,
0.013042300939559937,
-0.06562965363264084,
0.04185483604669571,
0.07192181795835495,
0.019065653905272484,
-0.023635437712073326,
-0.06825802475214005,
-0.04659387096762657,
-0.0441247932612896,
-0.0659482479095459,
-0.05913837254047394,
-0.00328795425593853,
0.040401265025138855,
-0.019364332780241966,
0.027896586805582047,
-0.01325137633830309,
0.023296935483813286,
0.001672600395977497,
-0.07048816233873367,
-0.004042117856442928,
0.013340979814529419,
-0.020041337236762047,
0.0022251559421420097,
-0.012793402187526226,
0.057465773075819016,
-0.015989264473319054,
0.02682134322822094,
-0.019165214151144028,
0.015680629760026932,
0.045677922666072845,
-0.011568820104002953,
0.0033999586012214422,
-0.003616500645875931,
0.021146448329091072,
0.09422315657138824,
-0.004084430634975433,
0.0519302599132061,
-0.02132565528154373,
0.03996320441365242,
-0.01574036478996277,
0.02935015596449375,
0.014456046745181084,
-0.014635253697633743,
0.029449714347720146,
-0.08793099224567413,
0.03986364230513573,
0.032217469066381454,
-0.08753275871276855,
0.05674894526600838,
-0.04782840609550476,
-0.06132868304848671,
0.04265131056308746,
-0.06144815310835838,
-0.0519302599132061,
-0.02970856986939907,
0.04189465939998627,
0.028294824063777924,
-0.01979243941605091,
0.0005419772933237255,
0.052686914801597595,
-0.006307097617536783,
0.0027179757598787546,
0.013052256777882576,
-0.025885483250021935,
0.031878966838121414,
-0.0037484171334654093,
-0.015531289391219616,
-0.0358414389193058,
-0.02064865082502365,
0.021584510803222656,
-0.00593374902382493,
-0.041775185614824295,
-0.006675467826426029,
0.002546235453337431,
-0.0057993438094854355,
0.012544503435492516,
0.04834611713886261,
-0.005097448825836182,
-0.029151035472750664,
0.04213360324501991
]
|
41,719 | comm.base_comm | __init__ | null | def __init__(self) -> None:
self.comms: dict[str, BaseComm] = {}
self.targets: dict[str, CommTargetCallback] = {}
| (self) -> NoneType | [
0.012219887226819992,
-0.01007572840899229,
-0.04666270688176155,
-0.029127849265933037,
-0.04150218889117241,
-0.008694744668900967,
-0.014300447888672352,
0.05705642327666283,
-0.00018696086772251874,
-0.016917048022150993,
-0.027964916080236435,
0.03615996241569519,
-0.02438526228070259,
0.03194433078169823,
-0.04644465446472168,
-0.015009109862148762,
0.022386468946933746,
0.017689308151602745,
-0.026456736028194427,
-0.051096390932798386,
0.030781395733356476,
0.048988573253154755,
-0.009512432850897312,
0.011447626166045666,
-0.006764093413949013,
0.09187174588441849,
-0.018770473077893257,
0.004815271589905024,
0.05269542336463928,
-0.05378567427396774,
-0.05404006689786911,
-0.02329501137137413,
0.0018420685082674026,
0.009267126210033894,
-0.012192631140351295,
0.03819509595632553,
0.02109633944928646,
0.04822539910674095,
-0.09150832891464233,
0.003161725355312228,
0.01239250972867012,
-0.024421602487564087,
0.020841948688030243,
0.032362259924411774,
0.025366486981511116,
0.0627257227897644,
-0.020115114748477936,
0.038086071610450745,
0.019642673432826996,
-0.019315598532557487,
-0.03256213665008545,
-0.0092126140370965,
-0.015290758572518826,
0.005446707829833031,
-0.059891074895858765,
0.04924296587705612,
0.016172043979167938,
0.08969124406576157,
-0.05640227347612381,
0.004088438116014004,
-0.07566335797309875,
0.03492434695363045,
0.03986681252717972,
-0.0400121808052063,
0.012256228365004063,
-0.015654174610972404,
-0.01341916248202324,
0.0067504653707146645,
0.046153921633958817,
0.06454280763864517,
0.0486251562833786,
0.00460857804864645,
-0.037686314433813095,
-0.00556936115026474,
0.06323450803756714,
0.0021873144432902336,
-0.010266521945595741,
0.039975836873054504,
0.017852846533060074,
-0.014809231273829937,
-0.006873118691146374,
0.04644465446472168,
-0.0517505407333374,
0.0254936832934618,
0.010384632274508476,
0.021914027631282806,
-0.0010550441220402718,
0.02022414095699787,
-0.016490032896399498,
0.0006246224511414766,
-0.06490622460842133,
0.016453690826892853,
-0.03421568498015404,
0.022804398089647293,
-0.002157786628231406,
-0.012565133161842823,
-0.027546986937522888,
0.02016962692141533,
-0.01734406314790249,
0.04015754535794258,
-0.07849801331758499,
-0.00533314049243927,
-0.06323450803756714,
-0.018170835450291634,
-0.05058760568499565,
-0.057928625494241714,
-0.04030291363596916,
0.0032389515545219183,
0.012964891269803047,
0.01701698824763298,
-0.05578446388244629,
0.03830412030220032,
0.02972748689353466,
0.025675389915704727,
0.018843157216906548,
-0.0016399179585278034,
-0.03615996241569519,
-0.006764093413949013,
-0.0010891144629567862,
-0.014809231273829937,
-0.01428227685391903,
0.03485166281461716,
-0.03443373367190361,
0.0086356895044446,
0.039249006658792496,
0.01757119782269001,
-0.016108445823192596,
0.01882498525083065,
0.06959430128335953,
-0.058946192264556885,
0.003209423739463091,
-0.058473750948905945,
0.02438526228070259,
0.004195191897451878,
0.019551819190382957,
-0.0013798478757962584,
-0.03935803100466728,
-0.011956409551203251,
-0.04291951283812523,
-0.01915206015110016,
0.008735628798604012,
0.03468812629580498,
-0.013110257685184479,
-0.033924948424100876,
-0.020369507372379303,
0.024930385872721672,
-0.020605728030204773,
-0.03743192180991173,
-0.060363516211509705,
0.009675970301032066,
-0.04462757334113121,
-0.040739014744758606,
-0.025039412081241608,
-0.011502139270305634,
-0.035487640649080276,
0.017444001510739326,
-0.046081237494945526,
-0.006614184007048607,
0.013282881118357182,
0.002621143124997616,
-0.02086011879146099,
-0.02752881683409214,
0.02086011879146099,
-0.01466386392712593,
-0.0031526400707662106,
-0.0011765615781769156,
-0.03710484504699707,
-0.0996488630771637,
-0.006732294801622629,
0.0361054502427578,
-0.04321024566888809,
-0.022967936471104622,
-0.007899770513176918,
-0.027347108349204063,
-0.015118135139346123,
-0.0056284163147211075,
-0.010975184850394726,
-0.013428247533738613,
-0.005460336338728666,
0.002602972323074937,
0.002564359223470092,
0.038558512926101685,
-0.03772265464067459,
0.08024241030216217,
0.023095132783055305,
0.020587556064128876,
0.0557117834687233,
0.023422207683324814,
0.020133286714553833,
0.0023417663760483265,
-0.03946705535054207,
0.010675366036593914,
-0.0016433249693363905,
-0.0052831703796982765,
0.012774097733199596,
0.03583288937807083,
0.034324709326028824,
0.01772565022110939,
-0.04669904708862305,
0.033070921897888184,
-0.013101172633469105,
0.00559207471087575,
0.0074046156369149685,
0.033616047352552414,
-0.011429456062614918,
0.007154766470193863,
0.038958270102739334,
-0.0055148485116660595,
0.009457919746637344,
-0.051895905286073685,
0.008617518469691277,
-0.03090859204530716,
-0.015390697866678238,
0.0027256254106760025,
0.053058840334415436,
-0.013346478343009949,
-0.025221120566129684,
0.004996979609131813,
0.033379826694726944,
0.026874665170907974,
0.0486251562833786,
0.0016717169201001525,
0.0010016673477366567,
-0.07351920008659363,
-0.06156279146671295,
0.025293802842497826,
0.0013332851231098175,
-0.02187768556177616,
0.006259853020310402,
-0.014636607840657234,
0.01639009453356266,
-0.012065434828400612,
-0.026220515370368958,
0.0360872782766819,
0.05349494144320488,
-0.06047254055738449,
-0.02745613269507885,
-0.011029697023332119,
-0.061453767120838165,
-0.03554215282201767,
0.07624482363462448,
0.04738954082131386,
0.01051182858645916,
0.015136306174099445,
0.012837694957852364,
-0.022568177431821823,
0.04764392971992493,
0.004978809040039778,
-0.045935872942209244,
0.0007643107674084604,
0.031798962503671646,
-0.07380993664264679,
-0.009875848889350891,
-0.022168420255184174,
-0.03554215282201767,
-0.05044224113225937,
-0.032598480582237244,
-0.0076499218121171,
-0.0059691197238862514,
-0.05153248831629753,
-0.0321623794734478,
0.01585405319929123,
-0.036904968321323395,
0.08969124406576157,
0.04738954082131386,
0.03356153517961502,
0.03483349084854126,
-0.009784994646906853,
-0.06156279146671295,
-0.014136910438537598,
0.13475491106510162,
0.02612966112792492,
-0.02022414095699787,
-0.00392490066587925,
-0.05076931416988373,
-0.010366462171077728,
-0.0039612422697246075,
-0.06995771825313568,
-0.013828005641698837,
-0.011356771923601627,
0.06959430128335953,
-0.03381592407822609,
0.011356771923601627,
0.010475486516952515,
0.03681411221623421,
-0.03488800302147865,
-0.007309218868613243,
-0.01239250972867012,
-0.03986681252717972,
-0.020442189648747444,
0.008685659617185593,
0.05483958125114441,
-0.013473674654960632,
0.03350701928138733,
0.06701403856277466,
0.029073337092995644,
-0.03775899484753609,
0.05200493335723877,
0.03888558968901634,
-0.04539074748754501,
0.019751697778701782,
-0.014127824455499649,
-0.042556095868349075,
-0.014100568369030952,
-0.07231992483139038,
-0.01517264824360609,
0.024512456730008125,
0.0038862875662744045,
-0.0321442075073719,
-0.005682928953319788,
0.05865545570850372,
0.04659002274274826,
0.007359188515692949,
0.049606382846832275,
0.016281068325042725,
0.02807394042611122,
0.039721447974443436,
-0.03681411221623421,
0.02204122394323349,
0.09405224770307541,
-0.03986681252717972,
-0.010039386339485645,
0.022023051977157593,
-0.023476719856262207,
0.04502733051776886,
0.005074205808341503,
0.01717143878340721,
-0.012964891269803047,
0.017298635095357895,
0.026329541578888893,
-0.053603965789079666,
0.02022414095699787,
0.03252579644322395,
-0.04273780435323715,
0.013755322434008121,
-0.00002667067019501701,
-0.017298635095357895,
-0.017553027719259262,
0.02533014491200447,
-0.04284682869911194,
0.01486374344676733,
-0.002478047739714384,
-0.061780840158462524,
0.03554215282201767,
0.031962499022483826,
-0.038558512926101685,
0.0030958561692386866,
0.004342829808592796,
0.02533014491200447,
-0.0792248398065567,
-0.008681116625666618,
0.024512456730008125,
0.029164191335439682,
0.06047254055738449,
0.05229566618800163,
0.001634239568375051,
-0.03556032478809357,
-0.04102974757552147,
0.004385985434055328,
-0.025075754150748253,
0.06109035015106201,
0.005355853587388992,
-0.0160811897367239,
0.007045741658657789,
-0.06501524895429611,
0.01804363913834095,
0.013882518745958805,
-0.0384131483733654,
0.08293169736862183,
-0.014554839581251144,
-0.00811782106757164,
-0.00546942139044404,
-0.02031499519944191,
0.06127205863595009,
-0.04826173931360245,
0.0127468416467309,
-0.012038178741931915,
0.0025007613003253937,
-0.0026756555307656527,
-0.03130834922194481,
-0.0008284765644930303,
-0.026147833094000816,
0.042083654552698135,
0.009430663660168648,
-0.016844363883137703,
-0.03387043625116348,
0.0060508884489536285,
0.03739558160305023,
0.027874061837792397,
0.05578446388244629,
0.0517868809401989,
-0.01341916248202324,
-0.10291961580514908,
0.011011525988578796,
-0.015517893247306347,
0.013746237382292747,
0.05367664992809296,
0.01953364908695221,
-0.06109035015106201,
-0.05091468244791031,
0.026529420167207718,
-0.06381597369909286,
0.04840710759162903,
0.02218659035861492,
0.018770473077893257,
0.014618437737226486,
0.047498565167188644,
0.036596063524484634,
0.02180500328540802,
0.011547566391527653,
0.0059736622497439384,
0.027565157040953636,
-0.03634167090058327,
-0.04975174739956856,
-0.05527568235993385,
-0.03176262229681015,
-0.011447626166045666,
0.010003045201301575,
0.06403402239084244,
-0.0045495228841900826,
0.0037363781593739986,
0.008940051309764385,
0.005487592425197363,
0.003881744807586074,
-0.0069458018988370895,
0.04909759759902954,
0.006818606052547693,
0.01337373536080122,
0.07261066138744354,
-0.038631197065114975,
-0.05814667418599129,
0.10975185036659241,
-0.03499703109264374,
-0.0690855160355568,
0.020024260506033897,
0.020187798887491226,
0.02038767747581005,
-0.03650520741939545,
0.02149609848856926,
0.01813449338078499,
-0.03725021332502365,
0.007736233063042164,
0.03207152336835861,
-0.013446418568491936,
-0.00682314857840538,
-0.022713543847203255,
-0.009039990603923798,
-0.0031889816746115685,
0.007322846911847591,
-0.02832833305001259,
-0.003786347806453705,
0.040266573429107666,
0.07500921189785004,
0.0011867827270179987,
0.0454997718334198,
-0.057528864592313766,
-0.030236270278692245,
0.028110282495617867,
0.01235616859048605,
-0.039503395557403564,
-0.015526979230344296,
-0.01969718560576439,
-0.036196306347846985,
-0.017471257597208023,
-0.05124175548553467,
0.09586933255195618,
0.03105395846068859,
-0.029981879517436028,
0.009376151487231255,
0.017553027719259262,
0.025075754150748253,
0.04095706343650818,
0.009303468279540539,
0.0125469621270895,
-0.049860771745443344,
-0.011384028941392899,
0.06261669844388962,
-0.024930385872721672,
-0.0533132329583168,
-0.0211871936917305,
0.012029092758893967,
-0.05836472287774086,
0.01819809153676033,
0.007113882340490818,
-0.057456184178590775,
-0.0020453548058867455,
-0.0012469736393541098,
-0.08583902567625046,
-0.015745028853416443,
-0.020569385960698128,
-0.055966172367334366,
0.0243125781416893,
0.01137494295835495,
-0.01915206015110016,
0.036668747663497925,
0.053058840334415436,
0.030690541490912437,
0.029927365481853485,
0.007331931963562965,
-0.03625081852078438,
-0.0014127824688330293,
0.020533043891191483,
-0.05938228964805603,
-0.052659083157777786,
-0.008204132318496704,
-0.06250767409801483,
-0.03563300892710686,
0.002721082651987672,
-0.0784253254532814,
0.02047853171825409,
0.024203553795814514,
-0.006255310028791428,
-0.01993340626358986,
-0.040121205151081085,
-0.04408244788646698,
-0.07075723260641098,
-0.03859485313296318,
-0.006255310028791428,
-0.05280444771051407,
-0.004910668358206749,
0.05760154873132706,
0.06519696116447449,
0.013046660460531712,
-0.005196859128773212,
-0.008408553898334503,
-0.010284692980349064,
-0.02620234526693821,
-0.016281068325042725,
0.028273820877075195,
0.0005570497014559805,
0.03728655353188515,
-0.04633563011884689,
-0.036668747663497925,
0.0176529660820961,
0.028182966634631157,
0.04826173931360245,
0.021823173388838768,
-0.015554235316812992,
-0.07697165757417679,
0.020605728030204773,
0.00022387037461157888,
-0.014918255619704723,
0.007322846911847591,
-0.05741984024643898,
0.03508788347244263,
-0.03207152336835861,
-0.013101172633469105,
-0.01356452889740467,
-0.034324709326028824,
0.020514873787760735,
0.0059782047756016254,
-0.059963759034872055,
-0.0823502242565155,
-0.029745658859610558,
-0.021005485206842422,
0.018697790801525116,
0.0313446931540966,
-0.07188382744789124,
0.04975174739956856,
0.01993340626358986,
-0.009485175833106041,
0.04633563011884689,
-0.07068455219268799,
0.038013387471437454,
0.0384494885802269,
-0.003743192180991173,
0.031108470633625984,
0.03670508787035942,
-0.011738359928131104,
0.005710185039788485,
0.0019363296451047063,
0.013782578520476818,
-0.004583593457937241,
0.0439370796084404,
0.02563904970884323,
-0.0012583304196596146,
0.026965519413352013,
0.027874061837792397,
-0.008935508318245411,
-0.05945497378706932,
0.04339195415377617,
0.05364030599594116,
-0.02651125006377697,
-0.03323445841670036,
0.00036909509799443185,
0.008367669768631458,
-0.06479720026254654,
-0.010411889292299747,
0.03029078245162964,
-0.08489414304494858,
0.021314390003681183,
0.02007877267897129,
-0.05720179155468941,
0.03323445841670036,
-0.013828005641698837,
0.007141138426959515,
0.014354960061609745,
-0.020133286714553833,
-0.009289839304983616,
0.019569989293813705,
-0.05458518862724304,
0.041538529098033905,
0.0067141237668693066,
-0.01345550362020731,
0.024439774453639984,
-0.0439007394015789,
-0.0556754395365715,
0.015427039936184883,
-0.010711707174777985,
0.04182926192879677,
0.048298079520463943,
-0.039975836873054504,
0.008181419223546982,
0.011956409551203251,
-0.02265903167426586,
-0.04382805526256561,
-0.006146285217255354,
0.024512456730008125,
0.06058156490325928,
0.018770473077893257,
0.056911058723926544,
-0.020751094445586205,
-0.008331327699124813,
0.013101172633469105,
-0.03058151714503765,
0.005864637438207865,
-0.03488800302147865,
-0.07086625695228577,
-0.002823293674737215,
0.010966098867356777,
0.057310815900564194,
0.023313181474804878,
0.051096390932798386,
-0.030090903863310814,
-0.002047626068815589,
-0.006382505875080824,
0.03247128427028656,
-0.017062414437532425,
0.04913393780589104,
0.030399808660149574,
-0.014354960061609745,
0.017671138048171997,
0.06959430128335953,
-0.06915820389986038,
-0.02783771976828575,
-0.016662655398249626,
-0.017625709995627403,
0.02329501137137413,
0.022459153085947037,
-0.028201136738061905,
-0.007708976976573467,
0.03388860821723938,
-0.03347067907452583,
0.02282257005572319,
0.012247143313288689,
0.018879497423768044,
-0.08758343011140823,
0.025130266323685646,
0.03757728636264801,
0.02533014491200447,
-0.07148406654596329,
0.03170810639858246,
0.09049075841903687,
-0.031962499022483826,
0.03239860013127327,
-0.01726229302585125,
0.03090859204530716,
-0.05814667418599129,
-0.03161725401878357,
0.035505812615156174,
0.01403697021305561,
0.021623294800519943,
0.02540282905101776,
-0.02235012874007225,
0.011865555308759212,
-0.006446104031056166,
0.04669904708862305,
0.047098804265260696,
0.08285900950431824,
0.002977745607495308,
0.005755612161010504,
0.040266573429107666,
0.013391905464231968,
-0.05320420861244202,
0.04095706343650818,
0.06523329764604568,
0.0049333819188177586,
0.014718377031385899,
0.013519101776182652,
-0.03899461403489113,
0.03543312847614288,
0.028728092089295387,
-0.0005738009349443018,
-0.01403697021305561,
-0.009049076586961746,
-0.031199324876070023,
-0.06014546751976013,
-0.1152757778763771,
-0.04477293789386749,
0.021532440558075905,
0.04964272305369377,
-0.008522122167050838,
-0.03599642589688301,
0.013873432762920856,
0.0109842699021101,
0.00048578594578430057,
-0.028182966634631157,
-0.0019022593041881919,
0.015345270745456219,
-0.03434287756681442,
0.046480998396873474,
0.030999446287751198,
0.025366486981511116,
-0.023204157128930092,
0.022731715813279152,
-0.011320430785417557,
0.018407056108117104,
0.05865545570850372,
-0.04331927374005318,
-0.0024348918814212084,
0.02204122394323349,
0.017771076411008835,
0.07079357653856277,
0.01466386392712593,
0.07435505837202072,
-0.015390697866678238,
0.016362838447093964,
0.004422327037900686,
0.06337987631559372,
-0.004558608401566744,
-0.016580887138843536,
-0.015699602663517,
-0.10524547845125198,
0.017625709995627403,
0.006523330230265856,
-0.053603965789079666,
0.05389469861984253,
-0.03672325983643532,
-0.018770473077893257,
0.06381597369909286,
-0.06301645934581757,
-0.03705033287405968,
0.030799565836787224,
0.04008486494421959,
-0.045063670724630356,
0.0016035762382671237,
0.004951552487909794,
0.00660964148119092,
0.025148436427116394,
-0.007586324121803045,
0.007281962316483259,
0.026783810928463936,
0.024585140869021416,
-0.013510016724467278,
0.003572840476408601,
-0.04448220506310463,
0.003179896157234907,
0.027746865525841713,
-0.016035761684179306,
-0.0192065741866827,
-0.014936426654458046,
-0.029382241889834404,
0.02235012874007225,
-0.011356771923601627,
0.06556037813425064,
0.009930361993610859,
0.014691120944917202,
0.006668696645647287
]
|
41,720 | comm.base_comm | comm_close | Handler for comm_close messages | def comm_close(self, stream: ZMQStream, ident: str, msg: MessageType) -> None: # noqa: ARG002
"""Handler for comm_close messages"""
content = msg["content"]
comm_id = content["comm_id"]
comm = self.get_comm(comm_id)
if comm is None:
return
self.comms[comm_id]._closed = True
del self.comms[comm_id]
try:
comm.handle_close(msg)
except Exception:
logger.error("Exception in comm_close for %s", comm_id, exc_info=True)
| (self, stream: 'ZMQStream', ident: 'str', msg: 'MessageType') -> 'None' | [
0.02812156453728676,
0.0014627526979893446,
0.0035542023833841085,
0.01918213814496994,
-0.019530903548002243,
-0.042292483150959015,
-0.008324497379362583,
0.07724252343177795,
0.03862126171588898,
-0.00251478748396039,
-0.02894758991897106,
-0.06556803733110428,
-0.011344077996909618,
-0.036418527364730835,
-0.05906996876001358,
0.018502961844205856,
-0.015547627583146095,
-0.03895167261362076,
-0.005080054048448801,
0.032875798642635345,
-0.007140527945011854,
-0.0006436111871153116,
-0.031939636915922165,
-0.05191108584403992,
0.0030104024335741997,
0.01422598771750927,
0.014960232190787792,
0.05833572521805763,
-0.031205391511321068,
-0.04390782117843628,
-0.01610748842358589,
-0.021623501554131508,
-0.008035387843847275,
0.025386502966284752,
-0.0205772016197443,
0.03324291855096817,
0.020907612517476082,
0.02085254341363907,
-0.0025973899755626917,
0.036088116466999054,
0.013455030508339405,
0.06358557194471359,
0.03399552032351494,
-0.010958598926663399,
-0.03428921848535538,
0.006819295696914196,
-0.04651438817381859,
0.06108914315700531,
-0.0023954727221280336,
0.07760964334011078,
-0.018925152719020844,
-0.05918010696768761,
-0.01189476065337658,
-0.03649195283651352,
0.04533959925174713,
0.008760455064475536,
0.053269438445568085,
0.041521526873111725,
-0.014519684948027134,
-0.0075397733598947525,
-0.005818887613713741,
0.0399429015815258,
-0.0188884399831295,
-0.022486237809062004,
0.025790337473154068,
0.004343515262007713,
0.09699369966983795,
-0.011132982559502125,
0.007631553802639246,
0.008687030524015427,
0.004520192742347717,
-0.028800740838050842,
-0.0052727931179106236,
0.03452784940600395,
-0.008719153702259064,
-0.010848462581634521,
-0.0024298904463648796,
0.03452784940600395,
0.026946773752570152,
0.0027488279156386852,
0.04008974879980087,
0.013188866898417473,
-0.0012344485148787498,
0.05099328234791756,
0.01718132197856903,
-0.01824597641825676,
0.12327965348958969,
0.05723435804247856,
-0.06431981921195984,
0.050956569612026215,
-0.028855808079242706,
-0.01166530977934599,
-0.0029897517524659634,
-0.04827657714486122,
0.01899857632815838,
0.02195391058921814,
-0.04097084328532219,
0.05932695418596268,
0.028708960860967636,
0.029645122587680817,
-0.002826841315254569,
-0.004657863639295101,
-0.02070569433271885,
-0.016575569286942482,
-0.03917194530367851,
-0.012950237840414047,
0.033316344022750854,
-0.03294922038912773,
-0.04611055552959442,
-0.039832763373851776,
-0.043393850326538086,
0.07393842190504074,
-0.03854783624410629,
0.02351417951285839,
0.014170918613672256,
-0.022394457831978798,
0.020632270723581314,
0.049231093376874924,
-0.05246176943182945,
-0.011032023467123508,
-0.024670615792274475,
0.018778303638100624,
-0.03961249068379402,
-0.008999084122478962,
0.019127069041132927,
0.06226393207907677,
0.0044008782133460045,
-0.0016176324570551515,
0.035041820257902145,
0.05125026777386665,
-0.039208658039569855,
-0.0009355880902148783,
0.00904956366866827,
-0.03368346765637398,
-0.012142568826675415,
0.01995309442281723,
-0.04757904261350632,
-0.009334083646535873,
0.015896392986178398,
-0.02722211554646492,
-0.007200185209512711,
0.03126046061515808,
-0.03080155700445175,
-0.05378340929746628,
0.015107080340385437,
0.05088314414024353,
0.0066953920759260654,
-0.05679381266236305,
-0.04812972620129585,
-0.006814706604927778,
-0.019127069041132927,
0.010857640765607357,
0.023312263190746307,
0.049231093376874924,
0.006498063914477825,
0.012821744196116924,
-0.049414653331041336,
0.00715429475530982,
-0.013317359611392021,
0.029608409851789474,
0.02691006101667881,
0.007998676039278507,
0.004563788417726755,
-0.006924843415617943,
-0.013243935070931911,
-0.06832145154476166,
-0.019842958077788353,
-0.022614730522036552,
0.013491742312908173,
-0.0037308798637241125,
-0.05815216526389122,
0.03276566043496132,
0.009655315428972244,
-0.016272693872451782,
0.028708960860967636,
0.06755049526691437,
0.0045156036503612995,
0.005763819441199303,
-0.018126660957932472,
-0.0977279469370842,
-0.022816648706793785,
-0.02367938496172428,
-0.007672855164855719,
0.07782991975545883,
-0.007851826958358288,
0.036088116466999054,
0.010141752660274506,
-0.05084643140435219,
-0.008989905938506126,
-0.05771161615848541,
-0.07445239275693893,
0.0063558039255440235,
-0.028562111780047417,
0.0033476960379630327,
0.050038762390613556,
0.03296757861971855,
-0.02613910473883152,
0.0026409856509417295,
-0.039061807096004486,
0.018943509086966515,
0.025423215702176094,
0.03726290911436081,
-0.001638283021748066,
-0.03895167261362076,
0.0022474764846265316,
-0.0004207565216347575,
0.05749134346842766,
0.015850502997636795,
-0.04992862790822983,
-0.05253519490361214,
0.017374061048030853,
-0.0008598691783845425,
-0.03851112350821495,
0.0205772016197443,
0.08025292307138443,
-0.006704570259898901,
-0.026028968393802643,
0.011041201651096344,
-0.018961863592267036,
0.021751994267106056,
0.05771161615848541,
-0.034270863980054855,
-0.006580666173249483,
-0.000612635281868279,
0.0038272493984550238,
0.03135224059224129,
0.05036917328834534,
0.005084643140435219,
0.1044829934835434,
0.017575977370142937,
-0.0216602124273777,
0.06292475759983063,
-0.009875588119029999,
0.029149506241083145,
-0.009939835406839848,
0.009921479038894176,
-0.07805018872022629,
0.013950645923614502,
-0.03403223305940628,
0.039502352476119995,
-0.004974506329745054,
-0.05036917328834534,
-0.0002554080856498331,
0.02270651049911976,
0.03028758615255356,
0.0021637268364429474,
0.06509077548980713,
0.021256377920508385,
0.010095861740410328,
0.022779935970902443,
-0.013491742312908173,
-0.0760677307844162,
0.057748328894376755,
-0.05910668149590492,
-0.0004967622808180749,
-0.08517236262559891,
-0.05125026777386665,
-0.03495003655552864,
0.002556088613346219,
-0.05268204212188721,
-0.009343260899186134,
-0.007012035232037306,
-0.014565574936568737,
0.049891915172338486,
0.08150114119052887,
0.025111161172389984,
0.027736086398363113,
-0.041668374091386795,
0.025313079357147217,
0.008379565551877022,
0.08524578809738159,
-0.03540894016623497,
-0.047689180821180344,
-0.01718132197856903,
-0.019145425409078598,
-0.003919030074030161,
-0.021623501554131508,
-0.044311657547950745,
0.006975322961807251,
0.0037744755391031504,
-0.010802572593092918,
0.00865490734577179,
0.05429738014936447,
-0.020595557987689972,
0.04857027530670166,
0.0337018221616745,
0.05532532185316086,
-0.02210075967013836,
0.008567715995013714,
-0.0061722430400550365,
-0.0563165545463562,
-0.015584339387714863,
-0.04611055552959442,
0.05429738014936447,
0.025092806667089462,
0.034105658531188965,
-0.03170100599527359,
0.0621170848608017,
0.0334448367357254,
-0.0025629722513258457,
-0.008485113270580769,
0.027460744604468346,
0.04365083575248718,
-0.033775247633457184,
-0.038290850818157196,
-0.03357332944869995,
0.023532535880804062,
0.0014535746304318309,
0.0014914341736584902,
0.044935762882232666,
0.06637570261955261,
0.03575770556926727,
-0.07724252343177795,
-0.03105854243040085,
0.017814606428146362,
0.10294108092784882,
0.026506226509809494,
0.014611465856432915,
-0.01346420869231224,
0.07782991975545883,
-0.004754233174026012,
-0.048313289880752563,
0.01205996610224247,
0.045082613825798035,
-0.024982668459415436,
-0.00898072775453329,
-0.04934123158454895,
0.01669488474726677,
0.07959210127592087,
0.019604329019784927,
0.008705385960638523,
0.03836427628993988,
-0.02178870514035225,
-0.03498674929141998,
0.06270448118448257,
-0.03632674738764763,
0.0059703257866203785,
-0.04526617377996445,
0.004687692038714886,
-0.04640425369143486,
-0.05701408535242081,
-0.03755660727620125,
-0.006300735753029585,
0.011399146169424057,
-0.041080981492996216,
-0.005690394900739193,
-0.04919438064098358,
-0.01932898722589016,
0.039832763373851776,
-0.03821742534637451,
0.045376311987638474,
-0.0024275959003716707,
-0.01824597641825676,
-0.004763411357998848,
-0.0181083045899868,
0.022155828773975372,
0.028708960860967636,
-0.01290434692054987,
0.022761579602956772,
-0.004100296646356583,
0.035959623754024506,
-0.023422399535775185,
0.05213135853409767,
0.008127168752253056,
-0.07232308387756348,
0.04442179203033447,
-0.05400368198752403,
-0.004703753627836704,
0.0745992437005043,
0.03199470415711403,
-0.025735270231962204,
-0.011032023467123508,
-0.05367327481508255,
0.048166438937187195,
-0.03361004218459129,
0.06050174683332443,
-0.0019342753803357482,
0.00187461799941957,
0.0030218749307096004,
0.011004489846527576,
-0.005291149485856295,
-0.03384867310523987,
0.03428921848535538,
-0.031627580523490906,
-0.03880482167005539,
-0.014115850441157818,
0.011738734319806099,
0.03386702761054039,
-0.057528056204319,
-0.022981852293014526,
0.015400778502225876,
-0.017557621002197266,
0.050773005932569504,
-0.05789517983794212,
-0.00471293181180954,
0.020228436216711998,
0.024321848526597023,
0.0003375803935341537,
-0.0022991031873971224,
-0.017722826451063156,
-0.0464409664273262,
0.010270245373249054,
-0.002053590025752783,
0.03280237317085266,
0.06622885167598724,
-0.020136656239628792,
-0.004598206374794245,
0.005878544878214598,
0.04684479907155037,
-0.009168878197669983,
0.0028796151746064425,
-0.01469406858086586,
0.009462576359510422,
-0.015547627583146095,
0.03107689879834652,
-0.012197636999189854,
0.033004291355609894,
0.045853570103645325,
0.04350398853421211,
0.015685297548770905,
0.014317767694592476,
-0.002188966376706958,
0.046000417321920395,
-0.047101784497499466,
-0.045706719160079956,
-0.022779935970902443,
-0.015125436708331108,
-0.025478284806013107,
0.016465432941913605,
0.001773659372702241,
-0.06663268804550171,
0.04155823960900307,
-0.018126660957932472,
-0.029810326173901558,
0.0401998870074749,
-0.006906487513333559,
-0.013207223266363144,
0.012261883355677128,
0.007512239273637533,
-0.010325313545763493,
0.04882726073265076,
0.05180095136165619,
-0.010747503489255905,
-0.04310015216469765,
0.05701408535242081,
-0.03524373471736908,
0.08752194792032242,
-0.029736902564764023,
0.027552524581551552,
0.008526414632797241,
0.005777586251497269,
-0.02210075967013836,
-0.018356112763285637,
-0.011243118904531002,
-0.01840200275182724,
-0.05161738768219948,
0.049708351492881775,
-0.019273918122053146,
-0.017227211967110634,
-0.08047319948673248,
-0.04728534445166588,
-0.009627780877053738,
-0.08157456666231155,
-0.0006378749385476112,
-0.05444423109292984,
0.023605961352586746,
-0.026506226509809494,
-0.048019591718912125,
0.0028566699475049973,
-0.008062922395765781,
0.03329798951745033,
0.012344486080110073,
0.008200593292713165,
-0.002551499754190445,
-0.029351424425840378,
-0.0013594996416941285,
0.000051483159040799364,
0.024542123079299927,
-0.0028704372234642506,
0.017098719254136086,
0.01670406199991703,
-0.0621170848608017,
0.0174566637724638,
-0.06990007311105728,
-0.040456872433423996,
-0.01492351945489645,
0.022816648706793785,
-0.042769741266965866,
0.05918010696768761,
0.006080462131649256,
0.017392417415976524,
0.013491742312908173,
-0.0025423215702176094,
-0.009563534520566463,
0.1035284772515297,
-0.01718132197856903,
-0.03629003465175629,
-0.050956569612026215,
0.029296355322003365,
-0.10374874621629715,
-0.044128093868494034,
-0.002143076155334711,
-0.05565573275089264,
-0.008163881488144398,
0.017511731013655663,
-0.05253519490361214,
0.03696921095252037,
0.020301859825849533,
0.0055114226415753365,
-0.021862130612134933,
-0.0596940778195858,
-0.003882317803800106,
-0.0044008782133460045,
-0.03105854243040085,
-0.03144402056932449,
-0.039796050637960434,
0.013803796842694283,
0.012335307896137238,
-0.04607384279370308,
0.009145933203399181,
0.08076689392328262,
0.0074709379114210606,
-0.049267806112766266,
0.08245565742254257,
-0.029938818886876106,
-0.049120958894491196,
-0.008769633248448372,
-0.041851937770843506,
0.0334448367357254,
0.002459719078615308,
0.03151744604110718,
-0.05040588602423668,
-0.00951764453202486,
-0.026781568303704262,
0.02612074837088585,
-0.0014157152036204934,
-0.030361009761691093,
-0.02289007231593132,
-0.057748328894376755,
0.014125028625130653,
-0.04798287898302078,
-0.02072405070066452,
-0.02289007231593132,
0.03537222743034363,
-0.03557414561510086,
0.04713849723339081,
0.05550888553261757,
0.03307771310210228,
0.035317160189151764,
0.043210290372371674,
0.005433409474790096,
-0.0090541522949934,
0.014345302246510983,
-0.016465432941913605,
-0.024046506732702255,
0.047836028039455414,
-0.021219667047262192,
-0.015272285789251328,
0.009655315428972244,
-0.024358561262488365,
-0.060391608625650406,
0.08120743930339813,
0.01501530036330223,
0.022522950544953346,
0.026028968393802643,
0.029479917138814926,
0.05635326728224754,
-0.04919438064098358,
0.04655110090970993,
0.038437698036432266,
-0.0016566391568630934,
-0.03836427628993988,
0.027460744604468346,
0.007278198841959238,
0.10617175698280334,
-0.02892923355102539,
0.011289008893072605,
-0.020632270723581314,
0.02182541787624359,
-0.02241281419992447,
0.0014076844090595841,
-0.023734454065561295,
-0.013014484196901321,
-0.04372426122426987,
-0.018457071855664253,
0.03917194530367851,
-0.06006120145320892,
-0.010839284397661686,
0.056830525398254395,
0.026359377428889275,
0.03247196227312088,
-0.020595557987689972,
-0.006920254323631525,
-0.010664901696145535,
-0.005690394900739193,
0.047836028039455414,
0.0433204248547554,
0.009260659106075764,
-0.027442388236522675,
0.02272486686706543,
-0.06152968853712082,
0.07309404015541077,
-0.00038633879739791155,
-0.031939636915922165,
0.010536408983170986,
0.0026042733807116747,
-0.04702835902571678,
0.05723435804247856,
0.000620092439930886,
0.037207841873168945,
-0.006943199783563614,
0.011252297088503838,
0.017704470083117485,
0.02597389928996563,
-0.04067714512348175,
0.015483381226658821,
0.007411280646920204,
-0.0029759847093373537,
-0.02241281419992447,
-0.013803796842694283,
0.05011218786239624,
-0.04361412301659584,
0.008462168276309967,
-0.02705691009759903,
0.00398098211735487,
0.05407710745930672,
-0.03355497494339943,
-0.004410055931657553,
-0.013234756886959076,
0.0035519078373908997,
-0.05014890059828758,
0.03511524200439453,
0.026010612025856972,
0.03865797445178032,
-0.025441572070121765,
-0.02305527776479721,
-0.012555580586194992,
0.006447584368288517,
-0.0356108583509922,
0.0010801424505189061,
-0.003645982826128602,
0.01825515367090702,
0.013161332346498966,
-0.042769741266965866,
-0.06365899741649628,
-0.009435041807591915,
0.0633285865187645,
-0.03340812399983406,
-0.000029452239687088877,
-0.031205391511321068,
0.061786673963069916,
0.0324903205037117,
-0.015822969377040863,
-0.06215379759669304,
0.0466979518532753,
-0.02399143949151039,
-0.01653885655105114,
0.019512547180056572,
0.01840200275182724,
0.05525190010666847,
0.02536814846098423,
-0.050185613334178925,
0.03570263832807541,
0.013005306012928486,
-0.007998676039278507,
-0.04390782117843628,
0.00959106907248497,
-0.015116258524358273,
0.018374469131231308,
-0.062410783022642136,
-0.00599327078089118,
0.052975740283727646,
-0.013326537795364857,
-0.00727360974997282,
-0.03322456404566765,
-0.04607384279370308,
0.04728534445166588,
0.0370793491601944,
-0.00552518991753459,
0.013601879589259624,
-0.0652376264333725,
0.04284316673874855,
0.005607792176306248,
0.004524781834334135,
0.08098717033863068,
0.02828676998615265,
-0.03168265148997307,
0.006236489396542311,
-0.05624312907457352,
-0.05609628185629845,
0.03972262889146805,
0.023091990500688553,
-0.040273312479257584,
-0.07426883280277252,
-0.04743219539523125,
-0.0185855645686388,
-0.03575770556926727,
-0.0414113886654377,
-0.04221905767917633,
0.0028910876717418432,
-0.01916378177702427,
-0.01795227825641632,
0.050038762390613556,
0.02118295431137085,
0.026818281039595604,
-0.039685916155576706,
-0.05047931149601936,
0.01703447289764881,
0.024395273998379707,
0.05260862037539482,
-0.03680400550365448,
-0.04126454144716263,
-0.03649195283651352,
0.04434836655855179,
0.013858865015208721,
0.05921681970357895,
-0.0024321849923580885,
0.04133796691894531,
0.0035633803345263004,
-0.03188456594944,
-0.00898072775453329,
0.03746482729911804,
0.05011218786239624,
0.0036276266910135746,
0.03311442583799362,
-0.08062004297971725,
0.034105658531188965,
0.05789517983794212,
0.026212528347969055,
-0.016667351126670837,
-0.05091985687613487,
-0.02692841738462448,
-0.058812983334064484,
0.06879871338605881,
-0.029167862609028816,
-0.05525190010666847,
0.016336940228939056,
-0.00013279500126373023,
-0.001984754577279091,
0.03403223305940628,
-0.06520090997219086,
-0.05213135853409767,
-0.011858048848807812,
0.016281871125102043,
-0.0029828683473169804,
-0.019677752628922462,
-0.022027334198355675,
0.08017949759960175,
-0.016199270263314247,
-0.02720375917851925,
0.008420866914093494,
0.01976953260600567,
0.020173367112874985,
0.02645115740597248,
0.006007038056850433,
-0.03544565290212631,
-0.01236284151673317,
-0.019512547180056572,
-0.011077914386987686,
-0.014042425900697708,
0.013253113254904747,
0.04365083575248718,
0.022669799625873566,
-0.012463800609111786,
0.032839085906744,
-0.03498674929141998,
-0.03583113104104996,
0.01962268352508545
]
|
41,721 | comm.base_comm | comm_msg | Handler for comm_msg messages | def comm_msg(self, stream: ZMQStream, ident: str, msg: MessageType) -> None: # noqa: ARG002
"""Handler for comm_msg messages"""
content = msg["content"]
comm_id = content["comm_id"]
comm = self.get_comm(comm_id)
if comm is None:
return
try:
comm.handle_msg(msg)
except Exception:
logger.error("Exception in comm_msg for %s", comm_id, exc_info=True)
| (self, stream: 'ZMQStream', ident: 'str', msg: 'MessageType') -> 'None' | [
0.01677095703780651,
0.0074244048446416855,
0.0011557930847629905,
0.01900283247232437,
0.017727473750710487,
-0.010020668618381023,
0.028914185240864754,
0.054621756076812744,
0.01940365880727768,
0.007438069209456444,
-0.009765597060322762,
-0.016452116891741753,
-0.00858589168637991,
-0.04135803505778313,
-0.06114429980516434,
0.0033728661946952343,
-0.0108132129535079,
-0.013209063559770584,
-0.035454947501420975,
0.044929035007953644,
0.014365995302796364,
0.005552361719310284,
-0.009014047682285309,
-0.018674883991479874,
-0.004436423536390066,
0.04062925651669502,
0.01274446863681078,
0.015832656994462013,
0.006513434927910566,
-0.035218097269535065,
0.020442165434360504,
-0.03117339126765728,
-0.012635152786970139,
0.005925859324634075,
-0.04000980034470558,
0.035072341561317444,
0.03609262779355049,
0.0013265999732539058,
-0.0366574302315712,
-0.00598507234826684,
0.00018845690647140145,
0.06234678253531456,
0.05298200994729996,
0.005625239107757807,
-0.04026487097144127,
0.011378014460206032,
-0.018529128283262253,
0.07725024968385696,
-0.02148067019879818,
0.08351772278547287,
-0.0257804486900568,
-0.0529455728828907,
-0.002471005776897073,
-0.0460221990942955,
0.04354436323046684,
0.0014939906541258097,
0.032066140323877335,
-0.0005750497803092003,
-0.011760621331632137,
0.02202725224196911,
-0.01739952526986599,
0.02964296191930771,
0.0010464766528457403,
0.009446757845580578,
0.0009582265047356486,
-0.054767511785030365,
0.12564097344875336,
-0.04361724108457565,
-0.025816887617111206,
0.014229349792003632,
0.0006149046821519732,
-0.02986159361898899,
-0.013573451898992062,
0.013382147997617722,
0.0004594704369083047,
0.03917170688509941,
-0.007588379550725222,
0.04995758831501007,
0.03501768410205841,
0.046605221927165985,
0.05039485543966293,
-0.02341192588210106,
-0.014766822569072247,
0.050467733293771744,
0.013218173757195473,
0.002871832577511668,
0.07302334904670715,
0.02102518640458584,
-0.051925286650657654,
0.032139018177986145,
-0.036912500858306885,
-0.02947898581624031,
-0.01489435788244009,
-0.03485370799899101,
-0.01527696568518877,
0.047844141721725464,
-0.005224412307143211,
0.03117339126765728,
0.015404500998556614,
0.07674010843038559,
-0.016679858788847923,
0.05651657283306122,
0.00042815585038624704,
-0.031282708048820496,
-0.02694649063050747,
-0.04157666862010956,
0.025343183428049088,
-0.013819413259625435,
-0.032066140323877335,
0.00965628121048212,
-0.008681543171405792,
0.06624573469161987,
-0.08191441744565964,
0.0031018524896353483,
0.002324111992493272,
-0.026418127119541168,
0.005315509624779224,
0.016215264797210693,
-0.06937947124242783,
-0.0020713177509605885,
-0.06143581122159958,
-0.018966393545269966,
-0.009091479703783989,
-0.05841138958930969,
-0.008922950364649296,
0.033833421766757965,
0.025525376200675964,
-0.03704003617167473,
0.057463981211185455,
-0.008922950364649296,
-0.05141514167189598,
-0.015222307294607162,
0.022664930671453476,
-0.048463597893714905,
-0.03700359910726547,
0.0366574302315712,
-0.047917015850543976,
-0.02202725224196911,
0.03609262779355049,
-0.031683534383773804,
0.012826456688344479,
0.03232121095061302,
-0.04678741469979286,
-0.05779192969202995,
-0.025816887617111206,
0.03796922415494919,
0.03487192839384079,
-0.023958507925271988,
0.007096455432474613,
0.00897305365651846,
-0.01995024085044861,
-0.011933705769479275,
0.018219398334622383,
0.02486947923898697,
0.011824389919638634,
0.03456220030784607,
-0.018875297158956528,
-0.041212279349565506,
-0.005447600036859512,
0.060779914259910583,
0.018520018085837364,
-0.002972039394080639,
0.029533645138144493,
-0.014657505787909031,
0.015304294414818287,
-0.03086366131901741,
-0.01677095703780651,
-0.020077776163816452,
0.007346972357481718,
0.007679476402699947,
-0.006631860975176096,
0.05873934179544449,
-0.011268697679042816,
-0.008303490467369556,
0.0446375273168087,
0.053856540471315384,
-0.0018515463452786207,
0.015504707582294941,
-0.0028809423092752695,
-0.08009247481822968,
-0.033286839723587036,
0.05024909973144531,
0.03215723857283592,
0.07276827841997147,
-0.03596509248018265,
0.060998544096946716,
0.049775395542383194,
-0.05535053089261055,
0.00723765604197979,
-0.04000980034470558,
-0.06322131305932999,
-0.0056161293759942055,
-0.030845440924167633,
0.0034867373760789633,
0.005301844794303179,
0.06001469865441322,
-0.0027647935785353184,
-0.006463331636041403,
-0.035072341561317444,
-0.003842015517875552,
0.054658193141222,
0.007182997651398182,
-0.01343680638819933,
0.03935389965772629,
-0.01305419858545065,
-0.003728144336491823,
0.04671453684568405,
0.027821021154522896,
-0.06354925781488419,
-0.04828140512108803,
-0.014110923744738102,
-0.03024420142173767,
-0.02678251639008522,
0.03640235960483551,
0.06569915264844894,
-0.02687361277639866,
-0.03530919551849365,
0.012188777327537537,
-0.002022353233769536,
-0.0022614828776568174,
0.06843206286430359,
-0.004691495094448328,
-0.05367434769868851,
-0.005397496744990349,
0.014903468079864979,
-0.001281051430851221,
0.05250830575823784,
-0.01777302287518978,
0.05203460156917572,
0.014256679452955723,
-0.015094771049916744,
0.03139202296733856,
-0.00440681679174304,
0.0532735213637352,
0.015240526758134365,
0.012061242014169693,
-0.07499103993177414,
0.035509608685970306,
-0.006026065908372402,
0.04354436323046684,
-0.010995406657457352,
-0.031975045800209045,
0.0240313857793808,
0.024577967822551727,
0.03979116678237915,
-0.036220163106918335,
0.03432534635066986,
0.03833361342549324,
-0.015887314453721046,
0.06577202677726746,
-0.03509056195616722,
-0.04620439559221268,
0.007342417724430561,
-0.07455378025770187,
-0.027219781652092934,
-0.03057214990258217,
-0.04281558468937874,
0.004374932963401079,
-0.006791280582547188,
-0.058848656713962555,
-0.04310709610581398,
-0.015905534848570824,
-0.013354819267988205,
0.0394267775118351,
0.07812477648258209,
0.016816504299640656,
-0.04434601590037346,
-0.016506774351000786,
0.03990048170089722,
0.050613489001989365,
0.09182576835155487,
0.022810686379671097,
0.005734555423259735,
0.016069509088993073,
0.0015737005742266774,
-0.045694250613451004,
-0.04157666862010956,
-0.028385821729898453,
0.024231798946857452,
0.0529455728828907,
-0.038989514112472534,
-0.005570581182837486,
0.015122100710868835,
-0.03325040265917778,
0.019075710326433182,
0.007497282233089209,
0.07440802454948425,
-0.02286534570157528,
-0.02117094025015831,
-0.03288601338863373,
-0.04296134039759636,
0.04143091291189194,
-0.06365858018398285,
0.0007936825277283788,
-0.012079461477696896,
0.017035137861967087,
-0.049775395542383194,
0.0788535550236702,
0.041540227830410004,
-0.019294342026114464,
-0.015295185148715973,
0.03700359910726547,
0.01112294290214777,
-0.038916636258363724,
-0.03330506011843681,
-0.008408252149820328,
-0.016279032453894615,
0.012006583623588085,
-0.016588762402534485,
-0.022828906774520874,
0.046386588364839554,
0.058702901005744934,
-0.0636950135231018,
-0.01662520132958889,
0.023029319941997528,
0.13511505722999573,
0.05057704821228981,
0.0515608973801136,
-0.0037645832635462284,
0.07943657785654068,
0.013537012971937656,
0.012188777327537537,
-0.03742264583706856,
0.04769838601350784,
-0.017645487561821938,
0.003780525177717209,
-0.056006431579589844,
0.005420270841568708,
0.061399370431900024,
0.04686029255390167,
0.015659572556614876,
0.049155935645103455,
-0.033141084015369415,
-0.04941100627183914,
0.020642578601837158,
-0.01916680671274662,
-0.014384214766323566,
-0.011824389919638634,
0.0025917093735188246,
-0.020915869623422623,
-0.026727857068181038,
-0.03330506011843681,
0.0033865305595099926,
0.02002311870455742,
0.04066569730639458,
-0.01586909592151642,
0.001109675271436572,
-0.010922528803348541,
0.03334149718284607,
-0.05932236090302467,
0.002527941484004259,
-0.01956763304769993,
-0.009574294090270996,
-0.03241230919957161,
-0.024304676800966263,
0.02000490017235279,
-0.01258049439638853,
-0.07411651313304901,
-0.007738689426332712,
0.008339929394423962,
0.024577967822551727,
-0.012534946203231812,
0.057536859065294266,
-0.003147401148453355,
-0.10523524135351181,
0.03727689012885094,
-0.04073857516050339,
-0.0047689275816082954,
0.09087835997343063,
0.04897374287247658,
-0.020041337236762047,
0.016561433672904968,
-0.07674010843038559,
0.03412493318319321,
-0.07010824233293533,
0.06803123652935028,
-0.029151037335395813,
-0.004577623680233955,
-0.030809001997113228,
0.016807394102215767,
0.02372165583074093,
-0.03949965536594391,
0.01478504203259945,
-0.030608588829636574,
-0.024650845676660538,
-0.010066217742860317,
0.012808237224817276,
0.07400719821453094,
-0.05673520639538765,
-0.0031041300389915705,
-0.02169930376112461,
0.01809186302125454,
0.04041062667965889,
-0.05174309015274048,
-0.03884375840425491,
0.003220278536900878,
0.035509608685970306,
0.012717139907181263,
-0.03009844571352005,
-0.051998164504766464,
-0.023503024131059647,
-0.021881496533751488,
0.007182997651398182,
0.04347148537635803,
0.03157421573996544,
-0.015031003393232822,
-0.037386205047369,
0.049921151250600815,
0.0337241068482399,
0.025525376200675964,
0.0237034372985363,
0.0023138634860515594,
0.01478504203259945,
0.004495636560022831,
-0.0009513942059129477,
-0.030699685215950012,
0.0320114828646183,
0.00022603440447710454,
-0.03693072125315666,
0.00733330799266696,
-0.018365154042840004,
-0.015404500998556614,
0.06176375970244408,
-0.000589283648878336,
-0.020187092944979668,
-0.005251741502434015,
-0.0033683113288134336,
-0.04205037280917168,
0.0477348230779171,
-0.021972594782710075,
-0.04820852726697922,
0.049447447061538696,
0.00031855478300713,
-0.049083057790994644,
0.04711536318063736,
-0.021954374387860298,
-0.02508811093866825,
-0.011742401868104935,
-0.00989313330501318,
-0.003983215894550085,
0.021972594782710075,
0.05148801952600479,
-0.0066591901704669,
-0.05010334402322769,
0.05134226381778717,
0.01671629771590233,
0.059395238757133484,
-0.02377631515264511,
-0.012553165666759014,
0.006818609777837992,
0.028677333146333694,
0.001927840057760477,
-0.008298936299979687,
0.03157421573996544,
-0.026910051703453064,
-0.08934792876243591,
0.023120416328310966,
-0.021043404936790466,
-0.0027944003231823444,
-0.050832122564315796,
-0.04489259794354439,
-0.019585853442549706,
-0.11245012283325195,
-0.005447600036859512,
-0.02177218161523342,
0.01663431152701378,
-0.03173819184303284,
-0.015477378852665424,
-0.03181106969714165,
-0.043690115213394165,
0.06493393331766129,
-0.006276582833379507,
0.01761815883219242,
0.009182577021420002,
-0.00931466743350029,
-0.010339508764445782,
0.038989514112472534,
-0.031519558280706406,
0.006914261728525162,
0.028604455292224884,
0.03499946370720863,
-0.04489259794354439,
0.042997781187295914,
-0.07167511433362961,
-0.01931256242096424,
-0.004179074428975582,
0.03423424810171127,
-0.03141024336218834,
0.0653347596526146,
-0.029679398983716965,
0.018337823450565338,
0.04609507694840431,
0.027657046914100647,
0.03458041697740555,
0.08082125335931778,
-0.02386741153895855,
-0.02231876365840435,
-0.029679398983716965,
0.017982546240091324,
-0.07152935862541199,
-0.0501762218773365,
-0.026126617565751076,
-0.049155935645103455,
0.006987139116972685,
-0.010785884223878384,
-0.027602387592196465,
0.027511291205883026,
0.053091324865818024,
0.016953149810433388,
0.00031627737917006016,
-0.01655232347548008,
0.02448687143623829,
-0.03292245417833328,
-0.05072280392050743,
-0.048536475747823715,
-0.03990048170089722,
-0.0007270678761415184,
0.022136569023132324,
-0.07550118863582611,
-0.02718334272503853,
0.06584490835666656,
-0.041977494955062866,
-0.0394267775118351,
0.06821342557668686,
-0.010703896172344685,
-0.0011392817832529545,
-0.05436668545007706,
-0.04489259794354439,
0.020915869623422623,
-0.023666998371481895,
0.01105006504803896,
-0.03394274041056633,
-0.0032316658180207014,
-0.005351948086172342,
0.01863844506442547,
0.014493531547486782,
-0.008872847072780132,
-0.0060351756401360035,
-0.07666722685098648,
-0.0014131420757621527,
-0.04456464946269989,
-0.046058639883995056,
-0.06650080531835556,
0.02002311870455742,
-0.0002290235279360786,
0.029223915189504623,
0.017800351604819298,
0.05072280392050743,
-0.009683609940111637,
0.010849651880562305,
-0.016734518110752106,
-0.02909637987613678,
-0.030772563070058823,
0.019130367785692215,
0.002277424791827798,
0.03040817566215992,
-0.0169440396130085,
-0.04704248532652855,
0.006076169200241566,
0.0033683113288134336,
-0.03505412116646767,
0.06311199814081192,
-0.02601730078458786,
0.04201393201947212,
0.0169440396130085,
-0.006048840004950762,
0.037222228944301605,
-0.013518793508410454,
0.039754725992679596,
0.03920814394950867,
0.014721273444592953,
0.027146903797984123,
-0.016033070161938667,
0.003910338506102562,
0.062310341745615005,
-0.02811253070831299,
0.010020668618381023,
-0.0007976680062711239,
0.01258960459381342,
-0.030225981026887894,
0.0026463675312697887,
-0.05542340874671936,
0.029114598408341408,
-0.0044796946458518505,
0.008002870716154575,
0.017590828239917755,
-0.0830075815320015,
-0.015951083973050117,
0.07444445788860321,
0.010767664760351181,
0.020915869623422623,
-0.024067824706435204,
0.003951332066208124,
0.014976345002651215,
0.005465819500386715,
0.054075174033641815,
0.03558248654007912,
-0.01730842888355255,
-0.004557127133011818,
0.011523769237101078,
-0.0885462760925293,
0.07535543292760849,
-0.005433935672044754,
-0.049228813499212265,
0.043835870921611786,
-0.04281558468937874,
-0.020660797134041786,
0.0326673798263073,
0.017445074394345284,
0.03869800269603729,
0.01800987496972084,
0.01385585218667984,
0.03150133788585663,
0.030043788254261017,
-0.011305136606097221,
0.012197887524962425,
0.02262849174439907,
-0.01477593183517456,
0.050540611147880554,
0.01166041474789381,
0.09022246301174164,
-0.02824006788432598,
-0.004263339098542929,
-0.04959320276975632,
0.03157421573996544,
0.022373421117663383,
0.006663744803518057,
-0.05648013576865196,
0.01258960459381342,
0.00034645324922166765,
-0.04365367814898491,
0.06391365081071854,
0.03578289970755577,
0.019421879202127457,
0.0010476154275238514,
-0.045985762029886246,
-0.04394518956542015,
-0.028076093643903732,
-0.066464364528656,
-0.011642195284366608,
-0.0062583633698523045,
-0.003639324801042676,
-0.018137410283088684,
-0.10858761519193649,
-0.029497206211090088,
0.019804485142230988,
0.04248763620853424,
-0.03997335955500603,
0.016743626445531845,
0.006436002440750599,
0.0712742879986763,
-0.020351067185401917,
-0.04828140512108803,
0.02592620439827442,
0.0733148604631424,
0.015240526758134365,
-0.058229196816682816,
0.01576888933777809,
0.035746458917856216,
0.060998544096946716,
-0.0004591857723426074,
-0.04835428297519684,
0.03350547328591347,
0.011068284511566162,
-0.024887697771191597,
-0.02685539238154888,
-0.014575518667697906,
-0.04511123150587082,
0.027001148089766502,
-0.058229196816682816,
-0.010339508764445782,
0.05750042200088501,
0.01940365880727768,
-0.021881496533751488,
0.017353976145386696,
-0.054002296179533005,
0.06886932253837585,
0.0377141535282135,
0.012780907563865185,
0.020952308550477028,
-0.053382836282253265,
0.02556181512773037,
0.019913801923394203,
0.0015919199213385582,
0.041066523641347885,
-0.003268104512244463,
-0.01192459650337696,
-0.0009394377120770514,
-0.030499272048473358,
-0.04434601590037346,
0.0237034372985363,
0.026290591806173325,
-0.042451199144124985,
-0.05363790690898895,
-0.04150379076600075,
-0.009556074626743793,
-0.029916251078248024,
-0.041212279349565506,
-0.02301109954714775,
0.016361020505428314,
0.017435964196920395,
-0.015149429440498352,
0.025033453479409218,
0.016443006694316864,
0.029825154691934586,
-0.06056128069758415,
-0.06580846756696701,
-0.008645104244351387,
-0.0013129353756085038,
0.042524076998233795,
-0.05720891058444977,
-0.04000980034470558,
0.008458355441689491,
0.02086121030151844,
0.0065544284880161285,
0.05855714529752731,
0.016515884548425674,
0.08118563890457153,
-0.0012981321197003126,
-0.030426394194364548,
-0.027329096570611,
-0.01718089170753956,
0.04642302542924881,
-0.003381975693628192,
0.033232182264328,
-0.05265406146645546,
0.03558248654007912,
0.014557299204170704,
0.03869800269603729,
0.012334533035755157,
-0.010585470125079155,
0.005602465011179447,
-0.062383219599723816,
0.05779192969202995,
0.020132435485720634,
-0.05633438006043434,
0.0024573414120823145,
-0.0066774096339941025,
-0.01746329292654991,
0.01428400818258524,
-0.05935879796743393,
-0.0570995956659317,
-0.01686205342411995,
-0.001334570930339396,
-0.01900283247232437,
-0.020679017528891563,
0.017654597759246826,
0.06701094657182693,
-0.01718089170753956,
0.00912336353212595,
-0.01846536062657833,
0.007460843771696091,
0.0009007215267047286,
0.007684031035751104,
-0.023211512714624405,
-0.034216031432151794,
0.0013641774421557784,
-0.01831049472093582,
0.013181734830141068,
-0.021735742688179016,
0.010375947691500187,
0.03731332719326019,
0.01600574143230915,
0.020114215090870857,
0.00815773569047451,
-0.01739952526986599,
-0.016670748591423035,
0.040301308035850525
]
|
41,722 | comm.base_comm | comm_open | Handler for comm_open messages | def comm_open(self, stream: ZMQStream, ident: str, msg: MessageType) -> None: # noqa: ARG002
"""Handler for comm_open messages"""
from comm import create_comm
content = msg["content"]
comm_id = content["comm_id"]
target_name = content["target_name"]
f = self.targets.get(target_name, None)
comm = create_comm(
comm_id=comm_id,
primary=False,
target_name=target_name,
)
self.register_comm(comm)
if f is None:
logger.error("No such comm target registered: %s", target_name)
else:
try:
f(comm, msg)
return
except Exception:
logger.error("Exception opening comm with target: %s", target_name, exc_info=True)
# Failure.
try:
comm.close()
except Exception:
logger.error(
"""Could not close comm during `comm_open` failure
clean-up. The comm may not have been opened yet.""",
exc_info=True,
)
| (self, stream: 'ZMQStream', ident: 'str', msg: 'MessageType') -> 'None' | [
0.02892252430319786,
-0.021244777366518974,
0.01073981262743473,
-0.025977881625294685,
0.029157372191548347,
-0.0036062828730791807,
0.025815295055508614,
0.02489396557211876,
-0.01891435496509075,
0.002427523024380207,
-0.021588018164038658,
-0.017703980207443237,
0.00187878985889256,
-0.0176226869225502,
-0.05408746749162674,
0.0018979841843247414,
-0.007984857074916363,
-0.018553050234913826,
-0.0403217189013958,
0.06145810708403587,
0.033998869359493256,
0.028687674552202225,
-0.010279147885739803,
-0.060193534940481186,
0.005586689803749323,
0.07392315566539764,
-0.0438263863325119,
0.034866005182266235,
-0.007059010677039623,
-0.0564359575510025,
0.03531763702630997,
-0.01688200980424881,
0.0020346029195934534,
0.0169000755995512,
-0.004446318838745356,
0.05986836180090904,
0.031144553795456886,
0.021298972889780998,
-0.012799255549907684,
-0.0315239243209362,
-0.00018022945732809603,
0.021533822640776634,
0.04039398208260536,
0.012049546465277672,
-0.05462942644953728,
0.001925082178786397,
-0.04379025474190712,
0.028543153777718544,
-0.02317776344716549,
0.060735493898391724,
0.008459070697426796,
-0.04993245378136635,
0.00021113804541528225,
-0.05538817122578621,
-0.01115531474351883,
0.020016338676214218,
0.03667253255844116,
0.014930959790945053,
-0.04480190947651863,
-0.009041676297783852,
-0.009972038678824902,
0.05885670334100723,
0.023213893175125122,
0.0025652707554399967,
-0.023376481607556343,
-0.033420778810977936,
0.08172735571861267,
-0.02993418090045452,
-0.006684156134724617,
0.04425995424389839,
0.055749475955963135,
0.000032549272873438895,
-0.02077507972717285,
-0.015960680320858955,
0.026411449536681175,
0.06604668498039246,
-0.009782352484762669,
0.02921156957745552,
0.020287316292524338,
0.0005876863724552095,
0.006982233375310898,
0.010992727242410183,
-0.015463885851204395,
0.035136982798576355,
0.011317902244627476,
-0.00021043236483819783,
0.0663718655705452,
0.05527977645397186,
-0.03793710097670555,
0.0158703550696373,
-0.04220050945878029,
0.03768418729305267,
-0.020269252359867096,
-0.042742468416690826,
0.02187706157565117,
0.01818271167576313,
0.0036198317538946867,
0.06452920287847519,
0.009791385382413864,
0.07811430096626282,
-0.04664457216858864,
0.02247321605682373,
-0.033420778810977936,
-0.02034151367843151,
-0.0461026132106781,
-0.04740331321954727,
0.013630258850753307,
0.019817620515823364,
-0.02733277902007103,
-0.015201939269900322,
-0.06705834716558456,
0.057447612285614014,
-0.013115398585796356,
0.04469351842999458,
0.003294656751677394,
-0.04491030424833298,
0.0378287099301815,
0.0401049368083477,
-0.0806434378027916,
-0.027676019817590714,
-0.05441264435648918,
0.024713313207030296,
-0.012004382908344269,
-0.021298972889780998,
0.03253558278083801,
0.05340098962187767,
0.01988987997174263,
-0.04353734105825424,
0.09748028963804245,
-0.03378208726644516,
-0.01716202311217785,
-0.010757878422737122,
0.008409391157329082,
0.005460232961922884,
-0.020829275250434875,
0.028308304026722908,
-0.08093248307704926,
-0.005744761321693659,
0.011363065801560879,
0.002621724735945463,
0.014759339392185211,
-0.015554212033748627,
-0.06951522082090378,
-0.05538817122578621,
-0.046138741075992584,
0.06850356608629227,
0.015834223479032516,
-0.037431273609399796,
-0.005740244872868061,
0.027856672182679176,
0.01102885790169239,
-0.04491030424833298,
0.024677181616425514,
0.03764805942773819,
0.008671337738633156,
0.00018573373381514102,
-0.021858997642993927,
-0.03482987359166145,
0.02563464269042015,
0.061205193400382996,
0.0177310798317194,
0.012501178309321404,
0.005008600652217865,
0.032698169350624084,
-0.01052302960306406,
-0.04483804106712341,
-0.059615448117256165,
-0.062180716544389725,
0.00722159817814827,
-0.02391844056546688,
0.004805366508662701,
0.051449935883283615,
0.04169468209147453,
-0.022274497896432877,
0.005527977831661701,
0.00041691295336931944,
0.005695081781595945,
-0.00980041828006506,
-0.024966226890683174,
-0.06510729342699051,
-0.046463917940855026,
0.05462942644953728,
-0.0006243814714252949,
0.05491847172379494,
-0.017279446125030518,
0.08577398210763931,
0.02948254719376564,
-0.04924597218632698,
0.020829275250434875,
-0.02218417264521122,
-0.05910961702466011,
0.010992727242410183,
-0.00766419805586338,
0.013196691870689392,
-0.00338272494263947,
0.04075528681278229,
-0.04252568632364273,
-0.017369773238897324,
-0.05379842594265938,
0.06257815659046173,
0.042742468416690826,
0.05668887123465538,
0.007357087917625904,
0.046138741075992584,
0.007795171346515417,
-0.0013966724509373307,
0.04165855050086975,
-0.00004805648495675996,
-0.008210672996938229,
-0.03819001466035843,
-0.007311924826353788,
-0.03445050120353699,
-0.056616608053445816,
0.07392315566539764,
0.05397907644510269,
0.006209942512214184,
-0.016231659799814224,
0.023376481607556343,
-0.010071397759020329,
0.010360442101955414,
0.08685790002346039,
0.025562381371855736,
-0.021642213687300682,
-0.013621225953102112,
0.009773320518434048,
-0.003884036559611559,
0.054448775947093964,
-0.03647381439805031,
0.03768418729305267,
0.046463917940855026,
-0.012564406730234623,
-0.005162155721336603,
-0.023466806858778,
0.050871849060058594,
-0.013034104369580746,
-0.0032359445467591286,
-0.06702221184968948,
0.04126111418008804,
-0.046174872666597366,
0.02590562216937542,
-0.002447846345603466,
-0.002556238090619445,
0.04584969952702522,
0.014912893995642662,
0.03501052409410477,
-0.043573472648859024,
0.005880251061171293,
0.012618603184819221,
-0.03481180593371391,
0.021082188934087753,
-0.014172217808663845,
-0.023502938449382782,
-0.001733138458803296,
-0.061169061809778214,
-0.03884036839008331,
-0.05119702219963074,
-0.024966226890683174,
-0.026989538222551346,
-0.033727891743183136,
-0.05611078068614006,
-0.05379842594265938,
0.0036401553079485893,
0.0054828147403895855,
0.03351110592484474,
0.044440604746341705,
0.005279580131173134,
-0.006381562445312738,
-0.05123315379023552,
0.02191319316625595,
0.012185036204755306,
0.012428916990756989,
0.05282289907336235,
-0.01616843231022358,
0.008441004902124405,
-0.014045760035514832,
-0.06315623968839645,
-0.025706904008984566,
-0.03508278727531433,
0.008558429777622223,
0.021714475005865097,
-0.06539633870124817,
-0.010477866046130657,
-0.013937368988990784,
-0.02276226133108139,
0.012130839750170708,
-0.0013989306753501296,
0.03466728702187538,
-0.02577916346490383,
0.011046922765672207,
-0.019853750243782997,
-0.04718652740120888,
0.05621917173266411,
-0.02032344788312912,
0.007722910027951002,
0.025291401892900467,
0.03611250966787338,
-0.033709824085235596,
0.07999309152364731,
0.04534386843442917,
-0.04162242263555527,
0.004349217750132084,
0.022256433963775635,
-0.01873370260000229,
-0.04089980944991112,
-0.0489930585026741,
-0.028868328779935837,
0.005252482369542122,
0.001554743736051023,
-0.06319237500429153,
-0.007266761735081673,
0.041586291044950485,
0.05524364858865738,
-0.05181124433875084,
-0.03490213304758072,
0.03706996887922287,
0.08664111793041229,
0.011615979485213757,
0.024424267932772636,
0.0015332911862060428,
0.06366206705570221,
0.02091960236430168,
0.033691760152578354,
-0.022129977121949196,
0.026953408494591713,
-0.027097931131720543,
-0.0035475706681609154,
-0.01030624657869339,
0.02046797052025795,
0.03880423679947853,
0.08837538212537766,
-0.03062066063284874,
0.06807000190019608,
0.014407066628336906,
-0.032969146966934204,
0.016484573483467102,
0.002635273616760969,
-0.0088655399158597,
-0.010631421580910683,
0.0003881214070133865,
-0.025833360850811005,
-0.04111659154295921,
-0.018661441281437874,
-0.05397907644510269,
0.01647554151713848,
-0.007180951535701752,
-0.016060039401054382,
0.006774482782930136,
-0.0026691460516303778,
0.040285591036081314,
-0.1130886971950531,
0.016367150470614433,
0.046752963215112686,
-0.0326620377600193,
-0.0446573905646801,
-0.019546641036868095,
0.02948254719376564,
-0.0143167395144701,
-0.03696157783269882,
0.006002191454172134,
-0.003784677479416132,
-0.020829275250434875,
-0.021985454484820366,
0.0357692688703537,
-0.002149769105017185,
-0.09372270852327347,
0.0030394846107810736,
-0.025688838213682175,
-0.02563464269042015,
0.0401049368083477,
0.03746740520000458,
-0.00872101727873087,
-0.024930095300078392,
-0.06225297972559929,
0.08122152835130692,
-0.06994879245758057,
0.05195576325058937,
-0.009402981959283352,
-0.048162054270505905,
0.012636668048799038,
-0.004611164331436157,
0.007740975357592106,
-0.020215056836605072,
0.06846743822097778,
-0.012410852126777172,
-0.060193534940481186,
-0.040430113673210144,
0.018110450357198715,
0.07041848450899124,
-0.014289641752839088,
0.0005357486661523581,
0.03020516037940979,
0.006399627774953842,
0.05434038117527962,
0.0034459533635526896,
0.01589745283126831,
0.011914056725800037,
0.05896509438753128,
0.014939991757273674,
-0.01744203455746174,
-0.026104340329766273,
-0.007262245286256075,
-0.009466210380196571,
0.031090358272194862,
0.03146972879767418,
0.03562474623322487,
-0.0027730215806514025,
0.0157167986035347,
0.019944077357649803,
0.03295108303427696,
0.014641914516687393,
-0.024586854502558708,
-0.02590562216937542,
-0.024189418181777,
-0.001642812043428421,
-0.01430770754814148,
-0.020702818408608437,
-0.010134626179933548,
0.06474598497152328,
0.00823325477540493,
-0.010324311442673206,
0.005360873881727457,
-0.011462424881756306,
0.02991611510515213,
0.010658519342541695,
-0.006711253896355629,
0.020991863682866096,
0.02505655214190483,
-0.0016597482608631253,
0.0692623108625412,
-0.00547378184273839,
-0.03436017408967018,
0.07251406461000443,
0.03522730991244316,
-0.01758655719459057,
0.05069119483232498,
-0.01920340023934841,
-0.019998272880911827,
0.018498852849006653,
0.020395709201693535,
-0.0001272332447115332,
0.04111659154295921,
-0.00027803605189546943,
0.012754092924296856,
-0.015572276897728443,
-0.008842958137392998,
-0.015066449530422688,
0.07247792929410934,
-0.03522730991244316,
0.027712149545550346,
0.029663201421499252,
0.045452263206243515,
-0.01503031887114048,
-0.0001844635116867721,
0.03186716511845589,
-0.033547237515449524,
-0.07862012833356857,
0.016791684553027153,
0.03405306488275528,
-0.0011166605399921536,
-0.05697791278362274,
-0.010658519342541695,
-0.026718558743596077,
-0.07652455568313599,
-0.009890744462609291,
-0.04769235849380493,
0.02931996062397957,
-0.027820542454719543,
-0.026303058490157127,
-0.010504964739084244,
-0.046897485852241516,
0.0655408576130867,
0.025706904008984566,
0.011037889868021011,
0.010504964739084244,
-0.019221466034650803,
-0.0006424467428587377,
0.015807125717401505,
-0.02404489740729332,
0.0035340217873454094,
0.0003598943876568228,
0.01844465732574463,
-0.09639637172222137,
0.04267020896077156,
-0.026592101901769638,
-0.05853153020143509,
-0.00622349139302969,
0.016692325472831726,
-0.005148606840521097,
0.05256998538970947,
-0.003028193721547723,
0.023810047656297684,
0.0360763780772686,
0.022111911326646805,
-0.030259355902671814,
0.08244997262954712,
0.016665227711200714,
-0.018390461802482605,
-0.03166844695806503,
-0.013910271227359772,
-0.03526344150304794,
-0.01846272312104702,
-0.0022479991894215345,
-0.044585127383470535,
0.03439630568027496,
-0.00483698071911931,
-0.005139573942869902,
0.01904081180691719,
0.02019699104130268,
-0.02417135424911976,
-0.0010952079901471734,
-0.02249128185212612,
0.01044173538684845,
-0.05614691227674484,
-0.019817620515823364,
-0.04205598682165146,
-0.01960083656013012,
0.004556968808174133,
0.023286154493689537,
-0.08013761043548584,
-0.011119184084236622,
0.08851990848779678,
0.0038953274488449097,
-0.0394907183945179,
0.03103616274893284,
-0.027278583496809006,
-0.03732288256287575,
-0.009402981959283352,
-0.010550127364695072,
0.02189512737095356,
0.013268953189253807,
0.04696974530816078,
-0.07341732829809189,
-0.017848502844572067,
-0.012311493046581745,
0.026230797171592712,
0.019402118399739265,
-0.010839171707630157,
0.007230631075799465,
-0.04469351842999458,
0.004809882491827011,
-0.028868328779935837,
-0.021696409210562706,
-0.09198843687772751,
0.009682993404567242,
0.005144090391695499,
-0.016123268753290176,
0.020504100248217583,
0.012419885024428368,
0.011281771585345268,
0.004823431372642517,
0.02162414789199829,
-0.028001194819808006,
-0.03596798703074455,
0.02821797877550125,
-0.029103176668286324,
0.032264601439237595,
0.01073078066110611,
-0.052317071706056595,
0.0037304817233234644,
-0.001936372951604426,
-0.021262843161821365,
0.040285591036081314,
-0.06799773871898651,
0.05011310428380966,
0.048017531633377075,
-0.02776634506881237,
0.045488391071558,
0.005740244872868061,
0.048162054270505905,
0.023448742926120758,
0.022382890805602074,
-0.002459137234836817,
0.004832464270293713,
0.046283263713121414,
0.06427629292011261,
-0.036455750465393066,
0.002088798675686121,
0.002569786971434951,
0.036311227828264236,
-0.024008765816688538,
0.005153123289346695,
-0.03268010541796684,
-0.029879983514547348,
-0.027856672182679176,
0.005243449471890926,
0.023665525019168854,
-0.09813063591718674,
-0.017983993515372276,
0.03531763702630997,
-0.07114110141992569,
0.014596751891076565,
-0.051449935883283615,
-0.004647294990718365,
0.029265765100717545,
-0.01588841900229454,
0.02888639271259308,
0.05564108490943909,
-0.023719722405076027,
0.04324829578399658,
-0.008215188980102539,
-0.109981469810009,
0.04433221369981766,
-0.028525087982416153,
-0.04924597218632698,
0.012853452004492283,
-0.04538000002503395,
-0.02417135424911976,
0.015283232554793358,
-0.005500879604369402,
0.017396871000528336,
0.055893998593091965,
-0.002223159419372678,
-0.013296050950884819,
0.02019699104130268,
-0.050871849060058594,
0.009285557083785534,
0.03078324906527996,
0.029825787991285324,
0.03851519152522087,
0.0034369209315627813,
0.08671337366104126,
-0.066986083984375,
0.012880549766123295,
-0.03374595567584038,
-0.0005052635096944869,
0.06955135613679886,
-0.004033075179904699,
-0.049751799553632736,
0.029879983514547348,
-0.003394015831872821,
0.011932121589779854,
0.06467372924089432,
0.0446573905646801,
0.029121242463588715,
-0.02218417264521122,
-0.03938232362270355,
0.019076943397521973,
-0.014136087149381638,
-0.010297213681042194,
-0.009348785504698753,
-0.07934273779392242,
0.006982233375310898,
0.030096767470240593,
-0.09856420755386353,
-0.020648622885346413,
-0.056905653327703476,
0.03239106014370918,
-0.04447673633694649,
0.021515756845474243,
0.01488579623401165,
0.06322850286960602,
0.01848078891634941,
-0.0035611195489764214,
-0.007795171346515417,
0.07341732829809189,
-0.01045980118215084,
-0.060735493898391724,
0.01280828844755888,
0.06124132126569748,
0.07768073678016663,
0.016421345993876457,
-0.015545179136097431,
0.06619121134281158,
0.024370072409510612,
0.0005653870175592601,
-0.024731377139687538,
0.02559851109981537,
-0.07703038305044174,
-0.01559937559068203,
-0.0004716733528766781,
-0.01816464588046074,
0.06427629292011261,
0.021714475005865097,
-0.0022039650939404964,
0.017803339287638664,
-0.03837066888809204,
0.09133809059858322,
0.05611078068614006,
0.01601487584412098,
0.012736027128994465,
-0.06919004768133163,
0.02046797052025795,
0.03004257194697857,
-0.010414637625217438,
0.04722265899181366,
-0.010215919464826584,
-0.02017892524600029,
-0.003694351064041257,
-0.0050176335498690605,
-0.023990700021386147,
0.04397090896964073,
0.04949888586997986,
-0.03678092360496521,
-0.021353168413043022,
-0.0655408576130867,
-0.018715636804699898,
-0.05285903066396713,
-0.05455716699361801,
-0.03753966465592384,
-0.003407564712688327,
0.023990700021386147,
0.015346460975706577,
0.03851519152522087,
0.00029271410312503576,
0.006675123702734709,
-0.06814226508140564,
-0.07666907459497452,
0.02003440260887146,
0.013639291748404503,
0.003384983167052269,
-0.012916680425405502,
-0.06366206705570221,
-0.001272473600693047,
0.022129977121949196,
0.03663640096783638,
0.01630392111837864,
0.00390661833807826,
0.06980426609516144,
-0.02789280377328396,
-0.030602596700191498,
0.007031912915408611,
0.008422940038144588,
0.04241729527711868,
0.0009625410893931985,
0.06402337551116943,
-0.05979609861969948,
0.010821106843650341,
0.036275096237659454,
0.045994218438863754,
-0.014723208732903004,
-0.02048603445291519,
0.008522299118340015,
-0.08136605471372604,
0.04108046367764473,
0.0063680135644972324,
-0.05455716699361801,
0.005275063682347536,
-0.014849665574729443,
-0.006738352123647928,
0.02847089245915413,
-0.08013761043548584,
-0.026682429015636444,
-0.04216437786817551,
0.021858997642993927,
-0.004529870580881834,
-0.015220004133880138,
0.030819378793239594,
0.024243615567684174,
-0.014181249774992466,
0.016963304951786995,
-0.02803732454776764,
-0.023358415812253952,
0.035281505435705185,
0.003278849646449089,
-0.0005995417013764381,
-0.05119702219963074,
0.010694650001823902,
-0.010143658146262169,
0.003093680366873741,
-0.05542429909110069,
-0.02762182429432869,
0.010432703420519829,
0.01805625483393669,
-0.005767342634499073,
-0.020847341045737267,
-0.03190329670906067,
-0.024424267932772636,
0.010748845525085926
]
|
41,723 | comm.base_comm | get_comm | Get a comm with a particular id
Returns the comm if found, otherwise None.
This will not raise an error,
it will log messages if the comm cannot be found.
| def get_comm(self, comm_id: str) -> BaseComm | None:
"""Get a comm with a particular id
Returns the comm if found, otherwise None.
This will not raise an error,
it will log messages if the comm cannot be found.
"""
try:
return self.comms[comm_id]
except KeyError:
logger.warning("No such comm: %s", comm_id)
if logger.isEnabledFor(logging.DEBUG):
# don't create the list of keys if debug messages aren't enabled
logger.debug("Current comms: %s", list(self.comms.keys()))
return None
| (self, comm_id: str) -> comm.base_comm.BaseComm | None | [
0.01409915741533041,
-0.01012501958757639,
-0.03717625513672829,
0.01866038329899311,
0.025813832879066467,
-0.03974137827754021,
0.057950157672166824,
0.007144416216760874,
0.024946747347712517,
-0.03408726304769516,
-0.04429357498884201,
-0.03464725613594055,
-0.0063631366938352585,
-0.012979173101484776,
-0.026428017765283585,
-0.011172747239470482,
0.019473275169730186,
0.013665614649653435,
-0.022237107157707214,
-0.051952820271253586,
0.07644796371459961,
0.050543807446956635,
0.0158604234457016,
-0.029968611896038055,
-0.013909482397139072,
0.08251755684614182,
0.04147554934024811,
0.013656582683324814,
0.019148118793964386,
-0.02091841585934162,
0.0071082874201238155,
-0.009357288479804993,
-0.02507319673895836,
-0.006317975930869579,
-0.0708119124174118,
0.09039357304573059,
0.03249761089682579,
0.029643455520272255,
-0.04660579934716225,
-0.003588014282286167,
-0.00954696349799633,
0.028252508491277695,
0.07796535640954971,
-0.028794435784220695,
-0.047653526067733765,
0.003685109782963991,
-0.022471943870186806,
0.04653354361653328,
-0.02122551016509533,
0.028451213613152504,
0.035315632820129395,
-0.0020412616431713104,
-0.05281990393996239,
-0.05357860401272774,
-0.03538789227604866,
-0.04707546904683113,
0.006489586550742388,
0.0118953175842762,
-0.010983072221279144,
0.002470287960022688,
-0.03591175377368927,
-0.012735305353999138,
0.0014880436938256025,
0.011172747239470482,
0.0241157915443182,
-0.03229890391230583,
0.035098861902952194,
0.00420445716008544,
0.0070450627245008945,
0.04631676897406578,
-0.0014338508481159806,
-0.006841839756816626,
-0.03945235162973404,
-0.025759639218449593,
0.04642515629529953,
-0.015851391479372978,
0.04913479462265968,
-0.020105525851249695,
0.05545728653669357,
0.0035089831799268723,
0.011118553578853607,
0.026500273495912552,
-0.013358522206544876,
0.03426790609955788,
-0.02584996074438095,
0.002133841160684824,
0.06846355646848679,
0.008056661114096642,
-0.0516999214887619,
-0.005423794966191053,
-0.041222646832466125,
0.005238636396825314,
0.0036038204561918974,
0.02261645719408989,
0.02413385547697544,
-0.023447412997484207,
-0.017197178676724434,
0.055926959961652756,
0.01746814325451851,
0.05133863538503647,
-0.063008151948452,
0.051519278436899185,
-0.04064459353685379,
-0.010639850981533527,
-0.02500094100832939,
-0.07948275655508041,
-0.014333993196487427,
0.038765907287597656,
0.013909482397139072,
0.027818964794278145,
-0.12507696449756622,
0.025886088609695435,
-0.00981792714446783,
-0.004683160223066807,
0.042523276060819626,
-0.012446277774870396,
-0.05437343195080757,
0.022146787494421005,
-0.03358146548271179,
-0.026446081697940826,
-0.059539809823036194,
0.021893886849284172,
-0.00970050971955061,
-0.02370031364262104,
0.04501614347100258,
0.03385242819786072,
-0.04534130170941353,
-0.007297962438315153,
0.06853581219911575,
-0.008639234118163586,
0.030853761360049248,
-0.026120925322175026,
0.02819831483066082,
-0.035315632820129395,
-0.0124914376065135,
0.03840462490916252,
-0.029426684603095055,
0.03623691201210022,
-0.04201747477054596,
0.03238922357559204,
-0.0053876666352152824,
-0.03076343983411789,
-0.027096394449472427,
0.0009066002094186842,
-0.010784365236759186,
0.026102859526872635,
-0.0054779876954853535,
-0.049387697130441666,
-0.03710399568080902,
0.03291308879852295,
-0.01040501520037651,
-0.02615705318748951,
0.021532602608203888,
-0.022002272307872772,
-0.033093731850385666,
0.016754604876041412,
-0.025597060099244118,
0.021640988066792488,
-0.0037844630423933268,
-0.016050098463892937,
0.0029670551884919405,
-0.008851489052176476,
0.05177217721939087,
-0.049604468047618866,
0.017829427495598793,
-0.02144228108227253,
-0.006548295263200998,
-0.0484483540058136,
0.02424224093556404,
0.03553240746259689,
-0.03065505437552929,
0.05737210065126419,
-0.0460638701915741,
-0.03119698166847229,
-0.02948087826371193,
0.0054418593645095825,
-0.03632723167538643,
-0.0004623322456609458,
0.014966242015361786,
-0.002906088251620531,
-0.019364889711141586,
0.038765907287597656,
-0.00997147336602211,
0.0981973335146904,
0.024495141580700874,
0.029119592159986496,
0.07026998698711395,
-0.023646119982004166,
0.013168848119676113,
0.02937249280512333,
-0.06033463776111603,
-0.01608622632920742,
-0.006119268946349621,
-0.015408816747367382,
0.004001234192401171,
0.018822962418198586,
0.03594788536429405,
0.012527566403150558,
-0.05997335538268089,
0.029227977618575096,
0.057624999433755875,
0.004391874186694622,
0.0017341693164780736,
0.03347307816147804,
-0.035658854991197586,
-0.014352057129144669,
0.018244905397295952,
-0.009736637584865093,
0.0028451215475797653,
0.04071684926748276,
-0.028993142768740654,
-0.0028338313568383455,
-0.03706786781549454,
0.023609992116689682,
0.05383150279521942,
0.01985262520611286,
-0.008011500351130962,
-0.020737774670124054,
0.035008542239665985,
0.03753753751516342,
0.006873452104628086,
-0.04718385636806488,
0.06448941677808762,
0.0021281959488987923,
-0.049821238964796066,
-0.0004290262586437166,
0.0080927899107337,
-0.01253659836947918,
0.020015204325318336,
-0.027945416048169136,
0.05607147142291069,
-0.02778283692896366,
-0.0354059562087059,
-0.006308943964540958,
0.030582796782255173,
-0.0718957707285881,
-0.06644035875797272,
0.022815164178609848,
0.033382758498191833,
-0.007997952401638031,
0.03439435735344887,
0.03132343292236328,
0.03654400259256363,
0.12500469386577606,
0.023519670590758324,
-0.04028330743312836,
0.007948275655508041,
0.01206692773848772,
-0.004534129984676838,
-0.009980505332350731,
0.022670650854706764,
-0.054843101650476456,
0.002892540069296956,
-0.04382390156388283,
0.0011521612759679556,
-0.09270580112934113,
-0.10910815000534058,
-0.004197683185338974,
-0.02303193509578705,
-0.03862139582633972,
-0.08497429639101028,
-0.0038409139961004257,
-0.0003886639024131,
0.040463950484991074,
0.0015636878088116646,
-0.007609570864588022,
0.019148118793964386,
0.013259169645607471,
0.033834364265203476,
0.034141458570957184,
0.04367939010262489,
0.044329702854156494,
-0.02315838448703289,
-0.023302899673581123,
-0.0033102761954069138,
-0.026644788682460785,
0.001961101545020938,
0.005789596121758223,
0.009854055941104889,
0.021622922271490097,
-0.024711912497878075,
0.0021315831691026688,
-0.030058933421969414,
-0.021189380437135696,
0.0006480554584413767,
0.013123687356710434,
-0.012364988215267658,
-0.04971285164356232,
-0.02306806482374668,
0.04396841675043106,
-0.0036083366721868515,
0.05823918431997299,
-0.07381057739257812,
0.020954545587301254,
0.009989537298679352,
0.03408726304769516,
-0.01983456127345562,
0.025976410135626793,
0.061382364481687546,
-0.011019200086593628,
-0.011561128310859203,
0.007148932199925184,
-0.04342648759484291,
-0.029119592159986496,
-0.07222092151641846,
0.01024243701249361,
-0.007862470112740993,
-0.010630819015204906,
-0.021839695051312447,
0.030366025865077972,
-0.004581548739224672,
0.015155917033553123,
0.02113518863916397,
0.06293589621782303,
0.020412618294358253,
0.014912049286067486,
-0.01566171646118164,
0.025344161316752434,
0.011886285617947578,
0.0994979590177536,
-0.020448746159672737,
0.034683384001255035,
-0.007388283498585224,
0.029300235211849213,
-0.0075057013891637325,
-0.02187582291662693,
-0.04599161446094513,
0.00576701620593667,
0.020846160128712654,
0.06398361921310425,
-0.0497489795088768,
0.027728643268346786,
-0.018073296174407005,
-0.017865557223558426,
0.08107241243124008,
-0.04458260163664818,
0.01017921231687069,
-0.055385030806064606,
0.04201747477054596,
-0.005392182618379593,
0.03164858743548393,
-0.02689768746495247,
-0.033924687653779984,
0.022237107157707214,
0.03141375258564949,
0.01631202921271324,
0.06860806792974472,
0.023194514214992523,
-0.015923647210001945,
-0.09126065671443939,
-0.0008411172311753035,
-0.04609999805688858,
-0.04353487491607666,
-0.016474608331918716,
-0.01909392699599266,
-0.00846310704946518,
-0.03076343983411789,
0.001556913717649877,
0.022002272307872772,
0.009036648087203503,
0.02946281246840954,
-0.011335325427353382,
-0.013259169645607471,
0.028866693377494812,
-0.1379387080669403,
-0.0037663988769054413,
-0.062032680958509445,
-0.05524051561951637,
0.07095642387866974,
-0.01920231245458126,
-0.05094122141599655,
0.0708119124174118,
-0.010305661708116531,
-0.005057993810623884,
-0.057950157672166824,
0.03775430843234062,
0.016122354194521904,
0.008932778611779213,
-0.014532700181007385,
-0.002023197477683425,
0.001099662040360272,
-0.04880964010953903,
0.019599726423621178,
0.03439435735344887,
-0.056432757526636124,
-0.033075664192438126,
0.00017415078764315695,
-0.0000026240811621391913,
-0.01907586120069027,
0.0035541437100619078,
0.015327527187764645,
-0.033075664192438126,
-0.05972045287489891,
0.03981363773345947,
-0.02722284384071827,
0.015417848713696003,
0.07868792861700058,
-0.028252508491277695,
-0.057733386754989624,
-0.025542868301272392,
0.034882090985774994,
-0.022164851427078247,
0.042523276060819626,
0.03011312708258629,
-0.006408297456800938,
0.017973942682147026,
0.042523276060819626,
0.024639654904603958,
-0.039922021329402924,
-0.029354427009820938,
-0.012021766975522041,
0.019816497340798378,
0.0029535070061683655,
-0.04566645622253418,
-0.017820395529270172,
-0.03262405842542648,
0.025560932233929634,
0.06727131456136703,
0.0035518857184797525,
0.03916332125663757,
-0.023953212425112724,
-0.07348541915416718,
-0.008914713747799397,
0.023555798456072807,
-0.07760407775640488,
0.03775430843234062,
0.03065505437552929,
0.033292438834905624,
0.017504271119832993,
-0.06766872853040695,
-0.02617511712014675,
0.06398361921310425,
0.010883718729019165,
-0.05393989011645317,
0.049387697130441666,
-0.012103056535124779,
0.02230936475098133,
0.02131582982838154,
-0.01034179050475359,
0.012509502470493317,
0.02230936475098133,
-0.006471522152423859,
-0.006101205013692379,
-0.030962146818637848,
0.036959484219551086,
0.012780466116964817,
0.028162186965346336,
0.03210019692778587,
0.036833032965660095,
-0.030203448608517647,
0.02958926372230053,
0.03836849331855774,
0.05090509355068207,
0.053036678582429886,
0.03224470838904381,
-0.07998855412006378,
-0.054192788898944855,
0.03547821193933487,
0.051736049354076385,
-0.005112186539918184,
-0.030835697427392006,
0.07399122416973114,
-0.037140123546123505,
-0.032226644456386566,
-0.05357860401272774,
0.07348541915416718,
0.008146982640028,
-0.01994294673204422,
-0.00021423086582217366,
-0.0031635041814297438,
0.07630344480276108,
0.022779036313295364,
0.005744435824453831,
-0.03099827654659748,
-0.05498761683702469,
-0.0008484558784402907,
0.029517006129026413,
-0.0119495103135705,
0.018895220011472702,
0.014903017319738865,
0.024675782769918442,
-0.04609999805688858,
-0.033671785145998,
-0.047436755150556564,
-0.021604858338832855,
-0.027620257809758186,
-0.0027886705938726664,
0.0042631663382053375,
-0.0011854672338813543,
-0.029787970706820488,
0.005143798887729645,
0.04945995286107063,
-0.005726371426135302,
-0.03385242819786072,
0.0662597194314003,
0.006959257181733847,
-0.008819876238703728,
-0.007650215644389391,
0.026969945058226585,
0.002321257721632719,
0.02337515726685524,
-0.023772571235895157,
-0.006692809518426657,
-0.03385242819786072,
-0.01264498382806778,
-0.10737398266792297,
-0.025994474068284035,
0.0677771121263504,
-0.010441143997013569,
-0.0007824084023013711,
0.008553428575396538,
0.0066205523908138275,
-0.005161863286048174,
-0.05621598660945892,
-0.048845767974853516,
-0.04794255271553993,
-0.005667662713676691,
-0.04147554934024811,
-0.048412226140499115,
0.04281230270862579,
0.043787773698568344,
0.022020336240530014,
-0.010946943424642086,
0.029932484030723572,
-0.036417555063962936,
-0.01813651993870735,
-0.07131770998239517,
-0.04635290056467056,
-0.042414888739585876,
0.0156436525285244,
-0.011750803329050541,
-0.02819831483066082,
-0.04082523658871651,
0.039091065526008606,
0.025037068873643875,
0.015237205661833286,
-0.04479937255382538,
0.012934012338519096,
-0.07854341715574265,
0.003423177869990468,
0.009230838157236576,
-0.047111596912145615,
0.02713252417743206,
-0.01662815362215042,
0.005396698601543903,
-0.01673653908073902,
-0.036074332892894745,
0.0647423192858696,
-0.021496472880244255,
0.03385242819786072,
0.04407680034637451,
-0.017992006614804268,
-0.028324764221906662,
-0.07297962158918381,
0.004737352952361107,
0.020195845514535904,
-0.010097922757267952,
-0.03717625513672829,
0.00804311316460371,
-0.0084179462864995,
0.023880956694483757,
0.044221315532922745,
-0.011461774818599224,
0.019581660628318787,
0.06600681692361832,
-0.06333331018686295,
0.020611323416233063,
0.008688910864293575,
0.06615132838487625,
-0.016050098463892937,
-0.0006858775159344077,
0.002770606428384781,
-0.022038400173187256,
0.04985736683011055,
0.008241820149123669,
0.022923549637198448,
-0.01617654785513878,
0.007239253260195255,
-0.024982875213027,
0.0005266861990094185,
0.00028705241857096553,
0.007144416216760874,
0.029986677691340446,
0.004705740604549646,
0.015444944612681866,
-0.013683679513633251,
-0.07030611485242844,
-0.009411481209099293,
0.07001708447933197,
-0.04118651896715164,
0.02789122238755226,
0.013322394341230392,
0.01735975779592991,
0.010576626285910606,
0.020105525851249695,
0.07962727546691895,
-0.01040501520037651,
-0.009090840816497803,
-0.01598687283694744,
0.010974040254950523,
-0.04642515629529953,
0.03452080860733986,
0.04505227133631706,
-0.0002682825434021652,
0.026771238073706627,
-0.02131582982838154,
-0.03602014109492302,
-0.03448467701673508,
0.0045205820351839066,
-0.03804333880543709,
-0.011832091957330704,
-0.03948847949504852,
0.00862116925418377,
0.05433730408549309,
-0.0007197479717433453,
-0.04924318194389343,
0.03999427706003189,
-0.03332856670022011,
0.021695179864764214,
-0.0169442780315876,
0.08273432403802872,
0.02003326825797558,
-0.004624451510608196,
-0.013755936175584793,
-0.04003040865063667,
0.004199941176921129,
0.00045612265239469707,
-0.08266206830739975,
0.014866888523101807,
0.03527950495481491,
0.021261638030409813,
0.06026238203048706,
0.044763244688510895,
-0.013268201611936092,
-0.08287884294986725,
0.0004295907565392554,
0.043462615460157394,
-0.05679404363036156,
0.0026848011184483767,
0.07214866578578949,
-0.0035134991630911827,
0.0501825213432312,
0.0036105946637690067,
-0.03573111444711685,
0.0083637535572052,
-0.003326082369312644,
-0.026428017765283585,
0.006317975930869579,
0.049062538892030716,
-0.022164851427078247,
-0.060732051730155945,
-0.024368690326809883,
-0.006638616789132357,
-0.03163052350282669,
0.04292069002985954,
-0.054734718054533005,
-0.04375164583325386,
0.01974423974752426,
-0.022020336240530014,
0.04169232025742531,
-0.00793472770601511,
-0.013484972529113293,
0.006349588744342327,
-0.038007210940122604,
-0.018515869975090027,
-0.03291308879852295,
-0.023826763033866882,
-0.05123025178909302,
-0.001175306155346334,
-0.025669317692518234,
0.005726371426135302,
0.03665238991379738,
0.057299841195344925,
-0.028035735711455345,
-0.062141064554452896,
-0.003788979258388281,
0.03952460736036301,
0.06550101935863495,
0.051085736602544785,
-0.02185775898396969,
0.04707546904683113,
0.029769904911518097,
0.02133389562368393,
0.024404820054769516,
0.009009551256895065,
0.033292438834905624,
0.01248240564018488,
-0.045413557440042496,
0.011389518156647682,
-0.05726371333003044,
-0.0016641702968627214,
0.03535176441073418,
-0.0003748334711417556,
-0.010974040254950523,
0.01473140623420477,
-0.03858526796102524,
-0.041222646832466125,
0.011416614055633545,
-0.017422981560230255,
0.08576912432909012,
0.022471943870186806,
-0.006891516502946615,
0.005288313142955303,
0.024188049137592316,
0.010305661708116531,
-0.023320963606238365,
0.01767588220536709,
0.02518158219754696,
-0.025777703151106834,
-0.045305173844099045,
-0.0012249829014763236,
0.027168652042746544,
0.05263926461338997,
-0.032118260860443115,
0.03840462490916252,
-0.022905485704541206,
-0.010423080064356327,
0.03141375258564949,
-0.018416516482830048,
0.01920231245458126,
-0.004457356873899698,
-0.02335709147155285,
0.07391896843910217,
0.029336363077163696,
0.07659247517585754,
0.023826763033866882,
0.05820305645465851,
-0.031702782958745956,
-0.0024748039431869984,
0.05437343195080757,
-0.024386756122112274,
0.003764140885323286,
-0.06615132838487625,
0.018949411809444427,
0.067343570291996,
-0.051736049354076385,
0.020611323416233063,
-0.04288456216454506,
-0.01478559896349907,
0.02122551016509533,
-0.04407680034637451,
-0.0005715645966120064,
0.012094024568796158,
0.016266869381070137,
-0.009303095750510693,
-0.03119698166847229,
0.002028842456638813,
0.01885909028351307,
-0.02068358100950718,
-0.006607004441320896,
0.009208258241415024,
-0.023230642080307007,
0.06976418197154999,
0.015074627473950386,
-0.020430682227015495,
-0.03287695720791817,
-0.04248714819550514,
0.08656395226716995,
0.07330477982759476,
0.03143181651830673,
-0.017612656578421593,
0.006548295263200998,
-0.03506273403763771,
0.031467948108911514,
-0.0010245824232697487,
-0.025019004940986633,
-0.006448941770941019,
0.020954545587301254
]
|
41,724 | comm.base_comm | register_comm | Register a new comm | def register_comm(self, comm: BaseComm) -> str:
"""Register a new comm"""
comm_id = comm.comm_id
self.comms[comm_id] = comm
return comm_id
| (self, comm: comm.base_comm.BaseComm) -> str | [
0.022136704996228218,
0.019403116777539253,
-0.001201528124511242,
0.01997484639286995,
0.02029644511640072,
0.00836156401783228,
0.006883103866130114,
0.02853294275701046,
-0.0042098150588572025,
-0.031927596777677536,
0.035876110196113586,
-0.03360705450177193,
0.0029435206670314074,
0.011738349683582783,
-0.017553923651576042,
-0.05142004415392876,
0.06128240376710892,
-0.021958038210868835,
-0.0530637726187706,
-0.046917665749788284,
0.022279636934399605,
0.03642997518181801,
0.018831385299563408,
-0.057316020131111145,
0.0070662363432347775,
0.0976945087313652,
0.0006091390387155116,
0.020207112655043602,
-0.017446724697947502,
-0.031016400083899498,
0.012140347622334957,
-0.06814317405223846,
0.02226177044212818,
-0.0383417010307312,
-0.005681575275957584,
0.015302734449505806,
-0.021832972764968872,
0.07718366384506226,
-0.07432501018047333,
-0.016928594559431076,
0.052920836955308914,
0.01272101141512394,
0.01281034480780363,
-0.005060711409896612,
0.007325301878154278,
0.04874005541205406,
-0.004645313136279583,
0.04327287897467613,
0.001377960667014122,
0.028175611048936844,
-0.01551713328808546,
-0.04098595678806305,
-0.04384461045265198,
-0.025924421846866608,
-0.03719823807477951,
-0.017518190667033195,
0.04781099408864975,
0.029747871682047844,
-0.037162505090236664,
0.0018369087483733892,
-0.02378043159842491,
-0.01150608342140913,
0.02560282312333584,
0.001290861051529646,
0.0037586838006973267,
0.011550750583410263,
0.0249596256762743,
0.004281281493604183,
0.05116991326212883,
0.037555571645498276,
0.05996027588844299,
-0.05116991326212883,
-0.03537584841251373,
-0.04770379513502121,
0.04184355214238167,
0.03909209743142128,
0.03769850358366966,
0.031927596777677536,
0.030676934868097305,
0.030337469652295113,
0.02226177044212818,
0.003818983444944024,
-0.033106788992881775,
0.01933165080845356,
-0.05581522732973099,
0.034411050379276276,
0.015838731080293655,
-0.02815774455666542,
-0.09512172639369965,
-0.030891332775354385,
-0.008513430133461952,
0.002021157881245017,
0.04162915423512459,
-0.005855774972587824,
0.04920458793640137,
-0.05442163348197937,
0.0008559213019907475,
0.026067353785037994,
0.04420194402337074,
0.024709492921829224,
-0.05853094905614853,
0.03567957878112793,
-0.08840388804674149,
-0.0504552498459816,
-0.0357331782579422,
-0.08890414983034134,
-0.010228622704744339,
0.010309021919965744,
-0.03952089697122574,
0.016017397865653038,
-0.06231866404414177,
0.041128888726234436,
-0.003950749523937702,
-0.023405231535434723,
0.04813259094953537,
0.012569146230816841,
0.008861828595399857,
0.016589129343628883,
0.03085559979081154,
-0.01118448469787836,
-0.005744108464568853,
0.02594228833913803,
0.008616162464022636,
-0.018545519560575485,
0.018974319100379944,
0.06021040678024292,
-0.013158743269741535,
0.04738219454884529,
0.036090511828660965,
-0.054171498864889145,
0.011952748522162437,
-0.019206583499908447,
0.0399496927857399,
-0.01307834405452013,
0.020350046455860138,
0.02690708450973034,
-0.07825566083192825,
-0.003108786651864648,
-0.06010320782661438,
0.04205795377492905,
-0.008486630395054817,
-0.011381017975509167,
-0.03723397105932236,
0.04645313322544098,
0.004421981051564217,
0.028943875804543495,
-0.06960823386907578,
0.0042098150588572025,
-0.049240320920944214,
-0.005132177844643593,
-0.013846606947481632,
0.003910549916327,
0.03712677210569382,
-0.001797825563699007,
-0.0341251865029335,
0.05535069480538368,
-0.003044020151719451,
0.023512432351708412,
0.019528182223439217,
-0.03698384016752243,
0.005824508145451546,
0.001956391613930464,
0.061854131519794464,
0.01666952855885029,
-0.026120953261852264,
0.007785366382449865,
0.004350514616817236,
-0.04477367177605629,
-0.002729121595621109,
0.010585954412817955,
0.012372612953186035,
-0.0168303269892931,
0.009621158242225647,
-0.027639614418148994,
-0.008897561579942703,
-0.01672312803566456,
0.011649016290903091,
-0.021779373288154602,
0.028443610295653343,
-0.0001386754447594285,
-0.010317955166101456,
0.04170062020421028,
0.00745930103585124,
0.08132871240377426,
0.010943286120891571,
0.0010284455493092537,
0.044916607439517975,
0.006883103866130114,
0.08747482299804688,
-0.006561505142599344,
0.01938525028526783,
0.03659077733755112,
-0.020064180716872215,
-0.014016339555382729,
0.02826494537293911,
-0.0022500737104564905,
0.03719823807477951,
0.006369439419358969,
-0.058459483087062836,
0.027764679864048958,
0.06085360422730446,
0.045345403254032135,
0.004841845948249102,
0.022887101396918297,
0.04584566876292229,
-0.023476699367165565,
0.009009228087961674,
0.01085395272821188,
0.05142004415392876,
-0.05209897458553314,
0.031480930745601654,
-0.015079401433467865,
-0.042915549129247665,
0.06485571712255478,
0.021136175841093063,
-0.01098795235157013,
-0.011961681768298149,
-0.024888159707188606,
0.05456456542015076,
-0.021672172471880913,
0.023047899827361107,
0.015936998650431633,
0.01374834030866623,
-0.08568816632032394,
-0.04077155888080597,
-0.05452883243560791,
0.02762174792587757,
-0.03937796503305435,
0.01927804946899414,
0.024298561736941338,
0.03444678336381912,
0.0023918896913528442,
-0.011175551451742649,
0.0007040553027763963,
0.0016258596442639828,
-0.03616197779774666,
-0.04423767700791359,
0.0018156921723857522,
0.0204751119017601,
0.013998473063111305,
0.011050486005842686,
0.07604020833969116,
0.02973000518977642,
0.06610637903213501,
0.04266541451215744,
-0.03233852609992027,
-0.00764690013602376,
0.040092628449201584,
-0.015794064849615097,
-0.025745755061507225,
-0.019027918577194214,
-0.04966912046074867,
-0.04273688420653343,
-0.06524878740310669,
-0.018214987590909004,
-0.036948107182979584,
-0.08797508478164673,
0.013712607324123383,
-0.033356923609972,
-0.015561799518764019,
-0.08733189105987549,
0.009621158242225647,
-0.02864014357328415,
0.008897561579942703,
-0.0034125186502933502,
-0.02279776893556118,
-0.013632208108901978,
0.04727499559521675,
0.006780370604246855,
-0.010058890096843243,
0.10119636356830597,
0.02940840646624565,
-0.04488087445497513,
-0.03455398604273796,
0.012461946345865726,
-0.033892922103405,
-0.01825072057545185,
0.02799694612622261,
-0.012542345561087132,
-0.030676934868097305,
-0.00546717643737793,
-0.03367852047085762,
-0.002260123612359166,
-0.039985425770282745,
-0.012274347245693207,
0.022815635427832603,
0.01856338605284691,
-0.06106800213456154,
-0.02583508938550949,
-0.013060476630926132,
-0.03607264533638954,
0.07210955768823624,
-0.07589727640151978,
0.06857196986675262,
-0.012229681015014648,
-0.0035331181716173887,
-0.029033208265900612,
0.06839330494403839,
0.016919659450650215,
0.006570438388735056,
-0.01792912185192108,
0.06392665952444077,
-0.08668868988752365,
-0.050705380737781525,
-0.06071067228913307,
-0.022654835134744644,
0.016749927774071693,
-0.0017699090531095862,
-0.09369239956140518,
0.04059289023280144,
-0.02940840646624565,
0.08454470336437225,
-0.03991395980119705,
0.049740586429834366,
0.05456456542015076,
0.06231866404414177,
0.030176669359207153,
0.019617514684796333,
0.026442551985383034,
0.05863814800977707,
0.03026600368320942,
0.005422509741038084,
-0.051848843693733215,
-0.016705261543393135,
0.016222862526774406,
0.012989010661840439,
-0.013757273554801941,
0.010085689835250378,
0.012310080230236053,
0.0409502238035202,
-0.06685677915811539,
0.02311936765909195,
-0.01986764743924141,
-0.0164104625582695,
0.058388013392686844,
-0.037162505090236664,
0.006865236908197403,
-0.0530637726187706,
-0.0383417010307312,
-0.019420983269810677,
-0.005208110902458429,
-0.03450038284063339,
-0.08497349917888641,
-0.004582780413329601,
-0.006217573303729296,
-0.035447314381599426,
-0.0025861889589577913,
-0.00415844889357686,
-0.03491131588816643,
-0.015713665634393692,
-0.03396438807249069,
-0.009692625142633915,
-0.005391243379563093,
-0.0388776995241642,
0.021743640303611755,
0.028765209019184113,
-0.038413166999816895,
-0.013775140978395939,
-0.012390479445457458,
-0.025870822370052338,
-0.0365014411509037,
-0.011523949913680553,
0.04059289023280144,
-0.00337678543291986,
-0.10262569040060043,
0.01834898814558983,
-0.03884196653962135,
-0.00775856664404273,
0.048382725566625595,
-0.03621557727456093,
-0.008571496233344078,
0.05041951686143875,
-0.02143990807235241,
0.04852565750479698,
-0.05188457667827606,
0.06010320782661438,
0.021422041580080986,
0.006333705969154835,
-0.08004232496023178,
-0.0687863677740097,
0.01266741193830967,
-0.03980676084756851,
0.05435016378760338,
0.007566500920802355,
-0.02122550830245018,
-0.028568677604198456,
0.035822510719299316,
0.011175551451742649,
0.0014337938046082854,
-0.00301275379024446,
0.011336350813508034,
-0.026549752801656723,
-0.025852955877780914,
0.07661193609237671,
-0.03784143552184105,
-0.017366325482726097,
0.026460418477654457,
-0.0346611849963665,
-0.09369239956140518,
-0.0006080223829485476,
-0.005873641464859247,
-0.0394136980175972,
0.06649944931268692,
0.011818748898804188,
0.014427270740270615,
0.028997475281357765,
-0.011336350813508034,
0.053635500371456146,
-0.014471937902271748,
-0.002813987899571657,
-0.04330861195921898,
0.025852955877780914,
0.014552337117493153,
-0.03948516398668289,
-0.0184025876224041,
-0.03791290149092674,
-0.005422509741038084,
0.014588070102036,
-0.024888159707188606,
0.028729476034641266,
-0.015311667695641518,
-0.003684984054416418,
-0.011747282929718494,
0.10498408228158951,
-0.06439118832349777,
0.07068023085594177,
0.04856139048933983,
0.024459362030029297,
0.021350573748350143,
-0.02594228833913803,
-0.02983720414340496,
0.09583638608455658,
0.026353219524025917,
-0.01047875452786684,
0.010139289312064648,
-0.044916607439517975,
0.0535997673869133,
-0.02306576631963253,
-0.03805583715438843,
0.02831854484975338,
0.013426742516458035,
-0.029640672728419304,
0.008133765310049057,
-0.02295856736600399,
0.0103715555742383,
0.0023360566701740026,
-0.0056771086528897285,
0.003988716285675764,
0.03308892250061035,
-0.007923832163214684,
0.04941898584365845,
-0.0016593595501035452,
0.012738878838717937,
0.049954984337091446,
0.049954984337091446,
-0.06103226915001869,
-0.0026040554512292147,
-0.059924542903900146,
0.03287452459335327,
-0.023137234151363373,
-0.03802010416984558,
0.06160400062799454,
-0.059317078441381454,
0.024727359414100647,
-0.034839849919080734,
0.06649944931268692,
-0.00013525567192118615,
-0.031230797991156578,
0.04548833891749382,
0.03687664121389389,
0.04220088571310043,
0.03730544075369835,
0.019903380423784256,
-0.016053130850195885,
-0.07897032797336578,
0.020350046455860138,
0.011443550698459148,
0.004703379701822996,
-0.014177138917148113,
0.01467740349471569,
0.006204173434525728,
-0.0058647082187235355,
0.017500324174761772,
0.023762565106153488,
0.01911725103855133,
0.026353219524025917,
0.000754863431211561,
-0.016017397865653038,
-0.012926477938890457,
0.04823979362845421,
-0.013248076662421227,
0.049633387476205826,
-0.01803632266819477,
0.020171379670500755,
0.06474851816892624,
0.023923363536596298,
-0.010460888035595417,
0.007262768689543009,
-0.01272101141512394,
-0.005824508145451546,
-0.030140936374664307,
-0.038913432508707047,
0.0066106379963457584,
-0.023190833628177643,
-0.009183427318930626,
-0.055529359728097916,
-0.011470350436866283,
0.0504552498459816,
-0.053635500371456146,
0.03410732001066208,
-0.011139818467199802,
-0.037162505090236664,
0.007410168182104826,
-0.030927065759897232,
-0.020778844133019447,
-0.06010320782661438,
0.003615751164034009,
-0.03498278185725212,
-0.069322369992733,
0.004401881247758865,
0.028658010065555573,
-0.006458772346377373,
0.009594358503818512,
-0.010460888035595417,
0.009764091111719608,
-0.01711619272828102,
-0.026889218017458916,
-0.058352280408144,
-0.017750456929206848,
0.047846727073192596,
-0.0026487219147384167,
0.028515076264739037,
-0.02328016608953476,
0.0021484573371708393,
0.037877168506383896,
0.03639424219727516,
0.006047840695828199,
0.006244373042136431,
-0.014793536625802517,
-0.004855245817452669,
-0.038198769092559814,
-0.055743761360645294,
-0.006677637808024883,
-0.05431443080306053,
-0.004466647282242775,
-0.008348164148628712,
0.0058647082187235355,
0.006561505142599344,
-0.022976433858275414,
-0.026567619293928146,
-0.023137234151363373,
-0.03269585967063904,
-0.10870032757520676,
-0.07782686501741409,
0.008334764279425144,
0.03759130463004112,
0.039449431002140045,
-0.034250251948833466,
0.0003721275716088712,
0.03508998081088066,
0.014704203233122826,
0.0698583647608757,
0.007767499890178442,
0.008835028856992722,
0.071930892765522,
-0.032820925116539,
-0.02690708450973034,
-0.04888298735022545,
-0.002682221820577979,
-0.005480576306581497,
0.031873997300863266,
-0.017723657190799713,
0.024352161213755608,
0.022565502673387527,
-0.024512961506843567,
-0.014454071410000324,
0.025263357907533646,
0.024334294721484184,
-0.03498278185725212,
-0.007633500266820192,
-0.040914490818977356,
0.07389621436595917,
-0.019045785069465637,
-0.014239671640098095,
0.02983720414340496,
0.03332119062542915,
-0.06707117706537247,
0.03923502936959267,
0.020278578624129295,
-0.053957100957632065,
-0.012435146607458591,
0.029747871682047844,
0.009647957980632782,
-0.012122481130063534,
0.042808350175619125,
0.008406230248510838,
-0.0118276821449399,
-0.056887220591306686,
-0.01410567294806242,
-0.004218748304992914,
0.00007691008795518428,
0.014909668825566769,
-0.005887041334062815,
0.002534822328016162,
0.016499795019626617,
-0.036412108689546585,
-0.0572802871465683,
-0.010862886905670166,
-0.01486500259488821,
-0.021314840763807297,
0.01954604871571064,
-0.019403116777539253,
-0.003642550902441144,
0.03600117936730385,
0.011220218613743782,
-0.01911725103855133,
-0.0058289747685194016,
-0.05435016378760338,
0.04602433368563652,
0.03298172354698181,
0.03784143552184105,
0.016848193481564522,
-0.005744108464568853,
-0.024280695244669914,
-0.012193947099149227,
0.02637108601629734,
-0.04012836143374443,
-0.012694211676716805,
0.02962280623614788,
-0.01933165080845356,
-0.018420454114675522,
0.04241528362035751,
0.03416091948747635,
-0.04359447956085205,
-0.046095799654722214,
-0.041986484080553055,
-0.012899677269160748,
-0.013605408370494843,
0.0044778138399124146,
0.026138819754123688,
-0.045023806393146515,
0.06314052641391754,
-0.011023685336112976,
-0.08354417234659195,
-0.010648487135767937,
-0.020064180716872215,
0.006592771504074335,
-0.060889337211847305,
-0.009089627303183079,
-0.03323185816407204,
-0.011407817713916302,
-0.0040579489432275295,
0.022815635427832603,
-0.0024365561548620462,
0.08954734355211258,
0.01486500259488821,
-0.05820934846997261,
0.013230209238827229,
-0.005391243379563093,
0.032820925116539,
0.005083044525235891,
-0.001599059789441526,
0.046810463070869446,
-0.023744696751236916,
-0.005717308726161718,
0.0038949165027588606,
0.037662770599126816,
-0.09812331199645996,
-0.05424296483397484,
-0.03723397105932236,
-0.015624332241714,
0.011014752089977264,
0.04130755364894867,
-0.04209368675947189,
-0.002771554747596383,
-0.010175023227930069,
0.0008682045736350119,
0.09426412731409073,
0.07725512981414795,
0.013471408747136593,
-0.01630326360464096,
-0.020993242040276527,
0.06492718309164047,
-0.03616197779774666,
-0.012497679330408573,
0.03569744527339935,
0.026460418477654457,
-0.026942817494273186,
0.017839789390563965,
-0.010255422443151474,
0.008732295595109463,
0.041557688266038895,
-0.02063591033220291,
-0.01834898814558983,
-0.004922245629131794,
-0.013498208485543728,
0.0016493095317855477,
-0.03569744527339935,
-0.03751983866095543,
0.061925601214170456,
0.030462535098195076,
0.03260652720928192,
0.012354746460914612,
-0.0048463125713169575,
0.0013377609429880977,
-0.03508998081088066,
0.004904378671199083,
-0.004685513209551573,
0.01247981283813715,
-0.04259394854307175,
0.033160388469696045,
-0.0035822512581944466,
0.02821134589612484,
0.0009564209030941129,
0.0002199823793489486,
-0.014945401810109615,
-0.020653776824474335,
0.05670855566859245,
-0.010827152989804745,
0.020385779440402985,
0.019849780946969986,
0.007767499890178442,
0.07739806920289993,
0.012435146607458591,
0.049954984337091446,
-0.024012695997953415,
0.0829724445939064,
-0.022440437227487564,
0.061925601214170456,
-0.02085031010210514,
-0.03210626170039177,
0.027210816740989685,
-0.10734246671199799,
0.06796450912952423,
0.05002645030617714,
-0.038305968046188354,
0.006708904169499874,
-0.04034275934100151,
-0.014409404247999191,
0.0451667383313179,
-0.023137234151363373,
0.01959964819252491,
0.03559024631977081,
0.023244433104991913,
0.03698384016752243,
-0.012095681391656399,
0.013935940340161324,
0.01274781208485365,
-0.007133235689252615,
0.022887101396918297,
0.027514547109603882,
0.0019284749869257212,
-0.0025884222704917192,
-0.014543403871357441,
-0.01280141156166792,
-0.022047370672225952,
0.03185613080859184,
0.10705660283565521,
0.05334963649511337,
0.023030033335089684,
0.01323914248496294,
-0.029801471158862114,
-0.019420983269810677,
-0.031069999560713768,
0.018045255914330482,
-0.0007967382553033531,
0.00546717643737793,
-0.012265413999557495
]
|
41,725 | comm.base_comm | register_target | Register a callable f for a given target name
f will be called with two arguments when a comm_open message is received with `target`:
- the Comm instance
- the `comm_open` message itself.
f can be a Python callable or an import string for one.
| def register_target(self, target_name: str, f: CommTargetCallback | str) -> None:
"""Register a callable f for a given target name
f will be called with two arguments when a comm_open message is received with `target`:
- the Comm instance
- the `comm_open` message itself.
f can be a Python callable or an import string for one.
"""
if isinstance(f, str):
f = import_item(f)
self.targets[target_name] = t.cast(CommTargetCallback, f)
| (self, target_name: str, f: Union[Callable[[comm.base_comm.BaseComm, Dict[str, Any]], NoneType], str]) -> NoneType | [
0.04323992505669594,
-0.012712166644632816,
-0.03531569615006447,
0.009956317022442818,
-0.029302936047315598,
0.02232516184449196,
0.018595023080706596,
0.059496648609638214,
-0.036911677569150925,
-0.02685329131782055,
0.00340073648840189,
0.015013346448540688,
0.02510884776711464,
-0.03563117980957031,
0.01233172882348299,
-0.010494496673345566,
0.033960968255996704,
0.009172245860099792,
-0.04298011213541031,
0.01411328837275505,
0.034480590373277664,
0.06513825058937073,
0.01812179572880268,
-0.06357938796281815,
0.019318781793117523,
0.06510113924741745,
-0.03191959857940674,
0.030991705134510994,
0.008954189717769623,
-0.02093331888318062,
-0.0213415939360857,
-0.05675008147954941,
-0.0065834177657961845,
0.014688583090901375,
0.0050291926600039005,
0.06677135080099106,
0.008374255150556564,
0.06844156235456467,
-0.01907752826809883,
-0.06391343474388123,
0.005126622039824724,
0.019727054983377457,
0.012303892523050308,
0.06402477622032166,
0.035445600748062134,
0.0741945132613182,
-0.050254810601472855,
0.030212271958589554,
0.013714293017983437,
0.002461242489516735,
0.002190992934629321,
-0.021508613601326942,
-0.01952291838824749,
-0.010735749267041683,
-0.030267946422100067,
0.05871721729636192,
0.0022837824653834105,
0.027558492496609688,
0.00815156102180481,
-0.040493354201316833,
-0.013909151777625084,
0.037765342742204666,
0.061315324157476425,
0.015542247332632542,
-0.013445204123854637,
0.0014776733005419374,
-0.0017235656268894672,
-0.0050199138931930065,
0.02535010129213333,
0.03494453802704811,
0.043611083179712296,
-0.007956702262163162,
0.03345990553498268,
-0.05637892335653305,
0.04015931114554405,
0.07794321328401566,
-0.021564288064837456,
-0.0028115229215472937,
-0.045095715671777725,
0.03050919994711876,
-0.009761459194123745,
0.0038113300688564777,
0.0002621304302010685,
-0.019727054983377457,
-0.02596251294016838,
-0.04992077127099037,
-0.020339466631412506,
-0.05070020258426666,
-0.004658034536987543,
-0.05040327459573746,
-0.028003882616758347,
-0.052259065210819244,
-0.010754306800663471,
-0.010689354501664639,
-0.0336640439927578,
-0.05797490105032921,
0.008699018508195877,
0.03696735203266144,
0.018502233549952507,
0.05088578164577484,
-0.02380979433655739,
-0.0037626156117767096,
0.00823507085442543,
-0.034721843898296356,
0.008518079295754433,
-0.048324789851903915,
-0.05366946756839752,
0.027484260499477386,
-0.018539348617196083,
0.03930564597249031,
-0.0027512097731232643,
-0.01341736689209938,
0.0624287985265255,
0.006847867742180824,
0.0013976424233987927,
-0.006096272263675928,
0.03269903361797333,
0.03032362088561058,
-0.03371971845626831,
-0.024088162928819656,
0.035594064742326736,
0.010995560325682163,
0.023475753143429756,
-0.03589099273085594,
-0.011450228281319141,
-0.008369616232812405,
0.002690896624699235,
0.03379394859075546,
0.07044581323862076,
-0.07241295278072357,
-0.00021037127589806914,
-0.006792194209992886,
0.004252080339938402,
0.0060498774982988834,
0.04494725167751312,
0.02876475639641285,
-0.07950207591056824,
0.012879187241196632,
-0.010661517269909382,
-0.030026692897081375,
0.0010346033377572894,
-0.024700574576854706,
-0.06083282083272934,
0.007822157815098763,
-0.008634066209197044,
-0.008921713568270206,
-0.06220610439777374,
0.013296740129590034,
-0.02265920490026474,
-0.014623630791902542,
-0.027317238971590996,
-0.02136015146970749,
0.03180825337767601,
0.00607771473005414,
-0.012545145116746426,
0.04090162739157677,
0.018799159675836563,
0.061389558017253876,
-0.006300409324467182,
0.029692651703953743,
0.046765927225351334,
0.006100912112742662,
-0.017648570239543915,
0.02744714543223381,
-0.013408088125288486,
-0.02369844727218151,
0.004477094858884811,
-0.04019642621278763,
-0.006193701643496752,
0.09293799847364426,
-0.013872035779058933,
-0.03284749388694763,
0.07259853184223175,
0.04487301781773567,
0.025312984362244606,
-0.006286491174250841,
0.02518307976424694,
-0.026185207068920135,
0.031492769718170166,
0.014577236026525497,
0.006439593620598316,
0.051034245640039444,
-0.003289388958364725,
0.0010821579489856958,
0.0048018586821854115,
0.07230160385370255,
0.01840016432106495,
0.01814035326242447,
-0.030564872547984123,
-0.04461320862174034,
0.01855790801346302,
-0.03815505653619766,
0.02935860864818096,
-0.01411328837275505,
-0.012832792475819588,
-0.05793778598308563,
-0.01334313489496708,
0.02668626978993416,
0.013899872079491615,
-0.011338881216943264,
0.030917473137378693,
0.05448601394891739,
0.01433598343282938,
0.07809167355298996,
0.0008994785603135824,
-0.0033033075742423534,
0.04914133623242378,
0.027075987309217453,
0.023735562339425087,
-0.0827682688832283,
0.061389558017253876,
-0.039342764765024185,
-0.09189875423908234,
0.09509071707725525,
0.013705014251172543,
0.039788153022527695,
-0.033960968255996704,
0.0013454483123496175,
0.03767255321145058,
0.02692752331495285,
0.004085059277713299,
0.08351058512926102,
0.0006692445022054017,
-0.03444347530603409,
0.003280110191553831,
0.0020019342191517353,
0.0033125863410532475,
-0.02579549141228199,
0.05244464427232742,
0.01700832135975361,
0.011700760573148727,
-0.011394554749131203,
0.012971976771950722,
0.009232558310031891,
0.03774678334593773,
-0.0275399349629879,
0.02282622642815113,
0.009622274897992611,
-0.027391470968723297,
0.01533810980618,
0.04917845502495766,
0.043351270258426666,
0.05096001178026199,
0.023846911266446114,
0.040493354201316833,
0.011394554749131203,
-0.011561576277017593,
0.003955153748393059,
-0.03783957287669182,
0.007311815395951271,
0.003486566711217165,
-0.015820614993572235,
-0.004147692117840052,
-0.0413099005818367,
-0.059830691665410995,
0.02239939384162426,
-0.010308917611837387,
-0.016182495281100273,
-0.013445204123854637,
0.01611754298210144,
-0.06239168345928192,
-0.03466616943478584,
-0.002121400786563754,
0.035241466015577316,
-0.01682274229824543,
-0.03574252873659134,
-0.048064980655908585,
-0.03188248351216316,
-0.03483319282531738,
-0.042571838945150375,
0.11401978135108948,
0.0010525812394917011,
-0.010383148677647114,
-0.01831665448844433,
-0.0219540037214756,
-0.02143438346683979,
-0.01578349992632866,
-0.0449843667447567,
0.013630783185362816,
-0.02867196686565876,
0.045875146985054016,
-0.06239168345928192,
0.03570541366934776,
-0.017481548711657524,
0.00386700383387506,
0.015662873163819313,
-0.012804956175386906,
0.006054517347365618,
0.01198840793222189,
-0.043277040123939514,
-0.01516181044280529,
0.023030363023281097,
-0.001786198583431542,
0.0425347238779068,
0.010800701566040516,
0.03370115906000137,
-0.0351857915520668,
0.029748324304819107,
0.01398338284343481,
-0.06851579248905182,
-0.007158712483942509,
-0.02291901595890522,
-0.03050919994711876,
-0.007052004802972078,
-0.08484674990177155,
-0.05741816386580467,
0.04776805266737938,
-0.028115229681134224,
-0.12248218804597855,
0.019931191578507423,
0.04557821899652481,
0.06216898933053017,
-0.07582760602235794,
-0.0257027018815279,
0.05166521295905113,
0.07660704106092453,
0.01123681291937828,
-0.004112896043807268,
0.0044005438685417175,
-0.0211931299418211,
0.0049596005119383335,
0.0030875718221068382,
-0.03041641041636467,
-0.04323992505669594,
0.03522290661931038,
-0.003321865340694785,
-0.01341736689209938,
-0.0514054037630558,
-0.011533739045262337,
0.03600233793258667,
-0.05188790708780289,
-0.021211687475442886,
0.07215314358472824,
-0.041532594710588455,
-0.025943953543901443,
0.02204679325222969,
0.031604114919900894,
0.016284562647342682,
0.02859773486852646,
0.03102882020175457,
-0.03819217160344124,
0.0313628613948822,
-0.04242337495088577,
0.028560619801282883,
0.021118897944688797,
0.04234914481639862,
-0.04539263993501663,
0.043722428381443024,
0.07668127119541168,
-0.055042751133441925,
0.008490242063999176,
-0.011246091686189175,
-0.00792886596173048,
-0.0664001926779747,
0.01132960245013237,
-0.015365947037935257,
-0.006606615148484707,
-0.00607771473005414,
-0.03347846493124962,
-0.028467830270528793,
-0.04186663776636124,
-0.004646435845643282,
0.014131845906376839,
-0.03652196004986763,
-0.02239939384162426,
0.03837775066494942,
0.015662873163819313,
-0.006759717594832182,
0.005655521992594004,
0.024106720462441444,
0.008606228977441788,
-0.0400850810110569,
0.02230660431087017,
0.06677135080099106,
-0.024088162928819656,
-0.011914175935089588,
0.05849452316761017,
-0.01829809695482254,
-0.048955757170915604,
-0.036132246255874634,
0.008225792087614536,
-0.020005423575639725,
0.020153887569904327,
-0.012517307884991169,
0.0015716227935627103,
-0.020079655572772026,
-0.03162267431616783,
0.033237211406230927,
-0.0033265049569308758,
0.03225364163517952,
0.07801744341850281,
-0.010355312377214432,
-0.021471498534083366,
0.05196214094758034,
0.007144794333726168,
-0.00854591652750969,
-0.036299265921115875,
0.006824670359492302,
-0.013445204123854637,
0.0237170048058033,
-0.002630583243444562,
-0.0063792807050049305,
0.044501859694719315,
-0.009292871691286564,
0.007237583864480257,
0.06818175315856934,
-0.01672067493200302,
0.04505859687924385,
0.005001355893909931,
0.06435882300138474,
-0.007089120335876942,
-0.01907752826809883,
-0.05340965837240219,
-0.034814633429050446,
-0.0798732340335846,
0.05849452316761017,
-0.03334856033325195,
0.010438823141157627,
-0.04557821899652481,
-0.05923683941364288,
0.004284556955099106,
0.0064488728530704975,
-0.03379394859075546,
0.03214229643344879,
-0.015421620570123196,
0.02117457240819931,
0.0474340096116066,
0.04687727242708206,
0.028115229681134224,
0.01856718584895134,
-0.028913218528032303,
0.06454440206289291,
-0.0001836942828958854,
0.016850579530000687,
0.01546801533550024,
-0.009265035390853882,
-0.021861214190721512,
0.003760295920073986,
0.011413113214075565,
-0.0039319563657045364,
-0.02726156637072563,
-0.03897160664200783,
-0.008133002556860447,
0.024385089054703712,
-0.052593108266592026,
-0.0462091900408268,
-0.01769496500492096,
-0.007989179342985153,
0.014957672916352749,
-0.0061890617944300175,
0.006666928064078093,
0.03321865200996399,
-0.011116186156868935,
0.06254014372825623,
0.06792193651199341,
-0.06016473472118378,
0.03937987983226776,
-0.03841486945748329,
0.006022040732204914,
-0.02206535078585148,
-0.032457780092954636,
0.011886339634656906,
-0.0035051247105002403,
-0.031585559248924255,
-0.04940114915370941,
0.06873849034309387,
0.02605530247092247,
-0.01743515394628048,
0.06829309463500977,
0.003604873549193144,
0.04531840980052948,
0.003391457488760352,
-0.01918887533247471,
0.035093002021312714,
-0.013649340718984604,
0.013918430544435978,
0.018409444019198418,
0.029785441234707832,
0.004778661299496889,
0.04398224130272865,
0.03834063559770584,
0.00011134744272567332,
0.018279537558555603,
0.02058071829378605,
-0.021768424659967422,
0.025294426828622818,
0.06710539013147354,
-0.06190917640924454,
-0.002069206675514579,
-0.004778661299496889,
-0.006787554360926151,
0.02876475639641285,
0.06372785568237305,
-0.05552525818347931,
-0.013148277066648006,
0.01285135094076395,
0.02327161468565464,
0.02640790119767189,
0.0009731302270665765,
0.0038971605245023966,
0.0051544588059186935,
0.026779059320688248,
-0.048510368913412094,
-0.008160839788615704,
-0.019671382382512093,
-0.029525630176067352,
-0.008954189717769623,
0.037171486765146255,
-0.062465913593769073,
0.04617207124829292,
-0.005850380286574364,
0.014540120027959347,
-0.0370972566306591,
0.006884983740746975,
-0.030731894075870514,
-0.07000042498111725,
-0.02405104786157608,
-0.019114645197987556,
-0.0550798699259758,
-0.034202221781015396,
0.029228704050183296,
0.07434297353029251,
-0.03941699489951134,
-0.06313399970531464,
0.0007991498569026589,
-0.04661746323108673,
-0.00911657139658928,
0.022288046777248383,
-0.006017401348799467,
0.0020460092928260565,
0.012238939292728901,
0.00019079848425462842,
-0.04661746323108673,
-0.07040870189666748,
-0.024682017043232918,
0.05604488030076027,
-0.02431085892021656,
0.03086179867386818,
-0.03329288586974144,
-0.015514410100877285,
-0.01085637602955103,
0.005757590755820274,
-0.0751224085688591,
-0.05337253957986832,
0.015319552272558212,
-0.06788482517004013,
-0.0076041026040911674,
-0.04721131548285484,
0.03139998018741608,
-0.017574338242411613,
-0.0150690209120512,
-0.01028108038008213,
-0.07052004337310791,
-0.0014823128003627062,
0.020859086886048317,
0.0018998656887561083,
0.07616165280342102,
-0.019634265452623367,
0.0022373877000063658,
0.01224821899086237,
-0.02640790119767189,
0.05203637108206749,
-0.01285135094076395,
0.003101490205153823,
0.04862171784043312,
-0.027428586035966873,
0.041272785514593124,
-0.021916888654232025,
-0.015004067681729794,
-0.033422790467739105,
0.008944910950958729,
0.014410214498639107,
0.017759917303919792,
0.00945525337010622,
-0.0017200859729200602,
-0.004630197770893574,
0.08217441290616989,
-0.019671382382512093,
0.03808082640171051,
-0.06933233886957169,
-0.06172359734773636,
0.06354227662086487,
-0.019393013790249825,
-0.025220194831490517,
-0.019819844514131546,
0.037449855357408524,
-0.013101882301270962,
0.03492598235607147,
-0.0280781127512455,
-0.07133659720420837,
-0.017147505655884743,
-0.052259065210819244,
-0.06335669755935669,
0.00026024563703686,
0.02056216076016426,
-0.04784228280186653,
-0.013315298594534397,
0.04613495618104935,
0.040233541280031204,
0.0025540320202708244,
-0.01360294595360756,
-0.027614165097475052,
-0.0648784413933754,
-0.019281664863228798,
0.008824285119771957,
0.0014799931086599827,
-0.0775720551609993,
-0.06873849034309387,
-0.026333671063184738,
0.017982611432671547,
0.007873192429542542,
-0.009993433021008968,
-0.02946995571255684,
0.017620733007788658,
-0.03975103795528412,
0.0028045636136084795,
-0.017555780708789825,
0.0501805804669857,
0.023234499618411064,
0.040753163397312164,
0.02718733437359333,
-0.004298475105315447,
-0.005214771721512079,
-0.004936403129249811,
0.012127592228353024,
0.001462595071643591,
-0.058605872094631195,
0.008745413273572922,
-0.019671382382512093,
-0.002769767539575696,
-0.027577050030231476,
0.0231045950204134,
0.03345990553498268,
-0.03165978938341141,
-0.009102653712034225,
-0.04958672821521759,
0.03860044851899147,
0.008541276678442955,
0.03336711600422859,
-0.06447017192840576,
-0.05062596872448921,
0.056787196546792984,
0.019912634044885635,
-0.09182452410459518,
-0.002322058193385601,
-0.02850494533777237,
0.00227914284914732,
-0.029674094170331955,
0.04465032368898392,
-0.06550940871238708,
0.016228890046477318,
0.01761145330965519,
0.010457380674779415,
0.06866425275802612,
0.09887652844190598,
-0.017667127773165703,
-0.07905668765306473,
0.00036593872937373817,
0.06335669755935669,
0.0722273737192154,
-0.026704829186201096,
0.0032940285746008158,
0.09212145209312439,
0.018929066136479378,
0.0028370399959385395,
-0.03483319282531738,
0.02989678829908371,
-0.12203679978847504,
-0.07508528977632523,
-0.0011500102700665593,
-0.004931763745844364,
-0.009622274897992611,
0.014122567139565945,
-0.032216526567935944,
0.03234643116593361,
-0.015403063036501408,
0.04591226205229759,
0.05099712684750557,
0.05326119437813759,
0.031325746327638626,
-0.039157185703516006,
0.013463761657476425,
0.021156014874577522,
-0.015273157507181168,
-0.010216128081083298,
0.044390514492988586,
-0.009872806258499622,
-0.01024396438151598,
0.01855790801346302,
0.005915333051234484,
0.02492326870560646,
0.03730139508843422,
-0.02343863621354103,
0.0018407123861834407,
-0.02317882515490055,
0.017193900421261787,
-0.019541475921869278,
-0.05927395448088646,
-0.04413070157170296,
0.047099966555833817,
0.01804756373167038,
0.009497009217739105,
-0.008035574108362198,
-0.03837775066494942,
0.011375997215509415,
-0.04197798669338226,
-0.04053046926856041,
-0.03574252873659134,
0.007877831347286701,
-0.05693566054105759,
-0.006226177792996168,
-0.041272785514593124,
0.021323034539818764,
0.01467930432409048,
0.0004938142956234515,
-0.06127820909023285,
-0.01847439631819725,
0.008091247640550137,
-0.028634849935770035,
0.001249179127626121,
0.003391457488760352,
0.05641603842377663,
0.03355269506573677,
-0.018585743382573128,
0.033330000936985016,
-0.023290174081921577,
0.032810378819704056,
0.011793550103902817,
0.06807040423154831,
-0.002250146120786667,
0.0012793357018381357,
0.04546687379479408,
-0.07382335513830185,
0.010615122504532337,
-0.03392385318875313,
-0.02982255630195141,
0.02395825833082199,
-0.0015553846023976803,
-0.03423933684825897,
0.03383106365799904,
-0.08447559177875519,
0.012090476229786873,
0.028690524399280548,
-0.014271030202507973,
0.06569498777389526,
0.02145294100046158,
-0.023327289149165154,
0.008995945565402508,
0.001823314349167049,
0.06684558093547821,
-0.00710303895175457,
0.047545358538627625,
0.0010520013747736812,
0.019207434728741646,
0.05151674896478653,
-0.02397681586444378,
-0.004729946609586477,
0.035093002021312714,
-0.0149947889149189,
-0.022176699712872505,
-0.02640790119767189,
0.04119855538010597,
0.012916303239762783,
-0.09805998206138611,
0.06524959951639175,
-0.008077329024672508,
-0.02301180548965931,
0.010605843737721443
]
|
41,726 | comm.base_comm | unregister_comm | Unregister a comm, and close its counterpart | def unregister_comm(self, comm: BaseComm) -> None:
"""Unregister a comm, and close its counterpart"""
# unlike get_comm, this should raise a KeyError
comm = self.comms.pop(comm.comm_id)
| (self, comm: comm.base_comm.BaseComm) -> NoneType | [
0.058052245527505875,
0.0043166144751012325,
-0.027818182483315468,
0.013980146497488022,
-0.029612330719828606,
-0.026166144758462906,
-0.02046395093202591,
0.03270323947072029,
0.008890804834663868,
-0.0074652559123933315,
-0.01822570525109768,
-0.05542319640517235,
-0.0029643417801707983,
0.0037792581133544445,
-0.03790804743766785,
0.005919801536947489,
0.0234482754021883,
-0.020286312326788902,
-0.026290491223335266,
-0.03648693859577179,
0.032188087701797485,
0.025047022849321365,
-0.0325433649122715,
-0.049916405230760574,
-0.011875131167471409,
0.05922466143965721,
0.01040073111653328,
0.017692789435386658,
-0.020481713116168976,
-0.04885057359933853,
0.0172309298068285,
-0.03229467198252678,
0.02673458680510521,
-0.016289446502923965,
-0.0068968129344284534,
0.025722049176692963,
-0.0010119840735569596,
0.04234900698065758,
-0.03680668771266937,
-0.011582027189433575,
0.05652455613017082,
-0.003892502747476101,
0.06398537009954453,
-0.007087774574756622,
0.023874608799815178,
0.06842633336782455,
-0.023110762238502502,
0.03250783681869507,
0.0024203239008784294,
0.04146081581711769,
0.009090648032724857,
-0.00722100306302309,
-0.0463281087577343,
-0.00993887148797512,
-0.03744618594646454,
-0.04199372977018356,
0.003559430595487356,
0.03940020874142647,
0.004272204823791981,
-0.02490491047501564,
-0.0172309298068285,
0.0181635320186615,
-0.02366144210100174,
-0.02195611223578453,
0.032099269330501556,
0.0006683646934106946,
0.05282967537641525,
0.010915882885456085,
0.010507314465939999,
-0.004405433777719736,
-0.00865099299699068,
-0.01573876664042473,
-0.03462173417210579,
-0.011839603073894978,
0.023856844753026962,
-0.006839080713689327,
0.07510554045438766,
0.015969697386026382,
0.05524555966258049,
-0.028493208810687065,
0.05847857892513275,
0.051905956119298935,
-0.032934170216321945,
0.03568756580352783,
-0.06760919839143753,
0.011288924142718315,
0.09805642813444138,
-0.01232810877263546,
-0.058798328042030334,
0.005657784640789032,
-0.02167189121246338,
0.0062173460610210896,
0.02204493246972561,
-0.027338558807969093,
0.06743155419826508,
-0.024975966662168503,
-0.0562758632004261,
0.059793103486299515,
-0.004645245615392923,
-0.02797805704176426,
-0.022862069308757782,
0.0004216137749608606,
-0.0707356333732605,
-0.009237200021743774,
-0.042562175542116165,
-0.01838557980954647,
0.009796760976314545,
-0.03307627886533737,
-0.04615047201514244,
0.016218390315771103,
-0.12839707732200623,
0.037339601665735245,
-0.019700104370713234,
0.008797544054687023,
0.03083803504705429,
0.023608149960637093,
-0.05471264570951462,
0.023981191217899323,
0.0073320274241268635,
0.006301724351942539,
-0.03652246668934822,
0.035101357847452164,
-0.03677115961909294,
-0.061747126281261444,
0.0349770113825798,
0.06849738955497742,
-0.0065770638175308704,
0.041318703442811966,
0.05332706496119499,
0.014966039918363094,
-0.02307523600757122,
-0.004720741882920265,
0.030482759699225426,
-0.03009195439517498,
0.002010645344853401,
0.043272726237773895,
-0.058549635112285614,
-0.03018077276647091,
-0.038867294788360596,
0.015285789035260677,
-0.029736677184700966,
0.00043077324517071247,
-0.0136159872636199,
0.04980982095003128,
0.01326071098446846,
0.008531087078154087,
-0.07681086659431458,
-0.06572622805833817,
-0.05719958245754242,
0.008979624137282372,
-0.07936885952949524,
0.010223093442618847,
0.05801672115921974,
0.0045386627316474915,
-0.019611285999417305,
0.06558411568403244,
-0.059047020971775055,
0.05428631231188774,
-0.017692789435386658,
-0.03455067798495293,
0.02394566312432289,
0.027907000854611397,
0.04963218420743942,
-0.003310736734420061,
-0.03741065785288811,
-0.04803343862295151,
0.018829675391316414,
-0.048957157880067825,
0.01730198599398136,
-0.006044148467481136,
-0.042562175542116165,
-0.0029510187450796366,
0.04039498418569565,
-0.0331118069589138,
-0.028866248205304146,
0.02975444123148918,
-0.0031730670016258955,
-0.022151514887809753,
-0.011475443840026855,
-0.0030109717044979334,
-0.003641588380560279,
-0.004583071917295456,
-0.030749216675758362,
0.046967606991529465,
-0.0165825504809618,
-0.005848746281117201,
-0.00041467478149570525,
-0.0350835956633091,
0.040821317583322525,
-0.02698328159749508,
-0.022631138563156128,
0.00654597720131278,
-0.013722570613026619,
-0.008739812299609184,
0.0699540227651596,
0.005511233117431402,
0.02581086754798889,
0.04568861052393913,
-0.03400000184774399,
0.029328109696507454,
0.0109336469322443,
0.04682549834251404,
-0.000709443585947156,
0.022968651726841927,
-0.029505746439099312,
-0.001275666174478829,
0.03133542463183403,
-0.03950679302215576,
0.021618599072098732,
-0.0017874869517982006,
0.041070010513067245,
0.001905172481201589,
-0.012816614471375942,
0.01636938378214836,
0.06309717893600464,
-0.004645245615392923,
-0.0136159872636199,
0.0006461598677560687,
0.011022466234862804,
0.00730538135394454,
-0.0073586730286479,
-0.0007405303185805678,
0.05744827538728714,
-0.05396656319499016,
-0.028919540345668793,
0.008535527624189854,
0.027054335922002792,
-0.011963949538767338,
0.06142737716436386,
0.03780146315693855,
0.0450846403837204,
0.005284743849188089,
0.02968338504433632,
-0.037872519344091415,
0.01962905004620552,
-0.018367815762758255,
-0.07510554045438766,
-0.0004088460118509829,
-0.025704285129904747,
0.03229467198252678,
0.02993207983672619,
0.025562172755599022,
0.008468912914395332,
0.06927900016307831,
0.0581943579018116,
0.03469279035925865,
0.02049947716295719,
0.02456739917397499,
-0.004349921829998493,
-0.039080459624528885,
0.0006944553460925817,
-0.05442842096090317,
0.031566351652145386,
-0.02170741930603981,
0.0259885061532259,
-0.11354649811983109,
-0.10338558256626129,
-0.04842424392700195,
-0.018740857020020485,
0.011564263142645359,
-0.04838871583342552,
-0.022897597402334213,
-0.0024025600869208574,
0.035101357847452164,
0.04536886140704155,
0.00993887148797512,
0.03769487887620926,
0.03993312641978264,
0.03586520254611969,
-0.0010497322073206306,
0.08832184225320816,
-0.028795193880796432,
-0.003581635421141982,
-0.04899268597364426,
0.012434692122042179,
0.0700606033205986,
0.0040124086663126945,
-0.03238349035382271,
0.036327064037323,
0.004574190359562635,
0.03900940343737602,
-0.043237198144197464,
0.03705538064241409,
-0.00037664902629330754,
0.02195611223578453,
0.03167293593287468,
0.011031348258256912,
-0.056595612317323685,
0.015125914476811886,
0.03979101404547691,
0.013225182890892029,
-0.0005906478618271649,
-0.07261860370635986,
0.07972414046525955,
0.018092475831508636,
-0.004756269510835409,
-0.052154649049043655,
0.038192268460989,
0.034053292125463486,
0.027747126296162605,
-0.015516718849539757,
0.028706373646855354,
-0.08462695777416229,
0.027942528948187828,
-0.028955068439245224,
-0.038369905203580856,
0.04853082448244095,
0.01444200612604618,
-0.06256426125764847,
0.0800083577632904,
0.02266666665673256,
0.03195715695619583,
-0.05595611408352852,
0.0047074188478291035,
0.014459770172834396,
0.014761755242943764,
0.012878787703812122,
0.0206238254904747,
-0.0037703760899603367,
0.05304284393787384,
0.020428422838449478,
-0.05048484727740288,
-0.03773040696978569,
-0.0043676854111254215,
-0.00669252872467041,
0.006497126538306475,
-0.03437304124236107,
0.05101776495575905,
0.03790804743766785,
0.01959352195262909,
-0.04273981228470802,
0.019913271069526672,
-0.022382445633411407,
-0.049916405230760574,
0.05965099483728409,
-0.032774295657873154,
0.013314002193510532,
-0.05325600877404213,
0.01388244517147541,
-0.02366144210100174,
-0.05897596850991249,
-0.008420063182711601,
-0.051444098353385925,
-0.015578892081975937,
-0.06494461745023727,
0.030624870210886,
-0.011741901747882366,
0.005333594512194395,
-0.005560083780437708,
-0.011120167560875416,
0.001215713215060532,
0.0488150492310524,
-0.025206897407770157,
-0.006905694957822561,
0.005413531791418791,
0.023217346519231796,
-0.0234482754021883,
0.024585161358118057,
0.00432549649849534,
-0.03618495166301727,
-0.007092215120792389,
-0.014966039918363094,
0.004061259329319,
-0.005688871722668409,
-0.09564054757356644,
-0.017532914876937866,
-0.08214002102613449,
-0.05599164217710495,
0.014433124102652073,
-0.008690961636602879,
-0.02170741930603981,
-0.006186258979141712,
-0.026201672852039337,
0.045724138617515564,
-0.015374608337879181,
0.0645182877779007,
0.032028213143348694,
0.0337335430085659,
-0.02295088768005371,
-0.0048228842206299305,
0.01707993820309639,
-0.02462068945169449,
0.08128735423088074,
0.013216300867497921,
-0.04138975962996483,
-0.04188714921474457,
-0.033396027982234955,
-0.0032085946295410395,
-0.011297806166112423,
0.010471787303686142,
0.050413794815540314,
-0.06334587186574936,
-0.026006270200014114,
0.045795194804668427,
-0.029452456161379814,
0.013189655728638172,
-0.0010774882975965738,
-0.04234900698065758,
-0.07027377188205719,
-0.03030512109398842,
-0.022737722843885422,
0.01066718902438879,
-0.013393939472734928,
-0.015117032453417778,
0.05346917361021042,
0.027427377179265022,
0.0005834312760271132,
0.039826542139053345,
-0.014646290801465511,
-0.031140021979808807,
-0.02009090967476368,
0.00961024034768343,
0.020783700048923492,
-0.030020898208022118,
0.022560084238648415,
-0.02456739917397499,
0.042562175542116165,
0.01984221488237381,
0.032809823751449585,
0.052900731563568115,
-0.007944880053400993,
-0.02117450349032879,
-0.01714211143553257,
-0.0023537094239145517,
-0.08668756484985352,
0.02403448335826397,
0.01049843244254589,
-0.015001567080616951,
-0.015445663593709469,
-0.018438871949911118,
-0.04909927025437355,
0.047003135085105896,
0.009397074580192566,
-0.034888193011283875,
0.010427377186715603,
0.0038147857412695885,
0.017319750040769577,
0.006501567550003529,
-0.008109195157885551,
0.018918495625257492,
0.030731452628970146,
-0.008286833763122559,
0.04273981228470802,
-0.034888193011283875,
0.0003544442297425121,
0.017959248274564743,
0.040323927998542786,
0.03320062905550003,
0.029861023649573326,
-0.01066718902438879,
0.02524242363870144,
0.0162983275949955,
-0.013296238146722317,
0.017159875482320786,
0.050413794815540314,
-0.07368443161249161,
0.003730407450348139,
-0.011688610538840294,
0.007536311633884907,
0.0035128004383295774,
-0.0052092475816607475,
0.06412748247385025,
-0.04686102271080017,
-0.03716196492314339,
-0.034301985055208206,
0.09478788077831268,
0.04732288420200348,
-0.035758621990680695,
0.032809823751449585,
0.031157784163951874,
0.023803552612662315,
0.01946917548775673,
0.04266875609755516,
-0.018545454367995262,
-0.08491118252277374,
0.009183907881379128,
0.013891327194869518,
0.05034273862838745,
0.0162983275949955,
-0.008211337961256504,
0.0010946969268843532,
-0.030536049976944923,
-0.004474268760532141,
-0.022506792098283768,
-0.0005270866095088422,
0.019771160557866096,
0.01884743943810463,
-0.039044931530952454,
-0.011990595608949661,
0.016005225479602814,
-0.04643469303846359,
0.031815048307180405,
-0.004425418097525835,
-0.037872519344091415,
0.10516196489334106,
0.0059686521999537945,
-0.032685477286577225,
-0.005777690559625626,
0.017346395179629326,
-0.08370324224233627,
0.020641587674617767,
-0.039293624460697174,
-0.03145977109670639,
-0.0694921612739563,
0.01083594560623169,
-0.06117868423461914,
0.018207941204309464,
0.03840543329715729,
-0.047713689506053925,
-0.015427899546921253,
-0.030855799093842506,
0.0067236153408885,
0.05712852627038956,
-0.012088296934962273,
-0.006510449573397636,
-0.06338140368461609,
-0.01037408597767353,
-0.032685477286577225,
-0.022062696516513824,
0.01255903858691454,
0.06281295418739319,
0.0038769592065364122,
-0.018207941204309464,
0.014513061381876469,
-0.007056687492877245,
-0.07215674221515656,
-0.016404911875724792,
-0.01826123334467411,
-0.012470219284296036,
-0.004929467104375362,
0.017461860552430153,
0.006936781574040651,
-0.023768024519085884,
-0.025473354384303093,
0.06533542275428772,
-0.0014533046633005142,
-0.023856844753026962,
-0.01326071098446846,
-0.010782654397189617,
0.03879623860120773,
-0.058052245527505875,
-0.03444409742951393,
0.031974922865629196,
-0.01120898686349392,
-0.029203761368989944,
0.010196447372436523,
-0.025597700849175453,
0.027818182483315468,
0.009530303068459034,
0.04245559126138687,
-0.038121212273836136,
-0.01674242503941059,
-0.02636154741048813,
-0.07219226658344269,
-0.009068443439900875,
0.06313270330429077,
0.00827795173972845,
-0.008397857658565044,
0.03655799478292465,
-0.021138975396752357,
-0.011093521490693092,
0.10580146312713623,
0.031939394772052765,
0.006701410748064518,
0.10132497549057007,
-0.010249738581478596,
0.027782654389739037,
-0.04362800344824791,
0.04224242642521858,
-0.013180773705244064,
-0.0016031870618462563,
-0.06593939661979675,
0.022258099168539047,
-0.007136624772101641,
0.025508882477879524,
0.02975444123148918,
0.045226749032735825,
-0.020570533350110054,
-0.02698328159749508,
-0.0026334901340305805,
-0.02121003158390522,
0.07165935635566711,
-0.01788819208741188,
-0.031566351652145386,
0.014299895614385605,
0.02764054387807846,
-0.04504911229014397,
0.004258881788700819,
-0.014992685988545418,
-0.043770115822553635,
0.03822779655456543,
0.01176854781806469,
0.017834899947047234,
-0.04835318773984909,
0.010738244280219078,
0.04561755433678627,
0.011919540353119373,
-0.0394357368350029,
-0.044231973588466644,
0.05837199464440346,
0.032934170216321945,
-0.016777951270341873,
0.03648693859577179,
-0.001813022536225617,
-0.02502925880253315,
0.036256007850170135,
-0.08732706308364868,
-0.03940020874142647,
-0.018403343856334686,
-0.0061063216999173164,
0.005036049988120794,
-0.0109336469322443,
-0.015525600872933865,
0.060290493071079254,
0.007913793437182903,
-0.022933123633265495,
0.006350574549287558,
-0.0481400229036808,
-0.009450365789234638,
0.018580982461571693,
0.04924137890338898,
-0.024052247405052185,
-0.014797283336520195,
-0.019273772835731506,
-0.005515674129128456,
0.04924137890338898,
-0.03456844389438629,
0.02561546489596367,
0.0028799634892493486,
0.07290282100439072,
-0.02963009476661682,
0.012239289470016956,
0.04924137890338898,
0.044267501682043076,
-0.06657889485359192,
-0.040821317583322525,
0.01066718902438879,
0.004663009662181139,
0.014068965800106525,
0.03918704390525818,
0.0044387406669557095,
0.028404388576745987,
0.005253657232969999,
-0.03794357553124428,
-0.06032601743936539,
-0.04849529638886452,
0.012834378518164158,
-0.026947753503918648,
0.0011307797394692898,
-0.03444409742951393,
-0.0037037618458271027,
-0.010978056117892265,
0.04199372977018356,
-0.0701671913266182,
0.0253134798258543,
-0.03680668771266937,
-0.00447204802185297,
-0.0007999281515367329,
0.005893155932426453,
0.08754023164510727,
-0.012292580679059029,
-0.027338558807969093,
0.048743993043899536,
0.012683385983109474,
-0.016653604805469513,
-0.005253657232969999,
0.0074341692961752415,
-0.06256426125764847,
-0.04458725079894066,
-0.05432184040546417,
-0.000645604741293937,
0.0011968391481786966,
-0.0032840908970683813,
-0.06021943688392639,
-0.04213584214448929,
0.005009404383599758,
0.03670010343194008,
0.06913688778877258,
0.03940020874142647,
0.020108673721551895,
-0.011129049584269524,
0.0563824437558651,
0.032312434166669846,
-0.004742946941405535,
0.026006270200014114,
0.06043260172009468,
0.026290491223335266,
-0.026752350851893425,
-0.0032441222574561834,
-0.04927690699696541,
0.020659351721405983,
0.043059561401605606,
-0.01797701232135296,
-0.04682549834251404,
-0.03618495166301727,
-0.05556530877947807,
-0.005888714920729399,
-0.07304493337869644,
-0.04487147554755211,
0.06032601743936539,
0.028777429834008217,
0.003712643636390567,
0.049951933324337006,
0.0031086730305105448,
0.006585945840924978,
-0.009530303068459034,
-0.011253396049141884,
-0.01166196446865797,
-0.001992881530895829,
-0.025633228942751884,
0.03350261226296425,
-0.013749216683208942,
0.013891327194869518,
0.012843260541558266,
0.06664995104074478,
0.022364681586623192,
-0.029789969325065613,
-0.011111285537481308,
0.003084247699007392,
0.0027134274132549763,
0.027711598202586174,
0.030660396441817284,
0.06107209995388985,
0.03673563152551651,
0.01888296753168106,
-0.032312434166669846,
0.05801672115921974,
0.018367815762758255,
0.013891327194869518,
0.03183281049132347,
-0.06132079288363457,
-0.03879623860120773,
-0.10871473699808121,
0.08306374400854111,
0.008202455937862396,
-0.0700606033205986,
0.020037617534399033,
-0.0010203109122812748,
0.03494148328900337,
0.05055590346455574,
-0.03607837110757828,
0.002531348029151559,
-0.01104023028165102,
0.02884848415851593,
0.02819122187793255,
-0.008206896483898163,
-0.0437345877289772,
0.043983280658721924,
0.0012079414445906878,
-0.004596394952386618,
0.03295193240046501,
-0.02552664652466774,
0.03847648948431015,
0.039329152554273605,
-0.007052246481180191,
-0.01984221488237381,
-0.009921107441186905,
0.05837199464440346,
-0.006625914480537176,
-0.003370689693838358,
-0.010569487698376179,
0.07109090685844421,
-0.032188087701797485,
-0.056062694638967514,
0.00047046435065567493,
-0.03295193240046501,
-0.017373040318489075,
-0.03447962552309036
]
|
41,727 | comm.base_comm | unregister_target | Unregister a callable registered with register_target | def unregister_target(self, target_name: str, f: CommTargetCallback) -> CommTargetCallback: # noqa: ARG002
"""Unregister a callable registered with register_target"""
return self.targets.pop(target_name)
| (self, target_name: str, f: Callable[[comm.base_comm.BaseComm, Dict[str, Any]], NoneType]) -> Callable[[comm.base_comm.BaseComm, Dict[str, Any]], NoneType] | [
0.05863892659544945,
-0.02157503180205822,
-0.0029570849146693945,
0.01670609600841999,
-0.08651182055473328,
0.005239398684352636,
-0.00620524724945426,
0.04300893470644951,
0.007585661485791206,
-0.009173357859253883,
-0.016203325241804123,
0.01137849222868681,
0.0018115176353603601,
-0.047242794185876846,
0.03164808452129364,
0.0052923220209777355,
0.03554676100611687,
0.009896641597151756,
0.007620943710207939,
-0.020163746550679207,
0.02737894468009472,
0.07493928074836731,
0.027096688747406006,
-0.05528712272644043,
-0.008789664134383202,
0.038704514503479004,
0.0039008823223412037,
0.007435712032020092,
0.0014873630134388804,
-0.03718738257884979,
-0.06379012018442154,
-0.031277623027563095,
0.0004291742225177586,
0.017799843102693558,
-0.002804930554702878,
0.047101665288209915,
-0.032265521585941315,
0.07620943337678909,
-0.013089676387608051,
-0.08559448271989822,
0.010937465354800224,
-0.003984677139669657,
0.0331122949719429,
0.024362321943044662,
0.05292321741580963,
0.04639602079987526,
-0.051970601081848145,
-0.0050541674718260765,
-0.04300893470644951,
0.020869389176368713,
0.04516114667057991,
0.007559199817478657,
-0.02820807509124279,
0.062484681606292725,
-0.007466583978384733,
0.017896868288517,
-0.014703834429383278,
0.03489404171705246,
0.046960536390542984,
-0.024750424548983574,
0.01220762263983488,
0.06322560459375381,
0.012551623396575451,
-0.0064919148571789265,
0.011052132584154606,
-0.008401560597121716,
0.043079499155282974,
0.0330064482986927,
0.013618907891213894,
0.0172000452876091,
-0.011343210004270077,
0.0020221080631017685,
0.017182404175400734,
-0.01572701707482338,
0.03194798156619072,
-0.009526179172098637,
0.028966641053557396,
0.005146782845258713,
0.026549814268946648,
-0.021416261792182922,
-0.007942893542349339,
0.019281692802906036,
-0.0004090523871127516,
-0.03150695562362671,
-0.03291824087500572,
-0.0459020733833313,
0.06625986844301224,
-0.052217576652765274,
-0.025720683857798576,
-0.06005021184682846,
0.015956349670886993,
-0.0665421262383461,
-0.012833880260586739,
-0.013098496943712234,
0.01666199415922165,
-0.0460079200565815,
-0.014924347400665283,
0.0572982057929039,
0.00674330024048686,
-0.05768631026148796,
0.03261834383010864,
-0.014306910336017609,
0.013715934008359909,
0.015171322971582413,
0.054475631564855576,
0.042338576167821884,
-0.02083410695195198,
-0.0017806458054110408,
-0.020463645458221436,
0.033976707607507706,
-0.02000497654080391,
0.025791248306632042,
0.016476761549711227,
0.0044058579951524734,
0.005922990385442972,
-0.03916318342089653,
-0.04053918644785881,
0.028119869530200958,
-0.059238724410533905,
0.0012172340648248792,
0.025720683857798576,
0.023374421522021294,
-0.028560897335410118,
-0.1078222393989563,
0.03828112781047821,
-0.004500678740441799,
0.03170100972056389,
0.047701459378004074,
0.08312473446130753,
-0.029495874419808388,
-0.023974217474460602,
0.025367863476276398,
-0.011854801326990128,
-0.006244939751923084,
0.02669094316661358,
0.0029460592195391655,
0.004635191988199949,
0.0021246466785669327,
-0.006271401420235634,
0.003040879964828491,
-0.010170078836381435,
-0.015418297611176968,
-0.0054643223993480206,
0.004560217261314392,
0.05317019298672676,
-0.009693769738078117,
-0.018152663484215736,
0.025297299027442932,
-0.011766595765948296,
-0.014315730892121792,
-0.06657741218805313,
-0.019193487241864204,
0.02672622539103031,
-0.010796336457133293,
-0.02796110138297081,
0.07712677121162415,
-0.009543820284307003,
0.07529210299253464,
-0.02840212732553482,
-0.035652607679367065,
0.06488386541604996,
0.055498816072940826,
-0.06791812926530838,
-0.02746715024113655,
-0.03831641003489494,
-0.04290308803319931,
0.033147577196359634,
-0.0074004302732646465,
-0.0012944136979058385,
0.07635056227445602,
-0.09434445947408676,
0.023709602653980255,
0.08044329285621643,
0.056345585733652115,
-0.006372837815433741,
0.06668325513601303,
0.016185684129595757,
0.01510957907885313,
-0.02078118361532688,
0.036763995885849,
0.004732217639684677,
-0.009640846401453018,
-0.012419315055012703,
-0.04237385839223862,
0.023074522614479065,
0.047489769756793976,
-0.004974782466888428,
0.019669795408844948,
-0.06943526118993759,
-0.024168269708752632,
0.011546081863343716,
-0.05553409829735756,
0.050982702523469925,
0.019581591710448265,
0.03076603077352047,
-0.03198326379060745,
0.0006036554696038365,
0.05768631026148796,
0.02776704914867878,
-0.0827719122171402,
0.018064457923173904,
0.027678843587636948,
-0.01172249298542738,
0.04844238609075546,
-0.06357842683792114,
0.028084587305784225,
0.05528712272644043,
0.036446455866098404,
-0.004846884869039059,
-0.021310416981577873,
0.06001492962241173,
0.0021720570512115955,
-0.039692413061857224,
0.0711640864610672,
0.03529978543519974,
-0.008370689116418362,
-0.007109352387487888,
0.021010518074035645,
0.018611332401633263,
0.039974670857191086,
-0.022580573335289955,
0.039833541959524155,
0.07381024956703186,
-0.045584533363580704,
-0.011087413877248764,
0.04438493773341179,
0.000529783486854285,
-0.0029107769951224327,
0.07818523794412613,
-0.023991858586668968,
0.0460079200565815,
-0.060861703008413315,
0.04382042586803436,
-0.022580573335289955,
0.02393893525004387,
-0.017508765682578087,
-0.0011587979970499873,
-0.022033700719475746,
0.017191225662827492,
0.034276604652404785,
0.0173058919608593,
-0.004846884869039059,
0.04413796588778496,
0.06915300339460373,
0.04731335863471031,
0.05451091378927231,
0.017676355317234993,
0.004789551254361868,
-0.0389162078499794,
-0.03298880532383919,
0.037328511476516724,
-0.0182761512696743,
0.025085605680942535,
-0.022174827754497528,
0.0067521207965910435,
-0.03307701274752617,
0.008586792275309563,
-0.01989912986755371,
0.014095216989517212,
0.017623431980609894,
-0.02757299691438675,
-0.045584533363580704,
-0.008375098928809166,
0.034029629081487656,
0.0022293906658887863,
-0.011466697789728642,
0.007947303354740143,
0.018223227933049202,
-0.047948434948921204,
-0.0088425874710083,
0.03057197853922844,
-0.07130521535873413,
-0.021486826241016388,
-0.015956349670886993,
-0.003305495949462056,
0.03852810338139534,
-0.005636322777718306,
-0.04438493773341179,
0.055463533848524094,
-0.004125806037336588,
0.07190501689910889,
-0.07705620676279068,
0.06251996010541916,
0.0012271571904420853,
0.0036318558268249035,
0.047983717173337936,
0.006147914100438356,
-0.019616873934864998,
0.059979647397994995,
0.00004482624353840947,
0.03586430102586746,
-0.04745448753237724,
0.0032349317334592342,
0.02014610543847084,
0.03597014769911766,
-0.025985300540924072,
-0.08594730496406555,
0.004326472990214825,
0.02501504123210907,
-0.02383309043943882,
-0.026990842074155807,
-0.02963700331747532,
-0.06548365950584412,
-0.002553545404225588,
-0.03346511721611023,
-0.03986882418394089,
0.07215198874473572,
-0.007814995013177395,
-0.0504181869328022,
0.029372386634349823,
0.01331900991499424,
-0.009235101751983166,
-0.05701594799757004,
-0.05140608549118042,
0.020269593223929405,
0.018981793895363808,
0.012930906377732754,
0.007801764644682407,
0.027643561363220215,
0.0018490049988031387,
-0.013592447154223919,
-0.04279724135994911,
-0.017870407551527023,
-0.037222664803266525,
0.04004523530602455,
0.0010270412312820554,
-0.042585551738739014,
-0.030183875933289528,
0.00533201452344656,
0.012481058947741985,
-0.025438427925109863,
-0.05003008246421814,
0.047595616430044174,
-0.06015605852007866,
-0.006681556347757578,
-0.025579554960131645,
0.06777700036764145,
0.02820807509124279,
0.03013095259666443,
0.024697501212358475,
-0.08926382660865784,
0.03817528113722801,
-0.03517629951238632,
0.015515323728322983,
0.013989371247589588,
0.08284247666597366,
-0.037363793700933456,
0.03381793573498726,
0.11509036272764206,
-0.03563496842980385,
0.06731833517551422,
0.024750424548983574,
0.013213163241744041,
0.02210426516830921,
0.011272645555436611,
-0.029760489240288734,
-0.030448492616415024,
0.044349655508995056,
-0.02118692919611931,
-0.0346117839217186,
-0.029619362205266953,
-0.025244375690817833,
0.0014609013451263309,
-0.027925819158554077,
0.04000995308160782,
-0.001983518246561289,
-0.027696484699845314,
-0.0330064482986927,
-0.0027409817557781935,
-0.014474499970674515,
-0.019228769466280937,
-0.0333239883184433,
-0.007788533810526133,
0.036340609192848206,
-0.01615922339260578,
-0.014650911092758179,
0.04883049055933952,
-0.0005121423746459186,
-0.012251725420355797,
-0.02482098899781704,
0.02462693862617016,
-0.004286780953407288,
0.016873685643076897,
0.014924347400665283,
0.006408119574189186,
0.0009619897464290261,
-0.06657741218805313,
0.019175846129655838,
-0.008560330606997013,
0.028190433979034424,
0.10048355162143707,
-0.05468732491135597,
-0.024697501212358475,
0.016247428953647614,
-0.007978174835443497,
0.015665272250771523,
-0.09046342223882675,
-0.009887821041047573,
-0.0027079046703875065,
-0.003971446771174669,
-0.0411742627620697,
0.06446047872304916,
-0.043079499155282974,
-0.017385277897119522,
0.015127220191061497,
0.04681940749287605,
-0.018223227933049202,
0.04456134885549545,
-0.01852312684059143,
0.016600249335169792,
-0.0012205417733639479,
-0.026214634999632835,
-0.042973652482032776,
-0.031471673399209976,
-0.020075540989637375,
0.03445301577448845,
-0.030201517045497894,
0.012154699303209782,
0.01626507006585598,
-0.025085605680942535,
0.0007536045741289854,
0.025720683857798576,
-0.035758454352617264,
-0.034276604652404785,
-0.0011257209116593003,
0.03563496842980385,
-0.03715210035443306,
0.008375098928809166,
-0.03021915815770626,
0.027096688747406006,
-0.03778717666864395,
0.016282711178064346,
0.017482303082942963,
0.01241049449890852,
0.010231822729110718,
0.013574806042015553,
-0.03694040700793266,
0.04565509781241417,
0.02083410695195198,
0.002575596561655402,
-0.014492141082882881,
-0.006672735791653395,
-0.015559426508843899,
0.0002965905296150595,
-0.010134796611964703,
-0.023568473756313324,
-0.05317019298672676,
0.03549383953213692,
0.019528668373823166,
-0.033341627568006516,
0.011272645555436611,
0.03286531940102577,
-0.03986882418394089,
-0.008084021508693695,
0.0665421262383461,
-0.057368770241737366,
0.006033246871083975,
-0.03316521644592285,
-0.007012326270341873,
-0.016256248578429222,
-0.01650322414934635,
0.04463191330432892,
0.011546081863343716,
-0.010108334943652153,
-0.008141355589032173,
0.08100780844688416,
0.05313491076231003,
-0.027502432465553284,
0.042585551738739014,
0.0031312904320657253,
0.007532738149166107,
-0.0333239883184433,
-0.0010347592178732157,
0.031665727496147156,
-0.038986772298812866,
0.022121906280517578,
-0.02215718850493431,
0.07296347618103027,
0.039092618972063065,
0.026867354288697243,
0.017605790868401527,
0.008286894299089909,
0.023233292624354362,
-0.010514079593122005,
-0.040856726467609406,
0.024044781923294067,
0.03312993422150612,
-0.04674884304404259,
-0.012613367289304733,
-0.005962682422250509,
-0.07282234728336334,
0.001110836281441152,
0.03990410640835762,
-0.07938482612371445,
0.0033562141470611095,
-0.05662784352898598,
0.021169288083910942,
-0.004200780298560858,
0.02727309800684452,
-0.016794301569461823,
0.03170100972056389,
0.030695466324687004,
-0.03307701274752617,
-0.02108108252286911,
0.022721702232956886,
-0.07381024956703186,
0.04113898053765297,
0.01186362188309431,
-0.06717720627784729,
0.015215425752103329,
-0.03434716910123825,
0.05878005549311638,
-0.01645912043750286,
0.032653626054525375,
-0.003748727962374687,
-0.031330544501543045,
0.00047493076999671757,
-0.02196313627064228,
0.034964606165885925,
-0.022439444437623024,
0.014342192560434341,
0.061920166015625,
-0.07215198874473572,
-0.03316521644592285,
0.0030982133466750383,
-0.06379012018442154,
-0.02171616069972515,
0.05680425465106964,
-0.007607712876051664,
-0.03637589141726494,
0.02944295108318329,
-0.02446816861629486,
-0.048089563846588135,
-0.05941513180732727,
-0.011581364087760448,
0.016688454896211624,
-0.06117923930287361,
-0.001777338096871972,
-0.038845643401145935,
0.038210563361644745,
-0.0018026971956714988,
-0.01857605017721653,
-0.019475745037198067,
0.0037906256038695574,
-0.04943028464913368,
-0.03595250844955444,
-0.02122221142053604,
-0.006615402176976204,
0.04163293167948723,
0.03743435814976692,
-0.02556191384792328,
0.005812733434140682,
-0.022351238876581192,
-0.04840710386633873,
0.020904671400785446,
0.039445437490940094,
0.015003732405602932,
0.028560897335410118,
0.0011213107500225306,
0.01488906517624855,
-0.0526762455701828,
0.0330064482986927,
0.06551894545555115,
-0.009614384733140469,
0.019422821700572968,
0.01172249298542738,
0.045619815587997437,
-0.045972637832164764,
0.011281466111540794,
-0.03307701274752617,
-0.0308542363345623,
-0.05077100917696953,
0.05327603965997696,
0.001401362707838416,
0.026267558336257935,
0.041844625025987625,
0.08432433009147644,
-0.0981549322605133,
0.006787403021007776,
-0.053593579679727554,
-0.03189506009221077,
0.04131539165973663,
0.03669343143701553,
-0.036834560334682465,
-0.052217576652765274,
0.006077349651604891,
-0.0120400320738554,
-0.00399349769577384,
-0.027255456894636154,
-0.04456134885549545,
0.011784236878156662,
-0.0008870151941664517,
-0.02884315513074398,
0.003477496560662985,
0.007343096658587456,
0.005614271387457848,
0.017676355317234993,
0.07246952503919601,
0.014994911849498749,
0.08248965442180634,
0.048230692744255066,
-0.045972637832164764,
0.03662286698818207,
0.0020794414449483156,
-0.010267104022204876,
0.02762592025101185,
-0.09074568003416061,
-0.08827593177556992,
-0.012489879503846169,
0.004416883457452059,
-0.02270406112074852,
-0.030483774840831757,
-0.016079837456345558,
-0.002335237106308341,
0.010028949938714504,
-0.018699537962675095,
0.01774691976606846,
0.046219609677791595,
-0.039833541959524155,
0.025826530531048775,
-0.0026130839250981808,
-0.012648649513721466,
-0.026073506101965904,
-0.0335356779396534,
0.009843718260526657,
0.0030078028794378042,
-0.033200498670339584,
0.03849282115697861,
-0.000145263213198632,
0.10831619054079056,
-0.06495442986488342,
-0.0310130063444376,
0.02058713138103485,
0.00021086595370434225,
-0.02649689093232155,
-0.05327603965997696,
0.01191654521971941,
0.02206898294389248,
0.017455842345952988,
-0.047242794185876846,
0.003135700710117817,
0.026549814268946648,
0.004244883079081774,
-0.014933167956769466,
-0.060226622968912125,
-0.04029221087694168,
0.0034400091972202063,
0.003704625414684415,
0.012939726933836937,
-0.047842588275671005,
-0.013874704018235207,
0.0154535798355937,
0.018946511670947075,
-0.00950853805989027,
0.0194051805883646,
-0.0388103611767292,
-0.02171616069972515,
0.011149157769978046,
0.03588194400072098,
0.01959923282265663,
-0.039586566388607025,
-0.001982415560632944,
0.019193487241864204,
0.0574040524661541,
0.0088955108076334,
-0.027872895821928978,
-0.005883297882974148,
-0.046713560819625854,
-0.052464552223682404,
-0.03115413524210453,
-0.01799389347434044,
-0.03434716910123825,
-0.021239852532744408,
-0.04318534582853317,
-0.020904671400785446,
-0.002293339464813471,
0.03524686396121979,
0.010778695344924927,
0.009243922308087349,
0.012992650270462036,
-0.02256293222308159,
0.06054416298866272,
-0.019934412091970444,
0.037469640374183655,
0.012560443952679634,
0.08919326215982437,
-0.012745675630867481,
-0.025967659428715706,
0.0389162078499794,
-0.030607260763645172,
-0.006421350408345461,
0.013248445466160774,
0.011581364087760448,
0.007850277237594128,
-0.045619815587997437,
0.031136494129896164,
-0.015568247064948082,
-0.08622956275939941,
-0.05962682515382767,
0.050100646913051605,
0.0023286216892302036,
-0.024538733065128326,
0.00099837442394346,
-0.02693791873753071,
0.00898812711238861,
0.00016579852672293782,
0.005018885247409344,
-0.04187990725040436,
-0.025720683857798576,
-0.04180934280157089,
0.023550832644104958,
-0.09575574100017548,
0.04442021995782852,
0.071587473154068,
0.040468621999025345,
-0.03627004474401474,
-0.06834151595830917,
-0.019987335428595543,
-0.0047939615324139595,
0.010452335700392723,
0.0007414763676933944,
0.06989393383264542,
0.019969694316387177,
0.0007850277470424771,
0.020657695829868317,
0.028137510642409325,
0.03487640246748924,
-0.013336651027202606,
0.008397150784730911,
0.040221646428108215,
-0.024556374177336693,
0.006341965869069099,
-0.05013592913746834,
0.022633496671915054,
-0.019422821700572968,
-0.028190433979034424,
0.003753138240426779,
0.018346715718507767,
-0.008763203397393227,
0.013371933251619339,
-0.07381024956703186,
0.012110596522688866,
0.002037544036284089,
0.033588603138923645,
0.05440506711602211,
0.028243357315659523,
-0.03955128416419029,
0.03979825973510742,
0.033729732036590576,
-0.022933395579457283,
0.004780730698257685,
0.01473911665380001,
-0.002111415844410658,
0.05112382769584656,
0.01892887055873871,
-0.052358705550432205,
-0.021098723635077477,
0.01388352457433939,
-0.04163293167948723,
0.004696935880929232,
-0.01616804301738739,
0.1055641770362854,
-0.02933710440993309,
-0.07522153854370117,
0.020710619166493416,
-0.019175846129655838,
-0.03529978543519974,
-0.0024102116003632545
]
|
41,728 | comm | DummyComm | null | class DummyComm(BaseComm):
def publish_msg(
self,
msg_type: str,
data: MaybeDict = None,
metadata: MaybeDict = None,
buffers: BuffersType = None,
**keys: Any,
) -> None:
pass
| (target_name: 'str' = 'comm', data: 'MaybeDict' = None, metadata: 'MaybeDict' = None, buffers: 'BuffersType' = None, comm_id: 'str | None' = None, primary: 'bool' = True, target_module: 'str | None' = None, topic: 'bytes | None' = None, _open_data: 'MaybeDict' = None, _close_data: 'MaybeDict' = None, **kwargs: 't.Any') -> 'None' | [
-0.05308615788817406,
-0.043840233236551285,
-0.08110097050666809,
-0.014907756820321083,
0.014137263409793377,
-0.005367484875023365,
-0.014145920053124428,
0.03000597283244133,
0.04609111323952675,
-0.03670667111873627,
0.003328706370666623,
0.013782316818833351,
-0.01608514040708542,
0.012578960508108139,
-0.08574124425649643,
0.008505732752382755,
0.0468183197081089,
0.037226106971502304,
0.008691863156855106,
-0.046610549092292786,
0.027356859296560287,
0.037503138184547424,
0.00970475934445858,
0.025781242176890373,
-0.012630904093384743,
0.052774496376514435,
0.034196075052022934,
-0.022889725863933563,
0.02836109884083271,
-0.009522957727313042,
-0.04145083576440811,
-0.051978033035993576,
0.041485466063022614,
0.05173562839627266,
-0.01899397186934948,
0.04252433404326439,
0.012128784321248531,
0.036845188587903976,
-0.10139352083206177,
-0.021417995914816856,
0.030334947630763054,
0.0014609082136303186,
0.04415189474821091,
-0.04442892596125603,
0.05699922889471054,
0.029919400811195374,
0.018232135102152824,
0.10991223901510239,
-0.00902083795517683,
0.06115470081567764,
-0.04297450929880142,
-0.005449728574603796,
0.010440624319016933,
-0.0226992666721344,
-0.03840348869562149,
0.03726073354482651,
0.056791454553604126,
0.056791454553604126,
-0.040100306272506714,
0.03416144475340843,
-0.05024658516049385,
0.06714550405740738,
0.028811274096369743,
-0.0337458960711956,
0.007003702223300934,
-0.038888294249773026,
0.0076529947109520435,
-0.008064213208854198,
0.0070686317048966885,
0.0398925356566906,
0.037364620715379715,
-0.02022329904139042,
-0.05287838354706764,
0.04761478677392006,
0.056756824254989624,
0.011860410682857037,
-0.004107857588678598,
0.02093319222331047,
0.020015524700284004,
0.01321093924343586,
0.057172372937202454,
-0.03649889677762985,
-0.05066213384270668,
0.01011164952069521,
0.006293809041380882,
0.03135650232434273,
0.009219953790307045,
0.01114185992628336,
-0.029625054448843002,
-0.004436832387000322,
-0.0015225909883156419,
-0.0056228735484182835,
-0.017297154292464256,
0.01953071914613247,
0.025989016517996788,
-0.05014269798994064,
-0.0358063206076622,
0.007912712171673775,
-0.016691146418452263,
0.03604872152209282,
-0.05107767879962921,
0.01390351727604866,
-0.026179475709795952,
-0.033105261623859406,
-0.012414473108947277,
-0.0839405432343483,
-0.0057051172479987144,
0.014345036819577217,
-0.03440384939312935,
0.03760702535510063,
-0.014293093234300613,
0.0018959342269226909,
-0.05180488899350166,
-0.033520810306072235,
-0.0033265422098338604,
0.043286170810461044,
-0.002835244173184037,
-0.007176846731454134,
-0.015600335784256458,
-0.0017498433589935303,
-0.05135471001267433,
0.007847782224416733,
-0.0034693866036832333,
-0.05634127929806709,
0.02065616101026535,
0.046160370111465454,
0.030733181163668633,
-0.0025798557326197624,
0.01984238065779209,
-0.03881903737783432,
-0.017582841217517853,
0.0004969793371856213,
0.019357575103640556,
0.010085677728056908,
-0.006826228927820921,
0.019305631518363953,
0.02217983268201351,
-0.022491494193673134,
0.01705475151538849,
-0.005016867071390152,
0.014353693462908268,
0.003664174349978566,
0.0017844723770394921,
0.032412685453891754,
0.007631351705640554,
0.0054930150508880615,
0.026127532124519348,
-0.04886142909526825,
-0.007479850202798843,
0.021643085405230522,
-0.012544332072138786,
-0.030940953642129898,
-0.05668756738305092,
0.022370291873812675,
0.0018461551517248154,
0.02946922369301319,
0.0168729480355978,
-0.013176309876143932,
-0.03514837101101875,
0.011237089522182941,
-0.002817929722368717,
-0.03189324960112572,
0.05391725152730942,
0.009176667779684067,
-0.00012695022451225668,
-0.005748403258621693,
0.006960416212677956,
-0.051146939396858215,
0.02314944379031658,
0.04470595717430115,
-0.006648755632340908,
0.012890621088445187,
-0.053882624953985214,
-0.05886919051408768,
0.05066213384270668,
0.0032139981631189585,
-0.04899994283914566,
-0.007432235404849052,
-0.019305631518363953,
-0.047268498688936234,
-0.013366769067943096,
-0.00278546498157084,
-0.03829960152506828,
0.03345155343413353,
0.011496806517243385,
0.04872291162610054,
0.0316162183880806,
0.004540719091892242,
-0.012414473108947277,
-0.047822561115026474,
-0.008146457374095917,
0.024188311770558357,
0.010267479345202446,
0.015583020634949207,
0.018128247931599617,
-0.0076659806072711945,
0.014197863638401031,
-0.0024283542297780514,
-0.010769599117338657,
0.04359782859683037,
0.022352978587150574,
-0.029019048437476158,
0.01911517232656479,
0.04297450929880142,
0.0032356411684304476,
-0.028707386925816536,
0.0482034794986248,
-0.014881785027682781,
-0.027166400104761124,
-0.06028897687792778,
0.020015524700284004,
-0.025261808186769485,
0.013643800280988216,
0.01018090732395649,
0.030040601268410683,
-0.007869425229728222,
-0.04238581657409668,
-0.02560809813439846,
0.01695086434483528,
-0.011713237501680851,
0.08054690808057785,
0.015340618789196014,
0.021798914298415184,
-0.0010772845707833767,
0.026629650965332985,
0.014812527224421501,
0.05055824667215347,
-0.04636814445257187,
-0.0031793692614883184,
-0.032256852835416794,
0.007761210203170776,
0.03646427020430565,
-0.02380739338696003,
0.047129981219768524,
0.003458564868196845,
-0.0880267545580864,
-0.03360738232731819,
-0.04359782859683037,
-0.026750853285193443,
0.005796018056571484,
0.053190045058727264,
0.022318348288536072,
0.025711985304951668,
0.04695683717727661,
0.010968714952468872,
-0.04020419344305992,
0.014197863638401031,
0.03784942626953125,
0.008103171363472939,
0.05405576899647713,
-0.0007115164189599454,
-0.061050813645124435,
-0.03892292454838753,
-0.027478059753775597,
-0.0019240702968090773,
-0.01671711914241314,
-0.06489462405443192,
-0.021712342277169228,
-0.006211565341800451,
-0.03386709839105606,
-0.0688423216342926,
0.04435966536402702,
-0.08006209880113602,
0.1032634899020195,
0.08103170990943909,
-0.016743090003728867,
-0.029521167278289795,
-0.0027876293752342463,
0.002525747986510396,
0.044948358088731766,
0.030075231567025185,
0.03691444545984268,
0.027772406116127968,
-0.012180727906525135,
-0.014163234271109104,
0.0026880712248384953,
0.01711535081267357,
-0.022820468991994858,
0.028014808893203735,
0.029538482427597046,
0.06700699031352997,
-0.028724702075123787,
0.022508807480335236,
-0.02079467661678791,
0.034334588795900345,
0.008942922577261925,
0.02365156263113022,
-0.01804167591035366,
-0.043701715767383575,
-0.06766494363546371,
0.010821542702615261,
0.05945788323879242,
0.0004320500884205103,
0.03249925747513771,
-0.0038351546972990036,
0.03272434324026108,
-0.05325930193066597,
0.027460746467113495,
0.0660720095038414,
-0.03109678439795971,
0.016543973237276077,
0.007804496213793755,
-0.012475074268877506,
-0.032533884048461914,
0.019773121923208237,
-0.014050690457224846,
-0.01610245555639267,
0.037364620715379715,
-0.06576035171747208,
-0.014873127453029156,
0.011063944548368454,
0.03204907849431038,
-0.026872053742408752,
0.028672758489847183,
0.03539077192544937,
0.037918683141469955,
0.07666846364736557,
0.023201387375593185,
0.028101380914449692,
0.09162816405296326,
-0.0057743750512599945,
-0.05765717849135399,
-0.022093260660767555,
0.02287241257727146,
-0.014345036819577217,
-0.0054583861492574215,
-0.03270702809095383,
-0.029902085661888123,
0.009453698992729187,
-0.009791331365704536,
-0.028049437329173088,
0.04719923809170723,
0.016751747578382492,
-0.06389039009809494,
-0.03746850788593292,
-0.02176428586244583,
-0.025365695357322693,
-0.04016956686973572,
0.027633890509605408,
-0.009990448132157326,
-0.04210878536105156,
-0.019461462274193764,
-0.008968894369900227,
0.03622186556458473,
0.03594483435153961,
-0.0071855043061077595,
0.01845722272992134,
-0.012146099470555782,
0.05454057455062866,
-0.01818019151687622,
0.01953071914613247,
-0.008761120960116386,
0.04255896061658859,
0.04339005798101425,
0.08823452889919281,
0.014362351037561893,
0.009168011136353016,
-0.00684787193313241,
-0.012812706641852856,
-0.018924713134765625,
0.08075467497110367,
0.03899218142032623,
0.013635143637657166,
-0.0025452268309891224,
-0.08234760910272598,
0.030646607279777527,
0.005475700367242098,
0.033538125455379486,
0.05755329132080078,
0.0071508754044771194,
-0.00716386130079627,
-0.049484748393297195,
-0.07597588747739792,
0.08774971961975098,
-0.057345516979694366,
0.01843990758061409,
-0.05204728990793228,
0.01911517232656479,
-0.05270523950457573,
-0.013886203058063984,
-0.006367395631968975,
-0.0605660080909729,
0.011384262703359127,
-0.005869604647159576,
0.0030841396655887365,
0.023980537429451942,
-0.006406353320926428,
0.04172786697745323,
-0.03539077192544937,
0.030109860002994537,
0.031598903238773346,
-0.020673474296927452,
-0.050869908183813095,
0.014249807223677635,
-0.05551018565893173,
-0.0017130501801148057,
0.04917309060692787,
-0.005549286957830191,
-0.05935399606823921,
-0.08241686969995499,
0.03608335182070732,
-0.08227834850549698,
-0.027183715254068375,
0.026889368891716003,
0.03384978324174881,
0.031304556876420975,
0.01328019704669714,
-0.01368708722293377,
0.02145262621343136,
0.05589110404253006,
0.03674130141735077,
0.025365695357322693,
-0.03823034465312958,
-0.03549465909600258,
0.028880532830953598,
-0.029244136065244675,
-0.002690235385671258,
-0.020154040306806564,
0.012128784321248531,
-0.00943638477474451,
-0.004040763713419437,
-0.038472749292850494,
0.04318228363990784,
0.0398925356566906,
0.03248194232583046,
0.00271620717830956,
-0.03906143829226494,
-0.016189027577638626,
0.05298227071762085,
-0.02217983268201351,
-0.031062155961990356,
0.004510418977588415,
-0.05177025869488716,
-0.04983104020357132,
0.011392920278012753,
0.052635982632637024,
0.0144662382081151,
-0.045086875557899475,
0.012371187098324299,
0.05426354333758354,
-0.0399271622300148,
0.03809183090925217,
0.022318348288536072,
-0.0728592798113823,
-0.0010486074024811387,
0.014933728612959385,
0.01389486063271761,
0.013314825482666492,
-0.014544152654707432,
0.023184072226285934,
0.05398651212453842,
0.038472749292850494,
0.046610549092292786,
-0.017634784802794456,
0.029244136065244675,
-0.13442952930927277,
0.000991794397123158,
-0.003917398396879435,
-0.012111470103263855,
-0.04848051071166992,
0.03056003525853157,
-0.00790405459702015,
-0.11940056830644608,
-0.03868051990866661,
0.005138068459928036,
0.07777658849954605,
-0.025677355006337166,
-0.02931339479982853,
-0.03402293100953102,
0.01189503911882639,
0.06240134313702583,
0.04075825586915016,
0.031443074345588684,
0.004395710304379463,
-0.01314168144017458,
-0.020327184349298477,
0.02822258323431015,
0.015539734624326229,
-0.05066213384270668,
-0.017539555206894875,
0.01086482871323824,
-0.03424801677465439,
0.028568871319293976,
0.024309512227773666,
-0.04446355253458023,
0.014414294622838497,
0.04086214303970337,
-0.01956534944474697,
0.01604185439646244,
-0.024551915004849434,
-0.016890263184905052,
0.05132008343935013,
0.055267781019210815,
-0.02230103500187397,
0.05426354333758354,
0.0015756165375933051,
-0.02560809813439846,
0.013548570685088634,
0.007592394016683102,
-0.05544092506170273,
-0.0120508698746562,
-0.02134873904287815,
-0.01913248747587204,
-0.05949250981211662,
0.014821184799075127,
-0.10097797960042953,
0.011185145936906338,
0.030490778386592865,
-0.01639680191874504,
-0.0018851127242669463,
-0.030317632481455803,
0.014440266415476799,
-0.03291480243206024,
-0.034611620008945465,
0.002083146944642067,
-0.006860857829451561,
-0.01604185439646244,
-0.038472749292850494,
-0.08560273051261902,
-0.0398925356566906,
0.07888471335172653,
0.041381578892469406,
0.02217983268201351,
0.010708997957408428,
0.011955640278756618,
-0.050869908183813095,
-0.05672219768166542,
-0.0344557911157608,
0.003454236313700676,
0.04938086122274399,
-0.015020300634205341,
0.014284435659646988,
-0.013375426642596722,
-0.0037572395522147417,
0.03913069888949394,
0.015548392198979855,
-0.046195000410079956,
0.02396322414278984,
-0.056237392127513885,
-0.000965822662692517,
-0.04075825586915016,
-0.01605916954576969,
-0.004127336200326681,
-0.09612992405891418,
0.0061985794454813,
0.017678070813417435,
0.011401576921343803,
0.037641651928424835,
0.0058566187508404255,
-0.03549465909600258,
-0.08359424769878387,
-0.06596812605857849,
-0.025400323793292046,
0.03885366767644882,
-0.027564633637666702,
0.030889010056853294,
-0.0011092080967500806,
-0.06278225779533386,
0.026941312476992607,
0.010440624319016933,
-0.02025792747735977,
0.07999283820390701,
0.009548928588628769,
0.03646427020430565,
-0.007994955405592918,
0.000644422834739089,
0.011877724900841713,
-0.0082676587626338,
-0.019582662731409073,
-0.003246462671086192,
-0.019928952679038048,
0.010007762350142002,
-0.016492031514644623,
0.0020679966546595097,
0.035304199904203415,
-0.004791778977960348,
0.02093319222331047,
0.008046898990869522,
-0.036949075758457184,
-0.05658368021249771,
0.011782495304942131,
0.022768525406718254,
0.014059348031878471,
-0.05931936576962471,
0.002156733302399516,
0.013600514270365238,
-0.01914980076253414,
-0.03263777121901512,
0.01578213833272457,
-0.01883814111351967,
0.005886918865144253,
-0.012267300859093666,
-0.018058989197015762,
-0.009600872173905373,
0.040827516466379166,
-0.0016773390816524625,
0.0009863836457952857,
-0.00215348694473505,
-0.00024700170615687966,
-0.02929607965052128,
-0.03178936243057251,
0.0578303225338459,
-0.015340618789196014,
-0.006956087425351143,
0.0715433806180954,
-0.018336022272706032,
-0.07556033879518509,
0.05997731536626816,
0.028430355712771416,
0.017496269196271896,
-0.002214087639003992,
0.026802796870470047,
-0.009332498535513878,
0.0536748506128788,
0.008536032401025295,
-0.03260314464569092,
-0.021123651415109634,
0.002882858971133828,
0.0646175965666771,
0.018197504803538322,
0.032135650515556335,
-0.017002807930111885,
-0.04051585495471954,
-0.035286884754896164,
-0.012925250455737114,
0.008899636566638947,
-0.02643919177353382,
-0.09322109818458557,
-0.016647860407829285,
-0.024032481014728546,
-0.0158081091940403,
0.037918683141469955,
0.045225389301776886,
0.03618723899126053,
0.019894324243068695,
-0.05239357799291611,
-0.047961074858903885,
-0.009687445126473904,
0.014093976467847824,
0.03933846950531006,
0.020275242626667023,
0.02682011015713215,
-0.010561825707554817,
-0.1072804406285286,
-0.01157472189515829,
0.053467076271772385,
0.010830199345946312,
-0.030075231567025185,
0.035286884754896164,
-0.045502420514822006,
-0.013392740860581398,
0.0275300033390522,
0.0019630277529358864,
0.025002092123031616,
0.06382112950086594,
0.07673772424459457,
-0.03305331990122795,
0.01659591682255268,
0.0337112694978714,
-0.011695923283696175,
-0.014639382250607014,
-0.03319183364510536,
0.0633709505200386,
-0.006726670544594526,
-0.016154399141669273,
-0.00753179332241416,
0.006579497829079628,
-0.1018783301115036,
-0.015816766768693924,
0.018007047474384308,
0.014076662249863148,
0.03975401818752289,
0.04515613242983818,
-0.033087946474552155,
0.03608335182070732,
-0.013401398435235023,
0.025279123336076736,
0.035702433437108994,
0.005298227071762085,
0.010007762350142002,
0.03343423828482628,
-0.018232135102152824,
-0.013548570685088634,
0.003142575966194272,
-0.0019684385042637587,
0.015712879598140717,
0.010674369521439075,
-0.0031230971217155457,
-0.0398925356566906,
-0.0743136927485466,
0.07244373112916946,
-0.03194519504904747,
0.01913248747587204,
-0.040377337485551834,
-0.04868828505277634,
-0.0412430614233017,
-0.030611978843808174,
-0.06988119333982468,
-0.007484178524464369,
-0.02891516126692295,
0.009531614370644093,
0.014215177856385708,
-0.003077646717429161,
-0.010440624319016933,
0.007280733902007341,
0.03781479597091675,
-0.01691623590886593,
-0.004592662677168846,
0.022093260660767555,
-0.022231776267290115,
-0.042870622128248215,
0.02314944379031658,
0.02590244449675083,
-0.044394295662641525,
0.009514300152659416,
-0.014258463867008686,
-0.006306794937700033,
0.09419070184230804,
-0.028516927734017372,
0.023201387375593185,
-0.03698370233178139,
0.010423310101032257,
0.04075825586915016,
-0.03881903737783432,
0.04636814445257187,
-0.06278225779533386,
-0.012656875886023045,
-0.03042151965200901,
0.06163950636982918,
0.030785124748945236,
0.054159656167030334,
0.0008971058414317667,
-0.0495540052652359,
0.04969252273440361,
0.03701833263039589,
-0.036014094948768616,
0.02392859384417534,
-0.04276673495769501,
0.02465580217540264,
0.051389340311288834,
-0.06423667818307877,
0.009081438183784485,
0.04460207000374794,
-0.020569587126374245,
0.031304556876420975,
-0.02959042601287365,
0.020413758233189583,
0.035979464650154114,
0.008168100379407406,
-0.012085498310625553,
0.03222222626209259,
0.03642963990569115,
-0.06011583283543587,
-0.017262523993849754,
0.027218343690037727,
-0.03480207920074463,
-0.03494059666991234,
0.06032360717654228,
-0.009514300152659416,
-0.0288978461176157,
-0.03339960798621178,
0.010674369521439075,
0.03341692313551903,
0.00303003191947937,
0.009185325354337692,
0.049346234649419785,
0.020292555913329124,
0.06122395768761635
]
|
41,737 | comm | publish_msg | null | def publish_msg(
self,
msg_type: str,
data: MaybeDict = None,
metadata: MaybeDict = None,
buffers: BuffersType = None,
**keys: Any,
) -> None:
pass
| (self, msg_type: str, data: Optional[Dict[str, Any]] = None, metadata: Optional[Dict[str, Any]] = None, buffers: Optional[List[bytes]] = None, **keys: Any) -> NoneType | [
-0.055414509028196335,
-0.011086350306868553,
-0.06762156635522842,
-0.006870778277516365,
0.046414393931627274,
0.004913856741040945,
0.0059785256162285805,
0.010224269703030586,
0.010353581979870796,
-0.013405345380306244,
0.009707022458314896,
0.03606943041086197,
0.03491424396634102,
-0.0072069899179041386,
-0.04420746862888336,
0.013301895931363106,
0.0043082451447844505,
-0.00005078190588392317,
0.026655517518520355,
-0.030517635866999626,
0.007469924166798592,
0.004088414832949638,
0.03675909712910652,
-0.0030517636332660913,
0.005944042466580868,
0.022776156663894653,
0.028345193713903427,
-0.004465574864298105,
-0.0029095204081386328,
0.029707280918955803,
-0.02762104757130146,
-0.053621381521224976,
0.05227653682231903,
0.03403492271900177,
-0.008245795965194702,
0.04858683422207832,
-0.008758733980357647,
-0.0008879425004124641,
-0.03610391542315483,
-0.026621034368872643,
0.05417311564087868,
0.03110385127365589,
0.0034957348834723234,
-0.045414380729198456,
0.061587002128362656,
0.009448397904634476,
0.00802596565335989,
0.12007051706314087,
-0.031396958976984024,
0.04365573823451996,
-0.062483567744493484,
-0.016776079311966896,
0.005344896577298641,
-0.020327849313616753,
-0.0035431492142379284,
0.06503532081842422,
0.060345608741045,
0.03208662196993828,
-0.0033233189024031162,
0.02865554206073284,
0.00439445348456502,
0.03301766887307167,
0.01836230605840683,
-0.01642262563109398,
-0.004599197302013636,
-0.024845149368047714,
0.02441410906612873,
-0.035655632615089417,
-0.03658667951822281,
0.016862286254763603,
0.05262136831879616,
-0.032810769975185394,
-0.04713854193687439,
0.05044892802834511,
0.03005211241543293,
0.03441423922777176,
-0.008784596808254719,
0.028672784566879272,
0.021620968356728554,
0.04820752143859863,
0.0831734910607338,
-0.06724224984645844,
-0.05789729952812195,
-0.02091406285762787,
0.05558692663908005,
0.03720737621188164,
-0.02196580171585083,
-0.001480622566305101,
-0.05034548044204712,
-0.0467592254281044,
0.025241706520318985,
-0.028603818267583847,
-0.010043233633041382,
0.01400018110871315,
-0.0036013396456837654,
-0.05327655002474785,
-0.04100053012371063,
-0.022517532110214233,
-0.013655348680913448,
0.062483567744493484,
0.0025625331327319145,
-0.002091621980071068,
0.018707137554883957,
-0.024327900260686874,
0.019965775310993195,
-0.0655180886387825,
-0.009638055227696896,
0.028983132913708687,
-0.08572524785995483,
0.03253490477800369,
0.0290176160633564,
-0.02272443100810051,
-0.06000077724456787,
-0.01887955516576767,
-0.010827726684510708,
0.05120755732059479,
-0.01227602083235979,
-0.008965632878243923,
0.0017715746071189642,
0.018534721806645393,
-0.056311074644327164,
-0.005086272489279509,
0.004030224401503801,
-0.03562115132808685,
-0.026638275012373924,
0.03758669272065163,
0.043862637132406235,
-0.0511041097342968,
-0.007844928652048111,
-0.05762143433094025,
-0.05200067162513733,
0.044138502329587936,
0.0014515273505821824,
0.012224296107888222,
-0.0039849653840065,
0.024965839460492134,
0.03489700332283974,
-0.033310774713754654,
0.03827635571360588,
-0.004125053528696299,
0.012569127604365349,
0.029190031811594963,
0.011896705254912376,
0.005513002164661884,
0.032414212822914124,
-0.0311900582164526,
0.0542420819401741,
-0.0022845123894512653,
0.02041405625641346,
0.0024612387642264366,
0.02389685995876789,
-0.047345440834760666,
-0.02003474161028862,
0.005814730189740658,
0.03194868937134743,
0.011284628883004189,
0.02775898016989231,
-0.024362383410334587,
-0.05420759692788124,
0.018000232055783272,
-0.01746574230492115,
0.0030646948143839836,
0.03686254471540451,
-0.0025668435264378786,
0.015198471955955029,
-0.0027327940333634615,
0.05155239254236221,
-0.0022974435705691576,
0.03286249563097954,
0.03941430151462555,
-0.00394401652738452,
-0.011413941159844398,
-0.07710444182157516,
-0.03339698538184166,
0.04558679461479187,
-0.004607818089425564,
-0.0487937331199646,
-0.009181153029203415,
-0.018327822908759117,
-0.03441423922777176,
-0.0395522341132164,
-0.000003910509803972673,
-0.014095010235905647,
0.028690027073025703,
-0.0511041097342968,
0.050276510417461395,
0.002162743592634797,
0.010267374105751514,
-0.0029095204081386328,
-0.027672771364450455,
-0.021138204261660576,
0.011732910759747028,
-0.024983081966638565,
0.0068449159152805805,
0.008237175643444061,
0.011758772656321526,
-0.0065690502524375916,
-0.0233796127140522,
-0.008547523990273476,
0.04613852873444557,
0.05096617713570595,
-0.044104017317295074,
-0.008215623907744884,
0.030414186418056488,
0.0018362306291237473,
-0.042207442224025726,
0.023534787818789482,
-0.002661672420799732,
0.005323344841599464,
-0.05393173173069954,
0.015698479488492012,
-0.021655453369021416,
0.018207132816314697,
0.026931382715702057,
0.019707150757312775,
-0.06427669525146484,
-0.04358677193522453,
-0.03803497552871704,
0.0032198692206293344,
-0.022948572412133217,
0.09303568303585052,
0.03415561467409134,
-0.006038871128112078,
0.044897131621837616,
0.031052125617861748,
0.016741596162319183,
0.022034768015146255,
-0.028603818267583847,
-0.01953473500907421,
-0.041035015136003494,
0.013819144107401371,
0.03686254471540451,
-0.018327822908759117,
0.04717302322387695,
-0.021603727713227272,
-0.05506967753171921,
-0.02631068415939808,
-0.006323357578366995,
-0.006741466466337442,
0.01812092401087284,
0.02553481236100197,
-0.0033297843765467405,
0.0003143898502457887,
0.018655413761734962,
0.01187084335833788,
-0.046069562435150146,
0.0169571153819561,
0.015836412087082863,
0.017155393958091736,
0.07386302202939987,
-0.004017293453216553,
-0.03831084072589874,
-0.041172947734594345,
-0.023431338369846344,
0.014353633858263493,
0.017879541963338852,
-0.006375082302838564,
-0.0369659960269928,
0.03432802855968475,
-0.030534878373146057,
-0.04134536162018776,
0.03882808983325958,
-0.0516558401286602,
0.09124255925416946,
0.0698629692196846,
-0.04144881293177605,
-0.0375177264213562,
-0.0030086596962064505,
-0.017232980579137802,
0.030517635866999626,
0.05834558233618736,
0.06751811504364014,
0.05327655002474785,
0.004879373591393232,
-0.0092414990067482,
-0.02644861862063408,
0.011482907459139824,
-0.014870882034301758,
0.03019004501402378,
0.03367285057902336,
0.044104017317295074,
-0.03253490477800369,
0.036690130829811096,
-0.03882808983325958,
0.042828138917684555,
0.005155239254236221,
0.03582805022597313,
-0.001486010616645217,
-0.03965568542480469,
-0.054000698029994965,
-0.025724470615386963,
0.022810639813542366,
-0.01124152448028326,
0.019069211557507515,
-0.03869015723466873,
0.011276007629930973,
-0.014017422683537006,
0.06610430032014847,
0.07303542643785477,
-0.04062121361494064,
0.03367285057902336,
0.025017565116286278,
0.07600098103284836,
-0.04062121361494064,
0.03158661350607872,
0.004831959027796984,
-0.02608654461801052,
-0.00034456263529136777,
-0.015758823603391647,
-0.019293352961540222,
-0.020241640508174896,
0.0028233123011887074,
-0.019707150757312775,
0.0511041097342968,
0.014603637158870697,
0.033707331866025925,
0.07731134444475174,
0.019672667607665062,
0.006982848979532719,
0.06255253404378891,
0.027069315314292908,
-0.07441475242376328,
-0.009017357602715492,
0.02553481236100197,
0.003599184565246105,
-0.02863830141723156,
-0.03827635571360588,
-0.045276448130607605,
0.05172480642795563,
-0.030655568465590477,
-0.004500058013945818,
0.017112290486693382,
0.03355215862393379,
-0.024741699919104576,
-0.022052008658647537,
-0.008547523990273476,
-0.035379767417907715,
-0.0485178679227829,
0.02158648520708084,
0.004017293453216553,
-0.06882847845554352,
-0.01772436685860157,
0.005629383027553558,
0.030759017914533615,
0.04993167892098427,
-0.013112238608300686,
0.023017538711428642,
-0.0712423026561737,
0.018431272357702255,
0.025776196271181107,
-0.01606917381286621,
-0.004071173258125782,
0.023862376809120178,
0.020603714510798454,
0.047724753618240356,
-0.05279378592967987,
0.01951749436557293,
-0.013569140806794167,
-0.013138100504875183,
0.035759083926677704,
0.06824225932359695,
0.06651809811592102,
0.039759133011102676,
-0.0015495889820158482,
-0.09620814025402069,
0.038069456815719604,
0.012163950130343437,
0.05731108412146568,
0.058759380131959915,
0.023396853357553482,
0.0349314846098423,
-0.05717315152287483,
-0.10889796167612076,
0.09055289626121521,
-0.03755221143364906,
0.04196605831384659,
-0.03312111645936966,
0.040517766028642654,
-0.051931705325841904,
-0.030483152717351913,
-0.029621072113513947,
-0.019569218158721924,
0.012086363509297371,
-0.003476337995380163,
0.05589727312326431,
0.059518009424209595,
0.01490536518394947,
0.02606930211186409,
-0.04993167892098427,
0.02951762266457081,
0.0065173255279660225,
0.009922541677951813,
0.016284693032503128,
-0.01317258458584547,
-0.04144881293177605,
0.02208649180829525,
0.041035015136003494,
-0.00453023100271821,
-0.04072466492652893,
-0.040035001933574677,
0.019448528066277504,
-0.07662168145179749,
-0.07034573704004288,
0.030086595565080643,
0.032155588269233704,
0.021741660311818123,
-0.03148316591978073,
-0.004961270838975906,
-0.003786686807870865,
0.061311136931180954,
0.05265585333108902,
-0.0076423403806984425,
-0.010267374105751514,
-0.019569218158721924,
0.050173062831163406,
-0.029310723766684532,
-0.012431195005774498,
-0.04555231332778931,
-0.014879502356052399,
0.005672486964613199,
-0.015500199981033802,
-0.03250041976571083,
0.07951826602220535,
0.011767393909394741,
0.03198317065834999,
-0.028327953070402145,
-0.056586939841508865,
-0.04727647453546524,
0.03470734506845474,
-0.008594938553869724,
-7.408501119243738e-7,
-0.003728496376425028,
-0.01901748776435852,
-0.030517635866999626,
0.02760380506515503,
0.05613865703344345,
-0.010689793154597282,
-0.03544873371720314,
-0.007413888815790415,
0.023983068764209747,
-0.00014345551608130336,
0.008806148543953896,
-0.010853588581085205,
-0.06065595522522926,
0.01886231265962124,
0.03263835236430168,
0.0015786841977387667,
0.002314685145393014,
-0.005513002164661884,
0.042586758732795715,
0.07200092822313309,
0.0438971184194088,
0.03969016671180725,
-0.021862352266907692,
0.02746587246656418,
-0.09510467946529388,
0.021362345665693283,
-0.028724510222673416,
-0.013508795760571957,
-0.056069690734148026,
0.0020592939108610153,
-0.03125902637839317,
-0.09993232786655426,
-0.004448333289474249,
0.013112238608300686,
0.025224464014172554,
-0.05448346212506294,
-0.011586356908082962,
-0.026948625221848488,
-0.02401755191385746,
0.039241887629032135,
0.03675909712910652,
0.05279378592967987,
0.029310723766684532,
-0.0002928378526121378,
-0.00802165549248457,
0.00911218672990799,
0.01668987050652504,
-0.05248343572020531,
-0.052448954433202744,
0.04493161663413048,
0.006081975065171719,
0.04844890162348747,
0.03706944361329079,
-0.05006961151957512,
0.01052599772810936,
0.040655698627233505,
-0.005879386328160763,
0.02686241641640663,
-0.014793294481933117,
0.0028233123011887074,
0.022069251164793968,
0.06689741462469101,
0.015258817933499813,
0.015577787533402443,
0.0010716733522713184,
-0.04182812571525574,
-0.014724328182637691,
-0.02579343691468239,
-0.0487937331199646,
-0.0036595300771296024,
-0.014482946135103703,
0.008426832966506481,
-0.030241770669817924,
0.01605193130671978,
-0.053138617426157,
0.027190007269382477,
0.024603767320513725,
0.01863817125558853,
-0.0011713514104485512,
-0.05958697572350502,
0.012422574684023857,
-0.030638327822089195,
-0.023983068764209747,
0.010060475207865238,
-0.000880399311427027,
-0.016414005309343338,
-0.025896886363625526,
-0.11676012724637985,
-0.06996642053127289,
0.0280003622174263,
0.028552092611789703,
0.014569154009222984,
0.0021832177881151438,
0.0243968665599823,
-0.03703496232628822,
-0.07813894003629684,
-0.028672784566879272,
-0.037966009229421616,
0.06103527173399925,
-0.019965775310993195,
0.02477618306875229,
0.00028744983137585223,
-0.021224413067102432,
0.02517274022102356,
-0.015948481857776642,
-0.030914193019270897,
0.03593149781227112,
-0.02389685995876789,
-0.02117268741130829,
-0.04234537482261658,
-0.03658667951822281,
-0.016870908439159393,
-0.0894494354724884,
-0.002657362027093768,
0.04913856461644173,
0.04151777923107147,
0.03277628496289253,
0.006672500167042017,
-0.027569321915507317,
-0.07620788365602493,
-0.04627646133303642,
-0.018327822908759117,
0.07455268502235413,
-0.015163988806307316,
0.04031086713075638,
-0.005090583115816116,
-0.08841493725776672,
0.03889705613255501,
-0.009922541677951813,
-0.036414265632629395,
0.053483448922634125,
-0.011784635484218597,
0.06465601176023483,
-0.05251792073249817,
0.0022931331768631935,
-0.029103824868798256,
-0.013957076705992222,
-0.02156924456357956,
-0.008586318232119083,
0.010232890956103802,
0.025621021166443825,
0.01054324023425579,
-0.05779385194182396,
0.07227679342031479,
-0.0025603780522942543,
-0.016638146713376045,
0.02606930211186409,
-0.0219485592097044,
-0.05031099542975426,
-0.010301857255399227,
0.018914038315415382,
0.027052074670791626,
-0.020448539406061172,
0.010620826855301857,
0.001316827372647822,
-0.01889679580926895,
-0.035017695277929306,
0.022310633212327957,
0.0015345026040449739,
0.004153070971369743,
0.014120872132480145,
0.013612245209515095,
0.01059496495872736,
0.051173076033592224,
-0.030741777271032333,
0.04558679461479187,
-0.008913908153772354,
0.012034638784825802,
-0.027190007269382477,
-0.0037220309022814035,
0.025776196271181107,
-0.03813842311501503,
-0.019448528066277504,
0.06203528493642807,
-0.029500382021069527,
-0.0436212532222271,
0.12193261086940765,
0.05296620354056358,
0.002907365094870329,
-0.017000220715999603,
0.04200054332613945,
-0.010362203232944012,
0.031052125617861748,
0.03420734032988548,
-0.02541412226855755,
-0.03879360482096672,
0.02017267420887947,
0.0539662167429924,
0.008577696979045868,
0.01591399870812893,
-0.017879541963338852,
0.0048017860390245914,
-0.015431233681738377,
0.012379470281302929,
0.0014429065631702542,
-0.02272443100810051,
-0.0943460464477539,
-0.012603611685335636,
-0.07889757305383682,
-0.03198317065834999,
0.0304486695677042,
0.034086648374795914,
0.014465704560279846,
0.03958671912550926,
-0.006439738441258669,
-0.050931692123413086,
0.002203692216426134,
-0.006982848979532719,
-0.01508640218526125,
0.013017409481108189,
-0.003812549402937293,
-0.0346556194126606,
-0.10531170666217804,
-0.0056078312918543816,
0.09331154823303223,
0.03672461211681366,
-0.0280003622174263,
0.015517442487180233,
-0.043483320623636246,
0.005112134851515293,
-0.009181153029203415,
0.003997896332293749,
0.0343797542154789,
0.0802079364657402,
0.10186338424682617,
-0.012939822860062122,
-0.036793578416109085,
-0.012163950130343437,
-0.02722449041903019,
-0.018793346360325813,
-0.03700047731399536,
0.020362332463264465,
-0.0197761170566082,
-0.015517442487180233,
-0.005590589717030525,
-0.01746574230492115,
-0.05758695304393768,
0.007633719593286514,
0.013112238608300686,
0.02131062000989914,
0.012801889330148697,
0.050000645220279694,
-0.020189916715025902,
0.06662154942750931,
0.004482816439121962,
0.010612206533551216,
0.01073289755731821,
-0.054276563227176666,
0.009043220430612564,
0.02441410906612873,
-0.020258883014321327,
-0.01579330675303936,
0.029569348320364952,
0.0005625072517432272,
0.03491424396634102,
0.02750035561621189,
0.0036681508645415306,
-0.028810717165470123,
-0.0372418612241745,
0.06631120294332504,
-0.02977624721825123,
0.0017715746071189642,
-0.06282839924097061,
-0.041172947734594345,
-0.018293339759111404,
-0.0015711409505456686,
-0.03762117773294449,
0.005030237603932619,
-0.06286288052797318,
-0.00809924304485321,
0.00770268589258194,
0.0008502264972776175,
-0.021534761413931847,
-0.018534721806645393,
0.02632792666554451,
-0.023465821519494057,
0.013845006935298443,
0.004112122114747763,
0.0066337063908576965,
-0.05738005414605141,
0.005064720753580332,
0.03210386261343956,
-0.0588628314435482,
-0.019086454063653946,
-0.029465898871421814,
0.016207106411457062,
0.1122773140668869,
-0.01187946368008852,
-0.006405255291610956,
-0.039621200412511826,
0.027069315314292908,
0.028086569160223007,
-0.07806997746229172,
0.02170717716217041,
-0.06127665564417839,
0.006060423329472542,
-0.050173062831163406,
0.04093156382441521,
0.009077703580260277,
0.05441449582576752,
-0.013319137506186962,
-0.005456967279314995,
0.019948534667491913,
0.017758850008249283,
-0.0031659891828894615,
0.00841821264475584,
-0.03381078317761421,
0.016672629863023758,
0.03869015723466873,
-0.05044892802834511,
0.045931629836559296,
0.00016864441568031907,
-0.04355228692293167,
-0.021914076060056686,
-0.05158687382936478,
0.04175915941596031,
0.0050992039032280445,
-0.014526049606502056,
0.001480622566305101,
0.01850023865699768,
0.03136247396469116,
-0.08338038623332977,
-0.02401755191385746,
0.002308219438418746,
-0.0024547730572521687,
-0.019465768709778786,
0.0026508963201195,
-0.010051853954792023,
-0.049276500940322876,
0.008784596808254719,
0.006771639455109835,
0.02775898016989231,
-0.01054324023425579,
0.011948429979383945,
0.037690144032239914,
-0.010051853954792023,
0.041414327919483185
]
|
41,739 | comm | _create_comm | Create a Comm.
This method is intended to be replaced, so that it returns your Comm instance.
| def _create_comm(*args: Any, **kwargs: Any) -> BaseComm:
"""Create a Comm.
This method is intended to be replaced, so that it returns your Comm instance.
"""
return DummyComm(*args, **kwargs)
| (*args: Any, **kwargs: Any) -> comm.base_comm.BaseComm | [
-0.011903862468898296,
-0.03238268941640854,
-0.00829174555838108,
-0.04907946661114693,
-0.01602577045559883,
-0.016391774639487267,
-0.03076181188225746,
0.06330135464668274,
-0.005224279128015041,
-0.0493931844830513,
0.01812594011425972,
0.032539546489715576,
-0.0281300637871027,
-0.007851668633520603,
-0.05043891444802284,
-0.006008574739098549,
0.06424251198768616,
-0.04287482053041458,
-0.042839959263801575,
-0.043746259063482285,
0.03872676566243172,
0.06438194215297699,
-0.02915836311876774,
0.0031698609236627817,
0.02190798707306385,
0.05528411641716957,
-0.009524832479655743,
0.015572622418403625,
0.01705406978726387,
-0.03229554370045662,
-0.00811745785176754,
-0.005930145271122456,
-0.002487959573045373,
0.05211207643151283,
0.02607346698641777,
0.04214280843734741,
0.004945418797433376,
0.06664768606424332,
-0.10833735018968582,
-0.026300041005015373,
0.027241196483373642,
-0.009855980053544044,
0.051310352981090546,
0.004291838966310024,
-0.01717607118189335,
-0.01016098354011774,
0.029454652220010757,
0.010195841081440449,
-0.04472227022051811,
0.03440442681312561,
-0.00637893658131361,
-0.02783377468585968,
0.003224325831979513,
-0.0012919089058414102,
-0.052042361348867416,
-0.007119659800082445,
0.05165892839431763,
0.08310046046972275,
-0.04249138385057449,
0.023128001019358635,
-0.07982385158538818,
0.08261245489120483,
0.05685270577669144,
-0.03998164087533951,
-0.02202998846769333,
0.018178226426243782,
0.012278581038117409,
-0.009794979356229305,
0.039877068251371384,
0.05371552333235741,
0.04437369480729103,
-0.01120671071112156,
-0.011032423004508018,
0.03431728482246399,
0.10073839873075485,
0.007594594266265631,
0.023511435836553574,
-0.012801445089280605,
0.05810758098959923,
-0.024539733305573463,
-0.0008774305460974574,
0.015293761156499386,
-0.020775115117430687,
0.027642058208584785,
0.01614777185022831,
0.014788326807320118,
-0.013498595915734768,
0.03733246400952339,
0.02229142002761364,
0.025480888783931732,
-0.04378111660480499,
0.012879874557256699,
-0.032574404031038284,
-0.011738289147615433,
0.04848688840866089,
-0.020635684952139854,
-0.007137088570743799,
0.04179423302412033,
0.013690313324332237,
0.05458696559071541,
-0.06103561446070671,
0.07585008442401886,
-0.11370541155338287,
-0.030378377065062523,
-0.035798732191324234,
-0.06898314505815506,
-0.005716642364859581,
0.022343706339597702,
-0.02082740142941475,
-0.0028561425860971212,
-0.0777323916554451,
0.06431222707033157,
0.005738428328186274,
-0.025271743535995483,
-0.0287749283015728,
0.0009210025309585035,
-0.01730678603053093,
-0.0016001806361600757,
-0.011877719312906265,
-0.02263999544084072,
-0.06047789379954338,
0.005686142016202211,
-0.028077777475118637,
-0.022866569459438324,
0.03680960088968277,
0.037994757294654846,
-0.0054595679976046085,
-0.01168600283563137,
0.05978074297308922,
-0.02250056527554989,
-0.0025075669400393963,
-0.015729481354355812,
0.04186394810676575,
-0.004936704412102699,
-0.006862585432827473,
0.04175937548279762,
-0.016932068392634392,
0.02241342142224312,
-0.025655176490545273,
-0.018735947087407112,
0.01423931960016489,
-0.00037853149115107954,
-0.00828738883137703,
0.030395805835723877,
-0.03288812190294266,
0.03792504221200943,
-0.015947341918945312,
-0.04803374037146568,
-0.03942392021417618,
0.05343666300177574,
-0.017969081178307533,
-0.02117597684264183,
0.005185064394026995,
0.007154517341405153,
0.001414999715052545,
0.03341098502278328,
-0.001812594011425972,
-0.02173369936645031,
0.0014781791251152754,
0.04918403923511505,
-0.012287295423448086,
-0.0034400071017444134,
0.07058659195899963,
0.007899598218500614,
0.025114882737398148,
0.03231297433376312,
-0.02968122623860836,
-0.11802775412797928,
0.004394233226776123,
-0.004169837571680546,
-0.0049977051094174385,
0.02143741026520729,
0.018439657986164093,
-0.040609076619148254,
-0.04887032136321068,
-0.0018528980435803533,
0.011808004230260849,
-0.00692794332280755,
0.0006132755079306662,
-0.02804291993379593,
0.0071937320753932,
-0.006113147363066673,
-0.027642058208584785,
0.04008621349930763,
0.03600787743926048,
0.0188928060233593,
0.0360775925219059,
-0.007054301910102367,
0.04182909056544304,
-0.016871066763997078,
-0.028705213218927383,
0.014622753486037254,
0.03461357206106186,
0.0138558866456151,
0.014509466476738453,
-0.010640274733304977,
0.025968894362449646,
0.01985139027237892,
-0.039319347590208054,
0.046360574662685394,
0.03998164087533951,
0.08052100241184235,
0.045628566294908524,
0.025358887389302254,
0.04322339594364166,
0.005429067648947239,
0.006548867095261812,
-0.003463971661403775,
-0.04970690235495567,
-0.0549703985452652,
0.022570280358195305,
-0.005289637017995119,
-0.013446309603750706,
0.045210275799036026,
0.002079472178593278,
0.04259595647454262,
0.006261291913688183,
0.006740583572536707,
0.0026295683346688747,
-0.00288882153108716,
0.04092279449105263,
0.011564000509679317,
-0.01423931960016489,
-0.03290555253624916,
-0.008134886622428894,
-0.02082740142941475,
0.0069453720934689045,
-0.03536301106214523,
0.009594547562301159,
-0.03851762041449547,
-0.014230605214834213,
-0.03517129272222519,
-0.031197531148791313,
0.028112635016441345,
0.01661834865808487,
-0.08184558898210526,
-0.03260926157236099,
0.005215564742684364,
-0.08038157224655151,
-0.007019444368779659,
0.035763874650001526,
0.05657384544610977,
0.05807272344827652,
0.06884371489286423,
0.03384670615196228,
-0.02267485298216343,
-0.0020805615931749344,
0.010291699320077896,
0.014221890829503536,
0.0018452729564160109,
-0.04346739873290062,
-0.0631270706653595,
-0.035676728934049606,
-0.03531072288751602,
-0.01359445508569479,
-0.027136623859405518,
-0.060582466423511505,
-0.045767996460199356,
-0.018195655196905136,
-0.015433192253112793,
-0.050787489861249924,
0.006113147363066673,
-0.013760028406977654,
0.07368891686201096,
0.05517954379320145,
-0.02718891017138958,
-0.018927663564682007,
0.011014994233846664,
-0.009489974938333035,
0.022570280358195305,
0.10443329811096191,
0.032190971076488495,
0.03208639845252037,
-0.020757686346769333,
-0.0442342646420002,
-0.05249550938606262,
-0.0068190135061740875,
-0.017934223636984825,
0.007446449715644121,
-0.004374625626951456,
-0.00594757404178381,
-0.0184745155274868,
0.016008341684937477,
0.0070804450660943985,
0.0038757268339395523,
-0.0046796295791864395,
0.01328945066779852,
-0.027973204851150513,
-0.03337612748146057,
-0.015354761853814125,
-0.046883441507816315,
0.0846341922879219,
-0.011851576156914234,
0.035798732191324234,
0.06103561446070671,
0.014736040495336056,
-0.03529329597949982,
0.028722641989588737,
0.03712331876158714,
-0.04074850678443909,
-0.0008556445827707648,
-0.004714487120509148,
-0.055040113627910614,
-0.017237070947885513,
-0.030570093542337418,
-0.02040911093354225,
-0.009463831782341003,
-0.010509558953344822,
-0.04625600203871727,
0.0026252111420035362,
-0.008261245675384998,
0.05657384544610977,
0.0395284928381443,
0.06497452408075333,
0.03370727598667145,
0.019921105355024338,
0.04444340988993645,
-0.010239413008093834,
0.04402511939406395,
0.056538987904787064,
-0.01131999772042036,
-0.02040911093354225,
-0.026735760271549225,
-0.004442162346094847,
-0.008326603099703789,
0.02610832452774048,
-0.032539546489715576,
0.00692794332280755,
0.012592299841344357,
0.06602025032043457,
-0.04970690235495567,
0.05772414430975914,
0.028147492557764053,
-0.02968122623860836,
0.017062783241271973,
-0.044094834476709366,
0.030256375670433044,
-0.04702287167310715,
0.0004969927831552923,
-0.05974588543176651,
0.021785985678434372,
-0.009882123209536076,
-0.04493141546845436,
0.019921105355024338,
-0.0016677171224728227,
-0.031894683837890625,
0.04440855234861374,
-0.028321780264377594,
0.03872676566243172,
-0.042665671557188034,
0.0018637910252436996,
0.013019304722547531,
0.00606521824374795,
0.026474328711628914,
0.06689168512821198,
0.01769021898508072,
-0.032626692205667496,
0.012052007019519806,
-0.025202028453350067,
-0.06748426705598831,
-0.011502999812364578,
0.01451818086206913,
0.03405585139989853,
0.03844790533185005,
-0.08533134311437607,
-0.01340273767709732,
-0.01821308396756649,
0.0007069552084431052,
0.0088058952242136,
0.01239186804741621,
-0.032208401709795,
-0.018178226426243782,
-0.022064846009016037,
0.01976424641907215,
-0.06263906508684158,
0.0020391682628542185,
-0.021489696577191353,
-0.026038609445095062,
-0.016688063740730286,
-0.001105638686567545,
-0.024295730516314507,
-0.05486582592129707,
0.025968894362449646,
-0.02375543862581253,
-0.03501443564891815,
-0.02894921787083149,
0.023807724937796593,
0.06995915621519089,
-0.014500752091407776,
-0.011738289147615433,
0.0013583562104031444,
-0.047789737582206726,
-0.056155554950237274,
0.02023482322692871,
-0.03388156369328499,
-0.030134374275803566,
0.0364958830177784,
0.029175791889429092,
-0.07201575487852097,
-0.012635871767997742,
0.02082740142941475,
-0.040051355957984924,
0.06671740114688873,
-0.029018932953476906,
-0.021716270595788956,
-0.0010386467911303043,
0.0674494132399559,
-0.006910514552146196,
0.017428787425160408,
0.04583771154284477,
0.0025337100960314274,
0.04388568922877312,
-0.03618216514587402,
-0.005163278430700302,
-0.006823370698839426,
-0.01576433889567852,
0.02164655551314354,
0.008749251253902912,
0.007250376045703888,
-0.041898805648088455,
0.0016176094068214297,
-0.017019212245941162,
0.04841717332601547,
0.06364993751049042,
-0.007485664449632168,
0.10638532042503357,
0.019014807417988777,
0.04329311102628708,
0.05943216755986214,
-0.04998576268553734,
-0.03660045564174652,
0.061314474791288376,
-0.06194191426038742,
-0.024940595030784607,
0.016435347497463226,
0.002058775629848242,
0.022448278963565826,
-0.04416454955935478,
0.0040739793330430984,
0.04775488004088402,
-0.020304538309574127,
-0.014439750462770462,
0.04611657187342644,
0.0020838293712586164,
-0.019520241767168045,
0.0014433214673772454,
0.02345914952456951,
-0.054447535425424576,
-0.0004602289409376681,
-0.008095672354102135,
0.08310046046972275,
0.08554048836231232,
0.06943628937005997,
-0.0002992849622387439,
-0.024173729121685028,
-0.12492955476045609,
-0.03715817630290985,
-0.030012372881174088,
0.017594361677765846,
-0.013882029801607132,
0.028757499530911446,
0.026509186252951622,
-0.07459521293640137,
-0.05043891444802284,
-0.02161169797182083,
0.05270465463399887,
-0.01667063497006893,
-0.053750380873680115,
-0.017001783475279808,
0.025010310113430023,
0.058909304440021515,
0.005010776687413454,
0.02924550697207451,
-0.02272713929414749,
-0.04695315659046173,
-0.004614271689206362,
0.005564140621572733,
-0.03233040124177933,
0.01859651692211628,
-0.0016502883518114686,
-0.008274316787719727,
-0.014805755577981472,
-0.012287295423448086,
0.03314955532550812,
-0.0575498566031456,
0.02478373609483242,
0.010596702806651592,
-0.03513643518090248,
0.016034485772252083,
-0.0015881983563303947,
-0.015834053978323936,
0.04737144708633423,
0.028496067970991135,
-0.028670355677604675,
0.04496627300977707,
0.047092586755752563,
0.0019051843555644155,
0.02542860247194767,
-0.0298555139452219,
-0.05490068346261978,
0.013219735585153103,
-0.020809972658753395,
-0.014614039100706577,
-0.0545521080493927,
0.013986602425575256,
-0.1082676351070404,
-0.025742320343852043,
0.016051914542913437,
-0.06155848130583763,
-0.006461723241955042,
-0.013524740003049374,
-0.010378843173384666,
-0.0045271278358995914,
-0.0399467833340168,
-0.006448651663959026,
-0.010657703503966331,
-0.031249817460775375,
-0.025707462802529335,
-0.07083059847354889,
-0.029872942715883255,
0.06748426705598831,
0.02894921787083149,
-0.021489696577191353,
-0.008095672354102135,
-0.02161169797182083,
-0.018282799050211906,
-0.00008966294262791052,
-0.009219828993082047,
0.053018372505903244,
0.02040911093354225,
0.020252251997590065,
-0.036705028265714645,
-0.006775441579520702,
0.025934036821126938,
0.03396870940923691,
-0.0037471894174814224,
-0.05064805969595909,
0.023860011249780655,
0.010901707224547863,
-0.005716642364859581,
-0.0050064194947481155,
-0.019293667748570442,
-0.017019212245941162,
-0.025707462802529335,
-0.03768103942275047,
0.0030151803512126207,
0.04796402528882027,
0.01842222921550274,
-0.049846332520246506,
-0.007633809000253677,
0.0015435370150953531,
-0.04656971991062164,
-0.06825113296508789,
-0.0007783042965456843,
0.0076773809269070625,
0.046883441507816315,
0.00992569513618946,
-0.04294453561306,
0.02495802380144596,
0.021890558302402496,
-0.014474608935415745,
0.052460651844739914,
-0.005638212896883488,
0.025149740278720856,
0.010030267760157585,
0.026509186252951622,
0.044303979724645615,
0.005764571484178305,
-0.028966646641492844,
-0.026526615023612976,
0.024539733305573463,
-0.0274851992726326,
0.025759749114513397,
0.07264319062232971,
0.003880084026604891,
-0.0080564571544528,
0.023093143478035927,
0.014073746278882027,
-0.05486582592129707,
-0.017489789053797722,
-0.03304498270153999,
0.018840519711375237,
-0.06755398213863373,
-0.08902624994516373,
-0.02091454528272152,
-0.0364958830177784,
-0.047650307416915894,
-0.04970690235495567,
0.0696105808019638,
-0.0674494132399559,
0.030570093542337418,
0.0549703985452652,
0.01752464659512043,
-0.044094834476709366,
-0.02229142002761364,
0.031842395663261414,
-0.06005960330367088,
-0.02152455411851406,
-0.006880014203488827,
0.007150160148739815,
-0.05361095070838928,
0.0717368945479393,
-0.012975732795894146,
0.030639808624982834,
0.04611657187342644,
-0.029175791889429092,
-0.04130622744560242,
-0.04046964645385742,
0.00020220117585267872,
-0.02366829477250576,
0.04033021628856659,
-0.011511714197695255,
-0.010622845962643623,
0.026997191831469536,
-0.00548571115359664,
-0.030570093542337418,
-0.015250189229846,
-0.02387744002044201,
0.05978074297308922,
0.010509558953344822,
0.044094834476709366,
-0.04074850678443909,
0.0005536363460123539,
-0.029053790494799614,
-0.02804291993379593,
0.03175525367259979,
-0.0011306926608085632,
-0.0888868197798729,
0.007315733935683966,
0.017106356099247932,
0.03914505988359451,
0.049323469400405884,
0.024975452572107315,
-0.0184745155274868,
0.0033092910889536142,
-0.02508002519607544,
-0.006980229634791613,
-0.0026012465823441744,
0.05639955773949623,
0.03844790533185005,
-0.018631374463438988,
0.017158642411231995,
0.024766307324171066,
-0.0665431097149849,
-0.039842210710048676,
-0.05232122167944908,
0.030779240652918816,
-0.045802854001522064,
0.015598765574395657,
-0.004200337920337915,
-0.02147226780653,
0.03405585139989853,
0.009803693741559982,
-0.03044809214770794,
0.02657890133559704,
0.027764059603214264,
-0.07229461520910263,
0.005625141318887472,
0.04454798251390457,
-0.0033441486302763224,
0.015354761853814125,
0.010953993536531925,
0.07598951458930969,
0.014021459966897964,
-0.016426632180809975,
0.014361320994794369,
0.026788046583533287,
-0.07578036934137344,
-0.048173170536756516,
-0.00428530341014266,
0.020304538309574127,
0.06581110507249832,
0.03719303384423256,
-0.027990633621811867,
-0.011825433000922203,
0.004858274478465319,
0.013115162961184978,
0.0601293183863163,
0.057061851024627686,
0.05012519285082817,
0.003751546610146761,
0.010509558953344822,
-0.001208032830618322,
-0.07117917388677597,
0.06117504462599754,
0.0017417895141988993,
-0.01632205955684185,
-0.0050064194947481155,
-0.04399026185274124,
-0.0751529335975647,
0.013359165750443935,
0.0657413899898529,
0.011006279848515987,
-0.029750941321253777,
0.002895357320085168,
-0.04012107104063034,
-0.05636470019817352,
-0.04193366318941116,
-0.021454839035868645,
0.045070845633745193,
0.04270052909851074,
-0.007481307256966829,
-0.018526801839470863,
0.04869603365659714,
0.008156673051416874,
0.03809932991862297,
-0.01859651692211628,
-0.0030827168375253677,
0.007847311906516552,
-0.0575498566031456,
0.028827214613556862,
0.04608171433210373,
0.05510982871055603,
-0.016757778823375702,
0.014622753486037254,
-0.016740350052714348,
0.0024901381693780422,
0.043537113815546036,
-0.010335271246731281,
-0.021838271990418434,
0.00560335535556078,
0.0036295452155172825,
0.06089618429541588,
-0.0270669087767601,
0.015520336106419563,
-0.03900562599301338,
-0.03667017072439194,
-0.038552477955818176,
0.028844643384218216,
-0.023424291983246803,
0.0004545101255644113,
0.022151989862322807,
-0.07996328175067902,
0.02387744002044201,
0.06051275134086609,
-0.04472227022051811,
0.04343254119157791,
-0.026474328711628914,
-0.014160890132188797,
0.02633489854633808,
-0.07654723525047302,
0.012017149478197098,
0.025358887389302254,
0.019014807417988777,
0.012339581735432148,
0.010065125301480293,
0.01800393871963024,
0.0364958830177784,
0.018282799050211906,
-0.008967111818492413,
0.022361135110259056,
-0.005071777384728193,
0.018788233399391174,
0.01967710256576538,
-0.0004907292895950377,
-0.07494378834962845,
-0.005625141318887472,
0.053366947919130325,
-0.025742320343852043,
-0.035241007804870605,
0.007219875231385231,
-0.007712238933891058,
0.030099516734480858,
0.022326277568936348,
-0.008248173631727695,
0.0043724472634494305,
0.04500113055109978,
0.04848688840866089
]
|
41,740 | comm | _get_comm_manager | Get the current Comm manager, creates one if there is none.
This method is intended to be replaced if needed (if you want to manage multiple CommManagers).
| def _get_comm_manager() -> CommManager:
"""Get the current Comm manager, creates one if there is none.
This method is intended to be replaced if needed (if you want to manage multiple CommManagers).
"""
global _comm_manager # noqa: PLW0603
if _comm_manager is None:
_comm_manager = CommManager()
return _comm_manager
| () -> comm.base_comm.CommManager | [
0.049482766538858414,
0.003236677497625351,
-0.02922152914106846,
0.0032321058679372072,
0.023077327758073807,
0.009865466505289078,
0.06433124840259552,
0.03489028662443161,
-0.03788924217224121,
0.0023726492654532194,
0.000861171109136194,
-0.05836991220712662,
-0.025801988318562508,
0.009627744555473328,
0.03626175969839096,
-0.0036915496457368135,
-0.03564002737402916,
-0.06433124840259552,
0.005764760542660952,
-0.047544416040182114,
0.03415883332490921,
0.04022989049553871,
0.019420064985752106,
-0.06089342385530472,
-0.04033960774540901,
0.047215260565280914,
-0.00354754482395947,
0.010633491910994053,
0.053103454411029816,
-0.014592478051781654,
0.03072100691497326,
0.008594567887485027,
-0.023132186383008957,
-0.04085162654519081,
0.0012114682467654347,
0.07928945869207382,
0.024759668856859207,
0.04293626546859741,
-0.01776515319943428,
-0.04439916834235191,
0.01522335596382618,
-0.008082550950348377,
0.06886626034975052,
0.008429991081357002,
0.019255489110946655,
0.028270641341805458,
-0.00043315705261193216,
-0.027612334117293358,
0.03443313017487526,
0.022693315520882607,
0.04622780159115791,
-0.048129577189683914,
-0.011648382060229778,
0.0030378138180822134,
-0.04414316266775131,
-0.009618600830435753,
-0.0005700187175534666,
-0.010523773729801178,
-0.06089342385530472,
-0.023772208020091057,
-0.03498172014951706,
0.00784939993172884,
0.01846003346145153,
-0.026112856343388557,
-0.009774034842848778,
-0.03152560442686081,
0.03318965807557106,
0.007620821241289377,
0.054346926510334015,
0.08557994663715363,
-0.028819231316447258,
0.0000013348651464184513,
-0.022217871621251106,
-0.04246082156896591,
0.04096134379506111,
0.004900732077658176,
0.04732498154044151,
-0.009764891117811203,
0.02922152914106846,
0.011191223748028278,
0.006551072001457214,
0.07885058224201202,
-0.0029578113462775946,
0.04732498154044151,
0.03551202267408371,
-0.004562435206025839,
-0.0012400406412780285,
0.052993737161159515,
0.009307733736932278,
-0.011246083304286003,
-0.050689663738012314,
0.03569488599896431,
0.014619908295571804,
-0.03697492554783821,
0.023369908332824707,
-0.01714341901242733,
-0.049665629863739014,
0.046374090015888214,
-0.021815571933984756,
0.027264893054962158,
-0.08002091199159622,
0.09552770107984543,
-0.03222048655152321,
0.021925291046500206,
-0.0010948930867016315,
-0.025637412443757057,
0.01484848652034998,
0.005709901452064514,
0.006007053889334202,
-0.003974987659603357,
-0.08375132083892822,
-0.010103188455104828,
-0.009042582474648952,
0.02940439246594906,
0.03456113487482071,
0.02801463194191456,
-0.08097179979085922,
-0.01488505955785513,
0.03644462302327156,
-0.020663535222411156,
-0.10247649997472763,
0.07950889319181442,
-0.0018263455713167787,
-0.03342738002538681,
0.03574974462389946,
-0.00032086766441352665,
0.019785791635513306,
-0.027648907154798508,
0.07142633944749832,
-0.01564394123852253,
0.008878005668520927,
0.019036052748560905,
0.03452455997467041,
-0.007442529778927565,
-0.03143417462706566,
0.04549634829163551,
-0.04659352824091911,
0.06071056053042412,
-0.03745036944746971,
-0.011172938160598278,
-0.048275869339704514,
0.009600314311683178,
-0.03143417462706566,
-0.009417451918125153,
-0.026149429380893707,
0.057382453233003616,
-0.022601883858442307,
0.049921635538339615,
-0.027904914692044258,
0.014967347495257854,
-0.013449584133923054,
-0.04187566041946411,
0.08111808449029922,
-0.012215257622301579,
-0.024540232494473457,
0.01785658486187458,
-0.005801333114504814,
0.0053213173523545265,
0.03540230169892311,
-0.025637412443757057,
-0.00877285934984684,
0.03792581334710121,
-0.01520507037639618,
-0.06180774047970772,
0.04326541721820831,
0.004987591877579689,
-0.04706897214055061,
-0.06758621335029602,
0.008640283718705177,
-0.04074190557003021,
-0.019493211060762405,
0.052115995436906815,
-0.01683255098760128,
-0.04319227486848831,
-0.056431565433740616,
0.009783177636563778,
0.0030332421883940697,
-0.024796241894364357,
0.006692790891975164,
0.05844305828213692,
-0.005965909920632839,
0.019164057448506355,
-0.019511496648192406,
0.019401779398322105,
0.01595480926334858,
0.054529786109924316,
0.057016726583242416,
-0.019218916073441505,
0.017426857724785805,
0.020279521122574806,
-0.04253396764397621,
0.022382447496056557,
0.008617425337433815,
-0.03847440332174301,
-0.03489028662443161,
0.02892894856631756,
0.03719436377286911,
0.006116772070527077,
-0.024558519944548607,
0.021340128034353256,
-0.009499739855527878,
0.055809829384088516,
0.006528214085847139,
0.06023511663079262,
-0.029660401865839958,
-0.021376701071858406,
-0.04235110431909561,
-0.03359195962548256,
-0.052152566611766815,
0.051421113312244415,
-0.014857630245387554,
0.005860763601958752,
-0.053103454411029816,
0.049446191638708115,
0.021961862221360207,
0.008937436155974865,
0.012571840547025204,
-0.00382641120813787,
0.0007885972736403346,
0.03518286719918251,
-0.018798330798745155,
0.0073236688040196896,
0.027118602767586708,
-0.007876829244196415,
-0.06005225330591202,
-0.027008885517716408,
-0.019310347735881805,
-0.008841432631015778,
-0.006327064707875252,
-0.04311912879347801,
0.06107628718018532,
-0.023059042170643806,
-0.020352667197585106,
-0.014400471933186054,
0.03851097822189331,
-0.11403345316648483,
-0.03108673356473446,
0.003398968605324626,
-0.06517241895198822,
-0.011922677047550678,
0.018487462773919106,
0.0014446187997236848,
0.06663532555103302,
0.08155696094036102,
0.03377482295036316,
0.024905959144234657,
0.012471266090869904,
-0.012672415934503078,
0.03799895942211151,
0.028581509366631508,
0.0035726886708289385,
-0.025728844106197357,
0.004850444849580526,
-0.050982244312763214,
-0.023223618045449257,
-0.03737722709774971,
-0.08835946768522263,
0.010615205392241478,
-0.022473879158496857,
0.0003860126598738134,
-0.01650339737534523,
0.021285269409418106,
0.023717349395155907,
0.04600836709141731,
-0.02958725579082966,
-0.005563611164689064,
0.03542058914899826,
0.010057472623884678,
0.002882380271330476,
0.012443836778402328,
0.14950890839099884,
0.014162749983370304,
0.048934176564216614,
-0.03342738002538681,
-0.007053945679217577,
-0.06853710114955902,
-0.019218916073441505,
0.02936781942844391,
-0.024430515244603157,
0.0005337317707017064,
-0.013979886658489704,
0.026332292705774307,
0.016658831387758255,
-0.003042385447770357,
-0.03938871994614601,
0.014309040270745754,
-0.017024558037519455,
-0.04703240096569061,
-0.029331248253583908,
0.005463036242872477,
-0.05873563885688782,
0.005892764776945114,
-0.06904911994934082,
0.022547025233507156,
0.03371996432542801,
-0.016146814450621605,
-0.023187045007944107,
0.02909352444112301,
0.051421113312244415,
-0.010103188455104828,
-0.008631139993667603,
0.051018815487623215,
-0.05836991220712662,
0.04516719654202461,
-0.01621081680059433,
-0.01428161095827818,
-0.012754703871905804,
-0.022894464433193207,
-0.016859982162714005,
0.053322892636060715,
-0.009088298305869102,
0.0068162232637405396,
0.006688219495117664,
0.03158046305179596,
0.017097704112529755,
0.0010948930867016315,
0.03719436377286911,
0.000011893246664840262,
0.023516200482845306,
0.06312435865402222,
-0.004631008952856064,
0.04333856329321861,
0.007383099291473627,
0.012608413584530354,
-0.03017241694033146,
0.06052769720554352,
-0.008571709506213665,
0.06422153115272522,
0.019273774698376656,
0.06407524645328522,
-0.053140029311180115,
-0.03222048655152321,
-0.03858412057161331,
-0.020151518285274506,
0.05621212720870972,
-0.021852144971489906,
0.06155173107981682,
-0.07109718769788742,
0.012626700103282928,
-0.07548590004444122,
0.019401779398322105,
0.03560345247387886,
-0.06012539938092232,
-0.04399687051773071,
-0.048019859939813614,
-0.027008885517716408,
0.04622780159115791,
-0.003472113749012351,
-0.010258622467517853,
-0.12171370536088943,
-0.023680776357650757,
0.023187045007944107,
-0.04063218832015991,
-0.01521421317011118,
-0.03119645081460476,
-0.03269593045115471,
-0.04143678769469261,
0.0036298332270234823,
0.0032481064554303885,
0.012928423471748829,
-0.058113906532526016,
0.008009405806660652,
-0.006921369582414627,
0.04216824099421501,
-0.11359458416700363,
-0.021248696371912956,
-0.03271421417593956,
-0.045057475566864014,
0.08550680428743362,
-0.04509405046701431,
-0.020407525822520256,
0.010852927342057228,
0.03148903325200081,
0.02977011911571026,
-0.05950366333127022,
0.06433124840259552,
0.002052638679742813,
-0.0029395250603556633,
0.005874478258192539,
-0.006413924507796764,
0.004320141859352589,
-0.004914446733891964,
0.014318183995783329,
-0.014875915832817554,
-0.004868730902671814,
-0.08053292334079742,
0.01503134984523058,
0.00804140605032444,
-0.027667192742228508,
0.003017241833731532,
0.019694359973073006,
-0.04619123041629791,
-0.03148903325200081,
0.049665629863739014,
-0.006231061648577452,
0.015744516626000404,
-0.010075759142637253,
-0.00387669843621552,
-0.053432609885931015,
0.024979105219244957,
0.06853710114955902,
0.021047547459602356,
0.07577848434448242,
-0.022675029933452606,
-0.053322892636060715,
0.027447756379842758,
0.024357369169592857,
0.014455331489443779,
-0.018981194123625755,
0.015424505807459354,
-0.06659875810146332,
0.019657786935567856,
0.010167190805077553,
-0.01798458956182003,
-0.02942267805337906,
-0.03227534517645836,
0.03419540822505951,
0.04114420711994171,
0.07577848434448242,
0.027118602767586708,
-0.025948278605937958,
-0.048605021089315414,
-0.010002613998949528,
0.000720595067832619,
-0.050287362188100815,
0.012736417353153229,
-0.012014107778668404,
0.051859986037015915,
-0.022748174145817757,
-0.027831770479679108,
-0.008960293605923653,
0.054017771035432816,
0.06268548220396042,
-0.08653083443641663,
0.012553554028272629,
0.01756400428712368,
0.01539707649499178,
-0.007693966384977102,
-0.03997388109564781,
0.014400471933186054,
0.02792320027947426,
-0.026478582993149757,
0.009609458036720753,
-0.0036481195129454136,
0.006519070826470852,
0.004850444849580526,
0.01696055568754673,
0.00209949747659266,
0.0007017372990958393,
-0.005682472139596939,
0.014080462045967579,
0.052152566611766815,
0.02838035859167576,
0.03148903325200081,
0.020279521122574806,
-0.04549634829163551,
-0.007812827825546265,
-0.03059300221502781,
0.026844307780265808,
0.021431559696793556,
-0.002186357509344816,
0.04143678769469261,
0.015963951125741005,
-0.03679206222295761,
-0.05906479433178902,
0.03264107182621956,
0.006418496370315552,
-0.012315832078456879,
0.0025669413153082132,
0.008000262081623077,
0.03150731697678566,
0.03145245835185051,
-0.008493992500007153,
-0.056138984858989716,
-0.048275869339704514,
-0.01548850815743208,
0.007474530953913927,
-0.049482766538858414,
0.04443574324250221,
0.002011494478210807,
-0.006345350760966539,
0.010852927342057228,
-0.0034835427068173885,
-0.03024556301534176,
-0.07405956834554672,
-0.018944621086120605,
-0.0049281613901257515,
-0.053798336535692215,
0.002265217015519738,
-0.015570796094834805,
-0.013623303733766079,
0.08360502868890762,
-0.006281348876655102,
-0.026771163567900658,
0.018341172486543655,
0.050360508263111115,
0.005993339233100414,
-0.020919542759656906,
-0.004342999309301376,
0.006482498254626989,
0.021961862221360207,
-0.003044671146199107,
0.010569489561021328,
-0.005906479433178902,
0.022528737783432007,
-0.08901777863502502,
-0.058955077081918716,
0.002758947666734457,
-0.03121473826467991,
0.0018240597564727068,
0.03439655527472496,
-0.0017063416307792068,
-0.021285269409418106,
-0.052152566611766815,
-0.06305120885372162,
-0.0034652564208954573,
-0.027795197442173958,
-0.04377743601799011,
-0.021394986659288406,
-0.006477926857769489,
0.007396813947707415,
0.03395768627524376,
-0.009417451918125153,
-0.05573668330907822,
-0.055114950984716415,
-0.008013976737856865,
-0.03114159218966961,
0.023424768820405006,
-0.020901257172226906,
-0.018578894436359406,
0.01644853875041008,
-0.016713690012693405,
-0.04834901541471481,
0.011456375941634178,
0.024723095819354057,
-0.003586403327062726,
-0.02953239716589451,
-0.018633753061294556,
0.00008521707786712795,
-0.0025532266590744257,
0.004658438265323639,
-0.03876698389649391,
0.04275340214371681,
0.01871604286134243,
-0.017920587211847305,
-0.02894723415374756,
0.013047284446656704,
0.03481714054942131,
-0.03053814359009266,
0.021504705771803856,
0.02945925109088421,
-0.02969697304069996,
-0.04684953764081001,
-0.07555904984474182,
0.007296239025890827,
0.01719827763736248,
0.03574974462389946,
-0.013861025683581829,
0.048312440514564514,
0.004379572346806526,
0.005879050120711327,
0.012974139302968979,
-0.09582028537988663,
0.03843783214688301,
0.049885064363479614,
-0.054712649434804916,
0.008832289837300777,
0.020242949947714806,
0.006756792776286602,
0.004141849931329489,
0.027264893054962158,
-0.025619124993681908,
0.025710556656122208,
-0.004768156446516514,
0.005911050830036402,
0.005659614223986864,
-0.023223618045449257,
0.01588166318833828,
-0.016585687175393105,
0.01559822540730238,
0.020681820809841156,
0.007506531663239002,
-0.01508620847016573,
-0.027648907154798508,
-0.00848942156881094,
-0.01705198734998703,
-0.053981199860572815,
-0.012334118597209454,
0.006519070826470852,
-0.06341693550348282,
0.010267765261232853,
0.06820794939994812,
0.05807733163237572,
-0.05928422883152962,
0.029294675216078758,
0.010999217629432678,
-0.04396029934287071,
0.010532916523516178,
0.055809829384088516,
0.00723680853843689,
0.012727274559438229,
0.03534744307398796,
-0.012206114828586578,
-0.03362853080034256,
0.052664585411548615,
-0.03602403774857521,
-0.06879311054944992,
-0.01803944818675518,
-0.00175091449636966,
-0.049263328313827515,
-0.018578894436359406,
-0.057638462632894516,
-0.019474923610687256,
0.01871604286134243,
0.011182080954313278,
-0.0026789449620991945,
-0.004589864984154701,
-0.03876698389649391,
0.010752352885901928,
0.024320797994732857,
0.05917451158165932,
0.022144725546240807,
0.03880355879664421,
-0.052993737161159515,
0.011502091772854328,
0.020901257172226906,
0.0054584648460149765,
-0.09128528088331223,
0.02993469499051571,
0.06659875810146332,
0.01541536208242178,
0.03679206222295761,
0.020242949947714806,
-0.026314005255699158,
0.0024823672138154507,
0.007716824300587177,
-0.0015257643535733223,
-0.04469175264239311,
0.03825496882200241,
0.04088819772005081,
-0.023516200482845306,
0.027356324717402458,
0.03269593045115471,
-0.07193835824728012,
-0.051713693886995316,
-0.03624347224831581,
0.015634797513484955,
0.004539577290415764,
0.012745561078190804,
-0.005965909920632839,
-0.052847448736429214,
-0.015927379950881004,
0.021980149671435356,
-0.020425813272595406,
-0.0024435087107121944,
-0.07958203554153442,
-0.048934176564216614,
0.012132968753576279,
-0.0072505236603319645,
0.005924765486270189,
-0.03607889637351036,
0.01604624092578888,
-0.006912226788699627,
0.05836991220712662,
0.006327064707875252,
0.010432342067360878,
-0.013915885239839554,
-0.019328633323311806,
0.013349008746445179,
-0.024375656619668007,
0.03468913584947586,
0.05639499053359032,
0.04491118714213371,
-0.02909352444112301,
-0.0066516464576125145,
-0.004567007068544626,
0.03251306712627411,
0.07746082544326782,
0.06568443775177002,
0.07106061279773712,
-0.022547025233507156,
0.09728319197893143,
-0.020005227997899055,
0.01489420235157013,
0.03957158327102661,
0.016018811613321304,
0.03348224237561226,
-0.0027475187089294195,
0.014491903595626354,
-0.03278736025094986,
-0.0037372654769569635,
0.07248694449663162,
0.03481714054942131,
-0.018889762461185455,
0.011291799135506153,
-0.0019292060751467943,
-0.03125131130218506,
0.023095615208148956,
-0.03611547127366066,
0.03474399447441101,
0.03949843719601631,
-0.012480408884584904,
-0.005188741721212864,
0.013559301383793354,
0.013888454996049404,
0.014135320670902729,
-0.00769853824749589,
0.022400734946131706,
-0.05602926388382912,
-0.056138984858989716,
0.04268025606870651,
-0.005883621517568827,
0.07709509879350662,
-0.011758100241422653,
0.03510972112417221,
-0.020809825509786606,
0.003894984954968095,
0.006912226788699627,
-0.0031269595492631197,
-0.00813283771276474,
0.010505487211048603,
-0.03222048655152321,
0.08323930203914642,
-0.024887673556804657,
0.07212122529745102,
0.007319096941500902,
0.0056001837365329266,
-0.06480669975280762,
-0.0022515023592859507,
0.005385319236665964,
-0.026368863880634308,
-0.0050698802806437016,
-0.04183908551931381,
0.06495298445224762,
0.054602932184934616,
-0.058004189282655716,
0.04403344541788101,
0.005083595402538776,
-0.07819227874279022,
0.013888454996049404,
-0.017408570274710655,
-0.009358021430671215,
-0.03090387023985386,
0.05752874165773392,
-0.009408308193087578,
0.006185345817357302,
-0.025801988318562508,
-0.03150731697678566,
-0.00840713270008564,
-0.002450366038829088,
-0.0008125980966724455,
-0.06049112603068352,
0.09333334863185883,
0.03854754939675331,
-0.048751313239336014,
-0.03993730992078781,
-0.009097441099584103,
0.023699061945080757,
0.02909352444112301,
0.00835227407515049,
-0.00811455212533474,
-0.0006583072827197611,
0.008480277843773365,
0.012964996509253979,
-0.01787487231194973,
-0.01721656508743763,
0.011913533322513103,
0.007488245610147715
]
|
41,745 | tokenize_rt | Offset | Offset(line, utf8_byte_offset) | class Offset(NamedTuple):
line: int | None = None
utf8_byte_offset: int | None = None
| (line: int | None = None, utf8_byte_offset: int | None = None) | [
0.00952672678977251,
-0.0003481606545392424,
-0.014454054646193981,
0.06827627867460251,
-0.005995195358991623,
-0.05367927998304367,
-0.003193093230947852,
0.06222222372889519,
-0.01482402440160513,
-0.05145946145057678,
0.023795796558260918,
0.01962522603571415,
0.015311711467802525,
0.021710511296987534,
0.006150750909000635,
0.07305224984884262,
-0.01711111143231392,
0.027545945718884468,
-0.04812972992658615,
0.04957597702741623,
-0.006957957986742258,
0.02147507481276989,
0.03914954885840416,
0.036458857357501984,
-0.01104864850640297,
0.011090691201388836,
0.008412612602114677,
-0.01436156127601862,
0.05334294214844704,
-0.09847927838563919,
-0.022416817024350166,
-0.06158318370580673,
-0.029917117208242416,
0.02132372371852398,
-0.026183784008026123,
-0.04315195232629776,
0.021760961040854454,
0.028891291469335556,
-0.020634233951568604,
-0.01742222160100937,
0.010106907226145267,
-0.0037270269822329283,
-0.017169971019029617,
-0.03087567538022995,
0.010157357901334763,
-0.007252252195030451,
-0.01127567607909441,
-0.06592192500829697,
-0.07937537878751755,
0.012789188884198666,
0.028218619525432587,
0.013613213784992695,
0.026806006208062172,
-0.027007808908820152,
0.007201801985502243,
-0.01905345357954502,
0.024535736069083214,
0.03884684666991234,
-0.06168408319354057,
0.041537538170814514,
-0.023812612518668175,
0.05455375462770462,
0.032641440629959106,
-0.02275315299630165,
0.00009255818440578878,
-0.052165765315294266,
0.05492372438311577,
-0.04580900818109512,
-0.027730930596590042,
0.017809009179472923,
0.04527087137103081,
0.03180060163140297,
-0.046515315771102905,
0.009905105456709862,
0.017220420762896538,
0.0030123123433440924,
-0.02219819836318493,
0.04994594678282738,
0.05707627534866333,
-0.006852853111922741,
-0.022130930796265602,
0.01436156127601862,
0.0005701952031813562,
0.032036036252975464,
0.017993994057178497,
-0.004586786963045597,
0.04506906867027283,
-0.004321922082453966,
-0.014958558604121208,
0.08812011778354645,
-0.024384384974837303,
0.024064864963293076,
-0.04614534601569176,
0.03484444320201874,
0.012528528459370136,
-0.02599879913032055,
0.05939699709415436,
0.007235435303300619,
-0.048566967248916626,
0.015345345251262188,
-0.0026507508009672165,
-0.03082522563636303,
-0.006403002887964249,
-0.033112313598394394,
-0.05388108268380165,
-0.00976216234266758,
0.013033033348619938,
-0.0012223724042996764,
0.023291291669011116,
-0.04093213379383087,
0.003939339425414801,
-0.06740180402994156,
-0.035315316170454025,
0.0432528518140316,
0.014798798598349094,
0.006861261557787657,
-0.005864865146577358,
-0.008177177049219608,
0.01076276320964098,
0.011124324053525925,
0.06514834612607956,
0.004834834951907396,
-0.04419459402561188,
0.028538137674331665,
-0.006512312218546867,
-0.012578979134559631,
0.06740180402994156,
0.03437357395887375,
0.045136336237192154,
-0.046515315771102905,
0.03655976057052612,
-0.004830630496144295,
0.00690750777721405,
-0.006129729561507702,
-0.015261261723935604,
0.02722642756998539,
0.07385946065187454,
0.00950150191783905,
-0.11267267167568207,
0.01587507501244545,
0.03284324333071709,
0.026536937803030014,
0.04459819942712784,
-0.03514714911580086,
-0.0552600622177124,
0.010855255648493767,
-0.01088888943195343,
-0.03339819982647896,
-0.01977657712996006,
0.02702462486922741,
-0.03212011978030205,
-0.056739941239356995,
-0.044060058891773224,
0.06498017907142639,
-0.012965765781700611,
-0.04443002864718437,
-0.015278078615665436,
-0.0760120153427124,
0.036391593515872955,
-0.008694294840097427,
-0.010905705392360687,
-0.04977777972817421,
0.031111111864447594,
-0.028504503890872,
-0.018582582473754883,
0.0795099139213562,
-0.04685165360569954,
-0.06719999760389328,
-0.023644445464015007,
-0.05159399285912514,
0.022114114835858345,
0.03359999880194664,
0.0450018011033535,
0.04971051216125488,
0.027545945718884468,
0.012183783575892448,
-0.03460900858044624,
0.03797237202525139,
-0.004252552520483732,
-0.08065345138311386,
0.041638437658548355,
0.019356155768036842,
-0.008059459738433361,
-0.0033591592218726873,
0.03317958116531372,
0.025981981307268143,
0.012906907126307487,
0.056739941239356995,
0.05462102219462395,
-0.025511112064123154,
0.022568168118596077,
0.002259759698063135,
0.014546547085046768,
-0.005288889165967703,
-0.008324324153363705,
0.02872312255203724,
0.04580900818109512,
0.017439039424061775,
0.03507988154888153,
-0.029294895008206367,
-0.030488889664411545,
0.011502702720463276,
-0.0038048047572374344,
0.00488108117133379,
-0.020684685558080673,
0.02757957950234413,
0.04668348282575607,
0.017119519412517548,
-0.16103783249855042,
0.04516997188329697,
0.026536937803030014,
-0.043118320405483246,
0.03787147253751755,
0.002846246352419257,
0.030018018558621407,
-0.07466666400432587,
-0.07089970260858536,
0.0251243244856596,
0.0158162172883749,
0.053914714604616165,
0.14341381192207336,
-0.004683483392000198,
0.03047207184135914,
-0.021592792123556137,
0.09585585445165634,
-0.015278078615665436,
-0.007344744633883238,
-0.045640841126441956,
0.012158558703958988,
-0.030421622097492218,
0.03144744783639908,
-0.05354474484920502,
-0.01870029978454113,
-0.0021336337085813284,
0.047591593116521835,
0.02635195292532444,
0.019709309563040733,
-0.03827507421374321,
-0.03743423521518707,
-0.036189790815114975,
-0.046918921172618866,
0.03437357395887375,
0.020987387746572495,
0.05280480533838272,
0.02450210228562355,
-0.016766365617513657,
-0.005259459372609854,
0.034810811281204224,
-0.017094293609261513,
0.019507506862282753,
-0.012696696445345879,
0.0404948964715004,
0.019019819796085358,
0.03122882917523384,
0.06370209902524948,
-0.025662463158369064,
-0.031867869198322296,
-0.053141143172979355,
-0.00506186205893755,
0.01523603592067957,
-0.03780420497059822,
-0.04530450329184532,
0.028269069269299507,
-0.014067267067730427,
0.02450210228562355,
0.028420420363545418,
-0.01558918971568346,
-0.011864264495670795,
0.002249249257147312,
0.031985584646463394,
0.04957597702741623,
0.05832071974873543,
-0.027596397325396538,
0.01588348299264908,
-0.043017417192459106,
-0.05832071974873543,
0.025830630213022232,
-0.018969370052218437,
0.04506906867027283,
-0.011712913401424885,
0.006352552678436041,
-0.02650330401957035,
-0.026940541341900826,
0.001648048055358231,
0.041638437658548355,
0.01937297359108925,
0.00031478979508392513,
-0.013394595123827457,
-0.02317357435822487,
-0.04110030084848404,
0.04678438603878021,
-0.015606006607413292,
-0.01834714785218239,
-0.03635795786976814,
0.07803002744913101,
0.02327447384595871,
-0.015168769285082817,
0.09518318623304367,
0.027394594624638557,
-0.038813214749097824,
-0.026368768885731697,
-0.018969370052218437,
0.018044443801045418,
0.025107508525252342,
0.01384024042636156,
0.03230510652065277,
0.018431231379508972,
0.012343543581664562,
-0.022265465930104256,
-0.007462462410330772,
0.011847447603940964,
0.011267267167568207,
-0.04022582620382309,
-0.021542342379689217,
-0.0059825824573636055,
0.011023423634469509,
-0.025763364508748055,
0.03565165027976036,
0.011384985409677029,
0.060136936604976654,
-0.0005943693686276674,
-0.09188708662986755,
0.009711711667478085,
-0.06158318370580673,
0.012091291137039661,
-0.019759759306907654,
-0.005230030044913292,
-0.054688289761543274,
0.0334990993142128,
0.014159759506583214,
-0.012595796026289463,
-0.03144744783639908,
-0.02855495549738407,
0.018229428678750992,
-0.012192192487418652,
-0.0054192193783819675,
-0.036492493003606796,
0.015067867934703827,
-0.00590690691024065,
-0.038510512560606,
0.059565164148807526,
-0.026806006208062172,
0.0052552553825080395,
0.013478678651154041,
0.05297297239303589,
-0.020062463358044624,
-0.012755556032061577,
-0.00647447444498539,
0.0552600622177124,
0.08986906707286835,
0.025645645335316658,
-0.0022366365883499384,
-0.04762522503733635,
-0.009476276114583015,
0.0652492493391037,
0.016968168318271637,
0.00020942192350048572,
-0.059565164148807526,
0.02958078123629093,
0.050315916538238525,
-0.008261261507868767,
-0.057917118072509766,
0.022938137874007225,
-0.046616215258836746,
-0.016976576298475266,
-0.04332011938095093,
-0.033263664692640305,
-0.003924624528735876,
-0.004355555400252342,
0.06077597662806511,
-0.06471110880374908,
0.013907507993280888,
0.005410810932517052,
-0.03995675593614578,
-0.01243603602051735,
-0.03595435619354248,
-0.016808409243822098,
0.09229069203138351,
-0.11778498440980911,
-0.06928528845310211,
0.007891291752457619,
-0.035987988114356995,
-0.0048264265060424805,
0.06841081380844116,
-0.03830870985984802,
0.02922762744128704,
-0.009425826370716095,
-0.0007530780858360231,
-0.05983423441648483,
0.09397237002849579,
-0.0213741734623909,
0.005356156267225742,
-0.010712312534451485,
-0.05203123018145561,
0.004565765615552664,
0.03282642737030983,
-0.014193393290042877,
-0.004351351410150528,
-0.021508708596229553,
-0.03504624590277672,
0.02942943014204502,
-0.016917718574404716,
-0.043488290160894394,
0.03196876868605614,
0.002938738791272044,
-0.0008639639709144831,
-0.011897898279130459,
0.021643243730068207,
-0.056168168783187866,
0.03055615723133087,
-0.023240841925144196,
-0.01484924927353859,
0.029984384775161743,
-0.054116517305374146,
0.009064264595508575,
-0.06097777932882309,
-0.014285885728895664,
-0.0020327328238636255,
-0.006764564663171768,
-0.021660059690475464,
-0.03235555440187454,
-0.04284925013780594,
-0.018464865162968636,
0.014605405740439892,
0.0017605104949325323,
-0.04863423481583595,
-0.0271255262196064,
0.0005791291478089988,
0.026133334264159203,
0.028487687930464745,
0.004855855833739042,
-0.07002522796392441,
0.027142342180013657,
0.006684684660285711,
-0.010132132098078728,
-0.0004892642609775066,
0.0047675673849880695,
-0.05055135115981102,
0.041739340871572495,
0.02722642756998539,
0.02522522583603859,
0.07177417725324631,
0.07809729874134064,
0.003415915882214904,
0.0409994013607502,
-0.005280480720102787,
-0.0560000017285347,
0.020785585045814514,
0.018733933568000793,
0.005478078033775091,
0.008151952177286148,
0.0055117118172347546,
-0.012528528459370136,
-0.03432312235236168,
0.027411412447690964,
-0.07480119913816452,
-0.07729008793830872,
-0.03339819982647896,
0.005616816692054272,
-0.023240841925144196,
-0.01684204302728176,
0.037938740104436874,
0.010577778331935406,
-0.0787699744105339,
0.007029429543763399,
-0.008635435253381729,
0.014058859087526798,
-0.03195195272564888,
-0.04123483598232269,
-0.05953153222799301,
0.011191591620445251,
-0.029816215857863426,
-0.0231231227517128,
-0.009980781003832817,
0.0669981986284256,
0.007786186411976814,
0.00794174149632454,
-0.0028546545654535294,
-0.021306907758116722,
-0.02275315299630165,
0.005154354497790337,
-0.05310750752687454,
-0.00004900525527773425,
-0.025830630213022232,
-0.007433033082634211,
0.02497297339141369,
0.008370570838451385,
-0.025763364508748055,
-0.024619819596409798,
-0.002134684706106782,
-0.016942942515015602,
0.08603483438491821,
-0.0033255256712436676,
-0.056739941239356995,
0.055461861193180084,
0.043488290160894394,
0.03366726636886597,
0.016833633184432983,
-0.026721922680735588,
-0.04372372478246689,
-0.020415615290403366,
-0.01905345357954502,
0.008357957936823368,
-0.09464504569768906,
-0.013033033348619938,
-0.027445046231150627,
0.04987867921590805,
-0.02892492525279522,
0.005066066049039364,
-0.03215375542640686,
-0.016623424366116524,
0.026267867535352707,
0.01117477472871542,
0.0011109609622508287,
-0.003401201218366623,
0.05536096170544624,
-0.001818318385630846,
-0.012385585345327854,
0.0015481981681659818,
-0.01384024042636156,
0.017506306990981102,
0.03555075079202652,
0.0347435437142849,
-0.02912672609090805,
-0.014538138173520565,
-0.02352672629058361,
-0.002865165239199996,
-0.014184985309839249,
0.01551351323723793,
0.006949549540877342,
0.014546547085046768,
-0.03385225310921669,
-0.015437837690114975,
-0.06719999760389328,
0.05115675553679466,
0.013630029745399952,
0.01536216214299202,
0.05438558757305145,
-0.01153633650392294,
0.045640841126441956,
0.016732733696699142,
-0.002373273251578212,
-0.042815614491701126,
-0.042613815516233444,
0.0026171172503381968,
0.017043843865394592,
-0.034541741013526917,
-0.011242042295634747,
-0.00022531907598022372,
0.02835315279662609,
-0.016303904354572296,
-0.049912311136722565,
0.011443844065070152,
0.022215014323592186,
-0.0008245495846495032,
0.019356155768036842,
-0.03679519519209862,
-0.012108108028769493,
0.0184984989464283,
0.037165164947509766,
0.01737177185714245,
0.0495087094604969,
-0.007853453978896141,
0.008025825954973698,
-0.04658258333802223,
0.03615615516901016,
-0.02835315279662609,
-0.042243845760822296,
-0.01607687771320343,
0.054587386548519135,
-0.020819218829274178,
0.04772612825036049,
0.004057057201862335,
0.02667147107422352,
-0.010905705392360687,
-0.02969849854707718,
-0.01603483408689499,
-0.00696216244250536,
0.036862462759017944,
-0.014891291037201881,
0.034541741013526917,
0.06982342153787613,
0.03941861912608147,
-0.024468468502163887,
0.042613815516233444,
0.03723243251442909,
0.007050450425595045,
0.012393994256854057,
-0.010922522284090519,
-0.005612612701952457,
0.009123123250901699,
-0.08011531829833984,
0.010779580101370811,
0.018263062462210655,
0.0073279282078146935,
-0.009257657453417778,
-0.01536216214299202,
-0.010611411184072495,
-0.018212612718343735,
-0.01482402440160513,
-0.006873873993754387,
0.015858259052038193,
-0.040763963013887405,
0.04167207330465317,
0.04439639672636986,
0.0014157657278701663,
0.008084684610366821,
0.00839999970048666,
-0.015034234151244164,
0.03908228129148483,
0.037266068160533905,
-0.028992192819714546,
-0.0002619744627736509,
-0.06343303620815277,
-0.05980060249567032,
-0.03391952067613602,
0.019557958468794823,
-0.0017825826071202755,
-0.02954714745283127,
-0.004330330528318882,
-0.0034495496656745672,
0.03827507421374321,
-0.022013213485479355,
-0.0034327327739447355,
0.003069069003686309,
0.024418018758296967,
0.017556756734848022,
-0.0017016517231240869,
0.04069669544696808,
-0.040864866226911545,
-0.007975375279784203,
0.07836636900901794,
-0.009509909898042679,
-0.048936937004327774,
-0.03149789944291115,
-0.0022954954765737057,
-0.06393753737211227,
-0.05754714831709862,
-0.001645945943892002,
0.05179579555988312,
-0.005839639808982611,
0.03740059956908226,
-0.009207207709550858,
0.014815615490078926,
-0.025292493402957916,
0.019692493602633476,
-0.0013369369553402066,
-0.06592192500829697,
0.0347435437142849,
-0.009207207709550858,
0.017859458923339844,
0.05969969928264618,
0.02497297339141369,
0.013285285793244839,
-0.008660661056637764,
0.033112313598394394,
-0.06642642617225647,
0.0058900900185108185,
-0.000359196710633114,
-0.025662463158369064,
-0.03370090201497078,
-0.05357838049530983,
0.0013159159570932388,
-0.011670870706439018,
0.007706306409090757,
-0.011099099181592464,
-0.002600300358608365,
0.01710270345211029,
0.06518198549747467,
-0.02779819816350937,
-0.033768169581890106,
0.061314113438129425,
0.028033634647727013,
-0.020634233951568604,
0.013663663528859615,
-0.05061861872673035,
0.05105585604906082,
-0.007655855733901262,
0.01632913015782833,
-0.0024237236939370632,
0.04469909891486168,
0.04130210354924202,
0.012553754262626171,
-0.03353273123502731,
-0.022921321913599968,
0.05906066298484802,
-0.021105105057358742,
0.019608408212661743,
0.06709910184144974,
-0.01942342333495617,
0.044968169182538986,
-0.017691291868686676,
0.0016953453887254,
0.038813214749097824,
-0.040763963013887405,
-0.015429429709911346,
0.017993994057178497,
-0.05270390585064888,
0.025931531563401222,
0.0035399398766458035,
0.0034096096642315388,
-0.015748949721455574,
-0.0010389640228822827,
0.01648888923227787,
-0.018986186012625694,
-0.0007241741986945271,
-0.00888768769800663,
-0.023207208141684532,
-0.008879279717803001,
0.06262582540512085,
-0.024989789351820946,
0.043118320405483246,
-0.0268732737749815,
-0.07870270311832428,
0.02290450409054756,
0.031060660257935524,
-0.0065039037726819515,
0.038510512560606,
-0.028084084391593933,
0.06269309669733047,
-0.02584744803607464,
0.025965165346860886,
-0.0003463213215582073,
0.06767087429761887,
-0.05892612785100937,
-0.007660060189664364,
-0.06756997108459473,
-0.02307267300784588,
-0.1147579625248909,
0.042412012815475464,
0.0033423423301428556,
0.010476876981556416,
-0.03713153302669525,
-0.004130630753934383,
0.0068192193284630775,
0.040461260825395584,
-0.0502486489713192,
-0.02742822840809822,
0.03733333200216293,
0.025191592052578926,
-0.024939339607954025,
0.05485645681619644,
-0.02234954945743084,
0.050013214349746704,
-0.03777056932449341,
0.011107507161796093,
0.016606606543064117,
0.05660540610551834,
-0.027108708396553993,
0.041739340871572495,
0.02615015022456646,
0.05640360340476036,
-0.04110030084848404,
0.019036637619137764,
-0.0025981981307268143,
-0.06134774908423424,
0.042714715003967285,
0.011754955165088177,
-0.017136337235569954,
0.010586186312139034,
-0.06935255229473114,
0.02065105177462101,
-0.013125525787472725,
0.0495087094604969,
-0.025309309363365173,
-0.008812012150883675,
-0.03205285221338272,
0.07163964211940765
]
|
41,747 | namedtuple_Offset | __new__ | Create new instance of Offset(line, utf8_byte_offset) | from builtins import function
| (_cls, line: ForwardRef('int | None') = None, utf8_byte_offset: ForwardRef('int | None') = None) | [
0.009987438097596169,
-0.03448875993490219,
0.019406022503972054,
0.011531468480825424,
0.012425380758941174,
0.06140364706516266,
-0.0008573431405238807,
0.005846999119967222,
-0.012457886710762978,
-0.02476949617266655,
-0.015155876986682415,
0.03673166781663895,
0.0068709347397089005,
0.005513813346624374,
-0.06845743209123611,
-0.00024112776736728847,
0.03549644351005554,
0.0906914621591568,
-0.028101351112127304,
-0.002236812375485897,
-0.06644206494092941,
0.018658388406038284,
0.036829184740781784,
-0.01482269074767828,
0.03001919947564602,
0.1003132089972496,
0.037869375199079514,
-0.04498816654086113,
0.010848844423890114,
-0.052789583802223206,
-0.010718820616602898,
-0.04229017719626427,
0.004028700292110443,
-0.0029092782642692327,
-0.0009629873093217611,
-0.04924644157290459,
0.023127948865294456,
0.04050235450267792,
-0.061208613216876984,
-0.07209809124469757,
0.03507386893033981,
0.01135268621146679,
-0.011247041635215282,
0.003183546708896756,
-0.008768467232584953,
-0.00689125107601285,
-0.02332298457622528,
-0.0341637022793293,
0.01773197017610073,
0.010336876846849918,
0.006306144874542952,
-0.037056729197502136,
0.06715719401836395,
-0.014066928997635841,
-0.015350911766290665,
0.07482858747243881,
0.01045877393335104,
0.019666070118546486,
-0.03968970477581024,
0.04989656060934067,
-0.03315601870417595,
0.023810572922229767,
-0.026394791901111603,
-0.041997626423835754,
0.028020087629556656,
0.03588651493191719,
-0.04352540150284767,
-0.017244379967451096,
-0.057340409606695175,
0.029889175668358803,
-0.06107858940958977,
0.014042549766600132,
0.0058510624803602695,
-0.030230488628149033,
0.055910151451826096,
-0.01782948710024357,
-0.09316191077232361,
-0.01740691065788269,
0.009174791164696217,
-0.022039001807570457,
0.01517212949693203,
-0.036829184740781784,
-0.012864210642874241,
0.033643607050180435,
-0.027678774669766426,
-0.040534857660532,
-0.03799939900636673,
0.001794935204088688,
-0.012669174931943417,
0.009207296185195446,
-0.05431736260652542,
-0.016456112265586853,
-0.0481412410736084,
0.027044910937547684,
0.003520795376971364,
-0.006586508359760046,
0.01877215877175331,
-0.02301417849957943,
0.03377363085746765,
-0.04784868657588959,
0.061858732253313065,
0.01950354129076004,
0.007000958546996117,
-0.05464242026209831,
0.040567364543676376,
0.04784868657588959,
0.00470929266884923,
0.015342785976827145,
-0.023599283769726753,
0.007021274883300066,
-0.046515945345163345,
0.010028070770204067,
0.016919322311878204,
-0.014497632160782814,
-0.004473624750971794,
-0.03289597108960152,
0.02541961520910263,
0.004266399424523115,
0.02199024148285389,
0.012766692787408829,
0.01708185113966465,
0.04313533008098602,
0.0028523928485810757,
-0.010182473808526993,
0.10252360999584198,
0.05483745411038399,
0.02296542003750801,
0.013953158631920815,
0.05096925422549248,
-0.0007715072715654969,
0.004384233616292477,
0.028020087629556656,
-0.04573580250144005,
0.03250590339303017,
-0.04560577869415283,
-0.010588797740638256,
-0.01585475355386734,
0.0447281189262867,
0.005964832846075296,
0.03832445666193962,
-0.041997626423835754,
0.0013682952849194407,
0.04118497669696808,
-0.009126031771302223,
-0.036406610161066055,
-0.014050675556063652,
-0.003236368764191866,
0.02959662303328514,
0.0005774876335635781,
0.011173903942108154,
-0.0058510624803602695,
0.031904540956020355,
0.031937047839164734,
0.020478717982769012,
0.005278145894408226,
0.05018911138176918,
0.05301712453365326,
-0.05262705311179161,
0.016634894534945488,
-0.053439702838659286,
0.012547277845442295,
0.07105790078639984,
-0.06007090583443642,
-0.014522011391818523,
0.017016839236021042,
-0.01410756167024374,
0.023989355191588402,
-0.036959208548069,
0.021795207634568214,
0.004071364179253578,
-0.014660161919891834,
-0.04261523857712746,
0.018317075446248055,
0.04560577869415283,
0.0633540004491806,
0.037869375199079514,
-0.04524821415543556,
0.09023638069629669,
0.005241576582193375,
0.029060276225209236,
-0.0034639101941138506,
0.0009589241235516965,
-0.11110517382621765,
0.00977614987641573,
0.015789741650223732,
0.05022161826491356,
0.040534857660532,
-0.02060874179005623,
0.026573574170470238,
-0.03565897420048714,
-0.029434094205498695,
0.011986550875008106,
0.052497029304504395,
0.013205522671341896,
-0.006318334490060806,
-0.06793733686208725,
-0.05919324606657028,
0.0022510336712002754,
-0.009597367607057095,
0.0010102224769070745,
-0.005107489880174398,
0.01781323365867138,
0.022819142788648605,
0.05613769218325615,
0.00741134537383914,
0.004229830577969551,
-0.02790631726384163,
0.006436168681830168,
-0.06276889890432358,
-0.02229904755949974,
0.04632091149687767,
-0.059778351336717606,
0.010133714415133,
0.07339832931756973,
-0.001040188828483224,
0.007716088555753231,
0.02121010050177574,
-0.011060132645070553,
0.009288561530411243,
0.009759897366166115,
0.07073283940553665,
0.028458917513489723,
0.009719264693558216,
-0.024184390902519226,
0.09621746838092804,
0.005960769485682249,
-0.01062130369246006,
0.018057027831673622,
0.004146534018218517,
-0.011677744798362255,
0.0557476207613945,
-0.012782946228981018,
-0.00940233189612627,
-0.023404249921441078,
0.006716531701385975,
-0.033221032470464706,
0.03910459950566292,
0.04918142780661583,
0.007691708859056234,
0.007752657402306795,
-0.0006435152608901262,
0.040534857660532,
0.04989656060934067,
0.04599585011601448,
0.0240706205368042,
0.006147678475826979,
0.013774375431239605,
0.03998225927352905,
-0.061891235411167145,
-0.0030718077905476093,
0.015692224726080894,
-0.027126174420118332,
0.015383417718112469,
-0.029466599225997925,
0.007716088555753231,
0.007472293917089701,
0.019942371174693108,
0.002507017692551017,
0.018382087349891663,
-0.004485814366489649,
-0.00873596128076315,
-0.047946203500032425,
-0.033269789069890976,
0.0019818441942334175,
-0.04541074484586716,
-0.03209957852959633,
-0.03102688305079937,
0.048596322536468506,
0.014326975680887699,
-0.0019249588949605823,
0.04576830938458443,
-0.024119378998875618,
-0.004380170255899429,
0.005623520817607641,
-0.06228130683302879,
0.01916222833096981,
-0.011433950625360012,
0.014140067622065544,
0.046580955386161804,
-0.03591902181506157,
0.01183214783668518,
0.01706559769809246,
-0.08210990577936172,
0.013684984296560287,
-0.0823049396276474,
0.007569811772555113,
0.01062130369246006,
-0.051359325647354126,
0.01885342225432396,
-0.004233893472701311,
0.03734927996993065,
0.0041018384508788586,
0.04173757880926132,
0.008687201887369156,
0.0656944289803505,
0.07456853985786438,
-0.022120265290141106,
-0.06517433375120163,
0.06276889890432358,
0.005591014865785837,
0.006761227734386921,
-0.03910459950566292,
-0.01851211115717888,
0.02723994478583336,
-0.024119378998875618,
-0.045085687190294266,
0.06062350794672966,
-0.008874110877513885,
-0.08041960000991821,
0.017992015928030014,
-0.030945617705583572,
-0.007049717474728823,
-0.053829774260520935,
-0.04079490527510643,
0.04300530627369881,
0.03131943568587303,
-0.023778067901730537,
0.018008269369602203,
-0.02342050150036812,
0.05054667592048645,
-0.017959510907530785,
-0.00454676290974021,
0.07053780555725098,
0.05470743402838707,
-0.020478717982769012,
-0.04014478996396065,
0.01984485238790512,
-0.04498816654086113,
0.056690290570259094,
0.03520389273762703,
-0.09251179546117783,
0.015919765457510948,
0.07924938946962357,
0.040664881467819214,
-0.014887702651321888,
0.06657208502292633,
0.02925531193614006,
0.014684541150927544,
-0.025614650920033455,
-0.012327862903475761,
-0.013530581258237362,
0.055617596954107285,
-0.002413563197478652,
0.008410901762545109,
-0.0330747552216053,
-0.0012636668980121613,
-0.038129422813653946,
0.01043439470231533,
0.10525410622358322,
-0.0731382817029953,
0.031872037798166275,
-0.030604306608438492,
-0.034358736127614975,
0.00031490091350860894,
0.03216458857059479,
0.036049045622348785,
-0.009711137972772121,
0.013319293037056923,
-0.02680111490190029,
-0.011409571394324303,
0.0663120374083519,
-0.062248799949884415,
-0.011596480384469032,
0.005656026769429445,
0.02231530100107193,
-0.005436611827462912,
0.021405136212706566,
0.014213205315172672,
0.019097216427326202,
-0.017927004024386406,
0.001064568292349577,
-0.025175821036100388,
-0.059388283640146255,
-0.04173757880926132,
-0.04768615588545799,
-0.024119378998875618,
0.02995418757200241,
0.004936833865940571,
-0.06231381371617317,
0.051781900227069855,
0.057372916489839554,
0.03448875993490219,
-0.0023505829740315676,
-0.033286042511463165,
0.005903884302824736,
0.003770684590563178,
-0.026573574170470238,
0.03213208541274071,
-0.032197095453739166,
0.014408241026103497,
-0.014668287709355354,
-0.011060132645070553,
0.017179368063807487,
0.012457886710762978,
0.008256498724222183,
-0.008849731646478176,
-0.02472073771059513,
-0.05643024668097496,
-0.0019980971701443195,
0.04033982381224632,
0.022802889347076416,
0.07086286693811417,
0.0013347736094146967,
0.04768615588545799,
0.016407353803515434,
-0.0034070247784256935,
0.0349438451230526,
0.016919322311878204,
0.017341898754239082,
-0.028150111436843872,
0.02470448426902294,
-0.050416652113199234,
-0.0970626249909401,
-0.061468660831451416,
0.001500350539572537,
0.024119378998875618,
-0.026281021535396576,
-0.04775116965174675,
-0.01771571673452854,
-0.03031175397336483,
0.027743786573410034,
-0.060851048678159714,
-0.011889033950865269,
0.04248521476984024,
-0.020722512155771255,
-0.03302599489688873,
0.000788268109317869,
0.015269647352397442,
-0.02615099772810936,
0.0324571430683136,
-0.047166064381599426,
0.011417698115110397,
-0.0051562488079071045,
-0.06163118779659271,
0.03578899800777435,
-0.024558208882808685,
-0.05483745411038399,
-0.004372043535113335,
0.0787292942404747,
0.01655363105237484,
0.041315000504255295,
0.05860814079642296,
0.020755019038915634,
-0.043720439076423645,
0.017179368063807487,
0.0005673295818269253,
-0.005530066322535276,
0.08445033431053162,
-0.014993347227573395,
-0.023209214210510254,
-0.00817523431032896,
-0.004081522114574909,
0.000427401828346774,
0.004863695707172155,
0.054577410221099854,
0.0006074540433473885,
-0.047166064381599426,
0.027044910937547684,
-0.011563974432647228,
-0.0042542098090052605,
-0.03578899800777435,
0.023209214210510254,
-0.03861701115965843,
-0.020494971424341202,
-0.02680111490190029,
0.09381203353404999,
-0.010377509519457817,
0.01878841035068035,
0.007569811772555113,
0.015123371034860611,
0.018967192620038986,
0.006517433095723391,
-0.03978722169995308,
-0.029450347647070885,
0.05275707691907883,
0.07183804363012314,
-0.059453293681144714,
-0.017536934465169907,
0.04459809511899948,
-0.02306293696165085,
-0.03211583197116852,
-0.05812055245041847,
0.017861992120742798,
0.02342050150036812,
-0.03458628058433533,
0.02122635394334793,
0.02579343318939209,
-0.016919322311878204,
0.01981234736740589,
-0.048628829419612885,
0.011035753414034843,
0.11806143075227737,
0.03419620916247368,
-0.02372930757701397,
0.026264768093824387,
0.013335546478629112,
-0.009857414290308952,
0.02823137491941452,
-0.013644352555274963,
-0.014879576861858368,
0.0019503540825098753,
0.034683797508478165,
-0.06787232309579849,
0.05828308314085007,
0.03845448046922684,
0.049311451613903046,
0.053862277418375015,
-0.026914887130260468,
-0.05122930184006691,
-0.04560577869415283,
-0.00017040202510543168,
0.01392065268009901,
-0.01813829317688942,
0.011840274557471275,
0.042745258659124374,
-0.02719118632376194,
-0.025159567594528198,
0.012149080634117126,
-0.07885931432247162,
0.005050604231655598,
0.010686314664781094,
-0.05470743402838707,
-0.04560577869415283,
-0.07840423285961151,
-0.009703011251986027,
-0.01953604631125927,
-0.027451233938336372,
0.038129422813653946,
-0.0009040703880600631,
0.040534857660532,
0.034293726086616516,
0.024135632440447807,
-0.0013886115048080683,
-0.01309175230562687,
-0.019633565098047256,
0.0967375636100769,
-0.060168422758579254,
-0.022754130885004997,
0.013010486960411072,
0.03027924709022045,
-0.0299704410135746,
-0.013693111017346382,
0.018642134964466095,
0.04391547292470932,
0.01916222833096981,
-0.021470148116350174,
-0.07528366893529892,
-0.014895829372107983,
-0.00885785836726427,
0.00972739141434431,
-0.029206551611423492,
-0.01912972331047058,
-0.016935573890805244,
0.0015643464867025614,
0.02964538149535656,
-0.055910151451826096,
0.004128249362111092,
-0.02645980380475521,
-0.047588638961315155,
-0.021470148116350174,
-0.01609042100608349,
0.0288814939558506,
0.011271421797573566,
0.026654839515686035,
-0.06806735694408417,
-0.005115616135299206,
0.008402775973081589,
0.0355614572763443,
0.007984261959791183,
-0.061533670872449875,
0.016147306188941002,
-0.004835252650082111,
0.06163118779659271,
-0.038194432854652405,
-0.04014478996396065,
0.07014773786067963,
0.024493196979165077,
-0.06462173163890839,
0.04105495288968086,
-0.042355190962553024,
-0.07248815894126892,
-0.025370856747031212,
0.005115616135299206,
-0.037121739238500595,
-0.027483738958835602,
-0.012409128248691559,
-0.010158094577491283,
0.052106961607933044,
0.009321067482233047,
-0.06663709878921509,
-0.004940897226333618,
-0.0034314042422920465,
0.007183804176747799,
-0.051749397069215775,
-0.012214092537760735,
-0.04105495288968086,
-0.04976653680205345,
0.0535697266459465,
-0.016252951696515083,
-0.047881193459033966,
0.009589240886271,
0.014749553054571152,
-0.0036487875040620565,
-0.028328893706202507,
0.04206263646483421,
0.030799342319369316,
0.0033460762351751328,
-0.022250289097428322,
-0.00722037348896265,
-0.01479831151664257,
-0.032619673758745193,
-0.029905429109930992,
-0.02335548959672451,
-0.017325645312666893,
0.06566192209720612,
0.05252953618764877,
0.022429071366786957,
-0.011401444673538208,
-0.004684912972152233,
0.028361398726701736,
-0.04359041526913643,
0.013449316844344139,
-0.01588725857436657,
-0.02195773646235466,
0.07274820655584335,
0.02654106914997101,
0.025500880554318428,
0.005387853365391493,
0.05617019906640053,
0.0017360183410346508,
-0.0447281189262867,
-0.010588797740638256,
0.0883510410785675,
-0.06276889890432358,
-0.014977093786001205,
-0.02444443851709366,
0.006846555508673191,
0.01097886823117733,
-0.010019944049417973,
0.014855196699500084,
-0.010149967856705189,
-0.022900408133864403,
-0.024233149364590645,
-0.03926713019609451,
0.02749999240040779,
0.013717490248382092,
-0.04417552053928375,
0.003642692696303129,
0.047166064381599426,
-0.05470743402838707,
0.007553558796644211,
0.02715868130326271,
-0.0042379568330943584,
0.08067964762449265,
-0.02472073771059513,
-0.025533385574817657,
-0.00340499309822917,
-0.052106961607933044,
0.07339832931756973,
-0.03825944662094116,
-0.007691708859056234,
-0.024834508076310158,
-0.024639474228024483,
0.06702716648578644,
0.005014035385102034,
-0.040209800004959106,
0.013806881383061409,
-0.03237587958574295,
-0.004351727664470673,
-0.007667329628020525,
0.02962912991642952,
-0.0341637022793293,
0.0040794904343783855,
-0.0543498657643795,
-0.02608598582446575,
0.018300822004675865,
0.02751624584197998,
0.05786050483584404,
0.0009604478254914284,
-0.003126661293208599,
-0.043037813156843185,
-0.023209214210510254,
-0.020624995231628418,
-0.056560270488262177,
-0.03721925616264343,
0.013449316844344139,
-0.04121748358011246,
0.03232711926102638,
-0.003963688388466835,
-0.032245855778455734,
-0.0017634452087804675,
0.0018802632112056017,
-0.026719851419329643,
-0.02504579722881317,
-0.0226728655397892,
0.03809691593050957,
-0.011921538971364498,
-0.027288705110549927,
0.002153516048565507,
-0.017569439485669136,
0.033269789069890976,
0.014977093786001205,
0.005050604231655598,
-0.004008383955806494,
0.02476949617266655,
-0.03903958946466446,
-0.03133568912744522,
-0.02199024148285389,
-0.04072989523410797,
0.026020973920822144,
0.01239287480711937,
-0.030604306608438492,
-0.01648861914873123,
0.030896859243512154,
0.04209514334797859,
-0.05262705311179161,
-0.02964538149535656,
0.07885931432247162,
0.030506787821650505,
-0.00977614987641573,
0.028653951361775398,
-0.037154246121644974,
0.03754431754350662,
0.015399671159684658,
0.06982267647981644,
0.02366429567337036,
-0.06007090583443642,
0.018008269369602203,
-0.044858142733573914,
0.01585475355386734,
-0.004136376082897186,
0.03377363085746765,
-0.04043734073638916,
0.06283390522003174,
0.012685428373515606,
-0.020364947617053986,
-0.010369382798671722,
0.02959662303328514,
-0.020397452637553215,
-0.03380613774061203,
-0.03877954185009003,
-0.06302894651889801,
0.002104757120832801,
-0.015180256217718124,
0.024623220786452293,
-0.019422275945544243,
0.021746447309851646,
-0.024655725806951523,
0.024883268401026726,
0.07248815894126892,
0.006115172524005175,
0.048628829419612885,
0.02299792505800724,
-0.019292252138257027,
0.045865826308727264,
-0.016066042706370354,
-0.01776447519659996,
0.004126217681914568,
-0.03179077059030533,
-0.02758125774562359,
-0.09940304607152939,
0.031481966376304626,
-0.015724729746580124,
-0.02548462711274624,
0.05617019906640053,
-0.02964538149535656,
0.003228242276236415,
0.01674054004251957
]
|
41,750 | collections | _replace | Return a new Offset object replacing specified fields with new values | def namedtuple(typename, field_names, *, rename=False, defaults=None, module=None):
"""Returns a new subclass of tuple with named fields.
>>> Point = namedtuple('Point', ['x', 'y'])
>>> Point.__doc__ # docstring for the new class
'Point(x, y)'
>>> p = Point(11, y=22) # instantiate with positional args or keywords
>>> p[0] + p[1] # indexable like a plain tuple
33
>>> x, y = p # unpack like a regular tuple
>>> x, y
(11, 22)
>>> p.x + p.y # fields also accessible by name
33
>>> d = p._asdict() # convert to a dictionary
>>> d['x']
11
>>> Point(**d) # convert from a dictionary
Point(x=11, y=22)
>>> p._replace(x=100) # _replace() is like str.replace() but targets named fields
Point(x=100, y=22)
"""
# Validate the field names. At the user's option, either generate an error
# message or automatically replace the field name with a valid name.
if isinstance(field_names, str):
field_names = field_names.replace(',', ' ').split()
field_names = list(map(str, field_names))
typename = _sys.intern(str(typename))
if rename:
seen = set()
for index, name in enumerate(field_names):
if (not name.isidentifier()
or _iskeyword(name)
or name.startswith('_')
or name in seen):
field_names[index] = f'_{index}'
seen.add(name)
for name in [typename] + field_names:
if type(name) is not str:
raise TypeError('Type names and field names must be strings')
if not name.isidentifier():
raise ValueError('Type names and field names must be valid '
f'identifiers: {name!r}')
if _iskeyword(name):
raise ValueError('Type names and field names cannot be a '
f'keyword: {name!r}')
seen = set()
for name in field_names:
if name.startswith('_') and not rename:
raise ValueError('Field names cannot start with an underscore: '
f'{name!r}')
if name in seen:
raise ValueError(f'Encountered duplicate field name: {name!r}')
seen.add(name)
field_defaults = {}
if defaults is not None:
defaults = tuple(defaults)
if len(defaults) > len(field_names):
raise TypeError('Got more default values than field names')
field_defaults = dict(reversed(list(zip(reversed(field_names),
reversed(defaults)))))
# Variables used in the methods and docstrings
field_names = tuple(map(_sys.intern, field_names))
num_fields = len(field_names)
arg_list = ', '.join(field_names)
if num_fields == 1:
arg_list += ','
repr_fmt = '(' + ', '.join(f'{name}=%r' for name in field_names) + ')'
tuple_new = tuple.__new__
_dict, _tuple, _len, _map, _zip = dict, tuple, len, map, zip
# Create all the named tuple methods to be added to the class namespace
namespace = {
'_tuple_new': tuple_new,
'__builtins__': {},
'__name__': f'namedtuple_{typename}',
}
code = f'lambda _cls, {arg_list}: _tuple_new(_cls, ({arg_list}))'
__new__ = eval(code, namespace)
__new__.__name__ = '__new__'
__new__.__doc__ = f'Create new instance of {typename}({arg_list})'
if defaults is not None:
__new__.__defaults__ = defaults
@classmethod
def _make(cls, iterable):
result = tuple_new(cls, iterable)
if _len(result) != num_fields:
raise TypeError(f'Expected {num_fields} arguments, got {len(result)}')
return result
_make.__func__.__doc__ = (f'Make a new {typename} object from a sequence '
'or iterable')
def _replace(self, /, **kwds):
result = self._make(_map(kwds.pop, field_names, self))
if kwds:
raise ValueError(f'Got unexpected field names: {list(kwds)!r}')
return result
_replace.__doc__ = (f'Return a new {typename} object replacing specified '
'fields with new values')
def __repr__(self):
'Return a nicely formatted representation string'
return self.__class__.__name__ + repr_fmt % self
def _asdict(self):
'Return a new dict which maps field names to their values.'
return _dict(_zip(self._fields, self))
def __getnewargs__(self):
'Return self as a plain tuple. Used by copy and pickle.'
return _tuple(self)
# Modify function metadata to help with introspection and debugging
for method in (
__new__,
_make.__func__,
_replace,
__repr__,
_asdict,
__getnewargs__,
):
method.__qualname__ = f'{typename}.{method.__name__}'
# Build-up the class namespace dictionary
# and use type() to build the result class
class_namespace = {
'__doc__': f'{typename}({arg_list})',
'__slots__': (),
'_fields': field_names,
'_field_defaults': field_defaults,
'__new__': __new__,
'_make': _make,
'_replace': _replace,
'__repr__': __repr__,
'_asdict': _asdict,
'__getnewargs__': __getnewargs__,
'__match_args__': field_names,
}
for index, name in enumerate(field_names):
doc = _sys.intern(f'Alias for field number {index}')
class_namespace[name] = _tuplegetter(index, doc)
result = type(typename, (tuple,), class_namespace)
# For pickling to work, the __module__ variable needs to be set to the frame
# where the named tuple is created. Bypass this step in environments where
# sys._getframe is not defined (Jython for example) or sys._getframe is not
# defined for arguments greater than 0 (IronPython), or where the user has
# specified a particular module.
if module is None:
try:
module = _sys._getframe(1).f_globals.get('__name__', '__main__')
except (AttributeError, ValueError):
pass
if module is not None:
result.__module__ = module
return result
| (self, /, **kwds) | [
0.05422442406415939,
0.0013919216580688953,
-0.015399984084069729,
-0.03568263724446297,
-0.032860167324543,
-0.03329280763864517,
0.0027967195492237806,
0.021529074758291245,
0.021014025434851646,
-0.04614844545722008,
-0.04223407059907913,
0.05710870400071144,
0.004498958587646484,
0.06328929960727692,
0.010836644098162651,
0.03343702107667923,
-0.0298110730946064,
0.05636703222990036,
-0.06543190777301788,
-0.03232451528310776,
0.019025932997465134,
0.01592533476650715,
0.03345762565732002,
0.05978696048259735,
0.031994882971048355,
0.010980858467519283,
0.018809612840414047,
0.01048640999943018,
0.0017988107865676284,
-0.00597972609102726,
-0.004107520915567875,
-0.01582232490181923,
-0.030202509835362434,
-0.010733634233474731,
0.0028507995884865522,
-0.06089947000145912,
-0.05006282404065132,
0.058550842106342316,
0.04927994683384895,
-0.005050061736255884,
0.06394856423139572,
-0.09963119775056839,
-0.04952717199921608,
-0.0609818771481514,
-0.0017627573106437922,
0.02340385504066944,
0.022682785987854004,
-0.0114341014996171,
-0.024248536676168442,
-0.053441550582647324,
0.023589273914694786,
0.0063196588307619095,
0.015801722183823586,
-0.004215680994093418,
-0.023156631737947464,
-0.0009464037138968706,
-0.001845165272243321,
0.06184715777635574,
-0.006911966018378735,
0.02313602901995182,
-0.002206987701356411,
0.057603150606155396,
-0.015080653131008148,
0.010481259785592556,
-0.05422442406415939,
-0.024207333102822304,
-0.009281194768846035,
-0.0735078826546669,
-0.02276519313454628,
0.0012451325310394168,
-0.009023669175803661,
-0.000875584373716265,
0.01879931055009365,
0.024248536676168442,
0.07635095715522766,
0.04227527230978012,
-0.02923421747982502,
-0.010846945457160473,
0.04425306245684624,
-0.05158736929297447,
-0.0165948998183012,
-0.01343249436467886,
-0.08075977861881256,
-0.043511394411325455,
-0.03424049913883209,
0.03947340324521065,
-0.050474863499403,
-0.00045678464812226593,
0.030140703544020653,
-0.0017370048444718122,
-0.05311191827058792,
0.016038645058870316,
-0.0037907653022557497,
0.03333401307463646,
-0.051669780164957047,
-0.08661074936389923,
0.0038165177684277296,
-0.03786644712090492,
-0.012896842323243618,
0.035826850682497025,
0.025010809302330017,
-0.045777611434459686,
-0.0918024480342865,
-0.021024325862526894,
-0.008699188008904457,
-0.019767604768276215,
-0.01951007917523384,
-0.015163061209022999,
0.0359092615544796,
-0.03265414759516716,
-0.04322296380996704,
-0.05768555775284767,
-0.029955286532640457,
0.06089947000145912,
-0.003986483905464411,
-0.03403447940945625,
0.021096432581543922,
-0.025999704375863075,
-0.030676355585455894,
-0.03106779418885708,
0.027091611176729202,
0.018809612840414047,
-0.06127030402421951,
0.0491151325404644,
0.008462265133857727,
-0.008992766961455345,
0.061435118317604065,
-0.02597910352051258,
0.038937751203775406,
-0.003363274037837982,
0.022991815581917763,
0.00298986304551363,
-0.042398884892463684,
0.05673786625266075,
0.017872221767902374,
0.03844330459833145,
0.04989800974726677,
0.05031004920601845,
-0.06984072923660278,
0.037619225680828094,
0.0420074462890625,
-0.01217577327042818,
0.06555552035570145,
0.03545601665973663,
-0.0018464529421180487,
-0.04623085632920265,
0.01329858135432005,
0.0069583202712237835,
-0.037516213953495026,
0.03007889911532402,
-0.03302498161792755,
-0.035991668701171875,
0.01893322356045246,
0.02239435724914074,
-0.04643687605857849,
-0.005150496494024992,
-0.0111765768378973,
-0.06407217681407928,
-0.023218438029289246,
-0.041512999683618546,
0.01856238953769207,
-0.0531943254172802,
-0.016172558069229126,
-0.015709014609456062,
0.055336933583021164,
0.021323055028915405,
0.04342898353934288,
-0.08529222011566162,
-0.01361791230738163,
-0.03356063365936279,
-0.00040173871093429625,
0.041203971952199936,
0.026370540261268616,
0.04417065531015396,
-0.034158091992139816,
0.01944827474653721,
-0.007117985747754574,
0.024845995008945465,
0.02398071065545082,
-0.02042686752974987,
0.03879353776574135,
-0.014318379573523998,
-0.062011975795030594,
0.008889756165444851,
0.05846843495965004,
0.03180946409702301,
-0.0020177068654447794,
0.06230040267109871,
0.052287839353084564,
0.026803182438015938,
0.016141654923558235,
-0.04000905528664589,
0.005737653002142906,
-0.006597785744816065,
0.008683736436069012,
0.0630008727312088,
-0.06353652477264404,
0.04614844545722008,
0.017604395747184753,
0.1104266420006752,
-0.027565456926822662,
0.0331897996366024,
0.029213614761829376,
-0.01744988188147545,
0.03279836103320122,
-0.029481440782546997,
0.0548836886882782,
-0.05105172097682953,
-0.03158284351229668,
-0.03378725424408913,
0.08339683711528778,
-0.021426064893603325,
0.007710292935371399,
0.019602788612246513,
-0.010816042311489582,
-0.07251898944377899,
0.0535239577293396,
-0.02987287938594818,
0.006345411296933889,
-0.00417447742074728,
0.08817649632692337,
0.02340385504066944,
-0.02612331695854664,
-0.00585096376016736,
0.0413275808095932,
-0.048826705664396286,
-0.01616225764155388,
-0.029110604897141457,
-0.038402099162340164,
-0.06394856423139572,
0.06271244585514069,
-0.012835036963224411,
-0.029090002179145813,
-0.019283458590507507,
0.02398071065545082,
-0.01629617065191269,
0.009224538691341877,
-0.035723842680454254,
-0.023197835311293602,
-0.02628813311457634,
0.027833281084895134,
0.03568263724446297,
-0.03380785882472992,
-0.009868350811302662,
-0.00973958894610405,
-0.0674096941947937,
-0.02781268022954464,
0.02818351611495018,
-0.019808808341622353,
0.00776694854721427,
-0.01666700653731823,
0.014977643266320229,
-0.010949955321848392,
0.03277776017785072,
0.004362470470368862,
-0.02476358599960804,
-0.03560023009777069,
-0.013525202870368958,
-0.014256573282182217,
-0.027750873938202858,
0.004099795129150152,
-0.058344822376966476,
0.030799968168139458,
0.045035939663648605,
0.05121653527021408,
-0.02770967036485672,
0.004625145811587572,
-0.025690674781799316,
0.013185270130634308,
0.01527637243270874,
0.12031559646129608,
0.036259494721889496,
-0.015451489016413689,
0.016285868361592293,
-0.04536557197570801,
-0.03345762565732002,
0.016440384089946747,
-0.025196228176355362,
0.022806396707892418,
-0.051134128123521805,
-0.00887430552393198,
-0.0228682029992342,
-0.022888805717229843,
-0.01135169342160225,
0.022682785987854004,
0.0613115094602108,
-0.05529572814702988,
0.030738161876797676,
-0.00848286785185337,
-0.00015548060764558613,
0.04515955224633217,
-0.032860167324543,
0.013442795723676682,
-0.03191247582435608,
0.0004175121139269322,
0.02412492409348488,
-0.0857042595744133,
0.02049897611141205,
0.02340385504066944,
-0.06872822344303131,
-0.02496960572898388,
0.018201854079961777,
0.041245173662900925,
0.03889654949307442,
0.051669780164957047,
-0.041822031140327454,
-0.027421241626143456,
-0.004393373150378466,
-0.011052965186536312,
0.046725302934646606,
-0.0276066605001688,
0.01343249436467886,
-0.0215084720402956,
0.00576855568215251,
0.06024020537734032,
0.022435562685132027,
0.0015103830955922604,
-0.014689215458929539,
0.01480252668261528,
0.04318176209926605,
-0.01480252668261528,
-0.06287726014852524,
-0.048085033893585205,
-0.014359584078192711,
-0.008760994300246239,
-0.033890265971422195,
-0.05068088322877884,
-0.007808152586221695,
0.011866743676364422,
-0.017913425341248512,
-0.03568263724446297,
0.007051029242575169,
0.014205068349838257,
0.05785037577152252,
0.001169806462712586,
-0.009713836014270782,
0.010002263821661472,
-0.0259172972291708,
0.004406249616295099,
-0.020540179684758186,
0.0491151325404644,
-0.010445206426084042,
-0.04631326347589493,
-0.01119717862457037,
-0.007117985747754574,
-0.01792372763156891,
0.0140608549118042,
0.016986336559057236,
0.12657859921455383,
-0.0228682029992342,
0.01170192752033472,
-0.08364406228065491,
-0.05311191827058792,
0.01409175805747509,
0.04870309308171272,
-0.02834833227097988,
0.0022662184201180935,
-0.01324707642197609,
0.006685344036668539,
-0.009147281758487225,
0.008915509097278118,
-0.05414201691746712,
0.0012869802303612232,
0.011361994780600071,
0.020169343799352646,
-0.03545601665973663,
-0.032262708991765976,
-0.014998245052993298,
-0.014730419032275677,
-0.011361994780600071,
0.016203461214900017,
-0.015832625329494476,
-0.02954324707388878,
-0.03568263724446297,
-0.047137342393398285,
-0.03211849555373192,
0.027277028188109398,
0.07379630953073502,
-0.08727000653743744,
-0.06778053194284439,
0.01356640737503767,
-0.0663795992732048,
0.027833281084895134,
0.021024325862526894,
0.012216976843774319,
-0.00243875989690423,
0.05583138018846512,
0.02902819775044918,
0.014205068349838257,
0.06271244585514069,
-0.06695645302534103,
0.018943525850772858,
-0.03601226955652237,
-0.031521037220954895,
0.03537360951304436,
-0.013473697938024998,
-0.03937039524316788,
-0.03597106784582138,
-0.05010402947664261,
-0.01246420107781887,
0.007746346294879913,
-0.04375861585140228,
-0.035249996930360794,
0.044294267892837524,
-0.029193013906478882,
0.018129747360944748,
0.09658210724592209,
-0.04412945359945297,
0.009420257993042469,
-0.008549823425710201,
0.046395670622587204,
0.023630477488040924,
-0.06304207444190979,
-0.0833144262433052,
0.06431939452886581,
0.022414959967136383,
0.010543066076934338,
0.03347822651267052,
0.03564143553376198,
0.034570131450891495,
-0.0025082917418330908,
-0.006448421161621809,
0.006000328343361616,
0.02313602901995182,
-0.02886338159441948,
0.04425306245684624,
-0.04384102299809456,
0.024845995008945465,
0.01361791230738163,
0.005050061736255884,
-0.04075072705745697,
0.0012522144243121147,
0.004702403210103512,
-0.012639317661523819,
0.05430683121085167,
-0.0375986211001873,
-0.00789571087807417,
-0.03743380680680275,
-0.010877848602831364,
0.028883982449769974,
0.00889490731060505,
-0.0003228717250749469,
0.010929353535175323,
-0.050474863499403,
0.010743935592472553,
0.015204264782369137,
-0.04759058728814125,
0.01219637505710125,
0.04211045801639557,
0.01673911325633526,
0.0751972422003746,
0.056655459105968475,
0.08463295549154282,
0.015657508745789528,
-0.002065348904579878,
-0.03811367228627205,
-0.03920557722449303,
-0.04837346076965332,
0.01612105406820774,
0.0022404659539461136,
0.01774861104786396,
-0.025793684646487236,
0.05006282404065132,
0.03325160592794418,
-0.04126577451825142,
-0.008426211774349213,
0.03881413862109184,
-0.069099061191082,
-0.015358779579401016,
-0.041142165660858154,
0.06551431119441986,
-0.015317576006054878,
0.024887198582291603,
-0.019736701622605324,
-0.03465253859758377,
0.01616225764155388,
0.00023660092847421765,
-0.008596178144216537,
-0.01866539940237999,
-0.07861717790365219,
0.052658673375844955,
-0.02187930792570114,
0.05410081148147583,
0.002276519313454628,
-0.002737488830462098,
0.03012010268867016,
0.052823491394519806,
0.030367325991392136,
-0.009981662034988403,
0.03044973500072956,
-0.061805956065654755,
0.02787448652088642,
0.0518345944583416,
-0.008302600122988224,
0.00553163280710578,
-0.006463872734457254,
-0.02428974024951458,
0.04149239882826805,
-0.043552596122026443,
-0.033622439950704575,
0.04285212978720665,
-0.050392456352710724,
0.02587609365582466,
-0.03112960048019886,
0.06654441356658936,
-0.039555810391902924,
0.060446225106716156,
0.011022062040865421,
-0.01248480286449194,
-0.03261294215917587,
-0.06378374248743057,
-0.019015632569789886,
0.01744988188147545,
-0.030223112553358078,
0.0019417371368035674,
0.0060363817028701305,
0.004650898277759552,
0.023795293644070625,
-0.065720334649086,
-0.052864693105220795,
0.037516213953495026,
0.0298110730946064,
-0.032839562743902206,
0.015286672860383987,
-0.02991408295929432,
0.028780972585082054,
0.02544345147907734,
-0.0082974499091506,
0.03990604355931282,
0.024413352832198143,
0.00297698681242764,
-0.050474863499403,
-0.0235480684787035,
-0.05484248325228691,
0.03852571174502373,
0.03702176734805107,
-0.0046611991710960865,
0.01792372763156891,
0.04052410647273064,
0.020200246945023537,
0.04816744104027748,
0.05451285094022751,
-0.05546054244041443,
-0.026370540261268616,
-0.011104470118880272,
0.00035248708445578814,
-0.024536963552236557,
0.010058918967843056,
-0.015235167928040028,
-0.03028491884469986,
-0.0064381202682852745,
-0.01768680475652218,
0.0015554499113932252,
-0.010373099707067013,
-0.046560484915971756,
-0.01609015092253685,
-0.0359092615544796,
0.004885245580226183,
0.017192356288433075,
0.030161306262016296,
0.004995981231331825,
0.006633839104324579,
0.02445455640554428,
-0.009760190732777119,
-0.001051345025189221,
0.031994882971048355,
0.03980303555727005,
0.017728008329868317,
-0.0073394570499658585,
-0.01829456351697445,
0.030676355585455894,
0.008271696977317333,
0.046972524374723434,
0.017666202038526535,
0.01388573832809925,
0.029481440782546997,
-0.03689815476536751,
0.0038551464676856995,
-0.01482312846928835,
-0.057397130876779556,
0.02764786407351494,
0.04289333149790764,
-0.011557714082300663,
-0.06176475062966347,
-0.011495907790958881,
-0.02628813311457634,
-0.02045777067542076,
0.008251095190644264,
0.027318231761455536,
0.008513770066201687,
-0.023589273914694786,
0.042398884892463684,
-0.0047101289965212345,
-0.00037341099232435226,
-0.01934526488184929,
0.022105930373072624,
-0.0365891270339489,
0.006469023413956165,
0.010316443629562855,
0.0010024153161793947,
-0.04800262674689293,
0.03813427314162254,
-0.03347822651267052,
-0.002582973800599575,
0.004182203207165003,
-0.03652732074260712,
-0.015523595735430717,
0.00632480951026082,
0.050557270646095276,
0.014205068349838257,
0.06147632375359535,
-0.04853827878832817,
0.03965882211923599,
0.00821504183113575,
-0.02154967561364174,
-0.018243057653307915,
-0.014524399302899837,
-0.015121856704354286,
0.01238179299980402,
-0.04804382845759392,
-0.06794534623622894,
0.024227933958172798,
0.012917445041239262,
0.009373903274536133,
-0.009100927039980888,
-0.05669666454195976,
-0.011207479983568192,
-0.03718658164143562,
0.05125774070620537,
-0.04495353251695633,
-0.0306557547301054,
-0.028101107105612755,
0.023280242457985878,
-0.06703885644674301,
-0.03632130101323128,
0.012402394786477089,
0.02086981013417244,
-0.014781923964619637,
0.01417416613548994,
0.06225920096039772,
0.01167102437466383,
-0.032262708991765976,
-0.006499926093965769,
0.014359584078192711,
-0.010764537379145622,
-0.023280242457985878,
0.05179338902235031,
-0.09600525349378586,
0.0443766750395298,
0.01548239216208458,
-0.020066333934664726,
0.05389479175209999,
0.015266071073710918,
-0.03174765780568123,
-0.02554646134376526,
0.007081932388246059,
-0.0782463401556015,
-0.010527614504098892,
0.027853883802890778,
0.012443599291145802,
0.012165471911430359,
-0.04985680431127548,
0.035311803221702576,
-0.0274418443441391,
0.005804609507322311,
0.05031004920601845,
-0.024310342967510223,
0.05616101250052452,
0.05327673256397247,
0.018850816413760185,
-0.023568671196699142,
-0.003875748487189412,
0.05451285094022751,
-0.003690330544486642,
-0.026638366281986237,
-0.028636759147047997,
0.025381645187735558,
0.048785500228405,
-0.03232451528310776,
-0.0016404330963268876,
0.06118789687752724,
0.013401591219007969,
-0.04491232708096504,
-0.026226326823234558,
-0.007442466914653778,
-0.00913183018565178,
0.021055229008197784,
0.0053771180100739,
0.03059394843876362,
-0.08751723170280457,
0.03939099609851837,
0.01981911063194275,
0.017398376017808914,
0.01981911063194275,
-0.06168234348297119,
-0.02412492409348488,
0.027277028188109398,
-0.03180946409702301,
0.04800262674689293,
-0.020375363528728485,
0.020622586831450462,
0.005245780572295189,
-0.0024284590035676956,
0.03976183012127876,
0.0037341099232435226,
0.052287839353084564,
-0.0013352661626413465,
0.02255917340517044,
0.038772936910390854,
-0.006788353901356459,
-0.008678586222231388,
0.04417065531015396,
0.012000656686723232,
-0.009167883545160294,
0.050969310104846954,
-0.05430683121085167,
0.026576559990644455,
0.07029397040605545,
-0.015575100667774677,
0.03413749113678932,
0.028945788741111755,
-0.0177898146212101,
0.0863635241985321,
-0.002482539275661111,
0.005075814202427864,
0.00006743930862285197,
-0.029996490105986595,
-0.02544345147907734,
-0.03753681853413582,
0.017872221767902374,
0.04412945359945297,
0.04487112537026405,
-0.0460660383105278,
0.023197835311293602,
0.03244812786579132,
-0.031891871243715286,
0.025999704375863075,
0.018706602975726128,
-0.006159993354231119,
0.07387872040271759,
-0.05805639550089836,
0.06250642240047455,
-0.0012238867348060012,
0.04594242572784424,
-0.04969199001789093,
-0.018892019987106323,
0.05892167612910271,
0.02435154654085636,
-0.00768969114869833,
0.02655595913529396,
0.0129586486145854,
0.03801066428422928,
-0.019602788612246513,
-0.019561585038900375,
0.03271595388650894,
-0.06555552035570145,
0.03945280238986015,
-0.0118564423173666,
-0.02834833227097988,
-0.05274108052253723,
-0.031005987897515297,
-0.0023177233524620533,
0.018067941069602966,
0.01934526488184929,
-0.0017794964369386435,
0.03675394132733345,
0.005624341778457165,
0.03271595388650894
]
|
41,751 | tokenize_rt | Token | Token(name, src, line, utf8_byte_offset) | class Token(NamedTuple):
name: str
src: str
line: int | None = None
utf8_byte_offset: int | None = None
@property
def offset(self) -> Offset:
return Offset(self.line, self.utf8_byte_offset)
def matches(self, *, name: str, src: str) -> bool:
return self.name == name and self.src == src
| (name: str, src: str, line: int | None = None, utf8_byte_offset: int | None = None) | [
0.03489912673830986,
-0.04080400988459587,
-0.017394719645380974,
0.023363586515188217,
-0.0075821965001523495,
-0.041462138295173645,
-0.011928590945899487,
0.04277839511632919,
0.012349062599241734,
-0.03857368230819702,
0.025465942919254303,
0.03945118933916092,
0.03882962092757225,
0.03277849033474922,
0.001967532094568014,
0.007961534895002842,
0.02767798863351345,
0.024259371683001518,
-0.062083519995212555,
0.035045377910137177,
-0.02482609450817108,
0.07195545732975006,
0.046288419514894485,
-0.008807048201560974,
0.014844468794763088,
0.03621538728475571,
0.015045564621686935,
-0.0077970027923583984,
-0.016910264268517494,
-0.06486228853464127,
-0.029140496626496315,
-0.02489922009408474,
0.020219190046191216,
0.03160848096013069,
-0.010530066676437855,
-0.09082182496786118,
-0.008171770721673965,
0.03541100397706032,
-0.056196920573711395,
-0.05718411132693291,
0.0075821965001523495,
-0.006261367816478014,
-0.02195592038333416,
-0.005959725473076105,
-0.027239235118031502,
-0.023637806996703148,
-0.021023571491241455,
-0.007157154846936464,
-0.0401458777487278,
-0.019670749083161354,
0.04862843453884125,
0.008665367029607296,
-0.038610246032476425,
-0.02338186651468277,
0.0365992933511734,
-0.04837249591946602,
0.03179129585623741,
0.06475260108709335,
-0.01303461380302906,
0.06263195723295212,
0.01682799682021141,
0.0178608950227499,
0.04500872269272804,
0.0028907409869134426,
-0.021389197558164597,
-0.04563029110431671,
0.05148032680153847,
-0.03374740108847618,
-0.0185281652957201,
0.01396696362644434,
0.002408569911494851,
0.008976150304079056,
0.014881031587719917,
0.019305123016238213,
-0.007394812535494566,
-0.00856481958180666,
-0.06855512410402298,
0.038171492516994476,
0.047970302402973175,
-0.02829955518245697,
-0.036471325904130936,
-0.017294172197580338,
-0.007381101604551077,
-0.023985151201486588,
-0.029122216627001762,
-0.006604143418371677,
-0.005306166596710682,
-0.05945100262761116,
-0.039231810718774796,
0.06350946426391602,
-0.03707461059093475,
0.05974350497126579,
-0.03919524699449539,
0.017294172197580338,
0.0022120452485978603,
-0.027147827669978142,
0.06489884853363037,
0.020018095150589943,
-0.02979862689971924,
0.04427746683359146,
-0.005297025665640831,
0.029122216627001762,
-0.05506347492337227,
0.009099549613893032,
-0.026471417397260666,
0.010648895986378193,
-0.012796956114470959,
0.009040135890245438,
0.017065655440092087,
-0.03937806189060211,
-0.01156296394765377,
-0.052796583622694016,
0.03246770426630974,
0.1017175167798996,
0.048591870814561844,
-0.04036525636911392,
-0.04168151319026947,
-0.004830850753933191,
-0.046909984201192856,
-0.018500741571187973,
0.08731180429458618,
0.019524497911334038,
-0.02179138734936714,
0.04427746683359146,
0.013409381732344627,
0.0005878601805306971,
0.07334484159946442,
-0.02875658869743347,
0.002705642255023122,
-0.016681745648384094,
0.0020726497750729322,
0.05769599229097366,
0.024844376370310783,
-0.0030369919259101152,
0.0026073798071593046,
0.03380224481225014,
0.06043819710612297,
0.006928637623786926,
-0.08416740596294403,
-0.0011442992836236954,
0.05159001424908638,
0.017696361988782883,
0.0014213762478902936,
-0.07195545732975006,
-0.056014105677604675,
-0.030932070687413216,
-0.019762156531214714,
-0.013784149661660194,
0.05129751190543175,
0.000567579292692244,
-0.033070992678403854,
-0.04903062433004379,
0.0020623665768653154,
0.06201039254665375,
-0.012065701186656952,
-0.008948728442192078,
-0.0040104747749865055,
-0.03908555954694748,
0.014113214798271656,
0.01788831688463688,
0.018007146194577217,
-0.06365571916103363,
-0.06592260301113129,
-0.001700167078524828,
0.02703814022243023,
0.03478943929076195,
-0.006233945954591036,
-0.05349127575755119,
-0.03934149816632271,
-0.06493540853261948,
0.008834470063447952,
0.029487842693924904,
0.026489699259400368,
0.0786098763346672,
-0.01370188407599926,
-0.012879222631454468,
-0.04676373302936554,
0.06486228853464127,
0.007431375328451395,
-0.0847524106502533,
0.039670564234256744,
0.004967960994690657,
-0.013436803594231606,
-0.04866499453783035,
0.03707461059093475,
0.040730882436037064,
0.022175297141075134,
0.07634298503398895,
0.04917687550187111,
-0.0009192099096253514,
-0.020383723080158234,
-0.05031031742691994,
0.0034163303207606077,
-0.02990831434726715,
-0.02961581200361252,
-0.005836326163262129,
-0.013089458458125591,
0.03391193225979805,
0.06025538221001625,
-0.013199145905673504,
-0.01687370054423809,
0.020328879356384277,
-0.025685319676995277,
0.01763237826526165,
0.0007198287639766932,
0.02400343306362629,
0.06051132082939148,
0.02919534221291542,
-0.10288752615451813,
0.0024405622389167547,
-0.012120545841753483,
-0.04712936282157898,
0.056196920573711395,
0.07294265180826187,
0.024387342855334282,
-0.07367390394210815,
-0.021297791972756386,
0.027239235118031502,
0.007733017671853304,
0.0370563305914402,
0.18544617295265198,
-0.001892121392302215,
0.02784251980483532,
-0.0026439426001161337,
0.09893875569105148,
-0.03952431306242943,
-0.0200912207365036,
-0.038171492516994476,
-0.04632497951388359,
-0.05875631049275398,
0.03115144744515419,
-0.06277821213006973,
0.024935783818364143,
0.0036219956818968058,
-0.02731236070394516,
0.017211906611919403,
0.06701948493719101,
-0.016316119581460953,
-0.0446430966258049,
-0.019323403015732765,
-0.054295655339956284,
0.022815145552158356,
0.017522688955068588,
0.03177301213145256,
0.03809836506843567,
-0.011316165328025818,
-0.009835374541580677,
0.025721881538629532,
-0.012312499806284904,
0.007664462551474571,
-0.041023384779691696,
0.060657572001218796,
-0.013308834284543991,
0.015941351652145386,
0.010228424333035946,
-0.052248142659664154,
-0.05151689052581787,
-0.0032540832180529833,
0.04398496821522713,
-0.017623236402869225,
-0.03714773431420326,
-0.01151726022362709,
0.05294283479452133,
0.016069320961833,
0.02069450542330742,
0.010776865296065807,
-0.0027010717894881964,
0.012330781668424606,
-0.0035465850960463285,
-0.0508587583899498,
0.05919506400823593,
0.04124276340007782,
-0.01567627117037773,
0.017321594059467316,
-0.016937686130404472,
-0.06990794092416763,
0.017211906611919403,
0.005013664718717337,
0.014460560865700245,
-0.0303470678627491,
-0.0032243758905678988,
-0.05692817270755768,
-0.03071269392967224,
-0.0030347066931426525,
0.03489912673830986,
0.04318058490753174,
0.01155382301658392,
-0.024442186579108238,
-0.015621427446603775,
-0.03237630054354668,
0.004680029582232237,
-0.031297698616981506,
0.0020715072751045227,
-0.008807048201560974,
0.07597735524177551,
0.029067371040582657,
-0.022632330656051636,
0.08109614253044128,
0.007289694622159004,
-0.04036525636911392,
-0.003919067792594433,
0.00724856136366725,
0.004844562150537968,
-0.017029091715812683,
-0.012531876564025879,
0.004248132463544607,
-0.03912212327122688,
0.024204527959227562,
-0.015374628826975822,
-0.00893044751137495,
0.044679656624794006,
0.034953970462083817,
-0.02937815524637699,
-0.04570341482758522,
0.006636135745793581,
0.02579500712454319,
-0.029597532004117966,
0.004716592375189066,
0.03435068577528,
0.05751317739486694,
0.0051324935629963875,
-0.07484391331672668,
-0.04358277469873428,
-0.04972531646490097,
0.010118735954165459,
-0.05871974676847458,
-0.0032677941489964724,
-0.058610059320926666,
-0.027604863047599792,
0.03323552384972572,
-0.04259558394551277,
-0.02552078664302826,
0.011983435600996017,
-0.001069459947757423,
-0.057074423879384995,
0.002008665120229125,
-0.042851522564888,
0.05385690554976463,
0.02926846593618393,
-0.0182996466755867,
0.06051132082939148,
-0.051370639353990555,
-0.006037421058863401,
0.016818856820464134,
0.027257516980171204,
-0.033162396401166916,
-0.025502504780888557,
-0.013902978971600533,
0.10603192448616028,
0.033966779708862305,
0.027330642566084862,
-0.012294218875467777,
0.0039624860510230064,
-0.025868132710456848,
0.08175426721572876,
-0.016124164685606956,
0.0072439913637936115,
-0.002714782953262329,
0.012787815183401108,
-0.003804809181019664,
0.029305029660463333,
-0.03919524699449539,
0.022632330656051636,
-0.04329027608036995,
-0.04310746118426323,
-0.04453340917825699,
0.0013379674637690187,
0.00852825678884983,
-0.02829955518245697,
0.03202895447611809,
-0.06237602233886719,
0.027330642566084862,
-0.0015070701483637094,
-0.05206533148884773,
-0.02160857431590557,
-0.044496845453977585,
0.004159010946750641,
0.05188251659274101,
-0.07773236930370331,
-0.05754974111914635,
0.0446430966258049,
0.03323552384972572,
0.059487566351890564,
0.07824424654245377,
-0.04767780378460884,
0.01723932847380638,
-0.028317835181951523,
0.028171584010124207,
-0.005319877527654171,
0.09111432731151581,
-0.015429472550749779,
-0.013509929180145264,
-0.028957683593034744,
-0.03952431306242943,
-0.03478943929076195,
0.003544299863278866,
-0.03897587209939957,
-0.0077512990683317184,
-0.05875631049275398,
0.02115154080092907,
0.041644953191280365,
0.006060272920876741,
-0.024661563336849213,
-0.002863318892195821,
-0.014341731555759907,
0.02016434632241726,
0.0508587583899498,
0.028683463111519814,
-0.07692798972129822,
0.028610337525606155,
-0.021114977076649666,
-0.044569969177246094,
0.023784056305885315,
-0.03608741611242294,
0.009954203851521015,
-0.0589025616645813,
0.023692650720477104,
-0.001094596809707582,
-0.020657943561673164,
0.0005390146397985518,
-0.05195564031600952,
-0.02310764603316784,
-0.004826280754059553,
0.005914021749049425,
-0.04336339980363846,
0.01195601373910904,
-0.007742158602923155,
0.009259511716663837,
-0.0047577256336808205,
-0.021754825487732887,
-0.034661468118429184,
-0.07275983691215515,
0.03283333405852318,
0.0016179009107872844,
0.02400343306362629,
-0.023235615342855453,
-0.044131215661764145,
-0.037696175277233124,
0.0303653497248888,
0.008318021893501282,
-0.004309832118451595,
0.06237602233886719,
0.04775092750787735,
0.07023701071739197,
0.010959679260849953,
-0.030145972967147827,
-0.03853711858391762,
0.02954268641769886,
0.04292464628815651,
-0.0070383260026574135,
-0.02087732031941414,
0.08372865617275238,
-0.034953970462083817,
-0.02418624795973301,
0.047604676336050034,
-0.05908537283539772,
-0.04416777938604355,
0.005054797511547804,
0.017294172197580338,
-0.028226429596543312,
0.007513641379773617,
0.044862471520900726,
0.02588641457259655,
-0.034496936947107315,
-0.027988770976662636,
-0.036910079419612885,
0.03934149816632271,
-0.01998153328895569,
-0.008112356066703796,
-0.06712917238473892,
0.002250893274322152,
-0.011416712775826454,
-0.04687342047691345,
0.008377435617148876,
0.010466082021594048,
0.004725733306258917,
-0.010411238297820091,
-0.0009620568598620594,
-0.029414717108011246,
-0.013372818939387798,
-0.021352635696530342,
-0.011636089533567429,
-0.0026325166691094637,
-0.004862843547016382,
0.021754825487732887,
0.019085746258497238,
0.021736543625593185,
-0.02784251980483532,
0.004547489807009697,
0.00260052434168756,
-0.0383908674120903,
0.04453340917825699,
-0.003388908226042986,
-0.018957776948809624,
0.0012774104252457619,
0.044240906834602356,
0.008752203546464443,
0.04157182574272156,
-0.03096863441169262,
-0.012632424011826515,
-0.005758630111813545,
-0.04095026105642319,
0.010182720609009266,
-0.04336339980363846,
0.03246770426630974,
-0.02828127332031727,
0.029305029660463333,
-0.05952412635087967,
0.0000622351944912225,
-0.01740385964512825,
-0.000888931390363723,
0.016352681443095207,
0.0200912207365036,
-0.015877366065979004,
0.056014105677604675,
0.04179120436310768,
0.004545204807072878,
-0.007317116484045982,
-0.04098682105541229,
-0.02908565290272236,
-0.028592055663466454,
-0.0058911703526973724,
0.03274192661046982,
-0.053783778101205826,
-0.011151633225381374,
0.01972559466958046,
0.011700074188411236,
-0.008889313787221909,
0.01125218067318201,
-0.004323543049395084,
0.042705271393060684,
-0.05308908596634865,
-0.06007256731390953,
-0.0361788235604763,
0.02069450542330742,
0.035575538873672485,
0.013994385488331318,
0.03409474715590477,
0.010767724364995956,
0.08314365148544312,
0.016882840543985367,
-0.00019009763491339982,
-0.038244616240262985,
-0.025941258296370506,
-0.04661748185753822,
0.015584864653646946,
-0.04855530709028244,
-0.03283333405852318,
-0.04237620532512665,
0.025721881538629532,
0.007682743947952986,
-0.03469803184270859,
-0.04804342985153198,
-0.029743783175945282,
-0.01213882677257061,
0.01659948006272316,
-0.03937806189060211,
-0.011581244878470898,
0.006997192744165659,
0.048957496881484985,
0.04873812198638916,
0.03791555389761925,
0.0009700549999251962,
0.03239458054304123,
-0.038244616240262985,
0.0008592241792939603,
-0.008130637928843498,
-0.03707461059093475,
-0.00430526165291667,
0.07085857540369034,
0.01133444719016552,
0.014634232968091965,
0.06497197598218918,
0.0490671843290329,
-0.011389290913939476,
-0.005297025665640831,
0.011425853706896305,
0.05400315672159195,
-0.008423139341175556,
-0.01271468959748745,
0.041900891810655594,
0.06767761707305908,
0.006544729229062796,
-0.05023719370365143,
0.012943207286298275,
0.024332497268915176,
-0.025813288986682892,
0.036471325904130936,
-0.024771250784397125,
0.00024237092293333262,
-0.017879175022244453,
-0.013628758490085602,
0.022431235760450363,
0.014561108313500881,
-0.014990719966590405,
-0.009282363578677177,
-0.014826187863945961,
0.008400287479162216,
-0.0015184959629550576,
-0.002064651809632778,
-0.012193671427667141,
-0.018007146194577217,
-0.04775092750787735,
0.008752203546464443,
0.02937815524637699,
-0.009140683338046074,
0.006736683193594217,
-0.02043856680393219,
-0.01892121322453022,
0.0303470678627491,
0.05959725379943848,
-0.008007238619029522,
0.009177246131002903,
-0.027623143047094345,
-0.010219283401966095,
0.034515220671892166,
0.013738446868956089,
0.042266517877578735,
-0.004412664566189051,
0.012568439356982708,
0.035575538873672485,
0.03319896012544632,
-0.028354398906230927,
0.013354538008570671,
-0.005758630111813545,
0.010694598779082298,
0.02935987338423729,
-0.00208064797334373,
-0.009881078265607357,
-0.05952412635087967,
-0.017184484750032425,
0.026562824845314026,
-0.010712880641222,
-0.040474943816661835,
-0.05250408127903938,
-0.004163580946624279,
-0.018939495086669922,
-0.050931885838508606,
-0.001583623350597918,
0.02124294638633728,
-0.06760448962450027,
0.017413001507520676,
0.001436229795217514,
0.07517297565937042,
-0.05071251094341278,
0.022997958585619926,
-0.019615905359387398,
-0.03956087678670883,
0.041644953191280365,
0.004670889116823673,
0.028628619387745857,
0.07773236930370331,
0.047897178679704666,
0.03429584205150604,
0.03009112924337387,
-0.026727357879281044,
-0.07736673951148987,
-0.0026188057381659746,
0.04968875274062157,
-0.0098262345418334,
-0.004584052599966526,
-0.043765589594841,
0.02062138170003891,
0.013994385488331318,
-0.017988864332437515,
0.011818903498351574,
0.015575723722577095,
0.004104166757315397,
0.002244037576019764,
0.02248607948422432,
-0.04098682105541229,
0.04968875274062157,
0.004780577030032873,
-0.03996306657791138,
0.041535262018442154,
-0.04903062433004379,
0.067787304520607,
-0.03897587209939957,
0.011087648570537567,
-0.013217427767813206,
0.016498932614922523,
0.0160510390996933,
0.0625222697854042,
-0.045484039932489395,
-0.019067464396357536,
0.08094988763332367,
-0.012906644493341446,
0.0032677941489964724,
0.10201001912355423,
-0.05221158266067505,
0.022284984588623047,
-0.011316165328025818,
0.020036377012729645,
0.022778581827878952,
-0.06095007434487343,
0.045374348759651184,
0.001700167078524828,
-0.010411238297820091,
0.005456987768411636,
-0.028226429596543312,
-0.035045377910137177,
0.00020752206910401583,
-0.0005641515017487109,
-0.026635950431227684,
-0.03266879916191101,
-0.010502644814550877,
0.01816253736615181,
-0.024442186579108238,
0.02356468141078949,
0.026581106707453728,
-0.025301409885287285,
-0.020456848666071892,
-0.009561154060065746,
-0.03374740108847618,
0.044240906834602356,
-0.021718263626098633,
0.0151826748624444,
0.020657943561673164,
0.047421861439943314,
0.05451503396034241,
-0.007513641379773617,
-0.004510927014052868,
0.011480697430670261,
0.04946937784552574,
-0.04054807126522064,
-0.0038299462758004665,
-0.048701558262109756,
-0.014826187863945961,
-0.07619673013687134,
0.011736636981368065,
0.006037421058863401,
0.09835375100374222,
-0.05133407562971115,
0.038244616240262985,
-0.035027097910642624,
0.01873840019106865,
-0.02561219409108162,
-0.021261228248476982,
0.020402004942297935,
0.08307052403688431,
0.0009791956981644034,
0.05670879781246185,
0.0037271135952323675,
0.011307024396955967,
-0.009743968024849892,
0.017614096403121948,
0.002474839799106121,
0.028628619387745857,
-0.010950538329780102,
0.04983500391244888,
0.021224666386842728,
0.03175473213195801,
-0.033436618745326996,
0.0025319692213088274,
-0.0027353493496775627,
-0.02489922009408474,
0.02062138170003891,
-0.02526484802365303,
-0.03252255171537399,
-0.0038847902324050665,
-0.061461951583623886,
0.044862471520900726,
-0.010502644814550877,
0.005543824285268784,
-0.06387509405612946,
-0.01875668205320835,
-0.004958820529282093,
0.07031013071537018
]
|
41,753 | namedtuple_Token | __new__ | Create new instance of Token(name, src, line, utf8_byte_offset) | from builtins import function
| (_cls, name: ForwardRef('str'), src: ForwardRef('str'), line: ForwardRef('int | None') = None, utf8_byte_offset: ForwardRef('int | None') = None) | [
0.009987438097596169,
-0.03448875993490219,
0.019406022503972054,
0.011531468480825424,
0.012425380758941174,
0.06140364706516266,
-0.0008573431405238807,
0.005846999119967222,
-0.012457886710762978,
-0.02476949617266655,
-0.015155876986682415,
0.03673166781663895,
0.0068709347397089005,
0.005513813346624374,
-0.06845743209123611,
-0.00024112776736728847,
0.03549644351005554,
0.0906914621591568,
-0.028101351112127304,
-0.002236812375485897,
-0.06644206494092941,
0.018658388406038284,
0.036829184740781784,
-0.01482269074767828,
0.03001919947564602,
0.1003132089972496,
0.037869375199079514,
-0.04498816654086113,
0.010848844423890114,
-0.052789583802223206,
-0.010718820616602898,
-0.04229017719626427,
0.004028700292110443,
-0.0029092782642692327,
-0.0009629873093217611,
-0.04924644157290459,
0.023127948865294456,
0.04050235450267792,
-0.061208613216876984,
-0.07209809124469757,
0.03507386893033981,
0.01135268621146679,
-0.011247041635215282,
0.003183546708896756,
-0.008768467232584953,
-0.00689125107601285,
-0.02332298457622528,
-0.0341637022793293,
0.01773197017610073,
0.010336876846849918,
0.006306144874542952,
-0.037056729197502136,
0.06715719401836395,
-0.014066928997635841,
-0.015350911766290665,
0.07482858747243881,
0.01045877393335104,
0.019666070118546486,
-0.03968970477581024,
0.04989656060934067,
-0.03315601870417595,
0.023810572922229767,
-0.026394791901111603,
-0.041997626423835754,
0.028020087629556656,
0.03588651493191719,
-0.04352540150284767,
-0.017244379967451096,
-0.057340409606695175,
0.029889175668358803,
-0.06107858940958977,
0.014042549766600132,
0.0058510624803602695,
-0.030230488628149033,
0.055910151451826096,
-0.01782948710024357,
-0.09316191077232361,
-0.01740691065788269,
0.009174791164696217,
-0.022039001807570457,
0.01517212949693203,
-0.036829184740781784,
-0.012864210642874241,
0.033643607050180435,
-0.027678774669766426,
-0.040534857660532,
-0.03799939900636673,
0.001794935204088688,
-0.012669174931943417,
0.009207296185195446,
-0.05431736260652542,
-0.016456112265586853,
-0.0481412410736084,
0.027044910937547684,
0.003520795376971364,
-0.006586508359760046,
0.01877215877175331,
-0.02301417849957943,
0.03377363085746765,
-0.04784868657588959,
0.061858732253313065,
0.01950354129076004,
0.007000958546996117,
-0.05464242026209831,
0.040567364543676376,
0.04784868657588959,
0.00470929266884923,
0.015342785976827145,
-0.023599283769726753,
0.007021274883300066,
-0.046515945345163345,
0.010028070770204067,
0.016919322311878204,
-0.014497632160782814,
-0.004473624750971794,
-0.03289597108960152,
0.02541961520910263,
0.004266399424523115,
0.02199024148285389,
0.012766692787408829,
0.01708185113966465,
0.04313533008098602,
0.0028523928485810757,
-0.010182473808526993,
0.10252360999584198,
0.05483745411038399,
0.02296542003750801,
0.013953158631920815,
0.05096925422549248,
-0.0007715072715654969,
0.004384233616292477,
0.028020087629556656,
-0.04573580250144005,
0.03250590339303017,
-0.04560577869415283,
-0.010588797740638256,
-0.01585475355386734,
0.0447281189262867,
0.005964832846075296,
0.03832445666193962,
-0.041997626423835754,
0.0013682952849194407,
0.04118497669696808,
-0.009126031771302223,
-0.036406610161066055,
-0.014050675556063652,
-0.003236368764191866,
0.02959662303328514,
0.0005774876335635781,
0.011173903942108154,
-0.0058510624803602695,
0.031904540956020355,
0.031937047839164734,
0.020478717982769012,
0.005278145894408226,
0.05018911138176918,
0.05301712453365326,
-0.05262705311179161,
0.016634894534945488,
-0.053439702838659286,
0.012547277845442295,
0.07105790078639984,
-0.06007090583443642,
-0.014522011391818523,
0.017016839236021042,
-0.01410756167024374,
0.023989355191588402,
-0.036959208548069,
0.021795207634568214,
0.004071364179253578,
-0.014660161919891834,
-0.04261523857712746,
0.018317075446248055,
0.04560577869415283,
0.0633540004491806,
0.037869375199079514,
-0.04524821415543556,
0.09023638069629669,
0.005241576582193375,
0.029060276225209236,
-0.0034639101941138506,
0.0009589241235516965,
-0.11110517382621765,
0.00977614987641573,
0.015789741650223732,
0.05022161826491356,
0.040534857660532,
-0.02060874179005623,
0.026573574170470238,
-0.03565897420048714,
-0.029434094205498695,
0.011986550875008106,
0.052497029304504395,
0.013205522671341896,
-0.006318334490060806,
-0.06793733686208725,
-0.05919324606657028,
0.0022510336712002754,
-0.009597367607057095,
0.0010102224769070745,
-0.005107489880174398,
0.01781323365867138,
0.022819142788648605,
0.05613769218325615,
0.00741134537383914,
0.004229830577969551,
-0.02790631726384163,
0.006436168681830168,
-0.06276889890432358,
-0.02229904755949974,
0.04632091149687767,
-0.059778351336717606,
0.010133714415133,
0.07339832931756973,
-0.001040188828483224,
0.007716088555753231,
0.02121010050177574,
-0.011060132645070553,
0.009288561530411243,
0.009759897366166115,
0.07073283940553665,
0.028458917513489723,
0.009719264693558216,
-0.024184390902519226,
0.09621746838092804,
0.005960769485682249,
-0.01062130369246006,
0.018057027831673622,
0.004146534018218517,
-0.011677744798362255,
0.0557476207613945,
-0.012782946228981018,
-0.00940233189612627,
-0.023404249921441078,
0.006716531701385975,
-0.033221032470464706,
0.03910459950566292,
0.04918142780661583,
0.007691708859056234,
0.007752657402306795,
-0.0006435152608901262,
0.040534857660532,
0.04989656060934067,
0.04599585011601448,
0.0240706205368042,
0.006147678475826979,
0.013774375431239605,
0.03998225927352905,
-0.061891235411167145,
-0.0030718077905476093,
0.015692224726080894,
-0.027126174420118332,
0.015383417718112469,
-0.029466599225997925,
0.007716088555753231,
0.007472293917089701,
0.019942371174693108,
0.002507017692551017,
0.018382087349891663,
-0.004485814366489649,
-0.00873596128076315,
-0.047946203500032425,
-0.033269789069890976,
0.0019818441942334175,
-0.04541074484586716,
-0.03209957852959633,
-0.03102688305079937,
0.048596322536468506,
0.014326975680887699,
-0.0019249588949605823,
0.04576830938458443,
-0.024119378998875618,
-0.004380170255899429,
0.005623520817607641,
-0.06228130683302879,
0.01916222833096981,
-0.011433950625360012,
0.014140067622065544,
0.046580955386161804,
-0.03591902181506157,
0.01183214783668518,
0.01706559769809246,
-0.08210990577936172,
0.013684984296560287,
-0.0823049396276474,
0.007569811772555113,
0.01062130369246006,
-0.051359325647354126,
0.01885342225432396,
-0.004233893472701311,
0.03734927996993065,
0.0041018384508788586,
0.04173757880926132,
0.008687201887369156,
0.0656944289803505,
0.07456853985786438,
-0.022120265290141106,
-0.06517433375120163,
0.06276889890432358,
0.005591014865785837,
0.006761227734386921,
-0.03910459950566292,
-0.01851211115717888,
0.02723994478583336,
-0.024119378998875618,
-0.045085687190294266,
0.06062350794672966,
-0.008874110877513885,
-0.08041960000991821,
0.017992015928030014,
-0.030945617705583572,
-0.007049717474728823,
-0.053829774260520935,
-0.04079490527510643,
0.04300530627369881,
0.03131943568587303,
-0.023778067901730537,
0.018008269369602203,
-0.02342050150036812,
0.05054667592048645,
-0.017959510907530785,
-0.00454676290974021,
0.07053780555725098,
0.05470743402838707,
-0.020478717982769012,
-0.04014478996396065,
0.01984485238790512,
-0.04498816654086113,
0.056690290570259094,
0.03520389273762703,
-0.09251179546117783,
0.015919765457510948,
0.07924938946962357,
0.040664881467819214,
-0.014887702651321888,
0.06657208502292633,
0.02925531193614006,
0.014684541150927544,
-0.025614650920033455,
-0.012327862903475761,
-0.013530581258237362,
0.055617596954107285,
-0.002413563197478652,
0.008410901762545109,
-0.0330747552216053,
-0.0012636668980121613,
-0.038129422813653946,
0.01043439470231533,
0.10525410622358322,
-0.0731382817029953,
0.031872037798166275,
-0.030604306608438492,
-0.034358736127614975,
0.00031490091350860894,
0.03216458857059479,
0.036049045622348785,
-0.009711137972772121,
0.013319293037056923,
-0.02680111490190029,
-0.011409571394324303,
0.0663120374083519,
-0.062248799949884415,
-0.011596480384469032,
0.005656026769429445,
0.02231530100107193,
-0.005436611827462912,
0.021405136212706566,
0.014213205315172672,
0.019097216427326202,
-0.017927004024386406,
0.001064568292349577,
-0.025175821036100388,
-0.059388283640146255,
-0.04173757880926132,
-0.04768615588545799,
-0.024119378998875618,
0.02995418757200241,
0.004936833865940571,
-0.06231381371617317,
0.051781900227069855,
0.057372916489839554,
0.03448875993490219,
-0.0023505829740315676,
-0.033286042511463165,
0.005903884302824736,
0.003770684590563178,
-0.026573574170470238,
0.03213208541274071,
-0.032197095453739166,
0.014408241026103497,
-0.014668287709355354,
-0.011060132645070553,
0.017179368063807487,
0.012457886710762978,
0.008256498724222183,
-0.008849731646478176,
-0.02472073771059513,
-0.05643024668097496,
-0.0019980971701443195,
0.04033982381224632,
0.022802889347076416,
0.07086286693811417,
0.0013347736094146967,
0.04768615588545799,
0.016407353803515434,
-0.0034070247784256935,
0.0349438451230526,
0.016919322311878204,
0.017341898754239082,
-0.028150111436843872,
0.02470448426902294,
-0.050416652113199234,
-0.0970626249909401,
-0.061468660831451416,
0.001500350539572537,
0.024119378998875618,
-0.026281021535396576,
-0.04775116965174675,
-0.01771571673452854,
-0.03031175397336483,
0.027743786573410034,
-0.060851048678159714,
-0.011889033950865269,
0.04248521476984024,
-0.020722512155771255,
-0.03302599489688873,
0.000788268109317869,
0.015269647352397442,
-0.02615099772810936,
0.0324571430683136,
-0.047166064381599426,
0.011417698115110397,
-0.0051562488079071045,
-0.06163118779659271,
0.03578899800777435,
-0.024558208882808685,
-0.05483745411038399,
-0.004372043535113335,
0.0787292942404747,
0.01655363105237484,
0.041315000504255295,
0.05860814079642296,
0.020755019038915634,
-0.043720439076423645,
0.017179368063807487,
0.0005673295818269253,
-0.005530066322535276,
0.08445033431053162,
-0.014993347227573395,
-0.023209214210510254,
-0.00817523431032896,
-0.004081522114574909,
0.000427401828346774,
0.004863695707172155,
0.054577410221099854,
0.0006074540433473885,
-0.047166064381599426,
0.027044910937547684,
-0.011563974432647228,
-0.0042542098090052605,
-0.03578899800777435,
0.023209214210510254,
-0.03861701115965843,
-0.020494971424341202,
-0.02680111490190029,
0.09381203353404999,
-0.010377509519457817,
0.01878841035068035,
0.007569811772555113,
0.015123371034860611,
0.018967192620038986,
0.006517433095723391,
-0.03978722169995308,
-0.029450347647070885,
0.05275707691907883,
0.07183804363012314,
-0.059453293681144714,
-0.017536934465169907,
0.04459809511899948,
-0.02306293696165085,
-0.03211583197116852,
-0.05812055245041847,
0.017861992120742798,
0.02342050150036812,
-0.03458628058433533,
0.02122635394334793,
0.02579343318939209,
-0.016919322311878204,
0.01981234736740589,
-0.048628829419612885,
0.011035753414034843,
0.11806143075227737,
0.03419620916247368,
-0.02372930757701397,
0.026264768093824387,
0.013335546478629112,
-0.009857414290308952,
0.02823137491941452,
-0.013644352555274963,
-0.014879576861858368,
0.0019503540825098753,
0.034683797508478165,
-0.06787232309579849,
0.05828308314085007,
0.03845448046922684,
0.049311451613903046,
0.053862277418375015,
-0.026914887130260468,
-0.05122930184006691,
-0.04560577869415283,
-0.00017040202510543168,
0.01392065268009901,
-0.01813829317688942,
0.011840274557471275,
0.042745258659124374,
-0.02719118632376194,
-0.025159567594528198,
0.012149080634117126,
-0.07885931432247162,
0.005050604231655598,
0.010686314664781094,
-0.05470743402838707,
-0.04560577869415283,
-0.07840423285961151,
-0.009703011251986027,
-0.01953604631125927,
-0.027451233938336372,
0.038129422813653946,
-0.0009040703880600631,
0.040534857660532,
0.034293726086616516,
0.024135632440447807,
-0.0013886115048080683,
-0.01309175230562687,
-0.019633565098047256,
0.0967375636100769,
-0.060168422758579254,
-0.022754130885004997,
0.013010486960411072,
0.03027924709022045,
-0.0299704410135746,
-0.013693111017346382,
0.018642134964466095,
0.04391547292470932,
0.01916222833096981,
-0.021470148116350174,
-0.07528366893529892,
-0.014895829372107983,
-0.00885785836726427,
0.00972739141434431,
-0.029206551611423492,
-0.01912972331047058,
-0.016935573890805244,
0.0015643464867025614,
0.02964538149535656,
-0.055910151451826096,
0.004128249362111092,
-0.02645980380475521,
-0.047588638961315155,
-0.021470148116350174,
-0.01609042100608349,
0.0288814939558506,
0.011271421797573566,
0.026654839515686035,
-0.06806735694408417,
-0.005115616135299206,
0.008402775973081589,
0.0355614572763443,
0.007984261959791183,
-0.061533670872449875,
0.016147306188941002,
-0.004835252650082111,
0.06163118779659271,
-0.038194432854652405,
-0.04014478996396065,
0.07014773786067963,
0.024493196979165077,
-0.06462173163890839,
0.04105495288968086,
-0.042355190962553024,
-0.07248815894126892,
-0.025370856747031212,
0.005115616135299206,
-0.037121739238500595,
-0.027483738958835602,
-0.012409128248691559,
-0.010158094577491283,
0.052106961607933044,
0.009321067482233047,
-0.06663709878921509,
-0.004940897226333618,
-0.0034314042422920465,
0.007183804176747799,
-0.051749397069215775,
-0.012214092537760735,
-0.04105495288968086,
-0.04976653680205345,
0.0535697266459465,
-0.016252951696515083,
-0.047881193459033966,
0.009589240886271,
0.014749553054571152,
-0.0036487875040620565,
-0.028328893706202507,
0.04206263646483421,
0.030799342319369316,
0.0033460762351751328,
-0.022250289097428322,
-0.00722037348896265,
-0.01479831151664257,
-0.032619673758745193,
-0.029905429109930992,
-0.02335548959672451,
-0.017325645312666893,
0.06566192209720612,
0.05252953618764877,
0.022429071366786957,
-0.011401444673538208,
-0.004684912972152233,
0.028361398726701736,
-0.04359041526913643,
0.013449316844344139,
-0.01588725857436657,
-0.02195773646235466,
0.07274820655584335,
0.02654106914997101,
0.025500880554318428,
0.005387853365391493,
0.05617019906640053,
0.0017360183410346508,
-0.0447281189262867,
-0.010588797740638256,
0.0883510410785675,
-0.06276889890432358,
-0.014977093786001205,
-0.02444443851709366,
0.006846555508673191,
0.01097886823117733,
-0.010019944049417973,
0.014855196699500084,
-0.010149967856705189,
-0.022900408133864403,
-0.024233149364590645,
-0.03926713019609451,
0.02749999240040779,
0.013717490248382092,
-0.04417552053928375,
0.003642692696303129,
0.047166064381599426,
-0.05470743402838707,
0.007553558796644211,
0.02715868130326271,
-0.0042379568330943584,
0.08067964762449265,
-0.02472073771059513,
-0.025533385574817657,
-0.00340499309822917,
-0.052106961607933044,
0.07339832931756973,
-0.03825944662094116,
-0.007691708859056234,
-0.024834508076310158,
-0.024639474228024483,
0.06702716648578644,
0.005014035385102034,
-0.040209800004959106,
0.013806881383061409,
-0.03237587958574295,
-0.004351727664470673,
-0.007667329628020525,
0.02962912991642952,
-0.0341637022793293,
0.0040794904343783855,
-0.0543498657643795,
-0.02608598582446575,
0.018300822004675865,
0.02751624584197998,
0.05786050483584404,
0.0009604478254914284,
-0.003126661293208599,
-0.043037813156843185,
-0.023209214210510254,
-0.020624995231628418,
-0.056560270488262177,
-0.03721925616264343,
0.013449316844344139,
-0.04121748358011246,
0.03232711926102638,
-0.003963688388466835,
-0.032245855778455734,
-0.0017634452087804675,
0.0018802632112056017,
-0.026719851419329643,
-0.02504579722881317,
-0.0226728655397892,
0.03809691593050957,
-0.011921538971364498,
-0.027288705110549927,
0.002153516048565507,
-0.017569439485669136,
0.033269789069890976,
0.014977093786001205,
0.005050604231655598,
-0.004008383955806494,
0.02476949617266655,
-0.03903958946466446,
-0.03133568912744522,
-0.02199024148285389,
-0.04072989523410797,
0.026020973920822144,
0.01239287480711937,
-0.030604306608438492,
-0.01648861914873123,
0.030896859243512154,
0.04209514334797859,
-0.05262705311179161,
-0.02964538149535656,
0.07885931432247162,
0.030506787821650505,
-0.00977614987641573,
0.028653951361775398,
-0.037154246121644974,
0.03754431754350662,
0.015399671159684658,
0.06982267647981644,
0.02366429567337036,
-0.06007090583443642,
0.018008269369602203,
-0.044858142733573914,
0.01585475355386734,
-0.004136376082897186,
0.03377363085746765,
-0.04043734073638916,
0.06283390522003174,
0.012685428373515606,
-0.020364947617053986,
-0.010369382798671722,
0.02959662303328514,
-0.020397452637553215,
-0.03380613774061203,
-0.03877954185009003,
-0.06302894651889801,
0.002104757120832801,
-0.015180256217718124,
0.024623220786452293,
-0.019422275945544243,
0.021746447309851646,
-0.024655725806951523,
0.024883268401026726,
0.07248815894126892,
0.006115172524005175,
0.048628829419612885,
0.02299792505800724,
-0.019292252138257027,
0.045865826308727264,
-0.016066042706370354,
-0.01776447519659996,
0.004126217681914568,
-0.03179077059030533,
-0.02758125774562359,
-0.09940304607152939,
0.031481966376304626,
-0.015724729746580124,
-0.02548462711274624,
0.05617019906640053,
-0.02964538149535656,
0.003228242276236415,
0.01674054004251957
]
|
41,756 | collections | _replace | Return a new Token object replacing specified fields with new values | def namedtuple(typename, field_names, *, rename=False, defaults=None, module=None):
"""Returns a new subclass of tuple with named fields.
>>> Point = namedtuple('Point', ['x', 'y'])
>>> Point.__doc__ # docstring for the new class
'Point(x, y)'
>>> p = Point(11, y=22) # instantiate with positional args or keywords
>>> p[0] + p[1] # indexable like a plain tuple
33
>>> x, y = p # unpack like a regular tuple
>>> x, y
(11, 22)
>>> p.x + p.y # fields also accessible by name
33
>>> d = p._asdict() # convert to a dictionary
>>> d['x']
11
>>> Point(**d) # convert from a dictionary
Point(x=11, y=22)
>>> p._replace(x=100) # _replace() is like str.replace() but targets named fields
Point(x=100, y=22)
"""
# Validate the field names. At the user's option, either generate an error
# message or automatically replace the field name with a valid name.
if isinstance(field_names, str):
field_names = field_names.replace(',', ' ').split()
field_names = list(map(str, field_names))
typename = _sys.intern(str(typename))
if rename:
seen = set()
for index, name in enumerate(field_names):
if (not name.isidentifier()
or _iskeyword(name)
or name.startswith('_')
or name in seen):
field_names[index] = f'_{index}'
seen.add(name)
for name in [typename] + field_names:
if type(name) is not str:
raise TypeError('Type names and field names must be strings')
if not name.isidentifier():
raise ValueError('Type names and field names must be valid '
f'identifiers: {name!r}')
if _iskeyword(name):
raise ValueError('Type names and field names cannot be a '
f'keyword: {name!r}')
seen = set()
for name in field_names:
if name.startswith('_') and not rename:
raise ValueError('Field names cannot start with an underscore: '
f'{name!r}')
if name in seen:
raise ValueError(f'Encountered duplicate field name: {name!r}')
seen.add(name)
field_defaults = {}
if defaults is not None:
defaults = tuple(defaults)
if len(defaults) > len(field_names):
raise TypeError('Got more default values than field names')
field_defaults = dict(reversed(list(zip(reversed(field_names),
reversed(defaults)))))
# Variables used in the methods and docstrings
field_names = tuple(map(_sys.intern, field_names))
num_fields = len(field_names)
arg_list = ', '.join(field_names)
if num_fields == 1:
arg_list += ','
repr_fmt = '(' + ', '.join(f'{name}=%r' for name in field_names) + ')'
tuple_new = tuple.__new__
_dict, _tuple, _len, _map, _zip = dict, tuple, len, map, zip
# Create all the named tuple methods to be added to the class namespace
namespace = {
'_tuple_new': tuple_new,
'__builtins__': {},
'__name__': f'namedtuple_{typename}',
}
code = f'lambda _cls, {arg_list}: _tuple_new(_cls, ({arg_list}))'
__new__ = eval(code, namespace)
__new__.__name__ = '__new__'
__new__.__doc__ = f'Create new instance of {typename}({arg_list})'
if defaults is not None:
__new__.__defaults__ = defaults
@classmethod
def _make(cls, iterable):
result = tuple_new(cls, iterable)
if _len(result) != num_fields:
raise TypeError(f'Expected {num_fields} arguments, got {len(result)}')
return result
_make.__func__.__doc__ = (f'Make a new {typename} object from a sequence '
'or iterable')
def _replace(self, /, **kwds):
result = self._make(_map(kwds.pop, field_names, self))
if kwds:
raise ValueError(f'Got unexpected field names: {list(kwds)!r}')
return result
_replace.__doc__ = (f'Return a new {typename} object replacing specified '
'fields with new values')
def __repr__(self):
'Return a nicely formatted representation string'
return self.__class__.__name__ + repr_fmt % self
def _asdict(self):
'Return a new dict which maps field names to their values.'
return _dict(_zip(self._fields, self))
def __getnewargs__(self):
'Return self as a plain tuple. Used by copy and pickle.'
return _tuple(self)
# Modify function metadata to help with introspection and debugging
for method in (
__new__,
_make.__func__,
_replace,
__repr__,
_asdict,
__getnewargs__,
):
method.__qualname__ = f'{typename}.{method.__name__}'
# Build-up the class namespace dictionary
# and use type() to build the result class
class_namespace = {
'__doc__': f'{typename}({arg_list})',
'__slots__': (),
'_fields': field_names,
'_field_defaults': field_defaults,
'__new__': __new__,
'_make': _make,
'_replace': _replace,
'__repr__': __repr__,
'_asdict': _asdict,
'__getnewargs__': __getnewargs__,
'__match_args__': field_names,
}
for index, name in enumerate(field_names):
doc = _sys.intern(f'Alias for field number {index}')
class_namespace[name] = _tuplegetter(index, doc)
result = type(typename, (tuple,), class_namespace)
# For pickling to work, the __module__ variable needs to be set to the frame
# where the named tuple is created. Bypass this step in environments where
# sys._getframe is not defined (Jython for example) or sys._getframe is not
# defined for arguments greater than 0 (IronPython), or where the user has
# specified a particular module.
if module is None:
try:
module = _sys._getframe(1).f_globals.get('__name__', '__main__')
except (AttributeError, ValueError):
pass
if module is not None:
result.__module__ = module
return result
| (self, /, **kwds) | [
0.05422442406415939,
0.0013919216580688953,
-0.015399984084069729,
-0.03568263724446297,
-0.032860167324543,
-0.03329280763864517,
0.0027967195492237806,
0.021529074758291245,
0.021014025434851646,
-0.04614844545722008,
-0.04223407059907913,
0.05710870400071144,
0.004498958587646484,
0.06328929960727692,
0.010836644098162651,
0.03343702107667923,
-0.0298110730946064,
0.05636703222990036,
-0.06543190777301788,
-0.03232451528310776,
0.019025932997465134,
0.01592533476650715,
0.03345762565732002,
0.05978696048259735,
0.031994882971048355,
0.010980858467519283,
0.018809612840414047,
0.01048640999943018,
0.0017988107865676284,
-0.00597972609102726,
-0.004107520915567875,
-0.01582232490181923,
-0.030202509835362434,
-0.010733634233474731,
0.0028507995884865522,
-0.06089947000145912,
-0.05006282404065132,
0.058550842106342316,
0.04927994683384895,
-0.005050061736255884,
0.06394856423139572,
-0.09963119775056839,
-0.04952717199921608,
-0.0609818771481514,
-0.0017627573106437922,
0.02340385504066944,
0.022682785987854004,
-0.0114341014996171,
-0.024248536676168442,
-0.053441550582647324,
0.023589273914694786,
0.0063196588307619095,
0.015801722183823586,
-0.004215680994093418,
-0.023156631737947464,
-0.0009464037138968706,
-0.001845165272243321,
0.06184715777635574,
-0.006911966018378735,
0.02313602901995182,
-0.002206987701356411,
0.057603150606155396,
-0.015080653131008148,
0.010481259785592556,
-0.05422442406415939,
-0.024207333102822304,
-0.009281194768846035,
-0.0735078826546669,
-0.02276519313454628,
0.0012451325310394168,
-0.009023669175803661,
-0.000875584373716265,
0.01879931055009365,
0.024248536676168442,
0.07635095715522766,
0.04227527230978012,
-0.02923421747982502,
-0.010846945457160473,
0.04425306245684624,
-0.05158736929297447,
-0.0165948998183012,
-0.01343249436467886,
-0.08075977861881256,
-0.043511394411325455,
-0.03424049913883209,
0.03947340324521065,
-0.050474863499403,
-0.00045678464812226593,
0.030140703544020653,
-0.0017370048444718122,
-0.05311191827058792,
0.016038645058870316,
-0.0037907653022557497,
0.03333401307463646,
-0.051669780164957047,
-0.08661074936389923,
0.0038165177684277296,
-0.03786644712090492,
-0.012896842323243618,
0.035826850682497025,
0.025010809302330017,
-0.045777611434459686,
-0.0918024480342865,
-0.021024325862526894,
-0.008699188008904457,
-0.019767604768276215,
-0.01951007917523384,
-0.015163061209022999,
0.0359092615544796,
-0.03265414759516716,
-0.04322296380996704,
-0.05768555775284767,
-0.029955286532640457,
0.06089947000145912,
-0.003986483905464411,
-0.03403447940945625,
0.021096432581543922,
-0.025999704375863075,
-0.030676355585455894,
-0.03106779418885708,
0.027091611176729202,
0.018809612840414047,
-0.06127030402421951,
0.0491151325404644,
0.008462265133857727,
-0.008992766961455345,
0.061435118317604065,
-0.02597910352051258,
0.038937751203775406,
-0.003363274037837982,
0.022991815581917763,
0.00298986304551363,
-0.042398884892463684,
0.05673786625266075,
0.017872221767902374,
0.03844330459833145,
0.04989800974726677,
0.05031004920601845,
-0.06984072923660278,
0.037619225680828094,
0.0420074462890625,
-0.01217577327042818,
0.06555552035570145,
0.03545601665973663,
-0.0018464529421180487,
-0.04623085632920265,
0.01329858135432005,
0.0069583202712237835,
-0.037516213953495026,
0.03007889911532402,
-0.03302498161792755,
-0.035991668701171875,
0.01893322356045246,
0.02239435724914074,
-0.04643687605857849,
-0.005150496494024992,
-0.0111765768378973,
-0.06407217681407928,
-0.023218438029289246,
-0.041512999683618546,
0.01856238953769207,
-0.0531943254172802,
-0.016172558069229126,
-0.015709014609456062,
0.055336933583021164,
0.021323055028915405,
0.04342898353934288,
-0.08529222011566162,
-0.01361791230738163,
-0.03356063365936279,
-0.00040173871093429625,
0.041203971952199936,
0.026370540261268616,
0.04417065531015396,
-0.034158091992139816,
0.01944827474653721,
-0.007117985747754574,
0.024845995008945465,
0.02398071065545082,
-0.02042686752974987,
0.03879353776574135,
-0.014318379573523998,
-0.062011975795030594,
0.008889756165444851,
0.05846843495965004,
0.03180946409702301,
-0.0020177068654447794,
0.06230040267109871,
0.052287839353084564,
0.026803182438015938,
0.016141654923558235,
-0.04000905528664589,
0.005737653002142906,
-0.006597785744816065,
0.008683736436069012,
0.0630008727312088,
-0.06353652477264404,
0.04614844545722008,
0.017604395747184753,
0.1104266420006752,
-0.027565456926822662,
0.0331897996366024,
0.029213614761829376,
-0.01744988188147545,
0.03279836103320122,
-0.029481440782546997,
0.0548836886882782,
-0.05105172097682953,
-0.03158284351229668,
-0.03378725424408913,
0.08339683711528778,
-0.021426064893603325,
0.007710292935371399,
0.019602788612246513,
-0.010816042311489582,
-0.07251898944377899,
0.0535239577293396,
-0.02987287938594818,
0.006345411296933889,
-0.00417447742074728,
0.08817649632692337,
0.02340385504066944,
-0.02612331695854664,
-0.00585096376016736,
0.0413275808095932,
-0.048826705664396286,
-0.01616225764155388,
-0.029110604897141457,
-0.038402099162340164,
-0.06394856423139572,
0.06271244585514069,
-0.012835036963224411,
-0.029090002179145813,
-0.019283458590507507,
0.02398071065545082,
-0.01629617065191269,
0.009224538691341877,
-0.035723842680454254,
-0.023197835311293602,
-0.02628813311457634,
0.027833281084895134,
0.03568263724446297,
-0.03380785882472992,
-0.009868350811302662,
-0.00973958894610405,
-0.0674096941947937,
-0.02781268022954464,
0.02818351611495018,
-0.019808808341622353,
0.00776694854721427,
-0.01666700653731823,
0.014977643266320229,
-0.010949955321848392,
0.03277776017785072,
0.004362470470368862,
-0.02476358599960804,
-0.03560023009777069,
-0.013525202870368958,
-0.014256573282182217,
-0.027750873938202858,
0.004099795129150152,
-0.058344822376966476,
0.030799968168139458,
0.045035939663648605,
0.05121653527021408,
-0.02770967036485672,
0.004625145811587572,
-0.025690674781799316,
0.013185270130634308,
0.01527637243270874,
0.12031559646129608,
0.036259494721889496,
-0.015451489016413689,
0.016285868361592293,
-0.04536557197570801,
-0.03345762565732002,
0.016440384089946747,
-0.025196228176355362,
0.022806396707892418,
-0.051134128123521805,
-0.00887430552393198,
-0.0228682029992342,
-0.022888805717229843,
-0.01135169342160225,
0.022682785987854004,
0.0613115094602108,
-0.05529572814702988,
0.030738161876797676,
-0.00848286785185337,
-0.00015548060764558613,
0.04515955224633217,
-0.032860167324543,
0.013442795723676682,
-0.03191247582435608,
0.0004175121139269322,
0.02412492409348488,
-0.0857042595744133,
0.02049897611141205,
0.02340385504066944,
-0.06872822344303131,
-0.02496960572898388,
0.018201854079961777,
0.041245173662900925,
0.03889654949307442,
0.051669780164957047,
-0.041822031140327454,
-0.027421241626143456,
-0.004393373150378466,
-0.011052965186536312,
0.046725302934646606,
-0.0276066605001688,
0.01343249436467886,
-0.0215084720402956,
0.00576855568215251,
0.06024020537734032,
0.022435562685132027,
0.0015103830955922604,
-0.014689215458929539,
0.01480252668261528,
0.04318176209926605,
-0.01480252668261528,
-0.06287726014852524,
-0.048085033893585205,
-0.014359584078192711,
-0.008760994300246239,
-0.033890265971422195,
-0.05068088322877884,
-0.007808152586221695,
0.011866743676364422,
-0.017913425341248512,
-0.03568263724446297,
0.007051029242575169,
0.014205068349838257,
0.05785037577152252,
0.001169806462712586,
-0.009713836014270782,
0.010002263821661472,
-0.0259172972291708,
0.004406249616295099,
-0.020540179684758186,
0.0491151325404644,
-0.010445206426084042,
-0.04631326347589493,
-0.01119717862457037,
-0.007117985747754574,
-0.01792372763156891,
0.0140608549118042,
0.016986336559057236,
0.12657859921455383,
-0.0228682029992342,
0.01170192752033472,
-0.08364406228065491,
-0.05311191827058792,
0.01409175805747509,
0.04870309308171272,
-0.02834833227097988,
0.0022662184201180935,
-0.01324707642197609,
0.006685344036668539,
-0.009147281758487225,
0.008915509097278118,
-0.05414201691746712,
0.0012869802303612232,
0.011361994780600071,
0.020169343799352646,
-0.03545601665973663,
-0.032262708991765976,
-0.014998245052993298,
-0.014730419032275677,
-0.011361994780600071,
0.016203461214900017,
-0.015832625329494476,
-0.02954324707388878,
-0.03568263724446297,
-0.047137342393398285,
-0.03211849555373192,
0.027277028188109398,
0.07379630953073502,
-0.08727000653743744,
-0.06778053194284439,
0.01356640737503767,
-0.0663795992732048,
0.027833281084895134,
0.021024325862526894,
0.012216976843774319,
-0.00243875989690423,
0.05583138018846512,
0.02902819775044918,
0.014205068349838257,
0.06271244585514069,
-0.06695645302534103,
0.018943525850772858,
-0.03601226955652237,
-0.031521037220954895,
0.03537360951304436,
-0.013473697938024998,
-0.03937039524316788,
-0.03597106784582138,
-0.05010402947664261,
-0.01246420107781887,
0.007746346294879913,
-0.04375861585140228,
-0.035249996930360794,
0.044294267892837524,
-0.029193013906478882,
0.018129747360944748,
0.09658210724592209,
-0.04412945359945297,
0.009420257993042469,
-0.008549823425710201,
0.046395670622587204,
0.023630477488040924,
-0.06304207444190979,
-0.0833144262433052,
0.06431939452886581,
0.022414959967136383,
0.010543066076934338,
0.03347822651267052,
0.03564143553376198,
0.034570131450891495,
-0.0025082917418330908,
-0.006448421161621809,
0.006000328343361616,
0.02313602901995182,
-0.02886338159441948,
0.04425306245684624,
-0.04384102299809456,
0.024845995008945465,
0.01361791230738163,
0.005050061736255884,
-0.04075072705745697,
0.0012522144243121147,
0.004702403210103512,
-0.012639317661523819,
0.05430683121085167,
-0.0375986211001873,
-0.00789571087807417,
-0.03743380680680275,
-0.010877848602831364,
0.028883982449769974,
0.00889490731060505,
-0.0003228717250749469,
0.010929353535175323,
-0.050474863499403,
0.010743935592472553,
0.015204264782369137,
-0.04759058728814125,
0.01219637505710125,
0.04211045801639557,
0.01673911325633526,
0.0751972422003746,
0.056655459105968475,
0.08463295549154282,
0.015657508745789528,
-0.002065348904579878,
-0.03811367228627205,
-0.03920557722449303,
-0.04837346076965332,
0.01612105406820774,
0.0022404659539461136,
0.01774861104786396,
-0.025793684646487236,
0.05006282404065132,
0.03325160592794418,
-0.04126577451825142,
-0.008426211774349213,
0.03881413862109184,
-0.069099061191082,
-0.015358779579401016,
-0.041142165660858154,
0.06551431119441986,
-0.015317576006054878,
0.024887198582291603,
-0.019736701622605324,
-0.03465253859758377,
0.01616225764155388,
0.00023660092847421765,
-0.008596178144216537,
-0.01866539940237999,
-0.07861717790365219,
0.052658673375844955,
-0.02187930792570114,
0.05410081148147583,
0.002276519313454628,
-0.002737488830462098,
0.03012010268867016,
0.052823491394519806,
0.030367325991392136,
-0.009981662034988403,
0.03044973500072956,
-0.061805956065654755,
0.02787448652088642,
0.0518345944583416,
-0.008302600122988224,
0.00553163280710578,
-0.006463872734457254,
-0.02428974024951458,
0.04149239882826805,
-0.043552596122026443,
-0.033622439950704575,
0.04285212978720665,
-0.050392456352710724,
0.02587609365582466,
-0.03112960048019886,
0.06654441356658936,
-0.039555810391902924,
0.060446225106716156,
0.011022062040865421,
-0.01248480286449194,
-0.03261294215917587,
-0.06378374248743057,
-0.019015632569789886,
0.01744988188147545,
-0.030223112553358078,
0.0019417371368035674,
0.0060363817028701305,
0.004650898277759552,
0.023795293644070625,
-0.065720334649086,
-0.052864693105220795,
0.037516213953495026,
0.0298110730946064,
-0.032839562743902206,
0.015286672860383987,
-0.02991408295929432,
0.028780972585082054,
0.02544345147907734,
-0.0082974499091506,
0.03990604355931282,
0.024413352832198143,
0.00297698681242764,
-0.050474863499403,
-0.0235480684787035,
-0.05484248325228691,
0.03852571174502373,
0.03702176734805107,
-0.0046611991710960865,
0.01792372763156891,
0.04052410647273064,
0.020200246945023537,
0.04816744104027748,
0.05451285094022751,
-0.05546054244041443,
-0.026370540261268616,
-0.011104470118880272,
0.00035248708445578814,
-0.024536963552236557,
0.010058918967843056,
-0.015235167928040028,
-0.03028491884469986,
-0.0064381202682852745,
-0.01768680475652218,
0.0015554499113932252,
-0.010373099707067013,
-0.046560484915971756,
-0.01609015092253685,
-0.0359092615544796,
0.004885245580226183,
0.017192356288433075,
0.030161306262016296,
0.004995981231331825,
0.006633839104324579,
0.02445455640554428,
-0.009760190732777119,
-0.001051345025189221,
0.031994882971048355,
0.03980303555727005,
0.017728008329868317,
-0.0073394570499658585,
-0.01829456351697445,
0.030676355585455894,
0.008271696977317333,
0.046972524374723434,
0.017666202038526535,
0.01388573832809925,
0.029481440782546997,
-0.03689815476536751,
0.0038551464676856995,
-0.01482312846928835,
-0.057397130876779556,
0.02764786407351494,
0.04289333149790764,
-0.011557714082300663,
-0.06176475062966347,
-0.011495907790958881,
-0.02628813311457634,
-0.02045777067542076,
0.008251095190644264,
0.027318231761455536,
0.008513770066201687,
-0.023589273914694786,
0.042398884892463684,
-0.0047101289965212345,
-0.00037341099232435226,
-0.01934526488184929,
0.022105930373072624,
-0.0365891270339489,
0.006469023413956165,
0.010316443629562855,
0.0010024153161793947,
-0.04800262674689293,
0.03813427314162254,
-0.03347822651267052,
-0.002582973800599575,
0.004182203207165003,
-0.03652732074260712,
-0.015523595735430717,
0.00632480951026082,
0.050557270646095276,
0.014205068349838257,
0.06147632375359535,
-0.04853827878832817,
0.03965882211923599,
0.00821504183113575,
-0.02154967561364174,
-0.018243057653307915,
-0.014524399302899837,
-0.015121856704354286,
0.01238179299980402,
-0.04804382845759392,
-0.06794534623622894,
0.024227933958172798,
0.012917445041239262,
0.009373903274536133,
-0.009100927039980888,
-0.05669666454195976,
-0.011207479983568192,
-0.03718658164143562,
0.05125774070620537,
-0.04495353251695633,
-0.0306557547301054,
-0.028101107105612755,
0.023280242457985878,
-0.06703885644674301,
-0.03632130101323128,
0.012402394786477089,
0.02086981013417244,
-0.014781923964619637,
0.01417416613548994,
0.06225920096039772,
0.01167102437466383,
-0.032262708991765976,
-0.006499926093965769,
0.014359584078192711,
-0.010764537379145622,
-0.023280242457985878,
0.05179338902235031,
-0.09600525349378586,
0.0443766750395298,
0.01548239216208458,
-0.020066333934664726,
0.05389479175209999,
0.015266071073710918,
-0.03174765780568123,
-0.02554646134376526,
0.007081932388246059,
-0.0782463401556015,
-0.010527614504098892,
0.027853883802890778,
0.012443599291145802,
0.012165471911430359,
-0.04985680431127548,
0.035311803221702576,
-0.0274418443441391,
0.005804609507322311,
0.05031004920601845,
-0.024310342967510223,
0.05616101250052452,
0.05327673256397247,
0.018850816413760185,
-0.023568671196699142,
-0.003875748487189412,
0.05451285094022751,
-0.003690330544486642,
-0.026638366281986237,
-0.028636759147047997,
0.025381645187735558,
0.048785500228405,
-0.03232451528310776,
-0.0016404330963268876,
0.06118789687752724,
0.013401591219007969,
-0.04491232708096504,
-0.026226326823234558,
-0.007442466914653778,
-0.00913183018565178,
0.021055229008197784,
0.0053771180100739,
0.03059394843876362,
-0.08751723170280457,
0.03939099609851837,
0.01981911063194275,
0.017398376017808914,
0.01981911063194275,
-0.06168234348297119,
-0.02412492409348488,
0.027277028188109398,
-0.03180946409702301,
0.04800262674689293,
-0.020375363528728485,
0.020622586831450462,
0.005245780572295189,
-0.0024284590035676956,
0.03976183012127876,
0.0037341099232435226,
0.052287839353084564,
-0.0013352661626413465,
0.02255917340517044,
0.038772936910390854,
-0.006788353901356459,
-0.008678586222231388,
0.04417065531015396,
0.012000656686723232,
-0.009167883545160294,
0.050969310104846954,
-0.05430683121085167,
0.026576559990644455,
0.07029397040605545,
-0.015575100667774677,
0.03413749113678932,
0.028945788741111755,
-0.0177898146212101,
0.0863635241985321,
-0.002482539275661111,
0.005075814202427864,
0.00006743930862285197,
-0.029996490105986595,
-0.02544345147907734,
-0.03753681853413582,
0.017872221767902374,
0.04412945359945297,
0.04487112537026405,
-0.0460660383105278,
0.023197835311293602,
0.03244812786579132,
-0.031891871243715286,
0.025999704375863075,
0.018706602975726128,
-0.006159993354231119,
0.07387872040271759,
-0.05805639550089836,
0.06250642240047455,
-0.0012238867348060012,
0.04594242572784424,
-0.04969199001789093,
-0.018892019987106323,
0.05892167612910271,
0.02435154654085636,
-0.00768969114869833,
0.02655595913529396,
0.0129586486145854,
0.03801066428422928,
-0.019602788612246513,
-0.019561585038900375,
0.03271595388650894,
-0.06555552035570145,
0.03945280238986015,
-0.0118564423173666,
-0.02834833227097988,
-0.05274108052253723,
-0.031005987897515297,
-0.0023177233524620533,
0.018067941069602966,
0.01934526488184929,
-0.0017794964369386435,
0.03675394132733345,
0.005624341778457165,
0.03271595388650894
]
|
41,757 | tokenize_rt | matches | null | def matches(self, *, name: str, src: str) -> bool:
return self.name == name and self.src == src
| (self, *, name: str, src: str) -> bool | [
0.052710726857185364,
-0.06394976377487183,
-0.046971645206213,
0.003100128611549735,
-0.042359884828329086,
-0.0461859405040741,
0.034144118428230286,
0.03065967559814453,
0.04194995015859604,
0.019847655668854713,
-0.005918427370488644,
0.024117805063724518,
0.04212075471878052,
0.06046532094478607,
0.004440955817699432,
-0.04232572391629219,
0.044648684561252594,
0.05349643528461456,
-0.037508994340896606,
-0.02239266410470009,
-0.027260635048151016,
0.07310496270656586,
0.061626799404621124,
-0.005743351299315691,
0.02261471189558506,
0.09961405396461487,
0.0672633945941925,
-0.029925208538770676,
-0.04413626715540886,
0.02956651709973812,
-0.009582215920090675,
-0.009010015986859798,
0.07057703286409378,
0.025450091809034348,
0.021094540134072304,
-0.01824207976460457,
-0.0328630730509758,
0.01118779182434082,
-0.0774092748761177,
-0.05759577825665474,
0.006507708225399256,
0.028900373727083206,
0.008254199288785458,
0.009727400727570057,
0.0022695844527333975,
0.010547270067036152,
-0.06740004569292068,
0.015355458483099937,
0.004983264487236738,
-0.019813494756817818,
0.0313258171081543,
0.02182900533080101,
-0.03938785940408707,
0.004496467765420675,
0.0018681904766708612,
0.030967125669121742,
-0.009701780043542385,
0.1440236121416092,
0.015483562834560871,
0.0492946095764637,
0.011273195035755634,
-0.038841281086206436,
0.024698546156287193,
-0.04140337184071541,
-0.044956136494874954,
-0.032436057925224304,
0.006601651199162006,
-0.07064535468816757,
-0.04123256355524063,
0.0438288152217865,
-0.04311143234372139,
0.02338333986699581,
0.011648968793451786,
0.0048081884160637856,
-0.03644999861717224,
0.03417827934026718,
-0.0000873379030963406,
0.0500803142786026,
0.040105246007442474,
-0.04488781467080116,
0.05735665187239647,
-0.04649338871240616,
0.00008787167462287471,
-0.07939062267541885,
-0.05212998762726784,
0.014279380440711975,
-0.0391145721077919,
-0.055921878665685654,
0.019540205597877502,
-0.013912147842347622,
0.005798863247036934,
0.030300982296466827,
0.00576897244900465,
-0.008753807283937931,
0.010846179910004139,
-0.0009682564414106309,
0.05899638682603836,
-0.02416904643177986,
0.010299600660800934,
0.04669835790991783,
-0.03175283223390579,
0.03320468217134476,
0.02270011603832245,
0.002745706355199218,
0.03067675605416298,
0.0107607776299119,
-0.02597959153354168,
0.03060843236744404,
-0.04960205778479576,
0.008322522044181824,
0.008467706851661205,
-0.0579032301902771,
0.02292216382920742,
0.054726239293813705,
0.045571036636829376,
-0.07529127597808838,
-0.027175232768058777,
-0.018054192885756493,
-0.08383157849311829,
0.0017593016382306814,
0.020752927288413048,
0.07050871104001999,
-0.01675606705248356,
0.021179942414164543,
0.08437816053628922,
-0.01808835379779339,
0.02145323157310486,
-0.026423687115311623,
-0.015714149922132492,
-0.023451661691069603,
0.013075198046863079,
0.017780903726816177,
-0.05838148668408394,
0.038772959262132645,
0.031257495284080505,
0.054965365678071976,
0.047620709985494614,
0.014860120601952076,
0.01361323706805706,
0.022512229159474373,
0.006772457621991634,
0.02244390733540058,
0.030078934505581856,
-0.039080411195755005,
-0.04844057932496071,
-0.04218908026814461,
0.016380293294787407,
-0.006191716995090246,
0.047928161919116974,
-0.01745637133717537,
-0.008151715621352196,
-0.05858645215630531,
-0.021880246698856354,
0.036279190331697464,
-0.049567896872758865,
-0.02322961390018463,
-0.0026069264858961105,
-0.02167527936398983,
-0.009787183254957199,
0.054247982800006866,
0.044341232627630234,
-0.018737416714429855,
-0.09421658515930176,
0.008898992091417313,
0.004182611592113972,
-0.030420545488595963,
-0.057151682674884796,
0.01964268833398819,
0.008787968195974827,
-0.019676849246025085,
0.011051147244870663,
0.008732455782592297,
0.006191716995090246,
0.04273565858602524,
0.0007809036178514361,
0.040481019765138626,
-0.02691902406513691,
-0.013177681714296341,
0.00015932995302136987,
-0.02724355459213257,
0.027670569717884064,
-0.027260635048151016,
-0.0016685610171407461,
0.03380250558257103,
0.02879788912832737,
0.02433985285460949,
-0.007259254343807697,
0.03545932471752167,
0.048474740236997604,
0.01627781055867672,
-0.021624037995934486,
-0.05428214371204376,
-0.03880712017416954,
-0.023844515904784203,
-0.03624502941966057,
-0.030642593279480934,
-0.005820213817059994,
0.04085679352283478,
0.050831861793994904,
0.009770102798938751,
0.01660234108567238,
-0.06453049927949905,
-0.026560330763459206,
0.038602154701948166,
0.03265810385346413,
-0.005487142130732536,
0.07658940553665161,
0.020325912162661552,
0.028507519513368607,
-0.03233357518911362,
-0.030078934505581856,
-0.0461859405040741,
0.024220289662480354,
0.021145781502127647,
0.05131011828780174,
0.01530421618372202,
-0.04389713704586029,
-0.014979684725403786,
-0.004445225931704044,
0.02534760907292366,
0.06210505589842796,
0.02418612688779831,
0.009266224689781666,
0.04007108509540558,
0.04099343717098236,
-0.01769549958407879,
0.027636408805847168,
0.058108195662498474,
-0.037133220583200455,
-0.01706351898610592,
0.016875632107257843,
-0.021709440276026726,
0.054589591920375824,
0.001476404257118702,
-0.03458821401000023,
0.06394976377487183,
0.030403465032577515,
0.06326653808355331,
-0.061626799404621124,
0.019369399175047874,
0.01494552381336689,
0.03144538402557373,
0.01947188191115856,
-0.014800339005887508,
-0.00335420249029994,
-0.09373832494020462,
-0.028900373727083206,
0.0003333385684527457,
-0.017558855935931206,
-0.01947188191115856,
0.011555025354027748,
0.06135351210832596,
-0.04703997075557709,
-0.028575841337442398,
-0.06309573352336884,
-0.01971101015806198,
-0.060055386275053024,
-0.022358503192663193,
0.06172928214073181,
-0.019420640543103218,
-0.004564790055155754,
-0.002852459903806448,
0.04000276327133179,
0.025791704654693604,
-0.01482595968991518,
0.02230726182460785,
0.011563565582036972,
0.032282330095767975,
-0.02755100652575493,
-0.06849320232868195,
0.0297373216599226,
-0.005739081185311079,
-0.015449401922523975,
0.020872492343187332,
-0.00045717289322055876,
-0.052061665803194046,
0.021999811753630638,
0.01341680996119976,
-0.02613331563770771,
-0.04475116729736328,
0.03873879835009575,
0.007545354310423136,
0.015321296639740467,
-0.008027881383895874,
0.01909611001610756,
-0.05725416541099548,
0.0414716936647892,
0.01706351898610592,
-0.03475901857018471,
-0.007387359160929918,
-0.012033281847834587,
-0.0038794309366494417,
0.03966115042567253,
-0.040651824325323105,
-0.03153078630566597,
0.05609268695116043,
0.024425256997346878,
-0.0006213067681528628,
-0.01791754737496376,
0.019625607877969742,
-0.035322677344083786,
-0.015534804202616215,
0.024783948436379433,
-0.002491632243618369,
-0.055443622171878815,
-0.007955288514494896,
-0.0665460154414177,
-0.019301077350974083,
-0.00365738314576447,
-0.014936983585357666,
0.02473270706832409,
0.009522433392703533,
-0.05216414853930473,
-0.018839901313185692,
-0.00692618265748024,
0.006345442496240139,
0.03236773610115051,
-0.023332098498940468,
-0.04335055872797966,
0.03949034586548805,
0.008634242229163647,
0.020565040409564972,
-0.0703720673918724,
0.00477402750402689,
0.026577411219477654,
-0.03320468217134476,
0.005141260102391243,
-0.0034182548988610506,
-0.010632672347128391,
0.009761562570929527,
-0.010709535330533981,
-0.02080416865646839,
0.06856152415275574,
-0.0015020251739770174,
-0.02410072460770607,
0.0077417814172804356,
-0.05219830945134163,
-0.002331501804292202,
0.05349643528461456,
0.027328958734869957,
-0.00005918160604778677,
-0.037201542407274246,
-0.018566610291600227,
-0.031718671321868896,
0.07597450166940689,
0.013391189277172089,
-0.003806838532909751,
0.0007446073577739298,
0.059269677847623825,
-0.02526220493018627,
-0.023588307201862335,
-0.03498106449842453,
0.04348720610141754,
-0.021504472941160202,
0.024596061557531357,
0.053018178790807724,
0.015363998711109161,
0.011281735263764858,
0.0004747872590087354,
-0.01861785352230072,
0.08314835280179977,
-0.01902778632938862,
-0.0031214794144034386,
-0.08164526522159576,
-0.04355552792549133,
0.016721906140446663,
0.008664133958518505,
0.009454111568629742,
-0.033050958067178726,
-0.010940123349428177,
-0.027209393680095673,
0.023964080959558487,
-0.05096850544214249,
-0.056058526039123535,
-0.01216138619929552,
-0.06948387622833252,
0.023998241871595383,
-0.01964268833398819,
-0.0012095199199393392,
-0.012502998113632202,
0.035800933837890625,
0.08335331827402115,
0.034161198884248734,
0.05431630462408066,
-0.0026240069419145584,
-0.01514195092022419,
-0.026252880692481995,
0.03880712017416954,
-0.0360059030354023,
-0.010308140888810158,
0.034861501306295395,
0.009659078903496265,
-0.005734811071306467,
-0.019779333844780922,
-0.05353059619665146,
-0.06979132443666458,
-0.015082168392837048,
0.024988915771245956,
-0.08936569094657898,
0.0399002768099308,
-0.010957203805446625,
0.004633112344890833,
-0.0508660227060318,
0.03163326904177666,
-0.019266914576292038,
0.03863631561398506,
0.05988457798957825,
0.02239266410470009,
-0.04164249822497368,
0.023844515904784203,
-0.07481302320957184,
-0.01902778632938862,
-0.060670286417007446,
-0.01651693880558014,
-0.04570768401026726,
0.023981161415576935,
0.02464730478823185,
-0.037611477077007294,
-0.008984395302832127,
0.03146246448159218,
-0.03433200344443321,
0.013083738274872303,
0.010393544100224972,
0.025467172265052795,
0.008941693231463432,
-0.02309297025203705,
0.02934446930885315,
-0.021641118451952934,
0.021641118451952934,
-0.034007471054792404,
-0.07310496270656586,
0.002438255585730076,
0.039080411195755005,
-0.008762347511947155,
0.05991873890161514,
-0.01800295151770115,
-0.028968695551156998,
-0.04468284547328949,
-0.018327482044696808,
-0.031120851635932922,
-0.03450280800461769,
-0.040720146149396896,
-0.04297478497028351,
0.045024458318948746,
-0.06511124223470688,
-0.0477231927216053,
0.009889666922390461,
-0.012101604603230953,
0.017123300582170486,
0.0016931144054979086,
-0.06271995604038239,
0.08519802987575531,
-0.05978209525346756,
-0.055580269545316696,
0.003919997252523899,
-0.044717006385326385,
-0.010427705943584442,
0.013186221942305565,
-0.045878488570451736,
-0.054965365678071976,
-0.028131745755672455,
0.010162956081330776,
0.013015416450798512,
-0.017797984182834625,
0.011034066788852215,
0.034622374922037125,
0.043316397815942764,
-0.013980469666421413,
0.028268391266465187,
-0.0014913497725501657,
-0.007579515688121319,
-0.003919997252523899,
-0.004530628677457571,
0.0081175547093153,
0.04082263261079788,
0.013596156612038612,
-0.021726520732045174,
0.07440308481454849,
-0.0422574020922184,
0.03972947224974632,
-0.014851580373942852,
-0.036894094198942184,
0.0265944916754961,
0.02785845659673214,
0.020787088200449944,
-0.058176517486572266,
-0.0027179503813385963,
0.006003830581903458,
-0.032897233963012695,
-0.032589782029390335,
0.01566290855407715,
-0.03542516008019447,
0.0008732455899007618,
0.024374013766646385,
-0.04649338871240616,
0.00028663378907367587,
0.02550133317708969,
0.05564859136939049,
-0.023673709481954575,
-0.007366008125245571,
-0.0035805203951895237,
0.00008113284275168553,
-0.04451204091310501,
0.025842946022748947,
0.015321296639740467,
-0.036108385771512985,
-0.0024980376474559307,
-0.0516175702214241,
-0.029241984710097313,
0.059577129781246185,
0.004974724259227514,
0.035083550959825516,
0.012571320869028568,
0.008066312409937382,
0.11929090321063995,
0.04826977103948593,
0.016286350786685944,
0.003260259283706546,
-0.0641205683350563,
-0.05202750489115715,
0.04454620182514191,
-0.032897233963012695,
0.05264240503311157,
-0.02254639007151127,
-0.014031711965799332,
0.031957801431417465,
-0.005884266458451748,
0.001263964339159429,
0.03176991268992424,
-0.01538107916712761,
0.02589418739080429,
0.006934722885489464,
-0.07269503176212311,
-0.029002856463193893,
0.027448521926999092,
0.0633348599076271,
0.004152720794081688,
-0.0019375804113224149,
-0.015133410692214966,
0.05766410008072853,
0.015902036800980568,
0.00304034654982388,
0.018959464505314827,
-0.010299600660800934,
-0.034690696746110916,
0.046527549624443054,
-0.024049483239650726,
-0.021863166242837906,
0.06347150355577469,
-0.00264108763076365,
0.018652014434337616,
-0.022495148703455925,
-0.04516110196709633,
-0.03942202031612396,
0.034007471054792404,
0.04577600583434105,
-0.006413764785975218,
-0.015432320535182953,
-0.027995102107524872,
0.03441740572452545,
0.04444371908903122,
-0.002025118563324213,
-0.0013920688070356846,
0.03496398404240608,
-0.055819395929574966,
-0.06480379402637482,
0.028524599969387054,
-0.03949034586548805,
0.04516110196709633,
0.03496398404240608,
0.0032346383668482304,
0.020325912162661552,
0.055580269545316696,
0.022888002917170525,
-0.022102294489741325,
-0.020325912162661552,
0.033375490456819534,
0.02768765017390251,
-0.054965365678071976,
-0.016721906140446663,
-0.009821344166994095,
-0.028610002249479294,
0.05482872202992439,
0.019523125141859055,
-0.052847374230623245,
-0.02276843786239624,
-0.01732826791703701,
0.030932964757084846,
-0.03935369849205017,
-0.011853935196995735,
-0.018583690747618675,
0.05021696165204048,
-0.006977424491196871,
-0.036347515881061554,
0.005837294738739729,
-0.0059739393182098866,
0.004041696898639202,
-0.03638167679309845,
0.02510848082602024,
0.005683569237589836,
0.01490282267332077,
-0.07139690220355988,
-0.00973594095557928,
-0.05995289981365204,
-0.010154415853321552,
0.014672234654426575,
-0.029293226078152657,
-0.03672328591346741,
0.006601651199162006,
0.021384909749031067,
0.03785060718655586,
0.03651832044124603,
0.028029263019561768,
-0.030813399702310562,
0.025877106934785843,
0.021965650841593742,
-0.0029271875973790884,
0.07556457072496414,
-0.003934943117201328,
0.022273100912570953,
-0.008967313915491104,
0.04755238816142082,
0.00557254534214735,
0.012426135130226612,
-0.004983264487236738,
-0.02620163932442665,
-0.008202957920730114,
0.01329724583774805,
-0.007088448386639357,
-0.024288611486554146,
0.027346039190888405,
-0.01907902956008911,
0.029361549764871597,
-0.028422117233276367,
0.005277905147522688,
-0.05985041707754135,
0.03621086850762367,
-0.028678325936198235,
-0.026645734906196594,
0.00025180538068525493,
-0.035869255661964417,
-0.02606499381363392,
0.008941693231463432,
0.03928537666797638,
-0.04837225377559662,
0.052300792187452316,
-0.01482595968991518,
-0.04232572391629219,
0.016764607280492783,
-0.06302741169929504,
0.02355414628982544,
0.04570768401026726,
0.04164249822497368,
0.03972947224974632,
0.061763446778059006,
0.0332559272646904,
-0.01752469502389431,
0.03778228536248207,
0.0038409996777772903,
0.023434581235051155,
-0.003253854112699628,
-0.011563565582036972,
0.07050871104001999,
0.0017486263532191515,
0.028695406392216682,
0.017815064638853073,
0.04973870515823364,
-0.10357674956321716,
-0.05294985696673393,
0.0602261908352375,
-0.07658940553665161,
0.06166096031665802,
-0.008275549858808517,
-0.023673709481954575,
0.04656171053647995,
-0.00173154566437006,
0.0006853590020909905,
-0.07235341519117355,
-0.014680774882435799,
-0.04160833731293678,
-0.014552670530974865,
-0.015722692012786865,
0.03417827934026718,
0.008536029607057571,
0.05571691319346428,
0.10897421836853027,
-0.04444371908903122,
-0.02481810934841633,
0.05267656594514847,
-0.02526220493018627,
-0.021692359820008278,
-0.019198592752218246,
0.029925208538770676,
0.008907532319426537,
-0.010402084328234196,
0.05892806500196457,
0.026782378554344177,
0.03474193811416626,
-0.029481112957000732,
-0.029993532225489616,
-0.007874156348407269,
0.023759113624691963,
0.025552576407790184,
-0.02683361992239952,
-0.02980564534664154,
-0.025142641738057137,
-0.024596061557531357,
0.008049231953918934,
0.017097679898142815,
-0.00809620413929224,
-0.07289999723434448,
-0.02143615111708641,
-0.005777512677013874,
0.005922697484493256,
0.048850513994693756,
-0.015176111832261086,
0.0024190398398786783,
-0.021658198907971382,
0.04608345404267311,
0.02213645540177822,
0.020684605464339256,
0.018344562500715256,
-0.010863260366022587,
-0.022426826879382133,
-0.039558667689561844,
-0.038602154701948166,
-0.04741574078798294,
-0.05209582671523094,
0.030574271455407143,
0.032521460205316544,
-0.03137705847620964,
0.07016710191965103,
-0.015244434587657452,
0.05530697852373123,
-0.06610191613435745,
-0.0013397594448179007,
0.015679989010095596,
-0.041984111070632935,
0.0017443561227992177,
0.007455681450664997,
0.0037299757823348045,
0.034400325268507004,
0.05862061306834221,
-0.06719507277011871,
-0.014612452127039433,
0.018276240676641464,
0.006213067565113306,
0.0162351094186306,
-0.014646613039076328,
0.02707274816930294,
0.049807026982307434,
0.009633457288146019,
0.0005577882984653115,
-0.011085308156907558,
0.04003692418336868,
-0.023571226745843887,
-0.0367574468255043,
-0.032982636243104935,
0.019523125141859055,
0.012930013239383698,
-0.04140337184071541,
0.06459882110357285,
0.026799459010362625,
-0.0262187197804451,
-0.031957801431417465,
-0.02379327453672886,
-0.0179858710616827,
0.04727909713983536
]
|
41,758 | tokenize_rt | _re_partition | null | def _re_partition(regex: Pattern[str], s: str) -> tuple[str, str, str]:
match = regex.search(s)
if match:
return s[:match.start()], s[slice(*match.span())], s[match.end():]
else:
return (s, '', '')
| (regex: Pattern[str], s: str) -> tuple[str, str, str] | [
0.007436990272253752,
0.02494817040860653,
-0.015706781297922134,
0.03587307035923004,
-0.01450683269649744,
-0.05720348656177521,
0.04706661403179169,
0.01851859875023365,
0.011417414993047714,
-0.017470883205533028,
0.04832028970122337,
0.06185999885201454,
-0.04301902651786804,
0.004367720801383257,
0.013414342887699604,
0.00654598418623209,
0.042051903903484344,
0.02195725589990616,
-0.04810537397861481,
0.04251755774021149,
0.0073519195429980755,
0.031628478318452835,
0.01117563433945179,
0.003393882419914007,
-0.013360613957047462,
0.02381986193358898,
0.021384146064519882,
-0.020381204783916473,
-0.018276818096637726,
-0.017166418954730034,
0.05627218261361122,
-0.0011641285382211208,
-0.0740743950009346,
-0.0032841856591403484,
-0.011721879243850708,
0.029783781617879868,
0.03879234567284584,
0.05054108798503876,
0.0030267343390733004,
0.03268514946103096,
-0.06157344579696655,
-0.04817701131105423,
0.019306624308228493,
-0.057060208171606064,
-0.014703839085996151,
0.016494806855916977,
-0.009156318381428719,
-0.05691692978143692,
-0.014918754808604717,
0.03879234567284584,
0.02806445211172104,
-0.043842870742082596,
-0.03707301616668701,
-0.04237427935004234,
0.059603381901979446,
-0.0028162957169115543,
0.02845846489071846,
0.06945370137691498,
0.039974384009838104,
-0.012044252827763557,
0.04785463958978653,
-0.013575529679656029,
-0.015142626129090786,
0.06332859396934509,
-0.0011932317866012454,
-0.03375972807407379,
0.04144297540187836,
-0.056773655116558075,
-0.05279770866036415,
-0.007248939014971256,
-0.010011505335569382,
0.03628499060869217,
-0.022852739319205284,
-0.03771776333451271,
-0.016647038981318474,
0.05412302166223526,
0.04674423858523369,
-0.010047324933111668,
0.06544193625450134,
-0.00883842259645462,
0.02159906178712845,
0.0025230247993022203,
-0.05269024893641472,
-0.022530365735292435,
0.05509014427661896,
-0.03608798608183861,
0.02211844176054001,
-0.03739539161324501,
-0.061000335961580276,
0.04377123340964317,
-0.04018929973244667,
-0.010665208101272583,
0.042445916682481766,
0.053263358771800995,
-0.043807052075862885,
-0.024213874712586403,
-0.025969021022319794,
0.00914736371487379,
-0.0522962361574173,
-0.026882415637373924,
-0.019933462142944336,
0.07514897733926773,
-0.07651010900735855,
-0.03503131493926048,
0.002912560012191534,
-0.03725211322307587,
-0.045920394361019135,
-0.016745541244745255,
-0.03417165204882622,
-0.029353948310017586,
-0.022297538816928864,
-0.007069842424243689,
-0.08274267613887787,
0.03882816433906555,
-0.00654598418623209,
0.011838291771709919,
-0.04642186313867569,
-0.053979746997356415,
0.021258778870105743,
-0.020524481311440468,
-0.03642826899886131,
0.00514903012663126,
-0.057490039616823196,
0.04778299853205681,
-0.03329407796263695,
0.02466161549091339,
0.048069555312395096,
0.051472391933202744,
-0.01971854642033577,
0.003351347055286169,
-0.0016801509773358703,
0.06665979325771332,
-0.058564621955156326,
-0.011945749633014202,
-0.07364456355571747,
0.049824703484773636,
0.00527887511998415,
0.056057266891002655,
-0.042481739073991776,
-0.02494817040860653,
-0.06429571658372879,
-0.012948691844940186,
-0.025575008243322372,
0.04756808280944824,
0.02706151083111763,
-0.030750904232263565,
0.020775217562913895,
0.041013143956661224,
0.07772796601057053,
0.04201608523726463,
-0.020130468532443047,
-0.005037094932049513,
0.05738258361816406,
-0.023497486487030983,
0.0013387477956712246,
-0.02953304536640644,
-0.01630675420165062,
-0.015500819310545921,
0.07199687510728836,
-0.00671612611040473,
0.01572469063103199,
0.006093765143305063,
0.001224573701620102,
-0.011936794966459274,
-0.003714017802849412,
0.03667900338768959,
0.031467288732528687,
-0.001643212279304862,
-0.010817441157996655,
-0.0017439541406929493,
0.055770713835954666,
0.07930401712656021,
-0.058815356343984604,
-0.024213874712586403,
-0.06146598607301712,
-0.012071117758750916,
-0.0007286997279152274,
0.046636782586574554,
0.014300871640443802,
-0.004405778832733631,
0.0789458230137825,
-0.006443003658205271,
0.004074450116604567,
0.04423688352108002,
-0.018142495304346085,
0.0001484543754486367,
0.017211193218827248,
0.017067914828658104,
0.01177560817450285,
-0.04398614913225174,
-0.03153892979025841,
-0.010244331322610378,
-0.04112060368061066,
-0.017363425344228745,
-0.023246752098202705,
0.017793256789445877,
-0.011981569230556488,
-0.010405518114566803,
-0.028476376086473465,
-0.011086085811257362,
-0.09621074795722961,
-0.03234486281871796,
-0.05788405239582062,
0.017067914828658104,
0.01653958112001419,
-0.036822281777858734,
0.0016185864806175232,
0.035783521831035614,
-0.10774457454681396,
0.005050526931881905,
-0.06035558879375458,
0.011148769408464432,
0.05791987478733063,
-0.004822178743779659,
-0.00963540282100439,
-0.0789458230137825,
0.0549110472202301,
0.05899445340037346,
0.0740743950009346,
-0.031234463676810265,
-0.009715995751321316,
-0.020345386117696762,
0.042768292129039764,
0.018106676638126373,
0.04187280684709549,
-0.008525002747774124,
-0.024016868323087692,
-0.03531786799430847,
0.0295688658952713,
-0.0503619909286499,
0.05018289387226105,
-0.06479718536138535,
0.08503511548042297,
0.011605465784668922,
0.03814759850502014,
-0.009671221487224102,
-0.01203529816120863,
-0.08138154447078705,
0.0772981345653534,
-0.055018506944179535,
-0.038219235837459564,
0.043842870742082596,
-0.02965841442346573,
0.015805283561348915,
0.0004748860956169665,
-0.0062280879355967045,
-0.06017649173736572,
-0.02609439007937908,
0.003353585721924901,
-0.007705635391175747,
-0.01624407060444355,
0.036052167415618896,
0.005431107245385647,
0.011103995144367218,
0.013521800749003887,
0.004134895280003548,
-0.06150180846452713,
0.05419466271996498,
0.009313028305768967,
0.006675829645246267,
0.04925159364938736,
-0.018590237945318222,
-0.032470230013132095,
-0.061609264463186264,
0.040690772235393524,
-0.012787504121661186,
0.01585901342332363,
-0.011139814741909504,
-0.0020137184765189886,
0.016772406175732613,
0.04649350419640541,
0.03501340374350548,
-0.014372509904205799,
-0.005135597661137581,
-0.023891499266028404,
-0.004746062681078911,
-0.08410380780696869,
-0.02650631219148636,
0.0734296441078186,
-0.037180475890636444,
0.0017159702256321907,
0.014641155488789082,
-0.052976805716753006,
0.008099648170173168,
0.05333499610424042,
0.018151450902223587,
0.06039140745997429,
-0.09090948849916458,
-0.0367148220539093,
0.0006721722893416882,
-0.047317348420619965,
-0.07457586377859116,
-0.02154533378779888,
0.0017965637380257249,
-0.021240869536995888,
0.03850578889250755,
-0.002341689309105277,
-0.014954574406147003,
0.01578737422823906,
-0.014524742029607296,
0.02833309769630432,
0.02267364226281643,
-0.003942366223782301,
0.05269024893641472,
-0.014900845475494862,
0.010289105586707592,
-0.034941766411066055,
0.02614811807870865,
0.00010382011532783508,
-0.03349108248949051,
-0.04534728452563286,
-0.049466509371995926,
-0.01002046000212431,
0.015653051435947418,
-0.033705998212099075,
0.031001638621091843,
0.029873330146074295,
0.08460528403520584,
-0.026560040190815926,
-0.00018077573622576892,
0.03135983273386955,
-0.03775358572602272,
-0.03583724796772003,
0.013933722861111164,
0.04602785035967827,
0.005063959397375584,
-0.056809473782777786,
0.00035959258093498647,
0.008659325540065765,
0.07543552666902542,
-0.04183698818087578,
0.03743121027946472,
-0.031753845512866974,
0.01952154003083706,
0.004880385007709265,
-0.02362285554409027,
0.02159906178712845,
-0.03528204932808876,
-0.010074189864099026,
-0.05598562955856323,
0.04115642234683037,
-0.027562981471419334,
-0.008381725288927555,
-0.01465011015534401,
0.038613248616456985,
0.011560692451894283,
0.00418190797790885,
0.0190021600574255,
0.00244467006996274,
-0.03850578889250755,
0.0503619909286499,
0.010781621560454369,
-0.010709982365369797,
-0.028745019808411598,
0.04115642234683037,
0.05480359122157097,
-0.05007543787360191,
-0.053299177438020706,
0.0074817645363509655,
-0.027115240693092346,
0.057490039616823196,
0.019306624308228493,
0.013844175264239311,
-0.020775217562913895,
0.041371338069438934,
-0.05007543787360191,
-0.060212310403585434,
0.003288663225248456,
-0.017784303054213524,
-0.01091594435274601,
-0.02790326625108719,
0.023658674210309982,
0.047997914254665375,
-0.0431981235742569,
-0.018276818096637726,
-0.017488792538642883,
-0.025951111689209938,
0.007526538800448179,
-0.030392710119485855,
-0.024249693378806114,
0.028368918225169182,
-0.03413582965731621,
0.03603425621986389,
0.033419445157051086,
-0.04617112874984741,
0.03024943359196186,
-0.011829337105154991,
0.021724428981542587,
0.04749644547700882,
0.052546970546245575,
-0.024930261075496674,
0.010629389435052872,
0.0028565924149006605,
-0.0003436417900957167,
0.03456566482782364,
-0.006389274727553129,
0.018375322222709656,
-0.017784303054213524,
-0.013280020095407963,
-0.023604944348335266,
0.0086100734770298,
-0.003272992093116045,
-0.05963920056819916,
0.0042916047386825085,
0.02346166782081127,
0.005328126717358828,
0.014694884419441223,
0.013611349277198315,
0.006290771532803774,
-0.04738898575305939,
-0.0020719249732792377,
-0.045490562915802,
0.006644487380981445,
-0.09527944773435593,
0.027151059359312057,
-0.05351409316062927,
0.02206471376121044,
0.09470633417367935,
-0.04090568795800209,
-0.011005491949617863,
0.01439042016863823,
-0.07357292622327805,
0.018043993040919304,
0.02159906178712845,
0.027759987860918045,
0.01504412293434143,
-0.027992814779281616,
-0.0211155004799366,
0.012581543065607548,
-0.002699882723391056,
-0.01702314056456089,
0.04857102409005165,
-0.04291157051920891,
-0.0010622673435136676,
0.057812415063381195,
0.006868358235806227,
0.09578091651201248,
0.08797229826450348,
0.028476376086473465,
0.03463730216026306,
0.03592679649591446,
0.04402196779847145,
-0.0027692827861756086,
-0.006828061770647764,
0.11920676380395889,
0.016235115006566048,
-0.025610828772187233,
0.0027491343207657337,
0.0004219966067466885,
-0.00849813874810934,
0.02937185950577259,
-0.014900845475494862,
-0.023175112903118134,
0.015438135713338852,
0.03261350840330124,
-0.017784303054213524,
0.0017797735054045916,
-0.0510067418217659,
0.03943709284067154,
0.011811427772045135,
0.09112440049648285,
0.03587307035923004,
0.022243810817599297,
0.07357292622327805,
-0.04588457569479942,
-0.0428757518529892,
0.06569267064332962,
-0.05559161677956581,
-0.014435194432735443,
-0.015966471284627914,
0.048069555312395096,
-0.026237666606903076,
0.012214395217597485,
-0.023210931569337845,
0.022637823596596718,
-0.004857997875660658,
0.0007275803363882005,
-0.004186385311186314,
0.05774077773094177,
0.0007639593677595258,
0.016808224841952324,
-0.0188409723341465,
-0.018249953165650368,
0.02222589962184429,
-0.032470230013132095,
-0.012483039870858192,
-0.01991555280983448,
0.010763711296021938,
-0.025933202356100082,
-0.043842870742082596,
-0.014551606960594654,
0.03583724796772003,
-0.011148769408464432,
0.028476376086473465,
-0.0013353897957131267,
0.009680177085101604,
0.024966079741716385,
0.00781309325248003,
0.04115642234683037,
0.0003033450338989496,
-0.020363295450806618,
-0.0061967456713318825,
0.017721617594361305,
-0.023246752098202705,
-0.01442623883485794,
0.06605086475610733,
-0.012518859468400478,
-0.026918234303593636,
-0.03259560093283653,
-0.007374306675046682,
-0.028010724112391472,
-0.039616189897060394,
-0.056737836450338364,
0.021384146064519882,
-0.03972364962100983,
0.001704776776023209,
0.02482280321419239,
-0.03488803654909134,
0.03621335327625275,
-0.06408079713582993,
-0.00551617844030261,
-0.005234100855886936,
0.017596250399947166,
-0.012366627342998981,
-0.006241519935429096,
-0.020972223952412605,
-0.007159390486776829,
-0.009107067249715328,
0.022422906011343002,
-0.06461808830499649,
-0.01968272775411606,
-0.005005752667784691,
0.013485981151461601,
-0.017336560413241386,
0.03714465722441673,
-0.0036177532747387886,
-0.03187921270728111,
-0.015133671462535858,
-0.025557098910212517,
0.04395033046603203,
-0.009536899626255035,
0.018043993040919304,
0.028530104085803032,
0.01211589202284813,
-0.021652791649103165,
0.06816420704126358,
0.02754507213830948,
0.029944967478513718,
-0.06461808830499649,
-0.0027916699182242155,
-0.018536508083343506,
0.002726747188717127,
0.017273876816034317,
-0.010709982365369797,
-0.012097981758415699,
-0.025198906660079956,
-0.07722649723291397,
-0.037896860390901566,
-0.035102952271699905,
-0.021330416202545166,
0.050111256539821625,
0.0030446439050137997,
0.05387228727340698,
0.020578211173415184,
-0.02426760271191597,
-0.028404736891388893,
0.03463730216026306,
0.008722009137272835,
-0.010647298768162727,
0.04964560642838478,
0.02553918957710266,
0.050863463431596756,
0.02056030184030533,
0.013271065428853035,
-0.02426760271191597,
-0.0477471798658371,
0.003270753426477313,
-0.04620694741606712,
-0.00577586842700839,
0.05791987478733063,
0.06995517015457153,
0.034941766411066055,
0.03255977854132652,
0.01416654884815216,
-0.024697434157133102,
0.01734551601111889,
0.002852114848792553,
-0.007687726058065891,
-0.04688751697540283,
-0.002341689309105277,
0.07210433483123779,
0.09606747329235077,
0.061322711408138275,
0.006998203694820404,
-0.03433283790946007,
-0.02790326625108719,
0.010172693058848381,
-0.0040654949843883514,
-0.014676974155008793,
0.006044513545930386,
-0.008533957414329052,
0.02777789905667305,
0.04903667792677879,
0.03746702894568443,
0.06300622224807739,
-0.04917995259165764,
-0.007687726058065891,
0.0005848626606166363,
0.005310217384248972,
0.0008081738487817347,
0.051185838878154755,
-0.007150435820221901,
-0.005905713886022568,
-0.03624917194247246,
-0.0665881559252739,
0.026757046580314636,
-0.05412302166223526,
-0.04506073147058487,
-0.000306423258734867,
-0.0373595729470253,
-0.026649588719010353,
0.05054108798503876,
-0.018339501693844795,
0.014417284168303013,
0.028351007029414177,
0.024733254685997963,
0.01955736055970192,
-0.04817701131105423,
0.054015565663576126,
-0.06028394773602486,
-0.029586775228381157,
-0.011103995144367218,
0.05243951454758644,
-0.03515668213367462,
0.03332989662885666,
0.026882415637373924,
-0.03904308006167412,
-0.021205049008131027,
-0.05512596294283867,
0.012680046260356903,
-0.00888319592922926,
-0.036302901804447174,
0.05963920056819916,
-0.02586156316101551,
0.010799530893564224,
-0.005650500766932964,
0.013056149706244469,
0.011184589006006718,
-0.002112221671268344,
0.02004092000424862,
0.00875782873481512,
0.07794288545846939,
0.0029797214083373547,
-0.025413822382688522,
-0.04864266514778137,
0.06766273081302643,
-0.011103995144367218,
-0.012223349884152412,
-0.049430690705776215,
-0.04115642234683037,
0.0060803331434726715,
-0.01229498814791441,
0.010880124755203724,
0.09979268163442612,
-0.001075699576176703,
-0.0023260184098035097,
0.009545854292809963,
0.021061772480607033,
-0.004387869033962488,
0.0018726799171417952,
0.004857997875660658,
0.004217727109789848,
0.01640525832772255,
0.0029595729429274797,
0.017855940386652946,
-0.04294738918542862,
0.03008824586868286,
-0.01663808338344097,
-0.04882176220417023,
0.01728283241391182,
0.037896860390901566,
-0.008108602836728096,
0.012599453330039978,
-0.04026093706488609,
-0.0005121046560816467,
-0.006604190915822983,
-0.04617112874984741,
-0.01185620203614235,
0.030195703729987144,
0.002657347358763218,
0.014891890808939934,
0.003015540773048997,
-0.003989378921687603,
-0.06261220574378967,
-0.0711372122168541,
0.04857102409005165,
0.017829077318310738,
0.0018659638008102775,
0.06461808830499649,
-0.030715083703398705,
-0.013763581402599812,
-0.018572328612208366,
-0.036338720470666885,
0.005892281420528889,
-0.01923498511314392,
-0.01943199150264263,
-0.05580653250217438,
-0.03547905758023262,
-0.03696556016802788,
0.014077000319957733,
0.0046296496875584126,
-0.009715995751321316,
-0.021025951951742172,
-0.008180242031812668,
0.036499906331300735,
-0.045562200248241425,
0.018590237945318222,
-0.022422906011343002,
0.021205049008131027,
0.05627218261361122,
-0.057167667895555496,
-0.009492125362157822,
0.07715485990047455,
-0.005471404176205397,
-0.043842870742082596,
-0.006747468374669552,
0.014300871640443802,
0.018500689417123795,
0.00437891436740756,
0.025736195966601372,
-0.04738898575305939,
0.03947291150689125,
-0.00989509280771017,
0.002085357205942273,
0.06067796051502228,
0.011999478563666344,
-0.00043291031033731997,
-0.043484680354595184,
-0.00755340326577425,
-0.05179476737976074,
0.011820382438600063,
-0.011811427772045135,
-0.012053207494318485,
0.002784953685477376,
-0.0565229170024395,
0.03940127417445183,
0.02641676366329193,
0.05007543787360191,
-0.06748363375663757,
-0.05487522855401039,
0.025843653827905655,
-0.00544901704415679,
0.03332989662885666,
-0.01530381292104721,
-0.06597922742366791,
-0.017300741747021675,
0.0640091598033905,
-0.00017419952200725675,
-0.059603381901979446,
0.030070336535573006,
0.006819107104092836,
0.04294738918542862,
0.01839323155581951,
0.049466509371995926,
0.027276428416371346,
-0.02806445211172104,
0.009939867071807384,
0.030464349314570427
]
|
41,762 | tokenize_rt | main | null | def main(argv: Sequence[str] | None = None) -> int:
parser = argparse.ArgumentParser()
parser.add_argument('filename')
args = parser.parse_args(argv)
with open(args.filename) as f:
tokens = src_to_tokens(f.read())
for token in tokens:
line, col = str(token.line), str(token.utf8_byte_offset)
print(f'{line}:{col} {token.name} {token.src!r}')
return 0
| (argv: Optional[Sequence[str]] = None) -> int | [
-0.027007322758436203,
0.004276316147297621,
0.00933313649147749,
0.006244032643735409,
0.04679263010621071,
0.016484621912240982,
0.003561637597158551,
0.030355026945471764,
0.025502735748887062,
-0.0223431047052145,
-0.011416047811508179,
0.01347544975578785,
-0.037050433456897736,
0.04476143792271614,
0.02230549044907093,
0.03353346511721611,
0.056045833975076675,
0.04088712856173515,
0.0014399359934031963,
0.04077428579330444,
-0.011143341660499573,
0.0020535250660032034,
-0.009530613198876381,
0.0026565350126475096,
-0.034135300666093826,
0.023546773940324783,
0.005101487506181002,
-0.042166028171777725,
-0.008120063692331314,
-0.07541738450527191,
-0.05040363594889641,
-0.044686209410429,
-0.0430687814950943,
0.006041854154318571,
-0.05021556466817856,
-0.07233297824859619,
0.020706867799162865,
0.022023379802703857,
-0.042692631483078,
-0.03990915045142174,
0.002919837599620223,
-0.03968346118927002,
0.006921096704900265,
0.016174301505088806,
-0.03718208521604538,
-0.007960201241075993,
0.001998278545215726,
-0.13751918077468872,
-0.037934377789497375,
-0.052284371107816696,
0.0006476773414760828,
-0.05706143006682396,
0.004779411945492029,
0.0027411680202931166,
0.043821074068546295,
0.03934492915868759,
0.02095136232674122,
0.028079340234398842,
0.01088003907352686,
0.0022039837203919888,
-0.026668790727853775,
-0.015262146480381489,
0.018816731870174408,
-0.01784815452992916,
0.007490018382668495,
-0.029621541500091553,
0.02691328525543213,
-0.013071092776954174,
-0.04273024946451187,
0.005712725687772036,
0.03569630905985832,
-0.014114899560809135,
0.018167877569794655,
-0.005181418731808662,
0.04325685277581215,
0.014716734178364277,
-0.025295855477452278,
0.04355777055025101,
0.02569080889225006,
0.024599984288215637,
0.005331877153366804,
0.005270753521472216,
0.02068806067109108,
0.018196089193224907,
0.001807854394428432,
-0.005820868071168661,
0.014434623531997204,
-0.02503255195915699,
-0.085385262966156,
0.005590477958321571,
-0.022700443863868713,
0.033439427614212036,
0.005548161454498768,
0.01088003907352686,
-0.01593920961022377,
0.013071092776954174,
0.013118110597133636,
0.016691502183675766,
-0.04536327347159386,
-0.001651518396101892,
-0.008547930046916008,
0.013889211229979992,
0.047507308423519135,
0.0009891479276120663,
-0.011970863677561283,
0.02680044248700142,
0.013654119335114956,
0.034981630742549896,
-0.010626140050590038,
-0.03272474929690361,
-0.035545848309993744,
-0.037088051438331604,
0.025935305282473564,
-0.04160180687904358,
0.054315563291311264,
-0.03607245534658432,
0.03787795826792717,
0.04818437248468399,
-0.03588438034057617,
0.06033390760421753,
0.07974306493997574,
-0.027740808203816414,
0.0171146672219038,
0.008952287957072258,
0.002919837599620223,
-0.0660889521241188,
-0.0038460984360426664,
-0.0002787304692901671,
0.03661786764860153,
-0.04160180687904358,
0.01907063089311123,
-0.038780707865953445,
0.0036603761836886406,
-0.034737132489681244,
0.043896302580833435,
-0.02223026193678379,
0.08282747119665146,
0.008378664031624794,
-0.04009722173213959,
-0.021139435470104218,
0.06988802552223206,
-0.012873616069555283,
-0.016794944182038307,
-0.04833483323454857,
-0.05386418476700783,
0.014049073681235313,
0.027101358398795128,
-0.03140823543071747,
0.06642748415470123,
0.038197681307792664,
0.030618328601121902,
-0.02849310077726841,
-0.028794018551707268,
0.017791731283068657,
0.012836000882089138,
-0.03095686063170433,
-0.002915135817602277,
-0.03249906003475189,
0.005957221146672964,
0.02183530665934086,
0.023321086540818214,
0.045588962733745575,
-0.03394722566008568,
0.027439890429377556,
-0.005952519364655018,
0.008101256564259529,
-0.04115043208003044,
0.029640348628163338,
-0.04852290451526642,
-0.04092474281787872,
0.029358237981796265,
-0.029207779094576836,
-0.011453662067651749,
0.052510056644678116,
0.08892104774713516,
-0.007786233443766832,
-0.007353664841502905,
0.05642198398709297,
0.02926420234143734,
0.012121322564780712,
0.005303666461259127,
-0.010720176622271538,
0.009695176966488361,
-0.035244930535554886,
0.024825671687722206,
-0.005858482327312231,
0.02960273250937462,
0.021045399829745293,
0.04950088635087013,
-0.05119354650378227,
0.07876508682966232,
0.00309145450592041,
0.011651139706373215,
0.032781172543764114,
0.0024966727942228317,
-0.02930181659758091,
-0.04092474281787872,
0.024129800498485565,
0.055820148438215256,
-0.10998524725437164,
-0.02127108722925186,
0.03592199459671974,
0.011782790534198284,
-0.022474756464362144,
0.0027059041894972324,
0.04961372911930084,
0.01653164066374302,
0.05525592714548111,
-0.10073204338550568,
0.0034017753787338734,
0.0555192306637764,
-0.11096323281526566,
0.024581177160143852,
-0.014039670117199421,
0.016240127384662628,
-0.028662366792559624,
-0.021026592701673508,
0.015619485639035702,
-0.010889442637562752,
-0.0019359792349860072,
0.1325540393590927,
0.005919606424868107,
0.013484853319823742,
0.057512808591127396,
0.06499812006950378,
-0.013625908643007278,
0.0668412446975708,
0.03402245417237282,
-0.013259165920317173,
0.0040506282821297646,
0.011086919344961643,
-0.06552472710609436,
-0.030599521473050117,
0.023603195324540138,
0.014434623531997204,
-0.005049767438322306,
0.029583925381302834,
0.0014904807321727276,
-0.044046759605407715,
-0.029771998524665833,
-0.06195133551955223,
0.022700443863868713,
0.011453662067651749,
-0.0027905371971428394,
-0.006300454493612051,
0.0027035532984882593,
-0.0066813030280172825,
-0.04254217445850372,
-0.02510778233408928,
0.02980961464345455,
0.022361911833286285,
-0.02211741730570793,
-0.021101821213960648,
0.029978880658745766,
-0.04077428579330444,
-0.035658691078424454,
-0.019258704036474228,
-0.06349353492259979,
0.021553197875618935,
0.03919447213411331,
0.008463297039270401,
-0.01428416557610035,
0.036166489124298096,
-0.01091765332967043,
-0.009572929702699184,
0.017772924154996872,
-0.04178988188505173,
0.016738520935177803,
0.029170164838433266,
-0.07146784663200378,
0.0627412423491478,
0.03667428717017174,
-0.03330777585506439,
0.010983479209244251,
-0.08809351921081543,
-0.025371083989739418,
0.005435317754745483,
0.06736784428358078,
0.011566506698727608,
-0.013268569484353065,
0.03169034793972969,
0.015431412495672703,
-0.018938979133963585,
0.012431643903255463,
-0.016625678166747093,
-0.004074137192219496,
0.0005407106364145875,
-0.06086051091551781,
-0.06819537281990051,
-0.029866036027669907,
0.036824747920036316,
0.028004109859466553,
0.026781633496284485,
-0.026969706639647484,
0.051118314266204834,
-0.0027153079863637686,
-0.005054469220340252,
-0.015224531292915344,
-0.03838575631380081,
-0.01461329311132431,
-0.04303116351366043,
-0.037934377789497375,
0.03648621588945389,
-0.044686209410429,
-0.04637886956334114,
0.024129800498485565,
-0.0029245393816381693,
-0.0539017990231514,
0.012506872415542603,
-0.04852290451526642,
0.02649952471256256,
0.027402276173233986,
-0.0024896198883652687,
-0.00446203863248229,
0.011058708652853966,
-0.00984563585370779,
-0.03353346511721611,
0.018910767510533333,
0.05345042422413826,
-0.017124071717262268,
-0.0017338005127385259,
0.0010379294399172068,
0.054466020315885544,
-0.013926826417446136,
0.03802841529250145,
0.007541738450527191,
0.025239434093236923,
-0.03744538873434067,
0.04498712718486786,
-0.04423483461141586,
0.028041725978255272,
-0.02241833508014679,
-0.01567590795457363,
0.009004008024930954,
-0.0031032089609652758,
-0.040322910994291306,
-0.04483667016029358,
0.0022427737712860107,
-0.029471082612872124,
-0.030242182314395905,
0.0695871114730835,
-0.004151717759668827,
0.013456642627716064,
0.003437038976699114,
0.03644860163331032,
-0.002039419487118721,
-0.029170164838433266,
-0.06018344685435295,
0.01833714358508587,
-0.011086919344961643,
0.01432177983224392,
0.05867886170744896,
-0.018384162336587906,
-0.01555365975946188,
0.009004008024930954,
0.016917191445827484,
0.022982554510235786,
-0.06183849275112152,
0.013193340040743351,
0.025013744831085205,
-0.034323371946811676,
-0.04483667016029358,
-0.01540320087224245,
-0.08312838524580002,
-0.04825960099697113,
-0.06296693533658981,
0.0511559322476387,
-0.05187061056494713,
-0.004880501423031092,
0.052209142595529556,
-0.013635312207043171,
0.040661443024873734,
-0.0021275789476931095,
-0.020744482055306435,
-0.04483667016029358,
-0.023133013397455215,
-0.0030679453630000353,
0.033815573900938034,
-0.06973756849765778,
-0.008524421602487564,
-0.039006397128105164,
0.056121066212654114,
0.014397009275853634,
0.026969706639647484,
-0.05826510116457939,
-0.02356558106839657,
-0.08591187000274658,
-0.009008710272610188,
-0.036204107105731964,
0.03595960885286331,
-0.02046237140893936,
-0.028775211423635483,
0.0009150940459221601,
-0.009502402506768703,
0.0024261451326310635,
-0.021139435470104218,
-0.05126877501606941,
0.028474293649196625,
-0.052660517394542694,
-0.005976028274744749,
-0.035621076822280884,
0.0406990572810173,
0.015450219623744488,
0.019522005692124367,
-0.002724711550399661,
0.009601140394806862,
0.0022227910812944174,
0.007884971797466278,
-0.016588062047958374,
0.026819249615073204,
-0.027552735060453415,
0.011434854939579964,
0.030467869713902473,
0.011444258503615856,
-0.016766732558608055,
-0.06928619742393494,
0.02061283029615879,
-0.021007785573601723,
0.0043233344331383705,
-0.03073117323219776,
-0.010419259779155254,
0.012911230325698853,
0.042316485196352005,
0.03483116999268532,
0.018938979133963585,
-0.021910537034273148,
-0.014820174314081669,
-0.03569630905985832,
0.016465814784169197,
-0.008956989273428917,
-0.0832788422703743,
-0.004215192049741745,
0.035658691078424454,
-0.011669946834445,
-0.012309395708143711,
0.024788057431578636,
0.02223026193678379,
0.017255723476409912,
0.07458986341953278,
0.0479210689663887,
0.005087382160127163,
-0.0038202384021133184,
0.018619254231452942,
0.036016032099723816,
-0.03441740944981575,
-0.0018701535882428288,
-0.025784846395254135,
-0.00990205816924572,
-0.043858688324689865,
0.008811232633888721,
-0.036937590688467026,
0.010560314171016216,
-0.030524292960762978,
-0.07410086691379547,
0.027872459962964058,
-0.056083451956510544,
-0.08786783367395401,
0.0580017976462841,
-0.024712828919291496,
0.020311914384365082,
-0.00030209269607439637,
0.02176007814705372,
0.05879170447587967,
-0.06326784938573837,
0.024581177160143852,
-0.052246756851673126,
0.013306183740496635,
0.04427244886755943,
-0.050478868186473846,
-0.023321086540818214,
0.018092649057507515,
0.0003690937883220613,
-0.03041144832968712,
-0.022738058120012283,
-0.020819710567593575,
0.028869247063994408,
0.005999537650495768,
-0.028850439935922623,
-0.0277596153318882,
0.009704580530524254,
-0.021365124732255936,
0.010024305433034897,
0.04148896411061287,
0.023133013397455215,
0.026443103328347206,
0.0342293344438076,
0.02072567492723465,
-0.1127687320113182,
-0.016070861369371414,
-0.045927494764328,
0.03014814667403698,
0.009605842642486095,
-0.017932787537574768,
-0.07507885247468948,
0.04009722173213959,
0.014500449411571026,
0.02691328525543213,
0.059318311512470245,
-0.020199069753289223,
-0.023170627653598785,
0.02345273643732071,
-0.026198606938123703,
-0.006178207229822874,
-0.07718527317047119,
-0.004125857260078192,
0.07801279425621033,
0.061199042946100235,
-0.03814126178622246,
-0.017829345539212227,
-0.009093343280255795,
-0.007720408029854298,
0.005449423100799322,
0.03308209031820297,
0.04701831936836243,
0.031671538949012756,
0.07097885012626648,
0.05830271542072296,
0.03706924244761467,
0.005120295099914074,
0.05292382091283798,
-0.017810538411140442,
-0.08350453525781631,
0.025897689163684845,
-0.011867423541843891,
-0.0034676010254770517,
0.022042186930775642,
-0.015487833879888058,
0.03545181080698967,
0.010071324184536934,
0.038047224283218384,
0.01605205424129963,
-0.013259165920317173,
-0.0049416255205869675,
-0.06149996072053909,
-0.00999609474092722,
-0.020293105393648148,
0.07628252357244492,
-0.03407887741923332,
0.1030641570687294,
0.04878620803356171,
-0.005303666461259127,
-0.01781994290649891,
-0.022060995921492577,
0.005007450934499502,
-0.047281622886657715,
-0.019239896908402443,
-0.028944477438926697,
-0.003916625864803791,
0.033740345388650894,
-0.020481180399656296,
0.002748220693320036,
-0.0308064017444849,
-0.012516275979578495,
0.01641879603266716,
-0.019822923466563225,
0.05548161640763283,
-0.002124052494764328,
0.01778232865035534,
0.0006194663583301008,
0.005797358695417643,
0.04449813812971115,
0.0085573336109519,
-0.0026847459375858307,
-0.014660311862826347,
-0.08764214813709259,
0.018243107944726944,
-0.0181114561855793,
-0.019935766234993935,
-0.06612656265497208,
0.02999768778681755,
0.015666503459215164,
-0.0000215806740015978,
0.0020993680227547884,
-0.04141373559832573,
-0.04942565783858299,
0.0036533232778310776,
0.0181114561855793,
0.03313850983977318,
0.03456786647439003,
0.04716877639293671,
0.0011983794393017888,
0.005778551567345858,
-0.010466277599334717,
0.02664998359978199,
0.006643688306212425,
0.09569168090820312,
-0.020123841241002083,
-0.03934492915868759,
0.05160730704665184,
0.013550679199397564,
-0.02002980373799801,
-0.02584126777946949,
0.003587497631087899,
0.009779809974133968,
0.0013082846999168396,
0.01372934877872467,
-0.018985997885465622,
0.0065778628922998905,
0.020932555198669434,
-0.019427970051765442,
-0.009986691176891327,
-0.04367061331868172,
0.006262840237468481,
-0.0005583425518125296,
0.034360986202955246,
-0.01814907044172287,
0.02392292022705078,
-0.026424294337630272,
-0.04540088772773743,
0.06014583259820938,
-0.023546773940324783,
-0.012892423197627068,
-0.005256648175418377,
-0.06262840330600739,
-0.04803391546010971,
0.015779348090291023,
0.0660889521241188,
0.0398339182138443,
0.026593560352921486,
0.014208936132490635,
0.0011960284318774939,
0.0551430843770504,
-0.015121091157197952,
-0.02006741799414158,
0.05548161640763283,
0.11141461133956909,
-0.04600272327661514,
0.012008478865027428,
0.0009197958861477673,
0.04167703911662102,
0.00622992729768157,
-0.02080090343952179,
-0.013663523830473423,
-0.04818437248468399,
0.05326235294342041,
-0.02384769171476364,
0.01391742192208767,
-0.03658025339245796,
-0.0313706211745739,
0.037633463740348816,
-0.009328434243798256,
-0.025352276861667633,
0.025709616020321846,
-0.006352175027132034,
-0.004184630233794451,
-0.017387373372912407,
-0.043933916836977005,
0.04197795316576958,
0.08719076961278915,
0.030712366104125977,
0.06736784428358078,
0.015929806977510452,
0.04502474144101143,
0.05653482675552368,
-0.01249746885150671,
-0.0033500553108751774,
-0.007231417577713728,
-0.013776367530226707,
0.04645409807562828,
0.0024849181063473225,
0.03302566707134247,
0.012572698295116425,
0.055970605462789536,
0.023716039955615997,
-0.090877003967762,
-0.061274271458387375,
0.020556408911943436,
-0.03915685415267944,
-0.032593097537755966,
0.04683024436235428,
-0.018459392711520195,
0.004722990095615387,
0.0502907931804657,
0.03445502370595932,
0.008820636197924614,
-0.038968782871961594,
0.059318311512470245,
0.027515120804309845,
-0.0030491380020976067,
-0.04660455882549286,
0.00984563585370779,
0.009817425161600113,
0.05371372774243355,
-0.035978417843580246,
-0.01476375199854374,
0.03923208639025688,
-0.02098897658288479,
0.010663754306733608,
0.08764214813709259,
-0.013071092776954174,
-0.047582536935806274,
0.047582536935806274,
0.06563757359981537,
-0.019935766234993935,
-0.0362229123711586,
0.06270363181829453,
-0.06390729546546936,
-0.02337750792503357,
-0.02076328918337822,
-0.02119585871696472,
0.038630250841379166,
0.008105957880616188,
0.054390791803598404,
-0.015666503459215164,
-0.01578875072300434,
0.004309229087084532,
-0.016682099550962448,
0.0179233830422163,
-0.045664191246032715,
-0.004946327302604914,
0.026367872953414917,
-0.023546773940324783,
-0.02649952471256256,
0.03721969947218895,
0.01432177983224392,
0.003227807581424713,
-0.10103296488523483,
0.04765776917338371,
0.01969127170741558,
0.0171146672219038,
-0.06251555681228638,
0.0430687814950943,
0.00551995076239109,
0.030862824991345406,
-0.009389557875692844,
-0.018346548080444336,
-0.03279997780919075,
-0.013409624807536602,
0.010391048155725002,
-0.04359538480639458,
0.026010533794760704,
-0.0607476681470871,
-0.02649952471256256,
-0.02557796612381935,
-0.038084838539361954,
0.025314662605524063,
0.04246694594621658,
-0.045588962733745575,
0.09162929654121399,
-0.026330258697271347,
0.005449423100799322,
0.030862824991345406,
-0.0736871063709259,
0.005454124882817268,
0.033213742077350616,
0.044009145349264145,
-0.0013647066662088037,
0.03968346118927002,
-0.005736235063523054,
0.035545848309993744,
-0.007692196872085333,
0.022042186930775642,
-0.033477041870355606,
-0.003853151109069586,
-0.008886462077498436,
0.009949075989425182,
0.04980180412530899,
-0.04118804633617401,
0.003777921898290515,
-0.03975868970155716,
-0.008623159490525723,
-0.0115759102627635,
-0.05322473496198654,
-0.02418622374534607,
0.01847819983959198,
0.005820868071168661,
-0.014208936132490635,
0.04517520219087601
]
|
41,763 | tokenize_rt | parse_string_literal | parse a string literal's source into (prefix, string) | def parse_string_literal(src: str) -> tuple[str, str]:
"""parse a string literal's source into (prefix, string)"""
match = _string_re.match(src)
assert match is not None
return match.group(1), match.group(2)
| (src: str) -> tuple[str, str] | [
-0.04692957550287247,
0.036784615367650986,
-0.006874307058751583,
-0.058351781219244,
0.009333000518381596,
-0.009998992085456848,
0.05254944786429405,
0.07152564078569412,
0.07940805703401566,
-0.0745910182595253,
-0.012142936699092388,
0.07590475678443909,
-0.045214422047138214,
0.012152059935033321,
0.0253624077886343,
-0.012991391122341156,
0.012425755150616169,
0.007275726646184921,
-0.05043287202715874,
0.015755711123347282,
-0.05809633433818817,
0.04127321392297745,
0.04083529859781265,
0.05941006913781166,
0.008708063513040543,
0.013119115494191647,
-0.014232141897082329,
-0.06437307596206665,
-0.010026361793279648,
-0.003097315551713109,
0.04795137047767639,
-0.017726315185427666,
-0.03545263037085533,
-0.012854543514549732,
-0.012298030778765678,
-0.04174761846661568,
0.0293401088565588,
-0.019706042483448982,
-0.040141940116882324,
-0.02432236634194851,
-0.0027323889080435038,
-0.02561785653233528,
0.00002252282138215378,
-0.04295187443494797,
-0.03483225405216217,
-0.016886984929442406,
-0.07634267210960388,
-0.08174358308315277,
-0.013566151261329651,
-0.021731385961174965,
0.038317304104566574,
0.01616625301539898,
-0.09145063906908035,
-0.039667535573244095,
0.022771427407860756,
0.02855551615357399,
0.02667614258825779,
0.09626767039299011,
0.017717191949486732,
0.0428788885474205,
0.05098026245832443,
-0.0213847067207098,
-0.021585416048765182,
0.036638643592596054,
-0.02724177949130535,
-0.07221899926662445,
0.05068832263350487,
-0.04492247849702835,
-0.045944273471832275,
-0.03722252696752548,
-0.05057884380221367,
-0.013401933945715427,
-0.0275154747068882,
-0.03853626176714897,
0.018757233396172523,
-0.006541311275213957,
-0.0015862908912822604,
0.0026822113431990147,
-0.0025293983053416014,
-0.009255453944206238,
-0.0031429314985871315,
-0.039886489510536194,
-0.005624433048069477,
-0.06981047987937927,
0.010117593221366405,
-0.023975685238838196,
-0.038718726485967636,
-0.009333000518381596,
-0.04258694872260094,
0.05616222321987152,
-0.010008115321397781,
-0.0146974241361022,
-0.014679177664220333,
0.07831327617168427,
-0.04090828448534012,
-0.014925503171980381,
0.01566447876393795,
-0.017899654805660248,
0.011340097524225712,
0.016430824995040894,
0.007134317420423031,
-0.025800319388508797,
-0.0545930378139019,
-0.00228763441555202,
0.019286377355456352,
-0.01858389377593994,
-0.010646737180650234,
-0.016695396974682808,
0.025563117116689682,
-0.05441057309508324,
0.036218978464603424,
-0.10320127755403519,
-0.02981451340019703,
0.04977600648999214,
0.016540303826332092,
0.009834774769842625,
-0.029467832297086716,
-0.03510595113039017,
0.001676382147707045,
-0.004075775388628244,
0.03455856069922447,
0.003336798632517457,
-0.04587128758430481,
0.022151051089167595,
0.0393390990793705,
0.013839845545589924,
0.02143944427371025,
-0.031091757118701935,
0.0035055773332715034,
0.014743039384484291,
0.056454163044691086,
0.058497752994298935,
-0.007745569571852684,
-0.0033276756294071674,
-0.051746610552072525,
0.026639651507139206,
0.028993427753448486,
0.04368172958493233,
-0.0031360890716314316,
-0.011066403239965439,
0.04809734225273132,
0.058351781219244,
0.009743543341755867,
-0.03479576110839844,
-0.02782566286623478,
-0.0022545629180967808,
0.027022823691368103,
0.03479576110839844,
0.07418960332870483,
0.019103914499282837,
-0.019468840211629868,
-0.03269743546843529,
-0.02023518644273281,
0.04780539870262146,
0.0038203266449272633,
-0.06543136388063431,
-0.0006905097980052233,
-0.025873305276036263,
0.045214422047138214,
-0.027114056050777435,
-0.004023317247629166,
-0.017169801518321037,
0.013785107061266899,
-0.03729550912976265,
0.026238230988383293,
0.021767878904938698,
0.08699852973222733,
-0.033299561589956284,
-0.04477651044726372,
-0.08269239217042923,
-0.011157634668052197,
-0.006044098641723394,
-0.017416127026081085,
0.036328453570604324,
0.02123873494565487,
-0.014159156940877438,
0.014743039384484291,
0.07024839520454407,
-0.01265383418649435,
-0.04481299966573715,
0.041820600628852844,
-0.0088540343567729,
-0.015518508851528168,
0.009460724890232086,
-0.024066917598247528,
0.008986320346593857,
0.04214903712272644,
0.04879070445895195,
0.011148511432111263,
-0.05375370755791664,
-0.03740498796105385,
-0.04284239560365677,
-0.04506845027208328,
0.024815017357468605,
-0.042696427553892136,
0.0016524337697774172,
-0.008771926164627075,
-0.02488800324499607,
-0.04021492600440979,
-0.004536495078355074,
-0.019012682139873505,
0.0068925535306334496,
-0.04984898865222931,
0.030617352575063705,
0.06495695561170578,
-0.018866712227463722,
0.007754692807793617,
0.03107351064682007,
-0.08327627927064896,
-0.01883021928369999,
-0.026895100250840187,
-0.0037519028410315514,
0.015682725235819817,
0.03722252696752548,
-0.01622099243104458,
-0.0582423061132431,
-0.021220488473773003,
0.04375471547245979,
0.01040953490883112,
-0.028044618666172028,
0.05349825695157051,
-0.026749128475785255,
0.05043287202715874,
0.009834774769842625,
0.042550455778837204,
-0.02118399553000927,
-0.022424746304750443,
0.03479576110839844,
0.01280892826616764,
0.017352266237139702,
0.0780213326215744,
-0.04025141894817352,
0.07948104292154312,
0.008516477420926094,
0.018264582380652428,
0.014688300900161266,
0.03813484311103821,
-0.002049291506409645,
0.06083328276872635,
-0.013794230297207832,
-0.06543136388063431,
-0.009027374908328056,
-0.005565132480114698,
-0.015290429815649986,
0.027679691091179848,
0.03289814293384552,
-0.014971118420362473,
-0.013137361966073513,
-0.01914040744304657,
-0.00396629748865962,
-0.0020892054308205843,
0.09312929958105087,
0.04711204022169113,
0.008151550777256489,
-0.029887499287724495,
-0.02306336909532547,
0.018684247508645058,
0.04006895422935486,
0.018684247508645058,
-0.007106947712600231,
-0.02390269935131073,
-0.00593462074175477,
0.01670452021062374,
-0.028902197256684303,
0.023975685238838196,
-0.028938688337802887,
-0.023245831951498985,
0.04477651044726372,
0.012507863342761993,
-0.006504818797111511,
0.11517087370157242,
-0.005756719037890434,
-0.021348213776946068,
-0.0016786629566922784,
-0.033135347068309784,
-0.022771427407860756,
0.021822618320584297,
0.02443184331059456,
0.10028186440467834,
-0.03594528138637543,
-0.005054234992712736,
0.01119412761181593,
-0.03180336207151413,
-0.024869756773114204,
0.03298937529325485,
0.017753684893250465,
0.07167160511016846,
-0.07882416993379593,
0.002787127858027816,
0.014323374256491661,
-0.015153582207858562,
-0.04397366940975189,
-0.012690327130258083,
-0.0005106123280711472,
0.03163914754986763,
0.0896259993314743,
0.045944273471832275,
-0.015992913395166397,
-0.0033413602504879236,
-0.004949318710714579,
0.0059437439776957035,
-0.00031902577029541135,
0.015901681035757065,
0.004178410861641169,
0.0058205812238156796,
0.009405986405909061,
-0.028318313881754875,
-0.01521744392812252,
-0.04598076641559601,
-0.04853525385260582,
-0.017844917252659798,
-0.02620173804461956,
-0.011559054255485535,
-0.027132302522659302,
-0.020435895770788193,
0.08072178810834885,
-0.034339603036642075,
0.01268120389431715,
-0.00793259497731924,
-0.041236720979213715,
0.009054744616150856,
-0.047878384590148926,
-0.01247137039899826,
-0.030453134328126907,
0.01239838544279337,
-0.0076406532898545265,
-0.029577311128377914,
0.004027878865599632,
0.03897417336702347,
0.012891036458313465,
-0.055140428245067596,
-0.004641411826014519,
-0.011850995011627674,
-0.002700457815080881,
0.05623520910739899,
-0.023355310782790184,
-0.012489616870880127,
-0.06050485000014305,
-0.02096503973007202,
-0.03335430100560188,
0.07948104292154312,
-0.05506744235754013,
0.012945775873959064,
0.0426599346101284,
0.03233250603079796,
-0.0011261410545557737,
-0.0015406750608235598,
-0.006983784958720207,
0.0896259993314743,
-0.06977398693561554,
-0.03645617887377739,
-0.026767374947667122,
-0.022680195048451424,
0.0031611777376383543,
0.053680721670389175,
0.050870783627033234,
-0.039777014404535294,
-0.028573762625455856,
0.05638117715716362,
-0.019450593739748,
0.02404867112636566,
-0.015208320692181587,
0.023519527167081833,
-0.024085164070129395,
0.004354031756520271,
-0.030051715672016144,
0.02227877639234066,
0.025855058804154396,
-0.020691344514489174,
0.0024951864033937454,
-0.02404867112636566,
0.062001049518585205,
-0.04609024524688721,
-0.04047037288546562,
-0.03740498796105385,
-0.06097925454378128,
0.0070476471446454525,
0.01992499828338623,
-0.07221899926662445,
-0.07765640318393707,
0.031876347959041595,
0.019943244755268097,
-0.012589971534907818,
0.03795237839221954,
-0.03583580255508423,
0.014250388368964195,
-0.05189257860183716,
0.03607300668954849,
-0.012845420278608799,
0.09108570963144302,
0.06860622018575668,
-0.01048251986503601,
0.06506643444299698,
-0.05466602370142937,
-0.000038666552427457646,
-0.024395352229475975,
-0.00610796082764864,
-0.027478981763124466,
0.00413963757455349,
-0.007398889400064945,
0.006085153203457594,
0.004848964046686888,
-0.06769390404224396,
0.011705024167895317,
-0.02839129976928234,
0.02421288751065731,
0.04189358651638031,
0.012982267886400223,
-0.020472388714551926,
-0.06123470515012741,
-0.0029832760337740183,
-0.03853626176714897,
0.04769592359662056,
-0.04911913722753525,
-0.0011210092343389988,
-0.016266608610749245,
-0.025325914844870567,
0.04933809116482735,
-0.01820984296500683,
-0.00048238752060569823,
-0.006386217661201954,
-0.04977600648999214,
0.035689834505319595,
0.0020766612142324448,
-0.02589155174791813,
0.014159156940877438,
-0.019961491227149963,
-0.007782062515616417,
0.0036104938481003046,
-0.023701990023255348,
-0.03426662087440491,
0.019487086683511734,
0.03101877123117447,
-0.03625547140836716,
-0.004249115474522114,
0.003088192315772176,
-0.002429043408483267,
0.06711002439260483,
0.08021089434623718,
-0.033226579427719116,
-0.0008119619451463223,
0.02541714534163475,
0.010053731501102448,
0.05984798073768616,
-0.011203249916434288,
-0.016303101554512978,
-0.0507248155772686,
0.0032797788735479116,
-0.004488598555326462,
-0.002268247539177537,
-0.02054537460207939,
-0.029723281040787697,
0.0030038030818104744,
0.04517792910337448,
0.025234682485461235,
-0.04565233364701271,
-0.022461239248514175,
0.014451098628342152,
-0.02521643601357937,
-0.026949837803840637,
-0.008074003271758556,
0.023610759526491165,
0.040141940116882324,
0.059702012687921524,
-0.03641968593001366,
-0.02912115305662155,
0.09998992085456848,
-0.017279280349612236,
-0.030927538871765137,
0.009424232877790928,
-0.03926611691713333,
-0.00640446413308382,
-0.0035238235723227262,
0.013958446681499481,
0.017589468508958817,
-0.01639433205127716,
-0.0024085163604468107,
0.013931077904999256,
0.017060324549674988,
-0.002629753202199936,
0.026074014604091644,
-0.04754995182156563,
0.05638117715716362,
0.03116474114358425,
0.010154086165130138,
0.026803867891430855,
0.057038046419620514,
-0.0005157440900802612,
-0.03992298245429993,
0.017671575769782066,
-0.04506845027208328,
0.047039054334163666,
0.041966572403907776,
-0.04857174679636955,
0.017078571021556854,
0.014232141897082329,
-0.0006791058112867177,
0.04864473268389702,
0.013931077904999256,
0.04864473268389702,
-0.009515464305877686,
-0.05762192979454994,
-0.03576282039284706,
0.0047486089169979095,
0.03304411470890045,
0.024760277941823006,
0.02092854678630829,
-0.022096313536167145,
-0.02589155174791813,
0.004689308349043131,
-0.01854740083217621,
0.015737464651465416,
-0.019596565514802933,
0.01877547986805439,
0.0073487120680511,
0.059118129312992096,
0.07553983479738235,
0.03101877123117447,
-0.06123470515012741,
-0.046783607453107834,
-0.03335430100560188,
-0.051746610552072525,
0.030836308375000954,
-0.0028897635638713837,
-0.005200205836445093,
-0.025033973157405853,
-0.005127220414578915,
-0.022151051089167595,
-0.021640155464410782,
-0.02970503456890583,
-0.005706541705876589,
0.006824129726737738,
-0.04090828448534012,
-0.05831528827548027,
-0.008812980726361275,
-0.0031817047856748104,
0.0027301080990582705,
-0.014752162620425224,
0.03603651374578476,
0.047878384590148926,
0.01759859174489975,
0.04043387994170189,
0.013009637594223022,
0.07137966901063919,
0.01310086902230978,
0.02839129976928234,
-0.009168784134089947,
0.026767374947667122,
-0.052950866520404816,
-0.04225851595401764,
0.04583479464054108,
-0.010902185924351215,
-0.037733424454927444,
0.010610244236886501,
-0.06783987581729889,
-0.019523579627275467,
-0.05926410108804703,
-0.0029490641318261623,
-0.02645718678832054,
0.028592009097337723,
0.02844603732228279,
-0.04499546438455582,
-0.051856085658073425,
0.04441158100962639,
-0.04973951354622841,
-0.017078571021556854,
0.005898128263652325,
-0.0545930378139019,
-0.019359363242983818,
0.06353374570608139,
-0.010108469985425472,
-0.05338877812027931,
0.08648763597011566,
-0.007882417179644108,
-0.02331881783902645,
-0.04393717646598816,
0.007873293943703175,
-0.04313433915376663,
0.02275318093597889,
0.08028388023376465,
0.0705038458108902,
0.0426599346101284,
0.06740196794271469,
0.0036355825141072273,
0.03216829150915146,
0.08765539526939392,
-0.007061331998556852,
0.03129246458411217,
0.005045111756771803,
0.033974677324295044,
0.006860622204840183,
0.05678259953856468,
0.06159963086247444,
-0.0012658395571634173,
-0.01830107532441616,
-0.028683239594101906,
-0.025398900732398033,
0.03446732833981514,
0.011358343996107578,
0.004333504941314459,
-0.009670558385550976,
0.009615818969905376,
0.018903203308582306,
0.02211456000804901,
0.014432852156460285,
-0.02875622548162937,
0.05981149151921272,
-0.031712133437395096,
-0.000060654812841676176,
0.011486068367958069,
0.05218452215194702,
-0.05904514342546463,
-0.040287911891937256,
-0.04638218507170677,
0.005405477248132229,
0.026384202763438225,
0.00685149896889925,
-0.03937559202313423,
0.007955402135848999,
-0.02474203146994114,
0.011075525544583797,
0.033445533365011215,
-0.010902185924351215,
0.008229097351431847,
0.05762192979454994,
0.0017151555512100458,
-0.00564724113792181,
-0.0275154747068882,
0.0013958447379991412,
-0.06721950322389603,
0.0010748232016339898,
0.0028829211369156837,
0.0041601648554205894,
-0.06393516063690186,
0.014496713876724243,
0.024504829198122025,
0.033445533365011215,
-0.04692957550287247,
-0.040032461285591125,
0.015682725235819817,
0.002219210611656308,
-0.02558136358857155,
-0.00028652450419031084,
0.02861025556921959,
-0.0022488608956336975,
0.04156515374779701,
-0.004680185113102198,
-0.06408113241195679,
0.033865198493003845,
0.016777506098151207,
0.054374080151319504,
0.0434262789785862,
0.014533206820487976,
0.029887499287724495,
-0.03437609598040581,
0.0669640526175499,
-0.05254944786429405,
-0.04397366940975189,
-0.008635078556835651,
0.03510595113039017,
0.027369504794478416,
-0.014113540761172771,
0.05707453936338425,
0.09356721490621567,
-0.08415210247039795,
-0.023282324895262718,
-0.009889514185488224,
0.018811972811818123,
-0.007225549314171076,
0.01981552131474018,
0.008101372979581356,
-0.018593017011880875,
0.0026594034861773252,
-0.006313232239335775,
0.045469868928194046,
-0.04671062156558037,
0.03565334156155586,
-0.03216829150915146,
-0.04258694872260094,
-0.015609740279614925,
-0.013456672430038452,
-0.026913344860076904,
0.011814502999186516,
-0.10064678639173508,
-0.0020401685032993555,
0.005556009244173765,
0.011467821896076202,
0.0033618875313550234,
0.07375168800354004,
-0.015929050743579865,
-0.004470352549105883,
0.02651192620396614,
0.002946783322840929,
-0.028683239594101906,
-0.04576181247830391,
0.01237101573497057,
-0.012416631914675236,
0.011531684547662735,
0.03607300668954849,
-0.034759271889925,
-0.007184494752436876,
-0.014305127784609795,
-0.016768382862210274,
-0.016211869195103645,
-0.00843436922878027,
0.009862144477665424,
0.00022152192832436413,
-0.03337254747748375,
-0.02892044186592102,
0.03209530562162399,
-0.0023537774104624987,
0.033135347068309784,
-0.02379322238266468,
-0.032496724277734756,
0.05652714893221855,
-0.034284867346286774,
-0.0590086504817009,
0.010190579108893871,
0.010026361793279648,
0.04163813963532448,
-0.0434262789785862,
-0.019268130883574486,
0.054775502532720566,
-0.006381656043231487,
0.010017238557338715,
0.00035808433312922716,
-0.006372532807290554,
0.035908788442611694,
-0.016640659421682358,
0.02034466527402401,
0.011659408919513226,
0.07656162977218628,
-0.03167564049363136,
0.023464787751436234,
0.008671571500599384,
0.05791386961936951,
0.004579830449074507,
-0.0038431345019489527,
0.06977398693561554,
0.0006129628745839,
0.006003044545650482,
0.031566161662340164,
0.023209339007735252,
0.012243291363120079,
-0.007248356938362122,
0.026019275188446045,
-0.010883939452469349,
-0.015700971707701683,
-0.039886489510536194,
0.0028806403279304504,
-0.01903092861175537,
0.054045647382736206,
0.01255347952246666,
-0.033281318843364716,
-0.0313836969435215,
-0.11079175025224686,
0.04120022803544998,
-0.007403451018035412,
-0.03202231973409653,
0.0467471145093441,
-0.06791286170482635,
0.04313433915376663,
0.017744561657309532,
0.017498236149549484,
-0.030635599046945572,
-0.03335430100560188,
-0.0048763332888484,
0.00580689636990428
]
|
41,765 | tokenize_rt | reversed_enumerate | null | def reversed_enumerate(
tokens: Sequence[Token],
) -> Generator[tuple[int, Token], None, None]:
for i in reversed(range(len(tokens))):
yield i, tokens[i]
| (tokens: Sequence[tokenize_rt.Token]) -> Generator[tuple[int, tokenize_rt.Token], NoneType, NoneType] | [
-0.0037539356853812933,
0.017819728702306747,
-0.02865133062005043,
-0.024371100589632988,
-0.034399066120386124,
-0.007202140521258116,
0.006494592409580946,
0.06153047829866409,
0.0023912505712360144,
-0.038469649851322174,
0.018745657056570053,
0.02819710224866867,
-0.02131379395723343,
0.0062369052320718765,
0.003491880837827921,
0.04675058647990227,
-0.009975554421544075,
-0.0013921663630753756,
-0.016902538016438484,
0.011975906789302826,
-0.00036687677493318915,
0.046191535890102386,
-0.02786516584455967,
-0.029699549078941345,
-0.011547883972525597,
0.009451445192098618,
-0.01815166510641575,
-0.00826783012598753,
-0.018413720652461052,
-0.04109020158648491,
-0.01933964714407921,
-0.04346616566181183,
0.03853953257203102,
-0.0405660904943943,
0.006861469242721796,
-0.05153745412826538,
-0.061355773359537125,
0.10726778209209442,
0.0029350141994655132,
0.04930125176906586,
0.051747098565101624,
-0.08043336868286133,
0.025978369638323784,
-0.014692542143166065,
-0.02063245140016079,
-0.018955301493406296,
-0.02243189513683319,
-0.0843467190861702,
0.010263814590871334,
-0.04206853732466698,
0.05366883426904678,
-0.021226443350315094,
0.03553463891148567,
-0.022746359929442406,
0.01694621331989765,
0.02255418710410595,
-0.0023999856784939766,
0.021628260612487793,
0.003345566801726818,
0.031062234193086624,
-0.03598886728286743,
-0.0679246187210083,
-0.013303651474416256,
-0.005817617755383253,
0.07106927782297134,
0.007084215991199017,
0.03773589804768562,
-0.04112514108419418,
0.0035704972688108683,
-0.010193933732807636,
0.02078968472778797,
-0.0010411220137029886,
-0.011364445090293884,
-0.012788276188075542,
0.02589101903140545,
-0.013443414121866226,
0.0026664079632610083,
0.1252971589565277,
0.059434037655591965,
-0.015024477615952492,
-0.052585672587156296,
0.011338239535689354,
-0.02164573036134243,
0.015941670164465904,
-0.004904793109744787,
0.0004403067287057638,
0.03169116750359535,
-0.03742143139243126,
-0.07596096396446228,
0.020195692777633667,
-0.07882609963417053,
-0.021174032241106033,
-0.011163536459207535,
-0.010552074760198593,
-0.05593997612595558,
-0.011626499705016613,
-0.024895209819078445,
-0.014849774539470673,
-0.017225738614797592,
-0.019060121849179268,
0.03411954268813133,
0.02339276298880577,
-0.07945503294467926,
-0.0048261769115924835,
0.02566390484571457,
0.011862349696457386,
-0.05073381960391998,
-0.045702364295721054,
0.023148179054260254,
-0.0664571076631546,
-0.016605542972683907,
0.0325646810233593,
0.040391385555267334,
-0.0050663938745856285,
-0.024772917851805687,
-0.009643618017435074,
-0.013644322752952576,
0.01961917243897915,
0.03130681812763214,
-0.005848190747201443,
0.006481490097939968,
-0.03441653773188591,
-0.039133522659540176,
0.015740761533379555,
-0.017278149724006653,
0.03209298476576805,
0.02085956558585167,
0.04322157800197601,
-0.03265203535556793,
0.005494416691362858,
0.023095767945051193,
0.0030660417396575212,
0.014963331632316113,
0.04402521252632141,
-0.02452833391726017,
0.005507519468665123,
0.04898678511381149,
0.0032778694294393063,
-0.04549271985888481,
0.0020462116226553917,
0.008988481014966965,
0.0002814359904732555,
0.02678200602531433,
0.05866534635424614,
-0.0037473842967301607,
0.022222250699996948,
0.005664752330631018,
0.07589108496904373,
0.01732182502746582,
-0.018675776198506355,
-0.002262406749650836,
0.023829521611332893,
0.027725402265787125,
0.028965795412659645,
-0.006608149502426386,
0.011748792603611946,
-0.036932263523340225,
0.020981857553124428,
-0.04437462240457535,
-0.011731321923434734,
0.02819710224866867,
0.009608677588403225,
-0.045178256928920746,
-0.01893782988190651,
0.017810994759202003,
0.049021728336811066,
0.05227120593190193,
-0.04102031886577606,
0.01808178424835205,
-0.01911253295838833,
0.008870556950569153,
-0.020422806963324547,
-0.0008937162347137928,
-0.04545778036117554,
-0.03983233496546745,
-0.009346622973680496,
-0.023584935814142227,
0.07491274923086166,
0.01865830458700657,
0.04175407066941261,
0.019863758236169815,
-0.0034809617791324854,
-0.05429776385426521,
-0.11712104827165604,
0.018099253997206688,
0.010875276289880276,
0.001414004247635603,
0.02632777765393257,
0.04000703990459442,
-0.05667372792959213,
0.03244239091873169,
-0.017382971942424774,
0.05559056997299194,
-0.03272191435098648,
-0.0020200060680508614,
-0.0049877772107720375,
-0.03752625361084938,
0.02126138284802437,
0.04979041963815689,
-0.04154442995786667,
-0.024283749982714653,
0.007761191111057997,
-0.049545835703611374,
0.03434665501117706,
-0.005145010072737932,
0.030363421887159348,
0.0019905250519514084,
-0.02983931265771389,
-0.024371100589632988,
-0.009433974511921406,
0.04905666783452034,
-0.0061320834793150425,
0.014980802312493324,
-0.013460883870720863,
-0.008486209437251091,
0.02753322944045067,
-0.011897290125489235,
0.02452833391726017,
0.036023806780576706,
-0.033141203224658966,
0.06928730010986328,
0.006014158949255943,
-0.041334785521030426,
-0.06694627553224564,
0.08266957104206085,
-0.013775349594652653,
-0.0056734876707196236,
-0.08364790678024292,
-0.041229963302612305,
0.05475199222564697,
-0.027445876970887184,
-0.007962100207805634,
0.01565340906381607,
0.016046492382884026,
0.03188334032893181,
-0.0026664079632610083,
-0.02300841547548771,
-0.03703708574175835,
-0.014788628555834293,
0.02520967647433281,
-0.06240399554371834,
0.05590503290295601,
0.009049626998603344,
-0.0012753335759043694,
-0.000385166029445827,
0.05510139837861061,
0.011172271333634853,
-0.013845231384038925,
-0.010709308087825775,
0.01911253295838833,
-0.03853953257203102,
0.003162128385156393,
-0.024056635797023773,
0.04888196289539337,
0.03934316709637642,
-0.05894486978650093,
-0.02486027032136917,
-0.08245992660522461,
0.0488470233976841,
-0.0022274660877883434,
0.03997210040688515,
-0.028843503445386887,
-0.04612165316939354,
-0.009189389646053314,
0.029717018827795982,
0.005088231526315212,
0.008739529177546501,
-0.03024112991988659,
0.016579337418079376,
0.023095767945051193,
0.04329146072268486,
-0.04112514108419418,
-0.042767349630594254,
0.0062936837784945965,
0.01858842372894287,
0.04685540497303009,
0.012500016018748283,
0.041055258363485336,
-0.03544728457927704,
-0.010630691424012184,
0.010255079716444016,
0.03860941529273987,
-0.032966498285532,
-0.013452148996293545,
-0.005057658534497023,
0.049650657922029495,
0.020370395854115486,
-0.07547179609537125,
0.026205483824014664,
-0.03962269425392151,
0.11201971024274826,
0.0399022176861763,
-0.004330456256866455,
0.005376492161303759,
0.06736556440591812,
-0.0399022176861763,
-0.005551195237785578,
0.04678552597761154,
0.019252296537160873,
-0.015941670164465904,
-0.029944133013486862,
-0.024458453059196472,
-0.0058918665163218975,
-0.04612165316939354,
0.040880557149648666,
-0.007062378339469433,
0.02035292610526085,
0.027900105342268944,
-0.05143263190984726,
-0.004625268280506134,
0.03137670084834099,
0.02561149373650551,
-0.031726107001304626,
-0.045702364295721054,
-0.0032822368666529655,
-0.053948357701301575,
-0.005931174848228693,
-0.009058362804353237,
0.04500355198979378,
0.04308181628584862,
0.005337183829396963,
-0.01676277443766594,
-0.004647105932235718,
-0.07770799845457077,
-0.006747912149876356,
0.08008395880460739,
-0.08008395880460739,
-0.030258599668741226,
0.005096966866403818,
-0.026292836293578148,
0.0008664188208058476,
-0.03504546731710434,
-0.03418942168354988,
0.03209298476576805,
0.003900249721482396,
0.011015038937330246,
0.04447944089770317,
0.08672268688678741,
0.009346622973680496,
0.018798068165779114,
-0.008272198028862476,
-0.030765239149332047,
-0.011635235510766506,
0.002963403472676873,
0.010892746038734913,
0.026747064664959908,
-0.0009592299466021359,
-0.049475956708192825,
0.031795989722013474,
0.06582817435264587,
0.007686942350119352,
0.002662040526047349,
-0.01933964714407921,
0.014893450774252415,
-0.0007790672243572772,
0.013137683272361755,
0.032809268683195114,
0.0058132498525083065,
-0.017505263909697533,
-0.00011601386358961463,
-0.09433974325656891,
-0.015330208465456963,
0.025017503648996353,
0.021942725405097008,
0.004834911786019802,
-0.08120205998420715,
-0.03675755858421326,
-0.001950124860741198,
-0.012893098406493664,
0.012456340715289116,
-0.018099253997206688,
0.019916167482733727,
0.08329850435256958,
0.024825328961014748,
0.007350638508796692,
-0.001493712654337287,
-0.028406744822859764,
0.04164925217628479,
-0.03871423751115799,
-0.026764534413814545,
-0.04060102999210358,
-0.02826698310673237,
0.057162895798683167,
0.05510139837861061,
-0.024912681430578232,
0.015007007867097855,
-0.05419294163584709,
0.017208268865942955,
-0.016649218276143074,
0.06757520884275436,
-0.10426288843154907,
-0.057442422956228256,
-0.041509486734867096,
-0.029699549078941345,
0.007088583428412676,
-0.0420335978269577,
-0.028057338669896126,
-0.023148179054260254,
0.010237609036266804,
-0.05527610331773758,
-0.014220843091607094,
0.03537740558385849,
0.006228170357644558,
-0.013696732930839062,
-0.011897290125489235,
0.026362717151641846,
0.0036949734203517437,
-0.012587367556989193,
0.017557675018906593,
-0.08839983493089676,
-0.09000710397958755,
-0.007267654407769442,
0.042802292853593826,
-0.05803641304373741,
0.07103433459997177,
-0.09531808644533157,
0.04475896805524826,
0.08218040317296982,
0.017942022532224655,
0.0046209003776311874,
-0.008866189047694206,
-0.04154442995786667,
0.0569881945848465,
-0.014945861883461475,
-0.021278854459524155,
0.0009827056201174855,
0.0010766086634248495,
-0.011364445090293884,
-0.03474847227334976,
0.019514350220561028,
-0.03466112166643143,
-0.03265203535556793,
0.042138420045375824,
-0.033490609377622604,
0.015225386247038841,
0.010997568257153034,
-0.007267654407769442,
0.006276213563978672,
-0.009879468008875847,
0.03703708574175835,
0.049021728336811066,
0.06373173743486404,
0.02103426866233349,
0.029769429937005043,
0.11593306064605713,
0.05188686028122902,
-0.013626852072775364,
0.018396250903606415,
0.07603084295988083,
0.03644309565424919,
-0.024947620928287506,
0.023095767945051193,
-0.005974850617349148,
-0.04301193729043007,
0.016596807166934013,
-0.01790708117187023,
-0.02012581191956997,
0.012936774641275406,
0.029769429937005043,
-0.002729737898334861,
0.05960874259471893,
0.012823217548429966,
0.001667323987931013,
-0.054961636662483215,
0.008525517769157887,
-0.019986050203442574,
0.016500720754265785,
-0.01932217739522457,
-0.02849409729242325,
0.0012928039068356156,
0.039867278188467026,
-0.0016520373756065965,
-0.023584935814142227,
-0.08413707464933395,
-0.000016054271327448077,
0.017155857756733894,
0.0042212666012346745,
-0.019077593460679054,
0.012386458925902843,
-0.0627184584736824,
0.000054253541748039424,
0.001922827446833253,
-0.03822506591677666,
0.0012644146336242557,
-0.012019582092761993,
0.04245288670063019,
-0.017479058355093002,
-0.02227466180920601,
0.0006600506603717804,
-0.024213867262005806,
0.03293155878782272,
-0.06837884336709976,
-0.019077593460679054,
-0.01598534546792507,
0.04835785552859306,
0.004151385743170977,
0.021069210022687912,
-0.010272550396621227,
0.023654816672205925,
-0.027725402265787125,
-0.014063609763979912,
-0.06519924849271774,
0.07470310479402542,
-0.06694627553224564,
-0.018011903390288353,
0.042697470635175705,
0.02126138284802437,
-0.041229963302612305,
-0.018501073122024536,
-0.05401824042201042,
0.002347574569284916,
0.022798771038651466,
0.009390298277139664,
-0.010849070735275745,
-0.000011490490578580648,
0.011373179964721203,
0.008307138457894325,
0.011390650644898415,
0.048287972807884216,
0.03265203535556793,
-0.02508738450706005,
-0.046261414885520935,
-0.007066745776683092,
0.0390985831618309,
0.010246344842016697,
0.0032778694294393063,
-0.04758916050195694,
-0.02250177599489689,
0.022292131558060646,
-0.023095767945051193,
0.014806099236011505,
-0.012299107387661934,
0.02582113817334175,
-0.01701609417796135,
-0.013749144040048122,
-0.009416503831744194,
0.06275340169668198,
-0.005398329813033342,
0.08134182542562485,
0.07484286278486252,
0.03661779686808586,
0.029088087379932404,
-0.0568484328687191,
-0.027707932516932487,
-0.028965795412659645,
-0.026974178850650787,
-0.07026564329862595,
-0.044060155749320984,
0.016876332461833954,
0.037561193108558655,
-0.07155844569206238,
-0.004330456256866455,
-0.023986753076314926,
-0.012063258327543736,
-0.06505948305130005,
0.004751927684992552,
-0.03742143139243126,
0.008857454173266888,
0.020824626088142395,
0.02955978736281395,
0.04098537936806679,
0.060167793184518814,
-0.02837180532515049,
-0.08399731665849686,
0.039028700441122055,
0.06104131042957306,
0.03595392405986786,
-0.018239017575979233,
-0.027847694233059883,
0.06023767590522766,
0.008163008838891983,
-0.05939909815788269,
0.05866534635424614,
-0.020475218072533607,
0.0008707864326424897,
-0.011731321923434734,
0.02051015943288803,
-0.0680643767118454,
0.042138420045375824,
-0.013207564130425453,
0.035918984562158585,
0.08497565239667892,
-0.03307132050395012,
-0.058805108070373535,
0.03356049209833145,
0.010875276289880276,
-0.017531469464302063,
0.05401824042201042,
0.03266950324177742,
0.009320417419075966,
0.012569897808134556,
-0.010412313044071198,
-0.008726426400244236,
-0.024283749982714653,
0.005682222545146942,
0.021296324208378792,
-0.03018871881067753,
-0.010735513642430305,
-0.08958781510591507,
-0.02634524740278721,
0.040880557149648666,
0.007066745776683092,
-0.003712443634867668,
0.05429776385426521,
0.006464019417762756,
-0.004284596536308527,
0.040391385555267334,
-0.07145362347364426,
-0.014578985050320625,
0.034731000661849976,
0.019531821832060814,
-0.020877035334706306,
0.03588404506444931,
-0.007630163803696632,
-0.022239720448851585,
0.016526926308870316,
-0.02012581191956997,
0.039482928812503815,
0.00001611398511158768,
0.040950436145067215,
-0.014255783520638943,
-0.046645764261484146,
-0.03085258975625038,
-0.012456340715289116,
-0.027323585003614426,
0.0649896040558815,
0.023777110502123833,
0.03553463891148567,
0.007088583428412676,
0.024545803666114807,
-0.05122298747301102,
-0.012709660455584526,
0.021960197016596794,
-0.04821809008717537,
-0.0480433888733387,
0.020667392760515213,
0.0013048147084191442,
-0.015286533161997795,
-0.0033608535304665565,
-0.014002463780343533,
-0.004983409773558378,
0.034049659967422485,
-0.012849423103034496,
0.008630339987576008,
-0.01802937313914299,
-0.0023388394620269537,
0.014133491553366184,
0.016247401013970375,
-0.012377724051475525,
0.0022536716423928738,
0.045981891453266144,
0.05866534635424614,
0.02480785921216011,
-0.037666015326976776,
-0.0428372323513031,
0.005324081052094698,
-0.019706524908542633,
-0.01669289357960224,
0.044339679181575775,
-0.013294915668666363,
0.03805036470293999,
-0.0054682111367583275,
0.03955281153321266,
0.028214571997523308,
-0.062264230102300644,
0.019968578591942787,
0.007464195601642132,
0.06341727077960968,
0.028406744822859764,
-0.023707227781414986,
0.048742201179265976,
0.021575849503278732,
0.02361987717449665,
0.0034831457305699587,
0.016037756577134132,
0.030608005821704865,
0.01802937313914299,
-0.02260659821331501,
0.008031981065869331,
-0.027323585003614426,
-0.04454932361841202,
-0.015574793331325054,
0.018605893477797508,
-0.04381557181477547,
-0.0017404808895662427,
0.0050445557571947575,
-0.001230565831065178,
0.040775734931230545,
0.03822506591677666,
0.015321473591029644,
0.002006903290748596,
0.012264166958630085,
-0.011609029956161976,
-0.03867929428815842,
-0.02480785921216011,
0.033770132809877396,
0.0032429287675768137,
-0.021680671721696854,
0.09371080994606018,
0.008045083843171597,
0.03371772542595863,
-0.05412306264042854,
0.05076875910162926,
0.02271142043173313,
-0.02723623439669609,
0.0016476698219776154,
0.035691868513822556,
-0.05380859598517418,
-0.023881930857896805,
0.044898729771375656,
-0.02417892776429653,
0.000579796324018389,
-0.04685540497303009,
-0.021226443350315094,
0.004413440357893705,
-0.05842076241970062,
-0.04835785552859306,
0.061006367206573486,
-0.012229226529598236,
0.04426980018615723,
0.009818322025239468,
0.03024112991988659,
-0.0005336637841537595,
0.017531469464302063,
-0.007944629527628422,
-0.02080715447664261,
0.007809234317392111,
0.08881912380456924,
-0.059713564813137054,
-0.007250184193253517,
-0.00017988972831517458,
0.005000879988074303,
-0.021890314295887947,
-0.018640834838151932,
-0.02706153132021427,
0.02243189513683319,
-0.008551723323762417,
-0.013024126179516315,
0.00010086382098961622,
0.014447957277297974,
-0.0007785212947055697,
0.0783369317650795,
-0.026188014075160027,
0.13123707473278046,
0.008525517769157887,
0.05607973784208298,
-0.005721530877053738,
-0.00434355903416872,
-0.010298755951225758,
-0.028127219527959824,
0.02627536654472351,
-0.019304707646369934,
-0.02005593106150627,
-0.022449364885687828,
-0.053494129329919815,
0.033315904438495636,
0.06656192988157272,
-0.016317281872034073,
-0.10153751820325851,
0.015260327607393265,
0.014771157875657082,
0.009215595200657845,
0.0009461271692998707,
-0.006210699677467346,
-0.029489904642105103,
-0.003843471175059676,
0.032966498285532,
-0.017688702791929245
]
|
41,766 | tokenize_rt | rfind_string_parts | find the indicies of the string parts of a (joined) string literal
- `i` should start at the end of the string literal
- returns `()` (an empty tuple) for things which are not string literals
| def rfind_string_parts(tokens: Sequence[Token], i: int) -> tuple[int, ...]:
"""find the indicies of the string parts of a (joined) string literal
- `i` should start at the end of the string literal
- returns `()` (an empty tuple) for things which are not string literals
"""
ret = []
depth = 0
for i in range(i, -1, -1):
token = tokens[i]
if token.name == 'STRING':
ret.append(i)
elif token.name in NON_CODING_TOKENS:
pass
elif token.src == ')':
depth += 1
elif depth and token.src == '(':
depth -= 1
# if we closed the paren(s) make sure it was a parenthesized string
# and not actually a call
if depth == 0:
for j in range(i - 1, -1, -1):
tok = tokens[j]
if tok.name in NON_CODING_TOKENS:
pass
# this was actually a call and not a parenthesized string
elif (
tok.src in {']', ')'} or (
tok.name == 'NAME' and
tok.src not in keyword.kwlist
)
):
return ()
else:
break
break
elif depth: # it looked like a string but wasn't
return ()
else:
break
return tuple(reversed(ret))
| (tokens: Sequence[tokenize_rt.Token], i: int) -> tuple[int, ...] | [
-0.03950890153646469,
-0.010573334991931915,
0.008818951435387135,
0.019641568884253502,
0.009317516349256039,
-0.03715718165040016,
0.05903758853673935,
0.029951510950922966,
0.002024831250309944,
-0.06539663672447205,
0.02458958886563778,
0.1250738948583603,
-0.042820125818252563,
-0.026057060807943344,
0.00965146068483591,
-0.022952791303396225,
-0.002572782104834914,
0.0059216320514678955,
-0.024796539917588234,
-0.002369358204305172,
-0.05583924800157547,
0.07856627553701401,
0.04244384914636612,
0.0358966588973999,
0.041390277445316315,
0.022877534851431847,
0.011184781789779663,
-0.007412622682750225,
0.026376895606517792,
-0.017572054639458656,
-0.0074878777377307415,
-0.027919624000787735,
-0.009745528921484947,
-0.0553877167403698,
-0.022632956504821777,
-0.056629426777362823,
0.0028667470905929804,
0.023686528205871582,
0.006279093213379383,
0.007266815751791,
-0.012134877033531666,
-0.02124073915183544,
-0.0035652080550789833,
-0.07025059312582016,
-0.0490286648273468,
-0.026997750625014305,
-0.06061794236302376,
-0.03258543834090233,
-0.007652497850358486,
0.03476783260703087,
0.04473912715911865,
0.009571501985192299,
-0.0735994428396225,
-0.06599868088960648,
0.001502749277278781,
0.04026145115494728,
-0.010676810517907143,
0.04169129952788353,
0.009971294552087784,
-0.02214379981160164,
0.03141898289322853,
-0.024476705119013786,
-0.000781359092798084,
0.06663835048675537,
-0.02005547098815441,
-0.03674327954649925,
0.05143682658672333,
-0.023178555071353912,
-0.03721362352371216,
0.008183986879885197,
-0.003252429189160466,
-0.011805635876953602,
-0.006264983210712671,
-0.03745820000767708,
-0.029330655932426453,
0.012351235374808311,
0.016076359897851944,
0.0276938583701849,
0.043760813772678375,
0.011739787645637989,
-0.04248147830367088,
-0.01103427167981863,
-0.027505721896886826,
-0.06693936884403229,
-0.007459656801074743,
0.02078920789062977,
-0.02274583838880062,
-0.0011300016194581985,
-0.06573528796434402,
0.0015685975085943937,
-0.07766321301460266,
0.014477190561592579,
0.025643158704042435,
0.05320532247424126,
-0.06264983117580414,
-0.007417325861752033,
0.001037696609273553,
-0.008301572874188423,
0.0025116372853517532,
-0.009999514557421207,
0.015643643215298653,
0.012238352559506893,
-0.08104968816041946,
-0.05282904580235481,
0.030967453494668007,
-0.006307314150035381,
-0.05467279627919197,
-0.037514641880989075,
0.03670565038919449,
-0.1128825768828392,
-0.011476395651698112,
-0.05399550125002861,
0.01377167459577322,
0.008390937931835651,
-0.008729586377739906,
0.028860311955213547,
-0.054371774196624756,
-0.030026765540242195,
0.03401528298854828,
-0.049743589013814926,
0.03437274321913719,
-0.03168237581849098,
-0.05542534589767456,
-0.008621406741440296,
0.017496800050139427,
0.013903371058404446,
0.00902590248733759,
0.04142790660262108,
-0.004825730342417955,
-0.008607296273112297,
0.06772954761981964,
0.007671311963349581,
0.010084176436066628,
0.010027735494077206,
-0.10257263481616974,
0.07405097037553787,
0.01124122366309166,
0.01149520929902792,
-0.06532138586044312,
-0.009355143643915653,
0.013724640011787415,
-0.04041196405887604,
-0.045943208038806915,
0.03235967084765434,
-0.031042708083987236,
0.05339346081018448,
0.025586716830730438,
0.029180146753787994,
0.04605609178543091,
-0.008315683342516422,
-0.017534427344799042,
-0.021955661475658417,
0.002598650986328721,
-0.0023611271753907204,
0.0031395466066896915,
-0.043422166258096695,
0.027185887098312378,
0.005521839484572411,
-0.013903371058404446,
-0.035426314920186996,
0.019679196178913116,
-0.03168237581849098,
-0.0673532709479332,
0.013385992497205734,
0.0587741956114769,
0.05768299847841263,
0.028427595272660255,
-0.011843264102935791,
-0.01377167459577322,
0.001522738952189684,
0.016151614487171173,
0.07502928376197815,
-0.04488963633775711,
-0.0029514089692384005,
-0.04970595985651016,
0.006048624869436026,
-0.048802901059389114,
0.06174676865339279,
-0.029443539679050446,
-0.006232059095054865,
0.035576824098825455,
-0.013357771560549736,
-0.018879611045122147,
-0.03083575703203678,
-0.005390143021941185,
-0.004726957995444536,
0.014251424930989742,
0.037100739777088165,
0.017035862430930138,
-0.04428759962320328,
-0.02022479474544525,
0.004555282182991505,
0.03452325612306595,
0.017261628061532974,
-0.021334806457161903,
0.02248244732618332,
0.004677571821957827,
-0.014138543047010899,
-0.024232126772403717,
-0.006721216719597578,
-0.04639473930001259,
0.024476705119013786,
-0.061521004885435104,
0.023536017164587975,
0.02543620765209198,
-0.015220333822071552,
-0.025379765778779984,
0.031023895367980003,
-0.043422166258096695,
0.003929724916815758,
-0.02485297992825508,
0.010008921846747398,
0.017797820270061493,
0.05147445574402809,
-0.004543523769825697,
0.016151614487171173,
0.05290430039167404,
0.04488963633775711,
0.016367973759770393,
-0.018305791541934013,
0.03917025402188301,
-0.014590073376893997,
0.05670468136668205,
-0.01857859082520008,
-0.0026950715109705925,
0.0005370741127990186,
0.01763790287077427,
-0.018381046131253242,
0.023103300482034683,
-0.008640220388770103,
0.017891887575387955,
-0.06517087668180466,
0.09474611282348633,
0.025962993502616882,
0.014467783272266388,
-0.0073938085697591305,
0.0021412414498627186,
-0.034222234040498734,
0.06934753060340881,
-0.061445750296115875,
-0.07736219465732574,
0.02778792753815651,
-0.06550952047109604,
0.03260425105690956,
0.040976375341415405,
0.0018249349668622017,
-0.0014851114246994257,
-0.03715718165040016,
-0.0066835894249379635,
0.010601554997265339,
-0.011278850957751274,
0.02526688389480114,
0.026715543121099472,
-0.021598199382424355,
0.01574711874127388,
-0.06569766253232956,
0.008644923567771912,
0.044099461287260056,
0.0609942190349102,
0.024627216160297394,
0.005907521583139896,
-0.01541787851601839,
-0.020243609324097633,
-0.016142208129167557,
0.0008342728251591325,
-0.040148571133613586,
0.021259551867842674,
0.01200318057090044,
0.005225522443652153,
0.009961887262761593,
0.07664726674556732,
0.004157841671258211,
-0.033657822757959366,
0.04033670574426651,
-0.05948911979794502,
0.009754936210811138,
-0.008898910135030746,
0.03512529656291008,
0.03234085813164711,
-0.06355289369821548,
0.024382635951042175,
0.042820125818252563,
-0.05677993595600128,
0.018446894362568855,
0.03224679082632065,
0.04605609178543091,
0.06690174341201782,
-0.048878155648708344,
-0.01579415425658226,
0.0033112221863120794,
-0.004411827307194471,
-0.04150316119194031,
-0.01166453305631876,
-0.009689087979495525,
0.057570114731788635,
0.07036346942186356,
0.026978936046361923,
0.001734393765218556,
0.017543833702802658,
-0.05042088404297829,
-0.008569668978452682,
-0.01132588554173708,
0.023780595511198044,
0.007581946440041065,
0.031795259565114975,
-0.002174165565520525,
-0.011815043166279793,
0.024890609085559845,
-0.06407967954874039,
-0.030779315158724785,
-0.053280577063560486,
-0.01928410679101944,
0.009764342568814754,
-0.022369563579559326,
-0.0024763615801930428,
0.004454158246517181,
-0.01906774938106537,
-0.006547189317643642,
0.0031442500185221434,
0.022256681695580482,
0.05636603385210037,
-0.0689336284995079,
0.006965795531868935,
-0.01865384541451931,
0.0296504907310009,
-0.0011329413391649723,
-0.05542534589767456,
-0.012755731120705605,
-0.023517204448580742,
-0.0030172572005540133,
-0.006740030366927385,
-0.007831228896975517,
0.004042607266455889,
-0.011598684825003147,
0.031381357461214066,
0.007821821607649326,
0.011608092114329338,
-0.019585127010941505,
-0.008456786163151264,
0.002852636855095625,
0.07450249791145325,
-0.040374334901571274,
-0.0042730760760605335,
0.045190658420324326,
0.025624344125390053,
0.0073514776304364204,
0.03427867591381073,
-0.009444508701562881,
0.017167558893561363,
0.00930340588092804,
-0.009317516349256039,
-0.05128631740808487,
-0.04082586616277695,
-0.011551650241017342,
0.01685713231563568,
0.10535707324743271,
-0.02972574532032013,
0.024025175720453262,
0.03320629149675369,
-0.005597094539552927,
0.041804179549217224,
0.00680117541924119,
0.046959150582551956,
-0.011702160350978374,
0.02475891262292862,
-0.0742391049861908,
-0.002118899952620268,
0.014862872660160065,
-0.0347302071750164,
-0.05802164599299431,
0.002622168278321624,
0.03838007524609566,
0.021617013961076736,
-0.04963070526719093,
-0.00047240182175301015,
-0.025210442021489143,
-0.014091508463025093,
0.007962925359606743,
-0.030873384326696396,
-0.08428565412759781,
-0.050571393221616745,
-0.051587339490652084,
0.02620757184922695,
0.040035687386989594,
-0.038944490253925323,
0.027524534612894058,
-0.07006245106458664,
0.024815352633595467,
0.013376585207879543,
0.09722952544689178,
-0.0319833979010582,
-0.015972884371876717,
0.008329793810844421,
-0.021711083129048347,
0.010074770078063011,
-0.017383916303515434,
0.047975096851587296,
-0.04244384914636612,
-0.04590558260679245,
-0.04169129952788353,
-0.024984676390886307,
-0.049743589013814926,
-0.023291438817977905,
0.0012946220813319087,
0.012830986641347408,
0.04515302926301956,
0.028615733608603477,
0.01930292136967182,
-0.03158830851316452,
-0.08594126999378204,
-0.03518173471093178,
-0.03879397734999657,
-0.0001344155170954764,
-0.09083284437656403,
-0.0008219262817874551,
-0.10866829752922058,
0.017797820270061493,
0.10234686732292175,
-0.025229256600141525,
0.0009336329530924559,
-0.022106170654296875,
-0.08932774513959885,
0.04752356559038162,
0.045529305934906006,
-0.07781372219324112,
0.035840217024087906,
-0.014401935040950775,
-0.025887737050652504,
0.034824274480342865,
0.010563927702605724,
-0.057231467217206955,
0.026226384565234184,
-0.03215271979570389,
-0.010394603945314884,
0.0071680438704788685,
-0.020676326006650925,
-0.005667645949870348,
0.04398657754063606,
0.06415493041276932,
0.02603824809193611,
0.026677915826439857,
0.059075213968753815,
-0.006594223901629448,
0.054860930889844894,
0.05990302190184593,
0.023724155500531197,
-0.010479265823960304,
0.020074285566806793,
-0.018475115299224854,
0.0027562163304537535,
0.0060345144011080265,
0.0004647587484214455,
0.0012428842019289732,
0.01448659785091877,
0.052753791213035583,
0.01923707313835621,
-0.008437972515821457,
0.0644935816526413,
0.02131599374115467,
0.014881686307489872,
0.03792854771018028,
0.04515302926301956,
-0.02105260081589222,
0.0501951202750206,
-0.04744831100106239,
-0.01744035817682743,
0.07954458892345428,
-0.052753791213035583,
-0.044588617980480194,
-0.006787064950913191,
0.032039839774370193,
-0.008024069480597973,
-0.005554763600230217,
-0.032133907079696655,
0.03386477380990982,
0.009529170580208302,
-0.03452325612306595,
-0.00823572464287281,
0.043760813772678375,
-0.04613134637475014,
-0.030365413054823875,
-0.05215175077319145,
-0.019904961809515953,
0.0023105652071535587,
-0.005493618547916412,
0.02129717916250229,
-0.018296385183930397,
-0.014759397134184837,
-0.01436430774629116,
-0.03269831836223602,
-0.006232059095054865,
0.029010822996497154,
0.03924550861120224,
-0.05685519054532051,
0.04488963633775711,
0.044099461287260056,
-0.023046858608722687,
0.0029302434995770454,
0.014956941828131676,
-0.004009683150798082,
-0.014401935040950775,
-0.02696012146770954,
0.036009542644023895,
-0.022087357938289642,
0.012125469744205475,
-0.022049730643630028,
0.04741068184375763,
-0.038869235664606094,
-0.020074285566806793,
-0.07841576635837555,
-0.004030848853290081,
-0.036498699337244034,
0.023291438817977905,
-0.021109042689204216,
-0.028747430071234703,
0.015558982267975807,
0.09820783883333206,
0.006274390034377575,
-0.010563927702605724,
-0.025135187432169914,
-0.006232059095054865,
-0.07992086559534073,
-0.01103427167981863,
0.007459656801074743,
-0.002704478334635496,
-0.045867953449487686,
0.0034617322962731123,
-0.019105376675724983,
-0.011692753992974758,
-0.06039217859506607,
0.0199614018201828,
0.03689378872513771,
-0.01229479443281889,
-0.023724155500531197,
0.020281236618757248,
0.006692996248602867,
0.0359531007707119,
-0.021918034180998802,
0.053619224578142166,
0.07773847132921219,
0.028860311955213547,
0.04917917773127556,
0.0034617322962731123,
-0.03249136731028557,
0.01120359543710947,
0.014834651723504066,
-0.04157841578125954,
-0.037872105836868286,
-0.018663253635168076,
0.0021200759802013636,
0.045867953449487686,
0.02897319570183754,
-0.029932696372270584,
0.02272702567279339,
0.00511734327301383,
-0.022802280262112617,
-0.05640365928411484,
-0.013207261450588703,
-0.05670468136668205,
0.026414522901177406,
0.023724155500531197,
0.00930340588092804,
0.013903371058404446,
-0.045190658420324326,
-0.03040304034948349,
-0.006711809895932674,
0.0626874566078186,
-0.03695023059844971,
-0.02669673040509224,
0.004270724020898342,
-0.009124674834311008,
0.021861592307686806,
0.06532138586044312,
-0.015192113816738129,
-0.009228150360286236,
-0.0348430871963501,
-0.01676306314766407,
-0.05042088404297829,
0.028352340683341026,
0.04944256693124771,
0.10332518815994263,
0.057720623910427094,
-0.0022682342678308487,
0.012746324762701988,
0.07292214781045914,
0.04726017266511917,
0.013179040513932705,
0.035087667405605316,
-0.03488071635365486,
0.004595261532813311,
0.057908762246370316,
0.03170119225978851,
0.03083575703203678,
0.008113435469567776,
0.00930340588092804,
0.006335534621030092,
-0.009689087979495525,
0.015389657579362392,
-0.04504014924168587,
-0.04142790660262108,
-0.0046328892931342125,
-0.002977278083562851,
-0.007215077988803387,
0.031136777251958847,
0.023554831743240356,
0.022802280262112617,
0.05079716071486473,
0.054108381271362305,
0.003798028454184532,
0.03679972141981125,
0.05685519054532051,
-0.04218045622110367,
0.010714437812566757,
-0.029537606984376907,
-0.039132628589868546,
0.044024206697940826,
-0.047786958515644073,
0.022294308990240097,
0.006377865560352802,
0.009331626817584038,
-0.041804179549217224,
-0.023855851963162422,
-0.047636449337005615,
-0.02543620765209198,
0.016367973759770393,
0.026301641017198563,
-0.0014180873986333609,
-0.020582256838679314,
0.009148192591965199,
-0.029537606984376907,
-0.025718413293361664,
0.03568970784544945,
0.0427824966609478,
-0.09248846024274826,
-0.0319269560277462,
0.027919624000787735,
0.02703537791967392,
-0.047975096851587296,
-0.03326273337006569,
0.0689336284995079,
0.009392770938575268,
0.01625509187579155,
-0.020845649763941765,
-0.012106656096875668,
0.031531866639852524,
0.023686528205871582,
-0.0028996712062507868,
-0.05583924800157547,
0.04650762304663658,
0.026169944554567337,
0.0168383177369833,
0.09617595374584198,
0.02551146224141121,
-0.03568970784544945,
-0.034824274480342865,
0.03117440454661846,
-0.035501569509506226,
-0.051587339490652084,
-0.003047829493880272,
-0.005126750562340021,
0.03578377515077591,
-0.017186371609568596,
0.017205186188220978,
0.0850382074713707,
-0.10490553826093674,
0.01103427167981863,
0.048802901059389114,
0.025831297039985657,
0.04677101597189903,
-0.024627216160297394,
0.004670516587793827,
0.007125712465494871,
0.05828503891825676,
-0.024232126772403717,
-0.0037533456925302744,
0.044588617980480194,
0.05482330545783043,
0.021918034180998802,
-0.01622687093913555,
-0.025398580357432365,
0.022764652967453003,
-0.048050351440906525,
0.020149540156126022,
-0.04820086061954498,
0.01634915918111801,
0.006072142161428928,
0.0296504907310009,
0.0016567870043218136,
0.09587493538856506,
-0.005836969707161188,
-0.0282206442207098,
0.004087289795279503,
0.016706621274352074,
0.008593185804784298,
-0.008494414389133453,
0.012642848305404186,
-0.025304511189460754,
-0.004943316336721182,
0.05610264092683792,
-0.040035687386989594,
0.0370631143450737,
-0.034918345510959625,
-0.008945943787693977,
-0.013150820508599281,
-0.021918034180998802,
-0.011090713553130627,
0.019679196178913116,
-0.04515302926301956,
-0.031531866639852524,
0.024363823235034943,
-0.05561348423361778,
0.03401528298854828,
-0.013150820508599281,
-0.04361030086874962,
0.012200725264847279,
-0.06784243136644363,
-0.016433821991086006,
0.034410372376441956,
0.004117862321436405,
0.03689378872513771,
0.01401625294238329,
-0.023818224668502808,
0.056215524673461914,
0.010686216875910759,
0.003485249588266015,
0.0009853708324953914,
0.022501260042190552,
0.05948911979794502,
-0.025586716830730438,
-0.005319591611623764,
-0.004291889723390341,
0.023724155500531197,
-0.020902089774608612,
0.0021918034180998802,
0.018804356455802917,
0.01805180497467518,
0.02761860378086567,
-0.03345087170600891,
0.00948213692754507,
-0.03269831836223602,
0.01174919493496418,
0.05245276913046837,
-0.008706068620085716,
0.020695138722658157,
-0.027844369411468506,
0.04545405134558678,
-0.02696012146770954,
0.039809923619031906,
-0.05132394656538963,
-0.018512742593884468,
0.033563751727342606,
0.02812657505273819,
-0.02569960057735443,
-0.022614143788814545,
-0.04176655411720276,
-0.0014263184275478125,
0.025793669745326042,
0.03294289857149124,
-0.051888357847929,
0.04707203432917595,
-0.04251910373568535,
0.02694130875170231,
0.005465398076921701,
0.05027037486433983,
-0.012934462167322636,
-0.014947534538805485,
-0.009820784442126751,
0.013404806144535542
]
|
41,767 | tokenize_rt | src_to_tokens | null | def src_to_tokens(src: str) -> list[Token]:
tokenize_target = io.StringIO(src)
lines = ('',) + tuple(tokenize_target)
tokenize_target.seek(0)
tokens = []
last_line = 1
last_col = 0
end_offset = 0
gen = tokenize.generate_tokens(tokenize_target.readline)
for tok_type, tok_text, (sline, scol), (eline, ecol), line in gen:
if sline > last_line:
newtok = lines[last_line][last_col:]
for lineno in range(last_line + 1, sline):
newtok += lines[lineno]
if scol > 0:
newtok += lines[sline][:scol]
# a multiline unimportant whitespace may contain escaped newlines
while _escaped_nl_re.search(newtok):
ws, nl, newtok = _re_partition(_escaped_nl_re, newtok)
if ws:
tokens.append(
Token(UNIMPORTANT_WS, ws, last_line, end_offset),
)
end_offset += len(ws.encode())
tokens.append(Token(ESCAPED_NL, nl, last_line, end_offset))
end_offset = 0
last_line += 1
if newtok:
tokens.append(Token(UNIMPORTANT_WS, newtok, sline, 0))
end_offset = len(newtok.encode())
else:
end_offset = 0
elif scol > last_col:
newtok = line[last_col:scol]
tokens.append(Token(UNIMPORTANT_WS, newtok, sline, end_offset))
end_offset += len(newtok.encode())
tok_name = tokenize.tok_name[tok_type]
tokens.append(Token(tok_name, tok_text, sline, end_offset))
last_line, last_col = eline, ecol
if sline != eline:
end_offset = len(lines[last_line][:last_col].encode())
else:
end_offset += len(tok_text.encode())
return tokens
| (src: str) -> list[tokenize_rt.Token] | [
-0.04533452168107033,
0.005899630021303892,
-0.012066749855875969,
-0.04810848832130432,
0.009094644337892532,
-0.027898166328668594,
-0.016356488689780235,
0.06974541395902634,
0.049336958676576614,
-0.006434609182178974,
0.004572089295834303,
0.019833853468298912,
-0.01571253314614296,
-0.012155912816524506,
0.004584473092108965,
0.03814202547073364,
0.011749724857509136,
0.003150432137772441,
-0.0233211237937212,
0.009401761926710606,
-0.024965688586235046,
0.01375094335526228,
0.02615453116595745,
0.00022971902217250317,
0.007202403154224157,
0.008757805451750755,
-0.00023312454868573695,
-0.030533434823155403,
-0.049574725329875946,
-0.11111713200807571,
0.0306325051933527,
0.02383628860116005,
-0.000054875599744264036,
0.01293856743723154,
-0.009233342483639717,
-0.06923025101423264,
0.013949083164334297,
-0.02171618677675724,
-0.009451296180486679,
-0.06360306590795517,
-0.04886142164468765,
-0.04426456242799759,
-0.013889641501009464,
-0.018486497923731804,
-0.05964025855064392,
-0.025044945999979973,
-0.016346583142876625,
-0.038835518062114716,
-0.03273279219865799,
-0.04212464764714241,
0.003019164316356182,
-0.03352535516023636,
-0.031504321843385696,
0.005285394843667746,
0.06288976222276688,
-0.06792252510786057,
-0.023103170096874237,
0.01705988682806492,
0.0039925286546349525,
0.032554466277360916,
-0.013166428543627262,
0.00733614806085825,
0.0867062360048294,
0.024252383038401604,
0.02643192745745182,
-0.012740426696836948,
0.01910073310136795,
-0.03590304031968117,
-0.017674122005701065,
-0.006959681399166584,
-0.008183198049664497,
0.005394372157752514,
0.02510438673198223,
0.023994801566004753,
0.0019232002086937428,
0.01833789236843586,
0.008118802681565285,
0.03392163664102554,
0.007999918423593044,
-0.03342628479003906,
-0.0180208683013916,
0.04394754022359848,
0.04260018467903137,
0.01098688505589962,
0.08646846562623978,
-0.013116894289851189,
-0.001123827532865107,
0.011937958188354969,
-0.10628250241279602,
0.004433391150087118,
-0.024985503405332565,
0.011422793380916119,
-0.013958990573883057,
-0.02744244411587715,
-0.013424011878669262,
0.011848795227706432,
0.019239431247115135,
0.029106823727488518,
-0.02724430337548256,
-0.015395508147776127,
0.03455568477511406,
0.1046181246638298,
-0.05619261413812637,
0.017575053498148918,
0.03376312181353569,
-0.04085654765367508,
-0.049852121621370316,
0.022865401580929756,
-0.008014778606593609,
-0.0074996137991547585,
0.02829444780945778,
-0.03796369954943657,
0.008985666558146477,
0.010937349870800972,
0.0815545842051506,
-0.0738271102309227,
-0.0007956575136631727,
0.024787362664937973,
-0.021795442327857018,
-0.021557673811912537,
0.02011124975979328,
-0.02561955340206623,
-0.05448860675096512,
0.011006698943674564,
0.026114903390407562,
-0.016841933131217957,
0.04339274391531944,
-0.005528117064386606,
0.07826545089483261,
-0.011294002644717693,
-0.05238831788301468,
0.052467577159404755,
0.054290466010570526,
-0.025461040437221527,
-0.04164911061525345,
0.00957018043845892,
-0.006860611028969288,
0.04236241430044174,
-0.008985666558146477,
-0.10469738394021988,
0.06388045847415924,
0.01061041746288538,
0.004458158742636442,
-0.023717405274510384,
-0.06043281778693199,
-0.0074352179653942585,
0.012730520218610764,
0.05080319568514824,
0.07826545089483261,
0.044660843908786774,
-0.061066869646310806,
-0.007138007786124945,
-0.015841323882341385,
0.01809021830558777,
0.002897803205996752,
-0.06071021407842636,
-0.04739518091082573,
-0.029483290389180183,
0.04842551052570343,
0.04299646615982056,
-0.01567290537059307,
-0.03752778843045235,
0.012463030405342579,
-0.006959681399166584,
0.00038482577656395733,
0.03354516625404358,
-0.010352835059165955,
-0.04858402535319328,
-0.07065686583518982,
-0.029661616310477257,
-0.0013944129459559917,
-0.018971942365169525,
0.03824109584093094,
0.03330739960074425,
-0.005533070303499699,
-0.0387166328728199,
-0.021280277520418167,
0.07592739909887314,
-0.006028421223163605,
-0.03683429956436157,
0.005087254568934441,
0.008737991563975811,
-0.029681431129574776,
-0.06530707329511642,
-0.0026253601536154747,
0.02643192745745182,
0.027620770037174225,
0.0037968652322888374,
-0.004881683737039566,
-0.039152540266513824,
0.0022699458058923483,
-0.04002435877919197,
0.008807340636849403,
0.01753542385995388,
-0.012998010031878948,
0.007534288335591555,
-0.04739518091082573,
0.017941612750291824,
-0.0047900439240038395,
-0.05032765865325928,
-0.02803686447441578,
0.010808558203279972,
0.020745299756526947,
-0.010798651725053787,
0.021656744182109833,
0.03269316628575325,
-0.047989603132009506,
-0.008153476752340794,
-0.11206820607185364,
0.023895731195807457,
-0.013879734091460705,
-0.06831880658864975,
0.00005568828419200145,
0.04220390319824219,
-0.017069794237613678,
-0.0382014662027359,
0.0028878962621092796,
0.0905105322599411,
0.008832108229398727,
-0.013612245209515095,
0.05940248817205429,
0.04894067719578743,
-0.01805058866739273,
-0.02516382932662964,
0.07327231764793396,
-0.0025510576087981462,
-0.013007916510105133,
0.0002979845739901066,
0.050961706787347794,
-0.011858702637255192,
0.012086563743650913,
-0.05603410303592682,
0.008629013784229755,
0.014295829460024834,
0.06542595475912094,
0.025302527472376823,
0.039429936558008194,
-0.06859620660543442,
0.014077874831855297,
-0.018952127546072006,
-0.10501440614461899,
-0.051120221614837646,
0.02122083492577076,
-0.0007225932204164565,
0.03843923658132553,
0.046166710555553436,
-0.0008619106956757605,
0.0010600511450320482,
-0.002731860615313053,
-0.00543400039896369,
-0.019467294216156006,
0.024232570081949234,
0.039132725447416306,
0.005230906419456005,
0.01573234610259533,
-0.014989320188760757,
0.005057533271610737,
0.00048234802670776844,
-0.0030984203331172466,
0.012562100775539875,
0.01648528128862381,
-0.018119938671588898,
0.0016049371333792806,
-0.006325631868094206,
0.01754533126950264,
-0.012472937814891338,
-0.027640584856271744,
0.06225571036338806,
0.008064313791692257,
-0.011561491526663303,
0.033069632947444916,
0.01598002202808857,
-0.027640584856271744,
-0.0053002554923295975,
-0.045691173523664474,
-0.038558121770620346,
-0.02195395529270172,
0.041966136544942856,
-0.005919444374740124,
-0.030751388520002365,
-0.04481935501098633,
0.00032755083520896733,
-0.013830198906362057,
0.005607373081147671,
-0.02698672190308571,
-0.004755369387567043,
-0.02619415894150734,
-0.12688910961151123,
-0.04053952544927597,
-0.04450233280658722,
0.02304372750222683,
-0.008089081384241581,
0.03556619957089424,
-0.01502894889563322,
0.08654772490262985,
0.04497786983847618,
-0.029245521873235703,
0.011185024864971638,
-0.0033510492648929358,
-0.030573062598705292,
-0.0235787071287632,
0.03663615882396698,
0.003380770329385996,
-0.03186097368597984,
0.015336066484451294,
-0.023618334904313087,
-0.07529334723949432,
-0.028452960774302483,
0.006910146214067936,
-0.08876689523458481,
-0.008861828595399857,
-0.008871736004948616,
0.016891468316316605,
-0.07010207325220108,
-0.01385992020368576,
-0.009585041552782059,
-0.05060505494475365,
0.019972551614046097,
0.06328604370355606,
0.021319905295968056,
0.030315479263663292,
-0.004710787907242775,
-0.01558374147862196,
-0.023737218230962753,
0.015811603516340256,
-0.009436435997486115,
0.07509520649909973,
-0.05785699561238289,
-0.00941662210971117,
0.012284704484045506,
0.005453814286738634,
-0.029939012601971626,
-0.03475382551550865,
0.023202240467071533,
-0.04367014393210411,
-0.033644236624240875,
0.013542896136641502,
-0.05060505494475365,
-0.008465548045933247,
-0.08797433227300644,
0.03209874406456947,
-0.051714640110731125,
0.04319460690021515,
0.03114767000079155,
0.038875143975019455,
-0.017723657190799713,
-0.005478581879287958,
-0.0638408362865448,
0.08409078419208527,
0.05999691039323807,
0.0209038108587265,
0.0028309307526797056,
0.02403442934155464,
-0.013691500760614872,
0.060036540031433105,
0.021894512698054314,
-0.010491534136235714,
-0.008019732311367989,
0.004126273561269045,
-0.057738110423088074,
0.010640138760209084,
0.014176945202052593,
0.07719549536705017,
-0.01623760536313057,
0.0013238254468888044,
-0.01569271832704544,
0.010541068390011787,
-0.03956863656640053,
-0.02960217371582985,
0.05425084009766579,
-0.051199477165937424,
0.0018377521773800254,
0.016693327575922012,
-0.032316695898771286,
-0.02118120715022087,
-0.04049989581108093,
-0.0026327904779464006,
0.014820900745689869,
-0.03849867731332779,
0.022449307143688202,
0.004321937449276447,
0.05964025855064392,
0.04814811423420906,
0.026887651532888412,
-0.02169637195765972,
0.014176945202052593,
-0.016703234985470772,
0.014622760936617851,
0.00046036680578254163,
0.03487270697951317,
-0.008827154524624348,
-0.021399162709712982,
-0.020041899755597115,
0.028710542246699333,
-0.023994801566004753,
-0.03869681805372238,
-0.0360417366027832,
0.02694709226489067,
-0.03007771074771881,
0.027561327442526817,
-0.009674204513430595,
0.054052699357271194,
0.007757196202874184,
0.03427828848361969,
-0.07989020645618439,
0.01726793497800827,
-0.005206138826906681,
-0.00009968938684323803,
-0.03368386626243591,
0.019229525700211525,
0.004153518006205559,
0.03061269037425518,
0.06411822885274887,
-0.01696081832051277,
0.011393072083592415,
-0.0060829101130366325,
-0.028908682987093925,
-0.008480409160256386,
-0.004178285598754883,
-0.012314424850046635,
-0.01574225351214409,
-0.009708879515528679,
0.011918144300580025,
0.016425838693976402,
-0.008960898965597153,
0.016950910910964012,
-0.04763295128941536,
-0.02433164045214653,
-0.022092653438448906,
-0.045691173523664474,
0.04133208468556404,
0.011611026711761951,
0.003368386533111334,
-0.05207129567861557,
-0.010283485986292362,
-0.00021609685791190714,
0.00607300316914916,
0.06510893255472183,
0.06911136955022812,
0.02046790160238743,
-0.018783709034323692,
0.017892077565193176,
0.04810848832130432,
0.10065531730651855,
0.09748507291078568,
-0.03429810330271721,
-0.03376312181353569,
0.054290466010570526,
-0.022171908989548683,
-0.005414186045527458,
-0.013978804461658001,
0.02595639042556286,
-0.03186097368597984,
0.01555402111262083,
0.006464330013841391,
-0.014226480387151241,
0.027838725596666336,
0.03303000330924988,
0.015831416472792625,
0.044383447617292404,
0.08694400638341904,
0.0507635697722435,
0.03148450702428818,
-0.005216045770794153,
0.007653172593563795,
-0.023915546014904976,
0.023479636758565903,
-0.014454341493546963,
0.020804740488529205,
-0.021597303450107574,
0.030791016295552254,
0.009337365627288818,
0.010303299874067307,
0.012918753549456596,
-0.02306354232132435,
0.006380120757967234,
-0.010204230435192585,
-0.009040155448019505,
-0.014365178532898426,
0.016445651650428772,
0.02381647564470768,
-0.025322342291474342,
-0.0025981159415096045,
-0.016415931284427643,
-0.05104096606373787,
0.03263372182846069,
0.034139588475227356,
-0.07941466569900513,
0.054607491940259933,
0.011759632267057896,
-0.025064758956432343,
0.02456940896809101,
0.006365260109305382,
-0.013176335953176022,
0.017149051651358604,
0.04810848832130432,
0.02437126822769642,
0.04660262167453766,
0.02958236075937748,
0.004051970783621073,
0.014077874831855297,
-0.03132599592208862,
-0.06071021407842636,
-0.021042509004473686,
0.020309390500187874,
0.03796369954943657,
0.016544722020626068,
0.020883997902274132,
-0.04109431803226471,
-0.05163538455963135,
-0.028849240392446518,
0.05005026236176491,
-0.027105605229735374,
-0.004227820783853531,
0.01855584792792797,
0.019467294216156006,
-0.007890940643846989,
-0.005622233729809523,
-0.038577932864427567,
-0.014979413710534573,
-0.02254837565124035,
-0.02437126822769642,
0.06502967327833176,
-0.009035201743245125,
-0.02722449041903019,
0.06586186587810516,
-0.03935068100690842,
0.014008525758981705,
0.036774855107069016,
-0.01857566088438034,
0.01724812015891075,
-0.022924842312932014,
-0.02486661821603775,
-0.046404480934143066,
-0.004178285598754883,
-0.024965688586235046,
0.046681877225637436,
-0.035229362547397614,
0.08417003601789474,
0.04477972909808159,
-0.046206340193748474,
0.0032395953312516212,
-0.04065840691328049,
0.08393227308988571,
-0.06142352148890495,
0.01624751277267933,
0.02462884970009327,
0.019288966432213783,
-0.09177862852811813,
-0.011601120233535767,
-0.01703016646206379,
0.01574225351214409,
-0.020081529393792152,
0.013840106315910816,
-0.013840106315910816,
-0.021914327517151833,
0.012215355411171913,
-0.01293856743723154,
-0.03326776996254921,
0.012869218364357948,
0.04311534762382507,
-0.011145397089421749,
-0.013820292428135872,
-0.008524990640580654,
-0.055598191916942596,
0.03174209222197533,
-0.01854594051837921,
-0.02431182563304901,
-0.03564545512199402,
0.0681602954864502,
0.015771975740790367,
-0.01542522944509983,
0.05413195490837097,
-0.008113848976790905,
0.011482235975563526,
-0.025203457102179527,
-0.008673595264554024,
-0.0011727433884516358,
0.010243858210742474,
-0.006999309174716473,
0.033089444041252136,
0.036299318075180054,
0.013582523912191391,
-0.029344592243433,
-0.0015925533371046185,
0.004879206884652376,
-0.024212755262851715,
0.009228388778865337,
0.039429936558008194,
0.02143879048526287,
0.042520929127931595,
0.08789508044719696,
0.05329976603388786,
0.006132445298135281,
-0.00687547167763114,
-0.039370495826005936,
0.004993137903511524,
0.0033584795892238617,
-0.03631913289427757,
0.017436353489756584,
-0.005983839742839336,
-0.04747443646192551,
-0.017921797931194305,
0.02407405711710453,
0.0736289694905281,
-0.05940248817205429,
-0.0023021437227725983,
-0.0901935026049614,
0.015623370185494423,
0.0005566506879404187,
0.056390754878520966,
0.013275406323373318,
0.009867391549050808,
-0.03998472914099693,
-0.011868609115481377,
0.06423711776733398,
-0.008188151754438877,
-0.022588005289435387,
0.04474009945988655,
-0.030672132968902588,
0.08401152491569519,
-0.006489097606390715,
0.025342155247926712,
-0.03691355511546135,
0.01202712208032608,
0.05654926598072052,
-0.03586341068148613,
0.000033494241506559774,
-0.039370495826005936,
-0.015326159074902534,
-0.024985503405332565,
-0.010947256349027157,
0.01722830720245838,
-0.005315116140991449,
-0.023400379344820976,
0.07220235466957092,
-0.03719095140695572,
-0.062176454812288284,
-0.02823500521481037,
0.011838888749480247,
-0.013136708177626133,
0.0028829427901655436,
0.03725039213895798,
0.014375085011124611,
-0.053022369742393494,
-0.03199967369437218,
-0.012334239669144154,
0.002144869649782777,
0.012690892443060875,
0.02936440519988537,
0.024252383038401604,
0.08076202124357224,
0.06265199184417725,
-0.0365569032728672,
0.011670469306409359,
0.03956863656640053,
-0.04363051429390907,
-0.0041089365258812904,
0.04549303278326988,
-0.011680375784635544,
0.1012101098895073,
0.0012588106328621507,
0.04842551052570343,
0.08147532492876053,
-0.038597747683525085,
-0.011759632267057896,
0.03380275145173073,
0.018942221999168396,
0.002138677751645446,
-0.0020148400217294693,
0.002719476819038391,
0.016376303508877754,
-0.008609199896454811,
0.010570789687335491,
0.04901993274688721,
-0.040143243968486786,
0.08607218414545059,
0.006068049464374781,
-0.012383774854242802,
-0.0456119179725647,
-0.020745299756526947,
0.023875916376709938,
0.03059287555515766,
-0.11531770974397659,
-0.027323558926582336,
0.0010389987146481872,
-0.02538178488612175,
0.008004872128367424,
0.0810394212603569,
-0.06090835481882095,
0.024470338597893715,
0.061383891850709915,
0.015524299815297127,
0.018119938671588898,
-0.046681877225637436,
0.05999691039323807,
-0.017337284982204437,
-0.01703016646206379,
-0.021399162709712982,
0.019457386806607246,
0.024232570081949234,
-0.027878353372216225,
-0.004646392073482275,
-0.028393518179655075,
0.004641438834369183,
0.0035838643088936806,
0.004958463367074728,
-0.015851231291890144,
-0.03554638475179672,
0.031266555190086365,
0.025282714515924454,
-0.005097161512821913,
-0.02064622938632965,
0.028116121888160706,
0.08734028786420822,
-0.02980031445622444,
-0.02403442934155464,
-0.008029639720916748,
0.01034292858093977,
0.04493824020028114,
-0.02801705151796341,
0.03794388473033905,
-0.002508952748030424,
0.028135934844613075,
-0.05805513262748718,
0.04113394394516945,
-0.054052699357271194,
0.03919216990470886,
-0.04442307725548744,
-0.049099188297986984,
-0.0004826576041523367,
0.06300864368677139,
-0.036239877343177795,
0.021597303450107574,
-0.05183352530002594,
0.025322342291474342,
-0.04311534762382507,
-0.00199378770776093,
0.009441389702260494,
0.032613907009363174,
-0.03168264776468277,
0.0032767467200756073,
-0.04680075868964195,
0.05492451786994934,
-0.04913881793618202,
0.025520483031868935,
0.06819992512464523,
0.01913045533001423,
0.022825773805379868,
0.06942839175462723,
-0.014593039639294147,
-0.01529643777757883,
-0.0314052514731884,
-0.03558601438999176,
-0.012393681332468987,
-0.012780055403709412,
0.021795442327857018,
-0.018753988668322563,
-0.05234869197010994,
0.01097697764635086,
-0.017485888674855232,
-0.023380566388368607,
-0.0033436191733926535,
0.02227097935974598,
-0.020626414567232132,
-0.038835518062114716,
0.03326776996254921,
0.014454341493546963
]
|
41,770 | tokenize_rt | tokens_to_src | null | def tokens_to_src(tokens: Iterable[Token]) -> str:
return ''.join(tok.src for tok in tokens)
| (tokens: Iterable[tokenize_rt.Token]) -> str | [
-0.032631129026412964,
-0.04843274876475334,
0.003079312387853861,
-0.006219601258635521,
-0.0024172819685190916,
-0.023589186370372772,
0.05696945637464523,
0.007582860998809338,
0.1044614240527153,
0.02851957082748413,
0.03979150950908661,
0.014529824256896973,
-0.04317134991288185,
0.058885857462882996,
0.001429680734872818,
0.00292251561768353,
0.03287503495812416,
0.02008739486336708,
0.018920131027698517,
0.01312736514955759,
-0.02507004514336586,
0.0586419515311718,
0.0027766076382249594,
-0.09240550547838211,
-0.03815385699272156,
0.03651620075106621,
0.002926871180534363,
-0.05174290016293526,
-0.09282362461090088,
-0.06285803765058517,
0.006659502629190683,
-0.047004155814647675,
0.04912962019443512,
-0.0463072806596756,
-0.03310151770710945,
-0.04947805777192116,
0.004385950975120068,
0.028676368296146393,
-0.03689948096871376,
-0.10139517486095428,
-0.0010681772837415338,
-0.012761506251990795,
0.005609836429357529,
-0.02121981605887413,
0.009207448922097683,
0.0016038991743698716,
-0.0327182374894619,
-0.0460633747279644,
0.007652548607438803,
-0.023624030873179436,
0.02615019865334034,
0.01804903894662857,
-0.036481358110904694,
-0.01766575686633587,
0.027125822380185127,
0.026916760951280594,
-0.0048389192670583725,
0.006106358952820301,
0.004882473964244127,
0.06540162861347198,
0.015609979629516602,
-0.008214402943849564,
0.03905979171395302,
0.012839904986321926,
0.045645251870155334,
-0.008667371235787868,
0.002449947874993086,
-0.01001756452023983,
0.01769188977777958,
-0.015697088092565536,
-0.010636040940880775,
-0.028728634119033813,
-0.032962143421173096,
0.004486126825213432,
0.017404429614543915,
0.01556642446666956,
0.004481771495193243,
0.020052552223205566,
-0.0073258886113762856,
-0.011994944885373116,
0.008793679997324944,
-0.033136360347270966,
0.014251074753701687,
-0.021759893745183945,
0.058258671313524246,
-0.058258671313524246,
-0.03954760357737541,
-0.023624030873179436,
-0.10062861442565918,
-0.009129050187766552,
-0.011611663736402988,
0.020174505189061165,
-0.06034929305315018,
-0.009817213751375675,
-0.0342339389026165,
0.05292758718132973,
0.011228383518755436,
0.026237308979034424,
-0.00019164037075825036,
0.00859768409281969,
0.0634155422449112,
0.021968955174088478,
-0.10285861045122147,
0.023554343730211258,
0.011489711701869965,
0.0405232273042202,
-0.03374612703919411,
0.034042298793792725,
0.02534879371523857,
-0.03909463435411453,
-0.033310580998659134,
-0.03219558298587799,
0.06139460578560829,
-0.056690704077482224,
0.0770045816898346,
-0.07742270827293396,
-0.03606323152780533,
0.04752681031823158,
0.027874963358044624,
0.022212861105799675,
0.04087166488170624,
0.015862595289945602,
-0.05212618038058281,
0.02987847663462162,
0.006925186142325401,
-0.0020557784009724855,
0.05892070382833481,
0.004309730604290962,
0.026759963482618332,
-0.1032070517539978,
0.0029682479798793793,
0.014251074753701687,
-0.03470432758331299,
0.04442572221159935,
0.0235369224101305,
-0.05094149336218834,
-0.048363059759140015,
0.003423393936827779,
0.05379867926239967,
-0.01839747466146946,
0.024704186245799065,
-0.0372479185461998,
0.014494980685412884,
-0.00845830887556076,
-0.017831265926361084,
-0.021864423528313637,
0.015235409140586853,
0.041847288608551025,
0.04571494087576866,
-0.03954760357737541,
0.026010824367403984,
-0.017735445871949196,
0.000780716713052243,
-0.0021004220470786095,
0.0023911490570753813,
0.01638525165617466,
-0.03130706772208214,
0.009712682105600834,
-0.00011365036334609613,
-0.030296599492430687,
0.05038399621844292,
-0.040383853018283844,
-0.0573875792324543,
0.021237237378954887,
0.030523084104061127,
-0.008602038957178593,
0.003051001811400056,
-0.007330243941396475,
-0.02338012494146824,
-0.02738715149462223,
0.027700744569301605,
-0.031672924757003784,
-0.003965648822486401,
0.03620260953903198,
0.03972182050347328,
-0.011472289450466633,
-0.029059648513793945,
0.07937395572662354,
-0.05149899423122406,
0.015043769031763077,
0.0065419054590165615,
0.028449883684515953,
-0.00248261378146708,
0.01608036831021309,
-0.01471275370568037,
-0.0025697231758385897,
0.015235409140586853,
-0.007608993910253048,
0.028484728187322617,
-0.08690019696950912,
0.03468690812587738,
-0.00015625223750248551,
-0.02398988977074623,
-0.003447348950430751,
-0.033362846821546555,
-0.05212618038058281,
-0.06526225805282593,
-0.010888657532632351,
-0.0017367408145219088,
-0.060871951282024384,
-0.05122024565935135,
0.009521041996777058,
-0.0021123995538800955,
0.010496665723621845,
-0.018867865204811096,
0.05052337050437927,
-0.011193539947271347,
0.0017552515491843224,
-0.06979193538427353,
0.03923400864005089,
0.06843303143978119,
-0.02552301250398159,
-0.02461707592010498,
-0.04623759537935257,
-0.001981735695153475,
-0.011733616702258587,
-0.033537063747644424,
0.07135990262031555,
-0.07602895796298981,
0.022056063637137413,
0.04662087559700012,
-0.053728990256786346,
-0.007304111495614052,
-0.028676368296146393,
0.05846773460507393,
0.006324131973087788,
0.006393819581717253,
-0.026742542162537575,
-0.02534879371523857,
-0.022439345717430115,
0.07386865466833115,
-0.056342270225286484,
0.038850728422403336,
0.0372479185461998,
0.008702214807271957,
0.014303340576589108,
0.0548788346350193,
-0.040383853018283844,
0.006441729608923197,
-0.006563682574778795,
-0.05909492075443268,
-0.009460065513849258,
0.015697088092565536,
0.009686549194157124,
0.06083710491657257,
0.05766632780432701,
-0.011167407035827637,
-0.0460633747279644,
-0.0609067939221859,
0.02388535812497139,
0.03965213522315025,
0.03374612703919411,
-0.009007097221910954,
-0.007086338009685278,
-0.019198881462216377,
-0.07170834392309189,
0.030296599492430687,
-0.025209419429302216,
0.018989818170666695,
-0.004969583358615637,
0.0012565510114654899,
-0.04306681826710701,
-0.04317134991288185,
-0.03763119876384735,
-0.03055792860686779,
0.0025980337522923946,
-0.06777100265026093,
0.02688191644847393,
0.003055357141420245,
-0.004294486250728369,
0.015296385623514652,
0.006459151394665241,
-0.019338255748152733,
0.02665543369948864,
0.0008514929795637727,
-0.009712682105600834,
-0.06602881848812103,
0.06937381625175476,
0.01743927411735058,
-0.05895554646849632,
-0.010697017423808575,
-0.0010986655252054334,
-0.04132463410496712,
0.006428663153201342,
-0.01468662079423666,
-0.03892041742801666,
0.016568180173635483,
-0.12871263921260834,
0.0019403587793931365,
-0.0029922029934823513,
0.06885115802288055,
0.023554343730211258,
0.01182943768799305,
-0.04351978749036789,
0.0132144745439291,
-0.010444399900734425,
0.07407771050930023,
-0.01482599601149559,
0.027421994134783745,
0.00819262582808733,
-0.028763476759195328,
0.03892041742801666,
-0.0015385672450065613,
-0.0008318934123963118,
-0.025052621960639954,
-0.02280520461499691,
-0.052161023020744324,
-0.06139460578560829,
-0.020244192332029343,
-0.006049737799912691,
0.004015736747533083,
-0.02790980599820614,
-0.015139589086174965,
-0.00345170428045094,
0.006446084938943386,
0.010305025614798069,
-0.005470461677759886,
0.03763119876384735,
0.07874677330255508,
0.011219672858715057,
0.03270081430673599,
0.015427050180733204,
0.009111628867685795,
0.01885044388473034,
0.018136147409677505,
-0.0344778448343277,
0.0017704956699162722,
-0.03710854426026344,
-0.005034915171563625,
0.020453253760933876,
-0.003704321337863803,
-0.05055821314454079,
0.02106301859021187,
-0.008175203576683998,
-0.03592385724186897,
0.06446085125207901,
-0.015348651446402073,
-0.020279034972190857,
-0.026498636230826378,
-0.039756666868925095,
0.044565096497535706,
-0.04487869143486023,
0.020610051229596138,
0.05324117839336395,
-0.03304925188422203,
0.005091536324471235,
-0.022491611540317535,
-0.02597598172724247,
0.01879817806184292,
-0.007151670288294554,
0.0021319990046322346,
0.0037696531508117914,
0.03682979568839073,
0.023014266043901443,
0.012935725040733814,
0.05982663854956627,
-0.028554415330290794,
0.025784339755773544,
-0.0026611879002302885,
0.0003617756301537156,
0.04867665469646454,
0.015366073697805405,
0.03689948096871376,
-0.032840192317962646,
0.02615019865334034,
0.046551186591386795,
0.02784011885523796,
-0.04188213124871254,
0.025383638218045235,
0.022056063637137413,
-0.05404258519411087,
0.044112127274274826,
0.0027243420481681824,
-0.024791294708848,
-0.07491396367549896,
-0.02653348073363304,
-0.01878075674176216,
0.02081911265850067,
-0.028658946976065636,
0.013972325250506401,
0.005592414643615484,
0.07090693712234497,
0.04453025385737419,
0.08919987827539444,
0.00018388220632914454,
0.03878104314208031,
-0.04317134991288185,
-0.02224770560860634,
0.01643751747906208,
0.01160295307636261,
0.016655290499329567,
-0.049547746777534485,
-0.008366844616830349,
0.011620375327765942,
-0.027265198528766632,
-0.0679452195763588,
-0.027822697535157204,
0.0032186871394515038,
0.0035910792648792267,
-0.034948233515024185,
0.028449883684515953,
0.04149885103106499,
-0.0017182300798594952,
-0.011193539947271347,
-0.06484413146972656,
0.00041050236904993653,
0.023275593295693398,
0.03287503495812416,
-0.05327602103352547,
-0.018972396850585938,
-0.048816028982400894,
0.006703057326376438,
0.014930526725947857,
-0.04843274876475334,
0.01094963401556015,
-0.05055821314454079,
-0.04571494087576866,
0.010792837478220463,
-0.01024404913187027,
-0.016123924404382706,
-0.06334584951400757,
0.001153108780272305,
-0.014294628985226154,
-0.04289259761571884,
-0.03162066265940666,
-0.0016920974012464285,
-0.011446156539022923,
-0.018467163667082787,
0.012386936694383621,
0.04686478152871132,
-0.02914675883948803,
-0.0035213918890804052,
0.027979493141174316,
-0.026672855019569397,
0.019965441897511482,
0.013589044101536274,
0.040662601590156555,
0.026115356013178825,
0.042648691684007645,
0.008188270032405853,
-0.01248275674879551,
0.037387292832136154,
0.03581932559609413,
0.06787553429603577,
-0.016576891764998436,
-0.014982792548835278,
-0.06491381675004959,
0.016829509288072586,
-0.0626838207244873,
0.03531409427523613,
-0.032282691448926926,
0.000208245575777255,
-0.004795364569872618,
-0.03547089174389839,
0.051533836871385574,
0.017857398837804794,
0.04975681006908417,
0.05243977531790733,
-0.004100668244063854,
0.04432119056582451,
0.05655132979154587,
0.05014009028673172,
0.06637725234031677,
-0.0030183359049260616,
0.046098221093416214,
-0.05703914165496826,
0.03634198382496834,
0.045819468796253204,
-0.014494980685412884,
-0.0004061469226144254,
0.07184771448373795,
-0.0035976124927401543,
-0.014956659637391567,
0.01236951444298029,
-0.014294628985226154,
0.020279034972190857,
-0.02167278341948986,
0.012726662680506706,
-0.03933854028582573,
-0.00731282215565443,
-0.07665614783763885,
-0.08257957547903061,
0.010461822152137756,
-0.0010518443305045366,
0.0036672998685389757,
0.04243963211774826,
-0.01895497553050518,
-0.04484384506940842,
0.0011639974545687437,
0.019320834428071976,
-0.018362632021307945,
0.08285832405090332,
-0.03968697786331177,
-0.06174304336309433,
-0.02716066688299179,
0.024756452068686485,
-0.02710840106010437,
-0.004331507720053196,
-0.02200379967689514,
0.019373098388314247,
-0.014285918325185776,
-0.06627272069454193,
-0.005013138055801392,
-0.044739317148923874,
0.035453468561172485,
0.022090908139944077,
0.03501792252063751,
0.018833022564649582,
-0.06383366137742996,
-0.0029138047248125076,
0.058885857462882996,
-0.008488797582685947,
-0.00628057774156332,
-0.020679738372564316,
0.03362417221069336,
-0.008083739317953587,
0.02790980599820614,
0.06010538712143898,
0.010557642206549644,
0.008318934589624405,
-0.029077069833874702,
-0.017186656594276428,
-0.016115212813019753,
0.027857540175318718,
-0.025261685252189636,
-0.00772659108042717,
-0.01726505532860756,
0.02857183665037155,
-0.04641181230545044,
0.02547074668109417,
0.024460280314087868,
0.003390727797523141,
0.0023149284534156322,
-0.012299827300012112,
-0.0006952408002689481,
0.03017464652657509,
0.04735259339213371,
-0.058711640536785126,
0.04010510444641113,
0.0415336936712265,
-0.019826067611575127,
0.005309309344738722,
-0.0053877076134085655,
0.012439202517271042,
0.0022387078497558832,
-0.010888657532632351,
-0.06766647100448608,
0.03332800418138504,
0.0046516344882547855,
0.015052479691803455,
-0.02184700220823288,
-0.0027722520753741264,
-0.058432891964912415,
0.005588058847934008,
-0.005100246984511614,
-0.048467591404914856,
-0.03526182845234871,
0.04860696569085121,
-0.040209632366895676,
0.014155254699289799,
0.036864638328552246,
-0.014373027719557285,
0.004344574175775051,
0.012927014380693436,
-0.01001756452023983,
0.022090908139944077,
-0.011141274124383926,
0.006554971914738417,
-0.026899339631199837,
0.004634212702512741,
0.03106316179037094,
-0.0048606968484818935,
0.0339726097881794,
-0.016245877370238304,
-0.008723991923034191,
0.012927014380693436,
0.016977595165371895,
0.0022169307339936495,
0.060802262276411057,
0.041220102459192276,
0.049373526126146317,
0.03243948891758919,
0.027073558419942856,
0.016724977642297745,
0.08717894554138184,
0.04724806174635887,
-0.029634570702910423,
0.007530595641583204,
0.02519199810922146,
-0.017961928620934486,
-0.026812229305505753,
0.012744084931910038,
-0.021237237378954887,
0.03832807391881943,
0.05111571401357651,
-0.05609836429357529,
-0.00045215149293653667,
0.05132477357983589,
-0.0382583849132061,
-0.028258243575692177,
0.02297942340373993,
-0.0322130024433136,
0.031150270253419876,
0.022143173962831497,
0.06275351345539093,
-0.03982635214924812,
0.003327573649585247,
-0.029233867302536964,
0.006764033809304237,
0.0818130150437355,
0.015069901943206787,
0.05501820892095566,
-0.00034299271646887064,
-0.06885115802288055,
-0.009181316010653973,
0.05585445836186409,
-0.008075028657913208,
0.014503691345453262,
-0.03871135413646698,
0.03459979593753815,
0.05278820917010307,
0.0031969097908586264,
-0.08655176311731339,
-0.024721607565879822,
0.03982635214924812,
0.061429448425769806,
-0.00036368114524520934,
0.015836462378501892,
-0.03564510866999626,
-0.012413069605827332,
0.025313951075077057,
-0.03186456859111786,
0.054704613983631134,
-0.02534879371523857,
-0.021986376494169235,
0.012151741422712803,
0.01794450730085373,
-0.0048868292942643166,
-0.05149899423122406,
0.017630914226174355,
0.005792765878140926,
-0.015069901943206787,
-0.02959972620010376,
-0.006093292497098446,
-0.04498322308063507,
-0.05358961597084999,
-0.05968726426362991,
0.01766575686633587,
-0.04526197165250778,
0.0064373742789030075,
-0.002665543230250478,
0.05142930522561073,
0.03169034793972969,
0.059443358331918716,
0.009172605350613594,
0.07372927665710449,
-0.007230068556964397,
-0.040558069944381714,
0.057526953518390656,
0.0003590534906834364,
0.05041883885860443,
0.022369658574461937,
0.07240521907806396,
0.041394319385290146,
-0.051011182367801666,
0.01554029155522585,
0.010609908029437065,
-0.02541848085820675,
-0.010514087975025177,
0.01963442750275135,
-0.057526953518390656,
-0.011533265933394432,
-0.03672526404261589,
-0.06766647100448608,
0.05195196345448494,
0.00939908903092146,
0.10982735455036163,
0.01729118824005127,
-0.017055992037057877,
-0.025836605578660965,
0.022613564506173134,
-0.021376611664891243,
0.07839833199977875,
-0.042648691684007645,
-0.07170834392309189,
0.026272151619195938,
-0.03379839286208153,
0.060976482927799225,
0.06327616423368454,
-0.02263098582625389,
0.012082054279744625,
0.004625501576811075,
0.012386936694383621,
-0.019268568605184555,
-0.02398988977074623,
0.06508804112672806,
-0.00012766951113007963,
-0.022787781432271004,
0.005239621736109257,
-0.002463014330714941,
0.04160338267683983,
0.005805831868201494,
0.008000985719263554,
-0.050349149852991104,
0.012151741422712803,
-0.062439918518066406,
0.06264898180961609,
-0.006023605354130268,
-0.0732414647936821,
0.005274465773254633,
0.028049182146787643,
-0.03275308012962341,
-0.021968955174088478,
0.037317607551813126,
0.03374612703919411,
-0.07540177553892136,
-0.06867694109678268,
0.027683323249220848,
0.04034901037812233,
0.04407728463411331,
-0.003543169004842639,
-0.05766632780432701,
0.03637682646512985,
0.049652278423309326,
0.0025283461436629295,
0.04299712926149368,
0.02494809217751026,
-0.005731789395213127,
0.013031545095145702,
-0.015601268038153648,
0.015270252712070942,
0.06379882246255875,
0.019617004320025444,
-0.002406393177807331,
-0.02881574258208275,
0.045471034944057465,
-0.03538377955555916,
-0.022195439785718918,
-0.01689048483967781,
0.004044047556817532,
-0.016254587098956108,
0.00587116414681077,
-0.020784270018339157,
0.059164609760046005,
-0.005980050656944513,
-0.01414654403924942,
0.01575806550681591,
-0.02620246447622776,
-0.026341840624809265,
0.04341525584459305,
-0.018066460266709328,
0.07742270827293396,
-0.03773573040962219,
-0.03571479767560959,
0.014094278216362,
-0.0035867237020283937,
-0.01991317607462406,
-0.02585402876138687,
-0.05892070382833481,
-0.02439059317111969,
0.017221501097083092,
-0.0003345540026202798,
0.02637668326497078,
-0.01986091025173664,
-0.018606537953019142,
-0.006385108456015587,
-0.023118797689676285,
0.0006859854329377413
]
|
41,771 | wield.bunch.bunch | Bunch |
Cookbook method for creating bunches
Often we want to just collect a bunch of stuff together, naming each
item of the bunch; a dictionary's OK for that, but a small do-nothing
class is even handier, and prettier to use. Whenever you want to
group a few variables:
>>> point = Bunch(datum=2, squared=4, coord=12)
>>> point.datum
taken from matplotlib's cbook.py
By: Alex Martelli
From: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52308
| class Bunch(object):
"""
Cookbook method for creating bunches
Often we want to just collect a bunch of stuff together, naming each
item of the bunch; a dictionary's OK for that, but a small do-nothing
class is even handier, and prettier to use. Whenever you want to
group a few variables:
>>> point = Bunch(datum=2, squared=4, coord=12)
>>> point.datum
taken from matplotlib's cbook.py
By: Alex Martelli
From: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52308
"""
def __init__(self, inner_dict=None, *args, **kwds):
if inner_dict is None or args or kwds:
if args:
_mydict = dict(inner_dict, *args, **kwds)
else:
_mydict = dict(**kwds)
else:
_mydict = inner_dict
self.__dict__["_mydict"] = _mydict
return
@classmethod
def as_bunch(cls, data):
if isinstance(data, cls):
return data
return cls(data)
def __repr__(self):
keys = list(self._mydict.keys())
return "{0}({1})".format(
self.__class__.__name__,
", \n ".join(
["".join((str(k), "=", repr(self._mydict[k]))) for k in keys]
),
)
def _repr_pretty_(self, p, cycle):
if cycle:
p.text("Bunch(<recurse>)")
else:
with p.group(4, "Bunch(", ")"):
first = True
for k, v in sorted(self._mydict.items()):
if not first:
p.text(",")
p.breakable()
else:
p.breakable()
first = False
if isinstance(k, str):
p.text(k)
else:
p.pretty(k)
p.text(" = ")
p.pretty(v)
if not first:
p.text(",")
p.breakable()
return
def __dir__(self):
items = [k for k in self._mydict.keys() if isinstance(k, str)]
# items += dir(super(Bunch, self))
return items
def __getitem__(self, key):
if isinstance(key, (slice, np.ndarray, MutableSequence)):
rebuild = dict()
for vkey, val in self._mydict.items():
if isinstance(val, np.ndarray):
val = val[key]
rebuild[vkey] = val
if not rebuild:
raise RuntimeError("Not holding arrays to index by {0}".format(key))
return Bunch(rebuild)
else:
return self._mydict[key]
def domain_sort(self, key):
argsort = np.argsort(self[key])
return self[argsort]
def __getattr__(self, key):
try:
item = self._mydict[key]
except KeyError as E:
raise AttributeError(E)
if type(item) is dict:
return self.__class__(item)
return item
def __setattr__(self, key, item):
self._mydict[key] = item
return
def __delattr__(self, key):
del self._mydict[key]
def __delitem__(self, key):
del self._mydict[key]
def __deepcopy__(self, memo):
return self.__class__(copy.deepcopy(self._mydict, memo))
def copy(self):
return self.__class__(self._mydict.copy())
__contains__ = gen_func("__contains__")
__eq__ = gen_func("__eq__")
__format__ = gen_func("__format__")
__ge__ = gen_func("__ge__")
__gt__ = gen_func("__gt__")
__iter__ = gen_func("__iter__")
__le__ = gen_func("__le__")
__len__ = gen_func("__len__")
__lt__ = gen_func("__lt__")
__ne__ = gen_func("__ne__")
__setitem__ = gen_func("__setitem__")
__sizeof__ = gen_func("__sizeof__")
__str__ = gen_func("__str__")
clear = gen_func("clear")
fromkeys = gen_func("fromkeys")
get = gen_func("get")
items = gen_func("items")
keys = gen_func("keys")
pop = gen_func("pop")
popitem = gen_func("popitem")
setdefault = gen_func("setdefault")
update = gen_func("update")
values = gen_func("values")
| (inner_dict=None, *args, **kwds) | [
0.04856517165899277,
-0.031024334952235222,
-0.01845271699130535,
-0.0032991531770676374,
0.006024540401995182,
-0.01729493960738182,
-0.041188184171915054,
-0.012633092701435089,
0.021044908091425896,
-0.03862673044204712,
-0.06401586532592773,
0.07475348562002182,
0.04086031764745712,
0.04963073879480362,
-0.05204875022172928,
0.020676059648394585,
0.07606494426727295,
0.0386677123606205,
-0.030122702941298485,
0.035286594182252884,
0.040389012545347214,
0.007407725788652897,
0.03583986684679985,
0.04614716023206711,
-0.011874902062118053,
0.00601941766217351,
0.02557355910539627,
0.007351373787969351,
0.020983433350920677,
-0.03069646842777729,
-0.05237661674618721,
-0.04643404483795166,
0.00777145242318511,
-0.010384135879576206,
0.02290964685380459,
-0.0843435674905777,
0.04135211929678917,
0.0481143556535244,
-0.03114728443324566,
0.015348234213888645,
0.05708969384431839,
-0.021003924310207367,
-0.014077752828598022,
-0.031311217695474625,
0.023114563897252083,
0.04372914880514145,
0.03153662383556366,
0.07389283180236816,
-0.021126875653862953,
-0.06647486239671707,
0.017448626458644867,
-0.0442209467291832,
0.028954679146409035,
0.02241784706711769,
-0.02637273259460926,
0.0664338767528534,
0.027848131954669952,
0.0615568682551384,
0.015471183694899082,
0.01847320795059204,
-0.061966702342033386,
0.026864532381296158,
0.02799157239496708,
-0.05463069677352905,
-0.01817607879638672,
-0.028995662927627563,
-0.0812288373708725,
0.0021298492792993784,
-0.01655724085867405,
-0.04737665876746178,
0.006075769662857056,
0.02044040523469448,
0.02124982513487339,
0.0338931642472744,
-0.017090022563934326,
0.015215038321912289,
-0.07893377542495728,
-0.06307324767112732,
0.08852385729551315,
-0.03862673044204712,
-0.02678256668150425,
0.0111986780539155,
-0.06401586532592773,
-0.060040488839149475,
-0.004810411017388105,
0.02368832938373089,
0.025696508586406708,
0.0355529859662056,
0.03471282869577408,
0.03627019375562668,
-0.05598314478993416,
0.06885188817977905,
0.03069646842777729,
0.04881107434630394,
-0.0228891558945179,
-0.032889071851968765,
0.002526874653995037,
-0.0003017713315784931,
-0.007827804423868656,
0.01580929569900036,
0.009395414032042027,
-0.089589424431324,
-0.024630945175886154,
0.03370874002575874,
-0.06663879752159119,
0.02952844463288784,
-0.0076177651062607765,
0.0031582731753587723,
-0.049753688275814056,
-0.02321702241897583,
-0.07315513491630554,
0.0363316684961319,
-0.0426635816693306,
-0.016342079266905785,
0.014323652721941471,
-0.004395455587655306,
-0.0007088824640959501,
-0.019005991518497467,
0.02052237093448639,
-0.01646502874791622,
-0.04131113365292549,
0.004520966671407223,
-0.036454617977142334,
0.056106094270944595,
-0.001164821325801313,
-0.02553257718682289,
0.013268332928419113,
0.027253873646259308,
0.006126998458057642,
-0.01936459355056286,
0.025737492367625237,
-0.028135014697909355,
-0.060819171369075775,
0.038770172744989395,
0.031311217695474625,
-0.011874902062118053,
0.012858500704169273,
-0.025081761181354523,
-0.025860441848635674,
0.058810990303754807,
0.02319652959704399,
-0.043893080204725266,
-0.008703821338713169,
0.03586035966873169,
-0.011690477840602398,
-0.05680280923843384,
0.02446701191365719,
0.04290948063135147,
-0.0026229291688650846,
0.001221173326484859,
-0.050573352724313736,
0.007961000315845013,
0.04262259975075722,
0.007745837792754173,
0.03868820518255234,
-0.02829894609749317,
-0.0440160296857357,
-0.028503863140940666,
-0.02284817211329937,
-0.02516372688114643,
-0.029630903154611588,
-0.016403554007411003,
-0.00738723436370492,
-0.02129080891609192,
-0.029671886935830116,
0.02987680211663246,
0.05713067576289177,
-0.07229448854923248,
0.0024026441387832165,
0.049015987664461136,
-0.005043503362685442,
-0.042294733226299286,
-0.026065358892083168,
0.048237308859825134,
0.013442511670291424,
0.05012253671884537,
-0.0216186735779047,
0.03823738917708397,
0.002061970764771104,
-0.026229292154312134,
0.00510753970593214,
-0.037663623690605164,
-0.07774525880813599,
-0.0015355919022113085,
-0.008575748652219772,
-0.012643338181078434,
0.04127015173435211,
-0.02360636182129383,
0.05831919237971306,
0.06831911206245422,
-0.0355529859662056,
-0.0010995042975991964,
0.02516372688114643,
0.034057095646858215,
0.04295046627521515,
-0.008145424537360668,
-0.08631076663732529,
0.009805247187614441,
0.022643255069851875,
0.05065532028675079,
-0.06254047155380249,
-0.01203883532434702,
0.059302788227796555,
-0.018391242250800133,
0.02672109194099903,
0.02323751337826252,
-0.013094154186546803,
-0.008012228645384312,
0.0024782069958746433,
0.006429250352084637,
0.006531708408147097,
-0.07061417400836945,
0.016434291377663612,
0.006700764410197735,
0.026946499943733215,
-0.06024540588259697,
0.07917967438697815,
-0.0025870688259601593,
-0.013801115565001965,
0.000706961378455162,
0.07086007297039032,
-0.01064540445804596,
-0.006444619037210941,
0.02790960669517517,
-0.04581929370760918,
-0.009216112084686756,
0.01515356358140707,
0.02163916639983654,
0.01892402395606041,
-0.01649576611816883,
0.044302914291620255,
-0.077335424721241,
0.011690477840602398,
-0.02600388415157795,
0.023524396121501923,
-0.03272514045238495,
-0.0221104733645916,
0.027868622913956642,
0.07684362679719925,
0.020747778937220573,
0.008790911175310612,
0.05172088369727135,
0.002119603333994746,
-0.030040735378861427,
-0.03594232723116875,
-0.03141367435455322,
0.03659806028008461,
0.013934311456978321,
-0.032458748668432236,
-0.004715637303888798,
-0.0061013842932879925,
0.006798099726438522,
0.02559405192732811,
0.0019249329343438148,
0.0018032637890428305,
-0.01557364221662283,
-0.010717124678194523,
-0.002748440485447645,
0.00260627968236804,
-0.019928114488720894,
0.028237471356987953,
-0.02172113209962845,
0.013954803347587585,
0.06360603123903275,
-0.004049659240990877,
0.01573757454752922,
0.03592183440923691,
-0.01660846918821335,
-0.054548729211091995,
0.04852418974041939,
-0.009692543186247349,
-0.0029021278023719788,
-0.013596199452877045,
0.01418021135032177,
-0.06770435720682144,
0.06352406740188599,
0.029835820198059082,
-0.02044040523469448,
-0.014784714207053185,
-0.03776608034968376,
0.008990705013275146,
-0.020327702164649963,
-0.01164949405938387,
0.0008030158933252096,
0.020542863756418228,
-0.006188473664224148,
-0.05754050984978676,
0.012192522175610065,
0.021762115880846977,
0.008145424537360668,
0.07598298043012619,
-0.03586035966873169,
0.024221111088991165,
-0.004211030900478363,
0.03827837109565735,
0.00908803939819336,
-0.06221260130405426,
-0.02799157239496708,
-0.0010341871529817581,
-0.015665855258703232,
0.025409625843167305,
-0.041475068777799606,
0.060860153287649155,
0.05700772628188133,
0.0076946085318923,
0.0014779591001570225,
0.03264317288994789,
-0.034487418830394745,
-0.019190415740013123,
0.003498946549370885,
0.010107498615980148,
-0.0036859328392893076,
0.0205018799751997,
0.06258144974708557,
-0.010512208566069603,
-0.051434002816677094,
-0.033995620906353,
-0.027766164392232895,
0.0306759774684906,
0.07901573926210403,
-0.05721264332532883,
-0.023811278864741325,
-0.02002032659947872,
0.006572691723704338,
0.06262243539094925,
-0.01438512746244669,
0.014487585052847862,
0.01199785154312849,
0.011782689951360226,
0.028032556176185608,
-0.029753852635622025,
-0.00542003707960248,
0.02278669737279415,
0.08926156163215637,
0.03608576953411102,
0.04487667977809906,
-0.010368767194449902,
-0.0010482751531526446,
-0.03772509843111038,
-0.10442537069320679,
0.05081925168633461,
0.021823590621352196,
-0.03868820518255234,
-0.01695682667195797,
0.03227432444691658,
-0.050532370805740356,
0.03938492015004158,
0.016342079266905785,
0.03475381061434746,
-0.00189803761895746,
0.017499854788184166,
-0.01613716222345829,
-0.01474373135715723,
0.028995662927627563,
0.017602313309907913,
-0.007033753674477339,
0.01573757454752922,
-0.06676174700260162,
-0.026249783113598824,
-0.02127031609416008,
0.0884418934583664,
-0.01360644493252039,
-0.028913695365190506,
-0.00392414815723896,
0.030798926949501038,
-0.04104474186897278,
-0.04088081046938896,
-0.04458979517221451,
0.028237471356987953,
-0.05008155480027199,
-0.00020411588775459677,
-0.02397521212697029,
-0.010087006725370884,
-0.004943606909364462,
-0.026680108159780502,
-0.01936459355056286,
0.01963098533451557,
0.04520454630255699,
-0.03739723190665245,
-0.0021272876765578985,
0.050614338368177414,
0.007433340419083834,
0.01357570756226778,
0.058483123779296875,
0.0013178682420402765,
-0.028442388400435448,
0.03336038067936897,
0.006905680987983942,
0.022253915667533875,
-0.017038794234395027,
-0.04397504776716232,
-0.008811403065919876,
-0.0037320388946682215,
0.05282743275165558,
-0.03583986684679985,
-0.051434002816677094,
0.0471307598054409,
-0.00968229677528143,
-0.06221260130405426,
-0.008565503172576427,
0.060081470757722855,
-0.07844197750091553,
-0.009093162603676319,
0.03547101840376854,
0.02758174017071724,
-0.07208956778049469,
0.036454617977142334,
-0.021167857572436333,
0.006962032988667488,
0.043483249843120575,
0.04004065319895744,
-0.004994835704565048,
-0.05549134686589241,
-0.04917992278933525,
0.037950508296489716,
-0.04081933572888374,
-0.04282751679420471,
-0.01689535193145275,
0.024507993832230568,
0.041966866701841354,
0.04237670078873634,
0.006459987722337246,
0.0064036357216537,
0.01658797822892666,
-0.0008126213797368109,
0.00658293766900897,
-0.05708969384431839,
-0.025430118665099144,
0.0216186735779047,
0.03743821755051613,
-0.04020458832383156,
-0.001876265276223421,
-0.04844222217798233,
-0.008760173805058002,
0.022971121594309807,
-0.07409775257110596,
0.009590084664523602,
-0.023401446640491486,
0.02358587086200714,
0.029323529452085495,
-0.010860566049814224,
0.04131113365292549,
0.037643130868673325,
-0.04610617831349373,
-0.011967114172875881,
0.03635215759277344,
0.009569592773914337,
-0.0029738484881818295,
0.020983433350920677,
-0.013411774300038815,
0.07417971640825272,
0.007059367839246988,
0.04922090470790863,
-0.017919933423399925,
0.025757985189557076,
-0.02052237093448639,
-0.026085849851369858,
0.0002162828022846952,
0.009410782717168331,
0.03981524705886841,
0.00867308396846056,
-0.013913819566369057,
-0.006536831147968769,
0.009313447400927544,
-0.056556910276412964,
0.006644412409514189,
0.01734616793692112,
0.04161851108074188,
-0.053360216319561005,
0.0014869242440909147,
0.02752026543021202,
0.0034656475763767958,
-0.009497872553765774,
-0.02557355910539627,
-0.017786739394068718,
0.043032433837652206,
-0.025839950889348984,
-0.0012538318987935781,
-0.04020458832383156,
-0.06741748005151749,
0.0015932245878502727,
-0.058114275336265564,
0.023421937599778175,
-0.019979342818260193,
-0.020174013450741768,
0.035266101360321045,
0.03348333016037941,
0.0003166597743984312,
0.008160793222486973,
-0.001276884926483035,
-0.04426192864775658,
0.03809394687414169,
-0.02040966786444187,
0.03696690872311592,
0.00924685038626194,
0.05676182731986046,
-0.0036423879209905863,
0.012141292914748192,
0.03432348743081093,
-0.07233546674251556,
-0.009400537237524986,
0.01736666075885296,
0.016454782336950302,
0.022356372326612473,
0.025655526667833328,
0.0022169386502355337,
0.033995620906353,
0.051352035254240036,
-0.030471060425043106,
-0.058073293417692184,
0.0059067136608064175,
-0.035266101360321045,
-0.012489651329815388,
-0.03032761812210083,
0.013360545970499516,
-0.0035809131804853678,
-0.039159514009952545,
-0.006009171716868877,
-0.024221111088991165,
-0.0256145428866148,
0.05790935829281807,
0.03225383162498474,
0.0002377349737798795,
0.01126015279442072,
-0.03985622897744179,
0.031003842130303383,
0.051352035254240036,
0.01931336522102356,
0.008145424537360668,
0.04565536230802536,
0.04217178374528885,
0.007433340419083834,
0.021372774615883827,
0.05877000838518143,
0.028053047135472298,
0.06397487968206406,
-0.003862673183903098,
-0.020327702164649963,
0.01975393481552601,
0.050573352724313736,
0.06528634577989578,
0.05159793421626091,
0.08131080865859985,
-0.03186449036002159,
0.029077628627419472,
0.03973327949643135,
0.00309935980476439,
-0.0239547211676836,
-0.0155326584354043,
-0.035286594182252884,
0.0216186735779047,
-0.003749969182536006,
0.021475233137607574,
0.009579839184880257,
-0.01648551970720291,
-0.059999506920576096,
0.0016406114445999265,
-0.03741772472858429,
0.022971121594309807,
0.010056269355118275,
-0.026454700157046318,
0.054220862686634064,
0.022581780329346657,
-0.04208981618285179,
-0.038442306220531464,
0.04290948063135147,
-0.01614740863442421,
0.05266350135207176,
-0.03817591443657875,
-0.03618822619318962,
-0.0015112580731511116,
0.05995852127671242,
0.005486635025590658,
0.0035399298649281263,
-0.0032991531770676374,
0.047868456691503525,
-0.03631117567420006,
0.0434422641992569,
-0.005130592733621597,
-0.05782739073038101,
0.004285313189029694,
0.020717041566967964,
0.008201777003705502,
-0.03192596510052681,
-0.024692419916391373,
-0.023053089156746864,
-0.03786854073405266,
0.0332169383764267,
0.005271472968161106,
-0.057622477412223816,
-0.006629043724387884,
-0.005834992974996567,
-0.02237686514854431,
-0.021147366613149643,
0.038401324301958084,
-0.0016508572734892368,
-0.04922090470790863,
-0.0035809131804853678,
0.0031557115726172924,
-0.025819459930062294,
-0.017633050680160522,
0.012674075551331043,
-0.02129080891609192,
0.009016319178044796,
-0.008160793222486973,
0.0007505061221309006,
0.025450609624385834,
0.019128940999507904,
0.029364511370658875,
-0.026229292154312134,
-0.046229127794504166,
0.013155628927052021,
0.015030614100396633,
0.00601429445669055,
-0.045163560658693314,
-0.06454864889383316,
-0.02993827685713768,
-0.016290849074721336,
-0.005522495601326227,
-0.02245883084833622,
-0.03743821755051613,
-0.026905516162514687,
-0.011321627534925938,
0.022315390408039093,
-0.03073745220899582,
-0.0668027251958847,
0.014323652721941471,
0.013268332928419113,
0.04282751679420471,
-0.05270448327064514,
0.0005094092339277267,
0.001550960587337613,
0.06073720380663872,
-0.06610601395368576,
-0.03270464763045311,
-0.01935434900224209,
0.004264821298420429,
0.015225284732878208,
-0.01971295289695263,
0.07672067731618881,
0.006639289669692516,
-0.07258136570453644,
-0.011352365836501122,
0.03030712716281414,
-0.04143408313393593,
-0.028606321662664413,
-0.005998925771564245,
-0.02122933231294155,
0.08085998892784119,
0.0000800054258434102,
-0.011936376802623272,
0.013381036929786205,
-0.03512266278266907,
-0.0005289402906782925,
-0.05758149176836014,
0.032807108014822006,
0.019907623529434204,
-0.05008155480027199,
-0.019057219848036766,
0.010174096561968327,
-0.030921876430511475,
-0.029794836416840553,
-0.052540551871061325,
-0.06516339629888535,
0.06770435720682144,
0.043565213680267334,
-0.013145383447408676,
0.014569551683962345,
0.02829894609749317,
0.03708985820412636,
0.0018852303037419915,
0.003089113859459758,
0.009784755297005177,
-0.0479094423353672,
-0.0652453601360321,
-0.021844081580638885,
-0.018329767510294914,
0.07954852283000946,
-0.002579384483397007,
-0.05942573770880699,
0.060040488839149475,
0.021926049143075943,
-0.040778353810310364,
0.020635075867176056,
-0.022212931886315346,
0.0393439382314682,
0.012438422068953514,
-0.032848089933395386,
-0.04254063218832016,
-0.051802851259708405,
0.03895459696650505,
-0.009912827983498573,
0.04491766169667244,
0.023934228345751762,
-0.0597945898771286,
-0.009011195972561836,
-0.009733526036143303,
-0.03770460560917854,
0.045081596821546555,
-0.04536847770214081,
0.03909803926944733,
0.025880934670567513,
0.013934311456978321,
0.01614740863442421,
0.002087585162371397,
0.03579888492822647,
-0.05159793421626091,
0.04454881325364113,
0.06663879752159119,
0.020368684083223343,
0.01144457794725895,
0.12557274103164673,
0.020594092085957527,
-0.06147490441799164,
0.04104474186897278,
-0.054917581379413605,
0.007254038471728563,
0.027663705870509148,
-0.041577525436878204,
0.012069572694599628,
0.035225119441747665,
0.024671927094459534,
0.05008155480027199,
-0.010153604671359062,
0.0012679198989644647,
0.04042999446392059,
0.03303251415491104,
-0.0535651333630085,
-0.038442306220531464,
-0.018739599734544754,
-0.03620871901512146,
0.008806279860436916,
-0.003798636607825756,
0.0410037599503994,
0.0026741581968963146,
-0.03893410414457321,
-0.02364734560251236,
-0.018657632172107697,
0.03141367435455322,
0.05086023733019829,
-0.08348292112350464,
-0.00570179708302021,
-0.017038794234395027,
0.043934065848588943,
-0.0135859539732337,
-0.03631117567420006,
0.052950382232666016,
0.0393439382314682,
-0.005184383597224951,
-0.005855484399944544,
0.02120884135365486,
0.025696508586406708,
-0.06614699214696884,
0.015942491590976715,
0.06594207882881165,
-0.01660846918821335,
-0.013411774300038815,
-0.03735624998807907,
0.037622641772031784,
-0.1108187586069107,
-0.06708960980176926,
-0.05909787490963936,
-0.040696386247873306,
0.044712744653224945,
0.03385217860341072,
0.04282751679420471,
0.02249981462955475,
0.031208759173750877
]
|
41,772 | wield.bunch.bunch | __contains__ | True if the dictionary has the specified key, else False. | def gen_func(mname):
def func(self, *args, **kwargs):
return getattr(self._mydict, mname)(*args, **kwargs)
orig_func = getattr(dict, mname)
if orig_func is None:
return
func.__name__ = orig_func.__name__
func.__doc__ = orig_func.__doc__
return func
| (self, *args, **kwargs) | [
0.04386318102478981,
-0.045720577239990234,
0.05843661352992058,
0.007014358416199684,
-0.03711225092411041,
-0.0005516942474059761,
-0.015350326895713806,
0.02673582173883915,
0.03932683914899826,
-0.021592257544398308,
-0.023538954555988312,
0.07951094210147858,
0.053114451467990875,
0.019556263461709023,
-0.02041352353990078,
-0.0006368063623085618,
0.017663145437836647,
0.03268307074904442,
-0.043005917221307755,
-0.021002890542149544,
0.026860838755965233,
0.008018961176276207,
0.04789945110678673,
-0.027360908687114716,
0.026289332658052444,
0.06654487550258636,
-0.009831709787249565,
0.030164865776896477,
0.046327803283929825,
-0.06975959986448288,
-0.06515182554721832,
-0.04357742518186569,
0.02887897379696369,
0.06811651587486267,
0.013921558856964111,
-0.05104273930191994,
-0.014314469881355762,
0.0413985550403595,
-0.13166098296642303,
-0.05829373747110367,
0.09587033838033676,
-0.003627731464803219,
0.01608256995677948,
-0.0020639002323150635,
0.019449105486273766,
-0.014064435847103596,
-0.009581675752997398,
0.0349869579076767,
0.025164177641272545,
-0.01772565394639969,
0.010796128772199154,
-0.021288644522428513,
0.032790228724479675,
0.01397513784468174,
0.005505221895873547,
0.049506813287734985,
-0.00826006568968296,
0.03595137596130371,
0.03634428605437279,
0.02537849359214306,
-0.05186428129673004,
-0.009510237723588943,
-0.030647074803709984,
-0.023628251627087593,
-0.007742136716842651,
-0.025432070717215538,
-0.042720165103673935,
-0.010376428253948689,
-0.03189724683761597,
0.00008197277929866686,
-0.00029189285123720765,
0.0052685821428895,
0.02612859569489956,
-0.0024891819339245558,
-0.0038599062245339155,
0.007701952941715717,
-0.07158128172159195,
-0.1008710265159607,
0.04600633308291435,
-0.001475649536587298,
-0.05843661352992058,
-0.07140268385410309,
-0.07008107006549835,
-0.03450474888086319,
-0.05543620139360428,
-0.02907543070614338,
0.01910977251827717,
-0.07451025396585464,
-0.0009108396479859948,
-0.025199897587299347,
-0.04868527129292488,
0.024842705577611923,
-0.021645836532115936,
0.01268924679607153,
-0.06975959986448288,
-0.07272429764270782,
0.037612318992614746,
0.04836379736661911,
0.03250447288155556,
0.033361732959747314,
0.03189724683761597,
-0.0022648207377642393,
-0.02691441774368286,
0.009331641718745232,
0.0467207171022892,
-0.04547054320573807,
-0.010858637280762196,
-0.029146868735551834,
-0.006112448405474424,
-0.0178685300052166,
-0.020145630463957787,
-0.04568485915660858,
-0.00016255027730949223,
0.01189449429512024,
0.034754782915115356,
-0.00017454969929531217,
-0.01205523032695055,
-0.0016107127303257585,
-0.01446627639234066,
0.002286028815433383,
-0.013376841321587563,
-0.017716724425554276,
-0.0034669949673116207,
-0.03589779883623123,
-0.011653389781713486,
-0.010215691290795803,
0.0422200970351696,
0.002569549949839711,
0.08058252185583115,
-0.01683267392218113,
0.015859326347708702,
0.0016207587905228138,
0.025449931621551514,
0.02846820279955864,
0.02766452170908451,
-0.003203565953299403,
0.012823193334043026,
0.01868114247918129,
0.026092877611517906,
0.07061686366796494,
-0.009626325219869614,
0.03782663494348526,
-0.028307467699050903,
0.028575360774993896,
0.0016709888586774468,
-0.04957825317978859,
0.01634153537452221,
0.06708066165447235,
-0.026271473616361618,
-0.043184515088796616,
-0.02194944955408573,
0.02870037779211998,
-0.013287543319165707,
0.017314882948994637,
-0.005290906876325607,
0.02209232561290264,
-0.004643496125936508,
0.009474517777562141,
-0.06015113368630409,
-0.040755607187747955,
0.03964831307530403,
0.05454321950674057,
-0.03961259499192238,
-0.07436737418174744,
0.0459706112742424,
-0.017886390909552574,
0.08193984627723694,
-0.05897240340709686,
0.01345720887184143,
0.03418327495455742,
-0.06290151178836823,
-0.01296607032418251,
0.015564641915261745,
0.021056469529867172,
0.08808355033397675,
0.045756299048662186,
-0.03207584470510483,
0.02518203668296337,
0.00838954746723175,
0.029325464740395546,
0.03259377181529999,
0.030968546867370605,
-0.05586482957005501,
0.003031667321920395,
0.002402116311714053,
0.007384944707155228,
0.011849844828248024,
0.035558465868234634,
-0.0063133686780929565,
0.019270509481430054,
-0.01859184354543686,
0.003627731464803219,
0.02855750173330307,
-0.014519855380058289,
0.0274859257042408,
-0.05089986324310303,
-0.050864141434431076,
0.0368979349732399,
0.05918671563267708,
0.07551039010286331,
0.006817902438342571,
0.027325188741087914,
-0.048435237258672714,
0.06207997351884842,
0.025217756628990173,
0.03521913290023804,
0.042863041162490845,
0.010662181302905083,
-0.05897240340709686,
-0.02771810069680214,
0.007000963669270277,
-0.03121858276426792,
0.016421902924776077,
0.04975684732198715,
0.006942919921129942,
-0.0009945564670488238,
0.05300729349255562,
0.029093289747834206,
-0.05440034344792366,
0.04643496125936508,
0.039684031158685684,
0.026646524667739868,
0.030914969742298126,
-0.020860014483332634,
0.06729497760534286,
-0.03964831307530403,
0.0018674444872885942,
-0.05907955765724182,
-0.025807123631238937,
-0.012885701842606068,
0.029379043728113174,
-0.021842291578650475,
0.02948620170354843,
-0.025289194658398628,
-0.0077555314637720585,
-0.019913455471396446,
0.02327105961740017,
-0.018788300454616547,
0.02059211954474449,
0.010046025738120079,
0.006840227171778679,
0.10158541053533554,
0.033593907952308655,
0.05532904341816902,
0.01334112137556076,
0.003087478457018733,
0.016725515946745872,
0.06804507970809937,
-0.03843386098742485,
0.04007694497704506,
0.027093013748526573,
-0.01491276640444994,
-0.019395526498556137,
0.054186027497053146,
-0.03161149471998215,
0.06536614149808884,
-0.04004122316837311,
-0.003799630096182227,
-0.00022896566952113062,
-0.0003217518678866327,
0.018931176513433456,
-0.017966758459806442,
-0.05150708928704262,
-0.0021174789872020483,
0.03350461274385452,
-0.03364748880267143,
0.004862276371568441,
-0.004007247742265463,
-0.04732794314622879,
-0.004462667740881443,
0.059472471475601196,
0.028218168765306473,
-0.0010754828108474612,
-0.025735685601830482,
-0.013439349830150604,
-0.023771129548549652,
0.009358431212604046,
-0.03446903079748154,
-0.026628665626049042,
-0.030736373737454414,
0.026378629729151726,
-0.00952809676527977,
-0.0029825533274561167,
0.03605853393673897,
-0.02157439850270748,
0.02194944955408573,
-0.007014358416199684,
0.006469640415161848,
0.05529332533478737,
-0.027307329699397087,
0.0316472128033638,
-0.013394700363278389,
-0.008233276195824146,
0.02569996565580368,
0.012090949341654778,
-0.04054129496216774,
-0.011599810793995857,
-0.020395664498209953,
-0.0369693748652935,
0.024235477671027184,
0.02569996565580368,
0.010465726256370544,
-0.027128733694553375,
0.008862826973199844,
-0.025967858731746674,
0.006817902438342571,
-0.008202021941542625,
-0.03384394198656082,
-0.04232725501060486,
0.011296197772026062,
-0.032558053731918335,
0.04389889910817146,
-0.08629759401082993,
-0.011037233285605907,
0.015511062927544117,
0.05575767531991005,
0.013403630815446377,
0.028361046686768532,
0.06858086585998535,
0.07593902200460434,
0.0021654765587300062,
-0.0116801792755723,
-0.01636832393705845,
-0.02050282247364521,
0.028450343757867813,
-0.05465037748217583,
-0.042434412986040115,
-0.045291949063539505,
0.013225034810602665,
-0.026807261630892754,
-0.04939965531229973,
-0.033129557967185974,
0.02884325571358204,
0.00997458677738905,
-0.026021437719464302,
0.02612859569489956,
0.01088542677462101,
0.027039434760808945,
-0.04397033900022507,
-0.04461328312754631,
0.0482209213078022,
-0.015573571436107159,
-0.03896964713931084,
0.006456245668232441,
-0.023181762546300888,
0.04472044110298157,
-0.004603311885148287,
-0.007862688973546028,
0.06375877559185028,
-0.044077493250370026,
0.01268924679607153,
-0.05225719138979912,
0.02035994455218315,
0.02650364674627781,
0.04539910703897476,
0.04025553911924362,
0.033826082944869995,
-0.028396764770150185,
-0.05014975741505623,
-0.03462976589798927,
0.033772505819797516,
-0.017707794904708862,
-0.00745638320222497,
-0.02584284171462059,
0.0482209213078022,
0.010251411236822605,
0.002728054067119956,
0.014260890893638134,
0.037612318992614746,
-0.03161149471998215,
0.008728879503905773,
-0.006862551439553499,
0.005996360909193754,
0.017850670963525772,
-0.03882677108049393,
-0.031075704842805862,
0.02055639959871769,
-0.005924922414124012,
-0.028218168765306473,
0.0003577501338440925,
0.013260753825306892,
-0.013778681866824627,
0.06608052551746368,
0.02823602966964245,
0.03525485098361969,
-0.022949587553739548,
0.02327105961740017,
0.039862629026174545,
0.0006747580482624471,
-0.048613835126161575,
-0.020020611584186554,
-0.012314194813370705,
-0.0167433749884367,
0.030504198744893074,
0.012680316343903542,
-0.06958100199699402,
-0.026575086638331413,
-0.040148381143808365,
-0.04847095534205437,
-0.026753682643175125,
0.011305127292871475,
-0.003574152709916234,
-0.009679903276264668,
-0.00768855819478631,
-0.0068000429309904575,
-0.03212942183017731,
-0.021824432536959648,
0.04682787507772446,
0.03211156278848648,
0.03796951100230217,
-0.014546644873917103,
0.017966758459806442,
-0.07965382188558578,
-0.06468747556209564,
0.02228878252208233,
0.019127631559967995,
0.017654215916991234,
-0.028593221679329872,
-0.039684031158685684,
0.011921283788979053,
0.031147142872214317,
0.026932278648018837,
0.04504191502928734,
0.02027064748108387,
-0.016680866479873657,
-0.012564228847622871,
-0.011742687784135342,
0.012635667808353901,
-0.03843386098742485,
0.05111417919397354,
-0.03889821097254753,
-0.028289606794714928,
0.018877597525715828,
-0.016439761966466904,
0.0384695790708065,
-0.06708066165447235,
-0.04232725501060486,
-0.03034346178174019,
-0.00985849928110838,
0.026557225733995438,
0.02823602966964245,
-0.022449517622590065,
-0.0022536583710461855,
-0.04839951917529106,
-0.0383981429040432,
-0.02555708959698677,
0.009822780266404152,
0.008715485222637653,
0.061258431524038315,
-0.04518479108810425,
0.04011266306042671,
0.08315429836511612,
0.007130445446819067,
-0.03718368709087372,
0.10680041462182999,
-0.004056361969560385,
-0.0211100485175848,
-0.059472471475601196,
-0.0012244988465681672,
0.033022403717041016,
-0.04647068306803703,
0.01914549246430397,
0.009028027765452862,
0.016886252909898758,
-0.03582635894417763,
0.09022670239210129,
0.01205523032695055,
0.019413385540246964,
-0.02532491460442543,
-0.0274859257042408,
0.019591981545090675,
-0.01423410139977932,
-0.02243165858089924,
-0.0263964906334877,
0.001537041855044663,
0.0068714814260602,
-0.06368733942508698,
0.04786372929811478,
0.0038599062245339155,
0.010590743273496628,
0.026628665626049042,
-0.034576188772916794,
0.04186290502548218,
0.0398983471095562,
-0.015859326347708702,
0.02795027568936348,
0.01465380284935236,
-0.03786235302686691,
-0.01749347895383835,
-0.008911941200494766,
-0.054757535457611084,
0.0640445277094841,
0.08193984627723694,
-0.015109222382307053,
-0.0331474207341671,
0.009492377750575542,
0.04043413698673248,
0.03507625684142113,
-0.01413587387651205,
-0.052971575409173965,
-0.03455832600593567,
0.009956727735698223,
-0.07247426360845566,
0.04479187726974487,
-0.01217131782323122,
0.013483998365700245,
-0.01914549246430397,
0.012028440833091736,
-0.033772505819797516,
-0.0293611828237772,
-0.006112448405474424,
-0.03886249288916588,
-0.05168568342924118,
0.025217756628990173,
0.00022310548229143023,
-0.04600633308291435,
-0.022645974531769753,
-0.006433921400457621,
-0.0768677219748497,
-0.01318038534373045,
0.04504191502928734,
-0.005246257875114679,
-0.04500619322061539,
0.0014566737227141857,
-0.02921830676496029,
0.019074054434895515,
0.029879111796617508,
0.021592257544398308,
0.040005505084991455,
0.05375739932060242,
0.015055643394589424,
-0.01579681597650051,
0.005898133385926485,
0.04157714918255806,
-0.03718368709087372,
0.03211156278848648,
-0.04554198309779167,
-0.03882677108049393,
-0.042720165103673935,
0.04764941334724426,
0.014314469881355762,
0.008862826973199844,
0.018323950469493866,
0.006322298664599657,
0.023485375568270683,
-0.006916130427271128,
-0.020574260503053665,
-0.0331474207341671,
0.006643771659582853,
-0.052542947232723236,
-0.006009755656123161,
0.007974311709403992,
-0.03825526311993599,
-0.024146180599927902,
-0.0009192113066092134,
-0.00791180320084095,
0.01537711638957262,
-0.037469442933797836,
-0.03337959572672844,
0.00029579963302239776,
-0.015314607881009579,
0.06290151178836823,
0.08379724621772766,
0.010081744752824306,
-0.06529469788074493,
0.06422312557697296,
-0.006148167420178652,
0.04661355912685394,
-0.04100564494729042,
-0.034058257937431335,
-0.0018027034820988774,
-0.02330677956342697,
0.0714741200208664,
0.004109940491616726,
-0.03721940889954567,
0.05750791355967522,
0.05772222951054573,
-0.03861245512962341,
-0.006090123672038317,
-0.030361320823431015,
-0.03896964713931084,
0.007099191192537546,
-0.03768375888466835,
0.031075704842805862,
-0.07111693173646927,
-0.028682518750429153,
-0.02093145251274109,
0.04547054320573807,
0.02393186464905739,
-0.004786373116075993,
-0.05986538156867027,
-0.03173651173710823,
-0.07429593801498413,
-0.0015225309180095792,
0.024503372609615326,
0.0033442103303968906,
-0.006255325395613909,
0.039112526923418045,
-0.027735959738492966,
-0.02139580249786377,
-0.073938749730587,
0.0072420681826770306,
-0.022020887583494186,
0.03445117175579071,
-0.008353828452527523,
0.02214590460062027,
-0.006536613684147596,
-0.021413661539554596,
0.02125292457640171,
0.031165003776550293,
-0.035272710025310516,
-0.03936256095767021,
0.034004680812358856,
0.06722353398799896,
0.03825526311993599,
-0.009795990772545338,
-0.03843386098742485,
0.012930351309478283,
0.0497211292386055,
-0.026860838755965233,
-0.03536200895905495,
-0.01238563284277916,
-0.011260478757321835,
-0.002491414314135909,
0.011537302285432816,
-0.036165691912174225,
0.052364349365234375,
0.0026767076924443245,
0.025360632687807083,
0.014939555898308754,
-0.08179697394371033,
0.005366810131818056,
0.03398682177066803,
-0.09722767025232315,
0.04282732307910919,
0.02771810069680214,
0.01502885390073061,
0.030879249796271324,
-0.04804232716560364,
-0.028807535767555237,
0.0029446016997098923,
0.025074878707528114,
-0.005143565125763416,
-0.030789950862526894,
-0.028593221679329872,
0.04629208520054817,
0.006898270919919014,
-0.028575360774993896,
0.07443881779909134,
-0.04568485915660858,
-0.020234927535057068,
0.004007247742265463,
-0.006090123672038317,
0.07493888586759567,
0.0782964900135994,
-0.05529332533478737,
-0.035326290875673294,
-0.06775932759046555,
0.033772505819797516,
-0.030700653791427612,
-0.020467102527618408,
-0.07290288805961609,
-0.025164177641272545,
-0.04807804524898529,
-0.03241517394781113,
0.003279469208791852,
-0.03343317285180092,
-0.04100564494729042,
0.009706692770123482,
-0.046184927225112915,
0.05397171527147293,
0.04229153320193291,
0.013680454343557358,
-0.09458444267511368,
-0.022020887583494186,
0.006353552918881178,
0.07108121365308762,
0.010063884779810905,
0.020752856507897377,
0.01666300743818283,
0.007099191192537546,
0.05089986324310303,
-0.011805196292698383,
0.05843661352992058,
-0.012626737356185913,
-0.013680454343557358,
0.01760956645011902,
-0.012867842800915241,
-0.016037922352552414,
0.012028440833091736,
0.006804507691413164,
-0.039862629026174545,
0.009912078268826008,
0.010412147268652916,
-0.04714934527873993,
0.032754506915807724,
-0.00850563496351242,
-0.032790228724479675,
0.0021386872977018356,
0.026557225733995438,
-0.019591981545090675,
0.026842979714274406,
0.005554335657507181,
-0.018377529457211494,
0.003357604844495654,
-0.042863041162490845,
0.03028988279402256,
-0.019038334488868713,
0.024414073675870895,
-0.027164453640580177,
-0.0026052691973745823,
0.009956727735698223,
0.056436337530612946,
0.04414893314242363,
0.04432753100991249,
-0.06525897979736328,
-0.060329731553792953,
0.0640445277094841,
0.02812887169420719,
-0.014082294888794422,
0.030218444764614105,
-0.01549320388585329,
0.003310723463073373,
-0.012215967290103436,
-0.002661080565303564,
-0.008527959696948528,
-0.046506401151418686,
-0.036219269037246704,
-0.021878011524677277,
0.015430695377290249,
0.010340709239244461,
-0.021360082551836967,
-0.01891331747174263,
-0.008827107958495617,
-0.004661355633288622,
-0.03259377181529999,
0.015564641915261745,
0.014118014834821224,
-0.016850532963871956,
0.03327243775129318,
-0.09587033838033676,
0.08758348226547241,
-0.013367910869419575,
0.08672621846199036,
0.07065258175134659,
0.008282389491796494,
0.032700929790735245,
0.03605853393673897,
0.036308567970991135,
0.06340157985687256,
0.042255815118551254,
0.05043551325798035,
-0.032700929790735245,
0.01657371036708355,
0.02041352353990078,
-0.02584284171462059,
-0.020609978586435318,
-0.0009108396479859948,
0.022592395544052124,
-0.008885151706635952,
-0.034344013780355453,
0.025021301582455635,
-0.01296607032418251,
-0.039076805114746094,
0.01479667890816927,
-0.021467240527272224,
0.032700929790735245,
0.034754782915115356
]
|
41,773 | wield.bunch.bunch | __deepcopy__ | null | def __deepcopy__(self, memo):
return self.__class__(copy.deepcopy(self._mydict, memo))
| (self, memo) | [
-0.001074827159754932,
-0.016836633905768394,
0.028212739154696465,
0.01803005114197731,
-0.0985642820596695,
-0.00010846203076653183,
-0.04234486445784569,
0.024331985041499138,
0.04842356592416763,
-0.024194613099098206,
-0.019317911937832832,
0.06401526927947998,
-0.00539613701403141,
0.06332840770483017,
-0.019317911937832832,
0.004786549601703882,
0.03162986412644386,
0.0272683072835207,
-0.04612258821725845,
0.006181732285767794,
0.04268829524517059,
0.020107800140976906,
0.031011689454317093,
0.05288815125823021,
-0.02331886626780033,
-0.024040069431066513,
0.002874076133593917,
0.0044731697998940945,
0.043890297412872314,
0.028384452685713768,
-0.036918677389621735,
-0.027440020814538002,
0.0034772243816405535,
0.06442738324403763,
0.016836633905768394,
-0.05656284838914871,
-0.01804722286760807,
0.05463964119553566,
-0.04996900260448456,
-0.010036729276180267,
0.011530647054314613,
-0.008319580927491188,
-0.04207012057304382,
-0.017703793942928314,
0.04364989697933197,
0.003007155144587159,
0.003309802385047078,
0.03678130730986595,
0.0040031005628407,
-0.09643501788377762,
-0.01979871466755867,
0.028676368296146393,
-0.0035029815044254065,
0.029483428224921227,
0.029380397871136665,
0.01861388236284256,
0.01924922689795494,
0.007808729540556669,
-0.026341047137975693,
0.03777725249528885,
-0.10405915975570679,
-0.042722638696432114,
0.019970428198575974,
-0.036437876522541046,
-0.023078465834259987,
-0.03973479941487312,
-0.09327546507120132,
-0.027714764699339867,
0.046809449791908264,
-0.032385408878326416,
-0.02553398720920086,
-0.007469593081623316,
0.03087431751191616,
0.034033868461847305,
-0.023696638643741608,
0.005228715017437935,
0.009495827369391918,
-0.05800525099039078,
0.03963177278637886,
-0.025413786992430687,
-0.08750585466623306,
-0.0315268337726593,
-0.09732794016599655,
0.009384213015437126,
-0.05999714508652687,
0.02798950858414173,
0.02266635000705719,
-0.03384498134255409,
0.029363228008151054,
0.020210828632116318,
-0.015179586596786976,
0.04492058604955673,
-0.02448652684688568,
-0.003895779140293598,
0.00804054457694292,
-0.017703793942928314,
-0.004460291471332312,
0.03190460428595543,
-0.03372478112578392,
0.04172668978571892,
-0.02268352173268795,
-0.008791796863079071,
-0.07060911506414413,
0.022237064316868782,
-0.004786549601703882,
-0.01909468322992325,
0.0023031244054436684,
-0.043958984315395355,
-0.02733699232339859,
0.00348581001162529,
-0.048595283180475235,
0.04873265326023102,
-0.03904794156551361,
0.03963177278637886,
0.02443501353263855,
0.039322685450315475,
-0.059585027396678925,
-0.03901359811425209,
0.029414741322398186,
0.016587648540735245,
-0.010818030685186386,
0.008684474974870682,
-0.0016817316645756364,
0.03162986412644386,
-0.0017493442865088582,
0.013239209540188313,
0.037433821707963943,
-0.009581685066223145,
-0.014904842711985111,
-0.005876938346773386,
-0.01606391742825508,
-0.01979871466755867,
-0.0012685429537668824,
0.05450227111577988,
0.035201530903577805,
-0.0018330552848055959,
-0.003945147152990103,
-0.010405915789306164,
-0.007452421355992556,
0.05226998031139374,
0.01986739970743656,
0.01510231476277113,
0.047393277287483215,
0.046328648924827576,
0.02038254402577877,
-0.049762941896915436,
-0.04018125683069229,
0.07919485867023468,
-0.018510853871703148,
0.015394230373203754,
-0.012217506766319275,
0.020571431145071983,
0.015059386380016804,
0.07692822068929672,
-0.05426187068223953,
0.047942765057086945,
-0.04007823020219803,
-0.002190436702221632,
-0.03942571207880974,
-0.02029668726027012,
-0.007645600475370884,
0.0238511823117733,
0.041074175387620926,
-0.07644741982221603,
-0.0067827338352799416,
0.007928930222988129,
0.06830813735723495,
-0.08310995250940323,
-0.007469593081623316,
0.01566038839519024,
-0.05632244795560837,
-0.05621941760182381,
0.03154400363564491,
0.02161889150738716,
-0.020004771649837494,
0.02321583777666092,
-0.022374436259269714,
-0.031612690538167953,
-0.008886239491403103,
0.023610781878232956,
-0.016905320808291435,
-0.023645125329494476,
-0.03729645162820816,
0.01620987430214882,
0.03296923637390137,
-0.048045795410871506,
0.012140234932303429,
0.0373651348054409,
0.047977108508348465,
0.06734653562307358,
-0.03331266716122627,
0.010955402627587318,
0.04900739714503288,
-0.04433675482869148,
0.019541142508387566,
-0.05014071613550186,
-0.034583356231451035,
0.021687576547265053,
-0.010534701868891716,
0.10337229818105698,
-0.05409015715122223,
-0.013058909215033054,
0.024211782962083817,
-0.0428600087761879,
0.014321012422442436,
0.030067257583141327,
-0.04993465915322304,
-0.018974483013153076,
0.025310758501291275,
0.030565230175852776,
-0.01576341688632965,
-0.015514430589973927,
0.03963177278637886,
-0.01044025830924511,
0.018150251358747482,
-0.0592072568833828,
-0.014441212639212608,
-0.012311949394643307,
-0.008937754668295383,
0.010105414316058159,
0.04996900260448456,
-0.03029048629105091,
-0.07431815564632416,
0.003062962321564555,
-0.011170046404004097,
-0.020829003304243088,
-0.029431913048028946,
-0.03616313263773918,
-0.0022172671742737293,
-0.03623181954026222,
-0.006027188617736101,
-0.02783496491611004,
0.05642547830939293,
-0.024160269647836685,
0.09581684321165085,
-0.00858144648373127,
-0.050243742763996124,
-0.04646601900458336,
0.026341047137975693,
0.029208684340119362,
0.006284760776907206,
0.03393084183335304,
0.051480092108249664,
0.04526401683688164,
0.014072026126086712,
0.015351301059126854,
0.005748152267187834,
0.03568233177065849,
0.03654090687632561,
0.022340092808008194,
0.009023611433804035,
0.013479609973728657,
-0.03372478112578392,
0.01797853782773018,
0.03674696385860443,
-0.006928691174834967,
-0.018751254305243492,
-0.021275460720062256,
0.013591224327683449,
0.0021636062301695347,
0.07026568800210953,
0.02495015785098076,
0.016355833038687706,
-0.016467446461319923,
-0.05518912896513939,
-0.0007931076106615365,
0.010062485933303833,
-0.008705939166247845,
-0.05302552506327629,
0.05247603729367256,
0.07747770845890045,
0.01393465418368578,
0.031732890754938126,
0.042825665324926376,
-0.04821750894188881,
-0.01914619840681553,
0.01391748245805502,
0.01868256740272045,
-0.06051228940486908,
-0.016132604330778122,
0.024280469864606857,
-0.0018942286260426044,
0.0512053482234478,
-0.03959742933511734,
-0.03322681039571762,
-0.010534701868891716,
-0.012930123135447502,
0.02623801864683628,
0.013994754292070866,
-0.009160983376204967,
0.06006582826375961,
0.005962795577943325,
0.01914619840681553,
0.020640116184949875,
0.04138326272368431,
-0.00465776352211833,
-0.05223563686013222,
0.005211543757468462,
-0.013737182132899761,
0.06683139503002167,
-0.00623753946274519,
-0.027508707717061043,
-0.024589557200670242,
0.050930604338645935,
0.005937038455158472,
0.012432149611413479,
0.010895302519202232,
0.012320535257458687,
0.03322681039571762,
0.06573241949081421,
0.007139042019844055,
0.032299548387527466,
-0.012217506766319275,
0.10234200954437256,
-0.036300502717494965,
-0.08750585466623306,
0.009221083484590054,
-0.03849845379590988,
0.029414741322398186,
0.0451953299343586,
-0.06686573475599289,
-0.02623801864683628,
-0.046225618571043015,
-0.049728598445653915,
0.014836156740784645,
-0.04938517138361931,
0.012080134823918343,
0.026564275845885277,
0.03660959005355835,
0.00654233293607831,
0.015969473868608475,
-0.004164083395153284,
0.009221083484590054,
0.04948819801211357,
-0.007495350204408169,
0.01633007638156414,
0.009418555535376072,
-0.019987599924206734,
-0.024091582745313644,
-0.06442738324403763,
0.05515478551387787,
0.006435011513531208,
-0.015282615087926388,
-0.08159886300563812,
0.04358121007680893,
0.004404484294354916,
-0.0031616983469575644,
0.026993563398718834,
-0.002702361438423395,
-0.00385928968898952,
-0.007224899251013994,
-0.005108514800667763,
0.0348581001162529,
0.03187026455998421,
0.05601336061954498,
0.02495015785098076,
0.020622944459319115,
-0.02908848412334919,
-0.04646601900458336,
-0.06676270812749863,
0.03156117722392082,
0.01456141285598278,
-0.03425709903240204,
-0.028727883473038673,
0.0732191801071167,
0.02275220863521099,
-0.04763368144631386,
-0.04588218778371811,
-0.0026122110430151224,
-0.06219509243965149,
-0.0009959457674995065,
-0.030479373410344124,
-0.02094920352101326,
-0.0013468877878040075,
0.018871454522013664,
-0.04224183410406113,
-0.061336517333984375,
0.04014691710472107,
-0.027508707717061043,
0.036300502717494965,
0.05168614909052849,
-0.01308466587215662,
-0.018819939345121384,
0.020571431145071983,
0.015325544402003288,
-0.001129024662077427,
0.056768905371427536,
-0.006619604770094156,
0.09588553011417389,
0.03678130730986595,
-0.03623181954026222,
-0.02388552576303482,
-0.009521584957838058,
0.0545366145670414,
0.005829716566950083,
-0.003556642448529601,
0.01362556777894497,
-0.0101311719045043,
-0.0560477040708065,
-0.03035917319357395,
0.059104226529598236,
-0.04227617755532265,
-0.004601955879479647,
-0.007628429215401411,
-0.0068041980266571045,
-0.007516814395785332,
-0.01594371721148491,
0.032230865210294724,
0.021223947405815125,
-0.010972574353218079,
0.0021614597644656897,
-0.03588838875293732,
-0.007782972417771816,
-0.032831866294145584,
0.023988554254174232,
-0.07102122902870178,
0.04965991526842117,
-0.06185166537761688,
0.017454806715250015,
0.03205914795398712,
0.050381116569042206,
-0.002968519227579236,
-0.0383610799908638,
-0.008542810566723347,
-0.00656809052452445,
0.0072463639080524445,
-0.04938517138361931,
0.014655856415629387,
-0.01602957397699356,
-0.01279275119304657,
0.01866539567708969,
-0.005683759227395058,
0.035201530903577805,
-0.0042005726136267185,
0.013385167345404625,
-0.04773670807480812,
0.0007212020573206246,
-0.03298640996217728,
-0.0027925116010010242,
0.07287575304508209,
-0.0017235870473086834,
-0.025173386558890343,
0.04921345412731171,
-0.022820893675088882,
0.031612690538167953,
0.025293586775660515,
0.02036537230014801,
0.002627236070111394,
0.0010775101836770773,
-0.0192663986235857,
0.04498927295207977,
0.03729645162820816,
0.009032197296619415,
-0.01341950986534357,
-0.014432626776397228,
-0.020605772733688354,
-0.0852392166852951,
-0.027680423110723495,
0.004434534348547459,
0.05697496235370636,
0.008383974432945251,
-0.007220606319606304,
0.06490818411111832,
0.028350109234452248,
-0.03842976689338684,
-0.0371934212744236,
0.009075125679373741,
0.02738850750029087,
0.010517530143260956,
-0.03448032587766647,
0.03425709903240204,
-0.012028620578348637,
-0.012294778600335121,
-0.08565133064985275,
-0.005177200771868229,
-0.01048318762332201,
0.0078387800604105,
-0.04145194590091705,
-0.020554259419441223,
-0.01196852046996355,
-0.005791081115603447,
-0.019541142508387566,
0.038738854229450226,
-0.012586693279445171,
-0.018957311287522316,
-0.007697115186601877,
0.0026465540286153555,
-0.014767470769584179,
0.007452421355992556,
0.05591033399105072,
-0.07136466354131699,
0.02448652684688568,
-0.06902933865785599,
0.04179537668824196,
0.00612592464312911,
0.002633675467222929,
-0.015952302142977715,
0.04756499454379082,
0.022838065400719643,
-0.07315049320459366,
-0.029311712831258774,
-0.011504890397191048,
-0.0005961722345091403,
0.06095874682068825,
-0.055086102336645126,
0.03671262040734291,
-0.0272683072835207,
0.019970428198575974,
-0.0202623438090086,
-0.03276317939162254,
0.02220272086560726,
-0.01566038839519024,
-0.023662297055125237,
0.006821369752287865,
0.0012245409889146686,
-0.033982355147600174,
-0.07266969233751297,
-0.01914619840681553,
-0.018390653654932976,
-0.08393418043851852,
0.04079943150281906,
0.07095254957675934,
0.05017505958676338,
-0.06212640553712845,
-0.02498450130224228,
0.007448128424584866,
0.021653233096003532,
0.013316481374204159,
0.03530455753207207,
-0.013582639396190643,
-0.002629382535815239,
-0.03654090687632561,
0.010397329926490784,
0.03901359811425209,
0.023713810369372368,
-0.010869545862078667,
-0.012020034715533257,
-0.03374195471405983,
-0.03959742933511734,
0.008663010783493519,
0.015514430589973927,
-0.036884333938360214,
0.06772430986166,
-0.04907608404755592,
-0.035235874354839325,
0.0883987694978714,
-0.012870023027062416,
-0.01799570955336094,
-0.07507370412349701,
-0.018802767619490623,
-0.015231100842356682,
-0.0268561914563179,
0.002663725521415472,
-0.024623898789286613,
-0.018356310203671455,
-0.012011448852717876,
0.01930074207484722,
-0.0395287424325943,
0.06782733649015427,
0.007903172634541988,
0.04732459411025047,
-0.0018448606133460999,
0.03557930141687393,
-0.018837111070752144,
-0.04931648448109627,
0.01249225065112114,
-0.028676368296146393,
0.09986931830644608,
-0.034686386585235596,
0.014063440263271332,
0.03262580931186676,
0.04938517138361931,
0.008242309093475342,
0.016038160771131516,
0.027010735124349594,
0.04660339280962944,
-0.00623753946274519,
-0.005889817140996456,
0.02733699232339859,
-0.04090246185660362,
-0.014527070336043835,
0.03293489292263985,
-0.005859766621142626,
-0.006456475704908371,
-0.04783973842859268,
0.016484618186950684,
-0.038704510778188705,
0.03829239681363106,
-0.002358931815251708,
-0.032952066510915756,
-0.0013608395820483565,
0.08276652544736862,
-0.05117100477218628,
-0.026907706633210182,
-0.01664774864912033,
-0.0029170047491788864,
-0.025396615266799927,
-0.00015306762361433357,
-0.016450276598334312,
0.023490581661462784,
-0.023044124245643616,
0.023473409935832024,
-0.0068342480808496475,
0.035201530903577805,
-0.029964229092001915,
0.019386598840355873,
-0.0256026741117239,
0.008315288461744785,
0.03901359811425209,
0.016287146136164665,
-0.04028428718447685,
-0.011024088598787785,
0.06744956225156784,
-0.02798950858414173,
-0.004000954329967499,
-0.031200574710965157,
-0.04121154546737671,
-0.015917960554361343,
-0.06830813735723495,
0.004898163955658674,
-0.0455387607216835,
-0.004911042749881744,
-0.00927259773015976,
0.038635823875665665,
-0.06466778367757797,
-0.029260197654366493,
-0.002627236070111394,
0.017042692750692368,
-0.019592655822634697,
0.024709757417440414,
-0.04704985022544861,
0.02337038144469261,
-0.008044837042689323,
0.014879086054861546,
0.02211686410009861,
0.04722156375646591,
0.03274600952863693,
0.012397807091474533,
-0.0009637491893954575,
0.04323778301477432,
-0.023147152736783028,
-0.01638158969581127,
-0.00001249292108695954,
-0.009212497621774673,
-0.11635393649339676,
-0.050346773117780685,
0.027594564482569695,
-0.0058168382383883,
0.011006917804479599,
-0.04014691710472107,
-0.042207494378089905,
-0.003449320560321212,
0.015840688720345497,
0.03327832370996475,
0.03442881256341934,
-0.008396852761507034,
0.025860246270895004,
0.018871454522013664,
0.04900739714503288,
-0.0000615758472122252,
-0.016922490671277046,
-0.018150251358747482,
-0.049762941896915436,
-0.06044360250234604,
0.09794610738754272,
0.0513770617544651,
-0.034068211913108826,
-0.015772001817822456,
0.018201766535639763,
0.015480087138712406,
-0.037571195513010025,
0.0008526712190359831,
-0.04492058604955673,
-0.010715002194046974,
-0.03278035297989845,
-0.034136898815631866,
-0.015565944835543633,
0.0607183463871479,
0.02450369857251644,
0.006666826084256172,
0.027457192540168762,
0.06748390942811966,
-0.006005724426358938,
0.031801577657461166,
-0.034583356231451035,
0.10783687978982925,
0.013170523568987846,
0.010723588056862354,
-0.05632244795560837,
-0.03025614470243454,
0.01110136043280363,
-0.06676270812749863,
0.043924640864133835,
0.04873265326023102,
-0.015488673001527786,
0.04028428718447685,
-0.055532559752464294,
-0.08084331452846527,
0.03798330947756767,
-0.016991177573800087,
0.007641307543963194,
0.04371858388185501,
0.01624421775341034,
0.005267350934445858,
0.024177441373467445,
-0.02031385898590088,
-0.02089768834412098,
0.008843311108648777,
0.008684474974870682,
0.030376344919204712,
0.008684474974870682,
0.07857668399810791,
0.04962557181715965,
0.006349153816699982,
0.020519915968179703,
-0.02386835403740406,
0.019077511504292488,
-0.06724350899457932,
-0.010259957984089851,
-0.025963274762034416,
0.014217983931303024,
-0.027165278792381287,
0.03887622430920601,
0.03612878918647766,
0.00963319931179285,
0.032952066510915756,
0.002728118561208248,
-0.05522347241640091,
-0.03034200146794319,
-0.00783019419759512,
0.0067784409038722515,
0.0030200337059795856,
0.011118532158434391,
0.005937038455158472,
-0.0015239686472341418,
-0.035235874354839325,
-0.006894348189234734,
0.03568233177065849,
0.009229669347405434,
0.06483949720859528,
-0.06102743372321129,
0.012020034715533257,
0.013797282241284847,
0.10199858248233795,
-0.03856714069843292,
-0.02623801864683628,
0.02438349835574627,
0.04255092144012451,
-0.003487956477329135,
-0.0381893664598465,
0.027079420164227486,
0.01686239056289196,
0.009796327911317348,
0.05305986851453781,
0.06095874682068825,
0.0040846653282642365,
-0.024761270731687546,
-0.04423372820019722,
0.034617699682712555,
-0.00857286062091589,
-0.01813308149576187,
-0.059550683945417404,
-0.02333603799343109,
0.02495015785098076,
-0.015514430589973927,
0.0013586932327598333,
0.07033437490463257,
0.001975793158635497
]
|
41,774 | wield.bunch.bunch | __delattr__ | null | def __delattr__(self, key):
del self._mydict[key]
| (self, key) | [
0.0713537186384201,
0.026166457682847977,
0.006931455340236425,
0.0038384327199310064,
-0.0555887296795845,
-0.0380416102707386,
-0.0528469942510128,
0.0528469942510128,
0.0546976663172245,
0.012534881941974163,
-0.0466095395386219,
0.01950060948729515,
0.04150305315852165,
0.0370134562253952,
-0.031341489404439926,
-0.0066058742813766,
-0.026200730353593826,
0.0274173766374588,
0.005140758119523525,
-0.0573708601295948,
0.013614441268146038,
0.02443573623895645,
0.021505504846572876,
0.021334145218133926,
-0.012132189236581326,
0.015328027307987213,
0.01977478340268135,
-0.00007517019548686221,
0.0719020664691925,
-0.010444306768476963,
-0.05274417623877525,
-0.0135201932862401,
-0.010033045895397663,
0.026474904268980026,
-0.0290966909378767,
-0.0319412425160408,
0.011223988607525826,
0.005320684518665075,
-0.0520930141210556,
0.028188489377498627,
0.0282741691917181,
0.0377674363553524,
0.0250868983566761,
-0.03478579595685005,
0.0654589831829071,
0.0422913022339344,
-0.024864133447408676,
0.04842593893408775,
-0.03197551518678665,
-0.009501834399998188,
0.008011014200747013,
0.011746631935238838,
0.015610768459737301,
0.0363965667784214,
0.00419828575104475,
0.0390012189745903,
0.006091798190027475,
0.0370134562253952,
-0.019723374396562576,
0.0223794337362051,
-0.0481860376894474,
0.014916766434907913,
-0.05384087190032005,
-0.0695715919137001,
0.019757647067308426,
-0.0703941136598587,
-0.011155445128679276,
0.0282741691917181,
0.006657281890511513,
-0.06103793531656265,
-0.0346829816699028,
-0.011429619044065475,
0.026697669178247452,
0.04499876871705055,
0.002720317803323269,
-0.02402447536587715,
-0.0064687873236835,
-0.01716156303882599,
0.03663646802306175,
-0.025446752086281776,
-0.0190208051353693,
-0.03043328784406185,
-0.04191431403160095,
0.006794368382543325,
-0.011875150725245476,
0.028188489377498627,
0.0884210392832756,
-0.0240930188447237,
-0.01023010816425085,
0.06789227575063705,
-0.0407833456993103,
0.04191431403160095,
-0.03339779004454613,
0.0015368724707514048,
-0.0008069918840192258,
0.001135250786319375,
0.0339975468814373,
0.03649938106536865,
0.01750428043305874,
-0.03526559844613075,
0.05627416446805,
-0.03622520714998245,
-0.01336597092449665,
0.0274516474455595,
-0.02244797721505165,
0.0007582618272863328,
-0.0005601284210570157,
-0.061483465135097504,
-0.03999509662389755,
0.0366707406938076,
-0.02635495364665985,
0.020751526579260826,
-0.0004069766728207469,
0.05493756756186485,
0.0447588674724102,
0.017290083691477776,
-0.0673782005906105,
-0.01963769644498825,
0.015944918617606163,
-0.006228885147720575,
-0.028154218569397926,
0.01758139207959175,
-0.0674467459321022,
0.0253268014639616,
0.0023111992049962282,
0.012380658648908138,
0.02203671634197235,
0.04020072892308235,
0.021402688696980476,
0.0434565395116806,
-0.02402447536587715,
0.002300489228218794,
0.0024354341439902782,
0.016082005575299263,
0.028325576335191727,
-0.0027652995195239782,
0.008782127872109413,
-0.019380657002329826,
0.0296450387686491,
0.0397551953792572,
-0.000004271414127288153,
0.03759607672691345,
0.026611991226673126,
0.0520244725048542,
0.03533414378762245,
-0.019723374396562576,
-0.0732043981552124,
0.03327783942222595,
-0.06288860738277435,
-0.0341346338391304,
-0.062305986881256104,
0.03314075246453285,
0.015739288181066513,
-0.0352998711168766,
-0.004686657804995775,
0.01963769644498825,
-0.0753292441368103,
0.02943940833210945,
-0.0733414813876152,
-0.0359167642891407,
0.010033045895397663,
0.02498408406972885,
0.0357796773314476,
-0.0845140591263771,
-0.00882496777921915,
-0.0516132116317749,
0.0804699957370758,
-0.03807588294148445,
-0.011061198078095913,
0.0452386699616909,
-0.04726070165634155,
-0.028376983478665352,
0.00992166344076395,
0.031015906482934952,
0.015944918617606163,
0.026766212657094002,
0.0086707454174757,
-0.0205973032861948,
-0.014916766434907913,
0.0061303540132939816,
0.03632802516222,
-0.04787759482860565,
-0.051750298589468,
0.032403912395238876,
0.04362789914011955,
-0.023390449583530426,
-0.007149937562644482,
0.01132680382579565,
0.014668296091258526,
0.0727245882153511,
-0.002045593224465847,
-0.05466339364647865,
-0.03560831770300865,
-0.017187267541885376,
0.0518873855471611,
-0.005834760144352913,
-0.0376303493976593,
-0.0186438150703907,
-0.02971358224749565,
0.061620552092790604,
-0.04116033762693405,
-0.0210085641592741,
-0.0207001194357872,
-0.016973068937659264,
-0.0475006029009819,
0.0059461435303092,
-0.006361688021570444,
-0.0380416102707386,
-0.002814565086737275,
0.00945899449288845,
0.0464724525809288,
-0.008285188116133213,
0.0746438056230545,
0.0183696411550045,
0.0760146751999855,
-0.0679265484213829,
-0.0346829816699028,
0.0339975468814373,
-0.030878819525241852,
0.0223794337362051,
0.02957649528980255,
-0.014968173578381538,
0.02957649528980255,
0.0015743571566417813,
-0.01881517469882965,
0.016013462096452713,
0.013700120151042938,
0.016227658838033676,
-0.011523866094648838,
-0.024452872574329376,
0.060249682515859604,
0.025583839043974876,
0.0981542095541954,
-0.0275887344032526,
0.0595642514526844,
0.0038855562452226877,
-0.0592900775372982,
0.0007261320715770125,
0.03463157266378403,
0.010589961893856525,
0.031170129776000977,
0.011361075565218925,
0.018249690532684326,
0.008336596190929413,
0.0273145604878664,
0.0838286280632019,
0.03458016738295555,
0.0739583745598793,
-0.002473989734426141,
-0.026903299614787102,
0.044484693557024,
-0.0379045233130455,
0.013905750587582588,
0.05192165449261665,
0.0494198203086853,
-0.03499142453074455,
-0.05281272158026695,
0.016673192381858826,
-0.01036719512194395,
0.018421050161123276,
-0.021128514781594276,
0.013494489714503288,
-0.03163279965519905,
0.0352313295006752,
0.0369449146091938,
0.030604645609855652,
0.0660758763551712,
0.0568225122988224,
-0.010966950096189976,
0.031170129776000977,
0.06645286828279495,
-0.0564797967672348,
0.0189179889857769,
-0.01617625169456005,
-0.023733166977763176,
0.05589717626571655,
-0.014651160687208176,
-0.061860453337430954,
-0.004806608892977238,
0.0320783294737339,
0.05966706573963165,
-0.0583304688334465,
0.0319412425160408,
0.028565479442477226,
-0.0264577679336071,
0.0444161482155323,
-0.013785799033939838,
0.03367196395993233,
0.0519559271633625,
0.0462668240070343,
0.0363965667784214,
-0.0418800413608551,
0.0019984696991741657,
0.0806070864200592,
0.0387270450592041,
-0.022602198645472527,
-0.0489400178194046,
-0.0015668602427467704,
0.03882985934615135,
0.06460219621658325,
-0.00015328562585636973,
0.0033971841912716627,
-0.0491456463932991,
0.024007340893149376,
0.006357403937727213,
-0.0135201932862401,
0.057850662618875504,
0.0525728203356266,
-0.011943694204092026,
0.053121168166399,
0.023047732189297676,
0.02515544183552265,
-0.05627416446805,
0.05884454399347305,
0.005659117829054594,
-0.00664871372282505,
-0.008859239518642426,
0.0005397796048782766,
-0.015919214114546776,
0.0865703672170639,
-0.0203231293708086,
-0.0461982786655426,
-0.0708739161491394,
-0.013991429470479488,
0.02724601700901985,
-0.04499876871705055,
-0.007325580343604088,
-0.013905750587582588,
0.02902814745903015,
0.02094002068042755,
-0.02402447536587715,
-0.021265601739287376,
-0.0148910628631711,
-0.03471725434064865,
0.006001835223287344,
-0.030810276046395302,
-0.003896266222000122,
0.010324356146156788,
-0.0018988675437867641,
-0.0312558077275753,
-0.03252386301755905,
0.0128004876896739,
-0.004798040725290775,
-0.057645034044981,
-0.020648712292313576,
0.014162788167595863,
-0.0570966862142086,
0.0185067281126976,
0.0212484672665596,
-0.0452386699616909,
0.0705311968922615,
0.02566951885819435,
0.0496939942240715,
0.042222760617733,
0.0592215321958065,
-0.03135862573981285,
-0.005449203308671713,
0.02135128155350685,
-0.01799265295267105,
-0.04191431403160095,
0.0285483431071043,
0.005701957270503044,
-0.0559314489364624,
-0.0586731843650341,
0.0219681728631258,
-0.0271774735301733,
-0.05151039734482765,
-0.0982227474451065,
-0.0022962051443755627,
-0.05589717626571655,
-0.02933659218251705,
-0.02834271267056465,
-0.0356425903737545,
0.0405091717839241,
0.039481021463871,
-0.01884944550693035,
0.04445042088627815,
0.0923280119895935,
-0.006477355025708675,
0.030758868902921677,
0.0052564251236617565,
-0.0051450422033667564,
0.010324356146156788,
0.03348347172141075,
-0.027091795578598976,
0.01936352252960205,
0.0014072825433686376,
0.007621173746883869,
0.020785799250006676,
0.05747367441654205,
-0.0013997856294736266,
-0.016561808064579964,
-0.06974294781684875,
0.02666339837014675,
-0.0536009706556797,
0.014436962082982063,
-0.029285185039043427,
-0.047637689858675,
-0.0327637642621994,
-0.01399999763816595,
0.0703941136598587,
0.007051406428217888,
-0.0651848092675209,
0.0025639531668275595,
0.0703941136598587,
0.05356669798493385,
-0.062134627252817154,
0.0002227661752840504,
0.00730844447389245,
-0.027777228504419327,
0.04534148424863815,
0.005783353000879288,
0.01468543242663145,
-0.0646364614367485,
0.03697918727993965,
-0.0334491990506649,
-0.013545897789299488,
-0.032215416431427,
0.0455813892185688,
0.0402349978685379,
-0.02498408406972885,
-0.024504279717803,
-0.04431333392858505,
-0.029387999325990677,
-0.056753966957330704,
0.005667685531079769,
-0.0004206318117212504,
-0.03259240463376045,
0.02748592011630535,
0.015302322804927826,
-0.01482251938432455,
-0.03176988288760185,
0.02076866291463375,
-0.008405139669775963,
-0.0060575264506042,
-0.0055648707784712315,
-0.024795589968562126,
0.0002739060146268457,
-0.0376988910138607,
0.0498310811817646,
-0.06350550055503845,
-0.013014685362577438,
0.03869277238845825,
-0.011832311749458313,
0.012920438311994076,
0.01672459952533245,
0.0188837181776762,
0.0445532351732254,
0.0708739161491394,
-0.033774781972169876,
0.03889840096235275,
0.0279999952763319,
-0.01854100078344345,
-0.0044167679734528065,
0.03896694630384445,
-0.05336106941103935,
-0.05637697875499725,
-0.0250526275485754,
-0.01881517469882965,
0.015302322804927826,
-0.05637697875499725,
0.036739282310009,
-0.013682984746992588,
-0.030810276046395302,
-0.03811015188694,
0.0591529905796051,
0.016356177628040314,
0.019106484949588776,
-0.005903303623199463,
0.0015154526336118579,
-0.03190696984529495,
-0.018146876245737076,
-0.015679312869906425,
-0.0642252042889595,
-0.090340256690979,
0.05418359115719795,
0.002039167331531644,
0.03910403326153755,
-0.020100364461541176,
-0.0462668240070343,
0.0406462587416172,
-0.020066091790795326,
-0.008272336795926094,
-0.0397551953792572,
0.01000734232366085,
0.00007302821904886514,
-0.0027910033240914345,
-0.0344088077545166,
0.0041533042676746845,
0.030330471694469452,
-0.04698652774095535,
-0.02313341200351715,
-0.008499386720359325,
-0.02189962938427925,
0.0886266678571701,
-0.0195691529661417,
-0.03183842822909355,
0.032266825437545776,
0.04458750784397125,
-0.05233291536569595,
-0.03348347172141075,
-0.001280905562452972,
-0.031170129776000977,
-0.007359852083027363,
0.007424111478030682,
-0.0015657892217859626,
0.012929006479680538,
0.0668983981013298,
-0.0352998711168766,
-0.0694345086812973,
-0.025275394320487976,
-0.02375030145049095,
0.06179191172122955,
-0.024384329095482826,
0.04856302589178085,
-0.02484699711203575,
-0.06425947695970535,
-0.0181982833892107,
-0.005397796165198088,
0.02933659218251705,
0.0342717207968235,
0.0549718402326107,
0.014848222956061363,
0.004116890486329794,
-0.03752753511071205,
-0.002776009263470769,
-0.04438187927007675,
0.010470010340213776,
0.04616400599479675,
0.0433194525539875,
0.010272948071360588,
-0.011738063767552376,
-0.02985066920518875,
0.006250305101275444,
0.0019020804902538657,
0.017050180584192276,
-0.0409204326570034,
-0.0376303493976593,
-0.012072213925421238,
0.042222760617733,
0.0250526275485754,
-0.027571598067879677,
0.0886952131986618,
-0.0191921629011631,
-0.015370866283774376,
0.016604648903012276,
-0.024624230340123177,
-0.009476130828261375,
-0.024247242137789726,
0.02721174620091915,
-0.03396327421069145,
0.008859239518642426,
0.008486534468829632,
-0.06432802230119705,
0.005132189951837063,
0.00013655138900503516,
0.0209742933511734,
-0.020511625334620476,
0.03326070308685303,
-0.011146876960992813,
-0.02930232137441635,
0.03855568543076515,
0.05658261105418205,
-0.01391431875526905,
0.0247784536331892,
0.02327049896121025,
-0.0240930188447237,
0.016364745795726776,
0.022190939635038376,
-0.011343939229846,
-0.016698895022273064,
-0.0029773556161671877,
0.0024504279717803,
-0.013648713007569313,
-0.0502423420548439,
0.0715593546628952,
0.0211113803088665,
-0.032438185065984726,
-0.012911870144307613,
-0.0845140591263771,
-0.03389473259449005,
0.0477747768163681,
0.0011513156350702047,
0.0008626834605820477,
-0.0222766175866127,
0.016287634149193764,
0.031889837235212326,
0.00937331560999155,
-0.02416156232357025,
-0.016887390986084938,
0.0010581393726170063,
-0.0180269256234169,
0.0100758858025074,
-0.03739044815301895,
0.011121173389256,
-0.014985309913754463,
0.045855563133955,
-0.00978457648307085,
-0.0627172514796257,
0.06871479749679565,
0.0640881136059761,
-0.0600440539419651,
0.0557258166372776,
0.012766215950250626,
-0.009536106139421463,
0.04774050787091255,
-0.030673189088702202,
0.027914315462112427,
-0.010452874936163425,
-0.06460219621658325,
-0.0856793001294136,
-0.005517746787518263,
0.021402688696980476,
0.0369449146091938,
0.0551774688065052,
-0.0457870177924633,
0.033363521099090576,
-0.052641361951828,
-0.04397061839699745,
-0.002388310618698597,
-0.0420171283185482,
-0.03629375249147415,
-0.032403912395238876,
0.03691064193844795,
-0.017564255744218826,
-0.03821296989917755,
-0.002039167331531644,
0.0507906898856163,
-0.0418800413608551,
0.0292337778955698,
-0.04712361469864845,
-0.007085678167641163,
0.015507953241467476,
-0.0215569119900465,
0.006503059063106775,
0.0352998711168766,
-0.0005970776546746492,
-0.0008557219989597797,
0.022979188710451126,
0.017941245809197426,
0.04849448427557945,
-0.01281762309372425,
0.016536105424165726,
0.007861075922846794,
-0.0927392765879631,
0.005397796165198088,
0.003277233336120844,
-0.015122396871447563,
0.0614149235188961,
-0.03476865962147713,
-0.0195691529661417,
-0.026783348992466927,
0.02347612753510475,
-0.0457184761762619,
-0.01468543242663145,
-0.059324346482753754,
0.008130965754389763,
-0.005577722564339638,
-0.02584087662398815,
0.019620560109615326,
-0.03965238109230995,
-0.010924111120402813,
-0.03732190281152725,
-0.03711627423763275,
0.0628543347120285,
-0.03581394627690315,
-0.0496254526078701,
-0.0096646249294281,
0.005115054082125425,
-0.005029374733567238,
0.031889837235212326,
-0.00034485917421989143,
-0.053669512271881104,
-0.0224137045443058,
-0.032540999352931976,
-0.00791676715016365,
0.0040055071003735065,
0.0005601284210570157,
0.014711135998368263,
0.0036884939763695,
-0.00030603574123233557,
0.1222814992070198,
-0.007484086789190769,
0.016536105424165726,
-0.022430840879678726,
0.0432509109377861,
0.025583839043974876,
0.01105262991040945,
-0.0037356175016611814,
-0.04013218358159065,
-0.0019245713483542204,
-0.05665115267038345,
-0.02207098715007305,
-0.009279068559408188,
-0.06350550055503845,
-0.0424283891916275,
0.005680537782609463,
-0.0631285086274147,
0.0423598475754261,
0.0006233169115148485,
-0.008028150536119938,
0.026834756135940552,
-0.0005063111311756074,
0.010127292945981026,
0.0240930188447237,
-0.005376376211643219,
0.0012573436833918095,
0.0025575270410627127,
-0.0027031819336116314,
0.006970011163502932,
0.0227906946092844,
0.06048958748579025,
-0.021882493048906326,
-0.03389473259449005,
0.0193292498588562,
0.023424720391631126,
-0.0435250848531723,
-0.04787759482860565,
-0.007616889663040638,
-0.018146876245737076,
0.0361909382045269,
0.008096694014966488,
0.03245531767606735,
0.04259974882006645,
0.0012016522232443094,
-0.03684210032224655,
0.0042561194859445095,
-0.057028140872716904,
-0.0475691482424736,
0.059015903621912,
0.0006570531404577196,
-0.0429767370223999,
-0.04020072892308235,
0.040851891040802,
-0.02179681323468685,
-0.03327783942222595,
-0.03718481585383415,
-0.0015122396871447563,
0.0745752602815628,
0.0847196951508522,
-0.06679558008909225,
0.0249155405908823,
0.030261928215622902,
0.033911868929862976,
0.006588738411664963,
0.020340265706181526,
-0.012089349329471588,
0.0801958218216896,
-0.003746327478438616,
-0.0107099125161767,
0.01113830879330635,
0.017255811020731926,
-0.03848714008927345,
0.0525728203356266,
0.04006364196538925,
-0.02076866291463375,
-0.0370134562253952,
-0.023630350828170776,
0.0179241094738245,
-0.0007796816644258797,
-0.04184576869010925,
-0.008987758308649063,
-0.04349081218242645,
-0.023184819146990776,
0.008987758308649063,
0.0006618726183660328,
0.02272215113043785,
-0.0108469994738698
]
|
41,775 | wield.bunch.bunch | __delitem__ | null | def __delitem__(self, key):
del self._mydict[key]
| (self, key) | [
0.04556181654334068,
0.008294188417494297,
-0.03580598533153534,
-0.016744054853916168,
-0.05427979677915573,
-0.02964804694056511,
-0.06586917489767075,
0.049644045531749725,
0.07839261740446091,
-0.008510407991707325,
-0.049159713089466095,
0.029111821204423904,
0.030478330329060555,
0.03137780353426933,
-0.05241165682673454,
0.004813050851225853,
-0.015982961282134056,
0.0451812706887722,
-0.001563268480822444,
-0.06254803389310837,
0.01817975379526615,
0.05645928904414177,
0.04448936879634857,
0.02279820665717125,
-0.037431955337524414,
0.01809326559305191,
0.04919430613517761,
-0.0017513795755803585,
0.09250743687152863,
-0.025167973712086678,
-0.041133638471364975,
-0.017747312784194946,
-0.0044411527924239635,
0.03629031404852867,
-0.036532480269670486,
-0.022729014977812767,
-0.014348340220749378,
0.017574338242411613,
-0.05618252977728844,
0.030893471091985703,
0.027762610465288162,
0.03802007436752319,
0.03182753920555115,
-0.03608274459838867,
0.08579598367214203,
0.05497169867157936,
-0.007070384453982115,
0.03798547759652138,
-0.019615452736616135,
0.0014811049913987517,
0.004337367136031389,
0.018906250596046448,
0.02162197045981884,
0.026949623599648476,
-0.017064059153199196,
0.06310155987739563,
-0.0071611967869102955,
0.036151934415102005,
0.009505018591880798,
0.019736535847187042,
-0.023922547698020935,
0.003507083747535944,
-0.05272301286458969,
-0.06763352453708649,
0.031741052865982056,
-0.04549262672662735,
-0.0045535871759057045,
0.004019524436444044,
0.025756090879440308,
-0.05369167774915695,
-0.017591634765267372,
-0.007416335865855217,
0.018646787852048874,
0.05791228637099266,
-0.004523316398262978,
-0.021552780643105507,
-0.008557976223528385,
-0.01926949992775917,
0.044662341475486755,
-0.036255721002817154,
-0.005271436646580696,
-0.033799465745687485,
-0.028696680441498756,
0.009505018591880798,
-0.025565817952156067,
0.03611734136939049,
0.08773330599069595,
-0.012549391947686672,
-0.013025075197219849,
0.07244224846363068,
-0.023455513641238213,
0.032519444823265076,
-0.029198309406638145,
-0.006110368762165308,
0.004834672436118126,
-0.011122342199087143,
0.021276019513607025,
-0.004488721024245024,
0.0051460289396345615,
-0.018041372299194336,
0.057773906737565994,
-0.044454772025346756,
-0.004804402124136686,
0.0065601058304309845,
-0.013665085658431053,
-0.003455190919339657,
0.031308613717556,
-0.05971123278141022,
-0.019892213866114616,
0.047499146312475204,
-0.03511407971382141,
0.008942847140133381,
-0.01584457978606224,
0.03229457512497902,
0.028195049613714218,
0.05005918815732002,
-0.059226904064416885,
-0.03509678319096565,
0.013137509115040302,
-0.0072390357963740826,
-0.014391583390533924,
0.006214154418557882,
-0.05618252977728844,
0.009107174351811409,
0.05739336088299751,
-0.007044438272714615,
-0.0008746086969040334,
0.03646329045295715,
-0.002553554717451334,
0.030478330329060555,
-0.033712975680828094,
0.0076455287635326385,
-0.008605544455349445,
0.004000064451247454,
0.018214348703622818,
0.015887824818491936,
0.02681124396622181,
-0.033021073788404465,
0.002339497208595276,
0.044074226170778275,
-0.014123471453785896,
0.03504488989710808,
0.020964663475751877,
0.06033394858241081,
0.06348210573196411,
-0.03926549851894379,
-0.06898273527622223,
0.014668344520032406,
-0.045838579535484314,
-0.019390583038330078,
-0.05701281130313873,
0.043105561286211014,
0.01530835498124361,
-0.004283312242478132,
-0.006395779084414244,
0.0198576170951128,
-0.05206570401787758,
0.015758091583848,
-0.08344350755214691,
-0.02630961313843727,
0.043382320553064346,
0.03317675366997719,
0.04732616990804672,
-0.051131635904312134,
-0.027036111801862717,
-0.026932327076792717,
0.05206570401787758,
-0.017885694280266762,
-0.011987220495939255,
0.019511666148900986,
-0.04199851676821709,
-0.03255403786897659,
-0.01693432778120041,
0.0026292316615581512,
0.027416659519076347,
0.030858876183629036,
-0.016277018934488297,
0.000006579497949132929,
-0.006836866959929466,
-0.01374292466789484,
0.009020686149597168,
-0.029198309406638145,
-0.033626489341259,
0.022953884676098824,
0.0225906353443861,
0.00044054765021428466,
-0.003351405495777726,
0.0198576170951128,
0.016761351376771927,
0.062617227435112,
-0.0401303768157959,
-0.043486107140779495,
-0.015965662896633148,
-0.03187943249940872,
0.04850240424275398,
-0.012333172373473644,
-0.03867737948894501,
-0.018473811447620392,
-0.019044632092118263,
0.059330686926841736,
-0.07098925113677979,
-0.04040713980793953,
-0.018335431814193726,
0.005163326393812895,
-0.04365908354520798,
0.007368767634034157,
0.005526575725525618,
-0.041029851883649826,
-0.01753109320998192,
0.024925807490944862,
0.009963404387235641,
0.0005740633350796998,
0.06735676527023315,
0.014305096119642258,
0.07569419592618942,
-0.07195791602134705,
-0.06929409503936768,
0.020307354629039764,
-0.023144157603383064,
0.019425177946686745,
0.022867396473884583,
-0.022365767508745193,
0.016692161560058594,
-0.03611734136939049,
0.019909510388970375,
0.013993739150464535,
0.012852099724113941,
0.015619711950421333,
-0.0017319198232144117,
-0.0098250238224864,
0.0506473034620285,
0.03061670996248722,
0.08787168562412262,
-0.009703940711915493,
0.05860418826341629,
-0.028229644522070885,
-0.07424119859933853,
-0.04843321442604065,
0.03552922233939171,
0.005297382827848196,
0.033211346715688705,
0.03293458744883537,
0.022158196195960045,
0.020912770181894302,
0.012739664874970913,
0.0905701145529747,
0.007001194171607494,
0.08032994717359543,
0.0006886597839184105,
-0.031239423900842667,
0.04023416340351105,
-0.03132591024041176,
0.005829283501952887,
0.04141039773821831,
0.048467811197042465,
-0.027641527354717255,
-0.04099525511264801,
0.004410882014781237,
-0.015637008473277092,
0.011606673710048199,
-0.0026335560251027346,
0.004207635298371315,
-0.03629031404852867,
0.037708718329668045,
0.02855829894542694,
0.03265782445669174,
0.06552322208881378,
0.06337831914424896,
0.007796882651746273,
0.04314015433192253,
0.07624771445989609,
-0.04061470925807953,
0.03317675366997719,
-0.033799465745687485,
-0.009894213639199734,
0.08109103888273239,
-0.010119082406163216,
-0.031239423900842667,
-0.015481331385672092,
0.03160267323255539,
0.07721637934446335,
-0.04365908354520798,
0.024009035900235176,
0.020757092162966728,
-0.015100784599781036,
0.028246942907571793,
0.010490979999303818,
0.054556556046009064,
0.04673805087804794,
0.048779167234897614,
0.025980960577726364,
-0.017868395894765854,
-0.015178623609244823,
0.07534824311733246,
0.02093006856739521,
-0.002875722013413906,
-0.07728557288646698,
0.004017362371087074,
0.03504488989710808,
0.08226727694272995,
0.006547132972627878,
0.011710459366440773,
-0.05877716466784477,
0.005085487384349108,
0.019252203404903412,
0.011321264319121838,
0.0573587641119957,
0.05351870134472847,
-0.04071849584579468,
0.05514467507600784,
0.016553780063986778,
0.014668344520032406,
-0.03646329045295715,
0.05396844074130058,
0.01644999533891678,
-0.026188531890511513,
-0.02172575704753399,
0.006992545444518328,
-0.015126730315387249,
0.08724897354841232,
-0.029578855261206627,
-0.05604414641857147,
-0.06469293683767319,
-0.011425049044191837,
0.033488109707832336,
-0.05791228637099266,
-0.020670603960752487,
-0.008648788556456566,
0.033401619642972946,
0.030063187703490257,
0.012462903745472431,
-0.0043589891865849495,
-0.005184948444366455,
-0.055905766785144806,
-0.010119082406163216,
-0.03099725767970085,
0.008346080780029297,
0.023732274770736694,
0.005232517141848803,
-0.02798747830092907,
-0.030391842126846313,
0.006521186325699091,
0.018715977668762207,
-0.04365908354520798,
-0.016562430188059807,
-0.002810856094583869,
-0.04047632962465286,
0.004635750316083431,
0.028731275349855423,
-0.040337949991226196,
0.06161396950483322,
0.048779167234897614,
0.05901933088898659,
0.03660167381167412,
0.07154277712106705,
-0.003299512667581439,
0.01613863930106163,
0.008441217243671417,
-0.023836061358451843,
-0.024597153067588806,
0.05410682037472725,
0.0077579631470143795,
-0.058950141072273254,
-0.04656507447361946,
0.027710717171430588,
-0.03729357570409775,
-0.04165256395936012,
-0.09610533714294434,
-0.005435763392597437,
-0.06400103121995926,
-0.023109562695026398,
-0.0397152341902256,
-0.04352070391178131,
0.054348986595869064,
0.04424720257520676,
-0.02162197045981884,
0.04410881921648979,
0.09548262506723404,
-0.02475283294916153,
0.01139045413583517,
0.0036216801963746548,
-0.008605544455349445,
0.02456255815923214,
0.02466634474694729,
-0.021103043109178543,
0.018145157024264336,
0.00004804131458513439,
0.01935598812997341,
-0.005284409504383802,
0.045458029955625534,
-0.014028334990143776,
-0.03238106518983841,
-0.063032366335392,
0.012852099724113941,
-0.04992080479860306,
-0.011191532015800476,
-0.02670745924115181,
-0.06669945269823074,
-0.06154477596282959,
-0.026863137260079384,
0.0976967141032219,
-0.012194791808724403,
-0.06818705052137375,
-0.012739664874970913,
0.06247884780168533,
0.017885694280266762,
-0.06690702587366104,
0.020514925941824913,
0.011001259088516235,
-0.020774388685822487,
0.05583657696843147,
0.0006989302346482873,
-0.004214121960103512,
-0.055905766785144806,
0.042794205248355865,
-0.055213864892721176,
-0.014849969185888767,
-0.013448866084218025,
0.02454526163637638,
0.05417601019144058,
-0.004601155407726765,
-0.014555910602211952,
-0.03011508099734783,
-0.00836337823420763,
-0.05303436890244484,
-0.018231645226478577,
-0.016302965581417084,
-0.041721753776073456,
0.006854164879769087,
0.003053022315725684,
-0.021189531311392784,
-0.06410481780767441,
0.010819634422659874,
-0.01857759803533554,
-0.008475812152028084,
0.008640139363706112,
-0.01710730418562889,
-0.017747312784194946,
-0.039092522114515305,
0.06348210573196411,
-0.026050150394439697,
-0.006810920778661966,
0.040545519441366196,
-0.0128175038844347,
0.021760351955890656,
0.019615452736616135,
0.022089004516601562,
0.028506405651569366,
0.06420860439538956,
-0.023991739377379417,
0.052377063781023026,
0.03584057837724686,
-0.005180624313652515,
-0.02515067718923092,
0.0367746464908123,
-0.09126201272010803,
-0.05241165682673454,
-0.0147634819149971,
-0.03867737948894501,
-0.011805595830082893,
-0.02513337880373001,
0.04507748410105705,
-0.004981702193617821,
-0.04237906262278557,
-0.02777990885078907,
0.04089147225022316,
-0.0016973246820271015,
0.029475070536136627,
0.01325859222561121,
0.012878045439720154,
-0.0397152341902256,
-0.0072649819776415825,
-0.03367838263511658,
-0.05939987674355507,
-0.06182153895497322,
0.02983831986784935,
0.02134520933032036,
0.03795088455080986,
-0.013526705093681812,
-0.031274016946554184,
0.03303837031126022,
-0.044558558613061905,
0.017453255131840706,
-0.0050638653337955475,
-0.0020378706976771355,
0.0018389485776424408,
-0.006733081769198179,
-0.03563300892710686,
0.007749314419925213,
0.022850098088383675,
-0.03407622501254082,
-0.04960944876074791,
0.0002413552429061383,
-0.015550521202385426,
0.08517326414585114,
-0.04414341598749161,
-0.05054352059960365,
0.02134520933032036,
0.023697679862380028,
-0.05867337808012962,
-0.011182883754372597,
0.0013643463607877493,
-0.031308613717556,
-0.00928879901766777,
0.009314744733273983,
-0.012411011382937431,
0.031446993350982666,
0.045146673917770386,
-0.04608074575662613,
-0.08081427961587906,
-0.04168716073036194,
-0.005245489999651909,
0.07638610154390335,
-0.030858876183629036,
0.04933268949389458,
-0.009219608269631863,
-0.07624771445989609,
-0.008730951696634293,
0.01306831929832697,
0.03191402927041054,
0.05075109004974365,
0.024112822487950325,
0.02300577610731125,
0.01036989688873291,
-0.031274016946554184,
-0.023351728916168213,
-0.04186013713479042,
0.005115758161991835,
0.045734792947769165,
0.04421260580420494,
-0.013621841557323933,
-0.01032665278762579,
-0.015585116110742092,
-0.012696421705186367,
0.018024075776338577,
0.021397102624177933,
-0.03608274459838867,
-0.05597495660185814,
-0.007139574736356735,
0.05555981770157814,
0.023818762972950935,
0.0013167780125513673,
0.08600354939699173,
-0.05341491848230362,
0.0015870527131482959,
0.029699938371777534,
-0.03298647701740265,
-0.015723496675491333,
-0.03367838263511658,
0.035771388560533524,
-0.057670120149850845,
-0.024337690323591232,
0.024043630808591843,
-0.03981902077794075,
0.026067448779940605,
0.0012432633666321635,
0.005111434031277895,
-0.021760351955890656,
0.03141240030527115,
0.0006519024027511477,
-0.024233905598521233,
0.05313815549015999,
0.033522702753543854,
-0.013388324528932571,
0.025116080418229103,
0.024683641269803047,
-0.029717236757278442,
0.008951496332883835,
0.04040713980793953,
0.009946106933057308,
-0.006131990812718868,
-0.02162197045981884,
0.027036111801862717,
-0.020186271518468857,
-0.05773930996656418,
0.04179094359278679,
0.00022027382510714233,
-0.03639410063624382,
-0.01994410529732704,
-0.09257663041353226,
-0.018421920016407967,
0.04393584281206131,
0.0058595542795956135,
-0.007104979828000069,
-0.007117952685803175,
0.01996140368282795,
0.028143156319856644,
0.013941846787929535,
-0.026084745302796364,
0.007770936470478773,
0.006542808376252651,
-0.02672475576400757,
-0.0007794720586389303,
-0.020497627556324005,
0.018543001264333725,
-0.020393842831254005,
0.033401619642972946,
-0.01937328651547432,
-0.07527905702590942,
0.057566333562135696,
0.06856759637594223,
-0.0273128729313612,
0.05805066600441933,
0.027520444244146347,
0.011079098097980022,
0.06836002320051193,
-0.03255403786897659,
0.01262723095715046,
0.00219138665124774,
-0.05607874318957329,
-0.08385865390300751,
-0.015550521202385426,
0.019252203404903412,
0.01236776728183031,
0.03853899985551834,
-0.03784709796309471,
0.027416659519076347,
-0.039957400411367416,
-0.035771388560533524,
-0.008588247001171112,
-0.04531965032219887,
-0.024683641269803047,
-0.059330686926841736,
0.030270759016275406,
-0.018715977668762207,
-0.059434473514556885,
0.01574944332242012,
0.04628831520676613,
-0.033488109707832336,
0.0196500476449728,
-0.03881576284766197,
0.00024905806640163064,
0.014988349750638008,
0.01125207357108593,
0.018439216539263725,
0.03660167381167412,
-0.017046762630343437,
0.008787169121205807,
0.018733276054263115,
0.031446993350982666,
0.059226904064416885,
-0.019736535847187042,
-0.011502888053655624,
0.015515926294028759,
-0.07541743665933609,
-0.01693432778120041,
-0.003978442400693893,
-0.024320391938090324,
0.049263499677181244,
-0.03646329045295715,
-0.01947707124054432,
-0.001437861006706953,
0.006659566890448332,
-0.041029851883649826,
0.0004886565147899091,
-0.026880433782935143,
0.02082628197968006,
-0.02328253723680973,
-0.054729532450437546,
0.00444980151951313,
-0.03857359662652016,
-0.01947707124054432,
-0.06126801669597626,
-0.021985219791531563,
0.062167491763830185,
-0.05351870134472847,
-0.03511407971382141,
-0.008151482790708542,
0.00022784151951782405,
0.006036854349076748,
0.012558040209114552,
-0.006637944839894772,
-0.05075109004974365,
-0.002285442315042019,
-0.03269242122769356,
-0.021103043109178543,
0.01339697279036045,
0.03063400834798813,
0.01605215109884739,
0.015481331385672092,
-0.015688901767134666,
0.07763152569532394,
-0.014097524806857109,
0.013595894910395145,
-0.02134520933032036,
0.0535878911614418,
0.00027419361867941916,
0.01023151632398367,
-0.030582115054130554,
-0.048571594059467316,
0.018543001264333725,
-0.08316674828529358,
-0.02210630290210247,
-0.02485661767423153,
-0.06642269343137741,
-0.016795946285128593,
0.003083293093368411,
-0.055698197335004807,
0.03440488129854202,
0.013223997317254543,
-0.013509407639503479,
0.018075967207551003,
0.028817763552069664,
-0.012047762051224709,
0.021483590826392174,
-0.0065644304268062115,
0.011468293145298958,
0.018923548981547356,
-0.011364507488906384,
-0.00486926781013608,
0.010819634422659874,
0.06126801669597626,
-0.008977442048490047,
-0.03646329045295715,
0.018646787852048874,
0.008778519928455353,
-0.03492380678653717,
-0.023265240713953972,
-0.006841191556304693,
-0.03881576284766197,
0.025392843410372734,
-0.003550327615812421,
0.03381676226854324,
0.021777648478746414,
0.018854359164834023,
-0.0424482524394989,
0.015221867710351944,
-0.06161396950483322,
-0.031170232221484184,
0.06704540550708771,
0.018421920016407967,
-0.05850040540099144,
-0.036947622895240784,
0.0029276148416101933,
0.007286604028195143,
-0.021898731589317322,
-0.023939846083521843,
0.002791396342217922,
0.091192826628685,
0.05348410829901695,
-0.05749714374542236,
0.046807240694761276,
0.01458185724914074,
0.006741730496287346,
0.012782908976078033,
-0.001420563436113298,
-0.014789427630603313,
0.06957085430622101,
-0.021276019513607025,
-0.01918301172554493,
0.021500887349247932,
0.04362448677420616,
-0.028212347999215126,
0.05663226544857025,
0.05939987674355507,
-0.027433956041932106,
-0.025686901062726974,
-0.000599469116423279,
0.01752244494855404,
0.009418530389666557,
-0.06441617757081985,
-0.0017492173938080668,
-0.020584115758538246,
-0.00635685957968235,
-0.00044838563189841807,
0.005924419965595007,
0.02241765893995762,
-0.0018389485776424408
]
|
41,776 | wield.bunch.bunch | __dir__ | null | def __dir__(self):
items = [k for k in self._mydict.keys() if isinstance(k, str)]
# items += dir(super(Bunch, self))
return items
| (self) | [
0.022745734080672264,
-0.013109654188156128,
-0.0017797655891627073,
-0.058715734630823135,
0.04647888243198395,
-0.012421992607414722,
0.03664002940058708,
-0.026095882058143616,
0.05201543867588043,
0.0020762095227837563,
-0.01660967618227005,
0.013920742087066174,
0.00929224956780672,
0.01685652881860733,
-0.03265511617064476,
-0.015454757027328014,
0.03261985257267952,
0.043410852551460266,
-0.019801132380962372,
0.005677617620676756,
0.006025856360793114,
0.07617176324129105,
0.057657793164253235,
-0.009838853031396866,
-0.022058073431253433,
0.0343654565513134,
-0.003936422523111105,
-0.05102802813053131,
0.04958217591047287,
-0.012175139039754868,
-0.0731389969587326,
-0.024156322702765465,
0.022340191528201103,
-0.010711654089391232,
-0.022181499749422073,
-0.029093381017446518,
0.028846528381109238,
0.011390499770641327,
-0.006224220618605614,
0.020083248615264893,
0.06742611527442932,
0.0383327342569828,
-0.008802952244877815,
-0.013532830402255058,
0.028652573004364967,
-0.001630992628633976,
0.01592201367020607,
0.00797863956540823,
0.04524461552500725,
-0.029093381017446518,
0.01778222806751728,
-0.010940874926745892,
-0.010552963241934776,
-0.01944848522543907,
0.001661849208176136,
0.01627466082572937,
0.006316790357232094,
-0.013629808090627193,
-0.022939691320061684,
0.09323988109827042,
-0.05300285294651985,
-0.007806723937392235,
0.03531760349869728,
-0.07567805796861649,
0.025619808584451675,
-0.05081643909215927,
-0.08562270551919937,
0.012148690409958363,
-0.03147374838590622,
0.0064842975698411465,
-0.03452414646744728,
-0.05494241043925285,
-0.010835080407559872,
0.08216676115989685,
-0.014978683553636074,
-0.022410720586776733,
-0.0341891311109066,
-0.0385090596973896,
0.05504820495843887,
-0.05540085211396217,
-0.042670294642448425,
0.006330014672130346,
-0.07842870056629181,
0.0048224483616650105,
-0.0012012040242552757,
0.039143823087215424,
-0.01507566124200821,
-0.03060976415872574,
0.01711219735443592,
0.05437817424535751,
-0.06672082096338272,
0.03875591233372688,
0.01701522059738636,
0.08075617253780365,
-0.03395991027355194,
-0.022075705230236053,
-0.01867266185581684,
0.011055485345423222,
-0.03783902898430824,
0.03045107237994671,
-0.010350191034376621,
-0.027224352583289146,
0.03500021994113922,
0.03302539512515068,
-0.04725470393896103,
-0.01756182312965393,
-0.030010264366865158,
-0.04915899783372879,
0.004725470673292875,
0.03508838266134262,
-0.055929820984601974,
-0.005739330779761076,
0.026078250259160995,
-0.0048797535710036755,
0.027841484174132347,
-0.03117399848997593,
-0.029710514470934868,
-0.021899381652474403,
0.04334032163023949,
-0.03205561637878418,
-0.014291021972894669,
0.08012141287326813,
-0.0015626671956852078,
0.022463617846369743,
0.005148646887391806,
0.04806579276919365,
-0.01876082271337509,
-0.027065660804510117,
0.008057985454797745,
0.03783902898430824,
0.0312797948718071,
0.012466073036193848,
-0.0637938529253006,
-0.0038085882551968098,
0.020206676796078682,
0.011231808923184872,
0.03865011781454086,
-0.01727970503270626,
0.03473573550581932,
0.08929023146629333,
0.01897241175174713,
0.00934514682739973,
0.01586030051112175,
0.014864073134958744,
-0.023680249229073524,
-0.007555462885648012,
0.038015350699424744,
0.07328005880117416,
-0.01851397007703781,
-0.028969954699277878,
-0.041436027735471725,
0.009830036200582981,
0.01592201367020607,
0.024350278079509735,
-0.0064534409902989864,
0.01742076501250267,
-0.0766654685139656,
0.01621294766664505,
-0.04619676247239113,
-0.09387464821338654,
-0.027665160596370697,
-0.029234440997242928,
-0.028599675744771957,
-0.0369221456348896,
0.03060976415872574,
0.026836439967155457,
0.056141410022974014,
-0.014476161450147629,
0.040095970034599304,
0.006854576990008354,
-0.028458617627620697,
-0.06746137887239456,
-0.04605570435523987,
0.0372747927904129,
0.014696565456688404,
0.0360405296087265,
-0.018954778090119362,
0.023239441215991974,
0.021282250061631203,
0.003237740835174918,
0.003354554995894432,
-0.0358642041683197,
-0.0708467960357666,
0.029763411730527878,
0.03591710329055786,
-0.013832580298185349,
0.030415808781981468,
0.012069345451891422,
0.01560463197529316,
0.013127285987138748,
-0.041153911501169205,
0.009988727979362011,
-0.022445984184741974,
-0.009971095249056816,
0.0023406948894262314,
0.01602780818939209,
-0.056388262659311295,
0.011337602511048317,
-0.05123961716890335,
0.020206676796078682,
-0.0339246466755867,
-0.03373068943619728,
-0.027224352583289146,
0.0049370587803423405,
0.03411860391497612,
0.021458573639392853,
-0.011513926088809967,
-0.042000263929367065,
0.024367911741137505,
0.023398131132125854,
0.0360405296087265,
-0.04743102937936783,
0.004119358491152525,
-0.020841440185904503,
0.03390701487660408,
-0.040272291749715805,
0.024403175339102745,
-0.01736786775290966,
-0.011355235241353512,
0.014396815560758114,
0.026571955531835556,
0.03699267655611038,
-0.005849532783031464,
0.010147418826818466,
-0.03671055659651756,
-0.026448529213666916,
0.00047138991067186,
-0.010711654089391232,
-0.03496495634317398,
-0.011681433767080307,
0.010843897238373756,
-0.04669046774506569,
-0.0174031313508749,
0.022058073431253433,
0.010905610397458076,
0.0336601622402668,
-0.012624764814972878,
-0.005721698515117168,
0.03510601446032524,
-0.020753279328346252,
-0.003716018283739686,
0.039954911917448044,
-0.021740689873695374,
0.023944735527038574,
-0.020682750269770622,
-0.0339246466755867,
0.024315014481544495,
0.00945094134658575,
-0.006506338249891996,
0.0035330825485289097,
0.043269794434309006,
-0.011381683871150017,
0.01667138934135437,
-0.014070617035031319,
0.007573095615953207,
-0.059703145176172256,
-0.06315908581018448,
-0.011214176192879677,
-0.008966051042079926,
-0.05141593888401985,
0.03314882144331932,
-0.002631628653034568,
-0.006391727831214666,
0.04930005595088005,
-0.000661764235701412,
0.030133690685033798,
0.06894249469041824,
0.010552963241934776,
-0.06657976657152176,
0.026748279109597206,
-0.00001895822242659051,
-0.027770955115556717,
-0.04728997126221657,
0.04841843992471695,
-0.0763128250837326,
0.04912373423576355,
0.011857757344841957,
0.013065572828054428,
-0.07603070139884949,
-0.03448888286948204,
-0.029234440997242928,
0.023186543956398964,
-0.0065460107289254665,
-0.007365915458649397,
0.0026404447853565216,
-0.01809079386293888,
-0.054272379726171494,
-0.004427924752235413,
-0.022304926067590714,
0.04602044075727463,
0.08026246726512909,
-0.011064301244914532,
-0.011399315670132637,
-0.0337483212351799,
0.04591464623808861,
0.01501394808292389,
-0.025461116805672646,
-0.022110970690846443,
0.03734532371163368,
0.007462893147021532,
0.013911926187574863,
-0.0013411608524620533,
-0.01652151346206665,
0.023274704813957214,
-0.010350191034376621,
0.027453573420643806,
0.04630255699157715,
-0.009768323041498661,
-0.021176455542445183,
-0.00022123091912362725,
-0.0157721396535635,
0.028828896582126617,
0.042352911084890366,
0.05317917466163635,
-0.03360726311802864,
-0.03060976415872574,
-0.04817158728837967,
0.056282468140125275,
-0.026378000155091286,
0.09726005792617798,
-0.06904829293489456,
0.0369221456348896,
0.006973595358431339,
-0.025090837851166725,
0.041965000331401825,
0.0354233980178833,
0.0016254824586212635,
0.013576911762356758,
0.027629896998405457,
0.004341966938227415,
-0.027594631537795067,
-0.024826351553201675,
0.004456576891243458,
0.03290196880698204,
-0.010808631777763367,
0.05042852833867073,
0.020982500165700912,
-0.0023539189714938402,
-0.004449964966624975,
-0.07412640750408173,
0.03209087997674942,
-0.010667573660612106,
-0.023168910294771194,
0.003572755493223667,
-0.0348062627017498,
-0.024315014481544495,
0.028264660388231277,
0.05102802813053131,
0.055824026465415955,
0.026571955531835556,
0.0074717095121741295,
-0.014220491982996464,
0.008106473833322525,
0.01955427974462509,
0.04728997126221657,
0.010367822833359241,
-0.03297249972820282,
0.03535286709666252,
-0.024808719754219055,
0.043410852551460266,
0.08738593757152557,
0.00968897808343172,
-0.06016158685088158,
-0.03336041048169136,
0.026765910908579826,
-0.054166585206985474,
0.01726207323372364,
-0.05596508830785751,
0.09246405959129333,
-0.04743102937936783,
-0.03431255742907524,
0.03203798457980156,
-0.020876705646514893,
-0.06358226388692856,
-0.013568094931542873,
-0.011893021874129772,
0.054836615920066833,
0.037909556180238724,
-0.04390455782413483,
0.04707838222384453,
0.01807316206395626,
0.0037755274679511786,
0.055894557386636734,
0.04711364582180977,
-0.029446028172969818,
-0.011311153881251812,
0.03567025065422058,
0.015569367446005344,
-0.006704702042043209,
0.021987544372677803,
-0.01615123450756073,
-0.01767643354833126,
-0.07948664575815201,
0.07377376407384872,
-0.006925106514245272,
-0.058292556554079056,
0.002316450234502554,
-0.0627359077334404,
-0.059421028941869736,
0.008688341826200485,
0.09077134728431702,
-0.0929577648639679,
-0.07603070139884949,
0.014379183761775494,
0.010597043670713902,
-0.03427729383111,
0.0032730053644627333,
-0.03443598374724388,
-0.015401859767735004,
-0.057446204125881195,
0.06566288322210312,
-0.01549002155661583,
-0.009389227256178856,
-0.059562087059020996,
0.03822693973779678,
-0.039637528359889984,
-0.010905610397458076,
0.008917562663555145,
0.03184402734041214,
0.029393130913376808,
0.01526080071926117,
-0.039073292165994644,
0.003065825207158923,
0.01563989743590355,
-0.0015285045374184847,
0.03217904269695282,
-0.055824026465415955,
-0.00026655159308575094,
0.03452414646744728,
0.004562371410429478,
-0.010429536923766136,
0.0365694984793663,
-0.023186543956398964,
-0.028229396790266037,
0.039954911917448044,
-0.06340593844652176,
0.0003807486209552735,
-0.056423526257276535,
-0.022869160398840904,
0.039143823087215424,
-0.022904425859451294,
0.011055485345423222,
-0.00046119620674289763,
0.0031672113109380007,
0.058080967515707016,
0.027330147102475166,
-0.015393043868243694,
0.06442861258983612,
0.063441202044487,
-0.010808631777763367,
-0.007621584460139275,
-0.019624808803200722,
0.027506470680236816,
-0.04944111779332161,
0.0352470725774765,
0.058045703917741776,
-0.020612219348549843,
0.021264616400003433,
-0.013233080506324768,
0.01685652881860733,
0.021405676379799843,
0.0041854795999825,
0.019007675349712372,
0.0024244484957307577,
0.009618448093533516,
0.006493113934993744,
-0.015102109871804714,
0.019360322505235672,
0.028793631121516228,
0.029534190893173218,
0.024015264585614204,
0.03316645324230194,
-0.03165007382631302,
-0.06231273338198662,
-0.024209219962358475,
0.059174176305532455,
0.01689179427921772,
0.0188137199729681,
-0.029393130913376808,
-0.08336576074361801,
-0.0038372406270354986,
-0.056458793580532074,
0.014097065664827824,
0.000611622235737741,
-0.029410764575004578,
-0.027524102479219437,
-0.00863103661686182,
-0.01856686733663082,
-0.0005829696310684085,
-0.023838941007852554,
0.025249529629945755,
0.041294969618320465,
-0.044680383056402206,
0.01944848522543907,
0.05501294136047363,
0.059068381786346436,
-0.023927101865410805,
0.012642396613955498,
-0.03129742667078972,
0.01630111038684845,
0.01608952134847641,
-0.00866189319640398,
0.05011114478111267,
0.029587088152766228,
-0.03129742667078972,
0.009071845561265945,
0.021370410919189453,
-0.00895282719284296,
-0.020171411335468292,
-0.07063520699739456,
0.03258458897471428,
0.0021302085369825363,
0.00012687029084190726,
-0.023838941007852554,
0.014678933657705784,
-0.023715514689683914,
-0.03485916182398796,
0.004505066201090813,
0.0001721909357002005,
0.04930005595088005,
-0.0072733452543616295,
-0.011187727563083172,
-0.007365915458649397,
0.008820584043860435,
-0.013506381772458553,
0.025090837851166725,
-0.01851397007703781,
0.026184042915701866,
-0.0026095882058143616,
0.07751182466745377,
0.07751182466745377,
-0.0041083381511271,
-0.013982455246150494,
0.019131101667881012,
0.0035176542587578297,
0.041294969618320465,
-0.04478617385029793,
-0.005567415151745081,
-0.01787038892507553,
0.04965270310640335,
0.06672082096338272,
-0.03179113194346428,
0.07405588030815125,
-0.03279617428779602,
0.0376274399459362,
0.028793631121516228,
-0.05370814725756645,
-0.0318969264626503,
-0.028775999322533607,
-0.012545418925583363,
0.007379139307886362,
-0.04944111779332161,
-0.06791982054710388,
-0.03129742667078972,
0.013144918717443943,
-0.06435808539390564,
0.029234440997242928,
-0.03794482350349426,
-0.01605425775051117,
-0.0038306284695863724,
0.013532830402255058,
0.024209219962358475,
-0.04277608543634415,
-0.008366551250219345,
-0.01776459440588951,
-0.013189000077545643,
-0.023680249229073524,
0.08632799983024597,
-0.008944010362029076,
0.015586999244987965,
-0.023979999125003815,
0.027012763544917107,
-0.005739330779761076,
-0.00472987862303853,
0.043657705187797546,
0.05018167570233345,
0.002827788470312953,
0.05176858603954315,
0.002962235128507018,
-0.07426746934652328,
0.020506426692008972,
0.006616540253162384,
0.026413263753056526,
0.01675955019891262,
-0.06947147101163864,
-0.04746629297733307,
-0.010667573660612106,
-0.014017719775438309,
0.0018932739039883018,
-0.010403088293969631,
-0.013823764398694038,
0.011760778725147247,
0.002658077050000429,
-0.028582043945789337,
0.03572314605116844,
-0.0674966424703598,
-0.025372955948114395,
0.004624084569513798,
-0.04661994054913521,
-0.013144918717443943,
0.04348137974739075,
0.013100838288664818,
0.04496249929070473,
0.039214350283145905,
0.029022851958870888,
-0.026378000155091286,
0.055083468556404114,
0.04760735109448433,
0.00019244059512857348,
0.0351589098572731,
-0.06696767359972,
-0.0066297645680606365,
0.06492232531309128,
-0.010112154297530651,
-0.012042896822094917,
-0.008855849504470825,
0.01799381524324417,
-0.04549146816134453,
0.040589675307273865,
0.002373755443841219,
-0.05254441127181053,
0.0012012040242552757,
0.011981183663010597,
0.05004061758518219,
-0.042917147278785706,
-0.0312797948718071,
-0.01950138248503208,
0.03348383679986,
0.06259485334157944,
-0.08132041245698929,
-0.003107702126726508,
0.006219812203198671,
0.04898267611861229,
-0.056282468140125275,
-0.07000043988227844,
0.028211763128638268,
-0.041788674890995026,
-0.040554411709308624,
-0.060020528733730316,
0.013039125129580498,
0.01734141819179058,
-0.03713373467326164,
-0.021899381652474403,
-0.0009383717551827431,
-0.05550664663314819,
0.014141147024929523,
-0.021017763763666153,
-0.004458781331777573,
0.027753323316574097,
-0.04750155657529831,
-0.020735645666718483,
-0.0012452849186956882,
-0.021105926483869553,
0.01792328618466854,
-0.03879117593169212,
-0.0031054981518536806,
-0.009794771671295166,
-0.010473617352545261,
-0.028899425640702248,
-0.0033611671533435583,
-0.028529146686196327,
-0.03348383679986,
-0.0007802316104061902,
-0.04979376494884491,
0.057939909398555756,
0.00816377904266119,
-0.03769797086715698,
0.0005149198113940656,
0.020647484809160233,
-0.03522944077849388,
0.039954911917448044,
0.07638335227966309,
0.015507654286921024,
-0.07793499529361725,
-0.10254976153373718,
0.04937058687210083,
-0.0005736024468205869,
0.05413132160902023,
0.09098293632268906,
-0.06724978983402252,
-0.01795855164527893,
-0.028546778485178947,
-0.010103338398039341,
0.043375588953495026,
0.010464801453053951,
0.041118644177913666,
-0.002699953969568014,
-0.0181084256619215,
-0.007083797827363014,
-0.040836527943611145,
0.005734922830015421,
-0.05349655821919441,
0.0351589098572731,
0.028035439550876617,
0.028529146686196327,
0.040483880788087845,
0.042670294642448425,
-0.01844344101846218,
0.03484153002500534,
-0.013100838288664818,
0.027453573420643806,
0.019854029640555382,
0.03720426559448242,
-0.00035788165405392647,
0.027224352583289146,
-0.024350278079509735,
0.021670160815119743,
0.057446204125881195,
-0.010870344936847687,
0.0374511182308197,
-0.00232306239195168,
0.07998035103082657,
-0.03092714585363865,
-0.06622711569070816,
0.03152664750814438,
-0.0711994394659996,
0.041682880371809006,
0.020206676796078682,
0.01677718386054039,
-0.013850213028490543,
0.028952322900295258,
-0.003645488992333412,
0.01574569009244442,
0.05205070599913597,
0.057410940527915955,
0.026889337226748466,
-0.025461116805672646,
0.01655677892267704,
-0.07112891227006912,
0.023521557450294495,
-0.01805552840232849,
-0.029322601854801178,
-0.04880635067820549,
0.0627359077334404,
0.03223194181919098,
0.011910653673112392,
-0.04552673548460007,
0.026131145656108856,
0.008326878771185875,
0.06594499945640564,
-0.01805552840232849,
0.06160743907094002,
0.040307559072971344,
0.04513882100582123,
0.0031826396007090807,
-0.06146638095378876,
0.06206588074564934,
0.026818808168172836,
-0.019942190498113632,
-0.011099565774202347,
0.027788586914539337,
0.027400676161050797,
-0.011372867040336132,
-0.014052985236048698,
0.019801132380962372,
-0.003920994233340025,
0.005426356568932533,
-0.07271581888198853,
0.0095831835642457,
-0.014881705865263939,
-0.00487534562125802,
-0.09831799566745758,
-0.027770955115556717,
0.042740821838378906,
0.04661994054913521,
0.014220491982996464,
0.03452414646744728,
-0.04446879401803017
]
|
41,777 | wield.bunch.bunch | __eq__ | Return self==value. | def gen_func(mname):
def func(self, *args, **kwargs):
return getattr(self._mydict, mname)(*args, **kwargs)
orig_func = getattr(dict, mname)
if orig_func is None:
return
func.__name__ = orig_func.__name__
func.__doc__ = orig_func.__doc__
return func
| (self, *args, **kwargs) | [
0.04386318102478981,
-0.045720577239990234,
0.05843661352992058,
0.007014358416199684,
-0.03711225092411041,
-0.0005516942474059761,
-0.015350326895713806,
0.02673582173883915,
0.03932683914899826,
-0.021592257544398308,
-0.023538954555988312,
0.07951094210147858,
0.053114451467990875,
0.019556263461709023,
-0.02041352353990078,
-0.0006368063623085618,
0.017663145437836647,
0.03268307074904442,
-0.043005917221307755,
-0.021002890542149544,
0.026860838755965233,
0.008018961176276207,
0.04789945110678673,
-0.027360908687114716,
0.026289332658052444,
0.06654487550258636,
-0.009831709787249565,
0.030164865776896477,
0.046327803283929825,
-0.06975959986448288,
-0.06515182554721832,
-0.04357742518186569,
0.02887897379696369,
0.06811651587486267,
0.013921558856964111,
-0.05104273930191994,
-0.014314469881355762,
0.0413985550403595,
-0.13166098296642303,
-0.05829373747110367,
0.09587033838033676,
-0.003627731464803219,
0.01608256995677948,
-0.0020639002323150635,
0.019449105486273766,
-0.014064435847103596,
-0.009581675752997398,
0.0349869579076767,
0.025164177641272545,
-0.01772565394639969,
0.010796128772199154,
-0.021288644522428513,
0.032790228724479675,
0.01397513784468174,
0.005505221895873547,
0.049506813287734985,
-0.00826006568968296,
0.03595137596130371,
0.03634428605437279,
0.02537849359214306,
-0.05186428129673004,
-0.009510237723588943,
-0.030647074803709984,
-0.023628251627087593,
-0.007742136716842651,
-0.025432070717215538,
-0.042720165103673935,
-0.010376428253948689,
-0.03189724683761597,
0.00008197277929866686,
-0.00029189285123720765,
0.0052685821428895,
0.02612859569489956,
-0.0024891819339245558,
-0.0038599062245339155,
0.007701952941715717,
-0.07158128172159195,
-0.1008710265159607,
0.04600633308291435,
-0.001475649536587298,
-0.05843661352992058,
-0.07140268385410309,
-0.07008107006549835,
-0.03450474888086319,
-0.05543620139360428,
-0.02907543070614338,
0.01910977251827717,
-0.07451025396585464,
-0.0009108396479859948,
-0.025199897587299347,
-0.04868527129292488,
0.024842705577611923,
-0.021645836532115936,
0.01268924679607153,
-0.06975959986448288,
-0.07272429764270782,
0.037612318992614746,
0.04836379736661911,
0.03250447288155556,
0.033361732959747314,
0.03189724683761597,
-0.0022648207377642393,
-0.02691441774368286,
0.009331641718745232,
0.0467207171022892,
-0.04547054320573807,
-0.010858637280762196,
-0.029146868735551834,
-0.006112448405474424,
-0.0178685300052166,
-0.020145630463957787,
-0.04568485915660858,
-0.00016255027730949223,
0.01189449429512024,
0.034754782915115356,
-0.00017454969929531217,
-0.01205523032695055,
-0.0016107127303257585,
-0.01446627639234066,
0.002286028815433383,
-0.013376841321587563,
-0.017716724425554276,
-0.0034669949673116207,
-0.03589779883623123,
-0.011653389781713486,
-0.010215691290795803,
0.0422200970351696,
0.002569549949839711,
0.08058252185583115,
-0.01683267392218113,
0.015859326347708702,
0.0016207587905228138,
0.025449931621551514,
0.02846820279955864,
0.02766452170908451,
-0.003203565953299403,
0.012823193334043026,
0.01868114247918129,
0.026092877611517906,
0.07061686366796494,
-0.009626325219869614,
0.03782663494348526,
-0.028307467699050903,
0.028575360774993896,
0.0016709888586774468,
-0.04957825317978859,
0.01634153537452221,
0.06708066165447235,
-0.026271473616361618,
-0.043184515088796616,
-0.02194944955408573,
0.02870037779211998,
-0.013287543319165707,
0.017314882948994637,
-0.005290906876325607,
0.02209232561290264,
-0.004643496125936508,
0.009474517777562141,
-0.06015113368630409,
-0.040755607187747955,
0.03964831307530403,
0.05454321950674057,
-0.03961259499192238,
-0.07436737418174744,
0.0459706112742424,
-0.017886390909552574,
0.08193984627723694,
-0.05897240340709686,
0.01345720887184143,
0.03418327495455742,
-0.06290151178836823,
-0.01296607032418251,
0.015564641915261745,
0.021056469529867172,
0.08808355033397675,
0.045756299048662186,
-0.03207584470510483,
0.02518203668296337,
0.00838954746723175,
0.029325464740395546,
0.03259377181529999,
0.030968546867370605,
-0.05586482957005501,
0.003031667321920395,
0.002402116311714053,
0.007384944707155228,
0.011849844828248024,
0.035558465868234634,
-0.0063133686780929565,
0.019270509481430054,
-0.01859184354543686,
0.003627731464803219,
0.02855750173330307,
-0.014519855380058289,
0.0274859257042408,
-0.05089986324310303,
-0.050864141434431076,
0.0368979349732399,
0.05918671563267708,
0.07551039010286331,
0.006817902438342571,
0.027325188741087914,
-0.048435237258672714,
0.06207997351884842,
0.025217756628990173,
0.03521913290023804,
0.042863041162490845,
0.010662181302905083,
-0.05897240340709686,
-0.02771810069680214,
0.007000963669270277,
-0.03121858276426792,
0.016421902924776077,
0.04975684732198715,
0.006942919921129942,
-0.0009945564670488238,
0.05300729349255562,
0.029093289747834206,
-0.05440034344792366,
0.04643496125936508,
0.039684031158685684,
0.026646524667739868,
0.030914969742298126,
-0.020860014483332634,
0.06729497760534286,
-0.03964831307530403,
0.0018674444872885942,
-0.05907955765724182,
-0.025807123631238937,
-0.012885701842606068,
0.029379043728113174,
-0.021842291578650475,
0.02948620170354843,
-0.025289194658398628,
-0.0077555314637720585,
-0.019913455471396446,
0.02327105961740017,
-0.018788300454616547,
0.02059211954474449,
0.010046025738120079,
0.006840227171778679,
0.10158541053533554,
0.033593907952308655,
0.05532904341816902,
0.01334112137556076,
0.003087478457018733,
0.016725515946745872,
0.06804507970809937,
-0.03843386098742485,
0.04007694497704506,
0.027093013748526573,
-0.01491276640444994,
-0.019395526498556137,
0.054186027497053146,
-0.03161149471998215,
0.06536614149808884,
-0.04004122316837311,
-0.003799630096182227,
-0.00022896566952113062,
-0.0003217518678866327,
0.018931176513433456,
-0.017966758459806442,
-0.05150708928704262,
-0.0021174789872020483,
0.03350461274385452,
-0.03364748880267143,
0.004862276371568441,
-0.004007247742265463,
-0.04732794314622879,
-0.004462667740881443,
0.059472471475601196,
0.028218168765306473,
-0.0010754828108474612,
-0.025735685601830482,
-0.013439349830150604,
-0.023771129548549652,
0.009358431212604046,
-0.03446903079748154,
-0.026628665626049042,
-0.030736373737454414,
0.026378629729151726,
-0.00952809676527977,
-0.0029825533274561167,
0.03605853393673897,
-0.02157439850270748,
0.02194944955408573,
-0.007014358416199684,
0.006469640415161848,
0.05529332533478737,
-0.027307329699397087,
0.0316472128033638,
-0.013394700363278389,
-0.008233276195824146,
0.02569996565580368,
0.012090949341654778,
-0.04054129496216774,
-0.011599810793995857,
-0.020395664498209953,
-0.0369693748652935,
0.024235477671027184,
0.02569996565580368,
0.010465726256370544,
-0.027128733694553375,
0.008862826973199844,
-0.025967858731746674,
0.006817902438342571,
-0.008202021941542625,
-0.03384394198656082,
-0.04232725501060486,
0.011296197772026062,
-0.032558053731918335,
0.04389889910817146,
-0.08629759401082993,
-0.011037233285605907,
0.015511062927544117,
0.05575767531991005,
0.013403630815446377,
0.028361046686768532,
0.06858086585998535,
0.07593902200460434,
0.0021654765587300062,
-0.0116801792755723,
-0.01636832393705845,
-0.02050282247364521,
0.028450343757867813,
-0.05465037748217583,
-0.042434412986040115,
-0.045291949063539505,
0.013225034810602665,
-0.026807261630892754,
-0.04939965531229973,
-0.033129557967185974,
0.02884325571358204,
0.00997458677738905,
-0.026021437719464302,
0.02612859569489956,
0.01088542677462101,
0.027039434760808945,
-0.04397033900022507,
-0.04461328312754631,
0.0482209213078022,
-0.015573571436107159,
-0.03896964713931084,
0.006456245668232441,
-0.023181762546300888,
0.04472044110298157,
-0.004603311885148287,
-0.007862688973546028,
0.06375877559185028,
-0.044077493250370026,
0.01268924679607153,
-0.05225719138979912,
0.02035994455218315,
0.02650364674627781,
0.04539910703897476,
0.04025553911924362,
0.033826082944869995,
-0.028396764770150185,
-0.05014975741505623,
-0.03462976589798927,
0.033772505819797516,
-0.017707794904708862,
-0.00745638320222497,
-0.02584284171462059,
0.0482209213078022,
0.010251411236822605,
0.002728054067119956,
0.014260890893638134,
0.037612318992614746,
-0.03161149471998215,
0.008728879503905773,
-0.006862551439553499,
0.005996360909193754,
0.017850670963525772,
-0.03882677108049393,
-0.031075704842805862,
0.02055639959871769,
-0.005924922414124012,
-0.028218168765306473,
0.0003577501338440925,
0.013260753825306892,
-0.013778681866824627,
0.06608052551746368,
0.02823602966964245,
0.03525485098361969,
-0.022949587553739548,
0.02327105961740017,
0.039862629026174545,
0.0006747580482624471,
-0.048613835126161575,
-0.020020611584186554,
-0.012314194813370705,
-0.0167433749884367,
0.030504198744893074,
0.012680316343903542,
-0.06958100199699402,
-0.026575086638331413,
-0.040148381143808365,
-0.04847095534205437,
-0.026753682643175125,
0.011305127292871475,
-0.003574152709916234,
-0.009679903276264668,
-0.00768855819478631,
-0.0068000429309904575,
-0.03212942183017731,
-0.021824432536959648,
0.04682787507772446,
0.03211156278848648,
0.03796951100230217,
-0.014546644873917103,
0.017966758459806442,
-0.07965382188558578,
-0.06468747556209564,
0.02228878252208233,
0.019127631559967995,
0.017654215916991234,
-0.028593221679329872,
-0.039684031158685684,
0.011921283788979053,
0.031147142872214317,
0.026932278648018837,
0.04504191502928734,
0.02027064748108387,
-0.016680866479873657,
-0.012564228847622871,
-0.011742687784135342,
0.012635667808353901,
-0.03843386098742485,
0.05111417919397354,
-0.03889821097254753,
-0.028289606794714928,
0.018877597525715828,
-0.016439761966466904,
0.0384695790708065,
-0.06708066165447235,
-0.04232725501060486,
-0.03034346178174019,
-0.00985849928110838,
0.026557225733995438,
0.02823602966964245,
-0.022449517622590065,
-0.0022536583710461855,
-0.04839951917529106,
-0.0383981429040432,
-0.02555708959698677,
0.009822780266404152,
0.008715485222637653,
0.061258431524038315,
-0.04518479108810425,
0.04011266306042671,
0.08315429836511612,
0.007130445446819067,
-0.03718368709087372,
0.10680041462182999,
-0.004056361969560385,
-0.0211100485175848,
-0.059472471475601196,
-0.0012244988465681672,
0.033022403717041016,
-0.04647068306803703,
0.01914549246430397,
0.009028027765452862,
0.016886252909898758,
-0.03582635894417763,
0.09022670239210129,
0.01205523032695055,
0.019413385540246964,
-0.02532491460442543,
-0.0274859257042408,
0.019591981545090675,
-0.01423410139977932,
-0.02243165858089924,
-0.0263964906334877,
0.001537041855044663,
0.0068714814260602,
-0.06368733942508698,
0.04786372929811478,
0.0038599062245339155,
0.010590743273496628,
0.026628665626049042,
-0.034576188772916794,
0.04186290502548218,
0.0398983471095562,
-0.015859326347708702,
0.02795027568936348,
0.01465380284935236,
-0.03786235302686691,
-0.01749347895383835,
-0.008911941200494766,
-0.054757535457611084,
0.0640445277094841,
0.08193984627723694,
-0.015109222382307053,
-0.0331474207341671,
0.009492377750575542,
0.04043413698673248,
0.03507625684142113,
-0.01413587387651205,
-0.052971575409173965,
-0.03455832600593567,
0.009956727735698223,
-0.07247426360845566,
0.04479187726974487,
-0.01217131782323122,
0.013483998365700245,
-0.01914549246430397,
0.012028440833091736,
-0.033772505819797516,
-0.0293611828237772,
-0.006112448405474424,
-0.03886249288916588,
-0.05168568342924118,
0.025217756628990173,
0.00022310548229143023,
-0.04600633308291435,
-0.022645974531769753,
-0.006433921400457621,
-0.0768677219748497,
-0.01318038534373045,
0.04504191502928734,
-0.005246257875114679,
-0.04500619322061539,
0.0014566737227141857,
-0.02921830676496029,
0.019074054434895515,
0.029879111796617508,
0.021592257544398308,
0.040005505084991455,
0.05375739932060242,
0.015055643394589424,
-0.01579681597650051,
0.005898133385926485,
0.04157714918255806,
-0.03718368709087372,
0.03211156278848648,
-0.04554198309779167,
-0.03882677108049393,
-0.042720165103673935,
0.04764941334724426,
0.014314469881355762,
0.008862826973199844,
0.018323950469493866,
0.006322298664599657,
0.023485375568270683,
-0.006916130427271128,
-0.020574260503053665,
-0.0331474207341671,
0.006643771659582853,
-0.052542947232723236,
-0.006009755656123161,
0.007974311709403992,
-0.03825526311993599,
-0.024146180599927902,
-0.0009192113066092134,
-0.00791180320084095,
0.01537711638957262,
-0.037469442933797836,
-0.03337959572672844,
0.00029579963302239776,
-0.015314607881009579,
0.06290151178836823,
0.08379724621772766,
0.010081744752824306,
-0.06529469788074493,
0.06422312557697296,
-0.006148167420178652,
0.04661355912685394,
-0.04100564494729042,
-0.034058257937431335,
-0.0018027034820988774,
-0.02330677956342697,
0.0714741200208664,
0.004109940491616726,
-0.03721940889954567,
0.05750791355967522,
0.05772222951054573,
-0.03861245512962341,
-0.006090123672038317,
-0.030361320823431015,
-0.03896964713931084,
0.007099191192537546,
-0.03768375888466835,
0.031075704842805862,
-0.07111693173646927,
-0.028682518750429153,
-0.02093145251274109,
0.04547054320573807,
0.02393186464905739,
-0.004786373116075993,
-0.05986538156867027,
-0.03173651173710823,
-0.07429593801498413,
-0.0015225309180095792,
0.024503372609615326,
0.0033442103303968906,
-0.006255325395613909,
0.039112526923418045,
-0.027735959738492966,
-0.02139580249786377,
-0.073938749730587,
0.0072420681826770306,
-0.022020887583494186,
0.03445117175579071,
-0.008353828452527523,
0.02214590460062027,
-0.006536613684147596,
-0.021413661539554596,
0.02125292457640171,
0.031165003776550293,
-0.035272710025310516,
-0.03936256095767021,
0.034004680812358856,
0.06722353398799896,
0.03825526311993599,
-0.009795990772545338,
-0.03843386098742485,
0.012930351309478283,
0.0497211292386055,
-0.026860838755965233,
-0.03536200895905495,
-0.01238563284277916,
-0.011260478757321835,
-0.002491414314135909,
0.011537302285432816,
-0.036165691912174225,
0.052364349365234375,
0.0026767076924443245,
0.025360632687807083,
0.014939555898308754,
-0.08179697394371033,
0.005366810131818056,
0.03398682177066803,
-0.09722767025232315,
0.04282732307910919,
0.02771810069680214,
0.01502885390073061,
0.030879249796271324,
-0.04804232716560364,
-0.028807535767555237,
0.0029446016997098923,
0.025074878707528114,
-0.005143565125763416,
-0.030789950862526894,
-0.028593221679329872,
0.04629208520054817,
0.006898270919919014,
-0.028575360774993896,
0.07443881779909134,
-0.04568485915660858,
-0.020234927535057068,
0.004007247742265463,
-0.006090123672038317,
0.07493888586759567,
0.0782964900135994,
-0.05529332533478737,
-0.035326290875673294,
-0.06775932759046555,
0.033772505819797516,
-0.030700653791427612,
-0.020467102527618408,
-0.07290288805961609,
-0.025164177641272545,
-0.04807804524898529,
-0.03241517394781113,
0.003279469208791852,
-0.03343317285180092,
-0.04100564494729042,
0.009706692770123482,
-0.046184927225112915,
0.05397171527147293,
0.04229153320193291,
0.013680454343557358,
-0.09458444267511368,
-0.022020887583494186,
0.006353552918881178,
0.07108121365308762,
0.010063884779810905,
0.020752856507897377,
0.01666300743818283,
0.007099191192537546,
0.05089986324310303,
-0.011805196292698383,
0.05843661352992058,
-0.012626737356185913,
-0.013680454343557358,
0.01760956645011902,
-0.012867842800915241,
-0.016037922352552414,
0.012028440833091736,
0.006804507691413164,
-0.039862629026174545,
0.009912078268826008,
0.010412147268652916,
-0.04714934527873993,
0.032754506915807724,
-0.00850563496351242,
-0.032790228724479675,
0.0021386872977018356,
0.026557225733995438,
-0.019591981545090675,
0.026842979714274406,
0.005554335657507181,
-0.018377529457211494,
0.003357604844495654,
-0.042863041162490845,
0.03028988279402256,
-0.019038334488868713,
0.024414073675870895,
-0.027164453640580177,
-0.0026052691973745823,
0.009956727735698223,
0.056436337530612946,
0.04414893314242363,
0.04432753100991249,
-0.06525897979736328,
-0.060329731553792953,
0.0640445277094841,
0.02812887169420719,
-0.014082294888794422,
0.030218444764614105,
-0.01549320388585329,
0.003310723463073373,
-0.012215967290103436,
-0.002661080565303564,
-0.008527959696948528,
-0.046506401151418686,
-0.036219269037246704,
-0.021878011524677277,
0.015430695377290249,
0.010340709239244461,
-0.021360082551836967,
-0.01891331747174263,
-0.008827107958495617,
-0.004661355633288622,
-0.03259377181529999,
0.015564641915261745,
0.014118014834821224,
-0.016850532963871956,
0.03327243775129318,
-0.09587033838033676,
0.08758348226547241,
-0.013367910869419575,
0.08672621846199036,
0.07065258175134659,
0.008282389491796494,
0.032700929790735245,
0.03605853393673897,
0.036308567970991135,
0.06340157985687256,
0.042255815118551254,
0.05043551325798035,
-0.032700929790735245,
0.01657371036708355,
0.02041352353990078,
-0.02584284171462059,
-0.020609978586435318,
-0.0009108396479859948,
0.022592395544052124,
-0.008885151706635952,
-0.034344013780355453,
0.025021301582455635,
-0.01296607032418251,
-0.039076805114746094,
0.01479667890816927,
-0.021467240527272224,
0.032700929790735245,
0.034754782915115356
]
|
41,778 | wield.bunch.bunch | __format__ | Default object formatter. | def gen_func(mname):
def func(self, *args, **kwargs):
return getattr(self._mydict, mname)(*args, **kwargs)
orig_func = getattr(dict, mname)
if orig_func is None:
return
func.__name__ = orig_func.__name__
func.__doc__ = orig_func.__doc__
return func
| (self, *args, **kwargs) | [
0.04386318102478981,
-0.045720577239990234,
0.05843661352992058,
0.007014358416199684,
-0.03711225092411041,
-0.0005516942474059761,
-0.015350326895713806,
0.02673582173883915,
0.03932683914899826,
-0.021592257544398308,
-0.023538954555988312,
0.07951094210147858,
0.053114451467990875,
0.019556263461709023,
-0.02041352353990078,
-0.0006368063623085618,
0.017663145437836647,
0.03268307074904442,
-0.043005917221307755,
-0.021002890542149544,
0.026860838755965233,
0.008018961176276207,
0.04789945110678673,
-0.027360908687114716,
0.026289332658052444,
0.06654487550258636,
-0.009831709787249565,
0.030164865776896477,
0.046327803283929825,
-0.06975959986448288,
-0.06515182554721832,
-0.04357742518186569,
0.02887897379696369,
0.06811651587486267,
0.013921558856964111,
-0.05104273930191994,
-0.014314469881355762,
0.0413985550403595,
-0.13166098296642303,
-0.05829373747110367,
0.09587033838033676,
-0.003627731464803219,
0.01608256995677948,
-0.0020639002323150635,
0.019449105486273766,
-0.014064435847103596,
-0.009581675752997398,
0.0349869579076767,
0.025164177641272545,
-0.01772565394639969,
0.010796128772199154,
-0.021288644522428513,
0.032790228724479675,
0.01397513784468174,
0.005505221895873547,
0.049506813287734985,
-0.00826006568968296,
0.03595137596130371,
0.03634428605437279,
0.02537849359214306,
-0.05186428129673004,
-0.009510237723588943,
-0.030647074803709984,
-0.023628251627087593,
-0.007742136716842651,
-0.025432070717215538,
-0.042720165103673935,
-0.010376428253948689,
-0.03189724683761597,
0.00008197277929866686,
-0.00029189285123720765,
0.0052685821428895,
0.02612859569489956,
-0.0024891819339245558,
-0.0038599062245339155,
0.007701952941715717,
-0.07158128172159195,
-0.1008710265159607,
0.04600633308291435,
-0.001475649536587298,
-0.05843661352992058,
-0.07140268385410309,
-0.07008107006549835,
-0.03450474888086319,
-0.05543620139360428,
-0.02907543070614338,
0.01910977251827717,
-0.07451025396585464,
-0.0009108396479859948,
-0.025199897587299347,
-0.04868527129292488,
0.024842705577611923,
-0.021645836532115936,
0.01268924679607153,
-0.06975959986448288,
-0.07272429764270782,
0.037612318992614746,
0.04836379736661911,
0.03250447288155556,
0.033361732959747314,
0.03189724683761597,
-0.0022648207377642393,
-0.02691441774368286,
0.009331641718745232,
0.0467207171022892,
-0.04547054320573807,
-0.010858637280762196,
-0.029146868735551834,
-0.006112448405474424,
-0.0178685300052166,
-0.020145630463957787,
-0.04568485915660858,
-0.00016255027730949223,
0.01189449429512024,
0.034754782915115356,
-0.00017454969929531217,
-0.01205523032695055,
-0.0016107127303257585,
-0.01446627639234066,
0.002286028815433383,
-0.013376841321587563,
-0.017716724425554276,
-0.0034669949673116207,
-0.03589779883623123,
-0.011653389781713486,
-0.010215691290795803,
0.0422200970351696,
0.002569549949839711,
0.08058252185583115,
-0.01683267392218113,
0.015859326347708702,
0.0016207587905228138,
0.025449931621551514,
0.02846820279955864,
0.02766452170908451,
-0.003203565953299403,
0.012823193334043026,
0.01868114247918129,
0.026092877611517906,
0.07061686366796494,
-0.009626325219869614,
0.03782663494348526,
-0.028307467699050903,
0.028575360774993896,
0.0016709888586774468,
-0.04957825317978859,
0.01634153537452221,
0.06708066165447235,
-0.026271473616361618,
-0.043184515088796616,
-0.02194944955408573,
0.02870037779211998,
-0.013287543319165707,
0.017314882948994637,
-0.005290906876325607,
0.02209232561290264,
-0.004643496125936508,
0.009474517777562141,
-0.06015113368630409,
-0.040755607187747955,
0.03964831307530403,
0.05454321950674057,
-0.03961259499192238,
-0.07436737418174744,
0.0459706112742424,
-0.017886390909552574,
0.08193984627723694,
-0.05897240340709686,
0.01345720887184143,
0.03418327495455742,
-0.06290151178836823,
-0.01296607032418251,
0.015564641915261745,
0.021056469529867172,
0.08808355033397675,
0.045756299048662186,
-0.03207584470510483,
0.02518203668296337,
0.00838954746723175,
0.029325464740395546,
0.03259377181529999,
0.030968546867370605,
-0.05586482957005501,
0.003031667321920395,
0.002402116311714053,
0.007384944707155228,
0.011849844828248024,
0.035558465868234634,
-0.0063133686780929565,
0.019270509481430054,
-0.01859184354543686,
0.003627731464803219,
0.02855750173330307,
-0.014519855380058289,
0.0274859257042408,
-0.05089986324310303,
-0.050864141434431076,
0.0368979349732399,
0.05918671563267708,
0.07551039010286331,
0.006817902438342571,
0.027325188741087914,
-0.048435237258672714,
0.06207997351884842,
0.025217756628990173,
0.03521913290023804,
0.042863041162490845,
0.010662181302905083,
-0.05897240340709686,
-0.02771810069680214,
0.007000963669270277,
-0.03121858276426792,
0.016421902924776077,
0.04975684732198715,
0.006942919921129942,
-0.0009945564670488238,
0.05300729349255562,
0.029093289747834206,
-0.05440034344792366,
0.04643496125936508,
0.039684031158685684,
0.026646524667739868,
0.030914969742298126,
-0.020860014483332634,
0.06729497760534286,
-0.03964831307530403,
0.0018674444872885942,
-0.05907955765724182,
-0.025807123631238937,
-0.012885701842606068,
0.029379043728113174,
-0.021842291578650475,
0.02948620170354843,
-0.025289194658398628,
-0.0077555314637720585,
-0.019913455471396446,
0.02327105961740017,
-0.018788300454616547,
0.02059211954474449,
0.010046025738120079,
0.006840227171778679,
0.10158541053533554,
0.033593907952308655,
0.05532904341816902,
0.01334112137556076,
0.003087478457018733,
0.016725515946745872,
0.06804507970809937,
-0.03843386098742485,
0.04007694497704506,
0.027093013748526573,
-0.01491276640444994,
-0.019395526498556137,
0.054186027497053146,
-0.03161149471998215,
0.06536614149808884,
-0.04004122316837311,
-0.003799630096182227,
-0.00022896566952113062,
-0.0003217518678866327,
0.018931176513433456,
-0.017966758459806442,
-0.05150708928704262,
-0.0021174789872020483,
0.03350461274385452,
-0.03364748880267143,
0.004862276371568441,
-0.004007247742265463,
-0.04732794314622879,
-0.004462667740881443,
0.059472471475601196,
0.028218168765306473,
-0.0010754828108474612,
-0.025735685601830482,
-0.013439349830150604,
-0.023771129548549652,
0.009358431212604046,
-0.03446903079748154,
-0.026628665626049042,
-0.030736373737454414,
0.026378629729151726,
-0.00952809676527977,
-0.0029825533274561167,
0.03605853393673897,
-0.02157439850270748,
0.02194944955408573,
-0.007014358416199684,
0.006469640415161848,
0.05529332533478737,
-0.027307329699397087,
0.0316472128033638,
-0.013394700363278389,
-0.008233276195824146,
0.02569996565580368,
0.012090949341654778,
-0.04054129496216774,
-0.011599810793995857,
-0.020395664498209953,
-0.0369693748652935,
0.024235477671027184,
0.02569996565580368,
0.010465726256370544,
-0.027128733694553375,
0.008862826973199844,
-0.025967858731746674,
0.006817902438342571,
-0.008202021941542625,
-0.03384394198656082,
-0.04232725501060486,
0.011296197772026062,
-0.032558053731918335,
0.04389889910817146,
-0.08629759401082993,
-0.011037233285605907,
0.015511062927544117,
0.05575767531991005,
0.013403630815446377,
0.028361046686768532,
0.06858086585998535,
0.07593902200460434,
0.0021654765587300062,
-0.0116801792755723,
-0.01636832393705845,
-0.02050282247364521,
0.028450343757867813,
-0.05465037748217583,
-0.042434412986040115,
-0.045291949063539505,
0.013225034810602665,
-0.026807261630892754,
-0.04939965531229973,
-0.033129557967185974,
0.02884325571358204,
0.00997458677738905,
-0.026021437719464302,
0.02612859569489956,
0.01088542677462101,
0.027039434760808945,
-0.04397033900022507,
-0.04461328312754631,
0.0482209213078022,
-0.015573571436107159,
-0.03896964713931084,
0.006456245668232441,
-0.023181762546300888,
0.04472044110298157,
-0.004603311885148287,
-0.007862688973546028,
0.06375877559185028,
-0.044077493250370026,
0.01268924679607153,
-0.05225719138979912,
0.02035994455218315,
0.02650364674627781,
0.04539910703897476,
0.04025553911924362,
0.033826082944869995,
-0.028396764770150185,
-0.05014975741505623,
-0.03462976589798927,
0.033772505819797516,
-0.017707794904708862,
-0.00745638320222497,
-0.02584284171462059,
0.0482209213078022,
0.010251411236822605,
0.002728054067119956,
0.014260890893638134,
0.037612318992614746,
-0.03161149471998215,
0.008728879503905773,
-0.006862551439553499,
0.005996360909193754,
0.017850670963525772,
-0.03882677108049393,
-0.031075704842805862,
0.02055639959871769,
-0.005924922414124012,
-0.028218168765306473,
0.0003577501338440925,
0.013260753825306892,
-0.013778681866824627,
0.06608052551746368,
0.02823602966964245,
0.03525485098361969,
-0.022949587553739548,
0.02327105961740017,
0.039862629026174545,
0.0006747580482624471,
-0.048613835126161575,
-0.020020611584186554,
-0.012314194813370705,
-0.0167433749884367,
0.030504198744893074,
0.012680316343903542,
-0.06958100199699402,
-0.026575086638331413,
-0.040148381143808365,
-0.04847095534205437,
-0.026753682643175125,
0.011305127292871475,
-0.003574152709916234,
-0.009679903276264668,
-0.00768855819478631,
-0.0068000429309904575,
-0.03212942183017731,
-0.021824432536959648,
0.04682787507772446,
0.03211156278848648,
0.03796951100230217,
-0.014546644873917103,
0.017966758459806442,
-0.07965382188558578,
-0.06468747556209564,
0.02228878252208233,
0.019127631559967995,
0.017654215916991234,
-0.028593221679329872,
-0.039684031158685684,
0.011921283788979053,
0.031147142872214317,
0.026932278648018837,
0.04504191502928734,
0.02027064748108387,
-0.016680866479873657,
-0.012564228847622871,
-0.011742687784135342,
0.012635667808353901,
-0.03843386098742485,
0.05111417919397354,
-0.03889821097254753,
-0.028289606794714928,
0.018877597525715828,
-0.016439761966466904,
0.0384695790708065,
-0.06708066165447235,
-0.04232725501060486,
-0.03034346178174019,
-0.00985849928110838,
0.026557225733995438,
0.02823602966964245,
-0.022449517622590065,
-0.0022536583710461855,
-0.04839951917529106,
-0.0383981429040432,
-0.02555708959698677,
0.009822780266404152,
0.008715485222637653,
0.061258431524038315,
-0.04518479108810425,
0.04011266306042671,
0.08315429836511612,
0.007130445446819067,
-0.03718368709087372,
0.10680041462182999,
-0.004056361969560385,
-0.0211100485175848,
-0.059472471475601196,
-0.0012244988465681672,
0.033022403717041016,
-0.04647068306803703,
0.01914549246430397,
0.009028027765452862,
0.016886252909898758,
-0.03582635894417763,
0.09022670239210129,
0.01205523032695055,
0.019413385540246964,
-0.02532491460442543,
-0.0274859257042408,
0.019591981545090675,
-0.01423410139977932,
-0.02243165858089924,
-0.0263964906334877,
0.001537041855044663,
0.0068714814260602,
-0.06368733942508698,
0.04786372929811478,
0.0038599062245339155,
0.010590743273496628,
0.026628665626049042,
-0.034576188772916794,
0.04186290502548218,
0.0398983471095562,
-0.015859326347708702,
0.02795027568936348,
0.01465380284935236,
-0.03786235302686691,
-0.01749347895383835,
-0.008911941200494766,
-0.054757535457611084,
0.0640445277094841,
0.08193984627723694,
-0.015109222382307053,
-0.0331474207341671,
0.009492377750575542,
0.04043413698673248,
0.03507625684142113,
-0.01413587387651205,
-0.052971575409173965,
-0.03455832600593567,
0.009956727735698223,
-0.07247426360845566,
0.04479187726974487,
-0.01217131782323122,
0.013483998365700245,
-0.01914549246430397,
0.012028440833091736,
-0.033772505819797516,
-0.0293611828237772,
-0.006112448405474424,
-0.03886249288916588,
-0.05168568342924118,
0.025217756628990173,
0.00022310548229143023,
-0.04600633308291435,
-0.022645974531769753,
-0.006433921400457621,
-0.0768677219748497,
-0.01318038534373045,
0.04504191502928734,
-0.005246257875114679,
-0.04500619322061539,
0.0014566737227141857,
-0.02921830676496029,
0.019074054434895515,
0.029879111796617508,
0.021592257544398308,
0.040005505084991455,
0.05375739932060242,
0.015055643394589424,
-0.01579681597650051,
0.005898133385926485,
0.04157714918255806,
-0.03718368709087372,
0.03211156278848648,
-0.04554198309779167,
-0.03882677108049393,
-0.042720165103673935,
0.04764941334724426,
0.014314469881355762,
0.008862826973199844,
0.018323950469493866,
0.006322298664599657,
0.023485375568270683,
-0.006916130427271128,
-0.020574260503053665,
-0.0331474207341671,
0.006643771659582853,
-0.052542947232723236,
-0.006009755656123161,
0.007974311709403992,
-0.03825526311993599,
-0.024146180599927902,
-0.0009192113066092134,
-0.00791180320084095,
0.01537711638957262,
-0.037469442933797836,
-0.03337959572672844,
0.00029579963302239776,
-0.015314607881009579,
0.06290151178836823,
0.08379724621772766,
0.010081744752824306,
-0.06529469788074493,
0.06422312557697296,
-0.006148167420178652,
0.04661355912685394,
-0.04100564494729042,
-0.034058257937431335,
-0.0018027034820988774,
-0.02330677956342697,
0.0714741200208664,
0.004109940491616726,
-0.03721940889954567,
0.05750791355967522,
0.05772222951054573,
-0.03861245512962341,
-0.006090123672038317,
-0.030361320823431015,
-0.03896964713931084,
0.007099191192537546,
-0.03768375888466835,
0.031075704842805862,
-0.07111693173646927,
-0.028682518750429153,
-0.02093145251274109,
0.04547054320573807,
0.02393186464905739,
-0.004786373116075993,
-0.05986538156867027,
-0.03173651173710823,
-0.07429593801498413,
-0.0015225309180095792,
0.024503372609615326,
0.0033442103303968906,
-0.006255325395613909,
0.039112526923418045,
-0.027735959738492966,
-0.02139580249786377,
-0.073938749730587,
0.0072420681826770306,
-0.022020887583494186,
0.03445117175579071,
-0.008353828452527523,
0.02214590460062027,
-0.006536613684147596,
-0.021413661539554596,
0.02125292457640171,
0.031165003776550293,
-0.035272710025310516,
-0.03936256095767021,
0.034004680812358856,
0.06722353398799896,
0.03825526311993599,
-0.009795990772545338,
-0.03843386098742485,
0.012930351309478283,
0.0497211292386055,
-0.026860838755965233,
-0.03536200895905495,
-0.01238563284277916,
-0.011260478757321835,
-0.002491414314135909,
0.011537302285432816,
-0.036165691912174225,
0.052364349365234375,
0.0026767076924443245,
0.025360632687807083,
0.014939555898308754,
-0.08179697394371033,
0.005366810131818056,
0.03398682177066803,
-0.09722767025232315,
0.04282732307910919,
0.02771810069680214,
0.01502885390073061,
0.030879249796271324,
-0.04804232716560364,
-0.028807535767555237,
0.0029446016997098923,
0.025074878707528114,
-0.005143565125763416,
-0.030789950862526894,
-0.028593221679329872,
0.04629208520054817,
0.006898270919919014,
-0.028575360774993896,
0.07443881779909134,
-0.04568485915660858,
-0.020234927535057068,
0.004007247742265463,
-0.006090123672038317,
0.07493888586759567,
0.0782964900135994,
-0.05529332533478737,
-0.035326290875673294,
-0.06775932759046555,
0.033772505819797516,
-0.030700653791427612,
-0.020467102527618408,
-0.07290288805961609,
-0.025164177641272545,
-0.04807804524898529,
-0.03241517394781113,
0.003279469208791852,
-0.03343317285180092,
-0.04100564494729042,
0.009706692770123482,
-0.046184927225112915,
0.05397171527147293,
0.04229153320193291,
0.013680454343557358,
-0.09458444267511368,
-0.022020887583494186,
0.006353552918881178,
0.07108121365308762,
0.010063884779810905,
0.020752856507897377,
0.01666300743818283,
0.007099191192537546,
0.05089986324310303,
-0.011805196292698383,
0.05843661352992058,
-0.012626737356185913,
-0.013680454343557358,
0.01760956645011902,
-0.012867842800915241,
-0.016037922352552414,
0.012028440833091736,
0.006804507691413164,
-0.039862629026174545,
0.009912078268826008,
0.010412147268652916,
-0.04714934527873993,
0.032754506915807724,
-0.00850563496351242,
-0.032790228724479675,
0.0021386872977018356,
0.026557225733995438,
-0.019591981545090675,
0.026842979714274406,
0.005554335657507181,
-0.018377529457211494,
0.003357604844495654,
-0.042863041162490845,
0.03028988279402256,
-0.019038334488868713,
0.024414073675870895,
-0.027164453640580177,
-0.0026052691973745823,
0.009956727735698223,
0.056436337530612946,
0.04414893314242363,
0.04432753100991249,
-0.06525897979736328,
-0.060329731553792953,
0.0640445277094841,
0.02812887169420719,
-0.014082294888794422,
0.030218444764614105,
-0.01549320388585329,
0.003310723463073373,
-0.012215967290103436,
-0.002661080565303564,
-0.008527959696948528,
-0.046506401151418686,
-0.036219269037246704,
-0.021878011524677277,
0.015430695377290249,
0.010340709239244461,
-0.021360082551836967,
-0.01891331747174263,
-0.008827107958495617,
-0.004661355633288622,
-0.03259377181529999,
0.015564641915261745,
0.014118014834821224,
-0.016850532963871956,
0.03327243775129318,
-0.09587033838033676,
0.08758348226547241,
-0.013367910869419575,
0.08672621846199036,
0.07065258175134659,
0.008282389491796494,
0.032700929790735245,
0.03605853393673897,
0.036308567970991135,
0.06340157985687256,
0.042255815118551254,
0.05043551325798035,
-0.032700929790735245,
0.01657371036708355,
0.02041352353990078,
-0.02584284171462059,
-0.020609978586435318,
-0.0009108396479859948,
0.022592395544052124,
-0.008885151706635952,
-0.034344013780355453,
0.025021301582455635,
-0.01296607032418251,
-0.039076805114746094,
0.01479667890816927,
-0.021467240527272224,
0.032700929790735245,
0.034754782915115356
]
|
41,779 | wield.bunch.bunch | __ge__ | Return self>=value. | def gen_func(mname):
def func(self, *args, **kwargs):
return getattr(self._mydict, mname)(*args, **kwargs)
orig_func = getattr(dict, mname)
if orig_func is None:
return
func.__name__ = orig_func.__name__
func.__doc__ = orig_func.__doc__
return func
| (self, *args, **kwargs) | [
0.04386318102478981,
-0.045720577239990234,
0.05843661352992058,
0.007014358416199684,
-0.03711225092411041,
-0.0005516942474059761,
-0.015350326895713806,
0.02673582173883915,
0.03932683914899826,
-0.021592257544398308,
-0.023538954555988312,
0.07951094210147858,
0.053114451467990875,
0.019556263461709023,
-0.02041352353990078,
-0.0006368063623085618,
0.017663145437836647,
0.03268307074904442,
-0.043005917221307755,
-0.021002890542149544,
0.026860838755965233,
0.008018961176276207,
0.04789945110678673,
-0.027360908687114716,
0.026289332658052444,
0.06654487550258636,
-0.009831709787249565,
0.030164865776896477,
0.046327803283929825,
-0.06975959986448288,
-0.06515182554721832,
-0.04357742518186569,
0.02887897379696369,
0.06811651587486267,
0.013921558856964111,
-0.05104273930191994,
-0.014314469881355762,
0.0413985550403595,
-0.13166098296642303,
-0.05829373747110367,
0.09587033838033676,
-0.003627731464803219,
0.01608256995677948,
-0.0020639002323150635,
0.019449105486273766,
-0.014064435847103596,
-0.009581675752997398,
0.0349869579076767,
0.025164177641272545,
-0.01772565394639969,
0.010796128772199154,
-0.021288644522428513,
0.032790228724479675,
0.01397513784468174,
0.005505221895873547,
0.049506813287734985,
-0.00826006568968296,
0.03595137596130371,
0.03634428605437279,
0.02537849359214306,
-0.05186428129673004,
-0.009510237723588943,
-0.030647074803709984,
-0.023628251627087593,
-0.007742136716842651,
-0.025432070717215538,
-0.042720165103673935,
-0.010376428253948689,
-0.03189724683761597,
0.00008197277929866686,
-0.00029189285123720765,
0.0052685821428895,
0.02612859569489956,
-0.0024891819339245558,
-0.0038599062245339155,
0.007701952941715717,
-0.07158128172159195,
-0.1008710265159607,
0.04600633308291435,
-0.001475649536587298,
-0.05843661352992058,
-0.07140268385410309,
-0.07008107006549835,
-0.03450474888086319,
-0.05543620139360428,
-0.02907543070614338,
0.01910977251827717,
-0.07451025396585464,
-0.0009108396479859948,
-0.025199897587299347,
-0.04868527129292488,
0.024842705577611923,
-0.021645836532115936,
0.01268924679607153,
-0.06975959986448288,
-0.07272429764270782,
0.037612318992614746,
0.04836379736661911,
0.03250447288155556,
0.033361732959747314,
0.03189724683761597,
-0.0022648207377642393,
-0.02691441774368286,
0.009331641718745232,
0.0467207171022892,
-0.04547054320573807,
-0.010858637280762196,
-0.029146868735551834,
-0.006112448405474424,
-0.0178685300052166,
-0.020145630463957787,
-0.04568485915660858,
-0.00016255027730949223,
0.01189449429512024,
0.034754782915115356,
-0.00017454969929531217,
-0.01205523032695055,
-0.0016107127303257585,
-0.01446627639234066,
0.002286028815433383,
-0.013376841321587563,
-0.017716724425554276,
-0.0034669949673116207,
-0.03589779883623123,
-0.011653389781713486,
-0.010215691290795803,
0.0422200970351696,
0.002569549949839711,
0.08058252185583115,
-0.01683267392218113,
0.015859326347708702,
0.0016207587905228138,
0.025449931621551514,
0.02846820279955864,
0.02766452170908451,
-0.003203565953299403,
0.012823193334043026,
0.01868114247918129,
0.026092877611517906,
0.07061686366796494,
-0.009626325219869614,
0.03782663494348526,
-0.028307467699050903,
0.028575360774993896,
0.0016709888586774468,
-0.04957825317978859,
0.01634153537452221,
0.06708066165447235,
-0.026271473616361618,
-0.043184515088796616,
-0.02194944955408573,
0.02870037779211998,
-0.013287543319165707,
0.017314882948994637,
-0.005290906876325607,
0.02209232561290264,
-0.004643496125936508,
0.009474517777562141,
-0.06015113368630409,
-0.040755607187747955,
0.03964831307530403,
0.05454321950674057,
-0.03961259499192238,
-0.07436737418174744,
0.0459706112742424,
-0.017886390909552574,
0.08193984627723694,
-0.05897240340709686,
0.01345720887184143,
0.03418327495455742,
-0.06290151178836823,
-0.01296607032418251,
0.015564641915261745,
0.021056469529867172,
0.08808355033397675,
0.045756299048662186,
-0.03207584470510483,
0.02518203668296337,
0.00838954746723175,
0.029325464740395546,
0.03259377181529999,
0.030968546867370605,
-0.05586482957005501,
0.003031667321920395,
0.002402116311714053,
0.007384944707155228,
0.011849844828248024,
0.035558465868234634,
-0.0063133686780929565,
0.019270509481430054,
-0.01859184354543686,
0.003627731464803219,
0.02855750173330307,
-0.014519855380058289,
0.0274859257042408,
-0.05089986324310303,
-0.050864141434431076,
0.0368979349732399,
0.05918671563267708,
0.07551039010286331,
0.006817902438342571,
0.027325188741087914,
-0.048435237258672714,
0.06207997351884842,
0.025217756628990173,
0.03521913290023804,
0.042863041162490845,
0.010662181302905083,
-0.05897240340709686,
-0.02771810069680214,
0.007000963669270277,
-0.03121858276426792,
0.016421902924776077,
0.04975684732198715,
0.006942919921129942,
-0.0009945564670488238,
0.05300729349255562,
0.029093289747834206,
-0.05440034344792366,
0.04643496125936508,
0.039684031158685684,
0.026646524667739868,
0.030914969742298126,
-0.020860014483332634,
0.06729497760534286,
-0.03964831307530403,
0.0018674444872885942,
-0.05907955765724182,
-0.025807123631238937,
-0.012885701842606068,
0.029379043728113174,
-0.021842291578650475,
0.02948620170354843,
-0.025289194658398628,
-0.0077555314637720585,
-0.019913455471396446,
0.02327105961740017,
-0.018788300454616547,
0.02059211954474449,
0.010046025738120079,
0.006840227171778679,
0.10158541053533554,
0.033593907952308655,
0.05532904341816902,
0.01334112137556076,
0.003087478457018733,
0.016725515946745872,
0.06804507970809937,
-0.03843386098742485,
0.04007694497704506,
0.027093013748526573,
-0.01491276640444994,
-0.019395526498556137,
0.054186027497053146,
-0.03161149471998215,
0.06536614149808884,
-0.04004122316837311,
-0.003799630096182227,
-0.00022896566952113062,
-0.0003217518678866327,
0.018931176513433456,
-0.017966758459806442,
-0.05150708928704262,
-0.0021174789872020483,
0.03350461274385452,
-0.03364748880267143,
0.004862276371568441,
-0.004007247742265463,
-0.04732794314622879,
-0.004462667740881443,
0.059472471475601196,
0.028218168765306473,
-0.0010754828108474612,
-0.025735685601830482,
-0.013439349830150604,
-0.023771129548549652,
0.009358431212604046,
-0.03446903079748154,
-0.026628665626049042,
-0.030736373737454414,
0.026378629729151726,
-0.00952809676527977,
-0.0029825533274561167,
0.03605853393673897,
-0.02157439850270748,
0.02194944955408573,
-0.007014358416199684,
0.006469640415161848,
0.05529332533478737,
-0.027307329699397087,
0.0316472128033638,
-0.013394700363278389,
-0.008233276195824146,
0.02569996565580368,
0.012090949341654778,
-0.04054129496216774,
-0.011599810793995857,
-0.020395664498209953,
-0.0369693748652935,
0.024235477671027184,
0.02569996565580368,
0.010465726256370544,
-0.027128733694553375,
0.008862826973199844,
-0.025967858731746674,
0.006817902438342571,
-0.008202021941542625,
-0.03384394198656082,
-0.04232725501060486,
0.011296197772026062,
-0.032558053731918335,
0.04389889910817146,
-0.08629759401082993,
-0.011037233285605907,
0.015511062927544117,
0.05575767531991005,
0.013403630815446377,
0.028361046686768532,
0.06858086585998535,
0.07593902200460434,
0.0021654765587300062,
-0.0116801792755723,
-0.01636832393705845,
-0.02050282247364521,
0.028450343757867813,
-0.05465037748217583,
-0.042434412986040115,
-0.045291949063539505,
0.013225034810602665,
-0.026807261630892754,
-0.04939965531229973,
-0.033129557967185974,
0.02884325571358204,
0.00997458677738905,
-0.026021437719464302,
0.02612859569489956,
0.01088542677462101,
0.027039434760808945,
-0.04397033900022507,
-0.04461328312754631,
0.0482209213078022,
-0.015573571436107159,
-0.03896964713931084,
0.006456245668232441,
-0.023181762546300888,
0.04472044110298157,
-0.004603311885148287,
-0.007862688973546028,
0.06375877559185028,
-0.044077493250370026,
0.01268924679607153,
-0.05225719138979912,
0.02035994455218315,
0.02650364674627781,
0.04539910703897476,
0.04025553911924362,
0.033826082944869995,
-0.028396764770150185,
-0.05014975741505623,
-0.03462976589798927,
0.033772505819797516,
-0.017707794904708862,
-0.00745638320222497,
-0.02584284171462059,
0.0482209213078022,
0.010251411236822605,
0.002728054067119956,
0.014260890893638134,
0.037612318992614746,
-0.03161149471998215,
0.008728879503905773,
-0.006862551439553499,
0.005996360909193754,
0.017850670963525772,
-0.03882677108049393,
-0.031075704842805862,
0.02055639959871769,
-0.005924922414124012,
-0.028218168765306473,
0.0003577501338440925,
0.013260753825306892,
-0.013778681866824627,
0.06608052551746368,
0.02823602966964245,
0.03525485098361969,
-0.022949587553739548,
0.02327105961740017,
0.039862629026174545,
0.0006747580482624471,
-0.048613835126161575,
-0.020020611584186554,
-0.012314194813370705,
-0.0167433749884367,
0.030504198744893074,
0.012680316343903542,
-0.06958100199699402,
-0.026575086638331413,
-0.040148381143808365,
-0.04847095534205437,
-0.026753682643175125,
0.011305127292871475,
-0.003574152709916234,
-0.009679903276264668,
-0.00768855819478631,
-0.0068000429309904575,
-0.03212942183017731,
-0.021824432536959648,
0.04682787507772446,
0.03211156278848648,
0.03796951100230217,
-0.014546644873917103,
0.017966758459806442,
-0.07965382188558578,
-0.06468747556209564,
0.02228878252208233,
0.019127631559967995,
0.017654215916991234,
-0.028593221679329872,
-0.039684031158685684,
0.011921283788979053,
0.031147142872214317,
0.026932278648018837,
0.04504191502928734,
0.02027064748108387,
-0.016680866479873657,
-0.012564228847622871,
-0.011742687784135342,
0.012635667808353901,
-0.03843386098742485,
0.05111417919397354,
-0.03889821097254753,
-0.028289606794714928,
0.018877597525715828,
-0.016439761966466904,
0.0384695790708065,
-0.06708066165447235,
-0.04232725501060486,
-0.03034346178174019,
-0.00985849928110838,
0.026557225733995438,
0.02823602966964245,
-0.022449517622590065,
-0.0022536583710461855,
-0.04839951917529106,
-0.0383981429040432,
-0.02555708959698677,
0.009822780266404152,
0.008715485222637653,
0.061258431524038315,
-0.04518479108810425,
0.04011266306042671,
0.08315429836511612,
0.007130445446819067,
-0.03718368709087372,
0.10680041462182999,
-0.004056361969560385,
-0.0211100485175848,
-0.059472471475601196,
-0.0012244988465681672,
0.033022403717041016,
-0.04647068306803703,
0.01914549246430397,
0.009028027765452862,
0.016886252909898758,
-0.03582635894417763,
0.09022670239210129,
0.01205523032695055,
0.019413385540246964,
-0.02532491460442543,
-0.0274859257042408,
0.019591981545090675,
-0.01423410139977932,
-0.02243165858089924,
-0.0263964906334877,
0.001537041855044663,
0.0068714814260602,
-0.06368733942508698,
0.04786372929811478,
0.0038599062245339155,
0.010590743273496628,
0.026628665626049042,
-0.034576188772916794,
0.04186290502548218,
0.0398983471095562,
-0.015859326347708702,
0.02795027568936348,
0.01465380284935236,
-0.03786235302686691,
-0.01749347895383835,
-0.008911941200494766,
-0.054757535457611084,
0.0640445277094841,
0.08193984627723694,
-0.015109222382307053,
-0.0331474207341671,
0.009492377750575542,
0.04043413698673248,
0.03507625684142113,
-0.01413587387651205,
-0.052971575409173965,
-0.03455832600593567,
0.009956727735698223,
-0.07247426360845566,
0.04479187726974487,
-0.01217131782323122,
0.013483998365700245,
-0.01914549246430397,
0.012028440833091736,
-0.033772505819797516,
-0.0293611828237772,
-0.006112448405474424,
-0.03886249288916588,
-0.05168568342924118,
0.025217756628990173,
0.00022310548229143023,
-0.04600633308291435,
-0.022645974531769753,
-0.006433921400457621,
-0.0768677219748497,
-0.01318038534373045,
0.04504191502928734,
-0.005246257875114679,
-0.04500619322061539,
0.0014566737227141857,
-0.02921830676496029,
0.019074054434895515,
0.029879111796617508,
0.021592257544398308,
0.040005505084991455,
0.05375739932060242,
0.015055643394589424,
-0.01579681597650051,
0.005898133385926485,
0.04157714918255806,
-0.03718368709087372,
0.03211156278848648,
-0.04554198309779167,
-0.03882677108049393,
-0.042720165103673935,
0.04764941334724426,
0.014314469881355762,
0.008862826973199844,
0.018323950469493866,
0.006322298664599657,
0.023485375568270683,
-0.006916130427271128,
-0.020574260503053665,
-0.0331474207341671,
0.006643771659582853,
-0.052542947232723236,
-0.006009755656123161,
0.007974311709403992,
-0.03825526311993599,
-0.024146180599927902,
-0.0009192113066092134,
-0.00791180320084095,
0.01537711638957262,
-0.037469442933797836,
-0.03337959572672844,
0.00029579963302239776,
-0.015314607881009579,
0.06290151178836823,
0.08379724621772766,
0.010081744752824306,
-0.06529469788074493,
0.06422312557697296,
-0.006148167420178652,
0.04661355912685394,
-0.04100564494729042,
-0.034058257937431335,
-0.0018027034820988774,
-0.02330677956342697,
0.0714741200208664,
0.004109940491616726,
-0.03721940889954567,
0.05750791355967522,
0.05772222951054573,
-0.03861245512962341,
-0.006090123672038317,
-0.030361320823431015,
-0.03896964713931084,
0.007099191192537546,
-0.03768375888466835,
0.031075704842805862,
-0.07111693173646927,
-0.028682518750429153,
-0.02093145251274109,
0.04547054320573807,
0.02393186464905739,
-0.004786373116075993,
-0.05986538156867027,
-0.03173651173710823,
-0.07429593801498413,
-0.0015225309180095792,
0.024503372609615326,
0.0033442103303968906,
-0.006255325395613909,
0.039112526923418045,
-0.027735959738492966,
-0.02139580249786377,
-0.073938749730587,
0.0072420681826770306,
-0.022020887583494186,
0.03445117175579071,
-0.008353828452527523,
0.02214590460062027,
-0.006536613684147596,
-0.021413661539554596,
0.02125292457640171,
0.031165003776550293,
-0.035272710025310516,
-0.03936256095767021,
0.034004680812358856,
0.06722353398799896,
0.03825526311993599,
-0.009795990772545338,
-0.03843386098742485,
0.012930351309478283,
0.0497211292386055,
-0.026860838755965233,
-0.03536200895905495,
-0.01238563284277916,
-0.011260478757321835,
-0.002491414314135909,
0.011537302285432816,
-0.036165691912174225,
0.052364349365234375,
0.0026767076924443245,
0.025360632687807083,
0.014939555898308754,
-0.08179697394371033,
0.005366810131818056,
0.03398682177066803,
-0.09722767025232315,
0.04282732307910919,
0.02771810069680214,
0.01502885390073061,
0.030879249796271324,
-0.04804232716560364,
-0.028807535767555237,
0.0029446016997098923,
0.025074878707528114,
-0.005143565125763416,
-0.030789950862526894,
-0.028593221679329872,
0.04629208520054817,
0.006898270919919014,
-0.028575360774993896,
0.07443881779909134,
-0.04568485915660858,
-0.020234927535057068,
0.004007247742265463,
-0.006090123672038317,
0.07493888586759567,
0.0782964900135994,
-0.05529332533478737,
-0.035326290875673294,
-0.06775932759046555,
0.033772505819797516,
-0.030700653791427612,
-0.020467102527618408,
-0.07290288805961609,
-0.025164177641272545,
-0.04807804524898529,
-0.03241517394781113,
0.003279469208791852,
-0.03343317285180092,
-0.04100564494729042,
0.009706692770123482,
-0.046184927225112915,
0.05397171527147293,
0.04229153320193291,
0.013680454343557358,
-0.09458444267511368,
-0.022020887583494186,
0.006353552918881178,
0.07108121365308762,
0.010063884779810905,
0.020752856507897377,
0.01666300743818283,
0.007099191192537546,
0.05089986324310303,
-0.011805196292698383,
0.05843661352992058,
-0.012626737356185913,
-0.013680454343557358,
0.01760956645011902,
-0.012867842800915241,
-0.016037922352552414,
0.012028440833091736,
0.006804507691413164,
-0.039862629026174545,
0.009912078268826008,
0.010412147268652916,
-0.04714934527873993,
0.032754506915807724,
-0.00850563496351242,
-0.032790228724479675,
0.0021386872977018356,
0.026557225733995438,
-0.019591981545090675,
0.026842979714274406,
0.005554335657507181,
-0.018377529457211494,
0.003357604844495654,
-0.042863041162490845,
0.03028988279402256,
-0.019038334488868713,
0.024414073675870895,
-0.027164453640580177,
-0.0026052691973745823,
0.009956727735698223,
0.056436337530612946,
0.04414893314242363,
0.04432753100991249,
-0.06525897979736328,
-0.060329731553792953,
0.0640445277094841,
0.02812887169420719,
-0.014082294888794422,
0.030218444764614105,
-0.01549320388585329,
0.003310723463073373,
-0.012215967290103436,
-0.002661080565303564,
-0.008527959696948528,
-0.046506401151418686,
-0.036219269037246704,
-0.021878011524677277,
0.015430695377290249,
0.010340709239244461,
-0.021360082551836967,
-0.01891331747174263,
-0.008827107958495617,
-0.004661355633288622,
-0.03259377181529999,
0.015564641915261745,
0.014118014834821224,
-0.016850532963871956,
0.03327243775129318,
-0.09587033838033676,
0.08758348226547241,
-0.013367910869419575,
0.08672621846199036,
0.07065258175134659,
0.008282389491796494,
0.032700929790735245,
0.03605853393673897,
0.036308567970991135,
0.06340157985687256,
0.042255815118551254,
0.05043551325798035,
-0.032700929790735245,
0.01657371036708355,
0.02041352353990078,
-0.02584284171462059,
-0.020609978586435318,
-0.0009108396479859948,
0.022592395544052124,
-0.008885151706635952,
-0.034344013780355453,
0.025021301582455635,
-0.01296607032418251,
-0.039076805114746094,
0.01479667890816927,
-0.021467240527272224,
0.032700929790735245,
0.034754782915115356
]
|
41,780 | wield.bunch.bunch | __getattr__ | null | def __getattr__(self, key):
try:
item = self._mydict[key]
except KeyError as E:
raise AttributeError(E)
if type(item) is dict:
return self.__class__(item)
return item
| (self, key) | [
0.05550690367817879,
-0.05074607580900192,
-0.008259311318397522,
0.010261022485792637,
-0.005567822139710188,
-0.031883105635643005,
0.035760294646024704,
0.0035480777733027935,
0.0710877850651741,
0.003324914025142789,
-0.004760826006531715,
0.08749821037054062,
0.04064735397696495,
0.019187571480870247,
-0.038050539791584015,
0.05254942178726196,
-0.0031671214383095503,
0.06639909744262695,
-0.005441587883979082,
-0.0038275958504527807,
0.03457009047269821,
0.04407370835542679,
0.03305527940392494,
0.022235222160816193,
0.019512172788381577,
0.02638291008770466,
0.04122442379593849,
0.0306388009339571,
0.10041014850139618,
-0.05016900599002838,
-0.03328971564769745,
-0.01249716803431511,
-0.007790442556142807,
0.06405474990606308,
-0.020161377266049385,
0.016491573303937912,
-0.03273067995905876,
0.009891337715089321,
-0.02140568383038044,
0.008335953578352928,
0.003286592895165086,
0.015310383401811123,
-0.007073613815009594,
-0.0670122355222702,
0.01969250664114952,
0.0015846878523007035,
-0.024723835289478302,
0.031720805913209915,
-0.004215314518660307,
-0.06856311112642288,
0.022740157321095467,
-0.005599380470812321,
0.017104709520936012,
-0.004449749365448952,
-0.017835063859820366,
0.032045409083366394,
-0.03613899648189545,
0.047283656895160675,
-0.02198275364935398,
0.036752134561538696,
-0.054100293666124344,
-0.009476568549871445,
-0.031197836622595787,
0.007835526019334793,
0.003793783253058791,
-0.07119598984718323,
-0.05994312837719917,
0.026563245803117752,
-0.019295772537589073,
-0.02059417963027954,
0.0019453564891591668,
0.02683374658226967,
-0.022559823468327522,
0.038050539791584015,
0.01701454259455204,
-0.021135181188583374,
-0.08360298722982407,
-0.07206159085035324,
0.03624719753861427,
0.026238642632961273,
-0.02385823056101799,
-0.006510068662464619,
-0.06571382284164429,
-0.03157654032111168,
-0.05716598033905029,
0.004034980200231075,
0.015833353623747826,
-0.05565116927027702,
-0.04612951725721359,
0.04562458395957947,
-0.05976279452443123,
0.03514716029167175,
-0.042919568717479706,
0.029196126386523247,
-0.010612674988806248,
-0.014381662011146545,
0.06030379608273506,
-0.030566666275262833,
-0.009305250830948353,
0.02773541770875454,
0.050673943012952805,
-0.017871130257844925,
0.01002658810466528,
-0.00001746108137012925,
-0.014958731830120087,
-0.023930363357067108,
-0.011406145989894867,
0.0009056163835339248,
0.006361293140798807,
0.005766189657151699,
0.003131054574623704,
-0.013786558993160725,
-0.07739949226379395,
0.05821191892027855,
0.015084966085851192,
0.014408712275326252,
-0.027176382020115852,
0.0069834464229643345,
0.037473469972610474,
-0.006023166235536337,
-0.022397521883249283,
-0.012902920134365559,
-0.022397521883249283,
0.03215361014008522,
0.021297482773661613,
0.002939449390396476,
-0.04522784799337387,
-0.022036854177713394,
0.07898642867803574,
0.039312880486249924,
-0.024002498015761375,
-0.010306105948984623,
-0.02937646023929119,
0.03112570382654667,
0.019782675430178642,
0.07336000353097916,
-0.027302615344524384,
0.035399626940488815,
0.004438478499650955,
0.07043858617544174,
0.03626523166894913,
-0.021297482773661613,
0.0008650411618873477,
0.005621922202408314,
0.006888770963996649,
-0.02659931220114231,
-0.01415624376386404,
0.0833144560456276,
0.012136499397456646,
-0.031179804354906082,
-0.05828405171632767,
0.04122442379593849,
0.04472291097044945,
0.05907752364873886,
0.014210344292223454,
-0.011225811205804348,
-0.05298222228884697,
0.00960280280560255,
-0.026292743161320686,
-0.0702943205833435,
-0.001296152942813933,
-0.0034240977838635445,
-0.010693824850022793,
-0.1041610985994339,
0.021477816626429558,
0.0039966595359146595,
0.006735486909747124,
-0.01626615598797798,
0.04905093461275101,
0.030115831643342972,
-0.051864150911569595,
-0.03006173111498356,
-0.03855547681450844,
0.002212476683780551,
0.018971169367432594,
0.026527177542448044,
-0.046922989189624786,
-0.0012048586504533887,
0.05110674723982811,
-0.019963009282946587,
0.005346912425011396,
0.004249127581715584,
-0.02537303790450096,
-0.013281622901558876,
0.020197443664073944,
0.0269599799066782,
0.011270894668996334,
0.0026013224851340055,
-0.02182045206427574,
0.10156428813934326,
-0.005189119838178158,
0.008245786651968956,
0.015499734319746494,
-0.05301829054951668,
0.01522021647542715,
-0.004814926069229841,
-0.018258849158883095,
0.02928629331290722,
-0.022235222160816193,
0.13164405524730682,
-0.04212609678506851,
-0.00016934519226197153,
-0.020269576460123062,
0.06556955724954605,
-0.03722100332379341,
-0.0012262733653187752,
0.04490324482321739,
-0.042991701513528824,
-0.030819134786725044,
-0.010080688633024693,
-0.06228747218847275,
-0.005806765053421259,
0.011162694543600082,
0.011361061595380306,
0.034011051058769226,
0.033596284687519073,
-0.014084110036492348,
-0.035688161849975586,
-0.022577855736017227,
0.0036089406348764896,
0.04259496554732323,
0.0010662266286090016,
-0.000850952579639852,
0.014742330648005009,
0.0033925394527614117,
-0.032297875732183456,
-0.02834855392575264,
0.011676646769046783,
-0.04198182746767998,
-0.0050538694486021996,
0.02421889826655388,
0.015562851913273335,
0.060051329433918,
-0.0005063449498265982,
0.022325389087200165,
-0.0588250532746315,
0.02127944864332676,
-0.031883105635643005,
0.05327075719833374,
0.022361455485224724,
0.039853885769844055,
0.026941947638988495,
-0.03451598808169365,
0.023299193009734154,
-0.016545673832297325,
0.017194876447319984,
0.010711858049035072,
0.05413636192679405,
-0.035688161849975586,
0.01002658810466528,
0.06463181972503662,
0.04212609678506851,
0.016040736809372902,
0.025391072034835815,
0.025517305359244347,
-0.0424867644906044,
-0.08086191117763519,
-0.018862970173358917,
0.009999537840485573,
-0.01237995084375143,
-0.012226666323840618,
0.014309528283774853,
0.008308903314173222,
0.01522021647542715,
-0.053451091051101685,
0.008885973133146763,
0.04490324482321739,
0.04558851569890976,
-0.002298135543242097,
0.039889950305223465,
0.024723835289478302,
-0.005806765053421259,
0.03209950774908066,
0.03422745317220688,
-0.021297482773661613,
0.022163087502121925,
0.012569301761686802,
-0.005869882181286812,
-0.033848751336336136,
-0.011117611080408096,
0.01002658810466528,
0.004981735721230507,
-0.0008363003726117313,
0.03693246841430664,
-0.01989087462425232,
-0.02398446388542652,
-0.004751809407025576,
0.06033986434340477,
0.03906041383743286,
0.04216216504573822,
0.08266524970531464,
-0.021946687251329422,
-0.0025877973530441523,
0.03689640015363693,
-0.013398840092122555,
-0.02879939042031765,
-0.09745266288518906,
-0.004715742543339729,
0.06459575146436691,
0.01685224287211895,
0.008660555817186832,
-0.019295772537589073,
-0.07033038139343262,
0.025517305359244347,
0.027915751561522484,
0.026238642632961273,
0.024417266249656677,
0.025300905108451843,
-0.05074607580900192,
0.05997919291257858,
-0.0077859340235590935,
0.04010635241866112,
-0.026202576234936714,
0.057454515248537064,
-0.021946687251329422,
-0.0036743117962032557,
-0.02773541770875454,
0.035814397037029266,
0.009765103459358215,
0.08302591741085052,
-0.04461470991373062,
0.0033113888930529356,
-0.031883105635643005,
0.01607680507004261,
0.003113021142780781,
-0.016554690897464752,
-0.018060481175780296,
0.0033113888930529356,
-0.01659075729548931,
-0.00016455506556667387,
0.02896169200539589,
-0.017898181453347206,
0.0015114269917830825,
-0.024399233981966972,
-0.013804592192173004,
0.011613530106842518,
0.003861408680677414,
0.016536656767129898,
0.004747300874441862,
-0.05074607580900192,
0.002551730489358306,
0.0010527016129344702,
-0.0036359906662255526,
-0.02659931220114231,
0.03631933033466339,
0.01533743366599083,
0.06171040236949921,
0.02214505337178707,
0.04338843747973442,
-0.057706981897354126,
-0.019061338156461716,
-0.055939704179763794,
0.042053963989019394,
0.03402908518910408,
-0.027104247361421585,
-0.03112570382654667,
0.01765473000705242,
-0.048798467963933945,
-0.025643540546298027,
-0.01682519167661667,
0.07054678350687027,
0.006090791430324316,
-0.06033986434340477,
-0.05099854618310928,
-0.021135181188583374,
-0.007799459155648947,
-0.03677016869187355,
-0.04432617500424385,
0.035724230110645294,
-0.05265761911869049,
0.006230550818145275,
-0.016996510326862335,
-0.06650729477405548,
0.029646961018443108,
0.007028529886156321,
0.012975053861737251,
0.022235222160816193,
0.04609345272183418,
0.01425542775541544,
0.018285900354385376,
-0.0028740782290697098,
-0.027717385441064835,
0.0019870586693286896,
0.026076342910528183,
0.04010635241866112,
-0.02389429695904255,
0.013119321316480637,
-0.004882551729679108,
0.02831248752772808,
0.010820059105753899,
-0.04273923486471176,
-0.03722100332379341,
-0.04443437606096268,
0.02627471089363098,
-0.009674936532974243,
-0.020107276737689972,
0.022992625832557678,
-0.07552400976419449,
-0.0001260931312572211,
0.01850230060517788,
0.020161377266049385,
-0.01675305888056755,
-0.02638291008770466,
0.032784778624773026,
0.045444246381521225,
0.027014080435037613,
-0.03328971564769745,
0.03193720802664757,
-0.015409567393362522,
-0.05972672626376152,
0.047860726714134216,
0.01827688328921795,
-0.06369408220052719,
-0.05182808265089989,
0.021315516903996468,
-0.011433195322751999,
0.040791623294353485,
0.012776686809957027,
-0.039276815950870514,
0.03424548730254173,
0.017546528950333595,
-0.028204286471009254,
-0.013038171455264091,
-0.04591311886906624,
-0.03541766107082367,
-0.005522738676518202,
-0.018772803246974945,
-0.030097797513008118,
0.024200865998864174,
0.020413843914866447,
-0.01652763970196247,
0.007749867159873247,
-0.007799459155648947,
-0.011974198743700981,
0.05608397349715233,
-0.03321758285164833,
-0.01972857490181923,
-0.027032114565372467,
-0.05298222228884697,
0.012524218298494816,
-0.03626523166894913,
-0.005960049107670784,
-0.014571012929081917,
-0.006302684545516968,
0.029845329001545906,
-0.06189073622226715,
0.029845329001545906,
0.054965898394584656,
0.07058285176753998,
-0.0755961462855339,
0.01041430700570345,
0.011676646769046783,
0.03480452299118042,
0.038663677871227264,
0.03051256574690342,
-0.03808660805225372,
-0.05381175875663757,
-0.010405289940536022,
0.09074422717094421,
0.017357178032398224,
-0.07033038139343262,
-0.020107276737689972,
-0.0055092135444283485,
-0.03256837651133537,
-0.04865419864654541,
0.05164774879813194,
0.0007359894225373864,
0.008687606081366539,
-0.021189281716942787,
-0.04522784799337387,
0.012325850315392017,
0.007970776408910751,
-0.003239255165681243,
-0.061097268015146255,
-0.030097797513008118,
0.020251544192433357,
0.014210344292223454,
0.004621067084372044,
-0.04897880181670189,
-0.04955587163567543,
0.003460164647549391,
-0.01525628287345171,
0.009512634947896004,
-0.008529813028872013,
-0.020900746807456017,
-0.011532379314303398,
-0.033848751336336136,
0.0445425771176815,
0.022613923996686935,
0.012253716588020325,
-0.006807620637118816,
0.054929833859205246,
0.016455506905913353,
0.0539199598133564,
0.0365537665784359,
-0.01147827971726656,
-0.03328971564769745,
0.01421936135739088,
0.014300511218607426,
-0.03273067995905876,
0.02295655943453312,
-0.03815874084830284,
0.01936790533363819,
0.03812267631292343,
-0.03431762009859085,
0.0019476106390357018,
-0.004470036830753088,
0.061097268015146255,
0.0412604920566082,
-0.05413636192679405,
0.034624189138412476,
0.007524449378252029,
0.012695536017417908,
-0.02847478911280632,
0.010594640858471394,
-0.008980648592114449,
-0.027176382020115852,
-0.034011051058769226,
0.008331445045769215,
0.031035536900162697,
0.07242225855588913,
0.0005088808829896152,
0.021351583302021027,
0.020774513483047485,
-0.035688161849975586,
0.03554389253258705,
0.024868102744221687,
0.03548979386687279,
-0.0023015167098492384,
0.03942108154296875,
-0.009566735476255417,
-0.000933793664444238,
-0.04796892777085304,
0.04176542907953262,
0.010125772096216679,
0.015644002705812454,
-0.06008739396929741,
-0.0053919958882033825,
-0.062323540449142456,
-0.0015474938554689288,
0.055867571383714676,
-0.0099093709141016,
0.04382123798131943,
-0.010468407534062862,
0.012037315405905247,
-0.05197235196828842,
-0.07862576097249985,
0.006577694322913885,
-0.021063048392534256,
-0.007226897869259119,
-0.041440825909376144,
0.013507040217518806,
-0.009485584683716297,
-0.02227128855884075,
0.026004208251833916,
-0.008015860803425312,
-0.003685582662001252,
-0.02957482822239399,
-0.015589902177453041,
0.044867176562547684,
0.021387649700045586,
0.00925115030258894,
0.05511016771197319,
0.006798603571951389,
-0.01820474863052368,
-0.026653412729501724,
-0.03525535762310028,
0.0849735289812088,
0.01587843708693981,
-0.03888007998466492,
0.009792153723537922,
0.035760294646024704,
0.0038997295778244734,
0.019800707697868347,
0.029953530058264732,
0.041116222739219666,
0.0029642453882843256,
-0.0026914896443486214,
-0.01895313709974289,
-0.048798467963933945,
0.0022846104111522436,
-0.005121494643390179,
-0.015553834848105907,
0.005847340449690819,
-0.07281899452209473,
-0.06106119975447655,
-0.01588745415210724,
0.013290639035403728,
-0.04566064849495888,
-0.0163382887840271,
-0.04490324482321739,
-0.04645412042737007,
-0.04995260760188103,
0.006568677723407745,
0.08785887807607651,
0.00010312868835171685,
0.024200865998864174,
-0.003410572884604335,
-0.029358426108956337,
0.0019746606703847647,
-0.0018416641978546977,
-0.007366656791418791,
0.042342498898506165,
0.05009687319397926,
0.04212609678506851,
0.016040736809372902,
-0.00017174026288557798,
0.003602178068831563,
-0.000989584601484239,
-0.06304487586021423,
-0.03334381431341171,
-0.0006125731160864234,
0.05547083541750908,
0.08670473843812943,
0.019151505082845688,
-0.030819134786725044,
-0.04039488732814789,
0.015598918311297894,
-0.011622547172009945,
-0.02111714892089367,
-0.03464222326874733,
-0.01972857490181923,
-0.04100802540779114,
0.05045754089951515,
-0.039889950305223465,
-0.03163063898682594,
0.03949321433901787,
-0.01791621372103691,
0.008858923800289631,
-0.022866390645503998,
0.009075324982404709,
0.03348808363080025,
0.024850068613886833,
-0.059546392410993576,
-0.06730076670646667,
0.05878898873925209,
0.04768039286136627,
0.025805840268731117,
-0.009738053195178509,
0.06845490634441376,
-0.014598063193261623,
-0.004404665902256966,
-0.04923126846551895,
0.025030402466654778,
-0.02941252663731575,
-0.030296165496110916,
-0.009864287450909615,
-0.0075469911098480225,
0.02912399172782898,
0.0028515364974737167,
-0.03402908518910408,
-0.024868102744221687,
-0.03815874084830284,
0.0031400714069604874,
0.02899775840342045,
-0.09593785554170609,
0.018484268337488174,
-0.035814397037029266,
-0.024399233981966972,
0.003960592672228813,
-0.05453309789299965,
-0.018484268337488174,
-0.05702171102166176,
-0.022776223719120026,
0.07130418717861176,
-0.04255889728665352,
-0.07076318562030792,
-0.056192174553871155,
0.037401337176561356,
-0.04465077817440033,
0.054641298949718475,
0.005653480999171734,
-0.034660257399082184,
-0.03060273453593254,
-0.07920283079147339,
-0.009021224454045296,
0.02598617598414421,
-0.004648116882890463,
0.08317019045352936,
-0.023479528725147247,
0.012650452554225922,
0.033433981239795685,
-0.0710877850651741,
0.08021270483732224,
-0.01743832789361477,
-0.00534240435808897,
0.0522969514131546,
-0.017636695876717567,
-0.016906341537833214,
-0.09896747022867203,
0.03363234922289848,
-0.07400920242071152,
-0.049772270023822784,
0.027645250782370567,
-0.041404757648706436,
-0.06026772782206535,
-0.03218967467546463,
-0.008809331804513931,
0.03231590986251831,
0.046922989189624786,
0.03599473088979721,
0.0008819475187920034,
0.003800545819103718,
-0.02544517256319523,
0.02198275364935398,
-0.007979793474078178,
-0.011334012262523174,
0.07101565599441528,
0.02418283186852932,
-0.015770236030220985,
-0.017898181453347206,
0.03035026602447033,
0.023713963106274605,
-0.030566666275262833,
0.021261416375637054,
-0.005730122793465853,
-0.03815874084830284,
0.0084757125005126,
-0.039565350860357285,
-0.002889857394620776,
0.0024300049990415573,
-0.024651700630784035,
0.010973343625664711,
0.03231590986251831,
0.02504843659698963,
-0.014020993374288082,
0.014417728409171104,
-0.04374910518527031,
-0.02766328491270542,
0.08511779457330704,
0.05182808265089989,
-0.0365537665784359,
-0.011153677478432655,
-0.022577855736017227,
0.010107738897204399,
-0.04302776977419853,
-0.057743050158023834,
0.023497560992836952,
0.05319862440228462,
0.08446859568357468,
-0.06791390478610992,
0.06070053204894066,
-0.000692032917868346,
0.03942108154296875,
0.013020137324929237,
-0.006794095505028963,
-0.00354356924071908,
0.05103461071848869,
-0.001965644070878625,
0.012452084571123123,
0.03202737495303154,
0.05052967742085457,
-0.0042198230512440205,
0.05907752364873886,
0.1245749443769455,
-0.04241463169455528,
-0.04281136766076088,
-0.020936815068125725,
0.07256653159856796,
0.006920329295098782,
-0.001359269954264164,
-0.04277529940009117,
-0.03913254663348198,
0.007046563550829887,
-0.007749867159873247,
-0.0007128841243684292,
0.012875869870185852,
-0.01804244890809059
]
|
41,781 | wield.bunch.bunch | __getitem__ | null | def __getitem__(self, key):
if isinstance(key, (slice, np.ndarray, MutableSequence)):
rebuild = dict()
for vkey, val in self._mydict.items():
if isinstance(val, np.ndarray):
val = val[key]
rebuild[vkey] = val
if not rebuild:
raise RuntimeError("Not holding arrays to index by {0}".format(key))
return Bunch(rebuild)
else:
return self._mydict[key]
| (self, key) | [
0.052791185677051544,
-0.07454559952020645,
-0.06952811032533646,
0.038025423884391785,
-0.0065496196039021015,
0.007871191017329693,
-0.04823960363864899,
0.011925503611564636,
0.08637254685163498,
-0.030122872442007065,
-0.010205220431089401,
0.039674028754234314,
0.025123300030827522,
-0.01312611810863018,
-0.026198478415608406,
-0.004703898914158344,
0.07834456115961075,
0.029656963422894478,
-0.04243364930152893,
0.036735210567712784,
-0.006361463572829962,
0.0026185037568211555,
0.05486986041069031,
0.0034562458749860525,
-0.008202703669667244,
0.010079783387482166,
0.06601586192846298,
-0.023492615669965744,
0.09454388916492462,
-0.055371612310409546,
-0.046196769922971725,
-0.041716866195201874,
0.02026708424091339,
0.07547742128372192,
0.012964841909706593,
-0.015760302543640137,
-0.002734981244429946,
-0.0026543429121375084,
0.04691355302929878,
0.08035155385732651,
0.0018266807310283184,
-0.05515657737851143,
0.01160295121371746,
-0.0636863112449646,
0.02177233248949051,
0.02763204649090767,
0.008363980799913406,
0.044906556606292725,
-0.009802029468119144,
-0.012131579220294952,
-0.008108626119792461,
-0.03349176049232483,
0.02051796019077301,
0.004945813678205013,
-0.025535451248288155,
0.06730607151985168,
0.005331085529178381,
0.08214351534843445,
-0.0005952672217972577,
0.01693403720855713,
-0.04100007936358452,
-0.05831042677164078,
-0.00027971400413662195,
-0.00841325893998146,
0.03211195021867752,
-0.040570009499788284,
-0.02356429398059845,
0.024549873545765877,
0.017095312476158142,
-0.03551667928695679,
-0.0022869908716529608,
0.022650394588708878,
-0.013350113295018673,
-0.02343885600566864,
-0.02066131681203842,
0.01808985136449337,
-0.08257358521223068,
-0.012588529847562313,
0.03392183035612106,
-0.0074008009396493435,
-0.01619037240743637,
0.01820633001625538,
-0.041107598692178726,
0.012328695505857468,
-0.032918334007263184,
0.009121084585785866,
0.01695195585489273,
0.01847512274980545,
0.031054692342877388,
0.009766190312802792,
-0.011916544288396835,
0.04103592038154602,
-0.001367490622214973,
0.0586329810321331,
0.010079783387482166,
-0.013341153971850872,
0.035480838268995285,
-0.04551582410931587,
-0.014792642556130886,
0.0028200994711369276,
-0.0010701370192691684,
-0.03603634610772133,
0.033706795424222946,
0.0165487639605999,
-0.01999829150736332,
0.031395167112350464,
0.006979689933359623,
0.006150907836854458,
-0.028850581496953964,
0.015204793773591518,
-0.005537161137908697,
0.0650123655796051,
-0.054977379739284515,
0.020087888464331627,
-0.06870380789041519,
0.057020217180252075,
-0.023743489757180214,
-0.00840877927839756,
-0.02713029831647873,
0.029728641733527184,
-0.029459847137331963,
0.01731930859386921,
-0.031789395958185196,
0.04780953377485275,
0.028492188081145287,
0.014935999177396297,
-0.01619037240743637,
0.059170570224523544,
0.017865857109427452,
-0.027237815782427788,
-0.024657391011714935,
-0.017229709774255753,
-0.0534721314907074,
0.02944192849099636,
0.044906556606292725,
0.0013663707068189979,
0.0010667770402505994,
-0.030517105013132095,
-0.017364107072353363,
0.06418806314468384,
-0.0036108025815337896,
0.02481866627931595,
0.005922432988882065,
0.043114595115184784,
0.030087033286690712,
-0.04802456870675087,
0.045659180730581284,
0.04469152167439461,
-0.012391413561999798,
-0.00867309421300888,
-0.04985237121582031,
0.058525461703538895,
0.020535878837108612,
0.010680090636014938,
0.04010409861803055,
-0.0382404588162899,
-0.003868396859616041,
-0.034853652119636536,
0.018815595656633377,
-0.010868246667087078,
-0.012705007568001747,
-0.023152142763137817,
-0.021844010800123215,
-0.06913387775421143,
-0.04533662647008896,
-0.00391991576179862,
0.014326732605695724,
-0.012274936772882938,
-0.019191907718777657,
0.04537246748805046,
-0.019317345693707466,
-0.013475550338625908,
-0.04379554092884064,
0.008771651424467564,
0.008695493452250957,
0.0369860865175724,
-0.0446198433637619,
0.019424863159656525,
0.011190799996256828,
0.010886166244745255,
-0.00009841788414632902,
-0.0012039741268381476,
-0.05397387966513634,
-0.02204112708568573,
-0.0023161103017628193,
0.036771051585674286,
0.0021145145874470472,
0.007391841150820255,
0.041716866195201874,
0.06483317166566849,
0.0013316514668986201,
0.022775830700993538,
0.02216656319797039,
-0.047594498842954636,
0.005577480420470238,
-0.014935999177396297,
-0.06060414016246796,
-0.003926635719835758,
-0.04687771201133728,
0.09640753269195557,
-0.03592882677912712,
-0.04315043240785599,
0.013305313885211945,
0.04637596383690834,
-0.05386636406183243,
0.01693403720855713,
0.04569501802325249,
-0.00703792879357934,
-0.002113394672051072,
0.002295950660482049,
-0.0445840023458004,
-0.06218106672167778,
0.005340045318007469,
-0.00999914575368166,
0.07734105736017227,
-0.026305995881557465,
-0.03734447807073593,
-0.018887273967266083,
-0.019424863159656525,
0.0005241487524472177,
0.09217850118875504,
-0.02981824055314064,
0.03426230326294899,
0.028563866391777992,
-0.05616007372736931,
0.005788035690784454,
-0.005250447429716587,
-0.0010919765336439013,
-0.028868500143289566,
0.008202703669667244,
0.043007075786590576,
0.004824856296181679,
0.005837314762175083,
-0.05838210508227348,
0.009461556561291218,
-0.008659654296934605,
-0.011307276785373688,
-0.00391767593100667,
0.1350422203540802,
0.0471285879611969,
0.028743062168359756,
0.052038561552762985,
0.017408905550837517,
0.014371531084179878,
-0.06537075340747833,
0.012481012381613255,
0.03492533043026924,
0.0611775666475296,
-0.027972519397735596,
0.02256079576909542,
0.01478368230164051,
0.016521885991096497,
0.008614854887127876,
0.0484188012778759,
0.05340045318007469,
-0.00012459732533898205,
-0.007011049427092075,
-0.017623942345380783,
0.0037295198999345303,
-0.04379554092884064,
-0.030122872442007065,
0.013296354562044144,
0.03044542670249939,
-0.008811971172690392,
-0.06103421002626419,
0.03234490379691124,
0.08479561656713486,
0.04648348316550255,
-0.02635975368320942,
0.0802081972360611,
-0.05569416284561157,
0.06458229571580887,
-0.002878338098526001,
-0.03354552015662193,
0.013215715996921062,
0.05633927136659622,
0.06218106672167778,
0.023367177695035934,
0.024549873545765877,
0.032291147857904434,
0.013009640388190746,
-0.015590065158903599,
-0.021861931309103966,
0.014183375053107738,
0.01458656694740057,
-0.0394589938223362,
-0.0054654828272759914,
0.01051881443709135,
0.029101455584168434,
0.001563486410304904,
0.037236958742141724,
0.0006327864248305559,
-0.03300793096423149,
0.0117911072447896,
-0.06959978491067886,
0.01344867143779993,
-0.0687754824757576,
-0.001617245259694755,
0.051895204931497574,
0.038132939487695694,
0.013816023245453835,
0.015240632928907871,
-0.02713029831647873,
0.0394948311150074,
0.022955026477575302,
-0.005882113706320524,
0.03741615638136864,
-0.0011983743170276284,
-0.046053409576416016,
0.027345333248376846,
-0.009362999349832535,
-0.007163366302847862,
-0.03539124131202698,
0.0260909590870142,
-0.01292900275439024,
-0.06332792341709137,
-0.01782105676829815,
0.027578288689255714,
0.016772760078310966,
0.0916767492890358,
-0.03591090813279152,
-0.03639473766088486,
-0.03910060226917267,
-0.018018173053860664,
0.037667032331228256,
-0.03512244671583176,
0.054224755614995956,
-0.04318627342581749,
-0.011325197294354439,
0.07221604883670807,
0.016199331730604172,
-0.023385098204016685,
-0.004513503052294254,
0.023367177695035934,
-0.015518386848270893,
0.019263586029410362,
-0.003660081420093775,
-0.004793497268110514,
-0.029728641733527184,
-0.035212043672800064,
-0.026664387434720993,
-0.042361970990896225,
-0.024298997595906258,
-0.010205220431089401,
0.0764809176325798,
-0.03881388530135155,
0.03005119413137436,
-0.003951275255531073,
0.031789395958185196,
-0.05207440257072449,
0.0034898449666798115,
-0.008328141644597054,
0.02446027472615242,
0.039566509425640106,
-0.013950420543551445,
-0.005366924684494734,
0.028850581496953964,
-0.05745028704404831,
-0.02713029831647873,
-0.02815171517431736,
0.07841623574495316,
0.012185337953269482,
-0.045659180730581284,
-0.04727194458246231,
0.007145446725189686,
-0.010939924977719784,
-0.04150182753801346,
-0.04659099876880646,
0.020428361371159554,
-0.03428022563457489,
0.014219215139746666,
-0.018439283594489098,
-0.05232527479529381,
0.06433141976594925,
0.017095312476158142,
-0.020732995122671127,
-0.02573256753385067,
0.028976017609238625,
-0.0120957400649786,
-0.03788206726312637,
0.000427550810854882,
0.019514460116624832,
0.027076538652181625,
0.04422561079263687,
-0.01287524402141571,
0.004520223010331392,
0.012337654829025269,
-0.026664387434720993,
0.020464200526475906,
-0.021360181272029877,
-0.011047442443668842,
-0.024442356079816818,
-0.030767979100346565,
0.01860056072473526,
-0.06063997745513916,
-0.03641266003251076,
0.07038825005292892,
-0.021360181272029877,
-0.01960405893623829,
-0.014703044667840004,
0.018833516165614128,
-0.03935147449374199,
-0.07361377775669098,
0.04651932045817375,
0.045910052955150604,
-0.04433312639594078,
-0.010339617729187012,
-0.00024093482352327555,
-0.022345760837197304,
-0.009098684415221214,
0.04687771201133728,
0.010653211735188961,
-0.028976017609238625,
-0.0035436039324849844,
0.045945893973112106,
0.004197669681161642,
-0.01731034927070141,
-0.03506868705153465,
-0.02014164812862873,
0.08508232980966568,
0.03705776482820511,
-0.03705776482820511,
-0.014084817841649055,
-0.021503537893295288,
-0.007154406514018774,
0.013493469916284084,
-0.04806040972471237,
-0.03453109785914421,
0.027291573584079742,
0.047056909650564194,
-0.019514460116624832,
-0.039315637201070786,
-0.015124155208468437,
0.010778648778796196,
-0.017283469438552856,
-0.0331333689391613,
-0.008251982741057873,
0.0172028299421072,
0.007929429411888123,
0.02713029831647873,
0.026019280776381493,
0.03397559002041817,
0.02790084108710289,
-0.000368472101399675,
-0.0019655576907098293,
-0.043257951736450195,
0.010509854182600975,
0.02929857186973095,
-0.004533662460744381,
-0.07676763087511063,
0.07626587897539139,
0.012472052127122879,
0.03549875691533089,
0.01363682746887207,
0.0878777951002121,
-0.023779328912496567,
-0.07063912600278854,
-0.014057938009500504,
0.07533406466245651,
-0.005662598647177219,
-0.02829507179558277,
0.01669212244451046,
-0.04433312639594078,
-0.03856301307678223,
0.00867309421300888,
-0.023761410266160965,
0.004383585881441832,
0.005537161137908697,
-0.009398838505148888,
-0.0021257144398987293,
-0.012373493984341621,
-0.04469152167439461,
0.014425290748476982,
-0.06583666801452637,
-0.004766617435961962,
0.04279204085469246,
0.017928574234247208,
0.05010324344038963,
-0.03263162076473236,
-0.030893417075276375,
-0.06590834259986877,
-0.06959978491067886,
-0.027470769360661507,
-0.005958272144198418,
-0.03537331894040108,
0.0025513051077723503,
-0.03322296589612961,
0.047952890396118164,
-0.029244812205433846,
0.04053416848182678,
-0.019586140289902687,
0.019209828227758408,
-0.01632476970553398,
0.0725385993719101,
0.04347298666834831,
0.015052476897835732,
0.00047262985026463866,
0.02865346521139145,
0.028097957372665405,
0.011755267158150673,
0.006451061461120844,
-0.006280825007706881,
0.014040018431842327,
0.03322296589612961,
-0.03809710219502449,
-0.02431691810488701,
0.013609947636723518,
0.045659180730581284,
0.011495432816445827,
-0.07841623574495316,
-0.03404726833105087,
0.0004776697314810008,
-0.01293796207755804,
-0.03429814428091049,
0.027954598888754845,
0.008847810328006744,
-0.060962531715631485,
-0.0004110311856493354,
-0.024281078949570656,
0.007423200644552708,
0.05365132912993431,
0.009416758082807064,
0.013269474729895592,
0.004927894100546837,
0.006867692340165377,
0.003333048429340124,
-0.004040873143821955,
-0.04064168781042099,
-0.023349259048700333,
0.03531956300139427,
-0.04730778560042381,
-0.008435659110546112,
0.030875496566295624,
0.06727023422718048,
0.007812952622771263,
0.013135078363120556,
0.040713366121053696,
-0.026538949459791183,
-0.008659654296934605,
0.04917142540216446,
0.006334584206342697,
0.042361970990896225,
0.08830786496400833,
-0.054475631564855576,
0.045049913227558136,
0.035355400294065475,
-0.019514460116624832,
-0.02571464702486992,
0.039674028754234314,
-0.012337654829025269,
-0.024549873545765877,
0.024137722328305244,
0.06995818018913269,
0.026162637397646904,
0.021180985495448112,
-0.018054012209177017,
-0.029639042913913727,
-0.07848791778087616,
-0.023994365707039833,
-0.01094888523221016,
0.013439711183309555,
-0.006106108892709017,
0.06304121017456055,
0.04791704937815666,
-0.04791704937815666,
0.04404641315340996,
-0.03578547015786171,
0.04576669633388519,
0.009192762896418571,
-0.04526494815945625,
-0.011826946400105953,
-0.004441824741661549,
-0.02189777046442032,
0.025123300030827522,
0.02585800550878048,
0.0280441977083683,
-0.00783983152359724,
-0.014031059108674526,
-0.06322040408849716,
-0.026037201285362244,
-0.01472096424549818,
0.004381346050649881,
0.059421442449092865,
0.03161020204424858,
0.01285732351243496,
0.02241743914783001,
-0.0031919314060360193,
0.028474269434809685,
-0.02433483675122261,
-0.02996159717440605,
0.030785899609327316,
-0.021216824650764465,
-0.003236730583012104,
-0.006195706780999899,
0.04533662647008896,
0.005832834634929895,
-0.06483317166566849,
0.016262050718069077,
-0.00039983142050914466,
-0.03261369839310646,
0.024675309658050537,
-0.038276299834251404,
0.0012465332401916385,
0.010267939418554306,
-0.03594674915075302,
0.00030911335488781333,
0.045802537351846695,
0.06540659815073013,
0.046304285526275635,
-0.0535079725086689,
-0.06286200881004333,
0.010841366834938526,
0.005138449836522341,
-0.004551582504063845,
0.016871318221092224,
-0.03410102799534798,
-0.028760982677340508,
0.043759699910879135,
-0.0025109860580414534,
-0.005160849075764418,
-0.03083965741097927,
-0.005913473200052977,
-0.02763204649090767,
0.03030207008123398,
-0.0382046215236187,
-0.08293198049068451,
0.06042494252324104,
0.0015130875399336219,
0.021611055359244347,
-0.03589298948645592,
0.012588529847562313,
0.03044542670249939,
0.05952896177768707,
-0.02967488206923008,
-0.0009469396900385618,
-0.0178389772772789,
0.010357537306845188,
0.029388168826699257,
0.003194171469658613,
0.09669424593448639,
-0.002457227325066924,
-0.0560883954167366,
-0.0062942649237811565,
0.007562077604234219,
-0.008959807455539703,
-0.04178854450583458,
0.013251555152237415,
-0.001030377927236259,
0.042218614369630814,
-0.008637254126369953,
-0.010465055704116821,
-0.022972946986556053,
-0.06856045126914978,
-0.013278434984385967,
-0.007288803346455097,
0.0012890923535451293,
0.07031656801700592,
-0.062109384685754776,
-0.0712842270731926,
0.011289357207715511,
-0.05271950736641884,
-0.01668316125869751,
-0.09110332280397415,
-0.07189349830150604,
0.0943288579583168,
-0.03576755151152611,
-0.011800066567957401,
-0.015634864568710327,
0.03669937327504158,
0.03417270630598068,
0.01241829339414835,
-0.04168102517724037,
-0.08450890332460403,
-0.020195405930280685,
0.031054692342877388,
0.003942315466701984,
0.015204793773591518,
0.015392949804663658,
0.026431431993842125,
-0.03449526056647301,
0.04917142540216446,
0.05494153872132301,
-0.012373493984341621,
0.07855959236621857,
-0.015715502202510834,
0.028868500143289566,
0.014801601879298687,
0.00981098972260952,
-0.0248365867882967,
-0.06078333407640457,
0.06060414016246796,
-0.045444145798683167,
0.04135847091674805,
-0.03809710219502449,
-0.06347128003835678,
0.020285004749894142,
-0.02306254394352436,
-0.00007216844824142754,
-0.027417011559009552,
0.010456095449626446,
-0.009398838505148888,
0.02533833682537079,
-0.037667032331228256,
0.0008909408934414387,
-0.032936252653598785,
0.014756803400814533,
-0.021808171644806862,
0.03680688887834549,
0.005577480420470238,
-0.03094717487692833,
0.013161957263946533,
0.017489545047283173,
0.0330796092748642,
-0.0611775666475296,
0.030767979100346565,
-0.004372386261820793,
-0.03639473766088486,
-0.025822166353464127,
-0.0009351799380965531,
0.02456779219210148,
0.02904769591987133,
0.005241487640887499,
0.035212043672800064,
0.04702106863260269,
-0.02230992168188095,
-0.01947862096130848,
0.048347122967243195,
-0.05211023986339569,
-0.05207440257072449,
0.060460783541202545,
0.014048978686332703,
-0.04533662647008896,
0.02600136213004589,
-0.02661062777042389,
-0.017785217612981796,
-0.03354552015662193,
-0.07354210317134857,
-0.026323914527893066,
0.04877719283103943,
0.018009213730692863,
-0.031162211671471596,
0.004636700265109539,
-0.046053409576416016,
0.023600133135914803,
-0.005613319575786591,
-0.025786327198147774,
-0.013099239207804203,
0.025660889223217964,
-0.014111696742475033,
-0.03705776482820511,
0.02575048804283142,
0.06655345112085342,
-0.026270156726241112,
0.06228858232498169,
0.050139084458351135,
-0.05515657737851143,
-0.008816450834274292,
-0.021700654178857803,
0.02854594774544239,
-0.014479049481451511,
-0.055335771292448044,
-0.02915521338582039,
-0.07278947532176971,
0.04393889755010605,
-0.06322040408849716,
-0.01255269069224596,
0.0032031312584877014,
-0.007803992368280888
]
|
41,782 | wield.bunch.bunch | __gt__ | Return self>value. | def gen_func(mname):
def func(self, *args, **kwargs):
return getattr(self._mydict, mname)(*args, **kwargs)
orig_func = getattr(dict, mname)
if orig_func is None:
return
func.__name__ = orig_func.__name__
func.__doc__ = orig_func.__doc__
return func
| (self, *args, **kwargs) | [
0.04386318102478981,
-0.045720577239990234,
0.05843661352992058,
0.007014358416199684,
-0.03711225092411041,
-0.0005516942474059761,
-0.015350326895713806,
0.02673582173883915,
0.03932683914899826,
-0.021592257544398308,
-0.023538954555988312,
0.07951094210147858,
0.053114451467990875,
0.019556263461709023,
-0.02041352353990078,
-0.0006368063623085618,
0.017663145437836647,
0.03268307074904442,
-0.043005917221307755,
-0.021002890542149544,
0.026860838755965233,
0.008018961176276207,
0.04789945110678673,
-0.027360908687114716,
0.026289332658052444,
0.06654487550258636,
-0.009831709787249565,
0.030164865776896477,
0.046327803283929825,
-0.06975959986448288,
-0.06515182554721832,
-0.04357742518186569,
0.02887897379696369,
0.06811651587486267,
0.013921558856964111,
-0.05104273930191994,
-0.014314469881355762,
0.0413985550403595,
-0.13166098296642303,
-0.05829373747110367,
0.09587033838033676,
-0.003627731464803219,
0.01608256995677948,
-0.0020639002323150635,
0.019449105486273766,
-0.014064435847103596,
-0.009581675752997398,
0.0349869579076767,
0.025164177641272545,
-0.01772565394639969,
0.010796128772199154,
-0.021288644522428513,
0.032790228724479675,
0.01397513784468174,
0.005505221895873547,
0.049506813287734985,
-0.00826006568968296,
0.03595137596130371,
0.03634428605437279,
0.02537849359214306,
-0.05186428129673004,
-0.009510237723588943,
-0.030647074803709984,
-0.023628251627087593,
-0.007742136716842651,
-0.025432070717215538,
-0.042720165103673935,
-0.010376428253948689,
-0.03189724683761597,
0.00008197277929866686,
-0.00029189285123720765,
0.0052685821428895,
0.02612859569489956,
-0.0024891819339245558,
-0.0038599062245339155,
0.007701952941715717,
-0.07158128172159195,
-0.1008710265159607,
0.04600633308291435,
-0.001475649536587298,
-0.05843661352992058,
-0.07140268385410309,
-0.07008107006549835,
-0.03450474888086319,
-0.05543620139360428,
-0.02907543070614338,
0.01910977251827717,
-0.07451025396585464,
-0.0009108396479859948,
-0.025199897587299347,
-0.04868527129292488,
0.024842705577611923,
-0.021645836532115936,
0.01268924679607153,
-0.06975959986448288,
-0.07272429764270782,
0.037612318992614746,
0.04836379736661911,
0.03250447288155556,
0.033361732959747314,
0.03189724683761597,
-0.0022648207377642393,
-0.02691441774368286,
0.009331641718745232,
0.0467207171022892,
-0.04547054320573807,
-0.010858637280762196,
-0.029146868735551834,
-0.006112448405474424,
-0.0178685300052166,
-0.020145630463957787,
-0.04568485915660858,
-0.00016255027730949223,
0.01189449429512024,
0.034754782915115356,
-0.00017454969929531217,
-0.01205523032695055,
-0.0016107127303257585,
-0.01446627639234066,
0.002286028815433383,
-0.013376841321587563,
-0.017716724425554276,
-0.0034669949673116207,
-0.03589779883623123,
-0.011653389781713486,
-0.010215691290795803,
0.0422200970351696,
0.002569549949839711,
0.08058252185583115,
-0.01683267392218113,
0.015859326347708702,
0.0016207587905228138,
0.025449931621551514,
0.02846820279955864,
0.02766452170908451,
-0.003203565953299403,
0.012823193334043026,
0.01868114247918129,
0.026092877611517906,
0.07061686366796494,
-0.009626325219869614,
0.03782663494348526,
-0.028307467699050903,
0.028575360774993896,
0.0016709888586774468,
-0.04957825317978859,
0.01634153537452221,
0.06708066165447235,
-0.026271473616361618,
-0.043184515088796616,
-0.02194944955408573,
0.02870037779211998,
-0.013287543319165707,
0.017314882948994637,
-0.005290906876325607,
0.02209232561290264,
-0.004643496125936508,
0.009474517777562141,
-0.06015113368630409,
-0.040755607187747955,
0.03964831307530403,
0.05454321950674057,
-0.03961259499192238,
-0.07436737418174744,
0.0459706112742424,
-0.017886390909552574,
0.08193984627723694,
-0.05897240340709686,
0.01345720887184143,
0.03418327495455742,
-0.06290151178836823,
-0.01296607032418251,
0.015564641915261745,
0.021056469529867172,
0.08808355033397675,
0.045756299048662186,
-0.03207584470510483,
0.02518203668296337,
0.00838954746723175,
0.029325464740395546,
0.03259377181529999,
0.030968546867370605,
-0.05586482957005501,
0.003031667321920395,
0.002402116311714053,
0.007384944707155228,
0.011849844828248024,
0.035558465868234634,
-0.0063133686780929565,
0.019270509481430054,
-0.01859184354543686,
0.003627731464803219,
0.02855750173330307,
-0.014519855380058289,
0.0274859257042408,
-0.05089986324310303,
-0.050864141434431076,
0.0368979349732399,
0.05918671563267708,
0.07551039010286331,
0.006817902438342571,
0.027325188741087914,
-0.048435237258672714,
0.06207997351884842,
0.025217756628990173,
0.03521913290023804,
0.042863041162490845,
0.010662181302905083,
-0.05897240340709686,
-0.02771810069680214,
0.007000963669270277,
-0.03121858276426792,
0.016421902924776077,
0.04975684732198715,
0.006942919921129942,
-0.0009945564670488238,
0.05300729349255562,
0.029093289747834206,
-0.05440034344792366,
0.04643496125936508,
0.039684031158685684,
0.026646524667739868,
0.030914969742298126,
-0.020860014483332634,
0.06729497760534286,
-0.03964831307530403,
0.0018674444872885942,
-0.05907955765724182,
-0.025807123631238937,
-0.012885701842606068,
0.029379043728113174,
-0.021842291578650475,
0.02948620170354843,
-0.025289194658398628,
-0.0077555314637720585,
-0.019913455471396446,
0.02327105961740017,
-0.018788300454616547,
0.02059211954474449,
0.010046025738120079,
0.006840227171778679,
0.10158541053533554,
0.033593907952308655,
0.05532904341816902,
0.01334112137556076,
0.003087478457018733,
0.016725515946745872,
0.06804507970809937,
-0.03843386098742485,
0.04007694497704506,
0.027093013748526573,
-0.01491276640444994,
-0.019395526498556137,
0.054186027497053146,
-0.03161149471998215,
0.06536614149808884,
-0.04004122316837311,
-0.003799630096182227,
-0.00022896566952113062,
-0.0003217518678866327,
0.018931176513433456,
-0.017966758459806442,
-0.05150708928704262,
-0.0021174789872020483,
0.03350461274385452,
-0.03364748880267143,
0.004862276371568441,
-0.004007247742265463,
-0.04732794314622879,
-0.004462667740881443,
0.059472471475601196,
0.028218168765306473,
-0.0010754828108474612,
-0.025735685601830482,
-0.013439349830150604,
-0.023771129548549652,
0.009358431212604046,
-0.03446903079748154,
-0.026628665626049042,
-0.030736373737454414,
0.026378629729151726,
-0.00952809676527977,
-0.0029825533274561167,
0.03605853393673897,
-0.02157439850270748,
0.02194944955408573,
-0.007014358416199684,
0.006469640415161848,
0.05529332533478737,
-0.027307329699397087,
0.0316472128033638,
-0.013394700363278389,
-0.008233276195824146,
0.02569996565580368,
0.012090949341654778,
-0.04054129496216774,
-0.011599810793995857,
-0.020395664498209953,
-0.0369693748652935,
0.024235477671027184,
0.02569996565580368,
0.010465726256370544,
-0.027128733694553375,
0.008862826973199844,
-0.025967858731746674,
0.006817902438342571,
-0.008202021941542625,
-0.03384394198656082,
-0.04232725501060486,
0.011296197772026062,
-0.032558053731918335,
0.04389889910817146,
-0.08629759401082993,
-0.011037233285605907,
0.015511062927544117,
0.05575767531991005,
0.013403630815446377,
0.028361046686768532,
0.06858086585998535,
0.07593902200460434,
0.0021654765587300062,
-0.0116801792755723,
-0.01636832393705845,
-0.02050282247364521,
0.028450343757867813,
-0.05465037748217583,
-0.042434412986040115,
-0.045291949063539505,
0.013225034810602665,
-0.026807261630892754,
-0.04939965531229973,
-0.033129557967185974,
0.02884325571358204,
0.00997458677738905,
-0.026021437719464302,
0.02612859569489956,
0.01088542677462101,
0.027039434760808945,
-0.04397033900022507,
-0.04461328312754631,
0.0482209213078022,
-0.015573571436107159,
-0.03896964713931084,
0.006456245668232441,
-0.023181762546300888,
0.04472044110298157,
-0.004603311885148287,
-0.007862688973546028,
0.06375877559185028,
-0.044077493250370026,
0.01268924679607153,
-0.05225719138979912,
0.02035994455218315,
0.02650364674627781,
0.04539910703897476,
0.04025553911924362,
0.033826082944869995,
-0.028396764770150185,
-0.05014975741505623,
-0.03462976589798927,
0.033772505819797516,
-0.017707794904708862,
-0.00745638320222497,
-0.02584284171462059,
0.0482209213078022,
0.010251411236822605,
0.002728054067119956,
0.014260890893638134,
0.037612318992614746,
-0.03161149471998215,
0.008728879503905773,
-0.006862551439553499,
0.005996360909193754,
0.017850670963525772,
-0.03882677108049393,
-0.031075704842805862,
0.02055639959871769,
-0.005924922414124012,
-0.028218168765306473,
0.0003577501338440925,
0.013260753825306892,
-0.013778681866824627,
0.06608052551746368,
0.02823602966964245,
0.03525485098361969,
-0.022949587553739548,
0.02327105961740017,
0.039862629026174545,
0.0006747580482624471,
-0.048613835126161575,
-0.020020611584186554,
-0.012314194813370705,
-0.0167433749884367,
0.030504198744893074,
0.012680316343903542,
-0.06958100199699402,
-0.026575086638331413,
-0.040148381143808365,
-0.04847095534205437,
-0.026753682643175125,
0.011305127292871475,
-0.003574152709916234,
-0.009679903276264668,
-0.00768855819478631,
-0.0068000429309904575,
-0.03212942183017731,
-0.021824432536959648,
0.04682787507772446,
0.03211156278848648,
0.03796951100230217,
-0.014546644873917103,
0.017966758459806442,
-0.07965382188558578,
-0.06468747556209564,
0.02228878252208233,
0.019127631559967995,
0.017654215916991234,
-0.028593221679329872,
-0.039684031158685684,
0.011921283788979053,
0.031147142872214317,
0.026932278648018837,
0.04504191502928734,
0.02027064748108387,
-0.016680866479873657,
-0.012564228847622871,
-0.011742687784135342,
0.012635667808353901,
-0.03843386098742485,
0.05111417919397354,
-0.03889821097254753,
-0.028289606794714928,
0.018877597525715828,
-0.016439761966466904,
0.0384695790708065,
-0.06708066165447235,
-0.04232725501060486,
-0.03034346178174019,
-0.00985849928110838,
0.026557225733995438,
0.02823602966964245,
-0.022449517622590065,
-0.0022536583710461855,
-0.04839951917529106,
-0.0383981429040432,
-0.02555708959698677,
0.009822780266404152,
0.008715485222637653,
0.061258431524038315,
-0.04518479108810425,
0.04011266306042671,
0.08315429836511612,
0.007130445446819067,
-0.03718368709087372,
0.10680041462182999,
-0.004056361969560385,
-0.0211100485175848,
-0.059472471475601196,
-0.0012244988465681672,
0.033022403717041016,
-0.04647068306803703,
0.01914549246430397,
0.009028027765452862,
0.016886252909898758,
-0.03582635894417763,
0.09022670239210129,
0.01205523032695055,
0.019413385540246964,
-0.02532491460442543,
-0.0274859257042408,
0.019591981545090675,
-0.01423410139977932,
-0.02243165858089924,
-0.0263964906334877,
0.001537041855044663,
0.0068714814260602,
-0.06368733942508698,
0.04786372929811478,
0.0038599062245339155,
0.010590743273496628,
0.026628665626049042,
-0.034576188772916794,
0.04186290502548218,
0.0398983471095562,
-0.015859326347708702,
0.02795027568936348,
0.01465380284935236,
-0.03786235302686691,
-0.01749347895383835,
-0.008911941200494766,
-0.054757535457611084,
0.0640445277094841,
0.08193984627723694,
-0.015109222382307053,
-0.0331474207341671,
0.009492377750575542,
0.04043413698673248,
0.03507625684142113,
-0.01413587387651205,
-0.052971575409173965,
-0.03455832600593567,
0.009956727735698223,
-0.07247426360845566,
0.04479187726974487,
-0.01217131782323122,
0.013483998365700245,
-0.01914549246430397,
0.012028440833091736,
-0.033772505819797516,
-0.0293611828237772,
-0.006112448405474424,
-0.03886249288916588,
-0.05168568342924118,
0.025217756628990173,
0.00022310548229143023,
-0.04600633308291435,
-0.022645974531769753,
-0.006433921400457621,
-0.0768677219748497,
-0.01318038534373045,
0.04504191502928734,
-0.005246257875114679,
-0.04500619322061539,
0.0014566737227141857,
-0.02921830676496029,
0.019074054434895515,
0.029879111796617508,
0.021592257544398308,
0.040005505084991455,
0.05375739932060242,
0.015055643394589424,
-0.01579681597650051,
0.005898133385926485,
0.04157714918255806,
-0.03718368709087372,
0.03211156278848648,
-0.04554198309779167,
-0.03882677108049393,
-0.042720165103673935,
0.04764941334724426,
0.014314469881355762,
0.008862826973199844,
0.018323950469493866,
0.006322298664599657,
0.023485375568270683,
-0.006916130427271128,
-0.020574260503053665,
-0.0331474207341671,
0.006643771659582853,
-0.052542947232723236,
-0.006009755656123161,
0.007974311709403992,
-0.03825526311993599,
-0.024146180599927902,
-0.0009192113066092134,
-0.00791180320084095,
0.01537711638957262,
-0.037469442933797836,
-0.03337959572672844,
0.00029579963302239776,
-0.015314607881009579,
0.06290151178836823,
0.08379724621772766,
0.010081744752824306,
-0.06529469788074493,
0.06422312557697296,
-0.006148167420178652,
0.04661355912685394,
-0.04100564494729042,
-0.034058257937431335,
-0.0018027034820988774,
-0.02330677956342697,
0.0714741200208664,
0.004109940491616726,
-0.03721940889954567,
0.05750791355967522,
0.05772222951054573,
-0.03861245512962341,
-0.006090123672038317,
-0.030361320823431015,
-0.03896964713931084,
0.007099191192537546,
-0.03768375888466835,
0.031075704842805862,
-0.07111693173646927,
-0.028682518750429153,
-0.02093145251274109,
0.04547054320573807,
0.02393186464905739,
-0.004786373116075993,
-0.05986538156867027,
-0.03173651173710823,
-0.07429593801498413,
-0.0015225309180095792,
0.024503372609615326,
0.0033442103303968906,
-0.006255325395613909,
0.039112526923418045,
-0.027735959738492966,
-0.02139580249786377,
-0.073938749730587,
0.0072420681826770306,
-0.022020887583494186,
0.03445117175579071,
-0.008353828452527523,
0.02214590460062027,
-0.006536613684147596,
-0.021413661539554596,
0.02125292457640171,
0.031165003776550293,
-0.035272710025310516,
-0.03936256095767021,
0.034004680812358856,
0.06722353398799896,
0.03825526311993599,
-0.009795990772545338,
-0.03843386098742485,
0.012930351309478283,
0.0497211292386055,
-0.026860838755965233,
-0.03536200895905495,
-0.01238563284277916,
-0.011260478757321835,
-0.002491414314135909,
0.011537302285432816,
-0.036165691912174225,
0.052364349365234375,
0.0026767076924443245,
0.025360632687807083,
0.014939555898308754,
-0.08179697394371033,
0.005366810131818056,
0.03398682177066803,
-0.09722767025232315,
0.04282732307910919,
0.02771810069680214,
0.01502885390073061,
0.030879249796271324,
-0.04804232716560364,
-0.028807535767555237,
0.0029446016997098923,
0.025074878707528114,
-0.005143565125763416,
-0.030789950862526894,
-0.028593221679329872,
0.04629208520054817,
0.006898270919919014,
-0.028575360774993896,
0.07443881779909134,
-0.04568485915660858,
-0.020234927535057068,
0.004007247742265463,
-0.006090123672038317,
0.07493888586759567,
0.0782964900135994,
-0.05529332533478737,
-0.035326290875673294,
-0.06775932759046555,
0.033772505819797516,
-0.030700653791427612,
-0.020467102527618408,
-0.07290288805961609,
-0.025164177641272545,
-0.04807804524898529,
-0.03241517394781113,
0.003279469208791852,
-0.03343317285180092,
-0.04100564494729042,
0.009706692770123482,
-0.046184927225112915,
0.05397171527147293,
0.04229153320193291,
0.013680454343557358,
-0.09458444267511368,
-0.022020887583494186,
0.006353552918881178,
0.07108121365308762,
0.010063884779810905,
0.020752856507897377,
0.01666300743818283,
0.007099191192537546,
0.05089986324310303,
-0.011805196292698383,
0.05843661352992058,
-0.012626737356185913,
-0.013680454343557358,
0.01760956645011902,
-0.012867842800915241,
-0.016037922352552414,
0.012028440833091736,
0.006804507691413164,
-0.039862629026174545,
0.009912078268826008,
0.010412147268652916,
-0.04714934527873993,
0.032754506915807724,
-0.00850563496351242,
-0.032790228724479675,
0.0021386872977018356,
0.026557225733995438,
-0.019591981545090675,
0.026842979714274406,
0.005554335657507181,
-0.018377529457211494,
0.003357604844495654,
-0.042863041162490845,
0.03028988279402256,
-0.019038334488868713,
0.024414073675870895,
-0.027164453640580177,
-0.0026052691973745823,
0.009956727735698223,
0.056436337530612946,
0.04414893314242363,
0.04432753100991249,
-0.06525897979736328,
-0.060329731553792953,
0.0640445277094841,
0.02812887169420719,
-0.014082294888794422,
0.030218444764614105,
-0.01549320388585329,
0.003310723463073373,
-0.012215967290103436,
-0.002661080565303564,
-0.008527959696948528,
-0.046506401151418686,
-0.036219269037246704,
-0.021878011524677277,
0.015430695377290249,
0.010340709239244461,
-0.021360082551836967,
-0.01891331747174263,
-0.008827107958495617,
-0.004661355633288622,
-0.03259377181529999,
0.015564641915261745,
0.014118014834821224,
-0.016850532963871956,
0.03327243775129318,
-0.09587033838033676,
0.08758348226547241,
-0.013367910869419575,
0.08672621846199036,
0.07065258175134659,
0.008282389491796494,
0.032700929790735245,
0.03605853393673897,
0.036308567970991135,
0.06340157985687256,
0.042255815118551254,
0.05043551325798035,
-0.032700929790735245,
0.01657371036708355,
0.02041352353990078,
-0.02584284171462059,
-0.020609978586435318,
-0.0009108396479859948,
0.022592395544052124,
-0.008885151706635952,
-0.034344013780355453,
0.025021301582455635,
-0.01296607032418251,
-0.039076805114746094,
0.01479667890816927,
-0.021467240527272224,
0.032700929790735245,
0.034754782915115356
]
|
41,783 | wield.bunch.bunch | __init__ | null | def __init__(self, inner_dict=None, *args, **kwds):
if inner_dict is None or args or kwds:
if args:
_mydict = dict(inner_dict, *args, **kwds)
else:
_mydict = dict(**kwds)
else:
_mydict = inner_dict
self.__dict__["_mydict"] = _mydict
return
| (self, inner_dict=None, *args, **kwds) | [
-0.0033248169347643852,
0.037599049508571625,
0.02985587902367115,
-0.006491420324891806,
-0.018752992153167725,
0.015728315338492393,
-0.035532962530851364,
0.06470014899969101,
0.06313662230968475,
-0.0368172861635685,
0.007450009696185589,
0.09522610902786255,
-0.008027024567127228,
0.008846013806760311,
-0.03154969960451126,
0.011456542648375034,
0.037934090942144394,
0.042848024517297745,
-0.04899044707417488,
-0.008971654810011387,
0.04895322024822235,
-0.007477929815649986,
0.03300154209136963,
0.10639414191246033,
0.009855790995061398,
0.0028804221656173468,
-0.052713122218847275,
0.019302086904644966,
0.06417897343635559,
-0.03195919096469879,
0.016947492957115173,
-0.003590057836845517,
-0.012889773584902287,
0.10691531747579575,
0.04444877803325653,
-0.023378418758511543,
-0.011419315822422504,
0.05978621169924736,
-0.12039141356945038,
0.01976742222905159,
0.05517009273171425,
-0.0005560750723816454,
-0.00960450991988182,
-0.0029129956383258104,
0.0342114120721817,
0.023415645584464073,
0.0088320542126894,
0.005100069101899862,
0.03341103717684746,
-0.04121004790067673,
0.04106114059686661,
-0.013792523182928562,
0.04072609916329384,
0.007654757238924503,
-0.0322197787463665,
0.0408005528151989,
-0.0027478018309921026,
0.05531900003552437,
-0.007342982571572065,
0.006784581113606691,
-0.06987466663122177,
0.009409069083631039,
0.008338798768818378,
-0.00017057427612598985,
-0.035495735704898834,
-0.013010760769248009,
-0.0720338225364685,
0.014034496620297432,
0.017934001982212067,
-0.02002800814807415,
0.007664063945412636,
0.02283863164484501,
-0.019078725948929787,
0.03255482017993927,
0.0009492829558439553,
0.03149385750293732,
-0.08584495633840561,
-0.0506284236907959,
0.020679477602243423,
0.042140718549489975,
-0.028106220066547394,
-0.06432788074016571,
-0.10505397617816925,
0.008078211918473244,
-0.002673348179087043,
0.02952083759009838,
-0.031642764806747437,
-0.006914875004440546,
0.04370424151420593,
0.0636950209736824,
-0.062429312616586685,
0.05863218009471893,
-0.009316002018749714,
-0.004053066018968821,
0.005672431085258722,
-0.029055504128336906,
0.05334597826004028,
0.016286717727780342,
0.009576589800417423,
0.00853423960506916,
-0.00960450991988182,
-0.08480261266231537,
0.0006485603516921401,
-0.017747867852449417,
-0.02168460004031658,
-0.06566804647445679,
-0.013113133609294891,
-0.0702841654419899,
-0.003680797992274165,
-0.012480278499424458,
-0.0031968499533832073,
-0.03605413809418678,
-0.052415307611227036,
0.07408129423856735,
-0.011354168877005577,
0.03638917952775955,
-0.017301147803664207,
-0.04493272677063942,
0.05874386057257652,
0.009399762377142906,
-0.021647373214364052,
0.005179176107048988,
-0.004469540435820818,
0.014285777695477009,
0.004658001009374857,
-0.016984719783067703,
-0.018967045471072197,
-0.042512986809015274,
0.030321214348077774,
0.02408572845160961,
0.05528177320957184,
-0.021330947056412697,
-0.012405824847519398,
-0.006952101364731789,
0.034825652837753296,
-0.0365753136575222,
0.028981050476431847,
0.008338798768818378,
-0.006984674837440252,
0.03019092045724392,
0.03912534937262535,
0.008701760321855545,
-0.03369023650884628,
-0.007715250831097364,
-0.016537997871637344,
0.006752007640898228,
-0.013922816142439842,
0.030712096020579338,
0.03026537410914898,
-0.007975838147103786,
-0.034900106489658356,
0.005262936465442181,
-0.0005101232673041523,
0.08204782754182816,
0.005649164319038391,
-0.047129105776548386,
-0.004036779049783945,
-0.04359256103634834,
0.041582316160202026,
-0.009688270278275013,
0.004108906257897615,
0.009381148964166641,
-0.0009516096324659884,
-0.0778784304857254,
0.029055504128336906,
0.0011563568841665983,
0.026226267218589783,
-0.10468170791864395,
0.02268972434103489,
0.01950683444738388,
-0.013932122848927975,
-0.03938593715429306,
-0.02937193028628826,
0.028925210237503052,
0.007459316402673721,
-0.023378418758511543,
-0.004143806174397469,
0.002810622099786997,
-0.034081120043992996,
-0.026021521538496017,
0.03236868605017662,
0.0036575314588844776,
0.0017135953530669212,
0.025630639865994453,
0.032610662281513214,
-0.011391395702958107,
0.016677597537636757,
0.052378080785274506,
0.02456967532634735,
0.01873437874019146,
0.018557550385594368,
0.021554306149482727,
-0.010395579040050507,
-0.007594263646751642,
0.021312333643436432,
0.012508198618888855,
-0.009101947769522667,
-0.0016007516533136368,
-0.0333365835249424,
0.08100547641515732,
-0.04932548478245735,
-0.012433744966983795,
-0.02667298913002014,
-0.03953484445810318,
0.02933470346033573,
0.013773909769952297,
-0.015579408034682274,
0.004343900363892317,
-0.03646363317966461,
-0.013541242107748985,
-0.01213593129068613,
-0.03979542851448059,
0.06503518670797348,
-0.012619879096746445,
-0.0042601400054991245,
-0.011223874986171722,
0.02460690215229988,
0.0006026085466146469,
-0.03465813398361206,
-0.02404850162565708,
0.08703621476888657,
0.026542695239186287,
0.010014004074037075,
-0.026393787935376167,
-0.013476095162332058,
-0.030767936259508133,
0.010283898562192917,
0.0067287408746778965,
-0.017347680404782295,
0.0036133246030658484,
-0.02963251806795597,
-0.02006523497402668,
0.011772969737648964,
-0.04601230099797249,
-0.004011185839772224,
-0.05960007756948471,
-0.004834828432649374,
-0.0655563622713089,
0.015607328154146671,
-0.03849249333143234,
0.09708745032548904,
0.015151300467550755,
-0.016379784792661667,
-0.029502224177122116,
-0.030954068526625633,
-0.013727376237511635,
0.02287585847079754,
0.07609154284000397,
0.019674355164170265,
0.023508712649345398,
0.003715698141604662,
0.017692027613520622,
-0.03852972015738487,
0.06019570678472519,
-0.015756236389279366,
0.04813423007726669,
0.0008707576780579984,
0.011968410573899746,
-0.01483487244695425,
-0.031828898936510086,
0.05330875143408775,
-0.011586835607886314,
-0.028608782216906548,
0.0502561554312706,
-0.0012994473800063133,
-0.01895773969590664,
0.0009428845951333642,
-0.04035383090376854,
-0.042773570865392685,
0.017868855968117714,
0.11912570148706436,
-0.02295031026005745,
0.10981900990009308,
0.027547819539904594,
-0.03361578285694122,
-0.013252734206616879,
0.052340853959321976,
-0.04668238386511803,
-0.06049352139234543,
0.03622166067361832,
0.017235999926924706,
-0.026263494044542313,
0.018752992153167725,
-0.0012273205211386085,
0.03599829971790314,
0.002361573977395892,
-0.04362978786230087,
0.08740848302841187,
0.019525447860360146,
-0.05074010416865349,
0.037412915378808975,
0.001015011454001069,
0.013094520196318626,
0.07735725492238998,
0.016156423836946487,
-0.047948095947504044,
-0.0582226887345314,
0.004406720399856567,
0.04098668694496155,
0.010907446965575218,
0.036928966641426086,
-0.01625879667699337,
0.04035383090376854,
0.056919749826192856,
0.03648224472999573,
0.011903263628482819,
0.010432805866003036,
0.022149935364723206,
-0.02287585847079754,
-0.0006218035705387592,
0.03188473731279373,
0.05628689378499985,
-0.023229511454701424,
0.04444877803325653,
-0.05546790361404419,
0.013401641510426998,
0.0038739119190722704,
-0.07199659943580627,
0.01847379095852375,
0.0506284236907959,
-0.03601691126823425,
-0.06023293361067772,
-0.019674355164170265,
-0.05807378143072128,
0.02693357691168785,
-0.029986172914505005,
0.03638917952775955,
-0.008208505809307098,
0.0510006919503212,
0.034490615129470825,
-0.009334615431725979,
0.01359708234667778,
0.012796706520020962,
-0.03754321113228798,
-0.012182464823126793,
-0.01811083033680916,
-0.021703213453292847,
0.03141940385103226,
-0.03886476159095764,
-0.07530978322029114,
0.007505849935114384,
-0.013476095162332058,
-0.02265249751508236,
-0.043257519602775574,
-0.03473258763551712,
-0.041991811245679855,
0.008268998935818672,
-0.030581802129745483,
0.047948095947504044,
-0.07039584219455719,
-0.02309921756386757,
0.0198418740183115,
0.017803708091378212,
0.06898123025894165,
0.0032177900429815054,
0.021647373214364052,
0.02501639723777771,
-0.03691035509109497,
-0.006258752662688494,
-0.04121004790067673,
0.05517009273171425,
0.02427186258137226,
-0.032052259892225266,
-0.025742320343852043,
0.035458508878946304,
0.002712901681661606,
0.014927939511835575,
-0.022205775603652,
0.005449070129543543,
-0.018827445805072784,
0.009734803810715675,
-0.05952562391757965,
-0.004050739109516144,
0.06317385286092758,
0.024811649695038795,
-0.022931698709726334,
-0.0971619039773941,
0.027250004932284355,
-0.008771560154855251,
-0.04102391377091408,
-0.023452872410416603,
-0.030842389911413193,
0.027324458584189415,
0.003469070652499795,
0.013997269794344902,
-0.03154969960451126,
0.041880130767822266,
0.021442625671625137,
0.05059119686484337,
0.01409964356571436,
-0.06816224008798599,
-0.034490615129470825,
0.032573435455560684,
0.051856908947229385,
0.042252399027347565,
0.00038535534986294806,
0.0007445356459356844,
0.002792008686810732,
-0.02734307199716568,
0.008310878649353981,
0.035346828401088715,
-0.08591940999031067,
0.003059576265513897,
-0.014695271849632263,
0.04418819025158882,
0.0031037828885018826,
-0.0017368620028719306,
0.013029374182224274,
0.057478152215480804,
0.005691044498234987,
0.01920901983976364,
-0.04091223329305649,
-0.06659871339797974,
-0.0070265550166368484,
-0.0019683660939335823,
0.000845164293423295,
0.035607416182756424,
-0.016640370711684227,
-0.013643615879118443,
-0.018855364993214607,
0.057738739997148514,
0.01114011462777853,
0.01781301572918892,
-0.0008114275406114757,
0.042401306331157684,
0.0013994943583384156,
-0.032610662281513214,
-0.035421282052993774,
0.03975820168852806,
-0.020940065383911133,
-0.04519331455230713,
0.007110315375030041,
0.030581802129745483,
-0.030637642368674278,
0.05126127973198891,
0.012861853465437889,
0.0032340767793357372,
-0.04828313738107681,
0.014825565740466118,
0.03251759335398674,
-0.057850420475006104,
-0.01021875161677599,
0.025798160582780838,
-0.028664622455835342,
-0.007408129516988993,
0.009227588772773743,
-0.011354168877005577,
0.046794064342975616,
0.06816224008798599,
-0.03679867461323738,
0.09224796295166016,
0.027585046365857124,
0.03618443384766579,
-0.006165685597807169,
-0.02438354305922985,
-0.04668238386511803,
-0.057478152215480804,
0.02205686829984188,
0.026040134951472282,
0.05055397003889084,
-0.015951676294207573,
-0.047724734991788864,
-0.013922816142439842,
0.0038203985895961523,
-0.052564214915037155,
0.062057044357061386,
0.03875308111310005,
0.008641267195343971,
-0.05397883430123329,
-0.057552605867385864,
0.018501710146665573,
0.0506284236907959,
-0.005718964617699385,
-0.02490471675992012,
0.035495735704898834,
-0.007957224734127522,
-0.008915814571082592,
-0.07519809901714325,
-0.06812500953674316,
-0.033969439566135406,
-0.00043188885319978,
0.0389392152428627,
0.018129443749785423,
-0.012396518141031265,
-0.02907411754131317,
-0.03919980302453041,
-0.008124745450913906,
-0.020902838557958603,
0.01509546022862196,
0.030730709433555603,
-0.07802733778953552,
0.05334597826004028,
0.00975341722369194,
0.016677597537636757,
0.05114959925413132,
0.015495647676289082,
-0.03154969960451126,
0.05982343852519989,
0.013699456118047237,
-0.04411373659968376,
-0.01976742222905159,
-0.029502224177122116,
-0.024216022342443466,
0.04623566195368767,
-0.037450142204761505,
-0.023527326062321663,
-0.07195936888456345,
0.03367162495851517,
-0.005728271324187517,
0.005672431085258722,
0.016947492957115173,
-0.01459289900958538,
-0.01544911414384842,
-0.005644510965794325,
0.029576677829027176,
0.009483522735536098,
-0.05111237242817879,
-0.020605023950338364,
0.011195954866707325,
-0.019153179600834846,
0.03045150823891163,
0.06685929745435715,
0.057031430304050446,
0.025556186214089394,
-0.006114499177783728,
0.00691022165119648,
0.04973497986793518,
0.04001878947019577,
0.04121004790067673,
0.026691602542996407,
-0.017273226752877235,
-0.07691053301095963,
-0.05825991556048393,
0.02291308529675007,
-0.03750598430633545,
0.04954884573817253,
-0.01969296857714653,
-0.022931698709726334,
0.002626814879477024,
-0.019934941083192825,
0.047873642295598984,
0.03668699413537979,
0.07307617366313934,
-0.03436031937599182,
-0.010349045507609844,
0.024886103346943855,
-0.023936821147799492,
0.019934941083192825,
-0.02280140481889248,
0.007175462320446968,
-0.00787346437573433,
-0.019376540556550026,
-0.0021847467869520187,
0.020642250776290894,
-0.03341103717684746,
-0.03359717130661011,
-0.018752992153167725,
-0.1066175028681755,
-0.0010568916331976652,
0.03627749904990196,
0.033429648727178574,
0.07162433117628098,
0.0029688358772546053,
-0.003720351494848728,
-0.022820018231868744,
0.013429561629891396,
0.0011214568512514234,
0.05915335565805435,
-0.08703621476888657,
0.023639006540179253,
-0.028385421261191368,
0.011987023986876011,
-0.013057293370366096,
0.033280741423368454,
-0.025742320343852043,
0.01153099536895752,
0.001615875051356852,
0.010712006129324436,
0.005076802335679531,
-0.029427770525217056,
-0.0035225842148065567,
-0.014713885262608528,
-0.04027937725186348,
0.011670595966279507,
-0.06283880770206451,
-0.009013534523546696,
-0.00783158466219902,
0.03972097486257553,
-0.007017248310148716,
-0.018985658884048462,
-0.0088320542126894,
-0.03307599574327469,
-0.025723706930875778,
0.020995905622839928,
-0.01813874952495098,
-0.016984719783067703,
-0.012629185803234577,
-0.010814379900693893,
0.0043694935739040375,
-0.042922478169202805,
-0.05636134743690491,
0.028832143172621727,
-0.047240786254405975,
0.05595185235142708,
-0.02778979204595089,
0.0006549587124027312,
0.02265249751508236,
0.022522203624248505,
-0.025109464302659035,
-0.01505823340266943,
-0.02797592617571354,
-0.023992661386728287,
0.04582617059350014,
0.03361578285694122,
0.03048873506486416,
-0.05479782447218895,
-0.0534948855638504,
0.003680797992274165,
0.0032177900429815054,
-0.035160694271326065,
-0.04456045851111412,
0.005034922156482935,
-0.009204321540892124,
0.03841803967952728,
-0.03618443384766579,
-0.04039105772972107,
0.04954884573817253,
-0.05066565051674843,
-0.017859548330307007,
-0.009399762377142906,
0.009004227817058563,
0.03754321113228798,
-0.016286717727780342,
-0.052415307611227036,
0.0014902346301823854,
0.0030665560625493526,
0.04147063568234444,
0.004634734243154526,
0.013531935401260853,
0.05464891716837883,
0.01710570603609085,
-0.014397458173334599,
-0.0008282958879135549,
0.03350410237908363,
-0.032834023237228394,
-0.020753931254148483,
0.004348553717136383,
-0.003152643097564578,
0.010349045507609844,
0.007133582141250372,
0.024104341864585876,
0.00914382841438055,
-0.001754312077537179,
0.016537997871637344,
-0.04381592199206352,
-0.00960450991988182,
0.01637047715485096,
-0.007431396283209324,
0.03599829971790314,
0.014071723446249962,
-0.025258371606469154,
-0.03192196413874626,
-0.08227118849754333,
-0.025593413040041924,
0.026952190324664116,
-0.003059576265513897,
-0.025072237476706505,
-0.04504440724849701,
0.05866940692067146,
0.016379784792661667,
0.027994539588689804,
0.03045150823891163,
0.0002709121035877615,
-0.001594934961758554,
-0.03960929438471794,
-0.015290901064872742,
-0.015514261089265347,
0.01935792714357376,
0.0661892220377922,
0.00825969222933054,
-0.011037740856409073,
0.04087500646710396,
-0.03810160979628563,
-0.007212689146399498,
-0.0702841654419899,
0.028850756585597992,
0.02819928713142872,
0.02213132195174694,
-0.0016449583927169442,
-0.07054474949836731,
0.00026000579237006605,
-0.07110315561294556,
-0.02993033267557621,
0.017868855968117714,
-0.04113559424877167,
-0.06272713094949722,
-0.04675683751702309,
-0.06510964035987854,
0.03845526650547981,
-0.011921877041459084,
0.005211749579757452,
0.038008544594049454,
-0.007082395255565643,
-0.010832993313670158,
-0.010190831497311592,
-0.002831562189385295,
-0.0008114275406114757,
0.005342043004930019,
0.11197815835475922,
-0.01648215763270855,
-0.03525376319885254,
0.05807378143072128,
0.02453244850039482,
-0.0318475104868412,
-0.0150210065767169,
0.039683748036623,
0.057403698563575745,
0.0267474427819252,
-0.04013046994805336,
-0.04523054137825966,
0.03651947155594826,
-0.007096355315297842,
0.014220630750060081,
-0.01562594249844551,
0.0018357456428930163,
-0.04534222185611725,
0.0040716794319450855,
-0.028329581022262573,
-0.023080604150891304,
-0.02771533839404583,
0.0021510100923478603,
-0.01505823340266943,
-0.01714293286204338,
-0.02006523497402668,
-0.05014447495341301,
-0.05401606112718582,
-0.007408129516988993,
0.02715693786740303,
0.026914963498711586,
0.051447413861751556,
-0.04567726328969002,
0.03436031937599182,
0.029651131480932236,
0.07631490379571915,
0.024141568690538406,
-0.0012854873202741146,
0.0538671538233757,
-0.03158692643046379,
0.042773570865392685,
0.020716704428195953,
-0.001746168709360063,
0.046794064342975616,
-0.02734307199716568,
0.021572919562458992,
0.016910266131162643,
0.009883711114525795,
-0.03664976730942726,
-0.03045150823891163,
0.016417011618614197,
-0.02201964147388935,
-0.052191950380802155,
-0.061908137053251266,
0.032759569585323334,
-0.0373198501765728,
0.010283898562192917,
0.03359717130661011,
0.07244332134723663,
0.037077873945236206
]
|
41,784 | wield.bunch.bunch | __iter__ | Implement iter(self). | def gen_func(mname):
def func(self, *args, **kwargs):
return getattr(self._mydict, mname)(*args, **kwargs)
orig_func = getattr(dict, mname)
if orig_func is None:
return
func.__name__ = orig_func.__name__
func.__doc__ = orig_func.__doc__
return func
| (self, *args, **kwargs) | [
0.04386318102478981,
-0.045720577239990234,
0.05843661352992058,
0.007014358416199684,
-0.03711225092411041,
-0.0005516942474059761,
-0.015350326895713806,
0.02673582173883915,
0.03932683914899826,
-0.021592257544398308,
-0.023538954555988312,
0.07951094210147858,
0.053114451467990875,
0.019556263461709023,
-0.02041352353990078,
-0.0006368063623085618,
0.017663145437836647,
0.03268307074904442,
-0.043005917221307755,
-0.021002890542149544,
0.026860838755965233,
0.008018961176276207,
0.04789945110678673,
-0.027360908687114716,
0.026289332658052444,
0.06654487550258636,
-0.009831709787249565,
0.030164865776896477,
0.046327803283929825,
-0.06975959986448288,
-0.06515182554721832,
-0.04357742518186569,
0.02887897379696369,
0.06811651587486267,
0.013921558856964111,
-0.05104273930191994,
-0.014314469881355762,
0.0413985550403595,
-0.13166098296642303,
-0.05829373747110367,
0.09587033838033676,
-0.003627731464803219,
0.01608256995677948,
-0.0020639002323150635,
0.019449105486273766,
-0.014064435847103596,
-0.009581675752997398,
0.0349869579076767,
0.025164177641272545,
-0.01772565394639969,
0.010796128772199154,
-0.021288644522428513,
0.032790228724479675,
0.01397513784468174,
0.005505221895873547,
0.049506813287734985,
-0.00826006568968296,
0.03595137596130371,
0.03634428605437279,
0.02537849359214306,
-0.05186428129673004,
-0.009510237723588943,
-0.030647074803709984,
-0.023628251627087593,
-0.007742136716842651,
-0.025432070717215538,
-0.042720165103673935,
-0.010376428253948689,
-0.03189724683761597,
0.00008197277929866686,
-0.00029189285123720765,
0.0052685821428895,
0.02612859569489956,
-0.0024891819339245558,
-0.0038599062245339155,
0.007701952941715717,
-0.07158128172159195,
-0.1008710265159607,
0.04600633308291435,
-0.001475649536587298,
-0.05843661352992058,
-0.07140268385410309,
-0.07008107006549835,
-0.03450474888086319,
-0.05543620139360428,
-0.02907543070614338,
0.01910977251827717,
-0.07451025396585464,
-0.0009108396479859948,
-0.025199897587299347,
-0.04868527129292488,
0.024842705577611923,
-0.021645836532115936,
0.01268924679607153,
-0.06975959986448288,
-0.07272429764270782,
0.037612318992614746,
0.04836379736661911,
0.03250447288155556,
0.033361732959747314,
0.03189724683761597,
-0.0022648207377642393,
-0.02691441774368286,
0.009331641718745232,
0.0467207171022892,
-0.04547054320573807,
-0.010858637280762196,
-0.029146868735551834,
-0.006112448405474424,
-0.0178685300052166,
-0.020145630463957787,
-0.04568485915660858,
-0.00016255027730949223,
0.01189449429512024,
0.034754782915115356,
-0.00017454969929531217,
-0.01205523032695055,
-0.0016107127303257585,
-0.01446627639234066,
0.002286028815433383,
-0.013376841321587563,
-0.017716724425554276,
-0.0034669949673116207,
-0.03589779883623123,
-0.011653389781713486,
-0.010215691290795803,
0.0422200970351696,
0.002569549949839711,
0.08058252185583115,
-0.01683267392218113,
0.015859326347708702,
0.0016207587905228138,
0.025449931621551514,
0.02846820279955864,
0.02766452170908451,
-0.003203565953299403,
0.012823193334043026,
0.01868114247918129,
0.026092877611517906,
0.07061686366796494,
-0.009626325219869614,
0.03782663494348526,
-0.028307467699050903,
0.028575360774993896,
0.0016709888586774468,
-0.04957825317978859,
0.01634153537452221,
0.06708066165447235,
-0.026271473616361618,
-0.043184515088796616,
-0.02194944955408573,
0.02870037779211998,
-0.013287543319165707,
0.017314882948994637,
-0.005290906876325607,
0.02209232561290264,
-0.004643496125936508,
0.009474517777562141,
-0.06015113368630409,
-0.040755607187747955,
0.03964831307530403,
0.05454321950674057,
-0.03961259499192238,
-0.07436737418174744,
0.0459706112742424,
-0.017886390909552574,
0.08193984627723694,
-0.05897240340709686,
0.01345720887184143,
0.03418327495455742,
-0.06290151178836823,
-0.01296607032418251,
0.015564641915261745,
0.021056469529867172,
0.08808355033397675,
0.045756299048662186,
-0.03207584470510483,
0.02518203668296337,
0.00838954746723175,
0.029325464740395546,
0.03259377181529999,
0.030968546867370605,
-0.05586482957005501,
0.003031667321920395,
0.002402116311714053,
0.007384944707155228,
0.011849844828248024,
0.035558465868234634,
-0.0063133686780929565,
0.019270509481430054,
-0.01859184354543686,
0.003627731464803219,
0.02855750173330307,
-0.014519855380058289,
0.0274859257042408,
-0.05089986324310303,
-0.050864141434431076,
0.0368979349732399,
0.05918671563267708,
0.07551039010286331,
0.006817902438342571,
0.027325188741087914,
-0.048435237258672714,
0.06207997351884842,
0.025217756628990173,
0.03521913290023804,
0.042863041162490845,
0.010662181302905083,
-0.05897240340709686,
-0.02771810069680214,
0.007000963669270277,
-0.03121858276426792,
0.016421902924776077,
0.04975684732198715,
0.006942919921129942,
-0.0009945564670488238,
0.05300729349255562,
0.029093289747834206,
-0.05440034344792366,
0.04643496125936508,
0.039684031158685684,
0.026646524667739868,
0.030914969742298126,
-0.020860014483332634,
0.06729497760534286,
-0.03964831307530403,
0.0018674444872885942,
-0.05907955765724182,
-0.025807123631238937,
-0.012885701842606068,
0.029379043728113174,
-0.021842291578650475,
0.02948620170354843,
-0.025289194658398628,
-0.0077555314637720585,
-0.019913455471396446,
0.02327105961740017,
-0.018788300454616547,
0.02059211954474449,
0.010046025738120079,
0.006840227171778679,
0.10158541053533554,
0.033593907952308655,
0.05532904341816902,
0.01334112137556076,
0.003087478457018733,
0.016725515946745872,
0.06804507970809937,
-0.03843386098742485,
0.04007694497704506,
0.027093013748526573,
-0.01491276640444994,
-0.019395526498556137,
0.054186027497053146,
-0.03161149471998215,
0.06536614149808884,
-0.04004122316837311,
-0.003799630096182227,
-0.00022896566952113062,
-0.0003217518678866327,
0.018931176513433456,
-0.017966758459806442,
-0.05150708928704262,
-0.0021174789872020483,
0.03350461274385452,
-0.03364748880267143,
0.004862276371568441,
-0.004007247742265463,
-0.04732794314622879,
-0.004462667740881443,
0.059472471475601196,
0.028218168765306473,
-0.0010754828108474612,
-0.025735685601830482,
-0.013439349830150604,
-0.023771129548549652,
0.009358431212604046,
-0.03446903079748154,
-0.026628665626049042,
-0.030736373737454414,
0.026378629729151726,
-0.00952809676527977,
-0.0029825533274561167,
0.03605853393673897,
-0.02157439850270748,
0.02194944955408573,
-0.007014358416199684,
0.006469640415161848,
0.05529332533478737,
-0.027307329699397087,
0.0316472128033638,
-0.013394700363278389,
-0.008233276195824146,
0.02569996565580368,
0.012090949341654778,
-0.04054129496216774,
-0.011599810793995857,
-0.020395664498209953,
-0.0369693748652935,
0.024235477671027184,
0.02569996565580368,
0.010465726256370544,
-0.027128733694553375,
0.008862826973199844,
-0.025967858731746674,
0.006817902438342571,
-0.008202021941542625,
-0.03384394198656082,
-0.04232725501060486,
0.011296197772026062,
-0.032558053731918335,
0.04389889910817146,
-0.08629759401082993,
-0.011037233285605907,
0.015511062927544117,
0.05575767531991005,
0.013403630815446377,
0.028361046686768532,
0.06858086585998535,
0.07593902200460434,
0.0021654765587300062,
-0.0116801792755723,
-0.01636832393705845,
-0.02050282247364521,
0.028450343757867813,
-0.05465037748217583,
-0.042434412986040115,
-0.045291949063539505,
0.013225034810602665,
-0.026807261630892754,
-0.04939965531229973,
-0.033129557967185974,
0.02884325571358204,
0.00997458677738905,
-0.026021437719464302,
0.02612859569489956,
0.01088542677462101,
0.027039434760808945,
-0.04397033900022507,
-0.04461328312754631,
0.0482209213078022,
-0.015573571436107159,
-0.03896964713931084,
0.006456245668232441,
-0.023181762546300888,
0.04472044110298157,
-0.004603311885148287,
-0.007862688973546028,
0.06375877559185028,
-0.044077493250370026,
0.01268924679607153,
-0.05225719138979912,
0.02035994455218315,
0.02650364674627781,
0.04539910703897476,
0.04025553911924362,
0.033826082944869995,
-0.028396764770150185,
-0.05014975741505623,
-0.03462976589798927,
0.033772505819797516,
-0.017707794904708862,
-0.00745638320222497,
-0.02584284171462059,
0.0482209213078022,
0.010251411236822605,
0.002728054067119956,
0.014260890893638134,
0.037612318992614746,
-0.03161149471998215,
0.008728879503905773,
-0.006862551439553499,
0.005996360909193754,
0.017850670963525772,
-0.03882677108049393,
-0.031075704842805862,
0.02055639959871769,
-0.005924922414124012,
-0.028218168765306473,
0.0003577501338440925,
0.013260753825306892,
-0.013778681866824627,
0.06608052551746368,
0.02823602966964245,
0.03525485098361969,
-0.022949587553739548,
0.02327105961740017,
0.039862629026174545,
0.0006747580482624471,
-0.048613835126161575,
-0.020020611584186554,
-0.012314194813370705,
-0.0167433749884367,
0.030504198744893074,
0.012680316343903542,
-0.06958100199699402,
-0.026575086638331413,
-0.040148381143808365,
-0.04847095534205437,
-0.026753682643175125,
0.011305127292871475,
-0.003574152709916234,
-0.009679903276264668,
-0.00768855819478631,
-0.0068000429309904575,
-0.03212942183017731,
-0.021824432536959648,
0.04682787507772446,
0.03211156278848648,
0.03796951100230217,
-0.014546644873917103,
0.017966758459806442,
-0.07965382188558578,
-0.06468747556209564,
0.02228878252208233,
0.019127631559967995,
0.017654215916991234,
-0.028593221679329872,
-0.039684031158685684,
0.011921283788979053,
0.031147142872214317,
0.026932278648018837,
0.04504191502928734,
0.02027064748108387,
-0.016680866479873657,
-0.012564228847622871,
-0.011742687784135342,
0.012635667808353901,
-0.03843386098742485,
0.05111417919397354,
-0.03889821097254753,
-0.028289606794714928,
0.018877597525715828,
-0.016439761966466904,
0.0384695790708065,
-0.06708066165447235,
-0.04232725501060486,
-0.03034346178174019,
-0.00985849928110838,
0.026557225733995438,
0.02823602966964245,
-0.022449517622590065,
-0.0022536583710461855,
-0.04839951917529106,
-0.0383981429040432,
-0.02555708959698677,
0.009822780266404152,
0.008715485222637653,
0.061258431524038315,
-0.04518479108810425,
0.04011266306042671,
0.08315429836511612,
0.007130445446819067,
-0.03718368709087372,
0.10680041462182999,
-0.004056361969560385,
-0.0211100485175848,
-0.059472471475601196,
-0.0012244988465681672,
0.033022403717041016,
-0.04647068306803703,
0.01914549246430397,
0.009028027765452862,
0.016886252909898758,
-0.03582635894417763,
0.09022670239210129,
0.01205523032695055,
0.019413385540246964,
-0.02532491460442543,
-0.0274859257042408,
0.019591981545090675,
-0.01423410139977932,
-0.02243165858089924,
-0.0263964906334877,
0.001537041855044663,
0.0068714814260602,
-0.06368733942508698,
0.04786372929811478,
0.0038599062245339155,
0.010590743273496628,
0.026628665626049042,
-0.034576188772916794,
0.04186290502548218,
0.0398983471095562,
-0.015859326347708702,
0.02795027568936348,
0.01465380284935236,
-0.03786235302686691,
-0.01749347895383835,
-0.008911941200494766,
-0.054757535457611084,
0.0640445277094841,
0.08193984627723694,
-0.015109222382307053,
-0.0331474207341671,
0.009492377750575542,
0.04043413698673248,
0.03507625684142113,
-0.01413587387651205,
-0.052971575409173965,
-0.03455832600593567,
0.009956727735698223,
-0.07247426360845566,
0.04479187726974487,
-0.01217131782323122,
0.013483998365700245,
-0.01914549246430397,
0.012028440833091736,
-0.033772505819797516,
-0.0293611828237772,
-0.006112448405474424,
-0.03886249288916588,
-0.05168568342924118,
0.025217756628990173,
0.00022310548229143023,
-0.04600633308291435,
-0.022645974531769753,
-0.006433921400457621,
-0.0768677219748497,
-0.01318038534373045,
0.04504191502928734,
-0.005246257875114679,
-0.04500619322061539,
0.0014566737227141857,
-0.02921830676496029,
0.019074054434895515,
0.029879111796617508,
0.021592257544398308,
0.040005505084991455,
0.05375739932060242,
0.015055643394589424,
-0.01579681597650051,
0.005898133385926485,
0.04157714918255806,
-0.03718368709087372,
0.03211156278848648,
-0.04554198309779167,
-0.03882677108049393,
-0.042720165103673935,
0.04764941334724426,
0.014314469881355762,
0.008862826973199844,
0.018323950469493866,
0.006322298664599657,
0.023485375568270683,
-0.006916130427271128,
-0.020574260503053665,
-0.0331474207341671,
0.006643771659582853,
-0.052542947232723236,
-0.006009755656123161,
0.007974311709403992,
-0.03825526311993599,
-0.024146180599927902,
-0.0009192113066092134,
-0.00791180320084095,
0.01537711638957262,
-0.037469442933797836,
-0.03337959572672844,
0.00029579963302239776,
-0.015314607881009579,
0.06290151178836823,
0.08379724621772766,
0.010081744752824306,
-0.06529469788074493,
0.06422312557697296,
-0.006148167420178652,
0.04661355912685394,
-0.04100564494729042,
-0.034058257937431335,
-0.0018027034820988774,
-0.02330677956342697,
0.0714741200208664,
0.004109940491616726,
-0.03721940889954567,
0.05750791355967522,
0.05772222951054573,
-0.03861245512962341,
-0.006090123672038317,
-0.030361320823431015,
-0.03896964713931084,
0.007099191192537546,
-0.03768375888466835,
0.031075704842805862,
-0.07111693173646927,
-0.028682518750429153,
-0.02093145251274109,
0.04547054320573807,
0.02393186464905739,
-0.004786373116075993,
-0.05986538156867027,
-0.03173651173710823,
-0.07429593801498413,
-0.0015225309180095792,
0.024503372609615326,
0.0033442103303968906,
-0.006255325395613909,
0.039112526923418045,
-0.027735959738492966,
-0.02139580249786377,
-0.073938749730587,
0.0072420681826770306,
-0.022020887583494186,
0.03445117175579071,
-0.008353828452527523,
0.02214590460062027,
-0.006536613684147596,
-0.021413661539554596,
0.02125292457640171,
0.031165003776550293,
-0.035272710025310516,
-0.03936256095767021,
0.034004680812358856,
0.06722353398799896,
0.03825526311993599,
-0.009795990772545338,
-0.03843386098742485,
0.012930351309478283,
0.0497211292386055,
-0.026860838755965233,
-0.03536200895905495,
-0.01238563284277916,
-0.011260478757321835,
-0.002491414314135909,
0.011537302285432816,
-0.036165691912174225,
0.052364349365234375,
0.0026767076924443245,
0.025360632687807083,
0.014939555898308754,
-0.08179697394371033,
0.005366810131818056,
0.03398682177066803,
-0.09722767025232315,
0.04282732307910919,
0.02771810069680214,
0.01502885390073061,
0.030879249796271324,
-0.04804232716560364,
-0.028807535767555237,
0.0029446016997098923,
0.025074878707528114,
-0.005143565125763416,
-0.030789950862526894,
-0.028593221679329872,
0.04629208520054817,
0.006898270919919014,
-0.028575360774993896,
0.07443881779909134,
-0.04568485915660858,
-0.020234927535057068,
0.004007247742265463,
-0.006090123672038317,
0.07493888586759567,
0.0782964900135994,
-0.05529332533478737,
-0.035326290875673294,
-0.06775932759046555,
0.033772505819797516,
-0.030700653791427612,
-0.020467102527618408,
-0.07290288805961609,
-0.025164177641272545,
-0.04807804524898529,
-0.03241517394781113,
0.003279469208791852,
-0.03343317285180092,
-0.04100564494729042,
0.009706692770123482,
-0.046184927225112915,
0.05397171527147293,
0.04229153320193291,
0.013680454343557358,
-0.09458444267511368,
-0.022020887583494186,
0.006353552918881178,
0.07108121365308762,
0.010063884779810905,
0.020752856507897377,
0.01666300743818283,
0.007099191192537546,
0.05089986324310303,
-0.011805196292698383,
0.05843661352992058,
-0.012626737356185913,
-0.013680454343557358,
0.01760956645011902,
-0.012867842800915241,
-0.016037922352552414,
0.012028440833091736,
0.006804507691413164,
-0.039862629026174545,
0.009912078268826008,
0.010412147268652916,
-0.04714934527873993,
0.032754506915807724,
-0.00850563496351242,
-0.032790228724479675,
0.0021386872977018356,
0.026557225733995438,
-0.019591981545090675,
0.026842979714274406,
0.005554335657507181,
-0.018377529457211494,
0.003357604844495654,
-0.042863041162490845,
0.03028988279402256,
-0.019038334488868713,
0.024414073675870895,
-0.027164453640580177,
-0.0026052691973745823,
0.009956727735698223,
0.056436337530612946,
0.04414893314242363,
0.04432753100991249,
-0.06525897979736328,
-0.060329731553792953,
0.0640445277094841,
0.02812887169420719,
-0.014082294888794422,
0.030218444764614105,
-0.01549320388585329,
0.003310723463073373,
-0.012215967290103436,
-0.002661080565303564,
-0.008527959696948528,
-0.046506401151418686,
-0.036219269037246704,
-0.021878011524677277,
0.015430695377290249,
0.010340709239244461,
-0.021360082551836967,
-0.01891331747174263,
-0.008827107958495617,
-0.004661355633288622,
-0.03259377181529999,
0.015564641915261745,
0.014118014834821224,
-0.016850532963871956,
0.03327243775129318,
-0.09587033838033676,
0.08758348226547241,
-0.013367910869419575,
0.08672621846199036,
0.07065258175134659,
0.008282389491796494,
0.032700929790735245,
0.03605853393673897,
0.036308567970991135,
0.06340157985687256,
0.042255815118551254,
0.05043551325798035,
-0.032700929790735245,
0.01657371036708355,
0.02041352353990078,
-0.02584284171462059,
-0.020609978586435318,
-0.0009108396479859948,
0.022592395544052124,
-0.008885151706635952,
-0.034344013780355453,
0.025021301582455635,
-0.01296607032418251,
-0.039076805114746094,
0.01479667890816927,
-0.021467240527272224,
0.032700929790735245,
0.034754782915115356
]
|
41,785 | wield.bunch.bunch | __le__ | Return self<=value. | def gen_func(mname):
def func(self, *args, **kwargs):
return getattr(self._mydict, mname)(*args, **kwargs)
orig_func = getattr(dict, mname)
if orig_func is None:
return
func.__name__ = orig_func.__name__
func.__doc__ = orig_func.__doc__
return func
| (self, *args, **kwargs) | [
0.04386318102478981,
-0.045720577239990234,
0.05843661352992058,
0.007014358416199684,
-0.03711225092411041,
-0.0005516942474059761,
-0.015350326895713806,
0.02673582173883915,
0.03932683914899826,
-0.021592257544398308,
-0.023538954555988312,
0.07951094210147858,
0.053114451467990875,
0.019556263461709023,
-0.02041352353990078,
-0.0006368063623085618,
0.017663145437836647,
0.03268307074904442,
-0.043005917221307755,
-0.021002890542149544,
0.026860838755965233,
0.008018961176276207,
0.04789945110678673,
-0.027360908687114716,
0.026289332658052444,
0.06654487550258636,
-0.009831709787249565,
0.030164865776896477,
0.046327803283929825,
-0.06975959986448288,
-0.06515182554721832,
-0.04357742518186569,
0.02887897379696369,
0.06811651587486267,
0.013921558856964111,
-0.05104273930191994,
-0.014314469881355762,
0.0413985550403595,
-0.13166098296642303,
-0.05829373747110367,
0.09587033838033676,
-0.003627731464803219,
0.01608256995677948,
-0.0020639002323150635,
0.019449105486273766,
-0.014064435847103596,
-0.009581675752997398,
0.0349869579076767,
0.025164177641272545,
-0.01772565394639969,
0.010796128772199154,
-0.021288644522428513,
0.032790228724479675,
0.01397513784468174,
0.005505221895873547,
0.049506813287734985,
-0.00826006568968296,
0.03595137596130371,
0.03634428605437279,
0.02537849359214306,
-0.05186428129673004,
-0.009510237723588943,
-0.030647074803709984,
-0.023628251627087593,
-0.007742136716842651,
-0.025432070717215538,
-0.042720165103673935,
-0.010376428253948689,
-0.03189724683761597,
0.00008197277929866686,
-0.00029189285123720765,
0.0052685821428895,
0.02612859569489956,
-0.0024891819339245558,
-0.0038599062245339155,
0.007701952941715717,
-0.07158128172159195,
-0.1008710265159607,
0.04600633308291435,
-0.001475649536587298,
-0.05843661352992058,
-0.07140268385410309,
-0.07008107006549835,
-0.03450474888086319,
-0.05543620139360428,
-0.02907543070614338,
0.01910977251827717,
-0.07451025396585464,
-0.0009108396479859948,
-0.025199897587299347,
-0.04868527129292488,
0.024842705577611923,
-0.021645836532115936,
0.01268924679607153,
-0.06975959986448288,
-0.07272429764270782,
0.037612318992614746,
0.04836379736661911,
0.03250447288155556,
0.033361732959747314,
0.03189724683761597,
-0.0022648207377642393,
-0.02691441774368286,
0.009331641718745232,
0.0467207171022892,
-0.04547054320573807,
-0.010858637280762196,
-0.029146868735551834,
-0.006112448405474424,
-0.0178685300052166,
-0.020145630463957787,
-0.04568485915660858,
-0.00016255027730949223,
0.01189449429512024,
0.034754782915115356,
-0.00017454969929531217,
-0.01205523032695055,
-0.0016107127303257585,
-0.01446627639234066,
0.002286028815433383,
-0.013376841321587563,
-0.017716724425554276,
-0.0034669949673116207,
-0.03589779883623123,
-0.011653389781713486,
-0.010215691290795803,
0.0422200970351696,
0.002569549949839711,
0.08058252185583115,
-0.01683267392218113,
0.015859326347708702,
0.0016207587905228138,
0.025449931621551514,
0.02846820279955864,
0.02766452170908451,
-0.003203565953299403,
0.012823193334043026,
0.01868114247918129,
0.026092877611517906,
0.07061686366796494,
-0.009626325219869614,
0.03782663494348526,
-0.028307467699050903,
0.028575360774993896,
0.0016709888586774468,
-0.04957825317978859,
0.01634153537452221,
0.06708066165447235,
-0.026271473616361618,
-0.043184515088796616,
-0.02194944955408573,
0.02870037779211998,
-0.013287543319165707,
0.017314882948994637,
-0.005290906876325607,
0.02209232561290264,
-0.004643496125936508,
0.009474517777562141,
-0.06015113368630409,
-0.040755607187747955,
0.03964831307530403,
0.05454321950674057,
-0.03961259499192238,
-0.07436737418174744,
0.0459706112742424,
-0.017886390909552574,
0.08193984627723694,
-0.05897240340709686,
0.01345720887184143,
0.03418327495455742,
-0.06290151178836823,
-0.01296607032418251,
0.015564641915261745,
0.021056469529867172,
0.08808355033397675,
0.045756299048662186,
-0.03207584470510483,
0.02518203668296337,
0.00838954746723175,
0.029325464740395546,
0.03259377181529999,
0.030968546867370605,
-0.05586482957005501,
0.003031667321920395,
0.002402116311714053,
0.007384944707155228,
0.011849844828248024,
0.035558465868234634,
-0.0063133686780929565,
0.019270509481430054,
-0.01859184354543686,
0.003627731464803219,
0.02855750173330307,
-0.014519855380058289,
0.0274859257042408,
-0.05089986324310303,
-0.050864141434431076,
0.0368979349732399,
0.05918671563267708,
0.07551039010286331,
0.006817902438342571,
0.027325188741087914,
-0.048435237258672714,
0.06207997351884842,
0.025217756628990173,
0.03521913290023804,
0.042863041162490845,
0.010662181302905083,
-0.05897240340709686,
-0.02771810069680214,
0.007000963669270277,
-0.03121858276426792,
0.016421902924776077,
0.04975684732198715,
0.006942919921129942,
-0.0009945564670488238,
0.05300729349255562,
0.029093289747834206,
-0.05440034344792366,
0.04643496125936508,
0.039684031158685684,
0.026646524667739868,
0.030914969742298126,
-0.020860014483332634,
0.06729497760534286,
-0.03964831307530403,
0.0018674444872885942,
-0.05907955765724182,
-0.025807123631238937,
-0.012885701842606068,
0.029379043728113174,
-0.021842291578650475,
0.02948620170354843,
-0.025289194658398628,
-0.0077555314637720585,
-0.019913455471396446,
0.02327105961740017,
-0.018788300454616547,
0.02059211954474449,
0.010046025738120079,
0.006840227171778679,
0.10158541053533554,
0.033593907952308655,
0.05532904341816902,
0.01334112137556076,
0.003087478457018733,
0.016725515946745872,
0.06804507970809937,
-0.03843386098742485,
0.04007694497704506,
0.027093013748526573,
-0.01491276640444994,
-0.019395526498556137,
0.054186027497053146,
-0.03161149471998215,
0.06536614149808884,
-0.04004122316837311,
-0.003799630096182227,
-0.00022896566952113062,
-0.0003217518678866327,
0.018931176513433456,
-0.017966758459806442,
-0.05150708928704262,
-0.0021174789872020483,
0.03350461274385452,
-0.03364748880267143,
0.004862276371568441,
-0.004007247742265463,
-0.04732794314622879,
-0.004462667740881443,
0.059472471475601196,
0.028218168765306473,
-0.0010754828108474612,
-0.025735685601830482,
-0.013439349830150604,
-0.023771129548549652,
0.009358431212604046,
-0.03446903079748154,
-0.026628665626049042,
-0.030736373737454414,
0.026378629729151726,
-0.00952809676527977,
-0.0029825533274561167,
0.03605853393673897,
-0.02157439850270748,
0.02194944955408573,
-0.007014358416199684,
0.006469640415161848,
0.05529332533478737,
-0.027307329699397087,
0.0316472128033638,
-0.013394700363278389,
-0.008233276195824146,
0.02569996565580368,
0.012090949341654778,
-0.04054129496216774,
-0.011599810793995857,
-0.020395664498209953,
-0.0369693748652935,
0.024235477671027184,
0.02569996565580368,
0.010465726256370544,
-0.027128733694553375,
0.008862826973199844,
-0.025967858731746674,
0.006817902438342571,
-0.008202021941542625,
-0.03384394198656082,
-0.04232725501060486,
0.011296197772026062,
-0.032558053731918335,
0.04389889910817146,
-0.08629759401082993,
-0.011037233285605907,
0.015511062927544117,
0.05575767531991005,
0.013403630815446377,
0.028361046686768532,
0.06858086585998535,
0.07593902200460434,
0.0021654765587300062,
-0.0116801792755723,
-0.01636832393705845,
-0.02050282247364521,
0.028450343757867813,
-0.05465037748217583,
-0.042434412986040115,
-0.045291949063539505,
0.013225034810602665,
-0.026807261630892754,
-0.04939965531229973,
-0.033129557967185974,
0.02884325571358204,
0.00997458677738905,
-0.026021437719464302,
0.02612859569489956,
0.01088542677462101,
0.027039434760808945,
-0.04397033900022507,
-0.04461328312754631,
0.0482209213078022,
-0.015573571436107159,
-0.03896964713931084,
0.006456245668232441,
-0.023181762546300888,
0.04472044110298157,
-0.004603311885148287,
-0.007862688973546028,
0.06375877559185028,
-0.044077493250370026,
0.01268924679607153,
-0.05225719138979912,
0.02035994455218315,
0.02650364674627781,
0.04539910703897476,
0.04025553911924362,
0.033826082944869995,
-0.028396764770150185,
-0.05014975741505623,
-0.03462976589798927,
0.033772505819797516,
-0.017707794904708862,
-0.00745638320222497,
-0.02584284171462059,
0.0482209213078022,
0.010251411236822605,
0.002728054067119956,
0.014260890893638134,
0.037612318992614746,
-0.03161149471998215,
0.008728879503905773,
-0.006862551439553499,
0.005996360909193754,
0.017850670963525772,
-0.03882677108049393,
-0.031075704842805862,
0.02055639959871769,
-0.005924922414124012,
-0.028218168765306473,
0.0003577501338440925,
0.013260753825306892,
-0.013778681866824627,
0.06608052551746368,
0.02823602966964245,
0.03525485098361969,
-0.022949587553739548,
0.02327105961740017,
0.039862629026174545,
0.0006747580482624471,
-0.048613835126161575,
-0.020020611584186554,
-0.012314194813370705,
-0.0167433749884367,
0.030504198744893074,
0.012680316343903542,
-0.06958100199699402,
-0.026575086638331413,
-0.040148381143808365,
-0.04847095534205437,
-0.026753682643175125,
0.011305127292871475,
-0.003574152709916234,
-0.009679903276264668,
-0.00768855819478631,
-0.0068000429309904575,
-0.03212942183017731,
-0.021824432536959648,
0.04682787507772446,
0.03211156278848648,
0.03796951100230217,
-0.014546644873917103,
0.017966758459806442,
-0.07965382188558578,
-0.06468747556209564,
0.02228878252208233,
0.019127631559967995,
0.017654215916991234,
-0.028593221679329872,
-0.039684031158685684,
0.011921283788979053,
0.031147142872214317,
0.026932278648018837,
0.04504191502928734,
0.02027064748108387,
-0.016680866479873657,
-0.012564228847622871,
-0.011742687784135342,
0.012635667808353901,
-0.03843386098742485,
0.05111417919397354,
-0.03889821097254753,
-0.028289606794714928,
0.018877597525715828,
-0.016439761966466904,
0.0384695790708065,
-0.06708066165447235,
-0.04232725501060486,
-0.03034346178174019,
-0.00985849928110838,
0.026557225733995438,
0.02823602966964245,
-0.022449517622590065,
-0.0022536583710461855,
-0.04839951917529106,
-0.0383981429040432,
-0.02555708959698677,
0.009822780266404152,
0.008715485222637653,
0.061258431524038315,
-0.04518479108810425,
0.04011266306042671,
0.08315429836511612,
0.007130445446819067,
-0.03718368709087372,
0.10680041462182999,
-0.004056361969560385,
-0.0211100485175848,
-0.059472471475601196,
-0.0012244988465681672,
0.033022403717041016,
-0.04647068306803703,
0.01914549246430397,
0.009028027765452862,
0.016886252909898758,
-0.03582635894417763,
0.09022670239210129,
0.01205523032695055,
0.019413385540246964,
-0.02532491460442543,
-0.0274859257042408,
0.019591981545090675,
-0.01423410139977932,
-0.02243165858089924,
-0.0263964906334877,
0.001537041855044663,
0.0068714814260602,
-0.06368733942508698,
0.04786372929811478,
0.0038599062245339155,
0.010590743273496628,
0.026628665626049042,
-0.034576188772916794,
0.04186290502548218,
0.0398983471095562,
-0.015859326347708702,
0.02795027568936348,
0.01465380284935236,
-0.03786235302686691,
-0.01749347895383835,
-0.008911941200494766,
-0.054757535457611084,
0.0640445277094841,
0.08193984627723694,
-0.015109222382307053,
-0.0331474207341671,
0.009492377750575542,
0.04043413698673248,
0.03507625684142113,
-0.01413587387651205,
-0.052971575409173965,
-0.03455832600593567,
0.009956727735698223,
-0.07247426360845566,
0.04479187726974487,
-0.01217131782323122,
0.013483998365700245,
-0.01914549246430397,
0.012028440833091736,
-0.033772505819797516,
-0.0293611828237772,
-0.006112448405474424,
-0.03886249288916588,
-0.05168568342924118,
0.025217756628990173,
0.00022310548229143023,
-0.04600633308291435,
-0.022645974531769753,
-0.006433921400457621,
-0.0768677219748497,
-0.01318038534373045,
0.04504191502928734,
-0.005246257875114679,
-0.04500619322061539,
0.0014566737227141857,
-0.02921830676496029,
0.019074054434895515,
0.029879111796617508,
0.021592257544398308,
0.040005505084991455,
0.05375739932060242,
0.015055643394589424,
-0.01579681597650051,
0.005898133385926485,
0.04157714918255806,
-0.03718368709087372,
0.03211156278848648,
-0.04554198309779167,
-0.03882677108049393,
-0.042720165103673935,
0.04764941334724426,
0.014314469881355762,
0.008862826973199844,
0.018323950469493866,
0.006322298664599657,
0.023485375568270683,
-0.006916130427271128,
-0.020574260503053665,
-0.0331474207341671,
0.006643771659582853,
-0.052542947232723236,
-0.006009755656123161,
0.007974311709403992,
-0.03825526311993599,
-0.024146180599927902,
-0.0009192113066092134,
-0.00791180320084095,
0.01537711638957262,
-0.037469442933797836,
-0.03337959572672844,
0.00029579963302239776,
-0.015314607881009579,
0.06290151178836823,
0.08379724621772766,
0.010081744752824306,
-0.06529469788074493,
0.06422312557697296,
-0.006148167420178652,
0.04661355912685394,
-0.04100564494729042,
-0.034058257937431335,
-0.0018027034820988774,
-0.02330677956342697,
0.0714741200208664,
0.004109940491616726,
-0.03721940889954567,
0.05750791355967522,
0.05772222951054573,
-0.03861245512962341,
-0.006090123672038317,
-0.030361320823431015,
-0.03896964713931084,
0.007099191192537546,
-0.03768375888466835,
0.031075704842805862,
-0.07111693173646927,
-0.028682518750429153,
-0.02093145251274109,
0.04547054320573807,
0.02393186464905739,
-0.004786373116075993,
-0.05986538156867027,
-0.03173651173710823,
-0.07429593801498413,
-0.0015225309180095792,
0.024503372609615326,
0.0033442103303968906,
-0.006255325395613909,
0.039112526923418045,
-0.027735959738492966,
-0.02139580249786377,
-0.073938749730587,
0.0072420681826770306,
-0.022020887583494186,
0.03445117175579071,
-0.008353828452527523,
0.02214590460062027,
-0.006536613684147596,
-0.021413661539554596,
0.02125292457640171,
0.031165003776550293,
-0.035272710025310516,
-0.03936256095767021,
0.034004680812358856,
0.06722353398799896,
0.03825526311993599,
-0.009795990772545338,
-0.03843386098742485,
0.012930351309478283,
0.0497211292386055,
-0.026860838755965233,
-0.03536200895905495,
-0.01238563284277916,
-0.011260478757321835,
-0.002491414314135909,
0.011537302285432816,
-0.036165691912174225,
0.052364349365234375,
0.0026767076924443245,
0.025360632687807083,
0.014939555898308754,
-0.08179697394371033,
0.005366810131818056,
0.03398682177066803,
-0.09722767025232315,
0.04282732307910919,
0.02771810069680214,
0.01502885390073061,
0.030879249796271324,
-0.04804232716560364,
-0.028807535767555237,
0.0029446016997098923,
0.025074878707528114,
-0.005143565125763416,
-0.030789950862526894,
-0.028593221679329872,
0.04629208520054817,
0.006898270919919014,
-0.028575360774993896,
0.07443881779909134,
-0.04568485915660858,
-0.020234927535057068,
0.004007247742265463,
-0.006090123672038317,
0.07493888586759567,
0.0782964900135994,
-0.05529332533478737,
-0.035326290875673294,
-0.06775932759046555,
0.033772505819797516,
-0.030700653791427612,
-0.020467102527618408,
-0.07290288805961609,
-0.025164177641272545,
-0.04807804524898529,
-0.03241517394781113,
0.003279469208791852,
-0.03343317285180092,
-0.04100564494729042,
0.009706692770123482,
-0.046184927225112915,
0.05397171527147293,
0.04229153320193291,
0.013680454343557358,
-0.09458444267511368,
-0.022020887583494186,
0.006353552918881178,
0.07108121365308762,
0.010063884779810905,
0.020752856507897377,
0.01666300743818283,
0.007099191192537546,
0.05089986324310303,
-0.011805196292698383,
0.05843661352992058,
-0.012626737356185913,
-0.013680454343557358,
0.01760956645011902,
-0.012867842800915241,
-0.016037922352552414,
0.012028440833091736,
0.006804507691413164,
-0.039862629026174545,
0.009912078268826008,
0.010412147268652916,
-0.04714934527873993,
0.032754506915807724,
-0.00850563496351242,
-0.032790228724479675,
0.0021386872977018356,
0.026557225733995438,
-0.019591981545090675,
0.026842979714274406,
0.005554335657507181,
-0.018377529457211494,
0.003357604844495654,
-0.042863041162490845,
0.03028988279402256,
-0.019038334488868713,
0.024414073675870895,
-0.027164453640580177,
-0.0026052691973745823,
0.009956727735698223,
0.056436337530612946,
0.04414893314242363,
0.04432753100991249,
-0.06525897979736328,
-0.060329731553792953,
0.0640445277094841,
0.02812887169420719,
-0.014082294888794422,
0.030218444764614105,
-0.01549320388585329,
0.003310723463073373,
-0.012215967290103436,
-0.002661080565303564,
-0.008527959696948528,
-0.046506401151418686,
-0.036219269037246704,
-0.021878011524677277,
0.015430695377290249,
0.010340709239244461,
-0.021360082551836967,
-0.01891331747174263,
-0.008827107958495617,
-0.004661355633288622,
-0.03259377181529999,
0.015564641915261745,
0.014118014834821224,
-0.016850532963871956,
0.03327243775129318,
-0.09587033838033676,
0.08758348226547241,
-0.013367910869419575,
0.08672621846199036,
0.07065258175134659,
0.008282389491796494,
0.032700929790735245,
0.03605853393673897,
0.036308567970991135,
0.06340157985687256,
0.042255815118551254,
0.05043551325798035,
-0.032700929790735245,
0.01657371036708355,
0.02041352353990078,
-0.02584284171462059,
-0.020609978586435318,
-0.0009108396479859948,
0.022592395544052124,
-0.008885151706635952,
-0.034344013780355453,
0.025021301582455635,
-0.01296607032418251,
-0.039076805114746094,
0.01479667890816927,
-0.021467240527272224,
0.032700929790735245,
0.034754782915115356
]
|
41,786 | wield.bunch.bunch | __len__ | Return len(self). | def gen_func(mname):
def func(self, *args, **kwargs):
return getattr(self._mydict, mname)(*args, **kwargs)
orig_func = getattr(dict, mname)
if orig_func is None:
return
func.__name__ = orig_func.__name__
func.__doc__ = orig_func.__doc__
return func
| (self, *args, **kwargs) | [
0.04386318102478981,
-0.045720577239990234,
0.05843661352992058,
0.007014358416199684,
-0.03711225092411041,
-0.0005516942474059761,
-0.015350326895713806,
0.02673582173883915,
0.03932683914899826,
-0.021592257544398308,
-0.023538954555988312,
0.07951094210147858,
0.053114451467990875,
0.019556263461709023,
-0.02041352353990078,
-0.0006368063623085618,
0.017663145437836647,
0.03268307074904442,
-0.043005917221307755,
-0.021002890542149544,
0.026860838755965233,
0.008018961176276207,
0.04789945110678673,
-0.027360908687114716,
0.026289332658052444,
0.06654487550258636,
-0.009831709787249565,
0.030164865776896477,
0.046327803283929825,
-0.06975959986448288,
-0.06515182554721832,
-0.04357742518186569,
0.02887897379696369,
0.06811651587486267,
0.013921558856964111,
-0.05104273930191994,
-0.014314469881355762,
0.0413985550403595,
-0.13166098296642303,
-0.05829373747110367,
0.09587033838033676,
-0.003627731464803219,
0.01608256995677948,
-0.0020639002323150635,
0.019449105486273766,
-0.014064435847103596,
-0.009581675752997398,
0.0349869579076767,
0.025164177641272545,
-0.01772565394639969,
0.010796128772199154,
-0.021288644522428513,
0.032790228724479675,
0.01397513784468174,
0.005505221895873547,
0.049506813287734985,
-0.00826006568968296,
0.03595137596130371,
0.03634428605437279,
0.02537849359214306,
-0.05186428129673004,
-0.009510237723588943,
-0.030647074803709984,
-0.023628251627087593,
-0.007742136716842651,
-0.025432070717215538,
-0.042720165103673935,
-0.010376428253948689,
-0.03189724683761597,
0.00008197277929866686,
-0.00029189285123720765,
0.0052685821428895,
0.02612859569489956,
-0.0024891819339245558,
-0.0038599062245339155,
0.007701952941715717,
-0.07158128172159195,
-0.1008710265159607,
0.04600633308291435,
-0.001475649536587298,
-0.05843661352992058,
-0.07140268385410309,
-0.07008107006549835,
-0.03450474888086319,
-0.05543620139360428,
-0.02907543070614338,
0.01910977251827717,
-0.07451025396585464,
-0.0009108396479859948,
-0.025199897587299347,
-0.04868527129292488,
0.024842705577611923,
-0.021645836532115936,
0.01268924679607153,
-0.06975959986448288,
-0.07272429764270782,
0.037612318992614746,
0.04836379736661911,
0.03250447288155556,
0.033361732959747314,
0.03189724683761597,
-0.0022648207377642393,
-0.02691441774368286,
0.009331641718745232,
0.0467207171022892,
-0.04547054320573807,
-0.010858637280762196,
-0.029146868735551834,
-0.006112448405474424,
-0.0178685300052166,
-0.020145630463957787,
-0.04568485915660858,
-0.00016255027730949223,
0.01189449429512024,
0.034754782915115356,
-0.00017454969929531217,
-0.01205523032695055,
-0.0016107127303257585,
-0.01446627639234066,
0.002286028815433383,
-0.013376841321587563,
-0.017716724425554276,
-0.0034669949673116207,
-0.03589779883623123,
-0.011653389781713486,
-0.010215691290795803,
0.0422200970351696,
0.002569549949839711,
0.08058252185583115,
-0.01683267392218113,
0.015859326347708702,
0.0016207587905228138,
0.025449931621551514,
0.02846820279955864,
0.02766452170908451,
-0.003203565953299403,
0.012823193334043026,
0.01868114247918129,
0.026092877611517906,
0.07061686366796494,
-0.009626325219869614,
0.03782663494348526,
-0.028307467699050903,
0.028575360774993896,
0.0016709888586774468,
-0.04957825317978859,
0.01634153537452221,
0.06708066165447235,
-0.026271473616361618,
-0.043184515088796616,
-0.02194944955408573,
0.02870037779211998,
-0.013287543319165707,
0.017314882948994637,
-0.005290906876325607,
0.02209232561290264,
-0.004643496125936508,
0.009474517777562141,
-0.06015113368630409,
-0.040755607187747955,
0.03964831307530403,
0.05454321950674057,
-0.03961259499192238,
-0.07436737418174744,
0.0459706112742424,
-0.017886390909552574,
0.08193984627723694,
-0.05897240340709686,
0.01345720887184143,
0.03418327495455742,
-0.06290151178836823,
-0.01296607032418251,
0.015564641915261745,
0.021056469529867172,
0.08808355033397675,
0.045756299048662186,
-0.03207584470510483,
0.02518203668296337,
0.00838954746723175,
0.029325464740395546,
0.03259377181529999,
0.030968546867370605,
-0.05586482957005501,
0.003031667321920395,
0.002402116311714053,
0.007384944707155228,
0.011849844828248024,
0.035558465868234634,
-0.0063133686780929565,
0.019270509481430054,
-0.01859184354543686,
0.003627731464803219,
0.02855750173330307,
-0.014519855380058289,
0.0274859257042408,
-0.05089986324310303,
-0.050864141434431076,
0.0368979349732399,
0.05918671563267708,
0.07551039010286331,
0.006817902438342571,
0.027325188741087914,
-0.048435237258672714,
0.06207997351884842,
0.025217756628990173,
0.03521913290023804,
0.042863041162490845,
0.010662181302905083,
-0.05897240340709686,
-0.02771810069680214,
0.007000963669270277,
-0.03121858276426792,
0.016421902924776077,
0.04975684732198715,
0.006942919921129942,
-0.0009945564670488238,
0.05300729349255562,
0.029093289747834206,
-0.05440034344792366,
0.04643496125936508,
0.039684031158685684,
0.026646524667739868,
0.030914969742298126,
-0.020860014483332634,
0.06729497760534286,
-0.03964831307530403,
0.0018674444872885942,
-0.05907955765724182,
-0.025807123631238937,
-0.012885701842606068,
0.029379043728113174,
-0.021842291578650475,
0.02948620170354843,
-0.025289194658398628,
-0.0077555314637720585,
-0.019913455471396446,
0.02327105961740017,
-0.018788300454616547,
0.02059211954474449,
0.010046025738120079,
0.006840227171778679,
0.10158541053533554,
0.033593907952308655,
0.05532904341816902,
0.01334112137556076,
0.003087478457018733,
0.016725515946745872,
0.06804507970809937,
-0.03843386098742485,
0.04007694497704506,
0.027093013748526573,
-0.01491276640444994,
-0.019395526498556137,
0.054186027497053146,
-0.03161149471998215,
0.06536614149808884,
-0.04004122316837311,
-0.003799630096182227,
-0.00022896566952113062,
-0.0003217518678866327,
0.018931176513433456,
-0.017966758459806442,
-0.05150708928704262,
-0.0021174789872020483,
0.03350461274385452,
-0.03364748880267143,
0.004862276371568441,
-0.004007247742265463,
-0.04732794314622879,
-0.004462667740881443,
0.059472471475601196,
0.028218168765306473,
-0.0010754828108474612,
-0.025735685601830482,
-0.013439349830150604,
-0.023771129548549652,
0.009358431212604046,
-0.03446903079748154,
-0.026628665626049042,
-0.030736373737454414,
0.026378629729151726,
-0.00952809676527977,
-0.0029825533274561167,
0.03605853393673897,
-0.02157439850270748,
0.02194944955408573,
-0.007014358416199684,
0.006469640415161848,
0.05529332533478737,
-0.027307329699397087,
0.0316472128033638,
-0.013394700363278389,
-0.008233276195824146,
0.02569996565580368,
0.012090949341654778,
-0.04054129496216774,
-0.011599810793995857,
-0.020395664498209953,
-0.0369693748652935,
0.024235477671027184,
0.02569996565580368,
0.010465726256370544,
-0.027128733694553375,
0.008862826973199844,
-0.025967858731746674,
0.006817902438342571,
-0.008202021941542625,
-0.03384394198656082,
-0.04232725501060486,
0.011296197772026062,
-0.032558053731918335,
0.04389889910817146,
-0.08629759401082993,
-0.011037233285605907,
0.015511062927544117,
0.05575767531991005,
0.013403630815446377,
0.028361046686768532,
0.06858086585998535,
0.07593902200460434,
0.0021654765587300062,
-0.0116801792755723,
-0.01636832393705845,
-0.02050282247364521,
0.028450343757867813,
-0.05465037748217583,
-0.042434412986040115,
-0.045291949063539505,
0.013225034810602665,
-0.026807261630892754,
-0.04939965531229973,
-0.033129557967185974,
0.02884325571358204,
0.00997458677738905,
-0.026021437719464302,
0.02612859569489956,
0.01088542677462101,
0.027039434760808945,
-0.04397033900022507,
-0.04461328312754631,
0.0482209213078022,
-0.015573571436107159,
-0.03896964713931084,
0.006456245668232441,
-0.023181762546300888,
0.04472044110298157,
-0.004603311885148287,
-0.007862688973546028,
0.06375877559185028,
-0.044077493250370026,
0.01268924679607153,
-0.05225719138979912,
0.02035994455218315,
0.02650364674627781,
0.04539910703897476,
0.04025553911924362,
0.033826082944869995,
-0.028396764770150185,
-0.05014975741505623,
-0.03462976589798927,
0.033772505819797516,
-0.017707794904708862,
-0.00745638320222497,
-0.02584284171462059,
0.0482209213078022,
0.010251411236822605,
0.002728054067119956,
0.014260890893638134,
0.037612318992614746,
-0.03161149471998215,
0.008728879503905773,
-0.006862551439553499,
0.005996360909193754,
0.017850670963525772,
-0.03882677108049393,
-0.031075704842805862,
0.02055639959871769,
-0.005924922414124012,
-0.028218168765306473,
0.0003577501338440925,
0.013260753825306892,
-0.013778681866824627,
0.06608052551746368,
0.02823602966964245,
0.03525485098361969,
-0.022949587553739548,
0.02327105961740017,
0.039862629026174545,
0.0006747580482624471,
-0.048613835126161575,
-0.020020611584186554,
-0.012314194813370705,
-0.0167433749884367,
0.030504198744893074,
0.012680316343903542,
-0.06958100199699402,
-0.026575086638331413,
-0.040148381143808365,
-0.04847095534205437,
-0.026753682643175125,
0.011305127292871475,
-0.003574152709916234,
-0.009679903276264668,
-0.00768855819478631,
-0.0068000429309904575,
-0.03212942183017731,
-0.021824432536959648,
0.04682787507772446,
0.03211156278848648,
0.03796951100230217,
-0.014546644873917103,
0.017966758459806442,
-0.07965382188558578,
-0.06468747556209564,
0.02228878252208233,
0.019127631559967995,
0.017654215916991234,
-0.028593221679329872,
-0.039684031158685684,
0.011921283788979053,
0.031147142872214317,
0.026932278648018837,
0.04504191502928734,
0.02027064748108387,
-0.016680866479873657,
-0.012564228847622871,
-0.011742687784135342,
0.012635667808353901,
-0.03843386098742485,
0.05111417919397354,
-0.03889821097254753,
-0.028289606794714928,
0.018877597525715828,
-0.016439761966466904,
0.0384695790708065,
-0.06708066165447235,
-0.04232725501060486,
-0.03034346178174019,
-0.00985849928110838,
0.026557225733995438,
0.02823602966964245,
-0.022449517622590065,
-0.0022536583710461855,
-0.04839951917529106,
-0.0383981429040432,
-0.02555708959698677,
0.009822780266404152,
0.008715485222637653,
0.061258431524038315,
-0.04518479108810425,
0.04011266306042671,
0.08315429836511612,
0.007130445446819067,
-0.03718368709087372,
0.10680041462182999,
-0.004056361969560385,
-0.0211100485175848,
-0.059472471475601196,
-0.0012244988465681672,
0.033022403717041016,
-0.04647068306803703,
0.01914549246430397,
0.009028027765452862,
0.016886252909898758,
-0.03582635894417763,
0.09022670239210129,
0.01205523032695055,
0.019413385540246964,
-0.02532491460442543,
-0.0274859257042408,
0.019591981545090675,
-0.01423410139977932,
-0.02243165858089924,
-0.0263964906334877,
0.001537041855044663,
0.0068714814260602,
-0.06368733942508698,
0.04786372929811478,
0.0038599062245339155,
0.010590743273496628,
0.026628665626049042,
-0.034576188772916794,
0.04186290502548218,
0.0398983471095562,
-0.015859326347708702,
0.02795027568936348,
0.01465380284935236,
-0.03786235302686691,
-0.01749347895383835,
-0.008911941200494766,
-0.054757535457611084,
0.0640445277094841,
0.08193984627723694,
-0.015109222382307053,
-0.0331474207341671,
0.009492377750575542,
0.04043413698673248,
0.03507625684142113,
-0.01413587387651205,
-0.052971575409173965,
-0.03455832600593567,
0.009956727735698223,
-0.07247426360845566,
0.04479187726974487,
-0.01217131782323122,
0.013483998365700245,
-0.01914549246430397,
0.012028440833091736,
-0.033772505819797516,
-0.0293611828237772,
-0.006112448405474424,
-0.03886249288916588,
-0.05168568342924118,
0.025217756628990173,
0.00022310548229143023,
-0.04600633308291435,
-0.022645974531769753,
-0.006433921400457621,
-0.0768677219748497,
-0.01318038534373045,
0.04504191502928734,
-0.005246257875114679,
-0.04500619322061539,
0.0014566737227141857,
-0.02921830676496029,
0.019074054434895515,
0.029879111796617508,
0.021592257544398308,
0.040005505084991455,
0.05375739932060242,
0.015055643394589424,
-0.01579681597650051,
0.005898133385926485,
0.04157714918255806,
-0.03718368709087372,
0.03211156278848648,
-0.04554198309779167,
-0.03882677108049393,
-0.042720165103673935,
0.04764941334724426,
0.014314469881355762,
0.008862826973199844,
0.018323950469493866,
0.006322298664599657,
0.023485375568270683,
-0.006916130427271128,
-0.020574260503053665,
-0.0331474207341671,
0.006643771659582853,
-0.052542947232723236,
-0.006009755656123161,
0.007974311709403992,
-0.03825526311993599,
-0.024146180599927902,
-0.0009192113066092134,
-0.00791180320084095,
0.01537711638957262,
-0.037469442933797836,
-0.03337959572672844,
0.00029579963302239776,
-0.015314607881009579,
0.06290151178836823,
0.08379724621772766,
0.010081744752824306,
-0.06529469788074493,
0.06422312557697296,
-0.006148167420178652,
0.04661355912685394,
-0.04100564494729042,
-0.034058257937431335,
-0.0018027034820988774,
-0.02330677956342697,
0.0714741200208664,
0.004109940491616726,
-0.03721940889954567,
0.05750791355967522,
0.05772222951054573,
-0.03861245512962341,
-0.006090123672038317,
-0.030361320823431015,
-0.03896964713931084,
0.007099191192537546,
-0.03768375888466835,
0.031075704842805862,
-0.07111693173646927,
-0.028682518750429153,
-0.02093145251274109,
0.04547054320573807,
0.02393186464905739,
-0.004786373116075993,
-0.05986538156867027,
-0.03173651173710823,
-0.07429593801498413,
-0.0015225309180095792,
0.024503372609615326,
0.0033442103303968906,
-0.006255325395613909,
0.039112526923418045,
-0.027735959738492966,
-0.02139580249786377,
-0.073938749730587,
0.0072420681826770306,
-0.022020887583494186,
0.03445117175579071,
-0.008353828452527523,
0.02214590460062027,
-0.006536613684147596,
-0.021413661539554596,
0.02125292457640171,
0.031165003776550293,
-0.035272710025310516,
-0.03936256095767021,
0.034004680812358856,
0.06722353398799896,
0.03825526311993599,
-0.009795990772545338,
-0.03843386098742485,
0.012930351309478283,
0.0497211292386055,
-0.026860838755965233,
-0.03536200895905495,
-0.01238563284277916,
-0.011260478757321835,
-0.002491414314135909,
0.011537302285432816,
-0.036165691912174225,
0.052364349365234375,
0.0026767076924443245,
0.025360632687807083,
0.014939555898308754,
-0.08179697394371033,
0.005366810131818056,
0.03398682177066803,
-0.09722767025232315,
0.04282732307910919,
0.02771810069680214,
0.01502885390073061,
0.030879249796271324,
-0.04804232716560364,
-0.028807535767555237,
0.0029446016997098923,
0.025074878707528114,
-0.005143565125763416,
-0.030789950862526894,
-0.028593221679329872,
0.04629208520054817,
0.006898270919919014,
-0.028575360774993896,
0.07443881779909134,
-0.04568485915660858,
-0.020234927535057068,
0.004007247742265463,
-0.006090123672038317,
0.07493888586759567,
0.0782964900135994,
-0.05529332533478737,
-0.035326290875673294,
-0.06775932759046555,
0.033772505819797516,
-0.030700653791427612,
-0.020467102527618408,
-0.07290288805961609,
-0.025164177641272545,
-0.04807804524898529,
-0.03241517394781113,
0.003279469208791852,
-0.03343317285180092,
-0.04100564494729042,
0.009706692770123482,
-0.046184927225112915,
0.05397171527147293,
0.04229153320193291,
0.013680454343557358,
-0.09458444267511368,
-0.022020887583494186,
0.006353552918881178,
0.07108121365308762,
0.010063884779810905,
0.020752856507897377,
0.01666300743818283,
0.007099191192537546,
0.05089986324310303,
-0.011805196292698383,
0.05843661352992058,
-0.012626737356185913,
-0.013680454343557358,
0.01760956645011902,
-0.012867842800915241,
-0.016037922352552414,
0.012028440833091736,
0.006804507691413164,
-0.039862629026174545,
0.009912078268826008,
0.010412147268652916,
-0.04714934527873993,
0.032754506915807724,
-0.00850563496351242,
-0.032790228724479675,
0.0021386872977018356,
0.026557225733995438,
-0.019591981545090675,
0.026842979714274406,
0.005554335657507181,
-0.018377529457211494,
0.003357604844495654,
-0.042863041162490845,
0.03028988279402256,
-0.019038334488868713,
0.024414073675870895,
-0.027164453640580177,
-0.0026052691973745823,
0.009956727735698223,
0.056436337530612946,
0.04414893314242363,
0.04432753100991249,
-0.06525897979736328,
-0.060329731553792953,
0.0640445277094841,
0.02812887169420719,
-0.014082294888794422,
0.030218444764614105,
-0.01549320388585329,
0.003310723463073373,
-0.012215967290103436,
-0.002661080565303564,
-0.008527959696948528,
-0.046506401151418686,
-0.036219269037246704,
-0.021878011524677277,
0.015430695377290249,
0.010340709239244461,
-0.021360082551836967,
-0.01891331747174263,
-0.008827107958495617,
-0.004661355633288622,
-0.03259377181529999,
0.015564641915261745,
0.014118014834821224,
-0.016850532963871956,
0.03327243775129318,
-0.09587033838033676,
0.08758348226547241,
-0.013367910869419575,
0.08672621846199036,
0.07065258175134659,
0.008282389491796494,
0.032700929790735245,
0.03605853393673897,
0.036308567970991135,
0.06340157985687256,
0.042255815118551254,
0.05043551325798035,
-0.032700929790735245,
0.01657371036708355,
0.02041352353990078,
-0.02584284171462059,
-0.020609978586435318,
-0.0009108396479859948,
0.022592395544052124,
-0.008885151706635952,
-0.034344013780355453,
0.025021301582455635,
-0.01296607032418251,
-0.039076805114746094,
0.01479667890816927,
-0.021467240527272224,
0.032700929790735245,
0.034754782915115356
]
|
41,787 | wield.bunch.bunch | __lt__ | Return self<value. | def gen_func(mname):
def func(self, *args, **kwargs):
return getattr(self._mydict, mname)(*args, **kwargs)
orig_func = getattr(dict, mname)
if orig_func is None:
return
func.__name__ = orig_func.__name__
func.__doc__ = orig_func.__doc__
return func
| (self, *args, **kwargs) | [
0.04386318102478981,
-0.045720577239990234,
0.05843661352992058,
0.007014358416199684,
-0.03711225092411041,
-0.0005516942474059761,
-0.015350326895713806,
0.02673582173883915,
0.03932683914899826,
-0.021592257544398308,
-0.023538954555988312,
0.07951094210147858,
0.053114451467990875,
0.019556263461709023,
-0.02041352353990078,
-0.0006368063623085618,
0.017663145437836647,
0.03268307074904442,
-0.043005917221307755,
-0.021002890542149544,
0.026860838755965233,
0.008018961176276207,
0.04789945110678673,
-0.027360908687114716,
0.026289332658052444,
0.06654487550258636,
-0.009831709787249565,
0.030164865776896477,
0.046327803283929825,
-0.06975959986448288,
-0.06515182554721832,
-0.04357742518186569,
0.02887897379696369,
0.06811651587486267,
0.013921558856964111,
-0.05104273930191994,
-0.014314469881355762,
0.0413985550403595,
-0.13166098296642303,
-0.05829373747110367,
0.09587033838033676,
-0.003627731464803219,
0.01608256995677948,
-0.0020639002323150635,
0.019449105486273766,
-0.014064435847103596,
-0.009581675752997398,
0.0349869579076767,
0.025164177641272545,
-0.01772565394639969,
0.010796128772199154,
-0.021288644522428513,
0.032790228724479675,
0.01397513784468174,
0.005505221895873547,
0.049506813287734985,
-0.00826006568968296,
0.03595137596130371,
0.03634428605437279,
0.02537849359214306,
-0.05186428129673004,
-0.009510237723588943,
-0.030647074803709984,
-0.023628251627087593,
-0.007742136716842651,
-0.025432070717215538,
-0.042720165103673935,
-0.010376428253948689,
-0.03189724683761597,
0.00008197277929866686,
-0.00029189285123720765,
0.0052685821428895,
0.02612859569489956,
-0.0024891819339245558,
-0.0038599062245339155,
0.007701952941715717,
-0.07158128172159195,
-0.1008710265159607,
0.04600633308291435,
-0.001475649536587298,
-0.05843661352992058,
-0.07140268385410309,
-0.07008107006549835,
-0.03450474888086319,
-0.05543620139360428,
-0.02907543070614338,
0.01910977251827717,
-0.07451025396585464,
-0.0009108396479859948,
-0.025199897587299347,
-0.04868527129292488,
0.024842705577611923,
-0.021645836532115936,
0.01268924679607153,
-0.06975959986448288,
-0.07272429764270782,
0.037612318992614746,
0.04836379736661911,
0.03250447288155556,
0.033361732959747314,
0.03189724683761597,
-0.0022648207377642393,
-0.02691441774368286,
0.009331641718745232,
0.0467207171022892,
-0.04547054320573807,
-0.010858637280762196,
-0.029146868735551834,
-0.006112448405474424,
-0.0178685300052166,
-0.020145630463957787,
-0.04568485915660858,
-0.00016255027730949223,
0.01189449429512024,
0.034754782915115356,
-0.00017454969929531217,
-0.01205523032695055,
-0.0016107127303257585,
-0.01446627639234066,
0.002286028815433383,
-0.013376841321587563,
-0.017716724425554276,
-0.0034669949673116207,
-0.03589779883623123,
-0.011653389781713486,
-0.010215691290795803,
0.0422200970351696,
0.002569549949839711,
0.08058252185583115,
-0.01683267392218113,
0.015859326347708702,
0.0016207587905228138,
0.025449931621551514,
0.02846820279955864,
0.02766452170908451,
-0.003203565953299403,
0.012823193334043026,
0.01868114247918129,
0.026092877611517906,
0.07061686366796494,
-0.009626325219869614,
0.03782663494348526,
-0.028307467699050903,
0.028575360774993896,
0.0016709888586774468,
-0.04957825317978859,
0.01634153537452221,
0.06708066165447235,
-0.026271473616361618,
-0.043184515088796616,
-0.02194944955408573,
0.02870037779211998,
-0.013287543319165707,
0.017314882948994637,
-0.005290906876325607,
0.02209232561290264,
-0.004643496125936508,
0.009474517777562141,
-0.06015113368630409,
-0.040755607187747955,
0.03964831307530403,
0.05454321950674057,
-0.03961259499192238,
-0.07436737418174744,
0.0459706112742424,
-0.017886390909552574,
0.08193984627723694,
-0.05897240340709686,
0.01345720887184143,
0.03418327495455742,
-0.06290151178836823,
-0.01296607032418251,
0.015564641915261745,
0.021056469529867172,
0.08808355033397675,
0.045756299048662186,
-0.03207584470510483,
0.02518203668296337,
0.00838954746723175,
0.029325464740395546,
0.03259377181529999,
0.030968546867370605,
-0.05586482957005501,
0.003031667321920395,
0.002402116311714053,
0.007384944707155228,
0.011849844828248024,
0.035558465868234634,
-0.0063133686780929565,
0.019270509481430054,
-0.01859184354543686,
0.003627731464803219,
0.02855750173330307,
-0.014519855380058289,
0.0274859257042408,
-0.05089986324310303,
-0.050864141434431076,
0.0368979349732399,
0.05918671563267708,
0.07551039010286331,
0.006817902438342571,
0.027325188741087914,
-0.048435237258672714,
0.06207997351884842,
0.025217756628990173,
0.03521913290023804,
0.042863041162490845,
0.010662181302905083,
-0.05897240340709686,
-0.02771810069680214,
0.007000963669270277,
-0.03121858276426792,
0.016421902924776077,
0.04975684732198715,
0.006942919921129942,
-0.0009945564670488238,
0.05300729349255562,
0.029093289747834206,
-0.05440034344792366,
0.04643496125936508,
0.039684031158685684,
0.026646524667739868,
0.030914969742298126,
-0.020860014483332634,
0.06729497760534286,
-0.03964831307530403,
0.0018674444872885942,
-0.05907955765724182,
-0.025807123631238937,
-0.012885701842606068,
0.029379043728113174,
-0.021842291578650475,
0.02948620170354843,
-0.025289194658398628,
-0.0077555314637720585,
-0.019913455471396446,
0.02327105961740017,
-0.018788300454616547,
0.02059211954474449,
0.010046025738120079,
0.006840227171778679,
0.10158541053533554,
0.033593907952308655,
0.05532904341816902,
0.01334112137556076,
0.003087478457018733,
0.016725515946745872,
0.06804507970809937,
-0.03843386098742485,
0.04007694497704506,
0.027093013748526573,
-0.01491276640444994,
-0.019395526498556137,
0.054186027497053146,
-0.03161149471998215,
0.06536614149808884,
-0.04004122316837311,
-0.003799630096182227,
-0.00022896566952113062,
-0.0003217518678866327,
0.018931176513433456,
-0.017966758459806442,
-0.05150708928704262,
-0.0021174789872020483,
0.03350461274385452,
-0.03364748880267143,
0.004862276371568441,
-0.004007247742265463,
-0.04732794314622879,
-0.004462667740881443,
0.059472471475601196,
0.028218168765306473,
-0.0010754828108474612,
-0.025735685601830482,
-0.013439349830150604,
-0.023771129548549652,
0.009358431212604046,
-0.03446903079748154,
-0.026628665626049042,
-0.030736373737454414,
0.026378629729151726,
-0.00952809676527977,
-0.0029825533274561167,
0.03605853393673897,
-0.02157439850270748,
0.02194944955408573,
-0.007014358416199684,
0.006469640415161848,
0.05529332533478737,
-0.027307329699397087,
0.0316472128033638,
-0.013394700363278389,
-0.008233276195824146,
0.02569996565580368,
0.012090949341654778,
-0.04054129496216774,
-0.011599810793995857,
-0.020395664498209953,
-0.0369693748652935,
0.024235477671027184,
0.02569996565580368,
0.010465726256370544,
-0.027128733694553375,
0.008862826973199844,
-0.025967858731746674,
0.006817902438342571,
-0.008202021941542625,
-0.03384394198656082,
-0.04232725501060486,
0.011296197772026062,
-0.032558053731918335,
0.04389889910817146,
-0.08629759401082993,
-0.011037233285605907,
0.015511062927544117,
0.05575767531991005,
0.013403630815446377,
0.028361046686768532,
0.06858086585998535,
0.07593902200460434,
0.0021654765587300062,
-0.0116801792755723,
-0.01636832393705845,
-0.02050282247364521,
0.028450343757867813,
-0.05465037748217583,
-0.042434412986040115,
-0.045291949063539505,
0.013225034810602665,
-0.026807261630892754,
-0.04939965531229973,
-0.033129557967185974,
0.02884325571358204,
0.00997458677738905,
-0.026021437719464302,
0.02612859569489956,
0.01088542677462101,
0.027039434760808945,
-0.04397033900022507,
-0.04461328312754631,
0.0482209213078022,
-0.015573571436107159,
-0.03896964713931084,
0.006456245668232441,
-0.023181762546300888,
0.04472044110298157,
-0.004603311885148287,
-0.007862688973546028,
0.06375877559185028,
-0.044077493250370026,
0.01268924679607153,
-0.05225719138979912,
0.02035994455218315,
0.02650364674627781,
0.04539910703897476,
0.04025553911924362,
0.033826082944869995,
-0.028396764770150185,
-0.05014975741505623,
-0.03462976589798927,
0.033772505819797516,
-0.017707794904708862,
-0.00745638320222497,
-0.02584284171462059,
0.0482209213078022,
0.010251411236822605,
0.002728054067119956,
0.014260890893638134,
0.037612318992614746,
-0.03161149471998215,
0.008728879503905773,
-0.006862551439553499,
0.005996360909193754,
0.017850670963525772,
-0.03882677108049393,
-0.031075704842805862,
0.02055639959871769,
-0.005924922414124012,
-0.028218168765306473,
0.0003577501338440925,
0.013260753825306892,
-0.013778681866824627,
0.06608052551746368,
0.02823602966964245,
0.03525485098361969,
-0.022949587553739548,
0.02327105961740017,
0.039862629026174545,
0.0006747580482624471,
-0.048613835126161575,
-0.020020611584186554,
-0.012314194813370705,
-0.0167433749884367,
0.030504198744893074,
0.012680316343903542,
-0.06958100199699402,
-0.026575086638331413,
-0.040148381143808365,
-0.04847095534205437,
-0.026753682643175125,
0.011305127292871475,
-0.003574152709916234,
-0.009679903276264668,
-0.00768855819478631,
-0.0068000429309904575,
-0.03212942183017731,
-0.021824432536959648,
0.04682787507772446,
0.03211156278848648,
0.03796951100230217,
-0.014546644873917103,
0.017966758459806442,
-0.07965382188558578,
-0.06468747556209564,
0.02228878252208233,
0.019127631559967995,
0.017654215916991234,
-0.028593221679329872,
-0.039684031158685684,
0.011921283788979053,
0.031147142872214317,
0.026932278648018837,
0.04504191502928734,
0.02027064748108387,
-0.016680866479873657,
-0.012564228847622871,
-0.011742687784135342,
0.012635667808353901,
-0.03843386098742485,
0.05111417919397354,
-0.03889821097254753,
-0.028289606794714928,
0.018877597525715828,
-0.016439761966466904,
0.0384695790708065,
-0.06708066165447235,
-0.04232725501060486,
-0.03034346178174019,
-0.00985849928110838,
0.026557225733995438,
0.02823602966964245,
-0.022449517622590065,
-0.0022536583710461855,
-0.04839951917529106,
-0.0383981429040432,
-0.02555708959698677,
0.009822780266404152,
0.008715485222637653,
0.061258431524038315,
-0.04518479108810425,
0.04011266306042671,
0.08315429836511612,
0.007130445446819067,
-0.03718368709087372,
0.10680041462182999,
-0.004056361969560385,
-0.0211100485175848,
-0.059472471475601196,
-0.0012244988465681672,
0.033022403717041016,
-0.04647068306803703,
0.01914549246430397,
0.009028027765452862,
0.016886252909898758,
-0.03582635894417763,
0.09022670239210129,
0.01205523032695055,
0.019413385540246964,
-0.02532491460442543,
-0.0274859257042408,
0.019591981545090675,
-0.01423410139977932,
-0.02243165858089924,
-0.0263964906334877,
0.001537041855044663,
0.0068714814260602,
-0.06368733942508698,
0.04786372929811478,
0.0038599062245339155,
0.010590743273496628,
0.026628665626049042,
-0.034576188772916794,
0.04186290502548218,
0.0398983471095562,
-0.015859326347708702,
0.02795027568936348,
0.01465380284935236,
-0.03786235302686691,
-0.01749347895383835,
-0.008911941200494766,
-0.054757535457611084,
0.0640445277094841,
0.08193984627723694,
-0.015109222382307053,
-0.0331474207341671,
0.009492377750575542,
0.04043413698673248,
0.03507625684142113,
-0.01413587387651205,
-0.052971575409173965,
-0.03455832600593567,
0.009956727735698223,
-0.07247426360845566,
0.04479187726974487,
-0.01217131782323122,
0.013483998365700245,
-0.01914549246430397,
0.012028440833091736,
-0.033772505819797516,
-0.0293611828237772,
-0.006112448405474424,
-0.03886249288916588,
-0.05168568342924118,
0.025217756628990173,
0.00022310548229143023,
-0.04600633308291435,
-0.022645974531769753,
-0.006433921400457621,
-0.0768677219748497,
-0.01318038534373045,
0.04504191502928734,
-0.005246257875114679,
-0.04500619322061539,
0.0014566737227141857,
-0.02921830676496029,
0.019074054434895515,
0.029879111796617508,
0.021592257544398308,
0.040005505084991455,
0.05375739932060242,
0.015055643394589424,
-0.01579681597650051,
0.005898133385926485,
0.04157714918255806,
-0.03718368709087372,
0.03211156278848648,
-0.04554198309779167,
-0.03882677108049393,
-0.042720165103673935,
0.04764941334724426,
0.014314469881355762,
0.008862826973199844,
0.018323950469493866,
0.006322298664599657,
0.023485375568270683,
-0.006916130427271128,
-0.020574260503053665,
-0.0331474207341671,
0.006643771659582853,
-0.052542947232723236,
-0.006009755656123161,
0.007974311709403992,
-0.03825526311993599,
-0.024146180599927902,
-0.0009192113066092134,
-0.00791180320084095,
0.01537711638957262,
-0.037469442933797836,
-0.03337959572672844,
0.00029579963302239776,
-0.015314607881009579,
0.06290151178836823,
0.08379724621772766,
0.010081744752824306,
-0.06529469788074493,
0.06422312557697296,
-0.006148167420178652,
0.04661355912685394,
-0.04100564494729042,
-0.034058257937431335,
-0.0018027034820988774,
-0.02330677956342697,
0.0714741200208664,
0.004109940491616726,
-0.03721940889954567,
0.05750791355967522,
0.05772222951054573,
-0.03861245512962341,
-0.006090123672038317,
-0.030361320823431015,
-0.03896964713931084,
0.007099191192537546,
-0.03768375888466835,
0.031075704842805862,
-0.07111693173646927,
-0.028682518750429153,
-0.02093145251274109,
0.04547054320573807,
0.02393186464905739,
-0.004786373116075993,
-0.05986538156867027,
-0.03173651173710823,
-0.07429593801498413,
-0.0015225309180095792,
0.024503372609615326,
0.0033442103303968906,
-0.006255325395613909,
0.039112526923418045,
-0.027735959738492966,
-0.02139580249786377,
-0.073938749730587,
0.0072420681826770306,
-0.022020887583494186,
0.03445117175579071,
-0.008353828452527523,
0.02214590460062027,
-0.006536613684147596,
-0.021413661539554596,
0.02125292457640171,
0.031165003776550293,
-0.035272710025310516,
-0.03936256095767021,
0.034004680812358856,
0.06722353398799896,
0.03825526311993599,
-0.009795990772545338,
-0.03843386098742485,
0.012930351309478283,
0.0497211292386055,
-0.026860838755965233,
-0.03536200895905495,
-0.01238563284277916,
-0.011260478757321835,
-0.002491414314135909,
0.011537302285432816,
-0.036165691912174225,
0.052364349365234375,
0.0026767076924443245,
0.025360632687807083,
0.014939555898308754,
-0.08179697394371033,
0.005366810131818056,
0.03398682177066803,
-0.09722767025232315,
0.04282732307910919,
0.02771810069680214,
0.01502885390073061,
0.030879249796271324,
-0.04804232716560364,
-0.028807535767555237,
0.0029446016997098923,
0.025074878707528114,
-0.005143565125763416,
-0.030789950862526894,
-0.028593221679329872,
0.04629208520054817,
0.006898270919919014,
-0.028575360774993896,
0.07443881779909134,
-0.04568485915660858,
-0.020234927535057068,
0.004007247742265463,
-0.006090123672038317,
0.07493888586759567,
0.0782964900135994,
-0.05529332533478737,
-0.035326290875673294,
-0.06775932759046555,
0.033772505819797516,
-0.030700653791427612,
-0.020467102527618408,
-0.07290288805961609,
-0.025164177641272545,
-0.04807804524898529,
-0.03241517394781113,
0.003279469208791852,
-0.03343317285180092,
-0.04100564494729042,
0.009706692770123482,
-0.046184927225112915,
0.05397171527147293,
0.04229153320193291,
0.013680454343557358,
-0.09458444267511368,
-0.022020887583494186,
0.006353552918881178,
0.07108121365308762,
0.010063884779810905,
0.020752856507897377,
0.01666300743818283,
0.007099191192537546,
0.05089986324310303,
-0.011805196292698383,
0.05843661352992058,
-0.012626737356185913,
-0.013680454343557358,
0.01760956645011902,
-0.012867842800915241,
-0.016037922352552414,
0.012028440833091736,
0.006804507691413164,
-0.039862629026174545,
0.009912078268826008,
0.010412147268652916,
-0.04714934527873993,
0.032754506915807724,
-0.00850563496351242,
-0.032790228724479675,
0.0021386872977018356,
0.026557225733995438,
-0.019591981545090675,
0.026842979714274406,
0.005554335657507181,
-0.018377529457211494,
0.003357604844495654,
-0.042863041162490845,
0.03028988279402256,
-0.019038334488868713,
0.024414073675870895,
-0.027164453640580177,
-0.0026052691973745823,
0.009956727735698223,
0.056436337530612946,
0.04414893314242363,
0.04432753100991249,
-0.06525897979736328,
-0.060329731553792953,
0.0640445277094841,
0.02812887169420719,
-0.014082294888794422,
0.030218444764614105,
-0.01549320388585329,
0.003310723463073373,
-0.012215967290103436,
-0.002661080565303564,
-0.008527959696948528,
-0.046506401151418686,
-0.036219269037246704,
-0.021878011524677277,
0.015430695377290249,
0.010340709239244461,
-0.021360082551836967,
-0.01891331747174263,
-0.008827107958495617,
-0.004661355633288622,
-0.03259377181529999,
0.015564641915261745,
0.014118014834821224,
-0.016850532963871956,
0.03327243775129318,
-0.09587033838033676,
0.08758348226547241,
-0.013367910869419575,
0.08672621846199036,
0.07065258175134659,
0.008282389491796494,
0.032700929790735245,
0.03605853393673897,
0.036308567970991135,
0.06340157985687256,
0.042255815118551254,
0.05043551325798035,
-0.032700929790735245,
0.01657371036708355,
0.02041352353990078,
-0.02584284171462059,
-0.020609978586435318,
-0.0009108396479859948,
0.022592395544052124,
-0.008885151706635952,
-0.034344013780355453,
0.025021301582455635,
-0.01296607032418251,
-0.039076805114746094,
0.01479667890816927,
-0.021467240527272224,
0.032700929790735245,
0.034754782915115356
]
|
41,788 | wield.bunch.bunch | __ne__ | Return self!=value. | def gen_func(mname):
def func(self, *args, **kwargs):
return getattr(self._mydict, mname)(*args, **kwargs)
orig_func = getattr(dict, mname)
if orig_func is None:
return
func.__name__ = orig_func.__name__
func.__doc__ = orig_func.__doc__
return func
| (self, *args, **kwargs) | [
0.04386318102478981,
-0.045720577239990234,
0.05843661352992058,
0.007014358416199684,
-0.03711225092411041,
-0.0005516942474059761,
-0.015350326895713806,
0.02673582173883915,
0.03932683914899826,
-0.021592257544398308,
-0.023538954555988312,
0.07951094210147858,
0.053114451467990875,
0.019556263461709023,
-0.02041352353990078,
-0.0006368063623085618,
0.017663145437836647,
0.03268307074904442,
-0.043005917221307755,
-0.021002890542149544,
0.026860838755965233,
0.008018961176276207,
0.04789945110678673,
-0.027360908687114716,
0.026289332658052444,
0.06654487550258636,
-0.009831709787249565,
0.030164865776896477,
0.046327803283929825,
-0.06975959986448288,
-0.06515182554721832,
-0.04357742518186569,
0.02887897379696369,
0.06811651587486267,
0.013921558856964111,
-0.05104273930191994,
-0.014314469881355762,
0.0413985550403595,
-0.13166098296642303,
-0.05829373747110367,
0.09587033838033676,
-0.003627731464803219,
0.01608256995677948,
-0.0020639002323150635,
0.019449105486273766,
-0.014064435847103596,
-0.009581675752997398,
0.0349869579076767,
0.025164177641272545,
-0.01772565394639969,
0.010796128772199154,
-0.021288644522428513,
0.032790228724479675,
0.01397513784468174,
0.005505221895873547,
0.049506813287734985,
-0.00826006568968296,
0.03595137596130371,
0.03634428605437279,
0.02537849359214306,
-0.05186428129673004,
-0.009510237723588943,
-0.030647074803709984,
-0.023628251627087593,
-0.007742136716842651,
-0.025432070717215538,
-0.042720165103673935,
-0.010376428253948689,
-0.03189724683761597,
0.00008197277929866686,
-0.00029189285123720765,
0.0052685821428895,
0.02612859569489956,
-0.0024891819339245558,
-0.0038599062245339155,
0.007701952941715717,
-0.07158128172159195,
-0.1008710265159607,
0.04600633308291435,
-0.001475649536587298,
-0.05843661352992058,
-0.07140268385410309,
-0.07008107006549835,
-0.03450474888086319,
-0.05543620139360428,
-0.02907543070614338,
0.01910977251827717,
-0.07451025396585464,
-0.0009108396479859948,
-0.025199897587299347,
-0.04868527129292488,
0.024842705577611923,
-0.021645836532115936,
0.01268924679607153,
-0.06975959986448288,
-0.07272429764270782,
0.037612318992614746,
0.04836379736661911,
0.03250447288155556,
0.033361732959747314,
0.03189724683761597,
-0.0022648207377642393,
-0.02691441774368286,
0.009331641718745232,
0.0467207171022892,
-0.04547054320573807,
-0.010858637280762196,
-0.029146868735551834,
-0.006112448405474424,
-0.0178685300052166,
-0.020145630463957787,
-0.04568485915660858,
-0.00016255027730949223,
0.01189449429512024,
0.034754782915115356,
-0.00017454969929531217,
-0.01205523032695055,
-0.0016107127303257585,
-0.01446627639234066,
0.002286028815433383,
-0.013376841321587563,
-0.017716724425554276,
-0.0034669949673116207,
-0.03589779883623123,
-0.011653389781713486,
-0.010215691290795803,
0.0422200970351696,
0.002569549949839711,
0.08058252185583115,
-0.01683267392218113,
0.015859326347708702,
0.0016207587905228138,
0.025449931621551514,
0.02846820279955864,
0.02766452170908451,
-0.003203565953299403,
0.012823193334043026,
0.01868114247918129,
0.026092877611517906,
0.07061686366796494,
-0.009626325219869614,
0.03782663494348526,
-0.028307467699050903,
0.028575360774993896,
0.0016709888586774468,
-0.04957825317978859,
0.01634153537452221,
0.06708066165447235,
-0.026271473616361618,
-0.043184515088796616,
-0.02194944955408573,
0.02870037779211998,
-0.013287543319165707,
0.017314882948994637,
-0.005290906876325607,
0.02209232561290264,
-0.004643496125936508,
0.009474517777562141,
-0.06015113368630409,
-0.040755607187747955,
0.03964831307530403,
0.05454321950674057,
-0.03961259499192238,
-0.07436737418174744,
0.0459706112742424,
-0.017886390909552574,
0.08193984627723694,
-0.05897240340709686,
0.01345720887184143,
0.03418327495455742,
-0.06290151178836823,
-0.01296607032418251,
0.015564641915261745,
0.021056469529867172,
0.08808355033397675,
0.045756299048662186,
-0.03207584470510483,
0.02518203668296337,
0.00838954746723175,
0.029325464740395546,
0.03259377181529999,
0.030968546867370605,
-0.05586482957005501,
0.003031667321920395,
0.002402116311714053,
0.007384944707155228,
0.011849844828248024,
0.035558465868234634,
-0.0063133686780929565,
0.019270509481430054,
-0.01859184354543686,
0.003627731464803219,
0.02855750173330307,
-0.014519855380058289,
0.0274859257042408,
-0.05089986324310303,
-0.050864141434431076,
0.0368979349732399,
0.05918671563267708,
0.07551039010286331,
0.006817902438342571,
0.027325188741087914,
-0.048435237258672714,
0.06207997351884842,
0.025217756628990173,
0.03521913290023804,
0.042863041162490845,
0.010662181302905083,
-0.05897240340709686,
-0.02771810069680214,
0.007000963669270277,
-0.03121858276426792,
0.016421902924776077,
0.04975684732198715,
0.006942919921129942,
-0.0009945564670488238,
0.05300729349255562,
0.029093289747834206,
-0.05440034344792366,
0.04643496125936508,
0.039684031158685684,
0.026646524667739868,
0.030914969742298126,
-0.020860014483332634,
0.06729497760534286,
-0.03964831307530403,
0.0018674444872885942,
-0.05907955765724182,
-0.025807123631238937,
-0.012885701842606068,
0.029379043728113174,
-0.021842291578650475,
0.02948620170354843,
-0.025289194658398628,
-0.0077555314637720585,
-0.019913455471396446,
0.02327105961740017,
-0.018788300454616547,
0.02059211954474449,
0.010046025738120079,
0.006840227171778679,
0.10158541053533554,
0.033593907952308655,
0.05532904341816902,
0.01334112137556076,
0.003087478457018733,
0.016725515946745872,
0.06804507970809937,
-0.03843386098742485,
0.04007694497704506,
0.027093013748526573,
-0.01491276640444994,
-0.019395526498556137,
0.054186027497053146,
-0.03161149471998215,
0.06536614149808884,
-0.04004122316837311,
-0.003799630096182227,
-0.00022896566952113062,
-0.0003217518678866327,
0.018931176513433456,
-0.017966758459806442,
-0.05150708928704262,
-0.0021174789872020483,
0.03350461274385452,
-0.03364748880267143,
0.004862276371568441,
-0.004007247742265463,
-0.04732794314622879,
-0.004462667740881443,
0.059472471475601196,
0.028218168765306473,
-0.0010754828108474612,
-0.025735685601830482,
-0.013439349830150604,
-0.023771129548549652,
0.009358431212604046,
-0.03446903079748154,
-0.026628665626049042,
-0.030736373737454414,
0.026378629729151726,
-0.00952809676527977,
-0.0029825533274561167,
0.03605853393673897,
-0.02157439850270748,
0.02194944955408573,
-0.007014358416199684,
0.006469640415161848,
0.05529332533478737,
-0.027307329699397087,
0.0316472128033638,
-0.013394700363278389,
-0.008233276195824146,
0.02569996565580368,
0.012090949341654778,
-0.04054129496216774,
-0.011599810793995857,
-0.020395664498209953,
-0.0369693748652935,
0.024235477671027184,
0.02569996565580368,
0.010465726256370544,
-0.027128733694553375,
0.008862826973199844,
-0.025967858731746674,
0.006817902438342571,
-0.008202021941542625,
-0.03384394198656082,
-0.04232725501060486,
0.011296197772026062,
-0.032558053731918335,
0.04389889910817146,
-0.08629759401082993,
-0.011037233285605907,
0.015511062927544117,
0.05575767531991005,
0.013403630815446377,
0.028361046686768532,
0.06858086585998535,
0.07593902200460434,
0.0021654765587300062,
-0.0116801792755723,
-0.01636832393705845,
-0.02050282247364521,
0.028450343757867813,
-0.05465037748217583,
-0.042434412986040115,
-0.045291949063539505,
0.013225034810602665,
-0.026807261630892754,
-0.04939965531229973,
-0.033129557967185974,
0.02884325571358204,
0.00997458677738905,
-0.026021437719464302,
0.02612859569489956,
0.01088542677462101,
0.027039434760808945,
-0.04397033900022507,
-0.04461328312754631,
0.0482209213078022,
-0.015573571436107159,
-0.03896964713931084,
0.006456245668232441,
-0.023181762546300888,
0.04472044110298157,
-0.004603311885148287,
-0.007862688973546028,
0.06375877559185028,
-0.044077493250370026,
0.01268924679607153,
-0.05225719138979912,
0.02035994455218315,
0.02650364674627781,
0.04539910703897476,
0.04025553911924362,
0.033826082944869995,
-0.028396764770150185,
-0.05014975741505623,
-0.03462976589798927,
0.033772505819797516,
-0.017707794904708862,
-0.00745638320222497,
-0.02584284171462059,
0.0482209213078022,
0.010251411236822605,
0.002728054067119956,
0.014260890893638134,
0.037612318992614746,
-0.03161149471998215,
0.008728879503905773,
-0.006862551439553499,
0.005996360909193754,
0.017850670963525772,
-0.03882677108049393,
-0.031075704842805862,
0.02055639959871769,
-0.005924922414124012,
-0.028218168765306473,
0.0003577501338440925,
0.013260753825306892,
-0.013778681866824627,
0.06608052551746368,
0.02823602966964245,
0.03525485098361969,
-0.022949587553739548,
0.02327105961740017,
0.039862629026174545,
0.0006747580482624471,
-0.048613835126161575,
-0.020020611584186554,
-0.012314194813370705,
-0.0167433749884367,
0.030504198744893074,
0.012680316343903542,
-0.06958100199699402,
-0.026575086638331413,
-0.040148381143808365,
-0.04847095534205437,
-0.026753682643175125,
0.011305127292871475,
-0.003574152709916234,
-0.009679903276264668,
-0.00768855819478631,
-0.0068000429309904575,
-0.03212942183017731,
-0.021824432536959648,
0.04682787507772446,
0.03211156278848648,
0.03796951100230217,
-0.014546644873917103,
0.017966758459806442,
-0.07965382188558578,
-0.06468747556209564,
0.02228878252208233,
0.019127631559967995,
0.017654215916991234,
-0.028593221679329872,
-0.039684031158685684,
0.011921283788979053,
0.031147142872214317,
0.026932278648018837,
0.04504191502928734,
0.02027064748108387,
-0.016680866479873657,
-0.012564228847622871,
-0.011742687784135342,
0.012635667808353901,
-0.03843386098742485,
0.05111417919397354,
-0.03889821097254753,
-0.028289606794714928,
0.018877597525715828,
-0.016439761966466904,
0.0384695790708065,
-0.06708066165447235,
-0.04232725501060486,
-0.03034346178174019,
-0.00985849928110838,
0.026557225733995438,
0.02823602966964245,
-0.022449517622590065,
-0.0022536583710461855,
-0.04839951917529106,
-0.0383981429040432,
-0.02555708959698677,
0.009822780266404152,
0.008715485222637653,
0.061258431524038315,
-0.04518479108810425,
0.04011266306042671,
0.08315429836511612,
0.007130445446819067,
-0.03718368709087372,
0.10680041462182999,
-0.004056361969560385,
-0.0211100485175848,
-0.059472471475601196,
-0.0012244988465681672,
0.033022403717041016,
-0.04647068306803703,
0.01914549246430397,
0.009028027765452862,
0.016886252909898758,
-0.03582635894417763,
0.09022670239210129,
0.01205523032695055,
0.019413385540246964,
-0.02532491460442543,
-0.0274859257042408,
0.019591981545090675,
-0.01423410139977932,
-0.02243165858089924,
-0.0263964906334877,
0.001537041855044663,
0.0068714814260602,
-0.06368733942508698,
0.04786372929811478,
0.0038599062245339155,
0.010590743273496628,
0.026628665626049042,
-0.034576188772916794,
0.04186290502548218,
0.0398983471095562,
-0.015859326347708702,
0.02795027568936348,
0.01465380284935236,
-0.03786235302686691,
-0.01749347895383835,
-0.008911941200494766,
-0.054757535457611084,
0.0640445277094841,
0.08193984627723694,
-0.015109222382307053,
-0.0331474207341671,
0.009492377750575542,
0.04043413698673248,
0.03507625684142113,
-0.01413587387651205,
-0.052971575409173965,
-0.03455832600593567,
0.009956727735698223,
-0.07247426360845566,
0.04479187726974487,
-0.01217131782323122,
0.013483998365700245,
-0.01914549246430397,
0.012028440833091736,
-0.033772505819797516,
-0.0293611828237772,
-0.006112448405474424,
-0.03886249288916588,
-0.05168568342924118,
0.025217756628990173,
0.00022310548229143023,
-0.04600633308291435,
-0.022645974531769753,
-0.006433921400457621,
-0.0768677219748497,
-0.01318038534373045,
0.04504191502928734,
-0.005246257875114679,
-0.04500619322061539,
0.0014566737227141857,
-0.02921830676496029,
0.019074054434895515,
0.029879111796617508,
0.021592257544398308,
0.040005505084991455,
0.05375739932060242,
0.015055643394589424,
-0.01579681597650051,
0.005898133385926485,
0.04157714918255806,
-0.03718368709087372,
0.03211156278848648,
-0.04554198309779167,
-0.03882677108049393,
-0.042720165103673935,
0.04764941334724426,
0.014314469881355762,
0.008862826973199844,
0.018323950469493866,
0.006322298664599657,
0.023485375568270683,
-0.006916130427271128,
-0.020574260503053665,
-0.0331474207341671,
0.006643771659582853,
-0.052542947232723236,
-0.006009755656123161,
0.007974311709403992,
-0.03825526311993599,
-0.024146180599927902,
-0.0009192113066092134,
-0.00791180320084095,
0.01537711638957262,
-0.037469442933797836,
-0.03337959572672844,
0.00029579963302239776,
-0.015314607881009579,
0.06290151178836823,
0.08379724621772766,
0.010081744752824306,
-0.06529469788074493,
0.06422312557697296,
-0.006148167420178652,
0.04661355912685394,
-0.04100564494729042,
-0.034058257937431335,
-0.0018027034820988774,
-0.02330677956342697,
0.0714741200208664,
0.004109940491616726,
-0.03721940889954567,
0.05750791355967522,
0.05772222951054573,
-0.03861245512962341,
-0.006090123672038317,
-0.030361320823431015,
-0.03896964713931084,
0.007099191192537546,
-0.03768375888466835,
0.031075704842805862,
-0.07111693173646927,
-0.028682518750429153,
-0.02093145251274109,
0.04547054320573807,
0.02393186464905739,
-0.004786373116075993,
-0.05986538156867027,
-0.03173651173710823,
-0.07429593801498413,
-0.0015225309180095792,
0.024503372609615326,
0.0033442103303968906,
-0.006255325395613909,
0.039112526923418045,
-0.027735959738492966,
-0.02139580249786377,
-0.073938749730587,
0.0072420681826770306,
-0.022020887583494186,
0.03445117175579071,
-0.008353828452527523,
0.02214590460062027,
-0.006536613684147596,
-0.021413661539554596,
0.02125292457640171,
0.031165003776550293,
-0.035272710025310516,
-0.03936256095767021,
0.034004680812358856,
0.06722353398799896,
0.03825526311993599,
-0.009795990772545338,
-0.03843386098742485,
0.012930351309478283,
0.0497211292386055,
-0.026860838755965233,
-0.03536200895905495,
-0.01238563284277916,
-0.011260478757321835,
-0.002491414314135909,
0.011537302285432816,
-0.036165691912174225,
0.052364349365234375,
0.0026767076924443245,
0.025360632687807083,
0.014939555898308754,
-0.08179697394371033,
0.005366810131818056,
0.03398682177066803,
-0.09722767025232315,
0.04282732307910919,
0.02771810069680214,
0.01502885390073061,
0.030879249796271324,
-0.04804232716560364,
-0.028807535767555237,
0.0029446016997098923,
0.025074878707528114,
-0.005143565125763416,
-0.030789950862526894,
-0.028593221679329872,
0.04629208520054817,
0.006898270919919014,
-0.028575360774993896,
0.07443881779909134,
-0.04568485915660858,
-0.020234927535057068,
0.004007247742265463,
-0.006090123672038317,
0.07493888586759567,
0.0782964900135994,
-0.05529332533478737,
-0.035326290875673294,
-0.06775932759046555,
0.033772505819797516,
-0.030700653791427612,
-0.020467102527618408,
-0.07290288805961609,
-0.025164177641272545,
-0.04807804524898529,
-0.03241517394781113,
0.003279469208791852,
-0.03343317285180092,
-0.04100564494729042,
0.009706692770123482,
-0.046184927225112915,
0.05397171527147293,
0.04229153320193291,
0.013680454343557358,
-0.09458444267511368,
-0.022020887583494186,
0.006353552918881178,
0.07108121365308762,
0.010063884779810905,
0.020752856507897377,
0.01666300743818283,
0.007099191192537546,
0.05089986324310303,
-0.011805196292698383,
0.05843661352992058,
-0.012626737356185913,
-0.013680454343557358,
0.01760956645011902,
-0.012867842800915241,
-0.016037922352552414,
0.012028440833091736,
0.006804507691413164,
-0.039862629026174545,
0.009912078268826008,
0.010412147268652916,
-0.04714934527873993,
0.032754506915807724,
-0.00850563496351242,
-0.032790228724479675,
0.0021386872977018356,
0.026557225733995438,
-0.019591981545090675,
0.026842979714274406,
0.005554335657507181,
-0.018377529457211494,
0.003357604844495654,
-0.042863041162490845,
0.03028988279402256,
-0.019038334488868713,
0.024414073675870895,
-0.027164453640580177,
-0.0026052691973745823,
0.009956727735698223,
0.056436337530612946,
0.04414893314242363,
0.04432753100991249,
-0.06525897979736328,
-0.060329731553792953,
0.0640445277094841,
0.02812887169420719,
-0.014082294888794422,
0.030218444764614105,
-0.01549320388585329,
0.003310723463073373,
-0.012215967290103436,
-0.002661080565303564,
-0.008527959696948528,
-0.046506401151418686,
-0.036219269037246704,
-0.021878011524677277,
0.015430695377290249,
0.010340709239244461,
-0.021360082551836967,
-0.01891331747174263,
-0.008827107958495617,
-0.004661355633288622,
-0.03259377181529999,
0.015564641915261745,
0.014118014834821224,
-0.016850532963871956,
0.03327243775129318,
-0.09587033838033676,
0.08758348226547241,
-0.013367910869419575,
0.08672621846199036,
0.07065258175134659,
0.008282389491796494,
0.032700929790735245,
0.03605853393673897,
0.036308567970991135,
0.06340157985687256,
0.042255815118551254,
0.05043551325798035,
-0.032700929790735245,
0.01657371036708355,
0.02041352353990078,
-0.02584284171462059,
-0.020609978586435318,
-0.0009108396479859948,
0.022592395544052124,
-0.008885151706635952,
-0.034344013780355453,
0.025021301582455635,
-0.01296607032418251,
-0.039076805114746094,
0.01479667890816927,
-0.021467240527272224,
0.032700929790735245,
0.034754782915115356
]
|
41,789 | wield.bunch.bunch | __repr__ | null | def __repr__(self):
keys = list(self._mydict.keys())
return "{0}({1})".format(
self.__class__.__name__,
", \n ".join(
["".join((str(k), "=", repr(self._mydict[k]))) for k in keys]
),
)
| (self) | [
0.020218178629875183,
-0.03686436265707016,
0.04456322267651558,
0.0022368310019373894,
0.05184592679142952,
-0.048100534826517105,
-0.030951498076319695,
-0.06880422681570053,
0.0707462802529335,
-0.03337906673550606,
-0.04893284663558006,
0.0149989053606987,
0.015007575042545795,
0.05465497076511383,
-0.022992542013525963,
0.0026399807538837194,
0.015085604041814804,
-0.06429588794708252,
0.004256914835423231,
0.01780794933438301,
0.04865540936589241,
0.04539553076028824,
0.030951498076319695,
-0.052990350872278214,
-0.0009894509566947818,
-0.019021732732653618,
-0.03128095343708992,
-0.027327485382556915,
0.016646184027194977,
0.02918284200131893,
-0.061625558882951736,
-0.05808824673295021,
-0.008310087025165558,
-0.0063767023384571075,
-0.03192252665758133,
-0.023686133325099945,
-0.00203742366284132,
0.0047987825237214565,
-0.03793942928314209,
0.0011834396282210946,
0.04501405730843544,
0.028350532054901123,
-0.005136908497661352,
-0.06068921089172363,
-0.02314860001206398,
-0.001974566839635372,
0.06443460285663605,
0.06068921089172363,
0.013984528370201588,
-0.08232925087213516,
0.014704129658639431,
0.01233724970370531,
-0.014444032683968544,
-0.0016125991242006421,
-0.044043026864528656,
-0.010889378376305103,
0.03689904138445854,
-0.026859311386942863,
-0.02039157599210739,
0.027483543381094933,
-0.08330027759075165,
0.01199045404791832,
0.015406389720737934,
-0.0188656747341156,
0.01692362129688263,
-0.07386744022369385,
-0.055625997483730316,
0.009285449981689453,
0.0019561434164643288,
-0.03596269339323044,
0.02741418406367302,
-0.03596269339323044,
-0.03533846139907837,
0.017625881358981133,
-0.06512819230556488,
-0.008076000027358532,
-0.04078315198421478,
-0.01233724970370531,
0.012926802039146423,
-0.04026295617222786,
-0.04782310128211975,
-0.02932155877351761,
-0.015770524740219116,
-0.02696334943175316,
0.007573146838694811,
-0.028766686096787453,
0.009320128709077835,
-0.0155190983787179,
-0.007044283673167229,
0.05493240803480148,
-0.02399824932217598,
0.043834950774908066,
-0.01671554334461689,
0.04085250943899155,
-0.059926263988018036,
-0.025541488081216812,
0.021761417388916016,
-0.03648288547992706,
0.017911987379193306,
0.001869444502517581,
0.031211595982313156,
-0.051776569336652756,
-0.00825806800276041,
-0.011383562348783016,
-0.08198245614767075,
-0.029286880046129227,
-0.03620545193552971,
-0.005800154525786638,
-0.024067608639597893,
0.02935623936355114,
-0.03669096529483795,
0.03922257199883461,
0.02724078670144081,
-0.028836045414209366,
0.06283934414386749,
0.006485075689852238,
-0.04047103598713875,
0.014366003684699535,
0.06453864276409149,
-0.02273244597017765,
-0.022160232067108154,
0.02446642331779003,
-0.0033053946681320667,
0.01969798468053341,
-0.07976296544075012,
0.025576168671250343,
-0.019611285999417305,
0.0077682193368673325,
-0.00407701451331377,
-0.03306695073843002,
0.030344605445861816,
-0.020027440041303635,
-0.036760322749614716,
0.04990387335419655,
0.06897762417793274,
0.024709179997444153,
0.01817208342254162,
-0.013342957012355328,
0.08142758160829544,
0.12429150938987732,
0.021692058071494102,
-0.014617430046200752,
-0.020512953400611877,
0.0749078318476677,
-0.002889239927753806,
-0.05122169479727745,
-0.002027669921517372,
0.0990447923541069,
0.01909109205007553,
-0.0681106373667717,
0.019021732732653618,
0.026495175436139107,
0.019854042679071426,
0.011331543326377869,
0.007638170849531889,
0.025142673403024673,
-0.01606530137360096,
-0.02446642331779003,
0.017625881358981133,
-0.04563828930258751,
-0.030570022761821747,
-0.017088348045945168,
0.057568054646253586,
-0.03578929603099823,
0.003927459008991718,
0.014730138704180717,
0.06412249058485031,
-0.05576471611857414,
0.05271291732788086,
0.033725861459970474,
-0.0033920935820788145,
-0.0909297838807106,
-0.05701318010687828,
0.011175485327839851,
0.011947104707360268,
0.02510799467563629,
-0.014565411023795605,
0.06426120549440384,
-0.04539553076028824,
-0.02505597472190857,
0.040401674807071686,
-0.07289641350507736,
-0.06974057853221893,
0.013941179029643536,
0.046366557478904724,
-0.06318613886833191,
0.023512734100222588,
-0.007321720011532307,
0.032685477286577225,
0.02229895070195198,
0.0065154205076396465,
-0.008379446342587471,
-0.022767124697566032,
0.006459066178649664,
-0.00097752979490906,
-0.04869008809328079,
-0.006615124177187681,
-0.05569535866379738,
0.006896895356476307,
0.014461372047662735,
-0.036968398839235306,
0.004569030832499266,
-0.04633187875151634,
0.0022476683370769024,
0.02039157599210739,
0.006550100166350603,
0.0032793849240988493,
-0.057325296103954315,
0.044251106679439545,
-0.014331324025988579,
0.020616993308067322,
-0.018120065331459045,
-0.015259002335369587,
-0.0261310413479805,
0.013603053987026215,
-0.01519831269979477,
-0.030292587354779243,
0.0035459839273244143,
-0.08454874157905579,
0.013897829689085484,
0.06242319196462631,
-0.031835827976465225,
0.012077153660356998,
-0.027743639424443245,
-0.050042591989040375,
0.002856727922335267,
0.026876650750637054,
0.017270416021347046,
-0.01990606263279915,
0.006276998668909073,
0.05514048412442207,
-0.0031666764989495277,
-0.04005488008260727,
0.016238698735833168,
0.008331761695444584,
0.022368310019373894,
-0.042794566601514816,
-0.03516506403684616,
0.01905641332268715,
0.03379522264003754,
0.005704786162823439,
0.06238850951194763,
0.014409353025257587,
-0.02268042601644993,
0.009805642999708652,
-0.037211157381534576,
0.01338630635291338,
0.05749869346618652,
-0.006831871345639229,
0.00899067334830761,
0.009770963340997696,
-0.026512516662478447,
-0.007087633013725281,
0.005318976007401943,
0.039985522627830505,
-0.01759120263159275,
-0.03818218410015106,
0.021813437342643738,
0.031107556074857712,
0.021345263347029686,
0.012562667019665241,
0.055625997483730316,
-0.057949528098106384,
0.02460514008998871,
0.04262116551399231,
0.030778100714087486,
-0.027691621333360672,
0.0014901369577273726,
-0.008947324007749557,
0.02294052205979824,
0.05555664002895355,
0.005596412345767021,
-0.06793724000453949,
0.035928014665842056,
-0.04085250943899155,
0.004612380173057318,
0.025784244760870934,
-0.007703194860368967,
-0.08239860832691193,
-0.02852392941713333,
0.014071227051317692,
-0.03748859465122223,
-0.011834396049380302,
-0.009372148662805557,
0.04591572284698486,
0.007620831020176411,
-0.018137404695153236,
0.002327864756807685,
0.046193160116672516,
0.02224693074822426,
0.08676823228597641,
0.007313050329685211,
0.01102809701114893,
0.03745391592383385,
0.04438982531428337,
-0.029234860092401505,
0.05694382265210152,
-0.01316088903695345,
-0.00153998879250139,
0.05465497076511383,
0.016221359372138977,
-0.014496051706373692,
0.03662160411477089,
0.03235602006316185,
0.0070919678546488285,
0.03320566937327385,
0.017183717340230942,
0.05170720815658569,
0.011426911689341068,
0.015111614018678665,
-0.02678995206952095,
0.01865759864449501,
0.02982441335916519,
0.07955488562583923,
-0.026443157345056534,
0.010100418701767921,
-0.029911112040281296,
-0.01201646402478218,
0.026529856026172638,
0.06027305871248245,
-0.019767343997955322,
0.02186545543372631,
-0.03414201736450195,
0.0072090113535523415,
0.032477397471666336,
-0.0822598934173584,
-0.014582750387489796,
0.0025532818399369717,
0.06256190687417984,
0.010533913038671017,
0.011210164986550808,
-0.07997104525566101,
-0.009172741323709488,
0.04799649864435196,
0.04393899068236351,
0.062041714787483215,
-0.002750521758571267,
0.02975505404174328,
-0.04737226665019989,
-0.0526435561478138,
0.036933720111846924,
-0.004011990502476692,
-0.012510647997260094,
-0.05042406544089317,
-0.04504873603582382,
0.023634113371372223,
-0.04837797209620476,
0.04331475868821144,
0.01049923337996006,
-0.005843504332005978,
-0.013759111054241657,
-0.01169567834585905,
0.05486304685473442,
0.025177353993058205,
-0.009155401028692722,
0.016438106074929237,
-0.008375111036002636,
-0.016221359372138977,
-0.02633911743760109,
0.05465497076511383,
0.07234153896570206,
0.007456103339791298,
-0.008396785706281662,
0.0012376264203339815,
-0.010100418701767921,
-0.0097622936591506,
-0.004354450851678848,
-0.03315364941954613,
0.07525462657213211,
-0.005089223850518465,
-0.046817392110824585,
-0.012944142334163189,
-0.009068702347576618,
-0.01425329502671957,
-0.04504873603582382,
0.049834512174129486,
-0.008591858670115471,
0.043002642691135406,
-0.014608760364353657,
-0.06845743209123611,
0.026183059439063072,
-0.0002328677655896172,
0.03707243874669075,
0.0690469816327095,
-0.03596269339323044,
0.012970151379704475,
0.0509442575275898,
0.0012473800452426076,
0.044008348137140274,
0.025974983349442482,
-0.04456322267651558,
-0.0015053092502057552,
0.007586151361465454,
0.02788235805928707,
-0.03065672144293785,
-0.03303227201104164,
0.035459838807582855,
-0.028957424685359,
-0.04005488008260727,
-0.02441440336406231,
0.047233548015356064,
-0.0573599748313427,
-0.06845743209123611,
-0.02592296339571476,
0.023426035419106483,
0.0007006353116594255,
-0.02418898604810238,
0.005917198024690151,
0.002772196428850293,
-0.014218615368008614,
0.010360515676438808,
-0.021501321345567703,
-0.04816989600658417,
-0.04761502146720886,
0.08010976016521454,
-0.032217301428318024,
-0.05038938671350479,
0.002314860001206398,
-0.00775954918935895,
0.018276123329997063,
-0.01209449302405119,
-0.006619459018111229,
-0.008015311323106289,
0.027986396104097366,
0.008128019981086254,
0.021067826077342033,
-0.060342416167259216,
0.02978973276913166,
0.07227218151092529,
0.030691402032971382,
-0.015232992358505726,
-0.006229314021766186,
0.04778841882944107,
0.01909109205007553,
0.03946532681584358,
-0.04116462543606758,
0.04418174549937248,
-0.020686350762844086,
-0.011817056685686111,
0.04175417870283127,
-0.0008241811883635819,
-0.04196225479245186,
0.0012289565056562424,
-0.039083853363990784,
0.012371929362416267,
0.0384943000972271,
-0.020062120631337166,
-0.013672412373125553,
0.05465497076511383,
0.017036328092217445,
0.04778841882944107,
0.02380751073360443,
-0.03558121994137764,
-0.027778320014476776,
0.024726519361138344,
-0.01445270236581564,
-0.0479271374642849,
-0.016412097960710526,
-0.02467449940741062,
0.017053669318556786,
-0.01381113100796938,
0.023235298693180084,
-0.025420110672712326,
0.04345347732305527,
-0.002369046676903963,
-0.05576471611857414,
0.004048837348818779,
0.055591318756341934,
-0.04799649864435196,
-0.00772486999630928,
0.007776889018714428,
0.06020369753241539,
-0.03277217596769333,
0.003123326925560832,
-0.027691621333360672,
0.03856366127729416,
0.0094328373670578,
0.0022758455015718937,
-0.08732310682535172,
-0.025402771309018135,
-0.05673574283719063,
-0.07705795764923096,
-0.04411238804459572,
-0.016836920753121376,
-0.0008008808363229036,
0.013655073009431362,
-0.0075124576687812805,
0.026269759982824326,
-0.012952812016010284,
0.03343108668923378,
0.02011413872241974,
0.04220501333475113,
-0.06616858392953873,
0.004768438171595335,
0.025610847398638725,
-0.0044779968447983265,
-0.03239069879055023,
-0.02654719538986683,
-0.05427349731326103,
0.014218615368008614,
-0.008591858670115471,
-0.0045213461853563786,
0.025454789400100708,
0.03452349081635475,
0.0015193978324532509,
0.03454083204269409,
0.049418359994888306,
0.04907156527042389,
0.001870528212748468,
-0.047060150653123856,
0.057117220014333725,
-0.07116243988275528,
0.026616554707288742,
-0.034818269312381744,
-0.007586151361465454,
-0.045534249395132065,
-0.023686133325099945,
-0.006875220686197281,
-0.0070702931843698025,
0.004933165851980448,
0.017495833337306976,
0.025662867352366447,
-0.050909578800201416,
0.03214794397354126,
-0.03856366127729416,
0.06682749092578888,
0.016576824709773064,
0.02483055740594864,
-0.045777007937431335,
0.07033012807369232,
0.0016559484647586942,
0.009614905342459679,
0.0009840322891250253,
0.0005128780612722039,
-0.039950840175151825,
0.0822598934173584,
-0.04497937485575676,
0.02210821397602558,
-0.0437655933201313,
0.04154610261321068,
0.04355751350522041,
-0.014183935709297657,
0.01975000463426113,
-0.0705728828907013,
0.021501321345567703,
-0.004272087011486292,
0.017244406044483185,
-0.022333629429340363,
0.015050924383103848,
-0.027119407430291176,
0.0019257987150922418,
-0.01092405803501606,
0.03842494264245033,
-0.056458309292793274,
-0.006684483494609594,
0.03950000926852226,
0.031124895438551903,
0.016238698735833168,
0.00675384234637022,
0.027084728702902794,
0.02290584333240986,
0.03230400010943413,
0.04966111481189728,
-0.03578929603099823,
0.006697488017380238,
0.021588020026683807,
-0.012571336701512337,
0.06488543748855591,
-0.032685477286577225,
0.019680645316839218,
-0.0180160254240036,
0.015285011380910873,
0.030344605445861816,
0.006606454495340586,
-0.03410733863711357,
0.01341231632977724,
-0.010351845994591713,
0.05330246686935425,
0.017738590016961098,
0.00803265068680048,
-0.04185821861028671,
0.01628204807639122,
0.01994074136018753,
0.00847048033028841,
-0.01445270236581564,
0.04373091086745262,
-0.033327046781778336,
0.016663523390889168,
0.0024925926700234413,
-0.01799868606030941,
-0.0586777999997139,
-0.029442938044667244,
-0.029269540682435036,
-0.011860406026244164,
0.07456102967262268,
-0.05361458286643028,
0.02446642331779003,
0.039742764085531235,
-0.0009894509566947818,
0.02359943464398384,
0.0034159356728196144,
-0.0007526546251028776,
0.02205619402229786,
0.04002020135521889,
0.020669011399149895,
-0.006454731337726116,
0.0565970242023468,
0.04328007996082306,
-0.0006702906684949994,
-0.0012549662496894598,
-0.0749078318476677,
0.029269540682435036,
-0.0048941513523459435,
-0.04771906137466431,
0.01711435802280903,
-0.05247015878558159,
-0.00276135909371078,
0.006272663827985525,
-0.03634416684508324,
0.010360515676438808,
0.005787150003015995,
0.00654143001884222,
-0.07421423494815826,
0.04484065994620323,
-0.02186545543372631,
-0.006719162687659264,
-0.00792861171066761,
-0.003485294757410884,
0.05628490820527077,
-0.052608877420425415,
0.003920956514775753,
0.0616949200630188,
-0.01609131135046482,
-0.049418359994888306,
-0.05073618143796921,
-0.001859690877608955,
0.0035438165068626404,
0.028974764049053192,
-0.047060150653123856,
0.037627313286066055,
0.007503787521272898,
-0.005327645689249039,
-0.07636436820030212,
0.02186545543372631,
-0.02205619402229786,
0.02696334943175316,
-0.0107073113322258,
-0.07317385077476501,
0.03873705863952637,
-0.0707462802529335,
-0.03273749351501465,
0.016672194004058838,
0.00997904036194086,
-0.0019691481720656157,
-0.038008786737918854,
-0.002802541246637702,
-0.006415716838091612,
0.001056100707501173,
-0.05191528797149658,
0.007525462191551924,
-0.03166243061423302,
-0.05316375195980072,
-0.04806585609912872,
-0.09009747207164764,
0.09633979201316833,
0.024761198088526726,
-0.05077086016535759,
0.026668574661016464,
0.025576168671250343,
-0.03793942928314209,
0.02595764398574829,
0.004980850499123335,
-0.024379724636673927,
-0.032217301428318024,
-0.05253951996564865,
0.011314203031361103,
0.0032988921739161015,
0.059614147990942,
0.055799394845962524,
-0.08392450958490372,
0.034627530723810196,
0.017911987379193306,
-0.03362182527780533,
-0.012666705995798111,
-0.004855136852711439,
0.011010756716132164,
-0.00973628368228674,
0.04185821861028671,
-0.05937138944864273,
-0.030309926718473434,
-0.011739027686417103,
-0.0822598934173584,
0.005288631189614534,
-0.007065958343446255,
0.02332199737429619,
0.016620174050331116,
0.05573003739118576,
-0.07802898436784744,
0.03490496799349785,
-0.02854127064347267,
0.004621049854904413,
0.04116462543606758,
0.04955707862973213,
-0.0031840160954743624,
0.024691838771104813,
0.013394976034760475,
0.06325549632310867,
-0.004038000013679266,
0.027379505336284637,
0.00825806800276041,
-0.003088647499680519,
0.12741266191005707,
0.004911491181701422,
-0.050909578800201416,
-0.015553778037428856,
-0.019541926681995392,
0.0205649733543396,
-0.008505159988999367,
-0.01975000463426113,
-0.002538109663873911,
0.006506750360131264,
0.04626252129673958,
0.02252436801791191,
0.010395195335149765,
0.01739179529249668,
0.06481608003377914,
-0.0195245873183012,
-0.03282419592142105,
-0.056423626840114594,
-0.008643877692520618,
-0.0097622936591506,
-0.016351407393813133,
-0.0420662946999073,
0.012848773039877415,
0.004508341662585735,
0.0009748204611241817,
-0.025818925350904465,
-0.015232992358505726,
0.0373498760163784,
0.03689904138445854,
-0.01992340199649334,
0.02828117273747921,
0.03530378267168999,
0.01888301596045494,
0.033500444144010544,
-0.005418679676949978,
0.011730358004570007,
0.057984206825494766,
-0.03278951346874237,
0.03285887464880943,
0.021119846031069756,
0.06835339218378067,
-0.04973047599196434,
-0.012085823342204094,
0.06481608003377914,
0.004087851848453283,
-0.014201276004314423,
0.021744078025221825,
0.02335667610168457,
-0.027951717376708984,
-0.04910624399781227,
-0.06460800021886826,
0.015475749038159847,
0.025003954768180847,
-0.016117321327328682,
0.026408476755023003,
0.017305094748735428,
-0.029651015996932983
]
|
41,790 | wield.bunch.bunch | __setattr__ | null | def __setattr__(self, key, item):
self._mydict[key] = item
return
| (self, key, item) | [
0.032519690692424774,
-0.008351029828190804,
-0.01824980601668358,
0.02869284525513649,
-0.015400931239128113,
-0.0053193168714642525,
-0.010689658112823963,
0.03983322158455849,
0.04041150212287903,
-0.02158341556787491,
-0.04928978532552719,
0.010179411619901657,
0.06146766245365143,
0.06541356444358826,
-0.03178833797574043,
0.008886788040399551,
-0.008844267576932907,
0.04027543589472771,
-0.025019071996212006,
-0.00211220677010715,
0.003945903852581978,
0.04204428941011429,
0.05480044335126877,
-0.0010072047589346766,
-0.004245673771947622,
0.02586948312819004,
-0.007836531847715378,
0.03513895720243454,
0.10803613066673279,
-0.03687379136681557,
-0.0199506264179945,
-0.055650852620601654,
-0.013291914016008377,
0.013257897458970547,
0.03408444672822952,
-0.02981538698077202,
-0.04500371590256691,
0.018283823505043983,
-0.0550045408308506,
0.028301656246185303,
0.050446342676877975,
0.02728116512298584,
-0.008202208206057549,
-0.038812730461359024,
0.06738651543855667,
0.07395168393850327,
-0.0025257188826799393,
0.05901847779750824,
0.06612791121006012,
-0.01397224236279726,
-0.013504516333341599,
-0.01933833211660385,
0.02736620604991913,
-0.010757691226899624,
-0.04146600887179375,
0.0644611045718193,
-0.0017008207505568862,
0.04167010635137558,
-0.03467973321676254,
0.017926650121808052,
-0.03544510528445244,
-0.02032480761408806,
-0.014082795940339565,
-0.04442543536424637,
0.013776647858321667,
-0.026192639023065567,
-0.05650126561522484,
0.04337092861533165,
0.025767434388399124,
-0.019032184034585953,
0.04871150478720665,
-0.024406777694821358,
0.004311580676585436,
-0.005667984951287508,
-0.0334891602396965,
0.06517545133829117,
-0.08497299998998642,
-0.010179411619901657,
0.0013393963454291224,
0.013989250175654888,
0.00793007668107748,
0.0055744401179254055,
-0.060379136353731155,
0.016183309257030487,
-0.05102462321519852,
0.04235043749213219,
-0.02692399173974991,
-0.04075166583061218,
-0.03588731586933136,
0.015519988723099232,
-0.013496012426912785,
0.0612635612487793,
0.012662610039114952,
0.048677489161491394,
-0.020562922582030296,
-0.039629124104976654,
0.07612873613834381,
-0.038880761712789536,
0.018266813829541206,
0.044527485966682434,
-0.0017550344346091151,
-0.038880761712789536,
0.007500619161874056,
-0.0037269233725965023,
-0.0493578165769577,
-0.05160290002822876,
-0.011276441626250744,
-0.039901252835989,
-0.01622582972049713,
0.010502567514777184,
0.008389297872781754,
-0.0037141672801226377,
-0.02668587677180767,
0.05360987037420273,
-0.010306973941624165,
0.04833732545375824,
-0.0059826369397342205,
-0.04034346714615822,
0.041500024497509,
0.013708614744246006,
-0.011259432882070541,
0.002916907425969839,
-0.02253587543964386,
0.03304694592952728,
0.025852475315332413,
-0.02869284525513649,
0.016999702900648117,
0.03976518660783768,
0.042962729930877686,
-0.006748006213456392,
-0.023335259407758713,
-0.021634439006447792,
-0.016727572306990623,
0.028046533465385437,
0.060821350663900375,
-0.008937813341617584,
-0.01765451952815056,
0.025461286306381226,
0.0019081082427874207,
0.03195841982960701,
0.006156971212476492,
-0.014550521038472652,
-0.016421424224972725,
0.016668042168021202,
0.025240179151296616,
-0.013776647858321667,
-0.04840535670518875,
0.08143529295921326,
-0.014414455741643906,
-0.03156723082065582,
-0.010638633742928505,
0.013410971499979496,
0.004434890113770962,
0.06051520258188248,
-0.03840453177690506,
0.027825426310300827,
-0.055344704538583755,
-0.0003829504130408168,
0.009107895195484161,
0.00689257588237524,
0.006139962933957577,
-0.013376954942941666,
-0.03233260288834572,
-0.027604321017861366,
-0.0003478709841147065,
0.017254825681447983,
-0.02239980921149254,
-0.02379448153078556,
0.02284202165901661,
0.021549398079514503,
-0.02149837464094162,
-0.07878201454877853,
-0.02416866272687912,
0.03430555388331413,
0.0455479770898819,
0.0002301423082826659,
-0.013402467593550682,
0.0012415990931913257,
0.01193125732243061,
0.007041397970169783,
0.03423752263188362,
0.012220396660268307,
-0.009822240099310875,
0.021753497421741486,
-0.020698988810181618,
-0.004596468061208725,
0.017390891909599304,
0.06952954828739166,
0.03314899653196335,
0.09905579686164856,
0.06517545133829117,
-0.041329942643642426,
-0.032366618514060974,
-0.04394920915365219,
-0.0015551879769191146,
0.0025980037171393633,
-0.028709853067994118,
-0.03575125336647034,
-0.04670453816652298,
0.11429515480995178,
-0.016727572306990623,
-0.0026554062496870756,
-0.009209943935275078,
0.036669693887233734,
0.009609636850655079,
-0.024151654914021492,
0.014363431371748447,
-0.03245165944099426,
-0.037486087530851364,
-0.02973034605383873,
-0.02222972735762596,
-0.038880761712789536,
0.031907398253679276,
0.022110668942332268,
0.040377482771873474,
-0.04092174768447876,
-0.032366618514060974,
0.018215790390968323,
0.002234453335404396,
0.007632432971149683,
0.06282831728458405,
0.015749599784612656,
-0.009703182615339756,
-0.04694265127182007,
0.02490001544356346,
-0.042588550597429276,
0.001132108736783266,
-0.038438547402620316,
-0.05034429207444191,
0.028573788702487946,
0.023743458092212677,
0.028369689360260963,
0.04833732545375824,
-0.007623929064720869,
0.05888241156935692,
-0.03359121084213257,
0.014082795940339565,
-0.04350699484348297,
-0.007538887672126293,
0.000006843145911261672,
0.05605905130505562,
0.07014184445142746,
0.009371521882712841,
0.0073177809827029705,
-0.030597764998674393,
0.04833732545375824,
-0.019032184034585953,
0.07408775389194489,
-0.035547152161598206,
-0.0010688594775274396,
0.037928301841020584,
0.011208408512175083,
-0.02986641228199005,
0.032944899052381516,
-0.02423669584095478,
0.00919293612241745,
-0.047112733125686646,
0.03782625123858452,
-0.0392889603972435,
-0.013581053353846073,
-0.011029822751879692,
0.02054591476917267,
-0.019746528938412666,
0.01482265256345272,
-0.010221932083368301,
0.032060470432043076,
0.03670370951294899,
0.046670518815517426,
-0.02512112259864807,
0.006586428266018629,
0.034509651362895966,
0.0021834284998476505,
0.014737611636519432,
0.03083587996661663,
-0.00955861248075962,
0.0010157088981941342,
-0.009720190428197384,
-0.010842732153832912,
-0.05034429207444191,
0.007632432971149683,
0.02950923889875412,
-0.04357502609491348,
0.019899602979421616,
0.023403292521834373,
0.0028637568466365337,
-0.02114120125770569,
0.01494171004742384,
0.11585991084575653,
0.030155550688505173,
-0.02217870205640793,
0.014431463554501534,
0.014831156469881535,
-0.00786204356700182,
0.07510824501514435,
0.017739560455083847,
0.00027532034437172115,
-0.10715170204639435,
0.05003814399242401,
0.04513978213071823,
0.05343978852033615,
0.010587609373033047,
0.032876864075660706,
-0.07578857243061066,
0.04860945791006088,
0.0006840488058514893,
-0.00548939872533083,
0.04153404012322426,
0.04752093181014061,
-0.07327135652303696,
0.02661784365773201,
0.018726035952568054,
0.06296437978744507,
-0.06776069849729538,
0.07340741902589798,
0.0524873286485672,
-0.011293449439108372,
-0.02467890828847885,
-0.010604617185890675,
-0.010995806194841862,
0.07626479864120483,
-0.023471325635910034,
-0.06327053159475327,
-0.07191070169210434,
-0.03758813813328743,
0.0798705443739891,
-0.008810251019895077,
0.05384798347949982,
-0.014865173026919365,
0.03372727334499359,
0.01602173037827015,
-0.03571723401546478,
-0.010910765267908573,
-0.01126793771982193,
-0.006293036509305239,
-0.052963558584451675,
-0.006084686145186424,
-0.030223583802580833,
0.014899189583957195,
-0.019440380856394768,
-0.03277481347322464,
-0.02712809108197689,
0.0334891602396965,
-0.06391683965921402,
-0.07000578194856644,
0.006752258166670799,
-0.03430555388331413,
-0.028148582205176353,
0.008852771483361721,
0.011318962089717388,
-0.03291087970137596,
-0.0038842493668198586,
0.003393137361854315,
0.04313281178474426,
0.027264155447483063,
0.007003129459917545,
-0.023556366562843323,
-0.00044327639625407755,
-0.044153306633234024,
-0.01741640456020832,
-0.039118874818086624,
0.037928301841020584,
0.010885252617299557,
-0.021175218746066093,
-0.02712809108197689,
-0.013223880901932716,
0.014448472298681736,
-0.021158209070563316,
-0.02979837916791439,
0.04143199324607849,
-0.04507175087928772,
0.013887201435863972,
-0.03796231746673584,
-0.04803117737174034,
0.0779656246304512,
0.046364374458789825,
0.003356994828209281,
0.015588021837174892,
0.028284648433327675,
-0.04105781391263008,
-0.024423785507678986,
0.002757455687969923,
0.005736018065363169,
0.05997093766927719,
0.05629716441035271,
0.04071764647960663,
-0.018964150920510292,
0.06622996181249619,
0.02275698073208332,
0.06867913901805878,
0.04374510794878006,
-0.052147164940834045,
0.004383865278214216,
-0.02898198552429676,
0.04901765286922455,
-0.02239980921149254,
-0.03949305787682533,
-0.0034760523121804,
-0.04582010954618454,
-0.009329001419246197,
-0.019678495824337006,
0.04680658504366875,
-0.053779952228069305,
-0.02171947993338108,
0.016736075282096863,
0.06963159888982773,
0.04694265127182007,
-0.05670536309480667,
0.04952789843082428,
-0.0014627057826146483,
-0.007381562143564224,
0.001019960967823863,
0.01727183349430561,
-0.05139880254864693,
-0.12347958236932755,
0.0036142440512776375,
-0.0543922483921051,
0.030206575989723206,
-0.008733713999390602,
-0.007241244427859783,
0.035547152161598206,
-0.010808715596795082,
-0.008835763670504093,
-0.03229858726263046,
0.028233623132109642,
-0.028216615319252014,
-0.011284945532679558,
0.01920226588845253,
-0.0424184687435627,
0.03427153825759888,
0.021379316225647926,
-0.010553592815995216,
0.026209646835923195,
0.0628623366355896,
-0.009107895195484161,
0.038744695484638214,
-0.04017338529229164,
0.018079724162817,
-0.07027791440486908,
-0.08129923045635223,
0.0199506264179945,
-0.013223880901932716,
-0.026056572794914246,
0.012552056461572647,
-0.011880232952535152,
-0.009133406914770603,
-0.03238362818956375,
-0.046160273253917694,
0.032434649765491486,
0.07612873613834381,
-0.046296339482069016,
0.030750839039683342,
0.020188741385936737,
0.008844267576932907,
0.03789428621530533,
0.06503938138484955,
-0.029390182346105576,
-0.04483363404870033,
-0.08061890304088593,
0.04894962161779404,
0.0018273192690685391,
-0.04942585155367851,
-0.0048728515394032,
-0.020596938207745552,
0.02127726748585701,
-0.030563747510313988,
0.06745454668998718,
0.002812732243910432,
0.026124605908989906,
0.019610462710261345,
-0.021022144705057144,
-0.014218861237168312,
0.01904919184744358,
0.0027234391309320927,
-0.07068610936403275,
-0.020596938207745552,
-0.007156203035265207,
-0.0373840406537056,
-0.006156971212476492,
-0.0804828330874443,
-0.03826846554875374,
-0.004451898392289877,
-0.0037758219987154007,
0.05997093766927719,
0.017169784754514694,
-0.006782022770494223,
0.00004903147055301815,
0.024746941402554512,
0.006973364856094122,
0.03217952698469162,
0.03779223561286926,
-0.01622582972049713,
0.008776234462857246,
0.00997531320899725,
0.021889561787247658,
0.029271123930811882,
-0.01698269508779049,
-0.05102462321519852,
0.022637924179434776,
0.0012479772558435798,
-0.028420714661478996,
-0.026821942999958992,
-0.05010617896914482,
-0.021753497421741486,
0.02030779980123043,
0.010026338510215282,
0.02328423596918583,
-0.0465344563126564,
0.02178751304745674,
-0.0321965366601944,
-0.052895523607730865,
0.03626149892807007,
-0.010740682482719421,
0.016327878460288048,
-0.04670453816652298,
0.03581928461790085,
-0.016285357996821404,
-0.06299839913845062,
-0.009294984862208366,
-0.029118049889802933,
0.013198369182646275,
0.0543922483921051,
-0.027553295716643333,
0.07000578194856644,
-0.017773576080799103,
-0.009847751818597317,
-0.013206873089075089,
0.007300772704184055,
0.012892221100628376,
0.0026554062496870756,
0.07272709161043167,
-0.032723791897296906,
-0.011999290436506271,
-0.042894698679447174,
0.03292788937687874,
0.0120162982493639,
0.07898611575365067,
0.03704387694597244,
-0.015332899056375027,
0.00900584552437067,
-0.022808006033301353,
0.011744166724383831,
-0.018147757276892662,
0.040887728333473206,
-0.07259102910757065,
0.027094073593616486,
-0.015366915613412857,
-0.07939431071281433,
-0.041397977620363235,
-0.018658002838492393,
-0.052895523607730865,
-0.042078305035829544,
-0.0320434607565403,
-0.0314311683177948,
-0.00027066966868005693,
-0.004203153308480978,
-0.046228308230638504,
0.038506582379341125,
-0.045479945838451385,
0.014176340773701668,
0.05643323063850403,
-0.004868599120527506,
0.04228240251541138,
0.03076784685254097,
0.03765616938471794,
0.030206575989723206,
-0.011140375398099422,
-0.05024224519729614,
0.01412531640380621,
-0.006565168034285307,
-0.01460154540836811,
0.034577686339616776,
0.0038417289033532143,
0.018283823505043983,
0.01564755104482174,
-0.06432504206895828,
0.026141613721847534,
0.007742986548691988,
0.026481779292225838,
-0.02869284525513649,
-0.06259020417928696,
-0.03602338209748268,
0.06259020417928696,
-0.07123037427663803,
0.02631169743835926,
-0.02549530193209648,
-0.03752010688185692,
0.020733004435896873,
0.06473323702812195,
-0.08823858201503754,
-0.01238197460770607,
-0.08197955787181854,
-0.04469756782054901,
-0.04813322797417641,
0.006186735350638628,
0.044527485966682434,
-0.05510659143328667,
0.02906702645123005,
-0.02944120578467846,
0.011386994272470474,
0.0006702296668663621,
0.02876087836921215,
-0.017280338332057,
-0.011548572219908237,
0.0389828123152256,
0.031176043674349785,
0.010068858973681927,
-0.013946729712188244,
0.0033251044806092978,
-0.024134645238518715,
-0.0392889603972435,
-0.061943892389535904,
-0.0017316481098532677,
0.040819697082042694,
0.03335309401154518,
0.023403292521834373,
-0.02454284206032753,
-0.011973777785897255,
0.0071604554541409016,
0.012815684080123901,
-0.022042635828256607,
-0.0194914061576128,
-0.013308921828866005,
-0.01971251145005226,
0.00008583829912822694,
-0.012033306993544102,
-0.08565333485603333,
0.04003731906414032,
-0.011225416325032711,
0.0017103878781199455,
-0.06684225797653198,
-0.0224678423255682,
0.03175432235002518,
0.028233623132109642,
-0.05391601845622063,
0.05269142612814903,
0.057045526802539825,
0.03233260288834572,
0.03046169877052307,
0.027400221675634384,
0.03178833797574043,
0.004254177678376436,
-0.00360573991201818,
0.02335226908326149,
-0.02498505637049675,
0.002744699362665415,
-0.00013207935262471437,
0.0003678024804685265,
-0.013683103024959564,
0.0026915487833321095,
-0.019916610792279243,
-0.025036081671714783,
-0.026413746178150177,
-0.03877871111035347,
-0.004711273591965437,
0.0347137525677681,
-0.011846216395497322,
-0.0048048184253275394,
-0.015145808458328247,
0.00841481052339077,
-0.008793243207037449,
-0.062318071722984314,
0.019457388669252396,
-0.047929126769304276,
-0.04194223880767822,
0.07769349217414856,
-0.003875745227560401,
-0.030563747510313988,
-0.03386333957314491,
-0.007385814096778631,
0.014669578522443771,
0.03342112898826599,
0.000641528342384845,
-0.035989366471767426,
0.01602173037827015,
-0.002217445056885481,
-0.058542247861623764,
0.008572136051952839,
0.009320497512817383,
0.05139880254864693,
0.01743341237306595,
-0.0578279048204422,
0.049936097115278244,
-0.0025831214152276516,
0.012883717194199562,
-0.01690615713596344,
0.04173814132809639,
0.03359121084213257,
-0.012926237657666206,
0.007959840819239616,
-0.041329942643642426,
0.024406777694821358,
-0.05347380414605141,
-0.013291914016008377,
0.010323981754481792,
-0.08728612214326859,
-0.04670453816652298,
0.008180947974324226,
-0.05398404970765114,
0.002874386962503195,
0.008776234462857246,
-0.0010805526981130242,
0.04738486558198929,
0.015843145549297333,
-0.03813239932060242,
0.023930547758936882,
-0.04816724359989166,
-0.02194058708846569,
0.007266756612807512,
0.04507175087928772,
-0.02268894761800766,
0.013853184878826141,
0.0046730050817132,
0.002689422806724906,
-0.04255453497171402,
0.03493485599756241,
-0.010689658112823963,
-0.01101281400769949,
-0.022518865764141083,
-0.0066544609144330025,
0.007415578234940767,
0.027264155447483063,
-0.01853894628584385,
0.03833650052547455,
-0.00012922250607516617,
-0.02566538378596306,
-0.08510906994342804,
0.0034016415011137724,
-0.023386284708976746,
-0.025376245379447937,
0.053779952228069305,
0.042452484369277954,
-0.005765782203525305,
-0.04990208148956299,
0.004477410577237606,
0.006514143198728561,
-0.045411914587020874,
-0.03595535084605217,
0.011939761228859425,
0.04595617577433586,
0.10089268535375595,
-0.018572961911559105,
0.02906702645123005,
0.01743341237306595,
-0.003565345425158739,
0.0004206873709335923,
0.020852062851190567,
0.022859031334519386,
0.03240063413977623,
0.003522824961692095,
0.046228308230638504,
0.002087757457047701,
0.03304694592952728,
-0.03670370951294899,
0.0443233884871006,
0.08959923684597015,
-0.051194705069065094,
-0.02542727068066597,
0.014584537595510483,
0.07401971518993378,
-0.013172856532037258,
-0.04724879935383797,
-0.034560676664114,
-0.017067736014723778,
-0.0013617195654660463,
0.004677257034927607,
0.02342030219733715,
0.03090391308069229,
0.016123780980706215
]
|
41,791 | wield.bunch.bunch | __setitem__ | Set self[key] to value. | def gen_func(mname):
def func(self, *args, **kwargs):
return getattr(self._mydict, mname)(*args, **kwargs)
orig_func = getattr(dict, mname)
if orig_func is None:
return
func.__name__ = orig_func.__name__
func.__doc__ = orig_func.__doc__
return func
| (self, *args, **kwargs) | [
0.04386318102478981,
-0.045720577239990234,
0.05843661352992058,
0.007014358416199684,
-0.03711225092411041,
-0.0005516942474059761,
-0.015350326895713806,
0.02673582173883915,
0.03932683914899826,
-0.021592257544398308,
-0.023538954555988312,
0.07951094210147858,
0.053114451467990875,
0.019556263461709023,
-0.02041352353990078,
-0.0006368063623085618,
0.017663145437836647,
0.03268307074904442,
-0.043005917221307755,
-0.021002890542149544,
0.026860838755965233,
0.008018961176276207,
0.04789945110678673,
-0.027360908687114716,
0.026289332658052444,
0.06654487550258636,
-0.009831709787249565,
0.030164865776896477,
0.046327803283929825,
-0.06975959986448288,
-0.06515182554721832,
-0.04357742518186569,
0.02887897379696369,
0.06811651587486267,
0.013921558856964111,
-0.05104273930191994,
-0.014314469881355762,
0.0413985550403595,
-0.13166098296642303,
-0.05829373747110367,
0.09587033838033676,
-0.003627731464803219,
0.01608256995677948,
-0.0020639002323150635,
0.019449105486273766,
-0.014064435847103596,
-0.009581675752997398,
0.0349869579076767,
0.025164177641272545,
-0.01772565394639969,
0.010796128772199154,
-0.021288644522428513,
0.032790228724479675,
0.01397513784468174,
0.005505221895873547,
0.049506813287734985,
-0.00826006568968296,
0.03595137596130371,
0.03634428605437279,
0.02537849359214306,
-0.05186428129673004,
-0.009510237723588943,
-0.030647074803709984,
-0.023628251627087593,
-0.007742136716842651,
-0.025432070717215538,
-0.042720165103673935,
-0.010376428253948689,
-0.03189724683761597,
0.00008197277929866686,
-0.00029189285123720765,
0.0052685821428895,
0.02612859569489956,
-0.0024891819339245558,
-0.0038599062245339155,
0.007701952941715717,
-0.07158128172159195,
-0.1008710265159607,
0.04600633308291435,
-0.001475649536587298,
-0.05843661352992058,
-0.07140268385410309,
-0.07008107006549835,
-0.03450474888086319,
-0.05543620139360428,
-0.02907543070614338,
0.01910977251827717,
-0.07451025396585464,
-0.0009108396479859948,
-0.025199897587299347,
-0.04868527129292488,
0.024842705577611923,
-0.021645836532115936,
0.01268924679607153,
-0.06975959986448288,
-0.07272429764270782,
0.037612318992614746,
0.04836379736661911,
0.03250447288155556,
0.033361732959747314,
0.03189724683761597,
-0.0022648207377642393,
-0.02691441774368286,
0.009331641718745232,
0.0467207171022892,
-0.04547054320573807,
-0.010858637280762196,
-0.029146868735551834,
-0.006112448405474424,
-0.0178685300052166,
-0.020145630463957787,
-0.04568485915660858,
-0.00016255027730949223,
0.01189449429512024,
0.034754782915115356,
-0.00017454969929531217,
-0.01205523032695055,
-0.0016107127303257585,
-0.01446627639234066,
0.002286028815433383,
-0.013376841321587563,
-0.017716724425554276,
-0.0034669949673116207,
-0.03589779883623123,
-0.011653389781713486,
-0.010215691290795803,
0.0422200970351696,
0.002569549949839711,
0.08058252185583115,
-0.01683267392218113,
0.015859326347708702,
0.0016207587905228138,
0.025449931621551514,
0.02846820279955864,
0.02766452170908451,
-0.003203565953299403,
0.012823193334043026,
0.01868114247918129,
0.026092877611517906,
0.07061686366796494,
-0.009626325219869614,
0.03782663494348526,
-0.028307467699050903,
0.028575360774993896,
0.0016709888586774468,
-0.04957825317978859,
0.01634153537452221,
0.06708066165447235,
-0.026271473616361618,
-0.043184515088796616,
-0.02194944955408573,
0.02870037779211998,
-0.013287543319165707,
0.017314882948994637,
-0.005290906876325607,
0.02209232561290264,
-0.004643496125936508,
0.009474517777562141,
-0.06015113368630409,
-0.040755607187747955,
0.03964831307530403,
0.05454321950674057,
-0.03961259499192238,
-0.07436737418174744,
0.0459706112742424,
-0.017886390909552574,
0.08193984627723694,
-0.05897240340709686,
0.01345720887184143,
0.03418327495455742,
-0.06290151178836823,
-0.01296607032418251,
0.015564641915261745,
0.021056469529867172,
0.08808355033397675,
0.045756299048662186,
-0.03207584470510483,
0.02518203668296337,
0.00838954746723175,
0.029325464740395546,
0.03259377181529999,
0.030968546867370605,
-0.05586482957005501,
0.003031667321920395,
0.002402116311714053,
0.007384944707155228,
0.011849844828248024,
0.035558465868234634,
-0.0063133686780929565,
0.019270509481430054,
-0.01859184354543686,
0.003627731464803219,
0.02855750173330307,
-0.014519855380058289,
0.0274859257042408,
-0.05089986324310303,
-0.050864141434431076,
0.0368979349732399,
0.05918671563267708,
0.07551039010286331,
0.006817902438342571,
0.027325188741087914,
-0.048435237258672714,
0.06207997351884842,
0.025217756628990173,
0.03521913290023804,
0.042863041162490845,
0.010662181302905083,
-0.05897240340709686,
-0.02771810069680214,
0.007000963669270277,
-0.03121858276426792,
0.016421902924776077,
0.04975684732198715,
0.006942919921129942,
-0.0009945564670488238,
0.05300729349255562,
0.029093289747834206,
-0.05440034344792366,
0.04643496125936508,
0.039684031158685684,
0.026646524667739868,
0.030914969742298126,
-0.020860014483332634,
0.06729497760534286,
-0.03964831307530403,
0.0018674444872885942,
-0.05907955765724182,
-0.025807123631238937,
-0.012885701842606068,
0.029379043728113174,
-0.021842291578650475,
0.02948620170354843,
-0.025289194658398628,
-0.0077555314637720585,
-0.019913455471396446,
0.02327105961740017,
-0.018788300454616547,
0.02059211954474449,
0.010046025738120079,
0.006840227171778679,
0.10158541053533554,
0.033593907952308655,
0.05532904341816902,
0.01334112137556076,
0.003087478457018733,
0.016725515946745872,
0.06804507970809937,
-0.03843386098742485,
0.04007694497704506,
0.027093013748526573,
-0.01491276640444994,
-0.019395526498556137,
0.054186027497053146,
-0.03161149471998215,
0.06536614149808884,
-0.04004122316837311,
-0.003799630096182227,
-0.00022896566952113062,
-0.0003217518678866327,
0.018931176513433456,
-0.017966758459806442,
-0.05150708928704262,
-0.0021174789872020483,
0.03350461274385452,
-0.03364748880267143,
0.004862276371568441,
-0.004007247742265463,
-0.04732794314622879,
-0.004462667740881443,
0.059472471475601196,
0.028218168765306473,
-0.0010754828108474612,
-0.025735685601830482,
-0.013439349830150604,
-0.023771129548549652,
0.009358431212604046,
-0.03446903079748154,
-0.026628665626049042,
-0.030736373737454414,
0.026378629729151726,
-0.00952809676527977,
-0.0029825533274561167,
0.03605853393673897,
-0.02157439850270748,
0.02194944955408573,
-0.007014358416199684,
0.006469640415161848,
0.05529332533478737,
-0.027307329699397087,
0.0316472128033638,
-0.013394700363278389,
-0.008233276195824146,
0.02569996565580368,
0.012090949341654778,
-0.04054129496216774,
-0.011599810793995857,
-0.020395664498209953,
-0.0369693748652935,
0.024235477671027184,
0.02569996565580368,
0.010465726256370544,
-0.027128733694553375,
0.008862826973199844,
-0.025967858731746674,
0.006817902438342571,
-0.008202021941542625,
-0.03384394198656082,
-0.04232725501060486,
0.011296197772026062,
-0.032558053731918335,
0.04389889910817146,
-0.08629759401082993,
-0.011037233285605907,
0.015511062927544117,
0.05575767531991005,
0.013403630815446377,
0.028361046686768532,
0.06858086585998535,
0.07593902200460434,
0.0021654765587300062,
-0.0116801792755723,
-0.01636832393705845,
-0.02050282247364521,
0.028450343757867813,
-0.05465037748217583,
-0.042434412986040115,
-0.045291949063539505,
0.013225034810602665,
-0.026807261630892754,
-0.04939965531229973,
-0.033129557967185974,
0.02884325571358204,
0.00997458677738905,
-0.026021437719464302,
0.02612859569489956,
0.01088542677462101,
0.027039434760808945,
-0.04397033900022507,
-0.04461328312754631,
0.0482209213078022,
-0.015573571436107159,
-0.03896964713931084,
0.006456245668232441,
-0.023181762546300888,
0.04472044110298157,
-0.004603311885148287,
-0.007862688973546028,
0.06375877559185028,
-0.044077493250370026,
0.01268924679607153,
-0.05225719138979912,
0.02035994455218315,
0.02650364674627781,
0.04539910703897476,
0.04025553911924362,
0.033826082944869995,
-0.028396764770150185,
-0.05014975741505623,
-0.03462976589798927,
0.033772505819797516,
-0.017707794904708862,
-0.00745638320222497,
-0.02584284171462059,
0.0482209213078022,
0.010251411236822605,
0.002728054067119956,
0.014260890893638134,
0.037612318992614746,
-0.03161149471998215,
0.008728879503905773,
-0.006862551439553499,
0.005996360909193754,
0.017850670963525772,
-0.03882677108049393,
-0.031075704842805862,
0.02055639959871769,
-0.005924922414124012,
-0.028218168765306473,
0.0003577501338440925,
0.013260753825306892,
-0.013778681866824627,
0.06608052551746368,
0.02823602966964245,
0.03525485098361969,
-0.022949587553739548,
0.02327105961740017,
0.039862629026174545,
0.0006747580482624471,
-0.048613835126161575,
-0.020020611584186554,
-0.012314194813370705,
-0.0167433749884367,
0.030504198744893074,
0.012680316343903542,
-0.06958100199699402,
-0.026575086638331413,
-0.040148381143808365,
-0.04847095534205437,
-0.026753682643175125,
0.011305127292871475,
-0.003574152709916234,
-0.009679903276264668,
-0.00768855819478631,
-0.0068000429309904575,
-0.03212942183017731,
-0.021824432536959648,
0.04682787507772446,
0.03211156278848648,
0.03796951100230217,
-0.014546644873917103,
0.017966758459806442,
-0.07965382188558578,
-0.06468747556209564,
0.02228878252208233,
0.019127631559967995,
0.017654215916991234,
-0.028593221679329872,
-0.039684031158685684,
0.011921283788979053,
0.031147142872214317,
0.026932278648018837,
0.04504191502928734,
0.02027064748108387,
-0.016680866479873657,
-0.012564228847622871,
-0.011742687784135342,
0.012635667808353901,
-0.03843386098742485,
0.05111417919397354,
-0.03889821097254753,
-0.028289606794714928,
0.018877597525715828,
-0.016439761966466904,
0.0384695790708065,
-0.06708066165447235,
-0.04232725501060486,
-0.03034346178174019,
-0.00985849928110838,
0.026557225733995438,
0.02823602966964245,
-0.022449517622590065,
-0.0022536583710461855,
-0.04839951917529106,
-0.0383981429040432,
-0.02555708959698677,
0.009822780266404152,
0.008715485222637653,
0.061258431524038315,
-0.04518479108810425,
0.04011266306042671,
0.08315429836511612,
0.007130445446819067,
-0.03718368709087372,
0.10680041462182999,
-0.004056361969560385,
-0.0211100485175848,
-0.059472471475601196,
-0.0012244988465681672,
0.033022403717041016,
-0.04647068306803703,
0.01914549246430397,
0.009028027765452862,
0.016886252909898758,
-0.03582635894417763,
0.09022670239210129,
0.01205523032695055,
0.019413385540246964,
-0.02532491460442543,
-0.0274859257042408,
0.019591981545090675,
-0.01423410139977932,
-0.02243165858089924,
-0.0263964906334877,
0.001537041855044663,
0.0068714814260602,
-0.06368733942508698,
0.04786372929811478,
0.0038599062245339155,
0.010590743273496628,
0.026628665626049042,
-0.034576188772916794,
0.04186290502548218,
0.0398983471095562,
-0.015859326347708702,
0.02795027568936348,
0.01465380284935236,
-0.03786235302686691,
-0.01749347895383835,
-0.008911941200494766,
-0.054757535457611084,
0.0640445277094841,
0.08193984627723694,
-0.015109222382307053,
-0.0331474207341671,
0.009492377750575542,
0.04043413698673248,
0.03507625684142113,
-0.01413587387651205,
-0.052971575409173965,
-0.03455832600593567,
0.009956727735698223,
-0.07247426360845566,
0.04479187726974487,
-0.01217131782323122,
0.013483998365700245,
-0.01914549246430397,
0.012028440833091736,
-0.033772505819797516,
-0.0293611828237772,
-0.006112448405474424,
-0.03886249288916588,
-0.05168568342924118,
0.025217756628990173,
0.00022310548229143023,
-0.04600633308291435,
-0.022645974531769753,
-0.006433921400457621,
-0.0768677219748497,
-0.01318038534373045,
0.04504191502928734,
-0.005246257875114679,
-0.04500619322061539,
0.0014566737227141857,
-0.02921830676496029,
0.019074054434895515,
0.029879111796617508,
0.021592257544398308,
0.040005505084991455,
0.05375739932060242,
0.015055643394589424,
-0.01579681597650051,
0.005898133385926485,
0.04157714918255806,
-0.03718368709087372,
0.03211156278848648,
-0.04554198309779167,
-0.03882677108049393,
-0.042720165103673935,
0.04764941334724426,
0.014314469881355762,
0.008862826973199844,
0.018323950469493866,
0.006322298664599657,
0.023485375568270683,
-0.006916130427271128,
-0.020574260503053665,
-0.0331474207341671,
0.006643771659582853,
-0.052542947232723236,
-0.006009755656123161,
0.007974311709403992,
-0.03825526311993599,
-0.024146180599927902,
-0.0009192113066092134,
-0.00791180320084095,
0.01537711638957262,
-0.037469442933797836,
-0.03337959572672844,
0.00029579963302239776,
-0.015314607881009579,
0.06290151178836823,
0.08379724621772766,
0.010081744752824306,
-0.06529469788074493,
0.06422312557697296,
-0.006148167420178652,
0.04661355912685394,
-0.04100564494729042,
-0.034058257937431335,
-0.0018027034820988774,
-0.02330677956342697,
0.0714741200208664,
0.004109940491616726,
-0.03721940889954567,
0.05750791355967522,
0.05772222951054573,
-0.03861245512962341,
-0.006090123672038317,
-0.030361320823431015,
-0.03896964713931084,
0.007099191192537546,
-0.03768375888466835,
0.031075704842805862,
-0.07111693173646927,
-0.028682518750429153,
-0.02093145251274109,
0.04547054320573807,
0.02393186464905739,
-0.004786373116075993,
-0.05986538156867027,
-0.03173651173710823,
-0.07429593801498413,
-0.0015225309180095792,
0.024503372609615326,
0.0033442103303968906,
-0.006255325395613909,
0.039112526923418045,
-0.027735959738492966,
-0.02139580249786377,
-0.073938749730587,
0.0072420681826770306,
-0.022020887583494186,
0.03445117175579071,
-0.008353828452527523,
0.02214590460062027,
-0.006536613684147596,
-0.021413661539554596,
0.02125292457640171,
0.031165003776550293,
-0.035272710025310516,
-0.03936256095767021,
0.034004680812358856,
0.06722353398799896,
0.03825526311993599,
-0.009795990772545338,
-0.03843386098742485,
0.012930351309478283,
0.0497211292386055,
-0.026860838755965233,
-0.03536200895905495,
-0.01238563284277916,
-0.011260478757321835,
-0.002491414314135909,
0.011537302285432816,
-0.036165691912174225,
0.052364349365234375,
0.0026767076924443245,
0.025360632687807083,
0.014939555898308754,
-0.08179697394371033,
0.005366810131818056,
0.03398682177066803,
-0.09722767025232315,
0.04282732307910919,
0.02771810069680214,
0.01502885390073061,
0.030879249796271324,
-0.04804232716560364,
-0.028807535767555237,
0.0029446016997098923,
0.025074878707528114,
-0.005143565125763416,
-0.030789950862526894,
-0.028593221679329872,
0.04629208520054817,
0.006898270919919014,
-0.028575360774993896,
0.07443881779909134,
-0.04568485915660858,
-0.020234927535057068,
0.004007247742265463,
-0.006090123672038317,
0.07493888586759567,
0.0782964900135994,
-0.05529332533478737,
-0.035326290875673294,
-0.06775932759046555,
0.033772505819797516,
-0.030700653791427612,
-0.020467102527618408,
-0.07290288805961609,
-0.025164177641272545,
-0.04807804524898529,
-0.03241517394781113,
0.003279469208791852,
-0.03343317285180092,
-0.04100564494729042,
0.009706692770123482,
-0.046184927225112915,
0.05397171527147293,
0.04229153320193291,
0.013680454343557358,
-0.09458444267511368,
-0.022020887583494186,
0.006353552918881178,
0.07108121365308762,
0.010063884779810905,
0.020752856507897377,
0.01666300743818283,
0.007099191192537546,
0.05089986324310303,
-0.011805196292698383,
0.05843661352992058,
-0.012626737356185913,
-0.013680454343557358,
0.01760956645011902,
-0.012867842800915241,
-0.016037922352552414,
0.012028440833091736,
0.006804507691413164,
-0.039862629026174545,
0.009912078268826008,
0.010412147268652916,
-0.04714934527873993,
0.032754506915807724,
-0.00850563496351242,
-0.032790228724479675,
0.0021386872977018356,
0.026557225733995438,
-0.019591981545090675,
0.026842979714274406,
0.005554335657507181,
-0.018377529457211494,
0.003357604844495654,
-0.042863041162490845,
0.03028988279402256,
-0.019038334488868713,
0.024414073675870895,
-0.027164453640580177,
-0.0026052691973745823,
0.009956727735698223,
0.056436337530612946,
0.04414893314242363,
0.04432753100991249,
-0.06525897979736328,
-0.060329731553792953,
0.0640445277094841,
0.02812887169420719,
-0.014082294888794422,
0.030218444764614105,
-0.01549320388585329,
0.003310723463073373,
-0.012215967290103436,
-0.002661080565303564,
-0.008527959696948528,
-0.046506401151418686,
-0.036219269037246704,
-0.021878011524677277,
0.015430695377290249,
0.010340709239244461,
-0.021360082551836967,
-0.01891331747174263,
-0.008827107958495617,
-0.004661355633288622,
-0.03259377181529999,
0.015564641915261745,
0.014118014834821224,
-0.016850532963871956,
0.03327243775129318,
-0.09587033838033676,
0.08758348226547241,
-0.013367910869419575,
0.08672621846199036,
0.07065258175134659,
0.008282389491796494,
0.032700929790735245,
0.03605853393673897,
0.036308567970991135,
0.06340157985687256,
0.042255815118551254,
0.05043551325798035,
-0.032700929790735245,
0.01657371036708355,
0.02041352353990078,
-0.02584284171462059,
-0.020609978586435318,
-0.0009108396479859948,
0.022592395544052124,
-0.008885151706635952,
-0.034344013780355453,
0.025021301582455635,
-0.01296607032418251,
-0.039076805114746094,
0.01479667890816927,
-0.021467240527272224,
0.032700929790735245,
0.034754782915115356
]
|
41,792 | wield.bunch.bunch | __sizeof__ | D.__sizeof__() -> size of D in memory, in bytes | def gen_func(mname):
def func(self, *args, **kwargs):
return getattr(self._mydict, mname)(*args, **kwargs)
orig_func = getattr(dict, mname)
if orig_func is None:
return
func.__name__ = orig_func.__name__
func.__doc__ = orig_func.__doc__
return func
| (self, *args, **kwargs) | [
0.04386450722813606,
-0.045757681131362915,
0.05843838304281235,
0.006947595160454512,
-0.03718481585383415,
-0.0005737570463679731,
-0.015422232449054718,
0.02675449289381504,
0.03939947113394737,
-0.02162863127887249,
-0.023557526990771294,
0.07951334863901138,
0.05311606079339981,
0.019556855782866478,
-0.020467722788453102,
-0.0006731040775775909,
0.01770832948386669,
0.032701920717954636,
-0.04311438277363777,
-0.02100352570414543,
0.02684379369020462,
0.0079968785867095,
0.04786517843604088,
-0.027308156713843346,
0.02623654715716839,
0.06661833077669144,
-0.009805217385292053,
0.0301657784730196,
0.046293485909700394,
-0.06972599029541016,
-0.06511807441711426,
-0.0436144657433033,
0.028933430090546608,
0.06815429776906967,
0.013993420638144016,
-0.0510442852973938,
-0.014341693371534348,
0.04136408865451813,
-0.1316649615764618,
-0.05829550325870514,
0.09587323665618896,
-0.0036724915262311697,
0.01605626754462719,
-0.002085171639919281,
0.0195032749325037,
-0.014011280611157417,
-0.009581966325640678,
0.034970156848430634,
0.025129219517111778,
-0.017681540921330452,
0.010769665241241455,
-0.02127142809331417,
0.03280907869338989,
0.013948770239949226,
0.005532179027795792,
0.04950831085443497,
-0.008242455311119556,
0.036023907363414764,
0.03630966693162918,
0.025379261001944542,
-0.05175869166851044,
-0.009492665529251099,
-0.03055870160460472,
-0.023646827787160873,
-0.0077602313831448555,
-0.025414980947971344,
-0.04275717958807945,
-0.010421392507851124,
-0.03188035264611244,
0.00006153377034934238,
-0.0002447397564537823,
0.005282137077301741,
0.026129387319087982,
-0.0025093499571084976,
-0.0038555581122636795,
0.0077200462110340595,
-0.07165488600730896,
-0.10087408125400543,
0.045972004532814026,
-0.0015147632220759988,
-0.058402661234140396,
-0.0714048445224762,
-0.07008319348096848,
-0.03445221483707428,
-0.055402159690856934,
-0.029094170778989792,
0.01911035180091858,
-0.07451251149177551,
-0.0008611936937086284,
-0.02516493946313858,
-0.04865102469921112,
0.02486131712794304,
-0.021592911332845688,
0.012680700048804283,
-0.06972599029541016,
-0.07279793918132782,
0.037613458931446075,
0.04832954332232475,
0.032523319125175476,
0.033362746238708496,
0.03193393349647522,
-0.002253726590424776,
-0.02698667347431183,
0.009322993457317352,
0.04672212898731232,
-0.0454719215631485,
-0.010832175612449646,
-0.029201330617070198,
-0.006090308073908091,
-0.017922652885317802,
-0.02016410045325756,
-0.04572196304798126,
-0.00013911376299802214,
0.011859133839607239,
0.034737974405288696,
-0.00025129778077825904,
-0.012037735432386398,
-0.0015739250229671597,
-0.014520294964313507,
0.0022727029863744974,
-0.013395106419920921,
-0.01770832948386669,
-0.0034916577860713005,
-0.035845305770635605,
-0.01163588184863329,
-0.010207070969045162,
0.04218565300107002,
0.002629905939102173,
0.08051351457834244,
-0.016851043328642845,
0.015859805047512054,
0.0015795063227415085,
0.025414980947971344,
0.028451206162571907,
0.02777251973748207,
-0.003183570224791765,
0.012903952039778233,
0.018699567764997482,
0.026022225618362427,
0.07061900198459625,
-0.009608755819499493,
0.037756338715553284,
-0.02830832451581955,
0.028594085946679115,
0.001692248391918838,
-0.04957975447177887,
0.016252728179097176,
0.06701125204563141,
-0.026218688115477562,
-0.043185822665691376,
-0.02189653366804123,
0.028736967593431473,
-0.013279015198349953,
0.017368987202644348,
-0.005264276638627052,
0.02207513526082039,
-0.004688287153840065,
0.009456944651901722,
-0.06015295535326004,
-0.04068540409207344,
0.03957807272672653,
0.05454487353563309,
-0.03968523442745209,
-0.07444106787443161,
0.045936282724142075,
-0.017922652885317802,
0.08194232732057571,
-0.058974187821149826,
0.013457616791129112,
0.034166451543569565,
-0.06301058083772659,
-0.012993252836167812,
0.015565113164484501,
0.02109282650053501,
0.08808621764183044,
0.045757681131362915,
-0.03211253508925438,
0.025182800367474556,
0.008398731239140034,
0.029308492317795753,
0.03255903720855713,
0.030969485640525818,
-0.05590224266052246,
0.003020596457645297,
0.002406654180958867,
0.007425353862345219,
0.011868064291775227,
0.03561312332749367,
-0.006242119241505861,
0.01928895339369774,
-0.0185745470225811,
0.003643468953669071,
0.028558366000652313,
-0.014520294964313507,
0.027486758306622505,
-0.05093712359666824,
-0.05086568370461464,
0.03689905256032944,
0.05918850749731064,
0.07551267743110657,
0.006889549549669027,
0.027308156713843346,
-0.04840098321437836,
0.062081851065158844,
0.025218520313501358,
0.03525592014193535,
0.04290005937218666,
0.010707154870033264,
-0.058974187821149826,
-0.027718938887119293,
0.006987780332565308,
-0.031165946274995804,
0.016377748921513557,
0.04975835606455803,
0.006934199947863817,
-0.0010146793210878968,
0.053008899092674255,
0.029094170778989792,
-0.05440199002623558,
0.04640064761042595,
0.03968523442745209,
0.026647331193089485,
0.030933765694499016,
-0.020949946716427803,
0.06722557544708252,
-0.03961379453539848,
0.0019188489532098174,
-0.05908134952187538,
-0.025807904079556465,
-0.012930742464959621,
0.029379932209849358,
-0.02193225361406803,
0.029433513060212135,
-0.025218520313501358,
-0.00767539581283927,
-0.0199497789144516,
0.023236043751239777,
-0.018824588507413864,
0.02064632438123226,
0.01001953985542059,
0.006813643965870142,
0.10151704400777817,
0.03361278772354126,
0.05533071979880333,
0.013341525569558144,
0.0030518516432493925,
0.016752813011407852,
0.06801141798496246,
-0.03843502327799797,
0.0399709977209568,
0.02707597427070141,
-0.014913218095898628,
-0.019431833177804947,
0.05415194854140282,
-0.031558871269226074,
0.06540384143590927,
-0.040042437613010406,
-0.003748397110030055,
-0.00020371723803691566,
-0.00030725024407729506,
0.018896030262112617,
-0.017967302352190018,
-0.051544368267059326,
-0.002132054418325424,
0.03355920687317848,
-0.03361278772354126,
0.0049070739187300205,
-0.004049787297844887,
-0.0473293736577034,
-0.004456105176359415,
0.0594385527074337,
0.028236884623765945,
-0.0010604459093883634,
-0.025718603283166885,
-0.013404035940766335,
-0.023771848529577255,
0.009349783882498741,
-0.03445221483707428,
-0.026558030396699905,
-0.03073730319738388,
0.0264508705586195,
-0.009537315927445889,
-0.002996038645505905,
0.036077484488487244,
-0.021503610536456108,
0.021860813722014427,
-0.0070324307307600975,
0.006474301218986511,
0.05529499799013138,
-0.027272436767816544,
0.031648170202970505,
-0.013350456021726131,
-0.008197804912924767,
0.02570074424147606,
0.012091316282749176,
-0.040542520582675934,
-0.011609092354774475,
-0.020360561087727547,
-0.03689905256032944,
0.024307653307914734,
0.02573646418750286,
0.010466042906045914,
-0.027129555121064186,
0.008889885619282722,
-0.0259686466306448,
0.006858294364064932,
-0.008242455311119556,
-0.03388068825006485,
-0.04236425459384918,
0.011260819621384144,
-0.032576899975538254,
0.04386450722813606,
-0.08622876554727554,
-0.010975057259202003,
0.015466882847249508,
0.05568792298436165,
0.013395106419920921,
0.02834404446184635,
0.0685829445719719,
0.07594132423400879,
0.0021510308142751455,
-0.01163588184863329,
-0.016422400251030922,
-0.02052130177617073,
0.028451206162571907,
-0.054652031511068344,
-0.04236425459384918,
-0.04529331997036934,
0.013252224773168564,
-0.02675449289381504,
-0.049472592771053314,
-0.03309484198689461,
0.028915569186210632,
0.009965959005057812,
-0.02609366737306118,
0.02614724636077881,
0.010876826010644436,
0.02707597427070141,
-0.04400738701224327,
-0.044686075299978256,
0.0482223816215992,
-0.015565113164484501,
-0.03897082805633545,
0.006460906006395817,
-0.023182462900877,
0.044686075299978256,
-0.00461238157004118,
-0.00792543776333332,
0.06376070529222488,
-0.044114548712968826,
0.012689630500972271,
-0.052258774638175964,
0.020324841141700745,
0.026558030396699905,
0.0454719215631485,
0.04025675728917122,
0.03388068825006485,
-0.02839762531220913,
-0.050151277333498,
-0.03470225632190704,
0.03371994569897652,
-0.01770832948386669,
-0.007474469020962715,
-0.025843624025583267,
0.04825810343027115,
0.010278511792421341,
0.0027236714959144592,
0.014252392575144768,
0.037577737122774124,
-0.031558871269226074,
0.00873360875993967,
-0.006911874748766422,
0.005987612530589104,
0.017806561663746834,
-0.03879222646355629,
-0.031130226328969002,
0.020557023584842682,
-0.006005472503602505,
-0.02821902371942997,
0.0002916226221714169,
0.013261155225336552,
-0.013796959072351456,
0.06608252227306366,
0.028290463611483574,
0.03525592014193535,
-0.023021722212433815,
0.023164603859186172,
0.0398995578289032,
0.0006624996312893927,
-0.04861530661582947,
-0.020021218806505203,
-0.01231456734240055,
-0.01674388349056244,
0.03052298165857792,
0.012680700048804283,
-0.06958311051130295,
-0.02657589130103588,
-0.040185317397117615,
-0.048543862998485565,
-0.02675449289381504,
0.011323329992592335,
-0.003592120949178934,
-0.00968912709504366,
-0.007711116224527359,
-0.006813643965870142,
-0.03211253508925438,
-0.021771512925624847,
0.04679357260465622,
0.032130394130945206,
0.037970662117004395,
-0.014547085389494896,
0.017994092777371407,
-0.07951334863901138,
-0.06468943506479263,
0.022307317703962326,
0.019128210842609406,
0.017627960070967674,
-0.028558366000652313,
-0.03961379453539848,
0.011850204318761826,
0.031130226328969002,
0.026968814432621002,
0.04511471837759018,
0.020324841141700745,
-0.016681373119354248,
-0.012546749785542488,
-0.011707322672009468,
0.012653910554945469,
-0.03843502327799797,
0.0511157251894474,
-0.038899388164281845,
-0.028290463611483574,
0.018878169357776642,
-0.016458120197057724,
0.03847074508666992,
-0.06701125204563141,
-0.042257096618413925,
-0.030308660119771957,
-0.009867727756500244,
0.026593750342726707,
0.028272604569792747,
-0.022414477542042732,
-0.002224703785032034,
-0.04832954332232475,
-0.03843502327799797,
-0.025540001690387726,
0.00979628786444664,
0.008657703176140785,
0.06126028671860695,
-0.045186158269643784,
0.04014959931373596,
0.08315681666135788,
0.007175311911851168,
-0.037220533937215805,
0.10673220455646515,
-0.004107832442969084,
-0.021074967458844185,
-0.05954571068286896,
-0.0012379310792312026,
0.03298768028616905,
-0.0464363694190979,
0.019163932651281357,
0.00900151114910841,
0.016851043328642845,
-0.03582744300365448,
0.09022943675518036,
0.012064525857567787,
0.01941397413611412,
-0.025307821109890938,
-0.027451038360595703,
0.01968187652528286,
-0.014279183000326157,
-0.022450197488069534,
-0.026415148749947548,
0.0015292746247723699,
0.006889549549669027,
-0.06379642337560654,
0.04786517843604088,
0.0038510931190103292,
0.010617854073643684,
0.026522310450673103,
-0.034523654729127884,
0.041828449815511703,
0.0399709977209568,
-0.015833014622330666,
0.027897540479898453,
0.014636386185884476,
-0.03789922222495079,
-0.01746721751987934,
-0.008872025646269321,
-0.0547591932117939,
0.0640464648604393,
0.08194232732057571,
-0.015118610113859177,
-0.03313056379556656,
0.009492665529251099,
0.04050680249929428,
0.03513089939951897,
-0.014198812656104565,
-0.053008899092674255,
-0.03457723557949066,
0.00994809903204441,
-0.0724407359957695,
0.04475751519203186,
-0.012144896201789379,
0.013404035940766335,
-0.019163932651281357,
0.0120555954053998,
-0.033773526549339294,
-0.029308492317795753,
-0.006139423698186874,
-0.03882794827222824,
-0.05161580815911293,
0.025218520313501358,
0.00025841392925940454,
-0.04600772634148598,
-0.022700240835547447,
-0.006434116046875715,
-0.07687004655599594,
-0.013145064003765583,
0.045007556676864624,
-0.005210696253925562,
-0.045007556676864624,
0.0013897422468289733,
-0.029219191521406174,
0.019038910046219826,
0.029933597892522812,
0.021592911332845688,
0.0399709977209568,
0.053759027272462845,
0.015011449344456196,
-0.015797294676303864,
0.00593849690631032,
0.04157840833067894,
-0.03718481585383415,
0.03211253508925438,
-0.045579079538583755,
-0.03882794827222824,
-0.0427214577794075,
0.04768657684326172,
0.014341693371534348,
0.008863095194101334,
0.01830664463341236,
0.006277839653193951,
0.023539666086435318,
-0.006889549549669027,
-0.02064632438123226,
-0.033148422837257385,
0.006621647626161575,
-0.05254453793168068,
-0.006067982874810696,
0.007983483374118805,
-0.03825642168521881,
-0.024164771661162376,
-0.0009320761309936643,
-0.00786292739212513,
0.01536865159869194,
-0.03747057542204857,
-0.03330916538834572,
0.0003055758716072887,
-0.01535079162567854,
0.06283197551965714,
0.08387122303247452,
0.010046329349279404,
-0.06526095420122147,
0.06422507017850876,
-0.00612602848559618,
0.04654352739453316,
-0.04097116366028786,
-0.03400570899248123,
-0.0017971767811104655,
-0.02330748550593853,
0.0715477243065834,
0.00418597087264061,
-0.03718481585383415,
0.0575096569955349,
0.05772397667169571,
-0.03861362487077713,
-0.006085843313485384,
-0.030415821820497513,
-0.038935109972953796,
0.007126196287572384,
-0.037756338715553284,
0.031040925532579422,
-0.07119052112102509,
-0.028647666797041893,
-0.020914224907755852,
0.04543619975447655,
0.02393258921802044,
-0.00479991314932704,
-0.05990291386842728,
-0.03171961009502411,
-0.0743696317076683,
-0.0015594136202707887,
0.02450411394238472,
0.003364404197782278,
-0.00626890966668725,
0.03914942964911461,
-0.027701079845428467,
-0.021378589794039726,
-0.07394098490476608,
0.007188707124441862,
-0.02202155441045761,
0.034470073878765106,
-0.00834515132009983,
0.022182295098900795,
-0.006541276816278696,
-0.021432170644402504,
0.021253569051623344,
0.031201668083667755,
-0.03525592014193535,
-0.03936375305056572,
0.033987849950790405,
0.06722557544708252,
0.03825642168521881,
-0.00975163746625185,
-0.03843502327799797,
0.01285037212073803,
0.04975835606455803,
-0.02675449289381504,
-0.03541665896773338,
-0.01238600816577673,
-0.011242958717048168,
-0.00249372236430645,
0.011493001133203506,
-0.03616678714752197,
0.05240165442228317,
0.002705811522901058,
0.025325680151581764,
0.014966798946261406,
-0.0817994475364685,
0.005322322249412537,
0.03402356803417206,
-0.09723061323165894,
0.04275717958807945,
0.02773679979145527,
0.015029309317469597,
0.030862323939800262,
-0.04804378002882004,
-0.02879054844379425,
0.002993806265294552,
0.025129219517111778,
-0.005152650643140078,
-0.030755164101719856,
-0.02857622690498829,
0.04625776782631874,
0.006925269961357117,
-0.028558366000652313,
0.07444106787443161,
-0.04568624123930931,
-0.02025340124964714,
0.004049787297844887,
-0.006067982874810696,
0.07494115084409714,
0.07829885929822922,
-0.055223558098077774,
-0.035363081842660904,
-0.0677613765001297,
0.03379138931632042,
-0.030755164101719856,
-0.020449861884117126,
-0.07290510088205338,
-0.025182800367474556,
-0.04804378002882004,
-0.03236257657408714,
0.0033041262067854404,
-0.03345204517245293,
-0.040935445576906204,
0.00968912709504366,
-0.04625776782631874,
0.05397334694862366,
0.04236425459384918,
0.013680868782103062,
-0.0945873111486435,
-0.022057274356484413,
0.006335885263979435,
0.07108336687088013,
0.010073119774460793,
0.02073562517762184,
0.01665458269417286,
0.007117266301065683,
0.05086568370461464,
-0.011796623468399048,
0.058402661234140396,
-0.01258246973156929,
-0.013654078356921673,
0.01758330874145031,
-0.012930742464959621,
-0.015993757173419,
0.012046665884554386,
0.006760063581168652,
-0.03986383602023125,
0.009894518181681633,
0.010466042906045914,
-0.04711505398154259,
0.03263047710061073,
-0.008474636822938919,
-0.03273763880133629,
0.002149914624169469,
0.026522310450673103,
-0.019556855782866478,
0.02680807188153267,
0.005563434213399887,
-0.01836022548377514,
0.0033666365779936314,
-0.04286434128880501,
0.030272940173745155,
-0.019038910046219826,
0.024450533092021942,
-0.027129555121064186,
-0.0026031157467514277,
0.009965959005057812,
0.05643804743885994,
0.04415027052164078,
0.04432887211441994,
-0.06526095420122147,
-0.06036727875471115,
0.063975028693676,
0.02812972292304039,
-0.014064861461520195,
0.030183639377355576,
-0.015466882847249508,
0.0032840336207300425,
-0.012243127450346947,
-0.002670091111212969,
-0.008505892008543015,
-0.04654352739453316,
-0.03622036799788475,
-0.021878672763705254,
0.015431161969900131,
0.010349951684474945,
-0.02136072888970375,
-0.018949611112475395,
-0.008872025646269321,
-0.004706147126853466,
-0.032576899975538254,
0.01560976356267929,
0.014136302284896374,
-0.01685997284948826,
0.03327344357967377,
-0.09587323665618896,
0.08758613467216492,
-0.013368315994739532,
0.08680028468370438,
0.07072616368532181,
0.00825585052371025,
0.03273763880133629,
0.03600604459643364,
0.03636324778199196,
0.06340350210666656,
0.042257096618413925,
0.05054420232772827,
-0.03268405795097351,
0.01656528189778328,
0.0204320028424263,
-0.025843624025583267,
-0.02061060257256031,
-0.0008729144465178251,
0.022575218230485916,
-0.008885420858860016,
-0.034345053136348724,
0.02498633787035942,
-0.012975392863154411,
-0.03904226794838905,
0.014832847751677036,
-0.021485749632120132,
0.03273763880133629,
0.03475583717226982
]
|
41,793 | wield.bunch.bunch | __str__ | Return str(self). | def gen_func(mname):
def func(self, *args, **kwargs):
return getattr(self._mydict, mname)(*args, **kwargs)
orig_func = getattr(dict, mname)
if orig_func is None:
return
func.__name__ = orig_func.__name__
func.__doc__ = orig_func.__doc__
return func
| (self, *args, **kwargs) | [
0.04386318102478981,
-0.045720577239990234,
0.05843661352992058,
0.007014358416199684,
-0.03711225092411041,
-0.0005516942474059761,
-0.015350326895713806,
0.02673582173883915,
0.03932683914899826,
-0.021592257544398308,
-0.023538954555988312,
0.07951094210147858,
0.053114451467990875,
0.019556263461709023,
-0.02041352353990078,
-0.0006368063623085618,
0.017663145437836647,
0.03268307074904442,
-0.043005917221307755,
-0.021002890542149544,
0.026860838755965233,
0.008018961176276207,
0.04789945110678673,
-0.027360908687114716,
0.026289332658052444,
0.06654487550258636,
-0.009831709787249565,
0.030164865776896477,
0.046327803283929825,
-0.06975959986448288,
-0.06515182554721832,
-0.04357742518186569,
0.02887897379696369,
0.06811651587486267,
0.013921558856964111,
-0.05104273930191994,
-0.014314469881355762,
0.0413985550403595,
-0.13166098296642303,
-0.05829373747110367,
0.09587033838033676,
-0.003627731464803219,
0.01608256995677948,
-0.0020639002323150635,
0.019449105486273766,
-0.014064435847103596,
-0.009581675752997398,
0.0349869579076767,
0.025164177641272545,
-0.01772565394639969,
0.010796128772199154,
-0.021288644522428513,
0.032790228724479675,
0.01397513784468174,
0.005505221895873547,
0.049506813287734985,
-0.00826006568968296,
0.03595137596130371,
0.03634428605437279,
0.02537849359214306,
-0.05186428129673004,
-0.009510237723588943,
-0.030647074803709984,
-0.023628251627087593,
-0.007742136716842651,
-0.025432070717215538,
-0.042720165103673935,
-0.010376428253948689,
-0.03189724683761597,
0.00008197277929866686,
-0.00029189285123720765,
0.0052685821428895,
0.02612859569489956,
-0.0024891819339245558,
-0.0038599062245339155,
0.007701952941715717,
-0.07158128172159195,
-0.1008710265159607,
0.04600633308291435,
-0.001475649536587298,
-0.05843661352992058,
-0.07140268385410309,
-0.07008107006549835,
-0.03450474888086319,
-0.05543620139360428,
-0.02907543070614338,
0.01910977251827717,
-0.07451025396585464,
-0.0009108396479859948,
-0.025199897587299347,
-0.04868527129292488,
0.024842705577611923,
-0.021645836532115936,
0.01268924679607153,
-0.06975959986448288,
-0.07272429764270782,
0.037612318992614746,
0.04836379736661911,
0.03250447288155556,
0.033361732959747314,
0.03189724683761597,
-0.0022648207377642393,
-0.02691441774368286,
0.009331641718745232,
0.0467207171022892,
-0.04547054320573807,
-0.010858637280762196,
-0.029146868735551834,
-0.006112448405474424,
-0.0178685300052166,
-0.020145630463957787,
-0.04568485915660858,
-0.00016255027730949223,
0.01189449429512024,
0.034754782915115356,
-0.00017454969929531217,
-0.01205523032695055,
-0.0016107127303257585,
-0.01446627639234066,
0.002286028815433383,
-0.013376841321587563,
-0.017716724425554276,
-0.0034669949673116207,
-0.03589779883623123,
-0.011653389781713486,
-0.010215691290795803,
0.0422200970351696,
0.002569549949839711,
0.08058252185583115,
-0.01683267392218113,
0.015859326347708702,
0.0016207587905228138,
0.025449931621551514,
0.02846820279955864,
0.02766452170908451,
-0.003203565953299403,
0.012823193334043026,
0.01868114247918129,
0.026092877611517906,
0.07061686366796494,
-0.009626325219869614,
0.03782663494348526,
-0.028307467699050903,
0.028575360774993896,
0.0016709888586774468,
-0.04957825317978859,
0.01634153537452221,
0.06708066165447235,
-0.026271473616361618,
-0.043184515088796616,
-0.02194944955408573,
0.02870037779211998,
-0.013287543319165707,
0.017314882948994637,
-0.005290906876325607,
0.02209232561290264,
-0.004643496125936508,
0.009474517777562141,
-0.06015113368630409,
-0.040755607187747955,
0.03964831307530403,
0.05454321950674057,
-0.03961259499192238,
-0.07436737418174744,
0.0459706112742424,
-0.017886390909552574,
0.08193984627723694,
-0.05897240340709686,
0.01345720887184143,
0.03418327495455742,
-0.06290151178836823,
-0.01296607032418251,
0.015564641915261745,
0.021056469529867172,
0.08808355033397675,
0.045756299048662186,
-0.03207584470510483,
0.02518203668296337,
0.00838954746723175,
0.029325464740395546,
0.03259377181529999,
0.030968546867370605,
-0.05586482957005501,
0.003031667321920395,
0.002402116311714053,
0.007384944707155228,
0.011849844828248024,
0.035558465868234634,
-0.0063133686780929565,
0.019270509481430054,
-0.01859184354543686,
0.003627731464803219,
0.02855750173330307,
-0.014519855380058289,
0.0274859257042408,
-0.05089986324310303,
-0.050864141434431076,
0.0368979349732399,
0.05918671563267708,
0.07551039010286331,
0.006817902438342571,
0.027325188741087914,
-0.048435237258672714,
0.06207997351884842,
0.025217756628990173,
0.03521913290023804,
0.042863041162490845,
0.010662181302905083,
-0.05897240340709686,
-0.02771810069680214,
0.007000963669270277,
-0.03121858276426792,
0.016421902924776077,
0.04975684732198715,
0.006942919921129942,
-0.0009945564670488238,
0.05300729349255562,
0.029093289747834206,
-0.05440034344792366,
0.04643496125936508,
0.039684031158685684,
0.026646524667739868,
0.030914969742298126,
-0.020860014483332634,
0.06729497760534286,
-0.03964831307530403,
0.0018674444872885942,
-0.05907955765724182,
-0.025807123631238937,
-0.012885701842606068,
0.029379043728113174,
-0.021842291578650475,
0.02948620170354843,
-0.025289194658398628,
-0.0077555314637720585,
-0.019913455471396446,
0.02327105961740017,
-0.018788300454616547,
0.02059211954474449,
0.010046025738120079,
0.006840227171778679,
0.10158541053533554,
0.033593907952308655,
0.05532904341816902,
0.01334112137556076,
0.003087478457018733,
0.016725515946745872,
0.06804507970809937,
-0.03843386098742485,
0.04007694497704506,
0.027093013748526573,
-0.01491276640444994,
-0.019395526498556137,
0.054186027497053146,
-0.03161149471998215,
0.06536614149808884,
-0.04004122316837311,
-0.003799630096182227,
-0.00022896566952113062,
-0.0003217518678866327,
0.018931176513433456,
-0.017966758459806442,
-0.05150708928704262,
-0.0021174789872020483,
0.03350461274385452,
-0.03364748880267143,
0.004862276371568441,
-0.004007247742265463,
-0.04732794314622879,
-0.004462667740881443,
0.059472471475601196,
0.028218168765306473,
-0.0010754828108474612,
-0.025735685601830482,
-0.013439349830150604,
-0.023771129548549652,
0.009358431212604046,
-0.03446903079748154,
-0.026628665626049042,
-0.030736373737454414,
0.026378629729151726,
-0.00952809676527977,
-0.0029825533274561167,
0.03605853393673897,
-0.02157439850270748,
0.02194944955408573,
-0.007014358416199684,
0.006469640415161848,
0.05529332533478737,
-0.027307329699397087,
0.0316472128033638,
-0.013394700363278389,
-0.008233276195824146,
0.02569996565580368,
0.012090949341654778,
-0.04054129496216774,
-0.011599810793995857,
-0.020395664498209953,
-0.0369693748652935,
0.024235477671027184,
0.02569996565580368,
0.010465726256370544,
-0.027128733694553375,
0.008862826973199844,
-0.025967858731746674,
0.006817902438342571,
-0.008202021941542625,
-0.03384394198656082,
-0.04232725501060486,
0.011296197772026062,
-0.032558053731918335,
0.04389889910817146,
-0.08629759401082993,
-0.011037233285605907,
0.015511062927544117,
0.05575767531991005,
0.013403630815446377,
0.028361046686768532,
0.06858086585998535,
0.07593902200460434,
0.0021654765587300062,
-0.0116801792755723,
-0.01636832393705845,
-0.02050282247364521,
0.028450343757867813,
-0.05465037748217583,
-0.042434412986040115,
-0.045291949063539505,
0.013225034810602665,
-0.026807261630892754,
-0.04939965531229973,
-0.033129557967185974,
0.02884325571358204,
0.00997458677738905,
-0.026021437719464302,
0.02612859569489956,
0.01088542677462101,
0.027039434760808945,
-0.04397033900022507,
-0.04461328312754631,
0.0482209213078022,
-0.015573571436107159,
-0.03896964713931084,
0.006456245668232441,
-0.023181762546300888,
0.04472044110298157,
-0.004603311885148287,
-0.007862688973546028,
0.06375877559185028,
-0.044077493250370026,
0.01268924679607153,
-0.05225719138979912,
0.02035994455218315,
0.02650364674627781,
0.04539910703897476,
0.04025553911924362,
0.033826082944869995,
-0.028396764770150185,
-0.05014975741505623,
-0.03462976589798927,
0.033772505819797516,
-0.017707794904708862,
-0.00745638320222497,
-0.02584284171462059,
0.0482209213078022,
0.010251411236822605,
0.002728054067119956,
0.014260890893638134,
0.037612318992614746,
-0.03161149471998215,
0.008728879503905773,
-0.006862551439553499,
0.005996360909193754,
0.017850670963525772,
-0.03882677108049393,
-0.031075704842805862,
0.02055639959871769,
-0.005924922414124012,
-0.028218168765306473,
0.0003577501338440925,
0.013260753825306892,
-0.013778681866824627,
0.06608052551746368,
0.02823602966964245,
0.03525485098361969,
-0.022949587553739548,
0.02327105961740017,
0.039862629026174545,
0.0006747580482624471,
-0.048613835126161575,
-0.020020611584186554,
-0.012314194813370705,
-0.0167433749884367,
0.030504198744893074,
0.012680316343903542,
-0.06958100199699402,
-0.026575086638331413,
-0.040148381143808365,
-0.04847095534205437,
-0.026753682643175125,
0.011305127292871475,
-0.003574152709916234,
-0.009679903276264668,
-0.00768855819478631,
-0.0068000429309904575,
-0.03212942183017731,
-0.021824432536959648,
0.04682787507772446,
0.03211156278848648,
0.03796951100230217,
-0.014546644873917103,
0.017966758459806442,
-0.07965382188558578,
-0.06468747556209564,
0.02228878252208233,
0.019127631559967995,
0.017654215916991234,
-0.028593221679329872,
-0.039684031158685684,
0.011921283788979053,
0.031147142872214317,
0.026932278648018837,
0.04504191502928734,
0.02027064748108387,
-0.016680866479873657,
-0.012564228847622871,
-0.011742687784135342,
0.012635667808353901,
-0.03843386098742485,
0.05111417919397354,
-0.03889821097254753,
-0.028289606794714928,
0.018877597525715828,
-0.016439761966466904,
0.0384695790708065,
-0.06708066165447235,
-0.04232725501060486,
-0.03034346178174019,
-0.00985849928110838,
0.026557225733995438,
0.02823602966964245,
-0.022449517622590065,
-0.0022536583710461855,
-0.04839951917529106,
-0.0383981429040432,
-0.02555708959698677,
0.009822780266404152,
0.008715485222637653,
0.061258431524038315,
-0.04518479108810425,
0.04011266306042671,
0.08315429836511612,
0.007130445446819067,
-0.03718368709087372,
0.10680041462182999,
-0.004056361969560385,
-0.0211100485175848,
-0.059472471475601196,
-0.0012244988465681672,
0.033022403717041016,
-0.04647068306803703,
0.01914549246430397,
0.009028027765452862,
0.016886252909898758,
-0.03582635894417763,
0.09022670239210129,
0.01205523032695055,
0.019413385540246964,
-0.02532491460442543,
-0.0274859257042408,
0.019591981545090675,
-0.01423410139977932,
-0.02243165858089924,
-0.0263964906334877,
0.001537041855044663,
0.0068714814260602,
-0.06368733942508698,
0.04786372929811478,
0.0038599062245339155,
0.010590743273496628,
0.026628665626049042,
-0.034576188772916794,
0.04186290502548218,
0.0398983471095562,
-0.015859326347708702,
0.02795027568936348,
0.01465380284935236,
-0.03786235302686691,
-0.01749347895383835,
-0.008911941200494766,
-0.054757535457611084,
0.0640445277094841,
0.08193984627723694,
-0.015109222382307053,
-0.0331474207341671,
0.009492377750575542,
0.04043413698673248,
0.03507625684142113,
-0.01413587387651205,
-0.052971575409173965,
-0.03455832600593567,
0.009956727735698223,
-0.07247426360845566,
0.04479187726974487,
-0.01217131782323122,
0.013483998365700245,
-0.01914549246430397,
0.012028440833091736,
-0.033772505819797516,
-0.0293611828237772,
-0.006112448405474424,
-0.03886249288916588,
-0.05168568342924118,
0.025217756628990173,
0.00022310548229143023,
-0.04600633308291435,
-0.022645974531769753,
-0.006433921400457621,
-0.0768677219748497,
-0.01318038534373045,
0.04504191502928734,
-0.005246257875114679,
-0.04500619322061539,
0.0014566737227141857,
-0.02921830676496029,
0.019074054434895515,
0.029879111796617508,
0.021592257544398308,
0.040005505084991455,
0.05375739932060242,
0.015055643394589424,
-0.01579681597650051,
0.005898133385926485,
0.04157714918255806,
-0.03718368709087372,
0.03211156278848648,
-0.04554198309779167,
-0.03882677108049393,
-0.042720165103673935,
0.04764941334724426,
0.014314469881355762,
0.008862826973199844,
0.018323950469493866,
0.006322298664599657,
0.023485375568270683,
-0.006916130427271128,
-0.020574260503053665,
-0.0331474207341671,
0.006643771659582853,
-0.052542947232723236,
-0.006009755656123161,
0.007974311709403992,
-0.03825526311993599,
-0.024146180599927902,
-0.0009192113066092134,
-0.00791180320084095,
0.01537711638957262,
-0.037469442933797836,
-0.03337959572672844,
0.00029579963302239776,
-0.015314607881009579,
0.06290151178836823,
0.08379724621772766,
0.010081744752824306,
-0.06529469788074493,
0.06422312557697296,
-0.006148167420178652,
0.04661355912685394,
-0.04100564494729042,
-0.034058257937431335,
-0.0018027034820988774,
-0.02330677956342697,
0.0714741200208664,
0.004109940491616726,
-0.03721940889954567,
0.05750791355967522,
0.05772222951054573,
-0.03861245512962341,
-0.006090123672038317,
-0.030361320823431015,
-0.03896964713931084,
0.007099191192537546,
-0.03768375888466835,
0.031075704842805862,
-0.07111693173646927,
-0.028682518750429153,
-0.02093145251274109,
0.04547054320573807,
0.02393186464905739,
-0.004786373116075993,
-0.05986538156867027,
-0.03173651173710823,
-0.07429593801498413,
-0.0015225309180095792,
0.024503372609615326,
0.0033442103303968906,
-0.006255325395613909,
0.039112526923418045,
-0.027735959738492966,
-0.02139580249786377,
-0.073938749730587,
0.0072420681826770306,
-0.022020887583494186,
0.03445117175579071,
-0.008353828452527523,
0.02214590460062027,
-0.006536613684147596,
-0.021413661539554596,
0.02125292457640171,
0.031165003776550293,
-0.035272710025310516,
-0.03936256095767021,
0.034004680812358856,
0.06722353398799896,
0.03825526311993599,
-0.009795990772545338,
-0.03843386098742485,
0.012930351309478283,
0.0497211292386055,
-0.026860838755965233,
-0.03536200895905495,
-0.01238563284277916,
-0.011260478757321835,
-0.002491414314135909,
0.011537302285432816,
-0.036165691912174225,
0.052364349365234375,
0.0026767076924443245,
0.025360632687807083,
0.014939555898308754,
-0.08179697394371033,
0.005366810131818056,
0.03398682177066803,
-0.09722767025232315,
0.04282732307910919,
0.02771810069680214,
0.01502885390073061,
0.030879249796271324,
-0.04804232716560364,
-0.028807535767555237,
0.0029446016997098923,
0.025074878707528114,
-0.005143565125763416,
-0.030789950862526894,
-0.028593221679329872,
0.04629208520054817,
0.006898270919919014,
-0.028575360774993896,
0.07443881779909134,
-0.04568485915660858,
-0.020234927535057068,
0.004007247742265463,
-0.006090123672038317,
0.07493888586759567,
0.0782964900135994,
-0.05529332533478737,
-0.035326290875673294,
-0.06775932759046555,
0.033772505819797516,
-0.030700653791427612,
-0.020467102527618408,
-0.07290288805961609,
-0.025164177641272545,
-0.04807804524898529,
-0.03241517394781113,
0.003279469208791852,
-0.03343317285180092,
-0.04100564494729042,
0.009706692770123482,
-0.046184927225112915,
0.05397171527147293,
0.04229153320193291,
0.013680454343557358,
-0.09458444267511368,
-0.022020887583494186,
0.006353552918881178,
0.07108121365308762,
0.010063884779810905,
0.020752856507897377,
0.01666300743818283,
0.007099191192537546,
0.05089986324310303,
-0.011805196292698383,
0.05843661352992058,
-0.012626737356185913,
-0.013680454343557358,
0.01760956645011902,
-0.012867842800915241,
-0.016037922352552414,
0.012028440833091736,
0.006804507691413164,
-0.039862629026174545,
0.009912078268826008,
0.010412147268652916,
-0.04714934527873993,
0.032754506915807724,
-0.00850563496351242,
-0.032790228724479675,
0.0021386872977018356,
0.026557225733995438,
-0.019591981545090675,
0.026842979714274406,
0.005554335657507181,
-0.018377529457211494,
0.003357604844495654,
-0.042863041162490845,
0.03028988279402256,
-0.019038334488868713,
0.024414073675870895,
-0.027164453640580177,
-0.0026052691973745823,
0.009956727735698223,
0.056436337530612946,
0.04414893314242363,
0.04432753100991249,
-0.06525897979736328,
-0.060329731553792953,
0.0640445277094841,
0.02812887169420719,
-0.014082294888794422,
0.030218444764614105,
-0.01549320388585329,
0.003310723463073373,
-0.012215967290103436,
-0.002661080565303564,
-0.008527959696948528,
-0.046506401151418686,
-0.036219269037246704,
-0.021878011524677277,
0.015430695377290249,
0.010340709239244461,
-0.021360082551836967,
-0.01891331747174263,
-0.008827107958495617,
-0.004661355633288622,
-0.03259377181529999,
0.015564641915261745,
0.014118014834821224,
-0.016850532963871956,
0.03327243775129318,
-0.09587033838033676,
0.08758348226547241,
-0.013367910869419575,
0.08672621846199036,
0.07065258175134659,
0.008282389491796494,
0.032700929790735245,
0.03605853393673897,
0.036308567970991135,
0.06340157985687256,
0.042255815118551254,
0.05043551325798035,
-0.032700929790735245,
0.01657371036708355,
0.02041352353990078,
-0.02584284171462059,
-0.020609978586435318,
-0.0009108396479859948,
0.022592395544052124,
-0.008885151706635952,
-0.034344013780355453,
0.025021301582455635,
-0.01296607032418251,
-0.039076805114746094,
0.01479667890816927,
-0.021467240527272224,
0.032700929790735245,
0.034754782915115356
]
|
41,794 | wield.bunch.bunch | _repr_pretty_ | null | def _repr_pretty_(self, p, cycle):
if cycle:
p.text("Bunch(<recurse>)")
else:
with p.group(4, "Bunch(", ")"):
first = True
for k, v in sorted(self._mydict.items()):
if not first:
p.text(",")
p.breakable()
else:
p.breakable()
first = False
if isinstance(k, str):
p.text(k)
else:
p.pretty(k)
p.text(" = ")
p.pretty(v)
if not first:
p.text(",")
p.breakable()
return
| (self, p, cycle) | [
0.04646804928779602,
-0.029987286776304245,
0.032244205474853516,
0.013838940300047398,
-0.01595589518547058,
-0.031176980584859848,
0.0047500282526016235,
-0.07029692083597183,
-0.0008277558372355998,
-0.004083012230694294,
-0.027572907507419586,
0.04020465910434723,
0.020434744656085968,
0.04324887692928314,
-0.03835013508796692,
-0.008459074422717094,
0.054376013576984406,
-0.03607572242617607,
-0.05444599688053131,
0.05539075285196304,
0.0665178894996643,
0.04317889362573624,
0.03408123552799225,
0.0164632648229599,
0.00016333689563907683,
-0.010357336141169071,
-0.018492743372917175,
0.007116294465959072,
-0.06322873383760452,
0.023478960618376732,
0.005261771846562624,
-0.01802036538720131,
-0.010960930958390236,
0.01039232686161995,
0.004876870661973953,
0.05913478881120682,
-0.017749184742569923,
0.022604186087846756,
-0.06690279394388199,
-0.018527735024690628,
0.05105186998844147,
0.04079950600862503,
-0.032751575112342834,
-0.03918991982936859,
-0.017705446109175682,
-0.005462969653308392,
0.10385328531265259,
0.06662286072969437,
0.028167754411697388,
-0.0902068018913269,
0.054131075739860535,
-0.0026461943052709103,
-0.01442504022270441,
0.002469052327796817,
0.005152424797415733,
-0.00220771343447268,
0.021606942638754845,
0.016979383304715157,
0.07481075823307037,
-0.021012095734477043,
-0.04814761504530907,
0.02298908680677414,
0.023723898455500603,
0.036110710352659225,
-0.03156188130378723,
-0.04436858743429184,
-0.033048998564481735,
-0.022149303928017616,
-0.02298908680677414,
-0.05756019428372383,
0.017233068123459816,
0.021571950986981392,
-0.039469849318265915,
0.0320342592895031,
-0.05930974334478378,
-0.028885070234537125,
-0.017145590856671333,
-0.03451862186193466,
0.02739795297384262,
-0.040169667452573776,
-0.04219914600253105,
-0.011275850236415863,
-0.021939357742667198,
-0.031789325177669525,
0.016227075830101967,
-0.03593575581908226,
0.02640070952475071,
0.007837983779609203,
0.006254641339182854,
0.07411094009876251,
-0.025211015716195107,
0.01560598611831665,
0.017547987401485443,
0.04058955982327461,
-0.022849123924970627,
0.03268159553408623,
-0.0007151285535655916,
-0.033451396971940994,
-0.02605080045759678,
0.007776749785989523,
-0.009806227870285511,
-0.07320117205381393,
-0.07264131307601929,
-0.0052092853002250195,
-0.0647333487868309,
-0.018300293013453484,
0.002939244033768773,
0.014521265402436256,
-0.010742236860096455,
-0.003800897393375635,
-0.07019194960594177,
-0.009456317871809006,
-0.036110710352659225,
-0.03268159553408623,
0.056545455008745193,
0.021904366090893745,
-0.010785975493490696,
-0.011905687861144543,
0.05801507830619812,
-0.021396996453404427,
-0.02449369989335537,
-0.03549836948513985,
-0.0014204159379005432,
0.01599963568150997,
-0.04611813649535179,
-0.002878009807318449,
-0.012421805411577225,
0.002141011878848076,
-0.011442056857049465,
0.026225754991173744,
0.02438872680068016,
-0.012281840667128563,
-0.033906277269124985,
-0.01842276193201542,
0.02263917773962021,
-0.0017222132300958037,
-0.019087590277194977,
-0.03929489478468895,
0.01274547167122364,
0.033153973519802094,
0.00838471855968237,
-0.03653060272336006,
-0.06329871714115143,
0.05325630307197571,
-0.002633072668686509,
-0.05185666307806969,
0.001384331495501101,
0.0831386148929596,
0.006950087379664183,
0.034553613513708115,
0.0006588149117305875,
0.004715037066489458,
0.06074437499046326,
0.0032672847155481577,
0.08495815098285675,
0.015439778566360474,
-0.014285075478255749,
0.009001434780657291,
0.009622525423765182,
-0.003247602144256234,
0.025280997157096863,
-0.05119183287024498,
0.030704602599143982,
0.014451283030211926,
-0.006302753929048777,
0.03045966476202011,
0.031106999143958092,
-0.02503606118261814,
0.029147503897547722,
0.04058955982327461,
0.025823358446359634,
-0.018685193732380867,
-0.05930974334478378,
0.019892383366823196,
0.025718385353684425,
0.07432088255882263,
-0.0037177938502281904,
0.042339108884334564,
0.003140442306175828,
-0.025420961901545525,
-0.02272665500640869,
-0.04786768928170204,
-0.008039182052016258,
-0.009010182693600655,
0.030074764043092728,
-0.0843283087015152,
0.04912736266851425,
-0.0306171253323555,
0.03467608243227005,
0.03212173655629158,
-0.015439778566360474,
0.013585255481302738,
0.015632228925824165,
0.03285655006766319,
0.03642563149333,
-0.0514017790555954,
0.016402030363678932,
-0.02935744822025299,
0.0346410907804966,
-0.021099573001265526,
-0.058399979025125504,
-0.036110710352659225,
-0.0338188000023365,
0.0018260928336530924,
0.0659230425953865,
0.03383629769086838,
-0.020294779911637306,
-0.0005158438580110669,
0.030424674972891808,
-0.017303049564361572,
-0.006525821518152952,
-0.023811375722289085,
0.03518345206975937,
-0.06277385354042053,
-0.014687472023069859,
-0.038070209324359894,
0.03894498199224472,
0.02699555642902851,
-0.062213998287916183,
-0.008585916832089424,
-0.0005051825428381562,
-0.021851878613233566,
0.021292023360729218,
-0.0046844203025102615,
-0.040379613637924194,
0.013970157131552696,
0.007837983779609203,
0.016996879130601883,
-0.035358406603336334,
0.03212173655629158,
0.02890256606042385,
-0.07036690413951874,
-0.024178780615329742,
-0.004026151727885008,
-0.012657994404435158,
-0.04954725503921509,
-0.07649032771587372,
-0.014486273750662804,
0.02680310606956482,
-0.0020152628421783447,
0.004793766885995865,
0.03628566861152649,
-0.0007227828609757125,
-0.03667056933045387,
-0.02524600736796856,
-0.04184923693537712,
0.04139435291290283,
-0.04114941507577896,
-0.005738523788750172,
0.0404495969414711,
-0.0210820771753788,
0.016524499282240868,
0.0002263480273541063,
0.006700776517391205,
0.006477708928287029,
-0.03677554056048393,
0.014748706482350826,
0.032804060727357864,
0.042339108884334564,
0.03010975569486618,
0.024371230974793434,
0.010007426142692566,
-0.015072373673319817,
0.03649561479687691,
0.0699470117688179,
0.00019545754184946418,
-0.04450855031609535,
-0.04527835547924042,
-0.021694419905543327,
-0.0033985008485615253,
0.01661197654902935,
-0.0462581031024456,
-0.031089503318071365,
0.03266409784555435,
-0.04531334340572357,
0.041079435497522354,
0.027118025347590446,
-0.0140226436778903,
-0.0427590012550354,
-0.0715915858745575,
-0.021396996453404427,
-0.0257008895277977,
0.01134583167731762,
0.018037861213088036,
0.014687472023069859,
0.036320656538009644,
0.012867940589785576,
-0.004181424621492624,
0.033398911356925964,
0.021309519186615944,
0.06203904375433922,
-0.009526299312710762,
0.03170184791088104,
0.038175180554389954,
0.05581064522266388,
0.009753741323947906,
0.07243137061595917,
-0.028622638434171677,
-0.04541831836104393,
-0.03126445785164833,
0.0058566187508404255,
-0.07565054297447205,
0.09069667011499405,
0.05584563687443733,
0.02017231099307537,
0.03040717914700508,
-0.002512791194021702,
-0.0017582977889105678,
0.0016227075830101967,
-0.042584046721458435,
-0.03667056933045387,
0.009779984131455421,
0.0033044626470655203,
0.09202633053064346,
-0.03677554056048393,
-0.04415864124894142,
-0.05416606739163399,
0.005064947064965963,
0.028972547501325607,
0.041779253631830215,
-0.04009968787431717,
-0.019140077754855156,
-0.02575337514281273,
0.01380394957959652,
0.019385013729333878,
-0.06144419685006142,
0.008336605504155159,
0.029427431523799896,
0.05742023140192032,
0.025525934994220734,
0.004614437930285931,
-0.018860148265957832,
-0.009806227870285511,
0.0624239444732666,
-0.005655420478433371,
0.013305327855050564,
-0.027432944625616074,
-0.024003826081752777,
-0.04884743690490723,
-0.061234250664711,
0.10014424473047256,
0.02118705026805401,
-0.0129991564899683,
-0.0349385142326355,
0.05122682452201843,
0.010103651322424412,
0.03779027983546257,
0.059694647789001465,
0.02573588117957115,
-0.0073043713346123695,
-0.022061824798583984,
0.03835013508796692,
0.030039774253964424,
0.022044330835342407,
-0.03562083840370178,
0.02032977156341076,
-0.012439300306141376,
-0.010261110961437225,
-0.05560069903731346,
0.02559591643512249,
0.0831386148929596,
0.0004783925833180547,
-0.004666924476623535,
0.06784754991531372,
0.04608314856886864,
-0.00045132922241464257,
-0.052871402353048325,
0.018702689558267593,
0.0716615691781044,
0.003881813958287239,
-0.023618925362825394,
0.000259972206549719,
0.03185930475592613,
-0.06280884146690369,
-0.06518823653459549,
0.0925162062048912,
0.018142834305763245,
0.031386926770210266,
0.011686993762850761,
-0.04506840929389,
0.03182431310415268,
0.004601316526532173,
0.020102329552173615,
0.0461881197988987,
-0.022534204646945,
-0.013165364041924477,
0.0306171253323555,
-0.008629655465483665,
0.02925247512757778,
-0.0026571289636194706,
-0.07250135391950607,
0.02750292606651783,
0.025455951690673828,
0.049862176179885864,
-0.023461464792490005,
-0.03429118171334267,
0.045593272894620895,
-0.03432616963982582,
-0.07341111451387405,
0.0037659064400941133,
0.08194892108440399,
-0.06399854272603989,
-0.05420105904340744,
-0.03974977508187294,
-0.010147389955818653,
-0.031141990795731544,
0.0018982617184519768,
0.008192268200218678,
-0.010112399235367775,
0.02965487167239189,
0.026628151535987854,
-0.0329265296459198,
-0.056580446660518646,
-0.028342710807919502,
0.0392599031329155,
-0.0467829667031765,
-0.030232224613428116,
0.028377700597047806,
-0.03894498199224472,
0.0035187825560569763,
0.051366787403821945,
-0.01847524754703045,
-0.005414857063442469,
0.02218429371714592,
0.005992208607494831,
-0.023898852989077568,
-0.02559591643512249,
0.025665897876024246,
0.05315132811665535,
0.0369504950940609,
-0.020259788259863853,
0.01395266130566597,
0.03915492817759514,
-0.02038225717842579,
0.06483832001686096,
-0.06035947427153587,
0.03488602861762047,
-0.008625281974673271,
0.061234250664711,
0.02232425846159458,
0.04681795835494995,
0.033608853816986084,
-0.020294779911637306,
-0.0687573179602623,
0.039819758385419846,
0.07341111451387405,
0.011188372038304806,
-0.02965487167239189,
-5.766339086221706e-7,
0.03156188130378723,
0.03392377495765686,
-0.005235528573393822,
-0.024003826081752777,
-0.04289896786212921,
0.0005828188732266426,
-0.00965751614421606,
0.07781998068094254,
-0.003538464894518256,
-0.0026461943052709103,
0.0335213765501976,
0.0456632561981678,
0.021012095734477043,
0.004666924476623535,
0.08705760538578033,
-0.01847524754703045,
-0.06851238012313843,
-0.004083012230694294,
0.04608314856886864,
-0.03528842329978943,
0.005996582563966513,
0.021466977894306183,
0.007247510831803083,
-0.04209417477250099,
0.02022479847073555,
0.02559591643512249,
0.008415335789322853,
0.0216769240796566,
-0.020312275737524033,
-0.00918513722717762,
-0.022621681913733482,
-0.07215144485235214,
-0.04608314856886864,
-0.031946782022714615,
-0.024721141904592514,
-0.03101952187716961,
0.01599963568150997,
0.04510340094566345,
0.0050736949779093266,
-0.009220128878951073,
-0.0326291061937809,
-0.02780034951865673,
-0.006954461336135864,
-0.03950483724474907,
-0.00933384895324707,
0.00037970702396705747,
-0.012141876854002476,
-0.03964480385184288,
-0.015168598853051662,
0.01891263574361801,
-0.052731435745954514,
0.008179145865142345,
0.03779027983546257,
0.030494656413793564,
-0.043038930743932724,
0.022761644795536995,
0.027940314263105392,
0.047202859073877335,
0.03408123552799225,
-0.016227075830101967,
0.011538282036781311,
0.048007652163505554,
-0.05619554594159126,
-0.026768114417791367,
0.012535525485873222,
-0.05815504118800163,
-0.023251520469784737,
0.004301705863326788,
-0.0018960748566314578,
0.026663141325116158,
-0.040974460542201996,
0.03331143036484718,
-0.017023121938109398,
-0.04051957651972771,
0.035095974802970886,
-0.02885008044540882,
0.010016174055635929,
0.019192563369870186,
0.0036084468010812998,
-0.046957921236753464,
-0.019140077754855156,
0.02640070952475071,
0.028115268796682358,
0.019612455740571022,
-0.017294302582740784,
-0.010768480598926544,
0.01599963568150997,
-0.04359878599643707,
0.04391370341181755,
-0.054131075739860535,
0.015361049212515354,
0.049967147409915924,
0.006831992883235216,
-0.012386813759803772,
-0.045593272894620895,
0.024021321907639503,
0.04079950600862503,
0.03688051551580429,
-0.018492743372917175,
-0.011739480309188366,
-0.0025149781722575426,
-0.02935744822025299,
-0.002029478084295988,
-0.012570517137646675,
0.032594118267297745,
-0.023653915151953697,
-0.01776668056845665,
0.011879444122314453,
0.01831778883934021,
0.06550315022468567,
0.010532290674746037,
-0.004999339114874601,
0.04352880269289017,
0.014521265402436256,
-0.07117169350385666,
0.003326331963762641,
0.00010346947965444997,
-0.01861521229147911,
0.027118025347590446,
-0.022411735728383064,
0.041674282401800156,
0.02188687026500702,
-0.009744993411004543,
0.027992799878120422,
0.011617012321949005,
-0.016402030363678932,
-0.04254905506968498,
0.007807367015630007,
0.08369847387075424,
0.03789525479078293,
0.03698548674583435,
-0.050911903381347656,
0.003877440234646201,
0.06186408922076225,
0.0009321821271441877,
-0.027467934414744377,
0.02965487167239189,
0.00041961862007156014,
-0.030634621158242226,
0.005318631883710623,
-0.000004220105893182335,
-0.03416871279478073,
-0.07914964109659195,
-0.028272727504372597,
-0.04842754453420639,
0.03131694346666336,
-0.0043607535772025585,
0.010112399235367775,
0.043038930743932724,
0.010007426142692566,
0.02449369989335537,
-0.04853251576423645,
0.04793766885995865,
-0.009954939596354961,
0.000570790667552501,
-0.024301249533891678,
0.03539339825510979,
0.07495072484016418,
0.008415335789322853,
0.020207302644848824,
0.016830671578645706,
-0.05546073615550995,
0.04541831836104393,
-0.0009447570191696286,
-0.0025302867870777845,
-0.09503555297851562,
-0.023356491699814796,
-0.009771237149834633,
-0.02017231099307537,
-0.04853251576423645,
-0.0028189625591039658,
-0.02132701501250267,
0.022901609539985657,
-0.07991944253444672,
0.02468615025281906,
-0.04482347145676613,
0.05791010335087776,
-0.017338041216135025,
-0.01746925711631775,
0.06791753321886063,
-0.09069667011499405,
-0.0071993982419371605,
0.03544588387012482,
-0.04240909218788147,
-0.020294779911637306,
-0.08215887099504471,
-0.0018184385262429714,
0.008585916832089424,
0.01219436340034008,
-0.04279399290680885,
0.059554681181907654,
-0.005974713247269392,
-0.0514017790555954,
-0.04576822742819786,
0.02102959156036377,
0.00984121859073639,
0.04839255288243294,
-0.009421327151358128,
-0.054026104509830475,
0.006888852920383215,
0.034903522580862045,
-0.0052923886105418205,
-0.009981182403862476,
-0.03168435022234917,
0.007334988564252853,
-0.027992799878120422,
0.069877028465271,
0.04821759834885597,
-0.006871357560157776,
-0.02836020477116108,
0.01079472340643406,
-0.038210172206163406,
-0.026663141325116158,
-0.07663028687238693,
-0.029637377709150314,
0.0640685185790062,
0.04457853361964226,
-0.04587320238351822,
0.015177345834672451,
-0.004264527931809425,
-0.04874246194958687,
-0.004483222030103207,
0.013908922672271729,
0.006355240475386381,
-0.015352301299571991,
-0.07872974872589111,
0.012238102033734322,
-0.006429596338421106,
0.06550315022468567,
0.0012432739604264498,
-0.054830897599458694,
0.06035947427153587,
-0.03684552386403084,
-0.008061051368713379,
-0.03539339825510979,
-0.012937922030687332,
0.02809777297079563,
-0.04531334340572357,
0.009220128878951073,
-0.05231154337525368,
-0.024581177160143852,
-0.03712544962763786,
-0.04135936126112938,
-0.013768958859145641,
0.013270337134599686,
0.002039319137111306,
-0.0005893796333111823,
0.018387770280241966,
-0.026278240606188774,
0.09517551958560944,
-0.045488301664590836,
0.03327644243836403,
0.009517552331089973,
0.03863006457686424,
-0.010812219232320786,
0.03306649625301361,
-0.0051393029280006886,
0.04643305763602257,
0.002033851807937026,
0.03212173655629158,
0.03408123552799225,
-0.014608742669224739,
0.14024393260478973,
-0.01781041920185089,
-0.0312119722366333,
-0.016681959852576256,
-0.010584777221083641,
-0.01635829173028469,
-0.034711070358753204,
-0.0023290885146707296,
0.0013110690051689744,
-0.04762275144457817,
0.05073694884777069,
-0.024878600612282753,
-0.02739795297384262,
-0.01696188747882843,
0.07040189206600189,
-0.02473863773047924,
0.018807662650942802,
-0.004833132028579712,
-0.014320067130029202,
-0.05409608781337738,
0.014433787204325199,
-0.03597074747085571,
0.01447752583771944,
0.005034330300986767,
-0.019542474299669266,
-0.037055470049381256,
0.005839122924953699,
0.02925247512757778,
0.008765245787799358,
-0.056580446660518646,
0.007702393922954798,
-0.010296101681888103,
0.033048998564481735,
0.04170927032828331,
-0.03422119840979576,
0.03276907280087471,
0.05962466448545456,
-0.033608853816986084,
-0.018440257757902145,
-0.018230311572551727,
0.01570221036672592,
-0.007772375829517841,
0.00991120096296072,
0.015028634108603,
-0.017276806756854057,
-0.008166024461388588,
0.026208259165287018,
0.00810479000210762,
-0.05353622883558273,
-0.06161915138363838,
-0.025263501331210136,
0.034553613513708115,
0.044193632900714874,
0.008944574743509293,
0.02489609643816948,
0.019105086103081703,
0.030249720439314842
]
|
41,795 | wield.bunch.bunch | clear | D.clear() -> None. Remove all items from D. | def gen_func(mname):
def func(self, *args, **kwargs):
return getattr(self._mydict, mname)(*args, **kwargs)
orig_func = getattr(dict, mname)
if orig_func is None:
return
func.__name__ = orig_func.__name__
func.__doc__ = orig_func.__doc__
return func
| (self, *args, **kwargs) | [
0.04386318102478981,
-0.045720577239990234,
0.05843661352992058,
0.007014358416199684,
-0.03711225092411041,
-0.0005516942474059761,
-0.015350326895713806,
0.02673582173883915,
0.03932683914899826,
-0.021592257544398308,
-0.023538954555988312,
0.07951094210147858,
0.053114451467990875,
0.019556263461709023,
-0.02041352353990078,
-0.0006368063623085618,
0.017663145437836647,
0.03268307074904442,
-0.043005917221307755,
-0.021002890542149544,
0.026860838755965233,
0.008018961176276207,
0.04789945110678673,
-0.027360908687114716,
0.026289332658052444,
0.06654487550258636,
-0.009831709787249565,
0.030164865776896477,
0.046327803283929825,
-0.06975959986448288,
-0.06515182554721832,
-0.04357742518186569,
0.02887897379696369,
0.06811651587486267,
0.013921558856964111,
-0.05104273930191994,
-0.014314469881355762,
0.0413985550403595,
-0.13166098296642303,
-0.05829373747110367,
0.09587033838033676,
-0.003627731464803219,
0.01608256995677948,
-0.0020639002323150635,
0.019449105486273766,
-0.014064435847103596,
-0.009581675752997398,
0.0349869579076767,
0.025164177641272545,
-0.01772565394639969,
0.010796128772199154,
-0.021288644522428513,
0.032790228724479675,
0.01397513784468174,
0.005505221895873547,
0.049506813287734985,
-0.00826006568968296,
0.03595137596130371,
0.03634428605437279,
0.02537849359214306,
-0.05186428129673004,
-0.009510237723588943,
-0.030647074803709984,
-0.023628251627087593,
-0.007742136716842651,
-0.025432070717215538,
-0.042720165103673935,
-0.010376428253948689,
-0.03189724683761597,
0.00008197277929866686,
-0.00029189285123720765,
0.0052685821428895,
0.02612859569489956,
-0.0024891819339245558,
-0.0038599062245339155,
0.007701952941715717,
-0.07158128172159195,
-0.1008710265159607,
0.04600633308291435,
-0.001475649536587298,
-0.05843661352992058,
-0.07140268385410309,
-0.07008107006549835,
-0.03450474888086319,
-0.05543620139360428,
-0.02907543070614338,
0.01910977251827717,
-0.07451025396585464,
-0.0009108396479859948,
-0.025199897587299347,
-0.04868527129292488,
0.024842705577611923,
-0.021645836532115936,
0.01268924679607153,
-0.06975959986448288,
-0.07272429764270782,
0.037612318992614746,
0.04836379736661911,
0.03250447288155556,
0.033361732959747314,
0.03189724683761597,
-0.0022648207377642393,
-0.02691441774368286,
0.009331641718745232,
0.0467207171022892,
-0.04547054320573807,
-0.010858637280762196,
-0.029146868735551834,
-0.006112448405474424,
-0.0178685300052166,
-0.020145630463957787,
-0.04568485915660858,
-0.00016255027730949223,
0.01189449429512024,
0.034754782915115356,
-0.00017454969929531217,
-0.01205523032695055,
-0.0016107127303257585,
-0.01446627639234066,
0.002286028815433383,
-0.013376841321587563,
-0.017716724425554276,
-0.0034669949673116207,
-0.03589779883623123,
-0.011653389781713486,
-0.010215691290795803,
0.0422200970351696,
0.002569549949839711,
0.08058252185583115,
-0.01683267392218113,
0.015859326347708702,
0.0016207587905228138,
0.025449931621551514,
0.02846820279955864,
0.02766452170908451,
-0.003203565953299403,
0.012823193334043026,
0.01868114247918129,
0.026092877611517906,
0.07061686366796494,
-0.009626325219869614,
0.03782663494348526,
-0.028307467699050903,
0.028575360774993896,
0.0016709888586774468,
-0.04957825317978859,
0.01634153537452221,
0.06708066165447235,
-0.026271473616361618,
-0.043184515088796616,
-0.02194944955408573,
0.02870037779211998,
-0.013287543319165707,
0.017314882948994637,
-0.005290906876325607,
0.02209232561290264,
-0.004643496125936508,
0.009474517777562141,
-0.06015113368630409,
-0.040755607187747955,
0.03964831307530403,
0.05454321950674057,
-0.03961259499192238,
-0.07436737418174744,
0.0459706112742424,
-0.017886390909552574,
0.08193984627723694,
-0.05897240340709686,
0.01345720887184143,
0.03418327495455742,
-0.06290151178836823,
-0.01296607032418251,
0.015564641915261745,
0.021056469529867172,
0.08808355033397675,
0.045756299048662186,
-0.03207584470510483,
0.02518203668296337,
0.00838954746723175,
0.029325464740395546,
0.03259377181529999,
0.030968546867370605,
-0.05586482957005501,
0.003031667321920395,
0.002402116311714053,
0.007384944707155228,
0.011849844828248024,
0.035558465868234634,
-0.0063133686780929565,
0.019270509481430054,
-0.01859184354543686,
0.003627731464803219,
0.02855750173330307,
-0.014519855380058289,
0.0274859257042408,
-0.05089986324310303,
-0.050864141434431076,
0.0368979349732399,
0.05918671563267708,
0.07551039010286331,
0.006817902438342571,
0.027325188741087914,
-0.048435237258672714,
0.06207997351884842,
0.025217756628990173,
0.03521913290023804,
0.042863041162490845,
0.010662181302905083,
-0.05897240340709686,
-0.02771810069680214,
0.007000963669270277,
-0.03121858276426792,
0.016421902924776077,
0.04975684732198715,
0.006942919921129942,
-0.0009945564670488238,
0.05300729349255562,
0.029093289747834206,
-0.05440034344792366,
0.04643496125936508,
0.039684031158685684,
0.026646524667739868,
0.030914969742298126,
-0.020860014483332634,
0.06729497760534286,
-0.03964831307530403,
0.0018674444872885942,
-0.05907955765724182,
-0.025807123631238937,
-0.012885701842606068,
0.029379043728113174,
-0.021842291578650475,
0.02948620170354843,
-0.025289194658398628,
-0.0077555314637720585,
-0.019913455471396446,
0.02327105961740017,
-0.018788300454616547,
0.02059211954474449,
0.010046025738120079,
0.006840227171778679,
0.10158541053533554,
0.033593907952308655,
0.05532904341816902,
0.01334112137556076,
0.003087478457018733,
0.016725515946745872,
0.06804507970809937,
-0.03843386098742485,
0.04007694497704506,
0.027093013748526573,
-0.01491276640444994,
-0.019395526498556137,
0.054186027497053146,
-0.03161149471998215,
0.06536614149808884,
-0.04004122316837311,
-0.003799630096182227,
-0.00022896566952113062,
-0.0003217518678866327,
0.018931176513433456,
-0.017966758459806442,
-0.05150708928704262,
-0.0021174789872020483,
0.03350461274385452,
-0.03364748880267143,
0.004862276371568441,
-0.004007247742265463,
-0.04732794314622879,
-0.004462667740881443,
0.059472471475601196,
0.028218168765306473,
-0.0010754828108474612,
-0.025735685601830482,
-0.013439349830150604,
-0.023771129548549652,
0.009358431212604046,
-0.03446903079748154,
-0.026628665626049042,
-0.030736373737454414,
0.026378629729151726,
-0.00952809676527977,
-0.0029825533274561167,
0.03605853393673897,
-0.02157439850270748,
0.02194944955408573,
-0.007014358416199684,
0.006469640415161848,
0.05529332533478737,
-0.027307329699397087,
0.0316472128033638,
-0.013394700363278389,
-0.008233276195824146,
0.02569996565580368,
0.012090949341654778,
-0.04054129496216774,
-0.011599810793995857,
-0.020395664498209953,
-0.0369693748652935,
0.024235477671027184,
0.02569996565580368,
0.010465726256370544,
-0.027128733694553375,
0.008862826973199844,
-0.025967858731746674,
0.006817902438342571,
-0.008202021941542625,
-0.03384394198656082,
-0.04232725501060486,
0.011296197772026062,
-0.032558053731918335,
0.04389889910817146,
-0.08629759401082993,
-0.011037233285605907,
0.015511062927544117,
0.05575767531991005,
0.013403630815446377,
0.028361046686768532,
0.06858086585998535,
0.07593902200460434,
0.0021654765587300062,
-0.0116801792755723,
-0.01636832393705845,
-0.02050282247364521,
0.028450343757867813,
-0.05465037748217583,
-0.042434412986040115,
-0.045291949063539505,
0.013225034810602665,
-0.026807261630892754,
-0.04939965531229973,
-0.033129557967185974,
0.02884325571358204,
0.00997458677738905,
-0.026021437719464302,
0.02612859569489956,
0.01088542677462101,
0.027039434760808945,
-0.04397033900022507,
-0.04461328312754631,
0.0482209213078022,
-0.015573571436107159,
-0.03896964713931084,
0.006456245668232441,
-0.023181762546300888,
0.04472044110298157,
-0.004603311885148287,
-0.007862688973546028,
0.06375877559185028,
-0.044077493250370026,
0.01268924679607153,
-0.05225719138979912,
0.02035994455218315,
0.02650364674627781,
0.04539910703897476,
0.04025553911924362,
0.033826082944869995,
-0.028396764770150185,
-0.05014975741505623,
-0.03462976589798927,
0.033772505819797516,
-0.017707794904708862,
-0.00745638320222497,
-0.02584284171462059,
0.0482209213078022,
0.010251411236822605,
0.002728054067119956,
0.014260890893638134,
0.037612318992614746,
-0.03161149471998215,
0.008728879503905773,
-0.006862551439553499,
0.005996360909193754,
0.017850670963525772,
-0.03882677108049393,
-0.031075704842805862,
0.02055639959871769,
-0.005924922414124012,
-0.028218168765306473,
0.0003577501338440925,
0.013260753825306892,
-0.013778681866824627,
0.06608052551746368,
0.02823602966964245,
0.03525485098361969,
-0.022949587553739548,
0.02327105961740017,
0.039862629026174545,
0.0006747580482624471,
-0.048613835126161575,
-0.020020611584186554,
-0.012314194813370705,
-0.0167433749884367,
0.030504198744893074,
0.012680316343903542,
-0.06958100199699402,
-0.026575086638331413,
-0.040148381143808365,
-0.04847095534205437,
-0.026753682643175125,
0.011305127292871475,
-0.003574152709916234,
-0.009679903276264668,
-0.00768855819478631,
-0.0068000429309904575,
-0.03212942183017731,
-0.021824432536959648,
0.04682787507772446,
0.03211156278848648,
0.03796951100230217,
-0.014546644873917103,
0.017966758459806442,
-0.07965382188558578,
-0.06468747556209564,
0.02228878252208233,
0.019127631559967995,
0.017654215916991234,
-0.028593221679329872,
-0.039684031158685684,
0.011921283788979053,
0.031147142872214317,
0.026932278648018837,
0.04504191502928734,
0.02027064748108387,
-0.016680866479873657,
-0.012564228847622871,
-0.011742687784135342,
0.012635667808353901,
-0.03843386098742485,
0.05111417919397354,
-0.03889821097254753,
-0.028289606794714928,
0.018877597525715828,
-0.016439761966466904,
0.0384695790708065,
-0.06708066165447235,
-0.04232725501060486,
-0.03034346178174019,
-0.00985849928110838,
0.026557225733995438,
0.02823602966964245,
-0.022449517622590065,
-0.0022536583710461855,
-0.04839951917529106,
-0.0383981429040432,
-0.02555708959698677,
0.009822780266404152,
0.008715485222637653,
0.061258431524038315,
-0.04518479108810425,
0.04011266306042671,
0.08315429836511612,
0.007130445446819067,
-0.03718368709087372,
0.10680041462182999,
-0.004056361969560385,
-0.0211100485175848,
-0.059472471475601196,
-0.0012244988465681672,
0.033022403717041016,
-0.04647068306803703,
0.01914549246430397,
0.009028027765452862,
0.016886252909898758,
-0.03582635894417763,
0.09022670239210129,
0.01205523032695055,
0.019413385540246964,
-0.02532491460442543,
-0.0274859257042408,
0.019591981545090675,
-0.01423410139977932,
-0.02243165858089924,
-0.0263964906334877,
0.001537041855044663,
0.0068714814260602,
-0.06368733942508698,
0.04786372929811478,
0.0038599062245339155,
0.010590743273496628,
0.026628665626049042,
-0.034576188772916794,
0.04186290502548218,
0.0398983471095562,
-0.015859326347708702,
0.02795027568936348,
0.01465380284935236,
-0.03786235302686691,
-0.01749347895383835,
-0.008911941200494766,
-0.054757535457611084,
0.0640445277094841,
0.08193984627723694,
-0.015109222382307053,
-0.0331474207341671,
0.009492377750575542,
0.04043413698673248,
0.03507625684142113,
-0.01413587387651205,
-0.052971575409173965,
-0.03455832600593567,
0.009956727735698223,
-0.07247426360845566,
0.04479187726974487,
-0.01217131782323122,
0.013483998365700245,
-0.01914549246430397,
0.012028440833091736,
-0.033772505819797516,
-0.0293611828237772,
-0.006112448405474424,
-0.03886249288916588,
-0.05168568342924118,
0.025217756628990173,
0.00022310548229143023,
-0.04600633308291435,
-0.022645974531769753,
-0.006433921400457621,
-0.0768677219748497,
-0.01318038534373045,
0.04504191502928734,
-0.005246257875114679,
-0.04500619322061539,
0.0014566737227141857,
-0.02921830676496029,
0.019074054434895515,
0.029879111796617508,
0.021592257544398308,
0.040005505084991455,
0.05375739932060242,
0.015055643394589424,
-0.01579681597650051,
0.005898133385926485,
0.04157714918255806,
-0.03718368709087372,
0.03211156278848648,
-0.04554198309779167,
-0.03882677108049393,
-0.042720165103673935,
0.04764941334724426,
0.014314469881355762,
0.008862826973199844,
0.018323950469493866,
0.006322298664599657,
0.023485375568270683,
-0.006916130427271128,
-0.020574260503053665,
-0.0331474207341671,
0.006643771659582853,
-0.052542947232723236,
-0.006009755656123161,
0.007974311709403992,
-0.03825526311993599,
-0.024146180599927902,
-0.0009192113066092134,
-0.00791180320084095,
0.01537711638957262,
-0.037469442933797836,
-0.03337959572672844,
0.00029579963302239776,
-0.015314607881009579,
0.06290151178836823,
0.08379724621772766,
0.010081744752824306,
-0.06529469788074493,
0.06422312557697296,
-0.006148167420178652,
0.04661355912685394,
-0.04100564494729042,
-0.034058257937431335,
-0.0018027034820988774,
-0.02330677956342697,
0.0714741200208664,
0.004109940491616726,
-0.03721940889954567,
0.05750791355967522,
0.05772222951054573,
-0.03861245512962341,
-0.006090123672038317,
-0.030361320823431015,
-0.03896964713931084,
0.007099191192537546,
-0.03768375888466835,
0.031075704842805862,
-0.07111693173646927,
-0.028682518750429153,
-0.02093145251274109,
0.04547054320573807,
0.02393186464905739,
-0.004786373116075993,
-0.05986538156867027,
-0.03173651173710823,
-0.07429593801498413,
-0.0015225309180095792,
0.024503372609615326,
0.0033442103303968906,
-0.006255325395613909,
0.039112526923418045,
-0.027735959738492966,
-0.02139580249786377,
-0.073938749730587,
0.0072420681826770306,
-0.022020887583494186,
0.03445117175579071,
-0.008353828452527523,
0.02214590460062027,
-0.006536613684147596,
-0.021413661539554596,
0.02125292457640171,
0.031165003776550293,
-0.035272710025310516,
-0.03936256095767021,
0.034004680812358856,
0.06722353398799896,
0.03825526311993599,
-0.009795990772545338,
-0.03843386098742485,
0.012930351309478283,
0.0497211292386055,
-0.026860838755965233,
-0.03536200895905495,
-0.01238563284277916,
-0.011260478757321835,
-0.002491414314135909,
0.011537302285432816,
-0.036165691912174225,
0.052364349365234375,
0.0026767076924443245,
0.025360632687807083,
0.014939555898308754,
-0.08179697394371033,
0.005366810131818056,
0.03398682177066803,
-0.09722767025232315,
0.04282732307910919,
0.02771810069680214,
0.01502885390073061,
0.030879249796271324,
-0.04804232716560364,
-0.028807535767555237,
0.0029446016997098923,
0.025074878707528114,
-0.005143565125763416,
-0.030789950862526894,
-0.028593221679329872,
0.04629208520054817,
0.006898270919919014,
-0.028575360774993896,
0.07443881779909134,
-0.04568485915660858,
-0.020234927535057068,
0.004007247742265463,
-0.006090123672038317,
0.07493888586759567,
0.0782964900135994,
-0.05529332533478737,
-0.035326290875673294,
-0.06775932759046555,
0.033772505819797516,
-0.030700653791427612,
-0.020467102527618408,
-0.07290288805961609,
-0.025164177641272545,
-0.04807804524898529,
-0.03241517394781113,
0.003279469208791852,
-0.03343317285180092,
-0.04100564494729042,
0.009706692770123482,
-0.046184927225112915,
0.05397171527147293,
0.04229153320193291,
0.013680454343557358,
-0.09458444267511368,
-0.022020887583494186,
0.006353552918881178,
0.07108121365308762,
0.010063884779810905,
0.020752856507897377,
0.01666300743818283,
0.007099191192537546,
0.05089986324310303,
-0.011805196292698383,
0.05843661352992058,
-0.012626737356185913,
-0.013680454343557358,
0.01760956645011902,
-0.012867842800915241,
-0.016037922352552414,
0.012028440833091736,
0.006804507691413164,
-0.039862629026174545,
0.009912078268826008,
0.010412147268652916,
-0.04714934527873993,
0.032754506915807724,
-0.00850563496351242,
-0.032790228724479675,
0.0021386872977018356,
0.026557225733995438,
-0.019591981545090675,
0.026842979714274406,
0.005554335657507181,
-0.018377529457211494,
0.003357604844495654,
-0.042863041162490845,
0.03028988279402256,
-0.019038334488868713,
0.024414073675870895,
-0.027164453640580177,
-0.0026052691973745823,
0.009956727735698223,
0.056436337530612946,
0.04414893314242363,
0.04432753100991249,
-0.06525897979736328,
-0.060329731553792953,
0.0640445277094841,
0.02812887169420719,
-0.014082294888794422,
0.030218444764614105,
-0.01549320388585329,
0.003310723463073373,
-0.012215967290103436,
-0.002661080565303564,
-0.008527959696948528,
-0.046506401151418686,
-0.036219269037246704,
-0.021878011524677277,
0.015430695377290249,
0.010340709239244461,
-0.021360082551836967,
-0.01891331747174263,
-0.008827107958495617,
-0.004661355633288622,
-0.03259377181529999,
0.015564641915261745,
0.014118014834821224,
-0.016850532963871956,
0.03327243775129318,
-0.09587033838033676,
0.08758348226547241,
-0.013367910869419575,
0.08672621846199036,
0.07065258175134659,
0.008282389491796494,
0.032700929790735245,
0.03605853393673897,
0.036308567970991135,
0.06340157985687256,
0.042255815118551254,
0.05043551325798035,
-0.032700929790735245,
0.01657371036708355,
0.02041352353990078,
-0.02584284171462059,
-0.020609978586435318,
-0.0009108396479859948,
0.022592395544052124,
-0.008885151706635952,
-0.034344013780355453,
0.025021301582455635,
-0.01296607032418251,
-0.039076805114746094,
0.01479667890816927,
-0.021467240527272224,
0.032700929790735245,
0.034754782915115356
]
|
41,796 | wield.bunch.bunch | copy | null | def copy(self):
return self.__class__(self._mydict.copy())
| (self) | [
0.023122144863009453,
-0.009403458796441555,
0.01207074522972107,
-0.0021852210629731417,
-0.09044989198446274,
0.007687561213970184,
-0.03270398825407028,
0.038871027529239655,
0.09289631992578506,
-0.006799881346523762,
-0.023886654525995255,
0.035812992602586746,
-0.01519673690199852,
0.0836542546749115,
-0.03175260126590729,
0.01598672941327095,
-0.0004502107622101903,
0.029408106580376625,
-0.027624253183603287,
-0.019435513764619827,
0.036356642842292786,
-0.021695062518119812,
0.02429439127445221,
0.047671373933553696,
0.0015895413234829903,
-0.0066427323035895824,
-0.027505328878760338,
-0.010337858460843563,
0.06652925908565521,
-0.005304841790348291,
-0.0036632714327424765,
-0.052700143307447433,
0.0006397452671080828,
0.06088888272643089,
0.011127850972115993,
-0.04124949872493744,
-0.029594987630844116,
0.026638885959982872,
-0.016666293144226074,
0.006770150735974312,
0.012920199893414974,
-0.011195807717740536,
-0.028949402272701263,
-0.025585561990737915,
0.03360440954566002,
0.040603913366794586,
-0.0012083486653864384,
0.036866314709186554,
0.025075890123844147,
-0.050729408860206604,
0.011561072431504726,
0.032805923372507095,
-0.017328867688775063,
0.04012821987271309,
-0.001278428710065782,
0.01838218979537487,
0.03229625150561333,
0.04016219824552536,
-0.05636978521943092,
0.049676086753606796,
-0.07658679783344269,
-0.028320806100964546,
0.007623852230608463,
-0.06306348741054535,
0.010414309799671173,
-0.04505505412817001,
-0.06894171237945557,
-0.016555864363908768,
0.04889458790421486,
-0.02286730892956257,
-0.001170123228803277,
0.0003748216840904206,
0.02232365868985653,
0.03907489776611328,
-0.009471415542066097,
0.03904091939330101,
-0.0290853139013052,
-0.03961854800581932,
0.023733751848340034,
-0.03496353700757027,
-0.042234867811203,
-0.042302824556827545,
-0.10159473121166229,
0.02096453122794628,
-0.0576949343085289,
0.036050837486982346,
0.014355776831507683,
-0.0467199832201004,
0.00784046296030283,
0.015264693647623062,
0.0017052794573828578,
0.0836542546749115,
-0.04165723919868469,
0.002344493754208088,
0.03676437959074974,
-0.03158270940184593,
-0.0020110830664634705,
0.01880691759288311,
0.002677904674783349,
0.035745035856962204,
-0.03479364514350891,
-0.006557786837220192,
-0.06381100416183472,
0.008953248150646687,
0.004083751235157251,
0.018280256539583206,
0.02826983854174614,
-0.05052553862333298,
-0.04474925249814987,
-0.007908419705927372,
-0.018620038405060768,
0.05409324914216995,
-0.03594890609383583,
0.057015370577573776,
0.012801275588572025,
0.0016585594275966287,
-0.03594890609383583,
-0.019129710271954536,
0.04940425977110863,
0.0312089491635561,
-0.01838218979537487,
0.03289087116718292,
-0.009259051643311977,
0.04220088943839073,
0.003155722515657544,
0.03348548710346222,
0.022306669503450394,
-0.0424727126955986,
0.010473771020770073,
-0.005011780187487602,
-0.010839036665856838,
-0.018399178981781006,
-0.019894219934940338,
0.0402301549911499,
0.011815909296274185,
-0.00651531433686614,
-0.019996153190732002,
0.015443078242242336,
0.03217732906341553,
0.0659516304731369,
0.023343004286289215,
0.02069270610809326,
0.06999503076076508,
0.06557787209749222,
0.005202907603234053,
-0.040026284754276276,
-0.03642459958791733,
0.09602230787277222,
-0.014975878410041332,
0.004022166132926941,
0.008740884251892567,
0.04437549039721489,
0.015001362189650536,
0.060413189232349396,
-0.04777330905199051,
-0.008919269777834415,
-0.050219736993312836,
-0.03058035299181938,
-0.01337890513241291,
-0.03394419327378273,
-0.0037715770304203033,
0.027913067489862442,
0.059801582247018814,
-0.08820733428001404,
-0.0037758243270218372,
-0.00035703624598681927,
0.0742083266377449,
-0.058068692684173584,
0.014457711949944496,
0.010550222359597683,
-0.04233679920434952,
-0.054704856127500534,
-0.0007422106573358178,
0.028405750170350075,
-0.029493052512407303,
0.03384225815534592,
-0.005495969206094742,
-0.013973522931337357,
-0.00018873812223318964,
-0.0011361450888216496,
0.014109435491263866,
-0.04332216829061508,
-0.04668600857257843,
0.0449531190097332,
0.05307390168309212,
-0.031769588589668274,
-0.0029943264089524746,
0.06615550071001053,
0.053855400532484055,
0.05626785010099411,
0.02065872773528099,
0.01865401491522789,
0.024243425577878952,
-0.03324763849377632,
-0.0024018320254981518,
-0.05484076961874962,
-0.06486432999372482,
-0.026519961655139923,
-0.06941740214824677,
0.12069046497344971,
-0.051578864455223083,
-0.04301636293530464,
0.004175067879259586,
-0.03131088614463806,
0.0022871557157486677,
0.007857452146708965,
-0.032262273132801056,
-0.027658231556415558,
0.016963601112365723,
-0.001809337642043829,
-0.014109435491263866,
-0.017057042568922043,
0.04491914063692093,
-0.022578494623303413,
0.025092879310250282,
-0.07617905735969543,
-0.019367557018995285,
-0.03853124752640724,
0.011229785159230232,
0.006604507099837065,
0.06105877459049225,
0.001758370315656066,
-0.056981392204761505,
-0.013455355539917946,
-0.02436234802007675,
-0.02329203672707081,
-0.022884298115968704,
-0.04559870436787605,
-0.037443943321704865,
-0.049913931638002396,
0.029594987630844116,
-0.029527030885219574,
0.028898434713482857,
-0.04739954695105553,
0.05762697756290436,
-0.0045743114314973354,
-0.027828121557831764,
-0.02251053787767887,
0.027284471318125725,
0.023461926728487015,
0.023580851033329964,
0.039414677768945694,
0.05225842818617821,
0.03934672102332115,
0.018433157354593277,
0.005423765629529953,
-0.01904476433992386,
0.03554116562008858,
0.03768179193139076,
0.010898497886955738,
0.034742679446935654,
-0.02011507749557495,
-0.05239433795213699,
0.04811308905482292,
0.028898434713482857,
0.022102799266576767,
-0.03676437959074974,
-0.03900694102048874,
0.0037609587889164686,
0.0032873880118131638,
0.033196672797203064,
0.031718622893095016,
0.005071241874247789,
-0.01853509247303009,
-0.046821918338537216,
-0.00479941675439477,
-0.009352491237223148,
0.009700767695903778,
-0.02138925902545452,
0.0444774255156517,
0.0451909676194191,
0.029187249019742012,
0.014610613696277142,
0.04804513230919838,
-0.04434151202440262,
-0.03608481585979462,
-0.014653085730969906,
0.0015980358002707362,
-0.042540669441223145,
-0.022459570318460464,
0.028626609593629837,
0.02189893089234829,
0.054976679384708405,
-0.027675220742821693,
-0.02132130227982998,
-0.011467632837593555,
-0.016632314771413803,
0.034895580261945724,
0.020183034241199493,
-0.03306075930595398,
0.028643598780035973,
-0.001112785073928535,
0.013684708625078201,
-0.005419518332928419,
0.051646821200847626,
0.0035889442078769207,
-0.07835366576910019,
0.0018921593436971307,
0.0012752432376146317,
0.06707290560007095,
0.013387399725615978,
-0.025517607107758522,
-0.027318449690937996,
0.09581844508647919,
-0.009293030016124249,
0.013693203218281269,
-0.004841889254748821,
0.019588416442275047,
-0.013684708625078201,
0.04549676924943924,
-0.0007246906752698123,
0.023122144863009453,
-0.01777058281004429,
0.08229512721300125,
-0.029136281460523605,
-0.05208853632211685,
0.02939111739397049,
-0.010856025852262974,
0.010550222359597683,
0.0594617985188961,
-0.08725593984127045,
-0.051442950963974,
-0.02808295749127865,
-0.029323160648345947,
0.045666661113500595,
-0.02830381691455841,
-0.01216418482363224,
0.021542159840464592,
0.012147195637226105,
0.011127850972115993,
-0.01683618314564228,
0.033655378967523575,
0.025126857683062553,
0.03530332073569298,
-0.013846104964613914,
0.0038862533401697874,
-0.008783357217907906,
-0.018586060032248497,
-0.03357043117284775,
-0.06941740214824677,
0.023495905101299286,
0.021949898451566696,
0.007386005017906427,
-0.085421122610569,
-0.00946292094886303,
-0.013676214031875134,
-0.04729761555790901,
0.017906496301293373,
-0.01768563874065876,
-0.0724414587020874,
-0.01819531060755253,
0.009947109967470169,
0.04862276092171669,
0.07033481448888779,
0.04464731737971306,
0.006264725234359503,
0.0016001594485715032,
-0.007326542865484953,
-0.03554116562008858,
-0.047365568578243256,
0.057525042444467545,
0.0035846971441060305,
-0.03027454949915409,
-0.04372990503907204,
0.058102671056985855,
0.026197168976068497,
-0.034114085137844086,
-0.05973362550139427,
-0.0581706278026104,
-0.05307390168309212,
-0.015782861039042473,
-0.014933406375348568,
-0.040026284754276276,
-0.0014228358631953597,
0.017150482162833214,
-0.04770535230636597,
-0.08263491094112396,
0.036322664469480515,
-0.04869071766734123,
0.036900293081998825,
0.06785440444946289,
-0.012087734416127205,
-0.033077750355005264,
0.04926834627985954,
0.027913067489862442,
-0.01950347051024437,
0.03812350705265999,
-0.013557289727032185,
0.08888689428567886,
0.022187745198607445,
-0.053889378905296326,
-0.03825942054390907,
-0.017040053382515907,
0.06741268932819366,
0.015587486326694489,
0.0019537447951734066,
-0.039482634514570236,
0.012147195637226105,
-0.01907874271273613,
-0.009360985830426216,
0.05208853632211685,
-0.02687673270702362,
0.001218966906890273,
-0.016734249889850616,
-0.0059376852586865425,
-0.014338788576424122,
0.010728607885539532,
0.05239433795213699,
0.019894219934940338,
-0.03618675097823143,
0.004022166132926941,
-0.03081820160150528,
-0.0316166877746582,
-0.03652653470635414,
0.015884794294834137,
-0.05565624311566353,
0.07108233124017715,
-0.04954017326235771,
-0.0025356209371238947,
0.030342506244778633,
0.024379337206482887,
0.009216578677296638,
-0.0366964228451252,
-0.007623852230608463,
0.011688490398228168,
0.00946292094886303,
-0.047093745321035385,
0.03526934236288071,
0.003382951719686389,
-0.0021873447112739086,
0.00965829472988844,
0.007602615747600794,
0.027318449690937996,
0.024226436391472816,
0.05293799191713333,
-0.023682784289121628,
0.02954402007162571,
-0.031718622893095016,
0.00746245589107275,
0.0894305482506752,
-0.005122209433466196,
-0.053345728665590286,
0.03927876427769661,
-0.049030501395463943,
0.016037696972489357,
-0.00725009199231863,
-0.023682784289121628,
0.014899428002536297,
0.035473208874464035,
-0.03703620657324791,
0.06381100416183472,
0.033077750355005264,
0.03243216499686241,
-0.008486048318445683,
-0.019299600273370743,
-0.012911705300211906,
-0.06462647765874863,
-0.05069543048739433,
0.002747984603047371,
0.0324491523206234,
-0.00849454291164875,
-0.009819691069424152,
0.025891365483403206,
0.027828121557831764,
-0.02096453122794628,
-0.025432661175727844,
-0.006889074109494686,
0.01564694754779339,
-0.0031174970790743828,
0.013370410539209843,
0.04505505412817001,
-0.0021544285118579865,
-0.005610645283013582,
-0.08909076452255249,
0.00041490531293675303,
0.014593624509871006,
0.0045573222450912,
-0.030682288110256195,
-0.04356001690030098,
-0.01179892010986805,
-0.005173176527023315,
-0.013948039151728153,
0.006583270616829395,
0.030682288110256195,
-0.028779510408639908,
0.002229817444458604,
0.017006075009703636,
-0.00409436970949173,
0.02244258113205433,
0.05599602684378624,
-0.05538441985845566,
0.06190822646021843,
-0.07237350195646286,
0.0389389842748642,
0.004400173202157021,
-0.0133024537935853,
-0.012911705300211906,
0.04356001690030098,
0.03513342887163162,
-0.058374498039484024,
-0.004175067879259586,
-0.02120237797498703,
-0.02606125734746456,
0.07230554521083832,
-0.027284471318125725,
0.023410959169268608,
-0.023682784289121628,
0.005542689003050327,
-0.010201945900917053,
-0.03224528580904007,
0.00402004225179553,
-0.0027692208532243967,
-0.016666293144226074,
-0.01450018398463726,
0.023427948355674744,
-0.03904091939330101,
-0.06598560512065887,
-0.018671004101634026,
-0.01680220477283001,
-0.058374498039484024,
0.044817209243774414,
0.06951934099197388,
0.027913067489862442,
-0.04787524417042732,
-0.04977802187204361,
0.005648870952427387,
0.026350071653723717,
0.01601221226155758,
0.042846474796533585,
0.008583735674619675,
-0.02189893089234829,
-0.06421874463558197,
-0.013192025013267994,
0.026197168976068497,
0.022952254861593246,
0.024821054190397263,
-0.03618675097823143,
-0.03367236629128456,
-0.03248313069343567,
-0.001628828584216535,
-0.004548827651888132,
-0.012792780995368958,
0.08059622347354889,
-0.021338291466236115,
-0.02181398496031761,
0.05653967708349228,
-0.03611879423260689,
-0.0016670540207996964,
-0.0751597136259079,
-0.00034349807538092136,
-0.01601221226155758,
-0.03204141557216644,
0.010788069106638432,
-0.019520459696650505,
-0.013259980827569962,
-0.0025207556318491697,
0.0061075761914253235,
-0.03927876427769661,
0.03771577030420303,
0.01726091094315052,
0.05565624311566353,
-0.010788069106638432,
0.05117112398147583,
-0.016122642904520035,
-0.05249627307057381,
0.029798856005072594,
-0.02390364371240139,
0.09853669255971909,
-0.04998188838362694,
-0.00379918422549963,
0.022034844383597374,
0.039448656141757965,
0.028949402272701263,
0.03346849977970123,
0.022799352183938026,
0.03931274265050888,
0.020403891801834106,
0.0212363563477993,
-0.0012667486444115639,
-0.030410462990403175,
-0.0037885659839957952,
0.04097767546772957,
0.012622890062630177,
-0.00824820064008236,
-0.07495584338903427,
-0.008337393403053284,
-0.02641802839934826,
0.029764877632260323,
0.015765871852636337,
-0.03951661288738251,
-0.0005558616248890758,
0.06951934099197388,
-0.03785168379545212,
-0.017906496301293373,
0.001595912268385291,
-0.03351946547627449,
0.0010235924273729324,
-0.03243216499686241,
-0.03136185184121132,
0.03567707911133766,
0.016131136566400528,
0.032534100115299225,
0.01674274355173111,
0.0290853139013052,
-0.005852739792317152,
0.012520955875515938,
-0.010150978341698647,
0.003397817024961114,
0.04019617661833763,
-0.0266049075871706,
-0.036662448197603226,
-0.025670507922768593,
0.025551583617925644,
-0.05314185842871666,
0.036594491451978683,
-0.03625470772385597,
-0.05341368541121483,
-0.002137439325451851,
-0.05881621316075325,
-0.009445931762456894,
-0.026740821078419685,
-0.01066065113991499,
-0.02201785519719124,
0.044579360634088516,
-0.03248313069343567,
-0.04998188838362694,
0.018908852711319923,
0.02096453122794628,
-0.004493613261729479,
0.013540301471948624,
-0.004202675074338913,
-0.015918772667646408,
0.008851313963532448,
-0.029187249019742012,
0.024226436391472816,
0.05997147038578987,
0.02065872773528099,
0.018891863524913788,
0.002227693796157837,
0.08311060816049576,
0.00846056453883648,
-0.02966294251382351,
-0.00004443043872015551,
0.0016553739551454782,
-0.11165226995944977,
-0.0617043599486351,
0.0050032855942845345,
-0.039992306381464005,
-0.003801307873800397,
-0.04954017326235771,
-0.03842931240797043,
0.02308816649019718,
0.01635199412703514,
0.019945185631513596,
-0.012682352215051651,
-0.039992306381464005,
0.014772010035812855,
0.01780456118285656,
0.02753930725157261,
-0.012155690230429173,
-0.023886654525995255,
0.020369913429021835,
-0.032262273132801056,
-0.04274453967809677,
0.1121959239244461,
0.04529290273785591,
-0.0342160165309906,
-0.01619909331202507,
0.026553940027952194,
0.0212363563477993,
-0.0345727875828743,
0.0003315526118967682,
-0.07488788664340973,
-0.005224143620580435,
-0.04614235460758209,
-0.029051335528492928,
0.018874874338507652,
0.02529674768447876,
0.032805923372507095,
-0.024090522900223732,
0.011671502143144608,
0.07121824473142624,
-0.010303880088031292,
0.004459634888917208,
-0.03931274265050888,
0.07950892299413681,
0.003622922580689192,
-0.004270631354302168,
-0.03370634466409683,
-0.03951661288738251,
0.010414309799671173,
-0.05052553862333298,
-0.0009274978656321764,
0.030070681124925613,
-0.011280752718448639,
0.03333258628845215,
-0.037240076810121536,
-0.10662350058555603,
0.013353421352803707,
-0.0013888577232137322,
0.014185885898768902,
0.02378471940755844,
0.016267050057649612,
-0.007101437542587519,
0.03730802983045578,
-0.002503766445443034,
-0.03883704915642738,
0.03554116562008858,
0.027199525386095047,
-0.0015353886410593987,
0.01220665778964758,
0.07135415822267532,
0.036356642842292786,
0.03757985681295395,
0.033655378967523575,
-0.012444505468010902,
0.000027955673431279138,
-0.04954017326235771,
-0.024583207443356514,
-0.027760164812207222,
0.013022134080529213,
-0.03486160188913345,
0.04406968876719475,
0.03795361518859863,
0.04233679920434952,
0.030410462990403175,
0.0091741057112813,
-0.07604314386844635,
-0.042880453169345856,
0.013531806878745556,
0.010057538747787476,
0.011773436330258846,
-0.016284039244055748,
0.012181174010038376,
0.02293526567518711,
-0.039142854511737823,
-0.01804240792989731,
0.03158270940184593,
0.027913067489862442,
0.0559280700981617,
-0.03470870107412338,
0.007352026645094156,
0.033349573612213135,
0.07617905735969543,
-0.07481992989778519,
-0.027165547013282776,
0.035745035856962204,
0.023682784289121628,
-0.015018351376056671,
0.009581844322383404,
0.0037078678142279387,
0.03272097930312157,
-0.01598672941327095,
0.05548635125160217,
0.050763387233018875,
0.004090122412890196,
-0.01850111410021782,
-0.0158083438873291,
0.0342160165309906,
-0.004472376778721809,
-0.030767234042286873,
-0.05348164215683937,
-0.004519096575677395,
0.028762521222233772,
0.01409244630485773,
0.020098088309168816,
0.07522767037153244,
0.008503037504851818
]
|
41,797 | wield.bunch.bunch | domain_sort | null | def domain_sort(self, key):
argsort = np.argsort(self[key])
return self[argsort]
| (self, key) | [
0.020248355343937874,
0.01997770182788372,
-0.08004613220691681,
0.044658027589321136,
0.008906232193112373,
-0.0061658527702093124,
0.006677559576928616,
-0.045909807085990906,
0.08572988212108612,
-0.04682326689362526,
-0.034576140344142914,
-0.012483948841691017,
0.036470722407102585,
-0.03890661522746086,
-0.012061051093041897,
-0.002363999839872122,
0.01406558696180582,
0.08606819808483124,
-0.04208680987358093,
-0.023513128980994225,
-0.019317980855703354,
0.0187259241938591,
0.012399368919432163,
-0.08302333205938339,
0.03887278214097023,
0.05751412734389305,
0.06641190499067307,
-0.01860751211643219,
0.01767713576555252,
-0.034406982362270355,
0.0023407405242323875,
0.015004420652985573,
0.033679597079753876,
0.01537657156586647,
-0.028148090466856956,
-0.027234630659222603,
0.014886009506881237,
-0.004305101465433836,
-0.008369151502847672,
0.08241435885429382,
-0.018573680892586708,
-0.07300911098718643,
0.037925492972135544,
-0.02696397714316845,
0.005658375099301338,
0.019723962992429733,
0.0011428818106651306,
0.05545038357377052,
0.02874014712870121,
0.03318903595209122,
-0.04530083388090134,
-0.04459036514163017,
0.0486840158700943,
-0.0253062155097723,
-0.05815693363547325,
0.06018684431910515,
0.047127753496170044,
0.04404905438423157,
0.00370881543494761,
0.003063895972445607,
-0.016636807471513748,
-0.017812464386224747,
-0.0292645413428545,
-0.026287339627742767,
0.003784937085583806,
-0.03535427153110504,
-0.06079581752419472,
0.023225558921694756,
-0.057784780859947205,
-0.009599784389138222,
-0.032427817583084106,
-0.0003158519393764436,
0.04124101251363754,
0.005658375099301338,
0.00010598880908219144,
0.028993885964155197,
-0.04120717942714691,
0.018472185358405113,
0.04330475628376007,
-0.0018258620984852314,
0.04371073842048645,
0.011891891248524189,
0.0216692928224802,
-0.004846410825848579,
-0.006660643499344587,
-0.04716158285737038,
0.06035600230097771,
0.012703855521976948,
0.037113528698682785,
-0.010242589749395847,
-0.017245780676603317,
0.025644535198807716,
-0.0532851479947567,
0.0028566760011017323,
-0.006432278547435999,
0.03914343938231468,
0.008610202930867672,
0.005641459487378597,
-0.013684979639947414,
0.027945099398493767,
0.021906116977334023,
0.04851485788822174,
0.009887355379760265,
0.016839798539876938,
0.013135211542248726,
0.0009927530772984028,
-0.0037680212408304214,
0.010530159808695316,
-0.10183383524417877,
0.05812310054898262,
-0.032190997153520584,
0.08430894464254379,
0.04418438300490379,
-0.009481373243033886,
0.004465803038328886,
-0.007468378636986017,
-0.011553573422133923,
0.007138518150895834,
-0.013828764669597149,
0.021094152703881264,
-0.08031678944826126,
0.03161585330963135,
-0.03439006581902504,
0.037756334990262985,
-0.098653644323349,
0.009752027690410614,
0.013820306397974491,
-0.004681481048464775,
-0.09560877829790115,
-0.014801429584622383,
0.013050632551312447,
0.008762446232140064,
-0.0023703433107584715,
0.062013763934373856,
0.06607358157634735,
-0.06810349225997925,
0.01541886106133461,
-0.03063473105430603,
0.06725769490003586,
0.02385144680738449,
0.03833147510886192,
0.026084348559379578,
0.05920571833848953,
0.000347569293808192,
0.073618084192276,
-0.032072585076093674,
0.014260120689868927,
0.03802698850631714,
-0.00978585984557867,
-0.006576064042747021,
-0.025323132053017616,
0.04198531433939934,
0.0763922929763794,
-0.04746606945991516,
0.02271808125078678,
-0.03562492877244949,
-0.06894928961992264,
-0.058833569288253784,
-0.03762100636959076,
-0.006762139033526182,
-0.02102648839354515,
-0.02579677850008011,
-0.026016684249043465,
-0.06854330748319626,
-0.06245357543230057,
-0.047567564994096756,
0.04699242487549782,
-0.03850063309073448,
-0.03200491890311241,
0.06363768875598907,
-0.009100764989852905,
-0.014370073564350605,
-0.08721848577260971,
-0.020688170567154884,
-0.04895467311143875,
0.013278997503221035,
-0.01658605970442295,
0.018404521048069,
0.023073315620422363,
0.08248202502727509,
0.005814847536385059,
0.014277036301791668,
0.018015455454587936,
-0.003795509459450841,
0.0013268424663692713,
0.02175387367606163,
-0.00030660105403512716,
0.001676790532656014,
-0.020366767421364784,
-0.0008109069312922657,
-0.02542462758719921,
0.006749452091753483,
-0.01400638185441494,
-0.029230710119009018,
-0.022937986999750137,
0.03992157056927681,
-0.07483603060245514,
0.016036292538046837,
0.0013987350976094604,
0.07172349840402603,
0.025779861956834793,
-0.013304371386766434,
0.009895812720060349,
0.018336856737732887,
-0.04814270883798599,
0.04807504266500473,
-0.025576870888471603,
-0.04310176521539688,
0.013228249736130238,
-0.05105224624276161,
0.057581789791584015,
-0.05849524959921837,
-0.04513167589902878,
-0.07334742695093155,
-0.02195686474442482,
-0.036707546561956406,
-0.004322017543017864,
-0.0069101531989872456,
0.08728614449501038,
-0.0012940678279846907,
0.011257545091211796,
0.002657913835719228,
0.028114259243011475,
-0.04722924903035164,
0.0023174809757620096,
0.01930106431245804,
0.020248355343937874,
-0.007210410665720701,
-0.0506124310195446,
-0.04557148739695549,
0.046518780291080475,
-0.041714657098054886,
0.03217408061027527,
-0.04618046060204506,
0.053217485547065735,
-0.020738918334245682,
-0.0036665257066488266,
0.03677520900964737,
-0.02466341108083725,
0.043440081179142,
-0.032393988221883774,
0.04557148739695549,
0.03789165988564491,
0.024528084322810173,
-0.06921994686126709,
0.021280227228999138,
0.051965706050395966,
0.002526815515011549,
-0.012483948841691017,
0.0318865105509758,
-0.03494828939437866,
-0.056533005088567734,
-0.028198838233947754,
0.009853523224592209,
-0.02102648839354515,
0.008364922367036343,
-0.03183576092123985,
-0.0256276186555624,
0.0013828764203935862,
-0.012889930978417397,
-0.049056168645620346,
-0.010733150877058506,
-0.0677313432097435,
-0.02804659493267536,
0.0004551439778879285,
0.020214524120092392,
0.024477336555719376,
0.04760139808058739,
0.03870362415909767,
0.03579408675432205,
-0.03765483945608139,
-0.011790395714342594,
-0.04689092934131622,
-0.011798853985965252,
0.04080119729042053,
0.08180538564920425,
0.008534081280231476,
-0.007903963327407837,
0.02938295342028141,
0.017178116366267204,
0.07788089662790298,
0.0008024489507079124,
-0.04678943380713463,
0.016002459451556206,
-0.01869209110736847,
-0.058021605014801025,
-0.013481988571584225,
-0.08965437859296799,
-0.06035600230097771,
0.008360693231225014,
0.019910037517547607,
0.03572642430663109,
0.03180192783474922,
0.016332320868968964,
-0.034812964498996735,
-0.05876590684056282,
0.0016302717849612236,
-0.05832609161734581,
0.08065510541200638,
0.04387989640235901,
0.0018670946592465043,
0.00877936277538538,
0.030178001150488853,
-0.006783283781260252,
0.012289416044950485,
0.030211832374334335,
-0.0240206066519022,
0.00561185646802187,
-0.012737687677145004,
-0.02090807631611824,
-0.019385643303394318,
0.022329013794660568,
-0.05984852463006973,
0.0048294952139258385,
-0.046552613377571106,
-0.020214524120092392,
-0.009455999359488487,
-0.00942216720432043,
0.017863212153315544,
0.0815347358584404,
-0.02501864545047283,
0.025932105258107185,
-0.06664872169494629,
-0.016078582033514977,
0.029636692255735397,
0.06170927733182907,
0.01994386874139309,
-0.03190342336893082,
0.013913343660533428,
0.01623082533478737,
0.04645111784338951,
0.0315651074051857,
0.02664257399737835,
0.026304256170988083,
-0.03398408368229866,
0.009997308254241943,
0.07023490220308304,
0.020806580781936646,
0.016890546306967735,
-0.025813693180680275,
-0.10027757287025452,
-0.012416285462677479,
-0.04851485788822174,
0.0025817921850830317,
0.09574410319328308,
-0.008419899269938469,
-0.019081156700849533,
-0.02437584102153778,
-0.018252277746796608,
-0.003184421919286251,
0.05835992470383644,
-0.03459305688738823,
-0.025492291897535324,
-0.00940525159239769,
0.013718810863792896,
0.007231555879116058,
0.011815769597887993,
-0.015393487177789211,
-0.019385643303394318,
0.056533005088567734,
0.10995347797870636,
-0.03576025366783142,
-0.0774749144911766,
-0.038568295538425446,
0.0312437042593956,
-0.018658259883522987,
0.019317980855703354,
-0.022210603579878807,
0.01464918628334999,
0.025678366422653198,
-0.0315651074051857,
-0.0015668370760977268,
0.04154549911618233,
0.07077620923519135,
-0.0598146915435791,
0.006330783013254404,
0.0039836992509663105,
0.0052777668461203575,
0.005907884798943996,
-0.0013427011435851455,
-0.0015192610444501042,
0.012221751734614372,
0.07355041801929474,
0.052405521273612976,
-0.07578331977128983,
0.026693321764469147,
0.024528084322810173,
-0.007497981656342745,
0.04283110797405243,
-0.025982853025197983,
-0.02830033376812935,
-0.030567066743969917,
-0.018100034445524216,
0.01483526173979044,
-0.03395025059580803,
0.0029074237681925297,
0.01323670707643032,
-0.0013828764203935862,
0.020654337480664253,
-0.06373918801546097,
0.02647341415286064,
-0.019791625440120697,
-0.023225558921694756,
0.05710814520716667,
0.016865171492099762,
-0.03853446617722511,
0.019064242020249367,
0.0519995391368866,
-0.018641343340277672,
0.0776779055595398,
-0.0057556419633328915,
0.03290146589279175,
-0.03603091090917587,
-0.06641190499067307,
0.033493522554636,
-0.04557148739695549,
0.03833147510886192,
0.011257545091211796,
0.03738418221473694,
-0.0019929069094359875,
0.0071469759568572044,
-0.023682286962866783,
-0.05335281044244766,
-0.014074045233428478,
0.024967897683382034,
-0.013372034765779972,
0.049428317695856094,
0.0029179961420595646,
-0.03268155828118324,
0.05037561058998108,
0.012238668277859688,
0.05210103467106819,
-0.03894044831395149,
0.04597746953368187,
0.052811503410339355,
0.004719541873782873,
0.024358924478292465,
0.04049671068787575,
-0.003774364711716771,
0.037925492972135544,
-0.03511745110154152,
0.04824420437216759,
0.03022874891757965,
-0.005899426992982626,
0.0025775632821023464,
0.011266002431511879,
0.05680365860462189,
-0.012280957773327827,
-0.012627733871340752,
-0.09283456951379776,
0.07097920030355453,
0.0023217101115733385,
0.07348275929689407,
-0.04262811690568924,
0.023377800360322,
-0.025323132053017616,
-0.051322899758815765,
-0.024240512400865555,
0.012221751734614372,
0.0014537118840962648,
-0.003998500760644674,
0.029196877032518387,
0.009269923903048038,
-0.04641728475689888,
-0.07733958214521408,
0.033679597079753876,
-0.04574064910411835,
-0.012534696608781815,
0.008111183531582355,
0.012534696608781815,
0.02312406338751316,
0.01997770182788372,
-0.0029750873800367117,
-0.03806082159280777,
-0.08674483746290207,
0.021686209365725517,
0.05453692749142647,
-0.00924455001950264,
-0.015114374458789825,
-0.013515819795429707,
-0.009997308254241943,
-0.045672982931137085,
-0.016493022441864014,
0.022988734766840935,
0.010648571886122227,
0.008360693231225014,
-0.005011341068893671,
0.04161316156387329,
-0.019487138837575912,
-0.014886009506881237,
0.02151704952120781,
0.015266617760062218,
0.018658259883522987,
0.015503440983593464,
0.021060319617390633,
0.0010678174439817667,
-0.00541732320562005,
-0.0037045865319669247,
0.0003364682197570801,
0.029416784644126892,
-0.010792356915771961,
-0.013955634087324142,
-0.0028989657294005156,
0.007083541247993708,
0.025661449879407883,
0.013118295930325985,
-0.009261466562747955,
0.02780977264046669,
0.033442772924900055,
-0.013109837658703327,
0.007100457325577736,
-0.021280227228999138,
-0.03300296142697334,
-0.051356732845306396,
0.05636384338140488,
0.0021366921719163656,
-0.06472031027078629,
-0.004698396660387516,
-0.02090807631611824,
0.01097843237221241,
0.028351081535220146,
0.018303025513887405,
0.025898274034261703,
-0.018235361203551292,
0.0180831179022789,
0.03269847482442856,
0.004294529091566801,
0.004372765310108662,
0.006402675528079271,
0.03019491769373417,
-0.014040213078260422,
-0.04743224009871483,
0.04428587853908539,
0.04019222408533096,
-0.02353004366159439,
0.031226787716150284,
-0.06397601217031479,
0.058833569288253784,
-0.048785511404275894,
0.041714657098054886,
0.002949713496491313,
0.027742108330130577,
0.06292722374200821,
-0.07848986983299255,
0.05565337464213371,
0.0013014685828238726,
-0.05183037742972374,
-0.007942024618387222,
-0.07138518244028091,
-0.012255583889782429,
-0.005265079904347658,
0.003795509459450841,
0.020603589713573456,
-0.05893506482243538,
0.022701164707541466,
-0.013321286998689175,
-0.0632317066192627,
-0.017093537375330925,
0.009633616544306278,
-0.0026917457580566406,
-0.003241513157263398,
0.006296951323747635,
0.03559109568595886,
-0.00330917676910758,
-0.08972203731536865,
0.010986889712512493,
-0.006491484120488167,
-0.002769981976598501,
-0.003738418221473694,
-0.012991426512598991,
-0.007231555879116058,
0.0009018299751915038,
-0.04597746953368187,
0.035455767065286636,
0.01913190446794033,
0.013769558630883694,
0.06478797644376755,
0.013211333192884922,
-0.06793433427810669,
-0.028723232448101044,
-0.03971857950091362,
-0.002676944248378277,
0.034457728266716,
0.02623659186065197,
-0.06610741466283798,
0.0058486792258918285,
0.06742686033248901,
0.06482180207967758,
0.010081888176500797,
-0.05687132105231285,
-0.00682134460657835,
-0.02358079142868519,
-0.01565568335354328,
0.00410845410078764,
0.006343469955027103,
-0.0220414437353611,
-0.02554303966462612,
-0.014564607292413712,
0.00145794078707695,
-0.021178731694817543,
0.02542462758719921,
0.0013892198912799358,
0.02704855613410473,
-0.02515397220849991,
0.05494290962815285,
-0.04865018650889397,
0.010293337516486645,
-0.027386873960494995,
0.02667640522122383,
-0.03559109568595886,
-0.005797931458801031,
0.013405866920948029,
-0.0008479104726575315,
0.004990196321159601,
0.040665872395038605,
-0.031006881967186928,
0.05186421051621437,
-0.03762100636959076,
0.05558571219444275,
-0.009007727727293968,
0.002734035486355424,
0.0108346464112401,
0.04097035899758339,
0.016636807471513748,
0.013346660882234573,
-0.07003191113471985,
0.03415324166417122,
-0.005121294874697924,
0.055044401437044144,
0.0004170831525698304,
-0.009802775457501411,
-0.013109837658703327,
0.01409096084535122,
0.0004865970113314688,
-0.007734804414212704,
-0.07267079502344131,
0.00543001014739275,
-0.03366268053650856,
-0.0046899388544261456,
-0.012805351056158543,
-0.029602859169244766,
0.03279997035861015,
0.01239091157913208,
0.0010059686610475183,
-0.04892084002494812,
-0.002666371874511242,
-0.02999192662537098,
0.018455268815159798,
0.007155434228479862,
-0.04198531433939934,
-0.008106954395771027,
-0.01261081825941801,
-0.011139133013784885,
0.04563915356993675,
-0.0240206066519022,
0.006525316275656223,
0.03718119114637375,
-0.014547690749168396,
0.026913229376077652,
-0.06106647104024887,
0.023885278031229973,
0.05460458993911743,
0.013651147484779358,
-0.07341509312391281,
0.03268155828118324,
-0.007536042481660843,
0.00015819027612451464,
-0.009371419437229633,
-0.019199568778276443,
0.028266502544283867,
0.024764906615018845,
-0.009083849377930164,
-0.00503671495243907,
-0.00882165227085352,
0.022532004863023758,
-0.012670024298131466,
0.024883318692445755,
0.010826189070940018,
-0.0075402711518108845,
-0.06292722374200821,
0.0649571344256401,
-0.005328514613211155,
0.004588443320244551,
-0.027268463745713234,
-0.024595746770501137,
0.010555533692240715,
0.007358425296843052,
0.015774095430970192,
-0.01933489553630352,
-0.006199684459716082,
0.00817461870610714,
-0.023716120049357414,
0.012619276531040668,
-0.07348275929689407,
0.016078582033514977,
0.03268155828118324,
-0.01180731225758791,
0.012822267599403858,
0.01828610897064209,
-0.01634923741221428,
-0.016848256811499596,
0.012373995035886765,
0.011815769597887993,
0.014353157952427864,
-0.014336242340505123,
-0.0023851445876061916,
0.03197108954191208,
0.028841642662882805,
0.03432239964604378,
-0.02769136056303978,
0.0038504863623529673,
-0.05206720158457756,
0.01598554477095604,
-0.0312437042593956,
0.048379529267549515,
0.027843603864312172,
-0.0034656489733606577,
0.009193802252411842,
-0.012382453307509422,
0.06343469768762589,
0.02405443787574768,
-0.04364307224750519,
0.04391372948884964,
-0.007476836442947388,
0.05149206146597862,
0.003928722348064184,
0.07118219137191772,
-0.06028833985328674,
-0.07537733763456345,
-0.05206720158457756,
-0.037147361785173416,
0.034779131412506104,
0.02490023337304592,
0.002693860325962305,
-0.003520625876262784,
0.01779554784297943,
-0.051762714982032776,
-0.01360039971768856,
0.01916573755443096,
0.06715620309114456,
-0.03822997957468033,
0.037519510835409164,
-0.0021969550289213657,
-0.06326553970575333,
0.06306254863739014,
-0.0020531697664409876,
-0.02215985581278801,
0.003924493212252855,
0.005091691855341196,
-0.06269039958715439,
-0.01744031347334385,
0.03217408061027527,
0.0046899388544261456,
-0.02623659186065197,
-0.013245165348052979,
0.010267963632941246,
0.004558840300887823,
0.025864440947771072,
0.027014724910259247,
0.0037489908281713724,
-0.05453692749142647,
-0.032952211797237396,
-0.08633885532617569,
0.03992157056927681,
-0.0043939100578427315,
-0.015774095430970192,
0.05108607932925224,
-0.003165391506627202
]
|
41,798 | wield.bunch.bunch | fromkeys | Create a new dictionary with keys from iterable and values set to value. | def gen_func(mname):
def func(self, *args, **kwargs):
return getattr(self._mydict, mname)(*args, **kwargs)
orig_func = getattr(dict, mname)
if orig_func is None:
return
func.__name__ = orig_func.__name__
func.__doc__ = orig_func.__doc__
return func
| (self, *args, **kwargs) | [
0.04386318102478981,
-0.045720577239990234,
0.05843661352992058,
0.007014358416199684,
-0.03711225092411041,
-0.0005516942474059761,
-0.015350326895713806,
0.02673582173883915,
0.03932683914899826,
-0.021592257544398308,
-0.023538954555988312,
0.07951094210147858,
0.053114451467990875,
0.019556263461709023,
-0.02041352353990078,
-0.0006368063623085618,
0.017663145437836647,
0.03268307074904442,
-0.043005917221307755,
-0.021002890542149544,
0.026860838755965233,
0.008018961176276207,
0.04789945110678673,
-0.027360908687114716,
0.026289332658052444,
0.06654487550258636,
-0.009831709787249565,
0.030164865776896477,
0.046327803283929825,
-0.06975959986448288,
-0.06515182554721832,
-0.04357742518186569,
0.02887897379696369,
0.06811651587486267,
0.013921558856964111,
-0.05104273930191994,
-0.014314469881355762,
0.0413985550403595,
-0.13166098296642303,
-0.05829373747110367,
0.09587033838033676,
-0.003627731464803219,
0.01608256995677948,
-0.0020639002323150635,
0.019449105486273766,
-0.014064435847103596,
-0.009581675752997398,
0.0349869579076767,
0.025164177641272545,
-0.01772565394639969,
0.010796128772199154,
-0.021288644522428513,
0.032790228724479675,
0.01397513784468174,
0.005505221895873547,
0.049506813287734985,
-0.00826006568968296,
0.03595137596130371,
0.03634428605437279,
0.02537849359214306,
-0.05186428129673004,
-0.009510237723588943,
-0.030647074803709984,
-0.023628251627087593,
-0.007742136716842651,
-0.025432070717215538,
-0.042720165103673935,
-0.010376428253948689,
-0.03189724683761597,
0.00008197277929866686,
-0.00029189285123720765,
0.0052685821428895,
0.02612859569489956,
-0.0024891819339245558,
-0.0038599062245339155,
0.007701952941715717,
-0.07158128172159195,
-0.1008710265159607,
0.04600633308291435,
-0.001475649536587298,
-0.05843661352992058,
-0.07140268385410309,
-0.07008107006549835,
-0.03450474888086319,
-0.05543620139360428,
-0.02907543070614338,
0.01910977251827717,
-0.07451025396585464,
-0.0009108396479859948,
-0.025199897587299347,
-0.04868527129292488,
0.024842705577611923,
-0.021645836532115936,
0.01268924679607153,
-0.06975959986448288,
-0.07272429764270782,
0.037612318992614746,
0.04836379736661911,
0.03250447288155556,
0.033361732959747314,
0.03189724683761597,
-0.0022648207377642393,
-0.02691441774368286,
0.009331641718745232,
0.0467207171022892,
-0.04547054320573807,
-0.010858637280762196,
-0.029146868735551834,
-0.006112448405474424,
-0.0178685300052166,
-0.020145630463957787,
-0.04568485915660858,
-0.00016255027730949223,
0.01189449429512024,
0.034754782915115356,
-0.00017454969929531217,
-0.01205523032695055,
-0.0016107127303257585,
-0.01446627639234066,
0.002286028815433383,
-0.013376841321587563,
-0.017716724425554276,
-0.0034669949673116207,
-0.03589779883623123,
-0.011653389781713486,
-0.010215691290795803,
0.0422200970351696,
0.002569549949839711,
0.08058252185583115,
-0.01683267392218113,
0.015859326347708702,
0.0016207587905228138,
0.025449931621551514,
0.02846820279955864,
0.02766452170908451,
-0.003203565953299403,
0.012823193334043026,
0.01868114247918129,
0.026092877611517906,
0.07061686366796494,
-0.009626325219869614,
0.03782663494348526,
-0.028307467699050903,
0.028575360774993896,
0.0016709888586774468,
-0.04957825317978859,
0.01634153537452221,
0.06708066165447235,
-0.026271473616361618,
-0.043184515088796616,
-0.02194944955408573,
0.02870037779211998,
-0.013287543319165707,
0.017314882948994637,
-0.005290906876325607,
0.02209232561290264,
-0.004643496125936508,
0.009474517777562141,
-0.06015113368630409,
-0.040755607187747955,
0.03964831307530403,
0.05454321950674057,
-0.03961259499192238,
-0.07436737418174744,
0.0459706112742424,
-0.017886390909552574,
0.08193984627723694,
-0.05897240340709686,
0.01345720887184143,
0.03418327495455742,
-0.06290151178836823,
-0.01296607032418251,
0.015564641915261745,
0.021056469529867172,
0.08808355033397675,
0.045756299048662186,
-0.03207584470510483,
0.02518203668296337,
0.00838954746723175,
0.029325464740395546,
0.03259377181529999,
0.030968546867370605,
-0.05586482957005501,
0.003031667321920395,
0.002402116311714053,
0.007384944707155228,
0.011849844828248024,
0.035558465868234634,
-0.0063133686780929565,
0.019270509481430054,
-0.01859184354543686,
0.003627731464803219,
0.02855750173330307,
-0.014519855380058289,
0.0274859257042408,
-0.05089986324310303,
-0.050864141434431076,
0.0368979349732399,
0.05918671563267708,
0.07551039010286331,
0.006817902438342571,
0.027325188741087914,
-0.048435237258672714,
0.06207997351884842,
0.025217756628990173,
0.03521913290023804,
0.042863041162490845,
0.010662181302905083,
-0.05897240340709686,
-0.02771810069680214,
0.007000963669270277,
-0.03121858276426792,
0.016421902924776077,
0.04975684732198715,
0.006942919921129942,
-0.0009945564670488238,
0.05300729349255562,
0.029093289747834206,
-0.05440034344792366,
0.04643496125936508,
0.039684031158685684,
0.026646524667739868,
0.030914969742298126,
-0.020860014483332634,
0.06729497760534286,
-0.03964831307530403,
0.0018674444872885942,
-0.05907955765724182,
-0.025807123631238937,
-0.012885701842606068,
0.029379043728113174,
-0.021842291578650475,
0.02948620170354843,
-0.025289194658398628,
-0.0077555314637720585,
-0.019913455471396446,
0.02327105961740017,
-0.018788300454616547,
0.02059211954474449,
0.010046025738120079,
0.006840227171778679,
0.10158541053533554,
0.033593907952308655,
0.05532904341816902,
0.01334112137556076,
0.003087478457018733,
0.016725515946745872,
0.06804507970809937,
-0.03843386098742485,
0.04007694497704506,
0.027093013748526573,
-0.01491276640444994,
-0.019395526498556137,
0.054186027497053146,
-0.03161149471998215,
0.06536614149808884,
-0.04004122316837311,
-0.003799630096182227,
-0.00022896566952113062,
-0.0003217518678866327,
0.018931176513433456,
-0.017966758459806442,
-0.05150708928704262,
-0.0021174789872020483,
0.03350461274385452,
-0.03364748880267143,
0.004862276371568441,
-0.004007247742265463,
-0.04732794314622879,
-0.004462667740881443,
0.059472471475601196,
0.028218168765306473,
-0.0010754828108474612,
-0.025735685601830482,
-0.013439349830150604,
-0.023771129548549652,
0.009358431212604046,
-0.03446903079748154,
-0.026628665626049042,
-0.030736373737454414,
0.026378629729151726,
-0.00952809676527977,
-0.0029825533274561167,
0.03605853393673897,
-0.02157439850270748,
0.02194944955408573,
-0.007014358416199684,
0.006469640415161848,
0.05529332533478737,
-0.027307329699397087,
0.0316472128033638,
-0.013394700363278389,
-0.008233276195824146,
0.02569996565580368,
0.012090949341654778,
-0.04054129496216774,
-0.011599810793995857,
-0.020395664498209953,
-0.0369693748652935,
0.024235477671027184,
0.02569996565580368,
0.010465726256370544,
-0.027128733694553375,
0.008862826973199844,
-0.025967858731746674,
0.006817902438342571,
-0.008202021941542625,
-0.03384394198656082,
-0.04232725501060486,
0.011296197772026062,
-0.032558053731918335,
0.04389889910817146,
-0.08629759401082993,
-0.011037233285605907,
0.015511062927544117,
0.05575767531991005,
0.013403630815446377,
0.028361046686768532,
0.06858086585998535,
0.07593902200460434,
0.0021654765587300062,
-0.0116801792755723,
-0.01636832393705845,
-0.02050282247364521,
0.028450343757867813,
-0.05465037748217583,
-0.042434412986040115,
-0.045291949063539505,
0.013225034810602665,
-0.026807261630892754,
-0.04939965531229973,
-0.033129557967185974,
0.02884325571358204,
0.00997458677738905,
-0.026021437719464302,
0.02612859569489956,
0.01088542677462101,
0.027039434760808945,
-0.04397033900022507,
-0.04461328312754631,
0.0482209213078022,
-0.015573571436107159,
-0.03896964713931084,
0.006456245668232441,
-0.023181762546300888,
0.04472044110298157,
-0.004603311885148287,
-0.007862688973546028,
0.06375877559185028,
-0.044077493250370026,
0.01268924679607153,
-0.05225719138979912,
0.02035994455218315,
0.02650364674627781,
0.04539910703897476,
0.04025553911924362,
0.033826082944869995,
-0.028396764770150185,
-0.05014975741505623,
-0.03462976589798927,
0.033772505819797516,
-0.017707794904708862,
-0.00745638320222497,
-0.02584284171462059,
0.0482209213078022,
0.010251411236822605,
0.002728054067119956,
0.014260890893638134,
0.037612318992614746,
-0.03161149471998215,
0.008728879503905773,
-0.006862551439553499,
0.005996360909193754,
0.017850670963525772,
-0.03882677108049393,
-0.031075704842805862,
0.02055639959871769,
-0.005924922414124012,
-0.028218168765306473,
0.0003577501338440925,
0.013260753825306892,
-0.013778681866824627,
0.06608052551746368,
0.02823602966964245,
0.03525485098361969,
-0.022949587553739548,
0.02327105961740017,
0.039862629026174545,
0.0006747580482624471,
-0.048613835126161575,
-0.020020611584186554,
-0.012314194813370705,
-0.0167433749884367,
0.030504198744893074,
0.012680316343903542,
-0.06958100199699402,
-0.026575086638331413,
-0.040148381143808365,
-0.04847095534205437,
-0.026753682643175125,
0.011305127292871475,
-0.003574152709916234,
-0.009679903276264668,
-0.00768855819478631,
-0.0068000429309904575,
-0.03212942183017731,
-0.021824432536959648,
0.04682787507772446,
0.03211156278848648,
0.03796951100230217,
-0.014546644873917103,
0.017966758459806442,
-0.07965382188558578,
-0.06468747556209564,
0.02228878252208233,
0.019127631559967995,
0.017654215916991234,
-0.028593221679329872,
-0.039684031158685684,
0.011921283788979053,
0.031147142872214317,
0.026932278648018837,
0.04504191502928734,
0.02027064748108387,
-0.016680866479873657,
-0.012564228847622871,
-0.011742687784135342,
0.012635667808353901,
-0.03843386098742485,
0.05111417919397354,
-0.03889821097254753,
-0.028289606794714928,
0.018877597525715828,
-0.016439761966466904,
0.0384695790708065,
-0.06708066165447235,
-0.04232725501060486,
-0.03034346178174019,
-0.00985849928110838,
0.026557225733995438,
0.02823602966964245,
-0.022449517622590065,
-0.0022536583710461855,
-0.04839951917529106,
-0.0383981429040432,
-0.02555708959698677,
0.009822780266404152,
0.008715485222637653,
0.061258431524038315,
-0.04518479108810425,
0.04011266306042671,
0.08315429836511612,
0.007130445446819067,
-0.03718368709087372,
0.10680041462182999,
-0.004056361969560385,
-0.0211100485175848,
-0.059472471475601196,
-0.0012244988465681672,
0.033022403717041016,
-0.04647068306803703,
0.01914549246430397,
0.009028027765452862,
0.016886252909898758,
-0.03582635894417763,
0.09022670239210129,
0.01205523032695055,
0.019413385540246964,
-0.02532491460442543,
-0.0274859257042408,
0.019591981545090675,
-0.01423410139977932,
-0.02243165858089924,
-0.0263964906334877,
0.001537041855044663,
0.0068714814260602,
-0.06368733942508698,
0.04786372929811478,
0.0038599062245339155,
0.010590743273496628,
0.026628665626049042,
-0.034576188772916794,
0.04186290502548218,
0.0398983471095562,
-0.015859326347708702,
0.02795027568936348,
0.01465380284935236,
-0.03786235302686691,
-0.01749347895383835,
-0.008911941200494766,
-0.054757535457611084,
0.0640445277094841,
0.08193984627723694,
-0.015109222382307053,
-0.0331474207341671,
0.009492377750575542,
0.04043413698673248,
0.03507625684142113,
-0.01413587387651205,
-0.052971575409173965,
-0.03455832600593567,
0.009956727735698223,
-0.07247426360845566,
0.04479187726974487,
-0.01217131782323122,
0.013483998365700245,
-0.01914549246430397,
0.012028440833091736,
-0.033772505819797516,
-0.0293611828237772,
-0.006112448405474424,
-0.03886249288916588,
-0.05168568342924118,
0.025217756628990173,
0.00022310548229143023,
-0.04600633308291435,
-0.022645974531769753,
-0.006433921400457621,
-0.0768677219748497,
-0.01318038534373045,
0.04504191502928734,
-0.005246257875114679,
-0.04500619322061539,
0.0014566737227141857,
-0.02921830676496029,
0.019074054434895515,
0.029879111796617508,
0.021592257544398308,
0.040005505084991455,
0.05375739932060242,
0.015055643394589424,
-0.01579681597650051,
0.005898133385926485,
0.04157714918255806,
-0.03718368709087372,
0.03211156278848648,
-0.04554198309779167,
-0.03882677108049393,
-0.042720165103673935,
0.04764941334724426,
0.014314469881355762,
0.008862826973199844,
0.018323950469493866,
0.006322298664599657,
0.023485375568270683,
-0.006916130427271128,
-0.020574260503053665,
-0.0331474207341671,
0.006643771659582853,
-0.052542947232723236,
-0.006009755656123161,
0.007974311709403992,
-0.03825526311993599,
-0.024146180599927902,
-0.0009192113066092134,
-0.00791180320084095,
0.01537711638957262,
-0.037469442933797836,
-0.03337959572672844,
0.00029579963302239776,
-0.015314607881009579,
0.06290151178836823,
0.08379724621772766,
0.010081744752824306,
-0.06529469788074493,
0.06422312557697296,
-0.006148167420178652,
0.04661355912685394,
-0.04100564494729042,
-0.034058257937431335,
-0.0018027034820988774,
-0.02330677956342697,
0.0714741200208664,
0.004109940491616726,
-0.03721940889954567,
0.05750791355967522,
0.05772222951054573,
-0.03861245512962341,
-0.006090123672038317,
-0.030361320823431015,
-0.03896964713931084,
0.007099191192537546,
-0.03768375888466835,
0.031075704842805862,
-0.07111693173646927,
-0.028682518750429153,
-0.02093145251274109,
0.04547054320573807,
0.02393186464905739,
-0.004786373116075993,
-0.05986538156867027,
-0.03173651173710823,
-0.07429593801498413,
-0.0015225309180095792,
0.024503372609615326,
0.0033442103303968906,
-0.006255325395613909,
0.039112526923418045,
-0.027735959738492966,
-0.02139580249786377,
-0.073938749730587,
0.0072420681826770306,
-0.022020887583494186,
0.03445117175579071,
-0.008353828452527523,
0.02214590460062027,
-0.006536613684147596,
-0.021413661539554596,
0.02125292457640171,
0.031165003776550293,
-0.035272710025310516,
-0.03936256095767021,
0.034004680812358856,
0.06722353398799896,
0.03825526311993599,
-0.009795990772545338,
-0.03843386098742485,
0.012930351309478283,
0.0497211292386055,
-0.026860838755965233,
-0.03536200895905495,
-0.01238563284277916,
-0.011260478757321835,
-0.002491414314135909,
0.011537302285432816,
-0.036165691912174225,
0.052364349365234375,
0.0026767076924443245,
0.025360632687807083,
0.014939555898308754,
-0.08179697394371033,
0.005366810131818056,
0.03398682177066803,
-0.09722767025232315,
0.04282732307910919,
0.02771810069680214,
0.01502885390073061,
0.030879249796271324,
-0.04804232716560364,
-0.028807535767555237,
0.0029446016997098923,
0.025074878707528114,
-0.005143565125763416,
-0.030789950862526894,
-0.028593221679329872,
0.04629208520054817,
0.006898270919919014,
-0.028575360774993896,
0.07443881779909134,
-0.04568485915660858,
-0.020234927535057068,
0.004007247742265463,
-0.006090123672038317,
0.07493888586759567,
0.0782964900135994,
-0.05529332533478737,
-0.035326290875673294,
-0.06775932759046555,
0.033772505819797516,
-0.030700653791427612,
-0.020467102527618408,
-0.07290288805961609,
-0.025164177641272545,
-0.04807804524898529,
-0.03241517394781113,
0.003279469208791852,
-0.03343317285180092,
-0.04100564494729042,
0.009706692770123482,
-0.046184927225112915,
0.05397171527147293,
0.04229153320193291,
0.013680454343557358,
-0.09458444267511368,
-0.022020887583494186,
0.006353552918881178,
0.07108121365308762,
0.010063884779810905,
0.020752856507897377,
0.01666300743818283,
0.007099191192537546,
0.05089986324310303,
-0.011805196292698383,
0.05843661352992058,
-0.012626737356185913,
-0.013680454343557358,
0.01760956645011902,
-0.012867842800915241,
-0.016037922352552414,
0.012028440833091736,
0.006804507691413164,
-0.039862629026174545,
0.009912078268826008,
0.010412147268652916,
-0.04714934527873993,
0.032754506915807724,
-0.00850563496351242,
-0.032790228724479675,
0.0021386872977018356,
0.026557225733995438,
-0.019591981545090675,
0.026842979714274406,
0.005554335657507181,
-0.018377529457211494,
0.003357604844495654,
-0.042863041162490845,
0.03028988279402256,
-0.019038334488868713,
0.024414073675870895,
-0.027164453640580177,
-0.0026052691973745823,
0.009956727735698223,
0.056436337530612946,
0.04414893314242363,
0.04432753100991249,
-0.06525897979736328,
-0.060329731553792953,
0.0640445277094841,
0.02812887169420719,
-0.014082294888794422,
0.030218444764614105,
-0.01549320388585329,
0.003310723463073373,
-0.012215967290103436,
-0.002661080565303564,
-0.008527959696948528,
-0.046506401151418686,
-0.036219269037246704,
-0.021878011524677277,
0.015430695377290249,
0.010340709239244461,
-0.021360082551836967,
-0.01891331747174263,
-0.008827107958495617,
-0.004661355633288622,
-0.03259377181529999,
0.015564641915261745,
0.014118014834821224,
-0.016850532963871956,
0.03327243775129318,
-0.09587033838033676,
0.08758348226547241,
-0.013367910869419575,
0.08672621846199036,
0.07065258175134659,
0.008282389491796494,
0.032700929790735245,
0.03605853393673897,
0.036308567970991135,
0.06340157985687256,
0.042255815118551254,
0.05043551325798035,
-0.032700929790735245,
0.01657371036708355,
0.02041352353990078,
-0.02584284171462059,
-0.020609978586435318,
-0.0009108396479859948,
0.022592395544052124,
-0.008885151706635952,
-0.034344013780355453,
0.025021301582455635,
-0.01296607032418251,
-0.039076805114746094,
0.01479667890816927,
-0.021467240527272224,
0.032700929790735245,
0.034754782915115356
]
|
41,799 | wield.bunch.bunch | get | Return the value for key if key is in the dictionary, else default. | def gen_func(mname):
def func(self, *args, **kwargs):
return getattr(self._mydict, mname)(*args, **kwargs)
orig_func = getattr(dict, mname)
if orig_func is None:
return
func.__name__ = orig_func.__name__
func.__doc__ = orig_func.__doc__
return func
| (self, *args, **kwargs) | [
0.04386318102478981,
-0.045720577239990234,
0.05843661352992058,
0.007014358416199684,
-0.03711225092411041,
-0.0005516942474059761,
-0.015350326895713806,
0.02673582173883915,
0.03932683914899826,
-0.021592257544398308,
-0.023538954555988312,
0.07951094210147858,
0.053114451467990875,
0.019556263461709023,
-0.02041352353990078,
-0.0006368063623085618,
0.017663145437836647,
0.03268307074904442,
-0.043005917221307755,
-0.021002890542149544,
0.026860838755965233,
0.008018961176276207,
0.04789945110678673,
-0.027360908687114716,
0.026289332658052444,
0.06654487550258636,
-0.009831709787249565,
0.030164865776896477,
0.046327803283929825,
-0.06975959986448288,
-0.06515182554721832,
-0.04357742518186569,
0.02887897379696369,
0.06811651587486267,
0.013921558856964111,
-0.05104273930191994,
-0.014314469881355762,
0.0413985550403595,
-0.13166098296642303,
-0.05829373747110367,
0.09587033838033676,
-0.003627731464803219,
0.01608256995677948,
-0.0020639002323150635,
0.019449105486273766,
-0.014064435847103596,
-0.009581675752997398,
0.0349869579076767,
0.025164177641272545,
-0.01772565394639969,
0.010796128772199154,
-0.021288644522428513,
0.032790228724479675,
0.01397513784468174,
0.005505221895873547,
0.049506813287734985,
-0.00826006568968296,
0.03595137596130371,
0.03634428605437279,
0.02537849359214306,
-0.05186428129673004,
-0.009510237723588943,
-0.030647074803709984,
-0.023628251627087593,
-0.007742136716842651,
-0.025432070717215538,
-0.042720165103673935,
-0.010376428253948689,
-0.03189724683761597,
0.00008197277929866686,
-0.00029189285123720765,
0.0052685821428895,
0.02612859569489956,
-0.0024891819339245558,
-0.0038599062245339155,
0.007701952941715717,
-0.07158128172159195,
-0.1008710265159607,
0.04600633308291435,
-0.001475649536587298,
-0.05843661352992058,
-0.07140268385410309,
-0.07008107006549835,
-0.03450474888086319,
-0.05543620139360428,
-0.02907543070614338,
0.01910977251827717,
-0.07451025396585464,
-0.0009108396479859948,
-0.025199897587299347,
-0.04868527129292488,
0.024842705577611923,
-0.021645836532115936,
0.01268924679607153,
-0.06975959986448288,
-0.07272429764270782,
0.037612318992614746,
0.04836379736661911,
0.03250447288155556,
0.033361732959747314,
0.03189724683761597,
-0.0022648207377642393,
-0.02691441774368286,
0.009331641718745232,
0.0467207171022892,
-0.04547054320573807,
-0.010858637280762196,
-0.029146868735551834,
-0.006112448405474424,
-0.0178685300052166,
-0.020145630463957787,
-0.04568485915660858,
-0.00016255027730949223,
0.01189449429512024,
0.034754782915115356,
-0.00017454969929531217,
-0.01205523032695055,
-0.0016107127303257585,
-0.01446627639234066,
0.002286028815433383,
-0.013376841321587563,
-0.017716724425554276,
-0.0034669949673116207,
-0.03589779883623123,
-0.011653389781713486,
-0.010215691290795803,
0.0422200970351696,
0.002569549949839711,
0.08058252185583115,
-0.01683267392218113,
0.015859326347708702,
0.0016207587905228138,
0.025449931621551514,
0.02846820279955864,
0.02766452170908451,
-0.003203565953299403,
0.012823193334043026,
0.01868114247918129,
0.026092877611517906,
0.07061686366796494,
-0.009626325219869614,
0.03782663494348526,
-0.028307467699050903,
0.028575360774993896,
0.0016709888586774468,
-0.04957825317978859,
0.01634153537452221,
0.06708066165447235,
-0.026271473616361618,
-0.043184515088796616,
-0.02194944955408573,
0.02870037779211998,
-0.013287543319165707,
0.017314882948994637,
-0.005290906876325607,
0.02209232561290264,
-0.004643496125936508,
0.009474517777562141,
-0.06015113368630409,
-0.040755607187747955,
0.03964831307530403,
0.05454321950674057,
-0.03961259499192238,
-0.07436737418174744,
0.0459706112742424,
-0.017886390909552574,
0.08193984627723694,
-0.05897240340709686,
0.01345720887184143,
0.03418327495455742,
-0.06290151178836823,
-0.01296607032418251,
0.015564641915261745,
0.021056469529867172,
0.08808355033397675,
0.045756299048662186,
-0.03207584470510483,
0.02518203668296337,
0.00838954746723175,
0.029325464740395546,
0.03259377181529999,
0.030968546867370605,
-0.05586482957005501,
0.003031667321920395,
0.002402116311714053,
0.007384944707155228,
0.011849844828248024,
0.035558465868234634,
-0.0063133686780929565,
0.019270509481430054,
-0.01859184354543686,
0.003627731464803219,
0.02855750173330307,
-0.014519855380058289,
0.0274859257042408,
-0.05089986324310303,
-0.050864141434431076,
0.0368979349732399,
0.05918671563267708,
0.07551039010286331,
0.006817902438342571,
0.027325188741087914,
-0.048435237258672714,
0.06207997351884842,
0.025217756628990173,
0.03521913290023804,
0.042863041162490845,
0.010662181302905083,
-0.05897240340709686,
-0.02771810069680214,
0.007000963669270277,
-0.03121858276426792,
0.016421902924776077,
0.04975684732198715,
0.006942919921129942,
-0.0009945564670488238,
0.05300729349255562,
0.029093289747834206,
-0.05440034344792366,
0.04643496125936508,
0.039684031158685684,
0.026646524667739868,
0.030914969742298126,
-0.020860014483332634,
0.06729497760534286,
-0.03964831307530403,
0.0018674444872885942,
-0.05907955765724182,
-0.025807123631238937,
-0.012885701842606068,
0.029379043728113174,
-0.021842291578650475,
0.02948620170354843,
-0.025289194658398628,
-0.0077555314637720585,
-0.019913455471396446,
0.02327105961740017,
-0.018788300454616547,
0.02059211954474449,
0.010046025738120079,
0.006840227171778679,
0.10158541053533554,
0.033593907952308655,
0.05532904341816902,
0.01334112137556076,
0.003087478457018733,
0.016725515946745872,
0.06804507970809937,
-0.03843386098742485,
0.04007694497704506,
0.027093013748526573,
-0.01491276640444994,
-0.019395526498556137,
0.054186027497053146,
-0.03161149471998215,
0.06536614149808884,
-0.04004122316837311,
-0.003799630096182227,
-0.00022896566952113062,
-0.0003217518678866327,
0.018931176513433456,
-0.017966758459806442,
-0.05150708928704262,
-0.0021174789872020483,
0.03350461274385452,
-0.03364748880267143,
0.004862276371568441,
-0.004007247742265463,
-0.04732794314622879,
-0.004462667740881443,
0.059472471475601196,
0.028218168765306473,
-0.0010754828108474612,
-0.025735685601830482,
-0.013439349830150604,
-0.023771129548549652,
0.009358431212604046,
-0.03446903079748154,
-0.026628665626049042,
-0.030736373737454414,
0.026378629729151726,
-0.00952809676527977,
-0.0029825533274561167,
0.03605853393673897,
-0.02157439850270748,
0.02194944955408573,
-0.007014358416199684,
0.006469640415161848,
0.05529332533478737,
-0.027307329699397087,
0.0316472128033638,
-0.013394700363278389,
-0.008233276195824146,
0.02569996565580368,
0.012090949341654778,
-0.04054129496216774,
-0.011599810793995857,
-0.020395664498209953,
-0.0369693748652935,
0.024235477671027184,
0.02569996565580368,
0.010465726256370544,
-0.027128733694553375,
0.008862826973199844,
-0.025967858731746674,
0.006817902438342571,
-0.008202021941542625,
-0.03384394198656082,
-0.04232725501060486,
0.011296197772026062,
-0.032558053731918335,
0.04389889910817146,
-0.08629759401082993,
-0.011037233285605907,
0.015511062927544117,
0.05575767531991005,
0.013403630815446377,
0.028361046686768532,
0.06858086585998535,
0.07593902200460434,
0.0021654765587300062,
-0.0116801792755723,
-0.01636832393705845,
-0.02050282247364521,
0.028450343757867813,
-0.05465037748217583,
-0.042434412986040115,
-0.045291949063539505,
0.013225034810602665,
-0.026807261630892754,
-0.04939965531229973,
-0.033129557967185974,
0.02884325571358204,
0.00997458677738905,
-0.026021437719464302,
0.02612859569489956,
0.01088542677462101,
0.027039434760808945,
-0.04397033900022507,
-0.04461328312754631,
0.0482209213078022,
-0.015573571436107159,
-0.03896964713931084,
0.006456245668232441,
-0.023181762546300888,
0.04472044110298157,
-0.004603311885148287,
-0.007862688973546028,
0.06375877559185028,
-0.044077493250370026,
0.01268924679607153,
-0.05225719138979912,
0.02035994455218315,
0.02650364674627781,
0.04539910703897476,
0.04025553911924362,
0.033826082944869995,
-0.028396764770150185,
-0.05014975741505623,
-0.03462976589798927,
0.033772505819797516,
-0.017707794904708862,
-0.00745638320222497,
-0.02584284171462059,
0.0482209213078022,
0.010251411236822605,
0.002728054067119956,
0.014260890893638134,
0.037612318992614746,
-0.03161149471998215,
0.008728879503905773,
-0.006862551439553499,
0.005996360909193754,
0.017850670963525772,
-0.03882677108049393,
-0.031075704842805862,
0.02055639959871769,
-0.005924922414124012,
-0.028218168765306473,
0.0003577501338440925,
0.013260753825306892,
-0.013778681866824627,
0.06608052551746368,
0.02823602966964245,
0.03525485098361969,
-0.022949587553739548,
0.02327105961740017,
0.039862629026174545,
0.0006747580482624471,
-0.048613835126161575,
-0.020020611584186554,
-0.012314194813370705,
-0.0167433749884367,
0.030504198744893074,
0.012680316343903542,
-0.06958100199699402,
-0.026575086638331413,
-0.040148381143808365,
-0.04847095534205437,
-0.026753682643175125,
0.011305127292871475,
-0.003574152709916234,
-0.009679903276264668,
-0.00768855819478631,
-0.0068000429309904575,
-0.03212942183017731,
-0.021824432536959648,
0.04682787507772446,
0.03211156278848648,
0.03796951100230217,
-0.014546644873917103,
0.017966758459806442,
-0.07965382188558578,
-0.06468747556209564,
0.02228878252208233,
0.019127631559967995,
0.017654215916991234,
-0.028593221679329872,
-0.039684031158685684,
0.011921283788979053,
0.031147142872214317,
0.026932278648018837,
0.04504191502928734,
0.02027064748108387,
-0.016680866479873657,
-0.012564228847622871,
-0.011742687784135342,
0.012635667808353901,
-0.03843386098742485,
0.05111417919397354,
-0.03889821097254753,
-0.028289606794714928,
0.018877597525715828,
-0.016439761966466904,
0.0384695790708065,
-0.06708066165447235,
-0.04232725501060486,
-0.03034346178174019,
-0.00985849928110838,
0.026557225733995438,
0.02823602966964245,
-0.022449517622590065,
-0.0022536583710461855,
-0.04839951917529106,
-0.0383981429040432,
-0.02555708959698677,
0.009822780266404152,
0.008715485222637653,
0.061258431524038315,
-0.04518479108810425,
0.04011266306042671,
0.08315429836511612,
0.007130445446819067,
-0.03718368709087372,
0.10680041462182999,
-0.004056361969560385,
-0.0211100485175848,
-0.059472471475601196,
-0.0012244988465681672,
0.033022403717041016,
-0.04647068306803703,
0.01914549246430397,
0.009028027765452862,
0.016886252909898758,
-0.03582635894417763,
0.09022670239210129,
0.01205523032695055,
0.019413385540246964,
-0.02532491460442543,
-0.0274859257042408,
0.019591981545090675,
-0.01423410139977932,
-0.02243165858089924,
-0.0263964906334877,
0.001537041855044663,
0.0068714814260602,
-0.06368733942508698,
0.04786372929811478,
0.0038599062245339155,
0.010590743273496628,
0.026628665626049042,
-0.034576188772916794,
0.04186290502548218,
0.0398983471095562,
-0.015859326347708702,
0.02795027568936348,
0.01465380284935236,
-0.03786235302686691,
-0.01749347895383835,
-0.008911941200494766,
-0.054757535457611084,
0.0640445277094841,
0.08193984627723694,
-0.015109222382307053,
-0.0331474207341671,
0.009492377750575542,
0.04043413698673248,
0.03507625684142113,
-0.01413587387651205,
-0.052971575409173965,
-0.03455832600593567,
0.009956727735698223,
-0.07247426360845566,
0.04479187726974487,
-0.01217131782323122,
0.013483998365700245,
-0.01914549246430397,
0.012028440833091736,
-0.033772505819797516,
-0.0293611828237772,
-0.006112448405474424,
-0.03886249288916588,
-0.05168568342924118,
0.025217756628990173,
0.00022310548229143023,
-0.04600633308291435,
-0.022645974531769753,
-0.006433921400457621,
-0.0768677219748497,
-0.01318038534373045,
0.04504191502928734,
-0.005246257875114679,
-0.04500619322061539,
0.0014566737227141857,
-0.02921830676496029,
0.019074054434895515,
0.029879111796617508,
0.021592257544398308,
0.040005505084991455,
0.05375739932060242,
0.015055643394589424,
-0.01579681597650051,
0.005898133385926485,
0.04157714918255806,
-0.03718368709087372,
0.03211156278848648,
-0.04554198309779167,
-0.03882677108049393,
-0.042720165103673935,
0.04764941334724426,
0.014314469881355762,
0.008862826973199844,
0.018323950469493866,
0.006322298664599657,
0.023485375568270683,
-0.006916130427271128,
-0.020574260503053665,
-0.0331474207341671,
0.006643771659582853,
-0.052542947232723236,
-0.006009755656123161,
0.007974311709403992,
-0.03825526311993599,
-0.024146180599927902,
-0.0009192113066092134,
-0.00791180320084095,
0.01537711638957262,
-0.037469442933797836,
-0.03337959572672844,
0.00029579963302239776,
-0.015314607881009579,
0.06290151178836823,
0.08379724621772766,
0.010081744752824306,
-0.06529469788074493,
0.06422312557697296,
-0.006148167420178652,
0.04661355912685394,
-0.04100564494729042,
-0.034058257937431335,
-0.0018027034820988774,
-0.02330677956342697,
0.0714741200208664,
0.004109940491616726,
-0.03721940889954567,
0.05750791355967522,
0.05772222951054573,
-0.03861245512962341,
-0.006090123672038317,
-0.030361320823431015,
-0.03896964713931084,
0.007099191192537546,
-0.03768375888466835,
0.031075704842805862,
-0.07111693173646927,
-0.028682518750429153,
-0.02093145251274109,
0.04547054320573807,
0.02393186464905739,
-0.004786373116075993,
-0.05986538156867027,
-0.03173651173710823,
-0.07429593801498413,
-0.0015225309180095792,
0.024503372609615326,
0.0033442103303968906,
-0.006255325395613909,
0.039112526923418045,
-0.027735959738492966,
-0.02139580249786377,
-0.073938749730587,
0.0072420681826770306,
-0.022020887583494186,
0.03445117175579071,
-0.008353828452527523,
0.02214590460062027,
-0.006536613684147596,
-0.021413661539554596,
0.02125292457640171,
0.031165003776550293,
-0.035272710025310516,
-0.03936256095767021,
0.034004680812358856,
0.06722353398799896,
0.03825526311993599,
-0.009795990772545338,
-0.03843386098742485,
0.012930351309478283,
0.0497211292386055,
-0.026860838755965233,
-0.03536200895905495,
-0.01238563284277916,
-0.011260478757321835,
-0.002491414314135909,
0.011537302285432816,
-0.036165691912174225,
0.052364349365234375,
0.0026767076924443245,
0.025360632687807083,
0.014939555898308754,
-0.08179697394371033,
0.005366810131818056,
0.03398682177066803,
-0.09722767025232315,
0.04282732307910919,
0.02771810069680214,
0.01502885390073061,
0.030879249796271324,
-0.04804232716560364,
-0.028807535767555237,
0.0029446016997098923,
0.025074878707528114,
-0.005143565125763416,
-0.030789950862526894,
-0.028593221679329872,
0.04629208520054817,
0.006898270919919014,
-0.028575360774993896,
0.07443881779909134,
-0.04568485915660858,
-0.020234927535057068,
0.004007247742265463,
-0.006090123672038317,
0.07493888586759567,
0.0782964900135994,
-0.05529332533478737,
-0.035326290875673294,
-0.06775932759046555,
0.033772505819797516,
-0.030700653791427612,
-0.020467102527618408,
-0.07290288805961609,
-0.025164177641272545,
-0.04807804524898529,
-0.03241517394781113,
0.003279469208791852,
-0.03343317285180092,
-0.04100564494729042,
0.009706692770123482,
-0.046184927225112915,
0.05397171527147293,
0.04229153320193291,
0.013680454343557358,
-0.09458444267511368,
-0.022020887583494186,
0.006353552918881178,
0.07108121365308762,
0.010063884779810905,
0.020752856507897377,
0.01666300743818283,
0.007099191192537546,
0.05089986324310303,
-0.011805196292698383,
0.05843661352992058,
-0.012626737356185913,
-0.013680454343557358,
0.01760956645011902,
-0.012867842800915241,
-0.016037922352552414,
0.012028440833091736,
0.006804507691413164,
-0.039862629026174545,
0.009912078268826008,
0.010412147268652916,
-0.04714934527873993,
0.032754506915807724,
-0.00850563496351242,
-0.032790228724479675,
0.0021386872977018356,
0.026557225733995438,
-0.019591981545090675,
0.026842979714274406,
0.005554335657507181,
-0.018377529457211494,
0.003357604844495654,
-0.042863041162490845,
0.03028988279402256,
-0.019038334488868713,
0.024414073675870895,
-0.027164453640580177,
-0.0026052691973745823,
0.009956727735698223,
0.056436337530612946,
0.04414893314242363,
0.04432753100991249,
-0.06525897979736328,
-0.060329731553792953,
0.0640445277094841,
0.02812887169420719,
-0.014082294888794422,
0.030218444764614105,
-0.01549320388585329,
0.003310723463073373,
-0.012215967290103436,
-0.002661080565303564,
-0.008527959696948528,
-0.046506401151418686,
-0.036219269037246704,
-0.021878011524677277,
0.015430695377290249,
0.010340709239244461,
-0.021360082551836967,
-0.01891331747174263,
-0.008827107958495617,
-0.004661355633288622,
-0.03259377181529999,
0.015564641915261745,
0.014118014834821224,
-0.016850532963871956,
0.03327243775129318,
-0.09587033838033676,
0.08758348226547241,
-0.013367910869419575,
0.08672621846199036,
0.07065258175134659,
0.008282389491796494,
0.032700929790735245,
0.03605853393673897,
0.036308567970991135,
0.06340157985687256,
0.042255815118551254,
0.05043551325798035,
-0.032700929790735245,
0.01657371036708355,
0.02041352353990078,
-0.02584284171462059,
-0.020609978586435318,
-0.0009108396479859948,
0.022592395544052124,
-0.008885151706635952,
-0.034344013780355453,
0.025021301582455635,
-0.01296607032418251,
-0.039076805114746094,
0.01479667890816927,
-0.021467240527272224,
0.032700929790735245,
0.034754782915115356
]
|
41,800 | wield.bunch.bunch | items | D.items() -> a set-like object providing a view on D's items | def gen_func(mname):
def func(self, *args, **kwargs):
return getattr(self._mydict, mname)(*args, **kwargs)
orig_func = getattr(dict, mname)
if orig_func is None:
return
func.__name__ = orig_func.__name__
func.__doc__ = orig_func.__doc__
return func
| (self, *args, **kwargs) | [
0.04386318102478981,
-0.045720577239990234,
0.05843661352992058,
0.007014358416199684,
-0.03711225092411041,
-0.0005516942474059761,
-0.015350326895713806,
0.02673582173883915,
0.03932683914899826,
-0.021592257544398308,
-0.023538954555988312,
0.07951094210147858,
0.053114451467990875,
0.019556263461709023,
-0.02041352353990078,
-0.0006368063623085618,
0.017663145437836647,
0.03268307074904442,
-0.043005917221307755,
-0.021002890542149544,
0.026860838755965233,
0.008018961176276207,
0.04789945110678673,
-0.027360908687114716,
0.026289332658052444,
0.06654487550258636,
-0.009831709787249565,
0.030164865776896477,
0.046327803283929825,
-0.06975959986448288,
-0.06515182554721832,
-0.04357742518186569,
0.02887897379696369,
0.06811651587486267,
0.013921558856964111,
-0.05104273930191994,
-0.014314469881355762,
0.0413985550403595,
-0.13166098296642303,
-0.05829373747110367,
0.09587033838033676,
-0.003627731464803219,
0.01608256995677948,
-0.0020639002323150635,
0.019449105486273766,
-0.014064435847103596,
-0.009581675752997398,
0.0349869579076767,
0.025164177641272545,
-0.01772565394639969,
0.010796128772199154,
-0.021288644522428513,
0.032790228724479675,
0.01397513784468174,
0.005505221895873547,
0.049506813287734985,
-0.00826006568968296,
0.03595137596130371,
0.03634428605437279,
0.02537849359214306,
-0.05186428129673004,
-0.009510237723588943,
-0.030647074803709984,
-0.023628251627087593,
-0.007742136716842651,
-0.025432070717215538,
-0.042720165103673935,
-0.010376428253948689,
-0.03189724683761597,
0.00008197277929866686,
-0.00029189285123720765,
0.0052685821428895,
0.02612859569489956,
-0.0024891819339245558,
-0.0038599062245339155,
0.007701952941715717,
-0.07158128172159195,
-0.1008710265159607,
0.04600633308291435,
-0.001475649536587298,
-0.05843661352992058,
-0.07140268385410309,
-0.07008107006549835,
-0.03450474888086319,
-0.05543620139360428,
-0.02907543070614338,
0.01910977251827717,
-0.07451025396585464,
-0.0009108396479859948,
-0.025199897587299347,
-0.04868527129292488,
0.024842705577611923,
-0.021645836532115936,
0.01268924679607153,
-0.06975959986448288,
-0.07272429764270782,
0.037612318992614746,
0.04836379736661911,
0.03250447288155556,
0.033361732959747314,
0.03189724683761597,
-0.0022648207377642393,
-0.02691441774368286,
0.009331641718745232,
0.0467207171022892,
-0.04547054320573807,
-0.010858637280762196,
-0.029146868735551834,
-0.006112448405474424,
-0.0178685300052166,
-0.020145630463957787,
-0.04568485915660858,
-0.00016255027730949223,
0.01189449429512024,
0.034754782915115356,
-0.00017454969929531217,
-0.01205523032695055,
-0.0016107127303257585,
-0.01446627639234066,
0.002286028815433383,
-0.013376841321587563,
-0.017716724425554276,
-0.0034669949673116207,
-0.03589779883623123,
-0.011653389781713486,
-0.010215691290795803,
0.0422200970351696,
0.002569549949839711,
0.08058252185583115,
-0.01683267392218113,
0.015859326347708702,
0.0016207587905228138,
0.025449931621551514,
0.02846820279955864,
0.02766452170908451,
-0.003203565953299403,
0.012823193334043026,
0.01868114247918129,
0.026092877611517906,
0.07061686366796494,
-0.009626325219869614,
0.03782663494348526,
-0.028307467699050903,
0.028575360774993896,
0.0016709888586774468,
-0.04957825317978859,
0.01634153537452221,
0.06708066165447235,
-0.026271473616361618,
-0.043184515088796616,
-0.02194944955408573,
0.02870037779211998,
-0.013287543319165707,
0.017314882948994637,
-0.005290906876325607,
0.02209232561290264,
-0.004643496125936508,
0.009474517777562141,
-0.06015113368630409,
-0.040755607187747955,
0.03964831307530403,
0.05454321950674057,
-0.03961259499192238,
-0.07436737418174744,
0.0459706112742424,
-0.017886390909552574,
0.08193984627723694,
-0.05897240340709686,
0.01345720887184143,
0.03418327495455742,
-0.06290151178836823,
-0.01296607032418251,
0.015564641915261745,
0.021056469529867172,
0.08808355033397675,
0.045756299048662186,
-0.03207584470510483,
0.02518203668296337,
0.00838954746723175,
0.029325464740395546,
0.03259377181529999,
0.030968546867370605,
-0.05586482957005501,
0.003031667321920395,
0.002402116311714053,
0.007384944707155228,
0.011849844828248024,
0.035558465868234634,
-0.0063133686780929565,
0.019270509481430054,
-0.01859184354543686,
0.003627731464803219,
0.02855750173330307,
-0.014519855380058289,
0.0274859257042408,
-0.05089986324310303,
-0.050864141434431076,
0.0368979349732399,
0.05918671563267708,
0.07551039010286331,
0.006817902438342571,
0.027325188741087914,
-0.048435237258672714,
0.06207997351884842,
0.025217756628990173,
0.03521913290023804,
0.042863041162490845,
0.010662181302905083,
-0.05897240340709686,
-0.02771810069680214,
0.007000963669270277,
-0.03121858276426792,
0.016421902924776077,
0.04975684732198715,
0.006942919921129942,
-0.0009945564670488238,
0.05300729349255562,
0.029093289747834206,
-0.05440034344792366,
0.04643496125936508,
0.039684031158685684,
0.026646524667739868,
0.030914969742298126,
-0.020860014483332634,
0.06729497760534286,
-0.03964831307530403,
0.0018674444872885942,
-0.05907955765724182,
-0.025807123631238937,
-0.012885701842606068,
0.029379043728113174,
-0.021842291578650475,
0.02948620170354843,
-0.025289194658398628,
-0.0077555314637720585,
-0.019913455471396446,
0.02327105961740017,
-0.018788300454616547,
0.02059211954474449,
0.010046025738120079,
0.006840227171778679,
0.10158541053533554,
0.033593907952308655,
0.05532904341816902,
0.01334112137556076,
0.003087478457018733,
0.016725515946745872,
0.06804507970809937,
-0.03843386098742485,
0.04007694497704506,
0.027093013748526573,
-0.01491276640444994,
-0.019395526498556137,
0.054186027497053146,
-0.03161149471998215,
0.06536614149808884,
-0.04004122316837311,
-0.003799630096182227,
-0.00022896566952113062,
-0.0003217518678866327,
0.018931176513433456,
-0.017966758459806442,
-0.05150708928704262,
-0.0021174789872020483,
0.03350461274385452,
-0.03364748880267143,
0.004862276371568441,
-0.004007247742265463,
-0.04732794314622879,
-0.004462667740881443,
0.059472471475601196,
0.028218168765306473,
-0.0010754828108474612,
-0.025735685601830482,
-0.013439349830150604,
-0.023771129548549652,
0.009358431212604046,
-0.03446903079748154,
-0.026628665626049042,
-0.030736373737454414,
0.026378629729151726,
-0.00952809676527977,
-0.0029825533274561167,
0.03605853393673897,
-0.02157439850270748,
0.02194944955408573,
-0.007014358416199684,
0.006469640415161848,
0.05529332533478737,
-0.027307329699397087,
0.0316472128033638,
-0.013394700363278389,
-0.008233276195824146,
0.02569996565580368,
0.012090949341654778,
-0.04054129496216774,
-0.011599810793995857,
-0.020395664498209953,
-0.0369693748652935,
0.024235477671027184,
0.02569996565580368,
0.010465726256370544,
-0.027128733694553375,
0.008862826973199844,
-0.025967858731746674,
0.006817902438342571,
-0.008202021941542625,
-0.03384394198656082,
-0.04232725501060486,
0.011296197772026062,
-0.032558053731918335,
0.04389889910817146,
-0.08629759401082993,
-0.011037233285605907,
0.015511062927544117,
0.05575767531991005,
0.013403630815446377,
0.028361046686768532,
0.06858086585998535,
0.07593902200460434,
0.0021654765587300062,
-0.0116801792755723,
-0.01636832393705845,
-0.02050282247364521,
0.028450343757867813,
-0.05465037748217583,
-0.042434412986040115,
-0.045291949063539505,
0.013225034810602665,
-0.026807261630892754,
-0.04939965531229973,
-0.033129557967185974,
0.02884325571358204,
0.00997458677738905,
-0.026021437719464302,
0.02612859569489956,
0.01088542677462101,
0.027039434760808945,
-0.04397033900022507,
-0.04461328312754631,
0.0482209213078022,
-0.015573571436107159,
-0.03896964713931084,
0.006456245668232441,
-0.023181762546300888,
0.04472044110298157,
-0.004603311885148287,
-0.007862688973546028,
0.06375877559185028,
-0.044077493250370026,
0.01268924679607153,
-0.05225719138979912,
0.02035994455218315,
0.02650364674627781,
0.04539910703897476,
0.04025553911924362,
0.033826082944869995,
-0.028396764770150185,
-0.05014975741505623,
-0.03462976589798927,
0.033772505819797516,
-0.017707794904708862,
-0.00745638320222497,
-0.02584284171462059,
0.0482209213078022,
0.010251411236822605,
0.002728054067119956,
0.014260890893638134,
0.037612318992614746,
-0.03161149471998215,
0.008728879503905773,
-0.006862551439553499,
0.005996360909193754,
0.017850670963525772,
-0.03882677108049393,
-0.031075704842805862,
0.02055639959871769,
-0.005924922414124012,
-0.028218168765306473,
0.0003577501338440925,
0.013260753825306892,
-0.013778681866824627,
0.06608052551746368,
0.02823602966964245,
0.03525485098361969,
-0.022949587553739548,
0.02327105961740017,
0.039862629026174545,
0.0006747580482624471,
-0.048613835126161575,
-0.020020611584186554,
-0.012314194813370705,
-0.0167433749884367,
0.030504198744893074,
0.012680316343903542,
-0.06958100199699402,
-0.026575086638331413,
-0.040148381143808365,
-0.04847095534205437,
-0.026753682643175125,
0.011305127292871475,
-0.003574152709916234,
-0.009679903276264668,
-0.00768855819478631,
-0.0068000429309904575,
-0.03212942183017731,
-0.021824432536959648,
0.04682787507772446,
0.03211156278848648,
0.03796951100230217,
-0.014546644873917103,
0.017966758459806442,
-0.07965382188558578,
-0.06468747556209564,
0.02228878252208233,
0.019127631559967995,
0.017654215916991234,
-0.028593221679329872,
-0.039684031158685684,
0.011921283788979053,
0.031147142872214317,
0.026932278648018837,
0.04504191502928734,
0.02027064748108387,
-0.016680866479873657,
-0.012564228847622871,
-0.011742687784135342,
0.012635667808353901,
-0.03843386098742485,
0.05111417919397354,
-0.03889821097254753,
-0.028289606794714928,
0.018877597525715828,
-0.016439761966466904,
0.0384695790708065,
-0.06708066165447235,
-0.04232725501060486,
-0.03034346178174019,
-0.00985849928110838,
0.026557225733995438,
0.02823602966964245,
-0.022449517622590065,
-0.0022536583710461855,
-0.04839951917529106,
-0.0383981429040432,
-0.02555708959698677,
0.009822780266404152,
0.008715485222637653,
0.061258431524038315,
-0.04518479108810425,
0.04011266306042671,
0.08315429836511612,
0.007130445446819067,
-0.03718368709087372,
0.10680041462182999,
-0.004056361969560385,
-0.0211100485175848,
-0.059472471475601196,
-0.0012244988465681672,
0.033022403717041016,
-0.04647068306803703,
0.01914549246430397,
0.009028027765452862,
0.016886252909898758,
-0.03582635894417763,
0.09022670239210129,
0.01205523032695055,
0.019413385540246964,
-0.02532491460442543,
-0.0274859257042408,
0.019591981545090675,
-0.01423410139977932,
-0.02243165858089924,
-0.0263964906334877,
0.001537041855044663,
0.0068714814260602,
-0.06368733942508698,
0.04786372929811478,
0.0038599062245339155,
0.010590743273496628,
0.026628665626049042,
-0.034576188772916794,
0.04186290502548218,
0.0398983471095562,
-0.015859326347708702,
0.02795027568936348,
0.01465380284935236,
-0.03786235302686691,
-0.01749347895383835,
-0.008911941200494766,
-0.054757535457611084,
0.0640445277094841,
0.08193984627723694,
-0.015109222382307053,
-0.0331474207341671,
0.009492377750575542,
0.04043413698673248,
0.03507625684142113,
-0.01413587387651205,
-0.052971575409173965,
-0.03455832600593567,
0.009956727735698223,
-0.07247426360845566,
0.04479187726974487,
-0.01217131782323122,
0.013483998365700245,
-0.01914549246430397,
0.012028440833091736,
-0.033772505819797516,
-0.0293611828237772,
-0.006112448405474424,
-0.03886249288916588,
-0.05168568342924118,
0.025217756628990173,
0.00022310548229143023,
-0.04600633308291435,
-0.022645974531769753,
-0.006433921400457621,
-0.0768677219748497,
-0.01318038534373045,
0.04504191502928734,
-0.005246257875114679,
-0.04500619322061539,
0.0014566737227141857,
-0.02921830676496029,
0.019074054434895515,
0.029879111796617508,
0.021592257544398308,
0.040005505084991455,
0.05375739932060242,
0.015055643394589424,
-0.01579681597650051,
0.005898133385926485,
0.04157714918255806,
-0.03718368709087372,
0.03211156278848648,
-0.04554198309779167,
-0.03882677108049393,
-0.042720165103673935,
0.04764941334724426,
0.014314469881355762,
0.008862826973199844,
0.018323950469493866,
0.006322298664599657,
0.023485375568270683,
-0.006916130427271128,
-0.020574260503053665,
-0.0331474207341671,
0.006643771659582853,
-0.052542947232723236,
-0.006009755656123161,
0.007974311709403992,
-0.03825526311993599,
-0.024146180599927902,
-0.0009192113066092134,
-0.00791180320084095,
0.01537711638957262,
-0.037469442933797836,
-0.03337959572672844,
0.00029579963302239776,
-0.015314607881009579,
0.06290151178836823,
0.08379724621772766,
0.010081744752824306,
-0.06529469788074493,
0.06422312557697296,
-0.006148167420178652,
0.04661355912685394,
-0.04100564494729042,
-0.034058257937431335,
-0.0018027034820988774,
-0.02330677956342697,
0.0714741200208664,
0.004109940491616726,
-0.03721940889954567,
0.05750791355967522,
0.05772222951054573,
-0.03861245512962341,
-0.006090123672038317,
-0.030361320823431015,
-0.03896964713931084,
0.007099191192537546,
-0.03768375888466835,
0.031075704842805862,
-0.07111693173646927,
-0.028682518750429153,
-0.02093145251274109,
0.04547054320573807,
0.02393186464905739,
-0.004786373116075993,
-0.05986538156867027,
-0.03173651173710823,
-0.07429593801498413,
-0.0015225309180095792,
0.024503372609615326,
0.0033442103303968906,
-0.006255325395613909,
0.039112526923418045,
-0.027735959738492966,
-0.02139580249786377,
-0.073938749730587,
0.0072420681826770306,
-0.022020887583494186,
0.03445117175579071,
-0.008353828452527523,
0.02214590460062027,
-0.006536613684147596,
-0.021413661539554596,
0.02125292457640171,
0.031165003776550293,
-0.035272710025310516,
-0.03936256095767021,
0.034004680812358856,
0.06722353398799896,
0.03825526311993599,
-0.009795990772545338,
-0.03843386098742485,
0.012930351309478283,
0.0497211292386055,
-0.026860838755965233,
-0.03536200895905495,
-0.01238563284277916,
-0.011260478757321835,
-0.002491414314135909,
0.011537302285432816,
-0.036165691912174225,
0.052364349365234375,
0.0026767076924443245,
0.025360632687807083,
0.014939555898308754,
-0.08179697394371033,
0.005366810131818056,
0.03398682177066803,
-0.09722767025232315,
0.04282732307910919,
0.02771810069680214,
0.01502885390073061,
0.030879249796271324,
-0.04804232716560364,
-0.028807535767555237,
0.0029446016997098923,
0.025074878707528114,
-0.005143565125763416,
-0.030789950862526894,
-0.028593221679329872,
0.04629208520054817,
0.006898270919919014,
-0.028575360774993896,
0.07443881779909134,
-0.04568485915660858,
-0.020234927535057068,
0.004007247742265463,
-0.006090123672038317,
0.07493888586759567,
0.0782964900135994,
-0.05529332533478737,
-0.035326290875673294,
-0.06775932759046555,
0.033772505819797516,
-0.030700653791427612,
-0.020467102527618408,
-0.07290288805961609,
-0.025164177641272545,
-0.04807804524898529,
-0.03241517394781113,
0.003279469208791852,
-0.03343317285180092,
-0.04100564494729042,
0.009706692770123482,
-0.046184927225112915,
0.05397171527147293,
0.04229153320193291,
0.013680454343557358,
-0.09458444267511368,
-0.022020887583494186,
0.006353552918881178,
0.07108121365308762,
0.010063884779810905,
0.020752856507897377,
0.01666300743818283,
0.007099191192537546,
0.05089986324310303,
-0.011805196292698383,
0.05843661352992058,
-0.012626737356185913,
-0.013680454343557358,
0.01760956645011902,
-0.012867842800915241,
-0.016037922352552414,
0.012028440833091736,
0.006804507691413164,
-0.039862629026174545,
0.009912078268826008,
0.010412147268652916,
-0.04714934527873993,
0.032754506915807724,
-0.00850563496351242,
-0.032790228724479675,
0.0021386872977018356,
0.026557225733995438,
-0.019591981545090675,
0.026842979714274406,
0.005554335657507181,
-0.018377529457211494,
0.003357604844495654,
-0.042863041162490845,
0.03028988279402256,
-0.019038334488868713,
0.024414073675870895,
-0.027164453640580177,
-0.0026052691973745823,
0.009956727735698223,
0.056436337530612946,
0.04414893314242363,
0.04432753100991249,
-0.06525897979736328,
-0.060329731553792953,
0.0640445277094841,
0.02812887169420719,
-0.014082294888794422,
0.030218444764614105,
-0.01549320388585329,
0.003310723463073373,
-0.012215967290103436,
-0.002661080565303564,
-0.008527959696948528,
-0.046506401151418686,
-0.036219269037246704,
-0.021878011524677277,
0.015430695377290249,
0.010340709239244461,
-0.021360082551836967,
-0.01891331747174263,
-0.008827107958495617,
-0.004661355633288622,
-0.03259377181529999,
0.015564641915261745,
0.014118014834821224,
-0.016850532963871956,
0.03327243775129318,
-0.09587033838033676,
0.08758348226547241,
-0.013367910869419575,
0.08672621846199036,
0.07065258175134659,
0.008282389491796494,
0.032700929790735245,
0.03605853393673897,
0.036308567970991135,
0.06340157985687256,
0.042255815118551254,
0.05043551325798035,
-0.032700929790735245,
0.01657371036708355,
0.02041352353990078,
-0.02584284171462059,
-0.020609978586435318,
-0.0009108396479859948,
0.022592395544052124,
-0.008885151706635952,
-0.034344013780355453,
0.025021301582455635,
-0.01296607032418251,
-0.039076805114746094,
0.01479667890816927,
-0.021467240527272224,
0.032700929790735245,
0.034754782915115356
]
|
41,801 | wield.bunch.bunch | keys | D.keys() -> a set-like object providing a view on D's keys | def gen_func(mname):
def func(self, *args, **kwargs):
return getattr(self._mydict, mname)(*args, **kwargs)
orig_func = getattr(dict, mname)
if orig_func is None:
return
func.__name__ = orig_func.__name__
func.__doc__ = orig_func.__doc__
return func
| (self, *args, **kwargs) | [
0.04386318102478981,
-0.045720577239990234,
0.05843661352992058,
0.007014358416199684,
-0.03711225092411041,
-0.0005516942474059761,
-0.015350326895713806,
0.02673582173883915,
0.03932683914899826,
-0.021592257544398308,
-0.023538954555988312,
0.07951094210147858,
0.053114451467990875,
0.019556263461709023,
-0.02041352353990078,
-0.0006368063623085618,
0.017663145437836647,
0.03268307074904442,
-0.043005917221307755,
-0.021002890542149544,
0.026860838755965233,
0.008018961176276207,
0.04789945110678673,
-0.027360908687114716,
0.026289332658052444,
0.06654487550258636,
-0.009831709787249565,
0.030164865776896477,
0.046327803283929825,
-0.06975959986448288,
-0.06515182554721832,
-0.04357742518186569,
0.02887897379696369,
0.06811651587486267,
0.013921558856964111,
-0.05104273930191994,
-0.014314469881355762,
0.0413985550403595,
-0.13166098296642303,
-0.05829373747110367,
0.09587033838033676,
-0.003627731464803219,
0.01608256995677948,
-0.0020639002323150635,
0.019449105486273766,
-0.014064435847103596,
-0.009581675752997398,
0.0349869579076767,
0.025164177641272545,
-0.01772565394639969,
0.010796128772199154,
-0.021288644522428513,
0.032790228724479675,
0.01397513784468174,
0.005505221895873547,
0.049506813287734985,
-0.00826006568968296,
0.03595137596130371,
0.03634428605437279,
0.02537849359214306,
-0.05186428129673004,
-0.009510237723588943,
-0.030647074803709984,
-0.023628251627087593,
-0.007742136716842651,
-0.025432070717215538,
-0.042720165103673935,
-0.010376428253948689,
-0.03189724683761597,
0.00008197277929866686,
-0.00029189285123720765,
0.0052685821428895,
0.02612859569489956,
-0.0024891819339245558,
-0.0038599062245339155,
0.007701952941715717,
-0.07158128172159195,
-0.1008710265159607,
0.04600633308291435,
-0.001475649536587298,
-0.05843661352992058,
-0.07140268385410309,
-0.07008107006549835,
-0.03450474888086319,
-0.05543620139360428,
-0.02907543070614338,
0.01910977251827717,
-0.07451025396585464,
-0.0009108396479859948,
-0.025199897587299347,
-0.04868527129292488,
0.024842705577611923,
-0.021645836532115936,
0.01268924679607153,
-0.06975959986448288,
-0.07272429764270782,
0.037612318992614746,
0.04836379736661911,
0.03250447288155556,
0.033361732959747314,
0.03189724683761597,
-0.0022648207377642393,
-0.02691441774368286,
0.009331641718745232,
0.0467207171022892,
-0.04547054320573807,
-0.010858637280762196,
-0.029146868735551834,
-0.006112448405474424,
-0.0178685300052166,
-0.020145630463957787,
-0.04568485915660858,
-0.00016255027730949223,
0.01189449429512024,
0.034754782915115356,
-0.00017454969929531217,
-0.01205523032695055,
-0.0016107127303257585,
-0.01446627639234066,
0.002286028815433383,
-0.013376841321587563,
-0.017716724425554276,
-0.0034669949673116207,
-0.03589779883623123,
-0.011653389781713486,
-0.010215691290795803,
0.0422200970351696,
0.002569549949839711,
0.08058252185583115,
-0.01683267392218113,
0.015859326347708702,
0.0016207587905228138,
0.025449931621551514,
0.02846820279955864,
0.02766452170908451,
-0.003203565953299403,
0.012823193334043026,
0.01868114247918129,
0.026092877611517906,
0.07061686366796494,
-0.009626325219869614,
0.03782663494348526,
-0.028307467699050903,
0.028575360774993896,
0.0016709888586774468,
-0.04957825317978859,
0.01634153537452221,
0.06708066165447235,
-0.026271473616361618,
-0.043184515088796616,
-0.02194944955408573,
0.02870037779211998,
-0.013287543319165707,
0.017314882948994637,
-0.005290906876325607,
0.02209232561290264,
-0.004643496125936508,
0.009474517777562141,
-0.06015113368630409,
-0.040755607187747955,
0.03964831307530403,
0.05454321950674057,
-0.03961259499192238,
-0.07436737418174744,
0.0459706112742424,
-0.017886390909552574,
0.08193984627723694,
-0.05897240340709686,
0.01345720887184143,
0.03418327495455742,
-0.06290151178836823,
-0.01296607032418251,
0.015564641915261745,
0.021056469529867172,
0.08808355033397675,
0.045756299048662186,
-0.03207584470510483,
0.02518203668296337,
0.00838954746723175,
0.029325464740395546,
0.03259377181529999,
0.030968546867370605,
-0.05586482957005501,
0.003031667321920395,
0.002402116311714053,
0.007384944707155228,
0.011849844828248024,
0.035558465868234634,
-0.0063133686780929565,
0.019270509481430054,
-0.01859184354543686,
0.003627731464803219,
0.02855750173330307,
-0.014519855380058289,
0.0274859257042408,
-0.05089986324310303,
-0.050864141434431076,
0.0368979349732399,
0.05918671563267708,
0.07551039010286331,
0.006817902438342571,
0.027325188741087914,
-0.048435237258672714,
0.06207997351884842,
0.025217756628990173,
0.03521913290023804,
0.042863041162490845,
0.010662181302905083,
-0.05897240340709686,
-0.02771810069680214,
0.007000963669270277,
-0.03121858276426792,
0.016421902924776077,
0.04975684732198715,
0.006942919921129942,
-0.0009945564670488238,
0.05300729349255562,
0.029093289747834206,
-0.05440034344792366,
0.04643496125936508,
0.039684031158685684,
0.026646524667739868,
0.030914969742298126,
-0.020860014483332634,
0.06729497760534286,
-0.03964831307530403,
0.0018674444872885942,
-0.05907955765724182,
-0.025807123631238937,
-0.012885701842606068,
0.029379043728113174,
-0.021842291578650475,
0.02948620170354843,
-0.025289194658398628,
-0.0077555314637720585,
-0.019913455471396446,
0.02327105961740017,
-0.018788300454616547,
0.02059211954474449,
0.010046025738120079,
0.006840227171778679,
0.10158541053533554,
0.033593907952308655,
0.05532904341816902,
0.01334112137556076,
0.003087478457018733,
0.016725515946745872,
0.06804507970809937,
-0.03843386098742485,
0.04007694497704506,
0.027093013748526573,
-0.01491276640444994,
-0.019395526498556137,
0.054186027497053146,
-0.03161149471998215,
0.06536614149808884,
-0.04004122316837311,
-0.003799630096182227,
-0.00022896566952113062,
-0.0003217518678866327,
0.018931176513433456,
-0.017966758459806442,
-0.05150708928704262,
-0.0021174789872020483,
0.03350461274385452,
-0.03364748880267143,
0.004862276371568441,
-0.004007247742265463,
-0.04732794314622879,
-0.004462667740881443,
0.059472471475601196,
0.028218168765306473,
-0.0010754828108474612,
-0.025735685601830482,
-0.013439349830150604,
-0.023771129548549652,
0.009358431212604046,
-0.03446903079748154,
-0.026628665626049042,
-0.030736373737454414,
0.026378629729151726,
-0.00952809676527977,
-0.0029825533274561167,
0.03605853393673897,
-0.02157439850270748,
0.02194944955408573,
-0.007014358416199684,
0.006469640415161848,
0.05529332533478737,
-0.027307329699397087,
0.0316472128033638,
-0.013394700363278389,
-0.008233276195824146,
0.02569996565580368,
0.012090949341654778,
-0.04054129496216774,
-0.011599810793995857,
-0.020395664498209953,
-0.0369693748652935,
0.024235477671027184,
0.02569996565580368,
0.010465726256370544,
-0.027128733694553375,
0.008862826973199844,
-0.025967858731746674,
0.006817902438342571,
-0.008202021941542625,
-0.03384394198656082,
-0.04232725501060486,
0.011296197772026062,
-0.032558053731918335,
0.04389889910817146,
-0.08629759401082993,
-0.011037233285605907,
0.015511062927544117,
0.05575767531991005,
0.013403630815446377,
0.028361046686768532,
0.06858086585998535,
0.07593902200460434,
0.0021654765587300062,
-0.0116801792755723,
-0.01636832393705845,
-0.02050282247364521,
0.028450343757867813,
-0.05465037748217583,
-0.042434412986040115,
-0.045291949063539505,
0.013225034810602665,
-0.026807261630892754,
-0.04939965531229973,
-0.033129557967185974,
0.02884325571358204,
0.00997458677738905,
-0.026021437719464302,
0.02612859569489956,
0.01088542677462101,
0.027039434760808945,
-0.04397033900022507,
-0.04461328312754631,
0.0482209213078022,
-0.015573571436107159,
-0.03896964713931084,
0.006456245668232441,
-0.023181762546300888,
0.04472044110298157,
-0.004603311885148287,
-0.007862688973546028,
0.06375877559185028,
-0.044077493250370026,
0.01268924679607153,
-0.05225719138979912,
0.02035994455218315,
0.02650364674627781,
0.04539910703897476,
0.04025553911924362,
0.033826082944869995,
-0.028396764770150185,
-0.05014975741505623,
-0.03462976589798927,
0.033772505819797516,
-0.017707794904708862,
-0.00745638320222497,
-0.02584284171462059,
0.0482209213078022,
0.010251411236822605,
0.002728054067119956,
0.014260890893638134,
0.037612318992614746,
-0.03161149471998215,
0.008728879503905773,
-0.006862551439553499,
0.005996360909193754,
0.017850670963525772,
-0.03882677108049393,
-0.031075704842805862,
0.02055639959871769,
-0.005924922414124012,
-0.028218168765306473,
0.0003577501338440925,
0.013260753825306892,
-0.013778681866824627,
0.06608052551746368,
0.02823602966964245,
0.03525485098361969,
-0.022949587553739548,
0.02327105961740017,
0.039862629026174545,
0.0006747580482624471,
-0.048613835126161575,
-0.020020611584186554,
-0.012314194813370705,
-0.0167433749884367,
0.030504198744893074,
0.012680316343903542,
-0.06958100199699402,
-0.026575086638331413,
-0.040148381143808365,
-0.04847095534205437,
-0.026753682643175125,
0.011305127292871475,
-0.003574152709916234,
-0.009679903276264668,
-0.00768855819478631,
-0.0068000429309904575,
-0.03212942183017731,
-0.021824432536959648,
0.04682787507772446,
0.03211156278848648,
0.03796951100230217,
-0.014546644873917103,
0.017966758459806442,
-0.07965382188558578,
-0.06468747556209564,
0.02228878252208233,
0.019127631559967995,
0.017654215916991234,
-0.028593221679329872,
-0.039684031158685684,
0.011921283788979053,
0.031147142872214317,
0.026932278648018837,
0.04504191502928734,
0.02027064748108387,
-0.016680866479873657,
-0.012564228847622871,
-0.011742687784135342,
0.012635667808353901,
-0.03843386098742485,
0.05111417919397354,
-0.03889821097254753,
-0.028289606794714928,
0.018877597525715828,
-0.016439761966466904,
0.0384695790708065,
-0.06708066165447235,
-0.04232725501060486,
-0.03034346178174019,
-0.00985849928110838,
0.026557225733995438,
0.02823602966964245,
-0.022449517622590065,
-0.0022536583710461855,
-0.04839951917529106,
-0.0383981429040432,
-0.02555708959698677,
0.009822780266404152,
0.008715485222637653,
0.061258431524038315,
-0.04518479108810425,
0.04011266306042671,
0.08315429836511612,
0.007130445446819067,
-0.03718368709087372,
0.10680041462182999,
-0.004056361969560385,
-0.0211100485175848,
-0.059472471475601196,
-0.0012244988465681672,
0.033022403717041016,
-0.04647068306803703,
0.01914549246430397,
0.009028027765452862,
0.016886252909898758,
-0.03582635894417763,
0.09022670239210129,
0.01205523032695055,
0.019413385540246964,
-0.02532491460442543,
-0.0274859257042408,
0.019591981545090675,
-0.01423410139977932,
-0.02243165858089924,
-0.0263964906334877,
0.001537041855044663,
0.0068714814260602,
-0.06368733942508698,
0.04786372929811478,
0.0038599062245339155,
0.010590743273496628,
0.026628665626049042,
-0.034576188772916794,
0.04186290502548218,
0.0398983471095562,
-0.015859326347708702,
0.02795027568936348,
0.01465380284935236,
-0.03786235302686691,
-0.01749347895383835,
-0.008911941200494766,
-0.054757535457611084,
0.0640445277094841,
0.08193984627723694,
-0.015109222382307053,
-0.0331474207341671,
0.009492377750575542,
0.04043413698673248,
0.03507625684142113,
-0.01413587387651205,
-0.052971575409173965,
-0.03455832600593567,
0.009956727735698223,
-0.07247426360845566,
0.04479187726974487,
-0.01217131782323122,
0.013483998365700245,
-0.01914549246430397,
0.012028440833091736,
-0.033772505819797516,
-0.0293611828237772,
-0.006112448405474424,
-0.03886249288916588,
-0.05168568342924118,
0.025217756628990173,
0.00022310548229143023,
-0.04600633308291435,
-0.022645974531769753,
-0.006433921400457621,
-0.0768677219748497,
-0.01318038534373045,
0.04504191502928734,
-0.005246257875114679,
-0.04500619322061539,
0.0014566737227141857,
-0.02921830676496029,
0.019074054434895515,
0.029879111796617508,
0.021592257544398308,
0.040005505084991455,
0.05375739932060242,
0.015055643394589424,
-0.01579681597650051,
0.005898133385926485,
0.04157714918255806,
-0.03718368709087372,
0.03211156278848648,
-0.04554198309779167,
-0.03882677108049393,
-0.042720165103673935,
0.04764941334724426,
0.014314469881355762,
0.008862826973199844,
0.018323950469493866,
0.006322298664599657,
0.023485375568270683,
-0.006916130427271128,
-0.020574260503053665,
-0.0331474207341671,
0.006643771659582853,
-0.052542947232723236,
-0.006009755656123161,
0.007974311709403992,
-0.03825526311993599,
-0.024146180599927902,
-0.0009192113066092134,
-0.00791180320084095,
0.01537711638957262,
-0.037469442933797836,
-0.03337959572672844,
0.00029579963302239776,
-0.015314607881009579,
0.06290151178836823,
0.08379724621772766,
0.010081744752824306,
-0.06529469788074493,
0.06422312557697296,
-0.006148167420178652,
0.04661355912685394,
-0.04100564494729042,
-0.034058257937431335,
-0.0018027034820988774,
-0.02330677956342697,
0.0714741200208664,
0.004109940491616726,
-0.03721940889954567,
0.05750791355967522,
0.05772222951054573,
-0.03861245512962341,
-0.006090123672038317,
-0.030361320823431015,
-0.03896964713931084,
0.007099191192537546,
-0.03768375888466835,
0.031075704842805862,
-0.07111693173646927,
-0.028682518750429153,
-0.02093145251274109,
0.04547054320573807,
0.02393186464905739,
-0.004786373116075993,
-0.05986538156867027,
-0.03173651173710823,
-0.07429593801498413,
-0.0015225309180095792,
0.024503372609615326,
0.0033442103303968906,
-0.006255325395613909,
0.039112526923418045,
-0.027735959738492966,
-0.02139580249786377,
-0.073938749730587,
0.0072420681826770306,
-0.022020887583494186,
0.03445117175579071,
-0.008353828452527523,
0.02214590460062027,
-0.006536613684147596,
-0.021413661539554596,
0.02125292457640171,
0.031165003776550293,
-0.035272710025310516,
-0.03936256095767021,
0.034004680812358856,
0.06722353398799896,
0.03825526311993599,
-0.009795990772545338,
-0.03843386098742485,
0.012930351309478283,
0.0497211292386055,
-0.026860838755965233,
-0.03536200895905495,
-0.01238563284277916,
-0.011260478757321835,
-0.002491414314135909,
0.011537302285432816,
-0.036165691912174225,
0.052364349365234375,
0.0026767076924443245,
0.025360632687807083,
0.014939555898308754,
-0.08179697394371033,
0.005366810131818056,
0.03398682177066803,
-0.09722767025232315,
0.04282732307910919,
0.02771810069680214,
0.01502885390073061,
0.030879249796271324,
-0.04804232716560364,
-0.028807535767555237,
0.0029446016997098923,
0.025074878707528114,
-0.005143565125763416,
-0.030789950862526894,
-0.028593221679329872,
0.04629208520054817,
0.006898270919919014,
-0.028575360774993896,
0.07443881779909134,
-0.04568485915660858,
-0.020234927535057068,
0.004007247742265463,
-0.006090123672038317,
0.07493888586759567,
0.0782964900135994,
-0.05529332533478737,
-0.035326290875673294,
-0.06775932759046555,
0.033772505819797516,
-0.030700653791427612,
-0.020467102527618408,
-0.07290288805961609,
-0.025164177641272545,
-0.04807804524898529,
-0.03241517394781113,
0.003279469208791852,
-0.03343317285180092,
-0.04100564494729042,
0.009706692770123482,
-0.046184927225112915,
0.05397171527147293,
0.04229153320193291,
0.013680454343557358,
-0.09458444267511368,
-0.022020887583494186,
0.006353552918881178,
0.07108121365308762,
0.010063884779810905,
0.020752856507897377,
0.01666300743818283,
0.007099191192537546,
0.05089986324310303,
-0.011805196292698383,
0.05843661352992058,
-0.012626737356185913,
-0.013680454343557358,
0.01760956645011902,
-0.012867842800915241,
-0.016037922352552414,
0.012028440833091736,
0.006804507691413164,
-0.039862629026174545,
0.009912078268826008,
0.010412147268652916,
-0.04714934527873993,
0.032754506915807724,
-0.00850563496351242,
-0.032790228724479675,
0.0021386872977018356,
0.026557225733995438,
-0.019591981545090675,
0.026842979714274406,
0.005554335657507181,
-0.018377529457211494,
0.003357604844495654,
-0.042863041162490845,
0.03028988279402256,
-0.019038334488868713,
0.024414073675870895,
-0.027164453640580177,
-0.0026052691973745823,
0.009956727735698223,
0.056436337530612946,
0.04414893314242363,
0.04432753100991249,
-0.06525897979736328,
-0.060329731553792953,
0.0640445277094841,
0.02812887169420719,
-0.014082294888794422,
0.030218444764614105,
-0.01549320388585329,
0.003310723463073373,
-0.012215967290103436,
-0.002661080565303564,
-0.008527959696948528,
-0.046506401151418686,
-0.036219269037246704,
-0.021878011524677277,
0.015430695377290249,
0.010340709239244461,
-0.021360082551836967,
-0.01891331747174263,
-0.008827107958495617,
-0.004661355633288622,
-0.03259377181529999,
0.015564641915261745,
0.014118014834821224,
-0.016850532963871956,
0.03327243775129318,
-0.09587033838033676,
0.08758348226547241,
-0.013367910869419575,
0.08672621846199036,
0.07065258175134659,
0.008282389491796494,
0.032700929790735245,
0.03605853393673897,
0.036308567970991135,
0.06340157985687256,
0.042255815118551254,
0.05043551325798035,
-0.032700929790735245,
0.01657371036708355,
0.02041352353990078,
-0.02584284171462059,
-0.020609978586435318,
-0.0009108396479859948,
0.022592395544052124,
-0.008885151706635952,
-0.034344013780355453,
0.025021301582455635,
-0.01296607032418251,
-0.039076805114746094,
0.01479667890816927,
-0.021467240527272224,
0.032700929790735245,
0.034754782915115356
]
|
41,802 | wield.bunch.bunch | pop | D.pop(k[,d]) -> v, remove specified key and return the corresponding value.
If the key is not found, return the default if given; otherwise,
raise a KeyError. | def gen_func(mname):
def func(self, *args, **kwargs):
return getattr(self._mydict, mname)(*args, **kwargs)
orig_func = getattr(dict, mname)
if orig_func is None:
return
func.__name__ = orig_func.__name__
func.__doc__ = orig_func.__doc__
return func
| (self, *args, **kwargs) | [
0.04386318102478981,
-0.045720577239990234,
0.05843661352992058,
0.007014358416199684,
-0.03711225092411041,
-0.0005516942474059761,
-0.015350326895713806,
0.02673582173883915,
0.03932683914899826,
-0.021592257544398308,
-0.023538954555988312,
0.07951094210147858,
0.053114451467990875,
0.019556263461709023,
-0.02041352353990078,
-0.0006368063623085618,
0.017663145437836647,
0.03268307074904442,
-0.043005917221307755,
-0.021002890542149544,
0.026860838755965233,
0.008018961176276207,
0.04789945110678673,
-0.027360908687114716,
0.026289332658052444,
0.06654487550258636,
-0.009831709787249565,
0.030164865776896477,
0.046327803283929825,
-0.06975959986448288,
-0.06515182554721832,
-0.04357742518186569,
0.02887897379696369,
0.06811651587486267,
0.013921558856964111,
-0.05104273930191994,
-0.014314469881355762,
0.0413985550403595,
-0.13166098296642303,
-0.05829373747110367,
0.09587033838033676,
-0.003627731464803219,
0.01608256995677948,
-0.0020639002323150635,
0.019449105486273766,
-0.014064435847103596,
-0.009581675752997398,
0.0349869579076767,
0.025164177641272545,
-0.01772565394639969,
0.010796128772199154,
-0.021288644522428513,
0.032790228724479675,
0.01397513784468174,
0.005505221895873547,
0.049506813287734985,
-0.00826006568968296,
0.03595137596130371,
0.03634428605437279,
0.02537849359214306,
-0.05186428129673004,
-0.009510237723588943,
-0.030647074803709984,
-0.023628251627087593,
-0.007742136716842651,
-0.025432070717215538,
-0.042720165103673935,
-0.010376428253948689,
-0.03189724683761597,
0.00008197277929866686,
-0.00029189285123720765,
0.0052685821428895,
0.02612859569489956,
-0.0024891819339245558,
-0.0038599062245339155,
0.007701952941715717,
-0.07158128172159195,
-0.1008710265159607,
0.04600633308291435,
-0.001475649536587298,
-0.05843661352992058,
-0.07140268385410309,
-0.07008107006549835,
-0.03450474888086319,
-0.05543620139360428,
-0.02907543070614338,
0.01910977251827717,
-0.07451025396585464,
-0.0009108396479859948,
-0.025199897587299347,
-0.04868527129292488,
0.024842705577611923,
-0.021645836532115936,
0.01268924679607153,
-0.06975959986448288,
-0.07272429764270782,
0.037612318992614746,
0.04836379736661911,
0.03250447288155556,
0.033361732959747314,
0.03189724683761597,
-0.0022648207377642393,
-0.02691441774368286,
0.009331641718745232,
0.0467207171022892,
-0.04547054320573807,
-0.010858637280762196,
-0.029146868735551834,
-0.006112448405474424,
-0.0178685300052166,
-0.020145630463957787,
-0.04568485915660858,
-0.00016255027730949223,
0.01189449429512024,
0.034754782915115356,
-0.00017454969929531217,
-0.01205523032695055,
-0.0016107127303257585,
-0.01446627639234066,
0.002286028815433383,
-0.013376841321587563,
-0.017716724425554276,
-0.0034669949673116207,
-0.03589779883623123,
-0.011653389781713486,
-0.010215691290795803,
0.0422200970351696,
0.002569549949839711,
0.08058252185583115,
-0.01683267392218113,
0.015859326347708702,
0.0016207587905228138,
0.025449931621551514,
0.02846820279955864,
0.02766452170908451,
-0.003203565953299403,
0.012823193334043026,
0.01868114247918129,
0.026092877611517906,
0.07061686366796494,
-0.009626325219869614,
0.03782663494348526,
-0.028307467699050903,
0.028575360774993896,
0.0016709888586774468,
-0.04957825317978859,
0.01634153537452221,
0.06708066165447235,
-0.026271473616361618,
-0.043184515088796616,
-0.02194944955408573,
0.02870037779211998,
-0.013287543319165707,
0.017314882948994637,
-0.005290906876325607,
0.02209232561290264,
-0.004643496125936508,
0.009474517777562141,
-0.06015113368630409,
-0.040755607187747955,
0.03964831307530403,
0.05454321950674057,
-0.03961259499192238,
-0.07436737418174744,
0.0459706112742424,
-0.017886390909552574,
0.08193984627723694,
-0.05897240340709686,
0.01345720887184143,
0.03418327495455742,
-0.06290151178836823,
-0.01296607032418251,
0.015564641915261745,
0.021056469529867172,
0.08808355033397675,
0.045756299048662186,
-0.03207584470510483,
0.02518203668296337,
0.00838954746723175,
0.029325464740395546,
0.03259377181529999,
0.030968546867370605,
-0.05586482957005501,
0.003031667321920395,
0.002402116311714053,
0.007384944707155228,
0.011849844828248024,
0.035558465868234634,
-0.0063133686780929565,
0.019270509481430054,
-0.01859184354543686,
0.003627731464803219,
0.02855750173330307,
-0.014519855380058289,
0.0274859257042408,
-0.05089986324310303,
-0.050864141434431076,
0.0368979349732399,
0.05918671563267708,
0.07551039010286331,
0.006817902438342571,
0.027325188741087914,
-0.048435237258672714,
0.06207997351884842,
0.025217756628990173,
0.03521913290023804,
0.042863041162490845,
0.010662181302905083,
-0.05897240340709686,
-0.02771810069680214,
0.007000963669270277,
-0.03121858276426792,
0.016421902924776077,
0.04975684732198715,
0.006942919921129942,
-0.0009945564670488238,
0.05300729349255562,
0.029093289747834206,
-0.05440034344792366,
0.04643496125936508,
0.039684031158685684,
0.026646524667739868,
0.030914969742298126,
-0.020860014483332634,
0.06729497760534286,
-0.03964831307530403,
0.0018674444872885942,
-0.05907955765724182,
-0.025807123631238937,
-0.012885701842606068,
0.029379043728113174,
-0.021842291578650475,
0.02948620170354843,
-0.025289194658398628,
-0.0077555314637720585,
-0.019913455471396446,
0.02327105961740017,
-0.018788300454616547,
0.02059211954474449,
0.010046025738120079,
0.006840227171778679,
0.10158541053533554,
0.033593907952308655,
0.05532904341816902,
0.01334112137556076,
0.003087478457018733,
0.016725515946745872,
0.06804507970809937,
-0.03843386098742485,
0.04007694497704506,
0.027093013748526573,
-0.01491276640444994,
-0.019395526498556137,
0.054186027497053146,
-0.03161149471998215,
0.06536614149808884,
-0.04004122316837311,
-0.003799630096182227,
-0.00022896566952113062,
-0.0003217518678866327,
0.018931176513433456,
-0.017966758459806442,
-0.05150708928704262,
-0.0021174789872020483,
0.03350461274385452,
-0.03364748880267143,
0.004862276371568441,
-0.004007247742265463,
-0.04732794314622879,
-0.004462667740881443,
0.059472471475601196,
0.028218168765306473,
-0.0010754828108474612,
-0.025735685601830482,
-0.013439349830150604,
-0.023771129548549652,
0.009358431212604046,
-0.03446903079748154,
-0.026628665626049042,
-0.030736373737454414,
0.026378629729151726,
-0.00952809676527977,
-0.0029825533274561167,
0.03605853393673897,
-0.02157439850270748,
0.02194944955408573,
-0.007014358416199684,
0.006469640415161848,
0.05529332533478737,
-0.027307329699397087,
0.0316472128033638,
-0.013394700363278389,
-0.008233276195824146,
0.02569996565580368,
0.012090949341654778,
-0.04054129496216774,
-0.011599810793995857,
-0.020395664498209953,
-0.0369693748652935,
0.024235477671027184,
0.02569996565580368,
0.010465726256370544,
-0.027128733694553375,
0.008862826973199844,
-0.025967858731746674,
0.006817902438342571,
-0.008202021941542625,
-0.03384394198656082,
-0.04232725501060486,
0.011296197772026062,
-0.032558053731918335,
0.04389889910817146,
-0.08629759401082993,
-0.011037233285605907,
0.015511062927544117,
0.05575767531991005,
0.013403630815446377,
0.028361046686768532,
0.06858086585998535,
0.07593902200460434,
0.0021654765587300062,
-0.0116801792755723,
-0.01636832393705845,
-0.02050282247364521,
0.028450343757867813,
-0.05465037748217583,
-0.042434412986040115,
-0.045291949063539505,
0.013225034810602665,
-0.026807261630892754,
-0.04939965531229973,
-0.033129557967185974,
0.02884325571358204,
0.00997458677738905,
-0.026021437719464302,
0.02612859569489956,
0.01088542677462101,
0.027039434760808945,
-0.04397033900022507,
-0.04461328312754631,
0.0482209213078022,
-0.015573571436107159,
-0.03896964713931084,
0.006456245668232441,
-0.023181762546300888,
0.04472044110298157,
-0.004603311885148287,
-0.007862688973546028,
0.06375877559185028,
-0.044077493250370026,
0.01268924679607153,
-0.05225719138979912,
0.02035994455218315,
0.02650364674627781,
0.04539910703897476,
0.04025553911924362,
0.033826082944869995,
-0.028396764770150185,
-0.05014975741505623,
-0.03462976589798927,
0.033772505819797516,
-0.017707794904708862,
-0.00745638320222497,
-0.02584284171462059,
0.0482209213078022,
0.010251411236822605,
0.002728054067119956,
0.014260890893638134,
0.037612318992614746,
-0.03161149471998215,
0.008728879503905773,
-0.006862551439553499,
0.005996360909193754,
0.017850670963525772,
-0.03882677108049393,
-0.031075704842805862,
0.02055639959871769,
-0.005924922414124012,
-0.028218168765306473,
0.0003577501338440925,
0.013260753825306892,
-0.013778681866824627,
0.06608052551746368,
0.02823602966964245,
0.03525485098361969,
-0.022949587553739548,
0.02327105961740017,
0.039862629026174545,
0.0006747580482624471,
-0.048613835126161575,
-0.020020611584186554,
-0.012314194813370705,
-0.0167433749884367,
0.030504198744893074,
0.012680316343903542,
-0.06958100199699402,
-0.026575086638331413,
-0.040148381143808365,
-0.04847095534205437,
-0.026753682643175125,
0.011305127292871475,
-0.003574152709916234,
-0.009679903276264668,
-0.00768855819478631,
-0.0068000429309904575,
-0.03212942183017731,
-0.021824432536959648,
0.04682787507772446,
0.03211156278848648,
0.03796951100230217,
-0.014546644873917103,
0.017966758459806442,
-0.07965382188558578,
-0.06468747556209564,
0.02228878252208233,
0.019127631559967995,
0.017654215916991234,
-0.028593221679329872,
-0.039684031158685684,
0.011921283788979053,
0.031147142872214317,
0.026932278648018837,
0.04504191502928734,
0.02027064748108387,
-0.016680866479873657,
-0.012564228847622871,
-0.011742687784135342,
0.012635667808353901,
-0.03843386098742485,
0.05111417919397354,
-0.03889821097254753,
-0.028289606794714928,
0.018877597525715828,
-0.016439761966466904,
0.0384695790708065,
-0.06708066165447235,
-0.04232725501060486,
-0.03034346178174019,
-0.00985849928110838,
0.026557225733995438,
0.02823602966964245,
-0.022449517622590065,
-0.0022536583710461855,
-0.04839951917529106,
-0.0383981429040432,
-0.02555708959698677,
0.009822780266404152,
0.008715485222637653,
0.061258431524038315,
-0.04518479108810425,
0.04011266306042671,
0.08315429836511612,
0.007130445446819067,
-0.03718368709087372,
0.10680041462182999,
-0.004056361969560385,
-0.0211100485175848,
-0.059472471475601196,
-0.0012244988465681672,
0.033022403717041016,
-0.04647068306803703,
0.01914549246430397,
0.009028027765452862,
0.016886252909898758,
-0.03582635894417763,
0.09022670239210129,
0.01205523032695055,
0.019413385540246964,
-0.02532491460442543,
-0.0274859257042408,
0.019591981545090675,
-0.01423410139977932,
-0.02243165858089924,
-0.0263964906334877,
0.001537041855044663,
0.0068714814260602,
-0.06368733942508698,
0.04786372929811478,
0.0038599062245339155,
0.010590743273496628,
0.026628665626049042,
-0.034576188772916794,
0.04186290502548218,
0.0398983471095562,
-0.015859326347708702,
0.02795027568936348,
0.01465380284935236,
-0.03786235302686691,
-0.01749347895383835,
-0.008911941200494766,
-0.054757535457611084,
0.0640445277094841,
0.08193984627723694,
-0.015109222382307053,
-0.0331474207341671,
0.009492377750575542,
0.04043413698673248,
0.03507625684142113,
-0.01413587387651205,
-0.052971575409173965,
-0.03455832600593567,
0.009956727735698223,
-0.07247426360845566,
0.04479187726974487,
-0.01217131782323122,
0.013483998365700245,
-0.01914549246430397,
0.012028440833091736,
-0.033772505819797516,
-0.0293611828237772,
-0.006112448405474424,
-0.03886249288916588,
-0.05168568342924118,
0.025217756628990173,
0.00022310548229143023,
-0.04600633308291435,
-0.022645974531769753,
-0.006433921400457621,
-0.0768677219748497,
-0.01318038534373045,
0.04504191502928734,
-0.005246257875114679,
-0.04500619322061539,
0.0014566737227141857,
-0.02921830676496029,
0.019074054434895515,
0.029879111796617508,
0.021592257544398308,
0.040005505084991455,
0.05375739932060242,
0.015055643394589424,
-0.01579681597650051,
0.005898133385926485,
0.04157714918255806,
-0.03718368709087372,
0.03211156278848648,
-0.04554198309779167,
-0.03882677108049393,
-0.042720165103673935,
0.04764941334724426,
0.014314469881355762,
0.008862826973199844,
0.018323950469493866,
0.006322298664599657,
0.023485375568270683,
-0.006916130427271128,
-0.020574260503053665,
-0.0331474207341671,
0.006643771659582853,
-0.052542947232723236,
-0.006009755656123161,
0.007974311709403992,
-0.03825526311993599,
-0.024146180599927902,
-0.0009192113066092134,
-0.00791180320084095,
0.01537711638957262,
-0.037469442933797836,
-0.03337959572672844,
0.00029579963302239776,
-0.015314607881009579,
0.06290151178836823,
0.08379724621772766,
0.010081744752824306,
-0.06529469788074493,
0.06422312557697296,
-0.006148167420178652,
0.04661355912685394,
-0.04100564494729042,
-0.034058257937431335,
-0.0018027034820988774,
-0.02330677956342697,
0.0714741200208664,
0.004109940491616726,
-0.03721940889954567,
0.05750791355967522,
0.05772222951054573,
-0.03861245512962341,
-0.006090123672038317,
-0.030361320823431015,
-0.03896964713931084,
0.007099191192537546,
-0.03768375888466835,
0.031075704842805862,
-0.07111693173646927,
-0.028682518750429153,
-0.02093145251274109,
0.04547054320573807,
0.02393186464905739,
-0.004786373116075993,
-0.05986538156867027,
-0.03173651173710823,
-0.07429593801498413,
-0.0015225309180095792,
0.024503372609615326,
0.0033442103303968906,
-0.006255325395613909,
0.039112526923418045,
-0.027735959738492966,
-0.02139580249786377,
-0.073938749730587,
0.0072420681826770306,
-0.022020887583494186,
0.03445117175579071,
-0.008353828452527523,
0.02214590460062027,
-0.006536613684147596,
-0.021413661539554596,
0.02125292457640171,
0.031165003776550293,
-0.035272710025310516,
-0.03936256095767021,
0.034004680812358856,
0.06722353398799896,
0.03825526311993599,
-0.009795990772545338,
-0.03843386098742485,
0.012930351309478283,
0.0497211292386055,
-0.026860838755965233,
-0.03536200895905495,
-0.01238563284277916,
-0.011260478757321835,
-0.002491414314135909,
0.011537302285432816,
-0.036165691912174225,
0.052364349365234375,
0.0026767076924443245,
0.025360632687807083,
0.014939555898308754,
-0.08179697394371033,
0.005366810131818056,
0.03398682177066803,
-0.09722767025232315,
0.04282732307910919,
0.02771810069680214,
0.01502885390073061,
0.030879249796271324,
-0.04804232716560364,
-0.028807535767555237,
0.0029446016997098923,
0.025074878707528114,
-0.005143565125763416,
-0.030789950862526894,
-0.028593221679329872,
0.04629208520054817,
0.006898270919919014,
-0.028575360774993896,
0.07443881779909134,
-0.04568485915660858,
-0.020234927535057068,
0.004007247742265463,
-0.006090123672038317,
0.07493888586759567,
0.0782964900135994,
-0.05529332533478737,
-0.035326290875673294,
-0.06775932759046555,
0.033772505819797516,
-0.030700653791427612,
-0.020467102527618408,
-0.07290288805961609,
-0.025164177641272545,
-0.04807804524898529,
-0.03241517394781113,
0.003279469208791852,
-0.03343317285180092,
-0.04100564494729042,
0.009706692770123482,
-0.046184927225112915,
0.05397171527147293,
0.04229153320193291,
0.013680454343557358,
-0.09458444267511368,
-0.022020887583494186,
0.006353552918881178,
0.07108121365308762,
0.010063884779810905,
0.020752856507897377,
0.01666300743818283,
0.007099191192537546,
0.05089986324310303,
-0.011805196292698383,
0.05843661352992058,
-0.012626737356185913,
-0.013680454343557358,
0.01760956645011902,
-0.012867842800915241,
-0.016037922352552414,
0.012028440833091736,
0.006804507691413164,
-0.039862629026174545,
0.009912078268826008,
0.010412147268652916,
-0.04714934527873993,
0.032754506915807724,
-0.00850563496351242,
-0.032790228724479675,
0.0021386872977018356,
0.026557225733995438,
-0.019591981545090675,
0.026842979714274406,
0.005554335657507181,
-0.018377529457211494,
0.003357604844495654,
-0.042863041162490845,
0.03028988279402256,
-0.019038334488868713,
0.024414073675870895,
-0.027164453640580177,
-0.0026052691973745823,
0.009956727735698223,
0.056436337530612946,
0.04414893314242363,
0.04432753100991249,
-0.06525897979736328,
-0.060329731553792953,
0.0640445277094841,
0.02812887169420719,
-0.014082294888794422,
0.030218444764614105,
-0.01549320388585329,
0.003310723463073373,
-0.012215967290103436,
-0.002661080565303564,
-0.008527959696948528,
-0.046506401151418686,
-0.036219269037246704,
-0.021878011524677277,
0.015430695377290249,
0.010340709239244461,
-0.021360082551836967,
-0.01891331747174263,
-0.008827107958495617,
-0.004661355633288622,
-0.03259377181529999,
0.015564641915261745,
0.014118014834821224,
-0.016850532963871956,
0.03327243775129318,
-0.09587033838033676,
0.08758348226547241,
-0.013367910869419575,
0.08672621846199036,
0.07065258175134659,
0.008282389491796494,
0.032700929790735245,
0.03605853393673897,
0.036308567970991135,
0.06340157985687256,
0.042255815118551254,
0.05043551325798035,
-0.032700929790735245,
0.01657371036708355,
0.02041352353990078,
-0.02584284171462059,
-0.020609978586435318,
-0.0009108396479859948,
0.022592395544052124,
-0.008885151706635952,
-0.034344013780355453,
0.025021301582455635,
-0.01296607032418251,
-0.039076805114746094,
0.01479667890816927,
-0.021467240527272224,
0.032700929790735245,
0.034754782915115356
]
|
41,803 | wield.bunch.bunch | popitem | Remove and return a (key, value) pair as a 2-tuple.
Pairs are returned in LIFO (last-in, first-out) order.
Raises KeyError if the dict is empty. | def gen_func(mname):
def func(self, *args, **kwargs):
return getattr(self._mydict, mname)(*args, **kwargs)
orig_func = getattr(dict, mname)
if orig_func is None:
return
func.__name__ = orig_func.__name__
func.__doc__ = orig_func.__doc__
return func
| (self, *args, **kwargs) | [
0.04386318102478981,
-0.045720577239990234,
0.05843661352992058,
0.007014358416199684,
-0.03711225092411041,
-0.0005516942474059761,
-0.015350326895713806,
0.02673582173883915,
0.03932683914899826,
-0.021592257544398308,
-0.023538954555988312,
0.07951094210147858,
0.053114451467990875,
0.019556263461709023,
-0.02041352353990078,
-0.0006368063623085618,
0.017663145437836647,
0.03268307074904442,
-0.043005917221307755,
-0.021002890542149544,
0.026860838755965233,
0.008018961176276207,
0.04789945110678673,
-0.027360908687114716,
0.026289332658052444,
0.06654487550258636,
-0.009831709787249565,
0.030164865776896477,
0.046327803283929825,
-0.06975959986448288,
-0.06515182554721832,
-0.04357742518186569,
0.02887897379696369,
0.06811651587486267,
0.013921558856964111,
-0.05104273930191994,
-0.014314469881355762,
0.0413985550403595,
-0.13166098296642303,
-0.05829373747110367,
0.09587033838033676,
-0.003627731464803219,
0.01608256995677948,
-0.0020639002323150635,
0.019449105486273766,
-0.014064435847103596,
-0.009581675752997398,
0.0349869579076767,
0.025164177641272545,
-0.01772565394639969,
0.010796128772199154,
-0.021288644522428513,
0.032790228724479675,
0.01397513784468174,
0.005505221895873547,
0.049506813287734985,
-0.00826006568968296,
0.03595137596130371,
0.03634428605437279,
0.02537849359214306,
-0.05186428129673004,
-0.009510237723588943,
-0.030647074803709984,
-0.023628251627087593,
-0.007742136716842651,
-0.025432070717215538,
-0.042720165103673935,
-0.010376428253948689,
-0.03189724683761597,
0.00008197277929866686,
-0.00029189285123720765,
0.0052685821428895,
0.02612859569489956,
-0.0024891819339245558,
-0.0038599062245339155,
0.007701952941715717,
-0.07158128172159195,
-0.1008710265159607,
0.04600633308291435,
-0.001475649536587298,
-0.05843661352992058,
-0.07140268385410309,
-0.07008107006549835,
-0.03450474888086319,
-0.05543620139360428,
-0.02907543070614338,
0.01910977251827717,
-0.07451025396585464,
-0.0009108396479859948,
-0.025199897587299347,
-0.04868527129292488,
0.024842705577611923,
-0.021645836532115936,
0.01268924679607153,
-0.06975959986448288,
-0.07272429764270782,
0.037612318992614746,
0.04836379736661911,
0.03250447288155556,
0.033361732959747314,
0.03189724683761597,
-0.0022648207377642393,
-0.02691441774368286,
0.009331641718745232,
0.0467207171022892,
-0.04547054320573807,
-0.010858637280762196,
-0.029146868735551834,
-0.006112448405474424,
-0.0178685300052166,
-0.020145630463957787,
-0.04568485915660858,
-0.00016255027730949223,
0.01189449429512024,
0.034754782915115356,
-0.00017454969929531217,
-0.01205523032695055,
-0.0016107127303257585,
-0.01446627639234066,
0.002286028815433383,
-0.013376841321587563,
-0.017716724425554276,
-0.0034669949673116207,
-0.03589779883623123,
-0.011653389781713486,
-0.010215691290795803,
0.0422200970351696,
0.002569549949839711,
0.08058252185583115,
-0.01683267392218113,
0.015859326347708702,
0.0016207587905228138,
0.025449931621551514,
0.02846820279955864,
0.02766452170908451,
-0.003203565953299403,
0.012823193334043026,
0.01868114247918129,
0.026092877611517906,
0.07061686366796494,
-0.009626325219869614,
0.03782663494348526,
-0.028307467699050903,
0.028575360774993896,
0.0016709888586774468,
-0.04957825317978859,
0.01634153537452221,
0.06708066165447235,
-0.026271473616361618,
-0.043184515088796616,
-0.02194944955408573,
0.02870037779211998,
-0.013287543319165707,
0.017314882948994637,
-0.005290906876325607,
0.02209232561290264,
-0.004643496125936508,
0.009474517777562141,
-0.06015113368630409,
-0.040755607187747955,
0.03964831307530403,
0.05454321950674057,
-0.03961259499192238,
-0.07436737418174744,
0.0459706112742424,
-0.017886390909552574,
0.08193984627723694,
-0.05897240340709686,
0.01345720887184143,
0.03418327495455742,
-0.06290151178836823,
-0.01296607032418251,
0.015564641915261745,
0.021056469529867172,
0.08808355033397675,
0.045756299048662186,
-0.03207584470510483,
0.02518203668296337,
0.00838954746723175,
0.029325464740395546,
0.03259377181529999,
0.030968546867370605,
-0.05586482957005501,
0.003031667321920395,
0.002402116311714053,
0.007384944707155228,
0.011849844828248024,
0.035558465868234634,
-0.0063133686780929565,
0.019270509481430054,
-0.01859184354543686,
0.003627731464803219,
0.02855750173330307,
-0.014519855380058289,
0.0274859257042408,
-0.05089986324310303,
-0.050864141434431076,
0.0368979349732399,
0.05918671563267708,
0.07551039010286331,
0.006817902438342571,
0.027325188741087914,
-0.048435237258672714,
0.06207997351884842,
0.025217756628990173,
0.03521913290023804,
0.042863041162490845,
0.010662181302905083,
-0.05897240340709686,
-0.02771810069680214,
0.007000963669270277,
-0.03121858276426792,
0.016421902924776077,
0.04975684732198715,
0.006942919921129942,
-0.0009945564670488238,
0.05300729349255562,
0.029093289747834206,
-0.05440034344792366,
0.04643496125936508,
0.039684031158685684,
0.026646524667739868,
0.030914969742298126,
-0.020860014483332634,
0.06729497760534286,
-0.03964831307530403,
0.0018674444872885942,
-0.05907955765724182,
-0.025807123631238937,
-0.012885701842606068,
0.029379043728113174,
-0.021842291578650475,
0.02948620170354843,
-0.025289194658398628,
-0.0077555314637720585,
-0.019913455471396446,
0.02327105961740017,
-0.018788300454616547,
0.02059211954474449,
0.010046025738120079,
0.006840227171778679,
0.10158541053533554,
0.033593907952308655,
0.05532904341816902,
0.01334112137556076,
0.003087478457018733,
0.016725515946745872,
0.06804507970809937,
-0.03843386098742485,
0.04007694497704506,
0.027093013748526573,
-0.01491276640444994,
-0.019395526498556137,
0.054186027497053146,
-0.03161149471998215,
0.06536614149808884,
-0.04004122316837311,
-0.003799630096182227,
-0.00022896566952113062,
-0.0003217518678866327,
0.018931176513433456,
-0.017966758459806442,
-0.05150708928704262,
-0.0021174789872020483,
0.03350461274385452,
-0.03364748880267143,
0.004862276371568441,
-0.004007247742265463,
-0.04732794314622879,
-0.004462667740881443,
0.059472471475601196,
0.028218168765306473,
-0.0010754828108474612,
-0.025735685601830482,
-0.013439349830150604,
-0.023771129548549652,
0.009358431212604046,
-0.03446903079748154,
-0.026628665626049042,
-0.030736373737454414,
0.026378629729151726,
-0.00952809676527977,
-0.0029825533274561167,
0.03605853393673897,
-0.02157439850270748,
0.02194944955408573,
-0.007014358416199684,
0.006469640415161848,
0.05529332533478737,
-0.027307329699397087,
0.0316472128033638,
-0.013394700363278389,
-0.008233276195824146,
0.02569996565580368,
0.012090949341654778,
-0.04054129496216774,
-0.011599810793995857,
-0.020395664498209953,
-0.0369693748652935,
0.024235477671027184,
0.02569996565580368,
0.010465726256370544,
-0.027128733694553375,
0.008862826973199844,
-0.025967858731746674,
0.006817902438342571,
-0.008202021941542625,
-0.03384394198656082,
-0.04232725501060486,
0.011296197772026062,
-0.032558053731918335,
0.04389889910817146,
-0.08629759401082993,
-0.011037233285605907,
0.015511062927544117,
0.05575767531991005,
0.013403630815446377,
0.028361046686768532,
0.06858086585998535,
0.07593902200460434,
0.0021654765587300062,
-0.0116801792755723,
-0.01636832393705845,
-0.02050282247364521,
0.028450343757867813,
-0.05465037748217583,
-0.042434412986040115,
-0.045291949063539505,
0.013225034810602665,
-0.026807261630892754,
-0.04939965531229973,
-0.033129557967185974,
0.02884325571358204,
0.00997458677738905,
-0.026021437719464302,
0.02612859569489956,
0.01088542677462101,
0.027039434760808945,
-0.04397033900022507,
-0.04461328312754631,
0.0482209213078022,
-0.015573571436107159,
-0.03896964713931084,
0.006456245668232441,
-0.023181762546300888,
0.04472044110298157,
-0.004603311885148287,
-0.007862688973546028,
0.06375877559185028,
-0.044077493250370026,
0.01268924679607153,
-0.05225719138979912,
0.02035994455218315,
0.02650364674627781,
0.04539910703897476,
0.04025553911924362,
0.033826082944869995,
-0.028396764770150185,
-0.05014975741505623,
-0.03462976589798927,
0.033772505819797516,
-0.017707794904708862,
-0.00745638320222497,
-0.02584284171462059,
0.0482209213078022,
0.010251411236822605,
0.002728054067119956,
0.014260890893638134,
0.037612318992614746,
-0.03161149471998215,
0.008728879503905773,
-0.006862551439553499,
0.005996360909193754,
0.017850670963525772,
-0.03882677108049393,
-0.031075704842805862,
0.02055639959871769,
-0.005924922414124012,
-0.028218168765306473,
0.0003577501338440925,
0.013260753825306892,
-0.013778681866824627,
0.06608052551746368,
0.02823602966964245,
0.03525485098361969,
-0.022949587553739548,
0.02327105961740017,
0.039862629026174545,
0.0006747580482624471,
-0.048613835126161575,
-0.020020611584186554,
-0.012314194813370705,
-0.0167433749884367,
0.030504198744893074,
0.012680316343903542,
-0.06958100199699402,
-0.026575086638331413,
-0.040148381143808365,
-0.04847095534205437,
-0.026753682643175125,
0.011305127292871475,
-0.003574152709916234,
-0.009679903276264668,
-0.00768855819478631,
-0.0068000429309904575,
-0.03212942183017731,
-0.021824432536959648,
0.04682787507772446,
0.03211156278848648,
0.03796951100230217,
-0.014546644873917103,
0.017966758459806442,
-0.07965382188558578,
-0.06468747556209564,
0.02228878252208233,
0.019127631559967995,
0.017654215916991234,
-0.028593221679329872,
-0.039684031158685684,
0.011921283788979053,
0.031147142872214317,
0.026932278648018837,
0.04504191502928734,
0.02027064748108387,
-0.016680866479873657,
-0.012564228847622871,
-0.011742687784135342,
0.012635667808353901,
-0.03843386098742485,
0.05111417919397354,
-0.03889821097254753,
-0.028289606794714928,
0.018877597525715828,
-0.016439761966466904,
0.0384695790708065,
-0.06708066165447235,
-0.04232725501060486,
-0.03034346178174019,
-0.00985849928110838,
0.026557225733995438,
0.02823602966964245,
-0.022449517622590065,
-0.0022536583710461855,
-0.04839951917529106,
-0.0383981429040432,
-0.02555708959698677,
0.009822780266404152,
0.008715485222637653,
0.061258431524038315,
-0.04518479108810425,
0.04011266306042671,
0.08315429836511612,
0.007130445446819067,
-0.03718368709087372,
0.10680041462182999,
-0.004056361969560385,
-0.0211100485175848,
-0.059472471475601196,
-0.0012244988465681672,
0.033022403717041016,
-0.04647068306803703,
0.01914549246430397,
0.009028027765452862,
0.016886252909898758,
-0.03582635894417763,
0.09022670239210129,
0.01205523032695055,
0.019413385540246964,
-0.02532491460442543,
-0.0274859257042408,
0.019591981545090675,
-0.01423410139977932,
-0.02243165858089924,
-0.0263964906334877,
0.001537041855044663,
0.0068714814260602,
-0.06368733942508698,
0.04786372929811478,
0.0038599062245339155,
0.010590743273496628,
0.026628665626049042,
-0.034576188772916794,
0.04186290502548218,
0.0398983471095562,
-0.015859326347708702,
0.02795027568936348,
0.01465380284935236,
-0.03786235302686691,
-0.01749347895383835,
-0.008911941200494766,
-0.054757535457611084,
0.0640445277094841,
0.08193984627723694,
-0.015109222382307053,
-0.0331474207341671,
0.009492377750575542,
0.04043413698673248,
0.03507625684142113,
-0.01413587387651205,
-0.052971575409173965,
-0.03455832600593567,
0.009956727735698223,
-0.07247426360845566,
0.04479187726974487,
-0.01217131782323122,
0.013483998365700245,
-0.01914549246430397,
0.012028440833091736,
-0.033772505819797516,
-0.0293611828237772,
-0.006112448405474424,
-0.03886249288916588,
-0.05168568342924118,
0.025217756628990173,
0.00022310548229143023,
-0.04600633308291435,
-0.022645974531769753,
-0.006433921400457621,
-0.0768677219748497,
-0.01318038534373045,
0.04504191502928734,
-0.005246257875114679,
-0.04500619322061539,
0.0014566737227141857,
-0.02921830676496029,
0.019074054434895515,
0.029879111796617508,
0.021592257544398308,
0.040005505084991455,
0.05375739932060242,
0.015055643394589424,
-0.01579681597650051,
0.005898133385926485,
0.04157714918255806,
-0.03718368709087372,
0.03211156278848648,
-0.04554198309779167,
-0.03882677108049393,
-0.042720165103673935,
0.04764941334724426,
0.014314469881355762,
0.008862826973199844,
0.018323950469493866,
0.006322298664599657,
0.023485375568270683,
-0.006916130427271128,
-0.020574260503053665,
-0.0331474207341671,
0.006643771659582853,
-0.052542947232723236,
-0.006009755656123161,
0.007974311709403992,
-0.03825526311993599,
-0.024146180599927902,
-0.0009192113066092134,
-0.00791180320084095,
0.01537711638957262,
-0.037469442933797836,
-0.03337959572672844,
0.00029579963302239776,
-0.015314607881009579,
0.06290151178836823,
0.08379724621772766,
0.010081744752824306,
-0.06529469788074493,
0.06422312557697296,
-0.006148167420178652,
0.04661355912685394,
-0.04100564494729042,
-0.034058257937431335,
-0.0018027034820988774,
-0.02330677956342697,
0.0714741200208664,
0.004109940491616726,
-0.03721940889954567,
0.05750791355967522,
0.05772222951054573,
-0.03861245512962341,
-0.006090123672038317,
-0.030361320823431015,
-0.03896964713931084,
0.007099191192537546,
-0.03768375888466835,
0.031075704842805862,
-0.07111693173646927,
-0.028682518750429153,
-0.02093145251274109,
0.04547054320573807,
0.02393186464905739,
-0.004786373116075993,
-0.05986538156867027,
-0.03173651173710823,
-0.07429593801498413,
-0.0015225309180095792,
0.024503372609615326,
0.0033442103303968906,
-0.006255325395613909,
0.039112526923418045,
-0.027735959738492966,
-0.02139580249786377,
-0.073938749730587,
0.0072420681826770306,
-0.022020887583494186,
0.03445117175579071,
-0.008353828452527523,
0.02214590460062027,
-0.006536613684147596,
-0.021413661539554596,
0.02125292457640171,
0.031165003776550293,
-0.035272710025310516,
-0.03936256095767021,
0.034004680812358856,
0.06722353398799896,
0.03825526311993599,
-0.009795990772545338,
-0.03843386098742485,
0.012930351309478283,
0.0497211292386055,
-0.026860838755965233,
-0.03536200895905495,
-0.01238563284277916,
-0.011260478757321835,
-0.002491414314135909,
0.011537302285432816,
-0.036165691912174225,
0.052364349365234375,
0.0026767076924443245,
0.025360632687807083,
0.014939555898308754,
-0.08179697394371033,
0.005366810131818056,
0.03398682177066803,
-0.09722767025232315,
0.04282732307910919,
0.02771810069680214,
0.01502885390073061,
0.030879249796271324,
-0.04804232716560364,
-0.028807535767555237,
0.0029446016997098923,
0.025074878707528114,
-0.005143565125763416,
-0.030789950862526894,
-0.028593221679329872,
0.04629208520054817,
0.006898270919919014,
-0.028575360774993896,
0.07443881779909134,
-0.04568485915660858,
-0.020234927535057068,
0.004007247742265463,
-0.006090123672038317,
0.07493888586759567,
0.0782964900135994,
-0.05529332533478737,
-0.035326290875673294,
-0.06775932759046555,
0.033772505819797516,
-0.030700653791427612,
-0.020467102527618408,
-0.07290288805961609,
-0.025164177641272545,
-0.04807804524898529,
-0.03241517394781113,
0.003279469208791852,
-0.03343317285180092,
-0.04100564494729042,
0.009706692770123482,
-0.046184927225112915,
0.05397171527147293,
0.04229153320193291,
0.013680454343557358,
-0.09458444267511368,
-0.022020887583494186,
0.006353552918881178,
0.07108121365308762,
0.010063884779810905,
0.020752856507897377,
0.01666300743818283,
0.007099191192537546,
0.05089986324310303,
-0.011805196292698383,
0.05843661352992058,
-0.012626737356185913,
-0.013680454343557358,
0.01760956645011902,
-0.012867842800915241,
-0.016037922352552414,
0.012028440833091736,
0.006804507691413164,
-0.039862629026174545,
0.009912078268826008,
0.010412147268652916,
-0.04714934527873993,
0.032754506915807724,
-0.00850563496351242,
-0.032790228724479675,
0.0021386872977018356,
0.026557225733995438,
-0.019591981545090675,
0.026842979714274406,
0.005554335657507181,
-0.018377529457211494,
0.003357604844495654,
-0.042863041162490845,
0.03028988279402256,
-0.019038334488868713,
0.024414073675870895,
-0.027164453640580177,
-0.0026052691973745823,
0.009956727735698223,
0.056436337530612946,
0.04414893314242363,
0.04432753100991249,
-0.06525897979736328,
-0.060329731553792953,
0.0640445277094841,
0.02812887169420719,
-0.014082294888794422,
0.030218444764614105,
-0.01549320388585329,
0.003310723463073373,
-0.012215967290103436,
-0.002661080565303564,
-0.008527959696948528,
-0.046506401151418686,
-0.036219269037246704,
-0.021878011524677277,
0.015430695377290249,
0.010340709239244461,
-0.021360082551836967,
-0.01891331747174263,
-0.008827107958495617,
-0.004661355633288622,
-0.03259377181529999,
0.015564641915261745,
0.014118014834821224,
-0.016850532963871956,
0.03327243775129318,
-0.09587033838033676,
0.08758348226547241,
-0.013367910869419575,
0.08672621846199036,
0.07065258175134659,
0.008282389491796494,
0.032700929790735245,
0.03605853393673897,
0.036308567970991135,
0.06340157985687256,
0.042255815118551254,
0.05043551325798035,
-0.032700929790735245,
0.01657371036708355,
0.02041352353990078,
-0.02584284171462059,
-0.020609978586435318,
-0.0009108396479859948,
0.022592395544052124,
-0.008885151706635952,
-0.034344013780355453,
0.025021301582455635,
-0.01296607032418251,
-0.039076805114746094,
0.01479667890816927,
-0.021467240527272224,
0.032700929790735245,
0.034754782915115356
]
|
41,804 | wield.bunch.bunch | setdefault | Insert key with a value of default if key is not in the dictionary.
Return the value for key if key is in the dictionary, else default. | def gen_func(mname):
def func(self, *args, **kwargs):
return getattr(self._mydict, mname)(*args, **kwargs)
orig_func = getattr(dict, mname)
if orig_func is None:
return
func.__name__ = orig_func.__name__
func.__doc__ = orig_func.__doc__
return func
| (self, *args, **kwargs) | [
0.04386318102478981,
-0.045720577239990234,
0.05843661352992058,
0.007014358416199684,
-0.03711225092411041,
-0.0005516942474059761,
-0.015350326895713806,
0.02673582173883915,
0.03932683914899826,
-0.021592257544398308,
-0.023538954555988312,
0.07951094210147858,
0.053114451467990875,
0.019556263461709023,
-0.02041352353990078,
-0.0006368063623085618,
0.017663145437836647,
0.03268307074904442,
-0.043005917221307755,
-0.021002890542149544,
0.026860838755965233,
0.008018961176276207,
0.04789945110678673,
-0.027360908687114716,
0.026289332658052444,
0.06654487550258636,
-0.009831709787249565,
0.030164865776896477,
0.046327803283929825,
-0.06975959986448288,
-0.06515182554721832,
-0.04357742518186569,
0.02887897379696369,
0.06811651587486267,
0.013921558856964111,
-0.05104273930191994,
-0.014314469881355762,
0.0413985550403595,
-0.13166098296642303,
-0.05829373747110367,
0.09587033838033676,
-0.003627731464803219,
0.01608256995677948,
-0.0020639002323150635,
0.019449105486273766,
-0.014064435847103596,
-0.009581675752997398,
0.0349869579076767,
0.025164177641272545,
-0.01772565394639969,
0.010796128772199154,
-0.021288644522428513,
0.032790228724479675,
0.01397513784468174,
0.005505221895873547,
0.049506813287734985,
-0.00826006568968296,
0.03595137596130371,
0.03634428605437279,
0.02537849359214306,
-0.05186428129673004,
-0.009510237723588943,
-0.030647074803709984,
-0.023628251627087593,
-0.007742136716842651,
-0.025432070717215538,
-0.042720165103673935,
-0.010376428253948689,
-0.03189724683761597,
0.00008197277929866686,
-0.00029189285123720765,
0.0052685821428895,
0.02612859569489956,
-0.0024891819339245558,
-0.0038599062245339155,
0.007701952941715717,
-0.07158128172159195,
-0.1008710265159607,
0.04600633308291435,
-0.001475649536587298,
-0.05843661352992058,
-0.07140268385410309,
-0.07008107006549835,
-0.03450474888086319,
-0.05543620139360428,
-0.02907543070614338,
0.01910977251827717,
-0.07451025396585464,
-0.0009108396479859948,
-0.025199897587299347,
-0.04868527129292488,
0.024842705577611923,
-0.021645836532115936,
0.01268924679607153,
-0.06975959986448288,
-0.07272429764270782,
0.037612318992614746,
0.04836379736661911,
0.03250447288155556,
0.033361732959747314,
0.03189724683761597,
-0.0022648207377642393,
-0.02691441774368286,
0.009331641718745232,
0.0467207171022892,
-0.04547054320573807,
-0.010858637280762196,
-0.029146868735551834,
-0.006112448405474424,
-0.0178685300052166,
-0.020145630463957787,
-0.04568485915660858,
-0.00016255027730949223,
0.01189449429512024,
0.034754782915115356,
-0.00017454969929531217,
-0.01205523032695055,
-0.0016107127303257585,
-0.01446627639234066,
0.002286028815433383,
-0.013376841321587563,
-0.017716724425554276,
-0.0034669949673116207,
-0.03589779883623123,
-0.011653389781713486,
-0.010215691290795803,
0.0422200970351696,
0.002569549949839711,
0.08058252185583115,
-0.01683267392218113,
0.015859326347708702,
0.0016207587905228138,
0.025449931621551514,
0.02846820279955864,
0.02766452170908451,
-0.003203565953299403,
0.012823193334043026,
0.01868114247918129,
0.026092877611517906,
0.07061686366796494,
-0.009626325219869614,
0.03782663494348526,
-0.028307467699050903,
0.028575360774993896,
0.0016709888586774468,
-0.04957825317978859,
0.01634153537452221,
0.06708066165447235,
-0.026271473616361618,
-0.043184515088796616,
-0.02194944955408573,
0.02870037779211998,
-0.013287543319165707,
0.017314882948994637,
-0.005290906876325607,
0.02209232561290264,
-0.004643496125936508,
0.009474517777562141,
-0.06015113368630409,
-0.040755607187747955,
0.03964831307530403,
0.05454321950674057,
-0.03961259499192238,
-0.07436737418174744,
0.0459706112742424,
-0.017886390909552574,
0.08193984627723694,
-0.05897240340709686,
0.01345720887184143,
0.03418327495455742,
-0.06290151178836823,
-0.01296607032418251,
0.015564641915261745,
0.021056469529867172,
0.08808355033397675,
0.045756299048662186,
-0.03207584470510483,
0.02518203668296337,
0.00838954746723175,
0.029325464740395546,
0.03259377181529999,
0.030968546867370605,
-0.05586482957005501,
0.003031667321920395,
0.002402116311714053,
0.007384944707155228,
0.011849844828248024,
0.035558465868234634,
-0.0063133686780929565,
0.019270509481430054,
-0.01859184354543686,
0.003627731464803219,
0.02855750173330307,
-0.014519855380058289,
0.0274859257042408,
-0.05089986324310303,
-0.050864141434431076,
0.0368979349732399,
0.05918671563267708,
0.07551039010286331,
0.006817902438342571,
0.027325188741087914,
-0.048435237258672714,
0.06207997351884842,
0.025217756628990173,
0.03521913290023804,
0.042863041162490845,
0.010662181302905083,
-0.05897240340709686,
-0.02771810069680214,
0.007000963669270277,
-0.03121858276426792,
0.016421902924776077,
0.04975684732198715,
0.006942919921129942,
-0.0009945564670488238,
0.05300729349255562,
0.029093289747834206,
-0.05440034344792366,
0.04643496125936508,
0.039684031158685684,
0.026646524667739868,
0.030914969742298126,
-0.020860014483332634,
0.06729497760534286,
-0.03964831307530403,
0.0018674444872885942,
-0.05907955765724182,
-0.025807123631238937,
-0.012885701842606068,
0.029379043728113174,
-0.021842291578650475,
0.02948620170354843,
-0.025289194658398628,
-0.0077555314637720585,
-0.019913455471396446,
0.02327105961740017,
-0.018788300454616547,
0.02059211954474449,
0.010046025738120079,
0.006840227171778679,
0.10158541053533554,
0.033593907952308655,
0.05532904341816902,
0.01334112137556076,
0.003087478457018733,
0.016725515946745872,
0.06804507970809937,
-0.03843386098742485,
0.04007694497704506,
0.027093013748526573,
-0.01491276640444994,
-0.019395526498556137,
0.054186027497053146,
-0.03161149471998215,
0.06536614149808884,
-0.04004122316837311,
-0.003799630096182227,
-0.00022896566952113062,
-0.0003217518678866327,
0.018931176513433456,
-0.017966758459806442,
-0.05150708928704262,
-0.0021174789872020483,
0.03350461274385452,
-0.03364748880267143,
0.004862276371568441,
-0.004007247742265463,
-0.04732794314622879,
-0.004462667740881443,
0.059472471475601196,
0.028218168765306473,
-0.0010754828108474612,
-0.025735685601830482,
-0.013439349830150604,
-0.023771129548549652,
0.009358431212604046,
-0.03446903079748154,
-0.026628665626049042,
-0.030736373737454414,
0.026378629729151726,
-0.00952809676527977,
-0.0029825533274561167,
0.03605853393673897,
-0.02157439850270748,
0.02194944955408573,
-0.007014358416199684,
0.006469640415161848,
0.05529332533478737,
-0.027307329699397087,
0.0316472128033638,
-0.013394700363278389,
-0.008233276195824146,
0.02569996565580368,
0.012090949341654778,
-0.04054129496216774,
-0.011599810793995857,
-0.020395664498209953,
-0.0369693748652935,
0.024235477671027184,
0.02569996565580368,
0.010465726256370544,
-0.027128733694553375,
0.008862826973199844,
-0.025967858731746674,
0.006817902438342571,
-0.008202021941542625,
-0.03384394198656082,
-0.04232725501060486,
0.011296197772026062,
-0.032558053731918335,
0.04389889910817146,
-0.08629759401082993,
-0.011037233285605907,
0.015511062927544117,
0.05575767531991005,
0.013403630815446377,
0.028361046686768532,
0.06858086585998535,
0.07593902200460434,
0.0021654765587300062,
-0.0116801792755723,
-0.01636832393705845,
-0.02050282247364521,
0.028450343757867813,
-0.05465037748217583,
-0.042434412986040115,
-0.045291949063539505,
0.013225034810602665,
-0.026807261630892754,
-0.04939965531229973,
-0.033129557967185974,
0.02884325571358204,
0.00997458677738905,
-0.026021437719464302,
0.02612859569489956,
0.01088542677462101,
0.027039434760808945,
-0.04397033900022507,
-0.04461328312754631,
0.0482209213078022,
-0.015573571436107159,
-0.03896964713931084,
0.006456245668232441,
-0.023181762546300888,
0.04472044110298157,
-0.004603311885148287,
-0.007862688973546028,
0.06375877559185028,
-0.044077493250370026,
0.01268924679607153,
-0.05225719138979912,
0.02035994455218315,
0.02650364674627781,
0.04539910703897476,
0.04025553911924362,
0.033826082944869995,
-0.028396764770150185,
-0.05014975741505623,
-0.03462976589798927,
0.033772505819797516,
-0.017707794904708862,
-0.00745638320222497,
-0.02584284171462059,
0.0482209213078022,
0.010251411236822605,
0.002728054067119956,
0.014260890893638134,
0.037612318992614746,
-0.03161149471998215,
0.008728879503905773,
-0.006862551439553499,
0.005996360909193754,
0.017850670963525772,
-0.03882677108049393,
-0.031075704842805862,
0.02055639959871769,
-0.005924922414124012,
-0.028218168765306473,
0.0003577501338440925,
0.013260753825306892,
-0.013778681866824627,
0.06608052551746368,
0.02823602966964245,
0.03525485098361969,
-0.022949587553739548,
0.02327105961740017,
0.039862629026174545,
0.0006747580482624471,
-0.048613835126161575,
-0.020020611584186554,
-0.012314194813370705,
-0.0167433749884367,
0.030504198744893074,
0.012680316343903542,
-0.06958100199699402,
-0.026575086638331413,
-0.040148381143808365,
-0.04847095534205437,
-0.026753682643175125,
0.011305127292871475,
-0.003574152709916234,
-0.009679903276264668,
-0.00768855819478631,
-0.0068000429309904575,
-0.03212942183017731,
-0.021824432536959648,
0.04682787507772446,
0.03211156278848648,
0.03796951100230217,
-0.014546644873917103,
0.017966758459806442,
-0.07965382188558578,
-0.06468747556209564,
0.02228878252208233,
0.019127631559967995,
0.017654215916991234,
-0.028593221679329872,
-0.039684031158685684,
0.011921283788979053,
0.031147142872214317,
0.026932278648018837,
0.04504191502928734,
0.02027064748108387,
-0.016680866479873657,
-0.012564228847622871,
-0.011742687784135342,
0.012635667808353901,
-0.03843386098742485,
0.05111417919397354,
-0.03889821097254753,
-0.028289606794714928,
0.018877597525715828,
-0.016439761966466904,
0.0384695790708065,
-0.06708066165447235,
-0.04232725501060486,
-0.03034346178174019,
-0.00985849928110838,
0.026557225733995438,
0.02823602966964245,
-0.022449517622590065,
-0.0022536583710461855,
-0.04839951917529106,
-0.0383981429040432,
-0.02555708959698677,
0.009822780266404152,
0.008715485222637653,
0.061258431524038315,
-0.04518479108810425,
0.04011266306042671,
0.08315429836511612,
0.007130445446819067,
-0.03718368709087372,
0.10680041462182999,
-0.004056361969560385,
-0.0211100485175848,
-0.059472471475601196,
-0.0012244988465681672,
0.033022403717041016,
-0.04647068306803703,
0.01914549246430397,
0.009028027765452862,
0.016886252909898758,
-0.03582635894417763,
0.09022670239210129,
0.01205523032695055,
0.019413385540246964,
-0.02532491460442543,
-0.0274859257042408,
0.019591981545090675,
-0.01423410139977932,
-0.02243165858089924,
-0.0263964906334877,
0.001537041855044663,
0.0068714814260602,
-0.06368733942508698,
0.04786372929811478,
0.0038599062245339155,
0.010590743273496628,
0.026628665626049042,
-0.034576188772916794,
0.04186290502548218,
0.0398983471095562,
-0.015859326347708702,
0.02795027568936348,
0.01465380284935236,
-0.03786235302686691,
-0.01749347895383835,
-0.008911941200494766,
-0.054757535457611084,
0.0640445277094841,
0.08193984627723694,
-0.015109222382307053,
-0.0331474207341671,
0.009492377750575542,
0.04043413698673248,
0.03507625684142113,
-0.01413587387651205,
-0.052971575409173965,
-0.03455832600593567,
0.009956727735698223,
-0.07247426360845566,
0.04479187726974487,
-0.01217131782323122,
0.013483998365700245,
-0.01914549246430397,
0.012028440833091736,
-0.033772505819797516,
-0.0293611828237772,
-0.006112448405474424,
-0.03886249288916588,
-0.05168568342924118,
0.025217756628990173,
0.00022310548229143023,
-0.04600633308291435,
-0.022645974531769753,
-0.006433921400457621,
-0.0768677219748497,
-0.01318038534373045,
0.04504191502928734,
-0.005246257875114679,
-0.04500619322061539,
0.0014566737227141857,
-0.02921830676496029,
0.019074054434895515,
0.029879111796617508,
0.021592257544398308,
0.040005505084991455,
0.05375739932060242,
0.015055643394589424,
-0.01579681597650051,
0.005898133385926485,
0.04157714918255806,
-0.03718368709087372,
0.03211156278848648,
-0.04554198309779167,
-0.03882677108049393,
-0.042720165103673935,
0.04764941334724426,
0.014314469881355762,
0.008862826973199844,
0.018323950469493866,
0.006322298664599657,
0.023485375568270683,
-0.006916130427271128,
-0.020574260503053665,
-0.0331474207341671,
0.006643771659582853,
-0.052542947232723236,
-0.006009755656123161,
0.007974311709403992,
-0.03825526311993599,
-0.024146180599927902,
-0.0009192113066092134,
-0.00791180320084095,
0.01537711638957262,
-0.037469442933797836,
-0.03337959572672844,
0.00029579963302239776,
-0.015314607881009579,
0.06290151178836823,
0.08379724621772766,
0.010081744752824306,
-0.06529469788074493,
0.06422312557697296,
-0.006148167420178652,
0.04661355912685394,
-0.04100564494729042,
-0.034058257937431335,
-0.0018027034820988774,
-0.02330677956342697,
0.0714741200208664,
0.004109940491616726,
-0.03721940889954567,
0.05750791355967522,
0.05772222951054573,
-0.03861245512962341,
-0.006090123672038317,
-0.030361320823431015,
-0.03896964713931084,
0.007099191192537546,
-0.03768375888466835,
0.031075704842805862,
-0.07111693173646927,
-0.028682518750429153,
-0.02093145251274109,
0.04547054320573807,
0.02393186464905739,
-0.004786373116075993,
-0.05986538156867027,
-0.03173651173710823,
-0.07429593801498413,
-0.0015225309180095792,
0.024503372609615326,
0.0033442103303968906,
-0.006255325395613909,
0.039112526923418045,
-0.027735959738492966,
-0.02139580249786377,
-0.073938749730587,
0.0072420681826770306,
-0.022020887583494186,
0.03445117175579071,
-0.008353828452527523,
0.02214590460062027,
-0.006536613684147596,
-0.021413661539554596,
0.02125292457640171,
0.031165003776550293,
-0.035272710025310516,
-0.03936256095767021,
0.034004680812358856,
0.06722353398799896,
0.03825526311993599,
-0.009795990772545338,
-0.03843386098742485,
0.012930351309478283,
0.0497211292386055,
-0.026860838755965233,
-0.03536200895905495,
-0.01238563284277916,
-0.011260478757321835,
-0.002491414314135909,
0.011537302285432816,
-0.036165691912174225,
0.052364349365234375,
0.0026767076924443245,
0.025360632687807083,
0.014939555898308754,
-0.08179697394371033,
0.005366810131818056,
0.03398682177066803,
-0.09722767025232315,
0.04282732307910919,
0.02771810069680214,
0.01502885390073061,
0.030879249796271324,
-0.04804232716560364,
-0.028807535767555237,
0.0029446016997098923,
0.025074878707528114,
-0.005143565125763416,
-0.030789950862526894,
-0.028593221679329872,
0.04629208520054817,
0.006898270919919014,
-0.028575360774993896,
0.07443881779909134,
-0.04568485915660858,
-0.020234927535057068,
0.004007247742265463,
-0.006090123672038317,
0.07493888586759567,
0.0782964900135994,
-0.05529332533478737,
-0.035326290875673294,
-0.06775932759046555,
0.033772505819797516,
-0.030700653791427612,
-0.020467102527618408,
-0.07290288805961609,
-0.025164177641272545,
-0.04807804524898529,
-0.03241517394781113,
0.003279469208791852,
-0.03343317285180092,
-0.04100564494729042,
0.009706692770123482,
-0.046184927225112915,
0.05397171527147293,
0.04229153320193291,
0.013680454343557358,
-0.09458444267511368,
-0.022020887583494186,
0.006353552918881178,
0.07108121365308762,
0.010063884779810905,
0.020752856507897377,
0.01666300743818283,
0.007099191192537546,
0.05089986324310303,
-0.011805196292698383,
0.05843661352992058,
-0.012626737356185913,
-0.013680454343557358,
0.01760956645011902,
-0.012867842800915241,
-0.016037922352552414,
0.012028440833091736,
0.006804507691413164,
-0.039862629026174545,
0.009912078268826008,
0.010412147268652916,
-0.04714934527873993,
0.032754506915807724,
-0.00850563496351242,
-0.032790228724479675,
0.0021386872977018356,
0.026557225733995438,
-0.019591981545090675,
0.026842979714274406,
0.005554335657507181,
-0.018377529457211494,
0.003357604844495654,
-0.042863041162490845,
0.03028988279402256,
-0.019038334488868713,
0.024414073675870895,
-0.027164453640580177,
-0.0026052691973745823,
0.009956727735698223,
0.056436337530612946,
0.04414893314242363,
0.04432753100991249,
-0.06525897979736328,
-0.060329731553792953,
0.0640445277094841,
0.02812887169420719,
-0.014082294888794422,
0.030218444764614105,
-0.01549320388585329,
0.003310723463073373,
-0.012215967290103436,
-0.002661080565303564,
-0.008527959696948528,
-0.046506401151418686,
-0.036219269037246704,
-0.021878011524677277,
0.015430695377290249,
0.010340709239244461,
-0.021360082551836967,
-0.01891331747174263,
-0.008827107958495617,
-0.004661355633288622,
-0.03259377181529999,
0.015564641915261745,
0.014118014834821224,
-0.016850532963871956,
0.03327243775129318,
-0.09587033838033676,
0.08758348226547241,
-0.013367910869419575,
0.08672621846199036,
0.07065258175134659,
0.008282389491796494,
0.032700929790735245,
0.03605853393673897,
0.036308567970991135,
0.06340157985687256,
0.042255815118551254,
0.05043551325798035,
-0.032700929790735245,
0.01657371036708355,
0.02041352353990078,
-0.02584284171462059,
-0.020609978586435318,
-0.0009108396479859948,
0.022592395544052124,
-0.008885151706635952,
-0.034344013780355453,
0.025021301582455635,
-0.01296607032418251,
-0.039076805114746094,
0.01479667890816927,
-0.021467240527272224,
0.032700929790735245,
0.034754782915115356
]
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.