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
sequencelengths 768
768
|
---|---|---|---|---|---|---|
729,873 | marshmallow_enum | fail | null | def fail(self, key, **kwargs):
kwargs['values'] = ', '.join([text_type(mem.value) for mem in self.enum])
kwargs['names'] = ', '.join([mem.name for mem in self.enum])
if self.error:
if self.by_value:
kwargs['choices'] = kwargs['values']
else:
kwargs['choices'] = kwargs['names']
msg = self.error.format(**kwargs)
raise ValidationError(msg)
else:
super(EnumField, self).fail(key, **kwargs)
| (self, key, **kwargs) | [
0.03338170051574707,
-0.03232754021883011,
-0.005525549873709679,
-0.00012291657913010567,
-0.043466486036777496,
-0.05643264204263687,
0.051899757236242294,
-0.021048039197921753,
0.08081885427236557,
-0.08074857294559479,
0.03561300411820412,
0.06349550932645798,
0.0478939525783062,
-0.03728208690881729,
0.015302874147891998,
0.024755164980888367,
-0.02598501741886139,
0.05334044247865677,
0.018641043454408646,
0.04687493294477463,
0.029604297131299973,
0.01623404771089554,
-0.011648456566035748,
-0.004598768427968025,
0.015663044527173042,
0.06149260327219963,
-0.008560649119317532,
-0.02877853810787201,
0.03538460284471512,
-0.00975096970796585,
-0.04557480290532112,
0.02487814985215664,
-0.018324796110391617,
0.03317086771130562,
-0.04265829920768738,
-0.026810774579644203,
-0.05457029491662979,
0.005253225099295378,
-0.0536566898226738,
0.008095062337815762,
0.0022334991954267025,
-0.020872347056865692,
-0.03763347491621971,
-0.005117062944918871,
-0.0037488527595996857,
-0.043255653232336044,
-0.03329385444521904,
0.052918776869773865,
-0.08032690733671188,
-0.006478684954345226,
-0.006966233719140291,
0.01343174185603857,
0.012201889418065548,
-0.025914739817380905,
-0.047683123499155045,
0.05945456400513649,
-0.038019999861717224,
0.009882739745080471,
0.02784736454486847,
0.0330478809773922,
-0.0829271674156189,
0.012474213726818562,
-0.030096236616373062,
-0.03317086771130562,
-0.0018239145865663886,
-0.06314411759376526,
0.023876700550317764,
-0.03587654232978821,
-0.009355660527944565,
0.05875179171562195,
0.01865861378610134,
0.012289736419916153,
-0.0036082982551306486,
0.05601097643375397,
0.05151323229074478,
0.001997411483898759,
-0.02828659862279892,
0.04065539687871933,
0.011718733236193657,
-0.0158563069999218,
0.02421051636338234,
0.05165378749370575,
-0.011622101999819279,
0.023068511858582497,
-0.04149872437119484,
-0.012193105183541775,
-0.02013443596661091,
-0.028567707166075706,
0.04100678116083145,
-0.01911541447043419,
-0.030113806948065758,
-0.06233593076467514,
-0.054113492369651794,
0.0020083924755454063,
-0.043431349098682404,
0.040725674480199814,
0.0014725282089784741,
-0.01079634390771389,
-0.07821859419345856,
-0.012685045599937439,
0.0265999436378479,
-0.03469939902424812,
0.05235655978322029,
-0.0009278794750571251,
0.050037410110235214,
-0.05330530181527138,
0.003669790690764785,
-0.041744694113731384,
-0.0016624964773654938,
0.02052096091210842,
-0.001815129886381328,
-0.022664416581392288,
0.058013878762722015,
0.028655553236603737,
-0.045961327850818634,
0.024175377562642097,
-0.031449075788259506,
-0.05218086764216423,
-0.02904207818210125,
-0.009900309145450592,
0.01722671464085579,
0.029920544475317,
-0.008824188262224197,
0.022892817854881287,
0.042763713747262955,
0.04908866807818413,
-0.03364523872733116,
0.0056397500447928905,
0.04501258581876755,
0.05738138407468796,
0.0014604493044316769,
0.0158563069999218,
0.013150632381439209,
-0.03433044254779816,
0.033188436180353165,
0.042588021606206894,
0.026582373306155205,
-0.00009326836152467877,
0.023525312542915344,
0.0523214228451252,
0.02132914960384369,
0.0616331584751606,
0.03924985229969025,
0.019537078216671944,
0.07108545303344727,
0.028216321021318436,
0.006641201209276915,
0.08145134896039963,
-0.003452370408922434,
0.04634785279631615,
-0.010040863417088985,
0.01600564643740654,
-0.0487724207341671,
0.013651357963681221,
0.019660063087940216,
0.004128789063543081,
-0.011955918744206429,
-0.045293696224689484,
-0.00919753685593605,
-0.0043857404962182045,
0.0195019394159317,
-0.030939564108848572,
0.018693750724196434,
-0.007045295555144548,
0.029551587998867035,
0.07920247316360474,
-0.013528373092412949,
-0.018061256036162376,
0.05383238196372986,
-0.008081885054707527,
-0.020942624658346176,
-0.0372469499707222,
0.0403391495347023,
0.026318835094571114,
-0.02988540567457676,
0.037176672369241714,
-0.014819717966020107,
0.0031075726728886366,
0.019572217017412186,
-0.009364444762468338,
-0.025563353672623634,
0.027320286259055138,
-0.006970625836402178,
0.004752499982714653,
0.027636533603072166,
-0.020450683310627937,
-0.03491022810339928,
0.0011551824864000082,
-0.015197457745671272,
-0.008020392619073391,
0.008894465863704681,
-0.0009866268374025822,
0.021662965416908264,
-0.011674810200929642,
-0.06458480656147003,
-0.01676112599670887,
0.02243601530790329,
-0.04202580079436302,
0.06043844670057297,
0.029674572870135307,
-0.051724065095186234,
-0.0030548647046089172,
-0.017217928543686867,
0.040233731269836426,
-0.05790846422314644,
0.00024144082271959633,
0.05822471156716347,
-0.05312960967421532,
0.05302419513463974,
-0.05702999606728554,
-0.021083177998661995,
0.0013923682272434235,
-0.045961327850818634,
0.018500488251447678,
0.006131690926849842,
-0.05727596953511238,
-0.022998234257102013,
-0.050388798117637634,
-0.046839796006679535,
0.03325871378183365,
0.043079961091279984,
0.026055295020341873,
0.06261704117059708,
-0.07807803899049759,
0.07498583942651749,
-0.0009718027431517839,
0.010831482708454132,
-0.06592006981372833,
-0.06356578320264816,
0.12488269060850143,
-0.07189363986253738,
0.010488881729543209,
0.0035248438362032175,
-0.015592767857015133,
-0.07217475026845932,
0.1046428456902504,
0.0425528809428215,
-0.09761511534452438,
-0.01865861378610134,
0.04722632095217705,
-0.015039334073662758,
-0.02182108908891678,
-0.03538460284471512,
0.04062025621533394,
0.04269343614578247,
-0.005929643753916025,
-0.0008372876909561455,
0.051724065095186234,
-0.046488407999277115,
0.029938112944364548,
-0.03889846429228783,
0.026845913380384445,
-0.011165300384163857,
0.02013443596661091,
0.0006939879385754466,
-0.05980594828724861,
-0.03882818669080734,
-0.03647390007972717,
0.09424180537462234,
-0.013783128000795841,
-0.02057366818189621,
0.019941173493862152,
-0.04012831673026085,
0.04947519302368164,
-0.02514168992638588,
-0.030096236616373062,
0.021979212760925293,
0.02412267029285431,
0.02385913021862507,
0.07020698487758636,
0.056467778980731964,
-0.010892975144088268,
-0.035806264728307724,
0.0469803512096405,
0.01341417245566845,
0.08124051243066788,
0.030799010768532753,
0.0036983408499509096,
-0.0002614808327052742,
-0.001965567236766219,
0.03896874189376831,
-0.015039334073662758,
0.024105099961161613,
0.031326089054346085,
-0.017648376524448395,
-0.0021028274204581976,
0.01708615943789482,
-0.030394915491342545,
-0.021961644291877747,
0.013668927364051342,
0.033504683524370193,
-0.01155182532966137,
0.04371245577931404,
-0.01105988398194313,
-0.007251734845340252,
-0.02842715196311474,
0.06212509796023369,
-0.024263225495815277,
0.01641852594912052,
0.007532843854278326,
-0.0053586410358548164,
0.02464975044131279,
0.010936899110674858,
-0.027829796075820923,
-0.059841088950634,
-0.06261704117059708,
-0.013379033654928207,
0.004818384535610676,
-0.0022334991954267025,
0.04030400887131691,
-0.07772665470838547,
0.055448759347200394,
-0.03183560073375702,
0.009759754873812199,
0.05133754014968872,
0.04339620843529701,
0.023701006546616554,
0.003017529845237732,
-0.005701242946088314,
0.03721180930733681,
-0.017507823184132576,
-0.027900073677301407,
-0.040549978613853455,
-0.030693594366312027,
-0.02421051636338234,
-0.020327698439359665,
0.022664416581392288,
0.04265829920768738,
0.01804368756711483,
-0.03643875941634178,
-0.013686496764421463,
-0.061598021537065506,
0.005187340546399355,
-0.03288975730538368,
-0.01389732863754034,
0.012052549980580807,
0.051056429743766785,
0.007106787990778685,
0.027478409931063652,
0.048877835273742676,
-0.016348248347640038,
-0.0305881779640913,
-0.0230509415268898,
-0.02956915833055973,
0.04986171796917915,
0.016664495691657066,
-0.029990822076797485,
0.046664100140333176,
0.0509861521422863,
0.051372677087783813,
-0.0024838619865477085,
-0.01190321147441864,
0.026968898251652718,
-0.0328194797039032,
0.02136428840458393,
-0.018078826367855072,
-0.02709188498556614,
-0.03742264211177826,
-0.009557707235217094,
0.03273163363337517,
0.08861962705850601,
-0.04163927584886551,
0.0004982547834515572,
0.011692379601299763,
0.012957369908690453,
-0.05249711498618126,
-0.015794813632965088,
-0.07407223433256149,
0.05270794779062271,
-0.007484528236091137,
0.04761284589767456,
0.006272245664149523,
-0.030148945748806,
-0.005833012517541647,
0.030096236616373062,
0.030957134440541267,
0.05077532306313515,
0.06015733629465103,
-0.0006637906772084534,
-0.004488959908485413,
-0.0075108823366463184,
-0.06135204806923866,
-0.016945604234933853,
0.07519666850566864,
-0.02877853810787201,
-0.011938350275158882,
0.044661201536655426,
-0.0033074235543608665,
-0.0014670378295704722,
0.002503627445548773,
-0.021539980545639992,
0.011569393798708916,
0.037352364510297775,
0.013308756053447723,
0.004113416187465191,
-0.0014582531293854117,
-0.02811090461909771,
-0.04796423017978668,
0.009443506598472595,
-0.019097846001386642,
-0.04170955345034599,
-0.004484567791223526,
-0.07660221308469772,
0.03383850306272507,
0.03311815857887268,
0.023823991417884827,
-0.019835757091641426,
0.06813380867242813,
-0.007519667036831379,
0.02517682872712612,
0.01693682000041008,
-0.008986704982817173,
0.005613396409898996,
-0.06637687236070633,
-0.027408132329583168,
-0.05439459905028343,
-0.03847680240869522,
-0.025879601016640663,
-0.013264833018183708,
-0.01177144143730402,
-0.004717361181974411,
-0.04441522806882858,
0.01676112599670887,
0.04220149666070938,
0.031853169202804565,
0.0023872307501733303,
0.016075924038887024,
0.014837286435067654,
0.02761896327137947,
-0.008086277171969414,
0.010234125889837742,
0.02447405643761158,
-0.02185622788965702,
-0.043958425521850586,
0.03773888945579529,
-0.03206400200724602,
-0.07779692858457565,
-0.0323626771569252,
-0.014433193020522594,
0.008863719180226326,
-0.04009317606687546,
-0.012421506457030773,
0.04557480290532112,
0.04944005236029625,
0.04473147541284561,
-0.024597041308879852,
0.03794972226023674,
0.03462912142276764,
-0.027513548731803894,
-0.019695201888680458,
-0.005160986445844173,
0.03823082894086838,
-0.0026683397591114044,
-0.060403306037187576,
0.02784736454486847,
0.029815128073096275,
-0.07969441264867783,
-0.007831522263586521,
0.019607355818152428,
-0.0008543079602532089,
0.057346247136592865,
0.014406838454306126,
-0.06272245943546295,
0.0016394366975873709,
0.005846189800649881,
0.046523548662662506,
0.030025960877537727,
0.016049569472670555,
0.016163770109415054,
0.02452676370739937,
-0.07266668975353241,
0.03288975730538368,
0.07322890311479568,
-0.02039797604084015,
-0.06219537556171417,
0.0018777205841615796,
0.06370633840560913,
0.019660063087940216,
-0.033311422914266586,
-0.044098980724811554,
0.1006370410323143,
0.008218047209084034,
0.017437545582652092,
0.008016000501811504,
-0.018008548766374588,
-0.0015658652409911156,
-0.017358483746647835,
0.04177983105182648,
-0.055448759347200394,
0.04828047752380371,
-0.03151935338973999,
-0.08904129266738892,
-0.010550374165177345,
0.024351071566343307,
-0.018236950039863586,
-0.07603999972343445,
-0.048526450991630554,
-0.006856425199657679,
-0.014977841638028622,
0.021891366690397263,
0.043607041239738464,
-0.03459398075938225,
-0.0014527627499774098,
-0.024438917636871338,
0.02354288287460804,
-0.04100678116083145,
0.04944005236029625,
0.002663947409018874,
0.027074314653873444,
-0.06258190423250198,
-0.016075924038887024,
0.0024201732594519854,
0.06433883309364319,
-0.039706651121377945,
0.01626918651163578,
-0.013238479383289814,
0.0157421063631773,
0.01624283194541931,
-0.0073088351637125015,
0.05000227317214012,
-0.03090442530810833,
-0.006043844390660524,
-0.021610258147120476,
0.019976312294602394,
-0.011253146454691887,
0.011428839527070522,
-0.0381254144012928,
-0.03512106090784073,
0.006021882873028517,
-0.01717400550842285,
0.026933761313557625,
-0.023753713816404343,
0.07343973964452744,
0.01915055327117443,
-0.006425977218896151,
-0.009259029291570187,
-0.010506450198590755,
0.05112670734524727,
-0.048034507781267166,
0.04473147541284561,
-0.0025914739817380905,
0.06194940581917763,
0.005670496728271246,
-0.031730182468891144,
0.005055570509284735,
-0.018781598657369614,
-0.02132914960384369,
0.010761206038296223,
-0.006223930045962334,
-0.02953401952981949,
-0.04469633847475052,
0.018904583528637886,
0.015460997819900513,
-0.02141699567437172,
-0.06883657723665237,
-0.011586963199079037,
-0.006043844390660524,
0.019484370946884155,
0.03401419520378113,
-0.025334952399134636,
0.008037962019443512,
0.01026048045605421,
-0.0036214750725775957,
-0.03361010178923607,
0.0058901128359138966,
-0.021135887131094933,
-0.005701242946088314,
0.0137479892000556,
0.016163770109415054,
0.020064158365130424,
-0.009250244125723839,
-0.04237718880176544,
-0.05386752262711525,
-0.007295658346265554,
0.04304482415318489,
0.0078139528632164,
0.0096455542370677,
-0.008986704982817173,
-0.042763713747262955,
0.014925133436918259,
-0.036684729158878326,
0.025106551125645638,
-0.01687532663345337,
-0.035367030650377274,
0.03448856621980667,
0.04620730131864548,
0.00832346361130476,
-0.009724616073071957,
-0.022541431710124016,
0.022330600768327713,
-0.04118247702717781,
0.006281030364334583,
-0.05337557941675186,
-0.01920326240360737,
0.0024816656950861216,
0.025440368801355362,
-0.004401113372296095,
-0.03262621909379959,
-0.07596971839666367,
0.01818424090743065,
0.00032228711643256247,
0.006970625836402178,
-0.0031207497231662273,
0.053270164877176285,
0.024228086695075035,
0.03332899138331413,
0.03382093086838722,
0.02083720825612545,
0.007985253818333149,
0.027548685669898987,
-0.02429836243391037,
0.010409818962216377,
0.01879916712641716,
-0.01734969951212406,
0.0075460211373865604,
-0.047507427632808685,
0.014327776618301868,
0.0009866268374025822,
0.023332050070166588,
0.032380249351263046,
-0.05372696742415428,
-0.01915055327117443,
-0.04722632095217705,
0.03731722757220268,
-0.02048582211136818,
-0.032872188836336136,
-0.012026196345686913,
0.03981206938624382,
-0.07969441264867783,
-0.1023939698934555,
-0.012298520654439926,
0.07076920568943024,
-0.024280793964862823,
-0.039706651121377945,
-0.03773888945579529,
0.006869602482765913,
0.022734694182872772,
-0.013133062981069088,
0.013291186653077602,
0.006021882873028517,
-0.017411191016435623,
-0.03375065326690674,
-0.05741652101278305,
0.042412325739860535,
-0.03164233639836311,
0.0855977013707161,
-0.09107933193445206,
-0.059841088950634,
-0.00814776960760355,
-0.033223576843738556,
0.04722632095217705,
0.03809027746319771,
-0.0425528809428215,
-0.023033373057842255,
0.054605431854724884,
0.009478645399212837,
0.028339305892586708,
-0.0071111805737018585,
0.011015960946679115,
0.02048582211136818,
-0.015873877331614494,
0.007049687672406435,
0.05091587454080582,
-0.04237718880176544,
0.029235340654850006,
0.012377582490444183,
0.013774342834949493,
-0.05706513673067093,
0.05312960967421532,
0.011332208290696144,
-0.051056429743766785,
-0.06212509796023369,
-0.01778014749288559,
0.023823991417884827,
-0.06655256450176239,
0.06328467279672623,
0.0075284517370164394,
0.0005537079414352775,
0.05671374872326851,
0.01245664432644844,
-0.025545785203576088,
-0.008081885054707527,
-0.061387188732624054,
0.02877853810787201,
-0.018992429599165916,
0.023964546620845795,
-0.024667318910360336,
0.027636533603072166,
0.02092505432665348,
-0.06553354859352112,
-0.012685045599937439,
-0.030921995639801025,
-0.05045907571911812,
-0.009127259254455566,
-0.0669390931725502,
-0.021662965416908264,
0.0001636142551433295,
-0.04146358370780945,
-0.014187222346663475,
0.08074857294559479,
0.022892817854881287,
-0.053094472736120224,
0.011955918744206429,
-0.006043844390660524,
-0.006597277708351612,
-0.035981956869363785,
-0.02779465727508068,
-0.0030856109224259853,
0.03055303916335106,
-0.019660063087940216,
0.019097846001386642,
0.02514168992638588,
-0.06497132778167725,
-0.02860284596681595,
-0.04550452530384064,
-0.07175308465957642,
0.020942624658346176,
-0.0036719869822263718,
-0.020274989306926727,
-0.011270715855062008,
0.003849876346066594,
0.039390403777360916,
-0.015961723402142525,
0.005068747326731682,
0.01143762469291687,
0.010392250493168831,
-0.041252750903367996,
-0.022769832983613014,
0.0068608177825808525,
-0.0017624219181016088,
0.05288363993167877,
0.004585591144859791,
-0.009346875362098217,
0.030184084549546242,
0.015601552091538906,
-0.022998234257102013,
-0.009443506598472595,
0.04884269833564758,
0.04873728007078171,
0.05474598705768585,
0.026758067309856415,
0.06370633840560913,
0.0478939525783062,
-0.0195019394159317,
-0.02150484174489975,
0.04824534058570862,
-0.011095022782683372,
0.029411034658551216,
-0.023156357929110527,
-0.029938112944364548,
0.00429130531847477,
-0.04206094145774841,
0.009847600944340229,
0.09143071621656418,
0.043607041239738464,
-0.04849131032824516,
0.0058769360184669495,
-0.015232596546411514,
-0.02336718887090683,
0.03404933214187622,
0.0018678378546610475,
0.02828659862279892,
0.009030628018081188,
-0.016102276742458344,
0.005683673545718193,
0.017393622547388077,
0.01937895454466343,
-0.02088991552591324
] |
729,877 | marshmallow.fields | Field | Basic field from which other fields should extend. It applies no
formatting by default, and should only be used in cases where
data does not need to be formatted before being serialized or deserialized.
On error, the name of the field will be returned.
:param dump_default: If set, this value will be used during serialization if the
input value is missing. If not set, the field will be excluded from the
serialized output if the input value is missing. May be a value or a callable.
:param load_default: Default deserialization value for the field if the field is not
found in the input data. May be a value or a callable.
:param data_key: The name of the dict key in the external representation, i.e.
the input of `load` and the output of `dump`.
If `None`, the key will match the name of the field.
:param attribute: The name of the key/attribute in the internal representation, i.e.
the output of `load` and the input of `dump`.
If `None`, the key/attribute will match the name of the field.
Note: This should only be used for very specific use cases such as
outputting multiple fields for a single attribute, or using keys/attributes
that are invalid variable names, unsuitable for field names. In most cases,
you should use ``data_key`` instead.
:param validate: Validator or collection of validators that are called
during deserialization. Validator takes a field's input value as
its only parameter and returns a boolean.
If it returns `False`, an :exc:`ValidationError` is raised.
:param required: Raise a :exc:`ValidationError` if the field value
is not supplied during deserialization.
:param allow_none: Set this to `True` if `None` should be considered a valid value during
validation/deserialization. If ``load_default=None`` and ``allow_none`` is unset,
will default to ``True``. Otherwise, the default is ``False``.
:param load_only: If `True` skip this field during serialization, otherwise
its value will be present in the serialized data.
:param dump_only: If `True` skip this field during deserialization, otherwise
its value will be present in the deserialized object. In the context of an
HTTP API, this effectively marks the field as "read-only".
:param dict error_messages: Overrides for `Field.default_error_messages`.
:param metadata: Extra information to be stored as field metadata.
.. versionchanged:: 2.0.0
Removed `error` parameter. Use ``error_messages`` instead.
.. versionchanged:: 2.0.0
Added `allow_none` parameter, which makes validation/deserialization of `None`
consistent across fields.
.. versionchanged:: 2.0.0
Added `load_only` and `dump_only` parameters, which allow field skipping
during the (de)serialization process.
.. versionchanged:: 2.0.0
Added `missing` parameter, which indicates the value for a field if the field
is not found during deserialization.
.. versionchanged:: 2.0.0
``default`` value is only used if explicitly set. Otherwise, missing values
inputs are excluded from serialized output.
.. versionchanged:: 3.0.0b8
Add ``data_key`` parameter for the specifying the key in the input and
output data. This parameter replaced both ``load_from`` and ``dump_to``.
| class Field(FieldABC):
"""Basic field from which other fields should extend. It applies no
formatting by default, and should only be used in cases where
data does not need to be formatted before being serialized or deserialized.
On error, the name of the field will be returned.
:param dump_default: If set, this value will be used during serialization if the
input value is missing. If not set, the field will be excluded from the
serialized output if the input value is missing. May be a value or a callable.
:param load_default: Default deserialization value for the field if the field is not
found in the input data. May be a value or a callable.
:param data_key: The name of the dict key in the external representation, i.e.
the input of `load` and the output of `dump`.
If `None`, the key will match the name of the field.
:param attribute: The name of the key/attribute in the internal representation, i.e.
the output of `load` and the input of `dump`.
If `None`, the key/attribute will match the name of the field.
Note: This should only be used for very specific use cases such as
outputting multiple fields for a single attribute, or using keys/attributes
that are invalid variable names, unsuitable for field names. In most cases,
you should use ``data_key`` instead.
:param validate: Validator or collection of validators that are called
during deserialization. Validator takes a field's input value as
its only parameter and returns a boolean.
If it returns `False`, an :exc:`ValidationError` is raised.
:param required: Raise a :exc:`ValidationError` if the field value
is not supplied during deserialization.
:param allow_none: Set this to `True` if `None` should be considered a valid value during
validation/deserialization. If ``load_default=None`` and ``allow_none`` is unset,
will default to ``True``. Otherwise, the default is ``False``.
:param load_only: If `True` skip this field during serialization, otherwise
its value will be present in the serialized data.
:param dump_only: If `True` skip this field during deserialization, otherwise
its value will be present in the deserialized object. In the context of an
HTTP API, this effectively marks the field as "read-only".
:param dict error_messages: Overrides for `Field.default_error_messages`.
:param metadata: Extra information to be stored as field metadata.
.. versionchanged:: 2.0.0
Removed `error` parameter. Use ``error_messages`` instead.
.. versionchanged:: 2.0.0
Added `allow_none` parameter, which makes validation/deserialization of `None`
consistent across fields.
.. versionchanged:: 2.0.0
Added `load_only` and `dump_only` parameters, which allow field skipping
during the (de)serialization process.
.. versionchanged:: 2.0.0
Added `missing` parameter, which indicates the value for a field if the field
is not found during deserialization.
.. versionchanged:: 2.0.0
``default`` value is only used if explicitly set. Otherwise, missing values
inputs are excluded from serialized output.
.. versionchanged:: 3.0.0b8
Add ``data_key`` parameter for the specifying the key in the input and
output data. This parameter replaced both ``load_from`` and ``dump_to``.
"""
# Some fields, such as Method fields and Function fields, are not expected
# to exist as attributes on the objects to serialize. Set this to False
# for those fields
_CHECK_ATTRIBUTE = True
#: Default error messages for various kinds of errors. The keys in this dictionary
#: are passed to `Field.make_error`. The values are error messages passed to
#: :exc:`marshmallow.exceptions.ValidationError`.
default_error_messages = {
"required": "Missing data for required field.",
"null": "Field may not be null.",
"validator_failed": "Invalid value.",
}
def __init__(
self,
*,
load_default: typing.Any = missing_,
missing: typing.Any = missing_,
dump_default: typing.Any = missing_,
default: typing.Any = missing_,
data_key: str | None = None,
attribute: str | None = None,
validate: (
None
| typing.Callable[[typing.Any], typing.Any]
| typing.Iterable[typing.Callable[[typing.Any], typing.Any]]
) = None,
required: bool = False,
allow_none: bool | None = None,
load_only: bool = False,
dump_only: bool = False,
error_messages: dict[str, str] | None = None,
metadata: typing.Mapping[str, typing.Any] | None = None,
**additional_metadata,
) -> None:
# handle deprecated `default` and `missing` parameters
if default is not missing_:
warnings.warn(
"The 'default' argument to fields is deprecated. "
"Use 'dump_default' instead.",
RemovedInMarshmallow4Warning,
stacklevel=2,
)
if dump_default is missing_:
dump_default = default
if missing is not missing_:
warnings.warn(
"The 'missing' argument to fields is deprecated. "
"Use 'load_default' instead.",
RemovedInMarshmallow4Warning,
stacklevel=2,
)
if load_default is missing_:
load_default = missing
self.dump_default = dump_default
self.load_default = load_default
self.attribute = attribute
self.data_key = data_key
self.validate = validate
if validate is None:
self.validators = []
elif callable(validate):
self.validators = [validate]
elif utils.is_iterable_but_not_string(validate):
self.validators = list(validate)
else:
raise ValueError(
"The 'validate' parameter must be a callable "
"or a collection of callables."
)
# If allow_none is None and load_default is None
# None should be considered valid by default
self.allow_none = load_default is None if allow_none is None else allow_none
self.load_only = load_only
self.dump_only = dump_only
if required is True and load_default is not missing_:
raise ValueError("'load_default' must not be set for required fields.")
self.required = required
metadata = metadata or {}
self.metadata = {**metadata, **additional_metadata}
if additional_metadata:
warnings.warn(
"Passing field metadata as keyword arguments is deprecated. Use the "
"explicit `metadata=...` argument instead. "
f"Additional metadata: {additional_metadata}",
RemovedInMarshmallow4Warning,
stacklevel=2,
)
# Collect default error message from self and parent classes
messages = {} # type: dict[str, str]
for cls in reversed(self.__class__.__mro__):
messages.update(getattr(cls, "default_error_messages", {}))
messages.update(error_messages or {})
self.error_messages = messages
def __repr__(self) -> str:
return (
f"<fields.{self.__class__.__name__}(dump_default={self.dump_default!r}, "
f"attribute={self.attribute!r}, "
f"validate={self.validate}, required={self.required}, "
f"load_only={self.load_only}, dump_only={self.dump_only}, "
f"load_default={self.load_default}, allow_none={self.allow_none}, "
f"error_messages={self.error_messages})>"
)
def __deepcopy__(self, memo):
return copy.copy(self)
def get_value(self, obj, attr, accessor=None, default=missing_):
"""Return the value for a given key from an object.
:param object obj: The object to get the value from.
:p | (*, load_default: 'typing.Any' = <marshmallow.missing>, missing: 'typing.Any' = <marshmallow.missing>, dump_default: 'typing.Any' = <marshmallow.missing>, default: 'typing.Any' = <marshmallow.missing>, data_key: 'str | None' = None, attribute: 'str | None' = None, validate: 'None | typing.Callable[[typing.Any], typing.Any] | typing.Iterable[typing.Callable[[typing.Any], typing.Any]]' = None, required: 'bool' = False, allow_none: 'bool | None' = None, load_only: 'bool' = False, dump_only: 'bool' = False, error_messages: 'dict[str, str] | None' = None, metadata: 'typing.Mapping[str, typing.Any] | None' = None, **additional_metadata) -> 'None' | [
0.022006025537848473,
0.012515685521066189,
-0.017564354464411736,
0.04690250754356384,
0.015136368572711945,
-0.039117541164159775,
0.03483965992927551,
-0.02499283291399479,
-0.007780150976032019,
-0.06883145123720169,
0.0015186951495707035,
0.024568898603320122,
0.041391368955373764,
0.013652599416673183,
0.022853892296552658,
0.04956173151731491,
-0.03958001360297203,
0.021543551236391068,
0.031139874830842018,
-0.0065372539684176445,
0.023759569972753525,
-0.04312564432621002,
0.004506706725805998,
0.04794307425618172,
0.013382823206484318,
0.04840554669499397,
0.0174391008913517,
-0.007197241764515638,
0.03917535021901131,
0.045129694044589996,
0.0002461406111251563,
-0.030735209584236145,
0.024915752932429314,
0.05114184692502022,
-0.0006732359761372209,
-0.07603833079338074,
-0.02713177166879177,
0.030503973364830017,
-0.11145608127117157,
0.006705863866955042,
0.014548641629517078,
-0.005525593180209398,
-0.04239339381456375,
-0.04142990708351135,
0.030870098620653152,
0.024723056703805923,
0.015907157212495804,
0.08532633632421494,
-0.047788914293050766,
-0.04470575973391533,
0.036207810044288635,
0.007182789500802755,
-0.0031819131691008806,
0.031139874830842018,
0.003535994328558445,
-0.01598423533141613,
0.03094717673957348,
0.05788625031709671,
0.004540428519248962,
-0.001906498335301876,
-0.03909827023744583,
0.015492858365178108,
-0.0070623536594212055,
-0.02780621126294136,
-0.031062794849276543,
-0.016099855303764343,
-0.016350360587239265,
-0.041391368955373764,
-0.005968797020614147,
0.010261127725243568,
-0.02844211272895336,
-0.013305744156241417,
0.008772541768848896,
0.052683424204587936,
0.05060229450464249,
-0.008107736706733704,
-0.008709914982318878,
-0.030195657163858414,
0.021832596510648727,
-0.03561044856905937,
0.03805770352482796,
-0.008054744452238083,
-0.08810117840766907,
-0.01564701646566391,
-0.023470524698495865,
-0.013623694889247417,
-0.00444407993927598,
0.037036411464214325,
0.037575963884592056,
0.0022003615740686655,
-0.06181727349758148,
0.006069962866604328,
-0.03061959147453308,
0.07187607139348984,
-0.04697958752512932,
-0.05981322377920151,
-0.035244327038526535,
-0.04374227300286293,
-0.022102372720837593,
0.04412766918540001,
0.004089999012649059,
0.008575026877224445,
-0.026245364919304848,
0.018296603113412857,
0.02553238533437252,
-0.04586194455623627,
-0.04312564432621002,
0.0052799042314291,
0.022507037967443466,
-0.023894457146525383,
-0.013190126046538353,
-0.05908097326755524,
-0.06139334291219711,
0.05272196605801582,
-0.0064938971772789955,
-0.02092692069709301,
-0.010694696567952633,
-0.01860491931438446,
-0.004961953964084387,
-0.011214978992938995,
0.03539848327636719,
-0.005034215282648802,
-0.05915805324912071,
-0.027844751253724098,
0.04802015423774719,
0.02969464473426342,
0.014914766885340214,
0.007124980445951223,
0.0659024566411972,
-0.0023810153361409903,
0.016543058678507805,
0.01569519005715847,
-0.014905131421983242,
0.01830623857676983,
0.005838726181536913,
-0.009615592658519745,
0.08162654936313629,
0.05318443849682808,
-0.08054744452238083,
0.050833530724048615,
0.03046543337404728,
0.02441474050283432,
0.07889024913311005,
-0.018865060061216354,
0.007789785973727703,
-0.055689502507448196,
0.046825431287288666,
-0.013691139407455921,
-0.0588882751762867,
-0.019269723445177078,
0.023239286616444588,
-0.009822742082178593,
-0.02902020514011383,
0.016938086599111557,
-0.0038659884594380856,
0.019924893975257874,
-0.05395522713661194,
-0.07060427218675613,
0.009080857038497925,
-0.05638321116566658,
-0.03331735357642174,
-0.032334595918655396,
0.004106860142201185,
-0.07364888489246368,
0.034512076526880264,
0.05750085785984993,
0.04451306164264679,
-0.07461237162351608,
0.01724640280008316,
0.06035277619957924,
-0.05333859473466873,
-0.022641925141215324,
-0.027247389778494835,
0.06863875687122345,
-0.03483965992927551,
0.06235682591795921,
-0.007139432709664106,
-0.014028359204530716,
-0.025590194389224052,
0.002430394059047103,
0.014962940476834774,
0.007279138080775738,
0.029675375670194626,
0.003841901198029518,
0.049523189663887024,
0.0011531725758686662,
-0.013652599416673183,
0.017699241638183594,
0.04917633533477783,
0.0505637563765049,
0.05272196605801582,
-0.0033360710367560387,
0.007915039546787739,
-0.042894404381513596,
-0.04632441699504852,
-0.0021907268092036247,
0.0066095152869820595,
-0.02979099377989769,
0.05576658248901367,
0.02770986407995224,
-0.058734118938446045,
-0.02722812071442604,
0.0034372371155768633,
-0.019394977018237114,
-0.06740549206733704,
-0.00007429382094414905,
0.0033047576434910297,
0.009846828877925873,
-0.0380769744515419,
-0.061354801058769226,
-0.012708382681012154,
-0.015830079093575478,
-0.033298082649707794,
0.005795369390398264,
0.04921487718820572,
-0.12918423116207123,
0.040466420352458954,
-0.03898265212774277,
0.0022364924661815166,
0.04150698706507683,
0.13604424893856049,
0.03817332163453102,
-0.031216952949762344,
-0.015810808166861534,
-0.00008686430373927578,
0.009837194345891476,
-0.01874944195151329,
-0.03774939104914665,
0.024530358612537384,
-0.020618604496121407,
-0.009716758504509926,
0.012342258356511593,
-0.06852313876152039,
0.03449280560016632,
0.02930925041437149,
0.0236824918538332,
0.03512870892882347,
-0.04412766918540001,
0.029656104743480682,
-0.04262463003396988,
0.03275853022933006,
-0.014336674474179745,
-0.03435791656374931,
-0.023528333753347397,
0.00039412608020938933,
-0.058734118938446045,
-0.01281436625868082,
0.039502933621406555,
-0.03023419715464115,
-0.020657144486904144,
-0.0005561122088693082,
0.03221897780895233,
-0.013585155829787254,
0.051604319363832474,
0.00121098174713552,
-0.023065859451889992,
-0.005549680441617966,
-0.01329610962420702,
0.06883145123720169,
-0.005703838542103767,
0.012958889827132225,
-0.09935469925403595,
-0.01670685037970543,
0.04547654837369919,
0.025358956307172775,
-0.02204456366598606,
0.02102326974272728,
-0.03613073378801346,
0.017718510702252388,
0.014182517305016518,
0.021832596510648727,
-0.009157936088740826,
-0.022892432287335396,
0.003902119118720293,
-0.050216902047395706,
-0.03719056770205498,
0.005896535702049732,
-0.00765489786863327,
0.045129694044589996,
-0.017448734492063522,
-0.004304374568164349,
-0.02451108954846859,
0.0056123072281479836,
-0.04112159088253975,
0.05114184692502022,
-0.03071594052016735,
-0.03954147547483444,
0.003006076905876398,
-0.05114184692502022,
-0.012785461731255054,
0.03512870892882347,
-0.028519190847873688,
0.0028639626689255238,
-0.01894213818013668,
-0.03495527803897858,
-0.06940954923629761,
-0.06755965203046799,
-0.006315652281045914,
0.0113595025613904,
-0.08116407692432404,
-0.01305523794144392,
0.004605464171618223,
0.08147239685058594,
0.0027579793240875006,
-0.0028639626689255238,
-0.025224069133400917,
-0.0021690484136343002,
-0.0001338342553935945,
0.004506706725805998,
0.03932950645685196,
0.0024026937317103148,
0.06050693243741989,
-0.01438484899699688,
0.0004684951563831419,
0.060815248638391495,
0.024761594831943512,
0.04909925535321236,
0.049523189663887024,
0.028037449344992638,
0.04690250754356384,
0.012168831191956997,
-0.0032614008523523808,
-0.03767231106758118,
0.0036178906448185444,
-0.002376197837293148,
-0.0435110367834568,
0.045707784593105316,
0.0024038981646299362,
0.015964966267347336,
-0.015569937415421009,
-0.026900535449385643,
-0.027844751253724098,
-0.007707889657467604,
0.03697860240936279,
-0.026476601138710976,
0.006619150284677744,
-0.026996882632374763,
-0.05908097326755524,
-0.011012647300958633,
0.004133355803787708,
0.027767673134803772,
0.008570210076868534,
-0.003258991986513138,
-0.04208507761359215,
-0.04050495848059654,
-0.038828495889902115,
0.0614318810403347,
0.030118579044938087,
0.03516724705696106,
0.02659221924841404,
-0.006739586126059294,
-0.04435890540480614,
0.003931023646146059,
0.019192645326256752,
0.029386328533291817,
-0.1298779398202896,
-0.009321728721261024,
-0.028056718409061432,
0.004728308413177729,
-0.009157936088740826,
0.04651711508631706,
-0.043048564344644547,
-0.03651612624526024,
0.013787487521767616,
0.04054350033402443,
-0.00008385341061512008,
-0.03017638809978962,
-0.039213888347148895,
0.04474429786205292,
-0.012698748148977757,
0.02470378577709198,
-0.029675375670194626,
-0.012746922671794891,
-0.07276248186826706,
0.010964472778141499,
0.03449280560016632,
0.045900482684373856,
0.07723305374383926,
-0.08201194554567337,
-0.013845296576619148,
0.03229605779051781,
-0.003112060483545065,
-0.05584365874528885,
0.016976626589894295,
0.025840699672698975,
-0.007548914290964603,
0.017516179010272026,
-0.009278371930122375,
-0.005039033014327288,
0.0004943888634443283,
-0.012390432879328728,
0.007568184286355972,
-0.032488755881786346,
-0.017988286912441254,
-0.022217992693185806,
-0.006257842760533094,
-0.015357970260083675,
0.006132589653134346,
0.019414247944951057,
-0.050794992595911026,
0.0014175290707498789,
-0.0358416885137558,
0.00993354246020317,
0.052298031747341156,
0.0014934035716578364,
0.02242995798587799,
0.06482335180044174,
0.007452565710991621,
0.001920950599014759,
0.07145213335752487,
0.06840752065181732,
0.023798109963536263,
-0.020772762596607208,
-0.04485991597175598,
0.045168232172727585,
-0.032681453973054886,
0.036940060555934906,
0.025127720087766647,
-0.03152526915073395,
-0.006517983973026276,
-0.03285488113760948,
0.052298031747341156,
-0.005766464862972498,
-0.014856956899166107,
-0.01817134954035282,
-0.012371162883937359,
-0.06424526125192642,
0.031178412958979607,
-0.00980828981846571,
0.026669297367334366,
0.023894457146525383,
0.022699734196066856,
-0.030793018639087677,
-0.0630505383014679,
0.011388407088816166,
-0.013989820145070553,
0.009519243612885475,
-0.06466919183731079,
0.01903848722577095,
0.012987794354557991,
0.01690918207168579,
-0.018807251006364822,
0.03701714053750038,
-0.029713913798332214,
-0.008444956503808498,
0.014567911624908447,
-0.04424328729510307,
0.11438508331775665,
0.024915752932429314,
-0.005554498173296452,
0.037036411464214325,
0.012852906249463558,
0.055689502507448196,
-0.0012982976622879505,
-0.07657788693904877,
-0.02325855754315853,
0.002704987535253167,
-0.06281930208206177,
0.018132809549570084,
-0.018373681232333183,
-0.003935841377824545,
0.033105384558439255,
-0.028114527463912964,
0.003006076905876398,
-0.027921829372644424,
0.07757990807294846,
0.014664259739220142,
0.01407653372734785,
-0.023663220927119255,
0.022102372720837593,
0.011484755203127861,
0.0009412055951543152,
0.006349374074488878,
-0.014548641629517078,
0.020310290157794952,
0.02300805039703846,
0.07931418716907501,
-0.017564354464411736,
-0.07704035937786102,
-0.09395917505025864,
0.08941151946783066,
-0.03917535021901131,
-0.0006509553641080856,
-0.025744350627064705,
0.038674335926771164,
-0.016552692279219627,
0.02358614280819893,
0.0403122641146183,
-0.00250747287645936,
0.06520874798297882,
-0.04979296773672104,
0.033779826015233994,
0.017660701647400856,
0.007370669394731522,
-0.02470378577709198,
-0.023759569972753525,
-0.000571166689042002,
-0.008782177232205868,
0.02902020514011383,
-0.027440087869763374,
-0.00025411948445253074,
-0.026707837358117104,
0.007245416287332773,
0.026341712102293968,
-0.01662013679742813,
-0.039502933621406555,
-0.004357366356998682,
0.03254656493663788,
0.053839609026908875,
-0.043279800564050674,
-0.050255440175533295,
0.013267205096781254,
0.02867334894835949,
0.037807200103998184,
-0.03932950645685196,
-0.022950241342186928,
-0.0056990208104252815,
0.03570679947733879,
-0.035244327038526535,
-0.03836601972579956,
-0.004239339381456375,
0.04732644185423851,
-0.0074043916538357735,
-0.031274762004613876,
-0.04239339381456375,
0.08763870596885681,
-0.05141162499785423,
-0.024588167667388916,
0.01438484899699688,
-0.00296031148172915,
0.01943351700901985,
-0.016119124367833138,
0.04378081485629082,
-0.011398041620850563,
-0.004884874913841486,
0.05977468565106392,
-0.009504791349172592,
0.02726665884256363,
-0.05915805324912071,
-0.01564701646566391,
0.05071791261434555,
0.07835070043802261,
-0.043241262435913086,
-0.009596322663128376,
0.01733311638236046,
-0.030927907675504684,
-0.014693164266645908,
0.0659024566411972,
-0.008059562183916569,
-0.031756505370140076,
-0.03468550369143486,
0.04281732812523842,
0.0284806527197361,
-0.033066846430301666,
0.008685828186571598,
-0.029193632304668427,
-0.002502655377611518,
0.032912690192461014,
0.06324323266744614,
0.011735262349247932,
-0.0013813982950523496,
-0.0005028193700127304,
-0.009678218513727188,
-0.014567911624908447,
-0.003735917853191495,
0.002444846322759986,
-0.00842568650841713,
0.00041821322520263493,
-0.042701710015535355,
0.004971588961780071,
-0.03530213609337807,
0.02233361080288887,
0.014163247309625149,
0.012014673091471195,
0.044204745441675186,
0.039502933621406555,
-0.05141162499785423,
0.017323482781648636,
-0.025397496297955513,
-0.05133454501628876,
0.05545826628804207,
0.02605266682803631,
0.016639405861496925,
-0.04085181653499603,
-0.010665792040526867,
-0.013527346774935722,
0.005005310755223036,
0.03626561909914017,
0.016109488904476166,
-0.023605411872267723,
-0.03643904998898506,
0.022410688921809196,
-0.04821284860372543,
0.01259276457130909,
0.02217945270240307,
0.06605661660432816,
-0.01242897193878889,
-0.003497455036267638,
0.04181529954075813,
-0.039502933621406555,
-0.021158156916499138,
0.01470279973000288,
-0.017988286912441254,
-0.024241313338279724,
0.014413753524422646,
0.01438484899699688,
-0.011532929725944996,
0.06050693243741989,
0.06759819388389587,
-0.0006648054695688188,
-0.013874201104044914,
-0.027151040732860565,
-0.015367604792118073,
-0.03767231106758118,
-0.012496416456997395,
-0.07176045328378677,
-0.03266218304634094,
0.03314392641186714,
0.030870098620653152,
-0.0640140250325203,
0.011475120671093464,
0.03148673102259636,
-0.015675920993089676,
0.036689553409814835,
-0.03372201696038246,
0.0052895392291247845,
-0.045168232172727585,
-0.006792577914893627,
-0.010318937711417675,
0.0022858709562569857,
0.004215252120047808,
0.021427933126688004,
0.005467784125357866,
0.008170363493263721,
0.004598238039761782,
-0.0037527787499129772,
0.05121892690658569,
0.004489845596253872,
0.02246849797666073,
0.018479665741324425,
0.020907649770379066,
-0.040620580315589905,
-0.03626561909914017,
0.06147041916847229,
-0.04998566582798958,
0.05619051679968834,
0.008444956503808498,
-0.06127772107720375,
0.0646306574344635,
-0.01009733509272337,
-0.06640347093343735,
0.0611235648393631,
-0.037229105830192566,
-0.050409600138664246,
0.042701710015535355,
-0.0179208442568779,
0.03753742203116417,
-0.03356786072254181,
-0.002371380338445306,
-0.0031819131691008806,
-0.043472498655319214,
-0.015184542164206505,
0.02019467018544674,
-0.05730815976858139,
0.005530410911887884,
0.02146647311747074,
-0.01651415415108204,
0.011783435940742493,
0.04755767807364464,
0.005973614286631346,
-0.04659419134259224,
-0.006412000861018896,
0.027151040732860565,
0.020599335432052612,
-0.028846776112914085,
0.004111677408218384,
0.03593803569674492,
-0.00012058632273692638,
-0.0032830792479217052,
-0.014182517305016518,
0.09180096536874771,
0.010781411081552505,
-0.03836601972579956,
0.04339541867375374,
-0.013209396041929722,
0.006840751972049475,
0.03474331274628639,
0.007852412760257721,
0.025551654398441315,
-0.034280840307474136,
0.022564847022294998,
-0.046478573232889175,
0.01849893480539322,
-0.0034589155111461878,
-0.04701812565326691,
-0.0697564035654068,
-0.006137406919151545,
0.024279851466417313,
0.0018535065464675426,
0.03618854284286499,
-0.019192645326256752,
-0.0029410417191684246,
-0.0074622007086873055,
0.008030657656490803,
0.010993377305567265,
0.010386381298303604,
-0.061740197241306305,
0.009389173239469528,
0.04713374376296997,
-0.01617693342268467,
0.08393891900777817,
0.07665496319532394,
-0.013247935101389885,
-0.0697564035654068,
-0.023855919018387794,
-0.014914766885340214,
0.0118412459269166,
0.04963880777359009,
-0.022275801748037338,
0.03027273714542389,
0.0003841901198029518,
0.025898508727550507,
0.020213941112160683,
-0.031082065775990486,
0.016494883224368095,
0.0022666011936962605,
-0.044397443532943726,
-0.04597756266593933,
-0.0044224015437066555,
0.015213447622954845,
0.08386184275150299,
0.07403428107500076,
-0.02489648386836052,
0.01972256228327751,
0.024241313338279724,
-0.07754136621952057,
0.03379909694194794,
0.002661630744114518,
0.002591777825728059,
0.03788427636027336,
0.023528333753347397,
0.012718018144369125,
0.04297148436307907,
0.0707198902964592,
-0.027247389778494835,
0.04243193194270134,
0.03641977906227112,
0.03961855173110962,
-0.03275853022933006,
-0.005790552124381065,
-0.020772762596607208,
0.008536487817764282,
-0.03954147547483444,
0.013430997729301453,
0.018046095967292786,
-0.0010092518059536815,
-0.03056178241968155,
0.03453134745359421,
0.016263647004961967,
-0.053261518478393555,
-0.03744107484817505,
-0.03308611735701561,
-0.047634758055210114,
0.019077027216553688,
0.035726066678762436,
0.05595928058028221,
-0.02131231501698494,
0.04485991597175598
] |
729,882 | marshmallow.fields | _deserialize | Deserialize value. Concrete :class:`Field` classes should implement this method.
:param value: The value to be deserialized.
:param attr: The attribute/key in `data` to be deserialized.
:param data: The raw input data passed to the `Schema.load`.
:param kwargs: Field-specific keyword arguments.
:raise ValidationError: In case of formatting or validation failure.
:return: The deserialized value.
.. versionchanged:: 2.0.0
Added ``attr`` and ``data`` parameters.
.. versionchanged:: 3.0.0
Added ``**kwargs`` to signature.
| def _deserialize(
self,
value: typing.Any,
attr: str | None,
data: typing.Mapping[str, typing.Any] | None,
**kwargs,
):
"""Deserialize value. Concrete :class:`Field` classes should implement this method.
:param value: The value to be deserialized.
:param attr: The attribute/key in `data` to be deserialized.
:param data: The raw input data passed to the `Schema.load`.
:param kwargs: Field-specific keyword arguments.
:raise ValidationError: In case of formatting or validation failure.
:return: The deserialized value.
.. versionchanged:: 2.0.0
Added ``attr`` and ``data`` parameters.
.. versionchanged:: 3.0.0
Added ``**kwargs`` to signature.
"""
return value
| (self, value: Any, attr: str | None, data: Optional[Mapping[str, Any]], **kwargs) | [
0.080921471118927,
0.04386795312166214,
0.007976798340678215,
0.017124827951192856,
-0.03203141316771507,
-0.017976634204387665,
0.057922735810279846,
0.012297933921217918,
-0.020017415285110474,
-0.019627004861831665,
0.005510113202035427,
0.08510950952768326,
0.02074499987065792,
0.0013143083779141307,
0.05391215533018112,
0.07829506695270538,
-0.05625461786985397,
0.0639563575387001,
-0.021490328013896942,
0.004547396209090948,
0.01387732196599245,
-0.011046845465898514,
-0.0555092878639698,
0.07446194440126419,
0.03893458470702171,
0.012528630904853344,
-0.01814522035419941,
-0.03389473631978035,
0.006747892126441002,
0.03002612479031086,
0.01755073107779026,
-0.0017402108060196042,
0.03020358271896839,
-0.006011435762047768,
0.012927914038300514,
-0.031481292098760605,
-0.045890990644693375,
-0.012768200598657131,
-0.08461262285709381,
0.005705318413674831,
0.003957343753427267,
-0.01902364380657673,
-0.06136544793844223,
-0.028464481234550476,
0.0621107779443264,
0.004640562459826469,
0.013939432799816132,
0.02193397656083107,
-0.0847545936703682,
-0.026707634329795837,
-0.0075686415657401085,
0.004724855534732342,
0.021295122802257538,
0.038260240107774734,
0.023442381992936134,
0.03533215820789337,
-0.04723968356847763,
0.06867676973342896,
0.02649468183517456,
0.019130120053887367,
-0.03865065053105354,
-0.009210140444338322,
-0.04021229222416878,
-0.017958886921405792,
-0.010656435042619705,
-0.02574935369193554,
0.027896611019968987,
-0.06881874054670334,
-0.05770978331565857,
0.011348525993525982,
-0.048339929431676865,
0.02319393865764141,
0.019360816106200218,
0.05327330157160759,
0.06842833012342453,
-0.005350399762392044,
0.025039516389369965,
0.010958115570247173,
0.022537339478731155,
-0.04436483979225159,
0.053237807005643845,
-0.00458732433617115,
-0.013513530604541302,
-0.024933040142059326,
-0.0508243627846241,
0.0156430434435606,
-0.015394599176943302,
0.008677762933075428,
0.010008707642555237,
0.03914753347635269,
-0.04709771275520325,
-0.049369193613529205,
-0.04904976859688759,
0.05852609872817993,
-0.037976302206516266,
-0.05139223113656044,
0.009121411480009556,
-0.00877536553889513,
-0.020035162568092346,
0.0324750617146492,
0.06509209424257278,
-0.0025398870930075645,
-0.010452356189489365,
0.012102728709578514,
0.030150344595313072,
-0.05259895324707031,
-0.01803874410688877,
-0.025607386603951454,
-0.015119537711143494,
0.0036423534620553255,
-0.011410636827349663,
0.005487930960953236,
-0.04007032513618469,
0.08638721704483032,
-0.04670730233192444,
0.05391215533018112,
-0.011082337237894535,
-0.05064690113067627,
-0.02644144557416439,
-0.013744227588176727,
-0.01987544819712639,
0.05448002368211746,
-0.0312860868871212,
0.010585450567305088,
-0.00036739633651450276,
-0.0018489047652110457,
0.03676958009600639,
-0.04404541477560997,
-0.001983108464628458,
0.05032747611403465,
-0.00563877122476697,
-0.016787655651569366,
0.00913915690034628,
-0.010390245355665684,
0.021809754893183708,
0.04124155640602112,
0.08801984041929245,
0.026583412662148476,
-0.04667181149125099,
0.024542629718780518,
0.04855288192629814,
0.058206669986248016,
0.0969637930393219,
-0.0818442553281784,
-0.014516175724565983,
-0.013761973939836025,
0.02935177832841873,
0.02638820745050907,
-0.02193397656083107,
-0.0056520807556807995,
-0.03121510148048401,
-0.04741714149713516,
0.018207330256700516,
0.04038975015282631,
0.05149870738387108,
-0.027559438720345497,
-0.017000606283545494,
-0.08347688615322113,
0.02216467447578907,
-0.026743125170469284,
-0.002098456956446171,
0.044187381863594055,
-0.005226178094744682,
-0.08823279291391373,
0.043513037264347076,
0.08709705621004105,
0.04358401894569397,
-0.037514910101890564,
0.009529567323625088,
-0.012564122676849365,
-0.05668051913380623,
-0.03772785887122154,
0.011242050677537918,
0.029653459787368774,
-0.046742796897888184,
0.010239405557513237,
0.008376081474125385,
0.005337090231478214,
0.047488126903772354,
0.028393497690558434,
-0.025536401197314262,
0.05061141029000282,
0.02945825457572937,
0.002987971995025873,
0.0668666884303093,
0.02443615347146988,
-0.011304161511361599,
0.01384183019399643,
0.06033618375658989,
0.03904106095433235,
0.04010581597685814,
-0.021721025928854942,
-0.032102398574352264,
-0.05657404288649559,
-0.051072802394628525,
0.010407991707324982,
0.028641941025853157,
-0.021756518632173538,
0.02825153060257435,
-0.005057591944932938,
0.0033295813482254744,
-0.035704825073480606,
0.006592615507543087,
0.014995316043496132,
-0.07666244357824326,
-0.007275833748281002,
0.03776335343718529,
0.018473519012331963,
0.01641499064862728,
-0.04312262311577797,
-0.009556186385452747,
-0.04379697144031525,
0.02113541029393673,
-0.01920110359787941,
0.07194202393293381,
-0.08951050043106079,
-0.05334428325295448,
-0.07290030270814896,
0.00716492161154747,
0.02940501645207405,
0.1034943014383316,
0.04085114598274231,
-0.0419159010052681,
-0.03041653521358967,
0.038153763860464096,
-0.017311161383986473,
-0.01850901171565056,
-0.05121477320790291,
-0.019964179024100304,
-0.015563186258077621,
-0.026920584961771965,
-0.012865804135799408,
-0.01644160971045494,
-0.01142838317900896,
0.04784304276108742,
0.052740924060344696,
0.04205786809325218,
-0.03219112753868103,
0.0019986361730843782,
-0.008868531323969364,
0.054267071187496185,
-0.045784514397382736,
-0.05224403738975525,
-0.009866740554571152,
-0.027275504544377327,
0.0004666626628022641,
0.0007586387800984085,
0.06314004212617874,
-0.003373946063220501,
-0.033238139003515244,
0.01432984322309494,
0.01840253546833992,
0.01943179965019226,
0.018438028171658516,
0.024684596806764603,
-0.06108151376247406,
0.008229677565395832,
-0.06967054307460785,
0.08574836701154709,
0.0015150592662394047,
-0.0066147977486252785,
-0.05778076872229576,
-0.024258695542812347,
0.07566867023706436,
0.0466008298099041,
-0.054728467017412186,
0.027204521000385284,
-0.0032963077537715435,
0.039395976811647415,
0.01082502119243145,
0.041560981422662735,
-0.06374340504407883,
0.03456908464431763,
-0.0014784582890570164,
-0.021969469264149666,
-0.039112042635679245,
0.026796363294124603,
-0.03338010609149933,
0.07290030270814896,
0.012182584963738918,
-0.030239075422286987,
-0.05362821742892265,
-0.010984734632074833,
-0.043158117681741714,
0.03680507093667984,
-0.0366985946893692,
0.014569413848221302,
-0.007581951096653938,
-0.022519592195749283,
-0.002098456956446171,
0.08922656625509262,
-0.06977701932191849,
-0.07403604686260223,
0.01028377003967762,
-0.0035314413253217936,
-0.018047617748379707,
-0.039112042635679245,
0.007710609119385481,
0.02306971698999405,
-0.04102860391139984,
0.0317474789917469,
-0.03291871026158333,
0.05110829696059227,
0.0057629928924143314,
0.011348525993525982,
0.028908129781484604,
-0.005647644400596619,
0.01966249756515026,
-0.019343070685863495,
0.04464877396821976,
-0.0003330135950818658,
0.058774542063474655,
-0.07914687693119049,
0.034267403185367584,
-0.015261504799127579,
0.04770107567310333,
0.02296324074268341,
0.04915624484419823,
-0.008025599643588066,
0.026707634329795837,
-0.00722259609028697,
-0.017257923260331154,
-0.012750455178320408,
-0.010940369218587875,
0.0017357743345201015,
-0.04163196682929993,
0.012076109647750854,
-0.02039008028805256,
0.07006095349788666,
0.02392152138054371,
0.039963848888874054,
-0.006783383898437023,
0.030292313545942307,
0.013974924571812153,
0.0171958114951849,
0.0024245386011898518,
-0.018189584836363792,
-0.03401895985007286,
-0.007124993484467268,
0.019928686320781708,
-0.010008707642555237,
-0.004219096153974533,
0.03041653521358967,
-0.04109958931803703,
-0.019556021317839622,
0.01925433985888958,
0.03566933050751686,
0.00810545589774847,
0.05352174490690231,
0.013220722787082195,
0.01501306239515543,
-0.04997255653142929,
0.009485202841460705,
0.01592697761952877,
-0.041560981422662735,
-0.07900490611791611,
-0.019680242985486984,
0.0009654898312874138,
-0.009698154404759407,
-0.02523472160100937,
0.02147258259356022,
-0.023903775960206985,
0.012040617875754833,
-0.003755483776330948,
-0.0006244351388886571,
0.005847285967320204,
-0.09902232140302658,
-0.05675150454044342,
0.0752427726984024,
0.0277546439319849,
0.043619509786367416,
0.011348525993525982,
-0.03146354481577873,
-0.02569611556828022,
0.01501306239515543,
0.007586387917399406,
0.029546983540058136,
0.058774542063474655,
-0.0039883991703391075,
0.038153763860464096,
-0.013664370402693748,
0.005816230550408363,
-0.01495982427150011,
-0.0027106916531920433,
0.03641466051340103,
0.008899587206542492,
0.02644144557416439,
-0.021348360925912857,
-0.038082778453826904,
-0.018003251403570175,
-0.06186233460903168,
0.007102810777723789,
-0.015394599176943302,
-0.05714191496372223,
0.002952480223029852,
-0.010079692117869854,
-0.02056754007935524,
-0.02500402368605137,
0.034089941531419754,
0.0008268497185781598,
-0.03325588256120682,
-0.005807357374578714,
-0.011801047250628471,
0.05657404288649559,
0.037337448447942734,
0.02523472160100937,
0.04319360852241516,
-0.0018533412367105484,
-0.018721962347626686,
0.05845511332154274,
0.06168487295508385,
0.0024023561272770166,
0.045784514397382736,
-0.055757731199264526,
0.07041587680578232,
-0.008318407461047173,
0.006246569566428661,
0.006574869155883789,
-0.03249280899763107,
-0.02125963196158409,
-0.007932433858513832,
0.03377051651477814,
0.0011390672298148274,
-0.03133932501077652,
-0.006845494732260704,
0.0014784582890570164,
0.029777681455016136,
-0.020265858620405197,
0.030682723969221115,
0.003961780108511448,
0.02706255204975605,
-0.027488455176353455,
-0.009148030541837215,
-0.08454164117574692,
0.023513365536928177,
0.01803874410688877,
-0.06413381546735764,
-0.056148141622543335,
0.019857702776789665,
-0.07222595810890198,
-0.015651915222406387,
-0.0033384542912244797,
0.05440904200077057,
-0.04322909936308861,
-0.007759410422295332,
-0.009573932737112045,
0.012404409237205982,
0.10100986808538437,
0.039289504289627075,
-0.04205786809325218,
0.038153763860464096,
0.03850867971777916,
0.03946696221828461,
0.012093855068087578,
0.0005872795591130853,
-0.04113508015871048,
-0.021153155714273453,
-0.0555092878639698,
0.03932499513030052,
-0.0016060072230175138,
-0.010239405557513237,
-0.00868663564324379,
-0.06949308514595032,
-0.09916429221630096,
0.011960760690271854,
0.0978865846991539,
0.01592697761952877,
0.017417635768651962,
-0.028216037899255753,
-0.011233177967369556,
0.01791452243924141,
-0.01879294589161873,
0.044400330632925034,
-0.0025398870930075645,
0.0166013240814209,
0.01763058826327324,
0.043619509786367416,
-0.030966658145189285,
-0.056822486221790314,
-0.05838413164019585,
0.07744326442480087,
-0.0032940893433988094,
-0.019360816106200218,
0.0045784516260027885,
0.005301598459482193,
-0.02757718414068222,
0.0033229265827685595,
0.04209335893392563,
-0.01185428537428379,
0.05277641490101814,
-0.01290129590779543,
0.06849931180477142,
0.012723836116492748,
0.05064690113067627,
0.00726696103811264,
-0.025376688688993454,
0.04067368432879448,
-0.015678534284234047,
0.003125502960756421,
-0.01902364380657673,
-0.0022825710475444794,
-0.052847396582365036,
-0.017852412536740303,
0.010700799524784088,
-0.03311391547322273,
-0.02649468183517456,
-0.007298016455024481,
0.03316715359687805,
0.017355525866150856,
-0.01732003316283226,
-0.03946696221828461,
0.005825103726238012,
0.0931306704878807,
0.0009017153643071651,
-0.02211143635213375,
-0.021401599049568176,
0.0025243593845516443,
0.011100082658231258,
-0.08716803789138794,
-0.02933403290808201,
-0.009281124919652939,
-0.005359272938221693,
-0.022697051987051964,
-0.00042812072206288576,
-0.04408090561628342,
0.013025517575442791,
-0.059164952486753464,
-0.05440904200077057,
0.028340259566903114,
-0.042767707258462906,
0.020301351323723793,
-0.040531717240810394,
0.03453359007835388,
-0.03229760378599167,
0.031090879812836647,
0.002952480223029852,
-0.004230187740176916,
0.011525985784828663,
0.01327395997941494,
-0.02074499987065792,
0.0489787831902504,
0.03185395523905754,
-0.042306311428546906,
0.039289504289627075,
0.00859790574759245,
-0.007160485256463289,
-0.05490592494606972,
0.051072802394628525,
0.022750290110707283,
0.028854891657829285,
-0.060194216668605804,
0.029032351449131966,
0.020035162568092346,
-0.01763058826327324,
-0.07240341603755951,
0.014791238121688366,
-0.014294351451098919,
0.006685781292617321,
0.03783433511853218,
-0.006290934514254332,
-0.03522568196058273,
0.025731608271598816,
-0.008047781884670258,
0.05309583991765976,
0.021809754893183708,
0.02984866499900818,
0.01219145767390728,
-0.00462725292891264,
-0.037053514271974564,
-0.02301647886633873,
-0.006361918058246374,
-0.005550041329115629,
0.00360464327968657,
0.011055718176066875,
0.048233453184366226,
0.05930691957473755,
-0.02574935369193554,
-0.03002612479031086,
-0.03332686796784401,
-0.02711579017341137,
-0.040247783064842224,
0.013256214559078217,
0.04003483057022095,
-0.00456957845017314,
-0.005430256482213736,
-0.0345868282020092,
-0.031126372516155243,
0.037798844277858734,
-0.0011301942868158221,
-0.01390394102782011,
0.01611330918967724,
-0.019005898386240005,
-0.04585549980401993,
-0.0038486497942358255,
-0.018313806504011154,
-0.013398181647062302,
-0.007213722914457321,
0.01125092338770628,
-0.0028171674348413944,
-0.03481752797961235,
-0.04248376935720444,
0.01803874410688877,
0.00511526595801115,
-0.012546377256512642,
0.029156573116779327,
0.022572830319404602,
-0.008797547779977322,
0.04166745766997337,
0.03801179677248001,
0.013309451751410961,
-0.015021935105323792,
0.008455938659608364,
-0.012750455178320408,
-0.027257757261395454,
0.07765621691942215,
-0.05909396708011627,
-0.023105209693312645,
-0.012049490585923195,
-0.009911105036735535,
-0.07630752772092819,
-0.006437338422983885,
-0.02182750217616558,
0.008034472353756428,
0.03222661837935448,
0.0073068891651928425,
0.012147093191742897,
-0.016565831378102303,
-0.022980988025665283,
-0.027381978929042816,
-0.019804464653134346,
-0.005248360801488161,
-0.018491266295313835,
-0.015838248655200005,
-0.015217140316963196,
-0.02314070053398609,
-0.015101791359484196,
0.015421218238770962,
0.009494075551629066,
0.02768366038799286,
-0.011747810058295727,
0.0036822818219661713,
-0.01698286086320877,
-0.04699124023318291,
0.04755910858511925,
-0.029529238119721413,
0.03545638173818588,
0.0032674705144017935,
-0.04929821193218231,
0.015146156772971153,
0.062252745032310486,
-0.012386663816869259,
0.017595095559954643,
-0.023797299712896347,
-0.01587373949587345,
0.04933370277285576,
-0.03982188180088997,
0.06526955217123032,
-0.014480683952569962,
-0.0028726235032081604,
0.026920584961771965,
-0.042306311428546906,
-0.023513365536928177,
-0.018313806504011154,
-0.05064690113067627,
0.05043395236134529,
0.008442629128694534,
-0.023229429498314857,
0.04308713227510452,
0.05309583991765976,
-0.0172934141010046,
-0.042696721851825714,
0.057567816227674484,
-0.004986607935279608,
0.018260568380355835,
-0.048339929431676865,
-0.0027195648290216923,
0.010665307752788067,
-0.031090879812836647,
0.0013631096808239818,
0.035633839666843414,
0.026051035150885582,
-0.005909396801143885,
-0.04809148609638214,
0.029387271031737328,
-0.02399250492453575,
0.007062882650643587,
0.031090879812836647,
0.005931579042226076,
0.01822507567703724,
-0.044755250215530396,
0.007670680992305279,
-0.05032747611403465,
-0.02131287008523941,
-0.049191735684871674,
-0.028783908113837242,
-0.0932016596198082,
0.016903003677725792,
-0.010745164006948471,
0.05902298539876938,
0.07794015109539032,
0.0013387090293690562,
0.0015072954120114446,
0.015447837300598621,
0.00920126773416996,
0.026175254955887794,
-0.016281897202134132,
-0.068250872194767,
0.01925433985888958,
0.059271425008773804,
-0.02079823799431324,
0.03054075688123703,
0.0574258491396904,
-0.047949519008398056,
-0.05213756114244461,
-0.0029746624641120434,
0.01773706264793873,
-0.011295288801193237,
0.02010614611208439,
-0.005257233511656523,
-0.0031765226740390062,
-0.0015217140316963196,
0.007865886203944683,
0.025607386603951454,
-0.0027395288925617933,
0.026760872453451157,
0.004968862049281597,
-0.06250118464231491,
-0.021153155714273453,
-0.019786719232797623,
0.015989089384675026,
0.028499973937869072,
0.016681179404258728,
-0.03350432589650154,
-0.007400055415928364,
-0.055012401193380356,
-0.050859853625297546,
0.0035425324458628893,
-0.0020618559792637825,
0.014702508226037025,
0.03281223773956299,
-0.030327804386615753,
0.07453293353319168,
0.03543863445520401,
0.10313937813043594,
-0.045145660638809204,
0.024471646174788475,
-0.004915624391287565,
0.024986278265714645,
0.01680540107190609,
-0.0166989266872406,
-0.015084045939147472,
0.017541857436299324,
-0.04940468445420265,
0.0639563575387001,
-0.009360981173813343,
-0.020443318411707878,
0.028641941025853157,
-0.020993443205952644,
-0.003830903908237815,
-0.04141901433467865,
-0.02585582807660103,
0.037514910101890564,
-0.03575805947184563,
-0.05813568830490112,
0.02188073843717575,
0.004505249671638012,
-0.003422747366130352,
0.03726646676659584
] |
729,883 | marshmallow.fields | _serialize | Serializes ``value`` to a basic Python datatype. Noop by default.
Concrete :class:`Field` classes should implement this method.
Example: ::
class TitleCase(Field):
def _serialize(self, value, attr, obj, **kwargs):
if not value:
return ""
return str(value).title()
:param value: The value to be serialized.
:param str attr: The attribute or key on the object to be serialized.
:param object obj: The object the value was pulled from.
:param dict kwargs: Field-specific keyword arguments.
:return: The serialized value
| def _serialize(
self, value: typing.Any, attr: str | None, obj: typing.Any, **kwargs
):
"""Serializes ``value`` to a basic Python datatype. Noop by default.
Concrete :class:`Field` classes should implement this method.
Example: ::
class TitleCase(Field):
def _serialize(self, value, attr, obj, **kwargs):
if not value:
return ""
return str(value).title()
:param value: The value to be serialized.
:param str attr: The attribute or key on the object to be serialized.
:param object obj: The object the value was pulled from.
:param dict kwargs: Field-specific keyword arguments.
:return: The serialized value
"""
return value
| (self, value: Any, attr: str | None, obj: Any, **kwargs) | [
0.006673862691968679,
0.0055630882270634174,
0.022399842739105225,
0.009503801353275776,
-0.001637354725971818,
-0.031046366319060326,
0.0078307269141078,
-0.004848690237849951,
-0.00250500300899148,
-0.07009398937225342,
-0.010434824042022228,
0.07241693884134293,
-0.006761434022337198,
-0.0067983060143888,
0.022621074691414833,
0.04328792542219162,
-0.0406700000166893,
0.02686137519776821,
0.02606862224638462,
0.01911821961402893,
0.013956115581095219,
0.018519045785069466,
-0.0009408164187334478,
0.06131841614842415,
0.043730393052101135,
-0.0012985917273908854,
0.0035535553470253944,
-0.016288280487060547,
-0.027045736089348793,
0.05667252466082573,
0.03331400454044342,
-0.03541571646928787,
0.03604254499077797,
-0.04155493527650833,
0.014417017810046673,
-0.03536041080951691,
-0.07197447121143341,
0.04900311306118965,
-0.1061180979013443,
-0.05328028276562691,
0.005180539563298225,
0.004671243019402027,
-0.08591215312480927,
-0.052395351231098175,
0.02035343647003174,
-0.014656687155365944,
0.04561087116599083,
0.08502721786499023,
-0.020777467638254166,
-0.05165790766477585,
-0.015855032950639725,
0.05412834510207176,
0.01815032586455345,
-0.014905573800206184,
-0.0033346267882734537,
0.02396691031754017,
-0.007729328237473965,
0.017846129834651947,
0.019376324489712715,
0.0406700000166893,
-0.023487571626901627,
0.03762804716825485,
0.03816269338130951,
-0.03152570500969887,
-0.03370116278529167,
-0.017661768943071365,
-0.04107559472322464,
-0.01886933296918869,
-0.05143667384982109,
0.007812290918081999,
-0.003624995006248355,
-0.031027929857373238,
0.04929808899760246,
0.07219570875167847,
0.028668111190199852,
0.024925585836172104,
-0.014223438687622547,
0.04870813339948654,
-0.021183060482144356,
-0.05254283919930458,
0.07971762865781784,
-0.029221193864941597,
-0.051694780588150024,
-0.05316966772079468,
-0.03137821704149246,
-0.03714871034026146,
-0.11083773523569107,
0.01056387647986412,
0.034475479274988174,
0.039711326360702515,
-0.029718967154622078,
0.014168131165206432,
-0.007798463571816683,
0.06928280740976334,
-0.055824462324380875,
-0.05807366594672203,
0.006784479133784771,
-0.03182068094611168,
0.0009194997255690396,
0.056230057030916214,
0.02455686405301094,
0.01712712273001671,
-0.06998337805271149,
0.008273192681372166,
-0.014158912934362888,
-0.06238770857453346,
0.009863304905593395,
-0.006821351125836372,
0.04299294948577881,
0.043140437453985214,
0.010499349795281887,
-0.018454520031809807,
-0.03403301164507866,
-0.009213432669639587,
-0.010370297357439995,
-0.003998325672000647,
-0.014997754245996475,
-0.013670356012880802,
-0.009411620907485485,
-0.04450470581650734,
0.0031041756737977266,
0.03464140370488167,
-0.030364230275154114,
0.026529524475336075,
0.006590900011360645,
-0.003961453679949045,
0.03827331215143204,
-0.028834035620093346,
-0.010656056925654411,
0.0517316535115242,
-0.010987905785441399,
-0.017993617802858353,
0.008061178028583527,
0.009918613359332085,
0.07160574942827225,
0.03430955111980438,
0.061650265008211136,
0.0156614538282156,
-0.02628985606133938,
0.021312113851308823,
0.04900311306118965,
-0.015827378258109093,
0.0592167042195797,
-0.026713885366916656,
0.014361709356307983,
-0.018675753846764565,
0.04693827033042908,
-0.008526689372956753,
-0.026750758290290833,
-0.014693559147417545,
0.03591349348425865,
-0.012499664910137653,
-0.004991570021957159,
0.013808626681566238,
0.02628985606133938,
0.008204057812690735,
0.0024888713378459215,
-0.08303612470626831,
0.014693559147417545,
-0.04218176007270813,
0.0005260045290924609,
0.025128383189439774,
0.017025724053382874,
-0.0511048249900341,
0.06618554145097733,
0.09756375849246979,
0.032484378665685654,
-0.0006043578614480793,
0.00795517023652792,
-0.013476777821779251,
-0.03838392719626427,
-0.02697199210524559,
-0.045758362859487534,
0.051768526434898376,
-0.011310537345707417,
0.04561087116599083,
-0.01107086893171072,
0.05895859748125076,
0.003184833563864231,
0.03596879914402962,
0.00031427762587554753,
-0.020076895132660866,
0.007485050242394209,
0.03736994415521622,
0.07912767678499222,
-0.02938711829483509,
0.03353523835539818,
-0.02123836986720562,
0.05464455485343933,
0.03486263379454613,
0.0571887344121933,
-0.0125826271250844,
-0.039010755717754364,
-0.07890643924474716,
-0.025626156479120255,
-0.003118002787232399,
0.00032205533352680504,
-0.0828886330127716,
0.0503305085003376,
0.027617253363132477,
-0.0007587600848637521,
-0.006392712239176035,
0.017707858234643936,
0.0035166831221431494,
-0.005521607119590044,
-0.02981114760041237,
0.06128154322504997,
-0.02214173786342144,
-0.04188678413629532,
-0.03996942937374115,
0.033977702260017395,
-0.03602410852909088,
-0.028225645422935486,
0.008185621351003647,
0.06375198066234589,
-0.07330187410116196,
0.014905573800206184,
-0.04601646587252617,
0.01107086893171072,
0.038900136947631836,
0.02236296981573105,
0.043324798345565796,
-0.0738549530506134,
-0.030327359214425087,
0.06220334768295288,
-0.04450470581650734,
0.035987235605716705,
-0.06507937610149384,
-0.004691983573138714,
-0.0744817778468132,
0.01263793557882309,
0.00031283730641007423,
-0.03676155209541321,
0.03410675749182701,
0.008992199786007404,
0.05357526242733002,
0.03252125158905983,
-0.07249068468809128,
-0.028760291635990143,
-0.08067630231380463,
0.06371510773897171,
-0.027598818764090538,
-0.02837313339114189,
-0.0024934804532676935,
-0.00033876305678859353,
0.003664171788841486,
-0.006535592023283243,
0.06994650512933731,
0.004675851669162512,
-0.009162734262645245,
0.052985306829214096,
0.002449694788083434,
-0.04642206057906151,
-0.06928280740976334,
-0.019044475629925728,
-0.053796492516994476,
-0.001090033445507288,
0.03080669604241848,
0.016186881810426712,
0.017597243189811707,
-0.04833941161632538,
-0.05294843390583992,
-0.015292732045054436,
0.05412834510207176,
0.044836558401584625,
-0.027248533442616463,
0.016832144930958748,
-0.007968997582793236,
0.01398377027362585,
0.0511048249900341,
0.012075635604560375,
-0.07639913260936737,
0.03069608099758625,
-0.003217096673324704,
-0.05405459925532341,
-0.05626692995429039,
-0.03626377880573273,
-0.0005968682235106826,
0.027598818764090538,
0.017191648483276367,
-0.016961198300123215,
-0.02809659205377102,
0.024280322715640068,
-0.041223082691431046,
0.02837313339114189,
-0.022178608924150467,
0.03230001777410507,
0.00017226216732524335,
-0.04015379026532173,
-0.016988851130008698,
0.06209273263812065,
0.011107740923762321,
-0.05626692995429039,
0.004585975781083107,
-0.024280322715640068,
-0.039821941405534744,
-0.0420711450278759,
-0.026142368093132973,
0.05051486939191818,
-0.050478000193834305,
0.016776837408542633,
0.006383494008332491,
0.020113768056035042,
-0.009158125147223473,
0.006042426452040672,
0.02850218676030636,
-0.04476281255483627,
0.020519360899925232,
-0.04620082676410675,
0.020574670284986496,
-0.03956383839249611,
0.022916052490472794,
-0.012259996496140957,
0.06928280740976334,
-0.01485026627779007,
0.043841008096933365,
0.02728540450334549,
0.01061918493360281,
-0.025699902325868607,
0.041223082691431046,
-0.026013314723968506,
-0.01765255071222782,
-0.039895687252283096,
-0.021478038281202316,
0.01708103157579899,
-0.042218632996082306,
0.0013873153366148472,
0.001795213669538498,
0.06117092818021774,
0.021054008975625038,
0.007167027797549963,
0.03158101066946983,
0.04280858859419823,
0.022971361875534058,
-0.030161432921886444,
-0.0023275555577129126,
0.007079456467181444,
-0.005609178449958563,
-0.04406224191188812,
0.023026669397950172,
-0.0018977643921971321,
0.023579752072691917,
0.007388260681182146,
0.004691983573138714,
-0.0237641129642725,
0.0032654914539307356,
0.0330374613404274,
0.013227890245616436,
0.07252755761146545,
0.02324790135025978,
-0.0029405553359538317,
-0.057409968227148056,
0.012914476916193962,
0.013320070691406727,
-0.03687216714024544,
-0.03207878768444061,
0.017956746742129326,
0.02706417255103588,
-0.04583210498094559,
-0.04026440903544426,
0.03268717601895332,
-0.028612803667783737,
0.035581640899181366,
0.010877289809286594,
0.02203112095594406,
0.026750758290290833,
-0.026695450767874718,
-0.031968168914318085,
0.0715320035815239,
-0.004102028906345367,
0.0009557957528159022,
0.023616623133420944,
-0.0511048249900341,
-0.05560322850942612,
-0.04291920363903046,
0.030419539660215378,
0.034493912011384964,
0.046569548547267914,
-0.028059720993041992,
-0.009448492899537086,
0.018629662692546844,
-0.004413137678056955,
0.02708260715007782,
0.008148749358952045,
0.027543509379029274,
0.009678944014012814,
0.07326500117778778,
0.0001954512990778312,
-0.01676761917769909,
-0.009715816006064415,
-0.07127390056848526,
0.002216939115896821,
-0.06397321075201035,
-0.057114988565444946,
0.009798779152333736,
-0.03565538674592972,
-0.009231869131326675,
-0.022215481847524643,
-0.028815599158406258,
0.038900136947631836,
-0.00027063596644438803,
-0.03191286325454712,
0.014656687155365944,
0.0347520187497139,
-0.013209454715251923,
0.05287468805909157,
0.03399613872170448,
-0.07381808012723923,
0.02313728630542755,
0.04376726225018501,
0.032152529805898666,
-0.02042718045413494,
-0.032465945929288864,
-0.08207744359970093,
0.1076667308807373,
-0.03582131117582321,
0.0044891866855323315,
0.02518369071185589,
-0.04291920363903046,
-0.02236296981573105,
-0.025386488065123558,
0.06441567838191986,
-0.024778097867965698,
0.03342461958527565,
-0.0028391568921506405,
0.001864349003881216,
0.01626984402537346,
-0.00931022223085165,
0.07905393093824387,
0.015762852504849434,
0.039821941405534744,
-0.026197675615549088,
-0.03141508623957634,
-0.0320972241461277,
0.03202347829937935,
0.030640771612524986,
-0.021717706695199013,
-0.07625164091587067,
-0.013762536458671093,
0.012407484464347363,
-0.015292732045054436,
-0.0022065688390284777,
0.003576600458472967,
-0.006199133116751909,
0.01961599290370941,
0.011660823598504066,
0.0037125665694475174,
0.08458475768566132,
0.024722788482904434,
0.008992199786007404,
0.1115751788020134,
0.05637754499912262,
0.04668016359210014,
0.018786370754241943,
-0.042108017951250076,
-0.08045507222414017,
0.004065156448632479,
-0.06788165867328644,
0.025718336924910545,
-0.016491077840328217,
0.017569588497281075,
0.015633799135684967,
-0.022694820538163185,
-0.0696515291929245,
-0.018343903124332428,
0.04288233071565628,
-0.012296868488192558,
0.034973252564668655,
-0.018648099154233932,
-0.027027299627661705,
0.060433484613895416,
0.012287650257349014,
-0.03279779478907585,
-0.010739019140601158,
0.02656639739871025,
0.022916052490472794,
-0.017246956005692482,
-0.07075769454240799,
-0.04361977428197861,
-0.05663565173745155,
0.01757880672812462,
0.006715343799442053,
0.0196344293653965,
0.023671932518482208,
0.01868497207760811,
0.003698739456012845,
0.0426979698240757,
0.030419539660215378,
0.0537596233189106,
0.040817491710186005,
0.005014615133404732,
0.07979137450456619,
-0.017320701852440834,
0.017661768943071365,
-0.0027124090120196342,
0.02577364630997181,
-0.04572148993611336,
-0.025810517370700836,
-0.07175324112176895,
0.004226472228765488,
-0.003154875012114644,
-0.05877423658967018,
-0.036485008895397186,
0.016288280487060547,
-0.020759031176567078,
-0.052505966275930405,
0.006457238458096981,
0.0447259396314621,
0.0031663975678384304,
-0.01687823422253132,
-0.023819420486688614,
-0.010278116911649704,
0.022584203630685806,
-0.009102816693484783,
0.007927516475319862,
-0.016380460932850838,
-0.020150640979409218,
-0.01952381245791912,
-0.0771365761756897,
-0.052100375294685364,
-0.002095952397212386,
0.001956529449671507,
-0.036909040063619614,
0.014149694703519344,
-0.02346913516521454,
0.012444356456398964,
-0.042439866811037064,
-0.009231869131326675,
0.011808311566710472,
0.03344305604696274,
-0.00024082134768832475,
-0.04236612096428871,
0.00981721468269825,
0.003412980120629072,
0.026308292523026466,
0.012822296470403671,
0.0067337797954678535,
0.03794145956635475,
0.08178246766328812,
-0.03571069613099098,
0.0551607646048069,
0.003242446342483163,
-0.043951623141765594,
-0.020003151148557663,
0.02636360004544258,
-0.019560685381293297,
-0.011476462706923485,
0.05877423658967018,
-0.018878551200032234,
0.004996178671717644,
-0.043214183300733566,
-0.04402536898851395,
0.010609966702759266,
0.01740366406738758,
-0.030161432921886444,
0.00553543446585536,
-0.014380145817995071,
0.031544141471385956,
0.028059720993041992,
0.03491794317960739,
-0.005904155783355236,
0.022787000983953476,
0.009577545337378979,
0.02103557251393795,
-0.027027299627661705,
0.032465945929288864,
0.059327319264411926,
-0.0016431160038337111,
0.008245538920164108,
-0.03416206315159798,
-0.002657100558280945,
-0.0027538901194930077,
0.03268717601895332,
0.015772070735692978,
0.001995706232264638,
0.09181170165538788,
-0.05357526242733002,
0.030972622334957123,
-0.04841315746307373,
-0.006687689572572708,
-0.060433484613895416,
0.012259996496140957,
0.020371872931718826,
-0.05232160538434982,
0.030880441889166832,
-0.022492023184895515,
0.024280322715640068,
-0.0025257435627281666,
-0.04044876992702484,
0.009890959598124027,
-0.038015205413103104,
0.015744416043162346,
-0.013025093823671341,
-0.025607721880078316,
0.03010612539947033,
-0.042624227702617645,
-0.02498089335858822,
-0.03464140370488167,
0.019468504935503006,
-0.05114169791340828,
-0.025109946727752686,
0.013679574243724346,
0.003406066680327058,
-0.0010652600321918726,
0.06585369259119034,
0.03663250058889389,
-0.040817491710186005,
0.03071451559662819,
0.0271932240575552,
0.010766672901809216,
-0.00013186120486352593,
0.05663565173745155,
0.011762221343815327,
-0.01782769337296486,
0.010296553373336792,
-0.008240929804742336,
-0.03504699468612671,
-0.02444624714553356,
-0.012905258685350418,
-0.05147354677319527,
0.027451328933238983,
-0.003887709230184555,
-0.04631144180893898,
-0.03204191476106644,
0.013698010705411434,
-0.03893700987100601,
-0.0008376895566470921,
-0.034881070256233215,
-0.008706441149115562,
-0.04406224191188812,
-0.017210084944963455,
-0.02437250316143036,
-0.010803545825183392,
-0.0041527277790009975,
-0.051879141479730606,
-0.016795272007584572,
-0.0075910575687885284,
-0.0026824502274394035,
-0.028004411607980728,
0.006392712239176035,
-0.003542032791301608,
-0.0012548059457913041,
-0.033977702260017395,
0.010637620463967323,
-0.02092495560646057,
0.04380413517355919,
-0.01640811562538147,
-0.06707047671079636,
-0.009734252467751503,
-0.013495213352143764,
-0.026842938736081123,
-0.011909710243344307,
-0.022989796474575996,
-0.031654756516218185,
0.03333244100213051,
0.02123836986720562,
0.05663565173745155,
0.020519360899925232,
0.032152529805898666,
0.015523183159530163,
-0.027101043611764908,
-0.013320070691406727,
0.025109946727752686,
-0.05394398421049118,
0.020980263128876686,
0.025109946727752686,
-0.06994650512933731,
-0.007107110694050789,
0.03279779478907585,
-0.04962993785738945,
-0.02877872809767723,
0.06349387764930725,
-0.00015670672291889787,
0.007120937574654818,
-0.06260894238948822,
0.006457238458096981,
0.016491077840328217,
0.04089123383164406,
-0.015873469412326813,
-0.01992940716445446,
0.04926121607422829,
-0.04889249429106712,
-0.02746976539492607,
-0.020666850730776787,
-0.023524442687630653,
-0.0406700000166893,
0.0014391668373718858,
0.005904155783355236,
0.02404065430164337,
-0.05929044634103775,
-0.019892534241080284,
-0.06371510773897171,
-0.037701793015003204,
-0.03360898047685623,
0.03182068094611168,
-0.06485814601182938,
0.06220334768295288,
0.04579523205757141,
0.08775576204061508,
0.024280322715640068,
0.0024013000074774027,
0.012914476916193962,
0.028115028515458107,
0.03945321962237358,
0.05575072020292282,
0.01222312357276678,
-0.009973921813070774,
0.016776837408542633,
0.10198841989040375,
-0.02960835210978985,
-0.0027216270100325346,
0.07580918073654175,
-0.04078061878681183,
-0.0062913135625422,
-0.03180224448442459,
0.0050284420140087605,
0.013698010705411434,
0.054607681930065155,
-0.0029705141205340624,
0.02899996004998684,
0.003963758237659931,
-0.005162103567272425,
0.029423991218209267,
-0.054202087223529816,
0.01687823422253132,
-0.009088989347219467,
-0.04439409077167511,
-0.013568958267569542,
0.01961599290370941,
0.002698581898584962,
0.03148883208632469,
0.025644592940807343,
-0.021478038281202316,
-0.012601063586771488,
0.0021720011718571186,
-0.013191018253564835,
0.00900602713227272,
-0.0251652542501688,
-0.021588655188679695,
0.04520528018474579,
-0.021570218726992607,
0.060949694365262985,
0.05394398421049118,
0.045942723751068115,
0.031857553869485855,
-0.012011108919978142,
0.05427583307027817,
0.061871498823165894,
0.0034221981186419725,
-0.02044561691582203,
-0.002958991564810276,
0.03652188181877136,
-0.006277486681938171,
0.01893385872244835,
0.09277037531137466,
0.0009765363647602499,
0.005332637578248978,
0.011218356899917126,
0.02216017246246338,
-0.018896985799074173,
-0.06242458149790764,
-0.027359148487448692,
-0.011347410269081593,
-0.023874729871749878,
0.032760921865701675,
0.055824462324380875,
0.00005736070670536719,
0.034383296966552734
] |
729,891 | marshmallow_enum | LoadDumpOptions | An enumeration. | class LoadDumpOptions(Enum):
value = 1
name = 0
| (value, names=None, *, module=None, qualname=None, type=None, start=1) | [
0.035871829837560654,
-0.02072914130985737,
-0.08744320273399353,
-0.04993675276637077,
0.015645651146769524,
-0.0354946106672287,
0.024213936179876328,
-0.040380507707595825,
-0.06283408403396606,
-0.07573141902685165,
-0.03348277136683464,
0.04655973240733147,
-0.018591560423374176,
0.005065526347607374,
0.02234579809010029,
-0.011828543618321419,
-0.04429641366004944,
0.04030865803360939,
0.03184815123677254,
0.027752619236707687,
0.032081667333841324,
0.06761220842599869,
0.02401634305715561,
0.0029301915783435106,
0.01241233665496111,
0.03499165177345276,
-0.03206370398402214,
-0.0033410920295864344,
-0.033105552196502686,
-0.023998381569981575,
-0.05877447873353958,
-0.04429641366004944,
-0.07249810546636581,
0.01780119352042675,
-0.06294186413288116,
-0.040236808359622955,
-0.02234579809010029,
0.043110866099596024,
-0.09793351590633392,
-0.00603103032335639,
-0.006358852609992027,
-0.023585235700011253,
-0.07379142940044403,
-0.011379471980035305,
0.005923253018409014,
-0.027501137927174568,
-0.008545830845832825,
-0.04192531481385231,
0.011828543618321419,
-0.056367453187704086,
0.05442746728658676,
0.014199640601873398,
0.005555014591664076,
0.021250063553452492,
-0.022363761439919472,
0.03220740705728531,
0.0024294769391417503,
0.00467932503670454,
-0.02593836933374405,
0.07188736647367477,
-0.03973384574055672,
0.034165360033512115,
0.009673000313341618,
0.0036037988029420376,
0.025112077593803406,
-0.04030865803360939,
-0.05061934143304825,
0.0022442347835749388,
-0.03226129710674286,
0.04659565910696983,
0.03736275061964989,
-0.02852502092719078,
-0.0018142488552257419,
0.03761423006653786,
0.01522352360188961,
-0.021016545593738556,
-0.03181222453713417,
0.020190253853797913,
-0.02974649704992771,
0.016462961211800575,
0.01497204415500164,
-0.01560074370354414,
-0.016498887911438942,
0.01033762563019991,
-0.03033927083015442,
-0.014379269443452358,
0.046739362180233,
-0.04828416928648949,
-0.013058999553322792,
-0.019094521179795265,
-0.003985509742051363,
0.0021824873983860016,
-0.054894499480724335,
0.07159996032714844,
-0.032692406326532364,
-0.03980569913983345,
0.01587916910648346,
0.005599921569228172,
-0.06513333320617676,
-0.04627232626080513,
-0.029602793976664543,
-0.07080959528684616,
-0.002146561862900853,
-0.027141882106661797,
-0.0036464605946093798,
-0.06915701180696487,
0.01623842492699623,
-0.004142684396356344,
-0.011891413480043411,
-0.010553180240094662,
0.02513004094362259,
-0.02741132490336895,
-0.0015111255925148726,
-0.002002858789637685,
0.004908351693302393,
0.034865912050008774,
0.012403354980051517,
-0.027555027976632118,
0.019543591886758804,
0.015367226675152779,
-0.011550119146704674,
0.04537418484687805,
-0.02462708204984665,
0.009089207276701927,
0.04724232107400894,
0.07494105398654938,
0.02123210020363331,
0.004634418059140444,
-0.010454384610056877,
0.05812781676650047,
0.11575266718864441,
-0.020351920276880264,
-0.0630137100815773,
-0.015277412720024586,
0.054750796407461166,
-0.054750796407461166,
0.03872792795300484,
0.04217679426074028,
0.016974903643131256,
0.032854072749614716,
-0.027986135333776474,
0.009951424784958363,
0.014496028423309326,
-0.019579516723752022,
0.05076304450631142,
0.03513535484671593,
0.014505009166896343,
0.020747102797031403,
-0.03948236629366875,
0.04454789310693741,
0.0766654834151268,
-0.015564817935228348,
-0.11575266718864441,
0.025004301220178604,
-0.0005865996354259551,
-0.023657087236642838,
-0.03606942296028137,
-0.08744320273399353,
-0.02802206203341484,
-0.08514395356178284,
-0.017262307927012444,
-0.006960608065128326,
-0.007454587146639824,
-0.04494307562708855,
-0.005568486638367176,
0.0288842786103487,
-0.005384367424994707,
0.011172899045050144,
0.02320801466703415,
0.017082680016756058,
-0.02563300170004368,
-0.03829681873321533,
0.008289859630167484,
0.05331376940011978,
0.0523078478872776,
0.06980367749929428,
0.009664018638432026,
0.010382533073425293,
0.015708521008491516,
-0.05446339026093483,
0.03181222453713417,
0.04616454988718033,
-0.02345949597656727,
-0.03948236629366875,
0.023639123886823654,
-0.027087993919849396,
0.009385594166815281,
0.008806291967630386,
0.04282345995306969,
-0.015061858110129833,
0.062438901513814926,
-0.01130762044340372,
0.031435005366802216,
-0.02513004094362259,
0.016804255545139313,
-0.041997168213129044,
-0.05554116517305374,
-0.04325456544756889,
0.05173303559422493,
0.03120148740708828,
-0.0015077575808390975,
0.043865304440259933,
-0.01557379961013794,
-0.014073900878429413,
-0.020962657406926155,
0.009071243926882744,
0.03718312084674835,
-0.053026363253593445,
0.007652178406715393,
-0.024896524846553802,
-0.0410630963742733,
-0.051409706473350525,
0.016858143731951714,
0.0682588666677475,
0.03382406383752823,
-0.08155138790607452,
-0.020747102797031403,
0.0233696810901165,
-0.018789151683449745,
0.051912665367126465,
0.06506147980690002,
0.017172494903206825,
0.004189837258309126,
-0.020154329016804695,
0.00885119941085577,
0.0022296400275081396,
-0.00991549901664257,
-0.054894499480724335,
-0.02847113274037838,
0.04921823740005493,
0.009610130451619625,
-0.044224560260772705,
-0.04598492011427879,
0.00682588666677475,
0.019399888813495636,
0.11180084198713303,
0.021914688870310783,
-0.00021036193356849253,
-0.020567474886775017,
-0.03574609011411667,
0.030267419293522835,
0.0490386076271534,
0.0002384288964094594,
0.000266215211013332,
0.042248647660017014,
-0.027483176440000534,
-0.02437560074031353,
-0.01444213930517435,
0.00973587017506361,
0.02108839713037014,
0.01880711503326893,
-0.0465238094329834,
0.0017873045289888978,
0.016570737585425377,
0.005914271809160709,
-0.03479405865073204,
-0.0495774932205677,
-0.022291909903287888,
0.019328037276864052,
-0.00660135131329298,
-0.05169711261987686,
-0.062438901513814926,
0.018295172601938248,
-0.0054292744025588036,
-0.012214744463562965,
-0.0015391926281154156,
0.011810580268502235,
-0.04178161174058914,
0.015178617089986801,
-0.0013573186006397009,
0.13278146088123322,
0.0016739140264689922,
-0.06470222026109695,
0.03858422487974167,
-0.03829681873321533,
-0.010993270203471184,
0.01340029388666153,
-0.01147826761007309,
0.05284673348069191,
-0.024088194593787193,
0.05108637362718582,
-0.013014092110097408,
-0.03499165177345276,
-0.0026742208283394575,
-0.037650153040885925,
0.01780119352042675,
-0.01049031037837267,
-0.004019190091639757,
0.0004849972319789231,
0.019130446016788483,
0.04451196640729904,
0.05579264461994171,
0.04986489936709404,
-0.048320092260837555,
0.02654910646378994,
0.00783629808574915,
0.054607093334198,
0.008873652666807175,
0.013211683370172977,
0.039374589920043945,
0.003695858409628272,
-0.07443809509277344,
0.0547148734331131,
0.026620958000421524,
-0.05431968718767166,
0.02392653003334999,
0.0630137100815773,
-0.03296184912323952,
0.0009301393292844296,
0.030788341537117958,
-0.0385482981801033,
0.06886960566043854,
0.032135557383298874,
0.044476043432950974,
0.00565381022170186,
0.014693619683384895,
-0.02428578771650791,
-0.019597480073571205,
0.009111660532653332,
0.026441330090165138,
-0.07336032390594482,
0.06951627135276794,
-0.008271897211670876,
0.009726888500154018,
0.01540315244346857,
-0.01324760913848877,
0.037901636213064194,
0.013822420500218868,
0.05891818180680275,
-0.08600617200136185,
-0.08686839044094086,
-0.08341952413320541,
0.05942114070057869,
0.026064110919833183,
0.003496021730825305,
0.03793755918741226,
0.018223321065306664,
0.016319258138537407,
-0.02507615275681019,
0.01501695066690445,
0.07400698214769363,
0.009439483284950256,
-0.030321307480335236,
-0.004117985721677542,
0.044835299253463745,
-0.014828341081738472,
0.01714554987847805,
0.03520720452070236,
0.04699084162712097,
0.012160856276750565,
-0.003394980449229479,
-0.0035948173608630896,
-0.03969791904091835,
0.027303546667099,
0.06707332283258438,
-0.07310883700847626,
0.044224560260772705,
-0.05158933252096176,
0.02042377181351185,
0.012394373305141926,
0.041745685040950775,
-0.039877548813819885,
-0.03317740187048912,
0.010283737443387508,
0.03351869806647301,
-0.05543338507413864,
0.0065250089392066,
-0.05888225510716438,
0.038907554000616074,
0.013418256305158138,
0.003258013864979148,
-0.005078998859971762,
-0.0016424789791926742,
-0.025165967643260956,
0.00556399580091238,
0.03271036967635155,
0.021519506350159645,
0.04634417966008186,
-0.016956940293312073,
0.010732809081673622,
-0.020513586699962616,
-0.0015481739537790418,
-0.0028493585996329784,
0.0655285120010376,
0.0002747756370808929,
-0.004320067819207907,
0.02649521827697754,
0.018178414553403854,
0.03883570432662964,
0.013588903471827507,
-0.007777918595820665,
0.05266710743308067,
-0.03621312603354454,
0.004706269130110741,
0.011388453654944897,
-0.0013528278796002269,
-0.056367453187704086,
0.011900395154953003,
0.021268026903271675,
0.006933663971722126,
0.028111876919865608,
-0.01340029388666153,
-0.01324760913848877,
0.015250468626618385,
-0.059600770473480225,
-0.009843647480010986,
-0.021681172773241997,
-0.03044704720377922,
-0.03359054774045944,
-0.04839194566011429,
0.024195972830057144,
-0.026620958000421524,
-0.04853564873337746,
-0.026872439309954643,
-0.029171684756875038,
-0.02635151520371437,
0.05324191600084305,
0.02958483062684536,
-0.013867327943444252,
-0.020872842520475388,
0.013696680776774883,
0.012187800370156765,
0.03217148408293724,
0.06980367749929428,
0.022327834740281105,
-0.008640135638415813,
0.026872439309954643,
0.06657035648822784,
-0.00933170598000288,
0.018681375309824944,
-0.008244953118264675,
0.014810377731919289,
-0.005559505429118872,
-0.07019885629415512,
0.05367302522063255,
-0.03357258439064026,
-0.028560947626829147,
-0.04799676313996315,
-0.0191124826669693,
0.05223599821329117,
-0.006740563083440065,
-0.014801396988332272,
0.019292112439870834,
0.019076557829976082,
0.03540479764342308,
-0.06639073044061661,
-0.08205434679985046,
0.026315590366721153,
0.05816373974084854,
-0.02017229236662388,
-0.053744878619909286,
-0.024160046130418777,
0.04648788273334503,
-0.04799676313996315,
0.027932247146964073,
-0.04817638918757439,
-0.06998330354690552,
0.016444997861981392,
0.00400571757927537,
-0.06441481411457062,
0.02999797649681568,
-0.02574077807366848,
-0.04228457435965538,
-0.01383140217512846,
0.019956737756729126,
0.06865405291318893,
0.058738552033901215,
0.0523078478872776,
0.008006945252418518,
0.025004301220178604,
-0.04709861800074577,
0.05604412406682968,
0.026620958000421524,
-0.03159667178988457,
-0.0047107599675655365,
0.03594368323683739,
0.002712391782552004,
-0.009906517341732979,
-0.05421191081404686,
-0.053277842700481415,
0.061217427253723145,
-0.07041440904140472,
0.041242726147174835,
0.0682588666677475,
-0.008891616016626358,
-0.03398573026061058,
0.0030761398375034332,
0.05528968200087547,
0.024914486333727837,
-0.006363342981785536,
-0.0038103717379271984,
-0.024663006886839867,
-0.03154278174042702,
-0.059205587953329086,
0.09994535148143768,
0.008379674516618252,
-0.0015717502683401108,
0.031740374863147736,
-0.017873045057058334,
0.008738931268453598,
0.04609270021319389,
-0.02487856149673462,
-0.030015939846634865,
-0.05891818180680275,
0.0033523186575621367,
-0.008074305951595306,
0.03998532518744469,
0.0010850690305233002,
0.0005366404657252133,
0.0008919682586565614,
-0.013732606545090675,
0.017873045057058334,
0.007988981902599335,
0.024860598146915436,
0.004122476559132338,
0.05036785826086998,
0.012142893858253956,
0.010660957545042038,
0.0046927970834076405,
0.04418863728642464,
-0.032943885773420334,
-0.02245357446372509,
0.017316197976469994,
-0.041889388114213943,
-0.04034458473324776,
-0.01658870093524456,
-0.04576936736702919,
-0.009520315565168858,
0.013579921796917915,
0.06276223063468933,
0.04702676832675934,
0.020190253853797913,
0.010391514748334885,
0.02392653003334999,
0.015304356813430786,
0.010939382016658783,
-0.0025956332683563232,
0.022184131667017937,
-0.011199843138456345,
-0.02468097023665905,
0.041889388114213943,
0.016777310520410538,
0.010247811675071716,
0.00035981854307465255,
0.02083691768348217,
-0.027195770293474197,
-0.006605841685086489,
0.0261000357568264,
0.056618936359882355,
-0.04469159618020058,
0.030914083123207092,
0.021124323830008507,
-0.04878712818026543,
-0.11223194748163223,
-0.003778936807066202,
-0.013822420500218868,
0.047062695026397705,
-0.009996331296861172,
0.05317006632685661,
-0.01444213930517435,
-0.016615645959973335,
-0.02565096504986286,
-0.02645929343998432,
-0.01463973056524992,
-0.03120148740708828,
-0.02340560592710972,
-0.02974649704992771,
0.003927130252122879,
-0.012915296480059624,
0.005402330309152603,
0.028291504830121994,
-0.0741506889462471,
0.03398573026061058,
-0.02802206203341484,
-0.005164322443306446,
0.028201689943671227,
0.044332340359687805,
0.0909639224410057,
0.03448869287967682,
0.01186446938663721,
-0.04009310528635979,
0.03711126744747162,
-0.04742195084691048,
-0.024106157943606377,
0.011963265016674995,
0.030213531106710434,
0.01348112616688013,
-0.008658098988234997,
0.04264383018016815,
0.019543591886758804,
-0.034865912050008774,
0.014406213536858559,
-0.011217806488275528,
-0.017307216301560402,
-0.027429288253188133,
-0.01664258912205696,
0.04289530962705612,
-0.021303951740264893,
-0.0022756699472665787,
0.020800992846488953,
0.013346404768526554,
0.03321332857012749,
0.025812629610300064,
0.027806507423520088,
0.022417649626731873,
0.015636669471859932,
0.03793755918741226,
0.01891489140689373,
-0.02038784697651863,
0.030051864683628082,
-0.010077164508402348,
-0.028489096090197563,
-0.022794868797063828,
-0.017738323658704758,
0.037793856114149094,
-0.027483176440000534,
0.03829681873321533,
-0.016597682610154152,
0.014873248524963856,
-0.014981024898588657,
-0.07558771222829819,
0.06251075118780136,
-0.01724434643983841,
0.0007718416163697839,
-0.025417447090148926,
0.006933663971722126,
-0.06175631284713745,
0.03944643959403038,
-0.012753630988299847,
-0.09125132858753204,
-0.008680552244186401,
0.019453777000308037,
-0.013130851089954376,
-0.08420988917350769,
-0.023746900260448456,
-0.06782776117324829,
0.023243941366672516,
-0.015394170768558979,
-0.005002656485885382,
0.028255578130483627,
0.00035420514177531004,
0.021124323830008507,
-0.019651368260383606,
0.021106360480189323,
-0.013005110435187817,
0.017684435471892357,
-0.038763850927352905,
-0.02857891097664833,
0.04364975169301033,
-0.04343419522047043,
0.025058189406991005,
0.019094521179795265,
-0.032440926879644394,
0.025399483740329742,
-0.004688306711614132,
0.052020441740751266,
0.04217679426074028,
0.02351338416337967,
0.02204042859375477,
-0.04724232107400894,
-0.09570612013339996,
0.005837929435074329,
0.015457041561603546,
-0.003298430237919092,
0.00562686612829566,
0.00892754178494215,
-0.017064716666936874,
0.007728520780801773,
0.027285585179924965,
-0.03195592761039734,
-0.006457648240029812,
0.00930476188659668,
0.005388858262449503,
0.008707496337592602,
-0.07228255271911621,
-0.004313331563025713,
-0.013256590813398361,
0.04573344066739082,
0.07213884592056274,
-0.00412023114040494,
-0.008424581028521061,
0.009448464028537273,
-0.004629927221685648,
-0.007741992827504873,
0.013014092110097408,
0.02827354148030281,
-0.0245731920003891,
-0.003915903624147177,
0.05026008188724518,
0.003994490951299667,
-0.043362345546483994,
-0.009897535666823387,
0.000014664990885648876,
0.04196124151349068,
-0.03632090240716934,
-0.001640233676880598,
0.0468471385538578,
-0.05683448910713196,
-0.00047769982484169304,
0.021483581513166428,
-0.003513984614983201,
-0.04885897785425186,
-0.02690836414694786,
0.0075354198925197124,
0.0035072483588010073,
-0.016660552471876144,
-0.011002251878380775,
0.007912639528512955,
0.060211505740880966,
0.013840383850038052,
0.02351338416337967,
0.05906188488006592,
-0.04318271577358246,
0.002786488737910986,
-0.022489501163363457,
-0.024142084643244743,
-0.07702474296092987,
0.04131457954645157,
-0.08219804614782333,
0.020800992846488953,
-0.03368036448955536,
0.034057583659887314,
0.010283737443387508,
0.016121666878461838,
0.0008285369258373976,
0.011612989008426666,
-0.021124323830008507,
0.012160856276750565,
-0.022740980610251427,
0.031776297837495804,
0.005406820680946112,
-0.04681121185421944,
-0.04799676313996315,
0.022830795496702194,
0.011927339248359203,
0.006569915916770697,
0.017630547285079956,
0.01267279777675867,
0.05033193528652191,
0.02671077288687229,
0.007634215522557497,
0.04293123632669449,
-0.009129623882472515,
-0.02078302949666977,
-0.0770965963602066,
0.0381171889603138,
0.04253605380654335,
0.016202500090003014,
-0.01831313595175743,
0.032440926879644394,
-0.0038889592979103327,
0.004998165648430586,
-0.02802206203341484,
0.050296008586883545,
-0.009637074545025826,
-0.014370287768542767,
0.009798740036785603,
-0.030608713626861572,
-0.021878764033317566,
-0.03147093206644058,
-0.038153115659952164,
-0.024213936179876328,
-0.020711177960038185,
-0.005680754315108061,
0.018735263496637344,
-0.016669534146785736,
-0.015591762959957123,
-0.06775590777397156
] |
729,898 | verlib2.version | Version | This class abstracts handling of a project's versions.
A :class:`Version` instance is comparison aware and can be compared and
sorted using the standard Python interfaces.
>>> v1 = Version("1.0a5")
>>> v2 = Version("1.0")
>>> v1
<Version('1.0a5')>
>>> v2
<Version('1.0')>
>>> v1 < v2
True
>>> v1 == v2
False
>>> v1 > v2
False
>>> v1 >= v2
False
>>> v1 <= v2
True
| class Version(_BaseVersion):
"""This class abstracts handling of a project's versions.
A :class:`Version` instance is comparison aware and can be compared and
sorted using the standard Python interfaces.
>>> v1 = Version("1.0a5")
>>> v2 = Version("1.0")
>>> v1
<Version('1.0a5')>
>>> v2
<Version('1.0')>
>>> v1 < v2
True
>>> v1 == v2
False
>>> v1 > v2
False
>>> v1 >= v2
False
>>> v1 <= v2
True
"""
_regex = re.compile(r"^\s*" + VERSION_PATTERN + r"\s*$", re.VERBOSE | re.IGNORECASE)
_key: CmpKey
def __init__(self, version: str) -> None:
"""Initialize a Version object.
:param version:
The string representation of a version which will be parsed and normalized
before use.
:raises InvalidVersion:
If the ``version`` does not conform to PEP 440 in any way then this
exception will be raised.
"""
# Validate the version and parse it into pieces
match = self._regex.search(version)
if not match:
raise InvalidVersion(f"Invalid version: '{version}'")
# Store the parsed out pieces of the version
self._version = _Version(
epoch=int(match.group("epoch")) if match.group("epoch") else 0,
release=tuple(int(i) for i in match.group("release").split(".")),
pre=_parse_letter_version(match.group("pre_l"), match.group("pre_n")),
post=_parse_letter_version(
match.group("post_l"), match.group("post_n1") or match.group("post_n2")
),
dev=_parse_letter_version(match.group("dev_l"), match.group("dev_n")),
local=_parse_local_version(match.group("local")),
)
# Generate a key which will be used for sorting
self._key = _cmpkey(
self._version.epoch,
self._version.release,
self._version.pre,
self._version.post,
self._version.dev,
self._version.local,
)
def __repr__(self) -> str:
"""A representation of the Version that shows all internal state.
>>> Version('1.0.0')
<Version('1.0.0')>
"""
return f"<Version('{self}')>"
def __str__(self) -> str:
"""A string representation of the version that can be rounded-tripped.
>>> str(Version("1.0a5"))
'1.0a5'
"""
parts = []
# Epoch
if self.epoch != 0:
parts.append(f"{self.epoch}!")
# Release segment
parts.append(".".join(str(x) for x in self.release))
# Pre-release
if self.pre is not None:
parts.append("".join(str(x) for x in self.pre))
# Post-release
if self.post is not None:
parts.append(f".post{self.post}")
# Development release
if self.dev is not None:
parts.append(f".dev{self.dev}")
# Local version segment
if self.local is not None:
parts.append(f"+{self.local}")
return "".join(parts)
@property
def epoch(self) -> int:
"""The epoch of the version.
>>> Version("2.0.0").epoch
0
>>> Version("1!2.0.0").epoch
1
"""
return self._version.epoch
@property
def release(self) -> Tuple[int, ...]:
"""The components of the "release" segment of the version.
>>> Version("1.2.3").release
(1, 2, 3)
>>> Version("2.0.0").release
(2, 0, 0)
>>> Version("1!2.0.0.post0").release
(2, 0, 0)
Includes trailing zeroes but not the epoch or any pre-release / development /
post-release suffixes.
"""
return self._version.release
@property
def version(self) -> Tuple[int, ...]:
"""
Return version tuple for backward-compatibility with `distutils.version`.
"""
return self.release
@property
def pre(self) -> Optional[Tuple[str, int]]:
"""The pre-release segment of the version.
>>> print(Version("1.2.3").pre)
None
>>> Version("1.2.3a1").pre
('a', 1)
>>> Version("1.2.3b1").pre
('b', 1)
>>> Version("1.2.3rc1").pre
('rc', 1)
"""
return self._version.pre
@property
def post(self) -> Optional[int]:
"""The post-release number of the version.
>>> print(Version("1.2.3").post)
None
>>> Version("1.2.3.post1").post
1
"""
return self._version.post[1] if self._version.post else None
@property
def dev(self) -> Optional[int]:
"""The development number of the version.
>>> print(Version("1.2.3").dev)
None
>>> Version("1.2.3.dev1").dev
1
"""
return self._version.dev[1] if self._version.dev else None
@property
def local(self) -> Optional[str]:
"""The local version segment of the version.
>>> print(Version("1.2.3").local)
None
>>> Version("1.2.3+abc").local
'abc'
"""
if self._version.local:
return ".".join(str(x) for x in self._version.local)
else:
return None
@property
def public(self) -> str:
"""The public portion of the version.
>>> Version("1.2.3").public
'1.2.3'
>>> Version("1.2.3+abc").public
'1.2.3'
>>> Version("1.2.3+abc.dev1").public
'1.2.3'
"""
return str(self).split("+", 1)[0]
@property
def base_version(self) -> str:
"""The "base version" of the version.
>>> Version("1.2.3").base_version
'1.2.3'
>>> Version("1.2.3+abc").base_version
'1.2.3'
>>> Version("1!1.2.3+abc.dev1").base_version
'1!1.2.3'
The "base version" is the public version of the project without any pre or post
release markers.
"""
parts = []
# Epoch
if self.epoch != 0:
parts.append(f"{self.epoch}!")
# Release segment
parts.append(".".join(str(x) for x in self.release))
return "".join(parts)
@property
def is_prerelease(self) -> bool:
"""Whether this version is a pre-release.
>>> Version("1.2.3").is_prerelease
False
>>> Version("1.2.3a1").is_prerelease
True
>>> Version("1.2.3b1").is_prerelease
True
>>> Version("1.2.3rc1").is_prerelease
True
>>> Version("1.2.3dev1").is_prerelease
True
"""
return self.dev is not None or self.pre is not None
@property
def is_postrelease(self) -> bool:
"""Whether this version is a post-release.
>>> Version("1.2.3").is_postrelease
False
>>> Version("1.2.3.post1").is_postrelease
True
"""
return self.post is not None
@property
def is_devrelease(self) -> bool:
"""Whether this version is a development release.
>>> Version("1.2.3").is_devrelease
False
>>> Version("1.2.3.dev1").is_devrelease
True
"""
return self.dev is not None
@property
def major(self) -> int:
"""The first item of :attr:`release` or ``0`` if unavailable.
>>> Version("1.2.3").major
1
"""
return self.release[0] if len(self.release) >= 1 else 0
@property
def minor(self) -> int:
"""The second item of :attr:`release` or ``0`` if unavailable.
>>> Version("1.2.3").minor
2
>>> Version("1").minor
0
"""
return self.release[1] if len(self.release) >= 2 else 0
@property
def micro(self) -> int:
"""The third item of :attr:`release` or ``0`` if unavailable.
>>> Version("1.2.3").micro
3
>>> Version("1").micro
0
"""
return self.release[2] if len(self.release) >= 3 else 0
| (version: str) -> None | [
0.06359527260065079,
0.029216278344392776,
-0.1278163343667984,
0.03741013631224632,
0.039346154779195786,
-0.08479370176792145,
0.0041335951536893845,
0.019653521478176117,
0.002789137652143836,
-0.03727324679493904,
0.0023344666697084904,
0.024288231506943703,
0.04102794826030731,
0.04446975886821747,
-0.012672120705246925,
0.018284618854522705,
0.0318758599460125,
-0.0006991177797317505,
0.011782335117459297,
0.022860663011670113,
-0.011713889427483082,
-0.004822934977710247,
0.0022061322815716267,
0.07102645933628082,
0.005143160466104746,
0.04161461815237999,
0.0815083310008049,
0.00138234649784863,
-0.033929213881492615,
-0.0770496279001236,
-0.003896481590345502,
0.01637793518602848,
0.04994536563754082,
0.02029886096715927,
0.021335314959287643,
-0.02557891048491001,
0.025031350553035736,
-0.004241151735186577,
-0.09097331017255783,
0.03389010205864906,
0.04126261547207832,
0.023310445249080658,
0.01942862942814827,
-0.06672419607639313,
-0.02753448486328125,
-0.016954828053712845,
0.002767137484624982,
0.040793277323246,
-0.011635666713118553,
0.008193856105208397,
0.04908491298556328,
-0.027280259877443314,
0.02430778741836548,
-0.044156868010759354,
-0.06339971721172333,
0.08338568359613419,
0.09394578635692596,
0.09308533370494843,
0.02653714269399643,
0.04055861011147499,
-0.01305345818400383,
0.0034711442422121763,
-0.01780550368130207,
-0.0031802526209503412,
-0.014735251665115356,
-0.005324050784111023,
0.024738013744354248,
-0.047716010361909866,
-0.00167934934142977,
0.037351466715335846,
-0.009313422255218029,
0.0012491230154410005,
-0.009450312703847885,
-0.020103303715586662,
0.005715165752917528,
-0.002313688863068819,
-0.07278647273778915,
0.025285575538873672,
0.03156296908855438,
-0.047207560390233994,
0.031034963205456734,
-0.016025930643081665,
0.019477520138025284,
-0.09441512078046799,
0.05424762889742851,
-0.01853884384036064,
0.02491401508450508,
-0.003390476806089282,
-0.013649907894432545,
0.059840571135282516,
-0.05941034480929375,
0.0639863908290863,
-0.008648526854813099,
0.02949005924165249,
0.01207567099481821,
-0.04294440895318985,
0.02643936313688755,
-0.07098734378814697,
-0.04642533138394356,
-0.0214917603880167,
0.012603675946593285,
0.00496471393853426,
-0.11827313154935837,
-0.022078434005379677,
-0.04959336295723915,
-0.017981505021452904,
-0.057376548647880554,
0.016465935856103897,
-0.027554040774703026,
-0.05510808154940605,
-0.036451902240514755,
-0.045916881412267685,
-0.03885725885629654,
-0.03789902850985527,
0.009983206167817116,
-0.006580507382750511,
-0.055616531521081924,
-0.02982250787317753,
0.03574789687991142,
-0.02344733476638794,
0.02424911968410015,
0.02288021892309189,
-0.07188691198825836,
0.07016600668430328,
-0.03132829815149307,
-0.02348644658923149,
0.006340949330478907,
0.02072908729314804,
-0.011616110801696777,
-0.05483430251479149,
0.026380697265267372,
0.06832776218652725,
-0.02690870128571987,
-0.01567392796278,
-0.01743394508957863,
-0.06641130149364471,
-0.003869592444971204,
0.03330342844128609,
-0.05370006710290909,
0.012828567065298557,
-0.008247634395956993,
-0.0291576124727726,
0.014842808246612549,
-0.04540843516588211,
-0.03862259164452553,
0.0008683971827849746,
0.022860663011670113,
-0.0006575618172064424,
-0.04587777331471443,
0.015986818820238113,
0.03310787305235863,
-0.016984162852168083,
0.04697289317846298,
0.004857157357037067,
0.032834090292453766,
-0.025383353233337402,
-0.0324820876121521,
-0.09144265204668045,
0.014119246043264866,
0.04666000232100487,
0.03148474544286728,
-0.04912402480840683,
0.025031350553035736,
-0.00974853802472353,
0.031836748123168945,
0.025813579559326172,
0.0258722472935915,
-0.10317609459161758,
-0.02139398269355297,
0.0495542511343956,
0.0451737642288208,
0.05264405906200409,
-0.041771065443754196,
0.035024333745241165,
-0.010188541375100613,
0.03805547580122948,
0.017248164862394333,
0.02278243936598301,
0.0028795830439776182,
0.015057921409606934,
0.029842063784599304,
-0.023330001160502434,
-0.045056428760290146,
0.02657625451683998,
0.03433988243341446,
0.0572592131793499,
-0.010775214061141014,
0.022645549848675728,
0.03132829815149307,
0.009694759733974934,
-0.0029235833790153265,
-0.04775512218475342,
0.0302918441593647,
0.018343286588788033,
-0.015693483874201775,
-0.012173449620604515,
-0.01160633284598589,
-0.02853182889521122,
0.0518227182328701,
-0.010100540705025196,
-0.006345838308334351,
-0.010843658819794655,
-0.002598469378426671,
-0.01476458553224802,
0.011762779206037521,
-0.049906253814697266,
0.00043878197902813554,
-0.010921882465481758,
0.010335209779441357,
0.01526325661689043,
-0.01640726812183857,
0.022313101217150688,
0.005196938756853342,
0.014549472369253635,
-0.014608139172196388,
-0.10552278906106949,
0.03486789017915726,
0.0006600063061341643,
0.03424210473895073,
0.049867141991853714,
0.07235624641180038,
0.005954723339527845,
0.047676898539066315,
0.030565625056624413,
0.000702173390891403,
-0.031132742762565613,
0.02843404933810234,
0.046777334064245224,
0.0034809221979230642,
-0.036784350872039795,
0.04188840091228485,
-0.059605903923511505,
-0.01328812725841999,
0.00920097716152668,
0.03287320211529732,
0.02201976627111435,
-0.04642533138394356,
0.07579805701971054,
-0.008980974555015564,
-0.02886427566409111,
0.017854392528533936,
-0.005055159330368042,
0.005118715576827526,
0.03275587037205696,
0.012310340069234371,
-0.04141906276345253,
-0.024757569655776024,
-0.005695609841495752,
0.012124559842050076,
-0.013102347031235695,
-0.0045418213121593,
-0.017658835276961327,
-0.02833627164363861,
0.012975235469639301,
-0.011948558501899242,
-0.024933570995926857,
-0.05635964870452881,
-0.04466531425714493,
0.04826357215642929,
-0.016749493777751923,
-0.016016153618693352,
-0.037488359957933426,
-0.023466890677809715,
0.04626888781785965,
0.01671038195490837,
-0.008330746553838253,
0.0473640076816082,
-0.020083747804164886,
0.015791261568665504,
0.03729280084371567,
-0.02497268281877041,
-0.021237535402178764,
-0.07071356475353241,
0.03672568500041962,
-0.026478474959731102,
-0.046151552349328995,
0.004874269012361765,
-0.024131786078214645,
-0.005886278580874205,
0.013640129938721657,
-0.0025153574533760548,
0.010393877513706684,
0.008184078149497509,
0.028414493426680565,
0.07517227530479431,
-0.007783185690641403,
-0.0286687184125185,
-0.034926556050777435,
-0.002857582876458764,
0.0003373365616425872,
0.0024078008718788624,
-0.016681049019098282,
0.051900941878557205,
0.0018480176804587245,
0.05135338008403778,
0.022000210359692574,
-0.02800382301211357,
-0.005201827269047499,
0.015204589813947678,
-0.06250015646219254,
0.027651820331811905,
0.043491970747709274,
0.040636833757162094,
-0.01145966537296772,
-0.02501179464161396,
0.02391667291522026,
0.030448291450738907,
-0.004690933506935835,
0.04224040359258652,
-0.030076730996370316,
0.03342076390981674,
0.003150918986648321,
0.008457859046757221,
0.05158804729580879,
-0.011850779876112938,
-0.005524497013539076,
-0.012769900262355804,
0.006966733373701572,
0.003659368259832263,
0.0335380993783474,
-0.02092464454472065,
0.058901894837617874,
0.01946774125099182,
0.05682898685336113,
0.005935167893767357,
-0.07837941497564316,
-0.034163881093263626,
-0.013464128598570824,
-0.043922197073698044,
0.02135487087070942,
-0.015175255946815014,
0.030937183648347855,
0.011987670324742794,
0.07521138340234756,
-0.010002762079238892,
-0.02278243936598301,
-0.0020790197886526585,
-0.04470442607998848,
0.02172642946243286,
-0.035884786397218704,
0.10020362585783005,
-0.004270485136657953,
-0.026419807225465775,
0.011195662431418896,
-0.004893824458122253,
-0.015996597707271576,
0.055420972406864166,
0.025461576879024506,
0.000589116767514497,
-0.03209097310900688,
-0.023271333426237106,
-0.00954809132963419,
-0.057415660470724106,
-0.0008928418392315507,
0.0029235833790153265,
-0.09715292602777481,
-0.012857900932431221,
-0.06766287237405777,
0.03737102448940277,
0.015537037514150143,
-0.006815176457166672,
0.03993282467126846,
-0.031934525817632675,
0.017052607610821724,
-0.0550689697265625,
-0.05690721049904823,
0.012789455242455006,
-0.007998298853635788,
0.02225443534553051,
-0.03609989956021309,
-0.023232221603393555,
0.010520989075303078,
0.07439004629850388,
-0.06801487505435944,
-0.014021467417478561,
0.0115769999101758,
0.009259643964469433,
0.029685616493225098,
-0.020709531381726265,
-0.04865468665957451,
0.004969602916389704,
0.04122350364923477,
-0.01883218064904213,
0.053426288068294525,
-0.032834090292453766,
-0.0033464764710515738,
0.0318758599460125,
-0.04208395630121231,
0.041771065443754196,
0.06656774878501892,
-0.03177808225154877,
0.05002358928322792,
0.014705918729305267,
0.023095332086086273,
-0.015869485214352608,
0.00720629096031189,
0.022000210359692574,
-0.018949514254927635,
0.020181525498628616,
-0.020768199115991592,
0.06907088309526443,
0.012955679558217525,
0.003913593012839556,
0.014950364828109741,
0.00665873009711504,
-0.027045592665672302,
0.12155849486589432,
0.00880497321486473,
-0.05768943950533867,
0.05064937472343445,
-0.06590285152196884,
-0.03344031795859337,
-0.05018003657460213,
-0.04896757751703262,
0.009870761074125767,
-0.005544052924960852,
0.060270797461271286,
-0.02225443534553051,
0.02929450199007988,
-0.027945155277848244,
-0.010256987065076828,
0.026713144034147263,
0.02729981578886509,
0.042592406272888184,
-0.009489423595368862,
-0.010384099557995796,
0.01148899830877781,
0.013493462465703487,
-0.009362312033772469,
0.008702305145561695,
0.03304920345544815,
0.0011110106715932488,
-0.0023283555638045073,
-0.026419807225465775,
-0.0013102347729727626,
-0.043100856244564056,
0.04181017726659775,
-0.016153043136000633,
-0.02724114991724491,
-0.022704217582941055,
-0.013073014095425606,
0.039404820650815964,
0.03477010875940323,
-0.008736527524888515,
0.04294440895318985,
0.014588584192097187,
0.002277021761983633,
-0.013249015435576439,
-0.041301727294921875,
-0.04697289317846298,
-0.08236878365278244,
0.030467847362160683,
-0.046581778675317764,
-0.03066340461373329,
0.005084493197500706,
-0.05354362353682518,
-0.024855349212884903,
0.004246040713042021,
-0.041536398231983185,
-0.03265808895230293,
0.010168986395001411,
0.07869230955839157,
0.027123814448714256,
0.04274885356426239,
-0.02272377349436283,
-0.0006331171607598662,
0.06594196707010269,
-0.02372111566364765,
-0.08174300193786621,
0.003661812748759985,
0.028746942058205605,
-0.028023378923535347,
0.03042873553931713,
0.05616409331560135,
-0.061405032873153687,
0.002069242065772414,
0.015009032562375069,
-0.020905088633298874,
-0.04008927196264267,
-0.07043978571891785,
-0.010618767701089382,
0.001445902744308114,
-0.022371768951416016,
0.07176957279443741,
-0.02729981578886509,
-0.02291933074593544,
0.03926793113350868,
-0.0005976723623462021,
0.01245700754225254,
-0.019272183999419212,
-0.04603421688079834,
0.017883727326989174,
-0.016485491767525673,
0.04998447746038437,
-0.010736102238297462,
0.029411837458610535,
-0.029274946078658104,
0.0014899030793458223,
0.01773705892264843,
-0.033459875732660294,
0.008599638007581234,
0.010569878853857517,
0.01298501342535019,
-0.027514928951859474,
0.05491252616047859,
0.01687660627067089,
-0.04916313663125038,
0.00016133487224578857,
-0.004945158492773771,
-0.04646444320678711,
-0.01677882671356201,
-0.05006270110607147,
0.06539440155029297,
-0.021374426782131195,
0.012828567065298557,
0.07697140425443649,
-0.030213622376322746,
-0.0004901157808490098,
-0.011009883135557175,
0.005583164282143116,
-0.00891741830855608,
-0.004199595656245947,
0.04775512218475342,
-0.06746730953454971,
-0.006849398836493492,
-0.014833030290901661,
-0.038544367998838425,
-0.041771065443754196,
0.013209903612732887,
0.03590434417128563,
0.016651714220643044,
-0.00448315404355526,
0.011156550608575344,
0.004175151232630014,
0.0034980333875864744,
0.05268317088484764,
-0.049867141991853714,
0.008844084106385708,
-0.013640129938721657,
-0.000856785976793617,
0.02520735189318657,
-0.00009777871309779584,
0.0006117280572652817,
-0.03733191266655922,
0.021433094516396523,
0.04689466953277588,
0.04075416550040245,
0.019076626747846603,
-0.02377978339791298,
-0.007548516616225243,
-0.030467847362160683,
0.05987968295812607,
0.06296949088573456,
-0.009787648916244507,
0.0484200194478035,
-0.012613453902304173,
0.01933085173368454,
-0.022958440706133842,
0.040871500968933105,
-0.019311295822262764,
-0.005113826598972082,
0.008692527189850807,
-0.010149430483579636,
0.002026463858783245,
-0.05905834212899208,
0.03177808225154877,
-0.003070251550525427,
-0.018519287928938866,
0.0451737642288208,
0.05197916179895401,
0.0007846741937100887,
-0.05925390124320984,
0.04489998519420624,
-0.003938037436455488,
-0.04091061279177666,
0.0010278987465426326,
-0.04654266685247421,
0.04673822596669197,
-0.008306301198899746,
0.006868954747915268,
0.06214815005660057,
-0.0005286161904223263,
0.039404820650815964,
-0.05800233036279678,
-0.011762779206037521,
0.007040067110210657,
0.02624380588531494,
0.05530364066362381,
0.03938526660203934,
-0.02720203809440136,
-0.046777334064245224,
-0.042592406272888184,
0.0462297759950161,
-0.026263361796736717,
-0.012750344350934029,
-0.07399892807006836,
-0.03770347312092781,
-0.013513018377125263,
0.06445572525262833,
-0.008276968263089657,
0.027026036754250526,
0.015556593425571918,
-0.005192049778997898,
0.0027280261274427176,
0.046816445887088776,
0.004180039744824171,
0.004385375417768955,
-0.013767242431640625,
-0.008448081091046333,
-0.02690870128571987,
0.008316079154610634,
0.034359440207481384,
-0.06922733038663864,
-0.06128769740462303,
-0.0004546710115391761,
-0.0019531298894435167,
-0.008540970273315907,
0.028258047997951508,
-0.013777020387351513,
-0.048772022128105164,
0.009601869620382786,
0.07626739889383316,
0.014295247383415699,
0.028414493426680565,
-0.04603421688079834,
0.0027451373171061277,
-0.010882770642638206,
-0.04697289317846298,
0.006634285673499107,
-0.07087001204490662,
0.05358273535966873,
0.007020511664450169,
0.009523646906018257,
0.020220637321472168,
-0.026791367679834366,
-0.01630948856472969,
0.02972472831606865,
-0.04419597610831261,
0.05346539989113808,
0.07000955939292908,
0.010090762749314308,
-0.03866170346736908,
-0.022997552528977394,
0.032697200775146484,
-0.046581778675317764,
0.04302263259887695,
-0.0017600167775526643,
-0.0561249814927578,
0.04873291030526161,
0.008115633390843868,
-0.012173449620604515,
0.01876373402774334,
0.011068549938499928,
-0.025031350553035736,
-0.0463079996407032,
0.05526452884078026,
-0.018685512244701385,
0.01770772412419319,
-0.036119457334280014,
0.010168986395001411,
-0.000711951230186969,
-0.01989796757698059,
0.010110318660736084,
0.014588584192097187,
-0.010540544986724854,
0.011938780546188354,
0.027710486203432083,
0.001651237951591611,
0.008228078484535217,
0.0324820876121521,
0.006145392078906298,
-0.02524646371603012,
0.03289275988936424,
-0.021804653108119965,
0.004272929858416319,
-0.0407150574028492,
0.034828778356313705,
0.07755807787179947,
-0.0021327980794012547,
-0.015801040455698967,
0.07853586226701736,
0.017453501001000404,
-0.012613453902304173,
-0.04564310237765312,
0.011674778535962105,
0.013131680898368359,
-0.04501732066273689,
0.05788499861955643,
0.03948304429650307,
-0.0660201832652092,
0.02567669004201889,
0.00990009494125843,
-0.0008525081211701035,
-0.007660962175577879,
-0.03766436129808426,
0.0016769049689173698,
-0.016192154958844185,
0.03373365476727486,
-0.0013737909030169249,
-0.06308682262897491,
0.05749388411641121,
-0.014285469427704811,
-0.00877075083553791,
0.0335380993783474,
-0.014735251665115356,
0.009191199205815792,
-0.03971771150827408,
-0.021765541285276413,
-0.010696991346776485,
-0.04775512218475342,
0.02112020179629326,
0.07732340693473816,
-0.00853608176112175,
-0.11037261039018631,
0.07787096500396729,
-0.008628970943391323,
0.002505579497665167,
0.02491401508450508,
-0.009171643294394016,
0.006516951136291027,
-0.04994536563754082,
0.007235624827444553,
0.07927898317575455,
-0.013092570006847382,
0.0050356038846075535,
0.04560399055480957,
0.004162928555160761,
-0.04094972461462021,
-0.02520735189318657,
0.008594748564064503,
-0.01936996355652809,
0.0727473646402359,
-0.03375321254134178,
-0.06214815005660057,
0.02288021892309189,
-0.025891803205013275,
0.007279625162482262,
-0.025618022307753563,
0.03541544824838638,
0.016651714220643044,
-0.013923688791692257,
0.005284939426928759,
-0.03175852447748184,
-0.022234879434108734,
-0.01813795045018196,
0.03903326019644737,
0.0023503557313233614,
0.02068997547030449,
-0.009181421250104904,
-0.020240193232893944,
0.006409394554793835,
-0.02819938026368618,
-0.05350451171398163,
-0.04755956679582596,
0.02325177751481533,
-0.02606780454516411,
0.016524601727724075,
0.029842063784599304,
-0.0055636088363826275,
-0.05596853420138359,
-0.029314057901501656,
-0.022410880774259567,
-0.016192154958844185,
0.058901894837617874,
0.010032095946371555,
0.037019021809101105,
-0.038544367998838425,
0.04161461815237999
] |
729,911 | prefect_github.credentials | GitHubCredentials |
Block used to manage GitHub authentication.
Attributes:
token: the token to authenticate into GitHub.
Examples:
Load stored GitHub credentials:
```python
from prefect_github import GitHubCredentials
github_credentials_block = GitHubCredentials.load("BLOCK_NAME")
```
| class GitHubCredentials(CredentialsBlock):
"""
Block used to manage GitHub authentication.
Attributes:
token: the token to authenticate into GitHub.
Examples:
Load stored GitHub credentials:
```python
from prefect_github import GitHubCredentials
github_credentials_block = GitHubCredentials.load("BLOCK_NAME")
```
"""
_block_type_name = "GitHub Credentials"
_logo_url = "https://cdn.sanity.io/images/3ugk85nk/production/41971cfecfea5f79ff334164f06ecb34d1038dd4-250x250.png" # noqa
_documentation_url = "https://prefecthq.github.io/prefect-github/credentials/#prefect_github.credentials.GitHubCredentials" # noqa
token: SecretStr = Field(
default=None, description="A GitHub personal access token (PAT)."
)
def get_client(self) -> HTTPEndpoint:
"""
Gets an authenticated GitHub GraphQL HTTPEndpoint client.
Returns:
An authenticated GitHub GraphQL HTTPEndpoint client.
Example:
Gets an authenticated GitHub GraphQL HTTPEndpoint client.
```python
from prefect_github import GitHubCredentials
github_credentials = GitHubCredentials(token=token)
client = github_credentials.get_client()
```
"""
if self.token is not None:
base_headers = {"Authorization": f"Bearer {self.token.get_secret_value()}"}
else:
base_headers = None
endpoint = HTTPEndpoint(
"https://api.github.com/graphql", base_headers=base_headers
)
return endpoint
def get_endpoint(self) -> HTTPEndpoint:
"""
Gets an authenticated GitHub GraphQL HTTPEndpoint.
Returns:
An authenticated GitHub GraphQL HTTPEndpoint
Example:
Gets an authenticated GitHub GraphQL HTTPEndpoint.
```python
from prefect import flow
from prefect_github import GitHubCredentials
@flow
def example_get_endpoint_flow():
token = "token_xxxxxxx"
github_credentials = GitHubCredentials(token=token)
endpoint = github_credentials.get_endpoint()
return endpoint
example_get_endpoint_flow()
```
"""
warnings.warn(
"`get_endpoint` is deprecated and will be removed March 31st, 2023, "
"use `get_client` instead.",
DeprecationWarning,
)
return self.get_client()
| (*args, token: pydantic.v1.types.SecretStr = None, **kwargs) -> None | [
0.010736298747360706,
-0.09373937547206879,
-0.04825260490179062,
0.028574064373970032,
0.028218992054462433,
-0.014324408955872059,
0.0028125550597906113,
0.019267404451966286,
-0.016492225229740143,
0.01045597717165947,
0.07295823842287064,
0.00682581914588809,
-0.03010648675262928,
0.004655666183680296,
-0.02177160605788231,
0.002611658303067088,
0.038273174315690994,
-0.011324972845613956,
-0.002119928365573287,
0.0021643126383423805,
-0.006793114822357893,
0.013576885685324669,
0.013548853807151318,
0.0025135460309684277,
-0.0007959951180964708,
0.0341431125998497,
0.03290969878435135,
0.013361972756683826,
-0.02775179035961628,
-0.03576897457242012,
0.008077919483184814,
0.00735842902213335,
-0.036778129637241364,
0.06978126615285873,
0.03763778135180473,
-0.06297881156206131,
0.02205192670226097,
0.10226114094257355,
-0.08835721015930176,
0.024369249120354652,
-0.06196965277194977,
0.018641354516148567,
0.03939446061849594,
-0.0541580393910408,
-0.025789542123675346,
-0.01765088550746441,
0.04436548799276352,
-0.011259564198553562,
-0.03158284351229668,
-0.06230603903532028,
0.058194663375616074,
0.0019295436795800924,
-0.020706385374069214,
0.04507563263177872,
0.057222880423069,
-0.011960367672145367,
0.049785029143095016,
0.039282333105802536,
-0.0022390647791326046,
0.0728834867477417,
-0.03169497475028038,
-0.0031699645332992077,
0.015174715779721737,
0.010577449575066566,
-0.0003612054279074073,
0.022070614621043205,
-0.018977738916873932,
0.003326477250084281,
-0.013090996071696281,
0.0011650846572592854,
-0.0037609748542308807,
-0.027415404096245766,
-0.00688188336789608,
0.006003543734550476,
0.019211340695619583,
-0.07325725257396698,
-0.0015943263424560428,
0.025471843779087067,
0.04077737778425217,
0.015697982162237167,
-0.025565285235643387,
-0.031395964324474335,
-0.038871195167303085,
-0.021210962906479836,
0.028349807485938072,
-0.004627634305506945,
0.07538768649101257,
-0.022332247346639633,
-0.0022799449507147074,
0.00828348845243454,
0.0007848991081118584,
0.03563815727829933,
-0.04559890180826187,
-0.0016363745089620352,
0.022799450904130936,
-0.001500885933637619,
-0.0022145367693156004,
-0.007802270818501711,
-0.032891009002923965,
0.04399172589182854,
-0.007045404054224491,
0.05370952561497688,
-0.012595761567354202,
0.05060730502009392,
-0.009334692731499672,
-0.05845629423856735,
0.0003366773307789117,
-0.016006335616111755,
0.02702295407652855,
-0.042309798300266266,
-0.04967290163040161,
-0.05101844295859337,
-0.018725449219346046,
0.03713320195674896,
0.03902069851756096,
0.018351688981056213,
0.008946915157139301,
0.0064380415715277195,
0.023715166375041008,
-0.040366239845752716,
0.025079395622015,
0.021154899150133133,
-0.03455424681305885,
0.011465133167803288,
0.027041641995310783,
0.09687897562980652,
-0.0027845229487866163,
-0.05116794630885124,
-0.05939069762825966,
-0.027060331776738167,
0.034161798655986786,
0.03210611268877983,
-0.018267592415213585,
-0.012137903831899166,
0.006241816561669111,
0.034068357199430466,
0.03905807435512543,
-0.01000746339559555,
0.033974919468164444,
0.06253029406070709,
-0.012072496116161346,
0.030349431559443474,
-0.07467754185199738,
-0.021622100844979286,
-0.05146695673465729,
0.027378028258681297,
-0.011745454743504524,
-0.05524194613099098,
0.015090619213879108,
-0.018276935443282127,
0.0721733421087265,
-0.03074188157916069,
0.025920357555150986,
0.07093992829322815,
-0.034479495137929916,
0.016352064907550812,
-0.02145390957593918,
-0.0059895277954638,
-0.007914399728178978,
-0.01190430298447609,
0.013193780556321144,
-0.012810674495995045,
0.05352264270186424,
0.04799097403883934,
0.014586041681468487,
0.025546597316861153,
0.03373197466135025,
-0.07953644543886185,
-0.07295823842287064,
0.02453744038939476,
0.002847595140337944,
0.0012579410104081035,
-0.04974765330553055,
0.021808981895446777,
-0.015651261433959007,
0.02014574408531189,
0.028555376455187798,
-0.05232660844922066,
-0.023603036999702454,
-0.10599875450134277,
-0.04526251554489136,
-0.03541389852762222,
-0.005480277817696333,
0.026144614443182945,
0.026238055899739265,
0.022014550864696503,
0.04245930537581444,
-0.007054748013615608,
0.06537088006734848,
0.0018863274017348886,
-0.05905431509017944,
0.014343096874654293,
0.006461401470005512,
0.007022043690085411,
0.008017183281481266,
-0.03586241230368614,
-0.013978679664433002,
0.008722658269107342,
0.008115296252071857,
-0.014819642528891563,
-0.015090619213879108,
0.0058446950279176235,
0.022930266335606575,
-0.053223636001348495,
0.06208178028464317,
0.07292086631059647,
0.010082216002047062,
-0.0028989873826503754,
-0.027602285146713257,
0.037413522601127625,
-0.08506811410188675,
0.010446633212268353,
-0.01829562522470951,
0.06630528718233109,
-0.015688637271523476,
-0.03875906392931938,
0.0399177260696888,
-0.02960190922021866,
0.03223692625761032,
0.06196965277194977,
0.14442142844200134,
-0.014156215824186802,
0.006676314398646355,
-0.030255991965532303,
0.010876459069550037,
-0.0018314312910661101,
0.008601185865700245,
-0.03788072615861893,
-0.0469818189740181,
-0.08402158319950104,
-0.007227612659335136,
-0.017136963084340096,
-0.02481776289641857,
0.026948202401399612,
-0.01624928042292595,
-0.01947297342121601,
0.002543914131820202,
-0.005620438139885664,
-0.04301994666457176,
0.04141277074813843,
-0.02091195434331894,
0.023061083629727364,
0.05374690145254135,
0.04096425697207451,
-0.04324420168995857,
-0.026312807574868202,
-0.026107238605618477,
0.0059755113907158375,
0.022874202579259872,
-0.0023628734052181244,
-0.07265923172235489,
0.006461401470005512,
-0.013754422776401043,
0.011427757330238819,
0.010689578019082546,
-0.04410385340452194,
0.01419359166175127,
-0.07120156288146973,
0.039506588131189346,
-0.013894583098590374,
0.01584748737514019,
-0.08873097598552704,
-0.0157166700810194,
0.05213972553610802,
0.05202759802341461,
-0.04021673649549484,
-0.023715166375041008,
-0.014632761478424072,
0.03446080908179283,
-0.022649945691227913,
0.09284234791994095,
0.0806577280163765,
0.025341028347611427,
-0.000005493271601153538,
-0.0010050679557025433,
-0.08611464500427246,
0.023883357644081116,
0.05998871847987175,
-0.04257143288850784,
-0.011231532320380211,
-0.024163680151104927,
-0.006111000198870897,
-0.016501570120453835,
0.027097707614302635,
0.01498783566057682,
0.018977738916873932,
-0.031003514304757118,
-0.0005270621040835977,
-0.015174715779721737,
0.023023707792162895,
-0.025135459378361702,
0.03427392616868019,
0.012418225407600403,
-0.0494486428797245,
0.05228922888636589,
0.028218992054462433,
-0.06761345267295837,
0.04421598091721535,
-0.0109792435541749,
-0.031134331598877907,
-0.0400298535823822,
0.006489433813840151,
0.027415404096245766,
-0.0013875894946977496,
0.04414122924208641,
-0.028667505830526352,
0.046421173959970474,
-0.026088550686836243,
-0.007657438050955534,
-0.002114088274538517,
0.03042418509721756,
0.07389264553785324,
0.01394130289554596,
0.012072496116161346,
-0.005723222624510527,
-0.01070826593786478,
0.02969534881412983,
-0.0048261950723826885,
0.04070262610912323,
0.02720983512699604,
-0.051093194633722305,
-0.018762826919555664,
0.02975141443312168,
0.022238807752728462,
-0.003630158258602023,
-0.01016631256788969,
-0.04451499134302139,
0.007886366918683052,
-0.03350771591067314,
0.05576521158218384,
-0.10719478875398636,
0.0031302524730563164,
0.006508121732622385,
0.009904678910970688,
-0.020893266424536705,
-0.041674405336380005,
0.0057045347057282925,
-0.028499312698841095,
0.03236774355173111,
-0.09852352738380432,
0.05314888060092926,
-0.10375618934631348,
0.037600405514240265,
0.0061950962990522385,
-0.05939069762825966,
-0.024873826652765274,
0.07692011445760727,
-0.006181080359965563,
0.0022916251327842474,
-0.0035460619255900383,
0.025004642084240913,
0.03776859864592552,
0.050906311720609665,
0.04096425697207451,
0.05808253213763237,
-0.011810862459242344,
-0.023304028436541557,
0.008853474631905556,
-0.036778129637241364,
-0.017688261345028877,
0.037058450281620026,
-0.02214536815881729,
0.014230968430638313,
0.04963552579283714,
-0.03408704698085785,
-0.018370376899838448,
-0.04866374284029007,
-0.004431409295648336,
0.04518776386976242,
-0.01724909245967865,
-0.014212280511856079,
-0.0430946983397007,
-0.016053056344389915,
-0.03262937813997269,
-0.013707702048122883,
0.009423460811376572,
-0.06447385251522064,
0.0057045347057282925,
-0.06869736313819885,
0.014651450328528881,
0.024163680151104927,
0.053261011838912964,
0.024967266246676445,
0.052513487637043,
-0.03634830191731453,
0.0041814567521214485,
0.0039618718437850475,
-0.021173587068915367,
0.053036753088235855,
0.024257119745016098,
0.00752662168815732,
-0.03973084315657616,
0.02956453338265419,
0.03459162637591362,
-0.045561522245407104,
-0.02889176271855831,
-0.00989533495157957,
-0.015782078728079796,
0.010026151314377785,
-0.03773122280836105,
0.10368143022060394,
-0.011259564198553562,
0.06481023877859116,
-0.0036348304711282253,
-0.003868431318551302,
-0.02173423022031784,
0.04051574319601059,
0.028574064373970032,
0.019360844045877457,
0.02227618359029293,
-0.05146695673465729,
-0.027004266157746315,
0.02173423022031784,
-0.0007778910803608596,
0.05483080819249153,
-0.021752918139100075,
0.02322927489876747,
0.002206360688433051,
0.013502133078873158,
0.024481376633048058,
0.02408892661333084,
-0.06753870099782944,
0.023883357644081116,
0.003506349865347147,
-0.04186128452420235,
0.026948202401399612,
0.011147435754537582,
0.01082039438188076,
-0.012642482295632362,
-0.007905054837465286,
0.0019599117804318666,
0.051317449659109116,
0.006839835084974766,
-0.003457293612882495,
-0.007928415201604366,
-0.024462688714265823,
-0.04821522906422615,
0.0360306054353714,
0.03264806419610977,
0.013857206329703331,
0.03946921229362488,
0.014679482206702232,
-0.013156403787434101,
-0.050906311720609665,
0.0486263670027256,
0.0034643015824258327,
-0.06619315594434738,
0.052401360124349594,
0.05998871847987175,
-0.013558197766542435,
-0.012922802940011024,
0.0516912117600441,
0.006648282054811716,
-0.01190430298447609,
-0.06413746625185013,
0.003859087359160185,
0.01576339080929756,
0.03769384324550629,
0.021977175027132034,
-0.0156606063246727,
0.0760604590177536,
-0.021397843956947327,
0.008381601423025131,
-0.0000775993030401878,
0.029938293620944023,
-0.056026846170425415,
0.024369249120354652,
-0.02421974390745163,
-0.02580823004245758,
0.004419729579240084,
0.005797974765300751,
-0.012436913326382637,
-0.05191547051072121,
0.018314313143491745,
0.03780597448348999,
-0.017669573426246643,
0.032573312520980835,
-0.022107990458607674,
-0.09814976155757904,
-0.06380108743906021,
-0.06327781826257706,
-0.012857395224273205,
-0.000786067103035748,
0.010334504768252373,
-0.004088016226887703,
-0.03023730404675007,
0.04152489826083183,
-0.020893266424536705,
0.07834040373563766,
-0.009745830669999123,
-0.054344918578863144,
0.020407376810908318,
-0.03337689861655235,
-0.02685476280748844,
-0.03780597448348999,
0.02291157841682434,
0.023528285324573517,
0.0031419324222952127,
0.003562414087355137,
-0.06555776298046112,
-0.003915151581168175,
0.018043335527181625,
0.0541580393910408,
-0.052513487637043,
0.08267603814601898,
-0.020089678466320038,
-0.03324608504772186,
-0.027415404096245766,
0.009498213417828083,
0.014772922731935978,
-0.00680245878174901,
-0.01482898648828268,
0.0634647011756897,
-0.046608056873083115,
0.01756678894162178,
0.03748827800154686,
0.007923743687570095,
0.06148376315832138,
-0.027359340339899063,
-0.024163680151104927,
0.018902987241744995,
-0.018118087202310562,
0.04440286383032799,
0.010269096121191978,
-0.0006073624244891107,
0.016043711453676224,
-0.000022630089006270282,
-0.06709018349647522,
-0.005947479512542486,
0.018669385462999344,
0.02552790939807892,
-0.006316569168120623,
-0.039955101907253265,
-0.02399548701941967,
-0.011465133167803288,
0.018146120011806488,
-0.042758312076330185,
-0.00928330048918724,
-0.04025411233305931,
-0.010549417696893215,
0.004793490748852491,
0.0010529562132433057,
-0.05397115647792816,
0.027265898883342743,
-0.055204570293426514,
-0.009745830669999123,
0.002518218010663986,
-0.010661546140909195,
0.01387589517980814,
-0.04186128452420235,
0.07250972837209702,
-0.0037306067533791065,
0.0372079536318779,
-0.070416659116745,
-0.0015546141657978296,
0.0003661694354377687,
0.008923555724322796,
-0.030498936772346497,
0.034516870975494385,
-0.007746206596493721,
0.06294143199920654,
0.0469818189740181,
-0.06103524938225746,
-0.0376751571893692,
0.024500064551830292,
-0.03431130200624466,
0.02033262513577938,
-0.026462312787771225,
-0.05524194613099098,
-0.012876083143055439,
0.018052678555250168,
0.03109695576131344,
0.08850672096014023,
0.06869736313819885,
0.003905807388946414,
0.0033755332697182894,
-0.017734982073307037,
0.021267028525471687,
0.02504201978445053,
-0.020201807841658592,
0.0034175815526396036,
-0.029489779844880104,
0.02377123013138771,
-0.08424583822488785,
-0.056251101195812225,
0.040852129459381104,
-0.02965797297656536,
-0.010558761656284332,
0.06907112151384354,
0.05531669780611992,
-0.01652025803923607,
-0.024238431826233864,
-0.005882071331143379,
-0.027639660984277725,
0.023715166375041008,
0.014651450328528881,
-0.048103101551532745,
-0.02915339544415474,
0.006965979468077421,
0.029620597139000893,
-0.05247611179947853,
0.015043899416923523,
-0.028985202312469482,
0.021584725007414818,
0.007914399728178978,
-0.016940739005804062,
0.003994575701653957,
-0.04716869816184044,
0.012726577930152416,
-0.03902069851756096,
0.011577261611819267,
-0.012950834818184376,
-0.03517095372080803,
0.012614449486136436,
-0.026873450726270676,
0.01679123379290104,
-0.030536312609910965,
0.015492413192987442,
0.011857583187520504,
0.002283449051901698,
-0.012455601245164871,
-0.0005404941621236503,
-0.041076384484767914,
0.027583597227931023,
-0.05288724973797798,
-0.0012182288337498903,
0.03251724690198898,
-0.06944487988948822,
-0.06671642512083054,
0.05105581879615784,
-0.0022764410823583603,
0.009708454832434654,
-0.008045216090977192,
-0.016959426924586296,
0.06238079071044922,
0.0015522781759500504,
0.05341051518917084,
-0.019846733659505844,
0.0027588268276304007,
-0.012418225407600403,
-0.026649193838238716,
-0.04272093623876572,
-0.032704129815101624,
0.02902257815003395,
-0.06458598375320435,
-0.015240124426782131,
-0.021379156038165092,
-0.05972708389163017,
0.057559266686439514,
-0.028817009180784225,
-0.03326477110385895,
0.08499336242675781,
0.06196965277194977,
-0.02141653187572956,
-0.016940739005804062,
-0.04993453249335289,
-0.005260692909359932,
0.027807854115962982,
0.0399177260696888,
-0.033115267753601074,
0.052812498062849045,
-0.007877022959291935,
0.04066525027155876,
0.051354825496673584,
-0.07826565206050873,
-0.016651073470711708,
-0.0007037227624095976,
0.02670525759458542,
-0.0021830005571246147,
0.03612404689192772,
0.00303914793767035,
-0.018706761300563812,
0.009951399639248848,
-0.04784147068858147,
0.0188375785946846,
-0.030891386792063713,
0.03156415745615959,
-0.030947450548410416,
-0.02988222986459732,
0.050644680857658386,
-0.01000746339559555,
0.019809357821941376,
-0.02562134899199009,
0.013221812434494495,
-0.00543355755507946,
0.06951963156461716,
0.009185188449919224,
0.010484009049832821,
-0.022649945691227913,
-0.05759664252400398,
-0.013025587424635887,
-0.024967266246676445,
0.010427945293486118,
-0.00543355755507946,
-0.09381412714719772,
0.004534193780273199,
-0.03575028479099274,
-0.05527932196855545,
0.007068763952702284,
0.030685817822813988,
0.031452029943466187,
-0.03561946749687195,
0.03227430209517479,
0.027695724740624428,
0.0006149544497020543,
-0.029900917783379555,
0.03917020186781883,
-0.03662862628698349,
-0.00172047084197402,
-0.014679482206702232,
0.014221624471247196,
0.011138091795146465,
0.022668633610010147,
-0.0007597869844175875,
0.06903374195098877,
0.03860956057906151,
-0.07243497669696808,
0.015427004545927048,
0.03341427445411682,
-0.004347313195466995,
-0.01279198657721281,
0.008862818591296673,
0.02558397315442562,
-0.011997743509709835,
0.045524146407842636,
-0.00315127638168633,
-0.03238643333315849,
-0.01652025803923607,
0.044926129281520844,
-0.006148376502096653,
-0.0041674403473734856,
0.019809357821941376,
-0.04197341203689575,
0.05213972553610802,
-0.00133035727776587,
-0.05565308406949043,
0.0392075777053833,
0.033077891916036606,
-0.01909921132028103,
0.02657444030046463,
-0.005573717877268791,
-0.006554841995239258,
-0.04130064323544502,
-0.01401605550199747,
0.023883357644081116,
0.0008958595572039485,
0.023733854293823242,
-0.0006079464219510555,
0.007615390233695507,
0.04171178117394447,
0.00348532572388649,
0.008769378997385502,
0.0011826046975329518,
0.03105957806110382,
-0.01662304252386093,
-0.03698369860649109,
-0.010988587513566017,
0.019996238872408867,
-0.06271717697381973,
-0.008339553140103817,
-0.005676502361893654,
-0.01973460614681244,
0.04260880872607231,
-0.004700050689280033,
0.02621936798095703,
-0.00705007603392005,
-0.015109308063983917,
0.024873826652765274
] |
729,939 | prefect_github.credentials | get_client |
Gets an authenticated GitHub GraphQL HTTPEndpoint client.
Returns:
An authenticated GitHub GraphQL HTTPEndpoint client.
Example:
Gets an authenticated GitHub GraphQL HTTPEndpoint client.
```python
from prefect_github import GitHubCredentials
github_credentials = GitHubCredentials(token=token)
client = github_credentials.get_client()
```
| def get_client(self) -> HTTPEndpoint:
"""
Gets an authenticated GitHub GraphQL HTTPEndpoint client.
Returns:
An authenticated GitHub GraphQL HTTPEndpoint client.
Example:
Gets an authenticated GitHub GraphQL HTTPEndpoint client.
```python
from prefect_github import GitHubCredentials
github_credentials = GitHubCredentials(token=token)
client = github_credentials.get_client()
```
"""
if self.token is not None:
base_headers = {"Authorization": f"Bearer {self.token.get_secret_value()}"}
else:
base_headers = None
endpoint = HTTPEndpoint(
"https://api.github.com/graphql", base_headers=base_headers
)
return endpoint
| (self) -> sgqlc.endpoint.http.HTTPEndpoint | [
-0.019010357558727264,
-0.09098850190639496,
-0.044333312660455704,
-0.0072377217002213,
-0.0008576654945500195,
0.007713887840509415,
0.0036846171133220196,
0.030311360955238342,
-0.029331820085644722,
0.02151362970471382,
0.07930656522512436,
-0.009831692092120647,
-0.00602236483246088,
-0.011836123652756214,
0.00272094807587564,
0.006688997149467468,
0.05489059165120125,
-0.005460035987198353,
0.030311360955238342,
-0.024796906858682632,
-0.020080596208572388,
-0.014910795725882053,
0.0022300437558442354,
-0.0006819376139901578,
0.03210718557238579,
0.05819201096892357,
-0.01106518879532814,
0.024833185598254204,
0.04349888861179352,
-0.0646134465932846,
-0.005881782621145248,
0.017958257347345352,
0.024524811655282974,
0.04807008430361748,
0.02831600047647953,
0.0007794382399879396,
0.015591032803058624,
0.05975202098488808,
-0.11123235523700714,
0.04103189706802368,
-0.03408440947532654,
0.005682246759533882,
0.0747353732585907,
-0.02862437441945076,
0.028370417654514313,
0.008870290592312813,
0.0323067232966423,
-0.01615336164832115,
-0.009922390803694725,
-0.0353904627263546,
0.04966637119650841,
0.0025372840464115143,
0.0011025508865714073,
0.0207880437374115,
-0.00019500128109939396,
0.015745218843221664,
0.06189249828457832,
0.022547589614987373,
-0.02993042953312397,
0.083152174949646,
-0.06882184743881226,
-0.017840350046753883,
0.046655189245939255,
-0.017967326566576958,
0.0006774027133360505,
0.01623499020934105,
-0.03484627604484558,
-0.0009642359800636768,
-0.022583868354558945,
0.0005810357979498804,
0.004076887387782335,
0.014194278977811337,
0.005432826466858387,
-0.04625611752271652,
0.029821591451764107,
-0.05811944976449013,
0.025141559541225433,
-0.00994960032403469,
-0.006271785125136375,
-0.03176253288984299,
-0.023527130484580994,
-0.013641019351780415,
-0.0231099184602499,
-0.0040133981965482235,
0.06591950356960297,
-0.03675093874335289,
0.023345734924077988,
-0.03089183010160923,
-0.030365779995918274,
0.0004330842348281294,
0.002965833293274045,
0.016452666372060776,
-0.03450162336230278,
0.0032628702465444803,
-0.002385364379733801,
-0.022275494411587715,
-0.024198297411203384,
0.01087472215294838,
0.0037866528145968914,
0.013414273969829082,
-0.011718216352164745,
0.07771027833223343,
-0.05104498565196991,
0.0625455230474472,
0.00786807481199503,
-0.06298087537288666,
0.06776974350214005,
-0.03633372485637665,
0.0016280339332297444,
-0.02728203870356083,
-0.026737850159406662,
-0.019010357558727264,
0.043099816888570786,
0.02145921066403389,
0.05597897246479988,
0.03704117238521576,
0.00211326964199543,
0.04008863493800163,
0.060985516756772995,
-0.037911877036094666,
-0.04629239812493324,
0.03479185700416565,
-0.004124503582715988,
0.029676472768187523,
0.03377603366971016,
0.05489059165120125,
-0.00795423798263073,
-0.05917154997587204,
-0.026792269200086594,
-0.04904962331056595,
0.026846688240766525,
0.05039195716381073,
-0.017504766583442688,
0.02214851789176464,
0.010947281494736671,
0.05264127627015114,
0.022348053753376007,
0.011817984282970428,
0.01707848347723484,
0.03709559142589569,
-0.04455098882317543,
0.025939704850316048,
-0.06914836168289185,
0.018792681396007538,
-0.061275750398635864,
0.06171110272407532,
-0.0007420252077281475,
-0.028424836695194244,
0.03994351625442505,
-0.027554133906960487,
0.07691213488578796,
-0.019101055338978767,
0.025885285809636116,
0.006711672060191631,
-0.01608080230653286,
-0.04915846139192581,
-0.005587013438344002,
0.003505488159134984,
0.0076095848344266415,
0.005287709180265665,
0.03060159645974636,
0.030492758378386497,
0.03250626102089882,
-0.016026383265852928,
0.011591238901019096,
0.028787629678845406,
0.051589176058769226,
-0.06396041810512543,
-0.038528624922037125,
0.02441597357392311,
-0.03323184698820114,
-0.01547312457114458,
-0.08032238483428955,
-0.00916505977511406,
-0.009296572767198086,
-0.0157180093228817,
0.0625455230474472,
0.02369038760662079,
-0.041430968791246414,
-0.015255448408424854,
-0.0010237566893920302,
-0.0579017736017704,
-0.034955114126205444,
0.013885905034840107,
0.02466992847621441,
0.02702808380126953,
0.0747353732585907,
-0.015763359144330025,
0.015228239819407463,
-0.0004826848453376442,
-0.07995959371328354,
0.014094511047005653,
0.021658746525645256,
0.000952898699324578,
0.014865445904433727,
-0.06664508581161499,
0.023255035281181335,
0.021223394200205803,
0.021568048745393753,
0.005673176608979702,
-0.00958680734038353,
0.016162430867552757,
0.010040298104286194,
0.0063896928913891315,
0.03736768662929535,
0.03479185700416565,
-0.0014171604998409748,
-0.025159699842333794,
-0.037222567945718765,
0.028696931898593903,
-0.05797433480620384,
-0.00786807481199503,
-0.07067209482192993,
0.042773302644491196,
-0.039508167654275894,
-0.004605204798281193,
0.011219375766813755,
-0.023654108867049217,
0.03357649967074394,
0.03709559142589569,
0.10724163055419922,
0.02599412389099598,
0.045022621750831604,
-0.03783931955695152,
0.025576911866664886,
-0.04349888861179352,
0.015155680477619171,
-0.04135841131210327,
-0.06588321924209595,
-0.08017726987600327,
0.01644359529018402,
-0.046618908643722534,
0.03863746300339699,
0.014584281481802464,
-0.028787629678845406,
-0.02309178002178669,
-0.017668023705482483,
0.010666116140782833,
0.013840556144714355,
0.055797576904296875,
0.020642926916480064,
0.015255448408424854,
0.055398501455783844,
0.04904962331056595,
-0.05104498565196991,
0.01988106034696102,
-0.036605820059776306,
-0.014665910042822361,
0.04030631110072136,
0.0072377217002213,
-0.05688595399260521,
-0.03584395721554756,
-0.023490851745009422,
-0.020552227273583412,
0.01493800524622202,
0.009228548966348171,
-0.01988106034696102,
-0.06432320922613144,
-0.003911362960934639,
-0.020715484395623207,
-0.02829786017537117,
-0.009214944206178188,
-0.02022571489214897,
0.06548415124416351,
0.00866621918976307,
-0.054455239325761795,
0.019046636298298836,
0.008530172519385815,
0.017722440883517265,
-0.02205781824886799,
0.07894377410411835,
0.06802370399236679,
0.058409683406353,
-0.02111455611884594,
0.004253748804330826,
-0.10368625819683075,
-0.03192579001188278,
0.04680030792951584,
-0.052822671830654144,
-0.02572202868759632,
-0.0761139839887619,
-0.009713784791529179,
0.03568070009350777,
0.02378108538687229,
-0.015445915050804615,
0.0008690027752891183,
-0.0023694923147559166,
-0.005056428723037243,
0.031036946922540665,
-0.013432413339614868,
0.02731831930577755,
0.0053648026660084724,
-0.021568048745393753,
-0.030782992020249367,
-0.01335078477859497,
-0.0064032976515591145,
-0.005518989637494087,
0.008307961747050285,
0.00003571244451450184,
-0.02530481666326523,
-0.03812955319881439,
0.005958876106888056,
-0.006602833978831768,
-0.006920278072357178,
0.04193887859582901,
0.013223807327449322,
0.03936304897069931,
-0.02211223728954792,
-0.006330739241093397,
-0.0018298375653102994,
-0.018701983615756035,
0.0436440072953701,
-0.017668023705482483,
0.0018434423254802823,
-0.01298799179494381,
-0.010974490083754063,
-0.011999380774796009,
-0.023236896842718124,
0.036279305815696716,
0.04135841131210327,
-0.061965055763721466,
0.0737195536494255,
0.035644419491291046,
-0.0011376964394003153,
-0.02476062811911106,
0.05663200095295906,
-0.0630534365773201,
0.018284771591424942,
-0.012978922575712204,
0.06737067550420761,
-0.07263117283582687,
0.015572892501950264,
0.018302910029888153,
0.011963102035224438,
0.0033240916673094034,
-0.06664508581161499,
0.05942550674080849,
-0.015273588709533215,
-0.017550114542245865,
-0.038855139166116714,
0.023236896842718124,
-0.08960989117622375,
0.04854171350598335,
0.03466487675905228,
-0.03598907217383385,
-0.002260654466226697,
0.03225230425596237,
-0.04335377365350723,
0.027862507849931717,
-0.07136140018701553,
0.013278226368129253,
0.0323067232966423,
0.04821519926190376,
0.009423550218343735,
0.04455098882317543,
-0.025540633127093315,
-0.029168562963604927,
0.04850543290376663,
-0.02956763654947281,
0.018756402656435966,
-0.017033135518431664,
-0.024796906858682632,
0.018810821697115898,
0.0579017736017704,
-0.0821363553404808,
-0.017432207241654396,
0.006117598153650761,
-0.006484926212579012,
0.024524811655282974,
-0.010811233893036842,
-0.013051480986177921,
-0.02574016898870468,
-0.014275907538831234,
0.0015906208427622914,
-0.040850501507520676,
0.024162018671631813,
-0.0735381543636322,
-0.03747652471065521,
-0.03357649967074394,
0.02731831930577755,
0.0016847203951328993,
0.08619963377714157,
0.024252716451883316,
0.08083029836416245,
-0.025123421102762222,
-0.03480999544262886,
0.010539138689637184,
-0.026937386021018028,
0.021695025265216827,
0.0250871405005455,
-0.0353904627263546,
-0.07981447875499725,
0.013142178766429424,
0.04426075518131256,
-0.01170007698237896,
-0.061565984040498734,
-0.04476866498589516,
-0.023327594622969627,
0.002003297908231616,
-0.0076141199097037315,
0.09831692278385162,
0.003947642166167498,
0.08482102304697037,
0.0250871405005455,
0.00004177080336376093,
-0.0009086832869797945,
0.009115176275372505,
-0.0014885853743180633,
0.03871002048254013,
-0.014212418347597122,
-0.07742004096508026,
-0.06922091543674469,
-0.022964801639318466,
0.02281968481838703,
0.046655189245939255,
-0.011146817356348038,
0.01200845092535019,
0.019028495997190475,
0.030311360955238342,
0.023853644728660583,
0.002196031855419278,
-0.005777479615062475,
0.009858901612460613,
0.015445915050804615,
-0.06011481210589409,
0.0353904627263546,
0.0157180093228817,
0.03254253789782524,
-0.022837823256850243,
0.02537737600505352,
0.06911207735538483,
0.012217056937515736,
0.007786446250975132,
-0.002696006093174219,
0.030492758378386497,
0.02015315555036068,
-0.06058644503355026,
0.07379211485385895,
0.01757732406258583,
0.00022291933419182897,
-0.007881679572165012,
-0.008026796393096447,
-0.025576911866664886,
-0.0836600810289383,
0.04658263176679611,
-0.03444720432162285,
-0.04270074516534805,
0.04027003049850464,
0.04411563649773598,
-0.035626281052827835,
0.002215305110439658,
0.05503571033477783,
-0.02898716740310192,
0.010947281494736671,
-0.02924112230539322,
-0.026755988597869873,
0.01917361468076706,
0.05728502571582794,
0.01707848347723484,
0.00301118241623044,
0.09149641543626785,
-0.023327594622969627,
0.00826261192560196,
-0.023944342508912086,
-0.007192372810095549,
-0.060695283114910126,
0.02829786017537117,
-0.0013740787981078029,
-0.027263900265097618,
0.009822622872889042,
0.0469091460108757,
-0.013586600311100483,
-0.07067209482192993,
0.0292048417031765,
-0.015373356640338898,
-0.0026438545901328325,
0.050863590091466904,
0.0250871405005455,
-0.07107116281986237,
-0.040814220905303955,
-0.0840228796005249,
0.05333058163523674,
-0.03310486674308777,
0.011101468466222286,
-0.004707240033894777,
-0.017359647899866104,
0.0053693377412855625,
-0.008629940450191498,
0.06327111274003983,
-0.04153980687260628,
-0.0016166965942829847,
0.09418108314275742,
-0.04846915602684021,
-0.01579056866466999,
0.001099716522730887,
0.035336047410964966,
0.020026177167892456,
-0.006775160785764456,
0.026447614654898643,
0.009341921657323837,
0.017985466867685318,
-0.03466487675905228,
0.06171110272407532,
0.008652614429593086,
0.0637427419424057,
-0.04854171350598335,
-0.056087810546159744,
0.003965782001614571,
-0.01025797426700592,
-0.02051594853401184,
-0.02049780823290348,
-0.013849625363945961,
-0.005682246759533882,
0.008897500112652779,
0.017940117046236992,
0.008747847750782967,
-0.039870958775281906,
0.05340313911437988,
-0.05148033797740936,
-0.012697757221758366,
0.038492344319820404,
0.02501458302140236,
0.006185621954500675,
-0.011999380774796009,
-0.0360797718167305,
-0.01852058619260788,
0.000008099957995000295,
-0.02768111228942871,
-0.0020928625017404556,
0.034646738320589066,
0.01074774470180273,
-0.00512898713350296,
-0.0646134465932846,
0.009115176275372505,
-0.04095933958888054,
-0.02403504215180874,
-0.08329728990793228,
-0.04542169347405434,
-0.013105900026857853,
-0.02149548940360546,
0.014838236384093761,
0.007958773523569107,
-0.08090285956859589,
-0.011128677986562252,
-0.0579017736017704,
-0.010194485075771809,
0.008321566507220268,
0.008249007165431976,
0.035590000450611115,
-0.04092305898666382,
0.063561350107193,
-0.00035003863740712404,
0.022620148956775665,
-0.049992885440588,
-0.04328121244907379,
0.02564947120845318,
0.029186703264713287,
-0.019989898428320885,
0.016815459355711937,
-0.01661592349410057,
0.03285091370344162,
-0.0006088121444918215,
-0.0579017736017704,
0.03976212069392204,
-0.010040298104286194,
-0.02144107036292553,
0.04418819770216942,
-0.007995052263140678,
-0.04368028789758682,
-0.009314712136983871,
0.0009364596335217357,
-0.021622467786073685,
0.05590641126036644,
0.041394688189029694,
0.006462251767516136,
0.04563936963677406,
-0.0035961864050477743,
-0.005274104420095682,
0.06283576041460037,
0.02178572490811348,
-0.004348982125520706,
-0.00458252988755703,
0.02086060121655464,
-0.06639113277196884,
-0.0250871405005455,
0.019754083827137947,
0.013042410835623741,
-0.008394124917685986,
0.050899866968393326,
-0.0034692087210714817,
-0.034011851996183395,
-0.047598451375961304,
-0.021858282387256622,
-0.025159699842333794,
-0.002042978536337614,
-0.023563411086797714,
-0.021985260769724846,
-0.004788868594914675,
0.007627724204212427,
-0.002625714987516403,
-0.013196597807109356,
0.0625455230474472,
-0.0024874000810086727,
0.005809224210679531,
0.01654336415231228,
-0.015445915050804615,
-0.015572892501950264,
-0.0702730193734169,
-0.002062251791357994,
-0.09425364434719086,
-0.013559390790760517,
0.008566451258957386,
-0.04476866498589516,
0.0003548569802660495,
-0.023889923468232155,
0.02338201366364956,
-0.02466992847621441,
0.038528624922037125,
-0.04008863493800163,
-0.023001080378890038,
0.06501252204179764,
-0.021568048745393753,
-0.024796906858682632,
0.012307754717767239,
-0.03602535277605057,
0.01951826736330986,
0.059062711894512177,
-0.0702730193734169,
-0.05242360010743141,
0.06559298932552338,
0.03051089681684971,
-0.002836588304489851,
-0.024923885241150856,
-0.02343643270432949,
0.02575830928981304,
0.006965626962482929,
0.09316526353359222,
-0.019681524485349655,
0.019608965143561363,
-0.00823993794620037,
-0.026919245719909668,
-0.0004132439789827913,
-0.030021127313375473,
0.029168562963604927,
-0.02047966979444027,
-0.008190053515136242,
-0.04723566025495529,
-0.06011481210589409,
0.041140735149383545,
-0.040523987263441086,
-0.029096005484461784,
0.054128725081682205,
0.07742004096508026,
-0.0007794382399879396,
-0.03324998542666435,
-0.050573356449604034,
0.01498335413634777,
0.016624992713332176,
0.045022621750831604,
-0.00835784524679184,
0.05209708586335182,
0.018810821697115898,
0.06421437114477158,
0.04752589389681816,
-0.08278937637805939,
-0.007577840238809586,
-0.02145921066403389,
-0.024615509435534477,
0.03054717741906643,
-0.02243875153362751,
0.022348053753376007,
-0.0003154599107801914,
-0.0007811388350091875,
-0.02180386334657669,
-0.01268868800252676,
0.000005411781330622034,
0.06051388382911682,
0.0026687965728342533,
0.0025531563442200422,
0.02075176313519478,
-0.00267786649055779,
0.05322174355387688,
-0.03156299889087677,
0.035590000450611115,
-0.03029322251677513,
-0.013432413339614868,
0.013105900026857853,
0.008171914145350456,
0.0006490594823844731,
-0.012788455933332443,
-0.005060963332653046,
-0.03863746300339699,
0.007627724204212427,
0.012969852425158024,
-0.0205340888351202,
0.025812726467847824,
-0.04777984693646431,
-0.08278937637805939,
0.008017727173864841,
0.05006544291973114,
0.04872310906648636,
-0.03276021406054497,
0.018311981111764908,
0.05782921612262726,
0.004385261330753565,
-0.02733645774424076,
0.0625455230474472,
-0.014765677973628044,
0.004110898822546005,
-0.03889141604304314,
0.0012550372630357742,
-0.006956557277590036,
0.02987601049244404,
0.0005093274521641433,
0.07531584054231644,
0.015074051916599274,
-0.07625910639762878,
0.02831600047647953,
-0.0350458100438118,
-0.0037276989314705133,
-0.024833185598254204,
-0.00994053017348051,
0.01953640766441822,
-0.01025797426700592,
0.09214944392442703,
0.012752176262438297,
-0.0016983250388875604,
-0.03192579001188278,
-0.02272898703813553,
-0.02013501524925232,
-0.015781499445438385,
-0.010121926665306091,
-0.01778593100607395,
-0.0028161811642348766,
0.0061266678385436535,
-0.046074721962213516,
0.05423756316304207,
0.013595670461654663,
0.017840350046753883,
0.015373356640338898,
-0.016987785696983337,
-0.028805769979953766,
-0.045385412871837616,
-0.01757732406258583,
0.027227619662880898,
-0.03889141604304314,
0.039508167654275894,
-0.03582581505179405,
-0.01688801683485508,
0.03324998542666435,
0.009187734685838223,
0.02604854293167591,
0.007895284332334995,
-0.000017138783732661977,
-0.03437464311718941,
-0.02764483168721199,
-0.019409429281949997,
-0.0005833032191731036,
0.0018785878783091903,
0.02086060121655464,
-0.021041998639702797,
0.022982941940426826,
0.03475557640194893,
-0.057684097439050674,
-0.010684256441891193,
0.01723267138004303,
0.01119216624647379,
-0.0026869361754506826
] |
729,940 | prefect_github.credentials | get_endpoint |
Gets an authenticated GitHub GraphQL HTTPEndpoint.
Returns:
An authenticated GitHub GraphQL HTTPEndpoint
Example:
Gets an authenticated GitHub GraphQL HTTPEndpoint.
```python
from prefect import flow
from prefect_github import GitHubCredentials
@flow
def example_get_endpoint_flow():
token = "token_xxxxxxx"
github_credentials = GitHubCredentials(token=token)
endpoint = github_credentials.get_endpoint()
return endpoint
example_get_endpoint_flow()
```
| def get_endpoint(self) -> HTTPEndpoint:
"""
Gets an authenticated GitHub GraphQL HTTPEndpoint.
Returns:
An authenticated GitHub GraphQL HTTPEndpoint
Example:
Gets an authenticated GitHub GraphQL HTTPEndpoint.
```python
from prefect import flow
from prefect_github import GitHubCredentials
@flow
def example_get_endpoint_flow():
token = "token_xxxxxxx"
github_credentials = GitHubCredentials(token=token)
endpoint = github_credentials.get_endpoint()
return endpoint
example_get_endpoint_flow()
```
"""
warnings.warn(
"`get_endpoint` is deprecated and will be removed March 31st, 2023, "
"use `get_client` instead.",
DeprecationWarning,
)
return self.get_client()
| (self) -> sgqlc.endpoint.http.HTTPEndpoint | [
-0.0212712362408638,
-0.0944574698805809,
-0.017271438613533974,
-0.027659928426146507,
0.0024300829973071814,
0.019642027094960213,
0.02429167740046978,
0.019404053688049316,
-0.03620869666337967,
-0.0003909985243808478,
0.046423282474279404,
-0.029106080532073975,
0.012402119114995003,
-0.002436947776004672,
0.021216318011283875,
0.03880810737609863,
0.027714846655726433,
-0.0115509033203125,
0.04301841929554939,
-0.014919154345989227,
-0.005372725892812014,
-0.030826816335320473,
0.019678639248013496,
-0.03747178986668587,
0.02383403480052948,
0.08969797939062119,
0.015495783649384975,
0.014726944267749786,
0.02989322505891323,
-0.06835352629423141,
-0.012200755998492241,
0.004471169784665108,
-0.0027435682713985443,
0.055063579231500626,
0.024163538590073586,
0.022753998637199402,
0.0003992933197878301,
0.06875625252723694,
-0.10661245882511139,
0.02852029725909233,
-0.05345267429947853,
-0.003324774792417884,
0.05828538164496422,
-0.02806265465915203,
0.02668972685933113,
0.012447883374989033,
0.025243574753403664,
-0.02723889797925949,
0.0037480941973626614,
-0.054770685732364655,
0.04942541942000389,
-0.003910557366907597,
0.012603482231497765,
0.0377463735640049,
0.020502395927906036,
0.019770167768001556,
0.04408015310764313,
0.041297681629657745,
-0.0078119621612131596,
0.09599514305591583,
-0.054953742772340775,
-0.014900848269462585,
0.018571143969893456,
-0.019495582208037376,
0.03609886020421982,
0.028739966452121735,
-0.021802101284265518,
-0.006626667454838753,
-0.038295548409223557,
-0.0023259692825376987,
0.017390424385666847,
0.015367643907666206,
-0.01013221126049757,
-0.010333573445677757,
0.03293197229504585,
-0.06974475830793381,
0.04210313409566879,
-0.0029838308691978455,
0.016548361629247665,
-0.027476871386170387,
-0.03371911868453026,
-0.001891208696179092,
-0.01706092245876789,
-0.007221602834761143,
0.05766298994421959,
-0.01842469722032547,
0.03770976513624191,
-0.039027776569128036,
-0.07256383448839188,
0.021252930164337158,
0.01045256108045578,
-0.0046519385650753975,
-0.06696228682994843,
-0.010846133343875408,
0.03099156729876995,
-0.05645481124520302,
-0.04181024432182312,
0.004805249162018299,
0.021655656397342682,
0.012118380516767502,
-0.003992933314293623,
0.06355743110179901,
-0.038112491369247437,
0.0743211880326271,
0.023504532873630524,
-0.0713556632399559,
0.05378217622637749,
-0.032584164291620255,
-0.007175838574767113,
-0.022607551887631416,
0.011605820618569851,
0.016255471855401993,
0.026049025356769562,
0.008878269232809544,
0.04631344974040985,
0.057992491871118546,
0.008635719306766987,
0.039576947689056396,
0.03604394569993019,
-0.028117571026086807,
-0.04411676153540611,
0.020136281847953796,
-0.056894149631261826,
-0.028483685106039047,
0.03208991140127182,
0.04034578800201416,
-0.019037939608097076,
-0.05228111147880554,
-0.029289137572050095,
-0.05429473891854286,
-0.0039425925351679325,
0.04748501256108284,
-0.019367441534996033,
0.03778298571705818,
-0.021472599357366562,
0.034707628190517426,
0.050011202692985535,
0.043128255754709244,
0.009811860509216785,
0.04034578800201416,
-0.05619852989912033,
0.04228619113564491,
-0.0544411838054657,
0.012878067791461945,
-0.024145232513546944,
0.055063579231500626,
0.018626060336828232,
-0.01796705462038517,
0.0507800430059433,
-0.009729485027492046,
0.07871455699205399,
-0.014049632474780083,
0.010873592458665371,
-0.005377302411943674,
0.0018591737607493997,
-0.04283536225557327,
0.002144056372344494,
0.003224093234166503,
-0.002420930191874504,
-0.018488768488168716,
0.01750025898218155,
0.0056198532693088055,
0.03540324419736862,
-0.024694403633475304,
0.02950880490243435,
0.029490500688552856,
0.07512663304805756,
-0.022168215364217758,
-0.024859154596924782,
0.02804434858262539,
-0.034323208034038544,
0.011267164722084999,
-0.06480221450328827,
-0.012951290234923363,
0.011020038276910782,
0.015495783649384975,
0.09072310477495193,
0.016456833109259605,
-0.026195472106337547,
-0.013747588731348515,
0.004484899342060089,
-0.0564914233982563,
-0.03770976513624191,
-0.022717386484146118,
0.03291366621851921,
0.03529341146349907,
0.05363573133945465,
-0.003347656922414899,
-0.008457238785922527,
0.0034300326369702816,
-0.0583219937980175,
0.02017289400100708,
0.04829046502709389,
0.021435987204313278,
0.012457036413252354,
-0.0674748495221138,
-0.006411575246602297,
0.0425424724817276,
0.014580498449504375,
0.010534936562180519,
0.018131805583834648,
0.02685447782278061,
0.02749517746269703,
0.019056245684623718,
0.02685447782278061,
0.07036715000867844,
0.014498122967779636,
-0.021564127877354622,
-0.04777790606021881,
0.011724807322025299,
-0.06234924867749214,
-0.007432118523865938,
-0.07263705879449844,
0.009903389029204845,
-0.037087369710206985,
0.027714846655726433,
0.012576023116707802,
0.003940304275602102,
0.02246110700070858,
0.0562717542052269,
0.10778402537107468,
0.00033322113449685276,
0.050084423273801804,
-0.044336430728435516,
0.04371403530240059,
-0.03564121946692467,
0.009239807724952698,
-0.05857827514410019,
-0.07600530982017517,
-0.09518969804048538,
0.010333573445677757,
-0.03917422145605087,
0.021619044244289398,
0.025188658386468887,
0.013939798809587955,
-0.0013603430707007647,
-0.017619246616959572,
0.020136281847953796,
0.02989322505891323,
0.04829046502709389,
-0.0007110624574124813,
0.022991972044110298,
0.025225268676877022,
0.06549783051013947,
-0.03655650466680527,
0.012127533555030823,
0.003020442323759198,
-0.010104752145707607,
0.030039671808481216,
0.000564902788028121,
-0.04942541942000389,
-0.03641005977988243,
-0.01815926469862461,
-0.0007001934573054314,
0.0030684948433190584,
-0.01104749646037817,
-0.03501882404088974,
-0.08135057985782623,
-0.003979203756898642,
-0.023358086124062538,
-0.028538603335618973,
-0.009619651362299919,
-0.015916815027594566,
0.05898100137710571,
0.013500461354851723,
-0.052390944212675095,
0.015495783649384975,
0.003484949702396989,
0.010699687525629997,
-0.010873592458665371,
0.06904914230108261,
0.041407518088817596,
0.028447074815630913,
-0.0024277949705719948,
0.010306115262210369,
-0.105221226811409,
-0.039760004729032516,
0.03071698173880577,
-0.041956689208745956,
-0.0397966131567955,
-0.06674262136220932,
-0.01953219249844551,
0.0008329098345711827,
0.042322803288698196,
-0.03814909979701042,
0.008718094788491726,
-0.005926473997533321,
-0.014598804526031017,
0.03961355611681938,
-0.047997571527957916,
0.01779315061867237,
0.0036725832615047693,
-0.04741179198026657,
-0.012136686593294144,
0.005102716851979494,
0.01658497378230095,
-0.027476871386170387,
-0.008837081491947174,
0.02346792072057724,
-0.03924744203686714,
-0.02723889797925949,
0.0018809117609634995,
-0.026891088113188744,
0.023522838950157166,
0.04499543830752373,
0.001999898813664913,
0.04144413024187088,
-0.03785621002316475,
0.010068140923976898,
-0.021893629804253578,
-0.032401107251644135,
0.026250388473272324,
-0.03785621002316475,
-0.015495783649384975,
-0.02723889797925949,
-0.002995271934196353,
-0.04008950665593147,
-0.0031211236491799355,
0.034872379153966904,
0.055869027972221375,
-0.06864641606807709,
0.0700010359287262,
0.025774439796805382,
0.020227810367941856,
-0.03540324419736862,
0.05304994806647301,
-0.038551826030015945,
0.012942137196660042,
0.020575618371367455,
0.044702544808387756,
-0.05857827514410019,
-0.005079834721982479,
0.01925760693848133,
-0.009065902791917324,
-0.04503204673528671,
-0.09577547758817673,
0.05590564012527466,
-0.014177773147821426,
-0.015733757987618446,
-0.014205231331288815,
0.0034117267932742834,
-0.06985459476709366,
0.06846335530281067,
0.03807587921619415,
-0.024419818073511124,
0.0015811558114364743,
0.03701414540410042,
-0.062019746750593185,
0.05121937766671181,
-0.07194144278764725,
0.007569411303848028,
0.030314257368445396,
0.01621885970234871,
0.020667146891355515,
0.04224957898259163,
-0.007898913696408272,
-0.042396027594804764,
0.05521002411842346,
-0.02630530670285225,
0.008008748292922974,
-0.008837081491947174,
-0.07292994856834412,
0.008429779671132565,
0.043238088488578796,
-0.06934203207492828,
0.0029632369987666607,
0.007551105692982674,
-0.011312928982079029,
0.03997967392206192,
0.013024512678384781,
-0.024731015786528587,
-0.02722059190273285,
-0.008141464553773403,
-0.007349743042141199,
-0.042029913514852524,
0.015935121104121208,
-0.04224957898259163,
-0.002045663073658943,
-0.019330831244587898,
0.038002654910087585,
0.016612432897090912,
0.07314962148666382,
0.000546025054063648,
0.08208280801773071,
0.012292284518480301,
-0.009203195571899414,
0.009239807724952698,
-0.029215915128588676,
0.009985765442252159,
0.01870843581855297,
-0.039393890649080276,
-0.07428457587957382,
-0.008992680348455906,
0.029398972168564796,
0.013216722756624222,
-0.06216619163751602,
-0.0667792335152626,
-0.016337847337126732,
0.018186723813414574,
-0.001869470695964992,
0.09182144701480865,
0.019275913015007973,
0.0608481839299202,
0.01685955934226513,
-0.010242044925689697,
-0.004208025056868792,
0.04235941544175148,
0.012621787376701832,
0.03641005977988243,
-0.0053910319693386555,
-0.04492221400141716,
-0.04100479185581207,
-0.05012103542685509,
0.03362759202718735,
0.05253738909959793,
0.008402321487665176,
0.0015491207595914602,
0.014351677149534225,
0.013106889091432095,
0.019129468128085136,
-0.003292739624157548,
-0.02017289400100708,
0.0019163790857419372,
0.023522838950157166,
-0.06396014988422394,
0.013912339694797993,
-0.01962372101843357,
0.014864237047731876,
-0.009674567729234695,
0.05704059451818466,
0.06527816504240036,
-0.007189567666500807,
-0.022753998637199402,
-0.015541547909379005,
0.030845122411847115,
-0.0005983679438941181,
-0.025371715426445007,
0.07292994856834412,
0.021399375051259995,
0.015935121104121208,
0.009258112870156765,
-0.008992680348455906,
-0.020960038527846336,
-0.06754807382822037,
0.05484391003847122,
-0.054221514612436295,
-0.049901366233825684,
0.02374250628054142,
0.0526106134057045,
-0.04155396297574043,
0.031009873375296593,
0.043421145528554916,
0.02246110700070858,
0.00540933758020401,
-0.028630131855607033,
-0.033975400030612946,
0.00504322350025177,
0.039027776569128036,
0.014553040266036987,
0.008878269232809544,
0.07241739332675934,
-0.01585274562239647,
-0.027824679389595985,
-0.017463648691773415,
0.01759178750216961,
-0.07263705879449844,
0.005093563813716173,
-0.006809724494814873,
-0.048436909914016724,
0.029929837211966515,
0.030497314408421516,
-0.05447779595851898,
-0.060372233390808105,
0.016347000375390053,
-0.008489273488521576,
0.007592293433845043,
0.02584766410291195,
0.02731212042272091,
-0.01878165826201439,
-0.04298180714249611,
-0.07805555313825607,
0.02648836374282837,
-0.025957496836781502,
0.004251501522958279,
0.007606022991240025,
0.012063463218510151,
0.0025696640368551016,
0.019605416804552078,
0.04462932422757149,
-0.029856614768505096,
-0.015623924322426319,
0.0656442791223526,
-0.031138014048337936,
-0.04181024432182312,
-0.010123058222234249,
0.051914993673563004,
0.030497314408421516,
-0.015569007024168968,
0.023962175473570824,
0.03327978029847145,
0.030826816335320473,
-0.03384725749492645,
0.06326453387737274,
-0.005876133218407631,
0.07834844291210175,
-0.06330114603042603,
-0.03913760930299759,
0.01778399758040905,
-0.018488768488168716,
-0.011926170438528061,
-0.015788676217198372,
0.010992579162120819,
0.03403031453490257,
0.02337639220058918,
0.0033522332087159157,
0.03701414540410042,
-0.022442800924181938,
0.06286180764436722,
-0.012823150493204594,
-0.01669480837881565,
0.03862505033612251,
0.008667754009366035,
0.02859351970255375,
0.0053132325410842896,
-0.025829358026385307,
0.002414065646007657,
0.004290401004254818,
-0.04583749920129776,
-0.008118582889437675,
0.022662470117211342,
0.013775046914815903,
0.011166483163833618,
-0.044885601848363876,
0.00011770000128308311,
-0.043860483914613724,
-0.0017184485914185643,
-0.10243875533342361,
-0.05704059451818466,
-0.015559853985905647,
-0.010782063938677311,
0.009784402325749397,
-0.024859154596924782,
-0.0976792722940445,
0.008621989749372005,
-0.07175838947296143,
-0.030479008331894875,
0.007871455512940884,
0.012273979373276234,
0.05378217622637749,
-0.04082173481583595,
0.06575411558151245,
-0.005372725892812014,
0.0240170918405056,
-0.06934203207492828,
-0.05048714950680733,
0.012072616256773472,
0.02769654057919979,
-0.0023168164771050215,
0.004626768175512552,
-0.02776976302266121,
-0.020941732451319695,
-0.018278252333402634,
-0.06040884554386139,
0.030094588175415993,
-0.016017496585845947,
0.011477680876851082,
0.06099462881684303,
-0.023339781910181046,
-0.07142888009548187,
-0.03752670809626579,
0.008722671307623386,
-0.003979203756898642,
0.070440374314785,
0.003034171648323536,
0.01567884162068367,
0.013619448989629745,
0.020410867407917976,
-0.014113702811300755,
0.07373540103435516,
0.010553242638707161,
-0.03714228793978691,
-0.007793656084686518,
0.01026950404047966,
-0.03932066634297371,
-0.05059698596596718,
-0.004063867963850498,
0.007207873743027449,
-0.016081565991044044,
0.0581023246049881,
-0.02063053660094738,
-0.03229127451777458,
-0.07150210440158844,
0.009285571984946728,
-0.03366420045495033,
-0.007047698833048344,
-0.014955765567719936,
-0.05564935877919197,
-0.006850912235677242,
0.03099156729876995,
0.006960746366530657,
-0.024493040516972542,
0.0702207088470459,
0.015651382505893707,
-0.013573684729635715,
0.023101806640625,
-0.013875728473067284,
0.004084461834281683,
-0.05887116491794586,
-0.013582837767899036,
-0.09277334064245224,
-0.020117975771427155,
0.006910405587404966,
-0.03564121946692467,
0.0014198366552591324,
-0.027275508269667625,
0.0005485992878675461,
0.012502800673246384,
0.0443730428814888,
-0.04602055624127388,
-0.01750025898218155,
0.024950683116912842,
0.005523748230189085,
-0.024712709710001945,
0.020960038527846336,
-0.023065196350216866,
0.01118478924036026,
0.0562717542052269,
-0.07666431367397308,
-0.029929837211966515,
0.061763469129800797,
0.0015022123698145151,
-0.021655656397342682,
-0.013125194236636162,
-0.034140150994062424,
0.029563723132014275,
-0.02648836374282837,
0.06604700535535812,
-0.015715451911091805,
-0.008718094788491726,
0.007738739252090454,
-0.04100479185581207,
0.028630131855607033,
-0.038661662489175797,
0.02383403480052948,
-0.0014713214477524161,
0.0009604777442291379,
-0.04920575022697449,
-0.07139226794242859,
0.051841773092746735,
-0.026616502553224564,
-0.032053299248218536,
0.05645481124520302,
0.07461407780647278,
0.0022344407625496387,
-0.013701824471354485,
-0.03679447993636131,
0.008704365231096745,
-0.011312928982079029,
0.048803023993968964,
-0.01512051746249199,
0.05151227116584778,
-0.002464406192302704,
0.04960847645998001,
0.04089495912194252,
-0.07805555313825607,
0.030954957008361816,
-0.022570941597223282,
0.007217026315629482,
-0.013399779796600342,
-0.03567783161997795,
0.022955361753702164,
-0.006310893688350916,
-0.000018645367163117044,
-0.02236957848072052,
-0.013015360571444035,
-0.01214583870023489,
0.04382387176156044,
0.002145200502127409,
-0.009303877130150795,
0.019019633531570435,
0.015102211385965347,
0.03950372338294983,
-0.035073742270469666,
0.031119707971811295,
-0.039284054189920425,
0.013573684729635715,
0.021765489131212234,
-0.010782063938677311,
-0.02841046266257763,
-0.03609886020421982,
0.009930848143994808,
-0.02870335429906845,
0.006974475923925638,
0.004722873214632273,
-0.0018054007086902857,
0.019367441534996033,
-0.04320147633552551,
-0.07234416902065277,
0.014553040266036987,
0.03862505033612251,
0.028447074815630913,
-0.0026268695946782827,
0.016804642975330353,
0.05846843868494034,
0.026049025356769562,
-0.0027756034396588802,
0.06593716889619827,
-0.01516628172248602,
-0.03337131068110466,
-0.03721550852060318,
0.0031531585846096277,
-0.011926170438528061,
0.02145429328083992,
-0.0063749635592103004,
0.07849488407373428,
-0.001117792446166277,
-0.08405982702970505,
0.014168620109558105,
-0.03117462433874607,
0.007171262055635452,
-0.011129871942102909,
-0.010827828198671341,
0.011724807322025299,
-0.018735894933342934,
0.07186821848154068,
0.02989322505891323,
-0.035421550273895264,
0.00011405316035961732,
-0.02868504822254181,
0.0018443003064021468,
-0.006301741115748882,
0.005052376072853804,
-0.007944678887724876,
0.02916099689900875,
0.007322284393012524,
-0.04521510377526283,
0.03741687163710594,
0.026891088113188744,
0.00036983255995437503,
-0.012392966076731682,
0.029838308691978455,
0.004066155757755041,
-0.038661662489175797,
-0.025975802913308144,
0.06260553002357483,
-0.02742195501923561,
0.04338453337550163,
-0.030131200328469276,
-0.016575820744037628,
0.020758675411343575,
0.0027138215955346823,
0.040931567549705505,
0.00023239672009367496,
0.014324218966066837,
-0.04565444216132164,
-0.06688906997442245,
-0.00024555393611080945,
0.003423167858272791,
-0.007633481174707413,
-0.012576023116707802,
-0.05865149572491646,
0.030021365731954575,
0.040199339389801025,
-0.016337847337126732,
-0.0346527099609375,
0.026927700266242027,
0.0009867922635748982,
0.014726944267749786
] |
729,944 | prefect_github.repository | GitHubRepository |
Interact with files stored on GitHub repositories.
| class GitHubRepository(ReadableDeploymentStorage):
"""
Interact with files stored on GitHub repositories.
"""
_block_type_name = "GitHub Repository"
_logo_url = "https://cdn.sanity.io/images/3ugk85nk/production/41971cfecfea5f79ff334164f06ecb34d1038dd4-250x250.png" # noqa: E501
_documentation_url = "https://prefecthq.github.io/prefect-github/repository/#prefect_github.repository.GitHubRepository" # noqa
repository_url: str = Field(
default=...,
title="Repository URL",
description=(
"The URL of a GitHub repository to read from, in either HTTPS or SSH "
"format. If you are using a private repo, it must be in the HTTPS format."
),
)
reference: Optional[str] = Field(
default=None,
description="An optional reference to pin to; can be a branch name or tag.",
)
credentials: Optional[GitHubCredentials] = Field(
default=None,
description="An optional GitHubCredentials block for using private GitHub repos.", # noqa: E501
)
@validator("credentials")
def _ensure_credentials_go_with_https(cls, v: str, values: dict):
"""Ensure that credentials are not provided with 'SSH' formatted GitHub URLs."""
if v is not None:
if urlparse(values["repository_url"]).scheme != "https":
raise InvalidRepositoryURLError(
(
"Crendentials can only be used with GitHub repositories "
"using the 'HTTPS' format. You must either remove the "
"credential if you wish to use the 'SSH' format and are not "
"using a private repository, or you must change the repository "
"url to the 'HTTPS' format. "
)
)
return v
def _create_repo_url(self) -> str:
"""Format the URL provided to the `git clone` command.
For private repos: https://<oauth-key>@github.com/<username>/<repo>.git
All other repos should be the same as `self.repository`.
"""
url_components = urlparse(self.repository_url)
if url_components.scheme == "https" and self.credentials is not None:
token_value = self.credentials.token.get_secret_value()
updated_components = url_components._replace(
netloc=f"{token_value}@{url_components.netloc}"
)
full_url = urlunparse(updated_components)
else:
full_url = self.repository_url
return full_url
@staticmethod
def _get_paths(
dst_dir: Union[str, None], src_dir: str, sub_directory: str
) -> Tuple[str, str]:
"""Returns the fully formed paths for GitHubRepository contents in the form
(content_source, content_destination).
"""
if dst_dir is None:
content_destination = Path(".").absolute()
else:
content_destination = Path(dst_dir)
content_source = Path(src_dir)
if sub_directory:
content_destination = content_destination.joinpath(sub_directory)
content_source = content_source.joinpath(sub_directory)
return str(content_source), str(content_destination)
@sync_compatible
async def get_directory(
self, from_path: Optional[str] = None, local_path: Optional[str] = None
) -> None:
"""
Clones a GitHub project specified in `from_path` to the provided `local_path`;
defaults to cloning the repository reference configured on the Block to the
present working directory.
Args:
from_path: If provided, interpreted as a subdirectory of the underlying
repository that will be copied to the provided local path.
local_path: A local path to clone to; defaults to present working directory.
"""
# CONSTRUCT COMMAND
cmd = f"git clone {self._create_repo_url()}"
if self.reference:
cmd += f" -b {self.reference}"
# Limit git history
cmd += " --depth 1"
# Clone to a temporary directory and move the subdirectory over
with TemporaryDirectory(suffix="prefect") as tmp_dir:
tmp_path_str = tmp_dir
cmd += f" {tmp_path_str}"
cmd = shlex.split(cmd)
err_stream = io.StringIO()
out_stream = io.StringIO()
process = await run_process(cmd, stream_output=(out_stream, err_stream))
if process.returncode != 0:
err_stream.seek(0)
raise RuntimeError(f"Failed to pull from remote:\n {err_stream.read()}")
content_source, content_destination = self._get_paths(
dst_dir=local_path, src_dir=tmp_path_str, sub_directory=from_path
)
copy_tree(src=content_source, dst=content_destination)
| (*args, repository_url: str, reference: Optional[str] = None, credentials: Optional[prefect_github.credentials.GitHubCredentials] = None, **kwargs) -> None | [
0.03648791462182999,
-0.0699317455291748,
-0.10662534087896347,
0.003344896947965026,
0.03895609453320503,
-0.0006601093919016421,
-0.0013279318809509277,
0.0534772165119648,
0.0062013003043830395,
-0.03305303305387497,
0.05170835554599762,
-0.0072554186917841434,
-0.01797657273709774,
0.015127881430089474,
-0.025319404900074005,
0.0014937625965103507,
0.053518351167440414,
0.031243035569787025,
0.02616269886493683,
0.039614275097846985,
-0.036796439439058304,
0.01409947406500578,
0.030975649133324623,
0.022707248106598854,
-0.0077901906333863735,
0.00585164176300168,
0.06696993112564087,
-0.02457895129919052,
-0.016351686790585518,
-0.0025980158243328333,
0.020969239994883537,
0.02749962918460369,
-0.029474172741174698,
0.059524256736040115,
0.05627448484301567,
-0.020105376839637756,
0.02196679450571537,
0.07038424164056778,
-0.10316988825798035,
0.004306458402425051,
-0.07128924131393433,
0.0053014433942735195,
0.04220586270093918,
-0.07589650899171829,
0.015127881430089474,
-0.023365430533885956,
-0.023879634216427803,
-0.026018721982836723,
-0.02624497190117836,
-0.004938929341733456,
0.033484965562820435,
0.048458583652973175,
-0.029330195859074593,
0.02564849518239498,
0.022398727014660835,
0.047882676124572754,
0.023468270897865295,
0.06499538570642471,
-0.007574224844574928,
0.027972698211669922,
-0.01750350371003151,
0.014932484365999699,
0.01215578243136406,
0.0025221705436706543,
0.012279191985726357,
-0.00297724106349051,
-0.012268907390534878,
-0.04082779958844185,
0.015611233189702034,
-0.00016550940927118063,
-0.022995203733444214,
-0.022892361506819725,
0.045537907630205154,
-0.00013497854524757713,
0.0247846320271492,
0.015570097602903843,
0.039429161697626114,
-0.0037819703575223684,
0.06141652539372444,
0.001151174190454185,
-0.023653384298086166,
-0.04376904293894768,
0.00928652472794056,
-0.05742630362510681,
0.05121471732854843,
-0.013184190727770329,
0.10020807385444641,
-0.0002223932242486626,
-0.00042743206722661853,
-0.026862017810344696,
-0.0015438975533470511,
0.04808835685253143,
-0.018922707065939903,
-0.026964858174324036,
0.023385997861623764,
-0.019807137548923492,
0.0027638464234769344,
-0.034081440418958664,
-0.06347334384918213,
0.02402361109852791,
-0.027746448293328285,
0.043193135410547256,
-0.01269055437296629,
0.05960652604699135,
-0.012114645913243294,
-0.008628343231976032,
-0.02459951862692833,
0.0056459601037204266,
-0.04693654179573059,
-0.028342925012111664,
-0.06199243292212486,
-0.007867321372032166,
0.011980953626334667,
-0.03389632701873779,
0.047389041632413864,
0.01755492389202118,
-0.03179837390780449,
-0.04944585636258125,
-0.01833651401102543,
-0.044756315648555756,
0.029186218976974487,
0.06277402490377426,
0.007250276394188404,
-0.026903152465820312,
0.05372403562068939,
0.07692492008209229,
0.008679763413965702,
-0.02877485565841198,
-0.04763585701584816,
-0.019858557730913162,
0.001606887555681169,
0.02566906437277794,
-0.02632724493741989,
0.03002951294183731,
0.015467256307601929,
0.04549676924943924,
-0.023159747943282127,
-0.031243035569787025,
0.006072749383747578,
0.027746448293328285,
0.007173145655542612,
-0.02371508814394474,
0.011692998930811882,
-0.015097029507160187,
-0.021719977259635925,
0.008942008018493652,
0.023591680452227592,
-0.05022744834423065,
0.005057196132838726,
-0.006263004615902901,
0.061087436974048615,
-0.04385131597518921,
-0.019920263439416885,
0.06655856966972351,
-0.025730768218636513,
0.027581902220845222,
-0.02108236402273178,
-0.01078800018876791,
-0.02147316001355648,
0.04224700108170509,
-0.023262588307261467,
-0.013379587791860104,
0.06034698337316513,
0.010767431929707527,
-0.029494741931557655,
0.01685560680925846,
0.03206576034426689,
-0.08885445445775986,
-0.04160938784480095,
0.022995203733444214,
0.04533222317695618,
0.039326321333646774,
-0.026100995019078255,
-0.0019424055935814977,
-0.012927088886499405,
0.032086331397295,
0.043892454355955124,
-0.03667302802205086,
-0.04228813573718071,
-0.0793108269572258,
-0.04119802638888359,
-0.06063493713736534,
-0.014510837383568287,
0.024866905063390732,
0.03303246572613716,
0.08136764168739319,
-0.015426119789481163,
-0.007137151435017586,
0.06943810731172562,
0.03401973843574524,
-0.05664471164345741,
-0.0017033007461577654,
0.015847766771912575,
0.02256327122449875,
0.012022089213132858,
-0.05277789756655693,
-0.02564849518239498,
-0.02274838462471962,
0.00962589867413044,
0.030852239578962326,
-0.02089725062251091,
-0.018408503383398056,
0.06787493079900742,
-0.02293349802494049,
-0.005944198463112116,
-0.0075536565855145454,
-0.015868335962295532,
0.005388857796788216,
0.0020053957123309374,
0.044262681156396866,
-0.08671536296606064,
0.06372015923261642,
-0.027561334893107414,
0.026512358337640762,
-0.006216726265847683,
-0.057961076498031616,
-0.008134706877171993,
-0.024825768545269966,
0.055369485169649124,
0.051749490201473236,
0.09691716730594635,
0.006602379493415356,
0.001874273642897606,
0.01641339249908924,
-0.0037948256358504295,
-0.02274838462471962,
0.03648791462182999,
-0.009178541600704193,
0.026265541091561317,
-0.05697380378842354,
-0.003422027686610818,
-0.03138701245188713,
0.00021387673041317612,
0.021802250295877457,
0.030214626342058182,
-0.0456613153219223,
-0.0010605457937344909,
-0.009528200142085552,
0.007569083012640476,
0.039717115461826324,
-0.050597675144672394,
0.005733374506235123,
0.05257221683859825,
0.031057922169566154,
-0.02789042517542839,
-0.07474469393491745,
-0.033464398235082626,
0.009178541600704193,
0.024064747616648674,
-0.05154380947351456,
-0.0140891894698143,
0.0001751507370499894,
-0.03597371280193329,
-0.005532835144549608,
0.02032134123146534,
-0.03471905365586281,
-0.004805236589163542,
-0.09066444635391235,
0.043398816138505936,
-0.006607521325349808,
-0.004267893265932798,
-0.1317185014486313,
-0.0009223534143529832,
0.04413926973938942,
-0.013770382851362228,
-0.06273289024829865,
-0.016865890473127365,
0.0027227101381868124,
0.0026121563278138638,
0.019138673320412636,
0.0628562942147255,
0.08358900249004364,
-0.008340388536453247,
0.0013690681662410498,
-0.00729141291230917,
-0.047471314668655396,
0.003967083990573883,
0.024434974417090416,
-0.0007063877419568598,
0.015436404384672642,
-0.013338452205061913,
-0.0002802411909215152,
0.023303724825382233,
-0.03414314612746239,
0.07840582728385925,
-0.02379736118018627,
-0.02496974542737007,
-0.044674042612314224,
-0.0038179648108780384,
0.04306972771883011,
-0.02710883505642414,
0.03617939352989197,
-0.006761782802641392,
-0.016793902963399887,
0.011579873971641064,
0.021329181268811226,
-0.08671536296606064,
0.007692491635680199,
0.01680418662726879,
-0.04060154780745506,
-0.07133037596940994,
0.050104036927223206,
-0.004869511816650629,
0.0007725915056653321,
-0.004373305011540651,
-0.03352610021829605,
0.011878112331032753,
-0.027684742584824562,
-0.009399648755788803,
0.04516768082976341,
0.07116583734750748,
-0.016002029180526733,
0.04837631434202194,
0.035418372601270676,
0.00704973703250289,
0.01738009601831436,
0.059236299246549606,
0.046031542122364044,
-0.01511759776622057,
0.013626405969262123,
-0.04948699474334717,
0.030975649133324623,
-0.001689160126261413,
0.02352997474372387,
0.008180985227227211,
-0.05026858299970627,
-0.05072108283638954,
0.03681700676679611,
-0.027849288657307625,
0.09099353849887848,
-0.04422154277563095,
0.014881064184010029,
0.005630533676594496,
0.01906668394804001,
0.009656751528382301,
-0.02402361109852791,
-0.014510837383568287,
-0.07869377732276917,
0.07453901320695877,
-0.04784154146909714,
0.06725788116455078,
-0.026121564209461212,
0.009373938664793968,
-0.00928652472794056,
0.0007275986718013883,
-0.00919396709650755,
0.08264286816120148,
0.017575493082404137,
-0.02441440522670746,
-0.067299023270607,
0.045620180666446686,
0.05051540210843086,
-0.01054118201136589,
0.01957060396671295,
-0.019899694249033928,
-0.04109518229961395,
-0.024044178426265717,
-0.013256179168820381,
-0.02293349802494049,
-0.05824903026223183,
0.015611233189702034,
-0.016392823308706284,
-0.012135214172303677,
0.02410588413476944,
-0.027458494529128075,
-0.03453394025564194,
-0.04216472804546356,
0.013029929250478745,
0.01906668394804001,
-0.04156825318932533,
-0.019220946356654167,
-0.0247846320271492,
-0.020413899794220924,
-0.08605717867612839,
-0.017092140391469002,
0.012803679332137108,
-0.030831672251224518,
-0.05915402993559837,
-0.06417266279459,
0.0076822079718112946,
0.03023519553244114,
0.04500313475728035,
-0.004332168493419886,
0.05220199003815651,
-0.04656631499528885,
-0.017369810491800308,
0.035438939929008484,
0.010284080170094967,
0.027643607929348946,
0.03720780089497566,
0.019313503056764603,
-0.013225327245891094,
0.03671416640281677,
0.030852239578962326,
0.0036534194368869066,
-0.05528721585869789,
-0.009147688746452332,
0.03780427947640419,
0.01438742782920599,
0.004658688325434923,
0.07009629160165787,
-0.0031237893272191286,
0.0626094788312912,
0.04841744899749756,
0.012515725567936897,
-0.015179302543401718,
0.08597490936517715,
0.0048772250302135944,
0.007862179540097713,
0.0722765177488327,
-0.02684144861996174,
0.00209409580565989,
0.023838497698307037,
0.003972225822508335,
0.011394760571420193,
0.015611233189702034,
-0.006232152692973614,
-0.014706234447658062,
-0.016680777072906494,
-0.002056815894320607,
-0.0007751625380478799,
-0.027540765702724457,
0.037454620003700256,
0.003905379446223378,
0.006602379493415356,
0.02895996905863285,
0.005820789374411106,
0.02352997474372387,
-0.02256327122449875,
-0.0037588311824947596,
0.025607358664274216,
0.07141265273094177,
-0.019406059756875038,
-0.004581557586789131,
0.02984439954161644,
0.0039773681201040745,
-0.019529467448592186,
0.009718455374240875,
-0.006000760477036238,
0.014747370965778828,
-0.03383462503552437,
0.004445293452590704,
0.02885712869465351,
-0.06865651905536652,
0.03136644512414932,
0.02858974225819111,
-0.055369485169649124,
0.0000753630229155533,
-0.002954101888462901,
0.0075279464945197105,
-0.04430381581187248,
0.033855192363262177,
-0.006535532884299755,
-0.00807300303131342,
-0.08107968419790268,
-0.030646558851003647,
-0.0075228046625852585,
0.012711122632026672,
-0.03613825887441635,
-0.035541780292987823,
0.053024716675281525,
-0.0063092829659581184,
0.05878380313515663,
-0.014593109488487244,
0.03292962536215782,
-0.06499538570642471,
0.029494741931557655,
-0.023961907252669334,
-0.049733810126781464,
0.010068113915622234,
0.005280875135213137,
0.008592348545789719,
0.0016647354932501912,
0.03576803207397461,
-0.004417012445628643,
-0.034554507583379745,
0.05248994380235672,
-0.011590158566832542,
-0.08042150735855103,
-0.062444932758808136,
-0.04508540779352188,
-0.012196918949484825,
-0.002879542298614979,
0.020825261250138283,
-0.03918234631419182,
-0.0587015300989151,
0.054958123713731766,
0.02887769602239132,
0.07124810665845871,
0.004314171615988016,
-0.021144067868590355,
0.031140195205807686,
-0.04969267547130585,
0.016691062599420547,
-0.05746743828058243,
-0.016845323145389557,
-0.05421767011284828,
0.03278564661741257,
0.014911916106939316,
-0.09189853817224503,
-0.0010489762062206864,
0.013472144491970539,
0.05240767076611519,
-0.01841878704726696,
0.05129699036478996,
0.024949178099632263,
-0.027746448293328285,
0.0077130598947405815,
-0.009353370405733585,
-0.007949593476951122,
-0.026779744774103165,
-0.013441292569041252,
0.024270428344607353,
-0.04072495549917221,
0.012196918949484825,
0.04298745468258858,
0.000794445164501667,
0.03957314044237137,
0.0023537687957286835,
0.0031700676772743464,
-0.0044015864841639996,
-0.03712552785873413,
0.04701881483197212,
-0.029720991849899292,
-0.018439356237649918,
0.012145498767495155,
0.009800728410482407,
-0.028918832540512085,
0.0034117435570806265,
0.03214803338050842,
-0.01860390044748783,
-0.03539780527353287,
-0.020413899794220924,
-0.01982770673930645,
0.019971683621406555,
0.043686773627996445,
-0.010602886788547039,
-0.007615361362695694,
-0.038647573441267014,
-0.013328167609870434,
-0.004296174272894859,
-0.0220490675419569,
-0.04393358901143074,
0.011045102030038834,
-0.03632337227463722,
0.021987363696098328,
0.04812949523329735,
0.013934927992522717,
0.021041227504611015,
-0.024928610771894455,
0.0547935776412487,
0.008947149850428104,
0.07885832339525223,
-0.005820789374411106,
0.00898828636854887,
-0.013389872387051582,
0.00301323551684618,
-0.05133812874555588,
0.040868934243917465,
0.004424725659191608,
0.044756315648555756,
0.01802799291908741,
-0.038914959877729416,
-0.015786062926054,
0.00896257534623146,
0.021617136895656586,
0.007121725473552942,
-0.025422245264053345,
-0.010551465675234795,
0.01646481268107891,
0.039429161697626114,
0.06610606610774994,
0.05051540210843086,
0.004645833279937506,
0.027232244610786438,
-0.022213613614439964,
-0.03307360038161278,
-0.011343340389430523,
-0.007610219065099955,
-0.0026031576562672853,
0.019220946356654167,
-0.04792381450533867,
0.04907562956213951,
-0.06326766312122345,
-0.04027245566248894,
0.02739678882062435,
-0.020568160340189934,
0.004478716757148504,
0.03899723291397095,
-0.001466766931116581,
-0.021164637058973312,
0.06088175252079964,
0.03023519553244114,
-0.05364176258444786,
0.03895609453320503,
-0.02945360541343689,
-0.06894446909427643,
-0.05442335084080696,
0.047101087868213654,
-0.01633111946284771,
-0.04401586204767227,
-0.0007250276394188404,
-0.046401768922805786,
0.019272366538643837,
0.02937133237719536,
-0.01667049340903759,
0.00014927984739188105,
-0.07811786979436874,
0.026800312101840973,
-0.018665606155991554,
0.007281128782778978,
-0.022193044424057007,
-0.029494741931557655,
-0.02741735801100731,
-0.019992250949144363,
-0.030790535733103752,
-0.03362894058227539,
0.018192537128925323,
0.008798030205070972,
-0.027437925338745117,
0.032230306416749954,
0.020218500867486,
-0.023303724825382233,
-0.0012957940343767405,
-0.07968105375766754,
0.016979016363620758,
-0.012597997672855854,
-0.015611233189702034,
-0.054958123713731766,
0.04045756906270981,
0.028651446104049683,
-0.020290490239858627,
0.02924792282283306,
0.029309628531336784,
0.05084449052810669,
-0.012443737126886845,
0.03984052687883377,
-0.03492473438382149,
0.019529467448592186,
0.03060542233288288,
0.009785301983356476,
-0.09946762025356293,
-0.039532002061605453,
-0.003121218178421259,
-0.08901899307966232,
-0.05228426307439804,
0.026985425502061844,
-0.06075834482908249,
0.01901526376605034,
0.012454020790755749,
-0.04393358901143074,
0.078776054084301,
0.057302892208099365,
-0.01083942037075758,
0.0031880647875368595,
0.008957433514297009,
-0.004198475740849972,
0.011487317271530628,
0.025525087490677834,
-0.011003965511918068,
0.02778758481144905,
0.006129311863332987,
0.01335901953279972,
0.05154380947351456,
-0.0045378501527011395,
-0.02266611158847809,
0.043110862374305725,
0.0015978888841345906,
-0.012361464090645313,
0.05211971700191498,
0.023735657334327698,
-0.03062598966062069,
-0.004766670987010002,
-0.04792381450533867,
0.0174829363822937,
-0.06869765371084213,
0.041753366589546204,
0.025627927854657173,
0.003257482312619686,
0.025031451135873795,
0.00740967970341444,
-0.008134706877171993,
-0.05368289723992348,
0.051872897893190384,
-0.013266462832689285,
0.05211971700191498,
0.040766093879938126,
0.00010573319741524756,
-0.010726295411586761,
-0.02457895129919052,
0.021822817623615265,
0.022337021306157112,
0.047882676124572754,
-0.022810090333223343,
-0.10391034185886383,
-0.02390020154416561,
-0.010335500352084637,
-0.04673086106777191,
0.01228947564959526,
-0.02274838462471962,
0.077747642993927,
-0.03798939287662506,
0.017812026664614677,
0.014953052625060081,
-0.0001347375218756497,
-0.009836722165346146,
-0.05697380378842354,
0.011466749012470245,
0.013945212587714195,
-0.015960892662405968,
0.02616269886493683,
0.013934927992522717,
0.022480998188257217,
-0.03247712552547455,
0.03868870809674263,
0.031716104596853256,
-0.03128417208790779,
-0.016999583691358566,
0.019508900120854378,
-0.04541449621319771,
-0.020969239994883537,
-0.0037331210914999247,
0.04804722219705582,
0.019323786720633507,
0.04693654179573059,
-0.016300266608595848,
-0.004987778607755899,
-0.05158494412899017,
0.061869025230407715,
0.029885536059737206,
0.013965780846774578,
0.0660237967967987,
0.0008529358892701566,
0.002653292613103986,
0.024805201217532158,
-0.05833130329847336,
0.08256059139966965,
0.01646481268107891,
-0.060223571956157684,
0.022316453978419304,
0.004584128502756357,
-0.05717948451638222,
-0.05277789756655693,
-0.03060542233288288,
0.0480060838162899,
0.004093063995242119,
0.027047131210565567,
-0.01599174365401268,
-0.006849197205156088,
-0.006083033513277769,
0.025237131863832474,
-0.025607358664274216,
-0.02935076504945755,
0.021349750459194183,
-0.02235759049654007,
-0.047882676124572754,
0.030769966542720795,
0.013965780846774578,
-0.061786752194166183,
-0.00045410639722831547,
-0.013235610909759998,
-0.04335768148303032,
0.0004309672222007066,
0.02050645649433136,
0.05985334515571594,
0.014521121047437191,
-0.03947030007839203,
0.0022316453978419304
] |
729,961 | prefect_github.repository | _create_repo_url | Format the URL provided to the `git clone` command.
For private repos: https://<oauth-key>@github.com/<username>/<repo>.git
All other repos should be the same as `self.repository`.
| def _create_repo_url(self) -> str:
"""Format the URL provided to the `git clone` command.
For private repos: https://<oauth-key>@github.com/<username>/<repo>.git
All other repos should be the same as `self.repository`.
"""
url_components = urlparse(self.repository_url)
if url_components.scheme == "https" and self.credentials is not None:
token_value = self.credentials.token.get_secret_value()
updated_components = url_components._replace(
netloc=f"{token_value}@{url_components.netloc}"
)
full_url = urlunparse(updated_components)
else:
full_url = self.repository_url
return full_url
| (self) -> str | [
-0.026534678414463997,
-0.037477001547813416,
-0.033085308969020844,
0.004802260082215071,
0.016478070989251137,
-0.016681049019098282,
0.010877741500735283,
0.043400250375270844,
0.08303619176149368,
0.013654841110110283,
0.04402763769030571,
-0.004760741721838713,
0.017917364835739136,
0.0023469259031116962,
-0.0025003121700137854,
-0.0043409476056694984,
0.07801711559295654,
0.008326685056090355,
-0.0019478907343000174,
0.032697807997465134,
-0.050153862684965134,
-0.013230433687567711,
-0.0030123686883598566,
0.00034944398794323206,
-0.008520436473190784,
0.05694437772035599,
0.05701818689703941,
0.006490662693977356,
-0.005189761985093355,
-0.02880433388054371,
0.007980700582265854,
-0.0045531513169407845,
0.007583972532302141,
0.06912302225828171,
0.07495400309562683,
-0.016081342473626137,
0.015223302878439426,
0.0698242112994194,
-0.13138172030448914,
-0.025279907509684563,
-0.01574919931590557,
-0.015167945064604282,
0.008778771385550499,
-0.03581627830862999,
0.046721700578927994,
-0.03756926581263542,
-0.035336513072252274,
0.002128955675289035,
-0.07403138279914856,
-0.06137297302484512,
-0.014300677925348282,
0.04668479412794113,
-0.035465680062770844,
-0.0004313269164413214,
0.016450392082333565,
-0.0003318564558867365,
0.034967463463544846,
0.05421340838074684,
-0.02404359169304371,
0.05225744470953941,
-0.048050276935100555,
-0.029302550479769707,
0.006186196580529213,
0.03845498338341713,
0.005498841404914856,
-0.0019617301877588034,
-0.04801337420940399,
0.005314316600561142,
0.05170387029647827,
0.010693216696381569,
0.050412196666002274,
0.036296043545007706,
-0.008340524509549141,
-0.026534678414463997,
-0.022401319816708565,
-0.0036720451898872852,
0.04428597167134285,
-0.038934748619794846,
0.04469192400574684,
-0.005245119798928499,
-0.035502586513757706,
-0.05436103045940399,
0.028361473232507706,
-0.023840613663196564,
0.019485827535390854,
-0.05657532811164856,
0.0065367938950657845,
-0.031941257417201996,
0.009009427390992641,
-0.014706633053719997,
0.0045393118634819984,
0.025815030559897423,
-0.027789447456598282,
-0.055726513266563416,
-0.007477870676666498,
-0.020685238763689995,
0.02048226073384285,
-0.01302745658904314,
0.00846046581864357,
-0.0444335900247097,
0.011422090232372284,
-0.02061142958700657,
-0.06270155310630798,
0.06949207186698914,
-0.023692995309829712,
-0.012603049166500568,
0.03529961034655571,
0.014798895455896854,
-0.06266465038061142,
-0.010075058788061142,
-0.050559815019369125,
0.015573900192975998,
0.03354662284255028,
-0.01811111718416214,
0.053991980850696564,
0.010453334078192711,
-0.025556696578860283,
-0.05299554392695427,
-0.008285166695713997,
-0.027863256633281708,
-0.03659128397703171,
0.0822242870926857,
-0.017908139154314995,
-0.03845498338341713,
0.050818152725696564,
0.06598609685897827,
-0.028656713664531708,
-0.05631699413061142,
0.0036974172107875347,
-0.047127652913331985,
0.022290606051683426,
0.07310875505208969,
-0.03823355585336685,
-0.03133232519030571,
0.00858501996845007,
0.008548115380108356,
-0.06041344627737999,
0.007920730859041214,
-0.007187244016677141,
0.07152184098958969,
-0.018590882420539856,
-0.007321024779230356,
-0.009844401851296425,
0.018295641988515854,
-0.01968880370259285,
0.02882278524339199,
0.027734089642763138,
-0.0092493100091815,
0.033085308969020844,
-0.026534678414463997,
0.09661722928285599,
-0.007427126169204712,
0.03557639569044113,
0.020020948722958565,
0.005180535838007927,
0.01664414443075657,
0.013811687007546425,
-0.015121813863515854,
-0.008806450292468071,
0.039599038660526276,
0.03380495682358742,
0.027162062004208565,
0.046721700578927994,
-0.02153405360877514,
0.0002925007720477879,
0.04583597928285599,
0.10532680153846741,
-0.06026582419872284,
0.016201283782720566,
-0.007999153807759285,
0.04841932654380798,
0.007404060568660498,
0.010757800191640854,
0.007500936277210712,
-0.02828766405582428,
0.03568711131811142,
0.04956338182091713,
-0.028896596282720566,
-0.04347406327724457,
-0.04310500994324684,
-0.017003968358039856,
-0.043843112885951996,
-0.007547067478299141,
0.01757599413394928,
0.05303245037794113,
0.033380549401044846,
-0.00035348045639693737,
-0.037071049213409424,
0.03360198065638542,
0.02734658680856228,
-0.06639204919338226,
-0.026626940816640854,
-0.03684961795806885,
-0.0061262259259819984,
0.04269905760884285,
-0.08229809254407883,
-0.009539936669170856,
-0.0010189233580604196,
0.016957836225628853,
0.06986112147569656,
-0.008621924556791782,
0.02325013466179371,
-0.039045464247465134,
-0.03823355585336685,
0.022161437198519707,
-0.016957836225628853,
-0.020334642380475998,
-0.027401944622397423,
0.03170137479901314,
0.05314316600561142,
0.012178641743957996,
0.03793831542134285,
-0.029542433097958565,
0.09536245465278625,
-0.04266215115785599,
-0.007394834421575069,
-0.04188714921474457,
0.019541185349225998,
0.010554823093116283,
0.0946243554353714,
0.03753235936164856,
-0.05303245037794113,
0.05258959159255028,
-0.00608009472489357,
0.01772361434996128,
-0.04653717577457428,
0.04690622538328171,
-0.0011994116939604282,
0.016348903998732567,
-0.05251577869057655,
0.0000076044434536015615,
-0.04469192400574684,
-0.013267339207231998,
0.05391816794872284,
0.06026582419872284,
-0.05343840643763542,
0.0014058488886803389,
-0.0053466083481907845,
0.0050836605951189995,
0.04982171580195427,
-0.0615944042801857,
0.020795954391360283,
0.02817694842815399,
0.04524549841880798,
0.017631351947784424,
-0.023157872259616852,
-0.031037084758281708,
0.05605865642428398,
0.01414383202791214,
-0.02922874130308628,
-0.05284792557358742,
0.032826974987983704,
-0.04483954608440399,
0.0003906737547367811,
-0.012566144578158855,
-0.05635389685630798,
-0.055837228894233704,
0.0012870610225945711,
-0.007417900022119284,
-0.009419995360076427,
0.0019432776607573032,
-0.09440293163061142,
-0.02721741981804371,
-0.012114058248698711,
-0.0040710801258683205,
-0.08030522614717484,
0.011182207614183426,
-0.0031622950918972492,
0.033122215420007706,
0.0539550743997097,
0.0679420605301857,
0.04768122732639313,
-0.015048003755509853,
-0.032291851937770844,
0.023157872259616852,
-0.03408174589276314,
0.015942949801683426,
0.010656312108039856,
0.02262274920940399,
-0.013239660300314426,
0.016736406832933426,
0.0020032483153045177,
0.022696560248732567,
-0.038787130266427994,
0.02869361825287342,
-0.015167945064604282,
0.01355335209518671,
-0.0022904151119291782,
0.04351096600294113,
0.03804903104901314,
0.0026963697746396065,
0.009106302633881569,
-0.01586913876235485,
0.039451420307159424,
0.0018152635311707854,
-0.018037306144833565,
0.06484204530715942,
0.023453112691640854,
-0.008525049313902855,
-0.014983420260250568,
-0.10207916051149368,
0.03819664940237999,
-0.07853379100561142,
-0.017945043742656708,
-0.007325637619942427,
-0.028527546674013138,
0.0042694443836808205,
-0.045540738850831985,
0.019928686320781708,
0.05166696757078171,
0.05192530155181885,
-0.0067351581528782845,
0.056796759366989136,
0.04214548319578171,
0.01640426181256771,
0.0045669907703995705,
0.06484204530715942,
-0.02341620624065399,
0.01223399955779314,
0.018738500773906708,
-0.01513104047626257,
0.023231681436300278,
0.009429221041500568,
-0.022917989641427994,
-0.03767998144030571,
0.005752563010901213,
-0.010960778221487999,
0.05790390819311142,
-0.04867766425013542,
0.08229809254407883,
-0.03823355585336685,
0.023600732907652855,
0.004336334764957428,
0.014282225631177425,
0.009313893504440784,
-0.04993243142962456,
0.01302745658904314,
-0.07344090193510056,
0.03989427909255028,
-0.05978605896234512,
0.016810216009616852,
-0.060893211513757706,
-0.01785278134047985,
0.0045531513169407845,
0.02629479579627514,
-0.032457925379276276,
0.011191434226930141,
-0.0041425833478569984,
-0.027438849210739136,
-0.08975289762020111,
-0.02380370907485485,
0.04694312810897827,
0.018969157710671425,
0.017096230760216713,
-0.0047791944816708565,
0.038528796285390854,
-0.04137047752737999,
-0.010305714793503284,
0.01335037499666214,
-0.02299180068075657,
-0.006573698949068785,
-0.029782315716147423,
0.033251382410526276,
0.013211981393396854,
-0.015610804781317711,
0.014134605415165424,
-0.010933099314570427,
0.028361473232507706,
0.013581031002104282,
-0.052036017179489136,
-0.02841683104634285,
0.011671198531985283,
0.04365858808159828,
-0.08761241286993027,
-0.04557764530181885,
0.005780241917818785,
0.0019801827147603035,
-0.0983886644244194,
-0.03301149979233742,
-0.04214548319578171,
0.014494429342448711,
0.003939606249332428,
0.047127652913331985,
0.05380745604634285,
-0.024006687104701996,
-0.02908112108707428,
0.06015511229634285,
0.01314739789813757,
0.025722768157720566,
0.014106927439570427,
-0.02668229676783085,
-0.004834551829844713,
0.06432536989450455,
0.04506097361445427,
-0.011265243403613567,
-0.034450795501470566,
0.018332546576857567,
-0.03162756562232971,
-0.015417053364217281,
0.04362168163061142,
0.06052416190505028,
0.011606615036725998,
0.07772187888622284,
0.015896817669272423,
-0.014881931245326996,
-0.02764182724058628,
0.022936442866921425,
0.031221609562635422,
-0.025815030559897423,
0.010877741500735283,
-0.05391816794872284,
-0.020925121381878853,
-0.0055449726060032845,
0.000006559282610396622,
0.07004564255475998,
0.017649805173277855,
-0.013387279585003853,
-0.015776876360177994,
-0.0034921332262456417,
0.028232306241989136,
-0.0047515155747532845,
-0.025538243353366852,
0.02526145614683628,
0.01996559277176857,
-0.04971100389957428,
0.06037653982639313,
0.03766152635216713,
-0.03882403299212456,
0.05000624060630798,
0.005628008861094713,
-0.01196643803268671,
0.021570958197116852,
-0.01156970951706171,
-0.006426078733056784,
0.029542433097958565,
0.021570958197116852,
0.016708727926015854,
0.020187022164463997,
-0.04967409744858742,
0.009429221041500568,
-0.02588883973658085,
-0.040632378309965134,
0.0011821124935522676,
-0.01587836630642414,
0.06580156832933426,
0.021331075578927994,
-0.0034898268058896065,
-0.04111214354634285,
-0.03242102265357971,
-0.01553699467331171,
-0.0039073145017027855,
0.06580156832933426,
-0.06746229529380798,
0.0015903738094493747,
-0.034616868942976,
-0.030317436903715134,
-0.0063522690907120705,
0.022050723433494568,
-0.010730121284723282,
0.012298583053052425,
0.0064445314928889275,
0.04583597928285599,
0.05646461248397827,
0.03974665701389313,
0.013313470408320427,
-0.06731467694044113,
0.05284792557358742,
-0.022641202434897423,
-0.04775504022836685,
0.0016411180840805173,
-0.06004439666867256,
-0.015269434079527855,
0.013562578707933426,
0.06096702069044113,
-0.024412641301751137,
0.006596764549612999,
0.029431717470288277,
0.011283696629106998,
-0.05738723650574684,
-0.048825282603502274,
-0.12466500699520111,
0.031147800385951996,
-0.011182207614183426,
0.008681895211338997,
-0.00007892763096606359,
-0.005890956614166498,
-0.0520729199051857,
0.032476380467414856,
0.02605491317808628,
0.06019201502203941,
-0.0046315742656588554,
0.05963844060897827,
-0.08436477184295654,
0.02524300292134285,
-0.03565020486712456,
0.017557542771100998,
-0.024357283487915993,
0.05790390819311142,
-0.010065832175314426,
-0.046980034559965134,
0.03664664179086685,
-0.00945689994841814,
0.09093385934829712,
-0.01076702680438757,
0.004633881151676178,
-0.011431315913796425,
-0.07152184098958969,
0.030059102922677994,
-0.03210732713341713,
-0.007625490427017212,
0.022438224405050278,
-0.045134786516427994,
0.0042763641104102135,
0.011532804928719997,
0.013534899801015854,
-0.04229310154914856,
-0.008995587937533855,
0.005129791796207428,
0.01347954198718071,
0.029302550479769707,
-0.003044660435989499,
-0.0037573878653347492,
0.021626316010951996,
-0.019338207319378853,
-0.06915992498397827,
-0.00038375408621504903,
0.002774792956188321,
0.028509093448519707,
-0.008225196041166782,
0.03275316581130028,
-0.025482885539531708,
-0.02301025204360485,
-0.013414958491921425,
0.0501907654106617,
0.02721741981804371,
0.030298985540866852,
-0.013774782419204712,
-0.041591908782720566,
-0.06425156444311142,
0.03485674783587456,
-0.012455428950488567,
-0.053991980850696564,
-0.028047781437635422,
-0.04517168924212456,
-0.04613121971487999,
0.06779444217681885,
0.030446605756878853,
0.0698242112994194,
0.0005532863433472812,
-0.05908486619591713,
0.033915672451257706,
0.057055093348026276,
0.05760866776108742,
-0.008146773092448711,
0.028232306241989136,
0.01494651474058628,
-0.032328758388757706,
-0.013516447506844997,
0.0041056787595152855,
0.03015136532485485,
-0.014835800044238567,
-0.011468221433460712,
-0.05978605896234512,
0.03565020486712456,
-0.05432412400841713,
0.043141916394233704,
0.015167945064604282,
-0.022142985835671425,
-0.011339053511619568,
0.025851935148239136,
0.017345339059829712,
0.008478918112814426,
-0.00972446147352457,
-0.003249944420531392,
-0.008626538328826427,
-0.028232306241989136,
0.016025986522436142,
-0.033380549401044846,
0.023748351261019707,
0.04351096600294113,
-0.0031968934927135706,
-0.01955963671207428,
0.031646016985177994,
-0.003028514562174678,
-0.032993048429489136,
0.0056510744616389275,
-0.0036558990832418203,
-0.03487520292401314,
0.04114904627203941,
-0.03290078416466713,
-0.020851312205195427,
0.011984891258180141,
-0.004479341208934784,
-0.06731467694044113,
0.0007000412442721426,
-0.07377304881811142,
-0.0568336620926857,
-0.041591908782720566,
-0.0006712092435918748,
0.01534324325621128,
0.009825949557125568,
0.032476380467414856,
-0.04292048513889313,
0.06587538123130798,
-0.007404060568660498,
-0.032568641006946564,
-0.006624442990869284,
-0.01064708549529314,
-0.02734658680856228,
-0.04904671385884285,
-0.0025026185903698206,
0.005706431809812784,
-0.0034736809320747852,
-0.05103958025574684,
-0.024025138467550278,
0.010139642283320427,
0.014060795307159424,
-0.024947764351963997,
-0.010111963376402855,
0.005065207835286856,
0.0507812462747097,
0.027678731828927994,
-0.028232306241989136,
0.04365858808159828,
-0.07355161756277084,
-0.02579657733440399,
0.0565384216606617,
-0.0024795529898256063,
-0.044064540416002274,
-0.0034021774772554636,
-0.023490017279982567,
-0.005295863840728998,
0.011099171824753284,
-0.018535524606704712,
0.00925392284989357,
0.038676414638757706,
0.0333251915872097,
0.023637637495994568,
0.04030023515224457,
0.012123284861445427,
0.0008989821653813124,
-0.06772062927484512,
-0.04347406327724457,
-0.013996211811900139,
-0.08030522614717484,
-0.016062891110777855,
0.006965814158320427,
-0.024357283487915993,
0.017640577629208565,
-0.03397103026509285,
-0.009539936669170856,
0.0068274205550551414,
0.1133720874786377,
0.021607862785458565,
-0.008755705319344997,
-0.030483510345220566,
0.008820288814604282,
-0.005540359299629927,
0.027863256633281708,
-0.030446605756878853,
0.016598012298345566,
-0.013295017182826996,
0.06768372654914856,
0.03397103026509285,
-0.034579962491989136,
0.022899538278579712,
0.020408451557159424,
-0.034690678119659424,
-0.020279284566640854,
-0.006158517673611641,
-0.0050283027812838554,
-0.02182929404079914,
-0.039193082600831985,
-0.01461437065154314,
0.04771813377737999,
-0.023028705269098282,
0.014300677925348282,
-0.0002560282591730356,
0.032051973044872284,
0.03793831542134285,
0.016441166400909424,
-0.012021795846521854,
-0.02657158300280571,
-0.02500312030315399,
0.012584596872329712,
0.03672045096755028,
0.03502282127737999,
0.0536598339676857,
0.010001248680055141,
0.007413287181407213,
-0.006781289353966713,
-0.005065207835286856,
0.020703691989183426,
-0.018950704485177994,
-0.03952522948384285,
0.016238190233707428,
-0.014559012837707996,
-0.03439543768763542,
0.051999110728502274,
-0.0012005650205537677,
0.03386031463742256,
0.02882278524339199,
0.025870388373732567,
0.029413266107439995,
-0.014208415523171425,
-0.03504127264022827,
-0.01216018944978714,
-0.024541808292269707,
-0.022142985835671425,
0.0072241490706801414,
-0.027918614447116852,
-0.005355834495276213,
-0.018443262204527855,
-0.02539062313735485,
0.04007880389690399,
-0.018037306144833565,
-0.04782884940505028,
-0.011661971919238567,
-0.019356660544872284,
-0.05340149998664856,
0.0317382775247097,
-0.05738723650574684,
0.04162881150841713,
0.0552467480301857,
0.060745589435100555,
-0.017409922555088997,
0.005231280345469713,
-0.06203726306557655,
0.035336513072252274,
-0.012547691352665424,
-0.0007479023770429194,
0.058383673429489136,
0.04376929998397827,
-0.01506645604968071,
0.03505972772836685,
-0.03319602459669113,
0.017308434471488,
0.0058355992659926414,
-0.047385990619659424,
0.037200216203927994,
0.0034921332262456417,
-0.06827420741319656,
-0.03487520292401314,
-0.018332546576857567,
0.034967463463544846,
0.00020542809215839952,
0.006781289353966713,
-0.033122215420007706,
-0.026257889345288277,
-0.04956338182091713,
0.020795954391360283,
0.03277161717414856,
0.019393565133213997,
-0.025187645107507706,
-0.012769121676683426,
-0.10488393902778625,
-0.0038035190664231777,
0.006356881931424141,
-0.039303798228502274,
0.018498620018363,
0.011412863619625568,
0.03849188983440399,
0.045024070888757706,
-0.010204225778579712,
0.02406204491853714,
0.01084083691239357,
-0.02232751064002514,
-0.044618114829063416
] |
729,965 | prefect_github.repository | _get_paths | Returns the fully formed paths for GitHubRepository contents in the form
(content_source, content_destination).
| @staticmethod
def _get_paths(
dst_dir: Union[str, None], src_dir: str, sub_directory: str
) -> Tuple[str, str]:
"""Returns the fully formed paths for GitHubRepository contents in the form
(content_source, content_destination).
"""
if dst_dir is None:
content_destination = Path(".").absolute()
else:
content_destination = Path(dst_dir)
content_source = Path(src_dir)
if sub_directory:
content_destination = content_destination.joinpath(sub_directory)
content_source = content_source.joinpath(sub_directory)
return str(content_source), str(content_destination)
| (dst_dir: Optional[str], src_dir: str, sub_directory: str) -> Tuple[str, str] | [
-0.029845986515283585,
-0.06919943541288376,
-0.06621669977903366,
0.0027939833234995604,
-0.016852449625730515,
-0.030852658674120903,
0.0016871091211214662,
0.07207031548023224,
0.06744708120822906,
-0.03381675109267235,
0.06565743684768677,
0.012592731975018978,
0.011875011026859283,
0.04291409254074097,
-0.03484206646680832,
0.0188564732670784,
0.07031796127557755,
0.027739429846405983,
0.013981567695736885,
0.0562618263065815,
-0.03228810057044029,
0.022165445610880852,
0.04317507892847061,
0.03249316290020943,
-0.0562618263065815,
0.01711343787610531,
0.03821628540754318,
-0.06129519268870354,
-0.008034740574657917,
-0.02885795570909977,
0.02287384495139122,
-0.015109414234757423,
0.005378243047744036,
0.020077530294656754,
-0.02539052627980709,
0.036482568830251694,
0.03443193808197975,
0.08948203176259995,
-0.06222729757428169,
-0.004290010780096054,
-0.06793177872896194,
-0.03279143571853638,
0.07747652381658554,
-0.052421554923057556,
0.022612854838371277,
-0.05048277974128723,
-0.06752164661884308,
-0.076656274497509,
-0.03448786586523056,
0.008104648441076279,
0.04712720215320587,
0.022706065326929092,
-0.043622490018606186,
-0.012285137549042702,
0.02108420431613922,
0.04593411087989807,
0.025595588609576225,
0.07613429427146912,
0.010914943180978298,
0.040266912430524826,
0.024570275098085403,
-0.021102845668792725,
0.03012561798095703,
0.01908949948847294,
-0.009260457940399647,
-0.00029579753754660487,
-0.028037702664732933,
-0.06427792459726334,
-0.001978391781449318,
0.05820060521364212,
-0.03885011374950409,
0.043249648064374924,
0.01855820044875145,
-0.02436521090567112,
0.005340958945453167,
0.032847363501787186,
0.03357440233230591,
-0.016414359211921692,
0.07218217104673386,
-0.00931172352284193,
-0.03402181342244148,
-0.05939369648694992,
-0.01101747527718544,
-0.03023746982216835,
0.08396397531032562,
-0.011297106742858887,
0.04928968474268913,
-0.033611688762903214,
-0.019313205033540726,
0.022855201736092567,
-0.012527484446763992,
0.012387668713927269,
-0.0054062060080468655,
-0.02395508624613285,
-0.004299331922084093,
-0.015193303115665913,
0.00873847957700491,
-0.016908375546336174,
-0.03185933083295822,
0.011567416600883007,
0.007950851693749428,
0.00789958517998457,
0.0008954028598964214,
0.04981166496872902,
0.006748436484485865,
-0.02628534659743309,
-0.004201461095362902,
-0.0030293394811451435,
-0.033499836921691895,
-0.03372354060411453,
-0.04201927036046982,
-0.011930937878787518,
-0.001877025468274951,
-0.008491472341120243,
0.03933481127023697,
-0.01215464249253273,
-0.05305538699030876,
-0.04015506058931351,
-0.003131871111690998,
-0.045412130653858185,
0.03144920617341995,
0.07650713622570038,
-0.04567312076687813,
-0.012518162839114666,
0.08448594808578491,
0.02100963518023491,
0.019686046987771988,
-0.003926489967852831,
-0.055702563375234604,
-0.004066305700689554,
0.002780001610517502,
0.04015506058931351,
-0.05536700785160065,
0.02896980755031109,
0.04455459490418434,
0.05305538699030876,
0.003989407327026129,
-0.0006198494811542332,
0.062115442007780075,
0.03167290985584259,
0.03616565465927124,
-0.0365012101829052,
0.017467638477683067,
0.01778455451130867,
-0.005275711417198181,
0.03243723511695862,
0.06025123596191406,
-0.006557355169206858,
0.0194623414427042,
0.0016719624400138855,
0.014708608388900757,
-0.03719097003340721,
-0.03724689409136772,
0.03221353143453598,
-0.01992839388549328,
-0.047798316925764084,
0.02173667587339878,
0.0154170086607337,
0.020208025351166725,
0.025353241711854935,
0.0008715176954865456,
-0.030684879049658775,
0.02563287317752838,
-0.01933184638619423,
0.020618151873350143,
0.0460832454264164,
0.049662526696920395,
-0.02030123583972454,
0.016675349324941635,
-0.029249439015984535,
0.03023746982216835,
0.003966104704886675,
-0.060325801372528076,
-0.038589127361774445,
0.01916406862437725,
-0.037619736045598984,
0.03402181342244148,
0.04485286772251129,
-0.01813875325024128,
-0.04873042181134224,
0.020823214203119278,
-0.06207815930247307,
0.02274334989488125,
0.05969197303056717,
0.03329477086663246,
0.06905029714107513,
-0.0031528433319181204,
0.022482359781861305,
0.05424848198890686,
-0.0005659621674567461,
-0.08493336290121078,
-0.01080309133976698,
-0.04861856997013092,
0.03603515774011612,
-0.012285137549042702,
-0.06483718752861023,
0.007009425666183233,
-0.02753436751663685,
-0.01235970575362444,
0.03515898063778877,
-0.02365681156516075,
-0.015547502785921097,
0.02149432897567749,
0.0011429931037127972,
0.030367964878678322,
-0.0021741336677223444,
-0.049364253878593445,
0.039483945816755295,
-0.05230970308184624,
0.04153457656502724,
-0.012415631674230099,
0.028000418096780777,
0.0061845132149755955,
-0.059430982917547226,
0.0038612429052591324,
-0.033201560378074646,
-0.019611477851867676,
0.0395212285220623,
-0.013636688701808453,
0.01665670797228813,
0.08277087658643723,
-0.04101259633898735,
0.029547711834311485,
0.01215464249253273,
0.05861072987318039,
-0.059841107577085495,
0.017029549926519394,
0.0089808264747262,
0.028186839073896408,
-0.07837134599685669,
0.004091938491910696,
-0.05201143026351929,
0.027851281687617302,
-0.009432896971702576,
0.022594213485717773,
-0.005900221411138773,
0.02030123583972454,
-0.07236859202384949,
0.04455459490418434,
0.016628744080662727,
-0.0646880492568016,
-0.023731380701065063,
0.013170636259019375,
0.040677040815353394,
0.0019947036635130644,
-0.051638588309288025,
-0.0012292128521949053,
0.0032390630804002285,
0.019061537459492683,
-0.03346255049109459,
0.014475583098828793,
0.046791646629571915,
-0.04041605070233345,
-0.01215464249253273,
0.03159834071993828,
0.0026961122639477253,
-0.03881283104419708,
-0.032828718423843384,
0.022053591907024384,
0.0065713366493582726,
0.04276495426893234,
-0.05946826562285423,
-0.00882702972739935,
-0.02844782918691635,
-0.053502798080444336,
-0.07702911645174026,
-0.037563811987638474,
0.008058043196797371,
-0.03329477086663246,
0.027795355767011642,
0.062003590166568756,
0.07408366352319717,
-0.027012387290596962,
-0.00508929044008255,
-0.029957838356494904,
0.023899158462882042,
-0.014270519837737083,
0.02736658789217472,
0.019741972908377647,
-0.00770850433036685,
-0.017700664699077606,
-0.008906258270144463,
-0.01987246796488762,
-0.01713208109140396,
0.05670923739671707,
-0.03644528612494469,
0.026061641052365303,
-0.017160043120384216,
-0.014093419536948204,
0.05536700785160065,
0.036911338567733765,
0.02531595714390278,
-0.014960276894271374,
0.005970129277557135,
0.016964301466941833,
0.009852344170212746,
0.001965575385838747,
-0.030983153730630875,
0.04805930703878403,
0.01819467917084694,
-0.07020611315965652,
0.08523163199424744,
-0.007438194006681442,
-0.00326935644261539,
-0.015855098143219948,
-0.024514347314834595,
0.012788473628461361,
-0.044330891221761703,
0.0024724071845412254,
0.010504817590117455,
0.0125740896910429,
-0.04623238369822502,
0.07050438225269318,
0.05335365980863571,
0.007745788432657719,
-0.0010934750316664577,
-0.016246581450104713,
0.029547711834311485,
-0.06006481498479843,
0.03392860293388367,
-0.037918008863925934,
0.02639719843864441,
-0.014000209048390388,
0.024980399757623672,
0.05324180796742439,
-0.029603637754917145,
-0.03944666311144829,
0.03926024213433266,
0.05961740389466286,
0.06845375150442123,
-0.010551422834396362,
0.0030503119342029095,
0.006375594530254602,
-0.0006658721249550581,
0.04041605070233345,
-0.010448891669511795,
0.009665923193097115,
-0.03569960221648216,
0.03489799052476883,
0.004138543736189604,
0.07359897345304489,
-0.04593411087989807,
-0.013636688701808453,
0.027441157028079033,
0.06222729757428169,
-0.010616670362651348,
0.01729985885322094,
0.011166611686348915,
0.0067624179646372795,
-0.052235133945941925,
0.03372354060411453,
0.054882314056158066,
-0.0269378200173378,
-0.01505348738282919,
0.004413514863699675,
0.07080265879631042,
-0.037451960146427155,
-0.01329180970788002,
0.025595588609576225,
0.01724393293261528,
0.05066920071840286,
0.017570169642567635,
0.028876597061753273,
-0.003632877254858613,
-0.03185933083295822,
-0.02065543457865715,
-0.010104012675583363,
0.04623238369822502,
-0.0027240754570811987,
-0.016190655529499054,
-0.03213896229863167,
0.034282803535461426,
0.02820548228919506,
-0.07505305111408234,
-0.013273168355226517,
0.022668780758976936,
-0.023097548633813858,
-0.04638151824474335,
-0.05059463158249855,
-0.002644846448674798,
-0.017169363796710968,
0.015556824393570423,
0.001522825681604445,
0.05010993778705597,
-0.017570169642567635,
-0.023078907281160355,
0.06979598104953766,
0.002833597594872117,
0.0003678899956867099,
0.015090771950781345,
-0.006492107640951872,
-0.008183876983821392,
0.06189173832535744,
-0.003080605296418071,
-0.000933852163143456,
-0.10797498375177383,
0.06640312075614929,
0.007144581060856581,
0.008072025142610073,
0.011893653310835361,
0.06651497632265091,
-0.0000621160288574174,
0.018185358494520187,
0.02850375510752201,
-0.015314476564526558,
-0.014596756547689438,
0.04242939502000809,
0.02826140820980072,
-0.024216074496507645,
-0.021177414804697037,
-0.04634423553943634,
-0.07382267713546753,
0.02347039058804512,
0.03217624872922897,
0.014568793587386608,
-0.012732547707855701,
-0.052533410489559174,
0.005271051079034805,
0.0020494647324085236,
-0.012294458225369453,
-0.054882314056158066,
-0.0700196921825409,
0.014112061820924282,
0.04820844531059265,
0.02382459118962288,
-0.022426433861255646,
-0.011026795953512192,
-0.005294353701174259,
0.02615485154092312,
0.033499836921691895,
0.003567629959434271,
0.0007509266724810004,
-0.03963308408856392,
-0.024383854120969772,
0.06021394953131676,
-0.006478126160800457,
0.015165340155363083,
-0.008239803835749626,
0.010271791368722916,
0.013170636259019375,
-0.05171315744519234,
0.01777523197233677,
0.009148605167865753,
-0.014960276894271374,
-0.0017523564165458083,
-0.03335069864988327,
-0.04477829858660698,
-0.03836541995406151,
-0.024980399757623672,
-0.003430144628509879,
-0.043846193701028824,
0.02000296302139759,
0.019126784056425095,
-0.007890264503657818,
-0.01987246796488762,
-0.05406206101179123,
-0.0009088018559850752,
0.026863250881433487,
-0.06330853700637817,
-0.03370489925146103,
0.05656009912490845,
0.008053382858633995,
0.09201735258102417,
0.008412242867052555,
0.02555830590426922,
-0.10089098662137985,
0.04682892933487892,
-0.03376082330942154,
-0.051825009286403656,
-0.04015506058931351,
0.03622157871723175,
-0.011203896254301071,
-0.037806157022714615,
0.031766120344400406,
0.06248828396201134,
-0.030386606231331825,
-0.01329180970788002,
0.012620694935321808,
-0.08873634785413742,
-0.06949771195650101,
-0.0832182914018631,
-0.022053591907024384,
-0.015137377195060253,
-0.0024281321093440056,
-0.00864992942661047,
-0.04045333340764046,
0.02563287317752838,
0.023190759122371674,
0.0029617620166391134,
-0.019182709977030754,
0.04496471956372261,
0.05898357182741165,
-0.09268847107887268,
-0.044927436858415604,
-0.043622490018606186,
-0.0007247112225741148,
-0.05536700785160065,
0.023395823314785957,
-0.05693294107913971,
-0.06539645045995712,
0.030684879049658775,
-0.07986271381378174,
0.03855184093117714,
0.033611688762903214,
-0.0024491045624017715,
0.04656793922185898,
0.027459798380732536,
0.006809023208916187,
-0.039595797657966614,
-0.00871051661670208,
0.0006315007922239602,
-0.00970320776104927,
-0.03851455822587013,
-0.02628534659743309,
0.03689269721508026,
0.008109308779239655,
0.01729985885322094,
0.0664776936173439,
0.03622157871723175,
0.037563811987638474,
-0.05827517434954643,
-0.020282594487071037,
0.03782479837536812,
0.0011051263427361846,
-0.019126784056425095,
0.027813997119665146,
-0.012424953281879425,
0.03536404296755791,
-0.03258637338876724,
0.03726553916931152,
-0.053726501762866974,
-0.027571650221943855,
-0.006855628453195095,
0.017672700807452202,
0.0242533590644598,
0.06394236534833908,
-0.0030386606231331825,
-0.032903287559747696,
-0.01693633943796158,
0.02114013023674488,
0.0014599086716771126,
-0.008635948412120342,
-0.034581076353788376,
-0.02173667587339878,
-0.012937610037624836,
0.05245884135365486,
0.03323884680867195,
0.028876597061753273,
0.08910918980836868,
0.001888676779344678,
0.04574768990278244,
-0.011343711987137794,
0.026658188551664352,
0.06148161366581917,
0.0173651073127985,
0.013487552292644978,
-0.055106017738580704,
-0.023899158462882042,
-0.018959004431962967,
0.01665670797228813,
0.02813091315329075,
-0.0075919912196695805,
-0.03467428684234619,
0.054397616535425186,
-0.027161525562405586,
0.04269038513302803,
0.0010066728573292494,
0.012238532304763794,
-0.007321680895984173,
-0.002164812758564949,
-0.005932845175266266,
0.06908758729696274,
-0.018576841801404953,
-0.05730578303337097,
0.007046709768474102,
-0.04276495426893234,
-0.006706491578370333,
-0.06793177872896194,
0.021177414804697037,
0.05186229199171066,
0.018940363079309464,
-0.017877764999866486,
0.05324180796742439,
0.0353081189095974,
0.00191197928506881,
0.03161698579788208,
0.001943437848240137,
-0.010495496913790703,
0.021960381418466568,
-0.029081659391522408,
-0.021326551213860512,
0.03560639172792435,
0.036799486726522446,
-0.004094269126653671,
0.04567312076687813,
-0.07837134599685669,
-0.0562618263065815,
-0.01903357356786728,
0.027105597779154778,
-0.07673083990812302,
0.0014028172008693218,
-0.006142568774521351,
-0.0000183417050720891,
0.06670139729976654,
0.03478613868355751,
-0.03821628540754318,
0.06222729757428169,
-0.05879715085029602,
-0.06207815930247307,
0.03042389079928398,
-0.00684164697304368,
-0.006398897152394056,
0.07770022749900818,
-0.0269378200173378,
0.004842282738536596,
0.0030013765208423138,
0.0002577851410023868,
-0.00970320776104927,
-0.07277871668338776,
-0.02000296302139759,
0.006515410263091326,
0.026453126221895218,
-0.03657577931880951,
0.00823514349758625,
-0.041460007429122925,
0.03767566382884979,
0.008752461522817612,
-0.004809658974409103,
-0.022724706679582596,
0.007964832708239555,
0.025222746655344963,
-0.020524941384792328,
0.05432305112481117,
-0.017374427989125252,
-0.0012536805588752031,
0.008519435301423073,
0.04269038513302803,
-0.03370489925146103,
-0.005429508630186319,
0.00895286351442337,
0.007685201708227396,
-0.04813387617468834,
-0.06960956007242203,
-0.012266495265066624,
-0.052048712968826294,
-0.026080284267663956,
-0.03018154390156269,
-0.0305357426404953,
-0.018185358494520187,
-0.007042049430310726,
-0.0028405883349478245,
0.04832029715180397,
0.03141191974282265,
0.0182506050914526,
-0.012946931645274162,
0.03432008624076843,
0.03088994324207306,
-0.03213896229863167,
0.028876597061753273,
0.025483736768364906,
0.05010993778705597,
-0.00631500780582428,
0.014233235269784927,
-0.0029524408746510744,
-0.03806714713573456,
-0.023489033803343773,
-0.010131975635886192,
0.003949792589992285,
0.049252402037382126,
-0.046903498470783234,
0.06207815930247307,
0.0017861452652141452,
-0.015603428706526756,
-0.053912922739982605,
-0.008607984520494938,
-0.06330853700637817,
0.044927436858415604,
0.0008383114472962916,
0.000877925893291831,
-0.024327926337718964,
0.00148903694935143,
0.011474206112325191,
-0.05201143026351929,
0.00457896338775754,
0.022463718429207802,
0.01254612673074007,
0.012918968684971333,
0.03843998908996582,
0.0425039641559124,
-0.002756698988378048,
-0.012937610037624836,
-0.02017074078321457,
0.023917801678180695,
-0.012807115912437439,
-0.024999042972922325,
0.04242939502000809,
0.0036282166838645935,
-0.03258637338876724,
0.015090771950781345,
-0.03843998908996582,
0.032232172787189484,
0.0179616529494524,
0.010532780550420284,
-0.018120111897587776,
0.02022666670382023,
-0.05514330044388771,
-0.006231118459254503,
0.0042061214335262775,
-0.03700454905629158,
0.0042387451976537704,
-0.02484990656375885,
-0.027553008869290352,
-0.020972350612282753,
-0.06774535775184631,
0.021587539464235306,
-0.054509472101926804,
-0.015528860501945019,
0.02089778333902359,
0.01933184638619423,
-0.050259072333574295,
-0.002842918736860156,
-0.06878931075334549,
0.0706162378191948,
0.005811671260744333,
-0.000510618498083204,
-0.006659886799752712,
0.019499626010656357,
-0.07866962254047394,
0.007517422549426556,
0.02958499640226364,
-0.03405909985303879,
0.054695893079042435,
0.05078105255961418,
0.009530768729746342,
-0.015556824393570423,
-0.009004129096865654,
0.018940363079309464,
-0.028335977345705032,
-0.02980870194733143,
0.017943011596798897,
0.03683676943182945,
-0.033257488161325455,
0.006389576476067305,
-0.05432305112481117,
0.013151993975043297,
-0.019965678453445435,
0.034282803535461426,
-0.022612854838371277,
-0.049252402037382126,
-0.0013189278542995453,
0.04291409254074097,
0.006450163200497627,
-0.00823514349758625,
-0.029529070481657982,
-0.007629275321960449,
-0.04664250835776329,
0.02801906131207943,
-0.02647176757454872,
-0.037209611386060715,
0.01724393293261528,
-0.026564978063106537,
0.015761887654662132,
-0.011660627089440823,
0.02257557027041912,
0.051750440150499344,
0.06278655678033829,
-0.060735929757356644,
0.00850545335561037
] |
729,974 | prefect_github.repository | get_directory |
Clones a GitHub project specified in `from_path` to the provided `local_path`;
defaults to cloning the repository reference configured on the Block to the
present working directory.
Args:
from_path: If provided, interpreted as a subdirectory of the underlying
repository that will be copied to the provided local path.
local_path: A local path to clone to; defaults to present working directory.
| @task
async def query_repository_refs( # noqa
owner: str,
name: str,
ref_prefix: str,
github_credentials: GitHubCredentials,
follow_renames: bool = True,
query: str = None,
after: str = None,
before: str = None,
first: int = None,
last: int = None,
direction: graphql_schema.OrderDirection = None,
order_by: graphql_schema.RefOrder = None,
return_fields: Iterable[str] = None,
) -> Dict[str, Any]: # pragma: no cover
"""
Fetch a list of refs from the repository.
Args:
owner: The login field of a user or organization.
name: The name of the repository.
ref_prefix: A ref name prefix like `refs/heads/`, `refs/tags/`,
etc.
github_credentials: Credentials to use for authentication with GitHub.
follow_renames: Follow repository renames. If disabled, a
repository referenced by its old name will return an error.
query: Filters refs with query on name.
after: Returns the elements in the list that come after the
specified cursor.
before: Returns the elements in the list that come before the
specified cursor.
first: Returns the first _n_ elements from the list.
last: Returns the last _n_ elements from the list.
direction: DEPRECATED: use orderBy. The ordering direction.
order_by: Ordering options for refs returned from the connection.
return_fields: Subset the return fields (as snake_case); defaults to
fields listed in configs/query/*.json.
Returns:
A dict of the returned fields.
"""
op = Operation(graphql_schema.Query)
op_selection = op.repository(
**strip_kwargs(
owner=owner,
name=name,
follow_renames=follow_renames,
)
).refs(
**strip_kwargs(
ref_prefix=ref_prefix,
query=query,
after=after,
before=before,
first=first,
last=last,
direction=direction,
order_by=order_by,
)
)
op_stack = (
"repository",
"refs",
)
op_selection = _subset_return_fields(
op_selection, op_stack, return_fields, return_fields_defaults
)
result = await _execute_graphql_op(op, github_credentials)
return result["repository"]["refs"]
| (self, from_path: Optional[str] = None, local_path: Optional[str] = None) -> NoneType | [
0.00576863344758749,
-0.07043998688459396,
-0.0941411480307579,
0.008252094499766827,
-0.013214409351348877,
0.04401116818189621,
-0.00270231906324625,
-0.021931864321231842,
0.02865886501967907,
-0.04637022688984871,
0.03402203321456909,
0.0017393443267792463,
0.009850909002125263,
-0.0004463549121282995,
0.02663154900074005,
0.012477203272283077,
0.0040984018705785275,
0.025562601163983345,
0.04279477894306183,
0.036178361624479294,
-0.029672522097826004,
0.03988282009959221,
0.028437703847885132,
-0.025839053094387054,
0.03486981987953186,
0.0005408093566074967,
0.061298638582229614,
-0.031110072508454323,
-0.037376321852207184,
0.016190877184271812,
0.0008472104091197252,
0.01804310455918312,
-0.00753792654722929,
0.04080432653427124,
0.015269369818270206,
-0.04349512606859207,
0.030317576602101326,
0.0796181932091713,
-0.06358397752046585,
0.0006225930992513895,
0.010560468770563602,
-0.004916239529848099,
0.022521628066897392,
-0.06351025402545929,
0.015416810289025307,
-0.048323821276426315,
-0.022245176136493683,
-0.08124005049467087,
-0.02981996349990368,
0.011141018941998482,
0.0943623036146164,
0.015121928416192532,
-0.05178868770599365,
0.02307453379034996,
0.0807977244257927,
-0.013260484673082829,
-0.008100045844912529,
0.06295735388994217,
0.07652193307876587,
0.034740809351205826,
0.02126837894320488,
0.011776858009397984,
-0.01080006081610918,
0.0227980799973011,
0.0013062360230833292,
-0.01402533520013094,
0.07501066476106644,
-0.060450851917266846,
-0.058718420565128326,
-0.02300081215798855,
-0.03903503343462944,
0.07360997051000595,
0.051862407475709915,
-0.04721801355481148,
0.010449888184666634,
-0.041799552738666534,
0.04132036864757538,
0.013564581982791424,
0.007395092863589525,
-0.03958793729543686,
-0.02454894408583641,
0.009850909002125263,
0.009970705024898052,
-0.03837154805660248,
0.014292571693658829,
-0.024161910638213158,
0.045375000685453415,
0.00025960576022043824,
-0.011150233447551727,
-0.06686454266309738,
0.011279244907200336,
0.004824088420718908,
-0.03991967812180519,
0.03925619274377823,
-0.040988627821207047,
-0.011048867367208004,
-0.019904548302292824,
-0.04784463718533516,
-0.05613820254802704,
0.04751289635896683,
-0.003520156489685178,
-0.01710316725075245,
-0.01606186479330063,
0.02454894408583641,
-0.01506663765758276,
-0.05171496793627739,
0.002384399063885212,
-0.04102548584342003,
0.017739007249474525,
-0.024604234844446182,
-0.04143095016479492,
0.0056764823384583,
0.0644686222076416,
-0.0023959178943187,
0.037966083735227585,
0.01948065683245659,
-0.003651471110060811,
-0.01769293285906315,
0.030501877889037132,
-0.05827609822154045,
0.0189646128565073,
0.005409245379269123,
0.0023890065494924784,
-0.012025665491819382,
0.004860948771238327,
0.048876725137233734,
0.004701988771557808,
-0.003093959530815482,
-0.02600492537021637,
-0.026705270633101463,
0.0227059293538332,
0.055695876479148865,
-0.052083570510149,
0.03634423390030861,
0.05768633261322975,
0.07176695764064789,
0.007501066196709871,
0.018273482099175453,
0.008828036487102509,
-0.026207655668258667,
-0.034703951328992844,
-0.025249289348721504,
0.026484107598662376,
-0.021968724206089973,
-0.03437220677733421,
0.026852712035179138,
0.055106114596128464,
0.0020215557888150215,
0.036510102450847626,
-0.019351644441485405,
0.07209870219230652,
-0.012974817305803299,
0.0006611812277697027,
0.05731773003935814,
-0.038887590169906616,
0.0012636163737624884,
-0.02215302549302578,
-0.02806910127401352,
-0.02132366970181465,
0.04883986711502075,
0.01843935251235962,
0.03227117285132408,
0.028548283502459526,
-0.009767972864210606,
0.001636826666072011,
0.01778508350253105,
0.034980401396751404,
-0.09133976697921753,
-0.07836494594812393,
0.02981996349990368,
0.035901907831430435,
0.04489581659436226,
-0.05116206407546997,
-0.010735555551946163,
-0.05967678874731064,
0.024069759994745255,
-0.007888099178671837,
-0.00975875835865736,
-0.06362083554267883,
-0.01778508350253105,
-0.07327822595834732,
-0.06277304887771606,
0.019351644441485405,
-0.05842353776097298,
0.022005584090948105,
0.028603574261069298,
-0.009850909002125263,
0.0076116472482681274,
0.06550071388483047,
-0.0013741971924901009,
-0.05753888934850693,
0.014882336370646954,
0.030336007475852966,
0.03254762291908264,
-0.0041168322786688805,
-0.07401543110609055,
-0.0660536140203476,
0.043052803725004196,
0.03188413754105568,
-0.026981722563505173,
-0.0015227901749312878,
0.01302089262753725,
0.006054300349205732,
0.013841033913195133,
0.00878656841814518,
0.03391145542263985,
0.033561281859874725,
-0.005372385028749704,
0.02838241308927536,
0.0018787222215905786,
-0.05698598548769951,
0.043052803725004196,
-0.08750629425048828,
-0.015951285138726234,
-0.04942962899804115,
0.040067121386528015,
0.061077479273080826,
0.015195649117231369,
0.06126178056001663,
0.03437220677733421,
0.07047684490680695,
-0.027718927711248398,
0.011454330757260323,
-0.015472101047635078,
0.0009215069003403187,
-0.03728416934609413,
0.035938769578933716,
0.03101792186498642,
0.019922979176044464,
-0.13586698472499847,
-0.00011144474410684779,
-0.047439176589250565,
-0.003011023858562112,
0.008219841867685318,
0.01258778478950262,
-0.02569161169230938,
-0.01034852210432291,
0.005455320701003075,
0.04581732302904129,
0.04143095016479492,
-0.051899269223213196,
0.06808093190193176,
0.05359484255313873,
-0.016467329114675522,
0.005294057074934244,
-0.03750533238053322,
-0.012615429237484932,
-0.02419877052307129,
0.013610657304525375,
-0.011767643503844738,
-0.055400993674993515,
-0.026484107598662376,
0.009353294968605042,
0.022908661514520645,
-0.004335689824074507,
-0.025599461048841476,
-0.02132366970181465,
-0.09930158406496048,
0.03129437565803528,
-0.011905869469046593,
-0.005201906431466341,
-0.04290536046028137,
-0.03940363600850105,
0.014716465026140213,
-0.03227117285132408,
-0.06701198220252991,
0.0013857160229235888,
-0.03807666525244713,
-0.03485139086842537,
-0.01606186479330063,
0.018374847248196602,
-0.013407925143837929,
0.009196639060974121,
-0.00761625450104475,
-0.04990881308913231,
0.00007242468564072624,
0.027092302218079567,
0.010984362103044987,
-0.031773559749126434,
0.011767643503844738,
-0.025599461048841476,
-0.056285642087459564,
0.014983702450990677,
-0.011481976136565208,
0.08153492957353592,
0.0017370404675602913,
0.015214079059660435,
0.036749694496393204,
-0.0322343111038208,
0.010836921632289886,
0.05554843693971634,
-0.010606544092297554,
0.029617231339216232,
-0.0375421904027462,
-0.008523939177393913,
0.003112389473244548,
-0.012117816135287285,
0.011638632044196129,
-0.007911136373877525,
0.0061464509926736355,
-0.056912265717983246,
0.010975147597491741,
0.027387185022234917,
-0.01301167719066143,
0.022927092388272285,
-0.05204670876264572,
0.034740809351205826,
-0.04489581659436226,
-0.007441168185323477,
-0.02453051321208477,
-0.03958793729543686,
0.02980153262615204,
0.024180341511964798,
-0.015204863622784615,
-0.05584331974387169,
-0.05278391391038895,
-0.012753655202686787,
0.027847938239574432,
0.007560964208096266,
0.0008961654384620488,
-0.03015170618891716,
0.04880300536751747,
-0.016762210056185722,
0.024069759994745255,
-0.02805067040026188,
-0.016651630401611328,
-0.14029021561145782,
0.06516896933317184,
0.04570674151182175,
0.05757575109601021,
-0.035035692155361176,
-0.04784463718533516,
0.011841363273561,
0.025267720222473145,
0.009454661048948765,
-0.045080117881298065,
0.0497245118021965,
-0.05329995974898338,
0.04073060676455498,
-0.03328482806682587,
0.015370734967291355,
-0.019591236487030983,
0.04780777916312218,
-0.010053640231490135,
0.024456793442368507,
0.012163891457021236,
0.061335500329732895,
0.030336007475852966,
0.036546964198350906,
-0.06948161870241165,
0.061003755778074265,
0.013426356017589569,
-0.00007818410085747018,
0.04725487530231476,
0.057502031326293945,
0.022355757653713226,
-0.03018856607377529,
0.03925619274377823,
-0.004086883272975683,
0.002090668771415949,
-0.027239743620157242,
-0.033542852848768234,
0.038224104791879654,
0.0033473738003522158,
-0.000060149923228891566,
-0.04471151530742645,
-0.021747563034296036,
0.006312322337180376,
-0.0022323504090309143,
-0.03275035694241524,
-0.06513211131095886,
0.010256371460855007,
0.003480992279946804,
-0.011463546194136143,
-0.018172116950154305,
0.027295034378767014,
-0.026981722563505173,
-0.026152366772294044,
-0.022576918825507164,
0.017287470400333405,
-0.025212429463863373,
0.025599461048841476,
0.039772238582372665,
0.023443136364221573,
-0.0095836715772748,
0.008694417774677277,
-0.014255711808800697,
0.018190545961260796,
0.039440494030714035,
0.025009697303175926,
-0.0012279079528525472,
-0.021397389471530914,
0.014753325842320919,
0.019093623384833336,
-0.037376321852207184,
-0.061077479273080826,
0.0550323911011219,
-0.022595349699258804,
-0.021047217771410942,
-0.03404046595096588,
0.07080858945846558,
-0.00487477146089077,
0.05812865495681763,
0.02753462642431259,
0.01302089262753725,
0.003934834618121386,
0.04471151530742645,
-0.020531173795461655,
-0.030630890280008316,
0.058386676013469696,
-0.023185113444924355,
-0.06280991435050964,
-0.0071370708756148815,
-0.007261474616825581,
-0.022982383146882057,
0.020531173795461655,
-0.005330917425453663,
-0.000615681812632829,
0.027350325137376785,
0.04489581659436226,
-0.004727330524474382,
-0.04747603461146355,
0.0023774877190589905,
0.05610134080052376,
0.017287470400333405,
-0.003692938946187496,
0.0471811518073082,
0.010062855668365955,
0.0031884138006716967,
0.027258174493908882,
0.03048344887793064,
0.019572807475924492,
0.008192196488380432,
-0.01747177168726921,
0.020199431106448174,
-0.007054135203361511,
0.008878719061613083,
0.029690952971577644,
0.0009537596488371491,
0.002891227835789323,
-0.011094942688941956,
0.03932991623878479,
0.006270854268223047,
-0.10748456418514252,
0.025931203737854958,
-0.03134966641664505,
0.021802853792905807,
-0.0036445597652345896,
0.04316338524222374,
0.002686192514374852,
-0.03848212957382202,
0.04869242385029793,
-0.004764190874993801,
-0.007408915553241968,
-0.015379950404167175,
-0.027682067826390266,
-0.005192691460251808,
0.05790749564766884,
-0.053963445127010345,
-0.020586464554071426,
0.09812205284833908,
-0.017075523734092712,
-0.009777188301086426,
0.013970044441521168,
0.020310012623667717,
-0.052415311336517334,
0.009896984323859215,
0.003375018946826458,
-0.08713769167661667,
-0.03433534875512123,
-0.0017024839762598276,
-0.016679275780916214,
-0.058054935187101364,
0.05635936185717583,
-0.017342759296298027,
-0.05912388488650322,
-0.005736380349844694,
0.012311331927776337,
-0.022411048412322998,
-0.07195126265287399,
-0.07143521308898926,
-0.029690952971577644,
0.0037459256127476692,
0.023148253560066223,
-0.0029257843270897865,
-0.037966083735227585,
0.07622705399990082,
-0.02606021612882614,
0.026465678587555885,
-0.020015129819512367,
-0.00019654014613479376,
-0.009044590406119823,
-0.007924959063529968,
-0.0104683181270957,
-0.012707579880952835,
-0.02598649449646473,
0.00612802105024457,
0.03514627367258072,
0.005280234385281801,
-0.01447687391191721,
0.03745004162192345,
-0.013103827834129333,
0.02923019975423813,
0.0012624644441530108,
0.035035692155361176,
-0.020844485610723495,
0.06937103718519211,
-0.010403812862932682,
0.004321867600083351,
-0.019443795084953308,
-0.02364586666226387,
-0.05772319436073303,
0.03899817168712616,
-0.016172446310520172,
0.0076991901732981205,
0.026097076013684273,
-0.00395096093416214,
0.03017013520002365,
-0.024088190868496895,
0.018605224788188934,
-0.018402492627501488,
0.0032782608177512884,
-0.016319887712597847,
-0.010975147597491741,
0.0033819302916526794,
-0.030557168647646904,
-0.002344083273783326,
0.008173766545951366,
-0.0012751352041959763,
-0.0015953588299453259,
-0.009044590406119823,
-0.03936677426099777,
-0.013223623856902122,
-0.05860783904790878,
0.0027576093561947346,
0.04935590922832489,
-0.010965932160615921,
0.005224944092333317,
-0.08713769167661667,
0.02746090665459633,
0.05164124816656113,
0.05842353776097298,
-0.03308209776878357,
-0.01401611976325512,
-0.01880795508623123,
0.012486418709158897,
0.06513211131095886,
0.019904548302292824,
0.0460016243159771,
-0.02628137730062008,
0.016034219413995743,
-0.016301456838846207,
0.03133123368024826,
0.024659525603055954,
-0.03807666525244713,
0.01507585309445858,
0.011574126780033112,
-0.053078796714544296,
-0.0033312474843114614,
-0.04139408841729164,
0.03486981987953186,
0.02782950922846794,
-0.034980401396751404,
0.03068617917597294,
-0.014440013095736504,
0.03643638268113136,
0.0772591382265091,
-0.00948230642825365,
-0.007934174500405788,
0.006321537308394909,
-0.028308691456913948,
-0.005893036723136902,
0.0218212828040123,
0.014145131222903728,
0.019056763499975204,
-0.01653183437883854,
-0.010247156955301762,
-0.070366270840168,
0.053041938692331314,
-0.04519069939851761,
0.019370075315237045,
-0.04168897122144699,
0.02071547508239746,
-0.013361849822103977,
-0.003315121168270707,
0.06715942174196243,
-0.029985833913087845,
0.03136809542775154,
0.059861090034246445,
0.017637642100453377,
0.016734564676880836,
-0.03966165706515312,
-0.021047217771410942,
-0.006118806079030037,
-0.014366292394697666,
-0.020457454025745392,
-0.07080858945846558,
-0.028142821043729782,
0.006966592278331518,
-0.01507585309445858,
-0.0013212105259299278,
0.029432930052280426,
-0.006989629939198494,
-0.02714759297668934,
-0.02160012163221836,
0.004701988771557808,
0.0218212828040123,
-0.06948161870241165,
0.0041030095890164375,
-0.001272831461392343,
-0.016596339643001556,
0.0009474242688156664,
-0.018393278121948242,
0.02722131460905075,
-0.011564911343157291,
0.008367282338440418,
0.006975807249546051,
0.018872462213039398,
-0.010090501047670841,
0.013232839293777943,
0.04585418477654457,
0.0320315808057785,
0.033505991101264954,
-0.011767643503844738,
-0.022024014964699745,
0.05086718127131462,
-0.025949634611606598,
-0.07755402475595474,
-0.029045898467302322,
0.04460093379020691,
0.004778013098984957,
-0.009376333095133305,
0.01613558642566204,
0.06111433729529381,
0.02836398221552372,
-0.05890272185206413,
0.05536413565278053,
-0.0369524285197258,
-0.023682726547122,
-0.05558529496192932,
-0.08050284534692764,
0.006989629939198494,
-0.050129976123571396,
0.040288280695676804,
-0.03510941192507744,
-0.020457454025745392,
-0.033874593675136566,
-0.09215068817138672,
0.051567524671554565,
0.036804985255002975,
0.005722557660192251,
0.064063161611557,
0.06797035038471222,
0.025341439992189407,
0.04054630547761917,
0.02360900677740574,
-0.06476350873708725,
0.013979259878396988,
0.025636322796344757,
-0.003953264560550451,
-0.006321537308394909,
0.012329762801527977,
0.013066967949271202,
0.03604935109615326,
-0.06896557658910751,
0.009675822220742702,
0.006478193681687117,
-0.010173436254262924,
-0.021084077656269073,
0.04651767015457153,
0.03193942829966545,
0.011657061986625195,
0.040030259639024734,
-0.02954351156949997,
0.05941876396536827,
-0.016319887712597847,
0.06752802431583405,
0.05698598548769951,
-0.01890932209789753,
-0.011666277423501015,
0.007703797891736031,
0.016476543620228767,
-0.044785235077142715,
0.05610134080052376,
0.00833502970635891,
0.019757108762860298,
0.009293396957218647,
0.024917546659708023,
0.05289449542760849,
0.012772086076438427,
0.03346912935376167,
0.009556026197969913,
0.022613778710365295,
0.010523608885705471,
-0.07080858945846558,
0.031220654025673866,
-0.03510941192507744,
-0.08957047015428543,
0.0626993328332901,
-0.036178361624479294,
0.07243043929338455,
-0.009740328416228294,
0.0514938049018383,
0.02659468911588192,
0.0009030767832882702,
0.018393278121948242,
0.03099949285387993,
0.004227412864565849,
-0.06597989797592163,
0.04227873682975769,
-0.03258448466658592,
0.014089840464293957,
-0.011601772159337997,
-0.051936130970716476,
0.0648740828037262,
-0.028253402560949326,
-0.015591897070407867,
0.013122258707880974,
-0.026133935898542404,
0.0042573618702590466,
0.008934009820222855,
0.037376321852207184,
0.04817638173699379,
-0.006948161870241165,
0.03881387040019035,
-0.003301298478618264,
0.021950295194983482,
-0.0242724921554327,
-0.014707250520586967,
0.012357407249510288,
0.024899115785956383,
0.056912265717983246,
0.025249289348721504,
-0.02714759297668934,
0.03252919390797615,
-0.08536840230226517,
0.05842353776097298,
-0.01491919718682766,
-0.023221973329782486,
0.015564251691102982,
-0.007325979880988598,
-0.027866369113326073,
-0.07696425914764404,
-0.017011016607284546,
0.021452680230140686,
-0.024106619879603386,
0.052415311336517334,
-0.0053954231552779675,
-0.01710316725075245,
-0.06620105355978012,
0.03704457730054855,
0.016522618010640144,
-0.032695066183805466,
-0.014965272508561611,
-0.013601441867649555,
-0.0015354609349742532,
0.035017263144254684,
-0.0031515536829829216,
-0.03335855156183243,
-0.01256935391575098,
-0.035975631326436996,
0.04828696325421333,
-0.024290921166539192,
0.01686357706785202,
-0.035901907831430435,
-0.02897217683494091,
-0.009403977543115616,
0.003570839297026396
] |
729,985 | mmengine.fileio.handlers.base | BaseFileHandler | null | class BaseFileHandler(metaclass=ABCMeta):
# `str_like` is a flag to indicate whether the type of file object is
# str-like object or bytes-like object. Pickle only processes bytes-like
# objects but json only processes str-like object. If it is str-like
# object, `StringIO` will be used to process the buffer.
str_like = True
@abstractmethod
def load_from_fileobj(self, file, **kwargs):
pass
@abstractmethod
def dump_to_fileobj(self, obj, file, **kwargs):
pass
@abstractmethod
def dump_to_str(self, obj, **kwargs):
pass
def load_from_path(self, filepath, mode='r', **kwargs):
with open(filepath, mode) as f:
return self.load_from_fileobj(f, **kwargs)
def dump_to_path(self, obj, filepath, mode='w', **kwargs):
with open(filepath, mode) as f:
self.dump_to_fileobj(obj, f, **kwargs)
| () | [
0.002082154853269458,
-0.027813170105218887,
-0.08044535666704178,
0.02058030292391777,
0.022239714860916138,
-0.04787039756774902,
-0.005041362717747688,
0.09285486489534378,
-0.05472448840737343,
-0.03708422929048538,
0.03448688983917236,
0.011228079907596111,
-0.033314477652311325,
0.03650704026222229,
-0.01719835214316845,
0.05093670263886452,
-0.038960084319114685,
0.009244001470506191,
0.004933140240609646,
-0.0022760534193366766,
-0.025251906365156174,
0.00914479698985815,
0.021301787346601486,
0.006376106292009354,
0.020417969673871994,
0.04736535996198654,
-0.026604685932397842,
0.006597060244530439,
0.08152758330106735,
-0.021175526082515717,
-0.04184601455926895,
-0.06522206962108612,
0.029652953147888184,
0.060279905796051025,
-0.006407671142369509,
-0.04512876272201538,
-0.02734420634806156,
0.05403907969594002,
-0.07705438882112503,
0.025630684569478035,
-0.003197071608155966,
0.04357757419347763,
0.013392528519034386,
-0.0076206643134355545,
0.013374491594731808,
0.038527194410562515,
-0.034865666180849075,
0.0625886544585228,
0.0010100762592628598,
0.011697043664753437,
-0.012102877721190453,
-0.021536268293857574,
-0.058043308556079865,
-0.004110198467969894,
0.04170171916484833,
0.06619606912136078,
0.026388240978121758,
-0.010650893673300743,
-0.04570595175027847,
-0.007413238286972046,
-0.013897567056119442,
0.026875242590904236,
0.11089193820953369,
-0.059919167309999466,
-0.032520849257707596,
-0.030085843056440353,
-0.05014307051897049,
-0.017441852018237114,
0.001031495281495154,
0.043180759996175766,
0.00714268209412694,
-0.030212102457880974,
0.03946512192487717,
0.03942904621362686,
0.04303646460175514,
0.03544285520911217,
-0.03419829532504082,
-0.011390413157641888,
0.04170171916484833,
-0.0006978093879297376,
0.006488838233053684,
-0.08376418054103851,
-0.05093670263886452,
-0.022221677005290985,
-0.02516172081232071,
-0.0483393631875515,
-0.005672660190612078,
-0.036110226064920425,
0.01958826370537281,
0.03434259071946144,
-0.08318699151277542,
0.025071535259485245,
-0.02516172081232071,
0.028462504968047142,
-0.027939429506659508,
-0.07568357139825821,
-0.018352724611759186,
-0.0029670989606529474,
-0.0032489283476024866,
0.011588821187615395,
-0.045958470553159714,
0.005257807672023773,
-0.009848243556916714,
-0.02460257150232792,
-0.028191950172185898,
-0.047004617750644684,
0.02416968159377575,
-0.013374491594731808,
-0.019985079765319824,
0.004220675677061081,
-0.034306518733501434,
-0.014086956158280373,
-0.05230752006173134,
0.06352657824754715,
-0.028967544436454773,
-0.009794131852686405,
-0.01286043506115675,
-0.005338974297046661,
0.018361743539571762,
-0.04754573106765747,
0.008784055709838867,
0.011083782650530338,
-0.03508211299777031,
0.045020539313554764,
0.07286978513002396,
0.005136057268828154,
0.004319879692047834,
-0.04134097695350647,
0.07943528145551682,
-0.02628001943230629,
-0.004144018050283194,
0.04184601455926895,
-0.007679285015910864,
0.012571841478347778,
0.028354283422231674,
0.04682425037026405,
-0.04188209027051926,
-0.0030617935117334127,
-0.027127761393785477,
0.020778711885213852,
0.03118610382080078,
-0.04245927557349205,
0.0626247301697731,
-0.01940789446234703,
-0.03748104348778725,
0.010263096541166306,
0.036777596920728683,
-0.041629571467638016,
-0.03457707539200783,
0.0182895939797163,
0.030735177919268608,
0.01966041326522827,
-0.052523963153362274,
0.033134106546640396,
0.01592673733830452,
-0.04538128152489662,
-0.004033540841192007,
0.014880587346851826,
-0.049313366413116455,
-0.016936814412474632,
-0.02281690016388893,
-0.03576752170920372,
0.03701207786798477,
-0.04173779487609863,
0.030735177919268608,
0.020472081378102303,
0.025324054062366486,
-0.029526693746447563,
0.02968902699649334,
0.005889105144888163,
-0.08275410532951355,
0.0106959855183959,
-0.04040304943919182,
0.06276902556419373,
0.03726460039615631,
0.03335055336356163,
-0.00844586081802845,
0.0036186883226037025,
0.012689082883298397,
0.04830328747630119,
0.04083593934774399,
-0.059341978281736374,
-0.052956853061914444,
0.003219617996364832,
0.06590747833251953,
0.04570595175027847,
0.0010269860504195094,
0.04574202373623848,
0.031835440546274185,
0.03279140219092369,
-0.0005969144986011088,
-0.0312943272292614,
-0.01242754515260458,
-0.03726460039615631,
0.037408895790576935,
0.016215331852436066,
0.006547458469867706,
-0.038527194410562515,
0.012562823481857777,
0.07712653279304504,
-0.045453429222106934,
0.013960696756839752,
0.009893336333334446,
-0.06673718243837357,
-0.036723487079143524,
0.03248477354645729,
0.051658183336257935,
-0.005063909105956554,
-0.06165072321891785,
0.020814785733819008,
-0.0018668373813852668,
-0.03098769672214985,
-0.03482959419488907,
0.03246673569083214,
0.10923252999782562,
-0.04043912515044212,
0.01044346671551466,
0.02566675841808319,
-0.020688526332378387,
0.04011445492506027,
0.08224906772375107,
0.09905961900949478,
-0.08708300441503525,
0.049674104899168015,
-0.003005427774041891,
-0.0000028006786578771425,
0.04783432558178902,
-0.029779212549328804,
-0.004134999588131905,
-0.009478483349084854,
-0.0015782441478222609,
-0.04148527607321739,
-0.008865222334861755,
0.052163224667310715,
0.037228524684906006,
0.028841285035014153,
0.02788531966507435,
-0.019822746515274048,
-0.03235851228237152,
0.016530979424715042,
0.025342091917991638,
-0.026911316439509392,
-0.01004665158689022,
-0.012481656856834888,
0.0006617351900786161,
-0.06468095630407333,
0.007796525955200195,
0.028228024020791054,
-0.02287101186811924,
0.010407392866909504,
0.09393709152936935,
0.02348427288234234,
-0.052091073244810104,
0.015069976449012756,
-0.014862550422549248,
-0.025522463023662567,
-0.011282190680503845,
-0.03309803456068039,
0.014267327263951302,
-0.024350052699446678,
-0.020003117620944977,
-0.026442352682352066,
0.04815899208188057,
0.03427044302225113,
-0.0006566622760146856,
-0.03093358501791954,
-0.0031857984140515327,
-0.08087825030088425,
0.018704447895288467,
0.010885375551879406,
0.07727083563804626,
0.013861492276191711,
0.0061235870234668255,
0.039825864136219025,
-0.08672226220369339,
-0.03143862262368202,
-0.028823247179389,
-0.023231754079461098,
0.01940789446234703,
-0.014772364869713783,
-0.034432776272296906,
-0.018812669441103935,
0.03769748657941818,
-0.03376540541648865,
0.014790401794016361,
-0.005149585194885731,
-0.020111339166760445,
-0.018082167953252792,
0.010867337696254253,
-0.009685909375548363,
0.013212158344686031,
-0.0061235870234668255,
-0.10331636667251587,
0.016756443306803703,
-0.0007592481561005116,
-0.0014373294543474913,
-0.09292701631784439,
-0.0275786891579628,
0.0625886544585228,
-0.08354773372411728,
-0.03730067238211632,
-0.036489006131887436,
0.023394087329506874,
0.008247452788054943,
-0.01928163319826126,
-0.035677336156368256,
0.030031731352210045,
-0.042242832481861115,
-0.048195067793130875,
0.01354584377259016,
0.048880476504564285,
0.01168802473694086,
-0.002486861776560545,
0.014934699051082134,
0.04566987603902817,
0.07633290439844131,
-0.003465373069047928,
0.043613649904727936,
-0.015232310630381107,
0.05721360445022583,
-0.06493347138166428,
0.037841785699129105,
-0.01397873368114233,
0.00198407843708992,
0.08628936856985092,
-0.014889606274664402,
0.02317764237523079,
0.021897010505199432,
0.00801297090947628,
-0.002601848216727376,
-0.04675209894776344,
0.036489006131887436,
0.022654566913843155,
-0.010723041370511055,
-0.018019039183855057,
-0.0038148416206240654,
-0.014132048934698105,
-0.02770494855940342,
0.03600200265645981,
-0.0008235052227973938,
0.04830328747630119,
0.003839642507955432,
0.02238401025533676,
0.006159661337733269,
-0.054075151681900024,
-0.017261480912566185,
0.0384189710021019,
0.007945331744849682,
0.06269687414169312,
-0.0025251905899494886,
-0.018433891236782074,
-0.05999131500720978,
-0.02876913547515869,
-0.04779824987053871,
-0.02976117469370365,
-0.055085230618715286,
-0.03576752170920372,
-0.008756999857723713,
-0.01397873368114233,
-0.030013693496584892,
0.010714023374021053,
-0.020381895825266838,
-0.0650777667760849,
0.004225185140967369,
-0.008143739774823189,
-0.002755163237452507,
0.036795634776353836,
0.008161776699125767,
0.021229637786746025,
0.004067360423505306,
0.004234203603118658,
0.006750375498086214,
-0.035677336156368256,
-0.0471128411591053,
0.007607136853039265,
0.00863524992018938,
0.0564199723303318,
0.0161251462996006,
-0.04303646460175514,
0.042062461376190186,
0.0694066658616066,
0.0003449590876698494,
-0.023646606132388115,
-0.028426431119441986,
0.010335244238376617,
-0.01661214604973793,
0.06713399291038513,
0.04815899208188057,
-0.010614818893373013,
0.027867281809449196,
0.017026999965310097,
0.010732060298323631,
-0.06453665345907211,
-0.048627957701683044,
0.014925680123269558,
-0.03396381437778473,
-0.008161776699125767,
0.048195067793130875,
-0.05151388794183731,
0.0644284337759018,
0.0269654281437397,
-0.0421706847846508,
-0.015980849042534828,
0.021175526082515717,
0.00757557200267911,
0.04783432558178902,
0.047076769173145294,
-0.009505539201200008,
0.023358013480901718,
0.005898123607039452,
0.0812389925122261,
-0.014195178635418415,
-0.03748104348778725,
-0.04260357469320297,
0.034613147377967834,
0.010921449400484562,
-0.002910732990130782,
-0.055518120527267456,
-0.014456716366112232,
0.007751433178782463,
-0.02007526531815529,
0.10035829246044159,
0.0018431636271998286,
-0.002303109038621187,
-0.014330456964671612,
0.003841897239908576,
-0.06403161585330963,
0.0045611257664859295,
0.027939429506659508,
0.0371924489736557,
0.008747981861233711,
0.008630740456283092,
-0.09061826765537262,
-0.014573956839740276,
0.03302588686347008,
-0.04238712787628174,
-0.01587262749671936,
-0.03205188363790512,
0.018956966698169708,
0.0378057099878788,
-0.029833324253559113,
-0.020255636423826218,
0.0353526696562767,
0.03136647492647171,
0.01534053310751915,
-0.029472582042217255,
-0.001632355386391282,
0.04263964667916298,
0.05815153196454048,
0.02665879763662815,
-0.021301787346601486,
0.008901297114789486,
0.010037632659077644,
-0.01292356476187706,
-0.04166564345359802,
-0.06644858419895172,
0.06749473512172699,
-0.025486387312412262,
0.02579301781952381,
0.017189333215355873,
0.010470522567629814,
0.0025184266269207,
0.022852975875139236,
-0.06619606912136078,
-0.008581139147281647,
0.003560067852959037,
0.023790903389453888,
0.012391471303999424,
-0.0331701822578907,
0.0006521530449390411,
0.04419083520770073,
0.020904971286654472,
-0.03755319118499756,
0.00022729534248355776,
-0.017459889873862267,
0.05360618978738785,
0.057249680161476135,
-0.010786171071231365,
-0.005929688457399607,
-0.0663042888045311,
0.011309246532619,
-0.03638078272342682,
-0.0362364836037159,
0.014059900306165218,
0.020345821976661682,
-0.035605188459157944,
0.07099393010139465,
-0.002529699821025133,
0.034180257469415665,
-0.00758008100092411,
-0.0035848687402904034,
0.03726460039615631,
-0.042747870087623596,
0.0001255549577763304,
0.053642261773347855,
0.014068919233977795,
-0.0319075882434845,
0.04245927557349205,
-0.04426298290491104,
-0.04245927557349205,
0.016720369458198547,
-0.04916906729340553,
-0.01655803620815277,
0.016034960746765137,
-0.031835440546274185,
-0.0039050269406288862,
0.010190947912633419,
0.007444803137332201,
-0.012878471985459328,
-0.019443968310952187,
-0.02088693343102932,
0.03497388958930969,
-0.03546088933944702,
0.015556978061795235,
-0.022961197420954704,
-0.020688526332378387,
-0.020923007279634476,
0.022546345368027687,
-0.03223225474357605,
-0.010840282775461674,
0.011606858111917973,
-0.028534654527902603,
-0.0036615263670682907,
-0.019985079765319824,
-0.0362364836037159,
-0.011642931960523129,
0.013149028643965721,
0.025179758667945862,
0.04815899208188057,
0.029616879299283028,
-0.0015872626099735498,
-0.02355642057955265,
0.01966041326522827,
-0.02752457745373249,
0.04314468428492546,
0.06615999341011047,
0.0009678018395788968,
-0.0156471636146307,
-0.016215331852436066,
-0.037408895790576935,
0.017306573688983917,
0.03632666915655136,
-0.053461894392967224,
-0.04328898340463638,
-0.016521960496902466,
-0.08051750808954239,
0.018181372433900833,
-0.012003674171864986,
0.028823247179389,
-0.035677336156368256,
0.02150019444525242,
-0.044046539813280106,
0.04282001778483391,
0.0520550012588501,
-0.018686410039663315,
-0.043541502207517624,
0.024837052449584007,
-0.02070656232535839,
0.007710849866271019,
0.004694148898124695,
-0.03620041161775589,
0.06276902556419373,
-0.030735177919268608,
0.05782686546444893,
0.017802594229578972,
0.0557706393301487,
0.051838554441928864,
0.06641251593828201,
-0.038527194410562515,
-0.03892400860786438,
-0.009731002151966095,
0.07460134476423264,
0.002138520823791623,
-0.033260367810726166,
0.03892400860786438,
0.04722106456756592,
0.01623336784541607,
0.010984579101204872,
0.0325569212436676,
-0.05894516408443451,
0.0029986638110131025,
-0.004879029002040625,
-0.01199465524405241,
-0.024999387562274933,
0.0014486026484519243,
-0.048880476504564285,
0.00850899051874876,
0.04419083520770073,
0.010272114537656307,
0.022347936406731606,
-0.01859622448682785,
-0.029833324253559113,
0.004919612314552069,
-0.0675668865442276,
-0.021969158202409744,
0.0050864554941654205,
0.009212436154484749,
-0.057069309055805206,
0.023285863921046257,
-0.03528052195906639,
-0.04841151088476181,
-0.002176849637180567,
-0.04909691959619522,
-0.01821744628250599,
-0.005424650385975838,
0.027939429506659508,
-0.004978233017027378,
0.06374302506446838,
-0.01953415386378765,
0.045958470553159714,
-0.013257251121103764,
-0.010686967521905899,
0.06893770396709442,
-0.03230440244078636,
-0.0008770528365857899,
0.0037652396131306887,
-0.022402048110961914,
0.015818515792489052,
0.01717129535973072,
0.01060580089688301,
0.014014807529747486,
-0.026496464386582375,
-0.0063625783659517765,
0.048014696687459946,
-0.030013693496584892,
0.04332505539059639,
-0.011516672559082508,
-0.020436007529497147,
0.004412319511175156,
-0.08167187869548798,
-0.007652229629456997,
-0.02480097860097885,
-0.006240828428417444,
-0.005740299355238676,
-0.0037088736426085234,
-0.006935255602002144,
-0.00908166728913784,
0.022528307512402534,
-0.012653009034693241,
0.0170450359582901,
0.05306507647037506,
-0.07344697415828705,
0.0002085536834783852,
-0.029292210936546326,
-0.045345209538936615,
-0.026640761643648148,
0.04729321226477623,
-0.035551074892282486,
0.05555419251322746,
-0.022889049723744392,
0.023159604519605637,
0.03762533888220787,
-0.04314468428492546,
0.006881144363433123,
0.007413238286972046,
0.016819573938846588,
0.07081355899572372,
-0.02027367241680622,
0.028426431119441986,
0.05025129392743111,
-0.037156376987695694,
0.012039748020470142,
0.023826977238059044,
-0.0037314200308173895,
0.027235984802246094,
-0.0009215818135999143,
-0.02348427288234234,
-0.0020889188162982464,
0.04256749898195267,
-0.013708177953958511,
0.013906585052609444,
0.06064064800739288,
0.030536768957972527,
-0.029364358633756638,
-0.017973946407437325,
0.005293881520628929,
0.014582975767552853,
-0.0023076182696968317,
0.046463508158922195,
-0.0022794355172663927,
0.026189833879470825,
0.03787785768508911,
-0.04036697372794151,
0.01087635662406683,
0.012463619001209736,
0.04512876272201538,
0.008536046370863914,
0.02095908112823963,
0.011173968203365803,
-0.05862049758434296,
0.024097533896565437,
0.03212403133511543,
-0.0263521671295166,
-0.04087201505899429,
-0.010560708120465279,
-0.03206992149353027,
0.02065245248377323,
-0.029833324253559113,
0.050792403519153595,
-0.035857707262039185,
0.0016763206804171205,
-0.025143682956695557,
0.04375794529914856,
-0.007228358183056116,
0.039645493030548096,
-0.038707565516233444,
-0.08398062735795975,
0.03482959419488907,
0.028101764619350433,
-0.03589377924799919,
0.006520403083413839,
0.04916906729340553,
0.02070656232535839,
-0.04350542649626732,
0.01996704377233982,
-0.003623197553679347,
0.016576072201132774,
0.034126147627830505,
-0.0021633217111229897,
-0.017739463597536087,
-0.03381951525807381,
-0.01816333457827568,
0.028065690770745277,
0.030103879049420357,
0.020309748128056526,
-0.03167310357093811,
-0.05400300398468971,
-0.0007755942642688751,
0.0004086525004822761,
0.04873617738485336,
0.030049767345190048,
-0.01534053310751915,
-0.07582786679267883,
-0.0013640538090839982,
0.00850899051874876,
-0.06168679893016815,
-0.0421706847846508,
-0.05670856684446335,
0.01841585524380207,
0.04328898340463638,
0.016449812799692154,
-0.03302588686347008,
-0.02187897264957428,
0.048555806279182434,
0.015620107762515545,
-0.03910437971353531,
0.07142682373523712,
0.08217691630125046,
-0.06060457602143288,
0.04087201505899429,
0.004398792050778866,
-0.002005497459322214,
-0.03863541781902313,
0.05710538104176521,
0.017252463847398758,
-0.028372319415211678,
0.004946668166667223,
-0.04660780355334282,
0.031709179282188416,
-0.007665757089853287,
-0.06248043105006218,
-0.06551066040992737,
0.009992539882659912,
0.009532594121992588,
0.029346322640776634,
0.07369948923587799,
-0.03372933343052864,
0.02752457745373249
] |
729,986 | mmengine.fileio.handlers.base | dump_to_fileobj | null | @abstractmethod
def dump_to_fileobj(self, obj, file, **kwargs):
pass
| (self, obj, file, **kwargs) | [
-0.028691157698631287,
-0.024866783991456032,
-0.045024074614048004,
0.027054525911808014,
-0.003546731546521187,
-0.0834348201751709,
-0.03146341070532799,
0.05317383632063866,
-0.04031458497047424,
-0.029476074501872063,
0.011832180432975292,
-0.006809557322412729,
-0.009318781085312366,
0.03460307419300079,
-0.02777264080941677,
0.04782973229885101,
-0.039112161844968796,
0.03700792044401169,
-0.012483492493629456,
0.04428926110267639,
-0.024816682562232018,
0.0015698305796831846,
0.025818701833486557,
-0.00903487578034401,
0.05210501328110695,
0.0699409618973732,
-0.0044339364394545555,
0.01890476793050766,
0.0408489964902401,
0.01970638334751129,
-0.05681450664997101,
-0.07434985041618347,
0.05417585372924805,
0.08597327023744583,
0.0023025572299957275,
-0.027104627341032028,
-0.010763359256088734,
0.08577287197113037,
-0.13099734485149384,
0.0065841032192111015,
0.006145719438791275,
0.05073558911681175,
0.02374786138534546,
-0.004926595836877823,
0.0051437001675367355,
0.00962773710489273,
-0.01707608252763748,
0.016157563775777817,
0.01641641929745674,
-0.021276213228702545,
-0.018888067454099655,
-0.0035613442305475473,
-0.02281264401972294,
-0.024950286373496056,
-0.012391640804708004,
0.048597946763038635,
0.018119852989912033,
0.0051437001675367355,
-0.018086452037096024,
0.026403212919831276,
-0.02800644561648369,
0.008174808695912361,
0.1004023551940918,
-0.07588627934455872,
-0.028407253324985504,
-0.026637017726898193,
-0.09459064155817032,
-0.0009159084293060005,
-0.011924032121896744,
0.059119150042533875,
0.02125951461493969,
-0.033884961158037186,
0.05364144220948219,
0.05868494138121605,
0.015456151217222214,
0.008884573355317116,
-0.03887835517525673,
-0.009978444315493107,
-0.00438801059499383,
-0.014287128113210201,
-0.029409272596240044,
-0.05868494138121605,
-0.05481046810746193,
-0.010796760208904743,
-0.053340837359428406,
-0.04171741008758545,
0.002333870390430093,
-0.027655737474560738,
-0.007861677557229996,
0.007844978012144566,
-0.0264867153018713,
0.04746232181787491,
-0.06319402903318405,
0.024215470999479294,
-0.05668090283870697,
-0.0754854679107666,
-0.0077990517020225525,
-0.0019977763295173645,
-0.045792292803525925,
0.015255746431648731,
-0.04348764568567276,
-0.04642690345644951,
-0.02077520452439785,
-0.03148011118173599,
-0.01644147001206875,
-0.05310703441500664,
0.0073648435063660145,
0.002277506748214364,
-0.01793614961206913,
0.027405234053730965,
-0.04228522256016731,
0.029409272596240044,
-0.031597014516592026,
-0.0038348122034221888,
0.0030937353149056435,
-0.042185019701719284,
0.011523224413394928,
0.006542352493852377,
0.010763359256088734,
-0.05681450664997101,
0.010588006116449833,
-0.0020249143708497286,
-0.028340451419353485,
0.04552508518099785,
0.022077830508351326,
-0.018654262647032738,
0.024599578231573105,
0.019756484776735306,
0.021960927173495293,
-0.03757573291659355,
-0.020090490579605103,
-0.010471103712916374,
-0.03178071975708008,
-0.004417235963046551,
0.032599035650491714,
-0.00006810601189499721,
0.016023961827158928,
-0.020173992961645126,
-0.035471491515636444,
-0.012658846564590931,
0.05120319500565529,
-0.05597949028015137,
0.06125679239630699,
0.007786526344716549,
-0.038444146513938904,
0.03988037630915642,
-0.003953801933676004,
-0.03137991204857826,
-0.04064859077334404,
-0.005861814133822918,
0.04993396997451782,
0.03664051368832588,
-0.07227900624275208,
-0.013702617026865482,
0.00728969182819128,
-0.05103619396686554,
0.006888884119689465,
-0.012750698253512383,
-0.039980579167604446,
-0.01845385879278183,
-0.026703819632530212,
-0.012433391995728016,
0.028691157698631287,
0.0003037371498066932,
0.02067500166594982,
0.025050487369298935,
0.00746922055259347,
-0.020574800670146942,
0.020858705043792725,
-0.005795012693852186,
-0.03894515708088875,
-0.03684091567993164,
-0.0661332905292511,
0.0519380122423172,
0.03396845981478691,
0.04034798592329025,
0.008166459389030933,
0.015664905309677124,
-0.025818701833486557,
0.08370202779769897,
0.03770933300256729,
-0.05036817863583565,
-0.024115270003676414,
0.050568584352731705,
0.05360804498195648,
-0.011598375625908375,
0.0025405369233340025,
0.036273106932640076,
0.032916340976953506,
0.017652243375778198,
0.03891175612807274,
0.031246308237314224,
-0.023797962814569473,
-0.04796333238482475,
0.0328829400241375,
-0.07141058892011642,
0.001976900966838002,
-0.018336957320570946,
0.010153797455132008,
0.1038760244846344,
-0.0011773728765547276,
0.009494135156273842,
0.013360260054469109,
-0.03181412070989609,
0.00824161060154438,
0.024148669093847275,
0.039279162883758545,
-0.03026098944246769,
-0.06242581456899643,
0.012258038856089115,
0.05066878721117973,
-0.025668399408459663,
-0.027622338384389877,
0.007448344957083464,
0.1007363572716713,
-0.010888611897826195,
0.0033108394127339125,
0.014186926186084747,
-0.029342470690608025,
0.051570601761341095,
0.04068199172616005,
0.055144473910331726,
-0.09432343393564224,
0.0005933834472671151,
0.014479181729257107,
-0.020374396815896034,
0.05561208352446556,
-0.06242581456899643,
-0.004177168942987919,
-0.047662727534770966,
-0.016524972394108772,
-0.03897855803370476,
-0.04378825053572655,
0.06790351867675781,
0.02915876731276512,
0.06125679239630699,
-0.030561594292521477,
-0.05026797950267792,
-0.04515767842531204,
-0.030461393296718597,
0.013543963432312012,
-0.0010328107746317983,
-0.003953801933676004,
-0.004546663258224726,
0.025952305644750595,
-0.03881155699491501,
0.02929236926138401,
0.02693762443959713,
-0.0259690061211586,
-0.008345987647771835,
0.11656826734542847,
-0.005936965346336365,
-0.07989435642957687,
0.020123891532421112,
-0.02555149793624878,
-0.014571033418178558,
0.0019476753659546375,
-0.020107191056013107,
0.04158381000161171,
0.013811169192194939,
-0.02087540552020073,
-0.032699234783649445,
0.024215470999479294,
0.008433664217591286,
0.019689682871103287,
-0.015915410593152046,
-0.03760913014411926,
-0.07080937922000885,
-0.019305575639009476,
0.03861115127801895,
0.030528193339705467,
0.008471240289509296,
-0.018604161217808723,
0.05597949028015137,
-0.058952149003744125,
-0.02070840261876583,
-0.03897855803370476,
-0.018687663599848747,
-0.010980463586747646,
-0.016190964728593826,
0.04936616122722626,
-0.013518912717700005,
0.021927526220679283,
-0.01942247711122036,
0.011957433074712753,
-0.03198112174868584,
0.009719588793814182,
0.010679857805371284,
-0.009878242388367653,
-0.03106260485947132,
0.0131598562002182,
0.06018797308206558,
-0.033884961158037186,
0.028073245659470558,
-0.003557169111445546,
0.0011982483556494117,
-0.03700792044401169,
-0.0474289245903492,
0.03988037630915642,
-0.02222813293337822,
-0.029626376926898956,
-0.016875678673386574,
0.03684091567993164,
0.011982482858002186,
-0.032983142882585526,
0.027622338384389877,
-0.0027221529744565487,
0.006675954908132553,
-0.04555848613381386,
0.004726191982626915,
0.017468539997935295,
0.00841278862208128,
0.01374436728656292,
0.08056236803531647,
0.027722539380192757,
0.024950286373496056,
-0.02306314930319786,
0.026119308546185493,
0.015431100502610207,
0.04499067738652229,
-0.08016155660152435,
0.013669216074049473,
-0.00936888251453638,
-0.03146341070532799,
0.11623426526784897,
-0.027705838903784752,
-0.009018175303936005,
0.0328996405005455,
0.015255746431648731,
0.016216015443205833,
-0.03198112174868584,
0.05086918920278549,
0.07014136761426926,
0.0332336463034153,
-0.017468539997935295,
0.004559188615530729,
-0.033667854964733124,
-0.030210888013243675,
0.029526174068450928,
0.030511492863297462,
0.026202809065580368,
0.011222618632018566,
0.01945587806403637,
-0.026236210018396378,
-0.01256699487566948,
0.012633795849978924,
-0.01945587806403637,
-0.004980871919542551,
0.04128320515155792,
0.028691157698631287,
-0.040281184017658234,
-0.002907944144681096,
0.010947062633931637,
0.000743686337955296,
-0.04425586014986038,
-0.0033484152518212795,
0.019138572737574577,
0.008333462290465832,
-0.037241723388433456,
-0.06379523873329163,
0.017685644328594208,
-0.008011980913579464,
-0.021526718512177467,
-0.0041792565025389194,
0.05267282575368881,
0.008767670951783657,
0.012249688617885113,
0.006108143832534552,
0.02326355315744877,
-0.028724558651447296,
-0.026670418679714203,
-0.008558916859328747,
-0.012675547040998936,
-0.05354124307632446,
0.005461006425321102,
-0.0042585828341543674,
0.021626921370625496,
0.013978172093629837,
-0.006208345759660006,
0.05043498054146767,
0.05567888170480728,
-0.01786934770643711,
0.020090490579605103,
-0.019222073256969452,
0.025818701833486557,
-0.020140592008829117,
0.039212364703416824,
0.07301381975412369,
-0.0033150145318359137,
0.007477570325136185,
0.01511379424482584,
0.031246308237314224,
-0.07060897350311279,
-0.03891175612807274,
0.022044429555535316,
-0.03988037630915642,
0.007953530177474022,
0.02864105813205242,
-0.08016155660152435,
0.022846044972538948,
0.00010470321285538375,
-0.038243744522333145,
-0.05454326048493385,
0.019105171784758568,
-0.002834880258888006,
0.014120125211775303,
0.02139311656355858,
-0.03520428389310837,
0.05497746914625168,
-0.0003807152097579092,
0.068538136780262,
0.006049692630767822,
-0.04829733818769455,
-0.02167702093720436,
0.042018018662929535,
0.022695742547512054,
0.0004686528700403869,
-0.02777264080941677,
-0.01606571301817894,
-0.006241746246814728,
0.013326859101653099,
0.08390243351459503,
0.002830705139786005,
0.03158031404018402,
0.001255655661225319,
-0.061991605907678604,
-0.035504892468452454,
0.005369154270738363,
0.06860493868589401,
0.033667854964733124,
-0.010471103712916374,
-0.011606725864112377,
-0.07715550065040588,
0.03119620680809021,
0.0671687051653862,
-0.023079849779605865,
0.008851172402501106,
-0.05681450664997101,
0.014671235345304012,
0.09492464363574982,
0.0144541310146451,
-0.0398135744035244,
0.00610396871343255,
-0.004780468065291643,
-0.018002949655056,
-0.03258233517408371,
0.00663837930187583,
0.010713258758187294,
0.020023690536618233,
0.043086837977170944,
0.05280642583966255,
0.03420226648449898,
0.02783944085240364,
-0.052372220903635025,
-0.049499765038490295,
-0.07775671035051346,
0.06245921552181244,
-0.03784293681383133,
0.03480347618460655,
0.0029684826731681824,
0.010938713327050209,
-0.00391205120831728,
0.012074334546923637,
-0.06309382617473602,
0.0031709743198007345,
0.009218579158186913,
-0.05070218816399574,
0.03754233196377754,
-0.0031229606829583645,
-0.025250891223549843,
0.038444146513938904,
0.013585714623332024,
-0.06422945111989975,
-0.026954324916005135,
0.004367134999483824,
0.07221220433712006,
0.009569286368787289,
-0.008037031628191471,
-0.017025981098413467,
-0.04181761294603348,
-0.004438111558556557,
-0.07996115833520889,
-0.005941140465438366,
0.01855406165122986,
0.016007261350750923,
0.01589035987854004,
0.03191431984305382,
0.007026661653071642,
0.04368805140256882,
-0.016182614490389824,
0.0030331965535879135,
0.029793379828333855,
-0.06810392439365387,
-0.01482153870165348,
0.036373306065797806,
0.013752717524766922,
-0.0436212494969368,
0.05130339786410332,
-0.06139039620757103,
-0.06546527147293091,
-0.0007640398689545691,
-0.033500850200653076,
-0.010045245289802551,
-0.03223162889480591,
-0.05026797950267792,
0.00891797337681055,
0.00649225153028965,
0.02135971561074257,
-0.003031108994036913,
-0.011063965037465096,
0.008717569522559643,
0.0032273377291858196,
-0.03720832243561745,
0.0415504090487957,
0.014888339675962925,
-0.0015165982767939568,
-0.040080778300762177,
0.01890476793050766,
-0.026670418679714203,
0.014512582682073116,
0.029793379828333855,
-0.028073245659470558,
0.007456695195287466,
-0.04428926110267639,
-0.010512854903936386,
-0.01738503761589527,
-0.048698145896196365,
0.05394205078482628,
0.04332064464688301,
0.04271943122148514,
0.0031500987242907286,
-0.024916885420680046,
0.04141680523753166,
-0.008592316880822182,
0.01665022410452366,
0.07976075261831284,
0.018687663599848747,
0.00974463950842619,
0.014078374020755291,
-0.008558916859328747,
0.028657758608460426,
-0.02468308061361313,
-0.03326704725623131,
-0.07802391797304153,
-0.002598988125100732,
-0.04235202446579933,
-0.006083093583583832,
-0.027338432148098946,
0.03330044820904732,
-0.01137292105704546,
0.07655429095029831,
-0.04472346976399422,
0.03754233196377754,
0.08336802572011948,
0.02593560516834259,
-0.0017076082294806838,
0.017201334238052368,
-0.016575071960687637,
0.005607134196907282,
-0.019823286682367325,
-0.019789885729551315,
0.05507767200469971,
0.02174382284283638,
0.01637466810643673,
-0.005264777224510908,
0.056246694177389145,
0.030795399099588394,
0.053307436406612396,
-0.04265262931585312,
-0.03770933300256729,
-0.004438111558556557,
0.04412226006388664,
-0.006483901292085648,
-0.04171741008758545,
0.04612629860639572,
0.05601289123296738,
-0.004081142134964466,
0.03206462413072586,
0.008684168569743633,
-0.0772223025560379,
-0.013961471617221832,
0.009076626971364021,
0.012683897279202938,
-0.052338819950819016,
-0.008145583793520927,
-0.03854434937238693,
0.0218106247484684,
-0.011982482858002186,
0.042185019701719284,
-0.0052731274627149105,
-0.01925547420978546,
0.0120325842872262,
-0.027689138427376747,
-0.07254621386528015,
-0.0049182455986738205,
-0.012074334546923637,
0.0005991241778247058,
-0.051470402628183365,
0.00568646052852273,
-0.04823054000735283,
-0.017685644328594208,
0.030862201005220413,
-0.01786934770643711,
0.03368455544114113,
-0.007991105318069458,
0.049733567982912064,
-0.04054838791489601,
0.044790271669626236,
-0.005390029866248369,
0.06967375427484512,
-0.027104627341032028,
0.01838705874979496,
0.05881854519248009,
-0.04061518982052803,
-0.025367794558405876,
0.01668362505733967,
-0.024248871952295303,
0.038310546427965164,
-0.009318781085312366,
0.05043498054146767,
-0.01790274865925312,
-0.008137233555316925,
-0.016833927482366562,
0.04458986595273018,
-0.04612629860639572,
0.03189761936664581,
-0.007870027795433998,
-0.012867600657045841,
0.027705838903784752,
-0.05674770474433899,
-0.02067500166594982,
-0.014913390390574932,
0.030311089009046555,
-0.0037888861261308193,
-0.028173448517918587,
-0.04175081104040146,
-0.02652011625468731,
0.0063294232822954655,
-0.05664750188589096,
0.02510058879852295,
0.02870785817503929,
0.008262486197054386,
-0.007331442553550005,
-0.05180440843105316,
-0.03238192945718765,
0.0024799981620162725,
-0.001249393098987639,
-0.05384184792637825,
0.03988037630915642,
-0.042051419615745544,
-0.01893816888332367,
-0.004496562294661999,
-0.03964657336473465,
0.00903487578034401,
0.03897855803370476,
0.055144473910331726,
0.03994717821478844,
-0.006425450090318918,
0.04749572277069092,
0.030695198103785515,
-0.02994368225336075,
-0.005995416548103094,
-0.0033880784176290035,
-0.030561594292521477,
0.008053732104599476,
0.03854434937238693,
-0.04646030440926552,
-0.041049398481845856,
-0.030210888013243675,
0.0007118513458408415,
-0.0019382814643904567,
0.0772223025560379,
0.03613950312137604,
-0.005765787325799465,
-0.015815207734704018,
-0.0076696244068443775,
0.015013592317700386,
-0.0259690061211586,
0.03887835517525673,
-0.032081324607133865,
0.027054525911808014,
-0.014479181729257107,
-0.005786662455648184,
-0.014854938723146915,
-0.0010333326645195484,
0.03794313967227936,
-0.018370358273386955,
0.05036817863583565,
-0.0013224569847807288,
-0.051470402628183365,
-0.0086591187864542,
0.012249688617885113,
-0.029626376926898956,
0.006275147199630737,
0.01761884242296219,
-0.0020082141272723675,
0.04061518982052803,
-0.006433800328522921,
0.07795711606740952,
-0.0263197124004364,
-0.028023146092891693,
-0.019856685772538185,
0.04702811688184738,
0.01553130242973566,
0.01952267996966839,
-0.024733182042837143,
-0.031079305335879326,
0.02060820162296295,
0.0282235499471426,
-0.0605887807905674,
-0.02464967966079712,
0.05096939206123352,
0.012667196802794933,
-0.04549168422818184,
-0.004056091420352459,
-0.004308683797717094,
0.011656827293336391,
0.044790271669626236,
-0.026252910494804382,
-0.038210343569517136,
-0.03500388190150261,
0.00019753353262785822,
0.023564158007502556,
-0.025751901790499687,
0.037141524255275726,
-0.014838239178061485,
-0.0796271488070488,
0.0029684826731681824,
0.02939257211983204,
0.03961317241191864,
0.0626596212387085,
-0.016458170488476753,
-0.019238773733377457,
-0.007151914294809103,
-0.013351909816265106,
-0.027889542281627655,
-0.025701800361275673,
-0.04228522256016731,
0.020107191056013107,
0.058117132633924484,
0.012408341281116009,
0.007761476095765829,
-0.003861950244754553,
0.024632979184389114,
0.027889542281627655,
-0.018954869359731674,
0.06609988957643509,
0.07902593910694122,
-0.047896530479192734,
0.016115814447402954,
0.05033477768301964,
0.034469470381736755,
0.01182383019477129,
0.061991605907678604,
0.06730230897665024,
0.010980463586747646,
0.04993396997451782,
-0.029759978875517845,
0.06523147225379944,
-0.020975608378648758,
-0.07869192957878113,
-0.06586608290672302,
0.0022294933442026377,
0.021660322323441505,
0.03181412070989609,
0.09044896066188812,
-0.013560663908720016,
0.005156225524842739
] |
729,987 | mmengine.fileio.handlers.base | dump_to_path | null | def dump_to_path(self, obj, filepath, mode='w', **kwargs):
with open(filepath, mode) as f:
self.dump_to_fileobj(obj, f, **kwargs)
| (self, obj, filepath, mode='w', **kwargs) | [
-0.02110276184976101,
0.012186586856842041,
-0.05267084017395973,
0.0038857655599713326,
0.04530381038784981,
-0.07704401761293411,
-0.007866200990974903,
0.075804702937603,
-0.064031220972538,
-0.04337598755955696,
-0.02939927950501442,
-0.027385395020246506,
-0.0035286021884530783,
-0.009673533961176872,
-0.023116646334528923,
0.04385794326663017,
-0.0212576761841774,
-0.0368695892393589,
-0.005804980639368296,
0.11622010916471481,
0.007513340562582016,
-0.025715764611959457,
0.0033414140343666077,
0.017126629129052162,
0.028745198622345924,
0.0025345690082758665,
-0.03542372211813927,
0.053531475365161896,
-0.006764588411897421,
0.01735900156199932,
0.00448820972815156,
-0.08255207538604736,
0.033736880868673325,
0.035940103232860565,
-0.01900281384587288,
-0.016248783096671104,
0.01779792457818985,
0.080417700111866,
-0.04520053416490555,
-0.04189569503068924,
-0.0008703168132342398,
0.0855126604437828,
-0.03060416877269745,
0.027643585577607155,
0.01538814790546894,
-5.084804683974653e-7,
-0.044718578457832336,
0.023288773372769356,
0.029536981135606766,
-0.04495955631136894,
0.033840157091617584,
-0.022015035152435303,
-0.037523671984672546,
-0.011515292339026928,
-0.017195479944348335,
0.017040565609931946,
0.039692472666502,
0.012203799560666084,
-0.025819040834903717,
-0.02494119293987751,
-0.01131734624505043,
-0.017100811004638672,
0.06041655316948891,
-0.028745198622345924,
-0.008051237091422081,
-0.00008586175681557506,
-0.09170923382043839,
0.01815939135849476,
-0.030586956068873405,
0.030311552807688713,
0.006906593218445778,
-0.07972919940948486,
0.0660623162984848,
-0.006506398320198059,
-0.0096046831458807,
0.010456711053848267,
-0.04530381038784981,
-0.023942856118083,
0.015706581994891167,
0.0065451269038021564,
-0.0670950785279274,
-0.06358368694782257,
-0.04977910965681076,
-0.02005278691649437,
-0.03810890391469002,
-0.007569281850010157,
0.04798898845911026,
-0.007121752016246319,
0.0010714901145547628,
0.014114408753812313,
-0.007410064339637756,
0.026111656799912453,
-0.047885712236166,
-0.015508636832237244,
-0.010869815945625305,
-0.040656380355358124,
0.020276552066206932,
0.024028919637203217,
-0.005843709222972393,
-0.011489473283290863,
-0.07511619478464127,
-0.10713180154561996,
-0.02199782244861126,
-0.0010575049091130495,
-0.00712605519220233,
-0.06609674543142319,
0.05511504411697388,
0.00314992293715477,
-0.0013823944609612226,
0.010336222127079964,
-0.06685410439968109,
0.01281485054641962,
-0.026903439313173294,
-0.005077744368463755,
0.026438696309924126,
-0.04936600476503372,
0.024717427790164948,
-0.0056027318350970745,
0.014820128679275513,
-0.09391245245933533,
0.02194618433713913,
-0.0509495735168457,
-0.040553104132413864,
0.051741357892751694,
0.029640257358551025,
0.005417695268988609,
0.03413277119398117,
0.03155086562037468,
0.018021689727902412,
-0.0141488341614604,
-0.04110391065478325,
0.014493088237941265,
-0.026817375794053078,
-0.006515004672110081,
0.014665214344859123,
-0.002568994415923953,
-0.016093868762254715,
-0.03291067108511925,
-0.005284296814352274,
0.017599979415535927,
0.05177578330039978,
-0.08633887022733688,
-0.0058092838153243065,
-0.03590567782521248,
0.05115612596273422,
0.034459810703992844,
-0.01910609006881714,
-0.006385909393429756,
-0.03315164893865585,
-0.013735729269683361,
0.03649090975522995,
0.05828218162059784,
-0.05218888819217682,
-0.0014899737434461713,
0.017505308613181114,
-0.04396121948957443,
-0.01223822496831417,
0.03260084241628647,
0.007866200990974903,
-0.014665214344859123,
0.0010203899582847953,
0.054151132702827454,
0.013925069011747837,
0.003203712636604905,
0.04086293280124664,
0.031309887766838074,
0.029812384396791458,
0.04117276147007942,
0.029950086027383804,
-0.004103075712919235,
-0.03759252279996872,
-0.036249931901693344,
-0.04630214348435402,
0.06706065684556961,
0.00593407591804862,
0.035458147525787354,
0.01764301024377346,
0.010559987276792526,
0.025164958089590073,
0.067611463367939,
0.029364854097366333,
-0.023133859038352966,
0.020913422107696533,
0.05335934832692146,
0.037041716277599335,
-0.019570833072066307,
-0.012203799560666084,
0.0271444171667099,
0.00804263073951006,
0.0282976683229208,
0.06447874754667282,
0.04757588356733322,
0.013503357768058777,
-0.012943945825099945,
0.03249756619334221,
-0.043789092451334,
0.006906593218445778,
-0.09528946876525879,
-0.032790180295705795,
0.09797465056180954,
0.03886626288294792,
-0.018348731100559235,
-0.0026808769907802343,
-0.027213267982006073,
0.029433704912662506,
0.033048372715711594,
0.034459810703992844,
-0.006506398320198059,
-0.044925130903720856,
0.029915660619735718,
0.03485570475459099,
-0.03490734100341797,
-0.005916863214224577,
-0.010112456977367401,
0.08165701478719711,
0.041654717177152634,
-0.06840324401855469,
0.06489185243844986,
-0.01692868396639824,
0.031895119696855545,
-0.01175626926124096,
0.04010557383298874,
-0.095771424472332,
0.022032247856259346,
0.008472948335111141,
0.002874519908800721,
0.011377590708434582,
-0.050536468625068665,
0.011041942983865738,
-0.03938264399766922,
0.015964772552251816,
-0.019983937963843346,
-0.015844283625483513,
0.019295429810881615,
0.01021573320031166,
0.04279075562953949,
-0.036146655678749084,
-0.012358713895082474,
-0.005572609603404999,
-0.024235472083091736,
0.03470078855752945,
-0.04747260734438896,
0.0018686529947444797,
-0.030948422849178314,
0.038522008806467056,
0.007926445454359055,
0.02284124493598938,
-0.0632394328713417,
-0.013460326008498669,
-0.04389236867427826,
0.10300076007843018,
0.012513628229498863,
-0.04464972764253616,
0.04217109829187393,
-0.031895119696855545,
-0.054151132702827454,
0.02745424583554268,
-0.023925643414258957,
-0.0019461101619526744,
0.008795686066150665,
-0.021085549145936966,
-0.00820615142583847,
0.021119974553585052,
-0.0419989712536335,
0.012401745654642582,
-0.0018256213515996933,
-0.04151701554656029,
-0.07883413881063461,
0.0031692872289568186,
-0.0015878709964454174,
-0.05645763501524925,
0.04079408198595047,
-0.02278960682451725,
0.03580240160226822,
-0.047541458159685135,
-0.014475875534117222,
-0.07077859342098236,
-0.0069410186260938644,
-0.001363030169159174,
0.035733550786972046,
0.011282920837402344,
-0.00816742330789566,
0.041654717177152634,
-0.01769464835524559,
0.012875095009803772,
-0.010852603241801262,
0.0096046831458807,
0.031688567250967026,
0.014639395289123058,
-0.03113776259124279,
-0.00022927844838704914,
0.042549777776002884,
-0.003760973457247019,
0.03538929671049118,
-0.014906192198395729,
0.024028919637203217,
-0.008916174992918968,
-0.059349365532398224,
0.04179241880774498,
-0.00301867607049644,
0.018124965950846672,
0.01927821710705757,
0.06410007178783417,
0.03280739486217499,
-0.010164095088839531,
0.025164958089590073,
0.009802629239857197,
-0.030380403622984886,
-0.030586956068873405,
0.028590284287929535,
0.006183660123497248,
-0.035354871302843094,
0.02079293318092823,
0.08172586560249329,
0.05714614316821098,
0.03161971643567085,
-0.022135524079203606,
-0.025078894570469856,
0.004927133675664663,
0.012401745654642582,
-0.04692180082201958,
-0.016042230650782585,
0.00006021080844220705,
-0.0030315855983644724,
0.09673533588647842,
-0.051018424332141876,
-0.014742671512067318,
0.029588619247078896,
0.00025375274708494544,
-0.011945609003305435,
0.0017266483046114445,
0.009355098940432072,
0.06244765222072601,
0.04175799340009689,
0.04688737541437149,
0.026387058198451996,
-0.023546963930130005,
-0.004690458998084068,
0.00027069650241173804,
0.07497849315404892,
0.0455792136490345,
0.024373173713684082,
-0.02263469249010086,
-0.006334271281957626,
-0.025010043755173683,
0.035148318856954575,
-0.01833151839673519,
-0.018555283546447754,
0.023133859038352966,
0.014209078624844551,
-0.06268862634897232,
0.038522008806467056,
0.009269035421311855,
0.02729933150112629,
-0.04530381038784981,
0.00732400082051754,
0.03938264399766922,
0.013968100771307945,
-0.03439095988869667,
-0.06258535385131836,
-0.04819554090499878,
-0.018124965950846672,
-0.024769065901637077,
-0.043789092451334,
0.07422113418579102,
0.02315107174217701,
0.023185497149825096,
0.022927308455109596,
-0.016997534781694412,
-0.008472948335111141,
-0.012935339473187923,
0.010043606162071228,
0.03093121014535427,
0.0017944233259186149,
0.008318034000694752,
0.03093121014535427,
0.0029519768431782722,
-0.014277929440140724,
0.01362384669482708,
0.03335820138454437,
0.04440874978899956,
-0.0018643498187884688,
0.04489070549607277,
0.017987264320254326,
0.02025933936238289,
-0.01307304110378027,
0.01079235877841711,
0.03003614954650402,
-0.002497992245480418,
-0.009742384776473045,
0.042239949107170105,
0.027385395020246506,
0.015766827389597893,
-0.0355958491563797,
0.03208446130156517,
-0.017918413504958153,
0.03485570475459099,
0.05497734248638153,
-0.011179644614458084,
0.024769065901637077,
-0.01779792457818985,
-0.05015778914093971,
-0.07256871461868286,
0.03397785499691963,
-0.021016698330640793,
0.040139999240636826,
-0.037730224430561066,
0.04878077283501625,
0.057628098875284195,
-0.023478113114833832,
0.0338057316839695,
-0.0025001438334584236,
0.025509212166070938,
0.00882150512188673,
0.021825695410370827,
0.006751678884029388,
-0.00022134448227006942,
-0.005486546084284782,
-0.02358138933777809,
-0.006665615364909172,
0.009260429069399834,
0.03566469997167587,
0.019295429810881615,
-0.007986689917743206,
-0.023288773372769356,
-0.08344713598489761,
-0.01383900549262762,
-0.02872798591852188,
0.0719490572810173,
0.03370245546102524,
-0.01790120080113411,
-0.04678409919142723,
-0.018038902431726456,
-0.0035823918879032135,
0.05921166390180588,
0.005456423852592707,
0.039417069405317307,
-0.025595275685191154,
0.0000214486299228156,
0.0670950785279274,
0.08179471641778946,
-0.031309887766838074,
-0.02745424583554268,
-0.01115382555872202,
-0.054942917078733444,
-0.0096046831458807,
0.01838315650820732,
0.0005287524545565248,
0.07249986380338669,
0.05749039724469185,
0.04461530223488808,
-0.054323259741067886,
0.04447760060429573,
-0.01672213152050972,
-0.07408343255519867,
-0.03490734100341797,
0.029278790578246117,
-0.050226639956235886,
0.04079408198595047,
0.005908256862312555,
-0.008163119666278362,
-0.0034231743775308132,
0.06430662423372269,
-0.05755924805998802,
-0.038522008806467056,
0.010129669681191444,
-0.05769694969058037,
0.049538131803274155,
-0.015818465501070023,
-0.05755924805998802,
0.028590284287929535,
-0.009337886236608028,
-0.06468529999256134,
0.015104138292372227,
0.0230477973818779,
0.06547708809375763,
0.0008703168132342398,
0.008038328029215336,
-0.014708246104419231,
-0.01751391589641571,
-0.012143555097281933,
-0.08661427348852158,
-0.010723507963120937,
0.03800562769174576,
0.02468300238251686,
0.04537266120314598,
0.006076080724596977,
0.004230019636452198,
0.021653568372130394,
0.009114121086895466,
0.021911758929491043,
0.016971714794635773,
-0.05952149257063866,
-0.05724941939115524,
0.009062482975423336,
0.040243275463581085,
-0.04626771807670593,
0.04595789313316345,
-0.064031220972538,
-0.023082222789525986,
-0.0225314162671566,
-0.015043893828988075,
-0.050536468625068665,
-0.003631878411397338,
-0.05160365626215935,
0.080417700111866,
-0.01047392375767231,
0.005404785741120577,
-0.03717941790819168,
-0.0029519768431782722,
-0.01491479855030775,
0.0289345383644104,
-0.05570027604699135,
0.04261862859129906,
-0.02440759912133217,
0.034477025270462036,
0.006536520551890135,
-0.0099231181666255,
-0.025491999462246895,
-0.032204948365688324,
-0.012513628229498863,
-0.0030853752978146076,
0.042825181037187576,
-0.03755809739232063,
0.01569797657430172,
0.011885364539921284,
-0.021033911034464836,
0.049744684249162674,
0.020173275843262672,
0.03649090975522995,
0.04399564489722252,
-0.014897585846483707,
0.02499283105134964,
0.01884789951145649,
0.034993406385183334,
0.04578576609492302,
0.03029434010386467,
-0.028469795361161232,
0.02373630367219448,
-0.018865112215280533,
0.0016513427253812551,
-0.04420219734311104,
-0.057937927544116974,
-0.03180905804038048,
0.035733550786972046,
-0.029812384396791458,
-0.02525102160871029,
-0.023340411484241486,
0.01784956268966198,
-0.01843479461967945,
0.064547598361969,
-0.028659135103225708,
0.03631878271698952,
0.060726381838321686,
-0.018727410584688187,
0.011644386686384678,
-0.008748351596295834,
-0.011455047875642776,
0.005077744368463755,
-0.0501922145485878,
-0.0010575049091130495,
0.01620575040578842,
0.022445352748036385,
0.012470596469938755,
0.018779048696160316,
0.026421483606100082,
-0.0009617592440918088,
0.04341041296720505,
-0.026748524978756905,
-0.036835163831710815,
0.012152161449193954,
0.04120718687772751,
0.005641460418701172,
-0.06540823727846146,
0.03361639007925987,
0.012892307713627815,
0.00919157825410366,
0.026903439313173294,
0.02919272892177105,
-0.012470596469938755,
-0.021619142964482307,
-0.0029175514355301857,
-0.03365081548690796,
-0.02547478675842285,
0.01910609006881714,
-0.028641922399401665,
0.07215560972690582,
0.021119974553585052,
-0.009105514734983444,
0.006553732790052891,
-0.011110793799161911,
0.031843483448028564,
-0.006730163004249334,
-0.06058868020772934,
0.016997534781694412,
-0.0035199958365410566,
0.021928971633315086,
-0.03439095988869667,
0.08027999848127365,
-0.027161629870533943,
-0.03082793392241001,
-0.016455335542559624,
-0.04451202601194382,
0.032841820269823074,
-0.0386597104370594,
0.04988238587975502,
-0.026920652016997337,
0.005120776128023863,
-0.008012508973479271,
0.036146655678749084,
-0.028418157249689102,
0.008339550346136093,
0.061346039175987244,
0.00966492760926485,
-0.02158471755683422,
0.03690401464700699,
-0.0027131508104503155,
0.007410064339637756,
-0.06296402961015701,
0.0407252311706543,
-0.013666878454387188,
-0.037041716277599335,
0.02499283105134964,
0.034941766411066055,
-0.0271444171667099,
0.010491136461496353,
-0.0070830234326422215,
-0.023908430710434914,
0.024493662640452385,
-0.011799301020801067,
-0.028538646176457405,
-0.010043606162071228,
0.026972290128469467,
0.013443113304674625,
0.004399994853883982,
-0.037936776876449585,
-0.03742039576172829,
-0.009828448295593262,
-0.058419883251190186,
-0.037144992500543594,
-0.04031212627887726,
-0.0175397340208292,
-0.013408687897026539,
-0.04420219734311104,
-0.023615814745426178,
-0.02373630367219448,
0.013804580084979534,
-0.06296402961015701,
0.018658559769392014,
-0.049125026911497116,
-0.0037394575774669647,
-0.03359917923808098,
-0.07697516679763794,
-0.0077371057122945786,
0.02783292531967163,
0.05229216441512108,
0.07539159804582596,
-0.030535317957401276,
0.047334905713796616,
0.04988238587975502,
-0.017763499170541763,
-0.020345402881503105,
-0.040346551686525345,
-0.015259052626788616,
-0.021963397040963173,
0.04547593742609024,
-0.03607780486345291,
-0.030690232291817665,
-0.04726605489850044,
-0.0014598515117540956,
0.00035823919461108744,
0.0419989712536335,
0.01628320850431919,
0.0009929572697728872,
-0.02929600328207016,
-0.02099948562681675,
-0.020724082365632057,
-0.010981698520481586,
0.02299615927040577,
-0.023822367191314697,
-0.02898617647588253,
-0.002788456389680505,
0.02819439209997654,
-0.030845146626234055,
-0.019398706033825874,
0.027127204462885857,
0.025715764611959457,
0.06520168483257294,
0.035458147525787354,
0.0031068911775946617,
-0.00582649651914835,
-0.034046705812215805,
-0.050846297293901443,
-0.026662461459636688,
-0.031017273664474487,
-0.015465605072677135,
0.06430662423372269,
0.046439845114946365,
0.0893683061003685,
-0.06313616037368774,
-0.02745424583554268,
0.0335475392639637,
0.05291181802749634,
-0.0006126643274910748,
-0.011928396299481392,
-0.080417700111866,
-0.026266569271683693,
-0.009372311644256115,
0.024338748306035995,
-0.03900396451354027,
-0.031636931002140045,
0.014639395289123058,
0.0192093662917614,
-0.06330828368663788,
0.007018475793302059,
0.0029283093754202127,
-0.03890068829059601,
0.017935626208782196,
-0.015250446274876595,
-0.09198463708162308,
-0.005069138016551733,
-0.0007761848974041641,
0.01336565613746643,
-0.0560789555311203,
0.031327102333307266,
-0.02048310451209545,
-0.018262667581439018,
0.04310058429837227,
0.006368696689605713,
-0.011799301020801067,
0.03502783179283142,
-0.026283781975507736,
0.009510013274848461,
0.004131046589463949,
-0.013262379914522171,
0.027213267982006073,
-0.002693786518648267,
-0.008610649965703487,
0.051465954631567,
0.04936600476503372,
0.0023258652072399855,
0.040656380355358124,
-0.0007890944252721965,
0.0013070888817310333,
0.06372138857841492,
0.00035528076114133,
0.05938379094004631,
0.060623105615377426,
-0.07346377521753311,
0.007973779924213886,
0.0419989712536335,
0.024717427790164948,
0.02604280598461628,
0.026111656799912453,
0.06826554238796234,
0.010344828478991985,
0.019295429810881615,
-0.007960870862007141,
0.03266969323158264,
-0.02578461542725563,
-0.06984911113977432,
-0.05511504411697388,
-0.027712436392903328,
0.016988927498459816,
0.05638878419995308,
0.1047220304608345,
-0.05081187188625336,
-0.020775720477104187
] |
729,988 | mmengine.fileio.handlers.base | dump_to_str | null | @abstractmethod
def dump_to_str(self, obj, **kwargs):
pass
| (self, obj, **kwargs) | [
-0.041592709720134735,
-0.04678342863917351,
-0.018636347725987434,
0.0005188100622035563,
-0.006961420644074678,
-0.07762633264064789,
-0.012491208501160145,
0.00996282696723938,
0.03231639787554741,
-0.045577842742204666,
0.005567462183535099,
0.006203743629157543,
-0.0035141988191753626,
0.04567830637097359,
-0.028867082670331,
0.03764106705784798,
-0.037741534411907196,
-0.0057600210420787334,
0.021466124802827835,
-0.0046088541857898235,
-0.014341447502374649,
-0.0024216368328779936,
0.049027156084775925,
0.015404707752168179,
0.007028397638350725,
0.05897323787212372,
0.00966143049299717,
-0.0011396553600206971,
0.009318173862993717,
0.042697831988334656,
-0.051404837518930435,
-0.06871838867664337,
0.05301228538155556,
0.07414352893829346,
-0.015304242260754108,
-0.013772143051028252,
-0.031730350106954575,
0.05361507833003998,
-0.10508689284324646,
-0.01425772625952959,
-0.018184252083301544,
0.04825691878795624,
0.0009214568417519331,
-0.038913629949092865,
-0.0011700042523443699,
-0.02680753916501999,
-0.015639126300811768,
0.030374065041542053,
-0.005605136975646019,
-0.014843774959445,
-0.007396771106868982,
0.0046674590557813644,
-0.029453130438923836,
-0.016258664429187775,
-0.019255883991718292,
0.03234988451004028,
0.03114430047571659,
0.014324703253805637,
-0.0011877950746566057,
0.03129499778151512,
-0.044975049793720245,
0.026321956887841225,
0.0722011923789978,
-0.05217507481575012,
-0.03780851140618324,
-0.05612671747803688,
-0.09403569251298904,
0.010800039395689964,
0.03156290575861931,
0.04015270620584488,
0.03234988451004028,
-0.03392384573817253,
0.011720973066985607,
0.07427748292684555,
-0.0033425702713429928,
0.0026707074139267206,
-0.03519640862941742,
-0.014659588225185871,
-0.0012066323542967439,
-0.0281135905534029,
-0.005266065709292889,
-0.031780581921339035,
-0.041592709720134735,
-0.020561935380101204,
-0.047520171850919724,
-0.0635276734828949,
-0.054887641221284866,
-0.015396335162222385,
0.00026620738208293915,
0.012600045651197433,
-0.016635410487651825,
0.027125680819153786,
-0.06587187200784683,
0.05639462545514107,
-0.06158534064888954,
-0.0340912863612175,
-0.0062581622041761875,
-0.03452663868665695,
0.007300491910427809,
0.004345132037997246,
-0.01972472295165062,
0.0030976857524365187,
-0.04072200879454613,
-0.021214962005615234,
-0.05582531914114952,
-0.04865878075361252,
-0.00405001500621438,
0.00762281846255064,
0.0018711696611717343,
0.0371052511036396,
-0.025601953268051147,
0.03496198728680611,
-0.03827735036611557,
-0.03727269545197487,
0.006040486972779036,
-0.03640199452638626,
-0.007685609627515078,
-0.014793542213737965,
0.01739727333188057,
-0.05713137239217758,
0.012759116478264332,
-0.004529318772256374,
-0.02583637274801731,
0.012457720004022121,
0.026841027662158012,
0.028599174693226814,
-0.008489333093166351,
0.019088441506028175,
0.028348010033369064,
-0.05013227462768555,
0.01661866530776024,
0.0013269815826788545,
-0.04286527261137962,
0.025601953268051147,
0.06406348943710327,
0.013186094351112843,
0.010975854471325874,
-0.017062388360500336,
0.0038721072487533092,
0.020210307091474533,
0.039315491914749146,
-0.03737315908074379,
0.06195371598005295,
0.03965037688612938,
-0.012650278396904469,
0.01644285023212433,
0.018971232697367668,
-0.003756990423426032,
-0.03156290575861931,
-0.00945212785154581,
0.07367468625307083,
0.03124476596713066,
-0.03780851140618324,
-0.017966577783226967,
-0.014115400612354279,
-0.023944273591041565,
0.015027961693704128,
-0.026790795847773552,
-0.012089346535503864,
-0.03496198728680611,
-0.02220287173986435,
-0.06620675325393677,
0.011595391668379307,
-0.035832688212394714,
0.025652186945080757,
0.027226146310567856,
0.02705870382487774,
-0.023877296596765518,
0.017330296337604523,
-0.008740496821701527,
-0.04839087277650833,
-0.047453198581933975,
-0.0806402936577797,
0.04423830285668373,
0.040621545165777206,
0.049228087067604065,
-0.006647466216236353,
0.0656709372997284,
-0.058638352900743484,
0.05826998129487038,
0.04718529060482979,
-0.07916679978370667,
-0.060346268117427826,
0.03837781399488449,
0.0803723856806755,
-0.03427547588944435,
0.006588861346244812,
0.01036468893289566,
0.013520979322493076,
0.02968754991889,
0.02488195151090622,
0.014391680248081684,
-0.03146244212985039,
-0.03241686150431633,
0.01707076095044613,
-0.050802044570446014,
0.0050944373942911625,
-0.021968452259898186,
-0.011687484569847584,
0.09771942347288132,
-0.007940959185361862,
0.023040084168314934,
-0.007915843278169632,
-0.031629882752895355,
0.020913565531373024,
-0.012591673992574215,
0.008233984000980854,
-0.029453130438923836,
-0.020963797345757484,
-0.024965671822428703,
0.044271789491176605,
-0.002553497673943639,
-0.032751746475696564,
0.002513730200007558,
0.08974916487932205,
-0.02630521170794964,
0.008631659671664238,
-0.016233548521995544,
-0.006036301143467426,
0.04182713106274605,
0.05967649817466736,
0.01937309466302395,
-0.046950869262218475,
-0.01345400232821703,
-0.025401022285223007,
-0.024312647059559822,
0.028029870241880417,
-0.05689695104956627,
0.0198754221200943,
-0.060145337134599686,
0.006136766634881496,
-0.04936204105615616,
-0.03323733061552048,
0.07501422613859177,
0.026623353362083435,
0.050400182604789734,
-0.031010346487164497,
-0.06999095529317856,
-0.0340912863612175,
-0.037540603429079056,
-0.00722095649689436,
0.011938648298382759,
-0.022671710699796677,
0.0064046746119856834,
0.02796289324760437,
-0.03368942439556122,
0.011687484569847584,
0.06992397457361221,
-0.031010346487164497,
-0.017665181308984756,
0.09403569251298904,
-0.03479454666376114,
-0.05441880226135254,
-0.015488428995013237,
-0.021248450502753258,
-0.0427648089826107,
-0.00627072062343359,
0.026573119685053825,
0.032751746475696564,
0.008330263197422028,
-0.03151267394423485,
-0.03529687225818634,
-0.02062891237437725,
0.02265496738255024,
0.018284717574715614,
-0.027376843616366386,
-0.03074243851006031,
-0.02700847014784813,
-0.024714509025216103,
0.052710890769958496,
0.03156290575861931,
-0.021064262837171555,
-0.031077323481440544,
0.06932118535041809,
-0.06771373748779297,
-0.013738654553890228,
-0.03256756067276001,
-0.02463078685104847,
-0.02330799214541912,
-0.04072200879454613,
0.025015905499458313,
-0.005743276793509722,
0.03342151641845703,
-0.030976857990026474,
0.013236327096819878,
-0.04711831361055374,
0.03382337838411331,
-0.012759116478264332,
0.022320082411170006,
-0.006224673707038164,
0.03134522959589958,
0.027427077293395996,
-0.02953685261309147,
0.03382337838411331,
0.01514517143368721,
0.0015195404412224889,
0.0025807071942836046,
-0.017003783956170082,
0.010975854471325874,
-0.033103376626968384,
-0.0060990918427705765,
-0.020093096420168877,
-0.006886071525514126,
0.02098054252564907,
-0.013403769582509995,
0.001538377720862627,
-0.01734703965485096,
0.011888415552675724,
-0.03988479822874069,
0.009209335781633854,
-0.008740496821701527,
0.011813066899776459,
0.016066106036305428,
0.08077424764633179,
0.0366029255092144,
0.034660592675209045,
-0.015890290960669518,
0.023324737325310707,
0.00617025513201952,
0.07126351445913315,
-0.059442076832056046,
-0.001352097955532372,
-0.007124677300453186,
-0.01922239549458027,
0.07688958197832108,
-0.026321956887841225,
-0.05133786052465439,
0.05036669597029686,
0.04966343566775322,
0.019741468131542206,
-0.041291315108537674,
0.009142358787357807,
0.08204681426286697,
0.023776831105351448,
-0.006768861785531044,
-0.013202838599681854,
-0.017983321100473404,
-0.043568532913923264,
-0.027175912633538246,
0.0073674689047038555,
0.0660393089056015,
0.025066137313842773,
0.009167475625872612,
0.007287933491170406,
-0.010682829655706882,
0.03894712030887604,
-0.025350790470838547,
0.014550751075148582,
0.06024580076336861,
0.02603730373084545,
-0.044171325862407684,
-0.04085596278309822,
0.0007555841584689915,
-0.0020898913498967886,
-0.039315491914749146,
0.020645657554268837,
0.01362981740385294,
0.03640199452638626,
-0.042697831988334656,
-0.05733230337500572,
0.026271723210811615,
-0.036134086549282074,
-0.009812128730118275,
0.009301429614424706,
0.021817754954099655,
0.015614010393619537,
0.024898694828152657,
-0.008183751255273819,
0.07548306882381439,
-0.027226146310567856,
-0.03814339637756348,
0.004077224060893059,
-0.03429221734404564,
-0.05324670672416687,
-0.054083917289972305,
0.036033619195222855,
0.026539631187915802,
0.019356349483132362,
-0.03656943514943123,
0.009117242880165577,
0.05505508556962013,
-0.033605705946683884,
0.019054953008890152,
-0.0073297941125929356,
0.05689695104956627,
-0.014517262578010559,
0.0454103983938694,
0.0711965411901474,
-0.015932152047753334,
-0.004566993564367294,
-0.01759820431470871,
0.01522052101790905,
-0.06600582599639893,
-0.027527542784810066,
-0.004058387130498886,
-0.051203906536102295,
0.003976758569478989,
0.013939585536718369,
-0.08579752594232559,
0.05753323435783386,
0.008757241070270538,
-0.025819629430770874,
-0.017916344106197357,
-0.0035644315648823977,
-0.036134086549282074,
0.03553129360079765,
0.040219683200120926,
-0.04514249041676521,
0.02543451078236103,
0.007798633072525263,
0.055189039558172226,
-0.01152841467410326,
-0.0815109983086586,
-0.05167274549603462,
0.05344763770699501,
-0.017916344106197357,
0.0091507313773036,
0.0008858753135427833,
-0.0064172325655817986,
0.0010470387060195208,
-0.00000672059150019777,
0.06557047367095947,
-0.006103278137743473,
0.056361135095357895,
-0.0011720972834154963,
-0.0022353569511324167,
-0.044774118810892105,
0.01922239549458027,
0.08633334189653397,
0.03988479822874069,
-0.009041893295943737,
-0.02603730373084545,
-0.08914637565612793,
0.0005766300018876791,
0.04688389226794243,
-0.012725627981126308,
0.03059173934161663,
-0.044874582439661026,
0.0014588425401598215,
0.08412309736013412,
0.024446601048111916,
-0.03353872895240784,
-0.008355379104614258,
0.019707979634404182,
0.023743342608213425,
-0.026104280725121498,
-0.025601953268051147,
0.007095374632626772,
0.016886573284864426,
0.026640096679329872,
0.05569136515259743,
0.049529481679201126,
0.008451659232378006,
-0.044171325862407684,
-0.050232741981744766,
-0.0783630758523941,
0.0805063396692276,
-0.026355445384979248,
0.004956297110766172,
0.01952379196882248,
-0.0006006998592056334,
0.010230734944343567,
-0.02908475697040558,
-0.009753524325788021,
0.01652657240629196,
0.034359194338321686,
-0.04015270620584488,
0.02851545251905918,
-0.037239205092191696,
-0.004671644885092974,
0.06108301505446434,
0.010289340279996395,
-0.03630152717232704,
-0.030072668567299843,
-0.002463497454300523,
0.07206723839044571,
-0.00022526245447807014,
-0.015036334283649921,
-0.01304376870393753,
-0.03248383849859238,
-0.04246341064572334,
-0.05970998480916023,
0.013077257201075554,
0.01026422344148159,
-0.00443722540512681,
0.02315729483962059,
0.046950869262218475,
0.0355982705950737,
0.023961016908288002,
0.032081976532936096,
-0.02993871457874775,
0.07079467922449112,
-0.06165231764316559,
-0.028297778218984604,
0.023961016908288002,
0.01383074838668108,
-0.07501422613859177,
0.004045828711241484,
-0.06952211260795593,
-0.025015905499458313,
-0.003122802125290036,
-0.0211312398314476,
0.03049127385020256,
0.003179313847795129,
-0.007664679083973169,
-0.02290613017976284,
0.04393690451979637,
0.06536953896284103,
-0.009318173862993717,
-0.003535129129886627,
0.00677723390981555,
-0.0023525666911154985,
-0.0022395430132746696,
0.028599174693226814,
0.003556059440597892,
-0.031730350106954575,
-0.00983724556863308,
0.01794983260333538,
-0.03151267394423485,
-0.0023483806289732456,
0.017882855609059334,
0.011084691621363163,
-0.040420614182949066,
-0.05187367647886276,
-0.004160945303738117,
-0.010800039395689964,
-0.03209872171282768,
0.047922033816576004,
-0.001383493421599269,
0.06764675676822662,
0.0039055957458913326,
0.020361004397273064,
0.0439034178853035,
-0.0006373279029503465,
0.020813100039958954,
0.09617895632982254,
-0.022922875359654427,
0.013395397923886776,
0.04996483400464058,
0.0007770376978442073,
0.03533036261796951,
-0.04192759469151497,
-0.025568464770913124,
-0.0713304951786995,
-0.015304242260754108,
-0.027694985270500183,
0.0355982705950737,
0.016953550279140472,
0.0049855997785925865,
-0.006781420204788446,
0.03139546513557434,
-0.05194065347313881,
0.021164728328585625,
0.063896045088768,
0.028950802981853485,
-0.002142217243090272,
-0.007484678644686937,
0.01815076358616352,
0.0049353670328855515,
0.009946082718670368,
-0.022521013393998146,
0.03677036613225937,
0.024747997522354126,
0.019808445125818253,
-0.006120022386312485,
0.07240212708711624,
0.01435819175094366,
0.04423830285668373,
-0.02973778359591961,
-0.05036669597029686,
-0.0066139777190983295,
-0.016878200694918633,
-0.011461437679827213,
-0.0224540363997221,
0.024798229336738586,
0.06985700130462646,
0.0070995609275996685,
-0.0010213990462943912,
0.0164177343249321,
-0.0454103983938694,
-0.006212115753442049,
0.02133217081427574,
0.020511703565716743,
-0.05143832787871361,
0.01967449113726616,
-0.012960047461092472,
0.01514517143368721,
-0.009946082718670368,
0.04202806204557419,
-0.03770804405212402,
-0.022437291219830513,
0.0027900103013962507,
-0.011494926176965237,
-0.058537889271974564,
0.03512943163514137,
-0.047721102833747864,
0.00200617010705173,
-0.030960112810134888,
0.013286559842526913,
-0.05649508908390999,
0.007463748101145029,
0.05167274549603462,
0.02422892488539219,
0.03516291826963425,
0.030273599550127983,
0.049328550696372986,
-0.03954991325736046,
0.06684303283691406,
-0.00864840392023325,
0.07226817309856415,
-0.02998894639313221,
0.024195436388254166,
0.04946250468492508,
-0.0656709372997284,
-0.02866615168750286,
-0.01669401489198208,
-0.021147985011339188,
0.021549846976995468,
-0.009594453498721123,
0.037540603429079056,
0.009435383602976799,
0.03646897152066231,
-0.044070858508348465,
0.03516291826963425,
-0.061417900025844574,
0.04028666019439697,
-0.01435819175094366,
-0.018267974257469177,
0.042597364634275436,
-0.0774923786520958,
-0.0026016375049948692,
-0.0020762865897268057,
0.02650614269077778,
-0.025518232956528664,
-0.06747931987047195,
-0.04212852567434311,
-0.0030097784474492073,
0.031730350106954575,
-0.060547199100255966,
0.04370248690247536,
0.04005223885178566,
0.026455910876393318,
-0.049328550696372986,
-0.023626133799552917,
-0.042898762971162796,
0.025668930262327194,
-0.003648152807727456,
-0.05629415810108185,
0.030926624312996864,
-0.04808947816491127,
-0.024898694828152657,
0.012089346535503864,
-0.013872608542442322,
0.02382706291973591,
0.01604936085641384,
0.07153142243623734,
0.02998894639313221,
0.010649341158568859,
0.01569773256778717,
0.017112620174884796,
-0.035631757229566574,
0.00945212785154581,
-0.010247479192912579,
-0.03136197477579117,
0.01820099726319313,
0.03300291299819946,
-0.0650346577167511,
-0.024111716076731682,
0.007740028202533722,
-0.052409492433071136,
0.005086065270006657,
0.05970998480916023,
0.025166602805256844,
-0.024446601048111916,
-0.03787548840045929,
0.017037272453308105,
0.0060781617648899555,
0.007124677300453186,
0.034359194338321686,
-0.04514249041676521,
0.04115736111998558,
-0.016752619296312332,
-0.04273131862282753,
-0.026472654193639755,
-0.013127489946782589,
0.03199825808405876,
-0.0371052511036396,
0.04343457892537117,
0.0164177343249321,
-0.0764877200126648,
-0.0029700107406824827,
-0.03948293626308441,
-0.0306922048330307,
0.011034458875656128,
0.06791466474533081,
-0.005483740940690041,
0.0035183848813176155,
-0.036033619195222855,
0.07488027215003967,
-0.023140549659729004,
0.004026991315186024,
-0.008765613660216331,
0.03462710231542587,
0.018334951251745224,
0.0562271811068058,
-0.007966076023876667,
-0.007987005636096,
0.021817754954099655,
0.04363550990819931,
-0.05776765197515488,
0.0018209369154646993,
0.055758342146873474,
0.011511670425534248,
-0.06674256920814514,
-0.02320752665400505,
-0.024764740839600563,
0.03186430409550667,
0.0537155456840992,
-0.03377314656972885,
0.008104215376079082,
-0.03248383849859238,
-0.02412845939397812,
0.04236294701695442,
-0.018016809597611427,
0.03109406679868698,
0.03817688301205635,
-0.06801513582468033,
0.0025974514428526163,
0.03576571121811867,
0.023224271833896637,
0.027376843616366386,
0.002821405651047826,
-0.02007635310292244,
0.0012715163175016642,
0.0015708196442574263,
-0.02325776033103466,
-0.033806636929512024,
-0.047922033816576004,
0.015990756452083588,
0.04711831361055374,
0.008196309208869934,
0.020662400871515274,
0.020294027402997017,
0.018267974257469177,
0.04879273474216461,
-0.01574796438217163,
0.06771373748779297,
0.08707008510828018,
-0.025652186945080757,
-0.024212181568145752,
0.06784769147634506,
0.05103646591305733,
-0.006953048519790173,
0.046649474650621414,
0.061819761991500854,
-0.01423261035233736,
0.021549846976995468,
0.01554703339934349,
0.03626804053783417,
-0.016082849353551865,
-0.08921334892511368,
-0.06041324511170387,
0.009427011013031006,
0.020294027402997017,
-0.00453769089654088,
0.09256219863891602,
-0.004386992659419775,
-0.0030830344185233116
] |
729,989 | mmengine.fileio.handlers.base | load_from_fileobj | null | @abstractmethod
def load_from_fileobj(self, file, **kwargs):
pass
| (self, file, **kwargs) | [
-0.016012009233236313,
-0.042922243475914,
-0.05972227826714516,
0.036517441272735596,
-0.039568942040205,
-0.051607292145490646,
0.0006020222208462656,
0.07598578184843063,
-0.016188057139515877,
-0.016657520085573196,
0.03970307484269142,
0.019147343933582306,
-0.018409619107842445,
0.04825399070978165,
-0.05653664469718933,
0.015944942831993103,
-0.04114499315619469,
0.0536528043448925,
-0.06153305992484093,
-0.03551144897937775,
-0.0532839410007,
0.005323364399373531,
0.020639562979340553,
0.01321200281381607,
0.060057610273361206,
0.07705884426832199,
0.005654502660036087,
0.01493056956678629,
0.05009830743074417,
-0.020337766036391258,
-0.03051503375172615,
-0.011845533736050129,
0.02850305289030075,
0.1206517443060875,
0.0016253027133643627,
-0.02736292965710163,
0.012574875727295876,
0.04446476325392723,
-0.1120002269744873,
0.033030007034540176,
-0.020907826721668243,
0.016925783827900887,
0.07162649184465408,
-0.009540139697492123,
-0.017420394346117973,
0.0022467111703008413,
-0.025770112872123718,
0.005256298463791609,
-0.012197629548609257,
0.014008412137627602,
-0.00483294390141964,
-0.0014544939622282982,
-0.02327190339565277,
-0.009045527316629887,
-0.021612020209431648,
0.08161932975053787,
-0.023389270529150963,
0.06981571018695831,
-0.00464432081207633,
0.046040814369916916,
-0.015743745490908623,
-0.034773726016283035,
0.07095583528280258,
-0.06428276747465134,
-0.038395289331674576,
-0.036986902356147766,
-0.036383308470249176,
-0.008094028569757938,
0.020471898838877678,
0.03950187936425209,
0.018409619107842445,
0.026776103302836418,
0.06740133464336395,
0.029877906665205956,
0.05600011348724365,
0.011510203592479229,
-0.06280731409788132,
-0.010378464125096798,
0.01062996219843626,
0.025451550260186195,
-0.022685077041387558,
-0.032376114279031754,
-0.03933421149849892,
-0.011853916570544243,
-0.04634261131286621,
-0.06817259639501572,
0.024378493428230286,
-0.043492306023836136,
0.0020528484601527452,
0.016422787681221962,
-0.03926714509725571,
0.04922644793987274,
-0.05891748517751694,
0.02025393396615982,
-0.029140179976820946,
-0.07410793751478195,
0.019801238551735878,
0.004841327201575041,
-0.0469462051987648,
-0.017143748700618744,
-0.03333180397748947,
-0.05388753488659859,
-0.011485053226351738,
-0.05123842880129814,
-0.012767691165208817,
-0.04251984879374504,
0.005050908774137497,
-0.014243142679333687,
-0.006962289568036795,
0.019264711067080498,
-0.04302284121513367,
-0.014670688658952713,
-0.03909948095679283,
0.0626731812953949,
-0.025736579671502113,
-0.042888712137937546,
-0.013136553578078747,
0.0074191768653690815,
-0.007574267219752073,
-0.012641942128539085,
-0.02092459425330162,
0.015567696653306484,
-0.05291507765650749,
0.05150669440627098,
0.052210886031389236,
-0.017319796606898308,
0.012826373800635338,
-0.014871886931359768,
0.047382134944200516,
-0.0640145018696785,
0.031638387590646744,
-0.0204551313072443,
-0.031219225376844406,
-0.028000056743621826,
0.010168883018195629,
-0.004459889605641365,
0.03926714509725571,
-0.006249713245779276,
-0.02910664677619934,
0.012256313115358353,
0.07933908700942993,
-0.004791027866303921,
0.07625404745340347,
-0.006425761617720127,
-0.05653664469718933,
0.039736609905958176,
0.015140150673687458,
-0.06096300110220909,
-0.0710228979587555,
0.026776103302836418,
0.03896534815430641,
-0.0107305608689785,
-0.0482875257730484,
-0.004589829593896866,
0.010386847890913486,
-0.08363130688667297,
-0.006631151307374239,
-0.02696053497493267,
-0.0519426204264164,
-0.016422787681221962,
-0.007821572944521904,
-0.001112876576371491,
0.020622797310352325,
-0.006069473456591368,
0.00333024631254375,
0.019750939682126045,
-0.011074273847043514,
-0.06471869349479675,
-0.012449127621948719,
-0.01623835600912571,
-0.0412120595574379,
-0.03859648481011391,
-0.06344444304704666,
0.04003840684890747,
0.03799289092421532,
-0.007917980663478374,
-0.004137134179472923,
-0.0035817439202219248,
0.01267547532916069,
0.08597861975431442,
0.023439569398760796,
-0.017453927546739578,
-0.02327190339565277,
0.027664728462696075,
0.05425639823079109,
0.0526132807135582,
0.015073085203766823,
0.04526955261826515,
0.05244561657309532,
0.018728181719779968,
0.018812015652656555,
0.003590127220377326,
-0.028871916234493256,
-0.02214854769408703,
0.02825155481696129,
-0.06451749801635742,
0.0016756022814661264,
0.020505432039499283,
-0.04298930987715721,
0.1288338005542755,
-0.0010248523904010653,
0.02442879229784012,
0.024328194558620453,
-0.029207246378064156,
-0.029727008193731308,
0.024378493428230286,
0.03214138373732567,
-0.017470695078372955,
-0.0536528043448925,
0.02883838303387165,
0.014662305824458599,
-0.04365997016429901,
-0.02092459425330162,
0.02253417856991291,
0.09664211422204971,
-0.011929365806281567,
-0.036316242069005966,
0.012792840600013733,
-0.023389270529150963,
0.036919835954904556,
0.11186610162258148,
0.09127683192491531,
-0.0757845863699913,
-0.019683873280882835,
0.027379697188735008,
-0.023590467870235443,
0.04003840684890747,
-0.035243187099695206,
-0.035243187099695206,
0.004874860402196646,
-0.028385687619447708,
-0.04915938153862953,
0.009900619275867939,
0.04500129073858261,
0.06954745203256607,
0.05771029740571976,
0.010571279563009739,
-0.00040239605004899204,
-0.04936058074235916,
0.006300013046711683,
0.01743716187775135,
0.016447938978672028,
-0.02950904332101345,
-0.017604826018214226,
-0.023691067472100258,
-0.032024018466472626,
0.01409224420785904,
0.049796510487794876,
-0.0469462051987648,
-0.01532458234578371,
0.10341577976942062,
0.027664728462696075,
-0.06471869349479675,
0.03678570315241814,
-0.02836892008781433,
-0.009682654403150082,
0.007155104540288448,
-0.06176779046654701,
0.05606717988848686,
-0.011753317900002003,
-0.001724853878840804,
-0.04697973653674126,
0.04181565344333649,
0.043961767107248306,
0.0034518034663051367,
-0.01334613561630249,
-0.011241938918828964,
-0.0283186212182045,
-0.005947916302829981,
0.00005776583566330373,
0.056167781352996826,
0.02407669648528099,
0.007238937076181173,
0.05536298826336861,
-0.01493056956678629,
-0.025334183126688004,
-0.0070335473865270615,
-0.025451550260186195,
-0.0015194641891866922,
0.007507201284170151,
0.02528388425707817,
0.0031353358644992113,
0.008467082865536213,
0.004388631787151098,
-0.004656895995140076,
-0.047918662428855896,
-0.009246725589036942,
-0.02657490409910679,
-0.04131266102194786,
-0.012331762351095676,
0.019147343933582306,
0.0207904614508152,
-0.06160012632608414,
0.014134161174297333,
0.017554527148604393,
-0.008420975878834724,
-0.05485999211668968,
-0.012851523235440254,
0.03244318068027496,
-0.03608151152729988,
-0.04480009153485298,
-0.04117852821946144,
0.021980883553624153,
-0.018744949251413345,
-0.02248387783765793,
-0.03728869929909706,
-0.008634747937321663,
-0.011325771920382977,
-0.053082745522260666,
0.01637248881161213,
0.047315068542957306,
0.033030007034540176,
-0.017956923693418503,
0.04181565344333649,
0.025803646072745323,
0.024244360625743866,
-0.007628758437931538,
0.04587314650416374,
0.031353358179330826,
0.011451520957052708,
-0.06894385814666748,
0.022249147295951843,
-0.03769109398126602,
-0.03004557080566883,
0.08041214197874069,
-0.013002421706914902,
0.0037494089920073748,
0.015676679089665413,
-0.016540152952075005,
0.009707804769277573,
-0.00918804295361042,
0.06595941632986069,
0.05318334326148033,
0.0012459605932235718,
-0.04258691519498825,
-0.004036535043269396,
-0.028000056743621826,
-0.01133415475487709,
0.05452466383576393,
0.007431752048432827,
0.05972227826714516,
-0.030883895233273506,
0.0070335473865270615,
-0.012256313115358353,
-0.012314995750784874,
-0.00627486314624548,
-0.0016567399725317955,
-0.021360522136092186,
0.07088876515626907,
-0.02094135992228985,
-0.04151385650038719,
-0.051540225744247437,
0.005767676513642073,
-0.010303014889359474,
-0.047180935740470886,
-0.004120367579162121,
-0.002862880239263177,
0.025334183126688004,
-0.0055916281417012215,
-0.07960735261440277,
0.029140179976820946,
-0.02749706245958805,
-0.057978563010692596,
0.008261693641543388,
0.013295835815370083,
0.011602419428527355,
0.00613653939217329,
0.0061407312750816345,
0.00844612531363964,
-0.012926972471177578,
-0.010453913360834122,
-0.030213234946131706,
-0.025200052186846733,
-0.03474019095301628,
0.04111146181821823,
-0.02883838303387165,
0.02789945900440216,
0.01254972629249096,
-0.025652747601270676,
0.0519426204264164,
0.044632427394390106,
0.012851523235440254,
0.006199413910508156,
-0.015609612688422203,
-0.003820666577666998,
-0.0120718814432621,
0.019398842006921768,
0.06673067808151245,
-0.0038248582277446985,
0.004514380358159542,
0.023020407184958458,
0.005964682903140783,
-0.05532945692539215,
-0.03507552295923233,
0.021008426323533058,
-0.04879051819443703,
0.017688659951090813,
0.036047980189323425,
-0.050936631858348846,
0.0004836087755393237,
0.00025555817410349846,
-0.043559372425079346,
-0.042352184653282166,
0.042888712137937546,
-0.0156850628554821,
0.039803676307201385,
0.046040814369916916,
0.0016881771152839065,
0.018342552706599236,
-0.01503116823732853,
0.0570061057806015,
0.02892221510410309,
-0.046711474657058716,
-0.03933421149849892,
0.01616290770471096,
0.05207675322890282,
-0.0015729074366390705,
-0.038194090127944946,
-0.011602419428527355,
0.0015236558392643929,
-0.006333545781672001,
0.06981571018695831,
-0.006450911518186331,
0.0117365512996912,
-0.010864692740142345,
0.004097313620150089,
-0.0019449142273515463,
-0.0059772576205432415,
0.03805995732545853,
0.016867101192474365,
-0.03883121907711029,
0.03527671843767166,
-0.07229715585708618,
-0.00536528043448925,
0.04909231513738632,
-0.05425639823079109,
-0.05023244023323059,
-0.043492306023836136,
0.004539530258625746,
0.035980913788080215,
-0.01737009547650814,
-0.030414434149861336,
0.035310253500938416,
0.023255137726664543,
-0.03251024708151817,
-0.06381330639123917,
-0.02442879229784012,
0.029140179976820946,
-0.019482674077153206,
-0.02092459425330162,
-0.012306611984968185,
0.057307902723550797,
0.033432405441999435,
-0.04594021290540695,
-0.03789229318499565,
-0.05569831654429436,
0.038395289331674576,
-0.011309005320072174,
0.04258691519498825,
0.011451520957052708,
-0.00918804295361042,
0.013916196301579475,
0.014109010808169842,
-0.10556189715862274,
0.03484078869223595,
0.010520979762077332,
-0.034119829535484314,
0.02152818813920021,
-0.023439569398760796,
-0.01281799003481865,
0.022349746897816658,
-0.029827605932950974,
-0.04184918850660324,
-0.06153305992484093,
-0.022618010640144348,
0.06589235365390778,
0.044565360993146896,
0.022232381626963615,
-0.005294023081660271,
-0.046510275453329086,
0.037590496242046356,
-0.07813189923763275,
-0.01669943518936634,
0.026591671630740166,
0.026273107156157494,
-0.013622782193124294,
0.028754550963640213,
0.015383264981210232,
0.025535382330417633,
-0.044565360993146896,
-0.011552119627594948,
0.05714023858308792,
-0.02910664677619934,
0.03080006316304207,
0.05841449275612831,
0.000630315684247762,
-0.009070677682757378,
0.03936774656176567,
-0.019264711067080498,
-0.036919835954904556,
0.004988034255802631,
-0.04510188847780228,
0.006962289568036795,
-0.001433535828255117,
-0.022316213697195053,
0.022450346499681473,
0.003143718931823969,
0.032174915075302124,
-0.0036236601881682873,
-0.027128199115395546,
-0.01582757756114006,
0.013647932559251785,
0.0011506011942401528,
0.02474735677242279,
0.04443122819066048,
0.0049503096379339695,
-0.053753405809402466,
0.05626837909221649,
-0.04959531128406525,
0.056301914155483246,
0.06056060269474983,
-0.05593305081129074,
0.026407239958643913,
-0.04687913879752159,
-0.014461107552051544,
-0.022098248824477196,
-0.04697973653674126,
0.004430547822266817,
0.04533661901950836,
0.03200725093483925,
0.01260840892791748,
-0.05170788988471031,
0.01459523942321539,
-0.010068284347653389,
0.013564099557697773,
0.06559055298566818,
0.01204673107713461,
-0.010680261068046093,
0.012491043657064438,
0.012792840600013733,
0.03500845655798912,
0.007448518183082342,
-0.0007178158266469836,
-0.02461322396993637,
0.006463486235588789,
-0.06079533323645592,
-0.030950961634516716,
-0.016062308102846146,
0.0442635640501976,
0.010738944634795189,
0.06213665381073952,
-0.03207431733608246,
0.0028188680298626423,
0.06243845075368881,
0.04097732901573181,
-0.04855578765273094,
0.010722178034484386,
-0.05553065240383148,
-0.01918087713420391,
-0.007121571339666843,
0.004770069848746061,
0.03588031232357025,
0.00017827506235335022,
0.05472585931420326,
-0.02409346215426922,
0.05606717988848686,
0.013790447264909744,
0.05304921045899391,
-0.04674500599503517,
-0.03896534815430641,
0.010680261068046093,
0.03842882066965103,
-0.020354533568024635,
-0.013270686380565166,
0.03507552295923233,
0.06495342403650284,
0.0008252262487076223,
0.013170086778700352,
-0.008777263574302197,
-0.08188759535551071,
0.016330571845173836,
-0.013958112336695194,
0.020891061052680016,
-0.021511420607566833,
-0.017806025221943855,
-0.024663524702191353,
-0.00875211413949728,
0.034974921494722366,
0.055564187467098236,
-0.008978461846709251,
-0.005050908774137497,
-0.020421598106622696,
-0.0117365512996912,
-0.045504286885261536,
-0.02193058468401432,
0.016481470316648483,
0.012734157964587212,
-0.05009830743074417,
-0.01730302907526493,
-0.05965521186590195,
-0.043626438826322556,
0.010168883018195629,
-0.020354533568024635,
0.035846780985593796,
-0.02664197050035,
0.04889111965894699,
-0.02836892008781433,
0.05321687459945679,
-0.020220400765538216,
0.056301914155483246,
0.020203635096549988,
-0.018225187435746193,
0.04915938153862953,
-0.052210886031389236,
0.002481442177668214,
0.016816800460219383,
-0.021762918680906296,
0.014100627973675728,
0.020404832437634468,
0.007687441073358059,
-0.030230002477765083,
-0.01519883330911398,
0.009364090859889984,
0.0811498686671257,
-0.05720730498433113,
0.027128199115395546,
0.005729951895773411,
-0.014033561572432518,
-0.001524703693576157,
-0.05794502794742584,
0.012851523235440254,
-0.01643117144703865,
0.035243187099695206,
-0.00603594072163105,
-0.007783848326653242,
-0.03997134044766426,
0.026524605229496956,
0.010831160470843315,
-0.02354016900062561,
0.028737783432006836,
0.0405413992702961,
-0.02582041174173355,
-0.011510203592479229,
-0.04164798930287361,
-0.02436172589659691,
0.011619186028838158,
-0.00704612210392952,
-0.027111433446407318,
0.07316901534795761,
-0.008345525711774826,
0.008928162045776844,
0.008529957383871078,
-0.029810840263962746,
0.004883243702352047,
0.037724629044532776,
0.027664728462696075,
0.03681923821568489,
-0.017688659951090813,
0.05137256160378456,
0.029073113575577736,
-0.027681494131684303,
0.012516193091869354,
0.0025967119727283716,
-0.002167070284485817,
0.034371327608823776,
0.005055100191384554,
-0.03251024708151817,
-0.0348743237555027,
0.000357074080966413,
0.035377319902181625,
-0.036450374871492386,
0.06823965907096863,
0.03366713598370552,
0.0025778496637940407,
0.022618010640144348,
-0.011770084500312805,
0.0010337595595046878,
-0.08343011140823364,
0.05291507765650749,
0.021628787741065025,
0.019097045063972473,
0.02214854769408703,
-0.031018028035759926,
-0.0025107834953814745,
-0.016070691868662834,
0.06498695909976959,
-0.018074288964271545,
0.03467312455177307,
0.036919835954904556,
-0.04503482207655907,
-0.024261128157377243,
0.04936058074235916,
-0.028754550963640213,
-0.0004078975471202284,
0.016598837450146675,
-0.018208419904112816,
0.013329369015991688,
-0.040206070989370346,
0.05606717988848686,
0.021410822868347168,
-0.003485336434096098,
-0.04412943124771118,
0.003376354230567813,
0.0018327882280573249,
0.0006077857105992734,
-0.013295835815370083,
-0.06424923241138458,
0.037925828248262405,
-0.011200022883713245,
-0.050467170774936676,
-0.009246725589036942,
0.02836892008781433,
0.0013297931291162968,
-0.04365997016429901,
0.03943481296300888,
0.015131767839193344,
0.0012658708728849888,
0.028955748304724693,
-0.012792840600013733,
-0.034773726016283035,
-0.02382519841194153,
-0.0010138493962585926,
0.02416052855551243,
0.013865896500647068,
0.02266830950975418,
-0.007431752048432827,
-0.07048637419939041,
-0.032493479549884796,
0.011929365806281567,
0.07504685968160629,
0.0690779834985733,
-0.020773695781826973,
-0.05016537383198738,
-0.010177266784012318,
-0.01797368936240673,
-0.07672350853681564,
-0.009766487404704094,
-0.024898255243897438,
0.029877906665205956,
0.03829468786716461,
-0.011753317900002003,
-0.003971565049141645,
-0.04446476325392723,
0.03708750009536743,
0.019499441608786583,
-0.014578472822904587,
0.06166719272732735,
0.04319050908088684,
-0.023389270529150963,
0.06069473549723625,
-0.003300904994830489,
0.04057493433356285,
0.006601809989660978,
0.08269238471984863,
0.026239575818181038,
-0.015643145889043808,
0.026239575818181038,
-0.037523429840803146,
0.04701327160000801,
-0.038797684013843536,
-0.06297498196363449,
-0.06381330639123917,
-0.0018820398254320025,
0.009540139697492123,
0.023774899542331696,
0.04302284121513367,
0.0059772576205432415,
0.033097073435783386
] |
729,990 | mmengine.fileio.handlers.base | load_from_path | null | def load_from_path(self, filepath, mode='r', **kwargs):
with open(filepath, mode) as f:
return self.load_from_fileobj(f, **kwargs)
| (self, filepath, mode='r', **kwargs) | [
0.02389819547533989,
-0.04003793001174927,
-0.05811728164553642,
0.014582703821361065,
0.0034432620741426945,
-0.011379669420421124,
0.032154906541109085,
0.09680281579494476,
0.020855313166975975,
-0.011166133917868137,
-0.004844589624553919,
0.04405951872467995,
-0.03776021674275398,
0.018951287493109703,
-0.023453330621123314,
0.009582411497831345,
-0.015481333248317242,
-0.008821690455079079,
-0.05825963616371155,
0.0038836791645735502,
0.002475678687915206,
0.005689834710210562,
0.00025941242347471416,
0.058829065412282944,
0.016807032749056816,
0.0254463292658329,
-0.01727859117090702,
0.027421534061431885,
0.021033259108662605,
-0.017928095534443855,
0.032279469072818756,
0.025250587612390518,
-0.018150528892874718,
0.07164120674133301,
-0.03035764768719673,
-0.01011625025421381,
-0.0036656949669122696,
0.026816515251994133,
-0.05035882070660591,
-0.013265901245176792,
-0.06822463124990463,
0.02738594450056553,
0.02170945517718792,
0.025570891797542572,
-0.03537573665380478,
-0.01644224300980568,
-0.03242182731628418,
0.004088317509740591,
0.006770859006792307,
0.015241105109453201,
0.05519896000623703,
0.012892213650047779,
-0.023631276562809944,
0.010863625444471836,
-0.03743991255760193,
0.05950526148080826,
-0.03436144068837166,
0.10854727774858475,
-0.01225160714238882,
0.005974548868834972,
-0.028382444754242897,
-0.044878073036670685,
0.0257310438901186,
-0.02638944424688816,
-0.022403446957468987,
-0.006023484282195568,
-0.016406653448939323,
0.01233168225735426,
0.03993116319179535,
0.010890317149460316,
0.0013190273893997073,
0.022207705304026604,
0.045554269105196,
-0.036425620317459106,
0.04074971750378609,
0.03704843297600746,
-0.09267446398735046,
-0.013132440857589245,
0.043632447719573975,
0.05448717623949051,
-0.05228063836693764,
-0.017082849517464638,
-0.027670659124851227,
0.01230499055236578,
-0.026122525334358215,
-0.05107060447335243,
0.07950643450021744,
-0.034041136503219604,
0.02496587485074997,
0.05064353346824646,
-0.009217621758580208,
0.039966750890016556,
-0.06701459735631943,
-0.010098455473780632,
0.014333578757941723,
-0.03425467386841774,
0.04331214353442192,
0.0257310438901186,
-0.0016537889605388045,
-0.016993876546621323,
-0.08391950279474258,
-0.08726489543914795,
-0.02058839425444603,
-0.018737751990556717,
-0.018488626927137375,
-0.015027569606900215,
0.06057294085621834,
-0.003380980808287859,
0.04117678850889206,
-0.005680937319993973,
-0.07843875139951706,
-0.011130544357001781,
-0.0014991980278864503,
0.09779931604862213,
-0.017856916412711143,
-0.03882789611816406,
-0.02211873233318329,
-0.014395860023796558,
0.0020252519752830267,
-0.02460998110473156,
-0.04231564328074455,
-0.005747667513787746,
-0.019147027283906937,
0.055768389254808426,
0.08214003592729568,
0.027528300881385803,
0.007825191132724285,
-0.06576897203922272,
0.060145869851112366,
-0.03414790704846382,
0.039539679884910583,
-0.016584601253271103,
0.014280195347964764,
-0.01852421648800373,
-0.0161130428314209,
-0.019894402474164963,
0.005654245615005493,
0.0013212517369538546,
0.009653589688241482,
0.08982732146978378,
0.0615338496863842,
-0.007985343225300312,
0.03293786942958832,
-0.05213828384876251,
0.03160327300429344,
0.014876315370202065,
0.05879347771406174,
-0.008310094475746155,
-0.06914995610713959,
0.059256136417388916,
0.04188857227563858,
-0.014458141289651394,
0.006766410078853369,
0.039432913064956665,
0.024930285289883614,
-0.06420304626226425,
-0.011780048720538616,
0.02975263074040413,
-0.00409721489995718,
-0.004301853012293577,
-0.011441950686275959,
0.056124281138181686,
-0.005022536031901836,
-0.018613189458847046,
0.02124679461121559,
0.026175908744335175,
-0.037119608372449875,
-0.03295566514134407,
-0.008857280015945435,
-0.02786639891564846,
-0.03879230469465256,
-0.01549912802875042,
-0.016041863709688187,
0.03163886070251465,
0.024574391543865204,
-0.030838103964924812,
0.007518233731389046,
0.03825846686959267,
0.04651517793536186,
0.06776197254657745,
-0.003825846593827009,
-0.025926783680915833,
-0.0002502370625734329,
0.025410739704966545,
0.04779639095067978,
0.07224622368812561,
0.015312284231185913,
0.013132440857589245,
0.053455084562301636,
0.03736873343586922,
0.024930285289883614,
0.00099093874450773,
0.01225160714238882,
0.014244605787098408,
0.009689179249107838,
-0.04530514404177666,
0.004094990435987711,
-0.04430864378809929,
-0.07537807524204254,
0.1443500816822052,
0.024876900017261505,
-0.00894625298678875,
0.01898687705397606,
-0.026994463056325912,
-0.05537690594792366,
0.05341949686408043,
-0.0036590220406651497,
0.01319472212344408,
-0.009884919971227646,
0.046408411115407944,
-0.03921937569975853,
-0.08790550380945206,
-0.005520785693079233,
0.024574391543865204,
0.08214003592729568,
0.026247087866067886,
-0.09787049889564514,
0.05064353346824646,
-0.018951287493109703,
-0.002511268015950918,
0.12164413183927536,
0.07843875139951706,
-0.07402568310499191,
-0.00922651868313551,
0.015303386375308037,
0.010374272242188454,
-0.02468116022646427,
-0.020214706659317017,
-0.04135473445057869,
0.05804610252380371,
-0.00867933314293623,
-0.019947785884141922,
0.057120781391859055,
-0.025232793763279915,
0.04003793001174927,
0.021745044738054276,
0.02685210481286049,
0.04352567717432976,
-0.0032764372881501913,
0.019271589815616608,
0.042564768344163895,
-0.024004964157938957,
-0.009235415607690811,
-0.024876900017261505,
-0.05000292509794235,
0.008052072487771511,
0.010036174207925797,
-0.02158489264547825,
-0.033044639974832535,
-0.05142649635672569,
0.07409686595201492,
0.04736931994557381,
-0.011326286010444164,
0.06473688781261444,
-0.03441482409834862,
-0.023933785036206245,
0.017394255846738815,
-0.06334890425205231,
0.0068776267580688,
-0.018061555922031403,
0.019147027283906937,
-0.015481333248317242,
0.04993174970149994,
-0.0002947236644104123,
-0.007100059650838375,
-0.02580222114920616,
-0.017848020419478416,
-0.025517508387565613,
0.0508926585316658,
-0.0544159971177578,
-0.04772521182894707,
0.06662311404943466,
0.01153982151299715,
0.014360271394252777,
-0.027065640315413475,
-0.011219518259167671,
-0.007842985913157463,
-0.051141783595085144,
0.011735562235116959,
0.05373980104923248,
-0.03023308701813221,
0.005716526880860329,
0.030660158023238182,
0.02010793797671795,
-0.011548718437552452,
-0.0207129567861557,
-0.021691661328077316,
-0.013559512794017792,
-0.026407239958643913,
0.0013701869174838066,
0.019609687849879265,
0.007731769233942032,
-0.03566044941544533,
0.009030777961015701,
0.021727250888943672,
0.017848020419478416,
-0.062032099813222885,
-0.03679930791258812,
0.0632777214050293,
-0.01875554583966732,
0.008305646479129791,
-0.04982497915625572,
0.08363478630781174,
-0.0010571125894784927,
0.04003793001174927,
-0.054522763937711716,
-0.004539856221526861,
-0.05331273004412651,
-0.051035016775131226,
0.05213828384876251,
0.03407672792673111,
-0.001050439546816051,
-0.016522319987416267,
0.03687048703432083,
0.017171824350953102,
0.03485969081521034,
0.008225570432841778,
0.011895714327692986,
0.04338332265615463,
-0.04053618013858795,
-0.04619487375020981,
0.009484540671110153,
-0.029948372393846512,
-0.01570376567542553,
0.03562486171722412,
-0.015374565497040749,
0.004297404550015926,
0.009947201237082481,
-0.017954787239432335,
0.04057176783680916,
0.0224924199283123,
0.027546096593141556,
0.029681451618671417,
0.0028604876715689898,
-0.0071801356971263885,
0.012046968564391136,
-0.015374565497040749,
0.005053676664829254,
0.011699972674250603,
0.025464123114943504,
0.08299417793750763,
-0.018613189458847046,
-0.06359802931547165,
-0.0004440317570697516,
-0.01952071487903595,
0.0014802912482991815,
0.0275105070322752,
-0.029734836891293526,
0.06793992221355438,
-0.06495042145252228,
-0.0384720042347908,
-0.04302743077278137,
-0.0046355025842785835,
0.01040986180305481,
-0.0987958163022995,
-0.010045072063803673,
0.0011811188887804747,
0.05213828384876251,
0.003692386904731393,
-0.04954026639461517,
-0.03099825605750084,
-0.03450379893183708,
-0.07050234824419022,
-0.007433709222823381,
0.04366803541779518,
0.027243588119745255,
0.007705077063292265,
0.01975204609334469,
-0.03751109167933464,
0.016807032749056816,
-0.009591308422386646,
-0.005632002372294664,
-0.016504524275660515,
0.045518677681684494,
0.04195975139737129,
0.004312974866479635,
-0.021015465259552002,
-0.02651400677859783,
-0.02306184731423855,
0.035589270293712616,
0.012233812361955643,
0.033685244619846344,
0.035179995000362396,
0.005476299207657576,
-0.014004378579556942,
0.005187136121094227,
0.001560367178171873,
0.015970686450600624,
-0.004795654211193323,
-0.024805722758173943,
0.013897610828280449,
-0.012936700135469437,
0.020748544484376907,
0.0008024268317967653,
-0.009867125190794468,
-0.01682482846081257,
0.03950409218668938,
0.06616045534610748,
0.042386822402477264,
0.0053784288465976715,
-0.02165607176721096,
-0.041319143027067184,
-0.044344231486320496,
0.044700123369693756,
-0.024859106168150902,
0.05790374428033829,
0.01720741204917431,
0.06964820623397827,
-0.003271988593041897,
-0.022937284782528877,
0.04064294695854187,
0.014636088162660599,
-0.006677437108010054,
-0.026247087866067886,
-0.0009547934168949723,
0.05349067598581314,
0.026727542281150818,
-0.017581099644303322,
0.01911143958568573,
-0.017527716234326363,
-0.008274505846202374,
0.019787635654211044,
-0.012216017581522465,
-0.05277888849377632,
-0.02005455456674099,
-0.00024078365822788328,
0.02343553490936756,
-0.027848605066537857,
0.033809807151556015,
0.015134337358176708,
-0.06954143941402435,
-0.005298352800309658,
-0.0012155961012467742,
-0.048721712082624435,
0.04270712658762932,
-0.015632586553692818,
-0.047191374003887177,
-0.01035647839307785,
0.012936700135469437,
-0.013354874216020107,
0.02017911709845066,
0.0011177255073562264,
0.009537925012409687,
-0.005987894721329212,
-0.05210269242525101,
-0.043988339602947235,
-0.03414790704846382,
0.009324389509856701,
0.012936700135469437,
-0.034699540585279465,
-0.04491366073489189,
-0.011290696449577808,
0.07993350178003311,
-0.012669780291616917,
-0.06701459735631943,
-0.007487093098461628,
-0.020321473479270935,
-0.006076868157833815,
0.034699540585279465,
0.026585185900330544,
-0.010303094051778316,
0.012118146754801273,
0.03429026156663895,
-0.11957994848489761,
-0.009253210388123989,
0.013942097313702106,
-0.021851813420653343,
0.0384364128112793,
-0.05117737129330635,
-0.054273638874292374,
0.02934335358440876,
-0.05021646246314049,
-0.046657536178827286,
-0.03596295788884163,
-0.024236293509602547,
0.03946850076317787,
0.03708402067422867,
0.017243001610040665,
-0.007883023470640182,
-0.017616689205169678,
0.023097436875104904,
-0.057120781391859055,
-0.025072641670703888,
0.019716456532478333,
0.02058839425444603,
-0.0001376303844153881,
0.031976960599422455,
0.02875613048672676,
0.004346339963376522,
-0.014235708862543106,
0.01417342759668827,
0.07779815047979355,
-0.020250296220183372,
-0.006397171411663294,
0.03407672792673111,
0.029681451618671417,
-0.01496528834104538,
-0.0023177512921392918,
0.003567824373021722,
0.02946791611611843,
-0.021335767582058907,
-0.03690607473254204,
-0.01880892924964428,
0.06082206591963768,
-0.012794342823326588,
0.1017853170633316,
-0.005983446259051561,
0.024325266480445862,
-0.00815439224243164,
-0.04441541060805321,
-0.026247087866067886,
0.05053676664829254,
-0.02448541857302189,
0.02946791611611843,
0.0002980601566378027,
0.040500592440366745,
-0.022919490933418274,
0.04235123470425606,
-0.03722637891769409,
0.007100059650838375,
0.024325266480445862,
-0.02697666734457016,
0.011628794483840466,
-0.022794928401708603,
-0.00541401794180274,
-0.01023191586136818,
0.014057761989533901,
-0.010552219115197659,
0.0236668661236763,
0.036354441195726395,
0.04573221504688263,
-0.04359685629606247,
-0.04466453567147255,
0.03722637891769409,
0.011059366166591644,
0.011895714327692986,
-0.010801344178617,
-0.030215291306376457,
0.005093714687973261,
0.006366030778735876,
0.007883023470640182,
-0.021282384172081947,
-0.011522026732563972,
0.03722637891769409,
0.02733256109058857,
-0.06872288137674332,
-0.027777425944805145,
-0.008492490276694298,
0.04772521182894707,
-0.024449829012155533,
0.022154321894049644,
-0.04875730350613594,
-0.007802947890013456,
0.02466336451470852,
0.01538346242159605,
-0.023827016353607178,
-0.03590957447886467,
-0.0644521713256836,
-0.022047553211450577,
-0.06484365463256836,
0.055056601762771606,
-0.002887179609388113,
-0.039432913064956665,
0.037475503981113434,
-0.023915991187095642,
0.023631276562809944,
-0.030161907896399498,
0.053277138620615005,
-0.0479031577706337,
-0.013025673106312752,
0.025126025080680847,
0.020446036010980606,
-0.01852421648800373,
-0.009315491653978825,
0.011619897559285164,
0.030393237248063087,
0.010240812785923481,
0.001950736972503364,
0.018061555922031403,
0.011424155905842781,
0.022350061684846878,
-0.03270654007792473,
-0.010374272242188454,
0.0020864210091531277,
-0.007371427956968546,
0.021851813420653343,
-0.0046443999744951725,
0.0775134339928627,
0.006837588734924793,
-0.0034009998198598623,
0.04039382189512253,
-0.01875554583966732,
-0.0040438310243189335,
-0.015401257202029228,
0.011228415183722973,
0.006245917174965143,
0.04366803541779518,
-0.035286761820316315,
0.04519837349653244,
-0.031745631247758865,
-0.0638827458024025,
-0.013621794059872627,
-0.04779639095067978,
0.0030139663722366095,
-0.07142766565084457,
0.04502042755484581,
0.011433053761720657,
0.02430747263133526,
-0.005849986337125301,
0.027403738349676132,
0.010187429375946522,
-0.039077021181583405,
0.03423687815666199,
-0.0026780925691127777,
0.06053734943270683,
0.02194078639149666,
-0.005022536031901836,
-0.023026257753372192,
-0.022563597187399864,
-0.04829464107751846,
-0.015374565497040749,
-0.02585560642182827,
0.03897025063633919,
0.05697842314839363,
-0.012669780291616917,
0.02939673885703087,
-0.006668539717793465,
-0.02325758896768093,
-0.018239501863718033,
0.016139734536409378,
0.06146267056465149,
-0.017999274656176567,
0.018844518810510635,
0.0069488054141402245,
0.02745712362229824,
-0.06146267056465149,
0.042635947465896606,
0.021460330113768578,
0.0038458656053990126,
-0.013025673106312752,
-0.04349008947610855,
-0.10313770920038223,
-0.02325758896768093,
-0.010160736739635468,
-0.04042941331863403,
-0.0036145353224128485,
0.0016671349294483662,
-0.0034655053168535233,
0.07310036569833755,
-0.004119458142668009,
0.03478851169347763,
-0.0056053102016448975,
-0.06192533299326897,
-0.0037168546114116907,
-0.0024289677385240793,
0.019627483561635017,
0.05911377817392349,
-0.04829464107751846,
0.04754726588726044,
0.039966750890016556,
-0.02704784646630287,
-0.0035233378876000643,
-0.05064353346824646,
0.023471124470233917,
0.014324681833386421,
-0.0125719103962183,
-0.031745631247758865,
-0.02343553490936756,
0.033098023384809494,
0.03356068208813667,
-0.05249417573213577,
0.04064294695854187,
0.011584307998418808,
0.02679872140288353,
-0.02106884866952896,
-0.031443122774362564,
-0.03589177876710892,
-0.05879347771406174,
0.034521594643592834,
0.031621068716049194,
-0.012936700135469437,
0.06420304626226425,
-0.0033253724686801434,
0.007633898872882128,
-0.03320479020476341,
0.043098606169223785,
0.011433053761720657,
0.03188798576593399,
0.07117854058742523,
0.00045654361019842327,
-0.010463246144354343,
-0.0025779977440834045,
-0.04174621403217316,
-0.04235123470425606,
-0.043632447719573975,
-0.013497231528162956,
0.034752923995256424,
-0.02704784646630287,
0.04042941331863403,
0.00336541049182415,
0.00804317556321621,
-0.014849623665213585,
0.017011672258377075,
-0.01722520776093006,
-0.03263536095619202,
-0.062138866633176804,
-0.07701518386602402,
0.04000234231352806,
-0.026460623368620872,
-0.007820742204785347,
0.0017049484886229038,
0.00788747239857912,
0.03302684426307678,
-0.04188857227563858,
0.08100118488073349,
0.03201254829764366,
-0.051319729536771774,
-0.0038859036285430193,
-0.017020568251609802,
-0.05142649635672569,
-0.012758754193782806,
-0.02921879105269909,
-0.012438450008630753,
0.017091747373342514,
-0.005876678507775068,
-0.000954237359110266,
0.00993830431252718,
0.0010042847134172916,
-0.0012756529031321406,
0.016406653448939323,
0.024805722758173943,
-0.04046500101685524,
-0.03028647042810917,
-0.03825846686959267,
-0.04042941331863403,
-0.05601751431822777,
0.004210655577480793,
0.014333578757941723,
0.08534307032823563,
0.007754012476652861,
-0.041852984577417374,
0.014733958058059216,
-0.05228063836693764,
0.03455718234181404,
0.03557147830724716,
-0.036585770547389984,
0.05840199440717697,
0.0062147765420377254,
-0.06512836366891861,
0.05302801355719566,
-0.0292899701744318,
0.023097436875104904,
0.01946733146905899,
0.039717625826597214,
-0.012135941535234451,
-0.023933785036206245,
-0.043703626841306686,
-0.031692247837781906,
0.018088247627019882,
-0.056942835450172424,
-0.06363362073898315,
-0.041141197085380554,
-0.054273638874292374,
0.010730165056884289,
0.036834895610809326,
0.05630222707986832,
-0.013959892094135284,
0.03596295788884163
] |
729,991 | mmengine.fileio.backends.base | BaseStorageBackend | Abstract class of storage backends.
All backends need to implement two apis: :meth:`get()` and
:meth:`get_text()`.
- :meth:`get()` reads the file as a byte stream.
- :meth:`get_text()` reads the file as texts.
| class BaseStorageBackend(metaclass=ABCMeta):
"""Abstract class of storage backends.
All backends need to implement two apis: :meth:`get()` and
:meth:`get_text()`.
- :meth:`get()` reads the file as a byte stream.
- :meth:`get_text()` reads the file as texts.
"""
# a flag to indicate whether the backend can create a symlink for a file
# This attribute will be deprecated in future.
_allow_symlink = False
@property
def allow_symlink(self):
print_log(
'allow_symlink will be deprecated in future',
logger='current',
level=logging.WARNING)
return self._allow_symlink
@property
def name(self):
return self.__class__.__name__
@abstractmethod
def get(self, filepath):
pass
@abstractmethod
def get_text(self, filepath):
pass
| () | [
0.011774963699281216,
-0.09993484616279602,
-0.08337462693452835,
0.04810350388288498,
0.032278094440698624,
-0.011559895239770412,
-0.029195457696914673,
0.059609632939100266,
0.006353462114930153,
-0.055917635560035706,
0.060147300362586975,
0.009337527677416801,
-0.009221033193171024,
0.029751049354672432,
-0.03749348968267441,
0.012689001858234406,
-0.018128424882888794,
0.005779947619885206,
0.03781609237194061,
-0.06409021466970444,
-0.025754371657967567,
0.016372038051486015,
0.04441150650382042,
-0.04713569954037666,
0.011282099410891533,
0.10000653564929962,
0.013504466973245144,
-0.022707577794790268,
0.06724453717470169,
-0.006909053772687912,
-0.03889143094420433,
-0.023119790479540825,
0.03469761088490486,
0.05968132242560387,
0.012106526643037796,
-0.005515593569725752,
0.002059946535155177,
0.022402899339795113,
-0.0925508514046669,
0.002247010823339224,
-0.029876505956053734,
0.008817780762910843,
0.062011223286390305,
-0.062011223286390305,
0.01862129010260105,
0.0682840347290039,
-0.01969662867486477,
0.031023534014821053,
-0.009678051806986332,
-0.006693986244499683,
0.011604701168835163,
0.013468622229993343,
-0.053516045212745667,
0.01967870630323887,
-0.02150678262114525,
0.03442877531051636,
0.02645334228873253,
0.025162935256958008,
-0.06523723900318146,
0.07018379867076874,
0.0016085280803963542,
-0.02473280020058155,
0.041687313467264175,
-0.0369199775159359,
0.017465298995375633,
-0.03817453980445862,
-0.05011080205440521,
-0.04892792925238609,
0.0011095035588368773,
0.026758022606372833,
-0.00803367979824543,
-0.05756648629903793,
0.016139047220349312,
-0.0008266669465228915,
0.012751730158925056,
0.00896564032882452,
-0.032296016812324524,
0.011210410855710506,
-0.0002614138356875628,
-0.014714223332703114,
0.02211614139378071,
-0.05620439350605011,
0.017787901684641838,
-0.031113145872950554,
0.03027079626917839,
-0.025127090513706207,
0.02837103046476841,
-0.03134613484144211,
0.011990031227469444,
0.01919480413198471,
-0.0553799644112587,
0.0022111660800874233,
0.03084431029856205,
0.014024214819073677,
0.00866096094250679,
-0.08423490077257156,
-0.04032521694898605,
-0.019338181242346764,
-0.02213406376540661,
0.029912350699305534,
-0.042260829359292984,
0.052225638180971146,
0.014983058907091618,
-0.03398071601986885,
0.0025494499132037163,
-0.04441150650382042,
-0.020198453217744827,
-0.012097565457224846,
-0.01910519227385521,
-0.009920003823935986,
-0.03380149230360985,
0.018370376899838448,
-0.0019400910241529346,
0.023639539256691933,
0.0022895762231200933,
0.019499482586979866,
-0.015117475762963295,
-0.031202757731080055,
0.019911695271730423,
-0.04860533028841019,
-0.05322928726673126,
0.033030834048986435,
-0.02847856469452381,
0.02283303439617157,
0.07168927788734436,
0.030503787100315094,
0.04552268981933594,
-0.016793211922049522,
-0.014454349875450134,
-0.011586778797209263,
-0.0035038134083151817,
0.034321241080760956,
-0.017626600340008736,
0.029984040185809135,
0.05383864417672157,
0.0433003231883049,
0.0027510758955031633,
0.03027079626917839,
-0.039142344146966934,
0.05423293635249138,
-0.004520904738456011,
-0.028550254181027412,
0.029804816469550133,
-0.014328894205391407,
-0.021184179931879044,
0.014113825745880604,
0.0002486721787136048,
-0.07742441445589066,
-0.029141690582036972,
-0.019338181242346764,
0.038031160831451416,
0.013002642430365086,
-0.03625684976577759,
-0.0023859087377786636,
-0.023944217711687088,
0.006443073507398367,
-0.04093457758426666,
0.013979408890008926,
-0.0369199775159359,
0.03415993973612785,
-0.03638230636715889,
-0.03161497041583061,
0.015574495308101177,
-0.038031160831451416,
-0.02286887913942337,
0.02964351512491703,
-0.019983384758234024,
-0.05434047058224678,
-0.021273791790008545,
0.03138197958469391,
-0.026793867349624634,
-0.025575149804353714,
-0.0369916670024395,
0.03344304859638214,
0.022653810679912567,
0.019893774762749672,
0.03971586003899574,
0.04079119861125946,
0.013853952288627625,
-0.012653157114982605,
0.04882039502263069,
-0.0555950328707695,
-0.06996873021125793,
0.023083945736289024,
0.03889143094420433,
0.04143640026450157,
0.008333878591656685,
0.04860533028841019,
0.06452034413814545,
0.04670556262135506,
-0.02720608003437519,
-0.025718526914715767,
-0.002551690209656954,
-0.0493939109146595,
0.01606735959649086,
-0.055164895951747894,
0.05814000219106674,
-0.02645334228873253,
-0.03957248106598854,
0.11420101672410965,
-0.02779751643538475,
0.009005964733660221,
0.03903480991721153,
-0.02894454449415207,
-0.012178215198218822,
0.013925641775131226,
0.03631061688065529,
-0.007832053117454052,
-0.0805787444114685,
0.02279718965291977,
-0.05996808037161827,
-0.003739043837413192,
-0.06624089181423187,
0.05358773469924927,
0.06914430856704712,
-0.02584398351609707,
-0.010466634295880795,
0.03217056393623352,
0.003649432212114334,
0.04140055552124977,
0.11412932723760605,
0.014767990447580814,
-0.01919480413198471,
-0.002923578256741166,
0.012662118300795555,
-0.013800185173749924,
0.07849975675344467,
-0.021166257560253143,
0.004816623404622078,
-0.02410551905632019,
-0.008454853668808937,
-0.0003405240713618696,
0.00900148507207632,
0.04122133180499077,
0.07864313572645187,
-0.014230321161448956,
0.040396906435489655,
-0.007334709167480469,
-0.008620635606348515,
0.03349681198596954,
0.014319933019578457,
0.00895667914301157,
-0.02295849099755287,
0.06613335758447647,
-0.05330097675323486,
-0.05817584693431854,
-0.0045029823668301105,
0.029464291408658028,
0.018047774210572243,
-0.05487814173102379,
0.0371708907186985,
-0.018836356699466705,
-0.029285069555044174,
-0.044805798679590225,
-0.006514762993901968,
-0.02398006245493889,
-0.07348150759935379,
-0.053408510982990265,
0.013853952288627625,
-0.03878389671444893,
-0.03023495152592659,
-0.028532331809401512,
-0.019320258870720863,
0.029930273070931435,
0.018325570970773697,
-0.012007953599095345,
0.037923626601696014,
-0.0064833988435566425,
0.016864901408553123,
0.056526992470026016,
0.07584725320339203,
0.047279078513383865,
-0.04079119861125946,
0.03756517916917801,
-0.026937244459986687,
-0.04369461163878441,
-0.013925641775131226,
0.03372980281710625,
-0.009955847635865211,
-0.05487814173102379,
-0.03272615373134613,
-0.011308982968330383,
0.013181865215301514,
-0.021237947046756744,
0.04573775827884674,
-0.05502151697874069,
-0.03256485238671303,
-0.046060360968112946,
0.007567699067294598,
-0.013343166559934616,
-0.00008037039515329525,
0.002643542131409049,
-0.10366269201040268,
0.020108841359615326,
0.05935871973633766,
-0.0006496840505860746,
-0.10230059921741486,
0.001078699599020183,
0.05297837406396866,
-0.06297902762889862,
-0.02279718965291977,
0.015502805821597576,
0.006474437657743692,
0.05168796703219414,
-0.03629269450902939,
-0.05606101453304291,
0.008620635606348515,
-0.04140055552124977,
-0.007343670353293419,
0.021901072934269905,
0.03842545300722122,
-0.0071644471026957035,
0.014221359975636005,
0.052189793437719345,
0.05007495731115341,
0.057136353105306625,
-0.0011884737759828568,
0.016443727537989616,
-0.017456337809562683,
0.05179550126194954,
-0.054663073271512985,
0.05631192401051521,
-0.028568176552653313,
0.008934276178479195,
0.030700931325554848,
-0.025127090513706207,
0.005058574490249157,
0.012178215198218822,
-0.0026166585739701986,
0.019445715472102165,
-0.02338862605392933,
0.06366007775068283,
0.03896312043070793,
-0.034769296646118164,
-0.060720816254615784,
-0.01734880544245243,
0.004830064717680216,
-0.03536073490977287,
0.0014539480907842517,
-0.008692324161529541,
0.03996676951646805,
-0.019481560215353966,
0.0071599665097892284,
-0.00834732037037611,
-0.0493222214281559,
-0.003644951619207859,
0.031776271760463715,
-0.05111445486545563,
0.048390261828899384,
-0.00023621055879630148,
0.009055251255631447,
-0.021166257560253143,
-0.03831791877746582,
-0.009445061907172203,
0.009695974178612232,
-0.08100888133049011,
-0.054017867892980576,
-0.008728168904781342,
-0.044734109193086624,
-0.031758349388837814,
0.028012584894895554,
-0.025503460317850113,
-0.032349783927202225,
0.057064663618803024,
-0.039106499403715134,
-0.03871220722794533,
0.05699297413229942,
0.0046374001540243626,
0.040361061692237854,
-0.0002713551220949739,
0.007375034037977457,
-0.06355254352092743,
0.0016499734483659267,
-0.016300348564982414,
0.015225009992718697,
-0.013307321816682816,
0.023872528225183487,
0.005148185882717371,
-0.03864051774144173,
0.05229732766747475,
0.07122329622507095,
0.019481560215353966,
0.00039653130806982517,
0.015637222677469254,
0.011936264112591743,
-0.002365746069699526,
0.03774440288543701,
0.03408825024962425,
0.012276788242161274,
0.009767663665115833,
0.012025875970721245,
-0.014158631674945354,
-0.0744851604104042,
-0.02645334228873253,
-0.014284088276326656,
-0.04882039502263069,
-0.03634646162390709,
0.05000326782464981,
-0.021130414679646492,
0.034357085824012756,
0.015332543291151524,
-0.04218913987278938,
-0.01987585239112377,
0.03286953270435333,
0.0004435773880686611,
0.03616723790764809,
0.08710247278213501,
0.026094896718859673,
-0.02156054973602295,
0.026937244459986687,
0.004404409788548946,
0.017456337809562683,
-0.05315759778022766,
-0.006819442380219698,
0.032296016812324524,
0.03389110416173935,
0.013047448359429836,
-0.03347889333963394,
-0.03381941467523575,
0.04491332918405533,
-0.05197472497820854,
0.0557025671005249,
-0.008876028470695019,
-0.02414136379957199,
0.017106853425502777,
0.04075535386800766,
-0.05925118550658226,
0.006613335572183132,
-0.023818761110305786,
0.008710246533155441,
0.0799335390329361,
0.022384976968169212,
-0.059645477682352066,
-0.013253554701805115,
0.015744756907224655,
-0.026955166831612587,
-0.015036825090646744,
-0.02657879889011383,
-0.03154328092932701,
-0.015242932364344597,
-0.008396605961024761,
-0.04692063108086586,
-0.004977923817932606,
0.03638230636715889,
0.04093457758426666,
-0.0370992012321949,
-0.03516358882188797,
0.03455423191189766,
0.031704582273960114,
0.011497167870402336,
-0.03500228747725487,
0.04821103811264038,
0.06573906540870667,
0.0032596217934042215,
-0.015341504476964474,
-0.0679255872964859,
0.06032652407884598,
-0.0434078574180603,
0.0017384649254381657,
0.007751402910798788,
0.013522389344871044,
0.04670556262135506,
-0.006075666286051273,
-0.10402113944292068,
0.04071950912475586,
0.0002909576578531414,
0.031722504645586014,
0.02717023529112339,
-0.023334858939051628,
-0.0026121779810637236,
0.0052467589266598225,
0.02523462474346161,
-0.03346097096800804,
-0.010520401410758495,
-0.03408825024962425,
0.039823390543460846,
0.010502479039132595,
-0.027618292719125748,
-0.03313836827874184,
-0.06598997861146927,
0.00447385897859931,
-0.024983711540699005,
-0.031865883618593216,
0.04684894159436226,
0.02480448968708515,
-0.031794194132089615,
0.05817584693431854,
0.004460417199879885,
0.048569485545158386,
-0.04796012490987778,
-0.023281091824173927,
0.060900039970874786,
-0.012438089586794376,
0.049142997711896896,
-0.0035822235513478518,
0.01912311464548111,
-0.030503787100315094,
0.017492182552814484,
-0.014839679934084415,
-0.0025628916919231415,
0.04150808975100517,
-0.06885755062103271,
-0.0036628739908337593,
0.040432751178741455,
0.04208160564303398,
-0.035575803369283676,
-0.004682205617427826,
0.01606735959649086,
0.010179877281188965,
-0.014956175349652767,
-0.03159704804420471,
0.06412605941295624,
0.007151005323976278,
-0.015538650564849377,
-0.035504113882780075,
-0.036077626049518585,
-0.06373176723718643,
0.014373700134456158,
-0.001692538964562118,
0.034858908504247665,
0.021883150562644005,
-0.03213471919298172,
-0.009713896550238132,
-0.020664433017373085,
-0.02290472388267517,
-0.019893774762749672,
-0.04989573732018471,
-0.004523145034909248,
0.04251173883676529,
0.0370633564889431,
0.008109848946332932,
0.016434766352176666,
-0.009247916750609875,
-0.02657879889011383,
0.009722857736051083,
0.061401862651109695,
-0.013011603616178036,
0.0040706065483391285,
0.05806831270456314,
-0.02973312698304653,
0.008728168904781342,
0.02847856469452381,
-0.05125783011317253,
-0.02835310809314251,
-0.019266493618488312,
-0.05043340474367142,
-0.005215394776314497,
-0.023854605853557587,
0.0744851604104042,
-0.003571022069081664,
0.054053712636232376,
-0.00828459206968546,
0.047816745936870575,
-0.02041352167725563,
0.02046728879213333,
-0.03346097096800804,
0.06301487237215042,
-0.011801847256720066,
0.009507790207862854,
0.0014830718282610178,
-0.0012680040672421455,
0.020592743530869484,
-0.02156054973602295,
0.042296674102544785,
0.061294328421354294,
0.030091572552919388,
0.048569485545158386,
0.041077952831983566,
0.011183527298271656,
-0.06455618888139725,
0.0037256020586937666,
0.02786920592188835,
0.05695712938904762,
0.007876859046518803,
0.041687313467264175,
0.030987689271569252,
0.00862511619925499,
0.02709854580461979,
-0.0013856192817911506,
-0.06344500929117203,
0.011201449669897556,
0.005614166148006916,
-0.005063055083155632,
0.03656153008341789,
-0.009409217163920403,
-0.025628915056586266,
0.02277926728129387,
0.0679614320397377,
-0.028693633154034615,
-0.01856752298772335,
-0.05688543990254402,
0.04462657496333122,
0.0368482880294323,
-0.0615093968808651,
-0.007809650618582964,
-0.018146347254514694,
-0.06265642493963242,
-0.06527308374643326,
0.003385077929124236,
-0.017035163938999176,
-0.03878389671444893,
0.027600370347499847,
0.011479245498776436,
-0.02035975456237793,
0.015350465662777424,
0.02027014270424843,
-0.005461826454848051,
-0.00027989622321911156,
-0.03161497041583061,
-0.012814457528293133,
-0.011210410855710506,
0.015771640464663506,
-0.008217383176088333,
-0.06111510843038559,
0.016793211922049522,
-0.02100495807826519,
-0.027277769520878792,
0.04584529250860214,
0.01789543591439724,
-0.022456664592027664,
0.0016421324107795954,
0.020682355388998985,
-0.011138721369206905,
0.06315825134515762,
-0.06383930146694183,
0.027026856318116188,
0.024374352768063545,
0.012025875970721245,
-0.031166912987828255,
-0.050935231149196625,
0.016148008406162262,
-0.02724192477762699,
0.02172185108065605,
0.010592089965939522,
0.0029459812212735415,
-0.06555984169244766,
-0.005820272956043482,
0.02586190588772297,
0.027385303750634193,
0.023083945736289024,
0.0070300293155014515,
-0.018388299271464348,
-0.006241447292268276,
-0.010896770283579826,
-0.030450019985437393,
-0.009310645051300526,
-0.007854456081986427,
-0.016488533467054367,
0.022026529535651207,
-0.013325244188308716,
-0.013450699858367443,
0.08315955847501755,
0.010950536467134953,
-0.032367706298828125,
0.015225009992718697,
0.016533339396119118,
0.03570125997066498,
-0.014499155804514885,
0.02215198613703251,
-0.008266669698059559,
0.009884159080684185,
-0.02347823791205883,
0.0045029823668301105,
0.04111379757523537,
0.04032521694898605,
-0.022456664592027664,
-0.005990535020828247,
-0.0009605242521502078,
0.030683008953928947,
-0.016999319195747375,
0.03079054318368435,
0.05681375041604042,
0.0030512746889144182,
-0.04631127044558525,
-0.004968963097780943,
0.011900419369339943,
0.0678180530667305,
-0.055272430181503296,
0.04688478633761406,
-0.00024517171550542116,
0.0060174185782670975,
0.013943564146757126,
-0.03396279364824295,
0.05817584693431854,
-0.04631127044558525,
0.046598028391599655,
0.017635561525821686,
0.03401656076312065,
-0.01602255366742611,
-0.1114768236875534,
-0.016891784965991974,
0.022492509335279465,
0.04433981701731682,
-0.019391948357224464,
0.0067925588227808475,
-0.028621943667531013,
0.03091599978506565,
-0.05727973207831383,
0.03082638792693615,
-0.02150678262114525,
0.004776298068463802,
-0.041579779237508774,
-0.01719646528363228,
-0.04125717654824257,
0.0681765004992485,
-0.009911042638123035,
-0.0492505319416523,
-0.015216048806905746,
-0.012930952943861485,
-0.0802202969789505,
0.023245247080922127,
0.009319605305790901,
0.015036825090646744,
-0.028819087892770767,
0.048569485545158386,
-0.0371708907186985,
0.04025352746248245,
0.009454023092985153,
-0.008194980211555958,
0.004834545310586691,
-0.021309636533260345,
-0.0003396839601919055,
0.07828468829393387,
0.03659737482666969,
-0.002674906048923731,
-0.021363403648138046,
-0.054555539041757584,
-0.011631584726274014,
-0.017375687137246132,
0.07276461273431778,
0.022635888308286667,
0.03338928148150444,
-0.03742180019617081,
0.007737961132079363,
-0.013092254288494587,
-0.053372666239738464,
0.019015580415725708,
-0.07699428498744965,
0.023173557594418526,
0.07050640136003494,
0.06064912676811218,
-0.011237293481826782,
-0.04018183797597885,
0.006160797085613012,
0.012267827056348324,
-0.012563545256853104,
0.029141690582036972,
0.03455423191189766,
-0.0003727282164618373,
0.050290025770664215,
0.009400255978107452,
0.0018538398435339332,
-0.04641880467534065,
0.0681765004992485,
0.01670360192656517,
-0.03892727568745613,
0.025754371657967567,
-0.012662118300795555,
-0.007930626161396503,
-0.027958817780017853,
-0.05814000219106674,
-0.02342447079718113,
-0.00027219520416110754,
-0.004964482504874468,
0.0007616985240019858,
0.010493517853319645,
-0.06251304596662521,
0.021865228191018105
] |
729,992 | mmengine.fileio.backends.base | get | null | @abstractmethod
def get(self, filepath):
pass
| (self, filepath) | [
0.0012351986952126026,
-0.06863034516572952,
-0.05191521719098091,
0.05158746987581253,
-0.01817360334098339,
-0.048637740314006805,
-0.001671512727625668,
0.040509600192308426,
0.01735423505306244,
-0.02097584493458271,
0.05840462073683739,
0.021090557798743248,
-0.005633161403238773,
0.05103030055761337,
-0.027006400749087334,
0.010233918204903603,
0.012495377101004124,
0.06499234586954117,
-0.04005075618624687,
-0.04450812190771103,
-0.03454459458589554,
0.003234459087252617,
0.03752709925174713,
-0.00997991394251585,
0.018058892339468002,
0.10730455815792084,
0.027432473376393318,
-0.025252951309084892,
0.07380875945091248,
-0.010725540108978748,
-0.03988688066601753,
-0.027170274406671524,
0.007259609177708626,
0.09996301680803299,
-0.010651796124875546,
0.029906967654824257,
-0.024646617472171783,
0.06210816651582718,
-0.11149972677230835,
0.03267643228173256,
-0.04031295329332352,
0.011635039001703262,
0.095636747777462,
-0.044245924800634384,
-0.013994822278618813,
-0.0066000171937048435,
-0.054537199437618256,
-0.013339326716959476,
-0.011315485462546349,
0.021844375878572464,
0.0016192778712138534,
0.028268229216337204,
-0.04857219383120537,
-0.03860866650938988,
-0.004867051728069782,
0.08298569172620773,
0.010135593824088573,
0.04123064503073692,
0.008185495622456074,
0.05401280149817467,
-0.012773961760103703,
-0.05011260509490967,
0.07328435778617859,
-0.043197132647037506,
-0.012659250758588314,
0.0007026089006103575,
-0.04906381294131279,
-0.011176192201673985,
0.04716287553310394,
0.06381245702505112,
0.03451181948184967,
0.029169535264372826,
0.014568380080163479,
0.013896497897803783,
0.06745045632123947,
0.008091268129646778,
-0.03225036337971687,
-0.019664855673909187,
0.02869430184364319,
-0.01416688971221447,
-0.029857804998755455,
-0.03121795691549778,
0.0015967452200129628,
-0.0016653673956170678,
-0.028202679008245468,
-0.016436541453003883,
0.020271187648177147,
-0.08973728865385056,
-0.010586246848106384,
0.05145636945962906,
-0.07066237926483154,
0.027203049510717392,
-0.046966228634119034,
0.017501721158623695,
0.011127030476927757,
-0.05342285707592964,
-0.016895387321710587,
-0.019451819360256195,
-0.032004550099372864,
-0.019206007942557335,
-0.013839141465723515,
0.02446635626256466,
0.03226675093173981,
-0.03818259388208389,
0.015994081273674965,
-0.03382354974746704,
0.007366126868873835,
-0.005657742731273174,
-0.01817360334098339,
0.027448860928416252,
-0.06679495424032211,
0.003519189776852727,
-0.053193431347608566,
0.022450709715485573,
-0.021483853459358215,
0.0014543798752129078,
-0.015199294313788414,
0.010774701833724976,
-0.0049858600832521915,
-0.010725540108978748,
-0.02146746590733528,
0.007874135859310627,
-0.049260463565588,
-0.014945290051400661,
0.05906011536717415,
0.0430004820227623,
-0.023810861632227898,
0.0008004210540093482,
0.04706455394625664,
-0.02943173237144947,
-0.013216421008110046,
0.03395465016365051,
0.0011051238980144262,
-0.004219749942421913,
-0.0003986742231063545,
0.023352015763521194,
0.03402020037174225,
0.008652536198496819,
-0.0011163902236148715,
0.041197869926691055,
0.02438442036509514,
0.004412301816046238,
0.0961611419916153,
0.015174712985754013,
-0.03143099322915077,
0.03025110252201557,
0.02967754378914833,
-0.06309141218662262,
-0.015740077942609787,
0.03121795691549778,
0.054537199437618256,
0.012560926377773285,
-0.03893641382455826,
-0.026367293670773506,
0.016706932336091995,
-0.033921875059604645,
0.023319240659475327,
0.030300263315439224,
-0.05148914456367493,
-0.04280383512377739,
-0.0187799371778965,
-0.025105465203523636,
0.005170218180865049,
-0.05614316090941429,
0.010496116243302822,
0.01083205733448267,
-0.028317391872406006,
0.003160715801641345,
0.005100571550428867,
0.013421263545751572,
-0.052537936717271805,
-0.015936726704239845,
-0.06682772934436798,
-0.012986998073756695,
0.07269441336393356,
-0.036117784678936005,
0.011577683500945568,
0.03657662868499756,
0.0230898167937994,
0.09137602895498276,
0.02446635626256466,
-0.06745045632123947,
-0.0650578960776329,
0.03929693624377251,
0.07662738859653473,
0.041886139661073685,
0.018353864550590515,
0.011856269091367722,
0.01886187307536602,
0.04706455394625664,
-0.03700270131230354,
0.0020228170324116945,
-0.020222026854753494,
-0.00916873849928379,
0.024941591545939445,
-0.08750860393047333,
0.024630231782794,
0.04008353129029274,
-0.048113346099853516,
0.11661259084939957,
0.006415659096091986,
0.027940481901168823,
0.0019203959964215755,
-0.006018265150487423,
-0.005063700024038553,
0.025711797177791595,
0.034413497895002365,
-0.05509436875581741,
-0.06695882976055145,
0.02572818472981453,
-0.0044614640064537525,
-0.01430618204176426,
-0.013667074032127857,
-0.00971771590411663,
0.0625997856259346,
-0.022286836057901382,
-0.01841941475868225,
0.019337108358740807,
-0.02646561712026596,
0.03759264945983887,
0.0648612454533577,
0.04893271252512932,
-0.028563201427459717,
0.002484736265614629,
0.026236193254590034,
-0.018550513312220573,
0.06489402055740356,
-0.03818259388208389,
-0.081478051841259,
-0.03385632485151291,
-0.008644342422485352,
-0.03110324591398239,
0.053029559552669525,
0.02666226588189602,
0.03615055978298187,
0.013380294665694237,
-0.009578423574566841,
0.017206748947501183,
-0.05037480220198631,
0.007931491360068321,
-0.004305783659219742,
0.039657458662986755,
-0.0023392983712255955,
0.04785114899277687,
-0.02877623774111271,
-0.04824444279074669,
-0.011110642924904823,
0.0899994894862175,
-0.016895387321710587,
0.006702437996864319,
0.09648888558149338,
-0.03618333488702774,
-0.07682403177022934,
-0.009160544723272324,
-0.012872286140918732,
-0.012659250758588314,
-0.059617284685373306,
-0.019746791571378708,
0.06305863708257675,
-0.006071524228900671,
0.0008490710752084851,
-0.015068194828927517,
0.013986628502607346,
0.013994822278618813,
-0.010766508057713509,
-0.007562775630503893,
-0.0015588494716212153,
-0.011479359120130539,
-0.02023841254413128,
0.028071580454707146,
0.009988107718527317,
0.0758407935500145,
-0.010061850771307945,
0.0062886569648981094,
-0.02751440927386284,
-0.03225036337971687,
-0.003724031848832965,
0.0022942330688238144,
-0.057126402854919434,
-0.047621723264455795,
-0.0000704785343259573,
-0.009414548985660076,
0.019419044256210327,
0.0052521550096571445,
-0.04362320527434349,
-0.03434794768691063,
0.02621980756521225,
-0.005928134545683861,
-0.036642178893089294,
-0.008537824265658855,
0.03464291989803314,
0.018075279891490936,
-0.08488662540912628,
-0.0023782183416187763,
0.06210816651582718,
-0.01968124322593212,
-0.053848929703235626,
-0.023876411840319633,
0.039821330457925797,
-0.013675267808139324,
-0.02454829402267933,
-0.04263995960354805,
-0.029939740896224976,
-0.011749750934541225,
-0.030709948390722275,
-0.025023527443408966,
-0.002648610156029463,
-0.004223846830427647,
-0.027579959481954575,
0.008963895961642265,
0.018550513312220573,
0.027284987270832062,
-0.061288800090551376,
0.04031295329332352,
0.03690437972545624,
0.028890948742628098,
-0.01459296140819788,
0.07564414292573929,
0.0289892740547657,
0.06745045632123947,
-0.06145267188549042,
0.06400910019874573,
-0.02122165635228157,
-0.006899086758494377,
0.028645139187574387,
0.010561665520071983,
-0.014011208899319172,
0.033102504909038544,
-0.03890363872051239,
0.03311889246106148,
-0.010070044547319412,
0.06751599907875061,
0.030267490074038506,
-0.01660860888659954,
-0.07413650304079056,
0.004592563025653362,
-0.0064771114848554134,
-0.05434054881334305,
0.046966228634119034,
-0.00034029418020509183,
0.04686790332198143,
-0.06682772934436798,
0.0109549630433321,
-0.012020142748951912,
0.025056302547454834,
0.027334148064255714,
0.0028739366680383682,
-0.012724800035357475,
0.0650578960776329,
-0.046966228634119034,
0.010512503795325756,
-0.05545489117503166,
-0.0025953510776162148,
0.016157956793904305,
-0.00912777055054903,
0.012487183324992657,
-0.019648468121886253,
0.008529630489647388,
-0.014445474371314049,
-0.05381615459918976,
0.01138103473931551,
-0.039854105561971664,
-0.0477200485765934,
0.0238600242882967,
-0.02825184166431427,
-0.0239091869443655,
0.02122165635228157,
0.015461492352187634,
0.03624888136982918,
-0.01922239549458027,
-0.014117727056145668,
-0.04549136385321617,
-0.0382809191942215,
-0.023597825318574905,
0.01193001214414835,
-0.02443358302116394,
0.02638368122279644,
-0.011839881539344788,
-0.018189990893006325,
0.07997041195631027,
0.03946080803871155,
0.0014359441120177507,
-0.011307291686534882,
-0.021844375878572464,
0.009799652732908726,
-0.06145267188549042,
0.051325272768735886,
0.05984671041369438,
-0.028677914291620255,
-0.004842470400035381,
0.03256172314286232,
-0.031004920601844788,
-0.06643443554639816,
-0.05181689187884331,
-0.004273009020835161,
-0.067319355905056,
0.013142677955329418,
0.012626475654542446,
-0.045589689165353775,
0.025498762726783752,
0.02264735847711563,
-0.029284246265888214,
-0.006628694944083691,
0.0540783517062664,
0.013535975478589535,
0.006432046182453632,
0.05493049696087837,
-0.0002901078260038048,
-0.013855529017746449,
-0.07138342410326004,
-0.00016131326265167445,
0.01268383115530014,
-0.07256331294775009,
-0.02492520399391651,
0.03385632485151291,
0.02759634703397751,
0.009512873366475105,
-0.035626161843538284,
0.013740817084908485,
0.03500344231724739,
0.011856269091367722,
0.026858914643526077,
0.008496856316924095,
0.046474605798721313,
-0.010324048809707165,
0.011356453411281109,
0.006292753387242556,
0.006952345836907625,
-0.012585506774485111,
0.03703547641634941,
-0.00238231522962451,
0.03421684727072716,
-0.09956971555948257,
-0.0006698341458104551,
0.028546813875436783,
-0.02813713066279888,
-0.052341289818286896,
-0.04293493181467056,
-0.007116219494491816,
0.01910768449306488,
-0.026531167328357697,
-0.0060059744864702225,
-0.013765398412942886,
0.018239153549075127,
0.03344663977622986,
-0.08586986362934113,
-0.013732624240219593,
0.03398742526769638,
0.0313490554690361,
-0.07695513218641281,
-0.05053867772221565,
0.0508992001414299,
0.04755617305636406,
-0.005047312937676907,
-0.03490511700510979,
-0.049129363149404526,
-0.024499131366610527,
-0.029366184026002884,
0.01646931655704975,
0.01869799941778183,
0.01943543180823326,
0.05348840728402138,
-0.010209336876869202,
-0.10238834470510483,
0.027825769037008286,
-0.0003049588995054364,
-0.027268599718809128,
0.015027226880192757,
-0.03972300887107849,
-0.022204898297786713,
0.04713010415434837,
-0.04460644721984863,
-0.05614316090941429,
-0.06040387973189354,
-0.02666226588189602,
0.04280383512377739,
0.03044775128364563,
0.03598668426275253,
0.014601155184209347,
-0.04939156025648117,
-0.005325898062437773,
-0.04686790332198143,
-0.05247238650918007,
0.054209452122449875,
0.014420893974602222,
-0.03969023376703262,
0.012855898588895798,
0.023810861632227898,
0.01609240658581257,
-0.06623778492212296,
-0.007562775630503893,
0.05515991896390915,
-0.013183646835386753,
0.023958347737789154,
0.040017981082201004,
0.015715496614575386,
-0.021188881248235703,
0.04178781807422638,
-0.024744942784309387,
-0.007677487097680569,
-0.004354945849627256,
-0.07728288322687149,
0.028956498950719833,
0.037559874355793,
-0.028874563053250313,
0.020189251750707626,
-0.0031033598352223635,
0.014814190566539764,
-0.006710631772875786,
-0.01732145994901657,
0.028727075085043907,
0.03723212704062462,
-0.013085322454571724,
0.015600784681737423,
0.03621610626578331,
-0.03203732520341873,
-0.04991595819592476,
0.004135764669626951,
-0.02548237517476082,
0.04686790332198143,
0.07190781831741333,
-0.054537199437618256,
0.005325898062437773,
-0.009094995446503162,
-0.02943173237144947,
-0.01247898954898119,
-0.043197132647037506,
0.007886426523327827,
-0.005035022273659706,
0.04198446497321129,
0.0095948101952672,
-0.003924777265638113,
0.023483114317059517,
-0.010389598086476326,
0.024663005024194717,
0.049457110464572906,
-0.025056302547454834,
-0.010004495270550251,
-0.0103650176897645,
0.010127400048077106,
0.012462601996958256,
-0.00282067758962512,
-0.014953483827412128,
-0.02813713066279888,
-0.016600415110588074,
-0.06040387973189354,
-0.031004920601844788,
-0.02866152673959732,
0.08960618823766708,
-0.0029271955136209726,
0.02943173237144947,
-0.004379527177661657,
0.014830578118562698,
0.008165012113749981,
0.06466459482908249,
0.006427949294447899,
0.02536766231060028,
-0.02816990576684475,
-0.02410583570599556,
-0.0032037326600402594,
0.010561665520071983,
-0.002087342320010066,
-0.024892428889870644,
0.06545118987560272,
-0.014994451776146889,
0.05466829612851143,
0.04808057099580765,
0.06164931878447533,
-0.0008378047496080399,
-0.09353916347026825,
-0.0057929386384785175,
0.04214834049344063,
0.02243432216346264,
-0.01268383115530014,
0.04290216043591499,
0.07957711070775986,
0.033151667565107346,
-0.03490511700510979,
-0.002179521368816495,
-0.06430407613515854,
0.0029353892896324396,
-0.05139082297682762,
0.04670403152704239,
0.007911006920039654,
-0.03978855535387993,
-0.021074170246720314,
0.0024048478808254004,
0.023876411840319633,
0.014691285789012909,
0.0011081965640187263,
0.000038759993913117796,
-0.03166041523218155,
0.0017063358100131154,
-0.047785598784685135,
-0.014322569593787193,
0.03395465016365051,
-0.011364647187292576,
-0.05109584704041481,
-0.018108053132891655,
-0.015215681865811348,
-0.030054453760385513,
0.03334831818938255,
-0.006354206241667271,
0.025105465203523636,
-0.013462232425808907,
0.05578263849020004,
-0.0430988073348999,
0.03860866650938988,
-0.034937892109155655,
0.041886139661073685,
0.012765767984092236,
-0.024007510393857956,
0.0555204413831234,
-0.03470847010612488,
-0.0010641554836183786,
0.05378337949514389,
-0.006542661227285862,
0.04083734750747681,
-0.014027596451342106,
-0.014035790227353573,
-0.027170274406671524,
-0.00562087120488286,
-0.003252894850447774,
0.07007243484258652,
-0.05188244208693504,
0.05974838510155678,
0.020172864198684692,
0.001869185478426516,
-0.01922239549458027,
-0.022286836057901382,
0.014724059961736202,
-0.007824973203241825,
0.02951367013156414,
0.01914045959711075,
0.01416688971221447,
-0.045917436480522156,
0.04093567281961441,
0.007411192171275616,
-0.023024268448352814,
0.03936248645186424,
-0.004514723084867001,
0.012429826892912388,
-0.016534864902496338,
-0.029202310368418694,
-0.012249565683305264,
0.004268912132829428,
-0.026039546355605125,
-0.02069726027548313,
0.06941694021224976,
-0.03703547641634941,
-0.027956869453191757,
0.016018662601709366,
-0.0042115566320717335,
0.015240262262523174,
0.03146376833319664,
-0.008332982659339905,
0.024056673049926758,
-0.0025871575344353914,
0.021877150982618332,
-0.0016151810996234417,
-0.025252951309084892,
0.0024478647392243147,
0.021926313638687134,
-0.01732145994901657,
-0.02333562821149826,
-0.009160544723272324,
-0.02333562821149826,
-0.0861976146697998,
0.020549774169921875,
0.008611567318439484,
0.01804250478744507,
0.05765080079436302,
0.04024740308523178,
-0.03398742526769638,
0.03048052452504635,
-0.0008941363776102662,
0.0051907021552324295,
-0.07256331294775009,
0.035429514944553375,
0.034413497895002365,
0.01416688971221447,
0.022958718240261078,
-0.03069356083869934,
0.01751810871064663,
0.01707564853131771,
0.04503251984715462,
-0.011127030476927757,
0.030496912077069283,
0.011397422291338444,
-0.06309141218662262,
-0.04296770691871643,
-0.012413439340889454,
-0.0309393722563982,
0.02154940366744995,
0.04080457240343094,
0.02048422396183014,
-0.014035790227353573,
-0.04650738090276718,
0.0524396151304245,
0.030218327417969704,
-0.012347890064120293,
-0.03700270131230354,
0.02125443145632744,
0.00009301117825089023,
0.03354496508836746,
-0.029939740896224976,
-0.032627273350954056,
0.008800022304058075,
-0.03582281246781349,
-0.04939156025648117,
0.0006851973012089729,
0.0002451705513522029,
0.009054026566445827,
-0.018435802310705185,
0.011135224252939224,
-0.033315543085336685,
-0.00884099118411541,
0.027284987270832062,
-0.0075955502688884735,
0.01751810871064663,
-0.026924464851617813,
-0.04565523937344551,
0.05430777370929718,
-0.002134456066414714,
0.005633161403238773,
0.008767248131334782,
-0.07177671790122986,
-0.0289401113986969,
0.012536345049738884,
0.08285459131002426,
0.017501721158623695,
-0.01902574673295021,
-0.008701697923243046,
0.024646617472171783,
0.009447324089705944,
-0.07721733301877975,
-0.044573672115802765,
-0.026154257357120514,
0.045393042266368866,
0.030464138835668564,
0.005846197716891766,
-0.022499872371554375,
-0.028628751635551453,
-0.012896867468953133,
0.028350165113806725,
-0.022696521133184433,
0.051194172352552414,
0.03700270131230354,
-0.025580698624253273,
0.02707195095717907,
0.0025318500120192766,
0.013789979740977287,
0.012995191849768162,
0.0867220088839531,
-0.0008531679050065577,
-0.007120316382497549,
0.03500344231724739,
-0.019156847149133682,
0.03654385730624199,
0.002675239695236087,
-0.05037480220198631,
-0.025760959833860397,
-0.003705596085637808,
0.026400068774819374,
0.001080542802810669,
0.05493049696087837,
0.007923297584056854,
0.04663848131895065
] |
729,993 | mmengine.fileio.backends.base | get_text | null | @abstractmethod
def get_text(self, filepath):
pass
| (self, filepath) | [
0.004136272240430117,
-0.0852302834391594,
-0.010118212550878525,
0.06463132053613663,
-0.020895591005682945,
-0.05543593689799309,
-0.0003543022321537137,
0.033370327204465866,
0.06947619467973709,
-0.00551640335470438,
0.0792318657040596,
0.014040255919098854,
0.008173669688403606,
0.030321678146719933,
-0.059918273240327835,
0.02461988478899002,
-0.0027932198718190193,
0.03737476468086243,
-0.054084647446870804,
-0.039517056196928024,
-0.043603893369436264,
-0.01891809143126011,
0.039385225623846054,
-0.012178109027445316,
0.013743630610406399,
0.07349710911512375,
-0.0051909396424889565,
-0.04281289130449295,
0.04953639581799507,
-0.01755031943321228,
-0.04670197516679764,
-0.06344481557607651,
-0.002684045350179076,
0.0911627858877182,
-0.03140930458903313,
0.030008574947714806,
-0.018522590398788452,
0.022906050086021423,
-0.06463132053613663,
0.032348617911338806,
-0.018769778311252594,
0.03523247316479683,
0.08997628837823868,
-0.03071717917919159,
-0.04452672600746155,
-0.023911280557513237,
-0.03411188721656799,
-0.029629552736878395,
-0.03842943161725998,
0.010554910637438297,
-0.007090164348483086,
0.02109334245324135,
-0.05777598172426224,
-0.03958297520875931,
-0.02679513581097126,
0.06993760913610458,
0.00016749535279814154,
0.03513359650969505,
-0.002906514098867774,
0.029299970716238022,
0.0005167765775695443,
-0.05108543857932091,
0.08602128177881241,
-0.010975128971040249,
0.0006813108338974416,
0.016133110970258713,
0.012721921317279339,
-0.01904992386698723,
0.05972052365541458,
0.053689144551754,
0.03467218205332756,
0.011889723129570484,
0.008635086938738823,
0.007477425038814545,
0.05985235795378685,
0.0005123993032611907,
-0.01703946478664875,
0.01763271540403366,
0.04525180906057358,
0.0030774855986237526,
-0.022559987381100655,
0.017138339579105377,
0.018011735752224922,
-0.0031804803293198347,
0.00589954387396574,
-0.05517227202653885,
0.028443053364753723,
-0.06328002363443375,
0.014032015576958656,
0.051184311509132385,
-0.03684743121266365,
-0.00967327505350113,
-0.038495346903800964,
0.022329280152916908,
-0.014790058135986328,
-0.03315609693527222,
0.011354150250554085,
-0.036748554557561874,
-0.04116497561335564,
0.005203298758715391,
-0.03381526470184326,
0.06934436410665512,
0.048415809869766235,
-0.04867947846651077,
0.0349358469247818,
-0.04291176795959473,
-0.03958297520875931,
-0.008165430277585983,
0.02305436320602894,
0.04139568284153938,
-0.07501319795846939,
-0.029514199122786522,
-0.022939009591937065,
-0.005075585562735796,
-0.006332122255116701,
-0.03671559691429138,
-0.05141501873731613,
0.0056976741179823875,
-0.01730313152074814,
-0.023120280355215073,
0.020763758569955826,
-0.004334022756665945,
-0.062225356698036194,
-0.010118212550878525,
0.02676217630505562,
0.03058534488081932,
-0.009813347831368446,
0.014328640885651112,
0.06512568891048431,
-0.044328976422548294,
-0.002546032192185521,
0.030437033623456955,
0.03114563785493374,
-0.017484402284026146,
0.021010946482419968,
0.0357927642762661,
0.02569103054702282,
0.013158619403839111,
-0.00578418979421258,
0.03839647397398949,
0.04406530782580376,
-0.01339756790548563,
0.08298911899328232,
0.02227984182536602,
-0.04241739213466644,
0.042153723537921906,
0.028953908011317253,
-0.07659519463777542,
-0.03819872438907623,
0.03093140758574009,
0.04152751713991165,
-0.009656795300543308,
-0.05279926955699921,
-0.022164488211274147,
0.027553178369998932,
-0.04225260019302368,
0.022477591410279274,
0.03417780622839928,
-0.04136272519826889,
-0.007811128161847591,
0.010225326754152775,
-0.030107449740171432,
0.010637306608259678,
-0.004160991404205561,
0.01339756790548563,
0.04103314131498337,
-0.024356218054890633,
-0.03717701509594917,
-0.005087944678962231,
-0.02738838642835617,
-0.02961307391524315,
-0.024586927145719528,
-0.09722711890935898,
0.0134222861379385,
0.053227730095386505,
-0.013059744611382484,
0.01738552749156952,
0.0647631511092186,
0.023911280557513237,
0.10236862301826477,
-0.00146664644125849,
-0.04508701711893082,
-0.08068203181028366,
0.057446397840976715,
0.08035244792699814,
0.018423715606331825,
0.01964317448437214,
0.02023642510175705,
0.025163697078824043,
0.009104743599891663,
-0.03241453319787979,
-0.015094922855496407,
-0.02679513581097126,
0.004051816649734974,
0.010274764150381088,
-0.06796011328697205,
0.028228823095560074,
0.02018698677420616,
-0.07817719876766205,
0.0724424421787262,
0.014114411547780037,
0.004840757232159376,
0.006785299628973007,
0.02249407209455967,
-0.012087473645806313,
0.03297482430934906,
0.027553178369998932,
-0.02244463376700878,
-0.11634296178817749,
0.03294186666607857,
0.0009341631084680557,
-0.01921471580862999,
-0.020055154338479042,
0.01921471580862999,
0.07633153349161148,
-0.037506598979234695,
-0.03477105498313904,
0.034013014286756516,
-0.04699860140681267,
0.044032350182533264,
0.05187643691897392,
0.05418352037668228,
-0.020714320242404938,
-0.007893524132668972,
0.04327430948615074,
-0.03549613803625107,
0.0647631511092186,
-0.017748069018125534,
-0.023070842027664185,
-0.03869310021400452,
0.00042021891567856073,
-0.04205485060811043,
0.012598328292369843,
0.03374934569001198,
0.03093140758574009,
-0.009846306405961514,
-0.0183248408138752,
-0.02496594749391079,
-0.034013014286756516,
-0.011848525144159794,
-0.02389480173587799,
0.02870672009885311,
-0.012952630408108234,
0.05405168980360031,
-0.011304712854325771,
-0.0409013070166111,
-0.006785299628973007,
0.07844086736440659,
-0.00002351178954995703,
-0.011494223028421402,
0.08384603261947632,
-0.035298388451337814,
-0.07165144383907318,
-0.009689753875136375,
-0.016734600067138672,
0.002978610573336482,
-0.039813682436943054,
-0.019148798659443855,
0.05929206684231758,
0.011626056395471096,
0.020730799064040184,
-0.01695706881582737,
-0.011963879689574242,
0.01789638213813305,
0.007885284721851349,
-0.021999696269631386,
-0.01797877810895443,
0.015243235044181347,
-0.050624020397663116,
0.024125508964061737,
-0.013990817591547966,
0.06252198666334152,
-0.020598966628313065,
0.00029842753428965807,
-0.033040743321180344,
0.0036563165485858917,
-0.01495485007762909,
0.01977500692009926,
-0.03513359650969505,
-0.04192301630973816,
0.004329902585595846,
0.015391548164188862,
0.008676284924149513,
-0.010546671226620674,
0.011065764352679253,
-0.04426305741071701,
0.025674551725387573,
-0.022180967032909393,
-0.026037093251943588,
-0.01269720308482647,
0.019198236986994743,
0.0221480093896389,
-0.03767139092087746,
0.01412265095859766,
0.06169802322983742,
-0.006888294592499733,
-0.030387595295906067,
-0.01277959905564785,
0.012894952669739723,
-0.056984979659318924,
-0.024570446461439133,
-0.020137550309300423,
-0.050887685269117355,
-0.027075281366705894,
-0.08292319625616074,
-0.02061544544994831,
-0.016454454511404037,
0.0028055792208760977,
0.0071231224574148655,
-0.013084463775157928,
-0.004667725879698992,
-0.005273335613310337,
-0.025443842634558678,
0.06354369223117828,
0.0030053891241550446,
0.029497720301151276,
0.011304712854325771,
0.060808148235082626,
0.03543022274971008,
0.03360103443264961,
-0.03332088887691498,
0.011288234032690525,
-0.00888227391988039,
-0.02138996683061123,
0.049898937344551086,
-0.007955321110785007,
-0.013685952872037888,
0.01806117407977581,
-0.013743630610406399,
0.030519429594278336,
0.015202037058770657,
0.07105819135904312,
0.03585867956280708,
-0.03374934569001198,
-0.09267886728048325,
0.006245606578886509,
0.009080024436116219,
-0.052370812743902206,
0.034276679158210754,
-0.022345758974552155,
0.04231851547956467,
-0.059325024485588074,
-0.024768197908997536,
-0.0003087270015385002,
0.046075768768787384,
0.059193190187215805,
-0.004469975829124451,
-0.01338108815252781,
0.0975567027926445,
-0.033123139292001724,
0.03332088887691498,
-0.04980006068944931,
-0.01346348412334919,
-0.007844086736440659,
-0.04225260019302368,
0.014106172136962414,
-0.01738552749156952,
-0.0010072895092889667,
-0.018588507547974586,
-0.0438675582408905,
-0.009796868078410625,
-0.015646975487470627,
-0.04277993366122246,
0.029250532388687134,
-0.036023471504449844,
-0.020928550511598587,
0.014180328696966171,
0.0668724849820137,
0.05754527449607849,
0.006138491909950972,
0.00990398321300745,
-0.0198079664260149,
-0.03730884939432144,
-0.03147521987557411,
0.020813195034861565,
-0.031541138887405396,
0.015745850279927254,
-0.015424505807459354,
-0.04254922643303871,
0.057743024080991745,
0.02163715474307537,
0.006159090902656317,
-0.03434259817004204,
-0.029382364824414253,
0.007094284053891897,
-0.03533134609460831,
0.03711109980940819,
0.05866585671901703,
-0.02402663417160511,
-0.023070842027664185,
0.03846238926053047,
-0.02045065350830555,
-0.05972052365541458,
-0.03882493078708649,
-0.004848996642976999,
-0.04778960347175598,
0.012095713056623936,
0.006336241960525513,
-0.045943934470415115,
0.03404597193002701,
-0.00014560893760062754,
-0.013257495127618313,
-0.049997810274362564,
0.02185138314962387,
-0.005796549376100302,
0.054381269961595535,
0.05042627081274986,
0.001658216817304492,
-0.018852174282073975,
-0.025279050692915916,
0.012482973746955395,
0.0387590155005455,
-0.05721569061279297,
-0.029926178976893425,
0.013117421418428421,
0.0054999240674078465,
-0.02270830050110817,
-0.023153237998485565,
-0.0221480093896389,
0.018374277278780937,
-0.031590573489665985,
0.03417780622839928,
0.00896466989070177,
0.058006688952445984,
0.002414198825135827,
0.01557281892746687,
0.012557130306959152,
-0.01589416339993477,
0.018819216638803482,
0.01730313152074814,
-0.008939951658248901,
0.0030651262495666742,
-0.12715330719947815,
0.011271754279732704,
0.015193797647953033,
-0.006332122255116701,
-0.057314563542604446,
-0.05006372928619385,
-0.016174308955669403,
-0.006591669283807278,
-0.00138734036590904,
-0.0008723662467673421,
0.01039835810661316,
0.05260151997208595,
0.05566664785146713,
-0.08424153178930283,
-0.014303922653198242,
-0.0025336728431284428,
-0.015070203691720963,
-0.06545527279376984,
-0.0353643037378788,
0.09867729246616364,
0.03984664008021355,
-0.003038347465917468,
-0.04248330742120743,
-0.03343624249100685,
0.019363028928637505,
-0.02986026182770729,
0.01806117407977581,
0.03902268037199974,
-0.020516570657491684,
0.08740553259849548,
-0.0008636116399429739,
-0.10816929489374161,
0.06403806805610657,
-0.013372848741710186,
-0.04759185388684273,
0.009508483111858368,
-0.04366980865597725,
-0.025509759783744812,
0.04610872641205788,
-0.03381526470184326,
-0.054513104259967804,
-0.05662243813276291,
0.0004838182358071208,
0.03796801343560219,
-0.007250836119055748,
0.020714320242404938,
0.006179689895361662,
-0.025031864643096924,
0.0198079664260149,
-0.04802031069993973,
-0.04096722602844238,
0.014798297546803951,
0.0009599118493497372,
-0.026020614430308342,
0.01628142222762108,
-0.015029005706310272,
0.004099194426089525,
-0.06413694471120834,
-0.006233247462660074,
0.05711681395769119,
-0.0013008246896788478,
0.010085253976285458,
0.01763271540403366,
-0.001489305286668241,
-0.012285223230719566,
0.05741344019770622,
-0.04920681193470955,
-0.015309152193367481,
-0.010587869212031364,
-0.06281860917806625,
0.030469991266727448,
0.018291881307959557,
-0.005920142866671085,
0.02018698677420616,
0.016545088961720467,
0.02956363745033741,
0.01163429580628872,
-0.013290452770888805,
0.009121222421526909,
0.032826513051986694,
0.010694983415305614,
-0.0024409776087850332,
0.032908909022808075,
-0.04762481153011322,
-0.04614168405532837,
0.013636515475809574,
-0.025410884991288185,
0.02854192815721035,
0.015770569443702698,
-0.03276059776544571,
-0.041560474783182144,
-0.04716339334845543,
0.00640215864405036,
-0.005273335613310337,
-0.06921252608299255,
0.026383155956864357,
-0.0023215035907924175,
0.045054059475660324,
0.005413408391177654,
-0.0018106491770595312,
0.04277993366122246,
-0.0074444664642214775,
0.0013183339033275843,
0.0438675582408905,
-0.02867376059293747,
0.015325631015002728,
0.027767406776547432,
0.051184311509132385,
0.009195378981530666,
-0.018127091228961945,
-0.030041532590985298,
-0.044922225177288055,
0.013010307215154171,
-0.02743782289326191,
-0.019115841016173363,
-0.04037397354841232,
0.06057744100689888,
0.05039331316947937,
0.0223622377961874,
-0.031541138887405396,
-0.0033514518290758133,
0.017369048669934273,
0.0732993632555008,
0.03885789215564728,
0.01041483785957098,
-0.02058248780667782,
-0.013776589184999466,
-0.007098403759300709,
0.0009181989007629454,
-0.004214548505842686,
-0.022906050086021423,
0.052766311913728714,
0.01814357005059719,
0.06288452446460724,
0.022609425708651543,
0.08582353591918945,
-0.017006507143378258,
-0.0809457004070282,
0.0009310732712037861,
0.038066890090703964,
0.0050137885846197605,
-0.02147236280143261,
0.017945820465683937,
0.07409036159515381,
0.026564426720142365,
-0.038528308272361755,
-0.007151961326599121,
-0.04620760306715965,
0.004179530311375856,
-0.03470513969659805,
0.05820443853735924,
0.01687467284500599,
-0.010744420811533928,
-0.005916023161262274,
-0.0022803056053817272,
0.019115841016173363,
-0.012095713056623936,
0.0038046292029321194,
-0.007316752802580595,
-0.0024677561596035957,
0.0189510490745306,
-0.04633943364024162,
-0.004750121850520372,
0.022559987381100655,
0.017402006313204765,
-0.035166554152965546,
-0.01273840107023716,
-0.06031377241015434,
-0.029201094061136246,
0.02270830050110817,
-0.01934655010700226,
0.06014898046851158,
-0.009854545816779137,
0.07468361407518387,
-0.027454301714897156,
0.015267954207956791,
-0.031079720705747604,
0.0587976910173893,
-0.0033638111781328917,
-0.029761387035250664,
0.06163210794329643,
-0.061203647404909134,
-0.00217319093644619,
0.044032350182533264,
0.014600547030568123,
0.0030095090623944998,
0.029530677944421768,
0.009063545614480972,
-0.012952630408108234,
0.016347339376807213,
-0.011345910839736462,
0.07474952936172485,
-0.047262270003557205,
0.07382669299840927,
-0.002863256260752678,
-0.02227984182536602,
-0.00047583613195456564,
-0.013389328494668007,
0.00920361839234829,
0.00550816347822547,
0.022741258144378662,
0.027025844901800156,
0.00033267331309616566,
-0.009879264049232006,
-0.0005999449058435857,
-0.007184919435530901,
-0.009335451759397984,
0.007930601947009563,
-0.016207266598939896,
0.02676217630505562,
-0.04455968365073204,
-0.0370781384408474,
-0.0249165091663599,
0.019840924069285393,
-0.050887685269117355,
-0.03170593082904816,
0.0511183962225914,
-0.03223326429724693,
-0.026482030749320984,
0.0208791121840477,
0.008148951455950737,
0.01865442469716072,
0.02488355152308941,
0.01822596602141857,
0.024652842432260513,
-0.009104743599891663,
0.0028508969116955996,
0.01789638213813305,
-0.024422135204076767,
0.015581058338284492,
0.015490422956645489,
-0.014386318624019623,
0.00027911600773222744,
-0.025658072903752327,
-0.011106962338089943,
-0.059918273240327835,
0.03421076387166977,
-0.020928550511598587,
0.03155761584639549,
0.08509845286607742,
0.04455968365073204,
-0.03958297520875931,
0.03572684898972511,
0.023367468267679214,
0.039253391325473785,
-0.06618035584688187,
0.061236608773469925,
0.024932989850640297,
0.028904469683766365,
0.022263363003730774,
-0.04617464169859886,
-0.005722392816096544,
0.00578418979421258,
0.026053572073578835,
-0.02569103054702282,
0.03905564174056053,
0.026828093454241753,
-0.07488135993480682,
-0.07441994547843933,
-0.0038355274591594934,
-0.02265886217355728,
0.0198079664260149,
0.08555986732244492,
0.03928634896874428,
-0.004572970326989889,
-0.06581781804561615,
0.05019555985927582,
0.02521313540637493,
-0.0040682959370315075,
-0.0374736413359642,
0.005854226183146238,
-0.02695992775261402,
0.016157830134034157,
-0.054513104259967804,
-0.03991255909204483,
0.005413408391177654,
-0.03440851345658302,
-0.04584506154060364,
0.0014913651393726468,
-0.002041357569396496,
0.0016705761663615704,
-0.013249254785478115,
0.013059744611382484,
-0.029464760795235634,
0.001335843000560999,
0.03533134609460831,
0.010348920710384846,
-0.0005257886368781328,
-0.008783399127423763,
-0.022098571062088013,
0.06301635503768921,
0.017912860959768295,
-0.017698632553219795,
0.0366496816277504,
-0.08661453425884247,
-0.03368343040347099,
0.027421344071626663,
0.06954210996627808,
0.0009805108420550823,
-0.02211504988372326,
-0.02564159408211708,
0.012730161659419537,
-0.014493432827293873,
-0.05138206109404564,
-0.029118698090314865,
-0.053788021206855774,
0.02074727974832058,
0.008527971804141998,
-0.006842976436018944,
-0.010900973342359066,
-0.044625602662563324,
-0.011271754279732704,
0.02585582248866558,
-0.007629857398569584,
0.030222803354263306,
0.05286518856883049,
-0.009467285126447678,
0.02440565451979637,
0.01682523638010025,
0.021785466000437737,
-0.012103952467441559,
0.07211285829544067,
0.003831407753750682,
0.016627484932541847,
0.06407102197408676,
-0.02743782289326191,
0.022559987381100655,
0.036023471504449844,
-0.01784694381058216,
-0.014864213764667511,
0.01444399543106556,
0.033287931233644485,
-0.0003470925730653107,
0.04050580784678459,
-0.023235633969306946,
0.06707023829221725
] |
729,994 | mmengine.config.config | Config | A facility for config and config files.
It supports common file formats as configs: python/json/yaml.
``Config.fromfile`` can parse a dictionary from a config file, then
build a ``Config`` instance with the dictionary.
The interface is the same as a dict object and also allows access config
values as attributes.
Args:
cfg_dict (dict, optional): A config dictionary. Defaults to None.
cfg_text (str, optional): Text of config. Defaults to None.
filename (str or Path, optional): Name of config file.
Defaults to None.
format_python_code (bool): Whether to format Python code by yapf.
Defaults to True.
Here is a simple example:
Examples:
>>> cfg = Config(dict(a=1, b=dict(b1=[0, 1])))
>>> cfg.a
1
>>> cfg.b
{'b1': [0, 1]}
>>> cfg.b.b1
[0, 1]
>>> cfg = Config.fromfile('tests/data/config/a.py')
>>> cfg.filename
"/home/username/projects/mmengine/tests/data/config/a.py"
>>> cfg.item4
'test'
>>> cfg
"Config [path: /home/username/projects/mmengine/tests/data/config/a.py]
:"
"{'item1': [1, 2], 'item2': {'a': 0}, 'item3': True, 'item4': 'test'}"
You can find more advance usage in the `config tutorial`_.
.. _config tutorial: https://mmengine.readthedocs.io/en/latest/advanced_tutorials/config.html
| class Config:
"""A facility for config and config files.
It supports common file formats as configs: python/json/yaml.
``Config.fromfile`` can parse a dictionary from a config file, then
build a ``Config`` instance with the dictionary.
The interface is the same as a dict object and also allows access config
values as attributes.
Args:
cfg_dict (dict, optional): A config dictionary. Defaults to None.
cfg_text (str, optional): Text of config. Defaults to None.
filename (str or Path, optional): Name of config file.
Defaults to None.
format_python_code (bool): Whether to format Python code by yapf.
Defaults to True.
Here is a simple example:
Examples:
>>> cfg = Config(dict(a=1, b=dict(b1=[0, 1])))
>>> cfg.a
1
>>> cfg.b
{'b1': [0, 1]}
>>> cfg.b.b1
[0, 1]
>>> cfg = Config.fromfile('tests/data/config/a.py')
>>> cfg.filename
"/home/username/projects/mmengine/tests/data/config/a.py"
>>> cfg.item4
'test'
>>> cfg
"Config [path: /home/username/projects/mmengine/tests/data/config/a.py]
:"
"{'item1': [1, 2], 'item2': {'a': 0}, 'item3': True, 'item4': 'test'}"
You can find more advance usage in the `config tutorial`_.
.. _config tutorial: https://mmengine.readthedocs.io/en/latest/advanced_tutorials/config.html
""" # noqa: E501
def __init__(
self,
cfg_dict: dict = None,
cfg_text: Optional[str] = None,
filename: Optional[Union[str, Path]] = None,
env_variables: Optional[dict] = None,
format_python_code: bool = True,
):
filename = str(filename) if isinstance(filename, Path) else filename
if cfg_dict is None:
cfg_dict = dict()
elif not isinstance(cfg_dict, dict):
raise TypeError('cfg_dict must be a dict, but '
f'got {type(cfg_dict)}')
for key in cfg_dict:
if key in RESERVED_KEYS:
raise KeyError(f'{key} is reserved for config file')
if not isinstance(cfg_dict, ConfigDict):
cfg_dict = ConfigDict(cfg_dict)
super().__setattr__('_cfg_dict', cfg_dict)
super().__setattr__('_filename', filename)
super().__setattr__('_format_python_code', format_python_code)
if not hasattr(self, '_imported_names'):
super().__setattr__('_imported_names', set())
if cfg_text:
text = cfg_text
elif filename:
with open(filename, encoding='utf-8') as f:
text = f.read()
else:
text = ''
super().__setattr__('_text', text)
if env_variables is None:
env_variables = dict()
super().__setattr__('_env_variables', env_variables)
@staticmethod
def fromfile(filename: Union[str, Path],
use_predefined_variables: bool = True,
import_custom_modules: bool = True,
use_environment_variables: bool = True,
lazy_import: Optional[bool] = None,
format_python_code: bool = True) -> 'Config':
"""Build a Config instance from config file.
Args:
filename (str or Path): Name of config file.
use_predefined_variables (bool, optional): Whether to use
predefined variables. Defaults to True.
import_custom_modules (bool, optional): Whether to support
importing custom modules in config. Defaults to None.
use_environment_variables (bool, optional): Whether to use
environment variables. Defaults to True.
lazy_import (bool): Whether to load config in `lazy_import` mode.
If it is `None`, it will be deduced by the content of the
config file. Defaults to None.
format_python_code (bool): Whether to format Python code by yapf.
Defaults to True.
Returns:
Config: Config instance built from config file.
"""
filename = str(filename) if isinstance(filename, Path) else filename
if lazy_import is False or \
lazy_import is None and not Config._is_lazy_import(filename):
cfg_dict, cfg_text, env_variables = Config._file2dict(
filename, use_predefined_variables, use_environment_variables,
lazy_import)
if import_custom_modules and cfg_dict.get('custom_imports', None):
try:
import_modules_from_strings(**cfg_dict['custom_imports'])
except ImportError as e:
err_msg = (
'Failed to import custom modules from '
f"{cfg_dict['custom_imports']}, the current sys.path "
'is: ')
for p in sys.path:
err_msg += f'\n {p}'
err_msg += (
'\nYou should set `PYTHONPATH` to make `sys.path` '
'include the directory which contains your custom '
'module')
raise ImportError(err_msg) from e
return Config(
cfg_dict,
cfg_text=cfg_text,
filename=filename,
env_variables=env_variables,
)
else:
# Enable lazy import when parsing the config.
# Using try-except to make sure ``ConfigDict.lazy`` will be reset
# to False. See more details about lazy in the docstring of
# ConfigDict
ConfigDict.lazy = True
try:
cfg_dict, imported_names = Config._parse_lazy_import(filename)
except Exception as e:
raise e
finally:
# disable lazy import to get the real type. See more details
# about lazy in the docstring of ConfigDict
ConfigDict.lazy = False
cfg = Config(
cfg_dict,
filename=filename,
format_python_code=format_python_code)
object.__setattr__(cfg, '_imported_names', imported_names)
return cfg
@staticmethod
def fromstring(cfg_str: str, file_format: str) -> 'Config':
"""Build a Config instance from config text.
Args:
cfg_str (str): Config text.
file_format (str): Config file format corresponding to the
config str. Only py/yml/yaml/json type are supported now!
Returns:
Config: Config object generated from ``cfg_str``.
"""
if file_format not in ['.py', '.json', '.yaml', '.yml']:
raise OSError('Only py/yml/yaml/json type are supported now!')
if file_format != '.py' and 'dict(' in cfg_str:
# check if users specify a wrong suffix for python
warnings.warn(
'Please check "file_format", the file format may be .py')
# A temporary file can not be opened a second time on Windows.
# See https://docs.python.org/3/library/tempfile.html#tempfile.NamedTemporaryFile for more details. # noqa
# `temp_file` is opened first in `tempfile.NamedTemporaryFile` and
# second in `Config.from_file`.
# In addition, a named temporary file will be removed after closed.
# As a workaround we set `delete=False` and close the temporary file
# before opening again.
with tempfile.NamedTemporaryFile(
'w', encoding='utf-8', suffix=file_format,
delete=False) as temp_file:
temp_file.write(cfg_str)
cfg = Config.fromfile(temp_file.name)
os.remove(temp_file.name) # manually delete the temporary file
return cfg
@staticmethod
def _get_base_modules(nodes: list) -> list:
"""Get base module name from parsed code.
Args:
nodes (list): Parsed code of the config file.
Returns:
list: Name o | (cfg_dict: dict = None, cfg_text: Optional[str] = None, filename: Union[str, pathlib.Path, NoneType] = None, env_variables: Optional[dict] = None, format_python_code: bool = True) | [
0.06372828036546707,
-0.04166848957538605,
0.011441930197179317,
-0.03748473525047302,
-0.021954137831926346,
-0.0019056678283959627,
-0.028419937938451767,
0.053078725934028625,
-0.004292044788599014,
-0.06153075024485588,
0.006265064235776663,
-0.04834559187293053,
-0.004255067091435194,
0.05181092023849487,
-0.009561354294419289,
0.015002346597611904,
0.012445609085261822,
0.046612925827503204,
-0.011875096708536148,
-0.042851772159338,
-0.0023058184888213873,
-0.029603222385048866,
0.008446743711829185,
0.060939110815525055,
0.034125056117773056,
-0.0005959338741376996,
0.032223351299762726,
-0.0040067886002361774,
-0.007347980514168739,
-0.07488495111465454,
-0.014960086904466152,
-0.020760290324687958,
0.02178509719669819,
0.03431522473692894,
0.017242133617401123,
-0.06841915100812912,
0.0043554347939789295,
0.05037407577037811,
-0.07543433457612991,
-0.029307400807738304,
0.02322194166481495,
-0.004484856501221657,
0.03245577961206436,
-0.02480669692158699,
-0.004513910040259361,
0.07370167225599289,
-0.06351697444915771,
0.06550320237874985,
-0.04196431115269661,
-0.013132335618138313,
0.024827826768159866,
-0.040548596531152725,
-0.031673967838287354,
0.08418218046426773,
-0.011959617026150227,
0.01854163222014904,
0.0018303919350728393,
0.029814522713422775,
0.057811859995126724,
0.0098360450938344,
0.0015702280215919018,
0.015678508207201958,
0.041267018765211105,
-0.027088744565844536,
-0.01854163222014904,
-0.011040459387004375,
-0.06178431212902069,
0.00023738307936582714,
-0.020464468747377396,
-0.010411839932203293,
-0.00539344921708107,
-0.03247690945863724,
0.030215993523597717,
-0.03733682632446289,
0.041943181306123734,
-0.03740021586418152,
-0.05506495013833046,
0.02577867917716503,
0.029645482078194618,
-0.012392783537507057,
-0.034949127584695816,
0.015372122637927532,
-0.027447955682873726,
-0.023412112146615982,
0.04365471377968788,
-0.01890084333717823,
0.019017059355974197,
0.014209968969225883,
0.024996867403388023,
0.026623882353305817,
-0.015731334686279297,
0.03184301033616066,
0.008050555363297462,
0.027194393798708916,
0.003687196411192417,
-0.048514630645513535,
0.05696665868163109,
-0.045936763286590576,
0.033216461539268494,
0.002196206245571375,
-0.018467677757143974,
-0.02105611003935337,
-0.04386601597070694,
-0.029497571289539337,
-0.014717090874910355,
-0.02182735688984394,
-0.03420957550406456,
0.024067144840955734,
-0.0037875643465667963,
-0.036174673587083817,
-0.08908435702323914,
-0.05561433359980583,
0.0038060529623180628,
-0.01920722983777523,
0.0691375732421875,
-0.023496633395552635,
-0.03488573804497719,
-0.010512207634747028,
0.034801218658685684,
0.020971590653061867,
-0.0037004027981311083,
0.05143057927489281,
-0.02835654839873314,
0.05814994126558304,
0.07082798331975937,
0.008953865617513657,
0.002205450553447008,
-0.052402563393116,
0.07285646349191666,
-0.05891062319278717,
0.07636405527591705,
0.04919079318642616,
-0.01286820974200964,
-0.023961493745446205,
0.04002034291625023,
-0.009841328486800194,
-0.02419392578303814,
0.038752540946006775,
-0.03137814626097679,
0.03763264790177345,
0.09001407772302628,
-0.012339957989752293,
0.015995459631085396,
-0.036956485360860825,
-0.028018467128276825,
-0.041985440999269485,
-0.012128657661378384,
-0.019238924607634544,
-0.06622162461280823,
0.03737908601760864,
0.006555602885782719,
-0.0358365923166275,
-0.05409296974539757,
0.05705117806792259,
-0.0045508877374231815,
-0.022249959409236908,
-0.036174673587083817,
0.023792453110218048,
0.003975093364715576,
-0.02003130130469799,
-0.036956485360860825,
-0.03184301033616066,
0.047838468104600906,
-0.010760486125946045,
-0.014938956126570702,
-0.0024312781170010567,
-0.0030189580284059048,
-0.09026764333248138,
-0.0015477773267775774,
-0.006994051858782768,
0.003409864380955696,
-0.037780556827783585,
-0.06064328923821449,
0.05096571892499924,
0.0087848249822855,
0.010565033182501793,
0.017580214887857437,
0.0045244754292070866,
0.004305250942707062,
-0.023665674030780792,
-0.017231568694114685,
0.010998198762536049,
-0.04458443820476532,
0.011959617026150227,
0.026983093470335007,
0.058741580694913864,
-0.008150923065841198,
0.058530282229185104,
0.0572202168405056,
0.020517293363809586,
-0.012160352431237698,
-0.017347784712910652,
0.026180151849985123,
0.015350992791354656,
0.006291477009654045,
-0.008282985538244247,
-0.03549851104617119,
0.012276568450033665,
0.03845671936869621,
0.02947644144296646,
-0.014622005634009838,
-0.0014104319270700216,
0.04623258486390114,
-0.009207425639033318,
-0.005874158348888159,
-0.028800278902053833,
0.006539755500853062,
-0.006692948285490274,
-0.04386601597070694,
0.03594224154949188,
-0.04500703886151314,
-0.06106588989496231,
0.0023480786476284266,
0.0001545136037748307,
0.03953435271978378,
-0.042767252773046494,
0.07399749010801315,
0.05798089876770973,
-0.05143057927489281,
0.014368444681167603,
0.10759429633617401,
0.08059006929397583,
0.04154171049594879,
-0.012213177978992462,
0.031061196699738503,
-0.029603222385048866,
-0.019122708588838577,
0.01658710092306137,
0.04703552648425102,
-0.0004268933553248644,
0.04910627380013466,
-0.03123023733496666,
0.003668707562610507,
0.000952173606492579,
0.09508529305458069,
-0.03199091926217079,
0.039323050528764725,
-0.011051024310290813,
-0.04906401410698891,
0.03165283799171448,
0.023813584819436073,
0.0032196936663240194,
-0.02487008646130562,
-0.025757549330592155,
-0.03949209302663803,
-0.012086397968232632,
-0.002206771168857813,
0.025694159790873528,
-0.027300044894218445,
-0.0065503204241395,
0.06279855221509933,
0.03999921306967735,
-0.010042063891887665,
0.05700891837477684,
-0.06250273436307907,
0.009561354294419289,
0.02096102572977543,
-0.05105023831129074,
0.05071215704083443,
-0.01755908504128456,
0.01787603460252285,
-0.05299420282244682,
0.013840192928910255,
0.05223352089524269,
0.019291749224066734,
-0.003761151572689414,
0.01833033189177513,
-0.020527858287096024,
-0.023200811818242073,
-0.0032038462813943624,
0.0834214985370636,
0.05620597302913666,
0.017949990928173065,
-0.0037532278802245855,
-0.05988260731101036,
0.005139888264238834,
0.0368930958211422,
-0.042598214000463486,
0.033300984650850296,
0.0280395969748497,
0.016787836328148842,
-0.048261068761348724,
0.03442087769508362,
0.015593988820910454,
0.0750962495803833,
-0.015562293119728565,
-0.09415557235479355,
0.0034309944603592157,
0.013206291012465954,
0.03915401175618172,
0.009492682293057442,
-0.043126463890075684,
0.008531264029443264,
0.004244501702487469,
0.07374393194913864,
-0.03978791460394859,
-0.06465800106525421,
-0.01833033189177513,
0.010934809222817421,
-0.10117075592279434,
-0.009181013330817223,
-0.00643410487100482,
0.022017529234290123,
0.028060726821422577,
-0.0012090359814465046,
-0.028208637610077858,
0.00539344921708107,
-0.045936763286590576,
-0.00578963803127408,
0.02250351943075657,
0.03708326444029808,
-0.00031695098732598126,
0.04441539943218231,
0.011452495120465755,
0.0034336356911808252,
-0.007680778857320547,
0.02311629243195057,
0.0041811116971075535,
0.013808498159050941,
-0.001987546682357788,
-0.04669744521379471,
0.01863671839237213,
-0.013132335618138313,
-0.029286270961165428,
0.08375958353281021,
-0.031357016414403915,
0.04957113415002823,
0.01317459624260664,
0.01525590755045414,
0.022376740351319313,
-0.04325324296951294,
-0.00004263155642547645,
0.011484190821647644,
0.0027284196112304926,
0.049697913229465485,
-0.03953435271978378,
-0.03564641997218132,
-0.023898104205727577,
0.010591445490717888,
-0.09415557235479355,
0.047838468104600906,
-0.027405695989727974,
-0.04813428968191147,
-0.018087336793541908,
-0.038752540946006775,
-0.023919234052300453,
0.028905929997563362,
-0.009048950858414173,
0.03809750825166702,
0.04906401410698891,
0.028187507763504982,
-0.002963491715490818,
0.0028314287774264812,
0.02768038585782051,
-0.00970398262143135,
-0.06723587214946747,
-0.04128814861178398,
-0.01571020297706127,
-0.006386562250554562,
-0.021975267678499222,
0.0043712821789085865,
-0.0110193295404315,
-0.029708871617913246,
0.036956485360860825,
-0.014209968969225883,
0.008663326501846313,
-0.04703552648425102,
0.007337415125221014,
0.043992795050144196,
-0.009867740795016289,
-0.017379479482769966,
0.0026993658393621445,
0.013248550705611706,
-0.08756299316883087,
0.038604628294706345,
-0.003264595055952668,
-0.028272027149796486,
0.029032710939645767,
-0.061657533049583435,
0.04325324296951294,
0.07480043172836304,
0.03585772216320038,
-0.01921779476106167,
0.00015599931066390127,
0.004664462059736252,
-0.021637186408042908,
0.01827750727534294,
-0.0537126250565052,
0.00027287498232908547,
-0.010285058990120888,
-0.02178509719669819,
0.007744168862700462,
-0.03139927610754967,
0.06491155922412872,
-0.02079198509454727,
-0.03144153580069542,
-0.046612925827503204,
0.06482703983783722,
0.005916418507695198,
0.03735795617103577,
0.02706761471927166,
-0.035815462470054626,
0.0417952686548233,
0.020823679864406586,
0.010839723981916904,
0.03180074691772461,
0.09195804595947266,
0.0513460598886013,
-0.03131475672125816,
0.08883079886436462,
0.04585224390029907,
0.02531381882727146,
-0.06106588989496231,
-0.012973859906196594,
-0.035625290125608444,
0.010638987645506859,
-0.011262324638664722,
0.012065267190337181,
0.021246280521154404,
-0.023961493745446205,
-0.029730001464486122,
-0.020105257630348206,
0.008203747682273388,
-0.004096591379493475,
0.020527858287096024,
0.042809512466192245,
-0.04283064231276512,
0.023348722606897354,
-0.06005164608359337,
-0.0025435315910726786,
-0.03913288190960884,
0.009830762632191181,
-0.018351461738348007,
-0.01561511866748333,
0.03892157971858978,
-0.06901079416275024,
-0.002493347739800811,
-0.08747847378253937,
0.00510819349437952,
-0.05058537796139717,
0.0019347216002643108,
0.03404053673148155,
0.060727808624506,
0.023454373702406883,
-0.03619580343365669,
0.027870556339621544,
-0.09128188341856003,
0.0321599580347538,
0.03344889357686043,
0.0016970083815976977,
-0.056839875876903534,
0.024130534380674362,
-0.001730024116113782,
0.006212239153683186,
-0.034737829118967056,
-0.05367036536335945,
0.026518233120441437,
-0.005985090974718332,
0.00563644478097558,
0.02742682583630085,
-0.020971590653061867,
-0.011822272092103958,
0.04745812714099884,
-0.024003755301237106,
0.01366058737039566,
-0.024215055629611015,
0.04287290200591087,
0.04817654937505722,
-0.012973859906196594,
-0.00391434459015727,
0.002981980564072728,
-0.015858113765716553,
-0.055233992636203766,
0.0477539487183094,
-0.017548520117998123,
-0.0013054418377578259,
0.03524494916200638,
0.007485325913876295,
-0.01935514062643051,
-0.06381279975175858,
0.03668179363012314,
-0.013650022447109222,
-0.04160510003566742,
-0.012234307825565338,
0.027447955682873726,
-0.08557676523923874,
0.1097918227314949,
-0.03737908601760864,
-0.013597196899354458,
-0.014421270228922367,
-0.032498039305210114,
0.004123004153370857,
0.007538150995969772,
0.004804448690265417,
-0.03955548256635666,
0.003042729338631034,
0.007960752584040165,
0.016872357577085495,
0.013829628005623817,
-0.06863044947385788,
0.00811394490301609,
0.006983486469835043,
-0.042302392423152924,
0.0005602769088000059,
0.037421345710754395,
0.006898966617882252,
-0.029730001464486122,
0.03890044987201691,
-0.016650492325425148,
-0.025208167731761932,
-0.053754888474941254,
0.0023401547223329544,
0.009070080704987049,
-0.021954137831926346,
0.033913753926754,
-0.012899905443191528,
-0.0280395969748497,
0.04318985342979431,
-0.01976717635989189,
-0.02244012989103794,
-0.034125056117773056,
-0.007575128693133593,
0.012118092738091946,
0.008489003404974937,
-0.031673967838287354,
0.05269838497042656,
0.06457348167896271,
-0.019344575703144073,
0.009645874612033367,
0.07108154147863388,
0.026518233120441437,
-0.014273359440267086,
0.008415048941969872,
-0.00010193605703534558,
0.02301064133644104,
0.0205489881336689,
0.022778211161494255,
0.040041472762823105,
-0.013079511001706123,
-0.0043712821789085865,
0.043063074350357056,
0.014917826279997826,
0.04910627380013466,
-0.0024220338091254234,
-0.03714665398001671,
-0.028631238266825676,
0.014400139451026917,
0.006175261456519365,
0.006566167809069157,
-0.015593988820910454,
0.0423235222697258,
-0.030237123370170593,
0.06153075024485588,
0.017178744077682495,
0.044964779168367386,
-0.0824495181441307,
0.07015182077884674,
-0.0417952686548233,
0.0163863655179739,
0.0009409482590854168,
-0.03699874505400658,
0.08266081660985947,
-0.0703631192445755,
-0.0025831505190581083,
0.02495460771024227,
0.016470886766910553,
-0.017231568694114685,
0.01229769829660654,
-0.009070080704987049,
-0.012973859906196594,
0.006465800106525421,
0.0025488140527158976,
0.049486614763736725,
-0.00883764959871769,
-0.021700577810406685,
0.06710908561944962,
-0.009482117369771004,
0.024574266746640205,
0.01915440522134304,
-0.018710672855377197,
0.016671622171998024,
0.007812841795384884,
0.022017529234290123,
-0.028842540457844734,
-0.024215055629611015,
-0.047077786177396774,
0.017041398212313652,
0.02994130365550518,
0.009820197708904743,
-0.003137814812362194,
-0.03535059839487076,
0.033617936074733734,
0.04135153815150261,
-0.007485325913876295,
0.0151819521561265,
0.035625290125608444,
-0.008150923065841198,
-0.005530794616788626,
0.05629049614071846,
-0.016164500266313553,
-0.07995616644620895,
-0.021658318117260933,
-0.015034041367471218,
0.013829628005623817,
0.005446274299174547,
0.002863123780116439,
0.05962904542684555,
-0.04927531257271767,
-0.004836143925786018,
0.028187507763504982,
0.02721552364528179,
-0.014516355469822884,
0.017474563792347908,
-0.04441539943218231,
0.002958209253847599,
-0.03651275485754013,
-0.012128657661378384,
0.03737908601760864,
0.030173733830451965,
-0.07218030095100403,
0.0046433317475020885,
0.045387379825115204,
-0.02774377539753914,
0.031145716086030006,
-0.05506495013833046,
0.02598998136818409,
-0.039365313947200775,
-0.04027390480041504,
-0.05261386185884476,
0.012804820202291012,
0.05629049614071846,
-0.016344105824828148,
0.012984425760805607,
-0.023348722606897354,
-0.06368602067232132,
-0.008383353240787983,
0.07277194410562515,
0.0033491153735667467,
0.016016589477658272,
0.02024260349571705,
0.03835107013583183,
-0.08680231124162674,
-0.033913753926754,
0.012889339588582516,
-0.05413522943854332,
0.008362223394215107,
-0.0018449188210070133,
-0.06034746766090393,
0.07196900248527527,
-0.013259116560220718,
0.0012717657955363393,
-0.02358115278184414,
-0.03478008881211281,
-0.005890005733817816,
-0.0316317081451416,
0.004207524470984936,
-0.016523711383342743,
0.008277703076601028,
0.020020736381411552,
-0.0009178371983580291,
-0.010464664548635483,
-0.03786507621407509,
-0.0184465479105711,
-0.023538893088698387,
-0.024532007053494453,
-0.04122475907206535,
0.034653306007385254,
0.022334478795528412,
0.07336358726024628,
0.003872084431350231,
0.04868366941809654,
-0.04504929855465889,
0.010686530731618404,
-0.016713881865143776,
0.005625879857689142,
-0.04071763530373573,
-0.012963294982910156,
-0.004923305474221706,
0.03456878662109375,
-0.007870949804782867,
-0.009952261112630367,
0.09263420850038528,
-0.039724525064229965,
0.007569846231490374,
-0.0038905732799321413,
0.017654169350862503,
0.029244011268019676,
0.000223516472033225,
0.024215055629611015,
-0.03030051477253437,
-0.0537126250565052,
0.07581467181444168,
0.0004840105539187789,
-0.028314288705587387,
-0.020612379536032677,
-0.050205036997795105,
0.048049770295619965,
-0.05675535649061203,
-0.05274064466357231,
-0.0011529092444106936,
0.017537955194711685,
-0.05823446065187454,
0.0027389847673475742,
-0.009688135236501694,
-0.004035842604935169,
-0.022524649277329445,
-0.05197996273636818,
0.007733603939414024,
-0.056121453642845154,
-0.006085458677262068,
0.002958209253847599,
0.08490060269832611,
0.04631710425019264,
-0.027405695989727974,
0.02286273054778576,
0.04500703886151314,
-0.009439856745302677,
-0.004608995746821165,
-0.02193300798535347,
-0.014600875787436962,
-0.04156284034252167,
0.0608123280107975,
0.0028499176260083914,
-0.006930661387741566,
0.033364374190568924,
-0.022355608642101288,
-0.044668957591056824,
-0.044457659125328064,
-0.019397400319576263,
0.018816323950886726,
-0.020718028768897057,
0.011209500022232533,
-0.06850367039442062,
0.0084784384816885,
-0.010808028280735016,
-0.05181092023849487,
0.0074219354428350925,
0.018108466640114784,
-0.000144196194014512,
0.039006102830171585,
0.008742564357817173,
0.0036475774832069874,
-0.04762716963887215,
0.041161369532346725,
-0.008525981567800045,
-0.026328062638640404,
0.06157300993800163,
0.02069689892232418,
-0.011970181949436665,
0.039830174297094345,
-0.035730939358472824,
0.02907497063279152,
-0.04821880906820297,
0.06537642329931259,
-0.01715761236846447,
-0.056417275220155716,
0.004630125593394041,
0.021299107000231743,
0.0029159490950405598,
-0.05751603841781616,
-0.00970926508307457,
-0.008584089577198029,
0.055867891758680344,
0.02275708131492138,
0.05443104729056358,
0.012086397968232632,
-0.05214900150895119,
0.024848956614732742
] |
729,995 | mmengine.config.config | __copy__ | null | def __copy__(self):
cls = self.__class__
other = cls.__new__(cls)
other.__dict__.update(self.__dict__)
super(Config, other).__setattr__('_cfg_dict', self._cfg_dict.copy())
return other
| (self) | [
0.015658173710107803,
-0.04204161837697029,
0.048165224492549896,
-0.02213093638420105,
-0.10879252851009369,
0.01417203526943922,
-0.03242647647857666,
0.014324231073260307,
0.04558686539530754,
-0.004883667454123497,
-0.012757518328726292,
-0.043080125004053116,
-0.02367079071700573,
0.09253452718257904,
-0.022435326129198074,
0.010698409751057625,
0.008061856031417847,
-0.006172847934067249,
-0.00837519858032465,
-0.044082820415496826,
0.023831939324736595,
-0.061880677938461304,
0.0014548046747222543,
0.037744347006082535,
0.02949000895023346,
0.01189806405454874,
-0.02474510855972767,
-0.001886769779957831,
0.018406637012958527,
-0.03846056014299393,
-0.029525820165872574,
-0.049382783472537994,
0.003211761126294732,
0.022918768227100372,
0.025425508618354797,
-0.045157138258218765,
-0.03384099528193474,
0.03475416451692581,
-0.039749741554260254,
0.020698513835668564,
0.03314268961548805,
-0.05539896339178085,
-0.01598942279815674,
-0.0459807813167572,
0.021844452247023582,
0.0738414078950882,
-0.020644797012209892,
0.05009899660944939,
0.021432630717754364,
0.010420877486467361,
-0.01213978510349989,
0.03289201483130455,
-0.045765917748212814,
0.070904940366745,
-0.03131634742021561,
-0.012399411760270596,
0.048165224492549896,
0.02941838838160038,
-0.04741320386528969,
0.061665814369916916,
-0.05393072962760925,
-0.04637469723820686,
0.04179094359278679,
-0.08222108334302902,
-0.014933010563254356,
-0.06707321107387543,
-0.1027047336101532,
0.009337607771158218,
0.05568544566631317,
-0.0200539231300354,
-0.012793328613042831,
-0.01973162777721882,
0.007112875580787659,
0.0047672828659415245,
-0.01083269901573658,
-0.0034087193198502064,
-0.0022583045065402985,
0.004852333106100559,
0.03831731528043747,
-0.04684023559093475,
-0.03248019143939018,
-0.023957274854183197,
-0.06299080699682236,
0.04655374959111214,
-0.01451223623007536,
0.03949906677007675,
-0.020036017522215843,
-0.044834841042757034,
0.06524687260389328,
-0.017672520130872726,
0.03283829987049103,
0.08429809659719467,
-0.005116436164826155,
-0.0005595402326434851,
0.045765917748212814,
-0.015156826935708523,
-0.016714585945010185,
0.044619977474212646,
0.028057586401700974,
0.003043899079784751,
-0.05804894492030144,
-0.02173702046275139,
-0.04562267288565636,
-0.02259647473692894,
0.01336629781872034,
-0.004780712071806192,
0.030259937047958374,
-0.020412027835845947,
-0.04712671786546707,
-0.007820134982466698,
-0.010644693858921528,
0.06997386366128922,
-0.002629839116707444,
0.047162529081106186,
0.0613793283700943,
-0.002075894270092249,
-0.03604334592819214,
-0.024709297344088554,
0.06757456064224243,
0.035792671144008636,
-0.03188931941986084,
0.07051102817058563,
0.015452263876795769,
0.05353681370615959,
0.0038697803393006325,
0.04991994425654411,
0.011522052809596062,
-0.049096301198005676,
0.012730659916996956,
-0.028523124754428864,
0.028057586401700974,
0.0069427755661308765,
-0.006835343781858683,
0.008688541129231453,
0.03609706088900566,
-0.03536294400691986,
-0.00841100886464119,
0.02880960889160633,
0.006181800737977028,
0.023903559893369675,
0.013124576769769192,
0.014494330622255802,
0.05661652237176895,
0.04390376806259155,
-0.017618803307414055,
-0.03190722316503525,
-0.03792339935898781,
0.05629422515630722,
0.007220307365059853,
0.003657155204564333,
-0.0010362685425207019,
0.043760523200035095,
-0.01247103326022625,
0.06299080699682236,
-0.06682253628969193,
0.029203524813055992,
-0.07584679871797562,
-0.0067592463456094265,
-0.011083373799920082,
-0.011119184084236622,
-0.023008296266198158,
0.004091358277946711,
0.062417834997177124,
-0.06861306726932526,
-0.030474800616502762,
-0.03849637135863304,
0.03477206826210022,
-0.09017103165388107,
0.0156492218375206,
-0.0004425963561516255,
-0.03663422167301178,
-0.08601700514554977,
0.019606290385127068,
0.033053163439035416,
-0.07273127883672714,
0.04551524296402931,
0.0007967853453010321,
-0.025855235755443573,
-0.014315278269350529,
-0.007520221173763275,
0.023491738364100456,
-0.00034719472751021385,
-0.03402004763484001,
0.034270722419023514,
0.025783615186810493,
-0.012211406603455544,
-0.007502315565943718,
0.059338126331567764,
0.03706394508481026,
0.02239951491355896,
0.02173702046275139,
0.002958848839625716,
0.0227397158741951,
-0.004559134133160114,
-0.02782481722533703,
-0.05027804896235466,
-0.05744016543030739,
-0.017027929425239563,
-0.04043013975024223,
0.12189920246601105,
-0.015228447504341602,
-0.034002143889665604,
0.012766470201313496,
-0.024243760854005814,
0.032319046556949615,
-0.026571447029709816,
-0.02073432318866253,
-0.0300808846950531,
-0.004404700826853514,
0.04025108739733696,
0.011146041564643383,
0.00035978437517769635,
0.042614586651325226,
-0.03529132157564163,
0.015147874131798744,
-0.05382329598069191,
0.003675060346722603,
-0.001971819903701544,
-0.03147749602794647,
0.007538126315921545,
0.04146864637732506,
0.013285723514854908,
0.0008555370732210577,
0.011951779946684837,
-0.019749533385038376,
-0.013894503936171532,
-0.03799502179026604,
-0.07355492562055588,
-0.0004182563570793718,
-0.026660975068807602,
0.03425281494855881,
-0.008433390408754349,
0.0298302099108696,
-0.046159833669662476,
0.09117373079061508,
0.025300173088908195,
-0.014861389063298702,
-0.037278808653354645,
-0.014888247475028038,
0.0374220535159111,
0.001995320664718747,
0.0010765554616227746,
0.0264103002846241,
0.03269505500793457,
0.015121015720069408,
-0.041289594024419785,
-0.05729692429304123,
0.014924057759344578,
0.058872587978839874,
0.02453024499118328,
0.05342938005924225,
-0.00932865496724844,
-0.04494227468967438,
0.0873061865568161,
-0.0014380185166373849,
0.01393926702439785,
-0.05342938005924225,
-0.03409167006611824,
0.01427051518112421,
-0.006607051473110914,
0.057332731783390045,
-0.00343333906494081,
0.004852333106100559,
-0.019821153953671455,
-0.0015443310840055346,
0.024100517854094505,
0.016025232151150703,
-0.02098499797284603,
-0.009355513378977776,
0.02721603773534298,
0.07792381197214127,
0.039678119122982025,
0.017959004268050194,
0.030725475400686264,
-0.0051970100030303,
-0.04350985214114189,
-0.005111959762871265,
-0.014118319377303123,
0.018621500581502914,
-0.03831731528043747,
0.03389471024274826,
0.0009120506001636386,
0.04103891924023628,
-0.01621323823928833,
-0.0012354649370536208,
-0.0005796836921945214,
-0.03575685992836952,
0.00558197358623147,
0.018603594973683357,
-0.009154078550636768,
0.015550742857158184,
-0.027985965833067894,
-0.0008963834843598306,
0.00035390921402722597,
0.06266850978136063,
-0.008294625207781792,
-0.06535430252552032,
0.04118216410279274,
-0.01100279949605465,
0.03076128475368023,
0.019355617463588715,
-0.010895367711782455,
-0.05690300464630127,
0.10542633384466171,
0.013267818838357925,
0.005617784336209297,
0.015425405465066433,
0.015711890533566475,
0.030098790302872658,
0.039678119122982025,
0.009480849839746952,
-0.0271444171667099,
0.014297372661530972,
0.04587334766983986,
-0.011208710260689259,
-0.04805779457092285,
0.02880960889160633,
-0.03323221579194069,
0.009436086751520634,
-0.00038328507798723876,
-0.07763732969760895,
0.010349256917834282,
-0.04526456817984581,
-0.0193198062479496,
0.06599888950586319,
0.004563610535115004,
0.04200580716133118,
0.009265986271202564,
-0.010555167682468891,
0.012023401446640491,
-0.0657840296626091,
0.04519294947385788,
0.031996749341487885,
0.03616868332028389,
0.005725216120481491,
-0.028039680793881416,
-0.011978637427091599,
-0.034789975732564926,
-0.030170410871505737,
-0.0814332515001297,
0.03543456643819809,
0.016392290592193604,
-0.012569512240588665,
-0.06818334013223648,
-0.03896190598607063,
-0.005617784336209297,
-0.060734737664461136,
0.01019706204533577,
-0.03788759186863899,
-0.02025088109076023,
-0.006387711502611637,
-0.0021721352823078632,
0.02232789434492588,
0.040215276181697845,
0.029257241636514664,
0.003057328052818775,
-0.03201465681195259,
-0.014664431102573872,
-0.017010023817420006,
-0.0540381595492363,
0.030188316479325294,
0.011826442554593086,
-0.0347183533012867,
0.004955288488417864,
0.021969789639115334,
0.06270431727170944,
-0.05521990731358528,
-0.014279467053711414,
-0.04805779457092285,
-0.044548358768224716,
-0.02694745920598507,
-0.006392187904566526,
0.03575685992836952,
-0.04146864637732506,
0.051459796726703644,
-0.03142378106713295,
-0.08809401839971542,
-0.0010972584132105112,
-0.03290991857647896,
0.03235485777258873,
0.0743427574634552,
0.016732491552829742,
-0.0047269961796700954,
0.03418119624257088,
0.043294988572597504,
-0.021020809188485146,
0.04580172896385193,
-0.025497131049633026,
0.08243595063686371,
0.007224783767014742,
-0.03283829987049103,
0.001368635450489819,
-0.04139702767133713,
0.08773591369390488,
-0.04752063378691673,
0.01580141671001911,
-0.06324148178100586,
0.0459807813167572,
-0.017627757042646408,
-0.004227885976433754,
0.02467348799109459,
-0.035792671144008636,
0.01247103326022625,
-0.033464983105659485,
0.022918768227100372,
-0.01865730993449688,
0.026625163853168488,
0.05650908872485161,
0.03188931941986084,
-0.018227582797408104,
0.0005836004856973886,
0.000010106696208822541,
-0.005814742296934128,
0.01838873140513897,
0.009606187231838703,
-0.04949021711945534,
0.05314289405941963,
-0.04300850257277489,
0.005501399748027325,
-0.0037444434128701687,
0.010787935927510262,
-0.0016797399148344994,
-0.03244438394904137,
-0.05103007331490517,
0.032122086733579636,
0.0364372618496418,
-0.045300379395484924,
0.02855893410742283,
-0.06678672879934311,
-0.0015398547984659672,
0.010304493829607964,
0.05389491841197014,
0.027717385441064835,
0.05246249586343765,
0.054575320333242416,
-0.02447653003036976,
0.0589442104101181,
-0.08931157737970352,
0.02700117416679859,
0.036276113241910934,
-0.00002103521728713531,
-0.023420117795467377,
0.012569512240588665,
-0.008957120589911938,
-0.030725475400686264,
0.0022303275763988495,
-0.06940089911222458,
0.02352754957973957,
0.0427936390042305,
-0.02802177704870701,
0.01373335625976324,
-0.0012858235277235508,
0.023957274854183197,
-0.010984894819557667,
-0.05235506221652031,
-0.03611496835947037,
-0.005443207453936338,
-0.06624956429004669,
-0.008930262178182602,
0.07563193887472153,
-0.01728755608201027,
-0.03892609849572182,
0.03699232637882233,
0.0014335421146824956,
-0.010340304113924503,
-0.025371793657541275,
0.04959764704108238,
0.013527445495128632,
-0.009785240516066551,
0.032587625086307526,
0.04590915888547897,
-0.009064552374184132,
-0.023688696324825287,
-0.01487929467111826,
-0.030850810930132866,
-0.01735917665064335,
0.008818354457616806,
-0.0069069648161530495,
-0.049848321825265884,
-0.01116394717246294,
-0.011137089692056179,
0.027054890990257263,
-0.02968696877360344,
0.005174628458917141,
-0.018818458542227745,
-0.01899751089513302,
0.04845171049237251,
-0.013688593171536922,
0.04060919210314751,
0.07119142264127731,
-0.03256971761584282,
0.011557864025235176,
-0.08823726326227188,
0.027180228382349014,
0.006289232522249222,
-0.01062678825110197,
-0.00578340794891119,
0.048308469355106354,
0.05557801574468613,
-0.04300850257277489,
-0.03878285363316536,
-0.031191011890769005,
-0.021235672757029533,
0.039284203201532364,
-0.026911647990345955,
0.011083373799920082,
-0.085587278008461,
0.03511226922273636,
0.004402462858706713,
0.007533649913966656,
0.010537262074649334,
-0.004156264942139387,
-0.029239336028695107,
0.0041047874838113785,
0.04551524296402931,
-0.08064541965723038,
-0.04458416625857353,
0.007739560678601265,
-0.015729796141386032,
-0.06728807091712952,
0.04479902982711792,
0.0569746270775795,
-0.0060475110076367855,
-0.055470582097768784,
-0.04845171049237251,
0.02354545332491398,
0.05049291253089905,
0.007224783767014742,
-0.0001513556344434619,
-0.009919529780745506,
-0.01992858573794365,
-0.02922143042087555,
-0.025783615186810493,
0.04057338461279869,
0.03530922904610634,
0.02399308606982231,
-0.022972485050559044,
0.018352920189499855,
-0.014010888524353504,
-0.007766418624669313,
0.0004425963561516255,
-0.0457301065325737,
0.0885237455368042,
0.019427238032221794,
-0.05801313370466232,
0.05464693903923035,
-0.01804853044450283,
0.018442446365952492,
-0.044691599905490875,
-0.02266809530556202,
0.013921361416578293,
-0.011808537878096104,
0.02888122946023941,
-0.028039680793881416,
0.004682233091443777,
-0.021557966247200966,
0.023455927148461342,
-0.04171932116150856,
0.04949021711945534,
0.03632982820272446,
0.02453024499118328,
-0.0042502679862082005,
0.03068966418504715,
0.018200725317001343,
-0.005000051576644182,
0.0035161511041224003,
-0.03344707936048508,
0.06499619781970978,
-0.07756570726633072,
0.03607915714383125,
0.017896335572004318,
0.013115623965859413,
0.002446310129016638,
0.003968259319663048,
0.033930521458387375,
0.02340221218764782,
0.04709090664982796,
0.04755644500255585,
-0.023455927148461342,
-0.018227582797408104,
-0.022309988737106323,
0.05407397076487541,
0.010922226123511791,
-0.019552575424313545,
-0.07205087691545486,
-0.015183684416115284,
-0.0021889214403927326,
0.03455720469355583,
0.02179073542356491,
-0.029973452910780907,
-0.01621323823928833,
0.07147791236639023,
-0.006544382777065039,
-0.02848731353878975,
-0.021164050325751305,
-0.011665294878184795,
-0.031584929674863815,
-0.04820103570818901,
0.012479986064136028,
0.03939163312315941,
-0.017269650474190712,
-0.006463808938860893,
0.04272201657295227,
0.013446871191263199,
-0.013017144985496998,
0.03020622208714485,
-0.009373418055474758,
-0.027180228382349014,
0.018800552934408188,
-0.008787020109593868,
0.019767438992857933,
0.003144616261124611,
0.014977773651480675,
-0.04512132704257965,
0.03853217884898186,
-0.03681327402591705,
-0.03706394508481026,
0.03162074089050293,
-0.031584929674863815,
-0.020429933443665504,
-0.01946304924786091,
0.01682201772928238,
-0.029633251950144768,
0.020215069875121117,
-0.07656301558017731,
-0.018084341660141945,
-0.008491583168506622,
0.01374230906367302,
-0.021486345678567886,
0.027896439656615257,
0.014216799288988113,
-0.03817407414317131,
0.005465589463710785,
-0.014288419857621193,
-0.031047770753502846,
0.025658277794718742,
0.02974068373441696,
-0.0017905288841575384,
-0.0012589655816555023,
0.07079751044511795,
0.05113750323653221,
-0.0471983402967453,
0.007041254546493292,
-0.014861389063298702,
-0.08981292694807053,
-0.020412027835845947,
-0.004740424919873476,
-0.032390665262937546,
-0.011289284564554691,
-0.04705509915947914,
-0.006213135085999966,
0.0185856893658638,
0.00517910486087203,
0.012578465044498444,
-0.025837330147624016,
-0.026822121813893318,
0.00371758546680212,
0.06786104291677475,
0.049884133040905,
-0.027896439656615257,
-0.013912408612668514,
0.018621500581502914,
-0.020268786698579788,
-0.03957068547606468,
0.07240898907184601,
0.03298154100775719,
-0.03575685992836952,
0.016562391072511673,
0.030438989400863647,
-0.012596370652318,
-0.0008208455401472747,
-0.015058347024023533,
-0.09360884875059128,
0.008518440648913383,
-0.04519294947385788,
-0.04741320386528969,
0.00949875544756651,
-0.021020809188485146,
0.01374230906367302,
-0.013831835240125656,
-0.02802177704870701,
0.06868468225002289,
0.0026969839818775654,
-0.004874714650213718,
-0.04594497010111809,
0.06589145958423615,
0.030242031440138817,
-0.02171911485493183,
-0.019749533385038376,
-0.0021631827112287283,
-0.013849740847945213,
-0.005000051576644182,
0.03530922904610634,
0.045300379395484924,
0.02929305098950863,
-0.01430632546544075,
0.035703144967556,
-0.09246291220188141,
-0.041611891239881516,
-0.02166539803147316,
0.022292083129286766,
-0.006660767365247011,
-0.00578340794891119,
-0.014216799288988113,
0.026893742382526398,
-0.025837330147624016,
-0.02975858934223652,
0.008173763751983643,
-0.022309988737106323,
0.013061908073723316,
0.02587314136326313,
0.07258804142475128,
0.06574822217226028,
0.01614161767065525,
0.03269505500793457,
0.04701928794384003,
0.0096599031239748,
-0.0789981335401535,
-0.04186256229877472,
-0.013079812750220299,
-0.036670029163360596,
-0.011889111250638962,
0.05156723037362099,
0.013115623965859413,
0.050457101315259933,
0.01170110609382391,
0.010555167682468891,
-0.05400234833359718,
-0.006329519208520651,
-0.019749533385038376,
-0.013724403455853462,
0.02614172175526619,
-0.010689456947147846,
0.014198893681168556,
0.006602575071156025,
0.0057520740665495396,
-0.00910931546241045,
0.04171932116150856,
-0.015425405465066433,
0.03658050298690796,
0.015156826935708523,
0.02760995365679264,
0.025121118873357773,
0.06950832903385162,
-0.05776245892047882,
-0.038747042417526245,
0.01079688873142004,
0.035004839301109314,
0.01944514364004135,
0.023223159834742546,
-0.015658173710107803,
0.026428205892443657,
-0.006092274561524391,
0.0628475621342659,
-0.004722519777715206,
-0.04125378280878067,
-0.025908952578902245,
-0.046768613159656525,
0.03942744433879852,
-0.010680504143238068,
-0.012954476289451122,
-0.04959764704108238,
0.034127481281757355,
0.057655028998851776,
0.0227397158741951,
0.01951676420867443,
0.027233943343162537,
0.0034154336899518967
] |
729,996 | mmengine.config.config | __deepcopy__ | null | def __deepcopy__(self, memo):
cls = self.__class__
other = cls.__new__(cls)
memo[id(self)] = other
for key, value in self.__dict__.items():
super(Config, other).__setattr__(key, copy.deepcopy(value, memo))
return other
| (self, memo) | [
0.008401202969253063,
-0.03349919244647026,
0.0511905662715435,
-0.00821196660399437,
-0.1063947007060051,
0.015332525596022606,
-0.026246609166264534,
-0.0015821019187569618,
0.028816698119044304,
-0.012128714472055435,
-0.02779570408165455,
0.027602067217230797,
-0.005822311155498028,
0.08414405584335327,
0.013801033608615398,
0.0025260820984840393,
0.02779570408165455,
0.013563388027250767,
-0.0134577676653862,
-0.004607679322361946,
0.038868214935064316,
-0.01839550957083702,
-0.0007640958065167069,
0.03422093018889427,
0.0036548974458128214,
-0.0013620599638670683,
-0.006368014961481094,
0.025700904428958893,
0.008823683485388756,
0.007859899662435055,
-0.06199903041124344,
-0.03031298518180847,
-0.0011497193481773138,
0.03559399023652077,
0.037354327738285065,
-0.07372286915779114,
-0.04027648642659187,
0.06826582551002502,
-0.050803292542696,
0.0012256338959559798,
0.048726096749305725,
-0.031932491809129715,
-0.03288307413458824,
-0.03978359326720238,
0.028359010815620422,
0.03376324102282524,
0.0027483245357871056,
0.031950097531080246,
-0.002119004260748625,
-0.06851227581501007,
-0.025542473420500755,
0.03844573721289635,
-0.018958818167448044,
0.0538310706615448,
0.01777939312160015,
0.020648740231990814,
0.0355587862432003,
0.01168863009661436,
-0.030665051192045212,
0.05013436824083328,
-0.08780555427074432,
-0.05150742828845978,
0.05780943110585213,
-0.052739664912223816,
-0.04344509169459343,
-0.063407301902771,
-0.10428229719400406,
-0.009945898316800594,
0.05562661588191986,
-0.02274353988468647,
-0.02388775907456875,
-0.04355071112513542,
0.010473998263478279,
0.009928294457495213,
-0.01820187270641327,
-0.0070985546335577965,
0.015385336242616177,
0.002721919445320964,
0.043480295687913895,
-0.04214244335889816,
-0.08090503513813019,
-0.010614825412631035,
-0.0733707994222641,
0.015112483873963356,
-0.04886692389845848,
0.047845929861068726,
-0.019046833738684654,
-0.02087758295238018,
0.06647028028964996,
0.004035570193082094,
0.019434107467532158,
0.041262272745370865,
-0.01586942747235298,
0.0029287589713931084,
0.00513137923553586,
-0.012727228924632072,
-0.016547158360481262,
0.049887917935848236,
-0.013352148234844208,
0.013343346305191517,
-0.035928454250097275,
-0.021018410101532936,
-0.07597609609365463,
0.007591448724269867,
-0.0032654230017215014,
-0.041719961911439896,
0.0038573360070586205,
-0.019592538475990295,
-0.02878149226307869,
-0.00402896897867322,
-0.05453520640730858,
0.058055877685546875,
-0.021300064399838448,
0.027936531230807304,
0.044008396565914154,
0.02638743445277214,
-0.040734171867370605,
-0.030612241476774216,
0.02592974714934826,
0.013431362807750702,
-0.016899224370718002,
0.04700096696615219,
0.006979731842875481,
0.042424093931913376,
-0.006882913410663605,
0.05640116333961487,
0.03356960415840149,
-0.026229005306959152,
-0.025348836556077003,
-0.015966245904564857,
0.005364623852074146,
-0.001147518982179463,
0.0032896276097744703,
0.03277745470404625,
0.05400710552930832,
-0.024204619228839874,
-0.002200419781729579,
0.013607396744191647,
-0.012850452214479446,
0.013378553092479706,
0.022356266155838966,
0.024187015369534492,
0.04742344841361046,
0.03001372702419758,
0.00750783272087574,
-0.03633333370089531,
-0.045451872050762177,
0.06171737611293793,
0.0027747293934226036,
0.014091488905251026,
-0.004972949158400297,
0.030084140598773956,
0.006328407675027847,
0.07731395214796066,
-0.07294832170009613,
0.05386627838015556,
-0.07097674161195755,
0.016283107921481133,
-0.02761967107653618,
-0.009382590651512146,
-0.02585933357477188,
0.02478552982211113,
0.041895993053913116,
-0.0616469644010067,
-0.015790212899446487,
-0.015843022614717484,
0.026334624737501144,
-0.10139534622430801,
0.0031069929245859385,
-0.000664526829496026,
-0.04995833337306976,
-0.08104586601257324,
0.06875871866941452,
0.034520186483860016,
-0.0654492899775505,
0.033904068171978,
-0.020103035494685173,
-0.03745994716882706,
0.00400696462020278,
0.008027131669223309,
-0.02851744182407856,
-0.0025260820984840393,
-0.018994024023413658,
-0.0071073560975492,
0.026440246030688286,
-0.026140987873077393,
0.008766473270952702,
0.03855135664343834,
0.048162791877985,
0.03707267343997955,
-0.0017636364791542292,
0.0014137697871774435,
0.028570251539349556,
-0.03349919244647026,
-0.0018802587874233723,
-0.032566215842962265,
-0.03330555558204651,
0.01745373010635376,
0.008801679126918316,
0.12787079811096191,
-0.037283916026353836,
0.005949935410171747,
0.030136950314044952,
-0.037635982036590576,
0.03217894211411476,
-0.0013433563290163875,
-0.034326549619436264,
-0.03525952994823456,
0.011565406806766987,
0.049782298505306244,
0.018853196874260902,
0.012920865789055824,
0.03075306862592697,
-0.009039324708282948,
0.017946625128388405,
-0.042776163667440414,
-0.019434107467532158,
0.010447593405842781,
-0.020103035494685173,
0.004165394697338343,
0.05354942008852959,
-0.018008235841989517,
-0.027830909937620163,
0.039854004979133606,
-0.013959463685750961,
-0.01655595935881138,
-0.043937984853982925,
-0.07787726074457169,
0.0018978621810674667,
-0.0020936995279043913,
0.014012273401021957,
-0.01828989014029503,
0.03988921269774437,
-0.015614179894328117,
0.1273074895143509,
0.03562919795513153,
-0.031404390931129456,
-0.06611821800470352,
-0.027848513796925545,
0.0460151806473732,
-0.023940568789839745,
0.0006953327101655304,
0.04319864138960838,
0.028200581669807434,
0.023940568789839745,
-0.016696786507964134,
-0.03598126769065857,
0.039220284670591354,
0.04439567029476166,
0.02124725468456745,
0.018624354153871536,
0.03233737125992775,
-0.02017344906926155,
0.040558140724897385,
0.0249615628272295,
-0.02983769401907921,
-0.02992570959031582,
-0.028904715552926064,
0.030682655051350594,
-0.010086724534630775,
0.06798417121171951,
-0.008031532168388367,
0.01747133396565914,
-0.009215358644723892,
-0.027408430352807045,
0.017929021269083023,
0.004532864782959223,
-0.013088097795844078,
-0.05069767311215401,
0.0264754518866539,
0.04629683494567871,
0.017964227125048637,
0.003230216447263956,
0.04238888993859291,
-0.016142280772328377,
-0.027954135090112686,
0.018360303714871407,
0.008801679126918316,
-0.032830264419317245,
-0.04214244335889816,
0.011415778659284115,
-0.006020348984748125,
0.038973838090896606,
-0.0381992906332016,
-0.01828989014029503,
-0.0038529352750629187,
-0.023324450477957726,
-0.004515261389315128,
0.019258074462413788,
0.020666344091296196,
0.04397319257259369,
-0.010394783690571785,
0.001466579851694405,
0.010192344896495342,
0.046332042664289474,
-0.009945898316800594,
-0.052986111491918564,
0.04612080007791519,
-0.016124676913022995,
0.03812887519598007,
-0.003980559762567282,
-0.009144945070147514,
-0.0559786818921566,
0.06446350365877151,
0.00724378228187561,
-0.0020639938302338123,
0.024855943396687508,
0.006957727484405041,
0.06921640783548355,
0.06456912308931351,
0.014769217930734158,
0.012947270646691322,
0.007675064727663994,
0.07914470136165619,
-0.0014533773064613342,
-0.09019961208105087,
0.01564938575029373,
-0.03349919244647026,
0.03311191871762276,
0.012612806633114815,
-0.06062597036361694,
0.012841650284826756,
-0.08160917460918427,
-0.04017086699604988,
0.021898578852415085,
-0.005175387486815453,
0.04506459832191467,
0.019134851172566414,
0.009884285740554333,
-0.0048453244380652905,
-0.03360481187701225,
-0.0019242671551182866,
0.011785448528826237,
0.06185820326209068,
0.00793471373617649,
-0.015834221616387367,
-0.00902172178030014,
-0.024046188220381737,
-0.015367732383310795,
-0.08090503513813019,
0.0646747425198555,
0.0055626616813242435,
-0.03233737125992775,
-0.07273708283901215,
0.020648740231990814,
0.028447028249502182,
-0.004915738012641668,
0.03471382334828377,
-0.02504958026111126,
0.025401646271348,
0.0001695698592811823,
-0.01500686351209879,
0.02533123455941677,
0.007494630292057991,
0.05626033619046211,
0.0027483245357871056,
-0.028499837964773178,
-0.03971317782998085,
-0.029696866869926453,
-0.05918249487876892,
0.015587774105370045,
0.0023302447516471148,
-0.027320412918925285,
0.007776283659040928,
0.054852068424224854,
0.05009916052222252,
-0.060449935495853424,
-0.024151809513568878,
0.006706879939883947,
-0.06101324409246445,
-0.014144298620522022,
-0.014945251867175102,
0.023042796179652214,
-0.03392167389392853,
0.058583978563547134,
-0.030084140598773956,
-0.06238630414009094,
0.018360303714871407,
0.000829008175060153,
0.04129748046398163,
0.05097932741045952,
-0.007032542023807764,
0.018448321148753166,
0.02719718962907791,
0.027918927371501923,
-0.0012091307435184717,
0.08569315075874329,
-0.0355587862432003,
0.0937906950712204,
0.0385865643620491,
-0.03304150328040123,
0.004937742371112108,
-0.033428777009248734,
0.06752648204565048,
-0.0351715125143528,
0.006900516804307699,
-0.015411741100251675,
0.011943879537284374,
-0.03967797011137009,
-0.036016471683979034,
0.02460949681699276,
-0.05235239118337631,
0.003089389530941844,
-0.009408995509147644,
0.008062338456511497,
-0.00475290697067976,
0.008898497559130192,
0.05270445719361305,
0.022901970893144608,
-0.006618862971663475,
-0.008339591324329376,
-0.026704296469688416,
0.022602712735533714,
-0.007472625933587551,
0.04136789217591286,
-0.07051905989646912,
0.05182429030537605,
-0.0586191862821579,
0.033992085605859756,
0.010385981760919094,
0.024380652233958244,
-0.008009528741240501,
-0.041719961911439896,
-0.05062726140022278,
0.0012674418976530433,
0.020402293652296066,
-0.040100451558828354,
0.024187015369534492,
-0.06551970541477203,
-0.009356185793876648,
0.011222141794860363,
0.04168475419282913,
0.03612209111452103,
0.007829094305634499,
0.021792959421873093,
-0.05435917153954506,
0.02638743445277214,
-0.06351292133331299,
0.0057342941872775555,
0.0351715125143528,
-0.003459060098975897,
-0.0275492575019598,
0.010174741968512535,
0.0030497820116579533,
-0.014249918982386589,
0.0290631465613842,
-0.016802405938506126,
0.029626453295350075,
0.006931322626769543,
-0.017488937824964523,
-0.007217377424240112,
0.011556604877114296,
-0.0072349803522229195,
-0.019680555909872055,
-0.018272286280989647,
-0.028130168095231056,
-0.04048772528767586,
-0.060449935495853424,
0.014179505407810211,
0.07527196407318115,
0.008321988396346569,
-0.031844478100538254,
0.05611950904130936,
0.0007905008387751877,
-0.029520833864808083,
-0.045627906918525696,
0.05428875982761383,
0.023078003898262978,
0.022761143743991852,
-0.005857517942786217,
0.051577843725681305,
-0.028922319412231445,
0.00021921683219261467,
-0.027390826493501663,
-0.04157913476228714,
-0.0385865643620491,
0.021740147843956947,
-0.023834947496652603,
-0.028112564235925674,
-0.024908753111958504,
-0.014927648939192295,
-0.011961482465267181,
0.020842377096414566,
-0.024098997935652733,
-0.00802273117005825,
-0.013413759879767895,
0.03809366747736931,
-0.021880974993109703,
0.011838259175419807,
0.07886304706335068,
-0.07132881134748459,
0.015323723666369915,
-0.08787596970796585,
0.029890503734350204,
0.002055192133411765,
-0.008850088343024254,
-0.007679465226829052,
0.040558140724897385,
0.02575371414422989,
-0.07048384845256805,
-0.04069896787405014,
-0.019152455031871796,
0.0031311975326389074,
0.033287953585386276,
-0.03724870830774307,
0.032918281853199005,
-0.06911078840494156,
0.03143959864974022,
-0.016846414655447006,
-0.014866036362946033,
0.02017344906926155,
-0.015297318808734417,
-0.02274353988468647,
0.012621608562767506,
0.0062227873131632805,
-0.06520283967256546,
-0.06266795843839645,
-0.005831112619489431,
-0.011847061105072498,
-0.07541278749704361,
0.04175516590476036,
0.05978100746870041,
0.02735562063753605,
-0.063407301902771,
-0.039854004979133606,
0.02302519418299198,
0.033287953585386276,
0.006689276546239853,
0.005311813671141863,
-0.006231589242815971,
-0.01145978644490242,
-0.03224935382604599,
-0.003932150546461344,
0.06488598138093948,
0.029520833864808083,
-0.021159237250685692,
-0.012577599845826626,
0.015086079016327858,
0.0035910853184759617,
-0.0020771962590515614,
0.001936369459144771,
-0.05594347417354584,
0.0654492899775505,
-0.01659996807575226,
-0.07484948635101318,
0.07252583652734756,
0.005025758873671293,
0.019205264747142792,
-0.053091730922460556,
-0.03967797011137009,
0.016767200082540512,
-0.012331153266131878,
0.010236353613436222,
-0.04182558134198189,
-0.014804424718022346,
-0.044642116874456406,
0.027866117656230927,
-0.03501307964324951,
0.07273708283901215,
0.031404390931129456,
0.030665051192045212,
0.016124676913022995,
0.02895752526819706,
0.00699293427169323,
-0.004884932190179825,
-0.002673510229215026,
-0.054323967546224594,
0.05506330728530884,
-0.03943152353167534,
0.03795284032821655,
0.039572350680828094,
0.019698157906532288,
0.006676074117422104,
-0.010641230270266533,
0.03226695582270622,
0.043937984853982925,
0.012049498967826366,
0.022233042865991592,
0.00015017866098787636,
-0.01620389148592949,
-0.028887111693620682,
0.04999354109168053,
-0.02379974164068699,
-0.02080717124044895,
-0.034256137907505035,
0.0038111272733658552,
-0.007903908379375935,
0.05097932741045952,
0.006257994100451469,
-0.029644057154655457,
-0.022145025432109833,
0.08428488671779633,
-0.03657978028059006,
-0.03791763633489609,
-0.014443555846810341,
0.0002940311096608639,
-0.03108753263950348,
-0.03117554821074009,
0.009180151857435703,
0.032108526676893234,
-0.033428777009248734,
-0.008630046620965004,
0.011107719503343105,
0.022796349599957466,
-0.03138678893446922,
0.01425872091203928,
-0.03608688712120056,
-0.023060400038957596,
0.014461159706115723,
0.037283916026353836,
0.006169977132230997,
0.014645994640886784,
0.04467732459306717,
-0.029908107593655586,
0.010518006980419159,
-0.026246609166264534,
-0.0568588487803936,
0.00870486069470644,
-0.05305652320384979,
-0.016767200082540512,
-0.03437935933470726,
0.013255329802632332,
-0.025190407410264015,
0.01545574888586998,
-0.10477519035339355,
-0.00919775478541851,
-0.03020736388862133,
0.011002099141478539,
-0.02291957288980484,
0.03578762710094452,
-0.013959463685750961,
-0.002889151219278574,
-0.0038287306670099497,
0.005633074790239334,
-0.009532218798995018,
0.030048934742808342,
0.042072027921676636,
-0.006702478975057602,
0.005800306797027588,
0.04041731357574463,
0.0017658369615674019,
-0.031950097531080246,
-0.003388646524399519,
-0.013035287149250507,
-0.09893088042736053,
-0.04770510271191597,
0.026000160723924637,
-0.017973029986023903,
-0.009963501244783401,
-0.03929069638252258,
-0.028728682547807693,
-0.008718063123524189,
0.005170986521989107,
0.0399596244096756,
0.03562919795513153,
0.003412851132452488,
0.024750322103500366,
0.06520283967256546,
0.06706880033016205,
-0.017858607694506645,
-0.016802405938506126,
-0.00398496026173234,
-0.027654876932501793,
-0.044290050864219666,
0.06851227581501007,
0.03474903106689453,
-0.032548610121011734,
0.0001318876602454111,
0.015578973107039928,
-0.001979277702048421,
-0.014461159706115723,
-0.023782137781381607,
-0.056894056499004364,
-0.010562015697360039,
-0.03672060742974281,
-0.05696446821093559,
-0.01550855953246355,
0.03304150328040123,
-0.0038925427943468094,
0.01456678006798029,
-0.00318620796315372,
0.07203294336795807,
0.00661446200683713,
0.03936111181974411,
-0.02159932069480419,
0.0937906950712204,
0.05266924947500229,
-0.0028803495224565268,
-0.04478294402360916,
-0.00003061677853111178,
-0.010192344896495342,
-0.02309560775756836,
0.07527196407318115,
0.06527325510978699,
-0.0019121648510918021,
0.00018456022371537983,
-0.013607396744191647,
-0.06354812532663345,
-0.0015843022847548127,
-0.028887111693620682,
0.009338581934571266,
0.01828989014029503,
0.0019649749156087637,
-0.009083333425223827,
0.03826970234513283,
-0.03988921269774437,
0.0035030683502554893,
-0.0005748596740886569,
-0.018589146435260773,
0.026510659605264664,
0.020402293652296066,
0.0806937962770462,
0.05696446821093559,
-0.001615108223631978,
0.026528261601924896,
0.013801033608615398,
0.022585108876228333,
-0.10097286850214005,
-0.029714470729231834,
0.011037305928766727,
-0.019874192774295807,
-0.019874192774295807,
0.05985141918063164,
0.014584382995963097,
0.008638848550617695,
0.03369282931089401,
0.007952317595481873,
-0.015570171177387238,
0.003221414750441909,
-0.03003133088350296,
-0.004598877392709255,
0.01402987726032734,
0.014989260584115982,
0.022866763174533844,
-0.00699293427169323,
-0.005443838890641928,
0.014355539344251156,
0.04520542547106743,
-0.029186369851231575,
0.061963822692632675,
-0.027830909937620163,
0.027056362479925156,
0.014021075330674648,
0.11329521983861923,
-0.040558140724897385,
-0.0390794575214386,
0.003846334060654044,
0.065167635679245,
0.00024906001635827124,
-0.02355329506099224,
0.00220372062176466,
0.007072149310261011,
0.012850452214479446,
0.04985271394252777,
0.03367522731423378,
-0.038234494626522064,
-0.01523570716381073,
-0.07844056934118271,
0.02816537395119667,
-0.02425742894411087,
0.0023104408755898476,
-0.06773772835731506,
-0.000605115492362529,
0.05291569605469704,
-0.0005891624023206532,
0.011424579657614231,
0.050239987671375275,
-0.009109738282859325
] |
729,997 | mmengine.config.config | __getattr__ | null | def __getattr__(self, name: str) -> Any:
return getattr(self._cfg_dict, name)
| (self, name: str) -> Any | [
0.07752621173858643,
-0.08671049773693085,
0.028110003098845482,
-0.02964634634554386,
-0.028228184208273888,
-0.02260618284344673,
0.028110003098845482,
0.0038872843142598867,
0.013438777066767216,
-0.008956370875239372,
-0.03785143047571182,
0.029612580314278603,
0.007601519115269184,
0.0236191563308239,
-0.01240892056375742,
0.0011290429392829537,
-0.00030758505454286933,
0.0593939907848835,
-0.001470921328291297,
-0.0314190499484539,
0.006499910727143288,
-0.004486626945436001,
0.03552158921957016,
-0.013869290240108967,
0.04804868996143341,
0.06672116369009018,
0.05605117976665497,
0.001410776050761342,
0.028650255873799324,
-0.058347251266241074,
-0.06030566617846489,
-0.03802025690674782,
0.017828326672315598,
0.04217344895005226,
-0.033174868673086166,
0.00017964445578400046,
-0.0236191563308239,
0.042072150856256485,
-0.04885907098650932,
-0.032921627163887024,
0.037209879606962204,
0.004201727919280529,
0.004685000516474247,
-0.0447734110057354,
-0.0002714451402425766,
-0.010391416028141975,
-0.06786920130252838,
0.07840412110090256,
-0.0068586720153689384,
-0.010610893368721008,
0.020293228328227997,
-0.000027187381419935264,
-0.03276968002319336,
0.05686155706644058,
-0.03643326461315155,
0.01684911921620369,
-0.005081748589873314,
0.06000177562236786,
0.03832415118813515,
0.059495288878679276,
-0.06658609956502914,
-0.028380129486322403,
0.009420650079846382,
-0.03484627604484558,
0.00013585446868091822,
-0.06324328482151031,
-0.04865647479891777,
0.027755463495850563,
-0.0015627220273017883,
-0.00680380268022418,
0.02569575048983097,
0.006183356512337923,
-0.01835169643163681,
-0.030794382095336914,
0.000666346400976181,
-0.05466678366065025,
-0.06442508846521378,
-0.007584636099636555,
0.039944905787706375,
-0.008922604843974113,
-0.051256440579891205,
0.006913541350513697,
-0.044233158230781555,
-0.018216632306575775,
-0.035690419375896454,
-0.004410653840750456,
-0.007707037031650543,
-0.06746400892734528,
-0.01668873243033886,
-0.007533987518399954,
0.008369690738618374,
0.04497600719332695,
-0.03977607935667038,
0.05601741373538971,
-0.02478407509624958,
-0.057097919285297394,
0.05426159128546715,
0.009716100059449673,
0.04869024083018303,
0.011547893285751343,
0.010155055671930313,
-0.040282562375068665,
-0.013134884648025036,
-0.015599786303937435,
0.009707658551633358,
-0.050108402967453,
-0.013388128019869328,
-0.01516927219927311,
0.009868046268820763,
0.01581082120537758,
0.02996712177991867,
-0.000619390862993896,
-0.02117113769054413,
0.025493156164884567,
0.04690065607428551,
0.034491732716560364,
-0.05118890851736069,
-0.053721342235803604,
0.00933623593300581,
0.02265683189034462,
-0.0415656641125679,
0.05669272691011429,
0.004533054772764444,
0.0327359139919281,
0.05973164737224579,
0.09062732756137848,
-0.048386350274086,
-0.03395148366689682,
0.07658077031373978,
-0.007850541733205318,
0.06844321638345718,
0.01745690405368805,
0.000861027161590755,
0.0007623677956871688,
0.03920206055045128,
0.025830814614892006,
0.06293939799070358,
0.026725606992840767,
0.0010747011983767152,
0.050952546298503876,
0.021036075428128242,
-0.005546027794480324,
-0.0006083114421926439,
-0.04558378830552101,
-0.000792968028690666,
-0.019195839762687683,
0.014519281685352325,
0.01771014742553234,
-0.029528167098760605,
-0.028110003098845482,
-0.012923848815262318,
0.016325749456882477,
-0.06901723146438599,
0.01053492072969675,
-0.0324489064514637,
0.01586991176009178,
-0.04031632840633392,
0.028548959642648697,
-0.024074994027614594,
-0.06010306999087334,
-0.029308687895536423,
0.013447217643260956,
-0.057030387222766876,
-0.09481428563594818,
0.004647014196962118,
-0.023669805377721786,
0.013084235601127148,
-0.04473964497447014,
0.023129552602767944,
0.021306201815605164,
-0.07239381223917007,
-0.03947218507528305,
-0.032330725342035294,
0.054633017629384995,
0.010087523609399796,
0.03609560802578926,
-0.05294472724199295,
0.03515016660094261,
0.04227474331855774,
-0.025645103305578232,
0.013565397821366787,
0.00951350573450327,
-0.08211835473775864,
-0.0012250643922016025,
0.03391771763563156,
0.05443042144179344,
0.024885373190045357,
0.022758129984140396,
-0.008610271848738194,
0.03893193230032921,
0.019516615197062492,
-0.02140749804675579,
0.02633730135858059,
0.00016579520888626575,
-0.01439265999943018,
-0.03639950230717659,
-0.019145192578434944,
0.036872223019599915,
-0.0004315687401685864,
0.08151056617498398,
0.028835967183113098,
0.008243069052696228,
-0.05358627811074257,
0.07617557793855667,
0.0026506129652261734,
-0.0446045845746994,
0.10183756053447723,
-0.048217520117759705,
-0.014038119465112686,
0.0038893946912139654,
-0.04065398871898651,
-0.03219566121697426,
0.007960280403494835,
0.01497511938214302,
0.03393460065126419,
0.021323084831237793,
0.0017136128153651953,
-0.000008330153832503129,
-0.015490047633647919,
0.05102007836103439,
0.06746400892734528,
0.04217344895005226,
0.09940642863512039,
-0.011556334793567657,
0.018773768097162247,
-0.01833481341600418,
-0.032634615898132324,
-0.017321839928627014,
-0.04497600719332695,
-0.04349031299352646,
0.050344765186309814,
0.000749178056139499,
0.055544693022966385,
-0.00611582538112998,
0.05875243991613388,
-0.0011828572023659945,
0.010948550887405872,
0.0016935644671320915,
-0.0027181445620954037,
0.03025413118302822,
0.06523546576499939,
0.026556778699159622,
-0.02228540927171707,
0.050344765186309814,
-0.02139061503112316,
-0.014266038313508034,
-0.014485515654087067,
0.06020436808466911,
0.010053758509457111,
-0.005934334360063076,
0.10886084288358688,
-0.0003358111425768584,
-0.012265415862202644,
0.03528523072600365,
-0.04001243785023689,
-0.03825661912560463,
-0.07084058970212936,
0.00795183889567852,
0.04733961075544357,
-0.02878531999886036,
-0.0013042028294876218,
-0.014080326072871685,
0.0048833745531737804,
0.024986669421195984,
0.01252710074186325,
0.028886616230010986,
0.040586456656455994,
0.014156299643218517,
-0.016806911677122116,
-0.0153212184086442,
0.008411897346377373,
0.01960103027522564,
-0.0068713342770934105,
0.006799581926316023,
-0.01863870583474636,
-0.03498133644461632,
0.053113557398319244,
-0.007770347874611616,
-0.006461924407631159,
0.008821307681500912,
0.042105916887521744,
-0.03572418540716171,
-0.014384218491613865,
0.07043539732694626,
-0.04794739559292793,
-0.017085479572415352,
-0.017862092703580856,
0.019364669919013977,
0.006238226313143969,
0.021204903721809387,
0.05115514248609543,
-0.01528745237737894,
-0.0038260838482528925,
0.0026147367898374796,
0.05091878026723862,
-0.014814731664955616,
-0.049466852098703384,
-0.01101608294993639,
0.04035009443759918,
-0.001869779545813799,
0.04183578863739967,
-0.017575083300471306,
-0.07050292938947678,
0.014789407141506672,
0.004625910427421331,
0.013979028910398483,
0.041126709431409836,
0.015996534377336502,
-0.0033660251647233963,
0.047846097499132156,
0.01345565915107727,
-0.014983560889959335,
-0.002205326920375228,
0.035318996757268906,
0.01565043441951275,
-0.009091434068977833,
-0.012105029076337814,
0.017321839928627014,
0.04068775475025177,
0.07252887636423111,
-0.04747467488050461,
0.02176203951239586,
-0.05817842110991478,
-0.0014308245154097676,
0.04446952044963837,
-0.019769858568906784,
0.0001837332674767822,
-0.021373732015490532,
-0.000505958974827081,
-0.00742002809420228,
-0.08164563030004501,
-0.017591966316103935,
0.039911139756441116,
-0.03189177066087723,
0.022251643240451813,
-0.006672960240393877,
0.00861449260264635,
0.03957348316907883,
-0.025543805211782455,
-0.05020970106124878,
0.010011550970375538,
0.005643104203045368,
-0.03395148366689682,
0.01619068719446659,
-0.006601207889616489,
0.040518924593925476,
0.008981694467365742,
0.018604939803481102,
0.06699129194021225,
-0.06955748796463013,
0.006656077690422535,
-0.09913630038499832,
0.02903856337070465,
0.054025232791900635,
0.00920117273926735,
-0.015430957078933716,
-0.007829437963664532,
0.00666873948648572,
-0.0254256259649992,
-0.008821307681500912,
0.050614889711141586,
-0.04406433179974556,
-0.01774391159415245,
0.0004426481609698385,
-0.03818908706307411,
0.004853829275816679,
-0.038729339838027954,
0.01638484001159668,
0.06834191828966141,
-0.05466678366065025,
-0.03896569833159447,
0.010374533012509346,
0.011691397987306118,
-0.02659054473042488,
-0.0007180502288974822,
0.037750132381916046,
0.01501732598990202,
0.01437577698379755,
-0.020073750987648964,
0.014873822219669819,
0.00697685219347477,
0.0396747812628746,
0.03710858151316643,
0.07455482333898544,
0.022234760224819183,
-0.032651498913764954,
-0.047305844724178314,
-0.025797048583626747,
0.03460991382598877,
-0.0015447839396074414,
-0.005026879254728556,
0.00013202943955548108,
-0.08900657296180725,
0.06388483941555023,
-0.03131775185465813,
-0.04683312401175499,
0.003380797803401947,
-0.03646703064441681,
-0.006158032454550266,
0.038087788969278336,
0.0029713877011090517,
-0.024919139221310616,
0.0025535363238304853,
0.02475030906498432,
-0.007609960623085499,
0.006419716868549585,
0.027113914489746094,
0.08900657296180725,
-0.02385551668703556,
-0.02753598615527153,
0.009142082184553146,
0.05686155706644058,
-0.07597298175096512,
-0.06290563195943832,
0.0033364801201969385,
0.017575083300471306,
0.03315798565745354,
0.004298804793506861,
0.01622445322573185,
-0.02108672447502613,
-0.0023150655906647444,
-0.04919672757387161,
-0.00436844676733017,
-0.03788519278168678,
0.007533987518399954,
0.03234760835766792,
-0.002017504768446088,
0.026117824018001556,
-0.027991823852062225,
0.02147503010928631,
-0.06675492972135544,
0.023484094068408012,
-0.008357028476893902,
-0.017575083300471306,
0.06158876419067383,
-0.032161895185709,
-0.009977784939110279,
-0.07408209890127182,
-0.024919139221310616,
-0.04035009443759918,
-0.01697574183344841,
0.028059355914592743,
-0.014460191130638123,
-0.015380308032035828,
-0.025324327871203423,
-0.046022746711969376,
-0.060136836022138596,
0.030980095267295837,
0.05166162922978401,
-0.08812866359949112,
-0.04014750197529793,
0.019111426547169685,
0.049466852098703384,
-0.016460813581943512,
0.032161895185709,
-0.04717078059911728,
-0.02819441817700863,
-0.04500977322459221,
0.04555002599954605,
0.01225697435438633,
-0.06003554165363312,
-0.023045137524604797,
-0.011471920646727085,
-0.03358005732297897,
-0.02201528288424015,
0.039944905787706375,
0.0368046909570694,
0.038459211587905884,
-0.027113914489746094,
-0.04075528308749199,
0.023787984624505043,
-0.0005070141633041203,
-0.02353474125266075,
-0.0007586746360175312,
-0.028920382261276245,
-0.002834214363247156,
-0.0171698946505785,
0.06942242383956909,
-0.04629287123680115,
-0.04305135831236839,
-0.0236191563308239,
-0.0013580170925706625,
-0.013193975202739239,
0.012890082783997059,
-0.019989335909485817,
-0.05591611564159393,
0.04582015052437782,
0.008513194508850574,
0.010019992478191853,
-0.04767726734280586,
-0.019432200118899345,
0.05898880213499069,
0.043929267674684525,
0.007230095565319061,
0.0349138081073761,
0.024074994027614594,
0.0070528252981603146,
-0.010129731148481369,
0.02355162426829338,
0.03293851017951965,
-0.03175670653581619,
-0.007850541733205318,
-0.024615246802568436,
0.012738136574625969,
-0.0018908831989392638,
-0.030693085864186287,
-0.03893193230032921,
0.04798115789890289,
-0.004309356678277254,
-0.022504886612296104,
-0.003969588316977024,
-0.014949794858694077,
-0.03666962683200836,
-0.004246045835316181,
0.05355251207947731,
-0.03896569833159447,
0.011623866856098175,
-0.02020881325006485,
-0.062297847121953964,
0.02176203951239586,
0.0324489064514637,
-0.010585568845272064,
-0.03206060081720352,
-0.015110182575881481,
-0.017591966316103935,
0.01101608294993639,
0.016925092786550522,
-0.008770658634603024,
-0.025256795808672905,
0.04322018474340439,
0.03494757413864136,
-0.011488803662359715,
-0.04078904911875725,
0.06452638655900955,
0.017338722944259644,
0.04615780711174011,
-0.08583258837461472,
0.01101608294993639,
-0.08076772093772888,
0.04531366378068924,
0.04295006021857262,
-0.08590012043714523,
0.037513770163059235,
0.028565842658281326,
-0.006905099842697382,
-0.054329123347997665,
-0.04284876212477684,
0.007466455921530724,
0.06327705085277557,
-0.025948993861675262,
0.02755286917090416,
0.0009137861779890954,
-0.041430599987506866,
-0.055882349610328674,
0.01990492083132267,
-0.0354878231883049,
0.01931402087211609,
-0.07570286095142365,
-0.04582015052437782,
0.027974940836429596,
-0.0003819752892013639,
0.001287320046685636,
0.02228540927171707,
0.06695752590894699,
-0.02171139046549797,
-0.0009934522677212954,
-0.028413895517587662,
0.05166162922978401,
-0.0049762302078306675,
-0.04119424149394035,
0.006082059349864721,
-0.013945262879133224,
0.03295539319515228,
-0.005769725888967514,
0.020360760390758514,
0.06162253022193909,
0.07185355573892593,
0.03270214796066284,
-0.007263861130923033,
-0.01892571523785591,
-0.020647767931222916,
0.022572416812181473,
-0.043929267674684525,
0.011978407390415668,
-0.062601737678051,
-0.042646169662475586,
-0.0016608538571745157,
0.00711191538721323,
0.03152034804224968,
-0.028633372858166695,
-0.053383681923151016,
-0.02052958868443966,
0.0026907098945230246,
0.015574461780488491,
0.008462546393275261,
0.00041969798621721566,
-0.024277588352560997,
-0.0042312731966376305,
0.034441087394952774,
-0.010551802814006805,
-0.025932110846042633,
-0.04892660304903984,
0.038087788969278336,
0.03572418540716171,
0.011134263128042221,
0.06118357554078102,
-0.009133640676736832,
-0.020411407575011253,
-0.029308687895536423,
0.0077745686285197735,
0.0008752720896154642,
-0.010594010353088379,
0.013523191213607788,
0.06023813411593437,
0.04095787927508354,
-0.02753598615527153,
0.018165985122323036,
0.04153189808130264,
0.008530077524483204,
-0.031672291457653046,
-0.00002204337579314597,
0.06152123212814331,
-0.039033230394124985,
0.02507108449935913,
-0.06182512640953064,
-0.02331526391208172,
0.018790651112794876,
-0.04663052782416344,
-0.006850230507552624,
0.015667317435145378,
-0.00697685219347477,
-0.008487870916724205,
0.032313842326402664,
-0.06871334463357925,
-0.04598898068070412,
-0.012906965799629688,
0.06888217478990555,
-0.029848940670490265,
-0.01987115666270256,
0.005942775402218103,
0.032533321529626846,
0.00045979482820257545,
-0.0010467389365658164,
0.004066665191203356,
-0.007031721528619528,
0.05297849327325821,
-0.043895501643419266,
-0.014215389266610146,
0.04561755433678627,
-0.02449706569314003,
-0.034137193113565445,
-0.050986312329769135,
-0.03558912128210068,
0.0525733046233654,
0.03118268959224224,
-0.054599251598119736,
-0.04582015052437782,
0.050614889711141586,
0.015363425947725773,
-0.03646703064441681,
-0.09062732756137848,
-0.02755286917090416,
-0.04511106759309769,
-0.03798649087548256,
0.0257126335054636,
-0.047609735280275345,
-0.06928735971450806,
-0.014789407141506672,
0.013658254407346249,
-0.018740002065896988,
0.0838741734623909,
0.01099919993430376,
0.0033934598322957754,
-0.017524434253573418,
-0.027299625799059868,
-0.01237515453249216,
0.00313599593937397,
-0.01749066822230816,
0.06506664305925369,
-0.006141149438917637,
-0.028312599286437035,
0.017862092703580856,
-0.024395769461989403,
0.05020970106124878,
0.0199218038469553,
0.023450328037142754,
0.046090275049209595,
-0.032296959310770035,
0.054936908185482025,
-0.02019193023443222,
-0.05733427777886391,
-0.025611337274312973,
0.00025548553094267845,
0.04798115789890289,
0.01647769659757614,
-0.0667886957526207,
0.030659319832921028,
-0.03859427571296692,
0.008002487942576408,
0.06023813411593437,
0.03744623810052872,
-0.012755019590258598,
-0.006799581926316023,
-0.028650255873799324,
0.025003552436828613,
-0.01221476774662733,
0.05051359161734581,
-0.00016856506408657879,
-0.03089568018913269,
-0.017676381394267082,
-0.012417362071573734,
0.06101474538445473,
0.041768256574869156,
-0.01899324543774128,
0.05942775681614876,
0.03700728341937065,
-0.05567975714802742,
0.021829569712281227,
-0.04889283701777458,
0.020951660349965096,
-0.027755463495850563,
0.027350274845957756,
0.03148658201098442,
-0.014012794941663742,
0.03947218507528305,
0.017558200284838676,
-0.041768256574869156,
-0.020259462296962738,
-0.014443308115005493,
0.08225341886281967,
-0.013514749705791473,
-0.01833481341600418,
-0.034137193113565445,
0.022876309230923653,
-0.015253686346113682,
0.0014445418491959572,
0.02020881325006485,
-0.009977784939110279,
-0.0045625995844602585,
0.06209525093436241,
-0.020107517018914223,
0.0671938806772232,
-0.002129353815689683,
0.027029499411582947,
0.0077619063667953014,
0.011961524374783039,
0.0070275007747113705,
0.044874709099531174,
0.021626975387334824,
0.04568508639931679,
0.00412786565721035,
0.07381197065114975,
0.004777856636792421,
0.042376041412353516,
0.010965433903038502,
-0.06820685416460037,
-0.01497511938214302,
-0.036061841994524,
0.0210698414593935,
0.008534298278391361,
-0.030490491539239883,
0.04409809783101082,
-0.04642793536186218,
0.050344765186309814,
0.01239203754812479,
-0.016376398503780365,
-0.02667495794594288,
-0.009302469901740551
] |
729,998 | mmengine.config.config | __getitem__ | null | def __getitem__(self, name):
return self._cfg_dict.__getitem__(name)
| (self, name) | [
0.06086728349328041,
-0.07692348212003708,
-0.012133565731346607,
-0.03636745363473892,
-0.016862330958247185,
0.012357953004539013,
0.003820826532319188,
-0.025746429339051247,
0.06901173293590546,
-0.03763067349791527,
-0.03852822631597519,
0.00261578056961298,
0.004433737602084875,
0.0002286730450578034,
-0.003239080309867859,
-0.0028173141181468964,
0.019181005656719208,
0.06203077733516693,
-0.022206086665391922,
-0.025048334151506424,
0.0034884000197052956,
-0.028040170669555664,
0.09354480355978012,
-0.020361119881272316,
0.03603502735495567,
0.03181321173906326,
0.0837714672088623,
-0.008044720627367496,
0.030483506619930267,
-0.06213050335645676,
-0.09740094840526581,
-0.05172555521130562,
0.00703497463837266,
0.06362642347812653,
-0.01721969060599804,
-0.007874351926147938,
-0.028040170669555664,
0.006918625440448523,
-0.0012975019635632634,
0.005418551154434681,
0.0287216454744339,
-0.02403443306684494,
0.003887311788275838,
-0.04457838833332062,
-0.01234133169054985,
0.01721969060599804,
-0.0500301830470562,
0.07426407188177109,
-0.010247045196592808,
0.0021420728880912066,
0.010604403913021088,
0.001841850345954299,
-0.04294949769973755,
0.04431244730949402,
-0.05448469519615173,
-0.023153502494096756,
0.005867327097803354,
0.0575762614607811,
0.04078872501850128,
0.06359317898750305,
-0.03949226438999176,
-0.02727559022605419,
0.005688647739589214,
-0.01735266111791134,
0.004504378419369459,
-0.0702749490737915,
-0.04171951860189438,
0.0038914671167731285,
0.0010814247652888298,
-0.012997874058783054,
0.04072223976254463,
-0.0043007670901715755,
-0.022854318842291832,
-0.06635232269763947,
-0.0052232504822313786,
-0.03786337375640869,
-0.04790265113115311,
0.013538067229092121,
0.057011138647794724,
-0.008481030352413654,
-0.0562465563416481,
0.03746446222066879,
-0.03723176196217537,
-0.0040410589426755905,
-0.029718924313783646,
0.008917340077459812,
0.021341778337955475,
-0.0327606275677681,
0.0284557044506073,
-0.006594509817659855,
0.04471135884523392,
0.053055260330438614,
-0.005788375623524189,
0.05541548877954483,
-0.018881822004914284,
-0.04520999640226364,
0.04038981348276138,
-0.017768194898962975,
0.01332199014723301,
0.01553262583911419,
-0.005489191971719265,
-0.02338620088994503,
-0.015831809490919113,
-0.027907200157642365,
-0.016654565930366516,
-0.044977299869060516,
-0.016812467947602272,
0.005784220527857542,
-0.0036255260929465294,
-0.010853723622858524,
0.01566559635102749,
0.006532179657369852,
-0.039857931435108185,
0.015341481193900108,
0.03319277986884117,
0.032195501029491425,
-0.04321543872356415,
-0.03789661452174187,
0.002624091226607561,
0.017967650666832924,
-0.036467183381319046,
0.04161979258060455,
-0.01136898435652256,
0.0434148944914341,
0.035702601075172424,
0.05458442494273186,
-0.04740401357412338,
-0.00568449217826128,
0.06688420474529266,
-0.0504290945827961,
0.08782707154750824,
-0.010479743592441082,
-0.030948903411626816,
-0.02760801650583744,
0.0562465563416481,
0.004367252346128225,
0.06705041229724884,
-0.012972942553460598,
-0.035569630563259125,
0.05820787325501442,
0.026427902281284332,
0.01571546122431755,
-0.022688105702400208,
-0.008892407640814781,
0.005580609198659658,
-0.0358688160777092,
0.0016995302867144346,
0.02383497729897499,
-0.011892556212842464,
-0.039924416691064835,
-0.008044720627367496,
0.018948307260870934,
-0.06223023310303688,
0.012416128069162369,
-0.046672675758600235,
0.01136898435652256,
-0.060967013239860535,
0.01643017679452896,
-0.009150038473308086,
-0.04491081461310387,
-0.01811724156141281,
-0.005468415096402168,
-0.04198545962572098,
-0.030433641746640205,
-0.04331516847014427,
-0.014601832255721092,
-0.012981252744793892,
-0.05255662277340889,
0.0036109823267906904,
0.03783012926578522,
-0.04703834280371666,
-0.03630096837878227,
-0.04614078998565674,
0.03138105571269989,
-0.029785409569740295,
0.032910220324993134,
-0.0573103204369545,
0.04118763655424118,
0.0322287455201149,
-0.02664398029446602,
0.005318823270499706,
0.027491668239235878,
-0.09307941049337387,
-0.013571309857070446,
0.0037294093053787947,
0.0565124973654747,
0.015582489781081676,
0.023020531982183456,
0.021258670836687088,
0.06724987179040909,
0.030682962387800217,
-0.04956478253006935,
0.026909921318292618,
-0.005443483125418425,
-0.0041802627965807915,
-0.010920208878815174,
-0.015150335617363453,
0.04763671010732651,
0.01289814617484808,
0.08895731717348099,
0.018150484189391136,
-0.022754590958356857,
-0.044977299869060516,
0.062263473868370056,
-0.028405839577317238,
-0.006345190107822418,
0.10611052066087723,
-0.05957081913948059,
-0.031863074749708176,
0.036999065428972244,
-0.0708068311214447,
-0.01786792278289795,
0.012665447778999805,
0.02740856073796749,
0.0497642420232296,
-0.022488649934530258,
-0.0015364334685727954,
-0.008917340077459812,
0.003716943319886923,
0.06242968887090683,
0.06980955600738525,
0.003409448778256774,
0.11934109777212143,
-0.0023955481592565775,
0.006278704851865768,
-0.027458425611257553,
-0.0324946865439415,
-0.03176334872841835,
-0.020228149369359016,
-0.0009230028372257948,
0.06751581281423569,
0.004124165512621403,
0.07087332010269165,
-0.018150484189391136,
0.07865209877490997,
0.023751869797706604,
-0.00457917433232069,
-0.011402226984500885,
0.02857205457985401,
0.06518882513046265,
0.02293742448091507,
0.05139312893152237,
-0.015058917924761772,
0.05860678479075432,
-0.03630096837878227,
-0.010247045196592808,
-0.018366562202572823,
0.0498972125351429,
0.006785654928535223,
0.016513284295797348,
0.06841336190700531,
0.03312629461288452,
-0.011269256472587585,
0.05405254289507866,
-0.02280445396900177,
-0.035237204283475876,
-0.06106673926115036,
0.002024684799835086,
0.028355976566672325,
-0.032245367765426636,
-0.026328174397349358,
0.012241603806614876,
0.022056495770812035,
0.009100174531340599,
-0.025314275175333023,
0.044146232306957245,
0.06179807707667351,
0.02968568168580532,
-0.0015665596583858132,
0.020344499498605728,
0.052523378282785416,
0.07453001290559769,
-0.0032494685146957636,
0.0013026961823925376,
0.011427159421145916,
-0.03802958503365517,
0.06628583371639252,
0.018349939957261086,
-0.017203068360686302,
0.00586317153647542,
0.0319628044962883,
0.003835370298475027,
-0.04358110949397087,
0.07798724621534348,
-0.0423511303961277,
-0.04178600385785103,
-0.005775909870862961,
0.02117556519806385,
0.0052232504822313786,
0.04437893256545067,
0.01753549464046955,
-0.022438785061240196,
0.00814860314130783,
-0.00690200412645936,
0.024400101974606514,
-0.005447638686746359,
-0.06980955600738525,
0.017136583104729652,
0.03443938121199608,
0.0251480620354414,
0.04055602848529816,
-0.027757609263062477,
-0.09460856765508652,
0.021208807826042175,
0.008360525593161583,
0.011202771216630936,
0.036467183381319046,
0.01689557544887066,
0.019048035144805908,
0.017585359513759613,
-0.010155628435313702,
-0.04663943126797676,
0.006910314783453941,
0.05588088557124138,
-0.012873214669525623,
-0.04002414643764496,
-0.0420851893723011,
0.016463419422507286,
0.043680835515260696,
0.05455118045210838,
-0.05734356492757797,
0.023469308391213417,
-0.04637349024415016,
-0.04048954322934151,
0.048368047922849655,
-0.013887114822864532,
-0.01624734327197075,
-0.017036855220794678,
-0.02090962417423725,
0.012848282232880592,
-0.07486243546009064,
-0.03201266750693321,
0.019181005656719208,
-0.009590502828359604,
0.005489191971719265,
0.001280880649574101,
0.022189466282725334,
0.05820787325501442,
-0.026394659653306007,
-0.06711690127849579,
0.004516844637691975,
-0.01864912360906601,
-0.036467183381319046,
0.010454812087118626,
0.02027801424264908,
0.012640516273677349,
0.005090279970318079,
0.009914618916809559,
0.0353369303047657,
-0.04461162909865379,
-0.009640366770327091,
-0.07472946494817734,
0.031796589493751526,
0.04334840923547745,
0.020061936229467392,
-0.006012763362377882,
0.0040369038470089436,
-0.0415533073246479,
-0.025164682418107986,
0.001030002604238689,
0.05800841748714447,
-0.024400101974606514,
-0.015549247153103352,
0.009191591292619705,
-0.044079747051000595,
-0.0005422706599347293,
-0.036467183381319046,
0.015964780002832413,
0.04092169553041458,
-0.0716046616435051,
-0.058174628764390945,
0.013562999665737152,
0.008684640750288963,
-0.01708672009408474,
-0.013297057710587978,
-0.019114520400762558,
0.019413704052567482,
0.023286473006010056,
-0.042450856417417526,
-0.034273166209459305,
0.018266834318637848,
0.04776968061923981,
0.023087017238140106,
0.08204285055398941,
0.004637348931282759,
-0.02371862716972828,
-0.05106070265173912,
-0.024981848895549774,
0.05711086466908455,
-0.00039475641096942127,
-0.014468861743807793,
0.017502252012491226,
-0.06914470344781876,
0.08244176208972931,
-0.0648564025759697,
-0.046539705246686935,
0.024084296077489853,
-0.051027461886405945,
-0.0356028750538826,
0.020128421485424042,
0.015233442187309265,
-0.012465992011129856,
-0.013263815082609653,
0.03922632336616516,
0.021341778337955475,
-0.03683285042643547,
0.015391345135867596,
0.0837714672088623,
-0.02533089555799961,
-0.016779225319623947,
0.00909186340868473,
0.04045629873871803,
-0.05315499007701874,
-0.06086728349328041,
-0.010862034745514393,
0.007965768687427044,
0.004903290420770645,
0.022970667108893394,
0.0038914671167731285,
0.01831669732928276,
-0.008497651666402817,
-0.06921118497848511,
0.008339748717844486,
-0.036666639149188995,
0.006120801903307438,
0.031214844435453415,
-0.008651398122310638,
0.02553035132586956,
-0.0423511303961277,
-0.0036109823267906904,
-0.08064665645360947,
-0.027558153495192528,
0.03259441256523132,
-0.006569577846676111,
0.04035657271742821,
-0.05581440031528473,
-0.012549098581075668,
-0.05126015841960907,
-0.015524315647780895,
-0.013371854089200497,
0.05614682659506798,
0.0361347571015358,
-0.014892704784870148,
-0.0088009899482131,
-0.020361119881272316,
-0.028339354321360588,
-0.07898452877998352,
0.01636369153857231,
0.0348050482571125,
-0.0851011723279953,
-0.046340249478816986,
0.013405096717178822,
0.048700474202632904,
0.0006970567046664655,
0.04717131331562996,
-0.03832877054810524,
-0.06814742088317871,
-0.02799030765891075,
0.05411902815103531,
-0.0023290629032999277,
-0.0356028750538826,
0.00673994654789567,
0.0013951522996649146,
-0.018200349062681198,
0.014261094853281975,
0.02027801424264908,
0.025414003059267998,
0.04348137974739075,
-0.0014678705483675003,
-0.02474914863705635,
-0.022388922050595284,
0.013247193768620491,
-0.05209122598171234,
-0.04048954322934151,
-0.03663339465856552,
-0.011418848298490047,
-0.006690082605928183,
0.10431542247533798,
-0.02162434160709381,
-0.027175862342119217,
-0.014286027289927006,
-0.039459019899368286,
-0.009723473340272903,
0.016854021698236465,
-0.01636369153857231,
-0.05425199866294861,
0.03026742860674858,
0.02365214191377163,
-0.026860058307647705,
-0.01465169619768858,
-0.018283454701304436,
-0.01974613219499588,
0.014576899819076061,
0.009698541834950447,
0.03540341556072235,
0.0003139871696475893,
0.019480189308524132,
0.0049240668304264545,
0.03919307887554169,
0.03450586646795273,
-0.0033263422083109617,
-0.003492555348202586,
-0.018549395725131035,
0.003170517273247242,
0.004674747120589018,
-0.05458442494273186,
-0.0287216454744339,
0.05521603301167488,
0.0036878560204058886,
-0.04494405537843704,
-0.010080832056701183,
0.002241801004856825,
-0.0284557044506073,
0.001172842108644545,
0.06592016667127609,
-0.016521595418453217,
-0.018333319574594498,
-0.0032702451571822166,
-0.04009063169360161,
0.03616799786686897,
0.04411299154162407,
-0.01165985781699419,
-0.01585674099624157,
-0.006985110696405172,
0.003444769186899066,
0.025247789919376373,
0.02312025986611843,
-0.032461442053318024,
-0.04348137974739075,
0.06834688037633896,
0.02577967196702957,
-0.008850853890180588,
-0.022488649934530258,
0.06478991359472275,
0.010346773080527782,
0.015740392729640007,
-0.04334840923547745,
0.033940739929676056,
-0.08197636157274246,
0.05328796058893204,
0.031929560005664825,
-0.06266238540410995,
0.07738887518644333,
-0.017568737268447876,
0.011693100444972515,
-0.012557409703731537,
-0.038960378617048264,
-0.015881674364209175,
0.046406734734773636,
-0.04464487358927727,
0.03131457045674324,
-0.014394065365195274,
-0.006154044531285763,
-0.06173159182071686,
0.03616799786686897,
-0.017036855220794678,
-0.019795995205640793,
-0.05022963881492615,
-0.028339354321360588,
0.01954667642712593,
0.017269553616642952,
0.010953451506793499,
0.022754590958356857,
0.0724024847149849,
-0.018100621178746223,
-0.015524315647780895,
-0.0490993857383728,
0.014901015907526016,
0.0005988870398141444,
-0.023469308391213417,
0.0067274803295731544,
-0.042517341673374176,
0.020377742126584053,
0.0314309224486351,
0.013513135723769665,
0.05255662277340889,
0.05883948132395744,
0.012665447778999805,
-0.007699827663600445,
-0.022704726085066795,
-0.025746429339051247,
0.035170719027519226,
0.02950284816324711,
0.027857337146997452,
-0.017618602141737938,
-0.005609696265310049,
0.014352512545883656,
0.014128124341368675,
0.010828792117536068,
-0.011003315448760986,
-0.02182379737496376,
-0.014327580109238625,
0.014768045395612717,
0.017036855220794678,
0.02215622365474701,
-0.003465545829385519,
-0.018333319574594498,
-0.02794044278562069,
0.04770319536328316,
0.00874281581491232,
-0.05308850482106209,
-0.05671195313334465,
0.03163037821650505,
0.002107791369780898,
-0.010995005257427692,
0.0356028750538826,
0.012424438260495663,
-0.02760801650583744,
-0.002468266524374485,
-0.03033391386270523,
-0.0016881030751392245,
-0.031796589493751526,
-0.01422785222530365,
0.03593530133366585,
0.002024684799835086,
-0.046938616782426834,
0.0350709892809391,
0.0434148944914341,
0.008634776808321476,
-0.0180673785507679,
-0.006756567861884832,
0.059604063630104065,
-0.05022963881492615,
0.02182379737496376,
-0.0653882846236229,
-0.0569114089012146,
0.030483506619930267,
-0.03490477800369263,
0.002595003927126527,
0.027458425611257553,
-0.005393619183450937,
0.024400101974606514,
0.052257437258958817,
-0.050628550350666046,
-0.05800841748714447,
-0.008481030352413654,
0.050960976630449295,
-0.0281897634267807,
-0.03207915276288986,
0.03059985488653183,
0.004471135791391134,
0.0011603761231526732,
0.030583234503865242,
0.02046084776520729,
0.007230275310575962,
0.025164682418107986,
-0.01436082273721695,
-0.006012763362377882,
0.06980955600738525,
-0.007766312919557095,
-0.01838318258523941,
-0.00789512787014246,
-0.03079931065440178,
0.0500301830470562,
0.011959041468799114,
-0.008352214470505714,
-0.019264113157987595,
0.04198545962572098,
-0.024134160950779915,
-0.04889992997050285,
-0.06528855860233307,
-0.009507396258413792,
-0.0698760375380516,
-0.06721662729978561,
0.015341481193900108,
-0.032129015773534775,
-0.06033540144562721,
0.012067080475389957,
0.0028069259133189917,
-0.0014221619348973036,
0.05338769033551216,
-0.0215079914778471,
-0.04098818078637123,
-0.005717734806239605,
-0.005967054981738329,
-0.04198545962572098,
0.010828792117536068,
-0.009981104172766209,
0.03131457045674324,
-0.008917340077459812,
-0.003131041768938303,
0.021807175129652023,
0.0022667329758405685,
0.08849192410707474,
0.01670442894101143,
0.06362642347812653,
0.022272571921348572,
-0.06146565079689026,
0.05588088557124138,
0.017635222524404526,
-0.040190357714891434,
-0.01956329680979252,
0.013820629566907883,
0.04683888703584671,
-0.0020402674563229084,
-0.05052882060408592,
0.028439084067940712,
-0.03716527670621872,
-0.023020531982183456,
0.02857205457985401,
0.018333319574594498,
-0.015507694333791733,
0.0021420728880912066,
-0.02813989855349064,
0.010446500964462757,
-0.02390146255493164,
0.03174672648310661,
-0.009748405776917934,
-0.04424596205353737,
-0.019480189308524132,
-0.004948998801410198,
0.049465056508779526,
0.0494982972741127,
-0.00978164840489626,
0.046938616782426834,
0.02611209824681282,
-0.05917190760374069,
0.001695374958217144,
-0.04424596205353737,
0.036600153893232346,
-0.015449519269168377,
0.018599260598421097,
0.009632056578993797,
0.026344796642661095,
0.04055602848529816,
0.011427159421145916,
-0.017851300537586212,
-0.05608034133911133,
-0.04145357757806778,
0.09573882073163986,
-0.011585062369704247,
-0.035170719027519226,
-0.03766391798853874,
0.018532775342464447,
-0.002520208014175296,
-0.0011956964153796434,
0.026926543563604355,
0.01553262583911419,
0.008335593156516552,
0.04205194488167763,
0.010729064233601093,
0.05747653543949127,
-0.026610737666487694,
0.027175862342119217,
-0.030167700722813606,
-0.014618453569710255,
0.020294634625315666,
0.050628550350666046,
-0.005285580642521381,
0.052855804562568665,
0.024832256138324738,
0.05561494454741478,
0.015058917924761772,
0.05618007108569145,
-0.01741914637386799,
-0.0698760375380516,
-0.00828157365322113,
-0.03610151261091232,
0.013878804631531239,
0.02695978619158268,
-0.030317293480038643,
0.03892713785171509,
-0.03487153351306915,
0.0717376321554184,
-0.03282711282372475,
-0.040190357714891434,
-0.04215167462825775,
-0.012790108099579811
] |
729,999 | mmengine.config.config | __getstate__ | null | def __getstate__(
self
) -> Tuple[dict, Optional[str], Optional[str], dict, bool, set]:
state = (self._cfg_dict, self._filename, self._text,
self._env_variables, self._format_python_code,
self._imported_names)
return state
| (self) -> Tuple[dict, Optional[str], Optional[str], dict, bool, set] | [
0.027143392711877823,
-0.05140233784914017,
0.004555485676974058,
-0.028622595593333244,
0.0025238916277885437,
-0.02063489519059658,
-0.01642840914428234,
-0.009425302967429161,
0.05036689341068268,
-0.10073378682136536,
-0.020302074030041695,
0.03731291741132736,
-0.03890306502580643,
0.04045622795820236,
-0.019359081983566284,
0.013830556534230709,
-0.03318963944911957,
0.02657020092010498,
-0.06815432012081146,
-0.01712178625166416,
0.006721132900565863,
-0.0012977703008800745,
0.042601075023412704,
0.040752068161964417,
0.03400320187211037,
-0.021152615547180176,
0.027013961225748062,
-0.07022520899772644,
0.06220052391290665,
0.0032010897994041443,
-0.009166441857814789,
-0.018332883715629578,
-0.0017380645731464028,
-0.010816678404808044,
-0.018674949184060097,
0.007359039504081011,
-0.00016063230577856302,
0.03281983733177185,
0.024295924231410027,
-0.044856857508420944,
-0.014995429664850235,
-0.08128225803375244,
-0.0075624301098287106,
0.01965492218732834,
-0.04459799826145172,
-0.021152615547180176,
-0.0112604396417737,
-0.0379415825009346,
0.036758217960596085,
-0.05583994835615158,
0.06042547896504402,
0.029306728392839432,
-0.037793658673763275,
0.051365356892347336,
-0.008232694119215012,
-0.0481850691139698,
0.040715087205171585,
0.01915569044649601,
0.0018986968789249659,
0.05975984036922455,
-0.0190262608230114,
0.038829103112220764,
0.012711908668279648,
-0.023593302816152573,
-0.0032149571925401688,
-0.01623426377773285,
-0.029195787385106087,
-0.013303590007126331,
-0.03624049574136734,
0.06763660162687302,
0.010169526562094688,
-0.0229276604950428,
0.00116602866910398,
-0.024758175015449524,
-0.011972307227551937,
-0.031192712485790253,
-0.047408487647771835,
0.02801242470741272,
0.020653385668992996,
-0.01749158650636673,
-0.0631989911198616,
0.05432376265525818,
-0.05728217214345932,
0.013146424666047096,
0.014976940117776394,
0.005639465060085058,
0.0071741389110684395,
0.012240412645041943,
-0.0348537415266037,
0.028345245867967606,
-0.013506980612874031,
0.06763660162687302,
-0.02157788723707199,
0.04245315119624138,
0.02899239771068096,
-0.03686915710568428,
-0.012785868719220161,
-0.008380615152418613,
-0.009892175905406475,
-0.014681098982691765,
-0.07004030793905258,
-0.018379108980298042,
-0.055507127195596695,
-0.037701211869716644,
-0.0078998738899827,
-0.03529750555753708,
0.020745834335684776,
-0.013858292251825333,
0.044893838465213776,
-0.08668135106563568,
-0.03426206111907959,
-0.054656583815813065,
-0.005144856404513121,
0.04481988027691841,
0.04559646174311638,
-0.030286701396107674,
-0.06149790436029434,
-0.02989840880036354,
-0.028474675491452217,
-0.0004616734222508967,
-0.027901483699679375,
0.05473054572939873,
0.005292776506394148,
0.08934392035007477,
0.0356673039495945,
0.07347945868968964,
0.013007749803364277,
-0.04408027604222298,
0.07824988663196564,
-0.055729009211063385,
0.01959945261478424,
0.02239144966006279,
0.008639475330710411,
0.00191603135317564,
-0.03640690818428993,
0.020449994131922722,
0.07196327298879623,
0.014422237873077393,
-0.0427120141685009,
0.05894627794623375,
0.08520215004682541,
0.006046246271580458,
-0.0005344779929146171,
-0.02742074243724346,
0.00510325375944376,
0.02019113302230835,
0.028530145063996315,
-0.00253544794395566,
-0.02185523882508278,
0.013238875195384026,
0.07721444219350815,
-0.0673777386546135,
-0.07114970684051514,
0.021522417664527893,
-0.045300621539354324,
0.004560108296573162,
-0.016400674358010292,
-0.012064756825566292,
0.01103855948895216,
-0.03296775743365288,
-0.028049403801560402,
-0.032616447657346725,
0.011001579463481903,
-0.030046330764889717,
0.045707400888204575,
0.05950097739696503,
0.0169923547655344,
-0.08283542096614838,
-0.0011631397064775229,
-0.07824988663196564,
-0.04796318709850311,
-0.0014503132551908493,
-0.05535920709371567,
0.05776291340589523,
-0.05713425204157829,
0.030249720439314842,
-0.005066273268312216,
0.033522460609674454,
-0.0024799779057502747,
0.0023262794129550457,
0.012850584462285042,
-0.043858397752046585,
-0.09969834238290787,
0.07839781045913696,
0.04559646174311638,
0.02571965754032135,
0.0466688834130764,
0.023759713396430016,
0.04766734689474106,
0.029214277863502502,
-0.018674949184060097,
-0.019044751301407814,
-0.003762725042179227,
0.028715046122670174,
-0.026200398802757263,
0.022021649405360222,
-0.03533448278903961,
-0.009587090462446213,
0.003238069824874401,
0.002447620267048478,
0.01755630224943161,
-0.05243777856230736,
0.00016482145292684436,
0.036573316901922226,
-0.027642622590065002,
0.009286627173423767,
0.0015485415933653712,
-0.04851789027452469,
-0.01996925286948681,
0.06918976455926895,
-0.04160261154174805,
-0.05994473770260811,
-0.025017036125063896,
0.05665351077914238,
0.022983131930232048,
-0.11841027438640594,
0.08557194471359253,
0.029731998220086098,
-0.02662567049264908,
0.016474634408950806,
0.11212366074323654,
-0.006721132900565863,
0.06338388472795486,
-0.017473096027970314,
0.022872190922498703,
-0.029565589502453804,
-0.03346698731184006,
-0.015716541558504105,
-0.04500478133559227,
-0.031636472791433334,
0.021910708397626877,
-0.021818257868289948,
0.010188017040491104,
-0.02581210806965828,
0.01852702908217907,
0.018286658450961113,
0.01886909455060959,
-0.022724270820617676,
-0.02725433185696602,
0.003956870641559362,
-0.004689538851380348,
-0.002651010872796178,
0.04700170457363129,
0.004636379890143871,
-0.027402251958847046,
-0.03816346079111099,
0.02999085932970047,
0.05373208224773407,
-0.031544022262096405,
0.021245066076517105,
0.022964641451835632,
0.04356255754828453,
-0.04641002416610718,
-0.0029861428774893284,
-0.01004934124648571,
-0.01705707050859928,
-0.007109424099326134,
-0.0046479362063109875,
0.05351020395755768,
-0.020838284865021706,
0.06833922117948532,
-0.00583361042663455,
0.01771346665918827,
0.007608655374497175,
0.020265093073248863,
0.017195746302604675,
0.044487059116363525,
-0.022280508652329445,
-0.05506336688995361,
0.03727594017982483,
0.09644409269094467,
0.05587692931294441,
-0.04082603007555008,
0.0005399672081694007,
-0.05720821022987366,
-0.08305729925632477,
0.04977521300315857,
-0.024148004129529,
-0.005602485034614801,
0.002067418536171317,
0.03575975447893143,
0.036351434886455536,
0.01362716592848301,
0.029121827334165573,
0.01886909455060959,
-0.00818184670060873,
-0.05450866371393204,
-0.014588648453354836,
0.017667241394519806,
0.01830514892935753,
0.00360324839130044,
0.023168031126260757,
0.0114638302475214,
-0.0157997477799654,
0.1276552975177765,
0.0017946903826668859,
-0.06841318309307098,
0.0007869827095419168,
0.06486309319734573,
0.007109424099326134,
0.02694000117480755,
-0.022964641451835632,
-0.02782752364873886,
0.025664187967777252,
0.002819732530042529,
0.020209623500704765,
0.037349898368120193,
0.011121764779090881,
-0.006069358438253403,
-0.031728923320770264,
0.007137158885598183,
0.0017577102407813072,
0.052215900272130966,
0.012961524538695812,
-0.005352869164198637,
-0.06926372647285461,
-0.018850605934858322,
-0.0038274400867521763,
-0.01749158650636673,
0.04648398235440254,
-0.07540242373943329,
-0.027809033170342445,
0.040086425840854645,
-0.02396310307085514,
0.016825944185256958,
-0.04430215805768967,
-0.00827429722994566,
-0.010687248781323433,
0.03074895218014717,
0.043007854372262955,
-0.10798189043998718,
-0.0027527061756700277,
0.009688785299658775,
0.04348859563469887,
0.010012361221015453,
0.031858354806900024,
0.007784310728311539,
0.0020408392883837223,
0.02320501208305359,
-0.09370756894350052,
0.06382764875888824,
-0.02226202003657818,
-0.041121870279312134,
-0.0006407957407645881,
0.04441309720277786,
-0.018203454092144966,
0.013044729828834534,
-0.019229650497436523,
0.11034861207008362,
-0.043007854372262955,
-0.050736695528030396,
-0.027587153017520905,
-0.028345245867967606,
0.04082603007555008,
0.030564051121473312,
-0.035537876188755035,
-0.052807580679655075,
-0.02019113302230835,
0.027587153017520905,
0.029621059074997902,
0.04193543270230293,
-0.024628745391964912,
-0.021503927186131477,
0.0514393150806427,
-0.016197282820940018,
-0.03017576038837433,
-0.0027850635815411806,
0.004825902637094259,
0.000798539025709033,
-0.03359641879796982,
0.004426055587828159,
-0.05066273361444473,
-0.03588918596506119,
-0.05665351077914238,
0.02022811397910118,
0.01934059150516987,
-0.02851165644824505,
0.005218816455453634,
-0.03975360468029976,
-0.02113412693142891,
0.03156251460313797,
-0.01276737917214632,
-0.006573212333023548,
0.041750531643629074,
0.0020050148013979197,
0.0031964671798050404,
0.0152450455352664,
0.0070770662277936935,
0.034373000264167786,
0.0491095706820488,
-0.06626833975315094,
0.017916858196258545,
-0.015198820270597935,
0.012416067533195019,
0.04481988027691841,
0.006582457572221756,
0.04193543270230293,
-0.018610235303640366,
0.023352932184934616,
0.018850605934858322,
0.014292808249592781,
-0.0012827471364289522,
0.011630240827798843,
0.007895250804722309,
-0.02801242470741272,
-0.013987721875309944,
0.032394565641880035,
0.05391698330640793,
-0.024628745391964912,
-0.07810197025537491,
0.03313416987657547,
-0.001862872508354485,
-0.02725433185696602,
-0.04663190245628357,
-0.024258945137262344,
0.007224986795336008,
0.011010824702680111,
0.0608692429959774,
0.04670586436986923,
0.017408382147550583,
-0.022853700444102287,
-0.008325144648551941,
0.039235882461071014,
0.004169506020843983,
-0.0118706114590168,
0.05942701920866966,
-0.0506257563829422,
0.013738106936216354,
0.00033108744537457824,
-0.0018871406791731715,
0.001170073403045535,
0.009716521017253399,
0.013978477567434311,
0.012527008540928364,
0.011547035537660122,
-0.04104790836572647,
-0.01712178625166416,
-0.036758217960596085,
-0.006545477546751499,
0.03683217614889145,
0.003177977167069912,
0.04859184846282005,
0.03304171934723854,
0.03964266553521156,
0.038237422704696655,
-0.021078655496239662,
-0.056542571634054184,
0.028585616499185562,
0.036314457654953,
-0.007534694857895374,
-0.03150704503059387,
0.025701168924570084,
0.019081730395555496,
-0.005394471809267998,
-0.013442265801131725,
0.030674992129206657,
-0.07958117127418518,
-0.000056192413467215374,
-0.026144929230213165,
0.011648731306195259,
0.0032704274635761976,
0.008787395432591438,
-0.005778140388429165,
0.05169817805290222,
0.01824043318629265,
-0.10923921316862106,
-0.007127914112061262,
-0.018221942707896233,
-0.0339847095310688,
-0.011140254326164722,
-0.023500852286815643,
0.015050900168716908,
-0.024351393803954124,
-0.0038020163774490356,
-0.01708480529487133,
-0.03243154659867287,
0.02104167640209198,
-0.01362716592848301,
-0.019839823246002197,
-0.09060124307870865,
0.009110971353948116,
0.016400674358010292,
-0.023815182968974113,
0.01602162793278694,
-0.012536253780126572,
-0.02131902612745762,
0.04877674952149391,
-0.0001643880968913436,
0.013608676381409168,
-0.013127935118973255,
-0.046594925224781036,
-0.017926102504134178,
-0.008223449811339378,
-0.04881373047828674,
-0.015503906644880772,
0.022243529558181763,
-0.012887564487755299,
0.006938390899449587,
-0.004825902637094259,
-0.017278950661420822,
0.01521731074899435,
-0.027032451704144478,
0.02063489519059658,
0.02908484637737274,
0.005278909113258123,
-0.04973823204636574,
-0.03254248574376106,
-0.04226825386285782,
0.022816721349954605,
-0.010446878150105476,
0.0017172633670270443,
0.007446867413818836,
0.02342689223587513,
-0.03894004225730896,
-0.005200326442718506,
-0.02235446870326996,
0.016936885192990303,
0.022983131930232048,
-0.058243654668331146,
0.030471600592136383,
-0.013368305750191212,
0.03609257563948631,
0.038237422704696655,
-0.0315994955599308,
-0.042194291949272156,
0.054286785423755646,
0.03975360468029976,
-0.0379415825009346,
-0.021097145974636078,
-0.005607107188552618,
0.0185640100389719,
-0.08564590662717819,
-0.013072464615106583,
0.037608761340379715,
-0.01749158650636673,
-0.03452092036604881,
0.014052437618374825,
0.043044835329055786,
-0.10273071378469467,
-0.02729131281375885,
0.06586155295372009,
-0.018628723919391632,
-0.012258902192115784,
0.03361491113901138,
0.012933789752423763,
0.005810497794300318,
-0.012305127456784248,
0.017214234918355942,
-0.038644202053546906,
-0.030101800337433815,
0.015966158360242844,
-0.059057217091321945,
0.0027873748913407326,
-0.05373208224773407,
0.008306654170155525,
-0.0395687036216259,
0.048406947404146194,
0.021097145974636078,
0.010197262279689312,
-0.014884489588439465,
0.001961100846529007,
-0.0010475768940523267,
-0.10073378682136536,
0.006808960810303688,
0.007793555501848459,
-0.023667262867093086,
-0.002167958300560713,
0.059020236134529114,
-0.008722680620849133,
-0.0051772138103842735,
0.029251256957650185,
0.04389537498354912,
0.04559646174311638,
-0.013608676381409168,
0.04711264371871948,
-0.015818236395716667,
0.007063198834657669,
0.044228196144104004,
0.008024681359529495,
0.017131030559539795,
0.0791374072432518,
-0.001532362774014473,
0.007553184870630503,
0.003083215793594718,
-0.030231229960918427,
0.029916899278759956,
-0.04922050982713699,
0.03790460154414177,
0.038829103112220764,
0.013904516585171223,
-0.017103295773267746,
0.05754103139042854,
0.08535006642341614,
-0.006462272256612778,
-0.015457681380212307,
0.005228061228990555,
0.04141771048307419,
-0.006231146398931742,
-0.02684755064547062,
-0.0233899112790823,
-0.04496780037879944,
0.021374497562646866,
0.0006754646310582757,
0.01011405698955059,
-0.019802842289209366,
-0.028807496652007103,
0.04245315119624138,
0.03348547965288162,
-0.016030872240662575,
0.013118689879775047,
0.028123363852500916,
-0.08335313946008682,
-0.000226503107114695,
-0.05247475951910019,
-0.02091224491596222,
-0.025664187967777252,
0.04356255754828453,
0.019081730395555496,
-0.033651888370513916,
-0.032394565641880035,
-0.016539348289370537,
0.014838264323771,
-0.03705405816435814,
0.03592616692185402,
0.008015436120331287,
-0.013479245826601982,
0.0012318994849920273,
-0.03348547965288162,
0.0076317680068314075,
-0.03722047060728073,
0.012129472568631172,
0.015282025560736656,
0.03953172639012337,
-0.05639465153217316,
-0.004130214918404818,
0.05909419804811478,
0.06297710537910461,
0.012748888693749905,
-0.004708028864115477,
0.01501392014324665,
0.003025434212759137,
0.024832135066390038,
0.012952279299497604,
-0.014376013539731503,
-0.0060138884000480175,
-0.006194166373461485,
-0.02396310307085514,
-0.036628786474466324,
0.08106037229299545,
-0.03222815692424774,
-0.004849015269428492,
0.004775055218487978,
0.010132546536624432,
-0.0020477729849517345,
-0.047408487647771835,
0.003943002782762051,
-0.04208335280418396,
0.01924814097583294,
-0.0014445350971072912,
-0.0332266166806221,
-0.07965513318777084,
0.017131030559539795,
-0.013238875195384026,
-0.002595540601760149,
0.013812066987156868,
0.01598464697599411,
-0.07647484540939331,
0.0769186019897461,
0.08631154894828796,
-0.034502431750297546,
0.04700170457363129,
0.006735000293701887,
0.041121870279312134,
0.01692764088511467,
-0.04078904911875725,
-0.027180371806025505,
0.03786762058734894,
0.02094922587275505,
0.07166743278503418,
-0.004751942586153746,
0.0005558570846915245,
0.06353180855512619,
-0.006494629662483931,
-0.012980014085769653,
0.020801305770874023,
0.020043212920427322,
-0.011140254326164722,
-0.014625628478825092,
0.07015124708414078,
-0.012527008540928364,
-0.07462583482265472,
0.01712178625166416,
0.01824967935681343,
0.045707400888204575,
-0.0026787458918988705,
-0.019950762391090393,
0.0026741232722997665,
-0.05983379855751991,
0.0008626763592474163,
-0.05103253573179245,
-0.008098641410470009,
-0.015291270799934864,
0.013414531014859676,
-0.01661330834031105,
0.02157788723707199,
-0.044893838465213776,
-0.0033813677728176117,
-0.016465388238430023,
-0.054027922451496124,
0.002336679957807064,
0.006748868152499199,
0.006721132900565863,
-0.03254248574376106,
0.014070927165448666,
0.03115573339164257,
-0.017473096027970314,
-0.008990786038339138,
-0.002176047768443823,
-0.024351393803954124,
0.016040118411183357,
-0.05872439593076706,
0.02468421496450901,
0.013747351244091988,
0.01490298006683588,
0.04955333098769188,
0.04589230194687843,
-0.03021273948252201,
-0.04104790836572647,
-0.0014653364196419716,
0.03853326290845871,
-0.030323680490255356,
-0.004377519246190786,
-0.07399717718362808,
0.0043405392207205296,
0.022021649405360222,
-0.012434558011591434,
0.05975984036922455,
0.04940541088581085,
0.012009287253022194,
0.05325134098529816,
0.043007854372262955,
0.05106951668858528,
-0.003120195819064975,
0.031802885234355927,
-0.06774754077196121,
-0.006707265507429838,
0.005570127163082361,
-0.028493165969848633,
-0.02477666549384594,
0.018952300772070885,
-0.007881383411586285,
0.038015540689229965,
0.05210495740175247,
-0.017473096027970314,
0.008431462571024895,
-0.03596314415335655,
0.021596377715468407,
-0.017389891669154167,
0.01042838767170906,
-0.0034668841399252415,
-0.0339847095310688,
-0.017186500132083893,
0.014107907190918922,
0.054656583815813065,
0.012693419121205807,
-0.0025238916277885437,
-0.04396933689713478,
0.020523954182863235
] |
730,000 | mmengine.config.config | __init__ | null | def __init__(
self,
cfg_dict: dict = None,
cfg_text: Optional[str] = None,
filename: Optional[Union[str, Path]] = None,
env_variables: Optional[dict] = None,
format_python_code: bool = True,
):
filename = str(filename) if isinstance(filename, Path) else filename
if cfg_dict is None:
cfg_dict = dict()
elif not isinstance(cfg_dict, dict):
raise TypeError('cfg_dict must be a dict, but '
f'got {type(cfg_dict)}')
for key in cfg_dict:
if key in RESERVED_KEYS:
raise KeyError(f'{key} is reserved for config file')
if not isinstance(cfg_dict, ConfigDict):
cfg_dict = ConfigDict(cfg_dict)
super().__setattr__('_cfg_dict', cfg_dict)
super().__setattr__('_filename', filename)
super().__setattr__('_format_python_code', format_python_code)
if not hasattr(self, '_imported_names'):
super().__setattr__('_imported_names', set())
if cfg_text:
text = cfg_text
elif filename:
with open(filename, encoding='utf-8') as f:
text = f.read()
else:
text = ''
super().__setattr__('_text', text)
if env_variables is None:
env_variables = dict()
super().__setattr__('_env_variables', env_variables)
| (self, cfg_dict: Optional[dict] = None, cfg_text: Optional[str] = None, filename: Union[str, pathlib.Path, NoneType] = None, env_variables: Optional[dict] = None, format_python_code: bool = True) | [
0.04250693321228027,
-0.06427877396345139,
0.034251295030117035,
-0.021483857184648514,
-0.047844298183918,
-0.030795447528362274,
-0.018853571265935898,
0.08209559321403503,
-0.007482871413230896,
-0.03108343482017517,
0.010175553150475025,
0.00840443093329668,
-0.01186507847160101,
0.06366440653800964,
-0.030622655525803566,
0.01375619601458311,
0.005606153979897499,
0.041585374623537064,
-0.00938358809798956,
-0.0763358473777771,
0.00249109067954123,
-0.03574882820248604,
0.006470115855336189,
0.08462988585233688,
0.05475599318742752,
0.0006143730133771896,
-0.010463540442287922,
0.005730948410928249,
0.017797619104385376,
-0.059095002710819244,
-0.007727660704404116,
-0.030065879225730896,
0.011634688824415207,
0.06623709201812744,
0.0050781769677996635,
-0.0554855614900589,
-0.0047301920130848885,
0.020754288882017136,
-0.07487671077251434,
-0.02021671272814274,
0.058480631560087204,
0.01673206500709057,
0.028376353904604912,
-0.007305278908461332,
-0.029893087223172188,
0.07602865993976593,
-0.056138332933187485,
0.011701885610818863,
-0.030757049098610878,
-0.004118219017982483,
-0.0008951606578193605,
-0.011884277686476707,
-0.027896374464035034,
0.0661986917257309,
-0.06623709201812744,
0.055331967771053314,
0.032830558717250824,
0.020792687311768532,
-0.011644288897514343,
-0.0004502802330534905,
-0.05567755550146103,
0.006436517462134361,
0.02639884129166603,
-0.043198101222515106,
0.0014531362103298306,
-0.030737848952412605,
-0.08416910469532013,
-0.020754288882017136,
0.02958589978516102,
-0.030353866517543793,
0.053066469728946686,
0.00938358809798956,
0.015541717410087585,
-0.01405378244817257,
0.043313298374414444,
-0.01992872543632984,
-0.09745492041110992,
0.05729028210043907,
0.01331461500376463,
-0.0030238672625273466,
0.014360968954861164,
-0.01597369834780693,
-0.0549863837659359,
-0.04730672389268875,
0.04250693321228027,
-0.020735088735818863,
-0.008519626222550869,
-0.009229994378983974,
0.04262212663888931,
0.027282001450657845,
-0.018805574625730515,
0.033694520592689514,
-0.019890327006578445,
-0.004065421409904957,
0.016040895134210587,
-0.02576526813209057,
0.06723544746637344,
-0.0384175106883049,
0.019554341211915016,
0.03755354881286621,
-0.00832283403724432,
-0.04362048581242561,
-0.03173620626330376,
-0.05106975510716438,
-0.01745203323662281,
-0.030008282512426376,
-0.008999604731798172,
0.0028102765791118145,
0.003362252376973629,
-0.04262212663888931,
-0.030622655525803566,
-0.022712603211402893,
-0.00013581903476733714,
-0.013199420645833015,
0.045540399849414825,
-0.003765434492379427,
-0.03236977756023407,
-0.013065026141703129,
0.051645729690790176,
0.022539809346199036,
-0.003787033725529909,
0.03352172672748566,
-0.04231494292616844,
0.07264960557222366,
0.05901820585131645,
0.0025558876805007458,
0.0013067425461485982,
-0.04872746020555496,
0.08985204994678497,
-0.04842027276754379,
0.08478347957134247,
0.027531590312719345,
-0.004223814699798822,
-0.03605601564049721,
0.05076257139444351,
-0.008135642856359482,
-0.012978630140423775,
0.06289643794298172,
-0.039742253720760345,
0.05314326658844948,
0.10521137714385986,
-0.030737848952412605,
0.006786901969462633,
0.00917239673435688,
-0.026802022010087967,
-0.010933919809758663,
-0.03444328531622887,
-0.03557603806257248,
-0.029989082366228104,
0.04557879641652107,
0.012786637991666794,
-0.002690281718969345,
-0.06573791056871414,
0.059786174446344376,
0.008750015869736671,
-0.023442169651389122,
-0.011365900747478008,
0.017221642658114433,
0.03212019056081772,
0.01586810313165188,
0.0026422839146107435,
-0.0287411380559206,
0.058557428419589996,
-0.0023926948197185993,
0.0033838513772934675,
0.007545268628746271,
-0.025323687121272087,
-0.12118507921695709,
-0.006374120246618986,
-0.04185416176915169,
0.00839003175497055,
-0.09031283110380173,
-0.04699953645467758,
0.05475599318742752,
0.023653361946344376,
0.026744425296783447,
0.02459411881864071,
0.0017567228060215712,
-0.025938060134649277,
-0.007338877767324448,
0.017999209463596344,
0.0165304746478796,
-0.049725815653800964,
0.037649545818567276,
0.05506318062543869,
0.020792687311768532,
-0.03167860954999924,
0.06393319368362427,
0.08132762461900711,
0.01926635392010212,
0.020389504730701447,
-0.029201917350292206,
-0.023326976224780083,
0.009095600806176662,
0.01736563630402088,
-0.01600249670445919,
-0.025112496688961983,
-0.031909000128507614,
-0.019640738144516945,
0.019055163487792015,
-0.013612202368676662,
0.006330921780318022,
0.03133302554488182,
-0.01923755556344986,
-0.02657163329422474,
0.012748240493237972,
0.01937194913625717,
0.0003359852416906506,
-0.02614925056695938,
0.023845352232456207,
-0.00978676974773407,
-0.09353829175233841,
0.003045466262847185,
0.036727987229824066,
0.025976458564400673,
-0.03131382539868355,
0.05394963175058365,
0.05057057738304138,
-0.062435656785964966,
0.023595763370394707,
0.13247418403625488,
0.0554855614900589,
0.006220526993274689,
-0.02071589045226574,
0.03473127260804176,
-0.02490130625665188,
0.008102044463157654,
0.0011045514838770032,
-0.0073772757314145565,
0.024248534813523293,
-0.01569531112909317,
-0.01575290784239769,
-0.01569531112909317,
-0.011202707886695862,
0.05659911409020424,
-0.035364847630262375,
0.01680886186659336,
-0.030814645811915398,
-0.03766874596476555,
-0.01572410948574543,
0.04561719670891762,
0.021656649187207222,
-0.03459687903523445,
-0.025112496688961983,
-0.005159773398190737,
-0.04895785078406334,
-0.028472349047660828,
0.05014819651842117,
-0.020485499873757362,
0.007540468592196703,
0.05894141271710396,
0.029547501355409622,
-0.047690704464912415,
0.050647374242544174,
-0.059786174446344376,
0.07453112304210663,
0.03874389827251434,
-0.0503401905298233,
0.042084552347660065,
0.006623709108680487,
0.03125622868537903,
-0.03167860954999924,
-0.0034438488073647022,
0.04388927295804024,
0.06427877396345139,
-0.021867839619517326,
0.014610557816922665,
-0.03265776485204697,
-0.03265776485204697,
-0.01614649035036564,
0.06704345345497131,
0.06159089505672455,
0.053604044020175934,
0.01742323487997055,
-0.05759746953845024,
-0.021656649187207222,
0.0246709156781435,
-0.07510709762573242,
0.04365888237953186,
0.05260568857192993,
0.05575435236096382,
-0.04458044096827507,
0.027090009301900864,
0.031774602830410004,
0.08593542873859406,
-0.006033334881067276,
-0.06136050447821617,
0.00989716500043869,
0.00646051624789834,
-0.007626865059137344,
0.02330777607858181,
0.05122334882616997,
0.044618841260671616,
0.04481083154678345,
0.04815148562192917,
-0.04435005038976669,
-0.033694520592689514,
-0.010396343655884266,
0.018939968198537827,
-0.09899085015058517,
0.025246890261769295,
-0.02793477289378643,
0.03404010459780693,
0.020581496879458427,
-0.027454793453216553,
-0.02972029522061348,
-0.021560652181506157,
-0.003945426549762487,
0.0008963606087490916,
0.02397974580526352,
0.05717508867383003,
0.013890589587390423,
0.0437740758061409,
0.031160231679677963,
0.005879741627722979,
0.02127266488969326,
0.031601812690496445,
-0.037131167948246,
0.015407322905957699,
-0.00262788450345397,
-0.0007925651734694839,
-0.012652244418859482,
-0.002894272794947028,
-0.021311063319444656,
0.0519145205616951,
-0.06128370761871338,
0.057635869830846786,
0.00029233715031296015,
0.019055163487792015,
0.029816290363669395,
-0.05233690142631531,
0.054103221744298935,
0.03058425709605217,
-0.0226358063519001,
0.017221642658114433,
-0.04250693321228027,
-0.032580967992544174,
-0.009441185742616653,
-0.03649759665131569,
-0.08109723776578903,
0.03551844134926796,
-0.014639357104897499,
-0.04235333949327469,
-0.013775395229458809,
-0.038820695132017136,
-0.02461331896483898,
-0.0025630875024944544,
-0.0747615173459053,
0.062320463359355927,
-0.012469852343201637,
-0.022347819060087204,
-0.02250141091644764,
0.017855215817689896,
-0.00488618528470397,
-0.013765795156359673,
-0.08570503443479538,
-0.04496442526578903,
-0.03853270784020424,
-0.02497810311615467,
-0.04484923183917999,
0.004792589694261551,
-0.005682950373739004,
-0.04922663792967796,
0.03236977756023407,
-0.04642356187105179,
0.011394699104130268,
-0.00644611706957221,
0.006642908323556185,
0.007482871413230896,
0.016578471288084984,
0.012210663408041,
-0.03805273026227951,
-0.008164441213011742,
-0.0647011548280716,
0.03707357123494148,
-0.018834372982382774,
-0.022059831768274307,
0.0194583460688591,
-0.06278124451637268,
0.010693930089473724,
0.021253466606140137,
0.023941349238157272,
-0.0028102765791118145,
0.0061965277418494225,
-0.01257544755935669,
-0.013084225356578827,
-0.014456965029239655,
-0.021311063319444656,
0.033579323440790176,
0.007684462238103151,
0.004895784892141819,
0.03651679679751396,
0.01242185477167368,
0.062550850212574,
0.011951475404202938,
-0.0034726473968476057,
-0.028587544336915016,
0.04254532977938652,
0.008250837214291096,
0.06642907857894897,
-0.0035518440417945385,
-0.057559072971343994,
0.003887829137966037,
0.016357680782675743,
0.029317112639546394,
0.050954561680555344,
0.04458044096827507,
0.02812676504254341,
0.014773750677704811,
0.061936479061841965,
0.08086685091257095,
0.0031822603195905685,
-0.05314326658844948,
-0.01658807136118412,
-0.05890301242470741,
0.010415542870759964,
-0.025016501545906067,
-0.01661686971783638,
-0.003055065870285034,
-0.05229850113391876,
-0.015176933258771896,
0.004874186124652624,
0.023960547521710396,
-0.011980273760855198,
0.025861263275146484,
0.041777364909648895,
-0.01464895624667406,
-0.02626444585621357,
0.020619893446564674,
-0.02751239202916622,
-0.06838739663362503,
0.041662171483039856,
-0.016213687136769295,
0.02472851425409317,
0.05076257139444351,
-0.02626444585621357,
0.002134706126525998,
-0.06727384775876999,
0.006383719388395548,
-0.02718600630760193,
-0.01566651277244091,
-0.024094941094517708,
0.05537036806344986,
0.03340653330087662,
-0.08063645660877228,
0.043927669525146484,
-0.0452716127038002,
0.032715361565351486,
0.02077348716557026,
0.025074098259210587,
0.02004391886293888,
0.03811032697558403,
-0.03695837780833244,
-0.004763790871948004,
-0.041278187185525894,
-0.059056606143713,
-0.00440620630979538,
0.0008021647809073329,
0.043313298374414444,
0.07172805070877075,
-0.029086722061038017,
-0.004742191638797522,
0.018863171339035034,
-0.028261158615350723,
-0.002205503173172474,
0.00462699681520462,
0.03908948227763176,
0.02922111563384533,
-0.011663488112390041,
-0.02576526813209057,
-0.009777170605957508,
0.035806428641080856,
-0.03910868242383003,
0.04845867305994034,
-0.03427049517631531,
0.03236977756023407,
0.03058425709605217,
-0.0038782297633588314,
-0.06508514285087585,
-0.04273732379078865,
0.034942466765642166,
0.04131658375263214,
-0.05809664726257324,
-0.0003998824395239353,
0.009733972139656544,
-0.053373657166957855,
0.07257281243801117,
-0.041470177471637726,
0.023384572938084602,
0.031659409403800964,
-0.02202143333852291,
0.006009336095303297,
-0.00499658053740859,
-0.007943650707602501,
-0.013487407937645912,
-0.004727792460471392,
0.011893877759575844,
0.044119663536548615,
-0.002248701173812151,
-0.05245209485292435,
-0.016847260296344757,
0.009359588846564293,
-0.036727987229824066,
0.0061965277418494225,
0.00986836664378643,
0.0034294493962079287,
-0.034193698316812515,
0.06216686964035034,
0.0037438354920595884,
-0.027781179174780846,
-0.011202707886695862,
-0.019775131717324257,
-0.025688471272587776,
-0.033272139728069305,
0.02553487755358219,
-0.037764742970466614,
-0.049111444503068924,
0.015800906345248222,
-0.04446524754166603,
0.019314352422952652,
-0.02958589978516102,
0.010597934946417809,
0.011365900747478008,
-0.021368661895394325,
-0.00681570079177618,
0.016328882426023483,
0.0757598727941513,
0.002239101566374302,
0.03309934586286545,
0.024882107973098755,
-0.02305818721652031,
-0.0509161651134491,
-0.004845387302339077,
-0.0019331150688230991,
0.001569531043060124,
0.070268914103508,
0.014197776094079018,
0.031601812690496445,
-0.04446524754166603,
-0.004439805168658495,
0.013449009507894516,
0.023288577795028687,
0.02269340306520462,
-0.00548615911975503,
0.019314352422952652,
-0.04031822830438614,
-0.022770199924707413,
0.015004141256213188,
-0.007828456349670887,
-0.008394830860197544,
0.014754551462829113,
-0.03978065401315689,
-0.0027238803450018167,
0.04204615205526352,
-0.007094088476151228,
-0.03125622868537903,
0.07460792362689972,
-0.03611361235380173,
0.014879346825182438,
0.01534972619265318,
-0.0151385348290205,
0.04792109504342079,
-0.06335721909999847,
0.0062301261350512505,
0.032523371279239655,
-0.010991517454385757,
-0.008303634822368622,
-0.005198171827942133,
-0.035921622067689896,
-0.005188572220504284,
-0.008649219758808613,
0.0194583460688591,
0.020619893446564674,
0.01773042045533657,
-0.03108343482017517,
0.024555722251534462,
0.02102307602763176,
0.052260104566812515,
0.026590831577777863,
-0.03427049517631531,
-0.01745203323662281,
0.004483003169298172,
-0.040970999747514725,
0.011701885610818863,
-0.050954561680555344,
-0.023538166657090187,
-0.014408967457711697,
0.025438882410526276,
0.014696954749524593,
-0.0076988618820905685,
-0.03574882820248604,
-0.0029590700287371874,
0.045847587287425995,
0.003043066244572401,
-0.03465447947382927,
0.02311578392982483,
0.021311063319444656,
-0.025803666561841965,
0.05859582498669624,
-0.033272139728069305,
-0.09922124445438385,
-0.03281135857105255,
-0.02972029522061348,
0.004003024194389582,
-0.00024193937133532017,
0.020504700019955635,
0.018565583974123,
0.0282419603317976,
-0.02054309844970703,
0.01048273965716362,
0.01926635392010212,
-0.015023340471088886,
0.008361232466995716,
-0.03213938698172569,
0.02355736494064331,
-0.03329133614897728,
-0.004435005132108927,
0.022213423624634743,
0.0549863837659359,
-0.025726869702339172,
-0.0001446686510462314,
0.011385099962353706,
-0.04196935519576073,
0.04703793302178383,
-0.05130014568567276,
0.06335721909999847,
-0.01218186505138874,
-0.04346689209342003,
-0.04957222193479538,
-0.005212571006268263,
0.02774278074502945,
-0.014428166672587395,
0.00439180713146925,
-0.006268524564802647,
-0.037265561521053314,
0.013141823001205921,
0.054103221744298935,
0.012729041278362274,
0.049917805939912796,
-0.007502070628106594,
0.05322006344795227,
-0.05705989524722099,
-0.003583042649552226,
-0.0034726473968476057,
-0.011951475404202938,
-0.003184660105034709,
-0.017826417461037636,
-0.040663812309503555,
0.08017567545175552,
-0.024632517248392105,
0.01870957762002945,
-0.011087512597441673,
-0.028875531628727913,
0.014130579307675362,
-0.013026627711951733,
0.022155826911330223,
-0.05137694254517555,
-0.006729304324835539,
0.04918823763728142,
0.0024646916426718235,
-0.038071926683187485,
0.007161285262554884,
-0.0058605424128472805,
-0.02405654266476631,
-0.010847523808479309,
-0.055101580917835236,
0.024210136383771896,
-0.03294575214385986,
0.06024695187807083,
0.022520611062645912,
0.03432809188961983,
-0.015032939612865448,
0.008145241998136044,
-0.003537444630637765,
0.00457179918885231,
-0.00977237056940794,
0.010089157149195671,
-0.009181996807456017,
0.056330326944589615,
-0.013343414291739464,
-0.019256753847002983,
0.044311653822660446,
-0.03373291715979576,
-0.021541453897953033,
-0.021656649187207222,
0.013170621357858181,
-0.007396474946290255,
0.0028366753831505775,
0.036036815494298935,
-0.020619893446564674,
-0.05759746953845024,
0.027819577604532242,
-0.02269340306520462,
-0.017039252445101738,
0.015512919053435326,
-0.08102044463157654,
0.037764742970466614,
-0.11043354868888855,
-0.024690115824341774,
0.014351369813084602,
-0.001666726777330041,
-0.01581050641834736,
-0.022347819060087204,
-0.013026627711951733,
-0.04181576147675514,
-0.05302806943655014,
-0.029777891933918,
0.03254257142543793,
-0.005193371791392565,
-0.0353456474840641,
0.022059831768274307,
0.07257281243801117,
0.02756998874247074,
-0.013832991942763329,
0.007113287691026926,
0.06527712941169739,
0.004864586517214775,
-0.008562823757529259,
-0.030008282512426376,
-0.0778333842754364,
-0.0030238672625273466,
0.03058425709605217,
0.015983298420906067,
-0.0025726871099323034,
0.05007139965891838,
-0.0524136982858181,
-0.06001656502485275,
-0.02639884129166603,
0.055101580917835236,
0.008409230969846249,
0.0025510878767818213,
0.0007337677525356412,
-0.0721888318657875,
-0.03845591098070145,
-0.013036227785050869,
-0.033694520592689514,
-0.013026627711951733,
-0.010626733303070068,
0.010050758719444275,
0.06896337121725082,
-0.007079688832163811,
0.03212019056081772,
-0.02373015694320202,
0.048996247351169586,
0.0028654742054641247,
0.029182719066739082,
0.05671430751681328,
-0.010885922238230705,
0.00487178610637784,
0.07303359359502792,
-0.05106975510716438,
0.05014819651842117,
-0.03655519336462021,
0.05049378052353859,
0.018805574625730515,
-0.02866434119641781,
0.008063646033406258,
-0.005586954765021801,
-0.006489315070211887,
-0.025938060134649277,
-0.027781179174780846,
-0.025189293548464775,
0.03582562506198883,
-0.01868077926337719,
0.05099296197295189,
0.02559247612953186,
-0.00843322928994894,
0.024210136383771896
] |
730,001 | mmengine.config.config | __iter__ | null | def __iter__(self):
return iter(self._cfg_dict)
| (self) | [
0.0553165078163147,
-0.05999867990612984,
-0.061904992908239365,
-0.043176308274269104,
-0.03779181092977524,
0.007683777250349522,
-0.00744966883212328,
0.012825804762542248,
0.0799313485622406,
0.010735549964010715,
-0.023962683975696564,
-0.002011870499700308,
-0.015484608709812164,
0.0633765310049057,
-0.014355870895087719,
-0.022390810772776604,
-0.021939316764473915,
0.04438029229640961,
-0.04137032851576805,
-0.005392857827246189,
-0.03362802043557167,
-0.0033318663481622934,
0.04427996277809143,
0.013812405057251453,
-0.002068307250738144,
0.029096350073814392,
0.029096350073814392,
-0.026621486991643906,
0.05364430323243141,
-0.003864881582558155,
-0.08815859258174896,
-0.038092806935310364,
0.03521661460399628,
0.01889590546488762,
0.0220062043517828,
-0.0054555656388401985,
-0.04016634076833725,
0.03545072302222252,
-0.03434706851840019,
0.038126252591609955,
0.05073466897010803,
-0.02215670235455036,
0.004552575293928385,
0.003267068648710847,
-0.02386235073208809,
0.017089925706386566,
-0.01949789933860302,
0.03645404800772667,
0.02668837644159794,
-0.05033333972096443,
0.022875750437378883,
0.014966226182878017,
-0.006647010799497366,
0.036353714764118195,
-0.039497457444667816,
0.015325749292969704,
-0.006178793963044882,
0.016337433829903603,
0.03759114444255829,
0.0702325701713562,
-0.07511540502309799,
-0.06468085199594498,
0.0330929160118103,
-0.0407683327794075,
0.0335109680891037,
-0.07959690690040588,
-0.10514818876981735,
0.015802327543497086,
0.02902946062386036,
0.011655261740088463,
-0.007976412773132324,
-0.012182005681097507,
-0.010643578134477139,
-0.007742304354906082,
-0.05518273264169693,
-0.05454729497432709,
-0.07491473853588104,
0.05223965272307396,
0.05357741564512253,
-0.07324253767728806,
-0.05394529923796654,
0.056052278727293015,
-0.04367796704173088,
0.0014265989884734154,
0.015183612704277039,
0.0052339984104037285,
0.014163567684590816,
-0.026353934779763222,
-0.015166889876127243,
0.06922924518585205,
0.002940988866612315,
0.04936346039175987,
0.020802218466997147,
0.026387378573417664,
-0.01081915944814682,
0.018912626430392265,
-0.034246739000082016,
0.014263899996876717,
0.0033674007281661034,
-0.024414177983999252,
-0.0262368805706501,
-0.005463926587253809,
0.01346124242991209,
-0.00775902671739459,
0.002890822710469365,
-0.04153754562139511,
-0.03859446942806244,
-0.047089263796806335,
-0.0032691587693989277,
-0.0049831680953502655,
-0.04367796704173088,
0.026337211951613426,
-0.0016784747131168842,
0.008524060249328613,
0.04030011594295502,
-0.022574754431843758,
-0.04421307519078255,
-0.022424256429076195,
0.033243414014577866,
0.013268938288092613,
-0.047122709453105927,
0.07491473853588104,
-0.001194580690935254,
0.06474773585796356,
0.03142071142792702,
0.06755704432725906,
-0.014197011478245258,
0.01491605956107378,
0.03999911993741989,
-0.04367796704173088,
0.05438007414340973,
0.01164690125733614,
0.009832559153437614,
-0.02535061165690422,
0.04869458079338074,
-0.04852735996246338,
0.03882857784628868,
-0.03775836527347565,
-0.03571827709674835,
0.05999867990612984,
0.044179629534482956,
0.028477633371949196,
-0.002506215823814273,
0.040066007524728775,
-0.0220062043517828,
-0.028276968747377396,
-0.03581861034035683,
0.03642060235142708,
0.013210411183536053,
-0.03708948567509651,
0.007424585521221161,
0.02098616026341915,
-0.002537569496780634,
0.07003190368413925,
-0.08876058459281921,
0.030501000583171844,
-0.04324319586157799,
0.045517392456531525,
0.008340117521584034,
-0.06802526116371155,
-0.040868666023015976,
-0.004136614501476288,
-0.007545820437371731,
-0.015593302436172962,
-0.03444740176200867,
0.014799005351960659,
-0.03409624099731445,
-0.06534973531961441,
0.028561243787407875,
-0.004142885562032461,
-0.013009747490286827,
-0.08461352437734604,
-0.029581287875771523,
0.01772536151111126,
-0.04652071371674538,
0.09063345938920975,
-0.005434663034975529,
0.05889502540230751,
0.006713898852467537,
0.035952385514974594,
-0.024012848734855652,
-0.00940614752471447,
-0.10086734592914581,
-0.016855815425515175,
0.03762459009885788,
0.05618605390191078,
0.034012630581855774,
0.009891086257994175,
0.018026359379291534,
-0.015885937958955765,
0.020634997636079788,
-0.02829369157552719,
-0.00030413208878599107,
0.008055842481553555,
-0.025099782273173332,
-0.007345155812799931,
-0.023594798520207405,
0.04133688285946846,
-0.013411075808107853,
0.07197166234254837,
-0.04775814712047577,
-0.050801556557416916,
-0.03652093559503555,
0.0003360084956511855,
-0.022139981389045715,
0.018795572221279144,
0.01566855050623417,
-0.06652027368545532,
0.03434706851840019,
0.03648748993873596,
-0.033527690917253494,
-0.0629752054810524,
0.0052339984104037285,
-0.004648726899176836,
0.040667999535799026,
-0.027190037071704865,
0.02789236232638359,
-0.03802591934800148,
-0.04856080561876297,
0.019648397341370583,
0.06812559068202972,
-0.0049455431289970875,
0.06605205684900284,
-0.05401219055056572,
-0.005091861356049776,
-0.020651718601584435,
-0.022741973400115967,
-0.02789236232638359,
-0.06354375183582306,
-0.006973090581595898,
0.026387378573417664,
0.021220268681645393,
0.036153052002191544,
0.006203876808285713,
0.09464674443006516,
0.020484499633312225,
-0.01849457621574402,
-0.005886157974600792,
-0.023628242313861847,
0.06344342231750488,
0.01852802000939846,
0.0343136265873909,
-0.008912847377359867,
-0.013812405057251453,
-0.060333121567964554,
0.004531672690063715,
0.016437765210866928,
0.06511562317609787,
0.023477744311094284,
0.044948842376470566,
0.06006556749343872,
-0.03225681558251381,
-0.02389579452574253,
0.020451053977012634,
0.011897731572389603,
-0.0452163964509964,
-0.022942638024687767,
-0.008411185815930367,
0.08280754089355469,
-0.023879073560237885,
0.05521617457270622,
0.02906290628015995,
0.0007237507961690426,
0.08702149242162704,
-0.0007969097350724041,
0.051202885806560516,
0.04053422436118126,
0.006053378339856863,
-0.009957974776625633,
0.045517392456531525,
0.05906224623322487,
0.03769147768616676,
-0.015342471189796925,
0.028895685449242592,
-0.015651829540729523,
0.009723866358399391,
0.04040044918656349,
-0.03605271875858307,
-0.05143699422478676,
0.00946467462927103,
0.043611079454422,
0.00969042256474495,
-0.031186604872345924,
0.018795572221279144,
-0.017407642677426338,
-0.03371163085103035,
-0.03142071142792702,
0.053142644464969635,
0.022825583815574646,
0.0005695945001207292,
0.050199564546346664,
0.0069271051324903965,
0.022273756563663483,
-0.017290588468313217,
0.08227243274450302,
-0.028159914538264275,
-0.04327663779258728,
-0.012708750553429127,
0.03491561859846115,
-0.0007070287247188389,
0.04705582186579704,
-0.049597568809986115,
-0.060333121567964554,
0.04933001846075058,
-0.009799115359783173,
0.0331096388399601,
0.05160421505570412,
0.047657813876867294,
0.012583334930241108,
0.02249114401638508,
0.0258355513215065,
-0.014364232309162617,
0.028193360194563866,
0.015752160921692848,
-0.01611168496310711,
-0.09758982807397842,
-0.01787586137652397,
0.01929723471403122,
-0.008636933751404285,
0.07732271403074265,
-0.09952957928180695,
0.06116922199726105,
0.008436269126832485,
-0.03160465508699417,
-0.0067055379040539265,
0.010225526988506317,
0.052574094384908676,
0.021688485518097878,
-0.00561024434864521,
0.00005793925447505899,
-0.046721380203962326,
-0.058594029396772385,
0.013427797704935074,
0.050032343715429306,
0.014941142871975899,
0.027825474739074707,
0.029882285743951797,
0.02697264961898327,
-0.0020453145261853933,
-0.10347598046064377,
0.009757310152053833,
-0.019280511885881424,
-0.010417831130325794,
-0.009799115359783173,
-0.05076811462640762,
0.00966533925384283,
-0.03362802043557167,
0.00010418614692753181,
0.04561772570014,
-0.013762238435447216,
0.02038416638970375,
0.0013482144568115473,
0.06451363116502762,
0.0327083095908165,
0.03249092400074005,
-0.025484388694167137,
-0.021688485518097878,
-0.003231534268707037,
-0.020651718601584435,
0.022374089807271957,
0.08441285789012909,
-0.0017840326763689518,
-0.037357036024332047,
0.014347510412335396,
-0.01281744334846735,
-0.005087680649012327,
-0.04424651712179184,
-0.004046733491122723,
0.05230654031038284,
-0.03561794385313988,
-0.030283614993095398,
0.026220157742500305,
-0.012641862034797668,
-0.0613698847591877,
0.012039869092404842,
-0.019447732716798782,
-0.028628133237361908,
0.06989812850952148,
-0.052540648728609085,
0.047256484627723694,
0.04120310768485069,
0.03611960634589195,
0.04618627578020096,
0.03685537725687027,
-0.011939536780118942,
-0.059563905000686646,
0.01812669076025486,
-0.03245747834444046,
0.029932452365756035,
0.020451053977012634,
-0.029363902285695076,
-0.013377632014453411,
-0.0904327929019928,
0.045885276049375534,
-0.030567888170480728,
-0.05591849982738495,
0.04484851285815239,
-0.0049330019392073154,
-0.013812405057251453,
-0.02272525243461132,
0.025584721937775612,
-0.02648771181702614,
0.009197122417390347,
0.04193887487053871,
0.027959249913692474,
-0.07110211253166199,
0.026571322232484818,
0.040433891117572784,
0.015350832603871822,
-0.01606987975537777,
0.03491561859846115,
-0.00731589226052165,
-0.0220062043517828,
-0.04996545612812042,
-0.020049726590514183,
-0.025935884565114975,
-0.02406301535665989,
0.0006955323624424636,
0.04033356159925461,
0.04735681787133217,
0.044547513127326965,
-0.05655393749475479,
0.022139981389045715,
0.006120266392827034,
-0.000994961359538138,
-0.002399612683802843,
-0.006304209120571613,
-0.0006124447099864483,
-0.014146845787763596,
-0.03765803202986717,
-0.06070100516080856,
-0.012441197410225868,
0.016571542248129845,
-0.010467996820807457,
0.04287530854344368,
-0.04856080561876297,
-0.04367796704173088,
-0.03729014843702316,
0.012708750553429127,
0.015008030459284782,
0.03605271875858307,
0.024012848734855652,
0.005790006369352341,
-0.032072871923446655,
0.028159914538264275,
-0.0045233117416501045,
-0.05444696173071861,
0.039263349026441574,
0.06672094017267227,
-0.0005748201510868967,
-0.053911857306957245,
-0.015936104580760002,
0.02749103307723999,
-0.03406279534101486,
0.02381218411028385,
0.015936104580760002,
-0.017591586336493492,
-0.03386213257908821,
-0.02366168610751629,
0.03011639416217804,
0.017658473923802376,
-0.02648771181702614,
-0.007541640195995569,
-0.014364232309162617,
0.012006424367427826,
-0.013277299702167511,
0.008436269126832485,
0.0690285786986351,
-0.011471319012343884,
0.014155207201838493,
0.02075205184519291,
0.025618165731430054,
-0.03561794385313988,
-0.050400227308273315,
-0.032842084765434265,
-0.0001499757927376777,
0.014982948079705238,
0.07123588770627975,
-0.027357257902622223,
-0.06147021800279617,
-0.037925586104393005,
-0.012073312886059284,
-0.004920460283756256,
-0.019966116175055504,
-0.015083280391991138,
-0.07973068952560425,
0.042206428945064545,
-0.04916279762983322,
-0.022106537595391273,
0.012282337993383408,
-0.016245462000370026,
-0.02897929586470127,
-0.014163567684590816,
-0.007073422893881798,
0.06876102834939957,
-0.003095667576417327,
0.026671653613448143,
0.02292591705918312,
0.03922990709543228,
-0.023343967273831367,
-0.00020706588111352175,
0.03759114444255829,
0.015041475184261799,
0.007445488125085831,
-0.018109969794750214,
0.0022658363450318575,
-0.03879513218998909,
-0.016680235043168068,
-0.025083059445023537,
-0.016763845458626747,
0.02575194090604782,
-0.03020000457763672,
-0.04331008344888687,
-0.03759114444255829,
0.0540790781378746,
-0.08929569274187088,
-0.031186604872345924,
-0.019832339137792587,
-0.04698893055319786,
0.0444137379527092,
0.046487271785736084,
0.008189618587493896,
0.006249862257391214,
0.010844242759048939,
-0.006672094110399485,
0.042239874601364136,
0.02369512990117073,
-0.06080133840441704,
-0.018678518012166023,
-0.012942858971655369,
0.03705604001879692,
-0.03866135701537132,
0.002217760542407632,
0.048025697469711304,
-0.04989856854081154,
-0.04541705921292305,
0.024648286402225494,
-0.011797399260103703,
-0.07377763837575912,
0.08748970925807953,
0.043176308274269104,
-0.03856102377176285,
0.0508684441447258,
-0.019196901470422745,
0.017625030130147934,
0.011396070010960102,
-0.023828906938433647,
-0.034614622592926025,
0.009531563147902489,
-0.02729036845266819,
-0.0034823648165911436,
-0.01821030117571354,
-0.015108362771570683,
-0.00811018981039524,
-0.007144491653889418,
-0.01780897192656994,
0.016663512215018272,
-0.031504321843385696,
-0.01545952633023262,
0.023109858855605125,
0.013653545640408993,
0.02329380251467228,
-0.09631895273923874,
-0.007340975571423769,
0.022825583815574646,
0.0016262184362858534,
-0.005108583252876997,
0.07090144604444504,
-0.01687253825366497,
0.040066007524728775,
0.017407642677426338,
-0.00954828504472971,
-0.0021446016617119312,
-0.005978129338473082,
0.04033356159925461,
0.044346850365400314,
-0.005259081721305847,
0.0010681203566491604,
0.012165283784270287,
-0.08501484990119934,
-0.031236771494150162,
0.015551497228443623,
0.07357697933912277,
-0.015091640874743462,
-0.026337211951613426,
-0.01941428892314434,
-0.04427996277809143,
0.04267464578151703,
0.0015196154126897454,
-0.0019104930106550455,
-0.020802218466997147,
0.012006424367427826,
-0.018561463803052902,
-0.03698915243148804,
-0.0022658363450318575,
-0.05183832347393036,
0.00016748167399782687,
-0.040868666023015976,
-0.02352791093289852,
0.023929238319396973,
-0.030133115127682686,
0.009397786110639572,
0.024029571563005447,
0.04561772570014,
0.014807366766035557,
-0.029848841950297356,
0.02615327015519142,
0.01849457621574402,
-0.00145063700620085,
0.01772536151111126,
-0.02526700310409069,
-0.011529846116900444,
0.0387616902589798,
-0.03685537725687027,
0.0224075336009264,
-0.04662104696035385,
0.022558031603693962,
0.061302997171878815,
0.006580122746527195,
0.009180399589240551,
0.018962793052196503,
0.02026711218059063,
-0.04852735996246338,
0.03525006026029587,
-0.08902814239263535,
-0.052574094384908676,
-0.0033778520300984383,
-0.04327663779258728,
0.023310523480176926,
0.004065545741468668,
0.005894518923014402,
-0.0019993288442492485,
0.046286605298519135,
-0.04498228803277016,
-0.03367818892002106,
0.006939646787941456,
0.036554377526044846,
-0.01541772112250328,
-0.045952167361974716,
-0.0014861712697893381,
0.02526700310409069,
-0.009656977839767933,
0.028511077165603638,
-0.0037708200979977846,
-0.012892692349851131,
0.015844132751226425,
-0.015150167979300022,
0.015342471189796925,
0.05979801341891289,
-0.06183810532093048,
0.00039584204205311835,
0.0220062043517828,
-0.03040066920220852,
0.03177187591791153,
-0.04173821210861206,
-0.03642060235142708,
-0.0036997513379901648,
0.04498228803277016,
0.009389425627887249,
-0.020250391215085983,
-0.014840810559689999,
0.018109969794750214,
-0.010300776921212673,
-0.08006512373685837,
0.01929723471403122,
-0.010401109233498573,
-0.03245747834444046,
0.038293469697237015,
-0.0025898260064423084,
-0.020618274807929993,
0.03668815642595291,
-0.004899557679891586,
-0.04732337221503258,
-0.03866135701537132,
-0.029397346079349518,
-0.007721401751041412,
-0.03488217666745186,
-0.003729014890268445,
0.04976478964090347,
-0.016621707007288933,
-0.06267420202493668,
0.032992586493492126,
-0.024046292528510094,
0.05822614207863808,
-0.022541310638189316,
0.03575172275304794,
0.00775902671739459,
-0.04575150087475777,
0.02672182023525238,
-0.02814319357275963,
-0.02103632688522339,
-0.03919646143913269,
0.03912957385182381,
0.01578560657799244,
0.03153776749968529,
-0.012809082865715027,
0.0003822553844656795,
-0.06207221373915672,
-0.0015760522801429033,
0.0019282602006569505,
0.03488217666745186,
-0.0051671103574335575,
0.020802218466997147,
0.0068602170795202255,
0.03668815642595291,
-0.0027528658974915743,
0.02474861964583397,
0.011312459595501423,
-0.002318092854693532,
0.01647120900452137,
0.013352548703551292,
0.11912781000137329,
-0.027557922527194023,
-0.05735659599304199,
0.014489647932350636,
0.011580012738704681,
0.004151246510446072,
-0.0068769389763474464,
0.020935993641614914,
-0.0028490175027400255,
0.016889261081814766,
-0.0011256022844463587,
-0.02175537310540676,
0.051403552293777466,
0.02994917333126068,
0.019063126295804977,
-0.037557702511548996,
0.03785869851708412,
-0.01582740992307663,
0.0549151785671711,
-0.01461506262421608,
-0.0710352286696434,
-0.07397830486297607,
0.039296794682741165,
-0.04484851285815239,
-0.0054681068286299706,
0.014748839661478996,
0.06300864368677139,
-0.011069990694522858,
0.012967942282557487,
0.015610024333000183,
0.015325749292969704,
-0.0027173315174877644,
0.05106911063194275,
-0.011805759742856026,
-0.03628682717680931,
0.03852757811546326,
0.019732007756829262,
0.01861163042485714,
0.013728794641792774,
0.01949789933860302,
0.03362802043557167,
0.019915949553251266,
0.03302602842450142,
-0.004581838846206665,
-0.027959249913692474,
0.006182974204421043,
-0.05033333972096443,
-0.02749103307723999,
0.028226803988218307,
-0.027842195704579353,
-0.02349446527659893,
0.03625338152050972,
0.03802591934800148,
0.012374309822916985,
0.015191973187029362,
0.030584610998630524,
-0.027056260034441948
] |
730,002 | mmengine.config.config | __len__ | null | def __len__(self):
return len(self._cfg_dict)
| (self) | [
0.012943499721586704,
-0.05050406977534294,
0.004273796919733286,
0.00328268320299685,
0.00910929311066866,
0.03666510805487633,
-0.01300862431526184,
-0.028231481090188026,
0.024617070332169533,
-0.030413152649998665,
-0.03059224598109722,
-0.015108889900147915,
0.0075544449500739574,
-0.012275973334908485,
0.020628193393349648,
-0.014384379610419273,
0.008547593839466572,
-0.007306157611310482,
0.029615378007292747,
-0.025463689118623734,
-0.02547997049987316,
0.0013391230022534728,
0.05747239291667938,
-0.002405537059530616,
0.006695615127682686,
0.00921512022614479,
0.05610477924346924,
-0.019553638994693756,
0.05997968837618828,
0.029094381257891655,
-0.13116079568862915,
-0.01572757214307785,
0.02077472396194935,
0.045749980956315994,
0.02005835436284542,
-0.00761142885312438,
0.017453372478485107,
-0.005975175183266401,
-0.0057920124381780624,
0.007937051355838776,
0.0004039755731355399,
-0.03972595930099487,
-0.004145583137869835,
-0.017160313203930855,
0.0003937998553737998,
0.0014368098927661777,
-0.02302151918411255,
0.05662577599287033,
-0.03712097927927971,
-0.0494295135140419,
-0.00801845733076334,
0.04298218712210655,
-0.015849681571125984,
0.0735907107591629,
-0.05092737823724747,
0.01203989703208208,
0.025691624730825424,
0.046433787792921066,
-0.013147013261914253,
0.032415732741355896,
-0.07118110358715057,
0.0008796898764558136,
0.034678809344768524,
-0.07632594555616379,
0.03819553554058075,
-0.04649890959262848,
-0.06766438484191895,
0.0477362759411335,
0.06027274951338768,
-0.001172241405583918,
0.02139340713620186,
0.012357378378510475,
-0.026245184242725372,
0.037381477653980255,
-0.03633948415517807,
-0.04640122503042221,
-0.032855324447155,
0.05382541939616203,
0.06102168187499046,
-0.03806528449058533,
-0.025463689118623734,
-0.0021084065083414316,
0.016525348648428917,
0.021784154698252678,
0.05307648703455925,
0.023428548127412796,
0.013326105661690235,
0.025593938305974007,
-0.013643587939441204,
0.02788957767188549,
0.014319255016744137,
0.09000209718942642,
0.033571694046258926,
-0.0019323667511343956,
-0.014425082132220268,
-0.025089222937822342,
-0.01943967118859291,
-0.015515917912125587,
0.03200870379805565,
-0.07261384278535843,
-0.03340888023376465,
-0.020497944205999374,
0.012976061552762985,
-0.016834689304232597,
-0.004452889319509268,
-0.03633948415517807,
-0.02658708766102791,
-0.03186217322945595,
-0.04568485543131828,
-0.003219593781977892,
0.031178366392850876,
-0.003931893035769463,
0.01529612299054861,
0.005226243287324905,
0.071311354637146,
0.003431248478591442,
-0.016207866370677948,
-0.03581848740577698,
0.009581445716321468,
-0.0009677097550593317,
0.005779801867902279,
0.08205690234899521,
-0.01821858622133732,
-0.03581848740577698,
0.08492238074541092,
0.0724835991859436,
-0.030820181593298912,
-0.0006166478269733489,
0.04005158320069313,
-0.02858966588973999,
0.09898927807807922,
0.01774643361568451,
0.006178689189255238,
-0.0055315145291388035,
0.05825388804078102,
-0.04926670342683792,
0.05616990476846695,
-0.02386813797056675,
-0.036209236830472946,
0.04526154696941376,
0.016370678320527077,
0.036078985780477524,
0.006658982951194048,
0.017095187678933144,
0.0023465179838240147,
0.0407353900372982,
-0.032969292253255844,
0.013293543830513954,
0.005910050589591265,
-0.019032642245292664,
0.025121785700321198,
-0.035916175693273544,
-0.039400339126586914,
-0.02403094992041588,
-0.07489320635795593,
0.015857821330428123,
-0.020660756155848503,
-0.02811751328408718,
0.012186426669359207,
-0.11820101737976074,
-0.041093576699495316,
-0.01313887257128954,
-0.01935826614499092,
-0.02556137554347515,
-0.07000886648893356,
0.0012821390992030501,
-0.0092639634385705,
-0.0466291606426239,
-0.020644474774599075,
0.061640363186597824,
0.0005968052428215742,
-0.04887595772743225,
-0.017876682803034782,
0.008156847208738327,
-0.015019344165921211,
0.06746900826692581,
-0.03643717244267464,
0.0033762995153665543,
0.0000362191567546688,
-0.018397677689790726,
-0.024503102526068687,
-0.029778189957141876,
-0.06466865539550781,
-0.020253727212548256,
0.05180656164884567,
0.03581848740577698,
0.009190699085593224,
0.014628596603870392,
0.022647053003311157,
0.0376419760286808,
-0.033343758434057236,
-0.05747239291667938,
-0.017144031822681427,
0.00286751426756382,
-0.006365922279655933,
-0.02912694402039051,
0.011233980767428875,
0.025040380656719208,
-0.003968525677919388,
0.0159473679959774,
-0.0483223982155323,
-0.06580833345651627,
-0.04180994629859924,
-0.04448005184531212,
0.0014052651822566986,
-0.011641008779406548,
-0.008840654045343399,
-0.030738776549696922,
0.020595630630850792,
0.00165660516358912,
-0.03959571197628975,
-0.07046473771333694,
0.016061335802078247,
0.04194019362330437,
0.044740550220012665,
-0.055355846881866455,
0.027677923440933228,
-0.005352422129362822,
-0.055616345256567,
0.00004703084778157063,
0.10765083879232407,
0.012031756341457367,
0.05021100863814354,
-0.03656741976737976,
-0.01883726939558983,
-0.020579349249601364,
-0.008177198469638824,
0.03617667406797409,
-0.0017441161908209324,
-0.026326589286327362,
0.01773015223443508,
0.055746592581272125,
0.025300879031419754,
0.07593519985675812,
0.07339534163475037,
-0.00048614441766403615,
-0.0017329229740425944,
-0.00829116627573967,
-0.004159829113632441,
0.006646771915256977,
-0.02046538144350052,
-0.0008883392438292503,
-0.0015670588472858071,
0.012275973334908485,
-0.03516724333167076,
-0.026684774085879326,
-0.008278955705463886,
0.068511001765728,
0.025300879031419754,
0.005726887844502926,
-0.0008160917204804718,
-0.048387523740530014,
-0.05346723645925522,
-0.009036027826368809,
0.006239743437618017,
-0.06587345898151398,
-0.029159506782889366,
0.0074689690954983234,
0.018153460696339607,
-0.04054001718759537,
0.05180656164884567,
0.00586934806779027,
-0.014490206725895405,
0.06499427556991577,
0.002786108525469899,
0.047150157392024994,
0.07391633838415146,
0.016541630029678345,
-0.05301136523485184,
0.02805238962173462,
0.02230514958500862,
0.021784154698252678,
-0.02619634009897709,
-0.034450873732566833,
-0.034906744956970215,
-0.024845005944371223,
0.06004481390118599,
-0.011160715483129025,
-0.014083178713917732,
0.026766179129481316,
0.042884498834609985,
-0.024665914475917816,
-0.020953815430402756,
0.014864672906696796,
-0.055746592581272125,
0.0376419760286808,
-0.034450873732566833,
0.008425485342741013,
-0.04708503186702728,
0.014905375428497791,
0.003832171205431223,
-0.0013177540386095643,
0.040474891662597656,
0.028882727026939392,
0.06476633995771408,
-0.024047231301665306,
-0.003227734239771962,
0.02386813797056675,
0.037837348878383636,
0.013936648145318031,
-0.03953058645129204,
-0.018299991264939308,
-0.10380849242210388,
-0.021132908761501312,
0.009443055838346481,
-0.0072410330176353455,
0.054053355008363724,
0.00013762644084636122,
0.07007399201393127,
0.021637624129652977,
-0.01409946009516716,
0.03322979062795639,
0.042493753135204315,
0.05415104329586029,
0.07196260243654251,
0.0028146004769951105,
-0.03363681584596634,
-0.004212742671370506,
-0.009972193278372288,
0.07306971400976181,
-0.043796245008707047,
0.05476972460746765,
-0.004277867265045643,
-0.04688965901732445,
-0.0017380107892677188,
-0.04197275638580322,
0.07964729517698288,
-0.008083581924438477,
0.005653623025864363,
-0.027694204822182655,
-0.06890174746513367,
-0.06942274421453476,
0.05255549028515816,
-0.009076730348169804,
-0.01131538674235344,
-0.01328540313988924,
0.01904892362654209,
0.009068590588867664,
-0.0415494479238987,
-0.029485128819942474,
0.019081486389040947,
-0.025626501068472862,
-0.03236689046025276,
0.012398081831634045,
0.032187797129154205,
-0.022728459909558296,
0.00394817441701889,
-0.010843233205378056,
0.030624808743596077,
-0.02788957767188549,
-0.0021287580020725727,
-0.00008375878678634763,
0.04711759462952614,
0.03353913128376007,
0.05623502656817436,
-0.03322979062795639,
0.015401950106024742,
0.02407979406416416,
0.011649149470031261,
0.054216168820858,
0.05323930084705353,
-0.007082292344421148,
-0.042558878660202026,
0.017144031822681427,
-0.0210677832365036,
0.019797855988144875,
-0.01836511678993702,
-0.03813041001558304,
0.011250262148678303,
-0.04705246910452843,
-0.017778996378183365,
-0.04578253999352455,
0.012951640412211418,
-0.048224709928035736,
0.03949802368879318,
0.0196676068007946,
-0.0393352136015892,
0.05509534850716591,
-0.06421278417110443,
-0.0269615538418293,
-0.021832996979355812,
0.02005835436284542,
-0.009394212625920773,
0.009158136323094368,
-0.02844313718378544,
0.0011478197993710637,
-0.046368662267923355,
-0.03842347115278244,
0.015906665474176407,
0.03633948415517807,
-0.011510759592056274,
0.04444748908281326,
-0.10973482578992844,
0.01689981482923031,
-0.04845264554023743,
0.030738776549696922,
0.018023213371634483,
0.01991182379424572,
0.010419923812150955,
0.008848794735968113,
0.06496171653270721,
-0.060077376663684845,
0.03166680037975311,
0.07202772796154022,
-0.01266671996563673,
-0.0139773515984416,
0.013383089564740658,
0.03611154854297638,
-0.01935826614499092,
-0.021035222336649895,
0.040019020438194275,
0.029175788164138794,
-0.027254613116383553,
-0.033571694046258926,
-0.03969339653849602,
-0.04705246910452843,
-0.00553965475410223,
-0.01127468328922987,
0.07222309708595276,
0.03163423761725426,
0.022728459909558296,
0.003500443184748292,
0.03542774170637131,
0.06948786973953247,
-0.010012895800173283,
0.0505366325378418,
-0.047378093004226685,
0.03171564266085625,
0.012796969152987003,
-0.039856210350990295,
-0.0491364561021328,
0.025056662037968636,
0.03646973520517349,
0.002028018468990922,
-0.025984685868024826,
-0.032122671604156494,
-0.0030079390853643417,
-0.06476633995771408,
-0.015467074699699879,
0.026375433430075645,
0.028866445645689964,
0.01247134618461132,
-0.002356693847104907,
0.04969001188874245,
0.05724445730447769,
-0.019195454195141792,
-0.02207721397280693,
-0.03826065734028816,
0.05594196915626526,
-0.014661158435046673,
-0.0769771859049797,
-0.0027413354255259037,
-0.007086362224072218,
-0.03555799275636673,
0.004945393651723862,
-0.004281937610358,
-0.09071846306324005,
-0.0033701942302286625,
-0.041712258011102676,
-0.022728459909558296,
-0.02572418749332428,
0.0318947359919548,
-0.032041266560554504,
0.021751591935753822,
0.0017512391787022352,
-0.013790118508040905,
0.002273252932354808,
0.036990731954574585,
-0.007851575501263142,
0.044512614607810974,
-0.006028088741004467,
0.017160313203930855,
-0.043796245008707047,
-0.03207382932305336,
0.008954621851444244,
0.0034678808879107237,
0.03184589371085167,
0.089871846139431,
-0.023509953171014786,
-0.030543401837348938,
-0.0007433354039676487,
0.02650568261742592,
-0.015776416286826134,
-0.016378818079829216,
-0.009475618600845337,
-0.0724835991859436,
-0.04070282727479935,
-0.03415781259536743,
-0.006878777872771025,
0.005861207377165556,
-0.020318852737545967,
-0.06903199851512909,
-0.004884339403361082,
-0.028866445645689964,
0.07854017615318298,
-0.0023607639595866203,
0.03832578286528587,
-0.008620859123766422,
-0.0015568832168355584,
-0.004798863548785448,
-0.03264366835355759,
0.04565229266881943,
0.00995591189712286,
0.0006018930580466986,
-0.039953894913196564,
-0.05135068669915199,
-0.00038667686749249697,
0.0019191383616998792,
-0.009426775388419628,
-0.004379624500870705,
-0.008685983717441559,
-0.0047337389551103115,
0.0003434301179368049,
0.02308664470911026,
0.06385459750890732,
0.016240429133176804,
0.00559663912281394,
-0.02077472396194935,
-0.03379962965846062,
0.05118787661194801,
0.01305746752768755,
-0.008242323063313961,
0.02285870909690857,
-0.04545691981911659,
-0.04415442794561386,
0.060305312275886536,
0.021018940955400467,
-0.06421278417110443,
0.0017329229740425944,
0.0595238171517849,
0.03832578286528587,
-0.02471475675702095,
0.012536470778286457,
0.0550302229821682,
-0.018332554027438164,
0.005861207377165556,
-0.016541630029678345,
-0.027026677504181862,
-0.040800515562295914,
0.06759925931692123,
0.03487418219447136,
-0.08570387214422226,
0.06528733670711517,
-0.04093076288700104,
-0.03910727798938751,
0.04444748908281326,
0.03686048090457916,
-0.04223325476050377,
0.02735230140388012,
-0.035297494381666183,
-0.00910929311066866,
0.02741742506623268,
0.05092737823724747,
-0.055290721356868744,
0.06714338809251785,
0.006390343885868788,
0.04050745442509651,
-0.055420972406864166,
0.040246956050395966,
0.015467074699699879,
0.0089871846139431,
-0.04399161785840988,
-0.018332554027438164,
0.0186744574457407,
-0.02100265957415104,
-0.014766986481845379,
-0.024698477238416672,
0.04408930242061615,
-0.023054081946611404,
0.04050745442509651,
-0.02302151918411255,
-0.0009173399885185063,
-0.03370194137096405,
-0.03500443324446678,
0.018690738826990128,
-0.0188209880143404,
-0.013122592121362686,
0.0418425090610981,
0.01774643361568451,
-0.07066010683774948,
-0.03383219242095947,
0.03917240351438522,
0.04083307832479477,
0.03137373924255371,
-0.011299105361104012,
0.010126863606274128,
-0.03264366835355759,
0.002777968067675829,
-0.036306921392679214,
0.006907269824296236,
-0.0690971240401268,
0.05587684363126755,
-0.0035106190480291843,
-0.04701990634202957,
0.01943967118859291,
0.03588361293077469,
0.017958087846636772,
-0.03279019892215729,
0.021653905510902405,
0.03546030446887016,
0.0002512127684894949,
-0.013179576024413109,
-0.013920367695391178,
0.03262738883495331,
0.010712984018027782,
-0.01479954831302166,
0.013545901514589787,
0.09247682988643646,
0.006724107079207897,
-0.0031158016063272953,
0.007705045398324728,
-0.03826065734028816,
0.020107196643948555,
-0.07293947041034698,
-0.017095187678933144,
-0.040474891662597656,
0.021018940955400467,
0.043959055095911026,
0.059686627238988876,
0.05441154167056084,
-0.00020605807367246598,
0.03920496255159378,
-0.022565647959709167,
0.03773966431617737,
-0.08492238074541092,
-0.011551463045179844,
-0.03555799275636673,
0.02015604078769684,
-0.022988958284258842,
-0.013448214158415794,
0.004456959664821625,
-0.02354251593351364,
0.06903199851512909,
-0.04415442794561386,
-0.006361851934343576,
-0.010419923812150955,
-0.004664544016122818,
0.00266400002874434,
0.029387442395091057,
0.019081486389040947,
0.025382284075021744,
-0.004774441942572594,
-0.0023465179838240147,
0.010086161084473133,
0.0034923027269542217,
0.032187797129154205,
-0.0031503988429903984,
0.007831224240362644,
0.0376419760286808,
-0.05864463374018669,
0.003860663389787078,
-0.023054081946611404,
0.01405875664204359,
0.0006441222503781319,
-0.018088337033987045,
-0.04688965901732445,
0.007192189805209637,
0.01759990304708481,
-0.037153542041778564,
-0.07626082003116608,
-0.03186217322945595,
-0.028101231902837753,
-0.009117433801293373,
-0.09032771736383438,
0.07502344995737076,
-0.026945272460579872,
0.0011437494540587068,
0.022207463160157204,
0.009084871038794518,
-0.011746835894882679,
0.04027951881289482,
0.00449359230697155,
-0.00235262350179255,
0.0045098732225596905,
-0.007122994866222143,
-0.0030689933337271214,
-0.04005158320069313,
0.013765696436166763,
0.045131295919418335,
-0.013659869320690632,
-0.01243878435343504,
0.05034125968813896,
-0.05516047403216362,
-0.005547795444726944,
0.03279019892215729,
0.04780140146613121,
-0.019635044038295746,
-0.026066090911626816,
0.0679900050163269,
0.0017553095240145922,
-0.04734553024172783,
-0.07476295530796051,
0.03399500250816345,
0.04796421155333519,
0.016321834176778793,
-0.06183573603630066,
0.004497662652283907,
0.015328684821724892,
-0.0010653965873643756,
-0.008067300543189049,
0.010900217108428478,
0.02828032523393631,
-0.014921656809747219,
-0.007094502914696932,
-0.007273595314472914,
0.005991456564515829,
-0.022826146334409714,
-0.007843434810638428,
-0.03435318544507027,
-0.0018977693980559707,
-0.015035624615848064,
0.1365009993314743,
0.023770451545715332,
-0.07508857548236847,
-0.03409269079566002,
0.014498347416520119,
0.002004614332690835,
0.02207721397280693,
-0.006968324072659016,
-0.005311719141900539,
-0.005071572493761778,
0.04887595772743225,
-0.007843434810638428,
0.020025791600346565,
0.01305746752768755,
0.004131337162107229,
-0.017257999628782272,
-0.03379962965846062,
-0.010281534865498543,
0.010859514586627483,
-0.011575884185731411,
-0.07144160568714142,
-0.060077376663684845,
0.03186217322945595,
-0.014701861888170242,
0.03686048090457916,
0.027938421815633774,
0.012349238619208336,
-0.01208874024450779,
0.023428548127412796,
0.08628999441862106,
0.00790041871368885,
0.03633948415517807,
0.02378673292696476,
0.017876682803034782,
-0.02689642831683159,
0.014229709282517433,
0.056658338755369186,
-0.01120141800493002,
0.0020819497294723988,
0.03021777980029583,
0.048550333827733994,
0.022679615765810013,
-0.028264043852686882,
-0.01781155727803707,
0.014962359331548214,
-0.01999322883784771,
-0.0293548796325922,
-0.03158539533615112,
0.029810750856995583,
-0.02129572071135044,
-0.022988958284258842,
-0.001265857950784266,
0.07424195855855942,
0.008685983717441559,
0.0393352136015892,
-0.00304050138220191,
-0.010200128890573978
] |
730,003 | mmengine.config.config | __repr__ | null | def __repr__(self):
return f'Config (path: {self.filename}): {self._cfg_dict.__repr__()}'
| (self) | [
0.03682678937911987,
-0.052795324474573135,
0.04660623520612717,
-0.003633097978308797,
0.015823209658265114,
-0.04093005508184433,
-0.008343302644789219,
0.017575645819306374,
0.022670531645417213,
-0.0404171459376812,
-0.02260214276611805,
-0.030688991770148277,
-0.02561120316386223,
0.06784062832593918,
-0.0037527764216065407,
0.03969907388091087,
-0.002434175694361329,
-0.02660282514989376,
-0.018362104892730713,
0.020653093233704567,
-0.00041994338971562684,
-0.033339016139507294,
0.015652241185307503,
-0.004744398407638073,
0.024602483958005905,
-0.0036908001638948917,
0.003853220958262682,
-0.013378349132835865,
-0.007680796552449465,
-0.04048553481698036,
-0.07584198564291,
-0.07385874539613724,
0.02533765323460102,
0.01219011191278696,
-0.015566756017506123,
-0.0029705918859690428,
-0.030158987268805504,
0.026500243693590164,
-0.07454261928796768,
-0.04058811441063881,
0.049923039972782135,
0.011275426484644413,
-0.012438017874956131,
-0.018054360523819923,
-0.023012470453977585,
0.06250638514757156,
-0.01611385866999626,
0.03631388396024704,
-0.017148222774267197,
-0.02579927071928978,
0.010164125822484493,
0.05293210223317146,
-0.0739271342754364,
0.06537866592407227,
-0.05751407891511917,
-0.011258329264819622,
0.04947851970791817,
-0.0007255510427057743,
0.011036069132387638,
0.022055041044950485,
-0.06483156234025955,
-0.011651558801531792,
0.06660964339971542,
-0.04729011282324791,
-0.006317316088825464,
-0.03147545084357262,
-0.09102406352758408,
0.019045982509851456,
-0.0029449465218931437,
-0.015259011648595333,
0.037681639194488525,
-0.04199006408452988,
-0.010967682115733624,
-0.02311505191028118,
-0.01401948370039463,
-0.0678064301609993,
-0.050094008445739746,
0.02995382435619831,
0.02976575866341591,
-0.04000682011246681,
-0.06541286408901215,
-0.02928704395890236,
-0.031116414815187454,
-0.027423478662967682,
0.02275601588189602,
-0.0259531419724226,
0.024004092440009117,
-0.03345869481563568,
-0.012438017874956131,
0.05289790779352188,
0.019165661185979843,
0.04623010382056236,
-0.0338006354868412,
-0.002378610661253333,
-0.023046663030982018,
-0.03424515575170517,
0.016054019331932068,
-0.023764735087752342,
0.07153356075286865,
-0.022055041044950485,
-0.00875362940132618,
-0.051666926592588425,
-0.04893141984939575,
-0.029885437339544296,
-0.020584706217050552,
-0.05553083494305611,
-0.01385706290602684,
0.0187724307179451,
-0.02277311310172081,
-0.01831081323325634,
-0.034638382494449615,
0.03390321508049965,
0.004577703308314085,
0.004804237745702267,
0.10087189823389053,
-0.008309109136462212,
-0.04698236659169197,
-0.026859279721975327,
0.07577360421419144,
0.0023486909922212362,
-0.0027055894024670124,
0.056932780891656876,
-0.05245338752865791,
0.03969907388091087,
-0.0009942934848368168,
0.06797739863395691,
-0.03689517825841904,
-0.02658572793006897,
0.03552742302417755,
-0.09006663411855698,
0.08651047199964523,
0.028380906209349632,
-0.03713453561067581,
-0.017233707010746002,
0.08726274222135544,
-0.006428446155041456,
0.02388441376388073,
0.02836380898952484,
-0.0000799415138317272,
0.11749011278152466,
0.03870745375752449,
-0.016789186745882034,
-0.013720287941396236,
0.026397662237286568,
0.0025880481116473675,
-0.01554111111909151,
-0.03980165719985962,
0.04667462408542633,
-0.020806966349482536,
-0.01800306886434555,
0.043665561825037,
0.011172845028340816,
-0.035424843430519104,
-0.0048341574147343636,
0.006001023110002279,
0.011181393638253212,
-0.028945105150341988,
0.038604870438575745,
0.010172674432396889,
-0.04906819388270378,
-0.044828154146671295,
-0.02627798356115818,
0.05987345427274704,
-0.007569666486233473,
-0.025696687400341034,
-0.0010493241716176271,
-0.0005270663532428443,
-0.08151817321777344,
0.006958451122045517,
0.0012886811746284366,
-0.011856721714138985,
-0.10723195225000381,
-0.07645747810602188,
0.0547785684466362,
-0.03244997560977936,
0.056625038385391235,
0.011967851780354977,
0.0605231374502182,
-0.03539064899086952,
-0.025235071778297424,
0.029013492166996002,
-0.023969898000359535,
-0.04349459335207939,
0.032056745141744614,
0.05689859017729759,
-0.0007292910013347864,
0.010523161850869656,
0.02167890965938568,
0.059326354414224625,
-0.0016519910423085093,
0.007497004698961973,
-0.012438017874956131,
-0.030552217736840248,
0.010933487676084042,
-0.008544191718101501,
-0.08015041798353195,
-0.01513078436255455,
-0.026996055617928505,
0.020806966349482536,
0.023935703560709953,
-0.011925109662115574,
-0.014352873899042606,
-0.006778933573514223,
-0.02675669826567173,
-0.004094715230166912,
-0.002134979236871004,
0.02248246595263481,
-0.03976746276021004,
0.01844758912920952,
0.06390833109617233,
-0.005650535691529512,
-0.031919971108436584,
0.0004803169285878539,
-0.014891427010297775,
0.027132829651236534,
-0.035459037870168686,
-0.02880832925438881,
0.03915197402238846,
-0.09129761159420013,
0.04951271414756775,
0.05936054512858391,
0.006082233507186174,
0.05050433427095413,
-0.02292698621749878,
-0.02373054064810276,
-0.021576328203082085,
0.019507598131895065,
-0.02118309773504734,
-0.007915879599750042,
-0.00007680262206122279,
0.03183448687195778,
-0.022396979853510857,
0.0005919812829233706,
0.012916731648147106,
0.08227043598890305,
0.037955187261104584,
-0.04862367361783981,
-0.0007047141552902758,
-0.030329957604408264,
0.05050433427095413,
0.010506064631044865,
0.02116600051522255,
0.007073855493217707,
-0.007569666486233473,
0.026038626208901405,
-0.06100185215473175,
0.0014895701315253973,
0.054881151765584946,
0.001109163393266499,
0.017464514821767807,
0.08131300657987595,
0.009095567278563976,
-0.05816376209259033,
0.046298492699861526,
-0.006607964169234037,
-0.036245495080947876,
-0.03267223760485649,
-0.023354409262537956,
0.06565221399068832,
0.0199179258197546,
0.02294408157467842,
-0.028551876544952393,
0.01123268436640501,
0.00653102807700634,
0.04527267441153526,
0.01722515933215618,
-0.035459037870168686,
-0.05084627494215965,
0.01865275204181671,
0.008356125093996525,
0.08247559517621994,
0.07536327838897705,
-0.022875694558024406,
0.01449819840490818,
-0.054368242621421814,
-0.05672761797904968,
0.023354409262537956,
-0.042434584349393845,
0.007223453838378191,
-0.0115404287353158,
0.024722162634134293,
-0.04971787706017494,
0.020977934822440147,
0.04168231785297394,
0.022824402898550034,
0.002803896786645055,
-0.045135900378227234,
0.01100187562406063,
0.021901169791817665,
0.0270986370742321,
0.05211144685745239,
0.02629508078098297,
0.01178833469748497,
0.005022223573178053,
0.07132840156555176,
-0.04828173667192459,
-0.0025901850312948227,
-0.03689517825841904,
0.0005604588077403605,
0.008958792313933372,
-0.00011239897139603272,
-0.03898100554943085,
0.017396127805113792,
0.05474437400698662,
-0.030176084488630295,
0.011497686617076397,
-0.007535472512245178,
0.004851254168897867,
0.03515129163861275,
0.008544191718101501,
0.026705406606197357,
-0.004667462315410376,
0.061548955738544464,
0.08247559517621994,
0.020311154425144196,
0.00891605019569397,
-0.009899123571813107,
-0.0509488545358181,
0.03771582990884781,
0.018669849261641502,
-0.06797739863395691,
0.07091807574033737,
-0.032415781170129776,
0.012010594829916954,
0.05074369162321091,
-0.05303468182682991,
0.03723711892962456,
0.0300735030323267,
0.014139162376523018,
0.03566420078277588,
-0.06175411865115166,
-0.012856892310082912,
0.011104457080364227,
0.009745251387357712,
0.016130955889821053,
0.015968535095453262,
0.014703361317515373,
0.007826120592653751,
-0.03390321508049965,
-0.08439045399427414,
0.06274574249982834,
-0.012301241979002953,
-0.022978276014328003,
-0.017267901450395584,
-0.04701656103134155,
0.010172674432396889,
-0.027269605547189713,
-0.016336118802428246,
0.035424843430519104,
0.002660709898918867,
-0.024260545149445534,
-0.017421772703528404,
0.007706441916525364,
0.03361256793141365,
-0.022499561309814453,
-0.014122065156698227,
-0.03819454461336136,
-0.023012470453977585,
-0.030449634417891502,
0.018909206613898277,
0.048179153352975845,
-0.010437676683068275,
-0.036382269114255905,
0.029697369784116745,
-0.016686605289578438,
0.03325353190302849,
-0.01177123747766018,
0.0026949038729071617,
0.055188894271850586,
-0.005398356355726719,
-0.05857408791780472,
0.0032783367205411196,
0.01717386767268181,
-0.07994525134563446,
0.010506064631044865,
0.01701999455690384,
-0.03311675786972046,
0.024123771116137505,
-0.0703025832772255,
-0.017575645819306374,
0.02819284051656723,
0.0480765700340271,
0.010018802247941494,
0.04534106329083443,
-0.02467087283730507,
-0.011437847279012203,
0.004284918308258057,
0.0029235752299427986,
0.037647444754838943,
0.006201912183314562,
-0.026226693764328957,
0.02692766673862934,
-0.024465709924697876,
0.06671223044395447,
-0.024807648733258247,
-0.029355430975556374,
0.0010263501899316907,
0.023303117603063583,
-0.020772771909832954,
0.01503675151616335,
0.019524695351719856,
-0.049410130828619,
-0.006150620989501476,
0.010335095226764679,
0.019986312836408615,
0.0048341574147343636,
0.02880832925438881,
0.06004442274570465,
0.003716445527970791,
-0.03253545984625816,
0.06387414038181305,
-0.0035989040043205023,
-0.04995723441243172,
-0.03215932846069336,
0.033356115221977234,
0.006060862448066473,
-0.06520769745111465,
-0.03212513402104378,
0.022020848467946053,
-0.01911436952650547,
-0.008518545888364315,
0.015164978802204132,
0.03679259866476059,
-0.004160965792834759,
0.0013880571350455284,
0.03617710620164871,
-0.017413225024938583,
0.048179153352975845,
0.02085825614631176,
0.01624208502471447,
-0.05553083494305611,
0.036724209785461426,
0.03010769747197628,
0.020191475749015808,
0.02802187018096447,
-0.07043936103582382,
0.0259531419724226,
-0.06288251280784607,
-0.01831081323325634,
0.041955869644880295,
0.014814491383731365,
-0.005902715492993593,
0.0030582137405872345,
0.001204265165142715,
-0.011369459331035614,
0.04564880579710007,
-0.07666264474391937,
-0.006060862448066473,
0.06192508712410927,
0.009326376020908356,
-0.01719951257109642,
0.006056588143110275,
-0.00388100347481668,
-0.019063077867031097,
-0.03515129163861275,
-0.052179835736751556,
-0.035903558135032654,
-0.05098304897546768,
-0.021217292174696922,
0.044828154146671295,
-0.055359866470098495,
0.012865440919995308,
0.026141207665205002,
-0.0030261569190770388,
0.014327229000627995,
-0.07153356075286865,
0.06821675598621368,
0.06544705480337143,
-0.056625038385391235,
-0.02964607998728752,
0.00938621535897255,
0.028449295088648796,
-0.06230121850967407,
0.049307551234960556,
-0.025577010586857796,
0.047700438648462296,
0.012703020125627518,
0.05399211123585701,
-0.03836551308631897,
-0.04284491017460823,
-0.04216103255748749,
-0.04048553481698036,
-0.06695158779621124,
0.020738577470183372,
0.007603860460221767,
-0.02581636607646942,
0.030620604753494263,
-0.000235617088037543,
0.025918947532773018,
0.020413735881447792,
-0.006005297414958477,
0.031954165548086166,
-0.06647287309169769,
-0.006077959202229977,
0.02101212926208973,
0.025132490321993828,
0.01012138370424509,
0.019490502774715424,
-0.01625063270330429,
-0.027457673102617264,
-0.005090611521154642,
-0.010600097477436066,
-0.01146349310874939,
0.005509486421942711,
-0.012249951250851154,
-0.00019073764269705862,
-0.025047004222869873,
0.06093346327543259,
-0.01592579111456871,
-0.022995373234152794,
0.030842864885926247,
-0.03651904687285423,
-0.0030838591046631336,
0.007330309599637985,
0.007334583904594183,
-0.04151134938001633,
-0.00394725427031517,
0.014703361317515373,
-0.03297998011112213,
0.009779444895684719,
-0.007022564765065908,
-0.010993327014148235,
-0.018071455880999565,
-0.02502990886569023,
-0.038126155734062195,
0.040519729256629944,
0.0624379925429821,
-0.0038981004618108273,
-0.032911594957113266,
0.07057613134384155,
0.015096590854227543,
-0.030210278928279877,
0.04058811441063881,
0.003329627448692918,
-0.02261923998594284,
0.07447423785924911,
-0.038946811109781265,
0.049410130828619,
-0.08452723175287247,
0.00709095224738121,
0.02179858833551407,
-0.03706614673137665,
0.030654799193143845,
-0.01880662515759468,
0.007279018871486187,
-0.04017778858542442,
0.02658572793006897,
0.000008615250408183783,
0.05929215997457504,
-0.037510666996240616,
0.06175411865115166,
-0.026961861178278923,
0.011908012442290783,
-0.030500926077365875,
0.013566414825618267,
0.03185158222913742,
0.06284832209348679,
-0.02497861720621586,
0.00013397049042396247,
-0.003816890064626932,
-0.025559913367033005,
0.031116414815187454,
0.0019971353467553854,
0.0019885869696736336,
0.044178470969200134,
0.005120531190186739,
-0.0031479725148528814,
0.036382269114255905,
-0.04151134938001633,
0.0036459206603467464,
0.013968192972242832,
0.0067447395995259285,
0.056112129241228104,
-0.013566414825618267,
-0.0242263525724411,
0.026825085282325745,
0.06688319891691208,
0.07057613134384155,
0.041955869644880295,
-0.010625743307173252,
-0.03296288475394249,
0.005116256885230541,
0.018567267805337906,
0.005039320793002844,
-0.05840311944484711,
-0.00032804737566038966,
-0.01266882661730051,
0.008240721188485622,
0.0014083597343415022,
-0.012403824366629124,
-0.04287910461425781,
-0.01607966423034668,
0.018909206613898277,
-0.00922379456460476,
0.04571719467639923,
-0.04564880579710007,
0.00018606269441079348,
-0.020482124760746956,
0.045135900378227234,
0.04192167520523071,
-0.055154699832201004,
-0.038297127932310104,
0.00023855562903918326,
0.031270287930965424,
-0.0060523138381540775,
-0.026021530851721764,
0.04448621720075607,
0.01242092065513134,
-0.0509488545358181,
0.0324670746922493,
0.010044447146356106,
0.023268923163414,
0.011831076815724373,
-0.03757905587553978,
0.012891086749732494,
-0.03730550408363342,
0.009591378271579742,
0.02785090170800686,
-0.02947510965168476,
0.043392013758420944,
0.009540087543427944,
0.05084627494215965,
-0.06643867492675781,
0.031116414815187454,
-0.061207015067338943,
0.004748672712594271,
-0.007223453838378191,
-0.025064101442694664,
-0.00987347774207592,
-0.011608816683292389,
0.019216950982809067,
0.004885448142886162,
0.017524354159832,
-0.04205845296382904,
-0.04677720367908478,
-0.02137116529047489,
0.035903558135032654,
0.009257988072931767,
-0.006171992514282465,
-0.016507087275385857,
0.03645065799355507,
-0.05587277188897133,
-0.040211983025074005,
-0.009916220791637897,
-0.023764735087752342,
0.029868340119719505,
-0.013113346882164478,
-0.06790900975465775,
0.050572723150253296,
-0.06777223944664001,
-0.006825949996709824,
-0.006740465294569731,
-0.008604031056165695,
0.018584365025162697,
0.002382884733378887,
0.017592743039131165,
-0.011010424233973026,
0.044041696935892105,
-0.026004433631896973,
-0.005389807745814323,
-0.03816035017371178,
-0.04636687785387039,
-0.034929029643535614,
-0.05659084394574165,
0.02704734541475773,
0.002267480595037341,
-0.023183438926935196,
0.017797905951738358,
0.000513976498041302,
-0.03583516925573349,
0.02802187018096447,
-0.003707897150889039,
-0.026329275220632553,
-0.025696687400341034,
-0.028774136677384377,
-0.04701656103134155,
-0.014891427010297775,
0.033698052167892456,
0.03816035017371178,
-0.027594447135925293,
-0.021576328203082085,
0.04664042964577675,
-0.02514958567917347,
-0.027115734294056892,
0.03439902514219284,
0.058061178773641586,
0.018379202112555504,
0.002517523244023323,
0.02355957217514515,
0.006206186022609472,
-0.0739271342754364,
-0.0014040855458006263,
-0.00768934516236186,
0.0001295626861974597,
0.05577019229531288,
-0.0586082823574543,
0.08356980234384537,
-0.0532398447394371,
-0.01639595814049244,
-0.006954176817089319,
0.01433577761054039,
0.005411178804934025,
0.03378353640437126,
-0.01577191986143589,
0.0259531419724226,
-0.03819454461336136,
0.04893141984939575,
-0.01642160303890705,
-0.05970248579978943,
0.013848514296114445,
0.018345007672905922,
0.14607618749141693,
0.016199342906475067,
-0.031919971108436584,
-0.014994009397923946,
0.04581977799534798,
-0.027286702767014503,
-0.015712080523371696,
-0.04075908660888672,
-0.04681139811873436,
-0.03277481719851494,
0.04742688685655594,
0.021148905158042908,
-0.005235935095697641,
0.06226702407002449,
0.029714467003941536,
-0.05115402117371559,
-0.03935713693499565,
-0.015959985554218292,
0.010548806749284267,
-0.019011788070201874,
0.003105230163782835,
-0.07351680845022202,
0.016686605289578438,
0.02229439839720726,
0.021559230983257294,
0.019045982509851456,
0.00915540661662817,
0.0013389034429565072,
0.05207725241780281,
0.04028037190437317,
0.045170094817876816,
-0.004872625693678856,
0.04729011282324791,
-0.009206697344779968,
-0.01449819840490818,
0.021781491115689278,
0.04889722540974617,
-0.02803896740078926,
0.062369607388973236,
0.0070610325783491135,
0.07194388657808304,
-0.03706614673137665,
0.04776882752776146,
0.006539576221257448,
-0.055359866470098495,
0.028859620913863182,
-0.005077788606286049,
0.011172845028340816,
-0.012386727146804333,
-0.02499571442604065,
-0.026038626208901405,
0.054231468588113785,
0.05033336579799652,
0.01242092065513134,
0.030056405812501907,
-0.05272693559527397,
-0.03260384872555733
] |
730,004 | mmengine.config.config | __setattr__ | null | def __setattr__(self, name, value):
if isinstance(value, dict):
value = ConfigDict(value)
self._cfg_dict.__setattr__(name, value)
| (self, name, value) | [
0.03908129781484604,
-0.02454926259815693,
0.009832050651311874,
-0.013562057167291641,
-0.06253713369369507,
0.021092614158988,
-0.02906407043337822,
0.042573221027851105,
0.014426219277083874,
-0.03239726647734642,
-0.03140965476632118,
-0.005824277643114328,
0.024584535509347916,
0.033279065042734146,
-0.01310352236032486,
-0.011445741169154644,
0.018147407099604607,
0.057599060237407684,
0.0029474105685949326,
-0.029981140047311783,
0.02774137258529663,
-0.02477853000164032,
0.04239685833454132,
0.04444263130426407,
0.013077068142592907,
-0.012680258601903915,
0.0005467149312607944,
0.032326724380254745,
0.003445626702159643,
-0.03370232880115509,
-0.0466647632420063,
-0.04193832352757454,
0.004342856351286173,
0.015748916193842888,
0.051990825682878494,
-0.03264417126774788,
-0.06144370138645172,
0.02380855195224285,
-0.07985565066337585,
-0.0019179112277925014,
0.03264417126774788,
-0.007645190693438053,
-0.06937988847494125,
-0.020775167271494865,
0.030439674854278564,
0.07534084469079971,
-0.04267903417348862,
0.07851531356573105,
0.02359692193567753,
0.01656898856163025,
-0.029822416603565216,
-0.027423925697803497,
-0.0012565625365823507,
0.052237726747989655,
-0.052343543618917465,
0.01548437774181366,
0.009514602832496166,
0.048639990389347076,
0.017547784373164177,
0.012398083694279194,
-0.05213191360235214,
-0.008205132558941841,
0.01597818359732628,
-0.041162341833114624,
-0.023156022652983665,
-0.03082766756415367,
-0.07435322552919388,
0.038869667798280716,
0.0010107612470164895,
-0.012212906032800674,
0.0187117587774992,
-0.029399152845144272,
-0.0009418707340955734,
-0.02082807384431362,
-0.015634283423423767,
0.02165696583688259,
-0.08959070593118668,
0.054248228669166565,
0.007358606439083815,
-0.0070808399468660355,
0.0010515444446355104,
0.004453081171959639,
-0.02964605763554573,
0.00011208482465008274,
-0.03894020989537239,
0.04546551778912544,
-0.05022722855210304,
-0.020404811948537827,
0.03022804483771324,
0.0010763449827209115,
0.03146256133913994,
0.04990978166460991,
0.014602579176425934,
0.03717661276459694,
-0.022062592208385468,
-0.005251108668744564,
0.07576410472393036,
-0.026612671092152596,
0.01739787869155407,
0.021163158118724823,
0.0048587084747850895,
-0.04835781455039978,
0.014699576422572136,
-0.026965390890836716,
-0.03562464937567711,
-0.09177756309509277,
0.0021163157653063536,
-0.04003364220261574,
-0.0028570264112204313,
-0.016145726665854454,
0.015510831028223038,
-0.024619806557893753,
-0.031109841540455818,
0.020669350400567055,
0.03819949924945831,
0.0290464349091053,
-0.013218156062066555,
-0.07844477146863937,
0.03682389482855797,
0.014126407913863659,
-0.005903639364987612,
0.021410061046481133,
0.013482695445418358,
0.06045608967542648,
0.03678862378001213,
0.04585351049900055,
-0.004611805081367493,
0.028058819472789764,
0.05629400163888931,
-0.04253794625401497,
0.024231815710663795,
-0.01250389963388443,
0.002881275722756982,
-0.025095978751778603,
0.11858423054218292,
-0.006379810161888599,
-0.019029205664992332,
0.004040840547531843,
-0.018041592091321945,
-0.010546307079494,
0.019099749624729156,
0.001327106379903853,
-0.017177429050207138,
-0.024566899985074997,
0.051849737763404846,
-0.00458535086363554,
-0.03038676828145981,
0.06310148537158966,
-0.013209337368607521,
-0.014602579176425934,
-0.027071205899119377,
0.006472398992627859,
-0.017468422651290894,
0.06260767579078674,
-0.0666639506816864,
0.03527193143963814,
-0.05132065713405609,
0.00747324014082551,
0.03273235261440277,
-0.0004053516313433647,
-0.01513165794312954,
-0.006397446151822805,
-0.03276762366294861,
-0.031250931322574615,
-0.015069931745529175,
-0.0072042918764054775,
-0.02620704472064972,
-0.06497089564800262,
0.0013260041596367955,
0.014073500409722328,
-0.01798868365585804,
-0.06655813008546829,
0.0007726757321506739,
0.06849808990955353,
0.020581170916557312,
0.0038843213114887476,
0.0012565625365823507,
0.0001270340580958873,
-0.00834181159734726,
-0.005211427807807922,
0.005343697499483824,
0.06370110809803009,
-0.02477853000164032,
0.028623171150684357,
-0.0011209860676899552,
0.007900912314653397,
0.0008321970817632973,
0.04073907807469368,
0.04691166803240776,
0.07216636836528778,
0.0840882807970047,
-0.041973598301410675,
-0.018658850342035294,
-0.03215036541223526,
0.0017029729206115007,
-0.008857663720846176,
-0.013606146909296513,
-0.02715938538312912,
0.022238951176404953,
0.09269463270902634,
-0.004453081171959639,
-0.02216840721666813,
0.007878866977989674,
0.0003618128539528698,
0.059503745287656784,
-0.05869249254465103,
0.07093185186386108,
-0.035183750092983246,
-0.028870074078440666,
-0.002671848749741912,
-0.02440817467868328,
-0.03717661276459694,
0.03657699003815651,
0.012724348343908787,
0.04207941144704819,
-0.039257656782865524,
0.02894061803817749,
-0.007543784100562334,
-0.019152658060193062,
-0.0039129797369241714,
0.06490035355091095,
0.0761873722076416,
0.04465426504611969,
-0.04493643715977669,
0.005850731395184994,
-0.05516529828310013,
-0.03391396254301071,
-0.08154870569705963,
0.005308425519615412,
0.022538762539625168,
0.01434685755521059,
0.0399983674287796,
0.003178882645443082,
-0.009488149546086788,
0.09241245687007904,
-0.010264131240546703,
0.046982210129499435,
-0.06602904945611954,
-0.029945868998765945,
0.010343493893742561,
0.06772210448980331,
0.005983001086860895,
-0.02800591289997101,
0.027247566729784012,
-0.042185228317976,
-0.011481013149023056,
-0.05625872686505318,
0.06842754781246185,
0.0015651918947696686,
0.04165614768862724,
0.06772210448980331,
0.0010961854131892323,
-0.046488404273986816,
0.05396605283021927,
-0.03405504673719406,
-0.005797823425382376,
-0.0032251770608127117,
0.021392425522208214,
0.015819460153579712,
-0.0219038687646389,
-0.012671440839767456,
-0.04193832352757454,
-0.0016214065253734589,
0.02275039441883564,
0.010608033277094364,
0.01596936583518982,
0.039716191589832306,
-0.0083329938352108,
-0.02857026271522045,
-0.012583261355757713,
0.04620622843503952,
0.013967684470117092,
0.031268566846847534,
0.013482695445418358,
-0.024990161880850792,
-0.03121565841138363,
0.032573629170656204,
-0.03872857987880707,
0.0036947347689419985,
0.011851368471980095,
0.0338081456720829,
-0.08613405376672745,
0.02059880644083023,
0.03848167508840561,
0.002021522494032979,
-0.013491513207554817,
-0.0317094661295414,
0.08458209037780762,
0.025889595970511436,
-0.006922116503119469,
0.015660736709833145,
-0.0004089339345227927,
0.008266858756542206,
0.04645313322544098,
0.015440287068486214,
-0.02511361427605152,
-0.11117712408304214,
0.03957510367035866,
0.025907233357429504,
-0.001045482000336051,
0.059362657368183136,
-0.0099995918571949,
-0.05513002723455429,
0.06821591407060623,
0.036153730005025864,
-0.02560742199420929,
0.03564228489995003,
0.02680666744709015,
-0.014135225676000118,
0.033420152962207794,
0.03562464937567711,
0.033755235373973846,
-0.06045608967542648,
0.04860471934080124,
0.062113869935274124,
0.019082114100456238,
-0.006807482335716486,
-0.03262653574347496,
-0.015872368589043617,
0.024355268105864525,
-0.010678577236831188,
-0.03276762366294861,
-0.067228302359581,
-0.05964483320713043,
0.07541138678789139,
-0.029381517320871353,
0.09481094777584076,
0.011657373048365116,
0.01393241249024868,
-0.0033067434560507536,
-0.0840882807970047,
-0.005242290440946817,
0.05149701610207558,
0.008637214079499245,
-0.0031458153389394283,
-0.01570482738316059,
-0.024566899985074997,
0.005837504286319017,
-0.024020183831453323,
-0.049733422696590424,
0.012230541557073593,
0.03879912197589874,
-0.0599975548684597,
-0.0459945984184742,
-0.008663667365908623,
0.013015341944992542,
-0.021286610513925552,
0.006653167773038149,
0.04038636013865471,
0.02073989436030388,
-0.021357154473662376,
-0.011586829088628292,
0.038164228200912476,
0.015634283423423767,
-0.025572149083018303,
-0.00816104281693697,
-0.00005569796121562831,
-0.05421295762062073,
-0.04416045546531677,
-0.0878976508975029,
0.017838777974247932,
0.006181405857205391,
0.02118079364299774,
-0.0024073091335594654,
-0.011719098314642906,
0.046982210129499435,
-0.06292512267827988,
-0.013226973824203014,
0.04825200140476227,
-0.025289973244071007,
-0.005480376072227955,
-0.022186044603586197,
0.009144247509539127,
0.027300473302602768,
0.04430154338479042,
0.0258543249219656,
-0.024478718638420105,
0.021992048248648643,
-0.043525561690330505,
-0.016004638746380806,
0.029822416603565216,
0.02276802994310856,
0.08324175328016281,
0.03347306326031685,
0.056611448526382446,
-0.04772292077541351,
0.03320852294564247,
-0.003844640450552106,
0.05421295762062073,
0.0016875413712114096,
-0.037000253796577454,
0.039363473653793335,
-0.0263304952532053,
0.064759261906147,
-0.0488516241312027,
-0.03537774458527565,
-0.027900096029043198,
-0.00015417691611219198,
-0.008306539617478848,
0.026242315769195557,
-0.002771050902083516,
-0.05248463153839111,
0.013826596550643444,
0.012018910609185696,
0.05558856204152107,
0.008588714525103569,
-0.002623349893838167,
0.0873332992196083,
0.013218156062066555,
0.00628281245008111,
0.02608359232544899,
0.011586829088628292,
-0.04052744805812836,
-0.05738743022084236,
0.007336561568081379,
-0.01991100423038006,
0.015158112160861492,
-0.026277588680386543,
-0.001741551561281085,
-0.011093022301793098,
0.02463744394481182,
-0.015378561802208424,
-0.018270859494805336,
0.01606636494398117,
0.007909730076789856,
0.016974616795778275,
0.018147407099604607,
-0.02192150428891182,
-0.01738906092941761,
-0.005718461703509092,
-0.021092614158988,
0.02749446965754032,
0.057599060237407684,
0.008081681095063686,
0.0523788146674633,
-0.03382578119635582,
0.006723711732774973,
-0.0854286178946495,
-0.03308507055044174,
-0.03844640403985977,
0.005806641653180122,
0.0007864538347348571,
-0.01641908288002014,
-0.020669350400567055,
-0.015651918947696686,
-0.041973598301410675,
-0.08641622960567474,
0.054354045540094376,
0.07477649301290512,
-0.029840052127838135,
-0.006388628389686346,
-0.007213109638541937,
0.006600259803235531,
0.01273316703736782,
0.01737142540514469,
-0.021974412724375725,
-0.0058683673851192,
-0.07135511189699173,
0.05738743022084236,
0.021745145320892334,
-0.053542789071798325,
-0.051743920892477036,
-0.005202609580010176,
0.015748916193842888,
-0.0199991837143898,
0.07167255878448486,
0.0319034606218338,
0.029099341481924057,
0.001394343446008861,
-0.05326061323285103,
0.022415312007069588,
0.0005902536795474589,
0.00022113847080618143,
0.019470104947686195,
-0.027706101536750793,
-0.01737142540514469,
-0.03872857987880707,
0.033420152962207794,
-0.07802151143550873,
-0.029205158352851868,
-0.008443218655884266,
0.049733422696590424,
0.027811916545033455,
-0.0038755033165216446,
-0.0040011596865952015,
-0.038411132991313934,
0.052696265280246735,
0.004098157398402691,
0.045677147805690765,
0.0447600781917572,
-0.028305724263191223,
-0.00940878689289093,
0.008099316619336605,
-0.0033728783018887043,
0.02155114896595478,
0.005440695211291313,
-0.03848167508840561,
0.01653371751308441,
0.002806322881951928,
-0.019593557342886925,
-0.04588878154754639,
-0.02430235967040062,
-0.06162006035447121,
-0.013050613924860954,
0.01929374597966671,
0.0027247564867138863,
-0.05326061323285103,
0.057810693979263306,
-0.024990161880850792,
-0.008601942099630833,
0.003992341458797455,
-0.008676894940435886,
-0.023156022652983665,
-0.000931950518861413,
0.038058411329984665,
-0.04049217700958252,
-0.02059880644083023,
-0.01678062044084072,
-0.05611763894557953,
-0.02857026271522045,
0.015599011443555355,
-0.016119271516799927,
0.034107957035303116,
-0.01256562490016222,
-0.001080753980204463,
-0.024478718638420105,
0.054354045540094376,
-0.01618981547653675,
-0.0030399993993341923,
0.050086140632629395,
0.020404811948537827,
0.010978388600051403,
-0.037211887538433075,
0.06024445593357086,
0.039716191589832306,
0.04059799015522003,
-0.0027512104716151953,
0.006684030871838331,
0.01607518270611763,
0.009214791469275951,
0.010907844640314579,
-0.040068913251161575,
0.06937988847494125,
0.016348538920283318,
0.006234313827008009,
-0.023314746096730232,
-0.0485694482922554,
0.00013805653725285083,
0.03834058716893196,
-0.06288985162973404,
-0.027935368940234184,
-0.02417890727519989,
-0.02049299143254757,
-0.014311585575342178,
-0.038164228200912476,
-0.045324429869651794,
0.04610041156411171,
-0.07181365042924881,
0.009549874812364578,
0.04359610378742218,
-0.018500126898288727,
0.04084489494562149,
0.02761792205274105,
0.056047096848487854,
0.0638069212436676,
-0.026277588680386543,
-0.03391396254301071,
0.02165696583688259,
-0.021498240530490875,
-0.006516489200294018,
0.02751210518181324,
-0.01196600217372179,
0.004867526236921549,
0.011780824512243271,
0.00797586515545845,
0.06832172721624374,
0.047828737646341324,
0.035183750092983246,
-0.03121565841138363,
-0.04324338585138321,
-0.06585269421339035,
0.044372089207172394,
-0.0476171039044857,
0.005290789529681206,
-0.026771394535899162,
-0.056646719574928284,
0.017080431804060936,
0.06765156239271164,
-0.0469469390809536,
0.00816104281693697,
-0.09290626645088196,
-0.0191879291087389,
-0.02312074974179268,
0.007543784100562334,
0.022327132523059845,
-0.022609306499361992,
-0.019717009738087654,
-0.05371914803981781,
0.04765237867832184,
0.008738620206713676,
-0.04394882544875145,
-0.0485694482922554,
-0.037000253796577454,
0.04670003429055214,
-0.015801824629306793,
-0.0006613486912101507,
0.009267699904739857,
-0.005043886136263609,
-0.016824711114168167,
-0.007411514408886433,
0.017450787127017975,
0.046523675322532654,
0.016630714759230614,
0.04225577041506767,
0.037106070667505264,
-0.051849737763404846,
-0.01763596571981907,
0.03872857987880707,
0.0025021026376634836,
-0.034019775688648224,
0.00899434182792902,
0.011287017725408077,
-0.04324338585138321,
-0.02809409238398075,
-0.05629400163888931,
-0.05311952531337738,
0.01156037487089634,
-0.027670828625559807,
-0.03200927749276161,
-0.07206055521965027,
-0.01607518270611763,
0.004256880842149258,
0.01279489230364561,
-0.05622345581650734,
-0.023491105064749718,
-0.004607395734637976,
0.041268158704042435,
0.0005588396452367306,
0.018200315535068512,
-0.010484580881893635,
0.04634731635451317,
-0.02857026271522045,
0.02451399154961109,
-0.0037057572044432163,
-0.0006602464127354324,
0.03391396254301071,
0.001479216618463397,
-0.033508334308862686,
0.0015067727072164416,
-0.007005887106060982,
0.008720984682440758,
-0.016145726665854454,
-0.03320852294564247,
0.036506447941064835,
0.03629481419920921,
0.016128089278936386,
-0.014972934499382973,
0.04070380702614784,
0.04405464231967926,
-0.026048319414258003,
-0.05308425426483154,
-0.014452673494815826,
-0.05583546683192253,
-0.038658034056425095,
0.051990825682878494,
-0.011683827266097069,
-0.027811916545033455,
0.01786523312330246,
0.019223202019929886,
0.008108135312795639,
0.023244202136993408,
-0.029681328684091568,
-0.04359610378742218,
0.0010024943621829152,
-0.031162749975919724,
-0.09375278651714325,
-0.013368061743676662,
-0.0006624509114772081,
0.04729965701699257,
0.042573221027851105,
-0.10017228126525879,
0.058798305690288544,
-0.0070808399468660355,
0.05322534218430519,
-0.01976991631090641,
0.047334931790828705,
0.03629481419920921,
-0.03858749195933342,
0.050438858568668365,
0.014796574600040913,
-0.0428553968667984,
-0.016956981271505356,
-0.03297925367951393,
0.02215077169239521,
-0.04151506349444389,
-0.09262409061193466,
0.05086212232708931,
-0.06292512267827988,
-0.026277588680386543,
0.0215687844902277,
0.04133870080113411,
0.02453162707388401,
-0.015440287068486214,
-0.04920434206724167,
0.00894143432378769,
-0.07759824395179749,
0.00012613848957698792,
-0.015061113983392715,
0.02775900810956955,
-0.025660328567028046,
0.011101840063929558,
0.05862194672226906,
0.03883439674973488,
-0.006110861897468567,
0.021850960329174995,
0.057810693979263306,
-0.014479127712547779,
-0.023843824863433838,
0.000983205041848123,
0.004655894823372364,
-0.02001682110130787,
0.03968092054128647,
0.00959396455436945,
-0.022838573902845383,
-0.010581579059362411,
-0.055553290992975235,
0.006908889394253492,
0.004814618267118931,
0.025995412841439247,
0.01155155710875988,
0.012159997597336769,
0.019223202019929886,
-0.044231001287698746,
0.006260767579078674,
-0.036612264811992645,
-0.006185814738273621,
-0.026506856083869934,
0.024461083114147186,
0.011110657826066017,
0.06588796526193619,
0.0002171428204746917,
0.05848085880279541,
0.003771892050281167,
-0.016604261472821236,
-0.002150485524907708,
-0.0159517303109169,
0.02073989436030388,
0.051849737763404846,
0.0323796309530735,
0.08613405376672745,
0.005295198410749435,
0.031162749975919724,
-0.040315814316272736,
0.05763433501124382,
0.03426668047904968,
-0.07086130976676941,
-0.010387583635747433,
-0.039010755717754364,
0.034848667681217194,
-0.01273316703736782,
-0.02320892922580242,
0.018535399809479713,
0.008623986504971981,
0.0035227839834988117,
0.009576329030096531,
0.024619806557893753,
-0.003998955246061087,
0.01351796742528677
] |
730,005 | mmengine.config.config | __setitem__ | null | def __setitem__(self, name, value):
if isinstance(value, dict):
value = ConfigDict(value)
self._cfg_dict.__setitem__(name, value)
| (self, name, value) | [
0.03549942001700401,
-0.030791927129030228,
-0.030071750283241272,
-0.029421834275126457,
-0.0589490607380867,
0.018390841782093048,
-0.059827324002981186,
0.03864360228180885,
0.029070530086755753,
-0.03309297561645508,
-0.024714341387152672,
-0.005238843150436878,
0.01891780085861683,
0.02158772200345993,
-0.01830301620066166,
-0.010319598950445652,
0.04777754843235016,
0.049885381013154984,
-0.007478415500372648,
-0.028736788779497147,
0.025768257677555084,
-0.024327905848622322,
0.06667777895927429,
0.03084462136030197,
0.022571377456188202,
-0.029527226462960243,
0.033690195530653,
0.02341451123356819,
0.011127601377665997,
-0.022694334387779236,
-0.07173658162355423,
-0.04394831508398056,
-0.004755798261612654,
0.024081991985440254,
0.05371461063623428,
-0.020393284037709236,
-0.05698174983263016,
0.020551370456814766,
-0.061970289796590805,
0.026154693216085434,
0.018584059551358223,
-0.0031200319062918425,
-0.04914763942360878,
-0.03407663106918335,
0.04299979284405708,
0.09302569180727005,
-0.028297657147049904,
0.0995599776506424,
0.024134688079357147,
0.00633228151127696,
-0.05016642436385155,
-0.016818750649690628,
-0.012260561808943748,
0.0428944006562233,
-0.05954628065228462,
0.01631814055144787,
0.0271910447627306,
0.03604394197463989,
0.035639941692352295,
0.02466164529323578,
-0.026699217036366463,
-0.0166430976241827,
0.0001379834720864892,
-0.06702908873558044,
-0.01830301620066166,
-0.015325701795518398,
-0.05641966313123703,
0.02626008540391922,
0.0024854864459484816,
-0.01197951752692461,
0.022676769644021988,
-0.027314001694321632,
-0.00810198299586773,
-0.027963917702436447,
-0.009107595309615135,
0.027085652574896812,
-0.06323498487472534,
0.060143500566482544,
0.026541130617260933,
-0.007904373109340668,
-0.0005420533707365394,
0.01668701134622097,
0.0031354015227407217,
0.008282027207314968,
-0.034410372376441956,
0.05090416595339775,
-0.02327398955821991,
-0.011171514168381691,
0.044510405510663986,
0.011961951851844788,
0.05796540528535843,
0.026892434805631638,
0.011426211334764957,
0.02327398955821991,
-0.027700437232851982,
-0.023537468165159225,
0.06411325186491013,
-0.05828158184885979,
0.00499292928725481,
0.026207389310002327,
0.0008101983112283051,
-0.05912471562623978,
0.026997826993465424,
-0.0597219318151474,
-0.03857334330677986,
-0.08923159539699554,
0.028438178822398186,
-0.025926345959305763,
-0.03309297561645508,
-0.008514766581356525,
0.033584803342819214,
-0.004002687055617571,
-0.04654797911643982,
0.01595805212855339,
0.026628956198692322,
0.0765845999121666,
-0.03383071720600128,
-0.09429039061069489,
0.03476167842745781,
0.02870165929198265,
-0.04415909945964813,
0.027595046907663345,
0.024556253105401993,
0.07644407451152802,
0.030563578009605408,
0.023010509088635445,
-0.03811664506793022,
0.028069308027625084,
0.04356187954545021,
-0.05083390325307846,
0.029527226462960243,
-0.02587364986538887,
-0.005418887361884117,
-0.04040013253688812,
0.12358926981687546,
-0.005484757013618946,
-0.018882669508457184,
-0.04078656807541847,
-0.027805829420685768,
-0.011610646732151508,
0.007588198408484459,
0.006955848541110754,
-0.016625532880425453,
-0.010793861001729965,
0.05143112316727638,
-0.017424752935767174,
-0.033865850418806076,
0.04686415195465088,
-0.024538688361644745,
-0.015071005560457706,
-0.04763702303171158,
0.015299353748559952,
-0.024819733574986458,
0.04479144886136055,
-0.05698174983263016,
0.02174581028521061,
-0.03397124260663986,
0.024292774498462677,
0.02963261865079403,
0.00019884439825545996,
-0.011171514168381691,
-0.010468903928995132,
0.0042947097681462765,
0.002013419521972537,
-0.05009616166353226,
0.0025096386671066284,
-0.005440843757241964,
-0.045283276587724686,
-0.008466462604701519,
0.027753133326768875,
-0.0012032212689518929,
-0.06077584996819496,
-0.0162742268294096,
0.042156659066677094,
-0.000021424832084449008,
0.010908035561442375,
-0.005677974782884121,
0.005559409502893686,
0.004949016030877829,
-0.01450891699641943,
-0.0007037087925709784,
0.03416445851325989,
-0.04103248193860054,
0.031195927411317825,
-0.013946828432381153,
0.006358629558235407,
0.00020158897677902132,
0.04679389297962189,
0.04855041950941086,
0.08403227478265762,
0.05582244321703911,
-0.04791807010769844,
-0.011347167193889618,
-0.04700467362999916,
0.01868945173919201,
-0.004575754050165415,
-0.009818988852202892,
-0.0045625800266861916,
0.019778499379754066,
0.07637381553649902,
-0.0033615543507039547,
-0.050412338227033615,
0.024152252823114395,
-0.005383756477385759,
0.04577510431408882,
-0.034638721495866776,
0.09611718356609344,
-0.06070558726787567,
-0.025856083258986473,
0.012752389535307884,
-0.03205662593245506,
-0.00865089800208807,
0.03720325231552124,
-0.006955848541110754,
0.041454046964645386,
-0.05803566798567772,
0.0027928785420954227,
-0.011522820219397545,
-0.021183721721172333,
0.015176396816968918,
0.056068357080221176,
0.06576438993215561,
0.0688910037279129,
-0.024819733574986458,
-0.00012062403402524069,
-0.0390300415456295,
-0.03727351129055023,
-0.07630354911088943,
0.015694573521614075,
0.029527226462960243,
0.013832653872668743,
0.05107981711626053,
0.0162742268294096,
-0.012067344039678574,
0.07229866832494736,
-0.0214296355843544,
0.00451866677030921,
-0.07820060104131699,
-0.014377176761627197,
0.04791807010769844,
0.06186489760875702,
0.023449640721082687,
-0.028069308027625084,
0.043913185596466064,
-0.06323498487472534,
-0.0009177855681627989,
-0.039697520434856415,
0.07307153940200806,
0.01588779129087925,
0.049428682774305344,
0.06390246748924255,
-0.004505492746829987,
-0.052168864756822586,
0.04837476462125778,
-0.009081247262656689,
0.012471345253288746,
0.002437181770801544,
0.02251868136227131,
0.027893656864762306,
-0.026137128472328186,
-0.011294471099972725,
-0.02870165929198265,
0.020323023200035095,
0.025311561301350594,
-0.010504034347832203,
0.010943165980279446,
0.05399565398693085,
0.00442864466458559,
-0.026014171540737152,
0.019321801140904427,
0.07250945270061493,
0.023625293746590614,
0.025171037763357162,
0.004861189518123865,
-0.01960284635424614,
-0.010504034347832203,
0.052801214158535004,
-0.007943895645439625,
-0.006758239585906267,
0.004848015960305929,
0.05013129487633705,
-0.0665723904967308,
0.018513798713684082,
0.041383787989616394,
-0.0003090390528086573,
0.0003411505604162812,
-0.027753133326768875,
0.08016791194677353,
0.006455238442867994,
0.02357259765267372,
0.02151746116578579,
-0.014561612159013748,
-0.025979040190577507,
0.06246211752295494,
-0.004329840186983347,
-0.00622249860316515,
-0.1011057198047638,
0.03815177455544472,
0.03339158743619919,
0.01960284635424614,
0.04461579769849777,
-0.011549168266355991,
-0.061970289796590805,
0.05445235222578049,
0.054698266088962555,
-0.026365477591753006,
0.027823394164443016,
0.021763375028967857,
-0.0016423531342297792,
0.04292953014373779,
0.03412932902574539,
0.006648456212133169,
-0.060143500566482544,
0.061583854258060455,
0.0551198311150074,
0.01240108348429203,
-0.021833635866642,
-0.04415909945964813,
-0.019567715004086494,
0.0166430976241827,
-0.02801661379635334,
-0.045810237526893616,
-0.08143261075019836,
-0.0696990117430687,
0.06548334658145905,
-0.03569263964891434,
0.076514333486557,
0.016054660081863403,
0.012163952924311161,
0.018847540020942688,
-0.08044895529747009,
-0.016467444598674774,
0.04777754843235016,
0.014587960205972195,
0.003449380863457918,
-0.020885111764073372,
-0.027735568583011627,
0.00022999531938694417,
0.0005933769280090928,
-0.05659531429409981,
-0.0055242786183953285,
0.03539402782917023,
-0.04946381226181984,
-0.03592098504304886,
0.0034691416658461094,
0.0022417681757360697,
-0.005941454321146011,
0.012032212689518929,
0.04180535301566124,
0.026769477874040604,
-0.008993420749902725,
-0.027735568583011627,
0.030598707497119904,
0.006969022564589977,
-0.023309119045734406,
-0.014956831000745296,
0.002131985267624259,
-0.07693590223789215,
-0.04264848679304123,
-0.09604692459106445,
0.04563458263874054,
0.022026853635907173,
0.029720444232225418,
0.014271785505115986,
-0.012339605018496513,
0.035183243453502655,
-0.053257912397384644,
0.007539893966168165,
0.0543469600379467,
-0.053574088960886,
0.00008309198165079579,
-0.03484950587153435,
0.03514811396598816,
0.03068653494119644,
0.03934621438384056,
0.01698562130331993,
-0.01266456302255392,
0.04180535301566124,
-0.06312959641218185,
-0.04714519530534744,
0.0298609659075737,
0.016133705154061317,
0.05582244321703911,
0.022764595225453377,
0.05680609866976738,
-0.02318616211414337,
0.027823394164443016,
0.003758968785405159,
0.04166483134031296,
-0.00008432703907601535,
-0.021078329533338547,
0.04103248193860054,
-0.04422936215996742,
0.050342075526714325,
-0.06822352856397629,
-0.025680432096123695,
-0.020481109619140625,
-0.004338623024523258,
-0.038784127682447433,
0.027507219463586807,
0.016063444316387177,
-0.048339635133743286,
0.014833874069154263,
0.01807466708123684,
0.06102176383137703,
-0.03230253979563713,
-0.01251525804400444,
0.0926041305065155,
0.010662121698260307,
-0.002160528674721718,
0.046196673065423965,
0.00907246395945549,
-0.04328083619475365,
-0.0528363473713398,
0.008909985423088074,
-0.004479145165532827,
-0.007798981852829456,
-0.043597012758255005,
0.001581972581334412,
-0.0043078837916255,
0.020077109336853027,
-0.008110765367746353,
-0.015492572449147701,
0.034410372376441956,
0.012506475672125816,
0.01212882250547409,
0.00142059160862118,
-0.004966581240296364,
-0.04240257292985916,
-0.029579922556877136,
-0.013305695727467537,
0.0026347911916673183,
0.046512845903635025,
0.03239036723971367,
0.033725328743457794,
-0.03383071720600128,
0.010126381181180477,
-0.08473488688468933,
-0.022061984986066818,
-0.033180803060531616,
0.007689198944717646,
0.010837774723768234,
-0.02933400869369507,
-0.024222513660788536,
0.002437181770801544,
-0.03773020952939987,
-0.08382149040699005,
0.023537468165159225,
0.05136086419224739,
-0.03966239094734192,
0.006516716908663511,
0.012005865573883057,
0.011540384963154793,
0.010293250903487206,
0.01937449723482132,
-0.03045818582177162,
-0.026295216754078865,
-0.06246211752295494,
0.05090416595339775,
0.004367166198790073,
-0.031810712069272995,
-0.0367465540766716,
-0.0014809721615165472,
0.001891560503281653,
-0.01060064323246479,
0.04282413795590401,
0.025171037763357162,
0.03604394197463989,
0.015720920637249947,
-0.03474411368370056,
-0.00669676112011075,
0.004209078848361969,
-0.02320372685790062,
0.020094674080610275,
-0.052028343081474304,
-0.022764595225453377,
-0.006846065632998943,
0.04851529002189636,
-0.07078805565834045,
-0.022834856063127518,
0.011197862215340137,
0.044369883835315704,
-0.0056428443640470505,
0.0029553575441241264,
0.0009238236816599965,
-0.04296466335654259,
0.04907737672328949,
0.0032451844308525324,
0.03667629510164261,
0.052098605781793594,
-0.036922208964824677,
-0.05160677805542946,
-0.004764580633491278,
-0.004123448394238949,
0.02550477907061577,
-0.0051949298940598965,
-0.036324989050626755,
0.020077109336853027,
0.002656747819855809,
-0.03202149644494057,
-0.021763375028967857,
-0.006894370075315237,
-0.04394831508398056,
-0.02320372685790062,
0.012603084556758404,
-0.01890023611485958,
-0.025381822139024734,
0.05796540528535843,
-0.04194587469100952,
-0.02090267650783062,
-0.02020006626844406,
-0.014956831000745296,
-0.011443776078522205,
-0.010723600164055824,
0.05775462090969086,
-0.034954898059368134,
-0.04240257292985916,
-0.02496025525033474,
-0.04545893147587776,
-0.029439400881528854,
0.02810443937778473,
-0.02726130560040474,
0.04278900846838951,
0.004496710374951363,
0.00357892457395792,
-0.02763017639517784,
0.03437524288892746,
-0.029421834275126457,
0.0030849012546241283,
0.04096221923828125,
0.006876804865896702,
0.02785852551460266,
-0.03212688863277435,
0.05353895574808121,
0.05392539128661156,
0.03084462136030197,
0.010389859788119793,
0.016792401671409607,
-0.012067344039678574,
0.021956592798233032,
-0.005563800688832998,
-0.01830301620066166,
0.0880371555685997,
-0.035253506153821945,
-0.0034691416658461094,
-0.0091866385191679,
-0.025012951344251633,
-0.015202744863927364,
0.04992051050066948,
-0.06625621765851974,
-0.028315221890807152,
-0.01960284635424614,
0.005418887361884117,
-0.0027862917631864548,
-0.024450862780213356,
-0.05100955814123154,
0.02427520975470543,
-0.06727500259876251,
0.016906576231122017,
0.02341451123356819,
-0.023098336532711983,
0.04117300361394882,
0.03015957586467266,
0.05648992210626602,
0.05747357755899429,
-0.007834112271666527,
-0.04725058749318123,
0.01935693249106407,
-0.00345377204939723,
-0.005028059706091881,
0.03133644908666611,
-0.02113102562725544,
0.013973175548017025,
-0.007359850220382214,
0.008602593094110489,
0.051255472004413605,
0.05093929544091225,
0.03572776913642883,
-0.033584803342819214,
-0.043140314519405365,
-0.08016791194677353,
0.06745065748691559,
-0.004266166128218174,
0.0009452313533984125,
-0.005484757013618946,
-0.03994343429803848,
0.029070530086755753,
0.04510762542486191,
-0.037027597427368164,
0.03045818582177162,
-0.06225133314728737,
-0.0029707271605730057,
-0.006398151163011789,
-0.003996099811047316,
0.011821430176496506,
-0.01385900191962719,
-0.03337402269244194,
-0.059897586703300476,
0.010073685087263584,
0.011408645659685135,
-0.04531840980052948,
-0.04777754843235016,
-0.03167019039392471,
0.026822173967957497,
-0.015984399244189262,
-0.0008250189712271094,
0.00019637428340502083,
0.008260070346295834,
-0.0005406811251305044,
-0.02097293734550476,
0.013472565449774265,
0.033040281385183334,
0.010899253189563751,
0.04626693204045296,
0.02893000654876232,
-0.05266069248318672,
-0.006455238442867994,
0.045142754912376404,
-0.009783857502043247,
-0.01657283678650856,
-0.004839233122766018,
0.023168597370386124,
-0.05480365827679634,
-0.024363035336136818,
-0.06031915172934532,
-0.08248653262853622,
-0.0124449972063303,
-0.01768823154270649,
-0.029948793351650238,
-0.06411325186491013,
-0.020164934918284416,
0.012471345253288746,
-0.0007015131413936615,
-0.04415909945964813,
-0.02121885120868683,
-0.011724820360541344,
0.01657283678650856,
0.0017740927869454026,
0.022553812712430954,
0.012822650372982025,
0.06365655362606049,
-0.028543571010231972,
0.04890172556042671,
0.0030717274639755487,
-0.005006103310734034,
0.04886659234762192,
0.007526719942688942,
-0.023010509088635445,
0.013718479312956333,
-0.004738232586532831,
0.0050763641484081745,
-0.01958528161048889,
-0.025996606796979904,
0.02863139659166336,
0.028209831565618515,
0.031195927411317825,
0.014912918210029602,
0.0352008119225502,
-0.00466797174885869,
-0.016449879854917526,
-0.043597012758255005,
-0.015000744722783566,
-0.07363363355398178,
-0.03857334330677986,
0.055681921541690826,
-0.024819733574986458,
-0.028543571010231972,
0.034252285957336426,
0.004321057349443436,
0.008738724514842033,
0.029667748138308525,
-0.06130280718207359,
-0.053398434072732925,
0.012892911210656166,
-0.014350829645991325,
-0.10665635019540787,
-0.0355696827173233,
0.019655542448163033,
0.04626693204045296,
0.050412338227033615,
-0.07363363355398178,
0.042753878980875015,
-0.02311590127646923,
0.05044746771454811,
-0.014614308252930641,
0.07461728900671005,
0.017863884568214417,
-0.02671678178012371,
0.01255917176604271,
0.010381077416241169,
-0.017837535589933395,
-0.012884128838777542,
-0.029421834275126457,
0.010626991279423237,
-0.030756795778870583,
-0.05866801738739014,
0.04472118988633156,
-0.06787221878767014,
-0.016599183902144432,
0.023396946489810944,
0.027700437232851982,
0.029966358095407486,
-0.009054899215698242,
-0.03182827681303024,
0.014781178906559944,
-0.048269376158714294,
-0.004659188911318779,
-0.01522909291088581,
0.018654322251677513,
-0.01868945173919201,
0.00012583872012328357,
0.07138527929782867,
0.03210932016372681,
-0.007403763011097908,
-0.0014348633121699095,
0.05006103217601776,
-0.00903733354061842,
-0.044510405510663986,
-0.006051237229257822,
0.007834112271666527,
-0.02274703048169613,
0.050869036465883255,
0.0008014156483113766,
-0.041910745203495026,
0.0024108339566737413,
-0.05266069248318672,
0.010802644304931164,
-0.01875971257686615,
0.03084462136030197,
0.026892434805631638,
-0.01828545145690441,
0.008062461391091347,
-0.020551370456814766,
0.009555509313941002,
-0.03207419067621231,
0.003982925787568092,
-0.03123105876147747,
0.022834856063127518,
0.0005162543966434896,
0.0428592711687088,
0.007697981782257557,
0.03734377399086952,
-0.003798490623012185,
-0.028596267104148865,
-0.028754353523254395,
-0.036641161888837814,
0.014104915782809258,
0.06411325186491013,
0.012726041488349438,
0.08838845789432526,
0.007188588380813599,
0.03822203725576401,
-0.04219178855419159,
0.07904373854398727,
0.02787609025835991,
-0.07623329013586044,
-0.002107833046466112,
-0.0436321422457695,
0.03952186927199364,
0.012392301112413406,
-0.026383042335510254,
0.02894757315516472,
0.03298758715391159,
-0.007601372431963682,
-0.005388148128986359,
0.007706764154136181,
-0.011724820360541344,
0.0031441841274499893
] |
730,006 | mmengine.config.config | __setstate__ | null | def __setstate__(self, state: Tuple[dict, Optional[str], Optional[str],
dict, bool, set]):
super().__setattr__('_cfg_dict', state[0])
super().__setattr__('_filename', state[1])
super().__setattr__('_text', state[2])
super().__setattr__('_env_variables', state[3])
super().__setattr__('_format_python_code', state[4])
super().__setattr__('_imported_names', state[5])
| (self, state: Tuple[dict, Optional[str], Optional[str], dict, bool, set]) | [
-0.014973319135606289,
-0.0281479861587286,
0.05878070741891861,
0.006564154755324125,
-0.03751210495829582,
-0.028092358261346817,
-0.05607345700263977,
0.034545253962278366,
-0.00854360032826662,
-0.045207370072603226,
-0.03691873699426651,
0.06211841478943825,
0.0031661847606301308,
0.08077248185873032,
-0.036844562739133835,
0.02019312046468258,
0.010875358246266842,
0.05065895617008209,
-0.04364977404475212,
-0.028185071423649788,
-0.023345397785305977,
-0.014806434512138367,
0.02408711053431034,
0.044799428433179855,
0.006744947284460068,
0.009883318096399307,
-0.003926440142095089,
-0.01641038805246353,
0.05462712049484253,
-0.03302474692463875,
-0.0027976464480161667,
-0.04101669788360596,
-0.011895213276147842,
0.013786579482257366,
0.0490642748773098,
-0.045207370072603226,
-0.018227582797408104,
0.061747558414936066,
-0.015594503842294216,
-0.005613835994154215,
-0.0008489130414091051,
-0.039236586540937424,
-0.024457966908812523,
0.019414322450757027,
-0.004211535677313805,
0.0537741482257843,
0.008826377801597118,
0.03480485454201698,
0.0433901771903038,
-0.03513862565159798,
0.011320386081933975,
0.0016955082537606359,
-0.008195921778678894,
0.04053458198904991,
-0.03289494663476944,
0.011876669712364674,
0.07242821902036667,
0.06145087257027626,
-0.0004264846502337605,
0.022288458421826363,
-0.041276294738054276,
0.00763500202447176,
0.00863167829811573,
-0.0902663990855217,
-0.019395779818296432,
-0.05013975873589516,
-0.05481254681944847,
0.03041020967066288,
-0.021138804033398628,
0.03512008115649223,
0.007778708823025227,
-0.028351956978440285,
-0.008803199045360088,
-0.014519020915031433,
-0.01704084314405918,
0.01039324514567852,
-0.10932841151952744,
0.049360960721969604,
-0.027777129784226418,
-0.0139163788408041,
0.006485348101705313,
0.0172169990837574,
-0.05128941312432289,
0.04083126783370972,
-0.031059207394719124,
-0.004234714433550835,
-0.010059474967420101,
0.0017465009586885571,
-0.031559862196445465,
0.005484036169946194,
-0.02091629058122635,
0.06972096860408783,
0.008219100534915924,
0.03845778852701187,
0.010893900878727436,
-0.004580073989927769,
-0.00926213338971138,
-0.00757937366142869,
-0.03337705880403519,
-0.0021892106160521507,
-0.05484963208436966,
-0.08210756629705429,
-0.0031777741387486458,
-0.06122836098074913,
-0.032283034175634384,
-0.0594482496380806,
0.01767129823565483,
-0.039199501276016235,
0.016382573172450066,
-0.07187193632125854,
-0.037567734718322754,
-0.03682602196931839,
-0.010087288916110992,
0.017226271331310272,
0.021250059828162193,
-0.007129710633307695,
-0.0021266285330057144,
-0.048100050538778305,
0.007639637682586908,
0.009025712497532368,
-0.0028625463601201773,
0.06846005469560623,
0.00017717076116241515,
0.09568089991807938,
0.012080640532076359,
0.05132649838924408,
0.022696400061249733,
0.037567734718322754,
0.0801791101694107,
-0.06293430179357529,
-0.028926784172654152,
0.01556668896228075,
-0.00793168693780899,
0.023790426552295685,
0.014964047819375992,
0.02874135598540306,
-0.0051595368422567844,
0.004447956569492817,
-0.036306820809841156,
0.0008929522009566426,
0.024161281064152718,
-0.004760866519063711,
0.013721679337322712,
-0.01870969496667385,
0.05232781171798706,
0.03450816869735718,
0.023753339424729347,
-0.014444849453866482,
-0.03584325313568115,
0.009109155274927616,
0.04012664034962654,
-0.03754919022321701,
-0.05815025418996811,
0.015195833519101143,
-0.05054770037531853,
0.0515860989689827,
-0.011274028569459915,
-0.005521121900528669,
0.0066058761440217495,
0.023530825972557068,
0.005437679123133421,
-0.05777939781546593,
-0.014148164540529251,
-0.002135900082066655,
-0.007685994729399681,
0.0232712272554636,
-0.020230205729603767,
-0.09123062342405319,
0.0003427522606216371,
-0.0386803038418293,
-0.028926784172654152,
-0.0726507306098938,
-0.014537563547492027,
0.08433270454406738,
0.009081341326236725,
0.04657953977584839,
0.003323798766359687,
-0.03013206645846367,
-0.030113523826003075,
-0.004760866519063711,
0.04691331088542938,
-0.01725408434867859,
-0.09145314246416092,
0.08982137590646744,
0.028815526515245438,
0.001222666585817933,
-0.03474922478199005,
0.033543944358825684,
0.03308037295937538,
0.047469593584537506,
0.041498810052871704,
-0.02720230259001255,
-0.02506987936794758,
-0.016642171889543533,
-0.013156124390661716,
0.040423326194286346,
-0.011153500527143478,
-0.09130480140447617,
0.03882864490151405,
0.03361811488866806,
-0.009391933679580688,
-0.00786678772419691,
0.019896434620022774,
-0.008501878939568996,
0.02349374070763588,
0.005205893889069557,
0.007746259216219187,
-0.016781242564320564,
0.006123763043433428,
0.02462485246360302,
0.015103119425475597,
-0.056370142847299576,
-0.009354847483336926,
0.04546697065234184,
0.029928095638751984,
-0.09872192144393921,
0.07795397192239761,
0.03665913641452789,
0.01231242623180151,
0.01952558010816574,
0.1257944256067276,
0.04224052280187607,
0.029260555282235146,
-0.025181137025356293,
0.02801818586885929,
-0.006851568352431059,
-0.01893221028149128,
-0.0773606076836586,
-0.04116503894329071,
0.020452719181776047,
-0.0314486064016819,
0.004436367191374302,
-0.004941659048199654,
0.004774773493409157,
0.03669622167944908,
0.03487902507185936,
0.026219533756375313,
-0.04776627942919731,
-0.07072228193283081,
0.01644747331738472,
0.002832414349541068,
-0.003207906149327755,
0.011403827928006649,
-0.035806167870759964,
-0.04224052280187607,
-0.016521643847227097,
0.0016051119891926646,
0.08767040818929672,
-0.05292117968201637,
0.02462485246360302,
0.0314486064016819,
-0.004526763688772917,
-0.05128941312432289,
0.021936144679784775,
-0.025811592116951942,
-0.0008141452562995255,
0.03202343359589577,
0.03565782308578491,
0.005669464357197285,
-0.025329478085041046,
0.022121572867035866,
-0.06679120659828186,
-0.008455521427094936,
0.008891277946531773,
0.06430646777153015,
0.024476509541273117,
0.06182172894477844,
-0.03100357949733734,
-0.0824042484164238,
0.0091972341760993,
0.11733890324831009,
0.04876759275794029,
-0.02100900374352932,
0.05447877570986748,
-0.03801276162266731,
-0.04446566104888916,
0.006499255076050758,
-0.05421917885541916,
-0.0139163788408041,
-0.03541676700115204,
0.09338159114122391,
0.002510232850909233,
0.05529465898871422,
0.06515943259000778,
0.03202343359589577,
-0.030057895928621292,
-0.023475198075175285,
0.017068656161427498,
0.01208991277962923,
-0.009818417951464653,
0.017587855458259583,
0.05421917885541916,
0.030243324115872383,
0.03085523657500744,
0.06578989326953888,
-0.020100407302379608,
-0.08893132209777832,
0.0405716672539711,
0.028982412070035934,
-0.02214011549949646,
0.04027498513460159,
-0.037567734718322754,
-0.009679347276687622,
0.05685225501656532,
0.028185071423649788,
-0.012850167229771614,
0.03213468939065933,
0.023159969598054886,
0.021565288305282593,
0.011042243801057339,
0.05714894086122513,
0.046876225620508194,
-0.061747558414936066,
0.025051336735486984,
0.06560446321964264,
-0.0295572392642498,
-0.009670075960457325,
-0.03550948202610016,
-0.02236262895166874,
0.05733437091112137,
-0.0694984495639801,
-0.07398581504821777,
-0.0149362338706851,
-0.02163945883512497,
0.017967984080314636,
-0.011487270705401897,
0.04390937462449074,
-0.0130541380494833,
-0.014899147674441338,
0.0012354147620499134,
-0.12282757461071014,
0.018311025574803352,
0.04268554970622063,
0.03202343359589577,
-0.034267112612724304,
-0.0016537868650630116,
-0.03054000809788704,
-0.004677423741668463,
0.00001952065395016689,
-0.05273575335741043,
0.03971869871020317,
0.04902718961238861,
-0.047098737210035324,
-0.00960517581552267,
-0.00016094579768832773,
-0.007653545122593641,
-0.02210303023457527,
-0.022214286029338837,
0.0930849090218544,
0.01025417447090149,
-0.06627200543880463,
-0.0418325811624527,
0.003615848021581769,
0.01581701636314392,
0.047877535223960876,
-0.0358617939054966,
-0.040200814604759216,
-0.027777129784226418,
-0.012386597692966461,
-0.04887884855270386,
0.0072363317012786865,
-0.02110171876847744,
-0.017291171476244926,
0.019766636192798615,
0.016595814377069473,
0.0028347321785986423,
-0.02720230259001255,
-0.021991772577166557,
0.020397091284394264,
-0.03276514634490013,
0.04201800748705864,
-0.1179322749376297,
-0.028722813352942467,
0.00769063038751483,
0.045615311712026596,
0.025514906272292137,
-0.029223470017313957,
-0.00782043021172285,
-0.041906751692295074,
-0.0019504718948155642,
0.03667767718434334,
-0.02837049961090088,
0.06556737422943115,
0.06375018507242203,
0.01023563090711832,
0.020452719181776047,
0.04754376411437988,
0.020656690001487732,
0.07558049261569977,
0.024828823283314705,
-0.050399359315633774,
0.05607345700263977,
0.005066822748631239,
0.005720457062125206,
0.009707161225378513,
0.004318156745284796,
0.0262566190212965,
-0.007964137010276318,
0.021157346665859222,
-0.006573426071554422,
0.028481757268309593,
-0.04468817263841629,
-0.0005904725985601544,
0.0251625943928957,
0.05588803067803383,
0.021713631227612495,
0.01870042458176613,
0.057445626705884933,
-0.020638147369027138,
-0.060523733496665955,
0.053477466106414795,
0.008297907188534737,
-0.03050292283296585,
-0.055962201207876205,
-0.0027675144374370575,
-0.012108455412089825,
0.02462485246360302,
-0.013434265740215778,
0.05418209359049797,
0.007565466687083244,
0.023975852876901627,
0.03916241601109505,
0.01974809356033802,
0.0196553785353899,
0.002723475219681859,
0.027053959667682648,
-0.03295057266950607,
-0.030354579910635948,
0.04505902901291847,
0.019006380811333656,
-0.019265979528427124,
0.03456379845738411,
-0.057816483080387115,
0.060486648231744766,
0.0344339981675148,
-0.025514906272292137,
0.008233007974922657,
-0.0405716672539711,
-0.03326580300927162,
0.016688529402017593,
0.0036969727370887995,
-0.004904573317617178,
0.02764732949435711,
0.020582519471645355,
0.033766455948352814,
-0.006341641303151846,
-0.036529336124658585,
0.07965991646051407,
0.0298724677413702,
-0.0034860484302043915,
-0.024977166205644608,
-0.004281071480363607,
-0.025644706562161446,
-0.0348975695669651,
-0.00701381778344512,
0.012813081964850426,
-0.02597847767174244,
-0.009456832893192768,
-0.00709262490272522,
0.01969246380031109,
-0.019043466076254845,
-0.016911042854189873,
-0.024643395096063614,
0.04164715111255646,
-0.002881089225411415,
-0.02100900374352932,
-0.018969295546412468,
-0.021083176136016846,
-0.0017302760388702154,
0.011440914124250412,
-0.024272538721561432,
0.0010210134787485003,
-0.00944292638450861,
0.0053449650295078754,
-0.031207550317049026,
-0.01208991277962923,
-0.016669986769557,
-0.030577093362808228,
-0.07113022357225418,
-0.04420606046915054,
0.007083353586494923,
0.026516219601035118,
0.01055085938423872,
0.0053542363457381725,
0.010838272981345654,
-0.019265979528427124,
0.05811316892504692,
-0.021120261400938034,
0.0544046051800251,
0.02977975271642208,
-0.02584867738187313,
-0.009772061370313168,
0.013452809303998947,
-0.036399535834789276,
0.0013559430371969938,
0.021472575142979622,
-0.040868353098630905,
0.014194521121680737,
0.020360006019473076,
-0.03916241601109505,
-0.026590390130877495,
-0.024420881643891335,
-0.010541588068008423,
0.012442225590348244,
0.0295572392642498,
0.004153589718043804,
-0.03474922478199005,
-0.0038244547322392464,
-0.008441613987088203,
-0.02258514240384102,
0.006406540982425213,
0.015826288610696793,
0.010467416606843472,
-0.038161102682352066,
0.012738910503685474,
-0.06501109153032303,
-0.02679436095058918,
0.04962056130170822,
-0.04298223555088043,
-0.004668152425438166,
0.032190319150686264,
0.017476599663496017,
0.009299219585955143,
-0.03159694746136665,
-0.007639637682586908,
-0.0016109066782519221,
0.07457918673753738,
-0.02340102754533291,
0.015409075655043125,
0.0040168361738324165,
-0.01707792840898037,
-0.02883407101035118,
-0.012850167229771614,
0.07435666769742966,
0.013582608662545681,
0.030020810663700104,
0.017634212970733643,
0.01312830951064825,
-0.03406314179301262,
-0.008144929073750973,
0.010003846138715744,
-0.007574738003313541,
0.012757453136146069,
0.011505814269185066,
0.01055085938423872,
-0.008056851103901863,
-0.06549320369958878,
-0.008826377801597118,
-0.021083176136016846,
-0.027999643236398697,
-0.02028583362698555,
-0.07802814245223999,
-0.024068567901849747,
-0.007505202665925026,
-0.022214286029338837,
-0.09360411018133163,
0.07261364161968231,
0.029649954289197922,
0.010745558887720108,
0.016744157299399376,
-0.02512550726532936,
0.023567911237478256,
-0.01806996949017048,
-0.0026400326751172543,
0.03302474692463875,
-0.015130933374166489,
-0.02087920531630516,
0.006948918104171753,
-0.02091629058122635,
0.0005455642240121961,
0.02877844125032425,
0.05815025418996811,
0.008858827874064445,
0.030985036864876747,
0.01749514229595661,
0.002589039970189333,
0.035268425941467285,
0.05481254681944847,
0.0053681437857449055,
-0.007797251921147108,
0.03157840669155121,
0.045429885387420654,
-0.058261509984731674,
-0.013545523397624493,
-0.023975852876901627,
-0.003497637575492263,
-0.022566599771380424,
0.07383747398853302,
-0.020211663097143173,
-0.02874135598540306,
-0.06504818052053452,
-0.0005449847667478025,
0.05529465898871422,
-0.0212315171957016,
-0.03997829928994179,
0.005423772148787975,
0.029668496921658516,
-0.040423326194286346,
0.017133556306362152,
-0.008501878939568996,
-0.04984307289123535,
0.010040931403636932,
-0.010365431196987629,
-0.010699201375246048,
0.008413800038397312,
-0.024142738431692123,
0.009707161225378513,
0.08121751248836517,
-0.025830134749412537,
0.008914455771446228,
0.010133645497262478,
-0.002570497104898095,
0.027851300314068794,
-0.00655024778097868,
-0.04572657123208046,
-0.018311025574803352,
0.016605086624622345,
0.04027498513460159,
-0.02345665544271469,
-0.03688164800405502,
-0.07439375668764114,
-0.009354847483336926,
-0.04446566104888916,
0.0008825218537822366,
-0.042945150285959244,
-0.015038219280540943,
0.007741623092442751,
-0.011728327721357346,
-0.02896386943757534,
-0.07876985520124435,
0.0003946141805499792,
-0.008270093239843845,
0.01915472373366356,
-0.052476152777671814,
0.006221112795174122,
0.019673921167850494,
0.023975852876901627,
0.02358645386993885,
0.0025959934573620558,
0.008552871644496918,
0.04531862959265709,
-0.009864775463938713,
0.07009182125329971,
-0.04179549589753151,
-0.00906279869377613,
0.01361969392746687,
-0.037382304668426514,
-0.02761024422943592,
0.040423326194286346,
-0.02254805713891983,
0.007004546467214823,
0.0027257930487394333,
-0.02748044580221176,
0.017291171476244926,
-0.006911832373589277,
0.044799428433179855,
-0.017420969903469086,
-0.00579462805762887,
0.06656868755817413,
-0.039236586540937424,
-0.07728643715381622,
0.02443942427635193,
0.004042332526296377,
0.02675727568566799,
0.04902718961238861,
0.019952064380049706,
-0.07064810395240784,
0.03665913641452789,
0.027554616332054138,
-0.030651265755295753,
0.03232011944055557,
-0.010365431196987629,
0.0015239872736856341,
-0.007862151600420475,
-0.010652844794094563,
-0.0386803038418293,
0.03665913641452789,
-0.009276040829718113,
0.05277283862233162,
-0.007129710633307695,
-0.047061651945114136,
0.037530649453401566,
0.01780109852552414,
-0.03335851430892944,
0.00703699653968215,
0.054552946239709854,
-0.014444849453866482,
-0.006327733863145113,
0.04038624092936516,
-0.037382304668426514,
-0.02666456066071987,
-0.019896434620022774,
-0.02050834894180298,
0.015409075655043125,
-0.034322742372751236,
-0.05963367968797684,
0.001561072887852788,
-0.11073766648769379,
0.010152189061045647,
-0.042092178016901016,
0.005576750263571739,
0.0229559987783432,
-0.009322398342192173,
-0.02024874836206436,
0.012025012634694576,
-0.05878070741891861,
-0.014852791093289852,
-0.017560040578246117,
-0.005298607982695103,
-0.04216635227203369,
0.044131889939308167,
-0.03267243131995201,
-0.0106157585978508,
0.001125316834077239,
0.03771607577800751,
-0.02458776719868183,
0.02195468731224537,
-0.03908824548125267,
-0.004299614112824202,
0.010986614972352982,
-0.029316183179616928,
0.01258129719644785,
0.0074959308840334415,
0.004042332526296377,
0.048100050538778305,
-0.04216635227203369,
-0.04713582247495651,
0.03059563785791397,
0.05892905220389366,
0.007862151600420475,
-0.037122707813978195,
-0.0033006202429533005,
-0.07087062299251556,
-0.020656690001487732,
-0.0069767325185239315,
-0.026275161653757095,
0.05648139864206314,
0.03808693215250969,
0.00314068840816617,
0.07142690569162369,
0.013471351936459541,
0.03274660184979439,
-0.011264757253229618,
0.0021660320926457644,
-0.04164715111255646,
0.050176844000816345,
-0.009836960583925247,
-0.02087920531630516,
-0.010884629562497139,
0.05748271197080612,
-0.0015564371133223176,
0.04453983157873154,
-0.0018090829253196716,
0.0074866595678031445,
0.06293430179357529,
-0.05915156379342079,
-0.0006321939290501177,
0.00029784388607367873,
0.010337616316974163,
-0.007709173485636711,
-0.04835965111851692,
-0.02738773077726364,
0.01861698180437088,
-0.00010930117423413321,
0.07398581504821777,
0.03957035765051842,
-0.030169151723384857,
0.006295284256339073
] |
730,007 | mmengine.config.config | _dict_to_config_dict | Recursively converts ``dict`` to :obj:`ConfigDict`.
Args:
cfg (dict): Config dict.
scope (str, optional): Scope of instance.
has_scope (bool): Whether to add `_scope_` key to config dict.
Returns:
ConfigDict: Converted dict.
| @staticmethod
def _dict_to_config_dict(cfg: dict,
scope: Optional[str] = None,
has_scope=True):
"""Recursively converts ``dict`` to :obj:`ConfigDict`.
Args:
cfg (dict): Config dict.
scope (str, optional): Scope of instance.
has_scope (bool): Whether to add `_scope_` key to config dict.
Returns:
ConfigDict: Converted dict.
"""
# Only the outer dict with key `type` should have the key `_scope_`.
if isinstance(cfg, dict):
if has_scope and 'type' in cfg:
has_scope = False
if scope is not None and cfg.get('_scope_', None) is None:
cfg._scope_ = scope # type: ignore
cfg = ConfigDict(cfg)
dict.__setattr__(cfg, 'scope', scope)
for key, value in cfg.items():
cfg[key] = Config._dict_to_config_dict(
value, scope=scope, has_scope=has_scope)
elif isinstance(cfg, tuple):
cfg = tuple(
Config._dict_to_config_dict(_cfg, scope, has_scope=has_scope)
for _cfg in cfg)
elif isinstance(cfg, list):
cfg = [
Config._dict_to_config_dict(_cfg, scope, has_scope=has_scope)
for _cfg in cfg
]
return cfg
| (cfg: dict, scope: Optional[str] = None, has_scope=True) | [
-0.004836113657802343,
0.01604817435145378,
-0.03445083275437355,
-0.034356653690338135,
-0.04087387025356293,
0.01738552190363407,
-0.0019659954123198986,
-0.009248419664800167,
0.027180181816220284,
-0.072405144572258,
0.014786169864237309,
-0.03705018386244774,
-0.004412306006997824,
-0.006649067159742117,
-0.05511379987001419,
0.00513277854770422,
0.008033504709601402,
0.038425203412771225,
-0.012186817824840546,
-0.03543030098080635,
0.04539448395371437,
-0.0384063683450222,
0.016490817070007324,
0.032209362834692,
-0.003990853205323219,
-0.005867378320544958,
0.019702335819602013,
0.014145749621093273,
-0.04780547693371773,
0.01682986319065094,
0.009352017194032669,
-0.031681958585977554,
0.04351089522242546,
0.054096661508083344,
0.00372950523160398,
-0.02915794961154461,
-0.012836655601859093,
0.062422122806310654,
-0.11527561396360397,
-0.022621897980570793,
-0.03573167324066162,
0.01896773651242256,
-0.062007732689380646,
-0.017102982848882675,
0.04433967173099518,
0.02060645818710327,
-0.00411564065143466,
0.04528146609663963,
-0.023544855415821075,
-0.03887726739048958,
0.04064783826470375,
-0.00889524631202221,
0.033452533185482025,
0.039216313511133194,
-0.012215071357786655,
-0.08250117301940918,
-0.018675779923796654,
0.01617060787975788,
0.026633940637111664,
-0.0009094200795516372,
-0.038425203412771225,
-0.01303443219512701,
-0.022829093039035797,
-0.0026746955700218678,
-0.0096628088504076,
-0.04916166141629219,
-0.10796729475259781,
-0.025597967207431793,
0.012742476537823677,
-0.0195704847574234,
-0.07620999217033386,
-0.01884530298411846,
0.006950441747903824,
-0.006098117679357529,
-0.016076426953077316,
-0.03341485932469368,
-0.048935629427433014,
0.0032162272837013006,
0.03177613765001297,
-0.02004138194024563,
0.00004793585685547441,
-0.014880348928272724,
-0.012780147604644299,
0.012864909134805202,
0.0649084597826004,
0.06279884278774261,
-0.04471639171242714,
0.033885758370161057,
0.08679575473070145,
0.009521540254354477,
0.0011642931494861841,
0.016858117654919624,
0.02868705242872238,
-0.012874327600002289,
0.03932932764291763,
0.031926825642585754,
0.012808402068912983,
-0.0019671728368848562,
-0.02880006842315197,
-0.03978138789534569,
-0.04324719309806824,
-0.01586923375725746,
-0.06310021132230759,
-0.005829706322401762,
-0.04192867875099182,
-0.09591232240200043,
-0.022188672795891762,
-0.013072104193270206,
-0.02205682173371315,
-0.005415317136794329,
-0.028837740421295166,
-0.049613721668720245,
-0.014249347150325775,
-0.010792962275445461,
0.09636438637971878,
0.0006727942381985486,
-0.03173846751451492,
-0.006696157157421112,
0.04855891317129135,
-0.012648296542465687,
-0.015944575890898705,
0.06208307668566704,
0.02156708762049675,
0.022433539852499962,
-0.00730832340195775,
0.020813653245568275,
-0.00853736512362957,
-0.009380270726978779,
0.05925769358873367,
0.0314747653901577,
0.04121291637420654,
0.0055142054334282875,
-0.04339787736535072,
-0.029515830799937248,
0.10977553576231003,
-0.020305084064602852,
-0.07620999217033386,
0.050329484045505524,
-0.028216155245900154,
0.0011578182457014918,
0.06852494925260544,
-0.0071388003416359425,
-0.00960159208625555,
-0.018864138051867485,
0.013825539499521255,
0.015181723050773144,
-0.061216626316308975,
-0.00009646033140597865,
-0.01938212476670742,
-0.03631558641791344,
-0.0023450676817446947,
0.00832546129822731,
-0.0039131552912294865,
0.1258990615606308,
-0.02320580929517746,
0.02976069785654545,
-0.03382924944162369,
-0.03409295156598091,
0.014569557271897793,
-0.037878964096307755,
-0.028574038296937943,
0.02710483781993389,
-0.00015451312356162816,
-0.042983490973711014,
0.02546611614525318,
-0.03819917514920235,
-0.026878807693719864,
-0.09289858490228653,
0.01549251563847065,
0.006295894738286734,
-0.005241084843873978,
0.006813881453126669,
0.013166283257305622,
-0.008245408535003662,
-0.01403273455798626,
0.02977953478693962,
0.01780932955443859,
-0.020305084064602852,
-0.0460725761950016,
0.017451446503400803,
0.024769188836216927,
0.005763780791312456,
0.00695515051484108,
0.016782773658633232,
0.028894247487187386,
0.011320366524159908,
0.004504131153225899,
0.021397564560174942,
-0.005641347728669643,
-0.019005408510565758,
-0.0031408837530761957,
0.003009032690897584,
0.02301745116710663,
0.0003390459169168025,
0.022829093039035797,
-0.007402502931654453,
-0.038801923394203186,
0.06924071162939072,
-0.015144051052629948,
0.0861930102109909,
-0.008099430240690708,
-0.044452689588069916,
0.0027076585683971643,
0.008165355771780014,
-0.03944234177470207,
-0.014287019148468971,
0.005702564027160406,
-0.01187602523714304,
0.004963255487382412,
0.02156708762049675,
-0.054963111877441406,
-0.016867535188794136,
0.042983490973711014,
-0.03625907748937607,
-0.01154639758169651,
-0.0005321137723512948,
0.03578818216919899,
0.030363446101546288,
-0.011442800052464008,
0.003979080822318792,
0.054887767881155014,
-0.006540760863572359,
0.05876795947551727,
-0.014334108680486679,
0.016067009419202805,
-0.05786383897066116,
-0.04471639171242714,
0.004289872944355011,
0.04211703687906265,
0.008090012706816196,
0.04354856535792351,
0.007444883696734905,
0.01852509193122387,
-0.01731959544122219,
0.1280086785554886,
-0.04223005473613739,
0.007355412933975458,
-0.03286862000823021,
0.06453174352645874,
0.013298134319484234,
0.035524480044841766,
0.026690449565649033,
-0.04562051221728325,
0.004546511918306351,
-0.04253142699599266,
-0.010548095218837261,
0.040986884385347366,
0.021303385496139526,
0.04935001954436302,
-0.001537479110993445,
0.026765791699290276,
0.0023674352560192347,
-0.035882361233234406,
0.07443941384553909,
-0.01504045445472002,
0.03382924944162369,
0.011009574867784977,
-0.012441102415323257,
0.0070634568110108376,
-0.019947202876210213,
0.056658342480659485,
0.0038542929105460644,
-0.0088669927790761,
0.008330170065164566,
-0.031135717406868935,
-0.020399263128638268,
0.05590490624308586,
-0.03895261138677597,
-0.03827451914548874,
0.03834986314177513,
0.09734385460615158,
0.03955535963177681,
0.09448079764842987,
-0.017969435080885887,
-0.005942721851170063,
0.013505329377949238,
0.06875097751617432,
-0.014484795741736889,
0.02648325450718403,
0.01913725957274437,
-0.001663444098085165,
-0.05959673970937729,
-0.03207751363515854,
0.033452533185482025,
0.0386512354016304,
0.014042152091860771,
-0.06125429645180702,
0.05680903047323227,
0.03688066452741623,
0.012280996888875961,
0.053192537277936935,
-0.03482755273580551,
0.025409609079360962,
0.042079366743564606,
0.018788795918226242,
-0.012770730070769787,
-0.054887767881155014,
-0.04550749808549881,
0.0384063683450222,
0.007374248933047056,
0.03499707579612732,
0.06871330738067627,
0.015388918109238148,
0.07628533244132996,
0.0694667398929596,
0.04087387025356293,
0.039517685770988464,
-0.03689949959516525,
0.009775823913514614,
0.027443883940577507,
-0.05722341686487198,
-0.0010147832799702883,
0.03676764667034149,
0.07459010183811188,
-0.01273305807262659,
-0.006418327800929546,
0.008984717540442944,
-0.035769347101449966,
0.0013055623276159167,
0.011923114769160748,
-0.07620999217033386,
0.06660369038581848,
-0.014682572335004807,
-0.053192537277936935,
-0.00963455531746149,
-0.03445083275437355,
0.0759086161851883,
0.050517842173576355,
0.00930021796375513,
0.03966837376356125,
-0.060613878071308136,
-0.03431898355484009,
0.04746643081307411,
0.05571654811501503,
-0.0017894090851768851,
0.007642660290002823,
0.025842834264039993,
0.004165085032582283,
-0.03092852234840393,
-0.06027483195066452,
0.027255525812506676,
0.02994905784726143,
-0.0035694001708179712,
-0.03748341277241707,
-0.03524193912744522,
0.017413776367902756,
-0.008433767594397068,
0.021228041499853134,
0.015652621164917946,
0.024863367900252342,
0.013505329377949238,
0.02011672593653202,
0.06031250208616257,
0.06716876477003098,
-0.035882361233234406,
-0.009672227315604687,
0.04076085612177849,
-0.06875097751617432,
0.0014491858892142773,
-0.039291657507419586,
0.07564491033554077,
0.05518914386630058,
-0.015831561759114265,
-0.012036130763590336,
0.0555281899869442,
0.032473064959049225,
-0.06618929654359818,
-0.002321522915735841,
0.036372095346450806,
-0.030664820224046707,
-0.004207465797662735,
-0.01852509193122387,
0.057750824838876724,
-0.02844218537211418,
-0.015944575890898705,
0.05274047702550888,
-0.04577120020985603,
0.027538063004612923,
-0.020079053938388824,
0.03573167324066162,
0.030306939035654068,
0.042682114988565445,
0.00332688819617033,
0.0006769146420992911,
0.05906933546066284,
-0.061103612184524536,
0.057148076593875885,
-0.05025414004921913,
0.03209634870290756,
-0.009012971073389053,
-0.02836684323847294,
0.0317196287214756,
-0.01815779320895672,
0.04271978884935379,
-0.031003866344690323,
-0.03213401883840561,
-0.04305883124470711,
0.01763038896024227,
0.024505486711859703,
0.024448977783322334,
0.03207751363515854,
-0.0560179203748703,
0.04260677099227905,
0.0032068095169961452,
0.04806917905807495,
0.014569557271897793,
0.011113172397017479,
0.02162359654903412,
0.018393240869045258,
0.0018105994677171111,
0.04818219318985939,
-0.00889524631202221,
-0.034413162618875504,
0.056356966495513916,
0.007482555229216814,
0.008245408535003662,
0.05025414004921913,
-0.01184777170419693,
-0.01768689602613449,
0.009497994557023048,
0.06852494925260544,
-0.04739108681678772,
-0.009898257441818714,
0.047240398824214935,
0.04855891317129135,
-0.011791263706982136,
-0.019702335819602013,
0.0022438247688114643,
-0.014654318802058697,
-0.0020848968997597694,
-0.005919176619499922,
-0.002352131064981222,
0.045243795961141586,
-0.0698811337351799,
0.03640976548194885,
0.01590690389275551,
0.013392314314842224,
-0.01962699182331562,
0.006460708566009998,
0.052778150886297226,
-0.014126913622021675,
0.05025414004921913,
-0.024750351905822754,
-0.0034092951100319624,
-0.02915794961154461,
0.020681802183389664,
-0.047240398824214935,
0.05168566852807999,
-0.0034705118741840124,
-0.018543928861618042,
-0.014550721272826195,
-0.0173666849732399,
0.020493442192673683,
-0.01552076917141676,
-0.03087201528251171,
-0.02831033430993557,
0.02241470292210579,
0.046449292451143265,
0.0032986344303935766,
0.06283651292324066,
-0.0032986344303935766,
-0.013863211497664452,
0.004268682561814785,
0.02273491397500038,
-0.05500078573822975,
0.021341057494282722,
0.041288260370492935,
0.011941950768232346,
-0.04806917905807495,
-0.01864752545952797,
0.05402131751179695,
0.03827451914548874,
-0.021981477737426758,
0.04433967173099518,
-0.009446196258068085,
-0.02618188038468361,
0.05925769358873367,
-0.008575036190450191,
-0.06268582493066788,
-0.026163043454289436,
-0.005509496200829744,
0.01615177094936371,
-0.05183635652065277,
-0.013439403846859932,
-0.03714436665177345,
-0.04034646600484848,
-0.011226187460124493,
-0.0036800610832870007,
-0.014155167154967785,
0.07406269758939743,
-0.072405144572258,
-0.052100058645009995,
-0.017602134495973587,
0.021736610680818558,
-0.0072471066378057,
0.006554888095706701,
-0.006879806984215975,
0.05620628222823143,
0.009248419664800167,
-0.08363132923841476,
0.002488691359758377,
0.053493913263082504,
-0.0016116454498842359,
0.06479544192552567,
-0.04162730649113655,
0.0033975227270275354,
-0.031267568469047546,
0.046449292451143265,
-0.006733828689903021,
0.0021696584299206734,
-0.02216983586549759,
-0.009036515839397907,
0.03268026188015938,
-0.011527561582624912,
0.015388918109238148,
-0.02623838745057583,
-0.025164742022752762,
-0.0396307036280632,
0.0024086388293653727,
-0.030476462095975876,
-0.002851282013580203,
0.018025942146778107,
0.029817204922437668,
0.036240242421627045,
0.041288260370492935,
0.04271978884935379,
0.06713109463453293,
0.00689393375068903,
-0.026219552382826805,
-0.014720244333148003,
0.02836684323847294,
0.029967892915010452,
0.016387220472097397,
-0.010124288499355316,
0.030890850350260735,
-0.04094921424984932,
-0.002033098367974162,
-0.01157465111464262,
-0.06765849888324738,
0.009563921019434929,
0.03978138789534569,
-0.036842990666627884,
0.06366529315710068,
0.004777251277118921,
-0.007685041055083275,
0.04482940584421158,
0.07654903829097748,
-0.03917863965034485,
0.00513277854770422,
0.008876410312950611,
-0.00031314659281633794,
0.0008535010274499655,
0.017526790499687195,
0.028762396425008774,
0.003348078578710556,
-0.05857960134744644,
-0.030156251043081284,
-0.05771315097808838,
0.03365972638130188,
-0.023770887404680252,
-0.019721170887351036,
0.027180181816220284,
-0.040007419884204865,
0.0017646870110183954,
-0.0013891465496271849,
-0.037163201719522476,
-0.03981906175613403,
0.08084362000226974,
-0.027839437127113342,
0.03793547302484512,
0.012525863014161587,
-0.010397408157587051,
-0.032774440944194794,
-0.03505358099937439,
-0.006366529036313295,
0.040986884385347366,
-0.025654476135969162,
0.018214300274848938,
0.010679947212338448,
0.0036800610832870007,
-0.017941180616617203,
-0.016019919887185097,
0.016180025413632393,
0.007256524637341499,
-0.055678874254226685,
0.001993071986362338,
0.03068365715444088,
0.03695600479841232,
-0.016123518347740173,
-0.021039683371782303,
-0.016632085666060448,
0.06396666169166565,
0.019834186881780624,
-0.03394226357340813,
0.02855520136654377,
-0.05394597351551056,
-0.018864138051867485,
-0.0255226232111454,
-0.01877937652170658,
-0.04520612210035324,
-0.08084362000226974,
-0.006479544565081596,
0.019363289698958397,
0.057148076593875885,
0.01358067337423563,
-0.014324690215289593,
0.015049871988594532,
0.007223561871796846,
0.008151229470968246,
-0.048935629427433014,
-0.00519399531185627,
0.006776209454983473,
0.05341856926679611,
0.003731859615072608,
0.004789023660123348,
-0.07715178281068802,
-0.0569973886013031,
-0.01418342161923647,
-0.011913697235286236,
-0.03384808450937271,
-0.018336733803153038,
0.007572025526314974,
-0.05424734950065613,
0.0079299071803689,
-0.11022759974002838,
-0.006832717452198267,
-0.011913697235286236,
-0.05609326437115669,
-0.0193256177008152,
0.009578047320246696,
-0.0011919583193957806,
0.01683928072452545,
0.02090783230960369,
-0.020681802183389664,
-0.036353256553411484,
-0.04776780307292938,
0.026502089574933052,
-0.01938212476670742,
0.0033198248129338026,
0.01877937652170658,
0.04874727129936218,
-0.04113757237792015,
-0.008494984358549118,
0.0034917022567242384,
-0.003336306195706129,
0.014362362213432789,
0.02945932373404503,
-0.0021343412809073925,
0.0030773126054555178,
-0.045658186078071594,
0.009738152846693993,
0.01187602523714304,
-0.0070870015770196915,
-0.004414660390466452,
-0.022075656801462173,
0.0035529187880456448,
-0.004348734859377146,
-0.0012996760196983814,
-0.007783929351717234,
0.011941950768232346,
0.007124673575162888,
-0.02113386243581772,
-0.07018250972032547,
-0.021228041499853134,
-0.0026440874207764864,
0.01537008211016655,
-0.046336278319358826,
0.02011672593653202,
0.04366157948970795,
-0.05123360827565193,
0.062309108674526215,
-0.018336733803153038,
-0.040986884385347366,
-0.004789023660123348,
-0.08656972646713257,
-0.030306939035654068,
0.0022814965341240168,
0.051308952271938324,
0.0023591946810483932,
-0.011018992401659489,
-0.05123360827565193,
0.05462406575679779,
-0.04577120020985603,
0.02642674744129181,
-0.022697241976857185,
0.02648325450718403,
0.04023345187306404,
-0.05127127841114998,
0.015963412821292877,
-0.020097889006137848,
-0.002860700013116002,
-0.005580130964517593,
-0.013194537721574306,
0.030099743977189064,
-0.022094493731856346,
-0.10751523077487946,
-0.008857575245201588,
-0.04550749808549881,
-0.06219609081745148,
-0.01038799062371254,
0.046260934323072433,
-0.05771315097808838,
-0.007981706410646439,
-0.03394226357340813,
0.03868890926241875,
-0.057336434721946716,
-0.03224703669548035,
0.0069928220473229885,
0.018364988267421722,
0.033396024256944656,
-0.06415502727031708,
0.043774597346782684,
0.038010817021131516,
-0.03300046920776367,
-0.024769188836216927,
0.0723297968506813,
0.0028253826312720776,
0.000530347868334502,
-0.020154396072030067,
-0.015200559049844742,
-0.004887911956757307,
0.030419955030083656,
-0.020700637251138687,
-0.004650108981877565,
0.014390615746378899,
-0.03529844805598259,
0.011235604993999004,
0.014418870210647583,
-0.02459966577589512,
-0.056959714740514755,
-0.003967308439314365,
-0.04023345187306404,
-0.035147760063409805,
-0.004059133119881153,
-0.014927438460290432,
-0.015181723050773144,
-0.01342998631298542,
0.04339787736535072,
-0.06532284617424011,
-0.008330170065164566,
-0.025729818269610405,
0.032360050827264786,
-0.04848356917500496,
0.04076085612177849,
-0.011197933927178383,
-0.09041224420070648,
0.057939182966947556,
-0.017281925305724144,
0.021585924550890923,
-0.02096433937549591,
0.016867535188794136,
0.0495760478079319,
0.0020095533691346645,
0.0035246650222688913,
-0.004744288511574268,
-0.003927282057702541,
-0.04076085612177849,
0.04384994134306908,
-0.0099076759070158,
0.013090940192341805,
0.003458739258348942,
-0.0510452464222908,
0.0605008639395237,
-0.008273662067949772,
0.019457468762993813,
-0.028818903490900993,
-0.002321522915735841,
-0.027933618053793907
] |
730,008 | mmengine.config.config | _dict_to_config_dict_lazy | Recursively converts ``dict`` to :obj:`ConfigDict`. The only
difference between ``_dict_to_config_dict_lazy`` and
``_dict_to_config_dict_lazy`` is that the former one does not consider
the scope, and will not trigger the building of ``LazyObject``.
Args:
cfg (dict): Config dict.
Returns:
ConfigDict: Converted dict.
| @staticmethod
def _dict_to_config_dict_lazy(cfg: dict):
"""Recursively converts ``dict`` to :obj:`ConfigDict`. The only
difference between ``_dict_to_config_dict_lazy`` and
``_dict_to_config_dict_lazy`` is that the former one does not consider
the scope, and will not trigger the building of ``LazyObject``.
Args:
cfg (dict): Config dict.
Returns:
ConfigDict: Converted dict.
"""
# Only the outer dict with key `type` should have the key `_scope_`.
if isinstance(cfg, dict):
cfg_dict = ConfigDict()
for key, value in cfg.items():
cfg_dict[key] = Config._dict_to_config_dict_lazy(value)
return cfg_dict
if isinstance(cfg, (tuple, list)):
return type(cfg)(
Config._dict_to_config_dict_lazy(_cfg) for _cfg in cfg)
return cfg
| (cfg: dict) | [
-0.013136368244886398,
0.006134080234915018,
-0.01955356076359749,
-0.031859468668699265,
-0.01019200962036848,
0.04099452868103981,
0.028179019689559937,
-0.018468299880623817,
0.04805343970656395,
-0.08968968689441681,
0.02095024287700653,
0.022422421723604202,
-0.024611815810203552,
-0.012268160469830036,
-0.04242895916104317,
-0.000586571404710412,
-0.031991586089134216,
0.05967988073825836,
-0.014929407276213169,
-0.01713767647743225,
0.025933003053069115,
-0.028179019689559937,
0.013787524774670601,
0.02540452778339386,
-0.026631344109773636,
-0.048506416380405426,
0.007639288902282715,
0.030443910509347916,
-0.023951223120093346,
-0.01390076894313097,
-0.007379770278930664,
0.010295817628502846,
0.055980559438467026,
0.03174622356891632,
-0.003324199467897415,
-0.056282542645931244,
0.014429244212806225,
0.04295743629336357,
-0.09535191208124161,
-0.047109734266996384,
-0.021082362160086632,
-0.0016078368062153459,
-0.06507787108421326,
0.001837864750996232,
0.00796014815568924,
-0.00707306619733572,
-0.013834710232913494,
0.021837325766682625,
-0.0004632999771274626,
-0.0502428337931633,
0.03127437084913254,
-0.0242154598236084,
0.016137348487973213,
0.038352157920598984,
0.006577621214091778,
-0.04242895916104317,
-0.035879649221897125,
0.013136368244886398,
0.01873253658413887,
0.031576357781887054,
-0.0327276773750782,
-0.027122071012854576,
-0.005364960990846157,
0.002703713718801737,
-0.02166745811700821,
-0.06564409285783768,
-0.09414397180080414,
-0.00973903201520443,
-0.0021351317409425974,
-0.05303620174527168,
-0.08674532920122147,
-0.01697724685072899,
0.014986029826104641,
0.010078765451908112,
-0.008413126692175865,
-0.07511889189481735,
-0.032557807862758636,
0.0006399496924132109,
0.05420639365911484,
0.007360896095633507,
-0.04186273738741875,
-0.03370912745594978,
-0.031066756695508957,
-0.0008912110351957381,
0.00019640852406155318,
0.017505720257759094,
0.0009743750561028719,
0.009861713275313377,
0.07659106701612473,
0.04129651561379433,
-0.004022540990263224,
0.05420639365911484,
-0.005685820244252682,
-0.008951038122177124,
-0.004508548881858587,
0.040541552007198334,
0.025234661996364594,
0.04537331685423851,
-0.014334873296320438,
-0.005704694427549839,
-0.005917028058320284,
-0.047449469566345215,
-0.07206128537654877,
-0.010276943445205688,
-0.008252697065472603,
-0.0935400053858757,
0.012740012258291245,
-0.005261153448373079,
-0.008148889057338238,
-0.03274654969573021,
-0.03268992900848389,
-0.06379443407058716,
-0.035313427448272705,
0.019242137670516968,
0.0672672688961029,
0.0035082220565527678,
-0.037295207381248474,
-0.04552431032061577,
0.04605278745293617,
0.0007284220191650093,
-0.025668766349554062,
0.026423729956150055,
-0.032350193709135056,
0.048506416380405426,
-0.0056197610683739185,
0.04295743629336357,
0.023611489683389664,
-0.025498898699879646,
0.0515262708067894,
0.041447509080171585,
0.04118327051401138,
0.03506806492805481,
-0.0327276773750782,
-0.015231392346322536,
0.08674532920122147,
-0.01620340906083584,
-0.059151407331228256,
0.021686332300305367,
-0.013391168788075447,
0.00603499123826623,
0.02604624815285206,
-0.005199812352657318,
-0.02651810087263584,
0.01044681016355753,
0.02872636914253235,
-0.03301078826189041,
-0.03484157472848892,
0.04465610161423683,
-0.01968567818403244,
0.00023902268731035292,
-0.0036639331374317408,
0.017345290631055832,
-0.003477551508694887,
0.10690286010503769,
-0.04507133364677429,
0.01927044801414013,
-0.051752761006355286,
-0.02731081284582615,
-0.01122064795345068,
-0.0608123280107975,
-0.04118327051401138,
0.0471474826335907,
-0.02195056900382042,
-0.0396733433008194,
0.0034893478732556105,
-0.03703096881508827,
0.00689848093315959,
-0.12411603331565857,
0.001806014683097601,
0.002315615303814411,
-0.024932676926255226,
-0.01241915300488472,
0.02765054628252983,
0.02476280927658081,
-0.003765381406992674,
0.05567857250571251,
0.007705348078161478,
-0.00906900130212307,
-0.06013285741209984,
0.02849987894296646,
0.01705274172127247,
0.02249791845679283,
-0.013108056969940662,
-0.0031967994291335344,
0.018949588760733604,
0.013985702767968178,
0.014721792191267014,
0.006223732139915228,
0.030255170539021492,
-0.006134080234915018,
-0.030255170539021492,
0.018260683864355087,
0.0258952546864748,
-0.026763463392853737,
0.006247324403375387,
0.0035719219595193863,
-0.03542667254805565,
0.0489593967795372,
-0.0177793949842453,
0.05254547297954559,
-0.0592646524310112,
-0.05454612895846367,
0.009974958375096321,
-0.008469749242067337,
-0.018855217844247818,
-0.02081812359392643,
-0.00973903201520443,
0.007403363008052111,
0.022271430119872093,
0.03561541438102722,
-0.060774579644203186,
0.004024900030344725,
0.0163638386875391,
-0.013240176253020763,
-0.010701610706746578,
-0.029462458565831184,
0.05843419209122658,
0.018930714577436447,
-0.05413089692592621,
-0.024290956556797028,
0.03763493895530701,
0.010248632170259953,
0.05262096971273422,
-0.04778920114040375,
0.014485865831375122,
-0.07345797121524811,
-0.06821096688508987,
0.01302312407642603,
0.03382237255573273,
-0.005605605430901051,
0.04061704874038696,
-0.00561032397672534,
0.019666804000735283,
-0.01439149584621191,
0.14102721214294434,
-0.03544554486870766,
0.003222751198336482,
-0.04050380364060402,
0.05715075135231018,
0.03708759322762489,
0.015608874149620533,
0.028820740059018135,
-0.04254220426082611,
0.003185003064572811,
-0.022271430119872093,
0.015089836902916431,
0.022969771176576614,
0.030821392312645912,
0.02540452778339386,
0.031708475202322006,
0.012787197716534138,
0.020855871960520744,
-0.03223694860935211,
0.048695158213377,
-0.02066713199019432,
-0.005001634359359741,
0.037993546575307846,
0.0034822700545191765,
-0.013929080218076706,
-0.01544844452291727,
0.03484157472848892,
0.014665169641375542,
-0.01996878907084465,
0.04341041296720505,
-0.025725388899445534,
-0.029047228395938873,
0.04692099243402481,
-0.03823891282081604,
-0.05250772461295128,
0.06319046020507812,
0.12139816582202911,
0.02089362032711506,
0.09135060757398605,
-0.022705532610416412,
-0.0009643481462262571,
0.01724148355424404,
0.05537658929824829,
-0.010125950910151005,
0.038691889494657516,
0.0310478825122118,
-0.024328704923391342,
-0.0471474826335907,
-0.02370586059987545,
0.01579761505126953,
0.01182461902499199,
-0.018147440627217293,
-0.07274075597524643,
0.040881283581256866,
0.0257631354033947,
0.01813800260424614,
0.05424414202570915,
-0.03125549852848053,
0.05424414202570915,
0.009710720740258694,
-0.009422890841960907,
-0.026159491389989853,
-0.05503685399889946,
-0.04446736350655556,
0.02032739855349064,
-0.00030154312844388187,
0.03586077690124512,
0.025725388899445534,
-0.001559471944347024,
0.06285072863101959,
0.08130959421396255,
-0.002489021047949791,
-0.009748469106853008,
-0.03429422527551651,
0.0011371640721336007,
0.0191949512809515,
-0.054508380591869354,
-0.006959821563214064,
0.05160176753997803,
0.05884942039847374,
-0.05730174481868744,
-0.05390440672636032,
-0.01015426218509674,
-0.02102573961019516,
0.011381077580153942,
0.024253208190202713,
-0.07674206048250198,
0.07821424305438995,
-0.010041017085313797,
-0.014278250746428967,
0.008908571675419807,
-0.012749449349939823,
0.08901022374629974,
0.06862620264291763,
0.016986683011054993,
0.019279886037111282,
-0.08304600417613983,
-0.0260273739695549,
0.006497406400740147,
0.04571305215358734,
0.01122064795345068,
0.04235346242785454,
0.04763821139931679,
-0.03450183942914009,
-0.0243475791066885,
-0.0942949652671814,
0.026234988123178482,
-0.019421441480517387,
-0.01724148355424404,
-0.04099452868103981,
-0.0309157632291317,
0.009177527390420437,
0.04382564127445221,
-0.007828029803931713,
0.05186600610613823,
0.02200719155371189,
-0.005383834708482027,
-0.026216113939881325,
0.046468015760183334,
0.03971109166741371,
-0.0243475791066885,
-0.004192407708615065,
0.02914159931242466,
-0.0667387917637825,
-0.012891004793345928,
-0.029443584382534027,
0.057905714958906174,
0.030878014862537384,
-0.034954819828271866,
0.006313384044915438,
0.06024610251188278,
0.0327276773750782,
-0.05681101977825165,
-0.011428263038396835,
0.024026719853281975,
-0.0402018167078495,
-0.018100254237651825,
0.028386635705828667,
0.02244129590690136,
-0.01414613239467144,
-0.009984394535422325,
-0.006176546681672335,
-0.05658452957868576,
0.03676673397421837,
-0.015722118318080902,
0.09527642279863358,
0.030727023258805275,
0.020780375227332115,
0.03012305125594139,
-0.004329245071858168,
0.02651810087263584,
-0.05779246985912323,
0.05186600610613823,
-0.04465610161423683,
0.01916664093732834,
-0.03604951500892639,
0.0034232884645462036,
0.01962905563414097,
-0.012673953548073769,
0.06805998086929321,
0.010041017085313797,
-0.04661900922656059,
0.014684043824672699,
-0.017326416447758675,
0.012730575166642666,
0.03155748173594475,
0.02738630771636963,
-0.03818228840827942,
0.046732254326343536,
0.0016172737814486027,
0.012447464279830456,
-0.007304274011403322,
0.05850968509912491,
0.02025190182030201,
0.0373518280684948,
0.022837651893496513,
0.041523002088069916,
0.0001004160731099546,
-0.04035281017422676,
0.017165986821055412,
0.04839317500591278,
-0.025706514716148376,
0.023479370400309563,
-0.002376955933868885,
-0.01016369927674532,
0.017581216990947723,
0.09648436307907104,
-0.050846803933382034,
-0.0020195278339087963,
-0.005950057879090309,
0.017873765900731087,
-0.0038644704036414623,
-0.008743423037230968,
0.0013200067915022373,
-0.024517446756362915,
0.02872636914253235,
-0.015788178890943527,
-0.011767996475100517,
0.024649564176797867,
-0.07440166920423508,
0.022044939920306206,
-0.014032888226211071,
0.015514504164457321,
-0.0013141087256371975,
0.007091940380632877,
0.028631998226046562,
-0.003118943888694048,
0.0608123280107975,
-0.0012893364764750004,
-0.019138330593705177,
0.032708801329135895,
0.02272440679371357,
-0.016684697940945625,
0.016344964504241943,
0.03774818405508995,
0.01517477072775364,
-0.00896519422531128,
-0.008186637423932552,
0.03329389914870262,
-0.02040289342403412,
-0.05058256909251213,
-0.010484558530151844,
0.011305581778287888,
0.04627927392721176,
-0.01097528450191021,
0.0760248452425003,
0.00796014815568924,
-0.04212697595357895,
0.027273064479231834,
0.0035388923715800047,
-0.02878299169242382,
0.007889370433986187,
0.010276943445205688,
0.049487870186567307,
-0.06753150373697281,
-0.04786469787359238,
0.03399224206805229,
0.029745569452643394,
-0.008408408612012863,
0.011201773770153522,
-0.0030363695695996284,
-0.028179019689559937,
0.03574753180146217,
0.024253208190202713,
0.0021728798747062683,
-0.049487870186567307,
0.011758559383451939,
0.0026376545429229736,
0.004763348959386349,
-0.012268160469830036,
-0.028801865875720978,
-0.032916419208049774,
-0.019459189847111702,
0.00578490924090147,
-0.012824946083128452,
0.08070562034845352,
-0.06836196035146713,
0.007129688281565905,
-0.0059594945050776005,
0.012740012258291245,
0.016562016680836678,
0.009267179295420647,
-0.0176472757011652,
0.04748721793293953,
0.03914486616849899,
-0.0695699080824852,
-0.01164531521499157,
0.042579952627420425,
0.013579909689724445,
0.052734214812517166,
-0.05990637093782425,
0.005426301620900631,
-0.04008857160806656,
0.0643984004855156,
0.00509600481018424,
-0.010843166150152683,
0.011683063581585884,
-0.0062803542241454124,
0.021195605397224426,
-0.0015476755797863007,
0.023101888597011566,
-0.030878014862537384,
0.005138471722602844,
-0.008460312150418758,
-0.026272736489772797,
-0.049563366919755936,
-0.003319480922073126,
0.02223368175327778,
0.027820412069559097,
0.016165660694241524,
0.016193971037864685,
0.0345207154750824,
0.08772677928209305,
-0.010843166150152683,
0.006936228834092617,
-0.009229430928826332,
0.030538281425833702,
0.01422162912786007,
0.045826297253370285,
-0.00007490655843866989,
-0.001270462409593165,
-0.06379443407058716,
-0.00973903201520443,
-0.022818777710199356,
-0.03572865575551987,
0.030670400708913803,
0.035955145955085754,
-0.017892640084028244,
0.08387646824121475,
0.0474117211997509,
0.013362857513129711,
0.019647929817438126,
0.04933687672019005,
0.023045267909765244,
-0.047034237533807755,
0.004494393244385719,
-0.003784255590289831,
-0.02836776152253151,
-0.0022365800105035305,
-0.033841248601675034,
-0.04190048575401306,
-0.050280582159757614,
0.009993831627070904,
-0.09474794566631317,
-0.00507713109254837,
-0.006874888204038143,
-0.019912168383598328,
0.04118327051401138,
-0.03754056990146637,
0.01594860851764679,
0.01325905043631792,
-0.011409388855099678,
-0.0056669460609555244,
0.09474794566631317,
-0.024290956556797028,
0.020006537437438965,
0.042240217328071594,
-0.009621068835258484,
-0.023875726386904716,
-0.001437969971448183,
-0.0035388923715800047,
0.04284419119358063,
-0.010031579993665218,
-0.013381731696426868,
0.020421767607331276,
-0.01516533363610506,
0.009295490570366383,
-0.01676963083446026,
0.022837651893496513,
-0.0031519734766334295,
-0.038918379694223404,
-0.0060963318683207035,
0.02525353617966175,
0.06858845055103302,
0.012626768089830875,
-0.03906937316060066,
-0.021535338833928108,
0.05367792025208473,
0.003076476976275444,
-0.030179673805832863,
0.021044613793492317,
-0.025631017982959747,
-0.030387289822101593,
0.007181592285633087,
-0.010012705810368061,
-0.04107002541422844,
-0.07745927572250366,
0.007766689173877239,
0.004355196841061115,
0.05537658929824829,
-0.018543796613812447,
-0.03450183942914009,
0.04318392276763916,
-0.007502452004700899,
0.010824291966855526,
-0.029254842549562454,
-0.019912168383598328,
-0.002717869356274605,
0.056056056171655655,
0.026536975055933,
0.015929734334349632,
-0.07564736157655716,
-0.0620957650244236,
-0.03759719058871269,
-0.0035978739615529776,
-0.015656059607863426,
-0.04295743629336357,
0.00340441451407969,
-0.02731081284582615,
0.013712028041481972,
-0.07315598428249359,
-0.0048647974617779255,
0.006001961417496204,
-0.08659433573484421,
-0.0007514248136430979,
0.01354216132313013,
-0.011182899586856365,
0.01248521264642477,
0.021384347230196,
0.0025810322258621454,
-0.04790244624018669,
-0.012570145539939404,
0.03731407970190048,
0.005799064878374338,
-0.017788833007216454,
-0.007261807098984718,
0.014523614197969437,
-0.037861429154872894,
-0.034973692148923874,
0.025800883769989014,
-0.03338826820254326,
0.003076476976275444,
0.02066713199019432,
-0.002221244852989912,
0.043070677667856216,
-0.015656059607863426,
0.013919643126428127,
0.008988786488771439,
-0.0038243629969656467,
0.031576357781887054,
-0.010012705810368061,
0.008762297220528126,
0.02334725297987461,
-0.004803456366062164,
0.016042979434132576,
0.023403875529766083,
0.029670072719454765,
-0.0329730398952961,
-0.07927118986845016,
-0.037993546575307846,
0.03218032792210579,
0.012475775554776192,
-0.05375341698527336,
0.011654752306640148,
0.05220574140548706,
-0.045184578746557236,
0.04994085058569908,
-0.01654314249753952,
-0.005539546255022287,
-0.03899387642741203,
-0.04163624718785286,
-0.03399224206805229,
0.0007543739047832787,
0.043221671134233475,
0.0191949512809515,
-0.002555080223828554,
-0.04182498902082443,
0.027688294649124146,
-0.05103554576635361,
0.061907023191452026,
-0.05424414202570915,
0.011060218326747417,
0.020440641790628433,
-0.042579952627420425,
0.003118943888694048,
0.0036568553186953068,
0.015939170494675636,
0.021289976313710213,
-0.020157530903816223,
0.025593269616365433,
-0.017222609370946884,
-0.11588692665100098,
-0.006889043841511011,
-0.020082034170627594,
-0.01962905563414097,
0.004140504170209169,
0.052809711545705795,
-0.04861966148018837,
-0.004074444528669119,
-0.04952561855316162,
0.005558420438319445,
-0.022837651893496513,
0.004468441475182772,
0.0050205085426568985,
0.011135715059936047,
0.04325941950082779,
-0.017694462090730667,
0.08961419016122818,
0.050620317459106445,
-0.03329389914870262,
-0.0015028496272861958,
0.06062358617782593,
-0.018355054780840874,
-0.016344964504241943,
-0.023517118766903877,
-0.004362274426966906,
-0.006959821563214064,
0.008762297220528126,
-0.040881283581256866,
0.01521251816302538,
0.02900948002934456,
0.008578275330364704,
0.04318392276763916,
0.006922073662281036,
-0.03765381500124931,
-0.036936599761247635,
0.02489492855966091,
-0.04729847609996796,
-0.046317022293806076,
-0.00302693247795105,
0.006818266119807959,
-0.020780375227332115,
-0.0113999517634511,
0.0373518280684948,
-0.061416298151016235,
-0.010399624705314636,
-0.03816341608762741,
0.0412210188806057,
-0.02708432264626026,
0.08802876621484756,
-0.05681101977825165,
-0.10041017085313797,
0.06254874169826508,
0.009012378752231598,
0.027744915336370468,
-0.01803419552743435,
0.02708432264626026,
0.09399297833442688,
-0.0023191540967673063,
0.001691590528935194,
0.0004261416324879974,
-0.04609053581953049,
-0.04231571406126022,
-0.009262461215257645,
-0.034407470375299454,
0.0013424198841676116,
-0.00005949762635282241,
-0.04760046303272247,
0.04446736350655556,
-0.001511107082478702,
-0.012268160469830036,
-0.03516243398189545,
0.02300751954317093,
-0.04510908201336861
] |
730,009 | mmengine.config.config | _file2dict | Transform file to variables dictionary.
Args:
filename (str): Name of config file.
use_predefined_variables (bool, optional): Whether to use
predefined variables. Defaults to True.
use_environment_variables (bool, optional): Whether to use
environment variables. Defaults to True.
lazy_import (bool): Whether to load config in `lazy_import` mode.
If it is `None`, it will be deduced by the content of the
config file. Defaults to None.
Returns:
Tuple[dict, str]: Variables dictionary and text of Config.
| @staticmethod
def _file2dict(
filename: str,
use_predefined_variables: bool = True,
use_environment_variables: bool = True,
lazy_import: Optional[bool] = None) -> Tuple[dict, str, dict]:
"""Transform file to variables dictionary.
Args:
filename (str): Name of config file.
use_predefined_variables (bool, optional): Whether to use
predefined variables. Defaults to True.
use_environment_variables (bool, optional): Whether to use
environment variables. Defaults to True.
lazy_import (bool): Whether to load config in `lazy_import` mode.
If it is `None`, it will be deduced by the content of the
config file. Defaults to None.
Returns:
Tuple[dict, str]: Variables dictionary and text of Config.
"""
if lazy_import is None and Config._is_lazy_import(filename):
raise RuntimeError(
'The configuration file type in the inheritance chain '
'must match the current configuration file type, either '
'"lazy_import" or non-"lazy_import". You got this error '
'since you use the syntax like `with read_base(): ...` '
f'or import non-builtin module in {filename}. See more '
'information in https://mmengine.readthedocs.io/en/latest/advanced_tutorials/config.html' # noqa: E501
)
filename = osp.abspath(osp.expanduser(filename))
check_file_exist(filename)
fileExtname = osp.splitext(filename)[1]
if fileExtname not in ['.py', '.json', '.yaml', '.yml']:
raise OSError('Only py/yml/yaml/json type are supported now!')
try:
with tempfile.TemporaryDirectory() as temp_config_dir:
temp_config_file = tempfile.NamedTemporaryFile(
dir=temp_config_dir, suffix=fileExtname, delete=False)
if platform.system() == 'Windows':
temp_config_file.close()
# Substitute predefined variables
if use_predefined_variables:
Config._substitute_predefined_vars(filename,
temp_config_file.name)
else:
shutil.copyfile(filename, temp_config_file.name)
# Substitute environment variables
env_variables = dict()
if use_environment_variables:
env_variables = Config._substitute_env_variables(
temp_config_file.name, temp_config_file.name)
# Substitute base variables from placeholders to strings
base_var_dict = Config._pre_substitute_base_vars(
temp_config_file.name, temp_config_file.name)
# Handle base files
base_cfg_dict = ConfigDict()
cfg_text_list = list()
for base_cfg_path in Config._get_base_files(
temp_config_file.name):
base_cfg_path, scope = Config._get_cfg_path(
base_cfg_path, filename)
_cfg_dict, _cfg_text, _env_variables = Config._file2dict(
filename=base_cfg_path,
use_predefined_variables=use_predefined_variables,
use_environment_variables=use_environment_variables,
lazy_import=lazy_import,
)
cfg_text_list.append(_cfg_text)
env_variables.update(_env_variables)
duplicate_keys = base_cfg_dict.keys() & _cfg_dict.keys()
if len(duplicate_keys) > 0:
raise KeyError(
'Duplicate key is not allowed among bases. '
f'Duplicate keys: {duplicate_keys}')
# _dict_to_config_dict will do the following things:
# 1. Recursively converts ``dict`` to :obj:`ConfigDict`.
# 2. Set `_scope_` for the outer dict variable for the base
# config.
# 3. Set `scope` attribute for each base variable.
# Different from `_scope_`, `scope` is not a key of base
# dict, `scope` attribute will be parsed to key `_scope_`
# by function `_parse_scope` only if the base variable is
# accessed by the current config.
_cfg_dict = Config._dict_to_config_dict(_cfg_dict, scope)
base_cfg_dict.update(_cfg_dict)
if filename.endswith('.py'):
with open(temp_config_file.name, encoding='utf-8') as f:
parsed_codes = ast.parse(f.read())
parsed_codes = RemoveAssignFromAST(BASE_KEY).visit(
parsed_codes)
codeobj = compile(parsed_codes, filename, mode='exec')
# Support load global variable in nested function of the
# config.
global_locals_var = {BASE_KEY: base_cfg_dict}
ori_keys = set(global_locals_var.keys())
eval(codeobj, global_locals_var, global_locals_var)
cfg_dict = {
key: value
for key, value in global_locals_var.items()
if (key not in ori_keys and not key.startswith('__'))
}
elif filename.endswith(('.yml', '.yaml', '.json')):
cfg_dict = load(temp_config_file.name)
# close temp file
for key, value in list(cfg_dict.items()):
if isinstance(value,
(types.FunctionType, types.ModuleType)):
cfg_dict.pop(key)
temp_config_file.close()
# If the current config accesses a base variable of base
# configs, The ``scope`` attribute of corresponding variable
# will be converted to the `_scope_`.
Config._parse_scope(cfg_dict)
except Exception as e:
if osp.exists(temp_config_dir):
shutil.rmtree(temp_config_dir)
raise e
# check deprecation information
if DEPRECATION_KEY in cfg_dict:
deprecation_info = cfg_dict.pop(DEPRECATION_KEY)
warning_msg = f'The config file {filename} will be deprecated ' \
'in the future.'
if 'expected' in deprecation_info:
warning_msg += f' Please use {deprecation_info["expected"]} ' \
'instead.'
if 'reference' in deprecation_info:
warning_msg += ' More information can be found at ' \
f'{deprecation_info["reference"]}'
warnings.warn(warning_msg, DeprecationWarning)
cfg_text = filename + '\n'
with open(filename, encoding='utf-8') as f:
# Setting encoding explicitly to resolve coding issue on windows
cfg_text += f.read()
# Substitute base variables from strings to their actual values
cfg_dict = Config._substitute_base_vars(cfg_dict, base_var_dict,
base_cfg_dict)
cfg_dict.pop(BASE_KEY, None)
cfg_dict = Config._merge_a_into_b(cfg_dict, base_cfg_dict)
cfg_dict = {
k: v
for k, v in cfg_dict.items() if not k.startswith('__')
}
# merge cfg_text
cfg_text_list.append(cfg_text)
cfg_text = '\n'.join(cfg_text_list)
return cfg_dict, cfg_text, env_variables
| (filename: str, use_predefined_variables: bool = True, use_environment_variables: bool = True, lazy_import: Optional[bool] = None) -> Tuple[dict, str, dict] | [
0.013578773476183414,
-0.053237903863191605,
0.0050260103307664394,
-0.01754572242498398,
-0.01731785573065281,
0.03388996794819832,
-0.041761718690395355,
0.025251753628253937,
0.004940560553222895,
-0.08087190240621567,
0.002390009118244052,
-0.022745221853256226,
-0.05203642696142197,
0.027468273416161537,
-0.010937592945992947,
0.01490454189479351,
0.018653981387615204,
0.06392692029476166,
-0.027633994817733765,
-0.08468348532915115,
-0.009756830520927906,
-0.048431992530822754,
-0.014687033370137215,
0.029125483706593513,
0.03871659189462662,
-0.01188013143837452,
0.02641180157661438,
-0.017504291608929634,
0.019410084933042526,
-0.023035233840346336,
-0.049840621650218964,
-0.018053242936730385,
0.013102324679493904,
0.020901573821902275,
0.03167344629764557,
-0.09296954423189163,
0.0013710831990465522,
0.05066922679543495,
-0.09056658297777176,
-0.02264164574444294,
-0.0008680937462486327,
-0.044123243540525436,
0.006059178151190281,
-0.02336667664349079,
-0.02997480519115925,
0.053155045956373215,
-0.04453754797577858,
0.048639144748449326,
0.009958802722394466,
-0.016157807782292366,
0.04424753412604332,
-0.05858241021633148,
-0.03127985820174217,
0.08932367712259293,
-0.014780251309275627,
-0.020176544785499573,
-0.02094300463795662,
0.012698380276560783,
0.02707468532025814,
-0.025852492079138756,
0.01597137190401554,
0.021999476477503777,
0.003433534177020192,
-0.01298839133232832,
0.012750167399644852,
-0.018633266910910606,
-0.07242012023925781,
-0.007219225633889437,
-0.014780251309275627,
-0.012532658874988556,
-0.015660645440220833,
-0.04499328136444092,
0.012729452922940254,
-0.05153926461935043,
0.04950917884707451,
-0.0355057455599308,
-0.020984435454010963,
0.0008816880872473121,
0.013599487952888012,
-0.046857643872499466,
-0.023263100534677505,
-0.014334876090288162,
0.007623170968145132,
0.009166448377072811,
0.06852567940950394,
0.016323529183864594,
0.008275697939097881,
0.026950394734740257,
0.067324198782444,
-0.014780251309275627,
0.008648570626974106,
0.05137354135513306,
0.022600216791033745,
0.04408181458711624,
0.029705507680773735,
-0.05066922679543495,
0.02626679465174675,
-0.01818789169192314,
0.012895173393189907,
-0.0554751418530941,
-0.018332896754145622,
0.010352390818297863,
-0.05709092319011688,
-0.06268400698900223,
0.0015678770141676068,
-0.0270125400274992,
-0.013340549543499947,
0.02373954840004444,
0.011403683573007584,
-0.03869587928056717,
-0.11625335365533829,
-0.06450694054365158,
0.03283349424600601,
-0.02286951243877411,
0.04114026576280594,
-0.016530679538846016,
-0.06931285560131073,
0.013848070055246353,
0.023511681705713272,
0.008311949670314789,
0.019399726763367653,
0.028649035841226578,
-0.018747199326753616,
0.04714765399694443,
0.04089168459177017,
0.0099846962839365,
-0.001965348841622472,
-0.008778040297329426,
0.07134293764829636,
-0.03937947750091553,
0.04536615312099457,
0.025189608335494995,
-0.00538593577221036,
-0.01435559056699276,
0.04851485416293144,
-0.027613280341029167,
-0.029912659898400307,
0.04064309969544411,
-0.014562741853296757,
-0.008327485993504524,
0.08890937268733978,
-0.021336592733860016,
-0.002814669394865632,
-0.031321290880441666,
-0.007017252966761589,
-0.01608530431985855,
0.009963981807231903,
-0.0135062700137496,
-0.08783219009637833,
-0.022082338109612465,
0.016530679538846016,
-0.025541765615344048,
-0.11666765809059143,
0.014448809437453747,
0.001762081403285265,
0.027633994817733765,
-0.028296878561377525,
0.0214608833193779,
-0.04105740413069725,
-0.021564459428191185,
-0.04329463839530945,
-0.012480870820581913,
0.02434028685092926,
0.007783713284879923,
0.01183870155364275,
-0.010487038642168045,
0.0032937070354819298,
-0.09818975627422333,
0.014811323955655098,
-0.01068901177495718,
-0.024029560387134552,
-0.01052846945822239,
-0.02189590036869049,
0.033413518220186234,
0.009130197577178478,
-0.00012202511425130069,
0.020994793623685837,
-0.06044677272439003,
-0.02442314848303795,
0.04905344918370247,
-0.036582935601472855,
-0.01520491112023592,
-0.033703528344631195,
-0.0043113380670547485,
0.01431416068226099,
0.0344078466296196,
0.03092770092189312,
0.028296878561377525,
0.04801769182085991,
0.008363736793398857,
-0.02315952442586422,
-0.0008784513338468969,
0.029125483706593513,
0.01034203264862299,
0.023946700617671013,
-0.0015743505209684372,
-0.013381979428231716,
0.016530679538846016,
0.01767001301050186,
-0.027696140110492706,
-0.04785196855664253,
-0.04076739400625229,
0.04203101620078087,
-0.015443135984241962,
-0.026763958856463432,
-0.022082338109612465,
-0.004904308822005987,
-0.02448529377579689,
-0.03003695048391819,
0.07010003179311752,
-0.04091239720582962,
-0.051456402987241745,
0.01715213432908058,
0.015847081318497658,
0.043170347809791565,
-0.014500596560537815,
0.03608576953411102,
0.07523738592863083,
-0.03830229118466377,
0.04275604709982872,
0.07490593940019608,
0.03904803469777107,
0.05203642696142197,
-0.016551395878195763,
0.02736469730734825,
-0.023118093609809875,
-0.009829333052039146,
0.02166803553700447,
0.03927590325474739,
0.015339559875428677,
0.07594169676303864,
-0.03194274380803108,
-0.01055954210460186,
0.009119839407503605,
0.11293893307447433,
-0.04727194458246231,
0.03076198138296604,
-0.02871118113398552,
0.016095662489533424,
0.028876902535557747,
-0.024547439068555832,
0.014148439280688763,
0.01011416595429182,
-0.007245119661092758,
-0.03693509101867676,
-0.01073044165968895,
0.02750970423221588,
0.036727938801050186,
-0.02382241003215313,
-0.020549416542053223,
0.07739175856113434,
0.040808822959661484,
-0.05883099138736725,
0.06931285560131073,
-0.036355067044496536,
0.013402694836258888,
0.04573902487754822,
-0.031259145587682724,
0.046567630022764206,
-0.032522767782211304,
0.06454837322235107,
-0.026598237454891205,
0.003539699362590909,
0.012853743508458138,
0.018778273835778236,
-0.017773589119315147,
0.02848331443965435,
-0.02788257598876953,
-0.04888772591948509,
-0.028669752180576324,
0.06458979845046997,
0.08252911269664764,
0.002755113411694765,
-0.005375578533858061,
-0.060695353895425797,
0.008534637279808521,
0.06123394891619682,
-0.01157976221293211,
0.0458633154630661,
0.013910215348005295,
0.004798144102096558,
-0.014138082042336464,
0.013216258026659489,
0.032957784831523895,
0.05883099138736725,
-0.009197521023452282,
-0.10017840564250946,
-0.052865032106637955,
-0.002814669394865632,
0.02373954840004444,
-0.007783713284879923,
-0.046277619898319244,
0.03900660574436188,
0.027426842600107193,
0.04428896680474281,
-0.012294434942305088,
-0.060115329921245575,
-0.03179773688316345,
0.026826104149222374,
-0.052699312567710876,
0.01755608059465885,
0.008192837238311768,
0.021139798685908318,
0.03063768893480301,
-0.005489511881023645,
-0.027178261429071426,
0.03507072851061821,
-0.060778215527534485,
-0.0004971633316017687,
-0.01409665122628212,
0.014210584573447704,
-0.0384472981095314,
0.0850977897644043,
0.025127463042736053,
0.0032885281834751368,
-0.045614734292030334,
0.011113671585917473,
-0.0028923512436449528,
0.026826104149222374,
-0.002845742041245103,
-0.02322166971862316,
0.020901573821902275,
0.02330453135073185,
-0.010487038642168045,
0.08058188855648041,
-0.04267318546772003,
0.07428448647260666,
0.002998516196385026,
0.03645864501595497,
0.031342003494501114,
-0.08422775566577911,
-0.00014403494424186647,
-0.004122312646359205,
0.011113671585917473,
0.01648925058543682,
-0.02264164574444294,
-0.04283890500664711,
-0.0037313143257051706,
0.03167344629764557,
-0.06931285560131073,
0.03890303149819374,
-0.006825638003647327,
-0.027116116136312485,
-0.007317622657865286,
-0.012315149419009686,
-0.014997759833931923,
0.04149242118000984,
-0.0017400715732946992,
0.02753041870892048,
0.036872945725917816,
0.0011794682359322906,
0.008239446207880974,
0.005235751159489155,
0.036127202212810516,
-0.020145472139120102,
-0.06719990819692612,
-0.028359023854136467,
0.003922929521650076,
0.01513240858912468,
-0.012263362295925617,
0.023553112521767616,
0.01077187154442072,
-0.021357307210564613,
0.06231113523244858,
0.04296319559216499,
-0.011517616920173168,
-0.047023363411426544,
0.014738820493221283,
0.006644380744546652,
-0.035402171313762665,
-0.000710788182914257,
0.004453754518181086,
0.060405343770980835,
-0.05874813348054886,
0.02427814155817032,
-0.0258939228951931,
-0.046940501779317856,
0.0076387072913348675,
-0.030306247994303703,
0.05564086139202118,
0.0554751418530941,
0.05506083741784096,
-0.006789386738091707,
-0.016240667551755905,
-0.005103692412376404,
-0.017701085656881332,
0.012439440935850143,
-0.0547293946146965,
0.012781240046024323,
0.01890256442129612,
0.01106188353151083,
0.04114026576280594,
-0.03107270784676075,
0.05808524787425995,
-0.002234645653516054,
-0.002949317917227745,
-0.020466556772589684,
0.015774577856063843,
0.010404177941381931,
0.032957784831523895,
-0.011569404974579811,
-0.025272468104958534,
0.011849058791995049,
0.010326496325433254,
0.01987617462873459,
0.02425742708146572,
0.09197521209716797,
0.0296019334346056,
-0.017846092581748962,
0.05601373314857483,
0.014707747846841812,
0.03573361411690712,
-0.028524745255708694,
0.000015344172425102443,
-0.03395211324095726,
0.017732158303260803,
-0.024754589423537254,
0.00773192523047328,
0.03391068056225777,
-0.024609584361314774,
-0.023138809949159622,
-0.032377760857343674,
0.0034853219985961914,
0.026308225467801094,
-0.017877165228128433,
0.0458633154630661,
-0.0784689411520958,
0.015577783808112144,
-0.06649559736251831,
-0.013910215348005295,
-0.026018213480710983,
0.009699863381683826,
0.0017193565145134926,
-0.011983707547187805,
0.035464316606521606,
-0.03937947750091553,
0.0008201900054700673,
-0.053072184324264526,
0.022248059511184692,
-0.012190858833491802,
0.013941287994384766,
0.060405343770980835,
0.05754665285348892,
0.013350906781852245,
-0.04992348328232765,
0.05866527184844017,
-0.10962451249361038,
0.03950376808643341,
-0.031259145587682724,
0.006478659342974424,
-0.05091781169176102,
0.007597276940941811,
0.011465828865766525,
-0.023635972291231155,
-0.006561520043760538,
-0.03623077645897865,
-0.0006978412275202572,
0.023263100534677505,
0.012781240046024323,
0.029995519667863846,
-0.005489511881023645,
0.008767682127654552,
0.03639649972319603,
-0.0074988799169659615,
0.02649466134607792,
-0.029270490631461143,
0.0057743447832763195,
0.03861301764845848,
-0.020673708990216255,
0.022600216791033745,
-0.002837973879650235,
-0.005738093517720699,
-0.05903814360499382,
0.035319309681653976,
-0.03115556761622429,
-0.014438451267778873,
0.04926059767603874,
0.03616863116621971,
0.012511943466961384,
-0.04341892898082733,
0.03896517679095268,
-0.04296319559216499,
-0.04433039575815201,
0.009285560809075832,
0.021046580746769905,
-0.05481225624680519,
0.08087190240621567,
-0.015557069331407547,
-0.02804829739034176,
0.005877920426428318,
-0.04698193445801735,
-0.027343982830643654,
0.01852969080209732,
0.01065793912857771,
-0.048804864287376404,
-0.006768671330064535,
0.019368654116988182,
0.05431509390473366,
0.04296319559216499,
-0.06102679669857025,
0.00358889764174819,
-0.007079398725181818,
-0.026888249441981316,
0.03403497114777565,
0.012232289649546146,
0.02152302861213684,
-0.016385674476623535,
0.05613802373409271,
-0.01919257640838623,
-0.036127202212810516,
-0.032439906150102615,
-0.0101711330935359,
0.060115329921245575,
-0.02893904782831669,
0.006266329437494278,
-0.023780979216098785,
-0.02788257598876953,
0.015888510271906853,
-0.031196998432278633,
-0.008917867206037045,
-0.033475663512945175,
-0.015246341936290264,
-0.018146460875868797,
0.006074714474380016,
0.006126502063125372,
0.036272209137678146,
0.0569666288793087,
-0.020445842295885086,
-0.020031539723277092,
0.05613802373409271,
0.003039946546778083,
-0.012087283656001091,
0.026660382747650146,
-0.04727194458246231,
0.06454837322235107,
-0.010108987800776958,
0.03697652369737625,
-0.025189608335494995,
-0.026722528040409088,
0.0063181170262396336,
0.0351121611893177,
-0.0013400105526670814,
0.03834372013807297,
-0.004075703676789999,
-0.01872648485004902,
-0.01755608059465885,
0.03078269585967064,
-0.02929120510816574,
-0.012045852839946747,
-0.00433723209425807,
0.030679119750857353,
-0.03227418661117554,
0.048639144748449326,
0.031859882175922394,
-0.005334148183465004,
-0.11376754194498062,
0.04793483018875122,
-0.027178261429071426,
0.0036122023593634367,
0.006224899087101221,
-0.015018475241959095,
0.08207337558269501,
-0.047976259142160416,
0.004751534666866064,
-0.006514911074191332,
-0.01298839133232832,
-0.04462040960788727,
0.03801227733492851,
-0.030803410336375237,
-0.002985569415614009,
0.013392336666584015,
0.0008680937462486327,
0.0429217666387558,
-0.01823967881500721,
-0.0391930416226387,
0.039773065596818924,
0.02286951243877411,
0.021564459428191185,
0.04950917884707451,
0.0015419831033796072,
0.006432050373405218,
0.017110703513026237,
0.010015769861638546,
0.011289750225841999,
0.01435559056699276,
0.009549679234623909,
0.03194274380803108,
0.07039003819227219,
0.03270920366048813,
-0.03492572158575058,
-0.05008920282125473,
0.07208868116140366,
0.037162959575653076,
-0.04607046768069267,
0.009907014667987823,
0.03780512884259224,
-0.007364231627434492,
0.02315952442586422,
0.017680371180176735,
-0.03703866899013519,
-0.08559495210647583,
-0.04830770194530487,
0.014417735859751701,
0.01327840331941843,
-0.031466294080019,
-0.02204090729355812,
0.057670943439006805,
-0.03896517679095268,
-0.006416514050215483,
0.05750522390007973,
0.02330453135073185,
-0.03602362424135208,
0.03647935763001442,
-0.04818341135978699,
0.00043178116902709007,
-0.020901573821902275,
-0.03231561556458473,
0.0392344705760479,
0.03803299367427826,
-0.04689907282590866,
-0.05000634491443634,
0.01786680705845356,
-0.06906427443027496,
0.039400193840265274,
-0.046650491654872894,
0.047893401235342026,
-0.021046580746769905,
-0.0384887270629406,
-0.05017206445336342,
0.03415926173329353,
0.01703820191323757,
-0.018426114693284035,
0.03815728425979614,
0.026577522978186607,
-0.040663816034793854,
-0.0031409328803420067,
0.08990369737148285,
-0.010202205739915371,
-0.0015911816153675318,
0.020497629418969154,
0.07536167651414871,
-0.06922999024391174,
0.01539134792983532,
0.002044325228780508,
-0.015370632521808147,
0.013102324679493904,
0.03637578338384628,
-0.041699573397636414,
0.08617497235536575,
0.015287771821022034,
0.001813869341276586,
0.023283815011382103,
-0.015277414582669735,
-0.0004767718492075801,
-0.027758285403251648,
0.014811323955655098,
-0.013268046081066132,
-0.0014733641874045134,
0.01993831992149353,
0.004021326079964638,
-0.009932909160852432,
-0.007245119661092758,
-0.04211387783288956,
-0.018436472862958908,
-0.004948328714817762,
-0.04727194458246231,
0.02160589024424553,
0.03558860719203949,
0.07055576145648956,
0.010740798898041248,
0.07229582965373993,
-0.07921469211578369,
0.012253004126250744,
-0.00939431507140398,
0.003252276685088873,
-0.024008845910429955,
0.019347939640283585,
0.028359023854136467,
0.007001716643571854,
-0.021771609783172607,
0.011300108395516872,
0.07200582325458527,
-0.014334876090288162,
-0.009358063340187073,
-0.011206889525055885,
0.018633266910910606,
-0.003568182699382305,
-0.0055775512009859085,
-0.007105292286723852,
0.003972127567976713,
-0.025562480092048645,
0.07461592555046082,
-0.00019647013687063009,
-0.0005101102869957685,
-0.04718908667564392,
-0.06264258176088333,
0.03693509101867676,
-0.04308748617768288,
-0.08174193650484085,
-0.022227343171834946,
-0.002598455175757408,
-0.07859323173761368,
-0.009099124930799007,
-0.014687033370137215,
-0.004813680425286293,
-0.023325245827436447,
-0.03846801072359085,
-0.0037209566216915846,
-0.08700358122587204,
-0.0020003055687993765,
0.03393139690160751,
0.057588085532188416,
0.03633435443043709,
-0.03492572158575058,
-0.015981730073690414,
0.04145099222660065,
-0.03260562941431999,
0.00011967847240157425,
-0.014552384614944458,
-0.025769632309675217,
-0.02773757092654705,
0.0858435332775116,
0.02322166971862316,
0.0061627537943422794,
0.039607346057891846,
-0.0019873585551977158,
-0.031342003494501114,
-0.03697652369737625,
0.002409429522231221,
-0.008477670140564442,
-0.015246341936290264,
0.0011276802979409695,
-0.06964429467916489,
0.011403683573007584,
-0.016478892415761948,
-0.033330656588077545,
-0.006737598683685064,
0.013361264020204544,
-0.0702243223786354,
0.028690466657280922,
0.011175816878676414,
-0.01875755749642849,
-0.07921469211578369,
0.052119288593530655,
-0.0221859123557806,
-0.02152302861213684,
0.05153926461935043,
-0.006385441403836012,
-0.01763894036412239,
0.02204090729355812,
-0.01539134792983532,
0.05518512800335884,
-0.04341892898082733,
0.03212917968630791,
-0.018571121618151665,
-0.034884292632341385,
0.0270125400274992,
0.009254488162696362,
-0.001024104654788971,
-0.022890228778123856,
-0.0007056093891151249,
-0.032667774707078934,
0.03608576953411102,
0.04520043358206749,
0.04772767797112465,
-0.016437461599707603,
-0.02427814155817032,
0.014728463254868984
] |
730,010 | mmengine.config.config | _get_base_files | Get the base config file.
Args:
filename (str): The config file.
Raises:
TypeError: Name of config file.
Returns:
list: A list of base config.
| @staticmethod
def _get_base_files(filename: str) -> list:
"""Get the base config file.
Args:
filename (str): The config file.
Raises:
TypeError: Name of config file.
Returns:
list: A list of base config.
"""
file_format = osp.splitext(filename)[1]
if file_format == '.py':
Config._validate_py_syntax(filename)
with open(filename, encoding='utf-8') as f:
parsed_codes = ast.parse(f.read()).body
def is_base_line(c):
return (isinstance(c, ast.Assign)
and isinstance(c.targets[0], ast.Name)
and c.targets[0].id == BASE_KEY)
base_code = next((c for c in parsed_codes if is_base_line(c)),
None)
if base_code is not None:
base_code = ast.Expression( # type: ignore
body=base_code.value) # type: ignore
base_files = eval(compile(base_code, '', mode='eval'))
else:
base_files = []
elif file_format in ('.yml', '.yaml', '.json'):
import mmengine
cfg_dict = mmengine.load(filename)
base_files = cfg_dict.get(BASE_KEY, [])
else:
raise ConfigParsingError(
'The config type should be py, json, yaml or '
f'yml, but got {file_format}')
base_files = base_files if isinstance(base_files,
list) else [base_files]
return base_files
| (filename: str) -> list | [
0.0204317644238472,
-0.06996162235736847,
-0.006114683113992214,
-0.007358033210039139,
-0.036780886352062225,
0.027836190536618233,
0.02614746242761612,
-0.009909683838486671,
-0.010846835561096668,
-0.04839785769581795,
0.00653686560690403,
0.008271987549960613,
-0.03323641046881676,
0.036020029336214066,
0.01756463572382927,
-0.008323021233081818,
0.064171701669693,
0.036298394203186035,
0.012600515969097614,
-0.03815414011478424,
-0.01063342485576868,
0.01206234935671091,
-0.0042890929616987705,
0.017406897619366646,
0.023456629365682602,
0.07226274907588959,
0.03323641046881676,
-0.02089570090174675,
0.022751446813344955,
-0.07048123329877853,
-0.07567732036113739,
-0.00018629951227921993,
0.00011823132081190124,
0.009464304894208908,
0.014224293641746044,
-0.05311145260930061,
0.006318815518170595,
0.07062969356775284,
-0.11290358752012253,
0.005966223310679197,
0.030192987993359566,
-0.023549417033791542,
0.03960162028670311,
0.00265835621394217,
-0.011394280940294266,
0.02605467475950718,
-0.04045526310801506,
0.014632557518780231,
0.0016956879990175366,
-0.009093156084418297,
0.041754286736249924,
0.005279597360640764,
-0.05132993683218956,
0.012312875129282475,
-0.016144990921020508,
0.02700110524892807,
-0.010030307807028294,
0.03342198580503464,
0.027168121188879013,
0.058159079402685165,
0.008230233564972878,
0.010364341549575329,
0.042422354221343994,
-0.03882220759987831,
0.010401456616818905,
-0.004732152447104454,
-0.07719903439283371,
-0.03665098547935486,
-0.0305270217359066,
0.03251267224550247,
0.003518958343192935,
-0.03585301339626312,
-0.0032243586611002684,
-0.02642582356929779,
0.04876900464296341,
-0.02833724208176136,
-0.02518247440457344,
0.03236421197652817,
0.048806119710206985,
-0.020116286352276802,
-0.03904489800333977,
0.008981810882687569,
0.021136946976184845,
-0.01916985586285591,
0.08246935158967972,
0.006147158797830343,
-0.0023649162612855434,
0.009487501345574856,
0.02098848856985569,
-0.0073905084282159805,
-0.0305270217359066,
0.0165068618953228,
0.024681422859430313,
0.064171701669693,
-0.004497864283621311,
-0.037745874375104904,
-0.02033897675573826,
-0.021025601774454117,
-0.015671774744987488,
-0.023994795978069305,
-0.013259305618703365,
0.028207339346408844,
-0.03691078722476959,
-0.07096372544765472,
0.02301125042140484,
0.010438571684062481,
-0.019039954990148544,
0.0150686576962471,
-0.01708214171230793,
-0.03900778293609619,
-0.08848197013139725,
-0.05533834546804428,
0.024774210527539253,
-0.042422354221343994,
0.025349490344524384,
0.015012985095381737,
-0.044612135738134384,
0.005307433661073446,
0.010132373310625553,
-0.009464304894208908,
0.027335138991475105,
0.0677347332239151,
-0.021916361525654793,
0.04368426278233528,
0.10317947715520859,
-0.03791289031505585,
0.015578988008201122,
-0.027056777849793434,
0.03308795019984245,
-0.036205604672431946,
0.04617096111178398,
0.021248292177915573,
-0.04138313606381416,
-0.02670418471097946,
0.00821167603135109,
-0.0004656762757804245,
-0.02928367257118225,
-0.009371517226099968,
-0.03529629111289978,
-0.017035748809576035,
0.04895457997918129,
-0.005404860246926546,
0.0427192747592926,
-0.03212296590209007,
-0.0385252870619297,
-0.005479090381413698,
0.02778051793575287,
-0.008053937926888466,
-0.021879246458411217,
0.043832723051309586,
0.0020969929173588753,
-0.012479892000555992,
-0.0871458351612091,
-0.011134476400911808,
-0.0042241420596838,
-0.004667201079428196,
-0.03279103338718414,
0.04464925080537796,
-0.04758132994174957,
-0.045280203223228455,
-0.058901380747556686,
0.03557465225458145,
-0.017490405589342117,
-0.054336242377758026,
0.018835822120308876,
0.0035885488614439964,
-0.0362798348069191,
-0.05303722247481346,
-0.006541504990309477,
-0.002030882053077221,
-0.044240985065698624,
-0.03923046961426735,
-0.01878942921757698,
0.048917464911937714,
0.07623405009508133,
-0.03110230341553688,
-0.011774708516895771,
0.023066923022270203,
0.00782196968793869,
0.02156376838684082,
-0.0015240313950926065,
-0.004098879173398018,
0.007033277302980423,
-0.013546946458518505,
0.013713963329792023,
0.05582084134221077,
0.019392546266317368,
0.027724845334887505,
0.033162180334329605,
0.0187987070530653,
-0.024848438799381256,
0.009306566789746284,
0.028838293626904488,
-0.005720337387174368,
0.00462776655331254,
-0.034386973828077316,
0.006963687017560005,
0.06940490007400513,
-0.02032041922211647,
-0.0067456369288265705,
-0.030768269672989845,
-0.0027534631080925465,
0.032883819192647934,
0.00688945734873414,
-0.023883450776338577,
0.01764814555644989,
-0.018084244802594185,
-0.022751446813344955,
-0.02872694842517376,
0.06469130516052246,
-0.017713095992803574,
-0.04802670702338219,
-0.02451440505683422,
0.009162746369838715,
0.024662865325808525,
-0.025516508147120476,
0.008406529203057289,
0.07905478030443192,
-0.021526653319597244,
0.03648396581411362,
0.10421869903802872,
0.018000736832618713,
0.036316949874162674,
0.004732152447104454,
0.06858837604522705,
-0.006031174678355455,
0.026982547715306282,
-0.0014416826888918877,
0.0027233073487877846,
0.020171958953142166,
0.01155201904475689,
-0.09612764418125153,
-0.0019462136551737785,
0.010958180762827396,
0.10407023876905441,
-0.001027039485052228,
0.06517380475997925,
-0.037448953837156296,
0.0221390500664711,
0.03845105692744255,
-0.028003208339214325,
0.0337931364774704,
-0.018473951146006584,
0.021303964778780937,
-0.02681552991271019,
-0.0385252870619297,
0.011746872216463089,
-0.005353827495127916,
-0.06628724932670593,
0.010689097456634045,
0.04275638982653618,
0.028782621026039124,
-0.026852644979953766,
0.009529256261885166,
-0.013751078397035599,
0.01660892739892006,
-0.015458364970982075,
-0.036298394203186035,
0.07389580458402634,
-0.020765798166394234,
0.04531731829047203,
-0.023400956764817238,
0.023586532101035118,
0.0005349767743609846,
-0.012238644994795322,
-0.03683656081557274,
0.0322343073785305,
0.011422117240726948,
-0.051107246428728104,
0.02366076223552227,
0.05132993683218956,
0.04787824675440788,
-0.007487935479730368,
0.02356797456741333,
-0.0817270576953888,
0.028578490018844604,
0.007269884925335646,
0.0020436402410268784,
0.03342198580503464,
-0.021025601774454117,
-0.009283369407057762,
-0.0005955785163678229,
-0.006824505981057882,
0.0186038538813591,
0.028597045689821243,
-0.03941604495048523,
-0.07808979600667953,
-0.09137693792581558,
-0.04056660830974579,
0.045948270708322525,
0.030768269672989845,
-0.024570077657699585,
-0.021693671122193336,
-0.02863416075706482,
0.07070392370223999,
0.0067827519960701466,
0.00746937794610858,
-0.031436339020729065,
0.03919335827231407,
-0.03271680325269699,
-0.041939862072467804,
0.012674745172262192,
0.030230103060603142,
0.01225720252841711,
-0.0366695411503315,
-0.026221690699458122,
0.017137814313173294,
-0.09605341404676437,
-0.007209573406726122,
-0.026555726304650307,
0.02395768091082573,
0.0086431372910738,
0.10421869903802872,
-0.008174560964107513,
0.04190274700522423,
-0.017434734851121902,
-0.022268952801823616,
0.020728683099150658,
0.017239881679415703,
0.011923168785870075,
-0.03709636256098747,
0.08194974809885025,
0.009816896170377731,
-0.011700478382408619,
0.06517380475997925,
0.004562815651297569,
0.02863416075706482,
-0.003546794643625617,
0.011366444639861584,
0.01159841287881136,
-0.05240627005696297,
-0.013500552624464035,
-0.019299758598208427,
0.03071259707212448,
0.034312743693590164,
-0.0233824010938406,
-0.012776811607182026,
0.011923168785870075,
0.03253122791647911,
-0.04405540972948074,
0.08425086736679077,
-0.025813426822423935,
-0.0026235610712319613,
-0.0191884133964777,
-0.01833477057516575,
-0.03073115460574627,
0.06116538867354393,
0.01225720252841711,
0.012312875129282475,
0.01039217785000801,
-0.011514903977513313,
-0.012173693627119064,
-0.031714700162410736,
0.00629561860114336,
-0.016543975099921227,
-0.03542619198560715,
-0.046504996716976166,
-0.021489540114998817,
0.012563400901854038,
0.04865766316652298,
0.07994554191827774,
0.021990589797496796,
-0.027836190536618233,
0.02546083554625511,
-0.005353827495127916,
-0.008893663063645363,
0.011004573665559292,
-0.01111591886729002,
0.06239018216729164,
-0.03934181481599808,
-0.038970667868852615,
0.02670418471097946,
0.013704684562981129,
-0.08580970019102097,
0.011292214505374432,
-0.05084744095802307,
0.00010721282887971029,
-0.013463437557220459,
-0.043647147715091705,
0.07515771687030792,
0.01764814555644989,
0.0658789873123169,
0.011895332485437393,
-0.006096125580370426,
-0.0258690994232893,
-0.020097728818655014,
0.03826548531651497,
-0.05069898068904877,
-0.011960282921791077,
0.04301619157195091,
0.03444264829158783,
-0.010457129217684269,
-0.08165282756090164,
0.03273535892367363,
-0.049659762531518936,
-0.05370528995990753,
0.022194722667336464,
0.020004943013191223,
-0.01593158021569252,
-0.006917293183505535,
0.019726580008864403,
0.008077134378254414,
0.04895457997918129,
0.04019545763731003,
0.0008774199523031712,
-0.04045526310801506,
0.07890632003545761,
0.040603723376989365,
-0.061981916427612305,
-0.011626249179244041,
0.03499937057495117,
-0.02529381774365902,
0.007358033210039139,
-0.013287141919136047,
-0.013333535753190517,
0.0018116721184924245,
-0.015977973118424416,
-0.028411472216248512,
0.03236421197652817,
-0.03509215638041496,
-0.005506926216185093,
-0.02527526207268238,
0.014205736108124256,
0.0014103669673204422,
0.0028300127014517784,
0.07920324057340622,
-0.043832723051309586,
0.008559628389775753,
-0.07512059807777405,
0.00777557585388422,
-0.029599148780107498,
0.03989854082465172,
-0.03594579920172691,
-0.03819125518202782,
0.038302596658468246,
-0.09137693792581558,
0.003569991560652852,
-0.0254793930798769,
0.016748107969760895,
-0.029840396717190742,
-0.039267584681510925,
0.04587404057383537,
0.014419146813452244,
0.04639365151524544,
-0.024978341534733772,
0.030508464202284813,
-0.10429292917251587,
0.02681552991271019,
-0.04082641378045082,
-0.02119261957705021,
-0.10978593677282333,
0.016154268756508827,
0.052332039922475815,
-0.021916361525654793,
0.046913258731365204,
-0.014112948440015316,
-0.01067981868982315,
0.030879614874720573,
0.010809720493853092,
0.008466841652989388,
0.04683902859687805,
0.0027998569421470165,
0.08707160502672195,
-0.05170108377933502,
0.025627853348851204,
-0.06161076948046684,
0.043832723051309586,
0.05170108377933502,
0.0015251912409439683,
0.01302733737975359,
-0.003866910934448242,
-0.0021294686011970043,
-0.05726832151412964,
-0.006926571950316429,
-0.027019662782549858,
0.025163916870951653,
0.06413458287715912,
0.023697877302765846,
0.010252997279167175,
-0.07734749466180801,
-0.022955577820539474,
-0.034888025373220444,
-0.034591104835271835,
0.020394649356603622,
0.017444012686610222,
-0.06591609865427017,
0.04420386999845505,
-0.043090421706438065,
-0.07170602679252625,
-0.030601251870393753,
-0.018640968948602676,
0.022398855537176132,
-0.008694170042872429,
0.029636263847351074,
0.010596309788525105,
0.005585795734077692,
0.03949027508497238,
0.03644685074687004,
0.06146230921149254,
-0.02852281741797924,
0.05485585331916809,
-0.03214152157306671,
-0.032011620700359344,
0.02423604391515255,
-0.017249159514904022,
0.05470739305019379,
-0.008722006343305111,
0.015300625935196877,
-0.03158479928970337,
-0.03900778293609619,
-0.012730417773127556,
0.027984650805592537,
-0.026407266035676003,
0.014437704347074032,
0.012971664778888226,
-0.017026469111442566,
0.022380298003554344,
0.03826548531651497,
0.00997463520616293,
0.029413575306534767,
-0.02117406204342842,
-0.08410240709781647,
-0.004500184208154678,
0.0043934788554906845,
-0.009431829676032066,
0.03765308856964111,
0.017147094011306763,
-0.028170224279165268,
-0.04657922685146332,
0.046987488865852356,
0.038117025047540665,
-0.015606824308633804,
0.0003641901712398976,
-0.01976369507610798,
0.009130270220339298,
0.024551520124077797,
0.03685511648654938,
-0.0031454896088689566,
-0.04015834257006645,
-0.0019856481812894344,
0.02050599455833435,
-0.007692067418247461,
0.06803165376186371,
0.030081642791628838,
-0.044129639863967896,
0.007339475676417351,
-0.02612890489399433,
-0.02260298654437065,
0.0493999607861042,
-0.006908014882355928,
0.07181736826896667,
0.005400220863521099,
0.00531671242788434,
0.001483437023125589,
0.04605961591005325,
-0.09004079550504684,
0.06406035274267197,
-0.032958049327135086,
-0.0066946037113666534,
0.009547813795506954,
-0.030192987993359566,
0.04836074262857437,
-0.03399726748466492,
0.01264690887182951,
-0.040009886026382446,
0.017397619783878326,
-0.041939862072467804,
0.04197697713971138,
-0.00915810652077198,
-0.002860168693587184,
-0.0005459953099489212,
0.034294188022613525,
0.0585673451423645,
-0.0500309132039547,
0.023697877302765846,
0.07515771687030792,
-0.013036616146564484,
0.003259154036641121,
0.014038719236850739,
-0.02317826822400093,
0.008077134378254414,
-0.03822837024927139,
0.06843991577625275,
0.0008866986609064043,
0.003581589786335826,
0.006550783757120371,
-0.01669243536889553,
0.02594332955777645,
0.030081642791628838,
0.015254232101142406,
-0.027409369125962257,
0.05333414301276207,
0.045280203223228455,
0.0191884133964777,
-0.003449368057772517,
0.000767814926803112,
-0.04843497276306152,
-0.013751078397035599,
0.0042937323451042175,
-0.007770936470478773,
-0.045465778559446335,
-0.031621914356946945,
0.0305270217359066,
0.031343549489974976,
-0.017824441194534302,
-0.03752318397164345,
0.0568600594997406,
-0.025627853348851204,
-0.016061482951045036,
0.06239018216729164,
0.013584060594439507,
0.001728163450025022,
0.022454526275396347,
-0.05077321082353592,
-0.001910258550196886,
0.0017003272660076618,
-0.017796603962779045,
0.06543360650539398,
0.032958049327135086,
-0.07567732036113739,
-0.008842630311846733,
0.03919335827231407,
-0.05259184166789055,
0.02184213139116764,
-0.03882220759987831,
0.05745389685034752,
-0.017137814313173294,
-0.0004691557842306793,
-0.05144128203392029,
0.03427562862634659,
0.06732646375894547,
-0.02156376838684082,
0.017100699245929718,
-0.03494369983673096,
-0.014326359145343304,
-0.01831621304154396,
0.056711599230766296,
-0.02184213139116764,
-0.019039954990148544,
0.03336631506681442,
0.05830753967165947,
-0.09137693792581558,
0.02720523625612259,
-0.013890258967876434,
-0.02794753573834896,
-0.03997277095913887,
-0.022343182936310768,
-0.006281700450927019,
0.06502534449100494,
0.016479024663567543,
0.029524920508265495,
-0.000005019937816541642,
0.006286339834332466,
0.018464673310518265,
-0.012377826496958733,
0.0033728184644132853,
-0.005075465422123671,
-0.006035814061760902,
0.025516508147120476,
-0.03479523956775665,
-0.01639551669359207,
-0.014586163684725761,
-0.032494112849235535,
0.04290485009551048,
-0.050179373472929,
-0.0660274475812912,
0.006290979217737913,
-0.019151298329234123,
0.01582951284945011,
0.019039954990148544,
0.09657302498817444,
-0.040121231228113174,
-0.005191449541598558,
-0.01861313357949257,
-0.002841611159965396,
-0.033737462013959885,
-0.008745202794671059,
0.042979080229997635,
0.040974874049425125,
-0.029432132840156555,
0.025312375277280807,
0.033923037350177765,
-0.013602618128061295,
0.03616848960518837,
0.02720523625612259,
0.02891252376139164,
0.010058143176138401,
-0.004931645002216101,
0.03709636256098747,
0.0007718743872828782,
-0.049845337867736816,
0.05589507147669792,
0.032011620700359344,
0.004706636071205139,
-0.044315215200185776,
0.0032707524951547384,
0.009742666967213154,
-0.027149565517902374,
-0.07482367753982544,
-0.008193118497729301,
0.02490411140024662,
-0.0593467578291893,
-0.029803281649947166,
-0.00919986143708229,
0.006142519414424896,
-0.019485333934426308,
-0.01688728854060173,
0.01763886585831642,
-0.08595816045999527,
0.012925270944833755,
0.028133109211921692,
0.0484720878303051,
0.017508963122963905,
-0.047173064202070236,
0.03804279491305351,
-0.024013353511691093,
-0.03381169214844704,
0.013936652801930904,
-0.01937398873269558,
-0.021341079846024513,
-0.038005679845809937,
0.021526653319597244,
0.04038103297352791,
0.02327105589210987,
0.02317826822400093,
0.02109983190894127,
0.038970667868852615,
-0.04075218364596367,
-0.0005839800578542054,
0.030211545526981354,
-0.02059878036379814,
0.013454158790409565,
-0.03464677929878235,
-0.0168965682387352,
0.0021561449393630028,
-0.023233940824866295,
-0.028133109211921692,
-0.011180870234966278,
-0.04591115564107895,
-0.008898301981389523,
0.020951373502612114,
-0.026091789826750755,
-0.07808979600667953,
0.05544969066977501,
-0.06227883696556091,
-0.017406897619366646,
0.05511565878987312,
-0.0030387842562049627,
-0.027335138991475105,
0.056711599230766296,
-0.03967585042119026,
0.028133109211921692,
-0.030489906668663025,
0.020543109625577927,
-0.03151056915521622,
-0.040232572704553604,
0.012860320508480072,
-0.024737095460295677,
-0.0021689031273126602,
-0.022974135354161263,
-0.007803412154316902,
-0.04153159633278847,
0.02434738725423813,
0.029988856986165047,
0.055672381073236465,
-0.014511934481561184,
-0.03691078722476959,
-0.009311205707490444
] |
730,011 | mmengine.config.config | _get_base_modules | Get base module name from parsed code.
Args:
nodes (list): Parsed code of the config file.
Returns:
list: Name of base modules.
| @staticmethod
def _get_base_modules(nodes: list) -> list:
"""Get base module name from parsed code.
Args:
nodes (list): Parsed code of the config file.
Returns:
list: Name of base modules.
"""
def _get_base_module_from_with(with_nodes: list) -> list:
"""Get base module name from if statement in python file.
Args:
with_nodes (list): List of if statement.
Returns:
list: Name of base modules.
"""
base_modules = []
for node in with_nodes:
assert isinstance(node, ast.ImportFrom), (
'Illegal syntax in config file! Only '
'`from ... import ...` could be implemented` in '
'with read_base()`')
assert node.module is not None, (
'Illegal syntax in config file! Syntax like '
'`from . import xxx` is not allowed in `with read_base()`')
base_modules.append(node.level * '.' + node.module)
return base_modules
for idx, node in enumerate(nodes):
if (isinstance(node, ast.Assign)
and isinstance(node.targets[0], ast.Name)
and node.targets[0].id == BASE_KEY):
raise ConfigParsingError(
'The configuration file type in the inheritance chain '
'must match the current configuration file type, either '
'"lazy_import" or non-"lazy_import". You got this error '
f'since you use the syntax like `_base_ = "{node.targets[0].id}"` ' # noqa: E501
'in your config. You should use `with read_base(): ... to` ' # noqa: E501
'mark the inherited config file. See more information '
'in https://mmengine.readthedocs.io/en/latest/advanced_tutorials/config.html' # noqa: E501
)
if not isinstance(node, ast.With):
continue
expr = node.items[0].context_expr
if (not isinstance(expr, ast.Call)
or not expr.func.id == 'read_base' or # type: ignore
len(node.items) > 1):
raise ConfigParsingError(
'Only `read_base` context manager can be used in the '
'config')
# The original code:
# ```
# with read_base():
# from .._base_.default_runtime import *
# ```
# The processed code:
# ```
# from .._base_.default_runtime import *
# ```
# As you can see, the if statement is removed and the
# from ... import statement will be unindent
for nested_idx, nested_node in enumerate(node.body):
nodes.insert(idx + nested_idx + 1, nested_node)
nodes.pop(idx)
return _get_base_module_from_with(node.body)
return []
| (nodes: list) -> list | [
0.029683753848075867,
-0.06518404930830002,
0.02687242440879345,
0.017207270488142967,
-0.02702753245830536,
0.0356941819190979,
0.04494248330593109,
-0.0003456601407378912,
-0.05355096608400345,
-0.08236223459243774,
0.00932585634291172,
-0.019213978201150894,
0.00026553121278993785,
0.051263123750686646,
-0.025728505104780197,
-0.023285556584596634,
0.04273219779133797,
0.04850996285676956,
0.019776243716478348,
-0.07704979181289673,
-0.040483132004737854,
0.0101692546159029,
0.014056643471121788,
-0.009829956106841564,
-0.007023474667221308,
0.05308564007282257,
0.01216626726090908,
-0.011526447720825672,
0.01592763140797615,
-0.07262922078371048,
-0.06650246679782867,
-0.03024601936340332,
0.00011716394510585815,
-0.016683781519532204,
0.04470982030034065,
-0.05188355594873428,
-0.022432465106248856,
0.07049649208784103,
-0.08259490132331848,
0.009946286678314209,
0.02609688602387905,
-0.04963449388742447,
0.021715091541409492,
-0.010043229907751083,
-0.024196814745664597,
0.008283725939691067,
0.01712002232670784,
0.04963449388742447,
0.030536847189068794,
-0.02134671062231064,
0.06906174123287201,
-0.007871720008552074,
-0.01592763140797615,
0.04649356007575989,
-0.011381033807992935,
-0.005065239034593105,
-0.034026771783828735,
-0.007731154095381498,
0.029877638444304466,
0.05347340926527977,
0.04459349066019058,
0.030924616381525993,
-0.020028293132781982,
0.007260983344167471,
-0.014085725881159306,
0.00038080173544585705,
-0.06592081487178802,
-0.0211140476167202,
-0.05707966536283493,
0.016993997618556023,
-0.021928364410996437,
-0.050875354558229446,
0.018738960847258568,
-0.008637565188109875,
0.06685145944356918,
-0.054830603301525116,
-0.0387575589120388,
0.01930122636258602,
0.050681471824645996,
-0.014880653470754623,
0.006301254034042358,
0.0078038605861365795,
-0.01496790163218975,
0.002335099270567298,
0.0602593757212162,
0.005748682655394077,
-0.003538396442309022,
0.016412343829870224,
0.029916414991021156,
-0.040017809718847275,
-0.0441281683743,
0.0426158644258976,
0.026542820036411285,
0.0675494447350502,
0.03325123339891434,
-0.03342572972178459,
-0.012437705881893635,
-0.018215471878647804,
0.0010584895499050617,
-0.027531633153557777,
0.0007076793117448688,
0.03497680649161339,
-0.055373482406139374,
-0.07398641854524612,
0.023576384410262108,
0.016480203717947006,
-0.0502937026321888,
0.023091671988368034,
0.055334705859422684,
-0.07476195693016052,
-0.1212942898273468,
-0.07460685074329376,
-0.0027022685389965773,
-0.0009451881051063538,
-0.0053027477115392685,
-0.024313146248459816,
-0.030342960730195045,
0.012835170142352581,
0.010935098864138126,
-0.009088346734642982,
0.01946602761745453,
0.06115124747157097,
-0.019068563356995583,
0.012806086800992489,
0.09678725898265839,
-0.019049175083637238,
0.001835846109315753,
-0.015016373246908188,
0.0564204603433609,
-0.07615792751312256,
0.058940961956977844,
-0.005981344264000654,
-0.027647964656352997,
-0.03332878649234772,
-0.008647259324789047,
0.012447400018572807,
-0.05265909433364868,
0.03507374972105026,
-0.055024489760398865,
0.00723674800246954,
0.019407862797379494,
-0.040289249271154404,
0.0026077497750520706,
-0.04129745066165924,
-0.06964340060949326,
0.0017195153050124645,
0.015985796228051186,
-0.00039504014421254396,
-0.0679372102022171,
-0.027298972010612488,
0.010605495423078537,
-0.03497680649161339,
-0.06045326218008995,
-0.003354205982759595,
-0.018709877505898476,
0.03730342537164688,
-0.04905283823609352,
0.0356941819190979,
-0.05366729572415352,
-0.06208189204335213,
-0.03557784855365753,
-0.011642778292298317,
0.002228462602943182,
-0.014492884278297424,
0.007711765356361866,
-0.00932585634291172,
-0.04525269940495491,
-0.09128093719482422,
-0.029334761202335358,
0.007401549722999334,
-0.03135116398334503,
0.008220712654292583,
0.003989178687334061,
0.03904838487505913,
0.031099112704396248,
-0.006175228860229254,
-0.02790001407265663,
0.006722953170537949,
-0.016906749457120895,
0.027803070843219757,
0.047850754112005234,
0.003429336240515113,
-0.006621163804084063,
-0.016266928985714912,
0.0008112864452414215,
0.04121989384293556,
0.02879188396036625,
-0.00394313083961606,
0.01551077887415886,
0.00785233173519373,
-0.021792644634842873,
0.0005228829104453325,
0.059561390429735184,
-0.006427279207855463,
0.020319120958447456,
0.02241307497024536,
-0.01677102968096733,
0.043468959629535675,
0.004544173367321491,
0.02487541176378727,
-0.03309612348675728,
0.013077525421977043,
0.038524895906448364,
0.020202789455652237,
-0.02840411476790905,
0.019553275778889656,
-0.0034947723615914583,
-0.0011736085871234536,
-0.0449037067592144,
0.05738988146185875,
-0.06010426953434944,
-0.02879188396036625,
0.051418233662843704,
0.04564046859741211,
0.015433224849402905,
-0.003039143281057477,
0.020784443244338036,
0.07270677387714386,
-0.007275525014847517,
0.050603918731212616,
0.07088425755500793,
0.040211696177721024,
0.0683249831199646,
-0.012738226912915707,
0.0314868800342083,
-0.008065605536103249,
0.0035190079361200333,
-0.027725517749786377,
0.013339269906282425,
0.020513005554676056,
0.050914131104946136,
-0.06274110078811646,
-0.002371452748775482,
0.012428011745214462,
0.07321088016033173,
-0.005215499550104141,
0.043275073170661926,
0.014483190141618252,
-0.006693870760500431,
0.019165506586432457,
-0.03135116398334503,
0.051301900297403336,
-0.026232605800032616,
-0.01900070533156395,
-0.01022742036730051,
-0.027531633153557777,
0.019243059679865837,
-0.034375764429569244,
-0.05580002814531326,
0.007672988343983889,
-0.0014153586234897375,
0.02691120095551014,
-0.014337776228785515,
0.019485415890812874,
-0.03435637429356575,
0.012709144502878189,
-0.02460397407412529,
-0.009102888405323029,
0.040405578911304474,
-0.029043933376669884,
0.039591263979673386,
-0.05967772379517555,
-0.002726504113525152,
0.0224518533796072,
0.01769198291003704,
-0.022219190374016762,
0.04676499962806702,
-0.01673225313425064,
-0.023905988782644272,
-0.03460842743515968,
0.08158669620752335,
0.038524895906448364,
-0.012079019099473953,
0.035829897969961166,
-0.04618334397673607,
0.022044694051146507,
-0.00846306886523962,
0.007711765356361866,
-0.0029761306941509247,
-0.005409384146332741,
-0.005031309090554714,
0.02103649452328682,
-0.0456792451441288,
0.04133622720837593,
0.013630096800625324,
-0.02475908026099205,
-0.0706515982747078,
-0.05308564007282257,
-0.03871878236532211,
0.03904838487505913,
-0.016325095668435097,
-0.04207298904657364,
-0.014890347607433796,
0.007362773176282644,
0.07142713665962219,
0.0023920529056340456,
-0.014405636116862297,
0.008841143921017647,
-0.005869860295206308,
-0.03392982855439186,
0.0025762433651834726,
-0.016102127730846405,
0.009471269324421883,
0.011390728875994682,
-0.004115203395485878,
-0.03420126810669899,
0.06126757711172104,
-0.05975527688860893,
-0.018738960847258568,
-0.03330939635634422,
0.013552543707191944,
0.027202028781175613,
0.0856195017695427,
-0.036527883261442184,
0.023964153602719307,
-0.04680377617478371,
0.011313174851238728,
0.013765816576778889,
0.008385514840483665,
0.0205323938280344,
-0.04971204698085785,
0.0521937720477581,
0.014386247843503952,
0.024235593155026436,
0.047075215727090836,
-0.010586107149720192,
0.03309612348675728,
0.013882147148251534,
-0.01245709415525198,
0.0027386220172047615,
-0.07933763414621353,
0.007479103747755289,
-0.01585007831454277,
-0.01107081864029169,
-0.02287839911878109,
-0.028888825327157974,
-0.02123037911951542,
0.002721657045185566,
0.031157277524471283,
-0.027376525104045868,
0.0694882869720459,
-0.006621163804084063,
0.022316133603453636,
-0.001387487631291151,
-0.021579371765255928,
-0.046067014336586,
0.06576570123434067,
0.02464275062084198,
0.015675581991672516,
0.06153901666402817,
-0.0014904888812452555,
-0.008143158629536629,
-0.04195665568113327,
-0.01830272004008293,
-0.0010796956485137343,
-0.04110356420278549,
-0.030032746493816376,
-0.016829194501042366,
0.016489896923303604,
0.02095893956720829,
0.0744905173778534,
0.034879863262176514,
-0.005094321444630623,
0.06770455092191696,
-0.01746901497244835,
-0.039164718240499496,
-0.00556449219584465,
0.02594177797436714,
0.06805354356765747,
-0.047579314559698105,
-0.012282597832381725,
-0.032184865325689316,
0.03509313613176346,
-0.0663861334323883,
-0.0023738762829452753,
-0.03666360303759575,
-0.013552543707191944,
-0.019747160375118256,
-0.043973058462142944,
0.047191545367240906,
0.04257708787918091,
0.0775538980960846,
-0.03020724281668663,
-0.03654727339744568,
-0.0441281683743,
-0.027628574520349503,
0.03507374972105026,
-0.03125422075390816,
0.0010136537021026015,
0.032766520977020264,
0.026271382346749306,
0.006199464667588472,
-0.04280975088477135,
0.03158382326364517,
-0.07995806634426117,
-0.03303796052932739,
-0.002639255952090025,
-0.019737467169761658,
-0.004439960699528456,
-0.047967083752155304,
0.032921627163887024,
0.010111088864505291,
0.08181936293840408,
0.029741918668150902,
0.009592447429895401,
-0.03047868050634861,
0.0775538980960846,
0.023925377056002617,
-0.032417528331279755,
-0.012495871633291245,
-0.024196814745664597,
0.008157700300216675,
-0.051495786756277084,
0.015539862215518951,
0.0012020854046568274,
-0.02871432900428772,
0.07340475916862488,
-0.0009167112875729799,
0.011594307608902454,
-0.025340735912322998,
-0.01255403645336628,
-0.040017809718847275,
0.02088138647377491,
-0.01631540060043335,
-0.011477976106107235,
0.036140114068984985,
-0.09081561118364334,
0.022936563938856125,
-0.08709302544593811,
0.008172241970896721,
-0.03866061568260193,
0.010091700591146946,
-0.027803070843219757,
-0.022277357056736946,
0.01784709095954895,
-0.07980296015739441,
-0.007406397257000208,
-0.012311681173741817,
0.015055149793624878,
-0.027880625799298286,
0.01245709415525198,
0.05424895137548447,
0.02041606232523918,
0.031641989946365356,
-0.0002999154676217586,
0.024856023490428925,
-0.09469330310821533,
0.0633227527141571,
-0.06720045208930969,
-0.013775510713458061,
-0.08492151647806168,
-0.005913484375923872,
0.0318552628159523,
0.02126915566623211,
-0.029412314295768738,
-0.034802310168743134,
0.022238578647375107,
0.05378362536430359,
0.0452914759516716,
0.023653937503695488,
-0.0020115540828555822,
0.027318360283970833,
0.00861817691475153,
-0.01203054841607809,
0.03765241801738739,
0.010605495423078537,
0.0741027444601059,
-0.01673225313425064,
-0.0102661969140172,
0.008705425076186657,
0.012466788291931152,
-0.02437131106853485,
-0.034143101423978806,
-0.0035190079361200333,
-0.006533915642648935,
0.000366260384907946,
0.02526318095624447,
-0.027841849252581596,
0.028152063488960266,
-0.05424895137548447,
0.01776953600347042,
-0.032650191336870193,
0.006684176158159971,
0.01328110508620739,
0.0029737071599811316,
-0.0495181605219841,
0.06087980791926384,
-0.022199802100658417,
-0.04509758949279785,
-0.03460842743515968,
-0.03443393111228943,
-0.003754093311727047,
0.02962558902800083,
0.002089108107611537,
0.012699450366199017,
-0.01306783128529787,
0.01427961140871048,
0.009917204268276691,
0.058669522404670715,
-0.06374930590391159,
0.03464720398187637,
0.005743835587054491,
-0.01849660463631153,
0.004798647481948137,
0.0030779202934354544,
0.07708857208490372,
-0.010450387373566628,
0.008036522194743156,
0.011351951397955418,
-0.01923336647450924,
-0.010043229907751083,
0.03507374972105026,
0.01328110508620739,
-0.004219416528940201,
0.0009318585507571697,
-0.02421620301902294,
0.011187149211764336,
0.07887230813503265,
0.024196814745664597,
-0.019950740039348602,
0.013920924626290798,
-0.06014304608106613,
-0.0010057770414277911,
-0.002510807476937771,
-0.0004934972384944558,
0.04424449801445007,
0.017759842798113823,
0.007769931107759476,
-0.017265435308218002,
0.04598946124315262,
0.04191787913441658,
-0.001349922502413392,
0.012796392664313316,
-0.014880653470754623,
0.04141378030180931,
0.05366729572415352,
0.05269787088036537,
0.0007882626377977431,
-0.023653937503695488,
0.017149105668067932,
0.03643094375729561,
-0.007227053865790367,
0.04905283823609352,
0.03499619662761688,
-0.018486909568309784,
0.006214005872607231,
-0.035752344876527786,
-0.01565619185566902,
0.029237817972898483,
0.009733013808727264,
0.05285298079252243,
0.003407524200156331,
-0.00007429724064422771,
-0.005574186332523823,
0.08569705486297607,
-0.11989831924438477,
0.024933576583862305,
-0.0030536847189068794,
0.0020370015408843756,
0.02338249981403351,
-0.016761336475610733,
0.043740395456552505,
-0.004573256243020296,
0.005293053574860096,
-0.0027337747160345316,
-0.0014214174589142203,
-0.03935860097408295,
-0.0048858956433832645,
-0.02518562786281109,
0.009955981746315956,
0.00480834161862731,
-0.0002559884451329708,
0.06785965710878372,
-0.01032436266541481,
0.0032160631380975246,
0.07685591280460358,
-0.027202028781175613,
0.026232605800032616,
0.03871878236532211,
-0.023169226944446564,
-0.0005277300369925797,
-0.023343723267316818,
0.030265407636761665,
0.008438833057880402,
0.02962558902800083,
-0.043430183082818985,
-0.0023678173311054707,
0.04688132926821709,
0.06921685487031937,
0.011739720590412617,
-0.058669522404670715,
0.025786669924855232,
0.06630858033895493,
-0.01941755600273609,
0.0305174570530653,
0.02045484073460102,
-0.04246075823903084,
-0.02142426371574402,
0.013387741521000862,
-0.010285585187375546,
-0.05928995460271835,
-0.02817145176231861,
0.04478737339377403,
0.03631461039185524,
-0.027318360283970833,
0.00035777792800217867,
0.04242198169231415,
-0.054675497114658356,
-0.02487541176378727,
0.05293053388595581,
0.026038721203804016,
-0.02886943705379963,
-0.014425024390220642,
-0.024313146248459816,
-0.03154504671692848,
-0.03274713084101677,
-0.025282569229602814,
0.043468959629535675,
0.07538238912820816,
-0.06173289939761162,
-0.005932873114943504,
0.014328082092106342,
-0.06138390675187111,
0.005690516903996468,
-0.051224347203969955,
0.07728245854377747,
0.0044351136311888695,
0.006815048400312662,
-0.04924672469496727,
0.03142871707677841,
0.03922288119792938,
-0.037749357521533966,
0.023285556584596634,
-0.04905283823609352,
-0.04265464097261429,
-0.03499619662761688,
0.09779546409845352,
-0.02272329106926918,
0.005874707363545895,
0.023595772683620453,
0.07119447737932205,
-0.08879920840263367,
0.01754656806588173,
-0.02479785867035389,
-0.017129717394709587,
-0.03738097846508026,
0.004628998227417469,
0.0002537163672968745,
0.06650246679782867,
0.03307673707604408,
0.014434718526899815,
0.02718264050781727,
-0.002150908811017871,
0.015210257843136787,
-0.01842874474823475,
-0.005511173512786627,
-0.017711371183395386,
0.013504072092473507,
0.032688967883586884,
-0.021676313132047653,
-0.012980583123862743,
-0.011313174851238728,
-0.0037371283397078514,
0.058785852044820786,
-0.014405636116862297,
-0.05789398401975632,
0.02871432900428772,
0.008564858697354794,
0.047307875007390976,
-0.014425024390220642,
0.047230321913957596,
-0.05246521160006523,
-0.0076196701265871525,
-0.017372071743011475,
-0.050875354558229446,
-0.008438833057880402,
-0.0009888121858239174,
-0.011196843348443508,
0.006960462313145399,
-0.039901480078697205,
0.027706129476428032,
0.029373537749052048,
-0.021676313132047653,
0.002137579256668687,
0.01754656806588173,
0.06964340060949326,
-0.005714752711355686,
-0.032921627163887024,
0.025554008781909943,
-0.03846673294901848,
-0.04808341711759567,
0.027376525104045868,
0.03179709613323212,
0.023770269006490707,
-0.043468959629535675,
-0.0008070452022366226,
-0.03666360303759575,
-0.02084260992705822,
-0.08298266679048538,
-0.023363111540675163,
0.043662842363119125,
-0.06731677800416946,
-0.02648465521633625,
-0.04211176559329033,
-0.000041692794184200466,
-0.0203385092318058,
-0.019630830734968185,
-0.010091700591146946,
-0.07173735648393631,
0.026232605800032616,
0.020590558648109436,
0.03714831545948982,
0.01447349600493908,
-0.039203494787216187,
0.052038662135601044,
-0.003487501759082079,
-0.029606198891997337,
0.035829897969961166,
-0.04207298904657364,
-0.013882147148251534,
-0.02817145176231861,
0.026853036135435104,
0.05696333572268486,
0.023595772683620453,
0.015055149793624878,
0.02095893956720829,
0.0010336480336263776,
-0.04455471411347389,
0.021172214299440384,
0.016247540712356567,
-0.02417742647230625,
0.034802310168743134,
-0.04230564832687378,
-0.0105570238083601,
0.014008172787725925,
0.007881415076553822,
-0.003523855237290263,
0.015908243134617805,
-0.0656493753194809,
-0.0222579687833786,
0.03524824604392052,
-0.013407129794359207,
-0.08802367001771927,
0.06138390675187111,
-0.07472317665815353,
0.0022805691696703434,
0.039940256625413895,
0.008186782710254192,
0.010043229907751083,
0.08127648383378983,
-0.004791376646608114,
0.025961166247725487,
0.00661146966740489,
0.021210990846157074,
-0.036527883261442184,
-0.012379540130496025,
-0.006824743002653122,
0.008036522194743156,
-0.00097669439855963,
-0.03024601936340332,
0.023401888087391853,
-0.015714358538389206,
0.031874652951955795,
0.0349380299448967,
0.046687446534633636,
-0.026581598445773125,
-0.03296040743589401,
-0.0021278851199895144
] |
730,012 | mmengine.config.config | _get_cfg_path | Get the config path from the current or external package.
Args:
cfg_path (str): Relative path of config.
filename (str): The config file being parsed.
Returns:
Tuple[str, str or None]: Path and scope of config. If the config
is not an external config, the scope will be `None`.
| @staticmethod
def _get_cfg_path(cfg_path: str,
filename: str) -> Tuple[str, Optional[str]]:
"""Get the config path from the current or external package.
Args:
cfg_path (str): Relative path of config.
filename (str): The config file being parsed.
Returns:
Tuple[str, str or None]: Path and scope of config. If the config
is not an external config, the scope will be `None`.
"""
if '::' in cfg_path:
# `cfg_path` startswith '::' means an external config path.
# Get package name and relative config path.
scope = cfg_path.partition('::')[0]
package, cfg_path = _get_package_and_cfg_path(cfg_path)
if not is_installed(package):
raise ModuleNotFoundError(
f'{package} is not installed, please install {package} '
f'manually')
# Get installed package path.
package_path = get_installed_path(package)
try:
# Get config path from meta file.
cfg_path = _get_external_cfg_path(package_path, cfg_path)
except ValueError:
# Since base config does not have a metafile, it should be
# concatenated with package path and relative config path.
cfg_path = _get_external_cfg_base_path(package_path, cfg_path)
except FileNotFoundError as e:
raise e
return cfg_path, scope
else:
# Get local config path.
cfg_dir = osp.dirname(filename)
cfg_path = osp.join(cfg_dir, cfg_path)
return cfg_path, None
| (cfg_path: str, filename: str) -> Tuple[str, Optional[str]] | [
0.04881194606423378,
-0.03266821429133415,
0.02632875181734562,
0.012878814712166786,
0.01918020099401474,
-0.0028627521824091673,
0.0388934500515461,
0.00785769522190094,
0.031030995771288872,
-0.055170442909002304,
-0.011631864123046398,
-0.08429769426584244,
-0.047936223447322845,
-0.009242667816579342,
-0.01489678118377924,
0.03268725052475929,
0.06362305581569672,
0.0382271409034729,
0.0038669761270284653,
0.004071628209203482,
0.03599976375699043,
-0.046375155448913574,
-0.028708430007100105,
-0.010727586224675179,
0.018437741324305534,
0.04664168134331703,
0.060196325182914734,
-0.047593552619218826,
-0.016876673325896263,
-0.06080552190542221,
-0.025795703753829002,
-0.025472069159150124,
0.0451948344707489,
0.032515913248062134,
0.00281039928086102,
-0.005944434553384781,
0.03718008100986481,
0.0380367673933506,
-0.07592123001813889,
-0.027356773614883423,
-0.04812660068273544,
0.007695876993238926,
0.06381343305110931,
-0.028955915942788124,
0.00010009518882725388,
0.016771966591477394,
-0.0660979226231575,
-0.007695876993238926,
-0.026995062828063965,
0.011708013713359833,
0.06457492709159851,
0.01911357045173645,
-0.04134927690029144,
-0.005511333234608173,
-0.026500089094042778,
0.0279659703373909,
0.03624724969267845,
0.005016360431909561,
0.0039383661933243275,
0.03678029775619507,
0.010756142437458038,
0.021531322970986366,
0.030669284984469414,
-0.008500208146870136,
-0.033924683928489685,
-0.02945088967680931,
-0.05585579201579094,
-0.05063953995704651,
-0.05391397327184677,
0.022140519693493843,
-0.02063656412065029,
-0.010442025028169155,
-0.024824796244502068,
-0.09023737162351608,
0.05768338218331337,
-0.07192337512969971,
0.002541495719924569,
0.018875602632761,
0.04572788253426552,
-0.03350586071610451,
-0.05749300867319107,
-0.012050687335431576,
0.00647748215124011,
-0.007291331887245178,
0.05280980467796326,
0.05029686540365219,
0.03137366846203804,
0.018047474324703217,
0.06613599509000778,
0.023282764479517937,
0.01922779530286789,
0.023377953097224236,
0.022197632119059563,
0.05025878921151161,
0.030593134462833405,
-0.01931346394121647,
0.009747159667313099,
-0.027470998466014862,
-0.0016217502998188138,
-0.013145338743925095,
-0.047821998596191406,
0.0003512999101076275,
-0.038931526243686676,
0.0024772442411631346,
-0.0017145576421171427,
-0.022121483460068703,
0.00035011005820706487,
0.02452019788324833,
0.04005473107099533,
-0.04568981006741524,
-0.08665833622217178,
-0.08102326095104218,
0.0018097447464242578,
-0.01938961260020733,
0.07782497256994247,
0.025757629424333572,
-0.03664703294634819,
0.014125766232609749,
0.031011957675218582,
0.004825985990464687,
-0.019951216876506805,
0.07112380117177963,
0.007629246450960636,
-0.00130287348292768,
0.06415610760450363,
-0.016296032816171646,
-0.001607472193427384,
-0.034000832587480545,
0.014934856444597244,
-0.030307574197649956,
0.09625320136547089,
0.014030578546226025,
-0.011203521862626076,
-0.03624724969267845,
0.008124219253659248,
0.01404009759426117,
0.001440894789993763,
0.03990243375301361,
-0.017733357846736908,
0.042719971388578415,
0.04999226704239845,
0.032382652163505554,
-0.06937236338853836,
-0.054903920739889145,
0.0007864834042266011,
0.040930453687906265,
-0.006329942494630814,
-0.023282764479517937,
-0.020141590386629105,
0.0015051460359245539,
0.03877922520041466,
-0.0879528820514679,
-0.08010946214199066,
0.03815099224448204,
0.021893033757805824,
-0.018723303452134132,
-0.025643404573202133,
0.03428639471530914,
0.011746088042855263,
-0.03948361054062843,
-0.03837943822145462,
-0.034019868820905685,
0.03175441548228264,
-0.017904693260788918,
-0.026652388274669647,
0.01048010028898716,
-0.023720625787973404,
-0.058292582631111145,
0.0012457611737772822,
-0.018047474324703217,
-0.008628711104393005,
-0.006977214477956295,
-0.021359985694289207,
-0.025357844308018684,
-0.027147362008690834,
-0.01579154096543789,
0.023092390969395638,
0.025738593190908432,
0.0243869349360466,
0.021226724609732628,
0.020408114418387413,
-0.012469510547816753,
0.0004339937004260719,
0.02809923328459263,
0.0023332738783210516,
0.07078112661838531,
0.023663513362407684,
-0.03242072835564613,
0.01139389630407095,
0.04028318077325821,
-0.07359866797924042,
0.03421024605631828,
0.0627092644572258,
0.0423772968351841,
0.0037360938731580973,
-0.046299006789922714,
0.04009280726313591,
0.07356059551239014,
-0.04515676200389862,
0.015553572215139866,
0.04671783000230789,
-0.025814741849899292,
-0.016752930358052254,
0.06826818734407425,
-0.012812184169888496,
0.008133738301694393,
-0.010042238980531693,
-0.02269260585308075,
-0.06053899601101875,
0.0777869001030922,
-0.04416681453585625,
-0.0553608201444149,
-0.021778808906674385,
-0.018799452111124992,
0.030117198824882507,
-0.002198822097852826,
-0.023511214181780815,
0.08307930082082748,
-0.025605330243706703,
0.03619013726711273,
0.0625188872218132,
-0.04542328417301178,
0.1309013068675995,
0.0416158027946949,
0.04873579740524292,
-0.030802546069025993,
0.01761913299560547,
-0.003950264770537615,
0.03620917350053787,
0.04035933315753937,
0.023587364703416824,
-0.020179666578769684,
0.034057945013046265,
-0.02255934290587902,
0.07428401708602905,
-0.018390148878097534,
0.017000416293740273,
-0.025814741849899292,
0.023054316639900208,
0.019741805270314217,
-0.025586292147636414,
0.011698494665324688,
0.0019656135700643063,
0.037332382053136826,
-0.033791422843933105,
-0.03352489694952965,
0.003964542876929045,
0.0011083348654210567,
0.010346838273108006,
-0.0077529894188046455,
-0.011669938452541828,
0.06076744571328163,
-0.028689391911029816,
0.017048010602593422,
-0.030593134462833405,
-0.06076744571328163,
-0.03967398405075073,
-0.00879052933305502,
0.05878755450248718,
-0.006225236691534519,
0.015153787098824978,
0.005349515005946159,
0.011412933468818665,
-0.019646618515253067,
-0.001666964148171246,
-0.02939377725124359,
0.03620917350053787,
-0.04150157794356346,
-0.02080790139734745,
0.042453449219465256,
0.08307930082082748,
0.12138259410858154,
-0.006272830069065094,
-0.008495449088513851,
-0.027033137157559395,
-0.02284490503370762,
-0.0048783388920128345,
-0.0034886072389781475,
0.03670414537191391,
0.015134749002754688,
-0.028822654858231544,
0.011070259846746922,
-0.018180737271904945,
0.05798798426985741,
0.006991492584347725,
-0.008205127902328968,
-0.054789695888757706,
-0.08505919575691223,
0.0009572252747602761,
0.06438455730676651,
0.01945624314248562,
-0.01940865069627762,
0.005863525439053774,
-0.011574751697480679,
0.06914391368627548,
0.03369623422622681,
0.00041555118514224887,
-0.030707359313964844,
0.019646618515253067,
-0.039331309497356415,
0.011622345075011253,
0.039026711136102676,
-0.05775953456759453,
0.03190671652555466,
0.00695817731320858,
0.012802665121853352,
0.031944792717695236,
-0.07934796810150146,
0.009985126554965973,
-0.015315604396164417,
-0.014506514184176922,
-0.03647569939494133,
0.0348384790122509,
0.005696948152035475,
0.008504967205226421,
0.01921827532351017,
0.003441013628616929,
-0.013345231302082539,
0.012907370924949646,
0.017780950292944908,
-0.04580403491854668,
0.10051757842302322,
0.008495449088513851,
-0.033867571502923965,
0.0004908085102215409,
0.006610744167119265,
-0.018704265356063843,
0.04013088345527649,
0.016876673325896263,
0.07584508508443832,
-0.049801893532276154,
0.042453449219465256,
0.003079302841797471,
0.04572788253426552,
0.02596704103052616,
-0.004095424897968769,
0.001906121731735766,
-0.03143078088760376,
0.04294842109084129,
-0.051210660487413406,
0.09853769093751907,
-0.0724944993853569,
-0.020370040088891983,
-0.016077101230621338,
-0.018047474324703217,
0.005549408029764891,
0.01928490772843361,
0.010156463831663132,
-0.003609970910474658,
0.021740734577178955,
0.01766672544181347,
0.016381699591875076,
-0.04146350175142288,
-0.009237907826900482,
-0.024824796244502068,
0.02583377994596958,
-0.059853650629520416,
0.025129394605755806,
0.026995062828063965,
0.04332916811108589,
0.050030339509248734,
-0.03314414992928505,
-0.012526622973382473,
0.03525730222463608,
-0.021950146183371544,
0.016724374145269394,
-0.015115711838006973,
0.051591407507658005,
0.02267356775701046,
-0.014820631593465805,
-0.024786721915006638,
-0.025281693786382675,
0.03316318616271019,
-0.07154262810945511,
0.02465345896780491,
0.0001775834389263764,
-0.04572788253426552,
-0.03830328956246376,
-0.0314498171210289,
-0.015239454805850983,
0.009756677784025669,
0.045918259769678116,
-0.011822237633168697,
0.004492831416428089,
-0.016153251752257347,
-0.03186864033341408,
-0.0006193110602907836,
-0.04359569400548935,
-0.012793146073818207,
0.018199773505330086,
0.02246415615081787,
0.012145874090492725,
0.016791004687547684,
0.03276339918375015,
0.009756677784025669,
-0.0414254255592823,
0.016619667410850525,
-0.01313581969588995,
0.025586292147636414,
-0.0016336486442014575,
-0.0003325599245727062,
-0.05635076388716698,
0.03986435756087303,
0.01937057450413704,
0.024977095425128937,
0.02452019788324833,
0.013592718169093132,
0.032116129994392395,
-0.039179012179374695,
0.003200666280463338,
-0.004328633658587933,
-0.00855256151407957,
0.010004164651036263,
-0.022959129884839058,
0.007443631533533335,
0.03451484441757202,
-0.030269498005509377,
0.029146291315555573,
0.07622583210468292,
-0.033848535269498825,
-0.018609078601002693,
-0.08574454486370087,
-0.0034886072389781475,
0.018133142963051796,
-0.004480932839214802,
0.0451948344707489,
-0.08696293830871582,
0.014544589444994926,
-0.042681895196437836,
0.03257302567362785,
-0.008885716088116169,
0.009709084406495094,
0.027356773614883423,
-0.030307574197649956,
-0.019684692844748497,
-0.01593432016670704,
0.009433042258024216,
-0.009137962013483047,
-0.008904753252863884,
-0.04854542389512062,
-0.004445237573236227,
0.04603248089551926,
-0.007024808321148157,
0.04370991885662079,
-0.04192040115594864,
0.035961687564849854,
-0.06800166517496109,
0.035638049244880676,
-0.035409603267908096,
-0.024824796244502068,
-0.07329406589269638,
-0.009085608646273613,
0.04770777374505997,
0.01295496430248022,
-0.0587494783103466,
-0.06038669869303703,
-0.05223868042230606,
0.01575346477329731,
-0.030859658494591713,
0.06160509213805199,
0.008590635843575,
0.008466892875730991,
0.07272294908761978,
-0.035542864352464676,
0.05364745110273361,
-0.09221726655960083,
0.033829495310783386,
0.007020048797130585,
-0.05345707759261131,
-0.009147480130195618,
-0.0010060087079182267,
-0.03624724969267845,
-0.04683205485343933,
0.04885002225637436,
-0.018209293484687805,
-0.014906300231814384,
0.05410435050725937,
0.05703611299395561,
0.010660955682396889,
-0.0343625433743,
-0.04119697958230972,
-0.016410255804657936,
-0.02933666482567787,
0.02621452882885933,
0.040930453687906265,
-0.02434886060655117,
0.013725980184972286,
-0.016800522804260254,
-0.0668594241142273,
0.02598607912659645,
-0.009966089390218258,
0.0190183836966753,
0.002249985234811902,
-0.0042810398153960705,
0.0055970014072954655,
0.016495924443006516,
0.056579213589429855,
0.07036230713129044,
0.04747932776808739,
-0.031107144430279732,
0.00018219406774733216,
-0.024881908670067787,
-0.003188767936080694,
-0.002342792460694909,
-0.00949015375226736,
-0.017961805686354637,
-0.04355761781334877,
0.0076673212461173534,
0.012431435286998749,
-0.008109941147267818,
-0.0008483550627715886,
-0.00857635773718357,
0.03959783539175987,
0.019494319334626198,
-0.0054970551282167435,
-0.00871437881141901,
0.009609137661755085,
0.05258135497570038,
0.024044262245297432,
0.0014539830153807998,
-0.047898150980472565,
-0.07394134253263474,
0.006130049470812082,
-0.004238205496221781,
-0.023187577724456787,
0.007219941820949316,
0.0384175144135952,
-0.035771314054727554,
-0.056807663291692734,
0.02583377994596958,
0.03698970749974251,
0.02069367654621601,
-0.015363198705017567,
0.018675709143280983,
0.06925813853740692,
0.013088226318359375,
-0.024824796244502068,
0.02802308276295662,
-0.08490689843893051,
-0.023949075490236282,
0.006801118608564138,
-0.04747932776808739,
0.014306621626019478,
0.0423772968351841,
0.008419299498200417,
-0.003441013628616929,
-0.011603307910263538,
-0.024958057329058647,
0.037446606904268265,
-0.03990243375301361,
0.035771314054727554,
0.012859777547419071,
0.07843416929244995,
0.01718127168715,
0.01595335826277733,
-0.03323933482170105,
0.011650901287794113,
0.0060015469789505005,
-0.013535605743527412,
-0.04549943655729294,
-0.03495270386338234,
0.04119697958230972,
-0.05539889261126518,
0.014220952987670898,
0.0028865488711744547,
-0.06849663704633713,
-0.018571004271507263,
0.008571598678827286,
0.002408233704045415,
-0.021893033757805824,
-0.012593253515660763,
0.009018978103995323,
-0.004397644195705652,
-0.034019868820905685,
-0.0044618952088057995,
0.04919269308447838,
0.0847545936703682,
0.005977749824523926,
0.05280980467796326,
0.03666607290506363,
0.008695341646671295,
-0.026956986635923386,
0.06335653364658356,
0.04020703211426735,
-0.05737878382205963,
0.04340531677007675,
0.023149503394961357,
0.028860729187726974,
-0.028479980304837227,
-0.0012600392801687121,
-0.02625260315835476,
0.028403831645846367,
0.04378606751561165,
-0.019532393664121628,
0.03651377186179161,
-0.03599976375699043,
-0.03780831769108772,
-0.002082217950373888,
0.06430840492248535,
-0.009571063332259655,
-0.07394134253263474,
-0.062100064009428024,
0.0036052113864570856,
0.026423940435051918,
-0.02286394126713276,
-0.014278065413236618,
0.012745552696287632,
-0.0451948344707489,
-0.062023915350437164,
0.02415848709642887,
-0.028917841613292694,
-0.044204890727996826,
0.013840205036103725,
-0.05395204946398735,
-0.026899874210357666,
0.026804687455296516,
0.0023772979620844126,
0.015077636577188969,
0.006529835052788258,
-0.041044678539037704,
-0.03421024605631828,
0.04058777913451195,
-0.03430543094873428,
0.02956511452794075,
-0.025129394605755806,
0.047669701278209686,
-0.01057528704404831,
-0.03959783539175987,
-0.039255160838365555,
0.033753346651792526,
0.020103516057133675,
0.015448866412043571,
0.053190551698207855,
-0.030516985803842545,
-0.006296626757830381,
-0.06343268603086472,
0.06065322086215019,
-0.00787197332829237,
-0.004561841953545809,
0.019722767174243927,
0.015391753986477852,
-0.013088226318359375,
-0.030650246888399124,
-0.020293889567255974,
0.006801118608564138,
0.020122554153203964,
0.0005398893263190985,
0.008385983295738697,
0.07835802435874939,
-0.01736212708055973,
0.02981260046362877,
-0.014278065413236618,
0.010965554043650627,
-0.015287048183381557,
-0.018561484292149544,
0.011127372272312641,
-0.006072937045246363,
-0.013716461136937141,
0.0019156404305249453,
-0.011565232649445534,
-0.005968231242150068,
-0.01723838411271572,
-0.005901600234210491,
0.008557320572435856,
-0.06388958543539047,
-0.059853650629520416,
0.020389078184962273,
-0.05440894886851311,
0.02821345627307892,
-0.02271164208650589,
0.05376167595386505,
-0.025681480765342712,
-0.00521149393171072,
-0.015258492901921272,
-0.0046308524906635284,
-0.0423772968351841,
0.005444702226668596,
0.03542863950133324,
-0.019989291206002235,
-0.013059670105576515,
0.011412933468818665,
0.049916114658117294,
-0.016419775784015656,
0.012498066760599613,
0.011470045894384384,
0.014582663774490356,
0.054789695888757706,
0.009323576465249062,
0.005863525439053774,
-0.029964899644255638,
-0.047898150980472565,
0.020541377365589142,
0.03514307737350464,
0.0020048783626407385,
-0.01575346477329731,
-0.09617704898118973,
0.009899458847939968,
-0.007115236017853022,
-0.03601879999041557,
-0.03594265133142471,
0.042986493557691574,
-0.03647569939494133,
-0.01560116559267044,
-0.008133738301694393,
-0.003500505583360791,
-0.027375809848308563,
-0.015334642492234707,
-0.014820631593465805,
-0.08924742788076401,
0.0457659587264061,
-0.04222499951720238,
-0.02939377725124359,
0.030041050165891647,
-0.06849663704633713,
0.05440894886851311,
0.04058777913451195,
-0.0687250867486,
-0.01930394396185875,
-0.018123624846339226,
-0.023606400936841965,
-0.041235052049160004,
-0.017048010602593422,
0.023720625787973404,
-0.012136355973780155,
0.01727645844221115,
0.013535605743527412,
-0.014734962955117226,
0.0003263132821302861,
0.016219882294535637,
0.041082754731178284,
-0.06598369777202606,
-0.010651436634361744,
-0.009166518226265907,
0.09419715404510498,
0.04176810011267662,
0.01907549612224102,
-0.0025676721706986427,
0.0210934616625309,
-0.02625260315835476,
0.013364269398152828,
0.037142008543014526,
0.037199120968580246,
-0.0672401711344719,
0.005516092758625746,
0.00524005014449358,
-0.020370040088891983,
0.028765542432665825,
-0.007400797214359045,
-0.03491462767124176,
-0.002423701575025916,
0.008971384726464748,
0.03799869120121002,
0.03693259507417679,
0.00027961211162619293,
-0.04690820351243019,
-0.07519780844449997,
0.0027033137157559395,
0.01295496430248022,
-0.008809566497802734,
-0.008029032498598099,
-0.02813730761408806,
-0.010089833289384842,
0.028460944071412086,
0.005473258439451456,
0.06282348930835724,
-0.037218157202005386,
-0.08498304337263107,
0.011688976548612118
] |
730,013 | mmengine.config.config | _is_lazy_import | null | @staticmethod
def _is_lazy_import(filename: str) -> bool:
if not filename.endswith('.py'):
return False
with open(filename, encoding='utf-8') as f:
codes_str = f.read()
parsed_codes = ast.parse(codes_str)
for node in ast.walk(parsed_codes):
if (isinstance(node, ast.Assign)
and isinstance(node.targets[0], ast.Name)
and node.targets[0].id == BASE_KEY):
return False
if isinstance(node, ast.With):
expr = node.items[0].context_expr
if (not isinstance(expr, ast.Call)
or not expr.func.id == 'read_base'): # type: ignore
raise ConfigParsingError(
'Only `read_base` context manager can be used in the '
'config')
return True
if isinstance(node, ast.ImportFrom):
# relative import -> lazy_import
if node.level != 0:
return True
# Skip checking when using `mmengine.config` in cfg file
if (node.module == 'mmengine' and len(node.names) == 1
and node.names[0].name == 'Config'):
continue
if not isinstance(node.module, str):
continue
# non-builtin module -> lazy_import
if not _is_builtin_module(node.module):
return True
if isinstance(node, ast.Import):
for alias_node in node.names:
if not _is_builtin_module(alias_node.name):
return True
return False
| (filename: str) -> bool | [
0.027786871418356895,
-0.051938075572252274,
0.05012024566531181,
0.0368574857711792,
0.049489568918943405,
0.04956376552581787,
0.09163361042737961,
0.012353843078017235,
-0.009821861051023006,
-0.08925929665565491,
0.012372392229735851,
-0.009367403574287891,
0.007020914927124977,
0.006088811904191971,
-0.008857296779751778,
-0.036542147397994995,
0.02717474475502968,
0.06659203767776489,
0.008732088841497898,
-0.04433285817503929,
-0.05820774659514427,
0.04956376552581787,
0.03021683171391487,
-0.03320327028632164,
0.005059325136244297,
0.039547134190797806,
0.026581166312098503,
0.03821158409118652,
0.020200202241539955,
-0.02211078070104122,
-0.023483430966734886,
-0.030124085023999214,
0.019662272185087204,
0.022593064233660698,
0.025783546268939972,
-0.07260201126337051,
0.020682483911514282,
0.045816805213689804,
-0.06217729672789574,
-0.06881795078516006,
0.021535752341151237,
0.005768836475908756,
0.005152071826159954,
0.0050917863845825195,
-0.032220158725976944,
-0.04095688462257385,
-0.06670332700014114,
0.013828513212502003,
0.025560954585671425,
-0.057465773075819016,
0.05201227590441704,
-0.0022664943244308233,
-0.003331920364871621,
0.03899065777659416,
0.0017633440438658,
0.029493408277630806,
-0.016147177666425705,
0.047152355313301086,
-0.029734550043940544,
0.046336185187101364,
0.004456472583115101,
0.007781437132507563,
-0.016304846853017807,
-0.034075088798999786,
0.003195119323208928,
-0.03880516439676285,
-0.048858892172575,
-0.023335035890340805,
-0.028677238151431084,
-0.019829215481877327,
-0.05594472959637642,
-0.000906597706489265,
0.02446654438972473,
0.0004851804696954787,
0.04370218142867088,
-0.07968784868717194,
-0.0484137088060379,
-0.013494625687599182,
0.026247277855873108,
-0.012455863878130913,
-0.04225533455610275,
-0.046855565160512924,
-0.01201995462179184,
-0.0002388224093010649,
-0.005615804810076952,
-0.015358831733465195,
0.006617467384785414,
0.03932454437017441,
0.033796850591897964,
0.018113404512405396,
-0.029233718290925026,
0.08629140257835388,
-0.01104611624032259,
0.014616859145462513,
0.0022688128519803286,
-0.0074382745660841465,
0.04904438555240631,
0.029474858194589615,
-0.007730426266789436,
-0.03802609071135521,
0.034075088798999786,
-0.016137901693582535,
-0.016842776909470558,
-0.03531789407134056,
0.0175105519592762,
0.022574514150619507,
0.01143565122038126,
0.01910579204559326,
0.0230196975171566,
-0.08859152346849442,
-0.05779965966939926,
-0.1273224800825119,
0.025468207895755768,
0.035892922431230545,
0.02756427973508835,
-0.05423819273710251,
0.016666557639837265,
0.010202121920883656,
0.008217345923185349,
0.00009173215221380815,
0.00738262664526701,
0.04407316818833351,
-0.03149673342704773,
0.029233718290925026,
0.09742099046707153,
-0.01973646879196167,
0.02680375799536705,
-0.010452537797391415,
0.04455545172095299,
-0.033537156879901886,
0.07775872200727463,
0.022537415847182274,
-0.006858608685433865,
-0.021405907347798347,
-0.04381347820162773,
0.01392125990241766,
-0.007364077493548393,
0.07323268800973892,
-0.04678136855363846,
-0.021220413967967033,
0.011009017005562782,
0.0019128979183733463,
-0.04522322490811348,
-0.009116987697780132,
-0.028436096385121346,
-0.0210720207542181,
-0.022648710757493973,
0.03151528164744377,
-0.023576177656650543,
0.004240836948156357,
0.05579633265733719,
-0.039398740977048874,
-0.05008314549922943,
0.02470768615603447,
-0.045297421514987946,
0.023854417726397514,
-0.043590884655714035,
0.02758282795548439,
-0.03503965213894844,
-0.08109759539365768,
-0.000834719103295356,
0.03659779578447342,
-0.030903156846761703,
0.006251118611544371,
-0.01209415215998888,
-0.027527181431651115,
-0.04429576173424721,
-0.1176026463508606,
-0.02704489789903164,
0.033667001873254776,
-0.01988486386835575,
0.02120186574757099,
0.075236015021801,
0.05408979579806328,
0.058652929961681366,
-0.008648617193102837,
-0.02743443474173546,
0.011982856318354607,
-0.04422156140208244,
0.04611359164118767,
0.031459636986255646,
-0.001138464082032442,
-0.006357776932418346,
-0.026358574628829956,
-0.007238869555294514,
0.03008698672056198,
0.03279518708586693,
-0.045037731528282166,
0.046744268387556076,
0.01936548389494419,
-0.028473196551203728,
0.011602595448493958,
0.048562102019786835,
-0.025560954585671425,
-0.0017529100878164172,
-0.023743120953440666,
-0.002573717152699828,
0.010443263687193394,
0.002963252831250429,
0.02693360298871994,
-0.09059484302997589,
-0.007994754239916801,
0.016963347792625427,
0.028695788234472275,
-0.015757640823721886,
0.014320069923996925,
-0.016759304329752922,
-0.0014201818266883492,
0.003496545599773526,
0.023947162553668022,
-0.06444031745195389,
-0.07894587516784668,
-0.004222287330776453,
0.10261479765176773,
0.03713572397828102,
0.03071766346693039,
0.02287130244076252,
0.07386336475610733,
-0.028603041544556618,
0.029233718290925026,
0.10357936471700668,
0.06132403016090393,
0.033926695585250854,
0.006144459825009108,
0.04392477497458458,
-0.013958358205854893,
-0.014932197518646717,
0.054201092571020126,
0.011277982033789158,
0.032368551939725876,
0.02313099429011345,
-0.013958358205854893,
0.03136688843369484,
0.010489637032151222,
0.102021224796772,
-0.009321030229330063,
0.045557115226984024,
0.053681712597608566,
0.01320711150765419,
0.023242289200425148,
-0.00014223555626813322,
0.06707431375980377,
-0.037988994270563126,
-0.08124598860740662,
-0.004994402639567852,
-0.026469869539141655,
0.016648009419441223,
-0.0019430405227467418,
-0.07278750836849213,
0.03791479766368866,
0.013893435709178448,
0.03695023059844971,
-0.0021586762741208076,
0.011491299606859684,
-0.0637725368142128,
-0.019254187121987343,
0.0032994591165333986,
0.012057053856551647,
0.009478699415922165,
0.010999742895364761,
-0.02602468617260456,
-0.01313291396945715,
0.027248941361904144,
0.02209223248064518,
-0.014014006592333317,
-0.015164063312113285,
0.028862731531262398,
-0.016416141763329506,
-0.008198796771466732,
-0.015460852533578873,
0.0538301058113575,
0.017148839309811592,
0.02038569562137127,
0.018252523615956306,
-0.029196619987487793,
-0.003461765591055155,
-0.0008868890581652522,
-0.014449914917349815,
0.02116476558148861,
0.019013045355677605,
-0.007271330803632736,
0.01143565122038126,
-0.020756682381033897,
0.0350211039185524,
-0.026989251375198364,
-0.040177810937166214,
-0.055239856243133545,
-0.019309835508465767,
-0.02416975609958172,
0.03346296027302742,
0.010981193743646145,
-0.02704489789903164,
0.06655493378639221,
-0.0370800755918026,
0.034835610538721085,
0.009033515118062496,
0.01392125990241766,
-0.017584748566150665,
-0.029233718290925026,
-0.012789751403033733,
0.002780078211799264,
-0.013986182399094105,
0.005244818516075611,
0.0034223482944071293,
0.011166686192154884,
-0.03151528164744377,
-0.0003657692577689886,
-0.05635281279683113,
-0.042811814695596695,
-0.012928871437907219,
0.002652551745995879,
0.05594472959637642,
0.03932454437017441,
-0.048562102019786835,
0.04537162184715271,
-0.028955478221178055,
0.004618778824806213,
-0.00007709558121860027,
0.007651591673493385,
0.017185939475893974,
-0.05453498288989067,
0.05702058970928192,
0.0218325424939394,
0.007953017950057983,
0.011732440441846848,
0.015970958396792412,
0.08057821542024612,
-0.006079537328332663,
-0.0022885215003043413,
0.004354451317340136,
-0.06985671073198318,
-0.00863006804138422,
-0.011027567088603973,
0.017751693725585938,
-0.027898166328668594,
-0.04455545172095299,
-0.026247277855873108,
-0.023427782580256462,
0.04340539127588272,
-0.035892922431230545,
0.04859920218586922,
-0.03253549709916115,
0.01843801699578762,
-0.045816805213689804,
-0.026636814698576927,
-0.022908402606844902,
0.005096423905342817,
-0.0029910767916589975,
0.05216066911816597,
0.01896667294204235,
-0.0324242003262043,
-0.031051550060510635,
-0.0065293582156300545,
-0.016277022659778595,
-0.0036658081226050854,
-0.014932197518646717,
-0.03136688843369484,
0.01216834969818592,
0.03906485438346863,
0.021758344024419785,
0.0875527560710907,
-0.02103492058813572,
-0.03925034776329994,
0.02339068427681923,
-0.01522898580878973,
-0.0024090921506285667,
0.03229435533285141,
-0.005286554340273142,
-0.014366443268954754,
-0.04867339879274368,
-0.04173595458269119,
0.00049039744772017,
0.009840411134064198,
-0.05661250278353691,
-0.0008561667636968195,
-0.07208263128995895,
-0.010415439493954182,
-0.022593064233660698,
-0.0023175047244876623,
0.08510424941778183,
0.04485223814845085,
0.06017397344112396,
0.00850022304803133,
-0.029994240030646324,
-0.026432771235704422,
-0.02300114929676056,
-0.0013390285894274712,
-0.04336829483509064,
-0.025653699412941933,
0.005087149329483509,
0.04845080524682999,
0.014616859145462513,
-0.04396187141537666,
0.017195213586091995,
-0.026729559525847435,
-0.040066517889499664,
-0.0011906340951099992,
-0.01451483741402626,
0.039547134190797806,
-0.016527438536286354,
0.019142892211675644,
0.005087149329483509,
0.10298578441143036,
0.026117432862520218,
-0.0025389371439814568,
0.019773567095398903,
0.04967506229877472,
-0.016406867653131485,
-0.02235192246735096,
-0.00571782561019063,
-0.009265381842851639,
0.0049480292946100235,
-0.07857488840818405,
-0.039027754217386246,
0.000645747990347445,
-0.0318862684071064,
0.02548675611615181,
-0.04155046120285988,
0.010990467853844166,
-0.011259432882070541,
0.014236598275601864,
-0.034186385571956635,
0.001556982984766364,
-0.03006843663752079,
-0.03659779578447342,
-0.006742675323039293,
-0.04577970504760742,
-0.010471086949110031,
-0.04114237800240517,
0.029845844954252243,
-0.08094920217990875,
-0.011574771255254745,
0.04811691865324974,
-0.037710752338171005,
0.01609152927994728,
-0.08042982220649719,
-0.013939809054136276,
-0.01125015877187252,
0.011955032125115395,
-0.04340539127588272,
-0.0049341171979904175,
0.08042982220649719,
0.002729067811742425,
0.022908402606844902,
0.00007238579564727843,
-0.008036489598453045,
-0.03542918711900711,
0.0823589488863945,
-0.015581423416733742,
-0.018855376169085503,
-0.10788280516862869,
0.02639567293226719,
0.010638031177222729,
-0.011769539676606655,
-0.041105277836322784,
-0.008379652164876461,
-0.03813738748431206,
0.06996800750494003,
0.02732313796877861,
0.05034283548593521,
-0.0434424914419651,
0.007331616245210171,
0.00487383222207427,
-0.022314824163913727,
0.05568503960967064,
-0.007095112465322018,
0.021387359127402306,
0.04054879769682884,
-0.016963347792625427,
0.05227196589112282,
-0.013105089776217937,
-0.047003958374261856,
0.007187858689576387,
-0.02851029485464096,
-0.028955478221178055,
0.038359981030225754,
0.03648649901151657,
0.04837660863995552,
0.06866955757141113,
-0.0013784458860754967,
0.00039069491322152317,
-0.015970958396792412,
-0.009905333630740643,
-0.006612830329686403,
0.035113848745822906,
-0.019179990515112877,
0.0032948218286037445,
-0.03110719844698906,
-0.0066221049055457115,
-0.03489125892519951,
-0.051455795764923096,
0.014153125695884228,
0.0572802796959877,
0.013550273142755032,
0.051010612398386,
-0.011880835518240929,
0.02615453116595745,
0.04874759539961815,
0.05935780331492424,
-0.03839707747101784,
0.009654917754232883,
0.02667391300201416,
0.03123704344034195,
0.042811814695596695,
0.01844729296863079,
0.045928098261356354,
-0.006297491956502199,
0.00620938278734684,
0.006167646497488022,
-0.030012788251042366,
0.011231609620153904,
0.017556924372911453,
0.041253671050071716,
0.04314570128917694,
0.033945243805646896,
0.006937443278729916,
0.03661634400486946,
0.05331072583794594,
-0.02025585062801838,
-0.004532988648861647,
0.018141228705644608,
-0.09289496392011642,
0.01314218807965517,
-0.030124085023999214,
-0.04169885441660881,
0.013615195639431477,
0.042292434722185135,
0.01568344421684742,
-0.01739925518631935,
-0.0011396234622225165,
0.07686835527420044,
-0.009436963126063347,
0.024410896003246307,
-0.03333311527967453,
-0.0007639998220838606,
0.023631826043128967,
0.028028013184666634,
-0.004957303870469332,
-0.036004215478897095,
0.005949692334979773,
0.01176026463508606,
-0.00946942437440157,
0.06314186006784439,
0.02235192246735096,
0.02483753114938736,
0.003948685247451067,
-0.03748816251754761,
0.003978827502578497,
-0.028547393158078194,
-0.009719840250909328,
0.06603555381298065,
0.026989251375198364,
-0.005309741012752056,
-0.073269784450531,
0.07902007550001144,
-0.10090826451778412,
0.015395930036902428,
-0.017065368592739105,
-0.0366348922252655,
0.008560508489608765,
0.0007547251880168915,
0.031162846833467484,
-0.027657026425004005,
0.0015013350639492273,
-0.04522322490811348,
-0.05761416628956795,
-0.021276062354445457,
0.003329601837322116,
0.001102524809539318,
-0.003477996215224266,
0.006696301978081465,
-0.02444799430668354,
0.052494555711746216,
0.005536970216780901,
0.02038569562137127,
0.0851784497499466,
0.031830620020627975,
-0.017881538718938828,
0.03305487707257271,
-0.01333695650100708,
0.03294358029961586,
-0.027508631348609924,
-0.013105089776217937,
0.0486362986266613,
0.027230391278862953,
-0.019569525495171547,
-0.001536114956252277,
0.09282076358795166,
0.03466866537928581,
-0.03932454437017441,
-0.028862731531262398,
0.031570930033922195,
0.07423435151576996,
-0.04774593189358711,
0.05501726269721985,
0.009330304339528084,
-0.002647914458066225,
0.021869640797376633,
0.04507483169436455,
-0.012057053856551647,
-0.027749773114919662,
-0.04848790541291237,
0.004264023620635271,
-0.014245872385799885,
-0.026766659691929817,
0.012771202251315117,
0.02717474475502968,
0.002301274100318551,
-0.031979016959667206,
0.05787385627627373,
-0.008124599233269691,
-0.025023024529218674,
-0.004328946117311716,
-0.06458871066570282,
-0.025523854419589043,
0.014570485800504684,
-0.015331007540225983,
-0.015516500920057297,
0.051307398825883865,
-0.05464627593755722,
-0.028028013184666634,
0.013856337405741215,
0.021665597334504128,
0.014987844973802567,
0.0021609950345009565,
0.05579633265733719,
0.00972911436110735,
-0.024893177673220634,
-0.05486886948347092,
-0.014997120015323162,
0.0032252618111670017,
0.018141228705644608,
0.04247792810201645,
-0.006909619085490704,
-0.005768836475908756,
-0.05067672207951546,
0.07657156884670258,
-0.001536114956252277,
0.032071761786937714,
0.001127450494095683,
-0.008073588833212852,
-0.09348853677511215,
-0.025264164432883263,
0.0012254139874130487,
-0.016443965956568718,
0.003322645789012313,
0.012075603008270264,
-0.003978827502578497,
0.0974951907992363,
-0.008746000938117504,
0.02654406800866127,
0.007266693282872438,
0.016796402633190155,
0.02719329297542572,
-0.007990116253495216,
0.0036101602017879486,
-0.007827810011804104,
-0.01673148013651371,
0.03728412091732025,
-0.02405845932662487,
0.016277022659778595,
-0.03437187895178795,
-0.030049888417124748,
0.039287444204092026,
-0.025431107729673386,
-0.04077139124274254,
0.027100546285510063,
-0.04080848768353462,
0.045186128467321396,
0.02090507559478283,
-0.0014201818266883492,
-0.001185417058877647,
-0.0036542147863656282,
-0.05609312281012535,
0.036671992391347885,
-0.022518865764141083,
-0.023186640813946724,
-0.016314120963215828,
-0.00444024195894599,
-0.03591147065162659,
-0.011695342138409615,
0.03320327028632164,
-0.010174298658967018,
0.007275968324393034,
-0.025653699412941933,
0.05624151602387428,
0.00993315689265728,
-0.008713539689779282,
0.08436227589845657,
-0.018920298665761948,
-0.002937747398391366,
0.06329025328159332,
-0.013791413977742195,
0.06495969742536545,
-0.05553664267063141,
-0.022129330784082413,
-0.009562171064317226,
-0.008940769359469414,
-0.06091594323515892,
-0.043479591608047485,
-0.005249455571174622,
-0.04088268801569939,
-0.010276319459080696,
-0.03466866537928581,
-0.022555964067578316,
-0.0021725883707404137,
-0.05765126645565033,
-0.011111038736999035,
-0.07230522483587265,
0.07056158781051636,
-0.017881538718938828,
0.026896504685282707,
0.013791413977742195,
-0.02888128161430359,
0.03490980714559555,
-0.08132018893957138,
-0.05386720597743988,
0.00043474952690303326,
-0.008092137984931469,
0.006116636097431183,
-0.027527181431651115,
0.004083167761564255,
-0.023687472566962242,
0.01789081282913685,
-0.02838044986128807,
0.01620282605290413,
-0.03748816251754761,
-0.018985223025083542,
-0.011472750455141068,
0.006125910673290491,
0.008324004709720612,
0.005277279764413834,
-0.03821158409118652,
0.05605602636933327,
0.027378786355257034,
-0.02274145744740963,
0.0015268403803929687,
0.03466866537928581,
-0.01828034780919552,
-0.054201092571020126,
0.03082895837724209,
-0.04485223814845085,
-0.033908143639564514,
0.032887931913137436,
-0.07642316818237305,
0.011973581276834011,
0.032350003719329834,
-0.002301274100318551,
-0.013819238170981407,
0.049081481993198395,
-0.024243952706456184,
0.06610975414514542,
0.0027012438513338566,
0.011027567088603973,
0.0047254376113414764,
-0.009302480146288872,
-0.06770499050617218,
-0.002949340734630823,
-0.009636368602514267,
-0.06165791675448418,
-0.03581872209906578,
-0.01425514742732048,
-0.008602243848145008,
0.0066081928089261055,
0.016777854412794113,
-0.040474601089954376,
-0.027768321335315704,
-0.008138511329889297
] |
730,014 | mmengine.config.config | _merge_a_into_b | merge dict ``a`` into dict ``b`` (non-inplace).
Values in ``a`` will overwrite ``b``. ``b`` is copied first to avoid
in-place modifications.
Args:
a (dict): The source dict to be merged into ``b``.
b (dict): The origin dict to be fetch keys from ``a``.
allow_list_keys (bool): If True, int string keys (e.g. '0', '1')
are allowed in source ``a`` and will replace the element of the
corresponding index in b if b is a list. Defaults to False.
Returns:
dict: The modified dict of ``b`` using ``a``.
Examples:
# Normally merge a into b.
>>> Config._merge_a_into_b(
... dict(obj=dict(a=2)), dict(obj=dict(a=1)))
{'obj': {'a': 2}}
# Delete b first and merge a into b.
>>> Config._merge_a_into_b(
... dict(obj=dict(_delete_=True, a=2)), dict(obj=dict(a=1)))
{'obj': {'a': 2}}
# b is a list
>>> Config._merge_a_into_b(
... {'0': dict(a=2)}, [dict(a=1), dict(b=2)], True)
[{'a': 2}, {'b': 2}]
| @staticmethod
def _merge_a_into_b(a: dict,
b: dict,
allow_list_keys: bool = False) -> dict:
"""merge dict ``a`` into dict ``b`` (non-inplace).
Values in ``a`` will overwrite ``b``. ``b`` is copied first to avoid
in-place modifications.
Args:
a (dict): The source dict to be merged into ``b``.
b (dict): The origin dict to be fetch keys from ``a``.
allow_list_keys (bool): If True, int string keys (e.g. '0', '1')
are allowed in source ``a`` and will replace the element of the
corresponding index in b if b is a list. Defaults to False.
Returns:
dict: The modified dict of ``b`` using ``a``.
Examples:
# Normally merge a into b.
>>> Config._merge_a_into_b(
... dict(obj=dict(a=2)), dict(obj=dict(a=1)))
{'obj': {'a': 2}}
# Delete b first and merge a into b.
>>> Config._merge_a_into_b(
... dict(obj=dict(_delete_=True, a=2)), dict(obj=dict(a=1)))
{'obj': {'a': 2}}
# b is a list
>>> Config._merge_a_into_b(
... {'0': dict(a=2)}, [dict(a=1), dict(b=2)], True)
[{'a': 2}, {'b': 2}]
"""
b = b.copy()
for k, v in a.items():
if allow_list_keys and k.isdigit() and isinstance(b, list):
k = int(k)
if len(b) <= k:
raise KeyError(f'Index {k} exceeds the length of list {b}')
b[k] = Config._merge_a_into_b(v, b[k], allow_list_keys)
elif isinstance(v, dict):
if k in b and not v.pop(DELETE_KEY, False):
allowed_types: Union[Tuple, type] = (
dict, list) if allow_list_keys else dict
if not isinstance(b[k], allowed_types):
raise TypeError(
f'{k}={v} in child config cannot inherit from '
f'base because {k} is a dict in the child config '
f'but is of type {type(b[k])} in base config. '
f'You may set `{DELETE_KEY}=True` to ignore the '
f'base config.')
b[k] = Config._merge_a_into_b(v, b[k], allow_list_keys)
else:
b[k] = ConfigDict(v)
else:
b[k] = v
return b
| (a: dict, b: dict, allow_list_keys: bool = False) -> dict | [
-0.02967674657702446,
-0.04889349266886711,
-0.053702689707279205,
-0.012053047306835651,
-0.05763019993901253,
0.0493343360722065,
-0.01906645856797695,
-0.009533229283988476,
0.024206286296248436,
-0.0780692845582962,
-0.023064102977514267,
-0.030598510056734085,
-0.0008679095772095025,
0.017994409427046776,
-0.04604805260896683,
-0.007769857533276081,
0.04111862555146217,
0.042000312358140945,
0.024106094613671303,
-0.053822919726371765,
0.022663336247205734,
-0.04380376264452934,
0.0025974668096750975,
0.03462621197104454,
-0.02931605838239193,
-0.04532667249441147,
0.012584063224494457,
0.0225631445646286,
0.0065825870260596275,
0.0652848333120346,
0.03540770709514618,
-0.020098432898521423,
0.057950813323259354,
0.05755004659295082,
0.02651069313287735,
-0.0542236864566803,
0.02442670799791813,
0.07454253733158112,
-0.038774143904447556,
0.03618920221924782,
-0.014758220873773098,
-0.0202687568962574,
0.0014001773670315742,
-0.038774143904447556,
0.044685445725917816,
0.06805012375116348,
-0.04368353262543678,
0.07582499086856842,
-0.002554885344579816,
-0.010034187696874142,
0.018525423482060432,
-0.034485943615436554,
-0.01014940720051527,
0.051498476415872574,
-0.042721692472696304,
-0.013826439157128334,
-0.006297041196376085,
0.01084072981029749,
-0.020158546045422554,
-0.024767359718680382,
-0.026430539786815643,
-0.0027402399573475122,
-0.038714028894901276,
-0.06596613675355911,
0.005996466148644686,
-0.045406825840473175,
-0.08343955129384995,
-0.04071785882115364,
-0.025528816506266594,
0.007569474168121815,
-0.019827915355563164,
-0.029817014932632446,
-0.008080451749265194,
0.025348471477627754,
0.029215866699814796,
0.05254046618938446,
0.006091648247092962,
0.047009892761707306,
0.014728163368999958,
-0.026049811393022537,
0.016160903498530388,
-0.026310309767723083,
0.013545902445912361,
0.016160903498530388,
0.06263978034257889,
0.03592870384454727,
0.012644178234040737,
0.01815471611917019,
0.11598177999258041,
-0.020158546045422554,
-0.014637990854680538,
-0.00922764465212822,
0.01041992474347353,
-0.01927686110138893,
0.018886113539338112,
0.04025697708129883,
-0.011972893960773945,
-0.021581267938017845,
-0.009012233465909958,
-0.040637705475091934,
-0.002895536832511425,
-0.05230000615119934,
-0.00946810469031334,
-0.0451262891292572,
0.015539715066552162,
-0.06620659679174423,
-0.005365259479731321,
-0.009508181363344193,
-0.026590846478939056,
0.01906645856797695,
-0.0652046799659729,
-0.03791249543428421,
-0.03067866340279579,
-0.005876236595213413,
-0.00580610241740942,
0.0027778116054832935,
-0.04184000566601753,
-0.032983068376779556,
0.024566976353526115,
-0.0003481657477095723,
0.021280692890286446,
0.046007975935935974,
0.03803272545337677,
-0.001836010836996138,
0.040938280522823334,
0.0012724330881610513,
-0.006853104569017887,
0.00018410204211249948,
0.02967674657702446,
0.03033801168203354,
0.003261236008256674,
0.015128929167985916,
-0.0573095865547657,
-0.028374256566166878,
0.08215709775686264,
-0.04364345595240593,
-0.07554445415735245,
0.040757935494184494,
0.0029456326737999916,
-0.04472552239894867,
0.04304230585694313,
-0.054303839802742004,
0.07225817441940308,
-0.003075881628319621,
-0.047851502895355225,
0.02138088457286358,
0.006853104569017887,
-0.008771773427724838,
-0.014688086695969105,
0.007273909170180559,
-0.01051009725779295,
0.0530213862657547,
-0.06055579334497452,
0.017293067649006844,
-0.02352498471736908,
-0.007344043347984552,
-0.04135908558964729,
-0.04921410605311394,
-0.008521294221282005,
-0.020489178597927094,
0.03959571570158005,
0.003231178503483534,
0.04368353262543678,
-0.04280184581875801,
-0.0603153333067894,
-0.04316253587603569,
0.06119702011346817,
-0.051859162747859955,
0.03210138529539108,
0.008015327155590057,
-0.006707826629281044,
0.0065825870260596275,
0.020940041169524193,
0.024707244709134102,
0.028314141556620598,
0.07594522088766098,
-0.011632243171334267,
-0.07350054383277893,
-0.010159426368772984,
-0.002548623364418745,
-0.004731547553092241,
0.0377521887421608,
0.03236188367009163,
-0.02334463968873024,
0.009618392214179039,
0.04921410605311394,
-0.01176249235868454,
0.034245483577251434,
0.014698105864226818,
0.025047896429896355,
0.007143659982830286,
-0.028033604845404625,
0.0256089698523283,
-0.03390483185648918,
-0.0207196194678545,
0.026951536536216736,
-0.07474292069673538,
-0.0009336603106930852,
0.0007683442090637982,
0.10692445933818817,
-0.0688115805387497,
-0.0609164834022522,
0.019767800346016884,
-0.006021514069288969,
0.04464536905288696,
-0.011782530695199966,
0.00396007252857089,
-0.007990279234945774,
-0.0007439225446432829,
0.009713574312627316,
-0.02805364318192005,
-0.052460312843322754,
0.00003240571459173225,
-0.01815471611917019,
0.010670403949916363,
-0.013355538249015808,
-0.001948726363480091,
0.040637705475091934,
-0.06292031705379486,
-0.017232952639460564,
0.0664871335029602,
0.017383240163326263,
0.05775042995810509,
0.0377521887421608,
0.010560193099081516,
0.03496686369180679,
-0.009007223881781101,
0.003098424756899476,
0.05410345643758774,
0.01960749365389347,
0.009202596731483936,
-0.029536480084061623,
-0.04704996943473816,
0.020759696140885353,
0.10692445933818817,
-0.03160042688250542,
0.016842205077409744,
-0.07173717767000198,
0.057590123265981674,
0.04400414600968361,
-0.021821727976202965,
0.04556713253259659,
0.01987801119685173,
-0.012483871541917324,
-0.041519392281770706,
-0.05666835978627205,
0.011471936479210854,
0.0033714468590915203,
0.002248048782348633,
0.017182856798171997,
0.024086056277155876,
-0.0020576845854520798,
-0.01522912085056305,
0.051258016377687454,
0.02216237783432007,
0.02268337458372116,
-0.011752473190426826,
-0.029877129942178726,
-0.02841433323919773,
-0.044164448976516724,
0.046248435974121094,
-0.030017398297786713,
-0.05402330309152603,
0.042481232434511185,
-0.045286595821380615,
-0.041880082339048386,
0.062479473650455475,
-0.012143219821155071,
-0.04344307258725166,
0.018264925107359886,
0.03719111531972885,
-0.04312245920300484,
0.015549734234809875,
-0.015980558469891548,
-0.026791229844093323,
0.059193190187215805,
0.0405375137925148,
-0.019296899437904358,
0.01710270345211029,
-0.020559312775731087,
0.03540770709514618,
-0.012784446589648724,
-0.026550769805908203,
0.00455370731651783,
0.017293067649006844,
0.007684694603085518,
-0.07362077385187149,
-0.028073681518435478,
-0.014908507466316223,
-0.016090769320726395,
0.03192104026675224,
-0.028574639931321144,
0.0033589228987693787,
0.030899085104465485,
-0.022963911294937134,
0.01038986723870039,
-0.011091208085417747,
-0.027071766555309296,
0.008676591329276562,
-0.02961663343012333,
-0.005570651963353157,
0.034185368567705154,
0.05646797642111778,
0.0549049898982048,
0.03103935346007347,
-0.0621989369392395,
0.08019334822893143,
-0.040577590465545654,
0.015479600057005882,
0.030498318374156952,
-0.02829410322010517,
0.01164226233959198,
0.05033625289797783,
0.017683815211057663,
-0.007128631230443716,
-0.09049303829669952,
-0.005921322852373123,
0.02494770474731922,
-0.02895536832511425,
0.010144397616386414,
-0.05438399314880371,
0.0426415391266346,
-0.051738932728767395,
-0.029817014932632446,
0.02627023309469223,
-0.047851502895355225,
0.08824874460697174,
0.043723609298467636,
0.016731994226574898,
0.01731310598552227,
-0.07818951457738876,
-0.026490654796361923,
0.0384334921836853,
-0.006171801593154669,
-0.021641382947564125,
-0.03959571570158005,
-0.0045962887816131115,
-0.022843681275844574,
0.008135557174682617,
-0.06259970366954803,
-0.017633719369769096,
0.05566644296050072,
0.006762932054698467,
-0.01038986723870039,
-0.01996818371117115,
0.006677769124507904,
0.04025697708129883,
0.03580847382545471,
0.009733612649142742,
-0.0019662599079310894,
-0.0020125985611230135,
-0.010144397616386414,
0.023484908044338226,
0.00799528881907463,
0.02077973447740078,
0.002422131597995758,
-0.025649046525359154,
-0.0536225363612175,
0.032261691987514496,
0.0010426186490803957,
0.02364521473646164,
0.007619570009410381,
-0.024867551401257515,
0.0008109256159514189,
0.0077498191967606544,
0.010500078089535236,
-0.08448154479265213,
-0.05165878310799599,
-0.014637990854680538,
-0.06680774688720703,
0.006808018311858177,
-0.03893445059657097,
0.04208046570420265,
-0.014587895013391972,
0.0555061399936676,
-0.004198027309030294,
-0.07037457078695297,
0.03697069361805916,
-0.03781230375170708,
0.07971242815256119,
0.014016802422702312,
0.01044998224824667,
-0.006712836213409901,
-0.006061590742319822,
-0.019387071952223778,
-0.020248718559741974,
0.04356330260634422,
-0.05726950988173485,
0.024707244709134102,
0.028073681518435478,
-0.031620465219020844,
0.005750996991991997,
0.0043508196249604225,
0.052700772881507874,
-0.11838638037443161,
-0.05618743970990181,
-0.012483871541917324,
0.016010615974664688,
0.015449542552232742,
-0.037712112069129944,
0.07951204478740692,
0.03140004351735115,
-0.0038699000142514706,
0.0011716153239831328,
0.04107854887843132,
-0.0362493172287941,
0.04340299591422081,
0.028734946623444557,
-0.021581267938017845,
0.03496686369180679,
0.021541191264986992,
-0.026069849729537964,
0.0011265291832387447,
0.0682104304432869,
0.0034315618686378,
-0.0005604467005468905,
-0.004400915466248989,
-0.0052300007082521915,
-0.033043183386325836,
0.04019686579704285,
0.04292207583785057,
-0.01954737864434719,
-0.030818931758403778,
0.013736266642808914,
0.025508778169751167,
-0.004754090681672096,
-0.055866826325654984,
-0.0019512311555445194,
-0.04155946895480156,
-0.006196849513798952,
0.02178165130317211,
-0.02590954303741455,
0.014417569153010845,
0.009688526391983032,
0.032261691987514496,
0.002955651842057705,
0.06440315395593643,
-0.016010615974664688,
0.004283190239220858,
0.05402330309152603,
0.013365557417273521,
0.039976444095373154,
0.022663336247205734,
0.02436659298837185,
0.013706209138035774,
0.018104620277881622,
-0.011532051488757133,
0.02178165130317211,
0.02693149819970131,
0.01081067230552435,
0.05049655959010124,
-0.016511572524905205,
0.0039149862714111805,
-0.0020263749174773693,
-0.052700772881507874,
-0.0524202361702919,
0.00912244338542223,
0.032201576977968216,
-0.00922764465212822,
0.029035521671175957,
0.034425828605890274,
-0.028213949874043465,
-0.0234648697078228,
-0.0059313420206308365,
-0.008661562576889992,
0.05326184630393982,
0.012283488176763058,
0.003120967885479331,
-0.020489178597927094,
0.033824678510427475,
0.011592166498303413,
-0.019326956942677498,
-0.026791229844093323,
0.020078394562005997,
-0.03314337506890297,
-0.035127170383930206,
0.0803937315940857,
-0.009012233465909958,
-0.027873298153281212,
-0.005585680715739727,
0.003519229358062148,
-0.006792989559471607,
-0.021420961245894432,
-0.04608812928199768,
0.030818931758403778,
-0.09113426506519318,
0.0304582417011261,
0.008856936357915401,
0.019016362726688385,
0.03630943223834038,
-0.01185266487300396,
-0.07097572088241577,
-0.02020864188671112,
0.009428028017282486,
0.024386631324887276,
-0.04741065949201584,
-0.03127981349825859,
0.01394666824489832,
0.09105411171913147,
-0.04380376264452934,
-0.0012217111652716994,
-0.001007551676593721,
-0.010229560546576977,
0.0390346422791481,
0.016301169991493225,
0.02763283997774124,
-0.028674831613898277,
0.03248211368918419,
-0.04059762880206108,
-0.01149197481572628,
-0.05995464324951172,
0.039856214076280594,
0.060034796595573425,
0.03546782210469246,
0.009828794747591019,
-0.031139545142650604,
-0.034425828605890274,
-0.01397672574967146,
0.04556713253259659,
-0.05262061953544617,
0.018405193462967873,
0.023985864594578743,
0.014327396638691425,
-0.026190079748630524,
0.01265419740229845,
0.0304582417011261,
0.06095656007528305,
0.017273029312491417,
-0.019627531990408897,
-0.014477684162557125,
-0.060395486652851105,
-0.004127893131226301,
0.004478564020246267,
-0.019627531990408897,
0.014938564971089363,
0.05153855308890343,
-0.03386475518345833,
0.02184176631271839,
-0.04436483234167099,
-0.02602977305650711,
0.030177704989910126,
0.03658996522426605,
0.05606720969080925,
-0.03170061856508255,
-0.011121265590190887,
0.06865127384662628,
-0.005169885698705912,
0.017713872715830803,
0.008796821348369122,
-0.012183296494185925,
0.0018961257301270962,
0.005425374489277601,
0.08187656104564667,
0.05546606332063675,
0.011752473190426826,
-0.09113426506519318,
-0.002249301178380847,
-0.05057671293616295,
0.03580847382545471,
0.025228241458535194,
0.04464536905288696,
0.027372341603040695,
0.018625615164637566,
-0.023184332996606827,
-0.011682339012622833,
0.04352322593331337,
-0.04781142622232437,
0.06997380405664444,
-0.002817888278514147,
0.037411537021398544,
-0.02633034810423851,
-0.0021403427235782146,
-0.09674499183893204,
-0.04484575241804123,
-0.03749169036746025,
0.028855176642537117,
-0.002587447641417384,
0.012433775700628757,
-0.03073877841234207,
-0.018465308472514153,
-0.0222625695168972,
-0.010279656387865543,
0.06328100711107254,
-0.005375278647989035,
0.022963911294937134,
-0.004363343585282564,
-0.011151323094964027,
0.013245327398180962,
0.08131548762321472,
0.013796381652355194,
-0.03314337506890297,
0.0573095865547657,
0.04268161579966545,
-0.033704448491334915,
0.0016068225959315896,
0.020318852737545967,
-0.01821482926607132,
-0.0045737456530332565,
-0.021120386198163033,
-0.05935349315404892,
-0.010790633969008923,
-0.07350054383277893,
0.018825998529791832,
0.011031093075871468,
-0.009678507223725319,
-0.01918668858706951,
0.04709004610776901,
-0.048693109303712845,
0.015619868412613869,
-0.03246207535266876,
0.0050621796399354935,
0.03109946846961975,
0.06207870692014694,
-0.04043732210993767,
0.0274524949491024,
-0.04500605911016464,
-0.01638132333755493,
-0.02859467826783657,
0.046769432723522186,
-0.0469297394156456,
-0.028314141556620598,
0.0010839477181434631,
-0.026250194758176804,
0.009247682988643646,
-0.1084473729133606,
-0.002512304112315178,
-0.04091824218630791,
0.018705768510699272,
-0.037151038646698,
0.052219852805137634,
0.03314337506890297,
-0.04584766924381256,
0.018735826015472412,
0.03612908720970154,
-0.031199660152196884,
0.0010501330252736807,
0.035427745431661606,
-0.007559454999864101,
-0.017984390258789062,
0.08223725110292435,
0.07085549086332321,
-0.07273909449577332,
-0.013696189969778061,
-0.006542510353028774,
-0.05278092622756958,
-0.013646094128489494,
0.003549286862835288,
-0.01063032727688551,
-0.0022142340894788504,
0.029636671766638756,
0.012674235738813877,
-0.00813054759055376,
-0.02232268452644348,
-0.017964351922273636,
-0.04496598243713379,
0.029957283288240433,
0.048693109303712845,
0.008536322973668575,
-0.014738182537257671,
0.019467225298285484,
0.00008070118929026648,
-0.040637705475091934,
-0.06207870692014694,
0.01137174479663372,
-0.004425963386893272,
-0.023545023053884506,
-0.03280272334814072,
0.014457645826041698,
0.05318169295787811,
0.02931605838239193,
0.03552793711423874,
-0.08071433752775192,
-0.07818951457738876,
0.019958164542913437,
-0.03863387554883957,
-0.021040232852101326,
-0.019958164542913437,
0.03268249332904816,
0.034185368567705154,
-0.02210226282477379,
0.05165878310799599,
0.028614716604351997,
-0.005600709468126297,
0.03320349007844925,
-0.009648449718952179,
0.023785483092069626,
0.03218153864145279,
-0.012423756532371044,
-0.02627023309469223,
0.01884603686630726,
0.046248435974121094,
-0.025588931515812874,
-0.003083396004512906,
-0.010850748978555202,
-0.02961663343012333,
-0.020158546045422554,
-0.005560632795095444,
-0.046889662742614746,
-0.06251955032348633,
0.033463988453149796,
0.0451262891292572,
-0.01017946470528841,
0.0041379122994840145,
-0.014147051610052586,
-0.005124799441546202,
-0.012944752350449562,
-0.04817211255431175,
0.0332435667514801,
0.014327396638691425,
0.0041078547947108746,
-0.0028780032880604267,
0.08368001133203506,
0.05975425988435745,
-0.09955035895109177,
-0.006823047064244747,
0.047370582818984985,
0.0022843680344522,
-0.02466716803610325,
0.011932818219065666,
0.013475768268108368,
-0.02907559834420681,
0.03198115527629852,
0.030257858335971832,
0.03476648032665253,
0.02214233949780464,
-0.040697820484638214,
0.03793253377079964,
-0.06472376734018326,
-0.031119506806135178,
-0.006772951222956181,
0.052340082824230194,
0.032141461968421936,
-0.021921919658780098,
-0.03148019686341286,
-0.006106676999479532,
-0.00036663858918473125,
-0.0432426892220974,
0.013646094128489494,
-0.004784148186445236,
0.040998395532369614,
0.05526567995548248,
0.0005310153937898576,
-0.0056808628141880035,
0.02763283997774124,
-0.008856936357915401,
-0.030959200114011765,
0.04123885557055473,
0.028454409912228584,
-0.01740327849984169,
0.023504946380853653,
-0.0015404456062242389,
-0.0013726247707381845,
-0.0762658342719078,
0.02973686158657074,
0.017513489350676537,
-0.019958164542913437,
-0.03721115365624428,
0.011622224003076553,
-0.004874320700764656,
-0.013034924864768982,
0.040036559104919434,
-0.010249598883092403,
-0.015599830076098442,
0.06905204057693481,
-0.002810373902320862,
0.03073877841234207,
-0.009923976846039295,
0.01993812620639801
] |
730,015 | mmengine.config.config | _parse_lazy_import | Transform file to variables dictionary.
Args:
filename (str): Name of config file.
Returns:
Tuple[dict, dict]: ``cfg_dict`` and ``imported_names``.
- cfg_dict (dict): Variables dictionary of parsed config.
- imported_names (set): Used to mark the names of
imported object.
| @staticmethod
def _parse_lazy_import(filename: str) -> Tuple[ConfigDict, set]:
"""Transform file to variables dictionary.
Args:
filename (str): Name of config file.
Returns:
Tuple[dict, dict]: ``cfg_dict`` and ``imported_names``.
- cfg_dict (dict): Variables dictionary of parsed config.
- imported_names (set): Used to mark the names of
imported object.
"""
# In lazy import mode, users can use the Python syntax `import` to
# implement inheritance between configuration files, which is easier
# for users to understand the hierarchical relationships between
# different configuration files.
# Besides, users can also using `import` syntax to import corresponding
# module which will be filled in the `type` field. It means users
# can directly navigate to the source of the module in the
# configuration file by clicking the `type` field.
# To avoid really importing the third party package like `torch`
# during import `type` object, we use `_parse_lazy_import` to parse the
# configuration file, which will not actually trigger the import
# process, but simply parse the imported `type`s as LazyObject objects.
# The overall pipeline of _parse_lazy_import is:
# 1. Parse the base module from the config file.
# ||
# \/
# base_module = ['mmdet.configs.default_runtime']
# ||
# \/
# 2. recursively parse the base module and gather imported objects to
# a dict.
# ||
# \/
# The base_dict will be:
# {
# 'mmdet.configs.default_runtime': {...}
# 'mmdet.configs.retinanet_r50_fpn_1x_coco': {...}
# ...
# }, each item in base_dict is a dict of `LazyObject`
# 3. parse the current config file filling the imported variable
# with the base_dict.
#
# 4. During the parsing process, all imported variable will be
# recorded in the `imported_names` set. These variables can be
# accessed, but will not be dumped by default.
with open(filename, encoding='utf-8') as f:
global_dict = {'LazyObject': LazyObject, '__file__': filename}
base_dict = {}
parsed_codes = ast.parse(f.read())
# get the names of base modules, and remove the
# `with read_base():'` statement
base_modules = Config._get_base_modules(parsed_codes.body)
base_imported_names = set()
for base_module in base_modules:
# If base_module means a relative import, assuming the level is
# 2, which means the module is imported like
# "from ..a.b import c". we must ensure that c is an
# object `defined` in module b, and module b should not be a
# package including `__init__` file but a single python file.
level = len(re.match(r'\.*', base_module).group())
if level > 0:
# Relative import
base_dir = osp.dirname(filename)
module_path = osp.join(
base_dir, *(['..'] * (level - 1)),
f'{base_module[level:].replace(".", "/")}.py')
else:
# Absolute import
module_list = base_module.split('.')
if len(module_list) == 1:
raise ConfigParsingError(
'The imported configuration file should not be '
f'an independent package {module_list[0]}. Here '
'is an example: '
'`with read_base(): from mmdet.configs.retinanet_r50_fpn_1x_coco import *`' # noqa: E501
)
else:
package = module_list[0]
root_path = get_installed_path(package)
module_path = f'{osp.join(root_path, *module_list[1:])}.py' # noqa: E501
if not osp.isfile(module_path):
raise ConfigParsingError(
f'{module_path} not found! It means that incorrect '
'module is defined in '
f'`with read_base(): = from {base_module} import ...`, please ' # noqa: E501
'make sure the base config module is valid '
'and is consistent with the prior import '
'logic')
_base_cfg_dict, _base_imported_names = Config._parse_lazy_import( # noqa: E501
module_path)
base_imported_names |= _base_imported_names
# The base_dict will be:
# {
# 'mmdet.configs.default_runtime': {...}
# 'mmdet.configs.retinanet_r50_fpn_1x_coco': {...}
# ...
# }
base_dict[base_module] = _base_cfg_dict
# `base_dict` contains all the imported modules from `base_cfg`.
# In order to collect the specific imported module from `base_cfg`
# before parse the current file, we using AST Transform to
# transverse the imported module from base_cfg and merge then into
# the global dict. After the ast transformation, most of import
# syntax will be removed (except for the builtin import) and
# replaced with the `LazyObject`
transform = ImportTransformer(
global_dict=global_dict,
base_dict=base_dict,
filename=filename)
modified_code = transform.visit(parsed_codes)
modified_code, abs_imported = _gather_abs_import_lazyobj(
modified_code, filename=filename)
imported_names = transform.imported_obj | abs_imported
imported_names |= base_imported_names
modified_code = ast.fix_missing_locations(modified_code)
exec(
compile(modified_code, filename, mode='exec'), global_dict,
global_dict)
ret: dict = {}
for key, value in global_dict.items():
if key.startswith('__') or key in ['LazyObject']:
continue
ret[key] = value
# convert dict to ConfigDict
cfg_dict = Config._dict_to_config_dict_lazy(ret)
return cfg_dict, imported_names
| (filename: str) -> Tuple[mmengine.config.config.ConfigDict, set] | [
0.02116609923541546,
-0.039129436016082764,
-0.0053661237470805645,
0.028446920216083527,
0.02039027400314808,
0.03457394987344742,
0.014173727482557297,
0.01275138184428215,
-0.04117840901017189,
-0.09349686652421951,
-0.01862974837422371,
0.0037746874149888754,
-0.05363139510154724,
0.041814982891082764,
-0.028765207156538963,
0.0007428773678839207,
0.0024816456716507673,
0.10702407360076904,
0.009280061349272728,
-0.047822654247283936,
-0.03318144381046295,
-0.024806510657072067,
-0.008255574852228165,
0.016789650544524193,
0.010652675293385983,
-0.011448393575847149,
0.03580731153488159,
0.004998104181140661,
0.00762894656509161,
-0.05629705265164375,
-0.027372701093554497,
-0.0030137819703668356,
0.0021956844720989466,
0.003719981759786606,
0.03371855244040489,
-0.10614878684282303,
0.03503148630261421,
0.04539571329951286,
-0.08466439694166183,
-0.006320985034108162,
0.015426983125507832,
-0.041576266288757324,
0.022538714110851288,
-0.023254860192537308,
-0.020022254437208176,
0.02275753580033779,
-0.02884477935731411,
0.039825689047575,
0.029342101886868477,
-0.03630463406443596,
0.038532644510269165,
-0.01457158662378788,
-0.013805707916617393,
0.0445999950170517,
0.004177519585937262,
0.005311417859047651,
-0.02039027400314808,
0.007788090500980616,
0.007459856569766998,
0.029779747128486633,
0.02830766886472702,
0.006306065712124109,
-0.03218679502606392,
0.0005812471499666572,
-0.007768197450786829,
-0.01316913403570652,
-0.0416160523891449,
-0.0068382020108401775,
-0.03230615332722664,
-0.025482870638370514,
-0.03845307603478432,
-0.04467956721782684,
0.05828634649515152,
-0.032266367226839066,
0.051403384655714035,
-0.042928989976644516,
-0.011766680516302586,
-0.04217305779457092,
0.03885093331336975,
-0.044122565537691116,
-0.01854022964835167,
-0.014770516194403172,
-0.029282424598932266,
0.003615543944761157,
0.0010735976975411177,
0.012353522703051567,
0.0184208732098341,
0.016441524028778076,
0.029899105429649353,
0.006345851346850395,
-0.03246529772877693,
0.07798036932945251,
-0.0010325685143470764,
0.06095200031995773,
-0.005933072883635759,
-0.03133139759302139,
0.020191345363855362,
-0.0010965989204123616,
0.005639651790261269,
-0.025880729779601097,
-0.0009368336759507656,
-0.0410192646086216,
-0.0742802768945694,
-0.03538956120610237,
-0.007698572240769863,
-0.03815468028187752,
-0.010801872238516808,
0.02669634111225605,
0.04004450887441635,
-0.0806858092546463,
-0.12405244261026382,
-0.07630936056375504,
-0.004142707213759422,
0.0017083071870729327,
0.03582720458507538,
-0.04929473251104355,
-0.00650996807962656,
-0.009379526600241661,
0.02836734801530838,
0.026258695870637894,
0.006276226136833429,
0.036861639469861984,
-0.033579301089048386,
0.04491828382015228,
0.06676074117422104,
0.00039972399827092886,
0.02747216448187828,
-0.03318144381046295,
0.06664138287305832,
-0.049374304711818695,
0.07686636596918106,
0.0045107267796993256,
-0.02152417227625847,
-0.01803296059370041,
0.014332870952785015,
-0.02568179927766323,
-0.062424078583717346,
0.023314539343118668,
-0.04989152029156685,
-0.007842795923352242,
0.015078856609761715,
-0.02012171968817711,
-0.008101404644548893,
-0.031848613172769547,
-0.029700176790356636,
-0.02932221069931984,
0.0246075801551342,
0.015049017034471035,
-0.08625583350658417,
-0.01883862540125847,
0.009419312700629234,
-0.03755789250135422,
-0.0841073989868164,
0.001699603977613151,
-0.05741105601191521,
0.019007714465260506,
-0.0486183725297451,
0.01883862540125847,
-0.05482497438788414,
-0.0380353219807148,
-0.06023585423827171,
-0.023453788831830025,
0.014979392290115356,
-0.004326716996729374,
-0.02116609923541546,
-0.024647366255521774,
0.03224647417664528,
-0.1139468252658844,
-0.02866574190557003,
0.004647490568459034,
-0.031967971473932266,
0.003456400241702795,
0.00797209981828928,
0.03887082636356354,
0.034534163773059845,
0.017267081886529922,
-0.011010748334228992,
-0.0028123660013079643,
-0.03485244885087013,
0.04396342113614082,
0.020768240094184875,
0.0006173031288199127,
-0.03192818537354469,
-0.03254486620426178,
-0.0031231932807713747,
0.038652002811431885,
0.0392289012670517,
0.006967505905777216,
0.04225262627005577,
0.01949509233236313,
-0.012144646607339382,
0.026895269751548767,
0.057968057692050934,
-0.001741876476444304,
0.013815654441714287,
0.025642013177275658,
-0.0426504872739315,
0.027750667184591293,
0.040024615824222565,
0.038652002811431885,
-0.07356413453817368,
-0.014889873564243317,
0.03439491242170334,
-0.007156488951295614,
-0.023732291534543037,
-0.03419598191976547,
-0.00991166289895773,
-0.016918955370783806,
-0.006917773745954037,
0.03891061246395111,
-0.04670865088701248,
-0.04396342113614082,
0.02508501149713993,
0.026417838409543037,
0.024687152355909348,
-0.04082033410668373,
0.03467341512441635,
0.058365918695926666,
-0.0014994312077760696,
-0.002081299899145961,
0.0569734126329422,
0.06910811364650726,
0.04269027337431908,
-0.006146921776235104,
0.012313736602663994,
-0.023334432393312454,
-0.033101871609687805,
0.009419312700629234,
0.04030311852693558,
0.00033320693182758987,
0.0575702004134655,
-0.06926725804805756,
-0.01349736750125885,
0.019127072766423225,
0.12683746218681335,
0.013676404021680355,
0.0432472750544548,
0.025462977588176727,
-0.00039039916009642184,
0.04296877607703209,
-0.014641212299466133,
0.03258465230464935,
-0.029541032388806343,
-0.06544780731201172,
-0.0377369299530983,
-0.010961015708744526,
0.02353336103260517,
-0.018102586269378662,
-0.0545862577855587,
0.0002356071345275268,
0.03580731153488159,
0.04941409081220627,
-0.017008472234010696,
0.05880356207489967,
-0.02890445850789547,
-0.01821199618279934,
0.04559464380145073,
-0.00922535639256239,
0.025602228939533234,
-0.05466582998633385,
0.020260971039533615,
-0.07201248407363892,
0.011189784854650497,
0.026059765368700027,
-0.0005119326524436474,
-0.008051672019064426,
0.03920900821685791,
-0.03737885504961014,
-0.015576181001961231,
-0.031371183693408966,
0.07774165272712708,
0.041814982891082764,
-0.0019718888215720654,
0.003242551116272807,
-0.05955949425697327,
0.02442854456603527,
-0.0021086528431624174,
-0.03170936554670334,
0.013099508360028267,
0.027153877541422844,
0.006420449819415808,
-0.01125941053032875,
-0.023274753242731094,
0.013686350546777248,
0.010110592469573021,
-0.007509589195251465,
-0.10065833479166031,
-0.056535765528678894,
-0.021822568029165268,
0.02812863327562809,
0.011697054840624332,
-0.04957323521375656,
0.03592666983604431,
-0.02413014881312847,
0.02663666196167469,
-0.0021695750765502453,
-0.04833986982703209,
0.0062066009268164635,
-0.01949509233236313,
-0.03582720458507538,
0.00619665440171957,
-0.022857001051306725,
0.030197499319911003,
0.013636617921292782,
0.005734143313020468,
-0.07730400562286377,
0.03636431321501732,
-0.04917537420988083,
-0.023036036640405655,
-0.019505038857460022,
0.013616724871098995,
0.02359304018318653,
0.094849593937397,
-0.0035185657907277346,
-0.004538079258054495,
-0.050687238574028015,
-0.017097990959882736,
0.01116989180445671,
0.019992416724562645,
0.017804190516471863,
-0.03920900821685791,
0.05955949425697327,
0.010443799197673798,
0.027253342792391777,
0.07479749619960785,
-0.03797564283013344,
0.0717339813709259,
0.03622506558895111,
0.00695755984634161,
-0.0026532222982496023,
-0.0914280042052269,
-0.013248705305159092,
-0.0027999328449368477,
0.046151645481586456,
0.04269027337431908,
0.01149812527000904,
-0.01868942752480507,
-0.05729169771075249,
0.046390362083911896,
-0.044958069920539856,
0.05924120917916298,
-0.01889830268919468,
-0.02198171056807041,
-0.019534878432750702,
-0.02371239848434925,
-0.04185476899147034,
0.07603085786104202,
-0.002859611762687564,
0.02269785664975643,
0.04233219847083092,
-0.01922653801739216,
-0.0068929074332118034,
-0.03401694446802139,
0.004321743734180927,
-0.0005504752625711262,
-0.020529525354504585,
-0.046151645481586456,
-0.019534878432750702,
0.021404815837740898,
-0.02532372623682022,
0.05108509957790375,
-0.011010748334228992,
-0.01928621530532837,
0.026716234162449837,
0.02687537670135498,
-0.037518106400966644,
-0.03379812464118004,
0.007977073080837727,
0.028466813266277313,
-0.04905601590871811,
-0.024209721013903618,
-0.014591479673981667,
0.036503564566373825,
-0.06453273445367813,
0.02562212012708187,
-0.02086770534515381,
-0.045435499399900436,
0.0014509421307593584,
-0.034832555800676346,
0.06616395711898804,
0.05844549089670181,
0.06023585423827171,
-0.01854022964835167,
-0.012522612698376179,
-0.018082693219184875,
-0.016829436644911766,
0.05880356207489967,
-0.032266367226839066,
-0.006758630275726318,
0.012880685739219189,
0.039825689047575,
0.01540709100663662,
-0.019684074446558952,
0.04141712561249733,
0.008981667459011078,
-0.04336663335561752,
-0.00015261623775586486,
0.0003944399068132043,
-0.001623762072995305,
-0.03455405682325363,
0.02603987231850624,
-0.009767439216375351,
0.07957180589437485,
0.03162979334592819,
-0.01615307666361332,
-0.021703209728002548,
0.08975699543952942,
-0.0008597484556958079,
-0.014521853998303413,
0.013427741825580597,
0.013328277505934238,
0.013308384455740452,
-0.0426504872739315,
-0.007668732665479183,
-0.00880760420113802,
0.004344123415648937,
0.020708562806248665,
-0.005132381338626146,
0.024229614064097404,
-0.008598728105425835,
0.011130105704069138,
-0.03342015668749809,
-0.0006157489842735231,
-0.015118642710149288,
-0.0504087395966053,
0.030595358461141586,
-0.08569883555173874,
0.01770472712814808,
-0.07587171345949173,
0.007962153293192387,
-0.033101871609687805,
0.016312219202518463,
0.001570299849845469,
-0.03962675854563713,
0.03198786452412605,
-0.06823281943798065,
0.010712354443967342,
-0.02669634111225605,
0.0061916811391711235,
-0.02633826807141304,
0.017038311809301376,
0.056058336049318314,
0.049851734191179276,
-0.0005299606709741056,
-0.013318330980837345,
0.05347225069999695,
-0.0712963342666626,
0.0416160523891449,
-0.01132903527468443,
0.02030075713992119,
-0.07372327893972397,
-0.021146206185221672,
0.051403384655714035,
-0.01061288919299841,
-0.04738501086831093,
-0.016013825312256813,
0.05538197606801987,
0.04034290462732315,
0.00921043660491705,
0.038234252482652664,
-0.014352764002978802,
-0.011766680516302586,
0.023732291534543037,
-0.0024841323029249907,
0.016938848420977592,
-0.002186981262639165,
0.05024959519505501,
0.017625154927372932,
-0.06142943352460861,
0.011776627041399479,
0.0024853756185621023,
-0.017525689676404,
-0.008728032000362873,
0.007748304400593042,
-0.05239803344011307,
-0.003212711540982127,
0.05514325946569443,
0.012870739214122295,
0.04054183512926102,
-0.06186707690358162,
0.059917569160461426,
-0.04040258377790451,
0.017515743151307106,
-0.01889830268919468,
0.015745270997285843,
-0.017983227968215942,
0.07511578500270844,
-0.005574999377131462,
-0.004483373835682869,
-0.01152796484529972,
-0.04535592719912529,
-0.00010537047637626529,
0.0317690446972847,
0.013427741825580597,
0.020081933587789536,
0.0026333294808864594,
0.021066635847091675,
0.04165583848953247,
0.08617626130580902,
-0.07038126140832901,
-0.009871876798570156,
0.01531757228076458,
-0.005584945902228355,
0.01657082885503769,
-0.007201248314231634,
0.04702693596482277,
-0.015536394901573658,
0.017446117475628853,
0.014263246208429337,
-0.027313021942973137,
-0.007066970691084862,
-0.0032823369838297367,
0.009991235099732876,
0.0011618726421147585,
0.005883340258151293,
-0.03349972888827324,
0.023195181041955948,
0.07260926812887192,
-0.018938088789582253,
-0.032743796706199646,
-0.006843175273388624,
-0.035966455936431885,
-0.009175623767077923,
-0.01094112265855074,
-0.029779747128486633,
0.044958069920539856,
0.047464583069086075,
-0.0024766724091023207,
0.017058204859495163,
0.03670249506831169,
0.0392289012670517,
-0.012960257939994335,
-0.008693219162523746,
-0.027929702773690224,
0.05947992205619812,
0.00844953116029501,
0.036861639469861984,
0.0012576074805110693,
-0.013925065286457539,
0.0065049948170781136,
0.026596875861287117,
0.0031430863309651613,
0.034116409718990326,
0.037398748099803925,
0.025701692327857018,
-0.018042907118797302,
-0.0021820080000907183,
0.02973996102809906,
-0.023135501891374588,
0.001247039414010942,
0.04778286814689636,
-0.003938804380595684,
0.015426983125507832,
-0.027313021942973137,
0.03552880883216858,
-0.11482211202383041,
0.03765735775232315,
-0.04048215597867966,
-0.005669490899890661,
0.005619758740067482,
0.012582291848957539,
0.07260926812887192,
-0.013706243596971035,
-0.00009822144784266129,
0.014382603578269482,
-0.013596831820905209,
-0.03497180715203285,
0.002715387847274542,
-0.037040673196315765,
-0.00728579331189394,
0.008583808317780495,
0.00511248828843236,
0.02301614359021187,
0.030237285420298576,
-0.0009517534053884447,
0.08522140234708786,
0.004530619829893112,
0.03926868364214897,
0.05558090656995773,
-0.005013023503124714,
0.04304834455251694,
0.006271252874284983,
0.040382690727710724,
-0.0006645488901995122,
0.02621890977025032,
-0.007494669407606125,
0.003779660677537322,
0.09222371876239777,
0.07439963519573212,
-0.021185992285609245,
-0.06019606813788414,
0.038950398564338684,
0.0341561958193779,
-0.01674986444413662,
0.01197555661201477,
0.027690988034009933,
-0.03365887328982353,
0.019753700122237206,
0.039368148893117905,
-0.026318375021219254,
-0.07809972763061523,
-0.04068108648061752,
0.006132001988589764,
-0.0008019345696084201,
-0.04929473251104355,
-0.03218679502606392,
0.07050061970949173,
-0.03129161149263382,
0.006320985034108162,
0.05689384043216705,
0.01349736750125885,
-0.040203653275966644,
0.00912091787904501,
-0.04726565256714821,
-0.028387241065502167,
-0.0414569117128849,
-0.026795804500579834,
0.012870739214122295,
0.06684031337499619,
-0.06214557960629463,
-0.03725949674844742,
0.0062066009268164635,
-0.03469330817461014,
0.006301092449575663,
-0.02448822185397148,
0.0474247969686985,
-0.026179123669862747,
-0.02800927497446537,
-0.004127787426114082,
0.00621157418936491,
0.014979392290115356,
-0.014402496628463268,
0.03324112296104431,
0.010851604864001274,
-0.02556244283914566,
-0.012910525314509869,
0.09103014320135117,
-0.016580775380134583,
-0.01740633137524128,
0.01883862540125847,
0.05963906645774841,
-0.07077912241220474,
0.004398828838020563,
0.021245671436190605,
-0.04133755341172218,
0.0110008018091321,
0.01737649366259575,
-0.010016100481152534,
0.09572488069534302,
0.016799597069621086,
0.020589204505085945,
0.03712024539709091,
-0.019892951473593712,
0.00475441524758935,
-0.03891061246395111,
-0.005704303737729788,
-0.020827919244766235,
-0.011269357055425644,
0.023791968822479248,
0.030913645401597023,
0.009379526600241661,
-0.04416235163807869,
-0.0026358161121606827,
-0.01349736750125885,
0.005415855906903744,
-0.04040258377790451,
0.02430918626487255,
0.02108652889728546,
0.06019606813788414,
0.010662621818482876,
0.01669018529355526,
-0.060753073543310165,
0.034832555800676346,
-0.024528007954359055,
0.003908964805305004,
-0.025403298437595367,
0.015983985736966133,
0.028466813266277313,
0.004242171999067068,
-0.018967928364872932,
0.03797564283013344,
0.06349830329418182,
-0.013845494017004967,
0.02783023938536644,
-0.028765207156538963,
0.029481353238224983,
-0.006002698093652725,
-0.016172969713807106,
0.02806895412504673,
-0.0012116050347685814,
0.0027129012160003185,
0.07619000226259232,
0.004935938399285078,
0.017386438325047493,
-0.05574004724621773,
-0.023215074092149734,
0.0024928355123847723,
-0.03499170020222664,
-0.06759624928236008,
-0.026258695870637894,
0.0329626202583313,
-0.07050061970949173,
-0.024925867095589638,
-0.013348170556128025,
-0.012870739214122295,
0.009667973965406418,
-0.04380427673459053,
0.018878409639000893,
-0.06616395711898804,
0.024866187945008278,
0.02210106886923313,
0.0759114995598793,
0.01657082885503769,
-0.0414569117128849,
0.03700089082121849,
0.02383175492286682,
-0.02586083672940731,
0.03801542893052101,
-0.05494432896375656,
-0.0068779876455664635,
-0.015078856609761715,
0.026059765368700027,
0.034474484622478485,
0.02359304018318653,
0.02062899060547352,
0.027929702773690224,
-0.000012996469195059035,
-0.014939606189727783,
-0.00959834922105074,
0.027690988034009933,
0.012164539657533169,
0.03499170020222664,
-0.05168188735842705,
0.007807983085513115,
0.007131623104214668,
-0.040740761905908585,
0.03359919413924217,
0.045912932604551315,
-0.033937375992536545,
-0.015785057097673416,
0.01266186311841011,
-0.05387011170387268,
-0.07205227017402649,
0.06978446990251541,
-0.06282193958759308,
-0.011368821375072002,
0.05422818288207054,
-0.021146206185221672,
-0.01227395050227642,
0.05203995853662491,
-0.0016399251762777567,
0.05689384043216705,
-0.013447634875774384,
0.0018438278930261731,
-0.02132524363696575,
-0.03932836279273033,
-0.011060480959713459,
0.01087149791419506,
-0.006087243091315031,
-0.06497038155794144,
-0.011100267060101032,
-0.05024959519505501,
0.004381422419101,
0.009096051566302776,
0.06302087008953094,
0.0043565561063587666,
-0.03974611684679985,
-0.03151043504476547
] |
730,016 | mmengine.config.config | _parse_scope | Adds ``_scope_`` to :obj:`ConfigDict` instance, which means a base
variable.
If the config dict already has the scope, scope will not be
overwritten.
Args:
cfg (dict): Config needs to be parsed with scope.
| @staticmethod
def _parse_scope(cfg: dict) -> None:
"""Adds ``_scope_`` to :obj:`ConfigDict` instance, which means a base
variable.
If the config dict already has the scope, scope will not be
overwritten.
Args:
cfg (dict): Config needs to be parsed with scope.
"""
if isinstance(cfg, ConfigDict):
cfg._scope_ = cfg.scope
elif isinstance(cfg, (tuple, list)):
[Config._parse_scope(value) for value in cfg]
else:
return
| (cfg: dict) -> NoneType | [
-0.002067255787551403,
-0.0069958423264324665,
-0.06622316688299179,
-0.031212901696562767,
-0.05394384264945984,
0.057883162051439285,
0.023085836321115494,
-0.007319682743400335,
0.04074179753661156,
-0.05873490869998932,
-0.012749556452035904,
-0.032277584075927734,
-0.04613618180155754,
-0.0014506280422210693,
-0.0518854595720768,
-0.009165129624307156,
0.034531157463788986,
0.0524887777864933,
-0.04028043523430824,
-0.06373891234397888,
0.009071970358490944,
-0.003668713616207242,
-0.020353153347969055,
0.02761073037981987,
0.005616192705929279,
0.02340523898601532,
0.05649907886981964,
-0.018383493646979332,
-0.01182683277875185,
-0.031550049781799316,
-0.013290769420564175,
-0.021471068263053894,
0.03875439241528511,
0.02585400640964508,
0.024008559063076973,
-0.06356146186590195,
-0.03690894693136215,
0.05213388428092003,
-0.11335305124521255,
-0.01989179290831089,
-0.0003654296160675585,
0.0040679690428078175,
-0.03996103256940842,
-0.003952628467231989,
0.017567237839102745,
0.047378309071063995,
0.018933579325675964,
0.06253226846456528,
0.0066586933098733425,
-0.011791342869400978,
0.012882641516625881,
-0.0014461918035522103,
-0.028409240767359734,
0.04088375344872475,
-0.05497303605079651,
-0.026510559022426605,
-0.0038062350358814,
0.03783166781067848,
0.013672280125319958,
0.03573779761791229,
-0.023671409115195274,
-0.018143940716981888,
0.000499623769428581,
-0.02321004867553711,
-0.00965310912579298,
-0.06462614238262177,
-0.08240631967782974,
-0.02354719676077366,
-0.030077241361141205,
-0.021471068263053894,
-0.05887686461210251,
-0.02404404804110527,
0.008184735663235188,
-0.020832261070609093,
0.02092098444700241,
-0.05351797118782997,
-0.05287916213274002,
0.03167426213622093,
0.04148707538843155,
-0.017620472237467766,
-0.014231237582862377,
0.0006587714306078851,
0.012696322053670883,
0.014550642110407352,
0.05472460761666298,
0.054653629660606384,
-0.028764134272933006,
0.014825684018433094,
0.0713336318731308,
0.011977662332355976,
0.015952471643686295,
0.0713336318731308,
0.024647368118166924,
-0.00730637414380908,
0.023440729826688766,
0.021719494834542274,
0.017567237839102745,
-0.024150516837835312,
-0.034531157463788986,
-0.03162102773785591,
-0.050217460840940475,
-0.029598135501146317,
-0.10866845399141312,
-0.03815107420086861,
-0.04184196889400482,
-0.04585226625204086,
0.024026304483413696,
-0.036766987293958664,
-0.018401239067316055,
0.04042239114642143,
-0.017709195613861084,
-0.07055287063121796,
0.03195817768573761,
0.01565968431532383,
0.0655488669872284,
0.02766396477818489,
-0.05948018655180931,
-0.021240388974547386,
0.04826554283499718,
0.00021681787620764226,
-0.01872064359486103,
0.06767822802066803,
0.0037907082587480545,
0.05756375938653946,
0.027184857055544853,
0.009892662055790424,
-0.014284471981227398,
0.006649820599704981,
0.05458265170454979,
0.011046066880226135,
0.06068682298064232,
-0.016706621274352074,
-0.02571204863488674,
-0.06561984866857529,
0.07928325235843658,
-0.007856459356844425,
-0.04524894803762436,
0.015863748267292976,
-0.057883162051439285,
-0.029402943328022957,
0.048691414296627045,
0.030662816017866135,
-0.029775582253932953,
-0.05713788792490959,
-0.00700027821585536,
0.00945791695266962,
-0.05415678024291992,
0.03020145371556282,
-0.04148707538843155,
-0.01950140856206417,
-0.0339810736477375,
-0.004653543699532747,
-0.026546049863100052,
0.11086878925561905,
-0.010921853594481945,
0.03644758462905884,
-0.046491075307130814,
-0.007310810498893261,
0.03153230622410774,
-0.050998225808143616,
-0.04177098721265793,
0.009386938065290451,
-0.011090428568422794,
-0.041806478053331375,
0.027628473937511444,
-0.022997111082077026,
-0.010158832184970379,
-0.11037193983793259,
-0.013042343780398369,
0.007386225275695324,
0.008415416814386845,
-0.02970460243523121,
0.03380362689495087,
-0.004402900114655495,
0.00727975694462657,
0.0006243911338970065,
-0.011587279848754406,
-0.006574405822902918,
-0.009129640646278858,
0.044787585735321045,
-0.006006576120853424,
0.0033825805876404047,
-0.005194756668061018,
-0.007803225424140692,
0.018436728045344353,
0.0016724365996196866,
0.02429247461259365,
-0.006445757113397121,
0.031159667298197746,
0.03737030550837517,
-0.026794474571943283,
-0.014364322647452354,
0.01356581225991249,
-0.019661111757159233,
0.038434989750385284,
-0.005394384264945984,
0.009724087081849575,
0.07921227812767029,
-0.01471034437417984,
0.017771301791071892,
0.002745989942923188,
-0.044148776680231094,
-0.014896662905812263,
0.02471834607422352,
-0.01752287708222866,
0.048939842730760574,
0.003604389261454344,
-0.010274172760546207,
-0.015278173610568047,
0.03172749653458595,
-0.08190947026014328,
-0.015287046320736408,
0.03815107420086861,
-0.005137086380273104,
-0.02179047279059887,
0.0023711335379630327,
-0.010256428271532059,
0.032419539988040924,
0.04269371181726456,
0.03444243222475052,
0.10909432172775269,
-0.043616436421871185,
0.09390487521886826,
-0.05731533467769623,
0.0259072408080101,
-0.0551149919629097,
-0.01224383246153593,
-0.007199905812740326,
0.0058734905906021595,
0.02438119798898697,
0.08105771988630295,
-0.012758428230881691,
0.010052364319562912,
-0.022588985040783882,
0.10724887996912003,
-0.039357710629701614,
0.030751539394259453,
-0.022695451974868774,
0.05039490759372711,
0.014577259309589863,
0.0019064446678385139,
0.046491075307130814,
-0.045177970081567764,
0.03112417832016945,
-0.07431474328041077,
-0.002413277281448245,
-0.005740405526012182,
0.05117567256093025,
0.03850596770644188,
0.017735812813043594,
0.014426428824663162,
0.038718901574611664,
-0.05784767493605614,
0.06821057200431824,
-0.026226645335555077,
0.02619115449488163,
-0.020654814317822456,
0.01955464296042919,
0.019430430606007576,
-0.03419400751590729,
0.018543196842074394,
0.042729202657938004,
0.002517527202144265,
0.01944817416369915,
-0.026084687560796738,
-0.001256545539945364,
0.0751664862036705,
-0.028178559616208076,
-0.06423576176166534,
0.0016513647278770804,
-0.0018565376522019506,
0.055434394627809525,
0.06750078499317169,
0.005767022725194693,
-0.006822831463068724,
0.017673706635832787,
0.07509550452232361,
0.02663477323949337,
0.00154489662963897,
0.015162833034992218,
0.024860303848981857,
-0.025055496022105217,
-0.021808218210935593,
0.08077380806207657,
0.03186945617198944,
-0.018543196842074394,
-0.03217111527919769,
0.020264429971575737,
-0.02184370718896389,
0.014178003184497356,
0.024860303848981857,
-0.04269371181726456,
0.05614418536424637,
0.060083504766225815,
0.041274137794971466,
0.013450471684336662,
-0.021577537059783936,
-0.0005040599498897791,
0.025978218764066696,
0.005412128753960133,
0.025392644107341766,
0.026120176538825035,
-0.006197331473231316,
0.04666852205991745,
0.06647159159183502,
-0.01627187617123127,
0.039073795080184937,
-0.03861243650317192,
0.011001705192029476,
-0.005128214135766029,
-0.012918130494654179,
0.014621620997786522,
0.014896662905812263,
0.031159667298197746,
-0.010575832799077034,
-0.011454193852841854,
-0.041806478053331375,
-0.038718901574611664,
0.00010092289448948577,
0.042729202657938004,
-0.05596673861145973,
0.02981107123196125,
0.014160258695483208,
-0.04411328583955765,
-0.00950227864086628,
0.021169409155845642,
0.050110992044210434,
0.05649907886981964,
-0.005296788644045591,
0.04198392480611801,
-0.08127065747976303,
-0.019430430606007576,
-0.004331921227276325,
0.017789047211408615,
0.016094429418444633,
0.013787620700895786,
-0.02869315631687641,
0.013840854167938232,
0.024026304483413696,
-0.0841807872056961,
0.013885215856134892,
0.0016469286056235433,
-0.021737240254878998,
-0.0004926922847516835,
0.016174281015992165,
0.005567395128309727,
0.0031563357915729284,
0.040493372827768326,
0.048797883093357086,
0.007905256934463978,
-0.018206046894192696,
-0.013716641813516617,
0.04020945727825165,
0.027291325852274895,
0.017895514145493507,
-0.0019818595610558987,
0.014364322647452354,
-0.02711387909948826,
-0.015553216449916363,
-0.01637834496796131,
0.09092376381158829,
0.015118471346795559,
-0.0035356285516172647,
0.017141366377472878,
0.04290664941072464,
0.018898090347647667,
-0.026652516797184944,
-0.004933022428303957,
0.048159074038267136,
-0.07083678245544434,
-0.015153961256146431,
-0.017043769359588623,
0.06153856962919235,
-0.038967330008745193,
-0.05326954647898674,
0.04035141319036484,
0.007253140211105347,
-0.00562062906101346,
-0.03192268684506416,
0.027096133679151535,
0.02922549657523632,
0.06040290743112564,
0.05199192836880684,
0.029243241995573044,
0.0030809210147708654,
-0.04989805445075035,
-0.01969660073518753,
-0.06987857073545456,
0.03861243650317192,
0.05610869452357292,
0.02189694158732891,
0.004671288188546896,
-0.03925124183297157,
0.06920427083969116,
-0.032277584075927734,
-0.0434034988284111,
-0.04379388317465782,
-0.054902054369449615,
0.013193173334002495,
0.02908353880047798,
0.03861243650317192,
-0.07608921080827713,
0.04031592607498169,
0.028125325217843056,
0.05536341667175293,
-0.0052657355554401875,
0.05014647915959358,
0.07424376159906387,
-0.03469086065888405,
0.008646097965538502,
0.01529591903090477,
-0.03488605096936226,
-0.009928151033818722,
0.014417557045817375,
0.03321805223822594,
0.009546640329062939,
0.04382937401533127,
-0.003420287976041436,
0.016724366694688797,
-0.01407153531908989,
0.03839949890971184,
-0.06288716197013855,
-0.021293621510267258,
0.056463588029146194,
-0.00498625636100769,
0.015544344671070576,
-0.026350857689976692,
0.011099300347268581,
-0.019412685185670853,
-0.027646219357848167,
-0.0014672636752948165,
0.04074179753661156,
0.024363452568650246,
-0.05642809718847275,
0.05135311931371689,
-0.029686858877539635,
-0.011693747714161873,
-0.014621620997786522,
0.005687171593308449,
0.0044494797475636005,
-0.006867193151265383,
0.07136912643909454,
-0.02571204863488674,
0.0168574508279562,
-0.03666051849722862,
0.03673149645328522,
-0.08602623641490936,
0.07566333562135696,
-0.05752826854586601,
-0.05458265170454979,
-0.05802512168884277,
-0.005496416240930557,
0.004050224553793669,
0.01939494162797928,
0.01117027923464775,
-0.046987924724817276,
-0.012785045430064201,
0.037512265145778656,
0.014018300920724869,
0.010309661738574505,
0.004582564812153578,
0.021967919543385506,
0.03655404970049858,
0.0021892504300922155,
-0.014133641496300697,
0.0304853692650795,
0.0382220521569252,
0.007288629654794931,
-0.019430430606007576,
-0.013228663243353367,
0.0004619163228198886,
0.01793987676501274,
-0.061645034700632095,
0.013778747990727425,
-0.037263840436935425,
-0.02858668752014637,
0.05507950112223625,
0.015003131702542305,
-0.034335967153310776,
0.011489683762192726,
-0.0129713648930192,
0.024115027859807014,
-0.04638460651040077,
0.05234682187438011,
-0.004782192874699831,
-0.04617167264223099,
0.022269580513238907,
-0.010354023426771164,
-0.03918026387691498,
0.06004801392555237,
-0.03712188079953194,
-0.02502000518143177,
-0.010034619830548763,
0.024505410343408585,
0.0031541178468614817,
0.0007913020672276616,
0.03543613478541374,
0.03327128291130066,
0.020122472196817398,
-0.04872690513730049,
-0.002672793110832572,
0.020246686413884163,
-0.017647089436650276,
0.035507116466760635,
-0.0006953698466531932,
0.018072962760925293,
-0.050891757011413574,
0.04989805445075035,
-0.03587975353002548,
-0.0173276849091053,
-0.0038151072803884745,
-0.004272032994776964,
0.031354859471321106,
-0.026368601247668266,
0.026315368711948395,
-0.025037750601768494,
-0.01833025924861431,
-0.035986222326755524,
-0.03421175479888916,
0.005775894969701767,
-0.00796736404299736,
-0.05252426862716675,
0.04067081958055496,
-0.0076523954048752785,
0.052843671292066574,
0.01676872745156288,
0.032561495900154114,
0.006867193151265383,
-0.03412302955985069,
-0.012172853574156761,
0.02438119798898697,
0.022730940952897072,
0.013494833372533321,
-0.025232942774891853,
0.07080129534006119,
0.02936745434999466,
0.024221494793891907,
-0.088155597448349,
-0.07257576286792755,
0.038718901574611664,
0.013051215559244156,
-0.03474409505724907,
0.05252426862716675,
-0.002821404952555895,
0.0004569256561808288,
0.030858008190989494,
-0.016475940123200417,
-0.06058035418391228,
0.00676959753036499,
0.005296788644045591,
0.004453916102647781,
-0.023334261029958725,
-0.019270727410912514,
0.00293896347284317,
-0.020779026672244072,
-0.09504053741693497,
-0.005194756668061018,
-0.04159354045987129,
0.020512856543064117,
0.002974452916532755,
-0.0038971765898168087,
0.045816775411367416,
-0.04393583908677101,
0.05518596991896629,
-0.02569430321455002,
-0.0615740567445755,
-0.04897532984614372,
0.04003201052546501,
-0.019536897540092468,
0.05887686461210251,
0.013814236968755722,
-0.03254375234246254,
-0.021098431199789047,
-0.02574753761291504,
-0.02956264466047287,
0.037796180695295334,
0.00950227864086628,
0.027965623885393143,
0.025339409708976746,
0.02296162210404873,
-0.03508124127984047,
0.013956194743514061,
0.022695451974868774,
-0.0054343100637197495,
-0.05149507522583008,
0.03800911456346512,
0.019430430606007576,
0.039357710629701614,
0.025232942774891853,
-0.010283045470714569,
-0.04709439352154732,
0.04624265059828758,
0.04013847932219505,
-0.04691694676876068,
-0.0007913020672276616,
-0.04457464814186096,
-0.04276468977332115,
-0.035205453634262085,
-0.03307609260082245,
-0.05483107641339302,
-0.050110992044210434,
-0.009910406544804573,
0.0048043737187981606,
0.04599422216415405,
-0.009378066286444664,
-0.033697158098220825,
0.030999964103102684,
0.02443443238735199,
-0.009803938679397106,
-0.0010225374717265368,
-0.009741832502186298,
-0.002757080364972353,
0.021719494834542274,
0.029509412124753,
0.021133920177817345,
-0.0499335452914238,
-0.01621864177286625,
0.03084026277065277,
0.01463936548680067,
-0.03596847504377365,
-0.02150655910372734,
0.030662816017866135,
-0.07679899781942368,
0.010593577288091183,
-0.06892035901546478,
0.002894601784646511,
0.0015526599017903209,
-0.08261925727128983,
-0.031070943921804428,
-0.008583991788327694,
0.008388799615204334,
0.011995406821370125,
-0.004289777483791113,
-0.05550537630915642,
-0.01126787532120943,
-0.031550049781799316,
0.05536341667175293,
-0.0401739664375782,
-0.008996555581688881,
-0.005931160878390074,
0.039357710629701614,
-0.06405831128358841,
0.026208899915218353,
0.009679725393652916,
0.004578128922730684,
0.01596134342253208,
-0.009351449087262154,
0.013894088566303253,
0.04404230788350105,
0.007568108383566141,
0.01512734405696392,
-0.00952889584004879,
0.007541491184383631,
0.060722313821315765,
0.010487108491361141,
0.02624438889324665,
0.0015349152963608503,
0.023192303255200386,
0.04617167264223099,
0.004023607354611158,
-0.025339409708976746,
-0.01668887585401535,
-0.03978358581662178,
0.025516856461763382,
-0.011463066563010216,
-0.023884346708655357,
-0.03298737108707428,
-0.00293896347284317,
0.023050345480442047,
-0.009174002334475517,
0.06235482543706894,
-0.01353919506072998,
-0.023103579878807068,
-0.010771024040877819,
-0.07580529153347015,
-0.07317908108234406,
0.013246407732367516,
0.05884137749671936,
0.04588775709271431,
0.012350301258265972,
-0.027876900508999825,
-0.0071644168347120285,
0.012651960365474224,
-0.020938728004693985,
0.023635920137166977,
0.09362095594406128,
0.013982811942696571,
-0.05681848153471947,
0.04159354045987129,
0.018046345561742783,
-0.0018221574136987329,
-0.04372290521860123,
0.012820535339415073,
0.02713162451982498,
-0.026546049863100052,
-0.07552137970924377,
-0.015020876191556454,
-0.04496503248810768,
-0.05405031144618988,
0.0032738943118602037,
0.027096133679151535,
-0.02076128125190735,
-0.023192303255200386,
-0.06356146186590195,
0.029190007597208023,
-0.05064333230257034,
-0.002765952842310071,
0.007066820748150349,
-0.013672280125319958,
0.028178559616208076,
-0.016342854127287865,
0.0084287254139781,
0.014887791126966476,
-0.009750704281032085,
0.028568943962454796,
0.064874567091465,
-0.011063811369240284,
-0.02248251624405384,
0.009635363705456257,
-0.028870603069663048,
0.023227792233228683,
0.048407502472400665,
-0.015420131385326385,
0.02292613312602043,
0.04947218298912048,
-0.005061671603471041,
0.026173410937190056,
0.014816812239587307,
0.0018199392361566424,
-0.03797362744808197,
-0.02413277141749859,
0.004773320164531469,
-0.04652656614780426,
-0.007958491332828999,
-0.015606450848281384,
0.007106746546924114,
-0.019270727410912514,
0.04961413890123367,
-0.09049789607524872,
0.01688406802713871,
-0.017114749178290367,
0.008952193893492222,
-0.043474480509757996,
0.030165964737534523,
-0.049330223351716995,
-0.07601822912693024,
0.05415678024291992,
-0.03641209378838539,
0.000019182974938303232,
0.03454890102148056,
0.022074388340115547,
0.07360495626926422,
-0.0033781444653868675,
-0.003979245666414499,
-0.03348422050476074,
-0.018294770270586014,
-0.01713249273598194,
0.018596429377794266,
-0.027042899280786514,
0.023476218804717064,
-0.0346553698182106,
-0.03307609260082245,
0.06462614238262177,
0.005744841881096363,
0.03470860421657562,
-0.02761073037981987,
0.011951045133173466,
-0.02716711349785328
] |
730,017 | mmengine.config.config | _pre_substitute_base_vars | Preceding step for substituting variables in base config with actual
value.
Args:
filename (str): Filename of config.
temp_config_name (str): Temporary filename to save substituted
config.
Returns:
dict: A dictionary contains variables in base config.
| @staticmethod
def _pre_substitute_base_vars(filename: str,
temp_config_name: str) -> dict:
"""Preceding step for substituting variables in base config with actual
value.
Args:
filename (str): Filename of config.
temp_config_name (str): Temporary filename to save substituted
config.
Returns:
dict: A dictionary contains variables in base config.
"""
with open(filename, encoding='utf-8') as f:
config_file = f.read()
base_var_dict = {}
regexp = r'\{\{\s*' + BASE_KEY + r'\.([\w\.]+)\s*\}\}'
base_vars = set(re.findall(regexp, config_file))
for base_var in base_vars:
randstr = f'_{base_var}_{uuid.uuid4().hex.lower()[:6]}'
base_var_dict[randstr] = base_var
regexp = r'\{\{\s*' + BASE_KEY + r'\.' + base_var + r'\s*\}\}'
config_file = re.sub(regexp, f'"{randstr}"', config_file)
with open(temp_config_name, 'w', encoding='utf-8') as tmp_config_file:
tmp_config_file.write(config_file)
return base_var_dict
| (filename: str, temp_config_name: str) -> dict | [
0.0008916532387956977,
-0.038418032228946686,
0.004397163167595863,
-0.011976215988397598,
-0.0266681257635355,
0.026468975469470024,
-0.03655325621366501,
-0.0029420030768960714,
0.00921978522092104,
-0.04048196226358414,
0.00023762333148624748,
0.049063559621572495,
-0.03280559554696083,
0.059021107852458954,
0.001084580784663558,
-0.018720190972089767,
0.06235235929489136,
0.08567112684249878,
-0.028207020834088326,
-0.06669747084379196,
0.013017232529819012,
0.0260525681078434,
-0.023083409294486046,
0.021019481122493744,
0.032135725021362305,
0.014700963161885738,
-0.018792610615491867,
-0.020802224054932594,
0.02226869948208332,
-0.04765139892697334,
-0.050005000084638596,
-0.038454242050647736,
0.013596580363810062,
0.04229242727160454,
0.0577537827193737,
-0.12130104750394821,
0.010473530739545822,
0.06419903039932251,
-0.13172931969165802,
0.010319641791284084,
0.05351730063557625,
-0.023807594552636147,
-0.006141997408121824,
-0.039287056773900986,
-0.02082032896578312,
0.06698714941740036,
0.0041753812693059444,
0.04040954262018204,
0.0063773575238883495,
0.010183856822550297,
0.059672873467206955,
-0.06485079973936081,
-0.024676617234945297,
0.05713822692632675,
0.0061012618243694305,
-0.0024350732564926147,
0.016810152679681778,
0.03615495562553406,
0.014474655501544476,
-0.012084843590855598,
-0.006789237726479769,
-0.0016135754995048046,
-0.03367462009191513,
-0.04413909837603569,
0.0276819858700037,
-0.030560621991753578,
-0.06829068064689636,
-0.0254370104521513,
-0.002168030012398958,
-0.015388939529657364,
0.017262768000364304,
-0.058731433004140854,
-0.019263330847024918,
-0.030035588890314102,
0.07147709280252457,
0.018312837928533554,
-0.019824573770165443,
-0.019227121025323868,
0.011315396055579185,
-0.05416906625032425,
-0.0143660269677639,
-0.06792858988046646,
0.008233082480728626,
-0.02226869948208332,
0.033584095537662506,
0.0130262840539217,
-0.011541704647243023,
-0.018810715526342392,
0.11912849545478821,
-0.03266075998544693,
-0.007603946607559919,
0.039540521800518036,
0.016692472621798515,
0.07386691123247147,
0.04627544432878494,
-0.03657136112451553,
0.018756400793790817,
-0.015044950880110264,
-0.005702959839254618,
-0.059274572879076004,
-0.0035734022967517376,
0.03338494524359703,
-0.050439510494470596,
-0.06463354080915451,
0.030180426314473152,
-0.012618930079042912,
-0.0024373363703489304,
0.004707205109298229,
-0.009857973083853722,
-0.02179797925055027,
-0.10153079032897949,
-0.048339374363422394,
-0.006409040652215481,
-0.0013171121245250106,
0.01656574010848999,
-0.028243228793144226,
-0.038092151284217834,
0.011831378564238548,
0.012790923938155174,
0.019064180552959442,
0.025129232555627823,
0.0266319178044796,
-0.04055438190698624,
0.08617805689573288,
0.022974781692028046,
-0.01739855296909809,
0.012446936219930649,
0.04189412295818329,
0.011867587454617023,
-0.029727809131145477,
0.023083409294486046,
0.025310277938842773,
-0.04363216832280159,
-0.013904359191656113,
0.01642090268433094,
-0.004487686324864626,
0.001597733935341239,
0.04432014375925064,
0.02346360683441162,
-0.014619491994380951,
0.051272325217723846,
-0.028894996270537376,
0.0007960381335578859,
-0.04410288855433464,
0.024169687181711197,
0.011451181024312973,
0.027482835575938225,
0.03573854640126228,
-0.07154951244592667,
-0.032099515199661255,
0.013234487734735012,
0.019027970731258392,
-0.07125984132289886,
0.007201118394732475,
-0.011378762312233448,
0.01616743765771389,
-0.027193160727620125,
0.021924711763858795,
-0.07828444242477417,
-0.040300916880369186,
0.01667436771094799,
0.00860875379294157,
0.010183856822550297,
-0.027772508561611176,
0.011360658332705498,
-0.005675802938640118,
0.010591210797429085,
-0.06159196421504021,
0.047796234488487244,
0.009061369113624096,
-0.04193033277988434,
-0.023988639935851097,
-0.03302285447716713,
0.03492384031414986,
0.03334873542189598,
0.003172837197780609,
-0.007386690936982632,
-0.1035585105419159,
-0.021019481122493744,
0.08291922509670258,
-0.01707267016172409,
-0.007694469764828682,
-0.005132663995027542,
0.009604508057236671,
-0.0019247488817200065,
-0.00027949028299190104,
0.038273196667432785,
0.025817207992076874,
0.04504432901740074,
0.02299288474023342,
0.03651704639196396,
0.019082285463809967,
-0.0018885396420955658,
-0.00130805978551507,
0.047216884791851044,
-0.021019481122493744,
0.004413004498928785,
-0.038092151284217834,
-0.0010687392204999924,
-0.009912286885082722,
-0.07379449158906937,
-0.03378324583172798,
0.02143588662147522,
-0.023047199472784996,
0.028713950887322426,
-0.0275009386241436,
0.0313391238451004,
-0.02764577604830265,
-0.030560621991753578,
0.050005000084638596,
-0.014338870532810688,
-0.02179797925055027,
0.015461357310414314,
-0.004892777651548386,
-0.009323886595666409,
-0.04106131196022034,
-0.001958695240318775,
0.061954058706760406,
-0.017769698053598404,
0.047687605023384094,
0.07900862395763397,
0.003559823613613844,
0.05351730063557625,
0.010536896996200085,
0.022033339366316795,
0.0015287100104615092,
0.00907494779676199,
-0.022721316665410995,
-0.0513809509575367,
0.0053182365372776985,
0.08161569386720657,
-0.04366837814450264,
-0.0044899494387209415,
0.0004769439692609012,
0.062026478350162506,
-0.004035070538520813,
0.02764577604830265,
-0.017498129978775978,
0.09153702855110168,
0.038743916898965836,
-0.05554501712322235,
0.038055941462516785,
0.024042954668402672,
-0.023608442395925522,
-0.03175552934408188,
-0.02331876941025257,
-0.020621178671717644,
0.03204520419239998,
-0.02342739701271057,
-0.008454863913357258,
0.07368586212396622,
0.022141966968774796,
-0.07495318353176117,
0.1079036220908165,
0.010926146991550922,
0.032751284539699554,
0.029329506680369377,
-0.0054494948126375675,
0.04272693768143654,
-0.019860783591866493,
0.023861907422542572,
-0.02619740553200245,
-0.030795982107520103,
-0.014655701816082,
-0.0015219207853078842,
-0.018901238217949867,
0.008690224029123783,
0.001792358816601336,
-0.049027349799871445,
-0.04413909837603569,
0.061121243983507156,
0.06289549916982651,
-0.021924711763858795,
-0.012564616277813911,
-0.030144216492772102,
0.016973095014691353,
0.020114248618483543,
0.014248346909880638,
0.04710825905203819,
-0.025002500042319298,
0.0056214891374111176,
-0.006780185736715794,
0.04149582237005234,
0.0135875279083848,
0.04558746889233589,
-0.008151611313223839,
-0.06296791881322861,
-0.04757897928357124,
-0.009468724019825459,
-0.0038789180107414722,
-0.02518354542553425,
-0.04283556342124939,
0.005313710309565067,
0.049317024648189545,
-0.021091898903250694,
-0.007956987246870995,
-0.048954930156469345,
-0.02393432706594467,
0.015081160701811314,
-0.0013895307201892138,
0.003147943178191781,
0.004227431956678629,
-0.012546511366963387,
0.038852546364068985,
-0.024405047297477722,
-0.0023422869853675365,
0.015977339819073677,
-0.053118996322155,
-0.007287115324288607,
-0.008699276484549046,
-0.010229118168354034,
-0.012130104936659336,
0.0557984821498394,
0.007490792311728001,
0.030506309121847153,
-0.0626058280467987,
-0.019553005695343018,
0.008943689055740833,
0.020693596452474594,
0.010844675824046135,
-0.019553005695343018,
0.05909352749586105,
-0.023590339347720146,
0.025672370567917824,
0.037042081356048584,
0.0024848610628396273,
0.04645649343729019,
-0.006639874540269375,
0.009179049171507359,
0.011994319967925549,
-0.1147109642624855,
0.012736610136926174,
-0.031918469816446304,
0.015714822337031364,
0.015606194734573364,
-0.032461609691381454,
-0.034235864877700806,
-0.001948511227965355,
0.0521051362156868,
-0.0068209208548069,
0.027519043534994125,
-0.02887689135968685,
-0.010708890855312347,
-0.024314524605870247,
-0.007391217164695263,
-0.024730930104851723,
0.007907198742032051,
0.029148461297154427,
-0.007956987246870995,
-0.010256275534629822,
-0.018023163080215454,
-0.04537021368741989,
0.029637286439538002,
0.02598015032708645,
0.0313391238451004,
-0.052249975502491,
-0.038273196667432785,
-0.0017742541385814548,
0.026396557688713074,
-0.0009493617690168321,
0.014022039249539375,
0.00034342228900641203,
-0.01627606712281704,
0.02833375334739685,
0.03468848019838333,
-0.025147337466478348,
-0.03715071082115173,
0.02136346884071827,
-0.003808762412518263,
-0.05177925527095795,
0.0012118789600208402,
-0.005865901708602905,
0.04178549721837044,
-0.08161569386720657,
0.008527282625436783,
-0.0550018772482872,
-0.014710015617311,
-0.03269696980714798,
-0.011976215988397598,
0.030451994389295578,
0.06988389045000076,
0.06314896792173386,
-0.0073097459971904755,
0.02161693386733532,
-0.05800724774599075,
-0.03968535736203194,
0.04073542729020119,
-0.008024878799915314,
0.027591463178396225,
0.04660132899880409,
-0.0033267266117036343,
0.05909352749586105,
-0.003774816170334816,
0.048049699515104294,
-0.02136346884071827,
-0.05170683562755585,
-0.01620364747941494,
-0.04026470705866814,
-0.009930391795933247,
0.014728119596838951,
0.005635067354887724,
-0.027772508561611176,
-0.024477465078234673,
0.004304376896470785,
0.06351105868816376,
-0.0585503876209259,
0.1039206013083458,
0.01800505816936493,
0.029456239193677902,
0.0071784877218306065,
-0.06984768062829971,
0.009369147941470146,
0.03468848019838333,
-0.038200777024030685,
-0.013551319018006325,
-0.030216634273529053,
-0.02288425713777542,
-0.014275504276156425,
0.003946810495108366,
-0.010147647932171822,
-0.027265578508377075,
-0.03320389986038208,
-0.025400802493095398,
0.033946190029382706,
-0.01674678735435009,
0.047253094613552094,
-0.030614936724305153,
-0.015741979703307152,
-0.02547322027385235,
0.025400802493095398,
-0.03200899437069893,
0.01742571033537388,
-0.006753028370440006,
0.015099264681339264,
0.09211637824773788,
-0.06521289050579071,
0.03313148021697998,
-0.0031524694059044123,
0.009296730160713196,
0.02100137621164322,
-0.0077125742100179195,
0.0133159589022398,
0.031013239175081253,
-0.005005931481719017,
-0.060903988778591156,
0.0563778318464756,
-0.10066176950931549,
0.016393747180700302,
-0.0263422429561615,
0.0013216383522376418,
-0.040300916880369186,
-0.02013235352933407,
-0.030596831813454628,
-0.05235860124230385,
0.02956486865878105,
-0.012274942360818386,
-0.02299288474023342,
0.019969411194324493,
0.012220628559589386,
-0.018394308164715767,
0.004209327511489391,
0.04185791313648224,
0.04692721366882324,
0.03233487531542778,
-0.01602260209619999,
-0.029094146564602852,
0.01649332232773304,
0.031918469816446304,
-0.01587776467204094,
0.04196654260158539,
-0.02270321175456047,
0.010636473074555397,
-0.037874896079301834,
0.011985267512500286,
-0.03175552934408188,
-0.006644400767982006,
0.00886221881955862,
0.061121243983507156,
-0.0024147056974470615,
-0.021671246737241745,
0.019317645579576492,
-0.04660132899880409,
-0.01660194993019104,
0.009396305307745934,
0.04790486395359039,
-0.04276314750313759,
0.023880012333393097,
0.021381573751568794,
-0.018738295882940292,
0.015063055790960789,
-0.011107193306088448,
-0.016113124787807465,
-0.030180426314473152,
0.039793986827135086,
-0.051562000066041946,
-0.024024849757552147,
0.038200777024030685,
0.058622807264328,
0.06753028929233551,
-0.04692721366882324,
0.014664753340184689,
-0.03130291402339935,
-0.024278314784169197,
0.04250968247652054,
-0.031990889459848404,
0.0269578006118536,
-0.06307654827833176,
0.07191161066293716,
-0.010889937169849873,
-0.0009131524711847305,
0.0020933484192937613,
-0.006721345707774162,
0.015425148420035839,
-0.02760956808924675,
0.01122487336397171,
-0.0067394501529634,
-0.03447122499346733,
0.02292046695947647,
-0.03456174582242966,
-0.017742542549967766,
-0.04692721366882324,
-0.010953303426504135,
-0.018991760909557343,
0.011460233479738235,
0.016439007595181465,
0.008730960078537464,
0.030506309121847153,
-0.03557560592889786,
-0.017443815246224403,
0.05243102088570595,
-0.014022039249539375,
-0.038164570927619934,
0.031918469816446304,
-0.019571110606193542,
0.08009490370750427,
0.02092895656824112,
0.04106131196022034,
-0.0573192723095417,
-0.06821826100349426,
-0.019806470721960068,
0.01563335210084915,
0.0010862780036404729,
0.029745914041996002,
0.007631103508174419,
-0.01818610541522503,
0.01775159314274788,
0.0013035336742177606,
-0.006544825155287981,
-0.012193471193313599,
-0.038599081337451935,
0.018231365829706192,
-0.037331756204366684,
0.025455115363001823,
-0.004546526353806257,
-0.05684855207800865,
-0.13578476011753082,
0.008735486306250095,
0.0005094757070764899,
0.0032248878851532936,
0.05301037058234215,
-0.0008096166420727968,
0.0521775558590889,
0.05199651047587395,
0.0509464405477047,
-0.037259336560964584,
-0.01434792298823595,
-0.08371582627296448,
0.0257266853004694,
-0.033620305359363556,
0.02804407849907875,
0.037838686257600784,
0.033765144646167755,
0.05511050671339035,
0.011967163532972336,
-0.07310651242733002,
0.008323605172336102,
0.04663753882050514,
0.018312837928533554,
0.05148958042263985,
0.013940568082034588,
-0.04366837814450264,
0.04015607759356499,
0.019571110606193542,
0.0006721345707774162,
0.025744790211319923,
0.029383821412920952,
0.027446625754237175,
0.08682982623577118,
0.04196654260158539,
-0.025654267519712448,
-0.06705956906080246,
0.03371082991361618,
0.008957267738878727,
-0.03316769003868103,
-0.01707267016172409,
0.020295295864343643,
0.02288425713777542,
-0.005463073495775461,
0.01707267016172409,
-0.03521351516246796,
-0.062243733555078506,
-0.04254589229822159,
0.01075415313243866,
0.01700025238096714,
-0.04091647267341614,
-0.037223126739263535,
0.02619740553200245,
-0.031031344085931778,
-0.0016339432913810015,
0.030795982107520103,
0.032135725021362305,
0.013189226388931274,
0.03452553600072861,
-0.01793264038860798,
-0.004494475666433573,
0.020403923466801643,
-0.049860164523124695,
-0.003813288640230894,
-0.0028899521566927433,
-0.06905107200145721,
-0.08219503611326218,
-0.008848640136420727,
-0.07763267308473587,
0.02598015032708645,
-0.0273923110216856,
0.03153827413916588,
0.022648897022008896,
-0.01055500190705061,
-0.06680610030889511,
-0.004587261937558651,
0.0015671823639422655,
-0.029510553926229477,
0.032425399869680405,
-0.002991790883243084,
-0.03298664465546608,
0.029184671118855476,
0.06810963153839111,
-0.019009865820407867,
-0.0289131011813879,
0.017416657879948616,
0.08371582627296448,
-0.06633538007736206,
0.04366837814450264,
0.018349047750234604,
-0.01173180341720581,
-0.017353292554616928,
0.014691910706460476,
-0.059926338493824005,
0.027446625754237175,
0.012021477334201336,
0.008730960078537464,
0.039359476417303085,
0.0044062151573598385,
0.027736300602555275,
0.019263330847024918,
-0.007422900293022394,
0.018539145588874817,
0.01075415313243866,
0.05829692259430885,
0.0023004200775176287,
-0.03689724579453468,
0.03233487531542778,
-0.022504059597849846,
-0.01389530673623085,
0.039866406470537186,
-0.03396429494023323,
0.030451994389295578,
-0.013415534049272537,
-0.02085653878748417,
0.014918218366801739,
0.08407792448997498,
-0.07422900199890137,
-0.011487390846014023,
-0.02833375334739685,
0.019154703244566917,
-0.037693846970796585,
-0.006562930066138506,
0.022829944267868996,
0.010428269393742085,
-0.022141966968774796,
0.0552191361784935,
0.00912926159799099,
0.03993882238864899,
-0.016393747180700302,
0.032425399869680405,
0.03284180536866188,
-0.010201961733400822,
0.004788675811141729,
-0.03396429494023323,
0.060360852628946304,
-0.01044637430459261,
0.024767139926552773,
-0.019969411194324493,
0.021997131407260895,
-0.0564502514898777,
-0.050584349781274796,
0.04515295848250389,
-0.025346487760543823,
-0.0547846220433712,
-0.05358971655368805,
0.0029601077549159527,
-0.011849483475089073,
0.007490792311728001,
-0.005657698027789593,
-0.02292046695947647,
-0.0028537430334836245,
-0.0030823140405118465,
-0.032135725021362305,
-0.03456174582242966,
0.005340867210179567,
0.060034967958927155,
0.05619678646326065,
0.017887378111481667,
-0.04841179400682449,
-0.018683983013033867,
0.037947311997413635,
-0.0580434575676918,
-0.01060931570827961,
-0.017416657879948616,
-0.0008028273587115109,
-0.008454863913357258,
0.048484209924936295,
0.029528658837080002,
0.013994881883263588,
0.049968790262937546,
0.003659399226307869,
0.001988115254789591,
-0.03590149059891701,
0.02089274860918522,
0.026324138045310974,
-0.016538582742214203,
0.04428393393754959,
-0.07267200201749802,
-0.008092771284282207,
-0.008558966219425201,
-0.018865028396248817,
-0.039214637130498886,
0.004519369453191757,
-0.06550256907939911,
0.0266319178044796,
-0.0034693004563450813,
-0.017018355429172516,
-0.018575355410575867,
0.04142340272665024,
-0.004802254028618336,
0.028641531243920326,
0.040083661675453186,
0.01702740788459778,
-0.01587776467204094,
0.049135979264974594,
-0.014719068072736263,
0.059346992522478104,
-0.0526120662689209,
0.010183856822550297,
0.00643167132511735,
-0.03606443107128143,
0.030198529362678528,
-0.003946810495108366,
0.021128108724951744,
-0.007744257338345051,
-0.024839557707309723,
-0.06745786964893341,
0.048556629568338394,
0.05474841594696045,
0.05445874109864235,
0.0006393198855221272,
0.02317393198609352,
0.006155575625598431
] |
730,018 | mmengine.config.config | _substitute_base_vars | Substitute base variables from strings to their actual values.
Args:
Any : Config dictionary.
base_var_dict (dict): A dictionary contains variables in base
config.
base_cfg (dict): Base config dictionary.
Returns:
Any : A dictionary with origin base variables
substituted with actual values.
| @staticmethod
def _substitute_base_vars(cfg: Any, base_var_dict: dict,
base_cfg: dict) -> Any:
"""Substitute base variables from strings to their actual values.
Args:
Any : Config dictionary.
base_var_dict (dict): A dictionary contains variables in base
config.
base_cfg (dict): Base config dictionary.
Returns:
Any : A dictionary with origin base variables
substituted with actual values.
"""
cfg = copy.deepcopy(cfg)
if isinstance(cfg, dict):
for k, v in cfg.items():
if isinstance(v, str) and v in base_var_dict:
new_v = base_cfg
for new_k in base_var_dict[v].split('.'):
new_v = new_v[new_k]
cfg[k] = new_v
elif isinstance(v, (list, tuple, dict)):
cfg[k] = Config._substitute_base_vars(
v, base_var_dict, base_cfg)
elif isinstance(cfg, tuple):
cfg = tuple(
Config._substitute_base_vars(c, base_var_dict, base_cfg)
for c in cfg)
elif isinstance(cfg, list):
cfg = [
Config._substitute_base_vars(c, base_var_dict, base_cfg)
for c in cfg
]
elif isinstance(cfg, str) and cfg in base_var_dict:
new_v = base_cfg
for new_k in base_var_dict[cfg].split('.'):
new_v = new_v[new_k]
cfg = new_v
return cfg
| (cfg: Any, base_var_dict: dict, base_cfg: dict) -> Any | [
0.0025401257444173098,
-0.06163683533668518,
0.011978044174611568,
-0.020391933619976044,
-0.06635358184576035,
-0.004561586771160364,
-0.011153501458466053,
0.007398725487291813,
0.03542876988649368,
-0.0519905649125576,
-0.03296400606632233,
0.045145969837903976,
-0.03459535911679268,
0.020923897624015808,
-0.03009140118956566,
-0.01577271707355976,
0.04677732288837433,
0.06837504357099533,
-0.004359884187579155,
-0.06876514852046967,
0.03844323009252548,
0.034187521785497665,
0.00804151501506567,
0.0375920869410038,
0.00582500034943223,
0.0022963089868426323,
0.019487595185637474,
-0.017084894701838493,
-0.0032338947057724,
-0.018547793850302696,
-0.044259361922740936,
-0.027147870510816574,
0.029648099094629288,
0.048656925559043884,
0.03656362369656563,
-0.0997963473200798,
-0.018246347084641457,
0.07025464624166489,
-0.10972633957862854,
0.01580818183720112,
0.013653730042278767,
-0.03622671216726303,
-0.023725571110844612,
-0.01712922379374504,
0.00578953605145216,
0.03067656047642231,
-0.03244977444410324,
0.06919071823358536,
-0.006605213508009911,
0.0005339029594324529,
0.030002741143107414,
-0.0900082215666771,
-0.03007366880774498,
0.03635083884000778,
-0.025002283975481987,
0.025144141167402267,
-0.002380536636337638,
0.061140336096286774,
0.02633219212293625,
0.01608303003013134,
-0.016659323126077652,
-0.023512786254286766,
-0.055714309215545654,
-0.04876331984996796,
0.009522146545350552,
-0.03502092882990837,
-0.08639086782932281,
-0.017856240272521973,
-0.012953311204910278,
-0.028672832995653152,
-0.02510867640376091,
-0.04223790019750595,
-0.02870829589664936,
-0.018299544230103493,
0.05181324481964111,
0.014176826924085617,
-0.008524714969098568,
-0.01518755778670311,
0.030712025240063667,
-0.04539421945810318,
-0.012208562344312668,
-0.056920092552900314,
-0.017226751893758774,
-0.020640183240175247,
0.06032466143369675,
0.011002778075635433,
-0.06241704896092415,
-0.01821088418364525,
0.11639361083507538,
-0.01300650741904974,
-0.03158089891076088,
0.0114283487200737,
0.03546423092484474,
0.0570974163711071,
-0.0016734685050323606,
0.0057585048489272594,
0.01700509898364544,
-0.04195418581366539,
0.005851598456501961,
-0.03243204206228256,
0.021438129246234894,
-0.004858599975705147,
-0.06408386677503586,
-0.04883424937725067,
0.03470175340771675,
-0.034506697207689285,
-0.0020668997894972563,
-0.02209421619772911,
-0.009380289353430271,
-0.00574963865801692,
-0.0766027420759201,
-0.06252343952655792,
-0.041883260011672974,
0.00008401975355809554,
0.010603806003928185,
0.010541743598878384,
-0.06653089821338654,
-0.020321005955338478,
0.013299087062478065,
0.017226751893758774,
-0.01224402617663145,
0.06277169287204742,
-0.016783447936177254,
0.07759574055671692,
0.04929528385400772,
0.013192694634199142,
-0.011951446533203125,
0.030765222385525703,
0.01970038190484047,
-0.0017355309100821614,
0.053905632346868515,
-0.0003515946154948324,
-0.07603531330823898,
-0.0011858352227136493,
0.05890608951449394,
0.01835273951292038,
-0.036013927310705185,
0.004100551828742027,
0.012705061584711075,
-0.0360848568379879,
0.036882802844047546,
-0.008591210469603539,
0.021845966577529907,
-0.030765222385525703,
0.0002727698301896453,
0.007416457869112492,
0.047876715660095215,
0.03174048662185669,
-0.08695829659700394,
-0.024257535114884377,
-0.031031204387545586,
0.02255525253713131,
-0.06610532850027084,
0.0031009039375931025,
-0.04777032136917114,
0.022661644965410233,
-0.026686834171414375,
0.0025667238514870405,
-0.02207648567855358,
-0.02585342526435852,
-0.002498011803254485,
-0.011454947292804718,
-0.015666324645280838,
-0.029665831476449966,
0.026066210120916367,
-0.03936529904603958,
0.042486149817705154,
-0.08532694727182388,
0.03787580132484436,
0.011011644266545773,
-0.028956545516848564,
-0.039755403995513916,
-0.03925890475511551,
0.03596073016524315,
0.04911796376109123,
0.025232801213860512,
-0.024895891547203064,
-0.08383744955062866,
-0.013440944254398346,
0.0705738216638565,
0.00010320646106265485,
-0.0033979169093072414,
-0.00789522472769022,
-0.009965449571609497,
0.013582801446318626,
0.00019713125948328525,
0.02542785555124283,
0.041103046387434006,
0.002562290756031871,
0.03713105246424675,
-0.008746366016566753,
-0.01458466611802578,
0.0007608185987919569,
0.015072299167513847,
0.03291080892086029,
0.0010268003679811954,
0.014176826924085617,
0.007558314595371485,
-0.004313337150961161,
0.007310064975172281,
-0.05610441789031029,
-0.05982816219329834,
0.027857154607772827,
0.008954718708992004,
0.008538014255464077,
-0.014141363091766834,
0.033460505306720734,
-0.03264482691884041,
0.011233295314013958,
-0.017058296129107475,
-0.0036129187792539597,
-0.004916229285299778,
0.018671918660402298,
-0.036031659692525864,
-0.01788283884525299,
-0.026243532076478004,
0.02812313660979271,
0.03597846254706383,
-0.0244880523532629,
0.05333820730447769,
0.10554155707359314,
-0.02645631693303585,
0.07951080799102783,
0.0003349707694724202,
0.024558981880545616,
0.005935825873166323,
-0.017288813367486,
-0.00863997358828783,
-0.011135769076645374,
-0.001172536169178784,
0.04273439943790436,
-0.041741400957107544,
0.0058294334448874,
0.029878616333007812,
0.09568250179290771,
-0.011180099099874496,
0.02239566296339035,
-0.06028919667005539,
0.105328768491745,
0.045039575546979904,
-0.010648136027157307,
0.029399849474430084,
-0.047593001276254654,
-0.0074785202741622925,
-0.04046468809247017,
-0.0327334851026535,
-0.017492732033133507,
0.025942085310816765,
0.00574520556256175,
-0.00013368352665565908,
0.061565909534692764,
0.010408752597868443,
-0.05862237513065338,
0.07823409885168076,
-0.016118492931127548,
0.05007549747824669,
0.01246567815542221,
0.028495511040091515,
0.05060746148228645,
-0.04287625849246979,
0.017678920179605484,
-0.001714474055916071,
-0.015905708074569702,
0.03292854130268097,
-0.02961263433098793,
-0.03727290779352188,
0.02328226901590824,
-0.011162367649376392,
-0.030782954767346382,
-0.028335921466350555,
0.028158601373434067,
0.04929528385400772,
0.023725571110844612,
0.020870700478553772,
-0.03124398924410343,
0.04649360850453377,
0.042698934674263,
0.031208524480462074,
0.015728387981653214,
-0.04078386723995209,
0.020250076428055763,
-0.022289270535111427,
-0.007917390204966068,
0.018583258613944054,
0.04957899823784828,
-0.028211796656250954,
-0.04415297135710716,
-0.05337366834282875,
-0.022608447819948196,
0.0077799661085009575,
0.02120761200785637,
-0.056175343692302704,
0.019150685518980026,
0.0663890466094017,
-0.03287534415721893,
0.0116588668897748,
-0.024718569591641426,
-0.03081841766834259,
0.039471689611673355,
-0.021012557670474052,
0.023211339488625526,
0.014691058546304703,
0.00024644870427437127,
0.020498326048254967,
0.02299855463206768,
-0.04706103727221489,
0.013041971251368523,
-0.05677823722362518,
0.031935542821884155,
-0.005918093957006931,
-0.0005352882435545325,
-0.0213494673371315,
0.025445586070418358,
0.004337719175964594,
0.026970548555254936,
-0.04227336496114731,
-0.01390197966247797,
-0.03145677596330643,
-0.006862328853458166,
0.03182914853096008,
-0.01061267126351595,
0.034045662730932236,
-0.034524429589509964,
0.03204193338751793,
0.018902435898780823,
0.0027396120131015778,
0.05394109711050987,
0.03124398924410343,
0.028353653848171234,
-0.010506278835237026,
-0.08929894119501114,
-0.02012595161795616,
0.002440382493659854,
-0.014141363091766834,
0.030126865953207016,
-0.03386834263801575,
-0.04003911837935448,
0.019186150282621384,
0.02840685099363327,
-0.022005556151270866,
0.04390472173690796,
0.024594444781541824,
-0.020799772813916206,
0.01308630220592022,
0.02420433796942234,
-0.007070681545883417,
0.005904794670641422,
0.03500319644808769,
0.01759912632405758,
0.010586073622107506,
-0.05943805351853371,
-0.08483044803142548,
0.025658372789621353,
-0.026083942502737045,
-0.014620129950344563,
-0.017670053988695145,
-0.014371880330145359,
-0.0351627878844738,
0.021473592147231102,
-0.02542785555124283,
0.07979452610015869,
-0.003949828911572695,
0.005426027812063694,
0.042166974395513535,
0.044401220977306366,
-0.010320091620087624,
-0.029878616333007812,
0.0189201682806015,
0.036882802844047546,
-0.026704566553235054,
0.010470815002918243,
-0.0187960434705019,
0.06791400909423828,
-0.0703255757689476,
-0.026385389268398285,
0.008883790113031864,
-0.018459133803844452,
-0.011703196913003922,
-0.04223790019750595,
0.03548196330666542,
0.08653272688388824,
0.048621464520692825,
0.006804699543863535,
0.053763777017593384,
0.0006344772991724312,
-0.04464947059750557,
0.030889347195625305,
-0.016801180317997932,
0.04599710926413536,
0.05652998760342598,
-0.012306088581681252,
0.04769939184188843,
-0.0036217847373336554,
0.048479605466127396,
-0.046529073268175125,
-0.08440487086772919,
0.00026141019770875573,
-0.033141326159238815,
-0.008693169802427292,
0.016109628602862358,
0.026970548555254936,
-0.03695372864603996,
0.012713927775621414,
0.01563972607254982,
0.04972085356712341,
-0.03445350378751755,
0.09667550027370453,
0.06511233001947403,
-0.021154414862394333,
0.01831727661192417,
0.0024448155891150236,
0.012199696153402328,
-0.007567180786281824,
-0.03367329016327858,
-0.01353847049176693,
-0.007638108916580677,
-0.004685711581259966,
0.014150229282677174,
-0.0034799277782440186,
-0.00009212388249579817,
0.014939308166503906,
-0.05365738272666931,
0.004659113474190235,
0.02721879817545414,
-0.0017377474578097463,
0.03624444454908371,
-0.041280366480350494,
-0.037663016468286514,
-0.016207154840230942,
0.0077799661085009575,
-0.04858599975705147,
-0.00039564783219248056,
-0.00925616454333067,
-0.025906622409820557,
0.09199421852827072,
-0.02723653055727482,
0.008901522494852543,
0.012971042655408382,
0.0068933600559830666,
0.003661682130768895,
-0.028087671846151352,
0.025764765217900276,
0.007518417201936245,
-0.0019172850297763944,
-0.045465145260095596,
0.026066210120916367,
-0.1034846305847168,
-0.010337824001908302,
-0.05784216523170471,
-0.002916933037340641,
-0.04557153955101967,
-0.014930441975593567,
0.006751503329724073,
-0.011765259318053722,
0.030002741143107414,
-0.023370929062366486,
-0.018760578706860542,
0.04113851115107536,
0.03356689587235451,
0.019753577187657356,
-0.020321005955338478,
-0.009761529974639416,
0.05543059483170509,
0.04691917821764946,
-0.022289270535111427,
-0.0071859401650726795,
0.040819332003593445,
0.006077683065086603,
-0.025764765217900276,
0.02452351711690426,
-0.0025888890959322453,
0.010125038214027882,
-0.0027085808105766773,
0.04528782516717911,
0.007358828093856573,
-0.013485274277627468,
0.01232382096350193,
0.03858508542180061,
-0.021721841767430305,
-0.022945359349250793,
-0.009619672782719135,
0.005638813134282827,
-0.00788635853677988,
-0.01240361575037241,
0.007451921701431274,
-0.057522986084222794,
0.021597716957330704,
0.036013927310705185,
-0.028672832995653152,
0.0517423152923584,
-0.0375920869410038,
0.01428321935236454,
-0.015843646600842476,
0.03477267920970917,
-0.027289727702736855,
-0.023938357830047607,
0.005332934204488993,
0.015843646600842476,
0.0633745864033699,
-0.019044293090701103,
0.022502055391669273,
-0.0023761035408824682,
-0.025498783215880394,
0.04656453803181648,
0.00016928630066104233,
0.008733067661523819,
-0.02645631693303585,
0.09724292904138565,
-0.026562709361314774,
0.0004399781464599073,
-0.04106758162379265,
-0.0009414645610377192,
0.020711112767457962,
-0.054792240262031555,
0.012297222390770912,
-0.040074583142995834,
-0.017510464414954185,
0.00863997358828783,
-0.031793683767318726,
-0.04103211686015129,
-0.02991408109664917,
-0.02014368399977684,
-0.03787580132484436,
0.013919711112976074,
0.048195891082286835,
0.036457229405641556,
0.032857611775398254,
-0.029719026759266853,
-0.02899201028048992,
0.02358371391892433,
-0.016641590744256973,
0.014620129950344563,
0.041564080864191055,
0.01300650741904974,
0.06880061328411102,
0.052983563393354416,
0.024168875068426132,
-0.06138858571648598,
-0.07390745729207993,
0.03596073016524315,
0.024133410304784775,
-0.016623858362436295,
0.021757306531071663,
0.016012100502848625,
-0.010692466050386429,
0.0129355788230896,
-0.0019549657590687275,
0.01224402617663145,
0.012705061584711075,
-0.0013731307117268443,
0.009030080400407314,
-0.030020473524928093,
-0.004488442093133926,
0.07809223979711533,
-0.06252343952655792,
-0.11227975785732269,
-0.022448860108852386,
0.006090981885790825,
-0.00019436061847954988,
0.04000365361571312,
-0.013228158466517925,
0.010249163024127483,
0.04748660698533058,
0.05248706415295601,
-0.052096959203481674,
0.007988318800926208,
-0.07231157273054123,
0.05504048988223076,
-0.004373183008283377,
0.05603348836302757,
0.017528196796774864,
0.011853919364511967,
-0.008409456349909306,
-0.014371880330145359,
-0.04113851115107536,
0.021012557670474052,
0.008245433680713177,
0.0035774544812738895,
0.03844323009252548,
0.026527246460318565,
-0.05879969894886017,
0.05227427929639816,
0.026686834171414375,
0.01907975785434246,
0.01941666752099991,
0.04198965057730675,
0.008156773634254932,
0.048656925559043884,
0.047451142221689224,
-0.01579931564629078,
-0.08227702230215073,
0.06319726258516312,
0.017217885702848434,
0.010107306763529778,
-0.028087671846151352,
0.005199943203479052,
-0.03649269416928291,
0.005514688324183226,
0.02778622694313526,
-0.07965266704559326,
-0.08596529811620712,
-0.04078386723995209,
0.025622908025979996,
0.030623365193605423,
-0.017678920179605484,
-0.02902747504413128,
0.05213242024183273,
0.012439079582691193,
0.010107306763529778,
-0.0018751713214442134,
0.05138767138123512,
0.014522603712975979,
0.06816225498914719,
0.013281354680657387,
-0.001117677427828312,
-0.04209604486823082,
-0.05823227018117905,
0.041741400957107544,
0.002952397335320711,
-0.06553789973258972,
-0.07397838681936264,
0.004805403761565685,
-0.10178234428167343,
0.024097945541143417,
-0.06635358184576035,
0.02046286314725876,
0.01028462778776884,
-0.03617351874709129,
-0.05262891948223114,
-0.03487907350063324,
0.013955175876617432,
-0.0364217683672905,
0.013866514898836613,
-0.014841780997812748,
-0.043691933155059814,
-0.0008345177047885954,
0.07560974359512329,
-0.0275025125592947,
-0.04943713918328285,
0.022785769775509834,
0.07341095805168152,
-0.05128128081560135,
0.0526643842458725,
0.014212291687726974,
0.003974210470914841,
-0.0008356259786523879,
-0.020108219236135483,
-0.03833683580160141,
0.0114283487200737,
0.0364217683672905,
0.007607077714055777,
0.0498981736600399,
-0.02104802243411541,
0.0526643842458725,
0.00027498634881339967,
0.02854870818555355,
0.03328318148851395,
0.013370015658438206,
0.03333637863397598,
0.01300650741904974,
-0.03186461329460144,
0.010408752597868443,
-0.03007366880774498,
-0.017244482412934303,
0.02721879817545414,
-0.007784399203956127,
-0.0075849127024412155,
0.0025933219585567713,
0.03372648358345032,
-0.027537977322936058,
0.09454764425754547,
-0.07195692509412766,
-0.0424506850540638,
-0.029240259900689125,
-0.006600780412554741,
-0.04826682060956955,
-0.006587481126189232,
0.04057108238339424,
0.03152770176529884,
-0.021916896104812622,
0.04404657706618309,
-0.041280366480350494,
0.006897793151438236,
-0.005918093957006931,
0.011392884887754917,
0.03369102254509926,
0.007589345797896385,
-0.00009392480569658801,
-0.031811416149139404,
0.03562382236123085,
-0.021314004436135292,
-0.016109628602862358,
-0.008161206729710102,
0.005922527052462101,
-0.01788283884525299,
-0.07082207500934601,
0.006339231505990028,
-0.03713105246424675,
-0.03698919340968132,
-0.013059703633189201,
0.010727930814027786,
-0.025658372789621353,
-0.035570625215768814,
-0.003415648825466633,
0.026846423745155334,
-0.013520739041268826,
0.008028215728700161,
-0.03500319644808769,
-0.0026066210120916367,
-0.0017687786603346467,
0.03805312141776085,
0.05982816219329834,
0.02932891994714737,
-0.055395130068063736,
-0.0007475195452570915,
0.04812496528029442,
-0.04394018277525902,
-0.008227702230215073,
-0.01504570059478283,
-0.011534742079675198,
0.01669478788971901,
0.032698024064302444,
0.04237975925207138,
0.019452132284641266,
0.05727473646402359,
0.00782872922718525,
0.03386834263801575,
-0.02721879817545414,
0.02959490194916725,
0.021296272054314613,
-0.03830137103796005,
0.0489761047065258,
-0.021721841767430305,
-0.04808950051665306,
-0.028477778658270836,
0.0028969845734536648,
-0.038549620658159256,
-0.003958695102483034,
-0.10646362602710724,
0.03143904358148575,
-0.0156574584543705,
-0.007048516068607569,
-0.00199153833091259,
0.02736065536737442,
-0.044401220977306366,
-0.008201103657484055,
0.03500319644808769,
0.0077799661085009575,
-0.0010151636088266969,
0.03083615005016327,
0.002073549432680011,
0.07674460113048553,
-0.045607004314661026,
-0.008923687972128391,
0.02106575481593609,
-0.02090616524219513,
0.011517009697854519,
-0.03158089891076088,
-0.008085845038294792,
0.002719663316383958,
-0.01819315180182457,
-0.014416210353374481,
0.06809132546186447,
0.038407765328884125,
0.03411659225821495,
0.0007380993338301778,
0.009486681781709194,
0.012359284795820713
] |
730,019 | mmengine.config.config | _substitute_env_variables | Substitute environment variables in config with actual values.
Sometimes, we want to change some items in the config with environment
variables. For examples, we expect to change dataset root by setting
``DATASET_ROOT=/dataset/root/path`` in the command line. This can be
easily achieved by writing lines in the config as follows
.. code-block:: python
data_root = '{{$DATASET_ROOT:/default/dataset}}/images'
Here, ``{{$DATASET_ROOT:/default/dataset}}`` indicates using the
environment variable ``DATASET_ROOT`` to replace the part between
``{{}}``. If the ``DATASET_ROOT`` is not set, the default value
``/default/dataset`` will be used.
Environment variables not only can replace items in the string, they
can also substitute other types of data in config. In this situation,
we can write the config as below
.. code-block:: python
model = dict(
bbox_head = dict(num_classes={{'$NUM_CLASSES:80'}}))
For details, Please refer to docs/zh_cn/tutorials/config.md .
Args:
filename (str): Filename of config.
temp_config_name (str): Temporary filename to save substituted
config.
| @staticmethod
def _substitute_env_variables(filename: str, temp_config_name: str):
"""Substitute environment variables in config with actual values.
Sometimes, we want to change some items in the config with environment
variables. For examples, we expect to change dataset root by setting
``DATASET_ROOT=/dataset/root/path`` in the command line. This can be
easily achieved by writing lines in the config as follows
.. code-block:: python
data_root = '{{$DATASET_ROOT:/default/dataset}}/images'
Here, ``{{$DATASET_ROOT:/default/dataset}}`` indicates using the
environment variable ``DATASET_ROOT`` to replace the part between
``{{}}``. If the ``DATASET_ROOT`` is not set, the default value
``/default/dataset`` will be used.
Environment variables not only can replace items in the string, they
can also substitute other types of data in config. In this situation,
we can write the config as below
.. code-block:: python
model = dict(
bbox_head = dict(num_classes={{'$NUM_CLASSES:80'}}))
For details, Please refer to docs/zh_cn/tutorials/config.md .
Args:
filename (str): Filename of config.
temp_config_name (str): Temporary filename to save substituted
config.
"""
with open(filename, encoding='utf-8') as f:
config_file = f.read()
regexp = r'\{\{[\'\"]?\s*\$(\w+)\s*\:\s*(\S*?)\s*[\'\"]?\}\}'
keys = re.findall(regexp, config_file)
env_variables = dict()
for var_name, value in keys:
regexp = r'\{\{[\'\"]?\s*\$' + var_name + r'\s*\:\s*' \
+ value + r'\s*[\'\"]?\}\}'
if var_name in os.environ:
value = os.environ[var_name]
env_variables[var_name] = value
print_log(
f'Using env variable `{var_name}` with value of '
f'{value} to replace item in config.',
logger='current')
if not value:
raise KeyError(f'`{var_name}` cannot be found in `os.environ`.'
f' Please set `{var_name}` in environment or '
'give a default value.')
config_file = re.sub(regexp, value, config_file)
with open(temp_config_name, 'w', encoding='utf-8') as tmp_config_file:
tmp_config_file.write(config_file)
return env_variables
| (filename: str, temp_config_name: str) | [
0.02913973107933998,
-0.06733029335737228,
-0.0014781380305066705,
-0.03551466390490532,
-0.03765931725502014,
0.007781744468957186,
-0.0414370521903038,
-0.006296228151768446,
0.06567753106355667,
-0.01303516048938036,
-0.013281106948852539,
-0.019675713032484055,
-0.04997631162405014,
0.0508420430123806,
0.012661322019994259,
-0.008003096096217632,
0.05926324799656868,
0.08523519337177277,
0.02860848791897297,
-0.04186991974711418,
0.023728910833597183,
-0.020639823749661446,
-0.032464928925037384,
-0.012926943600177765,
0.02715248428285122,
-0.01807214319705963,
0.03956786170601845,
-0.01829841360449791,
0.035593364387750626,
-0.03492439165711403,
-0.04970085248351097,
-0.043365273624658585,
-0.011264345608651638,
0.021977771073579788,
0.07712879776954651,
-0.09349898993968964,
0.01402878388762474,
0.061545632779598236,
-0.0727214366197586,
-0.024889778345823288,
-0.010801966302096844,
-0.01709819585084915,
0.011618508957326412,
-0.04840225353837013,
-0.02548004873096943,
0.06012897938489914,
-0.026640916243195534,
0.01209072582423687,
-0.000810393423307687,
0.017442520707845688,
0.04261759668588638,
-0.0813787505030632,
0.01481581199914217,
0.06189979612827301,
-0.014038621447980404,
-0.010860993526875973,
0.028628163039684296,
0.031048275530338287,
0.014235379174351692,
-0.044231005012989044,
-0.004945982713252306,
-0.009464018046855927,
-0.016104571521282196,
-0.009773910976946354,
-0.01585862599313259,
0.00043809207272715867,
-0.05044852942228317,
0.006350336596369743,
0.007398068439215422,
-0.06744834780693054,
-0.0366952046751976,
-0.0733117088675499,
-0.03836764022707939,
-0.07370522618293762,
0.036026231944561005,
0.025834212079644203,
-0.04737911745905876,
0.029316812753677368,
0.004456548951566219,
-0.029966112226247787,
0.005110766738653183,
-0.04604116827249527,
0.02477172389626503,
-0.02315831556916237,
0.05292766913771629,
0.006212606560438871,
-0.033645469695329666,
0.019980687648057938,
0.1365494579076767,
-0.03260265663266182,
0.03518017753958702,
0.019734740257263184,
0.011126616038382053,
0.06146692857146263,
0.05855492502450943,
-0.02860848791897297,
0.04899252578616142,
-0.049779556691646576,
0.020698850974440575,
-0.062490064650774,
0.02477172389626503,
0.018711604177951813,
-0.002085625659674406,
-0.06201785057783127,
0.008780287578701973,
-0.04226343333721161,
-0.000810393423307687,
0.028647838160395622,
0.010142830200493336,
-0.01614392362535,
-0.11797557771205902,
-0.013723810203373432,
-0.02272544987499714,
-0.039154671132564545,
0.0330355241894722,
0.0070488243363797665,
-0.017344141378998756,
-0.00496565829962492,
0.015297867357730865,
0.01581927388906479,
-0.010595371946692467,
0.03285844251513481,
-0.020482417196035385,
0.06430023163557053,
0.0370296910405159,
0.004823009483516216,
-0.0053911455906927586,
0.04151575639843941,
0.0056616864167153835,
-0.03297649696469307,
0.026030968874692917,
0.015238840132951736,
-0.04403424635529518,
-0.010713426396250725,
0.059499356895685196,
-0.007201311178505421,
-0.015297867357730865,
0.0479300394654274,
0.04084677994251251,
0.0334487147629261,
0.05296701937913895,
-0.05363599583506584,
-0.018977224826812744,
-0.023296045139431953,
0.024456912651658058,
-0.0006775824003852904,
0.05650864914059639,
0.019528144970536232,
-0.05835816636681557,
0.002769356593489647,
0.01630132831633091,
0.050015661865472794,
-0.05898778885602951,
-0.012867916375398636,
0.01942976750433445,
0.03277973830699921,
0.0010323601309210062,
0.002147112274542451,
-0.031225357204675674,
0.0034801417496055365,
0.021761339157819748,
0.019980687648057938,
-0.005912552122026682,
0.027231186628341675,
0.0176392775028944,
0.002852978417649865,
-0.019233010709285736,
-0.022095825523138046,
0.029179083183407784,
-0.0030890870839357376,
-0.017442520707845688,
-0.014018946327269077,
-0.04879577085375786,
0.015288029797375202,
0.03177627548575401,
0.04749717190861702,
0.017245762050151825,
-0.05595773085951805,
-0.0005721328780055046,
0.05839751660823822,
-0.049031879752874374,
0.01964619942009449,
-0.018691927194595337,
0.04824484884738922,
-0.018524684011936188,
0.026857348158955574,
-0.000013430980288831051,
0.0179737638682127,
0.010073965415358543,
0.011913644149899483,
0.03718709945678711,
0.009724721312522888,
0.03455055132508278,
0.017472034320235252,
0.01456986553966999,
-0.019833119586110115,
-0.005115685518831015,
-0.059774816036224365,
0.009896883741021156,
-0.018495170399546623,
-0.05879103019833565,
-0.03028092347085476,
0.04505738243460655,
0.018091818317770958,
0.029828380793333054,
-0.04084677994251251,
0.008863909170031548,
-0.035750772804021835,
-0.06717288494110107,
0.049031879752874374,
-0.041476402431726456,
-0.015996355563402176,
0.014943704009056091,
-0.03380287438631058,
0.04009910300374031,
0.01514046173542738,
-0.007791582494974136,
0.07760101556777954,
-0.05709892138838768,
0.03130406141281128,
0.03248460218310356,
-0.008416286669671535,
0.06646455824375153,
0.019341226667165756,
0.03761996328830719,
-0.024752046912908554,
0.011205318383872509,
-0.0025480049662292004,
-0.002907086629420519,
0.027506647631525993,
0.036085259169340134,
0.003354709129780531,
0.017353979870676994,
-0.005971578881144524,
0.09767024219036102,
-0.06186044216156006,
0.023650208488106728,
-0.020305335521697998,
0.05509199947118759,
0.016527598723769188,
-0.04596246778964996,
-0.00291446503251791,
0.03260265663266182,
-0.02390599250793457,
0.005932227708399296,
-0.01444197352975607,
0.007471852004528046,
0.04308981075882912,
0.02201712317764759,
-0.03929239884018898,
0.06292293220758438,
0.029395515099167824,
-0.040728725492954254,
0.0726427361369133,
-0.01986263319849968,
0.012395699508488178,
0.038229912519454956,
0.012680997140705585,
0.06268682330846786,
-0.018760792911052704,
0.038564398884773254,
-0.04171251133084297,
-0.005779740866273642,
-0.0088196387514472,
-0.019292037934064865,
0.004360630176961422,
0.025873562321066856,
-0.012041537091135979,
-0.02514556236565113,
-0.016714518889784813,
0.06119146943092346,
0.11648022383451462,
-0.0011319683399051428,
-0.03614428639411926,
-0.022961556911468506,
0.04993696138262749,
0.025598103180527687,
0.017472034320235252,
0.026149023324251175,
-0.01571105793118477,
0.04005975276231766,
-0.017845872789621353,
0.00465330621227622,
0.058200761675834656,
0.03093022108078003,
-0.04261759668588638,
-0.08216577768325806,
-0.03789542242884636,
0.005145199131220579,
0.017895061522722244,
-0.02390599250793457,
-0.00353424996137619,
0.031756602227687836,
0.03130406141281128,
-0.04722171276807785,
-0.0235911812633276,
-0.06508725881576538,
-0.014127162285149097,
0.02725086361169815,
-0.017521223053336143,
0.02288285456597805,
0.03226817026734352,
-0.006320822983980179,
0.026680268347263336,
-0.0017954088980332017,
0.030831843614578247,
0.008278556168079376,
-0.048323553055524826,
0.009921478107571602,
0.009488612413406372,
0.00669466145336628,
-0.04899252578616142,
0.02947421930730343,
0.006709418259561062,
0.013832026161253452,
-0.032189466059207916,
0.0014264892088249326,
0.007117689587175846,
0.004427035339176655,
-0.025440696626901627,
0.005819092039018869,
0.010103479027748108,
-0.018209872767329216,
-0.01128402166068554,
0.04608052223920822,
-0.019882308319211006,
0.08838330209255219,
0.006763526704162359,
0.04186991974711418,
0.04690689966082573,
-0.06012897938489914,
0.002508653560653329,
-0.006547093857079744,
0.03665585443377495,
0.06524466723203659,
-0.0726427361369133,
-0.047851335257291794,
-0.008962287567555904,
0.03842666745185852,
-0.02591291442513466,
0.00990672130137682,
-0.03142211586236954,
-0.03518017753958702,
-0.044821273535490036,
-0.0013256511883810163,
-0.01111677847802639,
0.03350773826241493,
0.028352703899145126,
-0.0001342713658232242,
0.04572635889053345,
0.007152121979743242,
-0.02191874571144581,
0.045805059373378754,
0.03598688170313835,
-0.00639460701495409,
-0.02056112140417099,
-0.050212420523166656,
0.007053743116557598,
0.03215011581778526,
-0.04214537888765335,
-0.014805974438786507,
-0.0008552786894142628,
0.004933685064315796,
0.028569135814905167,
0.020521769300103188,
-0.010142830200493336,
-0.06158498302102089,
0.050605934113264084,
-0.00750136561691761,
-0.019144469872117043,
0.01835744082927704,
0.009690288454294205,
0.04623792693018913,
-0.08586481213569641,
0.03815120831131935,
-0.05284896492958069,
-0.05824011191725731,
-0.05036982521414757,
0.00037383855669759214,
0.06622844934463501,
0.04124029725790024,
0.04151575639843941,
0.013379485346376896,
-0.00947385560721159,
-0.025814536958932877,
-0.033114224672317505,
0.005258334334939718,
-0.004021224100142717,
0.02925778552889824,
0.011707049794495106,
-0.01607505790889263,
0.028293676674365997,
0.039528507739305496,
0.04179121553897858,
-0.027506647631525993,
-0.038564398884773254,
-0.023355072364211082,
-0.03431444615125656,
0.017137546092271805,
0.03165822476148605,
-0.03962688520550728,
-0.0005407746648415923,
-0.01921333372592926,
-0.01873127929866314,
0.04682819917798042,
-0.0019355983240529895,
0.07095061987638474,
0.032189466059207916,
0.007348878774791956,
0.01591765135526657,
-0.017245762050151825,
-0.015750408172607422,
0.03638039529323578,
-0.036891963332891464,
-0.008494989015161991,
0.03169757500290871,
-0.021092364564538002,
-0.0014018946094438434,
0.02170231193304062,
-0.004048278089612722,
-0.05473783612251282,
-0.04198797419667244,
-0.028844596818089485,
0.06005027890205383,
-0.01602586917579174,
0.020482417196035385,
-0.04037456586956978,
-0.02195809595286846,
-0.017294952645897865,
-0.014756784774363041,
-0.05473783612251282,
-0.0029685732442885637,
-0.033704496920108795,
0.01807214319705963,
0.034944068640470505,
-0.02650318667292595,
0.03724612668156624,
-0.04009910300374031,
0.005169793497771025,
-0.008268718607723713,
-0.006350336596369743,
0.003337492933496833,
0.02557842805981636,
0.018042629584670067,
-0.09082309156656265,
0.05343923717737198,
-0.07445289939641953,
-0.004230278544127941,
-0.005494442768394947,
-0.006124065723270178,
-0.002161869080737233,
-0.027565674856305122,
-0.0654020681977272,
-0.039430130273103714,
0.028372379019856453,
-0.035750772804021835,
0.009724721312522888,
0.00006513737025670707,
0.015779921784996986,
0.026306429877877235,
0.011952996253967285,
0.006414282601326704,
0.043798137456178665,
0.014264891855418682,
-0.014146838337182999,
-0.06292293220758438,
-0.0009770221076905727,
0.023197665810585022,
-0.006556931417435408,
-0.0010292857186868787,
-0.03205173835158348,
-0.033271633088588715,
-0.03842666745185852,
0.052061937749385834,
-0.04214537888765335,
0.00515503715723753,
0.0148945152759552,
0.04588376358151436,
-0.01661613956093788,
0.016419382765889168,
-0.028785569593310356,
-0.05753178521990776,
-0.010546182282269001,
0.0037556018214672804,
0.03421606495976448,
-0.04950409382581711,
0.04202732443809509,
-0.007855528965592384,
-0.0016441518673673272,
0.020118417218327522,
-0.007894880138337612,
0.02062014862895012,
-0.01308434922248125,
0.010034614242613316,
-0.03405866026878357,
-0.02622772566974163,
0.019764253869652748,
0.057020217180252075,
0.034038983285427094,
-0.07342976331710815,
0.017353979870676994,
-0.05088139325380325,
-0.0039376020431518555,
0.016094733029603958,
-0.001646611257456243,
0.004559846594929695,
-0.030694112181663513,
0.0442703552544117,
-0.0019110037246719003,
-0.010000181384384632,
-0.019282199442386627,
-0.018760792911052704,
0.025617778301239014,
-0.0609947107732296,
0.002077017445117235,
-0.024417560547590256,
-0.04820549860596657,
0.013025321997702122,
-0.010142830200493336,
0.01619311235845089,
-0.039430130273103714,
-0.02746729552745819,
-0.01333029568195343,
0.008406448177993298,
0.003964656498283148,
-0.008504827506840229,
0.05721697583794594,
-0.035750772804021835,
-0.029966112226247787,
0.061545632779598236,
-0.044388409703969955,
-0.02250901609659195,
0.024948805570602417,
0.014589541591703892,
0.10782290995121002,
0.006424120627343655,
0.0301235169172287,
-0.0341963917016983,
-0.030339950695633888,
0.027565674856305122,
0.005066496320068836,
0.01857387274503708,
-0.013418836519122124,
0.0038392236456274986,
-0.04019748419523239,
0.014146838337182999,
0.03832828998565674,
-0.017904900014400482,
-0.0041023860685527325,
-0.05749243497848511,
0.0037703586276620626,
-0.010920020751655102,
0.060640547424554825,
0.07358717173337936,
-0.04796938970685005,
-0.10963307321071625,
-0.017176898196339607,
-0.007284932769834995,
-0.017727818340063095,
0.021328473463654518,
-0.012287482619285583,
0.06044379249215126,
0.023059936240315437,
0.043207865208387375,
0.00812606979161501,
-0.03142211586236954,
-0.08673054724931717,
0.019498631358146667,
-0.015465110540390015,
-0.008435961790382862,
0.04000072553753853,
-0.024968480691313744,
0.07342976331710815,
-0.017560575157403946,
-0.09908689558506012,
0.003251411719247699,
0.07142283767461777,
0.02046274207532406,
0.025381671264767647,
0.015986517071723938,
-0.053124427795410156,
-0.006370012182742357,
-0.03329130634665489,
-0.008563854731619358,
0.000034547785617178306,
0.014638731256127357,
0.04954344779253006,
0.08350373059511185,
-0.006901256740093231,
-0.03508179634809494,
-0.06410347670316696,
0.0465133860707283,
-0.0007704271702095866,
-0.015356894582509995,
0.005701038055121899,
0.00409992691129446,
0.009921478107571602,
0.004936144687235355,
0.03238622471690178,
-0.04706430807709694,
-0.05776789411902428,
-0.04820549860596657,
0.02427983097732067,
0.019498631358146667,
-0.04667079076170921,
-0.040453266352415085,
0.018013115972280502,
-0.046985603868961334,
-0.0012469483772292733,
0.021289121359586716,
0.03250427916646004,
0.004882036242634058,
0.04112224280834198,
0.010890507139265537,
-0.005902714096009731,
0.04737911745905876,
-0.05013371631503105,
0.018741117790341377,
-0.01284824125468731,
-0.051943883299827576,
-0.061388224363327026,
-0.002533248160034418,
-0.06186044216156006,
0.00019076219177804887,
0.012405537068843842,
0.014117324724793434,
0.0183476023375988,
-0.0457657091319561,
-0.07378392666578293,
-0.026562213897705078,
0.03134341165423393,
0.013163052499294281,
0.057885948568582535,
0.00503206392750144,
-0.012051374651491642,
0.011628346517682076,
0.04702495411038399,
-0.020816905423998833,
-0.025342319160699844,
-0.009404990822076797,
0.08216577768325806,
-0.0545017272233963,
0.006743850652128458,
0.028313351795077324,
0.01710803247988224,
-0.010447803884744644,
0.040610671043395996,
-0.05595773085951805,
0.040236834436655045,
0.0261686984449625,
-0.013379485346376896,
0.017737654969096184,
-0.00757023086771369,
0.01074294000864029,
-0.01023137103766203,
0.033920928835868835,
-0.008637637831270695,
-0.008563854731619358,
0.02660156413912773,
-0.012051374651491642,
-0.03254362940788269,
0.021899068728089333,
-0.0770500972867012,
-0.011136453598737717,
0.03250427916646004,
-0.054698482155799866,
0.04926798492670059,
0.009114773944020271,
0.04596246778964996,
0.047300416976213455,
0.07732555270195007,
-0.10199889540672302,
0.00041441971552558243,
-0.0021274364553391933,
0.02551940083503723,
-0.057453084737062454,
-0.000887866597622633,
0.007707960903644562,
0.0008571232901886106,
0.007983420975506306,
-0.000526325311511755,
0.01514046173542738,
0.022036798298358917,
0.012346509844064713,
0.011313535273075104,
0.0039966292679309845,
0.004960739053785801,
0.018809981644153595,
-0.005100928712636232,
0.034452173858881,
-0.047261063009500504,
0.02839205414056778,
0.024574965238571167,
0.0037113314028829336,
-0.05568226799368858,
-0.09239715337753296,
0.048008739948272705,
-0.017993440851569176,
-0.0530063733458519,
-0.026030968874692917,
-0.0247126966714859,
0.00291446503251791,
-0.01198250986635685,
-0.017855709418654442,
0.003915466833859682,
-0.01829841360449791,
-0.0362820141017437,
-0.016340680420398712,
-0.07083256542682648,
0.0002365697146160528,
0.03708871826529503,
0.03514082357287407,
0.02790016122162342,
-0.06504791229963303,
0.02006922848522663,
0.07276079058647156,
-0.049464743584394455,
-0.06622844934463501,
-0.0034948985558003187,
-0.014756784774363041,
-0.0035317905712872744,
0.0609947107732296,
0.0330355241894722,
-0.03293714299798012,
0.0352785550057888,
-0.02805756777524948,
-0.05418691411614418,
-0.021249771118164062,
0.02774275653064251,
0.015632353723049164,
-0.03545563668012619,
0.044821273535490036,
-0.01684240996837616,
0.01508143451064825,
-0.007063581142574549,
-0.022351611405611038,
-0.06087665632367134,
-0.042066674679517746,
-0.09633229672908783,
0.04387684166431427,
0.014333757571876049,
0.004306521732360125,
-0.041594456881284714,
-0.018062304705381393,
0.021230094134807587,
0.01384186465293169,
0.022843502461910248,
0.018495170399546623,
-0.005597740411758423,
0.010762615129351616,
-0.003986791241914034,
0.058633625507354736,
-0.036616504192352295,
0.01969539001584053,
0.04521479085087776,
-0.07543668895959854,
0.04348332807421684,
0.014343595132231712,
0.03848569467663765,
0.027054106816649437,
-0.01969539001584053,
-0.021682636812329292,
0.04375878721475601,
0.0471823625266552,
0.039862994104623795,
-0.008652394637465477,
-0.008440881036221981,
0.01570121943950653
] |
730,020 | mmengine.config.config | _substitute_predefined_vars | Substitute predefined variables in config with actual values.
Sometimes we want some variables in the config to be related to the
current path or file name, etc.
Here is an example of a typical usage scenario. When training a model,
we define a working directory in the config that save the models and
logs. For different configs, we expect to define different working
directories. A common way for users is to use the config file name
directly as part of the working directory name, e.g. for the config
``config_setting1.py``, the working directory is
``. /work_dir/config_setting1``.
This can be easily achieved using predefined variables, which can be
written in the config `config_setting1.py` as follows
.. code-block:: python
work_dir = '. /work_dir/{{ fileBasenameNoExtension }}'
Here `{{ fileBasenameNoExtension }}` indicates the file name of the
config (without the extension), and when the config class reads the
config file, it will automatically parse this double-bracketed string
to the corresponding actual value.
.. code-block:: python
cfg = Config.fromfile('. /config_setting1.py')
cfg.work_dir # ". /work_dir/config_setting1"
For details, Please refer to docs/zh_cn/advanced_tutorials/config.md .
Args:
filename (str): Filename of config.
temp_config_name (str): Temporary filename to save substituted
config.
| @staticmethod
def _substitute_predefined_vars(filename: str, temp_config_name: str):
"""Substitute predefined variables in config with actual values.
Sometimes we want some variables in the config to be related to the
current path or file name, etc.
Here is an example of a typical usage scenario. When training a model,
we define a working directory in the config that save the models and
logs. For different configs, we expect to define different working
directories. A common way for users is to use the config file name
directly as part of the working directory name, e.g. for the config
``config_setting1.py``, the working directory is
``. /work_dir/config_setting1``.
This can be easily achieved using predefined variables, which can be
written in the config `config_setting1.py` as follows
.. code-block:: python
work_dir = '. /work_dir/{{ fileBasenameNoExtension }}'
Here `{{ fileBasenameNoExtension }}` indicates the file name of the
config (without the extension), and when the config class reads the
config file, it will automatically parse this double-bracketed string
to the corresponding actual value.
.. code-block:: python
cfg = Config.fromfile('. /config_setting1.py')
cfg.work_dir # ". /work_dir/config_setting1"
For details, Please refer to docs/zh_cn/advanced_tutorials/config.md .
Args:
filename (str): Filename of config.
temp_config_name (str): Temporary filename to save substituted
config.
"""
file_dirname = osp.dirname(filename)
file_basename = osp.basename(filename)
file_basename_no_extension = osp.splitext(file_basename)[0]
file_extname = osp.splitext(filename)[1]
support_templates = dict(
fileDirname=file_dirname,
fileBasename=file_basename,
fileBasenameNoExtension=file_basename_no_extension,
fileExtname=file_extname)
with open(filename, encoding='utf-8') as f:
config_file = f.read()
for key, value in support_templates.items():
regexp = r'\{\{\s*' + str(key) + r'\s*\}\}'
value = value.replace('\\', '/')
config_file = re.sub(regexp, value, config_file)
with open(temp_config_name, 'w', encoding='utf-8') as tmp_config_file:
tmp_config_file.write(config_file)
| (filename: str, temp_config_name: str) | [
0.04338295757770538,
-0.06926051527261734,
0.014480013400316238,
-0.02878877893090248,
-0.0339072048664093,
0.010798170231282711,
-0.03934910520911217,
0.03232791647315025,
0.03775078430771828,
-0.03261332958936691,
-0.015088897198438644,
-0.014793969690799713,
-0.03984382376074791,
0.045133497565984726,
-0.016316179186105728,
0.0014282602351158857,
0.06275306642055511,
0.050727616995573044,
-0.01383307483047247,
-0.04543793946504593,
0.02357521280646324,
-0.00813430454581976,
-0.01926545798778534,
0.0282560046762228,
0.029492801055312157,
0.007701426278799772,
-0.002946901600807905,
-0.005394328385591507,
0.00963272899389267,
-0.0715818777680397,
-0.034211646765470505,
-0.03322221338748932,
0.005437140353024006,
0.047112371772527695,
0.039767712354660034,
-0.10564130544662476,
-0.0030134981498122215,
0.060051146894693375,
-0.1001613587141037,
-0.03651398792862892,
0.027304625138640404,
-0.016791868954896927,
0.02719045989215374,
-0.03470636531710625,
-0.03950132429599762,
0.06050781160593033,
-0.06134502589702606,
0.05559868738055229,
0.013880643993616104,
0.01796206645667553,
0.0489770770072937,
-0.05468536168336868,
-0.05361981317400932,
0.04559016227722168,
-0.032518189400434494,
0.015298200771212578,
0.028960026800632477,
0.05205954983830452,
0.041175756603479385,
-0.046922095119953156,
0.010864767245948315,
-0.0042598070576786995,
0.0029492799658328295,
-0.028617531061172485,
0.022033976390957832,
0.005104157142341137,
-0.0423935204744339,
0.0006879671127535403,
0.008990547619760036,
-0.013747450895607471,
-0.0091047128662467,
-0.0659497082233429,
-0.007406498305499554,
-0.03980576619505882,
0.05030900985002518,
-0.014032864943146706,
-0.0549517460167408,
0.0037341690622270107,
0.01608784683048725,
-0.048177916556596756,
-0.034078456461429596,
-0.07059244811534882,
0.009504293091595173,
-0.011349971406161785,
0.03676134720444679,
-0.005108914338052273,
0.00968505535274744,
-0.024564648047089577,
0.13578104972839355,
0.0012593901483342052,
0.012539196759462357,
0.009294988587498665,
0.002827978925779462,
0.013528632931411266,
0.02110162377357483,
-0.043915729969739914,
0.050879836082458496,
-0.05224982649087906,
0.023689378052949905,
-0.035562608391046524,
0.002975442912429571,
0.009328287094831467,
-0.054304808378219604,
-0.05529424548149109,
0.03017779439687729,
-0.030368071049451828,
-0.004664143547415733,
0.01603076420724392,
-0.010217828676104546,
-0.008990547619760036,
-0.10145523399114609,
-0.02675282396376133,
-0.03371693193912506,
-0.013271760195493698,
0.03761759027838707,
-0.009470994584262371,
-0.04201297089457512,
-0.0033131830859929323,
0.0014698831364512444,
0.009252176620066166,
0.001290310057811439,
0.005632173269987106,
-0.03575288504362106,
0.05422869697213173,
0.046160988509655,
0.021044539287686348,
0.005284919403493404,
0.00022387175704352558,
0.02053079381585121,
-0.016354233026504517,
0.029283497482538223,
0.02072107046842575,
-0.026543520390987396,
0.00009922603203449398,
0.062486682087183,
0.013994809240102768,
-0.03423067554831505,
0.04285018518567085,
0.04718847945332527,
0.0477212555706501,
0.06652053445577621,
-0.04037659615278244,
-0.00046677113277837634,
-0.021957864984869957,
0.03261332958936691,
0.000683210208080709,
0.0361144095659256,
0.018675602972507477,
-0.07961153239011765,
0.01502230018377304,
-0.008966762572526932,
0.02994946390390396,
-0.05822449550032616,
0.0029254956170916557,
0.00861950870603323,
0.02169147878885269,
0.007406498305499554,
0.020207324996590614,
-0.048025693744421005,
-0.04304046183824539,
0.023099523037672043,
0.016630133613944054,
-0.0056892563588917255,
0.018970530480146408,
0.022680914029479027,
-0.0014746399829164147,
0.010684004984796047,
-0.058072276413440704,
0.04528572037816048,
-0.014546610414981842,
-0.01593562588095665,
-0.0070925429463386536,
-0.03915882855653763,
0.04345906898379326,
0.028617531061172485,
0.020549822598695755,
-0.0030610673129558563,
-0.07257131487131119,
0.027133377268910408,
0.02665768563747406,
-0.05236399173736572,
0.005960399750620127,
-0.0318712517619133,
0.0364188514649868,
-0.0029254956170916557,
0.04277407377958298,
0.012006423436105251,
0.019769690930843353,
0.02207203209400177,
-0.0006665610708296299,
0.031947363168001175,
-0.0006225597462616861,
0.023651322349905968,
0.006792857777327299,
0.012767528183758259,
-0.02216716855764389,
-0.011778092943131924,
-0.02066398784518242,
0.0033512383233755827,
0.011701982468366623,
-0.03137653321027756,
-0.014765427447855473,
0.023594239726662636,
-0.020778153091669083,
0.042621854692697525,
-0.012101561762392521,
0.058262553066015244,
-0.02873169630765915,
-0.07839376479387283,
0.04859652370214462,
-0.0021227682009339333,
-0.017695680260658264,
0.02106356807053089,
-0.022338418290019035,
0.028046701103448868,
0.009071414358913898,
-0.009599430486559868,
0.07005967199802399,
-0.07561573386192322,
0.030158767476677895,
0.0694127306342125,
0.017695680260658264,
0.023099523037672043,
-0.007577747106552124,
0.052478156983852386,
-0.010265396907925606,
0.005627416539937258,
-0.003115771571174264,
-0.012139617465436459,
0.011673440225422382,
0.06484610587358475,
-0.02932155132293701,
0.02414604090154171,
0.0005681526381522417,
0.051983438432216644,
-0.03999604284763336,
0.00309198722243309,
-0.021995920687913895,
0.02555408515036106,
0.020854264497756958,
-0.043154627084732056,
0.03510594740509987,
0.024792980402708054,
-0.018951503559947014,
0.013785505667328835,
-0.03824550285935402,
-0.01229183841496706,
0.051983438432216644,
0.00972786732017994,
-0.030063629150390625,
0.08364538848400116,
0.037408288568258286,
-0.07371297478675842,
0.0929308608174324,
-0.03230888769030571,
0.02452659420669079,
0.024355344474315643,
-0.001208253437653184,
0.03934910520911217,
-0.019236916676163673,
0.009542347863316536,
-0.024107985198497772,
0.0016102117951959372,
-0.00990387238562107,
-0.0168013833463192,
-0.034173592925071716,
-0.018428243696689606,
-0.005898559931665659,
-0.03476344794034958,
-0.025173531845211983,
0.04304046183824539,
0.09947635978460312,
-0.02119676023721695,
-0.019693579524755478,
-0.025344781577587128,
0.006350466050207615,
0.03057737462222576,
0.028217950835824013,
0.031700003892183304,
-0.012805583886802197,
0.021520230919122696,
-0.010684004984796047,
0.0414421409368515,
0.044258229434490204,
0.03615246340632439,
-0.02163439616560936,
-0.08653758466243744,
-0.03651398792862892,
0.008043923415243626,
0.032955825328826904,
-0.029036138206720352,
-0.007653857581317425,
0.03042515367269516,
0.048558469861745834,
-0.0074255261570215225,
-0.03095792606472969,
-0.04501933231949806,
-0.02066398784518242,
0.037941060960292816,
-0.02951182797551155,
0.0019622226245701313,
0.01081719808280468,
-0.017305614426732063,
0.029911408200860023,
-0.0032037743367254734,
-0.00715913949534297,
0.0039529865607619286,
-0.07352269440889359,
0.012872179970145226,
0.03542941436171532,
0.023023411631584167,
-0.05019484460353851,
0.07013577967882156,
0.02066398784518242,
0.03896855190396309,
-0.020150242373347282,
-0.003455890342593193,
0.0027923022862523794,
0.025363808497786522,
-0.01800963655114174,
-0.011064557358622551,
0.03272749483585358,
-0.0281037837266922,
0.013680853880941868,
0.056283678859472275,
-0.02115870639681816,
0.018675602972507477,
0.011188236996531487,
0.020683014765381813,
0.032575272023677826,
-0.09749749302864075,
0.002525915624573827,
-0.023099523037672043,
-0.011987396515905857,
0.0426979623734951,
-0.04414406418800354,
-0.04958596080541611,
0.028275033459067345,
0.045514050871133804,
-0.03811230883002281,
0.042279355227947235,
-0.040262430906295776,
-0.06320972740650177,
-0.022053003311157227,
-0.006635880097746849,
-0.001302202232182026,
0.026524493470788002,
0.011292888782918453,
0.02072107046842575,
0.0012344163842499256,
0.013947240076959133,
-0.0378459207713604,
0.04087131470441818,
0.0274758730083704,
-0.0054133557714521885,
-0.02545894682407379,
-0.015165007673203945,
0.01941767893731594,
0.019436707720160484,
-0.03908271715044975,
-0.014204112812876701,
-0.004309754353016615,
-0.00022253388306125998,
0.02134898118674755,
0.038169391453266144,
-0.004664143547415733,
-0.043535180389881134,
0.0464654304087162,
-0.024640759453177452,
-0.02719045989215374,
0.0038269287906587124,
0.010465187020599842,
0.05103205889463425,
-0.08197095990180969,
0.021577313542366028,
-0.04128992184996605,
-0.04151825234293938,
-0.00963272899389267,
-0.037008706480264664,
0.015345769934356213,
0.06389472633600235,
0.05529424548149109,
0.012377462349832058,
0.014137516729533672,
-0.01787644252181053,
-0.048368193209171295,
-0.011292888782918453,
0.005327731836587191,
0.009371099062263966,
0.018656574189662933,
-0.008053436875343323,
0.01999802142381668,
0.005751096177846193,
0.04467683658003807,
-0.016687216237187386,
-0.051793161779642105,
-0.025953663513064384,
0.023594239726662636,
-0.014508554711937904,
0.040300484746694565,
0.014308765530586243,
-0.027019210159778595,
-0.05757755786180496,
0.005508494097739458,
0.03183319792151451,
0.017943039536476135,
0.09506195783615112,
0.07150577008724213,
0.0022975842002779245,
0.06800469011068344,
-0.024031875655055046,
0.00618397444486618,
0.019712606444954872,
-0.052668433636426926,
-0.021177733317017555,
0.017648112028837204,
-0.06610193103551865,
0.00881454162299633,
0.004825878422707319,
-0.013756964355707169,
-0.04756903275847435,
-0.05670228600502014,
0.014232655055820942,
0.06054586544632912,
-0.009594674222171307,
0.03308901935815811,
-0.016097361221909523,
-0.002177472459152341,
-0.04037659615278244,
0.0020311977714300156,
-0.07139160484075546,
0.010978932492434978,
-0.005089886486530304,
0.013966267928481102,
0.08181873708963394,
-0.06819496303796768,
0.024983255192637444,
-0.04429628327488899,
-0.027837397530674934,
-0.004148019477725029,
0.006588310934603214,
0.02675282396376133,
0.023556185886263847,
0.019921911880373955,
-0.09468140453100204,
0.03953938186168671,
-0.1121106967329979,
-0.026886017993092537,
-0.012986346147954464,
-0.0019051397684961557,
-0.03638079762458801,
0.029683075845241547,
-0.0190751813352108,
-0.02907419204711914,
0.021558286622166634,
-0.04871068894863129,
-0.039577435702085495,
-0.002483103424310684,
0.003876876085996628,
-0.009352072142064571,
0.0031443131156265736,
0.0023451533634215593,
0.0769476667046547,
0.015269659459590912,
-0.0006582365022040904,
-0.04235546663403511,
0.014108975417912006,
0.029492801055312157,
-0.016487427055835724,
-0.020797181874513626,
-0.00043822970474138856,
-0.02075912617146969,
-0.06134502589702606,
0.043725453317165375,
-0.027399763464927673,
-0.016877492889761925,
-0.017762277275323868,
0.07732822000980377,
0.017200961709022522,
-0.021938838064670563,
0.010284424759447575,
-0.062372516840696335,
-0.03181416913866997,
0.04163241758942604,
0.037941060960292816,
-0.051793161779642105,
0.05982281640172005,
0.0005761798820458353,
-0.024716868996620178,
-0.004214616492390633,
-0.012577252462506294,
0.015155494213104248,
-0.020397601649165154,
-0.01301488745957613,
-0.08204706758260727,
-0.015203062444925308,
-0.012149130925536156,
0.056283678859472275,
0.022433556616306305,
-0.04254574328660965,
0.009057143703103065,
-0.05472341552376747,
-0.02226230688393116,
0.01932254061102867,
0.016106873750686646,
0.018361646682024002,
-0.029036138206720352,
0.05327731743454933,
-0.034858588129282,
-0.01665867492556572,
-0.02646740898489952,
-0.014308765530586243,
0.025287697091698647,
-0.031700003892183304,
0.03864508122205734,
-0.021710505709052086,
-0.053429536521434784,
0.02656254731118679,
-0.0180572047829628,
-0.010189286433160305,
-0.05909976735711098,
-0.05228788033127785,
-0.012729473412036896,
0.0084006916731596,
0.014232655055820942,
0.007853647693991661,
0.044410448521375656,
-0.014089947566390038,
-0.016449371352791786,
0.07219076156616211,
-0.01031296607106924,
-0.027019210159778595,
0.010103662498295307,
-0.003420213470235467,
0.05959448590874672,
0.029397662729024887,
0.014508554711937904,
-0.046389322727918625,
-0.018076231703162193,
0.023099523037672043,
0.005575090646743774,
0.01950330287218094,
0.011911286041140556,
-0.0010774385882541537,
-0.03638079762458801,
-0.026962127536535263,
0.014851052314043045,
-0.01858997717499733,
0.019617469981312752,
-0.05422869697213173,
0.019436707720160484,
-0.04288823902606964,
0.04022437334060669,
0.04342101141810417,
-0.029816269874572754,
-0.09194142371416092,
-0.0023011518642306328,
-0.026924071833491325,
0.0053848144598305225,
0.025991719216108322,
-0.026486437767744064,
0.0684613510966301,
0.03181416913866997,
0.04224130138754845,
0.0003847145417239517,
0.00011409135186113417,
-0.06636831164360046,
0.01364279817789793,
-0.031319450587034225,
0.00042217515874654055,
0.05982281640172005,
-0.00552752148360014,
0.08455871045589447,
-0.017648112028837204,
-0.08387371897697449,
0.024507565423846245,
0.07059244811534882,
0.04935763031244278,
0.033640820533037186,
0.036057326942682266,
-0.04539988562464714,
0.010684004984796047,
-0.018504353240132332,
-0.028655584901571274,
-0.008272254839539528,
0.00029017109773121774,
0.02960696630179882,
0.05582701787352562,
0.027856426313519478,
0.007287575863301754,
-0.03717995434999466,
0.06800469011068344,
-0.006374250631779432,
-0.04224130138754845,
-0.000013852622942067683,
0.0477212555706501,
0.0019467626698315144,
0.001130953780375421,
0.044410448521375656,
-0.03232791647315025,
-0.07748044282197952,
-0.05278259888291359,
-0.0046023037284612656,
0.02545894682407379,
-0.04642737656831741,
-0.025268670171499252,
0.024317288771271706,
-0.054114531725645065,
0.005441897548735142,
0.046960148960351944,
0.04597071185708046,
-0.001352149760350585,
0.04330684617161751,
0.010788656771183014,
0.01980774477124214,
0.04939568415284157,
-0.039425212889909744,
0.016820410266518593,
-0.0004991775495000184,
-0.04631321132183075,
-0.10221634060144424,
0.015098410658538342,
-0.05898560211062431,
0.015517018735408783,
-0.03980576619505882,
0.009770679287612438,
0.006854697596281767,
-0.046237099915742874,
-0.08090540766716003,
0.016544509679079056,
0.021120650693774223,
-0.04182269424200058,
0.05297287553548813,
0.01912275142967701,
-0.03042515367269516,
0.006212515756487846,
0.04871068894863129,
-0.023594239726662636,
-0.02222425304353237,
0.008586210198700428,
0.07961153239011765,
-0.0869942456483841,
0.01816185750067234,
0.02119676023721695,
-0.0361144095659256,
0.024012846872210503,
0.024222152307629585,
-0.08022041618824005,
0.03636176884174347,
0.0218246728181839,
-0.010826711542904377,
0.03057737462222576,
-0.003503459272906184,
0.016116388142108917,
-0.020416628569364548,
0.0028874403797090054,
0.010217828676104546,
-0.008334094658493996,
0.06069808453321457,
-0.006640636827796698,
-0.025630194693803787,
0.0008479180396534503,
-0.0401863195002079,
-0.03297485411167145,
0.01009414903819561,
-0.03042515367269516,
0.02062593214213848,
0.02854141965508461,
0.014070919714868069,
0.04383962228894234,
0.0932353064417839,
-0.08859256654977798,
0.011016988195478916,
-0.021577313542366028,
0.016982145607471466,
-0.049662068486213684,
0.0013569066068157554,
0.015193548984825611,
0.014108975417912006,
-0.010217828676104546,
0.00630289688706398,
0.021520230919122696,
0.02545894682407379,
-0.014518069103360176,
0.021615369245409966,
0.021862726658582687,
0.015907084569334984,
0.011987396515905857,
0.0008604048634879291,
0.05316315218806267,
-0.04578043892979622,
0.046579595655202866,
-0.02279508113861084,
-0.0027280841022729874,
-0.04901513084769249,
-0.06416111439466476,
0.05655006691813469,
-0.0389304980635643,
-0.045475997030735016,
-0.029055165126919746,
-0.008600480854511261,
-0.00375557504594326,
0.010398590937256813,
-0.018276022747159004,
-0.03023487702012062,
-0.017419779673218727,
0.0005479357787407935,
-0.0331270731985569,
-0.04912929609417915,
-0.014194599352777004,
0.044752947986125946,
0.07150577008724213,
0.05491369217634201,
-0.04524766281247139,
-0.007791807409375906,
0.05228788033127785,
-0.03371693193912506,
-0.027628093957901,
0.025477973744273186,
-0.002245258307084441,
0.003420213470235467,
0.04931957274675369,
0.018504353240132332,
-0.02367035113275051,
0.050004567950963974,
-0.016458885744214058,
-0.04555210471153259,
-0.034896641969680786,
0.016458885744214058,
0.012805583886802197,
-0.03908271715044975,
0.03535330668091774,
-0.04094742238521576,
0.011730523779988289,
-0.006878482177853584,
-0.020511766895651817,
-0.03154778108000755,
0.02119676023721695,
-0.05605534836649895,
0.05906170979142189,
-0.0055608199909329414,
0.022852163761854172,
-0.02989237941801548,
0.027247542515397072,
-0.010265396907925606,
0.015402852557599545,
0.0449051670730114,
0.015203062444925308,
-0.012482114136219025,
0.06602581590414047,
0.011673440225422382,
0.03984382376074791,
-0.03400234505534172,
0.000922839215490967,
0.02631518989801407,
-0.05852893739938736,
0.02037857286632061,
0.002096605021506548,
-0.01511743851006031,
0.01188274472951889,
-0.008809784427285194,
-0.02555408515036106,
0.06267695873975754,
0.07264743000268936,
0.030729595571756363,
-0.0019503303337842226,
-0.01937011070549488,
0.014137516729533672
] |
730,021 | mmengine.config.config | _to_lazy_dict | Convert config object to dictionary with lazy object, and filter the
imported object. | def _to_lazy_dict(self, keep_imported: bool = False) -> dict:
"""Convert config object to dictionary with lazy object, and filter the
imported object."""
res = self._cfg_dict._to_lazy_dict()
if hasattr(self, '_imported_names') and not keep_imported:
res = {
key: value
for key, value in res.items()
if key not in self._imported_names
}
return res
| (self, keep_imported: bool = False) -> dict | [
0.008938645012676716,
-0.026087798178195953,
-0.014678853563964367,
-0.05192543938755989,
-0.012364901602268219,
0.024354567751288414,
0.020101899281144142,
0.006454943213611841,
0.023371808230876923,
-0.06575554609298706,
-0.00008892298501450568,
-0.02606992982327938,
-0.03050128184258938,
0.006280726753175259,
-0.0319843553006649,
-0.016849858686327934,
-0.02932197041809559,
0.06814990937709808,
-0.014303618110716343,
-0.04495678097009659,
-0.001969986129552126,
-0.03741633519530296,
0.014562709257006645,
0.0329313799738884,
-0.015884967520833015,
-0.03780943900346756,
0.033127930015325546,
0.00453409506008029,
0.01653716340661049,
0.0015846997266635299,
-0.034164294600486755,
0.020655818283557892,
0.040275271981954575,
0.022263970226049423,
-0.03357464075088501,
-0.034789688885211945,
0.04413483664393425,
0.024086542427539825,
-0.035486552864313126,
-0.040132325142621994,
0.0030309197027236223,
-0.011140919290482998,
-0.032216645777225494,
-0.007138407789170742,
-0.003162698820233345,
0.018297195434570312,
-0.01539358776062727,
0.03913169726729393,
0.051746755838394165,
0.0013200247194617987,
0.0329313799738884,
-0.014741392806172371,
-0.014991549775004387,
0.08126527816057205,
0.012284494005143642,
-0.07200947403907776,
0.004509526304900646,
0.053069014102220535,
-0.023300334811210632,
0.04706524685025215,
-0.07272420823574066,
-0.010542329400777817,
0.017225094139575958,
-0.010721012949943542,
0.044456467032432556,
-0.02619500830769539,
-0.06407592445611954,
0.005070145707577467,
-0.041740477085113525,
-0.008835901506245136,
-0.03427150472998619,
-0.05607089772820473,
0.026391560211777687,
-0.00900118425488472,
-0.014080263674259186,
-0.06711354106664658,
-0.007884412072598934,
-0.048280294984579086,
0.00969358254224062,
-0.01619766466319561,
-0.04081132262945175,
-0.03738059848546982,
-0.05574926733970642,
0.02419375255703926,
0.03698749467730522,
-0.00008864379196893424,
0.008733158931136131,
-0.019351428374648094,
0.04367025941610336,
0.009648911654949188,
-0.023782780393958092,
0.09870479255914688,
0.006280726753175259,
0.055356163531541824,
0.010515526868402958,
0.017412712797522545,
0.0018437908729538321,
0.03473608195781708,
0.05117496848106384,
-0.016018981114029884,
-0.018404405564069748,
-0.06193171814084053,
-0.0635756105184555,
-0.00413652416318655,
0.02994736284017563,
-0.10306467115879059,
0.039167433977127075,
-0.048065874725580215,
0.016010046005249023,
-0.050281550735235214,
-0.0448853075504303,
-0.009246873669326305,
-0.04234800115227699,
0.04492104426026344,
0.05046023428440094,
-0.050781864672899246,
-0.021388420835137367,
-0.022853625938296318,
0.03450379520654678,
-0.01725189760327339,
-0.0573931559920311,
0.05303327739238739,
-0.01702854223549366,
0.06135993078351021,
0.035200659185647964,
0.02523011714220047,
0.0065264166332781315,
-0.015509732067584991,
0.10163520276546478,
-0.015581205487251282,
0.0717235803604126,
0.019083403050899506,
-0.03607621043920517,
-0.05081760138273239,
-0.019565848633646965,
-0.005266697611659765,
-0.024837013334035873,
0.046815089881420135,
0.05474863946437836,
0.0292504969984293,
0.04367025941610336,
0.007656590081751347,
-0.03470034524798393,
0.03303859010338783,
0.02049500308930874,
-0.06611291319131851,
0.008027358911931515,
0.04860192537307739,
-0.060359302908182144,
-0.04141884669661522,
0.056964315474033356,
-0.01257932186126709,
-0.05885836109519005,
0.012061139568686485,
-0.07904960215091705,
-0.005079079885035753,
-0.026105666533112526,
-0.005659801419824362,
-0.051603808999061584,
-0.043134208768606186,
-0.008089898154139519,
0.016876662150025368,
0.012641861103475094,
-0.004636838100850582,
-0.016939200460910797,
-0.022960836067795753,
0.08819819986820221,
-0.09977689385414124,
0.0018795275827869773,
0.0011904791463166475,
-0.03998937830328941,
-0.005123750772327185,
0.0004461504868231714,
0.016858793795108795,
-0.05346211791038513,
0.07897812873125076,
0.019422901794314384,
-0.010729947127401829,
-0.02585550956428051,
0.051389388740062714,
0.05725020915269852,
-0.02126334235072136,
-0.03920317068696022,
0.023514755070209503,
0.055642057210206985,
-0.047994401305913925,
0.023318203166127205,
-0.005141619127243757,
0.008022891357541084,
0.006731902714818716,
0.013990921899676323,
0.02549814246594906,
0.03205582872033119,
0.020834501832723618,
-0.022889362648129463,
-0.024765539914369583,
-0.06461197137832642,
0.0045564305037260056,
-0.06825711578130722,
0.07976433634757996,
-0.07072295248508453,
-0.07926402240991592,
-0.03314580023288727,
-0.055642057210206985,
0.0022726315073668957,
-0.003819360863417387,
-0.036254893988370895,
-0.05867967754602432,
0.041526056826114655,
0.03001883625984192,
-0.04170474037528038,
-0.034021347761154175,
-0.014258947223424911,
-0.00016891179257072508,
-0.0005447056610137224,
-0.021584972739219666,
0.04817308485507965,
0.05489158630371094,
-0.019690927118062973,
0.012686531990766525,
-0.0037947918754070997,
0.04309847205877304,
0.03452166169881821,
-0.0029661469161510468,
-0.004592167213559151,
-0.03841696307063103,
-0.04624330252408981,
-0.0049942051991820335,
0.009756121784448624,
-0.045135464519262314,
0.08333800733089447,
-0.03135896474123001,
-0.029232628643512726,
-0.017189357429742813,
0.10106341540813446,
0.0002984573657158762,
0.008576810359954834,
0.013669291511178017,
0.05871541425585747,
0.0422765277326107,
0.038881540298461914,
0.01620659790933132,
-0.019726663827896118,
-0.03169846162199974,
-0.00789334625005722,
-0.0006605707458220422,
0.021567104384303093,
0.02655237540602684,
0.020137635990977287,
0.029000340029597282,
0.0646834447979927,
0.01303496491163969,
0.007272420451045036,
0.08248032629489899,
-0.03484329208731651,
-0.01000627875328064,
0.01639421656727791,
0.02640942856669426,
-0.048280294984579086,
-0.02941131219267845,
0.04420631006360054,
0.0029103083070367575,
-0.01981600560247898,
0.004610035568475723,
0.024658329784870148,
-0.005918892566114664,
0.026105666533112526,
-0.02119186893105507,
-0.0459931455552578,
0.03078717552125454,
0.05889409780502319,
-0.001110071549192071,
0.017502054572105408,
-0.020691554993391037,
-0.02508717030286789,
-0.006298595108091831,
0.012829478830099106,
-0.02453325130045414,
0.012561453506350517,
0.059465885162353516,
-0.014107066206634045,
-0.03336022049188614,
0.019547980278730392,
-0.013311924412846565,
-0.004940600134432316,
-0.012391704134643078,
-0.06929348409175873,
0.033806927502155304,
0.005070145707577467,
-0.01046192180365324,
0.0007437702734023333,
-0.04620756581425667,
0.0393461175262928,
-0.025801904499530792,
0.014991549775004387,
-0.012525716796517372,
-0.05857246741652489,
-0.09555996209383011,
0.01171270664781332,
0.06596996635198593,
0.02419375255703926,
-0.00900118425488472,
-0.04803013801574707,
0.042633894830942154,
0.03141256794333458,
-0.022138891741633415,
0.0310730691999197,
-0.052640173584222794,
-0.003131429199129343,
0.0017678503645583987,
-0.009291544556617737,
-0.027410056442022324,
0.07383204251527786,
0.036379970610141754,
-0.02549814246594906,
-0.0912000834941864,
-0.012427440844476223,
-0.03234172239899635,
0.017975565046072006,
0.009264742024242878,
-0.05324769765138626,
0.059608832001686096,
-0.045278411358594894,
0.018886851146817207,
0.033824797719717026,
-0.007174144499003887,
0.028821656480431557,
0.036254893988370895,
0.043884679675102234,
-0.019726663827896118,
-0.09534554183483124,
-0.010095620527863503,
-0.01272226870059967,
0.04613609239459038,
0.011507220566272736,
0.03171633183956146,
0.03593326359987259,
-0.04002511501312256,
-0.02203168161213398,
-0.03557589650154114,
0.019923215731978416,
-0.022853625938296318,
-0.02737431973218918,
-0.0008124517626129091,
-0.07762013375759125,
-0.009291544556617737,
-0.020548608154058456,
-0.0008839251822791994,
0.026677453890442848,
-0.007013329304754734,
-0.0050880140624940395,
0.015197035856544971,
0.02828560583293438,
0.08884146064519882,
0.04091853275895119,
-0.020602213218808174,
-0.013195780105888844,
-0.008076496422290802,
-0.025605352595448494,
-0.022853625938296318,
0.05442700907588005,
-0.012668663635849953,
-0.012213020585477352,
-0.004467088729143143,
0.05053170770406723,
0.05289033055305481,
-0.01611725613474846,
-0.03001883625984192,
0.004326375667005777,
-0.07333172857761383,
-0.051746755838394165,
0.021299079060554504,
0.018252525478601456,
-0.041597530245780945,
0.02530159056186676,
-0.0076833926141262054,
-0.05142512544989586,
0.02821413241326809,
-0.02975081093609333,
0.0941304937005043,
0.014026658609509468,
0.017189357429742813,
0.023050177842378616,
-0.004967402666807175,
-0.0014439864316955209,
-0.0012273326283320785,
0.06836432963609695,
-0.047779981046915054,
0.05889409780502319,
-0.030143914744257927,
-0.02585550956428051,
0.029089681804180145,
-0.018047038465738297,
0.04956681653857231,
0.006164582446217537,
-0.027642345055937767,
0.0034217899665236473,
-0.020727291703224182,
0.01334766112267971,
-0.002073846058920026,
0.03727338835597038,
-0.02807118557393551,
0.018475878983736038,
0.0040806857869029045,
-0.021424157544970512,
-0.014973681420087814,
0.04359878599643707,
0.015197035856544971,
0.045492831617593765,
-0.016072586178779602,
0.004382214043289423,
-0.0082730483263731,
-0.03709470480680466,
-0.03684454783797264,
0.027070557698607445,
0.00011495773651404306,
0.02994736284017563,
-0.03391413763165474,
0.013097504153847694,
-0.014464433304965496,
0.04988844692707062,
-0.03405708447098732,
0.02544453740119934,
-0.04967402666807175,
-0.004395615309476852,
0.021281210705637932,
-0.0433843657374382,
0.006513015367090702,
-0.004860192537307739,
0.03848843649029732,
-0.03970348462462425,
-0.019011929631233215,
-0.010042015463113785,
-0.040418218821287155,
0.035629499703645706,
-0.009818661026656628,
0.0772627666592598,
-0.017135752364993095,
0.00004910307688987814,
0.030912254005670547,
-0.007701260969042778,
0.04524267464876175,
-0.0009671247098594904,
0.0029929494485259056,
0.027838896960020065,
0.00900118425488472,
-0.04706524685025215,
0.04610035568475723,
0.051532335579395294,
0.006731902714818716,
0.0073081571608781815,
-0.0518539659678936,
0.051746755838394165,
-0.0717235803604126,
-0.03723765164613724,
0.0023675570264458656,
0.03230598568916321,
0.013240450993180275,
-0.007406433112919331,
0.05596368759870529,
0.012070073746144772,
-0.017225094139575958,
-0.008974381722509861,
0.04974550008773804,
0.03593326359987259,
0.023157387971878052,
-0.01337446365505457,
0.034378714859485626,
-0.05507026985287666,
0.028482157737016678,
0.03841696307063103,
0.00930941291153431,
0.006941855885088444,
-0.016572900116443634,
-0.03503984585404396,
0.011060511693358421,
0.021084658801555634,
0.06636307388544083,
-0.0021966909989714622,
-0.05364080145955086,
0.01696600392460823,
-0.011766311712563038,
-0.0239078588783741,
-0.01724296249449253,
0.021584972739219666,
-0.0024971025995910168,
-0.005324769765138626,
-0.005950162187218666,
-0.009371952153742313,
0.025069301947951317,
-0.050281550735235214,
0.0031090937554836273,
0.009631043300032616,
0.012766939587891102,
0.017207225784659386,
0.009550635702908039,
0.00297061400488019,
0.06943643093109131,
0.1110696941614151,
-0.013097504153847694,
-0.018529484048485756,
0.007830807007849216,
-0.012740137055516243,
0.10878254473209381,
-0.0422765277326107,
-0.019923215731978416,
-0.013740764930844307,
0.05246149003505707,
0.012284494005143642,
0.004739581141620874,
-0.013213648460805416,
0.008608080446720123,
0.035075582563877106,
0.05510600656270981,
0.04191916063427925,
-0.04677935317158699,
-0.0345931351184845,
0.04552856832742691,
-0.03698749467730522,
-0.04066837579011917,
-0.001996788661926985,
0.0599304623901844,
0.020905975252389908,
-0.02987588942050934,
-0.03216303884983063,
0.06907906383275986,
0.043062735348939896,
-0.004091853275895119,
0.008813566528260708,
0.00782187283039093,
0.02674892731010914,
-0.029107550159096718,
0.001245200983248651,
0.020334187895059586,
-0.03202009201049805,
-0.04713672026991844,
0.018922587856650352,
0.0032967114821076393,
-0.06504081189632416,
0.02301444113254547,
0.05121070519089699,
0.012284494005143642,
0.07440382987260818,
0.020620081573724747,
0.046958036720752716,
0.05217559635639191,
0.029089681804180145,
0.06629160046577454,
-0.06529097259044647,
-0.038738593459129333,
0.037916649132966995,
-0.03443232178688049,
-0.02578403614461422,
-0.06386150419712067,
0.0030822912231087685,
-0.06750664860010147,
0.007460038177669048,
-0.05717873573303223,
-0.01926208660006523,
-0.0029192424844950438,
0.023925727233290672,
0.008706356398761272,
-0.010310040786862373,
0.012900952249765396,
-0.026927610859274864,
-0.010176028124988079,
-0.022674942389130592,
0.06654175370931625,
-0.06607718020677567,
0.02363983355462551,
0.028303474187850952,
-0.027695950120687485,
-0.005865287501364946,
0.031805671751499176,
0.025605352595448494,
0.04359878599643707,
0.040418218821287155,
0.04163326695561409,
0.03480755537748337,
-0.02147776260972023,
0.02070942334830761,
0.005079079885035753,
0.026838269084692,
0.020870238542556763,
-0.0027941640000790358,
-0.036951757967472076,
0.0003037620335817337,
0.060931090265512466,
0.08340948075056076,
-0.011551891453564167,
-0.0027628943789750338,
0.021727919578552246,
0.026427296921610832,
-0.013937316834926605,
0.01683199033141136,
-0.03350316733121872,
-0.013651423156261444,
0.03607621043920517,
0.018600957468152046,
-0.018958324566483498,
-0.05156807228922844,
0.001078243600204587,
0.0034932633861899376,
0.02029845118522644,
-0.03977495804429054,
-0.02530159056186676,
0.04592167213559151,
-0.028875261545181274,
0.019923215731978416,
-0.029286233708262444,
-0.06010914593935013,
-0.04367025941610336,
0.0023474551271647215,
-0.0474226139485836,
0.005163954570889473,
-0.03809533268213272,
0.013508476316928864,
-0.043205682188272476,
-0.017841553315520287,
-0.028803788125514984,
-0.006584488786756992,
-0.03203796222805977,
-0.019297823309898376,
0.032627616077661514,
-0.03545081615447998,
-0.02321099303662777,
-0.02994736284017563,
-0.021174000576138496,
0.005565992556512356,
0.0562853179872036,
-0.021942339837551117,
-0.0229965727776289,
0.03702323138713837,
0.011024774983525276,
-0.01979813724756241,
0.041811950504779816,
0.05803641676902771,
-0.009318347088992596,
-0.021316947415471077,
0.0086884880438447,
0.0270348209887743,
-0.02558748424053192,
-0.04717245697975159,
0.02363983355462551,
-0.04495678097009659,
0.0012373835779726505,
0.02265707403421402,
-0.01334766112267971,
0.05213985964655876,
-0.05864394083619118,
0.019029797986149788,
0.01988747902214527,
0.010640605352818966,
0.007116072345525026,
-0.0853392630815506,
0.025891246274113655,
-0.011140919290482998,
0.02397933229804039,
0.025176512077450752,
-0.022121023386716843,
-0.01428574975579977,
0.014535906724631786,
-0.05496305972337723,
-0.06782827526330948,
0.05106775835156441,
0.030179651454091072,
-0.05860820412635803,
0.025265853852033615,
0.026588112115859985,
-0.05474863946437836,
0.01115878764539957,
0.008907374925911427,
-0.0034463589545339346,
-0.01981600560247898,
-0.03176993504166603,
-0.023514755070209503,
-0.030983727425336838,
0.022121023386716843,
-0.02133481577038765,
-0.04774424433708191,
-0.010997972451150417,
0.05546337366104126,
-0.02244265377521515,
0.04470662400126457,
-0.03738059848546982,
0.006124378647655249,
-0.04492104426026344,
-0.026802532374858856,
0.024104410782456398,
0.04738687723875046,
0.0474226139485836,
0.05507026985287666,
0.005767011549323797,
0.04406336322426796,
0.0073706964030861855,
-0.026713190600275993,
-0.0029103083070367575,
-0.0411686897277832,
-0.007871010340750217,
0.005825083702802658,
0.021442025899887085,
-0.01606365106999874,
0.0032632083166390657,
-0.013508476316928864,
-0.00538730900734663,
-0.02203168161213398,
-0.00976505596190691,
0.008599146269261837,
-0.07519003748893738,
0.010372580029070377,
-0.021924471482634544,
0.08662578463554382,
0.006825711578130722,
-0.025462405756115913,
-0.00062539242208004,
0.024032937362790108,
0.012391704134643078,
-0.047565560787916183,
-0.014875405468046665,
-0.004985271021723747,
0.0047127786092460155,
0.0033570171799510717,
-0.036522917449474335,
0.04517120122909546,
-0.00764765590429306,
0.014276815578341484,
-0.02633795514702797,
-0.04699377343058586,
-0.001370279467664659,
-0.0006940739112906158,
0.0415617935359478,
0.008679553866386414,
-0.06736370176076889,
0.05796494334936142,
0.01613512448966503,
-0.017260830849409103,
0.02994736284017563,
0.021906603127717972,
-0.0003121378249488771,
-0.005096948239952326,
0.002584210829809308,
0.004062817431986332,
-0.007285821717232466,
0.10177814960479736,
-0.06554112583398819,
-0.04706524685025215,
0.06264645606279373,
0.014741392806172371,
0.012472111731767654,
0.010989038273692131,
-0.027016952633857727,
0.07411793619394302,
-0.004460388328880072,
-0.024640461429953575,
-0.013928382657468319,
-0.015599073842167854,
-0.05864394083619118,
0.03119814768433571,
-0.002506036777049303,
-0.05503453314304352,
-0.03830975294113159,
-0.023407544940710068,
-0.001036923029460013,
0.035969000309705734,
0.029447048902511597,
0.00554365711286664,
0.021227605640888214,
-0.033753324300050735
] |
730,022 | mmengine.config.config | _validate_py_syntax | Validate syntax of python config.
Args:
filename (str): Filename of python config file.
| @staticmethod
def _validate_py_syntax(filename: str):
"""Validate syntax of python config.
Args:
filename (str): Filename of python config file.
"""
with open(filename, encoding='utf-8') as f:
content = f.read()
try:
ast.parse(content)
except SyntaxError as e:
raise SyntaxError('There are syntax errors in config '
f'file {filename}: {e}')
| (filename: str) | [
0.029015375301241875,
-0.049730464816093445,
0.08827513456344604,
-0.015140005387365818,
-0.043425098061561584,
0.00771695002913475,
0.0077124969102442265,
0.018417371436953545,
-0.0032974041532725096,
-0.059063833206892014,
0.003827304346486926,
0.005846713669598103,
0.022086596116423607,
-0.01606621779501438,
-0.013563663698732853,
-0.009760850109159946,
0.01112345140427351,
0.043246980756521225,
-0.006617072969675064,
-0.007547738030552864,
-0.06622416526079178,
-0.002222018549218774,
0.015558581799268723,
0.05425465479493141,
0.03551667183637619,
0.06298242509365082,
0.05293658375740051,
-0.00033898025867529213,
0.0010681496933102608,
-0.06540482491254807,
-0.016369016841053963,
-0.013438981026411057,
0.03687036782503128,
0.05265159532427788,
0.02041229046881199,
-0.06209183484315872,
0.015264688059687614,
0.022371584549546242,
-0.086707703769207,
-0.03758283704519272,
0.0006479031872004271,
0.011550933122634888,
0.004018780775368214,
0.004254786763340235,
-0.020768525078892708,
-0.012699793092906475,
-0.03776095435023308,
0.03083217516541481,
-0.08357282727956772,
-0.030030645430088043,
0.039613377302885056,
0.011283757165074348,
-0.01383974589407444,
0.04025460407137871,
-0.02824946865439415,
-0.004760195966809988,
0.028231658041477203,
0.05044293403625488,
0.04296199232339859,
0.026521727442741394,
0.015282499603927135,
0.052615970373153687,
0.026967020705342293,
-0.050656676292419434,
0.012076380662620068,
-0.00935117993503809,
-0.03996961563825607,
-0.052794087678194046,
-0.043603215366601944,
-0.001938143279403448,
-0.006795190740376711,
-0.006113890558481216,
-0.021872855722904205,
-0.011542027816176414,
0.07673311233520508,
-0.046310603618621826,
-0.12496738880872726,
0.05158288776874542,
0.015665452927350998,
0.0029389422852545977,
-0.043033238500356674,
-0.015362652949988842,
0.05461088940501213,
0.023458102717995644,
0.03726222366094589,
0.006024831440299749,
-0.011328286491334438,
0.05461088940501213,
-0.00850957352668047,
0.0271451398730278,
-0.012708698399364948,
0.02158786728978157,
-0.03156245872378349,
0.0024647037498652935,
0.026076432317495346,
0.012005133554339409,
0.0770893469452858,
-0.06690101325511932,
-0.01735757105052471,
0.0013559210347011685,
0.007071272935718298,
0.02212221920490265,
-0.03918589651584625,
-0.07758807390928268,
0.007494302466511726,
0.003508918918669224,
0.02798229269683361,
-0.0002012173499679193,
-0.03092123381793499,
-0.056071456521749496,
-0.01261073350906372,
-0.09682478755712509,
0.010571286082267761,
-0.005405872594565153,
0.07203080505132675,
-0.01202294509857893,
0.020483536645770073,
-0.016110746189951897,
-0.013234145939350128,
0.01563873514533043,
0.057211410254240036,
0.06056002154946327,
-0.024687115103006363,
0.048376768827438354,
0.12952719628810883,
0.00010937540355371311,
-0.013768498785793781,
-0.035979777574539185,
0.04395944997668266,
0.015362652949988842,
0.02408151514828205,
0.027626056224107742,
0.010945333167910576,
-0.03455483540892601,
-0.029407234862446785,
0.023849962279200554,
-0.00992115680128336,
-0.003878513118252158,
-0.007396338041871786,
-0.03651412948966026,
0.06647352874279022,
0.016110746189951897,
0.021837230771780014,
-0.06707912683486938,
-0.03708410635590553,
-0.001033082720823586,
-0.0775168240070343,
-0.0302265752106905,
0.007187049835920334,
0.06886030733585358,
0.00785053800791502,
-0.034358907490968704,
-0.041750792413949966,
0.009115173481404781,
0.007307278923690319,
-0.03353956341743469,
0.013367733918130398,
-0.023137491196393967,
0.015469523146748543,
-0.03145558759570122,
-0.02522146701812744,
0.025987373664975166,
0.016769781708717346,
0.00013859783939551562,
0.024936478585004807,
0.01699242927134037,
-0.020786337554454803,
-0.06882468611001968,
-0.0542902797460556,
-0.056783925741910934,
-0.04253450781106949,
-0.026967020705342293,
-0.030778739601373672,
0.06362364441156387,
0.06551169604063034,
-0.04431568458676338,
0.026699844747781754,
0.0836440771818161,
0.028391962870955467,
-0.01326976902782917,
-0.014160358346998692,
0.0070401025004684925,
0.01825706474483013,
0.017028052359819412,
0.06397987902164459,
0.056641433387994766,
0.00047590825124643743,
0.019022971391677856,
0.02482960931956768,
0.000916749588213861,
-0.014213792979717255,
-0.01734866574406624,
0.01798098348081112,
0.0019270109478384256,
0.01591481827199459,
-0.03222149237990379,
0.004132330883294344,
0.04759305343031883,
0.010758309625089169,
-0.006011472549289465,
0.04809178039431572,
-0.00026717656874097884,
0.012049662880599499,
0.008117714896798134,
-0.0035000129137188196,
0.025435209274291992,
0.0067773787304759026,
-0.009066191501915455,
-0.030885610729455948,
0.0023222097661346197,
-0.008068731985986233,
-0.07000026106834412,
0.02002043090760708,
0.0897713229060173,
0.02206878364086151,
-0.04737931117415428,
0.01388427522033453,
0.051084160804748535,
-0.027875421568751335,
0.0262723620980978,
0.18894726037979126,
0.03840217739343643,
0.024206196889281273,
-0.01813238300383091,
0.09447363018989563,
0.005334625486284494,
-0.025595514103770256,
0.02539958618581295,
-0.017099300399422646,
0.009841003455221653,
0.03526730835437775,
-0.04791366308927536,
-0.009796474128961563,
0.00024115468841046095,
0.0398627445101738,
-0.020465724170207977,
0.052580349147319794,
-0.046666841953992844,
-0.00936899147927761,
0.005655237473547459,
-0.0289085041731596,
0.00842051487416029,
-0.048020534217357635,
-0.0013292033690959215,
0.00505854282528162,
-0.01815910078585148,
0.002194187603890896,
0.040575213730335236,
-0.06647352874279022,
0.015959346666932106,
-0.018123477697372437,
0.044030699878931046,
0.0055928961373865604,
0.017250699922442436,
-0.027056079357862473,
0.021908478811383247,
0.003820624900981784,
-0.028766009956598282,
0.06447861343622208,
-0.022870313376188278,
0.01615527644753456,
0.035017941147089005,
0.030636245384812355,
0.018933912739157677,
-0.014258322305977345,
-0.03662100061774254,
0.031509023159742355,
0.026432668790221214,
0.00620740232989192,
0.00007215158984763548,
0.061379361897706985,
0.07523692399263382,
0.010250674560666084,
0.015959346666932106,
-0.06052439659833908,
-0.018844854086637497,
0.04442255571484566,
0.03507137671113014,
0.04645309969782829,
-0.0024179478641599417,
0.022620949894189835,
-0.000020386129108374007,
0.018212536349892616,
0.08086544275283813,
-0.0005877884686924517,
-0.0021518846042454243,
-0.04385257884860039,
-0.05785263329744339,
-0.05001545324921608,
0.0647992193698883,
0.010491132736206055,
-0.03868716582655907,
0.03425203636288643,
-0.029246928170323372,
0.09148125350475311,
0.03419860079884529,
0.018809230998158455,
-0.022923748940229416,
0.016048405319452286,
-0.044565051794052124,
-0.015496240928769112,
0.010980957187712193,
-0.005543913692235947,
0.007164784707129002,
0.007997484877705574,
-0.014792676083743572,
-0.008496214635670185,
-0.056392066180706024,
-0.04021897912025452,
-0.021267253905534744,
0.009511485695838928,
0.035801660269498825,
0.015540770255029202,
-0.025738008320331573,
0.07128270715475082,
0.04481441527605057,
-0.008563009090721607,
-0.056071456521749496,
0.00037154240999370813,
-0.00009900840086629614,
-0.04965921863913536,
-0.0018724624533206224,
0.049552347511053085,
-0.06013254076242447,
-0.0051832254976034164,
-0.04851926490664482,
0.03872279077768326,
-0.046702463179826736,
0.0144542520865798,
0.026967020705342293,
-0.01666291244328022,
-0.009449144825339317,
0.043995074927806854,
0.00042748250416480005,
0.03708410635590553,
-0.03398485854268074,
0.001833499176427722,
0.010633626952767372,
-0.014748146757483482,
-0.05974068120121956,
0.09269245713949203,
-0.0021307331044226885,
0.05272284150123596,
-0.023832149803638458,
0.0005187678034417331,
-0.01202294509857893,
-0.026682032272219658,
-0.03232836350798607,
0.012494957074522972,
0.026468291878700256,
0.012307933531701565,
0.02281687781214714,
-0.046488720923662186,
0.000060010363085893914,
-0.0017555727390572429,
-0.04239201545715332,
0.011185792274773121,
0.0002606362977530807,
-0.0011978416005149484,
0.007837179116904736,
0.03665662556886673,
-0.02242502011358738,
-0.017028052359819412,
-0.005530554801225662,
-0.015514052473008633,
0.009146344847977161,
0.03052937611937523,
-0.018381748348474503,
0.04025460407137871,
0.010633626952767372,
-0.012771040201187134,
-0.0009395709494128823,
-0.02974565699696541,
-0.08578149229288101,
-0.003070303937420249,
-0.009155250154435635,
-0.016110746189951897,
0.017339758574962616,
-0.0647992193698883,
-0.0025404037442058325,
0.03158026933670044,
0.04239201545715332,
0.01780286431312561,
-0.03291615471243858,
-0.0032573277130723,
-0.04581187665462494,
-0.0420357808470726,
-0.019949182868003845,
-0.058101996779441833,
0.05368467792868614,
-0.004419545643031597,
-0.003718207124620676,
-0.01936139538884163,
0.03726222366094589,
-0.022745631635189056,
0.03362862393260002,
-0.03599758818745613,
0.016698535531759262,
-0.03583728149533272,
0.04485004022717476,
-0.026486104354262352,
0.0003843446320388466,
-0.013875369913876057,
0.018648924306035042,
0.007414149586111307,
0.04616811126470566,
0.03305864706635475,
0.044173192232847214,
-0.04214265197515488,
0.024580243974924088,
0.06857531517744064,
-0.005094166379421949,
0.005067449063062668,
-0.011880450882017612,
-0.00492495484650135,
0.016288865357637405,
-0.0013292033690959215,
-0.02062603086233139,
-0.00630536675453186,
-0.05628519505262375,
0.0021273933816701174,
-0.04004086181521416,
0.0652623325586319,
0.04310448467731476,
0.021053513512015343,
0.05115540698170662,
-0.042498886585235596,
0.03170495107769966,
-0.026967020705342293,
-0.0029790187254548073,
-0.036727871745824814,
0.028142597526311874,
0.04100269824266434,
-0.04374571144580841,
0.017820676788687706,
-0.09069754183292389,
-0.014124734327197075,
-0.038651544600725174,
0.05899258702993393,
-0.0125929219648242,
-0.018631111830472946,
0.047236815094947815,
0.017695995047688484,
0.03596196696162224,
-0.00945805013179779,
0.005214395932853222,
-0.025809256359934807,
0.03394923731684685,
-0.01734866574406624,
-0.026201115921139717,
-0.08172040432691574,
0.040753331035375595,
0.01563873514533043,
-0.02452680841088295,
0.03779657930135727,
-0.0525447241961956,
-0.04353196918964386,
0.027661681175231934,
0.011221415363252163,
0.0018735756166279316,
0.0026650861836969852,
0.015157816931605339,
0.014623464085161686,
-0.04506378248333931,
0.03200775384902954,
-0.04737931117415428,
0.011684522032737732,
0.042641378939151764,
0.01930795982480049,
0.032738033682107925,
-0.02548864483833313,
-0.02575582079589367,
-0.03624695539474487,
0.009244308806955814,
-0.003177174599841237,
0.038651544600725174,
0.021445373073220253,
-0.004475207533687353,
-0.017268512398004532,
-0.00500510772690177,
-0.020857583731412888,
0.01710820570588112,
-0.04431568458676338,
0.04695182666182518,
0.03248867020010948,
-0.05482463166117668,
0.038865283131599426,
-0.09183748811483383,
-0.050656676292419434,
-0.0020750712137669325,
-0.022567514330148697,
-0.028320716693997383,
0.04549126327037811,
-0.023636220023036003,
0.024758361279964447,
-0.029282551258802414,
-0.022959372028708458,
0.040931448340415955,
0.01074940338730812,
-0.01984231360256672,
0.013813028112053871,
0.009573826566338539,
-0.016217617318034172,
-0.00713806739076972,
0.05389842018485069,
0.014400816522538662,
0.05767451599240303,
0.011034391820430756,
-0.00062118552159518,
-0.025168033316731453,
-0.060239408165216446,
0.018185818567872047,
0.021997537463903427,
0.0564989373087883,
0.06704350560903549,
0.024117138236761093,
0.0289085041731596,
0.04328260198235512,
-0.000018159656974603422,
0.03419860079884529,
-0.028926316648721695,
-0.09511485695838928,
0.047236815094947815,
-0.006897608283907175,
-0.009680697694420815,
0.02746575139462948,
0.03410954028367996,
-0.028106974437832832,
-0.028267281129956245,
0.02981690503656864,
0.07071273028850555,
-0.03231055289506912,
0.007102443836629391,
-0.06141498684883118,
-0.03450139984488487,
0.027056079357862473,
0.02702045626938343,
0.04581187665462494,
-0.03783220052719116,
0.0037783219013363123,
0.015282499603927135,
0.0055483668111264706,
0.021961914375424385,
0.0033463865984231234,
-0.058101996779441833,
0.025168033316731453,
-0.0564989373087883,
-0.022852502763271332,
-0.04606124013662338,
0.0022286977618932724,
0.04481441527605057,
0.029496293514966965,
0.008999397046864033,
0.009288839064538479,
0.05799512565135956,
-0.0687534362077713,
0.04428006336092949,
0.011729051358997822,
0.012824474833905697,
-0.000929551781155169,
-0.01547842938452959,
-0.01927233673632145,
-0.03747596591711044,
-0.006679414305835962,
-0.06711475551128387,
-0.0065191080793738365,
-0.02351153828203678,
-0.006755114067345858,
-0.024028079584240913,
-0.0014961888082325459,
-0.01710820570588112,
-0.002353380201384425,
0.09575608372688293,
-0.01112345140427351,
-0.02260313741862774,
0.02767949178814888,
0.005352437030524015,
0.04164392128586769,
-0.033610813319683075,
0.00010520077194087207,
0.011773580685257912,
-0.018114570528268814,
-0.03822406008839607,
0.02776855044066906,
-0.006038190331310034,
0.014578934758901596,
0.01193388644605875,
0.0022086596582084894,
-0.004648872185498476,
0.05286533758044243,
-0.010695968754589558,
0.036460693925619125,
0.05856510251760483,
-0.015220158733427525,
-0.0008822393137961626,
0.007681326474994421,
0.0003356405650265515,
0.02636142075061798,
0.04520627483725548,
-0.0008705502841621637,
-0.07295701652765274,
-0.05044293403625488,
0.024758361279964447,
-0.05453964322805405,
0.031295280903577805,
0.015834664925932884,
0.06515546143054962,
-0.037333473563194275,
-0.04239201545715332,
-0.003620242467150092,
0.01639573462307453,
-0.020911019295454025,
-0.021997537463903427,
-0.050870418548583984,
-0.009671791456639767,
0.015237970277667046,
0.02272781915962696,
0.021445373073220253,
0.035587918013334274,
-0.049730464816093445,
-0.0007319524884223938,
0.043603215366601944,
-0.008291379548609257,
-0.01852424256503582,
0.004150142427533865,
0.052402231842279434,
-0.0411808155477047,
-0.01392880454659462,
-0.09568483382463455,
-0.004415092524141073,
0.015620923601090908,
-0.03345050662755966,
0.021926289424300194,
-0.06544044613838196,
-0.03362862393260002,
-0.05347093567252159,
0.04506378248333931,
-0.01636011153459549,
0.03476857766509056,
0.01624433510005474,
0.02360059693455696,
-0.0805804505944252,
-0.036763496696949005,
0.006024831440299749,
-0.010829556733369827,
0.016235429793596268,
-0.044743169099092484,
-0.03542761132121086,
0.05685517191886902,
-0.016894465312361717,
0.06291117519140244,
0.027252009138464928,
0.0111679807305336,
0.013465698808431625,
0.013501322828233242,
-0.010633626952767372,
-0.04164392128586769,
-0.01653822883963585,
0.03206118941307068,
-0.00753437913954258,
0.012958063744008541,
-0.029638787731528282,
-0.0547533854842186,
0.04239201545715332,
-0.024117138236761093,
-0.04310448467731476,
0.006007019896060228,
-0.0011076695518568158,
0.04645309969782829,
0.01948607712984085,
0.02816041000187397,
-0.026397043839097023,
0.0017622520681470633,
0.03451921045780182,
0.004049951210618019,
-0.06340990215539932,
0.0028521097265183926,
-0.03772532939910889,
-0.004375016316771507,
-0.034305471926927567,
-0.0058689783327281475,
0.031170599162578583,
-0.026005186140537262,
-0.0582444928586483,
-0.04531314596533775,
0.028142597526311874,
-0.004049951210618019,
0.02750137448310852,
0.08008172363042831,
-0.031776200979948044,
-0.08172040432691574,
0.03630039095878601,
-0.02360059693455696,
0.01644917018711567,
-0.028961939737200737,
-0.0442444384098053,
0.003491107141599059,
-0.024241819977760315,
-0.03815281391143799,
0.00295007461681962,
-0.0015897005796432495,
-0.03394923731684685,
-0.01848861761391163,
0.009841003455221653,
0.01237027533352375,
-0.041501425206661224,
-0.03585509583353996,
0.0008505120640620589,
-0.06340990215539932,
0.003773869015276432,
-0.018025511875748634,
0.01606621779501438,
-0.00568195478990674,
-0.030280010774731636,
0.03070749342441559,
-0.024402126669883728,
-0.023707468062639236,
-0.001136613660492003,
0.020341042429208755,
-0.03907902538776398,
-0.09290619939565659,
0.03624695539474487,
-0.04677370935678482,
0.007814914919435978,
0.015211252495646477,
0.00009789516479941085,
-0.06141498684883118,
-0.06251931935548782,
0.007979673333466053,
-0.019557325169444084,
-0.005432590376585722,
0.022959372028708458,
-0.040931448340415955,
0.02798229269683361,
-0.0074096969328820705,
0.008019750006496906,
-0.035587918013334274,
0.03647850826382637,
0.022710008546710014,
0.011720145121216774,
0.05418340861797333,
0.037333473563194275,
-0.027750739827752113,
-0.03336144611239433,
0.0013536945916712284,
-0.024580243974924088,
0.008839091286063194,
0.02368965558707714,
-0.03231055289506912,
0.0521172434091568,
-0.03747596591711044,
0.051832254976034164,
-0.017455535009503365,
0.043425098061561584,
0.017268512398004532,
-0.07609188556671143,
0.011542027816176414,
0.014872828498482704,
-0.02224690280854702,
-0.049944207072257996,
-0.03259554132819176,
0.038473427295684814,
0.017722712829709053,
0.0019492757273837924,
0.007641249801963568,
-0.04673808813095093,
-0.03206118941307068,
0.028481021523475647
] |
730,023 | mmengine.config.config | auto_argparser | Generate argparser from config file automatically (experimental) | @staticmethod
def auto_argparser(description=None):
"""Generate argparser from config file automatically (experimental)"""
partial_parser = ArgumentParser(description=description)
partial_parser.add_argument('config', help='config file path')
cfg_file = partial_parser.parse_known_args()[0].config
cfg = Config.fromfile(cfg_file)
parser = ArgumentParser(description=description)
parser.add_argument('config', help='config file path')
add_args(parser, cfg)
return parser, cfg
| (description=None) | [
-0.02647191844880581,
-0.020034343004226685,
0.01637878827750683,
-0.04420848563313484,
0.00047029671259224415,
0.0306496974080801,
0.04625939577817917,
0.02880767732858658,
-0.03501737490296364,
-0.040562424808740616,
0.004453131463378668,
-0.0020592170767486095,
-0.07793454825878143,
0.03146626427769661,
-0.0017921717371791601,
0.005231717135757208,
0.032814547419548035,
0.045955557376146317,
-0.04348686710000038,
0.02368040382862091,
0.05047515034675598,
-0.02759232372045517,
-0.01714787818491459,
0.050741009414196014,
0.01946464739739895,
0.04268929362297058,
0.03429575636982918,
-0.013273939490318298,
-0.02443999983370304,
-0.03507434204220772,
-0.029814140871167183,
-0.04899394139647484,
0.04344888776540756,
0.047550708055496216,
0.023528484627604485,
-0.045233938843011856,
-0.007325353566557169,
0.10953373461961746,
-0.06741414219141006,
-0.018467677757143974,
0.021857373416423798,
-0.030535757541656494,
0.043334949761629105,
-0.0036484342999756336,
0.007909293286502361,
0.008673636242747307,
-0.013340404257178307,
-0.00010310921788914129,
-0.08393535763025284,
-0.05594424158334732,
0.07512404024600983,
-0.005867878906428814,
-0.012191515415906906,
0.03425777703523636,
-0.010833737440407276,
0.05981818214058876,
0.05199434235692024,
0.02873171679675579,
0.038245655596256256,
0.0451200008392334,
-0.043334949761629105,
0.002857979852706194,
0.05119676887989044,
-0.021610505878925323,
-0.02840888872742653,
-0.003762373700737953,
-0.06881939619779587,
-0.020376162603497505,
-0.00526020210236311,
0.024326059967279434,
-0.02755434438586235,
-0.016521211713552475,
-0.003700656583532691,
-0.06183111295104027,
0.049715556204319,
-0.04261333495378494,
-0.08499878644943237,
-0.005725454539060593,
0.04474020376801491,
0.02172444388270378,
-0.057767271995544434,
0.0085834339261055,
-0.022009292617440224,
0.009480707347393036,
0.025351515039801598,
0.0018467677291482687,
-0.024705858901143074,
-0.02290181815624237,
0.09077171981334686,
0.015609697438776493,
0.00934777781367302,
-0.02178141474723816,
0.0034965150989592075,
0.04287919029593468,
-0.011963636614382267,
-0.02956727333366871,
-0.01704343408346176,
0.030497778207063675,
-0.0060055553913116455,
-0.028636768460273743,
-0.06859151273965836,
0.021192727610468864,
-0.03858747333288193,
0.001324545475654304,
0.004647777881473303,
-0.018429696559906006,
0.028522828593850136,
0.015543232671916485,
0.012989090755581856,
0.002948181936517358,
-0.04998141527175903,
-0.06407191604375839,
-0.048386264592409134,
0.04823434352874756,
-0.0011115025263279676,
0.0036484342999756336,
0.030516767874360085,
0.018885454162955284,
0.028237979859113693,
0.012400404550135136,
-0.060425858944654465,
0.0026799493934959173,
-0.015600201673805714,
0.010843232274055481,
0.02373737469315529,
-0.027440404519438744,
-0.02480080910027027,
-0.03853050619363785,
0.022294141352176666,
-0.033612120896577835,
0.08196040242910385,
0.025845251977443695,
-0.0039214142598211765,
-0.05738747492432594,
0.05788121372461319,
-0.05981818214058876,
0.03218787908554077,
0.07094626128673553,
-0.02290181815624237,
0.06061575934290886,
-0.008388787508010864,
0.005934343673288822,
0.008464747108519077,
-0.03853050619363785,
-0.05981818214058876,
-0.031314343214035034,
-0.03572000190615654,
0.004768838174641132,
0.005806161556392908,
0.055754344910383224,
-0.003449040465056896,
0.011355959810316563,
-0.015837576240301132,
0.06543919444084167,
0.05317171663045883,
-0.032472725957632065,
-0.004232373554259539,
0.011726262979209423,
0.004479242488741875,
-0.04420848563313484,
-0.02480080910027027,
0.012808687053620815,
0.045955557376146317,
-0.027763232588768005,
0.0027274242602288723,
0.0036199495662003756,
0.012571313418447971,
-0.013995555229485035,
0.02014828287065029,
-0.00010755997209344059,
-0.03177010267972946,
-0.0030455051455646753,
-0.03036484867334366,
0.0114793935790658,
-0.0028461110778152943,
0.0016521211946383119,
-0.00455994950607419,
0.04428444430232048,
0.03756202012300491,
0.0017743686912581325,
-0.03488444536924362,
0.0049136364832520485,
0.025845251977443695,
-0.07713697105646133,
0.06293252855539322,
0.018505657091736794,
0.05412121117115021,
0.03834060579538345,
0.014052525162696838,
-0.028162021189928055,
0.011935151182115078,
0.012201010249555111,
0.008611919358372688,
0.005193737335503101,
-0.0076339393854141235,
-0.005882121156901121,
-0.06471757590770721,
0.08370747417211533,
0.054956767708063126,
0.018135353922843933,
0.030877575278282166,
-0.008801817893981934,
-0.02214222215116024,
0.01752767711877823,
0.04929777979850769,
0.026680808514356613,
-0.012704242020845413,
-0.0043107070960104465,
-0.05488080903887749,
0.04428444430232048,
-0.020717980340123177,
-0.050323233008384705,
0.023832323029637337,
0.00029152462957426906,
0.01703394018113613,
-0.0179169699549675,
0.01304606068879366,
0.05875474959611893,
-0.04265131428837776,
-0.008146666921675205,
0.12267474830150604,
0.010340000502765179,
0.10619151592254639,
0.03380202129483223,
0.049943435937166214,
-0.019331717863678932,
0.021154748275876045,
-0.0306496974080801,
-0.027079595252871513,
0.07349091023206711,
0.00329712126404047,
-0.03927111253142357,
-0.00544535368680954,
-0.03252969682216644,
0.037144243717193604,
-0.03382100909948349,
0.04656323418021202,
-0.03469454497098923,
-0.0225600004196167,
0.0031808081548660994,
-0.031010504812002182,
0.038625456392765045,
-0.011014141142368317,
0.018486667424440384,
-0.03851151466369629,
0.022730909287929535,
-0.001564292935654521,
-0.02288282848894596,
0.010140606202185154,
0.025560403242707253,
0.007225656416267157,
0.05788121372461319,
-0.016198383644223213,
0.06783191859722137,
-0.04941171780228615,
-0.005041818134486675,
-0.02523757517337799,
-0.027079595252871513,
0.012960606254637241,
-0.02717454545199871,
0.07265535742044449,
0.012542827986180782,
0.04561373591423035,
0.04044848680496216,
-0.006907575763761997,
-0.0014396717306226492,
0.039081212133169174,
-0.07952969521284103,
0.0010883585782721639,
0.002843737369403243,
0.09996283054351807,
0.05389333516359329,
0.0074867676012218,
-0.0186195969581604,
-0.004265605937689543,
0.01068181823939085,
0.03025090880692005,
0.00004172585249762051,
0.0024615656584501266,
0.019730504602193832,
0.011080605909228325,
-0.015039999969303608,
0.015410303138196468,
0.04189171642065048,
-0.002530404133722186,
0.004322575870901346,
-0.05058909207582474,
0.03718222305178642,
-0.011583838611841202,
0.027839191257953644,
0.017309293150901794,
0.04701898992061615,
0.01752767711877823,
-0.008346060290932655,
0.07455434650182724,
0.00009836174285737798,
-0.034713536500930786,
0.0028366162441670895,
0.01435636356472969,
-0.04280323162674904,
0.01223898958414793,
-0.0236614141613245,
-0.10748282819986343,
-0.007781111169606447,
0.01986343413591385,
-0.0003765340952668339,
-0.012979595921933651,
-0.056589897722005844,
0.04701898992061615,
-0.006679696962237358,
-0.029054544866085052,
-0.007040505297482014,
0.011678787879645824,
0.01910383813083172,
-0.019122827798128128,
-0.007505757734179497,
-0.022730909287929535,
-0.01746121235191822,
0.028997575864195824,
-0.014764646999537945,
-0.04553777724504471,
0.049715556204319,
-0.03615676611661911,
-0.028902625665068626,
0.026984646916389465,
0.057349495589733124,
0.0033493435475975275,
0.04079030454158783,
0.016141414642333984,
0.03340323269367218,
-0.0403345450758934,
-0.001026047975756228,
-0.030478788539767265,
0.030174950137734413,
0.010349495336413383,
-0.051120806485414505,
0.008061212487518787,
-0.008630909025669098,
0.002765404060482979,
-0.07892201840877533,
0.09950707107782364,
-0.006807878613471985,
-0.04006868600845337,
-0.020774949342012405,
0.023433536291122437,
0.0039024243596941233,
0.046449292451143265,
-0.030098989605903625,
0.0451200008392334,
-0.041397981345653534,
-0.0006747348234057426,
-0.018458181992173195,
-0.02838989906013012,
0.011612323112785816,
0.06574302911758423,
0.016112929210066795,
-0.03180808201432228,
0.019711514934897423,
0.03068767674267292,
-0.045689698308706284,
-0.009770303033292294,
-0.07801050692796707,
-0.024231111630797386,
0.0059818183071911335,
-0.020281212404370308,
0.0017067171866074204,
-0.026718787848949432,
0.032415758818387985,
0.025541413575410843,
0.008626162074506283,
0.011204040609300137,
0.029681211337447166,
0.05951434373855591,
-0.05875474959611893,
0.014024040661752224,
-0.031048484146595,
-0.03410585969686508,
-0.002415277762338519,
-0.047246869653463364,
0.008213131688535213,
0.007154444698244333,
0.057349495589733124,
0.027820201590657234,
-0.010558383539319038,
-0.01479313150048256,
-0.06870545446872711,
-0.009357272647321224,
0.022294141352176666,
-0.004849545657634735,
-0.029757171869277954,
0.01128000020980835,
-0.016995958983898163,
-0.03180808201432228,
0.02480080910027027,
-0.015239394269883633,
-0.06247676908969879,
0.007453535217791796,
0.032909493893384933,
-0.049905456602573395,
0.012333939783275127,
-0.009442727081477642,
-0.051120806485414505,
0.05115878954529762,
-0.016844039782881737,
-0.011906666681170464,
0.016397777944803238,
0.02569333277642727,
0.06342626363039017,
-0.01867656596004963,
0.01187818218022585,
0.0022325001191347837,
-0.0299470704048872,
-0.006024545524269342,
0.007852323353290558,
0.012390908785164356,
0.021990302950143814,
0.029453333467245102,
0.034713536500930786,
-0.017242828384041786,
-0.028503838926553726,
-0.009518686681985855,
0.01937919110059738,
-0.03991676867008209,
0.06494545191526413,
0.028617778792977333,
0.04686707258224487,
-0.04622141271829605,
0.0467151515185833,
-0.05488080903887749,
-0.04299313202500343,
-0.03754303231835365,
0.014916565269231796,
-0.009067676961421967,
-0.06581898778676987,
-0.0032425252720713615,
-0.051120806485414505,
0.011431919410824776,
-0.048804040998220444,
0.04500605911016464,
0.012305454351007938,
-0.020433131605386734,
-0.003430050564929843,
0.030383838340640068,
0.05172848328948021,
-0.040258586406707764,
-0.03961293026804924,
-0.037941817194223404,
0.023566463962197304,
0.05081696808338165,
-0.04280323162674904,
-0.018581615760922432,
0.028294948861002922,
0.03566303104162216,
-0.06923717260360718,
-0.006542020011693239,
-0.1032290905714035,
-0.019939394667744637,
0.011925656348466873,
-0.03271959722042084,
0.04508202150464058,
0.036726463586091995,
-0.006157474592328072,
0.05943838506937027,
-0.029054544866085052,
-0.015847070142626762,
-0.011982626281678677,
0.032073941081762314,
0.06300848722457886,
-0.065097376704216,
-0.006689191795885563,
-0.0213636364787817,
-0.06274262815713882,
-0.03448565676808357,
-0.008184646256268024,
-0.01631232351064682,
-0.020850909873843193,
0.05936242267489433,
0.00003186000685673207,
-0.0029315657448023558,
-0.029320403933525085,
-0.013197979889810085,
0.009817778132855892,
-0.020755959674715996,
0.07618747651576996,
0.026965657249093056,
-0.01625535450875759,
0.024307070299983025,
-0.06635070592164993,
-0.07709898799657822,
-0.016521211713552475,
-0.031314343214035034,
-0.005568787921220064,
0.004483989905565977,
-0.02909252606332302,
0.04348686710000038,
0.020091313868761063,
0.0746682807803154,
0.05981818214058876,
0.022427070885896683,
-0.040562424808740616,
0.020433131605386734,
-0.04158787801861763,
0.018837979063391685,
-0.014394343830645084,
0.02208525314927101,
-0.023471515625715256,
-0.09905131161212921,
0.02337656542658806,
-0.07132606208324432,
0.01071979757398367,
-0.03456161543726921,
-0.027896162122488022,
0.010017171502113342,
0.029339393600821495,
0.0272505059838295,
-0.011175555177032948,
-0.02719353511929512,
-0.00930505059659481,
0.003968888893723488,
0.012172525748610497,
0.004372424446046352,
-0.030839595943689346,
0.025408484041690826,
-0.00875434372574091,
-0.028162021189928055,
0.022332120686769485,
0.012419394217431545,
0.0272505059838295,
0.01636929251253605,
0.021534545347094536,
0.0395369715988636,
0.012685252353549004,
0.004851919133216143,
0.04743676632642746,
-0.012030101381242275,
-0.00872585829347372,
0.009466464631259441,
0.018904443830251694,
0.00815141387283802,
-0.002741666743531823,
0.043296970427036285,
0.015647677704691887,
0.012875151820480824,
0.04398060590028763,
-0.09092363715171814,
0.018049899488687515,
-0.013568283058702946,
0.04204363748431206,
0.025788282975554466,
-0.03837858512997627,
0.00219333334825933,
0.013587272725999355,
0.024402020499110222,
0.005782424472272396,
-0.004621666856110096,
-0.049943435937166214,
-0.0024900506250560284,
-0.03378302976489067,
0.03066868707537651,
-0.016844039782881737,
-0.0022230050526559353,
0.04390464723110199,
-0.08872080594301224,
0.08940444141626358,
0.002575505059212446,
-0.0010782702593132854,
-0.013378383591771126,
0.02609212137758732,
-0.02054707147181034,
0.0007625631405971944,
0.004277474712580442,
-0.05902060493826866,
-0.019597575068473816,
-0.05366545543074608,
-0.09381010383367538,
0.07140202075242996,
0.054576970636844635,
0.008122929371893406,
0.0030597473960369825,
-0.0032733839470893145,
-0.009366767480969429,
-0.025427475571632385,
-0.018401212990283966,
-0.03509333357214928,
-0.0688953548669815,
-0.01714787818491459,
0.04348686710000038,
0.00505131296813488,
-0.009281313046813011,
0.003657929366454482,
-0.0016307575860992074,
0.05252606049180031,
-0.012115555815398693,
-0.06365413963794708,
-0.023414544761180878,
-0.002556515159085393,
-0.004730858840048313,
-0.02719353511929512,
0.036707475781440735,
-0.041815757751464844,
-0.0748581811785698,
-0.04398060590028763,
0.0038122222758829594,
0.01675858534872532,
-0.007614949718117714,
0.020471110939979553,
-0.004507727455347776,
-0.07383272796869278,
-0.0465252511203289,
0.03701131418347359,
-0.005526060704141855,
-0.04003070667386055,
0.03140929341316223,
0.017299797385931015,
-0.053057778626680374,
0.051500607281923294,
0.03720121085643768,
-0.013710707426071167,
0.04344888776540756,
-0.03384000062942505,
-0.034390706568956375,
0.06517333537340164,
-0.01146040391176939,
0.0006996591109782457,
-0.08355555683374405,
-0.003187929280102253,
0.01183070708066225,
-0.019977374002337456,
0.005782424472272396,
0.025484444573521614,
0.05260201916098595,
-0.0543111115694046,
0.024383030831813812,
-0.04781656712293625,
0.04105616360902786,
-0.05700767785310745,
0.030839595943689346,
0.01980646513402462,
-0.00031630051671527326,
-0.011783231981098652,
0.025788282975554466,
-0.06319838762283325,
-0.06779394298791885,
-0.0019179797964170575,
-0.016112929210066795,
0.022465050220489502,
-0.014897575601935387,
0.014527272433042526,
0.06395798176527023,
-0.008621414192020893,
0.05320969596505165,
0.023813333362340927,
0.000455164146842435,
0.04154989868402481,
-0.022009292617440224,
-0.06278060376644135,
0.024990707635879517,
0.02996606007218361,
0.017176363617181778,
-0.015457778237760067,
0.0018776262877508998,
-0.021287675946950912,
0.03277656435966492,
-0.031732119619846344,
-0.049183838069438934,
-0.042917173355817795,
-0.008616666309535503,
-0.004699999932199717,
-0.006076767574995756,
0.0348464660346508,
0.0317511111497879,
-0.06205898895859718,
0.03256767615675926,
0.03135232254862785,
0.030193939805030823,
-0.07212363928556442,
-0.05047515034675598,
-0.009319293312728405,
-0.00476409075781703,
0.02639595977962017,
-0.022465050220489502,
0.027421414852142334,
-0.006807878613471985,
-0.05248808115720749,
-0.03490343317389488,
-0.04553777724504471,
0.0940379798412323,
0.012343434616923332,
0.04322101175785065,
-0.016568686813116074,
-0.030098989605903625,
0.02990909107029438,
0.012049091048538685,
0.03292848542332649,
0.008080202154815197,
-0.022673940286040306,
-0.030516767874360085,
-0.009893737733364105,
0.005407373886555433,
-0.00008530618652002886,
0.06665454804897308,
-0.03313737362623215,
-0.023927273228764534,
0.02840888872742653,
-0.03028888814151287,
0.006561010144650936,
-0.020414141938090324,
0.0034822728484869003,
-0.033650100231170654,
0.009979192167520523,
-0.020433131605386734,
0.06293252855539322,
0.057311516255140305,
-0.011232525110244751,
0.07337696850299835,
0.020812928676605225,
-0.008246364071965218,
0.02952929399907589,
-0.008023232221603394,
0.021534545347094536,
-0.05161454528570175,
-0.005022828467190266,
0.0311434343457222,
-0.054501011967659,
0.00060886365827173,
-0.00794727262109518,
-0.06650262326002121,
-0.021971313282847404,
0.0103305047377944,
-0.02487676776945591,
-0.05852686986327171,
-0.052222222089767456,
0.015771111473441124,
0.049905456602573395,
0.016606666147708893,
-0.0039807576686143875,
0.018923435360193253,
0.012666262686252594,
0.00048068183241412044,
0.0006504040211439133,
0.033593133091926575,
0.018524646759033203,
-0.013235959224402905,
0.08051717281341553,
-0.01786000095307827,
-0.028940606862306595,
0.03999272733926773,
0.019151313230395317,
-0.05237414315342903,
0.018087878823280334,
-0.031276363879442215,
0.03450464829802513,
0.023129697889089584,
0.06619878858327866,
-0.06278060376644135,
-0.05100686848163605,
0.0066844443790614605,
0.006029292941093445,
-0.009086666628718376,
-0.03454262763261795,
-0.007743131369352341,
-0.035947877913713455,
0.019502626731991768,
-0.011602828279137611,
0.04777858778834343,
-0.021192727610468864,
0.00526020210236311,
0.0064138383604586124
] |
730,025 | mmengine.config.config | diff | null | @staticmethod
def diff(cfg1: Union[str, 'Config'], cfg2: Union[str, 'Config']) -> str:
if isinstance(cfg1, str):
cfg1 = Config.fromfile(cfg1)
if isinstance(cfg2, str):
cfg2 = Config.fromfile(cfg2)
res = difflib.unified_diff(
cfg1.pretty_text.split('\n'), cfg2.pretty_text.split('\n'))
# Convert into rich format for better visualization
console = Console()
text = Text()
for line in res:
if line.startswith('+'):
color = 'bright_green'
elif line.startswith('-'):
color = 'bright_red'
else:
color = 'bright_white'
_text = Text(line + '\n')
_text.stylize(color)
text.append(_text)
with console.capture() as capture:
console.print(text)
return capture.get()
| (cfg1: Union[str, mmengine.config.config.Config], cfg2: Union[str, mmengine.config.config.Config]) -> str | [
0.0326659232378006,
-0.08918657153844833,
0.06397076696157455,
-0.01720154657959938,
-0.010852823033928871,
-0.04821089282631874,
-0.031269025057554245,
0.02428453601896763,
0.02030874975025654,
0.006393495015799999,
-0.012885489501059055,
-0.04051004350185394,
-0.023603996261954308,
0.04534545913338661,
-0.03116157278418541,
-0.034850817173719406,
-0.007315806113183498,
-0.047601986676454544,
0.00983201339840889,
-0.054299935698509216,
0.025359071791172028,
-0.016897093504667282,
0.004727962892502546,
0.027920052409172058,
0.00440112454816699,
-0.007669507525861263,
0.004087717738002539,
-0.0715283453464508,
-0.02009384147822857,
0.00660392502322793,
-0.022117553278803825,
-0.052974674850702286,
-0.0007241931743919849,
-0.0013610802125185728,
-0.07464449852705002,
-0.046993084251880646,
0.027884233742952347,
0.04620508849620819,
-0.021598193794488907,
-0.017873132601380348,
0.013476484455168247,
-0.03300619497895241,
0.0297467652708292,
-0.014783837832510471,
-0.0477810762822628,
-0.011703498661518097,
-0.08818367123603821,
0.009948421269655228,
-0.0866076797246933,
-0.006823309697210789,
0.06035315990447998,
-0.009357426315546036,
-0.044342558830976486,
0.07020308077335358,
-0.025412799790501595,
-0.019646117463707924,
0.017335863783955574,
0.027078332379460335,
-0.008206776343286037,
0.010655825026333332,
-0.04813925549387932,
0.0022901068441569805,
0.0064158812165260315,
-0.009643969126045704,
-0.03492245078086853,
-0.024678532034158707,
-0.025018801912665367,
0.009984239004552364,
0.045238006860017776,
0.012222858145833015,
-0.0272753294557333,
0.012258675880730152,
0.00876643043011427,
-0.021365376189351082,
0.015222607180476189,
-0.011479636654257774,
0.01562555879354477,
0.08144990354776382,
0.057810090482234955,
-0.008636591024696827,
-0.04975106194615364,
0.011318456381559372,
0.06826891750097275,
-0.02449944242835045,
0.04978688061237335,
-0.02444571629166603,
0.0009295864147134125,
-0.01209749560803175,
0.03132275119423866,
-0.0076023489236831665,
-0.0009614867158234119,
-0.022028008475899696,
-0.0010314435930922627,
-0.03486872464418411,
-0.007374010048806667,
-0.019681936129927635,
-0.02491134963929653,
0.0008691436960361898,
0.010100647807121277,
0.01000214833766222,
0.02736487425863743,
0.06672874838113785,
-0.04914215952157974,
-0.013897344470024109,
0.030552668496966362,
-0.05730864033102989,
-0.04548873379826546,
0.00530104897916317,
-0.010978186503052711,
0.0020337849855422974,
-0.04172785207629204,
-0.0687345489859581,
0.026738062500953674,
-0.06217987462878227,
0.1088147759437561,
0.037035707384347916,
-0.054049208760261536,
-0.025359071791172028,
0.03343600779771805,
-0.018392492085695267,
0.014613702893257141,
0.04770944267511368,
0.02851104736328125,
0.035710446536540985,
-0.020416202023625374,
0.049177974462509155,
0.0034900065511465073,
-0.020881835371255875,
0.03640889376401901,
0.027257421985268593,
0.11175184696912766,
0.0047190082259476185,
-0.016324007883667946,
0.02052365615963936,
0.06132024526596069,
0.011022958904504776,
-0.006142769940197468,
0.05265231058001518,
0.06583330035209656,
0.08811203390359879,
0.06579747796058655,
-0.030892938375473022,
0.0035392562858760357,
0.009751423262059689,
-0.12428811192512512,
0.013834663666784763,
-0.07729502767324448,
-0.006389017682522535,
-0.006917331833392382,
0.07851283252239227,
0.013189941644668579,
-0.004813030362129211,
0.018114902079105377,
-0.018947668373584747,
0.0477810762822628,
0.016359824687242508,
-0.022493639960885048,
-0.009733513928949833,
0.027167877182364464,
-0.012822807766497135,
0.022511549293994904,
-0.004157114773988724,
0.12256885319948196,
0.02500089444220066,
0.008838066831231117,
0.007020308170467615,
0.01765822432935238,
-0.028833409771323204,
-0.01370034646242857,
-0.031824205070734024,
0.02209964394569397,
-0.02478598617017269,
-0.013288440182805061,
0.021884735673666,
-0.009411153383553028,
0.006648697424679995,
-0.03116157278418541,
0.022583184763789177,
0.008936566300690174,
-0.020756471902132034,
-0.02876177243888378,
0.0013454098952934146,
-0.0208101999014616,
0.052473220974206924,
0.03261219710111618,
-0.004320533946156502,
-0.006241268943995237,
0.007826210930943489,
0.025359071791172028,
-0.03617607802152634,
0.016807548701763153,
-0.0174164529889822,
-0.01889394223690033,
0.03649843856692314,
0.028994590044021606,
-0.04262330010533333,
-0.036390986293554306,
0.002102063037455082,
0.03843260556459427,
-0.04659908637404442,
-0.010163328610360622,
-0.011873633600771427,
-0.008779862895607948,
0.0009933870751410723,
0.08710913360118866,
-0.011578136123716831,
0.011524409055709839,
-0.017774632200598717,
-0.018732761964201927,
-0.011748271062970161,
0.006192019209265709,
-0.0004365306522231549,
0.006200973875820637,
-0.017550770193338394,
0.011658726260066032,
-0.002078557386994362,
0.04201439768075943,
0.04792435094714165,
-0.089401476085186,
-0.010163328610360622,
0.11390092223882675,
-0.046348363161087036,
0.05344030633568764,
0.04133385419845581,
-0.0013207850279286504,
0.023281633853912354,
0.011416955851018429,
0.010467780753970146,
-0.0009161547059193254,
-0.008945520035922527,
0.052974674850702286,
-0.02722160331904888,
0.02826032228767872,
0.005592069588601589,
0.041262220591306686,
-0.016297144815325737,
-0.046061817556619644,
-0.04022350162267685,
0.011246819980442524,
0.00032711814856156707,
-0.044306740164756775,
0.03073175810277462,
0.04957197234034538,
0.04262330010533333,
0.008014255203306675,
-0.06497366726398468,
-0.02247573249042034,
-0.05974425747990608,
-0.010387190617620945,
0.020398294553160667,
0.012160176411271095,
-0.01577778533101082,
0.002762455493211746,
0.02478598617017269,
-0.017488088458776474,
0.0014349545817822218,
-0.028922954574227333,
-0.032468926161527634,
0.04151294380426407,
-0.0004924961249344051,
0.062430597841739655,
0.0025811274535954,
-0.06207241863012314,
0.023818902671337128,
0.015410651452839375,
-0.014712202362716198,
-0.008927611634135246,
0.009545470587909222,
0.011157275177538395,
0.03717897832393646,
-0.010046920739114285,
-0.005726386792957783,
-0.026773879304528236,
0.008309752680361271,
-0.05082559958100319,
-0.0042287507094442844,
0.0570220947265625,
-0.017398543655872345,
0.032128654420375824,
-0.04000859335064888,
-0.03064221329987049,
-0.03689243644475937,
-0.04047422483563423,
0.011479636654257774,
0.03232565522193909,
0.007947096601128578,
-0.023711448535323143,
-0.10358536243438721,
-0.026361973956227303,
-0.007660553324967623,
0.06346932053565979,
-0.00799634587019682,
0.030534759163856506,
-0.004242182243615389,
0.02367563173174858,
0.06329023092985153,
0.046993084251880646,
-0.05791754275560379,
-0.00933951698243618,
0.02355026826262474,
-0.06529603153467178,
-0.04290984198451042,
0.023281633853912354,
0.010557325556874275,
-0.03506572172045708,
-0.03429563716053963,
0.009473834186792374,
-0.04000859335064888,
0.060245707631111145,
-0.01769404299557209,
-0.05555356293916702,
0.011479636654257774,
0.05709373205900192,
0.017711950466036797,
-0.036390986293554306,
0.012518355622887611,
-0.01809699274599552,
0.02675596997141838,
0.04667072370648384,
-0.016449369490146637,
0.0013398133451119065,
0.037931155413389206,
-0.035280629992485046,
0.039041511714458466,
0.02949604019522667,
-0.05806081369519234,
0.02197428047657013,
0.03073175810277462,
0.07636376470327377,
0.0699881762266159,
-0.046276725828647614,
-0.0012726547429338098,
0.04867652431130409,
0.015858374536037445,
0.02700669690966606,
-0.037895336747169495,
0.007902324199676514,
-0.03125111758708954,
-0.021992189809679985,
-0.04502309858798981,
0.08202298730611801,
-0.024123355746269226,
-0.015204697847366333,
-0.04201439768075943,
0.03846842423081398,
0.045882727950811386,
0.003073623403906822,
0.030928755179047585,
-0.01134531944990158,
0.04423510655760765,
-0.018231309950351715,
-0.001367795979604125,
-0.017335863783955574,
0.028922954574227333,
0.01430029608309269,
0.01652100682258606,
-0.04402019828557968,
-0.08087681978940964,
0.00045835718628950417,
-0.014524158090353012,
-0.052509039640426636,
0.03159138560295105,
-0.001953194849193096,
0.026487337425351143,
-0.03939969092607498,
0.010915504768490791,
-0.007297896780073643,
-0.010951322503387928,
-0.04581109434366226,
0.010852823033928871,
-0.03526272252202034,
0.07220888137817383,
0.0539417564868927,
-0.08546150475740433,
-0.01572405733168125,
-0.033668823540210724,
-0.02894086204469204,
0.01667323149740696,
-0.007817256264388561,
0.02295927330851555,
-0.006639743223786354,
0.06783910095691681,
-0.02962140180170536,
0.06096206605434418,
-0.0022218290250748396,
0.01243776548653841,
-0.03440309315919876,
-0.06314695626497269,
0.038826603442430496,
0.044306740164756775,
-0.008273934945464134,
-0.008408252149820328,
-0.012661627493798733,
0.08868511766195297,
-0.07278197258710861,
0.0014483863487839699,
-0.03345391899347305,
0.02009384147822857,
-0.021257923915982246,
-0.01720154657959938,
0.007485941052436829,
0.009518606588244438,
-0.010861777700483799,
-0.02192055433988571,
-0.022242914885282516,
0.02555607073009014,
0.018482036888599396,
0.06547512114048004,
-0.048963069915771484,
0.062896229326725,
-0.030140763148665428,
0.00023813307052478194,
-0.015482286922633648,
-0.006456176284700632,
0.008318707346916199,
-0.00916938204318285,
-0.013682437129318714,
-0.0072173066437244415,
0.0009799553081393242,
0.000320682127494365,
-0.008081413805484772,
-0.05519538372755051,
0.04659908637404442,
-0.01553601399064064,
0.05401339381933212,
0.012598945759236813,
0.005068232771009207,
0.050252512097358704,
-0.02817077748477459,
-0.02607543021440506,
0.029782583937048912,
0.02107883431017399,
0.007374010048806667,
-0.02517998404800892,
0.024338262155652046,
-0.03402700275182724,
0.05222249776124954,
-0.04140549153089523,
0.07765320688486099,
0.018947668373584747,
0.030910847708582878,
0.0030266125686466694,
0.04659908637404442,
0.020917654037475586,
-0.07593394815921783,
-0.03911314532160759,
-0.03542390093207359,
-0.07421468943357468,
0.003944446332752705,
0.00863211415708065,
-0.018356673419475555,
0.06128442659974098,
-0.015983738005161285,
-0.03896987438201904,
-0.003469859017059207,
-0.0326659232378006,
-0.014452522620558739,
0.003308678511530161,
-0.07672194391489029,
0.1020093783736229,
0.014479385688900948,
0.0262007936835289,
-0.012598945759236813,
0.07206561416387558,
-0.009196246042847633,
-0.06447222083806992,
0.038146063685417175,
0.049858514219522476,
-0.03026612475514412,
0.005766681861132383,
0.008806725963950157,
-0.03782370314002037,
-0.031018299981951714,
0.06357677280902863,
-0.015204697847366333,
0.028475230559706688,
-0.018293991684913635,
-0.011488591320812702,
-0.03495826944708824,
-0.015339015051722527,
-0.07228051871061325,
-0.01948493719100952,
-0.05379848554730415,
0.0016476233722642064,
0.013028760440647602,
-0.03896987438201904,
0.03803860768675804,
-0.05347612500190735,
-0.013028760440647602,
-0.038110245019197464,
-0.04967942461371422,
-0.0382176972925663,
-0.03519108518958092,
-0.03511945158243179,
-0.02894086204469204,
-0.03689243644475937,
0.015643468126654625,
-0.033185284584760666,
-0.01593896560370922,
-0.010996094904839993,
0.0272753294557333,
0.013951071538031101,
-0.0014092104975134134,
0.010288691148161888,
0.020720655098557472,
0.015374833717942238,
0.01803431287407875,
0.03209283947944641,
-0.019305847585201263,
-0.013709301128983498,
-0.07536085695028305,
-0.04154876247048378,
0.03807442635297775,
0.014613702893257141,
-0.011936315335333347,
-0.026773879304528236,
0.015867330133914948,
0.013682437129318714,
-0.002907965797930956,
0.000640244921669364,
-0.07657866925001144,
0.013476484455168247,
-0.013843618333339691,
-0.07005981355905533,
0.015571831725537777,
0.022547367960214615,
0.002090869937092066,
-0.020738564431667328,
-0.0034989609848707914,
-0.037895336747169495,
-0.022368278354406357,
0.013351121917366982,
0.04731544479727745,
-0.03393745794892311,
-0.042121849954128265,
0.008681363426148891,
-0.04817507416009903,
0.04731544479727745,
-0.08553314208984375,
0.008744044229388237,
0.015168880112469196,
-0.05942189320921898,
0.018911851570010185,
0.03531644865870476,
-0.05039578303694725,
0.042981479316949844,
0.03365091606974602,
0.03678498417139053,
-0.009760377928614616,
0.026684334501624107,
0.00008555720705771819,
0.011184139177203178,
0.031179482117295265,
0.014953972771763802,
-0.051613591611385345,
0.056914642453193665,
-0.01648518815636635,
0.013583938591182232,
0.08295425772666931,
-0.0055204336531460285,
0.004889143165200949,
0.013216804713010788,
0.004181739874184132,
0.029173679649829865,
0.023371178656816483,
0.010763279162347317,
0.02903040684759617,
0.04040259122848511,
-0.047601986676454544,
0.026612699031829834,
0.038826603442430496,
0.010915504768490791,
0.011022958904504776,
-0.051792681217193604,
-0.02444571629166603,
0.009384289383888245,
0.011336364783346653,
0.02736487425863743,
0.009617106057703495,
0.02030874975025654,
-0.0644005835056305,
0.045238006860017776,
0.02055947482585907,
-0.013843618333339691,
-0.011981087736785412,
0.029478130862116814,
-0.007624735124409199,
-0.02278018370270729,
0.06311114132404327,
0.016386689618229866,
-0.06282459199428558,
-0.010414054617285728,
0.019861025735735893,
-0.02043411135673523,
-0.013163077645003796,
-0.009787240996956825,
0.0019845354836434126,
0.02240409515798092,
0.010100647807121277,
0.0172642283141613,
-0.0339016430079937,
-0.04914215952157974,
0.023800993338227272,
-0.023102544248104095,
0.034564271569252014,
0.03279128670692444,
0.015768829733133316,
-0.09828431904315948,
-0.031269025057554245,
0.02453526109457016,
0.04183530807495117,
0.025287436321377754,
0.004537680186331272,
-0.041011493653059006,
0.0524015873670578,
-0.027203693985939026,
0.025627706199884415,
-0.01017228327691555,
-0.029478130862116814,
0.030337760224938393,
0.01636878028512001,
0.055804286152124405,
-0.037035707384347916,
0.0016364302719011903,
-0.045667823404073715,
0.0628604143857956,
-0.07070453464984894,
-0.018410399556159973,
0.0006967700901441276,
-0.02120419591665268,
0.014327160082757473,
0.00014306172670330852,
0.02586052380502224,
-0.046742357313632965,
-0.03221819922327995,
-0.016127008944749832,
0.01510619930922985,
-0.03750133886933327,
-0.004759303294122219,
0.024212900549173355,
0.0320570208132267,
-0.02799168787896633,
-0.012885489501059055,
-0.005775636062026024,
-0.04004441201686859,
0.012124358676373959,
-0.03678498417139053,
-0.023030908778309822,
0.05573265254497528,
-0.015070381574332714,
0.004273523110896349,
0.009258926846086979,
0.017765678465366364,
0.013539166189730167,
-0.06862709671258926,
0.015822557732462883,
-0.011685589328408241,
0.022278733551502228,
0.006962104234844446,
-0.005345821380615234,
0.029173679649829865,
0.002981840167194605,
0.0005714074359275401,
0.02444571629166603,
-0.0208101999014616,
-0.021741464734077454,
0.06791073828935623,
0.017246318981051445,
0.03277337923645973,
-0.03547763079404831,
0.04638417810201645,
-0.014165978878736496,
0.03796697407960892,
-0.004889143165200949,
-0.03871914744377136,
-0.05014505982398987,
0.01837458275258541,
0.061105336993932724,
0.034009095281362534,
-0.027669327333569527,
-0.01421075128018856,
0.06662129610776901,
-0.024517351761460304,
-0.04294566065073013,
-0.015016654506325722,
0.06554675847291946,
-0.01812385767698288,
0.01481070090085268,
0.034850817173719406,
0.02675596997141838,
-0.055589377880096436,
-0.016628459095954895,
0.001785298460163176,
0.009446971118450165,
0.023478632792830467,
-0.009267881512641907,
-0.008045596070587635,
-0.05927862226963043,
-0.08245280385017395,
0.006868082098662853,
0.03277337923645973,
-0.011184139177203178,
-0.00916938204318285,
0.019502846524119377,
0.027454419061541557,
-0.01731795445084572,
0.03868333250284195,
-0.047458715736866,
-0.04380529001355171,
-0.021562375128269196,
-0.029693039134144783,
0.06787491589784622,
0.070274718105793,
-0.006693469826132059,
0.025233710184693336,
0.0241949912160635,
-0.04495146498084068,
-0.027597691863775253,
-0.007687416858971119,
0.008936566300690174,
-0.06357677280902863,
0.022045917809009552,
0.02068483643233776,
0.004058615770190954,
0.01413016114383936,
0.03678498417139053,
0.04616927355527878,
-0.03461800143122673,
-0.02222500741481781,
-0.0017976107774302363,
-0.04817507416009903,
0.01624341681599617,
-0.0028788635972887278,
0.03388373181223869,
-0.014058525674045086,
0.0499301515519619,
-0.025233710184693336,
-0.04856907203793526,
0.06522439420223236,
0.016019554808735847,
0.0026214225217700005,
0.01898348703980446,
-0.01750599779188633,
0.03388373181223869,
-0.0023930834140628576,
-0.027472328394651413,
0.02808123268187046,
0.052473220974206924,
-0.04971524327993393,
0.01775672286748886,
0.017622405663132668,
-0.034564271569252014,
-0.0366775281727314,
0.02209964394569397,
0.03406282141804695,
0.02012966014444828,
0.02854686602950096,
-0.03957878053188324,
-0.041441310197114944,
-0.00014131280477158725,
0.08710913360118866,
0.05533865466713905,
0.036229804158210754,
0.046527452766895294,
0.016968728974461555,
-0.009249972179532051,
-0.04681399464607239,
0.056234102696180344
] |
730,026 | mmengine.config.config | dump | Dump config to file or return config text.
Args:
file (str or Path, optional): If not specified, then the object
is dumped to a str, otherwise to a file specified by the filename.
Defaults to None.
Returns:
str or None: Config text.
| def dump(self, file: Optional[Union[str, Path]] = None):
"""Dump config to file or return config text.
Args:
file (str or Path, optional): If not specified, then the object
is dumped to a str, otherwise to a file specified by the filename.
Defaults to None.
Returns:
str or None: Config text.
"""
file = str(file) if isinstance(file, Path) else file
cfg_dict = self.to_dict()
if file is None:
if self.filename is None or self.filename.endswith('.py'):
return self.pretty_text
else:
file_format = self.filename.split('.')[-1]
return dump(cfg_dict, file_format=file_format)
elif file.endswith('.py'):
with open(file, 'w', encoding='utf-8') as f:
f.write(self.pretty_text)
else:
file_format = file.split('.')[-1]
return dump(cfg_dict, file=file, file_format=file_format)
| (self, file: Union[str, pathlib.Path, NoneType] = None) | [
0.013815508224070072,
-0.038235943764448166,
0.08127411454916,
-0.0012664974201470613,
0.020682334899902344,
-0.06559410691261292,
-0.030868884176015854,
-0.012678616680204868,
-0.028795193880796432,
-0.05940941348671913,
-0.05071446672081947,
-0.034561507403850555,
-0.03006851114332676,
0.013851888477802277,
0.035616543143987656,
0.03145097196102142,
-0.039836686104536057,
-0.03743556886911392,
0.020682334899902344,
0.023429064080119133,
0.05842714011669159,
-0.016216622665524483,
0.0004908529808744788,
0.03592577949166298,
0.015898292884230614,
0.007649007253348827,
-0.021209850907325745,
-0.005743577145040035,
-0.08032821863889694,
-0.018126601353287697,
-0.030887074768543243,
-0.04602137580513954,
0.05751762539148331,
-0.007185155525803566,
-0.01796288974583149,
-0.009813649579882622,
-0.005179678555577993,
0.03654424846172333,
-0.10324795544147491,
-0.06817711889743805,
0.005993693135678768,
0.04241970181465149,
0.001617796951904893,
0.011086967773735523,
-0.013078802265226841,
0.05151483789086342,
0.01738080009818077,
0.0673767477273941,
-0.060864634811878204,
-0.011796388775110245,
0.03819956257939339,
-0.007048728410154581,
-0.0879681333899498,
0.02084604650735855,
-0.038381464779376984,
0.015916483476758003,
0.01824483834207058,
-0.05588050186634064,
0.038818031549453735,
-0.02999575063586235,
-0.013915554620325565,
0.018390361219644547,
0.08745880424976349,
-0.05890008434653282,
-0.013606320135295391,
0.03288800269365311,
-0.06020978465676308,
-0.021737368777394295,
-0.020482240244746208,
0.022683262825012207,
0.06974148750305176,
-0.05369766801595688,
0.014261169359087944,
-0.011841864325106144,
0.04143742844462395,
-0.024447718635201454,
-0.01766274869441986,
0.03903631493449211,
-0.015352585352957249,
-0.036107681691646576,
-0.06519392132759094,
-0.00821745302528143,
0.021155280992388725,
-0.018645023927092552,
0.017599083483219147,
-0.07654464244842529,
0.03918183594942093,
0.0268306452780962,
-0.014197503216564655,
-0.017971985042095184,
0.031887538731098175,
0.018590454012155533,
-0.013360751792788506,
0.05129655450582504,
-0.030705170705914497,
-0.03841784596443176,
0.021682798862457275,
-0.011823673732578754,
-0.028231294825673103,
0.005088727455586195,
-0.05951855331659317,
-0.009640841744840145,
-0.032960765063762665,
-0.01988196186721325,
0.006575781852006912,
-0.03499807417392731,
-0.010068313218653202,
0.06181052699685097,
-0.05562583729624748,
0.009231560863554478,
-0.057117439806461334,
-0.03863612934947014,
0.006612162105739117,
-0.015116112306714058,
0.09873677045106888,
-0.023338112980127335,
-0.05839075893163681,
0.014552214182913303,
0.021628227084875107,
-0.012905994430184364,
-0.052169688045978546,
0.014543118886649609,
0.0001536224881419912,
0.004074620082974434,
-0.008167429827153683,
-0.02945004217326641,
-0.02308344841003418,
-0.034634269773960114,
0.014834162779152393,
-0.021209850907325745,
0.03314266726374626,
0.0013813234400004148,
0.002373829949647188,
0.0013290264178067446,
0.08083754777908325,
-0.004834063351154327,
-0.03203305974602699,
0.02681245468556881,
0.011659961193799973,
0.10288415104150772,
0.051260173320770264,
-0.049550287425518036,
-0.029195379465818405,
-0.02042767032980919,
0.015188872814178467,
-0.05307919904589653,
-0.016580428928136826,
-0.021610038354992867,
-0.0387088879942894,
0.05638982728123665,
0.03385208919644356,
-0.018081124871969223,
-0.060282547026872635,
-0.02684883400797844,
0.020136626437306404,
-0.018126601353287697,
-0.008031003177165985,
0.04762211814522743,
-0.014470357447862625,
-0.036235012114048004,
-0.04674898833036423,
0.028722431510686874,
0.060355305671691895,
-0.009495319798588753,
-0.022101175040006638,
0.002651231363415718,
-0.014715926721692085,
-0.005602602381259203,
0.06875921040773392,
-0.035689305514097214,
-0.05784504860639572,
-0.08243829011917114,
-0.10113788396120071,
0.07538046687841415,
-0.025520944967865944,
0.0015336668584495783,
-0.005643530283123255,
0.008344785310328007,
-0.04176485538482666,
-0.015116112306714058,
-0.004943205043673515,
-0.04285626858472824,
0.02999575063586235,
0.02100975811481476,
0.04278350993990898,
0.001599606592208147,
0.01826302893459797,
0.018481312319636345,
0.015680011361837387,
0.03769023343920708,
0.057081058621406555,
-0.01526163425296545,
0.005829980596899986,
-0.011860053986310959,
0.03658062592148781,
-0.09953714162111282,
0.0068395403213799,
-0.034543316811323166,
0.06624895334243774,
-0.04358388110995293,
0.02250136062502861,
-0.029704706743359566,
0.006325665395706892,
0.005420699715614319,
0.02835862711071968,
0.003287890926003456,
0.0355437807738781,
-0.042637985199689865,
0.03743556886911392,
0.046421561390161514,
0.003999584820121527,
-0.060864634811878204,
-0.03636234626173973,
-0.030832502990961075,
0.048968199640512466,
-0.022792404517531395,
0.030868884176015854,
0.04678536579012871,
-0.11081510782241821,
0.07821814715862274,
0.04562119022011757,
0.043656643480062485,
0.02464781142771244,
0.05082360655069351,
-0.007976432330906391,
0.00922701321542263,
0.0160074345767498,
-0.014470357447862625,
0.029068047180771828,
0.010068313218653202,
0.05726296082139015,
-0.04016410931944847,
-0.03583482652902603,
0.01524344366043806,
0.026557790115475655,
0.0050978222861886024,
-0.06162862479686737,
-0.040418773889541626,
-0.014670450240373611,
-0.0007281791185960174,
0.011805483140051365,
-0.024793334305286407,
0.00003684239709400572,
0.027212640270590782,
0.029359091073274612,
-0.03867250680923462,
-0.047367457300424576,
-0.016780521720647812,
0.041619330644607544,
0.038781650364398956,
0.10215654224157333,
-0.009813649579882622,
-0.03470702841877937,
0.0320148691534996,
-0.022519551217556,
-0.012523999437689781,
0.0042929030023515224,
-0.03627139329910278,
0.023192590102553368,
0.04492995887994766,
0.0018349431920796633,
0.0069441343657672405,
0.011823673732578754,
-0.021700989454984665,
0.05140569433569908,
-0.012478522956371307,
-0.05984598025679588,
-0.062465377151966095,
0.007862742990255356,
0.011905529536306858,
0.014024696312844753,
0.05849989876151085,
0.002128261374309659,
0.024938857182860374,
-0.031905729323625565,
-0.04554842785000801,
0.0084448317065835,
-0.028758812695741653,
0.05144207552075386,
-0.012678616680204868,
0.0008714274736121297,
-0.030905263498425484,
0.06406611949205399,
-0.020555002614855766,
0.05475270375609398,
0.006975967437028885,
-0.07843643426895142,
-0.03232410550117493,
0.03228772431612015,
0.02466600202023983,
0.03632596507668495,
0.008813184686005116,
-0.009313416667282581,
0.013051516376435757,
0.039400119334459305,
-0.017371704801917076,
-0.014270264655351639,
-0.03732642903923988,
0.02422943525016308,
-0.06883197277784348,
0.022410409525036812,
-0.06231985613703728,
0.054388899356126785,
0.04831334948539734,
-0.016534952446818352,
0.06570324301719666,
-0.04354749992489815,
-0.018072031438350677,
0.027740158140659332,
0.01711704209446907,
-0.003849515225738287,
-0.03663519769906998,
0.05107827112078667,
0.0612284392118454,
0.0060528116300702095,
0.012214764952659607,
-0.029122618958353996,
-0.09000544250011444,
0.04300179332494736,
-0.02524809166789055,
-0.048495251685380936,
0.0459122359752655,
-0.023992963135242462,
0.006093739531934261,
0.07567150890827179,
-0.04565757140517235,
0.03314266726374626,
0.00007837446901248768,
0.025848370045423508,
0.019117971882224083,
0.0006048263749107718,
0.0314873531460762,
0.015298014506697655,
0.015707295387983322,
-0.004558935761451721,
-0.0056799110025167465,
0.02419305592775345,
0.016735045239329338,
-0.013433512300252914,
-0.008826827630400658,
0.0753077045083046,
0.018162982538342476,
0.002403388964012265,
-0.054425280541181564,
-0.023756489157676697,
0.05373404920101166,
-0.0031219045631587505,
-0.0214645154774189,
-0.016389431431889534,
0.05835437774658203,
-0.012578570283949375,
0.0017928782617673278,
0.03650786727666855,
0.012733187526464462,
-0.03652605786919594,
-0.026539599522948265,
0.004254248924553394,
0.03849060460925102,
-0.025575516745448112,
-0.004549840465188026,
0.007844552397727966,
0.00920882262289524,
-0.005447985138744116,
0.04227418079972267,
0.05897284671664238,
0.04016410931944847,
-0.028595101088285446,
0.025411803275346756,
0.03594397008419037,
-0.02086423709988594,
-0.002428400795906782,
-0.015943769365549088,
0.05256987363100052,
-0.06872282922267914,
0.003781301900744438,
0.04034601151943207,
-0.03174201771616936,
0.036707960069179535,
0.013560844585299492,
-0.02410210482776165,
0.050095997750759125,
0.03203305974602699,
0.03263333812355995,
-0.011650865897536278,
-0.00789002887904644,
0.005106917582452297,
0.007558056153357029,
-0.014106552116572857,
0.000005617843726213323,
-0.03743556886911392,
-0.005834528245031834,
0.0473310761153698,
-0.04565757140517235,
0.04776764288544655,
-0.033524662256240845,
0.02088242769241333,
0.0017110219923779368,
0.033415522426366806,
-0.025975702330470085,
0.05617154389619827,
0.006020978558808565,
-0.060391686856746674,
0.005739029496908188,
-0.013579034246504307,
-0.010277501307427883,
0.04711279273033142,
0.0001448115799576044,
0.02673969231545925,
0.01128706056624651,
0.056608110666275024,
0.04332921653985977,
-0.011450773105025291,
-0.021046139299869537,
-0.022774213925004005,
0.045039102435112,
-0.023429064080119133,
-0.031378209590911865,
0.03252419829368591,
0.0136336050927639,
-0.07850919663906097,
-0.010341167449951172,
0.02952280454337597,
-0.02248317003250122,
0.01590738818049431,
0.04089172184467316,
-0.042055897414684296,
-0.006703113671392202,
-0.019099781289696693,
0.02733997255563736,
-0.0005152961821295321,
-0.02302887849509716,
-0.024520481005311012,
0.04922286421060562,
0.0007173786871135235,
0.062428995966911316,
-0.04234694316983223,
-0.0001701074215816334,
-0.04220141842961311,
0.011732722632586956,
-0.003931371495127678,
0.00857671070843935,
-0.04245608299970627,
-0.016707761213183403,
0.004779492970556021,
-0.02675788290798664,
0.025029808282852173,
-0.041983138769865036,
-0.011123348027467728,
0.03910907357931137,
0.024993427097797394,
-0.01741718128323555,
-0.011105158366262913,
0.02408391423523426,
-0.04543928802013397,
-0.01743537187576294,
-0.041510190814733505,
0.03106897696852684,
-0.02248317003250122,
0.004229237325489521,
0.0622834749519825,
-0.009968266822397709,
0.010741353034973145,
0.045221004635095596,
0.009768174029886723,
0.0016928317490965128,
-0.03063241019845009,
-0.017217088490724564,
0.10470318049192429,
-0.01524344366043806,
-0.034088559448719025,
0.00043287151493132114,
0.04489358142018318,
-0.08323866128921509,
0.07374334335327148,
-0.0038449678104370832,
0.04405682906508446,
-0.025921130552887917,
0.0038972648326307535,
-0.053333863615989685,
-0.03316085785627365,
-0.02417486533522606,
-0.013588129542768002,
-0.043729402124881744,
0.01264223549515009,
0.01824483834207058,
-0.035052645951509476,
0.045839473605155945,
-0.001124385860748589,
-0.016689570620656013,
0.02903166599571705,
-0.004213320557028055,
0.000740116520319134,
-0.054425280541181564,
-0.05304281786084175,
-0.05642620846629143,
0.04918648302555084,
-0.030941644683480263,
0.037217285484075546,
-0.030232224613428116,
-0.014270264655351639,
0.005161488428711891,
0.013806412927806377,
0.002038446720689535,
0.028031202033162117,
-0.021118899807333946,
-0.004172392655164003,
-0.03063241019845009,
0.07243364304304123,
0.021246232092380524,
0.013870079070329666,
0.011232489719986916,
-0.020700523629784584,
-0.028722431510686874,
0.03370656445622444,
-0.004738564603030682,
-0.007794529665261507,
-0.03719909489154816,
-0.02026395872235298,
0.010304786264896393,
-0.022810595110058784,
-0.06286556273698807,
0.004915919620543718,
-0.0003501626488287002,
0.05853627994656563,
-0.015088826417922974,
0.0021077971905469894,
0.01850859634578228,
-0.010322976857423782,
-0.05133293569087982,
0.03947288170456886,
0.036653388291597366,
0.006116477306932211,
-0.0031014406122267246,
-0.02732178196310997,
-0.031178118661046028,
0.0515512190759182,
-0.021337183192372322,
0.06275641918182373,
-0.07046909630298615,
-0.007048728410154581,
0.04729469493031502,
-0.021646417677402496,
0.017599083483219147,
-0.024393148720264435,
-0.017499037086963654,
-0.07567150890827179,
0.010150169022381306,
-0.01639852672815323,
0.04882267862558365,
-0.0000817851469037123,
0.020809665322303772,
-0.02255593240261078,
0.06377507746219635,
0.04143742844462395,
0.020518621429800987,
-0.014242979697883129,
0.036180440336465836,
0.01984558254480362,
0.029158998280763626,
-0.012587664648890495,
-0.06355679780244827,
0.04623965919017792,
-0.009113323874771595,
0.045039102435112,
0.00967722199857235,
0.010977826081216335,
0.005725386552512646,
0.013542653992772102,
0.0031605588737875223,
-0.010513974353671074,
0.02362915687263012,
0.002862693276256323,
0.02193746156990528,
0.006603067275136709,
-0.0102047398686409,
0.03907269611954689,
0.048568014055490494,
0.12514904141426086,
-0.0028558720368891954,
-0.014615879394114017,
-0.05304281786084175,
0.0060800970532000065,
0.02675788290798664,
0.01928168348968029,
-0.04285626858472824,
0.01822664774954319,
0.028631480410695076,
-0.04241970181465149,
-0.04620327800512314,
0.008126501925289631,
0.015661820769309998,
0.004943205043673515,
0.013060611672699451,
-0.026976166293025017,
0.03692624345421791,
-0.02206479385495186,
-0.011041492223739624,
-0.01973644085228443,
0.07661740481853485,
0.02093699760735035,
-0.025557326152920723,
-0.03005032241344452,
0.015634534880518913,
0.026485029608011246,
0.008995086885988712,
0.0578814297914505,
0.007403438910841942,
0.030959835276007652,
0.008935968391597271,
0.01822664774954319,
-0.036817099899053574,
0.001672367681749165,
0.01660771481692791,
-0.051769502460956573,
-0.012760472483932972,
-0.025902939960360527,
0.043110933154821396,
0.014188408851623535,
-0.03477979078888893,
-0.04172847419977188,
0.023174401372671127,
0.06588514894247055,
-0.010886874981224537,
0.03197849169373512,
-0.028103962540626526,
0.048058684915304184,
-0.04991409182548523,
-0.004756754729896784,
-0.014797782525420189,
-0.0257756095379591,
0.013569939881563187,
-0.011650865897536278,
-0.01500697061419487,
0.011941910721361637,
-0.06337489187717438,
-0.04933200404047966,
0.027594635263085365,
-0.005116012878715992,
-0.02039128914475441,
-0.01045940350741148,
0.03696262463927269,
-0.022737834602594376,
0.03210582211613655,
-0.010350261814892292,
-0.011659961193799973,
0.05478908494114876,
-0.027212640270590782,
-0.027758348733186722,
0.041510190814733505,
-0.0671948492527008,
-0.010541260242462158,
-0.029268139973282814,
-0.033433713018894196,
-0.016453096643090248,
0.05235159024596214,
-0.008226548321545124,
0.06213795393705368,
0.05256987363100052,
-0.02737635187804699,
-0.0065121157094836235,
-0.02311982959508896,
0.019627299159765244,
-0.030832502990961075,
-0.04463891685009003,
0.003501626430079341,
0.006093739531934261,
-0.04005496948957443,
0.02888614498078823,
0.007276107091456652,
0.0057344818487763405,
0.01743537187576294,
0.011196109466254711,
-0.016162052750587463,
0.00804009847342968,
0.009977361187338829,
-0.037799376994371414,
-0.037799376994371414,
-0.0007480747299268842,
-0.007126037031412125,
-0.0652666762471199,
0.028267676010727882,
0.007480747532099485,
-0.025302661582827568,
-0.029777467250823975,
-0.016462191939353943,
0.03146916255354881,
-0.0056799110025167465,
0.03685348108410835,
-0.005657173227518797,
0.024302197620272636,
-0.0833841860294342,
0.00043173463200218976,
-0.056535352021455765,
0.00914060976356268,
0.0738888680934906,
0.027758348733186722,
0.08112858980894089,
-0.03174201771616936,
0.005175130907446146,
-0.02788567915558815,
-0.026921596378087997,
-0.05722657963633537,
0.04889543727040291,
0.03226953372359276,
-0.002585291862487793,
-0.03321542963385582,
0.05071446672081947,
-0.004120095632970333,
-0.006339308340102434,
-0.005338843446224928,
-0.01841764524579048,
0.10637668520212173,
0.03006851114332676,
-0.013433512300252914,
-0.008522139862179756,
-0.02422943525016308,
-0.0350162647664547,
-0.02886795438826084,
-0.02255593240261078,
-0.014406691305339336,
-0.07763606309890747,
0.03732642903923988,
-0.02406572364270687,
-0.07545322924852371,
0.08331142365932465,
0.057699527591466904,
-0.03698081523180008,
-0.03710814565420151,
-0.00641206931322813,
0.020736904814839363,
-0.037290047854185104,
0.0020066138822585344,
0.013979220762848854,
0.010577640496194363,
0.011041492223739624,
0.04391130432486534,
-0.021337183192372322,
-0.018863307312130928,
0.0020248042419552803,
0.001452947617508471,
-0.010996016673743725,
0.038818031549453735,
-0.010377547703683376,
-0.00013358477735891938,
-0.006343855522572994,
-0.02617579512298107,
0.04201951622962952,
0.06279280036687851,
-0.03719909489154816,
0.04460253566503525,
-0.036216821521520615,
0.029741087928414345,
-0.001938400324434042,
0.05908198654651642,
0.010777733288705349,
-0.008362974971532822,
0.022719644010066986,
-0.0397639237344265,
0.04012772813439369,
-0.04969581216573715,
-0.04813144728541374,
-0.020118435844779015,
0.04394768550992012,
0.01977282017469406,
0.05246073007583618,
0.013178848661482334,
-0.046421561390161514,
0.009136062115430832
] |
730,027 | mmengine.config.config | fromfile | Build a Config instance from config file.
Args:
filename (str or Path): Name of config file.
use_predefined_variables (bool, optional): Whether to use
predefined variables. Defaults to True.
import_custom_modules (bool, optional): Whether to support
importing custom modules in config. Defaults to None.
use_environment_variables (bool, optional): Whether to use
environment variables. Defaults to True.
lazy_import (bool): Whether to load config in `lazy_import` mode.
If it is `None`, it will be deduced by the content of the
config file. Defaults to None.
format_python_code (bool): Whether to format Python code by yapf.
Defaults to True.
Returns:
Config: Config instance built from config file.
| @staticmethod
def fromfile(filename: Union[str, Path],
use_predefined_variables: bool = True,
import_custom_modules: bool = True,
use_environment_variables: bool = True,
lazy_import: Optional[bool] = None,
format_python_code: bool = True) -> 'Config':
"""Build a Config instance from config file.
Args:
filename (str or Path): Name of config file.
use_predefined_variables (bool, optional): Whether to use
predefined variables. Defaults to True.
import_custom_modules (bool, optional): Whether to support
importing custom modules in config. Defaults to None.
use_environment_variables (bool, optional): Whether to use
environment variables. Defaults to True.
lazy_import (bool): Whether to load config in `lazy_import` mode.
If it is `None`, it will be deduced by the content of the
config file. Defaults to None.
format_python_code (bool): Whether to format Python code by yapf.
Defaults to True.
Returns:
Config: Config instance built from config file.
"""
filename = str(filename) if isinstance(filename, Path) else filename
if lazy_import is False or \
lazy_import is None and not Config._is_lazy_import(filename):
cfg_dict, cfg_text, env_variables = Config._file2dict(
filename, use_predefined_variables, use_environment_variables,
lazy_import)
if import_custom_modules and cfg_dict.get('custom_imports', None):
try:
import_modules_from_strings(**cfg_dict['custom_imports'])
except ImportError as e:
err_msg = (
'Failed to import custom modules from '
f"{cfg_dict['custom_imports']}, the current sys.path "
'is: ')
for p in sys.path:
err_msg += f'\n {p}'
err_msg += (
'\nYou should set `PYTHONPATH` to make `sys.path` '
'include the directory which contains your custom '
'module')
raise ImportError(err_msg) from e
return Config(
cfg_dict,
cfg_text=cfg_text,
filename=filename,
env_variables=env_variables,
)
else:
# Enable lazy import when parsing the config.
# Using try-except to make sure ``ConfigDict.lazy`` will be reset
# to False. See more details about lazy in the docstring of
# ConfigDict
ConfigDict.lazy = True
try:
cfg_dict, imported_names = Config._parse_lazy_import(filename)
except Exception as e:
raise e
finally:
# disable lazy import to get the real type. See more details
# about lazy in the docstring of ConfigDict
ConfigDict.lazy = False
cfg = Config(
cfg_dict,
filename=filename,
format_python_code=format_python_code)
object.__setattr__(cfg, '_imported_names', imported_names)
return cfg
| (filename: Union[str, pathlib.Path], use_predefined_variables: bool = True, import_custom_modules: bool = True, use_environment_variables: bool = True, lazy_import: Optional[bool] = None, format_python_code: bool = True) -> mmengine.config.config.Config | [
0.04219772294163704,
-0.04962852597236633,
0.019905313849449158,
-0.021137364208698273,
-0.02710510790348053,
0.003017560811713338,
-0.011656351387500763,
0.04801146313548088,
-0.012667017057538033,
-0.047934457659721375,
-0.0004764569748658687,
-0.03992613032460213,
-0.002211434068158269,
0.04308326169848442,
0.000060835493059130386,
0.013254166580736637,
0.018885022029280663,
0.04196671396493912,
0.008682104758918285,
-0.02025182731449604,
0.028356408700346947,
-0.021079611033201218,
0.00538059463724494,
0.06622270494699478,
0.045816872268915176,
0.006911032367497683,
0.0256997998803854,
-0.0015881898580119014,
-0.033900633454322815,
-0.07754217088222504,
0.009548390284180641,
-0.0057944864965975285,
0.029934972524642944,
0.06845579296350479,
0.035729460418224335,
-0.06310407817363739,
0.014592096209526062,
0.05771385878324509,
-0.09140273183584213,
-0.027047354727983475,
0.037654537707567215,
-0.01532362587749958,
0.09224976599216461,
-0.021041110157966614,
-0.005703045520931482,
0.05012904852628708,
-0.06452863663434982,
0.04443081468343735,
-0.04466182366013527,
-0.018721390515565872,
0.06379710882902145,
-0.03877108544111252,
-0.004360303282737732,
0.08593551069498062,
-0.004408430308103561,
0.026007812470197678,
0.008946803398430347,
0.022196156904101372,
0.05763685330748558,
0.014746102504432201,
-0.0101836659014225,
0.00219098012894392,
0.017306456342339516,
-0.02454475313425064,
-0.014158952981233597,
-0.00032154828659258783,
-0.06356609612703323,
-0.004779007751494646,
-0.028760675340890884,
0.0003353848005644977,
-0.0012115964200347662,
-0.008528098464012146,
0.035941217094659805,
-0.05012904852628708,
0.057906366884708405,
-0.028953183442354202,
-0.07199794054031372,
-0.004567249212414026,
0.0198283102363348,
-0.013138662092387676,
-0.04381478950381279,
0.0043530841358006,
-0.044507820159196854,
-0.012359004467725754,
0.011069201864302158,
-0.01971280574798584,
0.05132259801030159,
0.01520812138915062,
0.056173793971538544,
0.03160979226231575,
-0.011175081133842468,
0.033785130828619,
0.0007694298983551562,
0.03879033401608467,
0.03505568206310272,
-0.056173793971538544,
0.06475964933633804,
0.008123831823468208,
0.018952399492263794,
0.011300211772322655,
-0.008605101145803928,
-0.08732156455516815,
-0.019732056185603142,
-0.01215687207877636,
-0.015025238506495953,
-0.009095996618270874,
-0.000042411887989146635,
0.053209174424409866,
-0.0026301387697458267,
-0.047626446932554245,
-0.0824703723192215,
-0.08069929480552673,
-0.018711764365434647,
-0.02496827021241188,
0.028317905962467194,
-0.031013017520308495,
0.022581173107028008,
0.010510929860174656,
0.030300738289952278,
0.013292668387293816,
-0.043121762573719025,
0.03261083364486694,
-0.007618498522788286,
0.027509374544024467,
0.0674547553062439,
-0.020617593079805374,
0.009269253350794315,
-0.06449013203382492,
0.06733924895524979,
-0.04493133723735809,
0.07769617438316345,
0.04038814827799797,
-0.02849116362631321,
-0.030589500442147255,
-0.007984263822436333,
-0.04662540555000305,
0.005866677034646273,
0.05274715647101402,
-0.01200286578387022,
0.044507820159196854,
0.08170033991336823,
-0.005178461782634258,
0.016834812238812447,
-0.022099902853369713,
-0.017585594207048416,
-0.044623322784900665,
0.01076118927448988,
-0.009548390284180641,
-0.07296048104763031,
0.05686682462692261,
0.010953697375953197,
-0.023081693798303604,
-0.07511656731367111,
0.05163060873746872,
0.013080909848213196,
-0.040118638426065445,
-0.012445633299648762,
0.022350162267684937,
-0.010626434348523617,
-0.04346827417612076,
-0.033900633454322815,
0.00519771222025156,
0.03559470549225807,
-0.016796311363577843,
-0.01301353145390749,
0.005308404564857483,
0.0019828309305012226,
-0.06252655386924744,
0.017585594207048416,
-0.011232834309339523,
-0.0032196941319853067,
-0.036364734172821045,
-0.013687308877706528,
0.04905100539326668,
0.031648293137550354,
-0.024583254009485245,
0.021021859720349312,
-0.014014572836458683,
0.014659473672509193,
-0.03343861550092697,
-0.01473647728562355,
0.01623803749680519,
-0.02206140197813511,
-0.007912073284387589,
0.037134766578674316,
0.09240377694368362,
0.0014257613802328706,
0.05455672740936279,
0.025545794516801834,
0.00728642288595438,
0.006516391411423683,
0.011098078452050686,
0.03289959579706192,
0.015304375439882278,
-0.0037298398092389107,
-0.038944341242313385,
-0.06710824370384216,
0.020964106544852257,
0.015968527644872665,
0.0610634945333004,
-0.00934144388884306,
0.02281218208372593,
0.018413377925753593,
0.00908155832439661,
0.003845344530418515,
0.00039373873732984066,
-0.0067762769758701324,
-0.000802517170086503,
-0.05109158903360367,
0.013206039555370808,
-0.03499792888760567,
-0.07222895324230194,
0.0009324599523097277,
0.014322585426270962,
0.02743237093091011,
-0.035825714468955994,
0.05702082812786102,
0.08008327335119247,
-0.0847034603357315,
0.00802757777273655,
0.11011449992656708,
0.09032469242811203,
0.034016139805316925,
0.0011803138768300414,
0.07011136412620544,
-0.015737518668174744,
-0.027393870055675507,
0.02614256739616394,
0.014341835863888264,
0.009635018184781075,
0.021137364208698273,
-0.021137364208698273,
-0.009654269553720951,
-0.02858741767704487,
0.07696464657783508,
-0.010530180297791958,
0.052862659096717834,
-0.0020754754077643156,
-0.04470032453536987,
0.06414362043142319,
0.038848087191581726,
0.02390947751700878,
-0.015333251096308231,
-0.043545279651880264,
-0.031013017520308495,
-0.008619539439678192,
-0.01832674816250801,
0.003205255838111043,
-0.04801146313548088,
0.023928727954626083,
0.03513268381357193,
0.03130177780985832,
0.0004884887021034956,
0.08647453039884567,
-0.06010095402598381,
0.02025182731449604,
0.02175338938832283,
-0.06945683807134628,
0.030358489602804184,
-0.00592442974448204,
0.011906611733138561,
-0.02583455480635166,
0.01547763217240572,
0.031013017520308495,
0.020425084978342056,
-0.022523419931530952,
0.005029268097132444,
-0.037134766578674316,
0.018249746412038803,
-0.003607116173952818,
0.06876380741596222,
0.05933092534542084,
0.022099902853369713,
-0.0019094373565167189,
-0.0364224873483181,
0.0028563353698700666,
0.041928213089704514,
-0.04939751699566841,
0.044315312057733536,
0.030589500442147255,
0.01520812138915062,
-0.0342664010822773,
0.020386582240462303,
0.03313060477375984,
0.0342664010822773,
0.00429533189162612,
-0.09055569767951965,
0.01312903594225645,
0.030069729313254356,
0.018413377925753593,
0.021464627236127853,
-0.04239023104310036,
0.05151510611176491,
-0.01033767219632864,
0.06341209262609482,
-0.04027264565229416,
-0.05024455115199089,
-0.0198090597987175,
-0.001923875417560339,
-0.07095839828252792,
-0.017806977033615112,
-0.01290765218436718,
0.02389022521674633,
0.020733097568154335,
0.0406961627304554,
-0.06013945862650871,
0.01589152403175831,
-0.0642206221818924,
-0.03276483714580536,
0.020521339029073715,
0.02398647926747799,
0.005587540566921234,
0.030242985114455223,
-0.030897513031959534,
0.0001750618393998593,
-0.030936013907194138,
0.008609914220869541,
-0.006492327898740768,
0.03919460251927376,
-0.021830391138792038,
-0.04304475709795952,
0.00653082923963666,
-0.023293452337384224,
0.001736180274747312,
0.043545279651880264,
-0.026931850239634514,
0.02731686644256115,
0.009076746180653572,
0.01773959957063198,
0.012705518864095211,
-0.029318947345018387,
0.02229241095483303,
-0.007647375110536814,
0.027701882645487785,
0.032071810215711594,
-0.05859939381480217,
-0.021888144314289093,
-0.01499636285007,
0.0029886846896260977,
-0.07272946834564209,
0.02818315103650093,
-0.011791106313467026,
-0.042159222066402435,
-0.02593080885708332,
-0.04554736241698265,
-0.022523419931530952,
0.006781089585274458,
0.00012964200868736953,
0.033496368676424026,
0.03341936692595482,
0.030146731063723564,
0.011415716260671616,
0.004021008033305407,
0.03189855441451073,
0.019298912957310677,
-0.04639439657330513,
-0.032302819192409515,
0.005813737399876118,
0.02144537679851055,
-0.004297737963497639,
0.0015412661014124751,
-0.02529553323984146,
-0.01023179292678833,
0.02743237093091011,
0.006771464366465807,
0.014312959276139736,
-0.03811655566096306,
-0.0099141551181674,
0.01291727740317583,
-0.01263814140111208,
-0.028876179829239845,
-0.004742912482470274,
0.0246410071849823,
-0.06460563838481903,
0.044392313808202744,
0.011925862170755863,
-0.03917535021901131,
0.01001040916889906,
-0.0418127067387104,
0.0578678622841835,
0.07211344689130783,
0.04000313580036163,
-0.021175865083932877,
0.009894904680550098,
-0.0026108878664672375,
-0.026970351114869118,
0.012291627004742622,
-0.04327576979994774,
-0.028337158262729645,
-0.036903757601976395,
-0.007955387234687805,
0.009278879500925541,
-0.013148287311196327,
0.056173793971538544,
-0.0022499356418848038,
-0.045816872268915176,
-0.0578678622841835,
0.06391260772943497,
0.04158169776201248,
0.027355367317795753,
0.021907394751906395,
-0.017094697803258896,
0.04427680745720863,
0.004764569457620382,
-0.03247607499361038,
0.022253910079598427,
0.04735693335533142,
0.03811655566096306,
-0.04358378052711487,
0.0889386311173439,
0.04905100539326668,
0.033265359699726105,
-0.053940702229738235,
-0.028471913188695908,
-0.037134766578674316,
0.02367846667766571,
-0.0179513581097126,
0.01210874505341053,
0.025218529626727104,
-0.0406961627304554,
-0.018596259877085686,
-0.020694594830274582,
-0.004288112744688988,
-0.02666233852505684,
0.025969311594963074,
0.03494017571210861,
-0.039579618722200394,
0.036903757601976395,
-0.041389189660549164,
0.01467872504144907,
-0.045046839863061905,
-0.010905570350587368,
-0.010539805516600609,
-0.013417798094451427,
0.04038814827799797,
-0.06945683807134628,
0.014168579131364822,
-0.05240064114332199,
0.022561920806765556,
-0.05771385878324509,
-0.001310256659053266,
0.021907394751906395,
0.05428721755743027,
0.00037298398092389107,
-0.07245995849370956,
0.007252733688801527,
-0.0835484117269516,
0.03149428591132164,
0.03771229088306427,
0.00036486255703493953,
-0.05301666632294655,
0.024583254009485245,
0.005698232911527157,
0.0063960738480091095,
-0.006415324751287699,
-0.04073466360569,
0.034227896481752396,
-0.011723728850483894,
0.003888658946380019,
0.023524461314082146,
0.0008686917135491967,
-0.006150626111775637,
0.02539178729057312,
-0.03984912857413292,
0.05663581192493439,
-0.026181070134043694,
0.03902134299278259,
0.04027264565229416,
-0.004244798328727484,
0.0027817387599498034,
0.008913113735616207,
-0.05378669872879982,
-0.04127368703484535,
0.04369928687810898,
0.00949063804000616,
0.015708642080426216,
0.03295734524726868,
0.039464112371206284,
-0.0005396236083470285,
-0.04127368703484535,
0.02602706290781498,
-0.0009210298303514719,
-0.056943826377391815,
-0.010222167707979679,
0.0600239522755146,
-0.06814778596162796,
0.10087411850690842,
-0.012821023352444172,
-0.028414160013198853,
-0.0037154017481952906,
-0.0072575462982058525,
0.01806686259806156,
0.007339362520724535,
-0.030820509418845177,
-0.04296775534749031,
-0.009726460091769695,
0.0396566204726696,
0.031648293137550354,
0.06845579296350479,
-0.04754944145679474,
-0.01049167849123478,
0.001011869520880282,
-0.048588983714580536,
-0.01007778663188219,
0.030262235552072525,
0.02473726123571396,
-0.0021296183113008738,
0.04508534073829651,
-0.02358221262693405,
-0.005553851835429668,
-0.037250272929668427,
-0.0070602260529994965,
0.01567976549267769,
-0.01515999436378479,
0.045701365917921066,
0.010405049659311771,
-0.010539805516600609,
0.05605829134583473,
-0.027509374544024467,
-0.006694461219012737,
-0.0019888468086719513,
-0.021079611033201218,
0.02431374415755272,
0.03436265513300896,
-0.053093668073415756,
0.03867483139038086,
0.05767535790801048,
-0.0036769001744687557,
0.01028954517096281,
0.06730075180530548,
0.05101458355784416,
-0.022138403728604317,
-0.010039284825325012,
0.0001376882428303361,
0.016623053699731827,
0.007161292713135481,
-0.024255990982055664,
0.056173793971538544,
-0.028337158262729645,
-0.03748128190636635,
0.03778929263353348,
0.007401927374303341,
0.02904943749308586,
0.02752862498164177,
-0.04577837139368057,
-0.015448756515979767,
0.008412593975663185,
0.006829216610640287,
0.01950104720890522,
-0.031956303864717484,
0.030608750879764557,
-0.021580131724476814,
0.06564518064260483,
0.023158695548772812,
0.06252655386924744,
-0.09009367972612381,
0.04327576979994774,
-0.045816872268915176,
-0.015063740313053131,
-0.014284083619713783,
-0.035305943340063095,
0.06991885602474213,
-0.04866598919034004,
-0.005659731104969978,
-0.03771229088306427,
0.008739857003092766,
-0.034420404583215714,
-0.012792147696018219,
-0.01328304223716259,
-0.02475651167333126,
0.016651930287480354,
-0.015410254709422588,
0.03794329985976219,
-0.009712021797895432,
-0.031552039086818695,
0.07977525889873505,
0.014967486262321472,
-0.006285381969064474,
0.027682630345225334,
0.005144772585481405,
-0.013427423313260078,
-0.005087020341306925,
0.03332311287522316,
-0.02454475313425064,
-0.04277524724602699,
-0.046317391097545624,
0.02839490957558155,
0.02346670813858509,
0.029415201395750046,
0.008605101145803928,
-0.01280177291482687,
0.00854253675788641,
0.04885849729180336,
-0.002207824494689703,
-0.012599639594554901,
0.007445241790264845,
-0.011107703670859337,
0.034651417285203934,
0.061872027814388275,
-0.009355882182717323,
-0.07322999089956284,
-0.022465668618679047,
-0.0013198819942772388,
-0.007811006624251604,
-0.01579526998102665,
0.0004238180990796536,
0.04908950626850128,
-0.06911032646894455,
-0.031109271571040154,
0.0326685830950737,
0.006458638701587915,
-0.013302293606102467,
0.013629556633532047,
-0.028144650161266327,
0.026951100677251816,
-0.00246410071849823,
0.0016254882793873549,
-0.014592096209526062,
0.009625392965972424,
-0.11311762034893036,
-0.01783585362136364,
0.041504696011543274,
-0.013465925119817257,
0.0380588062107563,
-0.03505568206310272,
0.028433412313461304,
-0.007320111617445946,
-0.04092717170715332,
-0.04797295853495598,
0.04693341627717018,
0.042274728417396545,
0.006785902194678783,
0.009206688962876797,
-0.030185233801603317,
-0.05767535790801048,
-0.04839647561311722,
0.07688764482736588,
0.018827268853783607,
0.01060718297958374,
0.0009649456478655338,
0.021714886650443077,
-0.07569409161806107,
-0.04158169776201248,
-0.00048728552064858377,
-0.046548400074243546,
-0.01905827783048153,
-0.025468790903687477,
-0.051900118589401245,
0.07777317613363266,
-0.02208065241575241,
0.0019539548084139824,
-0.038501571863889694,
-0.04038814827799797,
0.006607832387089729,
-0.03542144596576691,
-0.01483273133635521,
-0.003554176539182663,
0.018692513927817345,
0.044315312057733536,
-0.023755470290780067,
-0.014765352942049503,
-0.044315312057733536,
-0.023408956825733185,
0.004119668155908585,
-0.05605829134583473,
-0.06822478771209717,
0.039810627698898315,
-0.010790065862238407,
0.06295007467269897,
-0.005986994598060846,
0.02560354582965374,
-0.032187316566705704,
-0.002055021468549967,
0.0031306592281907797,
0.029376700520515442,
-0.054171714931726456,
-0.040657661855220795,
-0.030897513031959534,
0.009182625450193882,
0.0020417864434421062,
0.02057909034192562,
0.08655153959989548,
-0.03844382241368294,
0.008667666465044022,
-0.011896985583007336,
-0.017113948240876198,
0.04959002509713173,
0.018009111285209656,
0.009327005594968796,
-0.01692144200205803,
-0.030050477012991905,
0.08662854135036469,
-0.005202524829655886,
-0.016719307750463486,
-0.02741312049329281,
-0.039059847593307495,
0.016651930287480354,
-0.041504696011543274,
-0.045585863292217255,
0.011569722555577755,
-0.004598531406372786,
-0.04893549904227257,
-0.0048271347768604755,
0.004788632970303297,
-0.03341936692595482,
-0.00944732315838337,
-0.04939751699566841,
0.007036162540316582,
-0.05755985155701637,
0.018500005826354027,
-0.02079084888100624,
0.0686098039150238,
0.025873057544231415,
-0.03118627332150936,
0.021830391138792038,
0.029299696907401085,
-0.05163060873746872,
0.007536682765930891,
-0.027932891622185707,
0.01992456428706646,
-0.037250272929668427,
0.046856414526700974,
-0.01630541682243347,
-0.035305943340063095,
-0.004237579181790352,
-0.0380588062107563,
-0.0525161437690258,
-0.06221854314208031,
-0.02023257687687874,
0.0066703977063298225,
-0.0076810638420283794,
0.0006936299032531679,
-0.037231020629405975,
0.02067534439265728,
-0.0021957927383482456,
-0.021830391138792038,
-0.016469048336148262,
0.020059319213032722,
0.03212956339120865,
0.01463059801608324,
0.002446053083986044,
0.036364734172821045,
-0.030377741903066635,
0.035941217094659805,
-0.0034603287931531668,
-0.025892307981848717,
0.07461604475975037,
-0.007955387234687805,
-0.026546834036707878,
0.04165870323777199,
-0.06225704401731491,
0.05590428411960602,
-0.011232834309339523,
0.05744434520602226,
0.002424395876005292,
-0.06167951971292496,
-0.022022899240255356,
0.008104581385850906,
-0.006718524266034365,
-0.0953298956155777,
-0.03954111412167549,
-0.0030199671164155006,
0.017710722982883453,
0.016603803262114525,
0.05386370047926903,
0.015275498852133751,
-0.050937581807374954,
0.024910517036914825
] |
730,028 | mmengine.config.config | fromstring | Build a Config instance from config text.
Args:
cfg_str (str): Config text.
file_format (str): Config file format corresponding to the
config str. Only py/yml/yaml/json type are supported now!
Returns:
Config: Config object generated from ``cfg_str``.
| @staticmethod
def fromstring(cfg_str: str, file_format: str) -> 'Config':
"""Build a Config instance from config text.
Args:
cfg_str (str): Config text.
file_format (str): Config file format corresponding to the
config str. Only py/yml/yaml/json type are supported now!
Returns:
Config: Config object generated from ``cfg_str``.
"""
if file_format not in ['.py', '.json', '.yaml', '.yml']:
raise OSError('Only py/yml/yaml/json type are supported now!')
if file_format != '.py' and 'dict(' in cfg_str:
# check if users specify a wrong suffix for python
warnings.warn(
'Please check "file_format", the file format may be .py')
# A temporary file can not be opened a second time on Windows.
# See https://docs.python.org/3/library/tempfile.html#tempfile.NamedTemporaryFile for more details. # noqa
# `temp_file` is opened first in `tempfile.NamedTemporaryFile` and
# second in `Config.from_file`.
# In addition, a named temporary file will be removed after closed.
# As a workaround we set `delete=False` and close the temporary file
# before opening again.
with tempfile.NamedTemporaryFile(
'w', encoding='utf-8', suffix=file_format,
delete=False) as temp_file:
temp_file.write(cfg_str)
cfg = Config.fromfile(temp_file.name)
os.remove(temp_file.name) # manually delete the temporary file
return cfg
| (cfg_str: str, file_format: str) -> mmengine.config.config.Config | [
0.022254489362239838,
-0.003044021548703313,
0.016657495871186256,
-0.0846700370311737,
-0.03966524451971054,
-0.008390724658966064,
-0.014969815500080585,
0.11808037757873535,
0.015322607941925526,
-0.06006995961070061,
0.024333100765943527,
0.03787267953157425,
-0.0694141760468483,
0.042983394116163254,
-0.020137738436460495,
0.032208941876888275,
-0.04763643071055412,
0.061061590909957886,
0.0018902968149632215,
-0.02595403790473938,
0.003582744160667062,
-0.017200985923409462,
-0.0010851924307644367,
0.09893427044153214,
0.0593453086912632,
0.011213059537112713,
0.004593444988131523,
0.0031703589484095573,
-0.01265283115208149,
-0.06621044874191284,
0.0048699574545025826,
-0.018907735124230385,
0.028337765485048294,
0.08482259511947632,
-0.022769374772906303,
-0.06815557181835175,
-0.003382510971277952,
0.05103086307644844,
-0.08611934632062912,
-0.01634284295141697,
0.0010845965007320046,
-0.015885166823863983,
0.010288172401487827,
-0.02469542808830738,
-0.02135820873081684,
0.036041975021362305,
-0.07818629592657089,
0.0372624471783638,
-0.0858905091881752,
0.00699385954067111,
0.04447083920240402,
-0.033353131264448166,
-0.03198010474443436,
0.05831553786993027,
-0.03667128086090088,
0.005754320882260799,
0.021987512707710266,
0.022712165489792824,
0.02044285647571087,
0.008185723796486855,
-0.016409587115049362,
0.022540537640452385,
0.02709822729229927,
-0.009201192297041416,
-0.028261486440896988,
-0.031007541343569756,
-0.05595087632536888,
-0.019088897854089737,
0.005206063389778137,
-0.007775722537189722,
0.011289338581264019,
-0.011584920808672905,
-0.010745848529040813,
-0.037395935505628586,
0.03108382038772106,
-0.035488951951265335,
-0.03573685884475708,
0.04366990923881531,
0.026240084320306778,
0.007070139050483704,
-0.043517351150512695,
0.00923933181911707,
-0.02065262384712696,
-0.04508107528090477,
0.029577303677797318,
-0.0107363136485219,
0.00925363413989544,
-0.015503770671784878,
0.04141966998577118,
0.028185207396745682,
-0.0007192901102825999,
-0.029653584584593773,
-0.01655261218547821,
-0.020576344802975655,
0.012576552107930183,
-0.04580572992563248,
0.07044395059347153,
-0.01962285302579403,
0.041495949029922485,
-0.0296726543456316,
-0.023627517744898796,
0.0013229693286120892,
-0.1110626831650734,
-0.04344106838107109,
-0.01631423830986023,
-0.06041321903467178,
0.02011866867542267,
0.0055493200197815895,
-0.03262847661972046,
-0.04897132143378258,
-0.046911779791116714,
-0.07372395694255829,
-0.03463080897927284,
0.012557482346892357,
0.07772862166166306,
-0.022540537640452385,
0.003809198271483183,
-0.031026611104607582,
0.030683355405926704,
-0.005916414316743612,
0.0028819278813898563,
0.03354382887482643,
-0.05492110550403595,
0.045767590403556824,
0.062320202589035034,
0.025057755410671234,
0.009677938185632229,
-0.06369322538375854,
0.07681327313184738,
0.020957741886377335,
0.0682699903845787,
0.05064946413040161,
-0.014779116958379745,
0.0016829123487696052,
0.02261681668460369,
-0.0033753598108887672,
-0.029005208984017372,
0.03297173231840134,
-0.020671693608164787,
0.017467962577939034,
0.10404498875141144,
-0.0031131496652960777,
0.01215701550245285,
-0.03283824399113655,
-0.011594455689191818,
-0.00572571624070406,
-0.016209354624152184,
-0.028490323573350906,
-0.05770530179142952,
0.06396020948886871,
-0.011327478103339672,
-0.004128618165850639,
-0.07044395059347153,
0.06956673413515091,
-0.008576655760407448,
-0.045767590403556824,
-0.021682394668459892,
0.013673067092895508,
0.010259567759931087,
-0.03148428723216057,
-0.02765125222504139,
0.02015680819749832,
0.05911646783351898,
0.0058353678323328495,
0.005854437593370676,
-0.015522840432822704,
0.029958700761198997,
-0.06350252777338028,
-0.00020514964126050472,
-0.051831793040037155,
-0.018430989235639572,
0.010059334337711334,
-0.03552709147334099,
0.03892152011394501,
0.014168882742524147,
-0.011384687386453152,
0.028661953285336494,
-0.014750512316823006,
0.012929343618452549,
-0.030797773972153664,
-0.029157768934965134,
0.014473999850451946,
-0.002066692803055048,
-0.004040420055389404,
0.06163368746638298,
0.05377691611647606,
-0.001870035077445209,
0.0750969871878624,
0.03285731375217438,
-0.037624772638082504,
-0.01915564388036728,
-0.003103614551946521,
0.0022192513570189476,
0.021396348252892494,
0.0416485071182251,
-0.012414458207786083,
-0.0410001315176487,
0.014292837120592594,
-0.015236793085932732,
0.037395935505628586,
-0.011470502242445946,
0.02890986017882824,
0.03333406150341034,
-0.04126710817217827,
0.02454287000000477,
-0.042983394116163254,
0.023131702095270157,
-0.01060282438993454,
-0.06781230866909027,
0.03615639731287956,
-0.02786101959645748,
-0.05087830498814583,
-0.0058353678323328495,
0.018268896266818047,
0.019517969340085983,
-0.008443166501820087,
0.06552392989397049,
0.08093235641717911,
-0.04038989916443825,
-0.009954450652003288,
0.09290820360183716,
0.06464672088623047,
0.05629413574934006,
0.03230429068207741,
0.04523363336920738,
-0.024504730477929115,
-0.03989408165216446,
0.008319213055074215,
-0.02644985355436802,
0.01666703075170517,
0.03247591853141785,
-0.038120586425065994,
0.03903593868017197,
-0.0034778600092977285,
0.11136779934167862,
-0.014254696667194366,
0.015742143616080284,
-0.06727835536003113,
-0.007828164845705032,
0.008266771212220192,
0.032266151160001755,
-0.013272601179778576,
-0.018430989235639572,
0.01617121510207653,
-0.00799502618610859,
-0.0007294209790416062,
-0.02059541456401348,
0.013072367757558823,
-0.02316984161734581,
-0.03356289863586426,
0.059917401522397995,
0.060794614255428314,
-0.02656427212059498,
0.03730058670043945,
-0.04119082912802696,
-0.00843839906156063,
0.05507366731762886,
-0.060451358556747437,
0.03529825434088707,
-0.02709822729229927,
0.012385853566229343,
-0.0586969330906868,
0.04126710817217827,
0.02955823391675949,
-0.023341471329331398,
-0.07532582432031631,
-0.005525482818484306,
0.014359581284224987,
0.021053090691566467,
-0.006145252380520105,
0.0631592720746994,
0.04801782965660095,
0.040466178208589554,
-0.020042389631271362,
-0.03932198882102966,
-0.04023733735084534,
0.06293043494224548,
-0.026411712169647217,
0.07894909381866455,
0.014636093750596046,
-0.027689391747117043,
-0.03266661614179611,
0.04836108535528183,
0.044890377670526505,
0.07650815695524216,
0.020805183798074722,
-0.06952859461307526,
-0.040847573429346085,
0.02044285647571087,
0.0391312874853611,
-0.011546781286597252,
-0.043746188282966614,
-0.0146742332726717,
-0.0035159997642040253,
0.021320069208741188,
-0.011775619350373745,
-0.06708765774965286,
-0.08322073519229889,
0.04283083602786064,
-0.09954451024532318,
-0.015122374519705772,
-0.0008974738302640617,
-0.04473781958222389,
0.06666812300682068,
0.019374946132302284,
0.0029296025168150663,
-0.04176292568445206,
-0.07734722644090652,
0.006784091703593731,
0.004886643495410681,
0.0145121393725276,
-0.024714497849345207,
0.04664480313658714,
0.02835683524608612,
0.02032843790948391,
0.06407462805509567,
-0.0012008033227175474,
-0.03485964611172676,
0.023207981139421463,
-0.01564679481089115,
-0.01778261549770832,
0.03638523444533348,
-0.02217821031808853,
-0.02448566071689129,
0.0261828750371933,
-0.03804430738091469,
-0.0038783263880759478,
0.0028890790417790413,
0.005077342037111521,
0.04225873947143555,
-0.07235093414783478,
0.01442632544785738,
0.02492426708340645,
0.0031870452221482992,
0.06334996968507767,
-0.04965783283114433,
-0.012910273857414722,
-0.03897872939705849,
-0.009000958874821663,
-0.0897044762969017,
0.0922216922044754,
-0.03924570605158806,
-0.021491697058081627,
-0.00699385954067111,
-0.01622842438519001,
0.01492214109748602,
0.03426848351955414,
-0.028947999700903893,
0.030683355405926704,
0.04233501851558685,
0.005029667168855667,
-0.027899159118533134,
-0.00006186520477058366,
0.018612153828144073,
-0.016895867884159088,
-0.029386606067419052,
-0.038063377141952515,
0.015837492421269417,
0.02252146787941456,
-0.05015365034341812,
-0.01850726827979088,
-0.027250785380601883,
-0.0009636222966946661,
-0.0021215183660387993,
-0.009000958874821663,
-0.0023682343307882547,
-0.023513099178671837,
0.023894496262073517,
0.01067910436540842,
0.009878171607851982,
0.001001761993393302,
0.026030316948890686,
0.02355123870074749,
-0.05896390974521637,
0.02255960740149021,
-0.00004324232577346265,
-0.04874248430132866,
0.011899572797119617,
-0.044394560158252716,
0.03649965301156044,
0.02091960236430168,
0.036747559905052185,
-0.011861433275043964,
0.015580050647258759,
0.01707703247666359,
-0.025725198909640312,
-0.022330770269036293,
-0.021434487774968147,
0.030454516410827637,
0.017239125445485115,
0.0007210779003798962,
0.030950332060456276,
0.02862381376326084,
0.04572945088148117,
0.00018101438763551414,
-0.0024051822256296873,
-0.058162979781627655,
0.05987926200032234,
0.0036351862363517284,
0.09923938661813736,
-0.012395388446748257,
-0.027060087770223618,
-0.006102345418184996,
0.01439772080630064,
-0.03623267635703087,
0.08108491450548172,
0.03716709464788437,
0.051450397819280624,
-0.01807819865643978,
0.020843323320150375,
0.059154607355594635,
-0.01442632544785738,
-0.0220828615128994,
-0.042106181383132935,
-0.01256701722741127,
0.05255644768476486,
-0.028280556201934814,
0.012366783805191517,
-0.001023811404593289,
-0.028700092807412148,
0.000985075836069882,
-0.0366140715777874,
0.018554942682385445,
0.010307242162525654,
0.015627725049853325,
0.06434160470962524,
-0.0051202489994466305,
0.024027984589338303,
-0.0379108190536499,
-0.007451535668224096,
-0.029634514823555946,
0.004896178375929594,
0.029710793867707253,
-0.032323360443115234,
0.021815884858369827,
-0.05026806890964508,
-0.005668506491929293,
-0.02656427212059498,
-0.0054444363340735435,
-0.01098422147333622,
0.008152351714670658,
0.007413396146148443,
0.04580572992563248,
0.04744573310017586,
-0.0612904317677021,
0.017067497596144676,
-0.06006995961070061,
0.014636093750596046,
0.04523363336920738,
0.02196844294667244,
-0.022979144006967545,
-0.003527918364852667,
-0.012614691630005836,
-0.015255862846970558,
0.0077185132540762424,
-0.07154999673366547,
0.026487993076443672,
0.00353745324537158,
-0.016333308070898056,
0.06239648163318634,
-0.013339345343410969,
0.002564891939982772,
0.05595087632536888,
-0.007613629102706909,
-0.03032102808356285,
-0.030797773972153664,
0.04225873947143555,
0.041495949029922485,
0.013158181682229042,
-0.015980517491698265,
-0.011003291234374046,
-0.010002125054597855,
-0.029214978218078613,
0.07566908001899719,
-0.030683355405926704,
-0.000704391801264137,
0.03201824426651001,
0.03239963948726654,
0.006836533546447754,
-0.019165178760886192,
0.02164425514638424,
-0.01082212757319212,
-0.04206804186105728,
0.036366164684295654,
0.0026888458523899317,
-0.056751810014247894,
0.06605789065361023,
-0.009925846010446548,
0.0026793109718710184,
0.03299080580472946,
-0.0536624975502491,
0.03382987529039383,
-0.004674491938203573,
-0.014006788842380047,
-0.006674440111964941,
0.009496774524450302,
-0.003880710108205676,
0.05255644768476486,
-0.007175023201853037,
-0.0612141489982605,
0.03400150313973427,
0.00112571578938514,
-0.0720076709985733,
-0.020576344802975655,
0.008004561066627502,
0.01268143579363823,
-0.023532168939709663,
0.032208941876888275,
-0.035603370517492294,
-0.03564151003956795,
-0.06868952512741089,
0.003487394889816642,
-0.019870761781930923,
0.00445995619520545,
0.030511725693941116,
0.006526648998260498,
-0.018430989235639572,
-0.010345382615923882,
-0.04191548377275467,
-0.015799352899193764,
-0.04492851719260216,
0.00539676146581769,
0.0022955306340008974,
-0.005878274794667959,
-0.008366887457668781,
-0.014350046403706074,
0.07902537286281586,
-0.01983262225985527,
0.03493592515587807,
0.04378432780504227,
0.014493069611489773,
-0.009801891632378101,
0.0010547998826950788,
-0.030969401821494102,
0.023303331807255745,
-0.05377691611647606,
0.022597746923565865,
0.024676358327269554,
0.004288327880203724,
-0.013768416829407215,
0.015122374519705772,
-0.00015300557424779981,
0.023570308461785316,
-0.004700712859630585,
-0.03140800818800926,
-0.025725198909640312,
0.05293784663081169,
0.02732706442475319,
-0.005611297208815813,
-0.03255219757556915,
0.031674984842538834,
-0.020404716953635216,
0.022216349840164185,
0.03169405460357666,
-0.012195155955851078,
-0.07219836860895157,
0.0143691161647439,
-0.038387566804885864,
0.00894851703196764,
-0.009744682349264622,
-0.04408944398164749,
0.05152667686343193,
-0.04935271665453911,
0.04519549384713173,
-0.01966099441051483,
0.014578884467482567,
-0.023894496262073517,
0.004810364451259375,
-0.020557275041937828,
0.026926597580313683,
0.03688104823231697,
-0.04004663974046707,
0.0821528211236,
0.0006400311249308288,
-0.02261681668460369,
0.028719162568449974,
0.021777745336294174,
0.013081902638077736,
0.04584386944770813,
0.032819174230098724,
-0.007289442233741283,
0.0022740771528333426,
-0.019680064171552658,
-0.03249498829245567,
0.004574375227093697,
-0.015284467488527298,
0.0243140310049057,
0.013186786323785782,
-0.025000546127557755,
0.025553571060299873,
-0.023837286978960037,
0.04241129755973816,
0.04168664664030075,
-0.017096102237701416,
-0.014273767359554768,
-0.019384481012821198,
0.028375905007123947,
-0.026678690686821938,
0.035717789083719254,
-0.020099598914384842,
-0.07391465455293655,
-0.01508423499763012,
-0.023455889895558357,
0.013377484865486622,
0.04790341109037399,
0.015265397727489471,
0.01268143579363823,
-0.04206804186105728,
0.01854540780186653,
0.000035197241231799126,
0.06087089329957962,
-0.03421127423644066,
-0.005997461266815662,
0.002431403147056699,
0.06411276757717133,
-0.016628891229629517,
-0.02782288007438183,
-0.021815884858369827,
0.023417750373482704,
-0.04225873947143555,
0.0033062316942960024,
0.07048209011554718,
-0.026545202359557152,
0.033467549830675125,
-0.0675453320145607,
0.016333308070898056,
-0.039588965475559235,
-0.05339552089571953,
-0.0656764879822731,
-0.02360844798386097,
0.04103827103972435,
-0.018850525841116905,
0.03342941030859947,
-0.00881979614496231,
-0.054501570761203766,
-0.0023825366515666246,
0.05080202594399452,
0.01731540448963642,
0.04031361639499664,
0.014283302240073681,
0.058010417968034744,
-0.052823424339294434,
-0.0015768364537507296,
0.0003149501280859113,
-0.043746188282966614,
-0.024085193872451782,
0.05072574317455292,
-0.07555466145277023,
0.05225133150815964,
-0.009234564378857613,
0.031179171055555344,
0.024180542677640915,
0.02202565222978592,
-0.012013992294669151,
-0.022273560985922813,
-0.01947982981801033,
0.028776371851563454,
0.03131265938282013,
0.032933592796325684,
-0.005206063389778137,
0.015866097062826157,
-0.0026459386572241783,
-0.03825407847762108,
0.02000425010919571,
-0.03943640738725662,
-0.01906982809305191,
0.009878171607851982,
0.03617546707391739,
0.04023733735084534,
-0.013892370276153088,
0.049695972353219986,
-0.04088571295142174,
-0.0009272704483009875,
0.005129783879965544,
0.03310522437095642,
-0.04694991931319237,
0.003270475659519434,
0.015398886986076832,
0.010345382615923882,
0.02454287000000477,
0.0029296025168150663,
0.07105418294668198,
-0.030473586171865463,
-0.02704101800918579,
-0.0005342531949281693,
-0.019756343215703964,
0.04908574000000954,
0.01505563035607338,
0.006150019820779562,
-0.0037972796708345413,
-0.03638523444533348,
0.057895999401807785,
-0.02164425514638424,
-0.03327685222029686,
-0.007012929767370224,
-0.062320202589035034,
0.03354382887482643,
0.0002800881047733128,
-0.02316984161734581,
0.0026793109718710184,
0.055111806839704514,
-0.06087089329957962,
-0.00715595344081521,
0.0070463018491864204,
-0.012748180888593197,
-0.042640138417482376,
-0.010660034604370594,
0.0034993134904652834,
-0.011184454895555973,
-0.023799145594239235,
-0.009668403305113316,
0.06712579727172852,
0.05846809595823288,
-0.008900842629373074,
0.007699443493038416,
0.05381505563855171,
-0.061442989856004715,
-0.012795855291187763,
-0.024790776893496513,
-0.03449732065200806,
-0.01880285143852234,
0.006350253242999315,
-0.012719576247036457,
-0.006574323400855064,
0.02299821376800537,
-0.04756015166640282,
-0.06903278082609177,
0.003372976090759039,
-0.02601124718785286,
-0.013043763116002083,
-0.03585127741098404,
-0.024523800238966942,
-0.08596678823232651,
0.010373987257480621,
-0.011861433275043964,
-0.03672849014401436,
-0.018087733536958694,
0.010507475584745407,
0.04092385247349739,
0.04782713204622269,
-0.03148428723216057,
0.04912387952208519,
-0.04058059677481651,
0.030034979805350304,
-0.017239125445485115,
-0.005468273535370827,
0.06033693999052048,
0.016009122133255005,
-0.020557275041937828,
0.05087830498814583,
-0.022826585918664932,
0.01325353141874075,
-0.041495949029922485,
0.08955191820859909,
0.009673170745372772,
-0.08886539936065674,
-0.0018998316954821348,
-0.004071408417075872,
-0.017363078892230988,
-0.010841197334229946,
-0.028375905007123947,
0.0023193678352981806,
0.04618712514638901,
0.009782821871340275,
-0.010049799457192421,
-0.0029748931992799044,
-0.018593084067106247,
-0.0037901285104453564
] |
730,029 | mmengine.config.config | merge_from_dict | Merge list into cfg_dict.
Merge the dict parsed by MultipleKVAction into this cfg.
Args:
options (dict): dict of configs to merge from.
allow_list_keys (bool): If True, int string keys (e.g. '0', '1')
are allowed in ``options`` and will replace the element of the
corresponding index in the config if the config is a list.
Defaults to True.
Examples:
>>> from mmengine import Config
>>> # Merge dictionary element
>>> options = {'model.backbone.depth': 50, 'model.backbone.with_cp': True}
>>> cfg = Config(dict(model=dict(backbone=dict(type='ResNet'))))
>>> cfg.merge_from_dict(options)
>>> cfg._cfg_dict
{'model': {'backbone': {'type': 'ResNet', 'depth': 50, 'with_cp': True}}}
>>> # Merge list element
>>> cfg = Config(
>>> dict(pipeline=[dict(type='LoadImage'),
>>> dict(type='LoadAnnotations')]))
>>> options = dict(pipeline={'0': dict(type='SelfLoadImage')})
>>> cfg.merge_from_dict(options, allow_list_keys=True)
>>> cfg._cfg_dict
{'pipeline': [{'type': 'SelfLoadImage'}, {'type': 'LoadAnnotations'}]}
| def merge_from_dict(self,
options: dict,
allow_list_keys: bool = True) -> None:
"""Merge list into cfg_dict.
Merge the dict parsed by MultipleKVAction into this cfg.
Args:
options (dict): dict of configs to merge from.
allow_list_keys (bool): If True, int string keys (e.g. '0', '1')
are allowed in ``options`` and will replace the element of the
corresponding index in the config if the config is a list.
Defaults to True.
Examples:
>>> from mmengine import Config
>>> # Merge dictionary element
>>> options = {'model.backbone.depth': 50, 'model.backbone.with_cp': True}
>>> cfg = Config(dict(model=dict(backbone=dict(type='ResNet'))))
>>> cfg.merge_from_dict(options)
>>> cfg._cfg_dict
{'model': {'backbone': {'type': 'ResNet', 'depth': 50, 'with_cp': True}}}
>>> # Merge list element
>>> cfg = Config(
>>> dict(pipeline=[dict(type='LoadImage'),
>>> dict(type='LoadAnnotations')]))
>>> options = dict(pipeline={'0': dict(type='SelfLoadImage')})
>>> cfg.merge_from_dict(options, allow_list_keys=True)
>>> cfg._cfg_dict
{'pipeline': [{'type': 'SelfLoadImage'}, {'type': 'LoadAnnotations'}]}
""" # noqa: E501
option_cfg_dict: dict = {}
for full_key, v in options.items():
d = option_cfg_dict
key_list = full_key.split('.')
for subkey in key_list[:-1]:
d.setdefault(subkey, ConfigDict())
d = d[subkey]
subkey = key_list[-1]
d[subkey] = v
cfg_dict = super().__getattribute__('_cfg_dict')
super().__setattr__(
'_cfg_dict',
Config._merge_a_into_b(
option_cfg_dict, cfg_dict, allow_list_keys=allow_list_keys))
| (self, options: dict, allow_list_keys: bool = True) -> NoneType | [
0.007146807853132486,
-0.048083964735269547,
-0.0627962201833725,
-0.047166939824819565,
-0.04026932269334793,
0.008756584487855434,
-0.022267740219831467,
-0.022487027570605278,
0.03672083839774132,
-0.006673344410955906,
-0.058250971138477325,
-0.07603326439857483,
0.010446101427078247,
0.029743479564785957,
-0.01352610718458891,
-0.02342398650944233,
0.03375047817826271,
-0.0014253745321184397,
0.011881443671882153,
-0.02294554002583027,
0.04094712436199188,
-0.016327017918229103,
0.031477853655815125,
0.015031222254037857,
0.016336984932422638,
-0.05502144992351532,
0.01653633825480938,
0.004986319225281477,
-0.020912138745188713,
0.06666366755962372,
0.011323255486786366,
-0.020433690398931503,
0.03323215991258621,
0.03012225031852722,
-0.032953064888715744,
-0.03837546706199646,
0.010665389709174633,
0.059726182371377945,
-0.03963139280676842,
0.028507491573691368,
0.02362333983182907,
-0.03161739930510521,
0.027690142393112183,
0.014801966026425362,
0.02462010644376278,
0.07065073400735855,
-0.0785052478313446,
0.07192659378051758,
0.04924021288752556,
-0.044774703681468964,
0.007440853863954544,
-0.0368603840470314,
-0.03785714879631996,
0.028168590739369392,
-0.09481232613325119,
0.023045215755701065,
-0.006877681240439415,
0.049798399209976196,
-0.013217109255492687,
-0.013845071196556091,
-0.0320759117603302,
-0.03137817606329918,
-0.02029414474964142,
-0.057333946228027344,
0.0011207381030544639,
-0.03642180934548378,
-0.05370572209358215,
0.02216806262731552,
0.004243728704750538,
-0.01314733549952507,
-0.032215457409620285,
-0.03833559900522232,
0.02699240669608116,
0.01315730344504118,
-0.03347138315439224,
0.027430985122919083,
-0.01627717912197113,
0.07946214079856873,
0.009434384293854237,
0.03281351923942566,
-0.01255924440920353,
0.001400455366820097,
0.005081011913716793,
-0.02553712949156761,
0.042581818997859955,
0.02705221436917782,
-0.06785979121923447,
0.00946428719907999,
0.07073047757148743,
-0.0631151869893074,
-0.015768829733133316,
0.006254702806472778,
-0.03939216956496239,
-0.04700745642185211,
-0.012977886013686657,
0.061839327216148376,
0.026374412700533867,
-0.02826826646924019,
-0.049080729484558105,
-0.011801702901721,
-0.059726182371377945,
-0.045253150165081024,
0.037039801478385925,
-0.02585609443485737,
-0.01714436523616314,
-0.059008512645959854,
-0.05573912337422371,
0.017094526439905167,
-0.004717192146927118,
0.01679549738764763,
-0.01953660137951374,
-0.013396527618169785,
0.02992289699614048,
-0.025198230519890785,
0.04150531068444252,
0.010176975280046463,
-0.0662250965833664,
-0.027630336582660675,
-0.005940721835941076,
0.018978413194417953,
-0.015619314275681973,
0.03837546706199646,
-0.02003498561680317,
-0.03719928488135338,
-0.02047356218099594,
-0.003411429701372981,
0.00766014214605093,
-0.028587231412529945,
0.028407813981175423,
0.01507109310477972,
0.007236517034471035,
0.018330516293644905,
-0.015160801820456982,
-0.06012488901615143,
0.08524338155984879,
-0.06905590742826462,
-0.07483714818954468,
-0.0037328863982111216,
0.005367581732571125,
-0.029265033081173897,
0.03929249197244644,
-0.019217636436223984,
0.05023697763681412,
-0.0003329819592181593,
-0.02051343210041523,
-0.004253696650266647,
0.02892613224685192,
-0.0069275195710361,
0.005287840496748686,
0.03859475627541542,
-0.00663347402587533,
0.007645190693438053,
-0.02896600216627121,
0.05693523958325386,
0.0002725530357565731,
0.010525843128561974,
-0.020832397043704987,
-0.032673969864845276,
0.022247804328799248,
-0.03662116080522537,
0.030939599499106407,
-0.018998349085450172,
0.020433690398931503,
0.04266155883669853,
-0.037976764142513275,
-0.05095464736223221,
-0.0034238891676068306,
-0.044774703681468964,
0.029524192214012146,
-0.00010816461872309446,
0.020094791427254677,
0.0024321076925843954,
0.019735954701900482,
0.02168961614370346,
-0.0004279861459508538,
0.06179945543408394,
-0.03089972771704197,
-0.02918529137969017,
-0.010047395713627338,
-0.031238628551363945,
-0.019835632294416428,
0.021809227764606476,
0.014064360409975052,
-0.006773021072149277,
-0.030520956963300705,
0.048363059759140015,
-0.0066235060803592205,
0.06722185760736465,
-0.023503728210926056,
-0.005252953618764877,
0.06060333922505379,
-0.06156023219227791,
0.003964634612202644,
-0.06435117870569229,
-0.056337181478738785,
0.04545250162482262,
-0.062118422240018845,
-0.004829328507184982,
0.021071620285511017,
0.09018733352422714,
-0.037239156663417816,
-0.06510871648788452,
-0.010934516787528992,
0.006763053592294455,
0.0008329221163876355,
-0.0410667359828949,
0.039711132645606995,
0.010645454749464989,
0.03933236375451088,
-0.022586705163121223,
-0.0054174200631678104,
-0.03381028398871422,
-0.033192288130521774,
0.008950953371822834,
0.027371179312467575,
-0.02753066085278988,
-0.02725156582891941,
0.06873694062232971,
-0.10079292207956314,
0.014453098177909851,
0.04174453392624855,
-0.023463858291506767,
0.021390585228800774,
0.03612278029322624,
-0.025477323681116104,
0.04461522027850151,
-0.032454680651426315,
0.01859964244067669,
0.03361092880368233,
0.04393741860985756,
-0.001984809059649706,
-0.0001611956540727988,
-0.004575153347104788,
0.016855303198099136,
0.06957422941923141,
-0.012589147314429283,
0.004428130574524403,
-0.03161739930510521,
0.012090764939785004,
0.05179193243384361,
0.04856241121888161,
0.030520956963300705,
-0.011532575823366642,
-0.018200935795903206,
-0.02603551186621189,
-0.036780644208192825,
0.05422404035925865,
-0.018808962777256966,
0.03504627197980881,
0.047924481332302094,
0.05147296562790871,
-0.013376591727137566,
-0.003962142392992973,
0.08859250694513321,
-0.04509366676211357,
0.020892202854156494,
0.04684797301888466,
0.018350452184677124,
-0.026713313534855843,
-0.06080269068479538,
0.06132100895047188,
-0.07260439544916153,
-0.016307082027196884,
0.012529341503977776,
-0.03189649432897568,
0.023723017424345016,
0.039930421859025955,
-0.007784737739712,
-0.006728166714310646,
0.03143798187375069,
0.04975853115320206,
-0.03351125493645668,
0.01738358847796917,
0.00021850966732017696,
0.03066050447523594,
0.020304111763834953,
0.03361092880368233,
-0.04032912850379944,
-0.02218799851834774,
0.02123110368847847,
0.04760551452636719,
-0.04433612525463104,
-0.032673969864845276,
-0.005756320431828499,
0.018280677497386932,
0.006713215261697769,
-0.036780644208192825,
0.021988645195961,
0.01836041919887066,
-0.016855303198099136,
0.057333946228027344,
0.0027261534705758095,
0.010814905166625977,
0.03430866450071335,
-0.03211578354239464,
-0.01482190191745758,
0.04581134021282196,
-0.042342595756053925,
0.019785793498158455,
-0.01716430112719536,
0.023822693154215813,
0.02723163180053234,
0.05821109935641289,
0.012629018165171146,
0.021191231906414032,
-0.023244569078087807,
0.04632965847849846,
-0.021290909498929977,
0.05430378019809723,
0.026214931160211563,
-0.031059211120009422,
0.03715941309928894,
0.015619314275681973,
0.00005310890628607012,
0.00448793638497591,
-0.005726417526602745,
0.03963139280676842,
0.012579179368913174,
0.0092798862606287,
-0.020194467157125473,
-0.06746108084917068,
0.057294074445962906,
-0.06778004765510559,
-0.040907252579927444,
0.02818852663040161,
-0.05916799604892731,
0.08946966379880905,
0.045731596648693085,
0.04310013726353645,
-0.0005095963133499026,
-0.07455805689096451,
-0.03771760314702988,
0.07140827178955078,
0.03692018985748291,
-0.03478711470961571,
-0.04202362895011902,
-0.006528813391923904,
0.01300778891891241,
0.010834840126335621,
-0.03853495046496391,
0.009613802656531334,
0.015679119154810905,
-0.06219816207885742,
-0.02145039103925228,
-0.04154518246650696,
0.015539572574198246,
0.04513353854417801,
0.023523664101958275,
0.014263712801039219,
-0.014084295369684696,
-0.005100946873426437,
-0.012270182371139526,
0.02725156582891941,
0.023723017424345016,
-0.012589147314429283,
-0.01905815489590168,
-0.04493418335914612,
-0.08532311767339706,
0.039910487830638885,
-0.06299557536840439,
0.03570413589477539,
-0.02922516129910946,
-0.04844279959797859,
0.01847006380558014,
0.0010615551145747304,
0.04724667966365814,
-0.047406163066625595,
-0.053227271884679794,
0.053944945335388184,
-0.044774703681468964,
0.021988645195961,
-0.04226285219192505,
0.05653653293848038,
0.0453328900039196,
0.07384037971496582,
0.0633145421743393,
-0.08771535754203796,
0.050994519144296646,
-0.038016632199287415,
0.04461522027850151,
-0.02314489334821701,
0.02940458059310913,
0.02097194455564022,
-0.024500494822859764,
0.053665850311517715,
-0.018509933724999428,
0.007994058541953564,
-0.010854775086045265,
0.002377285622060299,
-0.025397581979632378,
0.011113934218883514,
0.04537276178598404,
-0.015150834806263447,
0.010854775086045265,
-0.09281879663467407,
-0.010695292614400387,
-0.06128113716840744,
0.06064320728182793,
0.01568908803164959,
-0.04796435311436653,
0.059965409338474274,
0.003194633172824979,
0.0063095251098275185,
0.03644174337387085,
-0.002554211299866438,
0.0022090813145041466,
0.012828370556235313,
0.02946438640356064,
-0.034089379012584686,
0.006897616665810347,
0.04465509206056595,
0.042342595756053925,
-0.07264426350593567,
0.041146475821733475,
-0.02464004047214985,
0.02416159398853779,
0.02340405248105526,
0.0011643465841189027,
-0.031717076897621155,
0.040668029338121414,
0.05805161967873573,
-0.015828635543584824,
0.023762887343764305,
-0.0018714270554482937,
0.004166479222476482,
-0.01749323308467865,
-0.02460017055273056,
0.0070222122594714165,
-0.04963891953229904,
-0.03422892466187477,
-0.03981081023812294,
0.001652138656936586,
0.03745844587683678,
0.02388249896466732,
-0.007575417403131723,
0.016107728704810143,
0.041624922305345535,
-0.08803432434797287,
0.018569739535450935,
-0.002459518611431122,
-0.015519637614488602,
0.027191760018467903,
0.01760287769138813,
0.012928047217428684,
-0.018091293051838875,
-0.04010983929038048,
-0.05506132170557976,
-0.018629545345902443,
0.00025028156233020127,
-0.014951481483876705,
0.0530279204249382,
0.05908825248479843,
0.021888969466090202,
0.00200225249864161,
0.008347910828888416,
-0.007824608124792576,
-0.0009269918664358556,
0.008901115506887436,
-0.012100731953978539,
0.02747085504233837,
0.006608554627746344,
-0.07603326439857483,
0.016506435349583626,
0.012708758935332298,
-0.015519637614488602,
0.024659976363182068,
0.04605056345462799,
0.032654035836458206,
-0.009813155978918076,
0.012569212354719639,
-0.02818852663040161,
-0.029364708811044693,
0.0037229189183562994,
0.024799523875117302,
-0.04868202283978462,
-0.008048880845308304,
0.1125946193933487,
-0.016526371240615845,
-0.023703081533312798,
-0.03454788774251938,
0.004993794951587915,
-0.012459567748010159,
0.0012322512920945883,
-0.016576208174228668,
-0.02436094731092453,
-0.03839540481567383,
0.004323469940572977,
-0.010775034315884113,
0.019825663417577744,
0.026494024321436882,
-0.05761304125189781,
-0.0694546177983284,
0.010167007334530354,
0.012090764939785004,
0.018220871686935425,
-0.04553224518895149,
-0.04748590290546417,
-0.004218809772282839,
0.03568420186638832,
-0.019845599308609962,
0.02338411659002304,
-0.011881443671882153,
-0.004490428138524294,
0.02222786843776703,
0.017672650516033173,
0.002643920248374343,
-0.03652148321270943,
0.019466828554868698,
-0.07188671827316284,
-0.01727394387125969,
-0.048363059759140015,
0.005272889044135809,
0.03707967326045036,
0.0050436328165233135,
0.04852253943681717,
-0.05478222668170929,
-0.05410442873835564,
-0.001267138053663075,
0.06152036041021347,
-0.036581289023160934,
-0.015599378384649754,
-0.0315575934946537,
-0.00615004263818264,
-0.003678064327687025,
0.0226664450019598,
0.034149184823036194,
0.03865456208586693,
-0.006304541137069464,
-0.0059805926866829395,
-0.015788763761520386,
-0.044734831899404526,
0.01727394387125969,
-0.0016047923127189279,
0.01532028429210186,
-0.03385015204548836,
0.015290381386876106,
0.03044121526181698,
0.018021518364548683,
-0.08253217488527298,
0.012629018165171146,
0.0023137417156249285,
0.010286618955433369,
0.03189649432897568,
-0.03205597400665283,
0.06144062057137489,
0.047206811606884,
0.011263449676334858,
-0.02168961614370346,
0.026852861046791077,
-0.023503728210926056,
0.007615287788212299,
0.026852861046791077,
0.014592645689845085,
0.05346649885177612,
0.024919135496020317,
-0.07615287601947784,
0.038714367896318436,
-0.06315505504608154,
0.03398970142006874,
-0.021370651200413704,
0.0030625618528574705,
0.0034288731403648853,
-0.04489431530237198,
-0.0006161256460472941,
0.01927744410932064,
0.023922370746731758,
-0.04142557084560394,
0.0368603840470314,
-0.0010877202730625868,
0.04170466586947441,
0.0034089377149939537,
-0.023025281727313995,
-0.05238999053835869,
-0.09616792947053909,
-0.0033715590834617615,
0.0299428328871727,
0.016506435349583626,
0.028766650706529617,
-0.03705973923206329,
-0.016825400292873383,
-0.05227037891745567,
0.022247804328799248,
0.06566690653562546,
0.00807380024343729,
0.014054392464458942,
0.006997293327003717,
-0.01848999783396721,
-0.002800910733640194,
0.06199881061911583,
0.04505379870533943,
-0.02047356218099594,
0.0644707903265953,
0.04557211324572563,
0.015569475479424,
-0.0028881276957690716,
-0.018200935795903206,
-0.028348008170723915,
0.025158358737826347,
0.017682619392871857,
-0.01753310300409794,
0.008108686655759811,
-0.07734899967908859,
0.010256716050207615,
0.007655158638954163,
-0.017174268141388893,
-0.03997029364109039,
0.03279358148574829,
0.021829161792993546,
0.036999933421611786,
0.00513832550495863,
0.03351125493645668,
-0.014682354405522346,
0.06522832810878754,
-0.05286843702197075,
0.045731596648693085,
-0.04321974888443947,
0.008916066959500313,
0.02016456425189972,
0.06873694062232971,
-0.0059008514508605,
-0.03396976366639137,
0.03761792555451393,
-0.03042128123342991,
-0.0159083753824234,
-0.07671106606721878,
-0.014791999012231827,
-0.08277139812707901,
-0.010002541355788708,
-0.02629467099905014,
0.03546491265296936,
0.018609609454870224,
-0.04796435311436653,
0.058011747896671295,
0.022766122594475746,
-0.023503728210926056,
0.00922506395727396,
0.05015723407268524,
-0.009010759182274342,
0.007914317771792412,
0.04262169077992439,
0.06542768329381943,
-0.05171218886971474,
0.0034363488666713238,
-0.01625724323093891,
-0.015998084098100662,
0.054662615060806274,
-0.021111492067575455,
0.012250247411429882,
-0.011323255486786366,
0.04146544262766838,
0.03283345326781273,
-0.03690025582909584,
-0.07567442953586578,
0.009364611469209194,
-0.028328072279691696,
0.03688032180070877,
0.02723163180053234,
-0.054184168577194214,
-0.00800900999456644,
0.014652451500296593,
-0.025457389652729034,
-0.0202742088586092,
-0.032713841646909714,
-0.038215987384319305,
-0.05422404035925865,
-0.042342595756053925,
-0.011373093351721764,
0.015768829733133316,
0.04052848368883133,
0.03444821387529373,
0.020872266963124275,
-0.10390282422304153,
-0.07308284193277359,
0.05282856896519661,
0.012768564745783806,
0.00361576653085649,
-0.011044160462915897,
0.05334688350558281,
0.012818403542041779,
-0.0028956036549061537,
0.044296253472566605,
0.04321974888443947,
0.0052230507135391235,
0.01579873263835907,
-0.03299293667078018,
-0.003944699186831713,
0.06028437241911888,
0.023563534021377563,
-0.005472242366522551,
0.023822693154215813,
-0.014602613635361195,
0.0003298670635558665,
-0.0027560563758015633,
0.010515875183045864,
0.0038649579510092735,
-0.0368603840470314,
0.01686527021229267,
-0.06367337703704834,
-0.0739201232790947,
0.035544656217098236,
0.004762046970427036,
-0.0299428328871727,
-0.020812461152672768,
-0.030002638697624207,
-0.027092084288597107,
-0.004884150344878435,
-0.01845012791454792,
0.02533777616918087,
0.041585054248571396,
-0.004961399827152491,
0.015868505463004112,
0.06766043603420258,
0.08097722381353378,
-0.03731889650225639,
0.015150834806263447,
0.05956670269370079,
0.017792262136936188,
-0.02240728586912155,
0.009379562921822071,
-0.03038140945136547,
-0.018480030819773674,
0.01290811225771904,
0.008412700146436691,
-0.016875239089131355,
0.01522060763090849,
-0.08045890182256699,
-0.016606111079454422,
0.00036755725159309804,
-0.00856221467256546,
0.02848755568265915,
0.011771799996495247,
-0.02870684489607811,
-0.02240728586912155,
-0.037797342985868454,
-0.03927255794405937,
-0.028786584734916687,
-0.01673569157719612,
0.049359824508428574,
-0.025158358737826347,
0.09568948298692703,
-0.0021629808470606804,
0.031079145148396492,
-0.004006996750831604,
0.03642180934548378,
0.024241335690021515,
-0.03014218620955944,
0.043777938932180405,
0.01662604697048664,
-0.0021417997777462006,
-0.034368470311164856,
-0.004540266469120979,
0.012748629786074162,
0.018051421269774437,
0.03793689236044884,
0.04094712436199188,
-0.014024489559233189,
-0.02505868300795555,
-0.0027784835547208786,
-0.04094712436199188,
-0.03696006163954735,
0.06478974968194962,
-0.012748629786074162,
0.017702553421258926,
0.031278498470783234,
-0.022546833381056786,
0.00020277946896385401,
0.0034861869644373655,
0.0184301920235157
] |
730,030 | mmengine.config.config | to_dict | Convert all data in the config to a builtin ``dict``.
Args:
keep_imported (bool): Whether to keep the imported field.
Defaults to False
If you import third-party objects in the config file, all imported
objects will be converted to a string like ``torch.optim.SGD``
| def to_dict(self, keep_imported: bool = False):
"""Convert all data in the config to a builtin ``dict``.
Args:
keep_imported (bool): Whether to keep the imported field.
Defaults to False
If you import third-party objects in the config file, all imported
objects will be converted to a string like ``torch.optim.SGD``
"""
cfg_dict = self._cfg_dict.to_dict()
if hasattr(self, '_imported_names') and not keep_imported:
cfg_dict = {
key: value
for key, value in cfg_dict.items()
if key not in self._imported_names
}
return cfg_dict
| (self, keep_imported: bool = False) | [
0.005706795956939459,
-0.01706443913280964,
-0.010611656121909618,
-0.053860217332839966,
0.0018160105682909489,
0.010415835306048393,
-0.027787992730736732,
0.013586277142167091,
-0.003112161997705698,
-0.053300727158784866,
-0.03183496743440628,
-0.04998108744621277,
-0.05080167204141617,
0.03642278537154198,
-0.019022652879357338,
-0.03433402255177498,
-0.01602938212454319,
0.05867182835936546,
-0.0012600176269188523,
-0.024375105276703835,
0.004792962688952684,
-0.05151036009192467,
0.0033452827483415604,
0.04725823923945427,
-0.0056415218859910965,
-0.003123817965388298,
0.04867561161518097,
-0.03172307088971138,
-0.0064201452769339085,
0.012476622126996517,
-0.04632575437426567,
0.0018265011021867394,
0.04580356553196907,
0.04998108744621277,
-0.01850046217441559,
-0.025139741599559784,
0.00391409732401371,
0.026165472343564034,
-0.07023461908102036,
-0.010108115151524544,
-0.019376996904611588,
-0.01684996671974659,
0.028384782373905182,
0.0007116010528989136,
0.013931295834481716,
0.04561706632375717,
-0.026146823540329933,
0.026184123009443283,
0.03192821890115738,
-0.025978976860642433,
0.04173794016242027,
-0.025848427787423134,
0.012224852107465267,
0.08086492121219635,
-0.03239445760846138,
-0.039499979466199875,
0.03591924533247948,
0.039089687168598175,
-0.026501165702939034,
0.024636199697852135,
-0.053972113877534866,
0.020309479907155037,
0.03560220077633858,
-0.019544843584299088,
0.03314044699072838,
-0.018155444413423538,
-0.09123413264751434,
0.004792962688952684,
-0.03321504220366478,
0.0010146580170840025,
-0.0029676270205527544,
-0.09041354805231094,
0.03386778384447098,
-0.018780207261443138,
-0.025065142661333084,
-0.014509434811770916,
-0.026967408135533333,
-0.04158874228596687,
-0.010938025079667568,
0.011087222956120968,
-0.03202146664261818,
-0.03114493191242218,
-0.04151414334774017,
0.013353155925869942,
0.020272180438041687,
-0.012644469738006592,
-0.009837695397436619,
-0.00893318746238947,
0.03287934884428978,
-0.023610468953847885,
-0.020458675920963287,
0.058522630482912064,
0.024934595450758934,
0.057105258107185364,
-0.008135913871228695,
-0.021764153614640236,
0.013465054333209991,
0.013688850216567516,
0.05915671959519386,
-0.027732044458389282,
-0.038063954561948776,
-0.013949945569038391,
-0.055240292102098465,
-0.018519112840294838,
0.008317748084664345,
-0.11100277304649353,
-0.006438795011490583,
-0.04643765091896057,
0.008993798866868019,
-0.05050328001379967,
-0.06508731096982956,
0.03271150216460228,
-0.04979459196329117,
-0.008341060020029545,
0.06542300432920456,
-0.05136116221547127,
-0.004454937297850847,
-0.005986540578305721,
0.01570301316678524,
-0.0003415218961890787,
-0.06531111150979996,
0.09996217489242554,
0.0005924180732108653,
0.05177145451307297,
0.040618959814310074,
0.022323641926050186,
-0.005688146222382784,
-0.007921443320810795,
0.07579221576452255,
-0.03131277859210968,
0.07631440460681915,
-0.01596410945057869,
-0.039276182651519775,
-0.04729553684592247,
0.019097251817584038,
-0.01652359776198864,
-0.003105168230831623,
0.04998108744621277,
0.057030659168958664,
0.03107033297419548,
0.07217418402433395,
-0.0027787992730736732,
-0.012252826243638992,
-0.0018428195035085082,
0.013259908184409142,
-0.04535597190260887,
0.0009033429087139666,
0.011749285273253918,
-0.056844163686037064,
-0.06012650206685066,
0.05837343633174896,
0.012560545466840267,
-0.05162225663661957,
-0.019246449694037437,
-0.06922753900289536,
-0.00801935326308012,
-0.038492899388074875,
-0.003573741065338254,
-0.04199903458356857,
-0.024524303153157234,
-0.026743611320853233,
0.021074116230010986,
0.015507192350924015,
-0.019843237474560738,
-0.023479921743273735,
-0.021372510120272636,
0.06482622027397156,
-0.06732527166604996,
0.009940268471837044,
-0.009394765831530094,
-0.04897400736808777,
-0.04446078836917877,
-0.019134551286697388,
0.026501165702939034,
-0.07269637286663055,
0.06001460552215576,
0.020663822069764137,
0.013297207653522491,
-0.022883132100105286,
0.024897295981645584,
0.05251744017004967,
-0.027526898309588432,
-0.04438618943095207,
0.023088278248906136,
0.04822802171111107,
-0.040469761937856674,
0.03211471438407898,
0.022342292591929436,
-0.0003117989981546998,
0.020757071673870087,
0.06557220220565796,
0.0005539531703107059,
-0.012150253169238567,
0.009809721261262894,
-0.026072224602103233,
-0.01660752110183239,
-0.04386400058865547,
-0.023423973470926285,
-0.05747825279831886,
0.09869399666786194,
-0.018826831132173538,
-0.07377805560827255,
-0.03360668569803238,
-0.04375210031867027,
-0.004998108837753534,
-0.027526898309588432,
-0.019246449694037437,
-0.06072329357266426,
0.03524785861372948,
0.023069629445672035,
-0.012970838695764542,
-0.054195910692214966,
-0.0010490433778613806,
0.01451876014471054,
0.026090873405337334,
-0.01862168498337269,
0.03433402255177498,
0.07176388800144196,
-0.009175632148981094,
0.019031977280974388,
0.022976381704211235,
0.04371480271220207,
0.04886210709810257,
0.011684011667966843,
-0.03097708523273468,
-0.026501165702939034,
-0.01479850523173809,
-0.0034665055572986603,
-0.0026039588265120983,
-0.03414752706885338,
0.07187578827142715,
-0.04326720908284187,
-0.038753993809223175,
-0.0039234221912920475,
0.12070059776306152,
0.012998812831938267,
-0.0012530239764600992,
-0.004273103084415197,
0.04658684879541397,
0.037224721163511276,
0.04875021055340767,
-0.00443628802895546,
-0.04378940165042877,
-0.03472566604614258,
-0.01491972804069519,
-0.024841345846652985,
0.04766853153705597,
0.009478689171373844,
-0.0033989003859460354,
0.011171146295964718,
0.08265528827905655,
-0.012038355693221092,
0.013968595303595066,
0.09160713106393814,
-0.04349100589752197,
0.022491490468382835,
0.04613925889134407,
0.004956147167831659,
-0.02924266643822193,
-0.041476842015981674,
0.024375105276703835,
-0.03114493191242218,
-0.039835672825574875,
0.007002947386354208,
0.037765562534332275,
0.009763096459209919,
0.024337805807590485,
-0.01484512910246849,
-0.0034501871559768915,
-0.005911942105740309,
0.08176010847091675,
0.027750693261623383,
-0.023852914571762085,
-0.028440730646252632,
-0.013054762035608292,
-0.011879833415150642,
0.019395645707845688,
-0.01608533225953579,
0.024356456473469734,
0.056433871388435364,
0.0028976909816265106,
-0.028179636225104332,
0.005002771038562059,
-0.03724336996674538,
-0.006387508474290371,
-0.0009435561951249838,
-0.08668361604213715,
0.03560220077633858,
0.003366263583302498,
0.01414576731622219,
0.01663549616932869,
-0.03254365548491478,
0.0010711898794397712,
-0.022435540333390236,
0.05162225663661957,
-0.01772650144994259,
-0.04819072037935257,
-0.06848154962062836,
0.06240176036953926,
0.05796314403414726,
0.04386400058865547,
-0.01648629829287529,
-0.03444592282176018,
0.055426787585020065,
-0.002669232664629817,
-0.004534198436886072,
0.06460241973400116,
-0.05035408213734627,
-0.009763096459209919,
0.006513393484055996,
0.01553516648709774,
-0.03412887826561928,
0.07996974140405655,
0.06318504363298416,
0.009366791695356369,
-0.06393103301525116,
-0.012607170268893242,
-0.06643008440732956,
0.01519947312772274,
0.014863778837025166,
-0.056471168994903564,
0.07549382001161575,
-0.013558303005993366,
-0.0041099186055362225,
0.05259203910827637,
-0.04252122342586517,
0.040283266454935074,
0.03312179446220398,
0.07127899676561356,
-0.0021120740566402674,
-0.05889562517404556,
-0.01615060493350029,
0.03105168417096138,
0.024841345846652985,
0.004834924358874559,
0.01859370991587639,
0.028310183435678482,
0.014742556028068066,
-0.04822802171111107,
-0.013287882320582867,
0.025661932304501534,
0.009394765831530094,
-0.013772773556411266,
0.010499758645892143,
-0.06355804204940796,
0.0011906642466783524,
-0.012905564159154892,
0.00431506521999836,
0.01689659245312214,
0.01791299879550934,
-0.019507544115185738,
0.05732905492186546,
0.012588520534336567,
0.11167415976524353,
0.01567503809928894,
-0.04666144773364067,
-0.015311370603740215,
-0.03168577328324318,
-0.03271150216460228,
-0.037821508944034576,
0.025009194388985634,
-0.0019535517785698175,
0.03584464639425278,
0.022006599232554436,
0.028030438348650932,
0.01748405583202839,
-0.01721363514661789,
-0.04595276340842247,
0.08302828669548035,
-0.023405322805047035,
-0.028608577325940132,
0.000008878621883923188,
0.01704578846693039,
-0.01533002033829689,
0.04897400736808777,
0.011544139124453068,
-0.04912320524454117,
0.03004460223019123,
-0.020421378314495087,
0.051957953721284866,
0.0039117662236094475,
0.03162982314825058,
0.020850319415330887,
0.023256124928593636,
0.04233472794294357,
-0.003140136366710067,
0.06463971734046936,
-0.037858810275793076,
0.018276667222380638,
-0.04524407535791397,
-0.06228986382484436,
0.03670252859592438,
-0.023293424397706985,
0.06087248772382736,
-0.041327644139528275,
-0.020924918353557587,
-0.027676094323396683,
0.012775016948580742,
-0.03448322042822838,
0.003226391039788723,
0.01627182774245739,
-0.055240292102098465,
0.01627182774245739,
0.011133846826851368,
-0.03028704784810543,
0.0034921488258987665,
0.03509866073727608,
0.019638091325759888,
0.04792962595820427,
-0.003701957408338785,
-0.004751001019030809,
0.01803422160446644,
-0.03381183370947838,
-0.01660752110183239,
0.0024780735839158297,
0.019544843584299088,
0.019031977280974388,
-0.00179969216696918,
0.019731339067220688,
0.0006235979963093996,
0.021111415699124336,
-0.021540356799960136,
0.028272883966565132,
-0.023349374532699585,
0.019675390794873238,
0.03342019021511078,
-0.04472188279032707,
0.026613064110279083,
-0.01565638929605484,
0.01780110038816929,
-0.055613286793231964,
-0.0038931164890527725,
0.03168577328324318,
-0.05173415690660477,
0.05315152928233147,
-0.0039840335957705975,
0.07385265082120895,
-0.03468836843967438,
-0.008280448615550995,
0.019283747300505638,
-0.012989488430321217,
0.01776380091905594,
-0.014667957089841366,
-0.008028678596019745,
-0.004951484501361847,
-0.0004659500846173614,
-0.06568410247564316,
0.03549030423164368,
0.053263429552316666,
-0.007250055205076933,
0.004510886501520872,
-0.04815342277288437,
0.07254717499017715,
-0.06441592425107956,
-0.015348670072853565,
0.002394150011241436,
0.057627446949481964,
-0.013371805660426617,
0.01617858000099659,
0.04322991147637367,
-0.0031517925672233105,
-0.010425159707665443,
-0.028160985559225082,
0.024076711386442184,
0.04255852475762367,
0.03110763244330883,
0.010602331720292568,
0.025382187217473984,
-0.022006599232554436,
0.027153905481100082,
0.057291753590106964,
0.04684794694185257,
0.00039251704583875835,
0.0024827360175549984,
-0.03284205123782158,
0.041476842015981674,
0.01825801655650139,
0.05844803526997566,
-0.05147306248545647,
-0.08086492121219635,
0.006611304357647896,
-0.04419969394803047,
-0.026948757469654083,
-0.00791211798787117,
0.026948757469654083,
-0.03424077481031418,
-0.004545854404568672,
-0.009511326439678669,
-0.006289597600698471,
0.03403563052415848,
-0.04804152250289917,
0.007739608641713858,
0.023741016164422035,
-0.020551925525069237,
0.019992435351014137,
0.037616364657878876,
0.0021785134449601173,
0.03683307766914368,
0.07165199518203735,
-0.003713613608852029,
-0.003627358702942729,
-0.007893468253314495,
-0.057030659168958664,
0.07914915680885315,
-0.01564706489443779,
-0.021950649097561836,
-0.0025806466583162546,
0.07788097858428955,
-0.012924213893711567,
0.023591820150613785,
-0.06628089398145676,
0.013259908184409142,
0.03683307766914368,
0.03412887826561928,
0.02922401763498783,
-0.055202994495630264,
-0.04293151572346687,
0.06195417046546936,
-0.041439544409513474,
-0.04289421811699867,
-0.0017752144485712051,
0.04986919090151787,
-0.004904860630631447,
0.0004123323305975646,
-0.040096767246723175,
0.07582951337099075,
0.04293151572346687,
-0.004886210896074772,
0.01521812193095684,
0.04781772568821907,
0.03560220077633858,
0.022603387013077736,
-0.03008190169930458,
0.040171366184949875,
-0.01742810755968094,
-0.005068045109510422,
0.027843942865729332,
0.019656741991639137,
-0.03741121664643288,
0.010676930658519268,
0.05147306248545647,
-0.027004707604646683,
0.06646738946437836,
-0.01617858000099659,
0.03412887826561928,
0.056210074573755264,
0.028851022943854332,
0.04875021055340767,
-0.0069936225190758705,
-0.039350781589746475,
0.028552629053592682,
-0.026631714776158333,
-0.019376996904611588,
-0.05035408213734627,
0.03308449685573578,
-0.06247635930776596,
0.012737717479467392,
-0.055687885731458664,
0.005786057095974684,
0.009632549248635769,
-0.013045436702668667,
-0.011124522425234318,
-0.021204663440585136,
0.014220365323126316,
-0.007231405470520258,
-0.005692808423191309,
-0.038231801241636276,
0.055538687855005264,
-0.06713877618312836,
-0.011637387797236443,
0.03302854672074318,
-0.026650363579392433,
0.012905564159154892,
0.006606642156839371,
0.01599208265542984,
0.053822919726371765,
0.037653662264347076,
0.04930970072746277,
0.01572166383266449,
-0.03054814226925373,
0.005706795956939459,
0.009819045662879944,
0.0032916648779064417,
0.05814963951706886,
-0.004928172565996647,
-0.026165472343564034,
-0.007893468253314495,
0.05225634574890137,
0.05885832756757736,
0.006145062856376171,
-0.0016563228564336896,
0.03263690322637558,
0.025121090933680534,
0.005972553510218859,
0.03032434731721878,
-0.06665388494729996,
-0.019302397966384888,
0.021204663440585136,
0.05248014256358147,
-0.03312179446220398,
-0.06758636981248856,
-0.03110763244330883,
-0.011124522425234318,
-0.006145062856376171,
-0.03088383562862873,
-0.024188607931137085,
0.03675847873091698,
-0.020085683092474937,
0.01617858000099659,
-0.040544360876083374,
-0.056956060230731964,
-0.03485621511936188,
-0.024766748771071434,
-0.07788097858428955,
0.024897295981645584,
-0.056210074573755264,
0.03011920116841793,
-0.02866452746093273,
0.0007757092826068401,
-0.04274502024054527,
0.039798375219106674,
-0.0017693864647299051,
-0.01718566194176674,
0.012001056224107742,
-0.042446624487638474,
-0.03534110635519028,
-0.05039137974381447,
-0.0006574005237780511,
-0.01619722880423069,
0.01611330546438694,
-0.009474026970565319,
-0.04401319846510887,
0.04226012900471687,
-0.03017514944076538,
-0.039313483983278275,
0.008597493171691895,
0.05292773246765137,
-0.014817154966294765,
-0.00034676710492931306,
0.018155444413423538,
0.07254717499017715,
0.013791423290967941,
-0.037616364657878876,
-0.00029198374249972403,
-0.03101438470184803,
-0.027340400964021683,
0.012084979563951492,
-0.001957048662006855,
0.03515460714697838,
-0.058037739247083664,
0.009902969002723694,
0.020085683092474937,
-0.01726958528161049,
0.0028207609429955482,
-0.09130873531103134,
0.024356456473469734,
-0.009651198983192444,
0.04733283817768097,
0.0015817242674529552,
-0.018854806199669838,
-0.039052385836839676,
0.026557115837931633,
-0.06240176036953926,
-0.05154765769839287,
0.040320564061403275,
0.006070464383810759,
-0.08422186225652695,
0.04647495225071907,
0.05173415690660477,
-0.07187578827142715,
0.00747851375490427,
0.012495271861553192,
0.001561908982694149,
-0.0012728392612189054,
-0.03409157693386078,
-0.008886562660336494,
-0.010826127603650093,
0.004280096851289272,
-0.024151308462023735,
-0.05151036009192467,
-0.01818341761827469,
0.07907455414533615,
-0.003051550593227148,
0.05967891216278076,
-0.03207741305232048,
0.005007433705031872,
-0.012952188961207867,
-0.010229337960481644,
-0.007170794066041708,
0.037560414522886276,
0.0018999341409653425,
0.05814963951706886,
0.019265098497271538,
0.021782802417874336,
0.06792206317186356,
-0.055165693163871765,
-0.00023836595937609673,
-0.013399780727922916,
-0.03366263583302498,
-0.007231405470520258,
0.027377700433135033,
-0.03577004745602608,
0.009679173119366169,
0.026967408135533333,
0.021353861317038536,
-0.04632575437426567,
-0.026613064110279083,
-0.01643967442214489,
-0.04971999302506447,
-0.022566087543964386,
-0.03317774459719658,
0.09175632894039154,
-0.008187200874090195,
-0.011898483149707317,
0.0040259952656924725,
0.04785502701997757,
0.022006599232554436,
-0.024524303153157234,
-0.036553334444761276,
-0.008247812278568745,
-0.014378887601196766,
0.002881372347474098,
-0.0016027051024138927,
0.010667605325579643,
-0.027843942865729332,
-0.038604795932769775,
-0.040618959814310074,
-0.03299124911427498,
0.019302397966384888,
0.006713877432048321,
-0.00776758324354887,
-0.01533002033829689,
-0.04572896659374237,
0.03468836843967438,
-0.01620655506849289,
-0.0005125742172822356,
0.04882480949163437,
0.009679173119366169,
0.00760906096547842,
0.026930108666419983,
0.01791299879550934,
0.01443483680486679,
-0.020085683092474937,
0.054158613085746765,
-0.011525489389896393,
-0.03573274984955788,
0.02918671816587448,
0.011991730891168118,
0.011805234476923943,
0.03362533822655678,
-0.007786232978105545,
0.055837079882621765,
-0.021987948566675186,
-0.03636683523654938,
0.005137981381267309,
-0.008424983359873295,
-0.03177902102470398,
0.024039411917328835,
0.01438821293413639,
-0.06344614177942276,
-0.02913076803088188,
-0.040357865393161774,
0.00437567662447691,
0.015115548856556416,
0.01654224842786789,
0.0012984825298190117,
0.013968595303595066,
-0.040245965123176575
] |
730,031 | mmengine.config.config | ConfigDict | A dictionary for config which has the same interface as python's built-
in dictionary and can be used as a normal dictionary.
The Config class would transform the nested fields (dictionary-like fields)
in config file into ``ConfigDict``.
If the class attribute ``lazy`` is ``False``, users will get the
object built by ``LazyObject`` or ``LazyAttr``, otherwise users will get
the ``LazyObject`` or ``LazyAttr`` itself.
The ``lazy`` should be set to ``True`` to avoid building the imported
object during configuration parsing, and it should be set to False outside
the Config to ensure that users do not experience the ``LazyObject``.
| class ConfigDict(Dict):
"""A dictionary for config which has the same interface as python's built-
in dictionary and can be used as a normal dictionary.
The Config class would transform the nested fields (dictionary-like fields)
in config file into ``ConfigDict``.
If the class attribute ``lazy`` is ``False``, users will get the
object built by ``LazyObject`` or ``LazyAttr``, otherwise users will get
the ``LazyObject`` or ``LazyAttr`` itself.
The ``lazy`` should be set to ``True`` to avoid building the imported
object during configuration parsing, and it should be set to False outside
the Config to ensure that users do not experience the ``LazyObject``.
"""
lazy = False
def __init__(__self, *args, **kwargs):
object.__setattr__(__self, '__parent', kwargs.pop('__parent', None))
object.__setattr__(__self, '__key', kwargs.pop('__key', None))
object.__setattr__(__self, '__frozen', False)
for arg in args:
if not arg:
continue
# Since ConfigDict.items will convert LazyObject to real object
# automatically, we need to call super().items() to make sure
# the LazyObject will not be converted.
if isinstance(arg, ConfigDict):
for key, val in dict.items(arg):
__self[key] = __self._hook(val)
elif isinstance(arg, dict):
for key, val in arg.items():
__self[key] = __self._hook(val)
elif isinstance(arg, tuple) and (not isinstance(arg[0], tuple)):
__self[arg[0]] = __self._hook(arg[1])
else:
for key, val in iter(arg):
__self[key] = __self._hook(val)
for key, val in dict.items(kwargs):
__self[key] = __self._hook(val)
def __missing__(self, name):
raise KeyError(name)
def __getattr__(self, name):
try:
value = super().__getattr__(name)
if isinstance(value, (LazyAttr, LazyObject)) and not self.lazy:
value = value.build()
except KeyError:
raise AttributeError(f"'{self.__class__.__name__}' object has no "
f"attribute '{name}'")
except Exception as e:
raise e
else:
return value
@classmethod
def _hook(cls, item):
# avoid to convert user defined dict to ConfigDict.
if type(item) in (dict, OrderedDict):
return cls(item)
elif isinstance(item, (list, tuple)):
return type(item)(cls._hook(elem) for elem in item)
return item
def __setattr__(self, name, value):
value = self._hook(value)
return super().__setattr__(name, value)
def __setitem__(self, name, value):
value = self._hook(value)
return super().__setitem__(name, value)
def __getitem__(self, key):
return self.build_lazy(super().__getitem__(key))
def __deepcopy__(self, memo):
other = self.__class__()
memo[id(self)] = other
for key, value in super().items():
other[copy.deepcopy(key, memo)] = copy.deepcopy(value, memo)
return other
def __copy__(self):
other = self.__class__()
for key, value in super().items():
other[key] = value
return other
copy = __copy__
def __iter__(self):
# Implement `__iter__` to overwrite the unpacking operator `**cfg_dict`
# to get the built lazy object
return iter(self.keys())
def get(self, key: str, default: Optional[Any] = None) -> Any:
"""Get the value of the key. If class attribute ``lazy`` is True, the
LazyObject will be built and returned.
Args:
key (str): The key.
default (any, optional): The default value. Defaults to None.
Returns:
Any: The value of the key.
"""
return self.build_lazy(super().get(key, default))
def pop(self, key, default=None):
"""Pop the value of the key. If class attribute ``lazy`` is True, the
LazyObject will be built and returned.
Args:
key (str): The key.
default (any, optional): The default value. Defaults to None.
Returns:
Any: The value of the key.
"""
return self.build_lazy(super().pop(key, default))
def update(self, *args, **kwargs) -> None:
"""Override this method to make sure the LazyObject will not be built
during updating."""
other = {}
if args:
if len(args) > 1:
raise TypeError('update only accept one positional argument')
# Avoid to used self.items to build LazyObject
for key, value in dict.items(args[0]):
other[key] = value
for key, value in dict(kwargs).items():
other[key] = value
for k, v in other.items():
if ((k not in self) or (not isinstance(self[k], dict))
or (not isinstance(v, dict))):
self[k] = self._hook(v)
else:
self[k].update(v)
def build_lazy(self, value: Any) -> Any:
"""If class attribute ``lazy`` is False, the LazyObject will be built
and returned.
Args:
value (Any): The value to be built.
Returns:
Any: The built value.
"""
if isinstance(value, (LazyAttr, LazyObject)) and not self.lazy:
value = value.build()
return value
def values(self):
"""Yield the values of the dictionary.
If class attribute ``lazy`` is False, the value of ``LazyObject`` or
``LazyAttr`` will be built and returned.
"""
values = []
for value in super().values():
values.append(self.build_lazy(value))
return values
def items(self):
"""Yield the keys and values of the dictionary.
If class attribute ``lazy`` is False, the value of ``LazyObject`` or
``LazyAttr`` will be built and returned.
"""
items = []
for key, value in super().items():
items.append((key, self.build_lazy(value)))
return items
def merge(self, other: dict):
"""Merge another dictionary into current dictionary.
Args:
other (dict): Another dictionary.
"""
default = object()
def _merge_a_into_b(a, b):
if isinstance(a, dict):
if not isinstance(b, dict):
a.pop(DELETE_KEY, None)
return a
if a.pop(DELETE_KEY, False):
b.clear()
all_keys = list(b.keys()) + list(a.keys())
return {
key:
_merge_a_into_b(a.get(key, default), b.get(key, default))
for key in all_keys if key != DELETE_KEY
}
else:
return a if a is not default else b
merged = _merge_a_into_b(copy.deepcopy(other), copy.deepcopy(self))
self.clear()
for key, value in merged.items():
self[key] = value
def __reduce_ex__(self, proto):
# Override __reduce_ex__ to avoid `self.items` will be
# called by CPython interpreter during pickling. See more details in
# https://github.com/python/cpython/blob/8d61a71f9c81619e34d4a30b625922ebc83c561b/Objects/typeobject.c#L6196 # noqa: E501
if digit_version(platform.python_version()) < digit_version('3.8'):
return (self.__class__, ({k: v
for k, v in super().items()}, ), None,
None, None)
else:
return (self.__class__, ({k: v
for k, v in super().items()}, ), None,
None, None, None)
def __eq__(self, other):
if isinstance(other, ConfigDict):
return other.to_dict() == self.to_dict()
elif isinstance(other, dict):
return | (*args, **kwargs) | [
0.01785965822637081,
-0.027536269277334213,
-0.04097834229469299,
-0.00476204976439476,
0.019353222101926804,
0.030060602352023125,
-0.01636609435081482,
-0.010759970173239708,
0.05494632199406624,
-0.0755196362733841,
0.002420467557385564,
0.03990550339221954,
0.00934529211372137,
0.04855134338140488,
-0.03260597214102745,
0.024002201855182648,
-0.011464680545032024,
0.055282898247241974,
-0.011370018124580383,
-0.010733675211668015,
0.029850240796804428,
-0.034835800528526306,
0.014967192895710468,
0.03996860980987549,
-0.004212480969727039,
-0.05553533136844635,
0.0009814660297706723,
0.04383925348520279,
0.014315073378384113,
-0.014988228678703308,
-0.0313858762383461,
-0.009776532649993896,
0.01881680078804493,
-0.0002327119727851823,
0.024317743256688118,
-0.09794413298368454,
0.023413190618157387,
0.07211178541183472,
-0.051286038011312485,
0.005093368235975504,
0.012316642329096794,
-0.0077255116775631905,
-0.03818054124712944,
-0.02261381968855858,
0.02833564020693302,
0.027367979288101196,
-0.01972135342657566,
0.07871712744235992,
0.009576689451932907,
-0.055282898247241974,
0.04123077541589737,
-0.020846785977482796,
0.010917741805315018,
0.036897338926792145,
0.0024099494330585003,
0.024443959817290306,
-0.010702121071517467,
0.029555736109614372,
-0.009787050075829029,
0.03778085485100746,
-0.0222141332924366,
-0.008919310756027699,
0.01173814944922924,
-0.03517237678170204,
-0.025201261043548584,
-0.058480385690927505,
-0.06163580343127251,
-0.013410520739853382,
0.008624805137515068,
-0.0399896465241909,
-0.03409953415393829,
-0.008603769354522228,
0.035677243024110794,
0.007530927658081055,
-0.0008407870191149414,
-0.018827319145202637,
-0.024443959817290306,
-0.02379184029996395,
0.0799792930483818,
-0.017018213868141174,
-0.011685559526085854,
-0.046700164675712585,
-0.05284271016716957,
-0.02297143265604973,
-0.01722857542335987,
0.013305339962244034,
-0.0011852533789351583,
-0.00318171177059412,
0.0712282732129097,
0.037339095026254654,
-0.028840508311986923,
0.08793094009160995,
0.011874884366989136,
0.00792535487562418,
-0.023665623739361763,
-0.011864366009831429,
0.021288543939590454,
0.019437367096543312,
-0.0008118624100461602,
0.00978179182857275,
0.007394192740321159,
-0.06117301061749458,
-0.019973786547780037,
-0.006778886541724205,
-0.01857488602399826,
-0.05242198705673218,
-0.009024491533637047,
0.0006994506693445146,
-0.003465699264779687,
-0.04253501445055008,
-0.030691685155034065,
-0.03967410326004028,
-0.046658094972372055,
0.04505934938788414,
0.02212998829782009,
0.006442308891564608,
-0.057807233184576035,
-0.04501727595925331,
0.034288860857486725,
0.013620881363749504,
-0.02387598529458046,
0.02288728766143322,
-0.04137802869081497,
0.07055511325597763,
0.026463426649570465,
0.021604085341095924,
0.016849923878908157,
-0.011022921651601791,
0.024717429652810097,
0.006089954171329737,
0.0315331295132637,
0.019510991871356964,
-0.013820724561810493,
-0.01735479198396206,
0.070807546377182,
-0.017523080110549927,
-0.02446499653160572,
0.00010822092735907063,
-0.040410369634628296,
0.027494195848703384,
0.029429519549012184,
-0.0275152325630188,
0.008083125576376915,
0.02688414976000786,
-0.02134113386273384,
-0.04678431153297424,
-0.006910362280905247,
0.03008163906633854,
0.00040198693750426173,
-0.025916488841176033,
0.004804121796041727,
0.0034288859460502863,
-0.011412089690566063,
0.08616390824317932,
-0.05372622609138489,
0.014209892600774765,
-0.06761006265878677,
-0.02478053793311119,
-0.01822778955101967,
-0.043418534100055695,
-0.03696044534444809,
0.015345842577517033,
0.0012910913210362196,
-0.043460603803396225,
-0.018006911501288414,
0.010744193568825722,
0.038159504532814026,
-0.12386061996221542,
0.009361069649457932,
0.04556421563029289,
-0.02976609580218792,
-0.03763360157608986,
0.0399896465241909,
0.057218220084905624,
-0.010744193568825722,
0.07577206939458847,
-0.020930930972099304,
-0.008740504272282124,
-0.016313504427671432,
-0.01738634519279003,
-0.004599019885063171,
-0.0026518646627664566,
-0.04459655284881592,
-0.022508637979626656,
0.008009498938918114,
0.037486348301172256,
0.01995275169610977,
0.009876454249024391,
0.0729532316327095,
0.041609425097703934,
0.007026060950011015,
-0.017985874786973,
0.03184867277741432,
-0.024338779971003532,
-0.019574100151658058,
0.038285721093416214,
-0.05662921071052551,
-0.009787050075829029,
0.025264369323849678,
0.08553282916545868,
-0.08536453545093536,
-0.03134380653500557,
0.02738901600241661,
-0.026274101808667183,
-0.018722139298915863,
-0.019626691937446594,
0.025075044482946396,
-0.016155732795596123,
0.006426531821489334,
0.014062640257179737,
-0.03372088447213173,
-0.014777868054807186,
0.0030502360314130783,
0.01088618766516447,
0.024990899488329887,
-0.07737081497907639,
0.05301100015640259,
-0.004175668116658926,
-0.062435176223516464,
-0.012032655067741871,
0.09112843126058578,
0.04548007249832153,
0.022466566413640976,
0.014630614779889584,
0.005890110973268747,
-0.053894516080617905,
-0.024338779971003532,
-0.006894585210829973,
0.03479372709989548,
0.002440188778564334,
0.0275152325630188,
-0.0042650713585317135,
0.015345842577517033,
-0.000890090421307832,
0.11670833826065063,
-0.008509106934070587,
0.00788854155689478,
-0.02913501299917698,
0.018006911501288414,
0.06075228750705719,
0.02747316099703312,
0.001972135389223695,
-0.0064528267830610275,
-0.03412057086825371,
-0.01822778955101967,
-0.014146784320473671,
0.023897022008895874,
0.04118870571255684,
0.007625590078532696,
0.027052437886595726,
0.024717429652810097,
0.02194066345691681,
-0.020142076537013054,
0.040094826370477676,
-0.009240111336112022,
-0.01727064698934555,
0.03386813774704933,
-0.003239561105147004,
-0.012958244420588017,
-0.026063740253448486,
0.026105813682079315,
-0.018206752836704254,
-0.021404242143034935,
0.10139404982328415,
-0.007599295116961002,
0.00447806203737855,
0.05608227103948593,
-0.028125280514359474,
-0.03836986422538757,
0.04484898969531059,
0.07535135000944138,
-0.007052355911582708,
0.033889174461364746,
0.01572449319064617,
-0.04636358842253685,
0.02012103982269764,
0.028735326603055,
-0.026631716638803482,
-0.002136480063199997,
0.002049705944955349,
-0.0003424941678531468,
-0.03165934607386589,
0.005495683755725622,
-0.03706562519073486,
0.008235637098550797,
-0.017880694940686226,
-0.11275355517864227,
0.019931714981794357,
0.022655891254544258,
0.014010049402713776,
0.07455197721719742,
-0.04590079188346863,
0.016071587800979614,
0.020941447466611862,
0.028209423646330833,
-0.03992653638124466,
-0.10063675045967102,
0.007483596447855234,
0.019153378903865814,
-0.03578242287039757,
0.03321601822972298,
-0.018985088914632797,
0.014893566258251667,
0.04192496836185455,
0.048677559942007065,
-0.05019215866923332,
0.037843961268663406,
-0.01652386412024498,
-0.005606123711913824,
0.05179090425372124,
0.007394192740321159,
0.007131241727620363,
0.046658094972372055,
0.052632350474596024,
-0.03534066677093506,
-0.06386563181877136,
-0.022824179381132126,
-0.034962017089128494,
0.016786815598607063,
0.013925905339419842,
-0.06500158458948135,
0.0451434925198555,
-0.02703140303492546,
-0.006831476930528879,
0.013094978407025337,
-0.02928226627409458,
0.08473345637321472,
0.030923083424568176,
0.02387598529458046,
-0.0030554949771612883,
-0.07463612407445908,
-0.032311465591192245,
0.006437049712985754,
0.04783611372113228,
0.02047865279018879,
0.01708132214844227,
0.01936374045908451,
-0.017165467143058777,
0.01112810242921114,
-0.11998997628688812,
0.026421355083584785,
0.009361069649457932,
-0.030334072187542915,
-0.022676927968859673,
-0.0389799140393734,
-0.018311934545636177,
0.07030268013477325,
0.009061304852366447,
0.055072538554668427,
-0.004391287919133902,
0.0234342273324728,
-0.05343171954154968,
0.010302435606718063,
0.010065779089927673,
0.0061109899543225765,
-0.06992403417825699,
-0.008803612552583218,
-0.07695009559392929,
-0.00007379073213087395,
-0.04062072932720184,
0.03794914484024048,
0.0033184464555233717,
-0.04074694588780403,
0.02755730412900448,
0.041083525866270065,
0.01454647071659565,
-0.0543152391910553,
-0.037297025322914124,
-0.015219626016914845,
-0.06689482927322388,
0.0037391686346381903,
-0.008961383253335953,
0.013431556522846222,
-0.007325825747102499,
0.03489890694618225,
-0.04560628905892372,
-0.02419152669608593,
0.0683673620223999,
-0.025011936202645302,
0.061677876859903336,
0.055282898247241974,
0.002541425172239542,
0.00238102488219738,
0.019184932112693787,
0.018469704315066338,
-0.026505500078201294,
0.05208541080355644,
-0.03130173310637474,
0.046027008444070816,
-0.019784461706876755,
-0.020289327949285507,
0.004677905235439539,
-0.020689014345407486,
0.04083108901977539,
-0.05856453254818916,
-0.03639247268438339,
0.020994039252400398,
0.00013114699686411768,
0.006852513179183006,
-0.014409735798835754,
0.050528738647699356,
-0.03321601822972298,
0.054525598883628845,
0.012968761846423149,
0.04232465475797653,
-0.024023238569498062,
0.05545118823647499,
0.026105813682079315,
0.02067849598824978,
0.05873282253742218,
0.027262799441814423,
0.017996393144130707,
-0.04699467122554779,
0.010307693853974342,
0.0180595014244318,
-0.07249043881893158,
0.01081256102770567,
-0.020899375900626183,
-0.007194350007921457,
0.042114295065402985,
0.03990550339221954,
-0.007094428408890963,
-0.02351837232708931,
-0.02280314452946186,
-0.008088384754955769,
0.003060754155740142,
-0.0528847835958004,
0.010323471389710903,
-0.02419152669608593,
0.014535952359437943,
0.005138069856911898,
-0.012716328725218773,
-0.01711287535727024,
-0.024948827922344208,
0.00031406254856847227,
-0.04455448314547539,
0.0041151889599859715,
-0.044091686606407166,
0.007830692455172539,
0.01405212190002203,
-0.022193096578121185,
0.039106130599975586,
0.03836986422538757,
0.011296391487121582,
0.03578242287039757,
0.020878339186310768,
-0.013610363937914371,
0.031491056084632874,
0.07703423500061035,
0.02509607933461666,
0.016418684273958206,
0.014988228678703308,
0.020604871213436127,
0.017964838072657585,
-0.06580095738172531,
-0.03355259820818901,
-0.003839090233668685,
0.006489640101790428,
-0.026610679924488068,
0.04699467122554779,
0.005385244265198708,
-0.05027630552649498,
0.005653454922139645,
-0.020015859976410866,
-0.047457464039325714,
0.01191695686429739,
0.022697962820529938,
0.050065942108631134,
-0.07787568122148514,
-0.02083626762032509,
0.025516802445054054,
0.011927474290132523,
-0.0315331295132637,
-0.01904819905757904,
-0.05040252208709717,
-0.02513815276324749,
0.02833564020693302,
-0.0017473119078204036,
-0.0663478896021843,
-0.0931478962302208,
0.04173564165830612,
-0.0011872254544869065,
0.025706127285957336,
-0.059195615351200104,
0.0045516882091760635,
-0.038285721093416214,
0.03832779452204704,
0.012569076381623745,
0.02604270540177822,
0.06470707803964615,
-0.05170676112174988,
0.007799137849360704,
-0.022193096578121185,
0.004719977267086506,
0.021877555176615715,
0.0022521784994751215,
-0.031280696392059326,
0.03822261467576027,
0.05435730889439583,
-0.0748044103384018,
-0.03736013174057007,
0.002010263269767165,
0.027935955673456192,
0.06739969551563263,
-0.021877555176615715,
-0.02581130713224411,
-0.025075044482946396,
0.0514543280005455,
0.016692154109477997,
-0.03940063342452049,
0.001319358590990305,
-0.03691837564110756,
0.0290929414331913,
-0.008835166692733765,
0.032584935426712036,
-0.06125715374946594,
-0.009697646833956242,
0.01513548195362091,
-0.04712088778614998,
-0.0652119442820549,
0.028630146756768227,
0.0264423917979002,
0.028945688158273697,
-0.00786750577390194,
-0.048677559942007065,
0.042829521000385284,
0.06660032272338867,
-0.011180692352354527,
0.021393723785877228,
-0.00556405121460557,
0.027304871007800102,
-0.03170141950249672,
-0.005926924291998148,
0.03287944197654724,
0.004556947387754917,
0.018122609704732895,
0.0008815444889478385,
0.002616366371512413,
-0.0003894967376254499,
0.028041135519742966,
0.06054192781448364,
0.05511460825800896,
0.07758117467164993,
0.034919943660497665,
0.01061271782964468,
-0.012085245922207832,
0.01643972098827362,
0.0234342273324728,
-0.018290897831320763,
-0.010896705090999603,
-0.03003956563770771,
-0.025075044482946396,
0.028272531926631927,
-0.017764994874596596,
-0.020773159340023994,
-0.07800190150737762,
0.030965154990553856,
-0.06218274310231209,
0.006042622961103916,
0.026821041479706764,
0.009897490032017231,
0.07030268013477325,
-0.033426377922296524,
0.0006254956242628396,
0.03546688333153725,
0.021604085341095924,
0.004651609808206558,
0.059111472219228745,
-0.02039450965821743,
0.016502829268574715,
0.021961700171232224,
0.0468684546649456,
-0.037928108125925064,
-0.007588776759803295,
0.002085204469040036,
0.04775197058916092,
-0.04455448314547539,
0.017964838072657585,
0.010071038268506527,
-0.06727348268032074,
-0.00527743436396122,
0.024486033245921135,
0.026589643210172653,
-0.024128418415784836,
0.0020207813940942287,
-0.022361384704709053,
-0.008635323494672775,
0.09003455191850662,
0.014893566258251667,
-0.04074694588780403,
-0.03273218870162964,
0.01589278131723404,
-0.027683520689606667,
-0.022382421419024467,
0.0321011058986187,
0.01333689410239458,
-0.03407849743962288,
-0.00879309419542551,
0.0015869116177782416,
-0.051201894879341125,
-0.050570808351039886,
-0.023223865777254105,
-0.02036295458674431,
0.019752908498048782,
-0.030733756721019745,
-0.02252967469394207,
0.030902046710252762,
0.008114679716527462,
0.027620412409305573,
-0.024717429652810097,
-0.027893882244825363,
0.0006669104332104325,
0.041756678372621536,
0.00240600504912436,
-0.001533006550744176,
-0.07236421853303909,
-0.04838305339217186,
0.02280314452946186,
0.01787017658352852,
-0.04026311635971069,
-0.030502360314130783,
-0.025706127285957336,
-0.026147885248064995,
0.02675793319940567,
-0.06638996303081512,
-0.02284521609544754,
-0.022151025012135506,
-0.021562013775110245,
-0.009550394490361214,
0.009739719331264496,
0.018953535705804825,
0.010539091192185879,
0.031196551397442818,
0.01088618766516447,
-0.01822778955101967,
0.00893508829176426,
0.044091686606407166,
0.022108951583504677,
-0.034330934286117554,
0.030228890478610992,
0.013378966599702835,
-0.060499854385852814,
-0.020720569416880608,
0.04293470084667206,
-0.07413125038146973,
0.013915386982262135,
0.01432559173554182,
0.002145683392882347,
0.07808604091405869,
-0.001076785963959992,
0.023665623739361763,
0.009960598312318325,
-0.010781006887555122,
-0.004099411889910698,
-0.03948478028178215,
-0.011254318989813328,
0.043460603803396225,
-0.010418133810162544,
0.031091371551156044,
0.018564367666840553,
-0.011759186163544655,
-0.027010366320610046,
-0.0536000095307827,
-0.046027008444070816,
0.03681319206953049,
-0.0018222531070932746,
-0.040894199162721634,
0.02316075749695301,
0.07530927658081055,
0.01904819905757904,
0.003896939568221569,
-0.044049616903066635,
-0.0177018865942955,
-0.022193096578121185,
-0.03906405717134476,
-0.04095730558037758,
-0.005637677852064371,
0.03348948806524277,
0.019216487184166908,
0.0020365584641695023,
0.006931398529559374,
0.05237991362810135,
-0.06146751344203949,
0.06146751344203949,
-0.05368415266275406,
0.009219075553119183,
0.027872847393155098,
-0.025075044482946396,
-0.010980850085616112,
-0.041041452437639236,
0.020720569416880608,
0.00950832199305296,
0.01735479198396206,
0.005117034073919058,
-0.04619529843330383,
-0.09584052115678787,
-0.01033924799412489,
-0.048593416810035706,
-0.008346077054738998,
-0.028524966910481453,
0.050528738647699356,
-0.007367897778749466,
0.022361384704709053,
-0.03660283237695694,
0.004070487339049578,
0.020047413185238838,
-0.04388132691383362,
0.017849139869213104,
0.03363674134016037,
0.030923083424568176,
0.020015859976410866,
0.13782860338687897,
0.03357363119721413,
-0.08208290487527847,
0.020015859976410866,
0.025474730879068375,
0.03058650530874729,
-0.007567740976810455,
-0.046616021543741226,
0.018722139298915863,
-0.01825934462249279,
0.02886154316365719,
0.008424961939454079,
-0.003373666200786829,
0.03925338387489319,
0.013052906841039658,
0.05540911480784416,
-0.03254286199808121,
-0.03178556263446808,
0.005669231992214918,
0.05406280606985092,
0.0022981951478868723,
-0.051832977682352066,
-0.005837520584464073,
-0.00343940407037735,
-0.0581858828663826,
0.00092887575738132,
0.026905184611678123,
-0.020583834499120712,
0.029850240796804428,
-0.021646156907081604,
0.013116015121340752,
0.00788854155689478,
0.09247474372386932,
-0.035235486924648285,
-0.06066814437508583,
0.05885903909802437,
0.03929545357823372,
0.0008618231513537467,
0.012958244420588017,
0.020615387707948685,
0.0613412968814373,
-0.050697024911642075,
0.032795295119285583,
0.0458587221801281,
-0.04120974242687225,
-0.0451434925198555,
-0.05372622609138489,
-0.011054475791752338,
-0.061046794056892395,
-0.03710769861936569,
-0.06294004619121552,
0.014725277200341225,
0.006694742012768984,
0.034015391021966934,
0.0245070680975914,
-0.008840425871312618,
-0.0002105254534399137
] |
730,033 | mmengine.config.config | __copy__ | null | def __copy__(self):
other = self.__class__()
for key, value in super().items():
other[key] = value
return other
| (self) | [
-0.008829004131257534,
-0.038312528282403946,
-0.015526562929153442,
-0.029483523219823837,
-0.07805196940898895,
0.01116556953638792,
-0.010077551007270813,
-0.004133579321205616,
0.09802870452404022,
-0.007986235432326794,
-0.04683831334114075,
0.0022217431105673313,
0.0031659561209380627,
0.08054906129837036,
-0.026825904846191406,
0.013011634349822998,
0.031053125858306885,
0.03313998132944107,
-0.01507173478603363,
-0.01566925272345543,
0.02791392244398594,
-0.0374920554459095,
0.012414115481078625,
0.029626214876770973,
-0.013181079179048538,
0.027717722579836845,
-0.036707255989313126,
-0.005747770890593529,
0.07926484197378159,
-0.0025327650364488363,
-0.02356184832751751,
-0.03317565470933914,
-0.0028850333765149117,
0.048158206045627594,
0.019495155662298203,
-0.0635688304901123,
-0.0537944994866848,
0.0051948437467217445,
-0.0352981798350811,
0.06834898144006729,
0.01958433724939823,
-0.031231489032506943,
-0.02220628410577774,
-0.03069639764726162,
0.06488872319459915,
0.023704539984464645,
0.020868556573987007,
0.010478869080543518,
0.08761226385831833,
-0.03217681497335434,
-0.013555643148720264,
0.012842188589274883,
-0.01700698211789131,
0.011174487881362438,
-0.03845521807670593,
0.027771232649683952,
0.015169834718108177,
0.02254517562687397,
-0.0998123437166214,
0.07691043615341187,
-0.05443660914897919,
-0.050262898206710815,
-0.012761924415826797,
-0.07434200495481491,
0.016712680459022522,
-0.052581626921892166,
-0.04830089583992958,
-0.014402871020138264,
0.04723071679472923,
-0.03023265115916729,
0.021260956302285194,
-0.014179916121065617,
-0.006046530324965715,
0.019263282418251038,
-0.025274140760302544,
0.04690966010093689,
-0.03437069058418274,
-0.0009102124022319913,
0.03636836260557175,
-0.04077394679188728,
-0.010220241732895374,
-0.05193951725959778,
-0.09182164818048477,
0.059930212795734406,
-0.04480496793985367,
0.043592095375061035,
-0.003402288071811199,
-0.02875223197042942,
0.025398993864655495,
0.023526174947619438,
-0.0019029179820790887,
0.08254673331975937,
-0.025898413732647896,
0.018942227587103844,
0.03103528916835785,
-0.03180225193500519,
-0.032355181872844696,
0.010701823979616165,
0.0033510085195302963,
0.022188447415828705,
-0.025595195591449738,
0.008445522747933865,
-0.02229546569287777,
-0.017301281914114952,
0.010799923911690712,
-0.004554963670670986,
0.025113612413406372,
-0.045161694288253784,
-0.0061669256538152695,
0.01751531846821308,
-0.020511828362941742,
0.06360450387001038,
-0.01997673697769642,
0.036457546055316925,
-0.01814850978553295,
0.004646375309675932,
-0.030803415924310684,
0.016694845631718636,
0.019691355526447296,
0.048193879425525665,
-0.01040752325206995,
0.0720946192741394,
0.02939434163272381,
0.043378058820962906,
0.012886779382824898,
0.0416300930082798,
-0.0015785190043970942,
-0.014179916121065617,
-0.0021425941959023476,
-0.023972084745764732,
-0.039025984704494476,
-0.032533545047044754,
-0.00020762652275152504,
0.019691355526447296,
0.029483523219823837,
-0.030963942408561707,
0.022901901975274086,
0.03656456246972084,
0.06028693914413452,
0.036956965923309326,
0.033246997743844986,
0.01684645377099514,
0.07748120278120041,
0.047979842871427536,
-0.019245445728302002,
-0.05222490057349205,
0.014768516644835472,
0.0618208684027195,
0.0011047403095290065,
-0.01414424367249012,
0.012538970448076725,
0.0878976434469223,
0.024774720892310143,
0.04548275098204613,
-0.04480496793985367,
-0.005828034598380327,
-0.042842965573072433,
-0.04252191260457039,
-0.02356184832751751,
0.008481195196509361,
-0.009854596108198166,
0.02807445079088211,
0.04366344213485718,
-0.08868244290351868,
-0.03381776437163353,
0.0072415671311318874,
0.07883676886558533,
-0.05914541333913803,
0.04316402226686478,
-0.007598294876515865,
-0.04166576638817787,
-0.08040636777877808,
0.014884453266859055,
0.025149285793304443,
-0.02035130187869072,
0.04969213530421257,
-0.007031989749521017,
-0.020493991672992706,
0.00378354056738317,
0.01806824468076229,
0.027789069339632988,
-0.055792175233364105,
-0.04509035125374794,
0.025060104206204414,
0.03888329118490219,
-0.04209383949637413,
0.02415044791996479,
0.05472199246287346,
0.03223032504320145,
0.033585891127586365,
0.03248003497719765,
-0.0023254170082509518,
0.001432483666576445,
-0.022188447415828705,
-0.018184181302785873,
-0.046802643686532974,
-0.04662427678704262,
-0.043627768754959106,
-0.05928810313344002,
0.14954015612602234,
-0.06285537779331207,
-0.01017565093934536,
0.010389687493443489,
-0.010434278286993504,
0.013832107186317444,
-0.012538970448076725,
0.004851493518799543,
-0.06435362994670868,
0.020886393263936043,
-0.015553317032754421,
0.006452308036386967,
-0.009890268556773663,
0.03995347395539284,
-0.03931136429309845,
0.025987595319747925,
-0.0374920554459095,
-0.029537033289670944,
-0.03709965571761131,
-0.012039551511406898,
-0.0027936219703406096,
0.055756501853466034,
-0.021046919748187065,
-0.05151144415140152,
-0.0030611674301326275,
-0.011557969264686108,
0.0004623522108886391,
-0.01574059948325157,
-0.07220163941383362,
-0.050013188272714615,
-0.011174487881362438,
0.031088797375559807,
-0.011085305362939835,
-0.034763090312480927,
-0.022705702111124992,
0.05597053840756416,
0.036243509501218796,
-0.02338348515331745,
-0.05425824597477913,
0.019495155662298203,
0.01908491924405098,
0.018300117924809456,
0.003440190339460969,
0.022901901975274086,
0.0423792228102684,
-0.01828228123486042,
-0.033425360918045044,
-0.01209306064993143,
0.057147737592458725,
0.019405974075198174,
0.02300892025232315,
0.036707255989313126,
-0.0352981798350811,
-0.04009616747498512,
0.06560217589139938,
0.020708028227090836,
0.004126890562474728,
-0.05122606083750725,
-0.0447692945599556,
0.0016219951212406158,
-0.027539359405636787,
0.015036062337458134,
0.029037615284323692,
-0.0372423455119133,
-0.006305157672613859,
-0.01773827336728573,
0.02183172106742859,
0.00017557678802404553,
0.01315432507544756,
-0.008650640957057476,
0.001253005233593285,
0.0618208684027195,
0.00932842306792736,
-0.020957738161087036,
0.030999615788459778,
0.015972470864653587,
0.02680806815624237,
-0.020458320155739784,
0.019138427451252937,
-0.04419853165745735,
-0.04812253266572952,
0.031641725450754166,
0.022134939208626747,
0.010987205430865288,
-0.059930212795734406,
-0.0034112061839550734,
-0.020672356709837914,
-0.025024430826306343,
-0.011843351647257805,
0.022616520524024963,
-0.01958433724939823,
0.025934085249900818,
0.012378443032503128,
-0.023151611909270287,
0.0004988610744476318,
0.02736099623143673,
0.0064255534671247005,
-0.06856301426887512,
-0.0014447461580857635,
0.014474216848611832,
0.05168980732560158,
0.040595583617687225,
-0.0114420335739851,
-0.03906165808439255,
0.06981156021356583,
-0.019405974075198174,
-0.007067662663757801,
0.049585115164518356,
0.030767742544412613,
-0.030054287984967232,
0.03652889281511307,
-0.010220241732895374,
0.021724702790379524,
0.007584917359054089,
0.0674571618437767,
-0.021546337753534317,
-0.06210625171661377,
0.010246995836496353,
-0.014536643400788307,
-0.0026754559949040413,
0.049335405230522156,
-0.0827607661485672,
-0.033086471259593964,
-0.050048861652612686,
-0.010630478151142597,
0.06524544954299927,
-0.0037322610151022673,
0.020583173260092735,
0.015276852995157242,
0.04598216712474823,
0.005957348272204399,
-0.01735479012131691,
0.004434568341821432,
0.017122918739914894,
0.03988213092088699,
-0.04302133247256279,
0.01862117275595665,
-0.0046865069307386875,
0.020244283601641655,
-0.010032959282398224,
-0.04270027577877045,
0.01840713620185852,
0.003050019731745124,
0.01710508204996586,
-0.057575810700654984,
-0.013475379906594753,
-0.018639009445905685,
-0.03444203734397888,
-0.011575805954635143,
-0.023668866604566574,
-0.06752850860357285,
-0.026736723259091377,
0.01755990833044052,
0.04534006118774414,
0.02782474085688591,
0.04648158699274063,
-0.03381776437163353,
0.005261729937046766,
-0.0504055880010128,
-0.017533155158162117,
-0.052759990096092224,
0.052082207053899765,
0.017381545156240463,
-0.02486390434205532,
-0.045161694288253784,
0.027931759133934975,
0.024810394272208214,
-0.012699496932327747,
-0.017658008262515068,
-0.05500737205147743,
-0.03073207102715969,
0.002181611256673932,
-0.014411789365112782,
-0.019352464005351067,
-0.007620590273290873,
0.03369290754199028,
-0.05397286266088486,
-0.08076309412717819,
0.02875223197042942,
-0.060108575969934464,
0.04323536902666092,
0.08318883925676346,
-0.006059907842427492,
-0.04091664031147957,
0.0535447895526886,
0.03356805443763733,
-0.01790771819651127,
0.06763552874326706,
-0.028003105893731117,
0.08390229940414429,
0.02001241035759449,
-0.05729042738676071,
-0.027931759133934975,
-0.016908882185816765,
0.0654594898223877,
-0.04455525800585747,
-0.0075893765315413475,
-0.041951149702072144,
-0.013778598047792912,
-0.035619236528873444,
-0.010131060145795345,
0.048657625913619995,
-0.025470340624451637,
0.006296239793300629,
-0.033585891127586365,
0.025773558765649796,
-0.05447228252887726,
0.005413339007645845,
0.004632997792214155,
0.04805118963122368,
-0.05390151962637901,
-0.016204344108700752,
-0.02664754167199135,
-0.01005079597234726,
-0.01874602772295475,
0.029715396463871002,
-0.06613726913928986,
0.031106634065508842,
-0.05746879428625107,
-0.012717333622276783,
0.019566500559449196,
0.016534317284822464,
-0.0077499039471149445,
-0.059181082993745804,
-0.006220434792339802,
0.01963784545660019,
0.020190773531794548,
-0.04994184523820877,
0.007727608550339937,
-0.011120978742837906,
-0.008775494992733002,
0.029483523219823837,
-0.014349361881613731,
0.011843351647257805,
0.03176657855510712,
0.06378287076950073,
-0.005324157420545816,
0.03820551186800003,
-0.035744089633226395,
-0.002682144520804286,
0.0638185441493988,
-0.021296629682183266,
-0.037599075585603714,
0.02875223197042942,
-0.016730517148971558,
0.00318825151771307,
-0.023294303566217422,
-0.0311601422727108,
0.007196976337581873,
0.05365180969238281,
-0.045447077602148056,
0.050976354628801346,
0.023401321843266487,
0.02939434163272381,
-0.017872044816613197,
-0.017550989985466003,
0.0003079561283811927,
-0.061499811708927155,
-0.03841954842209816,
-0.0024837148375809193,
0.02211710251867771,
-0.017970144748687744,
-0.01700698211789131,
-0.012360606342554092,
0.004300795495510101,
0.004196006804704666,
-0.026290813460946083,
0.006898217368870974,
0.001040640869177878,
-0.004909461364150047,
0.043841805309057236,
0.04790849611163139,
-0.016980227082967758,
0.002517158165574074,
-0.08111982047557831,
-0.02402559481561184,
0.006969562731683254,
0.0006917168502695858,
-0.01588328927755356,
-0.06563784927129745,
-0.008641722612082958,
0.003058937843888998,
0.003553897375240922,
-0.0025037808809429407,
-0.00812446791678667,
0.008815627545118332,
-0.0011030681198462844,
0.001873933942988515,
0.026611868292093277,
0.03187359869480133,
0.0725940391421318,
-0.024203957989811897,
0.02322295680642128,
-0.08868244290351868,
0.05268864333629608,
0.021510666236281395,
-0.009074254892766476,
-0.014028307050466537,
0.06603024899959564,
0.020832883194088936,
-0.0408809669315815,
-0.011914696544408798,
-0.03294378146529198,
-0.00692497193813324,
0.062213268131017685,
-0.04073827713727951,
0.024507176131010056,
-0.030999615788459778,
0.01435828022658825,
0.01820201799273491,
-0.004748934414237738,
0.0011387409176677465,
0.004285188391804695,
0.015062816441059113,
-0.012146569788455963,
0.032444361597299576,
-0.07266538590192795,
-0.08903916925191879,
0.012797597795724869,
-0.007205894682556391,
-0.039668094366788864,
0.06706476211547852,
0.04027453064918518,
0.005841412115842104,
-0.026397831737995148,
-0.06449632346630096,
0.02140364795923233,
0.02980457805097103,
0.0001630355982342735,
0.010799923911690712,
-0.009471113793551922,
-0.047979842871427536,
-0.032105471938848495,
-0.020493991672992706,
0.04573246091604233,
0.01899573765695095,
0.03408530727028847,
-0.016748353838920593,
-0.01329701580107212,
0.004211613442748785,
0.013760761357843876,
0.009720822796225548,
0.014474216848611832,
0.06685072183609009,
-0.010086468420922756,
-0.010166732594370842,
0.036671582609415054,
-0.057647157460451126,
-0.010327260009944439,
-0.03470958024263382,
-0.006617294158786535,
-0.02229546569287777,
-0.024417994543910027,
0.016569990664720535,
-0.02136797457933426,
-0.010951532982289791,
-0.019227609038352966,
-0.010300504975020885,
-0.03809849172830582,
0.03816983848810196,
0.04462660476565361,
0.0708460733294487,
-0.029447851702570915,
0.03795580193400383,
0.001662126975134015,
-0.053473446518182755,
0.03199845179915428,
-0.05268864333629608,
0.11679256707429886,
-0.0720946192741394,
0.04241489619016647,
0.012289260514080524,
0.061999231576919556,
-0.005453471094369888,
0.009631641209125519,
0.03119581565260887,
0.006492439657449722,
0.005854789167642593,
0.03626134619116783,
-0.026362158358097076,
-0.029483523219823837,
-0.028092287480831146,
0.06260567158460617,
0.0029095583595335484,
-0.002118069212883711,
-0.033371854573488235,
0.019477318972349167,
-0.046089187264442444,
0.02739666774868965,
0.021439319476485252,
-0.018300117924809456,
-0.025595195591449738,
0.045197367668151855,
-0.01062155980616808,
-0.012003879062831402,
0.0019207544391974807,
-0.0491570420563221,
0.004476929549127817,
-0.04366344213485718,
-0.045411404222249985,
0.011727415025234222,
0.007205894682556391,
0.00992594100534916,
0.013841025531291962,
0.04302133247256279,
-0.012110897339880466,
-0.005301862023770809,
0.013198915868997574,
0.005266189109534025,
0.027753395959734917,
-0.017809618264436722,
-0.021778210997581482,
-0.013305934146046638,
0.018121754750609398,
-0.059680502861738205,
0.039418384432792664,
-0.014822025783360004,
-0.030625052750110626,
-0.005462388973683119,
-0.04091664031147957,
-0.013189997524023056,
-0.03026832453906536,
-0.005814657546579838,
-0.044733621180057526,
0.05953781306743622,
-0.038990311324596405,
-0.03863358497619629,
0.002414599061012268,
0.04280729591846466,
-0.02195657417178154,
-0.0045928661711514,
0.010336178354918957,
-0.03567274659872055,
0.02300892025232315,
-0.004488077480345964,
-0.013564561493694782,
0.043378058820962906,
0.032158978283405304,
0.023115938529372215,
0.007018612697720528,
0.09339124709367752,
0.03381776437163353,
-0.020975574851036072,
-0.010889105498790741,
0.01188794244080782,
-0.10223808884620667,
-0.0360473096370697,
-0.0328545980155468,
-0.014010470360517502,
-0.017631255090236664,
-0.04822955280542374,
0.004744475241750479,
0.0372423455119133,
0.0011883482802659273,
0.03547654673457146,
-0.05222490057349205,
-0.04822955280542374,
0.03319349139928818,
0.01471500750631094,
0.022099265828728676,
-0.017595581710338593,
-0.004532668273895979,
0.02896626852452755,
-0.02655835822224617,
-0.027414504438638687,
0.12271424382925034,
0.02711128629744053,
-0.04801551625132561,
0.010229160077869892,
0.03378209099173546,
0.016231099143624306,
0.009462195448577404,
-0.007678558584302664,
-0.09924157708883286,
-0.012414115481078625,
-0.047480423003435135,
-0.0035784223582595587,
0.021350137889385223,
-0.0035940289963036776,
0.03977511078119278,
-0.03167739883065224,
0.01871035434305668,
0.041951149702072144,
0.0023610899224877357,
0.02325863018631935,
-0.026415668427944183,
0.06834898144006729,
0.00003408767588553019,
-0.00035533399204723537,
-0.06756418198347092,
-0.029608378186821938,
0.04205816611647606,
-0.06167817860841751,
-0.005836952943354845,
0.008659559302031994,
0.0016821929020807147,
0.0377417653799057,
-0.02748585119843483,
-0.0744846910238266,
0.00349815865047276,
-0.004532668273895979,
0.007424389943480492,
0.028056614100933075,
0.02473904937505722,
0.009587050415575504,
0.01351105235517025,
-0.02161768451333046,
-0.03731369227170944,
0.021564174443483353,
0.03984645754098892,
-0.005065530072897673,
0.0009843448642641306,
0.056933701038360596,
0.016409462317824364,
0.0045661116018891335,
0.046124860644340515,
-0.012342769652605057,
0.008012990467250347,
-0.049335405230522156,
-0.019031409174203873,
0.017461808398365974,
0.009533541277050972,
-0.007393176667392254,
0.059644829481840134,
0.056683991104364395,
0.029733233153820038,
0.03981078416109085,
0.022687865421175957,
-0.06328345090150833,
-0.0374920554459095,
0.04509035125374794,
0.027789069339632988,
0.024774720892310143,
-0.009640559554100037,
0.001139298314228654,
0.016864290460944176,
-0.012110897339880466,
-0.030000779777765274,
0.04052424058318138,
0.03538736328482628,
0.05036991834640503,
0.014393952675163746,
0.001915180473588407,
0.03440636396408081,
0.05539977550506592,
-0.04922838881611824,
-0.041951149702072144,
0.01710508204996586,
0.030339669436216354,
-0.004211613442748785,
0.03888329118490219,
-0.003406747244298458,
0.046374570578336716,
-0.02723614126443863,
0.03677859902381897,
0.042200859636068344,
-0.018353627994656563,
-0.011772005818784237,
-0.04348507523536682,
0.058075230568647385,
0.01862117275595665,
-0.038312528282403946,
-0.06824196130037308,
-0.01323458831757307,
0.04630322381854057,
-0.002967526437714696,
0.03319349139928818,
0.0739852711558342,
-0.00657716253772378
] |
730,034 | mmengine.config.config | __deepcopy__ | null | def __deepcopy__(self, memo):
other = self.__class__()
memo[id(self)] = other
for key, value in super().items():
other[copy.deepcopy(key, memo)] = copy.deepcopy(value, memo)
return other
| (self, memo) | [
-0.01674775406718254,
-0.031414374709129333,
0.033316101878881454,
0.021726330742239952,
-0.09171346575021744,
0.0006223221425898373,
-0.010782431811094284,
0.005494375713169575,
0.04922960698604584,
-0.009185698814690113,
-0.030607037246227264,
0.058953531086444855,
-0.0006800691480748355,
0.06437166035175323,
-0.007212209049612284,
-0.004947180859744549,
0.04578496888279915,
0.01901726797223091,
-0.023287182673811913,
0.018658451735973358,
0.03767571970820427,
-0.011069484986364841,
0.026193594560027122,
0.03105555661022663,
-0.02603212743997574,
0.0012390378396958113,
-0.0050503406673669815,
0.014038690365850925,
0.021331632509827614,
0.03091203048825264,
-0.052530717104673386,
-0.028113262727856636,
0.004341678228229284,
0.057661790400743484,
0.02658829279243946,
-0.08015957474708557,
-0.041443292051553726,
0.05357128381729126,
-0.060711730271577835,
0.015007494948804379,
0.024166282266378403,
-0.01847904361784458,
-0.040689777582883835,
-0.02605006843805313,
0.05529360473155975,
-0.010827284306287766,
0.01714245229959488,
0.006530458107590675,
0.03457195684313774,
-0.09953565895557404,
-0.02963823266327381,
0.016693931072950363,
-0.017806261777877808,
0.012486809864640236,
0.006279286462813616,
0.04108447581529617,
0.021816035732626915,
-0.0155636603012681,
-0.04449323192238808,
0.05066487193107605,
-0.08597240597009659,
-0.05044958367943764,
0.027987677603960037,
-0.04187387228012085,
-0.028238847851753235,
-0.04987547546625137,
-0.07657141238451004,
-0.03670691326260567,
0.047184351831674576,
-0.03482313081622124,
-0.03268817067146301,
-0.03396197035908699,
0.01461279671639204,
0.03401579335331917,
-0.02260543219745159,
0.010997721925377846,
0.010970810428261757,
-0.03430284559726715,
0.05324834957718849,
-0.034536074846982956,
-0.0634746178984642,
-0.06189582496881485,
-0.09759805351495743,
0.026265358552336693,
-0.062003470957279205,
0.03511018306016922,
0.0015384252183139324,
-0.0024937738198786974,
0.03118114359676838,
0.00930231437087059,
-0.005113133229315281,
0.03424902260303497,
-0.02549390308558941,
0.01582380197942257,
-0.00984053872525692,
-0.023915112018585205,
-0.03423108160495758,
0.03864452242851257,
-0.041371528059244156,
0.03943391889333725,
-0.013419732451438904,
0.00947275198996067,
-0.06587868928909302,
0.0017021351959556341,
-0.005709665361791849,
-0.04363207146525383,
0.002657483797520399,
-0.028041498735547066,
-0.004395500756800175,
0.000892555748578161,
-0.0622546412050724,
0.054145392030477524,
-0.047650814056396484,
0.024794211611151695,
0.001593368942849338,
0.04094094783067703,
-0.039613328874111176,
-0.0009570305701345205,
0.010073769837617874,
0.03261640667915344,
-0.0017604428576305509,
0.03145025670528412,
0.022031325846910477,
0.025045383721590042,
-0.010576112195849419,
0.02502744272351265,
0.03803453594446182,
-0.0018120226450264454,
-0.042986202985048294,
-0.015429103747010231,
-0.02969205565750599,
-0.019699018448591232,
0.013105767779052258,
0.0439550057053566,
0.05174132063984871,
-0.013545318506658077,
0.02300013042986393,
0.01901726797223091,
-0.0012199756456539035,
0.042376212775707245,
0.01833551749587059,
-0.0041555422358214855,
0.05985056981444359,
0.03586369752883911,
0.008723722770810127,
-0.05959939956665039,
-0.015249695628881454,
0.05952763557434082,
0.0012580999173223972,
-0.004166755359619856,
-0.0033212939742952585,
0.057733554393053055,
0.02380746603012085,
0.07230149954557419,
-0.04255562275648117,
0.04495969042181969,
-0.04079742357134819,
-0.008512918837368488,
-0.04147917404770851,
0.010010977275669575,
-0.0016471914714202285,
0.04212504252791405,
0.027969736605882645,
-0.07025624811649323,
-0.017617883160710335,
0.014881908893585205,
0.057877082377672195,
-0.09637808054685593,
0.008499463088810444,
-0.00980465766042471,
-0.06096290051937103,
-0.07463380694389343,
0.04316560924053192,
0.02522479183971882,
-0.015500867739319801,
0.03383638337254524,
-0.03828570619225502,
-0.027162399142980576,
0.0021573833655565977,
0.041228000074625015,
-0.007225664798170328,
-0.021134285256266594,
-0.03234729543328285,
-0.003825879655778408,
0.015536748804152012,
-0.06175229698419571,
0.040761541575193405,
0.0211163442581892,
0.04991135746240616,
0.04323737323284149,
-0.032580528408288956,
-0.000647551438305527,
0.03071468137204647,
-0.052853651344776154,
0.006041570566594601,
-0.04675377532839775,
-0.019124912098050117,
-0.007037286181002855,
-0.013572229072451591,
0.120634064078331,
-0.05622652545571327,
0.003310081083327532,
0.036078985780477524,
-0.02475832961499691,
0.022551609203219414,
0.012549602426588535,
-0.02326924167573452,
-0.040546249598264694,
0.02976381778717041,
0.022103087976574898,
0.006512517109513283,
0.004480719566345215,
0.0255118440836668,
-0.012352253310382366,
0.013670903630554676,
-0.048476092517375946,
-0.04790198430418968,
-0.010997721925377846,
-0.014585885219275951,
0.0008802214288152754,
0.053535401821136475,
-0.03677867725491524,
-0.07075858861207962,
0.03259846940636635,
-0.013500466011464596,
0.0060281152836978436,
-0.0128187146037817,
-0.05920470133423805,
-0.009172243997454643,
0.0036038619000464678,
-0.02070370502769947,
-0.0376039557158947,
0.016765695065259933,
-0.004065838176757097,
0.08898646384477615,
0.01813816837966442,
-0.047184351831674576,
-0.08597240597009659,
0.013940015807747841,
0.03803453594446182,
-0.014433388598263264,
0.01373369712382555,
0.05217190086841583,
0.043057963252067566,
0.009383047930896282,
-0.022138969972729683,
-0.0037967257667332888,
0.040223315358161926,
0.02949470654129982,
0.0262474175542593,
0.006597735919058323,
0.0008757362375035882,
-0.018855800852179527,
0.025278612971305847,
0.041371528059244156,
-0.02219279296696186,
-0.016344085335731506,
-0.02841825596988201,
0.018425220623612404,
-0.011643591336905956,
0.04865549877285957,
0.023018069565296173,
-0.014343684539198875,
-0.015482926741242409,
-0.04714846983551979,
0.005319452844560146,
-0.0006666135159321129,
0.0022392384707927704,
-0.054360680282115936,
0.02475832961499691,
0.07449027895927429,
0.012181815691292286,
0.005651358049362898,
0.03546899929642677,
-0.01873021386563778,
0.0012009135680273175,
0.011320656165480614,
0.037783365696668625,
-0.06548398733139038,
-0.045820850878953934,
0.011320656165480614,
0.0078760189935565,
0.026193594560027122,
-0.07172739505767822,
-0.020757528021931648,
-0.018963444977998734,
-0.0036240452900528908,
-0.010872135870158672,
0.0045816367492079735,
0.007916386239230633,
0.05195661261677742,
0.020685764029622078,
-0.004238518420606852,
0.007485806476324797,
0.0133659103885293,
-0.013141649775207043,
-0.05134662240743637,
0.009203639812767506,
-0.006539428606629372,
0.05202837288379669,
0.0305173322558403,
-0.008293143473565578,
-0.0112937455996871,
0.031504075974226,
-0.012863567098975182,
0.002843619789928198,
0.03457195684313774,
0.012217697687447071,
0.03471548482775688,
0.06523281335830688,
-0.01143727172166109,
0.04090506583452225,
0.006135759875178337,
0.0825277641415596,
-0.027772387489676476,
-0.0915699377655983,
-0.0010775703703984618,
-0.043057963252067566,
0.044672638177871704,
0.03681455925107002,
-0.052674245089292526,
-0.007176327519118786,
-0.05622652545571327,
-0.026552410796284676,
0.015931446105241776,
-0.025009501725435257,
0.022031325846910477,
0.02339482679963112,
0.054145392030477524,
0.005857677198946476,
0.01592247746884823,
-0.018272724002599716,
0.01430780254304409,
0.06028115004301071,
-0.018766095861792564,
0.013500466011464596,
0.018963444977998734,
0.0013623809209093451,
-0.015752037987113,
-0.0524948351085186,
0.07183504104614258,
-0.00722117954865098,
0.0011027996661141515,
-0.06831863522529602,
0.04334501922130585,
0.023592175915837288,
0.011724324896931648,
0.014164276421070099,
-0.013069886714220047,
0.016469672322273254,
-0.024578921496868134,
-0.01701686717569828,
0.04051036760210991,
-0.009625249542295933,
0.05400186404585838,
0.007503747474402189,
0.015644393861293793,
-0.07779139280319214,
-0.0485837385058403,
-0.06839039921760559,
0.03241905942559242,
0.004480719566345215,
-0.028023559600114822,
-0.01838933862745762,
0.05744650214910507,
0.01982460543513298,
-0.030355865135788918,
-0.014738382771611214,
-0.006584280636161566,
-0.050844281911849976,
0.003336992347612977,
-0.011688443832099438,
-0.011230952106416225,
-0.00964318960905075,
0.0268574059009552,
-0.03774748370051384,
-0.05802060663700104,
0.02429186925292015,
-0.02014753967523575,
0.036025162786245346,
0.058487068861722946,
-0.022210733965039253,
-0.02036282978951931,
0.02605006843805313,
0.025260671973228455,
0.0057500326074659824,
0.08597240597009659,
-0.024848034605383873,
0.08640298247337341,
0.033926088362932205,
-0.027628861367702484,
-0.013940015807747841,
0.007799771148711443,
0.06110642850399017,
-0.030947912484407425,
-0.008185498416423798,
0.010118621401488781,
-0.03078644536435604,
-0.04560556262731552,
-0.04621554911136627,
0.043057963252067566,
-0.05805648863315582,
0.0024332236498594284,
-0.03519988805055618,
0.014828086830675602,
-0.019035208970308304,
-0.02753915637731552,
-0.00356798036955297,
0.03814218193292618,
-0.04083330184221268,
-0.020255183801054955,
-0.04456499218940735,
0.012962241657078266,
-0.004866447299718857,
0.03746042773127556,
-0.09616278856992722,
0.030624978244304657,
-0.06462282687425613,
0.011230952106416225,
0.030696740373969078,
0.045892614871263504,
0.005036884918808937,
-0.054360680282115936,
-0.030678799375891685,
-0.001952185295522213,
0.004482962191104889,
-0.06742160022258759,
-0.00016455094737466425,
-0.03037380613386631,
-0.01701686717569828,
0.03864452242851257,
0.0025386258494108915,
0.025960365310311317,
-0.005301511846482754,
0.010100681334733963,
-0.0344284325838089,
0.012657247483730316,
-0.028113262727856636,
-0.01008274033665657,
0.06731395423412323,
-0.002572264987975359,
-0.021833976730704308,
0.034464314579963684,
-0.00039189474773593247,
0.03315463289618492,
0.02117016538977623,
0.024865975603461266,
0.023592175915837288,
0.005458494182676077,
-0.022067207843065262,
0.030068812891840935,
0.037101611495018005,
0.0011807301780208945,
-0.023663939908146858,
-0.034589897841215134,
-0.006243404932320118,
-0.0710456445813179,
-0.024650685489177704,
0.02456098049879074,
0.058271780610084534,
0.01559057179838419,
-0.010665816254913807,
0.046646129339933395,
0.020273124799132347,
-0.03475136682391167,
-0.043667953461408615,
0.023933053016662598,
0.01768067665398121,
0.028328552842140198,
-0.009445841424167156,
0.052997179329395294,
-0.02861560508608818,
0.0022235403303056955,
-0.08353245258331299,
-0.023018069565296173,
-0.010298029519617558,
0.006162671372294426,
-0.04262738674879074,
-0.029458824545145035,
-0.006795085035264492,
-0.015267636626958847,
-0.0319884791970253,
0.030589096248149872,
-0.033118750900030136,
0.004478476941585541,
-0.0050503406673669815,
-0.006243404932320118,
0.018622569739818573,
0.0030947912018746138,
0.07994429022073746,
-0.06343873590230942,
0.018245812505483627,
-0.08468066155910492,
0.06121407449245453,
0.013572229072451591,
0.012406076304614544,
0.0042766425758600235,
0.045641444623470306,
0.008692326955497265,
-0.06437166035175323,
-0.031234964728355408,
-0.012854596599936485,
0.019663136452436447,
0.055760063230991364,
-0.05439656227827072,
0.024202164262533188,
-0.034859009087085724,
0.025745075196027756,
0.004368589259684086,
-0.02224661596119404,
0.011706383898854256,
-0.03098379448056221,
0.00048019722453318536,
0.019196676090359688,
-0.011706383898854256,
-0.06856980919837952,
-0.08417832106351852,
-0.0032988679595291615,
-0.010271118953824043,
-0.06921567767858505,
0.048404328525066376,
0.05202837288379669,
0.028938541188836098,
-0.047794342041015625,
-0.04119211807847023,
0.01755509153008461,
0.012397105805575848,
0.01813816837966442,
0.01008274033665657,
-0.02395099215209484,
-0.031217023730278015,
-0.02866942808032036,
0.013446643948554993,
0.060029979795217514,
0.01899932697415352,
-0.008701297454535961,
-0.02387923002243042,
-0.002141685225069523,
-0.010235236957669258,
0.004776742774993181,
-0.002780826995149255,
-0.02082929015159607,
0.06254169344902039,
-0.04205327853560448,
-0.024794211611151695,
0.07628436386585236,
-0.010594053193926811,
0.004281127825379372,
-0.04617966711521149,
-0.019196676090359688,
0.003502944950014353,
-0.014361625537276268,
0.0022571792360395193,
-0.045354388654232025,
-0.0205063559114933,
-0.021062521263957024,
0.007544114254415035,
-0.037101611495018005,
0.06229052320122719,
0.02910000830888748,
0.07499261945486069,
0.005920470226556063,
0.040546249598264694,
-0.007037286181002855,
-0.044277939945459366,
0.01051331963390112,
-0.04768669605255127,
0.09723924100399017,
-0.03326227888464928,
0.046717893332242966,
0.024202164262533188,
0.05012664571404457,
-0.0011308322427794337,
0.0027359749656170607,
0.039469800889492035,
0.041622698307037354,
-0.011957556009292603,
0.0045816367492079735,
0.006593250669538975,
-0.033926088362932205,
-0.022766899317502975,
0.04219680652022362,
-0.020470473915338516,
0.01373369712382555,
-0.017205245792865753,
0.034410491585731506,
-0.04513910040259361,
0.05048546567559242,
0.005243204068392515,
-0.01707068830728531,
-0.015106169506907463,
0.07273207604885101,
-0.034589897841215134,
-0.02461480349302292,
-0.017268037423491478,
-0.005476434715092182,
-0.028400316834449768,
-0.01474735327064991,
-0.017447445541620255,
-0.004207122139632702,
-0.03010469302535057,
-0.0034491224214434624,
0.0025363832246512175,
0.03796277195215225,
-0.025996245443820953,
-0.008382847532629967,
-0.011509034782648087,
-0.00002794492684188299,
0.024381572380661964,
0.02300013042986393,
-0.028292670845985413,
0.00764278881251812,
0.05931234732270241,
-0.03647368401288986,
-0.004330465104430914,
-0.020667823031544685,
-0.05999409779906273,
-0.02138545550405979,
-0.06351049989461899,
-0.0048978435806930065,
-0.05927646532654762,
0.004987547639757395,
-0.024130400270223618,
0.038572758436203,
-0.07872430980205536,
-0.00013119223876856267,
-0.016451731324195862,
0.038859814405441284,
-0.02204926684498787,
0.013787519186735153,
-0.027108576148748398,
0.01789596676826477,
0.001401626504957676,
0.03245494142174721,
0.014262950979173183,
0.03494871407747269,
0.03519988805055618,
0.014289862476289272,
-0.0034850039519369602,
0.05744650214910507,
-0.01914285309612751,
-0.006750233005732298,
-0.020990757271647453,
0.002145049162209034,
-0.1245092824101448,
-0.057590026408433914,
0.001073645893484354,
0.005413642153143883,
-0.007144931238144636,
-0.034859009087085724,
-0.024740388616919518,
0.003915583714842796,
0.010181414894759655,
0.03611486777663231,
0.03415931761264801,
0.015052346512675285,
0.045282624661922455,
0.02483009360730648,
0.03972097113728523,
-0.002715791342779994,
0.004334950353950262,
-0.00857122614979744,
-0.048332564532756805,
-0.04094094783067703,
0.0964498445391655,
0.043667953461408615,
-0.03476930782198906,
-0.010055828839540482,
0.02578095719218254,
0.015070287510752678,
-0.008243806660175323,
-0.016101885586977005,
-0.0734855905175209,
-0.028292670845985413,
-0.045641444623470306,
-0.025422140955924988,
-0.012872537598013878,
0.046036139130592346,
0.022426024079322815,
0.005355334375053644,
0.03457195684313774,
0.04743552580475807,
0.006902730092406273,
0.06107054650783539,
-0.01880197785794735,
0.09314873069524765,
0.03084026649594307,
0.01146418321877718,
-0.09573221206665039,
-0.027036814019083977,
0.03523576632142067,
-0.05830766260623932,
0.04115623980760574,
0.04851197451353073,
-0.00874166376888752,
0.03505636006593704,
-0.06577104330062866,
-0.05149015039205551,
0.030319983139634132,
-0.009383047930896282,
-0.009454811923205853,
0.019842544570565224,
0.03024822100996971,
0.016146736219525337,
0.02090105414390564,
-0.03681455925107002,
-0.002659726422280073,
0.011831969954073429,
0.031683485954999924,
0.03914686664938927,
0.016514522954821587,
0.05454009026288986,
0.04897843673825264,
0.001233431277796626,
0.028185026720166206,
-0.03435666859149933,
0.025816837325692177,
-0.06325932592153549,
-0.009383047930896282,
0.009894361719489098,
-0.006624647416174412,
-0.015545719303190708,
0.0673857182264328,
0.04208916053175926,
0.008562255650758743,
0.060029979795217514,
0.023592175915837288,
-0.020183421671390533,
-0.018003610894083977,
-0.0028368919156491756,
0.012971212156116962,
0.016083944588899612,
0.022748958319425583,
-0.005436067935079336,
0.010037887841463089,
-0.017537150532007217,
-0.007077652961015701,
0.013778548687696457,
-0.015743067488074303,
0.0551859587430954,
-0.02639094367623329,
0.005920470226556063,
0.011814028955996037,
0.11826587468385696,
-0.038321588188409805,
-0.028507960960268974,
0.008867249824106693,
0.044206175953149796,
-0.00030415295623242855,
-0.037711601704359055,
0.021798094734549522,
0.024184223264455795,
0.0013926560059189796,
0.025332435965538025,
0.05820001661777496,
0.0025632944889366627,
-0.00980465766042471,
-0.06458694487810135,
0.03354933112859726,
-0.000445717218099162,
-0.005436067935079336,
-0.07929842174053192,
-0.04205327853560448,
0.041515056043863297,
-0.027341807261109352,
0.015312489122152328,
0.06785217672586441,
-0.012370194308459759
] |
730,036 | mmengine.config.config | __eq__ | null | def __eq__(self, other):
if isinstance(other, ConfigDict):
return other.to_dict() == self.to_dict()
elif isinstance(other, dict):
return {k: v for k, v in self.items()} == other
else:
return False
| (self, other) | [
0.06777842342853546,
-0.03649607673287392,
-0.005232213530689478,
0.006956255529075861,
-0.032890841364860535,
-0.02756618522107601,
-0.04906817898154259,
0.010630822740495205,
0.05424492806196213,
-0.009008466266095638,
-0.014661290682852268,
-0.03316816687583923,
0.0602351650595665,
0.05546515807509422,
0.012683033011853695,
-0.013709139078855515,
-0.010473671369254589,
0.03723561018705368,
0.018007688224315643,
-0.03174455836415291,
-0.00759410485625267,
-0.03398165479302406,
0.021058272570371628,
0.07580238580703735,
0.0032747555524110794,
0.014716755598783493,
-0.004296238999813795,
-0.00203141150996089,
-0.004229218233376741,
0.06851796060800552,
-0.08793076872825623,
-0.04241235926747322,
0.05805353447794914,
0.06223190948367119,
0.014855418354272842,
-0.004797736182808876,
-0.025107229128479958,
0.03756840154528618,
-0.05002957582473755,
-0.025236647576093674,
0.01737908273935318,
-0.013080533593893051,
-0.01138884574174881,
-0.012193091213703156,
0.018858155235648155,
0.03852979838848114,
-0.07905633747577667,
0.04755213111639023,
0.011610706336796284,
0.024090368300676346,
-0.006147388368844986,
-0.04766305908560753,
-0.0200783871114254,
0.08770890533924103,
-0.025218158960342407,
-0.0011549463961273432,
0.00884207058697939,
0.047737013548612595,
-0.03738351911306381,
0.0023179815616458654,
-0.05886702239513397,
-0.026253508403897285,
0.015844548121094704,
-0.03636665642261505,
-0.03945421800017357,
-0.05099096894264221,
-0.07291819900274277,
0.013681406155228615,
0.028250254690647125,
-0.007996227592229843,
-0.015058791264891624,
-0.022167576476931572,
-0.027935951948165894,
0.03714316710829735,
-0.023517228662967682,
-0.004021224100142717,
-0.035756539553403854,
0.07935215532779694,
-0.004550454206764698,
-0.03503549098968506,
-0.009650938212871552,
-0.050806086510419846,
-0.03189246729016304,
-0.025569438934326172,
-0.06585562974214554,
0.04873538762331009,
-0.02882339432835579,
0.026789672672748566,
0.04851352795958519,
0.014060418121516705,
0.015132744796574116,
0.022851645946502686,
0.04485282674431801,
-0.01508652325719595,
0.026789672672748566,
-0.00005524849984794855,
-0.003080627415329218,
-0.02826874330639839,
-0.005440207663923502,
-0.019006062299013138,
0.01895059645175934,
-0.02832420915365219,
0.021760830655694008,
0.0019008372910320759,
-0.022333970293402672,
0.003665322670713067,
-0.030450372025370598,
-0.0014270723331719637,
-0.04733027145266533,
-0.027177928015589714,
-0.05505841597914696,
0.05369027331471443,
-0.03616328537464142,
0.04577724635601044,
0.029988162219524384,
-0.022056644782423973,
-0.018072398379445076,
-0.008070181123912334,
-0.0006626931135542691,
-0.004936399403959513,
-0.014023440890014172,
0.10782427340745926,
0.05672236904501915,
0.03586747124791145,
0.047404222190380096,
0.013709139078855515,
-0.009641693904995918,
-0.010408961214125156,
-0.027714092284440994,
-0.013237684965133667,
0.05206329748034477,
-0.021058272570371628,
-0.002125008963048458,
0.0327983982861042,
0.08349355310201645,
0.005694422870874405,
0.0017355972668156028,
0.03551619127392769,
0.01594623364508152,
0.038012124598026276,
0.06215795502066612,
0.037161655724048615,
0.0069701215252280235,
0.009697158820927143,
-0.0471823625266552,
-0.013283905573189259,
-0.09747077524662018,
-0.007090296130627394,
0.02725188247859478,
-0.005689801182597876,
-0.0038525175768882036,
-0.004862445872277021,
0.017332863062620163,
0.024256763979792595,
-0.060309115797281265,
-0.039639100432395935,
-0.016038674861192703,
-0.03658851608633995,
0.016352977603673935,
-0.004834712948650122,
-0.007755878381431103,
0.01362594123929739,
0.04333677887916565,
-0.035423748195171356,
-0.04840259626507759,
-0.010695531964302063,
-0.023221412673592567,
-0.04137700796127319,
0.04544445499777794,
-0.0022786937188357115,
-0.011545997112989426,
-0.05339445918798447,
0.0007372244144789875,
-0.0034527061507105827,
-0.018654782325029373,
0.02407187968492508,
0.035922933369874954,
0.0050704400055110455,
-0.03144874423742294,
-0.020540596917271614,
0.02078094705939293,
-0.027288857847452164,
-0.02277769148349762,
0.02100280672311783,
0.037753283977508545,
-0.0023642024025321007,
0.015493268147110939,
0.006068812683224678,
0.025883741676807404,
0.019671643152832985,
0.0029997406527400017,
-0.011157741770148277,
-0.019819550216197968,
-0.005930149927735329,
-0.0025537083856761456,
-0.04537050053477287,
0.01810937561094761,
-0.016463907435536385,
0.04659073427319527,
0.09931961447000504,
-0.04170979931950569,
-0.06929447501897812,
-0.020189318805933,
-0.02092885412275791,
0.014254545792937279,
-0.0335749089717865,
0.016463907435536385,
-0.03908444941043854,
0.061492372304201126,
-0.0024242897052317858,
-0.04485282674431801,
-0.0594586506485939,
0.03133781626820564,
-0.04862445592880249,
0.05261794850230217,
0.026789672672748566,
0.008070181123912334,
-0.0469605028629303,
-0.07399052381515503,
0.01446716208010912,
0.10952520370483398,
0.011102275922894478,
0.02902676723897457,
0.026364440098404884,
-0.02379455417394638,
0.007057941518723965,
-0.009456809610128403,
0.022038156166672707,
-0.008134890347719193,
-0.017480770125985146,
0.06252772361040115,
0.022481877356767654,
0.0301730465143919,
-0.0005257634911686182,
0.07369470596313477,
0.02795444056391716,
-0.011952742002904415,
-0.017471525818109512,
-0.041155148297548294,
0.017989199608564377,
0.02860153466463089,
0.0023364699445664883,
0.00550491688773036,
-0.005301544908434153,
-0.006891546305269003,
-0.0923679769039154,
-0.02860153466463089,
0.036939796060323715,
0.012322509661316872,
0.019080014899373055,
0.029636884108185768,
-0.03037641942501068,
-0.011509020812809467,
0.012572103179991245,
0.007621837314218283,
-0.002812545746564865,
-0.04488980397582054,
-0.01954222470521927,
0.06574470549821854,
-0.006235208362340927,
0.019985945895314217,
0.04988166689872742,
-0.028361184522509575,
0.02736281231045723,
-0.04378049820661545,
0.0006320716929621994,
-0.010556869208812714,
0.01421756949275732,
0.0017194199608638883,
-0.022296994924545288,
0.07513680309057236,
-0.017369838431477547,
0.029100719839334488,
0.04851352795958519,
-0.039195381104946136,
0.002727037062868476,
0.03706921637058258,
-0.0798698291182518,
-0.03314967826008797,
-0.033926188945770264,
-0.014041929505765438,
-0.009137884713709354,
0.008989977650344372,
-0.05424492806196213,
-0.006350760813802481,
-0.013903266750276089,
-0.06800028681755066,
-0.0131914634257555,
0.037420496344566345,
-0.021871760487556458,
0.02660478837788105,
-0.05206329748034477,
0.014291523024439812,
0.018460653722286224,
-0.008939134888350964,
0.02654932253062725,
-0.014587337151169777,
-0.04085933417081833,
0.017665652558207512,
0.040008869022130966,
-0.0059209056198596954,
0.0017667964566498995,
0.021354086697101593,
0.031873978674411774,
0.052100274711847305,
0.024219786748290062,
0.017231175675988197,
0.04836561903357506,
0.04348468407988548,
0.024053391069173813,
-0.005967126693576574,
0.034887585788965225,
0.04322584718465805,
0.0659295842051506,
-0.01659332774579525,
-0.011453555896878242,
-0.0045388988219201565,
-0.05076910927891731,
0.0230365302413702,
0.04943794757127762,
-0.04537050053477287,
0.05731399729847908,
-0.03621875122189522,
-0.039713054895401,
0.02629048563539982,
-0.08674751222133636,
0.014310011640191078,
0.06016121059656143,
0.058793067932128906,
0.03202188387513161,
-0.018063154071569443,
-0.03889956697821617,
0.07354680448770523,
0.03276142105460167,
0.0198565274477005,
-0.04932701587677002,
-0.002234783722087741,
0.032890841364860535,
0.014439430087804794,
-0.04895724728703499,
0.019597690552473068,
-0.050103526562452316,
0.04455701261758804,
-0.07632005959749222,
0.009493786841630936,
0.00674826093018055,
-0.06504214555025101,
0.016639547422528267,
-0.005592736881226301,
-0.008014715276658535,
-0.06652121245861053,
0.011407334357500076,
0.07602424919605255,
-0.014078906737267971,
-0.023184437304735184,
0.034573283046483994,
0.02558792755007744,
-0.01516047678887844,
-0.02078094705939293,
-0.018516119569540024,
0.08571215718984604,
0.022814668715000153,
0.009817332960665226,
-0.016491640359163284,
-0.013515010476112366,
0.052543994039297104,
-0.02935955859720707,
-0.06326726078987122,
-0.015382337383925915,
-0.01675972156226635,
-0.03135630488395691,
0.02508874051272869,
-0.014337743632495403,
-0.04851352795958519,
0.001172857009805739,
-0.04063747450709343,
-0.1070847362279892,
0.06348911672830582,
-0.005042707547545433,
0.010529136285185814,
0.06075283885002136,
0.027288857847452164,
-0.009364367462694645,
0.038825612515211105,
-0.005994859151542187,
-0.04581422358751297,
0.014060418121516705,
-0.035534679889678955,
0.0331866554915905,
0.033057235181331635,
-0.09170239418745041,
-0.0032169793266803026,
-0.018821178004145622,
0.067149817943573,
-0.08083122968673706,
-0.020522108301520348,
-0.060198187828063965,
0.02747374214231968,
-0.062194932252168655,
0.0070394533686339855,
0.019616177305579185,
0.0025421532336622477,
0.01965315453708172,
-0.011666172184050083,
0.040341660380363464,
-0.0004757870628964156,
0.0030320954974740744,
0.048328641802072525,
-0.00933663547039032,
0.038677703589200974,
0.0006742483237758279,
-0.04485282674431801,
0.002800990594550967,
0.002609173534438014,
-0.03470270335674286,
-0.02418280951678753,
0.0017494636122137308,
-0.04182073101401329,
0.049031201750040054,
0.02218606323003769,
0.005537271965295076,
0.0301730465143919,
-0.013468789868056774,
-0.02958141826093197,
0.021335598081350327,
-0.008486169390380383,
-0.006161254830658436,
0.039417240768671036,
-0.011453555896878242,
-0.04947492107748985,
-0.03398165479302406,
-0.019061526283621788,
0.05775772035121918,
0.029821768403053284,
0.050658177584409714,
0.029488977044820786,
0.036939796060323715,
-0.07735540717840195,
0.0264383926987648,
0.03000665083527565,
0.002588374074548483,
-0.039269331842660904,
-0.02185327373445034,
-0.010575356893241405,
-0.045518409460783005,
-0.04370654746890068,
-0.018636293709278107,
0.031707584857940674,
0.07432331144809723,
0.04200561344623566,
-0.0037392762023955584,
0.025440020486712456,
-0.08319774270057678,
-0.045259568840265274,
-0.028638510033488274,
-0.020004434511065483,
-0.016260536387562752,
0.005500295199453831,
-0.017166467383503914,
0.04840259626507759,
-0.04566631466150284,
-0.04137700796127319,
-0.01810937561094761,
-0.008837448433041573,
-0.00504732970148325,
0.041894685477018356,
-0.010954368859529495,
0.05073213204741478,
0.0198010616004467,
0.0595695823431015,
-0.0019574579782783985,
-0.02778804488480091,
-0.03816002979874611,
0.034129559993743896,
-0.047034457325935364,
-0.010085415095090866,
0.03253956139087677,
0.038344912230968475,
-0.07136517018079758,
0.023276878520846367,
-0.01732361875474453,
0.02666025422513485,
-0.014957104809582233,
-0.042560264468193054,
0.02654932253062725,
-0.08682146668434143,
0.018654782325029373,
-0.0070486972108483315,
-0.004830090794712305,
0.02898979000747204,
-0.01586303487420082,
-0.04755213111639023,
-0.07288122177124023,
0.029396533966064453,
0.05169352889060974,
-0.029451999813318253,
0.0012491216184571385,
0.04448305815458298,
-0.014587337151169777,
-0.0057313996367156506,
0.003552081296220422,
0.04851352795958519,
-0.03054281510412693,
0.030986536294221878,
-0.02033722586929798,
-0.029710836708545685,
-0.04178375378251076,
-0.0018372833728790283,
-0.01920943334698677,
0.0462949201464653,
0.01222082320600748,
0.0010937036713585258,
0.01100983377546072,
-0.023609669879078865,
0.07839076220989227,
0.028102347627282143,
-0.030394908040761948,
-0.05505841597914696,
-0.02024478279054165,
-0.028305720537900925,
0.01470751129090786,
0.019597690552473068,
0.019357340410351753,
-0.015373093076050282,
-0.057129114866256714,
0.03989793732762337,
0.0066511970944702625,
0.014929371885955334,
0.004286994691938162,
-0.04108119383454323,
-0.006702040322124958,
-0.01996745727956295,
-0.03470270335674286,
0.019227921962738037,
-0.036070842295885086,
0.03202188387513161,
-0.042116545140743256,
0.010224077850580215,
-0.005158259999006987,
0.02055908553302288,
-0.007843698374927044,
-0.00269930437207222,
0.048217713832855225,
0.006429336499422789,
-0.036070842295885086,
0.0528767853975296,
-0.0034272847697138786,
0.013681406155228615,
0.022056644782423973,
0.027621649205684662,
-0.00019095036259386688,
0.006604976020753384,
0.0987279862165451,
-0.02612408995628357,
-0.02930409274995327,
0.017249664291739464,
0.010048437863588333,
-0.01948675885796547,
0.08023960143327713,
0.042819105088710785,
0.047034457325935364,
0.018211061134934425,
0.04840259626507759,
-0.0017067091539502144,
0.00859247799962759,
-0.05720306932926178,
-0.006581865716725588,
0.02477443777024746,
-0.009780356660485268,
0.06522703170776367,
-0.0006696262280456722,
-0.0035104823764413595,
-0.05128678306937218,
-0.03259502723813057,
0.03738351911306381,
-0.010270298458635807,
-0.017508503049612045,
0.044593989849090576,
-0.04052654281258583,
-0.023406296968460083,
-0.059606559574604034,
0.06204702705144882,
0.07491493970155716,
0.013015824370086193,
0.0016939984634518623,
-0.046331897377967834,
-0.008144134655594826,
0.015252918936312199,
-0.0036607005167752504,
-0.02590223029255867,
-0.06400679796934128,
0.03583049401640892,
-0.018765712156891823,
-0.038825612515211105,
0.03838188946247101,
-0.050436317920684814,
0.029747813940048218,
-0.021945714950561523,
-0.007423087023198605,
-0.03383374586701393,
0.014790709130465984,
-0.05202632024884224,
-0.02168687805533409,
-0.016177337616682053,
0.00428930576890707,
-0.005061195697635412,
-0.0083382623270154,
-0.023128971457481384,
0.00891602411866188,
-0.0015703573590144515,
0.04884631559252739,
0.02972932532429695,
0.05084306374192238,
-0.04588817432522774,
0.07413843274116516,
-0.05797958001494408,
-0.02109524980187416,
0.041524916887283325,
-0.053431436419487,
0.033537931740283966,
0.039639100432395935,
0.02131710946559906,
-0.019819550216197968,
0.011435067281126976,
-0.10841590166091919,
-0.03444386273622513,
0.0046012974344193935,
-0.006544888950884342,
0.0007759344880469143,
-0.032132815569639206,
0.023461762815713882,
-0.02092885412275791,
0.030043628066778183,
-0.04252329096198082,
-0.033112701028585434,
-0.05916283652186394,
0.013209952041506767,
-0.006281429436057806,
0.011943497695028782,
0.07809494435787201,
0.05054724961519241,
-0.04030468314886093,
-0.05624167248606682,
0.0674826130270958,
-0.06237981468439102,
0.015900012105703354,
0.007547883782535791,
-0.04207956790924072,
0.04008282348513603,
-0.023554204031825066,
-0.00501959677785635,
0.01241495180875063,
-0.02773257903754711,
0.010889659635722637,
-0.05487352982163429,
-0.011943497695028782,
0.015594953671097755,
0.04126607999205589,
0.0017783517250791192,
-0.014032685197889805,
0.04518561810255051,
-0.011361113749444485,
-0.03259502723813057,
-0.04448305815458298,
0.06415469944477081,
-0.0042523290030658245,
-0.006637330632656813,
-0.008134890347719193,
0.029378047212958336,
0.0100946594029665,
0.015474779531359673,
-0.03309421241283417,
-0.02795444056391716,
-0.020059900358319283,
-0.05154562368988991,
-0.04888329282402992,
-0.01284018438309431,
0.030690722167491913,
0.01286791730672121,
-0.02887886017560959,
-0.03174455836415291,
0.042116545140743256,
-0.03706921637058258,
0.04755213111639023,
-0.016010941937565804,
0.05661144107580185,
0.010640066117048264,
-0.01948675885796547,
0.0033879969269037247,
-0.002182785188779235,
-0.013422568328678608,
-0.05494748428463936,
-0.02693757973611355,
0.03631119057536125,
0.03135630488395691,
-0.041413985192775726,
-0.03490607440471649,
-0.009595472365617752,
-0.050436317920684814,
0.006313784047961235,
0.004360948223620653,
-0.00911015272140503,
0.058312371373176575,
0.006115033756941557,
0.03816002979874611,
-0.027806533500552177,
-0.0460730604827404,
0.0301730465143919,
0.07332494109869003,
0.002616106765344739,
-0.06005027890205383,
0.07550656795501709,
0.03459177166223526,
-0.06955330818891525,
0.013311638496816158,
0.03326060622930527,
0.0008198443683795631,
-0.0048162247985601425,
-0.022093622013926506,
0.0043956139124929905,
-0.05391213670372963,
-0.011240938678383827,
0.00809791311621666,
0.0024150453973561525,
0.022740716114640236,
0.02893432416021824,
0.0406004972755909,
-0.052543994039297104,
-0.02503327466547489,
0.003970380872488022,
0.0009215305326506495,
0.045740269124507904,
0.005028841085731983,
0.018377456814050674,
-0.06552284210920334,
0.03037641942501068,
-0.06419167667627335,
-0.007335267495363951,
0.02379455417394638,
0.08460285514593124,
0.02908223308622837,
0.034887585788965225,
0.04851352795958519,
-0.0010694375960156322,
0.0100391935557127,
-0.040933288633823395,
0.008139512501657009,
0.029544441029429436,
-0.011046811006963253,
0.01027954276651144,
0.027399789541959763,
0.016713501885533333,
-0.025292113423347473,
0.024256763979792595,
0.004423346370458603,
0.04126607999205589,
-0.02969234809279442,
-0.040822356939315796,
0.04932701587677002,
0.0027316592168062925,
-0.01421756949275732,
0.014725999906659126,
0.017628677189350128,
0.026271997019648552,
-0.009983728639781475,
0.020429667085409164,
-0.02564339153468609,
0.039158403873443604
] |
730,037 | mmengine.config.config | __getattr__ | null | def __getattr__(self, name):
try:
value = super().__getattr__(name)
if isinstance(value, (LazyAttr, LazyObject)) and not self.lazy:
value = value.build()
except KeyError:
raise AttributeError(f"'{self.__class__.__name__}' object has no "
f"attribute '{name}'")
except Exception as e:
raise e
else:
return value
| (self, name) | [
0.049473922699689865,
-0.04883279278874397,
0.006999010685831308,
0.039144594222307205,
0.028744028881192207,
0.0006784187280572951,
0.0635431781411171,
-0.02806727960705757,
0.0391802117228508,
-0.02755081281065941,
0.026161696761846542,
0.10813738405704498,
0.04106798768043518,
0.03483477234840393,
0.00669180229306221,
0.06318699568510056,
0.0207655131816864,
0.04263519495725632,
-0.008877879939973354,
0.035280000418424606,
0.01666940003633499,
0.01086360402405262,
-0.010908127762377262,
-0.01222600694745779,
0.012154770083725452,
0.02475477010011673,
0.026197314262390137,
0.05702501907944679,
0.03307165950536728,
-0.03164692595601082,
0.000030957377020968124,
-0.007413074374198914,
0.020106572657823563,
0.015164523385465145,
0.021157315000891685,
-0.0072171734645962715,
-0.015529611147940159,
0.039037737995386124,
-0.03839660808444023,
-0.03251957520842552,
0.03488819673657417,
-0.035832084715366364,
-0.06347194314002991,
-0.04381060227751732,
-0.010445088148117065,
-0.08227844536304474,
-0.003510636044666171,
0.05235901102423668,
-0.023009469732642174,
-0.042243391275405884,
0.038254134356975555,
0.04658883437514305,
0.03027561865746975,
-0.00366424024105072,
-0.014434346929192543,
0.03068522922694683,
-0.024060212075710297,
0.07408621907234192,
0.009893003851175308,
0.08441554754972458,
-0.03401554748415947,
-0.03251957520842552,
0.01068551279604435,
-0.05681130662560463,
-0.03542247414588928,
-0.044487349689006805,
-0.0015271378215402365,
0.031735971570014954,
-0.02931392192840576,
0.013873357325792313,
0.0039313780143857,
0.0445229671895504,
-0.006513710133731365,
0.023668410256505013,
-0.011807491071522236,
-0.01065879873931408,
-0.02505752630531788,
-0.029100213199853897,
0.07821795344352722,
-0.03627731651067734,
-0.010667703114449978,
0.01582346297800541,
-0.03782671317458153,
-0.041174840182065964,
-0.09068438410758972,
-0.030720848590135574,
-0.031005796045064926,
-0.04623265191912651,
0.016144027933478355,
0.02190530113875866,
-0.02796042524278164,
0.1003013476729393,
-0.023704027757048607,
0.03497724607586861,
0.001701890490949154,
-0.014416537247598171,
0.06575152277946472,
0.03355250880122185,
0.0045034983195364475,
0.044380493462085724,
0.03577865660190582,
-0.023757455870509148,
0.01252876315265894,
0.019483251497149467,
0.018361272290349007,
-0.017105724662542343,
0.009189540520310402,
-0.016580354422330856,
0.06222530081868172,
-0.04356127232313156,
0.011495830491185188,
-0.030133144930005074,
-0.04954516142606735,
0.01946544274687767,
-0.03551151975989342,
-0.00749321561306715,
-0.020569611340761185,
-0.034051164984703064,
0.010195760056376457,
0.0067452299408614635,
-0.005053356755524874,
-0.013971307314932346,
-0.04616141319274902,
0.007635689340531826,
0.011273215524852276,
0.04295575991272926,
-0.044131167232990265,
-0.03068522922694683,
0.059625159949064255,
-0.009073780849575996,
-0.0014358657645061612,
-0.011388975195586681,
0.01650911755859852,
0.010854699648916721,
0.013508268631994724,
0.023525936529040337,
0.04616141319274902,
0.03928706794977188,
-0.0022973851300776005,
0.04007067158818245,
-0.015075476840138435,
-0.0356183759868145,
0.02154911682009697,
-0.02261766791343689,
0.031201696023344994,
-0.03437173366546631,
0.05324947088956833,
0.046802543103694916,
0.0015616430900990963,
-0.0344073511660099,
0.008187773637473583,
0.02450544200837612,
0.028868693858385086,
0.011068410240113735,
0.019928481429815292,
0.026428833603858948,
-0.07337385416030884,
-0.029812579974532127,
-0.028263181447982788,
-0.044238023459911346,
-0.008463816717267036,
0.040996748954057693,
-0.0931776687502861,
-0.07878784835338593,
0.025271236896514893,
0.017969470471143723,
0.03490600734949112,
-0.04779985919594765,
0.025253428146243095,
0.05431802198290825,
-0.04373936355113983,
0.00015123895718716085,
0.0534275621175766,
0.05136169493198395,
-0.011077314615249634,
0.040996748954057693,
-0.038432225584983826,
0.007381908129900694,
0.016553640365600586,
-0.013766502030193806,
-0.019857244566082954,
0.002448763232678175,
-0.029171448200941086,
-0.04170911759138107,
0.020142190158367157,
0.01887773908674717,
0.02528904564678669,
-0.0335347019135952,
0.028263181447982788,
0.07529724389314651,
0.0077870674431324005,
-0.00878883432596922,
0.0293851587921381,
-0.041281696408987045,
-0.0017631095834076405,
0.0010969346622005105,
-0.008610742166638374,
-0.02249300293624401,
0.024380777031183243,
0.09303519874811172,
-0.03568961098790169,
0.013000707142055035,
-0.020142190158367157,
0.058734700083732605,
-0.021210743114352226,
-0.017844805493950844,
0.010703321546316147,
0.002459893934428692,
-0.020925795659422874,
0.012591095641255379,
-0.06564466655254364,
0.027675477787852287,
0.003468339331448078,
0.058378517627716064,
0.04106798768043518,
0.013374700210988522,
-0.013428127393126488,
-0.0380048044025898,
-0.016126219183206558,
0.031718164682388306,
0.03394431248307228,
0.023240989074110985,
0.07191349565982819,
0.011540353298187256,
0.020498374477028847,
-0.039322685450315475,
-0.023045089095830917,
-0.011656112968921661,
-0.003078763373196125,
0.026980919763445854,
0.01793385110795498,
0.011504734866321087,
0.05079180374741554,
0.015609752386808395,
0.021175123751163483,
0.012956184335052967,
0.015948127955198288,
0.014291873201727867,
-0.04078304022550583,
0.010525229386985302,
-0.014104876667261124,
0.0064780921675264835,
-0.02308070659637451,
0.039678867906332016,
0.0016974381869658828,
-0.010489611886441708,
-0.016607066616415977,
0.04277766868472099,
-0.03472791612148285,
-0.007746996358036995,
0.0546029694378376,
0.07141484320163727,
-0.021566925570368767,
0.018049610778689384,
0.002330777468159795,
-0.08284834027290344,
-0.02373964712023735,
-0.03170035406947136,
0.008178869262337685,
0.006936678662896156,
-0.019020212814211845,
-0.03449639678001404,
-0.010186855681240559,
0.044131167232990265,
-0.03964325040578842,
-0.016811873763799667,
0.04178035259246826,
0.004572508856654167,
-0.07572466880083084,
0.03289356827735901,
-0.008771024644374847,
-0.051539789885282516,
0.038147278130054474,
-0.004683816339820623,
-0.002731484128162265,
-0.036829400807619095,
0.025146571919322014,
0.011976678855717182,
-0.01783590205013752,
0.0018610600382089615,
0.015591943636536598,
0.017773568630218506,
-0.0003188957634847611,
0.03424706682562828,
-0.05389060080051422,
-0.05887717381119728,
-0.018735265359282494,
0.004888622090220451,
-0.008080919273197651,
0.027764523401856422,
0.06899279356002808,
-0.014941908419132233,
0.017159152776002884,
-0.011210883967578411,
0.018895547837018967,
-0.05396183952689171,
-0.04242148622870445,
0.044843535870313644,
0.014523392543196678,
-0.004071625415235758,
0.024469824507832527,
0.012350671924650669,
-0.06632141768932343,
0.021976538002490997,
-0.006228763144463301,
-0.03686501830816269,
0.028120707720518112,
0.00419851578772068,
-0.038788411766290665,
0.03875279054045677,
0.02717681974172592,
0.02154911682009697,
-0.01689201407134533,
0.07679321616888046,
-0.00589038897305727,
-0.008014134131371975,
-0.0034215901978313923,
0.009697102941572666,
0.023454699665308,
0.04174473509192467,
-0.036295123398303986,
-0.012697950936853886,
-0.04473667964339256,
0.022653287276625633,
-0.017346149310469627,
-0.006709611508995295,
0.019429823383688927,
0.0415310263633728,
-0.019981907680630684,
0.015404947102069855,
-0.03672254458069801,
-0.00932310987263918,
0.01091703213751316,
0.040213145315647125,
-0.022457385435700417,
0.028797456994652748,
0.019038021564483643,
0.002390883397310972,
0.031735971570014954,
-0.07508353143930435,
0.0012043463066220284,
0.02040932886302471,
-0.051041129976511,
0.005373922176659107,
0.0013100883224979043,
0.005231448914855719,
0.098520427942276,
-0.00008786329271970317,
0.0931776687502861,
-0.05314261466264725,
-0.013998021371662617,
-0.0878349095582962,
0.0061753359623253345,
0.006046219263225794,
-0.03132636100053787,
-0.018432509154081345,
-0.007079151924699545,
0.000978392199613154,
-0.020017527043819427,
0.00005168838470126502,
0.00028049471438862383,
-0.040141910314559937,
-0.004808480851352215,
-0.009510106407105923,
-0.032555196434259415,
-0.012858233414590359,
-0.04744367673993111,
0.010347138158977032,
-0.019269540905952454,
-0.04708749055862427,
-0.03389088436961174,
0.03146883472800255,
-0.003003074321895838,
0.009127208963036537,
0.018966784700751305,
-0.020729893818497658,
0.009438869543373585,
-0.015654275193810463,
0.05132607743144035,
0.04641074314713478,
-0.0020346997771412134,
-0.002905123634263873,
0.006046219263225794,
0.02101484127342701,
0.019964098930358887,
-0.01806742139160633,
0.014728197827935219,
-0.03650883585214615,
0.0403556190431118,
-0.03768423944711685,
-0.010543039068579674,
-0.00516466423869133,
-0.021442262455821037,
0.0255205649882555,
-0.0415666438639164,
-0.056419506669044495,
0.0278891883790493,
-0.08776367455720901,
0.006055123638361692,
0.011584876105189323,
-0.008748763240873814,
0.04170911759138107,
0.010186855681240559,
0.015306997112929821,
-0.02106826938688755,
-0.005970530211925507,
0.027212439104914665,
0.029296113178133965,
0.002350812777876854,
-0.011353356763720512,
-0.04594770446419716,
0.01531590148806572,
-0.0468737818300724,
-0.039500776678323746,
0.06201159209012985,
-0.040213145315647125,
0.06539533287286758,
-0.034692298620939255,
-0.0021293109748512506,
0.014906289987266064,
-0.0026402119547128677,
0.0017352827126160264,
-0.030293427407741547,
-0.019322969019412994,
-0.053570035845041275,
0.01151364017277956,
0.02249300293624401,
0.005534205120056868,
0.020854558795690536,
0.05146855115890503,
-0.012902756221592426,
0.0033614840358495712,
-0.04131731390953064,
-0.021638162434101105,
0.04904650151729584,
-0.03198530152440071,
-0.031789399683475494,
-0.03210996463894844,
-0.05253710225224495,
-0.03529781103134155,
-0.01195886917412281,
0.008352508768439293,
0.01704339310526848,
0.046339504420757294,
-0.0066116610541939735,
-0.04666006937623024,
0.003639752743765712,
0.0712723657488823,
0.0664638876914978,
-0.08455802500247955,
0.018147561699151993,
0.0167673509567976,
0.030952367931604385,
-0.003833427559584379,
-0.02190530113875866,
-0.011762968264520168,
-0.03230586647987366,
-0.050364382565021515,
0.026856254786252975,
0.01686530001461506,
-0.06685569137334824,
0.027853569015860558,
0.007880565710365772,
-0.037541765719652176,
-0.038147278130054474,
0.03625950589776039,
-0.006705159321427345,
0.015333710238337517,
-0.07458487898111343,
-0.04594770446419716,
0.028993356972932816,
-0.05649074167013168,
0.05118360370397568,
-0.074798583984375,
-0.028797456994652748,
-0.03276890516281128,
-0.04730120301246643,
0.011059505864977837,
0.012920565903186798,
-0.09189540892839432,
0.008205583319067955,
0.010836890898644924,
0.02926049567759037,
-0.026375407353043556,
0.004572508856654167,
0.014710389077663422,
-0.022599859163165092,
0.07408621907234192,
0.0611211322247982,
0.006972297094762325,
-0.015609752386808395,
0.08648141473531723,
0.011549257673323154,
0.014683675020933151,
0.005743463058024645,
0.03020438179373741,
-0.0019322967855259776,
-0.010783462785184383,
0.03483477234840393,
0.0014803886879235506,
-0.055635903030633926,
-0.05210968106985092,
0.0641130730509758,
0.026856254786252975,
-0.020338091999292374,
0.005369469989091158,
-0.016010459512472153,
0.04178035259246826,
0.06126360595226288,
-0.037541765719652176,
0.045306574553251266,
0.003038692520931363,
-0.008009682409465313,
0.00752438185736537,
0.028280990198254585,
-0.016375547274947166,
0.007395265158265829,
0.011504734866321087,
-0.052216537296772,
-0.010819081217050552,
0.07077371329069138,
0.023757455870509148,
-0.050542473793029785,
-0.054816678166389465,
-0.07337385416030884,
0.012154770083725452,
0.038147278130054474,
0.02238614857196808,
-0.013392508961260319,
0.0038267492782324553,
0.03406897559762001,
-0.031005796045064926,
-0.01585017703473568,
0.07109427452087402,
0.011255406774580479,
0.0017553180223330855,
-0.096169613301754,
0.05264395847916603,
-0.028352227061986923,
-0.0015460600843653083,
0.07202035188674927,
0.014363110065460205,
0.05396183952689171,
0.05364127457141876,
-0.026785017922520638,
-0.06657074391841888,
-0.04081865772604942,
0.061584170907735825,
0.045555900782346725,
-0.016090601682662964,
-0.04113922268152237,
0.025983603671193123,
-0.03241272270679474,
-0.08291957527399063,
0.019322969019412994,
-0.04149540513753891,
0.0006528180092573166,
-0.03871717303991318,
-0.032555196434259415,
0.05118360370397568,
0.046090178191661835,
-0.004719434771686792,
0.05688254535198212,
0.02450544200837612,
-0.013490459881722927,
0.02867279201745987,
-0.03063180297613144,
0.015066572465002537,
0.040141910314559937,
-0.05631265044212341,
0.00866416934877634,
0.009269681759178638,
-0.03328537195920944,
0.051076751202344894,
0.04794233292341232,
0.06970515847206116,
-0.011041696183383465,
0.006344522815197706,
0.002158250892534852,
0.005761272273957729,
0.01709681935608387,
-0.03271547704935074,
-0.06568028032779694,
-0.03020438179373741,
-0.028280990198254585,
-0.06500353664159775,
-0.0006561572663486004,
0.06760367751121521,
-0.02617950551211834,
-0.054994769394397736,
-0.03497724607586861,
-0.07291081547737122,
-0.023223180323839188,
0.0029919433873146772,
0.04487915337085724,
0.023401271551847458,
-0.03488819673657417,
-0.0042007421143352985,
-0.003201201558113098,
-0.03075646609067917,
-0.02356155589222908,
-0.0019634629134088755,
-0.004933144897222519,
0.07429993152618408,
-0.032679859548807144,
0.01852155476808548,
-0.03615264967083931,
0.0014559010742232203,
-0.013713073916733265,
-0.02267109602689743,
-0.012867137789726257,
0.046446360647678375,
-0.021121695637702942,
0.04327632486820221,
-0.022813569754362106,
-0.0433475635945797,
-0.04178035259246826,
0.030596183612942696,
-0.00984848104417324,
-0.05146855115890503,
-0.030613994225859642,
-0.0207655131816864,
-0.026321979239583015,
0.046268269419670105,
-0.0682448074221611,
-0.05278643220663071,
0.0611211322247982,
-0.052145302295684814,
0.00004925353277940303,
0.02742614783346653,
0.008530600927770138,
0.01386445201933384,
0.021086078137159348,
-0.006055123638361692,
-0.016900919377803802,
0.029883816838264465,
0.07308890670537949,
0.02666035294532776,
-0.025965794920921326,
-0.010480706579983234,
-0.030881131067872047,
-0.007453144993633032,
-0.06300890445709229,
0.03431830555200577,
-0.06343632936477661,
0.02949201501905918,
-0.026197314262390137,
-0.006918869446963072,
0.02806727960705757,
0.0015738869551569223,
-0.0450928620994091,
-0.06019505485892296,
0.015182332135736942,
-0.017025582492351532,
0.042350247502326965,
-0.059268977493047714,
0.02635759674012661,
-0.021050458773970604,
0.021388834342360497,
0.00104962894693017,
-0.05040000006556511,
-0.02926049567759037,
-0.02753300406038761,
0.017515335232019424,
0.035582754760980606,
-0.004946501925587654,
-0.0860539972782135,
-0.05271519348025322,
0.0278891883790493,
-0.024558870121836662,
-0.002499964786693454,
0.05011505261063576,
-0.019964098930358887,
-0.02391773834824562,
-0.02683844603598118,
-0.017381766811013222,
0.016678303480148315,
-0.029759151861071587,
0.05292890593409538,
0.0409611314535141,
0.02101484127342701,
0.031130459159612656,
-0.03821851685643196,
0.07070247083902359,
-0.01686530001461506,
-0.03686501830816269,
0.04765738546848297,
-0.020569611340761185,
0.03942954167723656,
-0.056241415441036224,
-0.008499435149133205,
-0.02564522996544838,
-0.02890431135892868,
0.05025752633810043,
-0.02309851534664631,
-0.06981201469898224,
-0.006113003473728895,
-0.0038423321675509214,
0.042172156274318695,
0.04797795042395592,
0.04676692560315132,
0.013374700210988522,
-0.0061886925250291824,
-0.040213145315647125,
-0.02765766903758049,
0.009973145090043545,
-0.00826791487634182,
0.04202968254685402,
0.012110247276723385,
-0.008259010501205921,
0.009937526658177376,
0.050435617566108704,
-0.013570601120591164,
-0.06268834322690964,
0.05844975262880325,
0.0028004946652799845,
-0.0356183759868145,
0.03164692595601082,
-0.04890402778983116,
0.06738996505737305,
-0.013285653665661812,
0.0278891883790493,
0.02142445184290409,
-0.03150445222854614,
-0.021121695637702942,
0.049652013927698135,
-0.022225866094231606,
-0.036419790238142014,
-0.015440565533936024,
0.04904650151729584,
0.056953780353069305,
0.014950812794268131,
0.025609612464904785,
-0.020053144544363022,
0.030418092384934425,
-0.04776424169540405,
0.003089894074946642,
0.009519010782241821,
-0.02379307523369789,
0.01204791571944952,
-0.031023604795336723,
0.0456983745098114,
-0.00805420521646738,
0.05709625408053398,
-0.00959024764597416,
-0.010222473181784153,
-0.008058656938374043,
0.0323592945933342,
0.008909045718610287,
0.012929470278322697,
0.02142445184290409,
0.03426487743854523,
0.013962402939796448,
0.06368565559387207,
0.09631208330392838,
-0.06678445637226105,
-0.06030190736055374,
-0.042243391275405884,
0.025716466829180717,
-0.043240707367658615,
-0.05082742124795914,
0.02931392192840576,
-0.0694558322429657,
0.05093427747488022,
-0.03198530152440071,
0.018557174131274223,
-0.023312225937843323,
0.0021448940970003605
] |
730,038 | mmengine.config.config | __getitem__ | null | def __getitem__(self, key):
return self.build_lazy(super().__getitem__(key))
| (self, key) | [
0.025444822385907173,
-0.07591897249221802,
-0.03530032932758331,
0.024198342114686966,
0.024397779256105423,
0.032657790929079056,
0.03430314362049103,
-0.014633681625127792,
0.11328015476465225,
-0.06940403580665588,
0.015597626566886902,
0.07000234723091125,
0.02783806622028351,
0.004520569462329149,
-0.027439191937446594,
0.004898668732494116,
0.011151846498250961,
0.063520647585392,
-0.021821720525622368,
0.017068473622202873,
-0.006697755306959152,
-0.00028772925725206733,
0.06900516152381897,
-0.020458901301026344,
-0.023915806785225868,
0.023334115743637085,
0.03186004236340523,
-0.002682010643184185,
0.07306037843227386,
-0.052651338279247284,
-0.02712341770529747,
-0.009257195517420769,
0.009955224581062794,
0.05118880048394203,
0.007694940082728863,
-0.02301834151148796,
-0.025178907439112663,
0.031245112419128418,
0.011442691087722778,
0.013096355833113194,
0.01979411207139492,
-0.05155443772673607,
-0.01269748155027628,
-0.07359221577644348,
0.001679632579907775,
-0.0016214634524658322,
0.019328758120536804,
0.04763217642903328,
0.031693845987319946,
-0.014866357669234276,
0.029865674674510956,
-0.00499007711187005,
0.0023496157955378294,
-0.029632998630404472,
-0.06036289781332016,
0.05301697179675102,
-0.017301149666309357,
0.04214766249060631,
0.017832981422543526,
0.0823674350976944,
0.006992755923420191,
-0.06292233616113663,
-0.0411837175488472,
0.0028149685822427273,
0.008222617208957672,
-0.06036289781332016,
-0.03131159022450447,
0.0015331710455939174,
0.006278106942772865,
-0.021755240857601166,
0.007316840812563896,
0.0032927861902862787,
-0.018364813178777695,
-0.009232265874743462,
-0.007291911169886589,
-0.005110570229589939,
-0.06046261638402939,
-0.027705108746886253,
0.09067730605602264,
-0.015464669093489647,
-0.02092425338923931,
-0.028452996164560318,
-0.04786485433578491,
0.0027526444755494595,
-0.06381980329751968,
-0.028652433305978775,
0.023782849311828613,
-0.03872399777173996,
0.021688761189579964,
0.04181526601314545,
-0.03540004789829254,
0.08748631179332733,
-0.03679610788822174,
0.02424820140004158,
0.006253177300095558,
0.00219172821380198,
0.046103160828351974,
-0.010312548838555813,
-0.0026446161791682243,
0.013594947755336761,
0.023068200796842575,
0.0026342289056628942,
0.008833392523229122,
0.00976409763097763,
-0.0007068583508953452,
-0.006809938699007034,
0.0067476145923137665,
0.018198616802692413,
0.012705791741609573,
-0.0043169776909053326,
-0.006917966995388269,
-0.0054346551187336445,
-0.06036289781332016,
0.051055844873189926,
-0.05182035267353058,
0.017201431095600128,
-0.01806565746665001,
-0.017550446093082428,
0.010171281173825264,
0.027173276990652084,
-0.0171017125248909,
-0.026990458369255066,
-0.09606210142374039,
0.021771861240267754,
0.015323401428759098,
0.01225705910474062,
-0.013171144761145115,
0.002051499206572771,
0.057969655841588974,
-0.017899461090564728,
0.005064866039901972,
0.01701861433684826,
-0.010229450650513172,
0.007665855344384909,
0.029599757865071297,
-0.014558892697095871,
0.02512904815375805,
0.012265368364751339,
-0.043743155896663666,
0.08728688210248947,
-0.008700434118509293,
-0.012132410891354084,
0.029450180009007454,
0.04666823148727417,
0.03299018368124962,
-0.07452291995286942,
0.040086813271045685,
0.0769161581993103,
0.010761282406747341,
-0.01329579297453165,
0.007815432734787464,
0.04799780994653702,
0.02790454402565956,
0.03879047557711601,
-0.010395647957921028,
0.0018904955359175801,
-0.042081184685230255,
-0.010595085099339485,
-0.007678320165723562,
-0.0397876612842083,
0.019478335976600647,
-0.003812153125181794,
-0.0551442988216877,
-0.055443454533815384,
-0.028984827920794487,
0.020026788115501404,
-0.00010932673467323184,
-0.057537540793418884,
0.013428750447928905,
0.05531049892306328,
-0.034336384385824203,
-0.03378793224692345,
-0.029699476435780525,
0.02714003622531891,
0.0011872727191075683,
0.05328289046883583,
-0.06019670143723488,
0.03952174261212349,
0.008924800902605057,
0.010287619195878506,
-0.01329579297453165,
-0.005430500488728285,
-0.053415846079587936,
-0.06139332428574562,
0.023051580414175987,
0.0642186775803566,
0.03132821246981621,
0.004312822595238686,
0.020891014486551285,
0.07159784436225891,
-0.017500586807727814,
-0.014949456788599491,
0.03742765635251999,
-0.04693414643406868,
-0.031162014231085777,
0.01902960240840912,
-0.06398600339889526,
-0.0005453352350741625,
-0.05069020763039589,
0.11859846860170364,
-0.07545362412929535,
-0.018348194658756256,
-0.013636496849358082,
0.03932230547070503,
-0.04337752237915993,
0.013719595968723297,
0.014766640029847622,
-0.004258808679878712,
-0.025527922436594963,
0.007383320014923811,
-0.059332475066185,
-0.015589317306876183,
-0.009307054802775383,
0.022868763655424118,
0.039289068430662155,
-0.03410370647907257,
-0.03709525987505913,
-0.028718912973999977,
-0.007179728243499994,
0.011500860564410686,
0.07771390676498413,
-0.01701030507683754,
0.04942711070179939,
-0.007574446965008974,
0.02225383371114731,
-0.02295186184346676,
-0.015647485852241516,
-0.0481640100479126,
-0.04630259796977043,
0.02494623139500618,
0.047499220818281174,
-0.009597900323569775,
0.05956514924764633,
-0.0070259952917695045,
0.051155563443899155,
-0.012198889628052711,
-0.012223819270730019,
0.020990733057260513,
0.04786485433578491,
0.05929923430085182,
-0.012763961218297482,
0.05122204124927521,
0.017234671860933304,
0.02022622525691986,
-0.02145608514547348,
0.02660820446908474,
0.0035877865739166737,
0.06750939041376114,
-0.009473252110183239,
0.03368821367621422,
0.036330752074718475,
0.02923412434756756,
-0.004549654200673103,
0.02355017326772213,
0.011766776442527771,
-0.047765135765075684,
-0.026674684137105942,
-0.021140310913324356,
-0.008388814516365528,
-0.029599757865071297,
-0.07505474984645844,
0.01771664433181286,
-0.0014324139337986708,
0.025860317051410675,
-0.07718207687139511,
0.013752835802733898,
0.04663499444723129,
0.03679610788822174,
-0.01656157150864601,
0.05454598739743233,
0.028984827920794487,
0.026807641610503197,
0.017118332907557487,
0.008949730545282364,
0.025577781721949577,
0.019561434164643288,
0.02827017940580845,
0.030862858518958092,
-0.037194978445768356,
0.0009312248439528048,
-0.01047043688595295,
0.03626427426934242,
-0.03696230426430702,
0.00238701025955379,
-0.021422846242785454,
-0.04716682434082031,
-0.008347264491021633,
-0.008733673952519894,
0.014060300774872303,
-0.003313560737296939,
0.04181526601314545,
-0.009539730846881866,
0.031444549560546875,
0.01979411207139492,
0.003589864121749997,
-0.049327392131090164,
-0.07671672105789185,
0.029184265062212944,
0.02478003315627575,
0.013486919924616814,
0.028386516496539116,
-0.023084819316864014,
-0.062224309891462326,
0.02180510014295578,
0.02381608821451664,
-0.0199603084474802,
-0.00754536222666502,
0.029267363250255585,
-0.019428476691246033,
0.01944509707391262,
-0.016727769747376442,
0.0012225896352902055,
0.001606921199709177,
0.0587674044072628,
-0.03795948624610901,
-0.05428007245063782,
-0.05487838387489319,
0.03792624920606613,
0.03402061015367508,
0.0935359001159668,
-0.06026317924261093,
0.0019704781007021666,
-0.051853589713573456,
0.03679610788822174,
-0.011525790207087994,
0.0001580173848196864,
0.0056340922601521015,
-0.00976409763097763,
-0.03323948010802269,
0.03036426566541195,
-0.0016360057052224874,
-0.027073558419942856,
-0.01989383064210415,
0.009107617661356926,
-0.07379164546728134,
0.010096492245793343,
0.0413166768848896,
0.02328425645828247,
0.005750430282205343,
-0.07026826590299606,
-0.01137621235102415,
-0.017600305378437042,
-0.031162014231085777,
0.007341770455241203,
0.03682934492826462,
-0.044973019510507584,
0.07040122151374817,
-0.011176776140928268,
0.041050758212804794,
-0.06302205473184586,
-0.006610502023249865,
-0.09333646297454834,
0.0496930256485939,
0.005845993757247925,
0.042180903255939484,
-0.027505671605467796,
0.002175108529627323,
-0.02790454402565956,
-0.01927889883518219,
0.004528879188001156,
0.05730486661195755,
-0.01909608207643032,
-0.05275105684995651,
-0.002041111933067441,
-0.0015123963821679354,
-0.002195883309468627,
-0.03289046883583069,
0.003849547356367111,
-0.02712341770529747,
-0.0714648887515068,
-0.007262826897203922,
0.002831588266417384,
-0.040618646889925,
0.047067105770111084,
0.020990733057260513,
-0.07944235950708389,
-0.015157203190028667,
0.04407555237412453,
-0.019561434164643288,
0.01778312213718891,
0.062224309891462326,
0.005605007521808147,
0.018614109605550766,
0.051953308284282684,
-0.02625919133424759,
0.004898668732494116,
0.02625919133424759,
-0.0013264630688354373,
0.04813076928257942,
-0.02145608514547348,
-0.036064837127923965,
-0.023134678602218628,
-0.052917253226041794,
0.034136947244405746,
-0.054379791021347046,
-0.05693923309445381,
0.06106092780828476,
-0.07385812699794769,
-0.009456632658839226,
-0.010578464716672897,
0.05687275156378746,
0.009190716780722141,
0.00414454797282815,
0.024281442165374756,
0.019395237788558006,
-0.02940032072365284,
0.02504594996571541,
0.02564425952732563,
-0.002076428849250078,
-0.02364989183843136,
-0.0318932831287384,
-0.01229860819876194,
-0.038690757006406784,
-0.05122204124927521,
0.02032594382762909,
-0.06169247627258301,
0.018963124603033066,
0.025328485295176506,
-0.027871305122971535,
0.03496793285012245,
0.004873739089816809,
-0.04577076435089111,
-0.03139469027519226,
-0.014234808273613453,
-0.03722821921110153,
-0.0005162506713531911,
-0.020126506686210632,
-0.008205996826291084,
-0.001270371489226818,
0.009199026972055435,
-0.025710739195346832,
-0.06671164184808731,
-0.002553207566961646,
0.003689582459628582,
0.03609807789325714,
-0.05092288553714752,
-0.011027198284864426,
-0.021788479760289192,
-0.023782849311828613,
0.03036426566541195,
0.03299018368124962,
0.02825355902314186,
0.035200610756874084,
0.03470201790332794,
0.03898991271853447,
-0.032757509499788284,
-0.0065814172849059105,
0.04264625534415245,
0.05973134934902191,
-0.06192515417933464,
0.015256921760737896,
0.009016209281980991,
0.040086813271045685,
0.043311044573783875,
0.02537834458053112,
-0.00989705603569746,
-0.0739910826086998,
-0.030929338186979294,
0.016893966123461723,
0.03752737492322922,
-0.010761282406747341,
0.03942202404141426,
0.008027334697544575,
-0.03892343118786812,
-0.017051853239536285,
0.007915151305496693,
-0.02765524946153164,
0.020957492291927338,
-0.058734163641929626,
-0.02817046083509922,
0.003280321368947625,
-0.036596670746803284,
-0.028934968635439873,
-0.11859846860170364,
-0.04420851171016693,
-0.0010761282173916698,
0.008260010741651058,
0.0453718937933445,
0.016021430492401123,
-0.06239050626754761,
-0.005143809597939253,
-0.033372439444065094,
0.021173549816012383,
-0.011625508777797222,
-0.008039799518883228,
-0.008492687717080116,
0.010603394359350204,
0.0551442988216877,
0.018431292846798897,
0.025710739195346832,
-0.008496842347085476,
0.05600852519273758,
0.006469233892858028,
0.041748788207769394,
0.03446934372186661,
-0.008741983212530613,
-0.028320038691163063,
0.04337752237915993,
0.07857813686132431,
-0.003648033132776618,
-0.003188912756741047,
-0.0446738637983799,
0.042446818202733994,
0.05175387114286423,
0.0077323345467448235,
-0.025876935571432114,
-0.007063389755785465,
0.0580693744122982,
0.020126506686210632,
-0.08090490102767944,
0.04437470808625221,
0.006635431665927172,
-0.010387337766587734,
-0.04231385886669159,
0.03726145997643471,
-0.001926851226016879,
-0.0390896312892437,
-0.005206133704632521,
-0.019594674929976463,
0.009381843730807304,
0.08449476212263107,
0.0350344143807888,
0.008480222895741463,
-0.020525379106402397,
-0.025594400241971016,
0.014401005581021309,
0.024115243926644325,
-0.01382762473076582,
-0.00691381236538291,
0.0649167075753212,
-0.023084819316864014,
-0.044973019510507584,
-0.006431839894503355,
0.05148795619606972,
-0.009049449115991592,
0.021522564813494682,
-0.03446934372186661,
0.008106278255581856,
-0.021771861240267754,
0.028386516496539116,
0.029167644679546356,
0.024912990629673004,
0.05720514804124832,
-0.03593187779188156,
0.02434791997075081,
-0.001261022873222828,
-0.045305412262678146,
0.019827350974082947,
-0.014434244483709335,
-0.02607637271285057,
-0.049227673560380936,
-0.0017533826176077127,
0.025245387107133865,
-0.03599835932254791,
0.016960445791482925,
-0.03599835932254791,
-0.05022485554218292,
-0.05361528322100639,
-0.03410370647907257,
0.0350344143807888,
0.07751446962356567,
0.01569734513759613,
0.023516932502388954,
0.029450180009007454,
-0.039820898324251175,
0.024264821782708168,
-0.03129497170448303,
0.04018653184175491,
0.04450766742229462,
-0.03679610788822174,
0.00129218481015414,
-0.0399206168949604,
-0.028054121881723404,
0.0685398131608963,
0.008272475562989712,
0.042613014578819275,
-0.005339091643691063,
-0.02145608514547348,
-0.00876691285520792,
-0.05607500672340393,
-0.010187901556491852,
0.0134370606392622,
0.05261809751391411,
0.007965010590851307,
-0.0036916600074619055,
-0.017749883234500885,
-0.0011457233922556043,
0.06478375196456909,
-0.017417488619685173,
-0.04896175488829613,
-0.006510783452540636,
-0.04743273928761482,
-0.017134953290224075,
-0.00026266981149092317,
0.06485022604465485,
-0.0056340922601521015,
-0.036929063498973846,
0.013329031877219677,
-0.022353552281856537,
-0.0335053987801075,
-0.009323674254119396,
0.017035234719514847,
0.01137621235102415,
0.029101166874170303,
0.006996911019086838,
0.0035836317110806704,
0.01365311723202467,
0.01891326531767845,
0.02067495696246624,
-0.049593307077884674,
-0.045471612364053726,
-0.00951480120420456,
0.023184537887573242,
0.026724543422460556,
-0.015556077472865582,
-0.04656851291656494,
-0.012655932456254959,
0.01395227201282978,
-0.0014801956713199615,
-0.02188819833099842,
-0.06298881769180298,
0.027339473366737366,
-0.029699476435780525,
0.059432193636894226,
-0.043842874467372894,
-0.051853589713573456,
0.0865556076169014,
-0.04430823028087616,
0.013071426190435886,
0.0029583137948065996,
0.0177997425198555,
0.029865674674510956,
0.05275105684995651,
0.021489324048161507,
-0.02817046083509922,
0.0261760912835598,
0.06265642493963242,
0.02993215247988701,
-0.008027334697544575,
0.02414848282933235,
-0.04743273928761482,
-0.03162736818194389,
-0.03295694664120674,
0.0212898887693882,
-0.029450180009007454,
-0.007063389755785465,
-0.01848115213215351,
0.005326626822352409,
0.042347099632024765,
0.006801628973335028,
-0.02798764407634735,
-0.00024163545458577573,
-0.018963124603033066,
0.01568903587758541,
0.0062448675744235516,
-0.028934968635439873,
0.054479509592056274,
-0.048629362136125565,
0.004516414366662502,
0.004765710793435574,
-0.013852554373443127,
0.0018281714292243123,
-0.0893477275967598,
-0.027937784790992737,
0.02414848282933235,
-0.025345103815197945,
-0.06019670143723488,
-0.04221414029598236,
0.01638706400990486,
0.027937784790992737,
0.028901729732751846,
-0.05501134321093559,
-0.06880572438240051,
-0.04211442172527313,
0.02295186184346676,
-0.023400595411658287,
0.019162561744451523,
-0.005285077728331089,
0.0181487575173378,
0.0017087170854210854,
0.06398600339889526,
0.0011540332343429327,
-0.019212421029806137,
0.07159784436225891,
-0.07372517138719559,
0.021522564813494682,
-0.004223491530865431,
-0.028187081217765808,
0.022104255855083466,
-0.08203504234552383,
0.04962654784321785,
-0.04590372368693352,
-0.0071174041368067265,
0.004533034283667803,
-0.0495600663125515,
-0.007578601595014334,
-0.05175387114286423,
-0.04430823028087616,
0.02504594996571541,
0.00279003893956542,
0.026840880513191223,
0.01917918026447296,
0.003980427980422974,
-0.057005710899829865,
-0.026724543422460556,
0.00811043381690979,
-0.008833392523229122,
0.03569920361042023,
-0.004036519676446915,
0.012855369597673416,
0.03446934372186661,
0.025178907439112663,
0.026408767327666283,
-0.05361528322100639,
0.029200885444879532,
-0.02539496310055256,
0.000462496216641739,
0.0044000763446092606,
-0.026209332048892975,
0.06750939041376114,
0.025793837383389473,
-0.026475246995687485,
0.024912990629673004,
0.028054121881723404,
0.031361449509859085,
0.03935554623603821,
0.017999179661273956,
-0.05713867023587227,
-0.06272289901971817,
0.08336462080478668,
0.0622575506567955,
-0.018963124603033066,
0.016096219420433044,
-0.019661152735352516,
0.0293172225356102,
-0.04666823148727417,
-0.03209272027015686,
0.03289046883583069,
0.012971707619726658,
0.03752737492322922,
-0.024131864309310913,
0.02956651896238327,
-0.0065855723805725574,
0.06591389328241348,
-0.015256921760737896,
-0.027173276990652084,
0.036862585693597794,
0.03159412741661072,
-0.007246206980198622,
0.010046632960438728,
-0.010362408123910427,
0.09599561989307404,
0.016445234417915344,
0.05344908684492111,
0.03540004789829254,
-0.06684459745883942,
-0.030231308192014694,
-0.016520021483302116,
-0.0034652159083634615,
-0.023334115743637085,
-0.06305529922246933,
-0.03036426566541195,
-0.06664516031742096,
0.05344908684492111,
-0.06052909418940544,
0.00033525133039802313,
0.040618646889925,
0.027405953034758568
] |
730,041 | mmengine.config.config | __init__ | null | def __init__(__self, *args, **kwargs):
object.__setattr__(__self, '__parent', kwargs.pop('__parent', None))
object.__setattr__(__self, '__key', kwargs.pop('__key', None))
object.__setattr__(__self, '__frozen', False)
for arg in args:
if not arg:
continue
# Since ConfigDict.items will convert LazyObject to real object
# automatically, we need to call super().items() to make sure
# the LazyObject will not be converted.
if isinstance(arg, ConfigDict):
for key, val in dict.items(arg):
__self[key] = __self._hook(val)
elif isinstance(arg, dict):
for key, val in arg.items():
__self[key] = __self._hook(val)
elif isinstance(arg, tuple) and (not isinstance(arg[0], tuple)):
__self[arg[0]] = __self._hook(arg[1])
else:
for key, val in iter(arg):
__self[key] = __self._hook(val)
for key, val in dict.items(kwargs):
__self[key] = __self._hook(val)
| (_ConfigDict__self, *args, **kwargs) | [
-0.019368771463632584,
-0.01529113482683897,
-0.011623083613812923,
-0.014845144003629684,
-0.014208013191819191,
0.050351522862911224,
-0.014408254064619541,
0.03409558907151222,
0.05898009240627289,
-0.04052150994539261,
0.009311209432780743,
0.09130991995334625,
-0.004498597234487534,
0.027687877416610718,
-0.03913802653551102,
0.009711691178381443,
-0.011786917224526405,
0.044271476566791534,
-0.022226756438612938,
-0.026996135711669922,
0.036735132336616516,
-0.005515730939805508,
0.012169195339083672,
0.06764507293701172,
0.026213373988866806,
-0.011550268158316612,
-0.025376003235578537,
0.04175936058163643,
0.057196129113435745,
-0.019204936921596527,
-0.045654959976673126,
0.02876189723610878,
0.0268505048006773,
0.03311258926987648,
0.03666231781244278,
-0.08868858218193054,
0.005893458612263203,
0.04550933092832565,
-0.06360384076833725,
0.024793483316898346,
0.06269365549087524,
-0.012123686261475086,
-0.005993579048663378,
-0.0024074437096714973,
0.025284985080361366,
0.04408944025635719,
0.005147105548530817,
0.04186858609318733,
-0.0048558455891907215,
-0.04256032779812813,
0.009775403887033463,
-0.024338390678167343,
0.04783941060304642,
-0.0026827750261873007,
-0.03387714549899101,
0.08482939004898071,
0.003574758069589734,
0.05512090027332306,
-0.03307618200778961,
0.03775453940033913,
-0.041031211614608765,
0.019113918766379356,
0.04558214545249939,
-0.014162504114210606,
-0.02574007771909237,
-0.09123710542917252,
-0.07609160244464874,
-0.015427662990987301,
0.008328207768499851,
-0.011668592691421509,
-0.0028989443089812994,
0.007358858827501535,
0.01801259256899357,
0.026905115693807602,
0.0050606378354132175,
-0.005706869997084141,
-0.0474025197327137,
0.030691493302583694,
0.04874959588050842,
0.05424712225794792,
-0.015728024765849113,
-0.05894368514418602,
-0.06669847667217255,
-0.0009414742817170918,
-0.024047130718827248,
-0.00923384353518486,
-0.048130668699741364,
0.0034200262743979692,
0.0988098606467247,
0.05686846002936363,
-0.03617081791162491,
0.07022999972105026,
0.012078176252543926,
-0.01311578880995512,
-0.0359523706138134,
-0.009015398100018501,
0.037572503089904785,
0.0348055362701416,
0.005875254515558481,
0.022718258202075958,
-0.016210423782467842,
-0.07001155614852905,
0.0015165985096246004,
-0.019022900611162186,
-0.013552678748965263,
-0.06152861565351486,
-0.014153402298688889,
-0.02539420686662197,
-0.03711741045117378,
-0.020297162234783173,
0.030564066022634506,
-0.01637425646185875,
-0.0106764892116189,
0.06542421132326126,
-0.022135738283395767,
0.022973110899329185,
-0.044671960175037384,
-0.05512090027332306,
0.05570342019200325,
0.0043506920337677,
-0.04037587717175484,
0.00295128021389246,
-0.014453763142228127,
0.07616441696882248,
0.010467146523296833,
0.026868708431720734,
0.010485350154340267,
-0.016656415536999702,
0.005806990433484316,
0.0029831365682184696,
0.06393150985240936,
-0.019405178725719452,
-0.028689082711935043,
-0.030527658760547638,
0.042050622403621674,
-0.03518781438469887,
0.011741407215595245,
-0.011704999953508377,
-0.048094261437654495,
0.01993308775126934,
0.03014538064599037,
-0.012260213494300842,
-0.008828810416162014,
0.039174433797597885,
-0.027178172022104263,
0.000701412558555603,
0.0054156105034053326,
0.034022774547338486,
0.05912572145462036,
-0.013479864224791527,
-0.008205332793295383,
0.015036283060908318,
0.005688666366040707,
0.0883973240852356,
-0.043834589421749115,
-0.013507169671356678,
-0.05912572145462036,
-0.014353643171489239,
0.006466875784099102,
-0.012323927134275436,
-0.007613711059093475,
0.01659270189702511,
0.010266904719173908,
-0.050497155636548996,
-0.008915278129279613,
-0.0008311141864396632,
0.006321246270090342,
-0.135799840092659,
0.023737667128443718,
0.04226906597614288,
-0.014353643171489239,
-0.055375754833221436,
0.020169734954833984,
0.03724483773112297,
-0.006061843130737543,
0.03151066228747368,
-0.019113918766379356,
-0.020788662135601044,
-0.02898034267127514,
-0.023755870759487152,
0.0034245771821588278,
0.0018419901607558131,
-0.0359523706138134,
-0.02317335084080696,
-0.0056795645505189896,
0.026886912062764168,
0.030909936875104904,
0.03344025835394859,
0.04984182119369507,
0.03653489053249359,
0.025266781449317932,
0.0012503688922151923,
-0.0041231452487409115,
-0.0224998127669096,
-0.013243215158581734,
0.06513295322656631,
-0.028124766424298286,
-0.011796019040048122,
-0.007959581911563873,
0.0688101053237915,
-0.0451088473200798,
-0.020388180390000343,
-0.011686796322464943,
-0.0224998127669096,
0.011095174588263035,
-0.004321110900491476,
0.04394381120800972,
0.012414945289492607,
-0.012769917957484722,
-0.016929471865296364,
-0.006284838542342186,
-0.02832500822842121,
0.01451747678220272,
0.006521487142890692,
0.0003080412861891091,
-0.04550933092832565,
0.03700818866491318,
-0.020970700308680534,
-0.03225701302289963,
0.014745023101568222,
0.11897959560155869,
0.0553029403090477,
0.013652799651026726,
0.004655604716390371,
-0.008273596875369549,
-0.03338564559817314,
0.001954625826328993,
-0.027633266523480415,
0.01023049745708704,
0.030527658760547638,
-0.027323802933096886,
0.006039088126271963,
0.004048055037856102,
-0.0042460206896066666,
0.06680769473314285,
0.0029103218112140894,
0.04052150994539261,
-0.05148015543818474,
-0.03518781438469887,
0.04936852306127548,
0.053810231387615204,
0.02490270510315895,
-0.01183242630213499,
-0.01975104957818985,
-0.015391255728900433,
-0.004098115488886833,
0.017502889037132263,
0.046492334455251694,
0.005106146913021803,
0.03862832114100456,
0.025376003235578537,
0.027414821088314056,
-0.01629234105348587,
0.039574913680553436,
-0.03586135432124138,
-0.007454428356140852,
0.04296080768108368,
0.009174681268632412,
-0.016610905528068542,
-0.01876804791390896,
0.019987698644399643,
0.004969618748873472,
-0.031182993203401566,
0.09531474113464355,
-0.002151453634724021,
0.00962977483868599,
0.04354332759976387,
-0.0300543624907732,
-0.06658925116062164,
0.04736611247062683,
0.059198539704084396,
-0.030199991539120674,
0.05111607909202576,
0.052135489881038666,
-0.021498607471585274,
-0.014289929531514645,
0.043215662240982056,
-0.04685640707612038,
-0.027633266523480415,
0.03067328967154026,
0.0583975724875927,
-0.002459779381752014,
0.01646527647972107,
-0.01695677638053894,
0.016802044585347176,
-0.03649848327040672,
-0.07914982736110687,
0.042232658714056015,
0.0011070144828408957,
-0.012660696171224117,
0.04641951620578766,
-0.011668592691421509,
0.0179761853069067,
0.0630941390991211,
0.03314899653196335,
-0.031019160524010658,
-0.07631004601716995,
0.045654959976673126,
0.03298516198992729,
-0.045436516404151917,
0.024738872423768044,
-0.07143144309520721,
-0.006881010718643665,
0.04736611247062683,
0.05745097994804382,
-0.051516562700271606,
0.0035133203491568565,
0.015791738405823708,
-0.014289929531514645,
0.04012102633714676,
0.03344025835394859,
0.021316571161150932,
0.04208702966570854,
0.02459324337542057,
-0.06633440405130386,
-0.022791072726249695,
0.009311209432780743,
-0.06181987375020981,
-0.005015128292143345,
0.022445201873779297,
-0.04168654605746269,
0.005574893206357956,
-0.019368771463632584,
-0.018231038004159927,
0.03163808584213257,
0.012733510695397854,
0.05406508594751358,
-0.008246290497481823,
0.03409558907151222,
0.012970159761607647,
-0.08075175434350967,
0.0150271812453866,
0.005256327800452709,
0.012788122519850731,
-0.0045714122243225574,
-0.015691617503762245,
-0.029326213523745537,
0.01220560260117054,
-0.008878870867192745,
-0.11876115202903748,
0.016301441937685013,
-0.006143759936094284,
-0.04124965891242027,
-0.017229832708835602,
-0.01373471599072218,
0.023956112563610077,
0.04685640707612038,
-0.0024688811972737312,
0.04456273838877678,
-0.019496196880936623,
0.02002410590648651,
-0.07237803936004639,
-0.00491500785574317,
0.004018473904579878,
-0.011932546272873878,
-0.0419049933552742,
-0.02024255134165287,
-0.07718382775783539,
-0.0036703275982290506,
-0.049332115799188614,
0.062475208193063736,
-0.0054884254932403564,
-0.038810357451438904,
0.010312414728105068,
0.02579468861222267,
0.018931882455945015,
-0.01845858432352543,
-0.025157557800412178,
0.001378932734951377,
-0.03935647010803223,
0.018367566168308258,
-0.010312414728105068,
-0.010121275670826435,
0.04438069835305214,
0.03089173324406147,
-0.04732970520853996,
0.0022538495250046253,
0.0474025197327137,
-0.008928930386900902,
0.017157018184661865,
0.020005902275443077,
-0.017657620832324028,
0.031182993203401566,
0.00419368501752615,
-0.012123686261475086,
-0.032821331173181534,
0.007495386991649866,
0.001315219677053392,
0.06487810611724854,
-0.015573292970657349,
-0.01553688570857048,
-0.012788122519850731,
-0.002084327396005392,
0.025667263194918633,
-0.0022470231633633375,
-0.020406384021043777,
0.05792427808046341,
0.013133993372321129,
-0.002803374780341983,
0.0012401292333379388,
0.025485225021839142,
-0.06706254929304123,
0.01325231697410345,
-0.012369436211884022,
0.07314259558916092,
0.016610905528068542,
0.04332488402724266,
0.047730185091495514,
0.06018153950572014,
0.043070029467344284,
0.019678235054016113,
0.011513860896229744,
-0.033221811056137085,
-0.03693537414073944,
0.004614646080881357,
-0.06116453930735588,
-0.007681975141167641,
0.005961722228676081,
-0.02317335084080696,
-0.00938402395695448,
0.03496937081217766,
0.02712356112897396,
-0.010248701088130474,
-0.04256032779812813,
0.03258468210697174,
0.021862681955099106,
-0.040230248123407364,
-0.014326337724924088,
0.012351232580840588,
-0.005884356331080198,
-0.04336129128932953,
0.012087278068065643,
0.0007930001011118293,
-0.010002951137721539,
0.006002680864185095,
-0.03456888720393181,
-0.004512249957770109,
-0.04172295331954956,
0.0012719858204945922,
0.019077511504292488,
-0.03972054272890091,
-0.0038523648399859667,
0.037936579436063766,
0.004234643187373877,
0.024775279685854912,
-0.003233437892049551,
-0.017229832708835602,
0.01597377471625805,
0.0641135424375534,
0.02947184257209301,
0.04095839709043503,
0.04048510268330574,
0.0032106833532452583,
-0.006908316630870104,
-0.023373592644929886,
-0.05796068534255028,
-0.05126171186566353,
0.013461660593748093,
0.0008419226505793631,
0.0395020991563797,
-0.006890112534165382,
-0.06953825801610947,
-0.015746228396892548,
-0.06316695362329483,
-0.03253006935119629,
0.02715996839106083,
0.016210423782467842,
0.037936579436063766,
-0.070302814245224,
-0.034732721745967865,
-0.005151656456291676,
0.044053032994270325,
-0.02342820353806019,
-0.021298367530107498,
-0.04700203612446785,
-0.020970700308680534,
0.016620008274912834,
-0.04288799315690994,
-0.08337309211492538,
-0.06578829139471054,
0.012260213494300842,
0.0038250593934208155,
0.050752006471157074,
-0.026996135711669922,
-0.02623157761991024,
-0.05887087062001228,
-0.0005225040367804468,
-0.014535680413246155,
0.01567341387271881,
0.058652427047491074,
-0.037390466779470444,
0.02792452648282051,
-0.02104351483285427,
0.03347666561603546,
0.04998745024204254,
-0.02178986743092537,
-0.020297162234783173,
0.01828564889729023,
0.013616391457617283,
-0.05260878801345825,
-0.053555380553007126,
0.024611447006464005,
0.011987158097326756,
0.03551548346877098,
-0.027851710096001625,
-0.028798304498195648,
-0.04532729461789131,
0.049332115799188614,
-0.017475582659244537,
-0.0256490595638752,
0.013971365056931973,
-0.04197780787944794,
-0.022791072726249695,
-0.004250571597367525,
0.01922314241528511,
-0.05166219174861908,
-0.03422301635146141,
0.011022360064089298,
-0.039793360978364944,
-0.0015871379291638732,
0.04026665538549423,
0.02792452648282051,
0.04215984418988228,
0.014353643171489239,
-0.019951291382312775,
0.000040780625568004325,
0.07995079457759857,
-0.012460455298423767,
0.013143095187842846,
0.003681704867631197,
-0.0016224076971411705,
-0.04441710561513901,
-0.05806990712881088,
0.0427059568464756,
-0.05734175816178322,
0.05442915856838226,
-0.011177091859281063,
0.01916852965950966,
0.046091850847005844,
0.021644238382577896,
0.043434105813503265,
0.04514525830745697,
0.07689256966114044,
0.025576245039701462,
-0.0033244567457586527,
-0.031091975048184395,
-0.028252193704247475,
0.0260495413094759,
-0.02956286072731018,
-0.022044720128178596,
-0.014153402298688889,
-0.057196129113435745,
0.009602468460798264,
0.008259943686425686,
-0.03598877787590027,
-0.05442915856838226,
0.02857985906302929,
-0.07408919185400009,
-0.0029558311216533184,
0.03021819517016411,
0.0018613316351547837,
0.08876139670610428,
-0.0364074632525444,
0.015254727564752102,
0.013579984195530415,
-0.01078571192920208,
0.032329827547073364,
0.022172145545482635,
-0.036735132336616516,
0.024174556136131287,
0.01709330454468727,
0.02493911422789097,
-0.0638950988650322,
0.021207347512245178,
-0.02077045850455761,
0.009270250797271729,
-0.015018079429864883,
0.0045213522389531136,
-0.025412410497665405,
-0.0725964829325676,
-0.014681310392916203,
0.011140684597194195,
-0.018749844282865524,
-0.014854245819151402,
-0.013825735077261925,
-0.0020979801192879677,
0.017202526330947876,
0.0608004666864872,
-0.010157682932913303,
-0.03163808584213257,
-0.0348055362701416,
-0.011286314576864243,
-0.02907136082649231,
-0.008127966895699501,
0.020497402176260948,
-0.014353643171489239,
-0.000051517985411919653,
-0.03429583087563515,
0.005438365042209625,
-0.06993874162435532,
-0.06538780778646469,
-0.00958426482975483,
-0.03385894373059273,
0.028598064556717873,
-0.049332115799188614,
-0.03296696022152901,
0.01876804791390896,
0.038810357451438904,
-0.000390811386751011,
-0.005238124169409275,
-0.02317335084080696,
0.011222600936889648,
0.052936453372240067,
0.04048510268330574,
0.004901355132460594,
-0.0498054102063179,
-0.04681999981403351,
0.02990873157978058,
0.05384664237499237,
-0.01214188989251852,
-0.04732970520853996,
-0.028507044538855553,
-0.017521092668175697,
0.03833705931901932,
-0.045873407274484634,
-0.03070969693362713,
-0.004200511146336794,
-0.052972860634326935,
0.004380273167043924,
-0.008432879112660885,
0.046492334455251694,
0.012842733412981033,
0.010503553785383701,
-0.03364049643278122,
-0.0009682110394351184,
0.017011387273669243,
0.03409558907151222,
0.01342525240033865,
-0.026668468490242958,
0.035624705255031586,
0.019295956939458847,
-0.047912225127220154,
0.016410665586590767,
0.007932276464998722,
-0.04703844338655472,
-0.0035042185336351395,
0.001781690283678472,
0.03089173324406147,
0.0733974501490593,
0.00268505048006773,
0.05708690360188484,
0.012742612510919571,
-0.03782735764980316,
0.042596735060214996,
-0.049550559371709824,
0.008938032202422619,
0.05592186748981476,
0.015191014856100082,
0.052135489881038666,
-0.004168654792010784,
-0.036771539598703384,
-0.0042460206896066666,
-0.04048510268330574,
-0.022936703637242317,
0.046310294419527054,
-0.015145505778491497,
-0.03265749663114548,
-0.01712971180677414,
0.0427059568464756,
0.05264519527554512,
0.013033872470259666,
-0.03851909935474396,
-0.0419049933552742,
0.01302477065473795,
-0.038810357451438904,
-0.045254480093717575,
-0.002757865469902754,
0.01669282279908657,
0.053154900670051575,
0.020533809438347816,
-0.06141939386725426,
0.011377332732081413,
-0.057633016258478165,
0.033403847366571426,
-0.05908931419253349,
0.025066539645195007,
0.039975397288799286,
0.0029103218112140894,
0.001991033321246505,
-0.050497155636548996,
0.04802144691348076,
0.0011036013020202518,
0.00398206664249301,
0.01023049745708704,
-0.043652549386024475,
-0.0934215560555458,
-0.011686796322464943,
-0.08184397965669632,
0.02237238734960556,
-0.04055791720747948,
0.06506013870239258,
0.010385229252278805,
-0.001393723301589489,
-0.016538091003894806,
-0.014654004946351051,
-0.004851294681429863,
-0.012396741658449173,
0.0005134021630510688,
0.06884651631116867,
0.01987847499549389,
-0.006603403948247433,
0.10645543038845062,
0.054392751306295395,
-0.0633125826716423,
0.026195170357823372,
0.050315115600824356,
0.06214754283428192,
-0.004819438327103853,
-0.043070029467344284,
-0.01601928472518921,
-0.019423382356762886,
-0.019386975094676018,
0.0011599190765991807,
-0.007932276464998722,
0.06473246961832047,
-0.03851909935474396,
0.04503603279590607,
-0.007504488807171583,
0.006753584835678339,
-0.023136943578720093,
0.02885291539132595,
-0.05970824137330055,
-0.04314284771680832,
-0.014990773983299732,
-0.0018852240173146129,
-0.051953453570604324,
0.010649183765053749,
0.017521092668175697,
-0.009115519002079964,
0.04008461907505989,
-0.024702465161681175,
0.023755870759487152,
0.026468226686120033,
0.09422251582145691,
0.00776844285428524,
-0.036334648728370667,
0.019405178725719452,
0.03484194353222847,
0.01987847499549389,
0.02947184257209301,
0.003606614423915744,
0.060035910457372665,
-0.030036158859729767,
0.016410665586590767,
0.013061177916824818,
-0.05650438740849495,
-0.03364049643278122,
-0.06618877500295639,
-0.018303852528333664,
-0.038591913878917694,
-0.07456248998641968,
-0.08402843028306961,
0.05144374817609787,
-0.027141764760017395,
0.062038321048021317,
0.026522837579250336,
0.05169859901070595,
-0.00461692176759243
] |
730,043 | mmengine.config.config | __iter__ | null | def __iter__(self):
# Implement `__iter__` to overwrite the unpacking operator `**cfg_dict`
# to get the built lazy object
return iter(self.keys())
| (self) | [
0.022642897441983223,
-0.07164119184017181,
-0.05628950893878937,
-0.03618850186467171,
-0.002178166527301073,
0.036121610552072525,
0.014415198005735874,
0.0006244982942007482,
0.08695942908525467,
-0.0031690022442489862,
0.0024373724590986967,
0.023144586011767387,
0.0015709137078374624,
0.05953376367688179,
-0.0188467837870121,
-0.04010167717933655,
-0.005451687145978212,
0.041038163006305695,
-0.04481755197048187,
0.005079601425677538,
-0.02486705221235752,
-0.00488728703930974,
0.04080403968691826,
0.0012594484724104404,
-0.01677313633263111,
0.01755911484360695,
0.023077694699168205,
0.008068831637501717,
0.04301147162914276,
-0.02428174763917923,
-0.07177497446537018,
0.013963677920401096,
0.03478377312421799,
0.007420816924422979,
0.020351851359009743,
-0.04227565973997116,
-0.01597043313086033,
0.03508478403091431,
-0.034750327467918396,
0.02247566729784012,
0.06070437282323837,
-0.013386735692620277,
-0.00021909699717070907,
-0.014072377234697342,
-0.025803538039326668,
-0.019465534016489983,
0.019030736759305,
0.02202414721250534,
0.05244322493672371,
-0.05167396739125252,
0.031690023839473724,
0.0027133014518767595,
0.006730994209647179,
-0.0022596910130232573,
-0.037559784948825836,
0.044917888939380646,
0.002309859963133931,
0.006258570589125156,
0.010109033435583115,
0.06796213984489441,
-0.0546841025352478,
-0.05498511716723442,
0.039934445172548294,
-0.01367102563381195,
0.021790025755763054,
-0.07839727401733398,
-0.08562159538269043,
0.0019492708379402757,
0.017191210761666298,
0.004945817403495312,
-0.014632596634328365,
-0.027626341208815575,
0.011338171549141407,
0.01367102563381195,
-0.05779457464814186,
-0.046188835054636,
-0.07511956989765167,
0.03137228637933731,
0.09150807559490204,
-0.05150673910975456,
-0.06251045316457748,
0.006258570589125156,
-0.07364794611930847,
-0.012441887520253658,
-0.0029704170301556587,
-0.00701110390946269,
0.015677781775593758,
-0.03200776129961014,
0.009063848294317722,
0.06327971071004868,
-0.02690725401043892,
0.08254456520080566,
0.014457005076110363,
0.026706578209996223,
-0.02535201795399189,
0.007266129367053509,
-0.025636309757828712,
0.03408140689134598,
0.010234455578029156,
0.005853038746863604,
-0.02061941847205162,
-0.004761864896863699,
0.034750327467918396,
0.026806917041540146,
0.004807853139936924,
-0.0421418771147728,
-0.042409446090459824,
-0.05006856471300125,
0.003102110465988517,
-0.028512658551335335,
-0.04374728351831436,
0.03155623748898506,
0.009231077507138252,
0.024733269587159157,
0.033496104180812836,
-0.048028361052274704,
-0.020301682874560356,
-0.03906485065817833,
0.0391651876270771,
-0.00028037099400535226,
-0.04341282323002815,
0.05809558928012848,
-0.031472623348236084,
0.07358105480670929,
0.018462155014276505,
0.04164018854498863,
0.019649486988782883,
-0.012818154878914356,
0.03973377123475075,
-0.02730860561132431,
0.06732666492462158,
0.042743902653455734,
0.0059408340603113174,
-0.004410682711750269,
0.042476337403059006,
-0.034649986773729324,
0.050202347338199615,
-0.02990066632628441,
-0.038931068032979965,
0.06338004767894745,
0.022977357730269432,
-0.015786482021212578,
-0.004991805646568537,
0.05712565779685974,
-0.014749657362699509,
-0.0421418771147728,
0.006392354145646095,
0.04438275471329689,
0.04043613374233246,
-0.016932005062699318,
0.01291849184781313,
0.024900497868657112,
0.03225860372185707,
0.06434997916221619,
-0.08488578349351883,
0.03598782420158386,
-0.04685775563120842,
0.02583698369562626,
-0.009598983451724052,
-0.06123950704932213,
-0.027542727068066597,
0.025301849469542503,
-0.04257667437195778,
-0.006622294895350933,
-0.01796046644449234,
0.01221612747758627,
-0.010426769964396954,
-0.08408308029174805,
0.036121610552072525,
0.0016858841991052032,
-0.004134753718972206,
-0.06314592808485031,
-0.008938426151871681,
0.017575839534401894,
-0.04414863511919975,
0.07712632417678833,
-0.011338171549141407,
0.06699220836162567,
-0.0016566189005970955,
0.03441586717963219,
-0.005677447188645601,
-0.01933174952864647,
-0.1012742891907692,
-0.04659018665552139,
0.05030268430709839,
0.057995252311229706,
0.048396266996860504,
0.00849944818764925,
0.015861734747886658,
-0.00934813916683197,
-0.01151376310735941,
-0.028579551726579666,
0.016162747517228127,
0.022007424384355545,
-0.022642897441983223,
0.01577811874449253,
-0.053747616708278656,
0.030552862212061882,
-0.01548546738922596,
0.09391618520021439,
-0.06625639647245407,
-0.017157765105366707,
-0.03210809826850891,
-0.005723435431718826,
-0.009155824780464172,
0.006634837482124567,
0.01557744387537241,
-0.05642329156398773,
0.034716881811618805,
0.020719757303595543,
-0.032392386347055435,
-0.06461754441261292,
-0.0018332552863284945,
0.019298303872346878,
0.02852938137948513,
-0.024231579154729843,
0.032392386347055435,
-0.03545268997550011,
-0.0169988963752985,
-0.0018635656451806426,
0.06732666492462158,
0.021923810243606567,
0.04160674288868904,
-0.03772701323032379,
0.008955148980021477,
-0.03846282511949539,
-0.015527275390923023,
-0.019816717132925987,
-0.07893240451812744,
-0.013403458520770073,
0.01862938515841961,
0.019967222586274147,
0.0317736379802227,
0.010736145079135895,
0.07471821457147598,
0.02083681710064411,
-0.003505551954731345,
-0.004477574490010738,
-0.012951938435435295,
0.07164119184017181,
0.000025852008548099548,
0.05391484498977661,
0.008829726837575436,
-0.014314860105514526,
-0.04856349527835846,
0.018529048189520836,
0.017709622159600258,
0.07117295265197754,
0.023662999272346497,
0.06388173252344131,
0.019114350900053978,
-0.03555302694439888,
-0.015176093205809593,
0.013704471290111542,
0.00599518371745944,
-0.05906552076339722,
-0.014983778819441795,
-0.010468577966094017,
0.0402689054608345,
-0.027626341208815575,
0.0277099572122097,
0.02575336955487728,
-0.020786648616194725,
0.08328037708997726,
0.0072285025380551815,
0.041038163006305695,
0.05605538561940193,
-0.00580286979675293,
-0.03886417672038078,
0.044583432376384735,
0.03311147540807724,
0.02498411387205124,
0.005175758618861437,
0.029850495979189873,
-0.010058864951133728,
0.007947590202093124,
0.011597378179430962,
-0.030552862212061882,
-0.06187497824430466,
0.0018363908166065812,
0.02239205315709114,
0.006760259624570608,
-0.03292752429842949,
-0.009030402638018131,
-0.019783269613981247,
-0.019666209816932678,
-0.0546841025352478,
0.0056230975314974785,
0.026439011096954346,
-0.015360045246779919,
0.058664169162511826,
0.008215157315135002,
0.029281916096806526,
-0.021739857271313667,
0.08401618897914886,
-0.04230910912156105,
-0.05311214551329613,
-0.023077694699168205,
0.025218235328793526,
0.006358908489346504,
0.058998629450798035,
-0.049867887049913406,
-0.041071608662605286,
0.02841232158243656,
0.0007405139040201902,
0.004962540697306395,
0.03762667626142502,
0.06929997354745865,
-0.011371618136763573,
0.026539349928498268,
0.000814722036011517,
-0.011078965850174427,
0.04428241774439812,
0.014799825847148895,
-0.0399009995162487,
-0.12261279672384262,
-0.018228033557534218,
0.016137663275003433,
-0.0008241287432610989,
0.06471788138151169,
-0.09110672771930695,
0.06230977550148964,
0.0022617813665419817,
-0.01402220781892538,
-0.02953276038169861,
0.018779892474412918,
0.04394795745611191,
0.029064517468214035,
-0.0035180943086743355,
-0.006542860995978117,
-0.04926586151123047,
-0.048396266996860504,
-0.0016628900775685906,
0.05779457464814186,
-0.006492692045867443,
0.04237600043416023,
0.06896551698446274,
0.027843739837408066,
0.018378540873527527,
-0.09893307834863663,
0.011890029534697533,
-0.030619753524661064,
-0.02302752621471882,
-0.021305060014128685,
-0.07424997538328171,
-0.004912371747195721,
-0.0010436177253723145,
-0.029064517468214035,
0.05749356001615524,
-0.006685005966573954,
0.030987657606601715,
-0.03759323060512543,
0.05973443761467934,
0.016756413504481316,
0.0546841025352478,
-0.013679387047886848,
-0.02031840570271015,
-0.009615706279873848,
-0.0164470374584198,
0.00535971112549305,
0.09485267102718353,
-0.010711060836911201,
-0.0587645061314106,
0.004590454511344433,
-0.007680022623389959,
-0.023094417527318,
-0.041004717350006104,
-0.00409294618293643,
0.02180674858391285,
-0.04789457842707634,
-0.020636141300201416,
0.02113782986998558,
-0.031322117894887924,
-0.02003411576151848,
0.005401518661528826,
-0.029582928866147995,
-0.0354861356317997,
0.07224322110414505,
-0.03075353614985943,
0.052944913506507874,
0.04515201225876808,
0.012868323363363743,
0.051941536366939545,
0.023495769128203392,
-0.019197966903448105,
-0.042844243347644806,
0.049867887049913406,
-0.02409779652953148,
0.04438275471329689,
0.01380480919033289,
-0.012366634793579578,
-0.023127863183617592,
-0.05843004956841469,
0.028111308813095093,
-0.018077528104186058,
-0.051573630422353745,
0.06829659640789032,
-0.017458777874708176,
-0.007399912923574448,
-0.03635573014616966,
0.03876383975148201,
-0.045218903571367264,
0.033278703689575195,
0.025402186438441277,
0.02486705221235752,
-0.06334660202264786,
0.05555369704961777,
-0.005062878131866455,
0.028579551726579666,
-0.006463427096605301,
0.0060662562027573586,
-0.016756413504481316,
-0.022592728957533836,
-0.021606074646115303,
0.012684370391070843,
-0.05257700756192207,
0.0024415531661361456,
-0.021338505670428276,
0.03662329912185669,
0.06451720744371414,
0.04869728162884712,
-0.05973443761467934,
0.005167396739125252,
-0.0024101976305246353,
-0.0029453325551003218,
0.012199404649436474,
-0.03033546358346939,
-0.01626308634877205,
-0.0019576323684304953,
-0.024331917986273766,
-0.05906552076339722,
-0.034649986773729324,
-0.003681143280118704,
-0.016028964892029762,
0.014841633848845959,
-0.05638984590768814,
-0.04157329723238945,
-0.011714438907802105,
0.0043437909334897995,
0.015661058947443962,
0.02028496004641056,
0.025636309757828712,
0.02342887781560421,
-0.021639520302414894,
0.05575437471270561,
-0.0015353774651885033,
-0.01618783175945282,
0.05672430619597435,
0.07251078635454178,
0.0253185722976923,
-0.011747884564101696,
0.01995049975812435,
0.03078698366880417,
-0.03595437854528427,
0.023846952244639397,
0.02911468595266342,
0.005832134746015072,
-0.023662999272346497,
-0.03222515806555748,
0.029683267697691917,
0.045988161116838455,
-0.020485635846853256,
0.0018228034023195505,
-0.01740860939025879,
0.0006856416584923863,
-0.02128833718597889,
-0.003570353612303734,
0.06314592808485031,
-0.038295596837997437,
-0.01588681899011135,
0.006940031424164772,
0.013537242077291012,
-0.036757081747055054,
-0.06796213984489441,
-0.044182080775499344,
-0.015385129489004612,
0.0009788161842152476,
0.0620756559073925,
-0.015443660318851471,
-0.08762834966182709,
-0.029148131608963013,
-0.017525669187307358,
0.04341282323002815,
-0.04187431186437607,
-0.003505551954731345,
-0.04444964602589607,
0.029482591897249222,
-0.03478377312421799,
-0.019465534016489983,
0.014950333163142204,
-0.0015332871116697788,
0.005041974596679211,
-0.015418576076626778,
0.012742901220917702,
0.0753871351480484,
0.00653031887486577,
0.010761229321360588,
0.025268403813242912,
0.03274356946349144,
-0.024766715243458748,
-0.012425164692103863,
0.033646609634160995,
0.045285794883966446,
0.04866383597254753,
-0.013838255777955055,
0.008014482446014881,
-0.016982173547148705,
-0.02627178095281124,
-0.017341716215014458,
-0.035385798662900925,
0.013721195049583912,
-0.04113849997520447,
-0.05926619470119476,
-0.015117562375962734,
0.04572059214115143,
-0.08087226748466492,
-0.028211645781993866,
-0.011095688678324223,
-0.05414896830916405,
0.0376935675740242,
0.04056992009282112,
0.019783269613981247,
-0.009306331165134907,
0.015870096161961555,
-0.03369677811861038,
0.052342887967824936,
0.042409446090459824,
-0.0524766705930233,
0.003319509094581008,
-0.008361483924090862,
0.024198133498430252,
-0.04404829442501068,
-0.00398215651512146,
0.07411619275808334,
-0.07210943847894669,
-0.03555302694439888,
-0.0016952907899394631,
0.0071950568817555904,
-0.0015061122830957174,
0.09063848108053207,
0.05926619470119476,
0.003948710858821869,
0.06070437282323837,
-0.010619084350764751,
0.025619585067033768,
0.008215157315135002,
-0.0164470374584198,
-0.02150573581457138,
-0.004015602637082338,
-0.013788086362183094,
-0.01461587380617857,
-0.035753704607486725,
-0.020703034475445747,
-0.036790527403354645,
-0.009239439852535725,
-0.021338505670428276,
0.01487507950514555,
-0.0576607920229435,
-0.04919897019863129,
0.02782701700925827,
0.020719757303595543,
0.03709154203534126,
-0.08047091960906982,
-0.014122545719146729,
0.006166594102978706,
0.006287835538387299,
0.033646609634160995,
0.06257734447717667,
-0.019415365532040596,
0.02841232158243656,
0.009624067693948746,
0.025853708386421204,
-0.007128164637833834,
0.03269340097904205,
0.02483360655605793,
0.041439514607191086,
-0.01408073864877224,
-0.014582427218556404,
0.005572929047048092,
-0.08923375606536865,
-0.0036853239871561527,
0.00039403492701239884,
0.03980066254734993,
-0.011003712192177773,
-0.023479046300053596,
-0.026773471385240555,
-0.03454964980483055,
0.05675775185227394,
-0.006626475602388382,
-0.017642730847001076,
0.0042978026904165745,
-0.015510552562773228,
-0.017174487933516502,
-0.025084450840950012,
0.009063848294317722,
-0.049499984830617905,
-0.011982006020843983,
-0.03876383975148201,
-0.022091040387749672,
-0.02080337144434452,
-0.0317903608083725,
0.030619753524661064,
-0.003204538719728589,
0.05682464316487312,
0.005418241489678621,
-0.032760292291641235,
0.02864644303917885,
0.044583432376384735,
0.011313087306916714,
0.009548814035952091,
-0.06411585956811905,
-0.019264858216047287,
0.04040268808603287,
-0.015652697533369064,
0.011488678865134716,
-0.022458944469690323,
0.0031710925977677107,
0.02073648013174534,
0.010836482979357243,
0.001890740473754704,
-0.03232549503445625,
-0.00977457407861948,
-0.03265995532274246,
0.04003478214144707,
-0.06381484121084213,
-0.05117227882146835,
0.019415365532040596,
-0.04515201225876808,
0.038563162088394165,
0.00542242219671607,
-0.0006318145897239447,
-0.006271112710237503,
0.06388173252344131,
-0.01851232536137104,
-0.010803037323057652,
0.006191678810864687,
0.021489012986421585,
0.01420616079121828,
-0.054483428597450256,
-0.01951570250093937,
-0.03145590052008629,
-0.016463762149214745,
-0.0008716846932657063,
0.00422254903241992,
-0.05240977928042412,
0.011229472234845161,
-0.00668918713927269,
0.022626174613833427,
0.08361483365297318,
-0.054483428597450256,
0.009548814035952091,
0.02660624124109745,
-0.006367269903421402,
0.03378039225935936,
-0.05889829248189926,
-0.031205056235194206,
0.010117394849658012,
0.002408107277005911,
0.029683267697691917,
-0.001755911624059081,
0.010100672021508217,
0.0029787784442305565,
-0.024850329384207726,
-0.05341315641999245,
0.020351851359009743,
-0.0067811631597578526,
-0.02797752432525158,
0.005723435431718826,
-0.006471788510680199,
0.01677313633263111,
0.010201009921729565,
0.006793705280870199,
-0.0358540415763855,
-0.0746513232588768,
-0.03408140689134598,
0.01088665146380663,
-0.010727783665060997,
-0.004766045603901148,
0.044583432376384735,
-0.02013445273041725,
-0.057894911617040634,
0.017860129475593567,
-0.028847118839621544,
0.07077159732580185,
-0.0595003180205822,
-0.0013890514383092523,
0.006091340910643339,
-0.038295596837997437,
0.00814826600253582,
-0.05491822585463524,
0.02043546549975872,
-0.014582427218556404,
0.045988161116838455,
0.010410047136247158,
0.0009129695245064795,
-0.003737583290785551,
-0.012701093219220638,
-0.07070470601320267,
0.001856249407865107,
-0.038228701800107956,
0.019164521247148514,
0.0029745977371931076,
0.02025151252746582,
-0.006204220931977034,
0.008173350244760513,
0.018963845446705818,
0.03051941469311714,
0.02361283078789711,
0.00266522285528481,
0.04204154014587402,
0.006342185195535421,
0.10254523903131485,
-0.0210709385573864,
-0.05187464505434036,
0.04608849808573723,
-0.009757851250469685,
0.05461721122264862,
0.007608950138092041,
0.013303120620548725,
0.02239205315709114,
0.03672363609075546,
-0.01817786507308483,
-0.008545435965061188,
0.04254322871565819,
0.022074317559599876,
0.030385632067918777,
-0.009139101952314377,
0.027542727068066597,
-0.034649986773729324,
0.0365898534655571,
0.02025151252746582,
-0.05873106047511101,
-0.05695842579007149,
0.03130539506673813,
-0.012834877707064152,
-0.03776045888662338,
0.02132178284227848,
0.046188835054636,
-0.014323221519589424,
0.02265962027013302,
-0.018947122618556023,
0.02235860750079155,
-0.017726344987750053,
0.07819659262895584,
-0.006538680288940668,
-0.04682430997490883,
0.04217532277107239,
0.023345261812210083,
0.0164470374584198,
-0.014590788632631302,
0.017324993386864662,
0.044884443283081055,
0.019682932645082474,
0.013595771975815296,
-0.002801096998155117,
-0.046690523624420166,
-0.011078965850174427,
-0.07090537995100021,
-0.04505167528986931,
-0.00385255366563797,
-0.047794241458177567,
-0.03118833340704441,
0.016639351844787598,
0.023596106097102165,
0.008123181760311127,
0.003651878098025918,
0.08802969753742218,
-0.02660624124109745
] |
730,044 | mmengine.config.config | __missing__ | null | def __missing__(self, name):
raise KeyError(name)
| (self, name) | [
0.03273654729127884,
-0.03880128264427185,
-0.011485505849123001,
0.024356773123145103,
-0.020101673901081085,
-0.01481948234140873,
0.026622898876667023,
0.006333739031106234,
0.07545056194067001,
0.0003431284858379513,
-0.0248295608907938,
0.013042448088526726,
0.05451743304729462,
-0.022530829533934593,
-0.030926905572414398,
-0.00638264836743474,
0.051159005612134933,
0.1038178876042366,
0.003433832200244069,
-0.0731029212474823,
-0.010678504593670368,
0.004968357738107443,
0.03964904323220253,
0.015333028510212898,
-0.020117977634072304,
0.06847285479307175,
0.047213662415742874,
0.007030694745481014,
0.0635819360613823,
-0.05627816542983055,
-0.07910244911909103,
-0.006019905209541321,
0.0157243013381958,
0.04796360433101654,
-0.011778960935771465,
-0.016889970749616623,
-0.03301369771361351,
-0.00225797388702631,
-0.022612344473600388,
-0.01064589899033308,
0.040692441165447235,
0.0324430912733078,
-0.024601317942142487,
-0.06407102942466736,
0.036323219537734985,
0.010694807395339012,
-0.006333739031106234,
0.05670204386115074,
-0.0578758642077446,
0.038312193006277084,
-0.017036698758602142,
0.045942023396492004,
-0.0015599990729242563,
0.0010067139519378543,
-0.04229013994336128,
0.0474092997610569,
0.012895721010863781,
0.028122778981924057,
-0.024014407768845558,
0.07297249883413315,
-0.03241048380732536,
0.027454353868961334,
0.003250422654673457,
-0.02381877228617668,
-0.010931202210485935,
-0.02805756777524948,
0.028155386447906494,
-0.03635582700371742,
0.007743953727185726,
0.007059225346893072,
0.06452751159667969,
0.0056123286485672,
-0.0476701483130455,
0.050017789006233215,
0.05843016877770424,
-0.005591949913650751,
-0.03446466848254204,
-0.012015355750918388,
0.06628824770450592,
-0.02002015896141529,
0.009357957169413567,
-0.015251513570547104,
-0.07799383997917175,
-0.01128986943513155,
-0.03883389011025429,
0.027878234162926674,
0.030144359916448593,
-0.050180818885564804,
-0.011249111965298653,
0.002683891449123621,
-0.04998518526554108,
0.03249200060963631,
-0.004548553843051195,
0.03925776854157448,
0.02779671922326088,
-0.006994013208895922,
0.02978569269180298,
-0.0476701483130455,
0.00902374368160963,
-0.02101464569568634,
0.05771283432841301,
-0.0224493145942688,
0.026997867971658707,
0.0014285556972026825,
-0.008208591490983963,
-0.04020334780216217,
0.015308573842048645,
-0.04004031792283058,
-0.020933130756020546,
0.023182952776551247,
0.003319710725918412,
0.0015763022238388658,
-0.018096396699547768,
-0.00564085878431797,
-0.004927600268274546,
-0.03805134445428848,
0.013882055878639221,
-0.004878690931946039,
-0.01961258240044117,
0.0016995940823107958,
0.0002661984181031585,
0.015463452786207199,
-0.0731029212474823,
-0.01433038990944624,
0.0778634175658226,
-0.012920175679028034,
-0.04558335617184639,
0.012602265924215317,
0.09657932817935944,
0.010548080317676067,
0.03285066783428192,
0.0034399458672851324,
-0.046659357845783234,
0.006036208011209965,
-0.008730288594961166,
0.05604992434382439,
0.06452751159667969,
-0.0007458650507032871,
0.0032809909898787737,
0.044670384377241135,
0.00458115991204977,
-0.047735363245010376,
0.020851613953709602,
0.006627194117754698,
0.04708324000239372,
-0.00012475662515498698,
-0.03221484646201134,
0.0030201419722288847,
0.02132440358400345,
-0.019710401073098183,
-0.0000017831472405305249,
0.0476701483130455,
-0.017427971586585045,
-0.01902567222714424,
-0.013939117081463337,
0.018650701269507408,
-0.01822682097554207,
-0.003213740885257721,
-0.05096336826682091,
-0.04079025611281395,
0.031823575496673584,
-0.03909473866224289,
0.0014346693642437458,
-0.05021342635154724,
-0.04108371213078499,
-0.014713511802256107,
-0.0022335192188620567,
-0.024748045951128006,
0.008901471272110939,
0.041670624166727066,
-0.05601731687784195,
-0.02724241465330124,
-0.041833654046058655,
0.006936952471733093,
0.026883747428655624,
0.004520023707300425,
-0.02890532650053501,
0.0289379321038723,
0.010629595257341862,
-0.04457256942987442,
0.051974158734083176,
-0.014436360448598862,
-0.0895364060997963,
-0.013947268016636372,
0.015919938683509827,
0.012374022975564003,
-0.02499259263277054,
-0.008803652599453926,
0.01310766115784645,
0.07753735780715942,
0.03994249925017357,
-0.017036698758602142,
0.016482394188642502,
0.06977710127830505,
0.07818947732448578,
-0.009406865574419498,
0.0025840350426733494,
0.05520216375589371,
0.006582360714673996,
0.07577662914991379,
-0.0013001690385863185,
0.028562963008880615,
-0.0451594777405262,
0.05604992434382439,
-0.017167123034596443,
-0.0053270249627530575,
0.02499259263277054,
-0.04910481721162796,
-0.02368834801018238,
-0.004609690513461828,
-0.012153931893408298,
-0.014868391677737236,
0.007955893874168396,
0.03185617923736572,
0.023166649043560028,
-0.007703196257352829,
-0.00916231982409954,
-0.03792091831564903,
0.03149751201272011,
0.054973918944597244,
0.04326832294464111,
0.001275714486837387,
0.07910244911909103,
0.0052332826890051365,
0.03130187466740608,
-0.019156096503138542,
0.032377880066633224,
-0.03156272694468498,
-0.030079146847128868,
-0.03020957112312317,
0.01381684374064207,
0.010376897640526295,
0.004020742140710354,
-0.0006378572434186935,
0.04427911341190338,
-0.008086318150162697,
-0.012814206071197987,
-0.023329678922891617,
0.014061389490962029,
-0.0074912565760314465,
0.001873833010904491,
0.01214578002691269,
-0.013278842903673649,
0.06892933696508408,
0.027829324826598167,
-0.028725992888212204,
-0.019710401073098183,
0.0783851146697998,
-0.034790731966495514,
0.00022582286328542978,
0.040692441165447235,
0.01009159442037344,
-0.009675866924226284,
0.01115129329264164,
0.012895721010863781,
-0.09820963442325592,
-0.03766006976366043,
-0.020655978471040726,
0.07212474197149277,
-0.006965482607483864,
-0.07884160429239273,
0.004020742140710354,
-0.0041817352175712585,
0.05575646832585335,
-0.02129179798066616,
0.006333739031106234,
0.03452988341450691,
0.05027863755822182,
-0.028889022767543793,
0.02016688510775566,
0.016563909128308296,
0.03439945727586746,
0.018715914338827133,
-0.007589074783027172,
0.029280297458171844,
0.01690627448260784,
0.02595447190105915,
0.029965026304125786,
-0.023036224767565727,
0.01775403320789337,
0.08627579361200333,
-0.017101909965276718,
-0.002002219669520855,
0.05109379068017006,
-0.062016841024160385,
0.005930238403379917,
-0.01749318465590477,
-0.0603865385055542,
-0.038703467696905136,
0.0028673007618635893,
0.029166175052523613,
0.0002532069047447294,
-0.020786402747035027,
0.009920412674546242,
0.011575172655284405,
0.004126712214201689,
-0.04894178733229637,
0.011412142775952816,
0.037040553987026215,
0.027323929592967033,
0.02344380132853985,
-0.00317298318259418,
-0.022465618327260017,
-0.0011279679602012038,
-0.047767966985702515,
-0.0850367620587349,
0.04219232127070427,
0.06517963856458664,
-0.04897439479827881,
0.01382499560713768,
-0.0013062827056273818,
0.026019684970378876,
-0.013164721429347992,
0.03808394819498062,
0.028024962171912193,
0.0159606970846653,
-0.00040706704021431506,
-0.0029100964311510324,
0.012520750984549522,
0.08321081846952438,
-0.026052290573716164,
0.0012359757674857974,
-0.07108134776353836,
-0.014403753913939,
-0.010882292874157429,
-0.0029284371994435787,
-0.0049031456001102924,
-0.02512301690876484,
-0.03961643576622009,
0.021373312920331955,
-0.009154168888926506,
-0.038736071437597275,
0.015251513570547104,
-0.01878112554550171,
-0.09527508914470673,
0.0007377134752459824,
-0.0011391763109713793,
-0.014338541775941849,
0.055919498205184937,
0.015487907454371452,
0.004000363405793905,
-0.024161135777831078,
-0.04020334780216217,
-0.011004566214978695,
0.017705123871564865,
-0.010629595257341862,
0.013833146542310715,
-0.03909473866224289,
0.0409206822514534,
-0.008518349379301071,
-0.0141021478921175,
0.008901471272110939,
-0.003867901163175702,
0.015031421557068825,
0.07179868221282959,
0.008420530706644058,
0.008934076875448227,
-0.006235920824110508,
-0.037627462297677994,
-0.019971249625086784,
0.06146254017949104,
-0.03200290724635124,
-0.030095450580120087,
-0.017965972423553467,
-0.05399573594331741,
-0.0454203262925148,
-0.0001255208335351199,
0.011477354913949966,
-0.039420802146196365,
-0.07114655524492264,
-0.04796360433101654,
-0.02706308104097843,
-0.04613766074180603,
0.019139792770147324,
-0.009113410487771034,
-0.009349805302917957,
0.07695044577121735,
0.024177439510822296,
-0.02890532650053501,
-0.00875474326312542,
-0.006390799768269062,
0.0024862168356776237,
-0.04186626151204109,
0.03677970543503761,
-0.010344292037189007,
-0.02130809985101223,
0.0052414340898394585,
0.0030833163764327765,
0.040431588888168335,
0.016025908291339874,
0.02593817003071308,
-0.0603865385055542,
0.0031098087783902884,
0.03925776854157448,
-0.04033377021551132,
-0.041833654046058655,
0.006900270469486713,
-0.09012331813573837,
-0.057517196983098984,
0.0050661759451031685,
0.03061714768409729,
-0.011192050762474537,
-0.0476701483130455,
0.0384100116789341,
0.05611513555049896,
0.0010388107039034367,
0.008925925940275192,
-0.00875474326312542,
0.0004396731674205512,
-0.03206811845302582,
-0.00715296808630228,
-0.010181261226534843,
-0.055691253393888474,
-0.08536282926797867,
0.012651175260543823,
-0.0047197360545396805,
0.025791442021727562,
-0.053669676184654236,
0.01023832242935896,
0.015838423743844032,
-0.009088956750929356,
-0.06716860830783844,
0.010531777516007423,
0.030291086062788963,
-0.011925688944756985,
-0.0012268052669242024,
-0.0346929132938385,
-0.043366141617298126,
0.006162556819617748,
-0.003816954093053937,
-0.05233282595872879,
-0.009773684665560722,
0.021275494247674942,
-0.030405208468437195,
0.021112464368343353,
-0.058332350105047226,
-0.03276915103197098,
-0.06071259826421738,
-0.052854523062705994,
0.03387776017189026,
-0.0005797775811515749,
-0.00025218797964043915,
-0.004320310894399881,
0.04512687027454376,
0.01036874670535326,
-0.01680845580995083,
0.012651175260543823,
0.04587681218981743,
0.05471307039260864,
-0.0431705042719841,
-0.017868153750896454,
-0.011061626486480236,
0.026345746591687202,
-0.03638843074440956,
0.027421748265624046,
-0.024715440347790718,
-0.08431942760944366,
-0.03622540086507797,
0.03629061207175255,
0.020378826186060905,
-0.05194155126810074,
0.06736424565315247,
-0.027552172541618347,
-0.016857365146279335,
-0.007650210987776518,
0.08640622347593307,
-0.0046422965824604034,
0.0012074453989043832,
0.013311449438333511,
-0.024226348847150803,
-0.01734645664691925,
0.0014010443119332194,
0.013792389072477818,
-0.06126690283417702,
-0.08405858278274536,
-0.04385523498058319,
-0.007487180642783642,
0.06755988299846649,
0.011738203465938568,
-0.026704413816332817,
0.03981207311153412,
-0.008294181898236275,
0.018960459157824516,
-0.014558632858097553,
0.0034256805665791035,
-0.006761694326996803,
-0.012585963122546673,
0.007748029660433531,
0.01489284634590149,
-0.02044403739273548,
-0.011738203465938568,
-0.039453405886888504,
-0.007193725556135178,
0.03387776017189026,
0.03876867890357971,
-0.0009012535447254777,
0.006920649204403162,
0.015846574679017067,
0.006586436647921801,
-0.01791706308722496,
-0.005807965528219938,
-0.008599864318966866,
0.019579974934458733,
0.004560781177133322,
0.010760020464658737,
-0.06283199787139893,
0.03201921284198761,
0.04082286357879639,
0.055234771221876144,
-0.051419854164123535,
-0.008950380608439445,
0.04962651804089546,
0.018878944218158722,
0.009553593583405018,
0.06671212613582611,
-0.0005293400026857853,
-0.05758241191506386,
-0.03586673364043236,
-0.01002638228237629,
0.07662438601255417,
0.07518971711397171,
-0.0005670408136211336,
0.035475458949804306,
-0.024503499269485474,
-0.05119160935282707,
0.00951283611357212,
0.014599391259253025,
-0.03371473029255867,
-0.011469203047454357,
0.049756940454244614,
-0.01313211489468813,
-0.008261576294898987,
-0.025921866297721863,
0.037757888436317444,
0.010678504593670368,
0.06081041693687439,
-0.038312193006277084,
0.0268185343593359,
-0.05435440316796303,
0.03948601335287094,
0.04643111675977707,
0.012096870690584183,
0.06413623690605164,
-0.018536580726504326,
0.01607481762766838,
-0.03671449422836304,
-0.09944867342710495,
0.0038271434605121613,
0.01036059483885765,
-0.018129004165530205,
-0.013604904524981976,
0.014371148310601711,
0.0018320564413443208,
-0.058201927691698074,
0.04007292166352272,
-0.010898595675826073,
0.009806291200220585,
0.014974361285567284,
0.024307863786816597,
0.04440953582525253,
0.029867207631468773,
0.0030792406760156155,
0.07375504821538925,
-0.047767966985702515,
-0.017101909965276718,
-0.033356063067913055,
-0.038149163126945496,
-0.029818298295140266,
0.027405444532632828,
-0.008127075619995594,
-0.05011560767889023,
-0.00010953618766507134,
0.01177081000059843,
0.024095924571156502,
-0.0023191103246062994,
0.03612758219242096,
0.01990603655576706,
0.014477117918431759,
-0.05024603381752968,
-0.09338393062353134,
-0.010148655623197556,
0.015178149566054344,
-0.007356755901128054,
-0.014281481504440308,
-0.027976052835583687,
-0.022465618327260017,
-0.04483341798186302,
-0.013849450275301933,
-0.004409977700561285,
0.0030181040056049824,
-0.05155027657747269,
-0.09025374054908752,
0.010841535404324532,
-0.036062370985746384,
0.03285066783428192,
0.06077780947089195,
0.020232098177075386,
-0.06892933696508408,
0.023737255483865738,
-0.0010102803353220224,
0.014379299245774746,
0.00441405363380909,
0.02398180216550827,
0.03684491664171219,
0.04786578565835953,
0.061592962592840195,
-0.01975931040942669,
0.01918870210647583,
-0.014199965633451939,
-0.06573393940925598,
-0.014501572586596012,
-0.011403990909457207,
-0.016653576865792274,
0.03955122455954552,
-0.02315034531056881,
-0.04313789680600166,
0.038703467696905136,
-0.01367826759815216,
-0.0010286212200298905,
0.012268053367733955,
-0.020378826186060905,
-0.020281007513403893,
-0.05432179942727089,
0.03629061207175255,
-0.01692257635295391,
-0.026003381237387657,
0.028954235836863518,
0.019954945892095566,
-0.02269386127591133,
-0.016726940870285034,
-0.02398180216550827,
0.016449788585305214,
0.0001418875763192773,
-0.046920210123062134,
-0.01560202892869711,
0.051289428025484085,
0.05699549987912178,
-0.00458115991204977,
-0.0055878739804029465,
0.09788357466459274,
-0.04046419635415077,
-0.021536342799663544,
-0.025579502806067467,
0.07108134776353836,
-0.04685499519109726,
0.019514763727784157,
-0.031953997910022736,
-0.03361691161990166,
0.07518971711397171,
-0.004772720858454704,
-0.028970539569854736,
-0.0141021478921175,
0.004136901814490557,
-0.04330093041062355,
0.028546659275889397,
-0.012773447670042515,
-0.061853811144828796,
-0.015145543031394482,
-0.007805090397596359,
-0.03896431624889374,
-0.028579264879226685,
-0.03146490827202797,
-0.034497275948524475,
0.009341653436422348,
0.05543040484189987,
0.008868864737451077,
-0.031807269901037216,
-0.08986247330904007,
-0.011379536241292953,
0.03198660537600517,
-0.011941991746425629,
0.02354162000119686,
0.026769625023007393,
-0.023525316268205643,
-0.02086791768670082,
-0.009227531962096691,
0.010287230834364891,
-0.0019726704340428114,
0.03567109629511833,
-0.009749229997396469,
0.018438762053847313,
0.01057253498584032,
-0.026883747428655624,
0.029263993725180626,
-0.01791706308722496,
0.06169078126549721,
0.004772720858454704,
-0.05640859156847,
0.040007710456848145,
-0.030405208468437195,
0.019384339451789856,
-0.03482333570718765,
-0.01361305546015501,
0.11457791179418564,
-0.07890681177377701,
-0.02877490222454071,
-0.005290342960506678,
-0.04137716814875603,
0.008029256947338581,
0.027764111757278442,
0.018667005002498627,
0.04881136491894722,
0.002614603377878666,
-0.0030833163764327765,
-0.011330626904964447,
0.009341653436422348,
-0.012398477643728256,
0.04271401837468147,
-0.01723233424127102,
-0.04473559930920601,
-0.017525790259242058,
0.0012084643822163343,
-0.0003044087206944823,
-0.036323219537734985,
0.025791442021727562,
-0.026345746591687202,
0.022938406094908714,
0.017330152913928032,
-0.033356063067913055,
0.033942971378564835,
0.018455063924193382,
0.004263250157237053,
0.0020124090369790792,
0.0013337942073121667,
-0.0036355825141072273,
0.017020395025610924,
-0.05334361270070076,
-0.1120346337556839,
-0.018308337777853012,
0.10081812739372253,
0.05611513555049896,
0.04900699853897095,
-0.027128292247653008,
0.0741463229060173,
0.060158293694257736,
-0.06736424565315247,
0.002632944379001856,
0.04229013994336128,
0.05927792936563492,
0.0940360501408577,
-0.022090647369623184,
0.012952781282365322,
-0.006337814964354038,
-0.020786402747035027,
0.04418129473924637,
0.01719972863793373,
-0.0015335066709667444,
0.07179868221282959,
-0.02015058323740959,
0.07688523083925247,
0.03935558721423149,
-0.013450024649500847,
-0.011648536659777164,
0.07303771376609802,
-0.004674902651458979,
-0.07303771376609802,
0.018210519105196,
0.0052414340898394585,
0.04695281386375427,
0.017737729474902153,
-0.06133211404085159,
0.0203299168497324,
-0.008624318987131119,
0.04258359596133232,
-0.006725012324750423,
0.005547116510570049,
0.03061714768409729,
0.01142844557762146
] |
730,046 | mmengine.config.config | __reduce_ex__ | null | def __reduce_ex__(self, proto):
# Override __reduce_ex__ to avoid `self.items` will be
# called by CPython interpreter during pickling. See more details in
# https://github.com/python/cpython/blob/8d61a71f9c81619e34d4a30b625922ebc83c561b/Objects/typeobject.c#L6196 # noqa: E501
if digit_version(platform.python_version()) < digit_version('3.8'):
return (self.__class__, ({k: v
for k, v in super().items()}, ), None,
None, None)
else:
return (self.__class__, ({k: v
for k, v in super().items()}, ), None,
None, None, None)
| (self, proto) | [
0.013625068590044975,
-0.03316937014460564,
-0.0526956282556057,
0.04403333365917206,
0.0029754082206636667,
-0.050096940249204636,
0.011432425118982792,
-0.030372172594070435,
0.04923070967197418,
-0.049158524721860886,
0.04757043719291687,
0.05623273178935051,
-0.00024292210582643747,
0.005242493003606796,
-0.005747793707996607,
0.05774863436818123,
-0.04771480709314346,
0.03304304555058479,
0.03822237625718117,
0.03815019130706787,
0.030137568712234497,
0.016259849071502686,
-0.00427700811997056,
0.058578770607709885,
0.03331374377012253,
0.04291445389389992,
0.04064060002565384,
-0.01676514931023121,
0.012127213180065155,
-0.03390927612781525,
-0.06114136427640915,
0.0187683068215847,
-0.00949243176728487,
0.013435580767691135,
0.030245846137404442,
-0.024019822478294373,
-0.03786144778132439,
0.07247453182935715,
-0.05569133907556534,
-0.029650313779711723,
-0.0032100118696689606,
-0.015898920595645905,
-0.03333178907632828,
-0.07186095416545868,
0.06374005228281021,
-0.009555594064295292,
0.049375083297491074,
0.046740300953388214,
0.029433757066726685,
-0.0921812579035759,
-0.0018373540369793773,
-0.016855383291840553,
0.0451522134244442,
0.021655738353729248,
-0.07027287036180496,
0.022106898948550224,
0.017920123413205147,
0.028170505538582802,
-0.07572289556264877,
0.08561234921216965,
-0.03815019130706787,
0.0301195215433836,
0.01494245883077383,
-0.0008340842905454338,
-0.01607036218047142,
-0.049158524721860886,
-0.025698142126202583,
-0.05053005367517471,
-0.06731325387954712,
0.033385928720235825,
-0.0032190352212637663,
-0.032447513192892075,
0.0015666572144255042,
0.01072861347347498,
-0.01006089523434639,
-0.0017922378610819578,
-0.015249248594045639,
-0.03625531494617462,
0.0713195651769638,
-0.03616508096456528,
0.006460628472268581,
-0.009636803530156612,
-0.07572289556264877,
-0.020157882943749428,
-0.01259642094373703,
-0.011197821237146854,
0.040496230125427246,
-0.010286475531756878,
-0.06337912380695343,
0.026853114366531372,
-0.07352122664451599,
0.08113683015108109,
-0.03454090282320976,
0.022449782118201256,
-0.02575228177011013,
-0.038475025445222855,
-0.006023001857101917,
-0.0013704021694138646,
0.027773482725024223,
0.002364084590226412,
0.04309491813182831,
-0.0234784297645092,
-0.056304916739463806,
-0.043347567319869995,
-0.021204575896263123,
-0.004004055634140968,
0.037717077881097794,
-0.024669494479894638,
-0.033945370465517044,
0.014933436177670956,
0.029397664591670036,
0.030787240713834763,
-0.04244524613022804,
0.06507549434900284,
0.002621246501803398,
0.014518367126584053,
-0.04363631084561348,
-0.018732212483882904,
0.029217198491096497,
0.006280163768678904,
-0.023406242951750755,
0.08438519388437271,
-0.07218579202890396,
0.0225580595433712,
-0.025625955313444138,
0.017532125115394592,
0.07261890918016434,
-0.030967704951763153,
0.023442335426807404,
0.0225580595433712,
0.013273162767291069,
0.011441447772085667,
-0.03663428872823715,
-0.0019196908688172698,
0.0329708606004715,
0.038114096969366074,
0.04302273318171501,
-0.020157882943749428,
-0.0281885527074337,
0.01720728911459446,
0.028441201895475388,
0.0026618510019034147,
0.06052778661251068,
0.012948326766490936,
-0.0032957326620817184,
-0.04414161294698715,
0.026817021891474724,
0.03872767835855484,
-0.01648543030023575,
0.0027656182646751404,
0.006618534680455923,
0.028116365894675255,
0.007502810563892126,
0.04796746000647545,
-0.0001337269932264462,
0.03585829213261604,
-0.03235728293657303,
-0.03991874307394028,
-0.018750259652733803,
-0.06482283771038055,
-0.027971994131803513,
0.027412554249167442,
0.008283319883048534,
-0.05204595625400543,
0.05735161155462265,
0.01746896095573902,
0.028170505538582802,
-0.05096317082643509,
-0.023767171427607536,
0.010566195473074913,
-0.03501011058688164,
-0.058181747794151306,
0.07200532406568527,
-0.0001928714191308245,
-0.034667227417230606,
0.09297530353069305,
-0.033963415771722794,
0.025102609768509865,
-0.002862617839127779,
-0.0014121345011517406,
0.008166017942130566,
-0.04193994402885437,
-0.03930516541004181,
0.0039183348417282104,
0.044285982847213745,
0.04212040826678276,
0.03970218449831009,
-0.009348060004413128,
0.024308566004037857,
0.0025806420017033815,
-0.034143880009651184,
-0.014437158592045307,
0.01476199459284544,
0.005346260033547878,
-0.01840737648308277,
0.009835314005613327,
-0.02106020413339138,
0.03699521720409393,
-0.026077117770910263,
0.07593945413827896,
-0.09485212713479996,
0.027737390249967575,
-0.014608599245548248,
-0.02558986283838749,
-0.08113683015108109,
-0.004809378180652857,
0.03410778567194939,
-0.0013083674712106586,
0.025716189295053482,
-0.02972250059247017,
0.0028513388242572546,
-0.01251521147787571,
-0.018912676721811295,
0.00011624450417002663,
0.017234357073903084,
-0.10849524289369583,
0.038114096969366074,
-0.012695676647126675,
0.04554923623800278,
0.04998866096138954,
0.07464011013507843,
-0.010809822008013725,
-0.05334530025720596,
-0.03248360753059387,
0.04233696684241295,
-0.04414161294698715,
-0.03499206155538559,
-0.009248804301023483,
-0.005328213796019554,
-0.04190385341644287,
0.0006699743680655956,
-0.0013546114787459373,
-0.004464240279048681,
-0.004369496367871761,
0.0072501604445278645,
0.08568453788757324,
0.028260737657546997,
-0.03046240471303463,
0.001007217331789434,
0.030318032950162888,
0.044466447085142136,
-0.0017335868906229734,
0.021547459065914154,
0.008788620121777058,
0.015835758298635483,
-0.0376448892056942,
0.048436667770147324,
0.07406262308359146,
0.018858538940548897,
0.057640355080366135,
0.005016912706196308,
-0.009988709352910519,
-0.008053227327764034,
-0.001859912066720426,
0.013471673242747784,
-0.006762906443327665,
0.008048716001212597,
-0.05677412450313568,
0.006059094797819853,
-0.03436043858528137,
0.004859006032347679,
0.026564370840787888,
0.030372172594070435,
0.03511838614940643,
-0.0015440991846844554,
-0.007922390475869179,
0.042806174606084824,
0.01778477430343628,
-0.014437158592045307,
0.09990513324737549,
0.017658449709415436,
-0.002573874546214938,
0.03082333318889141,
0.0366523377597332,
-0.03441457822918892,
-0.029090873897075653,
-0.022251270711421967,
0.025824466720223427,
0.02595079317688942,
-0.01229865476489067,
0.01363409124314785,
0.008021646179258823,
0.007602066267281771,
-0.054428085684776306,
-0.010936147533357143,
-0.00837355200201273,
0.009366106241941452,
-0.007737414445728064,
-0.024398798123002052,
-0.022467827424407005,
0.056701939553022385,
0.010827869176864624,
0.01053010206669569,
-0.020572951063513756,
0.05843439698219299,
-0.005346260033547878,
-0.012235491536557674,
0.03324155882000923,
0.06337912380695343,
0.002058422891423106,
-0.006505744531750679,
0.004489053972065449,
0.016620779410004616,
0.008138948120176792,
0.02706967294216156,
-0.01352581288665533,
0.030408265069127083,
0.022810710594058037,
-0.0413263663649559,
0.056341011077165604,
-0.0122264688834548,
0.04850885272026062,
0.03268211707472801,
-0.005224446766078472,
-0.027538878843188286,
0.018732212483882904,
0.02672678977251053,
0.03815019130706787,
-0.0072862533852458,
0.05930062755942345,
-0.05128800496459007,
-0.02423637919127941,
-0.011991865001618862,
-0.0033250581473112106,
-0.036201175302267075,
-0.0658334419131279,
-0.012686653062701225,
-0.0329708606004715,
0.01834421418607235,
-0.04836447909474373,
-0.03540712967514992,
-0.02272047847509384,
0.001972702331840992,
0.021944480016827583,
-0.030534589663147926,
0.04006311297416687,
0.07247453182935715,
0.03044435754418373,
-0.0021182019263505936,
-0.02203471213579178,
0.0027408043388277292,
-0.030209753662347794,
-0.02854948118329048,
0.02297312766313553,
-0.05338139459490776,
-0.04212040826678276,
0.034161925315856934,
-0.006329791620373726,
0.05738770589232445,
-0.022792663425207138,
0.02708771824836731,
-0.04868931695818901,
-0.03331374377012253,
0.05377841368317604,
0.06861259788274765,
-0.06114136427640915,
-0.04157901555299759,
-0.07117518782615662,
0.021655738353729248,
0.038475025445222855,
0.06327084451913834,
-0.024110054597258568,
0.015159016475081444,
0.04825620353221893,
0.020049603655934334,
-0.0235325675457716,
-0.042806174606084824,
-0.029848825186491013,
0.0037401262670755386,
-0.05565524473786354,
-0.024904098361730576,
-0.0028535944875329733,
-0.04583797976374626,
-0.013670184649527073,
-0.022088851779699326,
0.02423637919127941,
-0.024182239547371864,
0.0656890720129013,
-0.08474612236022949,
-0.018497608602046967,
0.01671101152896881,
-0.02032030001282692,
-0.01278590876609087,
0.012758838944137096,
0.013498743064701557,
0.06872087717056274,
0.07464011013507843,
-0.018696120008826256,
0.05778472498059273,
0.039413440972566605,
-0.026474138721823692,
0.01308367494493723,
-0.004416868090629578,
-0.0413263663649559,
-0.01564626954495907,
0.05053005367517471,
-0.03223095461726189,
-0.03403560072183609,
-0.0012226469116285443,
-0.05522213131189346,
0.012849071063101292,
-0.02519284188747406,
0.038114096969366074,
0.03316937014460564,
-0.00003563468635547906,
-0.03553345799446106,
0.05554696545004845,
0.008283319883048534,
0.022648291662335396,
0.025355258956551552,
0.019454071298241615,
-0.00837355200201273,
-0.018281051889061928,
-0.05280390754342079,
0.00359575473703444,
-0.029289385303854942,
0.04338366165757179,
-0.030318032950162888,
0.0018294586334377527,
0.034306298941373825,
0.014897342771291733,
0.01994132436811924,
0.001584703684784472,
-0.006803510710597038,
0.0033904763404279947,
-0.024868005886673927,
-0.06124964356422424,
0.020428579300642014,
0.018497608602046967,
-0.0023212244268506765,
0.007403555326163769,
-0.04338366165757179,
0.020031556487083435,
-0.03531689941883087,
-0.003302499884739518,
-0.04212040826678276,
-0.027917854487895966,
-0.03511838614940643,
0.014446181245148182,
0.03746442496776581,
-0.002294154604896903,
0.034667227417230606,
0.0013771695084869862,
-0.03650796413421631,
0.07038114964962006,
0.029217198491096497,
-0.02856752648949623,
0.059697650372982025,
0.0019602954853326082,
0.0021418877877295017,
0.05973374471068382,
0.013011489063501358,
0.050313498824834824,
-0.0005521085113286972,
0.022269316017627716,
-0.02954203635454178,
-0.01468078512698412,
-0.02389349788427353,
0.01718924194574356,
-0.0272862296551466,
0.026600465178489685,
-0.03181588649749756,
0.005630491767078638,
-0.009059316478669643,
-0.05096317082643509,
0.017721612006425858,
0.0032709187362343073,
-0.0150597607716918,
-0.002119329757988453,
-0.04215650260448456,
0.042228687554597855,
0.02952398918569088,
-0.006853138562291861,
-0.026095163077116013,
-0.029758593067526817,
0.03401755541563034,
0.05677412450313568,
-0.017243381589651108,
-0.03105793707072735,
-0.06041950732469559,
0.054789017885923386,
-0.015754548832774162,
0.04738997295498848,
-0.048978060483932495,
0.0011453855549916625,
0.03428824990987778,
0.002616734942421317,
0.022810710594058037,
0.07207751274108887,
0.08582890778779984,
-0.04760653153061867,
0.08734481036663055,
-0.042048223316669464,
0.07056161016225815,
0.015492876060307026,
-0.005941792856901884,
0.007331369444727898,
-0.02577032707631588,
0.026203442364931107,
-0.04645155742764473,
0.011405355297029018,
-0.04363631084561348,
-0.0007060672505758703,
0.006785464473068714,
0.0009886069456115365,
-0.03221290931105614,
0.0006203466327860951,
0.02858557365834713,
0.028892362490296364,
-0.024416843429207802,
-0.04753434285521507,
0.0087028993293643,
0.004940215032547712,
0.027123810723423958,
0.009045782499015331,
-0.06698841601610184,
-0.013038558885455132,
0.0018542725592851639,
-0.034703318029642105,
-0.02519284188747406,
0.027502786368131638,
0.042770080268383026,
0.024669494479894638,
0.016259849071502686,
-0.039016421884298325,
0.0037920097820460796,
-0.006347838323563337,
-0.025463538244366646,
0.03143691271543503,
0.01597110740840435,
-0.015556038357317448,
-0.0621158741414547,
-0.023947635665535927,
-0.00025321420980617404,
-0.018948771059513092,
0.029433757066726685,
-0.02672678977251053,
0.04753434285521507,
0.01251521147787571,
-0.010142103768885136,
0.05662975460290909,
0.0018373540369793773,
0.015294364653527737,
-0.02687116153538227,
-0.022106898948550224,
0.027322322130203247,
0.014698832295835018,
0.03854721412062645,
-0.03533494472503662,
-0.04006311297416687,
-0.026077117770910263,
-0.012794931419193745,
0.006221512798219919,
0.005242493003606796,
0.015294364653527737,
-0.05114363506436348,
-0.006853138562291861,
-0.01708998717367649,
0.00458154221996665,
0.012443025596439838,
0.035244714468717575,
0.05995029956102371,
-0.019039003178477287,
-0.021330902352929115,
-0.024868005886673927,
0.02842315472662449,
-0.00310398917645216,
0.07391825318336487,
-0.030137568712234497,
-0.010304521769285202,
0.004166473634541035,
0.06366787105798721,
0.007696810178458691,
0.0183261688798666,
0.05006084591150284,
0.01166702900081873,
-0.04526049271225929,
0.016783196479082108,
-0.01409427635371685,
-0.06352349370718002,
-0.03815019130706787,
0.019237512722611427,
0.02311749942600727,
-0.06828776001930237,
0.007602066267281771,
-0.03454090282320976,
-0.007741926237940788,
0.008166017942130566,
-0.0012925768969580531,
0.02295508235692978,
-0.012073073536157608,
0.017938168719410896,
-0.04941117390990257,
0.0356597825884819,
0.01278590876609087,
-0.001655761618167162,
-0.00653732568025589,
0.01202795747667551,
-0.09131502360105515,
-0.010981263592839241,
-0.03437848389148712,
0.05110754072666168,
0.023171639069914818,
0.014211577363312244,
0.029397664591670036,
-0.05717114731669426,
-0.02705162577331066,
0.05305655673146248,
0.024525122717022896,
0.003316034795716405,
-0.014617622829973698,
0.00116399594116956,
0.012154283002018929,
-0.03670647367835045,
0.04226478189229965,
-0.060275137424468994,
-0.05543868988752365,
-0.0005653614061884582,
-0.010024801827967167,
-0.03739224001765251,
-0.03535299003124237,
-0.014545436948537827,
-0.03064286895096302,
0.015745526179671288,
-0.04944726824760437,
0.029668360948562622,
-0.009266851469874382,
-0.02335210330784321,
0.03778926283121109,
-0.039557814598083496,
-0.006460628472268581,
0.01259642094373703,
0.0732324868440628,
-0.07449574023485184,
-0.013246092945337296,
0.010484986007213593,
0.023803265765309334,
0.04782308638095856,
-0.05533041059970856,
0.0025671073235571384,
-0.021655738353729248,
-0.052731722593307495,
-0.02782762236893177,
0.008788620121777058,
-0.07362950593233109,
-0.023839358240365982,
-0.00371756823733449,
-0.018948771059513092,
0.015610178001224995,
0.00676741823554039,
0.011333169415593147,
0.022882895544171333,
-0.004333403427153826,
-0.015574084594845772,
-0.0005808700225315988,
0.055943988263607025,
0.0356597825884819,
-0.021727923303842545,
0.015348504297435284,
0.004822913091629744,
-0.023081406950950623,
-0.025337213650345802,
-0.0507466122508049,
-0.020988019183278084,
0.07933218777179718,
0.0060636065900325775,
-0.04020748659968376,
0.006447093561291695,
0.08813884854316711,
-0.05283999815583229,
-0.0022738524712622166,
-0.0006665906985290349,
-0.003349871840327978,
-0.0197428148239851,
-0.08683950453996658,
-0.02705162577331066,
0.017135102301836014,
0.05598008260130882,
0.0006124513456597924,
-0.06363177299499512,
-0.0112790297716856,
-0.011197821237146854,
-0.08063153177499771,
0.01016917359083891,
-0.04605453461408615,
-0.041470736265182495,
0.008301366120576859,
0.03645382449030876,
-0.012695676647126675,
-0.10041043907403946,
0.08012622594833374,
-0.028152458369731903,
-0.0018226912943646312,
0.0036047780886292458,
-0.06251289695501328,
-0.007696810178458691,
-0.04998866096138954,
-0.0865507647395134,
0.04760653153061867,
-0.012948326766490936,
-0.01513194665312767,
0.0022862593177706003,
-0.004459728486835957,
-0.032646022737026215,
0.03221290931105614,
0.06128573790192604,
-0.026293674483895302,
-0.011071495711803436,
0.02277461811900139,
0.004728169180452824,
0.0008273168350569904,
0.039593905210494995,
-0.020627090707421303,
-0.021691830828785896,
0.030336078256368637,
-0.008689364418387413,
0.0676741823554039,
0.04461082071065903,
-0.035461269319057465,
0.034703318029642105,
-0.05283999815583229,
0.030318032950162888,
0.03136472776532173,
0.046343278139829636,
0.012668606825172901,
0.014644692651927471,
0.019508210942149162,
-0.04244524613022804,
-0.04565751180052757,
0.022792663425207138,
0.06637483835220337,
-0.01956235058605671,
-0.050277404487133026,
-0.014635669067502022,
0.06521986424922943,
-0.011441447772085667,
-0.002409200882539153,
0.006505744531750679,
-0.0037920097820460796,
0.014337902888655663,
-0.07824940234422684,
-0.006081652827560902,
0.0032303142361342907,
0.08337458968162537,
-0.05150456354022026,
-0.03629140555858612,
0.055005572736263275,
0.06074434518814087,
-0.005770351737737656,
-0.0023550614714622498,
0.03405364602804184,
0.03591243177652359,
0.0061042108573019505,
-0.013273162767291069,
0.06106917932629585,
-0.06052778661251068,
-0.00400179997086525,
-0.04479128494858742,
-0.007299788296222687,
-0.04619890823960304,
-0.057820819318294525,
-0.04114590212702751,
-0.015366550534963608,
0.01487027294933796,
0.03551540896296501,
-0.0013591231545433402,
0.04287835955619812,
-0.012307677417993546
] |
730,048 | mmengine.config.config | __setattr__ | null | def __setattr__(self, name, value):
value = self._hook(value)
return super().__setattr__(name, value)
| (self, name, value) | [
0.030405579134821892,
-0.023096224293112755,
0.012507673352956772,
0.04318860545754433,
-0.026734212413430214,
0.021677741780877113,
-0.015269541181623936,
0.03561224043369293,
0.037014033645391464,
-0.015244509093463421,
-0.02897040918469429,
0.01024644635617733,
0.03761480376124382,
0.03574574738740921,
-0.0006122418562881649,
-0.0030476502142846584,
0.014201507903635502,
0.05263402685523033,
-0.003902911441400647,
0.007371934130787849,
0.019474923610687256,
0.01458533201366663,
0.02423100918531418,
-0.013942843303084373,
-0.012991625815629959,
0.07763268053531647,
-0.04455702379345894,
0.04148642718791962,
0.04983043670654297,
-0.03215781971812248,
-0.02044282853603363,
-0.060510773211717606,
0.01914116181433201,
-0.0024051612708717585,
0.057039663195610046,
-0.052066631615161896,
-0.09578925371170044,
0.04315522685647011,
-0.03304228559136391,
0.004182436037808657,
0.0578073114156723,
0.015102661214768887,
-0.0645492747426033,
-0.020960157737135887,
0.023246416822075844,
0.041753433644771576,
-0.010471734218299389,
0.0694221779704094,
0.052200134843587875,
0.009203445166349411,
-0.0032979706302285194,
-0.01370921079069376,
0.0380820706486702,
0.007054861634969711,
-0.0292374175041914,
0.05507047474384308,
0.0412861704826355,
0.04599219188094139,
0.000730622501578182,
0.030422266572713852,
-0.004718538373708725,
0.003352206666022539,
0.00509819108992815,
-0.054603211581707,
-0.028720088303089142,
-0.050397831946611404,
-0.02583305910229683,
0.02229519933462143,
-0.001335041830316186,
0.01682152785360813,
0.024998659268021584,
-0.048729028552770615,
0.014376731589436531,
-0.013083410449326038,
-0.01458533201366663,
0.06558392941951752,
-0.06368149816989899,
0.007609738502651453,
0.018290072679519653,
-0.021110350266098976,
0.02922072820365429,
0.008727836422622204,
-0.013826027512550354,
0.03457758575677872,
-0.06194594129920006,
-0.01705515943467617,
-0.03915010392665863,
-0.036513395607471466,
0.006996453739702702,
0.0009240992949344218,
-0.014251572079956532,
0.06114491820335388,
0.0038111272733658552,
0.059108980000019073,
-0.027885686606168747,
-0.031306732445955276,
0.06548380106687546,
-0.015811901539564133,
0.028152694925665855,
0.031573738902807236,
-0.0028682539705187082,
0.020860029384493828,
0.04041839390993118,
-0.004401466343551874,
0.0062997289933264256,
-0.03644664213061333,
-0.001575975213199854,
-0.021711118519306183,
0.0055529396049678326,
-0.030105194076895714,
0.0310063473880291,
-0.02246207930147648,
-0.02900378406047821,
0.01616235077381134,
-0.0003744375135283917,
0.0026283636689186096,
-0.007872574962675571,
-0.04909616336226463,
0.031607117503881454,
0.01123938336968422,
0.015795214101672173,
0.011740024201571941,
0.00854426808655262,
0.018156569451093674,
0.025115475058555603,
0.03804869204759598,
0.02214500680565834,
0.04746073856949806,
0.069088414311409,
-0.03798194229602814,
-0.029687993228435516,
0.015035908669233322,
-0.019958876073360443,
0.015311261638998985,
0.0754966139793396,
0.001578061142936349,
-0.00047899840865284204,
0.044990912079811096,
-0.003986351657658815,
0.008577643893659115,
-0.02388056181371212,
-0.023246416822075844,
0.020008940249681473,
-0.006128676701337099,
0.03224126249551773,
0.00006935959390830249,
0.011639895848929882,
0.10753761976957321,
0.003097714390605688,
-0.022845903411507607,
0.008152099326252937,
0.019324731081724167,
-0.002206990960985422,
0.055737998336553574,
-0.03925023227930069,
0.05657240003347397,
-0.08030276745557785,
-0.0010200553806498647,
0.005757368169724941,
0.010747087188065052,
0.013367106206715107,
0.003996781539171934,
-0.05420269817113876,
-0.0611782930791378,
0.030272074043750763,
0.02930416911840439,
-0.004722710698843002,
-0.03811544552445412,
0.008385731838643551,
0.036379892379045486,
-0.022545520216226578,
-0.062112823128700256,
0.04946330189704895,
0.10967368632555008,
0.05707303807139397,
0.043422237038612366,
0.007914295420050621,
0.0012119676684960723,
-0.00592424813657999,
0.01730548031628132,
0.02726822905242443,
0.012799713760614395,
-0.0374145470559597,
0.016454391181468964,
-0.002011949894949794,
-0.013684178702533245,
0.011740024201571941,
0.031223291531205177,
0.019241290166974068,
0.08016926050186157,
0.09178412705659866,
-0.015912029892206192,
0.005231695249676704,
-0.03367643058300018,
-0.0092701967805624,
0.01042167004197836,
-0.0320243164896965,
-0.055604495108127594,
-0.006099472288042307,
0.06868790090084076,
0.009662365540862083,
0.03461096063256264,
-0.022779151797294617,
0.048495396971702576,
0.034911345690488815,
-0.029454361647367477,
0.07542986422777176,
-0.008143755607306957,
-0.06037726625800133,
-0.04629257693886757,
-0.002080787904560566,
-0.024664897471666336,
0.028186071664094925,
0.052033256739377975,
0.018056441098451614,
-0.047293856739997864,
0.016404327005147934,
-0.014393419958651066,
0.04232082515954971,
0.033142413944005966,
0.05353517830371857,
0.07042346149682999,
-0.004672646522521973,
-0.036680273711681366,
0.01845695450901985,
-0.026483893394470215,
0.015378013253211975,
-0.11921923607587814,
-0.011523080058395863,
0.018557080999016762,
0.02070983685553074,
0.033092349767684937,
-0.007563846651464701,
-0.00171365134883672,
0.029938314110040665,
0.03911672532558441,
0.04779449850320816,
-0.026133444160223007,
-0.08137080073356628,
0.008619364351034164,
0.028352951630949974,
0.03210775554180145,
0.03641326725482941,
0.03474446386098862,
-0.01457698829472065,
0.02024257183074951,
-0.04118604212999344,
0.05653902143239975,
-0.02373036928474903,
-0.004868730902671814,
0.051966503262519836,
-0.006308072712272406,
-0.02725154161453247,
0.03564561903476715,
-0.040318265557289124,
-0.003980093635618687,
-0.020910093560814857,
0.028085943311452866,
-0.010655302554368973,
-0.012841434217989445,
-0.05006406828761101,
-0.028019191697239876,
-0.005949280224740505,
0.0029788122046738863,
-0.0005595702677965164,
-0.006399856880307198,
0.026984533295035362,
0.019758619368076324,
-0.04105253890156746,
0.007121613714843988,
0.01541138906031847,
-0.038248948752880096,
-0.013926154933869839,
0.027718806639313698,
-0.03567899391055107,
-0.041586555540561676,
-0.01914116181433201,
0.008156271651387215,
-0.035411983728408813,
-0.025082098320126534,
0.062346454709768295,
-0.019942188635468483,
0.02239532768726349,
0.0032145304139703512,
-0.03965074196457863,
-0.027985814958810806,
-0.0023008612915873528,
0.06638495624065399,
0.02231188677251339,
-0.03451083227992058,
0.013575706630945206,
0.007305182050913572,
0.015728462487459183,
0.04429001361131668,
0.038682837039232254,
-0.007113269995898008,
-0.09258515387773514,
0.04832851514220238,
0.017822809517383575,
-0.009587269276380539,
0.03205769136548042,
-0.03751467540860176,
-0.07222576439380646,
0.06765324622392654,
0.013058378361165524,
-0.0313401073217392,
0.05186637490987778,
0.017589176073670387,
-0.060610901564359665,
0.008769555948674679,
0.031607117503881454,
0.06321423500776291,
-0.09845934063196182,
0.008001906797289848,
0.07342730462551117,
0.01722203940153122,
0.01599547080695629,
-0.016679679974913597,
-0.007396966218948364,
0.0647161528468132,
-0.012591113336384296,
-0.05300116166472435,
-0.06982269138097763,
-0.02932085655629635,
0.04659296199679375,
-0.0035336888395249844,
0.054102569818496704,
0.010697023011744022,
0.011039127595722675,
-0.026133444160223007,
-0.09398694336414337,
-0.031390171498060226,
0.04318860545754433,
-0.00767231872305274,
-0.0478612519800663,
-0.01205709669739008,
-0.018440265208482742,
-0.007104925811290741,
-0.015603302046656609,
-0.03417707234621048,
-0.015912029892206192,
0.0483618900179863,
-0.06541705131530762,
-0.036980658769607544,
-0.004785290453583002,
0.029454361647367477,
-0.030455641448497772,
0.03369311988353729,
0.061011411249637604,
0.0036150431260466576,
-0.012090472504496574,
-0.07235927134752274,
-0.001736597390845418,
-0.007296838331967592,
0.012582769617438316,
-0.05767380818724632,
-0.0034189587458968163,
-0.023429984226822853,
-0.02082665264606476,
-0.06988944113254547,
-0.03627976402640343,
-0.01907441020011902,
0.017589176073670387,
0.0036192149855196476,
0.02045951597392559,
0.0060827843844890594,
-0.05667252838611603,
-0.028102630749344826,
0.029404297471046448,
-0.03534523397684097,
0.007459546439349651,
-0.02029263600707054,
-0.009345293045043945,
0.033409424126148224,
0.0326918363571167,
-0.01845695450901985,
0.018073128536343575,
-0.011005750857293606,
-0.003352206666022539,
0.009353636763989925,
0.05804094299674034,
0.021343981847167015,
0.03275858983397484,
0.03968412056565285,
0.03971749544143677,
-0.033058974891901016,
0.02887028083205223,
0.012490984983742237,
0.05680603161454201,
0.005857496056705713,
-0.017639240249991417,
0.008106207475066185,
-0.02247876673936844,
0.03451083227992058,
-0.0628470927476883,
-0.036379892379045486,
-0.03571236878633499,
-0.03968412056565285,
0.004044759552925825,
-0.0016145661938935518,
0.0029600381385535,
0.004209553822875023,
-0.011364543810486794,
0.011464672163128853,
0.03427720069885254,
0.03377655893564224,
-0.00845248345285654,
0.055304110050201416,
0.011489704251289368,
-0.0061495364643633366,
-0.07856721431016922,
0.010680334642529488,
-0.02885359153151512,
-0.09939386695623398,
0.0380820706486702,
-0.05129898339509964,
0.04622582346200943,
-0.011514736339449883,
0.007839199155569077,
-0.003314658533781767,
-0.012240665033459663,
0.026216885074973106,
-0.04455702379345894,
0.04412313178181648,
-0.008928092196583748,
0.005999344401061535,
0.007655630819499493,
-0.011931936256587505,
-0.002115207025781274,
0.06191256642341614,
-0.008761212229728699,
0.008047799579799175,
0.019641803577542305,
-0.0032249605283141136,
0.02721816673874855,
-0.06047739461064339,
-0.026383765041828156,
-0.047360610216856,
-0.06161218136548996,
0.005219179205596447,
0.007050689775496721,
-0.012507673352956772,
0.030455641448497772,
0.010730398818850517,
0.010371606796979904,
-0.045291293412446976,
-0.05146586522459984,
0.0754966139793396,
0.02414757013320923,
-0.0625133365392685,
0.01730548031628132,
0.009286885149776936,
0.022729087620973587,
0.03192418813705444,
0.008360699750483036,
-0.021527549251914024,
-0.03771493211388588,
-0.10646958649158478,
0.059108980000019073,
0.0046350983902812,
-0.060711029917001724,
-0.0019587567076087,
-0.02743511088192463,
-0.021661054342985153,
-0.04996393993496895,
0.053668681532144547,
-0.004023899789899588,
0.0023759573232382536,
-0.025198915973305702,
-0.025182226672768593,
0.0448240302503109,
-0.03928360715508461,
0.014026283286511898,
-0.04809488356113434,
-0.03748130053281784,
0.005803260020911694,
-0.06895491480827332,
-0.023196352645754814,
-0.053835563361644745,
-0.016829870641231537,
-0.021494174376130104,
0.002715975744649768,
0.06047739461064339,
0.015786869451403618,
-0.01355067454278469,
0.013634114526212215,
0.033142413944005966,
0.01725541613996029,
0.048795778304338455,
0.046993471682071686,
-0.007363590411841869,
0.05109872668981552,
0.01113091129809618,
-0.013984563760459423,
-0.013926154933869839,
-0.003491968847811222,
-0.019892124459147453,
-0.004044759552925825,
0.01530291698873043,
-0.008936436846852303,
-0.06768662482500076,
-0.03971749544143677,
-0.040518518537282944,
0.0059868283569812775,
0.050297703593969345,
-0.0011462585534900427,
-0.040218137204647064,
0.02366361767053604,
-0.008515063673257828,
-0.03372649475932121,
0.010438358411192894,
0.002017164835706353,
-0.014485204592347145,
-0.003846589243039489,
0.0174389835447073,
-0.04946330189704895,
-0.02369699254631996,
0.012307417578995228,
-0.057607054710388184,
-0.02736835740506649,
0.03567899391055107,
-0.02045951597392559,
-0.0007885090890340507,
-0.05800756812095642,
-0.01884077861905098,
-0.03761480376124382,
0.020142443478107452,
0.03594600036740303,
0.008006079122424126,
0.0342104472219944,
0.01859045773744583,
0.009236820973455906,
-0.03095628321170807,
0.03998450189828873,
0.03704741224646568,
0.07896772772073746,
-0.026016628369688988,
0.014143100008368492,
0.006157880648970604,
-0.008035283535718918,
0.00843579601496458,
0.00932860467582941,
-0.0019420686876401305,
0.004626754205673933,
-0.003333432599902153,
-0.046693090349435806,
-0.09385344386100769,
0.0022153351455926895,
0.011598176322877407,
-0.07316029071807861,
-0.04619244858622551,
-0.02768542990088463,
-0.024798402562737465,
-0.004468218423426151,
-0.02890365570783615,
-0.06668534129858017,
0.04575856029987335,
-0.01708853617310524,
-0.02054295688867569,
0.04609232023358345,
-0.010062878020107746,
0.046693090349435806,
0.05136573687195778,
0.03467771038413048,
0.03751467540860176,
0.00721339788287878,
-0.02219507098197937,
0.003796525299549103,
-0.01637929491698742,
-0.03631313890218735,
0.02745179831981659,
-0.011623208411037922,
0.010697023011744022,
0.019925499334931374,
-0.010688679292798042,
0.08871353417634964,
0.015019221231341362,
0.011589831672608852,
-0.029604552313685417,
-0.038248948752880096,
-0.05433620512485504,
0.024731650948524475,
-0.09485472738742828,
-0.03644664213061333,
-0.010096253827214241,
-0.05310129001736641,
0.012315761297941208,
0.11634889990091324,
-0.05103197321295738,
-0.00725929019972682,
-0.11708316951990128,
-0.02032601274549961,
-0.05280090495944023,
-0.03240814059972763,
0.041920315474271774,
-0.03925023227930069,
-0.024548081681132317,
-0.033459488302469254,
0.038315702229738235,
0.004518282134085894,
-0.014810620807111263,
-0.01606222242116928,
-0.04238757863640785,
0.04675984010100365,
-0.014360044151544571,
-0.030038442462682724,
-0.013317042961716652,
0.00510236294940114,
-0.007739070802927017,
-0.009779181331396103,
-0.03477783873677254,
0.031106475740671158,
0.01462705247104168,
0.02386387251317501,
0.034811217337846756,
-0.009336949326097965,
-0.011481359601020813,
0.022562207654118538,
0.01530291698873043,
-0.04245433211326599,
-0.011631552129983902,
-0.000902717758435756,
-0.029687993228435516,
-0.018073128536343575,
-0.01894090697169304,
-0.0642155110836029,
0.03751467540860176,
-0.0006038978463038802,
-0.015044253319501877,
-0.047026850283145905,
-0.024965282529592514,
-0.005073159001767635,
0.03998450189828873,
-0.08163780719041824,
0.036880530416965485,
0.03648001700639725,
0.022779151797294617,
0.0060869562439620495,
0.0014737610472366214,
-0.03874959051609039,
0.02885359153151512,
-0.011314479634165764,
0.03427720069885254,
-0.02029263600707054,
-0.04589206352829933,
0.019758619368076324,
-0.007459546439349651,
-0.021110350266098976,
0.0025595256593078375,
-0.02378043346107006,
-0.015528205782175064,
-0.01869058609008789,
-0.03624638542532921,
0.026851030066609383,
0.05934261158108711,
-0.018006376922130585,
0.030405579134821892,
0.019424859434366226,
0.05440295487642288,
-0.026283636689186096,
-0.08384063094854355,
0.02573293261229992,
-0.000010356678103562444,
0.01905772276222706,
0.05336829647421837,
0.008903060108423233,
-0.019558362662792206,
-0.010613583028316498,
-0.0010868074605241418,
0.011422951705753803,
-0.0021777870133519173,
-0.006575081031769514,
-0.07963524758815765,
0.0012036237167194486,
-0.01636260747909546,
-0.07569687068462372,
0.008323151618242264,
-0.024548081681132317,
0.048795778304338455,
0.015077629126608372,
-0.09872634708881378,
0.05273415148258209,
-0.0026095896027982235,
0.036379892379045486,
-0.004439014010131359,
0.008289775811135769,
0.025232290849089622,
-0.012165568768978119,
0.05937598645687103,
-0.047093600034713745,
-0.013175194151699543,
-0.041853561997413635,
-0.02037607692182064,
0.023496735841035843,
-0.09752480685710907,
-0.03981762379407883,
0.005461155436933041,
-0.06541705131530762,
-0.010229757986962795,
0.027835622429847717,
0.054102569818496704,
0.036947283893823624,
0.005928420461714268,
-0.06798700988292694,
0.019191225990653038,
-0.05637214332818985,
-0.00013702431169804186,
-0.028052566573023796,
0.04612569510936737,
0.0024239353369921446,
0.035044848918914795,
0.005844980012625456,
0.0038987393490970135,
-0.03718091547489166,
0.0476943701505661,
-0.007605566643178463,
-0.04662633687257767,
0.0006685639382340014,
-0.01265786588191986,
0.06745298951864243,
-0.02069314941763878,
0.02933754399418831,
0.05433620512485504,
-0.01870727352797985,
-0.004107339773327112,
-0.017856184393167496,
0.015069285407662392,
0.009103316813707352,
0.011447983793914318,
0.021494174376130104,
0.030222009867429733,
0.02222844772040844,
-0.03941711038351059,
0.017739368602633476,
0.014393419958651066,
-0.03971749544143677,
-0.0060827843844890594,
0.03374318405985832,
0.029671305790543556,
0.03571236878633499,
0.00013030999980401248,
0.02920404076576233,
0.005465327762067318,
-0.0009407873149029911,
0.053802188485860825,
0.029988378286361694,
0.0041448879055678844,
0.034944720566272736,
0.010613583028316498,
0.08163780719041824,
-0.0012630748096853495,
0.025182226672768593,
-0.022662336006760597,
0.035078223794698715,
0.07122448086738586,
-0.07809995114803314,
-0.005185803398489952,
-0.0033417765516787767,
0.036613523960113525,
-0.01206544041633606,
-0.0517328716814518,
0.02736835740506649,
-0.043455611914396286,
0.000416939816204831,
0.024347824975848198,
0.026083379983901978,
0.016471078619360924,
0.01905772276222706
] |
730,049 | mmengine.config.config | __setitem__ | null | def __setitem__(self, name, value):
value = self._hook(value)
return super().__setitem__(name, value)
| (self, name, value) | [
0.03670147433876991,
-0.028565924614667892,
-0.0361025370657444,
0.03014645166695118,
-0.030911758542060852,
0.015863487496972084,
-0.0526731051504612,
0.03646855428814888,
0.05666600912809372,
-0.018117817118763924,
-0.02869902178645134,
-0.008364309556782246,
0.034937940537929535,
0.020646657794713974,
-0.008235371671617031,
0.007000065874308348,
0.04635100066661835,
0.0570320263504982,
-0.000192756560863927,
0.0269022136926651,
0.025205228477716446,
0.007216348312795162,
0.05120903626084328,
-0.02650292217731476,
-0.011479608714580536,
0.04345614090561867,
-0.008285283111035824,
0.017801711335778236,
0.05616689845919609,
-0.02003108523786068,
-0.0404614619910717,
-0.062222808599472046,
0.010705983266234398,
-0.0015618090983480215,
0.06408616155385971,
-0.04285720735788345,
-0.08897528797388077,
0.0354037806391716,
-0.006159891374409199,
0.04086075350642204,
0.04834745451807976,
0.013950220309197903,
-0.032059717923402786,
-0.03317440673708916,
0.05466955527663231,
0.08172150701284409,
0.0030237955506891012,
0.09855826199054718,
0.06834526360034943,
-0.010789168067276478,
-0.03573651984333992,
-0.013259779661893845,
0.029564151540398598,
-0.007715461775660515,
-0.04222499579191208,
0.07859372347593307,
0.05639981850981712,
0.01636260189116001,
0.03252555802464485,
0.04911275953054428,
0.023175500333309174,
-0.00500777130946517,
-0.018001357093453407,
-0.09223616123199463,
-0.01434951089322567,
-0.04348941519856453,
0.0016533131711184978,
0.011063680984079838,
-0.008322716690599918,
0.00509927561506629,
0.03252555802464485,
-0.03969615325331688,
0.009083864279091358,
-0.026652656495571136,
-0.018300825729966164,
0.07626453042030334,
-0.03215954080224037,
0.020646657794713974,
0.04671701788902283,
-0.01515641063451767,
0.022327007725834846,
0.02327532321214676,
0.028965216130018234,
0.042524464428424835,
-0.06388651579618454,
-0.0037849433720111847,
-0.0016834679991006851,
-0.009266872890293598,
0.031660426408052444,
0.025005582720041275,
0.009973949752748013,
0.02726823091506958,
0.0032858301419764757,
0.024256912991404533,
-0.049545325338840485,
-0.04022854194045067,
0.055867429822683334,
-0.06099165976047516,
0.012186686508357525,
0.04472056403756142,
0.0014422298409044743,
0.008060681633651257,
0.059693966060876846,
-0.03354042023420334,
-0.005743963643908501,
-0.04029509052634239,
0.0238077100366354,
-0.007603161036968231,
-0.03543705493211746,
-0.012186686508357525,
0.04784834012389183,
0.005972723942250013,
-0.046284452080726624,
0.008222893811762333,
-0.01217836793512106,
0.05616689845919609,
-0.033141132444143295,
-0.06232262775301933,
0.028782207518815994,
0.02958078868687153,
-0.018267551437020302,
0.012186686508357525,
0.034571923315525055,
0.04318994656205177,
0.009250235743820667,
0.0001932764716912061,
-0.014565793797373772,
0.055335041135549545,
0.048480551689863205,
-0.046883389353752136,
-0.03052910417318344,
-0.013567566871643066,
-0.029198136180639267,
0.009607933461666107,
0.09177032113075256,
-0.002616186160594225,
-0.007470064330846071,
-0.017435695976018906,
-0.010356603190302849,
0.008139708079397678,
-0.021761344745755196,
-0.015006677247583866,
0.028266455978155136,
0.021445240825414658,
0.03626890853047371,
-0.026619382202625275,
0.0008334154263138771,
0.09503119438886642,
-0.019997810944914818,
-0.027201682329177856,
-0.03189334645867348,
0.03843173384666443,
0.012061907909810543,
0.036169085651636124,
-0.021012675017118454,
0.040528010576963425,
-0.05576760694384575,
0.001063735457137227,
0.0033274227753281593,
0.02470611408352852,
0.023009128868579865,
-0.008347672410309315,
-0.007216348312795162,
-0.013026860542595387,
-0.021545063704252243,
0.04472056403756142,
0.019265778362751007,
-0.0196650680154562,
-0.01596331037580967,
0.06132440268993378,
0.0017406580736860633,
-0.06378669291734695,
0.0287322960793972,
0.07826098799705505,
0.0299967173486948,
0.0473492257297039,
-0.01711959019303322,
0.022826120257377625,
0.01173748355358839,
0.005078479181975126,
0.01634596474468708,
-0.009233598597347736,
-0.04515312612056732,
0.008618025109171867,
-0.029730523005127907,
-0.021927716210484505,
0.005689892917871475,
0.043090127408504486,
0.02979707159101963,
0.09370023012161255,
0.06255555152893066,
-0.031344324350357056,
0.010631116107106209,
-0.05689892917871475,
0.0030092380475252867,
0.00401786295697093,
-0.034006260335445404,
-0.03520413488149643,
-0.004666710738092661,
0.04265756160020828,
0.003566581290215254,
-0.02074648067355156,
0.007819443941116333,
0.04561896622180939,
0.01651233620941639,
-0.004190473351627588,
0.1036824956536293,
-0.038564831018447876,
-0.04984479397535324,
-0.033640243113040924,
-0.011354830116033554,
0.011105273850262165,
0.02961406297981739,
0.016113044694066048,
0.010672708973288536,
-0.07267091423273087,
-0.02760097198188305,
-0.01686171442270279,
0.03388980031013489,
0.04262428730726242,
0.03375670313835144,
0.05646636709570885,
0.013584204018115997,
-0.014399422332644463,
0.016745256260037422,
-0.002481009578332305,
0.01553906500339508,
-0.10308355838060379,
0.009283510036766529,
0.03156060725450516,
0.0096578449010849,
0.03443882614374161,
0.011571113020181656,
-0.014648978598415852,
0.011246689595282078,
0.013259779661893845,
0.00365808536298573,
-0.057664237916469574,
-0.06431908160448074,
0.061124756932258606,
0.03225936368107796,
0.03956305608153343,
0.03989579901099205,
0.06608261913061142,
-0.048680197447538376,
0.03417263180017471,
-0.018533745780587196,
0.06342067569494247,
-0.01766861602663994,
0.021179046481847763,
0.03503776341676712,
-0.010082091204822063,
-0.035303957760334015,
0.0347050204873085,
-0.009108819998800755,
0.010023861192166805,
-0.007661391049623489,
0.02470611408352852,
0.005743963643908501,
-0.02833300456404686,
-0.0563332699239254,
-0.011504564434289932,
0.013875353150069714,
0.011629343032836914,
-0.02939778007566929,
-0.006634049117565155,
0.050110988318920135,
0.041426412761211395,
-0.028382916003465652,
0.045186400413513184,
0.029880257323384285,
-0.02868238463997841,
-0.020530199632048607,
0.011255008168518543,
-0.02131214365363121,
0.0018955911509692669,
0.009599614888429642,
0.03254219517111778,
-0.04165933281183243,
-0.03859810531139374,
0.08518202602863312,
-0.005565114784985781,
0.003970031160861254,
0.0009613132569938898,
-0.03209299221634865,
-0.013592522591352463,
0.007478382904082537,
0.07506665587425232,
-0.0009264792897738516,
0.011013769544661045,
0.01951533555984497,
-0.00947483628988266,
-0.019931262359023094,
0.05187452211976051,
0.021411966532468796,
-0.005373788066208363,
-0.09163722395896912,
0.04961187392473221,
0.03235918655991554,
0.023757798597216606,
0.008634662255644798,
-0.03773297369480133,
-0.0859806090593338,
0.048979662358760834,
0.03194325789809227,
-0.04535277187824249,
0.047216128557920456,
0.0209294892847538,
-0.04728267714381218,
0.007440949324518442,
0.032192815095186234,
0.03324095532298088,
-0.10334975272417068,
0.01325146108865738,
0.06691447645425797,
0.005157505162060261,
-0.005565114784985781,
-0.028083449229598045,
-0.008281123824417591,
0.054236993193626404,
-0.038897573947906494,
-0.07406843453645706,
-0.10627788305282593,
-0.050477005541324615,
0.040894027799367905,
-0.00383901409804821,
0.029314594343304634,
0.022127361968159676,
0.013550929725170135,
0.004704143851995468,
-0.061856791377067566,
-0.0508430190384388,
0.0347050204873085,
-0.006426085252314806,
-0.03225936368107796,
-0.009075545705854893,
-0.023757798597216606,
-0.0008417339995503426,
0.014740482904016972,
-0.039962347596883774,
-0.0393301360309124,
0.041592784225940704,
-0.05683238059282303,
-0.024073904380202293,
0.012203323654830456,
0.022876031696796417,
-0.0019111884757876396,
0.03560342267155647,
0.05576760694384575,
0.01968170516192913,
0.01878330111503601,
-0.07905956357717514,
-0.011080318130552769,
-0.017102953046560287,
0.009782623499631882,
-0.05510212108492851,
0.0042279064655303955,
-0.0632210373878479,
-0.02725159376859665,
-0.07380224019289017,
0.012810577638447285,
-0.01136314868927002,
0.032009806483983994,
0.008817670866847038,
0.014574112370610237,
-0.008297760970890522,
-0.05070992559194565,
-0.012577658519148827,
0.03463847190141678,
-0.06565005332231522,
0.00949147343635559,
-0.028649110347032547,
0.013700663112103939,
0.044321272522211075,
0.022842757403850555,
-0.03969615325331688,
0.02488912269473076,
0.020862940698862076,
-0.03249228373169899,
-0.03543705493211746,
0.07253781706094742,
-0.004123924765735865,
0.0032338390592485666,
0.031876709312200546,
0.03806571662425995,
-0.0030799456872045994,
0.022060813382267952,
0.012610932812094688,
0.03849828243255615,
-0.005423699039965868,
0.0040719336830079556,
0.00671723484992981,
-0.04182570427656174,
0.02043037675321102,
-0.08857599645853043,
-0.031843435019254684,
-0.0209294892847538,
-0.03593616560101509,
-0.03720058873295784,
-0.00700422516092658,
0.02636982500553131,
-0.0017188218189403415,
-0.023358508944511414,
0.015755347907543182,
0.040894027799367905,
-0.009499792009592056,
-0.02636982500553131,
0.062954843044281,
0.006966791581362486,
-0.009957312606275082,
-0.0473492257297039,
0.0060018389485776424,
-0.016279416158795357,
-0.09756004065275192,
0.049744971096515656,
-0.041992075741291046,
-0.01082244236022234,
-0.03606926277279854,
0.006800420582294464,
0.008301920257508755,
-0.02364133857190609,
0.03443882614374161,
-0.03826536238193512,
0.06471837311983109,
-0.003945075906813145,
-0.017086315900087357,
-0.01823427714407444,
0.002443576231598854,
-0.0240239929407835,
0.031860072165727615,
-0.0009467557538300753,
-0.02490575984120369,
0.02255992591381073,
0.03390643745660782,
0.017385784536600113,
-0.050976116210222244,
-0.012902081944048405,
-0.051275584846735,
-0.05001116544008255,
0.009616252034902573,
0.01876666396856308,
0.0005968564655631781,
0.013667388819158077,
0.004354764707386494,
0.02600380964577198,
-0.03736695647239685,
-0.04818108305335045,
0.026386462152004242,
0.011571113020181656,
-0.0678461492061615,
0.031494058668613434,
0.04714957997202873,
0.0297804344445467,
0.040561284869909286,
0.01986471377313137,
-0.03433900326490402,
-0.08112256973981857,
-0.09909065067768097,
0.06960968673229218,
0.0008354950696229935,
-0.026602745056152344,
0.009616252034902573,
-0.026386462152004242,
-0.052440185099840164,
-0.027850529178977013,
0.02761760912835598,
-0.0001918467169161886,
0.00776953250169754,
-0.012186686508357525,
-0.00393051840364933,
0.018134454265236855,
-0.03919704258441925,
-0.013484381139278412,
-0.056233447045087814,
-0.06887765228748322,
-0.000023558413886348717,
-0.03490466624498367,
0.00794422160834074,
-0.04601825773715973,
-0.007216348312795162,
0.00857643224298954,
-0.021977627649903297,
0.03161051869392395,
0.016745256260037422,
-0.008148026652634144,
0.007457586470991373,
0.03212626650929451,
0.006292988546192646,
0.038731202483177185,
0.06332085281610489,
-0.0014058361994102597,
-0.014149865135550499,
-0.0038452530279755592,
0.003701757872477174,
-0.0004603801353368908,
-0.012669162824749947,
-0.011496245861053467,
-0.006151572801172733,
0.022476742044091225,
-0.02272629737854004,
-0.041093673557043076,
-0.017801711335778236,
-0.017602067440748215,
-0.01636260189116001,
0.04355596378445625,
-0.02691885083913803,
-0.0022314528468996286,
0.026037083938717842,
-0.03234254941344261,
-0.05580088123679161,
-0.003899323521181941,
-0.013209868222475052,
0.010331647470593452,
-0.020164182409644127,
0.03936341032385826,
-0.05420371890068054,
-0.052639830857515335,
0.006950154434889555,
-0.02886539325118065,
-0.03121122531592846,
0.049944616854190826,
-0.036934394389390945,
0.014000131748616695,
-0.041260041296482086,
-0.015638887882232666,
-0.0425577387213707,
-0.0007715461542829871,
0.020130908116698265,
0.02796698920428753,
0.02347496710717678,
-0.0039325980469584465,
0.025221865624189377,
-0.0193156898021698,
0.045552417635917664,
0.04568551480770111,
0.08065672963857651,
0.008197938092052937,
0.018001357093453407,
-0.02891530469059944,
0.012835533358156681,
-0.015613931231200695,
0.034738294780254364,
0.03232591226696968,
-0.07167268544435501,
-0.01894967257976532,
-0.02077975496649742,
-0.06401961296796799,
-0.02184453047811985,
0.02347496710717678,
-0.069410040974617,
-0.05147523060441017,
-0.02904840186238289,
0.017568793147802353,
-0.004803966730833054,
-0.021594973281025887,
-0.051342133432626724,
0.01731923595070839,
-0.01391694601625204,
-0.003090343903750181,
0.017968082800507545,
-0.010988813824951649,
0.0570320263504982,
0.06791269779205322,
0.019731616601347923,
0.03450537472963333,
0.03613581135869026,
-0.04245791584253311,
0.010190232656896114,
0.016262779012322426,
-0.02761760912835598,
0.030445918440818787,
-0.021528426557779312,
0.010772531852126122,
-0.0003023275639861822,
-0.02651955932378769,
0.06272192299365997,
0.028798844665288925,
-0.004001225810497999,
-0.04495348408818245,
-0.049212582409381866,
-0.07067446410655975,
0.06172369420528412,
-0.03374006599187851,
-0.04132658988237381,
0.021944353356957436,
-0.02076311782002449,
0.023441694676876068,
0.09616252034902573,
-0.045186400413513184,
0.026968762278556824,
-0.08318556845188141,
-0.010132002644240856,
-0.040694382041692734,
-0.04388870671391487,
0.03300803527235985,
-0.01879993826150894,
-0.05120903626084328,
-0.046683743596076965,
-0.011221733875572681,
0.018317462876439095,
-0.016570566222071648,
-0.016836758702993393,
-0.04132658988237381,
0.013833760283887386,
-0.017102953046560287,
-0.030961669981479645,
-0.014765438623726368,
0.011612705886363983,
0.009291828610002995,
-0.024157090112566948,
-0.03550359979271889,
0.023441694676876068,
0.008859263733029366,
0.012336419895291328,
0.023707887157797813,
-0.011629343032836914,
0.0030383530538529158,
0.019099406898021698,
0.00956634059548378,
-0.022526651620864868,
-0.028382916003465652,
0.020164182409644127,
-0.05104266479611397,
-0.014116591773927212,
-0.019931262359023094,
-0.10720956325531006,
0.015023314394056797,
0.007711302489042282,
-0.019232504069805145,
-0.036035988479852676,
-0.027551060542464256,
0.002131630200892687,
0.03197653219103813,
-0.06907729804515839,
0.030229635536670685,
0.026785753667354584,
-0.014199776574969292,
0.015713755041360855,
-0.0040428186766803265,
-0.00992403831332922,
0.04881329461932182,
-0.019598521292209625,
0.0639197900891304,
-0.014033406041562557,
-0.04475383833050728,
0.03686784580349922,
-0.013833760283887386,
-0.009092182852327824,
0.008214575238525867,
-0.025687703862786293,
-0.021262232214212418,
-0.020330553874373436,
-0.03803244233131409,
0.02056347392499447,
0.03883102536201477,
0.007603161036968231,
0.06282174587249756,
0.004645914305001497,
-0.009666163474321365,
-0.009865808300673962,
-0.06408616155385971,
0.022110724821686745,
-0.031011581420898438,
0.018883123993873596,
0.07293710857629776,
-0.010963858105242252,
-0.0193156898021698,
0.007536612916737795,
-0.004371401853859425,
0.01524791494011879,
-0.002840787172317505,
-0.046284452080726624,
-0.09463190287351608,
0.0198813509196043,
0.007648913189768791,
-0.0940995141863823,
-0.006347058806568384,
0.013692344538867474,
0.04781506583094597,
0.03413935750722885,
-0.06198988854885101,
0.03533723205327988,
-0.017435695976018906,
0.06415271013975143,
-0.006804579868912697,
0.046850115060806274,
-0.004284056834876537,
0.008792715147137642,
0.016928263008594513,
-0.0545031875371933,
0.021960990503430367,
-0.03939668461680412,
-0.02440664730966091,
-0.0045502507127821445,
-0.09043934941291809,
0.005169983021914959,
-0.003934677690267563,
-0.06834526360034943,
0.013800485990941525,
0.023042403161525726,
0.04102712497115135,
0.042524464428424835,
0.014449333772063255,
-0.045918434858322144,
0.028083449229598045,
-0.028632473200559616,
-0.01735251024365425,
-0.028449464589357376,
0.034006260335445404,
0.0065966155380010605,
0.02981370873749256,
0.03225936368107796,
-0.016304371878504753,
-0.023757798597216606,
0.019082769751548767,
-0.01786825992166996,
-0.040328364819288254,
-0.03846500813961029,
-0.013135001994669437,
0.08032398670911789,
-0.0151730477809906,
0.03593616560101509,
0.024639565497636795,
-0.04029509052634239,
-0.012402968481183052,
-0.01083907950669527,
0.02598717249929905,
-0.02056347392499447,
0.011080318130552769,
0.02886539325118065,
0.0050285677425563335,
0.010398196056485176,
0.0021233116276562214,
0.013018541969358921,
0.017369147390127182,
-0.025205228477716446,
-0.003090343903750181,
0.03483811765909195,
0.016928263008594513,
0.020996037870645523,
0.023341871798038483,
0.0037121560890227556,
0.001971498131752014,
-0.008098115213215351,
0.019415512681007385,
-0.00011288542009424418,
-0.002166984137147665,
0.04961187392473221,
-0.01444101519882679,
0.08245353400707245,
0.006151572801172733,
0.04531949758529663,
-0.03660165145993233,
0.057664237916469574,
0.0837179571390152,
-0.0871119275689125,
0.02404063008725643,
-0.013218186795711517,
0.05094284191727638,
0.006367855239659548,
-0.05616689845919609,
0.03633545711636543,
-0.012619251385331154,
-0.019199229776859283,
0.0020785995293408632,
0.025155317038297653,
-0.007324489299207926,
0.012885444797575474
] |
730,051 | mmengine.config.config | _to_lazy_dict | Convert the ConfigDict to a normal dictionary recursively, and keep
the ``LazyObject`` or ``LazyAttr`` object not built. | def _to_lazy_dict(self):
"""Convert the ConfigDict to a normal dictionary recursively, and keep
the ``LazyObject`` or ``LazyAttr`` object not built."""
def _to_dict(data):
if isinstance(data, ConfigDict):
return {
key: _to_dict(value)
for key, value in Dict.items(data)
}
elif isinstance(data, dict):
return {key: _to_dict(value) for key, value in data.items()}
elif isinstance(data, (list, tuple)):
return type(data)(_to_dict(item) for item in data)
else:
return data
return _to_dict(self)
| (self) | [
-0.022076794877648354,
-0.012708554975688457,
0.007386127486824989,
-0.03764573484659195,
-0.01019372045993805,
0.04710996150970459,
0.007630892097949982,
-0.006867803167551756,
0.04676441103219986,
-0.07191275805234909,
0.01779581606388092,
0.04446074366569519,
-0.0017973390640690923,
0.021654456853866577,
-0.011575919575989246,
0.0041489978320896626,
-0.022134386003017426,
0.043500885367393494,
-0.013706809841096401,
-0.006095115095376968,
0.008240403607487679,
-0.026165802031755447,
0.0017325484659522772,
0.033844687044620514,
-0.03505410999059677,
-0.03386388346552849,
-0.024726010859012604,
0.03545725345611572,
0.004580934997648001,
-0.010222516022622585,
-0.04211868718266487,
0.016519201919436455,
0.05628622695803642,
0.03927749767899513,
0.019331593066453934,
-0.047378722578287125,
0.009756983257830143,
0.04891449958086014,
-0.08615709096193314,
-0.036897044628858566,
-0.028853410854935646,
-0.01742147095501423,
-0.08907506614923477,
0.0036258737090975046,
0.029352538287639618,
0.0037122610956430435,
-0.014772254973649979,
0.025897040963172913,
0.007654888555407524,
-0.05609425529837608,
0.02190401963889599,
-0.023497389629483223,
0.01757504791021347,
0.06166144832968712,
0.008816320449113846,
-0.007621293421834707,
-0.028469467535614967,
0.03776091709733009,
0.014743459410965443,
0.03518849238753319,
-0.0398918092250824,
-0.014532290399074554,
0.02221117541193962,
-0.02852705866098404,
-0.02190401963889599,
-0.037818510085344315,
-0.09191625565290451,
-0.003205934539437294,
-0.008773126639425755,
-0.04584294557571411,
-0.06818850338459015,
-0.028603848069906235,
0.013236477971076965,
0.03455498442053795,
0.02123211696743965,
-0.06849565356969833,
-0.01672077178955078,
-0.012727752327919006,
0.04192671179771423,
0.016643984243273735,
-0.04234905168414116,
-0.04749390482902527,
-0.052331604063510895,
-0.011211172677576542,
-0.02848866395652294,
-0.004300175700336695,
0.014455500990152359,
0.01333246473222971,
0.04991275444626808,
0.030504371970891953,
-0.02215358428657055,
0.07652009278535843,
-0.008086825720965862,
0.035668421536684036,
-0.0037050622049719095,
0.019427578896284103,
0.02313264086842537,
0.05171729251742363,
0.027413619682192802,
-0.01865009218454361,
0.0024836394004523754,
-0.03697383403778076,
-0.04661083221435547,
-0.016576793044805527,
0.001091841491870582,
-0.09997908771038055,
0.010971207171678543,
0.0013282072031870484,
-0.006531851831823587,
-0.0398150198161602,
-0.05809076502919197,
-0.03847121447324753,
-0.048952892422676086,
0.050411880016326904,
0.03616755083203316,
-0.014148346148431301,
-0.013351662084460258,
-0.03697383403778076,
0.04200350120663643,
-0.0008026834693737328,
-0.0425410233438015,
0.021059343591332436,
-0.035514842718839645,
0.05874347314238548,
-0.008101223967969418,
0.05141013488173485,
0.01203665230423212,
-0.015204193070530891,
0.047724273055791855,
0.03127225860953331,
0.03219372779130936,
0.030811527743935585,
-0.026799309998750687,
-0.0007744875620119274,
0.07813265919685364,
-0.015597735531628132,
-0.008787523955106735,
0.022000005468726158,
-0.0008452772744931281,
0.03906632959842682,
0.030773133039474487,
-0.0034650969319045544,
-0.02451484091579914,
0.025858646258711815,
0.03927749767899513,
-0.04307854548096657,
0.01580890454351902,
0.05068064108490944,
-0.029736483469605446,
-0.028469467535614967,
0.020713793113827705,
0.017901401966810226,
0.018736479803919792,
0.07022340595722198,
-0.04315533488988876,
0.018256548792123795,
-0.051602110266685486,
-0.05609425529837608,
-0.01870768330991268,
-0.06619199365377426,
-0.037607342004776,
0.03501571714878082,
-0.005591188091784716,
-0.03822164982557297,
-0.015952883288264275,
-0.006152706686407328,
0.04549739509820938,
-0.12439794093370438,
0.012334208935499191,
0.012967717833817005,
-0.030907513573765755,
-0.02524433471262455,
-0.00444895401597023,
0.05006633326411247,
-0.014234733767807484,
0.04568936675786972,
0.029429327696561813,
-0.008715534582734108,
-0.03474695608019829,
0.04661083221435547,
0.023497389629483223,
0.01672077178955078,
-0.027413619682192802,
-0.003942627459764481,
0.03470855951309204,
-0.0016473608557134867,
0.030965104699134827,
0.005509600043296814,
0.039776626974344254,
0.01962915062904358,
0.015799306333065033,
0.007693283259868622,
0.011095989495515823,
-0.02647295594215393,
0.0066374363377690315,
-0.006930193863809109,
-0.03378709405660629,
-0.0004940282669849694,
-0.011000002734363079,
0.04054451361298561,
-0.061047136783599854,
-0.0593193881213665,
0.002156086964532733,
-0.02157766744494438,
-0.0024080504663288593,
-0.019696339964866638,
-0.03395986929535866,
0.009982550516724586,
0.023228628560900688,
0.021980809047818184,
-0.053752195090055466,
-0.00534162437543273,
0.003762653796002269,
-0.010116931051015854,
0.012151835486292839,
-0.05832113325595856,
0.05256196856498718,
0.019734734669327736,
-0.07364051043987274,
-0.03701222687959671,
0.04661083221435547,
0.041542768478393555,
0.04557418450713158,
-0.02887260913848877,
0.006642235908657312,
-0.06480979174375534,
-0.06600002199411392,
-0.01644241251051426,
0.022729501128196716,
0.01342845056205988,
0.033998265862464905,
-0.01720070280134678,
0.000515625171829015,
-0.0013318066485226154,
0.11587437987327576,
-0.02044503204524517,
0.012756547890603542,
-0.03872077912092209,
0.036013972014188766,
0.054289717227220535,
0.021596863865852356,
0.008840316906571388,
-0.009603405371308327,
-0.041005246341228485,
0.0017481462564319372,
0.014157944358885288,
0.04584294557571411,
0.046111706644296646,
0.017834210768342018,
0.030945908278226852,
0.019965101033449173,
0.0031963358633220196,
-0.028411874547600746,
0.04089006409049034,
-0.009253056719899178,
-0.04484469071030617,
0.022268766537308693,
0.02912217192351818,
-0.013380457647144794,
-0.00995375495404005,
0.04315533488988876,
0.0015057814307510853,
-0.021731244400143623,
0.05839792266488075,
-0.026300182566046715,
-0.023113444447517395,
0.02956370823085308,
-0.02132810279726982,
-0.06396511197090149,
0.05513439700007439,
0.17062482237815857,
-0.006440665107220411,
0.06880281120538712,
-0.03324957191944122,
-0.0010672450298443437,
0.010548868216574192,
0.02950611710548401,
-0.05052706599235535,
0.026741717010736465,
0.02524433471262455,
-0.01320768240839243,
-0.039392679929733276,
-0.017047125846147537,
-0.0077460752800107,
0.008672340773046017,
-0.012650963850319386,
-0.07314138114452362,
0.04112042859196663,
0.0309843011200428,
0.015261784195899963,
0.041888318955898285,
-0.038164060562849045,
0.009166669100522995,
0.010635255835950375,
-0.010068938136100769,
-0.04480629414319992,
-0.0849284678697586,
-0.03461257368326187,
0.017651837319135666,
0.007371729705482721,
0.025513095781207085,
-0.0006605040980502963,
-0.004626528359949589,
0.06146947667002678,
0.05724608898162842,
-0.01830454170703888,
0.002316863741725683,
0.0017565450398251414,
-0.012506984174251556,
0.015223389491438866,
-0.04411519691348076,
0.004840097390115261,
0.0557871013879776,
0.07893893867731094,
-0.06369635462760925,
-0.07229670137166977,
-0.004172994289547205,
-0.0243612639605999,
0.025205940008163452,
0.04161955788731575,
-0.08101224154233932,
0.05824434384703636,
-0.02631937898695469,
-0.01123037002980709,
0.03841362148523331,
-0.008571555837988853,
0.10082376003265381,
0.051832474768161774,
0.03726179152727127,
0.019696339964866638,
-0.06427226960659027,
-0.03244328871369362,
-0.0016905545489862561,
0.055902283638715744,
0.005178448278456926,
0.0230366550385952,
0.04591973498463631,
-0.0345165878534317,
-0.025378715246915817,
-0.08715534955263138,
0.0036714670713990927,
-0.016797561198472977,
-0.020349046215415,
-0.048261795192956924,
-0.024534039199352264,
-0.0011812285520136356,
0.054481688886880875,
-0.014753058552742004,
0.05344504117965698,
0.006114312447607517,
-0.010385692119598389,
-0.020464228466153145,
0.0331919826567173,
0.03574521094560623,
-0.011604715138673782,
-0.029256552457809448,
0.009075482375919819,
-0.047033172100782394,
-0.010088135488331318,
-0.029237356036901474,
0.04591973498463631,
0.03445899859070778,
-0.03000524453818798,
-0.0013318066485226154,
0.04806981980800629,
0.036148350685834885,
-0.0627748891711235,
-0.010817629285156727,
0.044000010937452316,
-0.03695463389158249,
-0.0021344900596886873,
0.02048342674970627,
0.004888090305030346,
-0.010990404523909092,
0.022134386003017426,
-0.0230366550385952,
-0.05732287839055061,
0.04515184462070465,
-0.016423216089606285,
0.08024434745311737,
0.014282726682722569,
0.012391800992190838,
0.032731249928474426,
-0.020809778943657875,
0.010769636370241642,
-0.04906807839870453,
0.0707225352525711,
-0.03386388346552849,
0.00460733100771904,
-0.05206284299492836,
-0.02568587101995945,
0.011393546126782894,
-0.016202447935938835,
0.0690331757068634,
-0.000974258582573384,
-0.06569286435842514,
0.028162311762571335,
-0.027087267488241196,
-0.0007702881703153253,
0.02127051167190075,
0.011691102758049965,
-0.04215708002448082,
0.04196510836482048,
-0.005490403156727552,
0.02676091529428959,
0.0001826734805945307,
0.06039443239569664,
0.015204193070530891,
0.04734032601118088,
0.02009948156774044,
0.027240844443440437,
-0.0020553015638142824,
-0.04200350120663643,
-0.002372055547311902,
0.05582549422979355,
-0.03424782678484917,
-0.011508729308843613,
-0.007626092992722988,
0.0024620424956083298,
0.025570686906576157,
0.05874347314238548,
-0.0013330064248293638,
-0.011527926661074162,
-0.015050615184009075,
0.0154921505600214,
0.019427578896284103,
-0.019350791350007057,
-0.0018777274526655674,
-0.026165802031755447,
0.030504371970891953,
-0.01257417444139719,
-0.005826354026794434,
0.009493022225797176,
-0.08300875127315521,
0.027029676362872124,
-0.012343808077275753,
0.018880458548665047,
-0.019609952345490456,
0.0010516473557800055,
0.03284643217921257,
-0.010059339925646782,
0.03706981986761093,
0.015789708122611046,
-0.009469025768339634,
0.06396511197090149,
-0.003652269719168544,
-0.011508729308843613,
0.016999132931232452,
0.07774871587753296,
0.01132635585963726,
0.013697211630642414,
-0.00800043810158968,
0.027336832135915756,
-0.04584294557571411,
-0.0602024607360363,
0.008552358485758305,
0.001913722138851881,
0.016576793044805527,
-0.0073381345719099045,
0.0477626658976078,
-0.002584424801170826,
-0.05202444642782211,
0.0067334226332604885,
-0.0022496734745800495,
-0.02186562493443489,
0.004393761977553368,
-0.008561956696212292,
0.04568936675786972,
-0.0866946130990982,
-0.03079232946038246,
0.02985166572034359,
0.0066230385564267635,
0.008226005360484123,
-0.030427582561969757,
-0.01656719483435154,
-0.013447647914290428,
0.012612569145858288,
0.02211518958210945,
0.004820900037884712,
-0.07410123944282532,
0.02470681257545948,
-0.003244329011067748,
0.02814311347901821,
-0.03146423399448395,
-0.010318501852452755,
-0.026012223213911057,
-0.004782505799084902,
-0.0012514183763414621,
-0.028219902887940407,
0.07851660251617432,
-0.06185341998934746,
0.04626528173685074,
-0.01600087620317936,
0.017306286841630936,
0.06193020939826965,
0.013006111606955528,
-0.004019416403025389,
0.04530542343854904,
0.045958127826452255,
-0.05709251016378403,
-0.028565453365445137,
0.0022160783410072327,
0.02549389936029911,
0.06054801121354103,
-0.054020956158638,
0.020061086863279343,
-0.03534206748008728,
0.06980106979608536,
-0.009766582399606705,
-0.00866274256259203,
0.004948081448674202,
-0.007928448729217052,
0.0230366550385952,
0.00017052525072358549,
0.014925832860171795,
-0.01772862672805786,
-0.021500878036022186,
0.018102971836924553,
-0.050411880016326904,
-0.053061097860336304,
0.0039786226116120815,
0.06457942724227905,
0.029890060424804688,
-0.0018861262360587716,
-0.028603848069906235,
0.046879593282938004,
0.07341014593839645,
-0.01363002136349678,
0.0081876115873456,
-0.0018897256813943386,
0.012295815162360668,
-0.007342934142798185,
0.04584294557571411,
0.04396161809563637,
-0.029198961332440376,
-0.05893544480204582,
-0.007347733248025179,
-0.002754800021648407,
-0.02927575074136257,
0.023055853322148323,
0.03616755083203316,
-0.001213023904711008,
0.05809076502919197,
0.04411519691348076,
0.025897040963172913,
0.009665796533226967,
0.03420943394303322,
0.06607680767774582,
-0.045804549008607864,
-0.011652708053588867,
-0.034151840955019,
-0.038356032222509384,
0.009128274396061897,
-0.04265620559453964,
-0.04929844290018082,
-0.060164064168930054,
0.019696339964866638,
-0.1045864149928093,
0.0029011787846684456,
0.008811520412564278,
-0.011825483292341232,
0.03092670999467373,
-0.029102975502610207,
0.0031291458290070295,
0.0029851666186004877,
0.01914921961724758,
-0.01249738596379757,
0.08239443600177765,
-0.05524957925081253,
-0.0015357770025730133,
0.038951143622398376,
-0.007371729705482721,
-0.016020074486732483,
0.014273127540946007,
-0.007222951389849186,
0.04288657382130623,
-0.00231926329433918,
-0.009867367334663868,
0.017306286841630936,
-0.03916231542825699,
-0.0018621296621859074,
-0.0006191101274453104,
0.009037087671458721,
-0.012785343453288078,
-0.026069816201925278,
-0.0203874409198761,
-0.0035538841038942337,
0.08546599000692368,
0.009238658472895622,
-0.045996520668268204,
-0.035418856889009476,
0.016327230259776115,
-0.020867370069026947,
-0.04196510836482048,
0.03515009582042694,
-0.025013968348503113,
-0.020406637340784073,
0.026972085237503052,
0.01465707179158926,
-0.04995114728808403,
-0.06538570672273636,
0.005303230136632919,
-0.018026182428002357,
0.051294952630996704,
-0.031003499403595924,
-0.0358411967754364,
0.041197218000888824,
0.009867367334663868,
-0.0016053669387474656,
-0.027144858613610268,
-0.040122173726558685,
0.016730371862649918,
0.04856894910335541,
0.02887260913848877,
0.011566320434212685,
-0.06730543076992035,
-0.06438745558261871,
-0.05256196856498718,
-0.02363177016377449,
-0.0207905825227499,
-0.011431940831243992,
-0.02662653475999832,
-0.002997164847329259,
0.017901401966810226,
-0.0628516748547554,
-0.019178016111254692,
0.010856023989617825,
-0.05724608898162842,
-0.009368239901959896,
0.006877401378005743,
0.003145943395793438,
-0.007491712458431721,
0.031502626836299896,
0.0010360495653003454,
-0.0353996604681015,
0.019638748839497566,
0.04691798985004425,
0.028104720637202263,
-0.003364311531186104,
-0.007054975721985102,
0.015703320503234863,
-0.03943107649683952,
-0.06004888191819191,
0.019360389560461044,
-0.0443071685731411,
-0.015828102827072144,
0.027528803795576096,
-0.01965794526040554,
0.056746963411569595,
-0.023343810811638832,
0.010241713374853134,
-0.0036618683952838182,
-0.0032083343248814344,
0.021558471024036407,
-0.02695288695394993,
-0.003474695608019829,
0.042771391570568085,
0.01732548512518406,
-0.00035184892476536334,
0.011278362944722176,
-0.00758769828826189,
-0.008182812482118607,
-0.07329495996236801,
-0.05398256331682205,
0.0691867545247078,
0.018506113439798355,
-0.05594068020582199,
0.02259512059390545,
0.04265620559453964,
-0.028354283422231674,
0.05010472610592842,
-0.0004688319459091872,
-0.00002225301977887284,
-0.02201920375227928,
-0.02583944797515869,
-0.029698088765144348,
-0.01311169657856226,
0.019696339964866638,
0.01717190630733967,
-0.0019341192673891783,
-0.024476446211338043,
0.05774521827697754,
-0.0735253244638443,
0.07732637226581573,
-0.055902283638715744,
-0.014215536415576935,
0.02029145509004593,
-0.03240489587187767,
-0.001618565060198307,
-0.0009124675416387618,
0.015626531094312668,
0.022230371832847595,
-0.029333341866731644,
0.035956379026174545,
-0.024380460381507874,
-0.09091800451278687,
-0.013514838181436062,
-0.028162311762571335,
0.01937958598136902,
-0.007083771750330925,
0.04891449958086014,
-0.018822867423295975,
-0.0003665467957034707,
-0.03570681810379028,
0.012458991259336472,
-0.02808552235364914,
0.008561956696212292,
0.01634642668068409,
0.008873911574482918,
0.03877837210893631,
0.0013450047699734569,
0.12324611097574234,
0.033556729555130005,
-0.057476457208395004,
-0.008825918659567833,
0.041542768478393555,
0.014474698342382908,
-0.017306286841630936,
-0.02685690112411976,
-0.004681720398366451,
-0.025724265724420547,
0.004225786309689283,
-0.014849044382572174,
0.009349042549729347,
0.00842277705669403,
0.01071204524487257,
0.03626353666186333,
-0.020080285146832466,
-0.01915881782770157,
-0.033211179077625275,
0.03520768880844116,
-0.036244336515665054,
-0.05486563593149185,
0.009780979715287685,
-0.010971207171678543,
-0.03328796848654747,
-0.012708554975688457,
0.027528803795576096,
-0.03764573484659195,
0.014637875370681286,
-0.018352536484599113,
0.055364761501550674,
-0.012420596554875374,
0.0939127653837204,
-0.03146423399448395,
-0.10020945221185684,
0.06150786951184273,
0.0359179861843586,
0.01830454170703888,
-0.020061086863279343,
0.02246074005961418,
0.09875046461820602,
-0.030869118869304657,
-0.0031435436103492975,
0.008499566465616226,
-0.051794081926345825,
-0.027931945398449898,
-0.0238813329488039,
-0.006551049184054136,
-0.026972085237503052,
-0.006867803167551756,
-0.0434240959584713,
0.02921815775334835,
-0.0014409908326342702,
-0.01565532758831978,
0.006267889868468046,
0.041197218000888824,
-0.02597382850944996
] |
730,052 | mmengine.config.config | build_lazy | If class attribute ``lazy`` is False, the LazyObject will be built
and returned.
Args:
value (Any): The value to be built.
Returns:
Any: The built value.
| def build_lazy(self, value: Any) -> Any:
"""If class attribute ``lazy`` is False, the LazyObject will be built
and returned.
Args:
value (Any): The value to be built.
Returns:
Any: The built value.
"""
if isinstance(value, (LazyAttr, LazyObject)) and not self.lazy:
value = value.build()
return value
| (self, value: Any) -> Any | [
0.020572325214743614,
-0.01354271825402975,
0.010881447233259678,
0.01679927296936512,
0.035594500601291656,
0.03111235797405243,
0.04093455150723457,
-0.015538671053946018,
0.06047388166189194,
-0.06863278150558472,
0.049093447625637054,
0.0954555869102478,
-0.01105653028935194,
-0.00862724520266056,
0.01890903152525425,
0.022725854068994522,
-0.007169674150645733,
0.054310936480760574,
0.00581715302541852,
0.01600264199078083,
0.008684147149324417,
0.03534938395023346,
-0.026665234938263893,
0.01169558521360159,
0.023478712886571884,
-0.04261535406112671,
-0.0024818102829158306,
0.06211966648697853,
-0.006788867060095072,
-0.014164264313876629,
0.022025519981980324,
-0.011975719593465328,
0.021290168166160583,
-0.021605318412184715,
0.06625164300203323,
-0.023461204022169113,
-0.004823553841561079,
0.0829896330833435,
-0.06789742410182953,
-0.04926852881908417,
-0.004366147797554731,
-0.06271494925022125,
-0.11975719779729843,
-0.0006182640208862722,
-0.045311640948057175,
-0.06583143770694733,
0.03186521679162979,
0.029063880443572998,
-0.03858843073248863,
-0.04033926501870155,
0.06124424934387207,
0.03855341300368309,
0.023478712886571884,
-0.008329602889716625,
-0.021062558516860008,
0.061594415456056595,
-0.0306746494024992,
0.044016022235155106,
0.009874716401100159,
0.07290481775999069,
-0.02603493444621563,
-0.002768509788438678,
0.029886772856116295,
-0.057532478123903275,
-0.02283090353012085,
0.003460089908912778,
-0.04723756015300751,
0.02764570340514183,
-0.0028932567220181227,
-0.006368666421622038,
-0.04678234085440636,
0.026437627151608467,
0.03330090269446373,
0.04464632272720337,
-0.002343931933864951,
-0.037572942674160004,
-0.05164966732263565,
-0.01801610365509987,
0.05567659065127373,
-0.04534665867686272,
-0.030884750187397003,
-0.022148078307509422,
-0.0144093818962574,
-0.017245735973119736,
-0.043700870126485825,
-0.04583689197897911,
-0.045311640948057175,
0.0014148944756016135,
0.03596217557787895,
0.06590147316455841,
-0.049828797578811646,
0.11870669573545456,
-0.020187141373753548,
0.0306746494024992,
-0.0013722178991883993,
0.035559482872486115,
0.05627187341451645,
0.05728736147284508,
-0.003516992088407278,
0.03335342928767204,
0.06260990351438522,
-0.03282817825675011,
-0.033808644860982895,
0.013507701456546783,
0.0431055873632431,
-0.02487938292324543,
0.013568980619311333,
0.008959904313087463,
0.0611041821539402,
-0.01805112138390541,
-0.006267993710935116,
-0.0991673618555069,
-0.04044431447982788,
0.025824833661317825,
-0.013700293377041817,
-0.03473658859729767,
-0.006753850728273392,
-0.0343514047563076,
0.022760869935154915,
0.02864368073642254,
0.00317995622754097,
-0.03998909890651703,
-0.087191641330719,
0.040374282747507095,
0.005305033642798662,
0.04026923328638077,
0.009725894778966904,
-0.022760869935154915,
0.029273981228470802,
-0.02677028439939022,
0.01715819537639618,
0.007909402251243591,
0.0029720445163547993,
-0.02689284458756447,
0.01541611272841692,
-0.02762819454073906,
-0.016405334696173668,
-0.002849485957995057,
-0.006456208415329456,
0.026962876319885254,
-0.046607259660959244,
-0.026104968041181564,
0.019574347883462906,
-0.01157302688807249,
0.053435519337654114,
-0.028993846848607063,
0.03496420010924339,
0.07118900120258331,
-0.008946772664785385,
0.003394433530047536,
0.03151505067944527,
-0.005173720885068178,
0.047202542424201965,
0.03384366258978844,
-0.021150100976228714,
-0.009454515762627125,
-0.03282817825675011,
-0.06001866236329079,
0.01265854574739933,
-0.05101936683058739,
0.011380434967577457,
0.05017896369099617,
-0.04345575347542763,
-0.05217491835355759,
0.012772349640727043,
0.013761572539806366,
0.03995408117771149,
-0.04562678933143616,
-0.0008540797862224281,
0.06551629304885864,
-0.020869966596364975,
-0.04044431447982788,
0.0558166578412056,
0.06239980086684227,
-0.041214682161808014,
0.059878598898649216,
-0.008854853920638561,
0.007988190278410912,
-0.016904322430491447,
0.05091431736946106,
-0.035541974008083344,
0.03316083550453186,
-0.022428210824728012,
-0.03939381241798401,
0.042545318603515625,
0.013787834905087948,
0.04293050244450569,
-0.04082949832081795,
0.06026378273963928,
0.05704224109649658,
-0.0021863565780222416,
0.008080109022557735,
0.023793863132596016,
-0.05413585528731346,
-0.012973695993423462,
0.011380434967577457,
-0.00847842451184988,
-0.03998909890651703,
-0.024844365194439888,
0.08418020606040955,
-0.08228930085897446,
-0.008465292863547802,
0.022585786879062653,
-0.01656291075050831,
-0.003390056546777487,
-0.00001644828444113955,
-0.03351100534200668,
0.03620729222893715,
0.0017508361488580704,
-0.014155510812997818,
-0.05917826294898987,
0.002389891305938363,
-0.018961556255817413,
0.056376926600933075,
0.03330090269446373,
-0.042125117033720016,
0.015976380556821823,
-0.018874013796448708,
-0.06709203869104385,
0.0010346347698941827,
0.023373663425445557,
0.031637609004974365,
0.027558160945773125,
-0.00967337004840374,
0.02591237612068653,
-0.028713712468743324,
-0.03981401398777962,
-0.04580187425017357,
0.009139364585280418,
-0.002805714961141348,
0.013875376433134079,
0.0032434239983558655,
0.02111508511006832,
0.041249699890613556,
0.06786241382360458,
-0.014383119530975819,
0.038763511925935745,
0.0035651400685310364,
-0.023828880861401558,
0.01628277637064457,
-0.005178098101168871,
-0.018856504932045937,
0.005344427656382322,
-0.022165585309267044,
0.000961318495683372,
0.040794484317302704,
-0.030447041615843773,
0.04205508530139923,
-0.004114464856684208,
0.025544699281454086,
-0.0023789487313479185,
0.04163488373160362,
-0.013131271116435528,
-0.03855341300368309,
0.0005118460394442081,
-0.04639715701341629,
0.05021398141980171,
-0.0447513721883297,
-0.012317132204771042,
0.014934632927179337,
-0.002853862941265106,
-0.04096956551074982,
0.01375281810760498,
0.07276475429534912,
-0.055046290159225464,
-0.04321063682436943,
0.01606392115354538,
-0.006176074501127005,
-0.07318495213985443,
0.052139900624752045,
0.05101936683058739,
-0.03548945114016533,
0.04758772626519203,
-0.036662507802248,
-0.0007725564646534622,
-0.040794484317302704,
-0.0068063754588365555,
0.006460585631430149,
-0.024791840463876724,
0.028153445571660995,
0.00004900289422948845,
-0.015442375093698502,
-0.004736011847853661,
-0.01616021804511547,
-0.05270016938447952,
-0.037012677639722824,
-0.019556840881705284,
0.05115943402051926,
0.007252838928252459,
0.0037402238231152296,
0.04678234085440636,
-0.02533460035920143,
0.055501505732536316,
-0.005808399058878422,
0.011730602011084557,
-0.08684147149324417,
-0.035839617252349854,
0.016212742775678635,
-0.00853970367461443,
-0.03886856138706207,
0.04695742577314377,
-0.0014652310637757182,
-0.04377090558409691,
0.003260932397097349,
0.03027195669710636,
-0.013498947024345398,
0.0063993060030043125,
-0.010960234329104424,
-0.028696205466985703,
0.03841334581375122,
0.02151777595281601,
0.009655861184000969,
0.000767085119150579,
0.059878598898649216,
-0.0042107608169317245,
-0.045591775327920914,
0.005396952386945486,
-0.050704214721918106,
0.023093529045581818,
0.0069770822301507,
-0.03925374895334244,
-0.0356295146048069,
-0.035279348492622375,
0.034106288105249405,
-0.034543998539447784,
-0.012938679195940495,
0.04202006757259369,
0.04223017022013664,
-0.02125515043735504,
0.007826237939298153,
-0.028188463300466537,
0.011039022356271744,
0.030587108805775642,
0.07759705930948257,
0.0068063754588365555,
0.02794334478676319,
0.040059130638837814,
-0.03272312879562378,
0.013446422293782234,
-0.07402535527944565,
-0.012912416830658913,
0.0006330367177724838,
-0.06723210960626602,
0.03638237714767456,
0.006583143956959248,
-0.010347441770136356,
0.07556609064340591,
-0.003648304846137762,
0.08537077158689499,
-0.043981004506349564,
-0.015153487212955952,
-0.06488598883152008,
0.024319114163517952,
0.006036007776856422,
0.0266302190721035,
-0.011529256589710712,
-0.01113531831651926,
0.010785151273012161,
-0.02050229161977768,
-0.004595945123583078,
0.03211033716797829,
-0.02195548638701439,
-0.011074039153754711,
0.028398562222719193,
0.013350125402212143,
0.03372110426425934,
-0.04583689197897911,
-0.006928934250026941,
0.0007058058399707079,
-0.023303629830479622,
-0.005913448985666037,
0.013577734120190144,
0.010916464030742645,
0.0013021844206377864,
0.04149481654167175,
-0.03596217557787895,
-0.045906923711299896,
-0.0014422512613236904,
0.010137341916561127,
0.07962802797555923,
-0.005808399058878422,
0.007125903386622667,
0.020432258024811745,
-0.012299624271690845,
0.007830615155398846,
0.001604203600436449,
0.053260438144207,
-0.03743287920951843,
0.01950431428849697,
-0.03750291094183922,
0.00231110374443233,
-0.016212742775678635,
-0.03212784230709076,
-0.01637907326221466,
-0.00479729101061821,
-0.05641194060444832,
0.037012677639722824,
-0.037012677639722824,
0.03183020278811455,
-0.012133294716477394,
0.04061939939856529,
-0.012133294716477394,
0.0701034814119339,
0.03188272565603256,
-0.0401291660964489,
-0.011205351911485195,
0.05091431736946106,
-0.00466160150244832,
-0.0002932650677394122,
0.019101623445749283,
-0.04086451604962349,
-0.032513026148080826,
-0.0689479261636734,
-0.02339117042720318,
0.06324020028114319,
-0.0356295146048069,
0.041669901460409164,
0.005318164825439453,
0.012833628803491592,
-0.024109013378620148,
0.040199197828769684,
0.017639674246311188,
-0.01214204914867878,
-0.0028932567220181227,
-0.0546611063182354,
0.03384366258978844,
0.03981401398777962,
-0.0289413221180439,
0.027890820056200027,
0.015442375093698502,
0.005182475317269564,
-0.008312094956636429,
-0.061909567564725876,
-0.011074039153754711,
0.02314605377614498,
-0.051999833434820175,
-0.025352107360959053,
-0.033668581396341324,
-0.021990502253174782,
-0.016247760504484177,
-0.04366585612297058,
0.017026882618665695,
0.02794334478676319,
0.071504145860672,
0.025071974843740463,
-0.028696205466985703,
0.013796589337289333,
0.03225040063261986,
0.0779472291469574,
-0.04958368092775345,
0.011231614276766777,
-0.008434653282165527,
0.05599174275994301,
0.023023495450615883,
-0.009025560691952705,
-0.017867283895611763,
-0.04380591958761215,
-0.04755271226167679,
0.01946929842233658,
0.01875145547091961,
-0.02034471556544304,
-0.0052087376825511456,
0.014006689190864563,
-0.04117966815829277,
-0.03300326317548752,
0.01665920577943325,
-0.00880670640617609,
0.025106990709900856,
-0.08845224231481552,
-0.04061939939856529,
0.0477277934551239,
-0.07083883136510849,
0.04205508530139923,
-0.059283312410116196,
-0.00004623301720130257,
-0.02601742558181286,
-0.014855844900012016,
0.01265854574739933,
0.017867283895611763,
-0.08705157786607742,
-0.002324234927073121,
0.025106990709900856,
0.01735953986644745,
-0.010925217531621456,
-0.01163430605083704,
0.01177437324076891,
0.0032193500082939863,
0.028556138277053833,
0.06898294389247894,
0.05480117350816727,
-0.032355453819036484,
0.09419498592615128,
0.015407358296215534,
-0.017149440944194794,
0.00996225792914629,
0.024073997512459755,
0.004657224286347628,
0.01606392115354538,
0.033108312636613846,
-0.00491109536960721,
-0.053890738636255264,
-0.01834876276552677,
0.022148078307509422,
0.04117966815829277,
0.014724532142281532,
-0.024914398789405823,
-0.005392575636506081,
0.03181269392371178,
-0.011275384575128555,
-0.00853970367461443,
0.04086451604962349,
0.005427591968327761,
-0.004963620565831661,
0.005217491649091244,
0.02603493444621563,
-0.013822851702570915,
-0.015197258442640305,
0.017482100054621696,
-0.060158729553222656,
-0.029519097879529,
0.040094148367643356,
0.061174217611551285,
-0.002132737310603261,
-0.042545318603515625,
-0.02470429800450802,
0.0069770822301507,
0.03638237714767456,
0.004363959189504385,
0.027873311191797256,
-0.0041779326274991035,
0.03676756098866463,
-0.09006301313638687,
0.0312524251639843,
0.0895027443766594,
0.0006538279121741652,
-0.053435519337654114,
-0.029921790584921837,
0.017026882618665695,
0.026577692478895187,
-0.02344369702041149,
0.06166445091366768,
0.026104968041181564,
0.03620729222893715,
0.04054936766624451,
-0.007817483507096767,
0.0028779369313269854,
-0.01309625431895256,
0.06863278150558472,
-0.02064235880970955,
-0.008228929713368416,
-0.05627187341451645,
-0.008246438577771187,
-0.013498947024345398,
-0.023198578506708145,
0.015013420023024082,
-0.036872610449790955,
0.00479729101061821,
-0.01265854574739933,
-0.02153528481721878,
0.04811297729611397,
0.051404550671577454,
-0.005248131230473518,
0.005510756745934486,
0.016247760504484177,
-0.048953380435705185,
0.025544699281454086,
-0.008793574757874012,
0.033248379826545715,
0.02384638786315918,
-0.03813321143388748,
0.03373861312866211,
-0.03732782602310181,
-0.06576140969991684,
0.06695197522640228,
0.024966923519968987,
0.07556609064340591,
-0.030884750187397003,
0.028591154143214226,
0.013726555742323399,
-0.0061892056837677956,
0.010076061822474003,
-0.02165784314274788,
-0.01156427338719368,
-0.044716354459524155,
-0.008329602889716625,
-0.04818301275372505,
-0.016991864889860153,
0.05791766196489334,
-0.029746707528829575,
-0.071504145860672,
-0.005751496646553278,
0.0053400504402816296,
-0.030482057482004166,
-0.003392245154827833,
0.04002411663532257,
-0.0014389684656634927,
-0.03254804387688637,
0.007703679148107767,
0.012273361906409264,
-0.03225040063261986,
-0.058127760887145996,
0.03981401398777962,
-0.012509724125266075,
0.06726712733507156,
-0.024073997512459755,
-0.03694264218211174,
-0.02255076915025711,
0.015880083665251732,
-0.028713712468743324,
-0.006556881591677666,
0.008062600158154964,
0.04482140764594078,
-0.0019062228966504335,
0.02111508511006832,
-0.024756822735071182,
-0.029011355713009834,
-0.036417391151189804,
-0.01725449040532112,
-0.03407127037644386,
-0.05851294472813606,
-0.030377008020877838,
-0.008854853920638561,
0.005357558839023113,
0.02253326214849949,
-0.0311298668384552,
-0.04513655602931976,
0.035541974008083344,
-0.07430548965930939,
-0.003409753553569317,
-0.014400627464056015,
0.02955411560833454,
0.008981789462268353,
0.019101623445749283,
0.014339348301291466,
-0.03300326317548752,
0.006075401324778795,
0.06050889939069748,
0.042125117033720016,
0.010417475365102291,
-0.061594415456056595,
-0.0788576602935791,
-0.04177495092153549,
-0.07171425223350525,
0.015915101394057274,
-0.06078903377056122,
-0.028013378381729126,
-0.010076061822474003,
-0.006176074501127005,
0.0015593384159728885,
0.00687640905380249,
-0.02703290991485119,
-0.010898955166339874,
0.018874013796448708,
0.012754841707646847,
0.023811371996998787,
-0.014129247516393661,
0.08446034044027328,
0.0345965214073658,
0.04695742577314377,
0.009261923842132092,
-0.021342692896723747,
-0.03515679016709328,
0.010268653742969036,
-0.007646777201443911,
0.02950158901512623,
0.028433579951524734,
-0.045311640948057175,
-0.04191501811146736,
0.01723698154091835,
-0.003376925364136696,
-0.042370233684778214,
0.0447513721883297,
-0.013393896631896496,
-0.042370233684778214,
0.0032302928157150745,
-0.0500388965010643,
-0.012247098609805107,
-0.0011008383007720113,
0.014496923424303532,
0.03792311251163483,
0.026577692478895187,
0.0085878511890769,
-0.048077963292598724,
0.026717759668827057,
-0.047657761722803116,
-0.02631506696343422,
0.018786471337080002,
0.015039682388305664,
0.03354601934552193,
-0.0652361586689949,
-0.026227526366710663,
-0.013779080472886562,
0.004665978252887726,
0.029431555420160294,
0.010137341916561127,
-0.044891439378261566,
-0.036137260496616364,
0.01171309407800436,
0.0465722419321537,
0.04317561909556389,
0.03373861312866211,
0.015748770907521248,
-0.028591154143214226,
-0.01950431428849697,
-0.027680719271302223,
0.02179791033267975,
-0.0007260498823598027,
0.007979435846209526,
0.04482140764594078,
0.00959458202123642,
0.03239046782255173,
0.12010736018419266,
-0.001987199066206813,
-0.030359499156475067,
-0.012754841707646847,
-0.02384638786315918,
-0.008872362785041332,
0.03218036890029907,
-0.04653722420334816,
0.029308997094631195,
0.01932923123240471,
0.017981087788939476,
0.024109013378620148,
-0.04258033633232117,
-0.012317132204771042,
0.04975876584649086,
0.016974356025457382,
-0.04293050244450569,
-0.004595945123583078,
-0.0023045381531119347,
0.06401056796312332,
0.008290208876132965,
-0.013779080472886562,
-0.04363083839416504,
0.005147458519786596,
-0.03580459952354431,
-0.00737977446988225,
0.021990502253174782,
-0.07787719368934631,
-0.02078242599964142,
-0.02719048596918583,
0.023005986586213112,
0.007515464443713427,
0.06166445091366768,
-0.040094148367643356,
-0.0544159896671772,
0.03662749379873276,
0.010758887976408005,
0.004059751518070698,
0.009559565223753452,
-0.01701812818646431,
0.07773712277412415,
0.011065284721553326,
0.025352107360959053,
0.11107304692268372,
-0.02776826173067093,
-0.05805772915482521,
-0.043000537902116776,
-0.03578709065914154,
-0.10042796283960342,
-0.04142478480935097,
-0.02298847958445549,
-0.024756822735071182,
-0.0004675279778894037,
0.014435644261538982,
0.03317834436893463,
0.002363628940656781,
0.004889210220426321
] |
730,056 | mmengine.config.config | get | Get the value of the key. If class attribute ``lazy`` is True, the
LazyObject will be built and returned.
Args:
key (str): The key.
default (any, optional): The default value. Defaults to None.
Returns:
Any: The value of the key.
| def get(self, key: str, default: Optional[Any] = None) -> Any:
"""Get the value of the key. If class attribute ``lazy`` is True, the
LazyObject will be built and returned.
Args:
key (str): The key.
default (any, optional): The default value. Defaults to None.
Returns:
Any: The value of the key.
"""
return self.build_lazy(super().get(key, default))
| (self, key: str, default: Optional[Any] = None) -> Any | [
0.027657877653837204,
-0.05885176360607147,
-0.0056059714406728745,
0.02783292718231678,
0.04967914894223213,
0.002483519958332181,
0.06791934370994568,
-0.012052183039486408,
0.12232483923435211,
-0.0688646137714386,
0.010774319060146809,
0.050169289112091064,
0.014931752346456051,
-0.009548969566822052,
0.007601540070027113,
0.019027918577194214,
0.017601262778043747,
0.03133392333984375,
0.002057929988950491,
-0.0004154698981437832,
0.0305987149477005,
0.008888156153261662,
0.01934300921857357,
-0.031438954174518585,
-0.004312790930271149,
0.0026104310527443886,
0.05247994884848595,
0.012752382084727287,
0.04166186600923538,
-0.01543064508587122,
-0.009942831471562386,
-0.01818767935037613,
-0.02520717866718769,
0.03565765544772148,
-0.008664967492222786,
-0.020060714334249496,
0.005150842014700174,
0.07674185931682587,
-0.0874549075961113,
-0.0344323068857193,
0.024034345522522926,
0.004420008976012468,
-0.018432749435305595,
-0.049504101276397705,
-0.009846554137766361,
-0.014467870816588402,
0.006551241036504507,
0.060882341116666794,
0.006691280752420425,
-0.029530910775065422,
0.07107023894786835,
-0.03753069043159485,
-0.008314868435263634,
-0.038651008158922195,
-0.03819587826728821,
0.02265145070850849,
-0.031981609761714935,
0.0550006665289402,
-0.029548415914177895,
0.08101307600736618,
-0.004945158492773771,
-0.0601121224462986,
-0.011719588190317154,
-0.006433082278817892,
-0.013531354255974293,
-0.02419188991189003,
-0.0002547795884311199,
0.011982162483036518,
0.03739064931869507,
-0.02090095356106758,
-0.00870435405522585,
0.0024922722950577736,
-0.010765566490590572,
0.024629514664411545,
0.02412186935544014,
-0.03079126961529255,
-0.05955196171998978,
-0.05619100481271744,
0.0389660969376564,
0.012358520179986954,
-0.006984489504247904,
-0.05339020490646362,
-0.07485131919384003,
-0.02615244872868061,
-0.045582983642816544,
-0.02783292718231678,
0.0007975709158927202,
-0.05507068336009979,
0.03543009236454964,
0.06697407364845276,
-0.060812320560216904,
0.08738488703966141,
-0.03140394389629364,
0.04442765191197395,
0.0001589124440215528,
-0.043307334184646606,
0.049959227442741394,
0.030581209808588028,
0.03942122682929039,
0.02406935580074787,
0.011719588190317154,
-0.0020426129922270775,
0.05713627487421036,
0.035062484443187714,
0.0005907932645641267,
-0.025154665112495422,
-0.001586389378644526,
0.03381963074207306,
0.030231110751628876,
0.0017986373277381063,
-0.017811322584748268,
-0.06805938482284546,
-0.043832484632730484,
0.0633680447936058,
-0.001366482931189239,
0.005465931724756956,
-0.022126302123069763,
0.0010459228651598096,
0.0017198649002239108,
0.04547795280814171,
-0.04162685573101044,
-0.01818767935037613,
-0.09641746431589127,
-0.0011301656486466527,
0.023561710491776466,
0.003080877475440502,
0.012612341903150082,
-0.016288388520479202,
0.05202481895685196,
0.03583270683884621,
0.05888677015900612,
0.04890893027186394,
-0.01354885846376419,
0.0028183027170598507,
0.024892089888453484,
-0.0033456403762102127,
0.051919788122177124,
0.060882341116666794,
-0.013671393506228924,
0.08829514682292938,
0.0036804231349378824,
-0.017338687554001808,
0.024296920746564865,
0.0021629598923027515,
0.03910613805055618,
-0.06938976049423218,
0.06350808590650558,
0.003240610472857952,
-0.022493906319141388,
-0.006153002381324768,
0.04523288458585739,
0.026432529091835022,
-0.0015831071650609374,
0.020323287695646286,
0.007553401403129101,
-0.0022264153230935335,
-0.019728118553757668,
-0.03341701626777649,
-0.00874811690300703,
-0.04253711551427841,
0.010152891278266907,
0.037565700709819794,
-0.03107134997844696,
-0.0691797062754631,
0.01799512468278408,
0.015255594626069069,
0.012183469720184803,
0.0021126328501850367,
0.06791934370994568,
0.057451363652944565,
-0.06546864658594131,
0.005212109535932541,
-0.036165300756692886,
0.01832772046327591,
0.06718413531780243,
0.02762286737561226,
-0.04677332192659378,
0.006376191042363644,
0.04050653800368309,
0.03728561848402023,
0.006765677127987146,
0.00896255299448967,
-0.024682030081748962,
-0.030178595334291458,
0.021146021783351898,
0.06487347930669785,
0.05034434050321579,
-0.0016826667124405503,
0.0020032268948853016,
0.04092665761709213,
-0.02210879698395729,
0.005592843051999807,
-0.006188012659549713,
-0.024086860939860344,
-0.023264126852154732,
-0.0033631452824920416,
0.0033084421884268522,
-0.03805583715438843,
-0.0498892106115818,
0.08787503093481064,
-0.05594593286514282,
-0.02062087319791317,
0.0056059714406728745,
0.002229697536677122,
-0.03963128849864006,
-0.036620430648326874,
0.02163616195321083,
0.020043209195137024,
-0.042817194014787674,
-0.010047861374914646,
-0.05251495540142059,
-0.02312408573925495,
-0.04911898821592331,
0.00953146442770958,
0.05181475728750229,
-0.04253711551427841,
-0.02095346711575985,
-0.016235874965786934,
-0.041416797786951065,
0.03746066987514496,
0.07814225554466248,
-0.009225127287209034,
0.07352094352245331,
0.035745181143283844,
0.0364103689789772,
-0.007299579214304686,
-0.016901062801480293,
-0.014371593482792377,
-0.039526257663965225,
-0.031649015843868256,
0.01593828946352005,
0.019570574164390564,
0.024314425885677338,
0.025907378643751144,
0.04547795280814171,
-0.059131842106580734,
0.017137380316853523,
0.019430534914135933,
0.011194438673555851,
0.01717239059507847,
0.03080877475440502,
0.026099933311343193,
-0.006953855510801077,
0.011947153136134148,
-0.00633242866024375,
0.03135142847895622,
-0.02123354747891426,
0.05748637393116951,
0.018152670934796333,
0.029233325272798538,
0.052129846066236496,
0.012787392362952232,
0.00899756234139204,
-0.00037909235106781125,
-0.013960226438939571,
0.002892698859795928,
-0.03374961391091347,
-0.01617460697889328,
-0.0022089104168117046,
0.01142200268805027,
-0.041416797786951065,
0.00018503317551221699,
-0.010695545934140682,
0.07054509222507477,
-0.022756481543183327,
-0.0076190452091395855,
0.026432529091835022,
0.005102703347802162,
-0.008971305564045906,
0.02083093300461769,
0.0404365174472332,
0.0004936953191645443,
0.014844227582216263,
-0.04813871160149574,
0.005977952387183905,
-0.04551296308636665,
0.005807279143482447,
0.001780038233846426,
-0.03760071098804474,
0.00638494361191988,
-0.04610813409090042,
-0.007303955499082804,
0.0004269575292710215,
-0.02560979314148426,
-0.058396633714437485,
-0.02069089375436306,
-0.03746066987514496,
-0.02263394556939602,
-0.012489806860685349,
-0.04635320231318474,
0.04355240613222122,
-0.018012629821896553,
-0.011807112954556942,
0.006962608080357313,
-0.006835696753114462,
-0.06931973993778229,
-0.08262353390455246,
-0.01213095523416996,
0.036025259643793106,
-0.01610458642244339,
0.050169289112091064,
-0.0022690838668495417,
-0.028620650991797447,
-0.006927598267793655,
-0.009207622148096561,
0.006962608080357313,
-0.013058719225227833,
-0.020130733028054237,
-0.02317660115659237,
0.043237313628196716,
-0.018852869048714638,
-0.015089297667145729,
0.00441563269123435,
0.06697407364845276,
-0.04103168472647667,
-0.026117438450455666,
-0.02007821947336197,
-0.0016892311396077275,
0.044322624802589417,
0.06389319896697998,
-0.03942122682929039,
0.009697762317955494,
-0.05885176360607147,
0.0400514081120491,
-0.0062974183820188046,
-0.019325504079461098,
0.0035907102283090353,
0.03492244705557823,
0.01572822965681553,
0.022021271288394928,
-0.008524928241968155,
-0.012586085125803947,
-0.028148017823696136,
0.038440950214862823,
-0.0633680447936058,
0.0042230780236423016,
0.009890316985547543,
-0.01600831001996994,
0.021863726899027824,
-0.038861069828271866,
-0.014074008911848068,
-0.02709771692752838,
-0.03550010919570923,
0.0013150620507076383,
0.005811655428260565,
-0.02048083394765854,
0.09592732042074203,
-0.041871923953294754,
0.0550006665289402,
-0.08997562527656555,
-0.014581653289496899,
-0.08360381424427032,
0.042957235127687454,
-0.00874811690300703,
0.01513306051492691,
-0.03394216671586037,
0.03539508208632469,
-0.03511499986052513,
0.0033456403762102127,
-0.02837558090686798,
0.03320695832371712,
-0.024139374494552612,
-0.06333303451538086,
0.025102149695158005,
-0.05041435733437538,
0.024629514664411545,
0.015378129668533802,
-0.001119772088713944,
0.016288388520479202,
-0.027202747762203217,
0.0004206666781101376,
0.01955306902527809,
-0.032244183123111725,
0.049434080719947815,
0.01785508543252945,
-0.0300560612231493,
-0.01482672244310379,
0.03367959335446358,
0.008104808628559113,
0.05843164399266243,
0.004251523409038782,
0.03299689665436745,
0.000597357633523643,
0.051919788122177124,
-0.01634090393781662,
0.0007472440483979881,
0.028480611741542816,
-0.00675692455843091,
0.008866275660693645,
-0.03236671909689903,
0.014091513119637966,
-0.033329494297504425,
-0.03539508208632469,
-0.018310215324163437,
-0.013671393506228924,
-0.07954265177249908,
0.05437048524618149,
-0.05531575530767441,
0.008739364333450794,
0.030476180836558342,
0.07352094352245331,
0.006660647224634886,
0.055700864642858505,
0.014809218235313892,
-0.019220475107431412,
-0.01596454717218876,
0.042817194014787674,
-0.03889607638120651,
-0.021723687648773193,
-0.0077809663489460945,
-0.032314203679561615,
0.011938400566577911,
-0.057171281427145004,
-0.04071659594774246,
0.036550410091876984,
-0.026922667399048805,
0.039736319333314896,
0.022861510515213013,
-0.029005762189626694,
-0.003262491663917899,
-0.029810991138219833,
-0.03578019142150879,
-0.0182051844894886,
-0.006131121423095465,
-0.02088344842195511,
0.015754487365484238,
0.026134943589568138,
-0.027325281873345375,
0.009732771664857864,
0.005636605434119701,
-0.008266729302704334,
-0.041276756674051285,
-0.035009972751140594,
0.004634445067495108,
0.04547795280814171,
0.000648231478407979,
0.0017494044732302427,
-0.030546199530363083,
-0.0037767007015645504,
-0.024576999247074127,
-0.06238776817917824,
-0.0032056004274636507,
0.004778861068189144,
0.05895679071545601,
0.014730445109307766,
-0.0575563944876194,
-0.0088312653824687,
0.05528074502944946,
0.10362951457500458,
-0.06721914559602737,
-0.018905384466052055,
-0.016542211174964905,
0.044182583689689636,
0.023701749742031097,
0.02723775804042816,
-0.026117438450455666,
-0.07394105941057205,
-0.02492710016667843,
0.02357921563088894,
0.004148681648075581,
-0.01495801005512476,
0.02002570405602455,
0.026117438450455666,
-0.03289186954498291,
-0.042362064123153687,
0.017960114404559135,
-0.011474518105387688,
0.026029914617538452,
-0.07611167430877686,
-0.04061156511306763,
0.026852648705244064,
-0.01887037418782711,
-0.023281630128622055,
-0.0838138684630394,
-0.011859627440571785,
-0.009610237553715706,
0.014529137872159481,
0.020848438143730164,
-0.0003087988879997283,
-0.056716155260801315,
0.017539994791150093,
0.025592289865016937,
0.004831376019865274,
-0.024244405329227448,
0.0003383385483175516,
0.0029780357144773006,
-0.004205572884529829,
0.06844449043273926,
0.04103168472647667,
0.0007105930126272142,
-0.01183337066322565,
0.12330511957406998,
0.01354885846376419,
0.0067788055166602135,
0.021863726899027824,
0.019920673221349716,
0.002735154004767537,
0.0022384501062333584,
0.05156968906521797,
0.02014823816716671,
-0.021408597007393837,
-0.0353250615298748,
0.0477185919880867,
0.04698337987065315,
-0.018240194767713547,
-0.06448836624622345,
-0.05297008529305458,
0.020305782556533813,
0.013610126450657845,
-0.019395524635910988,
0.05107954889535904,
0.011649567633867264,
0.019430534914135933,
-0.038861069828271866,
0.030161090195178986,
-0.019763128831982613,
0.01027542632073164,
-0.017907600849866867,
-0.027815422043204308,
0.01589452661573887,
0.04334234446287155,
0.03357456251978874,
0.01131697278469801,
0.010126634500920773,
-0.031701527535915375,
0.031228894367814064,
-0.01206093467772007,
-0.015649456530809402,
0.0014649485237896442,
0.0801728367805481,
-0.006078606471419334,
-0.030476180836558342,
-0.013286284171044827,
0.09004564583301544,
-0.02142610214650631,
-0.012691115029156208,
-0.05843164399266243,
0.03159650042653084,
0.01195590477436781,
0.004980168305337429,
0.053740307688713074,
0.0030677488539367914,
0.02121604233980179,
0.03128140792250633,
0.03774074837565422,
-0.01913294941186905,
-0.036830488592386246,
0.08178329467773438,
-0.002026202157139778,
0.01206093467772007,
-0.03171903267502785,
-0.018170174211263657,
-0.013933968730270863,
-0.03693551942706108,
0.023299135267734528,
-0.03275182843208313,
-0.018362730741500854,
-0.0389660969376564,
-0.026239974424242973,
0.038861069828271866,
0.06721914559602737,
0.009794039651751518,
-0.010634278878569603,
0.044777754694223404,
-0.03998138755559921,
-0.017837580293416977,
-0.029128296300768852,
0.015343120321631432,
0.04085663706064224,
-0.01584201119840145,
-0.0036104032769799232,
0.008524928241968155,
0.006135497707873583,
0.07457123696804047,
-0.011885885149240494,
0.086754709482193,
-0.01714613288640976,
0.023141590878367424,
-0.0382658988237381,
-0.022598937153816223,
0.010564259253442287,
0.018170174211263657,
0.05909683182835579,
0.010774319060146809,
-0.013181254267692566,
-0.026537558063864708,
-0.014546643011271954,
0.02674761787056923,
-0.051044538617134094,
-0.05535076558589935,
-0.024682030081748962,
-0.020305782556533813,
-0.0316840223968029,
0.025959894061088562,
0.061967648565769196,
0.012708619236946106,
-0.0013063095975667238,
0.02258143201470375,
0.046738311648368835,
-0.061897628009319305,
0.0038182749412953854,
0.01953556388616562,
0.018905384466052055,
0.06543363630771637,
0.02062087319791317,
0.025417238473892212,
-0.0027920452412217855,
0.009496455080807209,
0.01125570572912693,
-0.053075116127729416,
-0.048628851771354675,
-0.023369155824184418,
-0.010144139640033245,
0.053740307688713074,
-0.018415244296193123,
0.009461444802582264,
0.0021585836075246334,
-0.004848881158977747,
-0.0357101708650589,
-0.028620650991797447,
-0.013242521323263645,
0.037040550261735916,
-0.0009376108064316213,
0.044112563133239746,
0.020235763862729073,
-0.04750853031873703,
-0.0009523806511424482,
-0.04253711551427841,
0.014984267763793468,
-0.028148017823696136,
0.011745844967663288,
0.03998138755559921,
0.04677332192659378,
0.033382005989551544,
0.0004285986360628158,
0.011343230493366718,
0.07401107996702194,
0.015159317292273045,
-0.00256885658018291,
0.0019922861829400063,
-0.08423399180173874,
-0.009426434524357319,
-0.03499246761202812,
0.07464125752449036,
-0.018782850354909897,
0.03128140792250633,
-0.010844338685274124,
0.027780411764979362,
0.06984489411115646,
-0.006765677127987146,
-0.0550006665289402,
-0.027657877653837204,
-0.015719477087259293,
0.006481220945715904,
-0.004417820833623409,
-0.06770928204059601,
0.06686904281377792,
-0.03949124738574028,
-0.015947042033076286,
-0.012122202664613724,
-0.0634380653500557,
-0.01438909862190485,
-0.0801028162240982,
-0.035955239087343216,
-0.022091291844844818,
-0.05573587492108345,
-0.07569155842065811,
-0.07331088185310364,
0.027202747762203217,
0.008327997289597988,
0.02729027345776558,
-0.010441724210977554,
-0.008791878819465637,
-0.061827611178159714,
-0.00476573221385479,
-0.040401507169008255,
0.024086860939860344,
-0.007636549882590771,
0.02317660115659237,
0.001192527124658227,
0.07968269288539886,
0.00044555659405887127,
-0.028935741633176804,
0.06277287751436234,
-0.07296077907085419,
0.026309993118047714,
0.009120097383856773,
-0.002918956335633993,
0.01707611419260502,
-0.04890893027186394,
0.019185464829206467,
-0.017277421429753304,
-0.0026060547679662704,
-0.022966541349887848,
-0.013119987212121487,
-0.04012142866849899,
-0.048628851771354675,
0.006345557514578104,
-0.0062842899933457375,
0.017960114404559135,
-0.03133392333984375,
-0.006293042562901974,
-0.03341701626777649,
-0.03795081004500389,
-0.03201662003993988,
0.009697762317955494,
0.015456902794539928,
0.02223133109509945,
0.01738245040178299,
-0.002691391622647643,
0.026660094037652016,
0.05342521518468857,
0.01806514523923397,
-0.06056724861264229,
-0.005387159530073404,
-0.018345225602388382,
-0.026660094037652016,
0.039316195994615555,
-0.05230489745736122,
0.06889962404966354,
-0.00675692455843091,
-0.03495745733380318,
0.024156879633665085,
-0.06431331485509872,
0.037635717540979385,
0.028183026239275932,
-0.005938566289842129,
-0.0696348324418068,
-0.05860669165849686,
0.09158608317375183,
0.0816432535648346,
0.012157212942838669,
0.019167959690093994,
-0.010573010891675949,
0.024717040359973907,
-0.07366097718477249,
-0.014030246064066887,
-0.0462481714785099,
0.0028817583806812763,
0.03282184898853302,
-0.044182583689689636,
0.029233325272798538,
0.006888211704790592,
0.02074340730905533,
0.022528916597366333,
-0.0535302460193634,
0.03212164714932442,
0.03592022880911827,
-0.005711001344025135,
0.00476573221385479,
-0.04691336303949356,
0.08570440858602524,
0.031578995287418365,
0.013828938826918602,
0.04334234446287155,
-0.029145801439881325,
-0.05297008529305458,
-0.020305782556533813,
0.03490494191646576,
-0.011947153136134148,
-0.0750613808631897,
-0.02851562201976776,
-0.0615825392305851,
-0.00373950251378119,
-0.005623476579785347,
-0.008402393199503422,
0.020393308252096176,
0.02357921563088894
] |
730,057 | mmengine.config.config | items | Yield the keys and values of the dictionary.
If class attribute ``lazy`` is False, the value of ``LazyObject`` or
``LazyAttr`` will be built and returned.
| def items(self):
"""Yield the keys and values of the dictionary.
If class attribute ``lazy`` is False, the value of ``LazyObject`` or
``LazyAttr`` will be built and returned.
"""
items = []
for key, value in super().items():
items.append((key, self.build_lazy(value)))
return items
| (self) | [
0.013503062538802624,
-0.042181339114904404,
-0.03045830689370632,
-0.03998776525259018,
0.045201998203992844,
0.040671009570360184,
0.01887911558151245,
-0.0383695550262928,
0.11852488666772842,
-0.02094682864844799,
0.002244142582640052,
0.08407499641180038,
0.03934048116207123,
0.027419667690992355,
-0.014429038390517235,
-0.0002784107637125999,
0.00984411034733057,
0.027383707463741302,
-0.04315226525068283,
0.0037713281344622374,
0.000030745286494493484,
0.02306848205626011,
0.016298970207571983,
-0.018016070127487183,
-0.0242192093282938,
-0.015795527026057243,
-0.010608265176415443,
0.010788066312670708,
0.04491431638598442,
-0.022295337170362473,
-0.050092585384845734,
0.014015495777130127,
0.017998090013861656,
-0.0051872618496418,
0.008252870291471481,
-0.06609488278627396,
0.01999388262629509,
0.019220737740397453,
-0.040814850479364395,
0.03128539025783539,
0.06138409674167633,
-0.021162590011954308,
-0.044195111840963364,
-0.020371465012431145,
-0.0035196065437048674,
-0.02069510705769062,
0.06127621605992317,
0.01528309378772974,
0.04919357970356941,
-0.06864806264638901,
0.03506121411919594,
0.0041174450889229774,
0.02966718189418316,
-0.011120698414742947,
-0.025010332465171814,
0.04196557775139809,
-0.018717294558882713,
0.004733263980597258,
-0.0358523391187191,
0.10356543213129044,
-0.006742541212588549,
-0.034575752913951874,
-0.000996210495941341,
-0.06328998506069183,
0.018052030354738235,
-0.05246596038341522,
-0.0414980947971344,
-0.0019485944649204612,
-0.004148910287767649,
-0.03667942434549332,
-0.019868021830916405,
-0.00375110050663352,
0.009916030801832676,
0.04829457774758339,
-0.0188431553542614,
-0.014671769924461842,
-0.03919664025306702,
-0.003202707041054964,
0.07932824641466141,
-0.04538179934024811,
-0.032508037984371185,
-0.029325559735298157,
-0.0685761421918869,
-0.0013900873018428683,
-0.055270858108997345,
-0.007776397746056318,
0.0018272286979481578,
-0.025190133601427078,
0.020874908193945885,
0.09759604185819626,
-0.04667636752128601,
0.10831218212842941,
-0.003193716984242201,
0.05016450583934784,
-0.043727628886699677,
-0.00057143036974594,
0.008297820575535297,
0.04045524820685387,
-0.032508037984371185,
0.05379648879170418,
0.017953140661120415,
-0.036787305027246475,
0.013125480152666569,
0.03374866768717766,
-0.01616411842405796,
-0.05483933538198471,
-0.014267217367887497,
-0.029433440417051315,
0.05983780696988106,
0.006005357019603252,
-0.025441855192184448,
-0.008643938228487968,
0.011012817732989788,
0.04739557206630707,
-0.019724180921912193,
-0.020083783194422722,
-0.006315513513982296,
-0.028192812576889992,
0.017045143991708755,
0.005641259718686342,
-0.04487835615873337,
0.010410483926534653,
-0.04329610615968704,
0.05807575583457947,
0.008347266353666782,
0.01868133433163166,
0.02290666103363037,
-0.023895567283034325,
0.008594492450356483,
0.03324522450566292,
0.018915075808763504,
0.0033577855210751295,
-0.008252870291471481,
-0.022475138306617737,
0.03042234666645527,
-0.07156083732843399,
0.08328387141227722,
-0.023446064442396164,
0.026161059737205505,
0.07335884869098663,
-0.004778214264661074,
-0.004652353469282389,
-0.025549735873937607,
0.055414699018001556,
0.00741679547354579,
-0.07774599641561508,
0.03858531638979912,
0.07652334868907928,
0.019400538876652718,
-0.03732670843601227,
0.026107119396328926,
0.039052799344062805,
0.037650350481271744,
0.05145907402038574,
-0.022636959329247475,
0.003625239711254835,
-0.05645754560828209,
-0.04405127093195915,
-0.028390593826770782,
-0.05483933538198471,
-0.03056618757545948,
0.027203906327486038,
-0.037290748208761215,
-0.010275633074343204,
-0.0010141906095668674,
0.038801077753305435,
0.03808187320828438,
-0.07702679187059402,
0.02975708246231079,
0.03631982207298279,
-0.014572879299521446,
-0.08263658732175827,
-0.002526205498725176,
0.01183091290295124,
0.019724180921912193,
0.035636577755212784,
-0.00916985608637333,
0.01662261225283146,
0.02094682864844799,
0.04728769138455391,
-0.002227286109700799,
-0.02995486371219158,
-0.04879802092909813,
-0.03826167434453964,
0.02357192523777485,
0.003016163595020771,
0.038908958435058594,
0.020173683762550354,
0.04351186752319336,
0.025154173374176025,
-0.021090669557452202,
-0.017512626945972443,
-0.0001177837693830952,
-0.04336802661418915,
-0.02200765535235405,
0.01324235089123249,
-0.05908264219760895,
-0.005605299491435289,
-0.04110253229737282,
0.05976588651537895,
-0.08731141686439514,
-0.054371852427721024,
-0.016155129298567772,
-0.017548587173223495,
-0.008028118871152401,
0.011219589039683342,
-0.0254778154194355,
-0.05447973310947418,
0.009322687052190304,
0.008545047603547573,
-0.026430761441588402,
0.005861516110599041,
-0.01585845649242401,
0.01636189967393875,
0.018052030354738235,
-0.04894186183810234,
0.017917180433869362,
-0.030602147802710533,
-0.06462051719427109,
-0.01006886176764965,
0.044950276613235474,
0.00613121734932065,
0.013557002879679203,
-0.020982788875699043,
0.03529495745897293,
-0.034072309732437134,
-0.010446444153785706,
-0.03599618002772331,
-0.04602908343076706,
0.0025644132401794195,
0.021576132625341415,
0.006917847320437431,
-0.0007096524932421744,
0.015543805435299873,
0.058687079697847366,
0.025459835305809975,
0.012873758561909199,
-0.016550691798329353,
0.015274103730916977,
0.045597560703754425,
-0.0007360607851296663,
0.054767414927482605,
-0.020623186603188515,
0.006589710246771574,
-0.04815073683857918,
0.032310258597135544,
0.005668229889124632,
0.05965800583362579,
0.0034139733761548996,
0.037902072072029114,
-0.004157900344580412,
0.0047692242078483105,
0.00532660773023963,
0.011750002391636372,
0.010554324835538864,
-0.060449130833148956,
0.01878921501338482,
-0.003605012083426118,
-0.012190515175461769,
-0.017890209332108498,
0.019508419558405876,
0.026017218828201294,
-0.03531293570995331,
0.08774293959140778,
0.018114961683750153,
0.02603519894182682,
0.05207039788365364,
-0.0007180806715041399,
-0.07515686005353928,
0.06836038082838058,
0.06523183733224869,
-0.005542369093745947,
-0.0033353103790432215,
-0.014438028447329998,
0.002663303865119815,
0.02759946882724762,
0.013835694640874863,
-0.0016856353031471372,
-0.07623566687107086,
-0.004144415259361267,
-0.02648470178246498,
-0.0022621226962655783,
-0.01873527467250824,
-0.03006274439394474,
-0.0076595270074903965,
-0.049876824021339417,
-0.056529466062784195,
0.04351186752319336,
0.0016474275616928935,
0.00936763733625412,
0.049876824021339417,
-0.006234603002667427,
0.018573453649878502,
-0.03193267434835434,
0.03162701427936554,
-0.04764729365706444,
-0.03934048116207123,
0.014060446061193943,
-0.01135443989187479,
0.0033465479500591755,
0.07112931460142136,
0.0076595270074903965,
-0.03721882775425911,
0.03011668473482132,
0.009331677109003067,
0.012334355153143406,
0.024183249101042747,
0.03056618757545948,
-0.04577736184000969,
0.010284623131155968,
-0.023697786033153534,
0.009529458358883858,
0.05368860810995102,
0.04326014593243599,
-0.07051799446344376,
-0.07688295096158981,
-0.05052410811185837,
0.003216192126274109,
0.024902451783418655,
0.02528003416955471,
-0.08148586004972458,
0.016649581491947174,
-0.018366683274507523,
0.012469206005334854,
-0.007713467348366976,
0.044626634567976,
0.046101003885269165,
0.0355466790497303,
0.014195296913385391,
-0.008028118871152401,
-0.00788427796214819,
-0.00004923459709971212,
-0.017917180433869362,
0.067281574010849,
-0.03428807109594345,
0.0691155418753624,
0.04228921979665756,
0.02139633148908615,
0.01402448583394289,
-0.1106136366724968,
-0.014447018504142761,
-0.0317348949611187,
-0.04178577661514282,
0.0003902245662175119,
-0.04441087320446968,
-0.04110253229737282,
0.03511515632271767,
-0.016280990093946457,
0.07220812141895294,
-0.034521810710430145,
0.01576855592429638,
-0.043835509568452835,
0.035780418664216995,
0.03304744139313698,
0.041318293660879135,
-0.011489290744066238,
-0.010779076255857944,
-0.03570849820971489,
-0.010167752392590046,
0.025208113715052605,
0.07267560809850693,
0.00338700320571661,
-0.047611333429813385,
0.004443334881216288,
0.03187873587012291,
-0.030152644962072372,
0.008140495046973228,
0.00866641290485859,
0.02225937694311142,
-0.037039026618003845,
-0.0007939342176541686,
0.024614769965410233,
-0.01818688213825226,
0.003616249654442072,
0.012550116516649723,
-0.07141699641942978,
0.0047916993498802185,
0.03594224154949188,
-0.024938412010669708,
0.07177659869194031,
0.019975902512669563,
-0.025298014283180237,
0.0254778154194355,
0.008180949836969376,
-0.006742541212588549,
-0.012729917652904987,
0.07472533732652664,
-0.01017674244940281,
0.025549735873937607,
-0.009183341637253761,
-0.020731067284941673,
-0.02583741769194603,
-0.07379037141799927,
0.026628542691469193,
-0.025351954624056816,
-0.08587300777435303,
0.07289136946201324,
-0.05681714788079262,
-0.0010035148588940501,
-0.029775062575936317,
0.05857919901609421,
-0.04002372547984123,
0.012199505232274532,
-0.02849847450852394,
-0.0030835887882858515,
-0.09040399640798569,
0.027563508599996567,
-0.04336802661418915,
0.03565455973148346,
-0.028480494394898415,
0.02080298773944378,
-0.01717999577522278,
-0.04221729934215546,
-0.06494415551424026,
0.07177659869194031,
-0.0817016214132309,
-0.020371465012431145,
0.01208263449370861,
-0.001992420991882682,
0.04164193570613861,
0.04405127093195915,
-0.02376970648765564,
-0.028264733031392097,
-0.0042050983756780624,
-0.021162590011954308,
0.011219589039683342,
-0.007906753569841385,
-0.005133321508765221,
0.03178883343935013,
-0.00764154689386487,
0.01012280210852623,
-0.021270470693707466,
-0.056169863790273666,
-0.022780800238251686,
0.01797112077474594,
-0.03428807109594345,
-0.011974753811955452,
-0.04351186752319336,
-0.018951036036014557,
0.012577086687088013,
-0.028570394963026047,
0.009358647279441357,
0.051243312656879425,
0.007843823172152042,
0.08436267822980881,
-0.010104821994900703,
-0.009205816313624382,
0.025459835305809975,
0.11133284121751785,
-0.009035005234181881,
0.007893268018960953,
0.007367350161075592,
0.0653037577867508,
-0.017449697479605675,
0.011300499550998211,
0.0427926629781723,
-0.019472459331154823,
-0.02905585803091526,
-0.0254778154194355,
0.024488909170031548,
0.04128233343362808,
-0.009466527961194515,
0.0139975156635046,
-0.0402754470705986,
-0.013062549754977226,
-0.03480949252843857,
-0.03355088457465172,
0.05041622743010521,
-0.05509105697274208,
-0.011471310630440712,
0.011848893016576767,
0.016505740582942963,
-0.012406275607645512,
-0.10982251167297363,
-0.02064116671681404,
-0.001127690076828003,
-0.004023049492388964,
0.02639480121433735,
-0.047863055020570755,
-0.09752412140369415,
0.022223416715860367,
-0.025064272806048393,
0.03797399252653122,
-0.02866029553115368,
-0.0002445575955789536,
0.002355394419282675,
0.012810828164219856,
-0.0037443579640239477,
0.004335454199463129,
0.018213851377367973,
-0.0077853878028690815,
0.017045143991708755,
-0.01040149386972189,
0.0317348949611187,
0.04732365161180496,
0.01059927511960268,
0.005196251906454563,
0.03133933246135712,
0.014536919072270393,
-0.0023216817062348127,
-0.026826323941349983,
-0.004443334881216288,
0.07228004187345505,
0.0742218941450119,
-0.024111328646540642,
-0.0010546458652243018,
0.013691853731870651,
0.0014575127279385924,
0.01085099671036005,
-0.043943390250205994,
0.040814850479364395,
-0.004425354767590761,
-0.02875019609928131,
-0.02779725007712841,
0.020533286035060883,
-0.06695792824029922,
-0.04455471411347389,
0.0276534091681242,
-0.03389250859618187,
0.007515686098486185,
0.031249431893229485,
0.012720927596092224,
-0.004216335713863373,
0.010815036483108997,
-0.04764729365706444,
0.023248283192515373,
-0.00040174307650886476,
-0.017503637820482254,
0.008095544762909412,
0.03448585048317909,
0.030026784166693687,
-0.05056006833910942,
0.007205529138445854,
0.04405127093195915,
-0.052501920610666275,
0.0019249955657869577,
0.0009085574420168996,
-0.003593774512410164,
-0.005286152474582195,
0.055162977427244186,
0.06677813082933426,
0.06382939219474792,
0.07188448309898376,
0.029019897803664207,
0.039304520934820175,
-0.004836649633944035,
-0.03579840064048767,
-0.0024700176436454058,
-0.031087610870599747,
-0.025459835305809975,
-0.031141551211476326,
-0.025855397805571556,
-0.023805666714906693,
-0.06760521233081818,
0.0062750582583248615,
-0.04638868570327759,
0.03137529268860817,
-0.058147676289081573,
-0.051495034247636795,
0.028714235872030258,
0.06688600778579712,
0.01558875571936369,
-0.07062587141990662,
0.0006444745813496411,
-0.0305122472345829,
0.022331297397613525,
0.0012642265064641833,
0.0855134055018425,
-0.009691279381513596,
0.01231637503951788,
0.01923871785402298,
0.015399964526295662,
-0.01059927511960268,
0.0627865418791771,
0.037794191390275955,
0.03919664025306702,
-0.018897095695137978,
0.0052726673893630505,
0.0003424649185035378,
-0.07188448309898376,
0.009943000972270966,
0.019526399672031403,
0.026250960305333138,
-0.007578616496175528,
-0.011147668585181236,
0.0015800021355971694,
-0.014635809697210789,
0.06239098310470581,
-0.00045062651042826474,
-0.02225937694311142,
0.011174638755619526,
0.0003553881251718849,
-0.021414311602711678,
-0.008234890177845955,
0.010140782222151756,
-0.058687079697847366,
-0.01352104265242815,
0.012810828164219856,
-0.07429381459951401,
-0.03506121411919594,
-0.009835120290517807,
0.041066572070121765,
0.022852720692753792,
0.049984704703092575,
-0.01909487694501877,
-0.058543238788843155,
0.023841626942157745,
0.022636959329247475,
-0.0017305855872109532,
0.01208263449370861,
-0.08206122368574142,
-0.03000880405306816,
0.03667942434549332,
0.0012372563360258937,
0.002618353581055999,
-0.012972649186849594,
-0.026268940418958664,
-0.0015429181512445211,
0.027455627918243408,
-0.020083783194422722,
-0.042828623205423355,
-0.036589525640010834,
-0.020677126944065094,
0.06569932401180267,
-0.013781754299998283,
-0.055019136518239975,
0.028894037008285522,
-0.04095869138836861,
0.019814081490039825,
-0.02774330973625183,
0.013341241516172886,
0.015795527026057243,
0.039412401616573334,
0.009637339040637016,
-0.021432291716337204,
0.041677895933389664,
0.010140782222151756,
0.030692048370838165,
-0.022025635465979576,
-0.032813701778650284,
-0.014114386402070522,
-0.01934659853577614,
-0.039160680025815964,
0.024057388305664062,
-0.03266986086964607,
0.002856590086594224,
-0.03984392434358597,
0.013467102311551571,
0.0780336782336235,
-0.03042234666645527,
0.003796050790697336,
0.0027262342628091574,
-0.013485082425177097,
0.029127778485417366,
-0.025298014283180237,
-0.029721122235059738,
0.03329916298389435,
-0.0336407870054245,
-0.0016092198202386498,
0.010815036483108997,
-0.011183628812432289,
-0.005492923781275749,
-0.04038332775235176,
-0.03637376427650452,
0.047467492520809174,
0.0038971889298409224,
-0.051099471747875214,
0.015040362253785133,
0.013305281288921833,
0.017899200320243835,
0.020515305921435356,
0.03624790161848068,
0.002476760186254978,
-0.04617292433977127,
-0.005964901763945818,
0.016892313957214355,
-0.006729056127369404,
0.009996941313147545,
0.06023336946964264,
0.010302603244781494,
0.01558875571936369,
-0.03786611184477806,
-0.028624335303902626,
0.055162977427244186,
-0.0484384186565876,
-0.04541775956749916,
-0.014986421912908554,
-0.001715976744890213,
-0.029091818258166313,
-0.04581332206726074,
0.03392846882343292,
-0.0358523391187191,
0.02483053132891655,
0.010743116028606892,
-0.008900154381990433,
0.009907040745019913,
0.004980490542948246,
-0.02729380689561367,
0.06699389219284058,
0.004931045230478048,
-0.007057193201035261,
0.01904093660414219,
0.017890209332108498,
-0.008216910064220428,
-0.0052951425313949585,
0.021773913875222206,
0.01999388262629509,
0.030656088143587112,
0.031105590984225273,
0.05221423879265785,
0.0254778154194355,
0.09730836004018784,
-0.030350426211953163,
-0.056529466062784195,
0.02961324155330658,
-0.048977818340063095,
0.031087610870599747,
0.007106638513505459,
-0.00783483311533928,
0.048366498202085495,
0.015148242935538292,
-0.001232761307619512,
-0.00019862402405124158,
0.03367674723267555,
0.012037684209644794,
0.05167483538389206,
-0.003964614123106003,
-0.002820629859343171,
-0.04732365161180496,
0.03313734382390976,
0.04023948684334755,
-0.0213603712618351,
-0.041318293660879135,
0.006090762559324503,
0.013862664811313152,
-0.012640017084777355,
-0.03178883343935013,
0.024650730192661285,
-0.02145027182996273,
0.025315994396805763,
-0.026250960305333138,
0.011848893016576767,
0.027887150645256042,
0.07659526914358139,
-0.023194342851638794,
-0.07688295096158981,
0.05207039788365364,
0.013485082425177097,
-0.01747666671872139,
0.005268172360956669,
-0.004387146793305874,
0.10263046622276306,
-0.010113812051713467,
0.007353865075856447,
0.051135431975126266,
-0.00858999788761139,
-0.03191469609737396,
-0.07889672368764877,
-0.03657154366374016,
-0.03338906541466713,
-0.05634966492652893,
-0.053652647882699966,
-0.018699314445257187,
0.014132366515696049,
-0.011165648698806763,
0.002193573396652937,
0.054767414927482605,
-0.01682039350271225
] |
730,058 | mmengine.config.config | merge | Merge another dictionary into current dictionary.
Args:
other (dict): Another dictionary.
| def merge(self, other: dict):
"""Merge another dictionary into current dictionary.
Args:
other (dict): Another dictionary.
"""
default = object()
def _merge_a_into_b(a, b):
if isinstance(a, dict):
if not isinstance(b, dict):
a.pop(DELETE_KEY, None)
return a
if a.pop(DELETE_KEY, False):
b.clear()
all_keys = list(b.keys()) + list(a.keys())
return {
key:
_merge_a_into_b(a.get(key, default), b.get(key, default))
for key in all_keys if key != DELETE_KEY
}
else:
return a if a is not default else b
merged = _merge_a_into_b(copy.deepcopy(other), copy.deepcopy(self))
self.clear()
for key, value in merged.items():
self[key] = value
| (self, other: dict) | [
-0.01693090610206127,
-0.02401212975382805,
-0.025311609730124474,
0.011949565261602402,
-0.048626918345689774,
-0.02789173647761345,
-0.06068006530404091,
-0.03970005363225937,
0.0713018998503685,
-0.04128203168511391,
-0.03271299600601196,
-0.06885360181331635,
0.003931397572159767,
0.062073707580566406,
-0.022882146760821342,
0.005037839058786631,
0.0074484683573246,
0.05152720585465431,
0.01859762892127037,
-0.034709297120571136,
0.054804153740406036,
-0.036253608763217926,
-0.0015419553965330124,
0.026761753484606743,
-0.03644193708896637,
-0.046027958393096924,
-0.03141351416707039,
0.009557769633829594,
-0.006789311766624451,
0.058985091745853424,
0.036423105746507645,
-0.04994523152709007,
0.01238272525370121,
0.03711992874741554,
0.005438040941953659,
-0.049380239099264145,
0.0032275128178298473,
0.09160391986370087,
-0.030999189242720604,
0.0041950601153075695,
-0.02124367281794548,
-0.02640392631292343,
-0.0061960709281265736,
-0.02913471683859825,
0.056122466921806335,
0.014143615029752254,
-0.03084852360188961,
0.050434887409210205,
0.05487948656082153,
-0.018607046455144882,
0.015942171216011047,
-0.01695915497839451,
-0.03683743253350258,
0.04075470566749573,
-0.06350502371788025,
0.026422759518027306,
-0.00784396193921566,
0.005729953292757273,
-0.04226134717464447,
0.021978160366415977,
-0.0194733664393425,
-0.05258185416460037,
-0.058231767266988754,
-0.03248699754476547,
-0.02226065658032894,
-0.021168339997529984,
-0.055143147706985474,
-0.01656366139650345,
0.03192200884222984,
-0.001923324540257454,
-0.019322702661156654,
0.012062563560903072,
-0.021356670185923576,
0.015838589519262314,
-0.002261142246425152,
0.08369404077529907,
-0.02212882600724697,
-0.011167994700372219,
0.04180935397744179,
-0.04034037888050079,
0.03194084018468857,
-0.06535065919160843,
-0.06286469846963882,
0.027929402887821198,
0.032675329595804214,
0.04455897957086563,
0.014237780123949051,
0.0066433558240532875,
0.043428998440504074,
-0.02939837984740734,
-0.005183795001357794,
0.046555280685424805,
-0.007895752787590027,
-0.039549391716718674,
0.033296819776296616,
0.007895752787590027,
-0.03167717903852463,
0.015188849531114101,
-0.031357016414403915,
-0.013427959755063057,
-0.027025416493415833,
-0.02877688966691494,
0.00418799789622426,
-0.025725936517119408,
0.018456382676959038,
-0.030114036053419113,
0.046479951590299606,
-0.01604575291275978,
-0.018785960972309113,
0.01665782555937767,
-0.06282702833414078,
-0.05442749336361885,
-0.03314615413546562,
0.03088619001209736,
0.016328247264027596,
-0.03054719604551792,
-0.03371114656329155,
0.01595158688724041,
-0.007702714763581753,
0.008672616444528103,
-0.012316809967160225,
0.0805300921201706,
0.017825474962592125,
-0.012627555057406425,
0.019162621349096298,
-0.02348480373620987,
0.004411640111356974,
0.0016325893811881542,
0.002108123851940036,
0.01693090610206127,
-0.0142754465341568,
-0.018880125135183334,
-0.01986886002123356,
-0.022411320358514786,
0.08181073516607285,
-0.055858805775642395,
-0.06678196787834167,
0.04064170643687248,
0.03988838568329811,
0.016864990815520287,
0.01969936303794384,
-0.06723396480083466,
0.03749658912420273,
0.03167717903852463,
-0.05729011818766594,
-0.0004928960697725415,
0.011836567893624306,
0.006855227518826723,
0.002441233256831765,
-0.005720536690205336,
-0.01772189326584339,
0.061810046434402466,
-0.026761753484606743,
0.030132869258522987,
-0.046479951590299606,
0.001214731251820922,
-0.023032810539007187,
-0.03393714502453804,
-0.01797613874077797,
0.0030509529169648886,
0.018230386078357697,
0.03909739851951599,
0.03282599523663521,
-0.04873991385102272,
-0.026780586689710617,
-0.013936451636254787,
0.064710333943367,
-0.024708952754735947,
0.03534962236881256,
0.007067099213600159,
-0.01055592019110918,
-0.03344748541712761,
0.04380565881729126,
0.005075505003333092,
0.030132869258522987,
0.054804153740406036,
-0.06060473248362541,
-0.031055686995387077,
0.01675199158489704,
-0.0024094523396342993,
0.03785441443324089,
-0.01992535963654518,
0.02062218263745308,
-0.01121507678180933,
0.00934589747339487,
-0.042374346405267715,
0.01516059972345829,
0.0043739741668105125,
0.03314615413546562,
0.01322079636156559,
0.04610328748822212,
-0.017966723069548607,
-0.010198093019425869,
0.014718023128807545,
0.008168832398951054,
-0.004807134158909321,
-0.049116574227809906,
-0.022731482982635498,
0.017241651192307472,
0.12753736972808838,
-0.08625533431768417,
-0.03610294312238693,
0.03167717903852463,
-0.01616816781461239,
0.026064930483698845,
-0.026328593492507935,
0.018437549471855164,
0.0033051990903913975,
-0.006925851572304964,
-0.00879503134638071,
-0.00042492052307352424,
-0.019906526431441307,
0.009774349629878998,
0.005998324137181044,
0.01930386945605278,
-0.043692659586668015,
-0.005588705651462078,
0.011506989598274231,
-0.04674361273646355,
-0.01110207848250866,
0.04222368076443672,
-0.04015204682946205,
0.0032863658852875233,
0.052544187754392624,
-0.007180097512900829,
0.01547134481370449,
-0.017778392881155014,
-0.010913748294115067,
0.006888185627758503,
-0.011450489982962608,
0.03785441443324089,
-0.04410698637366295,
-0.03124401904642582,
-0.029172383248806,
0.06648064404726028,
-0.0427510067820549,
-0.014567358419299126,
-0.07149022817611694,
0.03988838568329811,
-0.01353154145181179,
0.008060541935265064,
0.007001183461397886,
0.044973306357860565,
0.009016319178044796,
-0.021036509424448013,
-0.049380239099264145,
0.009812015108764172,
0.019492199644446373,
0.027797570452094078,
0.015527843497693539,
0.0005714651197195053,
-0.005240294151008129,
-0.008102917112410069,
0.05337284505367279,
0.016158750280737877,
-0.0025636479258537292,
-0.017825474962592125,
-0.015885671600699425,
-0.02696891687810421,
-0.022448986768722534,
0.06832627952098846,
-0.0017173381056636572,
-0.046253953129053116,
0.04324066638946533,
-0.06226203963160515,
-0.014021200127899647,
0.03081085905432701,
-0.021300170570611954,
-0.011243326589465141,
-0.013964701443910599,
0.08354337513446808,
-0.05126354098320007,
0.03508595749735832,
-0.03022703342139721,
0.0015454866224899888,
0.060830727219581604,
0.0008716167649254203,
0.001669078366830945,
-0.013296128250658512,
-0.04327833279967308,
0.03595227748155594,
-0.04052870720624924,
-0.012269727885723114,
-0.04840091988444328,
-0.022147659212350845,
0.0453876331448555,
-0.05265718698501587,
-0.0596630796790123,
0.0002621912572067231,
-0.03467163071036339,
0.03776025027036667,
0.008013459853827953,
-0.0017679518787190318,
0.08233806490898132,
-0.024671286344528198,
-0.007608549203723669,
-0.03203500434756279,
-0.027251413092017174,
0.04260034114122391,
0.004089124500751495,
0.01864471286535263,
0.008432495407760143,
0.060039740055799484,
0.04064170643687248,
0.0074484683573246,
-0.050434887409210205,
0.07164089381694794,
-0.010584169998764992,
-0.0017879620427265763,
0.04169635847210884,
-0.04233667999505997,
0.0304906964302063,
0.040302712470293045,
0.040076714009046555,
0.0004808311350643635,
-0.050698552280664444,
-0.006803436670452356,
-0.007829837501049042,
-0.008554909378290176,
0.01244864147156477,
-0.04226134717464447,
0.010923164896667004,
-0.05133887380361557,
-0.021394336596131325,
-0.005569872446358204,
-0.06817561388015747,
0.05077388510107994,
0.05589647218585014,
0.052544187754392624,
0.02881455607712269,
-0.02128133922815323,
-0.0441446527838707,
0.03420080617070198,
0.03192200884222984,
-0.04583962634205818,
-0.005833534989506006,
0.00850311852991581,
-0.018042055889964104,
0.02789173647761345,
-0.015603176318109035,
0.011958981864154339,
0.0004923075321130455,
0.005066088400781155,
-0.06802494823932648,
0.002709604101255536,
-0.006346735637634993,
0.046291619539260864,
-0.000282642780803144,
-0.006516232620924711,
-0.05341050773859024,
-0.027044249698519707,
0.03890906646847725,
0.04015204682946205,
-0.010876081883907318,
0.029982203617691994,
-0.004536409396678209,
-0.00962839275598526,
-0.05657446011900902,
0.045764293521642685,
-0.0239744633436203,
0.029097050428390503,
0.04380565881729126,
-0.04113136604428291,
-0.01509468350559473,
0.024878449738025665,
0.029228882864117622,
-0.06226203963160515,
-0.0441446527838707,
-0.09250790625810623,
-0.0726955458521843,
0.03508595749735832,
-0.0609060600399971,
0.038984399288892746,
0.014218946918845177,
0.04222368076443672,
0.02472778595983982,
-0.07977677136659622,
0.06124505400657654,
-0.02749624289572239,
0.012410975061357021,
0.03640427067875862,
0.005913575645536184,
-0.027251413092017174,
0.0071377232670784,
0.020339686423540115,
-0.032317500561475754,
0.03751542046666145,
-0.05808110535144806,
0.05032189190387726,
0.05642379820346832,
-0.018089137971401215,
-0.01275938656181097,
0.039813052862882614,
0.06587798148393631,
-0.08693332225084305,
-0.001262990990653634,
-0.046555280685424805,
-0.01291005127131939,
-0.023522470146417618,
-0.009576601907610893,
0.08859063684940338,
-0.028927553445100784,
0.027797570452094078,
-0.011601154692471027,
0.02860739268362522,
-0.030415363609790802,
0.002429462503641844,
-0.019021373242139816,
-0.00015581400657538325,
0.038532406091690063,
-0.01577267423272133,
-0.019548699259757996,
-0.02440762333571911,
0.05495481938123703,
0.007354303263127804,
-0.04120669886469841,
0.05649912729859352,
-0.006845810916274786,
0.009642518125474453,
0.08324205130338669,
0.0200948566198349,
0.017957305535674095,
-0.06519999355077744,
0.025499939918518066,
0.0072271800599992275,
-0.04425765201449394,
-0.056122466921806335,
0.006502108182758093,
-0.041621025651693344,
-0.038099244236946106,
0.03502945974469185,
-0.036328937858343124,
0.03403130918741226,
0.004218601621687412,
0.01438844483345747,
0.033692315220832825,
0.06188537925481796,
-0.019887693226337433,
0.03966238722205162,
0.06715863198041916,
0.007005891762673855,
-0.0006438546697609127,
0.005470999050885439,
0.0010840770555660129,
-0.04971923306584358,
-0.02499144710600376,
-0.012288560159504414,
0.01838104985654354,
-0.004868341609835625,
0.020697513595223427,
0.06757295876741409,
0.04067937284708023,
-0.007161264773458242,
0.010405256412923336,
-0.040076714009046555,
-0.044219985604286194,
0.019237954169511795,
-0.003580632386729121,
-0.03452096879482269,
0.04116903245449066,
0.01687440648674965,
-0.007542633451521397,
0.02124367281794548,
0.042864006012678146,
-0.04180935397744179,
0.02322114259004593,
0.03495412692427635,
0.007712130900472403,
-0.03768491744995117,
0.019416866824030876,
-0.005452165845781565,
-0.04071703925728798,
-0.0285508930683136,
-0.025669436901807785,
-0.03081085905432701,
-0.01969936303794384,
0.05729011818766594,
-0.02226065658032894,
-0.02630976028740406,
0.0005761734209954739,
-0.0024883158039301634,
-0.029247716069221497,
-0.018192719668149948,
-0.033428650349378586,
0.01869179494678974,
-0.014774521812796593,
0.045010972768068314,
0.035236623138189316,
0.04222368076443672,
0.06968225538730621,
-0.03114985302090645,
-0.020772846415638924,
-0.07439051568508148,
-0.0020186668261885643,
0.005075505003333092,
-0.009270565584301949,
-0.04331599920988083,
0.034878794103860855,
0.0414326936006546,
-0.055595140904188156,
0.0022976312320679426,
-0.020000692456960678,
-0.02226065658032894,
0.056951120495796204,
0.010254591703414917,
0.020735180005431175,
-0.029549043625593185,
0.01110207848250866,
-0.03702576085925102,
-0.006012449041008949,
-0.0480242595076561,
-0.022185323759913445,
0.04098070040345192,
0.029097050428390503,
0.043428998440504074,
-0.05868376046419144,
-0.03936105966567993,
-0.00973668321967125,
0.034972961992025375,
-0.058985091745853424,
0.00795696023851633,
0.048626918345689774,
0.01586683839559555,
-0.03909739851951599,
-0.055858805775642395,
0.020961176604032516,
0.02525511011481285,
0.03495412692427635,
-0.0025353983510285616,
-0.036328937858343124,
-0.053561173379421234,
-0.03644193708896637,
-0.011120911687612534,
0.006779895629733801,
0.029078219085931778,
0.045236967504024506,
-0.03531195595860481,
-0.03806157782673836,
-0.03405014052987099,
-0.039285726845264435,
0.03766608610749245,
0.03992605209350586,
0.04583962634205818,
-0.019360367208719254,
-0.005400374997407198,
0.06030340492725372,
-0.02759040705859661,
0.0032110337633639574,
0.031978506594896317,
0.017599478363990784,
-0.05608480051159859,
0.006294944789260626,
0.034746963530778885,
0.04075470566749573,
-0.01678965799510479,
-0.06041640043258667,
-0.044219985604286194,
-0.040039047598838806,
0.08173540234565735,
0.03883373364806175,
0.05152720585465431,
0.025311609730124474,
0.01401178352534771,
-0.0014960498083382845,
-0.021319003775715828,
0.029454879462718964,
-0.03269416093826294,
0.0804547592997551,
-0.017260484397411346,
0.06761062145233154,
-0.0022882146295160055,
0.03840057551860809,
-0.05337284505367279,
-0.06199837848544121,
-0.010951414704322815,
0.030208200216293335,
-0.03169601038098335,
0.03455863520503044,
-0.04218601435422897,
-0.01838104985654354,
-0.053259845823049545,
0.021093007177114487,
0.05619779974222183,
-0.014237780123949051,
0.002690770896151662,
-0.005824118386954069,
-0.06169704720377922,
0.027741072699427605,
0.08467335999011993,
-0.008192373439669609,
-0.05608480051159859,
0.04813725873827934,
0.005885325837880373,
-0.013296128250658512,
0.00837599579244852,
0.00877148937433958,
-0.01310779806226492,
-0.009378855116665363,
-0.03261883184313774,
-0.06681963801383972,
0.023861465975642204,
-0.05499248579144478,
-0.022222990170121193,
0.03785441443324089,
-0.014567358419299126,
-0.0060595315881073475,
0.0001106441268348135,
0.01700623705983162,
0.013409126549959183,
-0.0207163468003273,
0.00976493302732706,
-0.015066434629261494,
0.06418301165103912,
-0.023371806368231773,
0.02943604625761509,
-0.04037804529070854,
-0.035895779728889465,
-0.08361870795488358,
-0.010452338494360447,
-0.008507827296853065,
-0.04098070040345192,
0.0005337990587577224,
-0.051941532641649246,
0.025349276140332222,
-0.05943708494305611,
-0.004755343310534954,
-0.019398033618927002,
0.031262852251529694,
-0.028400229290127754,
0.05657446011900902,
-0.009830848313868046,
-0.06425834447145462,
0.05762911215424538,
0.02630976028740406,
0.003215742064639926,
0.020000692456960678,
0.034351471811532974,
0.03749658912420273,
-0.021224839612841606,
0.07277087867259979,
0.029492545872926712,
-0.022091159597039223,
-0.008051126264035702,
0.008630242198705673,
-0.09386388212442398,
-0.00973668321967125,
-0.03864540532231331,
0.0032675329130142927,
0.007829837501049042,
0.0008792676962912083,
-0.008253580890595913,
0.007283679209649563,
0.013249045237898827,
-0.014379028230905533,
-0.03808041289448738,
-0.005664037540555,
0.03482229635119438,
-0.026855919510126114,
0.01859762892127037,
0.01960519701242447,
-0.018880125135183334,
-0.008634950034320354,
-0.03325915336608887,
0.006685730069875717,
0.05288318544626236,
-0.024840783327817917,
-0.04640461876988411,
-0.011045579798519611,
0.07310987263917923,
0.027533909305930138,
0.004482264164835215,
-0.01859762892127037,
-0.05902275815606117,
0.009435354731976986,
-0.061056725680828094,
-0.0356132835149765,
0.024577120319008827,
0.02670525386929512,
0.03947405889630318,
-0.016902655363082886,
0.08113274723291397,
0.059738412499427795,
-0.011441073380410671,
0.01024517510086298,
-0.028833389282226562,
0.07819479703903198,
0.010678335092961788,
0.00749084260314703,
-0.033955976366996765,
-0.008197082206606865,
0.038946732878685,
-0.05348584055900574,
0.007359011564403772,
0.014492026530206203,
-0.0441446527838707,
0.009783766232430935,
-0.03075435943901539,
-0.08693332225084305,
-0.04553829878568649,
0.006944684777408838,
0.04474731162190437,
-0.00960956048220396,
0.023145809769630432,
-0.0505855530500412,
-0.0034205513074994087,
0.002638980047777295,
-0.046781279146671295,
0.04324066638946533,
0.06508699804544449,
0.010951414704322815,
0.009449479170143604,
0.07457885146141052,
0.012966549955308437,
-0.01966169662773609,
0.04312766715884209,
0.04979456588625908,
-0.03401247411966324,
-0.021883996203541756,
-0.011403407901525497,
0.014379028230905533,
-0.0005555747775360942,
0.03883373364806175,
0.07118890434503555,
0.0033946558833122253,
0.040830038487911224,
0.026385093107819557,
0.054804153740406036,
-0.07171622663736343,
-0.026724087074398994,
0.022222990170121193,
0.030415363609790802,
0.06644297391176224,
0.010179259814321995,
-0.015226515009999275,
-0.005645204801112413,
-0.016507161781191826,
-0.01693090610206127,
-0.0032345750369131565,
0.032317500561475754,
0.04512397199869156,
-0.001185893197543919,
-0.012467474676668644,
0.030829690396785736,
0.06399468332529068,
0.024125127121806145,
-0.054540492594242096,
0.07446584850549698,
0.015170016326010227,
-0.04745926707983017,
0.027383243665099144,
0.0067139798775315285,
-0.0025565854739397764,
-0.03548145294189453,
0.027439743280410767,
0.06821328401565552,
0.035010628402233124,
-0.003806628752499819,
-0.021356670185923576,
0.03777908533811569,
-0.03640427067875862,
-0.011535238474607468,
-0.04045337438583374,
-0.008357162587344646,
0.017966723069548607,
0.03344748541712761,
0.051828533411026,
0.024821950122714043,
0.03715759515762329
] |
730,059 | mmengine.config.config | pop | Pop the value of the key. If class attribute ``lazy`` is True, the
LazyObject will be built and returned.
Args:
key (str): The key.
default (any, optional): The default value. Defaults to None.
Returns:
Any: The value of the key.
| def pop(self, key, default=None):
"""Pop the value of the key. If class attribute ``lazy`` is True, the
LazyObject will be built and returned.
Args:
key (str): The key.
default (any, optional): The default value. Defaults to None.
Returns:
Any: The value of the key.
"""
return self.build_lazy(super().pop(key, default))
| (self, key, default=None) | [
0.03243766725063324,
-0.015750732272863388,
-0.03609578683972359,
-0.0004074212338309735,
-0.013860991224646568,
-0.013999687507748604,
0.022451510652899742,
0.026005610823631287,
0.1567271500825882,
-0.07524289935827255,
-0.002934299875050783,
0.04098484292626381,
-0.025468161329627037,
0.006908824201673269,
-0.033651262521743774,
0.056518860161304474,
0.020856499671936035,
0.015031243674457073,
0.002771764760836959,
-0.010549609549343586,
0.04757293313741684,
0.021463297307491302,
0.015577360987663269,
-0.025346802547574043,
-0.018446646630764008,
-0.017224382609128952,
0.05395297333598137,
0.009691424667835236,
0.04153962805867195,
-0.01135578379034996,
-0.02044041082262993,
-0.008144090883433819,
-0.0416436530649662,
0.02153264544904232,
-0.009890801273286343,
-0.02288493700325489,
-0.0356450229883194,
0.06889753043651581,
-0.04192104563117027,
-0.024115869775414467,
0.011173744685947895,
-0.03179619461297989,
-0.0019991814624518156,
-0.041054192930459976,
0.01953888311982155,
0.01189323328435421,
0.027063172310590744,
0.05943148955702782,
0.006588088348507881,
0.002780433278530836,
0.03921646252274513,
0.04011799022555351,
-0.004327767062932253,
-0.019140129908919334,
-0.04656738042831421,
0.009795446880161762,
-0.0050320858135819435,
0.0225381962954998,
-0.0380028672516346,
0.061858680099248886,
0.0126647325232625,
-0.03441409394145012,
-0.04327333718538284,
-0.04268387705087662,
0.022572871297597885,
-0.025069409981369972,
0.017085686326026917,
-0.0010981953237205744,
0.028138071298599243,
-0.029299655929207802,
-0.04660205543041229,
0.019417522475123405,
0.013375552371144295,
0.0371360145509243,
0.022746240720152855,
-0.04993077367544174,
0.0037643122486770153,
-0.03344321623444557,
0.049688056111335754,
-0.033998001366853714,
-0.01938284933567047,
-0.023127656430006027,
-0.03654655069112778,
0.02316233143210411,
-0.048058368265628815,
-0.01891474798321724,
0.07014580070972443,
-0.04601259529590607,
0.0066531021147966385,
0.07635247707366943,
-0.03640785440802574,
0.07579769194126129,
-0.04011799022555351,
0.008343466557562351,
0.030235856771469116,
-0.04108886420726776,
0.03190021589398384,
0.022746240720152855,
0.020700465887784958,
-0.014563142322003841,
0.012716744095087051,
-0.011979917995631695,
0.009431368671357632,
0.010332896374166012,
0.023647768422961235,
0.03245500102639198,
0.05558266118168831,
0.02586691454052925,
-0.012023260816931725,
0.01320218201726675,
-0.0018398970132693648,
-0.0628989040851593,
-0.055166568607091904,
0.04736488685011864,
0.03817623853683472,
0.027912689372897148,
-0.05142176151275635,
-0.011286435648798943,
0.03132809326052666,
0.030877329409122467,
-0.03408468887209892,
-0.040672775357961655,
-0.10762855410575867,
0.018949422985315323,
-0.003120673354715109,
0.007923043332993984,
0.019174804911017418,
-0.014173057861626148,
0.03748275339603424,
0.04046473279595375,
0.021654006093740463,
0.026907138526439667,
-0.03484752029180527,
-0.009205986745655537,
0.028762206435203552,
-0.0022733239457011223,
0.042926594614982605,
0.0022364824544638395,
-0.0031163389794528484,
0.041851695626974106,
0.017527781426906586,
0.010046834126114845,
0.030478576198220253,
0.07510420680046082,
0.05180317908525467,
-0.09708761423826218,
0.03588774427771568,
-0.001251520006917417,
-0.02721920609474182,
-0.0073249139823019505,
-0.00038927150308154523,
0.020752478390932083,
0.012127283029258251,
-0.01575940102338791,
0.04434823617339134,
0.01629685051739216,
-0.03623448684811592,
0.006067975889891386,
-0.043203987181186676,
-0.06088780611753464,
0.030842654407024384,
0.06733719259500504,
-0.01983361318707466,
-0.05339818820357323,
-0.02586691454052925,
-0.019244153052568436,
0.09479912370443344,
-0.010696974582970142,
0.02208743244409561,
0.08640797436237335,
-0.05253133550286293,
-0.0028476144652813673,
0.002169301500543952,
0.0053744930773973465,
-0.005188119597733021,
0.0403607077896595,
-0.050589583814144135,
0.018342625349760056,
0.010566947050392628,
0.013540254905819893,
0.004394948482513428,
-0.015395321883261204,
0.004284424241632223,
-0.06265618652105331,
0.03297511488199234,
0.022746240720152855,
0.02621365524828434,
0.008573182858526707,
0.006692110560834408,
0.03359925001859665,
-0.04043005779385567,
-0.017155034467577934,
0.024913376197218895,
-0.009708761237561703,
0.0313454307615757,
0.000009709777259558905,
-0.022468848153948784,
0.013496912084519863,
-0.01674761436879635,
0.0437934510409832,
-0.08169229328632355,
-0.054022323340177536,
0.029490362852811813,
-0.052566010504961014,
-0.056518860161304474,
-0.012482693418860435,
0.00522279366850853,
0.004620330408215523,
-0.029767755419015884,
0.002089117420837283,
-0.02324901707470417,
0.028779543936252594,
0.025242779403924942,
-0.006765793077647686,
0.04493769630789757,
-0.07267701625823975,
-0.03793351724743843,
-0.01126042939722538,
-0.0017217881977558136,
0.030409228056669235,
0.030877329409122467,
-0.019434859976172447,
0.0560334250330925,
0.01891474798321724,
0.0022581538651138544,
0.0062976921908557415,
-0.05513189733028412,
-0.022954287007451057,
0.010566947050392628,
-0.020197691395878792,
0.05530526489019394,
0.012638727203011513,
0.046810101717710495,
-0.018810724839568138,
0.024531960487365723,
-0.030218521133065224,
-0.02432391420006752,
0.0026677423156797886,
0.03273239731788635,
0.05429971590638161,
0.02784334123134613,
0.03862700238823891,
-0.016288181766867638,
0.03271505981683731,
0.009604739025235176,
0.07898771017789841,
-0.0006300942623056471,
0.056518860161304474,
0.03935515880584717,
0.023769129067659378,
0.06324564665555954,
0.021428624168038368,
-0.009743435308337212,
0.01809990592300892,
0.036165136843919754,
-0.01554268691688776,
-0.03165749832987785,
-0.04677542671561241,
-0.014450451359152794,
0.016348861157894135,
-0.029611723497509956,
-0.028346115723252296,
0.012352664954960346,
0.05072828009724617,
-0.017874523997306824,
0.013566260226070881,
0.035367630422115326,
-0.008287121541798115,
0.004707015585154295,
0.05242731049656868,
0.03413669764995575,
-0.05936214327812195,
0.015508012846112251,
-0.09140105545520782,
0.023110320791602135,
0.008659868501126766,
-0.025190768763422966,
-0.013384221121668816,
0.0074462732300162315,
-0.007749672047793865,
0.00011377454939065501,
-0.033928655087947845,
0.007714997977018356,
-0.020076332613825798,
-0.0480930432677269,
0.04153962805867195,
-0.023040970787405968,
-0.027999375015497208,
0.04767695441842079,
0.0026894137263298035,
0.05669223144650459,
-0.018602680414915085,
-0.011043716222047806,
0.03703198954463005,
-0.0067701274529099464,
-0.06730252504348755,
-0.07073526084423065,
0.009786778129637241,
0.0315534733235836,
0.04597792029380798,
0.017709821462631226,
-0.03890439495444298,
-0.06168530881404877,
-0.008178764954209328,
0.004993077367544174,
-0.006141658406704664,
0.0493759885430336,
-0.0042519173584878445,
-0.041678328067064285,
0.04583922401070595,
-0.00592494523152709,
-0.002174719236791134,
-0.028484812006354332,
0.056172121316194534,
-0.037344057112932205,
-0.024792015552520752,
0.011381789110600948,
-0.026976486667990685,
0.04511106759309769,
0.03938983380794525,
-0.03703198954463005,
-0.05395297333598137,
-0.07926510274410248,
0.04011799022555351,
-0.02352640964090824,
-0.010922356508672237,
-0.06775328516960144,
0.045457810163497925,
0.019937634468078613,
0.017874523997306824,
-0.009388025850057602,
-0.02172335423529148,
-0.01983361318707466,
0.021463297307491302,
-0.023769129067659378,
0.014502462930977345,
-0.008937261998653412,
0.02739257737994194,
0.03378995880484581,
-0.05440373718738556,
-0.05641483888030052,
-0.04289192333817482,
-0.019694916903972626,
-0.008408481255173683,
0.02649104967713356,
0.018966758623719215,
0.07538159936666489,
-0.038245584815740585,
0.05943148955702782,
-0.03252435103058815,
0.03226429596543312,
-0.03299245238304138,
0.04091549664735794,
0.00423241313546896,
0.018585342913866043,
-0.01938284933567047,
0.025294791907072067,
0.016366198658943176,
0.019244153052568436,
-0.052566010504961014,
0.03493420407176018,
-0.03741340711712837,
-0.05592940002679825,
0.000228226330364123,
-0.010887682437896729,
-0.017354412004351616,
-0.03963255137205124,
0.002641736762598157,
-0.04289192333817482,
-0.044556282460689545,
0.017874523997306824,
0.0042887586168944836,
-0.023318365216255188,
0.06990308314561844,
-0.011581165716052055,
-0.01765781082212925,
0.0039810254238545895,
0.06012497469782829,
0.006856812629848719,
0.00999482348561287,
0.015343310311436653,
0.007173214573413134,
-0.02990645356476307,
0.046185966581106186,
-0.021393949165940285,
0.046636730432510376,
0.003317882539704442,
-0.02541615068912506,
0.02496538683772087,
-0.02134193852543831,
0.011858558282256126,
-0.04316931590437889,
-0.049792077392339706,
-0.01874137669801712,
-0.013219519518315792,
-0.05201122164726257,
0.010350232943892479,
-0.09036082774400711,
-0.028259430080652237,
0.026785779744386673,
0.09646347910165787,
0.0562414675951004,
0.019608231261372566,
-0.0028064388316124678,
0.003974524326622486,
-0.016262175515294075,
-0.0005501811974681914,
-0.013392889872193336,
-0.022867601364850998,
-0.008291455917060375,
0.01360093429684639,
-0.03037455305457115,
-0.06626229733228683,
-0.05110969394445419,
0.07690726220607758,
-0.04077679663896561,
0.02198340930044651,
0.035454317927360535,
0.02135927602648735,
-0.014433113858103752,
-0.014571811072528362,
0.009665418416261673,
-0.036269158124923706,
-0.030513251200318336,
-0.05957018584012985,
0.03515958786010742,
-0.01041091326624155,
-0.04351605474948883,
-0.03358191251754761,
0.010748986154794693,
-0.018411973491311073,
-0.0762137770652771,
-0.002721920609474182,
0.05027751624584198,
0.046185966581106186,
-0.003857498988509178,
-0.011745867319405079,
-0.020076332613825798,
-0.031952228397130966,
0.02208743244409561,
-0.05010414496064186,
0.006406048778444529,
-0.00048543806769885123,
0.05214991793036461,
0.03001047484576702,
-0.011139070615172386,
0.012716744095087051,
0.048682503402233124,
0.08488231152296066,
-0.02857149764895439,
0.007142874412238598,
-0.010887682437896729,
0.04063810035586357,
0.02135927602648735,
0.010922356508672237,
-0.058876704424619675,
-0.06813470274209976,
-0.0015971779357641935,
-0.007385593373328447,
-0.033998001366853714,
-0.006106984335929155,
0.032402992248535156,
0.02073514088988304,
-0.022555533796548843,
-0.04192104563117027,
0.05655353516340256,
-0.013592266477644444,
0.0313454307615757,
-0.08550644665956497,
-0.024479947984218597,
0.005309478845447302,
-0.04233713448047638,
-0.045284438878297806,
-0.07226092368364334,
-0.034726157784461975,
0.0037751479540020227,
0.038869719952344894,
0.05006946995854378,
0.005166448187083006,
-0.045180413872003555,
0.02782600373029709,
0.015031243674457073,
-0.023006297647953033,
-0.0047026812098920345,
-0.007082195021212101,
0.03326984494924545,
0.00031098377075977623,
0.036615900695323944,
0.03675459697842598,
0.03271505981683731,
-0.03183086961507797,
0.043932147324085236,
-0.0018420640844851732,
0.02226080372929573,
0.03755210340023041,
-0.0027826004661619663,
-0.02990645356476307,
0.013349547050893307,
0.05901540070772171,
-0.033096473664045334,
-0.01549934409558773,
0.0042974273674190044,
0.02801671251654625,
0.01595877669751644,
-0.03358191251754761,
-0.04864782840013504,
0.00945737399160862,
0.05110969394445419,
-0.0033655595034360886,
-0.032194945961236954,
0.023769129067659378,
0.02127259038388729,
0.02749660052359104,
-0.019712252542376518,
0.026699094101786613,
0.014615153893828392,
0.02864084579050541,
0.001186506007798016,
-0.0027934361714869738,
0.014034361578524113,
0.057524412870407104,
0.043377358466386795,
-0.020249702036380768,
0.013956344686448574,
-0.037517428398132324,
0.0013013641582801938,
-0.019660241901874542,
-0.0023491736501455307,
0.03321783244609833,
0.05214991793036461,
-0.0008793147280812263,
-0.010870345868170261,
-0.006302026566118002,
0.04882119968533516,
0.02864084579050541,
-0.03465681150555611,
-0.03640785440802574,
0.02090851217508316,
0.02926498092710972,
0.0031163389794528484,
0.009942811913788319,
0.028866227716207504,
0.01756245642900467,
0.0058469283394515514,
-0.016184158623218536,
-0.002292828168720007,
-0.019660241901874542,
0.04420953989028931,
-0.018411973491311073,
0.022642219439148903,
-0.09459107369184494,
-0.015646709129214287,
0.004095883574336767,
-0.06543011963367462,
0.04622064158320427,
0.010055502876639366,
-0.014346429146826267,
-0.009535390883684158,
0.0013197847874835134,
0.015377984382212162,
0.02234748937189579,
0.03828025981783867,
0.03522893413901329,
0.033737946301698685,
-0.00042719635530374944,
0.017770500853657722,
-0.047156840562820435,
0.01464115921407938,
0.06442456692457199,
-0.010116183198988438,
0.028935575857758522,
-0.041435606777668,
0.0028866229113191366,
0.06757991760969162,
-0.009786778129637241,
0.0605410635471344,
0.021393949165940285,
0.014736512675881386,
-0.00986479502171278,
0.0013967180857434869,
0.001965590752661228,
0.04299594461917877,
0.08925125747919083,
-0.030235856771469116,
-0.03333919495344162,
0.014034361578524113,
-0.000679938355460763,
0.042198438197374344,
-0.039771247655153275,
-0.023647768422961235,
0.021931398659944534,
0.009890801273286343,
-0.007862363010644913,
0.026560397818684578,
0.041955720633268356,
-0.03207358717918396,
0.037898845970630646,
0.02992378920316696,
-0.03458746150135994,
-0.004115387797355652,
0.026560397818684578,
-0.009214654564857483,
0.04840511083602905,
0.06171998381614685,
-0.01809990592300892,
0.012768754735589027,
-0.05821789428591728,
0.031206732615828514,
0.02397717349231243,
-0.03956320509314537,
-0.05901540070772171,
-0.041123539209365845,
-0.03710133954882622,
0.050485558807849884,
-0.008763890713453293,
-0.008590520359575748,
0.014710507355630398,
-0.023405050858855247,
-0.061303894966840744,
-0.02217411808669567,
-0.04965338110923767,
0.015707388520240784,
-0.04043005779385567,
0.05911942198872566,
0.018515994772315025,
-0.0633149966597557,
-0.03099868819117546,
-0.039771247655153275,
0.0034609134308993816,
0.01820392720401287,
-0.01686030440032482,
-0.0031835201662033796,
0.03567969799041748,
0.03668525069952011,
-0.015646709129214287,
-0.009179980494081974,
0.05263535678386688,
0.013531586155295372,
-0.0017553787911310792,
-0.037898845970630646,
-0.025069409981369972,
-0.05544396489858627,
-0.026543060317635536,
0.07028450071811676,
-0.06945231556892395,
0.024792015552520752,
0.006176332477480173,
0.03613046184182167,
0.06057573854923248,
-0.041054192930459976,
-0.01998964697122574,
-0.013392889872193336,
0.030703958123922348,
-0.0053744930773973465,
-0.023561084643006325,
-0.06823872029781342,
0.08938995748758316,
-0.007246897090226412,
-0.051837850362062454,
-0.009752104058861732,
-0.03997929394245148,
-0.03422338515520096,
-0.07392528653144836,
0.004394948482513428,
0.007450607605278492,
-0.03956320509314537,
-0.05811387300491333,
-0.02782600373029709,
0.014285748824477196,
0.0059552849270403385,
-0.003749142400920391,
-0.06914025545120239,
-0.02550283633172512,
-0.06459794193506241,
-0.015794074162840843,
-0.0652567446231842,
0.017891859635710716,
0.027323229238390923,
-0.0009345766738988459,
0.03938983380794525,
0.06900155544281006,
0.02947302535176277,
-0.0208218265324831,
0.02460130862891674,
-0.05214991793036461,
0.07239962369203568,
-0.0008831071900203824,
0.018706703558564186,
-0.00637570908293128,
-0.04729553684592247,
0.0714980959892273,
-0.042753223329782486,
-0.010922356508672237,
-0.048786528408527374,
-0.05807919800281525,
-0.008664202876389027,
-0.04018733650445938,
-0.03862700238823891,
0.01603679358959198,
0.019053444266319275,
-0.00304048927500844,
0.0018528997898101807,
-0.007819020189344883,
-0.05443841218948364,
-0.028970250859856606,
0.032663047313690186,
-0.013028811663389206,
0.04857848212122917,
0.010428249835968018,
0.001732623903080821,
0.030929340049624443,
0.06047171354293823,
0.0034955875016748905,
-0.048786528408527374,
0.00941403117030859,
0.008664202876389027,
-0.034206047654151917,
0.027340566739439964,
-0.08987539261579514,
0.061407916247844696,
-0.0048067038878798485,
-0.01893208548426628,
0.0281207337975502,
-0.05783648043870926,
0.06647033989429474,
0.005482849664986134,
0.022139443084597588,
-0.0856451466679573,
-0.059951603412628174,
0.0811375081539154,
0.04344670847058296,
0.006705113220959902,
0.031501464545726776,
0.011563828215003014,
0.020388398319482803,
-0.08509036153554916,
-0.02208743244409561,
-0.01809990592300892,
0.04767695441842079,
0.0178225114941597,
-0.07669921964406967,
0.0069825067184865475,
0.014355096966028214,
0.041054192930459976,
-0.006674773525446653,
-0.05970888212323189,
0.0024141876492649317,
0.01882806234061718,
-0.015351979061961174,
-0.022416837513446808,
-0.030565261840820312,
0.0631069466471672,
0.01410370972007513,
0.02584957703948021,
0.020405735820531845,
-0.027721982449293137,
-0.041851695626974106,
-0.006276020780205727,
0.0026439037173986435,
-0.012517367489635944,
-0.08495166152715683,
-0.03243766725063324,
-0.03557567670941353,
-0.018672028556466103,
-0.01131244096904993,
0.013843653723597527,
0.009119301103055477,
-0.0028606171254068613
] |
730,061 | mmengine.config.config | to_dict | Convert the ConfigDict to a normal dictionary recursively, and
convert the ``LazyObject`` or ``LazyAttr`` to string. | def to_dict(self):
"""Convert the ConfigDict to a normal dictionary recursively, and
convert the ``LazyObject`` or ``LazyAttr`` to string."""
return _lazy2string(self, dict_type=dict)
| (self) | [
-0.016483299434185028,
-0.025150921195745468,
0.04211575537919998,
-0.06100672483444214,
0.020724507048726082,
0.023391468450427055,
-0.0035767832305282354,
0.013084775768220425,
0.02409524843096733,
-0.08208312094211578,
0.00558857899159193,
0.01865946501493454,
0.007973100990056992,
0.025058317929506302,
0.005509866867214441,
0.011899460107088089,
-0.012649542652070522,
0.007130415644496679,
-0.009450116194784641,
-0.004741263575851917,
0.011445706710219383,
-0.02492867410182953,
0.03546687215566635,
0.01606658659875393,
-0.040448904037475586,
-0.042745452374219894,
-0.004528277087956667,
-0.0006655826582573354,
-0.02492867410182953,
-0.009325101971626282,
-0.06204387545585632,
-0.025058317929506302,
0.06511829048395157,
0.02357667312026024,
-0.007885128259658813,
-0.012806967832148075,
0.002447029110044241,
0.04118972644209862,
-0.09615875035524368,
-0.04904244467616081,
-0.016409216448664665,
0.019891081377863884,
-0.09564017504453659,
-0.0029517142102122307,
0.009602910839021206,
0.007366552948951721,
-0.005570058710873127,
0.03800418972969055,
0.024687906727194786,
-0.03589284420013428,
0.03793010860681534,
-0.01796494424343109,
-0.0020604124292731285,
0.05156124010682106,
-0.009889978915452957,
-0.02887355349957943,
-0.007537867873907089,
-0.010288171470165253,
0.008324991911649704,
0.044560469686985016,
-0.045116085559129715,
-0.006880388129502535,
0.03533722832798958,
-0.02920692414045334,
-0.017835300415754318,
-0.03776342421770096,
-0.08682438731193542,
0.00589416828006506,
-0.0044565098360180855,
-0.04285657778382301,
-0.028225334361195564,
-0.052598390728235245,
0.020631903782486916,
0.022761767730116844,
-0.012982912361621857,
-0.065822072327137,
-0.003803660161793232,
-0.001288336468860507,
0.020224452018737793,
-0.01948362961411476,
-0.033411089330911636,
-0.03967104107141495,
-0.050746336579322815,
-0.04152309522032738,
-0.018918752670288086,
-0.009871458634734154,
0.000845579314045608,
-0.00034928618697449565,
0.010834528133273125,
0.02426193468272686,
-0.006195127498358488,
0.07793451845645905,
-0.009584389626979828,
0.0641922652721405,
-0.016844449564814568,
0.0022213098127394915,
0.027040017768740654,
0.054005954414606094,
0.05889538303017616,
-0.026706647127866745,
0.007010031957179308,
-0.03118862397968769,
-0.03907838091254234,
0.0007842299528419971,
-0.0295402929186821,
-0.10230757296085358,
-0.008450005203485489,
-0.0013392680557444692,
0.011723514646291733,
-0.03257766738533974,
-0.03485569357872009,
-0.018307574093341827,
-0.03815235570073128,
-0.0018265902763232589,
0.06778524816036224,
-0.017909381538629532,
-0.00003532290429575369,
-0.046745892614126205,
0.05056113004684448,
-0.004407893400639296,
-0.0272993054240942,
0.03918950632214546,
-0.03129974752664566,
0.05307992547750473,
-0.01294587180018425,
0.05445044860243797,
-0.011862418614327908,
0.0036277147009968758,
0.061821628361940384,
0.0060423328541219234,
0.06219204142689705,
0.018705766648054123,
-0.021650534123182297,
0.006658141501247883,
0.08763929456472397,
-0.013205159455537796,
-0.00045549002243205905,
0.006847977172583342,
0.016168449074029922,
0.08252761512994766,
0.050746336579322815,
-0.009917760267853737,
-0.04152309522032738,
0.01438121497631073,
0.05041296407580376,
-0.07245243340730667,
0.025225002318620682,
0.055191271007061005,
-0.041856467723846436,
-0.05604321509599686,
0.047264471650123596,
-0.0030211664270609617,
0.0184372179210186,
0.024687906727194786,
-0.05504310503602028,
0.027428949251770973,
-0.04993142932653427,
-0.025910263881087303,
0.0022780289873480797,
-0.08193495869636536,
-0.029855143278837204,
0.012649542652070522,
0.008028662763535976,
-0.028132731094956398,
-0.003368426812812686,
-0.0007477676263079047,
0.06515533477067947,
-0.07837901264429092,
0.024502702057361603,
-0.01907617785036564,
-0.06215500086545944,
-0.05374666675925255,
-0.03944879397749901,
0.04970918223261833,
-0.006722963415086269,
0.043152906000614166,
0.04748671501874924,
0.03804123029112816,
-0.05848792940378189,
0.021743137389421463,
0.07178568840026855,
-0.000414976297179237,
-0.0484127439558506,
0.02139124646782875,
0.032003529369831085,
-0.021761657670140266,
0.02650292217731476,
0.018390916287899017,
0.044560469686985016,
0.015316503122448921,
0.04915356636047363,
0.002458604285493493,
-0.01255694031715393,
-0.01714077778160572,
0.004838496446609497,
-0.027558593079447746,
-0.026539962738752365,
-0.041634220629930496,
0.003792084753513336,
0.02500275708734989,
-0.03157755360007286,
-0.03707816079258919,
-0.004343071486800909,
-0.02329886518418789,
-0.006472935900092125,
-0.039041340351104736,
-0.02222467213869095,
-0.010315951891243458,
0.03944879397749901,
0.02544724941253662,
-0.03776342421770096,
-0.02633623592555523,
-0.023780399933457375,
-0.03213317319750786,
0.0332258865237236,
-0.05148715898394585,
0.055932093411684036,
0.025743579491972923,
-0.07445265352725983,
-0.009209348820149899,
0.0495239794254303,
0.05763598531484604,
0.061266012489795685,
-0.06085856258869171,
-0.012353213503956795,
-0.07152640074491501,
-0.06652585417032242,
-0.024799030274152756,
0.02155793271958828,
0.0017883916152641177,
0.05493198335170746,
-0.01857612282037735,
0.0015105832135304809,
0.01001962274312973,
0.11008621007204056,
0.020687466487288475,
-0.006398853380233049,
-0.025984346866607666,
0.010223349556326866,
0.043708521872758865,
0.03726336732506752,
0.0136496527120471,
-0.015205379575490952,
-0.021539412438869476,
0.001511740731075406,
-0.001436500926502049,
0.03005887009203434,
0.055524639785289764,
0.003560577752068639,
0.02442861907184124,
0.06230316311120987,
-0.029632896184921265,
-0.030318157747387886,
0.026484401896595955,
-0.020613383501768112,
-0.03896725922822952,
0.03485569357872009,
0.03365185856819153,
-0.01832609437406063,
0.01519611943513155,
0.03692999854683876,
-0.015501708723604679,
-0.04741263389587402,
0.020965274423360825,
-0.0030327418353408575,
-0.011390144936740398,
0.014020063914358616,
-0.0023173850495368242,
-0.05070929229259491,
0.041004519909620285,
0.1418674886226654,
-0.019520670175552368,
0.01519611943513155,
-0.02048373967409134,
-0.025799140334129333,
-0.016575900837779045,
0.027040017768740654,
-0.06522941589355469,
0.02302105724811554,
0.031003417447209358,
-0.021761657670140266,
-0.05037592351436615,
0.002435453701764345,
-0.006278470158576965,
0.015122037380933762,
-0.0037365229800343513,
-0.05904354527592659,
0.027651196345686913,
0.035670600831508636,
0.027836402878165245,
0.060599274933338165,
-0.035596515983343124,
-0.009153787046670914,
0.004410208202898502,
0.019039135426282883,
-0.04667181149125099,
-0.06597023457288742,
-0.05667291581630707,
0.023335905745625496,
0.004435674287378788,
0.02752155251801014,
0.004009701311588287,
-0.017677875235676765,
0.07067445665597916,
0.015659132972359657,
0.0033174953423440456,
0.0066674016416072845,
-0.008528717793524265,
-0.014418256469070911,
0.0021090288646519184,
-0.04352331534028053,
0.002447029110044241,
0.06597023457288742,
0.09801080822944641,
-0.048931319266557693,
-0.045227207243442535,
-0.030521882697939873,
-0.03767082095146179,
0.02566949650645256,
0.051301952451467514,
-0.07660103589296341,
0.05971028655767441,
-0.012149487622082233,
-0.02053930051624775,
0.058228641748428345,
-0.04548649489879608,
0.07019292563199997,
0.05193164944648743,
0.08119413256645203,
0.014390475116670132,
-0.06296990811824799,
-0.03800418972969055,
0.024669386446475983,
0.04341219365596771,
-0.005296880379319191,
0.03089229390025139,
0.03705964237451553,
-0.02387300133705139,
-0.05982140824198723,
-0.06719259172677994,
0.0315219946205616,
-0.017187079414725304,
-0.011547569185495377,
-0.02831793576478958,
-0.05456157028675079,
0.004116194322705269,
0.022446919232606888,
-0.00982515700161457,
0.05152419954538345,
-0.013714474625885487,
-0.012992173433303833,
-0.020965274423360825,
0.04937581345438957,
0.04678293690085411,
-0.053783707320690155,
-0.020187411457300186,
0.00018433744844514877,
-0.005875647533684969,
-0.02105787768959999,
-0.011769816279411316,
0.023595193400979042,
0.039041340351104736,
-0.02211354859173298,
-0.009686253033578396,
0.041856467723846436,
0.0332258865237236,
-0.042300958186388016,
0.0015210009878501296,
0.08000881969928741,
-0.03815235570073128,
-0.029929226264357567,
0.047190386801958084,
-0.000508157885633409,
-0.03415191173553467,
0.002669275738298893,
0.00850093737244606,
-0.03454084321856499,
0.04963510110974312,
-0.03167015686631203,
0.05019071698188782,
0.019224341958761215,
0.03648550435900688,
0.023058097809553146,
0.027873443439602852,
0.012427295558154583,
-0.024002647027373314,
0.07271172106266022,
-0.03896725922822952,
-0.0017513504717499018,
-0.04874611645936966,
-0.04059706628322601,
0.02166905626654625,
-0.034466762095689774,
0.07248947024345398,
-0.005926579236984253,
-0.06478492170572281,
0.028558703139424324,
-0.013695954345166683,
-0.013945981860160828,
0.04459751024842262,
0.016529599204659462,
-0.04318994656205177,
0.04596802964806557,
-0.0303922388702631,
-0.0018902546726167202,
-0.008102744817733765,
0.052153896540403366,
0.016844449564814568,
0.035985447466373444,
-0.004986661020666361,
0.010427075438201427,
-0.01725190132856369,
-0.08149046450853348,
-0.029132841154932976,
0.04400485008955002,
-0.017742697149515152,
-0.02724374458193779,
0.009028772823512554,
0.0066674016416072845,
0.010065924376249313,
0.022761767730116844,
-0.002646125154569745,
-0.02798456698656082,
-0.007088744547218084,
0.013325543142855167,
0.024187851697206497,
-0.005111674778163433,
0.016788888722658157,
-0.0016193914925679564,
0.044486384838819504,
-0.012010583654046059,
-0.002546577015891671,
0.025354646146297455,
-0.06467379629611969,
0.032559145241975784,
-0.011130856350064278,
0.03889317810535431,
-0.040671151131391525,
0.021632013842463493,
0.039374712854623795,
-0.0027595635037869215,
0.022539522498846054,
0.0061303055845201015,
0.003014221088960767,
0.06019182130694389,
0.020280012860894203,
-0.05611729621887207,
0.019854040816426277,
0.09771447628736496,
0.011297541670501232,
0.02566949650645256,
-0.02713262103497982,
0.019520670175552368,
-0.06760004162788391,
-0.0590805858373642,
0.011714254505932331,
0.01992812193930149,
0.004113879520446062,
-0.022483959794044495,
0.04200462996959686,
-0.02437305822968483,
-0.03287399560213089,
0.010510417632758617,
0.027428949251770973,
-0.01024186983704567,
-0.010232609696686268,
-0.014436776749789715,
0.05448748916387558,
-0.06778524816036224,
-0.023669276386499405,
0.02500275708734989,
0.027280785143375397,
-0.02070598676800728,
-0.002664645668119192,
-0.02089119143784046,
0.02211354859173298,
0.007463785819709301,
0.0317998006939888,
-0.03139235079288483,
-0.05652474984526634,
-0.01337184477597475,
-0.012899570167064667,
0.002676221076399088,
-0.02594730444252491,
0.005315400660037994,
-0.018279792740941048,
0.021317165344953537,
0.008468526415526867,
-0.011834638193249702,
0.05319105088710785,
-0.0410786010324955,
0.06497012823820114,
-0.02826237492263317,
-0.004433359019458294,
0.06830382347106934,
0.03268878906965256,
-0.012797706760466099,
0.017677875235676765,
-0.00168537104036659,
-0.03292955458164215,
-0.03724484518170357,
-0.013742255978286266,
0.005236688535660505,
0.053339213132858276,
-0.0574137382209301,
0.013547790236771107,
-0.02100231498479843,
0.06385888904333115,
-0.013770036399364471,
-0.006468305829912424,
0.008380553685128689,
-0.003271193942055106,
0.011667952872812748,
-0.005945099983364344,
0.005871017463505268,
-0.012112446129322052,
-0.015770256519317627,
0.023447029292583466,
-0.05711740627884865,
-0.050116635859012604,
-0.03061448596417904,
0.0591176301240921,
0.012575460597872734,
0.025021277368068695,
-0.028354978188872337,
0.04233800247311592,
0.06967435032129288,
-0.012612501159310341,
0.0061719766817986965,
0.033411089330911636,
0.027428949251770973,
0.016214750707149506,
0.02668812684714794,
0.037856023758649826,
-0.029466211795806885,
-0.008348142728209496,
-0.019687356427311897,
0.021854260936379433,
-0.04844978451728821,
0.018418697640299797,
0.04637548327445984,
-0.005167236085981131,
0.04885723814368248,
0.044041890650987625,
0.03459640592336655,
0.01606658659875393,
0.05252430960536003,
0.045227207243442535,
-0.032392460852861404,
-0.02511388063430786,
-0.020909711718559265,
-0.03867093101143837,
0.003171646036207676,
-0.04722742736339569,
-0.032559145241975784,
-0.03624473512172699,
0.03218873217701912,
-0.0816386267542839,
-0.007936060428619385,
0.022650646045804024,
-0.017233381047844887,
0.02381744049489498,
-0.04422709718346596,
0.004759783856570721,
0.023280344903469086,
0.036726269870996475,
0.0018069121288135648,
0.06541462242603302,
-0.031096020713448524,
-0.004565318115055561,
0.0303922388702631,
-0.014279351569712162,
0.0018416382372379303,
0.019891081377863884,
-0.013418145477771759,
0.05633954331278801,
0.024502702057361603,
0.02381744049489498,
0.032392460852861404,
-0.004708852618932724,
-0.01689075119793415,
0.011723514646291733,
0.011167897842824459,
0.012927351519465446,
-0.013945981860160828,
-0.012705104425549507,
0.003331385785713792,
0.07348958402872086,
-0.007292470429092646,
-0.04633844271302223,
-0.06556278467178345,
-0.011547569185495377,
0.007218388374894857,
-0.02498423494398594,
0.04915356636047363,
-0.07467489689588547,
0.0036948518827557564,
0.023595193400979042,
0.02578062005341053,
-0.041337888687849045,
-0.04063411056995392,
-0.019798478111624718,
-0.0007934902678243816,
0.051413074135780334,
-0.015205379575490952,
-0.012649542652070522,
0.04430118203163147,
0.034337118268013,
-0.014825708232820034,
0.0020395766478031874,
-0.05545055866241455,
0.014316393062472343,
0.020409656688570976,
-0.019502149894833565,
0.016298092901706696,
-0.06900760531425476,
-0.019465109333395958,
-0.045116085559129715,
-0.027002977207303047,
-0.0067600044421851635,
0.02966993674635887,
0.005324661266058683,
-0.01015852764248848,
0.02785492315888405,
-0.05448748916387558,
-0.009181567467749119,
0.002403042744845152,
-0.04096747934818268,
0.003164700698107481,
-0.016390696167945862,
0.0006059695733711123,
-0.003423988586291671,
0.02854018285870552,
-0.01907617785036564,
-0.05889538303017616,
-0.001592768239788711,
0.04937581345438957,
0.03050336241722107,
-0.0052690994925796986,
-0.019224341958761215,
0.039485834538936615,
-0.03691147640347481,
-0.0692668929696083,
0.022724727168679237,
-0.04181942343711853,
0.0014075626386329532,
0.03454084321856499,
-0.03209613263607025,
0.05093153938651085,
-0.037856023758649826,
0.010899350047111511,
-0.0011968911858275533,
-0.017187079414725304,
0.009547349065542221,
-0.04470863193273544,
0.019168779253959656,
0.013297762721776962,
0.03139235079288483,
-0.03141086921095848,
0.024410098791122437,
-0.02707705833017826,
-0.01367743406444788,
-0.09452894330024719,
-0.065266452729702,
0.05019071698188782,
0.01907617785036564,
-0.061710506677627563,
0.05019071698188782,
0.022891413420438766,
-0.07052629441022873,
0.06263653188943863,
0.007797155994921923,
0.00045520064304582775,
-0.038189396262168884,
-0.049116525799036026,
-0.015566530637443066,
-0.012038364075124264,
0.028114210814237595,
0.02555837295949459,
-0.01818718947470188,
-0.047079265117645264,
0.054117076098918915,
-0.05959916114807129,
0.07408224046230316,
-0.04507904499769211,
-0.008588910102844238,
0.010427075438201427,
-0.028410539031028748,
0.005366332363337278,
0.006296990439295769,
-0.008908389136195183,
0.0028382758609950542,
-0.051709406077861786,
0.020076287910342216,
0.039152465760707855,
-0.05445044860243797,
0.03309624269604683,
-0.030318157747387886,
0.024502702057361603,
-0.0024910152424126863,
0.054005954414606094,
-0.022502480074763298,
0.033688899129629135,
-0.0295402929186821,
0.01581655815243721,
-0.04563466086983681,
0.03005887009203434,
0.005977510940283537,
0.011899460107088089,
0.023669276386499405,
-0.0026276044081896544,
0.12253202497959137,
0.022835850715637207,
-0.04822753742337227,
-0.024465659633278847,
0.037115201354026794,
0.015548010356724262,
0.0035096462815999985,
-0.021020835265517235,
0.0039124684408307076,
-0.04819049686193466,
-0.002026843838393688,
-0.009042663499712944,
-0.011010472662746906,
0.02937360852956772,
0.027040017768740654,
0.012677323073148727,
-0.0033962076995521784,
-0.014436776749789715,
-0.02870686911046505,
-0.015057215467095375,
-0.03646698221564293,
-0.08030515164136887,
0.008084224537014961,
-0.0023197000846266747,
-0.018900232389569283,
-0.009237129241228104,
-0.0073063611052930355,
-0.023595193400979042,
0.012047624215483665,
0.0009977951413020492,
0.07586021721363068,
-0.00578304473310709,
0.04993142932653427,
0.0003602827782742679,
-0.08712071925401688,
0.05622842162847519,
0.04030073806643486,
0.01761305332183838,
-0.0014017749344930053,
0.010112226009368896,
0.10082592815160751,
-0.04081931337714195,
-0.009917760267853737,
0.002708632033318281,
-0.04796824976801872,
-0.013473707251250744,
-0.0007552916067652404,
0.0071767172776162624,
-0.000467644160380587,
-0.02600286714732647,
-0.0348927341401577,
0.02826237492263317,
0.0010516205802559853,
0.006597949657589197,
0.01519611943513155,
0.015853598713874817,
-0.04919060692191124
] |
730,063 | mmengine.config.config | update | Override this method to make sure the LazyObject will not be built
during updating. | def update(self, *args, **kwargs) -> None:
"""Override this method to make sure the LazyObject will not be built
during updating."""
other = {}
if args:
if len(args) > 1:
raise TypeError('update only accept one positional argument')
# Avoid to used self.items to build LazyObject
for key, value in dict.items(args[0]):
other[key] = value
for key, value in dict(kwargs).items():
other[key] = value
for k, v in other.items():
if ((k not in self) or (not isinstance(self[k], dict))
or (not isinstance(v, dict))):
self[k] = self._hook(v)
else:
self[k].update(v)
| (self, *args, **kwargs) -> NoneType | [
-0.025442812591791153,
-0.023858200758695602,
-0.061105478554964066,
0.03924139589071274,
-0.012294095009565353,
0.012810428626835346,
-0.027757413685321808,
0.009489865973591805,
0.07606136798858643,
-0.025531835854053497,
-0.01521405391395092,
0.017252683639526367,
0.0059422943741083145,
0.030712980777025223,
-0.04241061955690384,
0.019318019971251488,
-0.009204992093145847,
0.04447595775127411,
-0.03025006130337715,
-0.028469597920775414,
0.041021861135959625,
-0.0199055727571249,
0.02976933680474758,
0.06911756098270416,
-0.0026862730737775564,
-0.0685834214091301,
0.03486146032810211,
0.03393561765551567,
0.051847074180841446,
0.023502107709646225,
0.010620459914207458,
0.02934202551841736,
0.03372196480631828,
0.026867182925343513,
0.035449013113975525,
-0.08076179027557373,
-0.00585327111184597,
0.04654129594564438,
-0.06391861289739609,
0.00565742002800107,
0.016246721148490906,
-0.0163179412484169,
-0.013166521675884724,
0.014021143317222595,
0.06438153237104416,
0.005029807332903147,
-0.0024214291479438543,
0.0668029636144638,
0.0382799468934536,
-0.035911932587623596,
-0.0049719419330358505,
-0.017012320458889008,
0.042303793132305145,
-0.004900723695755005,
-0.011243621818721294,
0.0764174610376358,
-0.0013809714000672102,
0.04394181817770004,
-0.0016046420205384493,
0.0382799468934536,
0.0017437406349927187,
-0.048214931041002274,
-0.00769159896299243,
-0.03731849789619446,
-0.03044591285288334,
-0.059040144085884094,
-0.01531197875738144,
0.03568047285079956,
0.0003594309091567993,
0.0030423656571656466,
-0.031799063086509705,
0.012703601270914078,
0.03445195406675339,
0.016166601330041885,
-0.03616119548678398,
0.05270169675350189,
-0.05145537108182907,
0.02674254961311817,
0.06420348584651947,
0.03076639585196972,
-0.0004634766955859959,
-0.06723026931285858,
-0.03970431908965111,
0.004936332814395428,
-0.05668993294239044,
-0.013576027937233448,
-0.027632780373096466,
-0.01739512011408806,
0.054588984698057175,
0.006730149034410715,
-0.0223270021378994,
0.09002019464969635,
0.0010766235645860434,
-0.02661791630089283,
-0.01521405391395092,
-0.01138605922460556,
-0.0032026071567088366,
-0.019727526232600212,
-0.0350395068526268,
0.029253002256155014,
-0.0018093952676281333,
-0.058221131563186646,
0.051241714507341385,
-0.004282012581825256,
0.02170383930206299,
-0.05651188641786575,
0.018766077235341072,
-0.051384154707193375,
-0.01536539290100336,
-0.0029778238385915756,
0.03076639585196972,
-0.05245243012905121,
-0.05622701346874237,
0.04956808313727379,
-0.035929735749959946,
0.0012541133910417557,
-0.06235180422663689,
-0.05555043742060661,
0.04209013655781746,
0.03325904160737991,
-0.05540799722075462,
0.02597695030272007,
-0.001028217258863151,
0.02804228663444519,
0.0039236946031451225,
-0.019709721207618713,
-0.0005903346464037895,
0.01563246175646782,
0.0175197534263134,
-0.051241714507341385,
-0.0008857802022248507,
-0.03137175366282463,
0.0037834832910448313,
0.009596694260835648,
0.06402543932199478,
-0.029288610443472862,
0.040096018463373184,
-0.044226694852113724,
0.006093633361160755,
0.0012463239254429936,
0.006178205367177725,
-0.009022494778037071,
0.019371433183550835,
0.03717606142163277,
-0.014377236366271973,
-0.012124950997531414,
-0.004629203118383884,
0.04832175746560097,
0.012365313246846199,
-0.016184406355023384,
-0.0030534935649484396,
-0.001101104891858995,
0.037674590945243835,
0.046185202896595,
-0.07428090274333954,
-0.01569477841258049,
-0.03966870903968811,
-0.0653785914182663,
-0.014715524390339851,
0.012685796245932579,
0.009187187068164349,
0.025585249066352844,
0.018748272210359573,
-0.030837614089250565,
-0.019869962707161903,
0.030837614089250565,
0.004137350246310234,
-0.09749813377857208,
0.01061155740171671,
0.07289214432239532,
0.01488466840237379,
-0.004842858295887709,
0.03649948537349701,
0.03532437980175018,
0.015036007389426231,
0.04493887722492218,
-0.03874286636710167,
-0.030712980777025223,
0.0009430888458155096,
0.01417248323559761,
-0.004388840403407812,
-0.0334014818072319,
-0.02741912566125393,
-0.03309880197048187,
0.0020864796824753284,
0.005399253219366074,
0.004217470996081829,
-0.0006815833621658385,
0.033205628395080566,
0.05188268423080444,
0.027365712448954582,
-0.023644544184207916,
0.01896192692220211,
-0.03731849789619446,
-0.03153199329972267,
0.04892711341381073,
-0.04315841570496559,
-0.043265242129564285,
0.026172801852226257,
0.06982974708080292,
-0.0749930888414383,
-0.05177585408091545,
0.014795645140111446,
0.019050950184464455,
0.006396312266588211,
0.010041809640824795,
0.04600715637207031,
0.0019451554398983717,
0.009169382974505424,
-0.03810190036892891,
-0.017012320458889008,
0.022059932351112366,
0.006378507707268,
0.012703601270914078,
0.030018601566553116,
-0.042303793132305145,
0.010157539509236813,
-0.032742708921432495,
-0.0382087305188179,
0.0025838965084403753,
0.05750894546508789,
0.021240919828414917,
-0.00017582069267518818,
-0.013549321331083775,
-0.00593784311786294,
-0.01849900744855404,
-0.007388920057564974,
0.011403863318264484,
0.024036245420575142,
0.005034258123487234,
-0.007028376683592796,
0.010041809640824795,
0.0034941579215228558,
0.03197710961103439,
0.03550242632627487,
-0.013175424188375473,
-0.037033624947071075,
-0.03550242632627487,
-0.007157459855079651,
0.012988475151360035,
0.02982275001704693,
-0.0008490581531077623,
0.01615769974887371,
0.025229156017303467,
-0.059040144085884094,
-0.006601065397262573,
0.019869962707161903,
0.040843814611434937,
0.011439472436904907,
0.03909895941615105,
0.03532437980175018,
0.0319058932363987,
-0.02116970159113407,
0.08090422302484512,
-0.047111041843891144,
-0.015009300783276558,
0.06345569342374802,
0.0382087305188179,
-0.012053732760250568,
-0.012454336509108543,
-0.0077850730158388615,
0.0191399734467268,
-0.04123551771044731,
0.07043510675430298,
-0.04027406498789787,
-0.00014688816736452281,
0.047858837991952896,
-0.000148140054079704,
-0.04568667337298393,
0.043229635804891586,
0.04433352127671242,
-0.04497448727488518,
0.0685478150844574,
0.03931261599063873,
0.01427040807902813,
0.014973691664636135,
0.04796566441655159,
-0.027365712448954582,
-0.046149592846632004,
0.0000402690602641087,
0.09101725369691849,
-0.006164852064102888,
0.014528575353324413,
-0.03268929570913315,
0.00769159896299243,
-0.03685557842254639,
-0.0525592602789402,
0.04842858389019966,
-0.042802322655916214,
-0.027330102398991585,
0.07997838407754898,
-0.02647547982633114,
0.02724107913672924,
0.062066927552223206,
-0.017484143376350403,
-0.015125030651688576,
-0.10091662406921387,
0.022113347426056862,
0.044832050800323486,
0.00004677192191593349,
0.015249663032591343,
-0.019727526232600212,
-0.023519912734627724,
0.005474922712892294,
0.07677355408668518,
-0.0780554860830307,
0.03867164999246597,
0.026867182925343513,
-0.028950324282050133,
0.0020286147482693195,
0.02804228663444519,
0.023608935996890068,
-0.009614498354494572,
0.05466020479798317,
-0.046754948794841766,
-0.07606136798858643,
-0.021579207852482796,
-0.03746093437075615,
-0.008875606581568718,
0.03041030280292034,
-0.05526556074619293,
-0.01930021494626999,
-0.01329115405678749,
0.010157539509236813,
-0.022540656849741936,
-0.025887927040457726,
0.06199571117758751,
0.045330580323934555,
0.05494507774710655,
-0.008345918729901314,
-0.04109307751059532,
-0.04016723856329918,
0.03073078580200672,
0.03952627256512642,
-0.04159160703420639,
-0.013166521675884724,
-0.012881647795438766,
-0.0020709007512778044,
0.049639299511909485,
-0.04066576808691025,
0.0007027263636700809,
0.033864401280879974,
-0.020778000354766846,
-0.02214895561337471,
0.004097289871424437,
-0.0012006994802504778,
0.08061935007572174,
0.002027501817792654,
0.09044750779867172,
-0.0318346731364727,
-0.02852301299571991,
-0.07449455559253693,
0.020671172067523003,
-0.01591733656823635,
0.024499166756868362,
-0.026404261589050293,
0.017991576343774796,
-0.10803847759962082,
-0.0037300693802535534,
-0.08069057017564774,
0.019318019971251488,
0.020012401044368744,
-0.02084921859204769,
0.03044591285288334,
0.016967808827757835,
0.019318019971251488,
-0.02610158361494541,
-0.033989034593105316,
-0.04447595775127411,
-0.048072490841150284,
0.006925999652594328,
-0.0032426677644252777,
0.007121850736439228,
0.07299897074699402,
0.041164297610521317,
-0.02501550130546093,
-0.03966870903968811,
0.06783562898635864,
0.00024940387811511755,
0.007874095812439919,
0.03409586101770401,
-0.045793499797582626,
-0.019887767732143402,
-0.010780701413750648,
0.05316461622714996,
-0.005844368599355221,
0.007246483117341995,
-0.025727685540914536,
0.046113982796669006,
-0.016691837459802628,
-0.018249742686748505,
0.00278642401099205,
0.011768857948482037,
0.005639615468680859,
-0.044369131326675415,
0.0033161118626594543,
0.042481839656829834,
-0.02916397899389267,
-0.017190366983413696,
-0.05295095965266228,
0.03995358198881149,
-0.045971546322107315,
0.05608457326889038,
-0.015000398270785809,
0.021614817902445793,
-0.027454733848571777,
0.016691837459802628,
0.05661871284246445,
0.030356889590620995,
0.03884969651699066,
-0.012623480521142483,
-0.007469040807336569,
-0.047858837991952896,
-0.002926635555922985,
0.03206613287329674,
-0.056155793368816376,
0.043550118803977966,
-0.05875526741147041,
-0.0199055727571249,
0.06438153237104416,
0.051099278032779694,
0.038636039942502975,
-0.057615771889686584,
0.033223435282707214,
-0.004682616796344519,
-0.04992417246103287,
-0.03920578956604004,
-0.04066576808691025,
0.019816549494862556,
0.027330102398991585,
-0.01633574441075325,
-0.030837614089250565,
-0.0068992930464446545,
0.024445753544569016,
-0.010914236307144165,
0.00505651393905282,
0.019887767732143402,
-0.019068755209445953,
-0.011047771200537682,
0.040202848613262177,
-0.03375757113099098,
-0.0026773707941174507,
0.014777840115129948,
0.016041968017816544,
0.007193069439381361,
-0.0398111455142498,
0.014768937602639198,
-0.023074796423316002,
0.02946665696799755,
0.007736110594123602,
0.05932501703500748,
0.06427470594644547,
-0.003672204213216901,
0.025211350992321968,
-0.03167442977428436,
-0.07029266655445099,
-0.06324203312397003,
-0.006271679885685444,
0.014733328483998775,
0.016549400985240936,
-0.01707463711500168,
-0.02996518649160862,
-0.0058710756711661816,
0.015979653224349022,
-0.012614578008651733,
-0.020991655066609383,
-0.0027730707079172134,
0.01833876594901085,
-0.07420968264341354,
-0.019976790994405746,
0.03884969651699066,
-0.04394181817770004,
0.0033005326986312866,
-0.05562165379524231,
-0.024641603231430054,
-0.025264766067266464,
0.009756935760378838,
-0.017306096851825714,
-0.039455052465200424,
-0.06391861289739609,
0.019050950184464455,
0.024463556706905365,
0.053769972175359726,
-0.019068755209445953,
-0.0048117004334926605,
-0.028433989733457565,
-0.00859963521361351,
0.02487306296825409,
0.05401923879981041,
0.0303034745156765,
0.004026071168482304,
0.0058710756711661816,
0.008880057372152805,
-0.006298386957496405,
0.0030423656571656466,
-0.035591449588537216,
-0.05195390060544014,
0.02138335630297661,
0.0334014818072319,
-0.03171003982424736,
-0.029359830543398857,
-0.014421747997403145,
0.07079119980335236,
0.029057150706648827,
-0.03233320266008377,
-0.028255943208932877,
-0.01609538309276104,
0.04696860536932945,
0.011448374949395657,
0.007713854778558016,
-0.00809665396809578,
-0.05020904913544655,
0.03404244780540466,
-0.002314601559191942,
0.06744392961263657,
-0.025870122015476227,
-0.04194770008325577,
0.026884986087679863,
-0.043265242129564285,
-0.05373436585068703,
0.034327320754528046,
0.005684127099812031,
0.050137829035520554,
-0.029893968254327774,
-0.03678435832262039,
0.01218726672232151,
0.04832175746560097,
-0.011804467998445034,
0.036748748272657394,
-0.03379318118095398,
-0.01848120242357254,
-0.02822033315896988,
-0.04604276642203331,
0.01689659059047699,
-0.022700900211930275,
-0.0026106033474206924,
-0.009988395497202873,
-0.0008412686293013394,
-0.027597172185778618,
0.00565742002800107,
0.0494256429374218,
0.07463699579238892,
0.058221131563186646,
-0.013994436711072922,
-0.004431126639246941,
-0.029893968254327774,
-0.018427789211273193,
0.003527541644871235,
-0.0191399734467268,
-0.021418966352939606,
-0.09229918569326401,
-0.0366419218480587,
0.03473682701587677,
0.04892711341381073,
-0.060963042080402374,
-0.03813751041889191,
-0.020154837518930435,
-0.06869024783372879,
-0.0003588745021261275,
0.03366854786872864,
-0.0014566410100087523,
0.0015712582971900702,
0.03215515613555908,
0.04112868756055832,
-0.036748748272657394,
0.020617758855223656,
0.025763295590877533,
0.07196630537509918,
-0.04034528508782387,
0.039134569466114044,
0.033045388758182526,
0.056333839893341064,
-0.06662491708993912,
-0.02806009165942669,
-0.012116048485040665,
0.01346920058131218,
-0.014003339223563671,
-0.011991416104137897,
0.013282251544296741,
-0.06965170055627823,
-0.011092282831668854,
0.01833876594901085,
0.008296956308186054,
-0.04127112403512001,
0.0223270021378994,
-0.0012574518332257867,
-0.01520515140146017,
0.08945044875144958,
-0.006338447332382202,
0.00046598046901635826,
-0.05302217975258827,
-0.018249742686748505,
-0.02647547982633114,
-0.030962245538830757,
0.02916397899389267,
0.008937922306358814,
-0.039277005940675735,
-0.030534934252500534,
-0.011029966175556183,
-0.05555043742060661,
-0.027775218710303307,
0.01329115405678749,
-0.041199907660484314,
0.017608776688575745,
-0.044404737651348114,
-0.03746093437075615,
-0.01100325956940651,
0.059823546558618546,
0.005759796593338251,
-0.034505367279052734,
-0.0010415706783533096,
0.019816549494862556,
0.046470075845718384,
0.04447595775127411,
0.0022878944873809814,
-0.023555520921945572,
-0.030962245538830757,
0.00681026978418231,
0.014644305221736431,
-0.0011951355263590813,
-0.07371115684509277,
-0.010896431282162666,
-0.03803068399429321,
0.014804547652602196,
-0.028131309896707535,
-0.06334885954856873,
0.02070678025484085,
-0.0493900366127491,
0.003856927389279008,
0.01681647077202797,
0.007179715670645237,
0.02120530977845192,
0.04347889870405197,
0.010219856165349483,
0.056155793368816376,
0.025531835854053497,
-0.008034338243305683,
0.018205231055617332,
-0.032902952283620834,
-0.00689484179019928,
0.05213194712996483,
-0.008817741647362709,
0.011056673713028431,
0.026974009349942207,
-0.06171083822846413,
0.05466020479798317,
-0.02578110061585903,
0.010807408951222897,
0.049959782510995865,
0.01100325956940651,
0.0010371195385232568,
-0.008114458993077278,
-0.021775059401988983,
0.03749654442071915,
-0.025086719542741776,
0.04048772156238556,
0.06131913512945175,
-0.04768079146742821,
0.053769972175359726,
-0.006409665569663048,
-0.03792385384440422,
0.00859963521361351,
-0.05433972179889679,
-0.026048168540000916,
0.06035768613219261,
0.0005385899567045271,
-0.0605357326567173,
-0.00604912219569087,
0.07075558602809906,
0.03717606142163277,
-0.020778000354766846,
-0.02994738332927227,
-0.0366063117980957,
0.026831572875380516,
-0.02359113097190857,
-0.06263668090105057,
-0.01132374256849289,
-0.011021063663065434,
0.028647644445300102,
0.03616119548678398,
-0.03318782523274422,
0.014234798960387707,
-0.05466020479798317,
0.038814086467027664,
-0.06452396512031555,
0.07196630537509918,
0.013282251544296741,
0.04244622960686684,
-0.004753835499286652,
-0.020493125542998314,
0.026172801852226257,
-0.03295636549592018,
-0.012044830247759819,
-0.015356490388512611,
-0.005839917808771133,
-0.10461998730897903,
-0.04814371094107628,
-0.05337827280163765,
0.01122581772506237,
-0.014314919710159302,
0.037211671471595764,
0.032440029084682465,
0.011208012700080872,
-0.048855897039175034,
0.009124871343374252,
0.03363294154405594,
-0.03838677704334259,
0.02138335630297661,
0.05366314575076103,
0.03172784671187401,
0.006707893218845129,
0.08738511055707932,
0.024089660495519638,
-0.055799700319767,
0.07118289917707443,
0.03920578956604004,
0.03792385384440422,
-0.027276689186692238,
0.00013603847764898092,
0.002171051688492298,
-0.030962245538830757,
0.03281392902135849,
-0.018694858998060226,
-0.028629839420318604,
0.03781702741980553,
-0.011697639711201191,
0.047217871993780136,
-0.047395918518304825,
-0.014857960864901543,
-0.0017860266380012035,
0.04796566441655159,
-0.028433989733457565,
-0.011430570855736732,
-0.06010841950774193,
0.037354107946157455,
-0.04490327090024948,
-0.0016569431172683835,
0.006983865052461624,
-0.01465320773422718,
0.03585851937532425,
-0.026012560352683067,
0.005109928082674742,
0.03445195406675339,
0.05220316722989082,
0.012124950997531414,
-0.0541260652244091,
0.020671172067523003,
0.0004298148269299418,
0.014688816852867603,
0.008065495640039444,
0.039775535464286804,
0.06911756098270416,
-0.01808059774339199,
0.037852637469768524,
0.09144456684589386,
-0.03856482356786728,
-0.026065973564982414,
-0.048820286989212036,
0.0493544265627861,
-0.04223257675766945,
-0.047395918518304825,
-0.03521755337715149,
0.05245243012905121,
0.0019607346039265394,
-0.018694858998060226,
0.041342344135046005,
0.02277211844921112,
0.01322883740067482
] |
730,064 | mmengine.config.config | values | Yield the values of the dictionary.
If class attribute ``lazy`` is False, the value of ``LazyObject`` or
``LazyAttr`` will be built and returned.
| def values(self):
"""Yield the values of the dictionary.
If class attribute ``lazy`` is False, the value of ``LazyObject`` or
``LazyAttr`` will be built and returned.
"""
values = []
for value in super().values():
values.append(self.build_lazy(value))
return values
| (self) | [
0.04143040254712105,
-0.05642925947904587,
-0.013976206071674824,
-0.026256736367940903,
0.026116887107491493,
0.04405258223414421,
0.007735423278063536,
-0.04877249896526337,
0.10537657141685486,
-0.01873982883989811,
-0.00484665809199214,
0.08167208731174469,
0.02658887952566147,
0.010750927031040192,
0.004680586513131857,
0.010401303879916668,
0.012298012152314186,
0.028791507706046104,
-0.02291783131659031,
0.0017830806318670511,
0.003008948639035225,
-0.004407443106174469,
-0.025033053010702133,
-0.015890395268797874,
-0.031885676085948944,
-0.025679858401417732,
-0.0091251777485013,
-0.0008631334058009088,
0.01635364629328251,
-0.004344074055552483,
-0.04828302562236786,
0.019561443477869034,
0.004247927572578192,
-0.008023862726986408,
0.0224808007478714,
-0.0880352333188057,
0.004132114816457033,
0.035714056342840195,
-0.05125482752919197,
0.04324844479560852,
0.033179283142089844,
-0.043213482946157455,
-0.06705781817436218,
-0.016607124358415604,
-0.019911067560315132,
-0.029438311234116554,
0.048038288950920105,
0.014002427458763123,
0.04080108180642128,
-0.08209163695573807,
0.0436679944396019,
0.025033053010702133,
0.009955533780157566,
-0.01045374758541584,
-0.012481564655900002,
0.0506255067884922,
-0.008884810842573643,
0.03048718348145485,
-0.029246019199490547,
0.092300646007061,
-0.012691338546574116,
-0.04153529182076454,
-0.003159723710268736,
-0.06569428741931915,
0.024106550961732864,
-0.042059727013111115,
-0.020120840519666672,
0.007259061094373465,
-0.0025129199493676424,
-0.027515381574630737,
-0.04608039930462837,
-0.027847524732351303,
0.03055710718035698,
0.04384280741214752,
-0.009387395344674587,
-0.027427975088357925,
-0.014220941811800003,
0.009876868687570095,
0.06950518488883972,
-0.05996045842766762,
-0.03344150260090828,
-0.013346883468329906,
-0.034630224108695984,
-0.012062015943229198,
-0.0660439059138298,
-0.016554679721593857,
-0.000024873128495528363,
-0.022043772041797638,
0.019718773663043976,
0.10432770103216171,
-0.04562588781118393,
0.09195102006196976,
-0.0091513991355896,
0.045940548181533813,
-0.03483999893069267,
0.015741804614663124,
0.0059610833413898945,
0.04737400636076927,
-0.04370295628905296,
0.05209392309188843,
0.02335486002266407,
-0.02134452387690544,
0.02651895396411419,
0.029315942898392677,
0.001134091755375266,
-0.05457625165581703,
-0.014011167921125889,
-0.0340183824300766,
0.07160292565822601,
0.00991183053702116,
-0.021466892212629318,
-0.010541153140366077,
0.017900731414556503,
0.01982366107404232,
-0.02249828167259693,
-0.03440296649932861,
-0.026903539896011353,
-0.016703270375728607,
-0.0053667230531573296,
0.014937670901417732,
-0.033056918531656265,
0.024491136893630028,
-0.028774026781320572,
0.0680367648601532,
-0.009728278033435345,
0.04929693415760994,
0.016991710290312767,
-0.02026069164276123,
0.00423700176179409,
0.03957739844918251,
0.03424563631415367,
-0.0016486940439790487,
0.014579306356608868,
-0.005742568522691727,
0.035346951335668564,
-0.051359716802835464,
0.07093863934278488,
-0.026204293593764305,
0.040905967354774475,
0.05188415199518204,
0.008233637548983097,
0.010209010913968086,
-0.0039048593025654554,
0.023879295215010643,
0.0240715891122818,
-0.050415731966495514,
0.05209392309188843,
0.09824424982070923,
-0.0023402932565659285,
-0.028634177520871162,
0.026361623778939247,
0.03594131022691727,
0.05198903754353523,
0.04195483773946762,
-0.02781256102025509,
-0.00000809187531558564,
-0.03344150260090828,
-0.055834896862506866,
-0.021292081102728844,
-0.0762878805398941,
-0.03410578891634941,
0.04020671918988228,
-0.05090520530939102,
-0.025924593210220337,
-0.00006712500908179209,
0.04370295628905296,
0.059715721756219864,
-0.06254766881465912,
0.009361173026263714,
0.04258416220545769,
-0.022323470562696457,
-0.08356005698442459,
0.021956365555524826,
0.04265408590435982,
0.0174549613147974,
0.05552023649215698,
-0.0022791093215346336,
0.007543130312114954,
0.023809371516108513,
0.07125329971313477,
-0.019718773663043976,
-0.01968381181359291,
-0.059296172112226486,
-0.03545183688402176,
0.044087544083595276,
-0.01290985383093357,
0.0343155600130558,
-0.007075508590787649,
0.04412250593304634,
0.034490372985601425,
-0.012070756405591965,
-0.0171577800065279,
0.020645277574658394,
-0.04013679549098015,
-0.006843883078545332,
0.0054104262962937355,
-0.04800332710146904,
-0.00858326070010662,
-0.04534618929028511,
0.04982136934995651,
-0.07467961311340332,
-0.07537885755300522,
-0.014736637473106384,
-0.040626268833875656,
-0.017559848725795746,
0.02263813093304634,
-0.017673475667834282,
-0.024630986154079437,
0.004239186644554138,
-0.015016335994005203,
-0.02776011824607849,
0.001606083707883954,
-0.023040199652314186,
0.0174549613147974,
0.022725537419319153,
-0.05961083248257637,
0.01968381181359291,
-0.04656987264752388,
-0.06457548588514328,
0.011590024456381798,
0.05684880539774895,
-0.0005976379616186023,
0.02169414795935154,
-0.014142276719212532,
0.03950747475028038,
-0.035207103937864304,
-0.027427975088357925,
-0.056324370205402374,
-0.03912288695573807,
-0.0031160209327936172,
0.011406471952795982,
0.01722770556807518,
-0.0125077860429883,
0.005996045656502247,
0.0757984071969986,
0.054890915751457214,
0.013906280510127544,
0.00923006422817707,
0.005899899173527956,
0.06957510858774185,
-0.005130727309733629,
0.03368623927235603,
-0.02370448410511017,
0.005170059856027365,
-0.048108216375112534,
0.03221781924366951,
-0.006896326784044504,
0.07167284935712814,
0.013880059123039246,
0.027515381574630737,
-0.0076960907317698,
-0.012385417707264423,
-0.004531996790319681,
0.008749332278966904,
0.008919773623347282,
-0.06017022952437401,
0.043073635548353195,
0.012280531227588654,
0.017568588256835938,
-0.010497449897229671,
0.015243591740727425,
-0.008530816994607449,
-0.021589260548353195,
0.08558787405490875,
-0.01271756086498499,
0.011441433802247047,
0.04604543372988701,
-0.019369151443243027,
-0.07069390267133713,
0.06205819919705391,
0.06212812289595604,
-0.00948354136198759,
-0.035504281520843506,
-0.023529671132564545,
-0.0012925149640068412,
0.019421594217419624,
0.01693052612245083,
-0.00948354136198759,
-0.06010030582547188,
-0.008666296489536762,
-0.019771218299865723,
-0.003153168363496661,
0.002545697148889303,
-0.03452533483505249,
-0.011091810651123524,
-0.05268828570842743,
-0.056394293904304504,
0.01816294901072979,
0.008959106169641018,
0.007905865088105202,
0.06461045145988464,
-0.011922166682779789,
0.025033053010702133,
-0.04772362858057022,
0.04384280741214752,
-0.05541535094380379,
-0.017184002324938774,
0.009999237023293972,
-0.03321424871683121,
0.004300370812416077,
0.07009954005479813,
-0.0018180430633947253,
-0.01008664257824421,
0.05356234312057495,
-0.0043178522028028965,
-0.005615829955786467,
0.04230446368455887,
0.028144704177975655,
-0.01434331014752388,
0.02370448410511017,
-0.009221323765814304,
0.026693766936659813,
0.03403586149215698,
0.036081161350011826,
-0.05230369791388512,
-0.08034351468086243,
-0.040241681039333344,
-0.011284103617072105,
0.020068397745490074,
0.01672075130045414,
-0.06950518488883972,
0.012166903354227543,
0.008985327556729317,
0.009999237023293972,
-0.02963060513138771,
0.06384128332138062,
0.03529450669884682,
0.03971724584698677,
-0.0005817956407554448,
-0.03546931967139244,
-0.025330234318971634,
-0.016913045197725296,
0.0017896360950544477,
0.08411945402622223,
0.026990946382284164,
0.06635856628417969,
0.0336163155734539,
0.024963129311800003,
0.00969331618398428,
-0.10355852544307709,
-0.019911067560315132,
-0.02783004380762577,
-0.050485655665397644,
0.00771357212215662,
-0.0403815321624279,
-0.017690956592559814,
0.012857410125434399,
-0.005668273661285639,
0.0807630643248558,
-0.020295653492212296,
0.011878463439643383,
-0.042339425534009933,
0.03611612319946289,
0.03733980655670166,
0.024263881146907806,
-0.012778745032846928,
0.011511358432471752,
-0.019211819395422935,
-0.013941243290901184,
0.01924678310751915,
0.06646345555782318,
-0.001801654347218573,
-0.032043006271123886,
0.0021348893642425537,
0.0487375371158123,
-0.008823626674711704,
-0.01629246212542057,
-0.0007041639182716608,
0.004942804574966431,
-0.025784743949770927,
0.0013821059837937355,
0.031833235174417496,
-0.006822031456977129,
-0.005642051808536053,
0.016406090930104256,
-0.07258187234401703,
-0.010348860174417496,
0.02421143837273121,
-0.0038633414078503847,
0.07065894454717636,
0.016633344814181328,
-0.021362004801630974,
0.0034437929280102253,
0.004035967867821455,
-0.014474418945610523,
-0.012735041789710522,
0.07481946051120758,
-0.03288210555911064,
0.0022441467735916376,
-0.0066821821965277195,
-0.013145849108695984,
-0.03782927989959717,
-0.08943372964859009,
0.005043321289122105,
-0.026781171560287476,
-0.07537885755300522,
0.06205819919705391,
-0.026973465457558632,
0.024263881146907806,
-0.02781256102025509,
0.030819324776530266,
-0.031745828688144684,
0.016677048057317734,
-0.006498629692941904,
-0.0266588032245636,
-0.10285928100347519,
0.044227391481399536,
-0.02307516150176525,
0.03165842220187187,
-0.017271408811211586,
0.00003322107659187168,
-0.029857860878109932,
-0.03179827332496643,
-0.051359716802835464,
0.06807172298431396,
-0.08195178210735321,
-0.009466060437262058,
0.006603516638278961,
0.015435884706676006,
0.03674544766545296,
0.057478129863739014,
-0.027008427307009697,
-0.03207797184586525,
0.015365960076451302,
-0.021064825356006622,
0.013705247081816196,
0.003354202024638653,
0.0038830076809972525,
0.010095383040606976,
0.0035246433690190315,
0.014116055332124233,
-0.014614269137382507,
-0.06551947444677353,
-0.03293455019593239,
0.012481564655900002,
-0.02781256102025509,
-0.022288508713245392,
-0.018582496792078018,
-0.01973625458776951,
0.0032908327411860228,
-0.03782927989959717,
0.010296416468918324,
0.04618528485298157,
0.011292844079434872,
0.08160216361284256,
-0.02723568305373192,
-0.0073333559557795525,
0.024491136893630028,
0.08174201101064682,
-0.04534618929028511,
-0.008286080323159695,
-0.006358780432492495,
0.06527473777532578,
-0.008570149540901184,
0.0077048311941325665,
0.07107848674058914,
-0.04870257526636124,
-0.045451074838638306,
-0.013005999848246574,
0.036081161350011826,
0.03440296649932861,
-0.016755713149905205,
0.018984563648700714,
-0.052443549036979675,
-0.040626268833875656,
-0.01707911491394043,
-0.025102978572249413,
0.03020748309791088,
-0.07016947120428085,
-0.015689361840486526,
0.030469702556729317,
0.0009390672785229981,
-0.0018868751358240843,
-0.11551565676927567,
-0.039822135120630264,
-0.0018180430633947253,
-0.014177239499986172,
0.026903539896011353,
-0.04636009782552719,
-0.08572772145271301,
0.008928514085710049,
-0.021222155541181564,
0.03127383440732956,
-0.03494488447904587,
0.009640872478485107,
0.006450556684285402,
0.02942083030939102,
-0.007927716709673405,
0.017752140760421753,
0.027515381574630737,
-0.004162706434726715,
0.020785126835107803,
0.013626581989228725,
0.0011406472185626626,
0.01896708272397518,
0.015322256833314896,
0.028564251959323883,
0.030941693112254143,
0.022236064076423645,
0.016449792310595512,
-0.04394769296050072,
-0.006363150663673878,
0.05198903754353523,
0.06223301216959953,
-0.01873982883989811,
0.0032711662352085114,
0.03120391070842743,
0.004571329336613417,
0.0046456241980195045,
-0.02293531224131584,
0.028284553438425064,
-0.00007559245568700135,
-0.02810974232852459,
-0.022008808329701424,
0.009903090074658394,
-0.06831645965576172,
-0.01866990327835083,
0.023756926879286766,
-0.06499503552913666,
-0.009195102378726006,
0.017857028171420097,
0.014544344507157803,
-0.019439075142145157,
0.0024582913611084223,
-0.056184522807598114,
0.0333191342651844,
-0.015129963867366314,
-0.01686934195458889,
0.01398494653403759,
0.007328985724598169,
0.05017099529504776,
-0.06940029561519623,
0.005550275556743145,
0.055764973163604736,
-0.03344150260090828,
-0.016196316108107567,
0.020802607759833336,
-0.01563691720366478,
-0.016825638711452484,
0.06988976895809174,
0.04758378118276596,
0.060449931770563126,
0.056988656520843506,
0.06670819222927094,
0.03678040951490402,
-0.03382609039545059,
-0.041045818477869034,
-0.002709583379328251,
-0.004009746480733156,
-0.025854669511318207,
-0.00756935216486454,
-0.018495092168450356,
-0.0019895771984010935,
-0.062163084745407104,
0.004741770680993795,
-0.030364815145730972,
0.04139544069766998,
-0.030102597549557686,
-0.048912350088357925,
0.019666330888867378,
0.06866608560085297,
-0.012551489286124706,
-0.04947174713015556,
-0.00858326070010662,
-0.05254843458533287,
0.034123267978429794,
-0.011152994818985462,
0.08943372964859009,
-0.02644903026521206,
-0.006730255205184221,
0.014212201349437237,
0.018320279195904732,
-0.021204674616456032,
0.05884166061878204,
0.06433074921369553,
0.06569428741931915,
-0.01917685754597187,
-0.003190315794199705,
0.017262667417526245,
-0.03368623927235603,
0.001656342064961791,
0.015663139522075653,
0.014605528675019741,
-0.027078352868556976,
-0.008390967734158039,
0.02358211576938629,
-0.023337379097938538,
0.08768561482429504,
0.020383059978485107,
-0.015164925716817379,
0.013390585780143738,
0.0087274806573987,
-0.04303867369890213,
-0.007324615493416786,
0.003612049389630556,
-0.04230446368455887,
-0.041115742176771164,
0.014151017181575298,
-0.061813462525606155,
-0.013644062913954258,
-0.022375913336873055,
0.033266689628362656,
0.02125711739063263,
0.04244431108236313,
-0.0327247753739357,
-0.0680367648601532,
0.023092642426490784,
0.03162346035242081,
0.006572924554347992,
0.007634906563907862,
-0.07174277305603027,
-0.019264264032244682,
0.025714820250868797,
-0.0071323225274682045,
0.013207033276557922,
-0.01322451513260603,
-0.04363303259015083,
0.012770003639161587,
-0.002331552794203162,
-0.015872914344072342,
-0.03796912729740143,
-0.036151085048913956,
-0.017708437517285347,
0.058422114700078964,
-0.011677430011332035,
-0.061533764004707336,
0.022253545001149178,
-0.046325135976076126,
0.0025260308757424355,
0.0047461409121751785,
0.008150601759552956,
0.017603551968932152,
0.0166595671325922,
0.004001005552709103,
-0.03048718348145485,
0.02436876855790615,
0.014072352088987827,
0.013023480772972107,
-0.020085878670215607,
-0.05125482752919197,
-0.012096978724002838,
-0.013906280510127544,
-0.034070827066898346,
0.042059727013111115,
-0.040626268833875656,
0.00652485154569149,
-0.053597304970026016,
0.009938052855432034,
0.059575870633125305,
-0.024963129311800003,
-0.003985709510743618,
0.00781845860183239,
-0.0030919841956347227,
0.026693766936659813,
-0.013906280510127544,
-0.03144864737987518,
0.039961982518434525,
-0.00918636191636324,
0.02192140370607376,
0.022166140377521515,
-0.02019076608121395,
0.004064375068992376,
-0.03814394026994705,
-0.05083527788519859,
0.04017175734043121,
0.026501473039388657,
-0.05744316801428795,
0.035207103937864304,
0.032759737223386765,
0.010759668424725533,
0.01355665735900402,
0.04034657031297684,
-0.003557420801371336,
-0.03466518595814705,
-0.01055863406509161,
0.011397731490433216,
-0.011423952877521515,
0.013460510410368443,
0.061079252511262894,
0.011118032038211823,
0.032043006271123886,
-0.012411640025675297,
-0.01679941639304161,
0.06205819919705391,
-0.0449616014957428,
-0.04139544069766998,
-0.012778745032846928,
-0.002560993190854788,
-0.004698067903518677,
-0.04087100550532341,
0.012586452066898346,
-0.05887662246823311,
0.0253651961684227,
0.0002687731757760048,
0.0011286288499832153,
0.016467275097966194,
-0.004064375068992376,
-0.03611612319946289,
0.05765293911099434,
0.03422815725207329,
-0.01779584400355816,
0.021309562027454376,
-0.006564184091985226,
-0.0032077969517558813,
0.006677811965346336,
0.017262667417526245,
0.0337212011218071,
0.026798652485013008,
0.03772439435124397,
0.04370295628905296,
0.03936762362718582,
0.1066352128982544,
-0.04160521551966667,
-0.053212720900774,
0.0023708853404968977,
-0.02667628414928913,
0.0009751222096383572,
0.009719537571072578,
-0.006065970286726952,
0.05646422132849693,
0.011109291575849056,
0.011126772500574589,
0.002554437844082713,
0.025557490065693855,
0.0017710623797029257,
0.08342020213603973,
0.002281294437125325,
0.014614269137382507,
-0.03279469907283783,
0.008093787357211113,
0.025784743949770927,
-0.01709659770131111,
-0.028214629739522934,
-0.01381013449281454,
-0.02342478558421135,
-0.02730560675263405,
-0.017140299081802368,
0.02688605897128582,
-0.03964732214808464,
0.011712392792105675,
-0.02891387604176998,
-0.002637473400682211,
0.024263881146907806,
0.07432998716831207,
-0.011677430011332035,
-0.055974747985601425,
0.026693766936659813,
0.0035705314949154854,
-0.0031335020903497934,
-0.0057381982915103436,
-0.008941625244915485,
0.10376830399036407,
-0.0001989850279642269,
0.005183170549571514,
0.06562436372041702,
-0.011485137045383453,
-0.032899584621191025,
-0.08188185840845108,
-0.049192048609256744,
-0.032043006271123886,
-0.07677735388278961,
-0.027777599170804024,
-0.034123267978429794,
0.01773465983569622,
-0.00563768157735467,
0.015899136662483215,
0.0324275940656662,
-0.024019144475460052
] |
730,065 | mmengine.registry.default_scope | DefaultScope | Scope of current task used to reset the current registry, which can be
accessed globally.
Consider the case of resetting the current ``Registry`` by
``default_scope`` in the internal module which cannot access runner
directly, it is difficult to get the ``default_scope`` defined in
``Runner``. However, if ``Runner`` created ``DefaultScope`` instance
by given ``default_scope``, the internal module can get
``default_scope`` by ``DefaultScope.get_current_instance`` everywhere.
Args:
name (str): Name of default scope for global access.
scope_name (str): Scope of current task.
Examples:
>>> from mmengine.model import MODELS
>>> # Define default scope in runner.
>>> DefaultScope.get_instance('task', scope_name='mmdet')
>>> # Get default scope globally.
>>> scope_name = DefaultScope.get_instance('task').scope_name
| class DefaultScope(ManagerMixin):
"""Scope of current task used to reset the current registry, which can be
accessed globally.
Consider the case of resetting the current ``Registry`` by
``default_scope`` in the internal module which cannot access runner
directly, it is difficult to get the ``default_scope`` defined in
``Runner``. However, if ``Runner`` created ``DefaultScope`` instance
by given ``default_scope``, the internal module can get
``default_scope`` by ``DefaultScope.get_current_instance`` everywhere.
Args:
name (str): Name of default scope for global access.
scope_name (str): Scope of current task.
Examples:
>>> from mmengine.model import MODELS
>>> # Define default scope in runner.
>>> DefaultScope.get_instance('task', scope_name='mmdet')
>>> # Get default scope globally.
>>> scope_name = DefaultScope.get_instance('task').scope_name
"""
def __init__(self, name: str, scope_name: str):
super().__init__(name)
assert isinstance(
scope_name,
str), (f'scope_name should be a string, but got {scope_name}')
self._scope_name = scope_name
@property
def scope_name(self) -> str:
"""
Returns:
str: Get current scope.
"""
return self._scope_name
@classmethod
def get_current_instance(cls) -> Optional['DefaultScope']:
"""Get latest created default scope.
Since default_scope is an optional argument for ``Registry.build``.
``get_current_instance`` should return ``None`` if there is no
``DefaultScope`` created.
Examples:
>>> default_scope = DefaultScope.get_current_instance()
>>> # There is no `DefaultScope` created yet,
>>> # `get_current_instance` return `None`.
>>> default_scope = DefaultScope.get_instance(
>>> 'instance_name', scope_name='mmengine')
>>> default_scope.scope_name
mmengine
>>> default_scope = DefaultScope.get_current_instance()
>>> default_scope.scope_name
mmengine
Returns:
Optional[DefaultScope]: Return None If there has not been
``DefaultScope`` instance created yet, otherwise return the
latest created DefaultScope instance.
"""
_accquire_lock()
if cls._instance_dict:
instance = super().get_current_instance()
else:
instance = None
_release_lock()
return instance
@classmethod
@contextmanager
def overwrite_default_scope(cls, scope_name: Optional[str]) -> Generator:
"""overwrite the current default scope with `scope_name`"""
if scope_name is None:
yield
else:
tmp = copy.deepcopy(cls._instance_dict)
# To avoid create an instance with the same name.
time.sleep(1e-6)
cls.get_instance(f'overwrite-{time.time()}', scope_name=scope_name)
try:
yield
finally:
cls._instance_dict = tmp
| (name: str, scope_name: str) | [
0.0836733877658844,
0.004491348285228014,
-0.05334368720650673,
-0.01107834093272686,
0.01684136502444744,
-0.0001967643911484629,
0.0033839901443570852,
-0.010287711396813393,
0.04930480942130089,
-0.018422624096274376,
0.014107500202953815,
-0.03817883878946304,
-0.02958669513463974,
0.003514968091621995,
-0.01057348120957613,
-0.005139092914760113,
0.00002461415351717733,
-0.013793153688311577,
-0.018851278349757195,
-0.02440473809838295,
0.05627759173512459,
0.01570781134068966,
0.009539946913719177,
-0.07856763154268265,
-0.014707616530358791,
0.04659952223300934,
0.010440122336149216,
0.017479583621025085,
-0.01694614626467228,
-0.00781104015186429,
-0.004112703260034323,
-0.05311507359147072,
-0.027776820585131645,
0.054105740040540695,
0.055248819291591644,
-0.055477436631917953,
-0.0711757242679596,
0.10066716372966766,
-0.09792377054691315,
-0.07220449298620224,
0.011545098386704922,
-0.0016955672763288021,
0.010878302156925201,
-0.022461503744125366,
-0.0015503009781241417,
0.029053259640932083,
0.10683979094028473,
-0.0014609978534281254,
0.033873241394758224,
-0.01300252415239811,
0.061764370650053024,
-0.03316834196448326,
-0.024290429428219795,
0.03208241984248161,
-0.04911429435014725,
-0.012202369049191475,
0.006120235659182072,
-0.024461891502141953,
-0.01942281797528267,
-0.008968407288193703,
0.04919050261378288,
-0.01593642681837082,
0.039283815771341324,
0.0011246231151744723,
-0.04290356487035751,
-0.022785374894738197,
-0.026119356974959373,
-0.0026409889105707407,
0.0028124507516622543,
0.09091288596391678,
-0.04435146600008011,
-0.0209183469414711,
0.004169857129454613,
-0.030386850237846375,
0.037816863507032394,
-0.0074014365673065186,
-0.06100231781601906,
-0.019441869109869003,
0.05646810308098793,
0.010783045552670956,
0.001584831508807838,
0.011821342632174492,
-0.019184676930308342,
0.008882676251232624,
0.019641907885670662,
0.006687012501060963,
0.007168058305978775,
0.012469086796045303,
0.045113518834114075,
-0.11133589595556259,
0.009058901108801365,
0.07948209345340729,
0.05044788867235184,
-0.0025957420002669096,
0.04450387880206108,
-0.06767027825117111,
0.0033839901443570852,
-0.00995431374758482,
-0.04294167086482048,
-0.04762829467654228,
-0.10394398868083954,
0.030424954369664192,
-0.018546458333730698,
-0.01583164557814598,
-0.0256049707531929,
-0.008277797140181065,
0.016069786623120308,
0.021985219791531563,
-0.02257581055164337,
-0.00663938419893384,
-0.06911817938089371,
-0.03568311780691147,
-0.01639365777373314,
0.054220050573349,
0.01013530045747757,
0.017089031636714935,
-0.05772549286484718,
0.026081252843141556,
0.07209018617868423,
-0.021127911284565926,
-0.053000763058662415,
0.07612906396389008,
-0.01867029070854187,
-0.029605746269226074,
0.030748825520277023,
0.007506219204515219,
0.005543933250010014,
0.027643460780382156,
0.06149765104055405,
-0.019660959020256996,
0.06942299753427505,
-0.008368290960788727,
-0.03920761123299599,
0.005220061168074608,
0.039702944457530975,
0.029053259640932083,
0.008454021997749805,
0.08123482018709183,
-0.06561273336410522,
0.05643000081181526,
0.002393321832641959,
-0.03629275783896446,
-0.009258939884603024,
0.014183705672621727,
0.03459719195961952,
0.00964472908526659,
-0.030120132490992546,
0.04789501056075096,
0.015155322849750519,
-0.04092222824692726,
0.041951000690460205,
0.04336079955101013,
0.007068038918077946,
0.08946498483419418,
-0.013821730390191078,
0.016088837757706642,
-0.04877137392759323,
0.0019825277850031853,
0.0034601956140249968,
-0.03678809478878975,
-0.03905520215630531,
0.010906878858804703,
0.0014336116146296263,
-0.052086301147937775,
0.03739773482084274,
0.02972005493938923,
-0.0743001401424408,
-0.043094079941511154,
0.021451782435178757,
0.04156997427344322,
-0.06523171067237854,
-0.008701689541339874,
0.03863606974482536,
-0.029529541730880737,
-0.012659600004553795,
0.050524093210697174,
-0.039436228573322296,
0.0021504175383597612,
0.026081252843141556,
0.028519822284579277,
-0.011830868199467659,
-0.02916756644845009,
-0.037092916667461395,
-0.032139573246240616,
-0.027605358511209488,
0.022690119221806526,
0.02568117529153824,
0.002771966625005007,
0.01908941939473152,
0.028157847002148628,
-0.027814922854304314,
0.03977914899587631,
0.05040978640317917,
0.019108470529317856,
0.002043253742158413,
0.029053259640932083,
-0.011878496035933495,
0.014545680955052376,
-0.00852070190012455,
0.029339028522372246,
-0.013412127271294594,
0.026500381529331207,
0.026081252843141556,
0.010116249322891235,
-0.02072783373296261,
0.04278925806283951,
0.01596500352025032,
0.016317453235387802,
-0.0876360610127449,
0.05239112302660942,
-0.09860961884260178,
0.0022492462303489447,
-0.0418366938829422,
0.06138334423303604,
0.022690119221806526,
-0.014259911142289639,
0.05848754569888115,
0.032139573246240616,
0.06031646952033043,
0.06412673741579056,
0.025109635666012764,
-0.033092137426137924,
0.008711215108633041,
-0.007911059074103832,
-0.008801708929240704,
-0.05079081282019615,
0.0010412735864520073,
-0.052734047174453735,
-0.0019360901787877083,
0.008668349124491215,
0.050714608281850815,
-0.04968583583831787,
-0.001622934127226472,
-0.041951000690460205,
0.02242339961230755,
-0.04835224151611328,
0.013974141329526901,
-0.008153963834047318,
-0.03200621157884598,
0.0185750350356102,
-0.006606044247746468,
0.029967721551656723,
0.024671455845236778,
0.0425606444478035,
0.032920677214860916,
0.00587256858125329,
-0.019213253632187843,
-0.006777506321668625,
0.052276816219091415,
-0.06248832121491432,
0.0021599431056529284,
0.03244439512491226,
-0.05867805704474449,
0.013916986994445324,
-0.0348067581653595,
-0.008935067802667618,
-0.0357021689414978,
-0.0010305572068318725,
0.016136465594172478,
0.020308705046772957,
0.015984054654836655,
0.043551310896873474,
-0.06123093515634537,
0.014364693313837051,
-0.026728998869657516,
0.023318812251091003,
0.0028386462945491076,
-0.028176898136734962,
-0.019889574497938156,
-0.006072607357054949,
0.00033310038270428777,
0.060164060443639755,
0.02701476775109768,
-0.0333588570356369,
-0.01566970907151699,
-0.053419895470142365,
0.013069204054772854,
0.00014928492601029575,
-0.06656530499458313,
-0.02274727262556553,
-0.0003301236138213426,
0.0355878621339798,
0.003162518609315157,
0.009016036055982113,
-0.02215668186545372,
-0.0026338447351008654,
-0.02137557789683342,
-0.06245021894574165,
0.009258939884603024,
-0.004462771117687225,
-0.02381414733827114,
0.012192843481898308,
0.0092875175178051,
0.02453809604048729,
0.035111576318740845,
-0.036254655569791794,
-0.06077370047569275,
0.05776359513401985,
0.0036292760632932186,
0.007720546331256628,
0.01769867353141308,
0.013183511793613434,
-0.026214612647891045,
0.04682813957333565,
0.03697860613465309,
0.026995716616511345,
0.025528764352202415,
-0.013631217181682587,
0.010649686679244041,
-0.010649686679244041,
-0.005882094148546457,
-0.006558415945619345,
0.04587557166814804,
-0.02166134864091873,
0.011602251790463924,
0.019146574661135674,
0.03545450046658516,
-0.04313218221068382,
0.054753486067056656,
0.07902486622333527,
-0.034978218376636505,
0.054753486067056656,
0.012707228772342205,
0.006496499292552471,
-0.02270917035639286,
0.00913986936211586,
-0.029834363609552383,
0.0682799220085144,
-0.0170414038002491,
0.05402953550219536,
-0.05460107699036598,
-0.046713829040527344,
0.0014788585249334574,
0.004491348285228014,
-0.03905520215630531,
0.01850835420191288,
0.020480165258049965,
0.021070757880806923,
0.0395505353808403,
-0.057954106479883194,
0.04659952223300934,
-0.0108497254550457,
-0.03831220045685768,
-0.014412321150302887,
-0.03440668061375618,
0.02958669513463974,
0.0720139816403389,
0.03069167211651802,
0.046904344111680984,
-0.06446965783834457,
-0.04682813957333565,
0.051857687532901764,
0.014088449068367481,
0.006948967929929495,
0.012859638780355453,
-0.039741046726703644,
0.03905520215630531,
-0.008092046715319157,
-0.01275485660880804,
-0.050524093210697174,
-0.03556881099939346,
0.02000388316810131,
-0.06808941066265106,
0.0364261195063591,
-0.013478807173669338,
-0.019232304766774178,
0.016708005219697952,
0.013040626421570778,
0.05444866418838501,
-0.10348675400018692,
-0.038826584815979004,
-0.02991056814789772,
0.039245713502168655,
0.013459756039083004,
-0.023890351876616478,
0.031529929488897324,
0.004129373002797365,
-0.036902401596307755,
0.025262046605348587,
-0.03105364739894867,
0.04248443618416786,
0.0057296836748719215,
0.03233008459210396,
0.02137557789683342,
-0.02027060091495514,
-0.00908747874200344,
0.009273229166865349,
-0.007153769489377737,
0.022956836968660355,
-0.004388947039842606,
0.04812362790107727,
-0.01869886741042137,
-0.00714424392208457,
0.04069361463189125,
-0.02101360261440277,
0.003553070593625307,
-0.07468116283416748,
-0.0028291207272559404,
-0.03760730102658272,
-0.02371888980269432,
0.051400452852249146,
0.019079893827438354,
0.06923248618841171,
-0.03831220045685768,
0.016708005219697952,
0.0008781466749496758,
0.03661663085222244,
-0.018565509468317032,
-0.008215880952775478,
-0.0019253737991675735,
-0.06706063449382782,
-0.045570749789476395,
-0.0013038244796916842,
-0.0008215880370698869,
0.018127327784895897,
-0.04054120182991028,
0.06546032428741455,
0.02307114563882351,
0.06290744990110397,
-0.0034601956140249968,
-0.05425815284252167,
0.023280709981918335,
0.042598746716976166,
0.05608707666397095,
0.007101378403604031,
0.007549084722995758,
-0.052505429834127426,
0.008777894079685211,
-0.037912122905254364,
-0.04206530749797821,
-0.010173403657972813,
-0.006444108206778765,
0.01291679311543703,
-0.011916599236428738,
-0.00017562933498993516,
-0.031206058338284492,
0.018260687589645386,
0.00614881282672286,
-0.012554817833006382,
0.03977914899587631,
0.03303498402237892,
-0.0255478173494339,
0.0031649000011384487,
0.06401242315769196,
-0.05147666111588478,
0.024652404710650444,
-0.0333588570356369,
0.06881336122751236,
-0.02541445754468441,
-0.0053486572578549385,
-0.019232304766774178,
-0.01268817763775587,
-0.0045532649382948875,
0.036730941385030746,
-0.020575422793626785,
-0.057001542299985886,
-0.006267883349210024,
-0.006882288493216038,
0.020289652049541473,
-0.02408086508512497,
0.04919050261378288,
0.053229380398988724,
0.013612166047096252,
-0.007487167604267597,
-0.020156294107437134,
0.036121297627687454,
0.024480942636728287,
-0.048695165663957596,
0.013431178405880928,
-0.045761264860630035,
0.02427137829363346,
0.036673784255981445,
-0.04473249241709709,
-0.06786078959703445,
-0.0813872292637825,
-0.00008535883534932509,
0.016136465594172478,
-0.025471610948443413,
0.005643952637910843,
0.0027624410577118397,
0.015164848417043686,
0.00923988875001669,
0.027814922854304314,
0.04492300748825073,
-0.03274921327829361,
-0.04202720522880554,
0.006444108206778765,
-0.028691284358501434,
0.004524687770754099,
0.028329309076070786,
-0.0580684170126915,
0.00720139779150486,
-0.02642417699098587,
0.01892748288810253,
-0.05513451248407364,
-0.021642295643687248,
0.02417612075805664,
0.01190707366913557,
0.012859638780355453,
-0.03894089162349701,
0.03454003855586052,
0.016012631356716156,
0.00858738087117672,
0.050943221896886826,
0.037035759538412094,
-0.03835030272603035,
-0.0953327938914299,
-0.026919512078166008,
0.02078498713672161,
0.011440316215157509,
0.04088412597775459,
0.001742004882544279,
0.035340193659067154,
-0.04141756519675255,
-0.011926124803721905,
-0.02903420850634575,
-0.030158234760165215,
-0.046675726771354675,
0.0247667133808136,
-0.010421070270240307,
-0.004296071827411652,
0.02270917035639286,
0.04134135693311691,
0.017155710607767105,
0.0003581052296794951,
-0.0089112538844347,
0.00808252114802599,
0.02596694603562355,
-0.024252327159047127,
0.05871615931391716,
0.04404664412140846,
-0.005939248017966747,
-0.05018116906285286,
0.026919512078166008,
0.04606608673930168,
0.03459719195961952,
-0.021032653748989105,
-0.03737868368625641,
-0.0464090071618557,
0.018355945125222206,
0.01887032948434353,
-0.014974335208535194,
0.029415233060717583,
0.006415531039237976,
-0.007730071898549795,
-0.03682619705796242,
0.021089809015393257,
-0.022899683564901352,
-0.021851861849427223,
-0.008501650765538216,
0.03244439512491226,
-0.03261585533618927,
-0.000015572219126624987,
-0.03332075476646423,
-0.04008397087454796,
-0.01224999688565731,
-0.014555206522345543,
0.01694614626467228,
0.05711584910750389,
0.019565703347325325,
0.02242339961230755,
0.07479546964168549,
0.005848754197359085,
0.009378011338412762,
0.035892680287361145,
-0.062412116676568985,
-0.030024876818060875,
-0.02183280885219574,
-0.014240860007703304,
0.05783979967236519,
-0.013640742748975754,
-0.0675559714436531,
0.06751786917448044,
0.003784067928791046,
-0.008396867662668228,
0.07696732133626938,
-0.0017896330682560802,
-0.004505636636167765,
-0.02023249864578247,
-0.033835139125585556,
0.016012631356716156,
-0.023280709981918335,
-0.018336892127990723,
-0.07963450998067856,
-0.03827409818768501,
0.011878496035933495,
-0.02541445754468441,
0.049838244915008545,
-0.017603417858481407,
-0.0005763023509643972,
-0.00796821340918541,
0.09960028529167175,
0.04438956826925278,
-0.01827973872423172,
0.031949058175086975,
-0.011002135463058949,
-0.008263508789241314,
-0.042446333914995193,
0.028424564749002457,
-0.019718114286661148,
-0.0006039863219484687,
0.0512099415063858,
0.0072776032611727715,
0.025890739634633064,
0.035111576318740845,
-0.011649880558252335,
-0.04907619208097458,
-0.019622856751084328,
0.012307151220738888,
-0.015107695013284683,
-0.05448676645755768,
-0.09670448303222656,
-0.004915239755064249,
0.016574645414948463,
0.006348851602524519,
-0.021851861849427223,
-0.06546032428741455,
0.00954470969736576,
0.015260105021297932,
-0.01841309852898121,
0.0024480943102389574,
0.02499532885849476,
-0.0395505353808403,
-0.030882185325026512,
-0.0029243770986795425,
0.018384521827101707,
0.0033411248587071896,
-0.035340193659067154,
0.004384184256196022,
0.03724532574415207,
-0.0035459264181554317,
0.023909403011202812,
-0.020061036571860313,
-0.051857687532901764,
0.06847043335437775,
-0.015126746147871017,
0.007901533506810665,
-0.001295489608310163,
-0.01639365777373314,
-0.014097974635660648,
-0.04972393810749054,
0.011183123104274273,
0.06096421554684639,
0.044427670538425446,
-0.06706063449382782,
-0.06652720272541046,
0.024004660546779633,
0.026709947735071182,
0.03916950896382332,
0.004434193950146437,
-0.05867805704474449,
-0.003114890307188034,
0.03522588685154915,
-0.023147350177168846,
0.010821147821843624,
-0.02128032222390175,
-0.007463353686034679,
-0.048047423362731934,
0.030577363446354866,
-0.0282531026750803,
-0.024900071322917938,
0.02779587171971798,
-0.06328847259283066,
0.08504507690668106,
-0.017089031636714935,
0.0005673720152117312,
-0.02939618192613125,
0.011059289798140526,
0.028291206806898117,
0.009330382570624352,
-0.00957805011421442,
-0.010640161111950874,
0.033835139125585556,
-0.015879273414611816,
-0.06934679299592972,
-0.013535960577428341,
0.05044788867235184,
0.0282531026750803,
0.014831450767815113,
0.022899683564901352,
-0.021851861849427223,
0.006601281464099884,
-0.002721956931054592,
0.034197114408016205,
-0.010230557061731815,
0.08999842405319214,
-0.0256049707531929,
-0.05761118233203888,
0.05402953550219536,
-0.05330558493733406,
0.025471610948443413,
-0.004272257909178734,
0.06157385930418968,
0.03362557664513588,
-0.061269037425518036,
-0.036902401596307755,
-0.07864383608102798,
-0.040350690484046936,
-0.06187867745757103,
-0.013640742748975754,
0.00509146461263299,
-0.022328143939375877,
0.006277408916503191,
-0.0534961000084877,
0.027605358511209488,
0.01926088146865368,
-0.05063840001821518,
0.03779781237244606,
0.025624021887779236,
-0.005996402353048325,
0.03916950896382332,
-0.020251549780368805,
0.035340193659067154,
0.011545098386704922,
0.016117414459586143,
-0.003253012429922819,
-0.01334544736891985,
-0.0027195755392313004,
-0.020308705046772957,
0.011421265080571175,
-0.015726862475275993,
0.020632576197385788,
0.00889696553349495,
-0.03985535725951195,
0.11194553971290588,
0.04176048934459686,
-0.009373248554766178,
-0.022099528461694717,
0.008758842945098877,
0.0028576976619660854,
-0.009335145354270935,
0.0012883453164249659,
-0.014974335208535194,
0.03072977438569069,
0.08291133493185043,
-0.026252714917063713,
0.029891517013311386,
0.01362169161438942,
-0.07887245714664459,
-0.012278573587536812,
-0.022232886403799057,
0.0049819196574389935,
-0.05075271055102348,
0.056811027228832245,
0.02876748889684677,
-0.01942281797528267,
0.010878302156925201,
-0.020156294107437134,
0.003676904132589698,
0.016374606639146805,
0.034844860434532166,
-0.012240471318364143,
0.048466552048921585,
0.04526593163609505,
-0.03756919875741005,
-0.030329696834087372,
-0.028405513614416122,
0.009811428375542164,
0.024804815649986267,
0.030062979087233543,
-0.014364693313837051,
-0.08062517642974854,
0.026386074721813202,
-0.0045651718974113464,
0.001202614395879209,
-0.03684524819254875,
0.041036538779735565,
-0.007549084722995758
] |
730,066 | mmengine.registry.default_scope | __init__ | null | def __init__(self, name: str, scope_name: str):
super().__init__(name)
assert isinstance(
scope_name,
str), (f'scope_name should be a string, but got {scope_name}')
self._scope_name = scope_name
| (self, name: str, scope_name: str) | [
-0.03295588120818138,
0.008931723423302174,
-0.03750452399253845,
-0.026786455884575844,
-0.04708978533744812,
-0.016922347247600555,
0.02288263849914074,
0.047264065593481064,
0.02452084794640541,
-0.026838738471269608,
-0.002834188286215067,
0.023910876363515854,
-0.029522612690925598,
0.032119348645210266,
-0.03882903233170509,
-0.019292522221803665,
0.05151643604040146,
0.02070416882634163,
-0.06169424206018448,
-0.043499670922756195,
0.0006404698942787945,
0.047229208052158356,
-0.006958030164241791,
-0.0025052393320947886,
0.011397750116884708,
0.09292477369308472,
0.012608978897333145,
0.029208913445472717,
-0.031805649399757385,
-0.018734833225607872,
-0.009384844452142715,
0.009454555809497833,
-0.012591551057994366,
0.07528789341449738,
0.01596382074058056,
-0.05392146483063698,
-0.048553716391325,
0.022830355912446976,
-0.11983322352170944,
-0.043848223984241486,
0.008709519170224667,
0.06186852231621742,
-0.042837414890527725,
-0.017035627737641335,
0.022743215784430504,
0.002259072382003069,
0.04032781720161438,
0.013733068481087685,
-0.015240569598972797,
0.04977365955710411,
-0.0076812817715108395,
0.026159055531024933,
0.0237017422914505,
0.0029256839770823717,
-0.008766159415245056,
0.035692036151885986,
0.03694683313369751,
0.020216193050146103,
-0.01883940026164055,
0.02638561651110649,
-0.0691881775856018,
-0.004080272279679775,
0.04632296413183212,
-0.04071122780442238,
-0.055036842823028564,
-0.004661923740059137,
-0.023597177118062973,
-0.017392896115779877,
0.0013179737143218517,
0.046636663377285004,
0.044161923229694366,
0.009864107705652714,
-0.03292102366685867,
0.00792527012526989,
0.026978161185979843,
0.03921244293451309,
-0.08672049641609192,
0.04022325202822685,
0.004657567013055086,
0.0006932977703399956,
0.039804987609386444,
0.019083388149738312,
-0.030202293768525124,
-0.015571696683764458,
0.020686741918325424,
-0.009506838396191597,
-0.06521464884281158,
-0.05834811553359032,
0.04747319594025612,
-0.007472148630768061,
-0.05102846026420593,
0.04642753303050995,
-0.02086102031171322,
0.004088986199349165,
0.060857709497213364,
-0.02483454719185829,
0.038759320974349976,
-0.043116260319948196,
-0.00729351444169879,
0.017000772058963776,
-0.031474519520998,
0.01196415163576603,
-0.03501235321164131,
-0.006195566151291132,
-0.0508890375494957,
-0.02708272635936737,
0.01681778021156788,
-0.03178821876645088,
-0.007598499767482281,
-0.003197992453351617,
-0.022324951365590096,
0.02032075822353363,
0.0054026031866669655,
0.04193117097020149,
-0.004592212848365307,
0.021105008199810982,
-0.010622215457260609,
-0.02673417143523693,
0.07124464958906174,
-0.03161394223570824,
0.03365299105644226,
0.04796117544174194,
-0.00758542912080884,
0.05036620423197746,
0.03109111078083515,
0.026699315756559372,
-0.06671343743801117,
-0.02398058772087097,
0.05667505040764809,
0.0006415591342374682,
0.0450681671500206,
-0.01772402413189411,
-0.04168718308210373,
-0.03462894260883331,
0.053712330758571625,
-0.004897198174148798,
0.005825226195156574,
0.0606137216091156,
-0.026995588093996048,
0.0345766618847847,
0.030446283519268036,
-0.011624311096966267,
0.012774541974067688,
-0.036424003541469574,
0.005106331314891577,
0.016138099133968353,
-0.036737702786922455,
-0.01646922528743744,
-0.028232958167791367,
0.00022805847402196378,
-0.01795058511197567,
0.02945290133357048,
-0.011145047843456268,
0.04238429293036461,
0.031143393367528915,
-0.003126102965325117,
-0.023998014628887177,
-0.07786719501018524,
0.03321729600429535,
0.013218950480222702,
-0.02319633774459362,
-0.010805206373333931,
-0.054374586790800095,
-0.033862121403217316,
0.016408229246735573,
-0.0051150452345609665,
-0.025235384702682495,
-0.09369159489870071,
-0.019205382093787193,
0.008692091330885887,
-0.00034310886985622346,
-0.029191484674811363,
0.03795764595270157,
0.009829252026975155,
0.0009623387013562024,
0.0018146646907553077,
0.008269468322396278,
0.06172909960150719,
-0.0002585570327937603,
-0.02840723656117916,
0.04099007323384285,
-0.010439223609864712,
-0.031683653593063354,
0.002435528440400958,
0.034750938415527344,
0.00757671520113945,
-0.0023832451552152634,
0.048170305788517,
0.057058461010456085,
0.03997926414012909,
-0.02168012410402298,
-0.004805702716112137,
0.004574785009026527,
0.0045399293303489685,
0.025392234325408936,
-0.02183697372674942,
0.023527465760707855,
-0.01624266430735588,
-0.012556695379316807,
0.04607897624373436,
0.023963158950209618,
0.08672049641609192,
-0.017262188717722893,
-0.0003782366984523833,
-0.0008969846530817449,
0.05221354588866234,
0.028180675581097603,
-0.0003621704818215221,
0.01892653852701187,
-0.013916060328483582,
-0.078494593501091,
-0.021749835461378098,
0.014831016771495342,
0.027605559676885605,
-0.00794269796460867,
-0.013410655781626701,
-0.009315134026110172,
-0.016347231343388557,
0.10317229479551315,
0.04576527699828148,
0.11530201137065887,
0.018821973353624344,
0.027570703998208046,
-0.032537613064050674,
-0.012669975869357586,
-0.03245047479867935,
0.028459519147872925,
-0.032032210379838943,
-0.015650121495127678,
0.055350542068481445,
-0.015667548403143883,
-0.039073020219802856,
0.002786261960864067,
-0.013070814311504364,
-0.05353805422782898,
-0.04796117544174194,
-0.015493271872401237,
-0.015449702739715576,
-0.08867240697145462,
-0.08518685400485992,
0.023841165006160736,
0.02432914264500141,
-0.02323119342327118,
0.06845621019601822,
0.021749835461378098,
-0.06092742085456848,
-0.028546657413244247,
0.04698522016406059,
0.031997352838516235,
-0.01666964590549469,
0.013044673018157482,
-0.03138738125562668,
-0.07605470716953278,
0.009524266235530376,
-0.02222038432955742,
0.012303993105888367,
-0.02828524261713028,
-0.015789544209837914,
0.02443370781838894,
0.00770306633785367,
-0.004770847037434578,
0.0012950998498126864,
-0.03513434901833534,
0.05210898071527481,
-0.008992720395326614,
-0.038097064942121506,
0.004644495900720358,
-0.031683653593063354,
-0.034681227058172226,
-0.03715596720576286,
0.06636487692594528,
0.04747319594025612,
0.07960997521877289,
0.01654765009880066,
-0.027257004752755165,
-0.10059298574924469,
0.035692036151885986,
0.018856827169656754,
-0.06172909960150719,
0.006008217576891184,
0.0691533237695694,
-0.025305096060037613,
0.02377145364880562,
0.08372291922569275,
0.02089587412774563,
-0.05510655418038368,
-0.002385423518717289,
-0.04670637473464012,
-0.04834458604454994,
-0.010622215457260609,
-0.012713545002043247,
0.03197992593050003,
0.03002801723778248,
0.054688286036252975,
0.04092036187648773,
-0.00406066607683897,
0.025392234325408936,
0.03624972328543663,
-0.012547981925308704,
0.002039046958088875,
0.06204279884696007,
0.014360467903316021,
0.020233619958162308,
0.01690492033958435,
-0.04189631715416908,
-0.059149790555238724,
-0.009201853536069393,
0.021906685084104538,
-0.015763401985168457,
0.00729351444169879,
0.039142731577157974,
0.056396204978227615,
-0.05545510724186897,
0.04750805348157883,
0.05214383453130722,
0.07347540557384491,
0.02168012410402298,
-0.0780763328075409,
0.01807257905602455,
0.07786719501018524,
-0.0024921686854213476,
-0.040118686854839325,
0.013663358055055141,
-0.042558569461107254,
-0.05308493226766586,
0.006792466621845961,
0.018194573000073433,
0.026472754776477814,
-0.0065179793164134026,
0.020303331315517426,
-0.04904169589281082,
-0.029975734651088715,
0.018386278301477432,
-0.033008161932229996,
-0.028964923694729805,
-0.012879109010100365,
0.005685803946107626,
0.025305096060037613,
0.015257997438311577,
-0.05427002161741257,
0.04395279288291931,
0.0015260175568982959,
-0.007097451947629452,
0.002435528440400958,
-0.021244430914521217,
-0.021383851766586304,
-0.010779065079987049,
-0.05388661101460457,
0.05664019659161568,
-0.004618354141712189,
-0.029383189976215363,
0.011816016398370266,
-0.003997490741312504,
-0.01540613267570734,
0.024416280910372734,
0.00790348555892706,
0.00798626709729433,
0.016521509736776352,
-0.059463489800691605,
-0.04308140277862549,
0.018386278301477432,
0.01713148131966591,
-0.004857985768467188,
-0.018856827169656754,
-0.021854400634765625,
-0.007049525622278452,
0.05880123749375343,
0.0018778402591124177,
0.009280278347432613,
-0.01697462983429432,
-0.02439885400235653,
-0.04018839821219444,
0.0057642292231321335,
0.016774211078882217,
-0.04705493152141571,
0.006857820320874453,
0.04440591111779213,
-0.014343040063977242,
-0.009132142178714275,
-0.018473416566848755,
-0.0163210891187191,
0.012303993105888367,
0.05786013603210449,
0.03649371489882469,
-0.04534701257944107,
-0.027849547564983368,
-0.012469557113945484,
-0.013515221886336803,
0.0827469676733017,
0.03018486686050892,
0.016451798379421234,
-0.02556651271879673,
0.04496360197663307,
0.03726053610444069,
-0.02338804304599762,
-0.02459055930376053,
-0.0617639534175396,
-0.027919258922338486,
-0.03177079185843468,
0.061519965529441833,
0.0029779672622680664,
-0.04067637398838997,
0.02964460663497448,
-0.01406419649720192,
0.012234281748533249,
0.02323119342327118,
0.03229362517595291,
0.02303948812186718,
0.010674498043954372,
0.031143393367528915,
0.01962364837527275,
-0.03170108050107956,
-0.05252724513411522,
-0.006788109429180622,
0.010787778533995152,
0.0031086753588169813,
0.06584204733371735,
-0.059463489800691605,
0.030411427840590477,
-0.0388638861477375,
-0.037783365696668625,
0.004884127527475357,
0.026211339980363846,
0.07138407230377197,
-0.002527024131268263,
0.046497244387865067,
-0.006796823348850012,
0.022080961614847183,
0.06821222603321075,
-0.04611383378505707,
-0.07898257672786713,
0.08218927681446075,
-0.020146481692790985,
-0.030794838443398476,
0.02152327448129654,
0.01728833094239235,
-0.015048864297568798,
-0.006709684617817402,
-0.021383851766586304,
0.01896139420568943,
-0.024381425231695175,
-0.03290359675884247,
0.03232847899198532,
0.0652843564748764,
-0.053991176187992096,
0.008853298611938953,
-0.06329759955406189,
0.06036973372101784,
-0.02256893925368786,
-0.05409574136137962,
0.023266049101948738,
0.03194506838917732,
-0.02948775701224804,
-0.05224839970469475,
-0.02009419910609722,
-0.06402955949306488,
-0.0287557914853096,
0.02771012671291828,
0.022638650611042976,
-0.024642841890454292,
-0.022133246064186096,
0.08574454486370087,
0.003812320763245225,
-0.03246790170669556,
-0.01709662564098835,
0.05263181030750275,
0.02307434380054474,
0.0032502757385373116,
0.030132584273815155,
-0.03659828007221222,
0.00831303745508194,
0.0675848200917244,
-0.020216193050146103,
0.013279947452247143,
-0.053956322371959686,
0.001053834450431168,
-0.02898235246539116,
-0.03663313388824463,
-0.004709850065410137,
0.02676902711391449,
-0.02307434380054474,
0.002431171480566263,
-0.008291252888739109,
0.07542730867862701,
0.012574123218655586,
-0.05047076940536499,
-0.03161394223570824,
-0.01490072812885046,
0.009532980620861053,
0.01049150712788105,
-0.03466380015015602,
0.028686080127954483,
-0.010848775506019592,
0.031683653593063354,
0.0017155443783849478,
0.04123406112194061,
0.023213766515254974,
0.03684226796030998,
-0.004254550207406282,
0.0028603298123925924,
-0.01693977601826191,
0.023754026740789413,
0.011232186108827591,
-0.01445632055401802,
0.050296492874622345,
0.01763688586652279,
-0.031718507409095764,
0.0016894027357921004,
0.006639973726123571,
-0.037051402032375336,
0.025549083948135376,
0.004749062471091747,
0.046532098203897476,
-0.011563313193619251,
-0.0008310859557241201,
-0.010073240846395493,
-0.0649009495973587,
-0.01531028002500534,
-0.06734083592891693,
0.04848400503396988,
-0.00802112277597189,
0.015946393832564354,
0.0003011733351740986,
-0.031143393367528915,
0.020913302898406982,
-0.039456430822610855,
0.04796117544174194,
0.02432914264500141,
0.020111626014113426,
0.036354292184114456,
0.03337414562702179,
0.00013663085701409727,
-0.022778071463108063,
0.0035225844476372004,
0.047264065593481064,
0.08086477220058441,
-0.06301875412464142,
0.0036750773433595896,
-0.018403707072138786,
0.04600926488637924,
0.03970041871070862,
0.010674498043954372,
0.041861459612846375,
-0.021627839654684067,
-0.028372380882501602,
-0.02452084794640541,
-0.012364990077912807,
0.029278622940182686,
-0.009045002982020378,
0.006613831967115402,
0.05493227392435074,
-0.05897551402449608,
-0.1091674417257309,
-0.04259342700242996,
-0.03590117022395134,
-0.022795500233769417,
-0.005180399399250746,
-0.018473416566848755,
0.00038341054460033774,
0.022638650611042976,
0.011127620004117489,
0.043499670922756195,
0.028511803597211838,
0.022168101742863655,
-0.019954776391386986,
-0.02945290133357048,
-0.02926119603216648,
-0.013506508432328701,
-0.017619457095861435,
0.03311273083090782,
0.014735164120793343,
-0.046636663377285004,
0.03896845504641533,
0.0812133252620697,
-0.038062211126089096,
0.02844209223985672,
0.04165232926607132,
0.04576527699828148,
-0.013462938368320465,
-0.0029431115835905075,
0.01915309950709343,
-0.021348996087908745,
-0.10184778273105621,
-0.026525039225816727,
-0.0695715844631195,
0.01635594479739666,
-0.026002205908298492,
0.0029278623405843973,
0.020721597597002983,
-0.027187293395400047,
-0.0035879386123269796,
-0.05172557011246681,
0.023788882419466972,
-0.026246195659041405,
-0.021035296842455864,
-0.029383189976215363,
-0.006138925906270742,
-0.08581425249576569,
-0.017933156341314316,
-0.048240017145872116,
-0.02661217749118805,
0.05698874965310097,
-0.03994440659880638,
0.08630222827196121,
0.04189631715416908,
0.00770306633785367,
-0.01892653852701187,
0.05148157849907875,
-0.03719082474708557,
0.014987867325544357,
0.0037121111527085304,
-0.011336753144860268,
-0.018717406317591667,
0.02825038693845272,
-0.0009574371506460011,
-0.010203949175775051,
-0.013680785894393921,
0.02797154150903225,
0.01636466011404991,
-0.011101477779448032,
0.003136995481327176,
0.022098390385508537,
0.013907345943152905,
0.038097064942121506,
-0.050679903477430344,
-0.01981535367667675,
0.03501235321164131,
-0.05482770875096321,
-0.03757423534989357,
-0.054374586790800095,
0.0015815685037523508,
0.0005005032871849835,
-0.07361482828855515,
-0.0745907798409462,
0.03792278841137886,
0.00012274312030058354,
0.01721861958503723,
-0.032624751329422,
0.03065541572868824,
0.03236333653330803,
-0.04879770800471306,
0.009254136122763157,
0.03084712103009224,
0.030672844499349594,
-0.07222060859203339,
0.010848775506019592,
-0.0014399680076166987,
-0.01705305650830269,
0.02016390860080719,
-0.0016534579917788506,
0.0014802697114646435,
0.038062211126089096,
0.05071475729346275,
0.008966578170657158,
0.062112510204315186,
0.04566071182489395,
-0.05559452995657921,
-0.018543127924203873,
0.044859033077955246,
-0.028302669525146484,
-0.020146481692790985,
-0.0007973196916282177,
-0.008530884981155396,
0.05848753824830055,
0.001762381405569613,
0.005568166729062796,
-0.010073240846395493,
-0.08288639038801193,
-0.0150575777515769,
0.045207589864730835,
-0.030428854748606682,
0.053642623126506805,
0.014691594988107681,
-0.025270240381360054,
-0.03295588120818138,
0.015414847061038017,
0.03192764148116112,
-0.007302228361368179,
0.07403308898210526,
0.02825038693845272,
-0.07319656014442444,
-0.003093426115810871,
0.03722567856311798,
-0.06601632386445999,
0.017880873754620552,
0.09522523730993271,
-0.059149790555238724,
0.024991396814584732,
0.02230752259492874,
-0.03333929181098938,
0.004071558825671673,
-0.01663479022681713,
-0.02474740892648697,
0.010848775506019592,
-0.0036968619097024202,
-0.04053695127367973,
-0.04541672393679619,
-0.08114361763000488,
-0.008696448057889938,
0.03213677555322647,
0.024416280910372734,
0.014770019799470901,
-0.015833113342523575,
-0.029191484674811363,
-0.015066292136907578,
-0.0022677863016724586,
-0.018090005964040756,
0.026124199852347374,
0.050331346690654755,
-0.025200529024004936,
0.024259431287646294,
-0.06629516929388046,
0.0016915812157094479,
-0.034088682383298874,
0.005485385190695524,
0.009184425696730614,
0.023492610082030296,
0.005576880648732185,
-0.004779560957103968,
-0.039735276252031326,
0.06155481934547424,
0.039107877761125565,
-0.00794705469161272,
-0.003350485349074006,
0.015301566570997238,
-0.0009193139267154038,
-0.051655858755111694,
-0.0042741564102470875,
0.00804290734231472,
-0.046566955745220184,
0.019240237772464752,
0.023632032796740532,
-0.05698874965310097,
0.004871056880801916,
0.029818885028362274,
-0.0649009495973587,
0.03197992593050003,
0.022673506289720535,
0.005725016817450523,
0.0508890375494957,
-0.005995146930217743,
0.03208449110388756,
-0.054026033729314804,
-0.018891682848334312,
0.004831844475120306,
0.0528409443795681,
-0.003520405851304531,
-0.050296492874622345,
0.03248532861471176,
-0.0012863859301432967,
0.018978822976350784,
-0.000005212157248024596,
-0.00833046529442072,
0.02610677294433117,
-0.03443723917007446,
-0.04764747619628906,
-0.022046105936169624,
0.03722567856311798,
-0.01490072812885046,
0.006308846175670624,
-0.05040105804800987,
-0.004505074117332697,
0.04057180881500244,
-0.02051246352493763,
0.0006720576784573495,
-0.0009035200346261263,
0.04367394745349884,
0.006901389919221401
] |
730,067 | mmengine.config.config | DictAction |
argparse action to split an argument into KEY=VALUE form
on the first = and append to a dictionary. List options can
be passed as comma separated values, i.e 'KEY=V1,V2,V3', or with explicit
brackets, i.e. 'KEY=[V1,V2,V3]'. It also support nested brackets to build
list/tuple values. e.g. 'KEY=[(V1,V2),(V3,V4)]'
| class DictAction(Action):
"""
argparse action to split an argument into KEY=VALUE form
on the first = and append to a dictionary. List options can
be passed as comma separated values, i.e 'KEY=V1,V2,V3', or with explicit
brackets, i.e. 'KEY=[V1,V2,V3]'. It also support nested brackets to build
list/tuple values. e.g. 'KEY=[(V1,V2),(V3,V4)]'
"""
@staticmethod
def _parse_int_float_bool(val: str) -> Union[int, float, bool, Any]:
"""parse int/float/bool value in the string."""
try:
return int(val)
except ValueError:
pass
try:
return float(val)
except ValueError:
pass
if val.lower() in ['true', 'false']:
return True if val.lower() == 'true' else False
if val == 'None':
return None
return val
@staticmethod
def _parse_iterable(val: str) -> Union[list, tuple, Any]:
"""Parse iterable values in the string.
All elements inside '()' or '[]' are treated as iterable values.
Args:
val (str): Value string.
Returns:
list | tuple | Any: The expanded list or tuple from the string,
or single value if no iterable values are found.
Examples:
>>> DictAction._parse_iterable('1,2,3')
[1, 2, 3]
>>> DictAction._parse_iterable('[a, b, c]')
['a', 'b', 'c']
>>> DictAction._parse_iterable('[(1, 2, 3), [a, b], c]')
[(1, 2, 3), ['a', 'b'], 'c']
"""
def find_next_comma(string):
"""Find the position of next comma in the string.
If no ',' is found in the string, return the string length. All
chars inside '()' and '[]' are treated as one element and thus ','
inside these brackets are ignored.
"""
assert (string.count('(') == string.count(')')) and (
string.count('[') == string.count(']')), \
f'Imbalanced brackets exist in {string}'
end = len(string)
for idx, char in enumerate(string):
pre = string[:idx]
# The string before this ',' is balanced
if ((char == ',') and (pre.count('(') == pre.count(')'))
and (pre.count('[') == pre.count(']'))):
end = idx
break
return end
# Strip ' and " characters and replace whitespace.
val = val.strip('\'\"').replace(' ', '')
is_tuple = False
if val.startswith('(') and val.endswith(')'):
is_tuple = True
val = val[1:-1]
elif val.startswith('[') and val.endswith(']'):
val = val[1:-1]
elif ',' not in val:
# val is a single value
return DictAction._parse_int_float_bool(val)
values = []
while len(val) > 0:
comma_idx = find_next_comma(val)
element = DictAction._parse_iterable(val[:comma_idx])
values.append(element)
val = val[comma_idx + 1:]
if is_tuple:
return tuple(values)
return values
def __call__(self,
parser: ArgumentParser,
namespace: Namespace,
values: Union[str, Sequence[Any], None],
option_string: str = None):
"""Parse Variables in string and add them into argparser.
Args:
parser (ArgumentParser): Argument parser.
namespace (Namespace): Argument namespace.
values (Union[str, Sequence[Any], None]): Argument string.
option_string (list[str], optional): Option string.
Defaults to None.
"""
# Copied behavior from `argparse._ExtendAction`.
options = copy.copy(getattr(namespace, self.dest, None) or {})
if values is not None:
for kv in values:
key, val = kv.split('=', maxsplit=1)
options[key] = self._parse_iterable(val)
setattr(namespace, self.dest, options)
| (option_strings, dest, nargs=None, const=None, default=None, type=None, choices=None, required=False, help=None, metavar=None) | [
0.011027541011571884,
0.0007911346037872136,
-0.05669514834880829,
-0.08144701272249222,
0.013107617385685444,
0.02381112612783909,
-0.0013510043499991298,
0.06037447974085808,
0.015323578380048275,
-0.08571168780326843,
-0.009700055234134197,
0.06593528389930725,
0.009705280885100365,
0.03658425807952881,
-0.0020434921607375145,
0.009402154013514519,
0.05414470285177231,
0.055022723972797394,
0.004902290645986795,
0.04427740350365639,
0.03798491135239601,
-0.040932558476924896,
-0.02872386947274208,
0.041455190628767014,
0.011173877865076065,
-0.017748592421412468,
0.043023087084293365,
-0.043817490339279175,
-0.0006385913002304733,
0.02301672473549843,
-0.0015992546686902642,
-0.048291221261024475,
-0.0024825031869113445,
0.03514179214835167,
-0.00627158721908927,
-0.07346118986606598,
-0.039009273052215576,
0.06325940787792206,
0.003044332843273878,
-0.026779677718877792,
0.0009028472122736275,
-0.07241592556238174,
0.008811580017209053,
-0.021657880395650864,
-0.0039197420701384544,
0.035518087446689606,
-0.08554445207118988,
0.037608616054058075,
-0.001174616045318544,
-0.09340483695268631,
0.06723141670227051,
-0.04870932549238205,
-0.02005862630903721,
0.022765861824154854,
-0.03507907688617706,
0.050841666758060455,
0.0437338687479496,
0.019640520215034485,
0.03779676556587219,
0.0012706497218459845,
0.03963642939925194,
0.05744773894548416,
0.041141610592603683,
0.009328985586762428,
-0.04423559457063675,
-0.019306035712361336,
-0.03125340864062309,
-0.02809671126306057,
-0.04950372874736786,
-0.010285402648150921,
-0.021595165133476257,
-0.03576895222067833,
-0.012501363642513752,
-0.025608981028199196,
-0.005942328833043575,
0.006956235505640507,
-0.04289765655994415,
0.028347574174404144,
0.013996091671288013,
-0.011539719998836517,
-0.032152336090803146,
0.01302399579435587,
-0.0009342051926068962,
-0.04193601384758949,
0.017435012385249138,
0.01436193473637104,
-0.045740775763988495,
0.026946919038891792,
0.020633522421121597,
0.0629667341709137,
-0.052932195365428925,
-0.0341174341738224,
-0.003695010207593441,
0.04603344947099686,
0.0029319669120013714,
-0.014581440016627312,
0.005328236147761345,
-0.057405926287174225,
-0.0409952737390995,
-0.023915652185678482,
-0.030124522745609283,
-0.0005360246868804097,
-0.015083166770637035,
-0.041141610592603683,
-0.0024851164780557156,
-0.06505726277828217,
-0.019431468099355698,
-0.0098150335252285,
0.02460552752017975,
-0.04607526212930679,
-0.0571550652384758,
-0.0536847859621048,
-0.013253954239189625,
-0.00734298350289464,
-0.025002727285027504,
0.04298127815127373,
-0.02349754609167576,
-0.046200692653656006,
-0.015323578380048275,
-0.03756680712103844,
-0.013588438741862774,
0.013149428181350231,
-0.01476958766579628,
0.06401199847459793,
0.029560081660747528,
0.017529085278511047,
-0.023434830829501152,
0.01141428854316473,
0.014100618660449982,
0.03173423185944557,
-0.000058632806030800566,
-0.009083348326385021,
-0.017591802403330803,
-0.025420833379030228,
0.026926014572381973,
-0.00657994020730257,
-0.004539061337709427,
0.04962915927171707,
-0.06146155297756195,
0.011550173163414001,
0.08964188396930695,
-0.04515542834997177,
0.00833598431199789,
-0.03890474513173103,
-0.037922196090221405,
-0.07847846299409866,
0.036500636488199234,
0.052430469542741776,
0.014163333922624588,
0.039657335728406906,
-0.0533503033220768,
0.025107253342866898,
-0.025128159672021866,
-0.008409152738749981,
0.08550263941287994,
0.00496761966496706,
-0.027992183342576027,
-0.019306035712361336,
0.02236866019666195,
-0.053392112255096436,
-0.016421105712652206,
-0.045113615691661835,
-0.010081576183438301,
0.02053944766521454,
0.07379567623138428,
0.03501636162400246,
0.06054172292351723,
0.007468414958566427,
-0.04423559457063675,
-0.009830713272094727,
0.0018553445115685463,
0.004944101441651583,
0.017163243144750595,
0.025608981028199196,
-0.01388111338019371,
0.044319216161966324,
-0.038883838802576065,
0.032946739345788956,
0.011633793823421001,
-0.05238865688443184,
-0.029915470629930496,
-0.007154835853725672,
-0.024814579635858536,
-0.04352481663227081,
0.04323213919997215,
-0.0368560254573822,
0.05155244469642639,
0.04040992632508278,
0.001039384864270687,
0.058200329542160034,
-0.01691238023340702,
-0.08454099297523499,
0.014487366192042828,
0.020894838497042656,
-0.03466097265481949,
0.025985276326537132,
-0.03574804589152336,
0.005014656577259302,
0.06919651478528976,
0.0026941692922264338,
-0.04448645934462547,
-0.06635339558124542,
0.010154744610190392,
-0.0055399020202457905,
-0.011957826092839241,
0.01065647229552269,
0.0218669343739748,
-0.01109025627374649,
-0.022765861824154854,
-0.013807944022119045,
-0.07241592556238174,
-0.03179694712162018,
0.03284221142530441,
0.01476958766579628,
-0.005801218096166849,
-0.016410652548074722,
0.07910562306642532,
0.029643701389431953,
-0.005775086581707001,
-0.019692784175276756,
0.14968188107013702,
0.019954100251197815,
0.055315397679805756,
0.03865388035774231,
0.07668060809373856,
-0.02172059752047062,
0.00992478709667921,
-0.012198236770927906,
-0.033636610954999924,
0.07755862921476364,
0.04628431424498558,
-0.07162152230739594,
0.020121341571211815,
0.039051081985235214,
0.028619343414902687,
-0.023372115567326546,
0.04657698795199394,
-0.06305035948753357,
0.044779133051633835,
0.007437057327479124,
-0.005184512119740248,
0.018511634320020676,
-0.04544810205698013,
-0.03403381258249283,
-0.023539356887340546,
-0.0237693153321743,
0.04101618006825447,
0.022473188117146492,
-0.002038265811279416,
-0.012156426906585693,
0.06112707033753395,
0.058033086359500885,
-0.015543083660304546,
0.027427740395069122,
-0.061712417751550674,
0.037441376596689224,
0.01715278998017311,
0.05222141742706299,
0.026277950033545494,
-0.06618615239858627,
0.045239049941301346,
-0.021511543542146683,
0.007849936373531818,
0.012835848145186901,
-0.011205235496163368,
0.004384884610772133,
0.0884711891412735,
-0.04862570762634277,
-0.002554365200921893,
0.0060834395699203014,
0.05886929854750633,
-0.016996001824736595,
-0.04360843449831009,
0.011550173163414001,
-0.04076531529426575,
0.06024904549121857,
0.061879660934209824,
-0.040326304733753204,
-0.01645246334373951,
-0.005503317806869745,
0.00610957108438015,
-0.043817490339279175,
-0.05506453663110733,
-0.007766315247863531,
0.018919287249445915,
0.05155244469642639,
-0.00987252313643694,
-0.01715278998017311,
0.04423559457063675,
0.054019272327423096,
0.030563535168766975,
-0.0036871705669909716,
0.007687920704483986,
0.009773223660886288,
0.024689147248864174,
0.044611889868974686,
-0.016128432005643845,
-0.029141975566744804,
0.03986638784408569,
-0.035852573812007904,
0.04992183297872543,
-0.041120707988739014,
-0.007322078105062246,
-0.02985275536775589,
0.005174059420824051,
-0.0067628612741827965,
0.0280758049339056,
0.019462825730443,
0.022138701751828194,
-0.026131613180041313,
0.002801308874040842,
0.031086167320609093,
-0.02251499705016613,
-0.057698603719472885,
0.018657971173524857,
0.02005862630903721,
-0.019954100251197815,
-0.013870660215616226,
0.011654699221253395,
0.05590074509382248,
0.0034467598889023066,
-0.02075895294547081,
-0.03750409185886383,
-0.021375659853219986,
0.007489320356398821,
-0.027511361986398697,
0.0454062893986702,
0.03867478668689728,
0.07329394668340683,
0.015522178262472153,
-0.04615887999534607,
-0.02035130001604557,
-0.0309816412627697,
0.014152881689369678,
0.05205417424440384,
-0.0030364934355020523,
-0.06668787449598312,
0.031650610268116,
-0.022452281787991524,
-0.03326031565666199,
0.04009634628891945,
-0.0016253862995654345,
-0.007405699230730534,
-0.004698464181274176,
0.006700145546346903,
-0.037901293486356735,
0.053726594895124435,
0.04578258469700813,
0.07730776071548462,
-0.009496227838099003,
0.012490911409258842,
-0.018438465893268585,
0.0035565125290304422,
0.0064806402660906315,
0.028452100232243538,
-0.052430469542741776,
-0.02872386947274208,
-0.06305035948753357,
0.026236139237880707,
-0.08328668028116226,
0.05569169297814369,
-0.0495455376803875,
0.0182607714086771,
0.05192873999476433,
0.0361243411898613,
-0.06718960404396057,
-0.02728140354156494,
-0.05008907616138458,
0.055482640862464905,
-0.025608981028199196,
0.0447373203933239,
-0.02477276884019375,
0.0564860962331295,
-0.0488765686750412,
-0.015814851969480515,
0.030521724373102188,
0.027051445096731186,
0.021636975929141045,
-0.019285131245851517,
-0.05050718039274216,
0.025504454970359802,
0.04277222603559494,
0.013327122665941715,
0.05092528834939003,
-0.012407289817929268,
-0.03693964704871178,
0.039176516234874725,
0.00953803863376379,
0.020163152366876602,
0.058033086359500885,
-0.0028196009807288647,
0.02097845822572708,
-0.008079894818365574,
-0.00714960927143693,
-0.032319579273462296,
-0.04279312863945961,
0.005294264759868383,
-0.04553172364830971,
-0.05481367185711861,
0.013222596608102322,
0.021929649636149406,
-0.01643155887722969,
0.00048408814473077655,
0.023372115567326546,
0.021427921950817108,
-0.017121432349085808,
0.024354662746191025,
0.044444646686315536,
-0.0478731170296669,
0.006203644908964634,
0.044653698801994324,
-0.07346118986606598,
0.00846664234995842,
-0.009679149836301804,
-0.014456008560955524,
-0.03365751728415489,
-0.03474459424614906,
0.08755135536193848,
-0.02282857708632946,
-0.02049763686954975,
0.02732321433722973,
-0.02556717023253441,
0.001373216276988387,
0.01609707437455654,
-0.0065276771783828735,
0.03300945460796356,
-0.054186511784791946,
0.0030286540277302265,
-0.014727776870131493,
-0.055022723972797394,
-0.044779133051633835,
-0.00020611309446394444,
-0.006245455704629421,
-0.04816579073667526,
-0.0020238934084773064,
0.02715597301721573,
0.0009074202389456332,
-0.018657971173524857,
0.11456099152565002,
0.012020542286336422,
-0.063301220536232,
0.009569397196173668,
0.03629158437252045,
0.02682148851454258,
0.019985457882285118,
-0.013368933461606503,
-0.046200692653656006,
0.06530813127756119,
0.013076258823275566,
-0.03112797811627388,
0.0024511453229933977,
0.016755590215325356,
0.013672060333192348,
-0.00818964745849371,
-0.006616524420678616,
-0.024187421426177025,
-0.002443305915221572,
0.051008909940719604,
0.021950555965304375,
0.02035130001604557,
0.06790038198232651,
-0.009799354709684849,
-0.004546900745481253,
0.025504454970359802,
-0.0637611374258995,
0.02889111079275608,
0.021344302222132683,
0.020528994500637054,
-0.040953464806079865,
0.013306217268109322,
-0.04724595695734024,
-0.007520678453147411,
-0.004701077006757259,
0.04314852133393288,
-0.040932558476924896,
0.025797128677368164,
0.09624795615673065,
-0.0244382843375206,
-0.04553172364830971,
-0.014665061607956886,
-0.004371819086372852,
-0.06112707033753395,
-0.012553626671433449,
0.00429342407733202,
-0.03861207142472267,
0.008283721283078194,
0.06380295008420944,
-0.02381112612783909,
-0.015846209600567818,
0.04561534523963928,
-0.055315397679805756,
-0.048291221261024475,
0.03351118043065071,
-0.010264497250318527,
0.04586620628833771,
-0.02987365983426571,
0.006496319081634283,
0.02458462119102478,
0.0073586623184382915,
-0.008968370035290718,
0.012187784537672997,
0.02872386947274208,
0.025985276326537132,
0.014320123940706253,
0.015888020396232605,
0.01048922911286354,
-0.01621205359697342,
0.038403019309043884,
-0.09716778993606567,
-0.06526631861925125,
-0.05811670795083046,
-0.04135066643357277,
0.0516778789460659,
-0.016964644193649292,
-0.038382112979888916,
-0.024020178243517876,
0.003114888211712241,
0.04758043959736824,
-0.007348209619522095,
-0.03064715676009655,
-0.008053762838244438,
-0.01933739334344864,
-0.026863297447562218,
-0.009898655116558075,
-0.04565715417265892,
-0.008064216002821922,
-0.02362297847867012,
-0.012658153660595417,
-0.013316670432686806,
-0.063970185816288,
0.019975004717707634,
0.04691147059202194,
0.013745228759944439,
0.007531130686402321,
0.010625113733112812,
0.0685693547129631,
0.06405381113290787,
0.01878340356051922,
-0.02456371672451496,
0.06020723655819893,
0.0430648997426033,
0.07496637105941772,
-0.04164334014058113,
-0.0034467598889023066,
-0.013912471011281013,
0.05079985782504082,
-0.0008420912199653685,
0.03767133504152298,
0.020393110811710358,
0.003857026109471917,
-0.0712452307343483,
0.0685693547129631,
-0.0268423929810524,
0.04983821138739586,
-0.0013366320636123419,
-0.08671514689922333,
0.014978640712797642,
-0.021825123578310013,
0.0109334671869874,
0.011288857087492943,
-0.0031462463084608316,
0.028514815494418144,
-0.11272132396697998,
-0.00674195634201169,
0.02347664162516594,
0.033448465168476105,
-0.009809807874262333,
-0.008236684836447239,
-0.006642655935138464,
0.05305762588977814,
-0.01724686473608017,
-0.0482075996696949,
-0.025755317881703377,
-0.024856390431523323,
-0.013651154935359955,
0.016713779419660568,
0.0014202531892806292,
-0.007808126043528318,
0.016159789636731148,
0.04195691645145416,
0.018992455676198006,
0.03957371413707733,
-0.008607753552496433,
0.0121355215087533,
0.020936649292707443,
0.05393565073609352,
0.021490639075636864,
0.05410289019346237,
-0.00379431014880538,
0.014863661490380764,
-0.02907925844192505,
0.021657880395650864,
0.019368750974535942,
-0.007907425984740257,
-0.02049763686954975,
-0.035120889544487,
0.019023815169930458,
0.013368933461606503,
0.0015535244019702077,
-0.05042356252670288,
-0.05585893616080284,
-0.04900199919939041,
-0.00530471745878458,
0.022744955494999886,
0.019421014934778214,
-0.0003139059990644455,
0.021448828279972076,
0.049085620790719986,
-0.019901836290955544,
-0.019473278895020485,
0.00952758640050888,
-0.07906381040811539,
0.004181058146059513,
0.037734050303697586,
-0.02732321433722973,
0.0054667335934937,
-0.007896973751485348,
0.03146246075630188,
0.02473095804452896,
-0.008001499809324741,
-0.025483548641204834,
-0.0003127627423964441,
-0.0864642783999443,
0.028932921588420868,
-0.031211599707603455,
-0.0447373203933239,
-0.04515542834997177,
0.004139247350394726,
-0.02153244987130165,
-0.07893837988376617,
-0.0054353754967451096,
-0.031065260991454124,
0.04423559457063675,
-0.032800402492284775,
-0.0027124613989144564,
0.008367342874407768,
0.047831304371356964,
-0.014278313145041466,
-0.03081439808011055,
0.004559966269880533,
0.02475186437368393,
-0.04009634628891945,
-0.02665424533188343,
0.043190330266952515,
-0.0059318761341273785,
0.05393565073609352,
-0.008053762838244438,
-0.009396928362548351,
0.03861207142472267,
0.03564352169632912,
0.04866751655936241,
0.043357573449611664,
-0.07065988332033157,
-0.013504818081855774,
-0.043023087084293365,
-0.010713960975408554,
0.010207008570432663,
-0.004194124136120081,
-0.014999546110630035,
0.0036061627324670553,
-0.016327032819390297,
0.014727776870131493,
0.022096892818808556,
0.033782947808504105,
-0.007212325464934111,
-0.01857435144484043,
0.0005366780096665025,
0.057238686829805374,
0.062339577823877335,
0.02429194748401642,
0.0003991604025941342,
-0.10343937575817108,
-0.002921514445915818,
0.07095255702733994,
-0.014048355631530285,
-0.05330849066376686,
0.047329578548669815,
0.04850027337670326,
0.004079144913703203,
0.005550354719161987,
-0.018605709075927734,
-0.010363797657191753,
0.00879067461937666,
-0.004097437020391226,
0.007248909678310156,
-0.025797128677368164,
0.04548991098999977,
-0.029622796922922134,
0.00714960927143693,
-0.05573350563645363,
0.04053535684943199,
-0.014884566888213158,
-0.007656562607735395,
-0.03213142976164818,
-0.03464006632566452,
-0.03957371413707733,
-0.04578258469700813,
-0.03464006632566452,
0.04036811739206314,
-0.009041538462042809,
0.01758134923875332,
-0.028619343414902687,
0.02696782536804676,
0.013849754817783833,
0.004779472015798092,
-0.036626070737838745,
-0.07007453590631485,
0.00523154903203249,
0.06413742899894714,
0.018459372222423553,
0.005963234230875969,
0.054061081260442734,
-0.06672968715429306,
-0.00901017989963293,
0.030751682817935944,
-0.006794219370931387,
-0.02157426066696644,
-0.010625113733112812,
-0.011121614836156368,
0.014069260098040104,
-0.0009309386950917542,
-0.00463052187114954,
0.03031267039477825,
-0.002091835718601942,
-0.009752318263053894,
-0.02236866019666195,
-0.013389838859438896,
0.02347664162516594,
0.028765680268406868,
-0.035204507410526276,
-0.05029812827706337,
0.0244382843375206,
-0.008612980134785175,
0.0007218858227133751,
0.035058170557022095,
-0.040786221623420715,
-0.019640520215034485,
-0.013295765034854412,
0.024312853813171387,
0.04020087420940399,
0.018407108262181282,
0.021762408316135406,
-0.0014659834560006857,
0.017215507104992867,
-0.0006611298304051161,
0.01531312521547079,
0.018030812963843346,
-0.006276813335716724,
-0.011424741707742214,
-0.021657880395650864,
-0.03129522129893303,
0.020476732403039932,
0.0020134407095611095,
0.03223595768213272,
0.023267587646842003,
-0.02571350708603859,
0.0050407880917191505,
-0.012950827367603779,
-0.03794310241937637,
-0.036626070737838745,
-0.03530903533101082,
-0.013922923244535923,
0.011769678443670273,
-0.022431377321481705,
0.03355299308896065,
0.007275041192770004,
0.03748318552970886,
0.014539629220962524
] |
730,068 | mmengine.config.config | __call__ | Parse Variables in string and add them into argparser.
Args:
parser (ArgumentParser): Argument parser.
namespace (Namespace): Argument namespace.
values (Union[str, Sequence[Any], None]): Argument string.
option_string (list[str], optional): Option string.
Defaults to None.
| def __call__(self,
parser: ArgumentParser,
namespace: Namespace,
values: Union[str, Sequence[Any], None],
option_string: str = None):
"""Parse Variables in string and add them into argparser.
Args:
parser (ArgumentParser): Argument parser.
namespace (Namespace): Argument namespace.
values (Union[str, Sequence[Any], None]): Argument string.
option_string (list[str], optional): Option string.
Defaults to None.
"""
# Copied behavior from `argparse._ExtendAction`.
options = copy.copy(getattr(namespace, self.dest, None) or {})
if values is not None:
for kv in values:
key, val = kv.split('=', maxsplit=1)
options[key] = self._parse_iterable(val)
setattr(namespace, self.dest, options)
| (self, parser: argparse.ArgumentParser, namespace: argparse.Namespace, values: Union[str, Sequence[Any], NoneType], option_string: Optional[str] = None) | [
-0.033442966639995575,
0.026840895414352417,
0.008177350275218487,
-0.07377014309167862,
0.03199464827775955,
0.036076270043849945,
-0.005440595094114542,
0.06207074597477913,
0.017530282959342003,
-0.025524243712425232,
-0.041342880576848984,
0.023191887885332108,
-0.02977515012025833,
0.05134943500161171,
0.015959706157445908,
0.03632079064846039,
0.014567816630005836,
0.04807661473751068,
-0.019862638786435127,
0.03983813524246216,
0.03159965202212334,
-0.02746160328388214,
-0.0434495247900486,
0.041305262595415115,
-0.00791402067989111,
0.0006318754749372602,
0.02473425306379795,
-0.04021431878209114,
-0.01476531382650137,
0.050408970564603806,
-0.0061694560572505,
-0.037562206387519836,
-0.0200131144374609,
0.01067428756505251,
0.012912596575915813,
-0.05413321405649185,
-0.03148679807782173,
0.08735047280788422,
0.01724814437329769,
-0.007796462159603834,
-0.014022345654666424,
-0.010269886814057827,
0.01978740096092224,
0.011097497306764126,
0.011219757609069347,
0.010636668652296066,
-0.04390094801783562,
0.0018891608342528343,
0.02371854893863201,
-0.05172562226653099,
0.05616462230682373,
-0.003637251676991582,
-0.024884726852178574,
-0.02565590851008892,
-0.02588162012398243,
0.14234891533851624,
0.07644106447696686,
0.07030922919511795,
0.0037806727923452854,
0.016138393431901932,
-0.011990940198302269,
-0.02347402833402157,
0.03942432999610901,
-0.0028308022301644087,
-0.02223261259496212,
-0.007979853078722954,
0.0014647755306214094,
-0.028025882318615913,
-0.020464537665247917,
0.008934426121413708,
-0.05432130768895149,
-0.05417083203792572,
-0.009550430811941624,
-0.04104192927479744,
0.011652371846139431,
0.031411558389663696,
-0.03159965202212334,
0.019749782979488373,
-0.005647497717291117,
-0.012197841890156269,
-0.053681790828704834,
0.020238826051354408,
-0.01642993837594986,
-0.007119326386600733,
0.01072131097316742,
0.002635655691847205,
-0.06872924417257309,
-0.02448973059654236,
0.02038929983973503,
0.0323520265519619,
-0.05684175714850426,
-0.02255237102508545,
-0.0025768764317035675,
0.06406453251838684,
-0.04548092931509018,
-0.0069594476372003555,
0.018160395324230194,
-0.040477652102708817,
-0.01504745427519083,
0.019618118181824684,
-0.04228334501385689,
-0.0426219142973423,
0.011652371846139431,
-0.021329766139388084,
0.010711906477808952,
-0.03739292174577713,
0.026521136984229088,
-0.010570836253464222,
0.006663200445473194,
0.01287497766315937,
0.006371656432747841,
-0.016063157469034195,
0.0027320533990859985,
0.014257462695240974,
-0.060152195394039154,
0.060904569923877716,
-0.028966348618268967,
-0.008685202337801456,
-0.012715098448097706,
-0.026690421625971794,
-0.04107954725623131,
0.006498618982732296,
-0.002842558082193136,
0.04499188810586929,
-0.0005451763281598687,
0.008609965443611145,
-0.05432130768895149,
-0.018940983340144157,
0.022251421585679054,
-0.005055003799498081,
0.01791587471961975,
-0.035286277532577515,
0.035662464797496796,
-0.02416997216641903,
-0.0028402069583535194,
-0.017201120033860207,
-0.004833994433283806,
0.021837618201971054,
-0.05025849491357803,
0.0013119499199092388,
0.02689732424914837,
0.029041586443781853,
0.02505401149392128,
-0.04612044617533684,
-0.023793786764144897,
-0.031957030296325684,
0.0519513338804245,
0.030960137024521828,
-0.007998662069439888,
0.033537011593580246,
-0.025862811133265495,
0.01310068927705288,
-0.010589645244181156,
0.020464537665247917,
0.03425176814198494,
0.0015799826942384243,
0.010053579695522785,
-0.012179032899439335,
0.012893786653876305,
-0.03101656399667263,
-0.016091370955109596,
-0.042132869362831116,
-0.026427090167999268,
0.035982225090265274,
0.10315029323101044,
-0.02454615943133831,
0.1041283831000328,
0.027856599539518356,
-0.031355131417512894,
0.03092251718044281,
0.0047446503303945065,
-0.048189472407102585,
0.02717946283519268,
0.047775667160749435,
0.018508369103074074,
0.01589387282729149,
0.000325636297930032,
0.003825344843789935,
0.005718032363802195,
0.00408397288993001,
-0.03637722134590149,
-0.007166349794715643,
-0.02108524553477764,
-0.016223035752773285,
0.03852148354053497,
-0.04175668582320213,
0.010269886814057827,
0.05544986575841904,
-0.004210935905575752,
0.005252501927316189,
0.04551854729652405,
-0.02764969691634178,
-0.010702501982450485,
0.004638847894966602,
-0.043750472366809845,
-0.01282795425504446,
-0.032145123928785324,
-0.02699137106537819,
0.020897151902318,
0.014972216449677944,
-0.027010180056095123,
-0.0166462454944849,
-0.019430024549365044,
-0.02787540853023529,
0.019749782979488373,
0.03652769327163696,
0.017022432759404182,
0.023549266159534454,
-0.04976945370435715,
-0.024903535842895508,
-0.015658756718039513,
-0.016373511403799057,
0.019335977733135223,
0.015470663085579872,
-0.0047540548257529736,
0.036170318722724915,
-0.013411043211817741,
0.004471915308386087,
0.02159309573471546,
0.020596202462911606,
0.10570836067199707,
0.023304743692278862,
0.053681790828704834,
0.02740517444908619,
0.034364622086286545,
-0.028721828013658524,
0.028947539627552032,
-0.0730930045247078,
-0.029662294313311577,
0.07982674241065979,
0.012404744513332844,
-0.011652371846139431,
0.00103274907451123,
0.03408248350024223,
0.01899741031229496,
-0.03995098918676376,
0.026539945974946022,
0.005765055771917105,
0.01775599643588066,
0.0011620630975812674,
-0.010702501982450485,
-0.011774633079767227,
-0.0825352817773819,
-0.02889111079275608,
-0.011774633079767227,
0.02685970440506935,
-0.026220187544822693,
0.019806211814284325,
0.04976945370435715,
0.023210696876049042,
0.07215254008769989,
0.016975408419966698,
-0.042546674609184265,
0.039499565958976746,
-0.11089973151683807,
0.0734315738081932,
0.02093476988375187,
0.026822086423635483,
0.007401466369628906,
-0.06421501189470291,
0.05078515782952309,
-0.014690076932311058,
0.009856082499027252,
0.022947367280721664,
-0.02851492539048195,
-0.014163415879011154,
0.02879706397652626,
-0.03504175692796707,
0.017671354115009308,
-0.004293226636946201,
0.06297359615564346,
0.018085159361362457,
-0.014088178984820843,
0.03987575322389603,
-0.01696600392460823,
0.05330560356378555,
0.027630887925624847,
-0.0043049827218055725,
0.0025416091084480286,
-0.02070905826985836,
0.062334079295396805,
0.018799912184476852,
-0.03679102286696434,
-0.029605865478515625,
0.04036479443311691,
0.01400353666394949,
0.04540569335222244,
0.027066607028245926,
-0.01728576235473156,
0.006667903158813715,
0.009479896165430546,
0.0604531466960907,
0.007754140999168158,
0.028815874829888344,
0.0024122949689626694,
0.06041552871465683,
0.0010245200246572495,
-0.006075409706681967,
0.023323552682995796,
-0.028815874829888344,
0.027217082679271698,
-0.09246660023927689,
-0.03502294793725014,
-0.00007971917511895299,
0.006310525815933943,
-0.015113286674022675,
0.0374869704246521,
0.05097325146198273,
0.02413235418498516,
0.01629827357828617,
0.03701673820614815,
0.034044865518808365,
-0.08667333424091339,
-0.03998860716819763,
0.0622212216258049,
0.0663592740893364,
0.00033033863292075694,
-0.04265953227877617,
-0.0036631145048886538,
-0.0025510136038064957,
0.019486453384160995,
-0.06207074597477913,
-0.03763744235038757,
-0.04815185070037842,
-0.0005807376583106816,
0.08185815066099167,
-0.012950214557349682,
0.01740802265703678,
0.05496082454919815,
-0.02565590851008892,
0.006239991169422865,
-0.020633820444345474,
-0.03882243111729622,
-0.011182138696312904,
0.061355993151664734,
-0.05409559607505798,
-0.06997065991163254,
0.0026333043351769447,
0.0008346634567715228,
0.00346561660990119,
0.02889111079275608,
0.053079891949892044,
-0.07741914689540863,
-0.014520793221890926,
0.013740206137299538,
-0.01157713495194912,
0.00603308854624629,
-0.0005049126339145005,
0.08388955891132355,
-0.05842173844575882,
-0.03976289555430412,
0.018658842891454697,
-0.01902562379837036,
-0.02366212196648121,
0.037787918001413345,
-0.008266694843769073,
-0.02787540853023529,
0.023003794252872467,
0.03361225128173828,
-0.11586539447307587,
-0.035530801862478256,
-0.03206988424062729,
0.04747471585869789,
0.006310525815933943,
-0.0016763804014772177,
-0.04653425142168999,
0.013552113436162472,
-0.026220187544822693,
0.04773804917931557,
-0.03190060332417488,
0.0647040531039238,
-0.002440508920699358,
0.040891457349061966,
-0.05070991814136505,
-0.021762380376458168,
-0.007377954665571451,
-0.00902376975864172,
-0.01287497766315937,
-0.04540569335222244,
-0.05680413916707039,
-0.004175668582320213,
0.041794303804636,
-0.009296504780650139,
0.05078515782952309,
0.008685202337801456,
-0.005233692470937967,
0.03088489919900894,
0.024715442210435867,
-0.006183563265949488,
0.027292318642139435,
0.0025580672081559896,
-0.0200131144374609,
0.03491009399294853,
-0.009884295985102654,
-0.03457152470946312,
-0.04762519150972366,
-0.019335977733135223,
-0.019430024549365044,
-0.05037135258316994,
-0.0008822745294310153,
0.02574995532631874,
-0.0519513338804245,
0.0416814461350441,
0.04713615030050278,
0.03632079064846039,
-0.0038606123998761177,
0.028439687564969063,
0.025110438466072083,
-0.02546781487762928,
0.014323295094072819,
0.0017716025467962027,
-0.0655316635966301,
-0.019072648137807846,
-0.037656255066394806,
-0.04119240492582321,
-0.01819801516830921,
-0.007307419553399086,
0.05514891818165779,
0.004718787502497435,
-0.03522985056042671,
-0.007937531918287277,
-0.030019670724868774,
-0.02315426990389824,
0.030471093952655792,
-0.0012508196523413062,
-0.022119756788015366,
0.0011021083919331431,
-0.02426401898264885,
-0.021969282999634743,
-0.0937456339597702,
-0.09171423316001892,
0.06079171225428581,
0.0014659512089565396,
-0.034590333700180054,
0.020069541409611702,
0.0018256793264299631,
-0.022401897236704826,
-0.05010802298784256,
0.04514236003160477,
-0.004928041249513626,
-0.06816496700048447,
-0.06436548382043839,
0.02866539917886257,
0.014163415879011154,
-0.07535012811422348,
-0.03652769327163696,
-0.04991992935538292,
0.02061501145362854,
-0.05842173844575882,
-0.0477004274725914,
0.012762121856212616,
-0.000315643846988678,
0.03720482811331749,
0.017925279214978218,
-0.006061302497982979,
-0.06722450256347656,
-0.02546781487762928,
0.010702501982450485,
0.017671354115009308,
0.0191855039447546,
-0.010937618091702461,
-0.05334322527050972,
0.004373166244477034,
-0.015997324138879776,
-0.06771354377269745,
0.048791367560625076,
0.03361225128173828,
-0.0024287530686706305,
-0.027104226872324944,
-0.009978342801332474,
-0.055261775851249695,
-0.02102881669998169,
-0.016194822266697884,
-0.006489214487373829,
-0.038709573447704315,
0.0315244160592556,
0.03803243860602379,
0.017163502052426338,
-0.03622674569487572,
0.008144434541463852,
-0.01735159568488598,
-0.016382915899157524,
0.03767506405711174,
0.030207764357328415,
-0.011567730456590652,
0.04533045366406441,
0.11338256299495697,
-0.006771354004740715,
-0.01338282972574234,
0.05988886579871178,
0.01139844674617052,
-0.002525150775909424,
-0.012282484211027622,
-0.044766176491975784,
0.04890422523021698,
-0.009856082499027252,
0.019147884100675583,
0.018480153754353523,
0.006606772541999817,
0.01333580631762743,
-0.014473769813776016,
-0.008544132113456726,
0.010918809100985527,
-0.0015435395762324333,
0.05409559607505798,
0.0071710520423948765,
-0.03171250969171524,
0.04059050604701042,
-0.09261707961559296,
-0.0605660006403923,
-0.06918066740036011,
0.003148209536448121,
0.02755565010011196,
-0.0007241587154567242,
-0.005572260357439518,
-0.0031599653884768486,
0.021160481497645378,
0.05134943500161171,
-0.05544986575841904,
-0.04115478694438934,
-0.011285590007901192,
-0.032427262514829636,
-0.026972560212016106,
-0.004798727110028267,
-0.033950816839933395,
-0.008069196715950966,
-0.06587023288011551,
0.015583519823849201,
0.01601613312959671,
-0.04081621766090393,
0.0003838276315946132,
0.05070991814136505,
-0.016072561964392662,
-0.014454959891736507,
0.0348912850022316,
0.03197583928704262,
0.037186019122600555,
0.009846678003668785,
0.0020678492728620768,
0.056089382618665695,
0.01563054323196411,
0.06609594076871872,
-0.027010180056095123,
0.04107954725623131,
-0.03338653966784477,
0.012856168672442436,
-0.020464537665247917,
0.006926530972123146,
0.08885521441698074,
-0.023963069543242455,
-0.028834683820605278,
0.024847108870744705,
-0.0443899892270565,
0.11022260040044785,
-0.001082123490050435,
-0.0647040531039238,
-0.0014059965033084154,
0.014643053524196148,
-0.05556272342801094,
0.0010827112710103393,
0.02195047400891781,
0.0067901634611189365,
-0.05876030772924423,
0.07324348390102386,
0.000828785530757159,
-0.003686626208946109,
-0.016034942120313644,
-0.0605660006403923,
-0.027104226872324944,
0.03807005658745766,
0.011718204244971275,
-0.07275444269180298,
-0.035286277532577515,
-0.02962467446923256,
-0.03060275875031948,
0.04581949859857559,
0.03092251718044281,
-0.006823079660534859,
0.016213631257414818,
0.08291146904230118,
-0.028815874829888344,
0.013025452382862568,
-0.031731318682432175,
-0.008088006637990475,
0.012752717360854149,
0.0929180309176445,
0.02889111079275608,
0.06041552871465683,
0.013617945834994316,
0.02200690098106861,
0.00768360635265708,
-0.019580500200390816,
-0.008882700465619564,
0.014219843782484531,
-0.03684745356440544,
-0.0501832589507103,
-0.016128988936543465,
-0.0212545283138752,
0.027386365458369255,
-0.05917411297559738,
-0.05853459611535072,
-0.0017257548170164227,
-0.016194822266697884,
0.0002743515360634774,
-0.00963977538049221,
0.004088675137609243,
-0.0306968055665493,
0.056315094232559204,
-0.014248058199882507,
-0.0007482581422664225,
0.0130160478875041,
-0.05883554369211197,
0.0062682051211595535,
0.013429852202534676,
0.028872301802039146,
0.025599481537938118,
-0.00011094558431068435,
0.029888005927205086,
0.03364986926317215,
-0.06451595574617386,
0.003505586413666606,
0.05511130020022392,
-0.05078515782952309,
0.0017645490588620305,
-0.0023735007271170616,
-0.03257773816585541,
-0.05300465598702431,
-0.014652458019554615,
-0.03180655464529991,
-0.033537011593580246,
0.0026450601872056723,
-0.024922344833612442,
-0.010363933630287647,
-0.04359999671578407,
0.023267125710844994,
-0.03791958466172218,
0.055261775851249695,
-0.002358218189328909,
-0.002877825638279319,
-0.031167039647698402,
0.04198239743709564,
-0.030809661373496056,
0.025317341089248657,
-0.0018103967886418104,
-0.008624072186648846,
0.06673546135425568,
-0.014407937414944172,
-0.0238502137362957,
0.03457152470946312,
0.04311095550656319,
0.05191371589899063,
0.0443899892270565,
-0.017558498308062553,
-0.012263675220310688,
0.022495944052934647,
0.02381259575486183,
0.027066607028245926,
-0.012009749189019203,
0.03197583928704262,
0.0073403362184762955,
-0.029831577092409134,
0.029417771846055984,
0.06914304941892624,
0.02514805644750595,
-0.027292318642139435,
-0.043976183980703354,
-0.006813675165176392,
0.001207323046401143,
0.037505779415369034,
0.052252285182476044,
0.0024099438451230526,
-0.07170111685991287,
0.003917040303349495,
0.10014080256223679,
0.0065315356478095055,
-0.06255979090929031,
0.0004802253970410675,
-0.024339256808161736,
-0.010505003854632378,
0.006945340428501368,
-0.03536151722073555,
-0.0477004274725914,
0.03641483932733536,
-0.06515547633171082,
-0.04329904913902283,
-0.0501832589507103,
0.06064124032855034,
0.00418507307767868,
0.018912767991423607,
-0.051650386303663254,
0.04672234505414963,
0.0028237488586455584,
-0.021988091990351677,
-0.023586884140968323,
0.02588162012398243,
0.026427090167999268,
-0.03673459589481354,
-0.061130281537771225,
0.049807071685791016,
0.019430024549365044,
-0.006884210277348757,
0.04228334501385689,
-0.014849956147372723,
0.02509162947535515,
0.013787229545414448,
-0.05736841633915901,
-0.030809661373496056,
0.005252501927316189,
0.06240931525826454,
0.011774633079767227,
0.0306968055665493,
0.023361172527074814,
-0.03624555468559265,
-0.007979853078722954,
0.014332699589431286,
-0.007105219643563032,
-0.011727609671652317,
0.003124697832390666,
-0.01282795425504446,
0.026840895414352417,
0.015038048848509789,
-0.006000172346830368,
0.07234063744544983,
-0.028684208169579506,
0.033254873007535934,
-0.02625780738890171,
-0.04367523640394211,
0.04845280200242996,
0.07824675738811493,
-0.038935285061597824,
-0.019994303584098816,
0.009625667706131935,
0.05413321405649185,
-0.01252700574696064,
-0.03041466698050499,
-0.022721655666828156,
0.004998575896024704,
0.019994303584098816,
0.03904814273118973,
0.01544244959950447,
0.0013013696298003197,
0.011031664907932281,
0.04311095550656319,
-0.011831060983240604,
0.017022432759404182,
0.03549318015575409,
-0.036170318722724915,
-0.02131095714867115,
-0.024395683780312538,
0.02121691033244133,
-0.049618978053331375,
0.03410129249095917,
0.007551941089332104,
0.05473511293530464,
0.038295768201351166,
-0.03624555468559265,
0.026314234361052513,
-0.0024851809721440077,
0.003002437297254801,
-0.05236513912677765,
-0.07787057012319565,
-0.015461258590221405,
-0.010251077823340893,
-0.03509818762540817,
0.05341846123337746,
0.05086039379239082,
0.024715442210435867,
0.017803018912672997
] |
730,073 | mmengine.config.config | _parse_int_float_bool | parse int/float/bool value in the string. | @staticmethod
def _parse_int_float_bool(val: str) -> Union[int, float, bool, Any]:
"""parse int/float/bool value in the string."""
try:
return int(val)
except ValueError:
pass
try:
return float(val)
except ValueError:
pass
if val.lower() in ['true', 'false']:
return True if val.lower() == 'true' else False
if val == 'None':
return None
return val
| (val: str) -> Union[int, float, bool, Any] | [
0.011139538139104843,
-0.031734101474285126,
0.028419408947229385,
-0.028745442628860474,
-0.009944075718522072,
0.02941562794148922,
0.014010460115969181,
0.03606312349438667,
-0.037494055926799774,
-0.10382412374019623,
0.0174972265958786,
0.033835217356681824,
-0.016510063782334328,
-0.016256481409072876,
0.013113862834870815,
0.0016494215233251452,
-0.027368849143385887,
0.0650259256362915,
0.03229560703039169,
0.010297280736267567,
-0.02671677991747856,
-0.006158444099128246,
-0.03211447596549988,
0.04586229473352432,
0.04477551206946373,
-0.019109290093183517,
0.049086421728134155,
-0.03394389525055885,
-0.03486766293644905,
0.01925419457256794,
0.010831616818904877,
-0.03611746430397034,
0.01192745752632618,
0.029850341379642487,
-0.04216722771525383,
-0.036316707730293274,
-0.00914710108190775,
0.0548463799059391,
-0.04053705185651779,
0.017750808969140053,
-0.047564923763275146,
-0.026263952255249023,
-0.02869110368192196,
0.02019607461988926,
-0.06868476420640945,
-0.02113795280456543,
-0.02564810775220394,
-0.000481128430692479,
-0.05046301707625389,
0.017288926988840103,
0.06064256280660629,
-0.0033011070918291807,
-0.025666221976280212,
0.006502592470496893,
-0.04593474790453911,
-0.02081191912293434,
0.0002841487876139581,
0.04665927216410637,
-0.03437860682606697,
0.019308533519506454,
-0.016736477613449097,
0.02032286487519741,
-0.019399099051952362,
-0.020014943554997444,
0.01323159784078598,
0.01346706785261631,
-0.002068286295980215,
-0.0036316707264631987,
-0.048144541680812836,
-0.013159145601093769,
-0.04923132807016373,
0.00001783889820217155,
-0.0283469557762146,
0.030031470581889153,
0.05093395337462425,
-0.0019992301240563393,
-0.0354110524058342,
-0.0008903706329874694,
-0.055208638310432434,
0.02399981953203678,
0.0397038497030735,
0.07172776013612747,
0.028890347108244896,
-0.024289628490805626,
-0.028908461332321167,
0.011275386437773705,
-0.03700500354170799,
0.036570288240909576,
0.012470848858356476,
0.05749088525772095,
-0.006552403327077627,
-0.09389816224575043,
-0.008572010323405266,
-0.029578644782304764,
0.026028482243418694,
0.031245047226548195,
0.05064414441585541,
-0.04060950502753258,
-0.0326397530734539,
-0.03687821328639984,
-0.04068195819854736,
0.012316888198256493,
-0.0702424868941307,
-0.055462222546339035,
0.0056875040754675865,
-0.06980777531862259,
-0.0008569746860302985,
-0.03332804888486862,
0.017913827672600746,
-0.03316503390669823,
-0.010940294712781906,
-0.11317046731710434,
-0.06734439730644226,
0.027930354699492455,
0.01821269281208515,
-0.01068671140819788,
0.029832227155566216,
0.0013437634333968163,
-0.010605202987790108,
0.007154663093388081,
-0.0027826204895973206,
0.025466976687312126,
0.01936287246644497,
0.038798198103904724,
0.06129463016986847,
0.03897932916879654,
0.007308624219149351,
0.010559920221567154,
0.03930536285042763,
0.0956370159983635,
-0.0014671587850898504,
0.00945502333343029,
-0.010188601911067963,
-0.031009577214717865,
-0.06317839026451111,
0.014318382367491722,
-0.05328865349292755,
0.07636470347642899,
0.007186360657215118,
0.003713179612532258,
0.0011428215075284243,
-0.01170104369521141,
-0.016337990760803223,
-0.06187425181269646,
-0.04194987192749977,
0.030303167179226875,
0.009998414665460587,
-0.006565988063812256,
-0.07426358759403229,
0.02291303500533104,
0.005266375374048948,
0.004206760786473751,
-0.051223766058683395,
0.0420585498213768,
0.03510313108563423,
-0.03376276418566704,
0.04571739211678505,
-0.07759639620780945,
0.04915887489914894,
0.005519958212971687,
0.011882174760103226,
-0.0028731857892125845,
0.027622433379292488,
-0.005438449326902628,
0.024434532970190048,
0.02954241819679737,
0.04640568792819977,
0.013611972332000732,
0.024380194023251534,
0.030900899320840836,
0.014463286846876144,
0.026753006502985954,
-0.003258088603615761,
0.04828944802284241,
0.043036654591560364,
0.05803427845239639,
0.003070165403187275,
0.02907147817313671,
0.015133470296859741,
0.03977630287408829,
0.02644508332014084,
0.018982497975230217,
-0.039522722363471985,
-0.00446260767057538,
0.06046143174171448,
0.03646161034703255,
0.027839789167046547,
-0.010188601911067963,
-0.02126474492251873,
0.024615664035081863,
0.0005530146881937981,
-0.01481649186462164,
-0.003926008008420467,
0.0067924014292657375,
-0.03119070827960968,
0.016827043145895004,
0.019688908010721207,
-0.014517626725137234,
0.04397853463888168,
-0.02706092782318592,
0.026553761214017868,
-0.023782461881637573,
-0.004322231747210026,
0.030266940593719482,
-0.04242081195116043,
-0.06096859648823738,
-0.027459414675831795,
0.018004393205046654,
-0.024977924302220345,
-0.03814612701535225,
-0.05162225291132927,
-0.02505037747323513,
-0.053832046687603,
0.10592523962259293,
-0.004836190026253462,
-0.030321281403303146,
0.0008852763567119837,
0.02044965699315071,
-0.022297190502285957,
0.027839789167046547,
0.08911630511283875,
0.03861706703901291,
0.08505897969007492,
0.0470215305685997,
0.08585595339536667,
0.04263816773891449,
-0.04796341061592102,
-0.005941087380051613,
-0.017080625519156456,
0.020051170140504837,
0.03934159129858017,
-0.025937916710972786,
0.01676364615559578,
0.02986845374107361,
0.040826860815286636,
-0.03354540839791298,
0.08433445543050766,
-0.003568274900317192,
0.010541806928813457,
-0.019525891169905663,
0.04133402928709984,
-0.018692689016461372,
-0.051549799740314484,
-0.0160662941634655,
0.00030763918766751885,
-0.0010398034937679768,
0.04607965052127838,
0.013014241121709347,
-0.04629701003432274,
-0.034903887659311295,
-0.017687413841485977,
0.029270721599459648,
0.06625761091709137,
-0.004082233179360628,
-0.018765142187476158,
0.003282994031906128,
-0.034179363399744034,
0.03332804888486862,
0.02718771994113922,
-0.00868974532932043,
-0.0005779201746918261,
-0.044847965240478516,
0.016102520748972893,
0.0656055435538292,
-0.03673330694437027,
-0.06875721365213394,
0.03553784638643265,
-0.010523694567382336,
0.04539135470986366,
-0.008821065537631512,
0.07205379754304886,
-0.06542441248893738,
-0.04770983010530472,
-0.02267756499350071,
-0.0031426178757101297,
-0.021953042596578598,
0.028727330267429352,
-0.0261190477758646,
0.05491882935166359,
-0.005193923134356737,
-0.0024362080730497837,
-0.019688908010721207,
0.004016573540866375,
0.040464598685503006,
0.01784137450158596,
0.011375008150935173,
0.017868544906377792,
0.013919894583523273,
0.01889193244278431,
0.0159395020455122,
0.0023071523755788803,
-0.008187107741832733,
-0.0001262962177861482,
-0.028256390243768692,
-0.007480698172003031,
0.04763737693428993,
0.003278465708717704,
-0.07810356467962265,
0.021663233637809753,
-0.05756333842873573,
0.02267756499350071,
-0.01210858765989542,
0.0023343220818787813,
0.014381778426468372,
0.034215591847896576,
0.0017524396535009146,
-0.008427105844020844,
-0.03387144207954407,
0.010849729180335999,
0.023184731602668762,
-0.01772364042699337,
-0.04408721625804901,
-0.04999207705259323,
-0.018104014918208122,
0.014273099601268768,
0.02715149335563183,
-0.008359182626008987,
-0.03061109036207199,
-0.051803383976221085,
0.021790023893117905,
-0.010840672999620438,
-0.004186383448541164,
0.012742545455694199,
0.024144724011421204,
-0.03792877122759819,
-0.04948490858078003,
-0.03508501872420311,
-0.009998414665460587,
-0.006253537721931934,
0.06926438212394714,
-0.03198768198490143,
-0.01192745752632618,
0.0804944857954979,
-0.0012067833449691534,
0.04593474790453911,
-0.042710620909929276,
-0.01009803730994463,
0.005207507871091366,
-0.005207507871091366,
0.0051259989850223064,
0.06368555873632431,
0.005750900134444237,
0.04575361683964729,
0.03535671532154083,
0.01282405387610197,
0.03807367384433746,
-0.016374215483665466,
-0.002481490606442094,
0.13309484720230103,
0.02197115495800972,
0.011818778701126575,
-0.06625761091709137,
0.000962256861384958,
0.01655534654855728,
0.0177055262029171,
-0.007720696274191141,
0.0002099984121741727,
0.018837593495845795,
0.06274367868900299,
-0.041986096650362015,
0.0564403273165226,
-0.060316525399684906,
0.04593474790453911,
0.054520342499017715,
-0.05589693784713745,
-0.0024271514266729355,
-0.0012826318852603436,
-0.005356940906494856,
0.045644938945770264,
0.019652681425213814,
0.043290238827466965,
-0.0015860258135944605,
-0.043398916721343994,
-0.08991328626871109,
-0.00652523385360837,
0.024253401905298233,
0.030285054817795753,
0.004777322523295879,
-0.0029682794120162725,
-0.027930354699492455,
-0.03282088413834572,
-0.014771209098398685,
-0.015441392548382282,
0.052636582404375076,
0.030176376923918724,
-0.05839654058218002,
-0.018040617927908897,
-0.029723549261689186,
-0.03553784638643265,
0.012842167168855667,
-0.0012158398749306798,
0.05100640654563904,
-0.0023841329384595156,
-0.03876197338104248,
-0.021210405975580215,
-0.002884506480768323,
0.046369463205337524,
-0.0014694228302687407,
-0.036189913749694824,
0.004786379169672728,
0.014309326186776161,
-0.004199968185275793,
0.011302555911242962,
0.0566939115524292,
-0.0032241265289485455,
0.06520705670118332,
0.0036407271400094032,
0.010116149671375751,
-0.05252790451049805,
0.029361287131905556,
0.06980777531862259,
-0.022623226046562195,
-0.006335046608000994,
-0.025231508538126945,
-0.023891139775514603,
0.030864672735333443,
-0.021699458360671997,
0.05020943284034729,
0.0018645141972228885,
-0.013738764449954033,
-0.009373513981699944,
0.01570403203368187,
0.001646025339141488,
0.0297778882086277,
-0.037602733820676804,
0.0524916797876358,
0.04995584860444069,
0.02409038506448269,
0.011746326461434364,
0.031589195132255554,
-0.03475898131728172,
0.0063803293742239475,
-0.04068195819854736,
-0.10078112781047821,
0.06285235285758972,
0.013684424571692944,
-0.003833178663626313,
-0.024434532970190048,
-0.031100142747163773,
0.0089161591604352,
-0.009228609502315521,
0.027079040184617043,
0.0002814601466525346,
0.03570086136460304,
0.03533860296010971,
-0.06959041953086853,
-0.02043154463171959,
0.07672696560621262,
-0.04216722771525383,
-0.06727194786071777,
-0.04973849281668663,
-0.003074693726375699,
0.028256390243768692,
-0.000015698584320489317,
0.07085832953453064,
-0.00827314518392086,
-0.0354110524058342,
0.04578984156250954,
-0.007317680399864912,
-0.0017275341087952256,
-0.010487467981874943,
0.016455724835395813,
-0.10273733735084534,
-0.03506690636277199,
-0.010478411801159382,
0.05727352946996689,
0.046949081122875214,
-0.011972740292549133,
-0.03401634842157364,
0.029560532420873642,
-0.0629972591996193,
-0.048724159598350525,
0.04368872568011284,
0.018239863216876984,
-0.03347295522689819,
0.04948490858078003,
0.005981841590255499,
0.00035999726969748735,
-0.017669301480054855,
-0.0224602073431015,
-0.037168022245168686,
-0.012244435958564281,
-0.05622297152876854,
0.0297778882086277,
-0.006258065812289715,
0.0006164104561321437,
0.05730975791811943,
-0.002535830019041896,
-0.025811126455664635,
-0.01210858765989542,
0.0015565920621156693,
0.016464781016111374,
0.07477075606584549,
-0.058758802711963654,
0.04147893190383911,
-0.006701836362481117,
-0.012244435958564281,
0.04539135470986366,
0.03508501872420311,
0.054158080369234085,
0.04314533621072769,
-0.003923743963241577,
-0.06096859648823738,
0.0035773315466940403,
0.07650960981845856,
-0.0441596657037735,
-0.008952384814620018,
-0.010731994174420834,
-0.08172617852687836,
-0.021753797307610512,
-0.04894151911139488,
0.014499513432383537,
0.035972557961940765,
0.012081418186426163,
0.014834605157375336,
0.0035546901635825634,
0.0676342099905014,
-0.00166979874484241,
-0.04274684563279152,
-0.002422623336315155,
0.006194670218974352,
-0.007417302578687668,
-0.04202232509851456,
-0.030321281403303146,
-0.03233183175325394,
0.03937781602144241,
-0.03901555389165878,
0.00932823121547699,
0.031371839344501495,
-0.05531731992959976,
0.01867457665503025,
0.019888151437044144,
-0.010161432437598705,
0.0015633844304829836,
-0.0031607309356331825,
-0.05778069421648979,
0.02197115495800972,
0.02597414329648018,
0.0005385808181017637,
-0.009482192806899548,
-0.008408993482589722,
0.015178753063082695,
-0.02398170530796051,
-0.00006328961899271235,
0.07205379754304886,
0.014091969467699528,
-0.019670795649290085,
0.0783933699131012,
0.025014150887727737,
-0.01128444354981184,
-0.04973849281668663,
0.006575044710189104,
-0.009518418461084366,
0.009056535549461842,
0.012144814245402813,
-0.013041410595178604,
-0.006479951087385416,
0.030176376923918724,
-0.02057644911110401,
-0.012733488343656063,
-0.026644326746463776,
-0.0815088152885437,
-0.04111666977405548,
0.012217266485095024,
-0.09882491081953049,
-0.03282088413834572,
-0.020413430407643318,
0.009536531753838062,
0.030285054817795753,
-0.027930354699492455,
0.02646319568157196,
-0.05260035768151283,
0.027332624420523643,
-0.009509362280368805,
0.029687322676181793,
0.02658998779952526,
0.00820522103458643,
0.002746394369751215,
-0.017433831468224525,
0.03140806406736374,
-0.01677270419895649,
0.005587882362306118,
-0.037168022245168686,
-0.003264880971983075,
-0.006108633242547512,
-0.005773541517555714,
0.02599225752055645,
0.048832837492227554,
0.000223300201469101,
0.011945569887757301,
0.026879796758294106,
0.01630176417529583,
0.043869856745004654,
0.010587089695036411,
-0.03580953925848007,
-0.05944709852337837,
-0.023818688467144966,
0.03839971125125885,
0.05118753761053085,
-0.027350736781954765,
-0.02894468791782856,
-0.011773495934903622,
0.004981094505637884,
-0.05317997559905052,
0.02952430583536625,
0.04828944802284241,
-0.021663233637809753,
0.03151674196124077,
-0.022514546290040016,
-0.07020626217126846,
0.03912423178553581,
-0.04865170642733574,
0.014128195121884346,
0.012434623204171658,
0.031118255108594894,
0.032675981521606445,
-0.00028811104129999876,
-0.03865329176187515,
-0.04053705185651779,
-0.04452192783355713,
-0.023655669763684273,
0.03182466700673103,
-0.0070822108536958694,
0.006081463303416967,
0.03211447596549988,
-0.09085516631603241,
-0.001503384904935956,
-0.034577853977680206,
-0.03434238210320473,
-0.0645187571644783,
0.017560621723532677,
-0.017035342752933502,
0.04300042986869812,
-0.06169312074780464,
-0.054773926734924316,
-0.0079697510227561,
-0.017741752788424492,
-0.0018611180130392313,
0.032132588326931,
0.005895804613828659,
0.03649783879518509,
0.03599067032337189,
-0.02765865996479988,
-0.03789254277944565,
0.05803427845239639,
-0.034324269741773605,
-0.04133402928709984,
-0.03182466700673103,
0.07241605967283249,
0.010523694567382336,
-0.022822469472885132,
0.06412027031183243,
0.01994249038398266,
-0.004858831409364939,
-0.03001335822045803,
0.015251205302774906,
0.005651277955621481,
0.00868521723896265,
0.007195417303591967,
0.023076051846146584,
-0.0867253839969635,
-0.008667103946208954,
0.014852718450129032,
0.05162225291132927,
-0.02340208739042282,
0.005927502643316984,
-0.06332329660654068,
-0.024017931893467903,
0.04669549688696861,
-0.0904204472899437,
-0.0028007335495203733,
0.022260963916778564,
0.02269567735493183,
0.04665927216410637,
-0.0053931670263409615,
-0.022260963916778564,
0.024271514266729355,
-0.0052210926078259945,
-0.005121470894664526,
0.011519912630319595,
0.06118595227599144,
-0.02160889282822609,
0.00166979874484241,
-0.017787035554647446,
-0.03285710886120796,
-0.07212624698877335,
0.004953925032168627,
-0.01488894410431385,
0.024488871917128563,
-0.012905563227832317,
-0.041297800838947296,
0.011293499730527401,
-0.01690855249762535,
-0.010369732975959778,
0.03445105999708176,
-0.06151198968291283,
-0.0195983424782753,
0.0540856309235096,
0.04658681899309158,
0.04502909258008003,
0.013621029444038868,
-0.07006135582923889,
-0.04973849281668663,
0.034306157380342484,
0.011058029718697071,
-0.02695224992930889,
-0.045536261051893234,
-0.0062308963388204575,
0.01631987653672695,
-0.06792401522397995,
-0.034686531871557236,
0.03604501113295555,
-0.04162383824586868,
-0.01292367558926344,
-0.011193878017365932,
0.016356103122234344,
-0.034795209765434265,
0.03452351316809654,
0.03369031101465225,
0.00398713955655694,
0.01642855443060398,
-0.03807367384433746,
0.003387144301086664,
0.05325242877006531,
-0.01736137829720974,
-0.027966581284999847,
-0.08853668719530106,
0.017325151711702347,
0.007521452847868204,
-0.004353929311037064,
0.024869246408343315,
0.02941562794148922,
0.00430864654481411,
-0.026318291202187538,
-0.05915728956460953,
-0.022967373952269554,
0.07650960981845856,
-0.02303982526063919,
-0.02765865996479988,
0.012534244917333126,
0.05836031585931778,
0.007290510926395655,
-0.014300269074738026,
-0.022713791579008102,
-0.011664818041026592,
0.017696470022201538,
0.04379740357398987,
0.039522722363471985,
-0.008078429847955704,
-0.007132021710276604,
-0.017297983169555664,
-0.024289628490805626,
0.0033848800230771303,
0.011275386437773705,
0.08324767649173737,
-0.017397604882717133,
-0.038943100720644,
0.03955894708633423,
-0.01152896974235773,
-0.01583988033235073,
-0.028093373402953148,
0.02599225752055645,
-0.049412455409765244,
-0.0017003645189106464,
-0.017687413841485977,
0.021934928372502327,
-0.0441596657037735,
0.06390291452407837
] |
730,074 | mmengine.config.config | _parse_iterable | Parse iterable values in the string.
All elements inside '()' or '[]' are treated as iterable values.
Args:
val (str): Value string.
Returns:
list | tuple | Any: The expanded list or tuple from the string,
or single value if no iterable values are found.
Examples:
>>> DictAction._parse_iterable('1,2,3')
[1, 2, 3]
>>> DictAction._parse_iterable('[a, b, c]')
['a', 'b', 'c']
>>> DictAction._parse_iterable('[(1, 2, 3), [a, b], c]')
[(1, 2, 3), ['a', 'b'], 'c']
| @staticmethod
def _parse_iterable(val: str) -> Union[list, tuple, Any]:
"""Parse iterable values in the string.
All elements inside '()' or '[]' are treated as iterable values.
Args:
val (str): Value string.
Returns:
list | tuple | Any: The expanded list or tuple from the string,
or single value if no iterable values are found.
Examples:
>>> DictAction._parse_iterable('1,2,3')
[1, 2, 3]
>>> DictAction._parse_iterable('[a, b, c]')
['a', 'b', 'c']
>>> DictAction._parse_iterable('[(1, 2, 3), [a, b], c]')
[(1, 2, 3), ['a', 'b'], 'c']
"""
def find_next_comma(string):
"""Find the position of next comma in the string.
If no ',' is found in the string, return the string length. All
chars inside '()' and '[]' are treated as one element and thus ','
inside these brackets are ignored.
"""
assert (string.count('(') == string.count(')')) and (
string.count('[') == string.count(']')), \
f'Imbalanced brackets exist in {string}'
end = len(string)
for idx, char in enumerate(string):
pre = string[:idx]
# The string before this ',' is balanced
if ((char == ',') and (pre.count('(') == pre.count(')'))
and (pre.count('[') == pre.count(']'))):
end = idx
break
return end
# Strip ' and " characters and replace whitespace.
val = val.strip('\'\"').replace(' ', '')
is_tuple = False
if val.startswith('(') and val.endswith(')'):
is_tuple = True
val = val[1:-1]
elif val.startswith('[') and val.endswith(']'):
val = val[1:-1]
elif ',' not in val:
# val is a single value
return DictAction._parse_int_float_bool(val)
values = []
while len(val) > 0:
comma_idx = find_next_comma(val)
element = DictAction._parse_iterable(val[:comma_idx])
values.append(element)
val = val[comma_idx + 1:]
if is_tuple:
return tuple(values)
return values
| (val: str) -> Union[list, tuple, Any] | [
0.006384773179888725,
-0.0053041973151266575,
-0.04195990040898323,
-0.06564375758171082,
-0.011091940104961395,
0.023664120584726334,
-0.009942285716533661,
0.03380870819091797,
0.034223172813653946,
-0.08439347892999649,
0.02024969831109047,
0.09157758206129074,
0.0036981357261538506,
0.005402879789471626,
-0.0050204843282699585,
0.0027927216142416,
0.011989952996373177,
0.07357785105705261,
-0.005777874495834112,
0.051788702607154846,
-0.0007197672384791076,
-0.01276954635977745,
-0.009281111881136894,
0.05932806432247162,
0.011101808398962021,
-0.030512703582644463,
0.028361419215798378,
-0.03716392070055008,
-0.01601620949804783,
0.027670640498399734,
0.0171609278768301,
-0.04764402657747269,
-0.003910303581506014,
0.020506273955106735,
-0.004803382325917482,
-0.04278883710503578,
-0.041565168648958206,
0.03607840836048126,
-0.0016998101491481066,
-0.025243043899536133,
-0.05443339794874191,
-0.07780147343873978,
-0.008590332232415676,
-0.0350521095097065,
-0.02315097115933895,
0.02411806210875511,
-0.05699915066361427,
0.01984509825706482,
-0.055420227348804474,
-0.060038577765226364,
0.03998624533414841,
-0.013272828422486782,
-0.025914087891578674,
0.025262780487537384,
-0.009108416736125946,
0.02265755645930767,
0.0015271153533831239,
0.021512838080525398,
0.03609814494848251,
0.02281544916331768,
0.032624512910842896,
0.04669667407870293,
0.028183789923787117,
0.01693395897746086,
-0.033275820314884186,
0.00011972992069786415,
-0.03130216524004936,
-0.040617816150188446,
-0.06742005050182343,
-0.02103915996849537,
-0.011980084702372551,
0.014032685197889805,
-0.032920561730861664,
0.00004533238461590372,
-0.013973476365208626,
-0.00880743470042944,
-0.025262780487537384,
0.04551247879862785,
0.00379188428632915,
-0.030078498646616936,
-0.0038165550213307142,
0.027078542858362198,
0.03146005794405937,
-0.0303350742906332,
0.015887921676039696,
0.005412748083472252,
-0.021315472200512886,
0.05613074079155922,
-0.020101673901081085,
0.09765643626451492,
-0.02328912727534771,
-0.062130652368068695,
-0.009409398771822453,
0.015315561555325985,
-0.03161795064806938,
0.018118150532245636,
0.0010959951905533671,
-0.06639374792575836,
-0.021907567977905273,
-0.0431046225130558,
0.001028150785714388,
0.01228600088506937,
-0.03299950808286667,
-0.04590721055865288,
-0.01961812935769558,
-0.07673569768667221,
-0.004448124673217535,
-0.01975628361105919,
0.022223353385925293,
-0.07934091985225677,
-0.036591559648513794,
-0.053683411329984665,
-0.017555659636855125,
0.01765434257686138,
0.003106039250269532,
0.02842062897980213,
-0.006123263854533434,
-0.08048564195632935,
-0.00255094887688756,
-0.03686787188053131,
0.0043223039247095585,
0.024670684710144997,
-0.008318955078721046,
0.08849868178367615,
0.06284116953611374,
0.02297334186732769,
0.020506273955106735,
-0.007978499867022038,
0.00007300981087610126,
0.08439347892999649,
0.023979905992746353,
0.002772985026240349,
-0.00646371953189373,
0.010697209276258945,
0.03621656447649002,
0.02599303424358368,
-0.02040759101510048,
0.016716856509447098,
-0.05222290754318237,
-0.022243089973926544,
0.0686042383313179,
-0.06552533805370331,
0.02982192300260067,
-0.003453895915299654,
-0.006271288264542818,
-0.03872310742735863,
0.012759678065776825,
0.056564945727586746,
0.024591738358139992,
0.023210180923342705,
-0.07736726850271225,
0.0067252288572490215,
-0.03369028866291046,
0.017585264518857002,
0.05498602241277695,
-0.009409398771822453,
-0.013746505603194237,
-0.005679191555827856,
0.02889430522918701,
-0.07519625127315521,
-0.028104843571782112,
-0.028104843571782112,
-0.019726678729057312,
0.009409398771822453,
0.05135449767112732,
0.029644295573234558,
0.018068809062242508,
-0.005077227018773556,
-0.029131144285202026,
-0.03339423984289169,
0.008723554201424122,
0.0016702053835615516,
0.0035032371524721384,
0.004744172561913729,
-0.013420852832496166,
0.026604866608977318,
-0.022282563149929047,
0.0813935250043869,
-0.0015850914642214775,
-0.04243357852101326,
-0.003939908463507891,
0.003446494694799185,
-0.03528894856572151,
-0.03256530314683914,
0.028914041817188263,
0.006231815088540316,
0.06232801824808121,
0.012414288707077503,
0.013272828422486782,
0.05695967748761177,
-0.029131144285202026,
-0.0558939054608345,
0.001124366419389844,
-0.017062244936823845,
-0.009897878393530846,
0.03264424949884415,
-0.02153257466852665,
0.03633498400449753,
0.036591559648513794,
0.02650618366897106,
-0.054946549236774445,
-0.056407053023576736,
0.00609859311953187,
0.009216967970132828,
-0.017940521240234375,
-0.013282696716487408,
-0.007993302308022976,
-0.01684514433145523,
-0.007850212045013905,
-0.03313766419887543,
-0.05968331918120384,
-0.029071934521198273,
0.02016088366508484,
0.011338646523654461,
0.001232917420566082,
-0.021177316084504128,
0.06169644743204117,
0.01975628361105919,
-0.0342429094016552,
-0.07393310964107513,
0.10602473467588425,
0.020368117839097977,
0.033098191022872925,
-0.018838534131646156,
0.10934047400951385,
-0.023565437644720078,
-0.04507827386260033,
0.010499843396246433,
-0.020308908075094223,
0.05088081955909729,
0.040578342974185944,
-0.04736771434545517,
0.07997249066829681,
0.008634739555418491,
0.05388077720999718,
0.004144675098359585,
0.0671042650938034,
-0.10752471536397934,
0.05009135976433754,
-0.0011804922251030803,
-0.020822057500481606,
-0.009670908562839031,
-0.06903844326734543,
-0.051630809903144836,
-0.043301984667778015,
-0.018838534131646156,
0.0183352530002594,
0.061656974256038666,
-0.02822326309978962,
-0.027039071545004845,
0.0163319930434227,
0.06209117919206619,
0.007899553515017033,
-0.028617994859814644,
0.0013926601968705654,
-0.00959689635783434,
0.01299651712179184,
0.05020977929234505,
0.05999910458922386,
-0.04673614725470543,
0.058301761746406555,
-0.045236166566610336,
-0.00458381325006485,
0.022243089973926544,
-0.03394686058163643,
-0.00822027213871479,
0.07282786071300507,
-0.016657646745443344,
0.0029876199550926685,
0.035032372921705246,
0.03489421680569649,
-0.031144272536039352,
-0.008457111194729805,
-0.03382844477891922,
-0.04799928516149521,
0.03380870819091797,
0.08494610339403152,
-0.017822103574872017,
-0.008767961524426937,
-0.001847834326326847,
-0.024177271872758865,
-0.0382889024913311,
-0.05680178478360176,
0.008057445287704468,
0.0007795936544425786,
0.030098235234618187,
-0.01921352930366993,
-0.03447974845767021,
0.05234132334589958,
0.0542360320687294,
0.04369671642780304,
-0.037894170731306076,
0.0013630553148686886,
0.004218687303364277,
0.01673659309744835,
0.050643980503082275,
0.00880743470042944,
-0.046657200902700424,
0.05976226553320885,
-0.04401250183582306,
0.03386791795492172,
-0.021335208788514137,
0.01612475886940956,
-0.01371690072119236,
0.034519221633672714,
-0.004694831557571888,
0.008170930668711662,
0.018009599298238754,
-0.026269344612956047,
-0.004184148274362087,
-0.005733467172831297,
0.007070618215948343,
-0.014348470605909824,
-0.05313078686594963,
0.01961812935769558,
0.02936798334121704,
-0.04215726628899574,
0.0131642771884799,
-0.0019144451944157481,
0.05723598971962929,
-0.0038757645525038242,
-0.007144630420953035,
-0.014091894961893559,
-0.025637775659561157,
0.00034076382871717215,
-0.0399072989821434,
0.045038800686597824,
0.04180200770497322,
0.0652884989976883,
0.0342823825776577,
-0.03777575120329857,
-0.0542360320687294,
-0.014782674610614777,
0.013371511362493038,
0.08170931041240692,
0.021808885037899017,
-0.035486314445734024,
0.006809108890593052,
-0.010647867806255817,
-0.06777530908584595,
0.020170751959085464,
-0.031519267708063126,
0.03544684126973152,
0.011989952996373177,
0.023348337039351463,
-0.020822057500481606,
0.01808854565024376,
0.01819709688425064,
0.1148667111992836,
0.04515722021460533,
0.017358293756842613,
-0.030907433480024338,
0.0414862222969532,
0.014457020908594131,
0.00646371953189373,
-0.0004958807840012014,
-0.026131190359592438,
-0.019884571433067322,
0.02615092508494854,
-0.03544684126973152,
0.08991970866918564,
-0.06264380365610123,
0.04263094440102577,
0.046025630086660385,
0.05968331918120384,
-0.04255199804902077,
-0.03815074637532234,
-0.03321661055088043,
0.025104889646172523,
0.007425876334309578,
0.0014716063160449266,
-0.005432484671473503,
0.006059120409190655,
-0.0462624691426754,
-0.02378254011273384,
0.014891225844621658,
0.017831971868872643,
0.05348604544997215,
-0.01793065294623375,
-0.02806537039577961,
0.0020896070636808872,
0.011397856287658215,
0.0302956011146307,
0.04740718752145767,
0.015009644441306591,
-0.03146005794405937,
0.03378897160291672,
0.0019835231360048056,
-0.013736637309193611,
0.0462229959666729,
0.00186510372441262,
0.0070410133339464664,
-0.01736816205084324,
-0.01869051158428192,
-0.06193328648805618,
-0.05186764895915985,
0.02968376874923706,
-0.055104441940784454,
-0.038032326847314835,
0.02617066167294979,
0.02056548371911049,
-0.006424246355891228,
-0.012335342355072498,
0.015799107030034065,
-0.008471913635730743,
0.008106786757707596,
0.006942330859601498,
0.00725318118929863,
-0.04689403623342514,
-0.004768843296915293,
0.10128796100616455,
-0.06256485730409622,
0.009863339364528656,
-0.01815762370824814,
0.007391337305307388,
-0.007988368161022663,
-0.06967001408338547,
0.09220915287733078,
-0.017378030344843864,
-0.021118106320500374,
0.04736771434545517,
-0.03254556655883789,
0.01853261888027191,
0.030216654762625694,
-0.04322303831577301,
0.02741406485438347,
-0.017713552340865135,
0.00534367049112916,
-0.013993212021887302,
-0.030986379832029343,
-0.017841840162873268,
-0.033098191022872925,
0.00267183524556458,
-0.08265665918588638,
0.037420496344566345,
0.011950479820370674,
-0.03242714703083038,
-0.011368251405656338,
0.09820906072854996,
-0.01970694400370121,
-0.055104441940784454,
0.0749988853931427,
0.038032326847314835,
0.02247992716729641,
0.06599901616573334,
-0.027039071545004845,
-0.04495985433459282,
0.0861302986741066,
0.015601741150021553,
-0.011861665174365044,
0.002052600961178541,
-0.0035353091079741716,
0.036137618124485016,
0.022697029635310173,
0.007845277898013592,
0.0303350742906332,
0.04705192893743515,
0.05293342098593712,
0.036907345056533813,
0.03860468789935112,
0.05731493607163429,
-0.005457155406475067,
0.007164367008954287,
0.0011539713013917208,
-0.03680866211652756,
0.008767961524426937,
0.002146349521353841,
0.02092074044048786,
-0.013124804012477398,
0.006804174743592739,
-0.024157535284757614,
-0.011131413280963898,
0.027177225798368454,
0.025085153058171272,
-0.019647734239697456,
0.003261464647948742,
0.08826184272766113,
-0.004536938853561878,
-0.0018996427534148097,
-0.010105112567543983,
0.008565661497414112,
-0.04677562043070793,
-0.025558829307556152,
-0.030848223716020584,
-0.039334941655397415,
-0.016450412571430206,
0.018542487174272537,
-0.011703772470355034,
-0.03493368998169899,
0.052104488015174866,
-0.09268283098936081,
-0.04032176733016968,
0.042512524873018265,
-0.027039071545004845,
0.04507827386260033,
-0.014318865723907948,
-0.007815673016011715,
0.016203705221414566,
-0.014970171265304089,
-0.0005143837770447135,
0.024946996942162514,
0.02202598750591278,
0.002605224261060357,
-0.010657736100256443,
0.020210225135087967,
0.029604822397232056,
0.023407544940710068,
0.003658662550151348,
-0.05964384600520134,
-0.06509113311767578,
-0.04511774703860283,
-0.006587072741240263,
0.037736278027296066,
0.0038831657730042934,
-0.027019334957003593,
-0.03446001186966896,
0.0375191792845726,
-0.00841270387172699,
-0.010174190625548363,
-0.03542710468173027,
0.0012588216923177242,
-0.007963697426021099,
-0.025321990251541138,
0.06473587453365326,
-0.02889430522918701,
-0.014407680369913578,
0.012345210649073124,
-0.013440589420497417,
-0.01808854565024376,
-0.0813935250043869,
0.011901138350367546,
0.028992988169193268,
-0.004255692940205336,
-0.009591962210834026,
-0.0038905669935047626,
0.05024925246834755,
0.04839401692152023,
0.014930698089301586,
-0.006833779625594616,
0.07057789713144302,
0.02534172683954239,
0.05806492269039154,
-0.029091671109199524,
-0.01812801882624626,
0.010085375979542732,
0.04081518203020096,
-0.028914041817188263,
0.059249117970466614,
0.0040632616728544235,
0.023644383996725082,
-0.058775439858436584,
0.05624916031956673,
-0.002768050879240036,
0.018414199352264404,
0.011417592875659466,
-0.08068300783634186,
-0.008693949319422245,
-0.008156128227710724,
-0.01860169693827629,
0.018868139013648033,
-0.020782584324479103,
0.013825451955199242,
-0.09970904141664505,
-0.008999865502119064,
0.048275597393512726,
0.03955204039812088,
0.021947041153907776,
0.01923326589167118,
0.013450457714498043,
0.03925599530339241,
-0.03319687396287918,
-0.022045724093914032,
-0.007001540157943964,
-0.009216967970132828,
0.02490752376616001,
0.010588658042252064,
-0.038545478135347366,
-0.05692020431160927,
0.014259655959904194,
0.012305737473070621,
0.02743380144238472,
0.03538763150572777,
0.027196962386369705,
0.006310760974884033,
0.046341415494680405,
0.025973297655582428,
-0.0037499440368264914,
0.04657825455069542,
-0.032802142202854156,
0.03497316315770149,
-0.006572270300239325,
0.010243268683552742,
0.026585130020976067,
0.008758093230426311,
-0.017970126122236252,
-0.0366705060005188,
0.023979905992746353,
0.04839401692152023,
-0.0525781624019146,
-0.05826228857040405,
-0.05332815274596214,
-0.0024522661697119474,
0.012187317945063114,
0.02932851016521454,
0.05664389207959175,
-0.0055854432284832,
0.0478413924574852,
0.04736771434545517,
0.016114890575408936,
-0.011368251405656338,
0.01587805338203907,
-0.03941388800740242,
0.0342429094016552,
-0.003621656447649002,
0.008284416049718857,
-0.009434069506824017,
-0.038545478135347366,
0.034835007041692734,
-0.015759633854031563,
-0.01736816205084324,
-0.02790747955441475,
0.00510189775377512,
-0.07934091985225677,
0.041407275944948196,
-0.042354632169008255,
-0.0686831846833229,
-0.011269568465650082,
-0.029644295573234558,
0.02315097115933895,
-0.0733410120010376,
0.0013766242191195488,
-0.02664433978497982,
0.05613074079155922,
-0.04452565312385559,
-0.07405152916908264,
0.026052244007587433,
0.026210134848952293,
0.012503103353083134,
-0.03967045992612839,
0.011664300225675106,
0.015917526558041573,
0.0013371511595323682,
-0.03925599530339241,
0.04673614725470543,
0.0008030307944864035,
0.011881401762366295,
-0.007322259247303009,
-0.0019773554522544146,
0.028499575331807137,
0.04563089832663536,
0.03988756239414215,
0.07239365577697754,
-0.005842018406838179,
-0.021512838080525398,
-0.07424889504909515,
0.0010608393931761384,
0.02455226518213749,
-0.009670908562839031,
-0.046657200902700424,
0.02182862162590027,
0.020683901384472847,
-0.02472989447414875,
-0.00961663294583559,
0.052538689225912094,
0.013825451955199242,
-0.005240053404122591,
-0.03410475328564644,
0.07598570734262466,
0.07997249066829681,
-0.013657690957188606,
-0.0019822895992547274,
-0.033571869134902954,
0.008708751760423183,
0.03132190182805061,
-0.030256127938628197,
-0.03268372267484665,
0.0478019192814827,
0.029289036989212036,
0.011881401762366295,
0.015463585034012794,
-0.030354810878634453,
-0.004327238071709871,
-0.020822057500481606,
-0.022874658927321434,
-0.017259610816836357,
-0.050170306116342545,
0.019519446417689323,
-0.03969019651412964,
0.026999598369002342,
-0.07831462472677231,
0.02342728152871132,
-0.03522973880171776,
-0.015118195675313473,
-0.045551951974630356,
-0.0351310558617115,
-0.056564945727586746,
-0.029308773577213287,
0.002411559456959367,
0.070104219019413,
0.008072247728705406,
0.01570042409002781,
-0.03171663358807564,
0.030196918174624443,
0.0034760995768010616,
0.02374306693673134,
-0.032131098210811615,
-0.07231470942497253,
-0.0032096561044454575,
0.0589728057384491,
-0.00015465434989891946,
-0.023545701056718826,
0.06232801824808121,
-0.07902513444423676,
0.004717034753412008,
-0.01426952425390482,
-0.028795624151825905,
-0.017575396224856377,
0.0022289964836090803,
-0.01061826292425394,
0.023032551631331444,
-0.020308908075094223,
-0.017180664464831352,
-0.004867526236921549,
0.03686787188053131,
-0.03442053869366646,
0.012572181411087513,
0.011437329463660717,
0.05628863349556923,
-0.019667470827698708,
-0.016144495457410812,
-0.01977602019906044,
0.021966777741909027,
-0.012305737473070621,
-0.008106786757707596,
-0.0191247146576643,
-0.03493368998169899,
-0.04638088867068291,
0.00013954356836620718,
0.022085197269916534,
0.014861620962619781,
0.008304152637720108,
0.005521299317479134,
0.005314065609127283,
0.03128242865204811,
-0.0670647919178009,
-0.03799285367131233,
0.027236435562372208,
0.029131144285202026,
-0.02824299968779087,
-0.0127498097717762,
-0.03686787188053131,
0.044446706771850586,
0.005832150112837553,
0.002472002524882555,
0.023664120584726334,
-0.025914087891578674,
0.0027211764827370644,
-0.021473364904522896,
-0.06986737996339798,
-0.009281111881136894,
-0.028815360739827156,
0.03386791795492172,
0.03651261329650879,
-0.03203241899609566,
-0.021414155140519142,
-0.016677383333444595,
0.019401026889681816,
0.0036364588886499405
] |
730,076 | mmengine.fileio.file_client | FileClient | A general file client to access files in different backends.
The client loads a file or text in a specified backend from its path
and returns it as a binary or text file. There are two ways to choose a
backend, the name of backend and the prefix of path. Although both of them
can be used to choose a storage backend, ``backend`` has a higher priority
that is if they are all set, the storage backend will be chosen by the
backend argument. If they are all `None`, the disk backend will be chosen.
Note that It can also register other backend accessor with a given name,
prefixes, and backend class. In addition, We use the singleton pattern to
avoid repeated object creation. If the arguments are the same, the same
object will be returned.
Warning:
`FileClient` will be deprecated in future. Please use io functions
in https://mmengine.readthedocs.io/en/latest/api/fileio.html#file-io
Args:
backend (str, optional): The storage backend type. Options are "disk",
"memcached", "lmdb", "http" and "petrel". Defaults to None.
prefix (str, optional): The prefix of the registered storage backend.
Options are "s3", "http", "https". Defaults to None.
Examples:
>>> # only set backend
>>> file_client = FileClient(backend='petrel')
>>> # only set prefix
>>> file_client = FileClient(prefix='s3')
>>> # set both backend and prefix but use backend to choose client
>>> file_client = FileClient(backend='petrel', prefix='s3')
>>> # if the arguments are the same, the same object is returned
>>> file_client1 = FileClient(backend='petrel')
>>> file_client1 is file_client
True
Attributes:
client (:obj:`BaseStorageBackend`): The backend object.
| class FileClient:
"""A general file client to access files in different backends.
The client loads a file or text in a specified backend from its path
and returns it as a binary or text file. There are two ways to choose a
backend, the name of backend and the prefix of path. Although both of them
can be used to choose a storage backend, ``backend`` has a higher priority
that is if they are all set, the storage backend will be chosen by the
backend argument. If they are all `None`, the disk backend will be chosen.
Note that It can also register other backend accessor with a given name,
prefixes, and backend class. In addition, We use the singleton pattern to
avoid repeated object creation. If the arguments are the same, the same
object will be returned.
Warning:
`FileClient` will be deprecated in future. Please use io functions
in https://mmengine.readthedocs.io/en/latest/api/fileio.html#file-io
Args:
backend (str, optional): The storage backend type. Options are "disk",
"memcached", "lmdb", "http" and "petrel". Defaults to None.
prefix (str, optional): The prefix of the registered storage backend.
Options are "s3", "http", "https". Defaults to None.
Examples:
>>> # only set backend
>>> file_client = FileClient(backend='petrel')
>>> # only set prefix
>>> file_client = FileClient(prefix='s3')
>>> # set both backend and prefix but use backend to choose client
>>> file_client = FileClient(backend='petrel', prefix='s3')
>>> # if the arguments are the same, the same object is returned
>>> file_client1 = FileClient(backend='petrel')
>>> file_client1 is file_client
True
Attributes:
client (:obj:`BaseStorageBackend`): The backend object.
"""
_backends = {
'disk': HardDiskBackend,
'memcached': MemcachedBackend,
'lmdb': LmdbBackend,
'petrel': PetrelBackend,
'http': HTTPBackend,
}
_prefix_to_backends: dict = {
's3': PetrelBackend,
'petrel': PetrelBackend,
'http': HTTPBackend,
'https': HTTPBackend,
}
_instances: dict = {}
client: Any
def __new__(cls, backend=None, prefix=None, **kwargs):
print_log(
'"FileClient" will be deprecated in future. Please use io '
'functions in '
'https://mmengine.readthedocs.io/en/latest/api/fileio.html#file-io', # noqa: E501
logger='current',
level=logging.WARNING)
if backend is None and prefix is None:
backend = 'disk'
if backend is not None and backend not in cls._backends:
raise ValueError(
f'Backend {backend} is not supported. Currently supported ones'
f' are {list(cls._backends.keys())}')
if prefix is not None and prefix not in cls._prefix_to_backends:
raise ValueError(
f'prefix {prefix} is not supported. Currently supported ones '
f'are {list(cls._prefix_to_backends.keys())}')
# concatenate the arguments to a unique key for determining whether
# objects with the same arguments were created
arg_key = f'{backend}:{prefix}'
for key, value in kwargs.items():
arg_key += f':{key}:{value}'
# if a backend was overridden, it will create a new object
if arg_key in cls._instances:
_instance = cls._instances[arg_key]
else:
# create a new object and put it to _instance
_instance = super().__new__(cls)
if backend is not None:
_instance.client = cls._backends[backend](**kwargs)
else:
_instance.client = cls._prefix_to_backends[prefix](**kwargs)
cls._instances[arg_key] = _instance
return _instance
@property
def name(self):
return self.client.name
@property
def allow_symlink(self):
return self.client.allow_symlink
@staticmethod
def parse_uri_prefix(uri: Union[str, Path]) -> Optional[str]:
"""Parse the prefix of a uri.
Args:
uri (str | Path): Uri to be parsed that contains the file prefix.
Examples:
>>> FileClient.parse_uri_prefix('s3://path/of/your/file')
's3'
Returns:
str | None: Return the prefix of uri if the uri contains '://' else
``None``.
"""
assert is_filepath(uri)
uri = str(uri)
if '://' not in uri:
return None
else:
prefix, _ = uri.split('://')
# In the case of PetrelBackend, the prefix may contains the cluster
# name like clusterName:s3
if ':' in prefix:
_, prefix = prefix.split(':')
return prefix
@classmethod
def infer_client(cls,
file_client_args: Optional[dict] = None,
uri: Optional[Union[str, Path]] = None) -> 'FileClient':
"""Infer a suitable file client based on the URI and arguments.
Args:
file_client_args (dict, optional): Arguments to instantiate a
FileClient. Defaults to None.
uri (str | Path, optional): Uri to be parsed that contains the file
prefix. Defaults to None.
Examples:
>>> uri = 's3://path/of/your/file'
>>> file_client = FileClient.infer_client(uri=uri)
>>> file_client_args = {'backend': 'petrel'}
>>> file_client = FileClient.infer_client(file_client_args)
Returns:
FileClient: Instantiated FileClient object.
"""
assert file_client_args is not None or uri is not None
if file_client_args is None:
file_prefix = cls.parse_uri_prefix(uri) # type: ignore
return cls(prefix=file_prefix)
else:
return cls(**file_client_args)
@classmethod
def _register_backend(cls, name, backend, force=False, prefixes=None):
if not isinstance(name, str):
raise TypeError('the backend name should be a string, '
f'but got {type(name)}')
if not inspect.isclass(backend):
raise TypeError(
f'backend should be a class but got {type(backend)}')
if not issubclass(backend, BaseStorageBackend):
raise TypeError(
f'backend {backend} is not a subclass of BaseStorageBackend')
if not force and name in cls._backends:
raise KeyError(
f'{name} is already registered as a storage backend, '
'add "force=True" if you want to override it')
if name in cls._backends and force:
for arg_key, instance in list(cls._instances.items()):
if isinstance(instance.client, cls._backends[name]):
cls._instances.pop(arg_key)
cls._backends[name] = backend
if prefixes is not None:
if isinstance(prefixes, str):
prefixes = [prefixes]
else:
assert isinstance(prefixes, (list, tuple))
for prefix in prefixes:
if prefix not in cls._prefix_to_backends:
cls._prefix_to_backends[prefix] = backend
elif (prefix in cls._prefix_to_backends) and force:
overridden_backend = cls._prefix_to_backends[prefix]
for arg_key, instance in list(cls._instances.items()):
if isinstance(instance.client, overridden_backend):
cls._instances.pop(arg_key)
else:
raise KeyError(
f'{prefix} is already registered as a storage backend,'
' add "force=True" if you want to override it')
@classmethod
def register_backend(cls, name, backend=None, force=False, prefixes=None):
"""Register a backend to FileClient.
This method can be used as a nor | (backend=None, prefix=None, **kwargs) | [
0.02247105911374092,
-0.08764313906431198,
-0.06615255773067474,
0.026553068310022354,
-0.00568279717117548,
-0.0030039786361157894,
-0.02623291127383709,
0.0736362412571907,
0.040780071169137955,
-0.05630771443247795,
0.040660012513399124,
0.00665327487513423,
-0.03771856427192688,
0.0028589072171598673,
-0.0056027574464678764,
0.003624283941462636,
-0.03307627886533737,
-0.010365101508796215,
0.016758248209953308,
-0.053386274725198746,
-0.0029389464762061834,
0.04562245309352875,
0.06631264090538025,
-0.00968476664274931,
0.053146157413721085,
0.0662325993180275,
0.001228104461915791,
-0.00038956673233769834,
0.060389723628759384,
-0.0269932858645916,
0.0036893158685415983,
-0.014827298000454903,
0.023451542481780052,
0.05666789039969444,
0.06431165337562561,
-0.03297622874379158,
0.014817292802035809,
0.030915215611457825,
-0.08820341527462006,
-0.008769316598773003,
-0.021390527486801147,
-0.031775638461112976,
0.05994950607419014,
-0.02085026167333126,
0.01799885928630829,
0.1193387359380722,
0.008764313533902168,
0.031415462493896484,
-0.011535678058862686,
-0.012346076779067516,
0.029554545879364014,
-0.00658324034884572,
-0.03931935131549835,
0.028634093701839447,
-0.03855897858738899,
0.012776288203895092,
0.009734791703522205,
0.02923438884317875,
-0.10357097536325455,
0.060749899595975876,
-0.002571265446022153,
-0.038018710911273956,
0.04618272930383682,
-0.025012310594320297,
-0.006298099644482136,
-0.02823389694094658,
-0.036277856677770615,
-0.027173373848199844,
-0.012686244212090969,
0.026533059775829315,
-0.0007716297986917198,
-0.03747844696044922,
0.02883419208228588,
-0.048263754695653915,
0.02795375883579254,
0.0004189562168903649,
-0.017398564144968987,
0.0225911196321249,
-0.02197081409394741,
-0.002881418215110898,
-0.0006628262344747782,
-0.033416446298360825,
0.004282107576727867,
-0.046022653579711914,
0.06131017580628395,
-0.029754644259810448,
0.00748868566006422,
-0.016928331926465034,
-0.012015914544463158,
0.006022964604198933,
-0.05182550847530365,
0.0179788488894701,
0.023431532084941864,
0.01999984309077263,
0.00577784376218915,
-0.09164510667324066,
-0.03633788600564003,
-0.0446619838476181,
0.00045334812602959573,
0.008954407647252083,
-0.05254586413502693,
0.02335149422287941,
0.008259065449237823,
-0.04198066145181656,
0.03559752181172371,
-0.04286109656095505,
-0.0011199262226000428,
-0.02859407290816307,
-0.004627277608960867,
-0.006463181227445602,
-0.025332467630505562,
-0.03643793612718582,
0.02545252814888954,
0.030795156955718994,
0.020159922540187836,
-0.005927917547523975,
-0.015897825360298157,
-0.000002129954509655363,
0.054146651178598404,
-0.03295622020959854,
-0.04930426552891731,
0.025912754237651825,
-0.050024621188640594,
0.050144679844379425,
0.05198558792471886,
-0.04666296765208244,
0.06427163630723953,
-0.006858375389128923,
0.02197081409394741,
-0.05222570523619652,
0.016668204218149185,
0.028013788163661957,
-0.03731836751103401,
0.002696327166631818,
0.036037735641002655,
0.04942432418465614,
-0.027773668989539146,
0.04662294685840607,
-0.052625901997089386,
0.08188030123710632,
0.01997983455657959,
0.005742826499044895,
-0.004957439843565226,
0.006878385320305824,
-0.02249106951057911,
0.0025049829855561256,
-0.017428578808903694,
-0.08196034282445908,
-0.043901607394218445,
0.008118996396660805,
0.001992230536416173,
0.0031290401238948107,
0.005387651734054089,
0.03649796545505524,
-0.03711827099323273,
-0.04182058200240135,
-0.0834810882806778,
-0.01962966099381447,
-0.02333148382604122,
0.018008863553404808,
-0.04554241523146629,
-0.00392943387851119,
0.045902591198682785,
-0.035537492483854294,
-0.005442678928375244,
0.027013296261429787,
-0.06379139423370361,
-0.04774349927902222,
-0.022631138563156128,
0.04298115521669388,
-0.010765298269689083,
-0.005212565418332815,
-0.0412202887237072,
0.007753816433250904,
-0.004419675096869469,
0.04354143142700195,
0.054987065494060516,
-0.00011404050746932626,
-0.01217599306255579,
-0.02885420247912407,
0.03193571791052818,
-0.019169434905052185,
-0.012125968001782894,
0.018148932605981827,
0.025132369250059128,
0.054386768490076065,
0.047623440623283386,
0.04041989520192146,
0.09940892457962036,
0.014507140032947063,
0.001434455974958837,
0.023631630465388298,
0.030575048178434372,
-0.003976957406848669,
0.02835395559668541,
-0.08212041854858398,
0.07103496044874191,
-0.03167559206485748,
0.008649257011711597,
0.07111500203609467,
-0.06511204689741135,
0.019909799098968506,
0.04350141063332558,
-0.01761867105960846,
0.006593245081603527,
0.014437105506658554,
0.03911925479769707,
0.001547011430375278,
-0.08908384293317795,
0.04918420687317848,
-0.05818863958120346,
-0.028433995321393013,
-0.06263082474470139,
0.0369982086122036,
0.05942925065755844,
-0.035797618329524994,
0.03883911669254303,
0.0529460608959198,
-0.016698218882083893,
0.04106020927429199,
0.08204037696123123,
0.06803348660469055,
-0.03509727492928505,
-0.019889788702130318,
-0.009659754112362862,
-0.028534043580293655,
0.03269609436392784,
0.02247105911374092,
0.014497135765850544,
-0.013906844891607761,
-0.025952773168683052,
0.00023245815827976912,
0.009759803302586079,
0.031175343319773674,
0.046142712235450745,
-0.014887327328324318,
0.05154537037014961,
0.0394994392991066,
0.016027888283133507,
0.022150902077555656,
0.03369658440351486,
-0.004417174030095339,
0.00954469759017229,
-0.00040332350181415677,
-0.05154537037014961,
-0.01846908964216709,
0.030274901539087296,
-0.0034867161884903908,
0.005862885620445013,
-0.011475647799670696,
0.04230082035064697,
0.03655799478292465,
-0.008334102109074593,
0.0036467949394136667,
0.00011216458369744942,
0.0009748548036441207,
-0.050144679844379425,
-0.06279090791940689,
-0.005757833831012249,
-0.0004971196758560836,
-0.06078992038965225,
0.006858375389128923,
0.025932764634490013,
0.016418080776929855,
-0.010285061784088612,
-0.011175500229001045,
0.00879933126270771,
0.0025450026150792837,
0.003514229552820325,
0.04646286740899086,
0.09060459583997726,
0.05594753846526146,
-0.026012802496552467,
0.037898652255535126,
-0.016057902947068214,
-0.05646779388189316,
-0.03657800331711769,
0.021270468831062317,
-0.02135050855576992,
-0.01948959194123745,
-0.03911925479769707,
-0.022551098838448524,
0.016538139432668686,
-0.05342629551887512,
0.04470200091600418,
-0.04634280875325203,
-0.036898162215948105,
-0.01573774591088295,
0.016888312995433807,
-0.013886834494769573,
-0.021670665591955185,
-0.023451542481780052,
-0.045142218470573425,
-0.013926854357123375,
-0.023431532084941864,
-0.03861900791525841,
-0.10421129316091537,
-0.04858391359448433,
0.03883911669254303,
-0.07583732903003693,
-0.039279334247112274,
0.016077913343906403,
0.030755138024687767,
0.030014771968126297,
0.009779813699424267,
-0.05474694445729256,
0.019919803366065025,
-0.05666789039969444,
0.003511728486046195,
0.02971462532877922,
0.0015420089475810528,
-0.02333148382604122,
-0.032015759497880936,
-0.022631138563156128,
0.030515018850564957,
0.07231559604406357,
0.009294575080275536,
0.026152871549129486,
0.020950311794877052,
0.017398564144968987,
-0.04045991227030754,
0.07279583066701889,
-0.04610269144177437,
0.07155521959066391,
0.007083486299961805,
0.0038969179149717093,
0.014777272939682007,
0.0489841103553772,
-0.01273626834154129,
0.02735346369445324,
-0.042901113629341125,
0.03535740077495575,
-0.02187076397240162,
0.009109484031796455,
-0.011705761775374413,
-0.02873414196074009,
0.03459702804684639,
-0.04922422766685486,
0.009704776108264923,
0.00791889801621437,
0.06695295125246048,
-0.015377569012343884,
-0.015927840024232864,
-0.01750861667096615,
-0.08236053586006165,
-0.014717243611812592,
0.0479435957968235,
-0.022551098838448524,
0.054506827145814896,
0.017008371651172638,
-0.01923946850001812,
-0.014707238413393497,
-0.003626785008236766,
0.01636805571615696,
0.05698804929852486,
-0.09284570068120956,
-0.05046483874320984,
-0.01360669732093811,
-0.012566184625029564,
-0.01136559434235096,
-0.019389543682336807,
-0.030034782364964485,
-0.00943464320152998,
0.03745843842625618,
-0.032916199415922165,
-0.01104543637484312,
0.053746454417705536,
-0.030675098299980164,
-0.024932270869612694,
-0.019419558346271515,
-0.0052825999446213245,
-0.06339120119810104,
0.005322619806975126,
-0.041540443897247314,
0.03159555047750473,
-0.015817785635590553,
-0.004107021261006594,
-0.0051775481551885605,
-0.014427101239562035,
0.0539865717291832,
0.0634712427854538,
0.0184991043061018,
0.011325574479997158,
0.021430548280477524,
-0.007638759911060333,
0.018669188022613525,
0.03509727492928505,
0.009199528023600578,
0.036277856677770615,
-0.010565199889242649,
0.035897668451070786,
-0.011705761775374413,
-0.001752112410031259,
-0.020009849220514297,
0.0035967703443020582,
-0.035777609795331955,
-0.05342629551887512,
0.014547159895300865,
0.0047773513942956924,
-0.0054076616652309895,
-0.007503692992031574,
-0.03189569711685181,
0.02085026167333126,
0.07883880287408829,
-0.019909799098968506,
0.021190429106354713,
0.09788817912340164,
0.06615255773067474,
0.014086933806538582,
0.03485715761780739,
-0.03485715761780739,
-0.02471216209232807,
-0.05090505629777908,
0.014887327328324318,
0.015957854688167572,
0.06711303442716599,
-0.01273626834154129,
-0.02109038084745407,
-0.0011868341825902462,
0.043141234666109085,
-0.03659801185131073,
0.06275088340044022,
0.024512063711881638,
-0.001752112410031259,
0.049384307116270065,
-0.002217341447249055,
-0.035277362912893295,
-0.019539617002010345,
-0.02359161153435707,
0.0022536092437803745,
0.046903084963560104,
0.011225525289773941,
-0.034016743302345276,
-0.03429688140749931,
0.019709700718522072,
-0.021190429106354713,
-0.021910784766077995,
-0.017698710784316063,
0.020690184086561203,
-0.035537492483854294,
-0.02046007104218006,
-0.06979434937238693,
-0.03169560059905052,
0.00764876464381814,
-0.004377154167741537,
-0.03563753888010979,
-0.05670791119337082,
0.014447110705077648,
0.04270101711153984,
0.019399547949433327,
-0.02847401425242424,
0.006098001264035702,
0.003149049822241068,
0.0038944168481975794,
-0.0019797245040535927,
-0.04047992452979088,
0.06275088340044022,
-0.022030843421816826,
-0.0022986314725130796,
-0.02971462532877922,
0.01074528880417347,
0.04430180415511131,
0.049384307116270065,
-0.05870889499783516,
0.005402659066021442,
0.03929934278130531,
0.06311105936765671,
0.05158539116382599,
-0.017798760905861855,
-0.0013506647665053606,
0.017628677189350128,
-0.015817785635590553,
-0.055507320910692215,
0.004384658299386501,
0.00974979903548956,
0.041540443897247314,
0.024892251938581467,
-0.006072989199310541,
-0.05086503550410271,
-0.07427655905485153,
-0.005097508896142244,
-0.008964411914348602,
-0.021530596539378166,
0.02499230019748211,
0.028694123029708862,
-0.04646286740899086,
0.03945942223072052,
-0.007103496231138706,
0.040660012513399124,
-0.05306611955165863,
0.007228557951748371,
0.06851372122764587,
-0.016638189554214478,
0.054987065494060516,
-0.0020735205616801977,
0.03755848482251167,
-0.02661309950053692,
0.02010989747941494,
0.0009554702555760741,
-0.015677716583013535,
0.04158046469092369,
-0.044021666049957275,
-0.05266592279076576,
0.041780564934015274,
0.03189569711685181,
-0.03059505857527256,
-0.06203053146600723,
0.017518622800707817,
-0.0009717282955534756,
-0.015317538753151894,
-0.03193571791052818,
0.05310613662004471,
0.00861924234777689,
0.01836904138326645,
-0.04210072010755539,
0.009044451639056206,
-0.07487685233354568,
0.013186490163207054,
-0.021030351519584656,
-0.0015420089475810528,
0.0334564670920372,
-0.01634804718196392,
0.007378631737083197,
-0.023031335324048996,
-0.026533059775829315,
-0.011075451038777828,
-0.01609792374074459,
-0.041260309517383575,
0.07551717013120651,
0.05274596065282822,
0.0017958838725462556,
0.002501231152564287,
-0.01761867105960846,
-0.002196080982685089,
-0.006413156632333994,
0.0031515511218458414,
0.003101526526734233,
-0.022270960733294487,
0.06419159471988678,
-0.06655275821685791,
0.024512063711881638,
0.06903398036956787,
-0.05310613662004471,
-0.03821881115436554,
-0.010395116172730923,
-0.05030475929379463,
0.03195572644472122,
-0.0269932858645916,
0.029674606397747993,
-0.021690675988793373,
0.05422668904066086,
-0.03167559206485748,
0.06155029311776161,
-0.020179932937026024,
-0.013406598940491676,
0.0036292863078415394,
0.04354143142700195,
-0.04318125173449516,
-0.008384126238524914,
-0.02709333412349224,
-0.0002995224203914404,
0.02249106951057911,
-0.04118026793003082,
0.0342368520796299,
0.049504365772008896,
0.00319907465018332,
0.06375137716531754,
0.035757601261138916,
0.011165495961904526,
-0.04057997465133667,
0.007603742647916079,
0.02535247802734375,
0.052625901997089386,
0.028173867613077164,
-0.015077420510351658,
0.05158539116382599,
0.004377154167741537,
0.005732821766287088,
0.01921945996582508,
-0.07027459144592285,
0.0181089136749506,
0.025572586804628372,
-0.012966382317245007,
-0.014587179757654667,
-0.01958964206278324,
-0.002986470004543662,
0.0031890696845948696,
0.02671314775943756,
-0.04118026793003082,
-0.026813197880983353,
-0.05766838416457176,
0.020550115033984184,
0.002272368408739567,
-0.03855897858738899,
-0.007158523425459862,
0.04362146928906441,
-0.024371996521949768,
-0.02497229166328907,
0.0484638549387455,
0.019049376249313354,
-0.0354374423623085,
0.029054300859570503,
0.0007516199257224798,
-0.018389051780104637,
0.007733806502074003,
-0.021330498158931732,
-0.03531738370656967,
-0.016408076509833336,
0.0066682822071015835,
-0.014987376518547535,
-0.02123044990003109,
0.015577667392790318,
-0.04470200091600418,
-0.04930426552891731,
0.010705268941819668,
-0.023251444101333618,
-0.03349648788571358,
0.04618272930383682,
0.03405676409602165,
-0.03263606131076813,
-0.0024987298529595137,
0.0017571147764101624,
0.008644254878163338,
0.04334133118391037,
-0.057268187403678894,
0.008699282072484493,
0.0030389956664294004,
-0.011965889483690262,
-0.03335641697049141,
-0.0262129008769989,
0.03247598558664322,
-0.03919929265975952,
0.021770715713500977,
0.0018646677490323782,
0.021570617333054543,
-0.04146040603518486,
0.01749861240386963,
0.023831728845834732,
0.0012343574780970812,
0.006108006462454796,
0.0036342886742204428,
-0.023531582206487656,
-0.0067633287981152534,
-0.0033491484355181456,
-0.05010465905070305,
-0.052385784685611725,
-0.0018946825293824077,
-0.06159031391143799,
0.04394162818789482,
-0.0015945348422974348,
-0.01625800132751465,
0.07919897884130478,
-0.023411523550748825,
-0.018268991261720657,
0.0051775481551885605,
0.01674824394285679,
0.039279334247112274,
-0.04084010049700737,
0.029514526948332787,
0.015157460235059261,
0.025912754237651825,
-0.012526164762675762,
0.05334625765681267,
0.035177312791347504,
0.0000948904562392272,
-0.025892743840813637,
0.036277856677770615,
-0.04546237736940384,
0.03499722480773926,
0.010014928877353668,
-0.004419675096869469,
0.029874704778194427,
-0.04458194226026535,
-0.02459210343658924,
0.0017583654262125492,
-0.012316062115132809,
0.05666789039969444,
-0.03935937210917473,
0.017178455367684364,
0.004534732084721327,
0.0033041262067854404,
0.014407090842723846,
-0.03893916681408882,
0.07287587225437164,
-0.01709841564297676,
0.013206499628722668,
0.0347571074962616,
0.024432025849819183,
-0.008068971335887909,
-0.08740302175283432,
-0.002511235885322094,
0.05586749687790871,
0.03421683982014656,
-0.004214574582874775,
-0.03331639617681503,
-0.018018867820501328,
0.020430054515600204,
-0.06755325198173523,
-0.027293434366583824,
0.015257509425282478,
0.026312950998544693,
-0.03547746315598488,
-0.02321142517030239,
-0.030174851417541504,
0.03671807050704956,
0.025672635063529015,
-0.04694310575723648,
-0.051265232264995575,
-0.018919311463832855,
-0.03499722480773926,
0.027553562074899673,
0.03731836751103401,
0.08516191691160202,
0.021910784766077995,
0.033656563609838486,
0.008334102109074593,
0.010695263743400574,
-0.011545682325959206,
-0.018048884347081184,
0.000083009603258688,
-0.021910784766077995,
0.021150410175323486,
0.033516496419906616,
0.0010999164078384638,
0.04630278795957565,
-0.04530229791998863,
-0.03233591467142105,
-0.01647811010479927,
-0.03831886127591133,
0.060269664973020554,
0.021830745041370392,
0.0008891876204870641,
-0.05698804929852486,
-0.0256126057356596,
0.020450064912438393,
-0.08788325637578964,
0.08524195849895477,
-0.06747321039438248,
-0.004449690226465464,
0.05994950607419014,
-0.008514191024005413,
-0.01846908964216709,
-0.05370643362402916,
0.03073512762784958,
-0.03273611143231392,
0.0103050721809268,
0.08300085365772247,
0.009484668262302876,
-0.0053826491348445415,
0.06255078315734863,
-0.007228557951748371,
-0.01042513083666563,
-0.024752182886004448,
0.07999937236309052,
-0.008214042522013187,
-0.07335610687732697,
-0.006463181227445602,
0.017448587343096733,
0.0011630724184215069,
-0.05434674769639969,
-0.044501904398202896,
-0.015397578477859497,
0.0596693679690361,
-0.013726755976676941,
0.02373168058693409,
-0.007108498830348253,
-0.03471708670258522,
0.01243612077087164
] |
730,077 | mmengine.fileio.file_client | __new__ | null | def __new__(cls, backend=None, prefix=None, **kwargs):
print_log(
'"FileClient" will be deprecated in future. Please use io '
'functions in '
'https://mmengine.readthedocs.io/en/latest/api/fileio.html#file-io', # noqa: E501
logger='current',
level=logging.WARNING)
if backend is None and prefix is None:
backend = 'disk'
if backend is not None and backend not in cls._backends:
raise ValueError(
f'Backend {backend} is not supported. Currently supported ones'
f' are {list(cls._backends.keys())}')
if prefix is not None and prefix not in cls._prefix_to_backends:
raise ValueError(
f'prefix {prefix} is not supported. Currently supported ones '
f'are {list(cls._prefix_to_backends.keys())}')
# concatenate the arguments to a unique key for determining whether
# objects with the same arguments were created
arg_key = f'{backend}:{prefix}'
for key, value in kwargs.items():
arg_key += f':{key}:{value}'
# if a backend was overridden, it will create a new object
if arg_key in cls._instances:
_instance = cls._instances[arg_key]
else:
# create a new object and put it to _instance
_instance = super().__new__(cls)
if backend is not None:
_instance.client = cls._backends[backend](**kwargs)
else:
_instance.client = cls._prefix_to_backends[prefix](**kwargs)
cls._instances[arg_key] = _instance
return _instance
| (cls, backend=None, prefix=None, **kwargs) | [
0.006061569321900606,
-0.060421206057071686,
-0.01834678277373314,
-0.006445916369557381,
-0.028691736981272697,
-0.016003655269742012,
-0.027598895132541656,
0.08631601184606552,
0.011576717719435692,
-0.04208368435502052,
0.03230367228388786,
0.0403425469994545,
-0.057161200791597366,
0.008525094948709011,
0.02296820841729641,
0.03400776535272598,
-0.06690416485071182,
-0.034656062722206116,
-0.01280848030000925,
-0.04478800669312477,
0.005325290374457836,
0.0376567468047142,
0.005126170814037323,
0.01341973152011633,
0.05223415046930313,
0.09794829785823822,
-0.030914466828107834,
-0.010196773335337639,
0.05834665894508362,
-0.05345665290951729,
0.021764229983091354,
0.010882114991545677,
0.011021035723388195,
0.04904823750257492,
0.04286164045333862,
-0.02630230225622654,
0.014762630686163902,
-0.004470928572118282,
-0.0752394050359726,
-0.019504453986883163,
0.009015947580337524,
-0.04471391439437866,
0.0093076815828681,
-0.025079801678657532,
0.02352389134466648,
0.10802467167377472,
0.03345208242535591,
0.01315115112811327,
-0.025413211435079575,
-0.0006187755498103797,
-0.007390576880425215,
0.01401245966553688,
-0.0481221005320549,
0.022079115733504295,
-0.04875187575817108,
0.02778412215411663,
0.029988329857587814,
0.011502627283334732,
-0.09883738309144974,
0.0597543865442276,
-0.04493618756532669,
0.005649438127875328,
0.10150466114282608,
-0.0341559499502182,
-0.001613794476725161,
-0.006547791417688131,
-0.02956230752170086,
-0.037045497447252274,
0.0001939100184245035,
0.051011648029088974,
0.018161555752158165,
0.009483647532761097,
0.02661718986928463,
-0.03267413005232811,
0.036119360476732254,
0.009529953822493553,
-0.04701073467731476,
0.024487074464559555,
-0.028765829280018806,
-0.005288244690746069,
-0.0021683191880583763,
-0.03163685277104378,
0.01229910459369421,
-0.0018545902566984296,
0.04493618756532669,
-0.03563776984810829,
-0.019226612523198128,
-0.035026516765356064,
-0.027524804696440697,
0.034248560667037964,
-0.05938393250107765,
0.03749004378914833,
-0.014836722053587437,
-0.018819112330675125,
0.023023776710033417,
-0.10654284805059433,
-0.03834208846092224,
0.013354902155697346,
0.01613331399857998,
0.012021264061331749,
-0.030395830050110817,
-0.0013857331359758973,
0.013178935274481773,
-0.0209492277354002,
0.01454961858689785,
-0.052419379353523254,
0.027376621961593628,
-0.014864505268633366,
-0.04626982659101486,
-0.025265028700232506,
0.0244500283151865,
0.040157318115234375,
0.04493618756532669,
0.06879349052906036,
-0.030618103221058846,
0.013947629369795322,
-0.004917789716273546,
-0.001978461164981127,
0.061273250728845596,
-0.03819390758872032,
-0.07942554354667664,
0.009043731726706028,
-0.07020121812820435,
0.04927051067352295,
0.02683946304023266,
-0.05034483224153519,
0.03602674603462219,
-0.0815000906586647,
0.041787322610616684,
-0.021856842562556267,
-0.004561226814985275,
0.03135901317000389,
0.0031187678687274456,
0.030988559126853943,
0.026876507326960564,
0.020430590957403183,
-0.012447287328541279,
0.06534826010465622,
-0.019374795258045197,
0.05719824880361557,
-0.01155819557607174,
0.011502627283334732,
0.033026061952114105,
0.02350536733865738,
-0.022153208032250404,
0.0032692651730030775,
-0.019597068428993225,
-0.058087337762117386,
-0.025320596992969513,
0.014521834440529346,
-0.004024066962301731,
0.0016033754218369722,
0.032600037753582,
0.04693664610385895,
0.019893432036042213,
-0.04827028140425682,
-0.05649438500404358,
-0.03769379481673241,
-0.01761513389647007,
0.022986730560660362,
-0.026580143719911575,
0.020467637106776237,
0.07223872095346451,
-0.014447744004428387,
0.009363248944282532,
0.02180127426981926,
-0.0543086975812912,
-0.07638781517744064,
-0.007497082464396954,
-0.0027089519426226616,
-0.00789532158523798,
-0.022375481203198433,
0.007381315343081951,
0.02498718723654747,
-0.03900890797376633,
0.0178374070674181,
0.06105097755789757,
0.01730024628341198,
0.014234731905162334,
-0.015531324781477451,
0.013567913323640823,
0.01541092712432146,
0.006334779784083366,
-0.007506344001740217,
0.014364391565322876,
0.05545710772275925,
0.05097460374236107,
0.06038416177034378,
0.0527527891099453,
-0.003961552865803242,
0.005380858667194843,
0.03250742331147194,
0.019522976130247116,
0.03469310700893402,
0.011937911622226238,
-0.06742280721664429,
0.023912867531180382,
-0.022838549688458443,
0.003526268294081092,
0.08987237513065338,
-0.02948821522295475,
0.05549415573477745,
0.04556596279144287,
-0.024950142949819565,
0.008247253485023975,
0.042565274983644485,
0.00016352113743778318,
0.03561924397945404,
-0.06271802634000778,
0.02645048499107361,
-0.012336150743067265,
-0.011724899522960186,
-0.047529373317956924,
0.019374795258045197,
0.01878206618130207,
0.030062420293688774,
0.04352845996618271,
0.035045038908720016,
-0.034730155020952225,
0.030321739614009857,
0.08757555484771729,
0.08683464676141739,
-0.07205349206924438,
-0.03165537863969803,
0.008400066755712032,
-0.010270863771438599,
0.009228959679603577,
-0.0026394915767014027,
-0.014179163612425327,
-0.03639720007777214,
-0.041935503482818604,
-0.01676308736205101,
-0.035193223506212234,
0.038453225046396255,
0.026117075234651566,
-0.00883072055876255,
0.03763822466135025,
0.0418984554708004,
-0.025042755529284477,
0.014910812489688396,
0.035489585250616074,
-0.01610553078353405,
0.015559108927845955,
0.013743879273533821,
-0.011539672501385212,
-0.01070614904165268,
-0.02141229808330536,
-0.002106962725520134,
0.04052777215838432,
-0.010752455331385136,
0.027876736596226692,
0.013549390248954296,
-0.013215981423854828,
0.007288701366633177,
-0.025283552706241608,
0.06357007473707199,
-0.06994190067052841,
-0.08446373045444489,
-0.0056262849830091,
-0.018893202766776085,
-0.036897316575050354,
0.019504453986883163,
0.03165537863969803,
0.03308162838220596,
0.00605230825021863,
-0.011085865087807178,
0.0018927933415398002,
-0.026283780112862587,
0.03211844712495804,
0.04238004982471466,
0.07794372737407684,
0.05253051593899727,
-0.009279897436499596,
0.04378777742385864,
-0.013132628984749317,
-0.07727690786123276,
-0.040379591286182404,
-0.016003655269742012,
-0.00985410250723362,
-0.024264801293611526,
-0.04486209526658058,
-0.029377078637480736,
0.02824719250202179,
-0.023949913680553436,
0.029914239421486855,
-0.05182665213942528,
-0.049715057015419006,
0.0018684822134673595,
0.0057235294952988625,
-0.05401233583688736,
-0.04238004982471466,
-0.005339182447642088,
-0.04956687614321709,
-0.02002309076488018,
0.02304229885339737,
-0.03460049256682396,
-0.10261602699756622,
-0.030988559126853943,
0.025024233385920525,
-0.03350765258073807,
-0.04641800746321678,
-0.040009137243032455,
-0.016513030976057053,
0.05868006870150566,
0.02515389211475849,
-0.04478800669312477,
0.009391033090651035,
-0.04137982055544853,
0.027950827032327652,
0.009103930555284023,
0.013290071859955788,
-0.020764000713825226,
0.007798077072948217,
-0.028747305274009705,
-0.004820545203983784,
0.04941869154572487,
-0.009233590215444565,
0.008974271826446056,
0.029821624979376793,
0.007149781100451946,
-0.023375708609819412,
0.027654463425278664,
-0.039305273443460464,
0.04741823673248291,
-0.0022991362493485212,
0.03423003852367401,
0.025079801678657532,
0.03339651599526405,
-0.004408414009958506,
0.011067342013120651,
-0.06108802556991577,
0.04623278230428696,
0.004364422522485256,
0.006881201174110174,
-0.025635484606027603,
-0.024801960214972496,
0.03150719404220581,
-0.050159603357315063,
-0.010576489381492138,
0.00007325891783693805,
0.02839537337422371,
0.022597752511501312,
-0.01756882667541504,
-0.01141001284122467,
-0.054753243923187256,
-0.024709345772862434,
0.032081399112939835,
-0.05545710772275925,
0.04167618602514267,
-0.004507973790168762,
-0.021597525104880333,
-0.006149552296847105,
-0.027506282553076744,
0.005260460544377565,
0.080685093998909,
-0.04252823069691658,
-0.03776788339018822,
0.01615183614194393,
-0.013864276930689812,
-0.03560072183609009,
-0.033952198922634125,
-0.010817285627126694,
0.011771206744015217,
0.05245642364025116,
-0.03222958371043205,
0.0038573623169213533,
0.03498947247862816,
-0.03469310700893402,
-0.0760173574090004,
0.010854330845177174,
-0.012623253278434277,
-0.044750962406396866,
0.021134456619620323,
-0.0012225013924762607,
0.03749004378914833,
-0.015522063709795475,
-0.01963411271572113,
-0.011789729818701744,
-0.006802479270845652,
0.060569386929273605,
0.03745299577713013,
0.002952062990516424,
0.03011798858642578,
0.0051724775694310665,
-0.004144465085119009,
0.04471391439437866,
0.010326432064175606,
0.02839537337422371,
0.04875187575817108,
-0.009826318360865116,
-0.00745077570900321,
-0.018717236816883087,
-0.026876507326960564,
-0.019800817593932152,
0.03576742857694626,
-0.006918246392160654,
-0.05367892608046532,
0.009492908604443073,
0.0030863529536873102,
0.015753597021102905,
-0.017550304532051086,
-0.0008323660003952682,
-0.015105301514267921,
0.03584151715040207,
-0.035971175879240036,
0.004820545203983784,
0.0791291818022728,
0.006881201174110174,
0.03745299577713013,
0.011780467815697193,
0.007052536588162184,
-0.005436426494270563,
-0.041157547384500504,
0.04919641837477684,
0.03771231696009636,
0.06534826010465622,
-0.006700604222714901,
-0.07427622377872467,
-0.0026603296864777803,
0.004378314595669508,
-0.03730481490492821,
0.08231509476900101,
0.00836765207350254,
-0.022857071831822395,
0.06264393776655197,
0.00439220666885376,
-0.04363959655165672,
-0.04949278384447098,
0.018087463453412056,
-0.023949913680553436,
0.008145378902554512,
0.0387866348028183,
-0.05371597036719322,
0.013688310980796814,
0.03389662876725197,
-0.02148638851940632,
-0.009080777876079082,
-0.024153664708137512,
0.03741595149040222,
-0.02065286412835121,
-0.03730481490492821,
-0.12395423650741577,
0.030673671513795853,
0.03823095187544823,
-0.03241480886936188,
-0.06475552916526794,
-0.02809900976717472,
-0.013910584151744843,
0.06382939219474792,
0.014660755172371864,
0.05019664764404297,
0.023635027930140495,
0.019652636721730232,
0.01354012917727232,
0.026580143719911575,
-0.062273479998111725,
0.017485475167632103,
-0.002451948821544647,
0.03856436163187027,
0.004630687180906534,
-0.01863388530910015,
0.0376197025179863,
0.015827689319849014,
-0.08320418745279312,
-0.013716095127165318,
0.041639138013124466,
0.053901199251413345,
0.03272969648241997,
-0.000046596287575084716,
0.013567913323640823,
0.027135826647281647,
-0.013364163227379322,
-0.05693892762064934,
-0.007131258025765419,
-0.01676308736205101,
0.01737433858215809,
0.017892975360155106,
-0.0014239363372325897,
-0.016188882291316986,
-0.06301438808441162,
-0.008131486363708973,
0.008168532513082027,
-0.028210146352648735,
0.04697369039058685,
0.005251199007034302,
-0.01770774833858013,
0.017124280333518982,
-0.025635484606027603,
0.04789982736110687,
-0.01744842901825905,
0.02980310283601284,
0.06938621401786804,
-0.04686255380511284,
0.03180355951189995,
0.03089594468474388,
0.04441755264997482,
0.010835807770490646,
0.014105073176324368,
-0.04089822992682457,
0.002235464286059141,
0.03460049256682396,
-0.03234072029590607,
-0.04175027459859848,
0.012928878888487816,
0.008011088706552982,
-0.05416051670908928,
-0.03926822543144226,
0.008413958363234997,
0.013243765570223331,
-0.023838777095079422,
-0.013549390248954296,
0.009451232850551605,
0.006895093247294426,
0.004107419401407242,
-0.030618103221058846,
0.008376913145184517,
-0.09402146935462952,
0.002602446125820279,
-0.025116847828030586,
0.011623024940490723,
0.05445688217878342,
-0.00003635813118307851,
0.009029840119183064,
-0.05130801349878311,
-0.04012027382850647,
-0.017559565603733063,
0.008251884952187538,
-0.014744107611477375,
0.06875644624233246,
0.05230824276804924,
-0.022857071831822395,
-0.023542413488030434,
0.003952291328459978,
-0.009099300019443035,
-0.024301845580339432,
-0.003665188793092966,
-0.014827460050582886,
-0.011234046891331673,
0.057865068316459656,
-0.05593870207667351,
0.01773553155362606,
0.03700845316052437,
-0.02637639455497265,
-0.010595012456178665,
-0.03213696926832199,
-0.06093984097242355,
0.046677324920892715,
0.011845298111438751,
0.0013787870993837714,
-0.011993479914963245,
0.0674968957901001,
-0.04549187049269676,
0.016170360147953033,
-0.0053854892030358315,
-0.016966838389635086,
0.03863845393061638,
0.041639138013124466,
-0.04593641683459282,
-0.016679735854268074,
-0.04041663557291031,
-0.017633656039834023,
0.011956433765590191,
-0.03823095187544823,
0.058087337762117386,
0.010002284310758114,
0.02902514673769474,
0.07957372814416885,
0.008228731341660023,
-0.02880287356674671,
-0.027876736596226692,
0.0009597099269740283,
0.022931162267923355,
0.03773083910346031,
0.05153028666973114,
-0.016364848241209984,
0.0504559688270092,
0.043046869337558746,
0.04764050990343094,
0.016864962875843048,
-0.07227576524019241,
-0.022931162267923355,
0.04445459693670273,
-0.054049380123615265,
-0.03686026856303215,
-0.025746621191501617,
-0.03745299577713013,
-0.013428992591798306,
-0.026487531140446663,
0.004264862742275,
-0.039453454315662384,
-0.0009064570185728371,
-0.0025028863456100225,
-0.001969199627637863,
-0.057865068316459656,
-0.05642029270529747,
0.017235416918992996,
-0.054049380123615265,
-0.01315115112811327,
0.04252823069691658,
0.03184060379862785,
-0.037064019590616226,
0.04564005136489868,
0.005876341834664345,
-0.02072695642709732,
0.021764229983091354,
-0.020078659057617188,
-0.027135826647281647,
-0.009955977089703083,
0.0015003426233306527,
0.0007808496011421084,
-0.02545025572180748,
0.003595728660002351,
-0.04530664160847664,
-0.022560708224773407,
0.03634163364768028,
-0.004651525057852268,
-0.009395664557814598,
0.03941641002893448,
0.025654006749391556,
-0.03187765181064606,
-0.018532009795308113,
-0.008798305876553059,
0.03552663326263428,
0.04949278384447098,
-0.028543556109070778,
0.011308138258755207,
0.013688310980796814,
-0.026580143719911575,
-0.014799675904214382,
-0.005705006420612335,
0.025246506556868553,
-0.046677324920892715,
-0.0001551280147396028,
0.014957119710743427,
-0.014364391565322876,
-0.02211616188287735,
0.0021683191880583763,
0.0271728727966547,
0.024264801293611526,
0.023690596222877502,
-0.022412525489926338,
-0.0029844779055565596,
0.003952291328459978,
-0.017846668139100075,
-0.043195050209760666,
-0.07898099720478058,
0.004431567620486021,
-0.04386186972260475,
0.024412982165813446,
0.005079863592982292,
0.010965467430651188,
0.07005303353071213,
-0.022597752511501312,
-0.030618103221058846,
-0.023653550073504448,
-0.011669331230223179,
0.03776788339018822,
-0.01793002150952816,
0.05193778872489929,
0.006908985320478678,
0.014670017175376415,
0.001968041993677616,
0.07068280875682831,
0.025024233385920525,
0.02343127690255642,
0.03034026175737381,
0.01272512786090374,
-0.028525032103061676,
0.0006679766229353845,
0.006987706758081913,
0.0013973098248243332,
0.06294029951095581,
-0.046047553420066833,
0.0209492277354002,
0.008946487680077553,
-0.0011634601978585124,
0.03539697080850601,
-0.044899143278598785,
0.022097639739513397,
0.02335718646645546,
0.004081950522959232,
0.02700616791844368,
-0.02546877972781658,
0.005552194081246853,
-0.022801503539085388,
0.03786049783229828,
0.023727640509605408,
0.04538073390722275,
-0.020838093012571335,
-0.09817057102918625,
0.00168788549490273,
0.06223643571138382,
-0.009520692750811577,
0.011197001673281193,
-0.018133770674467087,
-0.0015269691357389092,
0.024227755144238472,
-0.08594555407762527,
0.011141433380544186,
0.01176194567233324,
0.004362107254564762,
0.002607076894491911,
-0.028821397572755814,
0.0013266918249428272,
0.03284083306789398,
0.014077289029955864,
-0.051641423255205154,
-0.011641547083854675,
-0.043565504252910614,
-0.03476719930768013,
0.028747305274009705,
0.059495069086551666,
0.053123243153095245,
0.023801732808351517,
0.039231181144714355,
0.017772577702999115,
0.03613788262009621,
-0.04063890874385834,
-0.03284083306789398,
-0.033248335123062134,
0.0032669496722519398,
0.018967295065522194,
0.013067798689007759,
0.008765891194343567,
0.04145391285419464,
-0.049715057015419006,
-0.06586689502000809,
-0.004524181131273508,
-0.05919870361685753,
0.015049733221530914,
0.03165537863969803,
-0.008182424120604992,
-0.044269368052482605,
-0.04130572825670242,
0.019800817593932152,
-0.08676055073738098,
0.045677099376916885,
-0.05875415727496147,
0.011187740601599216,
0.06949735432863235,
-0.006107876542955637,
-0.0013926791725680232,
-0.0069923377595841885,
0.05171551555395126,
-0.0581984743475914,
-0.007886060513556004,
0.08409328013658524,
-0.003454492660239339,
-0.0025792927481234074,
0.060569386929273605,
-0.029395602643489838,
-0.018865419551730156,
0.01661490462720394,
0.11469285935163498,
0.004852960351854563,
-0.09476238489151001,
-0.005278983153402805,
-0.020467637106776237,
-0.0019541499204933643,
-0.07301667332649231,
-0.06731166690587997,
-0.01622592844069004,
0.07594326883554459,
0.002403326565399766,
-0.040379591286182404,
-0.00018132034165319055,
0.003665188793092966,
0.0081500094383955
] |
730,078 | mmengine.fileio.file_client | exists | Check whether a file path exists.
Args:
filepath (str or Path): Path to be checked whether exists.
Returns:
bool: Return ``True`` if ``filepath`` exists, ``False`` otherwise.
| def exists(self, filepath: Union[str, Path]) -> bool:
"""Check whether a file path exists.
Args:
filepath (str or Path): Path to be checked whether exists.
Returns:
bool: Return ``True`` if ``filepath`` exists, ``False`` otherwise.
"""
return self.client.exists(filepath)
| (self, filepath: Union[str, pathlib.Path]) -> bool | [
0.01352941244840622,
-0.07597080618143082,
-0.038838207721710205,
0.011157545261085033,
0.03681279346346855,
0.0028004904743283987,
0.038838207721710205,
0.007826271466910839,
-0.0372391976416111,
0.0018821695121005177,
0.023843035101890564,
0.03656405955553055,
0.03905140981078148,
-0.08364605903625488,
-0.016380982473492622,
-0.01605229638516903,
0.05084855854511261,
0.002587289083749056,
0.009674018248915672,
-0.04182302951812744,
-0.004992468748241663,
0.026881156489253044,
0.05447298288345337,
0.02217295579612255,
0.030594415962696075,
0.055681124329566956,
0.010517940856516361,
-0.010722259059548378,
0.00022444454953074455,
0.02023637667298317,
-0.018957167863845825,
0.0065292962826788425,
0.003517824923619628,
0.01680738478899002,
0.01432003453373909,
0.04470124840736389,
-0.021018115803599358,
0.034609708935022354,
-0.056036461144685745,
-0.04327990487217903,
-0.043528638780117035,
0.08691514283418655,
-0.01157506462186575,
0.04022401571273804,
-0.01137963030487299,
-0.0004230717313475907,
-0.08385925740003586,
0.0047437334433197975,
-0.023967402055859566,
0.001103761955164373,
0.08122977614402771,
-0.011432930827140808,
-0.04558958858251572,
-0.009558534249663353,
-0.048894211649894714,
-0.024233903735876083,
0.0487520769238472,
0.07511799782514572,
-0.03198022395372391,
0.006551504600793123,
-0.0026761230546981096,
-0.026561353355646133,
0.02169325388967991,
-0.055005986243486404,
0.009753968566656113,
0.006373836658895016,
0.009327566251158714,
-0.06420918554067612,
0.041361093521118164,
-0.003002587938681245,
-0.009043296799063683,
0.05290950834751129,
0.02482020854949951,
-0.036741726100444794,
0.013174076564610004,
0.0184952300041914,
0.011175312101840973,
0.0627167746424675,
0.016123363748192787,
0.009487466886639595,
-0.06097562983632088,
-0.07284384965896606,
0.0020398497581481934,
-0.0088967215269804,
0.009185431525111198,
0.05632073059678078,
0.04619365930557251,
-0.024393806234002113,
-0.024518173187971115,
0.08897609263658524,
-0.018708432093262672,
0.02110694907605648,
0.01645204983651638,
-0.03397010639309883,
0.04690432921051979,
-0.04871654510498047,
0.05045768991112709,
-0.04541192203760147,
0.0006590369157493114,
-0.028728902339935303,
-0.038127534091472626,
-0.027289792895317078,
0.06012282520532608,
-0.020183075219392776,
0.019774438813328743,
0.012925340794026852,
-0.010704492218792439,
0.004979143384844065,
0.028551233932375908,
-0.020804913714528084,
-0.01991657353937626,
-0.05258970335125923,
0.032406628131866455,
0.02721872553229332,
0.028391333296895027,
-0.06118883192539215,
0.02007647417485714,
-0.017144953832030296,
-0.025157777592539787,
-0.03620872274041176,
0.03688386082649231,
-0.010198138654232025,
0.005774207413196564,
-0.013920281082391739,
0.07241744548082352,
-0.02528214454650879,
0.000034319058613618836,
0.02004094049334526,
-0.02165772020816803,
0.02876443602144718,
-0.02951064147055149,
0.01842416264116764,
0.03160712122917175,
0.01869066432118416,
-0.04619365930557251,
0.06236144155263901,
0.013387277722358704,
0.014977405779063702,
0.0042351591400802135,
0.056391797959804535,
0.017455874010920525,
-0.03617318719625473,
-0.0012259086361154914,
-0.004519427660852671,
0.06307211518287659,
0.058843616396188736,
-0.040650419890880585,
-0.039691012352705,
0.019827740266919136,
0.042995635420084,
-0.003802093444392085,
-0.00223861588165164,
0.015812445431947708,
0.004659341182559729,
-0.013849214650690556,
-0.020769380033016205,
0.014089065603911877,
0.03352593630552292,
-0.021195782348513603,
-0.02595728263258934,
0.023558765649795532,
0.03716813027858734,
-0.010189254768192768,
0.0041574290953576565,
-0.0015523734036833048,
0.02608165144920349,
-0.08137191087007523,
0.06420918554067612,
0.026028349995613098,
0.05468618497252464,
-0.006267236080020666,
-0.00337791140191257,
-0.02331003174185753,
0.003897590097039938,
0.027680661529302597,
-0.05038662254810333,
0.04505658522248268,
0.05699586868286133,
0.018832799047231674,
0.012845390476286411,
0.023487698286771774,
-0.05326484143733978,
0.011841567233204842,
0.006564829498529434,
0.035409215837717056,
0.02505117654800415,
-0.004965818487107754,
-0.030363447964191437,
0.040614888072013855,
0.04111235588788986,
-0.02307906188070774,
0.01625661551952362,
0.06545285880565643,
0.06445792317390442,
0.028586767613887787,
-0.05799080803990364,
0.07195550948381424,
-0.027147658169269562,
-0.07959523051977158,
0.02592174895107746,
0.07682360708713531,
-0.018726198002696037,
-0.006520412862300873,
0.0021819842513650656,
-0.010953227058053017,
-0.023700900375843048,
0.004797033965587616,
0.008474759757518768,
-0.007204434368759394,
0.04068595543503761,
-0.05440191552042961,
-0.09267158806324005,
0.008026148192584515,
0.02130238339304924,
0.04327990487217903,
0.06005175784230232,
-0.02977714315056801,
0.03301069885492325,
-0.03720366209745407,
0.026223784312605858,
0.11569734662771225,
0.03912247717380524,
0.012063651345670223,
0.002933741547167301,
0.06591479480266571,
0.015830211341381073,
-0.026561353355646133,
0.02883550338447094,
-0.054259784519672394,
-0.02627708576619625,
-0.013405044563114643,
0.02698775753378868,
0.03855393826961517,
0.021995289251208305,
0.00445946492254734,
-0.010953227058053017,
0.0019698929972946644,
0.03759453073143959,
0.03022131323814392,
0.011139778420329094,
0.029563941061496735,
0.018246496096253395,
0.01226796954870224,
-0.009167664684355259,
-0.02631261944770813,
-0.04111235588788986,
0.0024940134026110172,
0.005347804166376591,
-0.025868449360132217,
-0.04327990487217903,
0.03041674755513668,
0.024002935737371445,
-0.041432157158851624,
-0.02887103706598282,
-0.010740025900304317,
-0.0065426211804151535,
-0.055716659873723984,
-0.015581476502120495,
0.006098451558500528,
0.03855393826961517,
-0.028195898979902267,
0.041680894792079926,
0.05415318161249161,
0.03180255740880966,
-0.05258970335125923,
-0.0580618754029274,
0.016123363748192787,
0.024091769009828568,
-0.02595728263258934,
-0.04626472666859627,
0.015057356096804142,
0.06591479480266571,
0.015332741662859917,
-0.03652852401137352,
0.0030914219096302986,
-0.01155729778110981,
0.007804063148796558,
-0.022581592202186584,
0.016141129657626152,
0.051381561905145645,
-0.05976748839020729,
0.0020454018376767635,
0.04999575391411781,
-0.028746670112013817,
-0.017144953832030296,
0.009771735407412052,
-0.0034156658221036196,
0.0676204115152359,
-0.046726662665605545,
0.019934341311454773,
-0.0031647097785025835,
-0.01578579470515251,
-0.00762195372954011,
-0.009816152974963188,
-0.013209610246121883,
0.07781855016946793,
-0.004805917385965586,
-0.0038753815460950136,
0.028462400659918785,
-0.06332084536552429,
-0.001223687781020999,
0.04043721780180931,
-0.02512224391102791,
-0.0034711870830506086,
-0.009931636974215508,
-0.0027049940545111895,
-0.012561121955513954,
-0.004290680401027203,
-0.02618825063109398,
0.005534355528652668,
-0.03716813027858734,
-0.009949403814971447,
-0.025868449360132217,
0.0016012320993468165,
0.10390020161867142,
0.022546058520674706,
-0.04907187819480896,
-0.05688926950097084,
-0.0629655122756958,
0.01858406513929367,
-0.024873508140444756,
0.052518635988235474,
0.008865629322826862,
0.0010771118104457855,
-0.02537097968161106,
-0.03464524447917938,
-0.023185662925243378,
0.006231702398508787,
-0.038873739540576935,
0.057102467864751816,
0.030949750915169716,
-0.022510524839162827,
0.09416399896144867,
-0.043528638780117035,
-0.015812445431947708,
-0.025939516723155975,
-0.01378703024238348,
0.006489320658147335,
0.04473678395152092,
0.13516975939273834,
0.007795180194079876,
-0.0339345708489418,
-0.03192692622542381,
0.00015670865832362324,
-0.008852303959429264,
-0.019738905131816864,
-0.02627708576619625,
0.0015701402444392443,
0.031624890863895416,
-0.029404040426015854,
0.0063116527162492275,
0.0071422504261136055,
-0.02844463475048542,
0.027289792895317078,
0.010429106652736664,
0.02977714315056801,
0.04178749397397041,
0.054579585790634155,
0.01585686206817627,
0.006222818978130817,
0.008852303959429264,
-0.04224942997097969,
-0.025424279272556305,
-0.02402070350944996,
-0.020964814350008965,
-0.014630952849984169,
0.05109729245305061,
0.025459812954068184,
-0.07781855016946793,
0.04644239321351051,
0.03784326836466789,
-0.01066895853728056,
-0.01858406513929367,
-0.03361476957798004,
0.023132363334298134,
-0.04068595543503761,
0.003846510546281934,
-0.049178481101989746,
0.03567571938037872,
0.013778147287666798,
-0.010233672335743904,
0.0478992722928524,
-0.0003000922151841223,
0.025495346635580063,
0.025068944320082664,
0.03659959137439728,
0.015670310705900192,
-0.0043528638780117035,
-0.05688926950097084,
-0.03983314707875252,
0.003986423835158348,
-0.010047120973467827,
-0.023843035101890564,
-0.07170677185058594,
-0.015448225662112236,
-0.07170677185058594,
0.03894480690360069,
0.023540999740362167,
0.011059828102588654,
0.03336603567004204,
0.03254876285791397,
-0.05170136317610741,
-0.011788266710937023,
0.035995520651340485,
-0.016993936151266098,
0.06875748187303543,
0.008079448714852333,
0.022990228608250618,
0.014684253372251987,
-0.06993009150028229,
-0.016523117199540138,
-0.0837881937623024,
-0.011930400505661964,
-0.008603569120168686,
-0.047508399933576584,
0.08968676626682281,
-0.05845274403691292,
-0.0030514465179294348,
0.007226642686873674,
-0.004499440081417561,
-0.0198455061763525,
-0.02670348808169365,
-0.028462400659918785,
0.07206210494041443,
-0.0026716813445091248,
0.015252791345119476,
-0.01307635847479105,
-0.022261790931224823,
0.032246727496385574,
-0.02007647417485714,
-0.03277973085641861,
-0.05987408757209778,
0.03940674290060997,
-0.03656405955553055,
0.001143737230449915,
-0.0374879315495491,
-0.021906454116106033,
-0.08201151341199875,
-0.026454754173755646,
-0.0020309663377702236,
-0.03908694162964821,
0.0013369510415941477,
-0.05266077071428299,
-0.021746553480625153,
0.008496968075633049,
-0.005258970428258181,
-0.04402611032128334,
-0.04221389815211296,
0.11683442443609238,
-0.01605229638516903,
-0.05376231297850609,
0.01574137806892395,
0.06733614206314087,
-0.009336449205875397,
-0.04676219820976257,
-0.012490054592490196,
-0.06804681569337845,
0.02682785503566265,
-0.01511065661907196,
-0.022901395335793495,
-0.03215789422392845,
0.05486385524272919,
0.016158897429704666,
-0.07074736803770065,
0.014097949489951134,
-0.011814916506409645,
0.014231200329959393,
-0.002935962285846472,
0.04185856133699417,
0.03215789422392845,
-0.00015545943460892886,
-0.019863273948431015,
-0.045944925397634506,
-0.005156811326742172,
0.02883550338447094,
-0.008039473555982113,
0.042427100241184235,
0.060407090932130814,
-0.053833380341529846,
0.012578888796269894,
0.0028893244452774525,
-0.052518635988235474,
-0.0886918231844902,
0.050599824637174606,
0.05013788864016533,
-0.02634815312922001,
-0.010544590651988983,
0.0165675338357687,
0.005880807992070913,
-0.06722953915596008,
0.05333590880036354,
-0.032406628131866455,
0.017349272966384888,
-0.030629949644207954,
0.053513579070568085,
-0.01798887737095356,
-0.04402611032128334,
0.05539685860276222,
-0.03388127312064171,
-0.012223552912473679,
-0.012498938478529453,
-0.006462670397013426,
0.027911629527807236,
0.09729095548391342,
-0.02091151475906372,
-0.000368383334716782,
0.016070064157247543,
0.013316210359334946,
-0.030043644830584526,
-0.0015279441140592098,
0.0028093738947063684,
0.07703681290149689,
-0.057457804679870605,
0.024749141186475754,
0.06360511481761932,
0.04374184086918831,
-0.035213783383369446,
-0.05738673731684685,
-0.010064887814223766,
-0.007279943209141493,
-0.000018669012206373736,
-0.029528407379984856,
0.021870920434594154,
0.006942374166101217,
-0.010384690016508102,
0.028373567387461662,
0.004241821356117725,
-0.03301069885492325,
-0.008652427233755589,
0.0007228863541968167,
0.008474759757518768,
0.01209030207246542,
-0.032015759497880936,
-0.018832799047231674,
0.04729520156979561,
0.019312502816319466,
0.02482020854949951,
-0.023007996380329132,
-0.0028249199967831373,
-0.008927812799811363,
0.020645013079047203,
0.005938549991697073,
-0.037772201001644135,
-0.02059171162545681,
-0.006440462078899145,
-0.026454754173755646,
-0.025655247271060944,
-0.0988544300198555,
0.057422272861003876,
-0.006778031121939421,
0.04800587147474289,
0.0017555811209604144,
0.021639952436089516,
-0.007368776947259903,
0.08705727756023407,
0.10233671963214874,
-0.0008444778504781425,
-0.05980302020907402,
-0.006307211238890886,
-0.024802440777420998,
-0.008408133871853352,
-0.054934922605752945,
-0.04320883750915527,
0.015812445431947708,
-0.012969758361577988,
-0.03389903903007507,
0.013680430129170418,
-0.01822872832417488,
0.04580279067158699,
-0.07682360708713531,
0.016594184562563896,
0.04114789143204689,
0.04004634916782379,
-0.03649299219250679,
-0.03553358465433121,
-0.021373450756072998,
0.03571125119924545,
-0.005476613529026508,
0.02359429933130741,
0.003508941503241658,
-0.03930014371871948,
-0.03787880018353462,
-0.05344251170754433,
0.028391333296895027,
-0.03180255740880966,
-0.01351164560765028,
0.0036399716045707464,
0.02453593909740448,
-0.048503343015909195,
-0.02169325388967991,
0.011628365144133568,
0.00911436416208744,
0.056747134774923325,
0.0065070874989032745,
0.02430497109889984,
0.018832799047231674,
0.06751380860805511,
-0.047366268932819366,
0.08556486666202545,
-0.015066239982843399,
-0.031091885641217232,
-0.03425437584519386,
-0.018797265365719795,
-0.028391333296895027,
-0.019383570179343224,
0.03206906095147133,
-0.0013480553170666099,
-0.008137190714478493,
-0.02618825063109398,
-0.034858446568250656,
0.02268819324672222,
-0.011468464508652687,
0.019579004496335983,
0.03901587426662445,
0.07216870784759521,
0.058879148215055466,
-0.004805917385965586,
-0.018761731684207916,
-0.04256923496723175,
-0.011548414826393127,
0.020378509536385536,
-0.03299293294548988,
0.05301610752940178,
0.02304353006184101,
-0.01861959882080555,
0.005623189732432365,
0.02473137527704239,
-0.03006141260266304,
-0.059945154935121536,
-0.032602064311504364,
0.049960218369960785,
-0.03144722059369087,
0.005103510804474354,
-0.01633656583726406,
0.002933741547167301,
-0.06445792317390442,
-0.0017078329110518098,
-0.027858329936861992,
0.047472868114709854,
0.000031039835448609665,
-0.050635356456041336,
-0.0591634176671505,
-0.04057935252785683,
0.015537059865891933,
0.01511065661907196,
0.00605403445661068,
0.0065781548619270325,
-0.03784326836466789,
0.06726507097482681,
0.012747673317790031,
0.0017056120559573174,
0.05937661975622177,
-0.04832567274570465,
-0.02489127591252327,
0.0006940152961760759,
-0.004312888719141483,
0.01045575737953186,
-0.01893940009176731,
-0.026365919038653374,
0.0342366099357605,
0.011743849143385887,
-0.020254142582416534,
-0.026579121127724648,
0.015474875457584858,
-0.020129775628447533,
0.005645398050546646,
0.030079178512096405,
-0.07611293345689774,
-0.023914102464914322,
0.06733614206314087,
0.013467228040099144,
0.06062029302120209,
-0.004739291965961456,
-0.02078714594244957,
0.03597775474190712,
0.033792439848184586,
-0.0594121515750885,
-0.02331003174185753,
-0.035800084471702576,
0.007062299642711878,
-0.01629214733839035,
0.02236839197576046,
-0.015874627977609634,
0.014693137258291245,
-0.0060940096154809,
-0.006067359354346991,
0.05543239042162895,
-0.030985284596681595,
0.01774902455508709,
-0.003062550676986575,
-0.030327914282679558,
-0.04896527901291847,
-0.041716426610946655,
0.060655828565359116,
0.00674693938344717,
-0.017722375690937042,
0.043528638780117035,
0.05013788864016533,
0.0004544412367977202,
-0.03281526640057564,
0.02366536669433117,
0.029244139790534973,
0.002387412590906024,
0.033046234399080276,
0.0021819842513650656,
0.005556564312428236,
-0.05582325905561447,
-0.007657487411051989,
0.042427100241184235,
0.020875981077551842,
-0.03652852401137352,
0.005938549991697073,
0.06197056919336319,
-0.03196245804429054,
0.029652776196599007,
-0.032602064311504364,
0.0026539145037531853,
0.013467228040099144,
0.04701093211770058,
-0.04658452793955803,
0.026454754173755646,
-0.03219342604279518,
-0.024678073823451996,
-0.03500058129429817,
-0.043493106961250305,
-0.04487891495227814,
-0.003317948430776596,
-0.017642423510551453,
-0.017029469832777977,
0.0418940968811512,
0.011743849143385887,
-0.020716078579425812,
-0.028302500024437904,
0.04676219820976257,
-0.0002595617261249572,
-0.030327914282679558,
0.013085242360830307,
0.009514116682112217,
0.026330385357141495,
0.012712139636278152,
-0.005019118543714285,
-0.033668071031570435,
0.024091769009828568,
-0.10311846435070038,
0.01774902455508709,
-0.005472172051668167,
0.05514812096953392,
-0.019863273948431015,
-0.028035998344421387,
0.006964582484215498,
0.010819976218044758,
-0.03555135056376457,
-0.027787262573838234,
0.01940133608877659,
-0.0031558263581246138,
0.0051479279063642025,
-0.0342366099357605,
0.03452087566256523,
-0.02295469492673874,
0.0022108552511781454,
-0.04903634637594223,
-0.001099320244975388,
-0.010162604972720146,
-0.004552740603685379,
0.011139778420329094,
0.005214553326368332,
-0.028035998344421387,
0.029990345239639282
] |
730,079 | mmengine.fileio.file_client | get | Read data from a given ``filepath`` with 'rb' mode.
Note:
There are two types of return values for ``get``, one is ``bytes``
and the other is ``memoryview``. The advantage of using memoryview
is that you can avoid copying, and if you want to convert it to
``bytes``, you can use ``.tobytes()``.
Args:
filepath (str or Path): Path to read data.
Returns:
bytes | memoryview: Expected bytes object or a memory view of the
bytes object.
| def get(self, filepath: Union[str, Path]) -> Union[bytes, memoryview]:
"""Read data from a given ``filepath`` with 'rb' mode.
Note:
There are two types of return values for ``get``, one is ``bytes``
and the other is ``memoryview``. The advantage of using memoryview
is that you can avoid copying, and if you want to convert it to
``bytes``, you can use ``.tobytes()``.
Args:
filepath (str or Path): Path to read data.
Returns:
bytes | memoryview: Expected bytes object or a memory view of the
bytes object.
"""
return self.client.get(filepath)
| (self, filepath: Union[str, pathlib.Path]) -> Union[bytes, memoryview] | [
0.04157338663935661,
-0.08903515338897705,
-0.043453410267829895,
0.00949767418205738,
0.008930118754506111,
-0.0059593250043690205,
0.010836748406291008,
0.014304152689874172,
0.029548319056630135,
-0.058990221470594406,
0.04107677564024925,
0.04714251682162285,
-0.04909348487854004,
0.0048463852144777775,
0.04072205349802971,
0.011900913901627064,
0.004700062796473503,
-0.034762728959321976,
0.018090806901454926,
0.002061819890514016,
-0.0027690464630723,
-0.0029929643496870995,
0.042885854840278625,
0.03454989567399025,
-0.03153476119041443,
0.0382390022277832,
0.0027446593157947063,
-0.057358499616384506,
0.043134160339832306,
0.028484154492616653,
0.03781333565711975,
-0.04363077133893967,
-0.016193045303225517,
0.026409031823277473,
-0.00037883169716224074,
0.03919674828648567,
0.03139287233352661,
0.009550882503390312,
0.009160688146948814,
0.012033933773636818,
-0.07371117174625397,
-0.011581663973629475,
0.07938671857118607,
-0.02555769868195057,
-0.03045285865664482,
-0.027792446315288544,
-0.05093803629279137,
0.006149987690150738,
-0.0369974747300148,
0.03618161380290985,
0.0910215899348259,
0.014366229064762592,
-0.051576536148786545,
-0.012140350416302681,
-0.0036602846812456846,
-0.0028355566319078207,
-0.05640075355768204,
0.06682956963777542,
-0.013816410675644875,
0.0755557268857956,
-0.03696200251579285,
-0.07328550517559052,
0.02882113866508007,
-0.08179882913827896,
0.00780387781560421,
0.015456998720765114,
-0.000028578653655131347,
-0.036288030445575714,
0.04171527177095413,
-0.01337300892919302,
0.0058839465491473675,
0.04033185914158821,
-0.031924955546855927,
-0.008996629156172276,
-0.012725641019642353,
0.0066643343307077885,
-0.004134724847972393,
0.017860237509012222,
0.0023965886794030666,
0.028732458129525185,
0.01425094436854124,
-0.02781018242239952,
0.028679249808192253,
-0.0012736726785078645,
-0.007857086136937141,
-0.012769981287419796,
0.05413053184747696,
-0.014188868924975395,
-0.026089781895279884,
0.03538349270820618,
0.004496097564697266,
-0.0019177142530679703,
-0.05615244805812836,
0.03020455315709114,
0.03541896492242813,
-0.0813022181391716,
0.0027335742488503456,
0.03247477114200592,
-0.04448210448026657,
0.017771556973457336,
-0.04827762395143509,
0.02474183961749077,
0.055230170488357544,
0.009014365263283253,
-0.019279124215245247,
0.00544497836381197,
0.010384478606283665,
0.0353657566010952,
0.01982894353568554,
-0.01869383454322815,
-0.051824841648340225,
0.009595222771167755,
-0.023837300017476082,
0.06494954228401184,
-0.009710506536066532,
0.026444504037499428,
-0.03330836817622185,
0.012175822630524635,
-0.0023167761974036694,
0.004606948234140873,
-0.011696948669850826,
0.0064381989650428295,
0.008185203187167645,
-0.017168531194329262,
0.049625568091869354,
0.0722922831773758,
0.01069485954940319,
-0.04274396598339081,
-0.011510719545185566,
0.05544300377368927,
0.007763971574604511,
-0.004948367830365896,
0.0191195011138916,
0.045971933752298355,
-0.03472725674510002,
0.06789373606443405,
0.023837300017476082,
0.005431676283478737,
0.04292132705450058,
0.05437883734703064,
0.012220162898302078,
-0.017948918044567108,
0.06512690335512161,
-0.05703924968838692,
0.012566016986966133,
0.008570963516831398,
0.08499132096767426,
-0.08073466271162033,
-0.03706841915845871,
0.03813258558511734,
0.010180513374507427,
-0.011909781955182552,
0.009932207874953747,
-0.008131994865834713,
0.050193123519420624,
0.005187805276364088,
-0.005431676283478737,
0.016760600730776787,
-0.07839349657297134,
-0.012707904912531376,
-0.04859687387943268,
0.050122179090976715,
0.017381364479660988,
-0.0589192770421505,
0.03806164115667343,
0.01022485364228487,
-0.05242786929011345,
0.0092493686825037,
0.00685943104326725,
-0.001794670126400888,
-0.09520731121301651,
0.05991249904036522,
-0.05366939678788185,
0.009754846803843975,
0.10010246932506561,
-0.04877423495054245,
0.008943420834839344,
0.04139602556824684,
0.045900989323854446,
0.006309612654149532,
0.0011982943397015333,
-0.05806794390082359,
-0.028093960136175156,
0.045900989323854446,
0.042069993913173676,
0.03827447444200516,
0.027171682566404343,
-0.013497160747647285,
0.03403554856777191,
0.03838089108467102,
-0.023943714797496796,
0.014339624904096127,
-0.005006010178476572,
-0.012814321555197239,
-0.009160688146948814,
-0.08378526568412781,
0.05388223007321358,
-0.01643248274922371,
-0.05349203571677208,
0.07328550517559052,
0.03731672465801239,
-0.021318774670362473,
0.027863390743732452,
-0.003400894347578287,
-0.02504335343837738,
-0.006961413659155369,
-0.012557148933410645,
0.003456319682300091,
0.0017569810152053833,
0.07012848556041718,
-0.015953609719872475,
-0.004930631723254919,
-0.0012104877969250083,
-0.01710645481944084,
0.04721346125006676,
0.006602257955819368,
-0.0683194026350975,
0.02052065171301365,
-0.056046031415462494,
0.029619263485074043,
0.12613904476165771,
0.0439145490527153,
-0.06236007809638977,
0.04462399333715439,
0.015519075095653534,
0.0026094214990735054,
-0.024777311831712723,
-0.025646379217505455,
-0.0910925343632698,
-0.003205797402188182,
0.00391745800152421,
0.0017403534147888422,
0.08030899614095688,
-0.0029530583415180445,
0.04164432734251022,
0.05281806364655495,
-0.024333909153938293,
0.0499802902340889,
0.008766060695052147,
0.0349755622446537,
0.01919044554233551,
0.0058085680939257145,
0.010898824781179428,
0.05916758254170418,
-0.05374034121632576,
-0.025912420824170113,
-0.01129788625985384,
0.013949431478977203,
-0.011093921959400177,
-0.02724262699484825,
0.04724893346428871,
-0.026604129001498222,
0.010473158210515976,
-0.020467443391680717,
-0.010056360624730587,
0.02738451585173607,
-0.02271992526948452,
-0.10223079472780228,
-0.00456260796636343,
0.012894134037196636,
0.004602514207363129,
0.0005836280761286616,
0.044340215623378754,
0.0038686837069690228,
0.0018789165187627077,
-0.0075555723160505295,
0.0030860789120197296,
-0.011324490420520306,
0.009213896468281746,
-0.00850001908838749,
-0.04316963255405426,
0.08272110670804977,
-0.006726410705596209,
-0.011918650008738041,
0.0007742909947410226,
-0.051647480577230453,
0.04788742959499359,
0.027703765779733658,
-0.02037876285612583,
0.00391745800152421,
-0.12379787862300873,
0.009355785325169563,
0.03529481217265129,
-0.03756503015756607,
-0.022116899490356445,
-0.012548280879855156,
-0.022737661376595497,
-0.036784641444683075,
-0.04249566048383713,
0.025912420824170113,
0.032829493284225464,
-0.0284486822783947,
-0.05838719382882118,
-0.05413053184747696,
0.06260838359594345,
0.01710645481944084,
-0.08307582885026932,
-0.021159149706363678,
0.050370484590530396,
-0.005609036888927221,
-0.015962477773427963,
-0.004948367830365896,
0.07271794974803925,
0.03969335928559303,
0.007879256270825863,
-0.011821101419627666,
0.010384478606283665,
-0.046468544751405716,
-0.007214152719825506,
0.03057701140642166,
0.02202821895480156,
-0.04902254045009613,
0.00016198035154957324,
0.03618161380290985,
-0.008983327075839043,
-0.010685991495847702,
-0.01173242088407278,
0.07300172746181488,
0.00971937458962202,
-0.013479424640536308,
-0.02076895721256733,
0.0045093996450304985,
0.03479820117354393,
-0.03341478481888771,
0.01919044554233551,
-0.002221444621682167,
-0.0023921546526253223,
0.02126556634902954,
-0.01522642932832241,
0.08094749599695206,
0.058245304971933365,
0.02882113866508007,
0.021176885813474655,
0.006823958829045296,
-0.009049837477505207,
-0.03469178453087807,
-0.009878999553620815,
-0.031818538904190063,
-0.014783027581870556,
0.055230170488357544,
0.0845656543970108,
-0.0304705947637558,
0.04196357727050781,
-0.016388142481446266,
0.02083989977836609,
0.010082964785397053,
0.03909033164381981,
-0.013736598193645477,
-0.007480194326490164,
-0.03259892389178276,
-0.0029419732745736837,
-0.02738451585173607,
-0.027224890887737274,
-0.020662540569901466,
-0.05909663811326027,
-0.005431676283478737,
0.002181538613513112,
0.026781490072607994,
0.018463265150785446,
-0.0005847365828230977,
-0.05554942041635513,
0.019296860322356224,
-0.055726781487464905,
0.0130005506798625,
-0.040189970284700394,
-0.03580915555357933,
0.008495585061609745,
0.01813514716923237,
-0.019101765006780624,
0.0304705947637558,
-0.019811207428574562,
0.016255121678113937,
-0.0349755622446537,
0.029778888449072838,
0.021159149706363678,
-0.050618790090084076,
-0.031038150191307068,
-0.04334699362516403,
0.0032944779377430677,
0.09201481193304062,
0.021762177348136902,
0.03449668735265732,
0.016068894416093826,
0.005303089506924152,
0.00811869278550148,
-0.001664975075982511,
-0.02945963852107525,
0.018764778971672058,
-0.05221503600478172,
-0.016015686094760895,
0.007121038623154163,
-0.013701125979423523,
-0.009861263446509838,
0.003458536695688963,
-0.017230607569217682,
-0.006602257955819368,
0.06643937528133392,
0.04398549348115921,
0.036536335945129395,
0.0007571091409772635,
0.01312470342963934,
-0.0018911100924015045,
-0.07626517117023468,
0.03618161380290985,
-0.044340215623378754,
0.04746176674962044,
0.012956210412085056,
0.002253591315820813,
-0.03990619257092476,
-0.07037679105997086,
-0.018356848508119583,
-0.010331270284950733,
0.013027154840528965,
0.0018234913004562259,
0.019651582464575768,
0.038806553930044174,
-0.0009577486198395491,
-0.0021316558122634888,
0.03642991930246353,
0.025380339473485947,
-0.040189970284700394,
0.0016871450934559107,
-0.016281725838780403,
-0.03781333565711975,
0.010996373370289803,
-0.023181064054369926,
0.025327131152153015,
-0.010783540084958076,
0.02976115234196186,
0.026462240144610405,
0.06782279163599014,
-0.04366624355316162,
-0.014641138724982738,
-0.027437724173069,
0.01409132033586502,
-0.009134083986282349,
-0.044198326766490936,
-0.044588521122932434,
0.04607835039496422,
0.010198249481618404,
0.0003245149564463645,
0.00839803647249937,
0.0012681301450356841,
-0.023801827803254128,
-0.011989593505859375,
-0.04405643790960312,
-0.021549344062805176,
-0.024280700832605362,
0.06885148584842682,
-0.08350148797035217,
-0.009462201967835426,
-0.04178621619939804,
0.06278574466705322,
-0.0184987373650074,
-0.02083989977836609,
0.00839803647249937,
-0.04689421132206917,
0.006677636411041021,
-0.04253113269805908,
-0.004416285548359156,
-0.0021704535465687513,
-0.0006080151651985943,
0.003345469245687127,
-0.12330126762390137,
-0.002178213093429804,
-0.012424128130078316,
-0.008105390705168247,
0.05040595680475235,
-0.041821688413619995,
-0.020414235070347786,
0.008353696204721928,
-0.06278574466705322,
-0.043524354696273804,
-0.04331152141094208,
0.03220873326063156,
0.000008352761142305098,
0.041183192282915115,
0.011067317798733711,
-0.022241052240133286,
-0.06243102252483368,
-0.0018600720213726163,
-0.04643307253718376,
-0.047745540738105774,
0.039232220500707626,
-0.012903002090752125,
0.009701638482511044,
0.011262414045631886,
0.06065741181373596,
0.04561721161007881,
-0.05242786929011345,
-0.004349775146692991,
0.09052497893571854,
-0.06147327274084091,
-0.029566055163741112,
0.009639562107622623,
0.04739082232117653,
-0.005232145078480244,
-0.022560300305485725,
-0.004336473066359758,
0.05739397183060646,
-0.02655092068016529,
-0.0495900958776474,
0.052392397075891495,
0.03997713699936867,
-0.021886330097913742,
0.009967680089175701,
0.014428305439651012,
-0.007271795067936182,
-0.0009106371435336769,
-0.03788428008556366,
-0.0110761858522892,
0.0654461532831192,
-0.010153909213840961,
-0.009080875664949417,
-0.0314815528690815,
0.02529165893793106,
-0.025912420824170113,
0.007520100101828575,
-0.03204910829663277,
0.00937352143228054,
0.03259892389178276,
0.020556123927235603,
-0.011989593505859375,
-0.004194584209471941,
0.0029486243147403,
-0.02738451585173607,
-0.04242471605539322,
-0.053208258002996445,
-0.028998499736189842,
0.0007864845683798194,
0.0430632159113884,
-0.00035693871905095875,
-0.0057775299064815044,
0.020307818427681923,
0.005010444205254316,
-0.04636212810873985,
-0.010898824781179428,
-0.006992451846599579,
-0.0499802902340889,
0.009683902375400066,
0.026409031823277473,
-0.02499014511704445,
-0.03428385406732559,
-0.006260838359594345,
-0.027916599065065384,
-0.0025562134105712175,
0.007666422985494137,
-0.0366072803735733,
0.06760995835065842,
-0.002534043276682496,
-0.004841951187700033,
-0.040048081427812576,
0.01598021388053894,
0.0027756975032389164,
0.012761113233864307,
0.036855585873126984,
-0.039303164929151535,
-0.029672471806406975,
-0.0008485608268529177,
-0.05835172161459923,
0.06920620799064636,
-0.023837300017476082,
-0.07144095003604889,
0.047284405678510666,
-0.024067867547273636,
0.0683194026350975,
0.030417386442422867,
0.055478475987911224,
0.0247950479388237,
-0.07356928288936615,
0.008402470499277115,
0.0333438403904438,
0.01832137629389763,
0.0008003408438526094,
0.05927399918437004,
0.03151702508330345,
0.000662331935018301,
0.01572304032742977,
0.004150243941694498,
-0.006726410705596209,
0.004003921523690224,
-0.045475322753190994,
-0.012787717394530773,
0.03196042776107788,
0.019935360178351402,
0.01286752987653017,
-0.003919675014913082,
0.01174128893762827,
-0.0004985503037460148,
-0.0516120083630085,
0.03607519716024399,
-0.03304232656955719,
0.010419949889183044,
-0.00462468434125185,
0.02624940685927868,
0.0552656427025795,
-0.042069993913173676,
0.017984390258789062,
0.017230607569217682,
0.0009959921007975936,
0.01655663549900055,
-0.015652095898985863,
-0.004205669276416302,
-0.017727216705679893,
-0.03627029433846474,
0.10599084943532944,
0.009116347879171371,
0.008096522651612759,
0.045971933752298355,
0.02371314726769924,
-0.008721720427274704,
-0.02699432149529457,
0.01154619175940752,
0.027331307530403137,
0.021496135741472244,
0.03845183551311493,
-0.042566604912281036,
-0.0010841182665899396,
-0.06484312564134598,
-0.018640626221895218,
0.04185716062784195,
-0.0184987373650074,
0.03611066937446594,
0.04600740596652031,
-0.007515666075050831,
0.016459086909890175,
0.005600168835371733,
0.00972824264317751,
-0.015590019524097443,
0.04015449807047844,
0.04618476703763008,
-0.024138811975717545,
0.02679922617971897,
0.05366939678788185,
0.017345892265439034,
-0.04870329052209854,
0.03566726669669151,
0.020485179498791695,
0.021105941385030746,
0.02593015693128109,
-0.019350068643689156,
-0.013647917658090591,
-0.003682454815134406,
0.0009361327975057065,
-0.002500788075849414,
0.005781963933259249,
0.014995860867202282,
0.005985928699374199,
0.07995427399873734,
0.004017223604023457,
-0.02133651077747345,
0.03208458051085472,
0.0203255545347929,
-0.025220714509487152,
-0.02474183961749077,
-0.020680276677012444,
0.09769035875797272,
-0.03052380308508873,
0.0011384349782019854,
0.038345418870449066,
-0.025894684717059135,
-0.014561326242983341,
-0.015501338988542557,
-0.05625886470079422,
-0.02543354593217373,
-0.0114841153845191,
-0.025504490360617638,
0.027615085244178772,
0.054910920560359955,
0.017337024211883545,
-0.0007548921275883913,
0.0926533117890358,
-0.0197047907859087,
-0.0262316707521677,
-0.008353696204721928,
0.0035716041456907988,
0.0035605193115770817,
-0.05838719382882118,
-0.01604229025542736,
0.007050094194710255,
0.026479976251721382,
0.041750743985176086,
-0.04217641055583954,
0.027579613029956818,
-0.044198326766490936,
0.018924403935670853,
-0.004700062796473503,
0.03298911824822426,
0.02183312177658081,
-0.03749408572912216,
-0.02316332794725895,
-0.0386291928589344,
0.013284328393638134,
0.012956210412085056,
-0.00235889945179224,
0.051647480577230453,
0.02474183961749077,
-0.030293233692646027,
-0.02679922617971897,
0.014454909600317478,
-0.006318480707705021,
-0.0690997913479805,
0.0036004253197461367,
0.007391513790935278,
-0.007670857012271881,
-0.02807622402906418,
-0.036713697016239166,
-0.004872989375144243,
-0.033946868032217026,
-0.02082216367125511,
-0.009524278342723846,
-0.004074865486472845,
0.01572304032742977,
-0.055975086987018585,
0.046291183680295944,
-0.004367511253803968,
-0.07037679105997086,
0.02679922617971897,
-0.024564478546380997,
-0.0034408005885779858,
-0.05381128564476967,
0.0013180128298699856,
0.03958694264292717,
0.02862604148685932,
0.005316391587257385,
0.018516473472118378,
-0.03213778883218765,
-0.01463227067142725,
-0.06736165285110474,
0.029778888449072838,
0.03291817381978035,
-0.0333438403904438,
0.07754216343164444,
-0.05203767493367195,
-0.06771637499332428,
-0.03912580385804176,
-0.04324057698249817,
-0.04806479066610336,
0.08584265410900116,
0.023500313982367516,
-0.0394095815718174,
0.014410569332540035,
-0.012441864237189293,
-0.0016394794220104814,
-0.007883690297603607,
-0.08392715454101562,
0.05097350850701332,
0.017274947836995125,
0.0015253033488988876,
0.02637355960905552,
-0.010934296995401382,
-0.038983915001153946,
0.002149391919374466,
0.06590729206800461,
0.008411338552832603,
0.028093960136175156,
-0.04543985053896904,
-0.03000945784151554,
-0.0035250470973551273,
-0.01781589724123478,
-0.018924403935670853,
0.03642991930246353,
-0.04852592945098877,
0.03151702508330345,
-0.05129275843501091,
0.014960388652980328,
-0.03806164115667343,
0.07126358896493912
] |
730,080 | mmengine.fileio.file_client | get_local_path | Download data from ``filepath`` and write the data to local path.
``get_local_path`` is decorated by :meth:`contxtlib.contextmanager`. It
can be called with ``with`` statement, and when exists from the
``with`` statement, the temporary path will be released.
Note:
If the ``filepath`` is a local path, just return itself.
.. warning::
``get_local_path`` is an experimental interface that may change in
the future.
Args:
filepath (str or Path): Path to be read data.
Examples:
>>> file_client = FileClient(prefix='s3')
>>> with file_client.get_local_path('s3://bucket/abc.jpg') as path:
... # do something here
Yields:
Iterable[str]: Only yield one path.
| @classmethod
def register_backend(cls, name, backend=None, force=False, prefixes=None):
"""Register a backend to FileClient.
This method can be used as a normal class method or a decorator.
.. code-block:: python
class NewBackend(BaseStorageBackend):
def get(self, filepath):
return filepath
def get_text(self, filepath):
return filepath
FileClient.register_backend('new', NewBackend)
or
.. code-block:: python
@FileClient.register_backend('new')
class NewBackend(BaseStorageBackend):
def get(self, filepath):
return filepath
def get_text(self, filepath):
return filepath
Args:
name (str): The name of the registered backend.
backend (class, optional): The backend class to be registered,
which must be a subclass of :class:`BaseStorageBackend`.
When this method is used as a decorator, backend is None.
Defaults to None.
force (bool, optional): Whether to override the backend if the name
has already been registered. Defaults to False.
prefixes (str or list[str] or tuple[str], optional): The prefixes
of the registered storage backend. Defaults to None.
`New in version 1.3.15.`
"""
if backend is not None:
cls._register_backend(
name, backend, force=force, prefixes=prefixes)
return
def _register(backend_cls):
cls._register_backend(
name, backend_cls, force=force, prefixes=prefixes)
return backend_cls
return _register
| (self, filepath: Union[str, pathlib.Path]) -> Generator[Union[str, pathlib.Path], NoneType, NoneType] | [
0.006186691578477621,
-0.09533149749040604,
-0.031699515879154205,
0.04540789872407913,
0.0030575068667531013,
0.006222530733793974,
-0.048490043729543686,
0.06468923389911652,
0.044332731515169144,
-0.06712627410888672,
0.06716211885213852,
-0.02177213691174984,
-0.010778551921248436,
-0.04282749816775322,
-0.009819861501455307,
-0.039852868765592575,
0.003935560118407011,
-0.011405732482671738,
-0.006639157887548208,
-0.06268225610256195,
-0.018403280526399612,
0.03198622539639473,
0.08192774653434753,
-0.012337544932961464,
0.039852868765592575,
0.07307553291320801,
0.00041326743667013943,
0.0034606948029249907,
0.03293595835566521,
-0.012158350087702274,
0.004708336666226387,
-0.05099876970052719,
0.03067810647189617,
0.032039985060691833,
0.06669621169567108,
-0.025015559047460556,
-0.0010398883605375886,
0.03331226482987404,
-0.10249928385019302,
-0.014192207716405392,
0.018672071397304535,
-0.0176506619900465,
0.04110722988843918,
-0.02116287685930729,
0.0377025343477726,
0.09805525839328766,
0.0225068349391222,
0.03759501501917839,
-0.03470998257398605,
0.004370106849819422,
0.01960388384759426,
-0.021700460463762283,
-0.04182400554418564,
0.02334904856979847,
-0.01935301162302494,
0.009945297613739967,
0.030713945627212524,
0.030498912557959557,
-0.04780910536646843,
0.06866735219955444,
0.015849757939577103,
-0.04856172204017639,
0.051285479217767715,
0.0009620507480576634,
-0.0004535861953627318,
0.005241440609097481,
-0.05343581363558769,
-0.03616145998239517,
-0.021700460463762283,
0.019496366381645203,
0.004233471117913723,
-0.044476088136434555,
0.027470523491501808,
-0.046160515397787094,
0.009810901246964931,
0.022238044068217278,
-0.04329340159893036,
0.023904552683234215,
-0.03623313829302788,
0.025391867384314537,
0.030445152893662453,
-0.02881448343396187,
0.021001601591706276,
-0.036071863025426865,
0.06146372854709625,
-0.027165893465280533,
-0.02103744074702263,
-0.029979247599840164,
-0.042039040476083755,
0.017471468076109886,
-0.037774208933115005,
-0.021575024351477623,
0.05257568135857582,
0.026950860396027565,
-0.007100583985447884,
-0.11145900934934616,
-0.010984625667333603,
-0.022811464965343475,
-0.00215817429125309,
0.04766574874520302,
-0.027542201802134514,
0.030946899205446243,
0.019155897200107574,
-0.052360646426677704,
0.04967273026704788,
-0.0632915124297142,
-0.004036357160657644,
-0.023994149640202522,
-0.02544562518596649,
0.017713380977511406,
0.027452604845166206,
-0.05827406793832779,
0.030731864273548126,
0.01137885358184576,
0.04978024587035179,
-0.02361784130334854,
0.03066018782556057,
0.008771573193371296,
0.06519097834825516,
-0.04289917275309563,
-0.03042723424732685,
0.013358953408896923,
-0.03152032196521759,
0.03967367112636566,
0.039100248366594315,
-0.010473920963704586,
0.07562009990215302,
0.017426669597625732,
0.024477975443005562,
-0.030015086755156517,
0.024728847667574883,
0.025714417919516563,
-0.04293501377105713,
0.006285248789936304,
0.06791473180055618,
0.05770064517855644,
-0.002631919924169779,
0.003940040245652199,
-0.024800525978207588,
0.07002922892570496,
-0.010518720373511314,
-0.009981135837733746,
-0.016324622556567192,
0.0364660918712616,
0.011226538568735123,
-0.0014369162963703275,
-0.04927850142121315,
-0.03153824061155319,
-0.027183812111616135,
-0.011764122173190117,
-0.00845350231975317,
0.03055267035961151,
-0.008247428573668003,
0.030964817851781845,
-0.034960854798555374,
-0.023062339052557945,
-0.05483353137969971,
0.04816749319434166,
-0.008865649811923504,
0.013063282705843449,
-0.0352475680410862,
0.013842779211699963,
0.02469300851225853,
-0.03112609311938286,
-0.004887531045824289,
0.04236159101128578,
-0.06318400055170059,
-0.027882670983672142,
-0.05142883583903313,
0.04723568260669708,
-0.013771100901067257,
-0.03587474673986435,
-0.04874091595411301,
0.022488916292786598,
0.023653680458664894,
0.01689804531633854,
0.06802225112915039,
0.006513721775263548,
0.017802977934479713,
0.0025580022484064102,
0.02820522151887417,
-0.010706874541938305,
-0.009837781079113483,
0.03565971553325653,
0.04279165714979172,
0.04831084981560707,
0.0535074919462204,
0.040067899972200394,
0.08450815081596375,
0.010984625667333603,
0.01958596333861351,
0.0364660918712616,
0.024245021864771843,
-0.012409222312271595,
0.02858152985572815,
-0.07307553291320801,
0.0547260157763958,
-0.0005233041010797024,
-0.03143072500824928,
0.03252381086349487,
-0.03320474922657013,
0.004233471117913723,
0.04687729477882385,
-0.021592942997813225,
0.06314815580844879,
0.002517683431506157,
0.07246627658605576,
0.011360934004187584,
-0.08429311215877533,
0.014371402561664581,
-0.03712911158800125,
-0.00406995601952076,
-0.08113928884267807,
0.05791567638516426,
0.025768175721168518,
-0.04881259426474571,
0.05099876970052719,
0.047629911452531815,
0.015473449602723122,
0.026126565411686897,
0.07562009990215302,
0.0949731096625328,
-0.03064226731657982,
-0.030713945627212524,
0.005805903114378452,
-0.04200320318341255,
0.035731393843889236,
-0.016862206161022186,
0.004824812989681959,
-0.030731864273548126,
-0.04196736216545105,
0.03612561896443367,
-0.019406769424676895,
0.01739083044230938,
0.028617369011044502,
-0.010052814148366451,
0.07318305224180222,
0.009694425389170647,
0.021628782153129578,
0.02273978851735592,
0.04114306718111038,
0.023402808234095573,
-0.00343829533085227,
0.005012967623770237,
-0.04802414029836655,
-0.015437610447406769,
0.020643211901187897,
-0.0012364423600956798,
0.02213052660226822,
-0.01217626966536045,
-0.012436101213097572,
0.027918510138988495,
0.014281805604696274,
-0.02687918208539486,
-0.018797507509589195,
-0.007521691266447306,
-0.08529660105705261,
-0.03125152736902237,
-0.0016071511199697852,
0.008928367868065834,
-0.05368668586015701,
0.007140902802348137,
-0.002723757177591324,
0.008583419024944305,
0.00048382527893409133,
-0.024173343554139137,
0.012722812592983246,
0.028384415432810783,
0.0030754264444112778,
0.05142883583903313,
0.06888238340616226,
0.03748749941587448,
-0.006607798859477043,
0.01211355160921812,
-0.00331285921856761,
-0.06472507119178772,
-0.03067810647189617,
0.0237253587692976,
-0.031054414808750153,
-0.03687823936343193,
-0.021825896576046944,
-0.05515608191490173,
0.023546162992715836,
-0.033867768943309784,
0.04608883708715439,
-0.050927091389894485,
-0.031824950128793716,
-0.008422143757343292,
-0.004309629090130329,
-0.03806092217564583,
-0.022918982431292534,
-0.02567857876420021,
-0.03333018720149994,
0.026198241859674454,
0.0009435712709091604,
-0.04590964317321777,
-0.10249928385019302,
-0.024370457977056503,
0.016199186444282532,
-0.060030173510313034,
-0.023653680458664894,
0.03506837412714958,
-0.025606900453567505,
0.0425407849252224,
0.02033858187496662,
-0.058094874024391174,
-0.01654861681163311,
-0.03592850640416145,
-0.04182400554418564,
0.02931622788310051,
-0.010581438429653645,
0.010912948288023472,
-0.03076770342886448,
-0.007736724801361561,
0.04368763044476509,
0.06465338915586472,
-0.006979627534747124,
0.022596431896090508,
0.011952276341617107,
0.016745731234550476,
-0.013905497267842293,
0.04831084981560707,
-0.041537296026945114,
0.05795151740312576,
0.006061255466192961,
0.015527207404375076,
0.027649719268083572,
0.0364660918712616,
-0.0194784477353096,
0.02042817883193493,
-0.05461849644780159,
0.02458549104630947,
0.01411157101392746,
-0.011898517608642578,
-0.025624820962548256,
-0.02324153296649456,
0.03453078866004944,
-0.04182400554418564,
-0.03017636202275753,
0.0014324364019557834,
0.03442327305674553,
-0.04856172204017639,
-0.022094687446951866,
-0.012301705777645111,
-0.09425633400678635,
0.013242476619780064,
0.014837308786809444,
-0.02739884704351425,
0.05157219246029854,
0.06189379841089249,
0.011351974681019783,
-0.07318305224180222,
-0.012803450226783752,
0.009577948600053787,
0.0498877614736557,
-0.07339808344841003,
-0.042648300528526306,
-0.00687659066170454,
-0.03223709762096405,
-0.034011125564575195,
-0.028563611209392548,
0.001358518609777093,
0.0012162829516455531,
0.03212958201766014,
-0.018421199172735214,
-0.019281333312392235,
0.03870602324604988,
0.013941335491836071,
-0.010160330682992935,
-0.0037294866051524878,
0.018905024975538254,
-0.05046118423342705,
0.03479957953095436,
0.0051160044968128204,
0.03806092217564583,
-0.010527679696679115,
0.022578513249754906,
-0.01180892065167427,
-0.040067899972200394,
0.03963783383369446,
0.05289823189377785,
0.022309720516204834,
0.017570026218891144,
-0.0026767186354845762,
0.024872202426195145,
-0.006361406296491623,
0.028689047321677208,
0.02116287685930729,
-0.0013663583667948842,
-0.013412712141871452,
0.0328105203807354,
-0.02872488647699356,
-0.043150048702955246,
-0.0035189329646527767,
-0.0052011217921972275,
-0.06060359627008438,
-0.04791662096977234,
0.018224084749817848,
-0.0013775581028312445,
0.0170234814286232,
0.004977128468453884,
-0.05970762297511101,
0.04451192542910576,
0.05196641758084297,
-0.0006714195478707552,
0.036215219646692276,
0.06375741958618164,
0.03465622663497925,
0.013654624111950397,
0.030606428161263466,
-0.03514005243778229,
-0.004699376877397299,
-0.028491932898759842,
-0.008897009305655956,
0.017453549429774284,
0.06999339163303375,
-0.03250589221715927,
0.003823563689365983,
-0.04687729477882385,
0.03549844026565552,
-0.028294818475842476,
0.07278882712125778,
-0.007010986562818289,
0.027345087379217148,
0.044726960361003876,
0.020410258322954178,
-0.020535694435238838,
-0.0008780533098615706,
-0.041537296026945114,
0.004676977638155222,
0.05218145251274109,
0.013905497267842293,
-0.028384415432810783,
0.0021693739108741283,
0.01520465686917305,
-0.05780816078186035,
-0.00047542553511448205,
-0.021969251334667206,
-0.0023452085442841053,
-0.020464017987251282,
-0.034602466970682144,
-0.06013768911361694,
-0.04207488149404526,
-0.016136469319462776,
-0.0019196216017007828,
-0.06981419771909714,
-0.06296896189451218,
0.02506931684911251,
0.060890305787324905,
0.0049950480461120605,
-0.004491063300520182,
0.027810994535684586,
0.03358105942606926,
0.006070215255022049,
0.048346687108278275,
-0.05017447471618652,
0.07260963320732117,
-0.0620371513068676,
0.018689991906285286,
-0.025248510763049126,
-0.00894628744572401,
0.04906346648931503,
0.016889085993170738,
-0.058094874024391174,
0.010554558597505093,
0.0005020247190259397,
0.032398372888565063,
0.0608544684946537,
0.019532205536961555,
-0.0007430973928421736,
0.01112798135727644,
-0.01608271151781082,
-0.06866735219955444,
-0.01628878340125084,
0.005922379903495312,
0.05365084856748581,
-0.01033056527376175,
0.003397976513952017,
-0.03635857254266739,
-0.04608883708715439,
-0.015787038952112198,
0.02727341093122959,
-0.021216634660959244,
0.05680467188358307,
0.04784494265913963,
-0.02566065825521946,
0.0656210407614708,
-0.024298779666423798,
0.025158913806080818,
-0.049350179731845856,
0.0127676110714674,
0.05798735469579697,
-0.012570497579872608,
0.0645458772778511,
-0.005662547890096903,
0.022112607955932617,
-0.01119965873658657,
0.01935301162302494,
-0.002513203537091613,
-0.0036533288657665253,
0.034369513392448425,
-0.045694608241319656,
-0.03333018720149994,
0.03781004995107651,
0.03734414279460907,
-0.07096104323863983,
-0.02775723487138748,
0.035086292773485184,
-0.022166365757584572,
0.005084645468741655,
-0.046518903225660324,
0.046268031001091,
-0.04490615427494049,
0.026001129299402237,
-0.02919079177081585,
-0.025947369635105133,
-0.08594170212745667,
-0.01654861681163311,
-0.03781004995107651,
0.04633970931172371,
0.019155897200107574,
-0.006397245451807976,
0.03309723362326622,
-0.0056759873405098915,
0.0013237997191026807,
0.014729791320860386,
-0.0124809006229043,
-0.026556631550192833,
0.03128736838698387,
0.06977835297584534,
0.018439119681715965,
0.03616145998239517,
-0.005183202214539051,
-0.02261435240507126,
-0.0231160968542099,
-0.013493349775671959,
-0.0032971797045320272,
0.01107422262430191,
0.08192774653434753,
-0.07820049673318863,
0.021736297756433487,
0.04684145376086235,
-0.05390172079205513,
-0.03379609063267708,
-0.014478919096291065,
-0.057593125849962234,
0.005348957143723965,
-0.05490520969033241,
0.04297085106372833,
-0.020392339676618576,
0.036914076656103134,
-0.03017636202275753,
0.02519475296139717,
-0.04587380588054657,
-0.026610389351844788,
-0.006352446507662535,
0.03381400927901268,
-0.024370457977056503,
-0.014245966449379921,
-0.007781523279845715,
-0.013520228676497936,
0.04730736091732979,
-0.019048379734158516,
0.031233608722686768,
0.03454870730638504,
-0.0055774301290512085,
0.07741204649209976,
0.026323679834604263,
-0.0225068349391222,
-0.0450136698782444,
-0.00009197719919029623,
0.014478919096291065,
0.06468923389911652,
0.019263414666056633,
-0.020589454099535942,
0.0718570128083229,
0.03712911158800125,
0.013851738534867764,
-0.0003634289314504713,
-0.10364612936973572,
-0.03270300477743149,
0.03089313954114914,
-0.010545599274337292,
0.011853719130158424,
-0.05332829803228378,
-0.021109117195010185,
0.014434120617806911,
0.04128642380237579,
-0.07461661100387573,
-0.014335563406348228,
-0.06350655108690262,
0.04805997759103775,
0.021127037703990936,
-0.048490043729543686,
0.0225068349391222,
0.003993798512965441,
-0.06261057406663895,
0.0062897284515202045,
0.032398372888565063,
0.00550127262249589,
-0.040462128818035126,
0.00900452584028244,
-0.014147409237921238,
-0.02128831297159195,
0.013941335491836071,
-0.02809770591557026,
-0.014613315463066101,
-0.048848435282707214,
-0.015536167658865452,
-0.03322266787290573,
-0.01956804469227791,
0.01119069941341877,
-0.017704421654343605,
0.009452512487769127,
0.0034203759860247374,
-0.004941289778798819,
-0.04150145873427391,
0.005214561242610216,
0.03209374472498894,
0.00006033816316630691,
-0.010088653303682804,
0.021557103842496872,
0.023151936009526253,
0.021342070773243904,
-0.028402335941791534,
-0.008216070011258125,
-0.004694897215813398,
0.008852210827171803,
-0.02164670079946518,
-0.01969348080456257,
0.008677495643496513,
-0.01814344711601734,
0.015150899067521095,
-0.03791756555438042,
0.02431670017540455,
-0.08020748198032379,
-0.020248983055353165,
0.01739978976547718,
0.010276807472109795,
-0.05909836292266846,
-0.002645359607413411,
0.01935301162302494,
-0.022453077137470245,
-0.005877580959349871,
-0.02664622850716114,
-0.045443736016750336,
-0.012606336735188961,
-0.07734036445617676,
0.040569644421339035,
-0.02967461757361889,
-0.030839381739497185,
0.10916531831026077,
-0.008404224179685116,
0.018546635285019875,
0.029423745349049568,
0.0076829660683870316,
0.024029988795518875,
-0.035695552825927734,
0.041788168251514435,
0.0016754689859226346,
0.03006884455680847,
-0.02591153234243393,
0.04590964317321777,
0.017677541822195053,
-0.005236960481852293,
-0.024047907441854477,
0.022184284403920174,
-0.020105628296732903,
0.010178250260651112,
-0.04171648994088173,
0.005774544086307287,
0.02492596209049225,
-0.051894739270210266,
-0.03734414279460907,
-0.010814391076564789,
-0.0118716387078166,
0.020105628296732903,
-0.043006692081689835,
0.04877675697207451,
0.021073278039693832,
-0.030445152893662453,
-0.029423745349049568,
-0.013968215323984623,
0.05318494141101837,
-0.05339997634291649,
0.03824011608958244,
0.032685086131095886,
0.0017101879930123687,
0.00032954997732304037,
-0.08020748198032379,
-0.010545599274337292,
0.0218796543776989,
0.03250589221715927,
0.0009704504627734423,
-0.009846740402281284,
0.012185228988528252,
0.05877581238746643,
-0.06630197912454605,
-0.020732808858156204,
0.010850230231881142,
-0.005178722552955151,
-0.02881448343396187,
-0.01981891691684723,
-0.04644722491502762,
0.03427991643548012,
0.006822832394391298,
-0.02033858187496662,
-0.058202389627695084,
-0.045192863792181015,
-0.03519380837678909,
0.027828913182020187,
0.012283786199986935,
0.05289823189377785,
0.039351124316453934,
0.004168513230979443,
-0.015437610447406769,
0.01198811549693346,
-0.025714417919516563,
0.008829811587929726,
0.02078656665980816,
-0.016199186444282532,
0.065728560090065,
0.028904080390930176,
-0.014577476307749748,
0.03519380837678909,
-0.031000657007098198,
-0.03325850889086723,
-0.007915918715298176,
-0.02141374908387661,
0.02143166773021221,
0.014971704222261906,
-0.0118626793846488,
-0.06877486407756805,
0.02700461819767952,
0.009318116120994091,
-0.05827406793832779,
0.049565210938453674,
-0.04490615427494049,
-0.008870130404829979,
0.05318494141101837,
0.0015925915213301778,
0.012373383156955242,
-0.027649719268083572,
0.017480427399277687,
-0.006195651367306709,
0.0182420052587986,
0.07483164221048355,
0.018636232241988182,
-0.0002867112634703517,
0.06769970059394836,
-0.005631188862025738,
0.020894084125757217,
-0.041322261095047,
0.06924077123403549,
0.018761668354272842,
-0.06121285632252693,
0.010079693049192429,
0.026950860396027565,
-0.023259451612830162,
-0.03494293615221977,
-0.027918510138988495,
-0.00687659066170454,
0.04547957703471184,
-0.057127222418785095,
0.025338109582662582,
0.007100583985447884,
-0.02277562767267227,
0.02566065825521946
] |
730,081 | mmengine.fileio.file_client | get_text | Read data from a given ``filepath`` with 'r' mode.
Args:
filepath (str or Path): Path to read data.
encoding (str): The encoding format used to open the ``filepath``.
Defaults to 'utf-8'.
Returns:
str: Expected text reading from ``filepath``.
| def get_text(self, filepath: Union[str, Path], encoding='utf-8') -> str:
"""Read data from a given ``filepath`` with 'r' mode.
Args:
filepath (str or Path): Path to read data.
encoding (str): The encoding format used to open the ``filepath``.
Defaults to 'utf-8'.
Returns:
str: Expected text reading from ``filepath``.
"""
return self.client.get_text(filepath, encoding)
| (self, filepath: Union[str, pathlib.Path], encoding='utf-8') -> str | [
-0.0068387133069336414,
-0.08107457309961319,
0.0027550244703888893,
0.06683268398046494,
0.04553931578993797,
-0.0008798058843240142,
-0.011567194946110249,
-0.03477105870842934,
0.11796454340219498,
-0.02916114218533039,
0.029456401243805885,
0.0016510607674717903,
-0.04602562636137009,
-0.027580639347434044,
0.017411580309271812,
0.009074863977730274,
-0.04039834067225456,
-0.030029550194740295,
0.03485789895057678,
-0.004520063754171133,
-0.026208553463220596,
-0.030585329979658127,
0.011506406590342522,
0.024558579549193382,
-0.022040195763111115,
0.017012113705277443,
-0.04727613180875778,
-0.07655885070562363,
-0.019573917612433434,
0.01601344347000122,
0.00974353775382042,
-0.05172238126397133,
-0.051236074417829514,
0.01192324236035347,
-0.06322010606527328,
0.05474444106221199,
-0.01048168446868658,
-0.04678982496261597,
-0.018896559253335,
-0.014372153207659721,
-0.08955023437738419,
0.0743357241153717,
0.0705147311091423,
-0.01647370122373104,
-0.04859611392021179,
-0.06124013289809227,
-0.04866558685898781,
-0.02271755412220955,
-0.03855731710791588,
0.01505819521844387,
0.06652005761861801,
0.044914063066244125,
-0.07905986905097961,
-0.007168708369135857,
-0.053667616099119186,
-0.035187892615795135,
-0.030376913025975227,
0.026781704276800156,
-0.009370123036205769,
0.007190418429672718,
-0.01601344347000122,
-0.058252811431884766,
0.025235937908291817,
0.0022687159944325686,
0.015501082874834538,
0.029994813725352287,
0.0458519421517849,
-0.03345107659697533,
0.0656169131398201,
-0.045678261667490005,
0.043038301169872284,
0.022769657894968987,
-0.012852438725531101,
-0.06533902138471603,
0.011636667884886265,
-0.011758244596421719,
-0.017307372763752937,
0.007906855084002018,
0.014875829219818115,
0.019903911277651787,
-0.009882483631372452,
0.007889486849308014,
0.047970861196517944,
-0.0018692482262849808,
0.024680156260728836,
-0.06474850326776505,
0.042030949145555496,
-0.01566608063876629,
-0.014354784972965717,
0.02405490167438984,
0.04043307900428772,
-0.04863084852695465,
-0.032547932118177414,
0.03949519619345665,
0.008136983029544353,
-0.02785852923989296,
0.035031579434871674,
-0.0028809437062591314,
-0.02572224661707878,
-0.0004757247806992382,
-0.057523347437381744,
0.03973834961652756,
0.06457482278347015,
-0.0045591420494019985,
0.02249176800251007,
-0.04960346594452858,
-0.021519150584936142,
0.003920862451195717,
0.07482203841209412,
0.00963932927697897,
-0.031054271385073662,
-0.03207899257540703,
0.006691083777695894,
0.03227004408836365,
0.03320792317390442,
-0.02459331601858139,
-0.06388009339570999,
-0.005258210469037294,
-0.008909866213798523,
-0.03360738977789879,
0.052556052803993225,
-0.004776244051754475,
-0.05147922784090042,
-0.03494473919272423,
0.020737582817673683,
0.04804033041000366,
-0.0036017221864312887,
-0.012574547901749611,
0.028119051828980446,
0.026017503812909126,
0.013703478500247002,
0.006638979539275169,
0.07509992271661758,
-0.006821345072239637,
0.02273492142558098,
0.05338972434401512,
0.01517108827829361,
0.04887400567531586,
0.059399109333753586,
0.0649569183588028,
0.01926128938794136,
-0.04790138825774193,
0.02782379277050495,
-0.05022871866822243,
0.013555848971009254,
0.009587224572896957,
0.06106645241379738,
-0.09351017326116562,
-0.032513197511434555,
0.009370123036205769,
0.05036766454577446,
0.0064956918358802795,
-0.0308979582041502,
-0.04039834067225456,
0.032304778695106506,
-0.00280930008739233,
0.007146997842937708,
0.042656201869249344,
-0.07176523655653,
0.025982767343521118,
-0.02763274312019348,
0.0324784591794014,
0.03682050108909607,
-0.012644020840525627,
0.03032480925321579,
0.02520120143890381,
-0.053285516798496246,
-0.03378107398748398,
0.0013438614550977945,
-0.041093066334724426,
-0.03661208227276802,
-0.0071339718997478485,
-0.08024090528488159,
0.02078968845307827,
0.046060360968112946,
-0.013069541193544865,
0.026225922629237175,
0.07037578523159027,
0.04043307900428772,
0.02917850948870182,
-0.03350318223237991,
-0.08968918025493622,
-0.029265349730849266,
0.02879641018807888,
0.05575179681181908,
-0.003260872093960643,
0.011124307289719582,
-0.009569856338202953,
0.023499121889472008,
0.017455002292990685,
0.0026269343215972185,
-0.03796679899096489,
-0.01362532190978527,
0.0460950993001461,
-0.028275365009903908,
-0.08482609689235687,
0.06766635179519653,
-0.035569991916418076,
-0.08017142862081528,
-0.0035235655959695578,
0.04956873133778572,
-0.007281601428985596,
0.03834889829158783,
0.03053322620689869,
-0.018358144909143448,
0.025288041681051254,
0.006230827420949936,
0.012244553305208683,
-0.02078968845307827,
0.05321604385972023,
-0.02459331601858139,
-0.030741645023226738,
-0.014641359448432922,
-0.004715455695986748,
0.029994813725352287,
0.017107637599110603,
-0.07683674246072769,
0.021484414115548134,
0.0031479790341109037,
0.04324671998620033,
0.04981188476085663,
0.03185320645570755,
-0.04251725599169731,
0.036542609333992004,
0.028865883126854897,
0.009517751634120941,
-0.005740176886320114,
0.030429016798734665,
-0.034250013530254364,
-0.02745906263589859,
0.006282932125031948,
-0.014432941563427448,
0.05241710692644119,
-0.0012461654841899872,
0.04296882823109627,
0.013668742030858994,
-0.02631276287138462,
-0.014354784972965717,
0.03761943429708481,
0.0021145734935998917,
0.007698437198996544,
-0.026364868506789207,
-0.0023881220258772373,
0.04887400567531586,
-0.04331619292497635,
-0.034006860107183456,
-0.02153651975095272,
0.046616144478321075,
0.04105833172798157,
-0.056168630719184875,
0.06575585901737213,
-0.01009958516806364,
0.006825686898082495,
0.012470339424908161,
-0.02671223133802414,
0.02499278262257576,
0.0015631344867870212,
-0.06356746703386307,
-0.016369491815567017,
0.0392867773771286,
0.013799003325402737,
0.0024098323192447424,
-0.027771688997745514,
0.007980669848620892,
-0.004602562636137009,
-0.050853975117206573,
-0.06322010606527328,
0.058287546038627625,
0.02671223133802414,
-0.03866152465343475,
-0.0026030531153082848,
0.08371453732252121,
-0.005488338880240917,
-0.05470970645546913,
-0.048735059797763824,
-0.03187057375907898,
0.015926603227853775,
0.04744981601834297,
0.01288717519491911,
-0.0020255616400390863,
-0.10684892535209656,
0.05620336905121803,
0.03199215233325958,
-0.044184599071741104,
0.022943340241909027,
-0.01981707103550434,
0.007090551778674126,
-0.03032480925321579,
-0.03598682954907417,
0.017437633126974106,
0.0165084358304739,
-0.025027519091963768,
0.01736816018819809,
-0.03345107659697533,
0.057488612830638885,
-0.003536591771990061,
-0.03280845656991005,
-0.0311063751578331,
0.02058126963675022,
-0.04137095808982849,
0.0354657843708992,
0.02362069860100746,
-0.008258560672402382,
-0.02787589840590954,
-0.04769296944141388,
-0.017741575837135315,
0.0014100775588303804,
-0.0331384502351284,
0.015136351808905602,
0.004628614988178015,
-0.013451640494167805,
-0.05398024246096611,
0.03312108293175697,
0.06318537145853043,
-0.03454527258872986,
0.01142824999988079,
-0.007442256901413202,
0.0004749106301460415,
0.02480173297226429,
-0.04428881034255028,
0.023898588493466377,
-0.015457662753760815,
0.0458519421517849,
-0.01420715544372797,
0.01662132889032364,
-0.025062255561351776,
0.005136633291840553,
0.014033474028110504,
0.003690734039992094,
0.05095818266272545,
0.06325484067201614,
0.0208070557564497,
0.0006138558965176344,
-0.051201336085796356,
-0.03497947379946709,
-0.034423694014549255,
0.020494429394602776,
-0.06537375599145889,
-0.006612927187234163,
0.05377182364463806,
0.07013263553380966,
-0.0613790787756443,
-0.0157616063952446,
0.003462777007371187,
0.017593946307897568,
0.06641584634780884,
0.04731087014079094,
-0.02309965342283249,
0.015692133456468582,
-0.047206658869981766,
0.03935625031590462,
-0.009352754801511765,
-0.022561240941286087,
-0.022457031533122063,
-0.06103171780705452,
0.026017503812909126,
-0.031210584565997124,
0.01448504626750946,
0.005705440882593393,
0.020459692925214767,
-0.0760030671954155,
-0.015205824747681618,
-0.02841431088745594,
0.03477105870842934,
-0.021275997161865234,
-0.013790319673717022,
0.000013823291737935506,
0.08718816936016083,
-0.02897009253501892,
0.06127487123012543,
-0.0029699555598199368,
0.003486658213660121,
-0.003962111659348011,
0.0416141115128994,
0.0023012813180685043,
-0.0002430185559205711,
-0.03789732605218887,
-0.07197365909814835,
-0.031783733516931534,
0.06992421299219131,
0.00955248810350895,
0.05359814316034317,
-0.04533090069890022,
0.01305217295885086,
-0.00011486052972031757,
0.014467678032815456,
-0.03412843495607376,
-0.010750891640782356,
-0.011185095645487309,
-0.03706365451216698,
0.03758469969034195,
0.006786608602851629,
0.040328867733478546,
-0.009500383399426937,
-0.03619524836540222,
-0.00010800825111800805,
0.043802499771118164,
0.022213878110051155,
0.05915595591068268,
0.010829048231244087,
-0.022040195763111115,
0.007294627372175455,
-0.06127487123012543,
0.0018062887247651815,
-0.003936059307307005,
0.09913746267557144,
-0.016256598755717278,
0.0015056023839861155,
-0.04470564424991608,
-0.003936059307307005,
-0.027754319831728935,
0.015787657350301743,
0.030429016798734665,
-0.01905287243425846,
-0.0009064009063877165,
0.016421595588326454,
-0.04196147620677948,
-0.006803976837545633,
0.010611945763230324,
0.015197140164673328,
-0.06419271975755692,
0.00012191634596092626,
-0.02959534525871277,
0.00897933915257454,
0.02938692830502987,
-0.0023143074940890074,
0.029612714424729347,
-0.024541210383176804,
0.06349799782037735,
0.026781704276800156,
0.03817521780729294,
-0.08232507854700089,
-0.07739252597093582,
-0.019556548446416855,
-0.017029481008648872,
0.02839694172143936,
-0.04602562636137009,
-0.0196433886885643,
0.004005532246083021,
-0.04571299999952316,
0.012479023076593876,
0.03706365451216698,
0.011306672357022762,
-0.0002911880728788674,
0.028570624068379402,
-0.030255336314439774,
-0.021866513416171074,
-0.018740246072411537,
0.03345107659697533,
-0.06488744914531708,
-0.015987392514944077,
0.014181103557348251,
0.041127804666757584,
0.0002210369857493788,
-0.030741645023226738,
0.013920580968260765,
0.01123720034956932,
0.01574423722922802,
-0.029230615124106407,
0.013330062851309776,
-0.06110118702054024,
0.05304236337542534,
0.00762462243437767,
-0.11289304494857788,
0.062108542770147324,
-0.04025939479470253,
-0.03966888040304184,
0.0526602640748024,
-0.0603022538125515,
-0.013521113432943821,
-0.00634806277230382,
-0.016786327585577965,
-0.061552759259939194,
-0.010264582931995392,
0.027771688997745514,
0.014667411334812641,
-0.016082916408777237,
0.020685479044914246,
-0.02765011228621006,
0.008193429559469223,
0.014745567925274372,
-0.05015924945473671,
-0.02648644521832466,
0.00028223262052051723,
-0.0008532108622603118,
0.009465647861361504,
0.029525872319936752,
0.0023902931716293097,
0.0010046395473182201,
-0.03341634199023247,
0.02879641018807888,
0.05835701897740364,
0.002761537441983819,
-0.02843167819082737,
0.0017118493560701609,
0.021067578345537186,
-0.02916114218533039,
0.02725064381957054,
-0.004396315664052963,
0.04213515669107437,
-0.028900619596242905,
-0.03525736555457115,
0.01706421747803688,
0.09872062504291534,
0.0051887379959225655,
0.02976902760565281,
0.015379506163299084,
0.032686877995729446,
0.05036766454577446,
-0.014337416738271713,
0.01795867830514908,
0.05377182364463806,
0.01563134416937828,
-0.00288311461918056,
-0.013998737558722496,
-0.02897009253501892,
-0.02325596660375595,
0.044184599071741104,
-0.008775263093411922,
0.01574423722922802,
-0.043385665863752365,
0.005245184525847435,
-0.05401498079299927,
-0.005740176886320114,
0.038626790046691895,
-0.0076854112558066845,
-0.062455903738737106,
-0.013764266856014729,
-0.06429693102836609,
0.03185320645570755,
-0.008944602683186531,
0.000516702770255506,
0.009318018332123756,
0.033068977296352386,
-0.015674764290452003,
-0.037688907235860825,
-0.028153788298368454,
0.011697456240653992,
-0.013799003325402737,
0.06547796726226807,
0.008961970917880535,
-0.007537781726568937,
-0.049117159098386765,
0.009752222336828709,
0.013946632854640484,
-0.01981707103550434,
0.020355483517050743,
-0.0162392295897007,
0.042829882353544235,
0.04546984285116196,
0.014389521442353725,
-0.025479091331362724,
-0.005861754063516855,
-0.013277959078550339,
0.05762755498290062,
0.046650879085063934,
-0.04553931578993797,
0.01792394183576107,
-0.01183640118688345,
-0.06808318942785263,
0.05571705847978592,
-0.013555848971009254,
-0.05165290832519531,
0.020320747047662735,
0.00790251325815916,
0.036507874727249146,
0.003545275889337063,
0.06193486228585243,
-0.02692064829170704,
-0.056724414229393005,
0.016916587948799133,
0.04526142776012421,
0.04592141509056091,
-0.023950694128870964,
-0.011740876361727715,
0.013581901788711548,
0.05220869183540344,
-0.002342530759051442,
0.007563834078609943,
0.05186132714152336,
0.022265981882810593,
-0.07169576734304428,
-0.012157712131738663,
0.03834889829158783,
0.03256529942154884,
0.03866152465343475,
0.005232158582657576,
0.011575878597795963,
-0.006608584895730019,
-0.012157712131738663,
0.028535887598991394,
-0.01708158664405346,
0.047797176986932755,
0.003245675005018711,
0.05012451112270355,
0.02765011228621006,
0.027997475117444992,
0.032721616327762604,
0.03664682060480118,
-0.014571886509656906,
0.0039013230707496405,
-0.005666362587362528,
0.008653686381876469,
0.030845852568745613,
-0.03664682060480118,
0.08559029549360275,
0.02039021998643875,
-0.02898745983839035,
0.016960008069872856,
0.037654172629117966,
-0.011662719771265984,
-0.06770108640193939,
-0.0111503591760993,
-0.046616144478321075,
0.04025939479470253,
0.0439414456486702,
0.006599901244044304,
-0.05734966695308685,
0.009813010692596436,
-0.008892497979104519,
0.07405783981084824,
0.008458293974399567,
0.023134389892220497,
0.05422339588403702,
-0.015891866758465767,
0.05172238126397133,
-0.005345051642507315,
-0.061135925352573395,
-0.03454527258872986,
0.018410250544548035,
0.008423557505011559,
-0.029821131378412247,
-0.0043767765164375305,
0.03702891990542412,
0.03506631776690483,
-0.012617968954145908,
-0.01192324236035347,
-0.004324671812355518,
0.0009753307676874101,
-0.022804394364356995,
-0.0373762808740139,
-0.014580571092665195,
-0.06276853382587433,
-0.022074932232499123,
-0.01832341030240059,
-0.004949925933033228,
-0.04633825272321701,
-0.014667411334812641,
0.06276853382587433,
-0.007963301613926888,
-0.018219200894236565,
0.06335905194282532,
0.009578540921211243,
-0.0036516557447612286,
-0.02077231928706169,
-0.013885844498872757,
0.09531646221876144,
-0.03921730816364288,
0.024662787094712257,
0.04276041314005852,
0.012522444128990173,
0.016404228284955025,
-0.01335611566901207,
-0.0373762808740139,
-0.01002142857760191,
-0.04936031252145767,
-0.016630014404654503,
0.00025414503761567175,
0.08475662022829056,
-0.0012309683952480555,
0.03491000458598137,
0.07683674246072769,
0.027545902878046036,
-0.04230884090065956,
0.017203163355588913,
0.026608021929860115,
0.04043307900428772,
-0.04595615342259407,
0.03197478502988815,
0.009196440689265728,
0.025531195104122162,
0.01962602138519287,
-0.03202688694000244,
-0.03320792317390442,
-0.02191861905157566,
-0.010802995413541794,
-0.013382167555391788,
0.026990121230483055,
0.0503329299390316,
0.013408220373094082,
-0.051236074417829514,
-0.02309965342283249,
-0.03496210649609566,
0.015544503927230835,
0.046824559569358826,
0.012296658009290695,
0.02327333576977253,
-0.03643840178847313,
0.015518451109528542,
0.009074863977730274,
0.01927865855395794,
-0.04595615342259407,
0.03277371823787689,
-0.040363606065511703,
-0.005492680706083775,
-0.037654172629117966,
-0.03911309689283371,
-0.03162742033600807,
-0.041475165635347366,
-0.020129697397351265,
-0.020529165863990784,
-0.015926603227853775,
0.016595277935266495,
-0.0465119332075119,
0.06971579790115356,
0.003032915061339736,
-0.05668967589735985,
0.03622998297214508,
-0.0034801452420651913,
-0.01662132889032364,
-0.026399604976177216,
0.017976045608520508,
0.03159268572926521,
0.027163803577423096,
-0.01847972348332405,
0.056550730019807816,
0.0038882968947291374,
-0.005401497706770897,
-0.03332950174808502,
0.027163803577423096,
0.017298687249422073,
-0.008419215679168701,
0.02881377749145031,
-0.04081517830491066,
-0.054258134216070175,
-0.006161354947835207,
-0.015344769693911076,
-0.042413048446178436,
0.05012451112270355,
0.010655366815626621,
-0.06276853382587433,
0.010281951166689396,
-0.07190418243408203,
-0.047762442380189896,
0.04533090069890022,
-0.03388528153300285,
0.022578608244657516,
0.01689053699374199,
0.0064001670107245445,
0.0014860632363706827,
-0.02323859930038452,
-0.0068560815416276455,
-0.033312130719423294,
0.026451708748936653,
-0.035552624613046646,
0.05015924945473671,
0.02285649999976158,
0.0023642408195883036,
-0.037688907235860825,
0.03523999825119972,
-0.0038470474537461996,
0.032600037753582,
-0.015049511566758156,
0.036889974027872086,
-0.03372896835207939,
0.005744519177824259,
-0.024350160732865334,
0.03897415101528168
] |
730,082 | mmengine.fileio.file_client | isdir | Check whether a file path is a directory.
Args:
filepath (str or Path): Path to be checked whether it is a
directory.
Returns:
bool: Return ``True`` if ``filepath`` points to a directory,
``False`` otherwise.
| def isdir(self, filepath: Union[str, Path]) -> bool:
"""Check whether a file path is a directory.
Args:
filepath (str or Path): Path to be checked whether it is a
directory.
Returns:
bool: Return ``True`` if ``filepath`` points to a directory,
``False`` otherwise.
"""
return self.client.isdir(filepath)
| (self, filepath: Union[str, pathlib.Path]) -> bool | [
0.0018696582410484552,
0.021671827882528305,
-0.010493239387869835,
-0.019523167982697487,
0.053308989852666855,
0.008844698779284954,
0.04093567281961441,
-0.003906022757291794,
-0.06683073192834854,
0.006936836987733841,
0.012604853138327599,
0.011030404828488827,
-0.004281111992895603,
-0.017920933663845062,
-0.03893519937992096,
-0.057643357664346695,
0.006645101122558117,
-0.0036166019272059202,
0.016485407948493958,
-0.03710142895579338,
-0.02154216729104519,
0.04901167005300522,
0.05141965299844742,
0.001074329949915409,
-0.02009737864136696,
0.04189886525273323,
0.008798391558229923,
-0.0001600496907485649,
-0.033767301589250565,
0.031989097595214844,
-0.012262179516255856,
0.015049880370497704,
0.006140351295471191,
-0.00004818855813937262,
-0.01153978519141674,
0.03975020721554756,
-0.013521738350391388,
0.030303511768579483,
-0.0657564029097557,
-0.022542405873537064,
-0.08668731153011322,
0.0728692039847374,
-0.013521738350391388,
0.0665343627333641,
0.003512410447001457,
-0.007469371426850557,
-0.06316319108009338,
-0.029618164524435997,
-0.009835675358772278,
0.013030881062150002,
0.06523776054382324,
-0.022320130839943886,
-0.03437855839729309,
-0.02009737864136696,
0.025580165907740593,
-0.014521976932883263,
0.04975258931517601,
0.023598212748765945,
-0.009622662328183651,
0.013169802725315094,
-0.00843256339430809,
-0.03134079650044441,
-0.010141303762793541,
-0.06401524692773819,
-0.003697639796882868,
0.01186393667012453,
-0.04853007569909096,
-0.02741393633186817,
-0.005496679339557886,
0.011993597261607647,
-0.0960969552397728,
0.05938451364636421,
0.04756688326597214,
-0.011104496195912361,
0.0025098570622503757,
0.021375460550189018,
0.0008572643273510039,
0.058124952018260956,
-0.005473525729030371,
-0.0011866252170875669,
-0.09394829720258713,
-0.036582786589860916,
-0.014642375521361828,
0.010715514421463013,
0.03069249354302883,
0.03723108768463135,
0.013818105682730675,
0.009835675358772278,
-0.057976771146059036,
0.02443174459040165,
0.0007166058639995754,
-0.03602709621191025,
0.03513799607753754,
-0.012262179516255856,
-0.007260988466441631,
0.011113757267594337,
0.020282607525587082,
-0.019838057458400726,
-0.03676801547408104,
-0.021505121141672134,
-0.03554550185799599,
0.005542986560612917,
0.07912995666265488,
-0.02746950462460518,
-0.029692256823182106,
-0.038083143532276154,
-0.045862775295972824,
-0.0008138511911965907,
0.005649493541568518,
-0.023505598306655884,
-0.05656902492046356,
-0.047937341034412384,
0.01414225623011589,
0.05575401708483696,
0.012882697395980358,
-0.0012584015494212508,
0.011567569337785244,
-0.061496127396821976,
-0.033915482461452484,
-0.01799502596259117,
0.04104681313037872,
0.01790241152048111,
0.022153424099087715,
-0.025283798575401306,
0.07735175639390945,
-0.006520071066915989,
0.022894341498613358,
0.011410124599933624,
-0.09476330876350403,
0.07757402956485748,
-0.04749279096722603,
0.023357413709163666,
0.011715753003954887,
0.01597602665424347,
-0.003445264883339405,
0.08387182652950287,
0.022079331800341606,
0.002335046883672476,
0.017430076375603676,
0.07305443286895752,
0.056754257529973984,
-0.009043820202350616,
0.015003573149442673,
-0.025858009234070778,
0.054272182285785675,
0.05986610800027847,
-0.05004895478487015,
-0.000047682071453891695,
-0.005042867735028267,
0.035841867327690125,
-0.039046335965394974,
-0.0062051815912127495,
0.0536794513463974,
0.021912625059485435,
0.0011553677031770349,
0.007571247406303883,
-0.03486015275120735,
0.017309676855802536,
-0.0010170246241614223,
-0.008627054281532764,
-0.014170041307806969,
-0.008640946820378304,
0.016059380024671555,
-0.0018603967037051916,
0.029358843341469765,
0.023598212748765945,
-0.027543596923351288,
0.017457861453294754,
-0.020690111443400383,
0.037045858800411224,
-0.007501786574721336,
0.0022852665279060602,
0.0010911163408309221,
-0.0016496983589604497,
-0.0005140113062225282,
-0.01906009390950203,
0.04982668161392212,
0.08231589943170547,
0.008687254041433334,
0.012188087217509747,
0.03337831795215607,
-0.0014806766994297504,
0.010085735470056534,
0.053790587931871414,
0.015763012692332268,
0.013512477278709412,
-0.01611494831740856,
-0.02018999308347702,
0.02778439410030842,
0.03287820145487785,
-0.0793522298336029,
0.042825013399124146,
0.012512238696217537,
0.004295004066079855,
-0.014494192786514759,
0.007636077702045441,
0.08031542599201202,
-0.03774973005056381,
-0.07405467331409454,
0.018726682290434837,
0.0792781412601471,
-0.003973168320953846,
-0.025746872648596764,
-0.019597260281443596,
0.0013510162243619561,
0.011150803416967392,
-0.05423513799905777,
0.018439576029777527,
0.023690827190876007,
0.013808843679726124,
-0.027173137292265892,
-0.08624275773763657,
0.038564737886190414,
0.03341536596417427,
0.024339130148291588,
0.00032993967761285603,
-0.012929004617035389,
0.048270754516124725,
-0.01121563371270895,
0.023579688742756844,
0.08928052335977554,
0.06368183344602585,
0.01153052318841219,
-0.03989839181303978,
0.04319547116756439,
-0.013521738350391388,
-0.02780291810631752,
0.023987194523215294,
-0.03963907063007355,
-0.039861343801021576,
-0.020560450851917267,
-0.014383054338395596,
0.012428885325789452,
0.04093567281961441,
0.03098886087536812,
-0.024616973474621773,
0.012910481542348862,
0.00023023421817924827,
-0.00514937425032258,
0.0022794781252741814,
0.0013324932660907507,
-0.040898628532886505,
0.016957741230726242,
-0.01293826662003994,
-0.05238284543156624,
-0.03915747255086899,
0.024728110060095787,
0.001495726522989571,
-0.015086926519870758,
-0.0031118521001189947,
-0.026098808273673058,
-0.001986584160476923,
-0.04878939688205719,
-0.03534175083041191,
-0.02002328634262085,
0.019838057458400726,
-0.06353364884853363,
0.06197772175073624,
-0.022709110751748085,
0.006418195087462664,
0.0006720350356772542,
-0.007673123385757208,
-0.0028085391968488693,
0.02178296446800232,
0.015772273764014244,
-0.03860178589820862,
0.049159854650497437,
-0.014021857641637325,
0.08387182652950287,
-0.020171470940113068,
0.09350375086069107,
0.02170887403190136,
0.04012066498398781,
-0.007700907997786999,
0.015262894332408905,
0.0228387713432312,
0.004225543234497309,
-0.03491572290658951,
0.02002328634262085,
0.06434866040945053,
-0.036879152059555054,
0.012243656441569328,
-0.018522929400205612,
-0.03258183225989342,
-0.012697468511760235,
0.0023072625044733286,
-0.0037393164820969105,
0.05408695340156555,
-0.03261888027191162,
0.05982906371355057,
0.030396128073334694,
-0.039305657148361206,
0.01473498996347189,
0.0073304492980241776,
-0.003924545831978321,
0.05360535904765129,
0.004473287612199783,
-0.038898151367902756,
-0.000816745450720191,
-0.05905110016465187,
-0.020875342190265656,
0.06279273331165314,
0.02748802676796913,
0.005353126674890518,
-0.024820726364850998,
0.007765738293528557,
-0.00822881143540144,
0.00844645593315363,
0.007626816164702177,
-0.006024582777172327,
0.0025978409685194492,
0.008960466831922531,
-0.03443412482738495,
0.001914807828143239,
0.08120452612638474,
0.017244847491383553,
-0.037453364580869675,
-0.07149850577116013,
-0.08742822706699371,
0.05423513799905777,
-0.04712233319878578,
0.053383082151412964,
0.012929004617035389,
0.02067158930003643,
-0.07524014264345169,
0.003387380624189973,
0.013169802725315094,
0.014160779304802418,
0.019041571766138077,
0.04063930734992027,
0.024227991700172424,
-0.014827605336904526,
0.06638617813587189,
-0.043306607753038406,
-0.010789606720209122,
-0.019689874723553658,
-0.014466407708823681,
-0.03971315920352936,
0.01266042236238718,
0.11943584680557251,
0.02915509045124054,
-0.050197139382362366,
0.004586740396916866,
-0.010743299499154091,
0.008627054281532764,
-0.00662657804787159,
-0.0008132723742164671,
0.02194967120885849,
0.09513376653194427,
0.04197295755147934,
0.04904871806502342,
0.06034770607948303,
-0.01898600347340107,
-0.012966050766408443,
-0.029821917414665222,
0.04334365576505661,
0.042973197996616364,
0.06923870742321014,
-0.004417718853801489,
0.04308433458209038,
0.030155329033732414,
-0.015818580985069275,
0.007010928820818663,
-0.00569117022678256,
-0.013706968165934086,
-0.0336746871471405,
0.027284275740385056,
-0.04523299261927605,
0.04108385741710663,
0.06119975820183754,
0.06912757456302643,
-0.0031280596740543842,
-0.01121563371270895,
-0.019986240193247795,
0.017096664756536484,
-0.010437671095132828,
0.022968431934714317,
-0.07109100371599197,
0.02780291810631752,
0.021023524925112724,
-0.025209706276655197,
0.040268849581480026,
0.056050386279821396,
0.05193829536437988,
-0.0034684184938669205,
0.047529835253953934,
0.05345717445015907,
-0.01594824157655239,
-0.07883358746767044,
-0.05153078958392143,
-0.027747347950935364,
-0.005186420399695635,
-0.008918790146708488,
-0.04223227873444557,
-0.05749517306685448,
-0.07172078639268875,
0.037527456879615784,
-0.004950252827256918,
0.008835437707602978,
-0.04015771299600601,
0.06305205076932907,
-0.021449552848935127,
-0.03306343033909798,
0.0528644397854805,
-0.02250535972416401,
0.05453150346875191,
0.025783918797969818,
0.03550845757126808,
-0.019652828574180603,
-0.08194544166326523,
0.049233946949243546,
-0.06790506094694138,
0.014318224042654037,
0.022875817492604256,
-0.02180148847401142,
0.04182477667927742,
-0.03667540103197098,
-0.02732132188975811,
0.07016485929489136,
0.0014899381203576922,
-0.000026572444767225534,
-0.05856950208544731,
-0.025376413017511368,
0.0060477363876998425,
0.02257945016026497,
0.013818105682730675,
-0.004244066309183836,
-0.030470218509435654,
0.03867587819695473,
-0.030229421332478523,
-0.02763621136546135,
0.005945860408246517,
0.01799502596259117,
-0.052271708846092224,
0.006524702068418264,
-0.028340082615613937,
-0.062125906348228455,
-0.02131989225745201,
-0.03786086663603783,
-0.0077749998308718204,
-0.06623799353837967,
0.01233627088367939,
-0.05182715505361557,
-0.0162353478372097,
-0.000852633616887033,
-0.008103781379759312,
0.00020230512018315494,
-0.034897200763225555,
0.08987325429916382,
0.007205419708043337,
-0.05056759715080261,
-0.004903945606201887,
0.0833531841635704,
-0.0024241884239017963,
-0.0673123225569725,
0.024857770651578903,
-0.03532322496175766,
0.04775211215019226,
-0.00432510394603014,
-0.03021089732646942,
-0.023005478084087372,
0.005084543954581022,
0.030062714591622353,
-0.042343415319919586,
-0.0028316928073763847,
0.030822154134511948,
0.005700431764125824,
-0.0078074149787425995,
0.01893969625234604,
0.030544310808181763,
0.0056633856147527695,
-0.012910481542348862,
-0.003855084767565131,
0.020486360415816307,
0.025024477392435074,
0.0440845713019371,
0.023487074300646782,
0.019356461241841316,
-0.04349183663725853,
0.009006774052977562,
-0.02532084472477436,
-0.03717552125453949,
-0.04608504846692085,
0.014290439896285534,
0.008520547300577164,
-0.0252282302826643,
-0.0464555062353611,
0.06094043701887131,
0.020152946934103966,
-0.0640522912144661,
0.057976771146059036,
0.005746738985180855,
0.02282024919986725,
-0.06920166313648224,
0.05545765161514282,
-0.011780583299696445,
-0.040009528398513794,
0.04452912136912346,
-0.03302638232707977,
0.01683734357357025,
0.0012584015494212508,
-0.018902650102972984,
-0.0023593581281602383,
0.05101214721798897,
-0.01469794474542141,
0.03915747255086899,
0.017791273072361946,
-0.011271202936768532,
-0.04556640610098839,
0.00502434466034174,
-0.003725424176082015,
0.07412876188755035,
-0.06642322242259979,
-0.006918314378708601,
0.06342250853776932,
0.04341774806380272,
0.008367733098566532,
-0.012956788763403893,
-0.009993120096623898,
-0.03469344601035118,
0.0054874178022146225,
-0.06282977759838104,
-0.004519594833254814,
0.040009528398513794,
-0.020208515226840973,
0.07905586063861847,
0.005834722891449928,
-0.027024954557418823,
-0.010187610983848572,
0.005422587506473064,
0.01703183352947235,
0.020875342190265656,
-0.01718001626431942,
0.01939350739121437,
0.036805059760808945,
0.008205657824873924,
0.012280702590942383,
0.016485407948493958,
-0.05582810938358307,
0.00675160763785243,
0.007478632964193821,
-0.02995157614350319,
-0.015290678478777409,
-0.0384536013007164,
0.03867587819695473,
0.00205720285885036,
-0.0033572809770703316,
-0.06634913384914398,
0.041935913264751434,
0.026950862258672714,
-0.00201436853967607,
0.002344308188185096,
-0.026821201667189598,
0.00965970754623413,
0.07875949889421463,
0.061644308269023895,
-0.0031280596740543842,
-0.03736075013875961,
-0.009145696647465229,
-0.05327194556593895,
-0.019930671900510788,
-0.050197139382362366,
-0.027358366176486015,
0.015420339070260525,
0.0456775426864624,
-0.024542881175875664,
0.041528407484292984,
-0.01458680722862482,
0.005241989158093929,
-0.04619618505239487,
0.022246038541197777,
-0.016439100727438927,
-0.0011223737383261323,
-0.018485883250832558,
0.001634648535400629,
0.034897200763225555,
-0.005857876501977444,
0.0003632230800576508,
-0.004297319799661636,
0.0038435079623013735,
-0.027136091142892838,
-0.06179249286651611,
-0.009011405520141125,
0.002335046883672476,
-0.0584583654999733,
-0.05141965299844742,
-0.01510544866323471,
0.013123495504260063,
-0.040565215051174164,
-0.017957979813218117,
0.015716705471277237,
0.009520785883069038,
0.0504935048520565,
-0.007932444103062153,
0.007988013327121735,
-0.0012584015494212508,
0.0440475270152092,
-0.02059749700129032,
0.10298749059438705,
-0.0026950861793011427,
-0.01830991543829441,
-0.016087165102362633,
-0.015198064036667347,
-0.01217882614582777,
-0.014318224042654037,
0.009539308957755566,
0.03975020721554756,
0.0014343693619593978,
-0.03997248038649559,
-0.017328200861811638,
0.023690827190876007,
0.012734513729810715,
0.031989097595214844,
0.023635258898139,
0.08520547300577164,
0.05745812878012657,
0.015049880370497704,
-0.06542298942804337,
-0.028340082615613937,
-0.02826599031686783,
0.007145219948142767,
-0.045788682997226715,
0.057865630835294724,
-0.006834961008280516,
-0.013280940242111683,
-0.038083143532276154,
0.02235717512667179,
-0.011891720816493034,
-0.01121563371270895,
-0.04790029674768448,
0.03373025357723236,
0.0021752866450697184,
-0.015624091029167175,
-0.025672780349850655,
-0.027988146990537643,
-0.07683311402797699,
-0.032970815896987915,
-0.0640522912144661,
0.04549231380224228,
-0.07149850577116013,
-0.023135138675570488,
-0.03430446609854698,
-0.015475907362997532,
-0.005380910821259022,
0.015290678478777409,
-0.043232519179582596,
0.019023047760128975,
-0.006811807397753,
0.05479082465171814,
0.005681908689439297,
-0.010363578796386719,
0.06234817951917648,
-0.03130375221371651,
-0.0752771869301796,
-0.023283323273062706,
0.011280464008450508,
0.04271387681365013,
0.0012028327910229564,
0.01790241152048111,
-0.0025306951720267534,
0.02780291810631752,
-0.0352676585316658,
-0.023764917626976967,
-0.01197507418692112,
0.006195920053869486,
0.006839591544121504,
-0.005089174956083298,
-0.014086687937378883,
0.02917361445724964,
0.011095235124230385,
0.0037856237031519413,
0.07816676050424576,
-0.010974835604429245,
-0.02500595524907112,
0.044010479003190994,
0.011586092412471771,
-0.05190124735236168,
-0.05664311721920967,
-0.012845651246607304,
0.005672647152096033,
-0.08209362626075745,
0.07542537152767181,
-0.03739779442548752,
0.009761583991348743,
-0.008150088600814342,
-0.01585562713444233,
0.025191184133291245,
-0.037453364580869675,
0.017985764890909195,
-0.014132995158433914,
-0.030748063698410988,
-0.03491572290658951,
-0.009229050017893314,
-0.0077749998308718204,
0.01485538948327303,
-0.03291524574160576,
0.04652959853410721,
0.07920404523611069,
-0.020764203742146492,
-0.024339130148291588,
0.02595062367618084,
-0.0020271032117307186,
-0.01137307845056057,
0.0013359662843868136,
0.05549469590187073,
-0.045307084918022156,
-0.02074568159878254,
0.03373025357723236,
0.04608504846692085,
-0.006089413072913885,
-0.00774721521884203,
0.00689052976667881,
0.005005821585655212,
-0.06179249286651611,
0.03467492386698723,
-0.03693472221493721,
-0.02659892663359642,
0.009493001736700535,
0.09179963916540146,
-0.08505729585886002,
0.010363578796386719,
-0.07912995666265488,
-0.028580879792571068,
-0.00875671487301588,
-0.026691541075706482,
-0.05960678681731224,
-0.0027576012071222067,
0.018161732703447342,
-0.026098808273673058,
0.023487074300646782,
0.007098912727087736,
-0.012086211703717709,
-0.007140589412301779,
0.028803154826164246,
-0.05160488188266754,
0.014281178824603558,
-0.027376890182495117,
0.05567992478609085,
0.03469344601035118,
0.00752957072108984,
0.008191765286028385,
0.01073403749614954,
0.05149374529719353,
-0.11143394559621811,
0.01505914144217968,
0.009622662328183651,
0.03637903183698654,
-0.018643328920006752,
0.00718689663335681,
-0.01715223304927349,
0.017522690817713737,
-0.05712471529841423,
-0.05141965299844742,
-0.005394803360104561,
-0.013355032540857792,
0.01970839686691761,
-0.052197616547346115,
-0.0008092204807326198,
0.0008080627885647118,
-0.04271387681365013,
-0.019652828574180603,
-0.02346855215728283,
-0.010687730275094509,
-0.025839487090706825,
-0.007427694741636515,
0.024894816800951958,
-0.04960440471768379,
0.023579688742756844
] |
730,083 | mmengine.fileio.file_client | isfile | Check whether a file path is a file.
Args:
filepath (str or Path): Path to be checked whether it is a file.
Returns:
bool: Return ``True`` if ``filepath`` points to a file, ``False``
otherwise.
| def isfile(self, filepath: Union[str, Path]) -> bool:
"""Check whether a file path is a file.
Args:
filepath (str or Path): Path to be checked whether it is a file.
Returns:
bool: Return ``True`` if ``filepath`` points to a file, ``False``
otherwise.
"""
return self.client.isfile(filepath)
| (self, filepath: Union[str, pathlib.Path]) -> bool | [
0.02418699860572815,
-0.06604554504156113,
-0.01475722435861826,
0.00910956971347332,
0.02409418486058712,
-0.029941387474536896,
0.07677469402551651,
0.0016903518699109554,
-0.03714365512132645,
-0.013615627773106098,
0.039649598300457,
0.02671150490641594,
0.004271706100553274,
-0.04677761718630791,
-0.025542063638567924,
-0.0041232057847082615,
0.038387347012758255,
-0.034953273832798004,
0.027639633044600487,
-0.006004984024912119,
-0.02812225930392742,
0.004584948997944593,
0.042248357087373734,
0.016464978456497192,
0.024483999237418175,
0.07142867892980576,
-0.017448794096708298,
-0.0038958145305514336,
0.015555414371192455,
-0.007202268112450838,
-0.005712623707950115,
-0.015202726237475872,
0.017105387523770332,
-0.00817216094583273,
-0.010534245520830154,
0.029217448085546494,
-0.01262253150343895,
0.04106035456061363,
-0.04644349217414856,
-0.024057060480117798,
-0.06942392885684967,
0.07818544656038284,
-0.010970464907586575,
0.06537728756666183,
-0.04681474342942238,
-0.0007250994676724076,
-0.07655194401741028,
0.016464978456497192,
0.0018365320283919573,
0.005647654645144939,
0.07194843143224716,
-0.02840069681406021,
-0.04020647704601288,
0.0032252424862235785,
-0.023110371083021164,
-0.04273098334670067,
0.02491093799471855,
0.05290325731039047,
-0.05264338105916977,
0.018803859129548073,
0.011917155236005783,
-0.031055141240358353,
0.03298564627766609,
-0.09704499691724777,
0.01689191721379757,
0.010088744573295116,
-0.01471081841737032,
-0.047334495931863785,
-0.0015824571019038558,
0.010088744573295116,
-0.047557245939970016,
0.06604554504156113,
0.023518746718764305,
-0.014116817153990269,
-0.0018040474969893694,
-0.0027820616960525513,
0.007870519533753395,
0.05624451860785484,
0.006204531062394381,
0.0016497463220730424,
-0.04198848083615303,
-0.050044625997543335,
-0.005457388702780008,
0.006547938566654921,
0.01656707376241684,
0.010478558018803596,
0.05438826233148575,
-0.012613250873982906,
-0.037329282611608505,
0.07417593896389008,
0.004294909071177244,
-0.01140668522566557,
0.012399781495332718,
-0.034990400075912476,
0.035398777574300766,
-0.010886933654546738,
0.03912984952330589,
-0.03547302633523941,
-0.020938552916049957,
-0.02849350869655609,
-0.05691276863217354,
-0.003130109515041113,
0.05943727493286133,
-0.0208828654140234,
0.01103543397039175,
-0.019472111016511917,
-0.0045339022763073444,
0.007086252328008413,
0.031055141240358353,
-0.038981348276138306,
-0.048856623470783234,
-0.06816167384386063,
-0.00011297049786662683,
0.0726909339427948,
0.024576811119914055,
-0.05308888480067253,
0.017040418460965157,
-0.021458303555846214,
-0.00677068904042244,
-0.013662034645676613,
0.03721790760755539,
-0.012409062124788761,
0.0010418229503557086,
-0.008297458291053772,
0.06177615746855736,
-0.029495887458324432,
0.017365261912345886,
-0.013179408386349678,
-0.04005797579884529,
0.022404994815587997,
-0.04280523210763931,
0.003248445689678192,
0.009183820337057114,
0.043250735849142075,
-0.05342300981283188,
0.0753268152475357,
0.0208828654140234,
0.0020720441825687885,
0.030349764972925186,
0.045403990894556046,
0.03331977128982544,
-0.01932361163198948,
-0.0031927579548209906,
-0.02156967855989933,
0.033208396285772324,
0.03612271696329117,
-0.012121343053877354,
-0.026303129270672798,
0.010339338332414627,
0.04881949722766876,
-0.007123377174139023,
-0.0003074421838391572,
0.01757873222231865,
0.0017680826131254435,
0.011722248047590256,
-0.03198326751589775,
0.0005415042978711426,
0.01511919405311346,
-0.03942684829235077,
-0.00810255203396082,
-0.0010226803133264184,
0.03331977128982544,
0.007619925308972597,
0.00348279788158834,
0.02771388180553913,
0.0032043596729636192,
-0.08746672421693802,
0.03703228011727333,
0.008232489228248596,
0.02845638431608677,
-0.03326408565044403,
0.0033598209265619516,
-0.00981958769261837,
0.019861925393342972,
0.043659109622240067,
-0.036456841975450516,
0.0432136096060276,
0.06385516375303268,
0.0370694063603878,
0.031240766867995262,
0.01553685124963522,
-0.04046635329723358,
0.008037582971155643,
0.04165435582399368,
0.04024360328912735,
0.030832389369606972,
-0.01165727898478508,
-0.015044944360852242,
0.057061269879341125,
0.0379975326359272,
-0.04354773461818695,
0.025801939889788628,
0.030256951227784157,
0.03157489374279976,
-0.01122105959802866,
-0.04447586089372635,
0.08212070912122726,
-0.014200348407030106,
-0.10981602966785431,
0.015759602189064026,
0.04971050098538399,
-0.03565865382552147,
-0.029198886826634407,
0.0005586166516877711,
-0.014116817153990269,
0.015564695931971073,
0.005926093086600304,
0.00016155216144397855,
-0.0015290897572413087,
0.048076994717121124,
-0.05368288606405258,
-0.09140197932720184,
-0.012566844001412392,
0.03656821697950363,
0.04276810958981514,
0.04662911593914032,
-0.04317648336291313,
0.0495619997382164,
-0.05631876736879349,
0.04759436845779419,
0.12266130745410919,
0.075066938996315,
-0.01445094309747219,
-0.0034851182717829943,
0.07592082023620605,
0.03042401373386383,
-0.014720099978148937,
0.036920905113220215,
-0.04273098334670067,
-0.018246984109282494,
-0.024669624865055084,
-0.006436563096940517,
0.04417886212468147,
0.03133358061313629,
0.011183934286236763,
0.004649918060749769,
0.01234409399330616,
0.009401929564774036,
-0.00892858486622572,
0.025801939889788628,
0.03417364880442619,
-0.0017495200736448169,
0.018785297870635986,
-0.021922368556261063,
-0.08382846415042877,
-0.06619404256343842,
0.02634025365114212,
-0.005833280272781849,
-0.0639665350317955,
-0.023054683580994606,
0.04068910330533981,
-0.003048898419365287,
-0.025170814245939255,
-0.044958487153053284,
-0.015332663431763649,
0.032744333148002625,
-0.04009510204195976,
0.002603397238999605,
0.00009977368608815596,
0.03725503012537956,
-0.015527570620179176,
0.03643827885389328,
0.04213698208332062,
0.003689306089654565,
-0.009415851905941963,
-0.05613313987851143,
0.00031034258427098393,
0.01757873222231865,
0.018432609736919403,
-0.05171525478363037,
0.0991239994764328,
0.045366864651441574,
0.025913314893841743,
-0.00895178783684969,
-0.018748171627521515,
-0.030999453738331795,
-0.015898821875452995,
0.0072718774899840355,
0.003977025859057903,
0.057989396154880524,
-0.06834729760885239,
0.02079005166888237,
0.02023317664861679,
-0.008371708914637566,
-0.007155861705541611,
0.0012251280713826418,
-0.02038167603313923,
0.05134400352835655,
-0.05071287974715233,
0.029625825583934784,
0.013810534961521626,
-0.026377379894256592,
0.00408376008272171,
-0.023370247334241867,
-0.02156967855989933,
0.07280230522155762,
0.0013863901840522885,
-0.033152706921100616,
0.03200183063745499,
-0.06233303248882294,
0.009977368637919426,
0.0585462711751461,
0.01355994027107954,
-0.026785755529999733,
-0.01472938060760498,
0.002568592317402363,
-0.015917383134365082,
-0.030721014365553856,
-0.03328264504671097,
0.003796040778979659,
0.007647769525647163,
-0.03268864378333092,
-0.04039210081100464,
-0.023054683580994606,
0.09407498687505722,
0.036549653857946396,
-0.018924515694379807,
-0.07937344908714294,
-0.04195135459303856,
0.01184290461242199,
-0.03547302633523941,
0.03417364880442619,
0.016669167205691338,
0.013921909965574741,
-0.02624744176864624,
-0.022980432957410812,
-0.0038169235922396183,
-0.021625367924571037,
-0.0321132056415081,
0.03460058569908142,
0.050044625997543335,
0.010580651462078094,
0.06920117139816284,
-0.034526336938142776,
-0.035825714468955994,
-0.034953273832798004,
0.0005565863684751093,
-0.013300064951181412,
0.010339338332414627,
0.1111525297164917,
0.02799232117831707,
-0.04217410460114479,
-0.0009762739646248519,
-0.007967973127961159,
-0.01913798600435257,
-0.0066314698196947575,
-0.028345009312033653,
-0.0032577270176261663,
0.06285278499126434,
-0.01706826128065586,
0.006552578881382942,
0.000862578337546438,
-0.04117172956466675,
-0.024818124249577522,
-0.03291139379143715,
0.03849872201681137,
0.01354137808084488,
0.04377048462629318,
0.012566844001412392,
0.058175019919872284,
0.06144202873110771,
-0.028567759320139885,
-0.020066112279891968,
-0.03101801499724388,
-0.01692904345691204,
-0.006891345605254173,
0.06385516375303268,
0.03736640512943268,
-0.02711988054215908,
0.04232260584831238,
0.03823884576559067,
0.0017286371439695358,
-0.02038167603313923,
-0.019861925393342972,
0.00718370545655489,
-0.025133688002824783,
-0.006107077933847904,
-0.07187417894601822,
0.009903118945658207,
0.03716221824288368,
0.012752469629049301,
0.033839523792266846,
0.023778622969985008,
0.04881949722766876,
-0.01574103906750679,
0.03552871569991112,
0.006863501854240894,
-0.03157489374279976,
-0.05108412727713585,
-0.045775242149829865,
0.02799232117831707,
-0.017504481598734856,
-0.0016079805791378021,
-0.04339923337101936,
-0.028530634939670563,
-0.049636248499155045,
0.038944222033023834,
0.013058751821517944,
0.0022019820753484964,
-0.003949181642383337,
0.04488423839211464,
0.0028470305260270834,
-0.05271763354539871,
0.020548738539218903,
-0.01706826128065586,
0.07139155268669128,
0.0220708679407835,
0.05253200605511665,
-0.008520209230482578,
-0.05268050730228424,
0.029254574328660965,
-0.07722019404172897,
-0.022293617948889732,
-0.018980205059051514,
-0.022553494200110435,
0.06340965628623962,
-0.05249488353729248,
-0.02643306739628315,
0.0693868026137352,
-0.02559775300323963,
-0.010005212388932705,
-0.007652409840375185,
-0.018107764422893524,
0.010821964591741562,
0.010580651462078094,
0.002642842708155513,
0.018970923498272896,
-0.0198247991502285,
0.03827597200870514,
0.007879801094532013,
-0.030442576855421066,
-0.004086080472916365,
0.03189045563340187,
-0.03983522579073906,
0.011146808974444866,
-0.0483739972114563,
-0.03942684829235077,
-0.07009217888116837,
-0.00301177310757339,
-0.011295309290289879,
-0.05416551232337952,
0.017105387523770332,
-0.05423976108431816,
-0.03667959198355675,
0.00924414861947298,
-0.02624744176864624,
-0.015471883118152618,
-0.0243169367313385,
0.10632626712322235,
-0.01550900749862194,
-0.057840894907712936,
-0.000059965728723909706,
0.08100695163011551,
-0.009689649567008018,
-0.05086137726902962,
0.018024232238531113,
-0.037886157631874084,
0.03777478262782097,
-0.00027017208049073815,
-0.0143395671620965,
-0.0493021234869957,
0.04859674721956253,
0.029217448085546494,
-0.11308303475379944,
0.0370694063603878,
0.010218681767582893,
-0.001007018145173788,
-0.002603397238999605,
0.03805322200059891,
0.03252158313989639,
0.013819816522300243,
-0.02895757369697094,
-0.023834310472011566,
-0.004909793846309185,
0.052569132298231125,
0.03487902507185936,
0.0216068048030138,
0.059585776180028915,
-0.04878237470984459,
0.006102437153458595,
-0.0027217334136366844,
-0.06649104505777359,
-0.08367995917797089,
0.02771388180553913,
0.04068910330533981,
-0.023648684844374657,
-0.012269843369722366,
0.005875045899301767,
-0.025170814245939255,
-0.06534016132354736,
0.0426938571035862,
-0.007457503117620945,
0.024057060480117798,
-0.020474489778280258,
0.05850914865732193,
0.02147686667740345,
-0.0243169367313385,
0.07558669149875641,
-0.022479243576526642,
0.042656730860471725,
-0.0030837031081318855,
-0.03417364880442619,
0.00013697129907086492,
0.10201975703239441,
-0.004680082201957703,
0.019564924761652946,
0.018896672874689102,
-0.03597421571612358,
-0.05301463231444359,
-0.012214155867695808,
0.0035616885870695114,
0.0705748051404953,
-0.04525548964738846,
0.027973758056759834,
0.047111742198467255,
0.01913798600435257,
0.009434414096176624,
-0.008000457659363747,
0.0006201050709933043,
-0.02459537424147129,
0.011137528344988823,
-0.07105743139982224,
-0.011480934917926788,
0.01028365083038807,
0.005712623707950115,
0.021309804171323776,
-0.004835543222725391,
-0.03744065761566162,
-0.016780542209744453,
-0.004069838207215071,
0.028289321810007095,
0.017467357218265533,
-0.014311723411083221,
-0.00397006468847394,
0.012501874938607216,
-0.002756538102403283,
0.006580422632396221,
-0.012947376817464828,
-0.019954737275838852,
0.0008324141963385046,
-0.0005095999222248793,
0.02079005166888237,
-0.039723850786685944,
-0.04065197706222534,
0.006835657637566328,
-0.04622074216604233,
-0.011072559282183647,
-0.09659949690103531,
0.03610415384173393,
-0.012641094624996185,
0.010738433338701725,
-0.020734364166855812,
0.01379197183996439,
0.01839548349380493,
0.0852392166852951,
0.10565801709890366,
0.011462372727692127,
-0.041691478341817856,
-0.015388350933790207,
-0.05190088227391243,
-0.009930962696671486,
-0.04061485081911087,
-0.03784903138875961,
0.0011189734796062112,
-0.03886997327208519,
-0.005754389334470034,
0.028345009312033653,
0.0018539343727752566,
0.033616773784160614,
-0.049673374742269516,
0.022275056689977646,
0.005234638229012489,
0.0302012637257576,
-0.020437363535165787,
0.00582863949239254,
-0.007257955614477396,
0.006260219030082226,
0.01831195317208767,
-0.0016613479238003492,
0.004932996816933155,
-0.02101280353963375,
-0.07395318895578384,
-0.030943766236305237,
0.01587097719311714,
-0.044809989631175995,
0.0047241682186722755,
-0.025040876120328903,
0.030962327495217323,
-0.045403990894556046,
-0.018738891929388046,
0.03473052382469177,
-0.02574625238776207,
0.05268050730228424,
0.006413360126316547,
-0.0038099626544862986,
0.02827075868844986,
0.06652817130088806,
-0.00991239957511425,
0.09325823187828064,
-0.0010975105687975883,
-0.013996160589158535,
-0.028623446822166443,
0.004844824783504009,
-0.04893087223172188,
-0.031185079365968704,
0.04781712219119072,
-0.005452747922390699,
0.009360164403915405,
0.0012123663909733295,
0.0036312981974333525,
0.02574625238776207,
0.021142741665244102,
0.02179243043065071,
0.04042922705411911,
0.07577231526374817,
0.0804872065782547,
-0.017820045351982117,
-0.02032598853111267,
-0.03766340762376785,
-0.014831474982202053,
0.017467357218265533,
-0.012102780863642693,
0.09162472933530807,
0.02711988054215908,
0.004598870873451233,
-0.008664068765938282,
0.02101280353963375,
-0.06411504000425339,
-0.046183615922927856,
-0.01767154410481453,
0.03784903138875961,
-0.04610936716198921,
0.0012761751422658563,
-0.0012842961587011814,
0.01215846836566925,
-0.09147623181343079,
-0.011091121472418308,
-0.011722248047590256,
0.024576811119914055,
-0.03291139379143715,
-0.02533787675201893,
-0.08026444911956787,
-0.015416194684803486,
-0.005373857449740171,
-0.0014676013961434364,
-0.001134055550210178,
0.006923830136656761,
-0.04785424470901489,
0.08174945414066315,
0.0005739887710660696,
0.01804279536008835,
0.07194843143224716,
-0.043436359614133835,
-0.0429537333548069,
-0.014488067477941513,
-0.013550659641623497,
0.06444916129112244,
-0.015351226553320885,
0.0012900970177724957,
0.024038497358560562,
0.03886997327208519,
-0.02455824986100197,
-0.014116817153990269,
0.0019919932819902897,
0.0070259240455925465,
0.009304476901888847,
0.0252450630068779,
-0.06255578249692917,
-0.005647654645144939,
0.05056437849998474,
-0.010246525518596172,
0.09236723184585571,
-0.002424732781946659,
-0.030256951227784157,
0.06838442385196686,
0.031222203746438026,
-0.05134400352835655,
-0.017235325649380684,
-0.018479015678167343,
-0.015555414371192455,
-0.022553494200110435,
0.035398777574300766,
-0.0158245712518692,
0.017179636284708977,
-0.0035338448360562325,
-0.02060442790389061,
0.014246754348278046,
-0.007132658734917641,
0.012084217742085457,
-0.01913798600435257,
-0.02611750364303589,
-0.03823884576559067,
-0.03643827885389328,
-0.007907644845545292,
0.004503738135099411,
0.008232489228248596,
0.020530177280306816,
0.07781419903039932,
-0.01794070191681385,
-0.005638373550027609,
0.023667247965931892,
0.014785068109631538,
0.012177030555903912,
0.009513305500149727,
0.013727003708481789,
-0.022609181702136993,
-0.055316388607025146,
0.0006705719861201942,
0.05056437849998474,
0.00009803345164982602,
-0.02437262423336506,
-0.009457617998123169,
0.028567759320139885,
-0.03157489374279976,
0.032967083156108856,
-0.0297372005879879,
-0.0429537333548069,
-0.017133230343461037,
0.060365401208400726,
-0.051603879779577255,
-0.004475893918424845,
-0.04042922705411911,
-0.015991633757948875,
-0.015202726237475872,
-0.046554867178201675,
-0.047148868441581726,
0.0007018963224254549,
0.019880488514900208,
-0.01652066595852375,
0.004506058059632778,
0.025040876120328903,
-0.02983001247048378,
-0.02032598853111267,
0.02028886415064335,
-0.04135735332965851,
-0.019620612263679504,
-0.011100403033196926,
0.00871975626796484,
0.03280001878738403,
0.016437135636806488,
-0.0023899278603494167,
-0.02110561542212963,
-0.015332663431763649,
-0.09867849946022034,
0.01761585660278797,
-0.02556062676012516,
0.07525256276130676,
-0.003097624983638525,
-0.002326119225472212,
0.009183820337057114,
-0.02621031552553177,
-0.03931547328829765,
-0.021866681054234505,
-0.004649918060749769,
0.014024004340171814,
0.04417886212468147,
-0.05223500728607178,
0.01432100497186184,
0.002293634694069624,
-0.03226170688867569,
-0.03805322200059891,
0.009137413464486599,
0.006167406216263771,
-0.01932361163198948,
-0.005991062149405479,
0.008436677977442741,
-0.06296415627002716,
0.05097275227308273
] |
730,084 | mmengine.fileio.file_client | join_path | Concatenate all file paths.
Join one or more filepath components intelligently. The return value
is the concatenation of filepath and any members of \*filepaths.
Args:
filepath (str or Path): Path to be concatenated.
Returns:
str: The result of concatenation.
| def join_path(self, filepath: Union[str, Path],
*filepaths: Union[str, Path]) -> str:
r"""Concatenate all file paths.
Join one or more filepath components intelligently. The return value
is the concatenation of filepath and any members of \*filepaths.
Args:
filepath (str or Path): Path to be concatenated.
Returns:
str: The result of concatenation.
"""
return self.client.join_path(filepath, *filepaths)
| (self, filepath: Union[str, pathlib.Path], *filepaths: Union[str, pathlib.Path]) -> str | [
-0.08243682235479355,
-0.03740321472287178,
-0.03579869121313095,
0.08008352667093277,
-0.032090459018945694,
-0.048706185072660446,
-0.005548975430428982,
0.01415545865893364,
0.005785196553915739,
-0.005339495837688446,
0.01870160736143589,
-0.001541010569781065,
-0.03299969062209129,
0.04471270740032196,
-0.010964239947497845,
-0.002502610208466649,
0.053270161151885986,
-0.049205370247364044,
0.02690250240266323,
0.021625403314828873,
0.002888141432777047,
0.011704104021191597,
0.024691825732588768,
-0.010473969392478466,
0.009096753783524036,
0.06460878998041153,
-0.021536264568567276,
0.025618882849812508,
-0.029327115043997765,
-0.008998699486255646,
0.03353453055024147,
-0.027241233736276627,
-0.01732884719967842,
-0.044819675385951996,
0.0048135691322386265,
0.03180520981550217,
-0.023889563977718353,
0.06574978679418564,
0.06257639825344086,
0.01439613662660122,
-0.003701545298099518,
0.03349887579679489,
0.03711796551942825,
-0.06810308247804642,
-0.0203417856246233,
0.004902709275484085,
-0.04104013368487358,
0.057192329317331314,
0.017524955794215202,
-0.016713781282305717,
0.0057049705646932125,
0.022980334237217903,
-0.05277097597718239,
-0.022320697084069252,
-0.0058520520105957985,
0.02986195497214794,
0.036190908402204514,
0.0035589211620390415,
-0.03818764537572861,
-0.04503361135721207,
0.01916513592004776,
-0.07858596742153168,
0.04417786747217178,
0.01805979758501053,
0.03531733527779579,
0.05141604691743851,
-0.0219106525182724,
0.016785092651844025,
0.026884673163294792,
-0.0027499741408973932,
-0.011454511433839798,
0.011231660842895508,
-0.031823039054870605,
-0.07708841562271118,
-0.0008061613771133125,
0.02353300340473652,
0.014164372347295284,
0.019468212500214577,
0.030022406950592995,
-0.011552565731108189,
-0.04239506274461746,
-0.0783720314502716,
-0.04225244000554085,
-0.01737341843545437,
0.04909840226173401,
0.00957365334033966,
-0.03405154123902321,
-0.041895877569913864,
-0.07559085637331009,
0.01058985199779272,
-0.0029616819228976965,
0.037331901490688324,
-0.03348104655742645,
-0.015653012320399284,
0.041182756423950195,
-0.02187499590218067,
0.007300579454749823,
-0.01600066013634205,
0.023639971390366554,
0.012372654862701893,
-0.02627852000296116,
-0.07213222235441208,
0.052129168063402176,
-0.04834962636232376,
0.027241233736276627,
-0.05020374059677124,
-0.00604370329529047,
0.02438874915242195,
0.01825590617954731,
0.0038664545863866806,
-0.03465769439935684,
-0.053305819630622864,
0.031127745285630226,
-0.03349887579679489,
-0.011133606545627117,
0.03326711058616638,
-0.010135237127542496,
0.015465818345546722,
0.05483902990818024,
-0.0109553262591362,
0.028114808723330498,
-0.013183830305933952,
-0.03312448412179947,
0.016268080100417137,
0.03437244892120361,
-0.018879886716604233,
-0.006061531137675047,
0.017952829599380493,
-0.02781173214316368,
-0.03900773450732231,
-0.048064377158880234,
0.06542888283729553,
0.03283923864364624,
0.008735735900700092,
0.017293192446231842,
0.04246637597680092,
-0.05451812595129013,
-0.008864989504218102,
0.06924407929182053,
0.07865728437900543,
0.037759773433208466,
-0.04720863327383995,
0.018665950745344162,
0.005433093290776014,
0.08072533458471298,
-0.0004944493412040174,
-0.0008969728951342404,
-0.03242919221520424,
-0.012711387127637863,
0.016562242060899734,
-0.023390378803014755,
0.025601055473089218,
-0.012016094289720058,
-0.0032380165066570044,
0.0438213050365448,
-0.015118172392249107,
0.004283185116946697,
0.06182761862874031,
-0.02100142277777195,
-0.04628157243132591,
0.034354619681835175,
-0.005745083559304476,
0.01301446370780468,
-0.009007614105939865,
0.028863584622740746,
0.010812701657414436,
-0.004617460537701845,
0.06293295323848724,
0.03173390030860901,
0.02262377366423607,
0.04235940799117088,
-0.009814332239329815,
0.00003435030157561414,
0.002317644190043211,
-0.023782595992088318,
-0.05344844236969948,
-0.046245917677879333,
0.056479208171367645,
0.038009367883205414,
-0.02164323255419731,
-0.015840208157896996,
-0.04421352222561836,
0.034835975617170334,
0.0035878915805369616,
0.056514862924814224,
0.016535500064492226,
-0.004898251965641975,
-0.012479622848331928,
0.024317437782883644,
-0.015287538059055805,
-0.012042836286127567,
0.017435817047953606,
0.03519253805279732,
0.043500401079654694,
0.007875533774495125,
-0.09135083854198456,
0.050774239003658295,
-0.056479208171367645,
-0.05316319316625595,
0.06760390102863312,
-0.016963373869657516,
-0.0007532343734055758,
0.04271596670150757,
-0.031359508633613586,
0.056051336228847504,
-0.00980541855096817,
0.01572432555258274,
0.0346398688852787,
0.014075231738388538,
0.006872706580907106,
0.020145677030086517,
-0.00854854192584753,
-0.009751933626830578,
-0.05476771667599678,
-0.007719538174569607,
0.07380805909633636,
-0.025886304676532745,
0.003215731354430318,
-0.05540952831506729,
0.05409025400876999,
0.030182860791683197,
0.007006417028605938,
0.032714441418647766,
0.003578977659344673,
0.014324824325740337,
0.019771289080381393,
-0.02399653196334839,
0.06000915914773941,
0.030236344784498215,
-0.043250806629657745,
0.02713426575064659,
-0.008151868358254433,
0.005049790255725384,
-0.016499845311045647,
-0.0027900871355086565,
-0.03854420781135559,
-0.0023131873458623886,
0.01617002673447132,
0.037331901490688324,
0.0239787045866251,
0.02765127830207348,
-0.014298082329332829,
0.014538761228322983,
-0.07801546901464462,
0.017462559044361115,
-0.012916410341858864,
0.012613333761692047,
-0.0611858107149601,
0.014743783511221409,
-0.022730741649866104,
0.04592501372098923,
0.05409025400876999,
0.012729215435683727,
0.03964954614639282,
-0.0017114911461248994,
0.04193153232336044,
-0.03151996061205864,
-0.029558878391981125,
-0.02280205488204956,
0.017489301040768623,
0.04268031194806099,
0.022944677621126175,
0.006533974315971136,
-0.05387631431221962,
-0.040719226002693176,
-0.009154695086181164,
-0.04813569039106369,
-0.03326711058616638,
0.0020513380877673626,
-0.01600066013634205,
-0.04403524100780487,
0.03303534537553787,
0.024816621094942093,
-0.004198501817882061,
-0.014592245221138,
0.056514862924814224,
-0.03993479534983635,
0.0438213050365448,
-0.03264312818646431,
0.016588984057307243,
-0.036583125591278076,
0.02873878926038742,
0.008704537525773048,
-0.04407089948654175,
0.0009253863245248795,
-0.004274270962923765,
0.023408208042383194,
0.0006886078044772148,
-0.04086185246706009,
0.0043232981115579605,
0.07149041444063187,
0.011668447405099869,
0.027259062975645065,
-0.004697686526924372,
-0.029523221775889397,
-0.051915232092142105,
0.08421962708234787,
-0.03255398944020271,
0.06985023617744446,
-0.05565911903977394,
0.0058431378565728664,
0.02280205488204956,
0.04653116688132286,
-0.020858798176050186,
-0.006681055296212435,
-0.10589851438999176,
-0.004430266097187996,
0.0028925982769578695,
0.02075183019042015,
0.023140786215662956,
-0.051594328135252,
-0.04863487556576729,
-0.06460878998041153,
0.013763241469860077,
0.05230744928121567,
0.021340155974030495,
0.0063244947232306,
0.013986092060804367,
-0.04125406965613365,
-0.04777912795543671,
-0.01982477307319641,
0.0058431378565728664,
-0.009127953089773655,
0.020947938784956932,
-0.02467399835586548,
0.017979571595788002,
-0.007371891755610704,
-0.008949672803282738,
-0.021161874756217003,
-0.011124692857265472,
0.08935409784317017,
-0.006262096576392651,
-0.0014507562154904008,
-0.012158718891441822,
0.01402174774557352,
0.014226770028471947,
0.021803684532642365,
0.0022251612972468138,
0.02148278057575226,
0.09570088237524033,
0.03057507611811161,
-0.019699975848197937,
-0.03103860467672348,
-0.009154695086181164,
-0.02330124005675316,
0.013834553770720959,
0.03469335287809372,
0.016731608659029007,
0.002123764483258128,
-0.055587805807590485,
0.03335624933242798,
-0.011802158318459988,
-0.018826402723789215,
-0.011846727691590786,
0.01151690911501646,
0.0557304322719574,
-0.0788712203502655,
0.05544518306851387,
0.028613993898034096,
0.05619395896792412,
0.032500505447387695,
-0.021322326734662056,
0.01800631359219551,
-0.012711387127637863,
0.029077522456645966,
0.05569477379322052,
0.039613887667655945,
0.04446311295032501,
-0.07780153304338455,
-0.0033672696445137262,
-0.003989022225141525,
-0.02966584637761116,
0.05569477379322052,
0.001266904640942812,
0.025708023458719254,
0.08029746264219284,
-0.02782955951988697,
0.0010685677407309413,
0.013415594585239887,
0.002774487715214491,
-0.050310708582401276,
0.005375151988118887,
0.04353605583310127,
0.026991641148924828,
-0.02351517602801323,
0.09363283216953278,
0.06186327338218689,
-0.06179196387529373,
-0.013085776008665562,
0.020573550835251808,
0.02510187029838562,
-0.009288405068218708,
-0.011873469687998295,
-0.05726364254951477,
-0.05961694195866585,
-0.033427562564611435,
0.08593112230300903,
-0.008557455614209175,
0.021054906770586967,
-0.027900870889425278,
0.015242968685925007,
-0.042323749512434006,
-0.006199698429554701,
0.03255398944020271,
-0.035941313952207565,
0.08129583299160004,
-0.003460866864770651,
0.013076862320303917,
-0.013700843788683414,
-0.03353453055024147,
-0.061970241367816925,
-0.007229267619550228,
-0.006935104727745056,
0.03148430585861206,
0.041182756423950195,
0.010999896563589573,
-0.09135083854198456,
-0.06357476860284805,
0.031644757837057114,
0.027704764157533646,
-0.07701710611581802,
-0.013754327781498432,
-0.052378762513399124,
0.03143082186579704,
-0.019985225051641464,
-0.042787279933691025,
0.010910755954682827,
0.008151868358254433,
0.044605739414691925,
-0.020163506269454956,
-0.009787590242922306,
0.008058271370828152,
-0.0035611495841294527,
-0.003235788084566593,
0.05141604691743851,
0.03102077730000019,
0.02645680122077465,
-0.05712101608514786,
0.059937845915555954,
-0.05769151449203491,
-0.008267750032246113,
-0.04546148329973221,
-0.06022309511899948,
-0.038223303854465485,
0.0015109258238226175,
-0.06279033422470093,
-0.05615830421447754,
-0.03337407857179642,
0.013968263752758503,
0.00388205423951149,
-0.017400160431861877,
-0.05045333504676819,
0.056015681475400925,
0.005673771724104881,
-0.018148938193917274,
0.007278294302523136,
0.021322326734662056,
-0.004742256831377745,
0.00994804222136736,
-0.005678228568285704,
0.0020658234134316444,
-0.00992130022495985,
0.11666664481163025,
0.002066937508061528,
-0.02208893373608589,
-0.013379938900470734,
-0.020395269617438316,
-0.0021271072328090668,
-0.037759773433208466,
-0.006115015130490065,
0.029505394399166107,
-0.07234615832567215,
-0.05455378070473671,
-0.007911189459264278,
0.040719226002693176,
0.054660748690366745,
0.016018487513065338,
0.0388651117682457,
0.02668856456875801,
-0.05416156351566315,
-0.059937845915555954,
-0.0835065096616745,
-0.041895877569913864,
0.0038642261642962694,
0.0633251741528511,
0.048456594347953796,
0.028703132644295692,
0.05227179452776909,
0.006315580569207668,
-0.050096772611141205,
0.06214852258563042,
0.034782491624355316,
-0.04606763646006584,
-0.01939689926803112,
0.0031020776368677616,
0.05255704000592232,
-0.056229617446660995,
0.0035945770796388388,
-0.058297667652368546,
0.025012729689478874,
0.02872096188366413,
-0.05961694195866585,
-0.027562139555811882,
0.057406265288591385,
-0.016981201246380806,
0.0917787104845047,
-0.000969399290625006,
0.03353453055024147,
-0.04931233823299408,
-0.03740321472287178,
0.003322699572890997,
-0.0007588056614622474,
-0.031858693808317184,
0.005896621849387884,
0.01333536859601736,
-0.024691825732588768,
0.005179043393582106,
0.0015510388184338808,
0.026189381256699562,
-0.00216722022742033,
-0.04107578843832016,
0.03303534537553787,
-0.0633251741528511,
0.02763345092535019,
-0.03244702145457268,
-0.00891401618719101,
0.005856508854776621,
0.01617893949151039,
-0.06229114904999733,
0.048955779522657394,
-0.029968922957777977,
0.05844029039144516,
-0.03082466870546341,
0.03061073273420334,
0.0370466522872448,
0.01321948692202568,
-0.033160142600536346,
0.008637681603431702,
0.01987825706601143,
0.03153778985142708,
0.0018229163251817226,
0.035459958016872406,
-0.004352268762886524,
-0.024335265159606934,
-0.009983698837459087,
-0.05565911903977394,
0.013406680896878242,
-0.017747806385159492,
0.09334757924079895,
0.013406680896878242,
0.01255093514919281,
0.007082186173647642,
0.028845757246017456,
0.07387936860322952,
0.04364302381873131,
-0.017890430986881256,
-0.0221602451056242,
-0.061720650643110275,
-0.046959038823843,
-0.019789116457104683,
0.019682148471474648,
0.022320697084069252,
-0.00982324592769146,
-0.007153498474508524,
0.015795636922121048,
-0.002814600709825754,
0.0070287021808326244,
0.03130602464079857,
0.010777045972645283,
-0.0788712203502655,
-0.007804221473634243,
0.03581651672720909,
-0.04503361135721207,
-0.06139974668622017,
-0.006747910287231207,
-0.029166661202907562,
-0.010242205113172531,
-0.03151996061205864,
0.00747885974124074,
0.048278313130140305,
-0.06485838443040848,
0.016767265275120735,
-0.027062954381108284,
-0.013691929168999195,
0.034105028957128525,
0.021161874756217003,
0.03783108666539192,
0.006083816289901733,
-0.018897714093327522,
-0.050310708582401276,
-0.007371891755610704,
-0.042109813541173935,
0.02923797443509102,
0.05726364254951477,
0.0002958339173346758,
0.004243071656674147,
-0.011481253430247307,
0.03533516079187393,
0.049169715493917465,
-0.012042836286127567,
0.022320697084069252,
-0.03198349103331566,
0.004617460537701845,
0.0671403706073761,
-0.05819069966673851,
0.017640838399529457,
-0.012559848837554455,
0.006115015130490065,
-0.005834223702549934,
0.029077522456645966,
0.04888446629047394,
0.07099122554063797,
0.0028658562805503607,
0.03793805465102196,
-0.038009367883205414,
0.03679706156253815,
-0.03533516079187393,
0.01964649185538292,
0.002062480663880706,
0.032500505447387695,
-0.02117970399558544,
-0.04146800562739372,
-0.005236984696239233,
0.03808067739009857,
-0.038437239825725555,
0.0127737857401371,
-0.0037594863679260015,
-0.025494087487459183,
0.002317644190043211,
0.02419264055788517,
0.00866442359983921,
-0.04357171431183815,
0.002202876377850771,
0.0012490765657275915,
0.012345912866294384,
-0.03929298371076584,
0.014975547790527344,
-0.03519253805279732,
-0.00832123402506113,
-0.055124279111623764,
-0.010126322507858276,
-0.03266095742583275,
-0.0840056911110878,
-0.05815504491329193,
0.003879825584590435,
-0.006418091710656881,
-0.043001215904951096,
-0.06656987220048904,
-0.007487773895263672,
-0.014975547790527344,
-0.012791614048182964,
0.019521696493029594,
-0.016713781282305717,
-0.0310029499232769,
0.009555825963616371,
0.02169671654701233,
0.04328646510839462,
-0.059937845915555954,
0.027062954381108284,
0.06888751685619354,
0.023568660020828247,
-0.011588221415877342,
0.038900766521692276,
0.022463321685791016,
-0.06542888283729553,
-0.014788353815674782,
0.023889563977718353,
-0.04203850030899048,
0.05501731112599373,
0.013157088309526443,
0.00679248059168458,
-0.03900773450732231,
-0.02346169203519821,
0.0017772320425137877,
0.07494904845952988,
0.0042363861575722694,
-0.010277860797941685,
-0.014824009500443935,
-0.03606611117720604,
-0.0818663239479065,
0.003055279143154621,
-0.010643335990607738,
0.022712914273142815,
-0.04260899871587753,
0.018291562795639038,
-0.027508655562996864,
0.02649245783686638,
0.03811633586883545,
0.02028830163180828,
0.007456574589014053,
0.012069578282535076,
-0.0396852008998394,
-0.029398426413536072,
-0.005901079159229994,
-0.0016869775718078017,
0.06093621626496315,
0.021411467343568802,
-0.05847594887018204,
0.008018157444894314,
-0.029148833826184273,
0.019575180485844612,
0.080368772149086,
-0.03872248902916908,
-0.02171454392373562,
-0.005682685412466526,
0.010090666823089123,
0.045283202081918716,
0.009096753783524036,
0.012934237718582153,
-0.0016869775718078017,
-0.017676495015621185,
0.032072629779577255,
0.052592698484659195,
-0.0077819363214075565,
0.033445391803979874,
-0.06599938124418259,
0.020484410226345062,
-0.022017620503902435,
0.008352433331310749,
0.00024471760843880475,
0.0018830859335139394,
0.006346779875457287,
0.07387936860322952,
-0.05255704000592232,
0.012916410341858864,
0.004942822270095348,
0.024139156565070152,
-0.0064938608556985855,
-0.02237418107688427,
0.045283202081918716,
-0.05954562872648239,
0.008909559808671474,
0.046459853649139404,
0.016972286626696587,
0.00308202113956213,
-0.018362874165177345,
0.0074209189042449,
0.00673008244484663,
0.04656682163476944,
-0.012747043743729591,
-0.056942738592624664,
-0.05662183463573456,
0.018576810136437416,
-0.04788609594106674,
0.008838247507810593,
-0.03428330644965172,
0.028845757246017456,
-0.00404250668361783,
-0.035905659198760986,
0.01711491122841835,
-0.0360482819378376,
0.030735528096556664,
-0.00691281957551837,
-0.05540952831506729,
0.03672574833035469,
-0.010340259410440922,
-0.021286671981215477,
0.017854774370789528,
-0.026813361793756485,
-0.033231452107429504,
-0.01779237762093544,
0.03544212877750397,
-0.013059034012258053,
-0.002202876377850771,
0.07277403026819229,
0.05088120698928833,
-0.050988174974918365,
0.015920434147119522
] |
730,085 | mmengine.fileio.file_client | list_dir_or_file | Scan a directory to find the interested directories or files in
arbitrary order.
Note:
:meth:`list_dir_or_file` returns the path relative to ``dir_path``.
Args:
dir_path (str | Path): Path of the directory.
list_dir (bool): List the directories. Defaults to True.
list_file (bool): List the path of files. Defaults to True.
suffix (str or tuple[str], optional): File suffix
that we are interested in. Defaults to None.
recursive (bool): If set to True, recursively scan the
directory. Defaults to False.
Yields:
Iterable[str]: A relative path to ``dir_path``.
| def list_dir_or_file(self,
dir_path: Union[str, Path],
list_dir: bool = True,
list_file: bool = True,
suffix: Optional[Union[str, Tuple[str]]] = None,
recursive: bool = False) -> Iterator[str]:
"""Scan a directory to find the interested directories or files in
arbitrary order.
Note:
:meth:`list_dir_or_file` returns the path relative to ``dir_path``.
Args:
dir_path (str | Path): Path of the directory.
list_dir (bool): List the directories. Defaults to True.
list_file (bool): List the path of files. Defaults to True.
suffix (str or tuple[str], optional): File suffix
that we are interested in. Defaults to None.
recursive (bool): If set to True, recursively scan the
directory. Defaults to False.
Yields:
Iterable[str]: A relative path to ``dir_path``.
"""
yield from self.client.list_dir_or_file(dir_path, list_dir, list_file,
suffix, recursive)
| (self, dir_path: Union[str, pathlib.Path], list_dir: bool = True, list_file: bool = True, suffix: Union[str, Tuple[str], NoneType] = None, recursive: bool = False) -> Iterator[str] | [
0.022471023723483086,
-0.03684138134121895,
-0.03182932734489441,
0.01849466934800148,
0.056297775357961655,
0.04183494299650192,
0.014166916720569134,
-0.030960077419877052,
0.021490806713700294,
-0.05770336836576462,
0.04582979157567024,
0.031015561893582344,
-0.024338984861969948,
-0.008845075964927673,
0.011670136824250221,
0.01901252008974552,
0.003037749556824565,
0.02435748092830181,
-0.03839493542909622,
-0.003250438254326582,
0.000017049773305188864,
0.04028138890862465,
0.05518809333443642,
0.04460914433002472,
0.008378085680305958,
-0.01654348149895668,
-0.023118337616324425,
0.017070580273866653,
-0.0050213029608130455,
0.014046701602637768,
0.0006016546976752579,
0.011818094179034233,
-0.004794742912054062,
0.008817333728075027,
-0.022803926840424538,
0.03658245503902435,
-0.010643682442605495,
0.024745868518948555,
-0.0702427551150322,
0.014795735478401184,
0.006061627995222807,
-0.031847819685935974,
0.06510123610496521,
0.04190891981124878,
-0.01923445612192154,
-0.006255822256207466,
-0.046495597809553146,
-0.024135544896125793,
-0.017394237220287323,
-0.03277255594730377,
0.04712441936135292,
0.007444104645401239,
-0.04005945473909378,
-0.07915718853473663,
0.036970846354961395,
-0.011818094179034233,
0.017255526036024094,
0.029073620215058327,
0.04956571385264397,
0.014740251936018467,
0.01645100861787796,
-0.02666931413114071,
-0.05803627520799637,
-0.006297435145825148,
-0.006593349855393171,
-0.01812477596104145,
-0.05892401933670044,
-0.0736827626824379,
-0.0144535843282938,
0.058480147272348404,
-0.022230593487620354,
0.009067011997103691,
0.04675452411174774,
0.06180918589234352,
-0.02509726770222187,
-0.013186699710786343,
-0.013029495254158974,
0.0224895179271698,
-0.04827108979225159,
-0.02365468256175518,
-0.009386044926941395,
0.013630571775138378,
0.0028921039775013924,
0.014841972850263119,
0.018291227519512177,
-0.016765417531132698,
0.034880947321653366,
-0.012224976904690266,
0.0406142957508564,
0.048493023961782455,
0.015091650187969208,
-0.056112829595804214,
-0.005030550062656403,
-0.015461543574929237,
-0.057000573724508286,
0.010338520631194115,
0.02685425989329815,
0.02476436272263527,
-0.030793625861406326,
0.007342383731156588,
-0.027852972969412804,
0.02946200966835022,
0.05330163985490799,
-0.011392716318368912,
0.011475942097604275,
-0.02295188419520855,
-0.07656793296337128,
0.015313586220145226,
0.031034056097269058,
0.00792496558278799,
-0.0459037683904171,
0.033937718719244,
0.07246211916208267,
0.023636188358068466,
-0.020233169198036194,
0.010699165984988213,
-0.018198754638433456,
-0.03820998594164848,
-0.018531659618020058,
0.0026216194964945316,
0.05060141533613205,
0.012585623189806938,
-0.023062853142619133,
-0.022896401584148407,
-0.01503616664558649,
-0.03384524583816528,
0.036915361881256104,
-0.015221113339066505,
-0.04986162856221199,
0.0837438628077507,
-0.01575745828449726,
0.03452954813838005,
0.05492917075753212,
0.026243936270475388,
0.04294462129473686,
0.002177747432142496,
0.0015651114517822862,
-0.014176164753735065,
-0.007684535346925259,
0.05507712811231613,
0.06624791026115417,
0.014111433178186417,
0.028833189979195595,
0.030331257730722427,
0.0038075901102274656,
0.0035047398414462805,
-0.020732523873448372,
0.011531426571309566,
0.011235511861741543,
0.007929589599370956,
-0.08167245984077454,
-0.018883056938648224,
0.04349946230649948,
0.05363454297184944,
0.011050565168261528,
0.0341966450214386,
-0.04605172574520111,
-0.003241190919652581,
-0.02350672520697117,
-0.005307970102876425,
-0.0025823181495070457,
-0.0518590547144413,
-0.007411738857626915,
-0.04164999723434448,
0.007351631298661232,
0.029757924377918243,
-0.06809737533330917,
0.028777705505490303,
0.024505438283085823,
-0.006450016051530838,
0.012937021441757679,
-0.03898676484823227,
-0.0006912382668815553,
-0.022748444229364395,
-0.07205523550510406,
0.06084746494889259,
0.008267117664217949,
0.030127817764878273,
0.0021291987504810095,
-0.021786721423268318,
0.02350672520697117,
-0.017995312809944153,
0.07797352969646454,
-0.04253774136304855,
-0.0346590094268322,
0.04479409009218216,
0.02457941696047783,
-0.023358767852187157,
0.032236211001873016,
0.016340041533112526,
-0.062438003718853,
0.025171246379613876,
-0.008100665174424648,
-0.06447242200374603,
-0.0731649100780487,
0.03739622235298157,
0.0038584505673497915,
-0.020806502550840378,
-0.005853563081473112,
-0.022341560572385788,
0.0633627399802208,
0.04956571385264397,
0.03917171061038971,
0.004343935754150152,
-0.025152750313282013,
0.04412828013300896,
-0.023858124390244484,
0.05237690359354019,
-0.006547112949192524,
-0.04516398161649704,
0.0440543033182621,
-0.026058990508317947,
-0.005770336836576462,
-0.05078636482357979,
0.009367549791932106,
-0.007439481094479561,
-0.012058524414896965,
-0.0013582023093476892,
-0.07309093326330185,
-0.001338551752269268,
0.07320190221071243,
-0.012798311188817024,
-0.05607583746314049,
-0.036508478224277496,
0.011438952758908272,
-0.008234751410782337,
-0.012169492430984974,
-0.009057764895260334,
-0.0070279743522405624,
-0.043092578649520874,
-0.04971367120742798,
-0.022267581894993782,
0.02021467313170433,
0.011679383926093578,
-0.023821134120225906,
-0.020603062584996223,
0.026965228840708733,
-0.019123489037156105,
-0.03693385422229767,
-0.00137322919908911,
-0.0004586100112646818,
0.02012220025062561,
0.0002556021208874881,
0.0001706422190181911,
-0.05995972082018852,
-0.007952707819640636,
0.05607583746314049,
0.028056414797902107,
0.0035579120740294456,
0.029535988345742226,
-0.030775129795074463,
0.025485655292868614,
-0.0031787713523954153,
-0.011855083517730236,
0.03066416271030903,
-0.00876185018569231,
-0.04838205501437187,
0.05478121340274811,
-0.016071867197752,
0.04372140020132065,
0.015997888520359993,
0.009358302690088749,
-0.005405067000538111,
-0.047975171357393265,
0.019493382424116135,
-0.03920869901776314,
-0.008207010105252266,
-0.04730936512351036,
0.021157901734113693,
0.03972655162215233,
0.01340863574296236,
-0.08855247497558594,
0.00859539769589901,
-0.0005094703519716859,
0.04335150495171547,
0.049195822328329086,
0.015073155984282494,
0.01087486557662487,
-0.04301860183477402,
0.026835765689611435,
-0.04671753570437431,
0.017764130607247353,
-0.03735923394560814,
0.015350575558841228,
-0.007088082376867533,
0.030238784849643707,
-0.03828396648168564,
0.07253609597682953,
-0.05851713567972183,
0.015470791608095169,
0.08019288629293442,
-0.022286076098680496,
0.019345425069332123,
-0.027797488495707512,
-0.021897688508033752,
-0.021583279594779015,
0.0646943524479866,
-0.05822122097015381,
0.04335150495171547,
-0.06288187950849533,
-0.03791407123208046,
0.05074937269091606,
0.09861358255147934,
0.014185411855578423,
-0.004355494864284992,
-0.05289475619792938,
0.009330560453236103,
-0.015720469877123833,
-0.04767925664782524,
0.015461543574929237,
-0.02104693464934826,
0.00798969715833664,
0.010061100125312805,
-0.02555963397026062,
-0.01602563075721264,
-0.04253774136304855,
0.02341425232589245,
0.015322834253311157,
-0.06846726685762405,
-0.0014876649947836995,
-0.027298131957650185,
0.08300407975912094,
-0.013723044656217098,
0.006662704981863499,
-0.003553288523107767,
0.031847819685935974,
0.019493382424116135,
0.05418938398361206,
0.06439843773841858,
0.03414116054773331,
0.0038330203387886286,
-0.05034249275922775,
-0.07013178616762161,
-0.015387564897537231,
0.029406525194644928,
0.00509990518912673,
-0.005710229277610779,
0.0380990207195282,
0.023525219410657883,
0.022471023723483086,
-0.025060277432203293,
-0.022045645862817764,
-0.04501602426171303,
-0.011892072856426239,
0.0017650850350037217,
0.004279204178601503,
0.050490450114011765,
0.06362166255712509,
0.06302983313798904,
0.009515507146716118,
0.10283036530017853,
0.026428883895277977,
-0.00018480220751371235,
-0.03303147852420807,
0.003088609781116247,
-0.008821957744657993,
-0.04346247389912605,
0.07235115021467209,
-0.0064916289411485195,
0.033160943537950516,
0.011975298635661602,
-0.028185876086354256,
-0.007439481094479561,
-0.002501404145732522,
-0.013436377979815006,
-0.019123489037156105,
-0.021398331969976425,
-0.01584993116557598,
0.047050438821315765,
0.035565249621868134,
-0.005349582992494106,
-0.023876618593931198,
-0.00982991699129343,
-0.06846726685762405,
0.054485298693180084,
-0.009839164093136787,
0.022156614810228348,
-0.017255526036024094,
0.042167846113443375,
0.10149874538183212,
0.011050565168261528,
0.008410451002418995,
0.0899580717086792,
-0.0021685000974684954,
0.05859111249446869,
-0.017227785661816597,
0.060995422303676605,
0.005192378535866737,
-0.04586677998304367,
-0.06369563937187195,
-0.014657026156783104,
0.01056970376521349,
0.020714029669761658,
0.01965983398258686,
-0.05045345798134804,
-0.07046469300985336,
0.06532317399978638,
-0.005973778199404478,
-0.02137983776628971,
-0.07027974724769592,
-0.008863570168614388,
0.027446089312434196,
-0.01993725448846817,
0.04157601669430733,
-0.043425485491752625,
-0.017181547358632088,
0.027205659076571465,
0.003765977220609784,
-0.04442419484257698,
0.030368248000741005,
0.0028019424062222242,
-0.07856535911560059,
0.03528783097863197,
0.06924404203891754,
0.00672743609175086,
0.061217356473207474,
-0.04427623748779297,
0.02039962075650692,
0.022729948163032532,
0.022600486874580383,
-0.016007136553525925,
-0.11340931802988052,
-0.006676575634628534,
0.060625527054071426,
0.042870644479990005,
-0.025245225057005882,
0.03528783097863197,
0.001923445612192154,
-0.007961954921483994,
0.0025476408191025257,
0.007101953029632568,
0.013547345995903015,
0.0013535786420106888,
-0.022082636132836342,
0.04716140776872635,
-0.06291886419057846,
-0.061402302235364914,
-0.07612405717372894,
-0.04301860183477402,
-0.015156381763517857,
-0.06447242200374603,
0.005090657621622086,
0.0035070518497377634,
0.031145023182034492,
-0.0019789296202361584,
0.004117375705391169,
-0.006149477791041136,
0.045053016394376755,
0.037470199167728424,
-0.05981176346540451,
-0.0040110317058861256,
-0.005964531097561121,
0.08958818018436432,
-0.0357871875166893,
-0.0074903410859405994,
-0.00250833947211504,
0.004323129076510668,
-0.006144854240119457,
0.021028438583016396,
-0.035102881491184235,
0.04157601669430733,
-0.0380990207195282,
0.02829684503376484,
-0.04401731491088867,
0.024375975131988525,
-0.007263781502842903,
0.032365672290325165,
0.009381420910358429,
-0.016534235328435898,
-0.06332574784755707,
-0.020196178928017616,
-0.04856700450181961,
-0.035713206976652145,
-0.024412963539361954,
0.01575745828449726,
0.005012055393308401,
-0.02537468634545803,
-0.056297775357961655,
0.0027718886267393827,
-0.046495597809553146,
-0.0010911854915320873,
-0.08182042092084885,
0.03321642801165581,
-0.02825985476374626,
-0.011124543845653534,
-0.06236402690410614,
0.06258596479892731,
0.060292623937129974,
-0.05189604312181473,
-0.04201988875865936,
0.05296873301267624,
0.03221771493554115,
-0.02635490521788597,
-0.05725949630141258,
-0.05526207387447357,
-0.009950132109224796,
-0.06887415051460266,
-0.00787410605698824,
-0.02313683182001114,
0.0014159980928525329,
0.029776418581604958,
-0.06506425142288208,
0.0018980155000463128,
0.03634202480316162,
0.013593582436442375,
0.03277255594730377,
-0.018994025886058807,
-0.0035417291801422834,
-0.014065196737647057,
0.03806202858686447,
0.032365672290325165,
0.04915883392095566,
-0.01377852912992239,
0.006986361462622881,
-0.012863042764365673,
-0.03158889710903168,
0.002686350839212537,
0.011438952758908272,
0.05548400804400444,
0.001619439572095871,
-0.05426336079835892,
-0.023155326023697853,
-0.029147598892450333,
0.025874042883515358,
0.020510587841272354,
0.022138118743896484,
-0.012132503092288971,
-0.03987450897693634,
0.004325441084802151,
0.02541167661547661,
-0.042722687125205994,
0.012927774339914322,
-0.052487872540950775,
0.009136366657912731,
0.024228017777204514,
-0.015618748962879181,
0.0406142957508564,
0.08130256831645966,
-0.06595199555158615,
-0.013306914828717709,
0.03075663559138775,
0.06617392599582672,
-0.018975531682372093,
-0.04675452411174774,
0.030775129795074463,
-0.014203906059265137,
-0.009122495539486408,
-0.020898977294564247,
0.10460585355758667,
0.018189508467912674,
0.008257869631052017,
-0.03806202858686447,
-0.028555769473314285,
0.050157543271780014,
0.015997888520359993,
-0.019955748692154884,
0.007652169559150934,
-0.01347336731851101,
-0.032180726528167725,
-0.02485683560371399,
-0.05748143419623375,
0.03883880749344826,
-0.10098090022802353,
-0.029665449634194374,
0.06528618186712265,
0.04790119454264641,
0.025800064206123352,
-0.019548865035176277,
0.016756171360611916,
-0.07312792539596558,
0.04915883392095566,
-0.0527837872505188,
-0.03939364477992058,
-0.004743882920593023,
0.008845075964927673,
0.036452993750572205,
0.018938541412353516,
-0.02322930470108986,
0.00031787712941877544,
-0.00924733467400074,
-0.010301531292498112,
-0.07605008035898209,
0.0431295707821846,
-0.027427595108747482,
-0.036915361881256104,
0.030127817764878273,
0.007018727250397205,
0.024228017777204514,
-0.008290235884487629,
-0.011374222114682198,
0.0121047617867589,
-0.0633627399802208,
0.012493149377405643,
-0.0073932441882789135,
-0.02709469199180603,
0.027316628023982048,
-0.020288651809096336,
0.011263254098594189,
0.03467750549316406,
0.013741539791226387,
-0.011189275421202183,
0.01756993681192398,
0.021953172981739044,
-0.0289071686565876,
-0.026706302538514137,
-0.05563196539878845,
0.09358302503824234,
-0.00822550430893898,
-0.009478517808020115,
0.04024440050125122,
-0.025911033153533936,
0.04005945473909378,
0.0036665683146566153,
-0.015396812930703163,
0.025319203734397888,
0.0012322074035182595,
-0.003941676579415798,
-0.007670664228498936,
0.03550976514816284,
-0.03750719130039215,
-0.09424883872270584,
0.013649065978825092,
0.01742197945713997,
0.03573170304298401,
-0.019400907680392265,
0.015600253827869892,
-0.008304107002913952,
0.019918758422136307,
0.020140694454312325,
0.01863338053226471,
0.013436377979815006,
0.005335712339729071,
-0.012974010780453682,
0.029535988345742226,
-0.012585623189806938,
-0.08196837455034256,
-0.018004560843110085,
-0.03787708282470703,
-0.007444104645401239,
-0.04242677241563797,
0.02853727526962757,
0.02012220025062561,
0.012909279204905033,
0.0027325875125825405,
-0.027316628023982048,
0.018429938703775406,
-0.0005187176866456866,
-0.005368077661842108,
0.051785074174404144,
-0.01410218607634306,
0.009839164093136787,
0.017172301188111305,
-0.048160120844841,
-0.04516398161649704,
-0.013944980688393116,
0.002545328810811043,
0.022101130336523056,
-0.03545428067445755,
0.05226593837141991,
0.04889990761876106,
0.061550259590148926,
0.0068106623366475105,
0.0007103108800947666,
-0.051378194242715836,
-0.08455763012170792,
-0.020566072314977646,
-0.05089733004570007,
0.017033590003848076,
0.05670465901494026,
-0.04320354759693146,
0.05444830656051636,
0.03384524583816528,
-0.037192780524492264,
-0.020270157605409622,
0.05226593837141991,
-0.00922421645373106,
0.0047022695653140545,
-0.04264870658516884,
0.025522643700242043,
0.015720469877123833,
-0.032828040421009064,
0.06517521291971207,
0.01956736110150814,
0.096320241689682,
-0.0017015095800161362,
0.02663232386112213,
-0.005562271922826767,
-0.009205722250044346,
0.029813406988978386,
-0.007494965102523565,
-0.06040359288454056,
-0.0198447797447443,
-0.009654217399656773,
-0.055594976991415024,
0.010449488647282124,
0.029535988345742226,
0.033475350588560104,
0.003238879144191742,
-0.007656793110072613,
0.02755705825984478,
-0.012668848969042301,
-0.0025522643700242043,
0.01098583359271288,
0.02761254273355007,
0.022748444229364395,
0.0010397472651675344,
0.003974042367190123,
0.009312066249549389,
0.034085676074028015,
0.019900264218449593,
0.02291489578783512,
0.01498993020504713,
-0.018670368939638138,
-0.04301860183477402,
-0.004260709509253502,
-0.0028343081939965487,
0.06480532139539719,
-0.04002246633172035,
0.07235115021467209,
-0.0094600236043334,
0.03136695921421051,
-0.07231415808200836,
-0.04335150495171547,
0.006644210312515497,
0.009839164093136787,
-0.011346479877829552,
-0.020270157605409622,
-0.03349384665489197,
-0.010430993512272835,
0.07560621201992035,
-0.016691438853740692,
-0.029314052313566208,
0.056260786950588226,
-0.023821134120225906,
-0.003974042367190123,
-0.0009628787520341575,
0.0224895179271698,
0.06598898023366928,
-0.034455571323633194,
0.015526275150477886,
-0.03164438158273697,
0.03917171061038971,
0.023969091475009918,
0.0015339016681537032,
-0.00675055431202054,
0.029295556247234344,
0.03560223802924156,
-0.02835232950747013,
-0.0028204370755702257,
0.023543713614344597,
0.006302058696746826,
-0.07494039833545685,
0.01041249930858612,
0.05489217862486839,
-0.03118201345205307,
0.013889497146010399,
-0.02239704504609108,
-0.0326061025261879,
0.009774432517588139,
-0.03375277295708656,
-0.006644210312515497,
0.02012220025062561,
-0.026650819927453995,
-0.01687638647854328,
0.00512302340939641,
0.05844315513968468,
0.007698406465351582,
0.029813406988978386
] |
730,086 | mmengine.fileio.file_client | parse_uri_prefix | Parse the prefix of a uri.
Args:
uri (str | Path): Uri to be parsed that contains the file prefix.
Examples:
>>> FileClient.parse_uri_prefix('s3://path/of/your/file')
's3'
Returns:
str | None: Return the prefix of uri if the uri contains '://' else
``None``.
| @staticmethod
def parse_uri_prefix(uri: Union[str, Path]) -> Optional[str]:
"""Parse the prefix of a uri.
Args:
uri (str | Path): Uri to be parsed that contains the file prefix.
Examples:
>>> FileClient.parse_uri_prefix('s3://path/of/your/file')
's3'
Returns:
str | None: Return the prefix of uri if the uri contains '://' else
``None``.
"""
assert is_filepath(uri)
uri = str(uri)
if '://' not in uri:
return None
else:
prefix, _ = uri.split('://')
# In the case of PetrelBackend, the prefix may contains the cluster
# name like clusterName:s3
if ':' in prefix:
_, prefix = prefix.split(':')
return prefix
| (uri: Union[str, pathlib.Path]) -> Optional[str] | [
-0.057327352464199066,
0.0034588645212352276,
-0.024602387100458145,
0.00722909439355135,
-0.003874018555507064,
0.008357230573892593,
0.046569447964429855,
0.06342831254005432,
0.0997091606259346,
-0.06382541358470917,
0.01879023015499115,
0.0006086293142288923,
-0.023663777858018875,
-0.01329395268112421,
0.02723771147429943,
0.0014699610183015466,
0.0016166187124326825,
0.04140709713101387,
0.009286814369261265,
0.011173057369887829,
-0.03707505762577057,
0.023501325398683548,
0.048013463616371155,
0.018699979409575462,
-0.0016809224616736174,
0.030306242406368256,
0.011398684233427048,
-0.04147930070757866,
0.015450948849320412,
0.005387976765632629,
0.057688355445861816,
-0.0021806866861879826,
-0.02702111005783081,
0.05519743263721466,
0.023826228454709053,
-0.003086579730734229,
0.0022246839944273233,
0.06837406009435654,
-0.08736284077167511,
-0.044620029628276825,
-0.043392617255449295,
0.0013402254553511739,
-0.0037070545367896557,
-0.02052304707467556,
0.042165204882621765,
0.04689435288310051,
-0.0059791202656924725,
0.029800835996866226,
0.004674994852393866,
0.004435830283910036,
0.05613604187965393,
0.05801325663924217,
-0.031118499115109444,
-0.022797368466854095,
-0.06032368168234825,
0.019385887309908867,
0.008230878971517086,
0.02268906868994236,
-0.08469141274690628,
0.11039486527442932,
-0.007996226660907269,
0.006908704061061144,
-0.004379423335194588,
0.0013210470788180828,
0.0019110621651634574,
-0.04350091889500618,
0.03635305166244507,
-0.033140119165182114,
-0.03945767879486084,
-0.02716551162302494,
-0.00972001813352108,
0.0013864790089428425,
-0.009765144437551498,
-0.02593809925019741,
0.06368101388216019,
-0.01850142888724804,
0.0000920840902836062,
0.020180094987154007,
0.027490414679050446,
0.03166000545024872,
-0.03527003899216652,
-0.019963491708040237,
0.006064858287572861,
-0.05895186588168144,
0.05559453368186951,
-0.028302673250436783,
-0.01629028096795082,
-0.010613502003252506,
-0.02276126854121685,
0.03063114546239376,
-0.036389149725437164,
-0.02694891020655632,
-0.024692637845873833,
0.015820976346731186,
-0.01944003626704216,
-0.049168672412633896,
0.004605050664395094,
-0.048013463616371155,
0.004417779855430126,
-0.0505765862762928,
-0.039277177304029465,
0.03584764525294304,
-0.04487273097038269,
0.017526717856526375,
0.01387155894190073,
0.025956150144338608,
0.023808179423213005,
-0.03548664227128029,
0.021281154826283455,
0.017842596396803856,
-0.006534162908792496,
-0.12519600987434387,
0.009927595965564251,
0.056460943073034286,
0.042815010994672775,
-0.033844076097011566,
0.007427646312862635,
-0.0039552440866827965,
0.04184030368924141,
-0.011407709680497646,
-0.018348000943660736,
0.04508933424949646,
-0.0354144424200058,
-0.012517795898020267,
0.05700244754552841,
-0.04068509116768837,
0.03404262661933899,
-0.00009694917389424518,
-0.015459973365068436,
0.00986441969871521,
0.028501223772764206,
0.06158719211816788,
-0.08057597279548645,
-0.03626279905438423,
-0.009011548943817616,
0.05848256126046181,
0.0009752734331414104,
0.07739914208650589,
-0.052345503121614456,
0.028699776157736778,
0.012869773432612419,
0.016091730445623398,
-0.038266368210315704,
-0.051767896860837936,
-0.052850909531116486,
0.013212727382779121,
0.019421987235546112,
-0.052634306252002716,
0.001873833709396422,
0.02203926257789135,
0.0029782785568386316,
-0.012436569668352604,
0.04176810011267662,
0.04999898001551628,
0.009431215934455395,
-0.042381808161735535,
-0.027201611548662186,
-0.05151519551873207,
0.010062972083687782,
-0.028988579288125038,
-0.007183969020843506,
-0.03171415627002716,
0.031966857612133026,
-0.09905935078859329,
-0.00644842442125082,
0.008637008257210255,
0.0014180667931213975,
-0.01785162091255188,
-0.016705436632037163,
-0.028627576306462288,
0.01307735126465559,
0.03014378994703293,
-0.03786926344037056,
0.024620436131954193,
0.04350091889500618,
0.02521609328687191,
0.009963695891201496,
0.003998113330453634,
-0.05212889984250069,
-0.0205952487885952,
0.058193761855363846,
-0.021985111758112907,
0.012228992767632008,
0.006633438635617495,
0.03084774687886238,
0.010279573500156403,
0.03151560202240944,
-0.0031971370335668325,
0.07725474238395691,
0.016245156526565552,
-0.046786051243543625,
-0.0019313686061650515,
-0.044692229479551315,
0.05617213994264603,
0.03584764525294304,
-0.07754354923963547,
0.09689333289861679,
-0.006403299048542976,
-0.00986441969871521,
-0.011858964338898659,
0.0027684452943503857,
0.022057311609387398,
-0.062020398676395416,
0.04451172798871994,
-0.01473796647042036,
-0.0060377828776836395,
0.048230063170194626,
0.050323884934186935,
-0.08375280350446701,
0.03063114546239376,
-0.043825820088386536,
-0.03099214844405651,
-0.010568376630544662,
0.014819192700088024,
-0.003788280300796032,
-0.017526717856526375,
-0.032273709774017334,
0.09285009652376175,
0.025613196194171906,
0.03447583317756653,
0.023645726963877678,
0.023591576144099236,
0.0556306354701519,
-0.005690317135304213,
0.008903248235583305,
-0.020035693421959877,
0.008862635120749474,
0.04126269742846489,
-0.003982319496572018,
-0.007761574815958738,
-0.017481593415141106,
-0.07292269915342331,
0.039710383862257004,
0.033428922295570374,
0.07339200377464294,
0.00009144951036432758,
0.06371711194515228,
0.024818988516926765,
0.055450133979320526,
-0.04097389429807663,
-0.008208316750824451,
-0.0019426499493420124,
0.0032715939451009035,
-0.0009380449773743749,
-0.030829695984721184,
0.015153121203184128,
0.011100856587290764,
-0.009183025918900967,
-0.005058560986071825,
-0.0022348370403051376,
-0.015667550265789032,
0.09458290785551071,
0.026028349995613098,
0.017526717856526375,
0.01727401651442051,
0.004343322943896055,
-0.051912300288677216,
-0.01383545808494091,
-0.025468794628977776,
0.0031655491329729557,
-0.055450133979320526,
-0.0527426078915596,
0.10519640892744064,
-0.03467438369989395,
-0.009828319773077965,
-0.033501122146844864,
0.015117020346224308,
0.005848256405442953,
0.01542387343943119,
0.006164134480059147,
0.04877156764268875,
0.009047649800777435,
0.007486309390515089,
-0.009981745854020119,
0.006628926377743483,
-0.04220130667090416,
-0.046786051243543625,
0.010496175847947598,
0.044114623218774796,
0.0010593195911496878,
-0.07826555520296097,
-0.025306344032287598,
0.0036348537541925907,
-0.016236132010817528,
0.039493780583143234,
-0.004887084476649761,
0.031912706792354584,
-0.007341908290982246,
0.01278854813426733,
-0.004846471827477217,
-0.0020046974532306194,
-0.02985498681664467,
-0.07631613314151764,
-0.033248420804739,
-0.034493882209062576,
0.03339282050728798,
0.0011879270896315575,
-0.021371405571699142,
0.031064348295331,
-0.002450311090797186,
-0.036461349576711655,
0.019782990217208862,
-0.014927493408322334,
-0.010351774282753468,
0.002921871840953827,
0.03240006044507027,
0.04797736182808876,
-0.03591984510421753,
0.002930897055193782,
0.005496277939528227,
-0.019024882465600967,
-0.03779706358909607,
-0.0592767708003521,
-0.04581134021282196,
0.025378543883562088,
0.1048354059457779,
0.009945645928382874,
0.0020227476488798857,
-0.01307735126465559,
0.0018806024454534054,
-0.06010707840323448,
0.0419125035405159,
-0.039782583713531494,
0.053428515791893005,
-0.036966755986213684,
-0.019042933359742165,
-0.046641647815704346,
0.03559494391083717,
-0.02485508844256401,
0.045703038573265076,
-0.0038582247216254473,
0.0014112979406490922,
-0.05035998299717903,
-0.008447481319308281,
-0.03268886357545853,
-0.08180338889360428,
0.016353458166122437,
-0.0343133807182312,
-0.0016075936146080494,
0.03691260516643524,
0.08476361632347107,
-0.03512563928961754,
0.0005612475797533989,
0.0025089741684496403,
-0.025179991498589516,
0.0006193465669639409,
0.011136957444250584,
-0.02283347025513649,
0.04205690324306488,
-0.009656842797994614,
0.007328370586037636,
-0.016100754961371422,
0.005852768663316965,
0.0006678564241155982,
0.07393351197242737,
0.013257852755486965,
-0.0426345095038414,
-0.04140709713101387,
0.035811543464660645,
0.052995309233665466,
0.07212849706411362,
-0.09949255734682083,
0.041370999068021774,
0.012292168103158474,
0.02254466712474823,
0.0015365210128948092,
0.023754028603434563,
0.03505343571305275,
-0.019530288875102997,
0.021732408553361893,
-0.00946731586009264,
-0.009819294326007366,
-0.0005056869122199714,
-0.08822924643754959,
-0.012589995749294758,
-0.0053609018214046955,
0.010992555879056454,
-0.039710383862257004,
-0.01763501949608326,
-0.0070531051605939865,
0.04068509116768837,
0.066496841609478,
0.002869977615773678,
0.05400611832737923,
-0.044042423367500305,
-0.022165613248944283,
0.004995385650545359,
-0.01170553732663393,
-0.06378931552171707,
0.036479402333498,
0.04653334617614746,
0.0008415893535129726,
0.0650167241692543,
-0.031623903661966324,
-0.016100754961371422,
-0.030071590095758438,
-0.048157863318920135,
-0.0455225370824337,
0.009629767388105392,
0.011904089711606503,
0.025179991498589516,
-0.09046746790409088,
-0.006457449868321419,
0.08057597279548645,
0.016606159508228302,
0.01253584586083889,
0.043031614273786545,
0.038266368210315704,
-0.026786457747220993,
-0.00787890050560236,
-0.022797368466854095,
-0.10238058865070343,
0.012219967320561409,
-0.004478699527680874,
0.008623470552265644,
0.039493780583143234,
0.02377207949757576,
-0.05548623576760292,
0.0079420767724514,
0.03335672244429588,
-0.048879869282245636,
-0.017842596396803856,
0.018239701166749,
0.05245380476117134,
0.07429451495409012,
-0.05259820446372032,
0.0168137364089489,
-0.048085663467645645,
0.022093413397669792,
0.016452733427286148,
0.007946589030325413,
-0.026317153126001358,
0.011335508897900581,
-0.04516153410077095,
0.029006628319621086,
-0.0030707858968526125,
0.007107255980372429,
0.046497248113155365,
-0.003170061856508255,
-0.07205629348754883,
-0.0009414293454028666,
0.012571945786476135,
-0.031912706792354584,
0.004841959103941917,
0.03620864823460579,
-0.014259637333452702,
-0.0534646138548851,
-0.001361659960821271,
-0.003215187229216099,
-0.0017982485005632043,
-0.13248828053474426,
-0.041009996086359024,
0.017003264278173447,
0.0018670648569241166,
0.01571267656981945,
-0.02687670849263668,
-0.017210841178894043,
0.04999898001551628,
-0.01573975197970867,
-0.04306771606206894,
0.009828319773077965,
0.052056699991226196,
0.041298799216747284,
-0.0383024699985981,
-0.0036890043411403894,
0.05599163845181465,
0.04306771606206894,
0.03258056193590164,
-0.05180399864912033,
-0.022869570180773735,
-0.001736201113089919,
-0.04674994945526123,
-0.0025292804930359125,
0.027039160951972008,
0.026642056182026863,
0.027779217809438705,
0.003641622606664896,
0.043464817106723785,
0.049385275691747665,
0.008637008257210255,
-0.052489906549453735,
-0.011940189637243748,
-0.014178411103785038,
0.056605346500873566,
0.0375804603099823,
0.018970731645822525,
-0.0028835153207182884,
0.020198144018650055,
0.019999591633677483,
-0.030161840841174126,
0.0012646402465179563,
0.07927636057138443,
-0.015117020346224308,
0.031894657760858536,
0.03463828191161156,
0.0019629562739282846,
0.030829695984721184,
0.05754395201802254,
-0.008785922080278397,
0.024476036429405212,
0.049385275691747665,
-0.023158373311161995,
-0.022815419360995293,
0.04999898001551628,
0.0036890043411403894,
-0.017346216365695,
-0.08440261334180832,
-0.009954670444130898,
-0.01629028096795082,
0.008970936760306358,
-0.037905365228652954,
0.06772425025701523,
0.07111768424510956,
0.05021558329463005,
-0.05555843561887741,
0.05599163845181465,
-0.0068545532412827015,
0.022237813100218773,
0.03945767879486084,
0.014927493408322334,
-0.026172751560807228,
-0.03599204495549202,
0.009521466679871082,
0.0048961094580590725,
-0.02855537459254265,
-0.016967162489891052,
-0.005478227511048317,
0.004796833731234074,
-0.014819192700088024,
0.021840710192918777,
0.00776608707383275,
0.025613196194171906,
0.004923184867948294,
-0.004104158375412226,
0.014792117290198803,
0.05007118359208107,
-0.0040770829655230045,
-0.0751609206199646,
0.00883104745298624,
0.023068122565746307,
0.03700285777449608,
0.005252600647509098,
-0.011470885016024113,
-0.03050479292869568,
-0.026172751560807228,
0.06898776441812515,
-0.022887621074914932,
0.022652968764305115,
0.05079318955540657,
0.010369825176894665,
0.06508892774581909,
-0.01958443783223629,
0.03120874986052513,
0.013645931147038937,
0.012761472724378109,
0.00892581045627594,
-0.001163108041509986,
-0.044981032609939575,
-0.02998133935034275,
-0.025595147162675858,
0.0071975067257881165,
-0.002982791280373931,
-0.024728737771511078,
0.07429451495409012,
-0.02290567010641098,
-0.00401841988787055,
-0.014494289644062519,
-0.03750826045870781,
0.044836632907390594,
0.024963390082120895,
-0.03577544540166855,
-0.03064919449388981,
0.03277911618351936,
-0.004869034513831139,
-0.04234570637345314,
0.025017540901899338,
0.044764429330825806,
-0.07382521033287048,
0.03276106342673302,
0.0028722339775413275,
0.022291963919997215,
-0.0195122379809618,
0.053428515791893005,
0.0007755933911539614,
-0.033122070133686066,
-0.0021626364905387163,
-0.01720181480050087,
0.02016204409301281,
-0.040432389825582504,
-0.02045084722340107,
-0.03952987864613533,
-0.004990872927010059,
0.004981847945600748,
-0.036461349576711655,
-0.007423134054988623,
-0.03272496536374092,
0.016741536557674408,
-0.058193761855363846,
0.039854783564805984,
0.040504589676856995,
0.00196972512640059,
0.021497756242752075,
0.025757597759366035,
0.055016931146383286,
-0.002939922036603093,
0.007978176698088646,
0.0004879187617916614,
0.0036596728023141623,
-0.022508567199110985,
-0.04971017688512802,
0.007991714403033257,
-0.009747093543410301,
-0.016109779477119446,
-0.007093718275427818,
-0.020270345732569695,
-0.006019732914865017,
0.019349785521626472,
-0.017743321135640144,
-0.028212420642375946,
-0.002734601264819503,
-0.016425658017396927,
0.017499644309282303,
-0.012517795898020267,
0.020631348714232445,
-0.014250611886382103,
-0.043753620237112045,
0.017941873520612717,
-0.03093799762427807,
-0.030865797773003578,
-0.07602733373641968,
0.03027014061808586,
-0.04061289131641388,
0.00016372071695514023,
-0.06848236173391342,
0.011155007407069206,
-0.036659903824329376,
0.00778413750231266,
0.016100754961371422,
-0.04249010980129242,
-0.03481878340244293,
-0.021768510341644287,
-0.04104609414935112,
-0.039926983416080475,
-0.020992351695895195,
0.024223333224654198,
-0.028501223772764206,
-0.02449408546090126,
-0.03532418981194496,
0.035143688321113586,
-0.013898633420467377,
0.027364064007997513,
0.009918570518493652,
0.006326586008071899,
0.029006628319621086,
0.018519477918744087,
0.06245360150933266,
0.03485488519072533,
-0.03027014061808586,
0.005315775983035564,
0.007341908290982246,
-0.004661457147449255,
-0.06635244190692902,
0.017346216365695,
0.06454741954803467,
-0.033122070133686066,
-0.027923619374632835,
0.039349377155303955,
-0.05100978910923004,
0.00845650676637888,
0.005753492936491966,
-0.007283245213329792,
0.0549086295068264,
-0.037038955837488174,
-0.019205383956432343,
0.0343133807182312,
-0.03427727892994881,
-0.004090620670467615,
-0.03452998399734497,
-0.003801817772909999,
0.002304781461134553,
0.011931165121495724,
-0.01491846889257431,
0.0005945275770500302,
0.01845630258321762,
0.021985111758112907,
0.012400469742715359,
0.04299551248550415,
-0.029241280630230904,
0.04350091889500618,
-0.015378748066723347,
0.00349496491253376,
0.023284723982214928,
0.02030644565820694,
0.07855435460805893,
-0.08028717339038849,
0.0354144424200058,
0.011795788072049618,
-0.022815419360995293,
-0.020180094987154007,
0.0006746252183802426,
0.0549086295068264,
0.012292168103158474,
-0.00935901515185833,
-0.04581134021282196,
0.0061054714024066925,
0.013068325817584991,
-0.027851417660713196,
-0.043031614273786545,
-0.06393371522426605,
0.08801265060901642,
-0.04400632530450821,
0.00008743052603676915,
0.017246941104531288,
-0.020992351695895195,
0.027580665424466133,
-0.00198551919311285,
-0.030215991660952568,
-0.036479402333498,
0.018483377993106842,
0.013799358159303665,
-0.03554079309105873,
-0.040215786546468735,
0.004679507575929165,
0.03611839935183525,
-0.025450745597481728,
-0.045775242149829865,
-0.013862533494830132,
0.010333724319934845,
-0.07985396683216095,
0.05050438642501831,
-0.02788751758635044,
0.05877136439085007,
0.02653375454246998,
-0.031262900680303574,
0.040287986397743225,
-0.03859127312898636,
0.05050438642501831,
-0.018681930378079414,
0.019241485744714737,
0.0006137058953754604,
-0.0016809224616736174,
-0.03050479292869568,
-0.025179991498589516,
0.028140220791101456,
0.018483377993106842,
-0.011985315009951591,
0.05700244754552841,
-0.002730088774114847,
-0.020342545583844185,
0.038194168359041214,
-0.004656944889575243,
0.011416735127568245,
0.02073965035378933,
0.0455225370824337,
-0.07963736355304718,
-0.09277789294719696,
-0.029945237562060356,
0.016750561073422432,
-0.04508933424949646,
-0.009692943654954433,
-0.043970223516225815,
0.030865797773003578,
0.03462023288011551,
0.041009996086359024,
-0.004882572218775749,
-0.005645191762596369,
-0.03425922989845276,
-0.025017540901899338
] |
730,087 | mmengine.fileio.file_client | put | Write data to a given ``filepath`` with 'wb' mode.
Note:
``put`` should create a directory if the directory of ``filepath``
does not exist.
Args:
obj (bytes): Data to be written.
filepath (str or Path): Path to write data.
| def put(self, obj: bytes, filepath: Union[str, Path]) -> None:
"""Write data to a given ``filepath`` with 'wb' mode.
Note:
``put`` should create a directory if the directory of ``filepath``
does not exist.
Args:
obj (bytes): Data to be written.
filepath (str or Path): Path to write data.
"""
self.client.put(obj, filepath)
| (self, obj: bytes, filepath: Union[str, pathlib.Path]) -> NoneType | [
-0.022622648626565933,
-0.0011110100895166397,
-0.1018618568778038,
0.017827536910772324,
0.03077433817088604,
-0.08713401854038239,
-0.008922331966459751,
0.09699824452400208,
-0.06836458295583725,
-0.03565507382154465,
0.003883183700963855,
-0.017707660794258118,
-0.010326613672077656,
-0.05045141652226448,
-0.026698492467403412,
0.027417760342359543,
-0.0003724773705471307,
-0.06891259551048279,
0.018581055104732513,
0.06336396932601929,
0.008691138587892056,
-0.0017906742868945003,
0.049560897052288055,
0.018238548189401627,
0.029130298644304276,
0.022845279425382614,
-0.019094817340373993,
0.027880145236849785,
-0.009932730346918106,
-0.00806606188416481,
0.0325896292924881,
-0.08172239363193512,
0.0216978769749403,
0.014171265996992588,
0.013340683653950691,
-0.022982282564044,
0.015181664377450943,
0.033993910998106,
-0.03327464684844017,
-0.007068507373332977,
-0.009778601117432117,
0.06672054529190063,
-0.007967590354382992,
-0.024044057354331017,
0.06514500826597214,
0.026578614488244057,
-0.014847719110548496,
0.08137988299131393,
0.019060567021369934,
-0.0037226330023258924,
0.022896654903888702,
-0.03880614787340164,
-0.03791562840342522,
-0.045519303530454636,
-0.012424475513398647,
0.020088089630007744,
0.02620185725390911,
0.0058526042848825455,
-0.044252023100852966,
0.046272821724414825,
-0.01767340861260891,
-0.0338740348815918,
0.04329300299286842,
-0.0610349141061306,
0.007470954209566116,
-0.00014636862033512443,
-0.06939210742712021,
0.016072183847427368,
0.005968200508505106,
0.0078091807663440704,
0.0032495439518243074,
-0.04442327842116356,
0.07199516892433167,
-0.020499099045991898,
-0.04825936630368233,
0.029198801144957542,
0.00031093298457562923,
0.026081979274749756,
0.029421431943774223,
0.03425079211592674,
0.0006818048423156142,
-0.061411671340465546,
-0.00711988378316164,
-0.031681984663009644,
-0.00995841808617115,
0.03904590383172035,
0.04212847724556923,
-0.031390853226184845,
-0.03829238563776016,
0.022656898945569992,
-0.024352313950657845,
-0.0042920527048408985,
-0.005505815148353577,
-0.06648078560829163,
0.029935192316770554,
-0.0292330514639616,
0.024917451664805412,
0.002468197839334607,
-0.009564533829689026,
0.03406241536140442,
-0.03791562840342522,
-0.03890890255570412,
0.05212970823049545,
0.0060281394980847836,
0.021303992718458176,
-0.08411994576454163,
0.022776776924729347,
-0.039182908833026886,
-0.03228137269616127,
-0.001553059439174831,
-0.010788999497890472,
0.004760859999805689,
-0.08261290937662125,
0.011097257025539875,
0.03863489627838135,
0.007162697147578001,
0.024318063631653786,
-0.008836704306304455,
0.030637335032224655,
-0.03325752168893814,
0.028890544548630714,
-0.041237954050302505,
-0.03630584105849266,
0.015412856824696064,
0.03507281094789505,
0.03055170737206936,
0.0610349141061306,
0.04432052746415138,
-0.022759651765227318,
-0.005390218459069729,
-0.02752051129937172,
0.01677432656288147,
-0.005492970813065767,
0.028719289228320122,
0.007017131429165602,
0.0479511097073555,
0.039730921387672424,
-0.025876473635435104,
-0.004675233270972967,
-0.037470366805791855,
0.03616883605718613,
-0.0713101476430893,
0.003181042382493615,
-0.054835520684719086,
0.09049059450626373,
0.022999407723546028,
-0.05517802760004997,
-0.06846733391284943,
-0.03603183478116989,
0.006704592611640692,
-0.01741652749478817,
0.03401103615760803,
0.008648325689136982,
0.026698492467403412,
-0.011491141282022,
-0.025396963581442833,
-0.0037611653096973896,
-0.010249549522995949,
-0.021303992718458176,
0.029181675985455513,
0.022811027243733406,
0.04336150363087654,
0.047574352473020554,
0.012929674237966537,
0.02878779172897339,
0.016063621267676353,
-0.014976159669458866,
0.053362734615802765,
0.004790829494595528,
0.013948635198175907,
-0.03437067195773125,
-0.012133343145251274,
-0.049595147371292114,
0.03074008598923683,
0.05678781494498253,
-0.010891752317547798,
-0.0041207983158528805,
-0.00019921651983167976,
0.039970673620700836,
0.01626056432723999,
-0.004949239548295736,
0.008948019705712795,
0.04356700927019119,
0.033463023602962494,
-0.0005522940191440284,
-0.004022327717393637,
-0.00019426622020546347,
0.0620281845331192,
0.011182883754372597,
0.017844663932919502,
-0.002481041708961129,
0.03955966606736183,
-0.0007610098109580576,
0.034387797117233276,
0.03373702988028526,
-0.014051388017833233,
0.04712909087538719,
-0.08288691937923431,
-0.03385690972208977,
0.11665820330381393,
0.0280342735350132,
0.003677678992971778,
0.06213093921542168,
-0.03349727392196655,
0.05651380866765976,
-0.000269992568064481,
0.04514254629611969,
0.023256288841366768,
-0.045039791613817215,
0.003228137269616127,
0.03524406626820564,
0.01097737904638052,
-0.024112557992339134,
-0.017467904835939407,
0.06285020709037781,
0.019779833033680916,
-0.0644257441163063,
0.03224712237715721,
-0.0010767593048512936,
0.05144469067454338,
0.025157207623124123,
0.043258752673864365,
-0.05014315992593765,
0.023050783202052116,
0.03651134669780731,
0.0041293613612651825,
0.009290527552366257,
-0.06497375667095184,
-0.009418968111276627,
-0.03904590383172035,
-0.014299705624580383,
0.03301776573061943,
0.0443890281021595,
-0.010309488512575626,
0.018101543188095093,
0.03572357818484306,
-0.0305174570530653,
0.010386552661657333,
-0.019557202234864235,
-0.011799397878348827,
0.0473688468337059,
-0.05021166428923607,
-0.00786483846604824,
0.020790230482816696,
-0.016252001747488976,
0.01183364912867546,
0.029918067157268524,
-0.03757312148809433,
-0.023564545437693596,
-0.07247468084096909,
0.06034989655017853,
-0.00007933875167509541,
-0.04661532863974571,
-0.0012619276531040668,
0.013571877032518387,
-0.028582286089658737,
0.04288199171423912,
-0.03127097338438034,
-0.012587166391313076,
0.019094817340373993,
-0.0655902698636055,
-0.028650788590312004,
0.024420814588665962,
0.010797562077641487,
-0.008254441432654858,
-0.01613212376832962,
-0.03361715376377106,
-0.007822024635970592,
-0.008656888268887997,
0.02471194788813591,
0.030928466469049454,
0.04462878406047821,
-0.001874160603620112,
-0.01789603941142559,
0.007449547294527292,
-0.047574352473020554,
-0.018974939361214638,
0.0352783165872097,
0.0005175080732442439,
-0.004478291142731905,
-0.024026932194828987,
-0.01626056432723999,
0.03538106754422188,
-0.03729911521077156,
0.038429390639066696,
-0.01423976756632328,
0.0038553548511117697,
0.0398336723446846,
-0.040244683623313904,
-0.012210407294332981,
-0.03702510893344879,
0.019471576437354088,
-0.05075967684388161,
0.015395731665194035,
0.008387163281440735,
0.021389620378613472,
-0.05576029047369957,
-0.011893588118255138,
0.07000862061977386,
-0.03075721301138401,
-0.02015659213066101,
0.08973708003759384,
0.04312174767255783,
0.014916220679879189,
0.002111775567755103,
-0.01299817580729723,
0.032658129930496216,
-0.03409666568040848,
-0.034148041158914566,
0.030072195455431938,
0.03144222870469093,
-0.047060590237379074,
-0.03426791727542877,
0.06911809742450714,
0.0636037215590477,
0.03228137269616127,
0.004700921475887299,
-0.00062133080791682,
-0.04284774139523506,
0.015370042994618416,
0.01023242436349392,
-0.04973215237259865,
-0.028582286089658737,
-0.029883816838264465,
0.06928935647010803,
-0.05774683877825737,
0.007072788663208485,
0.01655169576406479,
-0.015429981984198093,
-0.019728457555174828,
0.01299817580729723,
0.009239151142537594,
0.04205997288227081,
0.033702779561281204,
0.03904590383172035,
-0.005681350361555815,
-0.009650160558521748,
0.006845877040177584,
0.027160879224538803,
0.0954912081360817,
0.04777985438704491,
0.006696030031889677,
0.019488701596856117,
0.024574944749474525,
-0.016731511801481247,
0.013160867616534233,
-0.039251409471035004,
-0.014359644614160061,
-0.02676699496805668,
0.08103737980127335,
-0.03678535297513008,
0.0010574932675808668,
0.024318063631653786,
-0.02017371729016304,
-0.004343428649008274,
-0.014693589881062508,
0.024917451664805412,
-0.04229972884058952,
-0.007877682335674763,
-0.0800783559679985,
-0.019231820479035378,
-0.011499703861773014,
-0.014693589881062508,
-0.01436820812523365,
-0.0483621209859848,
-0.004187159240245819,
0.005587160587310791,
0.06298720836639404,
-0.0020796654280275106,
0.003998780157417059,
0.02827402949333191,
-0.018563929945230484,
-0.01703120768070221,
0.026287483051419258,
0.06497375667095184,
0.023564545437693596,
0.00719266664236784,
-0.02471194788813591,
-0.01890643686056137,
0.024335188791155815,
0.029078923165798187,
0.00198440533131361,
0.03616883605718613,
0.0025773721281439066,
0.0479511097073555,
0.01034373976290226,
0.04887588322162628,
0.01868380792438984,
0.021098488941788673,
-0.0068844095803797245,
0.014137014746665955,
0.01723671145737171,
0.02798289805650711,
-0.06350097060203552,
-0.015755364671349525,
-0.020773105323314667,
0.0651792585849762,
0.030928466469049454,
-0.001652600709348917,
-0.014248330146074295,
0.021235492080450058,
-0.04408077150583267,
-0.03135659918189049,
0.060418397188186646,
0.020773105323314667,
0.05552053451538086,
-0.04456028342247009,
0.02674986980855465,
0.04356700927019119,
-0.0036284434609115124,
-0.031921740621328354,
-0.005475845653563738,
0.04065569117665291,
-0.007655052468180656,
0.008297254331409931,
0.02601347677409649,
-0.047060590237379074,
-0.049115635454654694,
-0.012201844714581966,
0.0010296644177287817,
-0.03348014876246452,
-0.004640982486307621,
0.023050783202052116,
0.02698962576687336,
-0.038223884999752045,
-0.06106916442513466,
0.015036097727715969,
-0.11035605520009995,
0.03106546960771084,
0.0006288231816142797,
0.050314415246248245,
-0.033206142485141754,
-0.010163922794163227,
-0.004317740444093943,
0.03623734042048454,
-0.010206736624240875,
-0.005334561225026846,
-0.05319148302078247,
-0.016483193263411522,
0.045998815447092056,
0.038189634680747986,
-0.0404159352183342,
-0.030859963968396187,
-0.0039880769327282906,
-0.05096517875790596,
0.007239761296659708,
-0.03252112865447998,
-0.015721114352345467,
0.120905302464962,
0.017262399196624756,
0.033428773283958435,
-0.0675768181681633,
0.029712563380599022,
0.016252001747488976,
-0.02901042252779007,
-0.02623610757291317,
-0.03197311609983444,
-0.05808934569358826,
-0.021098488941788673,
-0.03377128019928932,
-0.021132739260792732,
-0.005505815148353577,
0.08274991810321808,
-0.0418202169239521,
-0.04901288449764252,
0.007980435155332088,
0.005839760415256023,
-0.00002473482527420856,
0.024660570546984673,
-0.04086119681596756,
0.009076460264623165,
-0.016928454861044884,
-0.01739940233528614,
0.02293090522289276,
0.03555232286453247,
0.033206142485141754,
0.01995108649134636,
0.04411502182483673,
-0.056137051433324814,
-0.05240371450781822,
0.022537020966410637,
-0.05596579611301422,
-0.019231820479035378,
0.03736761584877968,
0.024095432832837105,
-0.002386852167546749,
-0.008036091923713684,
0.03211011737585068,
0.095902219414711,
-0.01133701205253601,
0.03308626636862755,
0.012004902586340904,
-0.05127343535423279,
-0.03729911521077156,
0.008793891407549381,
0.03736761584877968,
-0.04517679661512375,
0.034901559352874756,
-0.09460069239139557,
-0.03423366695642471,
-0.03195599094033241,
-0.031236723065376282,
-0.04332725331187248,
-0.0313052237033844,
-0.02697249874472618,
-0.003977373242378235,
-0.017339464277029037,
-0.03305201604962349,
-0.031236723065376282,
-0.002078595105558634,
-0.04130645468831062,
0.03705935925245285,
-0.03599758446216583,
0.0022284421138465405,
-0.0037504618521779776,
0.0292330514639616,
-0.02721225470304489,
-0.019300321117043495,
-0.06134317070245743,
-0.05062267184257507,
0.014710715971887112,
-0.0433957539498806,
0.07891383022069931,
-0.009864228777587414,
0.04545080289244652,
0.0009729365701787174,
-0.02500307932496071,
-0.038703396916389465,
-0.013032427057623863,
0.026886872947216034,
-0.02519145794212818,
-0.017827536910772324,
-0.00013579904043581337,
0.015789614990353584,
0.05473276600241661,
0.0047437348403036594,
0.04055294021964073,
-0.03531256690621376,
0.03716211020946503,
-0.022297266870737076,
-0.019248945638537407,
-0.05370524525642395,
-0.01989971101284027,
-0.04092969745397568,
0.0008364685927517712,
-0.019214695319533348,
-0.027948647737503052,
-0.038977403193712234,
0.01677432656288147,
-0.038669146597385406,
0.028924794867634773,
-0.02366729825735092,
0.024883201345801353,
0.05969913303852081,
-0.03853214159607887,
0.03760737180709839,
-0.006250769831240177,
-0.03966241702437401,
0.012878297828137875,
-0.03236699849367142,
-0.013297870755195618,
0.03479880467057228,
0.00398593582212925,
0.01688564009964466,
0.0505199208855629,
0.04267648980021477,
0.029164550825953484,
0.019248945638537407,
0.03234987333416939,
-0.05325998365879059,
0.0037975567393004894,
0.09562821686267853,
0.020790230482816696,
-0.04877312853932381,
0.05045141652226448,
0.028702164068818092,
-0.030603082850575447,
0.016431817784905434,
0.013948635198175907,
-0.031390853226184845,
-0.0677480697631836,
-0.013392060063779354,
-0.06439149379730225,
-0.004525385797023773,
0.02549971453845501,
-0.03411379083991051,
0.04514254629611969,
0.02145812101662159,
-0.05281472206115723,
-0.015395731665194035,
-0.009932730346918106,
0.04291624203324318,
0.016979830339550972,
-0.027075251564383507,
0.03234987333416939,
0.001703977002762258,
0.012938236817717552,
-0.063774973154068,
0.06223369017243385,
-0.002907036105170846,
0.012552916072309017,
-0.026921123266220093,
-0.04688933491706848,
0.040484435856342316,
-0.0065804338082671165,
0.0780918076634407,
-0.07665327191352844,
0.012552916072309017,
0.017502155154943466,
-0.026167605072259903,
-0.013263619504868984,
0.0302263256162405,
0.03157922998070717,
0.040210429579019547,
-0.009590222500264645,
0.03176761046051979,
-0.029164550825953484,
0.0006962544284760952,
-0.05774683877825737,
0.013314995914697647,
-0.00971866212785244,
-0.07233767211437225,
0.01622631400823593,
0.040004927664995193,
-0.0574728325009346,
-0.0368538536131382,
0.0037097891326993704,
-0.03430216759443283,
-0.010121108964085579,
-0.040998198091983795,
-0.024917451664805412,
0.01820429600775242,
0.02752051129937172,
0.04394376650452614,
0.04743734747171402,
-0.01894068904221058,
-0.036922354251146317,
-0.0075908321887254715,
0.009376154281198978,
-0.042744990438222885,
0.005818353500217199,
0.01762203313410282,
0.003908871673047543,
-0.007817743346095085,
0.0026052009779959917,
0.018735183402895927,
0.0328807607293129,
-0.05832910165190697,
-0.03483305498957634,
-0.025122957304120064,
-0.02368442341685295,
-0.006310708820819855,
0.0011591752991080284,
-0.005338842514902353,
0.038669146597385406,
0.04243673384189606,
0.10124534368515015,
-0.026681367307901382,
0.02950705774128437,
0.02394130453467369,
0.008836704306304455,
-0.03558657318353653,
-0.010891752317547798,
-0.025294210761785507,
-0.06904959678649902,
0.058637358248233795,
-0.0013496952597051859,
-0.06487099826335907,
-0.021115614101290703,
-0.008870955556631088,
0.022280141711235046,
0.06812483072280884,
-0.022656898945569992,
-0.044526029378175735,
0.021064238622784615,
0.012955362908542156,
-0.019745582714676857,
-0.04329300299286842,
-0.01666301116347313,
0.008168813772499561,
-0.04661532863974571,
-0.013032427057623863,
-0.0008321872446686029,
-0.003938841167837381,
-0.013332121074199677,
0.06000738963484764,
0.054561514407396317,
0.038189634680747986,
-0.0034486267250031233,
-0.041272204369306564,
-0.009615910239517689,
-0.02752051129937172,
-0.043258752673864365,
-0.0181357953697443,
-0.028633663430809975,
-0.016089310869574547,
0.05956212803721428,
0.03589482977986336,
0.05620555207133293,
-0.041237954050302505,
-0.010266675613820553,
0.05069117248058319,
0.004478291142731905,
0.0027122346218675375,
-0.016491757705807686,
-0.05247221514582634,
-0.01945445127785206,
-0.052883222699165344,
0.05778108909726143,
-0.05075967684388161,
-0.013374934904277325,
0.003656272077932954,
0.016174936667084694,
-0.05897986516356468,
-0.0014781358186155558,
0.045998815447092056,
-0.018546804785728455,
0.023153536021709442,
-0.001220184494741261,
-0.0499376580119133,
0.011003067716956139,
0.013631816022098064,
0.02998656965792179,
-0.03603183478116989,
0.01996821165084839,
-0.0863804966211319,
-0.03603183478116989,
0.018598180264234543,
-0.03074008598923683,
0.007911933586001396,
0.06148017197847366,
-0.020242217928171158,
0.015601236373186111,
0.00786483846604824,
-0.034644678235054016,
-0.0079718716442585,
0.024797573685646057,
-0.02496882900595665,
0.03801837936043739,
0.06877559423446655,
0.0050605544820427895,
0.0029926630668342113,
0.00042679699254222214,
-0.0701456218957901,
0.08131138235330582,
-0.023136410862207413,
0.06058965250849724,
0.04788260906934738,
-0.014556586742401123,
0.03234987333416939,
0.024095432832837105,
-0.048533372581005096,
-0.009436093270778656,
0.05065692216157913,
0.07795480638742447,
-0.00391315296292305,
-0.04219697788357735,
0.039491165429353714,
0.020824482664465904,
-0.0181357953697443,
-0.044800035655498505,
-0.03161348029971123,
-0.0003470568626653403,
0.0002647746878210455,
0.007051382213830948,
0.06928935647010803,
-0.037470366805791855,
0.017810411751270294
] |
730,088 | mmengine.fileio.file_client | put_text | Write data to a given ``filepath`` with 'w' mode.
Note:
``put_text`` should create a directory if the directory of
``filepath`` does not exist.
Args:
obj (str): Data to be written.
filepath (str or Path): Path to write data.
encoding (str, optional): The encoding format used to open the
`filepath`. Defaults to 'utf-8'.
| def put_text(self, obj: str, filepath: Union[str, Path]) -> None:
"""Write data to a given ``filepath`` with 'w' mode.
Note:
``put_text`` should create a directory if the directory of
``filepath`` does not exist.
Args:
obj (str): Data to be written.
filepath (str or Path): Path to write data.
encoding (str, optional): The encoding format used to open the
`filepath`. Defaults to 'utf-8'.
"""
self.client.put_text(obj, filepath)
| (self, obj: str, filepath: Union[str, pathlib.Path]) -> NoneType | [
-0.025979887694120407,
-0.02689562737941742,
-0.06525496393442154,
0.01624590903520584,
0.05575840175151825,
-0.0656958818435669,
0.003171174321323633,
0.06735777854919434,
-0.008220463991165161,
0.0064864931628108025,
-0.004582940600812435,
-0.0406317301094532,
-0.0038028655108064413,
-0.04751674085855484,
-0.024199282750487328,
0.03520512208342552,
-0.05660631135106087,
-0.0656619593501091,
0.03493379056453705,
0.035476453602313995,
0.0017848454881459475,
-0.028998438268899918,
0.03530687093734741,
0.012498158030211926,
0.02794703282415867,
0.0015188144752755761,
-0.029524141922593117,
0.002452572574838996,
-0.017365146428346634,
-0.01814522221684456,
0.02062111161649227,
-0.09571180492639542,
0.01636461541056633,
-0.007037632633000612,
-0.0396142415702343,
-0.03033813275396824,
0.005460524931550026,
-0.0276248287409544,
0.00948808528482914,
-0.04470168799161911,
-0.023283541202545166,
0.12047071009874344,
-0.012896673753857613,
-0.01989191211760044,
0.019518831744790077,
0.005956550594419241,
-0.03635827824473381,
0.06756127625703812,
-0.011590896174311638,
-0.018416551873087883,
0.0024631714913994074,
-0.029948094859719276,
-0.05545315518975258,
-0.028930606320500374,
-0.06325390189886093,
0.006422899663448334,
0.022893505170941353,
0.018467426300048828,
-0.031626950949430466,
-0.02835403010249138,
0.009310024790465832,
-0.017263397574424744,
0.04646533355116844,
-0.011175421997904778,
0.01516058761626482,
-0.005405410658568144,
-0.02801486663520336,
0.008987820707261562,
0.027370456606149673,
-0.007308963220566511,
0.020349781960248947,
-0.05063704028725624,
0.06233816593885422,
-0.04202229902148247,
-0.02335137501358986,
0.006745104677975178,
-0.012803404591977596,
0.040801312774419785,
0.035069458186626434,
0.02270696498453617,
-0.015872830525040627,
-0.03378063812851906,
0.006367785856127739,
-0.03033813275396824,
0.009564397856593132,
-0.009767895564436913,
0.020926358178257942,
-0.01698358915746212,
-0.02659038081765175,
-0.004241657443344593,
-0.0010630640899762511,
-0.04470168799161911,
-0.008207744918763638,
-0.03032117523252964,
-0.0071436213329434395,
-0.02053632214665413,
0.04470168799161911,
-0.05016221106052399,
-0.024419737979769707,
0.02770962007343769,
-0.04012298583984375,
0.007559095975011587,
0.05972661077976227,
-0.007186016533523798,
0.04290412366390228,
-0.11633291840553284,
-0.0023762609343975782,
-0.029049312695860863,
0.014634884893894196,
0.027285665273666382,
-0.012413366697728634,
-0.03218657150864601,
-0.04310762137174606,
-0.007703240495175123,
0.06589937955141068,
-0.02835403010249138,
-0.032881855964660645,
-0.004544784780591726,
0.02063807100057602,
-0.06691686809062958,
0.03462854400277138,
-0.04303978756070137,
-0.056843724101781845,
-0.012540552765130997,
0.003760470077395439,
0.01676313206553459,
0.061863336712121964,
0.03033813275396824,
0.016118722036480904,
-0.00953896064311266,
-0.026319051161408424,
0.01770430989563465,
0.029235852882266045,
-0.0076820426620543,
0.03281402215361595,
0.05999793857336044,
0.00995443481951952,
-0.010759946890175343,
0.027980949729681015,
-0.019434042274951935,
0.040462151169776917,
-0.08173829317092896,
-0.008979341015219688,
-0.0521293580532074,
0.05680980905890465,
0.04280237480998039,
-0.03469637781381607,
-0.09157402068376541,
-0.04700799658894539,
-0.0015410720370709896,
0.010547970421612263,
0.027166958898305893,
-0.023402249440550804,
-0.006062539294362068,
-0.005117122083902359,
-0.014075265266001225,
-0.014923173002898693,
0.011285649612545967,
-0.027862243354320526,
0.05202760919928551,
0.024979356676340103,
0.044328607618808746,
0.03686702251434326,
0.061015427112579346,
0.028421862050890923,
0.05565665289759636,
0.02584422193467617,
0.008313734084367752,
0.0008648657239973545,
-0.009971393272280693,
0.0072114537470042706,
-0.031135166063904762,
-0.07515852898359299,
0.049755215644836426,
0.03564603254199028,
0.03356018289923668,
0.004048758652061224,
0.013354544527828693,
0.05701330676674843,
0.03300056234002113,
-0.031016459688544273,
-0.01823001354932785,
0.022249095141887665,
0.024538444355130196,
0.011726561933755875,
-0.027794409543275833,
-0.01605936884880066,
0.05697938799858093,
-0.01052253320813179,
0.007762593682855368,
0.02124856412410736,
-0.007843145169317722,
-0.0035082176327705383,
0.03289881348609924,
0.0002991523942910135,
-0.00316693470813334,
0.05813254415988922,
-0.10358038544654846,
-0.06213466823101044,
0.05972661077976227,
0.05803079530596733,
0.013676749542355537,
0.06372873485088348,
-0.00850027333945036,
0.06966408342123032,
0.009411773644387722,
0.034764211624860764,
0.014745112508535385,
-0.026827795431017876,
0.01999366097152233,
0.03666352480649948,
-0.001220986945554614,
-0.02887973189353943,
0.006503451149910688,
0.07020674645900726,
0.025878138840198517,
-0.07800749689340591,
0.033916302025318146,
0.014626405201852322,
0.03406892716884613,
0.009708541445434093,
0.04751674085855484,
-0.04300587251782417,
0.04941605404019356,
0.05379125475883484,
-0.003783787600696087,
0.016500281170010567,
-0.02709912694990635,
0.024928482249379158,
-0.04619400575757027,
-0.008279817178845406,
0.015143629163503647,
-0.002923161257058382,
0.03571386635303497,
0.003997884225100279,
-0.0008309494005516171,
-0.04636358469724655,
-0.021502936258912086,
-0.005770010873675346,
-0.028286196291446686,
0.035917364060878754,
-0.0396142415702343,
-0.015024921856820583,
0.015652373433113098,
-0.0027069449424743652,
0.020824609324336052,
0.006948602385818958,
-0.017466895282268524,
0.015677811577916145,
-0.0749550312757492,
0.06756127625703812,
0.011506105773150921,
-0.059353530406951904,
0.008169589564204216,
-0.02489456720650196,
-0.022147346287965775,
0.02989722043275833,
-0.03201698884367943,
-0.02582726441323757,
0.021011149510741234,
-0.04344678297638893,
-0.018586134538054466,
-0.016797048971056938,
0.045278266072273254,
0.010921049863100052,
-0.04280237480998039,
-0.05647064372897148,
0.025081105530261993,
-0.02292742021381855,
-0.002921041566878557,
-0.0017551686614751816,
0.06410181522369385,
0.006367785856127739,
-0.034018050879240036,
-0.029456309974193573,
-0.0025479623582214117,
-0.030151592567563057,
0.04836464673280716,
0.0034361453726887703,
-0.01616111770272255,
-0.017670392990112305,
0.007970331236720085,
0.04314153641462326,
-0.05816645920276642,
0.05864128842949867,
-0.02542026899755001,
0.004799156915396452,
0.019722329452633858,
-0.029575016349554062,
-0.013778498396277428,
-0.016618987545371056,
0.02659038081765175,
-0.015872830525040627,
0.05009438097476959,
0.008479075506329536,
0.02981243096292019,
-0.04015690088272095,
-0.02499631606042385,
0.027862243354320526,
-0.06342348456382751,
0.020587196573615074,
0.06478013843297958,
0.022045597434043884,
-0.007970331236720085,
-0.028116615489125252,
-0.0008346590329892933,
-0.0016322220908477902,
-0.028727108612656593,
0.011463710106909275,
0.0007996828062459826,
0.007194495759904385,
-0.05114578455686569,
-0.008360369130969048,
0.09761112183332443,
0.023215709254145622,
0.049449969083070755,
-0.0017159529961645603,
-0.03500162437558174,
-0.03991948813199997,
-0.009106527082622051,
0.040496066212654114,
-0.075090691447258,
0.0040593575686216354,
-0.017856933176517487,
0.059048283845186234,
-0.07325921207666397,
0.015804996713995934,
-0.006499211769551039,
-0.0023232668172568083,
-0.011726561933755875,
0.03920724615454674,
0.019332293421030045,
0.028269238770008087,
-0.017890850082039833,
0.01999366097152233,
-0.0153725640848279,
0.0009708541911095381,
-0.022995254024863243,
0.016381574794650078,
0.08662223815917969,
0.04222579672932625,
0.0077117192558944225,
-0.027760494500398636,
0.0007726557669229805,
0.0013926881365478039,
0.0479237362742424,
-0.0007906738319434226,
-0.03311926871538162,
-0.005248547997325659,
0.05328251048922539,
-0.014550093561410904,
0.006516169756650925,
0.02221517823636532,
-0.03396717831492424,
-0.023164834827184677,
-0.015406480990350246,
0.008436680771410465,
-0.019959744065999985,
-0.003260204568505287,
-0.098018117249012,
-0.0521293580532074,
-0.015202982351183891,
-0.016305262222886086,
-0.003819823730736971,
-0.029659807682037354,
-0.020197158679366112,
0.005812406539916992,
0.08770755678415298,
-0.011480668559670448,
0.032457903027534485,
0.05063704028725624,
-0.016864880919456482,
0.006584002170711756,
0.039546407759189606,
0.052163273096084595,
0.05229894071817398,
0.0020975114312022924,
-0.031016459688544273,
-0.028387945145368576,
0.027336539700627327,
0.027387414127588272,
0.02825228124856949,
0.016313740983605385,
-0.004383682273328304,
0.031932197511196136,
0.02572551555931568,
0.02124856412410736,
0.013083213940262794,
0.002229996956884861,
-0.021825140342116356,
0.03374672308564186,
0.02387707680463791,
0.04324328526854515,
-0.04948388412594795,
-0.008038164116442204,
-0.006579762790352106,
0.05640280991792679,
0.026234259828925133,
0.0171786081045866,
0.03581561520695686,
0.005795448087155819,
-0.030897751450538635,
-0.06318607181310654,
0.031101249158382416,
0.0077117192558944225,
0.10351255536079407,
-0.05806471034884453,
0.029049312695860863,
0.01843351125717163,
0.026709089055657387,
-0.03432329744100571,
-0.005278224591165781,
0.07115640491247177,
-0.009598313830792904,
-0.0007853743736632168,
0.012413366697728634,
-0.05358775705099106,
-0.027692660689353943,
-0.03941074386239052,
0.014889257028698921,
-0.057488132268190384,
-0.01615263894200325,
0.012718613259494305,
0.04002123698592186,
-0.013846330344676971,
-0.05463916435837746,
0.020790694281458855,
-0.10229156911373138,
0.06725602596998215,
-0.0085893040522933,
0.03144041448831558,
-0.062541663646698,
-0.04073347896337509,
0.010480137541890144,
0.0002692106645554304,
-0.003340755822136998,
-0.01099736150354147,
-0.05535140633583069,
-0.04666883125901222,
0.009420253336429596,
0.07027457654476166,
-0.038596753031015396,
-0.023910993710160255,
0.019298376515507698,
-0.015788039192557335,
0.024623235687613487,
-0.0013746701879426837,
-0.033611055463552475,
0.07793966680765152,
0.01592370495200157,
0.04178488627076149,
0.006588242016732693,
0.015313210897147655,
0.027489162981510162,
-0.01592370495200157,
-0.025471143424510956,
0.02124856412410736,
-0.05535140633583069,
-0.028608402237296104,
-0.006918925791978836,
-0.06169375404715538,
0.016627468168735504,
0.06128675863146782,
-0.05294334888458252,
-0.008161110803484917,
-0.01863700896501541,
-0.021909931674599648,
0.015007964335381985,
-0.005439327098429203,
-0.05616539716720581,
-0.005702178459614515,
0.005422369111329317,
-0.04202229902148247,
0.014762070961296558,
0.03503553941845894,
0.045685261487960815,
-0.00473980326205492,
0.00880975928157568,
-0.04761848971247673,
-0.02542026899755001,
0.03293272852897644,
-0.055283572524785995,
0.010098579339683056,
0.021435104310512543,
0.0064652953296899796,
0.00916588120162487,
0.024877607822418213,
-0.0038177038077265024,
0.07753267139196396,
-0.006405941676348448,
0.04802548512816429,
0.018060430884361267,
-0.011090630665421486,
-0.0625755786895752,
-0.017992598935961723,
0.026183385401964188,
-0.06532280147075653,
0.05680980905890465,
-0.08926770836114883,
-0.04073347896337509,
-0.033102311193943024,
-0.022978294640779495,
-0.04354853183031082,
-0.0005940652335993946,
0.005121361929923296,
0.02426711469888687,
0.006533127743750811,
0.014160056598484516,
-0.002441973891109228,
0.0029994731303304434,
-0.046872328966856,
0.027896158397197723,
-0.015652373433113098,
0.008852154947817326,
0.02886277437210083,
-0.025555934756994247,
-0.04738107696175575,
-0.014160056598484516,
-0.03781667724251747,
-0.029625890776515007,
-0.043277204036712646,
-0.0192814189940691,
0.015465834178030491,
-0.038596753031015396,
0.07631168514490128,
0.003247485961765051,
-0.054333917796611786,
-0.013142567127943039,
-0.014533136039972305,
0.04649925231933594,
-0.02689562737941742,
-0.005193433724343777,
0.012591427192091942,
0.018179139122366905,
0.054435666650533676,
0.0027726576663553715,
0.03144041448831558,
0.005744573660194874,
0.05586015060544014,
0.03249181807041168,
-0.014075265266001225,
-0.036120861768722534,
-0.05409650132060051,
-0.02752307988703251,
0.04137789085507393,
-0.025369394570589066,
-0.008436680771410465,
-0.05345209315419197,
0.03203394636511803,
0.037986259907484055,
0.0076820426620543,
-0.04680449888110161,
-0.0050026546232402325,
0.08811455219984055,
-0.040496066212654114,
0.04493910074234009,
-0.015499750152230263,
-0.006622157990932465,
0.016635946929454803,
-0.032254405319690704,
-0.006045580841600895,
0.023894036188721657,
0.01646636426448822,
0.0045066289603710175,
0.05470699816942215,
0.0583699569106102,
0.015381043776869774,
0.030372049659490585,
0.007224172353744507,
-0.04755065590143204,
0.024199282750487328,
0.05613148212432861,
0.048398565500974655,
-0.06305040419101715,
-0.0007286705658771098,
0.012845799326896667,
0.0024568121880292892,
0.02499631606042385,
0.004267094656825066,
0.0026242739986628294,
-0.06400006264448166,
-0.01960362307727337,
-0.055487070232629776,
0.01926445960998535,
0.053723424673080444,
-0.01790780760347843,
0.06366089731454849,
0.01344781368970871,
-0.059658776968717575,
0.0078134685754776,
-0.02041761390864849,
0.03415371850132942,
0.04198838397860527,
-0.04002123698592186,
0.04843248054385185,
0.008317973464727402,
0.045583512634038925,
-0.04083522781729698,
0.07414104044437408,
-0.03376368060708046,
-0.014982527121901512,
-0.025555934756994247,
-0.06844309717416763,
0.07481936365365982,
-0.004332807846367359,
0.08519775420427322,
-0.036019112914800644,
-0.012684697285294533,
0.01187918521463871,
0.003908853977918625,
-0.015813475474715233,
0.021180730313062668,
0.018382636830210686,
-0.01780605874955654,
-0.0011881304671987891,
0.03581561520695686,
0.006851093377918005,
-0.03347539156675339,
0.006045580841600895,
0.008423961699008942,
0.046126171946525574,
-0.03805409371852875,
0.017059899866580963,
0.026912586763501167,
-0.044328607618808746,
0.011387398466467857,
0.0030079521238803864,
-0.06372873485088348,
-0.029252810403704643,
-0.06342348456382751,
-0.03483204171061516,
0.00744886789470911,
0.020485447719693184,
0.046940162777900696,
0.012277701869606972,
0.00792793557047844,
-0.05847170576453209,
-0.039546407759189606,
0.008445159532129765,
-0.06488189101219177,
-0.01089561264961958,
0.013736102730035782,
-0.011506105773150921,
-0.03001592867076397,
-0.006206683348864317,
0.023571830242872238,
-0.004498149733990431,
-0.061727672815322876,
-0.017144691199064255,
-0.030609464272856712,
-0.016915755346417427,
0.01792476698756218,
0.02503023110330105,
-0.022181261330842972,
0.04907688871026039,
0.04666883125901222,
0.08160262554883957,
-0.042971957474946976,
0.05087445303797722,
0.036426108330488205,
0.01960362307727337,
-0.003957608714699745,
-0.0007694761152379215,
-0.03927507996559143,
-0.03656177595257759,
0.020790694281458855,
0.002819292712956667,
-0.049856964498758316,
0.00270906463265419,
0.011014319024980068,
0.04626183584332466,
0.07909281551837921,
0.0019300496205687523,
-0.02406361699104309,
0.05535140633583069,
0.020875483751296997,
0.019094878807663918,
-0.05023004487156868,
0.011921580880880356,
-0.015398001298308372,
-0.04029256850481033,
0.00158346735406667,
-0.007364077493548393,
-0.0448373518884182,
-0.023080043494701385,
0.02887973189353943,
0.026420800015330315,
0.032763149589300156,
0.03410284221172333,
0.001104399561882019,
-0.03842717036604881,
-0.014533136039972305,
-0.07644734531641006,
-0.008220463991165161,
0.03062642179429531,
-0.03791842609643936,
0.07977114617824554,
0.0019152112072333694,
0.04222579672932625,
-0.032864898443222046,
0.010107058100402355,
0.03666352480649948,
-0.01990886963903904,
-0.046092256903648376,
-0.04324328526854515,
-0.05898045003414154,
0.003251725574955344,
-0.046940162777900696,
0.04212404787540436,
-0.06796827167272568,
-0.031830448657274246,
0.02324962615966797,
0.0343572162091732,
-0.04968738555908203,
0.024555403739213943,
0.03032117523252964,
0.009564397856593132,
0.025895096361637115,
0.009683104231953621,
-0.0791606530547142,
0.02677692100405693,
0.025403311476111412,
0.03062642179429531,
-0.0437520295381546,
0.020197158679366112,
-0.05460524931550026,
-0.035781700164079666,
0.01770430989563465,
-0.009505043737590313,
0.004057237878441811,
0.03428938239812851,
0.004354005213826895,
-0.006880769971758127,
0.006181246135383844,
-0.03713835030794144,
0.021418144926428795,
0.025793347507715225,
-0.05043354257941246,
0.014626405201852322,
0.07129206508398056,
-0.03252573311328888,
0.013956558890640736,
-0.028370987623929977,
-0.08614741265773773,
0.07542985677719116,
-0.012532074004411697,
0.062270332127809525,
0.027455247938632965,
-0.01256598997861147,
0.05067095533013344,
0.029456309974193573,
-0.035476453602313995,
-0.03483204171061516,
0.03598519787192345,
0.06959625333547592,
0.029456309974193573,
0.012396409176290035,
0.020468488335609436,
0.012057245709002018,
0.014600967988371849,
-0.038189757615327835,
-0.005617387592792511,
0.005028091836720705,
0.014092223718762398,
0.006151569541543722,
0.05531749129295349,
-0.03369584679603577,
0.018586134538054466
] |
730,089 | mmengine.fileio.file_client | remove | Remove a file.
Args:
filepath (str, Path): Path to be removed.
| def remove(self, filepath: Union[str, Path]) -> None:
"""Remove a file.
Args:
filepath (str, Path): Path to be removed.
"""
self.client.remove(filepath)
| (self, filepath: Union[str, pathlib.Path]) -> NoneType | [
-0.008782381191849709,
0.007918823510408401,
-0.03150258585810661,
0.008726250380277634,
-0.00014289180398918688,
-0.03170983865857124,
-0.007111397571861744,
0.08753020316362381,
-0.014050083234906197,
0.012150256894528866,
0.003318220376968384,
0.0033333327155560255,
-0.02937823161482811,
-0.01993091218173504,
-0.03682209923863411,
0.012590670958161354,
0.037685658782720566,
-0.019360963255167007,
-0.011735748499631882,
-0.05506043881177902,
0.004792745225131512,
-0.006239204201847315,
0.0015878666890785098,
0.0381692498922348,
-0.0017508631572127342,
0.059240058064460754,
0.0017530220793560147,
-0.0014475386124104261,
0.007059583906084299,
-0.04580309987068176,
0.009291880764067173,
-0.011001724749803543,
-0.045181337743997574,
-0.006023314781486988,
-0.010112260468304157,
0.05443867668509483,
-0.011951638385653496,
0.030466314405202866,
-0.07557857036590576,
-0.008842830546200275,
-0.04003453254699707,
0.06953366100788116,
0.0277892854064703,
-0.01167530007660389,
-0.000713514513336122,
0.014222795143723488,
-0.01666666381061077,
0.016260791569948196,
-0.009620032273232937,
0.014127803966403008,
0.03823833540081978,
0.03723660856485367,
-0.07233159244060516,
0.008203797973692417,
-0.0013903278158977628,
-0.048773739486932755,
0.032262515276670456,
0.0446632020175457,
-0.02094990946352482,
0.014697751961648464,
0.047564756125211716,
-0.025595849379897118,
-0.015431775711476803,
-0.04842831566929817,
0.04404144361615181,
-0.007379100192338228,
0.010803106240928173,
-0.006528496276587248,
0.027651116251945496,
-0.023281514644622803,
-0.048186518251895905,
0.004987045656889677,
0.04124351590871811,
-0.01187391858547926,
0.04086355119943619,
-0.010613123886287212,
0.023678751662373543,
0.043730560690164566,
0.04020724445581436,
-0.03848012909293175,
0.011778926476836205,
-0.048186518251895905,
-0.00866148341447115,
0.023005176335573196,
0.01806562766432762,
0.0037974948063492775,
0.09664937853813171,
-0.06155439093708992,
-0.050811734050512314,
0.038341961801052094,
0.002480569528415799,
-0.024093259125947952,
-0.03785837069153786,
-0.03495681658387184,
0.049568209797143936,
-0.029309147968888283,
0.013808287680149078,
-0.023074261844158173,
0.012227976694703102,
-0.050569936633110046,
0.006852330174297094,
-0.025284968316555023,
0.05979273468255997,
-0.02552676573395729,
0.0072797914035618305,
-0.01426597312092781,
0.04480137303471565,
-0.03037995845079422,
0.009041449055075645,
0.02229706011712551,
-0.06825559586286545,
-0.023471496999263763,
-0.006886872462928295,
0.0486355684697628,
0.03435232490301132,
-0.0020466316491365433,
-0.03172710910439491,
-0.024404140189290047,
0.05879100784659386,
-0.011563037522137165,
0.013177890330553055,
-0.06217615306377411,
-0.06089808791875839,
-0.025094985961914062,
0.04103625938296318,
0.013644210994243622,
0.03713298216462135,
0.009067355655133724,
-0.024075988680124283,
0.009257338009774685,
-0.08925732225179672,
-0.012815196067094803,
0.020759927108883858,
0.0016072967555373907,
-0.006930050440132618,
0.04970638081431389,
0.08753020316362381,
-0.040241789072752,
0.06583763659000397,
0.043316055089235306,
-0.0008678754675202072,
0.007357511669397354,
0.026701204478740692,
-0.005703798495233059,
0.0769602581858635,
0.001088082673959434,
-0.0381692498922348,
-0.04784109443426132,
-0.04224524274468422,
0.01096718292683363,
-0.06590672582387924,
0.02074265480041504,
0.010656301863491535,
-0.02233160100877285,
0.048186518251895905,
0.016407595947384834,
-0.01357512641698122,
0.03281519189476967,
-0.05892917513847351,
-0.02533678151667118,
0.03623488172888756,
0.07012088596820831,
0.04770292714238167,
-0.0369948111474514,
0.01867011748254299,
-0.03219342976808548,
0.0037111390847712755,
0.08006906509399414,
-0.006688254419714212,
0.04120897129178047,
-0.0458376407623291,
0.01773747429251671,
0.02113989181816578,
0.02174438163638115,
0.03575128689408302,
-0.03535405173897743,
0.040241789072752,
0.04521587863564491,
0.028670115396380424,
0.008428323082625866,
0.00769429886713624,
-0.04559584707021713,
0.028411047533154488,
0.0013644210994243622,
0.06376510113477707,
0.015423140488564968,
-0.020604485645890236,
0.02233160100877285,
0.029050080105662346,
0.005237477365881205,
-0.008937821723520756,
0.01853194832801819,
0.029464587569236755,
0.0572020597755909,
0.055129524320364,
-0.04100171849131584,
0.0683937668800354,
-0.04787563905119896,
-0.05606216564774513,
-0.04687391221523285,
0.035923998802900314,
0.0046286690048873425,
0.006515542510896921,
-0.04642486199736595,
0.0008765110396780074,
-0.004684800282120705,
0.02552676573395729,
-0.015362691134214401,
0.0010470637353137136,
0.07364419847726822,
0.014766836538910866,
-0.029861824586987495,
0.05433505028486252,
-0.02172711119055748,
0.038721926510334015,
-0.02575129084289074,
-0.08980999886989594,
0.010518132708966732,
-0.02010362222790718,
0.05633850395679474,
0.06037995219230652,
0.0928497239947319,
-0.016554400324821472,
0.008100170642137527,
0.06538859009742737,
0.02879101224243641,
-0.03433505445718765,
0.02958548627793789,
-0.0007583115948364139,
-0.03333332762122154,
0.03858375549316406,
0.0002150798391085118,
0.02915370650589466,
-0.04428323730826378,
0.01626942679286003,
-0.0076424856670200825,
-0.05288427323102951,
-0.014671845361590385,
-0.00807858258485794,
-0.013851465657353401,
-0.011563037522137165,
-0.014455955475568771,
0.012409323826432228,
0.05063902214169502,
-0.019965453073382378,
0.025198612362146378,
-0.001434585195966065,
-0.005686527118086815,
-0.01096718292683363,
-0.052607934921979904,
0.07212433964014053,
-0.007197753060609102,
-0.011191708035767078,
0.02773747220635414,
0.028082896023988724,
0.02416234463453293,
-0.0495336689054966,
-0.03747840225696564,
-0.050155431032180786,
0.03316061571240425,
-0.009896371513605118,
-0.04860102757811546,
0.06856647878885269,
0.003413211787119508,
0.04428323730826378,
-0.005531087052077055,
0.020587215200066566,
0.03119170293211937,
0.02834196388721466,
-0.021191705018281937,
0.03262520954012871,
0.02271156758069992,
0.04683936759829521,
-0.05892917513847351,
-0.0031757333781570196,
-0.016295334324240685,
-0.05516406521201134,
0.002019645646214485,
0.019447319209575653,
0.05074264854192734,
-0.024576852098107338,
-0.0207081139087677,
0.06383418291807175,
0.008769428357481956,
0.041312601417303085,
0.048186518251895905,
0.041727107018232346,
0.0005683288909494877,
-0.01267702691257,
0.05008634552359581,
0.034265968948602676,
-0.03778928518295288,
-0.03115716204047203,
0.0015328149311244488,
0.021468043327331543,
0.018842829391360283,
-0.06832468509674072,
0.008406734094023705,
0.049568209797143936,
-0.0006568435346707702,
0.012547492980957031,
0.03281519189476967,
0.017944728955626488,
-0.014844556339085102,
-0.00944732129573822,
-0.012037994340062141,
0.03215888887643814,
-0.014896370470523834,
-0.009291880764067173,
0.02533678151667118,
0.018013812601566315,
-0.0073445579037070274,
-0.11094988882541656,
0.0030094985850155354,
0.09810015559196472,
0.038100164383649826,
0.0006147451349534094,
-0.002901553874835372,
-0.03281519189476967,
-0.02958548627793789,
-0.022452499717473984,
-0.024093259125947952,
-0.01873920112848282,
0.024887733161449432,
0.015112259425222874,
-0.03720206394791603,
-0.06763383746147156,
0.0005823617102578282,
-0.039758194237947464,
0.022262517362833023,
0.053816914558410645,
0.04158893972635269,
0.012012087740004063,
-0.06290154159069061,
0.0034110527485609055,
-0.048359230160713196,
0.054853182286024094,
0.004702071659266949,
0.011165800504386425,
0.114956796169281,
-0.012780653312802315,
-0.027685659006237984,
0.028497403487563133,
0.015362691134214401,
-0.0502590574324131,
0.007305698003619909,
-0.011554401367902756,
-0.041312601417303085,
0.06138167902827263,
-0.019965453073382378,
0.07709842920303345,
0.044145070016384125,
-0.017374780029058456,
-0.005703798495233059,
0.008385145105421543,
0.011735748499631882,
-0.0035902410745620728,
0.06538859009742737,
0.014594124630093575,
-0.047357503324747086,
-0.016131257638335228,
-0.055405862629413605,
-0.006023314781486988,
-0.03164075314998627,
-0.009490499272942543,
-0.048186518251895905,
-0.00406303908675909,
0.023385142907500267,
-0.022884279489517212,
0.019412776455283165,
0.028048353269696236,
-0.02233160100877285,
-0.026614848524332047,
0.028635572642087936,
0.006006043870002031,
0.04183073341846466,
0.03252158313989639,
-0.006528496276587248,
-0.02677028812468052,
0.016848010942339897,
-0.011554401367902756,
0.0467357411980629,
0.01690845936536789,
0.016943002119660378,
-0.035889457911252975,
0.08317787945270538,
0.019602758809924126,
-0.01135578379034996,
-0.04704662412405014,
0.004291881807148457,
0.013937820680439472,
-0.041761647909879684,
0.008743521757423878,
-0.04905007779598236,
-0.004395508673042059,
-0.02233160100877285,
0.0017076852964237332,
0.010060447268188,
0.0011992657091468573,
0.011614850722253323,
0.0017271153628826141,
0.0039702062495052814,
-0.09132985770702362,
0.029620029032230377,
0.01417098194360733,
0.0702935978770256,
-0.03314334526658058,
0.04832468926906586,
-0.0006142053753137589,
-0.04984454810619354,
0.0042508626356720924,
-0.031485311686992645,
0.033056989312171936,
0.018842829391360283,
0.03644213452935219,
0.056994806975126266,
-0.0269775427877903,
-0.051157157868146896,
0.03737477585673332,
-0.0012910187942907214,
-0.011303969658911228,
0.034922271966934204,
-0.045354049652814865,
-0.0061442130245268345,
-0.00785837508738041,
0.0044775465503335,
0.033264242112636566,
-0.039896365255117416,
0.0029727972578257322,
0.01592400297522545,
-0.006390326656401157,
-0.04521587863564491,
-0.011528494767844677,
-0.029706384986639023,
-0.0004976250929757953,
-0.012789289467036724,
-0.043523307889699936,
-0.05986182019114494,
-0.0030613120179623365,
0.004671846982091665,
-0.02816925197839737,
-0.009905006736516953,
-0.018773743882775307,
-0.060483578592538834,
-0.0059542302042245865,
-0.028203794732689857,
-0.03281519189476967,
0.008393780328333378,
0.09485317766666412,
-0.02531951107084751,
-0.018998268991708755,
-0.03685664013028145,
0.04987909272313118,
-0.028031082823872566,
-0.008208115585148335,
-0.03785837069153786,
-0.071640744805336,
0.024473223835229874,
-0.03417961299419403,
-0.04670120030641556,
-0.033506039530038834,
0.09264247119426727,
0.034922271966934204,
-0.09927459061145782,
-0.00834196712821722,
0.0490846186876297,
0.026632118970155716,
-0.021571671590209007,
-0.029032809659838676,
-0.022366143763065338,
0.01749567873775959,
-0.07329877465963364,
-0.023609666153788567,
0.008851466700434685,
-0.0004803539486601949,
0.04483591392636299,
0.027426591143012047,
0.03480137512087822,
0.009654575027525425,
0.014516404829919338,
0.026442136615514755,
-0.03214161843061447,
-0.0653195008635521,
0.052400678396224976,
0.04601035267114639,
0.02939550392329693,
-0.013031085021793842,
-0.020794469863176346,
0.04286700487136841,
-0.05271156132221222,
-0.004749567247927189,
-0.02355785295367241,
-0.005656302906572819,
-0.054991353303194046,
0.06808289140462875,
-0.03055267035961151,
-0.03678755834698677,
0.013644210994243622,
-0.01226251944899559,
0.015371326357126236,
0.0022819512523710728,
-0.04245249554514885,
-0.01993091218173504,
0.05730568617582321,
0.03962002694606781,
0.04424869641661644,
0.03633850812911987,
0.02675301767885685,
-0.07329877465963364,
-0.01910189539194107,
-0.04659757390618324,
0.05889463424682617,
0.018635574728250504,
0.043316055089235306,
0.049568209797143936,
0.011226249858736992,
-0.04248703643679619,
-0.008229704573750496,
0.015112259425222874,
-0.01255612913519144,
-0.00734024029225111,
-0.06563038378953934,
-0.031295329332351685,
0.05416233837604523,
0.0026360098272562027,
-0.025578578934073448,
-0.030414501205086708,
-0.018359236419200897,
0.026044899597764015,
0.04369601979851723,
0.017357509583234787,
0.02595854364335537,
-0.040103618055582047,
-0.039689112454652786,
0.010120895691215992,
-0.03461139276623726,
-0.006429187022149563,
-0.053195152431726456,
0.061243511736392975,
-0.01054403930902481,
-0.004438686650246382,
0.020414503291249275,
-0.013514677993953228,
0.02131260372698307,
-0.04504317045211792,
-0.021381687372922897,
-0.03424869850277901,
-0.03457684814929962,
0.009905006736516953,
0.040690839290618896,
-0.025267697870731354,
-0.02015543542802334,
0.005867874249815941,
-0.01587218977510929,
0.05374782904982567,
0.04411052539944649,
-0.016070809215307236,
-0.02796199731528759,
0.006951639428734779,
-0.038721926510334015,
-0.02816925197839737,
-0.02094990946352482,
0.019170980900526047,
0.004680482670664787,
0.033713292330503464,
0.040932632982730865,
0.041519854217767715,
-0.011295334435999393,
0.04300517216324806,
-0.07336786389350891,
-0.022832464426755905,
0.0000072989178079296835,
0.09160619974136353,
-0.03481864556670189,
-0.05789290741086006,
0.019758200272917747,
0.04196890443563461,
-0.013747838325798512,
-0.022987905889749527,
0.036891184747219086,
-0.03882555291056633,
-0.040932632982730865,
0.015086352825164795,
-0.014179617166519165,
-0.03723660856485367,
0.008264247328042984,
0.019879097118973732,
-0.02335060015320778,
-0.057443857192993164,
0.016139892861247063,
0.026234881952404976,
-0.035129524767398834,
0.07022450864315033,
-0.0106476666405797,
-0.054853182286024094,
0.004710707347840071,
0.06321242451667786,
-0.008946457877755165,
-0.00532383332028985,
0.06711570173501968,
0.0016547924606129527,
-0.08117442578077316,
0.05768565461039543,
0.04386873170733452,
-0.026701204478740692,
0.08421414345502853,
-0.055440403521060944,
-0.04742658883333206,
-0.0020045333076268435,
-0.00944732129573822,
-0.018255610018968582,
0.014594124630093575,
0.024490496143698692,
0.043316055089235306,
0.04645940288901329,
0.03941277414560318,
0.03158894181251526,
-0.015069081448018551,
-0.071640744805336,
-0.020224520936608315,
-0.015302241779863834,
-0.06628669053316116,
0.016450773924589157,
-0.0003392162616364658,
-0.025509493425488472,
0.015449047088623047,
-0.020587215200066566,
-0.01709844172000885,
-0.04794472083449364,
0.04766838252544403,
0.010017269290983677,
-0.10680481791496277,
-0.02936096116900444,
0.048151977360248566,
0.013134712353348732,
-0.06746112555265427,
-0.007910188287496567,
-0.03785837069153786,
0.005513815674930811,
-0.045768558979034424,
0.07343694567680359,
-0.07834195345640182,
-0.0365457609295845,
0.03222797438502312,
-0.059032801538705826,
-0.008449912071228027,
-0.0017206387128680944,
-0.06628669053316116,
0.06259065866470337,
-0.007759065832942724,
0.011018996126949787,
0.022279787808656693,
-0.01813471131026745,
-0.060034528374671936,
0.017184797674417496,
-0.02393781952559948,
0.05595853924751282,
0.007754748221486807,
-0.0017670548986643553,
0.040552668273448944,
0.0225561261177063,
-0.02573401853442192,
0.027720201760530472,
0.06905007362365723,
-0.03865284100174904,
-0.03196890652179718,
0.046148523688316345,
-0.03896372392773628,
-0.012797924689948559,
0.0027698613703250885,
0.009611397050321102,
0.01993091218173504,
-0.007003452628850937,
-0.012504315003752708,
0.03633850812911987,
0.048980992287397385,
-0.022366143763065338,
-0.02531951107084751,
-0.027616575360298157,
0.004585491493344307,
-0.049395497888326645,
0.044317781925201416,
0.0031865278724581003,
-0.03986182436347008,
-0.005669256206601858,
0.015345419757068157,
0.00824697595089674,
0.03644213452935219,
-0.02573401853442192,
-0.006683936342597008,
-0.017564762383699417,
-0.030811738222837448,
-0.04621760547161102,
-0.029222792014479637,
-0.020069081336259842,
0.01662348583340645,
0.05222797021269798,
-0.0014766836538910866,
0.005332468543201685,
0.009386871941387653,
0.03540586680173874,
0.03260793909430504,
0.010708115063607693,
0.0010735101532191038,
0.005263383965939283,
-0.026839373633265495,
-0.01115716528147459,
-0.02853194624185562,
0.03170983865857124,
-0.015431775711476803,
0.01932642050087452,
-0.02873919904232025,
0.026027629151940346,
0.00774179445579648,
0.038341961801052094,
0.03252158313989639,
-0.021226247772574425,
-0.02715025283396244,
0.015803106129169464,
-0.034127797931432724,
-0.021986179053783417,
0.0050993082113564014,
0.039309144020080566,
0.018221067264676094,
-0.009645938873291016,
-0.062245238572359085,
0.026200339198112488,
-0.013782381080091,
-0.06753020733594894,
0.06663211435079575,
-0.014766836538910866,
-0.045734014362096786,
-0.023264244198799133,
0.009257338009774685,
-0.020345419645309448,
-0.04203798621892929,
0.015518131665885448,
0.005056130234152079,
0.0837305560708046,
-0.02271156758069992,
-0.05958548188209534,
-0.01813471131026745,
-0.003255612449720502,
-0.055233150720596313,
0.0247668344527483,
-0.015958545729517937,
0.021416230127215385,
0.04521587863564491,
-0.010172709822654724,
0.005889463238418102,
-0.03720206394791603,
-0.041519854217767715,
-0.02493954636156559,
0.03937822952866554,
-0.016770290210843086,
-0.027253881096839905,
-0.023454226553440094,
-0.011036267504096031,
0.008467183448374271,
-0.017253883183002472,
-0.022176161408424377,
0.0020390755962580442,
-0.00026271044043824077,
-0.035923998802900314,
0.0530569851398468,
0.021468043327331543,
-0.016502587124705315,
0.03231433033943176
] |
730,090 | mmengine.fileio.backends.http_backend | HTTPBackend | HTTP and HTTPS storage bachend. | class HTTPBackend(BaseStorageBackend):
"""HTTP and HTTPS storage bachend."""
def get(self, filepath: str) -> bytes:
"""Read bytes from a given ``filepath``.
Args:
filepath (str): Path to read data.
Returns:
bytes: Expected bytes object.
Examples:
>>> backend = HTTPBackend()
>>> backend.get('http://path/of/file')
b'hello world'
"""
return urlopen(filepath).read()
def get_text(self, filepath, encoding='utf-8') -> str:
"""Read text from a given ``filepath``.
Args:
filepath (str): Path to read data.
encoding (str): The encoding format used to open the ``filepath``.
Defaults to 'utf-8'.
Returns:
str: Expected text reading from ``filepath``.
Examples:
>>> backend = HTTPBackend()
>>> backend.get_text('http://path/of/file')
'hello world'
"""
return urlopen(filepath).read().decode(encoding)
@contextmanager
def get_local_path(
self, filepath: str) -> Generator[Union[str, Path], None, None]:
"""Download a file from ``filepath`` to a local temporary directory,
and return the temporary path.
``get_local_path`` is decorated by :meth:`contxtlib.contextmanager`. It
can be called with ``with`` statement, and when exists from the
``with`` statement, the temporary path will be released.
Args:
filepath (str): Download a file from ``filepath``.
Yields:
Iterable[str]: Only yield one temporary path.
Examples:
>>> backend = HTTPBackend()
>>> # After existing from the ``with`` clause,
>>> # the path will be removed
>>> with backend.get_local_path('http://path/of/file') as path:
... # do something here
"""
try:
f = tempfile.NamedTemporaryFile(delete=False)
f.write(self.get(filepath))
f.close()
yield f.name
finally:
os.remove(f.name)
| () | [
0.02303463965654373,
-0.07485293596982956,
-0.09576544910669327,
0.009916083887219429,
0.03310506045818329,
0.009559182450175285,
-0.05332306772470474,
0.09121254086494446,
0.043252646923065186,
-0.05247421935200691,
0.07134179025888443,
0.0141989067196846,
-0.023343311622738838,
0.013745544478297234,
-0.027085958048701286,
0.030963648110628128,
0.010292278602719307,
-0.01316678524017334,
0.004748241975903511,
-0.04109194502234459,
-0.004856759216636419,
0.03806310147047043,
0.020661724731326103,
-0.018076596781611443,
-0.018780754879117012,
0.011083249934017658,
-0.02012154832482338,
-0.04039743170142174,
0.05864765867590904,
-0.007808434311300516,
0.04811422899365425,
-0.0381016843020916,
0.033934615552425385,
0.046763792634010315,
0.03709850087761879,
-0.015771204605698586,
-0.009472368285059929,
0.021877119317650795,
-0.009612235240638256,
-0.035265762358903885,
-0.022610215470194817,
-0.015800142660737038,
0.031156567856669426,
-0.027471797540783882,
0.020102256909012794,
0.06632587313652039,
-0.04008876159787178,
-0.0013202957343310118,
0.005001449026167393,
-0.043252646923065186,
0.04630078375339508,
0.0381595604121685,
-0.010861392132937908,
0.01774863339960575,
0.020661724731326103,
0.03642328083515167,
0.020102256909012794,
0.02992188185453415,
-0.03495709225535393,
0.02722100168466568,
0.018761463463306427,
-0.017931906506419182,
0.04371565580368042,
-0.008700688369572163,
-0.027645425871014595,
-0.018173057585954666,
-0.05818464979529381,
-0.009935376234352589,
-0.005334236193448305,
0.018964029848575592,
0.009187811985611916,
-0.03181249648332596,
-0.026931622996926308,
-0.0033278688788414,
0.00038252404192462564,
0.0016928723780438304,
-0.011922451667487621,
-0.0016120871296152472,
0.015809787437319756,
0.004299703054130077,
-0.022398004308342934,
-0.042442385107278824,
0.028937989845871925,
-0.03524647280573845,
0.0266229510307312,
-0.032931432127952576,
0.054789260029792786,
-0.029130909591913223,
0.013292183168232441,
0.05799173191189766,
-0.02915020100772381,
0.05891774594783783,
0.008734449744224548,
-0.033818863332271576,
0.051200948655605316,
-0.0895148441195488,
-0.028532857075333595,
0.02093181200325489,
-0.04718821495771408,
0.009486837312579155,
-0.03395390883088112,
0.06717471778392792,
-0.003045723307877779,
0.025465430691838264,
0.008088167756795883,
-0.040628936141729355,
0.020796768367290497,
-0.058223236352205276,
0.03746505081653595,
-0.052165549248456955,
-0.059303585439920425,
-0.04217229783535004,
0.004208066035062075,
0.007740912027657032,
-0.008483653888106346,
-0.007273081224411726,
-0.015038108453154564,
-0.018134472891688347,
0.0015349191380664706,
-0.0550207644701004,
-0.03379957005381584,
-0.0038366951048374176,
-0.03360665217041969,
0.019610309973359108,
0.06462817639112473,
0.051355283707380295,
0.060962699353694916,
-0.033413730561733246,
-0.020777476951479912,
-0.014063863083720207,
0.011864575557410717,
0.05347740277647972,
0.030153384432196617,
0.07450567930936813,
0.00460355170071125,
0.04398574307560921,
-0.04089902341365814,
0.032931432127952576,
-0.0008168953354470432,
0.06173437833786011,
-0.0012045438634231687,
-0.02259092405438423,
-0.04660945385694504,
0.024327203631401062,
0.01834668591618538,
0.0023102161940187216,
-0.010842099785804749,
-0.1029420718550682,
-0.030944356694817543,
-0.02044951170682907,
0.01616669073700905,
-0.012915989384055138,
-0.027876930311322212,
0.06933542340993881,
0.0015964123886078596,
0.01975500024855137,
-0.05336165055632591,
0.06524551659822464,
-0.00492910435423255,
0.016764741390943527,
-0.00967011135071516,
-0.004212888889014721,
0.03024984523653984,
-0.0017869208240881562,
-0.0014878949150443077,
0.03536222130060196,
-0.016552530229091644,
-0.046956710517406464,
-0.020218009129166603,
-0.006491755601018667,
-0.009255333803594112,
0.022899596020579338,
0.008604228496551514,
0.012896697036921978,
0.03669337183237076,
0.00565737672150135,
0.04205654561519623,
-0.012221477925777435,
0.005488572176545858,
-0.006858303677290678,
-0.007547992281615734,
-0.07145754247903824,
-0.05610111355781555,
0.021279068663716316,
0.017314564436674118,
0.016668282449245453,
-0.006834188476204872,
0.031272321939468384,
0.08604228496551514,
0.035516560077667236,
-0.08141221106052399,
0.0031566524412482977,
0.009925730526447296,
-0.05594677850604057,
0.03802451863884926,
-0.03875761479139328,
0.014970586635172367,
-0.061965882778167725,
0.008758564479649067,
0.0496961735188961,
-0.07330957055091858,
-0.02019871585071087,
0.07033860683441162,
-0.045953527092933655,
-0.013658731244504452,
0.02866790071129799,
0.009424138814210892,
-0.013581562787294388,
-0.1214623898267746,
0.10109004378318787,
-0.0394328348338604,
0.034667711704969406,
-0.033336564898490906,
0.05918783321976662,
0.05521368235349655,
0.025060297921299934,
-0.031002232804894447,
0.050429269671440125,
0.0014830719446763396,
0.004142955411225557,
0.08480759710073471,
-0.020738892257213593,
-0.007957947440445423,
0.007094630505889654,
0.06698179990053177,
-0.03347160667181015,
0.04217229783535004,
0.003622071584686637,
-0.052088379859924316,
-0.012298645451664925,
0.020777476951479912,
0.0336645282804966,
0.057528723031282425,
0.018838630989193916,
0.052011214196681976,
-0.051123782992362976,
0.008628344163298607,
0.0003348969330545515,
-0.0006073963595554233,
0.03302789106965065,
-0.015038108453154564,
0.00613003084436059,
0.001873734756372869,
0.012520503252744675,
-0.07242213934659958,
-0.0140735087916255,
0.002700879005715251,
0.02322755940258503,
0.033934615552425385,
-0.04842290282249451,
-0.012829175218939781,
0.03241054713726044,
-0.04985050857067108,
-0.046995293349027634,
0.02303463965654373,
-0.01109289564192295,
-0.015809787437319756,
-0.0491945818066597,
-0.013919172808527946,
-0.005599501077085733,
-0.019793584942817688,
-0.006834188476204872,
-0.03036559745669365,
0.0616186261177063,
-0.00826661940664053,
-0.031040817499160767,
0.006694321520626545,
-0.039336372166872025,
-0.004977334290742874,
0.04722679778933525,
0.03227550536394119,
0.06235172227025032,
-0.018703587353229523,
0.001154505182057619,
0.008633166551589966,
-0.016890140250325203,
0.017922261729836464,
0.04560627043247223,
-0.04807564616203308,
-0.011372629553079605,
-0.053207315504550934,
-0.006245782598853111,
0.0010755285620689392,
-0.05529085174202919,
0.0465322881937027,
0.010639534331858158,
-0.08318707346916199,
-0.030384888872504234,
0.045992109924554825,
-0.02033376134932041,
-0.012645901180803776,
0.010070419870316982,
-0.045143261551856995,
-0.0055946777574718,
0.054789260029792786,
-0.02592843770980835,
-0.13056820631027222,
-0.02758754976093769,
0.0559081956744194,
-0.017960844561457634,
-0.02529180236160755,
0.022513756528496742,
0.012317937798798084,
0.061194200068712234,
0.025272510945796967,
-0.04286680743098259,
0.032892849296331406,
-0.05598536506295204,
-0.013928818516433239,
0.019812876358628273,
0.04988909512758255,
-0.03731071576476097,
-0.001255185343325138,
-0.0007282727165147662,
0.047844141721725464,
0.023439770564436913,
0.018925445154309273,
0.030944356694817543,
-0.0113147534430027,
0.0314459502696991,
-0.03480275347828865,
0.027529673650860786,
0.006810073275119066,
0.004017557483166456,
-0.00907688308507204,
-0.00733095733448863,
0.027201710268855095,
0.02548472210764885,
-0.016282441094517708,
0.061965882778167725,
-0.021607032045722008,
0.05803031474351883,
-0.011006082408130169,
-0.012298645451664925,
-0.018722878769040108,
0.03823672980070114,
-0.0201601330190897,
-0.019542789086699486,
0.035265762358903885,
-0.08249256014823914,
0.04178645834326744,
-0.03169674426317215,
0.024269327521324158,
0.014787312597036362,
-0.07122603803873062,
0.0006420616409741342,
0.044950343668460846,
-0.012105725705623627,
0.06343207508325577,
-0.002548954449594021,
0.0004958644858561456,
-0.02754896506667137,
0.014960940927267075,
0.011604133993387222,
0.0026695295237004757,
-0.035304345190525055,
-0.016928723081946373,
-0.011121833696961403,
-0.02548472210764885,
-0.000310179078951478,
0.011970681138336658,
0.02533038705587387,
-0.021201899275183678,
0.03306647762656212,
-0.020642433315515518,
-0.06536126881837845,
0.06840940564870834,
0.030712852254509926,
-0.02459729090332985,
0.004904989153146744,
0.004700011573731899,
-0.022166499868035316,
0.00771197397261858,
0.010707056149840355,
0.01749783754348755,
-0.06621012091636658,
-0.0199672132730484,
-0.02588985487818718,
-0.02403782308101654,
0.07628054171800613,
0.04433299973607063,
0.015192444436252117,
0.03040418028831482,
0.009120289236307144,
0.010832454077899456,
-0.04803706333041191,
0.04734255000948906,
0.005184723064303398,
-0.0048398785293102264,
0.018288809806108475,
0.04734255000948906,
-0.05972801148891449,
0.006525516510009766,
0.013205369003117085,
0.009337324649095535,
-0.07693646848201752,
-0.01336935069411993,
0.018848277628421783,
-0.011227940209209919,
0.013108909130096436,
0.005044856108725071,
0.013108909130096436,
-0.05158678814768791,
0.034185413271188736,
-0.014179614372551441,
0.007075338624417782,
0.06948975473642349,
0.030423473566770554,
0.02367127500474453,
0.01627279631793499,
-0.05085369199514389,
-0.0034725586883723736,
-0.011604133993387222,
-0.02303463965654373,
0.05903349816799164,
0.01782580092549324,
-0.033008601516485214,
-0.017507484182715416,
0.01627279631793499,
0.07963734865188599,
-0.007837371900677681,
0.01923411712050438,
0.0001305223850067705,
-0.04529760032892227,
-0.012231123633682728,
-0.006679852493107319,
-0.021510571241378784,
-0.021684199571609497,
-0.05586961284279823,
0.012549441307783127,
0.032198335975408554,
-0.04649370163679123,
-0.028725776821374893,
0.001036944566294551,
0.008816440589725971,
0.029343120753765106,
-0.04842290282249451,
0.023324020206928253,
-0.015144214034080505,
-0.02625640295445919,
0.0011183327296748757,
-0.03540080785751343,
0.008290734142065048,
0.02241729572415352,
0.026159942150115967,
-0.03908557817339897,
-0.05517509952187538,
0.032603468745946884,
0.02448153868317604,
0.03241054713726044,
-0.0337224043905735,
0.012279353104531765,
0.029092324897646904,
-0.00046270640450529754,
-0.04846148565411568,
-0.004726538434624672,
0.07940584421157837,
-0.020218009129166603,
-0.05988234654068947,
0.029651792719960213,
0.035265762358903885,
0.04545193538069725,
0.06837082654237747,
-0.10425393283367157,
0.019176241010427475,
-0.070107102394104,
0.018066952005028725,
0.03161957487463951,
-0.009105820208787918,
-0.013340412639081478,
-0.015134568326175213,
0.01867464929819107,
-0.06320057064294815,
-0.0090817054733634,
0.023478355258703232,
0.012047849595546722,
-0.008965953253209591,
0.01704447530210018,
-0.00035780618782155216,
-0.10502561181783676,
0.0003915671550203115,
-0.05833898484706879,
0.022359419614076614,
0.013986694626510143,
-0.005117201246321201,
-0.04738113284111023,
0.07018426805734634,
0.017218103632330894,
0.061888713389635086,
-0.003062603762373328,
0.0014915121719241142,
0.050390686839818954,
-0.030790019780397415,
-0.0034894391428679228,
-0.03476417064666748,
0.034860629588365555,
-0.05085369199514389,
0.026545781642198563,
-0.02419215999543667,
-0.04900166019797325,
0.022841719910502434,
-0.0319475419819355,
0.018771108239889145,
0.03584452345967293,
0.05166395753622055,
0.028571441769599915,
-0.008864670991897583,
-0.016591113060712814,
-0.019002612680196762,
-0.01532748807221651,
-0.03156169876456261,
0.028532857075333595,
0.021626323461532593,
-0.028127726167440414,
-0.02754896506667137,
0.006062508560717106,
-0.04896307736635208,
-0.00042924683657474816,
0.050274934619665146,
-0.014584746211767197,
0.026757994666695595,
0.03187037259340286,
0.024327203631401062,
-0.03597956523299217,
-0.017632881179451942,
-0.0294781643897295,
-0.0076203374192118645,
-0.0027828700840473175,
0.02423074282705784,
0.06316198408603668,
0.047882724553346634,
0.022089332342147827,
0.03754221647977829,
-0.015047754161059856,
0.026102066040039062,
0.015472178347408772,
-0.013658731244504452,
-0.057644475251436234,
0.024211451411247253,
-0.054982177913188934,
0.004384105559438467,
0.07871133089065552,
-0.05343881994485855,
-0.053863245993852615,
-0.025909146293997765,
-0.028301354497671127,
0.003904217155650258,
-0.0037064740899950266,
0.05139387026429176,
-0.008136398158967495,
-0.003991031087934971,
-0.04070610553026199,
0.043291233479976654,
-0.032564882189035416,
-0.031716037541627884,
-0.03287355601787567,
0.009105820208787918,
-0.005845474079251289,
-0.006781135685741901,
-0.000023399077690555714,
0.03738788142800331,
0.04745830222964287,
-0.08650529384613037,
0.02955533377826214,
0.06671170890331268,
0.029246661812067032,
0.04965759068727493,
0.02855215035378933,
0.025272510945796967,
-0.06215880066156387,
0.03779301419854164,
0.019185887649655342,
0.06520693749189377,
0.01687084697186947,
0.035304345190525055,
0.03520788624882698,
-0.021838536486029625,
-0.023613398894667625,
0.06621012091636658,
-0.0208546444773674,
0.04024309664964676,
0.004123663529753685,
-0.0341082438826561,
-0.004263530485332012,
0.018703587353229523,
-0.04988909512758255,
0.0385454036295414,
0.06771489232778549,
-0.047882724553346634,
-0.01006077416241169,
-0.04464166983962059,
-0.00045095031964592636,
0.012636255472898483,
-0.05972801148891449,
0.055676691234111786,
-0.0013190900208428502,
-0.0895148441195488,
-0.016504300758242607,
-0.00915405061095953,
0.0020666548516601324,
-0.0141989067196846,
0.0181634109467268,
-0.053631741553545,
0.012414397671818733,
-0.0015686801634728909,
-0.0004135720955673605,
-0.018944736570119858,
-0.02463587559759617,
-0.021259775385260582,
-0.023324020206928253,
-0.01960066519677639,
-0.024539414793252945,
0.015134568326175213,
-0.0199672132730484,
-0.0008621109300293028,
0.01201891154050827,
-0.05517509952187538,
0.007837371900677681,
-0.03401178494095802,
-0.02818560227751732,
-0.013639438897371292,
-0.04633936658501625,
-0.03798593580722809,
0.06408800184726715,
-0.03331727162003517,
-0.00034484436037018895,
0.05702713131904602,
0.0031928247772157192,
-0.08179804682731628,
0.01616669073700905,
-0.01255908701568842,
-0.029188785701990128,
0.019398098811507225,
0.0461464487016201,
0.06130995228886604,
-0.028976572677493095,
0.024616582319140434,
0.04113052785396576,
0.04305972903966904,
-0.023497646674513817,
-0.020873935893177986,
0.013070325367152691,
-0.03491850569844246,
-0.02810843288898468,
-0.061927296221256256,
-0.05907208099961281,
0.032236918807029724,
-0.054056163877248764,
0.049619004130363464,
-0.04568343982100487,
-0.017247041687369347,
0.0682164877653122,
0.04537476599216461,
-0.049541838467121124,
-0.023902779445052147,
0.03362594544887543,
0.03931708261370659,
-0.0479213111102581,
0.03565160185098648,
0.011951389722526073,
0.04194079339504242,
-0.008965953253209591,
0.033085767179727554,
0.04487317427992821,
-0.0033785102423280478,
-0.010388738475739956,
0.000169257094967179,
-0.004039261024445295,
0.04213371127843857,
-0.04749688506126404,
-0.0012268502032384276,
0.04738113284111023,
-0.045876357704401016,
-0.06069260835647583,
-0.020777476951479912,
-0.0001731757802190259,
0.03250700980424881,
-0.05586961284279823,
0.0016410251846536994,
0.046648040413856506,
0.026063483208417892,
0.026372155174613,
-0.015317842364311218,
0.08110354095697403,
-0.026931622996926308,
0.019851461052894592,
0.01671651192009449,
-0.005454810801893473,
-0.020719600841403008,
-0.08365008234977722,
-0.006187906954437494,
0.01177776139229536,
0.04753547161817551,
-0.012742361053824425,
-0.06887241452932358,
0.009236041456460953,
0.039741504937410355,
-0.059342171996831894,
0.036191780120134354,
-0.005184723064303398,
-0.004953219089657068,
-0.05424908548593521,
0.028243478387594223,
-0.05428766831755638,
0.02577410265803337,
-0.03237196430563927,
-0.026970205828547478,
-0.021510571241378784,
-0.01590624824166298,
-0.010099357925355434,
0.017960844561457634,
-0.014575100503861904,
0.02181924320757389,
0.011256878264248371,
0.02596702240407467,
0.014247137121856213,
-0.06042252108454704,
-0.019851461052894592,
0.026603657752275467,
0.017256688326597214,
0.009973959997296333,
-0.005286006256937981,
0.015886956825852394,
0.017295271158218384,
-0.02862931787967682,
-0.027491088956594467,
-0.03298930823802948,
-0.006482109427452087,
0.037040624767541885,
0.030230551958084106,
0.009192634373903275,
0.000918178295250982,
-0.028262769803404808,
0.002614065073430538,
-0.02670011855661869,
-0.043291233479976654,
0.027317462489008904,
-0.023324020206928253,
0.013629793189466,
0.05000484734773636,
-0.006168614607304335,
0.005589854903519154,
-0.01687084697186947,
0.019301638007164,
0.016890140250325203,
-0.039664335548877716,
0.047844141721725464,
-0.0003975959261879325,
-0.005811712704598904,
0.03812097758054733,
0.03729142248630524,
-0.017140936106443405,
-0.03370311111211777,
0.07689788192510605,
0.04224946349859238,
-0.009785863570868969,
-0.0017398966010659933,
-0.024539414793252945,
-0.038371775299310684,
-0.001814653049223125,
-0.04116911441087723,
-0.0013154727639630437,
0.03287355601787567,
-0.003313399851322174,
-0.01882898434996605,
0.01165236346423626,
-0.0332208126783371,
0.06775347888469696
] |