index
int64 0
731k
| package
stringlengths 2
98
⌀ | name
stringlengths 1
76
| docstring
stringlengths 0
281k
⌀ | code
stringlengths 4
8.19k
| signature
stringlengths 2
42.8k
⌀ | embed_func_code
listlengths 768
768
|
---|---|---|---|---|---|---|
52,068 |
uciwebauth.uciwebauth
|
logout_url
|
Return URL for logging out of UCI WebAuth system.
|
def logout_url(self):
"""Return URL for logging out of UCI WebAuth system."""
return self.auth.logout_url(self.url)
|
(self)
|
[
-0.05858871340751648,
-0.01895729824900627,
0.04142051935195923,
0.008525362238287926,
-0.015451372601091862,
-0.015857987105846405,
-0.0369567908346653,
0.050745557993650436,
0.016598930582404137,
0.03487853705883026,
0.0006607495015487075,
-0.026439014822244644,
0.016725432127714157,
-0.008195552043616772,
0.028969064354896545,
0.018442252650856972,
0.049588967114686966,
-0.023981252685189247,
0.03896275907754898,
-0.07113052904605865,
-0.01414116844534874,
-0.008050978183746338,
0.030143730342388153,
-0.049878112971782684,
-0.035348404198884964,
-0.008782885037362576,
-0.006035974714905024,
-0.012071949429810047,
-0.011448472738265991,
-0.0273787472397089,
-0.09845506399869919,
0.015098972246050835,
0.024252329021692276,
0.0369567908346653,
0.04926367476582527,
0.01616520807147026,
-0.005746826063841581,
0.05544422194361687,
-0.05186600983142853,
0.018252497538924217,
-0.06776917725801468,
-0.0008634922560304403,
0.029095565900206566,
-0.032041266560554504,
0.064263254404068,
0.056492384523153305,
0.012225559912621975,
0.03388458862900734,
-0.04626375809311867,
-0.028354624286293983,
-0.023999324068427086,
0.035077325999736786,
-0.01973438449203968,
0.009532864205539227,
-0.0040751863270998,
0.005281477700918913,
0.013472512364387512,
-0.004348522052168846,
-0.029854580760002136,
0.049372103065252304,
-0.018270570784807205,
-0.014439352788031101,
-0.012849035672843456,
0.014755608513951302,
0.050637129694223404,
0.056998394429683685,
-0.05472135171294212,
0.07561232894659042,
0.027704039588570595,
0.02929435670375824,
0.00809615757316351,
-0.02598722092807293,
-0.010906319133937359,
0.010246699675917625,
0.0614079087972641,
-0.06751617044210434,
-0.009731654077768326,
0.015767628327012062,
-0.02266201190650463,
-0.017475411295890808,
-0.004185876343399286,
0.0029050386510789394,
0.010291879065334797,
0.020728332921862602,
0.052155159413814545,
-0.030306376516819,
0.006496805232018232,
-0.06476926058530807,
-0.05963687598705292,
0.0489022396504879,
0.006600718013942242,
-0.06173320114612579,
-0.034824322909116745,
-0.03820374235510826,
0.00595013378188014,
-0.034950822591781616,
-0.02446919120848179,
0.04799864813685417,
-0.01937294937670231,
-0.10756323486566544,
0.05464906617999077,
-0.0196259543299675,
-0.07109438627958298,
0.025643857195973396,
0.010517776012420654,
-0.060938045382499695,
0.008105193264782429,
-0.022824658080935478,
-0.011385221965610981,
-0.01696036569774151,
-0.02752332203090191,
0.021975284442305565,
0.019698241725564003,
-0.01038223784416914,
0.02965579181909561,
-0.00467607332393527,
0.002733356785029173,
-0.017023617401719093,
0.0052543701604008675,
-0.04752878099679947,
-0.04536017030477524,
0.03500504046678543,
-0.030902745202183723,
-0.03697486221790314,
0.07474488765001297,
0.023999324068427086,
-0.04752878099679947,
-0.014692357741296291,
-0.034571316093206406,
0.04561317339539528,
-0.010490668937563896,
0.0019449753453955054,
-0.040806081146001816,
-0.06870891153812408,
0.036721859127283096,
-0.006144405342638493,
0.06198620796203613,
-0.011186432093381882,
-0.029222069308161736,
0.1177557185292244,
-0.041709668934345245,
0.060432035475969315,
-0.02790282852947712,
0.03430023789405823,
0.030234089121222496,
0.06379338353872299,
0.023746319115161896,
-0.0019845073111355305,
0.018794652074575424,
-0.04966125264763832,
0.016210386529564857,
0.009090106002986431,
0.030396735295653343,
-0.03907119110226631,
0.005480267573148012,
-0.016535678878426552,
-0.015388120897114277,
0.043769851326942444,
-0.004129401873797178,
-0.019589809700846672,
0.03500504046678543,
0.03207740932703018,
-0.01497246976941824,
-0.02154156193137169,
-0.0029344053473323584,
0.016273638233542442,
0.10300914943218231,
0.05298646166920662,
-0.001870429259724915,
-0.01857778988778591,
-0.05425148457288742,
-0.03641463816165924,
-0.00885517243295908,
-0.002182167489081621,
-0.023131879046559334,
0.019897030666470528,
0.021053623408079147,
0.0017800703644752502,
-0.01640917733311653,
0.02307766303420067,
0.0040367841720581055,
-0.059420015662908554,
-0.047962505370378494,
0.01807177998125553,
0.03856518119573593,
0.007034440524876118,
-0.018144067376852036,
0.01987895928323269,
-0.06281750649213791,
0.007563040126115084,
-0.04192652925848961,
-0.02383667789399624,
-0.015424264594912529,
-0.006266389973461628,
0.08074471354484558,
-0.020204249769449234,
0.02802933193743229,
0.030270231887698174,
0.019951244816184044,
-0.04243253916501999,
0.006663969252258539,
0.02687273733317852,
-0.04799864813685417,
-0.07282927632331848,
0.03220391273498535,
0.029457002878189087,
0.01897536963224411,
-0.00569712882861495,
0.009849120862782001,
0.03921576216816902,
-0.005421534180641174,
0.010084053501486778,
-0.043625276535749435,
0.017412161454558372,
-0.022643940523266792,
-0.020909050479531288,
-0.06285364925861359,
-0.0020138740073889494,
0.015297762118279934,
0.07525089383125305,
0.035854414105415344,
-0.042866263538599014,
0.0063477130606770515,
-0.06708244979381561,
-0.011249683797359467,
0.03899890184402466,
0.016147136688232422,
0.000541306275408715,
0.006004348862916231,
-0.07091366499662399,
0.015180295333266258,
-0.01368033792823553,
0.06690172851085663,
0.03986634686589241,
0.011882195249199867,
-0.010906319133937359,
-0.05374547466635704,
-0.02596914954483509,
-0.04116751626133919,
0.04738420993089676,
-0.0443120077252388,
-0.03990248963236809,
0.0009662755182944238,
0.057504404336214066,
0.03679414466023445,
0.026655877009034157,
-0.019065728411078453,
0.07066066563129425,
0.028589555993676186,
-0.04850465804338455,
-0.005733272526413202,
-0.05005883052945137,
-0.003386199939996004,
-0.048829950392246246,
0.007422983646392822,
0.007242266088724136,
-0.03780616447329521,
0.04713120311498642,
-0.00981297716498375,
-0.0017563512083142996,
0.06126333773136139,
-0.05811884626746178,
0.0014231527457013726,
0.023475242778658867,
0.004529240075498819,
-0.020601829513907433,
0.017348909750580788,
0.02813776209950447,
0.019951244816184044,
0.029601575806736946,
0.12888793647289276,
-0.03990248963236809,
-0.05258888006210327,
-0.02483062632381916,
-0.014583926647901535,
-0.008534397929906845,
-0.007974172942340374,
-0.043263841420412064,
-0.03397494927048683,
-0.024920985102653503,
0.03372194245457649,
-0.04532402381300926,
-0.000993383233435452,
-0.000389390392228961,
0.008547952398657799,
0.014150204136967659,
0.008769331499934196,
-0.01743926852941513,
0.003476558718830347,
0.01720433495938778,
0.04452886804938316,
-0.03222198411822319,
-0.07474488765001297,
0.05338403955101967,
0.003630168968811631,
0.027161886915564537,
0.00773472199216485,
-0.011827980168163776,
0.005877846851944923,
0.02434268780052662,
-0.034173738211393356,
-0.012749641202390194,
-0.0588778592646122,
-0.04290240630507469,
0.0227885153144598,
0.020981337875127792,
0.03195090964436531,
0.01935487613081932,
0.07474488765001297,
0.015370049513876438,
0.024740267544984818,
0.001506734755821526,
-0.03885432705283165,
0.040047064423561096,
-0.0631427988409996,
0.037770021706819534,
-0.0023877338971942663,
-0.039432626217603683,
0.038673609495162964,
0.056239381432533264,
-0.004454693756997585,
0.0015914462273940444,
0.04734806343913078,
-0.0035014075692743063,
0.055082786828279495,
-0.06451625376939774,
-0.04116751626133919,
0.03186054900288582,
-0.029240140691399574,
0.034065306186676025,
-0.0455770306289196,
-0.0007635327056050301,
0.021107839420437813,
-0.046805910766124725,
-0.017023617401719093,
-0.049878112971782684,
0.05645624175667763,
-0.015984490513801575,
-0.009966586716473103,
-0.04319155588746071,
-0.07937125861644745,
-0.0705883726477623,
-0.02051147073507309,
0.011466545052826405,
-0.04329998791217804,
0.000646066153421998,
-0.014403209090232849,
-0.013517691753804684,
0.06964864581823349,
0.0030722026713192463,
0.038023024797439575,
0.04608304053544998,
0.05081784725189209,
0.03359543904662132,
-0.006600718013942242,
0.01413213275372982,
-0.06025131791830063,
-0.00034731702180579305,
0.02483062632381916,
-0.006171512883156538,
0.03256534785032272,
-0.051649149507284164,
0.028047403320670128,
-0.02457762137055397,
0.01628267392516136,
-0.035348404198884964,
0.0034833357203751802,
0.00047438422916457057,
0.03383037447929382,
-0.01236109808087349,
-0.004465988837182522,
-0.005647431593388319,
0.05616709217429161,
0.024270400404930115,
0.026818523183465004,
0.019174158573150635,
0.04662519320845604,
-0.030722027644515038,
-0.05511892959475517,
-0.028246192261576653,
-0.03758930414915085,
0.028499197214841843,
0.003896727692335844,
0.047564927488565445,
0.0037250458262860775,
0.0033545743208378553,
-0.029077494516968727,
0.008127783425152302,
-0.03475203365087509,
0.03748087212443352,
0.03379422798752785,
-0.010861139744520187,
-0.010093089193105698,
-0.01114125270396471,
-0.023023448884487152,
-0.016580859199166298,
-0.050131119787693024,
0.009686474688351154,
0.023637888953089714,
0.011005714535713196,
0.024360761046409607,
0.04199881851673126,
0.01781877502799034,
0.026312513276934624,
0.036360424011945724,
0.019336804747581482,
-0.052408162504434586,
0.013617086224257946,
-0.023023448884487152,
-0.07496174424886703,
-0.009144321084022522,
0.004224278498440981,
-0.04926367476582527,
0.013725517317652702,
0.10712951421737671,
-0.01809888891875744,
-0.0033929767087101936,
0.0315713994204998,
0.06415481865406036,
0.021107839420437813,
-0.01058102771639824,
0.03301714360713959,
0.021451203152537346,
-0.013336974196135998,
-0.02596914954483509,
0.019553666934370995,
0.0292762853205204,
0.032131627202034,
0.011177396401762962,
-0.0033161717001348734,
-0.007847670465707779,
-0.03475203365087509,
-0.03083045780658722,
-0.008168444968760014,
-0.009189500473439693,
0.06397410482168198,
-0.01580377295613289,
0.004587973468005657,
-0.006374820601195097,
-0.009659366682171822,
-0.023186095058918,
0.015541731379926205,
-0.023222237825393677,
0.0294389296323061,
0.10235856473445892,
-0.010499704629182816,
-0.05717911198735237,
0.010562955401837826,
-0.004540534690022469,
-0.003564658807590604,
-0.017782632261514664,
0.0067678820341825485,
-0.06151634082198143,
-0.04474572837352753,
0.010725601576268673,
-0.023366812616586685,
-0.0054396060295403,
0.04283012077212334,
0.032294273376464844,
0.013364081270992756,
0.03486046567559242,
0.05461291968822479,
0.005932061932981014,
-0.05678153410553932,
0.023113807663321495,
-0.007996763102710247,
0.02522820606827736,
-0.00458345515653491,
0.009212089702486992,
-0.03142682462930679,
-0.055841803550720215,
-0.01619231514632702,
-0.07221483439207077,
0.05081784725189209,
-0.009135285392403603,
0.05913086608052254,
0.023240309208631516,
0.031155750155448914,
-0.02967386320233345,
0.011186432093381882,
-0.06368495523929596,
0.012749641202390194,
0.012053878046572208,
-0.023511387407779694,
-0.02931242808699608,
-0.028173906728625298,
0.010951499454677105,
-0.030595524236559868,
-0.004041302017867565,
-0.0014412244781851768,
-0.007215158548206091,
0.0026384799275547266,
-0.0802387073636055,
0.006230246275663376,
0.0156682338565588,
-0.021234342828392982,
0.023619817569851875,
-0.008941013365983963,
-0.04142051935195923,
-0.038890473544597626,
0.030306376516819,
-0.005005883052945137,
0.029240140691399574,
0.0013824912020936608,
0.008376270532608032,
-0.038673609495162964,
0.016833864152431488,
-0.028987135738134384,
-0.005516410805284977,
-0.021884925663471222,
-0.0012108093360438943,
0.05125156790018082,
0.007106727920472622,
-0.016626037657260895,
0.008706080727279186,
-0.03899890184402466,
-0.005859775003045797,
-0.029511217027902603,
0.061697058379650116,
0.046805910766124725,
-0.015180295333266258,
0.008245250210165977,
0.007432019803673029,
0.039288051426410675,
0.0078070093877613544,
0.00534472893923521,
-0.030884673818945885,
0.0422518216073513,
-0.01113221701234579,
0.07207026332616806,
-0.020674116909503937,
0.0012898733839392662,
-0.02689080871641636,
0.016580859199166298,
0.006916974205523729,
0.01910187117755413,
-0.13777925074100494,
-0.06129948049783707,
0.015604982152581215,
0.01490018330514431,
-0.035854414105415344,
-0.06111876294016838,
-0.04984197020530701,
0.039396483451128006,
-0.043769851326942444,
0.012270739302039146,
-0.010147305205464363,
0.046408332884311676,
0.021306628361344337,
0.030089514330029488,
-0.013400224968791008,
0.04058922082185745,
0.0886240154504776,
-0.030469022691249847,
-0.004901970271021128,
0.049878112971782684,
-0.028625700622797012,
0.055986374616622925,
-0.006835651118308306,
0.026294440031051636,
-0.035456832498311996,
-0.02201142907142639,
-0.00272432086057961,
0.022246362641453743,
-0.008674454875290394,
0.00732358917593956,
0.024686051532626152,
-0.03487853705883026,
-0.04243253916501999,
0.0060179028660058975,
-0.03487853705883026,
-0.029890725389122963,
0.014177312143146992,
-0.0015993525739759207,
-0.037372443825006485,
0.02864377200603485,
0.039179619401693344,
0.0258787889033556,
0.06458854675292969,
-0.006659450940787792,
-0.004477283451706171,
0.04648061841726303,
0.07084137946367264,
-0.07308228313922882,
-0.0040322658605873585,
-0.0614079087972641,
0.04073379188776016,
-0.02878834679722786,
-0.024686051532626152,
0.007572075817734003,
-0.025192061439156532,
-0.01018344797194004,
-0.048215512186288834,
-0.007617255672812462,
0.008222660049796104,
-0.034444812685251236,
-0.015595946460962296,
-0.04929981753230095,
-0.058769430965185165,
0.044890303164720535,
0.03964948654174805,
0.015424264594912529,
0.0242161862552166,
-0.0007872519199736416,
0.009004265069961548,
0.014412244781851768,
-0.006953117437660694,
-0.050637129694223404,
-0.03388458862900734,
-0.018541647121310234,
0.011466545052826405,
0.00722871208563447,
0.0071699791587889194,
0.037625446915626526,
0.01807177998125553,
0.0014220232842490077,
-0.015062829479575157,
-0.017520591616630554,
-0.03158947080373764,
0.04825165495276451,
0.0003137148160021752,
-0.007151907309889793,
-0.021342772990465164,
0.03921576216816902,
-0.02179456688463688,
-0.006248318124562502,
0.011891231872141361,
0.04066150635480881,
-0.010075017809867859,
0.05613094940781593,
-0.03823988884687424,
-0.022842731326818466,
-0.021595777943730354,
-0.03820374235510826,
-0.016129063442349434,
-0.018270570784807205,
-0.03946876898407936,
-0.014601998962461948,
0.031408753246068954,
-0.00553900096565485,
0.04420357570052147,
0.009026854299008846,
0.006352230906486511,
0.03594477102160454,
-0.024613765999674797,
0.01516222395002842,
-0.036251991987228394,
0.02828233689069748,
-0.015460408292710781,
-0.04615532606840134,
0.022246362641453743,
0.03207740932703018,
0.10163569450378418,
0.003494630567729473,
-0.08031099289655685,
-0.060576606541872025,
0.039179619401693344,
0.049986544996500015,
0.024613765999674797,
0.01395141426473856,
-0.003503666492179036,
-0.023619817569851875,
0.01489114761352539,
0.0018365447176620364,
-0.009026854299008846,
-0.020692188292741776,
0.01822539046406746,
0.013562871143221855,
-0.023999324068427086,
-0.03525804355740547,
0.0451071634888649,
-0.03619777783751488,
0.04391442611813545,
0.026276368647813797,
0.021884925663471222,
-0.02408968284726143,
-0.002968289889395237,
-0.02358367294073105,
-0.0057106828317046165,
0.001496569369919598,
0.02942085824906826,
0.010734637267887592,
-0.055588796734809875,
-0.056600816547870636,
0.011873159557580948,
0.05219130218029022,
0.027722110971808434,
0.0054712314158678055,
-0.01848743110895157,
-0.04861309006810188,
-0.06751617044210434,
-0.05627552419900894,
-0.03384844586253166,
-0.023186095058918,
0.0009990306571125984,
0.029619649052619934,
-0.025914933532476425,
-0.009858156554400921,
0.0580827035009861,
0.07720264792442322,
-0.009451541118323803,
-0.023131879046559334,
0.037264011800289154,
0.006578128319233656,
0.05490206927061081,
0.009239197708666325,
0.09599729627370834,
-0.07315456867218018,
0.0168157909065485,
-0.026420943439006805,
-0.04203496128320694,
-0.03131839632987976,
0.005570626351982355,
-0.019770527258515358,
0.057648979127407074,
-0.007617255672812462,
-0.0878288522362709,
0.014665249735116959,
-0.0267462357878685,
-0.006085671950131655,
0.003135453909635544,
-0.017240477725863457,
0.04861309006810188,
-0.01413213275372982,
0.04189038649201393,
-0.010499704629182816,
-0.034571316093206406,
0.04481801390647888,
0.00784315261989832,
0.00860216747969389,
-0.07344371825456619,
-0.02764982357621193,
-0.01343636866658926,
0.04048078879714012,
-0.0655282735824585,
0.01730372942984104,
-0.07084137946367264,
-0.02255358174443245,
-0.026312513276934624,
0.03220391273498535,
0.0009199665510095656,
-0.012541815638542175,
-0.005507375113666058,
0.027487177401781082,
0.05974530801177025,
-0.006270907819271088,
-0.009650330990552902,
-0.03758930414915085,
0.02647515758872032,
0.007852188311517239,
0.034571316093206406,
0.00544864172115922,
-0.006916974205523729,
-0.05703454092144966,
0.001031785737723112,
0.007608219515532255,
-0.025318564847111702,
0.025788430124521255,
-0.046552907675504684,
0.08081699907779694,
0.04940824955701828,
0.06325123459100723,
-0.01694229431450367,
-0.024993272498250008,
0.08623853325843811,
0.11312934756278992,
0.005828149151057005,
0.001723596127703786
] |
52,069 |
uciwebauth.uciwebauth
|
WebAuthError
|
Base class for errors in the WebAuth class.
|
class WebAuthError(Exception):
"""Base class for errors in the WebAuth class."""
| null |
[
-0.04775775223970413,
-0.03929989039897919,
-0.028034893795847893,
0.09267191588878632,
-0.006206685211509466,
-0.08487026393413544,
-0.014391124248504639,
0.019795769825577736,
0.02212897315621376,
-0.03827911615371704,
0.07458958774805069,
0.03663858026266098,
0.04877853021025658,
0.01120119821280241,
-0.046044304966926575,
0.023660138249397278,
0.016332421451807022,
0.0799122080206871,
0.0009632437722757459,
-0.06248609721660614,
-0.04349236562848091,
0.011456391774117947,
0.013917192816734314,
0.023277347907423973,
-0.024863196536898613,
0.09092201292514801,
-0.005737310275435448,
-0.004347413778305054,
0.05027323588728905,
-0.04947119951248169,
-0.09566132724285126,
0.006425422616302967,
0.04265386983752251,
0.02819894813001156,
0.02706880308687687,
-0.03610996529459953,
0.021655041724443436,
0.05843944847583771,
-0.057564496994018555,
0.003262838814407587,
-0.12176404148340225,
0.020962372422218323,
-0.0427996963262558,
-0.023204434663057327,
0.06383498013019562,
0.005655283574014902,
0.01455517765134573,
0.0446225106716156,
-0.08953667432069778,
-0.015238733030855656,
-0.06671503186225891,
0.017663076519966125,
0.0058694640174508095,
-0.02734222449362278,
0.03415955230593681,
0.04626304283738136,
0.010891319252550602,
0.036656808108091354,
-0.05377304181456566,
0.021837323904037476,
-0.04502353072166443,
0.0022842150647193193,
-0.016651414334774017,
0.020379072055220604,
0.006279597524553537,
0.030532151460647583,
-0.04739318788051605,
0.010946003720164299,
-0.008325707167387009,
0.0171891450881958,
0.058876924216747284,
0.018702082335948944,
-0.07232929766178131,
0.009405725635588169,
0.0780164822936058,
0.014418466947972775,
-0.05391886830329895,
0.010836634784936905,
-0.013689340092241764,
0.011830069124698639,
0.06310585141181946,
-0.019285382702946663,
0.0013853394193574786,
0.03541729599237442,
0.11097297817468643,
-0.007783419918268919,
-0.03713073953986168,
-0.08457861840724945,
-0.033393971621990204,
0.0465182363986969,
-0.06409017741680145,
-0.027451593428850174,
-0.03127950429916382,
0.010982460342347622,
-0.001002548262476921,
-0.0019025631481781602,
-0.008758625946938992,
0.0011347023537382483,
-0.025865744799375534,
-0.03658389672636986,
0.03864367678761482,
0.011146513745188713,
-0.06161114573478699,
0.009291799739003181,
-0.006899354513734579,
-0.008612800389528275,
0.00498995603993535,
-0.032172683626413345,
0.030131131410598755,
-0.0046800775453448296,
-0.01543924305588007,
-0.01190298143774271,
0.00557781383395195,
0.040065474808216095,
-0.00033180927857756615,
-0.01224020216614008,
0.05362721532583237,
0.015475698746740818,
0.002333203097805381,
0.012905529700219631,
0.05636144056916237,
-0.007687722332775593,
-0.0465182363986969,
0.03361270949244499,
0.07389692217111588,
0.01430909801274538,
-0.022912783548235893,
-0.02530067227780819,
0.012941986322402954,
0.014564291574060917,
-0.014026560820639133,
0.003080557333305478,
-0.02819894813001156,
-0.06901177763938904,
0.005796551704406738,
0.006352510303258896,
0.023477856069803238,
0.01484682783484459,
-0.03483399376273155,
-0.00035801224294118583,
-0.011146513745188713,
0.08501609414815903,
0.006234027445316315,
0.014318211935460567,
-0.016387106850743294,
0.02548295259475708,
-0.03649275749921799,
-0.06339750438928604,
0.008394062519073486,
0.026321448385715485,
0.009806744754314423,
-0.04998158663511276,
0.03127950429916382,
0.0022169987205415964,
-0.030167587101459503,
-0.007865446619689465,
0.001892309752292931,
-0.012632107362151146,
-0.02313152141869068,
0.011629559099674225,
0.0001302315795328468,
-0.06332459300756454,
0.01412681583315134,
-0.016897493973374367,
0.023660138249397278,
0.006958596408367157,
0.05938731133937836,
-0.03075088933110237,
-0.0366932637989521,
-0.02362368255853653,
-0.034797538071870804,
-0.02072540670633316,
-0.03240964934229851,
0.009606234729290009,
-0.00005304676233208738,
-0.009228000417351723,
0.010508527979254723,
0.029912393540143967,
-0.053481392562389374,
0.02847236953675747,
0.05318973958492279,
-0.016596730798482895,
-0.005381861235946417,
0.022548221051692963,
0.026266762986779213,
0.03408664092421532,
0.00868571363389492,
0.04301843419671059,
0.029711883515119553,
0.020397299900650978,
-0.02706880308687687,
-0.034943364560604095,
-0.028909845277667046,
0.0014160993741825223,
0.03505273163318634,
-0.0020153499208390713,
-0.000042829033191083,
-0.004295007791370153,
0.08909919857978821,
0.04896080866456032,
-0.050090957432985306,
0.08428696542978287,
0.0002685803920030594,
-0.06616818159818649,
0.024462176486849785,
0.04593493789434433,
0.017015978693962097,
-0.05362721532583237,
-0.008539888076484203,
-0.013534401543438435,
0.018975503742694855,
-0.023240890353918076,
-0.011128285899758339,
0.055887505412101746,
0.03773226961493492,
-0.004926157649606466,
0.03962799906730652,
-0.02788906916975975,
0.0390082411468029,
0.07772482931613922,
0.06893885880708694,
-0.018610941246151924,
0.016204824671149254,
-0.07283968478441238,
0.026922976598143578,
0.04108624905347824,
-0.010007253848016262,
-0.057710323482751846,
-0.03527146950364113,
-0.0567624568939209,
0.01543924305588007,
-0.023240890353918076,
-0.01856536976993084,
0.03733124956488609,
-0.004320071544498205,
-0.00681277085095644,
0.02511839009821415,
-0.026740696281194687,
0.011046258732676506,
-0.008339378982782364,
-0.0025109276175498962,
-0.010581441223621368,
-0.05377304181456566,
0.09835909307003021,
0.01831929013133049,
-0.019941596314311028,
-0.039154063910245895,
0.054210517555475235,
-0.035435523837804794,
-0.016414448618888855,
-0.04885144159197807,
0.015120250172913074,
-0.051804400980472565,
-0.06095493212342262,
0.032628387212753296,
-0.03129773214459419,
-0.01666964218020439,
-0.03468816727399826,
0.03452411666512489,
-0.024316351860761642,
0.04950765520334244,
-0.023733051493763924,
0.007610252592712641,
0.0330476351082325,
0.011629559099674225,
-0.0038438611663877964,
0.024498634040355682,
0.03182635083794594,
0.03926343470811844,
0.04243513196706772,
0.10630656778812408,
0.03649275749921799,
-0.012796160764992237,
0.04028421267867088,
-0.04666406288743019,
-0.025865744799375534,
-0.008111526258289814,
0.09179696440696716,
0.005381861235946417,
-0.014090360142290592,
0.0036410728935152292,
-0.025792831555008888,
-0.036383386701345444,
0.046372413635253906,
-0.016596730798482895,
0.01707066223025322,
-0.011975894682109356,
-0.006557576823979616,
-0.0651109516620636,
0.009291799739003181,
0.0223112553358078,
-0.013798709027469158,
-0.018483344465494156,
-0.01831929013133049,
0.02493610978126526,
0.011711586266756058,
-0.008644700050354004,
-0.013206294737756252,
0.04968993738293648,
0.0018592713167890906,
0.018064096570014954,
0.052971001714468,
-0.022329483181238174,
-0.01852891407907009,
-0.006603147368878126,
-0.04345590993762016,
0.03005821816623211,
-0.009879657067358494,
-0.005833007860928774,
-0.018510686233639717,
0.01501088123768568,
0.026503730565309525,
-0.042872607707977295,
0.06161114573478699,
0.03769581392407417,
0.03558134660124779,
0.02761564776301384,
-0.02688652090728283,
-0.04217993840575218,
0.0798392966389656,
-0.019394751638174057,
-0.007824433036148548,
0.023186206817626953,
-0.05278872326016426,
0.06153823435306549,
-0.01156576070934534,
0.0035590461920946836,
0.01688838005065918,
-0.031862806528806686,
-0.002141807693988085,
-0.07243866473436356,
0.011839183047413826,
0.052132509648799896,
-0.019613489508628845,
-0.048341054469347,
-0.020798318088054657,
0.04035712406039238,
-0.013926306739449501,
-0.0026271319948136806,
-0.060152895748615265,
-0.004907929338514805,
-0.05854881554841995,
-0.011720700189471245,
0.05916857346892357,
-0.03277421370148659,
-0.07517288625240326,
-0.029165038838982582,
-0.021928464993834496,
0.03277421370148659,
-0.029547831043601036,
-0.002606625435873866,
0.043237172067165375,
-0.023186206817626953,
0.011028030887246132,
0.051804400980472565,
-0.014017446897923946,
-0.056616634130477905,
-0.041596636176109314,
0.020433755591511726,
-0.03246433660387993,
0.053080372512340546,
-0.012322229333221912,
-0.022420624271035194,
-0.005286163650453091,
-0.06339750438928604,
-0.012130833230912685,
0.009670033119618893,
-0.010371817275881767,
-0.009278127923607826,
0.013005784712731838,
0.02548295259475708,
-0.049908675253391266,
-0.04039357975125313,
-0.025738148018717766,
0.00014411630399990827,
0.0034952478017657995,
0.005700853653252125,
0.020488440990447998,
-0.061829883605241776,
0.014928855001926422,
0.03383144736289978,
0.043820470571517944,
-0.018665624782443047,
-0.008375834673643112,
0.0006003896705806255,
-0.02457154542207718,
-0.01362554170191288,
0.024042930454015732,
0.041596636176109314,
0.09996317327022552,
-0.05227833241224289,
-0.019157785922288895,
-0.0020119319669902325,
-0.007355058565735817,
-0.03230028226971626,
0.015320760197937489,
-0.047174450010061264,
-0.014072131365537643,
-0.025920428335666656,
-0.011930324137210846,
0.0016097734915092587,
0.013197180815041065,
0.023095065727829933,
0.028691107407212257,
0.04684634506702423,
0.017763331532478333,
0.008858880959451199,
0.006193013861775398,
-0.02118111029267311,
-0.029529603198170662,
-0.030823800712823868,
-0.0007416578591801226,
-0.028089579194784164,
-0.05242415890097618,
0.022639362141489983,
-0.006744415499269962,
-0.03224559873342514,
-0.01408124528825283,
0.008562673814594746,
-0.009588006883859634,
-0.01430909801274538,
-0.034305378794670105,
0.05406469106674194,
0.005796551704406738,
-0.10018191486597061,
0.027415137737989426,
0.011483734473586082,
0.015475698746740818,
0.01566709391772747,
-0.012249317020177841,
0.017398769035935402,
0.029055669903755188,
-0.018054982647299767,
-0.04892435297369957,
-0.008845210075378418,
-0.03948217257857323,
-0.06988672912120819,
0.043237172067165375,
0.020962372422218323,
-0.014874170534312725,
0.034669939428567886,
0.008713055402040482,
0.01941297948360443,
0.04670051857829094,
0.10091103613376617,
-0.06434536725282669,
-0.03029518574476242,
0.050674255937337875,
0.004953499883413315,
-0.0038187974132597446,
-0.019577031955122948,
0.0005200718878768384,
0.008275579661130905,
-0.03871659189462662,
-0.006976824253797531,
-0.023860648274421692,
-0.08414114266633987,
0.04028421267867088,
0.04349236562848091,
0.0025018134620040655,
0.017690420150756836,
0.06434536725282669,
-0.025683462619781494,
-0.04961702227592468,
-0.0330476351082325,
0.028636423870921135,
0.050127413123846054,
-0.00862647220492363,
0.041742462664842606,
0.011337908916175365,
0.0032035973854362965,
0.003192204749211669,
-0.017872700467705727,
-0.004235766362398863,
0.006534791551530361,
0.048814985901117325,
0.05034615099430084,
0.017052434384822845,
-0.00715454900637269,
-0.03202686086297035,
0.024243438616394997,
-0.022785186767578125,
0.021782638505101204,
-0.012267544865608215,
0.0111556276679039,
-0.056288525462150574,
-0.011975894682109356,
-0.010982460342347622,
0.018182579427957535,
0.0010709038469940424,
0.014272641390562057,
-0.018638283014297485,
-0.04487770423293114,
0.038023918867111206,
-0.001975475810468197,
0.01400833297520876,
-0.03527146950364113,
0.022365938872098923,
-0.07167308777570724,
-0.038424938917160034,
0.02679537981748581,
-0.0856723040342331,
0.027852613478899002,
-0.05380949750542641,
0.05282517895102501,
-0.050090957432985306,
0.0019412979017943144,
0.025318900123238564,
0.07714153081178665,
-0.018036754801869392,
-0.009806744754314423,
0.04575265571475029,
0.026102710515260696,
-0.027141714468598366,
0.01652381755411625,
-0.037477076053619385,
-0.024790283292531967,
0.013689340092241764,
0.01596785895526409,
0.07331361621618271,
0.01060878299176693,
0.018583599478006363,
0.032391421496868134,
0.02090768702328205,
0.006539348512887955,
-0.0027137158904224634,
-0.0019549690186977386,
-0.027232855558395386,
-0.003971457947045565,
0.0733865275979042,
0.011429050005972385,
0.03505273163318634,
0.023095065727829933,
-0.03594591096043587,
0.030185816809535027,
-0.011046258732676506,
-0.10382754355669022,
-0.005208693910390139,
-0.010043710470199585,
0.008362163789570332,
0.00021190223924349993,
0.03392258659005165,
-0.011957665905356407,
0.00320815434679389,
-0.030914941802620888,
-0.033029407262802124,
-0.08107881247997284,
0.0028321987483650446,
-0.05603333190083504,
-0.019376523792743683,
0.04053940623998642,
0.021709727123379707,
0.020287930965423584,
-0.005190465599298477,
-0.015384558588266373,
0.0031238491646945477,
0.026376131922006607,
0.032081544399261475,
0.0274333655834198,
0.01670609973371029,
0.016377992928028107,
-0.023605454713106155,
-0.04123207554221153,
-0.013443260453641415,
-0.011720700189471245,
-0.020470211282372475,
-0.009989026002585888,
0.00429045083001256,
-0.05184085667133331,
-0.004907929338514805,
-0.06795454025268555,
0.037622902542352676,
0.01460074819624424,
0.039154063910245895,
0.02163681387901306,
0.03169875219464302,
-0.010326246730983257,
0.07495415210723877,
0.03419600799679756,
-0.04928891733288765,
0.030003534629940987,
-0.00952420849353075,
-0.02615739405155182,
-0.06543906033039093,
0.0007496326579712331,
-0.027087030932307243,
0.0068173278123140335,
-0.026102710515260696,
-0.015266075730323792,
0.021326934918761253,
-0.055486489087343216,
-0.06416308879852295,
-0.021746182814240456,
-0.037841640412807465,
0.020962372422218323,
0.040648773312568665,
-0.016751669347286224,
-0.0733865275979042,
-0.03889887034893036,
0.038096833974123,
-0.0049216002225875854,
0.011137399822473526,
0.02816249057650566,
-0.049726393073797226,
0.04050295054912567,
0.014792143367230892,
0.004260830115526915,
-0.005678068846464157,
0.0009609652915969491,
0.010016368702054024,
0.043601732701063156,
0.0055641429498791695,
-0.021017055958509445,
0.002554219448938966,
-0.016815468668937683,
0.021709727123379707,
-0.015831148251891136,
0.03087848611176014,
-0.007769749034196138,
0.04830459877848625,
0.02158212848007679,
-0.016997748985886574,
-0.04422149062156677,
0.06481929868459702,
-0.032719530165195465,
0.044148579239845276,
0.03419600799679756,
0.021290479227900505,
-0.07320424914360046,
-0.040648773312568665,
-0.019248927012085915,
0.052351247519254684,
0.01056321244686842,
-0.08632851392030716,
-0.028399458155035973,
0.04567974433302879,
0.04589848220348358,
-0.016113683581352234,
0.0642724558711052,
0.045606829226017,
0.015585067681968212,
0.0038780388422310352,
-0.025738148018717766,
0.025355355814099312,
-0.009351041167974472,
0.021326934918761253,
-0.016569389030337334,
-0.04626304283738136,
0.03940926119685173,
-0.05639789626002312,
0.0164873618632555,
0.04928891733288765,
0.017900042235851288,
-0.0043269069865345955,
-0.07087104767560959,
0.00036228448152542114,
-0.014628089964389801,
0.016970407217741013,
0.03257370367646217,
-0.0067854286171495914,
0.019212469458580017,
-0.020287930965423584,
0.05231478810310364,
-0.037440620362758636,
-0.009186987765133381,
0.036383386701345444,
0.03882595896720886,
-0.033576250076293945,
0.017025092616677284,
-0.023423172533512115,
0.029256179928779602,
-0.017152689397335052,
0.03948217257857323,
-0.009515094570815563,
0.0008231148822233081,
-0.004276779480278492,
-0.010390045121312141,
-0.07433439791202545,
-0.022329483181238174,
0.014017446897923946,
0.006612261291593313,
0.03397727012634277,
-0.05920502915978432,
-0.01932183839380741,
0.022548221051692963,
0.10302550345659256,
0.01421795692294836,
0.04648178070783615,
0.0028185276314616203,
-0.05315328389406204,
-0.04892435297369957,
-0.029857710003852844,
-0.0511481873691082,
0.012905529700219631,
-0.02938377670943737,
-0.011137399822473526,
-0.00972471758723259,
-0.03047746606171131,
0.04542455077171326,
0.029493145644664764,
-0.01120119821280241,
0.00021660169295500964,
-0.00852166023105383,
0.003941837232559919,
0.03736770525574684,
-0.026412589475512505,
0.04145081341266632,
-0.0464453250169754,
0.058876924216747284,
-0.06077264994382858,
-0.020397299900650978,
-0.023660138249397278,
0.02633967623114586,
-0.05650726333260536,
0.027323996648192406,
-0.04794003441929817,
0.027852613478899002,
0.03600059449672699,
0.006293268874287605,
-0.00690391194075346,
0.008658370934426785,
-0.015858490020036697,
0.022110745310783386,
0.02014210633933544,
0.01330654975026846,
-0.034888677299022675,
-0.006452764850109816,
-0.033667393028736115,
-0.0022466194350272417,
0.032810669392347336,
0.001050397171638906,
0.01357997115701437,
-0.06492867320775986,
0.09464055299758911,
-0.04484124854207039,
-0.006170228589326143,
-0.03966445475816727,
0.024134069681167603,
-0.005559585522860289,
0.08064133673906326,
0.030586834996938705,
-0.040831055492162704,
-0.027506278827786446,
-0.07331361621618271,
0.0027228298131376505,
-0.009255343116819859,
0.023824192583560944,
0.017107117921113968,
0.0020757305901497602,
0.05140338093042374,
-0.006347953341901302,
-0.014956196770071983,
-0.013197180815041065,
-0.010809293016791344,
-0.0325554758310318,
0.00024650723207741976,
-0.006234027445316315,
0.00043889967491850257,
-0.01630507968366146,
-0.008188996464014053,
0.011292338371276855,
0.024152299389243126,
-0.02624853514134884,
-0.027907297015190125,
0.01704332046210766,
0.076193667948246,
0.007396071683615446,
0.02883693389594555
] |
52,071 |
tussik.zpl.zplconfig
|
ZplConfig
| null |
class ZplConfig:
__slots__ = ['timeout', 'width', 'height', 'dpmm']
def __init__(self,
timeout: Optional[int] = None,
width: Union[None, float, int] = None,
height: Union[None, float, int] = None,
dpmm: Union[None, float, int] = None):
self.timeout: int = min(500, max(1, timeout if isinstance(timeout, int) else 10))
self.width: float = float(min(100, max(1, width if isinstance(width, (int, float)) else 4)))
self.height: float = float(min(100, max(1, height if isinstance(height, (int, float)) else 6)))
self.dpmm: float = float(min(100, max(1, dpmm if isinstance(dpmm, (int, float)) else 8)))
def copy(self) -> "ZplConfig":
return ZplConfig(self.timeout, self.width, self.height, self.dpmm)
|
(timeout: Optional[int] = None, width: Union[NoneType, float, int] = None, height: Union[NoneType, float, int] = None, dpmm: Union[NoneType, float, int] = None)
|
[
0.07931767404079437,
-0.03950946405529976,
-0.01740208826959133,
-0.05108596011996269,
-0.04585786536335945,
0.015226827934384346,
-0.06337198615074158,
-0.030266936868429184,
-0.030509671196341515,
-0.004688947927206755,
-0.02109909988939762,
0.017850210890173912,
-0.025337589904665947,
0.06871210783720016,
-0.02016551047563553,
0.06523916125297546,
0.022256748750805855,
0.005825591739267111,
0.003241885919123888,
0.0038907299749553204,
0.039658837020397186,
-0.041563358157873154,
0.009699984453618526,
0.09313478320837021,
-0.005610866472125053,
-0.004737961571663618,
0.02587907202541828,
0.006054321303963661,
-0.029221318662166595,
-0.034001290798187256,
-0.045895207673311234,
0.053513288497924805,
-0.009793343022465706,
0.06759180128574371,
-0.018933173269033432,
-0.02343307062983513,
0.009597289375960827,
0.007907493971288204,
-0.1397395133972168,
0.019269265234470367,
0.026420554146170616,
-0.03196606785058975,
0.02040824294090271,
-0.014704017899930477,
0.022443465888500214,
0.03478550538420677,
-0.023806504905223846,
0.03999492898583412,
-0.024721423164010048,
-0.02994951792061329,
0.04772504046559334,
0.02518821693956852,
-0.04193679243326187,
0.035476360470056534,
-0.034841522574424744,
0.06124340370297432,
0.02998686209321022,
0.08462046086788177,
0.023134322836995125,
0.009699984453618526,
-0.10306816548109055,
-0.003949079196900129,
0.027652889490127563,
-0.06075793504714966,
-0.008336944505572319,
-0.06340932846069336,
-0.09545008093118668,
-0.011221732944250107,
0.05709826946258545,
0.009200514294207096,
0.0745750442147255,
0.019904104992747307,
-0.01010142732411623,
0.012958208099007607,
0.06572462618350983,
-0.02737281285226345,
-0.04346787929534912,
0.005909614730626345,
-0.002681732876226306,
-0.05052580684423447,
-0.05508171766996384,
0.030509671196341515,
-0.015824323520064354,
0.012556764297187328,
0.013471681624650955,
0.01259410846978426,
0.03217145800590515,
-0.02537493407726288,
0.025748370215296745,
0.016067057847976685,
-0.005106728989630938,
0.012080634944140911,
-0.04122726619243622,
0.0016757912235334516,
0.004324848297983408,
0.006717168726027012,
-0.00834628101438284,
-0.02412392571568489,
-0.0051487404853105545,
0.002623383654281497,
-0.05773311108350754,
-0.023787833750247955,
-0.07565800845623016,
-0.01588967628777027,
0.017009980976581573,
-0.03254489228129387,
0.012827505357563496,
-0.005046045407652855,
-0.010362831875681877,
0.005699557717889547,
0.02845577523112297,
0.02976280078291893,
-0.07494848221540451,
0.01574963703751564,
0.03762361407279968,
0.02690601907670498,
-0.055492497980594635,
-0.027018049731850624,
-0.010782946832478046,
-0.009980060160160065,
-0.015945691615343094,
0.06325995177030563,
-0.013854452408850193,
0.06624743342399597,
0.004217485897243023,
0.06344667077064514,
0.0020819022320210934,
-0.03064037300646305,
-0.012995551340281963,
-0.002586039947345853,
0.041824761778116226,
0.012211336754262447,
-0.01648717187345028,
0.024385331198573112,
0.0046656085178256035,
-0.039808209985494614,
0.017560798674821854,
0.021640580147504807,
-0.016449827700853348,
0.001289519015699625,
0.005685553885996342,
0.07061663269996643,
0.024497361853718758,
0.003783367108553648,
-0.02604711800813675,
0.009924044832587242,
0.006609806325286627,
-0.027970310300588608,
-0.014050506055355072,
0.03469214588403702,
-0.009317212738096714,
0.009251861833035946,
-0.029464051127433777,
0.04287038370966911,
-0.005414812825620174,
-0.06411885470151901,
-0.013004886917769909,
-0.021621908992528915,
-0.0012918530264869332,
-0.0008997458498924971,
-0.10097692906856537,
0.006801191717386246,
0.027746248990297318,
-0.06467901170253754,
-0.050936587154865265,
-0.03894931077957153,
0.025916416198015213,
-0.04914409667253494,
0.009597289375960827,
0.03672736883163452,
0.012099306099116802,
-0.09896037727594376,
-0.00017942403792403638,
0.028530463576316833,
-0.013985155150294304,
0.037455569952726364,
-0.033366452902555466,
-0.011455130763351917,
-0.0046352664940059185,
-0.07065397500991821,
0.02106175571680069,
-0.012902192771434784,
-0.04989096522331238,
0.004854660015553236,
0.05261704698204994,
0.03325442224740982,
-0.03566307947039604,
0.049181438982486725,
0.010698923841118813,
-0.016011042520403862,
0.0006325061549432576,
0.0034986226819455624,
0.012164657935500145,
-0.03627924621105194,
-0.0011844903929159045,
-0.032283488661050797,
0.0014528969768434763,
-0.0118472371250391,
0.016496507450938225,
0.06964569538831711,
-0.006185023579746485,
-0.018317004665732384,
0.03177935257554054,
-0.04410271719098091,
0.013686406426131725,
-0.06770383566617966,
-0.035102926194667816,
0.0033212408889085054,
0.010922985151410103,
0.04630598798394203,
-0.012407390400767326,
-0.023526428267359734,
0.010726931504905224,
-0.005550183355808258,
0.012790162116289139,
-0.060944654047489166,
-0.03317973390221596,
0.03950946405529976,
0.028773196041584015,
-0.007870150730013847,
0.09059542417526245,
-0.01507745310664177,
-0.01695396564900875,
0.0006447595078498125,
0.018643761053681374,
0.006409084890037775,
-0.007403356488794088,
-0.052654389292001724,
-0.03782900422811508,
-0.01531085092574358,
0.045745834708213806,
-0.046343330293893814,
-0.004639934748411179,
-0.020594961941242218,
0.062438394874334335,
0.00488733546808362,
-0.020520273596048355,
-0.015656277537345886,
-0.06284917145967484,
-0.00738001661375165,
-0.005466160364449024,
-0.008631025440990925,
0.03388926014304161,
0.023619787767529488,
0.02347041293978691,
-0.017663493752479553,
-0.028101012110710144,
0.05601530894637108,
-0.010624236427247524,
0.03368386998772621,
-0.0035242964513599873,
-0.024030566215515137,
-0.03556971997022629,
0.04387865588068962,
0.011324428021907806,
0.011875244788825512,
-0.03999492898583412,
-0.05022705718874931,
0.023769162595272064,
-0.026327194646000862,
0.02259284071624279,
-0.08895231038331985,
0.005410145036876202,
0.06733039766550064,
0.01689795032143593,
0.012902192771434784,
-0.02821304276585579,
-0.022256748750805855,
-0.06856273859739304,
0.018317004665732384,
0.0555671863257885,
0.010334824211895466,
-0.03237684816122055,
-0.0001337657158728689,
0.016879279166460037,
0.0029081280808895826,
0.014918743632733822,
-0.02518821693956852,
0.034449413418769836,
-0.02950139530003071,
0.03766096010804176,
-0.023321039974689484,
0.015040109865367413,
-0.019642701372504234,
-0.029482724145054817,
0.012612779624760151,
-0.025972431525588036,
0.010381503961980343,
0.013378322124481201,
0.0016769582871347666,
-0.016029713675379753,
-0.00895778089761734,
0.001110970275476575,
-0.028829211369156837,
0.12106774747371674,
0.009671976789832115,
-0.03338512405753136,
0.023750489577651024,
0.004835988394916058,
0.003353916574269533,
0.01934395357966423,
-0.06146746501326561,
0.014302575029432774,
0.08491920679807663,
0.00015024939784780145,
0.004324848297983408,
-0.029258662834763527,
-0.0008227248326875269,
0.06228902190923691,
0.03019225038588047,
0.05295313894748688,
0.0066238101571798325,
0.02783960849046707,
0.017784859985113144,
0.0516834557056427,
0.01973606087267399,
0.017644822597503662,
-0.02240612357854843,
0.028157027438282967,
0.04709020256996155,
-0.050451118499040604,
0.0006301722023636103,
-0.035065583884716034,
-0.008635693229734898,
0.02124847285449505,
-0.014078513719141483,
0.0051580760627985,
0.006707833148539066,
-0.002597709884867072,
-0.0019243592396378517,
-0.1260717809200287,
0.03865056112408638,
-0.006105668377131224,
-0.014619994908571243,
0.03405730798840523,
-0.0018555070273578167,
0.017700837925076485,
0.04361725226044655,
-0.01367707084864378,
-0.051832832396030426,
0.07886955142021179,
0.01303289458155632,
-0.035756438970565796,
-0.006030981428921223,
0.01783153973519802,
-0.013144925236701965,
-0.0040354360826313496,
-0.009167838841676712,
0.010250801220536232,
0.03164864704012871,
-0.03698877617716789,
-0.02020285464823246,
0.006586466450244188,
0.08350015431642532,
0.07016851007938385,
-0.01185657363384962,
-0.0030434983782470226,
-0.05108596011996269,
-0.00008832621824694797,
-0.01660853810608387,
0.00923318974673748,
0.011455130763351917,
-0.028959913179278374,
0.0015976032009348273,
0.015908347442746162,
0.019922778010368347,
0.005125400610268116,
-0.0621023029088974,
0.022966276854276657,
0.0025486964732408524,
-0.04720223322510719,
-0.0486212857067585,
-0.028530463576316833,
-0.07483644783496857,
0.03583112359046936,
-0.016431156545877457,
-0.06770383566617966,
0.035961829125881195,
-0.026551255956292152,
0.002623383654281497,
0.04802379012107849,
-0.03605518490076065,
0.05108596011996269,
0.038986653089523315,
0.018905166536569595,
-0.005596862640231848,
-0.03823978453874588,
0.0016197760123759508,
0.03241419047117233,
0.026812659576535225,
-0.01842903532087803,
0.02371314726769924,
-0.02302229218184948,
0.05175814405083656,
-0.02647656947374344,
0.03187270835042,
-0.01748611219227314,
0.09731726348400116,
-0.023619787767529488,
0.0036293251905590296,
0.007496715523302555,
-0.07834674417972565,
-0.02259284071624279,
0.05579124763607979,
0.0011984942248091102,
-0.0320780985057354,
0.09022198617458344,
0.03599917143583298,
0.022648856043815613,
0.007762787863612175,
0.034878864884376526,
-0.014153201133012772,
-0.026103133335709572,
0.007683433126658201,
-0.0147600332275033,
-0.03909868374466896,
-0.012089970521628857,
-0.03131255507469177,
0.01997879333794117,
-0.014377262443304062,
0.03805306553840637,
-0.020072150975465775,
0.02322768047451973,
0.002674730960279703,
0.0672183707356453,
0.004849992226809263,
-0.0026000437792390585,
0.057434361428022385,
-0.05254235863685608,
-0.02175261080265045,
0.004817316308617592,
0.06273714452981949,
0.0029408035334199667,
-0.03351582586765289,
0.03176067769527435,
-0.041824761778116226,
0.025020170956850052,
-0.027316797524690628,
0.013023559004068375,
0.019904104992747307,
0.05683686584234238,
0.016375141218304634,
0.018027592450380325,
0.02561766654253006,
-0.017850210890173912,
0.013537032529711723,
-0.013098246417939663,
-0.05448422208428383,
-0.045932553708553314,
-0.009727992117404938,
-0.03019225038588047,
0.023059634491801262,
0.01979207433760166,
-0.029576081782579422,
0.017738180235028267,
-0.05022705718874931,
-0.06139277666807175,
-0.029482724145054817,
-0.07774924486875534,
-0.008621688932180405,
0.05216892436146736,
-0.03142458572983742,
0.009443247690796852,
-0.02326502464711666,
-0.029930846765637398,
0.054185472428798676,
0.07976579666137695,
0.014778705313801765,
-0.02737281285226345,
0.016020378097891808,
-0.003673670580610633,
0.006002973765134811,
-0.043990686535835266,
-0.004621262662112713,
0.03062170185148716,
-0.020893709734082222,
-0.012986215762794018,
0.043579909950494766,
-0.0386132188141346,
-0.02477743849158287,
0.006077660713344812,
-0.00511139677837491,
0.024833453819155693,
0.030136235058307648,
-0.03936009109020233,
0.0015322520630434155,
0.032694268971681595,
-0.015927018597722054,
0.006544454954564571,
0.03913602977991104,
-0.10971531271934509,
0.026345865800976753,
-0.04305709898471832,
-0.00471462169662118,
-0.01815829612314701,
0.01956801488995552,
-0.004910675343126059,
0.008024192415177822,
0.05284110829234123,
-0.0408538319170475,
-0.04021899029612541,
0.01106302347034216,
-0.009830686263740063,
-0.013761093840003014,
0.014573316089808941,
-0.009214517660439014,
-0.06833867728710175,
0.0451483391225338,
-0.01979207433760166,
0.027690233662724495,
-0.010512205772101879,
0.019007861614227295,
-0.03502823784947395,
0.011791221797466278,
0.0026490571908652782,
-0.002290792763233185,
-0.02457204833626747,
0.019054539501667023,
-0.025748370215296745,
-0.06098199635744095,
0.015012102201581001,
0.08940043300390244,
0.06983241438865662,
-0.04369194060564041,
-0.015189483761787415,
0.06632212549448013,
0.05261704698204994,
-0.06150480732321739,
0.06512713432312012,
0.0174674391746521,
0.008677704259753227,
-0.062027618288993835,
-0.0182796623557806,
0.07188630849123001,
0.03794103488326073,
0.015058781951665878,
-0.031163182109594345,
-0.012435398064553738,
-0.07229708880186081,
-0.049218785017728806,
-0.006707833148539066,
0.0007801298634149134,
0.05149674043059349,
-0.008803739212453365,
-0.04682879522442818,
0.04219819977879524,
0.014069178141653538,
0.06232636421918869,
-0.007356677204370499,
-0.023937208577990532,
0.01587100327014923,
-0.038109079003334045,
0.024870796129107475,
-0.03760494291782379,
-0.0014925745781511068,
0.02218206226825714,
0.035326987504959106,
-0.07842142879962921,
0.05538046732544899,
0.00005732816498493776,
0.010390839539468288,
0.0003719766391441226,
0.009961389005184174,
-0.015899011865258217,
-0.06206496059894562,
-0.029818816110491753,
-0.012192665599286556,
0.034430742263793945,
-0.008799071423709393,
0.043579909950494766,
0.04294506832957268,
-0.006609806325286627,
0.039845556020736694,
-0.02823171578347683,
-0.01789689064025879,
-0.028810540214180946,
0.036167215555906296,
0.06184089928865433,
0.003963083028793335,
-0.01795290596783161,
0.014676010236144066,
0.06337198615074158,
-0.005358797963708639,
-0.07804799824953079,
-0.029669441282749176,
-0.006651817820966244,
-0.03973352536559105,
-0.029912173748016357,
0.018195638433098793,
-0.014414605684578419,
0.001374708954244852,
0.06841336190700531,
-0.014246559701859951,
0.015217491425573826,
-0.03196606785058975,
-0.017663493752479553,
-0.03273161128163338,
-0.029856158420443535,
0.030322952196002007,
0.049218785017728806,
-0.05052580684423447,
0.000019565242837416008,
-0.046156615018844604,
0.006829199381172657,
0.012472741305828094,
0.0006150014232844114,
-0.01691662333905697,
-0.006077660713344812,
-0.01073626708239317,
-0.017551463097333908,
0.04231023043394089,
0.009349888190627098,
0.00646976800635457,
-0.04712754487991333,
0.005699557717889547,
-0.050936587154865265,
-0.06710633635520935,
0.05131002143025398,
0.014097185805439949,
0.007543394807726145,
-0.028959913179278374,
0.03973352536559105,
-0.005942290648818016,
-0.0026023779064416885,
-0.03715682029724121,
-0.04712754487991333,
-0.04077914357185364,
-0.04066711291670799,
-0.03387058898806572,
-0.0032138782553374767,
0.08051266521215439,
-0.01421855203807354,
0.04081648588180542,
-0.055044375360012054,
-0.09470321238040924,
-0.025486964732408524,
-0.0120526272803545,
0.026980705559253693,
0.036820728331804276,
0.051608771085739136,
0.031835366040468216,
-0.0002240612229797989,
0.012967543676495552,
-0.018148958683013916,
-0.002674730960279703,
0.003106515621766448,
-0.0034472753759473562,
-0.00856100581586361,
0.013471681624650955,
-0.023339711129665375,
-0.011791221797466278,
0.017700837925076485,
0.006371741183102131,
0.027223439887166023,
-0.01076427474617958,
-0.0013537032064050436,
-0.0029734792187809944,
0.058517325669527054,
0.051832832396030426,
-0.025468293577432632,
-0.05724764242768288,
0.007856146432459354,
-0.02907194383442402,
0.004100787453353405,
0.04619395732879639,
-0.015562919899821281,
-0.004506898112595081,
0.018167631700634956,
-0.03278762474656105,
0.002088904147967696,
0.03519628569483757,
-0.021621908992528915,
-0.027727577835321426,
0.010148106142878532,
0.001815829542465508,
-0.03211544454097748,
-0.05478297173976898,
-0.025692354887723923,
-0.002249948214739561,
-0.02431064285337925,
0.07289458811283112,
0.04477490112185478,
-0.02300361916422844,
-0.011968604288995266,
0.0025930418632924557,
0.046156615018844604,
0.007099939975887537,
-0.029725456610322,
0.007478043437004089,
0.013172932900488377,
-0.001048536505550146,
0.009303209371864796,
0.030659044161438942,
0.055977962911129,
-0.0011605671606957912,
-0.0802886039018631,
-0.03019225038588047,
-0.021901985630393028,
0.012780825607478619,
-0.0525050163269043,
0.011567161418497562,
-0.025038842111825943,
-0.04410271719098091,
0.0367647148668766,
0.014414605684578419,
0.008645028807222843,
-0.010988336056470871,
-0.00034659472294151783,
0.04081648588180542,
-0.028493119403719902,
0.02022152580320835,
0.10881906747817993,
0.06060856208205223,
-0.019157234579324722,
0.00016016876907087862,
0.06075793504714966,
0.028997257351875305,
-0.005354129709303379,
-0.04369194060564041,
0.020352227613329887,
-0.03674603998661041,
0.059824347496032715,
0.00565287796780467,
0.007478043437004089,
-0.007930833846330643,
0.030341625213623047,
-0.0041521345265209675,
-0.01719669997692108,
0.01054954994469881,
0.00044491325388662517,
-0.009746663272380829,
0.06150480732321739,
-0.007958841510117054,
0.006922558415681124,
-0.01640314981341362,
0.00896711740642786,
0.01444261334836483,
0.036167215555906296,
-0.013602383434772491,
0.09037136286497116,
0.029893502593040466,
0.0105215422809124,
0.05642608553171158,
0.04641801863908768,
-0.012883520685136318,
-0.015861667692661285,
-0.010801617987453938,
0.05590327829122543,
0.006661153864115477,
0.020706992596387863,
0.03458011522889137,
-0.017336737364530563,
-0.005172079894691706,
0.03822110965847969,
0.04175007715821266,
-0.08454576879739761,
-0.01954934187233448,
-0.04559646174311638,
-0.034449413418769836,
-0.0512726791203022,
-0.07181162387132645,
-0.021453863009810448,
0.038575876504182816,
0.0778239369392395,
-0.006908554583787918,
0.025991102680563927,
-0.029613425955176353,
0.009125826880335808
] |
52,072 |
tussik.zpl.zplconfig
|
__init__
| null |
def __init__(self,
timeout: Optional[int] = None,
width: Union[None, float, int] = None,
height: Union[None, float, int] = None,
dpmm: Union[None, float, int] = None):
self.timeout: int = min(500, max(1, timeout if isinstance(timeout, int) else 10))
self.width: float = float(min(100, max(1, width if isinstance(width, (int, float)) else 4)))
self.height: float = float(min(100, max(1, height if isinstance(height, (int, float)) else 6)))
self.dpmm: float = float(min(100, max(1, dpmm if isinstance(dpmm, (int, float)) else 8)))
|
(self, timeout: Optional[int] = None, width: Union[NoneType, float, int] = None, height: Union[NoneType, float, int] = None, dpmm: Union[NoneType, float, int] = None)
|
[
0.06443911045789719,
0.01937514916062355,
-0.005413644947111607,
-0.038171395659446716,
-0.029614491388201714,
0.011388101615011692,
-0.043598610907793045,
-0.01735803484916687,
-0.08017802238464355,
0.02268574945628643,
0.01135191973298788,
0.0831449031829834,
-0.01712285727262497,
0.04294734448194504,
0.004463882651180029,
0.03809903562068939,
0.03929302096366882,
0.01959223859012127,
-0.026756159961223602,
-0.014816290698945522,
0.03256327658891678,
0.0363985076546669,
-0.02950594760477543,
0.08090165257453918,
-0.015639418736100197,
0.011134831234812737,
0.00008706154039828107,
0.0038940252270549536,
-0.008706154301762581,
-0.01888670027256012,
-0.016245456412434578,
0.047795653343200684,
0.002614107448607683,
0.0665014460682869,
-0.040523190051317215,
0.0020148528274148703,
-0.011424282565712929,
0.0012064242037013173,
-0.12504298985004425,
0.032472822815179825,
-0.014137889258563519,
-0.02292092889547348,
0.010782063007354736,
-0.004280714318156242,
0.009380033239722252,
-0.01645350083708763,
0.037194497883319855,
0.0018803031416609883,
-0.01886861026287079,
-0.02272193133831024,
0.004911627620458603,
-0.015766052529215813,
-0.021582216024398804,
0.027045611292123795,
-0.08683540672063828,
0.10463666170835495,
-0.022287754341959953,
0.09660438448190689,
0.04399660602211952,
-0.004739766009151936,
-0.08140819519758224,
0.021148039028048515,
0.04280261695384979,
-0.023517921566963196,
-0.06878087669610977,
-0.023554103448987007,
-0.03659750521183014,
0.011044378392398357,
0.0038307076320052147,
0.028040599077939987,
0.08263836055994034,
0.06089332699775696,
-0.011930822394788265,
0.03243664279580116,
0.07446136325597763,
-0.008642836473882198,
-0.054416853934526443,
0.005915661808103323,
-0.000011483360140118748,
0.004147294908761978,
-0.0025824487674981356,
0.06888942420482635,
-0.018154026940464973,
-0.015160014852881432,
-0.0021968905348330736,
-0.004043273627758026,
-0.01357707753777504,
-0.003672413993626833,
-0.0292526762932539,
-0.03802667185664177,
-0.0643305629491806,
-0.03113410994410515,
-0.009149376302957535,
0.021835485473275185,
-0.020189231261610985,
0.01888670027256012,
0.007390054874122143,
-0.008104638196527958,
-0.015395193360745907,
0.0016643452690914273,
-0.03221955522894859,
-0.04848309978842735,
0.006096568889915943,
-0.011659462004899979,
0.027588332071900368,
-0.01745753362774849,
-0.009949889965355396,
-0.04139154404401779,
0.01534996647387743,
0.046167489141225815,
0.022034484893083572,
0.0050427853129804134,
-0.07525735348463058,
0.0589757114648819,
0.008136296644806862,
0.013966027647256851,
-0.032925091683864594,
-0.0036023124121129513,
-0.0024015416856855154,
-0.006381497718393803,
-0.014309750869870186,
0.04341770336031914,
-0.0212565828114748,
0.01735803484916687,
0.021672669798135757,
0.026394344866275787,
-0.012473544105887413,
-0.007295078597962856,
-0.011080559343099594,
0.025797352194786072,
0.033196453005075455,
-0.003932468127459288,
0.04728911444544792,
0.05810735747218132,
-0.03943774476647377,
-0.020641500130295753,
-0.0037606062833219767,
0.02784160152077675,
0.027045611292123795,
-0.017294717952609062,
-0.04699966311454773,
0.04725293442606926,
0.0029058202635496855,
-0.03189392015337944,
0.0010486957617104053,
0.031984373927116394,
0.03097129426896572,
-0.04634839668869972,
-0.010673518292605877,
0.042621709406375885,
-0.03446280211210251,
-0.034842707216739655,
0.02576117031276226,
0.015386148355901241,
0.05134143307805061,
-0.06234058365225792,
0.03563869744539261,
-0.056841008365154266,
0.0011057945666834712,
0.0028696388471871614,
-0.03211100772023201,
-0.005404599476605654,
0.02174503356218338,
-0.025091813877224922,
-0.011207194067537785,
0.0094523960724473,
-0.03715831786394119,
-0.011731824837625027,
0.023988280445337296,
0.034336164593696594,
0.008122728206217289,
-0.06639290601015091,
0.007498599123209715,
-0.006630245130509138,
-0.014391159638762474,
0.02170885168015957,
-0.0135680316016078,
-0.034173350781202316,
0.006897083017975092,
-0.021618397906422615,
0.0378095842897892,
-0.005440780892968178,
-0.003428189316764474,
-0.0047714244574308395,
-0.01833493448793888,
0.03442661836743355,
-0.020478682592511177,
0.032472822815179825,
-0.02435009554028511,
-0.027298880741000175,
0.04229607805609703,
0.013142900541424751,
-0.021907849237322807,
0.009162944741547108,
0.018723884597420692,
0.01087251678109169,
0.054453033953905106,
-0.041174452751874924,
0.07627043128013611,
0.061327505856752396,
-0.009696620516479015,
0.03325072303414345,
0.018407296389341354,
0.006594063714146614,
0.012971038930118084,
-0.08531578630208969,
-0.04030609875917435,
0.05622592568397522,
-0.00006331748591037467,
-0.004608608316630125,
-0.03730304166674614,
-0.03795430809259415,
-0.01696908473968506,
0.019284695386886597,
0.018144981935620308,
-0.033178359270095825,
-0.032020553946495056,
0.03290700167417526,
0.02196212112903595,
-0.013097673654556274,
0.07634279131889343,
0.01957414671778679,
-0.022287754341959953,
-0.01757512427866459,
0.0243139136582613,
0.019935961812734604,
-0.012573042884469032,
-0.04012519493699074,
-0.030772296711802483,
-0.005287009757012129,
-0.003950558602809906,
-0.012030322104692459,
-0.042404621839523315,
-0.0023834509775042534,
0.006752357352524996,
-0.025453628972172737,
-0.008597609587013721,
-0.00425583915784955,
-0.09848581999540329,
-0.09776218980550766,
0.0495685450732708,
-0.019773146137595177,
-0.02834814228117466,
-0.004409610293805599,
0.030066758394241333,
-0.024169187992811203,
-0.022541023790836334,
0.031097929924726486,
-0.01866961270570755,
0.04584185779094696,
-0.059409890323877335,
-0.007299601100385189,
0.011840369552373886,
0.012482589110732079,
0.011071514338254929,
0.05105198174715042,
-0.04634839668869972,
-0.039365384727716446,
0.01757512427866459,
-0.003878195770084858,
0.03167683258652687,
-0.07663224637508392,
0.008887060917913914,
0.12077357620000839,
0.01847061514854431,
-0.0019786714110523462,
-0.04211517050862312,
-0.017756031826138496,
-0.06606727093458176,
-0.014273569919168949,
0.04656548425555229,
0.009524758905172348,
0.0002433765766909346,
-0.03853321075439453,
0.011161968111991882,
0.01982741802930832,
0.00531866867095232,
-0.033178359270095825,
-0.02409682422876358,
-0.009841346181929111,
0.026575252413749695,
-0.045009683817625046,
0.030320029705762863,
-0.0012821790296584368,
-0.05307814106345177,
0.018814338371157646,
0.0000207760494959075,
0.07156684994697571,
-0.002299781423062086,
0.007602620404213667,
-0.053005777299404144,
0.01821734383702278,
-0.008688063360750675,
-0.004753333982080221,
0.059156619012355804,
-0.006051342468708754,
-0.032490912824869156,
0.028149142861366272,
-0.016598226502537727,
-0.022088756784796715,
0.03759249299764633,
-0.07735587656497955,
0.03802667185664177,
0.04558858647942543,
0.008362430147826672,
0.03806285187602043,
-0.018796246498823166,
-0.007227238267660141,
0.06957686692476273,
-0.004439007956534624,
0.06089332699775696,
0.026593342423439026,
-0.0035231655929237604,
-0.001823769649490714,
0.07131357491016388,
0.045045867562294006,
0.016932904720306396,
-0.0415724515914917,
0.005246305838227272,
0.053693223744630814,
0.027515968307852745,
-0.02621343731880188,
0.004599562846124172,
-0.014436386525630951,
-0.002785969292744994,
-0.03133310750126839,
0.02599634975194931,
0.020189231261610985,
-0.0098051642999053,
-0.007227238267660141,
-0.07677697390317917,
-0.0009768983582034707,
0.01383034698665142,
-0.057745546102523804,
0.00761166587471962,
-0.0243139136582613,
0.028529047966003418,
0.04584185779094696,
0.03681459277868271,
0.010700654238462448,
0.07771768420934677,
-0.036289963871240616,
-0.0037673902697861195,
0.02860141173005104,
0.04030609875917435,
-0.05329522863030434,
0.007697596680372953,
-0.05977170541882515,
0.054706305265426636,
-0.0127449044957757,
-0.03940156474709511,
-0.02169075980782509,
0.02646670863032341,
0.050871074199676514,
0.07424426823854446,
0.0276064220815897,
0.006471951492130756,
-0.03424571454524994,
-0.018108800053596497,
-0.005287009757012129,
-0.011252420954406261,
0.06841906160116196,
-0.012925812043249607,
0.0007886418607085943,
0.003098034067079425,
0.026068711653351784,
0.016073595732450485,
-0.027787329629063606,
0.01604645885527134,
0.042404621839523315,
-0.018144981935620308,
-0.06118277832865715,
-0.06266621500253677,
-0.000042647432564990595,
0.042404621839523315,
0.002620891435071826,
-0.06747834384441376,
0.02245057001709938,
0.012916766107082367,
-0.029614491388201714,
-0.00916746724396944,
-0.04338151961565018,
0.050219807773828506,
0.009759937413036823,
-0.005332236643880606,
-0.04931527376174927,
-0.04113827273249626,
0.003581960452720523,
-0.004789515398442745,
0.024657636880874634,
-0.031731102615594864,
-0.009470486082136631,
0.014056481420993805,
-0.02217921055853367,
-0.027986327186226845,
0.043092068284749985,
0.04041464626789093,
0.05694955214858055,
-0.027515968307852745,
-0.015042425133287907,
-0.015024334192276001,
-0.08357907831668854,
-0.020659590139985085,
0.08104638010263443,
0.004506847821176052,
-0.01677008718252182,
0.05155852064490318,
0.0020487727597355843,
0.01933896914124489,
-0.002548528602346778,
0.05007508397102356,
-0.018760066479444504,
-0.023698829114437103,
0.03140547126531601,
-0.024711908772587776,
-0.03520451858639717,
-0.05213742330670357,
-0.028908953070640564,
0.0012256455374881625,
-0.012482589110732079,
-0.002713606460019946,
0.014201207086443901,
0.046420760452747345,
0.0022206346038728952,
0.0514499768614769,
-0.012971038930118084,
0.02476618066430092,
0.013504714705049992,
-0.001219992176629603,
-0.023662647232413292,
-0.05329522863030434,
0.08618413656949997,
-0.03893120586872101,
-0.04254934936761856,
0.02954212762415409,
-0.01747562550008297,
-0.04229607805609703,
-0.05329522863030434,
0.03520451858639717,
-0.025381265208125114,
0.03661559522151947,
0.009398123249411583,
0.059880249202251434,
0.017294717952609062,
-0.03520451858639717,
-0.051920335739851,
-0.0018169856630265713,
-0.0036498005501925945,
-0.044286057353019714,
-0.017647486180067062,
0.025905895978212357,
0.03502361476421356,
0.05622592568397522,
-0.033431630581617355,
0.08010566234588623,
-0.050653986632823944,
-0.10311704128980637,
0.006666426546871662,
-0.024983270093798637,
-0.039365384727716446,
-0.00004466143946046941,
-0.01301626581698656,
-0.019049517810344696,
-0.0679125264286995,
-0.06758689135313034,
0.08915101736783981,
0.06635671854019165,
-0.02435009554028511,
-0.0020171140786260366,
0.00673878937959671,
-0.0328708179295063,
0.013124809600412846,
-0.013712757267057896,
-0.022631477564573288,
0.03806285187602043,
-0.053693223744630814,
-0.009841346181929111,
0.02198021113872528,
0.001203032210469246,
-0.01704144850373268,
0.04019755497574806,
-0.006453860551118851,
0.060133516788482666,
0.023517921566963196,
-0.05293341726064682,
0.03943774476647377,
-0.00380583293735981,
-0.023934008553624153,
0.007598097901791334,
0.013124809600412846,
-0.09378223866224289,
0.02880040928721428,
0.011143877170979977,
-0.000004955511485604802,
-0.008375998586416245,
0.019718872383236885,
0.028655683621764183,
0.0043756901286542416,
-0.026141075417399406,
-0.02290283888578415,
-0.005309623200446367,
-0.024440547451376915,
0.015042425133287907,
-0.038171395659446716,
0.02174503356218338,
-0.02272193133831024,
-0.055176664143800735,
-0.005060875788331032,
-0.022975200787186623,
0.017213309183716774,
-0.010492611676454544,
-0.017538942396640778,
-0.042911164462566376,
0.009542848914861679,
-0.005571938585489988,
-0.024657636880874634,
-0.04725293442606926,
0.016914812847971916,
-0.012374045327305794,
-0.047108206897974014,
0.03229191526770592,
0.09059827029705048,
0.047144386917352676,
-0.019447512924671173,
-0.019284695386886597,
0.0439242422580719,
0.023915918543934822,
-0.018524887040257454,
0.06259385496377945,
-0.024657636880874634,
0.017412308603525162,
-0.05528520792722702,
-0.00956998486071825,
0.07008340954780579,
0.017647486180067062,
-0.00830815825611353,
-0.00008458820229861885,
-0.028402414172887802,
-0.0688532367348671,
-0.05007508397102356,
0.001902916468679905,
0.03755631297826767,
0.036868866533041,
-0.008624745532870293,
0.02246866188943386,
0.028999406844377518,
-0.004884491674602032,
0.0723266527056694,
0.03831612318754196,
-0.000487035809783265,
0.01677008718252182,
-0.02601443976163864,
-0.024241549894213676,
-0.03218337148427963,
-0.004337247461080551,
0.020695772022008896,
0.0505092591047287,
-0.07030049711465836,
0.059626977890729904,
-0.010809198953211308,
0.013043401762843132,
-0.019067607820034027,
0.021889759227633476,
-0.011415237560868263,
-0.06888942420482635,
-0.05738373100757599,
0.023934008553624153,
0.016426363959908485,
-0.016363047063350677,
0.024983270093798637,
-0.005124193616211414,
0.028981316834688187,
0.021781213581562042,
-0.012762995436787605,
-0.0396910160779953,
-0.018760066479444504,
-0.014210252091288567,
0.028927044942975044,
-0.03643468767404556,
-0.022975200787186623,
0.015666553750634193,
0.049242909997701645,
-0.043092068284749985,
-0.05977170541882515,
-0.030374301597476006,
-0.003475677454844117,
-0.0727970153093338,
-0.0476871095597744,
0.007010149769484997,
-0.015603236854076385,
0.025127995759248734,
-0.003339997259899974,
-0.04030609875917435,
0.03636232763528824,
-0.009162944741547108,
0.007417190819978714,
-0.02006259746849537,
-0.022631477564573288,
0.011315738782286644,
-0.0036249258555471897,
-0.015639418736100197,
0.01892288215458393,
-0.07001104205846786,
0.05430831015110016,
0.021871667355298996,
-0.019501784816384315,
-0.013694667257368565,
0.0556832030415535,
-0.045262955129146576,
-0.035548243671655655,
0.038171395659446716,
-0.0071322619915008545,
0.03994428738951683,
-0.000003696758767546271,
-0.015141923911869526,
-0.040740277618169785,
-0.04953236132860184,
0.03491506725549698,
0.024910906329751015,
-0.015006243251264095,
-0.039835743606090546,
0.01892288215458393,
0.01885051839053631,
-0.020442500710487366,
0.026774249970912933,
-0.061074234545230865,
0.0016937426989898086,
-0.10586683452129364,
-0.03393816947937012,
-0.05535757169127464,
0.05948225408792496,
0.019791236147284508,
0.008597609587013721,
-0.07221811264753342,
-0.07178393751382828,
0.003197532845661044,
0.012012231163680553,
0.015666553750634193,
0.04417751356959343,
0.015069561079144478,
0.024476729333400726,
0.037918128073215485,
-0.0032992931082844734,
-0.032472822815179825,
0.05912043899297714,
-0.036271873861551285,
-0.030573299154639244,
0.03998046740889549,
0.02523653954267502,
0.018542977049946785,
-0.016878630965948105,
0.016426363959908485,
0.007037285715341568,
-0.02574308030307293,
0.00957903079688549,
0.004527200013399124,
-0.016833405941724777,
-0.007091558072715998,
0.02880040928721428,
0.026593342423439026,
-0.07554680109024048,
0.0247842725366354,
0.0009576769080013037,
0.005626210477203131,
0.03279845789074898,
-0.033431630581617355,
-0.022522933781147003,
-0.04081264138221741,
-0.04873637109994888,
0.013640394434332848,
0.016779132187366486,
0.003529949579387903,
0.0024467683397233486,
0.029433583840727806,
0.0046674031764268875,
0.016815314069390297,
-0.027479788288474083,
-0.05875862389802933,
0.006001592613756657,
0.041463904082775116,
0.07807949930429459,
0.0015094435075297952,
-0.04566095024347305,
-0.04388806223869324,
0.007421713322401047,
0.026539070531725883,
-0.006386020220816135,
-0.014490658417344093,
0.0028583321254700422,
-0.0038940252270549536,
0.008244840428233147,
-0.02932504005730152,
0.014490658417344093,
0.05781790614128113,
-0.027733057737350464,
-0.0749678984284401,
-0.04989417642354965,
-0.010194114409387112,
0.02975921705365181,
-0.009416214190423489,
-0.002675163559615612,
-0.012943902984261513,
-0.08835502713918686,
0.02359028533101082,
-0.007941821590065956,
0.008181523531675339,
0.003285725135356188,
0.03165874257683754,
0.05485102906823158,
-0.032237645238637924,
0.02241438813507557,
0.046420760452747345,
0.05315050482749939,
0.0008966207969933748,
0.010384066961705685,
0.057058095932006836,
0.03399244323372841,
0.026792339980602264,
-0.020424410700798035,
-0.011107695288956165,
0.003143260721117258,
0.055864110589027405,
-0.001418989966623485,
0.008416702970862389,
-0.040993548929691315,
0.028908953070640564,
0.007580007426440716,
-0.0072046248242259026,
0.05579174682497978,
-0.028149142861366272,
0.007629756815731525,
0.08451979607343674,
-0.005951843224465847,
-0.07576388865709305,
-0.05126906931400299,
-0.024639546871185303,
0.05528520792722702,
0.011026287451386452,
0.035530153661966324,
0.06183404475450516,
-0.031550198793411255,
0.01821734383702278,
0.04888109490275383,
-0.0014088139869272709,
-0.010537838563323021,
0.010700654238462448,
-0.0037741742562502623,
0.015838416293263435,
0.02619534730911255,
0.008534291759133339,
0.044068969786167145,
-0.017756031826138496,
0.023282742127776146,
0.07294174283742905,
0.09204553067684174,
-0.06078478321433067,
-0.018778156489133835,
-0.00720010232180357,
0.002577926032245159,
-0.04182571917772293,
-0.04765092954039574,
-0.01629972830414772,
0.041463904082775116,
0.04113827273249626,
-0.04895345866680145,
0.0695045068860054,
0.016960039734840393,
0.03091702237725258
] |
52,073 |
tussik.zpl.zplconfig
|
copy
| null |
def copy(self) -> "ZplConfig":
return ZplConfig(self.timeout, self.width, self.height, self.dpmm)
|
(self) -> tussik.zpl.zplconfig.ZplConfig
|
[
0.06584268063306808,
-0.050523024052381516,
0.015222360379993916,
-0.042244039475917816,
-0.06768245249986649,
0.012268108315765858,
-0.04585282877087593,
-0.008491264656186104,
0.005851011723279953,
0.029790185391902924,
-0.04196099936962128,
-0.03182455152273178,
-0.0331159308552742,
0.07557225227355957,
0.0016020627226680517,
0.04755108058452606,
0.010923657566308975,
-0.008641630411148071,
-0.024730807170271873,
-0.0012615276500582695,
0.03182455152273178,
-0.06665642559528351,
0.01641644537448883,
0.05491017550230026,
0.010923657566308975,
-0.013347206637263298,
0.005789096467196941,
-0.00542644876986742,
-0.02198883704841137,
-0.039448998868465424,
-0.030073227360844612,
0.028941059485077858,
0.023103315383195877,
0.025969117879867554,
-0.023651709780097008,
0.004048829432576895,
-0.040227364748716354,
-0.013311825692653656,
-0.0846296027302742,
-0.004913434851914644,
0.031948383897542953,
-0.03867063298821449,
0.028410354629158974,
0.0024832526687532663,
0.03582252189517021,
0.03270905837416649,
-0.015691149979829788,
0.020821288228034973,
0.02248416095972061,
0.002441238611936569,
0.027030525729060173,
0.06099558249115944,
-0.05055840313434601,
0.032355256378650665,
-0.06272921711206436,
-0.009561517275869846,
0.03799840807914734,
0.06478127092123032,
-0.004847096744924784,
0.01949452795088291,
-0.07500617206096649,
-0.02511999011039734,
0.01269267126917839,
-0.060783300548791885,
0.02971942536532879,
-0.049603138118982315,
-0.07783658802509308,
-0.012728051282465458,
0.07061901688575745,
0.027525849640369415,
0.04970927536487579,
0.0044269561767578125,
0.003993547987192869,
-0.009561517275869846,
0.021811936050653458,
-0.020449794828891754,
-0.0036353226751089096,
0.005665265489369631,
0.008663742803037167,
-0.04624200984835625,
-0.08116233348846436,
0.038706012070178986,
-0.03849373385310173,
0.06368448585271835,
0.0024766188580542803,
0.03767998516559601,
0.030285509303212166,
-0.03693700209259987,
0.018751543015241623,
0.010065685957670212,
0.04107649251818657,
0.034654971212148666,
-0.048046406358480453,
-0.008301095105707645,
0.037503086030483246,
-0.02814500406384468,
-0.02837497554719448,
0.02515537105500698,
0.049603138118982315,
0.03743232414126396,
-0.07606757432222366,
-0.008398391306400299,
-0.09050272405147552,
-0.027791200205683708,
0.04429609701037407,
0.012418474070727825,
0.03368201479315758,
0.010366418398916721,
-0.029365623369812965,
-0.009004278108477592,
0.0064303637482225895,
0.07613833993673325,
-0.032355256378650665,
0.008783151395618916,
0.04033350571990013,
0.006616109982132912,
-0.057952880859375,
-0.04348234832286835,
0.01554962806403637,
0.014727036468684673,
-0.06262307614088058,
0.06655028462409973,
-0.0003969223762396723,
0.02630523033440113,
-0.025367652997374535,
0.06446284800767899,
-0.007429856341332197,
-0.0625523179769516,
0.006001377943903208,
-0.052787359803915024,
0.029772495850920677,
0.02612832747399807,
-0.022519540041685104,
-0.001102869282476604,
-0.021918077021837234,
-0.051124487072229385,
0.03348742425441742,
0.009782643988728523,
-0.020485175773501396,
0.030886974185705185,
0.012418474070727825,
0.07564301043748856,
0.06704560667276382,
0.025880666449666023,
-0.03987356275320053,
-0.012117741629481316,
-0.003261618549004197,
0.02207728661596775,
0.008500109426677227,
0.02681824378669262,
0.03063931316137314,
0.005537012126296759,
-0.020113682374358177,
0.015142754651606083,
-0.01138360146433115,
-0.06085406243801117,
-0.014682811684906483,
0.00428985757753253,
0.013930981047451496,
-0.03081621415913105,
-0.07429856061935425,
0.019193796440958977,
0.04659581184387207,
-0.04171333834528923,
-0.03806916996836662,
-0.06527659296989441,
0.022979484871029854,
-0.046206630766391754,
0.01359486859291792,
0.01340912189334631,
0.02851649560034275,
-0.06591343879699707,
0.014178643003106117,
0.009950700215995312,
-0.08201146125793457,
0.05045226216316223,
-0.030692383646965027,
0.005824476480484009,
0.007443123962730169,
-0.036547817289829254,
0.008301095105707645,
0.004975350107997656,
-0.029931707307696342,
0.029135651886463165,
0.04220866039395332,
0.008986588567495346,
-0.023262526839971542,
0.07337867468595505,
0.0010857320157811046,
-0.02451852522790432,
-0.006461321376264095,
0.023987822234630585,
0.026057567447423935,
-0.03205452486872673,
-0.03270905837416649,
-0.056325387209653854,
-0.0017645908519625664,
-0.008248024620115757,
0.013621402904391289,
0.08632785826921463,
-0.012418474070727825,
-0.06460437178611755,
0.0134533466771245,
-0.04493293911218643,
0.01030450314283371,
-0.03987356275320053,
-0.04970927536487579,
-0.008296673186123371,
0.017831655219197273,
0.0694514662027359,
-0.0009928587824106216,
0.0035866748075932264,
0.03233756497502327,
-0.04900167137384415,
-0.0100037707015872,
-0.07068977504968643,
-0.039448998868465424,
0.023404046893119812,
0.036689337342977524,
-0.002478830050677061,
0.014152107760310173,
-0.005789096467196941,
-0.023067934438586235,
-0.017928950488567352,
-0.025721454992890358,
0.014771262183785439,
-0.019317626953125,
-0.05915581062436104,
-0.05123062804341316,
-0.03477880358695984,
0.04765722155570984,
-0.047621842473745346,
0.008814109489321709,
-0.04659581184387207,
0.03782150521874428,
-0.012834192253649235,
-0.03937823697924614,
0.009667658247053623,
-0.05597158521413803,
0.00832763034850359,
-0.007429856341332197,
0.004811716731637716,
0.06439208984375,
0.061844710260629654,
0.03739694505929947,
-0.012427318841218948,
-0.058802004903554916,
0.03233756497502327,
0.03665395826101303,
0.034938015043735504,
0.03849373385310173,
-0.0170179083943367,
-0.03389429673552513,
0.07939331978559494,
0.007031828165054321,
0.013506417162716389,
-0.020184442400932312,
-0.07352019846439362,
0.036866240203380585,
0.0067841666750609875,
0.034884944558143616,
-0.04825868457555771,
0.016071487218141556,
0.001917168265208602,
0.011286305263638496,
0.018344668671488762,
-0.05791749805212021,
-0.019512217491865158,
-0.03711390122771263,
0.03446038067340851,
0.06874386221170425,
0.040545787662267685,
-0.03651243820786476,
0.007903067395091057,
0.03053317219018936,
-0.02489001862704754,
-0.011852390132844448,
-0.02420010417699814,
0.032585225999355316,
-0.043163929134607315,
0.04051040858030319,
-0.013002248480916023,
0.012506924569606781,
-0.005651997867971659,
-0.03630015626549721,
0.007496194448322058,
0.006580729968845844,
-0.0044269561767578125,
0.0015180346090346575,
-0.02570376545190811,
-0.04033350571990013,
0.008287827484309673,
-0.008004785515367985,
-0.04235018044710159,
0.10925427079200745,
0.010047996416687965,
-0.029224101454019547,
0.01637221872806549,
-0.0006075455457903445,
0.04755108058452606,
0.004917857237160206,
-0.06573653966188431,
-0.02087435871362686,
0.11802857369184494,
-0.0010210524778813124,
0.034884944558143616,
-0.023350976407527924,
0.02787965163588524,
0.03017936833202839,
0.025403032079339027,
0.01531965658068657,
-0.016168782487511635,
0.026747483760118484,
0.012851882725954056,
-0.006952222902327776,
-0.024076271802186966,
0.02879953943192959,
-0.019724499434232712,
0.039767421782016754,
0.01405481155961752,
-0.07436932623386383,
-0.019653739407658577,
-0.03049779124557972,
-0.01041948888450861,
0.03927209973335266,
-0.00038171993219293654,
0.014116726815700531,
0.018132386729121208,
-0.009782643988728523,
0.023297905921936035,
-0.09319162368774414,
0.04740956053137779,
-0.007478504441678524,
0.023032555356621742,
0.03446038067340851,
0.00638171611353755,
0.010198362171649933,
0.016336839646100998,
-0.01053447462618351,
-0.04889553040266037,
0.04864786937832832,
0.027295876294374466,
-0.029772495850920677,
-0.02837497554719448,
0.007907490245997906,
0.001368774101138115,
-0.0020387880504131317,
-0.019883710891008377,
-0.049744658172130585,
0.002337309066206217,
-0.040227364748716354,
-0.006200392264872789,
0.004508772864937782,
0.09404075145721436,
0.04999231919646263,
0.0041991956532001495,
-0.01853926107287407,
0.0035446607507765293,
-0.005983687937259674,
-0.011763939633965492,
0.01043717935681343,
0.03437193110585213,
-0.017283260822296143,
0.008610673248767853,
0.011993911117315292,
0.026234468445181847,
-0.02653520181775093,
-0.039165958762168884,
-0.011878925375640392,
-0.011259770020842552,
-0.03874139487743378,
-0.0266767218708992,
0.00750946206972003,
-0.08731850236654282,
0.035663310438394547,
-0.028392665088176727,
-0.08349743485450745,
-0.00763329304754734,
-0.000054176034609554335,
0.002735337009653449,
0.027472779154777527,
-0.01095019280910492,
0.028215764090418816,
0.014435149729251862,
0.04125339165329933,
0.0072352648712694645,
-0.014470529742538929,
-0.020892048254609108,
0.046984996646642685,
-0.014762417413294315,
-0.03874139487743378,
0.02144044265151024,
-0.017831655219197273,
0.07387400418519974,
-0.02708359621465206,
0.0340358167886734,
-0.04033350571990013,
0.08102081716060638,
-0.010171826928853989,
0.012728051282465458,
0.029224101454019547,
-0.03923671692609787,
0.006027913186699152,
0.024253174662590027,
-0.020768217742443085,
-0.06785935163497925,
0.08448807895183563,
0.06527659296989441,
0.019724499434232712,
-0.027101285755634308,
0.008177264593541622,
-0.0036684914957731962,
-0.05147828906774521,
0.041182633489370346,
-0.0037105055525898933,
-0.015983035787940025,
0.03377046808600426,
-0.024943089112639427,
0.008119771257042885,
-0.02083897776901722,
0.0225372314453125,
-0.003790111280977726,
-0.0011609150096774101,
-0.03546871989965439,
0.07840267568826675,
0.01830928958952427,
-0.025880666449666023,
0.0740862786769867,
-0.08908751606941223,
-0.0354156494140625,
0.015531937591731548,
0.03053317219018936,
0.03969665989279747,
0.023616328835487366,
0.04581744596362114,
-0.016619881615042686,
0.05947422981262207,
-0.03637091442942619,
0.010357573628425598,
0.03767998516559601,
0.06679794937372208,
-0.03437193110585213,
0.024553906172513962,
0.0076465606689453125,
-0.02239570952951908,
0.015452331863343716,
-0.03598173335194588,
-0.0735909566283226,
-0.022979484871029854,
-0.009844559244811535,
-0.014700501225888729,
0.024943089112639427,
0.029825566336512566,
-0.03736156225204468,
-0.016319148242473602,
-0.025314582511782646,
-0.05183209478855133,
-0.033045168966054916,
-0.06591343879699707,
0.00047182905836962163,
0.014965853653848171,
-0.025827595964074135,
0.03637091442942619,
0.006417096126824617,
-0.012701516039669514,
0.02768505923449993,
0.054025668650865555,
0.01734517700970173,
-0.021546583622694016,
0.01605379767715931,
0.0007595701608806849,
-0.012356558814644814,
-0.03966128081083298,
-0.008814109489321709,
0.040227364748716354,
-0.023350976407527924,
-0.0024965202901512384,
0.0377153679728508,
-0.010932503268122673,
0.008009208366274834,
-0.05091220512986183,
-0.017309796065092087,
-0.010596390813589096,
0.02451852522790432,
-0.0478341244161129,
0.009570362977683544,
0.025456102564930916,
-0.005890814587473869,
0.010348728857934475,
0.04740956053137779,
-0.08010093122720718,
0.030692383646965027,
-0.07613833993673325,
0.01234771404415369,
-0.04397767409682274,
0.01917610503733158,
0.006364025641232729,
-0.0040090265683829784,
0.04259784147143364,
-0.033876605331897736,
-0.024270864203572273,
0.00531146302819252,
-0.018203148618340492,
-0.0006086512003093958,
-0.012736896984279156,
0.0015191403217613697,
-0.08165766298770905,
0.02239570952951908,
-0.013674473389983177,
0.03676009923219681,
-0.007107011508196592,
0.016434134915471077,
-0.06471051275730133,
0.019742188975214958,
0.005921772215515375,
-0.0030515482649207115,
-0.025597624480724335,
0.023191766813397408,
-0.021953456103801727,
-0.06559501588344574,
-0.0015058727003633976,
0.08066701143980026,
0.05377800762653351,
-0.06272921711206436,
-0.04033350571990013,
0.06842543929815292,
0.050204601138830185,
-0.023386357352137566,
0.0296663548797369,
0.013417966663837433,
-0.0014406403061002493,
-0.06294149905443192,
-0.003496012883260846,
0.06785935163497925,
0.033469732850790024,
-0.005780251231044531,
-0.05547625944018364,
0.012498079799115658,
-0.06453360617160797,
-0.041925616562366486,
-0.01375407911837101,
-0.050204601138830185,
0.08314362913370132,
-0.007213152013719082,
-0.08059625327587128,
0.050806064158678055,
0.0062711527571082115,
0.038706012070178986,
-0.028215764090418816,
-0.02428855374455452,
0.04273936524987221,
-0.037467703223228455,
0.027012834325432777,
-0.028534187003970146,
0.012108896858990192,
0.04811716452240944,
0.02386399172246456,
-0.05009846016764641,
0.03630015626549721,
-0.004789603874087334,
0.018415430560708046,
-0.012639600783586502,
0.010384108871221542,
0.016761401668190956,
-0.039625901728868484,
-0.008491264656186104,
-0.03966128081083298,
0.05331806465983391,
-0.02497847005724907,
0.035946354269981384,
0.05314116179943085,
-0.01329413615167141,
0.035026464611291885,
-0.020573625341057777,
0.013975205831229687,
-0.031063875183463097,
0.06711637228727341,
0.06541811674833298,
-0.010233742184937,
0.031346917152404785,
0.024730807170271873,
0.05958037078380585,
0.050806064158678055,
-0.053282685577869415,
-0.06354296207427979,
-0.01748669706285,
-0.013992896303534508,
-0.013975205831229687,
0.02630523033440113,
-0.04171333834528923,
0.009119263850152493,
0.08165766298770905,
0.0007595701608806849,
-0.00381664652377367,
-0.041607197374105453,
-0.033469732850790024,
-0.012683826498687267,
-0.05752831697463989,
0.024730807170271873,
0.06810701638460159,
-0.007929602637887001,
0.011595883406698704,
-0.02101587876677513,
0.02032596431672573,
0.007045095786452293,
0.01156934816390276,
-0.02110433019697666,
-0.02397013269364834,
-0.0012272531166672707,
-0.006952222902327776,
0.03934285789728165,
-0.009994925931096077,
-0.03182455152273178,
-0.07507693022489548,
0.012701516039669514,
-0.045145221054553986,
-0.032585225999355316,
0.03377046808600426,
-0.01168433390557766,
0.026977455243468285,
-0.0052893501706421375,
0.026429060846567154,
-0.029454072937369347,
0.01674371212720871,
-0.023846300318837166,
-0.048223305493593216,
-0.012135432101786137,
-0.012206193059682846,
-0.0007949504069983959,
0.062446173280477524,
0.06584268063306808,
-0.0197775699198246,
0.01604495197534561,
-0.018132386729121208,
-0.08321439474821091,
0.007872109301388264,
-0.027472779154777527,
0.01868078112602234,
0.05338882654905319,
0.06287073343992233,
0.028675707057118416,
-0.028463425114750862,
0.00887602474540472,
-0.02161734364926815,
-0.04082883149385452,
-0.001657344400882721,
0.008296673186123371,
-0.0021913654636591673,
-0.025403032079339027,
-0.03124077618122101,
-0.011250925250351429,
0.0003164875670336187,
0.007421011105179787,
0.04542826488614082,
-0.026782862842082977,
-0.010543320327997208,
-0.016080332919955254,
0.07100819796323776,
0.01945914700627327,
-0.03683086112141609,
-0.04401305317878723,
0.012038135901093483,
-0.04985079914331436,
-0.021953456103801727,
0.0570329912006855,
0.018503880128264427,
-0.0032107592560350895,
0.04847096651792526,
-0.03247908502817154,
0.003929420839995146,
0.011525122448801994,
-0.031806860119104385,
-0.07146814465522766,
0.006377293262630701,
-0.006085406057536602,
-0.046984996646642685,
-0.05614848434925079,
-0.023651709780097008,
0.026623651385307312,
-0.012949177995324135,
0.03513260558247566,
0.04613586887717247,
-0.01043717935681343,
-0.012188502587378025,
-0.002315196208655834,
0.048541728407144547,
0.016115712001919746,
-0.013126079924404621,
-0.016938302665948868,
0.034884944558143616,
-0.02075052820146084,
0.009986081160604954,
0.02543841302394867,
0.04949699714779854,
0.026871314272284508,
-0.027985792607069016,
-0.01441745925694704,
-0.03208990395069122,
-0.025633003562688828,
-0.036689337342977524,
-0.03063931316137314,
-0.003969223704189062,
-0.04479141905903816,
0.01126861572265625,
0.02699514478445053,
-0.00030156149296090007,
0.01894613355398178,
0.01096788328140974,
-0.016858698800206184,
-0.007796926889568567,
0.012064671143889427,
0.08880447596311569,
0.06428594887256622,
0.022944103926420212,
0.004325237590819597,
0.045074462890625,
0.007045095786452293,
-0.043765392154455185,
-0.04302240535616875,
0.020662076771259308,
-0.04733879864215851,
0.012621910311281681,
0.014019431546330452,
0.0020387880504131317,
0.033593565225601196,
0.04939085617661476,
-0.023474808782339096,
-0.03789226710796356,
-0.026977455243468285,
0.000577140657696873,
-0.04196099936962128,
0.051584430038928986,
0.02768505923449993,
0.00426553376019001,
0.007456391584128141,
0.019069964066147804,
0.014558980241417885,
0.0381753109395504,
-0.03242601454257965,
0.033469732850790024,
0.02400551177561283,
0.013532952405512333,
0.02207728661596775,
0.06849619746208191,
-0.031170016154646873,
-0.016434134915471077,
-0.02971942536532879,
0.021086640655994415,
0.011171319521963596,
0.027154356241226196,
0.022749513387680054,
-0.019512217491865158,
0.03162996098399162,
0.04871863126754761,
-0.014037121087312698,
-0.06035873666405678,
-0.01515160035341978,
-0.01949452795088291,
-0.00014981332060415298,
-0.00857971515506506,
-0.04051040858030319,
-0.028852608054876328,
0.0331159308552742,
0.09991388022899628,
-0.016796782612800598,
0.02446545474231243,
-0.01221503783017397,
0.0013311825459823012
] |
52,074 |
tussik.zpl.zplwriter
|
ZplWriter
| null |
class ZplWriter:
__slots__ = ['_stream', '_attrib', '_config', '_font', '_reverse']
def __init__(self, config: Optional[ZplConfig] = None):
self._attrib: List[str] = []
self._stream: List[str] = []
self._font: str = ''
self._reverse: str = ''
self._config: ZplConfig = config.copy() if isinstance(config, ZplConfig) else ZplConfig()
def export(self) -> str:
config = "".join(self._attrib)
stream = "".join(self._stream)
return f"^XA^MT{config}{stream}^XZ"
def clear(self):
self._stream: List[str] = []
def add(self, command: str):
self._stream.append(command)
def coordinates(self, left: int, top: int) -> (int, int):
left = min(max(int(left * self._config.dpmm), 0), 32000)
top = min(max(int(top * self._config.dpmm), 0), 32000)
return left, top
def to_reverse(self):
self._reverse = "^FR"
def to_normal(self):
self._reverse = ""
def print(self, ipaddress: str, port: int = 9100) -> bool:
mysocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
try:
mysocket.settimeout(self._config.timeout)
mysocket.connect((ipaddress, port)) # connecting to host
content = self.export()
payload = bytes(content, "utf8")
mysocket.send(payload)
mysocket.close()
except OSError as e:
logger.exception(f"Unable to connect to {ipaddress}:{port}")
return False
except Exception as e:
logger.exception("Error with the connection")
return False
return True
def saveas(self, destination: Union[str, io.BytesIO]) -> bool:
#
# uses a 3rd party service not affiliated with this library in any way
#
url = f"http://api.labelary.com/v1/printers/{int(self._config.dpmm)}dpmm/labels" \
f"/{int(self._config.width)}x{int(self._config.height)}/0/"
headers = {'Accept': 'application/pdf'}
response = requests.post(url, self.export(), headers=headers)
if response.status_code == 200:
if isinstance(destination, str):
with open(destination, 'wb') as f:
f.write(response.content)
else:
destination.write(response.content)
return True
logging.error(response.content)
return False
def textblock(self, left: int = 0, top: int = 0, data: str = "",
width: int = 0, justify: str = "J", maxlines: int = 1) -> bool:
left = min(max(int(left * self._config.dpmm), 0), 32000)
top = min(max(int(top * self._config.dpmm), 0), 32000)
justify = justify.upper()
if justify not in ['L', 'C', 'R', 'J']:
return False
width = max(0, int(width * self._config.dpmm))
self.add(f"^FO{left},{top}{self._font}{self._reverse}"
f"^FB{width},{maxlines},0,{justify},0^FD{data}^FS")
return True
def font(self, height: int = 10, width: Optional[int] = None, flip: int = 0,
fontcode: str = "0", isdefault: bool = False):
height = int(min(max(height * self._config.dpmm, 0), 32000))
if isinstance(width, int):
width = int(min(max(width * self._config.dpmm, 0), 32000))
if flip >= 270:
orient = "B"
elif flip >= 180:
orient = "I"
elif flip >= 90:
orient = "R"
else:
orient = "N"
if width is None:
self._font = f"^A{fontcode}{orient},{height}"
if isdefault:
self.add(f'^CF{fontcode},{height}')
else:
self._font = f"^A{fontcode}{orient},{height},{width}"
if isdefault:
self.add(f'^CF{fontcode},{height},{width}')
def text(self, data: str, left: int = 0, top: int = 0):
left = min(max(int(left * self._config.dpmm), 0), 32000)
top = min(max(int(top * self._config.dpmm), 0), 32000)
self.add(f"^FO{left},{top}{self._font}{self._reverse}^FD{data}^FS")
def ellipse(self, left: int = 0, top: int = 0, width: int = 100, height: int = 100, thick: int = 2):
width = int(min(max(width * self._config.dpmm, 3), 4095))
height = int(min(max(height * self._config.dpmm, 3), 4095))
thick = int(min(max(thick, 2), 4095))
left = min(max(int(left * self._config.dpmm), 0), 32000)
top = min(max(int(top * self._config.dpmm), 0), 32000)
self.add(f"^FO{left},{top}{self._reverse}^GE{width},{height},{thick},B^FS")
def circle(self, left: int = 0, top: int = 0, diameter: int = 100, thick: int = 2):
diameter = int(min(max(diameter * self._config.dpmm, 3), 4095))
thick = int(min(max(thick, 2), 4095))
left = min(max(int(left * self._config.dpmm), 0), 32000)
top = min(max(int(top * self._config.dpmm), 0), 32000)
self.add(f"^FO{left},{top}{self._reverse}^GC{diameter},{thick},B^FS")
def box(self, left: int = 0, top: int = 0, width: int = 100, height: int = 100, thick: float = 2, round: int = 0):
thick = int(min(max(1, int(thick * self._config.dpmm)), 32000))
width = int(min(max(thick, int(width * self._config.dpmm)), 32000))
height = int(min(max(thick, int(height * self._config.dpmm)), 32000))
round = int(min(max(0, round), 8))
left = min(max(int(left * self._config.dpmm), 0), 32000)
top = min(max(int(top * self._config.dpmm), 0), 32000)
self.add(f"^FO{left},{top}{self._reverse}^GB{width},{height},{thick},B,{round}^FS")
def hline(self, left: int = 0, top: int = 0, width: int = 100, thick: int = 2):
thick = int(min(max(1, int(thick * self._config.dpmm)), 32000))
width = int(min(max(thick, int(width * self._config.dpmm)), 32000))
height = max(thick, 0)
left = min(max(int(left * self._config.dpmm), 0), 32000)
top = min(max(int(top * self._config.dpmm), 0), 32000)
self.add(f"^FO{left},{top}{self._reverse}^GB{width},{height},{thick},B,0^FS")
def vline(self, left: int = 0, top: int = 0, height: int = 100, thick: int = 2):
thick = int(min(max(1, int(thick * self._config.dpmm)), 32000))
width = max(thick, 0)
height = int(min(max(thick, int(height * self._config.dpmm)), 32000))
left = min(max(int(left * self._config.dpmm), 0), 32000)
top = min(max(int(top * self._config.dpmm), 0), 32000)
self.add(f"^FO{left},{top}{self._reverse}^GB{width},{height},{thick},B,0^FS")
def image(self, image: Union[str, Image], left: int = 0, top: int = 0,
width: Optional[int] = None, height: Optional[int] = None) -> bool:
if Image is None:
raise Exception("Developer! pillow library is required for ZplWriter.image")
try:
left = min(max(int(left * self._config.dpmm), 0), 32000)
top = min(max(int(top * self._config.dpmm), 0), 32000)
if isinstance(image, str):
rc = requests.get(image, stream=True)
if not rc.ok:
return False
image = Image.open(rc.raw)
if width is None:
width = int(image.size[0])
if height is None:
# maintain aspect ratio
height = int(float(image.size[1]) / image.size[0] * width)
width = width * self._config.dpmm
height = height * self._config.dpmm
totalbytes = math.ceil(width / 8.0) * height
bytesperrow = math.ceil(width / 8.0)
image = image.resize((int(width), int(height)))
image = ImageOps.invert(image.convert('L')).convert('1')
data = image.tobytes().hex().upper()
self.add(f"^FO{left},{top}^GFA,{len(data)},{totalbytes},{bytesperrow},{data}")
return True
except Exception as e:
logger.exception("failed to load image")
return False
def qrcode(self, left: int = 0, top: int = 0, data: Union[str, dict, list, int, float, None] = None,
|
(config: Optional[tussik.zpl.zplconfig.ZplConfig] = None)
|
[
0.06646350771188736,
-0.05265854671597481,
-0.06281691044569016,
0.02033844031393528,
0.005109029356390238,
-0.046884771436452866,
-0.1186879351735115,
0.028282804414629936,
-0.04961971938610077,
-0.02289973944425583,
0.016561612486839294,
0.022150885313749313,
0.0036601596511900425,
0.04610336199402809,
-0.006625730078667402,
0.04124123603105545,
0.03590158000588417,
-0.01062504481524229,
-0.006039670668542385,
-0.017451554536819458,
-0.0093498220667243,
-0.0186996441334486,
0.04323817789554596,
0.02917274832725525,
0.0056055523455142975,
-0.010603338479995728,
-0.0020362860523164272,
-0.0007895525777712464,
-0.04341182857751846,
-0.011037456803023815,
-0.02266097441315651,
-0.06277350336313248,
0.008318791165947914,
-0.02046867646276951,
-0.006848215591162443,
-0.0023103230632841587,
0.058953262865543365,
-0.01604066975414753,
-0.04484441876411438,
-0.014369314536452293,
0.011721192859113216,
-0.004848558455705643,
0.05639196187257767,
-0.030496807768940926,
-0.03080069087445736,
0.022617561742663383,
-0.06485726684331894,
0.032254986464977264,
0.008291658945381641,
0.003879931988194585,
0.017136819660663605,
-0.043303295969963074,
-0.005486169829964638,
0.018384909257292747,
0.014792580157518387,
0.04844759777188301,
0.008698645047843456,
0.0790095254778862,
0.037355877459049225,
-0.053743842989206314,
-0.008953689597547054,
-0.004352035466581583,
0.033405400812625885,
0.003098519053310156,
-0.01569337584078312,
0.022812915965914726,
0.020859383046627045,
-0.019122909754514694,
0.01034829393029213,
0.01528096292167902,
0.021673355251550674,
0.027805274352431297,
0.010038984939455986,
-0.0050032129511237144,
-0.0004975402262061834,
-0.0025016064755618572,
-0.03698687627911568,
0.011645223014056683,
0.028282804414629936,
-0.020305881276726723,
0.021933825686573982,
0.05995173379778862,
0.05821526050567627,
-0.03147357329726219,
0.05357019603252411,
0.0017418995266780257,
0.08356776833534241,
0.05417795851826668,
0.01988261751830578,
0.027501393109560013,
-0.03355734050273895,
-0.01114598661661148,
0.024614505469799042,
-0.012242135591804981,
-0.0348379909992218,
-0.06516115367412567,
0.00993045512586832,
-0.03987376391887665,
0.004957087803632021,
-0.01202507596462965,
-0.05982149764895439,
0.018645379692316055,
-0.02452768199145794,
-0.013294871896505356,
-0.00836762972176075,
0.00770017271861434,
-0.02778356894850731,
0.041414882987737656,
0.000610139686614275,
-0.008503291755914688,
0.02033844031393528,
-0.04940265789628029,
0.0033996887505054474,
-0.05621831491589546,
0.01697402447462082,
0.0016808516811579466,
-0.06846044957637787,
-0.024657918140292168,
-0.01581275835633278,
-0.015465463511645794,
-0.012893312610685825,
-0.03312322497367859,
-0.05904008448123932,
-0.004886543843895197,
-0.03266739845275879,
-0.01626858301460743,
0.05530666932463646,
0.036639582365751266,
0.045018065720796585,
-0.030930927023291588,
-0.006679994985461235,
0.052701957523822784,
-0.0016455795848742127,
0.03162551671266556,
0.007124966010451317,
-0.03835434839129448,
-0.027566509321331978,
-0.02997586689889431,
-0.04857783392071724,
0.044801004230976105,
-0.0008587401825934649,
-0.01238322351127863,
0.018146144226193428,
-0.0021203963551670313,
-0.028282804414629936,
0.029889043420553207,
0.07557999342679977,
-0.07640481740236282,
-0.020512089133262634,
-0.027501393109560013,
0.009442072361707687,
0.01721278950572014,
-0.05317948758602142,
0.008850586600601673,
0.06867750734090805,
-0.030844103544950485,
-0.010928927920758724,
0.005979978945106268,
-0.0036058949772268534,
0.07831493765115738,
-0.01592128723859787,
-0.009040513075888157,
-0.009192454628646374,
-0.030496807768940926,
-0.014391020871698856,
0.004721036180853844,
-1.0598590449717449e-8,
-0.0032803062349557877,
0.044453710317611694,
0.052224427461624146,
0.040242765098810196,
-0.060819968581199646,
-0.07440786808729172,
-0.011873134411871433,
-0.011764605529606342,
0.08291658759117126,
-0.014043726027011871,
0.02810915745794773,
-0.03477287292480469,
-0.010847530327737331,
-0.015725934877991676,
-0.010380852967500687,
-0.03240692988038063,
0.006354406010359526,
0.005445471033453941,
0.02242220938205719,
0.07722964137792587,
0.01729961298406124,
0.058388907462358475,
-0.020881088450551033,
-0.03846287727355957,
0.016246875748038292,
0.06064632162451744,
-0.016203464940190315,
0.020967911928892136,
-0.010364573448896408,
0.07228069007396698,
-0.04187070578336716,
0.040025703608989716,
-0.03032316081225872,
-0.0352938137948513,
0.029780512675642967,
0.017006583511829376,
-0.046059947460889816,
-0.05218101665377617,
-0.030409984290599823,
-0.00940951332449913,
0.05404772609472275,
-0.05391748994588852,
0.034686051309108734,
-0.0043004839681088924,
-0.012166164815425873,
0.004018307197839022,
-0.001513987430371344,
0.04632041975855827,
-0.06003855541348457,
-0.049098774790763855,
0.08269952982664108,
-0.0376814641058445,
-0.008877718821167946,
-0.000013799364751321264,
0.05830208212137222,
-0.08330729603767395,
-0.04438859224319458,
-0.0011999299749732018,
0.0102886026725173,
0.03032316081225872,
0.010717295110225677,
0.03103945590555668,
-0.03214645758271217,
0.019253145903348923,
0.002857040846720338,
-0.024918388575315475,
0.07848858088254929,
0.044670771807432175,
-0.06372856348752975,
-0.03299298882484436,
0.013848372735083103,
-0.07162951678037643,
-0.023681150749325752,
0.0066637154668569565,
-0.03464263677597046,
0.0309092216193676,
-0.012209576554596424,
-0.010114955715835094,
0.028413040563464165,
0.04879489541053772,
0.026416096836328506,
-0.03205963596701622,
-0.005600125528872013,
-0.01988261751830578,
-0.056522198021411896,
-0.021174117922782898,
-0.0017568223411217332,
-0.014727462083101273,
-0.03401316702365875,
-0.023724563419818878,
-0.0351201668381691,
0.061297498643398285,
0.01742984913289547,
0.007103260140866041,
-0.039092350751161575,
-0.02194467931985855,
0.03540234640240669,
0.0892547145485878,
0.02300826832652092,
-0.024723036214709282,
-0.014022019691765308,
-0.05830208212137222,
0.010918074287474155,
0.026893626898527145,
0.04265211895108223,
-0.07848858088254929,
0.027913805097341537,
-0.0037985348608344793,
0.011113427579402924,
0.036422524601221085,
0.01016922015696764,
0.021543119102716446,
-0.01150413416326046,
0.036900054663419724,
-0.019578734412789345,
0.018743056803941727,
-0.008693218231201172,
-0.010956060141324997,
-0.00032355377334170043,
0.0020186500623822212,
0.0016360832378268242,
0.01696317084133625,
-0.05656560882925987,
-0.008302511647343636,
0.07401716709136963,
0.010782412253320217,
-0.0018382195848971605,
0.037464406341314316,
-0.006256729364395142,
-0.010722720995545387,
-0.030062690377235413,
-0.028912276029586792,
-0.049446072429418564,
-0.03761634975671768,
-0.01907949708402157,
0.13292701542377472,
-0.013815813697874546,
-0.041089292615652084,
0.015888728201389313,
0.010771559551358223,
-0.02810915745794773,
0.05296242982149124,
-0.022943150252103806,
0.013815813697874546,
0.010939780622720718,
0.05335313454270363,
0.007450554985553026,
0.013056106865406036,
0.032949578016996384,
0.06446656584739685,
0.05882302671670914,
0.05808502435684204,
0.050357718020677567,
-0.00005498548853211105,
-0.007553657982498407,
-0.03171233832836151,
-0.009192454628646374,
0.052007369697093964,
-0.03127822279930115,
0.0446273572742939,
0.020023705437779427,
0.050140660256147385,
-0.010576206259429455,
-0.030171219259500504,
0.043867651373147964,
-0.03032316081225872,
0.019437646493315697,
0.004900109954178333,
-0.03451240435242653,
-0.03646593540906906,
-0.02139117754995823,
-0.004848558455705643,
-0.06789609789848328,
0.03733417019248009,
0.03635740652680397,
-0.03279763460159302,
0.024419153109192848,
0.05170348659157753,
-0.035944994539022446,
0.03179916366934776,
-0.023095091804862022,
0.0015479029389098287,
0.062339384108781815,
0.026329273357987404,
0.005407485645264387,
0.008438173681497574,
0.041610237210989,
0.003833807073533535,
-0.036444228142499924,
-0.00575206708163023,
-0.042934298515319824,
0.009051365777850151,
0.010011852718889713,
-0.0023998599499464035,
0.05634855106472969,
-0.09177260100841522,
0.06320761889219284,
-0.047579362988471985,
-0.035250402987003326,
0.008080026134848595,
-0.009268425405025482,
0.06945892423391342,
0.02439744770526886,
0.012513458728790283,
-0.000004536196684057359,
-0.03520699217915535,
-0.040155939757823944,
0.016702700406312943,
0.006875348277390003,
-0.002620988991111517,
0.01915546879172325,
0.00409427797421813,
-0.036900054663419724,
0.03010610118508339,
0.01074442733079195,
-0.02706727385520935,
0.02346409298479557,
0.037594642490148544,
-0.032927870750427246,
-0.020262470468878746,
0.037008583545684814,
0.02311679720878601,
-0.05621831491589546,
-0.030236337333917618,
0.026394391432404518,
0.061861854046583176,
-0.007157525047659874,
0.017950790002942085,
-0.012339811772108078,
-0.00964285247027874,
0.08534765243530273,
-0.019101204350590706,
0.009485484100878239,
-0.017581790685653687,
-0.056305140256881714,
-0.04241335391998291,
0.04905536398291588,
0.003372556297108531,
-0.03998229280114174,
0.07922658324241638,
-0.009745955467224121,
0.02033844031393528,
0.04662430286407471,
0.01400031428784132,
-0.02650292031466961,
-0.06411927193403244,
-0.0038175275549292564,
-0.04579947888851166,
-0.01823296770453453,
-0.05218101665377617,
-0.03939623385667801,
-0.0075590843334794044,
0.00201729335822165,
-0.020544646307826042,
0.08165764808654785,
0.04558241739869118,
0.026459509506821632,
-0.011645223014056683,
-0.0034593800082802773,
-0.018102731555700302,
0.03214645758271217,
-0.03134334087371826,
0.010445971041917801,
0.0010167864384129643,
-0.012459194287657738,
-0.024571094661951065,
-0.02984563075006008,
-0.03054022043943405,
-0.014835991896688938,
0.003614034503698349,
-0.0515732504427433,
0.026177331805229187,
-0.009631998836994171,
0.07818470150232315,
-0.03344881162047386,
0.007271481212228537,
-0.003348137252032757,
0.0005707977106794715,
0.011536693200469017,
-0.042239706963300705,
-0.03054022043943405,
-0.034230224788188934,
0.019893469288945198,
-0.009219586849212646,
0.06811315566301346,
-0.01813529059290886,
-0.00006685590778943151,
0.002954717492684722,
-0.028282804414629936,
0.02172761969268322,
-0.05391748994588852,
-0.04632041975855827,
0.012177017517387867,
0.0299975723028183,
0.04067688062787056,
0.0035760493483394384,
0.040611762553453445,
-0.008085452951490879,
0.012643694877624512,
0.050965484231710434,
0.032254986464977264,
-0.024701328948140144,
-0.004522969946265221,
-0.021174117922782898,
-0.03214645758271217,
-0.04404129832983017,
-0.013935196213424206,
0.06789609789848328,
0.005347794387489557,
-0.019231438636779785,
0.01718023046851158,
-0.03368757665157318,
-0.036639582365751266,
-0.034317050129175186,
-0.08039870113134384,
-0.026068802922964096,
-0.03789852559566498,
-0.01324060745537281,
-0.010256044566631317,
0.04888171702623367,
-0.008286232128739357,
0.03197281062602997,
-0.026546332985162735,
-0.053613606840372086,
0.03401316702365875,
-0.0429777093231678,
0.03624887391924858,
0.000013990139450470451,
0.04308623820543289,
-0.03464263677597046,
-0.024354035034775734,
-0.04093735292553902,
-0.12867265939712524,
-0.03134334087371826,
-0.0036791523452848196,
-0.037594642490148544,
-0.05309266597032547,
0.023637739941477776,
-0.007385436911135912,
0.004726462531834841,
0.004229940008372068,
-0.006473788525909185,
0.009550602175295353,
-0.05265854671597481,
-0.05452525615692139,
0.002360518090426922,
-0.02428891696035862,
-0.04045982286334038,
0.03279763460159302,
-0.012524312362074852,
0.014456138014793396,
-0.04276064783334732,
-0.05604466795921326,
0.006294714752584696,
0.022487325593829155,
0.024723036214709282,
-0.11078698188066483,
0.0006372720818035305,
0.09481143206357956,
-0.009355248883366585,
-0.03268910571932793,
0.061297498643398285,
0.015031345188617706,
-0.022812915965914726,
0.007960643619298935,
0.053396549075841904,
-0.01492281537503004,
0.0693286880850792,
0.02244391478598118,
0.012350664474070072,
-0.04393276944756508,
-0.008047467097640038,
-0.04241335391998291,
-0.006848215591162443,
-0.014586374163627625,
-0.02046867646276951,
-0.06490068137645721,
-0.01202507596462965,
0.014477844350039959,
0.10401473939418793,
-0.03894040733575821,
0.035944994539022446,
-0.05765090510249138,
0.015867022797465324,
-0.005339654628187418,
0.05934396758675575,
-0.022487325593829155,
0.010549074038863182,
0.08764848113059998,
0.03772487863898277,
-0.018265526741743088,
0.035141874104738235,
-0.03203792870044708,
-0.03540234640240669,
0.027240920811891556,
-0.060950204730033875,
-0.050705015659332275,
-0.04365059360861778,
0.00946920458227396,
0.0026142059359699488,
0.02093535289168358,
0.009458351880311966,
-0.025352507829666138,
0.06194867566227913,
0.05335313454270363,
0.0348379909992218,
-0.03757293522357941,
-0.03587987646460533,
-0.04430177062749863,
0.0021298928186297417,
0.013414254412055016,
0.01732131838798523,
-0.0429777093231678,
0.025721507146954536,
0.023073386400938034,
-0.011710340157151222,
-0.07861881703138351,
0.008514144457876682,
-0.003614034503698349,
0.004064432345330715,
0.020414412021636963,
0.0011076799128204584,
-0.031994517892599106,
-0.027262628078460693,
-0.030605338513851166,
0.014575520530343056,
-0.07028374820947647,
-0.051399603486061096,
0.05469890311360359,
0.028261099010705948,
0.02009967528283596,
0.0011063233250752091,
0.019893469288945198,
-0.02159738354384899,
0.03127822279930115,
-0.059647850692272186,
-0.022118326276540756,
0.03134334087371826,
0.0033752694725990295,
0.005979978945106268,
0.01928570494055748,
-0.0005222985637374222,
-0.014271638356149197,
0.030409984290599823,
0.048056893050670624,
0.0008946906309574842,
-0.03670470044016838,
-0.05027089640498161,
-0.03459922596812248,
-0.041414882987737656,
0.0007108686841093004,
0.05044454336166382,
0.05808502435684204,
0.003323717974126339,
0.03681322932243347,
-0.0343821682035923,
0.002725448692217469,
-0.024549387395381927,
0.003361703362315893,
0.006544332951307297,
-0.05126936733722687,
0.032124750316143036,
0.010890942066907883,
0.010630470700562,
0.018059320747852325,
0.04779642075300217,
-0.003616747912019491,
-0.0322766937315464,
0.027935510501265526,
-0.0288037471473217,
0.026654861867427826,
-0.01004983764141798,
0.025960272178053856,
0.042565297335386276,
-0.0054780300706624985,
-0.011688634753227234,
-0.014933668076992035,
0.010272323153913021,
0.04888171702623367,
0.028152570128440857,
-0.020305881276726723,
0.03650934621691704,
0.007553657982498407,
-0.03998229280114174,
0.008725777268409729,
0.002048495691269636,
-0.007629628758877516,
-0.011395604349672794,
0.028087452054023743,
-0.005958273075520992,
-0.004566381685435772,
0.004031873308122158,
0.010928927920758724,
-0.023507503792643547,
-0.03983035311102867,
0.01214445848017931,
0.014890256337821484,
0.017234494909644127,
-0.042239706963300705,
0.0625564455986023,
0.006403244566172361,
-0.010483955964446068,
-0.016246875748038292,
0.02300826832652092,
0.0017039142549037933,
0.008704070933163166,
-0.03360075503587723,
0.016355406492948532,
0.006739686243236065,
-0.007678466849029064,
-0.001110393088310957,
0.06750538945198059,
0.03726905211806297,
0.003774115815758705,
0.02172761969268322,
-0.015031345188617706,
0.011471575126051903,
0.03368757665157318,
0.07050080597400665,
0.024136975407600403,
-0.008405614644289017,
-0.050227485597133636,
-0.011254516430199146,
-0.020175646990537643,
0.04540877044200897,
0.0645533874630928,
-0.00854670349508524,
0.018081026151776314,
-0.04540877044200897,
-0.009783940389752388,
-0.01683293655514717,
0.009838205762207508,
-0.0663766860961914,
0.009252145886421204,
-0.038267526775598526,
-0.01492281537503004,
0.011764605529606342,
-0.0186996441334486,
0.030366573482751846,
-0.04312964901328087,
-0.015975551679730415,
-0.025656389072537422,
0.02810915745794773,
0.014173961244523525,
0.06615962088108063,
0.04762277379631996,
0.0014393733581528068,
-0.04104588180780411,
0.033535636961460114,
-0.052224427461624146,
0.02938980609178543,
-0.027826981619000435,
0.002289973897859454,
-0.021076442673802376,
0.07818470150232315,
0.040720295161008835,
0.012003370560705662,
-0.015639111399650574,
0.02046867646276951,
-0.0642060935497284,
-0.03590158000588417,
-0.03184257447719574,
-0.03138675168156624,
0.0322766937315464,
0.06898139417171478,
-0.04766618460416794,
0.015063904225826263,
-0.045842889696359634,
-0.04134976491332054,
0.04953289404511452,
-0.022726090624928474,
-0.0432598851621151,
0.00800948217511177,
-0.0022194297052919865,
-0.04558241739869118,
-0.0695023387670517,
0.025482742115855217,
0.00426521198824048,
0.06229597330093384,
0.029910748824477196,
0.043303295969963074,
-0.02381138689815998,
0.07080469280481339,
0.07957387715578079,
-0.028673510998487473,
-0.01915546879172325,
0.06828680634498596,
0.04308623820543289,
-0.027913805097341537,
0.03744269907474518,
0.008600967936217785,
0.005407485645264387,
-0.036531053483486176,
-0.0351201668381691,
-0.043867651373147964,
0.0022913306020200253,
0.027718450874090195,
0.03915746882557869,
0.05726020038127899,
-0.06958916038274765,
0.05626172944903374
] |
52,075 |
tussik.zpl.zplwriter
|
__init__
| null |
def __init__(self, config: Optional[ZplConfig] = None):
self._attrib: List[str] = []
self._stream: List[str] = []
self._font: str = ''
self._reverse: str = ''
self._config: ZplConfig = config.copy() if isinstance(config, ZplConfig) else ZplConfig()
|
(self, config: Optional[tussik.zpl.zplconfig.ZplConfig] = None)
|
[
0.04398681968450546,
-0.008452421985566616,
0.00510657811537385,
-0.050291236490011215,
-0.006088266149163246,
0.006633147597312927,
-0.05746025964617729,
0.05295710638165474,
0.03415193036198616,
0.02509158104658127,
-0.019741833209991455,
0.03332334756851196,
-0.03242271766066551,
0.04917445406317711,
-0.004827382508665323,
0.07781451940536499,
0.030747544020414352,
0.013293314725160599,
-0.025956187397241592,
-0.00871360581368208,
0.01069049071520567,
0.007502256892621517,
-0.03779047727584839,
0.11283105611801147,
0.018913252279162407,
0.04416694864630699,
-0.016319435089826584,
-0.01197839342057705,
-0.027415208518505096,
-0.04931855574250221,
0.010852604173123837,
-0.009267493151128292,
0.002535276347771287,
-0.007268092595040798,
-0.014545191079378128,
0.019921958446502686,
-0.004674274940043688,
0.02294807881116867,
-0.10548190772533417,
-0.002715402515605092,
0.08912645280361176,
0.005093068815767765,
0.0020917155779898167,
0.023920761421322823,
0.004620237275958061,
0.07316726446151733,
-0.02001202292740345,
0.03285502269864082,
-0.061314962804317474,
0.0015119343297556043,
0.01464426051825285,
0.0800480917096138,
-0.0020860866643488407,
0.012563803233206272,
-0.03290905803442001,
0.01117683108896017,
0.01042930781841278,
0.10778752714395523,
0.02827981486916542,
0.017220064997673035,
-0.06862808763980865,
0.0218132846057415,
0.02528971992433071,
-0.042149532586336136,
-0.016184339299798012,
-0.0316481739282608,
-0.016211358830332756,
-0.018237778916954994,
0.02235366217792034,
0.023164231330156326,
0.04582410678267479,
0.03431404381990433,
-0.04571603238582611,
0.005651460029184818,
0.03706997260451317,
-0.03085562027990818,
-0.011275900527834892,
0.060234203934669495,
0.0027289120480418205,
-0.006146806757897139,
0.004478388000279665,
0.06632246822118759,
-0.03449416905641556,
0.026388490572571754,
0.04679679125547409,
-0.014671280048787594,
0.013986799865961075,
-0.050543416291475296,
0.02415492571890354,
0.08754134178161621,
-0.04852600023150444,
0.014428109861910343,
-0.017157021909952164,
-0.013050143606960773,
-0.02078656479716301,
-0.005962177645415068,
0.01916542835533619,
-0.03548486530780792,
0.03326931223273277,
0.03159413859248161,
-0.05702795833349228,
-0.011582115665078163,
-0.059333574026823044,
-0.028441928327083588,
-0.043518491089344025,
-0.03688984736800194,
-0.028856219723820686,
-0.004840891808271408,
0.012752935290336609,
0.043050166219472885,
0.016508568078279495,
0.005327232647687197,
0.061927393078804016,
0.013455428183078766,
0.025848111137747765,
-0.024947479367256165,
-0.03876316174864769,
-0.04384271800518036,
-0.008465931750833988,
-0.011537083424627781,
0.005318226292729378,
0.023290319368243217,
-0.047661393880844116,
0.0800480917096138,
-0.01024017482995987,
0.028441928327083588,
0.004399582743644714,
-0.0444551482796669,
0.04409489780664444,
-0.010591421276330948,
0.06866411119699478,
0.012194544076919556,
-0.042653888463974,
-0.004962476901710033,
0.023542495444417,
-0.057244110852479935,
0.02851397916674614,
0.010132099501788616,
-0.05666770413517952,
0.02671271748840809,
0.039807893335819244,
0.04420297220349312,
0.028135715052485466,
-0.039627768099308014,
-0.0819934532046318,
0.025253694504499435,
-0.016373472288250923,
-0.07096973061561584,
-0.026910856366157532,
0.004041581880301237,
-0.0043770670890808105,
-0.029306534677743912,
-0.04578808322548866,
-0.0014635254628956318,
0.0057685417123138905,
-0.04171723127365112,
-0.027667386457324028,
-0.0016357711283490062,
0.07997603714466095,
0.025181643664836884,
-0.02655060403048992,
0.03242271766066551,
-0.0009135776199400425,
-0.00694836862385273,
-0.0323326550424099,
-0.03811470791697502,
0.016607636585831642,
-0.06560196727514267,
0.031179847195744514,
-0.013239276595413685,
0.03703394904732704,
-0.07147408276796341,
-0.007439212407916784,
0.05483041703701019,
0.008524472825229168,
0.03887123614549637,
-0.00034871307434514165,
0.042653888463974,
-0.009384575299918652,
-0.01630142144858837,
0.00714200409129262,
0.011401989497244358,
-0.032386694103479385,
0.015508866868913174,
0.04719306901097298,
0.0036790778394788504,
0.024947479367256165,
0.04913843050599098,
0.03658363223075867,
-0.007110482081770897,
0.015508866868913174,
0.008407390676438808,
-0.011510064825415611,
-0.03557492792606354,
0.008281302638351917,
-0.015292715281248093,
0.02655060403048992,
-0.054542217403650284,
-0.019741833209991455,
-0.02114681713283062,
0.009528676979243755,
-0.005899133626371622,
0.020696502178907394,
-0.0364215187728405,
-0.007966081611812115,
0.032134514302015305,
-0.004399582743644714,
0.008880222216248512,
-0.04809369891881943,
0.03562896326184273,
0.03359353914856911,
-0.014545191079378128,
0.06560196727514267,
-0.04503155127167702,
0.006160316523164511,
-0.05972985178232193,
-0.058685120195150375,
0.054181963205337524,
0.015301721170544624,
0.005363258067518473,
0.07745426893234253,
-0.015274702571332455,
0.019273504614830017,
-0.010438313707709312,
0.013239276595413685,
-0.005894630216062069,
0.04456322640180588,
-0.02606426179409027,
-0.03175625205039978,
0.021362967789173126,
0.02820776402950287,
-0.02372262254357338,
0.02539779618382454,
0.026046250015497208,
0.030117101967334747,
-0.04243773594498634,
-0.015202651731669903,
0.012779954820871353,
-0.10987699031829834,
-0.05403786152601242,
0.023218268528580666,
-0.005295710638165474,
0.006029725074768066,
0.0013847202062606812,
-0.0024069366045296192,
0.04877817630767822,
-0.021056754514575005,
0.04474335163831711,
-0.033341363072395325,
-0.02330833114683628,
-0.005133597180247307,
0.0240288358181715,
-0.03467429429292679,
-0.008826184086501598,
-0.03977186605334282,
-0.04272593557834625,
-0.018859215080738068,
-0.058685120195150375,
0.039879944175481796,
-0.026028238236904144,
-0.01545482873916626,
-0.0664665699005127,
-0.002478986978530884,
0.06477338820695877,
0.07767042517662048,
0.005205647554248571,
-0.026766754686832428,
-0.03453019633889198,
-0.03678177297115326,
-0.007272595539689064,
0.045139629393815994,
-0.021074766293168068,
0.012761942110955715,
0.013644560240209103,
0.005642453674226999,
-0.014329040423035622,
0.014329040423035622,
-0.06275597214698792,
0.04276196286082268,
0.0479135736823082,
0.058865245431661606,
-0.04776947200298309,
0.008727114647626877,
0.01785050705075264,
0.022840004414319992,
-0.03384571522474289,
-0.029486659914255142,
0.019453629851341248,
-0.04240170866250992,
-0.05735218524932861,
0.042509786784648895,
0.03804265707731247,
-0.021885335445404053,
-0.017652368173003197,
0.08429906517267227,
-0.004291506949812174,
0.019975997507572174,
0.016643662005662918,
0.02545183338224888,
-0.016922857612371445,
-0.0004593218327499926,
-0.071870356798172,
0.07594121247529984,
0.03181028738617897,
-0.05911742150783539,
0.004705797415226698,
-0.012806973420083523,
0.0024812384508550167,
0.027523284777998924,
0.006083762738853693,
0.06790757924318314,
0.04571603238582611,
-0.0017956331139430404,
0.04485142603516579,
-0.02377665974199772,
0.034890446811914444,
0.02228161320090294,
-0.03706997260451317,
0.023398395627737045,
0.04272593557834625,
-0.04859805107116699,
-0.03126991167664528,
-0.004086613189429045,
-0.04834587499499321,
0.037718430161476135,
0.01887722685933113,
0.0443110466003418,
-0.01233864575624466,
0.03353950008749962,
0.03948366641998291,
-0.08948670327663422,
0.046112310141325,
-0.026946881785988808,
0.007376168388873339,
-0.03811470791697502,
-0.007096972782164812,
-0.03775445371866226,
0.022803978994488716,
-0.0006118662422522902,
-0.10382474958896637,
0.007803968153893948,
0.004449117463082075,
-0.05238070338964462,
0.0372501015663147,
0.013635554350912571,
-0.015535885468125343,
0.002332634525373578,
-0.048922277987003326,
0.041789282113313675,
0.04283401370048523,
0.003226510714739561,
-0.023812685161828995,
0.005057043395936489,
0.06999704241752625,
0.05180429667234421,
0.0011944619473069906,
-0.02719905786216259,
-0.010024023242294788,
0.01069049071520567,
0.022191548720002174,
0.004255481529980898,
0.02923448383808136,
-0.03436807915568352,
0.012068456038832664,
-0.020984703674912453,
-0.01616632752120495,
0.038619060069322586,
-0.006439512129873037,
0.03145003691315651,
0.033287324011325836,
-0.012518771924078465,
-0.004948967602103949,
-0.05655962973833084,
-0.052452754229307175,
0.026442527770996094,
-0.029810888692736626,
-0.0117712477222085,
0.006606128998100758,
0.0011550593189895153,
-0.018643062561750412,
-0.039339564740657806,
0.037178050726652145,
0.04917445406317711,
0.030819594860076904,
-0.03126991167664528,
-0.00533173605799675,
-0.052200574427843094,
0.007245576940476894,
0.043878745287656784,
0.007002406287938356,
-0.01018613763153553,
-0.002366408007219434,
0.026136312633752823,
-0.0054037864319980145,
-0.003814172465354204,
0.013905743137001991,
0.007254583295434713,
0.06506158411502838,
0.011645159684121609,
0.0498589351773262,
0.007128494791686535,
-0.055622972548007965,
-0.04294208809733391,
0.044419124722480774,
-0.004428853280842304,
-0.02102072909474373,
0.08379471302032471,
0.04247375950217247,
0.014914450235664845,
0.03948366641998291,
0.053641583770513535,
-0.027937576174736023,
-0.06027023121714592,
-0.04769742116332054,
-0.01090664230287075,
0.008803668431937695,
0.0008938763057813048,
-0.005628943908959627,
0.008501957170665264,
-0.012518771924078465,
0.015139607712626457,
0.023794671520590782,
0.006426002364605665,
-0.002051187213510275,
0.06520568579435349,
0.033629562705755234,
0.03254880756139755,
0.014833393506705761,
-0.05169622227549553,
0.0045526898466050625,
-0.035376787185668945,
0.05900934711098671,
0.0030058561824262142,
-0.048489976674318314,
0.04776947200298309,
0.005282201338559389,
-0.02552388422191143,
-0.04456322640180588,
-0.05032726377248764,
0.0059846932999789715,
0.02820776402950287,
-0.011726216413080692,
0.01923747919499874,
0.06117086112499237,
-0.006358455400913954,
0.046760763972997665,
-0.04845394939184189,
-0.02503754384815693,
0.03348546102643013,
-0.03548486530780792,
-0.011203850619494915,
0.021705208346247673,
0.0014443870168179274,
-0.0221555233001709,
0.008605529554188251,
-0.06927654147148132,
-0.013185238465666771,
0.015851106494665146,
-0.03600722923874855,
0.015589923597872257,
-0.04225761070847511,
-0.018589025363326073,
0.023920761421322823,
-0.05349748581647873,
-0.05187634751200676,
0.04503155127167702,
0.03714202344417572,
0.034836407750844955,
-0.049210481345653534,
-0.03901533782482147,
-0.002332634525373578,
0.010339244268834591,
-0.033701613545417786,
0.01702192611992359,
0.03121587261557579,
-0.0158240869641304,
-0.01905735395848751,
-0.025974199175834656,
-0.025794073939323425,
-0.018363866955041885,
0.00009154069994110614,
-0.005543384235352278,
0.002553289057686925,
0.003453920129686594,
-0.030405303463339806,
-0.02325429394841194,
0.05483041703701019,
-0.048489976674318314,
0.018769150599837303,
0.010879622772336006,
-0.06657464802265167,
0.07997603714466095,
-0.04895830526947975,
0.0045436834916472435,
-0.0022932318970561028,
0.058072689920663834,
0.02545183338224888,
-0.0019757593981921673,
-0.019975997507572174,
-0.02013811096549034,
-0.004046084824949503,
-0.0490303561091423,
-0.0373941995203495,
-0.056055277585983276,
-0.0039560217410326,
-0.016445523127913475,
-0.05475836992263794,
0.019453629851341248,
-0.010618439875543118,
0.032746944576501846,
-0.015175633132457733,
0.011465033516287804,
-0.012347651645541191,
-0.030225178226828575,
0.015175633132457733,
0.013680585660040379,
-0.038078680634498596,
0.006606128998100758,
-0.044491175562143326,
-0.010042035952210426,
0.007858006283640862,
0.059946004301309586,
0.023524483665823936,
-0.0391954630613327,
0.011933361180126667,
0.023866722360253334,
0.02456921525299549,
-0.030225178226828575,
0.055334772914648056,
0.04895830526947975,
-0.0017438469221815467,
-0.05421799048781395,
-0.031486060470342636,
0.0047508287243545055,
0.03438609465956688,
0.04121287539601326,
-0.02936057187616825,
0.025379782542586327,
-0.01760733686387539,
-0.024118900299072266,
0.01486041210591793,
-0.01713000237941742,
0.04823780059814453,
-0.05313723161816597,
-0.04650858789682388,
-0.03876316174864769,
-0.006313423626124859,
0.030711518600583076,
-0.00017182351439259946,
-0.010798566043376923,
0.009555695578455925,
-0.09726815670728683,
-0.03474634513258934,
-0.0002365563705097884,
0.0006203096127137542,
-0.01542781013995409,
0.03103574551641941,
-0.05021918937563896,
0.03683580830693245,
0.019849907606840134,
-0.04503155127167702,
0.03840290755033493,
-0.07709401845932007,
0.013338346034288406,
0.01107776165008545,
-0.006736720446497202,
0.026802780106663704,
-0.029144421219825745,
-0.007556294556707144,
0.011672178283333778,
0.07223060727119446,
-0.04697691649198532,
-0.04607628285884857,
0.03804265707731247,
-0.04312221333384514,
-0.0292885210365057,
0.0454278290271759,
0.08379471302032471,
0.04546385630965233,
0.0027266605757176876,
-0.017706407234072685,
0.024605240672826767,
0.01294206827878952,
-0.05270493030548096,
-0.009555695578455925,
-0.029126407578587532,
0.00987992249429226,
-0.0032310138922184706,
-0.023992810398340225,
-0.054001837968826294,
-0.007948068901896477,
-0.03588113933801651,
0.032440729439258575,
-0.015085570514202118,
-0.059513699263334274,
-0.02689284272491932,
0.027036944404244423,
-0.054073888808488846,
0.002913541393354535,
0.01929151639342308,
-0.02954069897532463,
0.033521488308906555,
-0.025253694504499435,
0.0316481739282608,
0.025920161977410316,
-0.021128805354237556,
-0.033395398408174515,
0.010501357726752758,
-0.03397180512547493,
0.020894641056656837,
0.03588113933801651,
0.03969981521368027,
-0.020570414140820503,
-0.022335650399327278,
0.009555695578455925,
-0.060774583369493484,
-0.013968788087368011,
0.05450619012117386,
0.021254893392324448,
0.02791956253349781,
0.0244431272149086,
0.024244988337159157,
-0.043518491089344025,
0.07053742557764053,
-0.06833988428115845,
0.0033638570457696915,
-0.012806973420083523,
-0.07377969473600388,
0.004674274940043688,
0.03353950008749962,
0.07302316278219223,
-0.010276200249791145,
0.010627446696162224,
-0.028766155242919922,
-0.10504960268735886,
-0.022029435262084007,
-0.023092180490493774,
0.005507358815521002,
0.058793194591999054,
0.01129391323775053,
0.020264199003577232,
-0.03276495635509491,
0.04139300435781479,
-0.020264199003577232,
-0.018237778916954994,
0.04618436098098755,
0.011302920058369637,
-0.043230291455984116,
0.03227861598134041,
-0.002334885997697711,
0.0037151030264794827,
-0.016031233593821526,
-0.002125489292666316,
0.06268392503261566,
-0.026676692068576813,
0.055262722074985504,
-0.013815680518746376,
0.07208651304244995,
0.02809968963265419,
-0.015166627243161201,
-0.05241672694683075,
-0.030279215425252914,
0.025920161977410316,
0.019975997507572174,
0.0284599419683218,
-0.01882318966090679,
0.0004947842098772526,
-0.004422098398208618,
-0.026082275435328484,
-0.03505256026983261,
-0.011005711741745472,
0.058252815157175064,
0.0346202589571476,
-0.0102131562307477,
0.01630142144858837,
-0.040528398007154465,
-0.04074455052614212,
0.014338046312332153,
0.07486045360565186,
-0.013257289305329323,
-0.01695888303220272,
0.0434824675321579,
0.01713900826871395,
-0.08991900086402893,
-0.004890426527708769,
0.03678177297115326,
-0.018534986302256584,
-0.006606128998100758,
0.014878424815833569,
0.008637052029371262,
-0.06657464802265167,
0.013185238465666771,
0.02635246515274048,
-0.0176253505051136,
0.03090965747833252,
-0.04841792583465576,
-0.003757883096113801,
-0.05032726377248764,
0.018498962745070457,
-0.041429027915000916,
0.03126991167664528,
-0.0035349768586456776,
-0.04009609296917915,
0.03652959689497948,
0.010897635482251644,
-0.044419124722480774,
0.010474339127540588,
-0.02359653450548649,
0.0006124291103333235,
-0.0056109316647052765,
-0.0033908758778125048,
0.11283105611801147,
0.026676692068576813,
-0.04193338006734848,
-0.023974798619747162,
0.10195143520832062,
0.04157312959432602,
0.00039712199941277504,
-0.07064549624919891,
0.01018613763153553,
-0.013014119118452072,
0.02251577563583851,
-0.0010120841907337308,
0.03453019633889198,
0.04582410678267479,
-0.014455128461122513,
-0.060594458132982254,
0.004016814287751913,
-0.019994009286165237,
-0.043410416692495346,
-0.02784751169383526,
0.04078057408332825,
-0.04650858789682388,
0.023542495444417,
-0.041897356510162354,
-0.013365364633500576,
-0.00022149895085021853,
-0.004498652182519436,
-0.029018333181738853,
0.08134499937295914,
-0.027757449075579643,
-0.0048048668541014194,
-0.03688984736800194,
0.04690486565232277,
-0.031017733737826347,
0.004219456575810909,
0.04330234229564667,
0.00878115277737379,
0.0005381270311772823,
0.03098170831799507,
0.01887722685933113,
-0.027090981602668762,
-0.005791057832539082,
0.04427502304315567,
0.027271108701825142,
-0.0444551482796669,
0.03044132888317108,
-0.019543694332242012,
-0.014833393506705761,
-0.04006006941199303,
-0.10339244455099106,
-0.02982890047132969,
0.05158814787864685,
0.011663172394037247,
0.04647256061434746,
0.0204263124614954,
-0.025379782542586327,
0.020336249843239784
] |
52,076 |
tussik.zpl.zplwriter
|
add
| null |
def add(self, command: str):
self._stream.append(command)
|
(self, command: str)
|
[
-0.0163128599524498,
0.023486588150262833,
-0.04241998866200447,
-0.008320214226841927,
0.059420742094516754,
0.02058761566877365,
-0.00913913268595934,
0.07671630382537842,
0.03092237003147602,
0.000381564925191924,
0.005597309209406376,
-0.03162664175033569,
0.0004777878930326551,
0.03210161253809929,
-0.023453831672668457,
0.01876961626112461,
0.014519428834319115,
0.0009432919905520976,
-0.07140970975160599,
0.012971672229468822,
-0.0063056740909814835,
0.07383371144533157,
0.027155345305800438,
0.018458427861332893,
0.005953539162874222,
0.09139132499694824,
0.00960591621696949,
-0.020325561985373497,
0.014388401992619038,
-0.040782153606414795,
-0.02663123607635498,
-0.0918499231338501,
-0.0312171820551157,
-0.04395955801010132,
-0.02532096579670906,
0.05064193159341812,
-0.002884641056880355,
0.011153672821819782,
0.006514498498290777,
0.015895212069153786,
0.010531295090913773,
0.0727199837565422,
-0.0016061043133959174,
0.019850589334964752,
0.017049888148903847,
0.013110888190567493,
-0.025370102375745773,
0.07750246673822403,
-0.0001344818010693416,
-0.022716805338859558,
0.00618283636868,
0.026369182392954826,
0.003066850593313575,
-0.02576318196952343,
-0.0410442054271698,
-0.010531295090913773,
0.03180680423974991,
-0.015543077141046524,
-0.019179075956344604,
0.03898053243756294,
0.012668672017753124,
0.04287858307361603,
0.005859363358467817,
-0.010858861729502678,
0.042026907205581665,
0.01000718679279089,
-0.018900644034147263,
-0.0030156681314110756,
0.055915769189596176,
0.023814156651496887,
-0.00011707978410413489,
-0.01929372549057007,
0.0030832288321107626,
-0.04998679831624031,
-0.013626807369291782,
0.017590373754501343,
-0.05696398392319679,
0.031544748693704605,
-0.0029378707986325026,
0.014191861264407635,
0.028989722952246666,
0.0025980195496231318,
0.02473134547472,
0.05116604268550873,
-0.03727718070149422,
0.01392980758100748,
0.02284783124923706,
-0.0461215004324913,
-0.06623414903879166,
-0.024633074179291725,
-0.01585426554083824,
-0.02669675089418888,
-0.03373945131897926,
0.01306175347417593,
0.05378657951951027,
-0.058339767158031464,
0.00024810677859932184,
0.01266048289835453,
0.010154591873288155,
0.02743377722799778,
-0.06649620085954666,
0.06361360847949982,
0.08431587368249893,
-0.06099306419491768,
-0.031020641326904297,
-0.05332798510789871,
0.020407455042004585,
0.008168714120984077,
-0.033444639295339584,
0.050609175115823746,
0.043697502464056015,
0.05653814598917961,
0.022651292383670807,
-0.007689646910876036,
-0.0094912676140666,
0.05378657951951027,
0.0205221027135849,
0.013282861560583115,
0.008893457241356373,
0.007607754785567522,
0.03170853108167648,
0.010424835607409477,
0.0279415063560009,
-0.010269240476191044,
-0.010457592085003853,
0.013250105082988739,
-0.013561293482780457,
-0.023535722866654396,
0.047267988324165344,
-0.053819335997104645,
-0.03218350559473038,
0.030234478414058685,
0.033067937940359116,
-0.007116403430700302,
0.025664912536740303,
-0.03652377426624298,
-0.0011751482961699367,
-0.030431019142270088,
-0.01441296935081482,
0.049528203904628754,
0.020931562408804893,
-0.019752319902181625,
0.028138047084212303,
-0.034951452165842056,
-0.026893289759755135,
-0.00020536946249194443,
-0.05005231127142906,
0.011931645683944225,
0.02409258857369423,
-0.017705023288726807,
-0.0013665705919265747,
-0.012857023626565933,
-0.04409058392047882,
0.017934320494532585,
0.02728637121617794,
0.04081491008400917,
0.0034599315840750933,
-0.004721066448837519,
-0.013561293482780457,
-0.039111558347940445,
0.026303669437766075,
-0.02197977900505066,
-0.03113528899848461,
0.038456421345472336,
-0.017426589503884315,
-0.00881156511604786,
-0.007939416915178299,
0.05057641863822937,
-0.017049888148903847,
0.027826858684420586,
0.030971504747867584,
0.004790674429386854,
0.030234478414058685,
0.06462906301021576,
0.03244556114077568,
0.00840210635215044,
-0.005593214649707079,
0.05434344708919525,
0.014175483025610447,
-0.10043218731880188,
-0.0606982558965683,
0.01927734725177288,
0.041797611862421036,
0.016206400468945503,
-0.005863457918167114,
-0.006989471148699522,
0.025812318548560143,
0.009851591661572456,
-0.015027157962322235,
-0.003357566660270095,
0.0036789923906326294,
0.003990181256085634,
-0.00458185002207756,
0.006428511813282967,
-0.018458427861332893,
-0.02504253387451172,
-0.02895696647465229,
0.011153672821819782,
-0.0229952372610569,
0.03179042413830757,
-0.019883345812559128,
0.02394518256187439,
0.05283663421869278,
-0.019342860206961632,
0.02001437358558178,
-0.0072474307380616665,
0.0033207153901457787,
0.03223264217376709,
-0.003275674767792225,
-0.051624637097120285,
0.060436200350522995,
0.03383772075176239,
0.060731012374162674,
0.011391159147024155,
-0.004979025572538376,
0.008590457029640675,
-0.012062672525644302,
-0.027957884594798088,
0.0018835130613297224,
-0.004704688210040331,
0.07121317088603973,
0.03419804573059082,
-0.04818517714738846,
0.037146151065826416,
-0.02656572312116623,
-0.02204529196023941,
0.042747557163238525,
-0.042092420160770416,
-0.032134369015693665,
0.02939918264746666,
0.029923290014266968,
0.04163382574915886,
-0.03537729009985924,
-0.0058143227361142635,
-0.040127016603946686,
0.004954458214342594,
-0.04815242066979408,
0.051559120416641235,
-0.020391076803207397,
-0.0058225118555128574,
-0.008242417126893997,
0.0077060251496732235,
-0.0004048529372084886,
0.05712777003645897,
0.008135957643389702,
0.00972056481987238,
-0.008918024599552155,
0.05116604268550873,
-0.030218100175261497,
-0.00018387283489573747,
0.05676744505763054,
-0.007153254933655262,
-0.015436617657542229,
-0.04186312481760979,
-0.02037469670176506,
0.009507645852863789,
-0.03822712600231171,
-0.023699507117271423,
0.010138213634490967,
-0.01739383302628994,
-0.041666582226753235,
0.039046045392751694,
0.017852427437901497,
-0.0014648408396169543,
0.012300158850848675,
0.004643268883228302,
-0.05365555360913277,
0.028858695179224014,
0.01193983480334282,
0.02525545284152031,
0.02882593870162964,
0.026680370792746544,
-0.013872482813894749,
-0.017868805676698685,
-0.02191426418721676,
-0.0005261552869342268,
0.026172641664743423,
0.026811398565769196,
-0.018802372738718987,
-0.02990691177546978,
0.035541072487831116,
-0.001426965813152492,
0.015960725024342537,
0.004692404065281153,
-0.002962438389658928,
0.04716971889138222,
0.04448366537690163,
0.09407737851142883,
-0.014003509655594826,
-0.048643771559000015,
0.013675942085683346,
0.06826506555080414,
0.00858226791024208,
0.004266566596925259,
0.04546636715531349,
0.03884950280189514,
-0.03311707451939583,
0.05470376834273338,
0.04847998917102814,
-0.004233809653669596,
-0.0039758505299687386,
-0.04219069331884384,
-0.015526698902249336,
-0.03501696512103081,
-0.11477964371442795,
-0.02473134547472,
0.01343026664108038,
0.02029280550777912,
-0.05247630923986435,
-0.03544280305504799,
0.014036267064511776,
0.07403025031089783,
-0.030431019142270088,
0.04133901745080948,
0.03478766605257988,
0.09099824726581573,
-0.0035377289168536663,
0.03210161253809929,
0.0009898679563775659,
0.0034189855214208364,
-0.032789506018161774,
-0.05784841626882553,
0.017770536243915558,
-0.01623096875846386,
-0.012005348689854145,
0.04225620627403259,
0.009016294963657856,
-0.023273669183254242,
-0.009008105844259262,
-0.014691401273012161,
0.021521184593439102,
0.002116904826834798,
-0.014306509867310524,
0.04684215039014816,
-0.06456355005502701,
-0.02161945402622223,
-0.04150279983878136,
-0.028613019734621048,
0.004254282917827368,
0.02329004742205143,
-0.04199415072798729,
0.06561176478862762,
0.0052206069231033325,
0.0035827693063765764,
0.06453079730272293,
-0.06787198036909103,
-0.014363834634423256,
0.00658820103853941,
-0.024845993146300316,
0.0075463359244167805,
0.04854550212621689,
-0.03170853108167648,
0.003443553112447262,
-0.02808891236782074,
0.09931845963001251,
-0.02044021151959896,
-0.011096348986029625,
-0.017852427437901497,
0.011604078114032745,
-0.06479284912347794,
-0.05503133684396744,
0.01469959132373333,
0.013806969858705997,
0.004553188104182482,
-0.079140305519104,
-0.00585526879876852,
0.0312171820551157,
0.025009777396917343,
0.047333501279354095,
0.029137127101421356,
0.02422361634671688,
-0.018573075532913208,
0.009810646064579487,
0.0592241995036602,
-0.029006101191043854,
0.01944112963974476,
0.010695078410208225,
-0.026663992553949356,
-0.05545717477798462,
-0.04942993447184563,
-0.011022645980119705,
-0.010965321213006973,
-0.006706944201141596,
0.015985293313860893,
0.0212591290473938,
0.017426589503884315,
0.007599565666168928,
0.017852427437901497,
0.03070945106446743,
0.022323723882436752,
0.032052479684352875,
-0.013872482813894749,
0.019080806523561478,
0.011563132517039776,
-0.07966440916061401,
-0.029562965035438538,
-0.0058388905599713326,
-0.03056204691529274,
-0.031053397804498672,
0.0075422413647174835,
0.03508247807621956,
-0.017672264948487282,
0.0005394627223722637,
0.04847998917102814,
0.025451993569731712,
-0.064039446413517,
-0.069247767329216,
0.045662906020879745,
-0.029448317363858223,
-0.022225454449653625,
-0.010924375616014004,
-0.0727199837565422,
-0.020702265202999115,
0.007349795661866665,
-0.03223264217376709,
0.01236567273736,
0.011464862152934074,
-0.047104205936193466,
-0.06561176478862762,
0.040061503648757935,
-0.018098102882504463,
0.00630976865068078,
-0.044712960720062256,
0.10429748892784119,
0.01371688861399889,
0.0022090331185609102,
0.03694961220026016,
-0.00023774233704898506,
-0.009548592381179333,
-0.02633642591536045,
-0.02109534665942192,
0.03491869568824768,
0.003271580208092928,
0.014789671637117863,
-0.011219186708331108,
-0.04346820339560509,
-0.015567644499242306,
-0.09257057309150696,
-0.024338264018297195,
0.05640712007880211,
-0.025451993569731712,
-0.026598479598760605,
0.0031241748947650194,
0.014281942509114742,
-0.0021373778581619263,
-0.013954374939203262,
-0.007689646910876036,
-0.012046294286847115,
0.09768062084913254,
-0.01578875258564949,
0.02487874962389469,
-0.03179042413830757,
0.006109133362770081,
0.04867652803659439,
0.07121317088603973,
-0.07304754853248596,
0.04052009806036949,
-0.02073502168059349,
-0.00255502643994987,
-0.060731012374162674,
-0.05522787943482399,
0.05457274243235588,
-0.06728236377239227,
0.004033174831420183,
-0.06099306419491768,
0.018425671383738518,
0.008475808426737785,
0.022438373416662216,
-0.015657726675271988,
0.00895078107714653,
0.009859781712293625,
0.01863859035074711,
-0.0038284449838101864,
-0.042976852506399155,
0.020931562408804893,
0.007771538570523262,
0.04569566249847412,
-0.049593716859817505,
-0.08621576428413391,
-0.004688309505581856,
-0.03694961220026016,
-0.06122236326336861,
-0.04156831279397011,
0.03894777223467827,
-0.001177195692434907,
0.07665079087018967,
0.08104019612073898,
-0.026827776804566383,
0.039570152759552,
-0.00029685802292078733,
0.02523907460272312,
0.06410495936870575,
-0.01847480610013008,
-0.04183036834001541,
0.007820673286914825,
0.011227375827729702,
-0.05152636393904686,
0.015379293821752071,
-0.02045658975839615,
-0.008033592253923416,
0.013733266852796078,
-0.011907078325748444,
-0.06184474006295204,
-0.005773377139121294,
0.007873903028666973,
0.029006101191043854,
0.02735188417136669,
0.021128103137016296,
-0.04487674683332443,
0.021783238276839256,
-0.004039316438138485,
0.0002524572773836553,
-0.04147004336118698,
-0.00605590408667922,
0.04533534124493599,
-0.013225536793470383,
0.01441296935081482,
-0.001218141638673842,
-0.03753923252224922,
0.014347455464303493,
0.026303669437766075,
0.0279415063560009,
-0.01087524089962244,
-0.05994484946131706,
-0.013184591196477413,
-0.04553188011050224,
-0.09682894498109818,
-0.052640095353126526,
-0.0047415392473340034,
0.043697502464056015,
0.04484399035573006,
0.03557382896542549,
-0.010326565243303776,
-0.04782485216856003,
0.040421828627586365,
0.08497100323438644,
0.08608473837375641,
0.026451073586940765,
-0.017262807115912437,
-0.026811398565769196,
-0.034820422530174255,
-0.036785829812288284,
0.003967660944908857,
-0.051853932440280914,
-0.02977588400244713,
0.04684215039014816,
0.015371103771030903,
-0.026827776804566383,
0.0425182580947876,
-0.022602155804634094,
-0.06878916919231415,
0.003803877392783761,
-0.09748408198356628,
0.052279770374298096,
0.029268154874444008,
-0.01817999593913555,
-0.003730174619704485,
-0.034525614231824875,
-0.015346536412835121,
-0.00638756575062871,
0.01622278057038784,
0.013520347885787487,
-0.05653814598917961,
0.03283863887190819,
0.03573761135339737,
-0.013307428918778896,
0.004002465400844812,
-0.019375616684556007,
0.026729507371783257,
-0.012005348689854145,
0.006010863464325666,
0.018098102882504463,
-0.011833375319838524,
-0.05444171652197838,
-0.006215592846274376,
-0.033149830996990204,
0.010899808257818222,
0.05110052600502968,
-0.00036288335104472935,
-0.01513361744582653,
-0.08005749434232712,
0.0024055736139416695,
-0.032265398651361465,
-0.029382802546024323,
-0.007501295302063227,
0.023519344627857208,
-0.006342525593936443,
0.022389236837625504,
-0.006047714501619339,
-0.005511322990059853,
0.03426355868577957,
-0.047038689255714417,
0.00429113395512104,
-0.01171053759753704,
-0.008623214438557625,
-0.021668588742613792,
0.06964084506034851,
-0.020800534635782242,
-0.06741338968276978,
0.026729507371783257,
-0.013577672652900219,
0.05103501304984093,
-0.017230048775672913,
0.04608874395489693,
0.021701345220208168,
0.01811448112130165,
-0.06983739137649536,
0.02306075021624565,
-0.06865814328193665,
-0.020112643018364906,
-0.03799782693386078,
0.013937996700406075,
-0.040290798991918564,
0.056505389511585236,
-0.008164619095623493,
0.011350213550031185,
0.020915184170007706,
0.017295563593506813,
0.06420322507619858,
0.04526982456445694,
0.06819955259561539,
0.02800701931118965,
-0.03259296342730522,
-0.003345282981172204,
-0.04877479746937752,
0.002272499492391944,
-0.03829263895750046,
0.0030566141940653324,
-0.018163617700338364,
-0.05175566300749779,
-0.02808891236782074,
0.029792262241244316,
-0.006358903832733631,
0.006031336262822151,
-0.0016531920991837978,
-0.0189825352281332,
-0.03377220779657364,
0.0008639592560939491,
0.013864293694496155,
-0.05064193159341812,
0.011145483702421188,
-0.04540085420012474,
-0.011620456352829933,
-0.07350614666938782,
0.009646862745285034,
0.022946102544665337,
-0.020538480952382088,
-0.021799616515636444,
-0.021226372569799423,
-0.038161613047122955,
0.0409131795167923,
-0.00833249744027853,
0.009253781288862228,
0.07743695378303528,
0.10560775548219681,
-0.013782401569187641,
-0.02160307578742504,
0.030578425154089928,
0.029513830319046974,
-0.03504972159862518,
-0.0014474388444796205,
-0.019588535651564598,
0.04520431160926819,
-0.01622278057038784,
-0.06184474006295204,
-0.003390323370695114,
0.02430550754070282,
-0.03799782693386078,
-0.0035663910675793886,
0.04802139475941658,
0.017311941832304,
-0.03730993717908859,
-0.02358485944569111,
-0.009221024811267853,
0.05676744505763054,
-0.015436617657542229,
0.012971672229468822,
-0.010465781204402447,
0.03113528899848461,
-0.014216428622603416,
-0.11674505472183228,
-0.03632723540067673,
0.05565371736884117,
-0.06957533210515976,
-0.05676744505763054,
0.056865714490413666,
0.028121668845415115,
0.0006561586051248014,
0.01796707697212696,
-0.057815659791231155,
0.015354725532233715,
0.014281942509114742,
-0.026074372231960297,
-0.007284281775355339,
0.0006131653790362179,
0.030873235315084457,
-0.014363834634423256,
-0.09342224895954132,
0.003361661219969392,
-0.022798696532845497,
0.06620138883590698,
0.0490696094930172,
0.008492186665534973,
-0.03924258425831795,
0.02227458916604519,
-0.052443552762269974,
-0.012218266725540161,
-0.02817080356180668,
-0.0020524149294942617,
0.04294409602880478,
0.01298805046826601,
0.033444639295339584,
-0.02073502168059349,
0.01863859035074711,
0.002202891279011965,
-0.017590373754501343,
0.037080638110637665,
0.03806333988904953,
-0.04287858307361603,
0.024862371385097504,
-0.017426589503884315,
-0.0005783613305538893,
0.0693787932395935,
0.0237322635948658,
0.057226039469242096,
-0.061680957674980164,
-0.0037608842831104994,
-0.008524944074451923,
-0.012996239587664604,
-0.01775415800511837,
-0.007284281775355339,
0.020784156396985054,
-0.016050806269049644,
0.05250906944274902,
0.039570152759552,
0.0016603576950728893,
-0.05070744827389717,
-0.042682044208049774,
0.06200852617621422,
0.025288209319114685,
-0.0377030186355114,
-0.04022528603672981,
0.04743177071213722,
-0.08700192719697952,
-0.022438373416662216,
-0.07455436140298843,
0.0509367436170578,
0.017934320494532585,
-0.05208323150873184,
0.06787198036909103,
-0.023846913129091263,
0.007828863337635994,
-0.042092420160770416,
0.089032843708992,
0.006813403684645891,
0.00046140950871631503,
0.04284582659602165,
0.05879836529493332,
0.024403776973485947,
-0.027679452672600746,
-0.03193783015012741,
-0.028613019734621048,
0.0492006354033947,
-0.03760474547743797,
0.01929372549057007,
0.006723322439938784,
-0.021848751232028008,
-0.0016306719044223428
] |
52,077 |
tussik.zpl.zplwriter
|
box
| null |
def box(self, left: int = 0, top: int = 0, width: int = 100, height: int = 100, thick: float = 2, round: int = 0):
thick = int(min(max(1, int(thick * self._config.dpmm)), 32000))
width = int(min(max(thick, int(width * self._config.dpmm)), 32000))
height = int(min(max(thick, int(height * self._config.dpmm)), 32000))
round = int(min(max(0, round), 8))
left = min(max(int(left * self._config.dpmm), 0), 32000)
top = min(max(int(top * self._config.dpmm), 0), 32000)
self.add(f"^FO{left},{top}{self._reverse}^GB{width},{height},{thick},B,{round}^FS")
|
(self, left: int = 0, top: int = 0, width: int = 100, height: int = 100, thick: float = 2, round: int = 0)
|
[
0.050525736063718796,
-0.017269061878323555,
-0.021706191822886467,
-0.007815101183950901,
-0.03152192384004593,
-0.01807977631688118,
-0.048050012439489365,
-0.01741725765168667,
-0.05219946801662445,
-0.029325151816010475,
-0.016109654679894447,
-0.0009501907043159008,
-0.04564402252435684,
-0.005282711703330278,
-0.027302727103233337,
0.029673846438527107,
0.06551957130432129,
-0.047526970505714417,
0.026413558050990105,
-0.049340177327394485,
0.04145969823002815,
-0.005788317881524563,
0.05101390928030014,
0.037310242652893066,
0.03164396435022354,
-0.020572936162352562,
0.003319129580631852,
0.0024408570025116205,
-0.00007110085425665602,
-0.023589137941598892,
0.01339856069535017,
-0.03375356271862984,
0.008168153464794159,
0.003532704431563616,
0.01980580948293209,
-0.028157027438282967,
0.04658549651503563,
-0.005391678307205439,
-0.0306850578635931,
0.025698736310005188,
0.0656241774559021,
-0.010504402220249176,
0.07155197858810425,
-0.006616465747356415,
-0.02765142172574997,
-0.04034387692809105,
0.10321337729692459,
0.06621696054935455,
0.01227402314543724,
0.05296659469604492,
-0.01678960770368576,
-0.0645781010389328,
-0.008848106488585472,
-0.023292748257517815,
-0.03464273363351822,
-0.007309494540095329,
-0.010425945743918419,
-0.0019178161164745688,
0.05512849614024162,
0.03703128546476364,
0.020468328148126602,
0.01699882559478283,
0.026117168366909027,
-0.01839360035955906,
-0.014226708561182022,
0.0011092822533100843,
-0.009702405892312527,
0.012945258989930153,
0.011419723741710186,
0.01318062748759985,
0.025681301951408386,
0.030039973556995392,
0.014374903403222561,
0.04121561348438263,
-0.009807013906538486,
-0.014217991381883621,
0.006546726915985346,
0.028122158721089363,
0.04107613489031792,
-0.016092220321297646,
0.04013466089963913,
0.008900410495698452,
0.0072310385294258595,
-0.001753276214003563,
-0.012500674463808537,
0.04909609258174896,
0.040518224239349365,
0.04777105525135994,
0.06440375000238419,
-0.03242852911353111,
-0.011001290753483772,
-0.03520064428448677,
-0.0021608122624456882,
0.010129556059837341,
-0.016109654679894447,
-0.04714340716600418,
0.012047371827065945,
-0.014836923219263554,
-0.030371233820915222,
0.04543480649590492,
-0.036647722125053406,
-0.007623319048434496,
0.0020398590713739395,
-0.017591604962944984,
0.013093453831970692,
-0.005234766285866499,
-0.033091045916080475,
-0.05314094200730324,
-0.019526856020092964,
0.05533771216869354,
0.008434032090008259,
-0.03134757652878761,
-0.07364413887262344,
0.010312620550394058,
0.001962492475286126,
0.021374933421611786,
-0.0055311559699475765,
0.011890459805727005,
-0.00040018066647462547,
-0.026099734008312225,
0.003687437390908599,
-0.012762194499373436,
0.024199353531003,
-0.03302130848169327,
-0.009275256656110287,
0.06900651007890701,
0.01135870162397623,
0.011968916282057762,
0.02540234662592411,
-0.04574863240122795,
0.06370636820793152,
0.0005955037195235491,
0.002002810360863805,
0.007976371794939041,
-0.02367631159722805,
-0.010181860066950321,
-0.0048599205911159515,
-0.009615232236683369,
0.02613460272550583,
0.05565153807401657,
-0.017033694311976433,
-0.0001075366380973719,
-0.009833166375756264,
-0.0419478677213192,
-0.04118074104189873,
0.05265276879072189,
0.01741725765168667,
-0.07908376306295395,
0.05997534096240997,
0.048921745270490646,
-0.011803286150097847,
0.020067330449819565,
0.01688549853861332,
0.02745964005589485,
-0.004716084338724613,
-0.018027471378445625,
0.08229174464941025,
-0.05554692819714546,
-0.005317580886185169,
0.03699641674757004,
-0.012404783628880978,
0.052129730582237244,
-0.002375476760789752,
-0.04177352041006088,
0.01549072377383709,
0.022107189521193504,
-0.03671746328473091,
0.009005018509924412,
0.018585382029414177,
-0.03181831166148186,
-0.028993893414735794,
-0.08452338725328445,
-0.05049086734652519,
0.04177352041006088,
0.028558025136590004,
-0.013206779025495052,
-0.05652327090501785,
-0.012901672162115574,
-0.013354973867535591,
-0.048259228467941284,
0.019108422100543976,
0.005631405394524336,
0.013712385669350624,
-0.027494508773088455,
-0.03737998008728027,
0.0048599205911159515,
0.020363720133900642,
0.0012858085101470351,
-0.004750953521579504,
-0.06077733635902405,
-0.014270295388996601,
0.03699641674757004,
0.02486187033355236,
-0.009641384705901146,
0.012361196801066399,
0.021897973492741585,
0.04442359507083893,
-0.025873083621263504,
0.00022542511578649282,
0.022142058238387108,
0.017460843548178673,
0.0063157170079648495,
0.026744818314909935,
-0.01119307242333889,
0.07685212045907974,
-0.062137242406606674,
-0.009998795576393604,
-0.02831394039094448,
0.04184326156973839,
0.004942735191434622,
-0.006424684077501297,
0.0022468960378319025,
-0.02496647834777832,
0.05690683424472809,
0.051606688648462296,
0.0046855732798576355,
-0.03957675024867058,
0.025036217644810677,
-0.02053806744515896,
0.00419304333627224,
0.020398588851094246,
0.01849820837378502,
-0.053419895470142365,
-0.010547989048063755,
-0.0027285292744636536,
0.057429876178503036,
0.04909609258174896,
-0.03307361155748367,
0.014749749563634396,
-0.02053806744515896,
-0.015028704889118671,
0.0006881254957988858,
-0.1064910963177681,
0.02960410714149475,
-0.007658188696950674,
-0.023589137941598892,
-0.045155853033065796,
-0.00924910418689251,
-0.0580923929810524,
-0.0419827401638031,
0.04132021963596344,
-0.00045139508438296616,
-0.00006858099368400872,
0.04780592396855354,
0.023292748257517815,
-0.04456307366490364,
-0.013529321178793907,
-0.005369885358959436,
-0.019561724737286568,
0.04543480649590492,
-0.07950219511985779,
-0.0030881199054419994,
0.04334264621138573,
0.037170764058828354,
0.021566713228821754,
0.013494451530277729,
-0.10607266426086426,
-0.0709940642118454,
-0.002473546890541911,
0.01731264963746071,
0.03218444064259529,
-0.0183064267039299,
0.04344725236296654,
0.04215708374977112,
0.09930800646543503,
0.050002697855234146,
-0.041389960795640945,
-0.019858114421367645,
-0.05415215343236923,
-0.02280457690358162,
0.049026355147361755,
0.006097783334553242,
0.04968887194991112,
0.046236801892519,
0.004589682910591364,
-0.0027285292744636536,
-0.004942735191434622,
0.08082723617553711,
-0.02979588881134987,
-0.08319835364818573,
-0.008717346005141735,
-0.01970120146870613,
-0.008625813759863377,
-0.022525621578097343,
-0.05453571677207947,
-0.005491928197443485,
0.004624552093446255,
0.02929028309881687,
-0.0080679040402174,
-0.0624510683119297,
-0.05896412953734398,
0.04888687655329704,
0.021235454827547073,
-0.0020779974292963743,
0.018271557986736298,
-0.0036830788012593985,
-0.006507498677819967,
0.05802265554666519,
-0.011628939770162106,
0.010181860066950321,
0.0026173831429332495,
-0.030719926580786705,
0.03359665349125862,
0.03961161896586418,
0.06649591773748398,
0.035985205322504044,
0.02078215219080448,
-0.029307717457413673,
0.044179510325193405,
-0.02627408131957054,
0.000016268406398012303,
-0.019073553383350372,
0.0397859662771225,
-0.028749806806445122,
0.07796794176101685,
0.05770882964134216,
-0.038356322795152664,
-0.008325065486133099,
-0.00406228331848979,
-0.007693057879805565,
0.04379594698548317,
-0.0731559693813324,
0.019753506407141685,
0.03370125964283943,
0.01580454781651497,
-0.02519313059747219,
-0.027302727103233337,
0.040866918861866,
-0.03000510483980179,
0.013616494834423065,
-0.04135508835315704,
0.028993893414735794,
0.026988903060555458,
0.023501964285969734,
-0.028662633150815964,
-0.022333839908242226,
0.046550627797842026,
0.06572879105806351,
-0.0038901157677173615,
-0.0007780231535434723,
0.0838957354426384,
-0.017452126368880272,
-0.01560404896736145,
0.0016410404350608587,
0.026936599984765053,
0.011951480992138386,
0.019125856459140778,
-0.0344509519636631,
0.03800762817263603,
0.02648329734802246,
0.007880480960011482,
-0.08298913389444351,
0.044074900448322296,
-0.04808488115668297,
0.012797064147889614,
0.047526970505714417,
0.04334264621138573,
-0.06489192694425583,
-0.011942763812839985,
-0.026064865291118622,
0.015534310601651669,
0.007588449865579605,
-0.009789579547941685,
0.03560164198279381,
-0.022839447483420372,
0.0024234221782535315,
-0.011681243777275085,
0.01405236218124628,
0.02806985378265381,
0.06217211112380028,
0.023798353970050812,
-0.028139593079686165,
-0.0591733455657959,
-0.01968376711010933,
0.05648840218782425,
0.030162017792463303,
-0.0838957354426384,
-0.010199294425547123,
0.030388668179512024,
0.0008630172815173864,
0.013198061846196651,
-0.010966421104967594,
0.018794598057866096,
-0.02315327152609825,
-0.003744100220501423,
0.0005058784736320376,
-0.01405236218124628,
0.03992544487118721,
0.025350041687488556,
-0.03612468019127846,
-0.024181917309761047,
0.01989298313856125,
0.07406257092952728,
0.014244143851101398,
-0.010530553758144379,
-0.02494904398918152,
0.04424924775958061,
-0.006651334930211306,
0.011794568970799446,
-0.0026718666777014732,
-0.004785823170095682,
-0.04369133710861206,
-0.0068605514243245125,
0.018044905737042427,
-0.015612767077982426,
-0.07622447609901428,
-0.03479964658617973,
0.019718637689948082,
0.031260404735803604,
-0.019718637689948082,
0.0017968629254028201,
-0.025158260017633438,
0.02088676020503044,
0.042540647089481354,
0.020189372822642326,
-0.04463281109929085,
-0.03971622884273529,
-0.01554302778095007,
-0.027355032041668892,
-0.03863527625799179,
0.01785312406718731,
-0.007780231535434723,
0.03605494275689125,
0.02861033007502556,
0.006324434652924538,
0.002599948551505804,
0.01324164867401123,
0.0005560032441280782,
0.01905611902475357,
-0.006036762148141861,
-0.011175638064742088,
-0.016868064180016518,
-0.007950219325721264,
0.01841103471815586,
-0.002056204015389085,
-0.0473526231944561,
-0.028558025136590004,
-0.1087227389216423,
0.0516415573656559,
0.011916612274944782,
0.05205998942255974,
-0.017033694311976433,
-0.006939007434993982,
-0.0038073009345680475,
0.0005361167713999748,
-0.004389183595776558,
-0.005927795544266701,
-0.02290918491780758,
0.029848193749785423,
0.007571015041321516,
-0.00212267367169261,
0.029970236122608185,
-0.008420956321060658,
-0.008425314910709858,
0.012038654647767544,
-0.06851834058761597,
-0.0860576406121254,
-0.03387560695409775,
-0.02494904398918152,
0.03357921540737152,
0.0031731140334159136,
-0.04940991848707199,
-0.0990290492773056,
0.02613460272550583,
-0.040622834116220474,
-0.029569238424301147,
0.013354973867535591,
0.008904769085347652,
-0.008473260328173637,
-0.012448370456695557,
-0.05195538327097893,
-0.06649591773748398,
-0.032341353595256805,
-0.05453571677207947,
0.107537180185318,
0.02960410714149475,
0.0034847590140998363,
0.029081067070364952,
-0.012762194499373436,
-0.02883698046207428,
-0.015760961920022964,
-0.02433883026242256,
-0.03204496577382088,
0.006259054411202669,
-0.014409773051738739,
0.06388071179389954,
-0.004349955823272467,
0.03776354342699051,
0.055477190762758255,
-0.04777105525135994,
-0.021113412454724312,
0.028122158721089363,
-0.041285350918769836,
0.014758466742932796,
0.0033104121685028076,
0.023275313898921013,
-0.054849542677402496,
-0.0008074441575445235,
-0.08452338725328445,
-0.04477228969335556,
-0.01766134239733219,
-0.01414825301617384,
0.011750982142984867,
0.011724830605089664,
-0.02292661927640438,
-0.053419895470142365,
-0.03131270781159401,
-0.03347460925579071,
0.03269004821777344,
-0.015795830637216568,
-0.0023318901658058167,
-0.07838637381792068,
-0.049130961298942566,
-0.029115935787558556,
-0.010513119399547577,
-0.014636424370110035,
-0.014749749563634396,
0.0366128534078598,
-0.03122553415596485,
-0.03758919611573219,
0.013215496204793453,
-0.05781343951821327,
0.023275313898921013,
-0.016074785962700844,
-0.002290482632815838,
0.04700392857193947,
0.03500886261463165,
-0.013259083032608032,
0.035235513001680374,
-0.008813236840069294,
0.058371350169181824,
0.03992544487118721,
0.02215949445962906,
0.012788346968591213,
0.017574168741703033,
0.006337510421872139,
0.014348751865327358,
-0.03307361155748367,
0.04714340716600418,
-0.025036217644810677,
0.023484529927372932,
0.0037637141067534685,
0.05530284345149994,
0.043307773768901825,
-0.03898397088050842,
0.06834398955106735,
0.035357557237148285,
-0.08598790317773819,
0.03532268479466438,
-0.06649591773748398,
0.060533251613378525,
-0.003532704431563616,
0.04543480649590492,
-0.049235571175813675,
0.010234164074063301,
0.04749210178852081,
0.03568881377577782,
-0.032114703208208084,
0.016972672194242477,
-0.04404003173112869,
-0.019962722435593605,
0.0849418193101883,
0.060533251613378525,
0.018219253048300743,
-0.027912942692637444,
-0.05296659469604492,
-0.039751097559928894,
0.01405236218124628,
0.04076230898499489,
-0.005483210552483797,
0.04156430438160896,
0.017077280208468437,
0.05436136946082115,
-0.025210564956068993,
-0.021130846813321114,
-0.005779600236564875,
-0.0334048718214035,
0.02960410714149475,
-0.0559304915368557,
-0.03141731396317482,
-0.05125799402594566,
-0.044284116476774216,
-0.056244317442178726,
-0.04574863240122795,
-0.023205574601888657,
-0.00005305322338244878,
-0.054396238178014755,
-0.0029638977721333504,
-0.004151636268943548,
0.006952083669602871,
0.052025120705366135,
0.0038487082347273827,
0.06147472560405731,
-0.013973905704915524,
-0.03174857422709465,
-0.00104826083406806,
-0.018550513312220573,
-0.016623979434370995,
-0.05906873568892479,
-0.00005877398143638857,
-0.007396668195724487,
0.025454649701714516,
-0.03520064428448677,
0.0806877538561821,
-0.04501637443900108,
0.017940297722816467,
0.006285206414759159,
0.010922834277153015,
-0.0753178671002388,
-0.029883062466979027,
0.05324554815888405,
0.03457299619913101,
-0.00608034897595644,
0.003757176222279668,
-0.050316520035266876,
-0.0022185645066201687,
0.0036830788012593985,
-0.0015026525361463428,
0.03078966587781906,
-0.02744220569729805,
-0.036856938153505325,
-0.023972701281309128,
-0.026518166065216064,
-0.02053806744515896,
0.05174616724252701,
-0.027041207998991013,
0.005478851962834597,
-0.07137762755155563,
0.014374903403222561,
-0.040622834116220474,
0.0030467123724520206,
0.04271499440073967,
0.005042984616011381,
-0.04205247759819031,
-0.07123815268278122,
-0.0063157170079648495,
-0.04682958126068115,
0.00898758415132761,
-0.0677512139081955,
-0.02282201126217842,
0.0516415573656559,
-0.017303932458162308,
-0.028034985065460205,
0.032010093331336975,
0.037519458681344986,
-0.017713647335767746,
-0.02798268012702465,
-0.008111490868031979,
0.042889341711997986,
0.023083532229065895,
-0.022891750559210777,
-0.02271740324795246,
0.0011076477821916342,
0.017800820991396904,
0.03741484880447388,
0.028034985065460205,
0.022211797535419464,
-0.012518108822405338,
0.01517689973115921,
-0.014985118061304092,
-0.02960410714149475,
-0.05565153807401657,
-0.042784735560417175,
0.017800820991396904,
-0.019003814086318016,
-0.0199278537184,
0.059766124933958054,
0.013407277874648571,
-0.02949949912726879,
-0.020433459430933,
0.06848347187042236,
-0.04372620955109596,
-0.028819546103477478,
-0.05554692819714546,
-0.05090929940342903,
0.0017892352771013975,
-0.029534367844462395,
0.015874287113547325,
0.05185077339410782,
0.015482006594538689,
-0.005356809124350548,
-0.054849542677402496,
-0.008917844854295254,
-0.01000751368701458,
0.04766644909977913,
0.07664290815591812,
-0.02357170358300209,
0.03971622884273529,
-0.07455074042081833,
-0.002390732057392597,
-0.0634274110198021,
-0.04456307366490364,
0.05802265554666519,
0.05251329392194748,
-0.012552978470921516,
0.005042984616011381,
0.02142723649740219,
-0.03483451530337334,
0.039541881531476974,
-0.010591575875878334,
-0.02777346409857273,
-0.03033636510372162,
-0.05286198481917381,
0.036961548030376434,
-0.018550513312220573,
0.023937832564115524,
0.02355426922440529,
0.03389304131269455,
-0.03636876866221428,
0.06687948107719421,
0.005304505117237568,
0.024025006219744682,
0.03612468019127846,
0.012282740324735641,
0.026082299649715424,
0.053873199969530106,
-0.0036830788012593985,
0.030719926580786705,
-0.011437158100306988,
-0.03133014217019081,
-0.021392367780208588,
0.08954457938671112,
0.028802111744880676,
-0.06900651007890701,
0.06792555749416351,
0.04421437904238701,
-0.01447079423815012,
0.010661314241588116,
-0.06468270719051361,
-0.004724801518023014,
0.07580604404211044,
0.06405505537986755,
0.014906661584973335,
0.012134545482695103,
-0.015412268228828907,
0.006882344838231802,
0.021061107516288757,
-0.016432197764515877,
-0.021793365478515625,
-0.03737998008728027,
0.005727296229451895,
-0.02494904398918152,
0.043203167617321014,
0.004232271574437618,
-0.048363834619522095,
0.0397859662771225,
0.01712086796760559,
-0.0020235138945281506,
0.003345281584188342,
0.08445364981889725,
0.06367149204015732,
0.03790302202105522,
0.03961161896586418,
0.04560915380716324,
0.051048777997493744,
-0.03256800398230553,
0.02086932584643364,
-0.02505365200340748,
0.016484500840306282,
-0.03971622884273529,
-0.025105956941843033,
-0.053524505347013474,
0.006581596098840237,
0.0720401480793953,
0.004899148363620043,
0.022438447922468185,
-0.020590370520949364,
0.02390296198427677
] |
52,078 |
tussik.zpl.zplwriter
|
circle
| null |
def circle(self, left: int = 0, top: int = 0, diameter: int = 100, thick: int = 2):
diameter = int(min(max(diameter * self._config.dpmm, 3), 4095))
thick = int(min(max(thick, 2), 4095))
left = min(max(int(left * self._config.dpmm), 0), 32000)
top = min(max(int(top * self._config.dpmm), 0), 32000)
self.add(f"^FO{left},{top}{self._reverse}^GC{diameter},{thick},B^FS")
|
(self, left: int = 0, top: int = 0, diameter: int = 100, thick: int = 2)
|
[
0.034468621015548706,
-0.03832537308335304,
0.011397302150726318,
0.012815479189157486,
-0.03517771139740944,
0.006723370403051376,
-0.037979476153850555,
0.0019705311860889196,
-0.0400894470512867,
-0.041507624089717865,
0.02409171685576439,
-0.00514089222997427,
0.006074813660234213,
0.01623985730111599,
-0.0291936956346035,
-0.007488667033612728,
0.06551286578178406,
-0.007549199275672436,
0.006576364394277334,
-0.008465825580060482,
0.030404334887862206,
0.05323352664709091,
0.016283094882965088,
0.016611697152256966,
-0.036353759467601776,
0.007622702047228813,
-0.01702677272260189,
0.05143486335873604,
-0.055343497544527054,
-0.03239324316382408,
0.023348039016127586,
-0.004846879746764898,
-0.02566554769873619,
-0.003794056363403797,
0.010999520309269428,
0.04534707963466644,
0.08363786339759827,
0.07637403160333633,
-0.01298842765390873,
0.034987468272447586,
-0.017199721187353134,
0.014570905826985836,
0.08114740252494812,
-0.03535065799951553,
-0.028242480009794235,
-0.04631559178233147,
0.07070131599903107,
0.08059397339820862,
0.033102329820394516,
0.013688868843019009,
0.01600637659430504,
-0.046661488711833954,
-0.07153147459030151,
-0.04347923770546913,
-0.008266935124993324,
-0.008072367869317532,
0.022033629938960075,
0.03804865479469299,
0.03268725425004959,
0.014934097416698933,
0.06250356137752533,
0.014458488672971725,
0.045243311673402786,
-0.022535180673003197,
-0.06378338485956192,
0.035800326615571976,
0.006775254849344492,
0.02869214490056038,
0.014112591743469238,
-0.036111634224653244,
0.03624999150633812,
0.019041622057557106,
0.0030849676113575697,
0.015375115908682346,
-0.0024428965989500284,
-0.046661488711833954,
0.0426836721599102,
-0.017493734136223793,
0.027256673201918602,
-0.04811425507068634,
-0.005724593065679073,
-0.023486396297812462,
0.013334324583411217,
0.011060052551329136,
-0.00894143432378769,
0.070217065513134,
0.025752020999789238,
0.014458488672971725,
-0.007674586493521929,
-0.021964451298117638,
-0.0034632922615855932,
-0.027671748772263527,
-0.0038459408096969128,
-0.014034765772521496,
0.018557365983724594,
0.00811128132045269,
0.03159767761826515,
0.022293053567409515,
0.025077523663640022,
0.04686902463436127,
-0.0028947244863957167,
-0.027533389627933502,
-0.016888413578271866,
-0.03318880498409271,
-0.021462900564074516,
-0.03642294183373451,
-0.03216840699315071,
-0.006779578514397144,
-0.004122658167034388,
0.07367603480815887,
-0.0677957832813263,
-0.010480674915015697,
-0.011120583862066269,
0.006074813660234213,
0.0010447166860103607,
0.04427479952573776,
-0.016931651160120964,
0.009529458358883858,
-0.0034957202151417732,
-0.04002026841044426,
0.0011041676625609398,
0.011717256158590317,
-0.021791502833366394,
-0.025250472128391266,
0.03652670979499817,
0.05835280194878578,
0.035264186561107635,
0.006394768133759499,
-0.004029698669910431,
-0.0063688261434435844,
0.05129650607705116,
0.02213739976286888,
0.06025523319840431,
-0.014795738272368908,
0.025233175605535507,
0.02295025624334812,
0.00024523548199795187,
-0.06219225749373436,
0.005971044767647982,
0.027792813256382942,
-0.008768485859036446,
-0.027187494561076164,
-0.03107883408665657,
-0.0037962181959301233,
-0.024714330211281776,
0.06637760996818542,
-0.03159767761826515,
-0.11483775824308395,
0.022500591352581978,
0.0687297061085701,
0.00018335235654376447,
0.026582174003124237,
0.015271347016096115,
0.03618081286549568,
0.011674019508063793,
-0.021289952099323273,
0.04271826148033142,
-0.005123597104102373,
-0.02191256731748581,
0.053683195263147354,
-0.019318340346217155,
0.02032143995165825,
-0.02187797613441944,
0.004178866744041443,
-0.01137135922908783,
-0.019940953701734543,
-0.0256828423589468,
-0.017156485468149185,
-0.008833341300487518,
-0.006485566031187773,
-0.01840171404182911,
-0.061223745346069336,
-0.00264178728684783,
0.024748921394348145,
0.04818343371152878,
-0.009391100145876408,
-0.02812141552567482,
-0.025786612182855606,
-0.03946683183312416,
-0.0953291729092598,
0.033690355718135834,
0.009027908556163311,
0.06053195148706436,
-0.03130366653203964,
0.00553434994071722,
0.04029698669910431,
0.02781010791659355,
-0.01054985448718071,
0.019352929666638374,
-0.03507394343614578,
0.013455388136208057,
0.0476645864546299,
0.005274927243590355,
0.022621655836701393,
0.06284946203231812,
-0.008210727013647556,
0.09622851014137268,
-0.016637640073895454,
-0.05918295308947563,
0.043133340775966644,
0.02078840136528015,
0.019940953701734543,
0.013048958964645863,
-0.07291506230831146,
0.06495942920446396,
-0.0210651196539402,
-0.011016814969480038,
0.013982880860567093,
0.05101978778839111,
0.00036643448402173817,
0.004148600623011589,
0.0325143039226532,
0.014259598217904568,
0.00751460948958993,
0.04510495066642761,
-0.003759466577321291,
-0.038809627294540405,
0.029833605512976646,
-0.035298775881528854,
-0.03087129443883896,
-0.019110802561044693,
0.025907674804329872,
-0.017779098823666573,
0.00015389708278235048,
-0.01649928092956543,
0.008764161728322506,
0.030992358922958374,
0.006148316897451878,
0.02512940764427185,
-0.05371778458356857,
-0.022344937548041344,
-0.016637640073895454,
-0.057695597410202026,
0.012876010499894619,
0.020062018185853958,
-0.05606988072395325,
-0.014648732729256153,
0.01897244341671467,
-0.07941792160272598,
0.005236013792455196,
-0.0032752109691500664,
0.016084203496575356,
0.02649570070207119,
0.060947027057409286,
0.03815242275595665,
0.00546949403360486,
0.037460628896951675,
-0.027187494561076164,
0.009892649948596954,
0.03170144930481911,
-0.08384539932012558,
-0.02865755558013916,
0.0005339782801456749,
0.004085906781256199,
-0.012504171580076218,
-0.019058916717767715,
-0.06388714909553528,
-0.014519020915031433,
-0.006736341398209333,
0.0325143039226532,
0.0015673452289775014,
0.004122658167034388,
0.056346599012613297,
0.0703900158405304,
0.0746445432305336,
0.07291506230831146,
-0.019906364381313324,
-0.05101978778839111,
-0.06917937099933624,
-0.0356619656085968,
0.014752501621842384,
0.028432723134756088,
0.08329196274280548,
0.014804385602474213,
-0.014432546682655811,
0.008582565933465958,
-0.03024868108332157,
0.04628100246191025,
-0.007198978681117296,
-0.045312490314245224,
-0.031217191368341446,
-0.04953243210911751,
-0.022846488282084465,
-0.025267766788601875,
-0.08571324497461319,
-0.0029790366534143686,
0.04112713783979416,
0.0740911066532135,
-0.004911735653877258,
-0.02218928374350071,
-0.05603529140353203,
0.04590051248669624,
0.020961349830031395,
0.011803730390965939,
0.07665074616670609,
-0.01573830656707287,
0.016101500019431114,
0.04296039044857025,
-0.027671748772263527,
0.02056356891989708,
-0.0024256017059087753,
-0.014570905826985836,
0.024454908445477486,
0.01807311177253723,
0.02352098748087883,
0.034243788570165634,
0.05101978778839111,
-0.051504041999578476,
0.02701454609632492,
-0.006887671537697315,
-0.012210159562528133,
0.011821025051176548,
0.05939049273729324,
0.041784342378377914,
0.022621655836701393,
0.033655766397714615,
-0.02625357173383236,
0.008889549411833286,
0.055827755481004715,
0.004544219933450222,
0.02760257013142109,
-0.06637760996818542,
-0.042891211807727814,
0.019560467451810837,
-0.007821592502295971,
0.013636983931064606,
0.010740097612142563,
0.11760493367910385,
0.0009571614791639149,
0.04029698669910431,
-0.045277900993824005,
0.028242480009794235,
-0.0016689524054527283,
-0.018816789612174034,
-0.01999283954501152,
-0.05593152344226837,
0.029885489493608475,
-0.010843866504728794,
-0.0018008255865424871,
-0.016862472519278526,
0.038532912731170654,
-0.05973638966679573,
0.006714723072946072,
-0.007077914662659168,
-0.002125103957951069,
-0.0034243790432810783,
0.10473757237195969,
-0.060428183525800705,
0.06156964227557182,
0.005227366462349892,
0.05945967137813568,
0.03213381767272949,
0.015504826791584492,
-0.017199721187353134,
-0.01354186236858368,
0.07734254002571106,
0.00012518494622781873,
-0.014207713305950165,
-0.0015835590893402696,
-0.03325798362493515,
0.010022361762821674,
-0.01758885569870472,
-0.0031282047275453806,
0.03346552327275276,
-0.04579674452543259,
-0.0029682274907827377,
-0.035558197647333145,
0.024109011515975,
0.04565838724374771,
0.02971254102885723,
-0.005240337457507849,
-0.011985326185822487,
-0.05859493091702461,
-0.00972834974527359,
0.03808324411511421,
0.049324892461299896,
-0.05326811596751213,
-0.01259064581245184,
0.03507394343614578,
0.025475304573774338,
-0.05613906309008598,
-0.048806048929691315,
-0.010056951083242893,
0.0006955770077183843,
-0.03189169242978096,
0.00961593259125948,
-0.0031844130717217922,
0.042337775230407715,
0.02896886318922043,
-0.0059926630929112434,
0.008638774044811726,
-0.026668649166822433,
0.10114024579524994,
0.011708608828485012,
-0.029314760118722916,
-0.003830807749181986,
0.05240337550640106,
-0.012106390669941902,
-0.035592786967754364,
0.013195965439081192,
0.01272035762667656,
-0.061258334666490555,
0.01393099594861269,
-0.00984941329807043,
-0.018246060237288475,
-0.010203957557678223,
-0.023676641285419464,
0.01730349101126194,
0.010990872979164124,
-0.003945386037230492,
-0.00472581572830677,
-0.03939765319228172,
0.04427479952573776,
0.06682727485895157,
-0.0023002142552286386,
-0.06589335203170776,
-0.043133340775966644,
-0.01647333800792694,
0.013749400153756142,
-0.015409705229103565,
0.006217496003955603,
-0.08716601133346558,
-0.0076356735080480576,
0.0050155045464634895,
0.024697035551071167,
0.01554806437343359,
0.08903385698795319,
0.020494388416409492,
0.02192986197769642,
0.039293885231018066,
-0.04659230634570122,
0.03998567909002304,
-0.021964451298117638,
-0.017139188945293427,
0.0002276704035466537,
-0.008137223310768604,
0.007216273341327906,
-0.10300808399915695,
0.07118557393550873,
0.014934097416698933,
0.00918356142938137,
0.025492599233984947,
-0.00918356142938137,
-0.052265018224716187,
-0.000013216030311014038,
0.007791326846927404,
0.025250472128391266,
-0.03849831968545914,
0.06011687591671944,
0.008707953616976738,
0.035108532756567,
0.0202349666506052,
0.017199721187353134,
0.014268245548009872,
-0.02599414996802807,
-0.034987468272447586,
-0.057176750153303146,
-0.03372494503855705,
-0.03645753115415573,
0.002209416124969721,
0.026443814858794212,
-0.04967078939080238,
-0.05243796482682228,
0.018436303362250328,
-0.07623566687107086,
-0.010212604887783527,
0.022915666922926903,
0.012357165105640888,
-0.04354841634631157,
-0.035298775881528854,
-0.004187514074146748,
-0.05807608366012573,
-0.019318340346217155,
-0.060151465237140656,
0.05939049273729324,
0.030438924208283424,
0.01001371443271637,
0.0008950081537477672,
-0.016948945820331573,
-0.05354483425617218,
-0.07111639529466629,
-0.03586950525641441,
-0.03628458082675934,
-0.010558501817286015,
-0.014726558700203896,
0.050155047327280045,
-0.001025800360366702,
0.008578242734074593,
0.028553785756230354,
-0.05039717257022858,
-0.04603887349367142,
0.026945365592837334,
-0.03860209137201309,
-0.041507624089717865,
0.04814884439110756,
0.08349950611591339,
-0.053129758685827255,
-0.02865755558013916,
-0.06433681398630142,
-0.016395511105656624,
-0.030196797102689743,
-0.030629167333245277,
0.016049614176154137,
-0.052022889256477356,
-0.021999040618538857,
-0.052092067897319794,
-0.011976678855717182,
-0.03192628175020218,
-0.024472203105688095,
0.02597685530781746,
0.029366644099354744,
-0.03683801740407944,
-0.052853040397167206,
-0.013368913903832436,
0.008444206789135933,
-0.0023434513714164495,
-0.017139188945293427,
0.06364502012729645,
-0.01945669949054718,
-0.11532201617956161,
0.0019435080466791987,
-0.05022422596812248,
0.0057029747404158115,
-0.0006193715962581336,
0.01341215055435896,
0.0175542663782835,
0.01594584621489048,
-0.018816789612174034,
0.002302376087754965,
-0.018505482003092766,
0.0622614361345768,
0.009200857020914555,
-0.01841900870203972,
-0.010238546878099442,
0.030767526477575302,
-0.009858060628175735,
0.02758527547121048,
-0.013758047483861446,
0.03697637468576431,
-0.016066908836364746,
0.01978529989719391,
-0.005413285922259092,
0.05005127564072609,
0.0053138406947255135,
-0.008560947142541409,
0.02002742886543274,
0.0476645864546299,
-0.10681295394897461,
0.03977813944220543,
-0.04842556267976761,
0.06520155817270279,
0.0194912888109684,
-0.025907674804329872,
-0.04299497976899147,
0.04897899553179741,
0.06630843132734299,
0.019093507900834084,
-0.05973638966679573,
0.015461590141057968,
-0.03189169242978096,
-0.0020688956137746572,
0.01999283954501152,
0.0010809276718646288,
-0.031217191368341446,
0.010904398746788502,
-0.046903613954782486,
0.0036578592844307423,
0.03166685625910759,
0.04302956908941269,
-0.048771459609270096,
0.013628336600959301,
0.0698365792632103,
0.07125475257635117,
0.0089154914021492,
0.002181312069296837,
-0.02998925745487213,
0.02326156385242939,
0.028761323541402817,
-0.082046739757061,
-0.03780652582645416,
-0.04375595226883888,
-0.05461711436510086,
-0.06582417339086533,
-0.014588200487196445,
-0.009036555886268616,
0.028294363990426064,
-0.02132454141974449,
0.00028239237144589424,
-0.01671546697616577,
-0.031822510063648224,
0.049601610749959946,
-0.03835996240377426,
0.05492842197418213,
-0.006113727111369371,
-0.09650522470474243,
0.012002620846033096,
-0.03130366653203964,
0.03835996240377426,
0.006922260858118534,
0.05683085322380066,
-0.06464812159538269,
-0.009218151681125164,
-0.02867485024034977,
0.051815349608659744,
-0.07678910344839096,
0.04835638031363487,
0.01969882659614086,
-0.021549373865127563,
-0.07004411518573761,
-0.033621177077293396,
0.04455151781439781,
0.03467616066336632,
-0.0010263408767059445,
0.006226143799722195,
-0.02972983568906784,
-0.014527668245136738,
0.006221819669008255,
-0.0205981582403183,
0.035800326615571976,
0.03303315117955208,
-0.02592496946454048,
-0.025509893894195557,
-0.00920950435101986,
-0.029314760118722916,
-0.018989738076925278,
0.01042879093438387,
-0.00147114263381809,
-0.06049736216664314,
-0.02167043834924698,
-0.02213739976286888,
0.005378696136176586,
0.03291208669543266,
-0.06537450850009918,
-0.008081015199422836,
-0.07761925458908081,
0.005958073306828737,
-0.04296039044857025,
-0.007756737060844898,
-0.06312617659568787,
-0.009097087197005749,
0.013195965439081192,
-0.011457833461463451,
-0.07249998301267624,
0.032842908054590225,
-0.0037356861867010593,
-0.05866410955786705,
-0.026149803772568703,
-0.004310739692300558,
-0.001929455902427435,
0.027498800307512283,
-0.044240210205316544,
-0.013758047483861446,
-0.005858628079295158,
0.016412805765867233,
0.04382513463497162,
0.027792813256382942,
0.000415616697864607,
-0.008072367869317532,
0.04953243210911751,
-0.0019370224326848984,
-0.0009598638280294836,
-0.024160895496606827,
0.014700616709887981,
0.020874876528978348,
-0.04005485773086548,
-0.07104721665382385,
0.050431761890649796,
-0.028553785756230354,
-0.020217671990394592,
-0.043133340775966644,
0.024472203105688095,
-0.04347923770546913,
-0.0010652542114257812,
-0.024679740890860558,
-0.015608595684170723,
0.012063153088092804,
-0.013740752823650837,
0.07090885937213898,
0.08605913817882538,
0.03541984036564827,
0.020615452900528908,
-0.03192628175020218,
0.021756913512945175,
-0.012530113570392132,
0.056900035589933395,
0.06253815442323685,
-0.0028904005885124207,
0.012919248081743717,
-0.02165314368903637,
0.04202646762132645,
-0.0491519458591938,
-0.015055160969495773,
0.032289471477270126,
0.04973996803164482,
-0.010956283658742905,
0.00032508900039829314,
-0.028017645701766014,
-0.013636983931064606,
0.046108052134513855,
0.011838320642709732,
-0.006208848673850298,
-0.010463380254805088,
-0.025613663718104362,
0.009123030118644238,
-0.018453598022460938,
-0.01190749928355217,
0.038844216614961624,
0.016827883198857307,
0.010843866504728794,
0.04835638031363487,
0.012469582259654999,
0.031026948243379593,
0.01418177131563425,
0.01201991643756628,
-0.023901473730802536,
0.020148493349552155,
-0.0015770734753459692,
-0.01566912792623043,
-0.025060227140784264,
-0.00460475217550993,
-0.03389789164066315,
0.028328953310847282,
0.0631953552365303,
-0.007523256819695234,
0.024973753839731216,
0.007592436391860247,
-0.0014830328291282058,
0.011181116104125977,
-0.06772660464048386,
-0.029280168935656548,
0.004838232416659594,
0.06952527165412903,
-0.022275758907198906,
0.01486491784453392,
-0.028432723134756088,
-0.006109403446316719,
0.0003761628468055278,
-0.047214921563863754,
-0.04033157601952553,
0.0006885509355925024,
-0.059044595807790756,
-0.015383763238787651,
-0.021808797493577003,
-0.03538525104522705,
-0.011864262633025646,
0.01391370128840208,
0.004635017830878496,
-0.009036555886268616,
0.026928070932626724,
0.024714330211281776,
0.05088143050670624,
0.05887164548039436,
0.01623985730111599,
0.015392410568892956,
0.021030530333518982,
-0.01296248473227024,
0.002181312069296837,
0.01947399415075779,
0.009589990600943565,
-0.02158396504819393,
-0.0021650982089340687,
-0.035056646913290024,
0.009417042136192322,
0.0530259907245636,
0.006844434421509504,
0.03614622354507446,
-0.015522121451795101,
0.011172468774020672
] |
52,079 |
tussik.zpl.zplwriter
|
clear
| null |
def clear(self):
self._stream: List[str] = []
|
(self)
|
[
-0.026870019733905792,
0.05226033926010132,
-0.06204654276371002,
-0.04684597998857498,
-0.033545490354299545,
0.02999757044017315,
-0.04829205200076103,
0.03574822470545769,
0.07775154709815979,
0.016966113820672035,
-0.048964641988277435,
-0.032587047666311264,
-0.028232017531991005,
0.04338213428854942,
-0.006192043423652649,
0.052764784544706345,
-0.01195530965924263,
-0.014813822694122791,
-0.00680998619645834,
0.012997825630009174,
-0.029896680265665054,
0.012283197604119778,
0.015856338664889336,
0.0453326515853405,
-0.03435259684920311,
0.021573364734649658,
0.026298318058252335,
-0.036723483353853226,
0.007696966174989939,
-0.0010482965735718608,
-0.03124186396598816,
-0.016066523268818855,
0.0019599730148911476,
-0.011139792390167713,
0.015452783554792404,
0.02604609541594982,
-0.01254382636398077,
-0.010181349702179432,
0.00004584655107464641,
0.04341576620936394,
0.04856108874082565,
0.04546716809272766,
-0.0181095190346241,
-0.029039127752184868,
-0.010904385708272457,
0.038808513432741165,
0.03726155683398247,
0.056026849895715714,
0.035546448081731796,
-0.03655533492565155,
0.002967808861285448,
0.1251019686460495,
-0.04603886976838112,
0.03174630552530289,
-0.011257495731115341,
-0.03026660531759262,
0.04708138853311539,
-0.0020125191658735275,
0.018967073410749435,
0.044323764741420746,
-0.019639665260910988,
-0.010214979760348797,
0.009105203673243523,
-0.07263985276222229,
0.05592596158385277,
0.0042814635671675205,
0.01644485630095005,
0.03381452336907387,
0.06097039580345154,
0.024549581110477448,
-0.020329071208834648,
-0.004754379391670227,
-0.053874559700489044,
0.026365576311945915,
-0.01837855577468872,
-0.024835431948304176,
-0.010391535237431526,
0.0760028138756752,
-0.031897641718387604,
-0.10929607599973679,
0.06974771618843079,
0.10761459916830063,
-0.01926974020898342,
0.0715637058019638,
0.0380014069378376,
-0.0058977846056222916,
0.06379528343677521,
0.024684099480509758,
-0.06981497257947922,
0.021657438948750496,
0.03951473534107208,
0.04617339000105858,
-0.02079988457262516,
-0.038102295249700546,
0.05501796305179596,
-0.03420126438140869,
-0.07297614961862564,
-0.02784527838230133,
-0.012459753081202507,
-0.023725656792521477,
-0.03457118943333626,
0.03450392931699753,
0.00588937709107995,
-0.012653122656047344,
-0.05148686096072197,
-0.0031359565909951925,
0.05084789916872978,
-0.05501796305179596,
0.022145066410303116,
0.08313228189945221,
0.011677865870296955,
0.03524378314614296,
0.0106101268902421,
0.012039382942020893,
0.039783772081136703,
0.026870019733905792,
-0.03642081469297409,
-0.008398983627557755,
0.02150610461831093,
-0.00316958618350327,
0.02246454730629921,
0.03537829965353012,
-0.056363146752119064,
-0.012770825996994972,
0.03830407187342644,
0.04893101379275322,
-0.0058389329351484776,
-0.002700874349102378,
0.08057643473148346,
-0.004649287089705467,
-0.028147943317890167,
0.03273838013410568,
0.0032221325673162937,
0.019034331664443016,
0.0017487372970208526,
-0.020614922046661377,
0.013939453288912773,
-0.05404270812869072,
-0.005733840633183718,
-0.02037951536476612,
-0.04852745682001114,
0.006120580248534679,
0.03985103219747543,
0.01636919006705284,
0.020228181034326553,
0.023439805954694748,
0.0351092629134655,
-0.022380473092198372,
-0.07163096964359283,
-0.014906303957104683,
-0.047787606716156006,
-0.0007230355986393988,
-0.04119621589779854,
-0.018832555040717125,
-0.01092120073735714,
0.042743172496557236,
-0.04092717915773392,
0.03642081469297409,
-0.03201534226536751,
-0.026785947382450104,
-0.02915683016180992,
-0.0036298909690231085,
-0.012005753815174103,
-0.020194552838802338,
-0.012257975526154041,
-0.01506604440510273,
0.03208260238170624,
-0.011358384974300861,
-0.02480180189013481,
0.01948833093047142,
-0.03786688670516014,
-0.0011202847817912698,
-0.004260445013642311,
-0.0015543163754045963,
0.03359593451023102,
0.06224831938743591,
-0.024684099480509758,
0.048830125480890274,
0.027054982259869576,
-0.026701873168349266,
-0.06218105927109718,
-0.04872923716902733,
-0.03135956823825836,
-0.00043876070412807167,
0.03890940546989441,
0.008453630842268467,
-0.008659612387418747,
-0.013325714506208897,
-0.013535899110138416,
-0.013123936951160431,
-0.03075423464179039,
0.0031128362752497196,
-0.008735278621315956,
-0.009945943020284176,
0.03736244514584541,
-0.027122242376208305,
-0.010517645627260208,
-0.018630778416991234,
-0.033562302589416504,
-0.05834729224443436,
-0.038741257041692734,
0.021657438948750496,
0.0380014069378376,
-0.07149644941091537,
-0.014939933083951473,
0.044054728001356125,
-0.006103765685111284,
-0.017436929047107697,
-0.051587749272584915,
0.0737832635641098,
0.012005753815174103,
0.016907261684536934,
0.03833770006895065,
-0.06870519369840622,
0.03225075080990791,
-0.08367034792900085,
-0.039985548704862595,
-0.02723994478583336,
0.012283197604119778,
0.014822229743003845,
0.04318035766482353,
-0.022430917248129845,
-0.05353826284408569,
-0.037429701536893845,
-0.04351665452122688,
0.041297104209661484,
-0.01658778078854084,
-0.03484022617340088,
-0.01782366819679737,
-0.04173428565263748,
0.0442228764295578,
-0.0006494709523394704,
-0.0063475798815488815,
0.01057649776339531,
-0.003520594909787178,
0.024162840098142624,
-0.03558007627725601,
0.003360854461789131,
-0.0739850401878357,
-0.04344939440488815,
-0.02495313622057438,
-0.05232759937644005,
0.0011055718641728163,
0.023675212636590004,
-0.02424691431224346,
0.06618297845125198,
0.0015658765332773328,
0.04728316515684128,
0.022582251578569412,
-0.0036572148092091084,
0.050141677260398865,
-0.03759784996509552,
-0.001496515586040914,
-0.0724380761384964,
0.051385972648859024,
-0.06419883668422699,
-0.0599951408803463,
-0.06419883668422699,
-0.005998673383146524,
-0.03204897418618202,
0.007213541306555271,
0.0018496259581297636,
0.02197691984474659,
0.06473691016435623,
0.0544462613761425,
0.061340320855379105,
-0.007936576381325722,
0.028080685064196587,
-0.01970692351460457,
0.015225784853100777,
0.0464424267411232,
-0.05162137746810913,
-0.012291604653000832,
-0.03359593451023102,
-0.00509487884119153,
0.03995192050933838,
0.005519452039152384,
0.004481139127165079,
-0.008495667949318886,
0.05030982568860054,
0.04048999398946762,
0.007213541306555271,
0.050545234233140945,
-0.013830157928168774,
0.04805664345622063,
0.028450610116124153,
0.023389359936118126,
-0.030703790485858917,
-0.02792935073375702,
-0.025676170364022255,
0.024162840098142624,
0.0215565487742424,
-0.024499136954545975,
-0.0096096470952034,
0.055051594972610474,
-0.0005396493943408132,
-0.011207051575183868,
0.007263985462486744,
0.012056197971105576,
0.005384933669120073,
-0.04832568019628525,
-0.038606736809015274,
-0.016697077080607414,
0.013939453288912773,
-0.03267112001776695,
-0.03870762512087822,
-0.04072539880871773,
0.010988459922373295,
0.051184192299842834,
-0.02364158257842064,
0.021186623722314835,
0.031208233907818794,
-0.030115272849798203,
-0.010080461390316486,
0.05962521582841873,
0.04748494178056717,
-0.0026630409993231297,
0.05098241567611694,
-0.019942330196499825,
0.0868987888097763,
-0.03480659797787666,
-0.05141960084438324,
0.01182079128921032,
-0.015293043106794357,
-0.032368455082178116,
-0.018227223306894302,
-0.011669457890093327,
0.03870762512087822,
0.002356171142309904,
0.002410819288343191,
0.009113611653447151,
-0.04099443554878235,
-0.03273838013410568,
-0.0015007192268967628,
-0.0011864929692819715,
-0.010181349702179432,
-0.01913522183895111,
-0.018092704936861992,
0.03312511742115021,
-0.04671146348118782,
-0.04539990797638893,
0.002259486122056842,
0.031477268785238266,
0.01714267022907734,
-0.003983001224696636,
0.023675212636590004,
0.021186623722314835,
-0.025877948850393295,
0.044256504625082016,
-0.03135956823825836,
0.08750411868095398,
0.010063646361231804,
0.04496272653341293,
0.030703790485858917,
0.09927447140216827,
-0.007860910147428513,
-0.009870276786386967,
0.08871478587388992,
0.01254382636398077,
0.0056707849726080894,
0.02737446315586567,
0.036588963121175766,
-0.027525797486305237,
-0.025138098746538162,
0.03675711154937744,
-0.016755929216742516,
0.011417236179113388,
0.00633917236700654,
0.0052209896966814995,
0.020194552838802338,
-0.052697524428367615,
-0.06766267865896225,
-0.06779719889163971,
-0.05881810560822487,
-0.01908477582037449,
0.02275039814412594,
-0.003959881141781807,
0.03719429671764374,
0.0048973048105835915,
0.0201104786247015,
0.00028952950378879905,
0.018025444820523262,
0.030048014596104622,
0.009584425017237663,
-0.02930816449224949,
0.026029281318187714,
-0.07257259637117386,
-0.0030182532500475645,
0.014343008399009705,
0.06120580434799194,
0.025659356266260147,
-0.03484022617340088,
-0.018563518300652504,
-0.04186880588531494,
0.022632695734500885,
0.040220957249403,
0.017773224040865898,
0.009769387543201447,
-0.019118405878543854,
-0.00014410793664865196,
0.01866440661251545,
0.012745603919029236,
-0.032940156757831573,
0.05834729224443436,
-0.02426372841000557,
-0.0020587597973644733,
0.009718943387269974,
-0.04748494178056717,
0.012342049740254879,
-0.03270474821329117,
0.10808541625738144,
-0.05717025697231293,
0.05367278307676315,
-0.023876989260315895,
0.05757381021976471,
0.011030496098101139,
-0.0019452599808573723,
-0.029678089544177055,
0.090665303170681,
0.06157572939991951,
-0.031006457284092903,
0.05797736719250679,
-0.008453630842268467,
0.06006239727139473,
0.014729748480021954,
0.0038442793302237988,
-0.012274790555238724,
-0.023927433416247368,
-0.005939821247011423,
-0.006213061511516571,
0.0057842847891151905,
-0.018126334995031357,
-0.04304584115743637,
-0.005128508433699608,
-0.04304584115743637,
0.03847222030162811,
-0.016066523268818855,
-0.026970909908413887,
-0.035344671458005905,
0.04207058250904083,
0.0035899558570235968,
0.0031359565909951925,
0.03329326584935188,
0.01420008298009634,
0.04849382862448692,
0.02397787757217884,
-0.030165717005729675,
0.04704775661230087,
0.01251019723713398,
0.004872082732617855,
-0.04859471693634987,
-0.023338915780186653,
-0.021035291254520416,
-0.046408794820308685,
0.003316715592518449,
-0.005099082365632057,
0.04677871987223625,
0.029392236843705177,
-0.053874559700489044,
-0.050545234233140945,
0.007898743264377117,
0.044895466417074203,
-0.025877948850393295,
-0.02868601679801941,
-0.017874112352728844,
0.018698036670684814,
-0.002128120744600892,
0.00783989205956459,
-0.021321142092347145,
0.015293043106794357,
0.011324754916131496,
-0.021606994792819023,
-0.0286692027002573,
-0.05350463464856148,
-0.026096539571881294,
-0.007667540106922388,
0.029493127018213272,
0.025323061272501945,
0.009138833731412888,
0.012964196503162384,
-0.05081426724791527,
-0.05098241567611694,
-0.040120068937540054,
0.006036506500095129,
-0.03917843848466873,
-0.004497954156249762,
0.028803721070289612,
-0.060096029192209244,
0.03156134486198425,
-0.0027513185050338507,
-0.0015595710137858987,
-0.02066536620259285,
-0.08272872120141983,
-0.056632183492183685,
0.02653372474014759,
-0.00411331607028842,
-0.003211623290553689,
-0.014822229743003845,
-0.04368480294942856,
-0.037227924913167953,
-0.01018975768238306,
-0.02377610094845295,
-0.07136192917823792,
0.0007267137989401817,
0.05232759937644005,
-0.02293536253273487,
0.03135956823825836,
-0.03371363505721092,
-0.04832568019628525,
-0.030115272849798203,
-0.021337958052754402,
0.01846262998878956,
-0.02964445948600769,
-0.004628268536180258,
-0.010324276052415371,
-0.014662489295005798,
-0.035210151225328445,
0.0045063612051308155,
-0.019656479358673096,
0.011803976260125637,
-0.0344366729259491,
0.07216904312372208,
-0.080441914498806,
0.030232977122068405,
-0.046274278312921524,
-0.026785947382450104,
-0.05854906886816025,
-0.024768173694610596,
0.012745603919029236,
0.00694450456649065,
0.0442228764295578,
-0.026987724006175995,
-0.015082858502864838,
-0.03342778608202934,
0.05306744948029518,
0.026214243844151497,
0.026718687266111374,
-0.0868987888097763,
-0.007331244647502899,
0.009735758416354656,
-0.029123201966285706,
-0.01906796172261238,
0.0107782743871212,
-0.041297104209661484,
-0.051520489156246185,
0.03739607334136963,
0.02293536253273487,
0.010660571046173573,
0.043718431144952774,
0.03198171406984329,
-0.034251708537340164,
-0.057809218764305115,
-0.011938494630157948,
-0.031208233907818794,
0.0026378189213573933,
-0.04637516662478447,
0.01742011308670044,
-0.02266632579267025,
0.02328847162425518,
-0.008087909780442715,
0.003959881141781807,
0.027408093214035034,
-0.062012914568185806,
0.03682437166571617,
0.04805664345622063,
0.02570980042219162,
-0.014914711005985737,
0.003699251916259527,
0.037564221769571304,
-0.00015487990458495915,
0.006183635909110308,
-0.02026181109249592,
0.03712703660130501,
-0.013325714506208897,
0.049233678728342056,
-0.013897417113184929,
0.02177514135837555,
0.04082628712058067,
0.007995428517460823,
-0.028719646856188774,
0.01527622900903225,
-0.002866920316591859,
-0.03117460384964943,
-0.09375922381877899,
0.01790774241089821,
-0.031477268785238266,
0.013292084448039532,
-0.048258423805236816,
-0.033209193497896194,
0.0018075889674946666,
0.018714850768446922,
0.02101847715675831,
0.044323764741420746,
-0.018899813294410706,
-0.04213784262537956,
-0.003919946029782295,
0.08864752948284149,
-0.027761204168200493,
-0.07694444060325623,
0.0626518726348877,
0.013922639191150665,
0.03581548482179642,
-0.02224595472216606,
0.02508765272796154,
0.01728559471666813,
-0.013208010233938694,
-0.03213304653763771,
0.04291132092475891,
0.04126347228884697,
0.06914237886667252,
-0.016125375404953957,
0.00443910202011466,
0.021859215572476387,
0.025592096149921417,
0.013241640292108059,
-0.010181349702179432,
0.03995192050933838,
-0.016411226242780685,
-0.009483536705374718,
0.03635355830192566,
0.0395483672618866,
-0.011770347133278847,
-0.03964925557374954,
0.0023057269863784313,
-0.047518569976091385,
0.013325714506208897,
-0.06181113421916962,
0.02680276148021221,
-0.03484022617340088,
0.003716066712513566,
0.014696118421852589,
-0.06588031351566315,
-0.023187583312392235,
0.059389807283878326,
-0.01804226078093052,
0.03420126438140869,
-0.048762865364551544,
-0.0005622442695312202,
0.040321845561265945,
-0.010030017234385014,
0.05357189476490021,
-0.03075423464179039,
0.028450610116124153,
-0.06241646781563759,
-0.07391777634620667,
-0.033276453614234924,
0.010349498130381107,
-0.016755929216742516,
-0.031679049134254456,
-0.034167636185884476,
-0.022548621520400047,
0.04062451049685478,
0.038606736809015274,
0.015587301924824715,
0.009340611286461353,
0.004260445013642311,
0.017336038872599602,
0.015646154060959816,
0.009794609621167183,
-0.02411239594221115,
-0.014670896343886852,
0.0037475943099707365,
0.06211380288004875,
0.0158899687230587,
0.0072429669089615345,
-0.020362699404358864,
0.00435502827167511,
0.10499149560928345,
-0.026567354798316956,
0.00974416546523571,
-0.024146026000380516,
0.019168850034475327,
0.002291013952344656,
-0.03699252009391785,
-0.027105428278446198,
0.02370884083211422,
0.02813112922012806,
-0.0012369373580440879,
0.027458537369966507,
0.03823681175708771,
-0.06702371686697006,
0.02708861231803894,
-0.015208969824016094,
-0.08212339133024216,
0.0038968254812061787,
0.06581305712461472,
-0.06900785863399506,
-0.02342298999428749,
0.006301339250057936,
-0.0391111820936203,
0.011139792390167713,
-0.025743430480360985,
0.03174630552530289,
-0.006204654462635517,
-0.0215565487742424,
0.06419883668422699,
-0.00028585127438418567,
-0.07876043766736984,
0.0007451049750670791,
-0.01644485630095005,
0.027105428278446198,
0.02384335920214653,
-0.011249088682234287,
-0.014183267951011658,
0.03090556710958481,
0.003810649737715721,
-0.009794609621167183,
0.04099443554878235,
-0.04213784262537956,
0.052832040935754776,
0.04442465305328369,
0.07627184689044952,
-0.0673263818025589,
0.028164759278297424,
0.030636532232165337,
0.015587301924824715,
0.026079725474119186,
-0.016915669664740562,
0.0022111437283456326,
0.03460482135415077,
0.0368916317820549,
0.04846020042896271,
0.010904385708272457,
0.058784473687410355,
0.04368480294942856,
0.016083337366580963,
-0.07627184689044952,
0.0076255034655332565,
-0.022010548040270805,
0.0066754682920873165,
-0.02604609541594982,
0.0014366129180416465,
-0.015124895609915257,
0.01984144188463688,
0.0042226118966937065,
-0.015948820859193802,
0.04348302260041237,
0.018983887508511543,
0.04042273387312889,
-0.0204467736184597,
-0.06672105193138123,
-0.0533364862203598,
0.01602448709309101,
0.02535668946802616,
-0.027559425681829453,
-0.0717654898762703,
0.07425407320261002,
0.010988459922373295,
-0.028938239440321922,
0.03144364058971405,
0.0017666029743850231,
-0.031275492161512375,
-0.03235163912177086,
0.06894060224294662,
-0.003550020745024085,
-0.007650725543498993,
-0.04842656850814819,
-0.001881153672002256,
-0.025440763682127,
0.028232017531991005,
-0.029392236843705177,
0.0019988571293652058,
0.03736244514584541,
0.0413307324051857,
0.017386483028531075,
0.04395383968949318,
0.010568089783191681,
-0.00818459503352642
] |
52,080 |
tussik.zpl.zplwriter
|
coordinates
| null |
def coordinates(self, left: int, top: int) -> (int, int):
left = min(max(int(left * self._config.dpmm), 0), 32000)
top = min(max(int(top * self._config.dpmm), 0), 32000)
return left, top
|
(self, left: int, top: int) -> (<class 'int'>, <class 'int'>)
|
[
-0.005400465801358223,
0.005352090112864971,
0.0039887805469334126,
0.012815111316740513,
-0.001728324918076396,
0.01626296527683735,
0.005664332304149866,
-0.014987612143158913,
-0.04035396873950958,
-0.01618380658328533,
0.0037534995935857296,
-0.01607825979590416,
-0.009886194951832294,
0.026544960215687752,
0.007295906078070402,
0.021601863205432892,
0.032965708523988724,
-0.05847279354929924,
-0.022164776921272278,
-0.023079514503479004,
-0.003691930789500475,
-0.014468674547970295,
0.035270143300294876,
-0.01749434322118759,
-0.024680303409695625,
-0.009578350000083447,
0.04102243110537529,
-0.016931427642703056,
0.030696459114551544,
-0.02167222648859024,
-0.04826996102929115,
0.03863004222512245,
0.03430263325572014,
-0.031294554471969604,
-0.04443510249257088,
0.003720516338944435,
0.04425919055938721,
0.056467410176992416,
-0.07050510495901108,
0.007045233156532049,
-0.06892190128564835,
-0.06973109394311905,
0.044927652925252914,
0.0333351232111454,
-0.012498471885919571,
-0.053688015788793564,
-0.015744028612971306,
-0.10329490154981613,
0.001604087883606553,
0.02489139698445797,
0.04323890805244446,
-0.05667850375175476,
-0.01426637638360262,
0.0035248154308646917,
-0.026105182245373726,
0.028866983950138092,
0.03437299653887749,
0.07711935043334961,
0.0037776874378323555,
0.005035450682044029,
0.024029433727264404,
0.06241320073604584,
0.01535702496767044,
-0.023026742041110992,
0.0036149697843939066,
-0.02696714550256729,
-0.017872551456093788,
0.001672253361903131,
-0.037539392709732056,
0.07458623498678207,
0.0021714007016271353,
-0.0015700050862506032,
0.011636508628726006,
-0.012991022318601608,
0.05495457723736763,
0.004303221125155687,
0.03704684227705002,
0.0619206503033638,
0.06163919344544411,
0.0028343650046736,
-0.04095206409692764,
0.013052591122686863,
0.06392603367567062,
0.05952826142311096,
0.05192890763282776,
0.05298437550663948,
0.04489247128367424,
0.06853490322828293,
0.012129059061408043,
0.002827768214046955,
-0.0024209741968661547,
0.018470648676156998,
-0.041761256754398346,
0.014178421348333359,
-0.03280739113688469,
-0.005470830015838146,
0.0017305237706750631,
0.028268886730074883,
-0.011574939824640751,
-0.007014448754489422,
-0.021267632022500038,
0.0290604867041111,
-0.04573684185743332,
-0.04225380718708038,
0.01318452414125204,
-0.012735951691865921,
0.012577631510794163,
-0.005176179111003876,
-0.01488206535577774,
0.0344257690012455,
-0.032297246158123016,
-0.009024230763316154,
-0.036237653344869614,
0.07212348282337189,
0.010290789417922497,
-0.017775800079107285,
-0.011407824233174324,
-0.01880487985908985,
-0.02411738969385624,
0.03398599103093147,
-0.047601498663425446,
0.036800567060709,
-0.013712257146835327,
0.00022868422092869878,
-0.03352862596511841,
0.034689635038375854,
0.07124392688274384,
0.0026540562976151705,
-0.037363480776548386,
-0.07068101316690445,
0.07254566997289658,
-0.06251874566078186,
0.024486802518367767,
0.055587854236364365,
-0.03125937283039093,
-0.0005164635367691517,
0.06431303918361664,
0.002706829458475113,
0.0022626544814556837,
-0.0304853655397892,
-0.012850293889641762,
0.09140332043170929,
0.06121700629591942,
0.028356842696666718,
-0.040881700813770294,
0.033616580069065094,
-0.005967778619378805,
0.013721052557229996,
0.06047818064689636,
0.03715239092707634,
0.015374615788459778,
-0.04017805680632591,
-0.02292119525372982,
-0.006974868476390839,
-0.045455384999513626,
-0.06146328151226044,
0.07951173931360245,
-0.04798850417137146,
0.05178818106651306,
0.014952429570257664,
-0.01253365445882082,
-0.0003947001532651484,
0.02399425208568573,
-0.03602655977010727,
0.030344637110829353,
0.009235324338078499,
-0.01757350191473961,
-0.004556093364953995,
0.021513907238841057,
-0.039263319224119186,
0.012093876488506794,
-0.0022736487444490194,
-0.01947334036231041,
-0.004617662169039249,
-0.027846701443195343,
-0.07901918888092041,
-0.02714305743575096,
-0.0062756226398050785,
-0.002291240030899644,
0.020493624731898308,
0.04348518326878548,
-0.01726565882563591,
0.0443999208509922,
-0.02696714550256729,
0.01755591109395027,
0.05372320115566254,
0.047003403306007385,
0.005167383700609207,
-0.010528269223868847,
-0.013923350721597672,
-0.02119726687669754,
0.010167651809751987,
-0.02297396771609783,
0.0037271128967404366,
0.003340108785778284,
0.08253741264343262,
0.02876143716275692,
0.02221755124628544,
-0.004556093364953995,
0.013122955337166786,
-0.010739362798631191,
-0.004749595187604427,
0.011856396682560444,
0.021777773275971413,
0.03782084956765175,
0.01620139740407467,
-0.03268425166606903,
-0.012577631510794163,
0.005809458438307047,
0.026351457461714745,
0.02329060807824135,
-0.01702817901968956,
-0.048973605036735535,
-0.029517855495214462,
0.034091539680957794,
0.02853275276720524,
-0.01834751106798649,
0.031822286546230316,
0.012577631510794163,
-0.007520192302763462,
0.11870469897985458,
-0.03145287558436394,
0.026580141857266426,
-0.017406387254595757,
0.047953322529792786,
0.014239990152418613,
0.0077620698139071465,
-0.04770704731345177,
-0.03141769394278526,
0.021461134776473045,
0.07845627516508102,
-0.03792639821767807,
-0.08084866404533386,
0.01685226708650589,
0.039931781589984894,
-0.023853523656725883,
-0.027793927118182182,
-0.07803408801555634,
-0.06529814004898071,
-0.024750668555498123,
-0.05601004138588905,
0.061779920011758804,
0.04376664012670517,
0.035868238657712936,
0.0188752431422472,
-0.02881421148777008,
-0.023026742041110992,
-0.003203777829185128,
-0.009446416981518269,
0.02512008138000965,
-0.0275652427226305,
0.027371741831302643,
0.030151134356856346,
0.013386822305619717,
0.012419312261044979,
0.008122687228024006,
-0.04383700340986252,
0.01656201481819153,
0.004045951645821333,
0.019614068791270256,
0.023888705298304558,
-0.027107875794172287,
0.010290789417922497,
-0.014204807579517365,
0.08007466048002243,
0.022604554891586304,
-0.01607825979590416,
0.03078441321849823,
-0.0793006494641304,
0.01672912947833538,
0.07036437094211578,
0.02072230726480484,
-0.006060131825506687,
0.008113891817629337,
0.024733077734708786,
-0.03312402963638306,
-0.014451083727180958,
-0.01880487985908985,
0.005343294702470303,
-0.016509240493178368,
0.023888705298304558,
-0.0016161816893145442,
-0.0873221904039383,
-0.008465713821351528,
0.03389803692698479,
-0.02643941342830658,
0.06515741348266602,
-0.03905222937464714,
0.01708974689245224,
-0.01416962593793869,
-0.02554226852953434,
0.005571979098021984,
-0.03198060765862465,
-0.02988726831972599,
0.04851623624563217,
0.026650507003068924,
0.0022626544814556837,
0.03220929205417633,
-0.008241427130997181,
0.03859486058354378,
-0.006856128573417664,
-0.028779029846191406,
-0.012014716863632202,
0.015629686415195465,
0.06072445586323738,
0.08035611361265182,
0.010976842604577541,
-0.022358279675245285,
0.04067060723900795,
-0.037011660635471344,
-0.03377490118145943,
-0.018892833963036537,
0.04471655935049057,
-0.046229392290115356,
0.0001085013136616908,
0.009138572961091995,
-0.008566862903535366,
0.03982623666524887,
-0.007586159277707338,
0.028796620666980743,
0.040283605456352234,
-0.005549990106374025,
0.03940404951572418,
0.052491821348667145,
0.044751740992069244,
0.05400465801358223,
-0.05636186525225639,
-0.0021230250131338835,
0.07761190831661224,
-0.002333018695935607,
-0.05583412945270538,
0.012322560884058475,
-0.03025668114423752,
0.015313046984374523,
0.06403157860040665,
-0.025700587779283524,
0.00200978247448802,
0.09048858284950256,
0.057839516550302505,
-0.030872369185090065,
0.023061923682689667,
-0.05470830202102661,
-0.02596445381641388,
0.02279805764555931,
0.04735522344708443,
-0.004116315860301256,
0.0289901215583086,
0.027758745476603508,
-0.006284418050199747,
0.002845359267666936,
-0.03567473590373993,
0.00932327937334776,
-0.012137854471802711,
-0.04334445297718048,
0.026844007894396782,
0.07838591188192368,
-0.00453850207850337,
-0.06385567039251328,
0.04921988025307655,
0.029623402282595634,
0.025630222633481026,
-0.05720623582601547,
-0.03321198374032974,
-0.022411054000258446,
-0.060583725571632385,
0.014248785562813282,
-0.04366109520196915,
-0.0014963423600420356,
0.013210911303758621,
0.018558602780103683,
-0.012964636087417603,
-0.03220929205417633,
-0.06691651791334152,
0.027477288618683815,
0.043977733701467514,
0.07191239297389984,
-0.04084651917219162,
0.04376664012670517,
-0.06290575116872787,
-0.040881700813770294,
-0.01158373523503542,
-0.046405304223299026,
0.03613210469484329,
-0.0023198253475129604,
0.03145287558436394,
0.0270902831107378,
0.005220157094299793,
-0.005752287805080414,
-0.046721942722797394,
0.015313046984374523,
-0.027934657409787178,
0.004056945908814669,
-0.0037029252853244543,
-0.036167290061712265,
0.039861418306827545,
0.0022626544814556837,
0.04517392814159393,
0.01964925229549408,
0.02269251085817814,
-0.0475311353802681,
0.0038172672502696514,
-0.053688015788793564,
-0.015154726803302765,
0.012568836100399494,
0.008505294099450111,
-0.011891579255461693,
-0.003247755579650402,
0.024398846551775932,
0.013501164503395557,
-0.03025668114423752,
-0.05045125633478165,
-0.02309710532426834,
0.09041821956634521,
0.007229939568787813,
-0.028673483058810234,
-0.0198955275118351,
-0.05699514225125313,
0.07180684059858322,
0.01051067840307951,
-0.042851902544498444,
-0.013870577327907085,
-0.08725182712078094,
-0.019068745896220207,
-0.043379638344049454,
-0.001073056715540588,
-0.016447672620415688,
-0.04133906960487366,
-0.017045769840478897,
0.0038612450007349253,
0.05875425413250923,
-0.01791652850806713,
-0.010308381170034409,
0.006513102445751429,
-0.016649970784783363,
-0.015313046984374523,
-0.010528269223868847,
0.03168155997991562,
-0.0072871106676757336,
0.036800567060709,
0.009103391319513321,
0.03525255247950554,
0.03887631744146347,
0.05006425082683563,
0.020212166011333466,
-0.03799676150083542,
-0.038313400000333786,
-0.044329553842544556,
-0.03273702412843704,
0.014011305756866932,
-0.005576376803219318,
0.010123674757778645,
0.01696660928428173,
0.0464404858648777,
-0.05681923031806946,
0.03321198374032974,
-0.08077830076217651,
-0.15198704600334167,
-0.048903241753578186,
-0.020775081589818,
0.028251295909285545,
0.027477288618683815,
-0.017168907448649406,
-0.07592315971851349,
0.005958982743322849,
-0.019385384395718575,
-0.0619206503033638,
-0.024662712588906288,
-0.04443510249257088,
-0.04489247128367424,
0.011988330632448196,
0.0005126154865138233,
-0.03746902942657471,
-0.02948267199099064,
-0.036765385419130325,
0.012691973708570004,
0.0019866940565407276,
0.033845264464616776,
0.012348948046565056,
0.016764312982559204,
-0.034619271755218506,
-0.049993887543678284,
-0.06054854393005371,
0.01620139740407467,
0.00579186761751771,
0.002640862949192524,
0.02751247026026249,
-0.07733044773340225,
-0.017292045056819916,
-0.05449720844626427,
-0.026404231786727905,
-0.01300861407071352,
-0.007691705599427223,
-0.01715131662786007,
-0.06835898756980896,
-0.04693303629755974,
-0.016447672620415688,
0.02441643737256527,
-0.03424986079335213,
-0.0775415375828743,
-0.010449109598994255,
0.0037996761966496706,
-0.006781366653740406,
0.09611773490905762,
-0.006886912975460291,
0.028145749121904373,
-0.011856396682560444,
0.017890142276883125,
-0.019262246787548065,
-0.028866983950138092,
0.03838376700878143,
-0.027653198689222336,
-0.07173647731542587,
0.0000981253178906627,
-0.02781151793897152,
-0.023378564044833183,
-0.008958264254033566,
-0.018980789929628372,
0.03922813758254051,
0.0007201354019343853,
-0.023730386048555374,
-0.01685226708650589,
-0.004459341987967491,
0.0541805662214756,
0.019490931183099747,
-0.010888886637985706,
0.06547404825687408,
0.007018846459686756,
-0.02452198415994644,
-0.0068649244494736195,
-0.012841498479247093,
0.0030696457251906395,
0.0028013817500323057,
-0.0021054339595139027,
-0.00453850207850337,
0.020388077944517136,
0.024029433727264404,
0.024504393339157104,
-0.03345825895667076,
0.01566486805677414,
0.026052409783005714,
0.04812923073768616,
-0.023202652111649513,
0.0030586514621973038,
0.040283605456352234,
0.012401720508933067,
0.00513659929856658,
-0.030397409573197365,
0.04112797603011131,
0.0008553669322282076,
-0.036167290061712265,
0.07676753401756287,
-0.04038915038108826,
0.03820785507559776,
-0.036589473485946655,
0.021953685209155083,
0.035815466195344925,
-0.029728947207331657,
-0.00766531890258193,
0.016289353370666504,
0.007524590473622084,
-0.01577921025454998,
-0.002640862949192524,
-0.02988726831972599,
0.009103391319513321,
-0.0906996801495552,
-0.041233524680137634,
-0.055341579020023346,
-0.04964206740260124,
-0.021654635667800903,
-0.002942110411822796,
-0.011662894859910011,
0.044681377708911896,
0.001834970898926258,
-0.041937168687582016,
-0.025507085025310516,
-0.06909781694412231,
-0.011530961841344833,
-0.038489311933517456,
-0.04014287516474724,
0.007616943679749966,
0.01264799665659666,
0.013386822305619717,
-0.012419312261044979,
-0.017124930396676064,
-0.017547115683555603,
0.08584453910589218,
-0.02774115465581417,
-0.011504575610160828,
0.044153645634651184,
-0.02816333994269371,
0.044153645634651184,
0.014116852544248104,
0.04172607511281967,
0.018365101888775826,
-0.019737206399440765,
0.0065526822581887245,
-0.013254889287054539,
-0.0038260628934949636,
0.0027288184501230717,
-0.04207789525389671,
-0.01797809824347496,
0.017186498269438744,
-0.004753992892801762,
-0.016465263441205025,
0.012252196669578552,
-0.07117356359958649,
0.016025485470891,
-0.020528806373476982,
-0.06994219124317169,
0.00668461574241519,
0.06941445171833038,
-0.07018846273422241,
0.009525577537715435,
-0.025753360241651535,
-0.024275708943605423,
0.005563183221966028,
0.006398760247975588,
0.03553400933742523,
-0.024011842906475067,
0.004797970876097679,
-0.025946862995624542,
0.016060668975114822,
-0.03293052688241005,
-0.047671861946582794,
0.05358247086405754,
0.03173433244228363,
0.002618873957544565,
-0.043203726410865784,
0.0513308122754097,
0.03729311749339104,
0.04654603451490402,
0.013949736952781677,
0.07078655809164047,
-0.055165670812129974,
-0.03898186236619949,
-0.016043078154325485,
0.03155842050909996,
-0.02316747047007084,
-0.033370304852724075,
0.02828647755086422,
0.006020551547408104,
0.048727329820394516,
-0.031048279255628586,
0.026245910674333572,
0.020229756832122803,
-0.025999635457992554,
-0.017415182664990425,
0.028567936271429062,
0.06941445171833038,
0.016359716653823853,
-0.002640862949192524,
0.013395617716014385,
0.005149792414158583,
0.012762337923049927,
-0.022727692499756813,
0.01600789465010166,
-0.06522777676582336,
0.02489139698445797,
-0.0018305731937289238,
-0.05199927091598511,
-0.04204271361231804,
0.015207500196993351,
-0.024258118122816086,
0.007124392781406641,
-0.037891216576099396,
0.014785313978791237,
-0.011557348072528839,
0.06786643713712692,
-0.017107337713241577,
-0.010018127970397472,
0.09421789646148682,
-0.049571700394153595,
0.029816903173923492,
-0.01190917007625103,
-0.0018272747984156013,
-0.00908579956740141,
-0.009393643587827682,
-0.01827714592218399,
-0.004907914903014898,
0.022411054000258446,
-0.0193502027541399,
0.019438158720731735,
-0.0034962298814207315,
-0.03236761316657066,
0.0069836643524467945,
0.0304853655397892,
0.02357206493616104,
0.047425586730241776,
-0.03308884799480438,
0.04496283456683159,
0.0017799987690523267,
-0.04436473920941353,
0.04334445297718048,
0.03256111592054367,
0.004652844276279211,
-0.0094376215711236,
-0.020986175164580345,
-0.0033686943352222443,
0.021214859560132027,
-0.031224191188812256,
-0.09935449808835983,
-0.03553400933742523,
-0.06842935085296631,
0.030520547181367874,
-0.021936094388365746,
-0.002926718210801482,
0.03220929205417633,
0.01556811761111021,
-0.02506730891764164,
0.031153826043009758,
0.020968584343791008,
-0.06691651791334152,
0.016509240493178368,
-0.023888705298304558,
0.006979266181588173,
0.06698688119649887,
0.03293052688241005,
0.014926042407751083,
0.016043078154325485,
-0.002376996446400881,
-0.011504575610160828,
0.030573319643735886,
0.023431336507201195,
-0.02911325916647911,
0.00023019594664219767,
0.016649970784783363,
0.043731458485126495,
-0.06737388670444489,
-0.03824303671717644,
-0.026896782219409943,
-0.033493440598249435,
0.020863037556409836,
0.014556629583239555,
0.0752195194363594,
-0.019367793574929237,
0.028497571125626564,
0.014996407553553581,
-0.04826996102929115,
-0.044927652925252914,
-0.021865729242563248,
0.05330101400613785,
0.01947334036231041,
0.021214859560132027,
0.010194038972258568,
-0.05340655893087387,
0.02364243008196354,
-0.006420749239623547,
-0.005857834126800299,
-0.00958714634180069,
-0.013967328704893589,
0.06346866488456726,
0.06659988313913345,
0.05660814046859741,
-0.038665223866701126,
-0.0022296709939837456,
-0.04654603451490402,
0.03880595415830612,
-0.0028585526160895824,
-0.010668998584151268,
-0.016641175374388695,
-0.05650259181857109,
0.0041207135654985905,
-0.07029400765895844,
0.061005912721157074,
-0.016949018463492393,
0.018312327563762665,
-0.011029615998268127,
0.059809718281030655
] |
52,081 |
tussik.zpl.zplwriter
|
cut
| null |
def cut(self, kiosk_cut_amount: bool = True):
a = "0" if kiosk_cut_amount else "1"
self.add(f"^CN{a}")
|
(self, kiosk_cut_amount: bool = True)
|
[
-0.015288786962628365,
0.03100511245429516,
0.025703631341457367,
0.000762087875045836,
-0.01744358241558075,
-0.056913964450359344,
-0.016699664294719696,
-0.008341281674802303,
0.04053067788481712,
-0.04938928037881851,
-0.029483074322342873,
0.04083850607275963,
0.012287464924156666,
-0.030030325055122375,
-0.026763929054141045,
-0.019769392907619476,
0.07839351147413254,
-0.055716853588819504,
0.04815796762704849,
-0.0048696668818593025,
0.043369535356760025,
0.0028409953229129314,
0.002614399651065469,
-0.011090355925261974,
-0.006823519244790077,
0.05021015554666519,
0.03512658551335335,
0.02378825843334198,
-0.039299365133047104,
-0.052159734070301056,
-0.005399814806878567,
0.008691863156855106,
0.007828235626220703,
-0.00030916399555280805,
0.048500001430511475,
0.010055712424218655,
0.03223642334342003,
0.022061001509428024,
0.024916959926486015,
0.0618734136223793,
0.037862833589315414,
0.020385049283504486,
0.0069304038770496845,
-0.013193846680223942,
-0.059581805020570755,
0.0074006966315209866,
0.04538751766085625,
0.07456276565790176,
0.04347214475274086,
0.00028297724202275276,
-0.022249119356274605,
0.0003326786099933088,
-0.028132053092122078,
0.0017785613890737295,
-0.029859308153390884,
-0.000031781495636096224,
0.07073201984167099,
0.025977257639169693,
-0.013501674868166447,
0.029996121302247047,
-0.05428032577037811,
0.056913964450359344,
0.026131169870495796,
-0.02790973149240017,
0.042753878980875015,
0.00037035546847619116,
-0.03052626922726631,
0.06570415943861008,
0.024523625150322914,
-0.009978755377233028,
0.019974611699581146,
-0.010201075114309788,
-0.03321121260523796,
0.020778385922312737,
-0.03095380775630474,
-0.04914985969662666,
0.01270645298063755,
0.0031979901250451803,
0.0031317216344177723,
-0.02088099531829357,
0.0647122710943222,
-0.012278914451599121,
0.051783498376607895,
0.025703631341457367,
0.017093000933527946,
0.013843705877661705,
0.06180500611662865,
-0.005925687495619059,
0.0019121671793982387,
0.055238012224435806,
-0.01824735477566719,
0.0037024859338998795,
-0.009910348802804947,
-0.04005183279514313,
0.01742648147046566,
0.05787165090441704,
-0.0005916067748330534,
-0.032903384417295456,
-0.034972671419382095,
-0.0014568384503945708,
0.04576375335454941,
0.04289069026708603,
0.031483955681324005,
-0.02151375263929367,
0.014100229367613792,
-0.0264389980584383,
-0.015382845886051655,
0.036802537739276886,
-0.03707616403698921,
0.0020970776677131653,
-0.002855959115549922,
-0.03295468911528587,
0.007614465896040201,
-0.04607158154249191,
-0.03363875299692154,
0.05315162241458893,
-0.014886900782585144,
-0.02505377307534218,
0.012586741708219051,
0.02029954083263874,
-0.013159643858671188,
-0.07483638823032379,
0.013065584935247898,
-0.031090620905160904,
0.03550282120704651,
0.08961213380098343,
-0.021240126341581345,
0.07729901373386383,
0.03663152456283569,
-0.010312235914170742,
0.05390409007668495,
-0.06351516395807266,
0.012125000357627869,
-0.03912834823131561,
0.01764880120754242,
-0.032270628958940506,
-0.011381082236766815,
-0.003185163950547576,
0.03119323030114174,
0.06580676883459091,
-0.011979636736214161,
-0.026148272678256035,
-0.017597496509552002,
0.03813645988702774,
-0.005741845816373825,
0.02070997841656208,
-0.013681241311132908,
-0.003649043617770076,
-0.0032557079102844,
-0.008272875100374222,
-0.03155236318707466,
0.06495169550180435,
-0.05226233974099159,
0.02074418216943741,
0.03728138282895088,
0.043164316564798355,
0.01620372012257576,
-0.011936883442103863,
0.02602856233716011,
0.03223642334342003,
0.042343441396951675,
-0.0141686350107193,
0.014536318369209766,
-0.0348871648311615,
-0.03184308856725693,
-0.022488540038466454,
0.01662270724773407,
0.02154795452952385,
0.01905112899839878,
0.061633992940187454,
0.016135314479470253,
-0.016118211671710014,
0.020419253036379814,
0.0528779961168766,
0.014827045612037182,
0.026798130944371223,
-0.027533497661352158,
-0.021633462980389595,
-0.013792401179671288,
-0.007221130188554525,
-0.018161848187446594,
0.016092559322714806,
-0.04083850607275963,
0.030902503058314323,
0.019376058131456375,
-0.037862833589315414,
0.008867154829204082,
0.00809758435934782,
0.024061882868409157,
-0.01404037419706583,
0.04330112785100937,
0.025908850133419037,
0.016956187784671783,
-0.04733709618449211,
-0.0028367198538035154,
-0.03755500540137291,
-0.013296456076204777,
-0.036221086978912354,
-0.04525070637464523,
-0.05068900063633919,
-0.020402150228619576,
0.0615655854344368,
0.010850934311747551,
0.0035336080472916365,
0.084618479013443,
0.015895891934633255,
0.019358957186341286,
0.046892452985048294,
-0.02869640290737152,
-0.043369535356760025,
0.004694375675171614,
0.015254584141075611,
0.04525070637464523,
0.04148836433887482,
-0.004136437550187111,
-0.03546861931681633,
-0.008153164759278297,
0.0361526794731617,
-0.08010366559028625,
0.01598994992673397,
-0.06666184961795807,
0.023856664076447487,
0.023514633998274803,
0.026934944093227386,
-0.025464210659265518,
0.05376727879047394,
0.02910684049129486,
0.0013200260000303388,
0.03994922339916229,
-0.017178509384393692,
-0.031501058489084244,
-0.015724876895546913,
-0.0288845207542181,
0.013920662924647331,
-0.03748660162091255,
-0.024061882868409157,
-0.047473907470703125,
-0.027533497661352158,
-0.030030325055122375,
0.021616362035274506,
0.016109662130475044,
-0.020008815452456474,
0.03875211626291275,
0.06994534283876419,
0.0009886834304779768,
0.029654091224074364,
-0.034357018768787384,
0.02276216447353363,
-0.00025024378555826843,
0.06368617713451385,
-0.016152415424585342,
-0.0520913265645504,
-0.063925601541996,
0.008016352541744709,
0.005985543131828308,
0.006006919778883457,
-0.062249649316072464,
-0.015228931792080402,
-0.01843547262251377,
0.0005867969593964517,
-0.004476331174373627,
0.01498095877468586,
-0.0037986822426319122,
0.0024818626698106527,
-0.0030398007947951555,
0.027584802359342575,
-0.017084449529647827,
0.0006322229746729136,
0.025532616302371025,
-0.03293759003281593,
-0.03242454305291176,
0.00016914503066800535,
0.033946581184864044,
-0.0057717738673090935,
-0.05434872955083847,
0.008683312684297562,
0.040291257202625275,
0.059821225702762604,
-0.05031276494264603,
-0.011184414848685265,
0.07045838981866837,
0.04227503389120102,
-0.017768511548638344,
0.011654707603156567,
-0.014561970718204975,
-0.003285635495558381,
0.04785013943910599,
-0.008696138858795166,
0.0037388266064226627,
0.012287464924156666,
-0.04148836433887482,
0.04083850607275963,
0.10965514928102493,
0.02505377307534218,
0.05062059313058853,
-0.06259167939424515,
0.03878631815314293,
-0.07168970257043839,
-0.015630818903446198,
0.0009427230106666684,
0.004142850637435913,
-0.038615304976701736,
-0.07032158225774765,
-0.031928595155477524,
0.025789139792323112,
0.0026678419671952724,
0.04617419093847275,
0.0141686350107193,
0.02293318137526512,
0.05038117244839668,
0.0033070126082748175,
-0.016511548310518265,
0.009405853226780891,
-0.02790973149240017,
0.0037794429808855057,
0.03264686092734337,
0.03943617641925812,
-0.018589386716485023,
0.032304830849170685,
0.04778173565864563,
0.035400211811065674,
-0.04826057702302933,
-0.034784555435180664,
0.037418194115161896,
-0.046242594718933105,
-0.08516572415828705,
-0.00749047938734293,
0.010773977264761925,
-0.04590056464076042,
-0.03382686898112297,
-0.07483638823032379,
0.03529760241508484,
0.028781911358237267,
-0.030389457941055298,
-0.01466458011418581,
0.015211829915642738,
0.019376058131456375,
-0.05421191826462746,
-0.06385719031095505,
-0.03336512669920921,
0.029380464926362038,
0.01374964788556099,
-0.009380200877785683,
0.03445962816476822,
0.042924895882606506,
0.038615304976701736,
0.03151816129684448,
0.032544251531362534,
0.0561956986784935,
-0.006507140584290028,
0.05328843370079994,
-0.008867154829204082,
0.04107792675495148,
-0.0002645396161824465,
0.08564457297325134,
-0.0013723995070904493,
-0.004690100438892841,
-0.043985191732645035,
-0.010585860349237919,
-0.06478067487478256,
0.0944005623459816,
-0.0160241536796093,
0.010346438735723495,
0.02874770760536194,
-0.0689876601099968,
0.019205043092370033,
-0.0037687544245272875,
-0.01547690387815237,
0.028012340888381004,
-0.009807739406824112,
-0.021599259227514267,
-0.026131169870495796,
0.014630377292633057,
-0.0007513994351029396,
0.005036407150328159,
0.032116714864969254,
-0.0307827927172184,
-0.029055535793304443,
-0.05729019641876221,
0.038854725658893585,
-0.013587182387709618,
-0.0118000702932477,
-0.07948800921440125,
0.04374576732516289,
-0.013347760774195194,
0.01968388631939888,
-0.05226233974099159,
-0.004690100438892841,
0.051202043890953064,
-0.014536318369209766,
0.07155289500951767,
0.004690100438892841,
0.08106135576963425,
0.009157881140708923,
-0.032698165625333786,
-0.012253262102603912,
0.015588064678013325,
-0.04384837672114372,
0.032287728041410446,
0.030697284266352654,
0.026934944093227386,
0.003723862813785672,
0.027858426794409752,
0.025310296565294266,
-0.010705571621656418,
0.04241184890270233,
-0.04162517562508583,
-0.03652891516685486,
-0.017392277717590332,
-0.012441379018127918,
-0.061428774148225784,
0.010004407726228237,
0.008559326641261578,
-0.014809943735599518,
-0.006152283400297165,
-0.04528490826487541,
-0.009978755377233028,
-0.04555853456258774,
-0.02235172875225544,
-0.04429301992058754,
-0.016032705083489418,
-0.02543000690639019,
0.044600848108530045,
-0.004144988488405943,
-0.001429048366844654,
0.034579336643218994,
0.07832510769367218,
0.009354548528790474,
0.014801393263041973,
0.011586301028728485,
-0.07729901373386383,
-0.019358957186341286,
-0.07073201984167099,
0.020624471828341484,
-0.0032321931794285774,
-0.001466458081267774,
0.011252820491790771,
-0.049115657806396484,
-0.035673838108778,
-0.005310031585395336,
-0.030047426000237465,
-0.0012174167204648256,
0.012766308151185513,
-0.019393159076571465,
0.043369535356760025,
0.011056153103709221,
-0.041317347437143326,
-0.02235172875225544,
-0.005942789372056723,
-0.02317260205745697,
-0.012586741708219051,
0.028645098209381104,
-0.062044430524110794,
0.05038117244839668,
0.032715268433094025,
-0.012244710698723793,
-0.0743575468659401,
-0.02236882969737053,
-0.011552098207175732,
-0.006814968306571245,
0.043164316564798355,
0.05947919562458992,
-0.0898173451423645,
0.03471614792943001,
0.03423730656504631,
0.05451974645256996,
0.04367736354470253,
-0.008255774155259132,
-0.02484855428338051,
0.019376058131456375,
-0.024250000715255737,
-0.040701691061258316,
0.05602468177676201,
0.024916959926486015,
0.02259114943444729,
0.024951163679361343,
-0.025344500318169594,
0.02070997841656208,
-0.01259529311209917,
0.00995310302823782,
-0.021616362035274506,
-0.03442542254924774,
-0.06300211697816849,
-0.0015476903645321727,
-0.035571228712797165,
-0.03447672724723816,
-0.053835682570934296,
-0.016537200659513474,
0.006532792467623949,
-0.0017326009692624211,
0.00743489945307374,
-0.007263883948326111,
-0.012535437010228634,
-0.02418159320950508,
0.07654654234647751,
0.0053014811128377914,
0.003907704725861549,
0.03302309662103653,
0.014160084538161755,
0.005006479099392891,
-0.08496050536632538,
0.07511001080274582,
-0.07791467010974884,
-0.05277538672089577,
-0.014955306425690651,
-0.009286142885684967,
-0.017597496509552002,
-0.002032947028055787,
-0.028627997264266014,
-0.025669429451227188,
0.04716607928276062,
-0.0541435107588768,
0.01761459745466709,
0.004014589358121157,
0.012287464924156666,
-0.031022215262055397,
0.0030611776746809483,
-0.014921103604137897,
0.0026400520000606775,
-0.0446692518889904,
0.024044781923294067,
-0.040701691061258316,
-0.03203120455145836,
-0.03175758197903633,
0.025173483416438103,
-0.01321949902921915,
0.02462623454630375,
-0.00749047938734293,
-0.003646905766800046,
0.03398078307509422,
-0.008486645296216011,
0.009756434708833694,
-0.0006418426055461168,
0.06700387597084045,
-0.0011201516026630998,
0.0348016582429409,
-0.09262200444936752,
-0.0021323496475815773,
-0.0012708590365946293,
0.0024305579718202353,
-0.03953878581523895,
-0.029671192169189453,
0.07401551306247711,
-0.012954425066709518,
0.0021954115945845842,
0.0909118503332138,
0.010004407726228237,
-0.00419629318639636,
-0.01529733743518591,
-0.0038328852970153093,
-0.03469904884696007,
0.026558710262179375,
0.037007756531238556,
-0.03984661400318146,
0.0882440060377121,
0.022847672924399376,
0.0236001405864954,
-0.006853446830064058,
0.008807298727333546,
0.04015444219112396,
-0.013843705877661705,
-0.046858251094818115,
0.09795768558979034,
-0.04497708007693291,
-0.017939528450369835,
-0.0223346259444952,
-0.023634344339370728,
-0.03776022419333458,
-0.021582158282399178,
0.0021686905529350042,
-0.01331355795264244,
-0.04053067788481712,
0.0323561355471611,
0.07463116943836212,
-0.11389633268117905,
0.013792401179671288,
0.04678984358906746,
-0.009371650405228138,
-0.0467214398086071,
0.021855782717466354,
-0.05311742052435875,
-0.013082686811685562,
-0.014561970718204975,
-0.026558710262179375,
0.0541435107588768,
-0.011714562773704529,
-0.005938513670116663,
-0.039504583925008774,
-0.03584485128521919,
0.007772655226290226,
0.004322417080402374,
0.02443811669945717,
-0.015545310452580452,
-0.03776022419333458,
-0.03834167867898941,
-0.02484855428338051,
-0.020419253036379814,
-0.007952221669256687,
0.03717877343297005,
0.08044569939374924,
-0.00708431750535965,
-0.023087095469236374,
-0.03319410979747772,
0.06543053686618805,
0.013014281168580055,
0.04302750527858734,
-0.03594746068120003,
-0.021394040435552597,
-0.04453244060277939,
-0.034357018768787384,
-0.005724744405597448,
0.04453244060277939,
0.006220689509063959,
0.04206981509923935,
-0.014536318369209766,
0.006353226490318775,
0.05862411856651306,
-0.08140338212251663,
0.002151588909327984,
-0.030269745737314224,
-0.03461353853344917,
0.026815233752131462,
-0.04528490826487541,
-0.00691757770255208,
-0.010500352829694748,
-0.023651445284485817,
-0.03656311705708504,
0.0005093055660836399,
-0.011338328942656517,
-0.021992595866322517,
0.01766590215265751,
0.02153085358440876,
0.011637605726718903,
0.012535437010228634,
-0.058145273476839066,
0.056298308074474335,
-0.034168899059295654,
0.041317347437143326,
0.001557309995405376,
-0.013527327217161655,
-0.0010143357794731855,
0.006212138570845127,
0.015057915821671486,
0.0063361250795423985,
-0.060778915882110596,
-0.06618300080299377,
-0.038649506866931915,
-0.016776621341705322,
-0.03505818173289299,
-0.03878631815314293,
-0.04118053615093231,
0.018367066979408264,
0.03755500540137291,
0.03632369637489319,
-0.0029842208605259657,
0.0160241536796093,
0.03953878581523895,
0.027858426794409752,
0.01865779235959053,
-0.06714069098234177,
-0.05554584041237831,
-0.009799188934266567,
0.011107457801699638,
0.02089809626340866,
0.011004848405718803,
-0.060778915882110596,
0.03663152456283569,
-0.12908251583576202,
-0.03339932858943939,
-0.047029267996549606,
-0.007644393481314182,
-0.007947945967316628,
-0.04983391985297203,
-0.025703631341457367,
-0.02584044449031353,
-0.04128314554691315,
-0.01331355795264244,
0.0672433003783226,
0.04928667098283768,
-0.030834097415208817,
0.001694122445769608,
-0.008136062882840633,
0.013262253254652023,
-0.04022284969687462,
0.060573697090148926,
0.056708745658397675,
-0.08667066693305969,
0.03399788588285446,
-0.08249788731336594,
-0.02094940096139908,
-0.02315550111234188,
-0.0266784206032753,
-0.022642454132437706,
0.017700105905532837,
0.014160084538161755,
0.022043900564312935,
-0.01126137189567089,
0.029243653640151024,
0.02151375263929367,
0.013552979566156864,
0.03117612935602665,
0.02746509201824665,
-0.00873034168034792,
-0.030389457941055298,
-0.0696033164858818,
-0.034374117851257324,
0.012107898481190205,
-0.07175811380147934,
0.06348095834255219,
0.034579336643218994,
0.017734309658408165,
0.09877856075763702,
-0.011740215122699738,
-0.010124118067324162,
-0.05790585279464722,
0.00914077926427126,
-0.1247045174241066,
0.011013398878276348,
0.002353600924834609,
-0.02419869601726532,
0.05038117244839668,
0.04053067788481712,
0.05325423181056976,
0.02295028232038021,
-0.001927131088450551,
-0.030030325055122375,
0.02457492984831333,
-0.03529760241508484,
0.04083850607275963,
-0.03469904884696007,
-0.001826659427024424,
-0.008593529462814331,
-0.03953878581523895,
-0.025173483416438103,
0.03180888667702675,
0.017332421615719795,
-0.0020521862898021936,
-0.04083850607275963,
0.0066867065615952015,
-0.023719852790236473,
0.0236001405864954,
-0.030714387074112892,
0.015442701056599617,
0.012048043310642242,
-0.009422955103218555,
0.039059944450855255,
0.01015832182019949,
0.01067136786878109,
0.030816996470093727,
0.01987200230360031,
-0.00253316736780107,
0.04928667098283768,
-0.024745944887399673,
-0.011107457801699638,
0.08386600762605667,
0.012851815670728683,
-0.019529972225427628,
0.032886285334825516,
0.009893247857689857,
-0.009038169868290424,
0.023702749982476234,
0.03293759003281593,
0.014083127491176128,
0.01908533088862896,
0.0492524690926075,
0.010833833366632462,
0.016691114753484726,
-0.0038670883513987064
] |
52,082 |
tussik.zpl.zplwriter
|
ellipse
| null |
def ellipse(self, left: int = 0, top: int = 0, width: int = 100, height: int = 100, thick: int = 2):
width = int(min(max(width * self._config.dpmm, 3), 4095))
height = int(min(max(height * self._config.dpmm, 3), 4095))
thick = int(min(max(thick, 2), 4095))
left = min(max(int(left * self._config.dpmm), 0), 32000)
top = min(max(int(top * self._config.dpmm), 0), 32000)
self.add(f"^FO{left},{top}{self._reverse}^GE{width},{height},{thick},B^FS")
|
(self, left: int = 0, top: int = 0, width: int = 100, height: int = 100, thick: int = 2)
|
[
0.060492031276226044,
-0.08014585822820663,
0.015496952459216118,
0.015592612326145172,
-0.02101045846939087,
-0.023549802601337433,
-0.028071921318769455,
-0.07186689972877502,
-0.07576287537813187,
0.022210558876395226,
0.03575952351093292,
-0.0429949127137661,
-0.00789631437510252,
0.012201023288071156,
-0.0404207818210125,
0.0010033450089395046,
0.05075208470225334,
-0.03268100321292877,
0.0316026508808136,
-0.04863016679883003,
0.03614216297864914,
0.01972339302301407,
0.008900746703147888,
-0.04765617102384567,
-0.008078938350081444,
0.0011761856731027365,
0.0052830521017313,
0.040455568581819534,
-0.034420277923345566,
-0.06306616216897964,
0.004230789840221405,
-0.018158044666051865,
0.014775152318179607,
0.01154879480600357,
0.018453722819685936,
0.012601057067513466,
0.06410972774028778,
0.047586601227521896,
0.04609082266688347,
0.04880409315228462,
-0.038194507360458374,
0.006613598205149174,
0.12536704540252686,
-0.026610927656292915,
-0.033950675278902054,
-0.01787976175546646,
0.08877266198396683,
0.0739540308713913,
0.03502902761101723,
0.04219484329223633,
-0.017679743468761444,
-0.06797091662883759,
0.005826575681567192,
-0.033463675528764725,
-0.010339997708797455,
0.014983865432441235,
0.03210704028606415,
0.02735881693661213,
0.04184699058532715,
-0.013383731245994568,
0.0458473265171051,
-0.011774901300668716,
0.03798579424619675,
-0.01855807937681675,
-0.025619540363550186,
0.04480375722050667,
-0.025654327124357224,
0.037846654653549194,
0.005778745748102665,
0.02146266959607601,
0.025271685793995857,
-0.0010316083207726479,
-0.03137654438614845,
0.018123259767889977,
0.022506235167384148,
-0.03955114260315895,
-0.018958112224936485,
0.02748056687414646,
0.05485677719116211,
-0.03123740293085575,
-0.032802753150463104,
0.001197926583699882,
0.03551602363586426,
0.050682514905929565,
0.04619517922401428,
0.04233398661017418,
0.020871317014098167,
0.012009703554213047,
0.059831105172634125,
-0.01838415116071701,
0.03798579424619675,
-0.002656744560226798,
-0.033933281898498535,
0.0031393938697874546,
0.024715116247534752,
-0.02000167779624462,
0.04831709712743759,
0.041777417063713074,
0.06233566626906395,
0.02099306508898735,
-0.015305631794035435,
0.004743876401335001,
0.021271349862217903,
-0.04998680204153061,
0.013218500651419163,
0.00019947325927205384,
-0.014879508875310421,
0.012801074422895908,
0.041255634278059006,
0.04960416257381439,
0.008400704711675644,
0.02833281271159649,
-0.030315587297081947,
0.005961369723081589,
-0.028437169268727303,
0.0017881934763863683,
-0.01528823934495449,
0.0021947494242340326,
-0.006709258537739515,
-0.03235054016113281,
-0.027376210317015648,
0.008892050012946129,
-0.05009115859866142,
-0.0012957608560100198,
0.017618870362639427,
0.028889380395412445,
0.009105111472308636,
-0.022523628547787666,
-0.02229752205312252,
-0.09788647294044495,
0.03697701543569565,
0.04883887991309166,
0.040594711899757385,
-0.011270510964095592,
-0.017644958570599556,
-0.02132352814078331,
-0.007122336886823177,
-0.02993294596672058,
-0.009566020220518112,
0.0040938216261565685,
-0.021584419533610344,
0.01873200573027134,
0.007074506487697363,
0.0099225714802742,
-0.04473418742418289,
0.053778424859046936,
0.009148593991994858,
-0.12140148878097534,
0.048560597002506256,
0.0839722603559494,
-0.01581002213060856,
0.02066260389983654,
-0.015592612326145172,
0.011574883945286274,
0.045186400413513184,
-0.06386622786521912,
0.0813981369137764,
-0.030802585184574127,
-0.030715620145201683,
0.011496616527438164,
0.005383060313761234,
0.017314495518803596,
0.0051004281267523766,
0.028437169268727303,
-0.026002181693911552,
0.0007147339056245983,
-0.02361937239766121,
0.024175941944122314,
0.03596823662519455,
-0.03889022022485733,
-0.010366086848080158,
-0.07200603932142258,
-0.05155215039849281,
-0.010740031488239765,
-0.00004647129026125185,
0.032959286123514175,
-0.036524802446365356,
-0.01287064515054226,
-0.0455690398812294,
-0.04365583509206772,
-0.008235473185777664,
0.03302885964512825,
0.05666562542319298,
-0.0026393518783152103,
0.0008908355957828462,
0.021775739267468452,
0.012279290705919266,
0.037011802196502686,
-0.041255634278059006,
-0.06132688373327255,
-0.06198780983686447,
0.023410659283399582,
0.02461075969040394,
0.03923807293176651,
0.03210704028606415,
0.019671214744448662,
0.07151904702186584,
0.00137402827385813,
-0.032246183604002,
0.04553425684571266,
-0.015392595902085304,
0.0075919413939118385,
0.004822143819183111,
-0.039933785796165466,
0.05165650695562363,
-0.016401376575231552,
0.00862246286123991,
-0.0007864790386520326,
0.020610425621271133,
0.02309758961200714,
0.0038698900025337934,
0.006117904558777809,
-0.03365499898791313,
0.032159220427274704,
0.07638901472091675,
0.027741458266973495,
-0.03565516695380211,
0.05009115859866142,
-0.03421156480908394,
-0.0002286876697326079,
-0.03614216297864914,
0.023184554651379585,
0.01449686847627163,
0.00813546497374773,
0.03029819391667843,
0.03123740293085575,
0.03593344986438751,
-0.02455858141183853,
0.025497792288661003,
-0.00712668476626277,
-0.054300207644701004,
0.028524132445454597,
-0.0960080549120903,
0.02605435997247696,
0.026941390708088875,
-0.010826995596289635,
-0.0368378721177578,
-0.002363241743296385,
-0.0650489330291748,
-0.005565684288740158,
0.009400788694620132,
0.022819306701421738,
-0.021288743242621422,
0.016314411535859108,
0.006296180188655853,
0.012053185142576694,
0.04650824889540672,
0.008009367622435093,
-0.00782239530235529,
0.025097757577896118,
-0.05384799465537071,
-0.027080532163381577,
0.03236793354153633,
0.034420277923345566,
0.031324367970228195,
0.035394273698329926,
-0.050682514905929565,
-0.02523690089583397,
0.005526550579816103,
0.01270541362464428,
0.04167306050658226,
-0.0013794635888189077,
0.056561268866062164,
0.09051194041967392,
0.0862681046128273,
0.03485509753227234,
-0.0003467682108748704,
-0.053291428834199905,
-0.058509256690740585,
-0.012453218922019005,
0.004704742692410946,
0.052317433059215546,
0.042751412838697433,
0.019584251567721367,
0.016879677772521973,
0.06797091662883759,
-0.05906582623720169,
0.0147229740396142,
-0.023706337437033653,
-0.012201023288071156,
0.010853084735572338,
-0.04382976517081261,
-0.026071753352880478,
0.02979380451142788,
-0.045951683074235916,
0.008013715967535973,
-0.01613178849220276,
0.028089312836527824,
0.010940047912299633,
-0.040629494935274124,
-0.03836843743920326,
0.08953794836997986,
0.035394273698329926,
-0.012374951504170895,
0.06257916241884232,
-0.010053017176687717,
0.021253956481814384,
0.04407326132059097,
-0.026645714417099953,
-0.013870729133486748,
0.044977687299251556,
-0.027080532163381577,
0.028871987015008926,
-0.043203625828027725,
0.04911716282367706,
0.03951635956764221,
0.020245177671313286,
-0.020871317014098167,
0.0640401542186737,
-0.02194966748356819,
-0.024662937968969345,
0.029219843447208405,
0.014844723977148533,
0.01661008968949318,
0.022019239142537117,
0.029393769800662994,
0.002452379558235407,
-0.02069738879799843,
0.021549634635448456,
-0.01953207328915596,
0.03836843743920326,
-0.03854236379265785,
-0.024349868297576904,
-0.02015821263194084,
0.04821274057030678,
-0.012792377732694149,
-0.008992059156298637,
0.0406990684568882,
0.0027741456869989634,
-0.017349282279610634,
-0.04389933496713638,
0.026663105934858322,
0.006857097148895264,
-0.011357475072145462,
-0.03269839659333229,
-0.0939904972910881,
0.03829886391758919,
0.04309926927089691,
0.02361937239766121,
0.0110009228810668,
0.02262798510491848,
-0.0331679992377758,
-0.036211732774972916,
0.02461075969040394,
0.03308103606104851,
-0.03645523265004158,
0.05339578539133072,
-0.06254437565803528,
0.03158525750041008,
0.029254628345370293,
0.02064521051943302,
-0.024958616122603416,
0.04866495355963707,
-0.05012594535946846,
0.019410323351621628,
0.07068419456481934,
-0.01805368810892105,
-0.0000929425805225037,
-0.00029323113267309964,
-0.031967900693416595,
0.05972674861550331,
-0.03433331474661827,
-0.044351547956466675,
0.030506907030940056,
-0.07805871963500977,
0.011896650306880474,
-0.023184554651379585,
-0.0020012548193335533,
0.03645523265004158,
0.034420277923345566,
0.006170082837343216,
-0.04038599878549576,
-0.028071921318769455,
-0.007157122250646353,
0.0712059736251831,
0.03186354413628578,
-0.10839170217514038,
-0.007665860466659069,
0.032976679503917694,
0.014688189141452312,
-0.013853335753083229,
-0.013609837740659714,
0.028871987015008926,
-0.04243834316730499,
-0.0017414503963664174,
0.005413497798144817,
0.03191572055220604,
0.034089814871549606,
0.02243666537106037,
-0.014305547811090946,
0.0017305799992755055,
0.02655874937772751,
0.05645691230893135,
0.002389330882579088,
-0.009252950549125671,
-0.01710578240454197,
-0.0007794132106937468,
-0.009957357309758663,
-0.024367261677980423,
-0.002606740454211831,
0.011966221034526825,
-0.011914042755961418,
0.02948073484003544,
-0.009096415713429451,
-0.005222177132964134,
-0.07618030160665512,
-0.01934075355529785,
0.007035372778773308,
0.026437001302838326,
0.008992059156298637,
0.019914714619517326,
-0.0031480900943279266,
0.0015229538548737764,
0.03885543346405029,
-0.0011816208716481924,
-0.08779866993427277,
-0.022488843649625778,
-0.012261898256838322,
-0.00333723658695817,
-0.026645714417099953,
-0.031828757375478745,
-0.027602314949035645,
-0.003639435861259699,
0.04588210955262184,
0.012374951504170895,
0.00042231802945025265,
-0.004569948650896549,
-0.012453218922019005,
0.04003814235329628,
-0.016053520143032074,
-0.05057815834879875,
-0.015444774180650711,
-0.025115150958299637,
0.014766456559300423,
0.004039469175040722,
-0.033620212227106094,
0.024958616122603416,
-0.10282602161169052,
0.03770751133561134,
-0.011096582747995853,
0.014435993507504463,
0.002778494032099843,
0.008074590936303139,
0.02148006297647953,
0.01954946666955948,
-0.030559085309505463,
0.017184050753712654,
-0.011087886989116669,
0.01951467990875244,
0.00967907253652811,
0.046125609427690506,
0.05645691230893135,
0.0026850078720599413,
-0.024662937968969345,
0.03593344986438751,
-0.03403763845562935,
-0.005148258060216904,
-0.01972339302301407,
-0.025358648970723152,
0.03139393776655197,
0.011609669774770737,
-0.02408897690474987,
-0.05670040845870972,
0.0013827247312292457,
-0.025984788313508034,
-0.06508371978998184,
0.017644958570599556,
-0.011174850165843964,
0.006865793373435736,
-0.024697724729776382,
-0.013079358264803886,
-0.06925798207521439,
-0.01520997192710638,
-0.03635087609291077,
0.07016240805387497,
0.01327067892998457,
0.05270007252693176,
0.04981287568807602,
-0.003774229669943452,
-0.051169510930776596,
-0.0478648841381073,
-0.05367406830191612,
-0.021584419533610344,
-0.021897489205002785,
0.033289749175310135,
0.07555416226387024,
-0.02243666537106037,
0.0029372030403465033,
0.02194966748356819,
-0.027097925543785095,
-0.024993401020765305,
0.007248434238135815,
-0.044351547956466675,
-0.0003299189847894013,
0.009122504852712154,
0.011357475072145462,
-0.012418433092534542,
-0.036559589207172394,
-0.0762498751282692,
-0.06334444135427475,
-0.006126600783318281,
-0.03388110175728798,
0.0429949127137661,
-0.0550307035446167,
-0.007970234379172325,
-0.08640725165605545,
0.00659620575606823,
-0.023810693994164467,
-0.007926751859486103,
0.026332644745707512,
0.011331385932862759,
-0.07040590792894363,
-0.02083653025329113,
-0.045151613652706146,
0.0031850498635321856,
-0.008900746703147888,
-0.014931687153875828,
0.0836939811706543,
0.015401292592287064,
-0.0468561053276062,
-0.01934075355529785,
-0.03516816720366478,
0.00993126817047596,
0.0013512002769857645,
-0.00043509085662662983,
0.024315083399415016,
-0.014444690197706223,
-0.00720495218411088,
0.020053856074810028,
0.012888037599623203,
0.02036692574620247,
-0.0021893142256885767,
0.013053269125521183,
-0.011383564211428165,
0.02276712842285633,
0.014775152318179607,
-0.017323192209005356,
-0.019462501630187035,
0.011287903413176537,
-0.027897993102669716,
0.016688356176018715,
0.0037068326491862535,
0.029219843447208405,
-0.013548962771892548,
-0.03809015080332756,
0.018662435933947563,
0.03433331474661827,
-0.08181556314229965,
0.04796924069523811,
-0.06101381406188011,
0.0762498751282692,
0.01986253634095192,
0.013870729133486748,
-0.024297690019011497,
0.021914882585406303,
0.048734523355960846,
0.03788143768906593,
-0.0550307035446167,
-0.04525597020983696,
-0.03448985144495964,
-0.040907781571149826,
0.037324871867895126,
0.04671696200966835,
-0.012183630838990211,
0.01147052738815546,
-0.03809015080332756,
-0.05746569111943245,
0.013575051911175251,
0.029585091397166252,
-0.05454370751976967,
0.03012426570057869,
0.06776220351457596,
0.043516695499420166,
-0.034246351569890976,
-0.03144611790776253,
0.0020403885282576084,
-0.0034415931440889835,
0.008887702599167824,
-0.05937889590859413,
-0.017827583476901054,
-0.028054527938365936,
-0.045812539756298065,
-0.09496448934078217,
-0.05450892075896263,
-0.03972507268190384,
0.025584755465388298,
-0.025793468579649925,
0.016314411535859108,
-0.015123007819056511,
-0.02194966748356819,
0.059483252465724945,
-0.034594208002090454,
0.03826408088207245,
0.01871461421251297,
-0.06157038360834122,
0.021080030128359795,
0.00435253931209445,
0.02655874937772751,
-0.047273531556129456,
-0.007131033111363649,
-0.050856441259384155,
0.025584755465388298,
0.0007647380698472261,
0.04261226952075958,
-0.026784855872392654,
-0.01709708571434021,
0.04146434739232063,
0.02965466119349003,
-0.06073553115129471,
-0.026593536138534546,
0.05972674861550331,
0.03254185989499092,
0.013296768069267273,
-0.000555753125809133,
-0.0197060015052557,
0.01465340331196785,
-0.00838766060769558,
-0.013227196410298347,
0.05513506010174751,
0.005522202234715223,
-0.028437169268727303,
-0.01007910631597042,
-0.03906414657831192,
-0.04511683061718941,
-0.024958616122603416,
-0.03045472875237465,
0.017827583476901054,
-0.10407830029726028,
-0.009539931081235409,
-0.04035121202468872,
0.00325679499655962,
0.004713438916951418,
-0.04024685546755791,
-0.034263744950294495,
-0.049882445484399796,
0.01609700359404087,
-0.014444690197706223,
0.004469940438866615,
-0.05057815834879875,
-0.04650824889540672,
0.025619540363550186,
0.007057114038616419,
-0.08508539944887161,
0.00016428009257651865,
0.03480292111635208,
0.024523796513676643,
-0.05830054357647896,
0.03447245806455612,
0.01358374860137701,
0.023880263790488243,
0.0025371694937348366,
-0.039168503135442734,
0.016705749556422234,
-0.0010386741487309337,
0.021532241255044937,
0.014679492451250553,
0.03487249091267586,
-0.018366757780313492,
0.026489179581403732,
0.01951467990875244,
-0.011113976128399372,
-0.029498126357793808,
-0.012583664618432522,
0.02605435997247696,
0.035550810396671295,
-0.05343056842684746,
0.03729008510708809,
0.014870813116431236,
-0.02915027178823948,
0.016479643061757088,
0.07437145709991455,
-0.06915362924337387,
-0.012714110314846039,
-0.032246183604002,
0.008244169875979424,
0.00845723133534193,
-0.032159220427274704,
0.013896818272769451,
0.07485845685005188,
0.023028019815683365,
0.016401376575231552,
-0.06202259659767151,
0.0005902668926864862,
-0.022819306701421738,
0.039968572556972504,
0.07291046530008316,
0.033115822821855545,
0.06264873594045639,
-0.06230087950825691,
-0.036733515560626984,
-0.044977687299251556,
-0.06285744905471802,
0.008757256902754307,
0.04316883906722069,
-0.0009196423925459385,
-0.0012207545805722475,
-0.029219843447208405,
-0.06115295737981796,
0.022384487092494965,
0.028089312836527824,
-0.02325412444770336,
0.02455858141183853,
-0.08077199757099152,
0.007626726757735014,
-0.026889212429523468,
0.03955114260315895,
0.03349846228957176,
0.01545347087085247,
-0.06894491612911224,
0.045812539756298065,
-0.017862368375062943,
0.032472290098667145,
0.0293068066239357,
-0.047273531556129456,
0.04330798238515854,
0.04536032676696777,
-0.004298186860978603,
-0.02134092152118683,
-0.022575806826353073,
-0.014140317216515541,
-0.01230537984520197,
0.034907277673482895,
0.026437001302838326,
-0.06383144110441208,
0.0110009228810668,
0.0013555485056713223,
-0.035863880068063736,
-0.008770301006734371,
-0.022975841537117958,
-0.023149767890572548,
-0.0015631746500730515,
0.0573265478014946,
-0.0011435742489993572,
0.01211406011134386,
-0.04737788811326027,
-0.02245405688881874,
0.0010011709528043866,
-0.05287400260567665,
-0.0517260804772377,
-0.05471763387322426,
-0.015357810072600842,
-0.0012131452094763517,
-0.0035220347344875336,
-0.022227952256798744,
-0.012218416668474674,
0.015444774180650711,
-0.009905179031193256,
0.012496700510382652,
0.02231491543352604,
0.07847614586353302,
0.0018697220366448164,
0.09496448934078217,
0.06664907187223434,
0.03495945408940315,
0.05311749875545502,
-0.0537436380982399,
0.024280298501253128,
0.037011802196502686,
-0.0028567614499479532,
-0.013827246613800526,
-0.016670964658260345,
-0.039620716124773026,
0.0023328044917434454,
0.04508204385638237,
0.0037198772188276052,
0.034107208251953125,
0.0162622332572937,
0.0074397544376552105
] |
52,083 |
tussik.zpl.zplwriter
|
export
| null |
def export(self) -> str:
config = "".join(self._attrib)
stream = "".join(self._stream)
return f"^XA^MT{config}{stream}^XZ"
|
(self) -> str
|
[
0.0029808341059833765,
-0.011089297942817211,
0.061310287564992905,
-0.04636569321155548,
0.08905480802059174,
-0.043710388243198395,
-0.05923370271921158,
0.012927585281431675,
-0.010791427455842495,
0.011948867700994015,
0.0056382655166089535,
-0.0034935970325022936,
0.02752324752509594,
0.06284219026565552,
0.007595701143145561,
0.026978569105267525,
0.014493534341454506,
-0.05085928365588188,
0.023438163101673126,
0.08013571053743362,
0.022110512480139732,
0.028153030201792717,
-0.027931755408644676,
-0.05279969796538353,
-0.010485046543180943,
0.039795517921447754,
-0.01347226370126009,
-0.014399917796254158,
-0.03744659572839737,
-0.03337853401899338,
-0.049497589468955994,
-0.07210171222686768,
0.03659553453326225,
-0.031250886619091034,
0.025753043591976166,
0.040442321449518204,
-0.0031191310845315456,
0.031387053430080414,
-0.00006575760198757052,
-0.06658685207366943,
0.06931024044752121,
-0.0008643567562103271,
0.024204116314649582,
0.003980828449130058,
-0.004019125830382109,
0.013199924491345882,
-0.020016906782984734,
0.055148620158433914,
-0.005187204573303461,
0.010016963817179203,
0.05994859337806702,
0.08360803127288818,
-0.026484955102205276,
0.006931875366717577,
-0.01347226370126009,
-0.015055232681334019,
0.04500399902462959,
0.01768500544130802,
-0.010944617912173271,
0.018706275150179863,
-0.022042427211999893,
0.057395417243242264,
0.07632296532392502,
-0.01742117665708065,
0.009812709875404835,
0.019012657925486565,
-0.04299549758434296,
-0.020119033753871918,
-0.024799857288599014,
0.04701249673962593,
0.052697572857141495,
-0.06893577426671982,
-0.037923187017440796,
-0.02354029007256031,
-0.0013404178898781538,
-0.04115721210837364,
-0.04616143926978111,
0.0022106256801635027,
-0.02939557656645775,
-0.04772738739848137,
0.020527541637420654,
-0.015302040614187717,
-0.029582809656858444,
0.010765896178781986,
0.026484955102205276,
-0.017548834905028343,
0.02565091662108898,
-0.03652745112776756,
-0.023267952725291252,
0.005927625577896833,
0.03710617125034332,
0.026314742863178253,
-0.031335990875959396,
0.03891041502356529,
-0.031097695231437683,
-0.053140122443437576,
0.00034441292518749833,
0.031540244817733765,
0.04616143926978111,
-0.02621261589229107,
-0.048272065818309784,
-0.029940254986286163,
-0.04085082933306694,
-0.009753135964274406,
-0.024306243285536766,
-0.027778564020991325,
-0.0030382804106920958,
0.05239119008183479,
-0.029089195653796196,
-0.008536121807992458,
0.03537001088261604,
0.01926797442138195,
0.026672188192605972,
-0.03778701648116112,
0.046535905450582504,
-0.005940391682088375,
0.0026106233708560467,
-0.021548813208937645,
0.020731795579195023,
-0.038059357553720474,
0.041974227875471115,
0.03826361149549484,
-0.0186211708933115,
0.014970127493143082,
-0.039931684732437134,
0.04176997393369675,
0.012672267854213715,
0.03359980881214142,
0.03230619803071022,
-0.06274006515741348,
-0.02903813123703003,
0.03880828991532326,
-0.011038234457373619,
-0.019897758960723877,
0.04905503988265991,
-0.036970000714063644,
0.060220930725336075,
-0.010246749967336655,
-0.04292741417884827,
0.10934405773878098,
-0.005340395029634237,
-0.03351470082998276,
0.01405098382383585,
0.004808483179658651,
-0.005676563363522291,
-0.03751467913389206,
0.012391418218612671,
0.0037382764276117086,
0.0080339964479208,
-0.05640818923711777,
0.04394868388772011,
-0.011608444154262543,
-0.11336105316877365,
-0.024067947641015053,
0.004974439740180969,
0.022297745570540428,
-0.009114841930568218,
0.06611026078462601,
0.036118943244218826,
0.004680824466049671,
-0.02985514886677265,
0.04330188035964966,
-0.024936027824878693,
0.03744659572839737,
-0.002204242628067732,
-0.033072151243686676,
-0.015302040614187717,
-0.011199936270713806,
0.055148620158433914,
-0.032850876450538635,
0.011906314641237259,
-0.035165756940841675,
-0.027353035286068916,
0.04925929382443428,
0.04061253368854523,
0.028425369411706924,
0.01593182422220707,
0.0770718976855278,
-0.009353137575089931,
-0.04442527890205383,
0.006144645623862743,
0.01644245907664299,
-0.012885033152997494,
0.03530192747712135,
0.0388423316180706,
-0.032697685062885284,
0.03714021295309067,
0.015625443309545517,
0.007216980215162039,
-0.07039959728717804,
0.0443231500685215,
0.012485034763813019,
-0.0043021030724048615,
-0.0036616811994463205,
-0.024731773883104324,
-0.04687632620334625,
0.034433845430612564,
-0.055591169744729996,
0.010272281244397163,
-0.03402533754706383,
-0.017080754041671753,
0.012127590365707874,
0.018212661147117615,
0.020680733025074005,
0.039863601326942444,
-0.03714021295309067,
0.05068907141685486,
-0.0731910690665245,
-0.06515707075595856,
0.01839989423751831,
0.05644223093986511,
0.007791444659233093,
0.052050765603780746,
-0.015387145802378654,
0.004493591375648975,
0.0034127463586628437,
-0.06832301616668701,
0.059506043791770935,
-0.01744670793414116,
0.03887637332081795,
-0.01742117665708065,
-0.009923347271978855,
-0.0045446548610925674,
0.024936027824878693,
0.007978677749633789,
-0.01061270572245121,
0.032425347715616226,
-0.05640818923711777,
-0.05599968135356903,
-0.012876521795988083,
0.02861260250210762,
-0.002137221861630678,
-0.03700404241681099,
0.0677783340215683,
-0.03143811970949173,
0.05119970813393593,
-0.038501907140016556,
0.010731853544712067,
-0.06209326162934303,
0.0385359488427639,
0.004421251360327005,
0.012740353122353554,
0.08490164577960968,
-0.00034334909287281334,
0.07686764746904373,
-0.008595695719122887,
0.01054462045431137,
0.02425518073141575,
-0.008336122147738934,
-0.017191391438245773,
0.03846786543726921,
0.02752324752509594,
-0.03261258080601692,
0.002529772697016597,
-0.016119057312607765,
-0.03266364336013794,
-0.04006785526871681,
-0.046978455036878586,
-0.0006106348009780049,
-0.006740387063473463,
-0.01726798713207245,
-0.06822088360786438,
-0.03584660217165947,
-0.06032305955886841,
0.11982910335063934,
0.031114716082811356,
-0.056237976998090744,
-0.020833922550082207,
-0.024084968492388725,
0.009574413299560547,
0.015770122408866882,
0.030672164633870125,
-0.1021270751953125,
0.0013882899656891823,
-0.007527616340667009,
-0.008970161899924278,
0.012944607064127922,
-0.05034864693880081,
0.031250886619091034,
-0.010391429997980595,
0.0106041943654418,
-0.04449336230754852,
0.008029741235077381,
-0.00017978620599023998,
0.04789759963750839,
-0.011472274549305439,
0.007706339005380869,
-0.039012543857097626,
0.02071477472782135,
-0.013489284552633762,
-0.00016475969459861517,
0.0546039417386055,
-0.03499554470181465,
-0.06883364915847778,
0.061242204159498215,
-0.036901917308568954,
0.057974137365818024,
-0.042621031403541565,
0.022638168185949326,
0.017906280234456062,
-0.008425483480095863,
-0.006893577519804239,
0.035812560468912125,
0.011948867700994015,
-0.08197399973869324,
0.05480819568037987,
-0.005570180714130402,
0.028884941712021828,
0.026195595040917397,
0.019727546721696854,
0.011795677244663239,
0.020476479083299637,
0.0517103411257267,
-0.0067786844447255135,
0.011633976362645626,
0.05286778137087822,
-0.0034999800845980644,
0.007136129308491945,
0.05613584816455841,
0.04296145588159561,
-0.019540313631296158,
0.009404201991856098,
-0.011021213605999947,
0.0056382655166089535,
0.030331742018461227,
-0.030025361105799675,
-0.005587202031165361,
-0.02042541466653347,
0.02760835364460945,
-0.03310619294643402,
-0.0937526524066925,
0.009982921183109283,
-0.0020127545576542616,
0.04605931043624878,
0.004070189315825701,
0.04006785526871681,
-0.01017015427350998,
-0.00872335396707058,
-0.008825481869280338,
-0.025667937472462654,
0.017327560111880302,
0.041463591158390045,
0.004961673635989428,
0.01481693610548973,
-0.04394868388772011,
-0.006395708303898573,
-0.05579542741179466,
0.01998286508023739,
-0.016527565196156502,
0.030076423659920692,
0.01506374403834343,
0.005680818576365709,
0.023880714550614357,
0.024357307702302933,
0.06151454150676727,
-0.010272281244397163,
-0.03816148266196251,
-0.0030021104030311108,
-0.015804164111614227,
0.06440814584493637,
0.004493591375648975,
0.007008470594882965,
-0.0026808357797563076,
0.009727603755891323,
-0.017565857619047165,
-0.04908908158540726,
-0.006710600107908249,
-0.002204242628067732,
0.054365646094083786,
0.015225444920361042,
-0.013863750733435154,
0.009974410757422447,
-0.01590629294514656,
-0.02614453062415123,
-0.0061020925641059875,
0.03382108360528946,
-0.036391280591487885,
-0.045514632016420364,
-0.03446788713335991,
-0.12112271040678024,
-0.0020127545576542616,
0.02331901527941227,
-0.0002597059647087008,
0.02876579388976097,
0.02447645552456379,
0.03377002105116844,
0.019455207511782646,
-0.00945526547729969,
0.004816993605345488,
0.023863693699240685,
0.03829765319824219,
0.019608398899435997,
0.02280838042497635,
-0.018638191744685173,
-0.021633919328451157,
-0.02476581558585167,
-0.008565908297896385,
0.043063584715127945,
0.04636569321155548,
0.006621238775551319,
-0.005965923424810171,
-0.03361682966351509,
-0.0004337741120252758,
-0.011327594518661499,
-0.01401694118976593,
-0.048135895282030106,
0.022348808124661446,
-0.02462964691221714,
0.0030553017277270555,
-0.012740353122353554,
-0.030399825423955917,
-0.0252083670347929,
-0.03720829635858536,
-0.011387169361114502,
0.055659256875514984,
0.005382948089390993,
-0.02679133601486683,
-0.03969338908791542,
0.0027765799313783646,
-0.03152322396636009,
-0.02723388746380806,
0.06423792988061905,
-0.007736125960946083,
-0.01525097619742155,
0.022859442979097366,
-0.03645936772227287,
-0.048782698810100555,
0.030008338391780853,
-0.016825435683131218,
0.052255019545555115,
-0.0012414822122082114,
-0.017787132412195206,
-0.011497806757688522,
-0.013242477551102638,
0.01604246161878109,
-0.0013861622428521514,
0.036697663366794586,
-0.06154858320951462,
-0.02267220988869667,
0.03460405766963959,
0.05916561931371689,
-0.0417359322309494,
-0.0055914572440087795,
0.009497817605733871,
0.006387197412550449,
0.03499554470181465,
-0.061991136521101,
-0.022757316008210182,
0.05885923653841019,
0.052186936140060425,
0.026314742863178253,
0.023165825754404068,
-0.007255277596414089,
-0.03707212954759598,
0.03479129076004028,
-0.07496127486228943,
0.05885923653841019,
-0.11662912368774414,
-0.0731910690665245,
-0.03635723888874054,
0.0016616926295682788,
0.006565920077264309,
-0.04534441977739334,
0.00040957212331704795,
-0.014655235223472118,
-0.02260412648320198,
-0.0007510595605708659,
0.041906144469976425,
-0.013787155039608479,
-0.007561658974736929,
-0.012655247002840042,
-0.007914848625659943,
-0.014170131646096706,
0.03737850859761238,
0.04510612413287163,
0.020170098170638084,
-0.032935980707407,
0.031982794404029846,
-0.0622975155711174,
-0.01833181083202362,
-0.06730174273252487,
-0.0658038780093193,
-0.005965923424810171,
0.02702963352203369,
0.006178688257932663,
0.05960816890001297,
0.08340378105640411,
0.004634016193449497,
0.013591411523520947,
0.01826372556388378,
0.04507208243012428,
0.08898672461509705,
-0.06393154710531235,
-0.009089309722185135,
0.048067811876535416,
0.04503804072737694,
0.007302085869014263,
-0.02636580727994442,
-0.08973565697669983,
-0.01739564538002014,
-0.001168078393675387,
-0.033650871366262436,
-0.029514724388718605,
-0.04354017600417137,
-0.013157371431589127,
0.0030893441289663315,
-0.010476536117494106,
-0.03359980881214142,
-0.008791439235210419,
0.007395702414214611,
-0.0062935808673501015,
-0.02723388746380806,
-0.06624642759561539,
0.022297745570540428,
-0.028204094618558884,
0.02049349993467331,
0.009216968901455402,
-0.016697777435183525,
-0.0038744460325688124,
-0.01285950094461441,
0.0010547812562435865,
0.013514816761016846,
-0.025616874918341637,
-0.0459231398999691,
-0.04946354776620865,
0.040884871035814285,
-0.03295300155878067,
0.016391396522521973,
-0.03489341586828232,
0.05599968135356903,
-0.015412678010761738,
-0.0021648812107741833,
-0.014791404828429222,
-0.0385359488427639,
0.01947222836315632,
0.08469738811254501,
-0.06011880561709404,
0.07359957695007324,
-0.00886803399771452,
-0.031693436205387115,
0.002039350103586912,
-0.0632847473025322,
-0.041974227875471115,
-0.06866344064474106,
0.0042063589207828045,
0.010221217758953571,
0.06719961762428284,
-0.00849782396107912,
0.0690719485282898,
-0.010093559511005878,
-0.020953072234988213,
-0.008106336928904057,
-0.03571043536067009,
-0.014331832528114319,
0.02389773540198803,
0.012382907792925835,
0.0018255214672535658,
-0.0034510442055761814,
-0.030297698453068733,
0.022927528247237206,
-0.015744591131806374,
0.03021259233355522,
-0.047250792384147644,
0.017191391438245773,
-0.006306346971541643,
0.03072322905063629,
0.03802531585097313,
-0.059574127197265625,
-0.00010425472282804549,
0.015004169195890427,
0.006182943470776081,
0.007365915458649397,
0.011889293789863586,
-0.009344627149403095,
-0.006629749201238155,
-0.026893462985754013,
0.08646759390830994,
0.07502935826778412,
0.04238273575901985,
0.011574401520192623,
0.007123363669961691,
0.006178688257932663,
-0.0042297630570828915,
-0.0030808334704488516,
0.024663688614964485,
-0.011753124184906483,
0.023353058844804764,
-0.0043021030724048615,
0.009770156815648079,
-0.05228906124830246,
-0.04292741417884827,
-0.06594004482030869,
0.020170098170638084,
-0.028663665056228638,
0.015523315407335758,
-0.05773584172129631,
0.04398272559046745,
-0.0014723320491611958,
0.03829765319824219,
0.01868925429880619,
0.02968493662774563,
0.033208321779966354,
0.005021248012781143,
0.0485103614628315,
0.015472251921892166,
-0.011829719878733158,
-0.0215147715061903,
-0.0018691382138058543,
-0.04231465235352516,
0.03809339925646782,
-0.028884941712021828,
0.004155295435339212,
-0.03201683983206749,
-0.028714729472994804,
-0.01535310409963131,
-0.015829697251319885,
0.013344604521989822,
-0.01571054756641388,
-0.05967625603079796,
0.042621031403541565,
0.011608444154262543,
0.033208321779966354,
-0.08789736777544022,
0.004344656132161617,
0.014425449073314667,
0.03969338908791542,
-0.006902088411152363,
0.022263702005147934,
0.06576983630657196,
-0.024084968492388725,
0.022127533331513405,
0.038501907140016556,
0.03397427499294281,
-0.0010446748929098248,
-0.036901917308568954,
-0.042484864592552185,
-0.05947200208902359,
0.05106353759765625,
0.009046756662428379,
-0.05194864049553871,
0.017940323799848557,
0.027727501466870308,
-0.0031680669635534286,
-0.04047636315226555,
-0.028663665056228638,
0.0032829600386321545,
0.030161529779434204,
-0.052629485726356506,
-0.032118964940309525,
-0.07155703753232956,
-0.012595673091709614,
-0.04558271914720535,
0.02990621142089367,
0.031761519610881805,
0.03608490154147148,
0.062331557273864746,
-0.0043510389514267445,
0.07339532673358917,
0.024391349405050278,
-0.028050903230905533,
-0.04670611768960953,
-0.051097579300403595,
0.0021574345882982016,
0.0028957282193005085,
0.06590600311756134,
-0.02289348654448986,
-0.01274886354804039,
0.0013627582229673862,
-0.048135895282030106,
-0.06141241639852524,
-0.005812732502818108,
0.024067947641015053,
-0.03475724905729294,
-0.05028056353330612,
0.005114864557981491,
-0.04136146605014801,
-0.0183147881180048,
-0.01651054434478283,
0.03649340942502022,
-0.026961548253893852,
-0.04496995732188225,
-0.0025127516128122807,
0.02874877117574215,
-0.05062098801136017,
-0.019642440602183342,
-0.023931778967380524,
-0.0020180735737085342,
0.02876579388976097,
-0.008676545694470406,
-0.024442413821816444,
-0.021991362795233727,
-0.030553016811609268,
-0.0025127516128122807,
-0.004540399648249149,
0.04360826313495636,
-0.020510520786046982,
0.07918252795934677,
0.01506374403834343,
0.03543809428811073,
-0.05722520500421524,
0.009795689024031162,
0.004127636086195707,
0.028697708621621132,
0.02876579388976097,
0.019438186660408974,
-0.03186364844441414,
0.07271447777748108,
-0.04398272559046745,
-0.012629714794456959,
0.05644223093986511,
-0.007008470594882965,
0.09068883955478668,
-0.0038893395103514194,
-0.018433937802910805,
-0.013897792436182499,
-0.048408232629299164,
-0.008195698261260986,
0.04674015939235687,
-0.009795689024031162,
0.019080741330981255,
-0.04275720193982124,
0.039284881204366684,
0.020084992051124573,
0.016365863382816315,
0.024204116314649582,
0.036187026649713516,
-0.05303799360990524,
0.0574975423514843,
-0.005042524542659521,
-0.02730197086930275,
0.012042484246194363,
0.0031531734857708216,
-0.019948821514844894,
0.08708035200834274,
0.03499554470181465,
0.07734423875808716,
-0.05242523178458214,
-0.005327628925442696,
-0.05358267202973366,
0.043710388243198395,
0.01329354103654623,
0.08136123418807983,
0.016008419916033745,
0.019795631989836693,
-0.005046779755502939,
0.03628915548324585,
0.009251010604202747,
0.018450958654284477,
-0.013531837612390518,
0.010451003909111023,
0.010714832693338394,
0.022110512480139732,
-0.034518953412771225,
0.011216957122087479,
0.04983801394701004,
-0.04605931043624878,
0.0385359488427639,
-0.012910564430058002,
-0.02280838042497635,
-0.04687632620334625,
-0.03121684305369854,
-0.0007606339640915394,
0.0002473390195518732,
0.01853606477379799,
0.0023319015745073557,
0.03157428652048111,
-0.030229615047574043,
-0.012204185128211975
] |
52,084 |
tussik.zpl.zplwriter
|
font
| null |
def font(self, height: int = 10, width: Optional[int] = None, flip: int = 0,
fontcode: str = "0", isdefault: bool = False):
height = int(min(max(height * self._config.dpmm, 0), 32000))
if isinstance(width, int):
width = int(min(max(width * self._config.dpmm, 0), 32000))
if flip >= 270:
orient = "B"
elif flip >= 180:
orient = "I"
elif flip >= 90:
orient = "R"
else:
orient = "N"
if width is None:
self._font = f"^A{fontcode}{orient},{height}"
if isdefault:
self.add(f'^CF{fontcode},{height}')
else:
self._font = f"^A{fontcode}{orient},{height},{width}"
if isdefault:
self.add(f'^CF{fontcode},{height},{width}')
|
(self, height: int = 10, width: Optional[int] = None, flip: int = 0, fontcode: str = '0', isdefault: bool = False)
|
[
0.08106973022222519,
-0.018814634531736374,
0.07769780606031418,
-0.04813963547348976,
-0.005708062089979649,
-0.039494588971138,
-0.026921607553958893,
0.002002081600949168,
0.005690126679837704,
-0.0005064055440016091,
0.025899266824126244,
0.0031454875133931637,
-0.022240368649363518,
0.026437340304255486,
0.0033988305367529392,
0.010878050699830055,
0.04031963646411896,
-0.0178819727152586,
0.009766032919287682,
-0.07213771343231201,
0.06453293561935425,
0.029091836884617805,
-0.04770917817950249,
-0.02206101082265377,
0.010976698249578476,
0.03126206621527672,
-0.022868121042847633,
0.01781023107469082,
-0.01254607830196619,
-0.0062461355701088905,
0.03899238631129265,
-0.008393945172429085,
-0.010187523439526558,
0.021469129249453545,
-0.004622947424650192,
0.016294656321406364,
-0.010689725168049335,
-0.012465368025004864,
0.01675201952457428,
0.013649129308760166,
0.08501560240983963,
-0.003764271968975663,
0.07611945271492004,
0.019765229895710945,
-0.05273119732737541,
-0.009461124427616596,
0.0073716058395802975,
0.007784128654748201,
-0.0401761494576931,
0.02175610139966011,
0.07030826061964035,
-0.08185890316963196,
0.016115298494696617,
0.013971973210573196,
-0.018850505352020264,
0.007622706703841686,
0.001607494312338531,
0.05703578144311905,
0.04946688190102577,
-0.03669660910964012,
0.020249497145414352,
-0.04874945059418678,
-0.03701945021748543,
-0.049251653254032135,
-0.0643535777926445,
-0.017012087628245354,
0.08336550742387772,
-0.039889175444841385,
0.012142523191869259,
-0.005770837422460318,
0.01440243236720562,
0.08802881091833115,
-0.02069789171218872,
0.004580350127071142,
0.023549679666757584,
-0.0011428454890847206,
-0.022240368649363518,
0.03074192814528942,
0.0320153683423996,
-0.014743211679160595,
0.029020093381404877,
0.04042724892497063,
0.00864504650235176,
0.002150051761418581,
0.002849547192454338,
0.003542316611856222,
0.08020880818367004,
-0.03624821454286575,
0.08709615468978882,
-0.016124267131090164,
-0.06245238706469536,
-0.1086190864443779,
0.07317798584699631,
0.032804541289806366,
-0.0027150288224220276,
-0.03366545960307121,
0.029271194711327553,
-0.04512642323970795,
0.05578027665615082,
0.028589634224772453,
-0.021020734682679176,
-0.01294066570699215,
0.08063927292823792,
-0.03802385553717613,
0.03429321199655533,
-0.008497076109051704,
-0.037091195583343506,
0.012348785065114498,
0.02801568992435932,
-0.009703257121145725,
-0.025988945737481117,
-0.0633491799235344,
0.053843215107917786,
-0.003315877402201295,
0.051296334713697433,
-0.009263831190764904,
-0.028338532894849777,
-0.011828646995127201,
-0.018276561051607132,
0.0357639454305172,
-0.03927936032414436,
-0.017173510044813156,
0.0020413161255419254,
-0.04570037126541138,
-0.0012319639790803194,
0.0994359701871872,
0.026544956490397453,
0.004452557768672705,
0.07568899542093277,
0.03762926906347275,
0.07063110172748566,
0.03631995618343353,
0.016608532518148422,
0.0005495635559782386,
0.04609495773911476,
0.026957478374242783,
0.007416445296257734,
0.035566654056310654,
-0.018707020208239555,
0.0646764263510704,
-0.015855230391025543,
0.0019482742063701153,
0.05079413205385208,
-0.0009164062794297934,
-0.003006485290825367,
0.029647845774888992,
0.09484440833330154,
-0.05136807635426521,
-0.016904473304748535,
0.023603487759828568,
0.05441715940833092,
0.046453673392534256,
-0.03208710998296738,
-0.010967729613184929,
-0.005479380954056978,
-0.002300263848155737,
-0.04279477149248123,
-0.0074478331953287125,
-0.0009741371031850576,
0.04778091982007027,
0.0497179850935936,
0.04573624208569527,
-0.04042724892497063,
-0.04042724892497063,
0.03967394679784775,
-0.015846261754631996,
-0.03730642423033714,
0.04096532240509987,
0.07619119435548782,
0.006658658850938082,
0.009353510104119778,
-0.08924844861030579,
0.005811193026602268,
0.0517626628279686,
0.048570092767477036,
0.017648808658123016,
-0.01026823464781046,
-0.04369156062602997,
0.0036902870051562786,
0.016196010634303093,
0.03585362434387207,
0.005766353569924831,
-0.0514039471745491,
0.03197949752211571,
0.013595322147011757,
0.004622947424650192,
0.04071422293782234,
0.042579542845487595,
0.04473183676600456,
-0.02959403768181801,
-0.011478899978101254,
0.030975094065070152,
-0.02713683620095253,
-0.015335092321038246,
-0.014232042245566845,
-0.014285849407315254,
0.023316515609622,
-0.04552101343870163,
-0.01756809651851654,
-0.03723468258976936,
0.02243766188621521,
0.046453673392534256,
-0.023926330730319023,
0.014465207234025002,
0.001205060281790793,
-0.003073744475841522,
0.0006737127550877631,
-0.01917335018515587,
-0.039925046265125275,
-0.017200414091348648,
-0.009026181884109974,
-0.07159963995218277,
0.010967729613184929,
0.017245253548026085,
0.008949954994022846,
-0.014554886147379875,
0.0036095757968723774,
0.05746624246239662,
-0.04143165424466133,
0.04763743281364441,
0.02448234148323536,
0.027298258617520332,
0.030419083312153816,
0.029970690608024597,
0.05811192840337753,
0.02676018513739109,
0.027047157287597656,
-0.013173830695450306,
-0.04688413068652153,
0.036517251282930374,
-0.0401761494576931,
0.050507158041000366,
-0.031889818608760834,
0.03013211116194725,
-0.009272798895835876,
-0.04892880842089653,
-0.014949473552405834,
-0.0004324204637669027,
-0.04874945059418678,
0.008443268947303295,
0.03895651549100876,
0.07120504975318909,
0.03734229505062103,
0.004699174780398607,
-0.031513165682554245,
-0.011730000376701355,
0.004055728204548359,
-0.014160298742353916,
-0.07335734367370605,
0.015550321899354458,
-0.11471725255250931,
-0.02304747886955738,
-0.0007308830390684307,
-0.014527982100844383,
-0.03434702008962631,
0.03805972635746002,
-0.07654991000890732,
-0.024213304743170738,
0.034095920622348785,
0.0493592694401741,
0.015245413407683372,
-0.017003120854496956,
-0.04336871951818466,
0.025755781680345535,
0.1289941370487213,
0.020321238785982132,
0.01372087188065052,
0.026885734871029854,
-0.03935110196471214,
-0.02114628627896309,
-0.10137303173542023,
0.02641940489411354,
0.012187362648546696,
0.0124294962733984,
-0.007223635911941528,
0.0021892862860113382,
0.021307706832885742,
0.0008093520882539451,
0.024643762037158012,
-0.02509215660393238,
0.017281124368309975,
-0.01491360180079937,
-0.01467146910727024,
0.0052910554222762585,
-0.04756569117307663,
0.026544956490397453,
0.02353174425661564,
0.050004955381155014,
0.0161691065877676,
0.02335238642990589,
0.022150689736008644,
0.03502858057618141,
0.009452156722545624,
0.0030490828212350607,
-0.013487706892192364,
-0.04752982035279274,
0.06855055689811707,
-0.004914403893053532,
-0.02937880903482437,
-0.06614715605974197,
-0.0007768435170874,
-0.01110224798321724,
0.07820000499486923,
-0.004270957782864571,
-0.03730642423033714,
0.0020065654534846544,
-0.024302983656525612,
-0.026634635403752327,
0.053161654621362686,
0.02751348726451397,
0.04028376191854477,
0.003546800697222352,
-0.015164702199399471,
0.016841698437929153,
0.07095395028591156,
0.023298578336834908,
0.04476770758628845,
-0.0042462958954274654,
0.009407317265868187,
0.06159147247672081,
-0.03350403904914856,
-0.06987780332565308,
-0.003167907241731882,
-0.008501560427248478,
-0.02448234148323536,
0.020751697942614555,
-0.036104727536439896,
0.009730161167681217,
0.010689725168049335,
-0.05011257156729698,
-0.057968445122241974,
0.04067835211753845,
0.009748096577823162,
-0.009317638352513313,
-0.08795706927776337,
-0.045198168605566025,
0.016160137951374054,
-0.014823922887444496,
-0.024087753146886826,
-0.019747294485569,
0.04774504899978638,
-0.02182784490287304,
-0.0493592694401741,
-0.0012857712572440505,
0.01216942723840475,
-0.011434060521423817,
-0.008949954994022846,
-0.004217150621116161,
0.05847064405679703,
0.017379771918058395,
-0.02383665181696415,
-0.06037183851003647,
0.034239403903484344,
0.009066537022590637,
-0.010788371786475182,
-0.026652570813894272,
0.028338532894849777,
-0.05230073630809784,
-0.019155414775013924,
-0.02206101082265377,
-0.02509215660393238,
0.0025042833294719458,
-0.027674909681081772,
0.07131266593933105,
-0.07095395028591156,
0.006277523469179869,
-0.008470172062516212,
0.002567058661952615,
0.07292688637971878,
0.03841844201087952,
0.053950827568769455,
0.029809268191456795,
-0.04702761769294739,
0.0060533261857926846,
0.02039298228919506,
-0.01940651424229145,
-0.03128000348806381,
0.014483142644166946,
-0.010465527884662151,
-0.02023155987262726,
-0.00917863566428423,
-0.012770275585353374,
-0.039100002497434616,
0.04171862453222275,
-0.056569453328847885,
-0.03927936032414436,
-0.011084312573075294,
-0.021307706832885742,
0.025361193343997,
-0.07920441031455994,
-0.0401761494576931,
0.008183199912309647,
0.0674026608467102,
-0.05154743418097496,
-0.033862754702568054,
-0.005066858138889074,
-0.00644342927262187,
0.03429321199655533,
0.011909358203411102,
0.006151972804218531,
0.011981101706624031,
-0.05007670074701309,
0.0158372949808836,
0.013137959875166416,
-0.0016994152683764696,
0.015568257309496403,
0.06295458972454071,
0.05452477186918259,
-0.016357431188225746,
0.029432617127895355,
-0.012393624521791935,
0.009703257121145725,
-0.0381314717233181,
-0.004360636696219444,
-0.03205123916268349,
-0.028338532894849777,
-0.02754935994744301,
-0.03362958878278732,
-0.008694369345903397,
0.02959403768181801,
-0.026347661390900612,
0.013030344620347023,
-0.01671614684164524,
-0.008994794450700283,
0.021253900602459908,
0.03194362670183182,
0.0313338078558445,
0.014823922887444496,
-0.027280323207378387,
0.027979817241430283,
-0.03445463627576828,
-0.03565633296966553,
-0.021540872752666473,
-0.017657775431871414,
0.016662340611219406,
0.02111041359603405,
-0.026957478374242783,
-0.0014258945593610406,
-0.023316515609622,
-0.07106156647205353,
0.09893376380205154,
-0.012850986793637276,
-0.01624085009098053,
0.006568979937583208,
-0.037449911236763,
-0.01125470269471407,
-0.01831243187189102,
-0.0046274312771856785,
0.02383665181696415,
-0.0016814793925732374,
0.010851147584617138,
0.06586018949747086,
-0.03111857920885086,
0.03963807597756386,
0.05879348888993263,
-0.023370321840047836,
-0.02387252449989319,
-0.024016009643673897,
-0.01614220254123211,
0.021325644105672836,
-0.008115940727293491,
0.028679313138127327,
0.0010699813719838858,
-0.01886844076216221,
-0.009281766600906849,
-0.017729518935084343,
0.00878404825925827,
-0.009353510104119778,
-0.025110093876719475,
-0.04311761632561684,
-0.0527670681476593,
-0.02645527757704258,
0.020518533885478973,
0.005712546408176422,
0.008026261813938618,
0.004865080583840609,
0.007331250235438347,
0.04623844474554062,
-0.06629064679145813,
-0.03070605732500553,
0.038454312831163406,
0.0017319237813353539,
-0.027047157287597656,
0.008716789074242115,
0.02982720360159874,
-0.04570037126541138,
0.011613418348133564,
0.010259266942739487,
-0.02168435975909233,
0.008237007074058056,
-0.01773848757147789,
0.002475137822329998,
0.01133541390299797,
0.029988626018166542,
0.053197525441646576,
0.004515332635492086,
0.039925046265125275,
-0.062488261610269547,
-0.06309808045625687,
-0.030275598168373108,
-0.009183119982481003,
-0.035907432436943054,
-0.004407718311995268,
-0.05621073767542839,
-0.005017534829676151,
0.004963727202266455,
-0.00034358230186626315,
-0.0170210562646389,
0.014124426990747452,
0.009299702011048794,
-0.041288167238235474,
-0.012572982348501682,
-0.01637536846101284,
-0.07475633174180984,
0.011774839833378792,
-0.04046311974525452,
-0.031100643798708916,
-0.010806308127939701,
-0.04752982035279274,
-0.029683716595172882,
0.019872844219207764,
-0.0017207139171659946,
-0.059259820729494095,
-0.020177753642201424,
0.022868121042847633,
0.050004955381155014,
0.036588992923498154,
-0.0524442233145237,
0.06517862528562546,
-0.02240179106593132,
0.00029145643929950893,
0.013514610938727856,
0.08228936046361923,
0.023746972903609276,
0.03264312073588371,
-0.07784128934144974,
-0.030903350561857224,
0.014554886147379875,
-0.010322041809558868,
-0.019729359075427055,
0.02607862465083599,
0.024231240153312683,
-0.02744174376130104,
-0.056605324149131775,
0.05886523425579071,
-0.0008945470908656716,
0.034544315189123154,
-0.0725322961807251,
0.04028376191854477,
-0.025576423853635788,
-0.07188660651445389,
-0.010474495589733124,
0.0040422766469419,
0.0029392261058092117,
0.001799182966351509,
0.07260403782129288,
0.02073376253247261,
0.027728717774152756,
0.06449706852436066,
-0.01372087188065052,
-0.032804541289806366,
-0.012671628966927528,
-0.011532707139849663,
-0.04900055378675461,
-0.02740587294101715,
-0.031100643798708916,
0.02152293734252453,
-0.002519977279007435,
0.04161101207137108,
-0.0032822478096932173,
0.04702761769294739,
0.03592536970973015,
0.04476770758628845,
0.03108270838856697,
-0.08523082733154297,
-0.0018967088544741273,
-0.0408577099442482,
-0.013998877257108688,
0.015774520114064217,
-0.0001685683091636747,
-0.07375193387269974,
-0.01309312041848898,
-0.046561285853385925,
-0.011873486451804638,
0.009003762155771255,
0.020877249538898468,
-0.05151156336069107,
0.02236591838300228,
0.032840415835380554,
0.007138440851122141,
-0.057896699756383896,
-0.06941147148609161,
0.028248853981494904,
-0.0442655086517334,
-0.006954599171876907,
0.07360844314098358,
0.03953045979142189,
-0.019298899918794632,
-0.050722386687994,
0.010501399636268616,
-0.012079748325049877,
0.020751697942614555,
-0.027908075600862503,
0.045987341552972794,
0.023746972903609276,
0.034095920622348785,
0.006116101052612066,
0.02069789171218872,
-0.03260724991559982,
0.00720121618360281,
-0.0028047077357769012,
0.033486101776361465,
0.039207618683576584,
-0.0126805966719985,
0.005196892656385899,
0.022796377539634705,
-0.02206101082265377,
-0.03838257119059563,
0.010241330601274967,
-0.019765229895710945,
-0.025953074917197227,
0.05233660712838173,
-0.024195367470383644,
-0.009631514549255371,
-0.00437633041292429,
0.0152364457026124,
0.0008827766869217157,
0.00009976777801057324,
-0.029289130121469498,
-0.04806789383292198,
0.043870918452739716,
0.042543672025203705,
0.004127471707761288,
-0.025271514430642128,
-0.03967394679784775,
0.041862111538648605,
-0.029540231451392174,
0.02618624083697796,
-0.01133541390299797,
-0.048641838133335114,
-0.015460642985999584,
-0.04634605720639229,
0.05355624109506607,
-0.017003120854496956,
0.0028831767849624157,
-0.011147087439894676,
-0.008519495837390423,
-0.036140598356723785,
0.01566690392792225,
-0.0260427538305521,
-0.046453673392534256,
-0.05811192840337753,
-0.0013754501705989242,
0.010958761908113956,
0.013801583088934422,
0.04634605720639229,
0.02948642335832119,
0.006062293890863657,
0.0009046359336934984,
-0.04096532240509987,
-0.04946688190102577,
-0.00041868837433867157,
0.010169588029384613,
0.019944587722420692,
-0.008434301242232323,
-0.07163550704717636,
0.04756569117307663,
-0.05416605621576309,
-0.01000816561281681,
-0.0643535777926445,
-0.020913120359182358,
0.04164688289165497,
-0.050507158041000366,
-0.051834408193826675,
-0.004006404895335436,
0.050471287220716476,
-0.007237087469547987,
-0.003925694152712822,
0.07070285081863403,
0.017272157594561577,
-0.005004082806408405,
-0.004874048288911581,
0.00719224801287055,
0.023926330730319023,
0.06022835150361061,
0.0793478935956955,
0.020070139318704605,
0.016429174691438675,
-0.05825541540980339,
-0.03411385416984558,
-0.0456286258995533,
-0.0401761494576931,
0.033970367163419724,
-0.03058050572872162,
0.05900871753692627,
-0.030024496838450432,
-0.027298258617520332,
0.021953396499156952,
0.015353028662502766,
-0.004293377511203289,
-0.023137157782912254,
-0.047924406826496124,
0.00024759783991612494,
0.005210344213992357,
-0.034885093569755554,
-0.05369972810149193,
0.006941147148609161,
-0.030419083312153816,
-0.05151156336069107,
0.04157514125108719,
-0.0058650001883506775,
0.015083991922438145,
0.03931523114442825,
0.044516608119010925,
-0.05613899230957031,
-0.0025513647124171257,
-0.048570092767477036,
0.04092945158481598,
0.03084954246878624,
-0.03418559953570366,
0.02668844163417816,
0.026544956490397453,
0.052623581141233444,
-0.045915599912405014,
-0.012922730296850204,
-0.033109452575445175,
-0.006815596483647823,
-0.003046840662136674,
-0.04171862453222275,
-0.037091195583343506,
0.04778091982007027,
0.019836973398923874,
-0.03544110432267189,
-0.011730000376701355,
-0.06905275583267212,
0.02001633122563362,
0.028607569634914398,
-0.03459811955690384,
0.017074862495064735,
0.015308189205825329,
-0.01307518407702446,
0.05513459071516991,
-0.057286884635686874,
0.049897342920303345,
0.03400624170899391,
0.03526174649596214,
-0.01518263854086399,
0.02842821180820465,
0.0074971565045416355,
0.028589634224772453,
0.016734084114432335,
0.015155734494328499,
-0.043225232511758804,
0.03895651549100876,
0.09606403857469559,
-0.02198926731944084,
0.017783327028155327,
-0.02198926731944084,
0.04620257019996643,
-0.00413643941283226,
0.01634846441447735,
0.04709935933351517,
0.014205138199031353,
0.010922890156507492,
0.021917523816227913,
-0.02372903749346733,
-0.023657293990254402,
0.03108270838856697
] |
52,085 |
tussik.zpl.zplwriter
|
hline
| null |
def hline(self, left: int = 0, top: int = 0, width: int = 100, thick: int = 2):
thick = int(min(max(1, int(thick * self._config.dpmm)), 32000))
width = int(min(max(thick, int(width * self._config.dpmm)), 32000))
height = max(thick, 0)
left = min(max(int(left * self._config.dpmm), 0), 32000)
top = min(max(int(top * self._config.dpmm), 0), 32000)
self.add(f"^FO{left},{top}{self._reverse}^GB{width},{height},{thick},B,0^FS")
|
(self, left: int = 0, top: int = 0, width: int = 100, thick: int = 2)
|
[
0.004928015172481537,
-0.013084434904158115,
-0.019797468557953835,
0.005982798058539629,
0.0021608108654618263,
-0.026749642565846443,
-0.02263299748301506,
0.020924847573041916,
-0.10289900749921799,
0.003036238020285964,
0.0024725482799112797,
-0.029277704656124115,
0.012153493240475655,
-0.0038198523689061403,
-0.04813569039106369,
0.014980482868850231,
0.03699854761362076,
-0.03778429701924324,
-0.002641228260472417,
-0.08322110772132874,
0.048306506127119064,
-0.02891899272799492,
0.013912888243794441,
0.019045881927013397,
-0.002703148638829589,
-0.037101034075021744,
0.0024127629585564137,
0.01909712702035904,
-0.021283559501171112,
-0.05267937108874321,
0.006495243404060602,
-0.0200195275247097,
-0.01629575900733471,
-0.020976092666387558,
0.007977064698934555,
-0.010641779750585556,
0.0367252416908741,
-0.035222068428993225,
-0.033684734255075455,
0.05657395347952843,
0.03570035099983215,
0.017337730154395103,
0.11984386295080185,
0.01909712702035904,
-0.035017091780900955,
-0.02316252514719963,
0.054455846548080444,
0.0547633171081543,
0.06333823502063751,
0.031805768609046936,
0.0016109996940940619,
-0.07399709522724152,
-0.019045881927013397,
-0.016842367127537727,
-0.049502212554216385,
-0.002316679572686553,
0.0567447692155838,
0.0047999038361012936,
0.006136531941592693,
-0.005948635283857584,
0.005021963268518448,
-0.011658129282295704,
0.030610062181949615,
0.005290997214615345,
0.018379703164100647,
-0.016996100544929504,
-0.009104443714022636,
0.033753059804439545,
0.018550517037510872,
-0.01038555707782507,
0.0046162777580320835,
0.02490483969449997,
0.015902884304523468,
0.02797950990498066,
-0.0012896538246423006,
-0.010786972008645535,
-0.05001465603709221,
0.013494391925632954,
0.06866766512393951,
-0.03617863357067108,
0.03863837197422981,
0.06371402740478516,
0.03918498009443283,
0.011939974501729012,
-0.0156808253377676,
0.019797468557953835,
0.04051733762025833,
0.01141898799687624,
0.017662279307842255,
-0.0034034904092550278,
-0.05923867225646973,
0.0036575780250132084,
-0.021659351885318756,
-0.00752867478877306,
0.042088836431503296,
-0.033086881041526794,
0.00856210570782423,
0.03570035099983215,
-0.005419108550995588,
0.03011469915509224,
-0.013810398988425732,
-0.019934119656682014,
0.04260127991437912,
-0.0027479876298457384,
-0.030661307275295258,
-0.028679851442575455,
-0.02157394401729107,
-0.006068205926567316,
0.0026689856313169003,
0.03525623306632042,
0.0052141305059194565,
-0.04967302456498146,
-0.05517327040433884,
-0.020617380738258362,
0.052645210176706314,
0.016218891367316246,
-0.0015650931745767593,
0.010095171630382538,
0.057120565325021744,
0.010923624970018864,
-0.024734023958444595,
-0.05995609238743782,
-0.008433994837105274,
-0.02637384831905365,
-0.016466574743390083,
0.0038497450295835733,
0.028133243322372437,
-0.009582726284861565,
0.04366033524274826,
-0.13057105243206024,
0.06241583079099655,
0.062108363956213,
0.011393366381525993,
-0.0360419824719429,
-0.053567610681056976,
-0.0118460264056921,
0.009036118164658546,
0.013238169252872467,
0.049775514751672745,
-0.007750734221190214,
-0.01364812534302473,
0.015851639211177826,
-0.016816744580864906,
-0.026117626577615738,
-0.02430698648095131,
0.03576867654919624,
0.010359934531152248,
-0.05261104553937912,
0.07201563566923141,
0.0927867516875267,
-0.0016633118502795696,
-0.0313616506755352,
0.012247441336512566,
0.035085417330265045,
-0.004539410583674908,
-0.02751830965280533,
-0.009958519600331783,
-0.033479757606983185,
0.013340657576918602,
0.030200107023119926,
0.018072236329317093,
-0.027877021580934525,
0.05455833673477173,
-0.03045632876455784,
-0.0293801948428154,
0.03199366480112076,
-0.04478771612048149,
0.009095903486013412,
0.027091272175312042,
-0.007481700740754604,
0.020873602479696274,
-0.08246952295303345,
-0.001354777137748897,
0.019250860437750816,
0.014254518784582615,
-0.010359934531152248,
-0.051312848925590515,
0.018772577866911888,
-0.05032212287187576,
0.016876529902219772,
0.05459250137209892,
0.037476830184459686,
0.004317351151257753,
-0.03477795049548149,
-0.028286976739764214,
0.013545636087656021,
0.03418009728193283,
-0.027689125388860703,
0.00637567276135087,
-0.0016654470236971974,
-0.020600298419594765,
-0.01923377811908722,
0.04307956248521805,
-0.011504395864903927,
0.04154222831130028,
0.03050757385790348,
0.06788191199302673,
0.002174689434468746,
-0.021317722275853157,
0.020805276930332184,
-0.017662279307842255,
0.01439117081463337,
-0.014801126904785633,
-0.04618839919567108,
0.06378234922885895,
-0.0002021756663452834,
0.013289413414895535,
0.018123479560017586,
-0.012341389432549477,
0.033889710903167725,
-0.020309913903474808,
-0.04577844217419624,
-0.054250869899988174,
0.04793071374297142,
0.04933139681816101,
-0.03339434787631035,
-0.0941532701253891,
0.07044413685798645,
0.013733532279729843,
-0.04495852813124657,
0.018994636833667755,
0.004479625727981329,
-0.014382629655301571,
0.021010255441069603,
0.026493418961763382,
0.026066381484270096,
0.037818457931280136,
-0.0067600067704916,
0.004116643685847521,
0.04266960918903351,
-0.018738415092229843,
0.06094682216644287,
-0.06579796969890594,
0.016270136460661888,
0.007652515545487404,
0.018396783620119095,
-0.05329430475831032,
0.03084920346736908,
-0.06569547951221466,
0.008925087749958038,
-0.01094924658536911,
0.05155199021100998,
0.015458764508366585,
0.018072236329317093,
-0.02162518911063671,
0.005688142031431198,
-0.0007216937374323606,
-0.010496586561203003,
-0.053055163472890854,
0.06070768088102341,
-0.10399222373962402,
0.024870675057172775,
0.059853605926036835,
0.03645193949341774,
-0.007874575443565845,
0.053055163472890854,
-0.04912641644477844,
-0.08130797743797302,
-0.04591509327292442,
0.008028308860957623,
0.029824312776327133,
-0.0003968781675212085,
0.037545155733823776,
0.03693022206425667,
0.07755004614591599,
0.04902392998337746,
-0.03833090513944626,
-0.0005743657238781452,
-0.0674036294221878,
0.007319426164031029,
0.01008663047105074,
0.008211934939026833,
0.023401666432619095,
0.03734017536044121,
-0.011931433342397213,
0.032403621822595596,
-0.037408504635095596,
-0.01152147725224495,
-0.009488778188824654,
-0.017576871439814568,
-0.04564179107546806,
-0.03863837197422981,
-0.01659468561410904,
-0.01542460173368454,
-0.060195233672857285,
0.004436921793967485,
0.032403621822595596,
0.026459256187081337,
-0.021983901038765907,
-0.05623232573270798,
-0.008100905455648899,
0.06965839117765427,
0.04260127991437912,
0.019780386239290237,
0.09907274693250656,
-0.007887386716902256,
0.022069308906793594,
0.05913618206977844,
-0.007737923413515091,
0.007033310830593109,
0.02756955474615097,
-0.019865794107317924,
0.04512934386730194,
-0.003832663409411907,
0.006046853959560394,
-0.019917039200663567,
0.026561744511127472,
0.00015680291107855737,
0.06081017106771469,
-0.0507320798933506,
-0.00196010316722095,
0.05636897683143616,
-0.020924847573041916,
-0.030610062181949615,
0.040619827806949615,
0.03734017536044121,
-0.05015130713582039,
0.06559298932552338,
-0.0025451446417719126,
0.017679361626505852,
0.015501468442380428,
-0.05435336008667946,
0.03477795049548149,
0.002142661716789007,
0.016902152448892593,
-0.017986828461289406,
0.007550026755779982,
0.023931192234158516,
-0.02883358672261238,
-0.017064426094293594,
-0.022615917026996613,
0.03665691614151001,
0.007643974851816893,
0.010804054327309132,
-0.029602253809571266,
-0.026117626577615738,
0.0467350073158741,
0.0627916231751442,
-0.0533967949450016,
-0.02796242944896221,
0.06777942180633545,
-0.007152881473302841,
0.000950158922933042,
0.031600791960954666,
0.023179607465863228,
-0.03880918771028519,
-0.007387752179056406,
0.0024127629585564137,
0.027535391971468925,
0.08738899976015091,
0.006303076632320881,
-0.03853588178753853,
0.03407760709524155,
-0.03778429701924324,
0.04307956248521805,
0.02456320822238922,
-0.03259151801466942,
-0.04232797771692276,
0.0059358240105211735,
-0.009061739780008793,
0.018055154010653496,
-0.004116643685847521,
-0.0560615099966526,
0.03392387554049492,
-0.09094195067882538,
0.022069308906793594,
-0.03880918771028519,
0.019797468557953835,
0.014903616160154343,
0.07235726714134216,
-0.04499269276857376,
0.006734384689480066,
-0.011239632032811642,
0.006990607362240553,
0.07966815680265427,
0.041166435927152634,
-0.026937538757920265,
0.009557103738188744,
-0.007208396680653095,
0.008177772164344788,
-0.01411786675453186,
-0.0036896057426929474,
0.01762811653316021,
-0.0533967949450016,
-0.05175697058439255,
0.029721824452280998,
0.010334312915802002,
0.0031536733731627464,
0.02550269104540348,
-0.02931186743080616,
0.0031536733731627464,
0.012819672003388405,
0.06101514771580696,
-0.013178383931517601,
-0.024939002469182014,
-0.025861402973532677,
0.0280307549983263,
0.031207915395498276,
0.0260492991656065,
-0.05636897683143616,
0.0013483715010806918,
-0.05158615484833717,
0.013639584183692932,
0.047179125249385834,
-0.011265254579484463,
-0.06928259879350662,
-0.04126892238855362,
0.0681552141904831,
0.016329921782016754,
-0.05155199021100998,
-0.019336266443133354,
-0.01505734957754612,
-0.030763795599341393,
0.035358723253011703,
0.011598343960940838,
-0.042362138628959656,
0.037818457931280136,
-0.020190343260765076,
-0.0283723846077919,
0.02610054425895214,
-0.008425453677773476,
-0.0106844836845994,
-0.01341752428561449,
0.01542460173368454,
0.0018672223668545485,
0.010735727846622467,
-0.038023438304662704,
0.0074646188877522945,
0.031754523515701294,
-0.018123479560017586,
0.009924355894327164,
-0.029226461425423622,
0.0053379712626338005,
0.0053337011486291885,
-0.06849684566259384,
0.004381407052278519,
0.04225965216755867,
-0.049570538103580475,
0.07509031146764755,
-0.0373743399977684,
0.03156662732362747,
-0.02463153563439846,
0.00854929443448782,
-0.013511473312973976,
0.01488653477281332,
-0.052098598331213,
0.015074430964887142,
-0.027279168367385864,
-0.0019761170260608196,
-0.00447535514831543,
-0.042703770101070404,
0.06183505803346634,
-0.0170131828635931,
-0.0027245006058365107,
-0.01439117081463337,
-0.07638850808143616,
-0.07249391824007034,
-0.04048317298293114,
-0.018174724653363228,
0.04765740782022476,
0.018772577866911888,
0.057120565325021744,
-0.035222068428993225,
0.0067728180438280106,
-0.03764764592051506,
-0.0340263657271862,
0.032540272921323776,
-0.023060036823153496,
-0.04038068652153015,
-0.023914111778140068,
-0.012614693492650986,
-0.048648133873939514,
-0.015031727030873299,
-0.020053690299391747,
0.09019036591053009,
0.04827234148979187,
0.0674036294221878,
0.0447535514831543,
-0.02024158649146557,
-0.05653979256749153,
-0.031669117510318756,
-0.03857004642486572,
-0.018738415092229843,
-0.01478404551744461,
0.05715472623705864,
0.08499758690595627,
-0.03552953526377678,
-0.023469991981983185,
0.016543440520763397,
-0.029721824452280998,
0.003429112723097205,
-0.002792826620861888,
-0.05059542879462242,
-0.01562103908509016,
0.06590045988559723,
0.03576867654919624,
0.011128602549433708,
-0.031737443059682846,
-0.023418746888637543,
-0.05267937108874321,
-0.022752568125724792,
-0.05056126415729523,
-0.012665938585996628,
0.021351885050535202,
-0.010257445275783539,
0.008348586969077587,
0.0230429545044899,
0.004407029133290052,
-0.042293813079595566,
0.0034227073192596436,
-0.00043557846220210195,
-0.031669117510318756,
-0.03467546030879021,
0.01398975495249033,
-0.01937043108046055,
-0.010291608981788158,
-0.046837493777275085,
0.057257216423749924,
0.010394097305834293,
-0.015774773433804512,
0.009591266512870789,
-0.00685822544619441,
0.03112250752747059,
-0.08848221600055695,
-0.00850659143179655,
0.03734017536044121,
0.009685215540230274,
-0.006525136064738035,
0.0660712718963623,
0.014553445391356945,
0.06115179881453514,
0.042567119002342224,
0.007878845557570457,
0.022991709411144257,
0.04902392998337746,
0.0017166915349662304,
-0.037886783480644226,
-0.022581754252314568,
0.036349449306726456,
-0.07905322313308716,
0.01943875662982464,
-0.02897023782134056,
0.026612989604473114,
0.01302464958280325,
-0.004210591781884432,
0.0420546717941761,
0.03898000344634056,
-0.023811621591448784,
-0.03853588178753853,
-0.07488533109426498,
-0.0012170574627816677,
-0.006602002773433924,
0.04051733762025833,
-0.035153742879629135,
-0.028082000091671944,
0.06836019456386566,
0.02430698648095131,
-0.04444608464837074,
0.008899466134607792,
-0.015484387055039406,
0.0054575419053435326,
0.06002442166209221,
0.022410938516259193,
-0.01655198074877262,
-0.03342851251363754,
-0.07577356696128845,
-0.04533432424068451,
0.045095182955265045,
0.013733532279729843,
0.014442414976656437,
0.011265254579484463,
0.038365066051483154,
0.017474383115768433,
0.015757691115140915,
-0.07133238017559052,
0.01935334876179695,
-0.0019184668781235814,
0.014357008039951324,
-0.03409469127655029,
-0.026920456439256668,
-0.037613481283187866,
-0.0040547228418290615,
-0.056915584951639175,
-0.006695951335132122,
-0.009061739780008793,
-0.027022946625947952,
-0.008412642404437065,
0.05568571761250496,
-0.0387066975235939,
-0.023469991981983185,
0.01861884444952011,
-0.029755987226963043,
0.02883358672261238,
0.010231823660433292,
0.010769890621304512,
0.001224530627951026,
0.02738165855407715,
0.002491764957085252,
-0.042430467903614044,
0.04755491763353348,
-0.014339925721287727,
-0.0005850416491739452,
-0.040824804455041885,
0.029619336128234863,
0.006157883908599615,
-0.021744759753346443,
0.023862866684794426,
-0.008916547521948814,
-0.09586142748594284,
-0.07871159166097641,
0.02336750365793705,
0.08308445662260056,
0.01154709979891777,
0.017295027151703835,
-0.046632517129182816,
0.019814549013972282,
0.03713519871234894,
-0.07775502651929855,
0.042498793452978134,
-0.005320889875292778,
0.03693022206425667,
-0.036554425954818726,
0.00121492228936404,
-0.008135068230330944,
0.03342851251363754,
-0.0029828583355993032,
0.0002159209398087114,
-0.08827723562717438,
0.025622261688113213,
-0.02664715237915516,
-0.0008140405989252031,
0.03165203332901001,
-0.030148861929774284,
-0.002438385272398591,
-0.027022946625947952,
0.00781479012221098,
-0.03363348916172981,
-0.0028675582725554705,
-0.012990486808121204,
-0.039560772478580475,
-0.02784285880625248,
-0.020275751128792763,
-0.07283554971218109,
0.01726086437702179,
0.04198634624481201,
0.014058081433176994,
-0.052986837923526764,
-0.011111521162092686,
0.03279649466276169,
0.018772577866911888,
0.012529286555945873,
-0.04294291138648987,
-0.0008337910985574126,
0.023418746888637543,
0.028474874794483185,
0.027227923274040222,
0.013844562694430351,
-0.0507662408053875,
0.014058081433176994,
0.008899466134607792,
-0.009198391810059547,
-0.021864330396056175,
-0.0045863850973546505,
-0.011623966507613659,
-0.03457297384738922,
-0.03853588178753853,
0.07174233347177505,
-0.02910689078271389,
-0.01923377811908722,
-0.07836996018886566,
-0.014527822844684124,
-0.03151538223028183,
-0.07447537779808044,
-0.036349449306726456,
-0.026151789352297783,
-0.023623725399374962,
-0.06350904703140259,
0.002197108929976821,
0.0480673648416996,
0.025212306529283524,
0.007357859518378973,
-0.03645193949341774,
0.015484387055039406,
-0.01094924658536911,
0.017730604857206345,
0.07030748575925827,
0.010974869132041931,
0.03358224406838417,
-0.09189851582050323,
-0.005372134502977133,
-0.02951684594154358,
-0.0440702922642231,
0.005090289283543825,
0.041029781103134155,
0.008732921443879604,
-0.022940466180443764,
-0.025656424462795258,
-0.07768669724464417,
0.006004150025546551,
0.013844562694430351,
-0.028560282662510872,
0.00895071029663086,
-0.03624695912003517,
0.010658861137926579,
-0.04437775909900665,
0.01726086437702179,
0.021796004846692085,
0.012930701486766338,
-0.06846268475055695,
0.0720839649438858,
0.006465350743383169,
-0.00058237265329808,
0.052713535726070404,
-0.010061007924377918,
0.0574280321598053,
0.00850659143179655,
-0.04372866079211235,
-0.001569363521412015,
0.000544206181075424,
0.019114207476377487,
0.019797468557953835,
0.038365066051483154,
0.03617863357067108,
-0.03318937122821808,
-0.002086079213768244,
0.018140561878681183,
-0.028013672679662704,
0.007468889467418194,
-0.0821278914809227,
-0.0297047421336174,
0.029465600848197937,
0.015211082994937897,
-0.029824312776327133,
0.0380575992166996,
0.017388975247740746,
0.02509273588657379,
-0.013391902670264244,
-0.007353589404374361,
0.08390437066555023,
-0.02784285880625248,
-0.003452599747106433,
-0.01302464958280325,
0.01495486032217741,
-0.01774768717586994,
0.01989995688199997,
0.04629088565707207,
0.02249634638428688,
0.03959493711590767,
0.025058573111891747,
0.06323574483394623,
0.03190825879573822,
0.00485968915745616,
0.009540022350847721,
0.004889581818133593,
0.10201076418161392,
-0.012717182748019695,
-0.03484627604484558,
0.042088836431503296,
0.007959982380270958,
-0.029123971238732338,
0.04260127991437912,
-0.030695470049977303,
-0.013537094928324223,
0.04912641644477844,
0.00523975258693099,
0.014083703979849815,
-0.0066489772871136665,
0.03284773975610733
] |
52,086 |
tussik.zpl.zplwriter
|
image
| null |
def image(self, image: Union[str, Image], left: int = 0, top: int = 0,
width: Optional[int] = None, height: Optional[int] = None) -> bool:
if Image is None:
raise Exception("Developer! pillow library is required for ZplWriter.image")
try:
left = min(max(int(left * self._config.dpmm), 0), 32000)
top = min(max(int(top * self._config.dpmm), 0), 32000)
if isinstance(image, str):
rc = requests.get(image, stream=True)
if not rc.ok:
return False
image = Image.open(rc.raw)
if width is None:
width = int(image.size[0])
if height is None:
# maintain aspect ratio
height = int(float(image.size[1]) / image.size[0] * width)
width = width * self._config.dpmm
height = height * self._config.dpmm
totalbytes = math.ceil(width / 8.0) * height
bytesperrow = math.ceil(width / 8.0)
image = image.resize((int(width), int(height)))
image = ImageOps.invert(image.convert('L')).convert('1')
data = image.tobytes().hex().upper()
self.add(f"^FO{left},{top}^GFA,{len(data)},{totalbytes},{bytesperrow},{data}")
return True
except Exception as e:
logger.exception("failed to load image")
return False
|
(self, image: Optional[str], left: int = 0, top: int = 0, width: Optional[int] = None, height: Optional[int] = None) -> bool
|
[
0.03647783398628235,
-0.05242369323968887,
-0.01541816908866167,
0.024907011538743973,
0.007397267036139965,
-0.037302952259778976,
-0.07802150398492813,
-0.024907011538743973,
-0.039528846740722656,
-0.007234162651002407,
0.07053788751363754,
0.012136891484260559,
0.014305220916867256,
0.036285948008298874,
-0.01139812357723713,
-0.0031565511599183083,
-0.03929858282208443,
0.024139460176229477,
-0.01191622018814087,
-0.04355848580598831,
-0.022239774465560913,
-0.01487128995358944,
0.06194131821393967,
0.05376690626144409,
0.059370025992393494,
0.0168573260307312,
0.06800496578216553,
0.005574334878474474,
-0.011282991617918015,
0.009503234177827835,
-0.000026927977160084993,
-0.03674647584557533,
0.06270886957645416,
0.022585172206163406,
-0.004696449264883995,
0.0343095026910305,
0.023698119446635246,
-0.005742236506193876,
-0.10461712628602982,
-0.018814580515027046,
-0.013067546300590038,
-0.027862081304192543,
0.05718250572681427,
-0.014593052677810192,
-0.01010288204997778,
-0.02152979001402855,
-0.02440810389816761,
-0.0753350779414177,
-0.0042167301289737225,
-0.001788152614608407,
0.03902994096279144,
-0.029857711866497993,
-0.006322696805000305,
0.004430205095559359,
-0.00580939743667841,
0.050044286996126175,
0.009469653479754925,
0.04728110507130623,
0.03534569591283798,
-0.0365162119269371,
0.007238959893584251,
-0.04839405417442322,
-0.0019380648154765368,
-0.06297751516103745,
0.01790311373770237,
0.014036578126251698,
-0.053958795964717865,
-0.027862081304192543,
0.02145303413271904,
0.05042806267738342,
-0.010803272016346455,
0.06339966505765915,
0.05150263383984566,
0.019543752074241638,
-0.05330637842416763,
-0.016895703971385956,
-0.009047500789165497,
0.028859896585345268,
0.03749483823776245,
-0.058257076889276505,
0.027996402233839035,
0.04532385244965553,
0.058986250311136246,
0.015178309753537178,
0.0713438093662262,
-0.001942862058058381,
0.01961091347038746,
0.028514498844742775,
0.0038665353786200285,
0.016013020649552345,
-0.01729866862297058,
-0.009719107300043106,
-0.0013791922247037292,
-0.05042806267738342,
0.032793592661619186,
0.023410288617014885,
0.02225896157324314,
-0.0031493552960455418,
0.0026288602966815233,
0.0084286630153656,
-0.055724162608385086,
-0.01739461161196232,
0.04290606826543808,
-0.021702488884329796,
0.04532385244965553,
-0.012750931084156036,
0.001575876958668232,
0.01138852909207344,
-0.006044459529221058,
-0.014142116531729698,
0.03026067465543747,
-0.05702899768948555,
0.021280335262417793,
-0.032352250069379807,
0.07149732112884521,
-0.024676745757460594,
-0.04233040660619736,
-0.06071323901414871,
-0.05733601748943329,
-0.0019380648154765368,
-0.04259904846549034,
-0.0006752045010216534,
-0.0063946545124053955,
-0.012654988095164299,
0.02078142762184143,
-0.010112476535141468,
0.04044990614056587,
-0.01042909175157547,
-0.004022444132715464,
-0.08880558609962463,
-0.012875658459961414,
0.047818392515182495,
-0.031623076647520065,
0.044709812849760056,
-0.029090160503983498,
-0.03674647584557533,
0.012491882778704166,
0.02663400024175644,
-0.04513196647167206,
0.0384734645485878,
0.002578489715233445,
0.030299052596092224,
0.02922448329627514,
0.036880798637866974,
-0.0032405019737780094,
-0.009853428229689598,
0.05242369323968887,
-0.03363789618015289,
0.059216514229774475,
-0.009047500789165497,
0.03578703850507736,
-0.040066130459308624,
-0.005396838765591383,
-0.0030438171233981848,
-0.007632329594343901,
-0.09901400655508041,
0.05165614187717438,
-0.0005960508715361357,
0.019860366359353065,
0.04194663092494011,
0.01527425367385149,
0.02419702708721161,
-0.07552696019411087,
-0.03365708515048027,
-0.04409577324986458,
-0.025693750008940697,
-0.039682358503341675,
0.045822761952877045,
0.05050481855869293,
-0.0068791708908975124,
0.02049359679222107,
-0.08412352949380875,
0.011810681782662868,
-0.00614040344953537,
-0.05998406559228897,
0.08826830238103867,
-0.0646277442574501,
0.022297339513897896,
-0.04766488075256348,
0.024868633598089218,
-0.02935880422592163,
0.013048357330262661,
-0.026077525690197945,
0.01032355334609747,
-0.012559044174849987,
-0.025559429079294205,
0.015917077660560608,
0.02461918070912361,
0.030893905088305473,
-0.01939024217426777,
-0.019802801311016083,
0.04236878454685211,
0.027343984693288803,
-0.02020576409995556,
0.01557167898863554,
-0.008207992650568485,
0.018613098189234734,
-0.01112948078662157,
0.013364971615374088,
0.072533518075943,
-0.02588563784956932,
0.010179637931287289,
0.025405919179320335,
0.0007681500865146518,
-0.004710840526968241,
-0.010275580920279026,
-0.016847731545567513,
0.03359951823949814,
-0.05046644061803818,
-0.004950700327754021,
-0.006457017734646797,
-0.03682323172688484,
-0.03492354601621628,
0.0388956181704998,
0.036804042756557465,
-0.02279624715447426,
-0.01805662363767624,
0.06704553216695786,
-0.020474407821893692,
-0.00319972587749362,
0.023621363565325737,
0.04578438401222229,
-0.027977213263511658,
-0.03824320062994957,
0.042637426406145096,
0.021414656192064285,
0.04321308806538582,
-0.01900646835565567,
-0.004113590344786644,
0.01857472024857998,
-0.002811153419315815,
-0.00732051208615303,
-0.014074956066906452,
0.0754118263721466,
0.02987690083682537,
-0.028149912133812904,
-0.06612446904182434,
0.013624019920825958,
-0.043903883546590805,
-0.013412944041192532,
-0.016828542575240135,
0.010889621451497078,
-0.00132762233261019,
0.004322268534451723,
-0.005876557901501656,
-0.09118498861789703,
-0.046628687530756,
0.06558718532323837,
-0.02456161379814148,
-0.01413252204656601,
0.0009402493014931679,
-0.05487985536456108,
0.0048859380185604095,
-0.00972390454262495,
-0.04091043770313263,
0.036209192126989365,
-0.011465284042060375,
-0.08650293201208115,
0.06339966505765915,
0.02160654403269291,
0.03223711624741554,
-0.08097656816244125,
-0.021855998784303665,
0.03701511770486832,
0.01746177300810814,
-0.019802801311016083,
0.00017914506315719336,
0.047741636633872986,
-0.08312571048736572,
0.0430595800280571,
0.00854379590600729,
0.033906541764736176,
0.0036314730532467365,
0.01490007247775793,
0.07088328152894974,
-0.04163961112499237,
0.061864566057920456,
-0.043174710124731064,
-0.0036098856944590807,
-0.05472634360194206,
0.020819805562496185,
-0.005742236506193876,
-0.03803212195634842,
-0.037840235978364944,
-0.0013456118758767843,
-0.009488842450082302,
0.06205645203590393,
0.05925489217042923,
-0.0010325951734557748,
-0.04762650281190872,
0.00802569929510355,
0.08657968789339066,
-0.0442492812871933,
-0.048278920352458954,
-0.02935880422592163,
0.008006510324776173,
-0.0014727374073117971,
-0.026499679312109947,
-0.002564098220318556,
-0.02686426416039467,
-0.009958966635167599,
-0.023467853665351868,
0.10415659099817276,
-0.01331700012087822,
0.0024657556787133217,
0.02256598323583603,
-0.06044459715485573,
-0.00621236115694046,
-0.02966582402586937,
0.0014727374073117971,
0.013825502246618271,
0.044709812849760056,
-0.012204051949083805,
-0.02026333101093769,
0.050926972180604935,
-0.05557065084576607,
0.052346937358379364,
0.02824585512280464,
0.02264273725450039,
0.06792820990085602,
0.04363524168729782,
0.022470038384199142,
-0.015485329553484917,
0.012405533343553543,
0.004646078683435917,
-0.014996016398072243,
0.0454389862716198,
0.0365162119269371,
0.05415068194270134,
0.027708569541573524,
-0.043903883546590805,
0.06666175276041031,
0.053152866661548615,
0.03298547863960266,
-0.017787981778383255,
0.02471512369811535,
-0.01900646835565567,
-0.004475778434425592,
-0.009891806170344353,
0.0014223669422790408,
-0.044709812849760056,
-0.02826504409313202,
-0.017874330282211304,
-0.007641924079507589,
0.03862697631120682,
-0.0034060049802064896,
0.0034084036014974117,
-0.04497845470905304,
0.02575131691992283,
0.006740052253007889,
-0.015063176862895489,
0.017787981778383255,
0.029090160503983498,
-0.034136805683374405,
0.015715595334768295,
0.013537670485675335,
-0.0016562299570068717,
0.003542724996805191,
0.041754744946956635,
0.014746562577784061,
0.05814194306731224,
0.005876557901501656,
-0.05127236992120743,
0.03365708515048027,
-0.03743727132678032,
0.028879085555672646,
0.021779242902994156,
-0.012079324573278427,
0.024983765557408333,
-0.002988649532198906,
0.007924958132207394,
-0.03513462096452713,
-0.06293913722038269,
-0.055148497223854065,
0.04152447730302811,
0.01264539361000061,
-0.0022666724398732185,
-0.022354906424880028,
0.00004175054709776305,
0.055302008986473083,
-0.027535870671272278,
0.03647783398628235,
0.013345782645046711,
-0.01216567400842905,
0.04137096926569939,
0.004425407852977514,
-0.04328984394669533,
0.034002482891082764,
-0.05653008818626404,
-0.09318061918020248,
-0.05702899768948555,
0.012741337530314922,
-0.0032069217413663864,
-0.02619265764951706,
0.01612815260887146,
-0.04290606826543808,
-0.004859553650021553,
0.06558718532323837,
0.0018553133122622967,
0.011599605903029442,
0.012156079523265362,
-0.08243491500616074,
0.019217543303966522,
0.05710575357079506,
0.0486626960337162,
-0.03471246734261513,
-0.004801987204700708,
-0.038953185081481934,
0.027267228811979294,
-0.029685012996196747,
0.0166462492197752,
-0.08826830238103867,
-0.08258842676877975,
0.048701073974370956,
-0.0003981667978223413,
-0.005080224480479956,
0.029550692066550255,
-0.03304304555058479,
-0.026960209012031555,
-0.013470510020852089,
0.03594055026769638,
0.03659296780824661,
0.023467853665351868,
0.029262859374284744,
-0.03874210640788078,
-0.04210014268755913,
0.021433845162391663,
0.0058813551440835,
-0.03933696076273918,
0.03160388767719269,
-0.02337191067636013,
-0.03164226561784744,
0.01790311373770237,
-0.0016922088107094169,
0.012271212413907051,
-0.03933696076273918,
-0.010419497266411781,
0.0020903756376355886,
0.019706856459379196,
0.02316083386540413,
0.07049950957298279,
-0.05031292885541916,
-0.0070134918205440044,
0.004492568783462048,
-0.06205645203590393,
0.018545936793088913,
0.004854756407439709,
0.0032165159936994314,
-0.05142587795853615,
0.02181762084364891,
0.027324795722961426,
0.08604240417480469,
-0.051963165402412415,
-0.011302179656922817,
-0.021126825362443924,
-0.037686724215745926,
-0.034942734986543655,
-0.061135392636060715,
-0.01783595234155655,
0.023851629346609116,
0.011743521317839622,
0.0011435302440077066,
-0.06888765096664429,
0.02108844742178917,
0.012395939789712429,
-0.0014511500485241413,
-0.00580939743667841,
0.008140831254422665,
0.007939349859952927,
0.013585642911493778,
-0.000426650105509907,
-0.0546112135052681,
-0.05119561403989792,
-0.009709512814879417,
0.060828372836112976,
0.024312159046530724,
0.006010879296809435,
0.07537344843149185,
0.03642026707530022,
-0.026000769808888435,
-0.033906541764736176,
-0.03998937830328941,
0.00020208163186907768,
-0.046935707330703735,
-0.013700774870812893,
-0.042138516902923584,
-0.02316083386540413,
0.009522422216832638,
0.05192478746175766,
-0.009282562881708145,
-0.029013406485319138,
0.00036518610431812704,
-0.02907097153365612,
0.04850918799638748,
-0.05434257164597511,
-0.004022444132715464,
-0.0192367322742939,
-0.04674382135272026,
-0.07264864444732666,
-0.05829545482993126,
-0.01590748317539692,
0.047242727130651474,
-0.003633871441707015,
0.021587355062365532,
0.052999358624219894,
-0.0388956181704998,
0.054841477423906326,
-0.02204788662493229,
0.015552490949630737,
-0.015888294205069542,
-0.034731656312942505,
-0.01767284795641899,
-0.005910138133913279,
0.03904912620782852,
-0.06270886957645416,
-0.02707534097135067,
-0.014928855933248997,
0.008961151354014874,
-0.061135392636060715,
-0.05495661124587059,
-0.00021767251018900424,
-0.006927142385393381,
0.025463486090302467,
-0.0048187775537371635,
-0.01937105320394039,
0.047242727130651474,
0.039759110659360886,
-0.02676832117140293,
-0.00022666723816655576,
0.00873088650405407,
-0.02751668356359005,
-0.0000037712286484747892,
0.013134706765413284,
-0.028668008744716644,
-0.002600077074021101,
0.019553346559405327,
-0.012875658459961414,
-0.002389000728726387,
-0.022911380976438522,
-0.0394904688000679,
0.02020576409995556,
-0.02227815054357052,
0.018968090415000916,
0.004674861673265696,
0.019112005829811096,
-0.0016922088107094169,
0.04578438401222229,
-0.01789351925253868,
0.039759110659360886,
-0.037091873586177826,
0.008160020224750042,
-0.017922302708029747,
0.0365162119269371,
0.027862081304192543,
0.04935349151492119,
0.14775346219539642,
0.008054482750594616,
-0.019217543303966522,
-0.015801943838596344,
-0.025425108149647713,
-0.044940076768398285,
0.010784083046019077,
-0.030893905088305473,
0.034367069602012634,
-0.12572476267814636,
-0.031776588410139084,
0.008750074543058872,
-0.009517624974250793,
0.0101700434461236,
-0.003960080444812775,
0.03446301445364952,
0.010035721585154533,
0.003892919747158885,
-0.04612978175282478,
-0.0012214845046401024,
-0.019582130014896393,
0.00994937215000391,
0.02197113074362278,
0.03164226561784744,
-0.022834625095129013,
0.031987663358449936,
-0.04950700327754021,
0.021337902173399925,
-0.016310445964336395,
-0.04233040660619736,
-0.019783612340688705,
-0.026000769808888435,
0.01679016649723053,
0.00023985950974747539,
-0.03902994096279144,
0.04950700327754021,
-0.03356114402413368,
0.06907954066991806,
-0.0020076241344213486,
-0.04451792314648628,
0.047971900552511215,
0.03425193950533867,
-0.037168629467487335,
-0.016310445964336395,
-0.03743727132678032,
0.04835567623376846,
0.014698591083288193,
-0.06961682438850403,
-0.024887822568416595,
-0.006293913349509239,
0.040066130459308624,
-0.05096535012125969,
0.08926611393690109,
-0.00745483348146081,
0.0020280121825635433,
0.05392041802406311,
0.02981933392584324,
0.000729172897990793,
-0.05269233509898186,
-0.007574763149023056,
0.021337902173399925,
-0.03714944049715996,
0.04163961112499237,
0.04129421338438988,
0.012012164108455181,
0.00621236115694046,
0.03793618083000183,
-0.004154366906732321,
0.003993660677224398,
0.02381325140595436,
0.004044031258672476,
0.02619265764951706,
-0.020301708951592445,
0.059523534029722214,
-0.016598278656601906,
0.002991048153489828,
0.01628166250884533,
0.08205114305019379,
0.02655724436044693,
-0.030951470136642456,
-0.02329515479505062,
0.017922302708029747,
0.039605602622032166,
-0.0009678330970928073,
-0.01805662363767624,
0.017125969752669334,
-0.01789351925253868,
-0.006437829229980707,
0.013077140785753727,
0.022431660443544388,
0.06029108539223671,
0.018363643437623978,
-0.018814580515027046,
0.016531117260456085,
-0.046053025871515274,
-0.01812378503382206,
0.009153039194643497,
0.042407162487506866,
0.016982052475214005,
0.05031292885541916,
0.019706856459379196,
-0.013029168359935284,
0.053651776164770126,
-0.021280335262417793,
-0.04497845470905304,
0.004629288334399462,
-0.005420824978500605,
-0.020954126492142677,
0.04221527278423309,
-0.028533687815070152,
0.006356277037411928,
0.06086674705147743,
-0.022527605295181274,
-0.0016838137526065111,
-0.004096800461411476,
-0.01231918390840292,
0.014765751548111439,
-0.001741380081512034,
-0.03607486933469772,
0.071842722594738,
0.03440544754266739,
-0.038492653518915176,
-0.04210014268755913,
0.011685955338180065,
0.03127767890691757,
-0.044633056968450546,
-0.011599605903029442,
-0.007776245474815369,
0.030164731666445732,
0.05276909098029137,
0.08504458516836166,
0.002895104233175516,
-0.028207479044795036,
-0.04850918799638748,
0.025559429079294205,
-0.04363524168729782,
-0.007790636736899614,
0.059446781873703,
-0.018306078389286995,
0.06282400339841843,
0.0005132993683218956,
-0.04148609936237335,
0.029128538444638252,
-0.03054850734770298,
-0.03262089192867279,
-0.07568047195672989,
-0.026422923430800438,
-0.03734132647514343,
0.03262089192867279,
-0.022834625095129013,
0.006615325342863798,
-0.006255535874515772,
0.05042806267738342,
0.03290872275829315,
0.004761211108416319,
-0.02655724436044693,
-0.005929327104240656,
-0.0003423994348850101,
-0.01826770044863224,
-0.034942734986543655,
0.06443586200475693,
0.0047851973213255405,
0.03070201724767685,
0.021318713203072548,
-0.019409431144595146,
0.004391827620565891,
0.06071323901414871,
0.029397182166576385,
-0.07356970757246017,
-0.0016370411030948162,
-0.010649762116372585,
-0.04728110507130623,
-0.030164731666445732,
-0.03127767890691757,
-0.013595236465334892,
0.007272540125995874,
0.04363524168729782,
-0.0261159036308527,
0.03306223452091217,
-0.007397267036139965,
-0.04041152819991112,
0.01745217852294445,
-0.01202175859361887,
-0.018402021378278732,
-0.05599280446767807,
0.0486626960337162,
0.009373709559440613,
-0.018545936793088913,
-0.0018553133122622967,
0.024945389479398727,
0.002444168319925666,
0.03070201724767685,
-0.0084286630153656,
-0.03793618083000183,
0.038569409400224686,
0.05495661124587059,
-0.034808412194252014,
0.016176125034689903,
0.05599280446767807,
0.09440870583057404,
-0.02552105113863945,
-0.008279950357973576,
0.017471367493271828,
0.04570762813091278,
-0.04497845470905304,
-0.07794474810361862,
-0.02337191067636013,
-0.008107251487672329,
-0.016320040449500084,
-0.008826829493045807,
0.02329515479505062,
-0.03987424448132515,
0.04904647171497345
] |
52,087 |
tussik.zpl.zplwriter
|
label_length
| null |
def label_length(self, length: int):
len = int(min(32000, max(1, length)) * self._config.dpmm)
self.add(f"^LL{len}")
|
(self, length: int)
|
[
-0.020118048414587975,
0.08040507882833481,
0.023306062445044518,
0.03375939279794693,
0.009991908445954323,
0.04312208667397499,
-0.013834304176270962,
-0.028171978890895844,
0.0031964038498699665,
-0.018104566261172295,
-0.00996673945337534,
-0.021057672798633575,
0.08261990547180176,
-0.0002849812153726816,
0.0392964705824852,
0.03597422316670418,
0.02354096807539463,
-0.04631010442972183,
0.000048927893658401445,
-0.026091380044817924,
0.02354096807539463,
0.08208297938108444,
0.027098121121525764,
-0.035303063690662384,
-0.045605383813381195,
0.010033855214715004,
0.014471907168626785,
0.014765540137887001,
-0.02391010709106922,
-0.01901063323020935,
-0.01277722604572773,
0.008741870522499084,
-0.028927035629749298,
-0.008125241845846176,
-0.0076344553381204605,
-0.007160448003560305,
0.005524493288248777,
-0.027467260137200356,
-0.020923441275954247,
0.009488536976277828,
0.011653031222522259,
-0.016174977645277977,
-0.007970036007463932,
0.013632955960929394,
-0.035235948860645294,
-0.031141865998506546,
0.00404164707288146,
0.013213480822741985,
-0.019916700199246407,
-0.018305914476513863,
0.0031859169248491526,
0.042081788182258606,
-0.02765182964503765,
-0.020352954044938087,
-0.03263520076870918,
0.050504859536886215,
0.017819322645664215,
0.04533692076802254,
-0.006912957411259413,
0.005356702953577042,
-0.02973242849111557,
0.05325661972165108,
0.029614975675940514,
-0.02973242849111557,
0.010646290145814419,
0.014757150784134865,
0.006510260980576277,
0.0443301796913147,
0.0411757230758667,
-0.030470704659819603,
0.03721587359905243,
-0.007101721595972776,
-0.012651382945477962,
0.02146036922931671,
0.021762393414974213,
0.018842842429876328,
-0.04030321165919304,
-0.011518798768520355,
0.04631010442972183,
-0.030051229521632195,
0.019111307337880135,
0.002397302770987153,
0.06040448322892189,
-0.013255427591502666,
0.03580643609166145,
-0.050068605691194534,
-0.04701482132077217,
0.006355054676532745,
0.021577823907136917,
-0.05540433153510094,
-0.041645534336566925,
0.0196482352912426,
0.03849107772111893,
0.01892673783004284,
-0.05771983787417412,
0.0013979023788124323,
0.02389332838356495,
0.002321797190234065,
0.02865857072174549,
-0.03188014402985573,
0.02684643678367138,
-0.04332343861460686,
0.00041239691199734807,
0.041075047105550766,
-0.010604342445731163,
-0.011913105845451355,
-0.020487187430262566,
0.00794067233800888,
-0.01586456596851349,
0.009337525814771652,
0.0013098124181851745,
-0.016552506014704704,
0.0408736988902092,
-0.005046291276812553,
-0.03922935575246811,
0.05976687744259834,
0.03721587359905243,
0.0025231456384062767,
-0.02397722378373146,
0.0014817974297329783,
0.04875984042882919,
-0.014262169599533081,
-0.05909571796655655,
-0.04067235067486763,
0.02850756049156189,
0.047249726951122284,
-0.015126288868486881,
0.028406886383891106,
0.01988314278423786,
-0.06728388369083405,
0.05882725492119789,
0.03607489913702011,
0.005784567911177874,
0.053457967936992645,
0.0735592395067215,
-0.05909571796655655,
-0.01586456596851349,
0.025252429768443108,
0.009488536976277828,
0.05540433153510094,
-0.02981632389128208,
0.03916224092245102,
0.061377666890621185,
-0.017399847507476807,
0.0003049063088838011,
0.014455128461122513,
0.0090355034917593,
0.002730785869061947,
0.029749207198619843,
0.005138575565069914,
0.028406886383891106,
-0.00453453091904521,
0.04241736978292465,
0.011904716491699219,
-0.002051235642284155,
0.028608234599232674,
0.020185165107250214,
-0.04634366184473038,
0.04094081372022629,
-0.011502020061016083,
-0.015361195430159569,
-0.021057672798633575,
-0.06728388369083405,
-0.030269356444478035,
-0.05033706873655319,
0.003982920665293932,
0.010251983068883419,
-0.002743370132520795,
-0.005482545588165522,
0.04479999095201492,
0.00467715272679925,
-0.07899563759565353,
0.11389600485563278,
0.02719879522919655,
-0.005851684138178825,
0.011913105845451355,
-0.018809285014867783,
0.01894351653754711,
-0.01793677546083927,
-0.026225613430142403,
0.03443055599927902,
0.04483354836702347,
-0.030286137014627457,
-0.01944688707590103,
0.027970630675554276,
0.044296618551015854,
-0.014161495491862297,
0.06815639138221741,
-0.028188757598400116,
-0.04802156239748001,
0.023440293967723846,
-0.04708193615078926,
-0.0030852428171783686,
-0.029262615367770195,
-0.013834304176270962,
0.005650335922837257,
0.06386096030473709,
-0.01776898466050625,
-0.00822591595351696,
-0.05976687744259834,
-0.008104267530143261,
0.06070650368928909,
-0.03404463827610016,
-0.015226962976157665,
0.0012794004287570715,
0.004815579392015934,
-0.012013779953122139,
0.09268732368946075,
-0.04768598452210426,
-0.057417817413806915,
0.03728298842906952,
-0.006984268315136433,
0.043524786829948425,
0.0955061987042427,
0.006241796538233757,
-0.04325632005929947,
-0.14403113722801208,
0.04104148969054222,
-0.0059565529227256775,
-0.017836101353168488,
0.04627654328942299,
0.004308014176785946,
0.018473703414201736,
-0.024363141506910324,
0.0015824715374037623,
-0.0019421718316152692,
0.03479969501495361,
0.028541117906570435,
0.04224957898259163,
0.06231728941202164,
0.014874603599309921,
-0.021795950829982758,
-0.007135279476642609,
0.030420368537306786,
0.06429721415042877,
-0.004433856811374426,
-0.012181570753455162,
0.016116252169013023,
-0.03188014402985573,
0.00960599072277546,
-0.04916253685951233,
-0.004035355057567358,
-0.0012678649509325624,
-0.024077897891402245,
0.018742168322205544,
0.024950407445430756,
-0.0031880142632871866,
0.02713168039917946,
-0.002131984569132328,
0.006615129765123129,
-0.07409616559743881,
-0.01979924738407135,
-0.01119999773800373,
0.023004040122032166,
0.05090755596756935,
0.015537374652922153,
-0.00021065538749098778,
-0.03276943042874336,
0.0007319848518818617,
-0.00034659169614315033,
-0.00416748970746994,
0.022047635167837143,
-0.04990081489086151,
0.014992056414484978,
0.037249431014060974,
0.07443174719810486,
-0.0056293620727956295,
-0.008834155276417732,
0.009522095322608948,
-0.033155348151922226,
0.04886051267385483,
0.05073976516723633,
-0.020503966137766838,
0.008070710115134716,
0.007848387584090233,
-0.012575877830386162,
0.020403292030096054,
0.05261901393532753,
-0.0010958799393847585,
0.0010235203662887216,
0.015210184268653393,
-0.03922935575246811,
-0.0036431453190743923,
-0.002456029411405325,
-0.05758560448884964,
0.026091380044817924,
0.02139325439929962,
0.010428162291646004,
-0.04822291061282158,
-0.004203145392239094,
0.013733630068600178,
0.0075337812304496765,
0.05224987864494324,
0.07537136971950531,
0.03459834307432175,
-0.015377974137663841,
0.038759540766477585,
0.03745077922940254,
0.011057375930249691,
0.008825765922665596,
-0.0798010304570198,
-0.06053871288895607,
0.04040388762950897,
-0.030319694429636,
-0.03966560959815979,
-0.03607489913702011,
0.04688058793544769,
-0.01971535198390484,
0.06862620264291763,
0.006992657668888569,
-0.013154753483831882,
0.03896089270710945,
0.048055119812488556,
0.0029447185806930065,
0.08604282885789871,
0.10335878282785416,
-0.0031104113440960646,
0.024010781198740005,
0.03424598649144173,
0.014102769084274769,
-0.02196374163031578,
-0.026292728260159492,
-0.023155052214860916,
-0.025453777983784676,
0.0010749060893431306,
0.035168830305337906,
0.07114305347204208,
-0.02080598846077919,
0.015847787261009216,
-0.06372673064470291,
-0.005331534426659346,
-0.038625311106443405,
0.014924940653145313,
-0.029984112828969955,
-0.06533751636743546,
0.0038948305882513523,
0.05674665421247482,
0.03424598649144173,
-0.0480886809527874,
-0.008699923753738403,
0.0728880763053894,
-0.004962395876646042,
-0.033021118491888046,
0.05382710322737694,
0.05902860313653946,
-0.011812431737780571,
0.02542021870613098,
-0.006862620357424021,
0.008842544630169868,
0.05426336079835892,
-0.00516374409198761,
0.022332878783345222,
-0.0008132582879625261,
-0.03835684433579445,
0.04003474861383438,
-0.06547174602746964,
0.00960599072277546,
0.01630081981420517,
-0.02979954518377781,
0.031997594982385635,
-0.04845781624317169,
-0.03792059049010277,
0.023423515260219574,
0.002068014582619071,
-0.008934829384088516,
0.027182016521692276,
0.007668013218790293,
0.010939923115074635,
0.0057552047073841095,
0.06359249353408813,
-0.058424558490514755,
-0.03892733156681061,
0.016745464876294136,
0.007730934768915176,
0.011418124660849571,
0.0392964705824852,
-0.045605383813381195,
-0.027903513982892036,
-0.09664717316627502,
-0.03248418867588043,
-0.07335788756608963,
-0.034094974398612976,
0.002728688530623913,
0.01623370498418808,
0.02347385324537754,
0.01958112046122551,
-0.005260223522782326,
-0.031561341136693954,
-0.0036808981094509363,
0.052887480705976486,
0.010763742960989475,
0.005734230857342482,
0.028910256922245026,
-0.011636252515017986,
-0.028406886383891106,
0.03520239144563675,
-0.07402905076742172,
0.01778576336801052,
0.06621002405881882,
0.0009044941980391741,
-0.002418276621028781,
-0.02966531179845333,
-0.030000893399119377,
0.06077362224459648,
-0.03493392467498779,
0.04657856747508049,
0.03577287495136261,
0.03902800753712654,
-0.045605383813381195,
-0.02038651332259178,
-0.012450034730136395,
0.05144448205828667,
0.015738723799586296,
-0.043591901659965515,
-0.009908013045787811,
-0.05271968990564346,
0.007701571565121412,
-0.0798010304570198,
0.012609435245394707,
-0.027903513982892036,
0.008460822515189648,
0.00005715354564017616,
0.05406201258301735,
0.016284041106700897,
0.03360838443040848,
0.045907407999038696,
0.03993407264351845,
0.038692425936460495,
-0.010159698314964771,
0.008968387730419636,
-0.07463309168815613,
0.03627624735236168,
0.007126890122890472,
-0.002443445147946477,
-0.03362516313791275,
-0.022131530568003654,
-0.009043892845511436,
-0.028054526075720787,
0.0026007485575973988,
-0.058424558490514755,
0.0480886809527874,
-0.00020593628869391978,
0.03533662110567093,
0.048994746059179306,
0.03248418867588043,
-0.04815579578280449,
-0.020034153014421463,
-0.05882725492119789,
-0.014807487837970257,
-0.03073916956782341,
-0.04436373710632324,
0.00411295797675848,
0.05292103812098503,
-0.0010927338153123856,
0.04708193615078926,
-0.038692425936460495,
-0.06365961581468582,
-0.08584147691726685,
-0.04775309935212135,
-0.018742168322205544,
-0.012592656537890434,
0.0741632804274559,
-0.019765688106417656,
0.046612124890089035,
-0.01702231913805008,
-0.012785615399479866,
0.0331721268594265,
0.010621121153235435,
-0.03540373966097832,
0.02548733539879322,
-0.009773780591785908,
-0.026376623660326004,
0.06178036332130432,
0.01778576336801052,
0.040705908089876175,
0.011434904299676418,
-0.014463517814874649,
0.01277722604572773,
-0.032433852553367615,
-0.03765212744474411,
-0.014488685876131058,
-0.016401493921875954,
-0.00018076774722430855,
0.01543670054525137,
-0.014589359983801842,
0.025151755660772324,
-0.03015190362930298,
0.023943666368722916,
-0.03943070396780968,
-0.004903669469058514,
-0.035739317536354065,
0.025235651060938835,
-0.01763475313782692,
0.006074006203562021,
0.05238410830497742,
-0.010310709476470947,
0.03370905667543411,
-0.021863067522644997,
-0.012374529615044594,
0.013129585422575474,
-0.055471450090408325,
-0.0031313851941376925,
0.03688029199838638,
-0.04788733273744583,
0.008104267530143261,
0.05365931615233421,
-0.02518531307578087,
-0.006472507957369089,
-0.02347385324537754,
0.005373482126742601,
-0.029044488444924355,
0.006355054676532745,
0.028121642768383026,
0.04077302664518356,
0.002101572696119547,
0.013490334153175354,
-0.006111759226769209,
0.02914516255259514,
0.006241796538233757,
0.018977073952555656,
0.002191759878769517,
-0.008649585768580437,
-0.004526141565293074,
-0.121278777718544,
-0.015143068507313728,
-0.006690635345876217,
-0.0036074898671358824,
-0.07275383919477463,
0.0012038948480039835,
0.07631099224090576,
0.013549060560762882,
0.014731981791555882,
0.027098121121525764,
0.03073916956782341,
-0.027333028614521027,
0.032685536891222,
-0.07322365790605545,
-0.010033855214715004,
0.04436373710632324,
-0.010210035368800163,
-0.0306552741676569,
-0.05298815295100212,
0.044598642736673355,
-0.008968387730419636,
-0.023960445076227188,
0.06278710067272186,
0.03594066575169563,
-0.0008725092047825456,
0.014958498999476433,
0.00409617880359292,
-0.025822915136814117,
0.01623370498418808,
-0.022551005706191063,
-0.02966531179845333,
0.017332730814814568,
-0.0035928082652390003,
0.04043744504451752,
-0.015034004114568233,
0.05902860313653946,
0.02518531307578087,
-0.03620913252234459,
-0.05016927793622017,
0.0704047828912735,
-0.05976687744259834,
-0.04016898199915886,
0.0003473781980574131,
-0.06738455593585968,
-0.08624417334794998,
-0.055605679750442505,
0.04802156239748001,
0.0026867410633713007,
0.010570784099400043,
-0.0306552741676569,
-0.014899772591888905,
-0.06174680218100548,
-0.05030351132154465,
-0.0008305616211146116,
0.016376325860619545,
0.007852582260966301,
0.006560598034411669,
-0.08396223187446594,
0.10577496141195297,
-0.005033706780523062,
0.030353251844644547,
0.03281977027654648,
0.02065497636795044,
-0.02260134369134903,
-0.002338576363399625,
-0.03845752030611038,
-0.0011367787374183536,
-0.05486740544438362,
-0.03896089270710945,
-0.01532763708382845,
-0.02030261792242527,
-0.02290336601436138,
-0.004075204953551292,
-0.0443301796913147,
-0.015201794914901257,
0.013465166091918945,
0.07188133150339127,
0.03688029199838638,
0.01097348053008318,
-0.0691966861486435,
0.08429781347513199,
0.038625311106443405,
-0.0028020967729389668,
0.027450481429696083,
0.00433737738057971,
-0.07765331864356995,
-0.04325632005929947,
-0.00467715272679925,
0.039128679782152176,
0.038759540766477585,
-0.08329106867313385,
-0.07684792578220367,
-0.045605383813381195,
0.02542021870613098,
-0.03855819255113602,
0.03333991765975952,
-0.074834443628788,
-0.03102441318333149,
0.010545616038143635,
0.002081647515296936,
-0.033809732645750046,
-0.010847638361155987,
0.0411757230758667,
-0.038994450122117996,
-0.0002522096910979599,
-0.00892644003033638,
-0.03839040547609329,
-0.013154753483831882,
0.03664538636803627,
-0.02146036922931671,
-0.05329017713665962,
-0.0027077149134129286,
0.00012977526057511568,
-0.020554302260279655,
0.0025734826922416687,
0.024245688691735268,
0.01691325567662716,
-0.03146066889166832,
-0.04943099990487099,
-0.08288837224245071,
-0.0029782764613628387,
0.02879280224442482,
0.03701452538371086,
-0.01291984785348177,
0.03109152987599373,
-0.025755800306797028,
0.005860073491930962,
-0.0028859919402748346,
-0.013825914822518826,
0.03966560959815979,
0.005868463311344385,
0.012794004753232002,
-0.03404463827610016,
0.00994157139211893,
0.007420522626489401,
-0.02045362815260887,
-0.09564042836427689,
-0.046612124890089035,
-0.0331721268594265,
0.00957243237644434,
-0.016200145706534386,
0.04379324987530708,
-0.034363437443971634,
0.043222762644290924,
-0.044665757566690445,
-0.018305914476513863,
-0.0675523430109024,
-0.0265611931681633,
-0.0032446435652673244,
0.0017838198691606522,
0.01793677546083927,
0.03209827095270157,
-0.017383066937327385,
-0.033138569444417953,
-0.015638049691915512,
0.05412912741303444,
0.0094298105686903,
-0.007353406865149736,
-0.028541117906570435,
-0.021930182352662086,
-0.08805631101131439,
0.026980668306350708,
0.043088529258966446,
0.012357749976217747,
0.030336473137140274,
0.03275265172123909,
0.021695276722311974,
-0.018557598814368248,
0.02562156692147255,
0.02535310387611389,
0.034363437443971634,
-0.022299321368336678,
-0.023507410660386086,
-0.02864179201424122,
-0.02369198016822338,
0.029245836660265923,
-0.03290366381406784,
0.018305914476513863,
0.002166591351851821,
-0.047618865966796875,
-0.03310501202940941,
-0.010746964253485203,
0.013825914822518826,
-0.041712649166584015,
-0.005633556749671698,
-0.06268642842769623,
0.04721616953611374,
0.024010781198740005,
0.06735099852085114,
0.02771894633769989,
-0.04674635827541351,
-0.04714905470609665,
-0.02879280224442482,
-0.022047635167837143,
-0.0053273397497832775,
-0.029463963583111763,
0.038189057260751724,
0.01187954843044281,
0.04426306113600731,
0.03330636024475098,
-0.008318200707435608,
-0.09309002012014389,
0.01519340556114912,
-0.005893631838262081,
0.004075204953551292,
-0.06090785190463066,
-0.020067710429430008,
-0.009564043022692204,
0.06124343350529671,
-0.05047130212187767,
-0.04097437486052513,
-0.0033285387326031923,
0.042719390243291855,
-0.0035068157594650984,
0.010914754122495651,
0.025655126199126244,
-0.014924940653145313,
0.0337761715054512,
0.0016978273633867502,
0.04016898199915886,
0.0018247186671942472,
0.010042245499789715,
0.024228908121585846,
-0.008087488822638988,
0.060639388859272,
0.020638197660446167,
-0.002382621169090271,
0.024950407445430756,
0.02944718487560749,
-0.03721587359905243,
-0.07167998701334,
0.03513527289032936,
-0.019413329660892487,
0.01086441706866026,
-0.010671458207070827,
-0.054464709013700485,
-0.020822767168283463,
-0.021762393414974213,
-0.05265257507562637,
0.04399459809064865,
0.04983369633555412,
0.02441347762942314,
0.016183366999030113,
-0.04278650879859924,
0.010461720637977123
] |
52,088 |
tussik.zpl.zplwriter
|
label_reverse
| null |
def label_reverse(self, reverse: bool = False):
a = "Y" if reverse else "N"
self.add(f"^LR{a}")
|
(self, reverse: bool = False)
|
[
-0.02481711655855179,
0.043421465903520584,
0.04990582913160324,
0.019571911543607712,
-0.03001139685511589,
-0.01721241883933544,
-0.04810650274157524,
0.05822346732020378,
0.08433067053556442,
-0.08602814376354218,
0.0063825142569839954,
0.03013022057712078,
0.014623765833675861,
-0.02157493494451046,
0.011704104952514172,
0.034560635685920715,
0.016779562458395958,
0.00001050148239301052,
-0.014504943042993546,
-0.03812533617019653,
0.01987745799124241,
0.055914897471666336,
0.026701316237449646,
-0.012815953232347965,
0.016966285184025764,
0.014182422310113907,
-0.02933240681886673,
-0.02755005471408367,
-0.06742379814386368,
0.007010580971837044,
0.016541915014386177,
-0.026599468663334846,
-0.005707767326384783,
0.011551332660019398,
0.0521804504096508,
0.002913295291364193,
-0.029587028548121452,
0.08242949098348618,
-0.026480644941329956,
-0.009081503376364708,
0.04712196812033653,
-0.06616766005754471,
-0.0034904375206679106,
0.01432670745998621,
-0.010660156607627869,
0.005919951945543289,
-0.011907802894711494,
-0.01975863426923752,
0.0521804504096508,
-0.03697105497121811,
0.06844227761030197,
-0.008534066379070282,
0.008249739184975624,
-0.010821416974067688,
-0.026463668793439865,
-0.0049226838164031506,
0.017085108906030655,
0.0561864972114563,
0.007647134829312563,
0.008355831727385521,
-0.01731426827609539,
-0.01583746261894703,
-0.08188629895448685,
0.030826186761260033,
0.012153936550021172,
0.0455942377448082,
0.01443704403936863,
0.018298804759979248,
0.029502153396606445,
-0.050516922026872635,
-0.039381470531225204,
0.0008391902665607631,
0.0049057090654969215,
0.007596210576593876,
-0.02663341723382473,
-0.03182769939303398,
-0.03427206352353096,
0.022457623854279518,
0.0033949543721973896,
-0.03744634613394737,
-0.05717103183269501,
-0.013477968983352184,
0.032540637999773026,
0.0021048716735094786,
-0.058596912771463394,
-0.06609976291656494,
0.059072207659482956,
-0.04593373462557793,
0.02503778785467148,
0.0007983447285369039,
-0.08324427902698517,
-0.07360260933637619,
-0.002518631750717759,
0.001082141767255962,
-0.023221489042043686,
-0.026378795504570007,
0.037616096436977386,
-0.024206025525927544,
-0.009972678497433662,
-0.0401962585747242,
0.054217420518398285,
-0.04145239293575287,
0.0010174254421144724,
0.026124173775315285,
0.020811069756746292,
-0.04549238830804825,
-0.03155609965324402,
0.011296710930764675,
-0.03327055275440216,
-0.025648880749940872,
-0.05014347657561302,
-0.05024532601237297,
0.0453905388712883,
-0.05201070010662079,
-0.01045645959675312,
-0.0022003548219799995,
0.025530057027935982,
0.005359784234315157,
-0.00806726049631834,
0.002074104966595769,
0.03965306654572487,
-0.03187862038612366,
-0.08623184263706207,
-0.04868364706635475,
-0.04661272466182709,
0.047495413571596146,
0.03571492061018944,
0.061075229197740555,
-0.0019871091935783625,
-0.033881645649671555,
0.05414952337741852,
0.003373736049979925,
-0.04308197274804115,
0.04566213861107826,
0.043115921318531036,
0.006076968275010586,
0.03754819557070732,
0.015413093380630016,
0.00505848228931427,
0.09628091007471085,
0.04155424237251282,
0.002834786893799901,
0.03904197737574577,
0.023221489042043686,
0.016465529799461365,
-0.006552262231707573,
0.014623765833675861,
0.07115824520587921,
0.032302990555763245,
-0.003887222846969962,
0.015209395438432693,
0.032761309295892715,
-0.009522846899926662,
0.006662597879767418,
0.009938728995621204,
0.03853273391723633,
-0.007324614096432924,
0.010931753553450108,
0.008584991097450256,
0.02079409547150135,
0.044202305376529694,
0.030995933338999748,
-0.07210883498191833,
-0.049057092517614365,
-0.006021800450980663,
-0.004271277226507664,
0.04980397969484329,
0.01251889392733574,
-0.0015351559268310666,
0.0601925402879715,
-0.01833275333046913,
-0.06603186577558517,
0.0020157541148364544,
0.05574515089392662,
-0.01797628402709961,
0.004358272533863783,
0.01168713066726923,
0.057612378150224686,
-0.03313475474715233,
0.047020118683576584,
0.04630717635154724,
0.037480298429727554,
-0.0655905157327652,
-0.08324427902698517,
0.05594884976744652,
-0.0036729162093251944,
0.003713231300935149,
0.020267877727746964,
-0.018298804759979248,
-0.03405139222741127,
0.0233912356197834,
0.003560458542779088,
0.024766191840171814,
-0.042097434401512146,
0.022101152688264847,
-0.03904197737574577,
-0.0008344161324203014,
0.008046042174100876,
0.04885339364409447,
-0.04834415018558502,
0.041961636394262314,
0.0667787566781044,
0.027363331988453865,
0.01683897338807583,
0.020963843911886215,
0.044439952820539474,
0.012086037546396255,
0.03245576471090317,
-0.040501806885004044,
-0.05404767394065857,
0.0829726830124855,
0.009573771618306637,
0.015294269658625126,
-0.015005698427557945,
-0.03447576239705086,
0.009412511251866817,
-0.033423326909542084,
0.07156563550233841,
-0.03221811726689339,
0.018281828612089157,
-0.014751076698303223,
0.025886528193950653,
0.01735670492053032,
-0.01415695995092392,
0.02743123099207878,
0.005351297091692686,
0.02955307811498642,
-0.00013831787509843707,
-0.014479480683803558,
0.016541915014386177,
-0.025530057027935982,
-0.00867835246026516,
-0.007706546690315008,
-0.02381560578942299,
0.04481339827179909,
-0.01156830694526434,
-0.00950587261468172,
0.03989071398973465,
-0.03055458888411522,
0.08500965684652328,
-0.022304849699139595,
0.06416463851928711,
-0.01765376329421997,
-0.03304988145828247,
0.011364609934389591,
0.023764681071043015,
0.05866481363773346,
-0.007163353729993105,
-0.0327952578663826,
-0.001904357224702835,
-0.017806535586714745,
-0.00794843677431345,
-0.00682810228317976,
-0.009497384540736675,
0.024868041276931763,
-0.02315358817577362,
0.0031742823775857687,
-0.04362516477704048,
0.04155424237251282,
0.030928034335374832,
-0.022169051691889763,
0.022050227969884872,
-0.039381470531225204,
-0.0028156903572380543,
0.00905604101717472,
0.03975491598248482,
-0.024647368118166924,
-0.022542497143149376,
0.016185445711016655,
-0.01777258701622486,
0.0875898227095604,
-0.02393442764878273,
-0.0545908659696579,
0.014420068822801113,
0.050618771463632584,
0.05689943581819534,
0.03968701884150505,
-0.023577958345413208,
-0.062195565551519394,
-0.01863829977810383,
0.04393070936203003,
-0.019724685698747635,
0.0011871730675920844,
0.012934776023030281,
-0.01308754924684763,
0.013944774866104126,
0.01004906464368105,
-0.02223695069551468,
-0.03172584995627403,
0.0009139853646047413,
0.10721266269683838,
0.05910615622997284,
0.07808395475149155,
0.05068666860461235,
0.005105162505060434,
-0.10653366893529892,
0.031420301645994186,
-0.034798283129930496,
0.00111609126906842,
-0.006348564755171537,
-0.06854412704706192,
-0.0395851694047451,
0.05194280296564102,
-0.03447576239705086,
-0.025818629190325737,
-0.06525102257728577,
0.04481339827179909,
0.02695593796670437,
0.009845367632806301,
-0.016151495277881622,
-0.02023392915725708,
0.06192396953701973,
-0.031420301645994186,
-0.004379491321742535,
-0.04851389676332474,
0.04043390601873398,
0.02449459582567215,
-0.016321243718266487,
0.06375724077224731,
0.008877805434167385,
-0.048038605600595474,
-0.04844599962234497,
-0.0721767321228981,
-0.03887222707271576,
-0.03316870331764221,
0.0034458786249160767,
-0.024698292836546898,
0.006598942447453737,
-0.008534066379070282,
-0.033881645649671555,
0.06059993803501129,
-0.026276947930455208,
0.0027690096758306026,
-0.001995596569031477,
-0.06032833829522133,
-0.004536507651209831,
0.03225206583738327,
0.03313475474715233,
-0.008500116877257824,
-0.004659574944525957,
-0.011491920799016953,
0.00562289310619235,
-0.06059993803501129,
0.005139112006872892,
0.019079644232988358,
0.04026415944099426,
0.005134868435561657,
0.031640976667404175,
0.0835837796330452,
0.07910243421792984,
0.008542554453015327,
-0.0048378100618720055,
-0.008410999551415443,
-0.0069511691108345985,
0.024579469114542007,
-0.0011298832250759006,
0.010320661589503288,
0.007154866587370634,
0.012035113759338856,
-0.05822346732020378,
-0.0539797767996788,
-0.05170515552163124,
-0.029468204826116562,
0.013919313438236713,
-0.01575258933007717,
-0.020861994475126266,
0.00017637849668972194,
0.05649204179644585,
0.0077532269060611725,
0.014199396595358849,
-0.033304501324892044,
-0.0279913991689682,
0.04488129913806915,
0.019690735265612602,
-0.021507035940885544,
0.018519476056098938,
0.013163935393095016,
-0.03955121710896492,
0.022678295150399208,
-0.03832903504371643,
-0.012535869143903255,
-0.006263691000640392,
-0.03486618027091026,
0.04172398895025253,
-0.00026867882115766406,
0.0007569687440991402,
0.021880481392145157,
0.057035233825445175,
0.06124497577548027,
-0.04202953726053238,
0.0009235336910933256,
-0.015268807299435139,
0.03595256805419922,
-0.05934380367398262,
-0.024528546258807182,
-0.06311219930648804,
-0.024324849247932434,
0.005270666908472776,
0.04301407188177109,
-0.008084234781563282,
-0.005325834732502699,
0.050958264619112015,
-0.007362807169556618,
0.03245576471090317,
0.0017621935112401843,
0.08079991489648819,
0.027838626876473427,
0.03900802507996559,
-0.028364844620227814,
-0.04644297808408737,
-0.058155570179224014,
0.004498314578086138,
-0.028517616912722588,
-0.059072207659482956,
-0.024630393832921982,
0.005554994102567434,
0.03506987914443016,
0.01787443459033966,
-0.017008721828460693,
-0.006611673627048731,
-0.030877109616994858,
0.028925010934472084,
0.026039300486445427,
0.0020974453072994947,
0.06365539878606796,
0.0431838184595108,
0.07652227580547333,
0.022203002125024796,
-0.0453905388712883,
0.07122614234685898,
-0.05686548724770546,
-0.058155570179224014,
0.01477653905749321,
-0.010609232820570469,
0.008826881647109985,
-0.023679807782173157,
0.01987745799124241,
-0.06671085208654404,
-0.04413440823554993,
0.01923241652548313,
0.0157950259745121,
-0.012603768147528172,
-0.02575072832405567,
0.0009272469324059784,
-0.0018407017923891544,
0.034798283129930496,
0.010303686372935772,
-0.03417021781206131,
0.058495063334703445,
-0.03846483305096626,
-0.03425509110093117,
0.0419955849647522,
0.0003294166817795485,
0.0254961084574461,
0.007812638767063618,
-0.033643998205661774,
-0.026803165674209595,
-0.07136194407939911,
-0.03846483305096626,
0.004494071006774902,
0.009420998394489288,
0.05313103646039963,
-0.022169051691889763,
0.05021137744188309,
0.021048717200756073,
-0.03155609965324402,
0.015480992384254932,
-0.00888629350811243,
-0.05856296420097351,
-0.05167120695114136,
-0.045118942856788635,
-0.09071318060159683,
0.018247880041599274,
0.023866528645157814,
-0.005410708487033844,
0.012052088044583797,
0.007091211155056953,
-0.010371585376560688,
-0.03673340752720833,
-0.05934380367398262,
-0.03574886918067932,
0.00590297719463706,
-0.06593001633882523,
0.0001531707966933027,
0.02541123330593109,
-0.03335542604327202,
-0.017704688012599945,
0.018010232597589493,
-0.011025113984942436,
-0.02047157473862171,
0.024766191840171814,
0.04135054349899292,
0.0076259165070950985,
0.022780144587159157,
0.0261920727789402,
0.008283688686788082,
-0.007375538349151611,
-0.004723230376839638,
-0.019062668085098267,
-0.012281247414648533,
-0.023221489042043686,
-0.043217770755290985,
0.0024613419082015753,
-0.043760962784290314,
-0.0051645743660628796,
0.03843088448047638,
-0.03649576008319855,
0.004426172003149986,
-0.025122663006186485,
0.00035991822369396687,
0.014190909452736378,
0.008962679654359818,
0.031640976667404175,
0.03450971096754074,
-0.004124869592487812,
0.04640902578830719,
-0.0269898883998394,
0.018383678048849106,
0.044100455939769745,
0.010099989362061024,
-0.007468899711966515,
-0.027804676443338394,
-0.048276253044605255,
-0.08453436195850372,
0.025258461013436317,
0.03982281684875488,
-0.0260902252048254,
-0.01251889392733574,
0.03204837068915367,
0.030079295858740807,
0.02315358817577362,
-0.003161551197990775,
0.04732566326856613,
0.028059298172593117,
-0.03955121710896492,
0.034339964389801025,
-0.050958264619112015,
0.06334985047578812,
-0.00250165699981153,
-0.005431927274912596,
-0.00027716619661077857,
0.0313863530755043,
0.0039699748158454895,
-0.023764681071043015,
0.04885339364409447,
0.05615254491567612,
0.009463435038924217,
-0.013333683833479881,
0.016711663454771042,
0.008126672357320786,
-0.08324427902698517,
0.006348564755171537,
-0.014267295598983765,
-0.045458439737558365,
-0.004241571296006441,
0.03345727548003197,
-0.05201070010662079,
0.08467016369104385,
0.05408162251114845,
0.03272736072540283,
-0.020081155002117157,
-0.009896292351186275,
0.06151657551527023,
-0.043421465903520584,
-0.0013876876328140497,
0.05214649811387062,
0.015862924978137016,
-0.041622139513492584,
0.048038605600595474,
0.03968701884150505,
0.027668878436088562,
-0.08745402842760086,
0.0541834719479084,
-0.002970585133880377,
-0.05574515089392662,
0.04888734221458435,
0.09485502541065216,
-0.002249157289043069,
0.009437973611056805,
0.0073840259574353695,
-0.06671085208654404,
-0.013639229349792004,
0.009862342849373817,
-0.018943846225738525,
-0.006666841916739941,
-0.014581329189240932,
0.025326360017061234,
0.07346681505441666,
-0.0317937470972538,
-0.029417280107736588,
-0.09906476736068726,
0.014513430185616016,
0.010091502219438553,
-0.023187538608908653,
-0.004655331373214722,
-0.036699458956718445,
-0.0004233083745930344,
0.020420650020241737,
0.0317937470972538,
0.04841205105185509,
0.007804151624441147,
0.003195500932633877,
-0.02785560116171837,
0.005852052476257086,
-0.019707709550857544,
-0.018791072070598602,
0.006301884073764086,
-0.050516922026872635,
-0.0795777291059494,
-0.01777258701622486,
0.04532264173030853,
0.03182769939303398,
0.0024825604632496834,
0.0013558599166572094,
-0.002187623642385006,
-0.04009441286325455,
0.018960820510983467,
-0.03221811726689339,
-0.03574886918067932,
-0.0007935705943964422,
-0.04023021087050438,
-0.0014948408352211118,
-0.00822852086275816,
0.005733229219913483,
-0.08480595797300339,
0.040637604892253876,
0.011839903891086578,
0.02403627708554268,
0.011542844586074352,
-0.035341475158929825,
-0.028721313923597336,
0.005953901447355747,
-0.05014347657561302,
-0.006789908744394779,
-0.018604349344968796,
-0.038600631058216095,
0.014148472808301449,
0.025699805468320847,
0.026022326201200485,
-0.04783490672707558,
-0.06851018220186234,
-0.06650715321302414,
-0.007889024913311005,
0.032082319259643555,
-0.035579122602939606,
0.0639948919415474,
-0.0010105293476954103,
-0.04247087985277176,
-0.021625859662890434,
-0.023204512894153595,
-0.017042670398950577,
0.027736777439713478,
-0.007396757137030363,
0.04966818168759346,
-0.02719358541071415,
0.04440600425004959,
0.024545520544052124,
0.034221138805150986,
0.05024532601237297,
-0.08365167677402496,
-0.05774817615747452,
-0.052078600972890854,
-0.000032192390790442005,
-0.014878387562930584,
0.0181969553232193,
0.01398721244186163,
0.03372887149453163,
-0.02729543298482895,
-0.006200035568326712,
-0.1157679483294487,
0.008126672357320786,
-0.018689224496483803,
-0.01831577904522419,
-0.012569818645715714,
0.05696733668446541,
-0.01242553349584341,
-0.04033205658197403,
-0.010380073450505733,
0.062195565551519394,
-0.031539127230644226,
-0.026905013248324394,
-0.026497619226574898,
0.01427578367292881,
-0.037582144141197205,
0.027889549732208252,
0.057816073298454285,
0.030164169147610664,
0.059513550251722336,
0.008474654518067837,
-0.01743309013545513,
-0.06182212010025978,
0.028806189075112343,
0.013282759115099907,
-0.011313685216009617,
0.05930985510349274,
0.013333683833479881,
-0.038702480494976044,
-0.029060808941721916,
0.02887408807873726,
-0.02999442256987095,
0.04457575082778931,
-0.019470063969492912,
0.010821416974067688,
-0.0227971188724041,
-0.002024241490289569,
0.004216108936816454,
0.01321486011147499,
-0.0719730332493782,
-0.04732566326856613,
0.03944937139749527,
-0.012824440374970436,
0.022949891164898872,
-0.013647716492414474,
-0.0399925634264946,
-0.04382885992527008,
-0.014479480683803558,
-0.0015871411887928843,
-0.0059496574103832245,
-0.039177775382995605,
0.028585515916347504,
0.026480644941329956,
-0.008419486694037914,
-0.004317957442253828,
-0.030282992869615555,
0.00966713298112154,
-0.03540937602519989,
-0.06426648795604706,
-0.00660318648442626,
-0.07584328204393387,
-0.030418790876865387,
-0.018740149214863777,
0.026667367666959763,
0.009760494343936443,
0.014428555965423584,
-0.03024904429912567,
0.02841576747596264,
0.020743170753121376,
-0.00421398738399148,
0.003331298939883709,
0.030045347288250923,
0.04596768319606781,
0.016321243718266487,
0.03561307117342949,
0.042980123311281204,
0.028296945616602898,
0.029468204826116562,
-0.006318858824670315,
0.012153936550021172,
0.0023022035602480173,
-0.018179981037974358,
0.046476926654577255,
0.019690735265612602,
-0.024189049378037453,
-0.024986864998936653,
0.03345727548003197,
-0.00625944696366787,
0.03955121710896492,
0.03226904198527336,
-0.03581677004694939,
0.008190327323973179,
0.0030066564213484526,
-0.041316594928503036,
-0.00006322439730865881,
0.017169982194900513,
0.037819791585206985,
0.0012317318469285965,
-0.03809138759970665,
0.017704688012599945
] |
52,089 |
tussik.zpl.zplwriter
|
orientation
| null |
def orientation(self, rotate: int = 0, justify: int = 2) -> None:
if rotate < 90:
rotate = 0
elif rotate < 180:
rotate = 90
elif rotate < 270:
rotate = 180
else:
rotate = 270
justify = min(2, max(0, justify))
self.add(f"^FW{rotate},{justify}")
|
(self, rotate: int = 0, justify: int = 2) -> NoneType
|
[
0.034739766269922256,
0.012612417340278625,
0.059725016355514526,
0.04240647330880165,
0.038025498390197754,
-0.05315355211496353,
-0.032104335725307465,
-0.004492211155593395,
-0.02744954824447632,
0.023513516411185265,
0.030102092772722244,
0.04562374949455261,
0.03607459366321564,
0.013930132612586021,
-0.009420808404684067,
-0.015581554733216763,
0.024420514702796936,
-0.02541307918727398,
0.00925823301076889,
-0.017917504534125328,
0.05370117351412773,
0.006802490912377834,
0.011970672756433487,
-0.07167001813650131,
-0.0182768814265728,
0.022623630240559578,
-0.03569810464978218,
0.012475511990487576,
0.00788062158972025,
-0.04856721684336662,
-0.0027145789936184883,
0.01703617535531521,
0.0025370295625180006,
-0.012929011136293411,
0.024129590019583702,
0.013125812634825706,
0.01143160741776228,
-0.018892956897616386,
0.013493746519088745,
0.04223534092307091,
0.04137968271970749,
0.019748615100979805,
0.08234864473342896,
-0.04493922367691994,
-0.06814470142126083,
0.030410129576921463,
0.04025021195411682,
-0.01308302953839302,
0.05346158891916275,
-0.0070976936258375645,
0.05133955553174019,
-0.03460285812616348,
0.03403812646865845,
-0.024642985314130783,
0.00954915676265955,
-0.014777234755456448,
0.015744129195809364,
-0.00041686647455208004,
0.052024081349372864,
-0.011251918971538544,
0.019526144489645958,
-0.021511273458600044,
-0.021716631948947906,
0.030102092772722244,
0.007046354003250599,
0.02501947619020939,
0.028767263516783714,
0.01945769041776657,
0.013468076474964619,
0.025875136256217957,
0.04196152836084366,
0.007362947799265385,
-0.025909362360835075,
-0.006738316733390093,
0.034534405916929245,
0.017164524644613266,
-0.07618790119886398,
0.015735574066638947,
0.04952555522322655,
-0.034534405916929245,
0.02176797203719616,
-0.022538064047694206,
0.03713561221957207,
0.040934737771749496,
0.07433967292308807,
-0.012655200436711311,
-0.019320785999298096,
-0.07303906977176666,
0.03864157199859619,
-0.008329843170940876,
-0.05168181657791138,
-0.021271688863635063,
0.03220701217651367,
-0.029794054105877876,
0.0014546207385137677,
0.0029948074370622635,
0.009164110757410526,
-0.0381966270506382,
0.024642985314130783,
0.02212734892964363,
0.0013647765154018998,
0.0026846309192478657,
0.014263839460909367,
-0.05585743486881256,
0.00411999924108386,
-0.07536646723747253,
-0.04490499570965767,
-0.014777234755456448,
-0.009831524454057217,
-0.024899683892726898,
0.01803729683160782,
-0.0531877800822258,
0.03843621164560318,
-0.0007401452166959643,
-0.0047574653290212154,
0.02094653807580471,
0.009643279947340488,
-0.020604275166988373,
-0.010062552988529205,
-0.0014653163962066174,
0.028065623715519905,
-0.04107164219021797,
0.02871592342853546,
-0.01620618626475334,
0.045315712690353394,
-0.020689841359853745,
-0.03133423998951912,
0.046342503279447556,
0.04240647330880165,
0.001668535522185266,
0.01566711999475956,
0.003264340106397867,
-0.0520925335586071,
-0.05715803802013397,
-0.0024215157609432936,
0.034346163272857666,
0.0837177038192749,
0.006913726683706045,
-0.007178980857133865,
0.06663874536752701,
-0.017010506242513657,
0.006259147543460131,
0.029640035703778267,
0.03295999392867088,
-0.028681697323918343,
0.06639915704727173,
0.004004485439509153,
0.03679334744811058,
0.028425000607967377,
-0.00014867079153191298,
0.014546207152307034,
0.015264960937201977,
0.05606279522180557,
-0.04709548503160477,
0.031950317323207855,
-0.02003953978419304,
-0.03275463730096817,
0.030375903472304344,
-0.01112357061356306,
0.05329045653343201,
0.06622802466154099,
0.014409301802515984,
-0.027706246823072433,
0.06212086230516434,
0.018824502825737,
0.024386288598179817,
0.03675911948084831,
0.026285851374268532,
0.057363394647836685,
-0.012646643444895744,
0.04558952525258064,
-0.044186241924762726,
0.0027145789936184883,
-0.004603446926921606,
0.01443497184664011,
0.06061490252614021,
-0.039634134620428085,
0.03686179965734482,
-0.029742715880274773,
-0.005322200711816549,
0.03860734403133392,
-0.0039018061943352222,
-0.031163109466433525,
0.021442821249365807,
0.041516587138175964,
-0.008325564675033092,
0.015025376342236996,
0.018687598407268524,
0.05989614874124527,
-0.0714646577835083,
-0.025738229975104332,
0.031676504760980606,
-0.012030568905174732,
-0.02474566549062729,
-0.00386330159381032,
-0.030923524871468544,
0.020107991993427277,
-0.043364811688661575,
0.003255783347412944,
-0.04442582651972771,
0.008141597732901573,
0.01357075572013855,
0.011063674464821815,
0.0032365310471504927,
0.05267438292503357,
0.0166083462536335,
0.024540307000279427,
-0.0499020479619503,
-0.036930251866579056,
-0.030666828155517578,
0.08782486617565155,
-0.010524609126150608,
-0.020107991993427277,
-0.04278296232223511,
-0.02365042082965374,
0.0013765417970716953,
0.0051425122655928135,
0.05835596099495888,
-0.001958389999344945,
0.05804792419075966,
-0.0031359910499304533,
0.05695267766714096,
-0.011192022822797298,
-0.059725016355514526,
0.08275936543941498,
-0.005352148786187172,
0.032343920320272446,
-0.1063755601644516,
-0.08378615230321884,
0.02584090828895569,
-0.020724067464470863,
-0.0924796536564827,
-0.06513278186321259,
0.00044708195491693914,
0.009899977594614029,
-0.05554939806461334,
-0.04329635947942734,
-0.01156851276755333,
-0.04860144481062889,
-0.006879500113427639,
0.039634134620428085,
0.029331998899579048,
0.009660392999649048,
0.0443231500685215,
-0.003508202964439988,
0.023239705711603165,
0.017404109239578247,
-0.006460227072238922,
-0.02616605907678604,
0.036143045872449875,
-0.0680762529373169,
0.005044111050665379,
-0.020227784290909767,
-0.009463591501116753,
-0.006721203215420246,
0.04343326389789581,
-0.047403521835803986,
-0.02036469057202339,
0.006913726683706045,
-0.00869777612388134,
0.004830196499824524,
-0.044220469892024994,
-0.032343920320272446,
-0.020227784290909767,
0.09343799203634262,
0.022298479452729225,
0.004894370678812265,
-0.011089343577623367,
0.004534993786364794,
-0.06348991394042969,
-0.011773871257901192,
0.00426546111702919,
-0.04134545475244522,
-0.006879500113427639,
0.0387442521750927,
0.061436332762241364,
0.07269681245088577,
-0.006840995512902737,
-0.018259767442941666,
0.016077836975455284,
0.046068694442510605,
-0.029092414304614067,
-0.015513102523982525,
0.07242299616336823,
-0.04945710301399231,
0.02643986977636814,
-0.02772335894405842,
-0.031642280519008636,
-0.015898149460554123,
0.0014096986269578338,
0.05880090221762657,
0.03224124014377594,
0.02816830202937126,
0.008432521484792233,
0.06513278186321259,
-0.0216139517724514,
0.04028443619608879,
-0.04028443619608879,
0.032771747559309006,
-0.02999941259622574,
-0.010652957484126091,
0.0012856280663982034,
0.03285731375217438,
-0.040455568581819534,
-0.0009770558681339025,
-0.02322259172797203,
-0.03337071090936661,
-0.03419214487075806,
-0.012372832745313644,
-0.000033741718652890995,
-0.043638620525598526,
0.011166352778673172,
-0.02329104393720627,
0.003097486449405551,
0.013065916486084461,
0.022777648642659187,
-0.000029012197046540678,
0.02474566549062729,
0.026576776057481766,
0.041756171733140945,
0.02286321483552456,
-0.016325978562235832,
-0.06410598754882812,
-0.02863035909831524,
0.019423464313149452,
-0.05031276494264603,
-0.019543256610631943,
-0.002695326693356037,
0.04021598398685455,
0.028767263516783714,
-0.088646300137043,
-0.00768809812143445,
0.0032172787468880415,
-0.0365537628531456,
-0.09076832979917526,
-0.014169717207551003,
0.03795704245567322,
0.010952438227832317,
0.01739555224776268,
0.06838428974151611,
0.019680162891745567,
-0.05000472441315651,
-0.009694619104266167,
0.039086513221263885,
0.010524609126150608,
-0.00527513911947608,
0.010661514475941658,
-0.005904048681259155,
0.06554349511861801,
0.010909655131399632,
0.005908327177166939,
0.005591733381152153,
-0.005523280240595341,
-0.03256639093160629,
-0.004094329662621021,
-0.0520925335586071,
-0.007842116989195347,
-0.02224714122712612,
-0.03511625528335571,
0.02914375439286232,
0.009010091423988342,
-0.007906291633844376,
-0.028938395902514458,
0.0654408186674118,
-0.034534405916929245,
0.0006203529774211347,
-0.029349112883210182,
-0.013784670270979404,
0.0019894076976925135,
0.038025498390197754,
0.020416028797626495,
-0.009976986795663834,
0.008325564675033092,
0.02953735738992691,
-0.007777942344546318,
0.03617727383971214,
0.03966836258769035,
0.0316251665353775,
0.033712975680828094,
-0.034226369112730026,
-0.0421326607465744,
-0.0032365310471504927,
0.059280071407556534,
0.061915501952171326,
-0.06054644659161568,
0.017643693834543228,
-0.007581140846014023,
-0.027209963649511337,
-0.014443527907133102,
-0.0009086031350307167,
-0.07461348921060562,
-0.0036151602398604155,
-0.013185708783566952,
-0.04866989701986313,
-0.019115427508950233,
0.027244189754128456,
-0.08727724105119705,
-0.010721410624682903,
0.00008890834578778595,
0.0034782548900693655,
0.03239525854587555,
-0.052263665944337845,
-0.002898545702919364,
0.008625045418739319,
-0.01906408742070198,
0.009224006906151772,
0.04001062735915184,
0.03345627710223198,
0.028373660519719124,
-0.015555884689092636,
-0.008813289925456047,
0.01457187719643116,
0.0012235926697030663,
-0.0029071022290736437,
0.07269681245088577,
-0.06061490252614021,
0.014897027052938938,
-0.011243362911045551,
-0.054693739861249924,
-0.004286852665245533,
-0.019269445911049843,
0.04237224534153938,
0.04565797746181488,
0.05606279522180557,
0.02690192684531212,
-0.004124277736991644,
0.01885872893035412,
0.004564941860735416,
0.04083205759525299,
-0.034140802919864655,
-0.008060310035943985,
0.0293833389878273,
0.01654844917356968,
-0.003159521846100688,
0.015410423278808594,
0.036416858434677124,
0.04945710301399231,
0.047437749803066254,
-0.03494512289762497,
-0.03138558194041252,
0.07543491572141647,
-0.013476633466780186,
-0.0548306442797184,
0.005215242970734835,
-0.0009599426994100213,
0.0009738471708260477,
-0.020210672169923782,
-0.007645315490663052,
-0.017352769151329994,
0.013023133389651775,
0.07919982075691223,
0.100899338722229,
-0.06776820868253708,
0.0025712561327964067,
0.05784256383776665,
-0.008915969170629978,
0.008676384575664997,
-0.02443762868642807,
-0.021288802847266197,
-0.04333058372139931,
0.04062670096755028,
0.024488966912031174,
-0.026285851374268532,
-0.0066228024661540985,
-0.0012171752750873566,
-0.0105331651866436,
-0.03915496543049812,
-0.0020097296219319105,
-0.02091231197118759,
-0.00888174306601286,
0.027603566646575928,
-0.02662811614573002,
0.022880328819155693,
0.018687598407268524,
0.02851056680083275,
0.012612417340278625,
0.03282308951020241,
-0.007230320479720831,
0.004096468444913626,
0.008838959969580173,
-0.04918329417705536,
-0.022726310417056084,
-0.059485431760549545,
0.005223799496889114,
0.013673434965312481,
0.017190193757414818,
-0.05859554558992386,
-0.05664464086294174,
-0.004851588048040867,
-0.013784670270979404,
0.021973328664898872,
0.09460168331861496,
-0.019166767597198486,
0.07317598164081573,
0.03604036569595337,
0.0202448982745409,
-0.012022011913359165,
-0.07180692255496979,
-0.06735749542713165,
0.0105331651866436,
0.05113419517874718,
-0.046376731246709824,
0.015153725631535053,
-0.06420867145061493,
-0.025447305291891098,
-0.07789921760559082,
-0.01781482622027397,
-0.03843621164560318,
0.0190983135253191,
-0.004100746940821409,
0.007255990523844957,
0.014392188750207424,
0.02604626677930355,
-0.010190901346504688,
-0.03325091674923897,
0.007602532394230366,
-0.053358908742666245,
0.03306267410516739,
0.02674790844321251,
-0.012347162701189518,
-0.012869114987552166,
-0.05808214843273163,
-0.04223534092307091,
-0.013006020337343216,
-0.013493746519088745,
0.01918387971818447,
0.03627995029091835,
-0.0714646577835083,
0.03730674460530281,
0.016659686341881752,
-0.0676313042640686,
0.009763072244822979,
-0.010387702845036983,
0.005219521466642618,
-0.03220701217651367,
0.04997050017118454,
-0.06437980383634567,
0.01647999696433544,
-0.00978874135762453,
-0.011106456629931927,
0.017712146043777466,
-0.01933789812028408,
-0.04079783335328102,
-0.0659884437918663,
0.019953973591327667,
0.01612062007188797,
0.010575948283076286,
-0.07119084894657135,
0.019474804401397705,
0.03301133215427399,
-0.08844093978404999,
-0.04695858061313629,
-0.034688424319028854,
-0.008402573876082897,
0.0017198750283569098,
0.05777411162853241,
0.030410129576921463,
-0.04435737431049347,
0.012441284954547882,
0.04918329417705536,
-0.010918212123215199,
0.019046975299715996,
0.056473508477211,
-0.01712174154818058,
0.005082616116851568,
0.0015134472632780671,
0.055515170097351074,
-0.02816830202937126,
-0.010558835230767727,
0.015718460083007812,
0.004937153775244951,
-0.042817190289497375,
0.02224714122712612,
-0.011970672756433487,
-0.11205713450908661,
-0.006383217871189117,
-0.003161660861223936,
0.0804319679737091,
-0.028733037412166595,
-0.056781549006700516,
-0.035835009068250656,
0.009497817605733871,
-0.013151482678949833,
-0.06581731140613556,
0.03350761532783508,
-0.04449428245425224,
0.01321993488818407,
0.06294229626655579,
-0.005908327177166939,
0.0021391480695456266,
-0.061949729919433594,
-0.07522956281900406,
0.003621577750891447,
-0.04733506962656975,
0.00953204371035099,
0.017746372148394585,
0.011850880458950996,
-0.024026911705732346,
-0.03063260018825531,
-0.010678627528250217,
0.030016526579856873,
0.019423464313149452,
-0.013622094877064228,
0.037512101233005524,
-0.01906408742070198,
0.06900036334991455,
0.04866989701986313,
-0.005386374890804291,
-0.09603919088840485,
-0.04001062735915184,
-0.004676177632063627,
0.06010150536894798,
0.008770506829023361,
-0.003730674274265766,
0.006070902105420828,
0.010447598993778229,
-0.058184828609228134,
-0.040968965739011765,
-0.005946831777691841,
0.021425707265734673,
-0.021203236654400826,
-0.015898149460554123,
-0.05448837950825691,
-0.04291986674070358,
0.01321993488818407,
0.012372832745313644,
-0.020724067464470863,
-0.011927889660000801,
0.0636952742934227,
-0.0653381422162056,
0.02270919643342495,
-0.002082460792735219,
0.05109997093677521,
-0.07447657734155655,
-0.03730674460530281,
0.04141390696167946,
-0.07324443012475967,
-0.00742284394800663,
0.02036469057202339,
-0.035082027316093445,
-0.002107060980051756,
-0.0033734366297721863,
0.039394550025463104,
0.015607224777340889,
0.012526851147413254,
-0.0017038314836099744,
-0.0315738245844841,
0.0019188158912584186,
-0.06742595136165619,
-0.03224124014377594,
-0.04086628556251526,
-0.005347870290279388,
0.048772577196359634,
-0.016651129350066185,
-0.004915762227028608,
-0.03027322329580784,
0.015838252380490303,
-0.006023840978741646,
0.0031980264466255903,
-0.022349819540977478,
-0.004466541111469269,
-0.039052288979291916,
-0.013091586530208588,
0.04942287877202034,
0.09241119772195816,
-0.0030675383750349283,
0.0045692203566432,
-0.009737402200698853,
0.021802198141813278,
-0.07611944526433945,
0.06171014532446861,
0.0011134266387671232,
0.06390063464641571,
-0.017797712236642838,
0.03771745786070824,
-0.00626770406961441,
0.03847043961286545,
-0.05106574296951294,
0.10938747972249985,
0.002481411909684539,
-0.02306857332587242,
-0.030769506469368935,
0.01891006901860237,
-0.03607459366321564,
0.009129883721470833,
0.02094653807580471,
-0.0493544265627861,
0.02568688988685608,
-0.07125930488109589,
-0.04072938114404678,
-0.0013465937227010727,
-0.027346869930624962,
0.010832645930349827,
-0.03260061889886856,
0.03295999392867088,
-0.006995014380663633,
-0.026576776057481766,
0.036108821630477905,
0.03345627710223198,
-0.026679454371333122,
0.039599910378456116,
0.020758293569087982,
-0.015230734832584858,
0.04750620201230049,
-0.009994099847972393,
-0.0033306535333395004,
0.08508675545454025,
-0.05900626257061958,
-0.03106043115258217,
-0.04884102940559387,
-0.0010059344349429011,
0.10178922116756439,
0.012389945797622204,
-0.002804423216730356,
0.019132541492581367,
-0.0296571496874094,
-0.025858022272586823,
-0.006473062094300985,
0.022298479452729225,
-0.05431724712252617,
-0.03347339108586311,
0.028733037412166595,
-0.03184763714671135,
-0.07372359931468964,
-0.02243538573384285,
-0.036964479833841324,
-0.024608759209513664,
0.01784905232489109,
-0.04237224534153938,
-0.04343326389789581,
-0.004087911918759346,
0.041995756328105927,
0.002832232043147087,
0.0509972907602787,
0.0012920454610139132,
0.03891538083553314,
-0.047403521835803986,
0.008582262322306633,
-0.061949729919433594,
0.023034347221255302,
0.020450256764888763,
0.03918919339776039,
0.0070976936258375645,
0.020518708974123,
0.00015909914509393275,
0.044699639081954956,
-0.03475688025355339,
0.0387442521750927,
-0.006930839736014605,
0.05500177666544914,
0.013048803433775902,
0.04220111295580864,
-0.014597546309232712,
-0.014306622557342052,
0.02886994369328022,
-0.012920454144477844,
0.018020182847976685,
0.004100746940821409,
0.023992685601115227,
-0.024848343804478645,
-0.04025021195411682,
-0.0010963133536279202,
0.0035702381283044815,
0.019406352192163467,
0.021083444356918335,
0.03624572604894638,
-0.011200579814612865,
0.03515048325061798
] |
52,090 |
tussik.zpl.zplwriter
|
print
| null |
def print(self, ipaddress: str, port: int = 9100) -> bool:
mysocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
try:
mysocket.settimeout(self._config.timeout)
mysocket.connect((ipaddress, port)) # connecting to host
content = self.export()
payload = bytes(content, "utf8")
mysocket.send(payload)
mysocket.close()
except OSError as e:
logger.exception(f"Unable to connect to {ipaddress}:{port}")
return False
except Exception as e:
logger.exception("Error with the connection")
return False
return True
|
(self, ipaddress: str, port: int = 9100) -> bool
|
[
0.012570771388709545,
0.0036194834392517805,
-0.039720334112644196,
-0.0033971338998526335,
0.04819253832101822,
-0.02420629933476448,
-0.0638166069984436,
-0.0067071616649627686,
-0.007234382443130016,
-0.03942692652344704,
0.005088824313133955,
0.006743838079273701,
0.009233235381543636,
-0.012543263845145702,
0.02756217122077942,
-0.03968365862965584,
0.021070482209324837,
0.009599997662007809,
-0.018191400915384293,
0.022647559642791748,
-0.00752320745959878,
0.02752549573779106,
0.02967105433344841,
-0.04976961761713028,
0.013808593153953552,
0.08193465322256088,
-0.003080801572650671,
-0.015119767747819424,
-0.012644123286008835,
0.02009856328368187,
-0.01731117069721222,
-0.08765614032745361,
0.004832090809941292,
0.0355575866997242,
-0.00452034268528223,
0.07995413988828659,
-0.03330199792981148,
-0.041847556829452515,
0.006890542805194855,
0.025233231484889984,
-0.005515185184776783,
0.02499483712017536,
-0.04855930060148239,
0.01703609898686409,
-0.026131799444556236,
-0.031321484595537186,
-0.01629340648651123,
0.07287562638521194,
0.022977644577622414,
-0.024316327646374702,
-0.055271048098802567,
0.05600457265973091,
0.013240111991763115,
0.02211575396358967,
0.004708308260887861,
-0.03854669630527496,
0.038106583058834076,
0.05919540300965309,
-0.03390715643763542,
-0.01024183165282011,
-0.05468422919511795,
0.004050428979098797,
0.010461889207363129,
-0.0016206300351768732,
0.03597936034202576,
0.03486073762178421,
-0.04456159472465515,
-0.024829793721437454,
0.002924927743151784,
0.016816042363643646,
0.040930651128292084,
0.019475067034363747,
-0.04514841362833977,
-0.0028699133545160294,
0.020446987822651863,
0.05857190862298012,
-0.046652138233184814,
0.027580508962273598,
-0.041334088891744614,
-0.013460168614983559,
0.020190253853797913,
-0.020135238766670227,
0.016385097056627274,
0.011195412836968899,
-0.004451574757695198,
-0.051566749811172485,
-0.007766187656670809,
0.022409163415431976,
-0.020593691617250443,
0.023729506880044937,
0.001020057126879692,
-0.01871403679251671,
-0.005973637569695711,
0.007665327750146389,
-0.0013008592650294304,
-0.03236675634980202,
0.04320457577705383,
-0.011718048714101315,
-0.058755289763212204,
-0.04353466257452965,
-0.0739392414689064,
0.0870693251490593,
0.008701430633664131,
-0.04566188156604767,
0.02459139935672283,
-0.01117707509547472,
-0.021345553919672966,
0.04540514945983887,
0.0012412604410201311,
0.031743258237838745,
-0.007174783386290073,
-0.008055012673139572,
0.02715873345732689,
-0.022940969094634056,
-0.0077891102991998196,
-0.014010312035679817,
0.026535237208008766,
-0.011287103407084942,
-0.06466016173362732,
-0.010324353352189064,
0.012057304382324219,
0.013276788406074047,
0.04236102104187012,
-0.028112314641475677,
-0.008499711751937866,
0.02901088260114193,
-0.007683665957301855,
0.033320337533950806,
0.029487673193216324,
-0.03376045078039169,
0.010975356213748455,
0.0180355254560709,
0.026058446615934372,
0.07628651708364487,
0.008201717399060726,
0.0037111740093678236,
-0.05831517279148102,
0.05732491612434387,
0.02327105589210987,
-0.0077891102991998196,
-0.021253863349556923,
-0.08274152874946594,
-0.008861889131367207,
-0.00312435464002192,
0.032128360122442245,
-0.012790828011929989,
-0.018457302823662758,
-0.040123771876096725,
0.011773063801229,
-0.044488243758678436,
0.017191972583532333,
0.027250424027442932,
-0.08919654041528702,
-0.0891231894493103,
-0.036657873541116714,
0.023069335147738457,
0.011094553396105766,
-0.061799414455890656,
0.004469912964850664,
-0.038913458585739136,
-0.06895127147436142,
-0.0212722010910511,
0.04272778332233429,
0.0016171915922313929,
-0.03484239801764488,
-0.018457302823662758,
-0.09433121234178543,
-0.037336383014917374,
0.04155414551496506,
0.02686532400548458,
-0.03828996419906616,
0.005157592240720987,
0.008609740063548088,
-0.0177787933498621,
0.0359426848590374,
0.009719195775687695,
0.002308308845385909,
-0.03058795817196369,
-0.011002862825989723,
-0.001249283435754478,
-0.018512316048145294,
-0.02846073918044567,
-0.02928595431149006,
0.0468355193734169,
0.040270477533340454,
-0.01914498209953308,
-0.006198279559612274,
0.02420629933476448,
0.021455582231283188,
0.031743258237838745,
0.01665099896490574,
0.01244240440428257,
0.04001374542713165,
-0.022445840761065483,
-0.015963319689035416,
-0.054610878229141235,
0.035740967839956284,
-0.02807563915848732,
0.01663266122341156,
0.047055575996637344,
0.01697191596031189,
0.017155297100543976,
-0.06029568985104561,
0.05153007432818413,
0.009329510852694511,
0.0036126067861914635,
-0.025343261659145355,
0.005253867246210575,
0.0062074484303593636,
-0.011002862825989723,
-0.018237246200442314,
-0.07412262260913849,
0.030936382710933685,
0.026535237208008766,
-0.011672203429043293,
-0.016605153679847717,
-0.03258681297302246,
-0.0007782233296893537,
-0.01191059872508049,
0.0019277932588011026,
0.0468355193734169,
-0.029854435473680496,
-0.03060629777610302,
-0.007261889521032572,
-0.005955299362540245,
0.03245844691991806,
-0.0313948355615139,
-0.010947848670184612,
-0.004469912964850664,
-0.02116217277944088,
0.07782691717147827,
0.02008022554218769,
-0.029872773215174675,
0.052740391343832016,
0.03847334533929825,
-0.04918279871344566,
-0.06565041840076447,
-0.0029042973183095455,
-0.005533523391932249,
-0.012314037419855595,
0.00525845168158412,
-0.014120340347290039,
0.02233581244945526,
-0.08516216278076172,
0.007931230589747429,
-0.06216617673635483,
-0.007078508380800486,
0.033723775297403336,
-0.035080794245004654,
-0.012469911016523838,
-0.002908881986513734,
-0.06781431287527084,
-0.014267046004533768,
-0.02794727124273777,
-0.009256158024072647,
0.011974782682955265,
-0.06876789033412933,
0.024444693699479103,
0.014239538460969925,
0.034402284771203995,
-0.004311746917665005,
-0.006890542805194855,
-0.009966759942471981,
0.011131229810416698,
0.04353466257452965,
-0.03817993402481079,
-0.07679998129606247,
0.01956675760447979,
0.05255701020359993,
-0.024848131462931633,
0.0064687663689255714,
0.031871628016233444,
-0.02714039571583271,
-0.025508303195238113,
-0.022537531331181526,
0.006995987147092819,
0.026168474927544594,
-0.013826930895447731,
-0.037318043410778046,
-0.0651002749800682,
0.030129507184028625,
0.02327105589210987,
0.019603434950113297,
-0.03711632266640663,
-0.05083322525024414,
-0.03766646608710289,
0.006514611653983593,
0.09352433681488037,
0.03438394516706467,
-0.007825786247849464,
-0.015504867769777775,
0.0020022918470203876,
0.01616504043340683,
-0.02140056900680065,
-0.03489741310477257,
0.02781890518963337,
0.008178794756531715,
-0.003410887438803911,
-0.030551282688975334,
-0.019255010411143303,
0.0011873922776430845,
-0.03641947731375694,
-0.02449970878660679,
-0.013634380884468555,
0.0004547277058009058,
0.08039425313472748,
-0.008032090030610561,
0.017897989600896835,
0.0036103143356740475,
0.02567334659397602,
-0.038913458585739136,
-0.026791971176862717,
0.0006951288087293506,
-0.052116893231868744,
0.11707045882940292,
0.025765037164092064,
-0.008531803265213966,
-0.0184206273406744,
0.0143679054453969,
0.03601603955030441,
-0.028809163719415665,
0.02499483712017536,
-0.0005690543330274522,
0.03843666613101959,
0.019511744379997253,
-0.037849847227334976,
0.06895127147436142,
-0.023894550278782845,
-0.007023494224995375,
-0.010709453374147415,
-0.01185558456927538,
0.062496259808540344,
0.012607446871697903,
-0.005281374324113131,
-0.01250658743083477,
-0.07485614717006683,
-0.014844696037471294,
0.0018028649501502514,
-0.008935241959989071,
0.0041856723837554455,
-0.016064180061221123,
-0.005506015848368406,
0.043314602226018906,
-0.009691688232123852,
0.09660513699054718,
0.026406871154904366,
-0.08450198918581009,
0.035209160298109055,
-0.00868767686188221,
0.041187383234500885,
-0.0004974210751242936,
0.04247105121612549,
0.025599993765354156,
0.012689968571066856,
-0.010003436356782913,
0.02941432036459446,
0.019328363239765167,
-0.016999423503875732,
0.0035277928691357374,
0.04951288178563118,
0.044121481478214264,
0.042250994592905045,
0.010040112771093845,
-0.026113461703062057,
-0.03100973553955555,
0.029561026021838188,
0.05094325542449951,
0.001971346326172352,
0.09125041216611862,
0.044781651347875595,
-0.025618333369493484,
-0.01980515383183956,
-0.02048366330564022,
-0.02858910523355007,
-0.03273351863026619,
0.009691688232123852,
-0.014945555478334427,
-0.013597704470157623,
0.011268765665590763,
-0.023729506880044937,
0.027507157996296883,
-0.044524919241666794,
0.08105442672967911,
-0.02913924865424633,
0.022977644577622414,
-0.07782691717147827,
-0.025233231484889984,
0.03381546586751938,
-0.03682291507720947,
-0.02237248793244362,
-0.03047792986035347,
0.03418222814798355,
-0.003573638154193759,
-0.022519193589687347,
-0.03702463209629059,
-0.012937532737851143,
0.002982234349474311,
0.01151632983237505,
-0.019456729292869568,
0.0092744966968894,
-0.03869340196251869,
0.013185097835958004,
-0.04936617985367775,
0.05453752353787422,
0.01469799131155014,
0.007830371148884296,
0.01903495378792286,
-0.12968707084655762,
0.04019712656736374,
-0.0144962714985013,
0.062532939016819,
0.01850314810872078,
-0.04368136450648308,
0.03071632608771324,
0.016880225390195847,
0.0468355193734169,
-0.004749569110572338,
0.008247562684118748,
0.020300282165408134,
0.028020624071359634,
-0.00034154721652157605,
0.008247562684118748,
0.05175013095140457,
0.04815586283802986,
-0.004444698337465525,
-0.01565157249569893,
-0.03629111126065254,
-0.016412604600191116,
0.03687793016433716,
-0.02541661262512207,
-0.0025627501308918,
-0.028167329728603363,
-0.05079654976725578,
0.05904869735240936,
0.08802290260791779,
0.021363891661167145,
0.01903495378792286,
-0.051310017704963684,
0.02118051052093506,
-0.017109451815485954,
0.06726416945457458,
-0.022024063393473625,
-0.0320366695523262,
-0.030166182667016983,
0.04137076437473297,
0.01092034112662077,
0.012139825150370598,
-0.051163312047719955,
-0.003376503475010395,
0.02048366330564022,
0.0012515756534412503,
-0.055674485862255096,
0.02460973709821701,
-0.0468355193734169,
-0.005808594636619091,
-0.024041255936026573,
0.006010313984006643,
0.03755643963813782,
0.013203435577452183,
0.012268192134797573,
0.014202862046658993,
0.037739820778369904,
-0.05651804059743881,
-0.013139252550899982,
0.00827507022768259,
0.005079654976725578,
0.0020813748706132174,
0.018237246200442314,
0.05699482932686806,
0.004045844543725252,
-0.001602291944436729,
0.016137532889842987,
-0.011800570413470268,
-0.015284810215234756,
0.022060740739107132,
0.03935357183218002,
0.008247562684118748,
0.053840674459934235,
-0.05879196524620056,
0.02915758639574051,
-0.10474725812673569,
-0.03045959211885929,
-0.009865900501608849,
0.006812606006860733,
0.009499138221144676,
-0.010333522222936153,
0.009375356137752533,
-0.0008785098325461149,
0.03390715643763542,
-0.00417421106249094,
-0.0076882503926754,
0.009755872189998627,
0.009095700457692146,
-0.046652138233184814,
0.08721602708101273,
-0.03354039415717125,
-0.05545442923903465,
0.046101994812488556,
-0.03421890363097191,
-0.04679884389042854,
-0.04368136450648308,
0.03979368880391121,
-0.019475067034363747,
0.06876789033412933,
0.03262348845601082,
-0.01218567043542862,
0.03447563573718071,
0.035062458366155624,
0.020061885938048363,
0.043718043714761734,
0.01377191673964262,
0.033888816833496094,
0.0238028597086668,
0.04034383222460747,
-0.016137532889842987,
-0.023234378546476364,
-0.012653292156755924,
-0.017173634842038155,
-0.05332721024751663,
-0.06653064489364624,
0.024793118238449097,
0.024151284247636795,
0.0036424060817807913,
-0.02371116913855076,
-0.04195758327841759,
0.03339368849992752,
0.031449850648641586,
0.04045385867357254,
-0.07841373980045319,
0.01748538389801979,
0.0021489965729415417,
0.05200686678290367,
0.07184869796037674,
-0.010195986367762089,
0.024811455979943275,
0.07606645673513412,
0.0002563036687206477,
-0.02939598262310028,
-0.07775356620550156,
-0.010617762804031372,
0.02858910523355007,
0.008779367431998253,
-0.03438394516706467,
-0.15271973609924316,
-0.05270371213555336,
0.008394267410039902,
0.021638963371515274,
0.02141890674829483,
0.025104865431785583,
0.023326069116592407,
0.0640733391046524,
0.0420309379696846,
0.01814555563032627,
-0.026718618348240852,
0.04566188156604767,
0.10386702418327332,
0.003582807257771492,
-0.0036859591491520405,
0.02330773137509823,
-0.031724922358989716,
0.048485949635505676,
-0.025233231484889984,
0.031449850648641586,
0.059672191739082336,
-0.01510142907500267,
-0.02328939363360405,
-0.024004578590393066,
-0.051310017704963684,
-0.016788534820079803,
-0.019401714205741882,
0.05365729331970215,
-0.014010312035679817,
-0.01903495378792286,
0.007766187656670809,
0.02486647106707096,
-0.013652719557285309,
-0.0004409741086419672,
-0.003649282967671752,
-0.041187383234500885,
0.0316515676677227,
-0.0668240562081337,
-0.017742116004228592,
-0.0184206273406744,
-0.04107735678553581,
0.036144405603408813,
0.03751976415514946,
-0.03924354538321495,
-0.06851115822792053,
0.05743494629859924,
-0.08237476646900177,
-0.019346700981259346,
0.013570197857916355,
-0.0025627501308918,
-0.04687219485640526,
0.006835528649389744,
0.01890658587217331,
0.06062577664852142,
0.007834955118596554,
0.045295119285583496,
0.0021948418579995632,
0.010278508067131042,
0.04723895713686943,
0.013340971432626247,
-0.058351848274469376,
-0.0034063030034303665,
-0.003099139779806137,
-0.08127447962760925,
0.05017305538058281,
0.04507506266236305,
-0.00016977073391899467,
-0.03251345828175545,
-0.016412604600191116,
-0.015578220598399639,
-0.008261316455900669,
-0.023344406858086586,
0.005157592240720987,
0.04272778332233429,
0.04815586283802986,
0.0011031515896320343,
0.03141317516565323,
0.04742233827710152,
0.027195408940315247,
0.02328939363360405,
0.027048705145716667,
-0.01943839155137539,
0.022152431309223175,
-0.00718395272269845,
-0.05230027437210083,
0.00921948254108429,
0.0027300852816551924,
0.0029363890644162893,
0.0404905341565609,
0.010195986367762089,
0.03847334533929825,
-0.05681144818663597,
-0.08626244217157364,
-0.004625787027180195,
0.03409053757786751,
-0.03403552249073982,
0.024958161637187004,
-0.007133523002266884,
0.026645267382264137,
-0.028259020298719406,
-0.06986817717552185,
0.04800915718078613,
0.01954841986298561,
0.02835071086883545,
-0.009150714613497257,
0.026260165497660637,
-0.056481361389160156,
0.011314610950648785,
0.02539827488362789,
0.026553576812148094,
0.01699025370180607,
0.03376045078039169,
-0.021602287888526917,
0.03656618297100067,
0.04214096441864967,
0.02448136918246746,
-0.007115184795111418,
0.013872776180505753,
-0.04166417568922043,
-0.006322061643004417,
-0.04566188156604767,
0.060332365334033966,
0.02515988051891327,
0.0013593119801953435,
-0.048632655292749405,
-0.08582232892513275,
0.014487102627754211,
0.0032183374278247356,
0.03990371525287628,
0.002466475125402212,
-0.004722062032669783,
0.043314602226018906,
0.025746699422597885,
-0.04723895713686943,
-0.024279650300741196,
-0.06979482620954514,
-0.07613981515169144,
0.029322629794478416,
-0.07467276602983475,
0.012341544963419437,
-0.06744755059480667,
-0.00797707587480545,
0.019603434950113297,
0.0021020052954554558,
-0.018796557560563087,
-0.057948410511016846,
-0.012130656279623508,
-0.01158051285892725,
-0.01875988207757473,
0.001971346326172352,
0.07540629059076309,
-0.0017455583438277245,
0.019896844401955605,
-0.036914605647325516,
0.006418336648494005,
-0.014743836596608162,
-0.014340397901833057,
0.024536384269595146,
0.029506010934710503,
0.03950027748942375,
0.06917133182287216,
-0.04115070775151253,
-0.04921947419643402,
-0.053437236696481705,
0.020446987822651863,
0.03566761314868927,
0.035080794245004654,
0.031174778938293457,
-0.015257303602993488,
0.015688247978687286,
-0.016449280083179474,
-0.034934088587760925,
0.009173637256026268,
-0.005808594636619091,
0.001775357755832374,
0.00525845168158412,
-0.004664755426347256,
-0.04155414551496506,
0.014734667725861073,
0.016449280083179474,
-0.022647559642791748,
0.0036446982994675636,
-0.02328939363360405,
-0.04764239490032196,
0.01703609898686409,
0.04137076437473297,
0.02981775812804699,
-0.00032063029357232153,
0.04082062095403671,
-0.006349568720906973,
0.04056388884782791,
-0.06561373919248581,
0.0035896841436624527,
-0.021107159554958344,
0.008201717399060726,
0.06689740717411041,
-0.016999423503875732,
0.04998967424035072,
-0.0180355254560709,
0.08296158909797668,
-0.05923207849264145,
0.0035873916931450367,
-0.0016057302709668875,
-0.01690773293375969,
0.038143258541822433,
0.01914498209953308,
0.023509450256824493,
0.03526417538523674,
0.006271631922572851,
-0.0018991399556398392,
0.03313695639371872,
0.09902576357126236,
0.029377644881606102,
-0.06979482620954514,
0.046652138233184814,
0.011195412836968899,
-0.014120340347290039,
-0.03486073762178421,
0.005868193693459034,
-0.03277019411325455,
0.029230939224362373,
-0.04522176831960678,
0.031046411022543907,
-0.025581656023859978,
0.027910595759749413
] |
52,091 |
tussik.zpl.zplwriter
|
qrcode
| null |
def qrcode(self, left: int = 0, top: int = 0, data: Union[str, dict, list, int, float, None] = None,
magnify: Optional[int] = None) -> None:
if data is None:
return
elif isinstance(data, str):
content = data
elif isinstance(data, (int, float)):
content = str(data)
else:
content = json.dumps(data)
if magnify is None:
magnify = ''
left, top = self.coordinates(left, top)
self.add(f"^FO{left},{top}^BQ,2,{magnify},H^FDQA,{content}^FS")
|
(self, left: int = 0, top: int = 0, data: Union[str, dict, list, int, float, NoneType] = None, magnify: Optional[int] = None) -> NoneType
|
[
0.01661296747624874,
-0.01974218152463436,
0.006284799426794052,
0.005418991670012474,
0.005515680648386478,
-0.0034852069802582264,
-0.07021395862102509,
-0.033559951931238174,
0.049434565007686615,
-0.02995608001947403,
0.056325867772102356,
0.045883432030677795,
-0.016990933567285538,
0.03315561264753342,
0.013316743075847626,
-0.02339879237115383,
0.004003813024610281,
-0.031872283667325974,
-0.003843396669253707,
0.0028457397129386663,
-0.032311782240867615,
0.0331907756626606,
0.005467336159199476,
0.08424268662929535,
0.0007180273532867432,
0.03211840242147446,
-0.005212428048253059,
0.014863770455121994,
-0.010583074763417244,
-0.004895990714430809,
-0.02338121272623539,
-0.04718434065580368,
0.02619398944079876,
0.026176409795880318,
0.002843542257323861,
-0.02243190072476864,
0.042965177446603775,
-0.020849712193012238,
-0.03595081344246864,
-0.020691493526101112,
-0.07109294831752777,
-0.034087345004081726,
0.014362744987010956,
-0.04268389940261841,
0.007510995026677847,
-0.025191938504576683,
-0.0006828676559962332,
0.010055679827928543,
0.03916792571544647,
-0.013624390587210655,
0.07014364004135132,
-0.041910383850336075,
-0.0714445486664772,
0.011954303830862045,
0.008662475273013115,
0.043176133185625076,
-0.030008818954229355,
0.044723160564899445,
0.11792569607496262,
-0.02401408739387989,
0.01983008161187172,
0.03944920375943184,
-0.01951364427804947,
-0.04788753762841225,
0.0061485557816922665,
0.02285381592810154,
0.005304722581058741,
-0.00918547622859478,
-0.010082049295306206,
-0.007264876738190651,
-0.0170173030346632,
0.05210670083761215,
-0.00892177876085043,
0.002452390268445015,
0.05843545123934746,
-0.007902146317064762,
-0.013510121963918209,
-0.02911224588751793,
0.0010119406506419182,
-0.002159026451408863,
0.07552307099103928,
0.00297539122402668,
0.07524179667234421,
0.0021557302679866552,
-0.03800765424966812,
-0.00022290712513495237,
0.05323181301355362,
0.05175510421395302,
0.03370058909058571,
-0.05379436910152435,
0.0021766063291579485,
-0.03414008766412735,
-0.05439208447933197,
0.0016063596121966839,
-0.022502219304442406,
-0.022467060014605522,
0.023433951660990715,
-0.028514530509710312,
0.008671265095472336,
0.03370058909058571,
-0.0055991848930716515,
0.05773225799202919,
-0.02870791032910347,
-0.040046919137239456,
-0.009053627029061317,
0.023521851748228073,
0.005757404025644064,
0.03203050419688225,
-0.03385880962014198,
0.01450338400900364,
-0.02879580855369568,
-0.018933508545160294,
-0.007497809827327728,
0.014389114454388618,
0.02640494890511036,
0.018001776188611984,
0.026879604905843735,
-0.008016415871679783,
0.016832714900374413,
0.006306774448603392,
-0.007651633583009243,
-0.010978622362017632,
-0.007062708493322134,
0.008332853205502033,
-0.005739823915064335,
0.02735426090657711,
0.058716729283332825,
0.016621757298707962,
-0.029709961265325546,
-0.102736696600914,
0.05843545123934746,
0.007708768360316753,
-0.01669207587838173,
0.03937888517975807,
-0.0040917121805250645,
0.04335193336009979,
0.06058019399642944,
-0.05520075932145119,
-0.006126580759882927,
-0.0010899512562900782,
-0.0012800334952771664,
0.016832714900374413,
0.017509540542960167,
0.015848243609070778,
-0.04676242545247078,
-0.018388532102108,
0.04331677407026291,
-0.034280724823474884,
0.05013775825500488,
-0.020849712193012238,
0.03224145993590355,
0.0069572292268276215,
0.029059506952762604,
0.02744215913116932,
0.047852374613285065,
-0.06458840519189835,
0.04623502865433693,
-0.046903062611818314,
-0.013844138942658901,
0.11244077980518341,
0.05811901390552521,
-0.020375056192278862,
-0.01692940481007099,
-0.05428660660982132,
0.01351891178637743,
-0.01817757450044155,
-0.010319377295672894,
0.008965727873146534,
-0.002390860812738538,
0.007866987027227879,
0.015725184231996536,
-0.036073870956897736,
-0.03519487753510475,
0.0011668631341308355,
0.022888977080583572,
-0.0075461543165147305,
-0.12130102515220642,
0.005520075559616089,
-0.03934372588992119,
-0.01586582325398922,
-0.03287433832883835,
-0.013624390587210655,
-0.005933202337473631,
0.0012459724675863981,
-0.009730451740324497,
-0.05112222954630852,
0.031046031042933464,
-0.004913570825010538,
0.06261945515871048,
-0.011998253874480724,
-0.017491959035396576,
0.015566965565085411,
-0.01605920121073723,
-0.01670965552330017,
0.041277509182691574,
-0.056009430438280106,
0.060193438082933426,
-0.0023403186351060867,
0.02317025512456894,
0.009457964450120926,
-0.01577792316675186,
-0.006974808871746063,
0.04771173745393753,
-0.013299163430929184,
-0.007045128382742405,
-0.006473782937973738,
0.039941441267728806,
0.015795502811670303,
0.030518636107444763,
-0.007392330560833216,
0.022045142948627472,
0.016762396320700645,
-0.04198070243000984,
-0.06261945515871048,
0.034509263932704926,
0.019443323835730553,
-0.0264225285500288,
0.01545269601047039,
0.018458852544426918,
-0.0062056900933384895,
0.04918844625353813,
0.032944656908512115,
-0.04662178456783295,
0.03014945797622204,
0.0039093210361897945,
0.07049523293972015,
0.019337844103574753,
-0.02026957832276821,
0.005467336159199476,
-0.033436890691518784,
-0.01858191192150116,
-0.029780281707644463,
-0.007207742426544428,
-0.0005507440073415637,
-0.04595375061035156,
-0.04120719060301781,
0.016226209700107574,
0.005278352648019791,
-0.039835959672927856,
-0.011760925874114037,
-0.0023359237238764763,
0.009203055873513222,
0.009660132229328156,
0.05126287043094635,
-0.053724050521850586,
-0.038992129266262054,
0.01732495054602623,
0.03577501326799393,
-0.006636396981775761,
0.0025930292904376984,
-0.010416066274046898,
0.010073259472846985,
0.0018195153679698706,
0.021113410592079163,
0.01972460187971592,
0.05143866688013077,
0.04071495309472084,
-0.057767417281866074,
0.06082631275057793,
-0.007300036493688822,
0.004707007203251123,
-0.051403507590293884,
0.04082043096423149,
0.03037799708545208,
0.055798470973968506,
-0.03563437610864639,
-0.05843545123934746,
0.015048359520733356,
-0.025350157171487808,
-0.009510703384876251,
0.0011569744674488902,
0.006711111404001713,
0.04141814634203911,
0.01930268481373787,
0.025912711396813393,
0.02680928446352482,
0.020093778148293495,
-0.016542647033929825,
0.0015459288842976093,
-0.08318789303302765,
-0.03268095850944519,
-0.0007075893227010965,
0.02765311859548092,
-0.027213621884584427,
0.016006462275981903,
-0.004278498236089945,
0.07021395862102509,
0.07432764768600464,
0.021588066592812538,
-0.02181660570204258,
-0.010380906984210014,
0.05491948127746582,
-0.0630062147974968,
-0.020427796989679337,
0.0477820560336113,
-0.013079415075480938,
0.03248757869005203,
0.05583363398909569,
-0.006034286692738533,
0.039308566600084305,
-0.0012239976786077023,
-0.031046031042933464,
0.11490195989608765,
-0.03649578616023064,
0.036706745624542236,
0.0125783896073699,
-0.009141527116298676,
-0.06167014688253403,
-0.022924136370420456,
-0.02422504499554634,
-0.0016107546398416162,
0.07214774191379547,
-0.01549664605408907,
-0.03864052891731262,
-0.013501332141458988,
0.009264585562050343,
0.02044537663459778,
0.05273957550525665,
0.05699390172958374,
0.03538825735449791,
0.05759161710739136,
-0.1054791510105133,
0.010627024807035923,
-0.024717282503843307,
0.03966016322374344,
-0.028373893350362778,
-0.08501619845628738,
-0.01053912565112114,
0.06001763790845871,
-0.05080579221248627,
0.02860243059694767,
0.0033203959465026855,
0.020709073171019554,
-0.01586582325398922,
0.03245241940021515,
-0.029586903750896454,
-0.027934396639466286,
0.015733974054455757,
-0.03790217638015747,
0.023328473791480064,
-0.009194266051054,
-0.06054503470659256,
0.04792269691824913,
0.028866128996014595,
0.015303267166018486,
0.003546736668795347,
0.02513919770717621,
-0.061037272214889526,
0.01909172721207142,
-0.0015448301564902067,
-0.01080282311886549,
-0.09633763134479523,
0.07615595310926437,
-0.06515096127986908,
0.034509263932704926,
0.0030742778908461332,
0.025701753795146942,
0.029164986684918404,
-0.005546445492655039,
0.022150622680783272,
0.06075599417090416,
-0.01940816454589367,
-0.03860536962747574,
0.029288046061992645,
-0.07460892200469971,
-0.009475544095039368,
-0.06704958528280258,
0.055587515234947205,
0.04412544518709183,
0.05470852181315422,
0.029586903750896454,
-0.007278061471879482,
-0.09760338068008423,
0.0014920905232429504,
0.025596274062991142,
0.055376555770635605,
0.016428377479314804,
-0.02506887912750244,
-0.029622063040733337,
-0.03436862304806709,
-0.024049246683716774,
-0.01598888263106346,
-0.03818345442414284,
-0.049012646079063416,
0.007071498315781355,
0.03684738278388977,
-0.05291537567973137,
0.057169701904058456,
-0.049751002341508865,
-0.034280724823474884,
-0.057064224034547806,
-0.027688277885317802,
0.08389108628034592,
-0.008978912606835365,
-0.036917705088853836,
-0.001868958817794919,
0.0038148295134305954,
0.024137146770954132,
-0.07974223792552948,
0.015804292634129524,
-0.025086458772420883,
-0.05615007132291794,
-0.00461910804733634,
-0.03417524695396423,
0.10259605944156647,
-0.02809261530637741,
-0.03014945797622204,
-0.03811313584446907,
0.01158512756228447,
-0.01142690796405077,
-0.038886647671461105,
-0.06339297443628311,
0.04426608607172966,
0.05565783381462097,
-0.03892180696129799,
-0.0029424289241433144,
0.01544390618801117,
-0.04134782776236534,
-0.04131266847252846,
0.04542635753750801,
0.01090830285102129,
-0.017201893031597137,
0.002740260446444154,
0.03871085122227669,
-0.007128632627427578,
0.022467060014605522,
0.024717282503843307,
-0.01795782521367073,
0.019232366234064102,
0.054743681102991104,
-0.021693546324968338,
-0.047852374613285065,
-0.009044837206602097,
-0.02712572179734707,
-0.016006462275981903,
0.009229426272213459,
-0.040257878601551056,
-0.03315561264753342,
-0.004746561869978905,
0.010679764673113823,
0.06001763790845871,
-0.006803405471146107,
0.007326406426727772,
-0.031889863312244415,
-0.03496633842587471,
-0.005933202337473631,
0.02274833805859089,
0.023926187306642532,
-0.0185994915664196,
0.009159106761217117,
0.031028451398015022,
0.058505769819021225,
-0.025227097794413567,
-0.00882508885115385,
0.05143866688013077,
-0.030342835932970047,
-0.05491948127746582,
0.005937597248703241,
-0.015523015521466732,
-0.02151774801313877,
0.024699702858924866,
-0.0022392345126718283,
-0.08536779880523682,
-0.0264225285500288,
0.036777064204216,
0.08339884877204895,
-0.02985060028731823,
0.01930268481373787,
-0.072288379073143,
-0.04194554314017296,
0.0033665429800748825,
-0.03422798588871956,
-0.013624390587210655,
-0.009774401783943176,
0.06750665605068207,
0.06863176822662354,
0.026264309883117676,
0.031256988644599915,
0.025859972462058067,
-0.030940551310777664,
0.012042203918099403,
-0.08754769712686539,
-0.03417524695396423,
-0.03327867388725281,
0.005757404025644064,
0.007058313582092524,
0.009352484717965126,
-0.04082043096423149,
0.009282165206968784,
0.02141226828098297,
0.013237633742392063,
0.06768245995044708,
-0.0503135584294796,
0.04240262135863304,
0.007220927160233259,
0.03681222349405289,
0.011655446141958237,
-0.015162628144025803,
-0.07903904467821121,
-0.03048347495496273,
0.01742164045572281,
-0.04521539807319641,
0.00986230093985796,
-0.030008818954229355,
0.02348669245839119,
-0.05280989781022072,
0.023205414414405823,
0.026985082775354385,
-0.004667452536523342,
-0.004856436047703028,
-0.06543223559856415,
-0.03649578616023064,
0.053513091057538986,
-0.05101675167679787,
-0.040046919137239456,
-0.004170821513980627,
0.01278934720903635,
0.05382952839136124,
-0.08466459810733795,
-0.012745398096740246,
-0.02524467743933201,
-0.0014415484620258212,
-0.01059186551719904,
-0.022607699036598206,
0.024453584104776382,
-0.015215368010103703,
0.005564025603234768,
0.0022062722127884626,
0.011374169029295444,
0.02767069824039936,
-0.014380324631929398,
0.019249945878982544,
0.018511591479182243,
0.00881190411746502,
0.03818345442414284,
0.023029616102576256,
0.057029061019420624,
0.013360693119466305,
0.08494587987661362,
-0.009853511117398739,
-0.004241141024976969,
0.023346053436398506,
-0.023240573704242706,
-0.045250557363033295,
-0.010846773162484169,
0.05604458972811699,
0.057872895151376724,
0.03591565042734146,
0.03139762952923775,
-0.04521539807319641,
-0.01974218152463436,
-0.03631998971104622,
0.0699678361415863,
0.009783191606402397,
-0.026264309883117676,
0.0473601408302784,
0.03737477958202362,
-0.0046982173807919025,
0.026264309883117676,
-0.05098159238696098,
0.01598888263106346,
0.06198658421635628,
-0.01420452632009983,
0.0020887069404125214,
-0.09450932592153549,
0.025051299482584,
-0.04915328696370125,
0.01116321049630642,
-0.04549667611718178,
-0.03712866082787514,
0.040750112384557724,
-0.00592441251501441,
0.06058019399642944,
0.026686226949095726,
-0.020287157967686653,
-0.034913599491119385,
-0.014529753476381302,
-0.026580747216939926,
-0.009088787250220776,
-0.030606534332036972,
0.00014764335355721414,
0.02128920890390873,
-0.02598303183913231,
-0.017140362411737442,
0.0038851487915962934,
-0.02139468863606453,
-0.007216532249003649,
0.03364785015583038,
-0.0014865968842059374,
-0.039308566600084305,
0.046903062611818314,
-0.009704082272946835,
-0.0066451868042349815,
-0.05041903629899025,
0.0046982173807919025,
0.029252884909510612,
0.02756521850824356,
-0.0033687404356896877,
-0.04437156394124031,
-0.02380312979221344,
-0.0025095248129218817,
0.01953122392296791,
-0.02847937121987343,
-0.0714445486664772,
-0.022818656638264656,
0.023310892283916473,
-0.020621174946427345,
0.08522715419530869,
-0.0471491813659668,
0.004320250358432531,
0.047746896743774414,
0.04314097389578819,
-0.0035818961914628744,
0.0131585244089365,
-0.03881632909178734,
-0.004830066114664078,
-0.05323181301355362,
0.02026957832276821,
-0.028567271307110786,
0.04486380144953728,
0.002357898512855172,
-0.016542647033929825,
-0.03037799708545208,
-0.008851459249854088,
0.016226209700107574,
0.025631435215473175,
0.014011147432029247,
0.000179918875801377,
0.018335793167352676,
-0.032628219574689865,
0.05660714581608772,
0.023240573704242706,
0.06423680484294891,
-0.019601542502641678,
-0.04141814634203911,
-0.021974824368953705,
-0.03257548063993454,
0.06029891595244408,
-0.0739760473370552,
0.011400538496673107,
-0.00029666011687368155,
-0.0016283344011753798,
-0.047043703496456146,
0.02026957832276821,
0.026264309883117676,
0.010319377295672894,
-0.01889834925532341,
-0.029586903750896454,
-0.015610914677381516,
0.0026633485686033964,
-0.013606810942292213,
-0.02410198748111725,
0.0323469415307045,
0.06177562475204468,
0.05927928537130356,
0.0708116739988327,
0.02151774801313877,
-0.011013781651854515,
-0.010521546006202698,
-0.0071242377161979675,
-0.019162045791745186,
-0.018652230501174927,
-0.01877528987824917,
-0.008165844716131687,
-0.08058607578277588,
-0.005528865847736597,
0.048485253006219864,
0.0012152077397331595,
0.03705834224820137,
-0.03254031762480736,
0.04437156394124031,
0.016973353922367096,
0.026387369260191917,
-0.03299739584326744,
0.02995608001947403,
0.024928240105509758,
-0.02443600445985794,
-0.023961348459124565,
0.025912711396813393,
0.01669207587838173,
-0.011549967341125011,
-0.03122182935476303,
-0.004236746113747358,
0.03006155975162983,
0.031784385442733765,
0.07601530849933624,
-0.0092997457832098,
0.02691476419568062,
-0.0638500452041626,
0.005155293736606836,
0.02306477539241314,
-0.040257878601551056,
0.0031973368022590876,
-0.057380661368370056,
-0.007757112849503756,
0.013624390587210655,
-0.062373340129852295,
-0.023943768814206123,
0.058716729283332825,
-0.05133318901062012,
-0.00014599523274227977,
0.02253737859427929,
0.005884857848286629,
-0.004720191936939955,
-0.004997075069695711,
0.011330218985676765,
-0.006588052026927471,
0.018951088190078735,
-0.0532669723033905,
-0.024295365437865257,
0.008157054893672466,
0.03029009699821472,
-0.055903952568769455,
0.0010795132257044315,
-0.06181078404188156,
-0.012437750585377216,
-0.004939940292388201,
0.05604458972811699,
0.015804292634129524,
-0.010512756183743477,
-0.001047100406140089,
0.0524231381714344,
0.0005529415211640298,
-0.014116627164185047,
0.05734550207853317,
0.03916792571544647,
-0.028936447575688362,
-0.0712335854768753,
-0.010310587473213673,
-0.053091175854206085,
-0.007638448849320412,
0.026967503130435944,
0.015848243609070778,
-0.03874601051211357,
-0.041066549718379974,
-0.04152362793684006,
-0.024928240105509758,
-0.07105778902769089,
0.009449174627661705,
-0.0176501777023077,
0.00180742924567312,
0.02818051353096962,
-0.016569016501307487,
0.04451220482587814,
-0.007910936139523983,
-0.0020854107569903135,
0.04834461212158203,
0.019988300278782845,
-0.03948436304926872,
0.02682686410844326,
0.03422798588871956,
0.021851764991879463,
0.0000319493337883614,
0.026123670861124992,
0.007959281094372272,
0.029991239309310913,
-0.028004715219140053,
0.04732498154044151,
0.05801353603601456,
-0.01147964783012867,
-0.027705857530236244,
-0.011339008808135986,
-0.025824813172221184,
-0.009897460229694843,
-0.05857609212398529,
0.03254031762480736,
-0.018423691391944885,
0.03350721299648285
] |
52,092 |
tussik.zpl.zplwriter
|
saveas
| null |
def saveas(self, destination: Union[str, io.BytesIO]) -> bool:
#
# uses a 3rd party service not affiliated with this library in any way
#
url = f"http://api.labelary.com/v1/printers/{int(self._config.dpmm)}dpmm/labels" \
f"/{int(self._config.width)}x{int(self._config.height)}/0/"
headers = {'Accept': 'application/pdf'}
response = requests.post(url, self.export(), headers=headers)
if response.status_code == 200:
if isinstance(destination, str):
with open(destination, 'wb') as f:
f.write(response.content)
else:
destination.write(response.content)
return True
logging.error(response.content)
return False
|
(self, destination: Union[str, _io.BytesIO]) -> bool
|
[
0.048441726714372635,
0.007482943125069141,
-0.08131158351898193,
-0.016159484162926674,
0.023835239931941032,
-0.020860424265265465,
-0.022678367793560028,
0.031694624572992325,
-0.010861744172871113,
0.018693584948778152,
0.0035945670679211617,
-0.032998401671648026,
0.053032487630844116,
-0.02080533653497696,
0.032447509467601776,
0.036726102232933044,
0.03408182039856911,
-0.01149526983499527,
0.03600994125008583,
0.06742911785840988,
-0.025028837844729424,
-0.009686509147286415,
0.06533573567867279,
0.011779896914958954,
-0.0305193904787302,
0.007781342603266239,
0.01707763597369194,
-0.0024675349704921246,
-0.05710908770561218,
0.03165789693593979,
-0.005949628073722124,
-0.060928601771593094,
0.03132736310362816,
0.05865158140659332,
0.03488979488611221,
0.0786673054099083,
-0.01466289535164833,
0.03452253341674805,
-0.07150571793317795,
-0.06867780536413193,
-0.0573294423520565,
0.009934410452842712,
-0.01176153402775526,
0.011339183896780014,
-0.0016170961316674948,
0.02352306805551052,
-0.07334202527999878,
0.01872112974524498,
0.016581835225224495,
-0.0028577495831996202,
-0.03940710425376892,
0.023174168542027473,
-0.031217185780405998,
0.0321720652282238,
-0.0017146498430520296,
0.03444908186793327,
0.06456448137760162,
0.06258127838373184,
-0.05332629755139351,
-0.011054555885493755,
-0.04058234021067619,
-0.026534607633948326,
0.03701990842819214,
-0.04194120690226555,
0.04271245375275612,
0.044475309550762177,
-0.02354143001139164,
-0.02365160919725895,
-0.02877490036189556,
0.04697268083691597,
-0.01928120292723179,
-0.06551936268806458,
0.009016257710754871,
0.01176153402775526,
0.003101060166954994,
0.026185709983110428,
-0.011789077892899513,
-0.0387827605009079,
-0.0019476310117170215,
0.016049306839704514,
-0.003013835521414876,
-0.026222435757517815,
0.014515991322696209,
-0.064748115837574,
-0.013891647569835186,
0.026240799576044083,
0.07499469816684723,
0.07124863564968109,
-0.015030156821012497,
0.03714844956994057,
0.01199107151478529,
0.01884048990905285,
0.03812169283628464,
0.007987926714122295,
-0.01028330810368061,
-0.04748684912919998,
-0.0554196871817112,
0.011486087925732136,
-0.005362010560929775,
-0.007505896966904402,
-0.06177330017089844,
0.014727165922522545,
0.06309544295072556,
0.02647951804101467,
0.005481370724737644,
-0.03209861367940903,
0.006679559592157602,
0.040031448006629944,
-0.025983715429902077,
-0.021833667531609535,
0.0009858662961050868,
0.013395844958722591,
-0.03362274542450905,
-0.023137442767620087,
0.010365941561758518,
-0.05005767568945885,
0.009778324514627457,
-0.09534095972776413,
-0.06199365854263306,
-0.028058741241693497,
-0.021264411509037018,
0.021301139146089554,
-0.011229005642235279,
-0.004230387508869171,
-0.025028837844729424,
-0.0006685297703370452,
0.03209861367940903,
0.04036198556423187,
0.04370405897498131,
-0.009603875689208508,
-0.007363582961261272,
0.013873284682631493,
-0.024569761008024216,
0.03885621577501297,
0.05890866369009018,
-0.018684403970837593,
0.015535140410065651,
0.02069515734910965,
-0.06294853985309601,
0.034412357956171036,
-0.009420244954526424,
-0.05710908770561218,
0.014727165922522545,
-0.013827376998960972,
0.06897161900997162,
0.01566368155181408,
-0.0017536713276058435,
-0.01882212609052658,
-0.0031974660232663155,
-0.0050636110827326775,
-0.008304689079523087,
0.03505506366491318,
0.0026282116305083036,
-0.002692482201382518,
-0.06423395127058029,
-0.03852567821741104,
0.03889293968677521,
0.0244044940918684,
-0.011320820078253746,
0.043593879789114,
0.023486340418457985,
0.008690313436090946,
-0.028976893052458763,
0.016609378159046173,
-0.005215106066316366,
-0.024808481335639954,
-0.03962746262550354,
0.03907657042145729,
0.053363025188446045,
0.06265472620725632,
-0.005403327755630016,
-0.009548786096274853,
-0.023725060746073723,
-0.012496056035161018,
-0.06456448137760162,
0.004425494931638241,
0.06166312098503113,
0.03812169283628464,
0.04697268083691597,
0.013395844958722591,
0.029178887605667114,
0.014965886250138283,
-0.06643751263618469,
0.012551144696772099,
0.04282263293862343,
-0.0007350958767347038,
-0.05178380012512207,
0.08402931690216064,
0.0037736068479716778,
0.0044392673298716545,
0.041977934539318085,
0.02879326231777668,
0.07550886273384094,
-0.012064523994922638,
0.002754457527771592,
-0.06390341371297836,
-0.003335189074277878,
-0.042969536036252975,
-0.053363025188446045,
0.043740786612033844,
0.008130240254104137,
-0.021925482898950577,
-0.00542169064283371,
0.024698302149772644,
-0.021411316469311714,
-0.012358332984149456,
-0.013423389755189419,
0.053913917392492294,
-0.028609631583094597,
-0.03187825530767441,
-0.002690186956897378,
-0.03259441256523132,
-0.05130636319518089,
0.0169858206063509,
0.024569761008024216,
0.009429425932466984,
-0.018684403970837593,
0.049984224140644073,
0.004778984002768993,
-0.01641656644642353,
-0.04737666994333267,
0.061369314789772034,
0.009126435965299606,
-0.009085118770599365,
-0.01621457375586033,
-0.04638506472110748,
0.03944383189082146,
-0.010347578674554825,
0.05167362466454506,
-0.019556649029254913,
0.012128794565796852,
-0.01565450057387352,
0.0012659027706831694,
0.03867258504033089,
0.016490019857883453,
-0.03516524285078049,
-0.03073974698781967,
0.0022494737058877945,
-0.010577117092907429,
0.062030382454395294,
0.04014162719249725,
-0.011926800943911076,
-0.042198289185762405,
-0.02025444433093071,
0.016811372712254524,
-0.02363324537873268,
-0.006399523001164198,
-0.01717863418161869,
0.0003583664074540138,
-0.04436513036489487,
0.039700914174318314,
-0.04506292566657066,
-0.05575022101402283,
-0.03283313289284706,
0.03220878913998604,
-0.06368305534124374,
-0.045797448605298996,
-0.059496283531188965,
0.06368305534124374,
0.026552971452474594,
-0.007230450864881277,
0.00010465503874002025,
0.0072947219014167786,
0.010448575951159,
-0.019336292520165443,
0.010301670990884304,
-0.017132725566625595,
0.00870408583432436,
0.0428960844874382,
0.010549572296440601,
-0.031804803758859634,
0.043410249054431915,
-0.03523869439959526,
-0.036964818835258484,
0.03149263188242912,
-0.05167362466454506,
0.029931772500276566,
0.031015191227197647,
0.005531868897378445,
-0.013450934551656246,
0.0720566064119339,
-0.0063811601139605045,
0.02932579070329666,
-0.020052451640367508,
0.05130636319518089,
0.014148729853332043,
0.0010782553581520915,
0.03219042718410492,
0.035844672471284866,
-0.06775965541601181,
-0.03713008761405945,
0.04025180637836456,
0.018574224784970284,
0.005807314533740282,
-0.03940710425376892,
0.021484768018126488,
-0.01728881150484085,
-0.08660014718770981,
-0.004434676840901375,
-0.027654753997921944,
-0.05975336581468582,
0.024459583684802055,
0.04741339758038521,
0.0014885547570884228,
-0.051489993929862976,
0.0139559181407094,
0.025910263881087303,
0.021080782637000084,
0.0056879548355937,
0.015094427391886711,
0.022145839408040047,
-0.008249600417912006,
0.06261800229549408,
0.011733989231288433,
-0.008566362783312798,
0.047450121492147446,
0.019850457087159157,
0.017894793301820755,
-0.006867780815809965,
0.007556395139545202,
-0.0064867474138736725,
0.02868308499455452,
-0.05035148561000824,
-0.034871432930231094,
0.03995799645781517,
-0.0021128985099494457,
0.04546691104769707,
0.020933877676725388,
0.01439663115888834,
0.0019935385789722204,
0.011623810976743698,
0.01391001045703888,
0.053032487630844116,
0.0022942335344851017,
0.04014162719249725,
-0.02782002091407776,
-0.018234508112072945,
-0.012082886882126331,
0.019556649029254913,
0.009833413176238537,
-0.040031448006629944,
-0.010310852900147438,
-0.028205644339323044,
0.006417885888367891,
0.019630100578069687,
0.03995799645781517,
-0.0946064367890358,
0.010035406798124313,
0.017371445894241333,
-0.006096532568335533,
-0.07675755023956299,
0.10114368051290512,
-0.01685727946460247,
0.012716412544250488,
-0.031070280820131302,
-0.028848351910710335,
0.02899525687098503,
0.007464579772204161,
-0.02682841569185257,
0.002497374778613448,
0.024679940193891525,
-0.003727699164301157,
-0.04080269858241081,
-0.024771755561232567,
-0.009342201985418797,
-0.013671291060745716,
0.014938341453671455,
0.005123291164636612,
0.05417099967598915,
-0.03141918033361435,
0.010907651856541634,
0.009007075801491737,
-0.005779770202934742,
0.003980190958827734,
-0.01128409430384636,
0.06878798454999924,
-0.04300626367330551,
-0.03373292461037636,
-0.030280670151114464,
-0.001769738970324397,
0.013717198744416237,
-0.019887182861566544,
-0.04234519228339195,
0.03160281106829643,
0.09585512429475784,
-0.055346231907606125,
-0.027783295139670372,
-0.00437499675899744,
0.0002427365689072758,
-0.04370405897498131,
0.03830532357096672,
0.022145839408040047,
0.024459583684802055,
0.006876962259411812,
0.024698302149772644,
-0.055236056447029114,
-0.06709858775138855,
0.06313216686248779,
0.030611203983426094,
0.05725599080324173,
0.004834073130041361,
0.0007006651139818132,
-0.0728645846247673,
0.03472452983260155,
-0.05277540534734726,
0.030262306332588196,
0.044916022568941116,
-0.04862535744905472,
0.046568695455789566,
0.008391913957893848,
0.06357288360595703,
-0.044512033462524414,
-0.05079219862818718,
0.004384178202599287,
-0.0345776230096817,
0.062030382454395294,
-0.017040910199284554,
-0.04616471007466316,
0.0014942932175472379,
-0.0014426471898332238,
-0.007354401517659426,
0.07444380223751068,
0.06761275231838226,
0.005683363880962133,
0.05699890851974487,
-0.03479798138141632,
-0.0569254569709301,
-0.008065969683229923,
0.06199365854263306,
-0.03689136728644371,
-0.023504704236984253,
-0.03907657042145729,
-0.030574478209018707,
-0.015617773868143559,
0.030703019350767136,
0.006436249241232872,
-0.0024767164140939713,
0.003309939755126834,
-0.03615684434771538,
0.004820300731807947,
0.0849841982126236,
-0.07984254509210587,
-0.0484049990773201,
0.03544068709015846,
-0.003101060166954994,
-0.004976386670023203,
-0.0082679633051157,
-0.06056134030222893,
-0.0054630073718726635,
0.0078042964451014996,
0.017757069319486618,
-0.002453762572258711,
0.04091287776827812,
-0.04487929493188858,
0.012624597176909447,
-0.005215106066316366,
0.05174707621335983,
-0.10687295347452164,
0.00831387098878622,
0.01247769221663475,
0.01673792116343975,
-0.028224008157849312,
0.003596862545236945,
0.06886143982410431,
-0.0169858206063509,
-0.015581048093736172,
0.01961173675954342,
0.035954851657152176,
0.03992127254605293,
0.008153194561600685,
0.002515737898647785,
-0.018454864621162415,
0.04520982876420021,
-0.009305475279688835,
0.011917619965970516,
0.05758652463555336,
-0.011293276213109493,
0.0428960844874382,
-0.026314251124858856,
0.01522296853363514,
0.011366727761924267,
-0.010127222165465355,
-0.0014403517125174403,
-0.004847845062613487,
0.004418609198182821,
-0.01796824485063553,
-0.0038126283325254917,
0.014185456559062004,
0.045834172517061234,
0.041316863149404526,
0.01862931437790394,
0.0048065283335745335,
-0.03141918033361435,
-0.049874044954776764,
0.027507849037647247,
0.03863585740327835,
0.01620539277791977,
0.03274131938815117,
-0.021411316469311714,
-0.07168934494256973,
-0.020713521167635918,
-0.007946610450744629,
-0.016480837017297745,
-0.02892180345952511,
0.01237669587135315,
-0.01741735264658928,
0.0214480422437191,
-0.01696745865046978,
-0.02256818860769272,
0.05497897416353226,
-0.06166312098503113,
0.04958023503422737,
-0.052481599152088165,
0.060928601771593094,
-0.0029908819124102592,
0.055346231907606125,
-0.01438745018094778,
-0.07073447108268738,
-0.037827882915735245,
-0.016040123999118805,
-0.018216146156191826,
-0.017206178978085518,
0.035514138638973236,
-0.11568721383810043,
-0.0391867496073246,
0.06577644497156143,
-0.04818464443087578,
0.015406599268317223,
-0.041537221521139145,
-0.01772034354507923,
-0.012220609933137894,
0.009613056667149067,
0.05626438558101654,
-0.030133765190839767,
-0.0020899446681141853,
0.040986329317092896,
-0.0028577495831996202,
0.002683300757780671,
0.02519410476088524,
-0.0247533917427063,
0.03758916258811951,
-0.053803738206624985,
-0.08072397112846375,
-0.035514138638973236,
-0.012238972820341587,
0.020823698490858078,
0.051820527762174606,
-0.07984254509210587,
0.07683100551366806,
-0.006817282643169165,
-0.004480584058910608,
0.022604914382100105,
0.048772260546684265,
0.01028330810368061,
0.01815187558531761,
0.1201677992939949,
-0.005986354313790798,
0.035863038152456284,
0.02297217585146427,
-0.020107539370656013,
-0.040545616298913956,
-0.03962746262550354,
0.058614857494831085,
0.004990159068256617,
-0.024569761008024216,
-0.007689527235925198,
-0.030262306332588196,
-0.026314251124858856,
-0.015112790279090405,
-0.024790117517113686,
0.05835777521133423,
-0.006766784004867077,
0.0017823635134845972,
-0.07231368869543076,
0.035642679780721664,
-0.014690440148115158,
0.04227174073457718,
-0.007570167537778616,
0.0023803103249520063,
0.04392441734671593,
-0.022311106324195862,
0.01652674563229084,
0.0075518046505749226,
-0.04869880899786949,
0.002768229926005006,
-0.037717703729867935,
-0.007671164348721504,
-0.047670479863882065,
-0.03830532357096672,
-0.02802201546728611,
-0.03439399227499962,
0.055566590279340744,
0.05332629755139351,
-0.07040393352508545,
-0.021741852164268494,
-0.018252871930599213,
0.03011540323495865,
-0.05990026891231537,
0.0477072037756443,
-0.03922347351908684,
0.04212483763694763,
0.053693559020757675,
-0.07499469816684723,
-0.03490815684199333,
0.0466054230928421,
0.0428960844874382,
-0.04719303920865059,
0.01992390863597393,
-0.012101249769330025,
-0.03797478973865509,
-0.05049838870763779,
0.010797473601996899,
-0.005582367070019245,
-0.03674446418881416,
-0.018528318032622337,
0.0317680761218071,
0.0022414398845285177,
-0.01709599979221821,
-0.05207761004567146,
0.05945955589413643,
0.017444897443056107,
-0.019317928701639175,
0.015617773868143559,
0.03042757511138916,
-0.05350992828607559,
-0.02221929095685482,
-0.02669987455010414,
0.011293276213109493,
0.05508914962410927,
0.028848351910710335,
-0.03690972924232483,
0.03973764181137085,
0.04161067306995392,
0.030262306332588196,
0.0001545078557683155,
-0.02332107350230217,
-0.032006796449422836,
0.040765970945358276,
0.052114337682724,
0.0138549217954278,
-0.02636934071779251,
-0.010411849245429039,
-0.0006277867942117155,
-0.000001309084609601996,
0.03305349126458168,
0.023174168542027473,
0.019299566745758057,
0.011385091580450535,
-0.009456970728933811,
-0.008231237530708313,
-0.02987668290734291,
0.038819488137960434,
-0.008442412130534649,
-0.0032341922633349895,
0.010053769685328007,
0.01884048990905285,
0.04719303920865059,
0.006500519812107086,
-0.016444111242890358,
-0.030280670151114464,
0.03391655534505844,
-0.03758916258811951,
-0.01351520512253046,
0.005453825928270817,
0.016490019857883453,
0.025579728186130524,
0.004944251384586096,
-0.0015172470593824983,
-0.06599680334329605,
-0.05637456476688385,
-0.015727952122688293,
0.021705124527215958,
0.01242260355502367,
-0.056448016315698624,
0.008841808885335922,
0.004083483479917049,
-0.03977436572313309,
-0.02409232221543789,
0.08109123259782791,
-0.024386130273342133,
-0.06188347935676575,
-0.03378801420331001,
-0.012358332984149456,
-0.005752225406467915,
0.01895066723227501,
0.013395844958722591,
0.05163689702749252,
-0.026534607633948326,
-0.029968498274683952,
-0.02407395839691162,
0.010751565918326378,
0.01981373131275177,
0.030372485518455505,
0.014433357864618301,
-0.0011958936229348183,
0.031217185780405998,
-0.011403454467654228,
0.03479798138141632,
-0.02870144695043564,
-0.05879848822951317,
0.007854795083403587,
0.020327895879745483,
0.02607553079724312,
-0.006275572348386049,
-0.049763865768909454,
-0.014672077260911465,
-0.10320034623146057,
0.035201966762542725,
0.04017835482954979,
-0.05240814387798309,
0.002772820647805929,
0.01379065029323101,
0.02321089617908001,
-0.014571079984307289,
-0.051600173115730286,
-0.03193334490060806,
-0.009388109669089317,
0.0455036386847496,
0.034651074558496475,
-0.019960636273026466,
-0.011201460845768452,
0.030831560492515564,
0.029968498274683952,
-0.022256016731262207,
-0.07168934494256973,
-0.015828948467969894,
-0.044475309550762177,
-0.005784360691905022,
0.02025444433093071,
-0.02352306805551052,
0.021723488345742226,
0.05707236006855965,
-0.09071347117424011,
0.04814791679382324,
-0.09747107326984406,
0.01290922425687313,
0.017600983381271362,
0.01028330810368061,
0.007749207317829132,
-0.021429680287837982,
0.04792756214737892,
0.048221368342638016,
0.04649524390697479,
0.020309533923864365,
-0.00011943155550397933,
0.03261277824640274,
-0.01815187558531761,
0.0099711362272501,
-0.004902934189885855,
0.03448580950498581,
0.05909229442477226,
-0.011844167485833168,
0.014433357864618301,
0.03208024799823761,
0.025028837844729424,
0.005747634917497635,
0.01895066723227501,
0.02563481777906418,
0.005476779770106077,
-0.00163431151304394,
-0.07172607630491257,
-0.0024881933350116014,
-0.030170490965247154,
0.009622238576412201,
-0.007643619552254677,
0.05956973508000374,
-0.0406925193965435,
0.0008842956158332527
] |
52,093 |
tussik.zpl.zplwriter
|
text
| null |
def text(self, data: str, left: int = 0, top: int = 0):
left = min(max(int(left * self._config.dpmm), 0), 32000)
top = min(max(int(top * self._config.dpmm), 0), 32000)
self.add(f"^FO{left},{top}{self._font}{self._reverse}^FD{data}^FS")
|
(self, data: str, left: int = 0, top: int = 0)
|
[
0.022448129951953888,
0.012647313997149467,
0.02713547833263874,
0.015417110174894333,
0.032163724303245544,
-0.020743640139698982,
-0.029385404661297798,
-0.007947184145450592,
0.04612349346280098,
-0.005202955100685358,
0.028277486562728882,
-0.04019187018275261,
-0.004576554987579584,
-0.02720365673303604,
-0.009425828233361244,
0.0521232970058918,
-0.011002481915056705,
-0.03927144408226013,
0.0038159266114234924,
-0.04731663689017296,
0.024817371740937233,
-0.018016457557678223,
-0.004938759375363588,
-0.028089992702007294,
0.008092065341770649,
0.005552375689148903,
-0.07083859294652939,
-0.022959478199481964,
-0.0006056265556253493,
-0.0374646857380867,
0.010286595672369003,
-0.0734294205904007,
-0.017846008762717247,
-0.0026760490145534277,
0.02713547833263874,
0.01066158339381218,
0.050691526383161545,
-0.06807732582092285,
-0.024288980290293694,
0.007111983839422464,
-0.008923004381358624,
-0.02718661166727543,
0.025516211986541748,
0.0262661874294281,
-0.028362710028886795,
-0.029913796111941338,
0.06289567053318024,
0.0362374521791935,
-0.00017803929222282022,
0.020027754828333855,
0.05880489945411682,
-0.047827985137701035,
-0.05778220295906067,
-0.011428603902459145,
-0.021698154509067535,
0.051952850073575974,
0.023112881928682327,
0.04690755903720856,
0.0374646857380867,
-0.031158072873950005,
0.07036133855581284,
0.011011004447937012,
0.008062236942350864,
-0.027749093249440193,
-0.033834122121334076,
0.021374301984906197,
0.07622478157281876,
-0.009749681688845158,
0.025277582928538322,
0.0036902204155921936,
-0.008164506405591965,
0.04435082525014877,
-0.002605738816782832,
0.018016457557678223,
0.0019260734552517533,
-0.013559216633439064,
-0.006251216400414705,
0.006822220515459776,
0.03978279232978821,
-0.01193142868578434,
0.049225665628910065,
-0.00819433480501175,
0.03531702980399132,
0.05099833384156227,
0.018016457557678223,
-0.03114102967083454,
0.022840162739157677,
0.013252408243715763,
0.04032822698354721,
-0.0068989223800599575,
0.0060892896726727486,
-0.07745201885700226,
-0.0378737635910511,
0.015042122453451157,
-0.03593064472079277,
-0.033834122121334076,
0.024544652551412582,
0.0018909183563664556,
-0.009272424504160881,
0.0681455060839653,
-0.012681404128670692,
0.06535013765096664,
0.047759804874658585,
-0.01396829355508089,
0.02067546173930168,
-0.0731566995382309,
-0.03478863835334778,
0.017948277294635773,
-0.0005243969499133527,
0.022362906485795975,
-0.011530873365700245,
-0.022771984338760376,
0.06412290781736374,
-0.02413557656109333,
0.04094184562563896,
-0.011718367226421833,
-0.033561404794454575,
-0.012536522932350636,
0.016695477068424225,
-0.009519575163722038,
0.023948082700371742,
-0.02699911780655384,
-0.04053276777267456,
-0.03066377155482769,
-0.0677364245057106,
0.0456121489405632,
0.015536424703896046,
0.0022392733953893185,
0.06385018676519394,
-0.1047920361161232,
0.08242912590503693,
0.03325459733605385,
0.01362739596515894,
0.0016032856656238437,
0.06412290781736374,
0.0016533550806343555,
0.02653890661895275,
0.02026638388633728,
-0.02134021185338497,
0.02139134705066681,
-0.008484098128974438,
-0.027408195659518242,
-0.0031788735650479794,
0.011002481915056705,
-0.016226742416620255,
0.05525955930352211,
0.04237361624836922,
-0.017760783433914185,
0.031294431537389755,
0.014002383686602116,
0.024016261100769043,
0.04871431738138199,
-0.06480470299720764,
-0.0005347836995497346,
0.04271451383829117,
-0.053827788680791855,
0.0036753062158823013,
-0.058225370943546295,
0.012553567066788673,
0.09872405230998993,
0.026300277560949326,
-0.008795167319476604,
-0.04612349346280098,
0.010687150992453098,
0.0013113918248564005,
0.015451200306415558,
-0.02645368129014969,
0.007623330689966679,
0.03333982080221176,
-0.026845714077353477,
0.01083203312009573,
-0.08556538820266724,
-0.008083542808890343,
0.05154377222061157,
0.010056490078568459,
-0.03175464645028114,
-0.08188369125127792,
0.026232097297906876,
-0.013678530231118202,
-0.01260470226407051,
-0.023112881928682327,
0.025482121855020523,
-0.022311771288514137,
-0.03477159142494202,
-0.0012496040435507894,
-0.021766334772109985,
0.01472679153084755,
0.03668062016367912,
0.001726861228235066,
-0.059486694633960724,
-0.02347082458436489,
-0.019448228180408478,
-0.01760737970471382,
-0.012519477866590023,
0.01479497179389,
0.023948082700371742,
0.03528293967247009,
-0.06371382623910904,
-0.028550203889608383,
-0.05832764133810997,
0.016840359196066856,
0.0192096009850502,
0.0371919684112072,
0.0036966123152524233,
-0.01146269403398037,
-0.0031895264983177185,
0.04694164916872978,
0.08522448688745499,
-0.0758838877081871,
-0.018220996484160423,
-0.004508375655859709,
-0.015059167519211769,
0.023300375789403915,
0.0011611836962401867,
0.04012368991971016,
-0.028550203889608383,
-0.09974674135446548,
0.03831693157553673,
0.002618522383272648,
0.030953533947467804,
0.01626083254814148,
0.027544556185603142,
0.013797844760119915,
0.01613299548625946,
0.0021604408975690603,
0.0034260244574397802,
0.013533649034798145,
-0.020215248689055443,
0.0030318612698465586,
0.011189975775778294,
0.000902846921235323,
0.007870481349527836,
-0.06262295693159103,
0.03998732939362526,
0.013985338620841503,
-0.043294042348861694,
-0.013678530231118202,
-0.023010611534118652,
-0.04994155094027519,
-0.0113007677718997,
-0.010158759541809559,
0.049634743481874466,
0.01978912577033043,
0.032436441630125046,
0.017360229045152664,
-0.004461502190679312,
0.024561697617173195,
0.007090677507221699,
0.0007760755252093077,
-0.00010140382801182568,
-0.043021321296691895,
0.02207314223051071,
-0.036032915115356445,
0.01513586938381195,
-0.04400992766022682,
0.01987435109913349,
0.00976672675460577,
-0.02466396801173687,
0.021220898255705833,
0.03824875131249428,
-0.037089698016643524,
-0.03937371447682381,
-0.03661243990063667,
0.05246419459581375,
0.13806366920471191,
0.007989795878529549,
-0.07029315829277039,
-0.004401844926178455,
-0.04264633357524872,
-0.05014609172940254,
0.00022318163246382028,
0.00882925745099783,
0.049362026154994965,
-0.00029588877805508673,
-0.008373306132853031,
0.02652186155319214,
0.015544947236776352,
-0.001637375564314425,
0.057100407779216766,
-0.05778220295906067,
0.02993084117770195,
0.0038628000766038895,
-0.05168013274669647,
-0.04619167372584343,
-0.0008027081494219601,
-0.002428897889330983,
0.05686178058385849,
0.035419296473264694,
0.020760685205459595,
-0.039169177412986755,
0.010065012611448765,
0.04885067790746689,
0.03224894776940346,
0.01806759275496006,
0.0045893387869000435,
0.0030851266346871853,
0.07622478157281876,
0.059486694633960724,
-0.023112881928682327,
-0.031498972326517105,
0.010508179664611816,
-0.056418612599372864,
0.03957825154066086,
-0.013473992235958576,
-0.031175117939710617,
-0.022550400346517563,
-0.005731347016990185,
-0.0005158744752407074,
0.05631634220480919,
-0.06685008853673935,
-0.01626083254814148,
-0.002601477550342679,
0.041623640805482864,
0.004156824667006731,
0.027902498841285706,
0.09020160138607025,
-0.0025673878844827414,
0.038010124117136,
0.0371919684112072,
0.00980081595480442,
0.04319177195429802,
-0.07779291272163391,
0.0188687015324831,
-0.00945991836488247,
0.031567152589559555,
0.018152816221117973,
-0.014377371408045292,
0.001964424503967166,
0.06845231354236603,
-0.016831837594509125,
0.012110400013625622,
0.015042122453451157,
0.018476668745279312,
-0.022379951551556587,
-0.04118047282099724,
-0.004118473269045353,
-0.00011445382551755756,
0.03240235149860382,
-0.0035858203191310167,
-0.020249338820576668,
0.00421861233189702,
-0.006822220515459776,
-0.020436832681298256,
0.0038841061759740114,
0.055225469172000885,
0.008492620661854744,
0.009042317979037762,
0.007947184145450592,
0.054236866533756256,
0.06091846525669098,
0.0027250531129539013,
-0.04445309564471245,
0.046089403331279755,
-0.05372551828622818,
0.026368457823991776,
-0.011317811906337738,
0.030186515301465988,
-0.013797844760119915,
0.009280947037041187,
-0.015783576294779778,
0.006148946937173605,
0.009894562885165215,
-0.0593162439763546,
0.03151601552963257,
-0.06275931745767593,
-0.011863249354064465,
-0.03114102967083454,
0.09633776545524597,
0.04591895639896393,
0.07874742895364761,
0.016184130683541298,
-0.008680114522576332,
-0.0027932326775044203,
0.015059167519211769,
0.04261224344372749,
0.01966981217265129,
-0.02099931426346302,
-0.01673809066414833,
-0.04373720660805702,
-0.053964145481586456,
-0.055225469172000885,
-0.01060192659497261,
-0.042100898921489716,
-0.006276783533394337,
0.024834416806697845,
0.04077139496803284,
-0.059895772486925125,
0.021783379837870598,
0.03657834976911545,
-0.04407810792326927,
-0.014973943121731281,
-0.010090579278767109,
0.09361057728528976,
-0.00443167332559824,
-0.026675265282392502,
0.002925330540165305,
0.007452881895005703,
0.009638889692723751,
0.029044507071375847,
0.03327164053916931,
-0.007823607884347439,
-0.03807830065488815,
-0.05287327244877815,
0.0005885816644877195,
0.03224894776940346,
0.03640790283679962,
-0.012408685870468616,
-0.03865782916545868,
0.011820636689662933,
0.06712280958890915,
-0.032163724303245544,
0.012442776001989841,
0.0378737635910511,
0.02645368129014969,
-0.010388865135610104,
-0.017982367426156998,
-0.030748996883630753,
-0.018442580476403236,
-0.01626935601234436,
-0.006941534578800201,
-0.04373720660805702,
-0.0446576327085495,
0.02180042490363121,
0.0005630142986774445,
0.028686562553048134,
-0.009383216500282288,
-0.01540006510913372,
-0.014283624477684498,
0.03644199296832085,
0.057952653616666794,
-0.04060094803571701,
-0.0695090964436531,
-0.04268042370676994,
-0.02706729806959629,
-0.02193678356707096,
0.008940049447119236,
-0.03647608309984207,
-0.05273691564798355,
-0.0046489960514009,
-0.03212963417172432,
0.08277002722024918,
-0.023913992568850517,
0.04919157549738884,
0.012212669476866722,
-0.03461818769574165,
0.003994897939264774,
-0.015536424703896046,
-0.02432307042181492,
0.01156496349722147,
0.012178579345345497,
0.018698252737522125,
0.08911072462797165,
-0.035419296473264694,
0.029436539858579636,
0.035828374326229095,
-0.06163435056805611,
0.013047869317233562,
-0.0593162439763546,
-0.004114212468266487,
0.06385018676519394,
-0.029572898522019386,
0.056895870715379715,
-0.08202005177736282,
-0.027544556185603142,
0.024612832814455032,
-0.030766040086746216,
0.009425828233361244,
0.002622783649712801,
-0.05921397730708122,
-0.02652186155319214,
-0.031038759276270866,
-0.0362374521791935,
-0.012383118271827698,
-0.012775151059031487,
0.04458945244550705,
0.05454367399215698,
0.0019132897723466158,
0.03477159142494202,
-0.028686562553048134,
-0.021425437182188034,
0.04138501361012459,
-0.10220120847225189,
-0.03274324908852577,
-0.0058123101480305195,
-0.027016162872314453,
0.005633338820189238,
0.0008352000149898231,
0.014922807924449444,
0.008407396264374256,
-0.017828963696956635,
0.023095836862921715,
0.018885746598243713,
-0.05041880905628204,
-0.026572996750473976,
0.019158465787768364,
0.0053563592955470085,
-0.0005848530563525856,
-0.022175412625074387,
-0.06364564597606659,
-0.050555165857076645,
-0.03831693157553673,
-0.0037754448130726814,
0.009655934758484364,
-0.044623542577028275,
-0.004602122586220503,
-0.019243689253926277,
0.04131683334708214,
0.030493322759866714,
0.015101779252290726,
0.008407396264374256,
-0.02699911780655384,
-0.04404401779174805,
-0.006609159056097269,
-0.020215248689055443,
-0.0008900632965378463,
-0.04094184562563896,
-0.026163918897509575,
0.033322773873806,
-0.0529414527118206,
-0.045237161219120026,
-0.05304372310638428,
0.013226840645074844,
-0.04700982943177223,
-0.08720169961452484,
0.024288980290293694,
0.005620555020868778,
-0.015110301785171032,
-0.0007435836596414447,
0.011888816021382809,
0.0298626609146595,
-0.006140424404293299,
0.0262661874294281,
0.08740624040365219,
-0.030288783833384514,
0.062350235879421234,
0.01466713473200798,
0.019482318311929703,
0.0005512959323823452,
0.045032620429992676,
0.017010807991027832,
0.0190732404589653,
-0.03988506272435188,
0.02125498838722706,
-0.06545241177082062,
0.03944189473986626,
-0.0011132449144497514,
0.03777149319648743,
-0.043430399149656296,
0.059725321829319,
0.015374498441815376,
-0.03957825154066086,
-0.053418710827827454,
0.000029362499844864942,
0.01972094736993313,
-0.013976816087961197,
0.08215641230344772,
-0.001720469444990158,
0.03434547036886215,
0.03461818769574165,
-0.04990746080875397,
-0.06419108808040619,
0.028482025489211082,
0.026607085019350052,
0.033561404794454575,
-0.05621407553553581,
-0.011795069091022015,
-0.03465227782726288,
-0.012042220681905746,
-0.0517142191529274,
-0.03524884954094887,
0.08004283905029297,
0.00401620427146554,
0.016968196257948875,
-0.026436636224389076,
-0.06139572337269783,
-0.01360182836651802,
-0.004555249121040106,
0.0007686183671467006,
0.024885552003979683,
-0.002644089749082923,
-0.048100702464580536,
-0.005897534545511007,
-0.03131147846579552,
0.011939951218664646,
0.03361253812909126,
0.009511053562164307,
-0.0037690531462430954,
0.013610350899398327,
-0.02725479193031788,
-0.04046458750963211,
0.01747102104127407,
-0.066100113093853,
0.06044120714068413,
-0.02140839211642742,
-0.014215445145964622,
0.00585066108033061,
0.050827886909246445,
0.014479640871286392,
-0.025226449593901634,
-0.011999608017504215,
-0.020112980157136917,
0.0514415018260479,
-0.0686909407377243,
0.015169959515333176,
0.011956996284425259,
0.020317519083619118,
0.01013319194316864,
0.05345280095934868,
-0.06221387907862663,
0.007836392149329185,
0.016968196257948875,
0.05566863715648651,
-0.0010882102651521564,
-0.016303444281220436,
-0.016218220815062523,
0.00019961173529736698,
0.008837779983878136,
-0.07942922413349152,
0.05457776412367821,
0.019550498574972153,
0.0038670613430440426,
0.04537351801991463,
-0.06439562141895294,
0.017445452511310577,
0.017811918631196022,
0.061225272715091705,
-0.012536522932350636,
-0.03657834976911545,
-0.0018738735234364867,
-0.08147460967302322,
-0.00012430790229700506,
0.04373720660805702,
-0.018544849008321762,
0.025226449593901634,
-0.0692363753914833,
0.013644441030919552,
-0.08386089652776718,
0.025754841044545174,
-0.04445309564471245,
-0.04101002588868141,
0.008539494127035141,
-0.022311771288514137,
-0.041691821068525314,
-0.007414530497044325,
0.0033812816254794598,
0.026879804208874702,
-0.025311673060059547,
-0.03528293967247009,
-0.003930979408323765,
0.028089992702007294,
-0.025175314396619797,
-0.03281142935156822,
0.028703607618808746,
0.05304372310638428,
0.04994155094027519,
0.05917988717556,
0.05205512046813965,
-0.04939611628651619,
0.00033370713936164975,
-0.0019090286223217845,
-0.04257815703749657,
-0.003479289822280407,
0.016371624544262886,
-0.02033456414937973,
-0.0006663489621132612,
-0.07036133855581284,
0.0758838877081871,
-0.001251734676770866,
0.02079477533698082,
-0.05471412092447281,
0.004440195858478546,
0.048100702464580536,
-0.028413845226168633,
-0.04472581297159195,
0.059691231697797775,
0.027476375922560692,
0.04435082525014877,
-0.029317224398255348,
0.05318008363246918,
0.03052741289138794,
0.006685861386358738,
-0.031243298202753067,
0.012101877480745316,
-0.07267944514751434,
0.01747102104127407,
0.11345084011554718,
-0.005573681555688381,
0.021152717992663383,
-0.01557051483541727,
0.004071599803864956,
-0.043362218886613846,
-0.030697861686348915,
0.01516143698245287,
-0.03361253812909126,
0.04987337067723274,
-0.04891885817050934,
-0.010099101811647415,
-0.05031653866171837,
0.02292538806796074,
-0.02093113400042057,
-0.01992548629641533,
0.016150040552020073,
0.0016885101795196533,
-0.03148192539811134,
-0.015894368290901184,
-0.01666991040110588,
-0.0017247305950149894,
-0.01493133045732975,
-0.0732930600643158,
0.018033502623438835,
0.030425142496824265,
0.04141910374164581,
-0.019448228180408478,
0.05539591982960701,
-0.030953533947467804,
0.03272620588541031,
-0.029368359595537186,
0.012579134665429592,
-0.0185959842056036,
0.0050921631045639515,
0.02026638388633728,
0.06766824424266815,
0.03821466118097305,
-0.031976230442523956,
-0.006362008396536112,
0.0038947591092437506,
-0.04360084980726242,
-0.03333982080221176,
-0.05072561651468277,
-0.021493615582585335,
0.022584490478038788,
0.035896554589271545,
-0.007567934691905975,
0.009843428619205952,
-0.04366903007030487,
0.017505111172795296,
0.018425535410642624,
-0.061088915914297104,
-0.029232000932097435,
0.003338669426739216,
-0.024612832814455032,
0.031243298202753067,
-0.03671471029520035,
0.04718027636408806,
-0.01476940419524908,
0.025567347183823586,
0.005164604168385267,
0.0341409295797348,
-0.02645368129014969,
0.0746566504240036,
0.0458848662674427,
0.033953435719013214,
-0.050623346120119095,
0.03073195181787014,
0.046362124383449554,
0.0021167632658034563,
0.019363004714250565,
-0.0056290775537490845,
0.010218416340649128,
-0.007810824550688267,
-0.008940049447119236,
-0.005501240957528353,
0.01612447388470173,
0.04694164916872978,
0.004357101861387491,
0.014079085551202297,
-0.045168980956077576,
0.04400992766022682
] |
52,094 |
tussik.zpl.zplwriter
|
textblock
| null |
def textblock(self, left: int = 0, top: int = 0, data: str = "",
width: int = 0, justify: str = "J", maxlines: int = 1) -> bool:
left = min(max(int(left * self._config.dpmm), 0), 32000)
top = min(max(int(top * self._config.dpmm), 0), 32000)
justify = justify.upper()
if justify not in ['L', 'C', 'R', 'J']:
return False
width = max(0, int(width * self._config.dpmm))
self.add(f"^FO{left},{top}{self._font}{self._reverse}"
f"^FB{width},{maxlines},0,{justify},0^FD{data}^FS")
return True
|
(self, left: int = 0, top: int = 0, data: str = '', width: int = 0, justify: str = 'J', maxlines: int = 1) -> bool
|
[
0.06612617522478104,
0.003823653096333146,
0.047707635909318924,
0.057819776237010956,
0.012468630447983742,
-0.05846984311938286,
-0.04037633165717125,
-0.005931853782385588,
0.018436599522829056,
-0.0021680158097296953,
-0.017326069995760918,
-0.008021997287869453,
-0.015881478786468506,
-0.021831389516592026,
-0.030986487865447998,
0.009714878164231777,
-0.023944104090332985,
-0.0820527970790863,
0.004925154149532318,
-0.04229041561484337,
-0.004241230431944132,
-0.013732648454606533,
0.02580401673913002,
-0.004358603619039059,
0.03882339596748352,
0.004381175152957439,
-0.015222382731735706,
0.009231843054294586,
0.024937260895967484,
0.03326172009110451,
0.013245098292827606,
-0.05662798881530762,
-0.0065187192521989346,
0.012739491648972034,
0.06356202811002731,
0.013218012638390064,
0.04109862819314003,
-0.0672457367181778,
0.02827787958085537,
-0.016486400738358498,
0.006536776665598154,
-0.022535627707839012,
0.07533545047044754,
0.021018806844949722,
-0.05464167520403862,
-0.030787857249379158,
0.09844890981912613,
0.036168958991765976,
0.0415320061147213,
-0.010753178037703037,
0.05944494158029556,
-0.03701765835285187,
0.018924148753285408,
0.015574502758681774,
-0.03151015192270279,
-0.007755650673061609,
0.006839238107204437,
0.05691690742969513,
-0.005588763393461704,
-0.026147106662392616,
0.04871884733438492,
-0.0028508109971880913,
0.013741676695644855,
-0.0020980434492230415,
-0.04030410200357437,
0.0030200991313904524,
0.012965208850800991,
-0.010554546490311623,
0.040954168885946274,
0.019195009022951126,
-0.023257924243807793,
0.037884414196014404,
-0.013804878108203411,
0.05576123297214508,
-0.020838232710957527,
-0.032015759497880936,
-0.04138754680752754,
0.031185120344161987,
0.038209445774555206,
-0.019195009022951126,
0.03250331059098244,
0.021145207807421684,
0.06070895865559578,
0.02004370652139187,
0.06468158215284348,
-0.041712578386068344,
0.014193112030625343,
0.055255625396966934,
0.07865800708532333,
-0.029271036386489868,
0.004938697442412376,
-0.020152051001787186,
0.015132096596062183,
-0.029108518734574318,
-0.021578585729002953,
-0.011358100920915604,
0.04174869507551193,
-0.032936688512563705,
-0.02708609029650688,
0.05323319882154465,
0.010924722999334335,
0.06533165276050568,
0.09288723766803741,
-0.04189315438270569,
0.0029952703043818474,
-0.002365518594160676,
-0.05200529471039772,
0.0007838037563487887,
0.002370032947510481,
0.015926621854305267,
0.018508829176425934,
-0.08508644253015518,
0.03019196353852749,
0.011511588469147682,
0.004997383803129196,
-0.017082294449210167,
-0.030787857249379158,
0.0023858333006501198,
-0.03651205077767372,
-0.02313152141869068,
0.030986487865447998,
-0.05048847198486328,
-0.022987062111496925,
-0.04929668456315994,
-0.027988960966467857,
0.020784061402082443,
0.027230549603700638,
0.011367129161953926,
0.06930427998304367,
-0.08154719322919846,
0.06825695186853409,
0.006171114277094603,
0.006441975478082895,
0.0038891113363206387,
-0.009159613400697708,
0.012965208850800991,
0.0010066997492685914,
0.030896201729774475,
0.014220197685062885,
-0.0007967824931256473,
0.024792801588773727,
-0.008780407719314098,
-0.0025573784951120615,
0.03770383819937706,
-0.07074887305498123,
0.03763160854578018,
-0.011376158334314823,
-0.04554074630141258,
0.014373685233294964,
-0.00772856455296278,
0.028386224061250687,
0.0020924005657434464,
-0.02751946821808815,
0.029343266040086746,
0.017461499199271202,
-0.023655185475945473,
-0.0025212636683136225,
-0.03262970969080925,
0.013615274801850319,
0.09462074190378189,
0.023059291765093803,
0.0018079965375363827,
-0.011159469373524189,
0.02695968933403492,
0.008518575690686703,
-0.0019027978414669633,
-0.02172304503619671,
-0.009877394884824753,
-0.013931279070675373,
-0.007985882461071014,
-0.00901063997298479,
-0.03374927118420601,
-0.0044669476337730885,
0.05012732744216919,
-0.02735695242881775,
0.0016387085197493434,
-0.08949244767427444,
0.009778078645467758,
-0.030625339597463608,
-0.058650415390729904,
-0.04326551780104637,
0.017470529302954674,
0.009434988722205162,
0.012260970659554005,
-0.0023113463539630175,
-0.005123785696923733,
0.0025776929687708616,
-0.01608913764357567,
0.033731210976839066,
-0.04532405734062195,
-0.05774754658341408,
-0.019339468330144882,
-0.03342423588037491,
-0.04749094694852829,
0.004358603619039059,
0.040593020617961884,
0.0369093120098114,
-0.008617890998721123,
-0.053666576743125916,
-0.035771697759628296,
0.010825407691299915,
-0.04192926734685898,
0.011972052045166492,
0.009462074376642704,
0.026219336315989494,
-0.020152051001787186,
0.009344701655209064,
0.06005889177322388,
-0.04182092472910881,
0.01430145651102066,
-0.013732648454606533,
-0.02528035081923008,
-0.0009570418624207377,
0.06605394929647446,
0.055616773664951324,
-0.035645294934511185,
-0.0642843246459961,
0.07504653185606003,
-0.0266888290643692,
0.03929289057850838,
0.013136753812432289,
0.0069656395353376865,
0.019140837714076042,
0.018463686108589172,
0.001402833848260343,
0.012847836129367352,
0.02847651019692421,
0.009570418857038021,
0.021398011595010757,
0.015718961134552956,
-0.009976710192859173,
0.02732083760201931,
-0.07757456600666046,
0.05081350728869438,
-0.00018015071691479534,
-0.09584864974021912,
-0.004685893654823303,
0.002656694035977125,
-0.022680087015032768,
-0.02432330884039402,
0.01501472294330597,
0.009150584228336811,
-0.013669447042047977,
0.0023835760075598955,
-0.008243200369179249,
-0.02320375107228756,
0.049152225255966187,
-0.010048939846456051,
-0.014689690433442593,
0.047635406255722046,
-0.057494740933179855,
0.020350683480501175,
-0.03591615706682205,
-0.002961412537842989,
-0.0334603525698185,
0.04857439175248146,
0.015809249132871628,
-0.02349266968667507,
0.007159756496548653,
-0.00005988565317238681,
0.015619645826518536,
-0.03439933434128761,
-0.001953584374859929,
0.08486974984407425,
0.13030216097831726,
0.04044856131076813,
-0.005828023888170719,
-0.014590374194085598,
-0.029848871752619743,
-0.061575714498758316,
-0.03958180919289589,
-0.007394502870738506,
0.04214595630764961,
-0.0072771296836435795,
0.010816379450261593,
0.021704986691474915,
0.031817127019166946,
-0.007525418885052204,
-0.018481742590665817,
-0.045829664915800095,
-0.006338145118206739,
0.06381483376026154,
-0.03217827528715134,
-0.03302697464823723,
-0.015321698971092701,
-0.033731210976839066,
-0.01809350959956646,
-0.0007950896397233009,
-0.009353729896247387,
-0.022030020132660866,
-0.032485250383615494,
0.04073747992515564,
0.05955328419804573,
0.008152913302183151,
0.05915602296590805,
-0.01194496639072895,
0.07154339551925659,
0.0388956256210804,
-0.01881580427289009,
-0.08017482608556747,
-0.02432330884039402,
-0.052583131939172745,
0.05731416866183281,
-0.02161470055580139,
0.013371500186622143,
-0.023655185475945473,
-0.04225430265069008,
-0.019158894196152687,
0.05839761346578598,
-0.04658807814121246,
-0.008897780440747738,
0.007593133952468634,
0.029975274577736855,
-0.008252228610217571,
0.03216021880507469,
0.07154339551925659,
0.007186842616647482,
0.04070136696100235,
0.0043653747998178005,
0.011087239719927311,
0.019863134250044823,
-0.1170119121670723,
0.012143597938120365,
-0.004435347393155098,
0.023655185475945473,
-0.018797747790813446,
0.022788431495428085,
-0.0388956256210804,
0.009769050404429436,
-0.000017466649296693504,
-0.002902726177126169,
0.03288251534104347,
0.05875876173377037,
-0.015791190788149834,
-0.09332061558961868,
-0.028747370466589928,
0.001106579671613872,
0.026129048317670822,
0.013904193416237831,
-0.03454379364848137,
0.00926344282925129,
-0.010094082914292812,
-0.004408261273056269,
-0.006938553880900145,
0.05312485247850418,
0.005746765527874231,
0.03266582638025284,
0.0043021743185818195,
0.08588096499443054,
0.07735787332057953,
-0.015448100864887238,
-0.03151015192270279,
0.04149589315056801,
-0.04933280125260353,
-0.033008914440870285,
-0.042507104575634,
0.03216021880507469,
-0.020115936174988747,
-0.014473001472651958,
0.0192852970212698,
0.03687319904565811,
-0.008798465132713318,
-0.04561297595500946,
0.03039059415459633,
-0.08313624560832977,
0.027790328487753868,
-0.029451610520482063,
0.08248617500066757,
0.054136067628860474,
0.062045205384492874,
0.02547898329794407,
-0.0047355517745018005,
-0.0017041665269061923,
0.009976710192859173,
0.02811536192893982,
-0.016901720315217972,
-0.03571752458810806,
-0.014572316780686378,
-0.044601764529943466,
0.019068608060479164,
-0.039726268500089645,
-0.012387372553348541,
0.0012166169472038746,
-0.03513968735933304,
-0.02240922674536705,
0.027537526562809944,
-0.030372535809874535,
0.0036837083753198385,
-0.021000748500227928,
-0.05850595608353615,
-0.012748519890010357,
0.009696820750832558,
0.04037633165717125,
-0.004740065895020962,
-0.041712578386068344,
0.03799275681376457,
0.020477084442973137,
0.0029478694777935743,
0.02863902598619461,
0.04640750214457512,
-0.015917593613266945,
-0.008793951012194157,
-0.011647019535303116,
-0.004308945499360561,
-0.005137328524142504,
0.02652631141245365,
0.02567761391401291,
-0.034327104687690735,
0.03965403884649277,
0.03051699511706829,
0.015709932893514633,
0.019790904596447945,
-0.007922681979835033,
0.030498938634991646,
-0.011619932949543,
-0.041568122804164886,
0.010346886701881886,
0.022680087015032768,
-0.012712405063211918,
-0.00534047419205308,
-0.036927372217178345,
-0.014364656992256641,
0.038209445774555206,
-0.029126577079296112,
-0.014066710136830807,
-0.03943734988570213,
-0.02663465589284897,
-0.02751946821808815,
0.037089888006448746,
-0.010392030701041222,
-0.024973375722765923,
-0.04850216209888458,
0.004564006347209215,
0.02161470055580139,
-0.021542470902204514,
0.019104722887277603,
-0.03932900354266167,
-0.05467778816819191,
0.013732648454606533,
-0.04637138918042183,
0.07121836394071579,
-0.023095406591892242,
-0.047635406255722046,
0.026417966932058334,
0.0021736586932092905,
-0.005895738955587149,
0.007448675110936165,
-0.0073493593372404575,
-0.013145782984793186,
0.04853827506303787,
-0.004184801131486893,
0.12199575453996658,
-0.06879866868257523,
0.023149579763412476,
-0.025099778547883034,
-0.03849836438894272,
0.023113464936614037,
-0.040593020617961884,
0.017389269545674324,
0.07291575521230698,
0.001106015406548977,
0.035446666181087494,
-0.06421209126710892,
0.0260387621819973,
0.04359054937958717,
-0.036168958991765976,
-0.049224454909563065,
-0.009272472001612186,
-0.014138939790427685,
-0.007873023860156536,
-0.05456944555044174,
-0.06645120680332184,
-0.01789487712085247,
-0.02851262502372265,
0.09635425359010696,
0.033207546919584274,
0.0036430791951715946,
0.02820564992725849,
-0.009091897867619991,
-0.00362953613512218,
0.0021578585729002953,
-0.06247858330607414,
-0.044348958879709244,
-0.043518319725990295,
0.008866180665791035,
-0.038209445774555206,
-0.015132096596062183,
-0.02165081538259983,
0.033965956419706345,
-0.02788061648607254,
-0.00033744756365194917,
0.003324817633256316,
0.017822647467255592,
0.02851262502372265,
0.023474611341953278,
-0.008464403450489044,
-0.002130772452801466,
-0.045035142451524734,
-0.04138754680752754,
-0.07038772106170654,
0.0038146243896335363,
0.04210984334349632,
0.017985165119171143,
-0.05135522782802582,
0.017235781997442245,
-0.02827787958085537,
0.027537526562809944,
-0.008220628835260868,
0.004327002912759781,
0.007186842616647482,
-0.0316365547478199,
-0.019989535212516785,
-0.006961125414818525,
0.004925154149532318,
-0.01953810080885887,
-0.03795664384961128,
-0.007606677245348692,
0.02755558304488659,
-0.038173332810401917,
-0.03461602330207825,
0.00041588436579331756,
-0.010211456567049026,
-0.07392697036266327,
-0.09158710390329361,
0.002137544099241495,
0.04669642075896263,
0.02656242623925209,
-0.02333015389740467,
0.022300882264971733,
0.007493818644434214,
-0.02165081538259983,
0.02567761391401291,
0.038209445774555206,
-0.011069182306528091,
0.005390132311731577,
0.04008741304278374,
-0.005931853782385588,
0.03170878440141678,
0.012820749543607235,
-0.022300882264971733,
0.03447156399488449,
-0.030444765463471413,
0.015448100864887238,
-0.04214595630764961,
0.002528035081923008,
0.06179240345954895,
0.06959319859743118,
-0.058253154158592224,
0.023095406591892242,
0.04026798903942108,
0.003938768990337849,
-0.02547898329794407,
0.0027921246364712715,
0.011448387987911701,
0.044673994183540344,
0.0801026001572609,
0.021560529246926308,
0.004767152015119791,
0.03925677388906479,
-0.0006878738640807569,
-0.03517580404877663,
0.0504162423312664,
0.006753465160727501,
0.01712743751704693,
-0.0313115194439888,
-0.03532026335597038,
-0.011574789881706238,
0.022066134959459305,
0.0060853417962789536,
0.030571168288588524,
0.05269147455692291,
-0.0006839237757958472,
0.007484789937734604,
-0.013804878108203411,
-0.041315317153930664,
-0.024828916415572166,
-0.06251469999551773,
0.0184546560049057,
-0.03961792215704918,
-0.045829664915800095,
-0.06442878395318985,
-0.015231411904096603,
0.008292858488857746,
-0.012838806957006454,
0.03795664384961128,
-0.04792432487010956,
-0.04907999560236931,
-0.004311203025281429,
-0.01964644528925419,
-0.03019196353852749,
0.012251941487193108,
-0.01064483355730772,
0.03773995488882065,
-0.0550389364361763,
0.04373500868678093,
0.0334603525698185,
0.07966922223567963,
0.047996554523706436,
-0.049946751445531845,
0.0003594550071284175,
-0.04709368199110031,
0.0032097017392516136,
-0.0837140753865242,
0.016233596950769424,
-0.031618498265743256,
0.020152051001787186,
0.0010772363748401403,
0.021434126421809196,
-0.04741871729493141,
-0.0011393086751922965,
0.010852493345737457,
0.05688079074025154,
0.024269137531518936,
-0.01634194143116474,
-0.04102639853954315,
-0.003798824269324541,
-0.014870263636112213,
-0.03382150083780289,
0.09057588875293732,
-0.005051556043326855,
0.019664501771330833,
0.025298409163951874,
-0.010996952652931213,
-0.003548278007656336,
-0.012026224285364151,
0.0319615863263607,
-0.020061764866113663,
-0.06858198344707489,
0.051066309213638306,
-0.049224454909563065,
-0.006333630997687578,
0.01833728328347206,
0.045396286994218826,
-0.003737880615517497,
-0.042434874922037125,
0.02871125563979149,
-0.05908379331231117,
0.010951809585094452,
0.0023835760075598955,
-0.04904388263821602,
-0.0042073726654052734,
-0.03647593408823013,
-0.019321411848068237,
-0.02145218476653099,
0.017109381034970284,
0.003584392601624131,
0.038317788392305374,
-0.018508829176425934,
-0.004286373965442181,
-0.00290498323738575,
-0.03631341829895973,
-0.013678476214408875,
0.05012732744216919,
-0.031455978751182556,
0.06395929306745529,
0.03156432509422302,
0.040918055921792984,
-0.04792432487010956,
-0.02128966711461544,
-0.0220841933041811,
-0.004103542771190405,
-0.02751946821808815,
-0.03647593408823013,
-0.018906092271208763,
0.046479731798172,
-0.05680856108665466,
0.036728739738464355,
0.029000174254179,
0.049224454909563065,
-0.07988590747117996,
0.019520042464137077,
0.050705160945653915,
0.0011223799083381891,
-0.034327104687690735,
0.04290436953306198,
0.037198230624198914,
-0.006356202531605959,
-0.06244247034192085,
0.03640370815992355,
-0.004516605753451586,
0.02623739279806614,
-0.020386798307299614,
-0.010870550759136677,
-0.02844039537012577,
0.0248830895870924,
0.09382621943950653,
-0.06323699653148651,
0.015231411904096603,
-0.03559112176299095,
-0.05612238124012947,
-0.010076025500893593,
-0.03250331059098244,
0.05001898109912872,
-0.016486400738358498,
0.04210984334349632,
-0.03143792226910591,
0.022066134959459305,
0.032015759497880936,
0.0020100136753171682,
-0.011358100920915604,
-0.009371787309646606,
-0.000713831337634474,
-0.030625339597463608,
-0.01308258157223463,
-0.023384325206279755,
0.011746334843337536,
-0.012008166871964931,
0.03421876206994057,
-0.04644361883401871,
0.03591615706682205,
0.02771810069680214,
0.049946751445531845,
-0.017940020188689232,
0.008681092411279678,
-0.011403243988752365,
0.02435942366719246,
-0.0299933310598135,
-0.02356489934027195,
0.033008914440870285,
-0.034290991723537445,
-0.010455231182277203,
0.09772661328315735,
-0.022716201841831207,
-0.049188341945409775,
-0.03918454423546791,
0.012676290236413479,
-0.0827028676867485,
-0.02919880673289299,
-0.014003508724272251,
-0.03091425821185112,
0.008771379478275776,
0.029505781829357147,
-0.010310771875083447,
0.01953810080885887,
-0.041604235768318176,
0.041712578386068344,
0.004094514064490795,
-0.021036863327026367,
-0.05774754658341408,
-0.007168785203248262,
0.005475904792547226,
0.004947726149111986,
0.01501472294330597,
0.03943734988570213,
-0.035482779145240784,
0.05099407956004143,
-0.009769050404429436,
0.0949096605181694,
-0.01150256022810936,
0.03925677388906479,
0.0754799097776413,
0.050741277635097504,
-0.007529933471232653,
0.020061764866113663,
0.07360193878412247,
0.02412467822432518,
-0.03123929165303707,
0.003945540636777878,
0.028657084330916405,
-0.01489735022187233,
0.009416931308805943,
-0.025894302874803543,
0.020910462364554405,
0.07248237729072571,
-0.04940503090620041,
0.016784347593784332,
-0.05168026313185692,
0.08739778399467468
] |
52,095 |
tussik.zpl.zplwriter
|
to_normal
| null |
def to_normal(self):
self._reverse = ""
|
(self)
|
[
-0.025680672377347946,
0.05778975412249565,
0.05469093099236488,
-0.0003319799725431949,
-0.020768707618117332,
-0.042921993881464005,
-0.04176817834377289,
0.03435078263282776,
0.10489845275878906,
-0.03468044474720955,
-0.04005393758416176,
-0.026521310210227966,
-0.01743912138044834,
0.03494417294859886,
-0.008760767988860607,
0.06111934036016464,
0.0032121443655341864,
-0.03731774166226387,
0.031927768141031265,
0.023455452173948288,
0.02777402475476265,
0.014785341918468475,
0.012543640099465847,
-0.02690042182803154,
-0.04064732789993286,
-0.01966433972120285,
-0.04605378583073616,
-0.021081887185573578,
-0.014859515242278576,
-0.01618640497326851,
0.03029594011604786,
-0.029109155759215355,
0.07977820932865143,
0.01969730667769909,
0.07193225622177124,
-0.06435002386569977,
-0.0077923862263560295,
0.02825203537940979,
-0.019136879593133926,
-0.019895102828741074,
0.03570239618420601,
-0.028153136372566223,
-0.02905970811843872,
0.03695511445403099,
0.03322993218898773,
-0.0008220946765504777,
0.01849403977394104,
0.03113657794892788,
0.002705289050936699,
-0.08023973554372787,
0.03347717970609665,
0.035141970962285995,
0.01735670492053032,
0.026290547102689743,
-0.020307181403040886,
-0.013549108989536762,
0.04008690267801285,
0.05317448452115059,
-0.017785266041755676,
0.025647705420851707,
-0.026438893750309944,
-0.0045122490264475346,
-0.02638944424688816,
-0.08439347892999649,
0.02558177337050438,
0.031927768141031265,
-0.010887088254094124,
0.07582226395606995,
0.055317286401987076,
0.017092976719141006,
-0.0444384403526783,
-0.005150969140231609,
-0.03659248352050781,
0.0070794918574392796,
-0.016944628208875656,
-0.008620661683380604,
0.024988381192088127,
0.05307558551430702,
-0.01692814566195011,
-0.04110885411500931,
0.0016112230950966477,
0.02005993388593197,
0.006477858871221542,
0.005249867681413889,
-0.04048249498009682,
-0.07845956087112427,
0.0000018269843167217914,
-0.020455528050661087,
-0.018955565989017487,
0.014002394862473011,
-0.03804299607872963,
-0.021955490112304688,
-0.049614135175943375,
0.019746754318475723,
-0.009790961630642414,
0.0008792704320512712,
-0.005447664763778448,
-0.03044428862631321,
0.03688918054103851,
-0.06345994025468826,
-0.014628752134740353,
0.05709746107459068,
-0.04170224443078041,
0.01702704280614853,
-0.012452983297407627,
-0.05746009200811386,
0.008801976218819618,
-0.03636172041296959,
0.007903646677732468,
0.021592862904071808,
-0.0936899483203888,
0.02299392595887184,
0.019977519288659096,
-0.03235632926225662,
-0.004388625733554363,
-0.017570985481142998,
0.00023050587333273143,
0.017752299085259438,
0.052581094205379486,
0.050339389592409134,
0.007215477526187897,
-0.011777175590395927,
-0.06560274213552475,
-0.02248295024037361,
-0.038174863904714584,
0.06115230545401573,
0.022466467693448067,
0.03337828069925308,
0.027312498539686203,
-0.0283674169331789,
-0.003245110623538494,
-0.011216750368475914,
-0.029356403276324272,
0.059372130781412125,
0.039196815341711044,
-0.002701168181374669,
-0.013087582774460316,
0.03306509926915169,
0.03520790487527847,
0.0942833349108696,
0.007520414888858795,
-0.011793659068644047,
0.0717344582080841,
0.019070947542786598,
0.010029966942965984,
0.01405184343457222,
0.03286730498075485,
0.07661345601081848,
-0.0582512803375721,
-0.021411549299955368,
0.02423015795648098,
0.05650407075881958,
0.05320744961500168,
-0.013590317219495773,
-0.01984565332531929,
0.06128416955471039,
-0.029356403276324272,
-0.019202813506126404,
0.02807072177529335,
0.04008690267801285,
-0.01556828897446394,
-0.024460922926664352,
0.020307181403040886,
-0.059405095875263214,
-0.020636843517422676,
0.007528656627982855,
0.09856894612312317,
-0.05983365699648857,
0.027164150029420853,
0.018576454371213913,
-0.01125795766711235,
-0.05762492120265961,
-0.047306500375270844,
0.04977896437048912,
0.059438060969114304,
0.020224764943122864,
0.021774176508188248,
0.038834188133478165,
-0.01537049189209938,
0.054987624287605286,
0.010788189247250557,
-0.017719333991408348,
-0.031202509999275208,
-0.03537273406982422,
0.06128416955471039,
-0.04911964014172554,
-0.0002101595455314964,
-0.0007401942857541144,
-0.02668614126741886,
-0.030872847884893417,
0.062372054904699326,
0.012288152240216732,
0.005905070807784796,
-0.03870232030749321,
0.03599909320473671,
-0.047306500375270844,
-0.014356780797243118,
-0.03425188362598419,
0.011134334839880466,
-0.03131789341568947,
-0.011241475120186806,
-0.0183127261698246,
0.031482722610235214,
0.00697235157713294,
0.01490896474570036,
0.011884315870702267,
-0.03659248352050781,
-0.020290696993470192,
0.016079265624284744,
-0.026883937418460846,
0.026702623814344406,
0.011159059591591358,
0.022565364837646484,
-0.047273535281419754,
-0.0005156120168976486,
-0.02938937023282051,
-0.032438743859529495,
0.04028470069169998,
-0.007137182634323835,
0.08221770823001862,
0.010903571732342243,
-0.05274592339992523,
0.003993031103163958,
-0.04437250643968582,
-0.02975199744105339,
0.033493660390377045,
-0.03705400973558426,
-0.025169694796204567,
-0.014686442911624908,
0.012411775067448616,
0.00773881608620286,
-0.05020752549171448,
-0.1020633652806282,
0.03979020565748215,
0.057064495980739594,
-0.009535473771393299,
-0.018691835924983025,
0.01125795766711235,
-0.052647024393081665,
0.02734546549618244,
-0.01813141070306301,
0.018757769837975502,
0.015255110338330269,
-0.008447589352726936,
0.009626131504774094,
0.03801003098487854,
0.0333288311958313,
0.0037499056197702885,
-0.013928220607340336,
-0.008084961213171482,
-0.018180860206484795,
-0.02434553951025009,
-0.024246642366051674,
0.0205709096044302,
0.06181162968277931,
-0.04077919200062752,
-0.0342189185321331,
0.015213902108371258,
-0.050273459404706955,
0.042262669652700424,
-0.04002096876502037,
-0.04005393758416176,
-0.022631298750638962,
0.00999700091779232,
0.06055891513824463,
0.019054464995861053,
-0.0711410641670227,
0.002750617451965809,
0.05376787483692169,
0.0072113568894565105,
0.06731698662042618,
-0.059075433760881424,
-0.07318496704101562,
0.029735514894127846,
-0.0024498009588569403,
0.059767723083496094,
-0.011027194559574127,
-0.0048831189051270485,
-0.05492169409990311,
0.0030205282382667065,
-0.008019029162824154,
-0.02368621714413166,
-0.004549335688352585,
-0.07463548332452774,
0.023884013295173645,
0.0162111297249794,
0.011628828011453152,
-0.06510824710130692,
0.018741285428404808,
-0.014859515242278576,
0.08498687297105789,
0.06375663727521896,
0.007998424582183361,
0.014562820084393024,
0.0018110807286575437,
-0.09889860451221466,
0.02957068383693695,
-0.023801598697900772,
0.02762567810714245,
0.002705289050936699,
-0.08010787516832352,
-0.032949719578027725,
0.008336327970027924,
0.0028907237574458122,
-0.007759419735521078,
-0.010450285859405994,
-0.0010981865925714374,
0.02605978213250637,
0.05152617394924164,
0.01860942132771015,
-0.044174712151288986,
0.013483176939189434,
-0.04081215709447861,
0.03494417294859886,
0.03355959430336952,
0.037878166884183884,
0.036163922399282455,
-0.0012949536321684718,
0.03321344777941704,
0.07931668311357498,
-0.057328224182128906,
-0.023307105526328087,
-0.04938337206840515,
0.006003969814628363,
-0.04855921491980553,
0.00551771791651845,
-0.022960959002375603,
0.06082264333963394,
0.029916828498244286,
-0.013919979333877563,
0.03252115845680237,
-0.03622985631227493,
-0.0005230809329077601,
0.018988532945513725,
-0.021592862904071808,
-0.023521386086940765,
0.005414698738604784,
-0.010137107223272324,
-0.0012908328790217638,
-0.03639468550682068,
0.024296091869473457,
0.02693338692188263,
-0.0110354358330369,
-0.017422638833522797,
0.003432605881243944,
0.04671311005949974,
0.0016802460886538029,
-0.01987862028181553,
0.017455603927373886,
0.006308907177299261,
-0.036493584513664246,
-0.0220708716660738,
0.0024807066656649113,
0.004940809682011604,
0.020109383389353752,
-0.024807067587971687,
-0.000637174875009805,
-0.005451785866171122,
0.013474934734404087,
-0.028565214946866035,
-0.02368621714413166,
-0.037482570856809616,
-0.027213599532842636,
-0.02164231240749359,
0.028927842155098915,
-0.009931068867444992,
-0.019285228103399277,
-0.003710758173838258,
0.00551771791651845,
0.0393286794424057,
-0.026554275304079056,
-0.035471633076667786,
0.01618640497326851,
-0.024246642366051674,
-0.031927768141031265,
0.041504450142383575,
-0.05070202052593231,
0.01279088668525219,
0.04697683826088905,
-0.012181011959910393,
0.02020828239619732,
0.01602981612086296,
-0.024872999638319016,
0.04822955280542374,
0.037119943648576736,
0.01882370188832283,
0.07232784479856491,
0.037152908742427826,
0.02324117347598076,
-0.01567542925477028,
-0.031746454536914825,
-0.02759271115064621,
0.029735514894127846,
-0.03524086996912956,
0.012279910035431385,
-0.0195159912109375,
0.03418595343828201,
-0.007137182634323835,
0.006877574138343334,
-0.005513597279787064,
0.01564246229827404,
0.017043527215719223,
0.005950399674475193,
0.03497714176774025,
-0.07041580975055695,
0.02924102172255516,
0.013837563805282116,
0.05927323177456856,
-0.001264047808945179,
-0.004545215051621199,
-0.03913088142871857,
0.004135197959840298,
-0.0016029815888032317,
-0.06530604511499405,
0.061679765582084656,
-0.02035662904381752,
0.013994152657687664,
-0.043185725808143616,
0.014941930770874023,
0.010672807693481445,
-0.03758146986365318,
0.05172397196292877,
-0.007895405404269695,
0.02215328812599182,
0.04786692559719086,
0.04100995510816574,
0.04981193318963051,
-0.009815686382353306,
-0.0066138445399701595,
0.07661345601081848,
0.008488796651363373,
-0.05762492120265961,
0.011727726086974144,
-0.055350255221128464,
0.020488495007157326,
0.056668899953365326,
0.05538322031497955,
-0.016375960782170296,
-0.04710870236158371,
0.03238929435610771,
0.02305985800921917,
-0.024510370567440987,
0.014348539523780346,
-0.012914509512484074,
0.06286654621362686,
-0.0007762510213069618,
-0.03688918054103851,
-0.016590241342782974,
0.04704277217388153,
-0.0026146320160478354,
-0.0050767953507602215,
0.03464747965335846,
-0.004891360178589821,
-0.050965748727321625,
-0.031169544905424118,
-0.011859591118991375,
0.004829548764973879,
-0.036460619419813156,
-0.0035994972568005323,
0.033823322504758835,
-0.024625753983855247,
0.035109005868434906,
-0.04437250643968582,
0.02474113553762436,
0.01547763217240572,
-0.003648946527391672,
-0.005468268878757954,
-0.0030102264136075974,
-0.08544839918613434,
-0.020373113453388214,
0.00007249988993862644,
-0.07911888509988785,
0.029686065390706062,
0.012452983297407627,
-0.022631298750638962,
0.019713789224624634,
-0.02873004600405693,
-0.0387352891266346,
-0.008744285441935062,
-0.06556977331638336,
-0.07951448112726212,
-0.06402036547660828,
-0.03926274552941322,
0.033609043806791306,
0.02005993388593197,
0.011950247921049595,
-0.016524309292435646,
-0.0024271367583423853,
0.008876149542629719,
0.010689291171729565,
0.03942757844924927,
0.0753607377409935,
-0.03688918054103851,
-0.0018945264164358377,
-0.002116018207743764,
0.05759195610880852,
-0.03395518660545349,
-0.03461451083421707,
-0.046218615025281906,
-0.0033419488463550806,
-0.014793583191931248,
-0.03308158367872238,
-0.00632126908749342,
-0.0360320582985878,
0.0012475646799430251,
0.028828943148255348,
-0.03698807954788208,
0.00012317254731897265,
-0.057723820209503174,
0.001351614249870181,
0.017818232998251915,
-0.03352662920951843,
0.03626282140612602,
-0.0024168347008526325,
-0.014035360887646675,
0.022202737629413605,
-0.04981193318963051,
-0.01394470315426588,
0.009947551414370537,
-0.027938855811953545,
-0.028598180040717125,
0.011974972672760487,
-0.10990931838750839,
-0.0510316826403141,
-0.015724878758192062,
0.007503931876271963,
-0.08221770823001862,
0.01798306405544281,
0.04061436280608177,
0.00452461140230298,
0.029768479987978935,
0.0039147366769611835,
0.06678952276706696,
0.039031982421875,
0.006741588469594717,
0.06402036547660828,
0.019862137734889984,
-0.023373037576675415,
-0.003506779670715332,
0.015106761828064919,
-0.02905970811843872,
-0.0005230809329077601,
-0.05811941623687744,
-0.04394394904375076,
0.03810892999172211,
0.0051839351654052734,
-0.0013093763263896108,
0.025351010262966156,
-0.02864762954413891,
0.0054806312546133995,
-0.10371167212724686,
-0.010549184866249561,
-0.0012084173504263163,
-0.010788189247250557,
0.006069901864975691,
-0.024147743359208107,
-0.05221846327185631,
0.06026221811771393,
0.042559366673231125,
0.028680596500635147,
-0.013549108989536762,
-0.02864762954413891,
0.016433652490377426,
0.018774252384901047,
-0.009486024267971516,
0.0747673436999321,
-0.026521310210227966,
0.025351010262966156,
0.018840184435248375,
-0.0031585742253810167,
0.04852624982595444,
-0.05851500853896141,
0.053636010736227036,
0.039922069758176804,
-0.02930695377290249,
0.051592107862234116,
0.04008690267801285,
-0.01762043498456478,
0.026966353878378868,
0.014513370580971241,
0.010788189247250557,
0.004155802074819803,
-0.0678444430232048,
-0.02368621714413166,
0.007421516347676516,
-0.04440547525882721,
0.025466391816735268,
0.06603129953145981,
0.044240642338991165,
-0.08518466353416443,
-0.07034987211227417,
-0.005361128598451614,
-0.0072566852904856205,
-0.014562820084393024,
-0.003131789155304432,
-0.07733871042728424,
0.003949763253331184,
0.006172921508550644,
0.023669732734560966,
0.011084885336458683,
0.05482279509305954,
0.03744960576295853,
-0.00018981321773026139,
0.07700905203819275,
0.00010630312317516655,
-0.029883861541748047,
0.02404884435236454,
-0.028169620782136917,
-0.013128790073096752,
0.023982912302017212,
0.006749829743057489,
0.03774630278348923,
-0.012733195908367634,
-0.015016105026006699,
0.011216750368475914,
-0.012238702736794949,
0.006016331724822521,
-0.0678444430232048,
-0.07166852056980133,
0.04971303418278694,
-0.014538095332682133,
0.011760693043470383,
-0.05887763574719429,
0.03527383506298065,
-0.07799803465604782,
0.002332358853891492,
0.02203790657222271,
0.03339476138353348,
-0.0035994972568005323,
-0.07984413951635361,
-0.02116430178284645,
-0.035504598170518875,
-0.028993774205446243,
0.01609574817121029,
-0.06349290907382965,
0.0035830140113830566,
-0.0027320741210132837,
0.044834036380052567,
0.033246416598558426,
0.002276728395372629,
0.008171497844159603,
-0.013615041971206665,
0.008925599046051502,
-0.009980517439544201,
-0.0765475183725357,
-0.0020572971552610397,
0.006873453035950661,
-0.048921845853328705,
-0.0813605859875679,
-0.029372885823249817,
-0.055350255221128464,
0.04229563847184181,
0.04460327327251434,
0.023274138569831848,
-0.038141895085573196,
0.02488948218524456,
0.03055967018008232,
-0.0162111297249794,
0.015527081675827503,
-0.023142274469137192,
-0.07021801173686981,
0.000641295628156513,
0.01762043498456478,
-0.046284548938274384,
0.06929495930671692,
0.04783396050333977,
0.01495017297565937,
0.03913088142871857,
-0.035504598170518875,
-0.06969055533409119,
-0.020917056128382683,
0.01921929605305195,
-0.030279457569122314,
-0.054987624287605286,
0.005818534642457962,
-0.0010198919335380197,
0.031664036214351654,
0.016310028731822968,
0.04499886557459831,
0.019268745556473732,
-0.0025590015575289726,
0.013112306594848633,
-0.006106988992542028,
-0.015065554529428482,
0.0084805553779006,
0.04100995510816574,
-0.03791113197803497,
0.06583350896835327,
0.027675127610564232,
-0.019021498039364815,
-0.01639244332909584,
-0.03857045620679855,
-0.03979020565748215,
-0.034152984619140625,
0.04466920346021652,
0.020290696993470192,
-0.028631146997213364,
-0.06385553628206253,
0.034482646733522415,
0.01735670492053032,
0.07094326615333557,
0.016977593302726746,
-0.010582150891423225,
-0.01750505343079567,
0.05172397196292877,
-0.03491120785474777,
0.04971303418278694,
-0.03906495124101639,
-0.037845201790332794,
0.02335655502974987,
0.06329511106014252,
0.0690312311053276,
-0.029224539175629616,
-0.020092900842428207,
0.0268674548715353,
0.01762043498456478,
-0.05518542230129242,
0.02068629115819931,
-0.02762567810714245,
0.026257580146193504,
0.033279381692409515,
-0.061383068561553955,
0.002369445748627186,
0.0003533564740791917,
0.017224840819835663,
-0.010804672725498676,
-0.05607550963759422,
0.0035397459287196398,
-0.03735070675611496,
-0.03636172041296959,
-0.01717539131641388,
0.013310104608535767,
0.04869107902050018,
0.041537415236234665,
-0.012576606124639511,
0.011892557144165039,
0.0070011974312365055,
-0.0009817747632041574,
-0.025318043306469917,
0.04882294684648514,
-0.004982017446309328,
0.007689366582781076,
0.014282607473433018,
0.041537415236234665,
0.001665823394432664,
0.011752450838685036,
0.05304262042045593,
0.004565819166600704,
-0.012906268239021301,
-0.033312346786260605,
0.03728477656841278,
0.05221846327185631,
-0.013755148276686668,
-0.012181011959910393,
0.036163922399282455,
0.019961034879088402,
0.013862287625670433,
0.07555853575468063,
-0.02963661588728428,
-0.03524086996912956,
0.012164528481662273,
-0.026636691763997078,
-0.002526035299524665,
0.020603876560926437,
0.00015079461445566267,
0.04885591194033623,
0.04905370995402336,
0.004895480815321207
] |
52,096 |
tussik.zpl.zplwriter
|
to_reverse
| null |
def to_reverse(self):
self._reverse = "^FR"
|
(self)
|
[
-0.02058895118534565,
0.03940185531973839,
0.02119741030037403,
0.011848513036966324,
-0.0400596521794796,
-0.042033031582832336,
-0.034928858280181885,
0.04834785312414169,
0.07439649850130081,
-0.04446687176823616,
-0.0024050590582191944,
-0.03185367211699486,
0.017513763159513474,
0.056044042110443115,
0.011692287400364876,
0.08636834472417831,
-0.0034657518845051527,
-0.008086754009127617,
-0.0017071808688342571,
0.031722113490104675,
0.012547419406473637,
-0.015063481405377388,
0.02335168421268463,
-0.017480874434113503,
-0.011240053921937943,
0.02818647027015686,
-0.054958682507276535,
-0.015836389735341072,
-0.03318570554256439,
-0.015079925768077374,
0.004440109245479107,
-0.03290614113211632,
0.04561800882220268,
-0.005278796423226595,
0.04440109059214592,
-0.0195529256016016,
-0.021937428042292595,
0.029534947127103806,
0.012851648963987827,
0.01140450220555067,
0.035422202199697495,
-0.010475368238985538,
0.008057976141571999,
0.03126165643334389,
0.025029059499502182,
-0.000546791241504252,
-0.00744129391387105,
-0.0008068254101090133,
0.0657465010881424,
-0.03723113611340523,
0.05143948644399643,
0.010680928826332092,
-0.014463244006037712,
-0.015548604540526867,
-0.011133162304759026,
-0.0355866514146328,
0.01739864982664585,
0.042000144720077515,
-0.013501220382750034,
0.00897888746112585,
-0.028827819973230362,
-0.02713399939239025,
-0.029502058401703835,
-0.024700162932276726,
0.04561800882220268,
0.05097902938723564,
0.024124592542648315,
-0.0008093948708847165,
0.05949746072292328,
0.017497319728136063,
-0.041901472955942154,
-0.0005025956779718399,
-0.03188656270503998,
-0.024469934403896332,
-0.004588112700730562,
-0.014019233174622059,
0.004645669832825661,
0.03650756552815437,
-0.033300817012786865,
-0.040881894528865814,
0.008382761850953102,
0.01943781040608883,
0.013747893273830414,
0.027512231841683388,
-0.02604863978922367,
-0.039730753749608994,
0.03811915963888168,
-0.06900258362293243,
-0.012012962251901627,
0.005467912182211876,
-0.05466267839074135,
-0.053939104080200195,
-0.058148983865976334,
-0.027923353016376495,
0.0029148494359105825,
-0.050584353506565094,
-0.00412560161203146,
0.005513135343790054,
0.013895897194743156,
-0.027923353016376495,
0.0024626159574836493,
0.0695945993065834,
-0.07630410045385361,
0.008830883540213108,
0.019668038934469223,
-0.04331573098897934,
-0.017497319728136063,
-0.02106585167348385,
-0.021427636966109276,
-0.019914710894227028,
-0.07643565535545349,
0.06104327738285065,
0.05834632366895676,
-0.01945425570011139,
-0.016000837087631226,
0.023598358035087585,
0.0157212745398283,
0.022430773824453354,
0.038842733949422836,
0.018845796585083008,
0.030538083985447884,
0.01513748336583376,
-0.06518737971782684,
-0.016510628163814545,
-0.01592683605849743,
0.03476440906524658,
0.03950052708387375,
0.03726402670145035,
0.0499594509601593,
-0.030192742124199867,
-0.016888858750462532,
0.02175653539597988,
-0.04762428253889084,
-0.0006305571878328919,
0.04709804803133011,
0.010944047011435032,
0.018780017271637917,
-0.010656261816620827,
-0.005583025980740786,
0.08643412590026855,
-0.0008777438197284937,
0.0015221763169392943,
0.08136910945177078,
0.018747126683592796,
-0.02323657087981701,
0.013813672587275505,
0.02060539461672306,
0.0662398487329483,
-0.03200167417526245,
-0.0031882449984550476,
0.012308969162404537,
0.07926417142152786,
0.01741509512066841,
0.0013402551412582397,
0.026788657531142235,
0.06226019561290741,
-0.0226610004901886,
0.03486308082938194,
0.012876315973699093,
0.05143948644399643,
0.007190510164946318,
0.01838534139096737,
-0.04759139195084572,
-0.024996168911457062,
0.009677793830633163,
-0.006972615607082844,
0.08860484510660172,
-0.037724483758211136,
0.024601493030786514,
0.044631317257881165,
-0.013509443029761314,
-0.06525316089391708,
-0.0000619572529103607,
0.036540452390909195,
-0.013937009498476982,
0.03519197553396225,
0.007145286537706852,
0.028449587523937225,
0.01026158593595028,
0.06068149209022522,
0.039796534925699234,
0.004699115641415119,
-0.06327977776527405,
-0.04920298606157303,
0.08834172785282135,
-0.029962513595819473,
-0.01544993557035923,
0.029666507616639137,
-0.005241795442998409,
-0.04759139195084572,
0.04292105510830879,
-0.0004753589164465666,
0.038250718265771866,
-0.05104481056332588,
-0.013353217393159866,
-0.06341133266687393,
-0.0011840290389955044,
-0.002150163985788822,
0.009291339665651321,
-0.05518891289830208,
0.008600655943155289,
0.009899798780679703,
0.034369733184576035,
-0.0017852939199656248,
-0.012514529749751091,
0.02277611568570137,
0.00920089241117239,
-0.03644178435206413,
0.015984393656253815,
-0.03742847591638565,
0.05403777211904526,
-0.015713052824139595,
0.0357511006295681,
-0.0767645537853241,
-0.01780977100133896,
-0.0422961488366127,
-0.05328131094574928,
0.04377618804574013,
0.02440415509045124,
0.07321246713399887,
-0.006520382594317198,
-0.006598495412617922,
-0.060352593660354614,
-0.06156951189041138,
0.0009065222693607211,
0.027791794389486313,
-0.03519197553396225,
-0.05153815448284149,
-0.0486767515540123,
-0.012835204601287842,
-0.025029059499502182,
-0.03634311631321907,
-0.07018661499023438,
0.014060345478355885,
0.06587806344032288,
0.0050362348556518555,
-0.03555376082658768,
0.029354054480791092,
-0.0529853031039238,
0.06998927891254425,
0.013583444990217686,
0.02660776488482952,
0.03538931533694267,
0.01513748336583376,
0.007794858422130346,
0.04183569550514221,
0.06821323186159134,
-0.0018130445387214422,
0.0024091703817248344,
0.00500334519892931,
-0.017217757180333138,
-0.051768384873867035,
-0.03913873806595802,
0.03407372534275055,
0.024223262444138527,
-0.027890462428331375,
-0.004308550152927637,
-0.009143335744738579,
-0.010097136721014977,
0.03353104740381241,
-0.007655077148228884,
0.0302420761436224,
-0.00946401059627533,
-0.022562332451343536,
0.04371040686964989,
0.02391080930829048,
-0.058280542492866516,
-0.014512578956782818,
0.05860944092273712,
-0.028811374679207802,
0.05916856601834297,
-0.06821323186159134,
-0.09748506546020508,
0.04403930529952049,
-0.012711867690086365,
0.05078169330954552,
0.002002160297706723,
-0.008395095355808735,
-0.06278643012046814,
-0.021444082260131836,
0.007141175679862499,
-0.02986384555697441,
-0.009242004714906216,
-0.023187236860394478,
-0.003071075538173318,
0.054432447999715805,
0.014742806553840637,
-0.02275967039167881,
0.00344519573263824,
-0.03943474590778351,
0.11169341206550598,
0.04374329745769501,
0.034961748868227005,
0.015573271550238132,
0.04811762645840645,
-0.06074726954102516,
0.03561954200267792,
-0.035487983375787735,
0.06061571091413498,
0.017135532572865486,
-0.061964187771081924,
-0.0402241013944149,
0.011363389901816845,
-0.0012035573599860072,
-0.05400488153100014,
-0.006187374237924814,
-0.006084593944251537,
0.06025392562150955,
0.02155919559299946,
0.01794132962822914,
-0.041934363543987274,
0.014800364151597023,
-0.05196572095155716,
0.0007518379134126008,
0.008575988933444023,
0.027857573702931404,
0.017497319728136063,
0.019141804426908493,
0.05459689721465111,
0.04348018020391464,
-0.03779026120901108,
-0.02338457480072975,
-0.029041603207588196,
-0.014668804593384266,
-0.06268776208162308,
-0.00033095257822424173,
-0.04706515744328499,
0.04624291509389877,
0.045749567449092865,
-0.03647467494010925,
0.016576407477259636,
-0.027232669293880463,
0.01379722822457552,
0.02438770979642868,
-0.03581688180565834,
0.0032478575594723225,
0.049466103315353394,
0.022480107843875885,
0.011988294310867786,
0.018270226195454597,
0.010574037209153175,
0.0304065253585577,
-0.032692357897758484,
-0.01841823011636734,
0.014578358270227909,
0.040421437472105026,
-0.03091631457209587,
0.018862241879105568,
0.03831649571657181,
0.005504913162440062,
0.0039035959634929895,
-0.07985618710517883,
0.0018613513093441725,
-0.00010913983714999631,
0.00499923387542367,
-0.011305833235383034,
-0.007766079623252153,
-0.01904313452541828,
0.010952268727123737,
-0.03094920516014099,
-0.01544171292334795,
-0.013155878521502018,
-0.058675218373537064,
-0.017020417377352715,
-0.03469863161444664,
-0.028959378600120544,
-0.03943474590778351,
0.018138667568564415,
0.008945997804403305,
0.02215121127665043,
0.0018572401022538543,
0.005361020565032959,
0.04923587664961815,
-0.010656261816620827,
-0.040454328060150146,
0.011240053921937943,
-0.008781549520790577,
0.023647692054510117,
0.026426872238516808,
0.004170824773609638,
0.022430773824453354,
0.008049753494560719,
-0.06742388010025024,
0.036606233566999435,
0.03555376082658768,
0.01565549522638321,
0.02917316183447838,
0.02655843086540699,
0.04071744531393051,
0.00256334082223475,
-0.03631022572517395,
0.0021542750764638186,
0.05038701742887497,
-0.056570280343294144,
0.006425824481993914,
-0.007137064356356859,
-0.016420181840658188,
0.009686015546321869,
0.057754307985305786,
0.006499826442450285,
0.0126872006803751,
0.022397883236408234,
-0.004559334367513657,
0.04670336842536926,
0.007342624943703413,
0.05130792781710625,
0.023680582642555237,
0.05676761642098427,
-0.002546895993873477,
-0.03759292513132095,
-0.0226610004901886,
-0.001745209563523531,
-0.008016863837838173,
-0.055616479367017746,
-0.008617100305855274,
-0.032281238585710526,
0.004542889539152384,
-0.04535489156842232,
0.0319194495677948,
0.025357956066727638,
-0.03529064357280731,
0.03354749083518982,
0.0013844507047906518,
0.0036959797143936157,
0.04459843039512634,
0.044631317257881165,
0.06262198090553284,
0.03940185531973839,
-0.022529441863298416,
0.0756463035941124,
-0.015055258758366108,
-0.05594537407159805,
0.027939798310399055,
-0.02930472046136856,
0.008049753494560719,
0.03851383551955223,
0.03950052708387375,
-0.050025228410959244,
-0.03078475594520569,
0.02494683489203453,
0.03634311631321907,
-0.017743991687893867,
0.018122222274541855,
-0.056668948382139206,
0.024075258523225784,
-0.0025489514227956533,
0.0017400705255568027,
-0.03159055486321449,
0.037099577486515045,
0.01276120264083147,
-0.012909206561744213,
0.0443682000041008,
-0.04624291509389877,
-0.016971083357930183,
0.012966763228178024,
-0.0037144802045077085,
0.0264926515519619,
-0.05213017016649246,
-0.02058895118534565,
0.0011603896273300052,
0.0233023501932621,
0.06015525758266449,
-0.04331573098897934,
0.0017195144901052117,
-0.0037329806946218014,
0.02969939634203911,
0.0028696260415017605,
-0.024190371856093407,
-0.06212863698601723,
-0.023006342351436615,
-0.028877153992652893,
-0.05509024113416672,
-0.003182078246027231,
-0.012572086416184902,
-0.005517246667295694,
0.03723113611340523,
-0.01648596115410328,
-0.012884538620710373,
-0.02703533135354519,
-0.0443682000041008,
-0.07755390554666519,
-0.06482559442520142,
-0.06462825834751129,
0.000273652549367398,
0.03237990662455559,
-0.01734931580722332,
-0.004028988070785999,
-0.005250018090009689,
-0.03358038142323494,
0.0061462619341909885,
0.05216306075453758,
0.0314425490796566,
-0.06285221129655838,
0.03907296061515808,
0.0357511006295681,
0.02761089988052845,
-0.030505193397402763,
-0.029354054480791092,
-0.038776952773332596,
-0.026805102825164795,
-0.004366107285022736,
-0.03690224140882492,
-0.057754307985305786,
-0.021772978827357292,
-0.03561954200267792,
-0.0037350361235439777,
-0.036047108471393585,
-0.009274894371628761,
-0.02328590489923954,
0.007687966804951429,
0.03723113611340523,
-0.021296078339219093,
0.017447983846068382,
-0.02108229510486126,
-0.030686087906360626,
0.0177933257073164,
-0.04920298606157303,
0.007782524451613426,
-0.00890488550066948,
0.005821476224809885,
-0.03473151847720146,
-0.0016496238531544805,
-0.04555223137140274,
-0.045749567449092865,
-0.005846143700182438,
0.02384502999484539,
-0.05801742523908615,
-0.002943628001958132,
0.060451261699199677,
-0.016033727675676346,
0.0030731309670954943,
-0.001997021259739995,
0.08117177337408066,
0.010524703189730644,
0.0068287234753370285,
0.04870964214205742,
-0.0017082086997106671,
-0.0024091703817248344,
-0.050189677625894547,
0.016642186790704727,
-0.029502058401703835,
-0.005599470809102058,
-0.06538471579551697,
-0.06906836479902267,
0.0067464993335306644,
-0.007515295874327421,
-0.004777228459715843,
-0.06630562990903854,
-0.0026393982116132975,
0.02279256097972393,
-0.1168242022395134,
-0.016609296202659607,
0.0008186451159417629,
-0.0018849907210096717,
0.014052122831344604,
0.040947671979665756,
-0.04127657040953636,
0.07847481966018677,
0.04729538410902023,
-0.011823846027255058,
-0.03581688180565834,
-0.011511393822729588,
-0.00032273016404360533,
0.027331339195370674,
-0.05078169330954552,
0.05834632366895676,
0.009702460840344429,
-0.006360045168548822,
-0.004160546697676182,
0.011947182938456535,
0.05308397114276886,
-0.021279634907841682,
0.06561494618654251,
0.0314425490796566,
-0.040454328060150146,
-0.007293290458619595,
0.06462825834751129,
0.0018572401022538543,
0.059826359152793884,
0.0013310048962011933,
-0.03519197553396225,
0.0036918683908879757,
-0.035520873963832855,
-0.043019723147153854,
0.0069068362936377525,
-0.027758903801441193,
0.022907674312591553,
0.07992196083068848,
0.005895478185266256,
-0.07018661499023438,
-0.035520873963832855,
-0.025357956066727638,
0.010976936668157578,
-0.04390774667263031,
-0.035981327295303345,
-0.06860791146755219,
0.0022385551128536463,
0.0072110663168132305,
0.013624557293951511,
0.02923894114792347,
0.01899380050599575,
0.014759251847863197,
-0.0052294619381427765,
-0.02335168421268463,
0.008707547560334206,
-0.02932116575539112,
-0.0018798517994582653,
-0.01733287051320076,
-0.02604863978922367,
0.01948714628815651,
0.026821548119187355,
0.008312870748341084,
0.0038378166500478983,
-0.008534876629710197,
0.015162150375545025,
-0.024601493030786514,
0.019947601482272148,
-0.05703073367476463,
-0.08176378905773163,
0.06768699735403061,
-0.0260157510638237,
-0.0024626159574836493,
-0.0434143990278244,
0.026887327432632446,
-0.06456247717142105,
0.0367049016058445,
-0.002458504866808653,
0.0391058512032032,
-0.014052122831344604,
-0.04657180979847908,
-0.0344684012234211,
-0.02662421017885208,
-0.020753398537635803,
0.04394063353538513,
-0.07827747613191605,
-0.02285834029316902,
-0.022957008332014084,
0.03999387100338936,
0.022003207355737686,
-0.03297192230820656,
-0.04269082844257355,
0.004485332407057285,
0.008748659864068031,
-0.021213853731751442,
-0.08353982865810394,
0.025061950087547302,
-0.005097902845591307,
-0.05157104507088661,
-0.09038088470697403,
-0.03693512827157974,
-0.04617713391780853,
0.03999387100338936,
0.0023618913255631924,
0.057293850928545,
-0.028433144092559814,
0.0475585013628006,
0.05739252269268036,
0.040454328060150146,
0.05311686173081398,
-0.02336812950670719,
-0.04423664137721062,
-0.010730263777077198,
0.03614577651023865,
-0.0630495473742485,
0.06551627814769745,
0.056044042110443115,
0.03887562081217766,
0.05140659585595131,
-0.06235886737704277,
-0.07314668595790863,
-0.022644557058811188,
0.005385688040405512,
-0.025703297927975655,
-0.027906907722353935,
0.01777688041329384,
0.01544171292334795,
-0.0012251412263140082,
0.0030340745579451323,
0.09840597212314606,
0.0056118047796189785,
-0.02113163098692894,
0.007063062395900488,
0.027430007234215736,
-0.006162707228213549,
0.026706434786319733,
0.07347558438777924,
-0.0434143990278244,
0.09505122154951096,
0.004039266146719456,
-0.010286252945661545,
0.007157620508223772,
-0.013690336607396603,
-0.04864386096596718,
-0.037198249250650406,
0.06561494618654251,
0.04285527393221855,
-0.04571668058633804,
-0.08952575922012329,
0.03290614113211632,
-0.012884538620710373,
0.03311992436647415,
0.020161384716629982,
0.03147543966770172,
-0.018138667568564415,
0.034994639456272125,
-0.03262658044695854,
0.04071744531393051,
-0.06919991970062256,
-0.04861097410321236,
0.047953177243471146,
0.018829351291060448,
0.06469403207302094,
-0.04180280491709709,
-0.015408823266625404,
0.002754512242972851,
-0.01269542332738638,
-0.011453837156295776,
0.0019713263027369976,
-0.014002788811922073,
0.03083409182727337,
0.04114501178264618,
-0.04561800882220268,
0.017546653747558594,
0.012522752396762371,
0.02664065547287464,
-0.03683646023273468,
-0.07558052241802216,
0.03200167417526245,
-0.07308090478181839,
-0.04259215667843819,
-0.011511393822729588,
0.018845796585083008,
0.02011205069720745,
0.0359155498445034,
-0.009044666774570942,
0.0044688875786960125,
0.00433321762830019,
0.0029765176586806774,
-0.028416698798537254,
0.0662398487329483,
0.0031491885893046856,
0.019881822168827057,
0.001973381731659174,
0.03483019024133682,
0.01589394547045231,
0.051242146641016006,
0.017184866592288017,
-0.005208905786275864,
-0.03195234015583992,
-0.01833600550889969,
0.025785522535443306,
0.027890462428331375,
0.006598495412617922,
-0.02172364480793476,
0.0030813536141067743,
0.03913873806595802,
0.017135532572865486,
0.044203754514455795,
-0.05680050700902939,
-0.0006084594060666859,
-0.019076025113463402,
-0.0040084319189190865,
-0.005652916617691517,
0.03690224140882492,
0.03032430075109005,
0.033300817012786865,
0.04433531314134598,
0.008633545599877834
] |
52,097 |
tussik.zpl.zplwriter
|
vline
| null |
def vline(self, left: int = 0, top: int = 0, height: int = 100, thick: int = 2):
thick = int(min(max(1, int(thick * self._config.dpmm)), 32000))
width = max(thick, 0)
height = int(min(max(thick, int(height * self._config.dpmm)), 32000))
left = min(max(int(left * self._config.dpmm), 0), 32000)
top = min(max(int(top * self._config.dpmm), 0), 32000)
self.add(f"^FO{left},{top}{self._reverse}^GB{width},{height},{thick},B,0^FS")
|
(self, left: int = 0, top: int = 0, height: int = 100, thick: int = 2)
|
[
0.03829231858253479,
-0.03818901255726814,
-0.014798672869801521,
0.01404970046132803,
-0.013696735724806786,
-0.03374682739377022,
-0.02081628330051899,
-0.005681863985955715,
-0.07293447107076645,
0.019197814166545868,
-0.028512626886367798,
-0.0225552786141634,
-0.021177856251597404,
0.00560007942840457,
-0.036914899945259094,
0.051308952271938324,
0.051791053265333176,
-0.06177735701203346,
0.0026300144381821156,
-0.05082685500383377,
0.03329916670918465,
-0.007648994214832783,
0.01638270728290081,
0.014368228614330292,
0.012181571684777737,
-0.013515949249267578,
-0.0010610450990498066,
0.002018783474341035,
-0.019335554912686348,
-0.06188066303730011,
-0.01070084422826767,
-0.0020467624999582767,
-0.001959597459062934,
-0.026584235951304436,
0.005518295336514711,
-0.00040246537537314,
0.04941499978303909,
-0.026257099583745003,
-0.04125377535820007,
0.059332434087991714,
0.02637762390077114,
-0.000533750862814486,
0.10812759399414062,
0.03918764367699623,
-0.029958918690681458,
-0.032558802515268326,
0.052066534757614136,
0.04838193207979202,
0.049587175250053406,
0.019146159291267395,
0.008105264976620674,
-0.06590962409973145,
-0.0018272357992827892,
-0.023657215759158134,
-0.03529642894864082,
0.014755629003047943,
0.05898807942867279,
0.05282411724328995,
0.014833108521997929,
0.029786741361021996,
-0.01522911712527275,
-0.01907728984951973,
0.009960480034351349,
-0.0047047557309269905,
0.012052439153194427,
-0.00872940942645073,
-0.006861281115561724,
0.021022897213697433,
-0.008987675420939922,
0.006142439320683479,
-0.009332031011581421,
0.013266291469335556,
0.01575426012277603,
0.03192174434661865,
0.02066132426261902,
0.002899042097851634,
-0.04993153363466263,
0.031060855835676193,
0.04703894630074501,
-0.03176678344607353,
0.0780998021364212,
0.008901586756110191,
0.03667385131120682,
-0.027255728840827942,
-0.01684758812189102,
0.0527208112180233,
-0.008531404659152031,
-0.005212679971009493,
0.03653610870242119,
0.0030755242332816124,
-0.042286843061447144,
0.017174724489450455,
-0.03639836609363556,
0.03214557468891144,
0.002154373563826084,
-0.030991986393928528,
0.01099354587495327,
0.0020629039499908686,
-0.013817260041832924,
0.04004853218793869,
0.005931521765887737,
0.02327842451632023,
0.021952657029032707,
-0.03746586665511131,
-0.02081628330051899,
-0.029166901484131813,
-0.044352974742650986,
-0.0028732153587043285,
0.01607278734445572,
0.03977304697036743,
0.019920960068702698,
-0.014505971223115921,
-0.06177735701203346,
-0.002709646476432681,
-0.004321660380810499,
0.0509645976126194,
-0.016709845513105392,
-0.0033015073277056217,
0.009693603962659836,
0.033712394535541534,
0.0025977310724556446,
-0.04073724523186684,
0.004175309091806412,
-0.008466837927699089,
-0.05127451941370964,
-0.023622781038284302,
0.04600588232278824,
0.02171160839498043,
0.02198709174990654,
-0.10068951547145844,
0.054511457681655884,
0.027755044400691986,
0.002107024658471346,
-0.02097124420106411,
-0.03512424975633621,
-0.014402664266526699,
0.01607278734445572,
-0.009159853681921959,
0.018440231680870056,
0.013274900615215302,
-0.021814914420247078,
0.04283780977129936,
-0.011174332350492477,
-0.027582867071032524,
-0.04903620854020119,
0.032696545124053955,
0.009598907083272934,
-0.0521354079246521,
0.06370574980974197,
0.0701107606291771,
0.0013591276947408915,
0.0010874097933992743,
-0.003122872905805707,
0.01776873879134655,
0.03366073966026306,
-0.03812014311552048,
0.011380946263670921,
-0.045695960521698,
0.018440231680870056,
0.03746586665511131,
0.0007688810583204031,
-0.01571982353925705,
0.03335082158446312,
-0.003762082662433386,
-0.006095090415328741,
0.023967135697603226,
-0.03292037546634674,
0.006052046082913876,
-0.011225986294448376,
0.018577974289655685,
0.03231775388121605,
-0.08560675382614136,
-0.04500725120306015,
0.030613195151090622,
0.03743143007159233,
0.00014756167365703732,
-0.03581296280026436,
0.012612015940248966,
-0.011725300922989845,
0.00036426345468498766,
0.047693222761154175,
0.03264489024877548,
0.01776873879134655,
-0.042596761137247086,
-0.015728432685136795,
0.00563881965354085,
0.03059597685933113,
0.005496772937476635,
0.0057679531164467335,
-0.048864029347896576,
-0.01033927034586668,
-0.00030292512383311987,
0.059194691479206085,
-0.03694933280348778,
0.012379576452076435,
0.021453341469168663,
0.05898807942867279,
0.0038955204654484987,
-0.02749677747488022,
-0.0024599889293313026,
0.004597144667059183,
-0.024104878306388855,
-0.004437880124896765,
-0.06532421708106995,
0.04194248840212822,
0.028202706947922707,
-0.01324907410889864,
0.0008980142883956432,
0.050310324877500534,
0.015960872173309326,
0.005755039397627115,
-0.024948548525571823,
-0.033712394535541534,
0.0305615421384573,
0.022520842030644417,
-0.037638045847415924,
-0.09800354391336441,
0.07871964573860168,
-0.0025546865072101355,
-0.013524558395147324,
0.06349913775920868,
-0.030819807201623917,
-0.04879515990614891,
0.027290165424346924,
0.013980829156935215,
0.014781455509364605,
0.03688046336174011,
-0.01997261308133602,
-0.013800042681396008,
0.03026883862912655,
-0.02124672755599022,
0.04059950262308121,
-0.06353356689214706,
0.026257099583745003,
-0.006650363560765982,
0.018595190718770027,
-0.03770691528916359,
0.03329916670918465,
-0.06250050663948059,
-0.004511055536568165,
-0.012766975909471512,
0.0304582342505455,
0.012026612646877766,
0.04796870797872543,
-0.006146743893623352,
0.017958134412765503,
-0.018095875158905983,
0.0068655856885015965,
-0.030664848163723946,
0.07610253989696503,
-0.08636433631181717,
-0.0077910409308969975,
0.014351011253893375,
0.05778283625841141,
0.016356881707906723,
0.03681159019470215,
-0.030337709933519363,
-0.06139856576919556,
-0.02648092992603779,
0.02677363157272339,
0.009857173077762127,
0.009004893712699413,
0.008225789293646812,
0.040840551257133484,
0.09752144664525986,
0.04166700318455696,
-0.02124672755599022,
-0.0027763654943555593,
-0.05093016475439072,
0.005621601827442646,
0.010356488637626171,
0.023812174797058105,
0.015926437452435493,
0.040255144238471985,
-0.019886523485183716,
0.039256516844034195,
-0.06770027428865433,
-0.007149679120630026,
-0.007524165324866772,
-0.05020701512694359,
-0.018233617767691612,
-0.02052358165383339,
-0.0013440621551126242,
-0.002259832341223955,
-0.057713963091373444,
-0.029339080676436424,
0.032972030341625214,
-0.01995539478957653,
-0.045041684061288834,
-0.07190140336751938,
-0.011449816636741161,
0.0527208112180233,
0.07148817926645279,
0.01792369782924652,
0.09511096030473709,
0.0020026417914777994,
0.03321307897567749,
0.06869889795780182,
-0.03653610870242119,
0.008316182531416416,
0.012198789976537228,
-0.0433543436229229,
0.05268637463450432,
0.01733829453587532,
0.01325768232345581,
0.028736457228660583,
0.019283901900053024,
-0.03595070168375969,
0.06728704273700714,
-0.06969752907752991,
-0.03812014311552048,
0.0367082841694355,
-0.019748782739043236,
-0.020299751311540604,
0.02386382967233658,
0.0538916178047657,
-0.07035180926322937,
0.02999335527420044,
0.023932699114084244,
-0.017011156305670738,
0.033419691026210785,
-0.04459402337670326,
0.02214205265045166,
-0.016176095232367516,
0.009943261742591858,
0.023054594174027443,
0.004648797679692507,
0.02415653131902218,
-0.02944238670170307,
0.0018745847046375275,
0.01441988255828619,
0.0451105572283268,
-0.004868324380367994,
0.04573039710521698,
-0.03877441585063934,
-0.04442184790968895,
0.028288796544075012,
0.046694591641426086,
-0.020712977275252342,
0.005049110855907202,
0.10041403025388718,
0.00877675786614418,
-0.01107102632522583,
0.0034672284964472055,
0.029752306640148163,
-0.008251615799963474,
0.008040698245167732,
-0.017992569133639336,
0.030613195151090622,
0.09132304787635803,
-0.013670909218490124,
-0.05547565594315529,
0.009461164474487305,
-0.033419691026210785,
-0.0028947375249117613,
0.0072529856115579605,
0.022159269079566002,
-0.07727335393428802,
0.009082373231649399,
-0.02899472415447235,
-0.028943071141839027,
0.030613195151090622,
-0.05809275433421135,
0.020626887679100037,
-0.033574651926755905,
-0.010373705998063087,
-0.006947370246052742,
-0.029390733689069748,
0.013903348706662655,
0.06973196566104889,
-0.045386042445898056,
0.017872044816613197,
0.002668754430487752,
0.0007651146734133363,
0.07486286014318466,
-0.004067698027938604,
-0.046074751764535904,
0.0059272171929478645,
0.034469977021217346,
0.03104363940656185,
-0.024104878306388855,
-0.018543537706136703,
0.039979662746191025,
-0.04325103759765625,
-0.010141266509890556,
0.06301704049110413,
0.001274114940315485,
0.0205063633620739,
0.036501672118902206,
-0.028753675520420074,
-0.016649583354592323,
0.03653610870242119,
0.05609549582004547,
-0.004945804364979267,
-0.0061897882260382175,
-0.04325103759765625,
0.020420275628566742,
0.0048295846208930016,
0.036191750317811966,
-0.05182548612356186,
-0.0322144478559494,
-0.010149875655770302,
-0.05458033084869385,
0.039394255727529526,
-0.023932699114084244,
-0.08154335618019104,
-0.01745881885290146,
0.07238350063562393,
-0.00020392295846249908,
-0.060778725892305374,
-0.013317945413291454,
-0.020902372896671295,
-0.02036862261593342,
0.006030523683875799,
-0.0035360995680093765,
-0.03877441585063934,
0.02677363157272339,
-0.04380200803279877,
-0.013447077944874763,
0.017407165840268135,
0.0035296427085995674,
0.008781062439084053,
0.01585756614804268,
0.0006085405475459993,
0.011346510611474514,
0.00013673330249730498,
-0.033712394535541534,
-0.0002699692558962852,
0.04104716330766678,
-0.03140521049499512,
0.027858352288603783,
-0.015771476551890373,
0.014023873955011368,
-0.01121737714856863,
-0.06139856576919556,
0.005668950732797384,
0.04480063542723656,
-0.07045511156320572,
0.07004188746213913,
0.017484644427895546,
0.0305615421384573,
-0.03204226866364479,
-0.009917435236275196,
-0.002466445555910468,
-0.006232832558453083,
-0.03570965304970741,
-0.0009233028977178037,
-0.028512626886367798,
0.0014742715284228325,
-0.026894155889749527,
-0.03533086180686951,
0.07066172361373901,
-0.03973861411213875,
-0.02085071988403797,
0.005544121842831373,
-0.04645354300737381,
-0.09366466850042343,
-0.04555821791291237,
-0.03130190446972847,
0.04982822760939598,
0.037362560629844666,
0.03784465789794922,
-0.06759696453809738,
0.006344748195260763,
-0.051756616681814194,
-0.028805328533053398,
0.02448366954922676,
-0.009461164474487305,
-0.027892787009477615,
-0.01924946717917919,
-0.012775585055351257,
-0.07438076287508011,
-0.005922912620007992,
-0.04893290251493454,
0.09690161049365997,
0.06370574980974197,
0.05185992270708084,
-0.0032261796295642853,
-0.016098614782094955,
-0.023261206224560738,
-0.0574040450155735,
-0.040702808648347855,
-0.026584235951304436,
0.006392097100615501,
0.05392605438828468,
0.11040034145116806,
-0.03849893435835838,
0.006572883576154709,
0.001536685973405838,
-0.02271023765206337,
0.00236313883215189,
0.0207990650087595,
-0.049001771956682205,
0.002227548975497484,
0.05141226202249527,
0.05117121338844299,
-0.008884369395673275,
-0.018732933327555656,
0.0006402858416549861,
-0.052066534757614136,
-0.02517237886786461,
-0.048864029347896576,
-0.012629234232008457,
-0.022314229980111122,
-0.03777578845620155,
-0.005733517464250326,
0.028288796544075012,
0.026239881291985512,
-0.025723347440361977,
-0.0027569953817874193,
0.02138447016477585,
-0.04015183821320534,
-0.03391900658607483,
0.014153006486594677,
-0.010347879491746426,
0.003099198453128338,
-0.06067541986703873,
0.04934612661600113,
0.013429860584437847,
-0.04786539822816849,
0.0003056154237128794,
-0.047521043568849564,
0.051308952271938324,
-0.11095131188631058,
0.007679125294089317,
0.04793427139520645,
-0.049311693757772446,
-0.015031113289296627,
0.07527609169483185,
0.022761892527341843,
0.04097829386591911,
0.02925299108028412,
0.02009313739836216,
0.013042460195720196,
0.04865741729736328,
0.00459284009411931,
-0.0007333693793043494,
-0.017407165840268135,
0.019628258422017097,
-0.06163961440324783,
0.010029351338744164,
-0.0198176521807909,
0.021522212773561478,
0.04776209220290184,
-0.02925299108028412,
0.04831306263804436,
0.05678420513868332,
-0.04721112549304962,
-0.017717085778713226,
-0.0747939944267273,
0.0042334189638495445,
0.0063275303691625595,
0.027049116790294647,
-0.025654476135969162,
-0.02663589082658291,
0.06549639999866486,
0.0038266493938863277,
-0.03496928885579109,
0.005621601827442646,
-0.03522755578160286,
0.02126394584774971,
0.10199806839227676,
0.06260380893945694,
-0.03798240050673485,
-0.04369869828224182,
-0.05296185985207558,
-0.0425623282790184,
0.028615932911634445,
0.053512830287218094,
0.0012170810950919986,
0.05020701512694359,
0.014979459345340729,
-0.0030669153202325106,
-0.002815105253830552,
-0.06663277000188828,
0.03219722956418991,
0.0006903249304741621,
0.02956291101872921,
-0.041598130017519,
-0.031250253319740295,
-0.08643320202827454,
-0.01775152049958706,
-0.03236940875649452,
-0.004358247853815556,
-0.029614564031362534,
0.006043437402695417,
-0.0006343672284856439,
0.069112129509449,
-0.00247505446895957,
0.00011420223745517433,
0.010881630703806877,
0.0003276756906416267,
0.013412642292678356,
-0.00932342279702425,
-0.02911524847149849,
-0.01821640133857727,
0.02560282312333584,
0.02940795011818409,
-0.03364352136850357,
0.028598716482520103,
-0.030819807201623917,
-0.008600275963544846,
-0.01027039997279644,
0.03419449180364609,
-0.035744089633226395,
-0.017872044816613197,
0.011544514447450638,
-0.006964588072150946,
-0.07527609169483185,
-0.03507259860634804,
0.029494039714336395,
0.09104757010936737,
0.0032283319160342216,
0.011122679337859154,
-0.05024145171046257,
0.0433543436229229,
-0.01339542493224144,
-0.029614564031362534,
0.034315016120672226,
0.028891418129205704,
0.008354922756552696,
-0.024655846878886223,
0.0044421846978366375,
-0.04015183821320534,
0.01076971460133791,
-0.001974662998691201,
0.003017414128407836,
-0.08698417246341705,
0.02023088000714779,
-0.026997463777661324,
-0.007692038547247648,
0.02272745594382286,
-0.024638628587126732,
0.00600900175049901,
-0.03825788572430611,
-0.021298380568623543,
-0.053375087678432465,
-0.007614558562636375,
-0.01837136037647724,
-0.0007102329982444644,
0.015900610014796257,
-0.013705344870686531,
-0.04876072332262993,
0.0396353043615818,
0.0427689403295517,
0.008531404659152031,
-0.046384673565626144,
0.027910005301237106,
0.05988340452313423,
0.04046176001429558,
0.028306012973189354,
-0.019421644508838654,
-0.0012676583137363195,
0.02868480421602726,
0.011811390519142151,
0.04407748952507973,
0.02240031771361828,
-0.0384644977748394,
0.026239881291985512,
0.014781455509364605,
-0.020007047802209854,
-0.01906007155776024,
-0.022538060322403908,
-0.025241250172257423,
-0.002995891962200403,
-0.025981614366173744,
0.09511096030473709,
-0.017011156305670738,
-0.05371944233775139,
-0.05637097731232643,
0.03130190446972847,
-0.04001409560441971,
-0.06611623615026474,
-0.01807865872979164,
-0.027290165424346924,
-0.03818901255726814,
-0.0655997022986412,
0.010675017721951008,
0.03550304099917412,
0.01522050891071558,
0.004226962570101023,
-0.033402472734451294,
0.0413915179669857,
-0.01667541079223156,
-0.007562905550003052,
0.06253494322299957,
-0.02636040560901165,
0.05216984078288078,
-0.07417415082454681,
-0.014876153320074081,
-0.034900419414043427,
-0.045351605862379074,
0.01522050891071558,
0.04204579442739487,
0.0029549996834248304,
-0.024122094735503197,
-0.00040730787441134453,
-0.07300334423780441,
0.0029743697959929705,
0.017992569133639336,
-0.020712977275252342,
-0.003706124844029546,
-0.062293890863657,
0.010485622100532055,
-0.05344395712018013,
0.015099983662366867,
0.05189435929059982,
-0.014557624235749245,
-0.07699786871671677,
0.0451105572283268,
0.044766202569007874,
-0.002524555427953601,
0.05888477340340614,
-0.032696545124053955,
0.04824418947100639,
0.04882959648966789,
-0.041598130017519,
-0.013877522200345993,
0.0016163181280717254,
0.023226771503686905,
-0.009461164474487305,
0.02649814821779728,
0.004151634871959686,
-0.04204579442739487,
0.004657406825572252,
0.01665819250047207,
-0.03577852621674538,
0.024948548525571823,
-0.05227315053343773,
-0.03460771590471268,
0.04734886810183525,
0.019197814166545868,
-0.01819918304681778,
-0.027789480984210968,
-0.010580319911241531,
0.03071650117635727,
-0.03496928885579109,
-0.020626887679100037,
0.03302368149161339,
-0.002006946364417672,
-0.0205063633620739,
0.009202897548675537,
0.006986110005527735,
-0.027341818436980247,
-0.027031898498535156,
0.07300334423780441,
0.010287617333233356,
0.044352974742650986,
0.0014333793660625815,
0.06539309024810791,
0.04414636269211769,
0.029459604993462563,
-0.002259832341223955,
0.0038244971074163914,
0.08540014177560806,
-0.008040698245167732,
0.017682649195194244,
0.04149482399225235,
0.008944631554186344,
-0.053512830287218094,
0.01120015885680914,
-0.04211466386914253,
-0.02066132426261902,
0.06508316844701767,
-0.00010996505443472415,
0.019834870472550392,
-0.01287889201194048,
0.04545491188764572
] |
52,102 |
segindex.segregation_index
|
estimate_Hp
|
Arguments:
vv_s (List[List[values]]): list of lists of values
ww_s: weights over vv_s
K: counts of thresholds
m: degree of regression equation used for the estimation
|
def estimate_Hp(vv_s: List[List[Any]], ww_s=None, K=14, m=4):
'''
Arguments:
vv_s (List[List[values]]): list of lists of values
ww_s: weights over vv_s
K: counts of thresholds
m: degree of regression equation used for the estimation
'''
vv_s = from_vvs_to_rrs(vv_s, ww_s=ww_s) # rank-order transformation
kk = np.array([e/K for e in range(1,K)]) # 1/K ~ (K-1)/K
e_kk = np.array([entropy_p(k) for k in kk])
w_kk = e_kk**2
#
tt = [len(vv) for vv in vv_s]
Hp_kk = []
for k in kk:
pp = []
for vv in vv_s:
vv_k = [e for e in vv if e<=k]
pp.append(len(vv_k)/len(vv))
Hp_k = Theil_p(tt,pp)
Hp_kk.append(Hp_k)
#
d = pd.DataFrame({'Hp':Hp_kk, 'p':kk, 'weight': w_kk})
for n in range(2,m+1):
d[f"p_{n}"] = d['p']**n
exog = d[[c for c in d.columns if 'p' in c and 'Hp' not in c]]
exog = sm.add_constant(exog)
global f
f = sm.WLS(endog=d['Hp'], exog=exog, weights=d['weight']).fit()
#
betas = [f.params['const'], f.params['p']]
for n in range(2,m+1):
betas.append(f.params[f"p_{n}"])
#
deltas = [delta_m(e) for e in range(m+1)]
betas, deltas = map(np.array, [betas, deltas])
#
H_r = np.sum(betas*deltas)
return H_r
|
(vv_s: List[List[Any]], ww_s=None, K=14, m=4)
|
[
0.012082844972610474,
-0.06371302902698517,
-0.04035286605358124,
0.020080536603927612,
0.003742325585335493,
-0.017069416120648384,
-0.023149196058511734,
-0.06739542633295059,
-0.018431132659316063,
0.04940541088581085,
-0.0024129729717969894,
0.004406402353197336,
0.04480241984128952,
0.009973141364753246,
-0.08538543432950974,
0.04645182564854622,
-0.004751626867800951,
-0.04188719391822815,
-0.02435748092830181,
-0.02311083860695362,
-0.001150147756561637,
-0.03966241702437401,
0.003344358876347542,
0.059800490736961365,
-0.041120029985904694,
-0.015122734941542149,
0.0030183137860149145,
0.009297077544033527,
-0.03279629349708557,
-0.029075544327497482,
-0.03498271107673645,
-0.011785568669438362,
-0.03584577143192291,
-0.028730319812893867,
0.0050489031709730625,
-0.03001532144844532,
0.05293436720967293,
-0.033525098115205765,
-0.09443797916173935,
-0.016983110457658768,
-0.003919732291251421,
0.010260828770697117,
0.04192555323243141,
0.009800530038774014,
-0.032125022262334824,
0.0001286349433939904,
-0.009373794309794903,
0.06459527462720871,
0.09374753385782242,
-0.031472932547330856,
0.021902553737163544,
-0.013387025333940983,
-0.03097427636384964,
-0.052474070340394974,
-0.015880310907959938,
0.04526272043585777,
0.024568451568484306,
-0.007115453016012907,
0.06985034793615341,
-0.09052544087171555,
0.025700019672513008,
-0.027023378759622574,
0.041695404797792435,
0.03208666667342186,
-0.017750274389982224,
-0.015477548353374004,
-0.020406581461429596,
-0.01855579763650894,
0.0040803574956953526,
0.013847324065864086,
0.03883771598339081,
-0.024530092254281044,
0.01869005151093006,
0.023398524150252342,
-0.031607188284397125,
0.05600302666425705,
-0.0017345115775242448,
-0.07514378428459167,
-0.03586495295166969,
0.0051447986625134945,
0.030533157289028168,
0.030648231506347656,
0.03356345742940903,
-0.04978899285197258,
-0.025124644860625267,
-0.032988082617521286,
0.05017257481813431,
-0.002139670541509986,
0.009867656975984573,
0.012111613526940346,
-0.024376660585403442,
0.03732256591320038,
0.015266578644514084,
0.0031094145961105824,
0.057882580906152725,
0.01307056937366724,
-0.043920181691646576,
-0.022305315360426903,
-0.03195241093635559,
-0.013952808454632759,
0.008352505974471569,
0.05792094022035599,
0.012293814681470394,
0.08991170674562454,
-0.00011874571646330878,
-0.04660525918006897,
0.0052550784312188625,
0.015439190901815891,
0.021077850833535194,
-0.027023378759622574,
-0.06977363675832748,
0.05504406988620758,
-0.03609510138630867,
-0.03233599290251732,
-0.0028552913572639227,
-0.018229752779006958,
-0.03346756100654602,
0.03569234162569046,
-0.007585341576486826,
0.04744913801550865,
-0.009445715695619583,
-0.03323741257190704,
-0.023858822882175446,
-0.012293814681470394,
-0.0011633334215730429,
-0.04311465844511986,
0.036440324038267136,
-0.0749136358499527,
0.03304561972618103,
-0.04883003607392311,
0.006190060637891293,
0.0167433712631464,
0.024395838379859924,
0.0025412333197891712,
-0.027598751708865166,
-0.05937855318188667,
-0.028250841423869133,
-0.037552714347839355,
0.08714991807937622,
-0.0591484010219574,
0.02046412043273449,
0.031223604455590248,
-0.04978899285197258,
0.026889124885201454,
0.04798615351319313,
-0.024376660585403442,
0.07280393689870834,
0.03607592359185219,
0.03676636889576912,
0.014499413780868053,
-0.036708831787109375,
-0.021480612456798553,
0.026083601638674736,
-0.02157650887966156,
0.01881471462547779,
-0.019466806203126907,
0.05604138597846031,
-0.022861508652567863,
-0.013991166837513447,
-0.03845413401722908,
0.002711447887122631,
-0.030897559598088264,
-0.03538547456264496,
0.0036704037338495255,
-0.030609874054789543,
-0.018622923642396927,
0.007321628741919994,
0.013741838745772839,
0.02307247929275036,
0.0024645167868584394,
0.008036050945520401,
-0.022669717669487,
-0.016426915302872658,
0.0019310974748805165,
0.01687762513756752,
0.02393553964793682,
0.006482542026787996,
-0.012082844972610474,
0.009714223444461823,
0.021518971771001816,
0.030878381803631783,
-0.002207996090874076,
-0.023130016401410103,
-0.022343672811985016,
-0.03947062790393829,
0.04718063026666641,
0.04829302057623863,
-0.004451952874660492,
-0.05170690268278122,
0.024299943819642067,
-0.05377824977040291,
-0.08101259917020798,
0.05201376974582672,
-0.01098963525146246,
0.01425008475780487,
0.04345988482236862,
0.029248155653476715,
0.03210584446787834,
-0.044342122972011566,
0.004617372993379831,
0.004574219696223736,
0.01605292223393917,
-0.033697713166475296,
0.016925571486353874,
-0.0036512247752398252,
-0.02073262818157673,
-0.012897957116365433,
0.007839464582502842,
-0.010001910850405693,
0.028404274955391884,
-0.037552714347839355,
-0.008362095803022385,
-0.0403912253677845,
0.048216305673122406,
0.055657804012298584,
0.0004399210447445512,
-0.04507092759013176,
0.0008211060194298625,
0.00774356909096241,
-0.0545070543885231,
-0.03912540152668953,
-0.03068659082055092,
-0.03759107366204262,
0.03624853491783142,
0.047794364392757416,
-0.011382807046175003,
0.0007785523775964975,
0.017031056806445122,
0.018037961795926094,
0.036018386483192444,
0.025489049032330513,
0.003145375521853566,
0.030034499242901802,
-0.05561944469809532,
-0.0030231087002903223,
0.043766748160123825,
-0.08216334134340286,
-0.00767164770513773,
-0.04253928363323212,
-0.017510535195469856,
-0.015928257256746292,
-0.03885689377784729,
-0.010548515245318413,
0.06129646301269531,
-0.03663211688399315,
-0.02433830127120018,
0.03803219273686409,
0.01604333333671093,
-0.008472375571727753,
0.020924419164657593,
-0.02311083860695362,
-0.07226692140102386,
0.004555040504783392,
-0.002327865455299616,
-0.04649018496274948,
-0.03787875920534134,
0.0578058622777462,
0.053854964673519135,
0.024108152836561203,
-0.06191019341349602,
0.015717288479208946,
-0.007187374867498875,
0.008496349677443504,
-0.0029631739016622305,
-0.04825466126203537,
0.01713654212653637,
-0.03392786160111427,
0.023609494790434837,
-0.028308378532528877,
0.01451859250664711,
0.09704633802175522,
0.04192555323243141,
-0.041963912546634674,
-0.032566145062446594,
-0.003790273331105709,
0.036421146243810654,
0.03855003044009209,
0.0029463921673595905,
-0.02669733390212059,
0.031741440296173096,
0.021499792113900185,
-0.06344452500343323,
-0.0034762152936309576,
0.03780204430222511,
-0.021768299862742424,
0.04415033012628555,
-0.03206748515367508,
-0.05239735171198845,
0.08055230230093002,
-0.02961255982518196,
-0.03260450065135956,
-0.01657075807452202,
-0.004197829402983189,
0.003375524887815118,
0.07940155267715454,
0.027637111023068428,
0.024108152836561203,
-0.02366703189909458,
0.029535843059420586,
0.036728013306856155,
0.05531257763504982,
0.003826234256848693,
0.07598766684532166,
-0.014902175404131413,
-0.03993092477321625,
0.001080623478628695,
0.0725354254245758,
-0.03135785833001137,
0.01645568385720253,
-0.03538547456264496,
-0.03569234162569046,
0.08116602897644043,
-0.007863438688218594,
0.005715377163141966,
0.008601834997534752,
-0.06823930144309998,
0.004147484432905912,
0.012897957116365433,
0.04292286932468414,
0.03993092477321625,
0.01992710493505001,
0.007110658101737499,
0.05251242592930794,
-0.04633675143122673,
-0.00217922730371356,
-0.08362095803022385,
0.022228598594665527,
-0.030801665037870407,
0.06705019623041153,
-0.08032214641571045,
-0.04959720000624657,
-0.04576137661933899,
0.05274257808923721,
0.01383773423731327,
-0.023283449932932854,
0.020924419164657593,
0.04165704548358917,
0.02600688487291336,
-0.0269466619938612,
-0.0433831661939621,
0.048599887639284134,
0.028864573687314987,
-0.047103915363550186,
0.04315301775932312,
0.02625621296465397,
-0.021940911188721657,
0.02336016669869423,
0.005672224331647158,
-0.04614495858550072,
0.033947039395570755,
-0.02048329822719097,
0.028691962361335754,
0.0749136358499527,
0.023993076756596565,
0.07499035447835922,
0.05101645737886429,
-0.01841195486485958,
0.011670493520796299,
0.0193709097802639,
-0.008165509440004826,
0.02284233085811138,
0.041963912546634674,
-0.05278093367815018,
0.01617758721113205,
-0.010280007496476173,
-0.03985420987010002,
0.012207509018480778,
0.02048329822719097,
0.015880310907959938,
0.006055806763470173,
-0.0323551744222641,
-0.07107781618833542,
-0.034637488424777985,
0.03517450392246246,
0.03555808588862419,
0.06954348087310791,
-0.03599920496344566,
-0.0018675667233765125,
0.01126773189753294,
0.012965084053575993,
0.060490939766168594,
0.012984263710677624,
-0.001105796080082655,
-0.008999801240861416,
0.08484841883182526,
-0.04380510747432709,
0.014135010540485382,
-0.021499792113900185,
0.04081316292285919,
-0.04813958704471588,
0.03268121927976608,
0.0024117741268128157,
0.028289200738072395,
0.013808965682983398,
0.004214611370116472,
0.03385114297270775,
0.010884149931371212,
0.021921733394265175,
-0.11415411531925201,
0.04718063026666641,
0.010423851199448109,
-0.049290336668491364,
-0.02391636185348034,
-0.015957027673721313,
-0.0719216987490654,
-0.058151088654994965,
-0.033831965178251266,
0.035308755934238434,
-0.02224777825176716,
0.05377824977040291,
-0.06858453154563904,
0.05032600834965706,
-0.043498240411281586,
-0.037284206598997116,
-0.0719216987490654,
0.01237053144723177,
0.02972763404250145,
0.012965084053575993,
-0.025086287409067154,
0.025834273546934128,
0.07598766684532166,
-0.061181388795375824,
0.0218450166285038,
0.04096659645438194,
0.008879931643605232,
-0.026313750073313713,
-0.06325273215770721,
-0.04161868616938591,
-0.0007797510479576886,
-0.024971213191747665,
-0.012667807750403881,
0.014902175404131413,
-0.033659353852272034,
-0.012792471796274185,
0.013415793888270855,
-0.007518214639276266,
0.002207996090874076,
0.031070172786712646,
-0.022477926686406136,
-0.03335248678922653,
0.009934783913195133,
0.009915604256093502,
0.032125022262334824,
0.03638278692960739,
0.02986188791692257,
-0.03594166785478592,
-0.0109992241486907,
-0.04576137661933899,
-0.09420783072710037,
-0.04549286887049675,
0.05312616005539894,
0.037821222096681595,
0.09313379973173141,
0.015928257256746292,
-0.003152567660436034,
0.000523230351973325,
-0.015937848016619682,
-0.0384349524974823,
-0.028576886281371117,
0.02113538794219494,
0.04733406379818916,
0.05561944469809532,
0.02268889732658863,
-0.0028552913572639227,
-0.03164554759860039,
0.01615840755403042,
0.03855003044009209,
-0.03511696681380272,
0.026217855513095856,
-0.017635200172662735,
0.03571151942014694,
-0.020291507244110107,
0.011593777686357498,
-0.013022621162235737,
-0.019179118797183037,
-0.0036464298609644175,
-0.013291128911077976,
0.024568451568484306,
0.05573451891541481,
-0.016685834154486656,
0.03454159200191498,
-0.00884157419204712,
0.057307206094264984,
0.02242038957774639,
0.01754889450967312,
0.00219361181370914,
-0.007033941801637411,
-0.03248942643404007,
-0.016398146748542786,
-0.022036807611584663,
-0.00764287868514657,
0.007268886081874371,
0.020291507244110107,
0.05189869552850723,
-0.061871837824583054,
-0.034829281270504,
0.03776368498802185,
0.03569234162569046,
0.05849631130695343,
-0.04572301730513573,
-0.0025220541283488274,
-0.0011897047515958548,
-0.03716913238167763,
-0.07008049637079239,
0.026505542919039726,
0.01880512572824955,
0.021077850833535194,
0.04253928363323212,
-0.04449555650353432,
0.03224010020494461,
-0.024510914459824562,
-0.03225927799940109,
0.01250478532165289,
0.03404293581843376,
-0.010299187153577805,
-0.002665897598490119,
-0.026332929730415344,
0.06164168938994408,
0.0014276456786319613,
-0.02182583697140217,
0.06766393035650253,
-0.0057729147374629974,
0.02518218196928501,
-0.020962776616215706,
0.005072876811027527,
0.046260032802820206,
-0.025546586140990257,
-0.006357877980917692,
0.05991556867957115,
0.051783621311187744,
-0.015937848016619682,
-0.022477926686406136,
-0.03128114342689514,
0.009858067147433758,
-0.006199650000780821,
-0.01563098095357418,
-0.026064421981573105,
-0.0850018560886383,
-0.08231677860021591,
0.01175680011510849,
-0.03973913565278053,
-0.03613346070051193,
0.021192926913499832,
-0.06041422486305237,
0.01657075807452202,
0.06095124036073685,
-0.02435748092830181,
0.05435362085700035,
-0.053317949175834656,
-0.049021828919649124,
0.025891810655593872,
-0.024395838379859924,
0.02449173480272293,
0.01098963525146246,
0.04230913519859314,
0.03599920496344566,
-0.003253258066251874,
-0.047794364392757416,
-0.03206748515367508,
-0.02293822541832924,
-0.02710009552538395,
-0.08914454281330109,
0.03392786160111427,
-0.008601834997534752,
-0.04932869225740433,
0.0015547072980552912,
-0.02172994241118431,
0.0433831661939621,
-0.10065201669931412,
0.004125908017158508,
-0.005744146183133125,
0.0379171185195446,
0.042807791382074356,
-0.029535843059420586,
-0.02197927050292492,
-0.01672419160604477,
0.07084766775369644,
-0.029804350808262825,
-0.003701569978147745,
0.01230340451002121,
0.00843881256878376,
-0.02934405207633972,
0.008601834997534752,
0.00969024933874607,
0.04560794308781624,
0.04054465517401695,
-0.07004214078187943,
0.038665104657411575,
-0.04560794308781624,
0.09198305010795593,
-0.041695404797792435,
0.01120060496032238,
-0.026313750073313713,
-0.029133081436157227,
0.001662589842453599,
0.02767546847462654,
-0.02571919746696949,
-0.006549668963998556,
0.056079741567373276,
0.054430339485406876,
-0.04587645083665848,
0.007091479375958443,
-0.002114497823640704,
-0.0315304696559906,
0.010337544605135918,
-0.013741838745772839,
0.045147646218538284,
0.002795356558635831,
0.04660525918006897,
-0.04426540434360504,
0.013329487293958664,
-0.001124975155107677,
0.026448003947734833,
0.0007791516836732626,
-0.006698307115584612,
0.03356345742940903,
0.006789408158510923,
-0.008923085406422615,
0.07103945314884186,
-0.026639796793460846,
-0.009570380672812462,
0.035308755934238434,
0.012965084053575993,
0.017337923869490623,
0.026505542919039726,
-0.022784793749451637,
0.025354795157909393,
-0.020099716261029243,
0.0057249669916927814,
-0.017107773572206497,
0.02073262818157673,
0.036977339535951614,
0.04464899003505707,
0.001630225102417171,
0.008606629446148872,
0.040736448019742966,
0.040429580956697464,
0.015324115753173828,
-0.03333330899477005,
0.0041858428157866,
-0.04027615115046501,
0.03820480406284332,
0.01300344243645668,
-0.029267335310578346,
0.027176810428500175,
0.06946676969528198,
-0.008678550831973553,
-0.0030830432660877705,
0.035481370985507965,
0.027464497834444046,
0.00753739383071661,
-0.033525098115205765,
-0.0370924174785614,
-0.012149971909821033,
-0.014154189266264439,
0.016225533559918404,
0.006583232432603836,
-0.026332929730415344,
0.013713070191442966,
-0.03665129467844963,
-0.06068273261189461,
-0.020636731758713722,
-0.00946009997278452,
-0.017807811498641968,
0.03901032730937004,
0.02945912629365921,
0.007374370936304331,
-0.01812426745891571,
-0.051361680030822754,
0.007829875685274601,
-0.03289218991994858,
-0.017491355538368225,
-0.04537779465317726,
0.0003125597140751779,
-0.02600688487291336,
0.0031981179490685463,
-0.022439569234848022,
-0.02171076275408268,
-0.03321823477745056,
0.006309930235147476,
0.07710006088018417,
0.05930183455348015,
-0.0023494421038776636,
-0.005341384559869766,
0.027004199102520943,
0.0006215233006514609,
-0.02491367608308792,
0.01480627991259098,
-0.019016096368432045,
-0.011929411441087723,
-0.07153811305761337,
-0.007796311751008034,
-0.018181804567575455,
0.01617758721113205,
0.03164554759860039,
-0.02311083860695362,
-0.03293054550886154,
-0.04507092759013176,
0.0364786833524704,
-0.012447248212993145,
-0.02545068971812725,
0.010414261370897293,
-0.01659952662885189,
0.001132766716182232,
-0.020291507244110107,
-0.012178740464150906,
-0.00995396263897419,
-0.008491555228829384,
0.0068181767128407955,
-0.04054465517401695,
-0.05128496512770653,
0.003790273331105709,
0.019255835562944412,
-0.026908302679657936,
0.032431889325380325,
0.026735691353678703,
-0.023436883464455605,
-0.01390486117452383,
-0.01892979070544243,
0.033947039395570755,
0.025815093889832497,
0.003799862926825881,
0.05397003889083862,
0.0008276988519355655,
-0.10034514963626862,
0.017117364332079887,
0.0505945160984993,
-0.0024645167868584394,
0.011449933983385563,
0.029804350808262825,
0.0029943399131298065,
-0.013387025333940983,
-0.027445318177342415,
-0.002632334129884839,
0.020253149792551994,
-0.008021666668355465,
-0.017740685492753983,
0.009321051649749279,
0.028691962361335754,
0.05949362739920616,
0.037265028804540634,
0.032585322856903076,
-0.05515914410352707,
-0.08975827693939209,
0.024568451568484306,
0.02489449642598629,
0.014269264414906502,
0.02832755818963051,
0.054967354983091354,
-0.017050236463546753,
0.029516663402318954,
-0.04380510747432709,
0.04372839257121086,
0.0157652348279953,
0.058151088654994965,
0.030341366305947304,
0.00046449428191408515,
-0.09182962030172348,
-0.061871837824583054,
-0.026639796793460846,
-0.002290705917403102,
0.019677774980664253,
0.01685844548046589,
0.05074794963002205,
-0.04246256873011589,
0.0004992564208805561,
0.02366703189909458,
0.01286918856203556
] |
52,104 |
pebble.pool.base_pool
|
MapFuture
| null |
class MapFuture(PebbleFuture):
def __init__(self, futures: list):
super().__init__()
self._futures = futures
@property
def futures(self) -> list:
return self._futures
def cancel(self) -> bool:
"""Cancel the future.
Returns True if any of the elements of the iterables is cancelled.
False otherwise.
"""
super().cancel()
return any(tuple(f.cancel() for f in self._futures))
|
(futures: list)
|
[
0.024863561615347862,
-0.03475039452314377,
-0.09315596520900726,
0.028012700378894806,
-0.07301611453294754,
0.0026982822455465794,
0.015388676896691322,
0.01504996046423912,
0.039986755698919296,
-0.0038998073432594538,
0.02506496012210846,
0.028177481144666672,
-0.024735398590564728,
-0.003046152414754033,
0.006133500020951033,
0.01922440342605114,
-0.00838550180196762,
0.0311618410050869,
0.0164597500115633,
-0.029861904680728912,
0.012422625906765461,
0.02925770916044712,
0.007085565477609634,
-0.0344940721988678,
0.01252332516014576,
0.09110535681247711,
-0.035208120942115784,
-0.0006345197325572371,
-0.027115562930703163,
-0.010042461566627026,
0.04126838594675064,
0.019059622660279274,
-0.02647474966943264,
-0.011067762970924377,
0.04577238857746124,
0.06155470758676529,
-0.03262655809521675,
0.08341559767723083,
-0.021000370383262634,
-0.025815626606345177,
0.02504665032029152,
-0.07535965740680695,
-0.0540846511721611,
-0.005355369299650192,
0.02696909010410309,
-0.005794784054160118,
-0.0636785477399826,
0.05855203792452812,
0.04145147278904915,
-0.0020677675493061543,
0.03652636334300041,
0.015489376150071621,
-0.0023824528325349092,
0.03918116167187691,
0.006769736297428608,
0.08707738667726517,
0.00156541564501822,
0.05653805285692215,
0.001616909634321928,
-0.012349390424787998,
-0.029623888432979584,
0.015150659717619419,
-0.010124851949512959,
-0.019938452169299126,
0.05298611521720886,
-0.022428469732403755,
0.004966304171830416,
-0.010500185191631317,
-0.0005106481839902699,
0.053864944726228714,
0.014811944216489792,
0.03319413587450981,
-0.009859371930360794,
0.008037631399929523,
0.021567948162555695,
-0.05346214771270752,
0.014052122831344604,
0.004563507158309221,
-0.018784986808896065,
-0.01336553692817688,
-0.05792953446507454,
-0.021934127435088158,
-0.00600076001137495,
-0.0015619826735928655,
-0.011223389767110348,
-0.0411585308611393,
0.07217390090227127,
-0.04573576897382736,
-0.09029976278543472,
-0.008696753531694412,
-0.06752342730760574,
0.009776981547474861,
-0.017457587644457817,
-0.0339997299015522,
-0.002181054325774312,
0.011067762970924377,
-0.01364932581782341,
-0.013054285198450089,
-0.08444090187549591,
-0.05042286217212677,
0.023050975054502487,
0.03421943634748459,
0.03918116167187691,
-0.03392649441957474,
0.07103874534368515,
0.017997702583670616,
-0.01031709648668766,
-0.04679768905043602,
-0.002979782409965992,
0.011095226742327213,
-0.016862547025084496,
0.010756511241197586,
-0.02314251847565174,
0.022501705214381218,
-0.03143647685647011,
-0.01421690359711647,
-0.05240022763609886,
0.0005152254598215222,
-0.036636218428611755,
-0.010902982205152512,
0.0261634960770607,
0.0468343049287796,
0.00821614358574152,
-0.037789683789014816,
0.02643813006579876,
0.11043961346149445,
0.02114684320986271,
0.07001344114542007,
-0.00920482724905014,
0.01865682564675808,
-0.008133753202855587,
0.029477417469024658,
0.03194912523031235,
0.05598878487944603,
0.022703103721141815,
0.024900179356336594,
0.007959818467497826,
-0.010289632715284824,
-0.05646481737494469,
-0.003922693431377411,
-0.01322821993380785,
-0.022501705214381218,
0.048884909600019455,
0.04731034114956856,
0.04097544029355049,
-0.013429618440568447,
-0.02618180587887764,
-0.03092382475733757,
-0.009841063059866428,
-0.017164645716547966,
0.0007169099990278482,
-0.004252254962921143,
-0.04460061341524124,
0.043062660843133926,
-0.02563253603875637,
0.02951403521001339,
0.03376171365380287,
0.017210418358445168,
0.00819325726479292,
-0.028763368725776672,
-0.012486707419157028,
0.05261993780732155,
-0.011241698637604713,
-0.04511326551437378,
-0.03713056072592735,
0.013676789589226246,
0.01638651452958584,
-0.004320913460105658,
0.010262168943881989,
0.04181765392422676,
-0.03643482178449631,
0.0318392738699913,
0.06386163830757141,
0.03059426322579384,
-0.045259736478328705,
0.043502077460289,
-0.03156463801860809,
-0.0033734249882400036,
-0.006920785177499056,
-0.04320913180708885,
-0.033267371356487274,
-0.04961726814508438,
-0.04939756169915199,
-0.03068580850958824,
0.031106913462281227,
0.009712900966405869,
-0.011525487527251244,
0.020982062444090843,
0.024698780849575996,
0.0019533366430550814,
-0.05770982429385185,
-0.0309604424983263,
0.04438090696930885,
0.0030896360985934734,
-0.011653649620711803,
-0.04112191125750542,
-0.03863189369440079,
-0.006069418508559465,
0.012834577821195126,
-0.034347597509622574,
-0.07982704043388367,
0.002068911911919713,
0.03573907911777496,
-0.03546444699168205,
0.00917278602719307,
0.013621862046420574,
-0.0042911614291369915,
-0.02504665032029152,
0.01700901985168457,
0.026547985151410103,
-0.026621220633387566,
-0.010069925338029861,
-0.01722872629761696,
0.016056952998042107,
0.04401472583413124,
-0.0030987905338406563,
-0.0077446880750358105,
-0.013273992575705051,
0.03793615475296974,
0.06873181462287903,
0.022758031263947487,
0.0075753298588097095,
0.04225706681609154,
0.0013125231489539146,
0.003941002767533064,
0.0948403850197792,
-0.012907813303172588,
0.03700239956378937,
0.03648974746465683,
-0.047237101942300797,
-0.03513488546013832,
0.027426814660429955,
-0.04654136300086975,
-0.08195088058710098,
0.01045441348105669,
-0.029880214482545853,
0.01186420302838087,
-0.019004695117473602,
-0.039437487721443176,
0.02424105629324913,
0.04295280948281288,
0.0026616642717272043,
0.006513410713523626,
-0.010536803863942623,
-0.002391607267782092,
-0.0022989180870354176,
0.0065774922259151936,
0.04763989895582199,
0.02422274649143219,
0.03090551495552063,
0.006861280649900436,
-0.007836232893168926,
-0.03740519657731056,
-0.027170488610863686,
0.033230751752853394,
-0.12413471192121506,
-0.021586257964372635,
-0.047786373645067215,
0.037753064185380936,
0.04320913180708885,
0.027664830908179283,
-0.0029752051923424006,
0.0009938329458236694,
0.019718743860721588,
-0.03319413587450981,
-0.01951734535396099,
-0.012083910405635834,
-0.049141235649585724,
0.019315946847200394,
0.02733526937663555,
0.1101466715335846,
-0.08473384380340576,
-0.014601391740143299,
-0.03143647685647011,
-0.011067762970924377,
-0.00809255801141262,
0.004396437667310238,
0.004249966237694025,
-0.05240022763609886,
-0.011250852607190609,
0.038851603865623474,
0.010042461566627026,
-0.02592547982931137,
-0.08619856089353561,
-0.019883524626493454,
-0.0013880475889891386,
0.001790844602510333,
0.0703430026769638,
0.04709063097834587,
0.002325237262994051,
0.03500672057271004,
0.011232543736696243,
0.01337469182908535,
-0.06697415560483932,
0.032681483775377274,
-0.02310590073466301,
-0.0029477416537702084,
-0.036361582577228546,
-0.02590717189013958,
-0.027628213167190552,
0.048848289996385574,
-0.01045441348105669,
-0.019700435921549797,
-0.014381684362888336,
-0.011836739256978035,
0.0015139216557145119,
0.037716448307037354,
0.010674120858311653,
-0.028214098885655403,
0.027481742203235626,
0.0652531161904335,
-0.012157145887613297,
-0.05430436134338379,
-0.08934769779443741,
0.036306656897068024,
0.00047631890629418194,
-0.0025380789302289486,
-0.03976704925298691,
-0.010253014974296093,
-0.0023595665115863085,
-0.030850589275360107,
-0.07356537878513336,
0.02369178831577301,
0.016075262799859047,
-0.01016146969050169,
-0.0186659786850214,
-0.006316589657217264,
0.007355622481554747,
-0.018839914351701736,
0.015782319009304047,
-0.04364854842424393,
-0.018006857484579086,
-0.03031962923705578,
-0.007717224303632975,
-0.02706063538789749,
0.0031834696419537067,
0.022648178040981293,
-0.0009692303137853742,
0.05708732083439827,
-0.007904890924692154,
-0.0010848055826500058,
-0.0309604424983263,
-0.014473228715360165,
0.04493017494678497,
-0.07762996852397919,
0.03760659322142601,
-0.0057810526341199875,
0.06964726746082306,
0.08143822848796844,
-0.04090220481157303,
0.049470797181129456,
0.029953449964523315,
0.024131203070282936,
0.0887618139386177,
0.03559260815382004,
0.04225706681609154,
0.02008492313325405,
-0.018327264115214348,
-0.007552444003522396,
-0.002428225241601467,
0.06539958715438843,
-0.0658390000462532,
0.028250716626644135,
-0.0361601859331131,
-0.04577238857746124,
0.0034260631073266268,
-0.0009274629992432892,
-0.03200405463576317,
-0.049177851527929306,
0.0001564843551022932,
-0.010747356340289116,
0.028287336230278015,
-0.012724723666906357,
0.0009228857816196978,
0.026895854622125626,
-0.010051616467535496,
0.021018680185079575,
0.023746713995933533,
-0.06118852645158768,
0.032718103379011154,
0.00382428290322423,
-0.07059933245182037,
-0.022611558437347412,
0.011974056251347065,
-0.024643853306770325,
0.028909839689731598,
0.017118873074650764,
-0.038558658212423325,
0.0217510387301445,
0.05240022763609886,
0.034146200865507126,
-0.08590561896562576,
-0.026822619140148163,
-0.01838218979537487,
-0.0009228857816196978,
-0.03035624697804451,
-0.008188679814338684,
0.03599540516734123,
0.06756004691123962,
-0.03280964866280556,
0.04093882441520691,
0.03819248080253601,
-0.004304892849177122,
0.01730196177959442,
0.029422489926218987,
0.010243860073387623,
-0.007424280978739262,
-0.046065330505371094,
0.016532985493540764,
-0.0005014936905354261,
-0.043575312942266464,
-0.0678163692355156,
0.04577238857746124,
-0.06635165214538574,
-0.05064256861805916,
0.02566915564239025,
-0.07653143256902695,
-0.046358272433280945,
0.027994392439723015,
0.009076664224267006,
0.036654528230428696,
-0.012450089678168297,
0.00215359078720212,
-0.02479032427072525,
-0.00376249011605978,
-0.026291659101843834,
0.05628172680735588,
0.0407557338476181,
-0.023581933230161667,
0.03753335773944855,
-0.005405718926340342,
-0.072503462433815,
-0.029001384973526,
-0.059504102915525436,
0.021513022482395172,
0.029733743518590927,
-0.04873843863606453,
0.014793635345995426,
0.017759686335921288,
0.057526737451553345,
0.003380290698260069,
0.06177441403269768,
0.013310610316693783,
-0.022373542189598083,
0.08356206864118576,
-0.004547486547380686,
-0.0220439825206995,
0.0550733357667923,
0.10597223043441772,
-0.003499299054965377,
-0.03156463801860809,
-0.0038792097475379705,
0.0072274599224328995,
0.0008925615693442523,
0.071331687271595,
0.03789953514933586,
-0.05203405022621155,
-0.034695468842983246,
-0.07297949492931366,
0.0036205959040671587,
0.050825659185647964,
-0.019920142367482185,
0.030850589275360107,
-0.04240353778004646,
-0.00807882659137249,
0.020213086158037186,
0.04236692190170288,
-0.016862547025084496,
-0.02587055414915085,
0.003206355730071664,
0.014399993233382702,
-0.040536027401685715,
0.020176468417048454,
-0.057783059775829315,
-0.022758031263947487,
0.01698155514895916,
0.0032795914448797703,
0.07199081033468246,
0.02922109141945839,
-0.02702401764690876,
-0.009676282294094563,
-0.04547944292426109,
0.045003410428762436,
-0.027481742203235626,
-0.028360571712255478,
-0.037753064185380936,
0.039107926189899445,
-0.03612356632947922,
0.05346214771270752,
-0.03033793903887272,
-0.0480060800909996,
-0.02977036125957966,
0.054780393838882446,
-0.010106543079018593,
0.01463800948113203,
-0.046358272433280945,
-0.008545705117285252,
0.050789039582014084,
0.05602540075778961,
-0.014592236839234829,
0.02587055414915085,
0.006032800767570734,
-0.03648974746465683,
0.020432794466614723,
0.035519372671842575,
-0.05620849132537842,
-0.007877428084611893,
-0.043502077460289,
-0.03222376108169556,
0.0029454531613737345,
0.0049708811566233635,
0.0004602985573001206,
0.012331081554293633,
-0.037972770631313324,
-0.0011157019762322307,
-0.021549640223383904,
-0.028232408687472343,
-0.03586724400520325,
0.017640678212046623,
-0.0031491401605308056,
0.03138154745101929,
0.025138195604085922,
0.03764321282505989,
0.07283302396535873,
-0.04826240614056587,
-0.031656183302402496,
0.02288619428873062,
-0.030978752300143242,
-0.04928770661354065,
-0.038558658212423325,
-0.0077996146865189075,
-0.059723809361457825,
-0.009159054607152939,
-0.014537310227751732,
0.010106543079018593,
0.0015711372252553701,
0.0186659786850214,
-0.04229368641972542,
-0.026877546682953835,
0.017906157299876213,
0.0067834677174687386,
0.08978711813688278,
0.038046009838581085,
0.00006815794768044725,
0.01946241967380047,
0.009401648305356503,
-0.05679437890648842,
-0.006582069210708141,
0.051924195140600204,
0.030521027743816376,
0.019041312858462334,
0.041890889406204224,
0.06635165214538574,
-0.02759159542620182,
-0.04540620744228363,
-0.0038288601208478212,
0.05452406778931618,
-0.001527653425000608,
-0.028616895899176598,
0.006389825139194727,
0.027719758450984955,
0.011845894157886505,
0.0009846785105764866,
-0.03658129274845123,
-0.03965719789266586,
0.01811671070754528,
0.014390838332474232,
0.021531330421566963,
0.07008668035268784,
-0.025504374876618385,
0.042513392865657806,
-0.034109581261873245,
-0.005813093390315771,
-0.042733099311590195,
0.02230030670762062,
0.016651993617415428,
0.03760659322142601,
-0.0960121601819992,
0.02028632164001465,
-0.07136830687522888,
0.0008954223012551665,
-0.040865588933229446,
-0.014226057566702366,
-0.10604546964168549,
0.025138195604085922,
0.028781676664948463,
-0.0484088771045208,
0.029642198234796524,
0.06983035057783127,
0.006225044839084148,
0.013383845798671246,
0.03623342141509056,
-0.0005893195047974586,
0.022611558437347412,
0.008120021782815456,
0.02676769159734249,
-0.0014052123297005892,
0.0016661148983985186,
-0.05573245882987976,
0.06759665906429291,
0.019315946847200394,
-0.024405837059020996,
-0.017173798754811287,
-0.01812586560845375,
-0.02283126674592495,
-0.004659628961235285,
-0.07902144640684128,
-0.041597943753004074,
0.023874877020716667,
0.02343546226620674,
0.03376171365380287,
-0.0030987905338406563,
0.031344931572675705,
-0.037716448307037354,
0.02566915564239025,
-0.056684523820877075,
-0.032699793577194214,
0.03345046192407608,
-0.04185426980257034,
0.020432794466614723,
-0.022501705214381218,
0.002695993520319462,
-0.025833934545516968,
-0.01491264346987009,
-0.05371847376227379,
-0.04983697459101677,
0.034695468842983246,
-0.022208761423826218,
-0.04434428736567497,
0.011763503775000572,
-0.009584737941622734,
0.02676769159734249,
0.004915954545140266,
-0.006106036249548197,
-0.015388676896691322,
0.010884673334658146,
0.03518981114029884,
0.011250852607190609,
0.002620469080284238,
-0.03793615475296974,
-0.02894645743072033,
-0.013100056909024715,
0.0014097895473241806,
0.009657973423600197,
-0.02532128430902958,
-0.05730702728033066,
-0.028799986466765404,
-0.03546444699168205,
0.0022302595898509026,
-0.04939756169915199,
-0.026108570396900177,
0.07982704043388367,
-0.01238600816577673,
0.0004076603217981756,
-0.00010270179336657748,
-0.020762354135513306,
-0.006312012206763029,
0.019370874390006065,
0.07433435320854187,
0.03965719789266586,
0.0034489494282752275,
0.0029683392494916916,
-0.025486065074801445,
-0.002650221111252904,
-0.02114684320986271,
-0.03339553251862526,
-0.005094466730952263,
-0.006229621823877096,
-0.011177617125213146,
0.04987359419465065,
0.036892544478178024,
-0.01588301919400692,
-0.012477552518248558,
0.01638651452958584,
0.05910130590200424,
0.057270411401987076,
-0.05181434378027916,
0.009667128324508667,
0.006952825468033552,
-0.017970239743590355,
0.005973296705633402,
0.029330946505069733,
-0.023765023797750473,
0.04983697459101677,
-0.014903489500284195,
0.03394480422139168,
0.046065330505371094,
-0.02398473024368286,
0.05229037627577782,
-0.029697123914957047,
0.057233791798353195,
-0.01642313227057457,
-0.013997196219861507,
0.054707158356904984,
-0.052766408771276474,
0.07726378738880157,
-0.04745681211352348,
-0.06968387961387634,
0.004778637085109949,
0.06862196326255798,
0.023856569081544876,
-0.02312421053647995,
-0.006527142599225044,
-0.019608890637755394,
-0.038046009838581085,
0.06258000433444977,
-0.013804951682686806,
0.014015505090355873,
0.05412127077579498,
-0.007749265059828758,
0.013841570354998112,
0.0540846511721611,
0.0009915443370118737,
-0.01727449893951416,
-0.026383204385638237,
0.014253521338105202,
0.03877836465835571,
0.008985119871795177,
0.040828969329595566,
0.008705908432602882,
0.03427436202764511,
0.03138154745101929,
-0.0010264457669109106,
0.038046009838581085,
-0.025412829592823982,
-0.03088720701634884,
-0.018519507721066475,
0.0040668766014277935,
-0.019077930599451065,
0.054231125861406326,
0.03387156501412392,
0.019407492130994797,
-0.07275978475809097,
-0.01072904746979475,
-0.014702090993523598,
-0.042733099311590195,
0.02202567271888256,
0.030154848471283913,
-0.03280964866280556,
-0.018034320324659348,
-0.015507685020565987,
-0.0823170617222786,
0.04211059585213661,
0.05521980673074722,
-0.01463800948113203,
0.005231783725321293,
-0.01758575066924095,
-0.015425294637680054,
0.0261634960770607,
-0.008170370943844318,
-0.003842592006549239,
0.021915819495916367,
-0.03654467314481735,
0.006888744421303272,
0.02480863407254219,
-0.007579907309263945,
-0.03127169609069824,
0.017466742545366287,
-0.059723809361457825,
0.006636996287852526,
-0.0829029455780983,
0.044417522847652435,
-0.022721413522958755,
0.009950917214155197,
0.0211651511490345,
0.013713407330214977,
-0.02724372409284115,
0.034347597509622574
] |
52,105 |
concurrent.futures._base
|
__get_result
| null |
def __get_result(self):
if self._exception:
try:
raise self._exception
finally:
# Break a reference cycle with the exception in self._exception
self = None
else:
return self._result
|
(self)
|
[
0.028725121170282364,
-0.05783047527074814,
-0.00787693914026022,
0.09008142352104187,
0.003607923397794366,
-0.05516882240772247,
0.002022165572270751,
-0.026460986584424973,
0.08123228698968887,
-0.0124786626547575,
0.025372127071022987,
0.025233861058950424,
-0.013368761166930199,
-0.019530316814780235,
-0.021535199135541916,
0.053094808012247086,
-0.060630399733781815,
0.014699587598443031,
-0.00361008383333683,
0.014466260559856892,
-0.03619157895445824,
-0.02606346644461155,
0.03435952961444855,
-0.006852894090116024,
-0.0009451895602978766,
0.01660940982401371,
0.046146854758262634,
-0.04421110451221466,
0.07459543645381927,
0.01653163507580757,
-0.02623630128800869,
-0.007120788097381592,
-0.04500614479184151,
0.021915433928370476,
0.03275216743350029,
0.03458421677350998,
-0.034860748797655106,
0.013999607414007187,
0.021310513839125633,
0.024041300639510155,
-0.052023231983184814,
-0.04531724750995636,
0.027964647859334946,
0.005064055323600769,
0.003011643886566162,
-0.033201538026332855,
-0.003158553270623088,
0.008706546388566494,
-0.02891523763537407,
-0.019322915002703667,
0.0770842581987381,
0.048186302185058594,
-0.025648662820458412,
-0.01589214615523815,
0.022053701803088188,
0.010396004654467106,
-0.004614685196429491,
0.03691748157143593,
-0.04161858558654785,
-0.014042816124856472,
-0.0006276058265939355,
0.001223885454237461,
-0.009687382727861404,
0.03643354773521423,
0.011666339822113514,
0.014984765090048313,
0.017067423090338707,
0.031144805252552032,
0.005617126356810331,
0.07141528278589249,
0.02734244242310524,
0.016514351591467857,
-0.03767795488238335,
0.0020750961266458035,
0.0282757505774498,
-0.04625055566430092,
-0.0032579333055764437,
-0.029243623837828636,
0.011899665929377079,
0.0156761035323143,
-0.012409528717398643,
0.07418063282966614,
-0.025199294090270996,
-0.028846103698015213,
0.025614095851778984,
-0.004042170476168394,
-0.005245531909167767,
-0.018977245315909386,
-0.05050228536128998,
0.0072979433462023735,
-0.005712185520678759,
0.006161555647850037,
-0.04331236705183983,
0.010205886326730251,
0.01681681163609028,
0.002480177441611886,
-0.0039060632698237896,
-0.05233433470129967,
-0.001572795445099473,
-0.035154569894075394,
0.00990342628210783,
0.10577481240034103,
0.057899609208106995,
0.016367442905902863,
0.06840796023607254,
0.01115647703409195,
0.03251019865274429,
-0.028102915734052658,
0.055860161781311035,
0.0317842923104763,
-0.027653545141220093,
0.01381813082844019,
-0.05516882240772247,
0.047080159187316895,
-0.019703151658177376,
-0.08648646622896194,
-0.0357767753303051,
0.029018938541412354,
0.010568839497864246,
0.04234449192881584,
0.01785382069647312,
-0.012807047925889492,
-0.046492524445056915,
0.016972362995147705,
-0.011718190275132656,
0.06581544131040573,
-0.007526949513703585,
-0.023436380550265312,
0.043381500989198685,
0.023228978738188744,
0.018579725176095963,
-0.002769675338640809,
-0.032648466527462006,
-0.01823405735194683,
-0.04023590683937073,
0.07473370432853699,
-0.019132796674966812,
0.03671007975935936,
-0.04016677290201187,
-0.0034804579336196184,
0.02181173302233219,
0.000648670073132962,
0.0239721667021513,
0.015995847061276436,
0.045939452946186066,
0.005893661640584469,
0.013325552456080914,
0.03150775656104088,
0.0022425297647714615,
-0.0368829146027565,
0.04400370270013809,
-0.04663079231977463,
0.0421716570854187,
-0.024421537294983864,
-0.03263118490576744,
0.01776740327477455,
0.018043939024209976,
-0.018597008660435677,
-0.048531971871852875,
-0.055479925125837326,
0.006852894090116024,
-0.090980164706707,
0.0357767753303051,
-0.023799331858754158,
0.032095395028591156,
-0.006252293940633535,
0.04628512263298035,
0.005198002327233553,
-0.015105749480426311,
-0.023712914437055588,
-0.06965237110853195,
0.02734244242310524,
-0.0770842581987381,
0.03923346847295761,
-0.04310496523976326,
0.07839780300855637,
-0.011752757243812084,
0.05599842965602875,
-0.0026832581497728825,
0.020342638716101646,
-0.005081338807940483,
-0.05955882370471954,
-0.01333419419825077,
0.018890827894210815,
0.029883112758398056,
-0.003028927370905876,
0.057692207396030426,
0.0038131645414978266,
0.05700087174773216,
0.004714065231382847,
-0.022969726473093033,
-0.0017240257002413273,
0.03041890077292919,
0.004502343013882637,
0.03171515837311745,
0.017101990059018135,
-0.030781852081418037,
0.0457320511341095,
-0.0033227463718503714,
0.041722286492586136,
-0.032648466527462006,
-0.0349126011133194,
0.01109598483890295,
0.036779213696718216,
-0.028655987232923508,
-0.012435453943908215,
-0.021950000897049904,
0.04251732677221298,
-0.01864885911345482,
0.03327067196369171,
-0.04390000179409981,
0.004158833995461464,
-0.03164602443575859,
0.048877641558647156,
0.04365803301334381,
-0.05506512150168419,
0.006161555647850037,
-0.0532330758869648,
0.032907720655202866,
0.05582559481263161,
-0.02056732401251793,
-0.08392851054668427,
0.04701102897524834,
-0.007950394414365292,
-0.02938189171254635,
-0.005742431618273258,
-0.046319689601659775,
-0.04587031900882721,
0.007388681638985872,
-0.043001264333724976,
0.013230493292212486,
-0.00609242171049118,
-0.017050139605998993,
-0.062082208693027496,
0.021396931260824203,
0.01147622149437666,
-0.012893465347588062,
0.051262758672237396,
-0.024801773950457573,
0.024421537294983864,
0.010836733505129814,
-0.0016667742747813463,
0.013178642839193344,
0.018320472911000252,
-0.020809292793273926,
-0.026858506724238396,
0.05700087174773216,
0.059178587049245834,
-0.014319351874291897,
-0.04625055566430092,
0.0660228431224823,
0.007427569478750229,
0.025285709649324417,
-0.027463426813483238,
0.011286103166639805,
-0.08614079654216766,
0.020947560667991638,
-0.029744844883680344,
0.058971185237169266,
0.032475631684064865,
0.05886748433113098,
-0.016410650685429573,
0.06353402137756348,
0.02227838709950447,
-0.09042709320783615,
-0.007980640046298504,
-0.029623860493302345,
-0.0028733762446790934,
0.04918874427676201,
0.05966252461075783,
0.05599842965602875,
-0.009747874923050404,
-0.0217598844319582,
-0.005154793616384268,
-0.07971134781837463,
0.01928834803402424,
-0.00229437998495996,
0.04939614608883858,
-0.07307449728250504,
0.03143862262368202,
-0.022641340270638466,
0.0604921318590641,
0.0000823665177449584,
-0.023436380550265312,
-0.02265862375497818,
0.018683426082134247,
0.05599842965602875,
-0.05997362732887268,
-0.0026054824702441692,
0.009713307954370975,
0.00034972012508660555,
-0.01505389902740717,
0.02181173302233219,
-0.049085043370723724,
0.018579725176095963,
-0.023159844800829887,
-0.06920299679040909,
-0.016687186434864998,
0.0296929944306612,
0.047425828874111176,
-0.02602889947593212,
-0.009799725376069546,
-0.00023926797439344227,
0.04714929312467575,
-0.026080749928951263,
-0.01771555282175541,
0.073765829205513,
0.032562050968408585,
-0.015658820047974586,
0.03365090861916542,
-0.010128110647201538,
0.027739962562918663,
0.038784097880125046,
-0.005452933255583048,
0.017577284947037697,
-0.025735080242156982,
0.09008142352104187,
0.046492524445056915,
0.0007615527138113976,
0.050329454243183136,
-0.000980296521447599,
-0.0034221261739730835,
0.059178587049245834,
-0.0031002217438071966,
0.02832760103046894,
0.023056143894791603,
-0.06585000455379486,
0.04842827096581459,
-0.019772285595536232,
0.028102915734052658,
-0.03892236575484276,
-0.07342015951871872,
-0.04345063492655754,
0.016324233263731003,
0.0003054312546737492,
-0.023056143894791603,
0.056067563593387604,
-0.043761733919382095,
0.032354649156332016,
-0.037332285195589066,
0.016047697514295578,
-0.019668584689497948,
-0.012253977358341217,
-0.04500614479184151,
0.022641340270638466,
-0.00996391847729683,
0.008702225051820278,
-0.003486939240247011,
0.00517639797180891,
-0.08012614399194717,
-0.05617126449942589,
0.02414500154554844,
-0.03906063362956047,
0.017750119790434837,
-0.0156761035323143,
-0.025648662820458412,
-0.04846283793449402,
-0.0008231250685639679,
0.03508543595671654,
0.00941084697842598,
0.029623860493302345,
-0.012582363560795784,
-0.048912208527326584,
0.016851378604769707,
-0.06882276386022568,
-0.02960657700896263,
-0.08330630511045456,
0.024214135482907295,
-0.019841419532895088,
-0.041722286492586136,
-0.0615982711315155,
-0.016332875937223434,
-0.009082461707293987,
-0.03940630331635475,
0.04787519946694374,
0.0015900788130238652,
-0.02099941112101078,
0.032095395028591156,
0.005569596774876118,
0.00016756860713940114,
0.021621616557240486,
-0.0024844983126968145,
-0.06090693548321724,
-0.042828429490327835,
0.05745024234056473,
-0.004683819133788347,
0.016747677698731422,
-0.019236497581005096,
-0.006044892128556967,
0.029139922931790352,
-0.04334693402051926,
-0.03626071289181709,
0.003996801562607288,
-0.02108582854270935,
-0.009799725376069546,
0.026651104912161827,
0.03173244372010231,
-0.017819253727793694,
-0.05205779895186424,
-0.017024213448166847,
-0.04279386252164841,
0.054408349096775055,
-0.013999607414007187,
0.03112752176821232,
-0.022503072395920753,
-0.032942287623882294,
-0.008512106724083424,
-0.03278673440217972,
-0.0012336074141785502,
-0.07494110614061356,
-0.09450598806142807,
-0.06882276386022568,
-0.009272579103708267,
-0.01920193061232567,
-0.02210555225610733,
0.03487803414463997,
0.017283465713262558,
0.03164602443575859,
0.042102523148059845,
0.047633230686187744,
-0.04718386009335518,
0.016082264482975006,
-0.018769843503832817,
-0.030868269503116608,
-0.08821480721235275,
-0.0027545522898435593,
-0.025631379336118698,
0.0005978998960927129,
-0.06965237110853195,
0.003478297498077154,
0.0006907985080033541,
-0.03321881964802742,
0.04224079102277756,
-0.0014356079045683146,
-0.0004210144397802651,
-0.04621598869562149,
-0.03671007975935936,
-0.009877501055598259,
0.008166437968611717,
0.03632984682917595,
0.030176931992173195,
0.05026032030582428,
-0.004709744360297918,
0.025268426164984703,
0.02896708808839321,
-0.04237905889749527,
-0.004137229640036821,
0.04970724880695343,
-0.04417653754353523,
-0.025458544492721558,
0.028293034061789513,
0.00973059143871069,
0.03608787804841995,
-0.029589293524622917,
-0.026823939755558968,
0.03057445026934147,
-0.06999803334474564,
-0.0432778000831604,
0.006502903997898102,
0.04497157782316208,
-0.006321427412331104,
0.012400886975228786,
0.0047615948133170605,
-0.002802081871777773,
-0.04400370270013809,
-0.045040711760520935,
0.038818664848804474,
-0.00018917293346021324,
-0.046838194131851196,
-0.01218484342098236,
0.009402205236256123,
-0.049776382744312286,
-0.05233433470129967,
-0.05333677679300308,
-0.020584607496857643,
-0.011631772853434086,
-0.011623131111264229,
0.009402205236256123,
0.0615982711315155,
-0.058625515550374985,
-0.02376476489007473,
-0.02614988386631012,
0.040443308651447296,
-0.020204370841383934,
-0.03868039697408676,
0.0002819365472532809,
0.04735669493675232,
-0.053129374980926514,
0.04151488468050957,
-0.011337953619658947,
-0.01750815100967884,
0.03650268167257309,
0.004366235341876745,
0.03764338791370392,
-0.019063662737607956,
-0.01771555282175541,
-0.04234449192881584,
-0.01422429271042347,
-0.005193681456148624,
-0.02547582797706127,
0.040305040776729584,
-0.035240985453128815,
-0.006943632382899523,
-0.036640945822000504,
0.042655594646930695,
-0.017871104180812836,
0.0016613731859251857,
0.010508347302675247,
0.059178587049245834,
-0.026858506724238396,
-0.04040874168276787,
0.05523795634508133,
-0.010758957825601101,
0.01422429271042347,
-0.0282757505774498,
-0.014431693591177464,
-0.03496444970369339,
-0.01870070956647396,
-0.001805041916668415,
0.06557346880435944,
0.048704806715250015,
0.0788126066327095,
-0.026288151741027832,
0.01580572873353958,
-0.050156619399785995,
0.00722016766667366,
-0.032475631684064865,
-0.02070559188723564,
-0.00389094022102654,
0.0023807974066585302,
-0.02858685329556465,
-0.05333677679300308,
-0.03629527986049652,
-0.031144805252552032,
0.022987009957432747,
-0.010076260194182396,
-0.06083780154585838,
0.01207250077277422,
-0.07355842739343643,
-0.05160842835903168,
0.011795965023338795,
0.03333980590105057,
-0.004070256371051073,
0.007138071581721306,
0.04721842706203461,
-0.04552464932203293,
-0.026340002194046974,
0.059178587049245834,
-0.049638114869594574,
-0.006247973069548607,
0.027100473642349243,
0.01776740327477455,
0.04607772082090378,
-0.002735108369961381,
0.03570764139294624,
0.031144805252552032,
0.016592126339673996,
0.05333677679300308,
0.03570764139294624,
0.002214444102719426,
0.03344350680708885,
0.0025255463551729918,
-0.03389287739992142,
-0.03847299516201019,
-0.01100956741720438,
-0.0355348065495491,
0.029796695336699486,
0.033841025084257126,
-0.0017758761532604694,
-0.014284784905612469,
-0.033754609525203705,
-0.013178642839193344,
0.023419097065925598,
0.012176201678812504,
0.028379451483488083,
0.03071271814405918,
-0.021880866959691048,
0.009289862588047981,
0.03919890150427818,
0.012677421793341637,
0.06470929831266403,
-0.10812535881996155,
0.01864885911345482,
-0.004951713141053915,
0.006520187482237816,
-0.007578799966722727,
-0.0532330758869648,
-0.0015101428143680096,
0.009687382727861404,
-0.004614685196429491,
0.016687186434864998,
-0.04974181577563286,
-0.006714626681059599,
-0.016194608062505722,
0.09008142352104187,
0.03785078972578049,
0.0174563005566597,
-0.016004489734768867,
0.0003918485890608281,
-0.012703347019851208,
0.01873527653515339,
-0.030937403440475464,
0.02670295536518097,
-0.008084340952336788,
0.00291226408444345,
0.01694643869996071,
-0.0587637834250927,
0.04590488597750664,
0.01138980407267809,
0.026011615991592407,
0.024732640013098717,
-0.054961420595645905,
0.019755002111196518,
-0.01015403587371111,
-0.05942055583000183,
0.004951713141053915,
-0.0634303167462349,
0.02056732401251793,
-0.04714929312467575,
0.0715535506606102,
0.023626497015357018,
0.04929244518280029,
-0.02896708808839321,
0.017646418884396553,
-0.035880476236343384,
-0.008287421427667141,
0.03747055307030678,
-0.013567520305514336,
0.008097304031252861,
0.057553939521312714,
-0.036640945822000504,
0.012686063535511494,
0.06284268200397491,
-0.025527678430080414,
-0.014829213730990887,
0.05395898222923279,
0.0682351216673851,
0.03066086769104004,
0.02303886041045189,
0.0050338092260062695,
0.024248702451586723,
0.01920193061232567,
-0.04714929312467575,
0.012288544327020645,
-0.030609017238020897,
0.004385679494589567,
0.0013761959271505475,
-0.04991465061903,
0.03854212909936905,
0.0033162650652229786,
-0.03612244501709938,
0.03612244501709938,
0.014552677981555462,
-0.0571737065911293,
-0.00907381996512413,
-0.06992889940738678,
0.049465280026197433,
-0.024421537294983864,
-0.05001835152506828,
0.07902000844478607,
-0.05195409804582596,
0.011674981564283371,
-0.04362346604466438,
-0.04773693159222603,
0.03840386122465134,
-0.021708033978939056,
-0.03591504320502281,
0.025372127071022987,
0.007051654160022736,
-0.03033248335123062,
0.011813248507678509,
-0.03223366290330887,
-0.031542323529720306,
0.04898134246468544,
-0.027618978172540665,
0.002577396808192134,
-0.006870177574455738,
-0.010370079427957535,
-0.031075671315193176,
-0.01920193061232567,
0.03033248335123062,
0.05582559481263161,
-0.04739126190543175,
0.06954866647720337,
-0.03992480784654617,
0.0015436295652762055,
-0.019875986501574516,
0.00633439002558589,
0.02239937148988247,
-0.07978048175573349,
-0.02929547429084778,
-0.03088555298745632,
-0.005357874557375908,
0.01895996183156967,
-0.044660475105047226,
0.028102915734052658,
-0.017646418884396553,
-0.06163283810019493,
-0.01878712698817253,
0.04033960774540901,
0.04510984569787979,
-0.03992480784654617,
0.03176701068878174,
-0.027290591970086098,
0.03333980590105057,
0.022503072395920753,
0.015900788828730583,
0.024075867608189583,
-0.0446259081363678,
-0.011441654525697231,
0.04607772082090378,
-0.021362364292144775,
-0.011320670135319233,
0.017689626663923264,
-0.01138980407267809,
0.027826379984617233,
-0.033201538026332855,
0.0424136258661747,
-0.020774725824594498,
0.018579725176095963,
-0.02347094751894474,
-0.022693190723657608,
0.029105355963110924,
0.009894784539937973,
0.031404055655002594,
0.04590488597750664,
0.015684744343161583,
-0.027463426813483238,
-0.0014626133488491178,
0.08088661730289459,
-0.04224079102277756,
-0.03100653737783432,
0.01464773714542389,
0.029416458681225777,
0.023609213531017303,
-0.007146713323891163,
0.055687326937913895,
0.0731436237692833,
0.045593783259391785,
0.04400370270013809,
0.015218092128634453,
-0.016134114935994148,
-0.046838194131851196,
0.013593445532023907,
0.021742600947618484,
0.007267697248607874,
-0.024352403357625008,
0.004848012235015631,
-0.0025838781148195267,
-0.0435197688639164,
0.02500917576253414,
0.006170197390019894,
0.07279796153306961,
0.04846283793449402,
0.020895710214972496,
-0.049085043370723724,
-0.0009478901047259569,
0.043761733919382095,
0.05012205243110657,
0.03206082805991173,
0.0033508320339024067,
0.014604528434574604,
-0.049465280026197433,
0.07888174057006836,
-0.07127701491117477,
0.04179142042994499,
0.002894980600103736,
0.04991465061903
] |
52,106 |
pebble.pool.base_pool
|
__init__
| null |
def __init__(self, futures: list):
super().__init__()
self._futures = futures
|
(self, futures: list)
|
[
-0.01610965095460415,
-0.029810382053256035,
-0.06305702030658722,
0.033034082502126694,
-0.032573554664850235,
0.052429430186748505,
0.01018477138131857,
0.03422082960605621,
0.003932207357138395,
0.028074543923139572,
0.02098948508501053,
0.04438789188861847,
-0.021237462759017944,
0.0012000317219644785,
0.03498247638344765,
0.027720291167497635,
0.05083529278635979,
0.020050715655088425,
0.01336419116705656,
-0.012903662398457527,
-0.015631409361958504,
0.026427267119288445,
-0.01062758732587099,
-0.0007328607025556266,
-0.007917552255094051,
0.08339113742113113,
-0.022247083485126495,
-0.01918279565870762,
0.011894041672348976,
-0.005712328013032675,
-0.006518253590911627,
0.04325428232550621,
-0.04102248698472977,
0.03577954322099686,
0.051685500890016556,
-0.0033388338051736355,
-0.018757691606879234,
0.03886154294013977,
-0.039853453636169434,
0.04027855768799782,
0.03914494812488556,
-0.045663200318813324,
-0.07145281136035919,
-0.012921375222504139,
0.009361132979393005,
0.03797591105103493,
-0.015241731889545918,
0.031333670020103455,
0.033707164227962494,
-0.02063523232936859,
-0.008541923016309738,
0.0362577848136425,
-0.013071932829916477,
0.003664303570985794,
-0.01629563421010971,
0.12413021922111511,
0.05398814380168915,
0.04832009598612785,
-0.007505733519792557,
0.026356417685747147,
-0.011646064929664135,
0.01570226065814495,
0.029757244512438774,
0.007054061163216829,
0.0054422104731202126,
0.012035742402076721,
-0.04183726757764816,
0.017500093206763268,
0.017287543043494225,
0.054519522935152054,
0.05069359019398689,
0.029261291027069092,
-0.04860350117087364,
0.0021963680628687143,
0.0560782365500927,
0.005167664494365454,
-0.03363631293177605,
-0.016570180654525757,
-0.03932207450270653,
0.0003777775273192674,
-0.01240770798176527,
-0.016995282843708992,
-0.05650334060192108,
0.012230581603944302,
0.013665306381881237,
-0.047044787555933,
0.019218221306800842,
-0.07031920552253723,
-0.09288511425256729,
0.030412612482905388,
-0.11980833858251572,
0.05161464959383011,
-0.04162471741437912,
-0.007169193122535944,
-0.002807454438880086,
-0.023593243211507797,
-0.030607452616095543,
-0.06535965949296951,
-0.07095685601234436,
0.007209046743810177,
-0.026427267119288445,
0.04955998435616493,
0.025984451174736023,
-0.04562777653336525,
0.01491404790431261,
-0.056928444653749466,
-0.062065109610557556,
-0.0559365339577198,
0.008240808732807636,
-0.018757691606879234,
0.003744010580703616,
0.06220681220293045,
0.010450460948050022,
0.07786478847265244,
-0.043112579733133316,
-0.01494947262108326,
-0.01609193906188011,
-0.008732334710657597,
0.0637655258178711,
-0.01882854290306568,
0.028287095949053764,
0.048142969608306885,
-0.007461451925337315,
0.05409441888332367,
-0.007620865944772959,
0.06574933975934982,
-0.009104300290346146,
0.010388466529548168,
0.03645262494683266,
-0.04888690263032913,
0.04580490291118622,
-0.008205383084714413,
-0.01985587552189827,
0.021733416244387627,
0.039392925798892975,
-0.008984739892184734,
0.018917106091976166,
0.006549250800162554,
-0.05508632957935333,
0.038436442613601685,
-0.05076444149017334,
-0.008608345873653889,
0.030040647834539413,
0.002326998859643936,
-0.002152086468413472,
0.053102511912584305,
-0.04750531539320946,
-0.012655685655772686,
-0.025860462337732315,
-0.022193945944309235,
0.03751538321375847,
-0.0033897575922310352,
-0.001967210788279772,
0.018031474202871323,
-0.026994071900844574,
0.007452595513314009,
0.010494742542505264,
-0.016765018925070763,
0.042049821466207504,
-0.02063523232936859,
-0.03762165829539299,
0.027543164789676666,
-0.0009409842896275222,
-0.04020770639181137,
-0.04034940525889397,
0.042722903192043304,
0.00925485696643591,
-0.06404892355203629,
-0.03583268076181412,
0.07269269973039627,
-0.01996215246617794,
-0.003143994603306055,
-0.007328607141971588,
0.03377801552414894,
-0.0359920971095562,
0.02853507176041603,
0.011096972972154617,
0.016304491087794304,
-0.006823796778917313,
0.014214398339390755,
-0.04258120059967041,
-0.062348511070013046,
-0.015914812684059143,
-0.05161464959383011,
0.03349461406469345,
0.015383432619273663,
-0.007284325547516346,
0.06419062614440918,
0.04212067276239395,
0.0119294673204422,
-0.015206306241452694,
-0.025860462337732315,
0.022689899429678917,
-0.03384886682033539,
-0.0115929264575243,
-0.011716915294528008,
-0.03554927930235863,
-0.030040647834539413,
-0.014657214283943176,
-0.021733416244387627,
-0.033299773931503296,
0.002623685635626316,
0.046442557126283646,
-0.08197412639856339,
0.020050715655088425,
0.0328923836350441,
-0.037869635969400406,
0.015471995808184147,
0.001136930426582694,
0.010663012973964214,
-0.03436253219842911,
-0.015684546902775764,
-0.02651583030819893,
0.019430771470069885,
0.017287543043494225,
-0.03716113045811653,
-0.006646670401096344,
-0.06068352237343788,
0.06252563744783401,
0.016995282843708992,
0.12462617456912994,
0.03101484291255474,
-0.0200152900069952,
-0.0035071037709712982,
-0.03131595626473427,
0.06479285657405853,
0.018580565229058266,
-0.039853453636169434,
-0.009281426668167114,
-0.030093785375356674,
-0.05427154526114464,
-0.016463903710246086,
-0.03822388872504234,
-0.024053772911429405,
0.009662248194217682,
-0.023788083344697952,
0.01861599087715149,
0.035620130598545074,
-0.06911474466323853,
-0.029597830027341843,
0.04552149772644043,
0.038719844073057175,
0.01856285333633423,
-0.042722903192043304,
-0.0008059254032559693,
0.012035742402076721,
-0.005521917250007391,
0.03501790016889572,
-0.020263265818357468,
0.0207592211663723,
0.019767312332987785,
-0.03508875146508217,
-0.04559234902262688,
-0.03512417525053024,
-0.01714584045112133,
-0.08183242380619049,
-0.007527874317020178,
0.0025395506527274847,
0.030324049293994904,
-0.004680566489696503,
0.053881868720054626,
-0.04212067276239395,
-0.00579646322876215,
0.05926651135087013,
-0.0761643797159195,
-0.005783178843557835,
-0.026409555226564407,
-0.06252563744783401,
-0.04495469480752945,
0.015560558997094631,
0.13206548988819122,
-0.01807575486600399,
0.02414233610033989,
0.0025395506527274847,
-0.04506096988916397,
-0.05781407654285431,
-0.06450945883989334,
-0.03485848754644394,
-0.09458553045988083,
0.018934817984700203,
0.07046090811491013,
-0.03507103770971298,
-0.015489708632230759,
-0.0020978415850549936,
0.03317578509449959,
-0.026126151904463768,
0.006354411598294973,
0.07067345827817917,
-0.036629751324653625,
-0.032006751745939255,
0.006000158842653036,
0.05508632957935333,
0.04112876206636429,
-0.02920815348625183,
0.053952720016241074,
-0.02137916348874569,
-0.019430771470069885,
0.06018757075071335,
-0.009750811383128166,
0.00426653353497386,
0.03131595626473427,
-0.034149982035160065,
-0.0008474393980577588,
0.0022317932453006506,
0.015020323917269707,
-0.06231308728456497,
0.033919718116521835,
0.04945370554924011,
0.0003921690513379872,
0.00608872203156352,
0.06585561484098434,
0.050729017704725266,
-0.010733863338828087,
0.0013040935155004263,
0.021414589136838913,
0.022548198699951172,
-0.01336419116705656,
-0.053102511912584305,
0.000005063844582764432,
0.010397323407232761,
-0.05498005077242851,
-0.03694858029484749,
0.026551255956292152,
0.01550742145627737,
0.0064872563816607,
0.03694858029484749,
0.0028096684254705906,
0.02003300189971924,
-0.02690550871193409,
0.048993177711963654,
-0.03237871453166008,
-0.026073014363646507,
0.006380980834364891,
0.008028256706893444,
-0.033919718116521835,
0.02995208464562893,
0.014090409502387047,
-0.007133767940104008,
0.036133795976638794,
-0.039499200880527496,
0.007027492392808199,
-0.018314875662326813,
-0.009857087396085262,
0.044742144644260406,
-0.043112579733133316,
-0.03861356899142265,
0.048142969608306885,
-0.0012542767217382789,
0.03190047666430473,
-0.040703658014535904,
0.014958329498767853,
-0.03542529046535492,
0.006159572396427393,
0.05409441888332367,
0.0532442145049572,
0.026657531037926674,
-0.025417646393179893,
-0.021414589136838913,
0.006478399969637394,
-0.046442557126283646,
0.04343140870332718,
-0.013107357546687126,
-0.01665874384343624,
-0.014240967109799385,
-0.029969796538352966,
-0.003462822176516056,
0.0227784626185894,
-0.038719844073057175,
0.009626822546124458,
-0.025311371311545372,
0.020564381033182144,
-0.010521311312913895,
-0.00964453537017107,
0.02718891203403473,
0.02527594566345215,
-0.011849760077893734,
-0.036186933517456055,
0.019129658117890358,
-0.05483835190534592,
0.003713013371452689,
0.002357996068894863,
-0.014595219865441322,
0.028694486245512962,
-0.0064606876112520695,
-0.03367174044251442,
-0.011150110512971878,
0.008745619095861912,
-0.007824561558663845,
0.08317858725786209,
0.07595182210206985,
0.0043816654942929745,
-0.06373009830713272,
-0.043289706110954285,
0.0026591108180582523,
-0.0022760750725865364,
-0.054236121475696564,
0.05636163800954819,
0.026657531037926674,
0.03886154294013977,
-0.059479065239429474,
0.03395514190196991,
0.004120404366403818,
0.05299623683094978,
0.031156543642282486,
0.022016817703843117,
0.01488747913390398,
0.0279682669788599,
-0.02538222074508667,
0.03136909380555153,
0.015454282984137535,
0.0019306783797219396,
-0.05979789048433304,
-0.0006509397062472999,
-0.054732076823711395,
-0.0525711327791214,
-0.013417328707873821,
-0.020847784355282784,
-0.03434481844305992,
0.05522802844643593,
0.021733416244387627,
0.004155829548835754,
0.042333222925662994,
-0.0057698944583535194,
0.024177761748433113,
0.0018520784797146916,
0.015126598998904228,
0.012753104791045189,
0.02329212985932827,
0.02104262262582779,
-0.0335654653608799,
-0.038719844073057175,
0.06344669312238693,
-0.04449416697025299,
-0.01293908804655075,
0.02272532507777214,
0.025807324796915054,
-0.024390313774347305,
-0.026019876822829247,
-0.034486521035432816,
0.060329269617795944,
-0.028287095949053764,
-0.016623318195343018,
0.05267740786075592,
-0.03430939465761185,
0.03903866931796074,
-0.028180819004774094,
-0.03216616436839104,
0.05345676466822624,
0.03964089974761009,
-0.03335291147232056,
-0.04849722236394882,
-0.014958329498767853,
0.015897098928689957,
-0.015525134280323982,
0.00777142308652401,
0.015861673280596733,
0.0009481800370849669,
0.011114684864878654,
-0.0039764889515936375,
-0.010919845663011074,
0.004684994928538799,
-0.02566562406718731,
0.03896782174706459,
-0.05781407654285431,
-0.014311817474663258,
0.011132397688925266,
0.06557221710681915,
-0.023947497829794884,
-0.05228773131966591,
-0.04375023394823074,
0.02701178379356861,
0.026090726256370544,
-0.008037112653255463,
-0.1008203774690628,
-0.03551385551691055,
0.02052895724773407,
0.010370753705501556,
-0.05048104003071785,
0.0028539500199258327,
-0.04183726757764816,
-0.01861599087715149,
-0.02701178379356861,
0.05940821394324303,
0.030589738860726357,
-0.03840101510286331,
-0.05629078671336174,
0.015737686306238174,
-0.05579483509063721,
0.051862627267837524,
-0.0286413487046957,
-0.0015188594115898013,
0.009679961018264294,
0.021308312192559242,
-0.00685479398816824,
0.034504234790802,
0.010361897759139538,
-0.00998107623308897,
0.055582281202077866,
0.019537048414349556,
0.006017871201038361,
0.011256386525928974,
0.018651416525244713,
-0.00539792887866497,
0.043679382652044296,
0.003336619585752487,
-0.053881868720054626,
-0.03434481844305992,
-0.03655890002846718,
-0.043395981192588806,
-0.03159936144948006,
0.04095163568854332,
-0.017641795799136162,
-0.05026848986744881,
-0.034203119575977325,
0.01119439210742712,
-0.013665306381881237,
-0.07651863247156143,
0.0006791692576371133,
0.022211657837033272,
0.013966420665383339,
0.020050715655088425,
0.04389193654060364,
0.049312006682157516,
0.02261904813349247,
-0.029456129297614098,
-0.017827777191996574,
0.0266221072524786,
0.016517041251063347,
0.016924433410167694,
0.04746989160776138,
0.013257915154099464,
-0.0691501721739769,
-0.033990565687417984,
0.0030089356005191803,
0.017243260517716408,
0.08735876530408859,
-0.0029358710162341595,
-0.021733416244387627,
-0.0026369700208306313,
-0.012531696818768978,
-0.006659954786300659,
0.06854794174432755,
0.02848193421959877,
-0.02261904813349247,
-0.045096397399902344,
-0.06231308728456497,
-0.03896782174706459,
0.046159155666828156,
0.02492169290781021,
-0.0015974591951817274,
0.025577060878276825,
0.004111547954380512,
0.016791587695479393,
-0.02222936972975731,
-0.061214905232191086,
-0.03723198175430298,
0.027224335819482803,
-0.028127681463956833,
0.004919687286019325,
0.0018941460875794291,
0.031670209020376205,
0.04031398147344589,
-0.017756927758455276,
0.005588339641690254,
-0.01985587552189827,
-0.010778144933283329,
0.014940616674721241,
0.02995208464562893,
0.0036731599830091,
-0.04073908552527428,
0.020458105951547623,
-0.011681489646434784,
0.0009548222878947854,
0.03822388872504234,
-0.013700731098651886,
0.029757244512438774,
0.02334526740014553,
-0.010255621746182442,
0.03416769206523895,
-0.06472200900316238,
0.02571876160800457,
-0.04056195914745331,
-0.05058731511235237,
-0.07828989624977112,
-0.0664578452706337,
0.02290245145559311,
-0.028623634949326515,
0.02346925623714924,
0.03569098189473152,
-0.006642241962254047,
0.014674927107989788,
0.02290245145559311,
-0.008200954645872116,
0.02672838233411312,
-0.022831600159406662,
-0.004053981974720955,
-0.03992430493235588,
-0.028977887704968452,
0.006837081164121628,
-0.010441605001688004,
-0.004479085095226765,
0.04123504087328911,
-0.03822388872504234,
-0.004479085095226765,
0.012115449644625187,
-0.03422082960605621,
-0.06450945883989334,
0.02538222074508667,
0.0023159284610301256,
0.02672838233411312,
0.028623634949326515,
-0.014391524717211723,
0.06047097221016884,
-0.05820375308394432,
-0.01554284617304802,
-0.02899560146033764,
-0.030093785375356674,
0.034433383494615555,
-0.009520547464489937,
-0.003934421576559544,
-0.00026513615739531815,
0.007744854316115379,
0.022300221025943756,
0.03638177365064621,
-0.05600738525390625,
-0.030377186834812164,
0.03631092235445976,
-0.09430212527513504,
-0.056715890765190125,
-0.02649811841547489,
0.03953462466597557,
-0.004715992137789726,
0.0033476899843662977,
-0.025984451174736023,
0.04208524525165558,
-0.006659954786300659,
0.01734953559935093,
0.026480404660105705,
0.04336055740714073,
-0.06854794174432755,
0.02734832465648651,
-0.021184323355555534,
-0.006965497974306345,
-0.02290245145559311,
-0.03197132423520088,
-0.08487899601459503,
-0.042333222925662994,
-0.044529590755701065,
0.028570497408509254,
-0.008807613514363766,
-0.040136855095624924,
0.053385913372039795,
-0.021751128137111664,
0.02368180640041828,
-0.03569098189473152,
-0.02346925623714924,
-0.018244024366140366,
-0.0030355046037584543,
0.08126562088727951,
0.01593252457678318,
-0.018368013203144073,
0.02362866885960102,
0.015808535739779472,
0.05271283537149429,
0.009609110653400421,
-0.010441605001688004,
0.011203248053789139,
-0.011415800079703331,
-0.04552149772644043,
0.0719841942191124,
0.03197132423520088,
0.03174106031656265,
0.014276392757892609,
0.02435488812625408,
0.0492057278752327,
0.03755080699920654,
-0.03701942786574364,
0.0034827489871531725,
0.05143752321600914,
0.024230899289250374,
0.013895570300519466,
0.011920610442757607,
-0.006124147213995457,
0.011654920876026154,
-0.04658425971865654,
0.07141738384962082,
-0.03044803813099861,
0.0038591427728533745,
0.02757858857512474,
-0.04006600379943848,
0.017925197258591652,
-0.006894647143781185,
-0.033990565687417984,
0.030696015805006027,
-0.02768486551940441,
0.05894768610596657,
-0.06741432845592499,
-0.12391766905784607,
0.029456129297614098,
0.024124624207615852,
0.039782602339982986,
-0.0033742589876055717,
-0.024177761748433113,
-0.007031920365989208,
-0.02881847508251667,
0.015525134280323982,
-0.024514300748705864,
0.038153037428855896,
0.021184323355555534,
0.009095443412661552,
0.061498306691646576,
0.053385913372039795,
0.005610480438917875,
-0.041766420006752014,
0.004452516324818134,
0.04842637479305267,
0.07474736124277115,
-0.0011175572872161865,
-0.005260655656456947,
0.0017856560880318284,
0.02876533567905426,
-0.026267852634191513,
0.04456501826643944,
0.028056830167770386,
0.03604523465037346,
-0.030943991616368294,
0.019714174792170525,
0.025063393637537956,
0.012230581603944302,
0.0019262501737102866,
0.05940821394324303,
0.004724848084151745,
-0.028960175812244415,
-0.012921375222504139,
0.013860145583748817,
-0.08048626035451889,
0.06330499798059464,
0.04304172843694687,
-0.02566562406718731,
0.027507739141583443,
0.0015177523018792272,
-0.08891747891902924,
-0.0023491396568715572,
0.07446396350860596,
0.0017059491947293282,
-0.014276392757892609,
0.018580565229058266,
-0.03535443916916847,
0.020387254655361176,
0.015950238332152367,
-0.01277967356145382,
0.0342385433614254,
-0.02081235870718956,
0.04778871685266495,
-0.008187670260667801,
-0.007510161958634853,
-0.008497641421854496,
0.001993779791519046,
-0.06018757075071335,
-0.0607898011803627,
-0.04431704059243202,
-0.018704554066061974,
-0.0007201297557912767,
-0.016614461317658424,
0.040916211903095245,
0.031032554805278778,
0.058805983513593674,
0.011336092837154865
] |
52,107 |
concurrent.futures._base
|
__repr__
| null |
def __repr__(self):
with self._condition:
if self._state == FINISHED:
if self._exception:
return '<%s at %#x state=%s raised %s>' % (
self.__class__.__name__,
id(self),
_STATE_TO_DESCRIPTION_MAP[self._state],
self._exception.__class__.__name__)
else:
return '<%s at %#x state=%s returned %s>' % (
self.__class__.__name__,
id(self),
_STATE_TO_DESCRIPTION_MAP[self._state],
self._result.__class__.__name__)
return '<%s at %#x state=%s>' % (
self.__class__.__name__,
id(self),
_STATE_TO_DESCRIPTION_MAP[self._state])
|
(self)
|
[
0.04021194204688072,
-0.03650544956326485,
0.03008902072906494,
0.02313060685992241,
0.05112161487340927,
-0.0625208243727684,
0.0018827492604032159,
-0.008614971302449703,
0.044582802802324295,
-0.07189195603132248,
0.009143845178186893,
0.0189345795661211,
0.0014139742124825716,
-0.0077058314345777035,
-0.04031684249639511,
0.06336002796888351,
-0.03064849227666855,
-0.09077408164739609,
-0.037309687584638596,
0.020752858370542526,
-0.002349338959902525,
0.019196830689907074,
0.010892190970480442,
-0.02996663749217987,
0.042834457010030746,
-0.02230888605117798,
-0.03510677069425583,
-0.02865537814795971,
0.014222788624465466,
-0.01126808486878872,
-0.02774623967707157,
-0.04381353035569191,
-0.02633007988333702,
-0.022046633064746857,
0.00637708930298686,
0.07175208628177643,
-0.0458066463470459,
0.0037807966582477093,
0.03968743607401848,
-0.018707294017076492,
0.011731396429240704,
-0.015437887981534004,
-0.030036570504307747,
-0.0011965237790718675,
-0.03500187024474144,
-0.014222788624465466,
0.07811606675386429,
0.0022509945556521416,
0.032729022204875946,
-0.08706758916378021,
0.024284515529870987,
0.07210175693035126,
-0.01597987487912178,
0.0060929832980036736,
-0.03292134031653404,
-0.01881219446659088,
0.014607424847781658,
0.0018761929823085666,
-0.0061498042196035385,
0.011005832813680172,
-0.03916293382644653,
0.04454783722758293,
0.03563127666711807,
0.02844557724893093,
-0.0317324660718441,
0.01727365143597126,
-0.03183736652135849,
0.02174941450357437,
-0.03867339715361595,
0.02091020904481411,
0.04112108051776886,
-0.01916186325252056,
-0.04003710672259331,
0.017107557505369186,
-0.06332506239414215,
-0.0568561889231205,
-0.03643551468849182,
0.015236828476190567,
-0.00323225324973464,
-0.038813263177871704,
-0.007452321704477072,
0.022483719512820244,
-0.028148358687758446,
-0.03276399150490761,
0.014170338399708271,
-0.056226782500743866,
-0.02208160050213337,
-0.03066597506403923,
-0.09895633906126022,
-0.007351791486144066,
-0.023812461644411087,
0.033183593302965164,
-0.0314527302980423,
0.0047117904759943485,
0.01584000699222088,
0.004416757263243198,
-0.015490339137613773,
-0.026522397994995117,
0.04346386343240738,
-0.030596042051911354,
0.009082653559744358,
0.00007751452358206734,
-0.021172460168600082,
-0.013654576614499092,
-0.016827823594212532,
-0.013532192446291447,
-0.012282125651836395,
-0.013899344950914383,
0.011827555485069752,
-0.03877829760313034,
0.02633007988333702,
0.05461830645799637,
-0.018060406669974327,
-0.03461723402142525,
0.023794978857040405,
-0.021452195942401886,
-0.01679285615682602,
-0.0007883944199420512,
0.004418942611664534,
-0.02912743203341961,
0.01972133480012417,
-0.03594597801566124,
-0.02844557724893093,
0.007863182574510574,
-0.06433910131454468,
0.04874386638402939,
-0.05905910208821297,
0.00010517389455344528,
0.05650651827454567,
-0.07405990362167358,
0.017343584448099136,
-0.027868622913956642,
-0.014834709465503693,
0.018654843792319298,
0.0009670534636825323,
0.043079227209091187,
-0.008282785303890705,
0.015298021025955677,
0.008890335448086262,
0.09385117143392563,
0.0243194829672575,
-0.03668028488755226,
-0.05825486406683922,
0.04909353330731392,
0.030631007626652718,
-0.04073644429445267,
0.016600538045167923,
0.03575365990400314,
0.03463472053408623,
-0.02419709786772728,
0.05391896888613701,
-0.004847287200391293,
0.03640054911375046,
-0.0019373850664123893,
-0.013392324559390545,
0.05521274358034134,
0.004991525784134865,
-0.006936559919267893,
-0.003168875817209482,
-0.033655647188425064,
-0.04182041808962822,
-0.08049381524324417,
0.02633007988333702,
-0.018235240131616592,
0.020962659269571304,
0.03426756709814072,
0.03926783427596092,
-0.027518954128026962,
0.0011189409997314215,
0.006329009775072336,
-0.03077087551355362,
-0.029896702617406845,
-0.03309617564082146,
0.032012201845645905,
-0.08049381524324417,
0.07217168807983398,
0.010699872858822346,
0.08357090502977371,
-0.018707294017076492,
-0.058919236063957214,
0.041890352964401245,
-0.06787075847387314,
-0.09462044388055801,
0.02571815811097622,
0.013820668682456017,
-0.05790519341826439,
0.005297486204653978,
-0.019826235249638557,
0.05154121667146683,
-0.0214871633797884,
-0.046331148594617844,
-0.03972240537405014,
0.03386544808745384,
0.03772928938269615,
-0.013261198997497559,
-0.022623587399721146,
-0.05112161487340927,
-0.01773696206510067,
0.04745008796453476,
0.0006900500156916678,
-0.019406631588935852,
0.010865965858101845,
-0.018042922019958496,
0.04210015386343002,
0.02912743203341961,
0.010105435736477375,
-0.002441127086058259,
0.0008517719688825309,
0.03972240537405014,
0.0032584783621132374,
-0.06514334678649902,
-0.012824112549424171,
-0.025892993435263634,
0.0460863821208477,
0.022728487849235535,
-0.0038113927002996206,
-0.014791000634431839,
-0.0032868890557438135,
-0.02374252863228321,
0.03454730287194252,
-0.00040075351716950536,
-0.05888426676392555,
0.012789145112037659,
-0.06787075847387314,
-0.07552851736545563,
-0.005909407045692205,
-0.007107023615390062,
-0.003590664127841592,
0.005428611766546965,
0.006530069280415773,
0.0015953649999573827,
-0.012762919999659061,
-0.0034857632126659155,
-0.023340409621596336,
0.00035677169216796756,
0.06405936926603317,
-0.03979233652353287,
0.05203075334429741,
-0.01351470872759819,
0.0606326125562191,
-0.021312328055500984,
-0.00604927446693182,
0.041750483214855194,
-0.025683190673589706,
0.07175208628177643,
-0.0669616237282753,
0.04668081924319267,
0.08315129578113556,
-0.03309617564082146,
0.010306495241820812,
-0.022990738973021507,
-0.017343584448099136,
-0.046471014618873596,
-0.07755659520626068,
0.03468716889619827,
-0.07343050092458725,
0.0032235116232186556,
-0.0066568246111273766,
0.051261480897665024,
0.06682175397872925,
0.03723975270986557,
-0.003979670815169811,
-0.016722921282052994,
0.034110214561223984,
0.013007688336074352,
0.0017942392732948065,
-0.09434071183204651,
-0.04147074744105339,
0.015918683260679245,
0.03828876093029976,
0.09301196783781052,
-0.025805575773119926,
-0.07294096052646637,
0.04314916208386421,
-0.05517777428030968,
-0.022046633064746857,
-0.013567158952355385,
-0.021522128954529762,
-0.09252242743968964,
-0.04311419278383255,
0.007093910593539476,
0.0312604121863842,
0.01139921136200428,
-0.015123186632990837,
-0.01938914880156517,
0.0011025501880794764,
-0.0018084446201100945,
-0.005782651714980602,
0.04370862990617752,
-0.0016991730080917478,
0.02208160050213337,
0.03716982156038284,
0.0016707624308764935,
-0.02066544070839882,
0.07993434369564056,
-0.026172727346420288,
-0.008357089944183826,
-0.006018678657710552,
-0.01998358592391014,
0.028900146484375,
0.021941732615232468,
-0.04898863285779953,
0.0007616229122504592,
0.03313114121556282,
-0.04185538366436958,
0.022623587399721146,
0.044477902352809906,
0.07038837671279907,
-0.02327047474682331,
0.0024542396422475576,
0.02150464616715908,
0.01503576897084713,
0.05629671737551689,
0.00904768705368042,
0.04615631327033043,
0.016749147325754166,
-0.0005504555883817375,
-0.022623587399721146,
0.009729540906846523,
0.06311526149511337,
-0.019808750599622726,
0.002799537731334567,
0.013969278894364834,
0.04724028706550598,
0.015123186632990837,
-0.023200541734695435,
-0.026732198894023895,
0.03821882605552673,
-0.00046276513603515923,
0.03274650499224663,
-0.034145183861255646,
-0.04531710967421532,
0.0015778816305100918,
0.04073644429445267,
0.005756426602602005,
0.031225446611642838,
0.05367419868707657,
0.022868355736136436,
0.016854047775268555,
-0.07552851736545563,
0.047624923288822174,
-0.009274971671402454,
-0.022763455286622047,
0.0031929155811667442,
-0.0032103988341987133,
0.005249406676739454,
-0.020228354260325432,
0.012255900539457798,
0.06608744710683823,
0.017920538783073425,
-0.08343103528022766,
0.013287424109876156,
-0.009519740007817745,
0.030158955603837967,
-0.031103061512112617,
0.012544376775622368,
-0.007093910593539476,
-0.03157511353492737,
-0.005988082382827997,
0.07629778236150742,
0.07405990362167358,
0.020717890933156013,
-0.0002499587426427752,
-0.0011834112228825688,
-0.04877883195877075,
-0.02008848637342453,
-0.016373252496123314,
0.016740405932068825,
0.03563127666711807,
-0.0017876829952001572,
-0.06836029887199402,
-0.027553921565413475,
-0.016722921282052994,
-0.028830213472247124,
-0.03622571378946304,
0.011827555485069752,
-0.04056160897016525,
0.016862789168953896,
0.01572636514902115,
-0.03376054763793945,
0.028620410710573196,
-0.02244875207543373,
-0.0394776351749897,
0.0063552348874509335,
-0.033533260226249695,
0.010839740745723248,
0.019091930240392685,
0.018882129341363907,
0.009318680502474308,
0.03348081186413765,
-0.058219894766807556,
-0.022518686950206757,
0.011880005709826946,
-0.008300269022583961,
0.002036822261288762,
-0.037764258682727814,
0.053289562463760376,
-0.004550068639218807,
-0.03713485226035118,
-0.016032325103878975,
-0.01469484157860279,
0.07881540060043335,
-0.010830998420715332,
-0.01811285689473152,
0.0030464916490018368,
-0.04143578186631203,
0.030823325738310814,
0.01750967837870121,
0.02514120377600193,
-0.06423420459032059,
0.016513120383024216,
-0.03846359625458717,
-0.08769699931144714,
-0.043533794581890106,
0.012421992607414722,
-0.03797405958175659,
-0.021434713155031204,
-0.0010271528735756874,
0.027309153228998184,
0.01586623303592205,
-0.028900146484375,
0.04989777132868767,
0.07902520149946213,
-0.019126897677779198,
-0.0730108991265297,
0.039058033376932144,
-0.038953132927417755,
0.03337591141462326,
0.016626764088869095,
0.023218024522066116,
-0.03274650499224663,
0.01881219446659088,
0.005419870372861624,
0.06766095757484436,
0.026644781231880188,
-0.053744133561849594,
0.0019013254204764962,
-0.045387040823698044,
0.0016882459167391062,
0.05801009386777878,
-0.011005832813680172,
0.016521861776709557,
0.0026225177571177483,
0.025875508785247803,
0.009843183681368828,
0.01984371803700924,
-0.013934311456978321,
-0.04126094654202461,
0.033550746738910675,
0.016652988269925117,
0.051890887320041656,
-0.004794836975634098,
-0.012981463223695755,
0.009851925075054169,
-0.09105382114648819,
0.008628083392977715,
-0.020018553361296654,
-0.010865965858101845,
-0.03619074821472168,
-0.019441599026322365,
-0.012955238111317158,
0.006757354363799095,
-0.035176705569028854,
0.0345647856593132,
0.004506359808146954,
-0.04814942926168442,
0.03372557833790779,
-0.030578557401895523,
-0.05475817248225212,
-0.024057229980826378,
0.013025172054767609,
0.017116300761699677,
-0.042344920337200165,
0.005507287569344044,
-0.028602927923202515,
0.04461777210235596,
-0.012658019550144672,
0.02138226293027401,
0.025176171213388443,
-0.036120813339948654,
-0.03393537923693657,
-0.025578290224075317,
-0.022396301850676537,
-0.012771662324666977,
-0.016032325103878975,
-0.0013079807395115495,
0.061157114803791046,
0.02748398669064045,
0.05486307293176651,
-0.0020116898231208324,
0.0006310433382168412,
0.019109413027763367,
-0.024878952652215958,
-0.0005384357064031065,
0.04699552059173584,
-0.01098835002630949,
-0.052800025790929794,
-0.023305442184209824,
-0.03089326061308384,
-0.049268368631601334,
0.00161612662486732,
-0.021347295492887497,
0.02865537814795971,
0.007369275204837322,
0.013007688336074352,
-0.03629564866423607,
0.04220505431294441,
0.014843450859189034,
0.03654041513800621,
-0.023165574297308922,
0.08888587355613708,
0.01597987487912178,
-0.0107435816898942,
-0.01928424835205078,
-0.04003710672259331,
-0.043533794581890106,
0.00646013580262661,
0.012762919999659061,
-0.0056165591813623905,
-0.006215367466211319,
0.054933007806539536,
0.036610350012779236,
-0.023200541734695435,
0.03629564866423607,
-0.061856456100940704,
0.016154710203409195,
0.049163468182086945,
0.0002851988247130066,
-0.034722138196229935,
0.034844521433115005,
-0.02220398373901844,
-0.018969545140862465,
0.04947816953063011,
-0.010673647746443748,
-0.01842755824327469,
0.03958253562450409,
-0.06605248153209686,
0.04314916208386421,
-0.0902845486998558,
-0.022518686950206757,
0.028113391250371933,
0.04300929233431816,
-0.03804399073123932,
-0.006530069280415773,
-0.020018553361296654,
-0.04437300190329552,
0.05063207820057869,
0.015612723305821419,
0.007360533345490694,
-0.024843985214829445,
0.02536848932504654,
-0.02267603762447834,
0.012002389878034592,
-0.04213511943817139,
0.024826502427458763,
0.06461884081363678,
0.062450893223285675,
0.05801009386777878,
0.0033830481115728617,
0.037659358233213425,
0.004777353256940842,
0.042344920337200165,
0.03066597506403923,
-0.05136638134717941,
0.05710095539689064,
0.03386544808745384,
0.04919843375682831,
0.007194440811872482,
0.008837885223329067,
-0.02045563980937004,
0.008147289045155048,
-0.0002763204975053668,
0.053744133561849594,
0.04314916208386421,
0.029529551044106483,
0.004724903032183647,
0.031540147960186005,
0.05325459688901901,
0.050002675503492355,
0.0021985440980643034,
0.0007348513463512063,
-0.07986441254615784,
-0.016399478539824486,
-0.05877936631441116,
-0.05384903401136398,
0.020647957921028137,
-0.05835976451635361,
-0.004821062088012695,
0.033183593302965164,
-0.00018316648493055254,
-0.02008848637342453,
-0.03702995181083679,
0.017798153683543205,
0.00113205355592072,
0.08378070592880249,
-0.03269405663013458,
0.037519488483667374,
0.008601858280599117,
-0.040841344743967056,
0.041890352964401245,
0.0019537757616490126,
0.032012201845645905,
0.021906765177845955,
0.017553385347127914,
0.01098835002630949,
-0.03720478713512421,
-0.0047117904759943485,
0.027553921565413475,
-0.03814889118075371,
0.03479206934571266,
-0.012483185157179832,
-0.002983113983646035,
0.01702014170587063,
-0.01750967837870121,
-0.026155244559049606,
-0.04409326612949371,
-0.0005895201466046274,
0.03779922425746918,
-0.04807949438691139,
0.06098228320479393,
0.03199471905827522,
-0.004475763998925686,
-0.03391789644956589,
0.038708362728357315,
-0.0039884126745164394,
0.014301463961601257,
0.02935471571981907,
-0.040351808071136475,
0.03007153794169426,
-0.014301463961601257,
-0.01986120268702507,
0.112383633852005,
-0.008724242448806763,
-0.05381406471133232,
-0.05038730800151825,
0.004501989111304283,
0.029284782707691193,
0.06993380934000015,
-0.01251815166324377,
-0.019896168261766434,
0.03344584256410599,
-0.02045563980937004,
-0.08643818646669388,
-0.03218703716993332,
-0.011014575138688087,
-0.0006430632201954722,
0.027309153228998184,
-0.09119369089603424,
0.010629938915371895,
-0.031312864273786545,
0.005782651714980602,
0.029686901718378067,
-0.0019974843598902225,
-0.026959484443068504,
-0.026277629658579826,
0.021172460168600082,
-0.025053787976503372,
0.008912189863622189,
-0.025420939549803734,
0.048464130610227585,
-0.036820150911808014,
-0.020980142056941986,
-0.03678518533706665,
-0.03500187024474144,
0.054198700934648514,
0.06105221435427666,
-0.047624923288822174,
0.0410861112177372,
0.00039856808143667877,
-0.07853566855192184,
0.008540666662156582,
0.004456094931811094,
-0.022134050726890564,
0.016137227416038513,
-0.07147235423326492,
-0.010997091419994831,
-0.011128216981887817,
0.0034442401956766844,
0.015315503813326359,
-0.02374252863228321,
0.04171551764011383,
-0.015219345688819885,
-0.03369061276316643,
-0.041051145642995834,
0.037764258682727814,
0.02043815515935421,
-0.029337232932448387,
-0.03274650499224663,
-0.002349338959902525,
-0.08545911312103271,
-0.038953132927417755,
-0.01597987487912178,
-0.028830213472247124,
0.011713912710547447,
0.007893778383731842,
-0.004554439336061478,
-0.010367686860263348,
-0.08364083617925644,
0.025788092985749245,
0.0041719889268279076,
0.05231048911809921,
0.008684905245900154,
0.08063368499279022,
-0.03702995181083679,
0.036365579813718796,
0.03321855887770653,
0.04168055206537247,
-0.005223181564360857,
0.036470480263233185,
0.018759744241833687,
0.01842755824327469,
0.08846627175807953,
-0.006866625975817442,
-0.015831265598535538,
0.012981463223695755,
0.01914438046514988,
-0.008724242448806763,
-0.007163844536989927,
-0.028620410710573196,
0.026504913344979286,
-0.03640054911375046,
0.04251975566148758,
0.016652988269925117,
-0.03337591141462326,
-0.011792588979005814,
0.06493353843688965,
-0.01772822067141533,
0.008864110335707664,
0.008925302885472775,
0.0432540625333786,
-0.0029481472447514534,
0.0432540625333786,
-0.0590241365134716,
-0.004764240700751543,
0.05003764107823372,
-0.009414839558303356,
0.02222146838903427,
0.03912796452641487,
0.020298287272453308,
0.05724082142114639,
0.024232065305113792,
0.014056695625185966,
0.026609813794493675,
0.01309510599821806,
0.033882930874824524,
0.005826360546052456,
-0.01750967837870121,
0.02715180069208145,
-0.01750093512237072,
0.009318680502474308,
0.044582802802324295,
0.012229674495756626,
-0.0005452651530504227,
0.010306495241820812,
0.07419977337121964,
-0.04192531853914261,
-0.0023821203503757715,
0.04825432971119881,
0.019336698576807976,
-0.013715768232941628,
-0.025892993435263634,
-0.015577755868434906,
0.013086363673210144,
0.05038730800151825,
-0.06514334678649902,
0.05860453099012375,
-0.023287959396839142,
0.014327689073979855
] |
52,108 |
concurrent.futures._base
|
_invoke_callbacks
| null |
def _invoke_callbacks(self):
for callback in self._done_callbacks:
try:
callback(self)
except Exception:
LOGGER.exception('exception calling callback for %r', self)
|
(self)
|
[
-0.015956614166498184,
-0.01313761156052351,
-0.06832976639270782,
0.0696772113442421,
-0.05772748216986656,
0.002668300410732627,
0.0023779787588864565,
0.016284611076116562,
0.015974342823028564,
0.05247952789068222,
0.017366115003824234,
0.0465933121740818,
0.04811805486679077,
-0.0742514431476593,
-0.04581321030855179,
-0.003073864383623004,
-0.0065555088222026825,
0.05361422151327133,
0.012286592274904251,
-0.030831722542643547,
-0.05134483799338341,
0.03592010959982872,
-0.004818010609596968,
-0.06180528178811073,
0.009449861012399197,
0.02920060232281685,
0.0003327064623590559,
0.02217969298362732,
0.08758407831192017,
0.046309638768434525,
-0.058755796402692795,
0.030689885839819908,
-0.024502266198396683,
-0.008891379460692406,
0.022711580619215965,
0.014600301161408424,
0.005349897779524326,
0.022569743916392326,
-0.0002029204770224169,
0.052054017782211304,
-0.0004019626067019999,
-0.02898784726858139,
-0.004702768754214048,
0.007158314343541861,
0.00038284790934994817,
0.03829587250947952,
-0.044713977724313736,
0.07510246336460114,
0.02895238809287548,
-0.006542211398482323,
-0.04233821481466293,
-0.027977261692285538,
0.021612346172332764,
-0.008115710690617561,
0.0633300244808197,
0.07418052107095718,
-0.008984459564089775,
-0.0382249541580677,
0.0356718972325325,
-0.039536941796541214,
0.025583770126104355,
0.0020876568742096424,
0.018899722024798393,
0.03037075512111187,
0.022392448037862778,
-0.00005782887456007302,
0.058897633105516434,
0.029271520674228668,
0.016958333551883698,
0.04382750019431114,
0.04258642718195915,
0.03134588152170181,
-0.028349583968520164,
-0.06329456716775894,
0.02095635235309601,
0.024573184549808502,
-0.017463626340031624,
-0.03625697270035744,
-0.027002135291695595,
0.06740782409906387,
-0.009866505861282349,
0.0022294935770332813,
0.0004030707059428096,
0.028704173862934113,
0.02623976394534111,
-0.019130205735564232,
-0.0001731403317535296,
-0.07035093754529953,
-0.043366529047489166,
0.05673462525010109,
-0.025761066004633904,
-0.048933614045381546,
0.026558896526694298,
-0.01802210882306099,
-0.0524086095392704,
-0.007468581665307283,
-0.019023830071091652,
-0.03572508320212364,
-0.03352661803364754,
0.0028500284533947706,
-0.009263700805604458,
-0.022924335673451424,
0.0722302719950676,
-0.0414871945977211,
0.06389737129211426,
-0.0578693188726902,
-0.026523437350988388,
-0.03038848377764225,
-0.015610886737704277,
0.050671111792325974,
-0.0035281844902783632,
-0.02069040946662426,
0.03982061520218849,
0.02081451565027237,
-0.018864262849092484,
-0.053117793053388596,
0.007827605120837688,
0.036487456411123276,
-0.022481095045804977,
0.036700211465358734,
0.0007025342201814055,
-0.01670125499367714,
0.031204044818878174,
-0.01182562392205,
-0.046416014432907104,
0.015788182616233826,
0.021399591118097305,
0.06907440721988678,
0.06400375068187714,
-0.012100432068109512,
0.031079936772584915,
0.004866767209023237,
-0.023846272379159927,
-0.0236512478441,
0.013704958371818066,
0.04974917322397232,
-0.007402095943689346,
-0.05361422151327133,
-0.03886321932077408,
-0.02760494127869606,
-0.005921676754951477,
-0.03162955492734909,
0.019945766776800156,
0.015575427561998367,
0.03434217721223831,
0.09850549697875977,
-0.0006210890132933855,
0.010495905764400959,
0.0359378382563591,
-0.026807110756635666,
0.043614745140075684,
0.0010360718006268144,
0.03132815286517143,
0.04152265563607216,
-0.05361422151327133,
-0.02352713979780674,
0.0010377339785918593,
0.05538718029856682,
-0.008953433483839035,
0.0026882460806518793,
-0.020442195236682892,
-0.01679876819252968,
-0.033987585455179214,
0.008572247810661793,
-0.009964019060134888,
0.03740939497947693,
-0.008647598326206207,
0.025920631363987923,
-0.02494550496339798,
0.05400427058339119,
-0.00007819017628207803,
0.04279918223619461,
-0.004569796845316887,
0.002730353968217969,
-0.004866767209023237,
0.021754182875156403,
-0.022427907213568687,
-0.013997496105730534,
0.0051858993247151375,
-0.006967721041291952,
-0.0709891989827156,
-0.0023890596348792315,
-0.01238410547375679,
-0.050210144370794296,
-0.03336705267429352,
0.05673462525010109,
0.04269280657172203,
0.023846272379159927,
-0.035033632069826126,
-0.06684048473834991,
-0.03561870753765106,
0.0029541896656155586,
0.05120300129055977,
0.006812587380409241,
0.04283464327454567,
0.003342024050652981,
0.025335555896162987,
0.0642165020108223,
0.015637481585144997,
-0.01812848635017872,
-0.02088543400168419,
-0.030707616358995438,
0.04719611629843712,
-0.04173541069030762,
0.010221097618341446,
0.05130937695503235,
0.009591697715222836,
0.026913488283753395,
-0.017578870058059692,
-0.0465933121740818,
0.025991549715399742,
-0.009272565133869648,
-0.06325910985469818,
0.00048340781359001994,
0.01671012118458748,
-0.006901235319674015,
0.06418104469776154,
-0.054713454097509384,
0.035246387124061584,
0.03691296651959419,
-0.019077017903327942,
0.054571617394685745,
-0.01316420640796423,
-0.03957240283489227,
0.008767272345721722,
0.05130937695503235,
0.04432392492890358,
-0.04857902228832245,
0.03334932401776314,
0.022605203092098236,
-0.03166501224040985,
0.012180214747786522,
-0.0354945994913578,
-0.0010992333991453052,
-0.013784741051495075,
-0.019130205735564232,
0.02070813812315464,
-0.053224172443151474,
-0.04804713651537895,
0.018332375213503838,
0.04974917322397232,
-0.010797308757901192,
-0.016896281391382217,
-0.03313656896352768,
0.00835506059229374,
0.015610886737704277,
0.0358491912484169,
0.002169656101614237,
-0.009556238539516926,
-0.0024644103832542896,
0.046167802065610886,
0.024254051968455315,
0.02482139877974987,
-0.05499712750315666,
-0.05499712750315666,
-0.07815194875001907,
0.043543826788663864,
0.008949000388383865,
0.10609374940395355,
0.04233821481466293,
0.05698284134268761,
0.07212389260530472,
-0.00419969204813242,
0.06325910985469818,
-0.028030451387166977,
0.028615526854991913,
0.045033108443021774,
-0.027941802516579628,
0.018101891502738,
0.03271105885505676,
0.07396776974201202,
-0.03201960399746895,
-0.019963497295975685,
0.01803983747959137,
-0.05677008628845215,
0.04180632904171944,
-0.025725606828927994,
-0.027338998392224312,
-0.04818897321820259,
-0.02354487031698227,
0.11779526621103287,
-0.012853939086198807,
-0.04024612531065941,
-0.026895757764577866,
0.05116754025220871,
-0.012029513716697693,
0.056096360087394714,
-0.019023830071091652,
-0.04389841854572296,
-0.03618605434894562,
0.04375658184289932,
-0.014112737961113453,
0.032338738441467285,
-0.017516816034913063,
-0.007925118319690228,
-0.0361151359975338,
-0.04141627624630928,
0.01786254160106182,
0.012960315681993961,
-0.0021984667982906103,
-0.032480575144290924,
-0.05272774398326874,
-0.0004390839021652937,
-0.016240287572145462,
0.00025666324654594064,
-0.020318087190389633,
0.025725606828927994,
0.012880533002316952,
-0.044855814427137375,
0.020335817709565163,
0.017357248812913895,
0.0007490743300877512,
-0.0059305415488779545,
-0.015664076432585716,
0.03471449762582779,
-0.01027428638190031,
0.02772904746234417,
0.015256295911967754,
0.010522499680519104,
0.014759867452085018,
-0.02737445756793022,
0.03755123168230057,
-0.014458464458584785,
0.019945766776800156,
0.055989984422922134,
0.05481983348727226,
-0.018811075016856194,
0.034040775150060654,
-0.04446576163172722,
-0.04645147547125816,
-0.02084997482597828,
-0.07113103568553925,
0.017525680363178253,
0.024519996717572212,
0.010708660818636417,
0.0025308961048722267,
-0.005079521797597408,
0.0027946236077696085,
0.05669916793704033,
0.015291755087673664,
-0.026541167870163918,
0.0022106559481471777,
0.0009440996218472719,
0.00206106249243021,
-0.013651769608259201,
0.05783385783433914,
-0.021240025758743286,
0.036806587129831314,
-0.014183656312525272,
-0.021186836063861847,
0.01373155228793621,
-0.07045731693506241,
-0.025105072185397148,
0.04524586349725723,
-0.005943838506937027,
-0.012587995268404484,
0.02065495029091835,
-0.05216039717197418,
0.00976012833416462,
-0.03836679086089134,
0.01650623045861721,
-0.024218592792749405,
0.0020521976985037327,
0.004937685560435057,
-0.010655472055077553,
0.017277466133236885,
0.008133440278470516,
-0.00965375080704689,
-0.004574229009449482,
-0.01320852991193533,
0.036771129816770554,
0.0262043047696352,
0.014245710335671902,
0.011985189281404018,
0.013385825790464878,
-0.01317307073622942,
0.06655681133270264,
0.03421807289123535,
-0.02076132781803608,
0.016869686543941498,
0.016825363039970398,
-0.07137925177812576,
0.015938883647322655,
-0.04843718558549881,
-0.0010970172006636858,
-0.054429780691862106,
-0.05687646195292473,
0.008767272345721722,
0.005469572730362415,
0.04269280657172203,
0.04666423052549362,
-0.05648641288280487,
-0.07687541842460632,
-0.017401574179530144,
0.024271782487630844,
0.02462637424468994,
0.04173541069030762,
0.0030095945112407207,
0.01932523213326931,
-0.04315377399325371,
-0.03765760734677315,
-0.03283516317605972,
-0.008727381005883217,
0.04169994965195656,
0.08673305809497833,
0.03765760734677315,
-0.025636959820985794,
0.08496010303497314,
0.0362924300134182,
0.03769306838512421,
-0.030051622539758682,
-0.017437033355236053,
0.018491942435503006,
-0.05974865332245827,
-0.06723053008317947,
-0.0006543319905176759,
-0.05120300129055977,
0.02074359729886055,
0.012862803414463997,
0.014866244979202747,
-0.03297699987888336,
0.032462842762470245,
0.03049486130475998,
0.04155811294913292,
0.010371798649430275,
-0.039146892726421356,
-0.00519033195450902,
0.005132710561156273,
-0.013359231874346733,
-0.02198466844856739,
0.020406736060976982,
0.034944985061883926,
-0.0332961343228817,
0.003986936993896961,
-0.003461698768660426,
0.033898938447237015,
-0.028739633038640022,
0.06251446902751923,
0.02762267179787159,
0.01035406906157732,
-0.018403293564915657,
0.03581373393535614,
-0.04106168448925018,
-0.06354278326034546,
0.018988370895385742,
-0.0014449600130319595,
0.03297699987888336,
-0.01097460463643074,
-0.04038796201348305,
0.015655210241675377,
-0.09247744083404541,
0.03868592157959938,
-0.014059549197554588,
-0.03143452852964401,
0.015850236639380455,
0.0005723327049054205,
0.014174791984260082,
0.005442978348582983,
0.006520049646496773,
0.003428455675020814,
0.0008842623210512102,
-0.018775615841150284,
-0.05638003349304199,
-0.045104026794433594,
-0.010646606795489788,
0.007623715326189995,
0.03616832569241524,
0.04581321030855179,
-0.007552796974778175,
-0.011497626081109047,
0.06762058287858963,
-0.02905876561999321,
0.007867497391998768,
-0.04038796201348305,
-0.028438230976462364,
-0.023030711337924004,
0.04719611629843712,
-0.033739373087882996,
0.008820461109280586,
-0.0007280205027200282,
-0.0042683943174779415,
-0.02496323548257351,
0.02627522312104702,
-0.025636959820985794,
-0.017711840569972992,
-0.03829587250947952,
0.025353286415338516,
-0.08758407831192017,
0.025105072185397148,
-0.04318923503160477,
-0.020282628014683723,
-0.022392448037862778,
0.04233821481466293,
0.04716065898537636,
0.01934296078979969,
-0.07559888809919357,
0.00586405536159873,
-0.014919433742761612,
-0.0013851226540282369,
-0.0382249541580677,
0.03556551784276962,
0.033721644431352615,
-0.01932523213326931,
0.0006942235049791634,
-0.0181905385106802,
-0.025193719193339348,
0.04318923503160477,
-0.01458257157355547,
-0.032356467097997665,
-0.009423267096281052,
0.013394690118730068,
-0.004474500194191933,
-0.09481774270534515,
-0.06942899525165558,
-0.03471449762582779,
-0.09488866478204727,
-0.013385825790464878,
-0.019715283066034317,
0.00547400489449501,
0.0819106176495552,
0.05964227393269539,
-0.025353286415338516,
0.007207070477306843,
0.04872085899114609,
-0.00259516597725451,
-0.027994992211461067,
-0.04669968783855438,
0.03755123168230057,
-0.0387568399310112,
-0.026115657761693,
-0.012712102383375168,
-0.01632007025182247,
-0.006121134385466576,
-0.05272774398326874,
-0.015486779622733593,
-0.02746310457587242,
0.008474734611809254,
-0.026647545397281647,
-0.0471251979470253,
0.03402304649353027,
0.009822182357311249,
0.02643479034304619,
-0.0698545053601265,
-0.028473690152168274,
-0.0021208999678492546,
-0.08616571128368378,
-0.019023830071091652,
-0.054713454097509384,
0.02226833999156952,
-0.015876829624176025,
0.03301246091723442,
0.0030472700018435717,
0.03019345924258232,
0.08524377644062042,
-0.022800227627158165,
-0.018669238314032555,
-0.0008033711928874254,
-0.003324294462800026,
0.021417321637272835,
0.026931216940283775,
0.029679300263524055,
0.04868540167808533,
-0.04017520695924759,
-0.06226625293493271,
0.01316420640796423,
-0.008838190697133541,
0.033987585455179214,
0.05102570354938507,
-0.0034218071959912777,
0.012614589184522629,
-0.0032489437144249678,
0.05130937695503235,
-0.02462637424468994,
-0.06832976639270782,
0.01788027212023735,
0.004583093803375959,
0.011293736286461353,
-0.07432235777378082,
-0.013048963621258736,
-0.0829743891954422,
-0.00021330890012905002,
-0.0362924300134182,
-0.014245710335671902,
-0.038083117455244064,
-0.0090952692553401,
0.0008687489316798747,
-0.015318349003791809,
-0.002637273631989956,
-0.0005778732011094689,
0.024165404960513115,
-0.04982009157538414,
-0.022835686802864075,
-0.11630598455667496,
-0.007774416822940111,
0.02888146974146366,
0.0693226233124733,
0.03978515788912773,
0.01796891912817955,
-0.04379203915596008,
-0.022711580619215965,
0.009370078332722187,
0.021559158340096474,
0.021257754415273666,
0.00514157535508275,
0.029572924599051476,
0.029892055317759514,
-0.0496782585978508,
0.02900557778775692,
-0.013554256409406662,
0.09474682807922363,
-0.007109557744115591,
0.029626112431287766,
0.1073702797293663,
-0.0046850391663610935,
-0.0018471996299922466,
0.011338060721755028,
-0.060032326728105545,
0.03634561970829964,
0.015717264264822006,
0.10027845203876495,
0.03560097888112068,
-0.020158521831035614,
-0.023243466392159462,
0.02081451565027237,
-0.050281062722206116,
-0.035317305475473404,
-0.001745254616253078,
-0.055812686681747437,
0.007468581665307283,
0.02762267179787159,
0.00521249370649457,
0.035281844437122345,
0.02781769633293152,
-0.05134483799338341,
0.06684048473834991,
-0.009981748647987843,
0.00838608667254448,
-0.012898262590169907,
-0.029626112431287766,
-0.0906335636973381,
0.0074109602719545364,
-0.010850497521460056,
0.01098346896469593,
-0.05109662190079689,
0.05535171926021576,
0.00032079441007226706,
-0.06567032635211945,
0.00837278924882412,
0.02193147875368595,
-0.012339781038463116,
-0.010841632261872292,
0.03288835287094116,
-0.057231053709983826,
0.06506752222776413,
-0.04971371591091156,
0.002681597601622343,
0.020335817709565163,
-0.01319966558367014,
0.036487456411123276,
0.010823902674019337,
-0.0164264477789402,
0.012995774857699871,
-0.03301246091723442,
-0.010956875048577785,
0.04407571256160736,
-0.009183917194604874,
-0.009627156890928745,
0.02923606149852276,
-0.0262043047696352,
-0.018917452543973923,
0.035512328147888184,
-0.03264014050364494,
0.04662876948714256,
0.006103404797613621,
-0.015451320447027683,
0.016337798908352852,
-0.01444073487073183,
-0.00012306815187912434,
0.005957135930657387,
-0.00838608667254448,
-0.05269228294491768,
0.013926577754318714,
-0.06407466530799866,
0.039217811077833176,
0.005673462525010109,
0.016071856021881104,
0.04141627624630928,
-0.0007817632285878062,
-0.0016510662389919162,
-0.028030451387166977,
-0.013492203317582607,
-0.0007197097293101251,
0.02214423380792141,
0.019963497295975685,
-0.05407518893480301,
0.025583770126104355,
-0.029484275728464127,
-0.12474525719881058,
0.011435572989284992,
0.0019147936254739761,
0.05272774398326874,
-0.030069351196289062,
0.0011701516341418028,
0.0006842506118118763,
0.025867443531751633,
0.02331438474357128,
0.011151899583637714,
0.03061896748840809,
-0.0007324528996832669,
-0.014946027658879757,
-0.023243466392159462,
-0.01179016474634409,
0.0019236584194004536,
-0.02187829092144966,
-0.025105072185397148,
-0.050458356738090515,
0.024449078366160393,
-0.024023568257689476,
0.010788443498313427,
-0.0068258848041296005,
-0.017756164073944092,
-0.02476821094751358,
-0.014520518481731415,
-0.015672940760850906,
0.0038606140296906233,
-0.017499085515737534,
0.02737445756793022,
0.004088882356882095,
0.018421024084091187,
0.013447878882288933,
-0.005208061542361975,
-0.06744328886270523,
-0.04733795300126076,
0.030707616358995438,
-0.051805805414915085,
-0.08063408732414246,
0.04680606722831726,
0.009423267096281052,
-0.0181905385106802,
-0.02095635235309601,
-0.04925274848937988,
-0.10616467148065567,
0.009011054411530495,
0.03473223000764847,
0.03499817103147507,
-0.005425248760730028,
0.025672418996691704,
0.01368722878396511,
0.025477392598986626,
0.0070962607860565186,
-0.0039027216844260693,
0.04382750019431114,
-0.03586691990494728,
0.03694842383265495,
0.014493923634290695,
0.021559158340096474,
-0.0023646815679967403,
-0.005638003349304199,
-0.024502266198396683,
-0.045104026794433594,
-0.008527923375368118,
-0.002022279193624854,
-0.0078010112047195435,
-0.0004252326616551727,
0.10488814115524292,
0.004569796845316887,
0.03701934218406677,
0.050316520035266876
] |
52,109 |
concurrent.futures._base
|
add_done_callback
|
Attaches a callable that will be called when the future finishes.
Args:
fn: A callable that will be called with this future as its only
argument when the future completes or is cancelled. The callable
will always be called by a thread in the same process in which
it was added. If the future has already completed or been
cancelled then the callable will be called immediately. These
callables are called in the order that they were added.
|
def add_done_callback(self, fn):
"""Attaches a callable that will be called when the future finishes.
Args:
fn: A callable that will be called with this future as its only
argument when the future completes or is cancelled. The callable
will always be called by a thread in the same process in which
it was added. If the future has already completed or been
cancelled then the callable will be called immediately. These
callables are called in the order that they were added.
"""
with self._condition:
if self._state not in [CANCELLED, CANCELLED_AND_NOTIFIED, FINISHED]:
self._done_callbacks.append(fn)
return
try:
fn(self)
except Exception:
LOGGER.exception('exception calling callback for %r', self)
|
(self, fn)
|
[
-0.014715362340211868,
0.046593956649303436,
-0.04055400192737579,
0.06887802481651306,
0.0017608727794140577,
0.017538385465741158,
0.027442416176199913,
-0.001556883449666202,
0.042879946529865265,
-0.02521025761961937,
0.015409395098686218,
0.019789302721619606,
-0.0030809410382062197,
-0.06662710756063461,
0.0009126760414801538,
0.047494325786828995,
0.009716453030705452,
0.021177366375923157,
-0.03436398133635521,
0.01630976051092148,
-0.004619067069143057,
0.026523292064666748,
0.0069497027434408665,
-0.024441195651888847,
0.022490400820970535,
0.018251176923513412,
0.01920781470835209,
0.0016061222413554788,
0.030256060883402824,
0.0582612045109272,
-0.025097711011767387,
-0.009613286703824997,
-0.09273773431777954,
-0.034420255571603775,
0.02875545062124729,
0.04719420149922371,
0.02348455600440502,
0.042429763823747635,
0.0221902783960104,
0.002007066737860441,
-0.025229014456272125,
-0.018110493198037148,
-0.04310503974556923,
0.031963005661964417,
0.05240882560610771,
0.03774035722017288,
-0.036633655428886414,
0.044793225824832916,
0.03145654872059822,
0.005908654071390629,
-0.004525278694927692,
-0.03153157979249954,
0.0006670682923868299,
-0.01356176845729351,
0.01614094339311123,
0.03216933831572533,
-0.007488984614610672,
-0.0721418559551239,
0.0232407059520483,
0.017913538962602615,
-0.008258047513663769,
0.02999345399439335,
0.04025387763977051,
-0.00022318650735542178,
-0.01765093207359314,
0.0644887387752533,
-0.012708296068012714,
0.008609753102064133,
0.005960237700492144,
0.04239225015044212,
0.027217324823141098,
0.03820929676294327,
0.04419298097491264,
-0.0254916213452816,
0.06771504878997803,
-0.0031325246673077345,
-0.04693159461021423,
-0.05698568746447563,
-0.024910135194659233,
0.01973302848637104,
-0.040629032999277115,
-0.010147878900170326,
0.0957389548420906,
0.018992101773619652,
0.004476040136069059,
-0.03158785402774811,
0.013533631339669228,
-0.08208339661359787,
-0.06748995929956436,
0.038828298449516296,
-0.013299161568284035,
-0.05038300156593323,
0.026579564437270164,
-0.034101374447345734,
0.035076770931482315,
-0.05034548416733742,
0.020295757800340652,
-0.005336546339094639,
-0.014190148562192917,
-0.018738875165581703,
0.00016632744518574327,
-0.06205024570226669,
0.035001739859580994,
-0.06505146622657776,
0.055335015058517456,
-0.05154597386717796,
-0.031512822955846786,
-0.011263958178460598,
-0.026823414489626884,
0.022396612912416458,
0.0007690628990530968,
-0.019104648381471634,
0.04554353281855583,
0.057998597621917725,
0.028042661026120186,
0.008469071239233017,
-0.008258047513663769,
0.020520849153399467,
-0.010419865138828754,
0.01817614585161209,
0.005336546339094639,
0.0013048277469351888,
-0.016328519210219383,
-0.009350679814815521,
-0.08058279007673264,
0.007470226846635342,
0.0068887402303516865,
0.052108701318502426,
0.02299685776233673,
-0.02447870932519436,
-0.0005556948599405587,
0.04119176045060158,
0.02393473871052265,
-0.04914499819278717,
-0.003899242728948593,
0.007137279026210308,
0.013711828738451004,
-0.012426931411027908,
-0.02042706124484539,
0.03807799518108368,
-0.03003096953034401,
-0.03134400397539139,
0.046181291341781616,
-0.03620222955942154,
0.07052869349718094,
0.0443805567920208,
-0.09964054077863693,
0.007395196706056595,
-0.0015979157760739326,
-0.04550601541996002,
0.031231457367539406,
-0.0110107297077775,
-0.0008030611206777394,
0.04689408093690872,
-0.05747338384389877,
0.03984121233224869,
0.03273206949234009,
0.024778831750154495,
0.03284461423754692,
0.00866133626550436,
0.030012210831046104,
-0.0041079213842749596,
0.015409395098686218,
0.009050557389855385,
0.016619261354207993,
0.0457686223089695,
0.011142033152282238,
0.03897836059331894,
-0.041079215705394745,
0.05000784620642662,
-0.018457509577274323,
0.00768125057220459,
0.028624147176742554,
0.051621004939079285,
-0.005500675644725561,
0.040666546672582626,
0.02528528869152069,
0.019414149224758148,
0.01883266307413578,
0.013224130496382713,
0.03742147609591484,
-0.01354301068931818,
0.016234731301665306,
-0.02798638679087162,
-0.003223967971280217,
-0.0030574940610677004,
0.010673092678189278,
0.07229191809892654,
0.006855914369225502,
-0.021683823317289352,
-0.002261467045173049,
-0.025379076600074768,
0.03443901240825653,
-0.022377856075763702,
0.011310852132737637,
-0.056197866797447205,
0.014555922709405422,
0.04678153619170189,
0.033482372760772705,
-0.07855696231126785,
0.029637059196829796,
-0.04186703637242317,
0.03886581212282181,
-0.020989790558815002,
-0.01403070893138647,
0.04074157774448395,
-0.0352080762386322,
0.021064821630716324,
-0.04272988438606262,
0.008464381098747253,
0.03207555040717125,
-0.043892860412597656,
-0.08035769313573837,
0.04145436733961105,
0.02059588022530079,
-0.0808078795671463,
-0.03909090533852577,
0.04070406034588814,
0.02819272130727768,
0.049295056611299515,
-0.03216933831572533,
0.017819751054048538,
0.04486825689673424,
-0.022246552631258965,
0.02541659213602543,
0.035001739859580994,
0.04441807419061661,
-0.042954977601766586,
0.05454719439148903,
-0.006227533798664808,
-0.03755278140306473,
0.04967020824551582,
-0.017463356256484985,
-0.03995375707745552,
0.034701619297266006,
0.007845379412174225,
0.05499737709760666,
-0.02402852661907673,
-0.06531407684087753,
-0.005073939450085163,
0.028549116104841232,
0.0027855082880705595,
0.03950357437133789,
0.020370788872241974,
-0.0013622730039060116,
0.038790784776210785,
0.034007586538791656,
0.04456813260912895,
-0.005219310987740755,
0.013805617578327656,
-0.02864290401339531,
0.02541659213602543,
-0.0019707237370312214,
-0.04858226701617241,
-0.047044143080711365,
-0.020577123388648033,
-0.026129381731152534,
-0.04186703637242317,
0.07544319331645966,
0.06006193906068802,
0.06636450439691544,
0.05218373239040375,
0.0019355531549081206,
0.057098232209682465,
-0.020070666447281837,
-0.023503312841057777,
0.019808059558272362,
-0.045656077563762665,
0.03366994857788086,
0.019142163917422295,
0.0745803490281105,
-0.067640021443367,
0.0030434257350862026,
-0.08343394845724106,
-0.02937445230782032,
-0.03203803673386574,
-0.05150845646858215,
-0.026448260992765427,
-0.04997033253312111,
-0.0012426931643858552,
0.028248993679881096,
-0.014237042516469955,
-0.04816959798336029,
-0.004382251761853695,
-0.021908914670348167,
0.03297591581940651,
0.016900626942515373,
0.06673965603113174,
-0.015822062268853188,
-0.018607571721076965,
-0.021871399134397507,
0.00019534314924385399,
-0.006555792409926653,
0.04501831904053688,
-0.006288496311753988,
-0.01397443562746048,
0.02406604215502739,
-0.01466846838593483,
0.010401107370853424,
0.03387628495693207,
-0.017997948452830315,
-0.0014185459585860372,
-0.001989481272175908,
-0.04351770505309105,
-0.04723171889781952,
-0.05473477020859718,
0.023709647357463837,
-0.014621574431657791,
-0.0624254010617733,
0.028098933398723602,
0.02361585944890976,
-0.009819620288908482,
-0.02851160056889057,
-0.038715753704309464,
0.02279052324593067,
0.07581835240125656,
-0.02823023684322834,
-0.037158869206905365,
0.03318225219845772,
0.0029355695005506277,
-0.06557668000459671,
-0.02892426960170269,
-0.04636886715888977,
-0.0076015302911400795,
0.0040938532911241055,
-0.04100418463349342,
-0.014246421866118908,
0.04670650511980057,
-0.013890027068555355,
0.06024951487779617,
-0.044755712151527405,
-0.05083318427205086,
-0.0078031751327216625,
0.002422079211100936,
-0.041491881012916565,
-0.005106765311211348,
0.02646701969206333,
-0.02393473871052265,
0.06557668000459671,
0.026204412803053856,
-0.04002878814935684,
-0.0464814119040966,
-0.020239485427737236,
0.02067091129720211,
-0.016619261354207993,
-0.008909875527024269,
-0.05000784620642662,
0.03909090533852577,
0.048882391303777695,
-0.030331091955304146,
0.022321581840515137,
-0.04918251186609268,
-0.042054612189531326,
0.004834779538214207,
-0.011160790920257568,
0.058973994106054306,
0.013017796911299229,
-0.007268582470715046,
0.020126938819885254,
-0.05923660099506378,
-0.02361585944890976,
-0.051696036010980606,
0.014818529598414898,
-0.004194675479084253,
-0.01573765277862549,
0.07608095556497574,
-0.0025369697250425816,
0.020802214741706848,
0.02059588022530079,
0.025304045528173447,
0.05556010827422142,
0.040966667234897614,
0.04419298097491264,
0.012605128809809685,
0.03766532614827156,
-0.04355522245168686,
0.017313294112682343,
0.020108181983232498,
-0.06396352499723434,
0.0029566718731075525,
-0.018419994041323662,
-0.062200307846069336,
-0.024216102436184883,
-0.03246946260333061,
-0.02361585944890976,
-0.029074329882860184,
-0.0069450135342776775,
-0.025754228234291077,
-0.040591515600681305,
0.03147530555725098,
0.020126938819885254,
0.005631979089230299,
-0.014340209774672985,
0.02749868854880333,
0.022640462964773178,
-0.03689626231789589,
-0.0033060326240956783,
-0.03475789353251457,
0.07735647261142731,
0.008187706582248211,
-0.02361585944890976,
0.034251436591148376,
0.038753267377614975,
0.028417812660336494,
0.07938230037689209,
0.05154597386717796,
-0.041604429483413696,
-0.03059369884431362,
0.02402852661907673,
0.012042399495840073,
0.004738647025078535,
-0.05777350813150406,
0.0506456084549427,
-0.060774728655815125,
-0.08500958979129791,
0.0859849825501442,
-0.047494325786828995,
-0.029524512588977814,
-0.004351770505309105,
-0.023315737023949623,
-0.00028766586910933256,
0.02618565410375595,
-0.036783717572689056,
0.05822369083762169,
-0.020896002650260925,
-0.018419994041323662,
0.039128419011831284,
0.06621444225311279,
-0.036014653742313385,
-0.02087724395096302,
0.0033740291837602854,
0.03807799518108368,
0.05796108394861221,
0.017922917380928993,
-0.025266529992222786,
0.013120964169502258,
-0.0020176179241389036,
0.018457509577274323,
-0.002057477831840515,
0.020126938819885254,
-0.04329261556267738,
0.012501961551606655,
-0.0749179795384407,
-0.02794887125492096,
0.030087241902947426,
-0.01002595480531454,
0.03999127075076103,
-0.005936790723353624,
0.001505299936980009,
-0.016234731301665306,
-0.019507937133312225,
0.030818790197372437,
-0.052033670246601105,
0.05368434265255928,
0.009289717301726341,
-0.03198176249861717,
0.024891378358006477,
-0.09761472046375275,
-0.008215842768549919,
0.02119612507522106,
0.003165350528433919,
0.014996726997196674,
-0.008637889288365841,
0.0008851257734932005,
-0.036220986396074295,
-0.030256060883402824,
0.0898115411400795,
-0.016394170001149178,
-0.008023576810956001,
0.020314516499638557,
0.028305266052484512,
-0.009411642327904701,
0.027873842045664787,
-0.06711480766534805,
0.013130342587828636,
0.0034420255105942488,
0.03657738119363785,
-0.003817178076133132,
0.01675056479871273,
0.03729017451405525,
0.04351770505309105,
0.05544755980372429,
-0.002297810046002269,
-0.023991011083126068,
-0.018767010420560837,
0.021702580153942108,
0.028117690235376358,
-0.02892426960170269,
0.03779662773013115,
0.025397833436727524,
-0.032657038420438766,
-0.04141685366630554,
0.001725702197290957,
0.026935959234833717,
0.05282149091362953,
-0.056197866797447205,
0.025135226547718048,
0.01045737974345684,
-0.0007954408647492528,
0.0008095090743154287,
0.020558364689350128,
-0.011076381430029869,
-0.04505583271384239,
0.01345860119909048,
-0.04419298097491264,
-0.03901587426662445,
-0.03790917620062828,
0.007545257452875376,
-0.04603122919797897,
0.02160879224538803,
0.011348367668688297,
0.017191369086503983,
-0.06910311430692673,
-0.0929628238081932,
0.004469005856662989,
-0.021458731964230537,
-0.017181990668177605,
-0.04318007081747055,
-0.010823153890669346,
0.024084798991680145,
-0.010138500481843948,
0.024910135194659233,
0.03267579525709152,
0.06013697013258934,
-0.030087241902947426,
0.003172384575009346,
-0.02337200939655304,
0.013374191708862782,
-0.040216363966464996,
-0.036464836448431015,
-0.033932555466890335,
-0.036502353847026825,
0.012727053835988045,
-0.05420955643057823,
0.020333273336291313,
0.008923943154513836,
-0.0074561587534844875,
0.0076015302911400795,
-0.06812772154808044,
-0.08560983091592789,
-0.005894585978239775,
0.008989594876766205,
-0.045693591237068176,
0.006738679483532906,
-0.02198394574224949,
-0.009622665122151375,
0.012689538300037384,
-0.045280925929546356,
0.0509832426905632,
-0.04085412248969078,
-0.024703800678253174,
0.048469722270965576,
0.08125806599855423,
-0.017660310491919518,
0.04621880501508713,
0.05537252873182297,
0.029524512588977814,
-0.002701099030673504,
0.005495986435562372,
-0.035151802003383636,
-0.026935959234833717,
0.03378249704837799,
-0.008651957847177982,
-0.025754228234291077,
0.01990184746682644,
-0.012736432254314423,
0.03905339166522026,
-0.013167858123779297,
0.01569075882434845,
-0.044793225824832916,
-0.006963770836591721,
0.04141685366630554,
-0.06771504878997803,
-0.04411794990301132,
-0.04760687053203583,
-0.025266529992222786,
0.04055400192737579,
-0.0634758248925209,
0.051133304834365845,
-0.03950357437133789,
-0.10939451307058334,
-0.025191500782966614,
0.013589904643595219,
0.005106765311211348,
-0.048882391303777695,
0.06610189378261566,
0.008319010026752949,
0.03811550885438919,
-0.01117017026990652,
0.009064625948667526,
-0.028811722993850708,
-0.0072310674004256725,
-0.045205894857645035,
-0.03721514344215393,
0.013224130496382713,
0.01284897793084383,
-0.0128302201628685,
0.0044643166474998,
-0.005510054528713226,
-0.003488919697701931,
-0.011911096051335335,
-0.005941479932516813,
-0.043405160307884216,
0.02961830049753189,
0.03909090533852577,
0.0409291535615921,
-0.0763060450553894,
-0.014443377032876015,
-0.046631474047899246,
0.030331091955304146,
-0.013149100355803967,
0.07683125883340836,
0.04835717752575874,
-0.007554636336863041,
-0.0023247739300131798,
-0.0036084994208067656,
-0.02961830049753189,
-0.02868041954934597,
-0.05323415994644165,
0.022978099063038826,
0.011657868511974812,
0.013036554679274559,
0.03946605697274208,
0.022584188729524612,
0.0014713017735630274,
-0.05428458750247955,
-0.025923047214746475,
-0.031081397086381912,
-0.040629032999277115,
0.03235691413283348,
-0.048432204872369766,
0.0610373355448246,
-0.006527656223624945,
-0.015446909703314304,
0.058523811399936676,
0.011610974557697773,
-0.024497468024492264,
0.031231457367539406,
0.02860538847744465,
-0.09776478260755539,
-0.02022072672843933,
0.028549116104841232,
-0.013477358967065811,
-0.06786511093378067,
0.056197866797447205,
0.006607376039028168,
-0.03612719848752022,
-0.019826816394925117,
-0.014499649405479431,
-0.09828999638557434,
-0.0035287796054035425,
-0.0023822193033993244,
-0.021271154284477234,
-0.009331922046840191,
0.013074069283902645,
-0.03183170035481453,
-0.02042706124484539,
0.06145000457763672,
0.0353768952190876,
0.04955766350030899,
-0.004337702412158251,
-0.04254230856895447,
0.0015041276346892118,
-0.008375282399356365,
0.011282715946435928,
0.02597932144999504,
-0.010748122818768024,
-0.017022551968693733,
-0.07191675901412964,
-0.0338200107216835,
0.029055573046207428,
0.0011289749527350068,
0.0015064723556861281,
0.01772596314549446,
0.007882894948124886,
0.00039303101948462427,
-0.05510992184281349,
0.05008287727832794,
0.01525933388620615,
0.03170039877295494,
-0.001637775800190866,
0.025097711011767387,
-0.02035203017294407,
0.012436309829354286,
0.03147530555725098,
0.028286509215831757,
0.053946949541568756,
-0.0055381907150149345,
-0.014152633026242256,
-0.0029472929891198874,
-0.007507742382586002,
0.00472926814109087,
0.008858291432261467,
0.019958119839429855,
-0.01867322251200676,
0.04089163988828659,
-0.014874801971018314,
-0.033801253885030746,
0.008197085000574589,
0.006635512225329876,
0.017247643321752548,
0.007587462197989225,
0.014902939088642597,
-0.028792966157197952,
0.02035203017294407,
0.025097711011767387,
-0.041041698306798935,
0.012389415875077248,
-0.000645965978037566,
0.02067091129720211,
-0.039278481155633926,
0.01281146239489317,
-0.045205894857645035,
0.014884181320667267,
-0.04546850174665451,
0.017397703602910042,
0.0008722299244254827,
-0.06535159051418304,
0.009735210798680782,
-0.042917463928461075,
-0.022828038781881332,
-0.019142163917422295,
0.02781756781041622,
-0.04696911200881004,
-0.0012907595373690128,
-0.028492843732237816,
0.019995635375380516,
0.016609882935881615,
-0.04167946055531502,
-0.009069315157830715,
0.011545322835445404,
0.033107221126556396,
-0.023784678429365158,
0.038303084671497345,
-0.07150409370660782,
-0.027217324823141098,
0.023428281769156456,
0.06238788366317749,
-0.07683125883340836,
-0.012351900339126587,
-0.04741929471492767,
-0.04640638083219528,
0.09371312707662582,
0.04963269457221031,
0.10849414765834808,
-0.017922917380928993,
-0.02920563332736492,
0.028830479830503464,
-0.007254514377564192,
-0.00003212977389921434,
-0.0028675729408860207,
0.06295061111450195,
0.008590995334088802,
0.056648049503564835,
0.017069445922970772,
-0.006321322172880173,
0.0035944313276559114,
0.015578213147819042,
0.013289782218635082,
-0.031963005661964417,
-0.04696911200881004,
-0.028811722993850708,
0.0056038424372673035,
-0.04002878814935684,
0.06688971817493439,
0.0221902783960104,
0.012089294381439686,
0.06662710756063461
] |
52,110 |
pebble.pool.base_pool
|
cancel
|
Cancel the future.
Returns True if any of the elements of the iterables is cancelled.
False otherwise.
|
def cancel(self) -> bool:
"""Cancel the future.
Returns True if any of the elements of the iterables is cancelled.
False otherwise.
"""
super().cancel()
return any(tuple(f.cancel() for f in self._futures))
|
(self) -> bool
|
[
0.005261476617306471,
0.002537557389587164,
-0.03796584531664848,
0.044726885855197906,
-0.0499623566865921,
-0.012386573478579521,
0.013608762063086033,
-0.00040062417974695563,
0.06143879145383835,
0.022952867671847343,
-0.0006999410688877106,
-0.010176233015954494,
0.007957224734127522,
-0.02014443464577198,
-0.012291225604712963,
-0.0045160287991166115,
-0.009942197240889072,
0.030147308483719826,
0.012490589171648026,
-0.04913023114204407,
-0.029055139049887657,
0.03401323780417442,
-0.01654721423983574,
-0.0524587444961071,
0.013860133476555347,
0.0717710480093956,
-0.00201314315199852,
0.0037792485672980547,
-0.03931805491447449,
0.056792743504047394,
0.009292096830904484,
0.022536803036928177,
0.001460558152757585,
-0.03488003835082054,
0.05547520890831947,
0.05294414982199669,
-0.02718285098671913,
0.06164682283997536,
-0.00008166882616933435,
-0.027269531041383743,
-0.0036990693770349026,
-0.06338042765855789,
-0.06331107765436172,
-0.0032678365241736174,
-0.012230549938976765,
-0.02496384270489216,
-0.05509381368756294,
0.03942206874489784,
0.026194699108600616,
0.007077422924339771,
0.0474659726023674,
0.011831821873784065,
-0.011987845413386822,
0.01728399470448494,
0.0002711459237616509,
0.08057773858308792,
-0.001076999120414257,
0.053880296647548676,
0.010895677842199802,
-0.04781269282102585,
-0.024374419823288918,
0.010722317732870579,
0.022467458620667458,
-0.01736200600862503,
0.04403344541788101,
0.01780407503247261,
0.026333387941122055,
0.002136662369593978,
-0.0006696030613966286,
0.033718522638082504,
-0.04205714166164398,
0.014380213804543018,
-0.024998515844345093,
0.013461405411362648,
-0.012213213369250298,
-0.10117290914058685,
0.0004921799409203231,
0.02116725966334343,
-0.04694589227437973,
-0.012863313779234886,
-0.03354516252875328,
-0.04819408804178238,
-0.004305829759687185,
0.039283379912376404,
0.023906346410512924,
-0.030424684286117554,
0.018584193661808968,
-0.02716551534831524,
-0.05273611843585968,
0.027737604454159737,
-0.029245836660265923,
0.014588246122002602,
-0.0013402897166088223,
-0.06078002229332924,
0.008524979464709759,
0.03155152499675751,
-0.010262913070619106,
-0.047361958771944046,
-0.0726725235581398,
-0.10734452307224274,
0.04788203909993172,
0.049997031688690186,
0.08189527690410614,
-0.03963010013103485,
0.060537319630384445,
0.030875420197844505,
-0.04261189326643944,
-0.026472074910998344,
0.01226522121578455,
-0.024409091100096703,
-0.01486562192440033,
0.01428486593067646,
0.01846284233033657,
0.01736200600862503,
-0.03713371604681015,
-0.06781844049692154,
-0.04985834285616875,
0.024859827011823654,
-0.04174509271979332,
-0.0025007182266563177,
0.016971945762634277,
0.052008006721735,
0.026628099381923676,
-0.04015018045902252,
0.059150438755750656,
0.059739865362644196,
-0.009933529421687126,
0.07021080702543259,
-0.0022211752366274595,
0.005114120896905661,
0.000315027660690248,
0.0006278883083723485,
0.02945386804640293,
0.03141283616423607,
0.015359697863459587,
0.02064717933535576,
0.015940453857183456,
0.02498117834329605,
-0.030875420197844505,
0.016512542963027954,
-0.022450122982263565,
-0.02234610728919506,
0.01541170570999384,
0.04080894961953163,
0.038347236812114716,
0.04604442045092583,
-0.03415192291140556,
-0.029471203684806824,
-0.024807820096611977,
-0.025830643251538277,
0.0245304424315691,
0.003317677415907383,
-0.0001497938937973231,
0.037619125097990036,
-0.04399877414107323,
0.033874548971652985,
0.01260327361524105,
0.03427327796816826,
-0.011051701381802559,
-0.015385702252388,
0.022952867671847343,
0.06826917827129364,
-0.002049982314929366,
-0.02423573099076748,
-0.023559626191854477,
0.006600683089345694,
-0.0383819080889225,
0.03931805491447449,
0.0016924272058531642,
0.04718859866261482,
-0.0076538450084626675,
0.07808135449886322,
0.04604442045092583,
0.023819666355848312,
-0.0967348963022232,
0.04205714166164398,
-0.022900858893990517,
0.037827156484127045,
-0.018844233825802803,
-0.021843362599611282,
-0.041571732610464096,
-0.06168149784207344,
-0.019225627183914185,
-0.016859261319041252,
0.045593686401844025,
-0.008988717570900917,
-0.0038637614343315363,
0.01611381396651268,
0.018480177968740463,
-0.0018950417870655656,
-0.051973335444927216,
-0.013028006069362164,
0.018133457750082016,
0.0077925329096615314,
-0.025501258671283722,
-0.023195570334792137,
-0.011155717074871063,
-0.011589117348194122,
0.025674618780612946,
-0.03976878896355629,
-0.019520338624715805,
-0.03075406886637211,
0.03201959654688835,
-0.05648069456219673,
0.019364314153790474,
0.013201366178691387,
-0.000630055321380496,
-0.046183109283447266,
0.05179997533559799,
0.043409351259469986,
-0.015116994269192219,
-0.009144741110503674,
0.006856388878077269,
0.034672003239393234,
0.056064631789922714,
0.031534187495708466,
-0.012048522010445595,
-0.0379311740398407,
-0.036509621888399124,
0.04143304377794266,
0.010297585278749466,
-0.0036557295825332403,
0.05894240736961365,
-0.013088681735098362,
-0.034030571579933167,
0.0704188421368599,
0.036509621888399124,
0.05582192912697792,
0.05259742960333824,
-0.04184911027550697,
-0.017466021701693535,
0.03872862830758095,
-0.030424684286117554,
-0.059358470141887665,
-0.03349315747618675,
-0.0022731833159923553,
-0.0003369685437064618,
-0.0009778589010238647,
-0.018150795251131058,
0.009907525032758713,
0.03266102820634842,
-0.0029536213260143995,
-0.015090989880263805,
-0.057243481278419495,
0.006015592720359564,
0.002502885414287448,
0.025830643251538277,
0.0545043908059597,
0.03227963671088219,
-0.01566307805478573,
0.027945635840296745,
-0.014726934023201466,
-0.04153706133365631,
-0.05062112584710121,
0.00022265927691478282,
-0.0990232452750206,
-0.03127414733171463,
-0.036648306995630264,
0.07090424746274948,
0.01490029413253069,
0.024513106793165207,
0.02005775459110737,
0.015064986422657967,
0.05918511003255844,
-0.025605276226997375,
-0.007848874665796757,
0.02754690684378147,
-0.053360216319561005,
0.02768559567630291,
0.011459097266197205,
0.055405862629413605,
-0.07912151515483856,
-0.02709617093205452,
-0.02966189943253994,
-0.005863902624696493,
0.019312307238578796,
-0.0077491928823292255,
0.005733882542699575,
-0.09070196747779846,
0.013782122172415257,
0.0924355611205101,
0.02945386804640293,
-0.0164085254073143,
-0.055267173796892166,
-0.01625250279903412,
0.0007633258355781436,
0.0010201153345406055,
0.006912731099873781,
0.025171875953674316,
0.024738475680351257,
0.019225627183914185,
0.03852059692144394,
0.044934917241334915,
-0.052632104605436325,
0.006253962870687246,
-0.018636202439665794,
0.03876329958438873,
-0.06702098250389099,
-0.02357696369290352,
0.018809562548995018,
0.05627266317605972,
0.01655588299036026,
-0.05471242219209671,
-0.05166128650307655,
-0.001294782618060708,
0.03411725163459778,
0.026610763743519783,
0.030598044395446777,
0.005036108661442995,
0.04240386188030243,
0.024010363966226578,
-0.029609892517328262,
-0.025830643251538277,
-0.08792820572853088,
0.049997031688690186,
0.012386573478579521,
0.028673747554421425,
-0.04919957369565964,
-0.048159413039684296,
0.007302790880203247,
-0.01823747530579567,
-0.03872862830758095,
0.012499257922172546,
-0.005122788716107607,
-0.02659342810511589,
-0.03969944640994072,
-0.02095922641456127,
0.023264914751052856,
-0.06445525586605072,
0.04680720716714859,
0.029852595180273056,
-0.03675232455134392,
0.003098810324445367,
0.008468637242913246,
-0.018341490998864174,
-0.021357955411076546,
0.02811899594962597,
0.021808691322803497,
0.07218711078166962,
-0.01501297764480114,
-0.016503874212503433,
-0.02761625126004219,
0.04878351092338562,
0.014276198111474514,
-0.10339191555976868,
0.025067858397960663,
-0.0018506182823330164,
0.07204842567443848,
0.0890377089381218,
-0.03741109371185303,
0.02607334777712822,
0.05356824770569801,
0.047119252383708954,
0.06480197608470917,
0.01461424957960844,
0.040323540568351746,
0.00011275173164904118,
0.056723400950431824,
0.02943653240799904,
-0.023420939221978188,
0.05492045357823372,
-0.028916452080011368,
0.033718522638082504,
0.009881521575152874,
-0.016243834048509598,
-0.004334000404924154,
0.004706724546849728,
-0.01582776941359043,
-0.07385136932134628,
-0.03560815006494522,
-0.01948566734790802,
0.020179105922579765,
-0.011953173205256462,
-0.0332677885890007,
0.01802944205701351,
0.001965469215065241,
0.016824590042233467,
0.005915910936892033,
-0.018341490998864174,
0.006102272775024176,
0.015845106914639473,
-0.04403344541788101,
-0.005816228687763214,
-0.015116994269192219,
-0.0274775642901659,
-0.016070473939180374,
-0.0465645007789135,
-0.03045935556292534,
0.0023490283638238907,
0.02534523606300354,
0.021427297964692116,
-0.11795415729284286,
-0.02366364374756813,
-0.017093298956751823,
-0.019086938351392746,
-0.035712163895368576,
0.01597512699663639,
0.017153974622488022,
0.04646048694849014,
-0.014267530292272568,
0.009985537268221378,
0.061785511672496796,
-0.015333694405853748,
-0.0179427620023489,
0.03969944640994072,
0.014692261815071106,
-0.031672876328229904,
-0.04479622840881348,
0.018636202439665794,
0.02518921159207821,
-0.0292978435754776,
-0.07690250873565674,
0.031152796000242233,
-0.04063558951020241,
-0.0610920712351799,
0.0363362617790699,
-0.06542607396841049,
-0.031742218881845474,
0.03640560433268547,
0.033510491251945496,
-0.004875750746577978,
-0.001334872213192284,
-0.01656454987823963,
-0.017890755087137222,
-0.01662522554397583,
-0.0084599694237113,
0.03456798940896988,
0.0041346363723278046,
0.006080602761358023,
-0.020404474809765816,
-0.07787331938743591,
-0.021288610994815826,
0.013773453421890736,
-0.026749450713396072,
0.0204391460865736,
0.05561389401555061,
-0.07190974056720734,
-0.00827794149518013,
-0.007822871208190918,
0.06386583298444748,
-0.024010363966226578,
0.015628406777977943,
-0.025015851482748985,
-0.03699502721428871,
0.033215779811143875,
-0.010548957623541355,
0.007814203388988972,
0.05308283865451813,
0.037237733602523804,
0.021999387070536613,
-0.04285459592938423,
0.029401859268546104,
-0.029696572571992874,
-0.020248450338840485,
0.016139818355441093,
0.03479335829615593,
-0.024738475680351257,
-0.0031183133833110332,
-0.04344402253627777,
-0.017466021701693535,
0.015524390153586864,
0.007068755105137825,
-0.02329958789050579,
-0.026922810822725296,
0.014960969798266888,
-0.009751501493155956,
0.05096784606575966,
0.009690824896097183,
-0.0021442468278110027,
0.04184911027550697,
0.02071652188897133,
-0.05457373335957527,
0.0055735246278345585,
-0.041502390056848526,
-0.024339746683835983,
0.011233729310333729,
-0.0014248027000576258,
0.06182018294930458,
0.0504130944609642,
0.018254810944199562,
-0.04191845282912254,
-0.0733659639954567,
0.015212342143058777,
-0.031308818608522415,
0.010644305497407913,
-0.04840211942791939,
-0.004533364437520504,
-0.033371806144714355,
0.03305975720286369,
-0.021722011268138885,
-0.008195594884455204,
-0.05713946372270584,
0.025067858397960663,
0.009144741110503674,
0.06306837499141693,
-0.08189527690410614,
-0.017015285789966583,
0.043686725199222565,
0.00011193910904694349,
0.028465716168284416,
0.036440275609493256,
0.03276504576206207,
-0.018480177968740463,
0.030598044395446777,
0.060676008462905884,
-0.07083490490913391,
0.04209181293845177,
-0.03517474979162216,
-0.05169595777988434,
-0.03845125436782837,
-0.01860153116285801,
-0.016659898683428764,
0.019971074536442757,
-0.03976878896355629,
0.03976878896355629,
-0.0465645007789135,
-0.031672876328229904,
-0.04715392738580704,
0.06372714787721634,
0.022727498784661293,
0.05048243701457977,
-0.03779248520731926,
-0.008282274939119816,
0.08716542273759842,
-0.05866503342986107,
-0.009604144841432571,
-0.008498975075781345,
-0.0055518546141684055,
-0.05492045357823372,
-0.016356518492102623,
0.010687645524740219,
-0.022450122982263565,
-0.006635354831814766,
-0.028309691697359085,
-0.020993899554014206,
0.005153126548975706,
0.005746884737163782,
-0.0323663167655468,
-0.03983813151717186,
0.02709617093205452,
-0.013686773367226124,
0.05720880627632141,
0.041051652282476425,
0.024669131264090538,
0.01043627317994833,
0.039075348526239395,
-0.012542597949504852,
0.0007736191037110984,
0.05897707864642143,
0.05037842318415642,
0.03068472445011139,
0.05707012116909027,
0.09250491112470627,
-0.008780685253441334,
0.016495205461978912,
0.022155411541461945,
0.04313197359442711,
0.04198779910802841,
-0.034897372126579285,
0.03158619627356529,
0.03420393168926239,
-0.040531571954488754,
0.023403603583574295,
-0.0560993030667305,
-0.01603580266237259,
-0.008451300673186779,
0.02908981218934059,
-0.03994214907288551,
0.09396113455295563,
0.015515722334384918,
0.005261476617306471,
-0.05422701686620712,
-0.02255413867533207,
-0.03803518787026405,
0.030233988538384438,
0.02557060308754444,
-0.0006051348173059523,
-0.07288055121898651,
-0.06861589848995209,
-0.06920532137155533,
0.018133457750082016,
-0.07288055121898651,
0.012802638113498688,
-0.0865413248538971,
0.034394629299640656,
0.017977435141801834,
-0.03553880378603935,
0.0060979388654232025,
0.03598954156041145,
0.0383819080889225,
0.03852059692144394,
0.08411428332328796,
-0.006986408960074186,
-0.020855210721492767,
0.027061499655246735,
0.04268123582005501,
0.03640560433268547,
-0.024218395352363586,
-0.05221603810787201,
0.06251362711191177,
0.032262299209833145,
-0.048159413039684296,
-0.01605313830077648,
0.0015277351485565305,
-0.033666517585515976,
0.01208319328725338,
-0.06258296966552734,
-0.0015732422471046448,
0.027997642755508423,
-0.005079448688775301,
0.028309691697359085,
0.006800046656280756,
0.04961564019322395,
-0.030996771529316902,
0.023542290553450584,
0.0063969846814870834,
-0.03527876362204552,
0.028171002864837646,
-0.039214037358760834,
0.022450122982263565,
-0.006336309015750885,
0.011285737156867981,
-0.0063969846814870834,
-0.024929171428084373,
-0.041710421442985535,
-0.0440681166946888,
0.03186357393860817,
0.005824896972626448,
-0.0531521812081337,
0.015030314214527607,
0.02298753894865513,
-0.0032201623544096947,
0.00238803424872458,
0.009864185005426407,
-0.019312307238578796,
0.00734179699793458,
0.017257990315556526,
0.01868821121752262,
0.022692827507853508,
-0.029696572571992874,
0.005070780869573355,
-0.03488003835082054,
-0.049338262528181076,
-0.016087809577584267,
-0.017838746309280396,
-0.0672290176153183,
-0.05030907690525055,
-0.04548966884613037,
0.02475581131875515,
-0.03325045108795166,
-0.01736200600862503,
0.10276782512664795,
0.001966552808880806,
-0.05426168814301491,
-0.024114379659295082,
-0.03609355539083481,
-0.011363749392330647,
0.029765915125608444,
0.06396985054016113,
-0.014960969798266888,
0.042369190603494644,
0.004125968553125858,
-0.019242962822318077,
0.011346413753926754,
0.00878501869738102,
-0.03084074892103672,
-0.030528699979186058,
-0.017908090725541115,
0.003035967471078038,
0.04476155713200569,
-0.008694005198776722,
-0.010479613207280636,
-0.004221316426992416,
0.021843362599611282,
0.024738475680351257,
0.08959245681762695,
-0.05117587745189667,
-0.018549522385001183,
-0.013912142254412174,
-0.03938739746809006,
-0.02182602696120739,
0.02234610728919506,
-0.003902767552062869,
0.03323311731219292,
0.0016198327066376805,
-0.0025527263060212135,
0.028552396222949028,
-0.0064446586184203625,
0.02702682837843895,
-0.05062112584710121,
-0.035920195281505585,
0.004019785672426224,
-0.01934697851538658,
0.05873437598347664,
-0.015151665546000004,
0.030442019924521446,
-0.03479335829615593,
-0.009933529421687126,
0.018878906965255737,
0.023750323802232742,
0.046841878443956375,
-0.024738475680351257,
0.001844117185100913,
-0.013305381871759892,
-0.027858955785632133,
0.04971965402364731,
0.011805817484855652,
-0.0010472028516232967,
0.04281992465257645,
-0.0013045341474935412,
-0.01431953813880682,
0.044137462973594666,
-0.013175361789762974,
0.016009798273444176,
-0.023386267945170403,
-0.011597785167396069,
0.00677404273301363,
-0.0202137790620327,
0.08078577369451523,
-0.017960097640752792,
0.049476951360702515,
0.028032315894961357,
-0.020560499280691147,
0.04715392738580704,
-0.04795138165354729,
-0.02813633158802986,
-0.04476155713200569,
0.002611235249787569,
0.00802223477512598,
0.01948566734790802,
0.01750069484114647,
-0.002576563274487853,
-0.04621778056025505,
0.025518596172332764,
-0.018878906965255737,
-0.021288610994815826,
0.026974819600582123,
0.02820567600429058,
-0.04978900030255318,
-0.013140689581632614,
-0.023837003856897354,
-0.09430785477161407,
0.04548966884613037,
0.010228241793811321,
-0.008962713181972504,
0.007008078973740339,
-0.006457660812884569,
-0.004832410719245672,
0.020907219499349594,
-0.06681295484304428,
-0.012325897812843323,
0.016746578738093376,
-0.0030966433696448803,
-0.015221009962260723,
0.03956075757741928,
0.039144694805145264,
-0.03852059692144394,
0.031152796000242233,
-0.03876329958438873,
0.04011550918221474,
-0.05471242219209671,
0.009898857213556767,
-0.008191261440515518,
0.026350723579525948,
0.007268119137734175,
-0.008503309451043606,
0.009170745499432087,
0.06982941925525665
] |
52,111 |
concurrent.futures._base
|
cancelled
|
Return True if the future was cancelled.
|
def cancelled(self):
"""Return True if the future was cancelled."""
with self._condition:
return self._state in [CANCELLED, CANCELLED_AND_NOTIFIED]
|
(self)
|
[
0.014892688021063805,
0.025792980566620827,
0.0160746481269598,
0.04818892106413841,
0.0042353542521595955,
-0.050535328686237335,
0.01043626293540001,
-0.003681584494188428,
0.10828498750925064,
-0.06349310278892517,
0.009560737758874893,
-0.026178210973739624,
0.01922653801739216,
-0.05575346201658249,
-0.008317491970956326,
0.007039224728941917,
0.008326247334480286,
-0.012484992854297161,
-0.002637520432472229,
-0.053862325847148895,
-0.030608369037508965,
0.04241045191884041,
-0.0112680122256279,
-0.03985391929745674,
0.04213028401136398,
0.06146188825368881,
-0.02817440964281559,
0.018123377114534378,
-0.048329003155231476,
0.024059439077973366,
-0.008413800038397312,
0.03719232231378555,
0.0033226190134882927,
-0.0033532625529915094,
0.043426062911748886,
0.056033629924058914,
-0.03034571185708046,
0.037857718765735626,
0.008124875836074352,
-0.032902248203754425,
-0.0620572455227375,
-0.06142686679959297,
-0.0639483779668808,
0.046227745711803436,
-0.029084956273436546,
-0.04787373170256615,
-0.03300730884075165,
0.02700120583176613,
0.0517960861325264,
0.00717055331915617,
0.04360116645693779,
0.03484591469168663,
-0.04678808152675629,
0.018018314614892006,
-0.024987496435642242,
0.020277168601751328,
0.02148539386689663,
0.07585552334785461,
-0.000014543640645570122,
-0.01356188952922821,
-0.02700120583176613,
0.0684310719370842,
0.007205574307590723,
-0.029610270634293556,
0.023586655035614967,
0.043986398726701736,
0.05232140049338341,
0.020084554329514503,
0.009368122555315495,
0.020207127556204796,
-0.013106616213917732,
0.0023376529570668936,
-0.018508607521653175,
0.0012596622109413147,
0.008899716660380363,
-0.12026217579841614,
-0.0015037149423733354,
0.03151891753077507,
-0.02761407196521759,
0.004158745985478163,
-0.03470582887530327,
-0.04304083064198494,
0.020592357963323593,
0.02938263490796089,
0.007739644963294268,
-0.009481940418481827,
0.03810286894440651,
-0.01788698509335518,
-0.06499900668859482,
0.04297078773379326,
-0.01192465703934431,
0.027176309376955032,
-0.02320142462849617,
-0.053337011486291885,
0.027403946965932846,
0.028822297230362892,
0.02377927117049694,
-0.02652842178940773,
-0.02535521797835827,
-0.054422661662101746,
0.0362817756831646,
0.022273367270827293,
0.036141689866781235,
-0.05064039304852486,
0.09413649886846542,
0.031729042530059814,
-0.036071646958589554,
-0.01683635450899601,
0.04160496965050697,
-0.07214329391717911,
-0.004977362230420113,
-0.0004968607099726796,
0.00037373992381617427,
0.006255629472434521,
0.0033488848712295294,
-0.058345016092061996,
-0.02087252587080002,
0.01433235127478838,
-0.0785171240568161,
-0.016127178445458412,
0.019524216651916504,
0.00719244172796607,
0.003281031735241413,
-0.04192015901207924,
0.04251551628112793,
0.0703222006559372,
-0.016792578622698784,
0.05071043595671654,
0.026948673650622368,
-0.003915787674486637,
-0.01461252011358738,
-0.009481940418481827,
0.04892436042428017,
-0.01024364773184061,
0.005008005537092686,
0.03365520015358925,
0.04356614500284195,
0.022220835089683533,
0.0014851100277155638,
0.01434110663831234,
-0.013395539484918118,
0.0024864922743290663,
-0.01357064489275217,
0.016757557168602943,
0.0874825045466423,
0.03265709802508354,
-0.050535328686237335,
-0.023341508582234383,
-0.02642335742712021,
-0.030503306537866592,
0.06366821378469467,
-0.011968432925641537,
0.012196069583296776,
0.005804733838886023,
-0.04209526255726814,
0.061041634529829025,
-0.023954376578330994,
0.013701973482966423,
0.008693967945873737,
-0.02092505805194378,
0.01073394250124693,
0.039398644119501114,
-0.0008591093355789781,
0.0032875980250537395,
0.009315590374171734,
0.017913250252604485,
-0.011364320293068886,
0.00045691485865972936,
-0.01108415238559246,
0.03817290812730789,
-0.01436737272888422,
0.06629478931427002,
0.02204573154449463,
0.03915349766612053,
-0.08979389071464539,
0.026650995016098022,
-0.003812913317233324,
0.025740448385477066,
-0.049414657056331635,
-0.03188663721084595,
0.008982891216874123,
-0.04209526255726814,
-0.04472184181213379,
0.004185011610388756,
0.05866020545363426,
-0.025302685797214508,
0.0032263111788779497,
0.01940164342522621,
0.03911847621202469,
0.005305684171617031,
-0.02938263490796089,
-0.019734343513846397,
0.030205627903342247,
0.04489694535732269,
-0.012073496356606483,
-0.04185011610388756,
-0.006829098332673311,
0.006562063470482826,
0.02323644608259201,
-0.029102465137839317,
0.03207925334572792,
-0.021362820640206337,
0.012581300921738148,
-0.0465429313480854,
0.005275040864944458,
0.006386958062648773,
-0.012808937579393387,
-0.014306086115539074,
0.03593156486749649,
0.021923156455159187,
-0.01826346106827259,
-0.006513909436762333,
0.007897239178419113,
0.05971083417534828,
0.025197623297572136,
0.0028345135506242514,
0.028874829411506653,
0.0112680122256279,
-0.03479338064789772,
0.02766660414636135,
0.003869822481647134,
-0.03687713295221329,
0.05683911219239235,
-0.046577952802181244,
-0.032849714159965515,
0.053196925669908524,
0.00406900467351079,
0.03500350937247276,
0.0463678278028965,
-0.048819299787282944,
-0.029995502904057503,
0.055543333292007446,
-0.010208627209067345,
-0.05890535190701485,
-0.029697822406888008,
-0.013421805575489998,
0.0022117961198091507,
0.004279130604118109,
-0.02985541708767414,
0.035546332597732544,
0.021205225959420204,
-0.013929610140621662,
0.0005324289086274803,
-0.009009157307446003,
0.03873324766755104,
-0.008974135853350163,
0.0530918650329113,
0.04545728117227554,
0.028261961415410042,
-0.008339379914104939,
-0.04153492674231529,
-0.043320998549461365,
-0.06125175952911377,
-0.0418851375579834,
-0.028997402638196945,
-0.06548930704593658,
-0.004578998312354088,
-0.012843958102166653,
0.0637732744216919,
0.03747249022126198,
0.0012290189042687416,
0.007157420739531517,
0.007433210965245962,
0.0386982262134552,
-0.015260408632457256,
-0.023621676489710808,
0.021170204505324364,
-0.01654743030667305,
0.05624375492334366,
-0.0018998902523890138,
0.0497298464179039,
-0.06062138080596924,
-0.0342155359685421,
-0.04349610581994057,
-0.019051434472203255,
-0.026370827108621597,
-0.00648326613008976,
0.005038648843765259,
-0.0639483779668808,
-0.0020782784558832645,
0.035616375505924225,
0.053301990032196045,
0.010900291614234447,
-0.04139484465122223,
-0.057784680277109146,
0.013404294848442078,
0.01046252902597189,
0.006492021027952433,
0.02370923012495041,
-0.0008853751351125538,
-0.01741420105099678,
0.02805183455348015,
0.05288173630833626,
-0.02481239102780819,
0.042900748550891876,
-0.04867921397089958,
0.02269361913204193,
-0.05519312620162964,
-0.020802484825253487,
0.033480092883110046,
0.056558944284915924,
0.03442566096782684,
-0.09651792794466019,
-0.0431809164583683,
0.010357466526329517,
0.02211577259004116,
0.042200326919555664,
0.04044927656650543,
-0.034390639513731,
0.028874829411506653,
0.023288976401090622,
-0.035598866641521454,
-0.006802832707762718,
-0.07830699533224106,
0.06864119321107864,
0.03270963206887245,
0.029645292088389397,
-0.062162306159734726,
-0.004309773910790682,
0.01355313416570425,
-0.011854615062475204,
-0.035651396960020065,
-0.012476237490773201,
0.02048729546368122,
-0.047243352979421616,
-0.04493196681141853,
-0.01210851687937975,
0.042200326919555664,
-0.06072644516825676,
0.015461779199540615,
0.007879729382693768,
-0.03148389607667923,
-0.01518161129206419,
-0.02759656310081482,
-0.03036322258412838,
-0.02922504022717476,
0.056628987193107605,
-0.021993199363350868,
0.055018018931150436,
-0.01759806089103222,
-0.015890786424279213,
-0.06226737052202225,
-0.008711478672921658,
0.0049948724918067455,
-0.07809686660766602,
-0.013465581461787224,
-0.006172454450279474,
0.027456477284431458,
0.11654994636774063,
-0.032919757068157196,
-0.024479690939188004,
0.055508311837911606,
0.01688888669013977,
0.08804284036159515,
-0.007779043633490801,
0.03771763667464256,
0.009823395870625973,
0.02658095210790634,
0.03803282603621483,
-0.010409997776150703,
0.04475685954093933,
-0.009770863689482212,
0.04923954978585243,
0.016985192894935608,
-0.04755854234099388,
-0.00730626005679369,
0.013982141390442848,
0.0008788086706772447,
-0.046577952802181244,
-0.0353362075984478,
-0.05575346201658249,
-0.016740046441555023,
-0.0036465635057538748,
0.00705235730856657,
0.031781572848558426,
-0.011705775745213032,
-0.02873474545776844,
-0.037787679582834244,
-0.057784680277109146,
0.022833703085780144,
0.00990219321101904,
-0.006759056355804205,
-0.05922054126858711,
-0.019629281014204025,
-0.02048729546368122,
0.0013231377815827727,
-0.051095664501190186,
0.009201772511005402,
-0.037332404404878616,
-0.006710902787744999,
-0.002852024044841528,
-0.05799480527639389,
-0.023288976401090622,
-0.009814640507102013,
-0.01703772507607937,
-0.03575646132230759,
-0.010803984478116035,
-0.02544276975095272,
0.03827797248959541,
-0.0049729845486581326,
0.006049880757927895,
0.10429259389638901,
0.01048879511654377,
-0.02698369510471821,
0.036246754229068756,
0.03370773047208786,
-0.021888136863708496,
-0.05400241166353226,
0.01573319174349308,
-0.041675012558698654,
-0.036772068589925766,
-0.03253452479839325,
0.01191590167582035,
-0.04297078773379326,
-0.058870330452919006,
0.009228038601577282,
-0.07417451590299606,
-0.022798683494329453,
0.05876526981592178,
0.009604514576494694,
-0.031168706715106964,
-0.015129080042243004,
0.023954376578330994,
-0.02649340033531189,
-0.02316640317440033,
0.025635385885834694,
0.03974885493516922,
0.028314493596553802,
-0.007345658726990223,
0.004600886255502701,
-0.06976186484098434,
0.042865727096796036,
0.038943372666835785,
0.01024364773184061,
0.00015485857147723436,
0.04037923365831375,
-0.05407245084643364,
-0.032359421253204346,
-0.04209526255726814,
0.04475685954093933,
-0.030783474445343018,
0.04255053773522377,
-0.04027416929602623,
-0.02153792604804039,
0.04041425511240959,
0.007078623399138451,
-0.014691317453980446,
0.002768849255517125,
0.057259365916252136,
0.0006960427272133529,
-0.013237944804131985,
0.01632854901254177,
-0.0017028970178216696,
0.004156556911766529,
-0.05480789393186569,
0.05816991254687309,
-0.03575646132230759,
-0.011968432925641537,
-0.039013415575027466,
-0.04097459092736244,
-0.015741948038339615,
0.028384534642100334,
-0.052146296948194504,
-0.01129427831619978,
0.046157702803611755,
0.039503708481788635,
0.02535521797835827,
-0.01765059307217598,
-0.029942970722913742,
0.03193916752934456,
-0.01596958376467228,
-0.03904843330383301,
0.005887908861041069,
0.0010670466581359506,
-0.016013359650969505,
0.006176832132041454,
-0.014524967409670353,
0.0942065417766571,
0.059885941445827484,
0.018928859382867813,
-0.01940164342522621,
0.014665051363408566,
0.00965704582631588,
-0.048889342695474625,
0.0141134699806571,
-0.03992396220564842,
-0.012633832171559334,
0.0014095959486439824,
0.04234040901064873,
-0.027351414784789085,
-0.03039824403822422,
-0.03736742585897446,
0.040589358657598495,
-0.012870224192738533,
0.07683611661195755,
-0.05351211503148079,
-0.0476636067032814,
0.011609467677772045,
0.013351763598620892,
0.032867226749658585,
-0.005244397558271885,
0.03148389607667923,
-0.03249950334429741,
0.016705024987459183,
0.040624380111694336,
-0.08110867440700531,
0.0015080926241353154,
-0.00003312290573376231,
0.017528019845485687,
-0.022763662040233612,
-0.0038566896691918373,
0.04591255635023117,
0.04258555918931961,
-0.03041575476527214,
0.02922504022717476,
-0.025250153616070747,
-0.028944872319698334,
-0.0282269399613142,
0.021975688636302948,
0.01576821319758892,
0.050045035779476166,
-0.025635385885834694,
-0.0012651343131437898,
0.07599560916423798,
-0.05753953382372856,
0.0029308213852345943,
0.0007551406743004918,
-0.030520817264914513,
-0.05694417655467987,
-0.01707274653017521,
0.012642587535083294,
-0.03589654341340065,
0.05186612904071808,
-0.014306086115539074,
-0.020189616829156876,
0.0001301660086028278,
-0.04867921397089958,
0.003648752346634865,
-0.07000701874494553,
0.009263059124350548,
0.0036093536764383316,
0.03652692213654518,
0.03185161575675011,
0.04815389961004257,
-0.004373249597847462,
0.020259659737348557,
0.00885156262665987,
0.02384931407868862,
0.024567244574427605,
0.024549733847379684,
0.04769862815737724,
0.024567244574427605,
0.07543527334928513,
-0.06191715970635414,
0.06622474640607834,
0.041639991104602814,
0.06899140775203705,
0.05564839765429497,
0.002547779120504856,
0.023936865851283073,
-0.017930760979652405,
-0.04465179890394211,
0.03141385316848755,
-0.05242646485567093,
-0.008939115330576897,
-0.0032175560481846333,
0.03985391929745674,
-0.07669603079557419,
0.06611968576908112,
-0.0237442497164011,
0.012012208811938763,
-0.05148089677095413,
0.038873329758644104,
0.03911847621202469,
0.015339205972850323,
0.012449972331523895,
-0.00003377271059434861,
-0.0628277063369751,
-0.04416150227189064,
-0.028874829411506653,
0.01815839856863022,
-0.10107065737247467,
-0.009753353893756866,
-0.09728838503360748,
-0.004195955581963062,
0.006645238026976585,
-0.028279472142457962,
0.0024383384734392166,
0.04346108436584473,
0.026265762746334076,
0.022501004859805107,
0.07774665951728821,
0.021205225959420204,
-0.014236044138669968,
0.05410747230052948,
0.03418051451444626,
0.030503306537866592,
0.002766660414636135,
-0.02591555379331112,
0.07823695242404938,
0.02806934528052807,
-0.021257758140563965,
-0.0020848449785262346,
-0.011548181064426899,
-0.021117674186825752,
-0.010287423618137836,
-0.07788674533367157,
-0.021625477820634842,
0.005095558241009712,
-0.0340404286980629,
0.02549530193209648,
-0.03432059660553932,
0.006084901746362448,
0.016144689172506332,
0.02973284386098385,
-0.0007693679654039443,
-0.04016910865902901,
0.00495109660550952,
-0.0335676446557045,
0.040064044296741486,
0.006715280003845692,
-0.004622774198651314,
-0.001814526505768299,
-0.015995850786566734,
-0.04678808152675629,
-0.05407245084643364,
0.0287872776389122,
-0.041639991104602814,
-0.09693817794322968,
-0.02092505805194378,
-0.009727087803184986,
0.024742349982261658,
-0.008545128628611565,
0.004854788538068533,
-0.029942970722913742,
-0.017773166298866272,
0.0011146533070132136,
0.025075048208236694,
0.033410049974918365,
-0.030205627903342247,
-0.02271112985908985,
0.007792176678776741,
-0.05508806183934212,
0.012660098262131214,
-0.04016910865902901,
-0.03915349766612053,
-0.03985391929745674,
-0.054912954568862915,
-0.0010938596678897738,
-0.01714278757572174,
-0.020242149010300636,
0.09203523397445679,
0.018000803887844086,
-0.05018511787056923,
-0.04493196681141853,
-0.027403946965932846,
-0.015794478356838226,
0.0476636067032814,
0.053827304393053055,
-0.046683017164468765,
0.023429060354828835,
0.01354437880218029,
-0.0282269399613142,
0.013710728846490383,
0.010996599681675434,
0.007135532330721617,
-0.022851213812828064,
-0.00908795464783907,
0.0008656758000142872,
-0.01294026616960764,
0.026966184377670288,
0.00883405189961195,
0.016556186601519585,
0.04867921397089958,
0.03162397816777229,
0.02919001877307892,
-0.025670405477285385,
-0.0159870944917202,
0.015330450609326363,
-0.007573295384645462,
0.012283622287213802,
0.004198144655674696,
0.02146788500249386,
0.0007742927991785109,
0.06174205616116524,
-0.013413050211966038,
0.013701973482966423,
-0.02644086815416813,
0.008339379914104939,
-0.05211127549409866,
-0.07697619497776031,
0.028629682958126068,
-0.054982997477054596,
0.0755053162574768,
-0.0023288975935429335,
-0.005765335168689489,
-0.05901041626930237,
0.007223085034638643,
0.0018506419146433473,
0.020662400871515274,
0.046577952802181244,
-0.04867921397089958,
0.02708875760436058,
-0.049379635602235794,
-0.01378077082335949,
0.036246754229068756,
0.02106514200568199,
-0.05137583240866661,
0.05529818683862686,
0.016013359650969505,
-0.016827600076794624,
0.04146488383412361,
-0.018000803887844086,
-0.017571795731782913,
-0.009963479824364185,
0.012371174991130829,
-0.04377627372741699,
-0.029662802815437317,
0.04072944447398186,
-0.007433210965245962,
0.006829098332673311,
0.03971383348107338,
-0.017624327912926674,
0.007805309258401394,
-0.023096362128853798,
-0.018893839791417122,
-0.010970333591103554,
-0.009228038601577282,
0.004233165644109249,
0.01821092888712883,
0.0013187602162361145,
0.030293181538581848,
-0.061041634529829025,
0.04808385670185089,
0.004125913605093956,
0.0003146419476252049,
0.00012975560093764216,
0.053407054394483566,
-0.014901443384587765,
0.060411255806684494,
0.008899716660380363,
-0.023061340674757957,
0.05694417655467987,
-0.006614594720304012,
0.0014829211868345737,
0.026808589696884155,
-0.023621676489710808,
-0.031168706715106964,
0.04192015901207924,
-0.04363618791103363,
0.0026112545747309923,
0.015847010537981987,
0.016354816034436226,
-0.048819299787282944,
0.023323997855186462,
0.032394442707300186,
-0.044301588088274,
0.0660146176815033,
-0.025635385885834694,
0.08608166128396988,
-0.043846312910318375,
0.053266968578100204,
-0.005038648843765259,
0.04100961238145828,
-0.0330948606133461,
-0.006837853696197271,
-0.007424455601722002,
0.08699221163988113
] |
52,112 |
concurrent.futures._base
|
done
|
Return True if the future was cancelled or finished executing.
|
def done(self):
"""Return True if the future was cancelled or finished executing."""
with self._condition:
return self._state in [CANCELLED, CANCELLED_AND_NOTIFIED, FINISHED]
|
(self)
|
[
0.03737453743815422,
0.025735346600413322,
-0.023134911432862282,
0.05932580307126045,
0.0338953360915184,
-0.036728911101818085,
0.03023678995668888,
-0.0028335782699286938,
0.061406150460243225,
-0.04092547670006752,
0.03606535121798515,
-0.014930088073015213,
0.02516145631670952,
-0.03927554562687874,
0.00681045139208436,
0.007429176010191441,
0.010321039706468582,
-0.007877526804804802,
0.0001522992242826149,
-0.003539731027558446,
-0.032119862735271454,
0.051398955285549164,
0.011917169205844402,
-0.05595420300960541,
0.039562489837408066,
0.02578914910554886,
0.008227240294218063,
-0.004176389425992966,
-0.029860176146030426,
0.04971315711736679,
-0.040674399584531784,
0.027062464505434036,
-0.016230305656790733,
0.0057164751924574375,
0.08106185495853424,
0.06807761639356613,
-0.0025443919003009796,
0.04838603734970093,
0.05254673585295677,
-0.017799533903598785,
-0.049103397876024246,
-0.05434013903141022,
-0.065459243953228,
0.05652809143066406,
-0.012006839737296104,
-0.024157151579856873,
-0.02996777929365635,
0.035509396344423294,
0.04361558333039284,
-0.008747328072786331,
0.06520816683769226,
0.014687977731227875,
-0.024426162242889404,
0.011343279853463173,
0.010599017143249512,
0.01054521556943655,
0.027188003063201904,
0.038737524300813675,
-0.012957343831658363,
-0.01344156265258789,
-0.0031384569592773914,
0.03563493490219116,
0.01766502857208252,
-0.017512589693069458,
-0.00223166705109179,
0.08299873024225235,
0.043579716235399246,
0.005389178637415171,
0.004023950081318617,
0.06513643264770508,
-0.02397781051695347,
0.0366751104593277,
-0.018319621682167053,
0.004010499455034733,
-0.02243548259139061,
-0.09132012724876404,
-0.0165531188249588,
0.02022959664463997,
-0.03208399564027786,
0.00006676226621493697,
-0.04501443728804588,
-0.027779826894402504,
0.026632048189640045,
0.003441093722358346,
0.02168225310742855,
0.0019839531742036343,
0.007061528041958809,
-0.026398906484246254,
-0.07639900594949722,
0.005694057326763868,
0.005420563276857138,
0.04648502916097641,
0.010276204906404018,
-0.04522964730858803,
0.042360201478004456,
-0.01830168627202511,
-0.005882364697754383,
-0.014759714715182781,
-0.04759693890810013,
-0.04555245861411095,
0.001137690618634224,
0.022578954696655273,
0.043902527540922165,
-0.06248219311237335,
0.07733158022165298,
0.007841658778488636,
-0.05121961608529091,
-0.014356198720633984,
0.003613709006458521,
-0.06334302574396133,
0.007523329462856054,
-0.02266862615942955,
0.005886848550289869,
0.0013091848231852055,
0.011361214332282543,
-0.06965580582618713,
-0.0020478430669754744,
0.01624823920428753,
-0.0804162323474884,
-0.002497314941138029,
0.01994265243411064,
0.02586088515818119,
0.007021176163107157,
-0.041463498026132584,
0.02747494913637638,
0.05814215540885925,
-0.012123410589993,
0.05968448147177696,
0.03398500382900238,
-0.004301927518099546,
-0.0004528345016296953,
0.005277091171592474,
0.029896043241024017,
-0.0033671159762889147,
-0.0013327233027666807,
0.0425754077732563,
0.023045239970088005,
0.018669335171580315,
0.00038726316415704787,
0.022740362212061882,
-0.011415015906095505,
-0.02378053590655327,
-0.025878818705677986,
-0.015880592167377472,
0.06843629479408264,
0.04644916206598282,
-0.044691625982522964,
-0.02700866386294365,
-0.019960585981607437,
-0.03253234550356865,
0.052690207958221436,
-0.033500786870718,
0.017091140151023865,
0.03683651611208916,
-0.04121242091059685,
0.03898860141634941,
-0.025771213695406914,
0.00922706350684166,
0.015261867083609104,
-0.04372318834066391,
-0.004878058563917875,
-0.0004814168787561357,
-0.013154617510735989,
0.0331241711974144,
0.017091140151023865,
0.05681503564119339,
-0.02105456218123436,
0.01809544488787651,
-0.018086478114128113,
0.036137089133262634,
-0.013280156068503857,
0.0693688616156578,
0.017485687509179115,
0.03701585531234741,
-0.08285526186227798,
0.0461263507604599,
0.007115330081433058,
0.0046269819140434265,
-0.017252545803785324,
-0.04444054886698723,
-0.01580885611474514,
-0.04892405867576599,
-0.024264754727482796,
-0.0028492705896496773,
0.05921819806098938,
-0.006891154684126377,
0.002974808681756258,
0.024264754727482796,
0.04566006362438202,
-0.021700186654925346,
-0.06258979439735413,
-0.04103308171033859,
0.00995339173823595,
0.033536653965711594,
-0.010195501148700714,
-0.03776908665895462,
-0.016185469925403595,
0.051004406064748764,
0.05416079983115196,
-0.0555955208837986,
0.01703733764588833,
-0.07130573689937592,
0.01533360406756401,
-0.026345103979110718,
0.010832159779965878,
0.03280135616660118,
-0.010661786422133446,
0.0036652693524956703,
0.013845078647136688,
0.00865317415446043,
-0.032729621976614,
-0.014956988394260406,
-0.04777628183364868,
0.07460560649633408,
0.03075687773525715,
-0.043902527540922165,
0.042288463562726974,
0.0191176850348711,
-0.03181498497724533,
0.05832149460911751,
-0.006142408587038517,
-0.043579716235399246,
0.08852241933345795,
-0.030129186809062958,
-0.031079690903425217,
0.011423982679843903,
0.011477785184979439,
0.029698768630623817,
0.03375186026096344,
-0.0445481538772583,
-0.06093986704945564,
0.044332943856716156,
-0.027690157294273376,
-0.03167151287198067,
-0.014804549515247345,
0.017396017909049988,
0.011092203669250011,
0.02204093523323536,
-0.035114847123622894,
0.04684371128678322,
-0.005026014521718025,
-0.027905365452170372,
-0.017799533903598785,
-0.05017944052815437,
-0.003719071391969919,
-0.029286285862326622,
0.0800575539469719,
0.02661411464214325,
0.030057450756430626,
-0.0065862759947776794,
-0.06714504212141037,
-0.02266862615942955,
-0.03441542014479637,
-0.08450519293546677,
-0.046700239181518555,
-0.06054531782865524,
0.00461353175342083,
-0.007429176010191441,
0.08285526186227798,
0.034792035818099976,
0.05606180801987648,
0.015486042946577072,
0.005819595884531736,
0.07403171062469482,
-0.0354914627969265,
-0.01687593013048172,
0.04817083105444908,
-0.06689396500587463,
0.0358860120177269,
-0.020337199792265892,
0.06789827346801758,
-0.08565296977758408,
-0.052295658737421036,
-0.05168589949607849,
-0.026111960411071777,
0.008097218349575996,
0.0195122342556715,
-0.007702670060098171,
-0.09591124206781387,
-0.024820709601044655,
0.03690825402736664,
0.050251178443431854,
-0.03185085207223892,
-0.02516145631670952,
-0.06416799128055573,
0.03999290615320206,
0.00942433811724186,
0.029788440093398094,
0.010437610559165478,
-0.003526280401274562,
-0.031133491545915604,
0.016337910667061806,
0.03425401449203491,
-0.02132357284426689,
0.04214499145746231,
-0.030308526009321213,
0.03244267776608467,
-0.029591165482997894,
-0.03366219252347946,
0.020121991634368896,
0.007648867554962635,
0.03906033933162689,
-0.08048796653747559,
-0.04418947175145149,
-0.017449820414185524,
0.0378408245742321,
0.050753332674503326,
0.010993566364049911,
-0.027385277673602104,
0.021771924570202827,
0.0425754077732563,
-0.03375186026096344,
0.011657125316560268,
-0.07248938828706741,
0.06947647035121918,
0.013280156068503857,
-0.00551023380830884,
-0.04895992577075958,
-0.009980292990803719,
0.010930797085165977,
-0.046341557055711746,
-0.020642079412937164,
0.024892445653676987,
0.017557423561811447,
-0.03497137501835823,
-0.02250721864402294,
-0.0048197731375694275,
0.055990070104599,
-0.05053812265396118,
0.011531587690114975,
-0.025968488305807114,
-0.038737524300813675,
-0.002952391281723976,
0.023744668811559677,
-0.046305689960718155,
-0.01399751752614975,
0.050645727664232254,
-0.003575599053874612,
0.05279781296849251,
-0.011397082358598709,
-0.010267237201333046,
-0.05893125385046005,
-0.0032550280448049307,
0.0034702366683632135,
-0.023403922095894814,
-0.014239626936614513,
-0.02487451210618019,
0.02243548259139061,
0.12216667830944061,
-0.03945488482713699,
-0.041068948805332184,
0.012984244152903557,
0.018561730161309242,
0.06054531782865524,
0.002405402949079871,
0.04053092747926712,
0.03708759322762489,
0.008989437483251095,
0.033536653965711594,
0.024031613022089005,
0.032729621976614,
0.0034209180157631636,
0.03296276554465294,
0.03480996936559677,
-0.05688677355647087,
-0.011217741295695305,
-0.014652109704911709,
0.03023678995668888,
-0.016095800325274467,
-0.002674413612112403,
0.000978526077233255,
0.026703784242272377,
0.01832858845591545,
-0.019350828602910042,
0.02200506627559662,
-0.0022271834313869476,
-0.008415548130869865,
-0.015521910972893238,
-0.0323171392083168,
-0.002099403413012624,
-0.0047076852060854435,
-0.0026699299924075603,
-0.06086812913417816,
-0.02227407693862915,
-0.03974183276295662,
-0.013809210620820522,
-0.04088960960507393,
-0.03694412112236023,
-0.07582511752843857,
0.021789858117699623,
0.004976695869117975,
-0.02546633593738079,
-0.019171487540006638,
-0.0073664067313075066,
-0.008509702049195766,
-0.02641684003174305,
-0.003719071391969919,
-0.028909672051668167,
0.015432240441441536,
-0.008935634978115559,
-0.002050084760412574,
0.0477045439183712,
0.034038808196783066,
-0.010078930296003819,
0.031958457082509995,
-0.013889913447201252,
0.0015176681336015463,
-0.0595410093665123,
0.03602948412299156,
-0.003947730176150799,
-0.02546633593738079,
-0.06807761639356613,
-0.020570343360304832,
-0.025412533432245255,
-0.09605471789836884,
0.03368012607097626,
-0.03891686350107193,
-0.023081108927726746,
0.07704463601112366,
0.04081787168979645,
-0.01492112036794424,
0.014696945436298847,
0.02338598668575287,
0.0027394245844334364,
-0.06614073365926743,
-0.010590050369501114,
0.029913976788520813,
0.060581184923648834,
-0.013002178631722927,
-0.01848999410867691,
-0.06459841132164001,
0.0374462753534317,
0.0406026653945446,
0.02408541552722454,
-0.0044409167021512985,
0.02783362939953804,
-0.02349359169602394,
-0.032622016966342926,
-0.01334292534738779,
0.02944769337773323,
-0.049103397876024246,
0.05154242739081383,
-0.07022969424724579,
-0.017530523240566254,
0.02062414586544037,
-0.024264754727482796,
0.02148497849702835,
-0.02361913025379181,
0.040746137499809265,
0.020911090075969696,
-0.050466388463974,
0.021771924570202827,
-0.04444054886698723,
-0.00377959874458611,
-0.03938315063714981,
0.04569593071937561,
0.016651755198836327,
0.0024323039688169956,
-0.03168944641947746,
-0.030541669577360153,
0.016732458025217056,
0.017324281856417656,
-0.05749652907252312,
0.018543796613812447,
0.01974537782371044,
-0.014813516288995743,
0.011881301179528236,
-0.022130604833364487,
-0.01427549496293068,
0.03414640948176384,
-0.020785551518201828,
-0.027223872020840645,
-0.004573179874569178,
-0.009061173535883427,
0.008397613652050495,
0.0009796469239518046,
0.010876994580030441,
0.08845068514347076,
0.01703733764588833,
0.014051320031285286,
-0.02263275720179081,
0.027331475168466568,
0.004295202437788248,
-0.022955570369958878,
0.003196742618456483,
-0.026398906484246254,
0.017790567129850388,
-0.006272430066019297,
0.04200151935219765,
-0.033375248312950134,
0.008106186054646969,
-0.057388924062252045,
0.0289814081043005,
-0.02397781051695347,
0.05649222433567047,
-0.061406150460243225,
-0.022543087601661682,
0.008115152828395367,
-0.010455545037984848,
0.007438142783939838,
0.013782309368252754,
0.024820709601044655,
-0.019727442413568497,
0.043113429099321365,
0.022130604833364487,
-0.08823547512292862,
0.023672932758927345,
-0.019332895055413246,
0.010374841280281544,
0.010661786422133446,
0.0030151603277772665,
0.04956968501210213,
-0.018866609781980515,
-0.052295658737421036,
0.050681594759225845,
-0.018436191603541374,
-0.01848999410867691,
-0.030613405629992485,
0.019404631108045578,
0.010832159779965878,
0.01129844505339861,
0.00016841183241922408,
0.026273367926478386,
0.11728861927986145,
-0.10136318951845169,
0.03366219252347946,
-0.0013047013198956847,
-0.020373068749904633,
-0.07166442275047302,
-0.035025179386138916,
0.019153553992509842,
-0.029824307188391685,
0.04027985408902168,
-0.024354426190257072,
-0.019763311371207237,
-0.009119459427893162,
-0.00755919748917222,
-0.005268123932182789,
-0.10157839953899384,
-0.017378084361553192,
0.04135589301586151,
0.024121282622218132,
-0.01987091638147831,
0.0029434242751449347,
-0.009236030280590057,
0.02283003181219101,
0.05035878345370293,
-0.015486042946577072,
0.08285526186227798,
0.0018203050130978227,
0.008967019617557526,
0.06004316359758377,
0.06531576812267303,
-0.025376666337251663,
0.07202310115098953,
0.04096134752035141,
0.056958507746458054,
0.042683012783527374,
-0.009370535612106323,
0.011908202432096004,
-0.008778711780905724,
-0.03898860141634941,
-0.019817113876342773,
-0.015764020383358,
0.01802370883524418,
-0.023260448127985,
0.0065997266210615635,
-0.05925406515598297,
0.06761132925748825,
-0.01492112036794424,
-0.006164825987070799,
-0.020283399149775505,
0.011092203669250011,
0.01549500972032547,
0.047489337623119354,
-0.0246413704007864,
-0.01240138802677393,
-0.049103397876024246,
0.00780579075217247,
-0.045086175203323364,
-0.009164294227957726,
-0.09160707145929337,
-0.005303991958498955,
-0.054304271936416626,
-0.02006818912923336,
0.015342570841312408,
-0.023959876969456673,
0.020677946507930756,
0.03949075564742088,
0.014078221283853054,
0.01805061101913452,
0.06445493549108505,
-0.0024950732477009296,
-0.021825725212693214,
0.03635229915380478,
0.013854045420885086,
0.04519378021359444,
0.013136683963239193,
-0.007666802033782005,
0.027618421241641045,
0.02220234088599682,
-0.011486751958727837,
-0.0031115557067096233,
-0.012365520000457764,
-0.00630829855799675,
-0.0031675996724516153,
-0.07431866228580475,
0.019601905718445778,
0.0025668093003332615,
-0.019781244918704033,
0.02286590076982975,
-0.04286235570907593,
0.03151010721921921,
0.012661431916058064,
-0.00891321711242199,
0.017530523240566254,
-0.04121242091059685,
0.008720426820218563,
-0.047094788402318954,
0.05473468825221062,
0.024569634348154068,
0.008343812078237534,
0.008155504241585732,
0.008841481059789658,
-0.02250721864402294,
-0.02250721864402294,
0.006043771281838417,
-0.044727493077516556,
-0.07360129803419113,
-0.035419728606939316,
-0.03906033933162689,
0.06502882391214371,
0.0044767847284674644,
0.013970616273581982,
0.008088251575827599,
-0.02408541552722454,
-0.0010995807824656367,
0.011567455716431141,
0.021825725212693214,
-0.08385957032442093,
-0.026237498968839645,
0.01692076586186886,
-0.04304169490933418,
-0.011540554463863373,
-0.009899589233100414,
-0.04759693890810013,
-0.019960585981607437,
-0.05448361113667488,
-0.011486751958727837,
-0.052295658737421036,
-0.004176389425992966,
0.09103318303823471,
0.009352601133286953,
-0.03963422775268555,
-0.0027797759976238012,
-0.04734586551785469,
-0.006779066752642393,
0.035509396344423294,
0.025950554758310318,
0.006079639308154583,
0.029680835083127022,
0.001582678989507258,
-0.026703784242272377,
-0.010195501148700714,
0.03647783771157265,
0.0492827408015728,
-0.029124880209565163,
0.022381681948900223,
-0.0055909366346895695,
-0.042324334383010864,
0.036800649017095566,
0.032119862735271454,
0.03567080572247505,
0.023439789190888405,
-0.01999645307660103,
0.022740362212061882,
-0.011872334405779839,
-0.013190485537052155,
0.032514411956071854,
-0.01005202904343605,
-0.00004931860894430429,
-0.03188672289252281,
0.02082142047584057,
0.028443386778235435,
0.08658554404973984,
0.02227407693862915,
0.009747150354087353,
-0.059433408081531525,
0.012365520000457764,
-0.054304271936416626,
-0.06438320130109787,
-0.015835756435990334,
-0.02641684003174305,
0.0520445816218853,
0.0034141927026212215,
0.0012553827837109566,
-0.07474907487630844,
0.022292010486125946,
-0.002038876060396433,
-0.014383099973201752,
0.03780495375394821,
-0.041929785162210464,
0.03730280324816704,
-0.03816363587975502,
-0.0017227886710315943,
0.04304169490933418,
-0.018794873729348183,
-0.012051674537360668,
0.0331062376499176,
0.012078575789928436,
-0.04361558333039284,
0.04167870804667473,
-0.08192269504070282,
-0.009702315554022789,
0.0011645916383713484,
0.00865317415446043,
-0.023206647485494614,
-0.03220953419804573,
0.06438320130109787,
-0.0073843407444655895,
-0.00885044876486063,
0.024569634348154068,
0.002317974576726556,
-0.025556005537509918,
-0.03289102762937546,
-0.02803090400993824,
-0.024390293285250664,
0.003719071391969919,
-0.004492477048188448,
0.02266862615942955,
-0.023798469454050064,
0.03299863263964653,
-0.04695131629705429,
0.07051664590835571,
-0.035186585038900375,
-0.007590582128614187,
0.034002937376499176,
0.054232534021139145,
-0.06029424071311951,
0.03382359817624092,
0.011119103990495205,
-0.04088960960507393,
0.09132012724876404,
-0.013002178631722927,
0.035509396344423294,
0.0016151843592524529,
-0.032586149871349335,
-0.026721717789769173,
0.01848999410867691,
-0.041893914341926575,
0.008881833404302597,
0.032388873398303986,
0.032191600650548935,
-0.022525154054164886,
0.05416079983115196,
0.03949075564742088,
-0.040423326194286346,
0.04203738644719124,
-0.011675059795379639,
0.05093267187476158,
-0.05957688018679619,
0.024928314611315727,
0.01125360932201147,
0.028479253873229027,
0.0018662610091269016,
0.002243996597826481,
-0.002214853884652257,
0.08350088447332382
] |
52,113 |
concurrent.futures._base
|
exception
|
Return the exception raised by the call that the future represents.
Args:
timeout: The number of seconds to wait for the exception if the
future isn't done. If None, then there is no limit on the wait
time.
Returns:
The exception raised by the call that the future represents or None
if the call completed without raising.
Raises:
CancelledError: If the future was cancelled.
TimeoutError: If the future didn't finish executing before the given
timeout.
|
def exception(self, timeout=None):
"""Return the exception raised by the call that the future represents.
Args:
timeout: The number of seconds to wait for the exception if the
future isn't done. If None, then there is no limit on the wait
time.
Returns:
The exception raised by the call that the future represents or None
if the call completed without raising.
Raises:
CancelledError: If the future was cancelled.
TimeoutError: If the future didn't finish executing before the given
timeout.
"""
with self._condition:
if self._state in [CANCELLED, CANCELLED_AND_NOTIFIED]:
raise CancelledError()
elif self._state == FINISHED:
return self._exception
self._condition.wait(timeout)
if self._state in [CANCELLED, CANCELLED_AND_NOTIFIED]:
raise CancelledError()
elif self._state == FINISHED:
return self._exception
else:
raise TimeoutError()
|
(self, timeout=None)
|
[
0.008121001534163952,
-0.05306829512119293,
0.015539845451712608,
0.07805030792951584,
0.02012234553694725,
-0.07258087396621704,
-0.011068213731050491,
-0.04589890316128731,
0.06031160056591034,
-0.045048922300338745,
0.05399218574166298,
-0.008804680779576302,
-0.003540812060236931,
-0.03906210884451866,
0.02838193066418171,
0.05676386132836342,
0.01975278928875923,
0.00881853885948658,
-0.002972619142383337,
-0.027494994923472404,
0.023910297080874443,
0.010985063388943672,
-0.019438665360212326,
-0.09298038482666016,
0.026552625000476837,
0.08078502118587494,
0.025185266509652138,
0.022783150896430016,
0.005972954910248518,
-0.02030712366104126,
-0.0301373228430748,
-0.02599829062819481,
-0.08455450087785721,
0.029675377532839775,
0.014043142087757587,
0.030044933781027794,
-0.049964021891355515,
0.06145722419023514,
-0.00695227924734354,
-0.04353374242782593,
-0.08721530437469482,
-0.01635286957025528,
-0.06308327615261078,
-0.0016364417970180511,
0.0015971764223650098,
-0.023799430578947067,
-0.010393773205578327,
-0.008740008808672428,
-0.02208099327981472,
-0.004349216818809509,
0.024704843759536743,
0.04028164595365524,
0.014237159863114357,
-0.03270573914051056,
-0.01628819666802883,
0.05602474883198738,
-0.006707448046654463,
0.015706146135926247,
-0.000672130670864135,
-0.004508587997406721,
-0.04460545629262924,
0.03806430846452713,
0.029934067279100418,
0.021157102659344673,
-0.018976720049977303,
0.08307627588510513,
0.01885661482810974,
0.00028221981483511627,
-0.01800663396716118,
0.02525917813181877,
0.050961825996637344,
0.024889621883630753,
-0.010994302108883858,
-0.00041603963472880423,
0.07465039193630219,
-0.08566316962242126,
-0.06267676502466202,
0.02169295959174633,
-0.03383288532495499,
0.0037440680898725986,
-0.042092472314834595,
0.015308872796595097,
0.0005124707822687924,
-0.024926578626036644,
0.07723728567361832,
-0.002409045584499836,
0.0009591142879799008,
-0.033407896757125854,
-0.04612063616514206,
-0.04870752990245819,
-0.049964021891355515,
-0.03368506208062172,
-0.010523118078708649,
-0.01675938256084919,
-0.02014082297682762,
-0.01509637851268053,
0.01115136407315731,
-0.012481766752898693,
0.001825839513912797,
-0.03180032595992088,
-0.00473032146692276,
0.015003988519310951,
0.019623443484306335,
-0.012694261968135834,
0.052550915628671646,
-0.05399218574166298,
-0.010633984580636024,
-0.000631132978014648,
0.049557510763406754,
-0.05935075506567955,
0.000002602954509711708,
-0.01015356183052063,
-0.00789002887904644,
0.01702731102705002,
0.02047342248260975,
-0.024926578626036644,
0.02403964288532734,
0.038138218224048615,
-0.01488388329744339,
-0.01990061067044735,
0.03192967176437378,
0.00881853885948658,
-0.07077004760503769,
0.0012865181779488921,
-0.02525917813181877,
0.04290549457073212,
-0.050407491624355316,
0.035403501242399216,
0.03255791589617729,
-0.00888783112168312,
-0.010846479795873165,
-0.01311925146728754,
0.014523565769195557,
0.0033306267578154802,
-0.02897321991622448,
0.03411005437374115,
-0.008301160298287868,
0.06267676502466202,
-0.02014082297682762,
-0.014911599457263947,
-0.0429794080555439,
-0.0520704947412014,
-0.028862353414297104,
-0.009830200113356113,
0.07309824973344803,
-0.02566569112241268,
-0.054879121482372284,
-0.07346780598163605,
-0.021415792405605316,
-0.01203829888254404,
0.043459828943014145,
-0.0142741147428751,
-0.005326231475919485,
-0.04039251059293747,
0.02245054952800274,
0.023189662024378777,
0.018690314143896103,
-0.02998949959874153,
0.003344485303387046,
-0.01115136407315731,
-0.015262678265571594,
0.024704843759536743,
0.016260480508208275,
0.013128490187227726,
-0.008139478974044323,
-0.007857692427933216,
0.01576158031821251,
-0.012260032817721367,
0.027070004492998123,
0.01682405360043049,
-0.0309318695217371,
0.033241596072912216,
-0.06877443939447403,
0.013562719337642193,
-0.11692763864994049,
0.05613561347126961,
-0.0035454314202070236,
0.04002295434474945,
-0.032853562384843826,
-0.008125620894134045,
0.03277965262532234,
-0.06271371990442276,
-0.041316404938697815,
0.011262230575084686,
0.03769475221633911,
0.004545543342828751,
0.006065343972295523,
0.05085095763206482,
0.03385136276483536,
-0.023226618766784668,
0.0029679995495826006,
-0.03427635505795479,
0.043459828943014145,
0.05151616036891937,
0.029065608978271484,
-0.0013119251234456897,
-0.021175580099225044,
0.04793146252632141,
0.06589189916849136,
0.05110964551568031,
0.015835490077733994,
0.03730671480298042,
0.03156011551618576,
-0.009700855240225792,
-0.027273260056972504,
-0.04667497053742409,
0.01283284556120634,
-0.06297240406274796,
-0.02030712366104126,
0.02426137588918209,
-0.05968335643410683,
-0.013775213621556759,
-0.05761383846402168,
0.06518974155187607,
0.04102075845003128,
-0.006448758766055107,
-0.027679773047566414,
0.02289401739835739,
0.05994204431772232,
0.08448059111833572,
-0.016907203942537308,
-0.0409468449652195,
0.05221831798553467,
-0.010791046544909477,
0.01863487996160984,
0.04442067816853523,
-0.015853969380259514,
-0.02385486476123333,
0.04334896430373192,
-0.03614261373877525,
-0.005760460160672665,
0.06489410251379013,
-0.04179682582616806,
-0.07516776770353317,
-0.005474053788930178,
0.029638420790433884,
-0.009728571400046349,
-0.027106961235404015,
-0.008550610393285751,
0.001731140655465424,
0.044679366052150726,
-0.012500244192779064,
-0.017175132408738136,
0.03665999323129654,
0.05931380018591881,
-0.0452706553041935,
0.03858168423175812,
0.02027016691863537,
-0.003039601258933544,
-0.01875498704612255,
-0.06788750737905502,
0.002422903897240758,
-0.021175580099225044,
-0.05099878087639809,
-0.013849125243723392,
-0.052550915628671646,
-0.0126203503459692,
0.013183923438191414,
0.03135685995221138,
0.08558925986289978,
0.06814619898796082,
-0.023097272962331772,
0.016112657263875008,
0.009765527211129665,
-0.04763581603765488,
-0.05170093849301338,
-0.031209036707878113,
-0.041094668209552765,
0.04711843654513359,
0.01164102554321289,
0.014551282860338688,
-0.015133333392441273,
-0.026681970804929733,
-0.0398012213408947,
-0.039727311581373215,
-0.0005191112286411226,
-0.04870752990245819,
0.0147822555154562,
-0.060015954077243805,
0.023984208703041077,
-0.03682629391551018,
0.03920993208885193,
-0.016630036756396294,
-0.004346906673163176,
-0.07590688019990921,
0.05406609922647476,
-0.021951649338006973,
0.005889804568141699,
-0.009354395791888237,
0.018625641241669655,
0.023522263392806053,
0.009081847965717316,
0.0015151811530813575,
-0.045824989676475525,
-0.007520472165197134,
-0.03492307662963867,
0.011890476569533348,
-0.01949409954249859,
0.0473032146692276,
0.003970421385020018,
0.03920993208885193,
0.058242086321115494,
0.0016041056951507926,
-0.013710541650652885,
-0.022598372772336006,
-0.039727311581373215,
-0.0004581921675708145,
0.05857468768954277,
-0.023171184584498405,
0.012343183159828186,
-0.007557427976280451,
-0.03569914773106575,
0.010486162267625332,
-0.050961825996637344,
0.04796841740608215,
0.05990508943796158,
0.023762475699186325,
-0.04238811507821083,
0.027143916115164757,
0.005497151054441929,
0.013433374464511871,
-0.0002602773893158883,
0.029287343844771385,
-0.02703304961323738,
-0.06404411792755127,
-0.02067667990922928,
-0.023891819640994072,
0.08248498290777206,
-0.021526658907532692,
0.02503744512796402,
-0.021619047969579697,
-0.06862661987543106,
-0.011853520758450031,
-0.019457142800092697,
-0.045861948281526566,
0.017544688656926155,
0.06918095052242279,
0.002061431761831045,
0.05495303496718407,
0.010061172768473625,
0.010162800550460815,
-0.027347171679139137,
-0.05051835626363754,
0.03392527624964714,
-0.01865335740149021,
-0.04120553657412529,
0.023984208703041077,
0.00799165666103363,
0.03906210884451866,
0.013414896093308926,
0.002159595023840666,
-0.0010174348717555404,
-0.01973430998623371,
0.02051037922501564,
0.013932275585830212,
0.05465738847851753,
-0.0019459453178569674,
-0.027716727927327156,
0.03484916687011719,
-0.029527554288506508,
0.020824501290917397,
0.016703948378562927,
0.0034068478271365166,
-0.002773982472717762,
-0.05358567461371422,
0.030987301841378212,
-0.004358455538749695,
0.04667497053742409,
-0.025942858308553696,
-0.0161496140062809,
-0.023965731263160706,
-0.014976272359490395,
0.001875498564913869,
-0.012768172658979893,
0.04711843654513359,
-0.02112014777958393,
-0.07627643644809723,
0.008952503092586994,
-0.013608913868665695,
0.01618656888604164,
-0.01576158031821251,
-0.039172977209091187,
-0.047229304909706116,
-0.04475327581167221,
-0.011483964510262012,
0.00215382082387805,
0.01677786000072956,
-0.026663493365049362,
0.012601872906088829,
0.06825706362724304,
-0.03898819908499718,
0.004178296774625778,
-0.011548636481165886,
0.024982010945677757,
-0.012685022316873074,
-0.012195360846817493,
0.02267228439450264,
-0.025499390438199043,
0.013673585839569569,
-0.03253943845629692,
-0.019623443484306335,
0.08071111142635345,
0.014662149362266064,
0.0050583030097186565,
0.03277965262532234,
0.05051835626363754,
0.013276312500238419,
-0.08041546493768692,
0.016620798036456108,
-0.024797232821583748,
-0.037546928972005844,
-0.01606646366417408,
-0.0033537240233272314,
-0.025517867878079414,
-0.009109565056860447,
0.060828980058431625,
-0.022801628336310387,
-0.019623443484306335,
0.010772568173706532,
-0.027070004492998123,
-0.009414448402822018,
-0.05395523086190224,
-0.03215140476822853,
-0.015576801262795925,
-0.022413594648241997,
0.0359208807349205,
-0.025536345317959785,
0.057872530072927475,
-0.05011184513568878,
-0.0018627950921654701,
-0.034775253385305405,
0.04593585804104805,
0.011899715289473534,
0.015262678265571594,
0.03961644321680069,
0.019586488604545593,
0.007700630929321051,
-0.018089784309267998,
0.005367806181311607,
0.03839690610766411,
0.019956044852733612,
0.005802035331726074,
-0.03510785475373268,
0.03313072770833969,
0.054694343358278275,
-0.06212242692708969,
0.02780911698937416,
0.06286153942346573,
0.03266878426074982,
-0.00620392756536603,
0.07819812744855881,
0.034590475261211395,
0.054361741989851,
0.01282360590994358,
-0.013913797214627266,
0.009978022426366806,
-0.07073309272527695,
-0.008721530437469482,
-0.026349369436502457,
-0.0010047313990071416,
0.01574310101568699,
0.02684827148914337,
0.04538152366876602,
-0.06966137886047363,
-0.043644607067108154,
0.016565363854169846,
0.08773268759250641,
-0.04449458792805672,
-0.00017582799773663282,
-0.0014031593455001712,
0.01892128586769104,
-0.02267228439450264,
-0.027106961235404015,
-0.04179682582616806,
0.0009926053462550044,
-0.013562719337642193,
0.008370451629161835,
0.07864160090684891,
0.044051121920347214,
-0.04264680668711662,
0.023910297080874443,
-0.02422442100942135,
0.027254782617092133,
-0.03353724256157875,
-0.0037440680898725986,
0.03665999323129654,
0.0075897639617323875,
-0.013978470116853714,
0.02679283730685711,
-0.004065120127052069,
-0.04981619864702225,
0.007603622507303953,
0.041722916066646576,
0.02836345136165619,
0.0693657323718071,
-0.04453154280781746,
-0.07479821145534515,
0.05362262949347496,
-0.030876435339450836,
0.007668294943869114,
0.007381888572126627,
-0.019678877666592598,
0.011012780480086803,
-0.008638380095362663,
0.03141229227185249,
-0.06134635955095291,
-0.04981619864702225,
-0.010532356798648834,
0.08758486062288284,
-0.03364810720086098,
0.04005991294980049,
0.013738258741796017,
0.00029044822440482676,
-0.046231504529714584,
-0.01598331332206726,
-0.0057373628951609135,
-0.03154163807630539,
0.003374511608853936,
0.043312009423971176,
0.05151616036891937,
0.04198160395026207,
0.030285146087408066,
-0.0005707913660444319,
0.0563943050801754,
-0.06086593493819237,
0.014967033639550209,
0.058685552328825,
-0.02403964288532734,
-0.02937973290681839,
-0.0008921321714296937,
-0.04460545629262924,
-0.027550427243113518,
0.011853520758450031,
-0.025166789069771767,
0.006767501123249531,
-0.013193163089454174,
-0.07864160090684891,
0.08470232039690018,
-0.05946161970496178,
-0.04763581603765488,
-0.03056231327354908,
0.0657440796494484,
0.028067806735634804,
0.02287553995847702,
-0.02304184064269066,
-0.03686324879527092,
-0.036974117159843445,
0.05813121795654297,
0.0007512388401664793,
-0.013350224122405052,
0.06193764880299568,
0.005192267242819071,
0.06903313100337982,
-0.04811624065041542,
0.021397314965724945,
0.0012807438615709543,
0.04734017327427864,
0.028936265036463737,
-0.0017484636045992374,
-0.003716351231560111,
-0.017507733777165413,
0.01388608105480671,
0.022820105776190758,
-0.06555930525064468,
-0.013174684718251228,
-0.008957122452557087,
0.034368742257356644,
-0.017008831724524498,
0.029823198914527893,
-0.03555132448673248,
-0.022173382341861725,
0.06685274839401245,
-0.016223525628447533,
-0.009876394644379616,
-0.040096867829561234,
0.005922141019254923,
0.010366056114435196,
0.020029956474900246,
0.018320757895708084,
0.019956044852733612,
-0.0018293040338903666,
-0.07805030792951584,
-0.04885535314679146,
-0.04017077758908272,
-0.042868539690971375,
0.04238811507821083,
-0.011465487070381641,
-0.01409857627004385,
-0.01309153437614441,
0.041722916066646576,
0.012731216847896576,
-0.02206251583993435,
0.03015580028295517,
-0.025092877447605133,
0.058685552328825,
0.04926186427474022,
0.026903703808784485,
-0.009151140227913857,
0.0037117318715900183,
-0.0012276200577616692,
0.020750591531395912,
-0.037177372723817825,
-0.01604798622429371,
-0.006481095217168331,
-0.03277965262532234,
0.006190069485455751,
-0.0800459086894989,
0.019364753738045692,
-0.001098852837458253,
-0.051959626376628876,
0.03488612174987793,
-0.02585046924650669,
-0.009931827895343304,
0.01270350068807602,
-0.07173088937997818,
0.029287343844771385,
-0.0768677294254303,
0.028751486912369728,
-0.045233700424432755,
0.006943040527403355,
-0.03850777447223663,
0.036733902990818024,
-0.029693854972720146,
-0.01845010183751583,
-0.003998138010501862,
-0.05624648183584213,
0.006531909108161926,
-0.055876925587654114,
-0.08477623015642166,
0.0039819697849452496,
-0.012472528032958508,
0.06725925952196121,
0.02112014777958393,
-0.0327426940202713,
-0.0504814013838768,
0.032243795692920685,
0.03741758316755295,
0.014948555268347263,
-0.008328876458108425,
0.003536192700266838,
0.0074511803686618805,
-0.01559527963399887,
-0.08721530437469482,
-0.006536528468132019,
0.03327855095267296,
0.018071306869387627,
-0.006185449659824371,
-0.0591290220618248,
0.010088888928294182,
-0.03608718141913414,
-0.024593977257609367,
0.02801237441599369,
-0.02564721181988716,
-0.0745764747262001,
-0.056468214839696884,
-0.06341587752103806,
-0.00014284219651017338,
0.005159930791705847,
0.026367846876382828,
0.0702526643872261,
0.009913349524140358,
0.008827777579426765,
-0.049409687519073486,
-0.02306031808257103,
0.013248596340417862,
0.0019471001578494906,
-0.02522222325205803,
-0.032835084944963455,
-0.028067806735634804,
0.0024436914827674627,
0.018154457211494446,
-0.020621245726943016,
0.03137533739209175,
0.045640211552381516,
0.02719935029745102,
-0.001884737517684698,
-0.044457633048295975,
0.004164438229054213,
0.0073449332267045975,
0.01857020892202854,
0.0736895427107811,
0.014736060984432697,
-0.03575458005070686,
0.044827189296483994,
0.02703304961323738,
0.024021165445446968,
0.06304632127285004,
0.007377269212156534,
0.009839438833296299,
-0.031098168343305588,
-0.03176337108016014,
-0.021138625219464302,
-0.04904013127088547,
0.0706961378455162,
0.0024991249665617943,
-0.012546438723802567,
-0.037731707096099854,
-0.02052885666489601,
0.01467138808220625,
0.04966837912797928,
0.04538152366876602,
-0.031652502715587616,
-0.01696263812482357,
-0.0274026058614254,
0.03847081959247589,
0.020639723166823387,
0.02403964288532734,
0.0579833947122097,
0.029934067279100418,
-0.00793160405009985,
-0.004270685836672783,
0.0031966627575457096,
0.007585144601762295,
0.0014770706184208393,
-0.021397314965724945,
0.019808221608400345,
0.025462433695793152,
-0.005275417119264603,
-0.008208771236240864,
0.03429483249783516,
0.009589987806975842,
0.0005918676615692675,
0.06696361303329468,
-0.051959626376628876,
-0.023503785952925682,
0.03015580028295517,
-0.027661295607686043,
0.029102565720677376,
0.04789450764656067,
0.05916597694158554,
0.019604966044425964,
0.06537452340126038,
0.038544729351997375,
0.04438371956348419,
-0.01212144922465086,
0.007668294943869114,
0.020233212038874626,
0.04626845940947533,
-0.05498998984694481,
0.04989011213183403,
0.014107814989984035,
0.008379691280424595,
0.017359910532832146,
0.0137013029307127,
0.09194562584161758,
0.020953847095370293,
-0.043644607067108154,
0.03156011551618576,
0.03641978278756142,
-0.054879121482372284,
-0.016417542472481728,
0.020233212038874626,
0.05299438536167145,
-0.024205943569540977,
0.033980708569288254,
-0.048227109014987946,
0.009067989885807037,
0.0402446910738945,
-0.0032913614995777607,
0.05946161970496178,
-0.019641920924186707,
-0.014837688766419888,
-0.01794196292757988,
0.01606646366417408,
-0.03514481335878372,
0.04238811507821083,
-0.014689866453409195,
0.025758080184459686
] |
52,114 |
concurrent.futures._base
|
result
|
Return the result of the call that the future represents.
Args:
timeout: The number of seconds to wait for the result if the future
isn't done. If None, then there is no limit on the wait time.
Returns:
The result of the call that the future represents.
Raises:
CancelledError: If the future was cancelled.
TimeoutError: If the future didn't finish executing before the given
timeout.
Exception: If the call raised then that exception will be raised.
|
def result(self, timeout=None):
"""Return the result of the call that the future represents.
Args:
timeout: The number of seconds to wait for the result if the future
isn't done. If None, then there is no limit on the wait time.
Returns:
The result of the call that the future represents.
Raises:
CancelledError: If the future was cancelled.
TimeoutError: If the future didn't finish executing before the given
timeout.
Exception: If the call raised then that exception will be raised.
"""
try:
with self._condition:
if self._state in [CANCELLED, CANCELLED_AND_NOTIFIED]:
raise CancelledError()
elif self._state == FINISHED:
return self.__get_result()
self._condition.wait(timeout)
if self._state in [CANCELLED, CANCELLED_AND_NOTIFIED]:
raise CancelledError()
elif self._state == FINISHED:
return self.__get_result()
else:
raise TimeoutError()
finally:
# Break a reference cycle with the exception in self._exception
self = None
|
(self, timeout=None)
|
[
0.01881636492908001,
-0.06336387991905212,
0.008101233281195164,
0.048236630856990814,
0.023951470851898193,
-0.03138532489538193,
-0.02658390812575817,
-0.0864625871181488,
0.055318258702754974,
-0.04541881009936333,
0.035890132188797,
0.02893827110528946,
-0.001919871661812067,
-0.04412113130092621,
0.009259875863790512,
0.05910006910562515,
0.02608337439596653,
-0.018186062574386597,
-0.01791725866496563,
0.020262351259589195,
0.01913151517510414,
0.0006036530830897391,
0.01128981914371252,
-0.07467223703861237,
0.05098029971122742,
0.04838493838906288,
0.016804959625005722,
-0.013977871276438236,
-0.0008695616852492094,
0.019557897001504898,
-0.025786763057112694,
0.005464161280542612,
-0.08038202673196793,
0.02552722580730915,
0.0294388048350811,
0.04760633036494255,
-0.0299022626131773,
0.03531544283032417,
-0.007999272085726261,
0.007679486647248268,
-0.07941803336143494,
-0.04337960109114647,
-0.041562847793102264,
0.01888124831020832,
-0.01639711856842041,
-0.046382803469896317,
-0.01605415903031826,
0.005033145658671856,
-0.0074338545091450214,
-0.015544356778264046,
0.05694963037967682,
0.031125789508223534,
-0.025545764714479446,
-0.037558577954769135,
-0.012476269155740738,
0.039857324212789536,
-0.003916213754564524,
0.030736485496163368,
-0.003807301400229335,
0.004483948927372694,
-0.020874114707112312,
0.015219936147332191,
0.037187810987234116,
0.021078037098050117,
-0.022412793710827827,
0.058618076145648956,
0.02506376802921295,
0.020633118227124214,
-0.01937251351773739,
0.02649121731519699,
0.036409202963113785,
0.04226730391383171,
-0.005093395244330168,
-0.022653790190815926,
0.04549296572804451,
-0.06380879878997803,
-0.035259827971458435,
0.0009802121203392744,
-0.029679803177714348,
0.015859507024288177,
-0.05869222804903984,
0.011401048861443996,
0.01617465913295746,
-0.06848044693470001,
0.019112978130578995,
0.011883044615387917,
0.005941522307693958,
-0.04393574967980385,
-0.04282345250248909,
-0.03896748647093773,
-0.03207124397158623,
-0.014617442153394222,
-0.012133311480283737,
0.008110501803457737,
-0.026250218972563744,
-0.03705804422497749,
-0.0029105115681886673,
-0.02291332744061947,
-0.008875207044184208,
-0.010622440837323666,
-0.013449530117213726,
0.03993147611618042,
0.044973891228437424,
-0.03607551380991936,
0.07971464842557907,
-0.024915462359786034,
-0.023580705747008324,
-0.0007450075354427099,
0.061435893177986145,
-0.0013822612818330526,
0.01760210655629635,
0.009760409593582153,
-0.013236339204013348,
0.023358246311545372,
0.019835971295833588,
-0.014598904177546501,
-0.011790352873504162,
0.040413472801446915,
-0.05787654221057892,
0.013319761492311954,
0.013625643216073513,
0.00021391449263319373,
0.005190721247345209,
-0.004537246655672789,
-0.051351066678762436,
0.09588003903627396,
-0.037558577954769135,
0.01878855749964714,
0.022561099380254745,
0.0018283389508724213,
0.024581773206591606,
0.0017877863720059395,
0.015358973294496536,
0.033146463334560394,
0.0018538290169090033,
0.06981520354747772,
-0.007804620545357466,
0.04871862754225731,
-0.011938659474253654,
0.013477337546646595,
-0.013217801228165627,
-0.051907215267419815,
-0.01922420784831047,
-0.01442279014736414,
0.09209822863340378,
-0.01996573805809021,
0.00487557053565979,
-0.049571387469768524,
-0.02838212251663208,
-0.0340363010764122,
0.04723556339740753,
-0.029179269447922707,
0.037261962890625,
-0.024322237819433212,
0.004270758479833603,
0.017463069409132004,
0.046938952058553696,
-0.04775463789701462,
-0.006502305623143911,
-0.054947491735219955,
-0.012133311480283737,
-0.0045974962413311005,
0.020633118227124214,
-0.013449530117213726,
-0.014079831540584564,
0.009463797323405743,
0.04857032001018524,
-0.0033253058791160583,
0.0012038302375003695,
0.02984664775431156,
-0.04033932089805603,
0.029290499165654182,
-0.06191788986325264,
0.017963603138923645,
-0.09728895127773285,
0.04630865156650543,
-0.013699796982109547,
0.025508686900138855,
0.014793556183576584,
-0.00863420870155096,
0.007920484989881516,
-0.05884053558111191,
-0.044417742639780045,
-0.017954334616661072,
0.01844559982419014,
0.009862370789051056,
0.012309424579143524,
0.04360206052660942,
0.03577890247106552,
-0.020132582634687424,
-0.0418594591319561,
-0.01844559982419014,
0.06651538610458374,
0.006080559454858303,
0.030717946588993073,
-0.03433291241526604,
-0.03223808854818344,
0.07697097957134247,
0.03974609449505806,
0.016072697937488556,
0.009621372446417809,
-0.0232284776866436,
0.038485489785671234,
-0.009245972149074078,
-0.02387731894850731,
-0.03136678785085678,
0.002070495393127203,
0.009463797323405743,
-0.0116142388433218,
0.010103368200361729,
-0.05413180962204933,
-0.0015178225003182888,
-0.06002698466181755,
0.06607046723365784,
-0.010919053107500076,
-0.050906144082546234,
-0.01133616454899311,
-0.0014448279980570078,
0.07608114182949066,
0.07092750072479248,
-0.03665019944310188,
-0.08008541166782379,
0.05568902567028999,
0.0074060470797121525,
-0.02953149750828743,
0.0473838709294796,
-0.023172862827777863,
-0.02263525314629078,
0.06388294696807861,
-0.07122411578893661,
-0.0006100255995988846,
0.022653790190815926,
-0.0067108613438904285,
-0.09410036355257034,
-0.03922702372074127,
0.0012675556354224682,
-0.002523524686694145,
0.02851189114153385,
-0.0266766007989645,
0.026620985940098763,
0.0207072701305151,
-0.012003542855381966,
-0.005005338229238987,
0.014265215024352074,
-0.0013695162488147616,
-0.044973891228437424,
0.05498456954956055,
0.017212802544236183,
0.03132971003651619,
-0.030384257435798645,
-0.0708533450961113,
-0.0216156467795372,
0.012967534363269806,
-0.03627943620085716,
-0.014988208189606667,
-0.06417956203222275,
0.01179962232708931,
-0.015488741919398308,
0.05620809644460678,
0.07749005407094955,
0.06721983850002289,
-0.026509756222367287,
0.00843028724193573,
0.025731148198246956,
-0.07537668943405151,
-0.03348015248775482,
-0.046901874244213104,
-0.04723556339740753,
0.04389867186546326,
0.007633141241967678,
0.042526837438344955,
-0.047495100647211075,
-0.03741027042269707,
-0.052055519074201584,
-0.053798120468854904,
-0.0037007061764597893,
-0.04237853363156319,
0.023376785218715668,
-0.07070504128932953,
-0.018176794052124023,
-0.021448802202939987,
0.06721983850002289,
-0.0379478819668293,
-0.05869222804903984,
-0.052685823291540146,
0.03624235838651657,
0.006117635872215033,
-0.0014042755356058478,
0.010464864782989025,
0.02434077486395836,
0.014052024111151695,
-0.01474720984697342,
0.004782878793776035,
-0.04971969500184059,
0.019928662106394768,
-0.019854508340358734,
-0.04297175630927086,
-0.0266766007989645,
-0.002757570706307888,
-0.009945793077349663,
0.009899446740746498,
0.011002475395798683,
-0.024414928629994392,
0.008360768668353558,
-0.02723274938762188,
-0.0067108613438904285,
0.040784239768981934,
0.035445213317871094,
-0.035815976560115814,
0.03996855393052101,
0.012809958308935165,
-0.039264097809791565,
0.03275715932250023,
-0.09313637018203735,
0.040784239768981934,
0.027473745867609978,
0.03904163837432861,
-0.04860739782452583,
0.03703950345516205,
-0.021819567307829857,
-0.00028502620989456773,
0.011975735425949097,
0.05257459357380867,
-0.020169660449028015,
-0.03196001425385475,
-0.006205692887306213,
-0.06325265020132065,
0.09699233621358871,
-0.02673221565783024,
0.020855577662587166,
-0.059137146919965744,
-0.03316500037908554,
-0.018389984965324402,
-0.0017704067286103964,
-0.05746870115399361,
0.01723134145140648,
0.06492109596729279,
0.04801417142152786,
0.06110220402479172,
0.0049126469530165195,
0.03425876051187515,
-0.032497622072696686,
-0.05079491436481476,
0.006659880746155977,
0.005385373253375292,
-0.004493218380957842,
0.012476269155740738,
0.03247908502817154,
0.06477278470993042,
-0.04760633036494255,
-0.023154325783252716,
-0.030439872294664383,
-0.020799962803721428,
0.034796372056007385,
-0.00007574629853479564,
0.05261166766285896,
0.017435261979699135,
-0.035074446350336075,
0.022134719416499138,
-0.01524774357676506,
0.014784286729991436,
0.0207072701305151,
-0.021226342767477036,
-0.020299429073929787,
-0.04356498271226883,
0.005950791295617819,
-0.02903096377849579,
0.06480986624956131,
-0.011669853702187538,
0.0017680894816294312,
-0.027121519669890404,
-0.015609241090714931,
0.020410658791661263,
0.00455810222774744,
0.06506939977407455,
-0.023098710924386978,
-0.053353201597929,
-0.007920484989881516,
-0.025879453867673874,
0.0030078375712037086,
-0.012281617149710655,
-0.0312926359474659,
-0.05528118088841438,
-0.06551431864500046,
0.026750752702355385,
0.01186450570821762,
-0.02387731894850731,
-0.03270154446363449,
-0.0100014079362154,
0.07022304087877274,
-0.03142240270972252,
-0.00916254986077547,
-0.0253047663718462,
0.0009020037250593305,
-0.0024841309059411287,
0.0038304743357002735,
0.05568902567028999,
-0.004676283802837133,
0.005978598725050688,
-0.054725032299757004,
-0.021040959283709526,
0.06136174127459526,
0.005858100019395351,
0.012689460068941116,
0.02437785267829895,
0.03183024376630783,
0.012392846867442131,
-0.10648394376039505,
0.006720130331814289,
-0.04026516526937485,
-0.045752499252557755,
-0.04756925255060196,
-0.006006406154483557,
-0.011697661131620407,
-0.029012424871325493,
0.06822090595960617,
-0.03299815580248833,
0.016480540856719017,
0.04219314828515053,
-0.01308803353458643,
-0.01664738543331623,
-0.027436669915914536,
-0.03220101073384285,
-0.02424808405339718,
-0.019539358094334602,
0.04946015775203705,
-0.009403548203408718,
0.0561339445412159,
-0.06573677808046341,
0.004972896538674831,
-0.0018051660154014826,
0.00757752638310194,
0.00270195584744215,
0.040821317583322525,
0.016415655612945557,
0.0166751928627491,
0.016665922477841377,
0.006261307746171951,
-0.005844196304678917,
0.020021352916955948,
-0.018918326124548912,
0.055132877081632614,
-0.0321824736893177,
0.024637388065457344,
0.037261962890625,
-0.0570237822830677,
0.01608196645975113,
0.028085509315133095,
-0.014450597576797009,
-0.021078037098050117,
0.03766980767250061,
0.016165388748049736,
0.06095390021800995,
0.026750752702355385,
-0.023580705747008324,
0.043120063841342926,
-0.08638843148946762,
-0.00697966618463397,
-0.03455537185072899,
-0.002820137422531843,
0.035352520644664764,
-0.027010289952158928,
0.04059885814785957,
-0.04067301005125046,
-0.07322625070810318,
0.0012142580235376954,
0.05921129882335663,
-0.024915462359786034,
-0.04842201620340347,
0.0021179995965212584,
-0.001479587284848094,
-0.028307968750596046,
-0.03787372633814812,
-0.019150054082274437,
0.015136513859033585,
-0.021504417061805725,
-0.0331093855202198,
0.05313074216246605,
0.018482675775885582,
-0.045604195445775986,
-0.014033486135303974,
0.005102664697915316,
0.03201562911272049,
-0.006159347016364336,
-0.031756091862916946,
0.022653790190815926,
0.05872930586338043,
-0.01088197622448206,
0.05123983323574066,
-0.027010289952158928,
-0.047865867614746094,
0.03436999022960663,
0.06584800779819489,
0.020132582634687424,
0.029309038072824478,
-0.03264592960476875,
-0.055726099759340286,
0.022023489698767662,
-0.017444530501961708,
0.01844559982419014,
0.010335097089409828,
-0.016258081421256065,
-0.014432059600949287,
0.01571120135486126,
0.034518297761678696,
-0.012596768327057362,
-0.02409977838397026,
-0.008907648734748363,
0.06766475737094879,
-0.0018306561978533864,
-0.015136513859033585,
0.04790294170379639,
-0.02295040339231491,
-0.043490830808877945,
-0.026528293266892433,
-0.024804232642054558,
-0.044046979397535324,
-0.017657721415162086,
0.011058090254664421,
0.025935068726539612,
0.027269825339317322,
0.07274425029754639,
-0.016628846526145935,
0.06996350735425949,
-0.046531111001968384,
0.01741672307252884,
0.01487697847187519,
-0.028604581952095032,
-0.029883723706007004,
-0.02456323429942131,
-0.02999495342373848,
-0.04248976334929466,
-0.008388576097786427,
0.0038466951809823513,
0.02061457931995392,
-0.0368170440196991,
-0.08913210034370422,
0.04994215443730354,
-0.06692323088645935,
-0.07229933142662048,
0.005913714878261089,
0.08349645882844925,
-0.014988208189606667,
0.03524129092693329,
0.009667718783020973,
-0.051536448299884796,
-0.011456663720309734,
0.049015238881111145,
0.025378920137882233,
-0.03618674352765083,
0.055874407291412354,
0.0029128289315849543,
0.0625481903553009,
-0.012031350284814835,
0.01750941574573517,
0.016202466562390327,
0.053612735122442245,
0.012707998044788837,
0.008916918188333511,
-0.013468068093061447,
0.02167126163840294,
0.01495113130658865,
-0.009667718783020973,
-0.062103271484375,
-0.02502669207751751,
-0.009510142728686333,
0.05101737380027771,
0.018297292292118073,
0.014793556183576584,
-0.05116568133234978,
0.00025779809220694005,
0.05969329550862312,
-0.003401776310056448,
0.012411385774612427,
-0.016295157372951508,
0.017583569511771202,
0.03246054798364639,
-0.00773973623290658,
0.037187810987234116,
0.040969621390104294,
0.02272794395685196,
-0.09224653244018555,
-0.029420267790555954,
-0.044788509607315063,
-0.028270892798900604,
0.03759565204381943,
-0.03881917893886566,
-0.012809958308935165,
0.019298359751701355,
0.026287296786904335,
0.02111511304974556,
0.007368970662355423,
-0.016406387090682983,
0.018297292292118073,
0.07252179086208344,
0.022894788533449173,
0.008453460410237312,
0.014478405006229877,
0.03462952747941017,
-0.013681258074939251,
0.011271280236542225,
-0.04026516526937485,
-0.01903882436454296,
0.008527613244950771,
-0.03320207819342613,
0.027010289952158928,
-0.10069999098777771,
0.012253809720277786,
0.02636144869029522,
-0.025137921795248985,
0.03468514233827591,
-0.033962149173021317,
-0.0024169296957552433,
0.0178245659917593,
-0.033461615443229675,
0.03855964541435242,
-0.08112356066703796,
0.021745415404438972,
-0.07381947338581085,
0.046160344034433365,
-0.02487838640809059,
0.04256391525268555,
-0.01819533295929432,
0.006043482571840286,
-0.018047025427222252,
-0.04245268553495407,
-0.0186309814453125,
-0.040635932236909866,
-0.05142521858215332,
0.02801135741174221,
-0.03583451732993126,
0.0492376983165741,
0.03273862227797508,
0.00984383188188076,
-0.014200330711901188,
-0.007939022965729237,
0.04764340817928314,
0.03386945649981499,
-0.009658449329435825,
-0.016545424237847328,
-0.01076147798448801,
0.008852033875882626,
-0.06417956203222275,
-0.008782515302300453,
0.01315291691571474,
-0.006928686052560806,
-0.020762884989380836,
-0.021745415404438972,
0.017926527187228203,
-0.010974667966365814,
-0.02328409254550934,
0.056059788912534714,
-0.004555785097181797,
-0.022245949134230614,
-0.011058090254664421,
-0.06907366961240768,
0.04019101336598396,
0.0006360951228998601,
0.014070562086999416,
0.0704084262251854,
-0.015294089913368225,
0.013199263252317905,
-0.04260099306702614,
-0.046345725655555725,
-0.00034556532045826316,
-0.009009608998894691,
-0.03941240534186363,
0.007767543662339449,
-0.04067301005125046,
-0.0014726354274898767,
0.05910006910562515,
-0.01676788367331028,
0.01395933236926794,
0.05046122521162033,
-0.008425652980804443,
0.0010705862659960985,
-0.05183305963873863,
-0.013254878111183643,
0.015145783312618732,
0.009074493311345577,
0.08853887766599655,
-0.0051582795567810535,
-0.027659129351377487,
0.050535380840301514,
-0.010566825978457928,
-0.006080559454858303,
0.05175890773534775,
-0.006951858755201101,
-0.016842037439346313,
-0.05817315727472305,
-0.03518567606806755,
-0.021152189001441002,
-0.007758274674415588,
0.04857032001018524,
-0.036446280777454376,
0.026046298444271088,
-0.047495100647211075,
-0.04067301005125046,
0.011095167137682438,
0.03548228740692139,
0.06558847427368164,
-0.04408405348658562,
-0.007619237527251244,
-0.03155216947197914,
0.019632048904895782,
0.0653289332985878,
0.027659129351377487,
0.03826303035020828,
0.00823100097477436,
-0.0006459435680881143,
0.03881917893886566,
0.005617102142423391,
-0.013440260663628578,
0.0003452756500337273,
-0.0008550786296837032,
0.046197421848773956,
-0.013264146633446217,
0.017565030604600906,
-0.017972873523831367,
0.04319421574473381,
-0.0030286931432783604,
0.0165546927601099,
0.05661593750119209,
-0.04608619213104248,
-0.017379647120833397,
0.051128603518009186,
0.016248811036348343,
0.04089546948671341,
0.05031292140483856,
0.07255887240171432,
-0.015303358435630798,
0.06354925781488419,
0.03407337889075279,
0.02198641188442707,
-0.03948655724525452,
0.015192128717899323,
0.043453752994537354,
0.04486266151070595,
-0.008495171554386616,
0.039634864777326584,
0.015590702183544636,
0.014413520693778992,
0.030736485496163368,
0.005427084397524595,
0.08890964090824127,
-0.0029244152829051018,
-0.0487557053565979,
-0.0011592224473133683,
0.04108085110783577,
-0.06818383187055588,
0.019242744892835617,
0.009816024452447891,
0.04452897235751152,
-0.01741672307252884,
0.060101136565208435,
-0.026787830516695976,
-0.001892064232379198,
0.022394254803657532,
0.022412793710827827,
0.0538351945579052,
-0.023191401734948158,
-0.0026532928459346294,
-0.01583169959485531,
0.05275997519493103,
-0.058803457766771317,
0.016285888850688934,
-0.0349632166326046,
0.04007978364825249
] |
52,115 |
concurrent.futures._base
|
running
|
Return True if the future is currently executing.
|
def running(self):
"""Return True if the future is currently executing."""
with self._condition:
return self._state == RUNNING
|
(self)
|
[
0.08622342348098755,
-0.011605031788349152,
-0.05784609168767929,
0.06705508381128311,
0.0632009506225586,
0.005307958927005529,
0.045669764280319214,
-0.019560573622584343,
0.00947332102805376,
-0.035778626799583435,
0.011255430988967419,
-0.023994531482458115,
0.033851560205221176,
-0.0191001258790493,
0.016695555299520493,
-0.014725855551660061,
0.02309068664908409,
-0.026552584022283554,
-0.03932579234242439,
0.0013355165719985962,
-0.023517029359936714,
0.05293463170528412,
0.04154277220368385,
-0.03966686874628067,
0.01609015092253685,
0.02774634212255478,
-0.0192877147346735,
-0.018281549215316772,
-0.04283885285258293,
0.05907395854592323,
-0.018093958497047424,
-0.0014644850743934512,
0.018298601731657982,
-0.047102272510528564,
0.06350791454315186,
0.06845348328351974,
-0.03470424562692642,
0.021931037306785583,
0.00485603604465723,
-0.04464654251933098,
0.011050786823034286,
-0.04273653030395508,
-0.05180909112095833,
0.07455870509147644,
-0.024659626185894012,
-0.04017847776412964,
0.020123345777392387,
-0.02407979965209961,
0.029860999435186386,
-0.011502709239721298,
0.06122272089123726,
-0.013011960312724113,
-0.009490374475717545,
0.033408164978027344,
-0.020907815545797348,
0.020208613947033882,
0.032282620668411255,
0.017718777060508728,
-0.014299512840807438,
-0.03477245941758156,
-0.0010887710377573967,
0.019884593784809113,
0.005781198386102915,
0.0026625061873346567,
0.029212959110736847,
0.06108629330992699,
0.023960424587130547,
0.01707073673605919,
0.0012800920521840453,
0.06743026524782181,
-0.026689013466238976,
0.04236134886741638,
0.00677457544952631,
-0.009456267580389977,
-0.06251880526542664,
-0.05358267202973366,
-0.06985188275575638,
0.02870134823024273,
-0.03717702999711037,
0.01060739066451788,
-0.027763396501541138,
-0.007887328043580055,
0.02247675508260727,
0.006463346071541309,
0.03987151011824608,
-0.005764144938439131,
0.006437765434384346,
-0.029519924893975258,
-0.04993318393826485,
-0.007281922735273838,
-0.012858477421104908,
0.08083445578813553,
0.018435031175613403,
-0.026706067845225334,
0.04171330854296684,
-0.028104469180107117,
0.0009518087026663125,
-0.0226302370429039,
-0.047238703817129135,
-0.07380834221839905,
-0.028326166793704033,
0.05269588157534599,
0.013813483528792858,
-0.03652898967266083,
0.07176189869642258,
0.012969326227903366,
-0.053139276802539825,
-0.014393308199942112,
0.006864107679575682,
-0.05747091397643089,
0.007405561860650778,
0.002963077509775758,
-0.016320373862981796,
0.01673818938434124,
-0.00948184821754694,
-0.043111711740493774,
-0.039769187569618225,
-0.005141685251146555,
-0.058903422206640244,
-0.005649032536894083,
0.013293346390128136,
0.030031535774469376,
0.01674671657383442,
-0.053616780787706375,
0.023175954818725586,
0.07073868066072464,
-0.014615006744861603,
0.03676773980259895,
0.058118950575590134,
-0.025290612131357193,
0.01911717839539051,
0.011511236429214478,
0.026347940787672997,
0.018690837547183037,
-0.011835255660116673,
-0.0004463268560357392,
0.06292808800935745,
0.03840489313006401,
-0.031464044004678726,
0.05303695425391197,
-0.011869363486766815,
-0.0321803018450737,
-0.0009555391734465957,
-0.029758676886558533,
0.04809138551354408,
0.021948089823126793,
-0.06541793048381805,
0.02184576727449894,
0.05259355902671814,
-0.014811123721301556,
0.07026117295026779,
-0.019884593784809113,
0.060949862003326416,
0.032913606613874435,
-0.020634956657886505,
0.017804045230150223,
0.011622085236012936,
-0.01626068726181984,
0.06674811244010925,
-0.0362902395427227,
0.004873089957982302,
0.02535882592201233,
-0.03871186077594757,
-0.04846656695008278,
0.011229850351810455,
0.05818716809153557,
-0.0471704863011837,
0.018247440457344055,
0.0010269514750689268,
0.03615380823612213,
0.020464420318603516,
0.06558846682310104,
0.013736741617321968,
0.0481254942715168,
-0.08547306060791016,
0.03090127371251583,
-0.00009519419108983129,
0.06166611984372139,
0.012432134710252285,
-0.02900831587612629,
-0.040212586522102356,
-0.01915128529071808,
-0.044851187616586685,
-0.03557398170232773,
0.04798906296491623,
0.013915805146098137,
0.01458942610770464,
0.01990164816379547,
0.05225248634815216,
-0.0018631148850545287,
-0.055185720324516296,
-0.050751760601997375,
0.020464420318603516,
0.022579075768589973,
-0.03680184856057167,
-0.0037326249293982983,
-0.058255381882190704,
0.03792739287018776,
0.06395131349563599,
-0.01691725291311741,
0.00996787752956152,
-0.04798906296491623,
0.020993083715438843,
-0.007917172275483608,
-0.004026800859719515,
0.044680651277303696,
-0.021146567538380623,
-0.000011924254977202509,
0.05276409536600113,
0.02772928960621357,
-0.08233518153429031,
-0.053957853466272354,
-0.04164509475231171,
0.08615520596504211,
0.033374056220054626,
-0.027030088007450104,
-0.01387317106127739,
0.008262509480118752,
-0.01768467016518116,
0.059176281094551086,
0.04338457062840462,
-0.004728133790194988,
0.0420202761888504,
-0.05852824077010155,
-0.04543101042509079,
0.004890143405646086,
0.024420874193310738,
0.031617529690265656,
-0.0038647910114377737,
-0.02646731585264206,
-0.014836704358458519,
0.017974581569433212,
-0.03584684059023857,
-0.014777016825973988,
-0.009746179915964603,
-0.007397035136818886,
-0.0034640294034034014,
0.057914309203624725,
-0.006083901505917311,
0.0077935331501066685,
0.00562345189973712,
-0.028326166793704033,
-0.006382341030985117,
-0.0725804790854454,
-0.03238494321703911,
-0.06633882969617844,
0.032248515635728836,
0.0548105388879776,
-0.0038392103742808104,
-0.021726392209529877,
-0.04219081252813339,
-0.03252137452363968,
-0.026842497289180756,
-0.043759752064943314,
-0.03700649365782738,
-0.06309862434864044,
-0.020140400156378746,
-0.014964606612920761,
0.06500864028930664,
0.05784609168767929,
0.02755875140428543,
0.027200624346733093,
-0.03775685280561447,
0.03925757855176926,
-0.0006746863364242017,
-0.014947553165256977,
0.0013344506733119488,
-0.06483810395002365,
0.02152174897491932,
-0.02150469459593296,
0.057436805218458176,
-0.06395131349563599,
-0.044373683631420135,
-0.03489183634519577,
-0.02360229752957821,
-0.053650885820388794,
-0.0018823002465069294,
0.019799325615167618,
-0.07462691515684128,
-0.028172684833407402,
0.05542447045445442,
0.05324159935116768,
-0.057777877897024155,
-0.006936585530638695,
-0.05051301047205925,
-0.020464420318603516,
-0.023482922464609146,
0.06180254742503166,
0.016047514975070953,
-0.034039150923490524,
-0.03236788883805275,
0.0243526604026556,
0.026484370231628418,
-0.03231672942638397,
0.03758631646633148,
-0.004156835377216339,
0.018435031175613403,
-0.016533546149730682,
-0.04116759076714516,
0.020600849762558937,
0.056652333587408066,
0.009498901665210724,
-0.1256515383720398,
0.005678876303136349,
-0.038984719663858414,
0.09543240815401077,
0.017582347616553307,
0.051570337265729904,
-0.019185394048690796,
-0.01782109960913658,
0.008172977715730667,
-0.01896369643509388,
0.05068354681134224,
-0.034994158893823624,
0.0570957325398922,
-0.02455730363726616,
-0.03680184856057167,
-0.029912160709500313,
0.001137267448939383,
0.019475305452942848,
-0.05310516804456711,
0.02646731585264206,
0.012551510706543922,
0.059346817433834076,
-0.04529458284378052,
-0.02121478132903576,
0.04839835315942764,
0.06214362010359764,
-0.06637293845415115,
0.04444189742207527,
-0.001876970985904336,
-0.02087370865046978,
0.03509648144245148,
0.01627773977816105,
-0.08949773013591766,
0.005883520469069481,
0.02327827736735344,
0.03328878805041313,
0.04416903853416443,
-0.03506237268447876,
0.03296476975083351,
-0.04014436900615692,
0.0032615168020129204,
0.008501261472702026,
-0.027490537613630295,
-0.002958813915029168,
-0.0009789880132302642,
0.027166517451405525,
0.14065878093242645,
-0.08281268179416656,
-0.08090267330408096,
0.02073727920651436,
-0.008138869889080524,
0.042327240109443665,
-0.019543521106243134,
0.004052381496876478,
0.043896179646253586,
-0.005674613174051046,
-0.0021913982927799225,
0.006893951445817947,
0.013651473447680473,
0.015552959404885769,
-0.009524482302367687,
0.013293346390128136,
-0.07278511673212051,
-0.003022765275090933,
-0.016200998798012733,
0.0027072723023593426,
0.003112297272309661,
-0.01703662984073162,
0.0078020598739385605,
0.005320749245584011,
0.028411436825990677,
-0.008684588596224785,
0.010956991463899612,
0.01816217228770256,
-0.015876978635787964,
-0.04665887728333473,
0.012764682061970234,
0.0032380681950598955,
0.016038989648222923,
0.018128065392374992,
-0.04321403428912163,
-0.010129887610673904,
-0.03235083818435669,
0.0016744585009291768,
-0.05685697868466377,
-0.06275755167007446,
-0.005674613174051046,
-0.010394220240414143,
-0.00955006293952465,
0.015970773994922638,
-0.03550576791167259,
0.008326460607349873,
-0.013438302092254162,
-0.054128389805555344,
0.034636031836271286,
-0.04045133665204048,
0.060915756970644,
-0.009311310946941376,
0.030867166817188263,
0.045806191861629486,
0.027302946895360947,
-0.014555318281054497,
0.03265780210494995,
-0.029093584045767784,
0.039598651230335236,
-0.02404569275677204,
0.011903470382094383,
-0.01739475689828396,
-0.03601737692952156,
-0.09706956148147583,
-0.054878752678632736,
-0.011093420907855034,
-0.08397233486175537,
0.01163913868367672,
0.013804956339299679,
-0.045328691601753235,
0.04034901410341263,
0.022596130147576332,
-0.007354401051998138,
0.02900831587612629,
0.043759752064943314,
0.02885483205318451,
-0.05549268424510956,
0.031105918809771538,
0.03197565674781799,
0.028275007382035255,
0.019986916333436966,
-0.02073727920651436,
-0.0576755553483963,
-0.022238003090023994,
0.042122598737478256,
0.0462154820561409,
0.013762322254478931,
-0.006002896465361118,
0.0018833661451935768,
-0.0192877147346735,
-0.0192877147346735,
0.044544219970703125,
-0.025137128308415413,
0.018929587677121162,
-0.028411436825990677,
-0.007405561860650778,
-0.013975493609905243,
-0.00697069289162755,
0.015749076381325722,
0.001483670435845852,
0.06480399519205093,
-0.014239825308322906,
-0.06313273310661316,
0.009746179915964603,
-0.026364993304014206,
0.015876978635787964,
-0.056004296988248825,
0.017462970688939095,
-0.032572533935308456,
0.009771760553121567,
-0.008424519561231136,
-0.015501798130571842,
0.004370006266981363,
0.05402606725692749,
-0.046931736171245575,
0.03364691510796547,
0.02008923888206482,
-0.044305469840765,
0.041440449655056,
-0.010522122494876385,
-0.0011468601878732443,
0.01156239677220583,
0.008343514055013657,
-0.005964525509625673,
0.005636242218315601,
-0.02058379538357258,
0.02297131158411503,
-0.0077935331501066685,
-0.007196654099971056,
0.06330326944589615,
0.0017853074241429567,
-0.016610287129878998,
-0.05037657916545868,
0.002385383937507868,
-0.03983740508556366,
0.026501422747969627,
-0.007823376916348934,
-0.0376204252243042,
0.01942414417862892,
0.016354482620954514,
0.044714756309986115,
-0.06790776550769806,
0.0037049127276986837,
-0.03980329632759094,
0.04249778017401695,
0.008185767568647861,
0.005798252299427986,
-0.0408606231212616,
-0.02390926331281662,
0.023056579753756523,
-0.007674157619476318,
0.021641124039888382,
0.004924251232296228,
0.06616829335689545,
-0.020839599892497063,
0.10300424695014954,
0.03124234825372696,
-0.02677428163588047,
-0.010726766660809517,
-0.024028640240430832,
-0.013745268806815147,
0.0031996972393244505,
0.04031490534543991,
0.023823995143175125,
-0.01961173489689827,
-0.04017847776412964,
0.03107181005179882,
-0.01562970131635666,
-0.01138333324342966,
-0.01609867624938488,
0.015194831416010857,
-0.02070317044854164,
0.018997803330421448,
-0.01991870254278183,
0.04703405871987343,
0.0595855675637722,
-0.0653156042098999,
0.07121618092060089,
-0.0004966885317116976,
-0.0030931117944419384,
-0.07844693958759308,
-0.0016243633581325412,
0.022220948711037636,
-0.0523207001388073,
0.014401835389435291,
-0.00316772167570889,
0.008317934349179268,
-0.0046044946648180485,
0.012457715347409248,
-0.00581956934183836,
-0.08015231043100357,
0.026723122224211693,
0.03526701778173447,
-0.000594214245211333,
0.04686352238059044,
0.011084893718361855,
0.004229313228279352,
0.005610661581158638,
0.025785168632864952,
0.0009480781736783683,
0.06910152733325958,
-0.017616454511880875,
0.0321803018450737,
0.050410687923431396,
0.04976264759898186,
-0.05000139772891998,
0.04699994996190071,
0.0649404227733612,
0.03173690289258957,
0.041679199784994125,
-0.006382341030985117,
0.02153880149126053,
0.022579075768589973,
-0.05511750280857086,
-0.024642571806907654,
0.008680325001478195,
-0.010266317054629326,
-0.03669952601194382,
-0.014597952365875244,
-0.03830257058143616,
0.08185768127441406,
-0.005099051166325808,
0.030202072113752365,
-0.025256505236029625,
0.011809675954282284,
-0.024250337854027748,
0.04304349794983864,
-0.014418888837099075,
-0.01490491908043623,
-0.009626803919672966,
-0.015245992690324783,
-0.05317338556051254,
-0.003907425329089165,
-0.09747885167598724,
-0.00947332102805376,
-0.009294257499277592,
-0.05228659138083458,
-0.015408002771437168,
-0.054571785032749176,
0.04266831651329994,
0.017411811277270317,
-0.0037795226089656353,
0.0188102126121521,
0.07026117295026779,
0.03615380823612213,
-0.006339706480503082,
0.03956454619765282,
-0.027780449017882347,
0.05706162378191948,
-0.003760337131097913,
0.054264821112155914,
-0.0021476983092725277,
0.008556685410439968,
-0.00900434423238039,
-0.006727677769958973,
-0.019799325615167618,
-0.005938945338129997,
0.009285730309784412,
-0.03567630425095558,
-0.001423982554115355,
-0.008799700066447258,
-0.03806382045149803,
0.017011048272252083,
-0.04174741730093956,
-0.00029923883266747,
-0.007239288650453091,
0.015749076381325722,
0.03439727798104286,
-0.04877353459596634,
-0.0004966885317116976,
-0.00012217364565003663,
0.0088338078930974,
0.04270242154598236,
0.03240199759602547,
-0.024096854031085968,
0.010812034830451012,
-0.024983646348118782,
-0.02184576727449894,
0.04652244597673416,
-0.06708919256925583,
-0.014248352497816086,
-0.04256599396467209,
-0.019509414210915565,
0.05989253520965576,
-0.01961173489689827,
-0.0002700610493775457,
0.02152174897491932,
-0.033050037920475006,
-0.009567116387188435,
0.03601737692952156,
0.01387317106127739,
-0.03473835438489914,
-0.0013792166719213128,
-0.06705508381128311,
-0.03523290902376175,
-0.04590851441025734,
0.02056674100458622,
-0.09004344791173935,
-0.013387140817940235,
-0.022425593808293343,
0.007823376916348934,
-0.03564219921827316,
-0.005482759326696396,
0.05784609168767929,
0.012014320120215416,
-0.0024599938187748194,
-0.023943370208144188,
-0.06603185832500458,
-0.023994531482458115,
0.015484744682908058,
0.027285892516374588,
0.007567571941763163,
0.009251623414456844,
-0.024642571806907654,
-0.09454561769962311,
0.017616454511880875,
0.041201699525117874,
0.061256829649209976,
-0.024608464911580086,
0.02791687846183777,
-0.030355555936694145,
-0.007269132416695356,
0.044373683631420135,
0.0038647910114377737,
0.008654744364321232,
-0.020941922441124916,
-0.005610661581158638,
0.013173970393836498,
-0.027302946895360947,
-0.011042259633541107,
0.01753118634223938,
0.0036622784100472927,
-0.05324159935116768,
0.004527752753347158,
0.03214619308710098,
0.0204303115606308,
0.07360369712114334,
0.011835255660116673,
-0.002259613014757633,
-0.08117552846670151,
0.034005045890808105,
-0.061256829649209976,
-0.0697154551744461,
0.008970237337052822,
-0.010019038803875446,
0.05542447045445442,
0.00046897627180442214,
-0.006109482143074274,
-0.04130402207374573,
0.02452319674193859,
-0.013361561112105846,
-0.013753795064985752,
0.019083071500062943,
-0.006241647992283106,
0.0353352315723896,
-0.018605567514896393,
0.0027264575473964214,
0.04116759076714516,
-0.013984019868075848,
0.003005711594596505,
0.037688639014959335,
-0.02150469459593296,
-0.038984719663858414,
0.06139326095581055,
-0.05508339777588844,
0.003376629203557968,
0.0012587750097736716,
0.013711160980165005,
-0.038336679339408875,
-0.015356841497123241,
0.04355510696768761,
0.0029822627548128366,
-0.007316030096262693,
0.014001074247062206,
0.026689013466238976,
-0.015723496675491333,
-0.009029924869537354,
0.015032821334898472,
-0.037518102675676346,
-0.011519762687385082,
-0.04034901410341263,
0.03574451804161072,
0.007524937856942415,
0.02757580578327179,
-0.05583375692367554,
0.026535531505942345,
-0.01035158522427082,
0.006386604160070419,
0.046624768525362015,
0.01497313380241394,
-0.06343970447778702,
-0.011622085236012936,
0.044032610952854156,
-0.04464654251933098,
0.013685580343008041,
-0.041372235864400864,
0.03536934033036232,
0.031464044004678726,
-0.017889313399791718,
-0.032419051975011826,
0.008548158220946789,
-0.01465764082968235,
-0.002592159900814295,
0.004655655473470688,
0.023858102038502693,
-0.013787902891635895,
-0.0009566050139255822,
0.05307106301188469,
-0.045499227941036224,
0.06725972890853882,
-0.004702553153038025,
0.014461522921919823,
-0.04962621629238129,
0.005171529483050108,
0.013787902891635895,
0.058869313448667526,
-0.01913423277437687,
-0.00014202520833350718,
-0.0025218133814632893,
0.06453114002943039
] |
52,116 |
concurrent.futures._base
|
set_exception
|
Sets the result of the future as being the given exception.
Should only be used by Executor implementations and unit tests.
|
def set_exception(self, exception):
"""Sets the result of the future as being the given exception.
Should only be used by Executor implementations and unit tests.
"""
with self._condition:
if self._state in {CANCELLED, CANCELLED_AND_NOTIFIED, FINISHED}:
raise InvalidStateError('{}: {!r}'.format(self._state, self))
self._exception = exception
self._state = FINISHED
for waiter in self._waiters:
waiter.add_exception(self)
self._condition.notify_all()
self._invoke_callbacks()
|
(self, exception)
|
[
-0.007260421756654978,
-0.005189977120608091,
-0.04133495315909386,
0.10211730003356934,
-0.004219456110149622,
-0.024457130581140518,
-0.025529325008392334,
0.007644008845090866,
0.026989728212356567,
-0.010564815253019333,
0.06621726602315903,
0.02125903218984604,
-0.005310136824846268,
-0.008563692681491375,
-0.011230315081775188,
0.0707278773188591,
0.012995739467442036,
0.05054103955626488,
0.01306968368589878,
-0.013199086301028728,
-0.05852704122662544,
-0.025603270158171654,
0.018439900130033493,
-0.031611256301403046,
0.016378698870539665,
0.0016799257136881351,
-0.0017977746902033687,
0.012043704278767109,
0.03878387063741684,
-0.02451258897781372,
-0.013587295077741146,
-0.0524635948240757,
-0.11557519435882568,
-0.0015955828130245209,
0.03700920194387436,
0.006960022728890181,
-0.038007453083992004,
0.05002342909574509,
0.00098727410659194,
0.02643514610826969,
-0.08296568691730499,
-0.01801471970975399,
-0.05190901458263397,
0.017885316163301468,
0.003514672629535198,
-0.00454758433625102,
-0.009529592469334602,
-0.0031125997193157673,
0.03236918896436691,
-0.0008018352673389018,
-0.019059184938669205,
0.039042677730321884,
0.022904297336935997,
-0.011646253056824207,
0.008827120065689087,
0.08570162951946259,
0.04111311957240105,
0.025954507291316986,
-0.010407683439552784,
0.01282012090086937,
-0.02377314493060112,
0.04351631551980972,
-0.027914034202694893,
0.014659489504992962,
-0.027174590155482292,
0.0283946730196476,
0.0012327928561717272,
0.0524635948240757,
0.010962266474962234,
0.019558310508728027,
0.05002342909574509,
0.05250056833028793,
-0.012191593647003174,
-0.028172839432954788,
0.048322707414627075,
-0.006280657835304737,
-0.09464891254901886,
0.02168421447277069,
-0.05856401473283768,
0.03187006339430809,
0.007579307537525892,
0.046658955514431,
-0.013975503854453564,
0.011415176093578339,
0.02586207538843155,
-0.009899314492940903,
-0.02146238088607788,
-0.010232064872980118,
-0.05128048360347748,
-0.03826626017689705,
-0.00848974846303463,
-0.010241308249533176,
-0.016434157267212868,
-0.024568047374486923,
-0.012764662504196167,
0.026730922982096672,
0.02362525649368763,
-0.05268542841076851,
-0.014936781488358974,
-0.038746897131204605,
-0.008152376860380173,
0.019558310508728027,
0.07697618752717972,
-0.05734393000602722,
0.03248010575771332,
-0.06277884542942047,
0.0020149867050349712,
-0.04399695619940758,
0.017487864941358566,
-0.05287029221653938,
0.008628394454717636,
0.007953651249408722,
-0.026028450578451157,
0.029522325843572617,
-0.0038081398233771324,
-0.01764499768614769,
0.03551182895898819,
-0.013217573054134846,
0.02830224297940731,
0.009210706688463688,
0.04421878978610039,
0.040225788950920105,
-0.054349180310964584,
0.06285279244184494,
-0.0502452626824379,
0.039338454604148865,
-0.03305317461490631,
0.07852902263402939,
0.027969492599368095,
-0.0444406233727932,
-0.02207242138683796,
-0.024346213787794113,
-0.009575807489454746,
0.006770540028810501,
-0.022386686876416206,
0.03334895148873329,
-0.0940573588013649,
-0.025085659697651863,
-0.010047203861176968,
-0.018892809748649597,
-0.023643741384148598,
-0.000025129564164672047,
0.011710953898727894,
0.0111378850415349,
0.06817679107189178,
0.010213579051196575,
-0.07128246128559113,
0.0023200074210762978,
0.00019309324852656573,
-0.036288246512413025,
0.061706654727458954,
0.02911563217639923,
0.008452776819467545,
-0.06388801336288452,
-0.031112132593989372,
0.03342289850115776,
0.010398440062999725,
0.007801140658557415,
0.040669456124305725,
0.06995145976543427,
0.007422175258398056,
-0.020094407722353935,
0.04329448193311691,
0.026472117751836777,
-0.008637637831270695,
0.0007325123297050595,
-0.01909615658223629,
0.014992239885032177,
-0.0236991997808218,
-0.0007047831313684583,
0.008258672431111336,
0.0013957017799839377,
-0.054792847484350204,
0.0503561794757843,
-0.09228269010782242,
0.049062151461839676,
0.0002141789736924693,
0.007593172136694193,
-0.037933509796857834,
-0.02199847809970379,
0.021148115396499634,
-0.040817342698574066,
-0.006719702854752541,
0.020408671349287033,
0.035733662545681,
-0.04606740176677704,
-0.028505589812994003,
0.05105865001678467,
0.047657206654548645,
-0.024974742904305458,
0.021795131266117096,
-0.02162875607609749,
-0.016766907647252083,
0.014243552461266518,
0.008799390867352486,
-0.0032027196139097214,
-0.009492620825767517,
-0.03699071705341339,
0.056863293051719666,
0.018670976161956787,
-0.038007453083992004,
0.02072293497622013,
0.08281780034303665,
-0.007713331840932369,
0.02242365851998329,
-0.022257283329963684,
0.002511800965294242,
-0.0445515401661396,
0.0509847067296505,
-0.005217706318944693,
-0.039116621017456055,
-0.0077456822618842125,
-0.04998645558953285,
0.06303765624761581,
0.03669494017958641,
-0.009053574874997139,
0.022774893790483475,
-0.0033321224618703127,
0.09605385363101959,
0.05660448595881462,
0.010306009091436863,
0.020778393372893333,
0.03996698185801506,
-0.029688701033592224,
0.010814378038048744,
0.003452282166108489,
-0.01564849726855755,
-0.08917701989412308,
0.028561048209667206,
0.03211038187146187,
-0.0312969945371151,
0.06433168053627014,
-0.058490071445703506,
-0.06736340373754501,
0.03238767385482788,
-0.0021074172109365463,
0.016055190935730934,
0.003267420921474695,
-0.08037763088941574,
-0.014252794906497002,
0.029245035722851753,
-0.03174066171050072,
0.001163469860330224,
-0.0240689218044281,
0.02547386661171913,
-0.028135867789387703,
0.01073119044303894,
0.05897070840001106,
-0.056715402752161026,
0.010296766646206379,
-0.007838113233447075,
-0.0114798778668046,
-0.05091076344251633,
-0.06300067901611328,
0.003096424276009202,
-0.06521901488304138,
0.0510956235229969,
0.014696462079882622,
0.057085126638412476,
0.07213282585144043,
0.05527348443865776,
-0.056345678865909576,
0.011221072636544704,
-0.025362949818372726,
-0.028875311836600304,
-0.027969492599368095,
-0.00973294023424387,
-0.013180600479245186,
0.020685963332653046,
0.003031722968444228,
0.016896309331059456,
0.0024609642568975687,
-0.01330076064914465,
0.035326968878507614,
-0.02630574256181717,
0.023828603327274323,
-0.05194598436355591,
0.005116032436490059,
-0.07290924340486526,
0.03390353545546532,
0.04211137071251869,
0.03418082743883133,
-0.03238767385482788,
0.06233518198132515,
-0.0444406233727932,
0.040965232998132706,
0.01961376890540123,
0.008669988252222538,
-0.02242365851998329,
-0.013578051701188087,
0.024050436913967133,
0.016655990853905678,
0.024752909317612648,
-0.05409037321805954,
-0.02562175691127777,
-0.02992902137339115,
-0.016572803258895874,
0.02711913175880909,
0.03501270338892937,
0.04107614979147911,
0.047139596194028854,
0.020630504935979843,
0.00028667922015301883,
0.029134118929505348,
-0.01022282149642706,
-0.07542335242033005,
0.03586306422948837,
0.03530848026275635,
-0.0502452626824379,
0.007680980954319239,
0.05043012276291847,
0.04969067871570587,
-0.058046404272317886,
-0.020630504935979843,
0.10559269040822983,
0.04939490184187889,
0.04776812344789505,
-0.04070642590522766,
0.000478905945783481,
-0.007593172136694193,
0.00005181167216505855,
-0.06518204510211945,
0.017811372876167297,
0.011979002505540848,
-0.031315479427576065,
0.055606234818696976,
-0.001891360734589398,
0.03885781392455101,
-0.07335291057825089,
-0.00555045623332262,
-0.007930543273687363,
-0.06910110265016556,
-0.03364473208785057,
0.04399695619940758,
-0.03676888346672058,
0.005920178722590208,
0.033330466598272324,
-0.013310003094375134,
0.015149371698498726,
0.013402434065937996,
-0.004311886616051197,
-0.0005540057900361717,
-0.03358927369117737,
0.022312741726636887,
-0.020593533292412758,
-0.028727423399686813,
0.015001483261585236,
-0.03819231316447258,
0.0016845472855493426,
0.011877329088747501,
-0.07697618752717972,
0.03397747874259949,
-0.004291089717298746,
0.02451258897781372,
0.016304753720760345,
0.011932787485420704,
-0.03811836987733841,
-0.055532291531562805,
0.012533586472272873,
-0.07705012708902359,
-0.01010266225785017,
0.01742316409945488,
-0.014271281659603119,
-0.024383187294006348,
-0.06569965183734894,
-0.010934537276625633,
-0.034495092928409576,
0.02504868619143963,
0.011914301663637161,
-0.03368170186877251,
0.028024950996041298,
-0.048840317875146866,
0.0032835963647812605,
0.008549828082323074,
0.06240912526845932,
-0.014206579886376858,
-0.08119101822376251,
0.016156865283846855,
-0.015361961908638477,
0.017728185281157494,
0.03364473208785057,
-0.054718904197216034,
-0.028634993359446526,
-0.039930008351802826,
-0.016184594482183456,
0.0068537271581590176,
0.07971213012933731,
-0.04717656597495079,
0.055975958704948425,
0.04865545779466629,
-0.025972992181777954,
0.0004687963519245386,
0.032720424234867096,
0.03952331468462944,
0.02674940973520279,
-0.016988739371299744,
0.012977253645658493,
-0.02512263134121895,
0.019521338865160942,
-0.01306968368589878,
-0.014465385116636753,
0.03007690981030464,
0.005434918217360973,
0.036805856972932816,
0.06274187564849854,
0.026878811419010162,
-0.039264511317014694,
-0.052352678030729294,
0.028542563319206238,
-0.04055853933095932,
-0.012589044868946075,
-0.047657206654548645,
-0.0226454921066761,
-0.03695374354720116,
-0.057159069925546646,
0.04292476177215576,
0.007265043444931507,
-0.07353776693344116,
0.05549531802535057,
0.007394446060061455,
0.008406560868024826,
0.0028422402683645487,
-0.01990954577922821,
-0.013032711111009121,
-0.03015085496008396,
0.007801140658557415,
0.014733433723449707,
0.019410422071814537,
-0.028690451756119728,
0.01845838688313961,
-0.02205393649637699,
0.03090878576040268,
-0.0034569036215543747,
0.030723923817276955,
0.0012998050078749657,
-0.03870992735028267,
-0.02027926966547966,
-0.011544579640030861,
-0.014973754063248634,
0.02541840821504593,
0.007787276059389114,
-0.04070642590522766,
-0.017432406544685364,
-0.0006689663277938962,
0.01225629448890686,
-0.03281285613775253,
0.02480836771428585,
0.0590076819062233,
-0.01909615658223629,
-0.0046353936195373535,
0.020316241309046745,
0.007047831546515226,
-0.01587033085525036,
-0.0014384508831426501,
0.030742410570383072,
0.05028223618865013,
-0.025899048894643784,
-0.015426663681864738,
0.009446404874324799,
0.026176339015364647,
0.01269996166229248,
-0.005564320832490921,
-0.0010854816064238548,
0.013587295077741146,
0.0035585772711783648,
-0.02436470054090023,
0.08828968554735184,
-0.03395899385213852,
0.03492027148604393,
-0.006373088341206312,
0.003105667419731617,
-0.03046511858701706,
0.006405439227819443,
-0.022978242486715317,
-0.03870992735028267,
-0.02205393649637699,
-0.01869870536029339,
0.005097546614706516,
0.020260782912373543,
-0.028191326186060905,
0.02079688012599945,
0.005795397330075502,
0.07398143410682678,
-0.007394446060061455,
-0.005915557034313679,
0.004787903744727373,
0.028357701376080513,
-0.05438615381717682,
0.04089128598570824,
0.02138843573629856,
-0.06928595900535583,
-0.015879573300480843,
0.010768162086606026,
0.057824570685625076,
0.02904168702661991,
-0.020556559786200523,
-0.06381407380104065,
0.046695929020643234,
-0.004154754336923361,
-0.04695473238825798,
0.04821179062128067,
-0.037545301020145416,
-0.0007908591069281101,
-0.022016962990164757,
0.019299505278468132,
0.014539330266416073,
-0.010333738289773464,
-0.017432406544685364,
0.060597486793994904,
-0.062150321900844574,
0.04769418016076088,
0.015278774313628674,
-0.024401672184467316,
-0.03174066171050072,
-0.005693723447620869,
-0.014012475498020649,
-0.047065649181604385,
0.015620768070220947,
0.023052185773849487,
0.07571913301944733,
0.052130844444036484,
-0.01626778207719326,
0.05079984664916992,
0.0757930725812912,
-0.04895123466849327,
-0.014585545286536217,
0.056567512452602386,
-0.048322707414627075,
-0.003024790668860078,
0.016628261655569077,
-0.07472088187932968,
-0.01563001051545143,
-0.005957150831818581,
0.021961504593491554,
0.05982106924057007,
-0.011507607065141201,
0.01107318326830864,
0.07113457471132278,
-0.039708174765110016,
-0.05460798740386963,
-0.021721186116337776,
0.07460996508598328,
0.011637009680271149,
0.012773905880749226,
-0.019965004175901413,
-0.07335291057825089,
-0.006105039734393358,
0.02170269936323166,
-0.006137390621006489,
-0.03750832751393318,
0.015426663681864738,
0.027137618511915207,
0.025658728554844856,
-0.011202585883438587,
-0.0178945604711771,
-0.04292476177215576,
0.05272240191698074,
0.06895320862531662,
0.05031920596957207,
0.02867196500301361,
-0.01953982375562191,
0.01782061532139778,
0.01482586469501257,
-0.06547781825065613,
0.016406428068876266,
0.004586867522448301,
0.0008630705415271223,
-0.02667546458542347,
0.01887432485818863,
-0.04137192666530609,
0.03617732971906662,
0.038672953844070435,
-0.01968771405518055,
-0.01887432485818863,
-0.02050110138952732,
-0.017755914479494095,
-0.0007694845553487539,
-0.0031611258164048195,
0.047509316354990005,
0.010527842678129673,
-0.0365285649895668,
-0.06544084846973419,
-0.07194796204566956,
-0.02933746576309204,
-0.04954278841614723,
0.062298208475112915,
0.028912285342812538,
0.019281018525362015,
-0.03418082743883133,
0.020704450085759163,
-0.010906808078289032,
-0.0393754281103611,
0.049357928335666656,
-0.023347964510321617,
0.041261009871959686,
0.0001994478516280651,
0.028024950996041298,
-0.06688276678323746,
-0.007990623824298382,
-0.004596110433340073,
0.028561048209667206,
-0.02199847809970379,
0.005028223618865013,
-0.004113160539418459,
-0.003433795878663659,
0.0007053608424030244,
-0.06163271144032478,
0.06163271144032478,
-0.01769121177494526,
-0.014724191278219223,
0.03364473208785057,
0.02911563217639923,
0.03408839553594589,
0.023052185773849487,
-0.09745880216360092,
-0.01697949692606926,
-0.05778759717941284,
0.013929287903010845,
-0.04429273307323456,
0.00433037243783474,
-0.004579935222864151,
0.04628923535346985,
-0.05116956681013107,
-0.018495358526706696,
-0.05893373489379883,
-0.05357276275753975,
0.053979456424713135,
-0.056641459465026855,
-0.054423123598098755,
-0.02044564299285412,
-0.03432871773838997,
0.04325751215219498,
0.009520350024104118,
-0.07912057638168335,
0.04466245695948601,
0.005564320832490921,
0.00794903002679348,
0.04525401070713997,
0.040817342698574066,
-0.061706654727458954,
0.06399893015623093,
0.01245039887726307,
0.001250123605132103,
-0.022553060203790665,
0.0229597557336092,
0.0033552299719303846,
-0.002437856514006853,
-0.06810285151004791,
-0.0005144339520484209,
-0.009210706688463688,
-0.017312247306108475,
0.02460501901805401,
-0.03528999537229538,
-0.016027461737394333,
-0.02972567453980446,
-0.03638067469000816,
-0.016332482919096947,
-0.008831742219626904,
0.05057801306247711,
0.04525401070713997,
-0.006659623235464096,
0.03743438422679901,
-0.0087485546246171,
0.029171090573072433,
0.04991251230239868,
0.019040700048208237,
-0.02214636653661728,
0.0087485546246171,
-0.013513350859284401,
0.00395602872595191,
0.04225926101207733,
-0.039560288190841675,
0.003655629465356469,
0.017608026042580605,
0.06052354350686073,
-0.010361467488110065,
-0.025067172944545746,
-0.03238767385482788,
-0.007486877031624317,
0.025141118094325066,
0.004376587923616171,
0.02926352061331272,
-0.019965004175901413,
0.030187826603651047,
-0.014530086889863014,
0.03602943941950798,
-0.003597860224545002,
0.018597032874822617,
0.03314560651779175,
-0.044699426740407944,
-0.007713331840932369,
-0.004630771931260824,
-0.06950779259204865,
0.01485359389334917,
-0.06721551716327667,
-0.0014696462312713265,
-0.04551281780004501,
-0.08451852202415466,
-0.005324001424014568,
0.04055853933095932,
0.04325751215219498,
0.0043881419114768505,
-0.04266595467925072,
-0.03120456263422966,
0.023310991004109383,
-0.025067172944545746,
-0.009501863270998001,
0.046769872307777405,
0.035770632326602936,
-0.06540387868881226,
0.029670216143131256,
-0.03120456263422966,
-0.039486344903707504,
0.019576797261834145,
-0.020685963332653046,
0.005901692435145378,
0.007953651249408722,
-0.032350704073905945,
0.02325553260743618,
0.0033552299719303846,
-0.0020300066098570824,
-0.007389824837446213,
0.04344237223267555,
-0.013688968494534492,
-0.015833357349038124,
-0.025233548134565353,
-0.003431485267356038,
0.024752909317612648,
0.02906017377972603,
0.027211561799049377,
0.015371205285191536,
0.02623179741203785,
0.011359717696905136,
0.02599147893488407,
0.0007065162062644958,
-0.022016962990164757,
0.013383947312831879,
0.08503612875938416,
-0.05261148512363434,
0.05800943076610565,
0.027655228972434998,
-0.06666093319654465,
-0.048544541001319885,
-0.03127850592136383,
0.0287643950432539,
0.02987356297671795,
-0.029540812596678734,
0.04414484277367592,
0.013152871280908585,
0.003036344423890114,
-0.05031920596957207,
0.002353513613343239,
0.025751158595085144,
0.05460798740386963,
0.03416234254837036,
-0.04384906589984894,
0.008494369685649872,
0.06078234687447548,
0.018670976161956787,
0.014770406298339367,
-0.03834020346403122,
-0.034051425755023956,
-0.023754658177495003,
-0.013189843855798244,
0.014021718874573708,
0.06396196037530899,
0.017922289669513702,
0.036602508276700974
] |
52,117 |
concurrent.futures._base
|
set_result
|
Sets the return value of work associated with the future.
Should only be used by Executor implementations and unit tests.
|
def set_result(self, result):
"""Sets the return value of work associated with the future.
Should only be used by Executor implementations and unit tests.
"""
with self._condition:
if self._state in {CANCELLED, CANCELLED_AND_NOTIFIED, FINISHED}:
raise InvalidStateError('{}: {!r}'.format(self._state, self))
self._result = result
self._state = FINISHED
for waiter in self._waiters:
waiter.add_result(self)
self._condition.notify_all()
self._invoke_callbacks()
|
(self, result)
|
[
0.04502982646226883,
-0.021718090400099754,
-0.03869229555130005,
0.039544712752103806,
0.0015334232011809945,
0.01050695963203907,
-0.036357417702674866,
-0.04936603456735611,
0.027814719825983047,
0.016649918630719185,
0.057408396154642105,
0.002869956661015749,
0.03178030997514725,
-0.019068187102675438,
-0.00808405876159668,
0.059187352657318115,
0.05181209743022919,
0.009293192997574806,
-0.03229917213320732,
0.06267113983631134,
-0.03426343575119972,
-0.02692524343729019,
0.05118205025792122,
0.012072811834514141,
0.028111213818192482,
-0.013712787069380283,
0.016798164695501328,
-0.02321908436715603,
0.010469898581504822,
0.021940458565950394,
-0.003937793429940939,
-0.0005544761079363525,
-0.03689480945467949,
0.01982794888317585,
0.06800801306962967,
0.026869650930166245,
-0.016816694289445877,
0.05485114827752113,
0.008505634032189846,
0.06029920279979706,
-0.06404241919517517,
-0.033021874725818634,
-0.029093345627188683,
0.027277328073978424,
0.004484451841562986,
-0.012397101148962975,
0.00500331399962306,
0.021143635734915733,
0.07008346170186996,
-0.017706172540783882,
0.019735295325517654,
-0.0028213132172822952,
-0.03155793994665146,
-0.01129451859742403,
-0.004127734340727329,
0.04465921223163605,
0.042732007801532745,
0.024423586204648018,
-0.0158252976834774,
-0.003947059158235788,
0.008931842632591724,
0.01228591613471508,
0.023274676874279976,
0.014120464213192463,
-0.023274676874279976,
0.04855068027973175,
-0.005174723919481039,
0.05829787626862526,
-0.013499682769179344,
0.056222427636384964,
0.023515576496720314,
0.041953716427087784,
-0.01686302199959755,
-0.036987464874982834,
0.003134020371362567,
0.04977371171116829,
-0.0712694302201271,
-0.024330930784344673,
-0.017307760193943977,
0.03454139828681946,
-0.027462635189294815,
0.05414697900414467,
0.0033378591760993004,
-0.04239845648407936,
-0.0197908878326416,
0.027073489502072334,
-0.036987464874982834,
-0.01866050809621811,
-0.025702210143208504,
-0.026128418743610382,
0.003458309220150113,
0.017307760193943977,
-0.008672411553561687,
0.007064864970743656,
0.02164396643638611,
0.005448053125292063,
0.01942027173936367,
-0.06400536000728607,
-0.015714112669229507,
0.013842502608895302,
-0.016038401052355766,
0.0435473658144474,
0.0695275366306305,
-0.06293057650327682,
0.07378961890935898,
-0.026072826236486435,
-0.03216945752501488,
-0.03493054583668709,
0.024645954370498657,
0.007741238921880722,
0.007592992391437292,
0.05399873107671738,
-0.058371998369693756,
0.02479420229792595,
0.005170091520994902,
-0.03413372114300728,
-0.0027935171965509653,
-0.021366003900766373,
-0.008936475031077862,
0.05970621481537819,
0.02401590719819069,
-0.0029649268835783005,
0.023144960403442383,
0.033411018550395966,
-0.05292394384741783,
0.05733427405357361,
-0.020272687077522278,
0.06070687994360924,
0.014416957274079323,
-0.05192328244447708,
0.009409010410308838,
-0.02757382020354271,
-0.022866999730467796,
0.007287234533578157,
0.015324966050684452,
0.030835239216685295,
-0.05903910845518112,
-0.037747226655483246,
0.015102596953511238,
0.0035231669899076223,
0.01940174028277397,
-0.007074130233377218,
0.03013106994330883,
-0.0015438466798514128,
0.08309207856655121,
0.015853093937039375,
-0.013823972083628178,
0.01762278378009796,
-0.01743747666478157,
-0.021903397515416145,
0.05051494389772415,
-0.02118069678544998,
0.04851361736655235,
-0.00554534001275897,
-0.056963659822940826,
0.04206490144133568,
0.03991532698273659,
-0.02911187708377838,
0.0367465615272522,
-0.015853093937039375,
0.025924580171704292,
-0.08776183426380157,
0.04288025572896004,
0.0051932549104094505,
0.0277776587754488,
0.04236139357089996,
0.006193917710334063,
0.027203204110264778,
-0.053813423961400986,
0.006434817798435688,
0.006990741938352585,
0.01980941742658615,
-0.013119801878929138,
0.05448053404688835,
-0.07864468544721603,
0.027647944167256355,
0.012341508641839027,
-0.04436272010207176,
0.023849131539463997,
-0.005485114641487598,
0.00890404637902975,
-0.032002680003643036,
-0.004794842563569546,
0.0007620788528583944,
0.018160177394747734,
-0.020291218534111977,
-0.022551976144313812,
0.08457454293966293,
0.045289259403944016,
-0.02140306681394577,
-0.022311074659228325,
-0.024442115798592567,
0.02475713938474655,
-0.043139684945344925,
0.007843158207833767,
-0.026221072301268578,
-0.02397884614765644,
0.008732636459171772,
0.015130392275750637,
-0.007843158207833767,
-0.026239603757858276,
-0.048291247338056564,
0.06708147376775742,
-0.0017812724690884352,
0.049440156668424606,
-0.006786902900785208,
-0.015269373543560505,
0.011331579647958279,
0.05229390040040016,
0.005137662403285503,
-0.020717427134513855,
0.006805433891713619,
-0.05036669597029686,
0.06986109167337418,
-0.005577768664807081,
-0.09472941607236862,
0.011646603234112263,
0.0062958369962871075,
0.07582800835371017,
0.026276664808392525,
-0.022941121831536293,
-0.027258796617388725,
0.061781663447618484,
-0.018484465777873993,
-0.028833914548158646,
0.01467638835310936,
-0.015426885336637497,
-0.09850969910621643,
0.04725352302193642,
0.006402389146387577,
-0.021551312878727913,
0.022551976144313812,
-0.00787095446139574,
-0.11170361936092377,
-0.015834562480449677,
-0.016093993559479713,
0.006277306005358696,
0.05496233329176903,
-0.10688561201095581,
0.04399210214614868,
0.017363352701067924,
0.0005964598967693746,
0.011127741076052189,
-0.033429551869630814,
-0.040915992110967636,
-0.024497708305716515,
0.030279316008090973,
0.03832168132066727,
-0.01692787930369377,
0.006694248877465725,
-0.04399210214614868,
-0.034986138343811035,
-0.006337531376630068,
-0.03702452406287193,
0.033225711435079575,
-0.043732672929763794,
0.029093345627188683,
-0.02321908436715603,
0.06915692239999771,
0.043139684945344925,
0.05099674314260483,
-0.016547998413443565,
0.022366667166352272,
0.014750511385500431,
-0.051478542387485504,
-0.008843821473419666,
-0.030835239216685295,
-0.02103245072066784,
0.006657187361270189,
0.0277776587754488,
0.10592201352119446,
-0.032039742916822433,
-0.032206520438194275,
0.004104570485651493,
-0.040730684995651245,
0.013462621718645096,
-0.0396188348531723,
0.02620254084467888,
-0.09295045584440231,
-0.009177375584840775,
0.0396929606795311,
0.036561254411935806,
-0.06041038781404495,
-0.007301132660359144,
-0.007361357565969229,
0.039137035608291626,
0.036561254411935806,
0.015009942464530468,
0.0011714935535565019,
0.0019190952880308032,
-0.005485114641487598,
0.0020627088379114866,
0.008649247698485851,
-0.03846992552280426,
0.03194708749651909,
-0.025646617636084557,
-0.04328793287277222,
0.006059569306671619,
-0.011266722343862057,
0.03485642373561859,
-0.013092005625367165,
-0.008885514922440052,
-0.02081008069217205,
0.03215092793107033,
0.007208478637039661,
0.0003080744354519993,
0.06715559214353561,
-0.016390487551689148,
-0.053220439702272415,
0.042139023542404175,
0.06874924153089523,
0.0436585508286953,
-0.0633382499217987,
-0.06596962362527847,
0.09450704604387283,
-0.005499012768268585,
0.06044744700193405,
-0.05055200308561325,
0.005869628861546516,
-0.03231770172715187,
-0.037951063364744186,
-0.05707484483718872,
0.02416415512561798,
-0.012146934866905212,
0.02218136005103588,
0.038544051349163055,
-0.03693187236785889,
0.08687236160039902,
-0.04873598739504814,
0.021736619994044304,
-0.06326413154602051,
-0.034393154084682465,
-0.031168794259428978,
0.05133029818534851,
-0.03745073452591896,
-0.008487103506922722,
0.05418403819203377,
0.02158837392926216,
0.03998945280909538,
0.01903112418949604,
0.038136374205350876,
-0.023126430809497833,
-0.043695610016584396,
-0.007069497834891081,
-0.014426223002374172,
-0.004081407096236944,
-0.006193917710334063,
0.006647922098636627,
0.049625463783741,
-0.06893455237150192,
-0.0773104727268219,
-0.018919939175248146,
-0.02240372821688652,
0.012072811834514141,
0.015853093937039375,
0.006351429503411055,
-0.030835239216685295,
-0.05448053404688835,
0.01864197850227356,
-0.0655248835682869,
-0.020735958591103554,
0.009098619222640991,
-0.018484465777873993,
-0.022329606115818024,
-0.08509340137243271,
0.0013180027017369866,
-0.08101662993431091,
0.011563215404748917,
0.042139023542404175,
-0.027017896994948387,
0.02496097795665264,
-0.038395803421735764,
0.028611544519662857,
-0.007361357565969229,
0.08635349571704865,
-0.01762278378009796,
-0.07464203238487244,
0.0019411005778238177,
-0.07960829138755798,
-0.018919939175248146,
0.024442115798592567,
-0.039767082780599594,
-0.026888180524110794,
-0.053035128861665726,
0.0347081758081913,
0.00428756233304739,
0.019327618181705475,
-0.059595029801130295,
0.00565189216285944,
0.061966974288225174,
-0.02221842110157013,
0.011174068786203861,
0.03613504767417908,
0.03921115770936012,
0.039137035608291626,
0.02377500757575035,
0.0014141311403363943,
-0.022737283259630203,
-0.012841839343309402,
-0.04439977928996086,
-0.003940110094845295,
0.031020548194646835,
-0.001505626947619021,
0.04654935374855995,
0.04732764512300491,
-0.007472542580217123,
-0.018586385995149612,
-0.040730684995651245,
-0.011683665215969086,
-0.05388754606246948,
-0.02420121617615223,
-0.048884231597185135,
-0.031817372888326645,
-0.026443442329764366,
-0.08679823577404022,
0.07223302870988846,
-0.0416201613843441,
-0.04084187000989914,
0.08613112568855286,
0.024738609790802002,
-0.004514564294368029,
0.028796853497624397,
0.00141297304071486,
0.01150762289762497,
-0.030205193907022476,
0.04321381077170372,
0.06285645067691803,
0.038358740508556366,
-0.04725352302193642,
0.015621459111571312,
0.0026360054034739733,
0.006911986041814089,
0.009038394317030907,
0.07768108695745468,
-0.023700885474681854,
-0.04139779135584831,
0.02694377303123474,
-0.003036733716726303,
-0.02696230448782444,
0.001716414699330926,
-0.052849821746349335,
0.022236952558159828,
-0.008968903683125973,
0.014500346034765244,
0.027054958045482635,
-0.017613518983125687,
-0.01618664711713791,
0.02081008069217205,
-0.06559900939464569,
-0.030019884929060936,
0.010043689981102943,
0.005980813410133123,
-0.020661834627389908,
0.02099538967013359,
0.017594987526535988,
0.037561919540166855,
-0.06715559214353561,
-0.027722066268324852,
0.0034953709691762924,
0.0010620460379868746,
0.02990869991481304,
-0.0416942834854126,
-0.0026846486143767834,
0.02857448346912861,
-0.02440505474805832,
-0.02896362915635109,
0.052849821746349335,
-0.0416201613843441,
0.008218406699597836,
-0.008440776728093624,
-0.0002889645693358034,
-0.05333162471652031,
0.00029736131546087563,
-0.003527799854055047,
0.00015099701704457402,
-0.028259459882974625,
-0.05385048687458038,
-0.020105911418795586,
-0.00486433319747448,
-0.024683017283678055,
-0.020902734249830246,
0.04580812156200409,
0.07434554398059845,
-0.006874924525618553,
-0.029630739241838455,
-0.0143798952922225,
0.06230052560567856,
-0.026091357693076134,
0.03741367161273956,
0.014935819432139397,
-0.05473996326327324,
-0.015519539825618267,
0.010951698757708073,
0.016427548602223396,
-0.013305109925568104,
-0.027481166645884514,
-0.03552353009581566,
0.024293869733810425,
-0.028296520933508873,
-0.03137263283133507,
0.029445430263876915,
-0.03713570907711983,
-0.06315294653177261,
0.011692930944263935,
0.03604239225387573,
0.025479840114712715,
0.012767716310918331,
-0.025535432621836662,
0.0019190952880308032,
0.005980813410133123,
-0.027666473761200905,
0.02896362915635109,
-0.0367095023393631,
-0.03244742006063461,
0.0024947079364210367,
-0.02301524579524994,
-0.04584518074989319,
0.002349936170503497,
-0.019716763868927956,
-0.0012624103110283613,
0.0028074150905013084,
0.035004667937755585,
0.015278639271855354,
0.0754203274846077,
-0.043510302901268005,
0.004827271681278944,
0.00574917858466506,
-0.039137035608291626,
0.002742557320743799,
-0.017613518983125687,
-0.050626128911972046,
-0.04321381077170372,
0.004933823831379414,
0.0495142787694931,
0.05688953399658203,
-0.017696907743811607,
-0.019568517804145813,
0.03706158697605133,
-0.06904573738574982,
-0.0931728258728981,
0.01616811752319336,
0.05177503824234009,
-0.044103287160396576,
0.002187791746109724,
0.03213239461183548,
-0.043102625757455826,
0.0004710875218734145,
0.01120186410844326,
0.026276664808392525,
-0.05670422688126564,
-0.01588089019060135,
0.01101655699312687,
0.031205855309963226,
0.025257471948862076,
-0.04221314564347267,
-0.027425574138760567,
0.0851675271987915,
0.02538718655705452,
0.06445010006427765,
0.01637195609509945,
0.0079126488417387,
0.025535432621836662,
-0.007755137048661709,
-0.04684584587812424,
0.027814719825983047,
-0.0045400443486869335,
-0.008899413049221039,
-0.024034438654780388,
0.020550649613142014,
-0.04065655916929245,
0.04184253141283989,
0.03244742006063461,
0.020884204655885696,
-0.005040375981479883,
-0.0004600848478730768,
-0.02455330081284046,
0.03170618787407875,
-0.019531456753611565,
0.06126280128955841,
0.01367572508752346,
-0.03127997741103172,
-0.08005302399396896,
-0.020939797163009644,
-0.03602386265993118,
-0.05207153037190437,
0.013759113848209381,
-0.0016121789813041687,
0.02438652329146862,
-0.0017534763319417834,
0.0022700221743434668,
0.0001792275143088773,
0.01735408790409565,
0.003731638425961137,
0.01825283095240593,
0.05414697900414467,
-0.014917288906872272,
-0.022107236087322235,
-0.02896362915635109,
0.01545468159019947,
-0.02219988964498043,
0.013953687623143196,
-0.035412345081567764,
-0.019179370254278183,
-0.0021565209608525038,
-0.008890148252248764,
-0.01227665040642023,
-0.06800801306962967,
0.044325657188892365,
0.0028769057244062424,
0.011878238059580326,
0.04540044441819191,
-0.0018438139231875539,
0.03033490851521492,
0.029593676328659058,
-0.04047125205397606,
-0.0019399424782022834,
-0.036190640181303024,
0.0033980843145400286,
-0.07056526094675064,
0.04002651199698448,
0.023923253640532494,
0.04525219649076462,
0.0024437482934445143,
-0.026424910873174667,
-0.06834156811237335,
-0.07286307960748672,
0.012054281309247017,
-0.020773019641637802,
-0.004028131254017353,
-0.00008121698920149356,
-0.07879292964935303,
0.015426885336637497,
0.039137035608291626,
-0.015973543748259544,
0.048476554453372955,
-0.039137035608291626,
0.02718467451632023,
0.02994576282799244,
0.03585708513855934,
-0.10340182483196259,
0.032391827553510666,
0.046697597950696945,
0.009256131015717983,
-0.04506688937544823,
-0.017094656825065613,
-0.006796168629080057,
-0.025665149092674255,
-0.01925349421799183,
-0.008602920919656754,
-0.01545468159019947,
-0.012295180931687355,
0.014546672813594341,
-0.004780944436788559,
0.027462635189294815,
0.012156200595200062,
-0.023682354018092155,
0.017835889011621475,
-0.0012844156008213758,
0.036783624440431595,
0.04832831025123596,
-0.040323007851839066,
0.03752485662698746,
-0.020921265706419945,
0.006935149431228638,
0.01447254978120327,
0.007847790606319904,
-0.024052970111370087,
0.04321381077170372,
-0.0693051666021347,
-0.0347081758081913,
0.05077437311410904,
-0.033207181841135025,
-0.012619470246136189,
0.02655462734401226,
-0.017706172540783882,
-0.018901409581303596,
-0.06396830081939697,
-0.018688304349780083,
0.015955012291669846,
0.00853343028575182,
-0.0037501691840589046,
-0.00010532150190556422,
0.0183732807636261,
0.0435473658144474,
-0.033633388578891754,
0.02101391926407814,
-0.008153549395501614,
0.012841839343309402,
-0.0010226682061329484,
-0.06419067084789276,
-0.03444874659180641,
-0.0020823979284614325,
-0.010090016759932041,
-0.002571147633716464,
-0.08183198422193527,
0.03174324706196785,
-0.04265788570046425,
-0.07708810269832611,
-0.0003784335567615926,
0.031242918223142624,
0.05070025101304054,
-0.00371774029918015,
-0.018818020820617676,
-0.046697597950696945,
-0.007847790606319904,
0.024312401190400124,
0.00008020358654903248,
-0.016112525016069412,
0.008931842632591724,
-0.04106423631310463,
0.07219596952199936,
-0.02025415748357773,
-0.0753462091088295,
0.01446328405290842,
-0.005211785435676575,
0.050885558128356934,
-0.02514628693461418,
-0.05318337678909302,
0.037747226655483246,
0.004794842563569546,
-0.00002797715387714561,
0.008102589286863804,
0.02837064489722252,
-0.0071065593510866165,
-0.008088691160082817,
-0.02221842110157013,
0.02323761396110058,
0.0366353765130043,
0.04150897637009621,
0.027444105595350266,
-0.02340439148247242,
0.029056284576654434,
-0.0012276651104912162,
0.01686302199959755,
-0.024645954370498657,
0.0011691772378981113,
0.05410991609096527,
0.0534798689186573,
-0.042324330657720566,
0.057816073298454285,
0.008139651268720627,
-0.020754488185048103,
-0.010960964486002922,
-0.02238519862294197,
0.03909997269511223,
-0.0012218741467222571,
-0.015334231778979301,
0.006161488592624664,
0.024034438654780388,
-0.016881553456187248,
0.016093993559479713,
0.006629391107708216,
0.03643153980374336,
0.05852024629712105,
0.08487103134393692,
-0.027870312333106995,
0.023700885474681854,
0.0772363469004631,
0.0655248835682869,
0.026054294779896736,
-0.02935277670621872,
-0.026684341952204704,
-0.04603049159049988,
0.01870683580636978,
-0.01801193132996559,
0.032780975103378296,
0.003747852984815836,
0.03932234272360802
] |
52,118 |
pebble.common
|
set_running_or_notify_cancel
|
Mark the future as running or process any cancel notifications.
Should only be used by Executor implementations and unit tests.
If the future has been cancelled (cancel() was called and returned
True) then any threads waiting on the future completing (though calls
to as_completed() or wait()) are notified and False is returned.
If the future was not cancelled then it is put in the running state
(future calls to running() will return True) and True is returned.
This method should be called by Executor implementations before
executing the work associated with this future. If this method returns
False then the work should not be executed.
Returns:
False if the Future was cancelled, True otherwise.
Raises:
RuntimeError: if set_result() or set_exception() was called.
|
def set_running_or_notify_cancel(self):
"""Mark the future as running or process any cancel notifications.
Should only be used by Executor implementations and unit tests.
If the future has been cancelled (cancel() was called and returned
True) then any threads waiting on the future completing (though calls
to as_completed() or wait()) are notified and False is returned.
If the future was not cancelled then it is put in the running state
(future calls to running() will return True) and True is returned.
This method should be called by Executor implementations before
executing the work associated with this future. If this method returns
False then the work should not be executed.
Returns:
False if the Future was cancelled, True otherwise.
Raises:
RuntimeError: if set_result() or set_exception() was called.
"""
with self._condition:
if self._state == CANCELLED:
self._state = CANCELLED_AND_NOTIFIED
for waiter in self._waiters:
waiter.add_cancelled(self)
return False
elif self._state == PENDING:
self._state = RUNNING
return True
else:
raise RuntimeError('Future in unexpected state')
|
(self)
|
[
0.060276105999946594,
-0.03996448591351509,
0.005736660212278366,
0.05980033800005913,
0.02947929874062538,
-0.028436269611120224,
0.016404835507273674,
-0.037915024906396866,
0.04735718294978142,
-0.0306687168776989,
0.026606393977999687,
-0.01882942207157612,
0.01985415257513523,
-0.053212787955999374,
0.004426011815667152,
0.045088138431310654,
0.035133615136146545,
-0.013916204683482647,
-0.010860312730073929,
0.0063725421205163,
-0.0201469324529171,
0.007365250028669834,
-0.00892979372292757,
-0.026331912726163864,
0.04399021342396736,
0.010659025982022285,
-0.046222660690546036,
-0.010622428730130196,
-0.043734028935432434,
0.013513632118701935,
0.04666183143854141,
0.0005398133653216064,
-0.01639568619430065,
-0.057348307222127914,
0.08073411881923676,
0.04000108316540718,
-0.024190956726670265,
0.07963619381189346,
0.03974490240216255,
-0.023257721215486526,
-0.052078261971473694,
-0.07765992730855942,
-0.023111330345273018,
0.04263610392808914,
-0.02153763733804226,
-0.0076992022804915905,
0.013605126179754734,
0.00998197216540575,
0.04863809794187546,
-0.013843010179698467,
0.03334033489227295,
0.0033463852014392614,
-0.015444151125848293,
0.02503270097076893,
-0.0192502923309803,
0.030650418251752853,
0.04691801220178604,
0.05493286997079849,
-0.010274752043187618,
-0.015380105935037136,
0.005302065052092075,
0.05149270221590996,
-0.005096204113215208,
-0.0237151887267828,
0.04962623119354248,
0.04699121043086052,
0.034749340265989304,
0.050431374460458755,
0.006445737089961767,
0.03401739150285721,
-0.03904954716563225,
0.017420416697859764,
-0.00853637047111988,
0.00013902767386753112,
0.010933507233858109,
-0.023513903841376305,
-0.07473212480545044,
-0.02214149571955204,
-0.050504568964242935,
0.015544794499874115,
-0.00011165101022925228,
0.03970830515027046,
0.08454025536775589,
0.0311993807554245,
0.043331459164619446,
0.00406918628141284,
0.016496330499649048,
0.004716504830867052,
0.021025272086262703,
0.002019725274294615,
0.0006313071353361011,
0.03890315815806389,
0.024117762222886086,
-0.0385005846619606,
0.004412287846207619,
0.02713705785572529,
0.006468610838055611,
-0.051931872963905334,
-0.023916475474834442,
-0.07575685530900955,
0.017045293003320694,
0.043368056416511536,
0.04717419669032097,
-0.07012084126472473,
0.07707436382770538,
0.027503032237291336,
-0.014007698744535446,
-0.014620707370340824,
-0.004439735785126686,
-0.013934503309428692,
0.005576546303927898,
0.037237972021102905,
-0.05566481873393059,
0.02214149571955204,
-0.013184254989027977,
-0.055847808718681335,
-0.05398133397102356,
-0.02827158011496067,
-0.050211790949106216,
0.015800977125763893,
-0.01060413010418415,
0.02327601984143257,
0.011409275233745575,
-0.03345012664794922,
-0.01906730607151985,
0.08146607130765915,
-0.01815236732363701,
0.05786067247390747,
0.04150158166885376,
-0.0219219122081995,
0.008454025723040104,
-0.04022067040205002,
0.017768094316124916,
0.017685748636722565,
0.022415976971387863,
0.01710018888115883,
0.035810668021440506,
0.028747348114848137,
-0.015224565751850605,
0.00479427445679903,
-0.0009452452068217099,
-0.024337347596883774,
0.03751245141029358,
0.002191276289522648,
0.05914158374071121,
0.019817553460597992,
-0.03526170551776886,
0.01950647495687008,
0.007905063219368458,
-0.03484083339571953,
0.04428299143910408,
-0.023843280971050262,
0.04395361617207527,
0.013769814744591713,
-0.005219720769673586,
0.05145610496401787,
0.01822556182742119,
-0.012507200241088867,
0.07312183082103729,
0.008449451066553593,
0.03372460976243019,
0.024556932970881462,
-0.007827293127775192,
-0.0648873969912529,
0.0003159394836984575,
0.05500606447458267,
-0.003483625827357173,
0.04530772194266319,
-0.008719357661902905,
0.0317300446331501,
0.0013014990836381912,
0.048967473208904266,
0.04406340792775154,
0.08088050782680511,
-0.10283901542425156,
0.04256290942430496,
-0.002208431251347065,
0.02203170396387577,
-0.020476309582591057,
-0.005192272365093231,
0.024831414222717285,
-0.017978528514504433,
-0.04164797067642212,
-0.02980867587029934,
0.03740265965461731,
-0.00839912984520197,
0.0019465303048491478,
0.023623695597052574,
0.03487743064761162,
-0.03033933974802494,
-0.0004969256115145981,
-0.023770086467266083,
0.03831759840250015,
0.020439712330698967,
-0.04450257867574692,
-0.021189961582422256,
-0.05401793122291565,
0.0026807680260390043,
0.04545411467552185,
-0.02609402872622013,
-0.007356100250035524,
-0.008646163158118725,
0.10056997090578079,
-0.005883050616830587,
0.016898902133107185,
0.02883884124457836,
0.007141089998185635,
-0.01112564466893673,
0.05910498648881912,
0.02770431898534298,
-0.01208632905036211,
-0.03634133189916611,
-0.05548183247447014,
0.04475875943899155,
0.014876889996230602,
-0.003426442388445139,
0.008362531661987305,
0.06291113048791885,
-0.03624983876943588,
0.03875676915049553,
-0.016066309064626694,
0.027338342741131783,
0.05474988371133804,
-0.039195939898490906,
-0.007932511158287525,
0.06657087802886963,
0.04058664292097092,
-0.017246579751372337,
0.06664407253265381,
-0.012113776989281178,
-0.03540809452533722,
0.027576226741075516,
-0.05401793122291565,
-0.08446706086397171,
-0.013788113370537758,
-0.01494093518704176,
0.04055004566907883,
0.023440707474946976,
-0.010476038791239262,
0.027466434985399246,
0.0067934137769043446,
-0.03204112499952316,
0.012507200241088867,
-0.06726623326539993,
-0.024556932970881462,
-0.02741153910756111,
0.006784264463931322,
0.04117220267653465,
0.005173973739147186,
-0.02331261709332466,
-0.030851704999804497,
-0.025929339230060577,
-0.024868011474609375,
-0.04410000517964363,
0.006770540028810501,
-0.09273809939622879,
-0.006015716586261988,
-0.056213781237602234,
0.08475984632968903,
0.0670100525021553,
0.03288286551833153,
0.018243860453367233,
-0.01668846607208252,
-0.0010767674539238214,
0.008056027814745903,
-0.03097979538142681,
-0.01743871532380581,
-0.035023823380470276,
0.03765884414315224,
0.027356641367077827,
0.023404110223054886,
-0.07425636053085327,
-0.033742908388376236,
-0.05145610496401787,
-0.021867014467716217,
-0.011949088424444199,
-0.05650656297802925,
0.021446144208312035,
-0.05972714349627495,
-0.019780956208705902,
0.04322166368365288,
0.03820780664682388,
-0.018143218010663986,
-0.015316059812903404,
-0.02078738808631897,
0.0037146478425711393,
-0.04863809794187546,
0.0274481363594532,
-0.024410542100667953,
-0.016743363812565804,
0.0014581822324544191,
0.02064099907875061,
0.006830011028796434,
-0.046369049698114395,
0.0010716209653764963,
-0.029186518862843513,
-0.004949813708662987,
-0.0699012503027916,
-0.008458600379526615,
0.02300153858959675,
0.04179436340928078,
0.027393240481615067,
-0.05094373971223831,
0.014785395935177803,
0.026258716359734535,
0.04552730917930603,
0.040733035653829575,
0.011015851981937885,
-0.038024816662073135,
0.020092034712433815,
0.05248083546757698,
-0.018353654071688652,
0.005453029647469521,
-0.0777331218123436,
0.061410628259181976,
0.0031794090755283833,
-0.009506204165518284,
-0.06064208224415779,
-0.02506929822266102,
-0.022562367841601372,
-0.055957600474357605,
-0.03022954799234867,
-0.010933507233858109,
0.001805858570151031,
-0.021848715841770172,
-0.003897635266184807,
-0.0015805552247911692,
0.0641920417547226,
-0.08761444687843323,
0.053322579711675644,
0.024154359474778175,
-0.0327913723886013,
0.0069398037157952785,
0.04040365666151047,
-0.05511585623025894,
0.0025618260260671377,
0.04424639418721199,
0.013586827553808689,
0.02082398533821106,
-0.020439712330698967,
0.018509192392230034,
-0.02556336484849453,
-0.030924899503588676,
0.009963673539459705,
-0.06993784755468369,
0.019780956208705902,
0.033065855503082275,
0.025325480848550797,
0.13182425498962402,
-0.08153926581144333,
-0.035499587655067444,
0.020549504086375237,
-0.025160791352391243,
0.05255402997136116,
-0.011189689859747887,
-0.0008097200188785791,
0.012104627676308155,
-0.017420416697859764,
0.023440707474946976,
-0.08585777133703232,
0.02142784558236599,
0.02214149571955204,
0.039305731654167175,
-0.005292915739119053,
-0.0827103853225708,
0.017758943140506744,
-0.05292000621557236,
-0.0010613278718665242,
-0.02349560521543026,
-0.045014943927526474,
0.011217138729989529,
-0.003968542907387018,
0.042196933180093765,
0.002884341636672616,
0.061374031007289886,
0.003600280499085784,
-0.04450257867574692,
-0.057421501725912094,
-0.019231993705034256,
0.001106502953916788,
0.03420037776231766,
0.0021318052895367146,
-0.06386266648769379,
-0.02402626909315586,
-0.018582388758659363,
0.0028477441519498825,
-0.00707704434171319,
-0.05215146020054817,
-0.0010087189730256796,
-0.022434277459979057,
-0.017356371507048607,
-0.006528081838041544,
-0.002493205713108182,
0.02766772173345089,
0.00466160848736763,
-0.04717419669032097,
-0.0014513202477246523,
0.004114932846277952,
0.06367967277765274,
-0.02488631010055542,
0.03440166264772415,
0.08314955234527588,
0.014968383125960827,
-0.0026464578695595264,
0.04966282844543457,
0.02635021135210991,
0.00024960649898275733,
-0.08666291832923889,
0.013568528927862644,
0.000810863683000207,
-0.03740265965461731,
-0.06785178929567337,
0.013248300179839134,
-0.030247846618294716,
-0.0862969383597374,
0.07249967753887177,
-0.06528996676206589,
-0.06752241402864456,
0.05405452847480774,
-0.03275477513670921,
-0.028857139870524406,
0.010229005478322506,
0.014556661248207092,
0.01822556182742119,
0.008033154532313347,
0.06177660450339317,
0.06089826300740242,
0.012434005737304688,
-0.0050184340216219425,
0.005462178960442543,
-0.040696434676647186,
-0.01420898549258709,
0.03498722240328789,
0.046295855194330215,
0.01643228344619274,
-0.03030274249613285,
0.02409946359694004,
0.012223569676280022,
-0.03831759840250015,
0.024483736604452133,
-0.04969942569732666,
0.012845727615058422,
-0.017200831323862076,
0.017127636820077896,
0.008810851722955704,
-0.012369959615170956,
0.010851163417100906,
0.04252631217241287,
0.00939641147851944,
-0.018847720697522163,
-0.018390251323580742,
0.0033349485602229834,
0.00097269332036376,
0.01886601932346821,
-0.023550501093268394,
0.04450257867574692,
-0.044795356690883636,
-0.000759970280341804,
-0.044978346675634384,
-0.004181265830993652,
0.023184524849057198,
0.018618986010551453,
-0.06646108627319336,
-0.0029026404954493046,
0.001604572287760675,
-0.025288883596658707,
0.06397245824337006,
-0.027887307107448578,
-0.017640002071857452,
0.012864026241004467,
0.07260946929454803,
-0.04647884517908096,
0.06228896975517273,
0.017585106194019318,
-0.04388042166829109,
0.003565970342606306,
-0.021775521337985992,
0.043770626187324524,
-0.008257314562797546,
-0.025124194100499153,
0.017539359629154205,
0.009707490913569927,
-0.01634993962943554,
-0.021482741460204124,
-0.009597698226571083,
-0.02984527312219143,
0.010842014104127884,
-0.004551815800368786,
0.027960501611232758,
-0.007543662562966347,
-0.018106620758771896,
-0.0194332804530859,
0.008838299661874771,
0.001537095638923347,
0.015306910499930382,
-0.034493159502744675,
-0.012434005737304688,
0.03732946515083313,
-0.0010104344692081213,
0.020384816452860832,
0.03487743064761162,
-0.02880224399268627,
-0.05145610496401787,
0.056140586733818054,
0.028930336236953735,
-0.020128633826971054,
-0.011775250546634197,
-0.015627138316631317,
-0.02428245171904564,
0.004108070861548185,
-0.002180983079597354,
0.019799254834651947,
0.013147656805813313,
-0.06206938624382019,
0.021555935963988304,
-0.0327913723886013,
-0.031107887625694275,
-0.034566354006528854,
0.010210706852376461,
-0.008110924623906612,
0.013696620240807533,
-0.014446868561208248,
0.02259896509349346,
0.09325046837329865,
-0.03597535565495491,
0.023404110223054886,
-0.008961816318333149,
-0.020842283964157104,
-0.021592533215880394,
-0.035389795899391174,
-0.012132076546549797,
-0.04977262020111084,
0.01385215949267149,
0.00013859878527000546,
0.02973548136651516,
-0.023916475474834442,
-0.0345846526324749,
0.035206809639930725,
-0.06104465574026108,
-0.019835852086544037,
0.013833860866725445,
0.05149270221590996,
0.023093031719326973,
0.06968166679143906,
0.01992734707891941,
-0.00922714825719595,
0.012937221676111221,
0.004583838861435652,
0.07905063033103943,
-0.02841797098517418,
0.013907055370509624,
0.04933344945311546,
0.08710208535194397,
-0.0199639443308115,
-0.03698178753256798,
0.02737494185566902,
0.06386266648769379,
0.06327710300683975,
0.011546515859663486,
0.035499587655067444,
-0.004181265830993652,
-0.02755792811512947,
0.02360539697110653,
-0.05273701995611191,
0.015993114560842514,
0.037768635898828506,
-0.01645973138511181,
-0.03485913202166557,
0.03229730576276779,
-0.027869006618857384,
0.030924899503588676,
-0.026935771107673645,
-0.015553943812847137,
-0.0049772621132433414,
0.017768094316124916,
0.005453029647469521,
0.035462990403175354,
-0.021665729582309723,
-0.013001266866922379,
-0.018390251323580742,
-0.05782407149672508,
-0.10525444895029068,
-0.013513632118701935,
-0.03985469415783882,
-0.04574689269065857,
-0.011875893920660019,
-0.03149216249585152,
0.0445757731795311,
-0.018564090132713318,
0.014648155309259892,
0.0055262246169149876,
0.0991060733795166,
0.026899173855781555,
-0.01710018888115883,
0.047649964690208435,
-0.008335083723068237,
0.0004060036735609174,
-0.002822583308443427,
0.037768635898828506,
0.022690458223223686,
-0.001525658881291747,
-0.05837303772568703,
-0.004048599861562252,
-0.02349560521543026,
-0.02210489846765995,
-0.007003849372267723,
-0.059983327984809875,
-0.04292888566851616,
-0.004522080533206463,
-0.020476309582591057,
0.00676596537232399,
0.02642340585589409,
0.05083394795656204,
0.022983239963650703,
0.0010436009615659714,
-0.011436723172664642,
-0.046369049698114395,
-0.005453029647469521,
-0.05390813946723938,
-0.05244423821568489,
0.0031771217472851276,
0.030211247503757477,
-0.02018352970480919,
-0.04933344945311546,
-0.08029494434595108,
-0.04582008719444275,
0.005942521616816521,
-0.036011952906847,
-0.04735718294978142,
-0.018353654071688652,
-0.019817553460597992,
0.0134587362408638,
-0.0015016418183222413,
0.018399400636553764,
-0.0008486048900522292,
-0.039159342646598816,
-0.015846723690629005,
0.05936116725206375,
0.04011087492108345,
-0.037201374769210815,
0.03533490002155304,
-0.033029258251190186,
-0.021665729582309723,
-0.014465168118476868,
-0.01668846607208252,
-0.05720191448926926,
-0.043551042675971985,
-0.0509803369641304,
0.005306639708578587,
-0.01116224192082882,
-0.025545066222548485,
0.05083394795656204,
0.005096204113215208,
-0.0013563954271376133,
-0.04453917592763901,
-0.0011837008642032743,
-0.028015397489070892,
0.031565356999635696,
0.06400905549526215,
0.024300750344991684,
-0.00874223094433546,
-0.028692452237010002,
-0.056067392230033875,
0.028747348114848137,
0.019597969949245453,
0.03198622912168503,
-0.03379780426621437,
0.02210489846765995,
-0.021189961582422256,
-0.025142492726445198,
0.06660747528076172,
-0.018957512453198433,
-0.036011952906847,
0.01989074982702732,
0.0016354514518752694,
0.02338581159710884,
-0.07685478031635284,
-0.018399400636553764,
-0.010924357920885086,
-0.021812118589878082,
-0.05895859748125076,
0.012315063737332821,
0.014648155309259892,
0.03835419565439224,
0.02988187037408352,
0.0012992117553949356,
0.01741126738488674,
-0.04556390643119812,
0.021940210834145546,
-0.06730283051729202,
-0.03582896664738655,
0.05782407149672508,
-0.03747585415840149,
0.05361535772681236,
-0.036030251532793045,
0.01570948399603367,
-0.05127311870455742,
-0.014840291813015938,
0.009112780913710594,
0.033285439014434814,
0.045124735683202744,
-0.0032731902319937944,
-0.009035011753439903,
-0.037164777517318726,
-0.02646000310778618,
0.040989216417074203,
-0.033706311136484146,
-0.017941931262612343,
0.044941749423742294,
-0.039232537150382996,
-0.0016137217171490192,
0.06873013079166412,
-0.06481419503688812,
-0.03645112365484238,
-0.05233444646000862,
0.02093377895653248,
-0.012653591111302376,
-0.05947096273303032,
0.04721079394221306,
-0.015993114560842514,
0.046149466186761856,
0.0369085930287838,
-0.0033326612319797277,
-0.005379834678024054,
-0.018975811079144478,
-0.0006330226315185428,
0.00034796231193467975,
0.0013678320683538914,
-0.0076122828759253025,
-0.010274752043187618,
0.024337347596883774,
0.049187060445547104,
-0.012552947737276554,
0.016066309064626694,
-0.04036705940961838,
0.01419068593531847,
0.018811123445630074,
0.02195850946009159,
-0.0991060733795166,
0.01992734707891941,
0.013394690118730068,
-0.027887307107448578,
0.0006490340456366539,
0.021446144208312035,
0.048967473208904266,
0.012900623492896557,
-0.018994109705090523,
0.014501765370368958,
0.03732946515083313,
-0.019524773582816124,
-0.04120879992842674,
0.003499637357890606,
0.021135063841938972,
0.013092760927975178,
0.027923904359340668,
-0.012360810302197933,
-0.026020832359790802,
0.1051812544465065,
0.0017521060071885586,
0.018975811079144478,
-0.052005067467689514,
-0.006528081838041544,
-0.025764649733901024,
0.039342328906059265,
0.010887760668992996,
0.007795270532369614,
0.0076260073110461235,
0.07282905280590057
] |
52,119 |
pebble.common
|
ProcessExpired
|
Raised when process dies unexpectedly.
|
class ProcessExpired(OSError):
"""Raised when process dies unexpectedly."""
def __init__(self, msg, code=0):
super(ProcessExpired, self).__init__(msg)
self.exitcode = code
|
(msg, code=0)
|
[
0.033909913152456284,
-0.006283153779804707,
-0.025254281237721443,
0.0387243889272213,
0.016459602862596512,
-0.04671955108642578,
-0.020874323323369026,
0.011671196669340134,
0.03491799533367157,
-0.047588590532541275,
0.08426204323768616,
0.04824905842542648,
0.057356588542461395,
-0.026331888511776924,
-0.027722351253032684,
0.007747484836727381,
0.04223530739545822,
0.03321468085050583,
-0.04428623989224434,
-0.05242044851183891,
-0.015147354453802109,
0.060589417815208435,
-0.01910148188471794,
-0.05221187695860863,
-0.019518621265888214,
0.06635984033346176,
-0.009802762418985367,
0.031493984162807465,
-0.007886530831456184,
-0.07438976317644119,
-0.010037403553724289,
-0.011975361034274101,
-0.037542495876550674,
0.046823833137750626,
0.01995314098894596,
0.017372094094753265,
-0.046684786677360535,
0.01654650643467903,
-0.09093626588582993,
0.042339593172073364,
-0.03820296376943588,
-0.03684726357460022,
-0.030729228630661964,
0.0037216604687273502,
0.050821416079998016,
-0.023516202345490456,
-0.016555197536945343,
-0.007743139751255512,
-0.06145845726132393,
-0.02353358268737793,
-0.025306422263383865,
-0.01698971726000309,
0.07765734940767288,
-0.008560036309063435,
0.012583687901496887,
0.1332063376903534,
0.03524823114275932,
0.06483032554388046,
-0.023116443306207657,
-0.05530565604567528,
-0.05540994182229042,
0.05061284452676773,
-0.05033475160598755,
-0.0274790208786726,
0.026957597583532333,
-0.02469809539616108,
-0.03116374835371971,
-0.02739211730659008,
-0.021934550255537033,
0.00782569870352745,
0.05885133892297745,
0.013461417518556118,
-0.06378748267889023,
0.03497013822197914,
0.09044960141181946,
-0.0009016282274387777,
-0.06722887605428696,
0.028834722936153412,
0.012401189655065536,
0.04160960018634796,
0.03020780347287655,
-0.00914229266345501,
-0.0094812186434865,
0.02483714185655117,
0.07473737746477127,
-0.006474342197179794,
0.06583841145038605,
-0.06486508995294571,
-0.0804382711648941,
0.05509708821773529,
-0.008477478288114071,
0.03491799533367157,
-0.026523077860474586,
0.024107148870825768,
0.05259425565600395,
-0.02466333471238613,
0.03232825919985771,
0.012227382510900497,
-0.0053750076331198215,
-0.07299929857254028,
0.0340663380920887,
0.00993311870843172,
0.013079040683805943,
-0.03510918468236923,
0.034500859677791595,
0.03625631704926491,
0.003298003925010562,
-0.0572870671749115,
0.021899789571762085,
-0.045120518654584885,
-0.04101865366101265,
0.025671418756246567,
-0.026019034907221794,
-0.04703240469098091,
-0.02389857918024063,
-0.01918838731944561,
-0.020856941118836403,
0.022177882492542267,
-0.005474947392940521,
0.00578345637768507,
0.003586959559470415,
0.037716303020715714,
-0.02231692709028721,
0.02115241438150406,
0.02608855813741684,
0.04762335121631622,
-0.01677245832979679,
0.017789233475923538,
0.02367262914776802,
0.009020627476274967,
-0.014877951703965664,
-0.00689148111268878,
0.0027744078543037176,
-0.02004004456102848,
-0.053185202181339264,
-0.027287831529974937,
0.024958807975053787,
0.06865409761667252,
-0.03550894185900688,
-0.04393862560391426,
0.02250811643898487,
0.03554370626807213,
0.007512844167649746,
0.015260329470038414,
0.031719934195280075,
0.06298796832561493,
-0.016694243997335434,
0.004195286892354488,
0.0019140589283779263,
0.008451406843960285,
0.03550894185900688,
-0.023099062964320183,
0.01864958181977272,
0.04428623989224434,
0.001811946858651936,
-0.004584182053804398,
-0.024454765021800995,
-0.024367859587073326,
-0.006244047079235315,
-0.02097860723733902,
-0.005618338938802481,
-0.031215889379382133,
0.05676564201712608,
-0.06861934065818787,
-0.025497611612081528,
0.0197619516402483,
0.006383093073964119,
0.009872285649180412,
0.002704884624108672,
0.019240528345108032,
-0.005740004125982523,
0.03008613921701908,
-0.004316952545195818,
-0.028295917436480522,
-0.05926847830414772,
0.06403081119060516,
0.01420879177749157,
0.022786209359765053,
-0.023516202345490456,
0.020561467856168747,
0.026071177795529366,
-0.019344814121723175,
-0.05419328808784485,
0.013661297038197517,
0.015182116068899632,
0.029443049803376198,
-0.029599476605653763,
0.052837587893009186,
0.050091423094272614,
0.0022855731658637524,
0.009333481080830097,
0.033510152250528336,
0.02017909102141857,
0.04393862560391426,
0.04192245379090309,
-0.013018207624554634,
-0.08099445700645447,
-0.020387660712003708,
0.013374513946473598,
0.049604758620262146,
0.006374402903020382,
0.08718201518058777,
0.01531247142702341,
-0.04505099356174469,
0.0123924994841218,
0.0027266107499599457,
-0.04550289362668991,
-0.018406251445412636,
-0.05429757386445999,
0.01002002228051424,
-0.009463837370276451,
-0.03587393835186958,
-0.0013426656369119883,
0.09204863756895065,
0.03008613921701908,
-0.003339283401146531,
0.103798046708107,
0.0037412140518426895,
0.03643012419342995,
0.032258737832307816,
0.029964473098516464,
-0.02523689903318882,
0.01864958181977272,
-0.006465652026236057,
0.01105417963117361,
0.0011493044439703226,
0.013678677380084991,
-0.01490402314811945,
0.03743821009993553,
0.02200407348573208,
-0.029616856947541237,
-0.007417249958962202,
-0.049604758620262146,
-0.024420002475380898,
0.029877569526433945,
0.01837148889899254,
0.009463837370276451,
-0.019223148003220558,
-0.056869927793741226,
-0.006974040064960718,
-0.0448424257338047,
-0.016303176060318947,
0.048075251281261444,
0.03636060282588005,
0.08732106536626816,
-0.007534570060670376,
0.013304990716278553,
0.06295320391654968,
-0.05169045552611351,
0.01599901169538498,
0.03976723551750183,
-0.014486884698271751,
-0.02730521373450756,
-0.03608250990509987,
0.01463462132960558,
-0.0116103645414114,
-0.04720621183514595,
-0.07793544232845306,
0.019744571298360825,
0.05832991376519203,
0.02667950466275215,
-0.02106551080942154,
-0.032797541469335556,
0.0012840054696425796,
-0.005879050586372614,
-0.032571591436862946,
0.02066575363278389,
0.016103297472000122,
0.023724772036075592,
0.012505474500358105,
0.08175921440124512,
-0.01788482815027237,
-0.04400814697146416,
0.002694021677598357,
-0.05043903738260269,
0.04845762997865677,
-0.04035818204283714,
0.003958473913371563,
-0.023116443306207657,
0.02909543365240097,
0.07724020630121231,
0.038793910294771194,
0.00952467042952776,
-0.031719934195280075,
-0.0518295019865036,
0.033649198710918427,
0.009246577508747578,
-0.013174635358154774,
-0.04793620482087135,
0.028852103278040886,
-0.004388648085296154,
0.027496401220560074,
-0.007812662981450558,
-0.028434963896870613,
0.025306422263383865,
0.021639076992869377,
-0.06764601171016693,
0.010645730420947075,
-0.02057885006070137,
0.0011753755388781428,
0.05436709523200989,
0.03218921273946762,
-0.07598879188299179,
0.0069914208725094795,
-0.04230482876300812,
0.012227382510900497,
0.040010567754507065,
0.007438975851982832,
-0.029512573033571243,
0.0002072115457849577,
0.04317386820912361,
0.0271140243858099,
-0.028574010357260704,
0.012948684394359589,
-0.004067103844136,
0.028087347745895386,
0.02873043715953827,
-0.059233713895082474,
-0.01981409452855587,
0.04320863261818886,
-0.04963952302932739,
-0.01950124092400074,
0.05700897425413132,
-0.016016393899917603,
0.006952314171940088,
0.005392388440668583,
0.016120677813887596,
0.04567670449614525,
0.002007480710744858,
-0.006939278449863195,
-0.040775321424007416,
-0.01847577467560768,
-0.008016887120902538,
-0.044807665050029755,
-0.03147660195827484,
-0.045294325798749924,
0.009655025787651539,
-0.050543323159217834,
-0.005266377702355385,
-0.043730054050683975,
-0.012097026221454144,
0.008712118491530418,
-0.06111083924770355,
0.028574010357260704,
0.021586934104561806,
-0.07115693390369415,
0.01708531193435192,
-0.036012984812259674,
0.003261069767177105,
-0.03674297779798508,
-0.046232886612415314,
0.10414566099643707,
-0.09399528801441193,
0.011931909248232841,
0.04286101460456848,
-0.04755382612347603,
0.010984656400978565,
-0.05217711627483368,
0.01910148188471794,
-0.0572175458073616,
-0.03528299182653427,
-0.0046797762624919415,
-0.02335977554321289,
-0.031806837767362595,
-0.05572279542684555,
-0.028591390699148178,
-0.01261844951659441,
-0.018892914056777954,
-0.006361367180943489,
0.02617546170949936,
-0.010437161661684513,
-0.04348672553896904,
-0.026279747486114502,
-0.031580887734889984,
0.032919205725193024,
0.027270451188087463,
-0.019796714186668396,
-0.03199802339076996,
-0.03199802339076996,
0.04446004703640938,
0.0027613721322268248,
-0.03312777727842331,
-0.03417062386870384,
-0.051794737577438354,
-0.027809256687760353,
0.011167154647409916,
-0.00209547090344131,
0.0011949290055781603,
0.03509180620312691,
0.01572960987687111,
-0.052559494972229004,
-0.014599859714508057,
0.028852103278040886,
0.02645355463027954,
0.025740941986441612,
0.012010122649371624,
0.002057450357824564,
0.02989494986832142,
0.011540841311216354,
0.003656482556834817,
0.006839338690042496,
0.0743202343583107,
-0.012070954777300358,
0.01439129002392292,
0.043417200446128845,
-0.04223530739545822,
0.007421595044434071,
-0.05850372090935707,
0.040462467819452286,
0.004701502155512571,
-0.0387243889272213,
-0.028660913929343224,
-0.016755076125264168,
-0.04195721447467804,
-0.045885272324085236,
-0.006882790941745043,
-0.01596425101161003,
-0.02676640823483467,
0.04751906543970108,
-0.016824599355459213,
0.018701724708080292,
0.012279524467885494,
0.03465728461742401,
0.038620103150606155,
-0.011323581449687481,
-0.025271661579608917,
-0.02026599459350109,
0.008199385367333889,
-0.008577417582273483,
-0.016303176060318947,
0.016911502927541733,
0.03519608825445175,
-0.02989494986832142,
0.004897036124020815,
0.006895826663821936,
-0.02183026634156704,
-0.022786209359765053,
0.0017206977354362607,
-0.022560259327292442,
0.07800496369600296,
0.01779792457818985,
0.0016826771898195148,
0.10581421852111816,
0.06868886202573776,
0.08808581531047821,
0.0013220258988440037,
0.05294186994433403,
-0.015364614315330982,
0.021082893013954163,
0.0013491833815351129,
0.010046093724668026,
-0.04616336524486542,
-0.0075693316757678986,
-0.023377155885100365,
0.0017022306565195322,
-0.03928057476878166,
-0.1161036416888237,
0.03199802339076996,
0.0006409164634533226,
0.020474564284086227,
-0.05405424162745476,
0.08120302855968475,
-0.025723561644554138,
-0.061215125024318695,
-0.03145921975374222,
0.017989112064242363,
0.018927674740552902,
-0.006656840443611145,
0.02806996740400791,
0.05478423461318016,
-0.00044782678014598787,
0.02909543365240097,
0.00496655935421586,
-0.008364502340555191,
-0.006100655533373356,
-0.012070954777300358,
0.0077083781361579895,
-0.04685859754681587,
0.00970716867595911,
-0.010002641938626766,
0.06608174741268158,
0.0018076016567647457,
0.06844553351402283,
0.03837677463889122,
-0.029512573033571243,
-0.015408066101372242,
0.030538039281964302,
-0.033423248678445816,
0.018858151510357857,
0.026105938479304314,
0.011323581449687481,
-0.028087347745895386,
-0.0441124327480793,
0.018597440794110298,
0.04685859754681587,
-0.04272196814417839,
-0.06368319690227509,
0.04769287258386612,
-0.0035174363292753696,
-0.08711249381303787,
0.017919588834047318,
-0.007017491851001978,
0.006309224758297205,
-0.02966899983584881,
0.01504306960850954,
0.0038911232259124517,
0.008994556032121181,
0.022264786064624786,
0.03587393835186958,
-0.0156513974070549,
-0.03300610929727554,
0.03430967032909393,
0.04119246080517769,
-0.005179474130272865,
-0.0047232285141944885,
0.027322594076395035,
-0.05047379806637764,
-0.011766791343688965,
0.0425829216837883,
0.05989418551325798,
0.03385777026414871,
0.02492404542863369,
0.07772687077522278,
-0.006887136027216911,
-0.028747817501425743,
-0.047171451151371,
0.03441395238041878,
-0.0018999370513483882,
0.039871521294116974,
0.08391442894935608,
-0.0100634740665555,
-0.035665370523929596,
0.018840771168470383,
0.021500030532479286,
0.029251860454678535,
-0.004201804753392935,
-0.04272196814417839,
-0.0010314409155398607,
-0.04042770713567734,
-0.053498055785894394,
0.005713933147490025,
0.07146979123353958,
0.035439420491456985,
0.006317915394902229,
-0.024055005982518196,
-0.027409497648477554,
-0.03039899282157421,
0.0317373126745224,
-0.03031208924949169,
0.00038101940299384296,
-0.012922613881528378,
-0.03293658792972565,
0.021221937611699104,
0.03903724253177643,
-0.013139873743057251,
0.027548544108867645,
0.07828305661678314,
-0.003904158715158701,
0.05746087431907654,
0.005622684024274349,
-0.016798527911305428,
0.0169984083622694,
0.024454765021800995,
-0.1099856048822403,
-0.03309301286935806,
0.009802762418985367,
-0.039384860545396805,
-0.010341566987335682,
-0.006787196733057499,
-0.02316858619451523,
0.006226666271686554,
-0.03151136264204979,
-0.005631374195218086,
-0.025306422263383865,
-0.03841153532266617,
0.005583577323704958,
-0.008321050554513931,
0.05096046254038811,
0.007608438841998577,
0.012070954777300358,
-0.011297510005533695,
-0.03889819607138634,
-0.08551346510648727,
-0.04685859754681587,
-0.062466539442539215,
0.005075189284980297,
-0.04522480070590973,
-0.016737695783376694,
0.011115011759102345,
0.00799950584769249,
-0.030833512544631958,
-0.0016316211549565196,
0.004571146331727505,
-0.06691601872444153,
0.024315718561410904,
0.05061284452676773,
0.032119691371917725,
-0.054089002311229706,
-0.014452123083174229,
0.014382599852979183,
0.008994556032121181,
0.06316177546977997,
0.0712612196803093,
0.008968484587967396,
0.054401855915784836,
0.0012503302423283458,
0.00782569870352745,
0.00795605406165123,
-0.027809256687760353,
-0.0034891925752162933,
-0.03914152830839157,
-0.02680117078125477,
-0.018597440794110298,
0.030955178663134575,
-0.05544470250606537,
0.013444037176668644,
-0.010767396539449692,
-0.014921403490006924,
0.020161710679531097,
0.05478423461318016,
0.006861065048724413,
0.011306200176477432,
-0.013530940748751163,
0.005266377702355385,
-0.0027244379743933678,
0.04602431878447533,
0.004432100336998701,
0.03997580707073212,
-0.07299929857254028,
-0.044981472194194794,
-0.04119246080517769,
0.040184374898672104,
0.026888074353337288,
-0.07988208532333374,
-0.019605524837970734,
0.011332271620631218,
-0.016476985067129135,
0.010880371555685997,
0.042339593172073364,
0.03278015926480293,
-0.0022529843263328075,
-0.01613805815577507,
-0.06124988570809364,
-0.018406251445412636,
-0.04470337927341461,
-0.05985942482948303,
0.005883395671844482,
-0.025254281237721443,
0.07974304258823395,
-0.026331888511776924,
0.06239701807498932,
-0.0024137564469128847,
-0.03267587721347809,
-0.02765282802283764,
0.0010901010828092694,
-0.03079875186085701,
-0.025984274223446846,
0.00007610883039887995,
-0.014756286516785622,
0.015859967097640038,
-0.01174941100180149,
-0.014382599852979183,
-0.0336318202316761,
0.012722734361886978,
0.03851582109928131,
-0.01467807311564684,
0.04873571917414665,
-0.035978224128484726,
0.010767396539449692,
0.03420538455247879,
0.042930539697408676,
-0.0340663380920887,
-0.005340246018022299,
0.016850670799613,
-0.01990099810063839,
0.001572960987687111,
-0.011775481514632702,
0.01138441450893879,
0.010923823341727257,
0.02815687097609043,
0.022021453827619553,
-0.00999395176768303,
-0.0596160925924778,
-0.041261982172727585,
0.01351356040686369,
0.020126948133111,
0.015199496410787106,
0.012609759345650673,
-0.026749027892947197,
-0.060763224959373474,
-0.03199802339076996,
0.03643012419342995,
-0.002180202165618539,
-0.009307410567998886,
-0.10650944709777832,
0.01878862828016281,
-0.037507735192775726,
-0.014460813254117966,
-0.04056675359606743,
-0.009854905307292938,
0.037681542336940765,
0.011845004744827747,
0.005483637563884258,
0.022925255820155144,
-0.02407238632440567,
-0.01261844951659441,
-0.03698631003499031,
-0.0048796553164720535,
0.012992137111723423,
-0.022021453827619553,
0.0029330074321478605,
0.0016305348835885525,
0.02878258004784584,
0.0005833425675518811,
-0.01811077818274498,
0.003999752923846245,
-0.003176338504999876,
-0.011393104679882526,
-0.01564270630478859,
-0.016164129599928856,
-0.020196471363306046,
0.045120518654584885,
0.014026293531060219,
-0.0004842178022954613,
-0.028487106785178185,
-0.042791493237018585,
-0.0051751285791397095,
-0.04393862560391426,
0.07376404851675034,
0.03608250990509987,
-0.007578022312372923,
-0.021760743111371994,
-0.05996370688080788,
0.017511140555143356,
-0.0116103645414114,
-0.007747484836727381,
-0.02137836627662182,
0.017293881624937057,
0.04779715836048126,
0.0897543728351593,
0.014174030162394047,
-0.0063787479884922504,
-0.009533360600471497,
-0.08016017824411392,
0.06465651839971542,
-0.00041415152372792363,
-0.040253896266222,
0.04289577901363373,
0.027235690504312515,
0.0009244405082426965,
-0.019483860582113266,
-0.014026293531060219,
-0.007078324444591999,
0.06927981227636337,
0.0028678295202553272,
-0.027809256687760353,
0.0003258897049818188,
0.05252473056316376,
0.030520658940076828,
0.016251033172011375,
-0.01918838731944561,
-0.03505704179406166,
-0.04564194008708,
-0.00993311870843172,
0.059059906750917435,
0.016355318948626518,
0.003949783276766539,
0.007495463360100985
] |
52,120 |
pebble.common
|
__init__
| null |
def __init__(self, msg, code=0):
super(ProcessExpired, self).__init__(msg)
self.exitcode = code
|
(self, msg, code=0)
|
[
0.04979085177183151,
0.010266777127981186,
-0.0020246929489076138,
0.01084433775395155,
0.013706277124583721,
-0.05323897302150726,
-0.008559958077967167,
0.02248174324631691,
0.034601885825395584,
-0.02749875746667385,
0.050721846520900726,
0.06968650966882706,
0.041067108511924744,
-0.018137112259864807,
-0.033722613006830215,
-0.023929953575134277,
0.057859454303979874,
0.02249898388981819,
-0.0502735897898674,
-0.06610046327114105,
-0.0029158166144043207,
0.05134250596165657,
-0.012637360021471977,
0.004217481706291437,
0.004650651942938566,
0.07268636673688889,
-0.012068419717252254,
0.0019341798033565283,
0.0033446764573454857,
-0.04830816015601158,
-0.033136434853076935,
-0.005469580180943012,
-0.05130802467465401,
0.04572207108139992,
0.02024046517908573,
0.03318815678358078,
-0.07882402092218399,
-0.007866024039685726,
-0.08709951490163803,
0.05082529038190842,
0.03082619234919548,
-0.02651604264974594,
-0.0018016427056863904,
0.010982261970639229,
0.035481154918670654,
-0.005689397919923067,
0.007991017773747444,
-0.02365410327911377,
-0.01650787517428398,
-0.041377440094947815,
-0.025188516825437546,
-0.0036571624223142862,
0.06754866987466812,
-0.0028942658100277185,
-0.018792254850268364,
0.1304078996181488,
0.03868790715932846,
0.06203167885541916,
-0.0185681264847517,
-0.025791937485337257,
-0.08282384276390076,
0.04672202467918396,
-0.04979085177183151,
-0.010327119380235672,
0.04003267362713814,
-0.02837802842259407,
-0.02534368261694908,
-0.02355065941810608,
0.005068736616522074,
0.03586044907569885,
0.08489271253347397,
-0.012801145203411579,
-0.07510005682706833,
0.016352709382772446,
0.10040925443172455,
0.004333856049925089,
-0.07234156131744385,
0.021636953577399254,
0.010775375179946423,
0.06096276268362999,
0.035894930362701416,
-0.004754095338284969,
-0.006629010662436485,
0.035998374223709106,
0.03672247752547264,
-0.004482556134462357,
0.07406561821699142,
-0.067479707300663,
-0.08847875893115997,
0.05392859876155853,
-0.021947283297777176,
0.020671479403972626,
-0.020688720047473907,
0.032533012330532074,
0.05406652390956879,
-0.04710131883621216,
0.027136703953146935,
0.01758541166782379,
0.015585502609610558,
-0.037446584552526474,
0.014007987454533577,
-0.003788621863350272,
0.013818341307342052,
-0.06941065937280655,
0.04692891240119934,
0.01846468262374401,
-0.02887800522148609,
-0.05337689816951752,
0.029429703950881958,
-0.016818204894661903,
-0.021843841299414635,
0.015240690670907497,
-0.04134295880794525,
-0.03111928328871727,
-0.02553332969546318,
-0.020688720047473907,
-0.04310150071978569,
0.0140338484197855,
0.019206028431653976,
0.013094236142933369,
0.014214875176548958,
0.0400671549141407,
-0.021774878725409508,
0.016913028433918953,
0.01345628872513771,
0.059652477502822876,
-0.005116147920489311,
-0.018188832327723503,
0.0524459071457386,
-0.0039567179046571255,
0.0126632209867239,
-0.01099088229238987,
0.02030942775309086,
-0.018585367128252983,
-0.04113607108592987,
-0.04175673425197601,
0.032239921391010284,
0.05858355760574341,
-0.02011978067457676,
-0.010534007102251053,
0.03277438133955002,
0.04651514068245888,
0.022361058741807938,
0.0002455438661854714,
0.019964614883065224,
0.05927318334579468,
0.001166973146609962,
0.025205757468938828,
0.010930540971457958,
0.0033963981550186872,
0.04368768259882927,
-0.04330838844180107,
0.0032175269443541765,
0.03172270581126213,
0.026085028424859047,
0.007572933565825224,
-0.008667712099850178,
-0.0086935730651021,
0.008603059686720371,
-0.034119147807359695,
0.01649925485253334,
-0.03092963621020317,
0.05210109427571297,
-0.09137517958879471,
0.0031097731553018093,
0.019688764587044716,
0.004508417099714279,
0.04672202467918396,
0.00459030969068408,
0.030791711062192917,
-0.009051315486431122,
-0.013059754855930805,
-0.0178612619638443,
-0.018430201336741447,
-0.05451477691531181,
0.06920377165079117,
0.023119645193219185,
-0.002743410412222147,
0.003280024277046323,
0.05823874846100807,
0.0040795570239424706,
0.0013436892768368125,
-0.0637902170419693,
0.04144640266895294,
0.028067696839571,
-0.000669689557980746,
-0.003508462104946375,
0.06896240264177322,
0.03920512646436691,
0.011352934874594212,
0.00537906726822257,
0.019361194223165512,
0.012344270013272762,
0.024516133591532707,
0.0005371524603106081,
0.0056937080807983875,
-0.04803231358528137,
-0.03346400335431099,
0.013645934872329235,
0.03848101943731308,
0.01448210421949625,
0.06503154337406158,
0.0067496951669454575,
-0.04072229936718941,
0.02818838134407997,
0.011723607778549194,
-0.03191234916448593,
-0.0048747798427939415,
-0.039894748479127884,
0.001328603713773191,
0.0033554518595337868,
-0.05361826717853546,
0.009784040972590446,
0.05882492661476135,
0.006447984371334314,
-0.029498666524887085,
0.07868609577417374,
0.004101107828319073,
0.02256794646382332,
0.028119418770074844,
0.04754957556724548,
-0.010137473233044147,
-0.015447577461600304,
-0.019378434866666794,
-0.00020500151731539518,
0.03467084839940071,
0.03513634204864502,
-0.02641259878873825,
0.002803752664476633,
0.04330838844180107,
-0.052756235003471375,
-0.0035989752504974604,
-0.02492990717291832,
-0.0180509090423584,
-0.0020721047185361385,
0.01551654003560543,
0.012602878734469414,
-0.006641941145062447,
-0.11089154332876205,
-0.004823057912290096,
-0.01413729228079319,
0.001940645044669509,
0.06941065937280655,
0.04258428141474724,
0.09392678737640381,
-0.009249581955373287,
-0.0009045927436091006,
0.06961754709482193,
-0.05003222078084946,
0.028740080073475838,
0.019792208448052406,
-0.030067605897784233,
-0.03227440267801285,
-0.022326577454805374,
0.004032145254313946,
0.01075813453644514,
-0.031102042645215988,
-0.08006534725427628,
0.018688810989260674,
0.04665306583046913,
0.023981675505638123,
-0.032929547131061554,
-0.03703280910849571,
-0.011266732588410378,
0.02384375035762787,
-0.002782201860100031,
0.006866069044917822,
0.014016607776284218,
0.006413503084331751,
0.015844112262129784,
0.0747552439570427,
-0.02798149362206459,
-0.027912531048059464,
0.029602110385894775,
-0.06330748647451401,
0.016525115817785263,
-0.05451477691531181,
-0.052963122725486755,
-0.0706864595413208,
-0.011551202274858952,
0.08509960025548935,
0.04879089817404747,
0.02099905163049698,
-0.04889434203505516,
-0.04279116913676262,
0.016921648755669594,
0.006081621628254652,
0.0067496951669454575,
-0.061893753707408905,
0.0011551202042028308,
-0.023688584566116333,
0.060514505952596664,
-0.001349076977930963,
-0.03596389293670654,
0.054445814341306686,
-0.013499390333890915,
-0.04910122975707054,
0.031877871602773666,
-0.033515725284814835,
0.020257705822587013,
0.031102042645215988,
-0.02298172004520893,
-0.0649280995130539,
-0.018137112259864807,
-0.050411514937877655,
0.05268727242946625,
0.035481154918670654,
0.04585999622941017,
0.0011109411716461182,
0.009878863580524921,
0.08392724394798279,
0.060135211795568466,
-0.034601885825395584,
0.009327164851129055,
-0.004943741951137781,
0.02210244908928871,
0.04248083755373955,
-0.04179121553897858,
-0.012301168404519558,
0.0498942956328392,
-0.028119418770074844,
-0.036170780658721924,
0.037756916135549545,
0.013818341307342052,
0.03679144009947777,
0.014171773567795753,
-0.007999638095498085,
0.04075678065419197,
-0.004144209437072277,
-0.028498712927103043,
-0.0386534258723259,
-0.0050989072769880295,
0.008297039195895195,
-0.06344541162252426,
-0.00355802895501256,
-0.055135440081357956,
0.0009487717761658132,
-0.066341832280159,
-0.00987024325877428,
-0.03437775745987892,
-0.013714897446334362,
-0.020533554255962372,
-0.06282474845647812,
0.025895381346344948,
0.025085072964429855,
-0.06147998198866844,
0.005443719681352377,
-0.03448120132088661,
0.0225851871073246,
-0.06410054862499237,
-0.04906674847006798,
0.04937708005309105,
-0.060031771659851074,
0.022412780672311783,
0.05230798199772835,
-0.06116965040564537,
0.0012316253269091249,
-0.04141192138195038,
0.028981449082493782,
-0.04499796777963638,
-0.032136477530002594,
0.016145821660757065,
-0.038446538150310516,
-0.009982307441532612,
-0.06627286970615387,
-0.04161880910396576,
-0.019895652309060097,
-0.012404612265527248,
0.027067741379141808,
0.01541309617459774,
0.01572342775762081,
-0.042170509696006775,
-0.050618402659893036,
-0.03182614967226982,
0.017999187111854553,
-0.010680551640689373,
-0.051101140677928925,
-0.025947103276848793,
-0.03251577168703079,
0.0024718709755688906,
-0.010051270015537739,
-0.0318433903157711,
-0.033826056867837906,
-0.02180936001241207,
-0.028998689725995064,
0.02051631361246109,
0.013059754855930805,
0.010128852911293507,
0.028067696839571,
0.0041485195979475975,
-0.04572207108139992,
-0.01255977712571621,
0.012378751300275326,
0.011206390336155891,
0.01982668973505497,
-0.004456695169210434,
0.013292502611875534,
0.030550343915820122,
-0.005361826624721289,
-0.01863708905875683,
0.018981900066137314,
0.058755964040756226,
-0.016628559678792953,
0.014180393889546394,
0.06803140789270401,
-0.06137653812766075,
-0.007603104691952467,
-0.028929727151989937,
0.01925775036215782,
-0.015232070349156857,
-0.026929818093776703,
-0.024602336809039116,
-0.0012176174204796553,
-0.05241142585873604,
-0.06947962194681168,
-0.014352799393236637,
-0.018275035545229912,
-0.02975727617740631,
0.04682546854019165,
-0.021171456202864647,
-0.00356018403545022,
0.035688042640686035,
0.029567629098892212,
0.0059350766241550446,
-0.013585592620074749,
0.010861578397452831,
-0.0023016200866550207,
0.0019999095238745213,
-0.002198176458477974,
-0.022998960688710213,
-0.005844563245773315,
0.020688720047473907,
-0.050997696816921234,
0.04203258454799652,
0.03644662722945213,
-0.008434963412582874,
-0.03286058455705643,
-0.020878367125988007,
-0.04268772527575493,
0.0724794864654541,
-0.01787850260734558,
-0.02856767363846302,
0.09861623495817184,
0.05844563618302345,
0.08978904783725739,
-0.015594122931361198,
0.018895698711276054,
-0.022516224533319473,
0.03311919420957565,
-0.008512546308338642,
0.0028425438795238733,
-0.011964976787567139,
-0.01698199100792408,
-0.02141282521188259,
-0.0028102179057896137,
-0.015930315479636192,
-0.09496122598648071,
0.03710177168250084,
0.005917835980653763,
-0.002018227707594633,
-0.052376944571733475,
0.05289416015148163,
-0.05441133305430412,
-0.04027404263615608,
-0.023188607767224312,
0.05720430985093117,
0.006965202279388905,
-0.00260117556899786,
0.0022520534694194794,
0.04086022078990936,
-0.01974048651754856,
0.0145769277587533,
-0.017240600660443306,
-0.019102584570646286,
-0.02356790006160736,
0.005366136785596609,
0.008702193386852741,
-0.05989384651184082,
-0.008206525817513466,
0.006473845336586237,
0.05410100519657135,
0.02111973613500595,
0.089582160115242,
0.04003267362713814,
-0.05241142585873604,
-0.028636636212468147,
0.051101140677928925,
-0.047963351011276245,
0.019602563232183456,
0.029222818091511726,
0.0012553312117233872,
-0.02444717101752758,
-0.041273996233940125,
0.03299850970506668,
0.04013611748814583,
-0.0361018180847168,
-0.04306701943278313,
0.039308566600084305,
-0.0054394095204770565,
-0.07151401042938232,
0.0017003541579470038,
-0.01863708905875683,
-0.005788531620055437,
-0.01255977712571621,
-0.005939386785030365,
0.011663266457617283,
-0.0016098410123959184,
0.03310195356607437,
0.012421851977705956,
0.01600789651274681,
-0.008159114047884941,
0.024964388459920883,
0.007331565022468567,
-0.03092963621020317,
-0.013680416159331799,
0.02406787872314453,
-0.049446042627096176,
-0.003922236617654562,
0.00702123437076807,
0.05130802467465401,
0.05023910850286484,
0.023636862635612488,
0.05692846328020096,
-0.0066505614668130875,
-0.02415408007800579,
-0.032550252974033356,
0.00468513322994113,
0.00424334267154336,
0.04448074847459793,
0.09399574995040894,
-0.012232205830514431,
-0.04703235626220703,
0.005999729037284851,
0.017550930380821228,
0.02963659167289734,
0.018895698711276054,
-0.057928416877985,
-0.0022908446844667196,
-0.03101583942770958,
-0.06258337944746017,
0.016568217426538467,
0.04417041689157486,
0.009215100668370724,
-0.0019837466534227133,
-0.032843343913555145,
-0.01369765680283308,
-0.04351527616381645,
0.047273725271224976,
-0.02817114070057869,
0.0025688493624329567,
-0.004680823069065809,
-0.050894252955913544,
0.00045310452696867287,
0.02953314781188965,
0.0003318815433885902,
0.051376987248659134,
0.08185836672782898,
-0.00564198661595583,
0.061583422124385834,
0.027998734265565872,
0.012275307439267635,
0.019619803875684738,
0.007340185344219208,
-0.08385828137397766,
-0.036653514951467514,
-0.010128852911293507,
-0.021240418776869774,
-0.0028425438795238733,
-0.01905086264014244,
-0.019412916153669357,
-0.017240600660443306,
-0.04417041689157486,
-0.035791486501693726,
0.004116193391382694,
-0.03889479488134384,
0.006318680010735989,
0.004896330647170544,
0.03408466652035713,
0.009577153250575066,
0.03172270581126213,
-0.01836123876273632,
-0.036170780658721924,
-0.0327916219830513,
-0.05410100519657135,
-0.08668573945760727,
-0.003751985728740692,
-0.06285922974348068,
-0.015542401000857353,
0.027895290404558182,
0.0059350766241550446,
-0.029671072959899902,
0.0216886755079031,
-0.01334422454237938,
-0.03268817812204361,
0.014456243254244328,
0.035688042640686035,
0.0549975149333477,
-0.04872193560004234,
-0.03920512646436691,
0.030567584559321404,
0.013163197785615921,
0.05479062721133232,
0.04368768259882927,
0.04003267362713814,
0.04803231358528137,
-0.024309245869517326,
-0.006887619849294424,
0.0006432898808270693,
-0.0506528839468956,
0.029084892943501472,
-0.03523978590965271,
-0.04086022078990936,
0.01492173969745636,
0.04575655236840248,
-0.025791937485337257,
0.018188832327723503,
-0.016145821660757065,
-0.011059844866394997,
0.018188832327723503,
0.03799828141927719,
-0.01310285646468401,
0.012240826152265072,
-0.007723788730800152,
0.0206025168299675,
0.0021087408531457186,
0.03596389293670654,
0.019568081945180893,
0.02465405873954296,
-0.02887800522148609,
-0.006124723237007856,
-0.009921965189278126,
0.03799828141927719,
0.02198176458477974,
-0.08503063768148422,
-0.012749424204230309,
0.0020009870640933514,
-0.025102313607931137,
0.021223178133368492,
0.03879135102033615,
-0.006719524040818214,
0.004551518242806196,
-0.03386053815484047,
-0.04996325820684433,
-0.053652748465538025,
-0.04741165041923523,
-0.07034164667129517,
-0.017999187111854553,
-0.024292005226016045,
0.058169785887002945,
-0.03444672003388405,
0.04779094457626343,
-0.03384329751133919,
-0.030481381341814995,
0.04475659877061844,
-0.018723292276263237,
-0.021447306498885155,
-0.02925729937851429,
0.03501565754413605,
0.005146319046616554,
0.01246495358645916,
-0.04386008530855179,
-0.014602788724005222,
-0.016163062304258347,
-0.004376957193017006,
0.038446538150310516,
-0.014430382288992405,
0.05882492661476135,
-0.04910122975707054,
-0.003318815492093563,
0.010447803884744644,
0.0520666129887104,
-0.030481381341814995,
-0.0057324995286762714,
0.019292231649160385,
-0.024619577452540398,
-0.009465089067816734,
-0.023343773558735847,
-0.010085751302540302,
0.042963575571775436,
0.028619395568966866,
-0.007982397451996803,
-0.010783995501697063,
-0.031050320714712143,
-0.035688042640686035,
0.035894930362701416,
0.0396878607571125,
0.005357516463845968,
0.02141282521188259,
-0.044411785900592804,
-0.0612386129796505,
-0.04544622078537941,
-0.007435008883476257,
-0.014783814549446106,
-0.023412734270095825,
-0.09406471252441406,
0.0378948375582695,
-0.05123906210064888,
-0.06541083753108978,
-0.04272220656275749,
-0.012292548082768917,
0.015887213870882988,
0.0012208500411361456,
0.01049952581524849,
0.015283792279660702,
-0.035481154918670654,
-0.045687589794397354,
-0.021274900063872337,
-0.016611319035291672,
0.0007774432888254523,
-0.008904770016670227,
0.00147299375385046,
0.010378841310739517,
0.052583832293748856,
0.006831587757915258,
-0.017895743250846863,
-0.000250662153121084,
-0.00996506679803133,
0.004909261129796505,
-0.019395675510168076,
-0.02099905163049698,
-0.017507828772068024,
0.04282565042376518,
0.024119598791003227,
0.009137517772614956,
0.02180936001241207,
-0.04279116913676262,
-0.009559912607073784,
-0.05054944008588791,
0.06685904413461685,
0.015180348418653011,
-0.014249356463551521,
-0.023602381348609924,
-0.05510095879435539,
-0.0037692261394113302,
-0.004469625651836395,
-0.015292412601411343,
-0.012309788726270199,
0.018085390329360962,
0.05644572526216507,
0.10420218855142593,
0.012654600664973259,
0.0024223043583333492,
0.000039700524212094024,
-0.02975727617740631,
0.05310104787349701,
0.01924050971865654,
-0.020636998116970062,
0.023309292271733284,
0.03091239556670189,
-0.0025429886300116777,
-0.020361149683594704,
-0.005982488393783569,
-0.000027477206458570436,
0.0706864595413208,
-0.017137156799435616,
-0.016671661287546158,
0.004650651942938566,
0.06827277690172195,
0.03467084839940071,
0.043825604021549225,
0.01128397323191166,
-0.025688493624329567,
-0.038446538150310516,
0.000045963708544149995,
0.08985801041126251,
0.051583874970674515,
0.04410145431756973,
0.015490679070353508
] |
52,121 |
pebble.common
|
ProcessFuture
| null |
class ProcessFuture(PebbleFuture):
def cancel(self):
"""Cancel the future.
Returns True if the future was cancelled, False otherwise. A future
cannot be cancelled if it has already completed.
"""
with self._condition:
if self._state == FINISHED:
return False
if self._state in (CANCELLED, CANCELLED_AND_NOTIFIED):
return True
self._state = CANCELLED
self._condition.notify_all()
self._invoke_callbacks()
return True
|
()
|
[
0.026948288083076477,
-0.01504047866910696,
-0.06877218186855316,
0.042941391468048096,
-0.028157388791441917,
-0.04015679657459259,
0.0175777580589056,
-0.001204520696774125,
0.057523880153894424,
-0.04257499799132347,
0.03614478185772896,
0.008633161894977093,
0.0016625133575871587,
-0.03502728044986725,
-0.024255290627479553,
0.028322266414761543,
0.06701348721981049,
-0.01283295452594757,
-0.008106470108032227,
-0.04162237420678139,
-0.01573662832379341,
0.03832482546567917,
-0.010689549148082733,
-0.015177876688539982,
0.04990287870168686,
0.06477848440408707,
-0.02339426428079605,
0.0031257998198270798,
-0.06334954500198364,
0.012494039721786976,
0.05426296964287758,
0.022075247019529343,
-0.02586742490530014,
0.004119643941521645,
0.03938736766576767,
0.059648964554071426,
-0.042318522930145264,
0.05664453282952309,
-0.035631828010082245,
-0.016350338235497475,
-0.034660883247852325,
-0.060967981815338135,
-0.04154909402132034,
0.037427160888910294,
-0.0054546925239264965,
-0.010460552759468555,
-0.060088638216257095,
0.04495656117796898,
0.022808033972978592,
0.0073874215595424175,
0.01888761669397354,
0.02616054005920887,
-0.018539542332291603,
0.010277355089783669,
-0.018383825197815895,
0.04121933877468109,
0.0253911130130291,
0.07569702714681625,
-0.006659213453531265,
-0.004859302192926407,
-0.033543381839990616,
0.04301467165350914,
0.00022684948635287583,
-0.019602086395025253,
0.035137198865413666,
0.044150494039058685,
0.03938736766576767,
0.003432655008509755,
-0.007304982747882605,
0.02940312959253788,
-0.008578202687203884,
0.02126917988061905,
-0.012118485756218433,
0.02330266684293747,
0.05085550621151924,
-0.06305643171072006,
0.0012720746453851461,
0.018521223217248917,
-0.03891105577349663,
0.016579333692789078,
-0.025299515575170517,
-0.025226235389709473,
0.03817826882004738,
-0.021012702956795692,
0.020957743749022484,
-0.019217371940612793,
0.08522327244281769,
-0.03061223030090332,
-0.043564263731241226,
0.06877218186855316,
-0.03825154900550842,
0.00901329517364502,
-0.012356641702353954,
-0.03574174642562866,
0.08038686960935593,
0.022808033972978592,
0.0253911130130291,
-0.01642361655831337,
-0.040230076760053635,
-0.06426552683115005,
0.015122917480766773,
0.060235194861888885,
0.013739779591560364,
-0.08808115124702454,
0.07265595346689224,
0.040706388652324677,
-0.040706388652324677,
-0.007840834558010101,
0.03066718950867653,
-0.021379098296165466,
-0.007978232577443123,
-0.015965623781085014,
-0.026563573628664017,
-0.024585045874118805,
-0.0092560313642025,
-0.042318522930145264,
-0.0656578317284584,
0.04063310846686363,
-0.05818338692188263,
0.022643156349658966,
0.018832657486200333,
0.007506499532610178,
0.003107480239123106,
-0.0298428013920784,
-0.00370058068074286,
0.10281019657850266,
-0.009681965224444866,
0.054372888058423996,
0.04012015834450722,
-0.009526247158646584,
-0.05327370762825012,
0.006343198474496603,
0.045652709901332855,
0.00908657442778349,
-0.017559438943862915,
0.03367162123322487,
0.014271051622927189,
0.007039347197860479,
0.0019682233687490225,
-0.007671377155929804,
0.009718604385852814,
-0.022533239796757698,
0.04675189033150673,
-0.004950900562107563,
0.06763635575771332,
0.01221008412539959,
-0.025262875482439995,
-0.06331290304660797,
-0.03198620676994324,
-0.019638724625110626,
0.03178469091653824,
-0.01112006139010191,
0.01791667379438877,
0.017834234982728958,
-0.0050379191525280476,
0.05679108947515488,
0.002976952353492379,
-0.0010831526014953852,
0.019785283133387566,
-0.027827633544802666,
0.026471976190805435,
0.047301482409238815,
0.007153845392167568,
-0.017550278455018997,
-0.006398157682269812,
0.013162708841264248,
0.019254012033343315,
0.020701268687844276,
0.0006085577770136297,
0.0471915639936924,
-0.0074378009885549545,
0.05803683027625084,
0.016267899423837662,
0.04708164557814598,
-0.09555558860301971,
0.03850802406668663,
0.01559923030436039,
-0.002880773739889264,
-0.014903081580996513,
0.0019212792394682765,
-0.001772431656718254,
-0.0400102399289608,
-0.04975632205605507,
-0.008715600706636906,
0.053603462874889374,
-0.01574578694999218,
-0.005358514375984669,
0.027644436806440353,
0.0575605183839798,
-0.007359941955655813,
-0.06342282146215439,
-0.03183965012431145,
0.07628326117992401,
0.025501031428575516,
0.01530611515045166,
-0.04286811500787735,
-0.02949472703039646,
0.03119846060872078,
-0.005843986291438341,
-0.0675264373421669,
0.024328570812940598,
-0.025079678744077682,
0.04528631269931793,
-0.03662109375,
-0.019272331148386,
0.007918693125247955,
-0.006810350809246302,
-0.016689252108335495,
0.013217668049037457,
0.006118781864643097,
-0.027479559183120728,
-0.010451392270624638,
-0.018979215994477272,
0.045029837638139725,
0.02015167661011219,
-0.01976696401834488,
0.011449816636741161,
0.023229388520121574,
0.02374234050512314,
0.06444872915744781,
-0.0007780150626786053,
-0.026325417682528496,
0.06613413989543915,
-0.010771987028419971,
-0.01078114751726389,
0.08287835121154785,
0.010891065932810307,
0.024585045874118805,
0.06800275295972824,
-0.036401256918907166,
-0.040523190051317215,
0.03718900308012962,
-0.026471976190805435,
-0.06697684526443481,
-0.00385171826928854,
-0.030337434262037277,
-0.0004024610389024019,
0.005944744683802128,
-0.0514417365193367,
0.042208604514598846,
0.042025405913591385,
-0.003615851979702711,
-0.0005458699888549745,
-0.03532039374113083,
0.00421353243291378,
-0.032920513302087784,
0.04539623111486435,
0.03147325664758682,
0.012393281795084476,
0.011880329810082912,
-0.056094940751791,
-0.03453264757990837,
-0.045945823192596436,
-0.03982704132795334,
0.005821086931973696,
-0.08009375631809235,
-0.01310774963349104,
-0.04876706004142761,
0.07906785607337952,
0.07082398235797882,
0.02993440069258213,
-0.018960896879434586,
0.0027616957668215036,
0.03314035013318062,
-0.005069979000836611,
-0.03110686130821705,
0.005056239198893309,
-0.04810754954814911,
0.05004943907260895,
0.015379393473267555,
0.11966432631015778,
-0.08881393820047379,
-0.017330441623926163,
-0.020023439079523087,
-0.04085294529795647,
-0.02978784218430519,
-0.03046567179262638,
0.029622964560985565,
-0.05986880138516426,
-0.015544271096587181,
0.05550871044397354,
0.0535668209195137,
-0.008830098435282707,
-0.06990800052881241,
0.0038082089740782976,
0.013336746022105217,
-0.01903417520225048,
0.033451784402132034,
0.031363338232040405,
0.016396136954426765,
0.007011867593973875,
0.023046189919114113,
0.005344774574041367,
-0.030062638223171234,
0.00861942209303379,
-0.015333594754338264,
0.0015571750700473785,
-0.027681076899170876,
-0.02374234050512314,
-0.01855786330997944,
0.053603462874889374,
0.029055055230855942,
-0.045213036239147186,
-0.045066479593515396,
-0.041146062314510345,
0.028706980869174004,
0.058586422353982925,
0.028743619099259377,
-0.07020111382007599,
0.04297802969813347,
0.028542103245854378,
-0.024676645174622536,
-0.046238940209150314,
-0.08888721466064453,
0.03143661469221115,
0.009480448439717293,
0.050452470779418945,
-0.05235772207379341,
0.001128951902501285,
-0.03138165548443794,
-0.03662109375,
-0.053750019520521164,
0.035686787217855453,
0.03957056626677513,
-0.05653461441397667,
-0.009063675068318844,
-0.0493166483938694,
0.06507159769535065,
-0.06477848440408707,
0.01474736351519823,
-0.01912577450275421,
0.00601802347227931,
-0.012805474922060966,
0.021635573357343674,
-0.042062047868967056,
-0.019803602248430252,
0.04132925719022751,
-0.012658917345106602,
0.056168220937252045,
-0.035924945026636124,
0.007176745217293501,
-0.05613157898187637,
-0.019693683832883835,
0.02757115848362446,
-0.06723332405090332,
-0.0023288927040994167,
-0.030264155939221382,
0.03260907903313637,
0.1309492588043213,
-0.06741651892662048,
0.012384121306240559,
0.004007435869425535,
0.0047356439754366875,
0.06906529515981674,
0.006114202085882425,
0.010057519190013409,
0.022826354950666428,
-0.026655172929167747,
0.017019007354974747,
-0.037665314972400665,
0.05305387079715729,
-0.01689992845058441,
0.026563573628664017,
-0.016780851408839226,
-0.06628070026636124,
-0.006810350809246302,
-0.017403721809387207,
0.024640005081892014,
-0.02242332138121128,
0.019730323925614357,
0.010506351478397846,
0.02606894262135029,
-0.002221264410763979,
-0.029091693460941315,
0.004726484417915344,
-0.012686396948993206,
-0.0015869445633143187,
-0.01748616062104702,
-0.05199132859706879,
0.034184571355581284,
-0.0030685507226735353,
-0.022313402965664864,
-0.08910705149173737,
-0.03440440818667412,
-0.02498807944357395,
-0.0020483722910284996,
-0.014206931926310062,
-0.021873729303479195,
-0.03565014898777008,
0.013080270029604435,
0.026673492044210434,
-0.06060158833861351,
-0.005207376554608345,
-0.020847825333476067,
0.006072982680052519,
-0.03883777931332588,
0.005285235121846199,
0.005147837568074465,
0.0507822260260582,
-0.009425489231944084,
0.005005859769880772,
0.05851314216852188,
-0.056901007890701294,
-0.011678813025355339,
0.04363754019141197,
0.0018766248831525445,
0.015562590211629868,
-0.039936959743499756,
0.04587254673242569,
0.009892641566693783,
-0.0021331007592380047,
-0.04898689687252045,
-0.005578350741416216,
-0.04085294529795647,
-0.08038686960935593,
0.03202284872531891,
-0.09218475967645645,
-0.06349610537290573,
0.016936568543314934,
-0.0067187524400651455,
0.0184113048017025,
0.018310546875,
-0.017330441623926163,
-0.02053639106452465,
-0.019345609471201897,
0.03187628835439682,
0.05576518550515175,
0.046971727162599564,
-0.01150477584451437,
0.03361666202545166,
-0.03401969373226166,
0.007620997726917267,
-0.009581206366419792,
0.0009331600740551949,
0.017861714586615562,
0.04378409683704376,
-0.03308539092540741,
0.0010986098786816,
-0.01754111982882023,
0.026417016983032227,
-0.026197180151939392,
0.05444616824388504,
-0.019217371940612793,
-0.010570470243692398,
0.06972480565309525,
-0.01608470268547535,
-0.0059676445089280605,
0.011962768621742725,
0.041585732251405716,
-0.02654525451362133,
-0.023412585258483887,
0.0342944897711277,
-0.005532551556825638,
0.0024548405781388283,
-0.023284347727894783,
0.04283147305250168,
-0.05221116170287132,
0.016680093482136726,
-0.032187722623348236,
-0.017220523208379745,
0.007479020394384861,
0.018979215994477272,
-0.014518367126584053,
-0.05092878267168999,
0.012008567340672016,
0.02324770763516426,
0.03806835040450096,
-0.04367418214678764,
-0.03636461868882179,
0.015828225761651993,
0.004025755450129509,
-0.046568695455789566,
0.04906017333269119,
-0.009718604385852814,
-0.011953608132898808,
0.010561310686171055,
0.0069248490035533905,
0.061554212123155594,
0.04781443253159523,
0.002660937374457717,
0.003002141835168004,
-0.016606813296675682,
0.023943856358528137,
0.0062561798840761185,
-0.005766127724200487,
-0.027387961745262146,
0.03739052265882492,
-0.009736924432218075,
0.05283403396606445,
-0.02934817038476467,
-0.024933120235800743,
-0.03720732405781746,
0.04763123765587807,
0.005862305872142315,
0.045469511300325394,
-0.06862562149763107,
-0.0389476977288723,
0.04484664276242256,
0.023467544466257095,
-0.029732882976531982,
0.003176179016008973,
0.020939424633979797,
-0.021250858902931213,
0.014674085192382336,
0.01971200481057167,
-0.04367418214678764,
0.014811482280492783,
0.010304834693670273,
-0.016103021800518036,
0.013464984484016895,
-0.027699396014213562,
0.04517639800906181,
0.013162708841264248,
-0.06148093566298485,
-0.0038471382576972246,
-0.027039887383580208,
-0.030025998130440712,
-0.02606894262135029,
0.008614841848611832,
0.005399733316153288,
0.061590854078531265,
-0.0026403276715427637,
0.025537671521306038,
0.09606853872537613,
-0.0503791943192482,
-0.002280803397297859,
-0.0011999408015981317,
-0.029366489499807358,
-0.052394360303878784,
-0.05939248949289322,
0.013519943691790104,
-0.02542775310575962,
0.039607204496860504,
-0.01816398836672306,
0.021397417411208153,
-0.0446634441614151,
-0.03405633568763733,
-0.006764551624655724,
-0.0729857087135315,
-0.027681076899170876,
0.008459124714136124,
0.07562375068664551,
-0.01941888965666294,
0.04422377049922943,
-0.012475719675421715,
-0.0087888790294528,
-0.005271495319902897,
0.003920417279005051,
0.03096030466258526,
0.02062799036502838,
-0.009017875418066978,
0.029146652668714523,
0.075770303606987,
-0.02203860692679882,
0.027919232845306396,
0.025702549144625664,
0.07489096373319626,
0.04770451411604881,
-0.00589894549921155,
0.010744507424533367,
-0.01617630012333393,
-0.04125598073005676,
0.008770559914410114,
-0.04704500734806061,
-0.03539367392659187,
0.02645365707576275,
0.003728060284629464,
-0.01798079162836075,
0.07518407702445984,
-0.05473928153514862,
0.052540916949510574,
-0.022606518119573593,
0.004950900562107563,
0.013382545672357082,
0.01181621104478836,
-0.011239140294492245,
0.016799170523881912,
-0.08463704586029053,
0.011413177475333214,
-0.004186052829027176,
-0.00595848448574543,
-0.10903888940811157,
-0.020957743749022484,
-0.10061182826757431,
-0.05920929089188576,
0.012145965360105038,
-0.03883777931332588,
0.02621549926698208,
0.061261098831892014,
0.006494335830211639,
0.02528119459748268,
0.04917009174823761,
0.038434743881225586,
-0.016918249428272247,
0.030722148716449738,
0.03326858580112457,
0.03806835040450096,
-0.007172164972871542,
-0.035924945026636124,
0.03134501725435257,
-0.009100314229726791,
-0.011559735052287579,
0.01714724488556385,
-0.01470156479626894,
-0.025409432128071785,
-0.005230276379734278,
-0.09401673078536987,
-0.04598246514797211,
0.022643156349658966,
-0.02645365707576275,
0.03876449912786484,
-0.004099034238606691,
0.01875021867454052,
0.04030335322022438,
0.006402737461030483,
-0.004538707435131073,
-0.0787014588713646,
0.0017758664907887578,
-0.06375257670879364,
0.011129221878945827,
-0.009507928043603897,
0.001894944696687162,
-0.01392297726124525,
-0.0024960599839687347,
-0.06679365038871765,
-0.038434743881225586,
-0.0005730633274652064,
-0.06093134358525276,
-0.06258011609315872,
-0.009489607997238636,
-0.030630549415946007,
0.022844674065709114,
-0.011449816636741161,
0.04030335322022438,
-0.002992982044816017,
-0.025116316974163055,
0.00922397244721651,
0.023577462881803513,
0.0002043792192125693,
-0.04777779430150986,
0.000977814313955605,
-0.024438489228487015,
-0.04407721385359764,
-0.05265083536505699,
-0.02892681583762169,
-0.04682517051696777,
-0.030190875753760338,
-0.03957056626677513,
0.009718604385852814,
-0.04268491640686989,
-0.0025876585859805346,
0.06998127698898315,
-0.0006011153454892337,
-0.01121166069060564,
-0.03336018696427345,
-0.00698896823450923,
-0.010286515578627586,
0.05550871044397354,
0.05173484981060028,
0.024310249835252762,
0.005866886116564274,
0.0041539934463799,
-0.019272331148386,
0.028413863852620125,
0.010359793901443481,
0.025702549144625664,
0.021195899695158005,
-0.017458681017160416,
-0.03229764103889465,
-0.008404165506362915,
0.02194700762629509,
0.01806323044002056,
-0.004245591815561056,
0.01300699170678854,
0.024383530020713806,
0.03328690677881241,
-0.057523880153894424,
0.008944597095251083,
0.03685924783349037,
0.01390465721487999,
0.010039199143648148,
-0.008674381300807,
0.011367377825081348,
0.023174429312348366,
0.06254348158836365,
-0.010039199143648148,
0.04920672997832298,
-0.03240755945444107,
-0.02271643653512001,
-0.056168220937252045,
-0.022148525342345238,
0.01012163795530796,
-0.040376633405685425,
0.014912241138517857,
-0.02213020622730255,
0.035338714718818665,
-0.04422377049922943,
-0.02377897873520851,
-0.018777698278427124,
0.04165901243686676,
0.04840066283941269,
-0.04301467165350914,
-0.010158277116715908,
-0.019638724625110626,
-0.02513463795185089,
0.06389913707971573,
-0.02059135027229786,
0.0012365801958367229,
0.04733812063932419,
0.007405741140246391,
-0.014298531226813793,
0.021342458203434944,
-0.020939424633979797,
0.006283659487962723,
-0.02077454701066017,
0.058732978999614716,
-0.03574174642562866,
-0.021397417411208153,
0.06441208720207214,
-0.003379985922947526,
-0.003313576802611351,
0.042025405913591385,
-0.00740116136148572,
-0.0025578890927135944,
-0.043087948113679886,
-0.031711410731077194,
-0.012915393337607384,
0.020664628595113754,
0.03160149231553078,
0.01613050140440464,
0.02038983255624771,
0.025317834690213203,
-0.07188653200864792,
0.01187117025256157,
-0.0029197032563388348,
-0.03799507021903992,
0.0059218453243374825,
0.044590163975954056,
-0.035100556910037994,
-0.004827242810279131,
-0.035338714718818665,
-0.05067230761051178,
0.053603462874889374,
-0.0005092305946163833,
0.048657141625881195,
0.033158667385578156,
-0.03784851357340813,
-0.028523782268166542,
0.03836146369576454,
-0.042794834822416306,
-0.00970944482833147,
0.022075247019529343,
0.010176597163081169,
-0.010744507424533367,
0.038434743881225586,
-0.009361370466649532,
-0.0246583241969347,
0.08764147758483887,
-0.030007679015398026,
0.032535798847675323,
-0.041109420359134674,
0.017834234982728958,
-0.011376537382602692,
0.02159893326461315,
0.012466560117900372,
-0.005903525277972221,
0.007185904774814844,
0.07130029797554016
] |
52,123 |
concurrent.futures._base
|
__init__
|
Initializes the future. Should not be called by clients.
|
def __init__(self):
"""Initializes the future. Should not be called by clients."""
self._condition = threading.Condition()
self._state = PENDING
self._result = None
self._exception = None
self._waiters = []
self._done_callbacks = []
|
(self)
|
[
0.011632820591330528,
-0.016347844153642654,
-0.07453015446662903,
0.054286494851112366,
-0.00221870094537735,
0.004098339006304741,
0.003506685374304652,
0.008078347891569138,
-0.008797434158623219,
-0.021226711571216583,
0.039067342877388,
0.057090021669864655,
-0.028089893981814384,
-0.0272342711687088,
-0.00020181646686978638,
0.06666570901870728,
0.04194369167089462,
0.002769394079223275,
-0.03710123151540756,
-0.041251908987760544,
-0.017740506678819656,
0.05009940639138222,
-0.009166079573333263,
0.027543751522898674,
0.037356097251176834,
0.046385642141103745,
-0.0459851399064064,
-0.02861783094704151,
0.0160747729241848,
0.0047969454899430275,
0.03295055404305458,
0.03935861960053444,
-0.03670072928071022,
0.002103783655911684,
0.026706334203481674,
0.00553878815844655,
-0.007723355200141668,
0.04296315461397171,
-0.04485644772648811,
-0.001962697133421898,
-0.013325859792530537,
-0.034953076392412186,
-0.08308637142181396,
-0.001982039539143443,
0.0026806460227817297,
0.013535214588046074,
0.004039173945784569,
0.006945103406906128,
0.05545159801840782,
-0.047368697822093964,
-0.03637304529547691,
0.05188347026705742,
-0.010085418820381165,
-0.02737990953028202,
-0.03466179966926575,
0.08869342505931854,
0.038157105445861816,
0.04223496466875076,
-0.0527937076985836,
0.016366049647331238,
-0.06062173843383789,
0.07507628947496414,
0.02239181287586689,
0.023593325167894363,
-0.025868916884064674,
0.060403283685445786,
-0.020990049466490746,
0.04631282389163971,
0.0186416395008564,
0.05577928200364113,
0.03903093561530113,
0.07332863658666611,
-0.007523103151470423,
-0.014199687168002129,
0.05668951943516731,
0.013435088098049164,
-0.08978570997714996,
-0.006635623052716255,
-0.051810652017593384,
0.009011339396238327,
-0.020243655890226364,
0.033423878252506256,
-0.007463938090950251,
-0.011560001410543919,
0.04824252426624298,
-0.040232446044683456,
-0.02333845943212509,
-0.03508050739765167,
-0.030347280204296112,
0.007099843584001064,
-0.08257663995027542,
0.03892170637845993,
-0.025686869397759438,
-0.01993417553603649,
0.021244915202260017,
0.0015747088473290205,
-0.020152632147073746,
-0.046494871377944946,
-0.02960088476538658,
-0.012206269428133965,
-0.019988790154457092,
0.0007264823652803898,
0.010449512861669064,
-0.06604675203561783,
0.01181486714631319,
-0.0459851399064064,
-0.024430742487311363,
-0.041251908987760544,
-0.002801252296194434,
-0.0157379861921072,
0.022410018369555473,
0.030765987932682037,
-0.0078689930960536,
0.07307377457618713,
-0.02510431781411171,
0.002186842728406191,
-0.032677482813596725,
-0.030456507578492165,
0.019060349091887474,
-0.00701792212203145,
0.004096063319593668,
0.01501889992505312,
-0.02960088476538658,
0.041761644184589386,
0.0009102363255806267,
0.0627334862947464,
-0.021335938945412636,
0.0009039784781634808,
0.021863875910639763,
-0.050245046615600586,
0.020625954493880272,
0.012898048385977745,
0.04671332985162735,
0.018168317154049873,
-0.027907846495509148,
0.0165754035115242,
-0.040960635989904404,
0.0009432323859073222,
0.019424444064497948,
-0.013152915053069592,
-0.029163971543312073,
-0.047077424824237823,
-0.001364216674119234,
-0.04449235275387764,
0.06258784979581833,
0.020243655890226364,
-0.05519673228263855,
-0.04988095164299011,
-0.030074208974838257,
-0.0148732615634799,
0.06062173843383789,
-0.033860791474580765,
0.03833915293216705,
-0.02190028689801693,
-0.006134992931038141,
0.03630022332072258,
0.017440127208828926,
-0.05494186654686928,
0.04529336094856262,
-0.007650536485016346,
-0.0034042838960886,
-0.011714741587638855,
0.00791450496762991,
-0.04216214641928673,
-0.006134992931038141,
0.06022123619914055,
0.019315214827656746,
-0.0423077829182148,
-0.0038685044273734093,
0.039577074348926544,
-0.020116223022341728,
0.041761644184589386,
-0.041215501725673676,
0.0010439272737130523,
-0.06320681422948837,
0.04321802034974098,
0.016193104907870293,
0.015847215428948402,
-0.017185261473059654,
-0.008342316374182701,
-0.009521071799099445,
-0.037010207772254944,
-0.04991735890507698,
-0.023156411945819855,
0.05239320173859596,
-0.01536478940397501,
0.017239876091480255,
0.0560341477394104,
0.0492255799472332,
-0.013908411376178265,
-0.0693235993385315,
-0.049553267657756805,
0.04893430694937706,
0.04143395647406578,
0.0297465231269598,
-0.02362973429262638,
0.01116860006004572,
0.005802756641060114,
0.040742177516222,
-0.006107685621827841,
-0.005365842953324318,
-0.02248283661901951,
0.039577074348926544,
-0.023447688668966293,
-0.004050551913678646,
0.019642900675535202,
0.005051811691373587,
-0.0025987247936427593,
0.05213833600282669,
0.007609575521200895,
-0.08512530475854874,
-0.03229518607258797,
-0.04092422500252724,
0.049553267657756805,
0.026233011856675148,
-0.04361852630972862,
-0.011068473570048809,
0.019897766411304474,
0.04383698105812073,
0.06502728164196014,
0.00794181227684021,
0.01533748209476471,
-0.004571661818772554,
-0.045657455921173096,
-0.033169012516736984,
0.05683515593409538,
-0.0058892290107905865,
-0.02155439555644989,
-0.0048925201408565044,
-0.02594173513352871,
-0.010804505087435246,
0.03753814473748207,
-0.017421923577785492,
-0.049844540655612946,
0.009102363139390945,
-0.015747088938951492,
0.006662929896265268,
0.040086809545755386,
-0.07886287569999695,
-0.05042709410190582,
0.05978432297706604,
0.0034475200809538364,
0.022883340716362,
-0.047623563557863235,
0.009439150802791119,
-0.01795896328985691,
0.02362973429262638,
0.03347849100828171,
-0.0009403878939338028,
0.0003848593041766435,
-0.06721185147762299,
-0.03939502686262131,
-0.038885295391082764,
-0.08701859414577484,
-0.01731269434094429,
-0.0852709412574768,
0.044164665043354034,
0.0010575808119028807,
0.05071836709976196,
0.07536756992340088,
0.04099704325199127,
0.02337486855685711,
-0.050536319613456726,
0.05854640156030655,
-0.036573294550180435,
-0.03182186186313629,
-0.012916253879666328,
-0.05996637046337128,
-0.015710679814219475,
0.007787071634083986,
0.11913172900676727,
-0.03557203710079193,
0.008046489208936691,
-0.03546280786395073,
-0.05213833600282669,
-0.04132473096251488,
-0.06189607083797455,
-0.01533748209476471,
-0.06735748797655106,
-0.010504127480089664,
0.050827596336603165,
0.007887197658419609,
0.010404000990092754,
0.029928570613265038,
-0.03200390934944153,
-0.0003248405992053449,
-0.016748348250985146,
0.04019603505730629,
-0.023848192766308784,
-0.030110618099570274,
-0.025231750681996346,
0.02259206585586071,
0.029873955994844437,
-0.03528076037764549,
0.07019742578268051,
-0.031439561396837234,
-0.005497827660292387,
0.0093481270596385,
0.013307655230164528,
0.003686457173898816,
0.045111313462257385,
-0.0022243899293243885,
-0.020261861383914948,
0.021736443042755127,
-0.021226711571216583,
-0.024230491369962692,
0.0280170738697052,
0.04161600396037102,
-0.04966249316930771,
0.007864441722631454,
0.05370394513010979,
0.01706693135201931,
0.016648221760988235,
-0.0296919085085392,
0.05210192874073982,
0.029782932251691818,
0.025523027405142784,
-0.06925077736377716,
0.010294772684574127,
0.011823969893157482,
-0.03196749836206436,
-0.01632053777575493,
0.04682255536317825,
0.027707593515515327,
-0.04128831997513771,
-0.0017522049602121115,
0.005561544094234705,
0.060148417949676514,
-0.0726732686161995,
0.07886287569999695,
-0.04350929707288742,
-0.006157748866826296,
-0.026851972565054893,
0.010240158997476101,
-0.047368697822093964,
0.0322587750852108,
0.022428223863244057,
-0.016857577487826347,
0.014463655650615692,
-0.05286652594804764,
0.01829575002193451,
-0.04573027417063713,
-0.04336366057395935,
0.05974791198968887,
-0.034898459911346436,
-0.03298696503043175,
0.039067342877388,
-0.013089198619127274,
0.04507490247488022,
-0.06928718835115433,
0.0005336260655894876,
0.0016520789358764887,
-0.010003496892750263,
0.07777059078216553,
0.051519375294446945,
0.030110618099570274,
-0.0036659769248217344,
-0.03648227080702782,
0.024357924237847328,
-0.018532412126660347,
0.056944385170936584,
0.030565736815333366,
-0.009976190514862537,
-0.006863181944936514,
-0.0626242607831955,
0.018805483356118202,
0.011177701875567436,
0.020189041271805763,
-0.013626238331198692,
0.011687434278428555,
0.007909953594207764,
-0.04376416280865669,
-0.007618678268045187,
0.029036538675427437,
0.0194790568202734,
-0.022919751703739166,
-0.068085677921772,
-0.027434522286057472,
-0.00007651674241060391,
-0.006157748866826296,
-0.016611812636256218,
-0.0047650872729718685,
-0.03442513942718506,
-0.05144655704498291,
-0.07820750772953033,
-0.012515749782323837,
0.015410301275551319,
-0.00463537871837616,
0.046349234879016876,
0.08774678409099579,
-0.007946363650262356,
-0.016466176137328148,
0.004997197538614273,
-0.007577717304229736,
0.03515332564711571,
-0.012215371243655682,
0.07027024775743484,
0.018268443644046783,
0.056507471948862076,
-0.0442010760307312,
0.03526255488395691,
0.040669359266757965,
-0.0010735099203884602,
0.030511122196912766,
0.027543751522898674,
0.039977580308914185,
0.046385642141103745,
-0.0493348091840744,
0.03600895032286644,
-0.004532977007329464,
-0.004225772339850664,
-0.050827596336603165,
-0.048060476779937744,
-0.05210192874073982,
-0.05850999057292938,
-0.0011059371754527092,
-0.017394617199897766,
-0.04281751811504364,
0.07973670214414597,
0.010995655320584774,
-0.005693528335541487,
0.023120002821087837,
0.013189324177801609,
0.02392101101577282,
-0.010312977246940136,
0.0593838170170784,
0.04296315461397171,
0.054140858352184296,
-0.004332724958658218,
-0.022282585501670837,
-0.03473461791872978,
0.07696958631277084,
0.004073307383805513,
0.017230773344635963,
-0.01569247432053089,
0.040814995765686035,
-0.006317039951682091,
-0.005206551868468523,
0.0015280592488124967,
-0.000964281614869833,
-0.057199250906705856,
0.027889641001820564,
-0.0030265357345342636,
-0.0036591500975191593,
0.026233011856675148,
-0.022355403751134872,
0.0037342444993555546,
0.03833915293216705,
0.04700460284948349,
-0.03819351643323898,
-0.05020863562822342,
0.025395594537258148,
0.030365483835339546,
0.022774113342165947,
-0.04467440024018288,
0.040232446044683456,
-0.029036538675427437,
0.010959245264530182,
-0.04613077640533447,
-0.05228397622704506,
0.017303593456745148,
0.0027034019585698843,
-0.011177701875567436,
-0.011186804622411728,
-0.026251215487718582,
0.03841197490692139,
0.09379075467586517,
-0.031257513910532,
-0.01933342032134533,
-0.029528066515922546,
0.022883340716362,
0.028235530480742455,
0.009857859462499619,
-0.007290992885828018,
-0.018914710730314255,
-0.02861783094704151,
0.018769072368741035,
-0.012843434698879719,
0.022501042112708092,
-0.05989355221390724,
0.012552158907055855,
0.009329922497272491,
0.04143395647406578,
0.011660126969218254,
-0.042453423142433167,
-0.018031781539320946,
0.01366264745593071,
-0.03990476205945015,
0.06903232634067535,
-0.047477927058935165,
-0.041798051446676254,
0.011924096383154392,
0.04194369167089462,
-0.008824741467833519,
0.04030526429414749,
0.019988790154457092,
-0.04769638553261757,
0.04820611700415611,
0.0010171891190111637,
0.0026055513881146908,
0.0093208197504282,
0.004462433513253927,
-0.04842457175254822,
0.032422617077827454,
0.016047466546297073,
-0.044273894280195236,
-0.05767257511615753,
-0.041215501725673676,
0.0013949371641501784,
0.02481304295361042,
0.0744573324918747,
-0.006125890649855137,
-0.04361852630972862,
-0.05628901347517967,
0.009957985021173954,
-0.016684632748365402,
-0.07711522281169891,
-0.022555656731128693,
-0.016493482515215874,
0.03446154668927193,
0.030620349571108818,
0.04321802034974098,
0.03848479315638542,
0.032131344079971313,
-0.052065517753362656,
0.005051811691373587,
0.025777893140912056,
-0.021918490529060364,
-0.0110502690076828,
-0.016657324507832527,
0.0004579626547638327,
-0.07573166489601135,
-0.02960088476538658,
0.02579609677195549,
0.029728319495916367,
0.027106838300824165,
-0.011769356206059456,
0.05421367660164833,
-0.07434810698032379,
-0.06033046543598175,
0.016957702115178108,
0.08439711481332779,
0.006712993141263723,
-0.018286647275090218,
0.0012663663364946842,
-0.042744699865579605,
0.0022232523187994957,
0.03826633468270302,
0.02357512153685093,
-0.027944255620241165,
0.029473451897501945,
-0.00003957394801545888,
0.0013391851680353284,
-0.07179944217205048,
-0.041907280683517456,
-0.01982494816184044,
0.08112026005983353,
-0.012788820080459118,
0.05155578628182411,
0.009539276361465454,
-0.0035590240731835365,
0.0023916459176689386,
-0.057490527629852295,
-0.03398822620511055,
-0.0050791185349226,
0.003902638331055641,
0.015000694431364536,
0.03458898141980171,
0.040669359266757965,
-0.04667691886425018,
0.024685610085725784,
0.04445594176650047,
0.0022539726924151182,
0.042453423142433167,
-0.008328662253916264,
0.0152919702231884,
0.014044946990907192,
0.016047466546297073,
0.05162860453128815,
-0.0016088427510112524,
0.0187508687376976,
-0.10245620459318161,
-0.05607055872678757,
-0.07908133417367935,
-0.08665449917316437,
0.006726646330207586,
0.01676655374467373,
0.009530174545943737,
0.0029150317423045635,
-0.032968759536743164,
0.005757244769483805,
0.03804787993431091,
-0.014336221851408482,
0.018432285636663437,
-0.0005418750806711614,
0.008205780759453773,
0.029728319495916367,
-0.009193386882543564,
0.015346584841609001,
0.0039049137849360704,
-0.028545010834932327,
0.011605513282120228,
-0.045256949961185455,
-0.0017863387474790215,
0.017003213986754417,
0.0019001183100044727,
-0.07169021666049957,
0.018113702535629272,
-0.0019490435952320695,
-0.030511122196912766,
0.04030526429414749,
-0.022628474980592728,
0.031148286536335945,
0.0322587750852108,
-0.009730426594614983,
0.007932709529995918,
-0.05355830490589142,
0.04128831997513771,
-0.03264107555150986,
0.011660126969218254,
0.0297465231269598,
-0.01070437952876091,
-0.005547890439629555,
0.009366331622004509,
-0.040523722767829895,
-0.039431437849998474,
0.026942996308207512,
-0.09262564778327942,
-0.05701720342040062,
-0.017822427675127983,
0.0021822915878146887,
0.03340567275881767,
-0.036282021552324295,
0.018732663244009018,
0.051228102296590805,
-0.008952174335718155,
0.009721323847770691,
0.03295055404305458,
0.06134992837905884,
-0.03182186186313629,
0.020607750862836838,
-0.006244221236556768,
-0.026178397238254547,
-0.04019603505730629,
-0.00821488257497549,
-0.028872696682810783,
-0.017185261473059654,
-0.033169012516736984,
0.01324393879622221,
-0.018568821251392365,
-0.04048731178045273,
0.05752693489193916,
-0.013671749271452427,
-0.0078416857868433,
-0.04616718739271164,
-0.021882081404328346,
-0.048315346240997314,
0.021372349932789803,
0.0660831555724144,
0.027452727779746056,
-0.03779301419854164,
0.03180365636944771,
0.005324882455170155,
0.017485639080405235,
0.010877324268221855,
0.043982621282339096,
-0.019205987453460693,
-0.027216065675020218,
-0.04438312351703644,
0.023502301424741745,
0.04536617919802666,
0.019297009333968163,
0.03417027369141579,
0.016593609005212784,
0.00622601667419076,
0.015665167942643166,
-0.030165232717990875,
-0.004573937505483627,
0.05738129839301109,
0.04161600396037102,
0.030838806182146072,
0.02239181287586689,
0.004865213297307491,
-0.03278671205043793,
0.03240441530942917,
0.022555656731128693,
-0.002377992495894432,
-0.010276568122208118,
0.007755213417112827,
-0.03863042965531349,
-0.027434522286057472,
0.020899025723338127,
-0.026961199939250946,
0.030802397057414055,
-0.046494871377944946,
0.0027989766094833612,
-0.04496567323803902,
-0.0850524827837944,
0.01962469518184662,
0.025668663904070854,
0.04285392537713051,
-0.024430742487311363,
-0.06575547158718109,
-0.027143247425556183,
-0.0271250419318676,
0.035644855350255966,
-0.008497056551277637,
0.03245902806520462,
0.03804787993431091,
-0.020553136244416237,
0.02703401818871498,
0.02830835059285164,
-0.023702554404735565,
-0.014354427345097065,
0.005884678103029728,
0.05698079615831375,
0.01612028479576111,
-0.014736725948750973,
0.015565041452646255,
-0.0009341300465166569,
0.01750384457409382,
-0.005661670118570328,
0.0082603944465518,
-0.002005933318287134,
0.030547531321644783,
-0.01715795509517193,
-0.017276285216212273,
0.03278671205043793,
0.01889650709927082,
0.016611812636256218,
0.030456507578492165,
0.046349234879016876,
-0.04613077640533447,
0.009639402851462364,
-0.00919793825596571,
-0.06568265706300735,
0.07351068407297134,
0.02135414443910122,
-0.05377676337957382,
0.06721185147762299,
-0.03975912183523178,
-0.0919702798128128,
0.016611812636256218,
0.000401926226913929,
0.031749043613672256,
0.004394165705889463,
-0.0032131343614310026,
-0.028581419959664345,
0.02184567227959633,
-0.0060348669067025185,
-0.022701293230056763,
-0.02787143737077713,
0.03284132853150368,
0.01064976491034031,
-0.017740506678819656,
-0.027944255620241165,
-0.042198557406663895,
0.054978273808956146,
-0.007864441722631454,
0.0052657173946499825,
-0.07354709506034851,
-0.0511188730597496,
0.004664961248636246,
0.03680995851755142,
-0.026997609063982964,
0.040960635989904404,
0.05126450955867767,
0.04482003673911095
] |
52,127 |
pebble.common
|
cancel
|
Cancel the future.
Returns True if the future was cancelled, False otherwise. A future
cannot be cancelled if it has already completed.
|
def cancel(self):
"""Cancel the future.
Returns True if the future was cancelled, False otherwise. A future
cannot be cancelled if it has already completed.
"""
with self._condition:
if self._state == FINISHED:
return False
if self._state in (CANCELLED, CANCELLED_AND_NOTIFIED):
return True
self._state = CANCELLED
self._condition.notify_all()
self._invoke_callbacks()
return True
|
(self)
|
[
0.009326489642262459,
0.002240231027826667,
0.020142659544944763,
0.028185099363327026,
-0.02100173756480217,
-0.05428647622466087,
-0.0003424320602789521,
-0.013690427877008915,
0.0692746639251709,
-0.03606303781270981,
0.006470509339123964,
-0.005556595511734486,
0.002554388949647546,
-0.029501136392354965,
-0.006557330954819918,
0.027252908796072006,
0.03107306733727455,
-0.021129686385393143,
-0.00943159032613039,
-0.039005838334560394,
-0.03306540101766586,
0.04419687017798424,
-0.009317350573837757,
-0.05063082277774811,
0.04679238423705101,
0.053847797214984894,
-0.012447505258023739,
0.010601399466395378,
-0.06170745566487312,
0.02253711223602295,
-0.007667736150324345,
0.03039677068591118,
-0.004418773110955954,
-0.014193080365657806,
0.04799874871969223,
0.028770005330443382,
-0.032736390829086304,
0.044014085084199905,
-0.0036168135702610016,
-0.02540680207312107,
-0.04328295588493347,
-0.06496098637580872,
-0.06108599528670311,
0.044452764093875885,
-0.02595514990389347,
-0.0294097438454628,
-0.0758913978934288,
0.006118652410805225,
0.03430832177400589,
0.017702508717775345,
0.015554811805486679,
0.018241718411445618,
-0.046536486595869064,
0.009998216293752193,
-0.017583699896931648,
0.025004679337143898,
0.025644419714808464,
0.06254825741052628,
0.014165663160383701,
-0.010409477166831493,
-0.016423029825091362,
0.05008247494697571,
-0.004085194319486618,
-0.04094333574175835,
0.0068040876649320126,
0.05889260396361351,
0.03677589073777199,
0.020307162776589394,
0.004843743052333593,
0.012292140163481236,
-0.03613615036010742,
0.02324996516108513,
-0.015344612300395966,
0.010162720456719398,
0.045768801122903824,
-0.08378761261701584,
-0.022354330867528915,
0.01941152848303318,
-0.03306540101766586,
0.020745841786265373,
-0.035880252718925476,
-0.046536486595869064,
0.034125540405511856,
0.012648566626012325,
0.022463999688625336,
-0.0003558551543392241,
0.040650881826877594,
-0.0230854619294405,
-0.01730038784444332,
0.0615977868437767,
-0.009244238026440144,
0.01790357008576393,
-0.002428725827485323,
-0.058307696133852005,
0.05337256193161011,
0.021476972848176956,
0.015810707584023476,
-0.04763318598270416,
-0.02781953476369381,
-0.06572867929935455,
0.05750345438718796,
0.03388792276382446,
0.028824839740991592,
-0.08429940789937973,
0.0697864517569542,
0.037799473851919174,
-0.022719895467162132,
0.008659332990646362,
0.012109356932342052,
-0.03970041498541832,
0.004288540221750736,
0.0006814369698986411,
0.008184097707271576,
0.02997637167572975,
-0.013635593466460705,
-0.06203646585345268,
-0.03474700078368187,
0.026083098724484444,
-0.07245508581399918,
0.012767375446856022,
0.009769737720489502,
0.011926574632525444,
-0.009002050384879112,
-0.04843742772936821,
0.025754090398550034,
0.07267442345619202,
-0.014257054775953293,
0.04160135239362717,
0.036976952105760574,
-0.026686280965805054,
-0.022719895467162132,
-0.023012347519397736,
0.032188042998313904,
-0.007567205931991339,
0.005259573459625244,
0.025882037356495857,
0.048802994191646576,
0.009687486104667187,
0.012986714020371437,
0.010363781824707985,
-0.015682760626077652,
-0.026156211271882057,
0.029811866581439972,
0.0031095915473997593,
0.08949043601751328,
0.028440995141863823,
-0.03403414785861969,
-0.05048459395766258,
-0.026576612144708633,
-0.035660915076732635,
0.044781774282455444,
-0.02105657197535038,
0.01653270050883293,
0.0032603873405605555,
-0.03116445802152157,
0.05520039051771164,
-0.03107306733727455,
0.013726984150707722,
0.02908073551952839,
-0.00764488847926259,
0.043575406074523926,
0.05845392495393753,
0.009513841941952705,
-0.015043020248413086,
0.002462997566908598,
0.011213721707463264,
-0.010053051635622978,
0.036026481539011,
-0.005611430387943983,
0.039554186165332794,
-0.03460077568888664,
0.05629708617925644,
0.013334001414477825,
0.039444517344236374,
-0.0946083515882492,
0.01957603171467781,
0.004178870469331741,
0.0332481823861599,
-0.03871338814496994,
0.012913601472973824,
-0.010446034371852875,
-0.06042797863483429,
-0.042040031403303146,
-0.012858766131103039,
0.06331594288349152,
-0.02242744341492653,
-0.006210044026374817,
0.05267798900604248,
0.05531005933880806,
-0.020873790606856346,
-0.05063082277774811,
-0.03333957493305206,
0.0445258766412735,
0.05161784961819649,
0.025059515610337257,
-0.028879674151539803,
-0.0012326411670073867,
0.0340707041323185,
0.02423699200153351,
-0.04931478574872017,
0.04156479611992836,
-0.032846059650182724,
0.047815967351198196,
-0.043794747442007065,
-0.003244393737986684,
0.010756764560937881,
0.0031918438617140055,
-0.02248227782547474,
0.03842093423008919,
0.02138558216392994,
-0.02480361983180046,
0.013644732534885406,
-0.020435111597180367,
0.02727118693292141,
0.026412107050418854,
-0.03057955391705036,
-0.0005751944845542312,
0.006900048814713955,
-0.017885291948914528,
0.04953412711620331,
0.0036533703096210957,
-0.0324256606400013,
0.0764031931757927,
-0.021074851974844933,
-0.029866700991988182,
0.07866969704627991,
0.01875350996851921,
-0.008220653980970383,
0.07684186846017838,
-0.031219294294714928,
-0.01850675418972969,
0.04218626022338867,
-0.007452966645359993,
-0.07399045675992966,
-0.03750701993703842,
-0.012694261968135834,
-0.003909266088157892,
0.0001782131876097992,
-0.047706298530101776,
0.04273460805416107,
0.025863759219646454,
-0.007608332205563784,
-0.02056305855512619,
-0.039005838334560394,
0.00339518953114748,
-0.01316949725151062,
0.05958717688918114,
0.0242004357278347,
0.025388523936271667,
-0.020051266998052597,
-0.046609602868556976,
-0.030378492549061775,
-0.023067183792591095,
-0.04426998272538185,
0.0045627146027982235,
-0.07399045675992966,
0.007745419163256884,
-0.0337965302169323,
0.08152110874652863,
0.05531005933880806,
0.03635548800230026,
0.006849783472716808,
0.002296208404004574,
0.06229235976934433,
-0.0040372139774262905,
-0.04701172187924385,
0.021641477942466736,
-0.022061878815293312,
0.05574873834848404,
-0.0009801725391298532,
0.08005884289741516,
-0.07947394251823425,
-0.015728455036878586,
-0.037689801305532455,
-0.02220810391008854,
-0.02352413907647133,
-0.014905933290719986,
-0.0010561415692791343,
-0.07044447213411331,
-0.008796419948339462,
0.0522393099963665,
0.06302349269390106,
0.005003677681088448,
-0.04299050197005272,
-0.011561009101569653,
-0.0016724622109904885,
-0.013461949303746223,
0.004766060039401054,
0.01891801506280899,
0.028788283467292786,
0.01033636461943388,
0.009230528958141804,
0.003660224610939622,
-0.014229637570679188,
0.010500868782401085,
-0.041930362582206726,
0.036757610738277435,
-0.04251526668667793,
-0.017857873812317848,
0.01585640385746956,
0.0489492192864418,
0.03651999309659004,
-0.04222281649708748,
-0.05867326259613037,
0.0014028575969859958,
0.01096696499735117,
0.01550911646336317,
0.03734251484274864,
-0.03915206342935562,
0.062219247221946716,
0.0066030267626047134,
-0.05541972815990448,
-0.021678034216165543,
-0.10901163518428802,
0.05925816670060158,
0.025699254125356674,
0.04043154418468475,
-0.07618384808301926,
0.0055291783064603806,
-0.015573089942336082,
-0.01880834437906742,
-0.055894963443279266,
0.003952676896005869,
0.03474700078368187,
-0.049899689853191376,
-0.018086353316903114,
-0.03472872078418732,
0.06642325222492218,
-0.05571218207478523,
0.005501760635524988,
0.023176852613687515,
-0.01762939617037773,
0.00849939789623022,
0.00503109535202384,
-0.04862021282315254,
-0.0434291809797287,
0.07106593251228333,
-0.0020677298307418823,
0.03606303781270981,
-0.016221968457102776,
-0.013260888867080212,
-0.061122551560401917,
0.01736436039209366,
0.0030182001646608114,
-0.08371450006961823,
-0.008047010749578476,
-0.03838437795639038,
0.02622932381927967,
0.10762248188257217,
-0.04986313357949257,
-0.0007048560073599219,
0.023706922307610512,
0.008627345785498619,
0.053847797214984894,
-0.015929516404867172,
0.039115507155656815,
0.012447505258023739,
0.014896794222295284,
0.034015871584415436,
-0.04938789829611778,
0.05490793660283089,
0.0019523482769727707,
0.022226382046937943,
0.004135459661483765,
-0.06920155137777328,
0.000007001614449109184,
-0.01259373128414154,
0.019374972209334373,
-0.02242744341492653,
-0.00892436783760786,
-0.01591123826801777,
-0.002451573731377721,
0.01168895699083805,
-0.011716374196112156,
0.02253711223602295,
-0.005387521348893642,
-0.0020208917558193207,
-0.037397351115942,
-0.03970041498541832,
-0.0027303174138069153,
0.0024835607036948204,
-0.021458694711327553,
-0.07190673053264618,
-0.03454593941569328,
-0.017291247844696045,
-0.014257054775953293,
-0.038896169513463974,
-0.017528865486383438,
-0.05180063098669052,
0.003936683293431997,
0.01963086798787117,
-0.04887610673904419,
0.0024218715261667967,
-0.039444517344236374,
0.0011338242329657078,
-0.02880656160414219,
0.0024904150050133467,
-0.013270027935504913,
0.04927822947502136,
-0.007740849629044533,
-0.0018483905587345362,
0.083568274974823,
-0.03772636130452156,
-0.030872005969285965,
0.05081360414624214,
0.022829566150903702,
0.012036244384944439,
-0.07713431864976883,
0.035167399793863297,
-0.007521510124206543,
0.003287804778665304,
-0.05216619744896889,
0.01140564400702715,
-0.029555970802903175,
-0.05326289311051369,
0.031859032809734344,
-0.08758949488401413,
-0.04211314395070076,
0.04306361451745033,
-0.012438366189599037,
-0.035551246255636215,
0.018698675557971,
-0.013461949303746223,
-0.06006241217255592,
-0.015161829069256783,
0.051654405891895294,
0.029226962476968765,
0.0379456989467144,
-0.03101823292672634,
0.00914370734244585,
-0.07852347195148468,
0.0395907424390316,
0.04474521800875664,
0.02034372091293335,
0.007791114505380392,
0.06408363580703735,
-0.045220453292131424,
-0.015033881179988384,
-0.019393250346183777,
0.008508536964654922,
-0.03893272578716278,
0.024840176105499268,
-0.06031830608844757,
-0.017117604613304138,
0.0280388742685318,
-0.014138245955109596,
-0.006840644404292107,
0.020307162776589394,
0.01773906499147415,
0.00339518953114748,
-0.0066395835019648075,
0.02699701301753521,
-0.005008247215300798,
0.0021842538844794035,
-0.036373768001794815,
0.0643029734492302,
-0.03595336526632309,
0.009189402684569359,
-0.02359725348651409,
-0.048364315181970596,
-0.00828462839126587,
0.011076634749770164,
-0.017236413434147835,
-0.034509383141994476,
0.03085372783243656,
0.01267598383128643,
0.05256832018494606,
-0.020252328366041183,
-0.014814541675150394,
0.021422138437628746,
-0.005926730576902628,
-0.03918862342834473,
0.025150906294584274,
0.010939547792077065,
-0.01190829649567604,
0.015271498821675777,
-0.0004429625696502626,
0.06916499137878418,
0.06554589420557022,
0.01393718458712101,
-0.024675671011209488,
-0.0008996338583528996,
0.012630288489162922,
-0.03454593941569328,
0.018049797043204308,
-0.015554811805486679,
0.006932036019861698,
-0.021897373721003532,
0.04459899291396141,
-0.027563638985157013,
-0.02891623042523861,
-0.017857873812317848,
0.027581917122006416,
0.019210467115044594,
0.08239846676588058,
-0.0687263160943985,
-0.06134188920259476,
0.027965761721134186,
-0.013690427877008915,
0.010537425987422466,
0.02760019525885582,
0.0148419588804245,
-0.029610805213451385,
0.04372163489460945,
0.029592527076601982,
-0.05531005933880806,
0.02111140824854374,
-0.004807186312973499,
0.0026343564968556166,
-0.006310574244707823,
-0.032407380640506744,
0.036428600549697876,
0.019923320040106773,
-0.04708483815193176,
0.027746422216296196,
-0.02622932381927967,
-0.034948062151670456,
-0.044672105461359024,
0.028788283467292786,
0.02441977523267269,
0.04430653899908066,
-0.03017743118107319,
-0.016980517655611038,
0.11142436414957047,
-0.053847797214984894,
-0.01253889687359333,
0.012712540104985237,
-0.027289465069770813,
-0.06148811802268028,
-0.026046542450785637,
0.010299808345735073,
-0.02398109622299671,
0.02535196766257286,
-0.030506441369652748,
-0.0009087729849852622,
-0.03061611019074917,
-0.04792563617229462,
0.015244081616401672,
-0.07340554893016815,
-0.018250858411192894,
-0.0032718111760914326,
0.05150818079710007,
0.002083723433315754,
0.05560251325368881,
-0.003308367682620883,
0.0044164881110191345,
0.01159756537526846,
0.02220810391008854,
0.020051266998052597,
0.02820337750017643,
0.03253532946109772,
0.04536667838692665,
0.09702108055353165,
-0.0467558279633522,
0.024492887780070305,
0.0511426143348217,
0.055236946791410446,
0.046975165605545044,
-0.004784338641911745,
0.025882037356495857,
-0.021074851974844933,
-0.03981008380651474,
0.03317506983876228,
-0.04843742772936821,
-0.02253711223602295,
0.03090856224298477,
0.03443627059459686,
-0.07413668185472488,
0.07161428034305573,
-0.029958093538880348,
0.01501560304313898,
-0.0467192716896534,
0.015755873173475266,
0.03275466710329056,
0.006063817534595728,
0.014165663160383701,
0.010318086482584476,
-0.0758913978934288,
-0.031584858894348145,
-0.010409477166831493,
0.009440729394555092,
-0.09139137715101242,
-0.007868797518312931,
-0.07940082997083664,
-0.030488163232803345,
0.015399446710944176,
-0.025699254125356674,
0.0140194371342659,
0.008737015537917614,
0.014202219434082508,
0.029336631298065186,
0.08707769960165024,
0.022299496456980705,
-0.016706343740224838,
0.04569568857550621,
0.032517049461603165,
0.05092327296733856,
0.02039855532348156,
-0.02990325726568699,
0.03156658262014389,
0.01645044796168804,
-0.025041237473487854,
0.008503967896103859,
-0.0071559445932507515,
-0.03915206342935562,
0.019100798293948174,
-0.09577815979719162,
-0.017538005486130714,
0.011177165433764458,
-0.025808924809098244,
0.036976952105760574,
-0.010171860456466675,
0.023304801434278488,
0.041637908667325974,
-0.009180263616144657,
0.0031849893275648355,
-0.0709562599658966,
0.001406284747645259,
-0.08371450006961823,
0.004114896524697542,
0.009870268404483795,
0.00007211350748548284,
0.008563372306525707,
-0.014165663160383701,
-0.061561230570077896,
-0.03127412870526314,
0.012365252710878849,
-0.02699701301753521,
-0.06558245420455933,
-0.002433295361697674,
-0.033028844743967056,
0.007457536179572344,
-0.009797155857086182,
0.03761668875813484,
-0.0017524296417832375,
-0.021184520795941353,
0.012886184267699718,
0.0395907424390316,
0.037799473851919174,
-0.03551468998193741,
0.014878516085445881,
-0.027033569291234016,
-0.04229592904448509,
-0.0014199934666976333,
-0.03377825394272804,
-0.038238152861595154,
-0.020691007375717163,
-0.04584191367030144,
-0.010455173440277576,
-0.024602558463811874,
-0.011295974254608154,
0.08546921610832214,
0.020087825134396553,
-0.02314029633998871,
-0.03390619903802872,
-0.029720475897192955,
0.0017912709154188633,
0.036812447011470795,
0.05783246085047722,
-0.027563638985157013,
0.027581917122006416,
0.00865019392222166,
-0.043904416263103485,
0.029921535402536392,
0.01908251829445362,
0.03589853271842003,
-0.0034751570783555508,
-0.0019523482769727707,
-0.016514422371983528,
-0.012977574951946735,
0.006511635612696409,
0.0016233392525464296,
0.014339306391775608,
0.047815967351198196,
0.020142659544944763,
0.051325395703315735,
-0.05074049159884453,
-0.03633721172809601,
0.005830769892781973,
0.0009076306014321744,
-0.007516940589994192,
-0.010482590645551682,
0.024218713864684105,
0.014951628632843494,
0.0626944825053215,
-0.007900784723460674,
0.03487494960427284,
-0.03447282686829567,
-0.032242875546216965,
-0.056626096367836,
-0.04997280240058899,
0.031201016157865524,
-0.04708483815193176,
0.036922115832567215,
0.0027942913584411144,
0.01061053853482008,
-0.0500459186732769,
-0.014915072359144688,
-0.007548927795141935,
0.0013434531865641475,
0.06627702713012695,
-0.05161784961819649,
-0.003573402762413025,
-0.039334848523139954,
-0.012886184267699718,
0.05476171150803566,
0.015033881179988384,
-0.007937340997159481,
0.05823458358645439,
0.025589585304260254,
-0.006488787475973368,
0.030634388327598572,
-0.021952208131551743,
0.018196022137999535,
-0.01930185779929161,
0.0189728494733572,
-0.041711024940013885,
-0.04448932036757469,
0.05516383424401283,
-0.013114661909639835,
0.02346930466592312,
0.028897952288389206,
-0.001674746978096664,
0.0068132271990180016,
-0.02409076690673828,
-0.029336631298065186,
-0.02242744341492653,
0.02535196766257286,
0.005999843589961529,
0.008896950632333755,
0.004807186312973499,
0.031091345474123955,
-0.05479826778173447,
0.06295038014650345,
-0.010637955740094185,
-0.01957603171467781,
-0.004329666495323181,
0.06284070760011673,
-0.052641432732343674,
0.03701350837945938,
-0.03134724125266075,
-0.04416031390428543,
0.04712139442563057,
-0.007014288101345301,
0.03487494960427284,
0.020709285512566566,
-0.012520618736743927,
-0.0067766704596579075,
0.03277294710278511,
-0.05615086108446121,
-0.020581338554620743,
0.02551647275686264,
0.025991706177592278,
-0.028349604457616806,
0.027179794386029243,
0.009879407472908497,
-0.049790021032094955,
0.0796932801604271,
-0.025169184431433678,
0.04942445456981659,
-0.023761756718158722,
0.021860817447304726,
-0.009660067968070507,
0.02182426117360592,
-0.033851366490125656,
-0.020215772092342377,
0.031475190073251724,
0.10520975291728973
] |
52,136 |
pebble.pool.base_pool
|
ProcessMapFuture
| null |
class ProcessMapFuture(ProcessFuture):
def __init__(self, futures: list):
super().__init__()
self._futures = futures
@property
def futures(self) -> list:
return self._futures
def cancel(self) -> bool:
"""Cancel the future.
Returns True if any of the elements of the iterables is cancelled.
False otherwise.
"""
super().cancel()
return any(tuple(f.cancel() for f in self._futures))
|
(futures: list)
|
[
0.034159138798713684,
-0.006815535947680473,
-0.07646434009075165,
0.038413193076848984,
-0.06303239613771439,
-0.0003807151224464178,
0.0054126037284731865,
0.005050556268543005,
0.062054865062236786,
0.002724404213950038,
0.020908217877149582,
0.022428816184401512,
-0.008394965901970863,
-0.005973776336759329,
0.010472211055457592,
0.0255243182182312,
-0.005752022843807936,
0.021469390019774437,
0.027207836508750916,
-0.02539760060608387,
-0.0016043210634961724,
0.02248312160372734,
-0.0004548216238617897,
-0.056189704686403275,
0.014744366519153118,
0.07313350588083267,
-0.012771209701895714,
-0.004410185851156712,
-0.03698310628533363,
-0.008458324708044529,
0.04308360069990158,
0.011956604197621346,
-0.027841418981552124,
-0.026357026770710945,
0.06600117683410645,
0.0396803580224514,
-0.044314559549093246,
0.08761538565158844,
-0.015875764191150665,
-0.016418833285570145,
0.02248312160372734,
-0.07367657870054245,
-0.050686586648225784,
-0.00029190044733695686,
0.013259973376989365,
0.012110474519431591,
-0.07237320393323898,
0.05781891569495201,
0.037797711789608,
-0.002101004356518388,
0.039752766489982605,
-0.007286197040230036,
0.001077655702829361,
0.04330082982778549,
-0.002231115009635687,
0.08783261477947235,
-0.0030479836277663708,
0.03663916140794754,
0.0032018537167459726,
-0.04735575616359711,
-0.003652149811387062,
0.014400421641767025,
-0.004489383660256863,
-0.01446378044784069,
0.07624711096286774,
-0.027968134731054306,
0.013269024901092052,
0.0003544101200532168,
0.0031973281875252724,
0.05115725100040436,
-0.01841009221971035,
0.012671646662056446,
-0.015712842345237732,
0.005960199516266584,
0.024438176304101944,
-0.0481884628534317,
0.01917039230465889,
0.011458788998425007,
0.00808270089328289,
-0.020672887563705444,
-0.047138527035713196,
-0.02986888214945793,
-0.005761073902249336,
-0.004181643482297659,
-0.009141688235104084,
-0.022048665210604668,
0.08399491757154465,
-0.04141818359494209,
-0.105862557888031,
-0.010951923206448555,
-0.06263414025306702,
0.028855150565505028,
-0.016111094504594803,
-0.021288366988301277,
0.005023403093218803,
0.026863891631364822,
-0.00712327565997839,
-0.023297728970646858,
-0.08942562341690063,
-0.05437946692109108,
0.03736325725913048,
0.03761668875813484,
0.05405362695455551,
-0.030792102217674255,
0.05970156192779541,
0.016627011820673943,
-0.012698800303041935,
-0.053908806294202805,
0.009259353391826153,
0.014653855003416538,
-0.018491553142666817,
0.016880443319678307,
-0.02311670407652855,
-0.0005184626788832247,
-0.03694690391421318,
-0.02087201364338398,
-0.06969405710697174,
0.007992188446223736,
-0.039969995617866516,
0.007666346617043018,
0.014943492598831654,
0.04235950484871864,
0.012698800303041935,
-0.03220408409833908,
0.016020582988858223,
0.08862911909818649,
0.020799603313207626,
0.06954924017190933,
0.007856421172618866,
0.009775270707905293,
-0.01301559153944254,
0.010110164061188698,
0.043119803071022034,
0.06614600121974945,
0.02199435792863369,
0.023388240486383438,
-0.01424655131995678,
0.010218778625130653,
-0.07190254330635071,
-0.007240941282361746,
-0.006335823331028223,
-0.03971656411886215,
0.03421344608068466,
0.046016182750463486,
0.02961544878780842,
-0.0026881995145231485,
-0.012038065120577812,
-0.02624841220676899,
-0.025958774611353874,
-0.029506836086511612,
0.006498744711279869,
-0.0043083601631224155,
-0.025651033967733383,
0.04025963321328163,
-0.028058646246790886,
0.04478522017598152,
0.04489383473992348,
0.019007470458745956,
0.02154180034995079,
-0.03526338189840317,
0.004656830336898565,
0.059194695204496384,
-0.004575369879603386,
-0.04340944066643715,
-0.03671157360076904,
0.014988748356699944,
0.03271095082163811,
-0.001389355631545186,
0.014291808009147644,
0.04116475209593773,
-0.023768389597535133,
0.0354263037443161,
0.07530578970909119,
0.01777650974690914,
-0.05897746607661247,
0.060498062521219254,
-0.030068008229136467,
0.008499055169522762,
0.005303989630192518,
-0.012698800303041935,
-0.04424215108156204,
-0.039354514330625534,
-0.05235200375318527,
-0.026881994679570198,
0.022175382822752,
0.012888874858617783,
-0.01938761956989765,
0.016400732100009918,
0.03262044116854668,
0.005978302098810673,
-0.07012851536273956,
-0.03812355548143387,
0.03895626217126846,
-0.024021822959184647,
-0.009114534594118595,
-0.03942692652344704,
-0.05510356277227402,
-0.019423823803663254,
-0.012237190268933773,
-0.02849310263991356,
-0.07219218462705612,
-0.014635751955211163,
0.044857632368803024,
-0.022283997386693954,
-0.010128266178071499,
0.020003100857138634,
-0.01157645508646965,
-0.007358606439083815,
0.009757168591022491,
0.04702991247177124,
-0.022175382822752,
-0.017876073718070984,
-0.0075939372181892395,
0.054669104516506195,
0.05003490298986435,
0.022555531933903694,
0.008625770919024944,
0.009675707668066025,
0.029579244554042816,
0.05872403457760811,
0.02154180034995079,
0.006276990752667189,
0.0595567412674427,
0.004896686412394047,
0.007467220537364483,
0.08247432112693787,
0.0009809212060645223,
0.029307710006833076,
0.04326462373137474,
-0.035136666148900986,
-0.021740926429629326,
0.009648554027080536,
-0.046776480972766876,
-0.0585068054497242,
0.020491862669587135,
-0.0633220300078392,
0.013531508855521679,
-0.018464399501681328,
-0.029886985197663307,
0.03414103761315346,
0.02306239679455757,
0.018916958943009377,
0.001568116364069283,
-0.034919437021017075,
0.0001359797897748649,
0.0003988174721598625,
0.0015036266995593905,
0.05640693008899689,
0.033254023641347885,
0.035498715937137604,
0.027063017711043358,
-0.007308824919164181,
-0.06658045202493668,
-0.022953784093260765,
0.021396981552243233,
-0.08587756007909775,
-0.03560732677578926,
-0.061511795967817307,
0.036802083253860474,
0.037797711789608,
0.03605988621711731,
0.003238058416172862,
0.003421344794332981,
0.017758408561348915,
-0.0048333280719816685,
-0.02682768739759922,
-0.0006245311815291643,
-0.06248932331800461,
0.023949412629008293,
0.037109822034835815,
0.1020248606801033,
-0.06390130519866943,
-0.014409473165869713,
-0.01650029420852661,
-0.01670847088098526,
-0.002387247746810317,
-0.014662905596196651,
-0.0035548496525734663,
-0.04757298529148102,
0.008693655021488667,
0.057312048971652985,
0.015432256273925304,
-0.05991878733038902,
-0.1039075031876564,
-0.007702551316469908,
0.01462670136243105,
0.00912811141461134,
0.06495124101638794,
0.04858671501278877,
0.010236880742013454,
0.03448498249053955,
0.039354514330625534,
0.005100337788462639,
-0.07784011960029602,
0.009802424348890781,
-0.04377149045467377,
-0.01926090382039547,
-0.04083890840411186,
-0.039028674364089966,
-0.00421558553352952,
0.05271405354142189,
0.0002708281681407243,
-0.026357026770710945,
-0.037870123982429504,
-0.023569263517856598,
0.02023843117058277,
0.052207186818122864,
0.012572084553539753,
-0.018274325877428055,
0.03381519392132759,
0.06574774533510208,
0.0018373888451606035,
-0.08189504593610764,
-0.08558792620897293,
0.011513096280395985,
0.0018713307799771428,
0.00903759989887476,
-0.02575964853167534,
-0.011531198397278786,
0.0008564675808884203,
-0.0405854769051075,
-0.05586386099457741,
0.041273362934589386,
-0.00457310676574707,
-0.013133256696164608,
0.00118117849342525,
-0.02244691736996174,
-0.0023012615274637938,
-0.010001550428569317,
0.031823936849832535,
-0.031823936849832535,
0.008820371702313423,
-0.025723444297909737,
0.00585611118003726,
-0.03138947859406471,
-0.005919469520449638,
0.02279086224734783,
0.001745745656080544,
0.05503115430474281,
-0.01679898425936699,
-0.018880754709243774,
-0.011594557203352451,
-0.014337063767015934,
0.03685639053583145,
-0.09746307134628296,
0.023406341671943665,
-0.00038439215859398246,
0.06574774533510208,
0.0717577263712883,
-0.06632702052593231,
0.0462334081530571,
0.03131707012653351,
0.023297728970646858,
0.06596497446298599,
0.03090071678161621,
0.026592357084155083,
0.026411332190036774,
-0.022682247683405876,
0.0004944205284118652,
-0.013296178542077541,
0.06875273585319519,
-0.0613669753074646,
0.021433185786008835,
-0.03233080357313156,
-0.04348185285925865,
0.00023914905614219606,
-0.000525251089129597,
-0.023677878081798553,
-0.046342022716999054,
-0.006430861074477434,
0.005344719626009464,
0.044097330421209335,
-0.013350484892725945,
-0.0010567248100414872,
0.012146678753197193,
0.01058987621217966,
0.025470010936260223,
0.007734230253845453,
-0.07360416650772095,
0.03059297613799572,
-0.013404792174696922,
-0.061692818999290466,
-0.021578004583716393,
0.0010244800942018628,
-0.04080270230770111,
0.027207836508750916,
0.007435541599988937,
-0.02952493727207184,
0.020980626344680786,
0.047138527035713196,
0.02087201364338398,
-0.08479142189025879,
-0.02624841220676899,
-0.0306834876537323,
0.014219398610293865,
-0.0368925966322422,
0.015749046579003334,
0.04228709638118744,
0.057167232036590576,
-0.042612940073013306,
0.02822156809270382,
0.04565413296222687,
-0.018220018595457077,
0.007544155698269606,
0.04782641679048538,
-0.018029943108558655,
-0.019948793575167656,
-0.0481884628534317,
0.026900095865130424,
0.006480642594397068,
-0.01862732134759426,
-0.0717577263712883,
0.04141818359494209,
-0.056587956845760345,
-0.06795623153448105,
0.004883109591901302,
-0.07805734872817993,
-0.04456799477338791,
0.02369597926735878,
0.01801184192299843,
0.04456799477338791,
0.01306084729731083,
-0.011884194798767567,
-0.028420694172382355,
0.004152227193117142,
-0.03271095082163811,
0.054307058453559875,
0.02132457122206688,
-0.007114224601536989,
0.03794253244996071,
-0.014852980151772499,
-0.06252552568912506,
-0.04865912348031998,
-0.04025963321328163,
0.02521657757461071,
0.0226279404014349,
-0.0396079495549202,
0.028185363858938217,
0.006571154110133648,
0.060932520776987076,
-0.008716283366084099,
0.04782641679048538,
0.030556771904230118,
-0.016690369695425034,
0.08167781680822372,
0.005494064185768366,
-0.0039757294580340385,
0.04855050891637802,
0.07240941375494003,
-0.004568581469357014,
-0.034919437021017075,
-0.004088868852704763,
-0.012463469989597797,
-0.0024030874483287334,
0.0688251480460167,
0.028185363858938217,
-0.055429406464099884,
-0.02901807241141796,
-0.07784011960029602,
0.006521372590214014,
0.03754428029060364,
-0.026483742520213127,
0.00982957798987627,
-0.03707361966371536,
-0.017658844590187073,
0.018645424395799637,
0.04967285692691803,
-0.0015183348441496491,
-0.03573404625058174,
0.006544000469148159,
0.034647904336452484,
-0.045979976654052734,
0.015631381422281265,
-0.062054865062236786,
-0.029452528804540634,
0.030520567670464516,
-0.0029914139304310083,
0.05687759444117546,
0.0472109355032444,
-0.012635442428290844,
0.0000508068005729001,
-0.043518055230379105,
0.04927460476756096,
-0.015568023547530174,
-0.01880834437906742,
-0.03441257402300835,
0.06180143356323242,
-0.05742066353559494,
0.058470599353313446,
-0.0000027312632937537273,
-0.016391681507229805,
-0.04134577512741089,
0.05814475938677788,
-0.0029099532403051853,
0.03524528071284294,
-0.05738445743918419,
0.003586528589949012,
0.050143517553806305,
0.07342314720153809,
-0.014889185316860676,
0.025741545483469963,
0.030882613733410835,
-0.03676587715744972,
0.01280741486698389,
0.04301119223237038,
-0.04424215108156204,
0.00323579553514719,
-0.04268534854054451,
-0.05503115430474281,
0.001974287908524275,
-0.012599237263202667,
-0.024800224229693413,
0.027913827449083328,
-0.036440037190914154,
-0.006815535947680473,
-0.02843879722058773,
-0.03292817994952202,
-0.034774620085954666,
0.020618580281734467,
0.00852168258279562,
0.03426775336265564,
0.0029325811192393303,
0.0072002108208835125,
0.05774650722742081,
-0.054886333644390106,
-0.03971656411886215,
0.01507020927965641,
-0.013965965248644352,
-0.029235299676656723,
-0.035190973430871964,
-0.01610204204916954,
-0.056587956845760345,
-0.007661820854991674,
-0.005865162238478661,
0.016627011820673943,
-0.0017299060709774494,
0.0334712490439415,
-0.04779021069407463,
-0.04496624320745468,
0.017097672447562218,
0.0008394966134801507,
0.08551551401615143,
0.02060047723352909,
0.019894486293196678,
0.03269284963607788,
0.015957223251461983,
-0.036259014159440994,
-0.015052106231451035,
0.0548139251768589,
0.02983267791569233,
-0.012119525112211704,
0.031371377408504486,
0.058651622384786606,
0.007195685524493456,
-0.028656024485826492,
0.003416819032281637,
0.060172222554683685,
0.008702706545591354,
-0.03928210586309433,
0.017695050686597824,
0.02436576783657074,
0.011286817491054535,
-0.004125073552131653,
-0.05622590705752373,
-0.032855771481990814,
0.0012603763025254011,
0.0015590651892125607,
0.01862732134759426,
0.06983887404203415,
-0.007924305275082588,
0.053763989359140396,
-0.038594216108322144,
-0.01971346326172352,
-0.05416224151849747,
0.00949468370527029,
0.021777130663394928,
0.037471871823072433,
-0.08059167861938477,
0.013024643063545227,
-0.07718843221664429,
0.004991723690181971,
-0.03694690391421318,
-0.01283456850796938,
-0.08348805457353592,
0.02288137376308441,
0.011123895645141602,
-0.06469780951738358,
0.023659775033593178,
0.07012851536273956,
0.015577075071632862,
0.00563435722142458,
0.03736325725913048,
0.014418523758649826,
0.03059297613799572,
0.0052496823482215405,
0.029850780963897705,
0.013603918254375458,
-0.012400112114846706,
-0.05952053517103195,
0.0613669753074646,
0.011522147804498672,
-0.027660395950078964,
0.012210036627948284,
-0.003462075022980571,
-0.02333393320441246,
-0.022863272577524185,
-0.07602988183498383,
-0.03450308367609978,
0.010997178964316845,
0.027913827449083328,
0.018663525581359863,
-0.00641728425398469,
0.055429406464099884,
-0.021668516099452972,
0.023406341671943665,
-0.0425405278801918,
-0.050360746681690216,
0.025089861825108528,
-0.03242131322622299,
0.013477201573550701,
0.0004723582824226469,
-0.025234680622816086,
-0.04453178867697716,
-0.03359796851873398,
-0.02898186631500721,
-0.02682768739759922,
0.024311460554599762,
-0.021016832441091537,
-0.035806454718112946,
0.020908217877149582,
-0.025958774611353874,
0.011884194798767567,
0.041273362934589386,
0.002998202107846737,
0.0019686308223754168,
0.004297045990824699,
0.029579244554042816,
0.028149159625172615,
-0.0012524565681815147,
-0.060715291649103165,
-0.03345314785838127,
-0.021740926429629326,
-0.006023557856678963,
-0.031117944046854973,
-0.02114354819059372,
-0.08073649555444717,
-0.024619199335575104,
-0.020129816606640816,
0.03262044116854668,
-0.023225318640470505,
-0.01829242706298828,
0.06954924017190933,
-0.025107963010668755,
-0.0028669601306319237,
0.019550541415810585,
-0.0245829951018095,
-0.027841418981552124,
0.010309290140867233,
0.04927460476756096,
0.03669346868991852,
-0.02530708909034729,
0.020908217877149582,
-0.02494504302740097,
-0.001565853483043611,
-0.03345314785838127,
-0.06198245659470558,
0.0031928024254739285,
0.006620935630053282,
-0.005417129024863243,
0.04511106386780739,
0.03555301949381828,
-0.025180373340845108,
-0.006842689588665962,
0.010816155932843685,
0.036566752940416336,
0.05387260392308235,
-0.03685639053583145,
-0.0019041412742808461,
0.004604786168783903,
-0.026791483163833618,
0.011630761437118053,
0.024311460554599762,
-0.020075509324669838,
0.047319550067186356,
-0.010988128371536732,
0.013947863131761551,
0.04380769282579422,
-0.02943442575633526,
0.04489383473992348,
0.0014730789698660374,
0.05720343440771103,
-0.005656985100358725,
0.00017890216258820146,
0.01233675330877304,
-0.0661822035908699,
0.06495124101638794,
-0.0434456467628479,
-0.06314101070165634,
0.016455039381980896,
0.0690423771739006,
0.005353770684450865,
-0.013793992809951305,
-0.0039757294580340385,
-0.02968785911798477,
-0.047681596130132675,
0.05872403457760811,
-0.033833298832178116,
0.023533059284090996,
0.05459669604897499,
-0.005580050405114889,
0.016083940863609314,
0.040911316871643066,
0.015848610550165176,
-0.0004290823417250067,
-0.03386950120329857,
0.01701621152460575,
0.023225318640470505,
0.027750907465815544,
0.05492253974080086,
-0.016663216054439545,
0.04192505031824112,
0.02728024683892727,
-0.0007031632703728974,
0.03895626217126846,
-0.040332041680812836,
-0.03010421246290207,
-0.02032894268631935,
-0.00323127000592649,
0.02682768739759922,
0.04167161509394646,
0.02585016004741192,
0.016455039381980896,
-0.07784011960029602,
-0.01780366338789463,
-0.018455348908901215,
-0.033978115767240524,
0.01350435521453619,
-0.002000309992581606,
-0.06433576345443726,
-0.021523697301745415,
-0.011522147804498672,
-0.08095372468233109,
0.04464040324091911,
0.05075899884104729,
-0.014373268000781536,
-0.001770636416040361,
-0.01877214014530182,
-0.010997178964316845,
0.021071139723062515,
-0.04134577512741089,
0.0005054516368545592,
0.018880754709243774,
-0.03488323464989662,
-0.0014662905596196651,
0.027207836508750916,
0.014988748356699944,
-0.018364837393164635,
0.01646408997476101,
-0.05398121476173401,
0.006467065773904324,
-0.06462539732456207,
0.03262044116854668,
-0.044857632368803024,
0.004086606204509735,
0.02977837063372135,
0.006937726866453886,
-0.006820061709731817,
0.03819596394896507
] |
52,151 |
pebble.pool.process
|
ProcessPool
|
Allows to schedule jobs within a Pool of Processes.
max_workers is an integer representing the amount of desired process workers
managed by the pool.
If max_tasks is a number greater than zero,
each worker will be restarted after performing an equal amount of tasks.
initializer must be callable, if passed, it will be called
every time a worker is started, receiving initargs as arguments.
|
class ProcessPool(BasePool):
"""Allows to schedule jobs within a Pool of Processes.
max_workers is an integer representing the amount of desired process workers
managed by the pool.
If max_tasks is a number greater than zero,
each worker will be restarted after performing an equal amount of tasks.
initializer must be callable, if passed, it will be called
every time a worker is started, receiving initargs as arguments.
"""
def __init__(self, max_workers: int = multiprocessing.cpu_count(),
max_tasks: int = 0,
initializer: Callable = None,
initargs: list = (),
context: multiprocessing.context.BaseContext = None):
super().__init__(max_workers, max_tasks, initializer, initargs)
mp_context = multiprocessing if context is None else context
self._pool_manager = PoolManager(self._context, mp_context)
self._task_scheduler_loop = None
self._pool_manager_loop = None
self._message_manager_loop = None
def _start_pool(self):
with self._context.state_mutex:
if self._context.state == CREATED:
self._pool_manager.start()
self._task_scheduler_loop = launch_thread(
None, task_scheduler_loop, True, self._pool_manager)
self._pool_manager_loop = launch_thread(
None, pool_manager_loop, True, self._pool_manager)
self._message_manager_loop = launch_thread(
None, message_manager_loop, True, self._pool_manager)
self._context.state = RUNNING
def _stop_pool(self):
if self._pool_manager_loop is not None:
self._pool_manager_loop.join()
self._pool_manager.stop()
if self._task_scheduler_loop is not None:
self._task_scheduler_loop.join()
if self._message_manager_loop is not None:
self._message_manager_loop.join()
def schedule(self, function: Callable,
args: list = (),
kwargs: dict = {},
timeout: float = None) -> ProcessFuture:
"""Schedules *function* to be run the Pool.
*args* and *kwargs* will be forwareded to the scheduled function
respectively as arguments and keyword arguments.
*timeout* is an integer, if expires the task will be terminated
and *Future.result()* will raise *TimeoutError*.
A *pebble.ProcessFuture* object is returned.
"""
self._check_pool_state()
future = ProcessFuture()
payload = TaskPayload(function, args, kwargs)
task = Task(next(self._task_counter), future, timeout, payload)
self._context.task_queue.put(task)
return future
def submit(self, function: Callable,
timeout: Optional[float],
*args, **kwargs) -> ProcessFuture:
"""This function is provided for compatibility with
`asyncio.loop.run_in_executor`.
For scheduling jobs within the pool use `schedule` instead.
"""
return self.schedule(
function, args=args, kwargs=kwargs, timeout=timeout)
def map(self, function: Callable,
*iterables, **kwargs) -> ProcessMapFuture:
"""Computes the *function* using arguments from
each of the iterables. Stops when the shortest iterable is exhausted.
*timeout* is an integer, if expires the task will be terminated
and the call to next will raise *TimeoutError*.
The *timeout* is applied to each chunk of the iterable.
*chunksize* controls the size of the chunks the iterable will
be broken into before being passed to the function.
A *pebble.ProcessFuture* object is returned.
"""
self._check_pool_state()
timeout = kwargs.get('timeout')
chunksize = kwargs.get('chunksize', 1)
if chunksize < 1:
raise ValueError("chunksize must be >= 1")
futures = [self.schedule(
process_chunk, args=(function, chunk), timeout=timeout)
for chunk in iter_chunks(chunksize, *iterables)]
return map_results(ProcessMapFuture(futures), timeout)
|
(max_workers: int = 60, max_tasks: int = 0, initializer: Callable = None, initargs: list = (), context: multiprocessing.context.BaseContext = None)
|
[
0.08762361854314804,
-0.02104172669351101,
-0.06298450380563736,
0.04013402760028839,
-0.004388717468827963,
0.03480828180909157,
-0.03876742348074913,
-0.03719984367489815,
-0.021785322576761246,
-0.061818864196538925,
0.0074058035388588905,
0.0012441398575901985,
0.01056105736643076,
0.021946098655462265,
0.01459053810685873,
0.0633060559630394,
0.0881863385438919,
-0.06101498007774353,
0.008692021481692791,
-0.031170696020126343,
0.025181742385029793,
0.011776936240494251,
0.07295269519090652,
-0.023915620520710945,
-0.02044885978102684,
0.010319891385734081,
-0.013977575115859509,
-0.006747621577233076,
-0.002909064060077071,
-0.032557398080825806,
0.026126308366656303,
0.03713955357670784,
-0.010621349327266216,
0.0226695965975523,
0.04300792142748833,
0.0017723183846101165,
-0.012821988202631474,
0.060452260076999664,
-0.03724003955721855,
-0.015856659039855003,
0.03217555209994316,
-0.04988115280866623,
0.002906551817432046,
-0.007044054567813873,
-0.032054971903562546,
-0.011133827269077301,
-0.017816131934523582,
0.016489719972014427,
0.009179377928376198,
0.019886139780282974,
-0.0011009476147592068,
-0.06704412400722504,
-0.012922474183142185,
0.017173023894429207,
-0.017585014924407005,
0.0650746077299118,
0.04208345338702202,
0.027352234348654747,
0.0011851043673232198,
-0.044977445155382156,
0.019303321838378906,
-0.012952620163559914,
-0.0016127971466630697,
-0.017605112865567207,
0.014871899038553238,
-0.014610635116696358,
-0.012902377173304558,
0.004353547468781471,
-0.00393401924520731,
0.00020976411178708076,
0.06129634007811546,
-0.0192430317401886,
0.020599588751792908,
0.024538632482290268,
0.018288416787981987,
0.02550329640507698,
0.05968856438994408,
-0.027090972289443016,
0.014319227077066898,
-0.03046729601919651,
-0.02369455248117447,
0.007240002043545246,
0.016499768942594528,
-0.03088933601975441,
0.06969695538282394,
-0.031974583864212036,
0.03191429004073143,
0.010802223347127438,
-0.09003528207540512,
-0.08440807461738586,
-0.0009759683744050562,
0.059246428310871124,
0.02592533640563488,
0.038305189460515976,
0.02044885978102684,
-0.04091781750321388,
-0.013374660164117813,
0.00451683672145009,
-0.01142523530870676,
-0.026648834347724915,
-0.0032557400409132242,
-0.014530247077345848,
-0.005295601673424244,
-0.039933059364557266,
0.011616158299148083,
0.0018891331274062395,
-0.012239170260727406,
0.01125441025942564,
-0.043771613389253616,
-0.039490919560194016,
-0.0461832731962204,
0.08513157069683075,
-0.0385061576962471,
-0.0102696493268013,
-0.03561216965317726,
0.03971198946237564,
-0.05691515654325485,
0.01591695100069046,
0.02695029228925705,
-0.007129467558115721,
-0.03217555209994316,
0.02918107621371746,
0.02156425267457962,
-0.026769418269395828,
-0.012902377173304558,
0.07166647166013718,
-0.03149225190281868,
0.0115558672696352,
-0.004956461954861879,
-0.05852293223142624,
-0.004001847002655268,
0.012600919231772423,
0.03283876180648804,
0.06390897184610367,
0.007164637558162212,
0.013676117174327374,
-0.04057616740465164,
0.02335290051996708,
-0.03705916553735733,
-0.006476310081779957,
0.03774246573448181,
-0.04288734123110771,
0.009852632880210876,
0.03189419209957123,
0.03107021003961563,
-0.008099155500531197,
0.0342254638671875,
-0.001929327379912138,
0.03446663171052933,
-0.016630399972200394,
0.01643947698175907,
-0.01848938688635826,
0.040515873581171036,
0.023996008560061455,
0.007601751014590263,
0.051810480654239655,
0.0581611804664135,
-0.0010280953720211983,
0.01778598688542843,
-0.02936195209622383,
-0.03344167396426201,
0.024880284443497658,
0.0010362598113715649,
-0.046344053000211716,
-0.04815279692411423,
0.005828176625072956,
0.08882945030927658,
-0.017333799973130226,
0.02566407434642315,
0.05148892477154732,
0.049599792808294296,
-0.01385699212551117,
0.0013063154183328152,
0.04638424515724182,
-0.021524058654904366,
0.0616178922355175,
0.0027583353221416473,
-0.005853298120200634,
-0.020549345761537552,
0.0020850803703069687,
0.015695882961153984,
-0.0074861920438706875,
-0.04268636927008629,
-0.03740081563591957,
0.0009552431292831898,
0.022307848557829857,
0.02447834052145481,
0.029562922194600105,
0.028899716213345528,
-0.007365609053522348,
-0.04252558946609497,
-0.016660545021295547,
0.06459227204322815,
0.016399282962083817,
-0.002417939715087414,
-0.009234645403921604,
-0.047268521040678024,
-0.013264126144349575,
0.01472117006778717,
-0.008139349520206451,
-0.0021817979868501425,
0.052654560655355453,
0.07709270715713501,
-0.00774745550006628,
-0.026488058269023895,
-0.05321728065609932,
-0.04630385711789131,
-0.027673790231347084,
-0.027693886309862137,
0.012590871192514896,
-0.01787642389535904,
-0.047027356922626495,
-0.0124099962413311,
0.11141865700483322,
0.07978572696447372,
0.010540960356593132,
-0.00351700303144753,
0.047027356922626495,
0.033682841807603836,
-0.011133827269077301,
0.012590871192514896,
0.000053069063142174855,
0.027090972289443016,
0.00804388802498579,
0.008566414937376976,
0.04228442534804344,
0.04746949300169945,
0.001054472872056067,
0.0692950114607811,
0.04204326122999191,
-0.011917616240680218,
-0.02411659248173237,
-0.019192788749933243,
0.011234312318265438,
0.042726561427116394,
-0.05727690830826759,
-0.00703400606289506,
-0.022870568558573723,
-0.005046899430453777,
0.014821656048297882,
0.016238505020737648,
-0.005431257653981447,
0.029321756213903427,
-0.09365276992321014,
-0.014701073057949543,
-0.006938544567674398,
0.013404806144535542,
0.034868571907281876,
0.004976559430360794,
0.013022960163652897,
-0.01994643174111843,
-0.029382048174738884,
-0.021021630614995956,
-0.036074403673410416,
-0.06563732773065567,
-0.06905384361743927,
-0.04300792142748833,
-0.028598258271813393,
0.02216716855764389,
0.055387772619724274,
-0.005461403168737888,
0.001758501515723765,
-0.05546816438436508,
-0.0007435949519276619,
0.035310711711645126,
-0.008496074937283993,
-0.04951940476894379,
-0.04525880515575409,
0.005137336440384388,
0.057638656347990036,
0.14076051115989685,
-0.0214034765958786,
0.005983929615467787,
0.027533110231161118,
-0.050524260848760605,
-0.0021390914916992188,
-0.043771613389253616,
0.004619834944605827,
-0.005205164663493633,
-0.047268521040678024,
0.0436108373105526,
0.023151928558945656,
-0.060974784195423126,
-0.025523394346237183,
0.011143875308334827,
0.015414522029459476,
-0.012188928201794624,
0.028357094153761864,
0.03189419209957123,
0.03370293974876404,
-0.05502602458000183,
0.007541459519416094,
-0.0029517703223973513,
-0.023413192480802536,
-0.012761697173118591,
0.01874060183763504,
-0.0111237782984972,
-0.0106916893273592,
-0.016188262030482292,
-0.07243016362190247,
0.02936195209622383,
0.01710268296301365,
0.02080056071281433,
0.006652160082012415,
-0.03241671994328499,
0.01720316894352436,
0.026287086308002472,
-0.02600572630763054,
-0.04140014946460724,
-0.007320390548557043,
0.0641501322388649,
-0.006360751111060381,
0.015977242961525917,
-0.047348909080028534,
0.03326079994440079,
0.03894829750061035,
-0.014620684087276459,
-0.004230452235788107,
-0.00430079223588109,
-0.017424238845705986,
-0.06302469223737717,
0.025201838463544846,
0.07066161930561066,
-0.01831856183707714,
0.00038153203786350787,
0.026226794347167015,
0.014821656048297882,
0.019142545759677887,
0.0075766295194625854,
0.058402348309755325,
-0.007787649519741535,
0.03756159171462059,
-0.028176218271255493,
-0.04053597152233124,
-0.03713955357670784,
0.009872729890048504,
0.021845612674951553,
0.02164464257657528,
0.01702229492366314,
-0.0787004828453064,
0.07857989519834518,
0.017002196982502937,
-0.03866693750023842,
0.018429096788167953,
-0.0684107318520546,
-0.03171331807971001,
0.03480828180909157,
0.030427100136876106,
0.022488722577691078,
-0.07709270715713501,
0.08882945030927658,
-0.023071540519595146,
-0.022106876596808434,
0.05727690830826759,
0.006988787557929754,
-0.025362616404891014,
0.03173341602087021,
-0.03575284779071808,
0.03267798200249672,
-0.011103681288659573,
-0.07134491950273514,
-0.0556289404630661,
0.03603420779109001,
-0.011606110259890556,
-0.017343848943710327,
-0.027352234348654747,
0.03818460553884506,
-0.014680976048111916,
0.015334133058786392,
-0.010174187831580639,
0.021785322576761246,
0.004956461954861879,
-0.01643947698175907,
-0.02771398425102234,
-0.0385061576962471,
-0.007380682043731213,
-0.03382351994514465,
-0.020921144634485245,
-0.04529900103807449,
0.04425394535064697,
0.030065352097153664,
-0.048474349081516266,
0.016379185020923615,
-0.011907567270100117,
-0.07508298754692078,
-0.03269807994365692,
0.03231623396277428,
-0.03088933601975441,
0.04951940476894379,
0.022026488557457924,
-0.01048066932708025,
0.009455714374780655,
0.024598924443125725,
0.03583323583006859,
-0.039410531520843506,
-0.050363484770059586,
0.02114221267402172,
0.04373142123222351,
0.009189426898956299,
-0.04939882084727287,
0.039490919560194016,
-0.011495575308799744,
0.012420045211911201,
-0.011395090259611607,
0.02713116630911827,
-0.010380183346569538,
0.05783962830901146,
-0.016730885952711105,
0.024759702384471893,
0.09099993854761124,
0.016107873991131783,
-0.04312850534915924,
-0.02668902836740017,
-0.0710635557770729,
-0.062421780079603195,
-0.023131832480430603,
-0.09164305031299591,
-0.025623880326747894,
0.020489055663347244,
-0.0384860634803772,
0.05084581673145294,
0.02293086051940918,
0.003027134807780385,
0.004604761954396963,
0.0077776010148227215,
-0.00752638652920723,
0.026387572288513184,
0.015565251000225544,
-0.013917283155024052,
0.031030016019940376,
-0.002155420370399952,
-0.005602083634585142,
-0.050685036927461624,
0.013083251193165779,
0.03669741377234459,
-0.040857527405023575,
0.053860388696193695,
0.04895668104290962,
-0.011535770259797573,
0.0022910763509571552,
-0.011133827269077301,
0.028558064252138138,
0.04811260104179382,
0.045379389077425,
0.09694869816303253,
0.012289413250982761,
0.014017769135534763,
-0.0019984114915132523,
-0.04300792142748833,
0.0115458182990551,
-0.0027533110696822405,
0.0214034765958786,
0.0222475565969944,
0.01091275829821825,
-0.04638424515724182,
-0.017836229875683784,
-0.03219565004110336,
-0.023975912481546402,
-0.09051761031150818,
0.003574782283976674,
-0.004351035226136446,
-0.01856977678835392,
-0.002372720977291465,
0.01099314633756876,
-0.05679457634687424,
-0.03969189152121544,
0.05414174869656563,
0.011837227270007133,
0.017585014924407005,
0.013927332125604153,
0.031532444059848785,
0.026588542386889458,
0.04654502496123314,
-0.027955150231719017,
-0.027693886309862137,
0.01642942801117897,
-0.05321728065609932,
-0.0014834216563031077,
0.042485397309064865,
-0.05084581673145294,
0.06206003203988075,
0.016821322962641716,
0.07251055538654327,
0.023935718461871147,
-0.05663379654288292,
-0.006199974101036787,
0.07725348323583603,
0.019735410809516907,
-0.004622346721589565,
-0.01484175305813551,
-0.01840899884700775,
-0.027995344251394272,
0.040013447403907776,
0.04594210907816887,
-0.012992814183235168,
-0.023754844442009926,
-0.04284714534878731,
0.0214034765958786,
0.06949598342180252,
-0.022528916597366333,
0.029703602194786072,
0.017152925953269005,
-0.009360252879559994,
-0.013143543154001236,
0.06386877596378326,
0.015404473058879375,
-0.045379389077425,
0.016831371933221817,
-0.053699612617492676,
0.024779798462986946,
-0.033843617886304855,
-0.028960008174180984,
-0.022448528558015823,
-0.04389219731092453,
-0.011083584278821945,
0.006431091111153364,
-0.010551009327173233,
-0.002451853593811393,
0.003371298545971513,
-0.06688334792852402,
0.06965675950050354,
0.05092620477080345,
-0.045580361038446426,
0.01661030389368534,
-0.029623214155435562,
0.01797690987586975,
0.018157783895730972,
-0.02216716855764389,
-0.018258269876241684,
0.037601787596940994,
-0.01078212633728981,
-0.025041062384843826,
-0.018710456788539886,
0.008762361481785774,
0.035632263869047165,
0.002635240089148283,
-0.026025822386145592,
-0.0007693443913012743,
-0.02542290836572647,
-0.022830374538898468,
-0.06017089635133743,
0.08489040285348892,
0.02208677865564823,
-0.001762269763275981,
-0.0334014818072319,
0.011917616240680218,
0.03868703544139862,
0.02061968669295311,
-0.011998004280030727,
-0.03287895396351814,
0.01266121119260788,
0.014118255116045475,
0.0607738122344017,
0.043771613389253616,
-0.03860664367675781,
-0.07556532323360443,
0.05337805673480034,
-0.00577290914952755,
-0.0312309879809618,
0.028115928173065186,
-0.020981434732675552,
0.009842583909630775,
-0.05526719242334366,
-0.05418194457888603,
-0.027854664251208305,
0.04184228926897049,
-0.027774276211857796,
0.037079259753227234,
-0.002254650229588151,
0.01983589679002762,
0.0213833786547184,
0.021503960713744164,
0.025724364444613457,
-0.055829912424087524,
0.00036080682184547186,
-0.0044364482164382935,
0.006521528586745262,
-0.01796686090528965,
0.053016308695077896,
-0.020599588751792908,
-0.013666069135069847,
-0.018117589876055717,
-0.06829015165567398,
-0.042324621230363846,
-0.05124776065349579,
0.027673790231347084,
-0.04654502496123314,
0.0024531097151339054,
0.04212364926934242,
0.01000838540494442,
-0.05185067281126976,
0.03141186013817787,
0.06290411204099655,
-0.021785322576761246,
-0.000053540090448223054,
0.010601252317428589,
-0.04152073338627815,
-0.03149225190281868,
0.011917616240680218,
0.016550011932849884,
-0.01419864408671856,
0.008536268956959248,
-0.024779798462986946,
0.00156632240395993,
0.0022697229869663715,
-0.026970388367772102,
-0.014339324086904526,
-0.030065352097153664,
0.01977560669183731,
0.01056105736643076,
-0.03609450161457062,
-0.014881947077810764,
-0.004072187002748251,
-0.007923305034637451,
-0.004552006721496582,
-0.026467960327863693,
-0.10418368130922318,
0.04859493300318718,
0.058241572231054306,
-0.0796249508857727,
0.017484528943896294,
-0.015082919038832188,
-0.02797524631023407,
-0.0218255165964365,
0.011013244278728962,
0.005230286158621311,
0.005381014663726091,
-0.029201174154877663,
-0.04055606946349144,
-0.04686657711863518,
-0.012811940163373947,
-0.013686166144907475,
0.031110404059290886,
-0.007280196528881788,
0.03428575396537781,
0.03388381376862526,
0.006149731110781431,
0.06953617185354233,
-0.0051951161585748196,
-0.034526921808719635,
0.0350896418094635,
-0.07255075126886368,
-0.02960311807692051,
-0.06025128811597824,
0.0070591275580227375,
-0.05639263242483139,
0.025804754346609116,
-0.009822486899793148,
0.06780781596899033,
0.022890666499733925,
-0.01406801212579012,
0.04224422946572304,
-0.020308179780840874,
0.011736741289496422,
-0.029462436214089394,
0.025784656405448914,
-0.09188421815633774,
-0.03390390798449516,
-0.02411659248173237,
-0.020489055663347244,
-0.02576456032693386,
0.002054934622719884,
-0.06141692027449608,
0.03303973004221916,
-0.02156425267457962,
-0.0556289404630661,
0.0007448510150425136,
0.011696547269821167,
-0.034185267984867096,
0.07982592284679413,
0.05928662419319153,
-0.0333612859249115,
-0.0334014818072319,
-0.023513678461313248,
-0.031693220138549805,
0.03953111544251442,
-0.06881267577409744,
-0.009767220355570316,
-0.018589872866868973,
0.020147403702139854,
0.027834566310048103,
0.0005850158049724996,
-0.07090277969837189,
0.05124776065349579,
0.0038033875171095133,
0.008134325966238976,
-0.005571937654167414,
-0.07263113558292389,
0.017836229875683784,
0.015344182029366493,
0.046745993196964264,
0.06262274831533432,
0.05072523280978203,
-0.011153924278914928,
-0.06354722380638123,
-0.03482837975025177,
-0.006923471577465534,
-0.01471112109720707,
0.010390232317149639,
-0.020549345761537552,
-0.033682841807603836,
-0.03139176592230797,
-0.030567780137062073,
-0.029904574155807495,
0.0316530279815197,
0.0881059542298317,
-0.07576629519462585,
0.016138019040226936,
0.036074403673410416,
0.029884478077292442,
0.0350494459271431,
-0.004833367187529802,
0.04113888740539551,
-0.016811273992061615,
-0.00543628167361021,
0.009907900355756283,
0.019212884828448296,
0.018117589876055717,
-0.0028462603222578764,
-0.005102166440337896,
0.003052256302908063,
0.034788183867931366,
0.06551674008369446,
-0.02686990424990654,
0.010671592317521572,
0.005305650178343058,
0.009847608394920826,
-0.042485397309064865,
0.018599921837449074,
0.04955959692597389,
0.02343328855931759,
0.040515873581171036,
-0.03876742348074913,
-0.02385532855987549,
-0.0011763118673115969,
-0.008058961480855942,
0.04425394535064697,
-0.06579810380935669,
-0.11913596838712692,
-0.019303321838378906,
0.04646463319659233,
-0.05912584438920021,
-0.004670077469199896,
0.007049079053103924,
0.032034873962402344,
0.04457550123333931,
-0.030165838077664375,
-0.017333799973130226,
0.021081920713186264,
-0.012088442221283913,
0.032637789845466614,
0.022950956597924232,
-0.06656179577112198,
0.01916264183819294,
-0.007415852043777704,
-0.059326816350221634,
0.041922677308321,
0.006677281577140093,
-0.052333004772663116,
-0.025965530425310135,
-0.035371001809835434,
-0.021162310615181923,
-0.004891146440058947,
0.011264458298683167,
0.024840090423822403,
0.0019682657439261675,
-0.012158782221376896,
0.025543490424752235
] |
52,153 |
pebble.pool.base_pool
|
__exit__
| null |
def __exit__(self, *args):
self.close()
self.join()
|
(self, *args)
|
[
0.03458524867892265,
-0.004402749240398407,
-0.019169343635439873,
0.061697136610746384,
-0.03538955748081207,
-0.04071809723973274,
-0.019990408793091774,
0.04845956340432167,
0.01561698317527771,
-0.015834815800189972,
-0.00927467830479145,
-0.03388148173689842,
0.03461876139044762,
0.024011949077248573,
-0.0350879430770874,
-0.00267055444419384,
-0.03867381438612938,
-0.0006498348666355014,
-0.0384727381169796,
0.03182043880224228,
-0.03386472165584564,
0.0360933281481266,
0.027882682159543037,
-0.06591975688934326,
0.0013122371165081859,
0.033496081829071045,
-0.03347932547330856,
-0.012366237118840218,
0.0067277024500072,
0.010908428579568863,
-0.07862111926078796,
-0.02034229226410389,
0.01092518586665392,
0.03639494255185127,
0.025871912017464638,
0.0119473272934556,
-0.04732012748718262,
-0.014410520903766155,
0.047588229179382324,
0.01730938069522381,
0.035624146461486816,
-0.06766241788864136,
0.019286638125777245,
-0.01330459676682949,
0.00852063950151205,
-0.009584671817719936,
0.009232787415385246,
-0.03971271216869354,
0.011729493737220764,
-0.05067141354084015,
0.01844881847500801,
0.038338687270879745,
0.040148381143808365,
-0.015449418686330318,
-0.01093356404453516,
0.09135600179433823,
-0.0018578680464997888,
0.022906025871634483,
0.003160679480060935,
-0.08458640426397324,
0.004633150063455105,
0.014159174636006355,
-0.01612805388867855,
0.032909609377384186,
-0.005504483822733164,
0.01168760284781456,
-0.007774978410452604,
0.03465227410197258,
0.039042457938194275,
0.010548165999352932,
-0.001879860763438046,
-0.0003403647569939494,
-0.042159151285886765,
0.04631474241614342,
0.01053140964359045,
-0.01535725872963667,
-0.06531652063131332,
-0.022537384182214737,
-0.0010451816488057375,
-0.01653020828962326,
0.0001619350805412978,
0.039746224880218506,
-0.052145976573228836,
0.04886171966791153,
0.06404303759336472,
-0.049934130162000656,
0.028754016384482384,
-0.031585849821567535,
-0.061294980347156525,
0.01630399562418461,
-0.016287239268422127,
0.07258880883455276,
0.01455294992774725,
0.0260897446423769,
0.065618135035038,
-0.048493076115846634,
-0.02721242420375347,
0.04701851308345795,
-0.03666304424405098,
-0.05030276998877525,
-0.014670245349407196,
-0.04604664072394371,
0.006886888295412064,
-0.03438417240977287,
0.02821780927479267,
0.009065222926437855,
-0.008076594211161137,
-0.025553539395332336,
-0.0731920376420021,
-0.026726488023996353,
-0.08170430362224579,
-0.05861395597457886,
-0.04919684678316116,
-0.0006880604778416455,
-0.05331892520189285,
-0.0008273482089862227,
-0.061898212879896164,
0.06032310798764229,
0.012776769697666168,
-0.029239952564239502,
0.003958703950047493,
0.06394249945878983,
-0.05147571861743927,
-0.039947304874658585,
0.008382398635149002,
0.07547090947628021,
-0.024698961526155472,
0.02136443555355072,
0.020694177597761154,
0.04443802312016487,
-0.025453001260757446,
0.04832551255822182,
-0.0334458127617836,
-0.013581077568233013,
0.017678022384643555,
0.0030831811018288136,
-0.0010870726546272635,
-0.0024003570433706045,
0.025218410417437553,
0.02416275627911091,
-0.015575091354548931,
0.0007938353810459375,
-0.0032947310246527195,
0.0015059831785038114,
-0.0066439202055335045,
0.033211223781108856,
0.00028355003450997174,
-0.029591836035251617,
-0.04624771699309349,
-0.04494071751832962,
0.00571393920108676,
0.0022327927872538567,
0.023844385519623756,
0.035322532057762146,
0.004199577495455742,
-0.012022730894386768,
-0.028184296563267708,
0.04091917723417282,
0.02681027166545391,
-0.05144220590591431,
0.01280190423130989,
0.016505073755979538,
-0.04480666667222977,
-0.001036279834806919,
-0.026140013709664345,
0.007594847120344639,
-0.0005791437579318881,
0.06364087760448456,
0.01853260025382042,
0.00033251018612645566,
-0.06558462232351303,
-0.017879098653793335,
0.007506875786930323,
-0.009081979282200336,
-0.12480181455612183,
0.05700533837080002,
-0.018716920167207718,
-0.0002775281900539994,
0.004352479707449675,
0.0066439202055335045,
-0.021515242755413055,
-0.11380960047245026,
-0.03921002149581909,
0.014134040102362633,
0.029491297900676727,
-0.033010147511959076,
-0.013480539433658123,
0.013338109478354454,
-0.011151396669447422,
-0.01752721518278122,
-0.02267143502831459,
-0.028184296563267708,
-0.034518223255872726,
0.03012804128229618,
0.041354842483997345,
-0.011143018491566181,
-0.018096933141350746,
0.005005980376154184,
0.030965862795710564,
0.0116959810256958,
-0.02154875546693802,
0.033395543694496155,
-0.016597233712673187,
-0.0839831754565239,
0.06266900897026062,
0.013924584724009037,
0.03696466237306595,
-0.040148381143808365,
-0.04038297012448311,
0.014996995218098164,
0.019286638125777245,
0.014435655437409878,
-0.02255414053797722,
0.05301731079816818,
0.08921117335557938,
-0.03133450448513031,
-0.002008675830438733,
-0.033110685646533966,
0.011545172892510891,
0.054860517382621765,
-0.018917998299002647,
-0.01813044585287571,
0.010464384220540524,
0.04101971536874771,
-0.06461275368928909,
-0.0045242332853376865,
0.016965875402092934,
0.03867381438612938,
0.06833267956972122,
-0.022604409605264664,
-0.02850266918540001,
0.020576883107423782,
0.007837815210223198,
-0.06923752278089523,
-0.040483508259058,
0.0142094437032938,
-0.025017334148287773,
0.044873692095279694,
-0.07707952708005905,
0.01486294437199831,
0.0025972449220716953,
-0.017108304426074028,
-0.002762714633718133,
-0.04845956340432167,
0.0626019835472107,
0.021833613514900208,
0.06612083315849304,
0.023140614852309227,
0.07453255355358124,
-0.004624771885573864,
0.015323745086789131,
-0.0257713720202446,
0.03135126084089279,
-0.03438417240977287,
-0.015985624864697456,
-0.05945177748799324,
0.006107714958488941,
-0.0839831754565239,
0.02952481061220169,
0.021414704620838165,
0.06075877696275711,
0.022537384182214737,
0.010740865021944046,
0.03485335037112236,
0.025972450152039528,
0.0035481718368828297,
0.035121455788612366,
-0.06823214143514633,
0.010254928842186928,
-0.016379399225115776,
0.07030993700027466,
-0.02670973166823387,
-0.04986710473895073,
-0.019487716257572174,
-0.05040330812335014,
0.03740032762289047,
-0.015767790377140045,
-0.04685094952583313,
-0.08653014898300171,
-0.004448829218745232,
0.10523031651973724,
0.07888922095298767,
-0.0016243254067376256,
-0.007980245165526867,
-0.017879098653793335,
-0.02518489770591259,
-0.015943732112646103,
0.014159174636006355,
-0.0038937728386372328,
-0.015332123264670372,
-0.03907597064971924,
0.007783356588333845,
-0.005584076512604952,
0.05764208361506462,
0.04259481653571129,
-0.017058035358786583,
-0.03435065969824791,
-0.019102318212389946,
0.013095141388475895,
-0.005856368690729141,
0.019487716257572174,
-0.07064506411552429,
-0.030161553993821144,
0.03222259506583214,
-0.050034668296575546,
0.013187302276492119,
0.03435065969824791,
0.0036696558818221092,
-0.0023375204764306545,
0.06266900897026062,
0.02185037173330784,
0.032892849296331406,
-0.018214227631688118,
-0.0032444617245346308,
0.013924584724009037,
0.02045958861708641,
-0.002123876241967082,
-0.001983541063964367,
-0.033395543694496155,
0.016471561044454575,
-0.04584556445479393,
-0.05841287598013878,
0.06307116150856018,
0.024196268990635872,
0.02530219405889511,
-0.008277671411633492,
-0.0025595431216061115,
0.059384748339653015,
0.006656487472355366,
-0.027648091316223145,
-0.03659601882100105,
-0.013480539433658123,
0.007473363075405359,
-0.047722283750772476,
-0.036629531532526016,
0.03599279001355171,
-0.008629555813968182,
-0.03572468459606171,
0.03538955748081207,
-0.0668916255235672,
-0.03830517455935478,
-0.04282940924167633,
-0.012424885295331478,
-0.014259712770581245,
-0.06659001111984253,
0.04122079163789749,
-0.005475160200148821,
-0.015424284152686596,
0.05623454228043556,
-0.02247035875916481,
0.015474553219974041,
0.05429079756140709,
0.005542185623198748,
0.041455380618572235,
-0.0048719290643930435,
-0.006413519382476807,
0.015591848641633987,
0.03719925135374069,
0.0132040586322546,
-0.01591859757900238,
0.01662236824631691,
-0.020308779552578926,
-0.012718122452497482,
0.006568516604602337,
0.006543381605297327,
-0.04490720480680466,
-0.04031594470143318,
0.0495319738984108,
-0.031686387956142426,
0.021230382844805717,
-0.00951764639467001,
-0.03130099177360535,
0.017259111627936363,
0.0411202535033226,
-0.007314177230000496,
-0.007314177230000496,
0.02530219405889511,
0.025670833885669708,
0.027044860646128654,
0.0015813871286809444,
-0.03327824920415878,
-0.03555712103843689,
-0.009534402750432491,
-0.03388148173689842,
-0.06025608256459236,
-0.04252779111266136,
0.0032737853471189737,
-0.015038886107504368,
0.006107714958488941,
0.034920379519462585,
0.033395543694496155,
-0.018566112965345383,
0.02811727114021778,
-0.02711188606917858,
-0.004266603384166956,
0.0467839241027832,
0.022989807650446892,
-0.018683407455682755,
0.031585849821567535,
0.008906036615371704,
-0.03599279001355171,
0.06511544436216354,
-0.07547090947628021,
0.0017887477297335863,
0.04282940924167633,
-0.01734289340674877,
0.030563708394765854,
-0.061194442212581635,
0.07842004299163818,
0.004783957730978727,
-0.04966602846980095,
-0.037232764065265656,
-0.03393175080418587,
-0.05211246386170387,
0.033914994448423386,
-0.0022935348097234964,
0.0849885568022728,
0.014016744680702686,
0.1073751375079155,
0.054860517382621765,
0.018599625676870346,
0.022939538583159447,
0.044572073966264725,
0.004015257116407156,
-0.059786904603242874,
-0.08518963307142258,
-0.03585873916745186,
-0.007113100029528141,
0.01556671317666769,
-0.036629531532526016,
-0.09061871469020844,
-0.03418309614062309,
0.002046377630904317,
0.04788984730839729,
0.00020016066264361143,
0.04279589653015137,
-0.040148381143808365,
-0.006824051961302757,
0.042862921953201294,
0.03740032762289047,
0.03155233711004257,
0.0027585255447775126,
-0.001071363571099937,
-0.037835996598005295,
0.0007341406308114529,
-0.05449187383055687,
0.061797674745321274,
-0.013388379476964474,
-0.012718122452497482,
0.021716319024562836,
-0.021833613514900208,
0.013187302276492119,
-0.021833613514900208,
-0.008755229413509369,
-0.009065222926437855,
-0.022889269515872,
-0.005014358554035425,
0.00405924255028367,
0.012600827030837536,
0.013497295789420605,
-0.005487727466970682,
0.056066978722810745,
0.046180691570043564,
-0.011235179379582405,
-0.04058404639363289,
-0.008298616856336594,
0.005148409865796566,
-0.03242367133498192,
0.0024422481656074524,
0.009182517416775227,
-0.016748040914535522,
0.04370074346661568,
-0.03518848121166229,
-0.022738460451364517,
0.0098695307970047,
-0.021481730043888092,
-0.013388379476964474,
0.02769836038351059,
0.03316095471382141,
-0.022118473425507545,
-0.004675040952861309,
-0.05080546438694,
0.04530935734510422,
0.016789931803941727,
-0.08579286932945251,
-0.0024862338323146105,
0.09745533764362335,
-0.06591975688934326,
-0.0045242332853376865,
0.013815667480230331,
0.006384195759892464,
0.011645711027085781,
0.019068805500864983,
-0.009081979282200336,
0.029357247054576874,
0.011159774847328663,
-0.0538216196000576,
-0.05593292787671089,
-0.016086162999272346,
-0.12460073083639145,
0.023107102140784264,
0.008964684791862965,
-0.04420343413949013,
-0.011846788227558136,
-0.0023354259319603443,
0.0004073904419783503,
0.007067020051181316,
-0.01764450967311859,
-0.0017060129903256893,
-0.010816268622875214,
-0.0411202535033226,
-0.014913213439285755,
-0.0016672636847943068,
-0.006907833740115166,
0.05207895115017891,
-0.007259718608111143,
-0.05904962122440338,
-0.01983959972858429,
0.014678623527288437,
0.03629440441727638,
0.0364619679749012,
0.05207895115017891,
0.03850625082850456,
-0.020509857684373856,
-0.012718122452497482,
-0.03294312208890915,
0.046817436814308167,
0.03659601882100105,
0.015231585130095482,
0.08130214363336563,
0.026240551844239235,
-0.008973062969744205,
-0.014594840817153454,
-0.03729978948831558,
0.008529017679393291,
-0.004595447797328234,
-0.04856010153889656,
-0.025017334148287773,
0.014284847304224968,
-0.009040088392794132,
-0.012156782671809196,
0.0062250099144876,
0.0626019835472107,
-0.029591836035251617,
-0.019068805500864983,
-0.014410520903766155,
-0.013748642057180405,
0.029256708920001984,
0.0572064146399498,
0.01843206211924553,
0.030178310349583626,
0.00531178480014205,
0.07989460974931717,
0.024213025346398354,
-0.010564922355115414,
0.024196268990635872,
0.023241152986884117,
-0.006036499980837107,
0.007615792565047741,
0.0022642111871391535,
0.00190080632455647,
0.07198558002710342,
0.013497295789420605,
0.007142423652112484,
0.024246538057923317,
-0.004402749240398407,
0.03153558075428009,
0.04068458452820778,
0.0471525639295578,
-0.03515496850013733,
-0.015131046995520592,
-0.0040403916500508785,
0.0370987132191658,
-0.031384773552417755,
0.017066413536667824,
-0.006304602604359388,
0.02004067786037922,
0.009383594617247581,
0.006983237806707621,
-0.03314419835805893,
-0.0238946545869112,
0.017058035358786583,
-0.02126389555633068,
-0.0641435757279396,
-0.02952481061220169,
0.03927704691886902,
0.020694177597761154,
0.004025729838758707,
0.0006802058778703213,
0.03907597064971924,
0.02327466569840908,
0.0475212037563324,
-0.0031543958466500044,
-0.07144936919212341,
0.040483508259058,
0.015482931397855282,
0.030647490173578262,
0.010497896932065487,
0.009232787415385246,
0.002752241911366582,
-0.011721115559339523,
0.0013111898442730308,
-0.024933552369475365,
0.031988006085157394,
-0.030647490173578262,
0.04068458452820778,
-0.029390759766101837,
0.009107113815844059,
-0.03217232599854469,
0.05559780076146126,
-0.04008135572075844,
-0.03867381438612938,
0.01714181713759899,
-0.004015257116407156,
-0.021381191909313202,
0.015281854197382927,
-0.06280305981636047,
-0.0005456309299916029,
0.012215429916977882,
0.06659001111984253,
-0.004763012286275625,
-0.028988605365157127,
0.006669054739177227,
0.024816257879137993,
0.0035460772924125195,
0.026860540732741356,
-0.0073393117636442184,
0.038037072867155075,
-0.018298009410500526,
0.007774978410452604,
-0.03471929952502251,
0.009727101773023605,
0.053452976047992706,
-0.019085561856627464,
0.03750086575746536,
0.033780939877033234,
0.02195090986788273,
0.005483538378030062,
0.006375817582011223,
-0.029776157811284065,
0.02449788525700569,
-0.030262093991041183,
0.015164559707045555,
-0.052749209105968475,
-0.03247394040226936,
-0.06511544436216354,
0.03324473649263382,
-0.02345898747444153,
0.02982642687857151,
-0.08833984285593033,
0.014921591617166996,
0.058278825134038925,
-0.0014630449004471302,
-0.04081863909959793,
0.013723507523536682,
-0.08820579200983047,
0.025654077529907227,
-0.00016023326315917075,
-0.019973652437329292,
0.08076594024896622,
-0.002792038256302476,
-0.0012347386218607426,
-0.024816257879137993,
-0.025419488549232483,
0.04574502632021904,
0.004065526183694601,
-0.012307589873671532,
0.02366006374359131,
-0.005634346045553684,
-0.0017604712629690766,
-0.01344702672213316,
-0.0030601411126554012,
-0.011863544583320618,
-0.006748647894710302,
-0.046080153435468674,
0.015549956820905209,
0.005755830090492964,
-0.03786950930953026,
-0.030949106439948082,
0.009073601104319096,
0.024631936103105545,
0.001251495094038546,
-0.020828228443861008,
-0.04463909938931465,
0.09195923060178757,
0.08438532799482346,
-0.02568759024143219,
0.021330920979380608,
-0.004578691441565752,
-0.03242367133498192,
0.004758823197335005,
-0.007322555407881737,
-0.018314765766263008,
-0.0334458127617836,
-0.09108789265155792,
0.017376406118273735,
-0.020677421241998672,
-0.049733053892850876,
-0.026458386331796646,
-0.03636142984032631,
0.02186712808907032,
-0.01254217978566885,
0.051643285900354385,
-0.01925312541425228,
0.019403934478759766,
0.010724108666181564,
0.00430639972910285,
0.01354756485670805,
0.02560380846261978,
0.0002444080892018974,
0.0039901225827634335,
0.03629440441727638,
0.01510591246187687,
0.05754154548048973,
0.053251899778842926,
-0.00684918649494648,
-0.06163011118769646,
-0.010347088798880577,
0.030429657548666,
0.007004183251410723,
-0.014335116371512413,
0.030865324661135674,
0.027162155136466026,
-0.06035662069916725,
-0.018884483724832535,
-0.03981325402855873,
-0.07533685863018036,
0.024866526946425438,
0.020677421241998672,
0.050939515233039856,
-0.08157025277614594,
-0.07935839891433716,
-0.04805741086602211,
0.09189220517873764,
-0.05140869319438934,
-0.03448471054434776,
0.04567800089716911,
0.016672637313604355,
0.020995793864130974,
0.0037576269824057817,
-0.039947304874658585,
-0.03383120894432068,
0.046482305973768234,
0.005860557779669762,
0.07312501221895218,
0.0058982595801353455,
-0.039947304874658585,
0.06464626640081406,
-0.009609806351363659,
-0.015776168555021286,
0.07580604404211044,
0.005445836111903191,
0.07064506411552429,
0.030429657548666,
0.03448471054434776,
0.004111606162041426,
-0.0027773764450103045,
0.001271393266506493,
-0.024095730856060982,
0.0260897446423769,
0.007364446297287941,
0.021096331998705864,
0.002224414609372616,
-0.0005445835995487869,
0.045476920902729034,
0.005889881402254105,
0.0471525639295578,
0.023509256541728973
] |
52,154 |
pebble.pool.process
|
__init__
| null |
def __init__(self, max_workers: int = multiprocessing.cpu_count(),
max_tasks: int = 0,
initializer: Callable = None,
initargs: list = (),
context: multiprocessing.context.BaseContext = None):
super().__init__(max_workers, max_tasks, initializer, initargs)
mp_context = multiprocessing if context is None else context
self._pool_manager = PoolManager(self._context, mp_context)
self._task_scheduler_loop = None
self._pool_manager_loop = None
self._message_manager_loop = None
|
(self, max_workers: int = 60, max_tasks: int = 0, initializer: Optional[Callable] = None, initargs: list = (), context: Optional[multiprocessing.context.BaseContext] = None)
|
[
0.0413091741502285,
-0.015699034556746483,
-0.004084459040313959,
-0.002501973183825612,
-0.028804147616028786,
0.03263695910573006,
-0.02617151103913784,
-0.01454725582152605,
-0.05075569450855255,
-0.029984962195158005,
0.008570589125156403,
0.036431051790714264,
-0.00767529895529151,
0.003191588679328561,
0.02524234540760517,
0.04274163767695427,
0.023964742198586464,
-0.03281117603182793,
0.005337865557521582,
-0.014595650136470795,
0.01738314889371395,
0.030817341059446335,
0.022474203258752823,
0.011856545694172382,
-0.0063347830437123775,
0.034088779240846634,
-0.02742975577712059,
-0.008246349170804024,
0.027139391750097275,
-0.003259340301156044,
-0.009427163749933243,
0.06616436690092087,
-0.03544381260871887,
0.06779040396213531,
0.07065533846616745,
-0.021448248997330666,
0.013453550636768341,
0.10708639025688171,
-0.08308292925357819,
0.010607979260385036,
0.039354052394628525,
-0.08579299598932266,
0.02599729225039482,
0.015563531778752804,
-0.005424974951893091,
0.0027657209429889917,
0.02992689050734043,
-0.010675731115043163,
0.04390309751033783,
-0.026229582726955414,
-0.03763122484087944,
-0.06895186752080917,
-0.01571839302778244,
0.019260838627815247,
-0.06043450906872749,
0.1365099847316742,
0.03836681693792343,
0.04614857956767082,
-0.022958144545555115,
-0.03279181942343712,
-0.03497923165559769,
-0.017296038568019867,
0.03761186823248863,
-0.009775601327419281,
-0.0007597868097946048,
-0.04053486883640289,
-0.05729857459664345,
0.029481664299964905,
0.01922212354838848,
0.041193027049303055,
0.06829370558261871,
0.004841826390475035,
-0.013869739137589931,
-0.0007688607438467443,
0.02853314019739628,
0.04359337314963341,
-0.026287656277418137,
-0.03234659507870674,
-0.03103027492761612,
0.00028280282276682556,
-0.030139824375510216,
0.003755379468202591,
-0.039760563522577286,
0.019715743139386177,
0.05846003070473671,
-0.0433223657310009,
0.03337254747748375,
-0.01401492115110159,
-0.05261402949690819,
-0.02659737877547741,
-0.05091055855154991,
0.057143714278936386,
0.03327576071023941,
0.008086648769676685,
-0.02702324651181698,
-0.04204476252198219,
-0.026945816352963448,
0.019841566681861877,
-0.002005934016779065,
0.0034746939782053232,
-0.022551635280251503,
-0.06527391821146011,
0.023190436884760857,
-0.04738746955990791,
0.023480800911784172,
-0.01576678641140461,
-0.009654616005718708,
-0.0513751395046711,
-0.029907532036304474,
-0.02967524155974388,
-0.01141132041811943,
0.06070551648736,
-0.04065101593732834,
0.040186431258916855,
-0.06782912462949753,
0.0523817352950573,
-0.031010916456580162,
0.012485668994486332,
0.05032982677221298,
-0.018951116129755974,
-0.06237027049064636,
0.04421281814575195,
-0.008962580934166908,
-0.012766354717314243,
-0.001228604349307716,
0.019328590482473373,
-0.008251188322901726,
-0.0127179604023695,
0.01573774963617325,
-0.03538573905825615,
0.058498747646808624,
-0.020848164334893227,
0.0006436410476453602,
0.005047501064836979,
-0.007438167929649353,
-0.010191789828240871,
-0.039760563522577286,
0.03565674647688866,
-0.029559094458818436,
-0.013753593899309635,
-0.0007301454897969961,
0.01011435966938734,
-0.015079590491950512,
0.018225204199552536,
0.015621604397892952,
0.047542329877614975,
0.025977933779358864,
0.020925594493746758,
-0.005347544327378273,
-0.012001728639006615,
0.022358058020472527,
-0.005468529183417559,
0.045606568455696106,
0.030817341059446335,
-0.008769004605710506,
0.04359337314963341,
0.04196733236312866,
0.0016042633214965463,
0.035405099391937256,
-0.03346933424472809,
-0.024874549359083176,
0.06326071918010712,
-0.03470822423696518,
-0.042780354619026184,
-0.03203687071800232,
-0.023287223652005196,
0.030817341059446335,
-0.041193027049303055,
0.01936730556190014,
0.06415117532014847,
-0.004619213752448559,
-0.06244770064949989,
0.0010156704811379313,
-0.004810370039194822,
0.019677026197314262,
0.04909094050526619,
0.020035143941640854,
-0.024700330570340157,
-0.006809045094996691,
0.05513051897287369,
0.00566694512963295,
-0.006770329549908638,
-0.007951145060360432,
-0.04467740282416344,
-0.004360305145382881,
0.04425153508782387,
0.02868800237774849,
0.039760563522577286,
0.009940140880644321,
-0.00775756873190403,
-0.01868978887796402,
-0.0036198762245476246,
0.00008582384907640517,
-0.0204029381275177,
0.0038570070173591375,
0.010511190630495548,
0.011275817640125751,
-0.013579375110566616,
-0.025203628465533257,
0.0204029381275177,
-0.005608872044831514,
0.07208780199289322,
0.02400345727801323,
-0.040186431258916855,
0.026481233537197113,
-0.019938355311751366,
-0.05284631997346878,
0.025397205725312233,
-0.022725854068994522,
0.018176810815930367,
0.023480800911784172,
-0.03745700791478157,
-0.0021970905363559723,
0.1095641627907753,
0.047619760036468506,
0.017799336463212967,
0.02861057221889496,
0.03420492634177208,
0.03823131322860718,
0.0280879158526659,
0.06376402080059052,
0.012185625731945038,
0.015186057426035404,
-0.005545959807932377,
0.0002207979268860072,
0.041270460933446884,
0.02199026383459568,
-0.03405006602406502,
0.008807719685137272,
0.0167540255934,
-0.006973584648221731,
-0.014344001188874245,
-0.04626472666859627,
0.009267463348805904,
0.006063776556402445,
-0.04490969330072403,
0.018515570089221,
-0.01782837323844433,
-0.08416695892810822,
-0.0023979260586202145,
0.04773590713739395,
0.02274521067738533,
0.024061528965830803,
-0.09314889460802078,
-0.0012425176100805402,
0.024061528965830803,
0.008130203001201153,
0.03770865499973297,
0.007704335264861584,
0.03478565439581871,
-0.0052894712425768375,
-0.045529138296842575,
-0.028823506087064743,
-0.033740341663360596,
-0.07650133967399597,
-0.020693302154541016,
-0.03387584537267685,
-0.01560224685817957,
-0.003010110929608345,
0.017915483564138412,
-0.00361745641566813,
0.00637349858880043,
-0.04173504188656807,
0.09686556458473206,
0.013889096677303314,
0.01798323541879654,
-0.04150275141000748,
-0.03991542384028435,
-0.021099813282489777,
0.024545470252633095,
0.14719538390636444,
-0.0113338902592659,
0.043864380568265915,
0.027720121666789055,
-0.034166209399700165,
-0.03470822423696518,
-0.08525098860263824,
-0.022145124152302742,
-0.05025239661335945,
-0.0198996402323246,
0.07367512583732605,
0.005178165156394243,
-0.013201900757849216,
-0.02775883674621582,
-0.004723260644823313,
0.0030536656267941,
0.016957281157374382,
-0.0060347397811710835,
-0.02861057221889496,
-0.0204029381275177,
-0.039354052394628525,
0.04014771804213524,
-0.0016599164810031652,
0.04223833978176117,
0.04200604930520058,
-0.04351594299077988,
-0.01682177744805813,
0.02468097396194935,
-0.0020035142078995705,
-0.029578452929854393,
0.020886879414319992,
-0.022629065439105034,
-0.02191283367574215,
0.010840270668268204,
0.02048036828637123,
-0.02901708148419857,
0.02259035035967827,
0.010569264180958271,
-0.010666051879525185,
0.026481233537197113,
0.09028396755456924,
0.00852703396230936,
0.023190436884760857,
-0.03422428295016289,
0.020538441836833954,
0.03292732313275337,
0.02851378358900547,
-0.036411695182323456,
-0.010240184143185616,
0.008812559768557549,
-0.03763122484087944,
-0.006286389194428921,
-0.0010428921086713672,
-0.02017064578831196,
-0.030894771218299866,
0.05722114443778992,
0.012776033021509647,
0.014566613361239433,
-0.007360737305134535,
0.05454979091882706,
-0.0372827872633934,
0.012737317942082882,
-0.015476422384381294,
-0.06659023463726044,
-0.032656315714120865,
-0.015069912187755108,
0.01187590416520834,
0.01840910315513611,
0.019841566681861877,
-0.05544024333357811,
0.0380377359688282,
0.022532276809215546,
-0.049555521458387375,
0.05644683912396431,
-0.07266853004693985,
-0.03362419828772545,
0.03470822423696518,
-0.044290248304605484,
0.008401209488511086,
-0.10546034574508667,
0.00375295989215374,
0.009901425801217556,
-0.06844856590032578,
0.0423157699406147,
-0.013724557124078274,
-0.016415266320109367,
-0.014285928569734097,
-0.013356762006878853,
0.031572289764881134,
-0.009049690328538418,
-0.06713224947452545,
0.001456661382690072,
0.010259541682898998,
0.021099813282489777,
0.000956992618739605,
-0.023384012281894684,
0.04525813087821007,
-0.021370818838477135,
0.01455693505704403,
-0.06527391821146011,
-0.00278991786763072,
-0.031746506690979004,
-0.0032641796860843897,
0.04924580082297325,
-0.02032550796866417,
0.0031456141732633114,
-0.07483658194541931,
-0.0075010801665484905,
-0.001082212314940989,
0.022183839231729507,
0.00035418407060205936,
-0.03455336391925812,
0.06310585886240005,
-0.050794411450624466,
-0.052652742713689804,
-0.029404234141111374,
-0.001102779759094119,
0.023635661229491234,
0.07007461041212082,
0.02826213464140892,
0.03052697703242302,
-0.01254374161362648,
-0.010820913128554821,
-0.020519083365797997,
0.007041336502879858,
-0.00036265302333049476,
0.04622600972652435,
0.01333740446716547,
-0.0032109462190419436,
-0.03238530829548836,
0.0350179448723793,
0.019531844183802605,
0.04525813087821007,
0.008831917308270931,
0.03503730520606041,
0.01099513191729784,
0.06194440275430679,
-0.01934794709086418,
0.0428190678358078,
0.060163501650094986,
0.009083566255867481,
-0.021719256415963173,
-0.02802984230220318,
-0.04866507276892662,
-0.07386869937181473,
-0.07344283163547516,
-0.056911420077085495,
-0.027487829327583313,
0.0488586500287056,
-0.03455336391925812,
0.01868978887796402,
0.057647012174129486,
0.028397638350725174,
-0.04374823346734047,
0.025552066043019295,
-0.015834538266062737,
-0.017460579052567482,
-0.001987786265090108,
0.015776464715600014,
-0.02833956480026245,
-0.061750829219818115,
0.06364787369966507,
-0.011914619244635105,
0.008938384242355824,
0.01722828671336174,
-0.004101397003978491,
0.025532709434628487,
0.04150275141000748,
0.001158432918600738,
-0.000981794553808868,
0.008396370336413383,
-0.010211148299276829,
0.04440639540553093,
-0.0006236784975044429,
0.009538470767438412,
0.007796283811330795,
0.003859426826238632,
0.017160534858703613,
-0.046032436192035675,
0.0025818233843892813,
-0.0002573959354776889,
0.0027584617491811514,
0.012959931045770645,
-0.004851505160331726,
0.00042828748701140285,
-0.014111709780991077,
-0.008977099321782589,
0.026578020304441452,
-0.046535734087228775,
-0.0249326229095459,
-0.03856039047241211,
-0.040689729154109955,
0.007810802198946476,
-0.02208705246448517,
-0.061324961483478546,
-0.004418378230184317,
0.0591956228017807,
0.018118737265467644,
0.019783493131399155,
-0.005613711662590504,
0.009228748269379139,
0.0576857253909111,
0.021545037627220154,
-0.057182427495718,
-0.027623333036899567,
0.014905372634530067,
-0.04707774519920349,
-0.03639233857393265,
0.07468172162771225,
-0.043283652514219284,
0.061015237122774124,
0.04413538798689842,
0.09624611586332321,
-0.008933544158935547,
-0.07913397252559662,
-0.030720552429556847,
0.030546333640813828,
-0.03947019949555397,
0.03865718096494675,
0.00011251620162511244,
-0.03544381260871887,
0.05451107397675514,
0.02624894119799137,
0.01991899684071541,
0.020615871995687485,
0.0000065643903326417785,
-0.0016550770960748196,
0.00870125275105238,
0.07746922224760056,
0.029036439955234528,
0.013627768494188786,
0.014344001188874245,
0.025068126618862152,
-0.022106409072875977,
0.023887310177087784,
-0.003907820675522089,
-0.0904388278722763,
0.002178942784667015,
-0.044599972665309906,
0.02969459816813469,
-0.006029900629073381,
-0.04150275141000748,
-0.03710857033729553,
-0.01999642699956894,
0.002860089298337698,
-0.018399422988295555,
-0.049787815660238266,
-0.005381420254707336,
0.01788644678890705,
-0.03143678605556488,
0.05729857459664345,
0.0854058489203453,
-0.027971770614385605,
-0.02123531512916088,
0.008580267429351807,
-0.009736886247992516,
0.022145124152302742,
-0.023132363334298134,
0.023364655673503876,
0.059002045542001724,
0.0045151663944125175,
-0.058653607964515686,
-0.0503685437142849,
0.02125467360019684,
-0.010327293537557125,
0.023558231070637703,
-0.0355212427675724,
-0.010046607814729214,
0.011624254286289215,
-0.03737957775592804,
-0.032230447977781296,
0.04309007525444031,
0.07452686131000519,
-0.02700388804078102,
-0.03732150420546532,
-0.017208930104970932,
0.007704335264861584,
0.06252513080835342,
0.009098084643483162,
-0.002651994815096259,
0.04622600972652435,
-0.01788644678890705,
-0.020344864577054977,
0.030236613005399704,
-0.03546317294239998,
-0.07746922224760056,
0.042780354619026184,
-0.0064267320558428764,
0.004140112083405256,
0.04123174399137497,
-0.0025915021542459726,
0.06453832238912582,
-0.07050047814846039,
-0.007951145060360432,
-0.018525248393416405,
0.005081376992166042,
-0.011091919615864754,
0.02384859509766102,
-0.02307428978383541,
0.03790223225951195,
0.008439925499260426,
-0.012030764482915401,
0.002425752580165863,
-0.026152152568101883,
-0.014992481097579002,
0.03267567232251167,
-0.0059331124648451805,
0.012592135928571224,
0.026384444907307625,
-0.02032550796866417,
-0.0177606213837862,
-0.005381420254707336,
-0.03555995970964432,
-0.058498747646808624,
-0.01922212354838848,
0.009654616005718708,
-0.044290248304605484,
-0.041851188987493515,
0.027487829327583313,
-0.000568025337997824,
-0.026074722409248352,
0.029501022771000862,
0.02901708148419857,
-0.0035230880603194237,
-0.022435488179326057,
0.015379633754491806,
-0.05822774022817612,
0.002425752580165863,
0.03786351531744003,
-0.002666512969881296,
-0.04866507276892662,
0.05176229402422905,
-0.04038000851869583,
0.017450900748372078,
0.023732449859380722,
-0.06360916048288345,
-0.031165778636932373,
0.011217744089663029,
-0.04456125572323799,
0.028126630932092667,
-0.037089213728904724,
-0.04413538798689842,
0.05559510365128517,
0.004928935784846544,
0.002533429302275181,
-0.032559528946876526,
-0.08416695892810822,
0.06844856590032578,
0.06136367470026016,
-0.049207087606191635,
-0.014827941544353962,
-0.005023303907364607,
0.00261327950283885,
-0.00679452670738101,
-0.021467607468366623,
-0.0025890825781971216,
0.013860060833394527,
-0.08958709239959717,
-0.04831663519144058,
0.006659023463726044,
0.0008777473703958094,
-0.024855192750692368,
0.012669566087424755,
-0.03648912534117699,
0.053465764969587326,
-0.001195333432406187,
0.01642494648694992,
0.08377980440855026,
0.036740776151418686,
-0.03284989297389984,
-0.005371741484850645,
-0.017170215025544167,
0.024777760729193687,
-0.06744197010993958,
-0.011072562076151371,
-0.044870976358652115,
0.01629912108182907,
0.034592077136039734,
0.058653607964515686,
0.04247063025832176,
-0.03194008395075798,
-0.010462797246873379,
-0.02233870141208172,
0.03103027492761612,
-0.07797251641750336,
0.0036513323429971933,
-0.041851188987493515,
-0.028571857139468193,
0.02826213464140892,
-0.03869589418172836,
-0.040263861417770386,
0.01566999778151512,
-0.03217237442731857,
0.06868086010217667,
-0.013066397979855537,
-0.07340411841869354,
-0.03329511731863022,
-0.024274462834000587,
-0.01788644678890705,
0.039179835468530655,
0.04274163767695427,
-0.007651101797819138,
0.01141132041811943,
-0.008372173644602299,
-0.031088348478078842,
0.02518427185714245,
-0.05729857459664345,
-0.028591213747859,
0.018244562670588493,
0.03598582744598389,
0.04789076745510101,
-0.0068235634826123714,
-0.046458303928375244,
0.018622037023305893,
-0.0018329252488911152,
0.00852703396230936,
-0.05470465123653412,
0.005449171643704176,
0.031398069113492966,
0.0025963415391743183,
0.04591628909111023,
0.07797251641750336,
0.037340860813856125,
-0.006673541851341724,
-0.07050047814846039,
0.007210715673863888,
-0.06988102942705154,
-0.0649641901254654,
0.030062394216656685,
-0.01404395792633295,
-0.028300849720835686,
-0.020519083365797997,
-0.03761186823248863,
-0.029075155034661293,
-0.014789226464927197,
0.04649701714515686,
-0.05846003070473671,
0.009107762947678566,
0.012321129441261292,
0.002141437493264675,
0.0513751395046711,
0.004082039464265108,
0.054820798337459564,
-0.012311450205743313,
-0.017334753647446632,
0.019802851602435112,
0.03956698626279831,
0.03093348629772663,
-0.0319787971675396,
-0.016434624791145325,
0.01909629814326763,
0.002425752580165863,
0.04448382556438446,
-0.0214095339179039,
0.03881204128265381,
-0.018999509513378143,
0.02876543253660202,
-0.016366872936487198,
0.05044597387313843,
-0.002037390135228634,
0.030294684693217278,
-0.013443871401250362,
-0.051142849028110504,
0.017799336463212967,
0.005420135334134102,
-0.01705406792461872,
0.06643537431955338,
-0.019260838627815247,
-0.08501869440078735,
0.009712688624858856,
0.002528589917346835,
-0.046458303928375244,
-0.009756243787705898,
0.07232008874416351,
0.028881577774882317,
0.014150424860417843,
0.0030585050117224455,
-0.006310586351901293,
0.026287656277418137,
0.004728100262582302,
-0.00679452670738101,
0.025803714990615845,
0.01584421657025814,
0.05145256966352463,
-0.025455279275774956,
-0.05664041265845299,
0.00871577113866806,
-0.039431486278772354,
-0.057647012174129486,
-0.043438512831926346,
-0.03836681693792343,
-0.04924580082297325,
0.014005242846906185,
-0.026655450463294983,
0.02458418533205986,
0.04053486883640289,
0.07050047814846039,
0.03130128234624863
] |
52,155 |
pebble.pool.base_pool
|
_check_pool_state
| null |
def _check_pool_state(self):
self._update_pool_state()
if self._context.state == ERROR:
raise RuntimeError('Unexpected error within the Pool')
elif self._context.state != RUNNING:
raise RuntimeError('The Pool is not active')
|
(self)
|
[
0.01992023177444935,
-0.041002627462148666,
0.015262492932379246,
0.020773695781826973,
-0.01123123336583376,
-0.0003793492214754224,
0.01732352003455162,
-0.03197769075632095,
0.04735821858048439,
-0.05603813752532005,
-0.009851163253188133,
0.011567171663045883,
0.0432906411588192,
-0.02941729687154293,
-0.04369013383984566,
-0.004042608663439751,
-0.0019134862814098597,
-0.0405668169260025,
-0.00768118305131793,
-0.04790298268198967,
-0.021136872470378876,
0.062430042773485184,
0.04412594437599182,
-0.006069587543606758,
-0.0106592308729887,
0.007204513996839523,
-0.0028532054275274277,
0.004966438747942448,
0.027256397530436516,
0.035373393446207047,
-0.04514284059405327,
0.05146211013197899,
0.031850580126047134,
0.027056649327278137,
0.024242032319307327,
0.01629754528403282,
0.04975518211722374,
-0.010050909593701363,
0.040385227650403976,
-0.026693474501371384,
-0.03292195126414299,
-0.05200687795877457,
-0.04615973308682442,
0.03835143893957138,
-0.015407763421535492,
-0.050953663885593414,
-0.0064600021578371525,
-0.006164921447634697,
-0.013010798953473568,
-0.018921496346592903,
-0.01601608470082283,
-0.019411783665418625,
0.018049873411655426,
0.07793767750263214,
0.033702779561281204,
0.021391097456216812,
0.015689225867390633,
0.05407698079943657,
-0.00999643374234438,
-0.02184506691992283,
-0.025749213993549347,
0.0316145159304142,
-0.035554978996515274,
-0.06795032322406769,
0.03965887427330017,
-0.011222153902053833,
-0.04764875769615173,
0.00962417759001255,
-0.029126755893230438,
0.034665197134017944,
0.021899543702602386,
0.003313985653221607,
-0.0481208860874176,
0.016479134559631348,
-0.025785531848669052,
-0.035500504076480865,
0.002286877017468214,
0.05796297267079353,
0.0292175505310297,
0.004975518211722374,
-0.002449171617627144,
0.007358863949775696,
0.024550732225179672,
0.03421122580766678,
0.06315639615058899,
-0.019974708557128906,
0.0209552850574255,
-0.006264794617891312,
-0.017922760918736458,
0.001632024417631328,
-0.01045040413737297,
0.06377379596233368,
0.0012994909193366766,
0.01635202206671238,
0.09028568118810654,
0.048701971769332886,
-0.00879341084510088,
0.0020542170386761427,
-0.03853302821516991,
-0.048774603754282,
-0.04692240431904793,
-0.014354551210999489,
-0.0002030100004049018,
-0.01546224020421505,
0.06061416119337082,
-0.028473038226366043,
0.044707030057907104,
-0.032395344227552414,
0.01615227572619915,
-0.08091572672128677,
-0.04379908740520477,
0.013373974710702896,
-0.03016180917620659,
0.00951522495597601,
-0.00699568772688508,
-0.017759330570697784,
-0.019684167578816414,
-0.02157268486917019,
-0.07873667031526566,
-0.02268037386238575,
-0.013210545293986797,
-0.0038042739033699036,
-0.008952300995588303,
-0.0061921593733131886,
0.049246735870838165,
0.05603813752532005,
-0.017132852226495743,
0.02487759105861187,
0.03664451092481613,
-0.006273874081671238,
-0.0050299945287406445,
-0.020319726318120956,
-0.06025098264217377,
-0.009769448079168797,
-0.032340869307518005,
-0.020864490419626236,
0.026638997718691826,
0.005365932825952768,
-0.023806219920516014,
-0.03462887927889824,
0.03889620304107666,
0.02315250225365162,
-0.03958623856306076,
0.018794383853673935,
0.1024157777428627,
0.04960991069674492,
-0.018122507259249687,
0.0019123513484373689,
0.07633969932794571,
0.003851940855383873,
0.05483965203166008,
-0.04423489794135094,
0.012066539376974106,
0.008067058399319649,
-0.05905250087380409,
-0.0030711113940924406,
-0.0019554784521460533,
-0.04510652273893356,
0.01842212863266468,
-0.053495898842811584,
-0.02865462750196457,
-0.010323292575776577,
-0.037225592881441116,
-0.041910570114851,
-0.01322870422154665,
-0.014436266385018826,
-0.03531891480088234,
-0.042709559202194214,
0.014009534381330013,
0.002012224867939949,
-0.013392133638262749,
-0.01800447516143322,
-0.018585557118058205,
0.0508447103202343,
-0.029253868386149406,
0.019230196252465248,
0.01106780394911766,
0.018195142969489098,
-0.025876326486468315,
-0.03428386151790619,
0.028418561443686485,
-0.012792892754077911,
-0.04597814753651619,
0.017014820128679276,
-0.02315250225365162,
0.017968157306313515,
-0.005674633197486401,
-0.0009295048657804728,
-0.010078147985041142,
0.022389832884073257,
-0.02892700955271721,
-0.011521775275468826,
0.01322870422154665,
0.01656992919743061,
0.011122280731797218,
0.03798826411366463,
-0.024895749986171722,
0.03422938659787178,
0.032740361988544464,
0.027111126109957695,
0.024823114275932312,
-0.008502869866788387,
0.013955057598650455,
0.025440514087677002,
0.015852654352784157,
0.0004545380943454802,
-0.05723661929368973,
-0.023334091529250145,
0.04343591257929802,
-0.013619119301438332,
-0.02571289613842964,
-0.029362820088863373,
-0.036662667989730835,
0.13851551711559296,
0.038315121084451675,
0.06359221041202545,
0.06882195174694061,
-0.016542689874768257,
-0.020428678020834923,
0.02364279143512249,
0.024296509101986885,
-0.04350854456424713,
0.04968254640698433,
-0.051861606538295746,
-0.028073543682694435,
0.023479361087083817,
0.0023946950677782297,
0.05483965203166008,
0.03195953369140625,
0.05778138339519501,
0.01175783947110176,
0.010995169170200825,
-0.03551866114139557,
0.0018862480064854026,
0.040929991751909256,
0.017332598567008972,
0.0022448848467320204,
-0.015307890251278877,
0.011240312829613686,
0.031723469495773315,
-0.020119978114962578,
-0.03065209835767746,
0.00726806977763772,
-0.07822822034358978,
0.025476831942796707,
-0.03929569944739342,
0.007717500906437635,
0.04310905188322067,
-0.025313403457403183,
0.0011513830395415425,
-0.02342488430440426,
0.002862284891307354,
-0.023479361087083817,
-0.08164207637310028,
-0.04354486241936684,
-0.1298719197511673,
-0.007022925652563572,
-0.003370732069015503,
0.03593631461262703,
0.022571420297026634,
0.0014163884334266186,
0.053423263132572174,
-0.029308345168828964,
0.0577087476849556,
-0.003102889284491539,
0.01600700430572033,
0.02830960974097252,
0.017650378867983818,
-0.013446610420942307,
0.019811278209090233,
0.141638845205307,
-0.00470767542719841,
0.00035381337511353195,
0.046486593782901764,
-0.016715198755264282,
-0.029671521857380867,
0.0004182204429525882,
0.039767827838659286,
-0.04561496898531914,
-0.015852654352784157,
0.08215052634477615,
0.054948605597019196,
-0.004889263771474361,
0.026421090587973595,
-0.06054152548313141,
-0.015725543722510338,
-0.001224585808813572,
-0.035990793257951736,
0.02219008468091488,
-0.0002984856837429106,
-0.06206686422228813,
0.0014958332758396864,
0.020791854709386826,
-0.016470054164528847,
-0.03856934607028961,
-0.0044806902296841145,
-0.007377022877335548,
0.0026284900959581137,
-0.02157268486917019,
0.0460507832467556,
-0.009288239292800426,
-0.020646585151553154,
-0.08752553910017014,
0.028908850625157356,
0.0075813098810613155,
-0.011312948539853096,
0.043472226709127426,
0.03072473220527172,
-0.010513960383832455,
-0.006777781527489424,
0.025041021406650543,
-0.013891501352190971,
0.041474755853414536,
0.020701061934232712,
0.07245371490716934,
-0.00726806977763772,
0.008629981428384781,
-0.011966666206717491,
-0.042164791375398636,
0.027201920747756958,
-0.08491066843271255,
0.0285275150090456,
0.009111191146075726,
0.04169266298413277,
-0.061957914382219315,
0.043399594724178314,
0.062430042773485184,
0.022171925753355026,
-0.013028956949710846,
0.0002118056727340445,
-0.047103993594646454,
-0.048701971769332886,
0.020664744079113007,
-0.003481954801827669,
-0.002476409776136279,
-0.007599468342959881,
0.006201238837093115,
-0.029598886147141457,
0.032413505017757416,
-0.05215214565396309,
0.02255326136946678,
-0.009569700807332993,
-0.03553682193160057,
-0.021391097456216812,
0.039549920707941055,
0.005706410855054855,
0.01370991300791502,
-0.029453614726662636,
0.03479231148958206,
-0.06021466478705406,
-0.1230442002415657,
0.04623236879706383,
-0.04968254640698433,
0.027256397530436516,
-0.009020396508276463,
-0.006282953545451164,
0.022571420297026634,
0.0061195241287350655,
0.025349721312522888,
-0.0057790460996329784,
-0.017822887748479843,
-0.06359221041202545,
0.006369207985699177,
0.016506372019648552,
-0.026275821030139923,
0.004948279820382595,
0.022026656195521355,
-0.03252245485782623,
-0.025549467653036118,
-0.026911379769444466,
-0.034538086503744125,
-0.06264794617891312,
-0.04797561839222908,
-0.03991309925913811,
-0.02211744897067547,
0.03806089982390404,
-0.03255877271294594,
-0.02665715664625168,
0.020937126129865646,
0.0625026747584343,
0.004094815347343683,
-0.024223873391747475,
0.0011303868377581239,
-0.016669802367687225,
-0.04310905188322067,
-0.03526443988084793,
-0.04960991069674492,
0.007086481899023056,
0.06522650271654129,
-0.02288012020289898,
0.002757871523499489,
-0.007050164043903351,
0.003851940855383873,
0.012729336507618427,
-0.023188820108771324,
0.01237523928284645,
0.06580758094787598,
-0.030615780502557755,
-0.011748760007321835,
-0.0021835986990481615,
-0.02687506191432476,
0.07815558463335037,
-0.035627614706754684,
-0.011076883412897587,
0.017650378867983818,
0.016542689874768257,
-0.008507410064339638,
0.047321900725364685,
0.025603944435715675,
-0.05251532420516014,
-0.013546483591198921,
-0.028019068762660027,
-0.012284445576369762,
-0.04695872217416763,
-0.05327799543738365,
-0.021409254521131516,
-0.0075177536346018314,
0.0020031454041600227,
0.021554525941610336,
0.0033185253851115704,
0.056946076452732086,
0.012320763431489468,
0.05327799543738365,
-0.018267778679728508,
-0.05832614749670029,
0.0068322583101689816,
-0.027238238602876663,
-0.006369207985699177,
0.03904147446155548,
-0.0019395895069465041,
-0.046014465391635895,
0.05389539524912834,
-0.007526833098381758,
-0.009469827637076378,
0.01522617507725954,
-0.007036544848233461,
-0.023860696703195572,
0.050626806914806366,
-0.029635204002261162,
0.015916211530566216,
0.04746716842055321,
0.03208664432168007,
0.016342943534255028,
0.06308376044034958,
0.07895456999540329,
0.01800447516143322,
0.01552579551935196,
-0.022789325565099716,
-0.024242032319307327,
0.04852038249373436,
-0.03252245485782623,
-0.02687506191432476,
-0.0078990887850523,
-0.010259736329317093,
-0.062430042773485184,
0.04169266298413277,
-0.06144946441054344,
0.006400986108928919,
-0.017232725396752357,
0.03402964025735855,
-0.06903985142707825,
-0.0068322583101689816,
-0.0209552850574255,
0.061340514570474625,
0.015135381370782852,
-0.047249265015125275,
0.007599468342959881,
0.005284218117594719,
0.027546938508749008,
0.034193068742752075,
-0.0036045268643647432,
-0.012084698304533958,
0.03490126132965088,
0.0031550959683954716,
-0.035554978996515274,
-0.03348487615585327,
-0.009129349142313004,
0.08091572672128677,
0.06163105368614197,
-0.000260607514064759,
0.019429942592978477,
0.04430753365159035,
0.06315639615058899,
-0.01508998405188322,
-0.04750348627567291,
-0.05905250087380409,
0.002230130834504962,
-0.00039211713010445237,
-0.006296572741121054,
-0.014109407551586628,
-0.07063782960176468,
-0.07939038425683975,
-0.007504134904593229,
0.032812997698783875,
0.0033298747148364782,
-0.050082042813301086,
-0.09014040976762772,
0.035028375685214996,
0.04245533421635628,
-0.02322513796389103,
0.027437984943389893,
0.032050326466560364,
0.016724279150366783,
0.035500504076480865,
0.0797535628080368,
-0.016406498849391937,
0.024550732225179672,
0.025059178471565247,
0.051788970828056335,
0.005720030050724745,
0.004010830540210009,
0.0240604430437088,
0.012547748163342476,
0.012874606996774673,
0.01309251319617033,
0.029453614726662636,
0.0040789260528981686,
0.0034796849358826876,
0.009814845398068428,
0.0005200800951570272,
0.059415675699710846,
0.014082169160246849,
0.0391504280269146,
-0.009333636611700058,
-0.03733454644680023,
-0.029744155704975128,
0.023806219920516014,
-0.040312591940164566,
-0.05676448717713356,
0.036045268177986145,
0.02603975683450699,
-0.01972048543393612,
0.024478096514940262,
-0.02013813704252243,
-0.025440514087677002,
-0.013201465830206871,
-0.020174454897642136,
-0.02734719216823578,
-0.07844612747430801,
-0.04325432330369949,
0.004369467496871948,
0.02749246172606945,
0.05527546629309654,
0.007358863949775696,
-0.006087746471166611,
0.003000746015459299,
-0.007867311127483845,
0.05651026591658592,
-0.056800805032253265,
-0.012002984061837196,
0.055566005408763885,
0.008017121814191341,
0.004635040182620287,
-0.018367651849985123,
0.04942832514643669,
-0.02426019124686718,
0.05393171310424805,
0.03497389703989029,
0.01972048543393612,
0.0055702198296785355,
-0.02013813704252243,
-0.023751743137836456,
0.025894485414028168,
-0.008325821720063686,
0.012111936695873737,
-0.07387010008096695,
-0.04365381598472595,
0.003264048835262656,
0.07735659927129745,
0.01863095536828041,
0.06489964574575424,
-0.03079736791551113,
0.010622913017868996,
-0.029508091509342194,
0.04379908740520477,
-0.07960829138755798,
-0.015698304399847984,
0.06893090158700943,
-0.017232725396752357,
0.031033432111144066,
0.055021241307258606,
-0.0570550300180912,
-0.04775771126151085,
-0.044707030057907104,
-0.003236810676753521,
0.02122766710817814,
-0.06573494523763657,
0.021427413448691368,
0.03559129685163498,
0.05640131235122681,
-0.04666818305850029,
0.056183405220508575,
0.06500859558582306,
-0.036172378808259964,
0.04281850904226303,
0.029054120182991028,
0.04430753365159035,
-0.02349752001464367,
0.00582444341853261,
0.022389832884073257,
0.009065793827176094,
0.06373747438192368,
0.049573592841625214,
-0.0577450655400753,
-0.021046079695224762,
-0.034465450793504715,
-0.029943903908133507,
0.03944097086787224,
-0.011948507279157639,
0.016651643440127373,
0.0006174000445753336,
-0.0230253916233778,
0.015997925773262978,
-0.020810013636946678,
-0.010877136141061783,
-0.01937546767294407,
-0.05469438433647156,
0.034065958112478256,
0.04826615750789642,
0.03813353553414345,
0.014872077852487564,
0.010877136141061783,
-0.021409254521131516,
-0.008929602801799774,
-0.0185674000531435,
-0.03410227596759796,
0.047939300537109375,
-0.04379908740520477,
-0.056256040930747986,
-0.037842992693185806,
-0.004911962430924177,
-0.02028340846300125,
-0.00505269318819046,
-0.04496125131845474,
-0.018049873411655426,
0.05106261745095253,
0.03448361158370972,
0.036862414330244064,
0.0004596452636178583,
0.007531372830271721,
-0.019883913919329643,
-0.061957914382219315,
-0.008902364410459995,
-0.017259962856769562,
0.044707030057907104,
-0.010949771851301193,
-0.024659685790538788,
-0.02213560789823532,
0.07169104367494583,
0.003466065740212798,
0.00920652411878109,
-0.011558092199265957,
0.011194916442036629,
-0.02858199179172516,
-0.04652291163802147,
-0.017468789592385292,
-0.04020363837480545,
-0.01806803233921528,
-0.0035409710835665464,
-0.0336664617061615,
-0.05338694900274277,
0.011013328097760677,
-0.0419468879699707,
0.04082103818655014,
0.05022731050848961,
0.04576024040579796,
-0.03421122580766678,
0.021954020485281944,
-0.05324167758226395,
0.05414961650967598,
0.013900580815970898,
-0.04067577049136162,
-0.005138947628438473,
0.004871104843914509,
-0.02329777367413044,
0.0008563020965084434,
-0.017886443063616753,
-0.03464704006910324,
-0.028690945357084274,
0.04572392255067825,
-0.01972048543393612,
-0.005297837313264608,
-0.059415675699710846,
0.022299038246273994,
0.05414961650967598,
0.030561303719878197,
-0.07085573673248291,
-0.013655437156558037,
0.04819352179765701,
-0.008961380459368229,
-0.0515347458422184,
0.06791400909423828,
0.01628846675157547,
0.04165634512901306,
-0.081133633852005,
-0.09420798718929291,
-0.07924511283636093,
0.00021379180543590337,
-0.0012563636992126703,
-0.012547748163342476,
0.021282143890857697,
-0.03352119028568268,
-0.008439314551651478,
-0.018458446487784386,
0.0295444093644619,
0.017359837889671326,
-0.0611589252948761,
0.012765654362738132,
-0.004925581626594067,
-0.007404261268675327,
-0.0029644283931702375,
-0.026421090587973595,
0.026366615667939186,
-0.0017182788578793406,
-0.00726806977763772,
-0.005956094712018967,
-0.016615325585007668,
-0.0336846224963665,
-0.017686696723103523,
-0.03152371942996979,
-0.06453646719455719,
0.004675897769629955,
-0.01642465777695179,
-0.06308376044034958,
0.025749213993549347,
0.035082850605249405,
0.014935634098947048,
-0.05229741707444191,
0.02364279143512249,
0.060105711221694946,
0.015026427805423737,
-0.0002979182463604957,
-0.08360323309898376,
0.030633939430117607,
0.01253866869956255,
0.00609682546928525,
0.022280879318714142,
0.06569863110780716,
0.017151011154055595,
0.028073543682694435,
0.0796809270977974,
-0.04568760469555855,
0.031650833785533905,
-0.04891987517476082,
0.019557055085897446,
-0.0022380752488970757,
-0.0068004801869392395,
-0.033630143851041794,
-0.020101819187402725,
-0.00493012135848403,
0.015498558059334755,
0.07303479313850403,
0.02700217440724373,
0.012974481098353863,
0.026076072826981544,
-0.07303479313850403,
-0.00402218010276556,
0.016406498849391937,
-0.024714162573218346,
-0.0032776680309325457,
0.03355750814080238,
0.029326504096388817,
0.017232725396752357,
0.02887253277003765,
0.01141282171010971,
-0.021409254521131516,
-0.030670257285237312,
0.023061707615852356
] |
52,156 |
pebble.pool.process
|
_start_pool
| null |
def _start_pool(self):
with self._context.state_mutex:
if self._context.state == CREATED:
self._pool_manager.start()
self._task_scheduler_loop = launch_thread(
None, task_scheduler_loop, True, self._pool_manager)
self._pool_manager_loop = launch_thread(
None, pool_manager_loop, True, self._pool_manager)
self._message_manager_loop = launch_thread(
None, message_manager_loop, True, self._pool_manager)
self._context.state = RUNNING
|
(self)
|
[
0.04256319999694824,
-0.012743582017719746,
0.009435326792299747,
-0.01334178727120161,
0.019849533215165138,
0.042019378393888474,
0.014393177814781666,
-0.017810197547078133,
-0.05699263513088226,
-0.020683394744992256,
-0.023257490247488022,
0.020483992993831635,
0.009580345824360847,
0.005918605253100395,
-0.015245167538523674,
-0.015190784819424152,
-0.031161049380898476,
-0.05510738119482994,
-0.06852167844772339,
-0.023855695500969887,
-0.006503215059638023,
0.06485994160175323,
0.08005072176456451,
-0.023692548274993896,
0.005302272737026215,
-0.022097334265708923,
-0.06054560840129852,
-0.005619502626359463,
0.004153446760028601,
-0.010423270985484123,
0.044738493859767914,
0.05097432807087898,
0.002605817746371031,
0.026139751076698303,
0.03320944681763649,
0.00987944845110178,
0.03237558528780937,
0.019940171390771866,
0.021100325509905815,
-0.00009559385944157839,
0.009326561354100704,
-0.06587507575750351,
0.015109211206436157,
0.0494878776371479,
-0.07446747273206711,
-0.020067062228918076,
0.03313693776726723,
-0.049270350486040115,
0.0466962531208992,
-0.016677234321832657,
-0.059784259647130966,
-0.04365084692835808,
-0.04017037898302078,
0.013296468183398247,
-0.039082735776901245,
0.050140466541051865,
0.014646962285041809,
0.01629655808210373,
-0.018616868183016777,
-0.0035665715113282204,
-0.0068204449489712715,
0.0030771309975534678,
-0.02632102556526661,
-0.009344689548015594,
-0.016278430819511414,
-0.054309774190187454,
-0.036490511149168015,
0.0728360041975975,
0.016115283593535423,
0.0005392910097725689,
0.035547886043787,
0.02380131371319294,
-0.010287315584719181,
0.011755636893212795,
-0.01547176018357277,
0.029420815408229828,
0.0013300999999046326,
-0.03195865452289581,
-0.009045586921274662,
-0.011655936017632484,
-0.036363620311021805,
0.015000446699559689,
-0.002465330297127366,
0.028369424864649773,
0.08338616788387299,
0.013722463510930538,
0.007840112783014774,
0.003521252889186144,
-0.05844282731413841,
-0.03601919859647751,
-0.008297829888761044,
0.10782194137573242,
0.02111845463514328,
0.006933741271495819,
0.031070411205291748,
0.01132057886570692,
-0.026466045528650284,
0.03538474068045616,
-0.01859874092042446,
0.01674067974090576,
-0.037016209214925766,
-0.02405509725213051,
0.004871746525168419,
-0.04705880209803581,
-0.01117555983364582,
-0.05481734126806259,
0.01547176018357277,
-0.00198948523029685,
-0.042671967297792435,
-0.0376325398683548,
-0.041511811316013336,
0.0013278340920805931,
0.00504395691677928,
0.028369424864649773,
-0.06685395538806915,
-0.0028596017509698868,
-0.01637813076376915,
-0.005963923875242472,
0.016097156330943108,
-0.014492878690361977,
-0.101296067237854,
0.024598920717835426,
0.010241996496915817,
0.004812831990420818,
-0.029710855334997177,
0.06892047822475433,
0.0009103367920033634,
-0.02441764622926712,
0.01691289059817791,
-0.050720542669296265,
0.03348135948181152,
0.03688931465148926,
0.024907086044549942,
0.014927936717867851,
-0.014973255805671215,
-0.020864669233560562,
-0.06297468394041061,
0.0004710298962891102,
0.02111845463514328,
0.042091887444257736,
-0.0043619126081466675,
-0.007663370110094547,
-0.0341520756483078,
0.014819172210991383,
0.0006089683156460524,
0.03509470075368881,
-0.012589498423039913,
0.049560390412807465,
0.07461249083280563,
0.003605092177167535,
0.05184444412589073,
-0.03803134337067604,
0.08802679181098938,
0.04879903793334961,
-0.0092631159350276,
-0.007831049151718616,
-0.0033762333914637566,
-0.010405143722891808,
0.03489530086517334,
-0.005406505428254604,
-0.026085369288921356,
0.025378398597240448,
-0.020030807703733444,
-0.03542099520564079,
-0.05293209105730057,
-0.037269990891218185,
-0.011302451603114605,
-0.00785824004560709,
0.023275617510080338,
0.030164040625095367,
0.0563400462269783,
-0.021426619961857796,
-0.00672527588903904,
0.023692548274993896,
-0.02331187203526497,
0.02780747413635254,
0.002755369059741497,
0.0040220231749117374,
-0.005510738119482994,
0.022459883242845535,
-0.019215073436498642,
0.018906908109784126,
-0.027898112311959267,
-0.012979238294064999,
-0.028478190302848816,
0.02247801050543785,
0.05623128265142441,
0.020774032920598984,
0.015326740220189095,
0.018281511962413788,
-0.053475912660360336,
0.01484636403620243,
-0.03195865452289581,
-0.015390186570584774,
-0.024780195206403732,
0.05148189514875412,
-0.019541367888450623,
-0.03195865452289581,
-0.03301004692912102,
0.018780015408992767,
0.0021718924399465322,
0.05177193507552147,
0.04970540851354599,
-0.0004877411120105535,
0.05996553227305412,
-0.004849086981266737,
-0.049596644937992096,
0.009140755981206894,
0.017175737768411636,
-0.020193954929709435,
-0.0025604991242289543,
-0.02392820455133915,
-0.03253873437643051,
0.12043863534927368,
0.048073939979076385,
0.005877818446606398,
-0.0016983133973553777,
0.016940081492066383,
-0.015027637593448162,
-0.02974710986018181,
0.0048037683591246605,
-0.007024378515779972,
-0.033644504845142365,
-0.02594034932553768,
-0.02920328639447689,
0.012371969409286976,
0.017139483243227005,
-0.01633281260728836,
-0.009090905077755451,
0.05061177909374237,
-0.00617692107334733,
-0.04782015457749367,
-0.030435951426625252,
-0.007631647400557995,
0.002331640338525176,
-0.022713666781783104,
0.040242891758680344,
0.04937911406159401,
-0.04782015457749367,
0.024635175243020058,
0.009933830238878727,
-0.042381927371025085,
0.04154806584119797,
-0.12805214524269104,
-0.04249069094657898,
0.021807296201586723,
-0.0376325398683548,
-0.005125530529767275,
0.03988034278154373,
0.03853891044855118,
-0.008705697022378445,
-0.013423360884189606,
0.005524333566427231,
-0.05097432807087898,
-0.10158611088991165,
-0.117320716381073,
0.0022602637764066458,
0.02719114162027836,
0.00031581378425471485,
0.025505291298031807,
-0.03514908254146576,
0.03552975878119469,
-0.04397714138031006,
0.03897397220134735,
0.006190516520291567,
0.024363262578845024,
-0.016187792643904686,
-0.04002536088228226,
0.02499772422015667,
0.027934366837143898,
0.09767058491706848,
0.03195865452289581,
0.06877546012401581,
0.03489530086517334,
0.003770505078136921,
-0.05380220711231232,
-0.07312604784965515,
-0.00628115376457572,
-0.08896941691637039,
-0.01905192621052265,
0.07312604784965515,
0.05144564062356949,
-0.03308255597949028,
0.02302183397114277,
-0.024363262578845024,
-0.028351297602057457,
0.0030703330412507057,
0.02405509725213051,
0.010151360183954239,
-0.049596644937992096,
-0.09005706012248993,
0.07203839719295502,
0.015689289197325706,
-0.012245077639818192,
0.015517078340053558,
-0.010269188322126865,
-0.011048667132854462,
0.035584140568971634,
-0.018381211906671524,
0.03478653356432915,
0.027571817860007286,
-0.019849533215165138,
-0.04466598480939865,
0.03168674558401108,
0.014511005952954292,
-0.00552886538207531,
-0.008655847050249577,
0.02936643362045288,
-0.021916059777140617,
-0.006575724575668573,
0.02338438294827938,
-0.007359735667705536,
0.061234451830387115,
-0.029892129823565483,
0.030472205951809883,
0.042962003499269485,
-0.02710050530731678,
0.01868937909603119,
0.0038702059537172318,
-0.020647140219807625,
-0.033517614006996155,
0.039662811905145645,
0.0010055057937279344,
0.03621860221028328,
-0.0344964973628521,
0.08730169385671616,
0.060908157378435135,
0.030182167887687683,
-0.02742679789662361,
0.05786275118589401,
-0.02438139170408249,
0.012788900174200535,
-0.0028233469929546118,
-0.03304630145430565,
-0.01979515142738819,
0.009335625916719437,
0.02289494127035141,
-0.01888878084719181,
-0.0313604511320591,
-0.07272724062204361,
0.02289494127035141,
0.024272626265883446,
-0.03253873437643051,
0.012598562985658646,
0.00032261156593449414,
0.0005619502626359463,
0.05177193507552147,
-0.04858150705695152,
0.015063893049955368,
-0.07211090624332428,
-0.029130777344107628,
0.015779925510287285,
-0.022260481491684914,
0.014646962285041809,
-0.0016042774077504873,
-0.03522159159183502,
-0.011492789722979069,
0.017021654173731804,
0.028369424864649773,
-0.004627026151865721,
-0.0864315778017044,
-0.02496146783232689,
0.022459883242845535,
-0.0272999070584774,
0.0018218065379187465,
-0.014882618561387062,
0.05271456018090248,
-0.025885967537760735,
-0.029547708109021187,
-0.02599473111331463,
-0.014719471335411072,
-0.00672527588903904,
-0.02285868674516678,
0.02499772422015667,
-0.0791080966591835,
-0.014918873086571693,
-0.05423726513981819,
-0.016233112663030624,
-0.0025990200228989124,
0.0523882657289505,
0.0010236331727355719,
-0.01592494547367096,
0.03056284412741661,
0.01649595983326435,
-0.0713132992386818,
-0.0586603581905365,
-0.006335536018013954,
-0.002060862025246024,
0.05963923782110214,
0.0034487431403249502,
0.07243720442056656,
-0.0017934824572876096,
0.025813458487391472,
0.008447381667792797,
0.020937180146574974,
-0.04452096298336983,
0.045064784586429596,
-0.005415569059550762,
0.0001706527400529012,
-0.00816640630364418,
0.03886520490050316,
0.029855873435735703,
-0.010006340220570564,
-0.0307259913533926,
0.011003348976373672,
0.01505482941865921,
0.04908907413482666,
-0.013668080791831017,
0.027082378044724464,
0.04488351196050644,
0.004432156216353178,
-0.01926945522427559,
-0.029547708109021187,
-0.048363979905843735,
-0.03621860221028328,
-0.06950055807828903,
-0.008615059778094292,
0.040532927960157394,
0.01678599789738655,
0.020193954929709435,
0.020574631169438362,
0.027009867131710052,
0.026121623814105988,
-0.017792070284485817,
-0.03259311616420746,
0.006544001400470734,
0.02037522941827774,
0.0057237353175878525,
0.010432334616780281,
-0.0073234811425209045,
-0.04800143092870712,
0.09890324622392654,
0.004126255866140127,
0.036689914762973785,
0.035692907869815826,
0.007867303676903248,
0.013233022764325142,
0.05267830565571785,
-0.015788989141583443,
-0.022423628717660904,
0.0022330726496875286,
0.0015986125217750669,
0.006743403151631355,
0.022913068532943726,
0.03295566514134407,
0.017275439575314522,
-0.002431341214105487,
-0.03233933076262474,
-0.026955485343933105,
0.06500495970249176,
-0.026466045528650284,
0.018462786450982094,
0.053983479738235474,
0.05637630075216293,
-0.05561494827270508,
0.02322123572230339,
-0.007201120723038912,
0.023456891998648643,
-0.02706425078213215,
-0.010069786570966244,
-0.04169308394193649,
-0.03882895037531853,
0.00336263794451952,
0.06565754115581512,
-0.019251327961683273,
-0.05010421201586723,
0.03915524482727051,
0.03944528475403786,
0.021807296201586723,
0.007849176414310932,
0.013287404552102089,
0.01235384214669466,
0.03839389234781265,
-0.054346028715372086,
-0.0218979325145483,
0.003373967483639717,
-0.051916953176259995,
-0.0029230478685349226,
0.06565754115581512,
-0.038176365196704865,
0.006494150962680578,
0.008528955280780792,
0.056920126080513,
0.032774388790130615,
-0.10506657510995865,
-0.025215253233909607,
0.04462972655892372,
0.016804125159978867,
0.006512278690934181,
-0.02833317033946514,
-0.018671251833438873,
-0.009562218561768532,
0.016613787040114403,
0.01670442521572113,
0.02157163992524147,
0.0048354915343225,
-0.06011055037379265,
-0.01122087799012661,
0.02293119579553604,
0.0188162699341774,
0.005084743723273277,
0.0339164175093174,
-0.004001629538834095,
0.04586239159107208,
0.0437958650290966,
0.04618868604302406,
-0.048400234431028366,
-0.019088182598352432,
-0.036816805601119995,
0.01995829865336418,
0.02474393881857395,
-0.03803134337067604,
-0.051590658724308014,
-0.05782649666070938,
0.019215073436498642,
0.047783900052309036,
0.014601643197238445,
0.0044820066541433334,
-0.010160423815250397,
-0.04618868604302406,
0.0681953877210617,
0.046007413417100906,
-0.004876278340816498,
-0.0010417606681585312,
-0.0036979953292757273,
-0.007930750027298927,
0.02458079345524311,
0.01107585895806551,
-0.03672616928815842,
0.07722284644842148,
0.03007340244948864,
-0.03864767774939537,
-0.050430506467819214,
-0.025106487795710564,
-0.001276850700378418,
-0.0011782827787101269,
-0.00929937046021223,
-0.014220966957509518,
-0.01297017466276884,
-0.018925035372376442,
-0.01782832480967045,
0.0007879766635596752,
0.04252694547176361,
-0.016486896201968193,
0.0007052702712826431,
-0.008501763455569744,
0.025831585749983788,
0.058587849140167236,
-0.03184989094734192,
-0.01868937909603119,
0.11231754720211029,
0.008615059778094292,
-0.0177739430218935,
0.04513729736208916,
-0.002558233216404915,
-0.044448453933000565,
0.04212814196944237,
0.0014071415644139051,
-0.025106487795710564,
0.03596481680870056,
-0.009598473086953163,
-0.007989663630723953,
-0.07577265053987503,
0.03944528475403786,
0.017393266782164574,
-0.028478190302848816,
-0.03828512877225876,
0.0864315778017044,
0.040279146283864975,
0.04408590495586395,
0.030707864090800285,
-0.023003706708550453,
0.028985757380723953,
0.021190963685512543,
0.02813376858830452,
-0.020592758432030678,
-0.016477832570672035,
0.019903916865587234,
-0.003886067308485508,
0.01359557081013918,
0.012788900174200535,
-0.04230941832065582,
-0.042708221822977066,
-0.014293476939201355,
-0.023873822763562202,
0.011547171510756016,
-0.03872018679976463,
-0.014483815059065819,
0.020737778395414352,
-0.006321940571069717,
-0.028025003150105476,
0.04009786993265152,
0.0644611343741417,
0.01385841891169548,
-0.03734250366687775,
-0.02091905288398266,
0.0017889505252242088,
0.00620864424854517,
0.04517355188727379,
0.03951779380440712,
-0.024308880791068077,
0.05543367564678192,
-0.014628834091126919,
0.0014173382660374045,
0.03244809806346893,
-0.05380220711231232,
0.013305531814694405,
0.013731527142226696,
-0.020592758432030678,
-0.015326740220189095,
-0.01094896625727415,
-0.03542099520564079,
0.03542099520564079,
0.027952494099736214,
-0.00853801891207695,
-0.0016643245471641421,
-0.07305353879928589,
0.013060811907052994,
0.08273357897996902,
-0.038176365196704865,
0.007069697137922049,
-0.03699808195233345,
-0.0008876774809323251,
-0.012607626616954803,
0.02186167798936367,
-0.04520980641245842,
0.0866491049528122,
-0.05082930997014046,
-0.002149233128875494,
-0.020103318616747856,
-0.008773675188422203,
-0.00987944845110178,
-0.03741501271724701,
-0.039118990302085876,
0.03980783373117447,
0.0750475525856018,
0.01571648009121418,
0.08396624773740768,
0.009598473086953163,
-0.051626916974782944,
0.0025990200228989124,
-0.03988034278154373,
0.013785908930003643,
-0.08679412305355072,
0.028278788551688194,
-0.037850070744752884,
-0.012915792874991894,
-0.015770861878991127,
0.057645220309495926,
0.04299825802445412,
-0.008723825216293335,
0.011084922589361668,
-0.010468590073287487,
0.05895039811730385,
-0.062394607812166214,
0.002201349474489689,
-0.08831682801246643,
-0.06232209876179695,
-0.013432424515485764,
-0.049560390412807465,
-0.006258494686335325,
0.00987944845110178,
-0.007840112783014774,
0.036563023924827576,
-0.004312062170356512,
0.0014298008754849434,
-0.04459347203373909,
-0.02664732001721859,
-0.027535563334822655,
0.07290851324796677,
0.01885252445936203,
-0.031451087445020676,
-0.03346323221921921,
0.011891593225300312,
-0.04017037898302078,
0.02751743607223034,
-0.020230209454894066,
-0.05177193507552147,
-0.010287315584719181,
0.06018306314945221,
-0.026447918266057968,
-0.02247801050543785,
-0.007876367308199406,
0.010151360183954239,
0.021227218210697174,
-0.023112470284104347,
-0.07156708836555481,
-0.07997821271419525,
0.05086556449532509,
0.014112202450633049,
0.006213176064193249,
0.06942804902791977,
0.03618234768509865,
-0.0007500223582610488,
-0.1001359149813652,
-0.04825521260499954,
-0.03861142322421074,
-0.021045943722128868,
-0.006883890833705664,
-0.007092356216162443,
0.010985221713781357,
-0.04252694547176361,
-0.010296379216015339,
-0.043578337877988815,
0.0185262318700552,
0.04941536858677864,
-0.04075045883655548,
0.0518081896007061,
0.02994651161134243,
0.015072956681251526,
0.0361279658973217,
-0.016776934266090393,
0.05177193507552147,
0.05659383162856102,
-0.006335536018013954,
-0.018671251833438873,
-0.0728360041975975,
-0.005605907179415226,
0.006553065497428179,
-0.016894763335585594,
-0.001058188616298139,
-0.011909720487892628,
0.03110666759312153,
-0.025215253233909607,
0.06514997780323029,
-0.005787181667983532,
0.018326830118894577,
-0.023910077288746834,
-0.0018467317568138242,
0.01703978329896927,
-0.0009771817130967975,
-0.024399518966674805,
-0.045064784586429596,
-0.017094165086746216,
0.0006151996203698218,
-0.015517078340053558,
0.05032173916697502,
0.0064805555157363415,
-0.04680502042174339,
-0.024327008053660393,
0.040315400809049606,
-0.0881718099117279,
-0.006530405953526497,
0.024653302505612373,
0.02474393881857395,
0.0207921601831913,
0.034913428127765656,
-0.06228584423661232,
-0.018870653584599495,
0.035330358892679214,
-0.006761530879884958,
0.035692907869815826,
0.010976158082485199,
0.0335719957947731,
-0.05565120279788971,
-0.05151814967393875,
0.01645064167678356,
0.022496137768030167,
-0.04941536858677864,
-0.051373131573200226,
0.036653660237789154,
-0.057028889656066895,
0.033934544771909714,
-0.0026873911265283823,
-0.030472205951809883,
-0.009734428487718105,
0.02441764622926712,
0.021789168938994408
] |
52,157 |
pebble.pool.process
|
_stop_pool
| null |
def _stop_pool(self):
if self._pool_manager_loop is not None:
self._pool_manager_loop.join()
self._pool_manager.stop()
if self._task_scheduler_loop is not None:
self._task_scheduler_loop.join()
if self._message_manager_loop is not None:
self._message_manager_loop.join()
|
(self)
|
[
0.057131364941596985,
0.009868144989013672,
0.001919676549732685,
0.028691047802567482,
-0.06074908748269081,
-0.013279908336699009,
-0.003013276495039463,
0.019521374255418777,
-0.015115633606910706,
-0.0024267397820949554,
-0.06533392518758774,
-0.03166402876377106,
0.01644093729555607,
-0.028117943555116653,
-0.003942332696169615,
0.024213669821619987,
-0.027634387835860252,
-0.04137098789215088,
-0.007745866663753986,
-0.025234511122107506,
-0.03315052017569542,
0.03925766423344612,
0.07342902570962906,
-0.01914527453482151,
0.011175539344549179,
-0.008865212090313435,
-0.02396293543279171,
0.009004010818898678,
-0.036893606185913086,
-0.014864900149405003,
-0.0407978817820549,
0.00665786350145936,
-0.007638409733772278,
0.05985360965132713,
0.04205155000090599,
0.026900095865130424,
0.015232045203447342,
0.037215977907180786,
-0.001952137565240264,
0.003006560495123267,
0.01275157742202282,
-0.06569211184978485,
0.02672100067138672,
0.040296416729688644,
-0.06107145920395851,
-0.006384743377566338,
-0.022565992549061775,
-0.047137852758169174,
0.017202092334628105,
0.012241155840456486,
-0.045597635209560394,
-0.017354322597384453,
-0.029944714158773422,
0.03868455812335014,
-0.013414229266345501,
0.054624032229185104,
-0.0020170595962554216,
0.036857787519693375,
-0.015312638133764267,
-0.05612843111157417,
-0.021401874721050262,
0.01111285574734211,
-0.034834012389183044,
-0.005663885269314051,
0.03141329437494278,
-0.006398175377398729,
-0.017130455002188683,
0.10265736281871796,
0.02267345041036606,
0.022816726937890053,
-0.004029641859233379,
0.0027737366035580635,
-0.029693981632590294,
0.036248866468667984,
0.006460858974605799,
-0.058349210768938065,
0.028888054192066193,
-0.04416487365961075,
0.00166446587536484,
-0.028511952608823776,
0.004074415657669306,
0.030661094933748245,
-0.027383653447031975,
0.0391860269010067,
0.08138085156679153,
-0.04036805406212807,
0.02752692997455597,
-0.00026626416365616024,
-0.04674384370446205,
-0.06110727787017822,
-0.007432450074702501,
0.060820724815130234,
0.0247330442070961,
0.006814571563154459,
0.031019285321235657,
0.013279908336699009,
-0.04760349914431572,
0.01987956464290619,
-0.056522440165281296,
-0.06418771296739578,
0.05491058528423309,
-0.04613491892814636,
0.04036805406212807,
-0.0042535108514130116,
0.04323357716202736,
-0.00950995460152626,
0.016915539279580116,
0.0005014665075577796,
-0.0809510201215744,
-0.04326939582824707,
-0.05003919452428818,
0.033132608979940414,
-0.06257585436105728,
0.019073637202382088,
-0.0764378234744072,
0.01363809872418642,
-0.0790167972445488,
0.01153372973203659,
0.010512887500226498,
-0.0015771569451317191,
-0.08023463934659958,
0.032595325261354446,
-0.039078570902347565,
-0.04201573133468628,
0.025198692455887794,
0.03589067608118057,
0.006492200307548046,
0.03623095527291298,
0.02672100067138672,
-0.01206206064671278,
-0.007647364400327206,
0.04026059806346893,
-0.03331170603632927,
-0.004513198509812355,
0.029926804825663567,
-0.0070205312222242355,
-0.040332235395908356,
0.039436761289834976,
0.029693981632590294,
0.020900407806038857,
-0.0019331086659803987,
0.02052430808544159,
-0.023497289046645164,
0.01750655472278595,
0.039006929844617844,
0.03166402876377106,
0.010092013515532017,
-0.01583201438188553,
0.002442410681396723,
-0.020166117697954178,
-0.028798505663871765,
-0.0197541993111372,
0.05949541926383972,
0.008010032586753368,
0.007244400214403868,
-0.005941482726484537,
-0.017784152179956436,
0.019825836643576622,
0.022565992549061775,
-0.04473797604441643,
0.015169362537562847,
0.02448231168091297,
-0.05795520171523094,
-0.05021829158067703,
-0.039436761289834976,
-0.031270019710063934,
0.02238689735531807,
0.04420069232583046,
0.07393049448728561,
0.04326939582824707,
-0.03481610491871834,
-0.007920484989881516,
-0.013548551127314568,
0.026846367865800858,
-0.07016949355602264,
0.05824175477027893,
-0.01946764625608921,
0.03537129983305931,
-0.011945649050176144,
-0.00015824739239178598,
-0.04520362615585327,
-0.015178317204117775,
-0.057095546275377274,
0.008260765112936497,
-0.013817193917930126,
0.0015693216118961573,
0.00586984446272254,
0.020130299031734467,
-0.04137098789215088,
-0.02999844402074814,
-0.03703688457608223,
-0.01805279403924942,
-0.019163183867931366,
-0.015115633606910706,
0.01080839429050684,
0.025449424982070923,
0.04477379471063614,
0.0034766853787004948,
-0.0011719540925696492,
0.006774275563657284,
0.006407130043953657,
0.034708645194768906,
0.03241622820496559,
-0.028422405943274498,
0.034063905477523804,
0.006331014912575483,
-0.005140031687915325,
-0.001896170317195356,
0.02396293543279171,
-0.022942092269659042,
0.048355698585510254,
0.011793417856097221,
-0.00814435351639986,
0.11848937720060349,
0.11942066997289658,
0.03356243669986725,
-0.025592701509594917,
0.01805279403924942,
-0.04223064333200455,
0.002149142324924469,
-0.07887352257966995,
-0.05981779098510742,
0.04147844389081001,
0.033777352422475815,
-0.024679316207766533,
0.041550081223249435,
0.019807927310466766,
0.02688218653202057,
0.095708467066288,
0.031914763152599335,
0.01564396359026432,
-0.020291484892368317,
-0.010306928306818008,
-0.02104368433356285,
0.0265060868114233,
-0.028243310749530792,
-0.033329613506793976,
-0.010083058848977089,
-0.04892880469560623,
0.025968801230192184,
0.008444338105618954,
-0.08940431475639343,
-0.026219535619020462,
-0.08431801199913025,
0.026774730533361435,
0.04115607216954231,
0.04523944482207298,
0.014157474040985107,
0.07951825857162476,
0.0059056635946035385,
0.04004568234086037,
-0.034135542809963226,
0.05888649821281433,
-0.032040130347013474,
-0.03272068873047829,
-0.11999377608299255,
0.014318659901618958,
-0.02804630622267723,
0.004152769688516855,
0.03655332699418068,
-0.01730955019593239,
0.028440315276384354,
-0.044952891767024994,
0.06540556252002716,
0.03375944122672081,
-0.0023685337509959936,
0.01430970523506403,
-0.010978534817695618,
0.02999844402074814,
0.024392765015363693,
0.09484881162643433,
-0.05294053629040718,
0.03420718014240265,
0.006644431501626968,
-0.014900719746947289,
0.04828406125307083,
-0.02906714752316475,
-0.02383756823837757,
-0.05114958435297012,
-0.026219535619020462,
0.10931970179080963,
0.045633453875780106,
-0.008036896586418152,
0.007342902477830648,
0.004327387548983097,
-0.003649064339697361,
-0.014461936429142952,
-0.025897163897752762,
0.01898408867418766,
0.019933294504880905,
-0.0350131094455719,
0.011703870259225368,
0.018097568303346634,
0.02129441685974598,
-0.01173968892544508,
-0.023013731464743614,
0.01586783304810524,
-0.009671139530837536,
0.019396008923649788,
-0.01153372973203659,
0.013100813142955303,
-0.04380668327212334,
-0.00287447776645422,
0.02258390188217163,
-0.02174215577542782,
0.01722000166773796,
0.0420873686671257,
-0.02306745946407318,
0.020148208364844322,
0.007857801392674446,
0.020631765946745872,
-0.0391860269010067,
0.01185610145330429,
-0.004052028525620699,
0.043412674218416214,
0.06791289150714874,
-0.02740156278014183,
0.005489267408847809,
-0.026094168424606323,
0.007316038478165865,
-0.030661094933748245,
-0.010924805887043476,
0.04355594888329506,
0.03338334336876869,
0.02136605605483055,
0.03153866156935692,
0.007513043005019426,
0.050289928913116455,
0.01894827000796795,
0.02929997257888317,
-0.018930360674858093,
-0.024840502068400383,
0.007266786880791187,
-0.0424097403883934,
0.002782691502943635,
-0.006863823160529137,
0.046851299703121185,
0.008283152244985104,
-0.002266673371195793,
-0.05734627693891525,
-0.019001999869942665,
-0.021580969914793968,
-0.0101188775151968,
0.02177797444164753,
-0.031431205570697784,
0.05491058528423309,
0.011453136801719666,
-0.03494147211313248,
0.06472499668598175,
-0.06322059780359268,
0.02290627360343933,
0.028923872858285904,
0.015124588273465633,
0.057382095605134964,
-0.01238443236798048,
-0.03177148476243019,
-0.003541607176885009,
0.04334103316068649,
0.03771744668483734,
-0.02383756823837757,
-0.07507669925689697,
-0.05985360965132713,
0.05111376568675041,
0.007584681268781424,
0.016333481296896935,
-0.02595089189708233,
0.015178317204117775,
-0.014963402412831783,
-0.012599346227943897,
-0.026900095865130424,
-0.047173671424388885,
-0.0031722234562039375,
-0.016915539279580116,
-0.021509332582354546,
-0.06257585436105728,
0.019485555589199066,
-0.0014596257824450731,
0.013915696181356907,
0.033974356949329376,
0.044630520045757294,
-0.0292283333837986,
-0.05448075383901596,
0.022565992549061775,
0.016987178474664688,
-0.030911829322576523,
-0.04516780376434326,
-0.02387338876724243,
-0.024142030626535416,
0.03315052017569542,
-0.00815778598189354,
0.09463389217853546,
-0.019252732396125793,
0.025073325261473656,
-0.002870000433176756,
0.01530368346720934,
-0.0021726484410464764,
-0.02052430808544159,
-0.026291172951459885,
-0.019073637202382088,
-0.01644093729555607,
-0.018966179341077805,
0.05290471762418747,
-0.06382952630519867,
-0.027509020641446114,
0.04821242392063141,
0.027992578223347664,
0.00783541426062584,
-0.010477067902684212,
0.039114389568567276,
0.046564746648073196,
-0.0017685649218037724,
-0.054659850895404816,
-0.0197541993111372,
-0.08553586155176163,
0.008686116896569729,
-0.015635009855031967,
0.0003503549669403583,
0.05104212835431099,
0.083529993891716,
0.025771796703338623,
0.04480961337685585,
0.004336342215538025,
0.03850546479225159,
-0.08567913621664047,
-0.04928699508309364,
-0.028870142996311188,
-0.010539751499891281,
-0.015169362537562847,
-0.012563527561724186,
-0.025897163897752762,
-0.07600799947977066,
0.039006929844617844,
-0.040976978838443756,
-0.03508474677801132,
0.05440911650657654,
0.0395083986222744,
-0.012599346227943897,
0.02727619744837284,
0.02408830262720585,
-0.05451657250523567,
0.009151764214038849,
0.03793235868215561,
-0.04738858714699745,
0.0191094558686018,
0.041263531893491745,
-0.016503620892763138,
0.012984400615096092,
-0.015455914661288261,
-0.026040440425276756,
0.014990267343819141,
-0.050003375858068466,
0.020148208364844322,
0.02136605605483055,
0.006845913361757994,
-0.004459470044821501,
0.0019969113636761904,
-0.018572170287370682,
-0.003472207812592387,
0.006648908834904432,
-0.023371921852231026,
-0.03614140674471855,
-0.026559816673398018,
-0.002784930169582367,
0.04907207936048508,
-0.0029125353321433067,
0.0032349068205803633,
0.07246191054582596,
-0.006066849455237389,
0.04352013021707535,
0.02845822460949421,
0.022028706967830658,
-0.022977912798523903,
0.02453603968024254,
-0.024070393294095993,
-0.017255820333957672,
0.00934876874089241,
-0.03338334336876869,
0.059746153652668,
0.06468918174505234,
-0.011990422382950783,
0.0014417162165045738,
-0.02541360631585121,
0.03682196885347366,
-0.00787123292684555,
-0.08739844709634781,
-0.016100656241178513,
0.03424299880862236,
-0.03635632246732712,
-0.018751265481114388,
-0.019503464922308922,
-0.03315052017569542,
-0.012402341701090336,
0.015823058784008026,
0.006980234757065773,
0.038147274404764175,
-0.03990240767598152,
-0.07335738837718964,
-0.025395696982741356,
0.05251070857048035,
-0.02736574411392212,
0.04520362615585327,
0.01430970523506403,
-0.030284995213150978,
-0.017291640862822533,
0.08395982533693314,
-0.020775040611624718,
0.002039446495473385,
0.013879876583814621,
-0.04602746292948723,
0.04427232965826988,
0.009635320864617825,
-0.02129441685974598,
-0.0167006254196167,
-0.024177849292755127,
0.05537623167037964,
-0.006742933765053749,
-0.01440820749849081,
-0.03177148476243019,
0.048713888972997665,
-0.002464797580614686,
0.021795883774757385,
0.02501959726214409,
-0.037144340574741364,
0.037144340574741364,
-0.010853168554604053,
-0.03972331061959267,
-0.003987106494605541,
0.03254159539937973,
-0.0398307703435421,
0.0861089676618576,
0.010486023500561714,
-0.00856074970215559,
-0.04792587086558342,
-0.007647364400327206,
-0.02740156278014183,
-0.014685804955661297,
-0.08145248889923096,
-0.0375741682946682,
-0.027509020641446114,
0.001661107875406742,
-0.060856543481349945,
0.01622602343559265,
0.062038570642471313,
-0.010853168554604053,
-0.011650141328573227,
0.04789005219936371,
-0.029479067772626877,
0.09936200827360153,
-0.032326679676771164,
0.05233161151409149,
0.07443195581436157,
0.0375741682946682,
0.0350131094455719,
0.017461780458688736,
-0.014372388832271099,
-0.029013419523835182,
-0.016082746908068657,
0.018840814009308815,
-0.011721779592335224,
0.024750955402851105,
-0.0693814754486084,
0.029246242716908455,
0.0019666890148073435,
0.02675682120025158,
0.03433254733681679,
0.0036938381381332874,
-0.020130299031734467,
-0.0010460277553647757,
0.06185947731137276,
0.03682196885347366,
0.011363589204847813,
-0.06966802477836609,
0.012187426909804344,
-0.040009863674640656,
0.03682196885347366,
0.03363407403230667,
0.01576933078467846,
-0.046493109315633774,
-0.030374543741345406,
-0.006733979098498821,
0.00045809190487489104,
0.016333481296896935,
-0.01477535255253315,
-0.027097102254629135,
-0.014435071498155594,
0.00334012508392334,
-0.0017305072396993637,
-0.07500506192445755,
-0.002211825456470251,
0.03363407403230667,
0.014461936429142952,
0.07443195581436157,
0.02836867794394493,
-0.020166117697954178,
-0.02315700799226761,
0.03202221915125847,
-0.002036088379099965,
0.032272953540086746,
0.015590235590934753,
0.05505385994911194,
0.03807563707232475,
0.00981441605836153,
0.02376593090593815,
0.02238689735531807,
0.009178628213703632,
0.017900563776493073,
-0.037215977907180786,
-0.023174917325377464,
0.008874166756868362,
0.02485841140151024,
-0.054874762892723083,
-0.04638565331697464,
0.06415189802646637,
0.017434915527701378,
0.026523996144533157,
-0.02672100067138672,
-0.040009863674640656,
0.00545344827696681,
0.03655332699418068,
-0.0420873686671257,
-0.014381343498826027,
-0.020004931837320328,
0.029676072299480438,
-0.029676072299480438,
0.0015335024800151587,
0.0021077264100313187,
0.03153866156935692,
-0.028995510190725327,
0.009832325391471386,
0.02242271788418293,
-0.04394995793700218,
-0.047173671424388885,
0.025879254564642906,
-0.015169362537562847,
-0.010163651779294014,
0.0755065307021141,
0.030249176546931267,
0.041764996945858,
0.02027357555925846,
-0.05326290801167488,
0.05326290801167488,
-0.05104212835431099,
0.013423183932900429,
-0.0401531420648098,
-0.02165260724723339,
-0.031789395958185196,
-0.0036311547737568617,
-0.013297817669808865,
0.038756199181079865,
0.012948581948876381,
-0.01362018845975399,
0.04072624444961548,
-0.019772108644247055,
0.00031481575570069253,
-0.06193111464381218,
-0.04326939582824707,
-0.023407740518450737,
-0.03352661803364754,
0.001869305968284607,
-0.044630520045757294,
-0.010656163096427917,
-0.000604446220677346,
-0.04326939582824707,
0.00934876874089241,
-0.014649986289441586,
-0.017228957265615463,
-0.03649959713220596,
0.031055105850100517,
0.011936694383621216,
0.027992578223347664,
0.02351519837975502,
-0.04989591985940933,
-0.027132920920848846,
-0.017945338040590286,
-0.06483245640993118,
0.04516780376434326,
-0.009196537546813488,
-0.06271913647651672,
-0.053656917065382004,
0.0004357050056569278,
-0.014157474040985107,
-0.004275897517800331,
-0.06422353535890579,
0.00470572616904974,
0.04885716736316681,
0.07923170924186707,
-0.05362109839916229,
-0.036123499274253845,
0.03116256184875965,
0.029604433104395866,
-0.011318815872073174,
0.028117943555116653,
-0.014533573761582375,
-0.017461780458688736,
-0.04577672854065895,
-0.048104967921972275,
-0.01583201438188553,
-0.07307083159685135,
-0.002988650929182768,
0.006863823160529137,
0.0007583561819046736,
-0.09857399016618729,
-0.0260225310921669,
-0.0055071767419576645,
0.024947959929704666,
0.0896192267537117,
-0.011990422382950783,
0.024106211960315704,
0.03315052017569542,
-0.006022075656801462,
0.03800399973988533,
-0.015061904676258564,
0.05071975663304329,
0.030105900019407272,
0.015697693452239037,
-0.01471266895532608,
-0.10996444523334503,
-0.017067771404981613,
0.03055363893508911,
0.010494978167116642,
0.006183261051774025,
-0.007602590601891279,
0.048785530030727386,
-0.02906714752316475,
0.027777662500739098,
-0.01818711683154106,
-0.0066399541683495045,
0.039436761289834976,
0.018303528428077698,
0.08145248889923096,
-0.04140680655837059,
-0.03682196885347366,
-0.03221922367811203,
0.037824902683496475,
-0.034260910004377365,
-0.025968801230192184,
0.05071975663304329,
0.007029485888779163,
-0.030410362407565117,
0.002393159316852689,
-0.006102668587118387,
-0.10366029292345047,
0.01676330901682377,
0.03080437146127224,
0.023371921852231026,
0.013808238320052624,
0.003563994076102972,
0.005417629145085812,
-0.0049385498277843,
-0.04989591985940933,
0.03282814845442772,
0.00751752033829689,
0.011050173081457615,
0.012214291840791702,
0.0011820282088592649,
-0.03972331061959267,
0.024715134873986244,
0.0250554159283638,
-0.06433098763227463,
-0.015948425978422165,
0.02408830262720585,
0.022494355216622353,
-0.0010829662205651402,
-0.01226801984012127,
-0.0038662173319607973,
-0.028117943555116653,
0.002957309130579233,
0.016172295436263084
] |
52,158 |
pebble.pool.base_pool
|
_update_pool_state
| null |
def _update_pool_state(self):
if self._context.state == CREATED:
self._start_pool()
for loop in self._loops:
if not loop.is_alive():
self._context.state = ERROR
|
(self)
|
[
0.013255066238343716,
-0.0242001973092556,
-0.03491974622011185,
0.02441675215959549,
-0.009627743624150753,
0.023712944239377975,
0.0028332816436886787,
-0.03403547406196594,
0.046198733150959015,
-0.07579480111598969,
-0.03724772855639458,
0.006501208525151014,
0.02865765243768692,
0.017008714377880096,
-0.02905467338860035,
0.01230763178318739,
-0.037644751369953156,
-0.026690596714615822,
-0.056810006499290466,
-0.02670864388346672,
-0.008008081465959549,
0.06142988055944443,
0.058578550815582275,
-0.00697041442617774,
0.011955726891756058,
-0.028405003249645233,
-0.021222542971372604,
-0.0008058836683630943,
0.030534476041793823,
0.015276261605322361,
-0.009104399010539055,
0.03818614035844803,
0.02243165113031864,
0.010367645882070065,
0.025679999962449074,
0.0015080006560310721,
0.016963597387075424,
0.041145749390125275,
0.012524188496172428,
-0.003780716797336936,
-0.014310779981315136,
-0.036291271448135376,
-0.05670172721147537,
0.03506411612033844,
-0.012515164911746979,
-0.00009389757178723812,
-0.012722698040306568,
-0.017541082575917244,
0.0319601409137249,
-0.023875361308455467,
-0.03232106938958168,
-0.013327252119779587,
0.00008882203110260889,
0.06918982416391373,
0.05244278162717819,
0.03504607081413269,
-0.029361460357904434,
0.017144061625003815,
-0.015871791169047356,
-0.05193748325109482,
-0.023081321269273758,
-0.0037310891784727573,
-0.029144905507564545,
-0.03181576728820801,
-0.013101672753691673,
-0.048689134418964386,
-0.03739210218191147,
0.04511595144867897,
0.025264933705329895,
-0.007768966723233461,
0.02845914289355278,
0.003724321722984314,
-0.004588292445987463,
-0.012497118674218655,
-0.05576331540942192,
0.0012463281163945794,
-0.004949219990521669,
0.0522984117269516,
0.011865495704114437,
-0.0015846977476030588,
-0.032429344952106476,
0.024633308872580528,
0.015330400317907333,
0.041723232716321945,
0.08005374670028687,
-0.0299930851906538,
0.008572030812501907,
-0.003812297945842147,
-0.06345107406377792,
-0.059372592717409134,
0.006171862129122019,
0.0891491174697876,
0.006618510000407696,
0.012767814099788666,
0.059336498379707336,
0.036471735686063766,
-0.036291271448135376,
-0.0021407518070191145,
0.016223696991801262,
-0.0387636236846447,
-0.03854706883430481,
-0.056196428835392,
0.025282979011535645,
-0.023694897070527077,
0.03598448261618614,
-0.05345337837934494,
0.051829203963279724,
-0.03466709703207016,
0.01103536132723093,
-0.0717163160443306,
-0.034161798655986786,
0.012776837684214115,
-0.01181135606020689,
0.005256008356809616,
-0.04356396198272705,
-0.014175431802868843,
-0.010259367525577545,
-0.020771384239196777,
-0.015447702258825302,
-0.013967898674309254,
-0.04778681695461273,
-0.012388840317726135,
-0.0072320871986448765,
0.00804868619889021,
0.010475924238562584,
0.06359544396400452,
-0.015222121961414814,
0.028567420318722725,
0.027177849784493446,
-0.033205341547727585,
-0.004549943841993809,
0.02243165113031864,
-0.00793138425797224,
0.01306557934731245,
-0.015231145545840263,
-0.049086153507232666,
-0.06850405782461166,
-0.006541812792420387,
0.003516788361594081,
-0.014382964931428432,
0.02558976784348488,
0.025463443249464035,
-0.02477768063545227,
0.020482642576098442,
0.07149975746870041,
0.05291198939085007,
-0.008937469683587551,
0.02365880459547043,
0.009871370159089565,
-0.030083317309617996,
0.05843418091535568,
-0.006762881297618151,
0.04165104776620865,
0.050854701548814774,
-0.04013514891266823,
0.00634330278262496,
0.003309255000203848,
-0.026654504239559174,
0.012470048852264881,
-0.062260013073682785,
-0.022991089150309563,
-0.033620405942201614,
-0.028332818299531937,
-0.04807555675506592,
-0.031472887843847275,
-0.024741588160395622,
0.0037423681933432817,
0.0011222593020647764,
0.002386633772403002,
0.01509579736739397,
0.01653950847685337,
-0.011766240000724792,
0.027177849784493446,
0.026203345507383347,
-0.029866760596632957,
0.07297956198453903,
0.01939985901117325,
-0.0027813983615487814,
0.00399952894076705,
-0.019634462893009186,
-0.030877357348799706,
-0.021384961903095245,
-0.03215865045785904,
0.012912184931337833,
-0.02030217833817005,
0.004175481386482716,
-0.004854476545006037,
0.014031060971319675,
0.019616415724158287,
-0.0014031061436980963,
-0.025445396080613136,
0.010782712139189243,
-0.003070140490308404,
-0.003419789019972086,
0.008910400792956352,
0.04547687992453575,
-0.028513280674815178,
-0.03062470816075802,
0.03847488388419151,
0.04165104776620865,
-0.037861306220293045,
0.027430498972535133,
0.027737287804484367,
0.0006412104703485966,
0.04876131936907768,
0.0028332816436886787,
-0.036922894418239594,
-0.017405733466148376,
0.021800028160214424,
-0.021005986258387566,
-0.028405003249645233,
-0.009799184277653694,
0.011351173743605614,
0.12054982036352158,
0.05406695604324341,
0.02147519215941429,
0.02631162293255329,
0.01723429374396801,
-0.0008047557785175741,
-0.01470780000090599,
-0.05078251659870148,
-0.053922586143016815,
-0.014807055704295635,
-0.06016663461923599,
-0.03540699928998947,
0.01976078748703003,
-0.01994124986231327,
0.03351213037967682,
0.01520407572388649,
0.08395176380872726,
-0.01153163705021143,
0.026600364595651627,
-0.003243836807087064,
0.01589886099100113,
0.03206842020153999,
0.005012382287532091,
-0.005571819841861725,
0.0030633730348199606,
-0.009826254099607468,
0.022756485268473625,
-0.05435569956898689,
-0.06724081188440323,
0.03641759604215622,
-0.09023190289735794,
-0.02535516396164894,
-0.006325256545096636,
0.043852705508470535,
0.012614419683814049,
0.010566155426204205,
0.03450467810034752,
0.0011955726658925414,
-0.02362271212041378,
-0.029740436002612114,
-0.058759015053510666,
-0.03019159473478794,
-0.14379356801509857,
0.008941981941461563,
0.013976921327412128,
0.023333970457315445,
-0.005305635742843151,
-0.01191061083227396,
0.0774550661444664,
-0.07117492705583572,
0.05486099794507027,
-0.006704230327159166,
0.03580401837825775,
0.024434799328446388,
-0.002688910812139511,
-0.03174358233809471,
0.029469739645719528,
0.112392857670784,
0.005842515733093023,
-0.0070290653966367245,
0.048147741705179214,
-0.006338790990412235,
0.006965903099626303,
-0.008802122436463833,
0.03246543928980827,
-0.09052064269781113,
-0.04320303350687027,
0.09514051675796509,
0.04511595144867897,
-0.03315120190382004,
0.0036634153220802546,
-0.04663184657692909,
0.007809570990502834,
0.0018881026189774275,
0.011784286238253117,
0.006812508683651686,
-0.00845924112945795,
-0.05078251659870148,
0.02786361239850521,
0.02501228265464306,
-0.02107817307114601,
-0.035154350101947784,
-0.0012643745867535472,
-0.03836660459637642,
0.01122484914958477,
-0.029902853071689606,
0.02887420915067196,
-0.01791103184223175,
-0.0638480931520462,
-0.06828750669956207,
0.018452424556016922,
-0.008617146871984005,
-0.02575218491256237,
0.015186029486358166,
0.0015621398342773318,
-0.02107817307114601,
-0.009257793426513672,
0.021060125902295113,
0.020266085863113403,
0.014049107208848,
0.008662262931466103,
0.05908384919166565,
-0.019472043961286545,
-0.022792579606175423,
-0.003972459584474564,
-0.02732221968472004,
0.029523879289627075,
-0.07413452863693237,
0.0016377090942114592,
-0.012641489505767822,
0.03446858748793602,
-0.04612654820084572,
0.0659414753317833,
0.0851067304611206,
0.01749596558511257,
0.016232719644904137,
0.00300472229719162,
-0.053922586143016815,
-0.028603512793779373,
-0.009871370159089565,
-0.021583471447229385,
-0.029505832120776176,
-0.021204497665166855,
0.028332818299531937,
-0.031689442694187164,
0.030317919328808784,
-0.07731069624423981,
0.005098102614283562,
0.03679656982421875,
-0.053561657667160034,
0.009113422594964504,
0.023965593427419662,
0.015059704892337322,
0.04006296396255493,
-0.03197818621993065,
0.019977344200015068,
-0.056412987411022186,
-0.08424050360918045,
0.02340615540742874,
-0.03890799731016159,
0.06269312649965286,
0.03564160317182541,
-0.01598007045686245,
0.008630681782960892,
0.02244969829916954,
0.035172395408153534,
-0.04125402495265007,
-0.07063353061676025,
-0.027195895090699196,
0.03643564134836197,
0.013679156079888344,
0.05756795406341553,
0.024922052398324013,
0.026690596714615822,
-0.023135459050536156,
-0.04587389901280403,
-0.04356396198272705,
-0.04417753964662552,
-0.034955840557813644,
-0.02578827738761902,
-0.003309255000203848,
-0.042697735130786896,
-0.005003359168767929,
-0.09239746630191803,
-0.019255487248301506,
0.015393562614917755,
0.07427890598773956,
0.006604975089430809,
-0.04959145560860634,
0.050638142973184586,
-0.005472565069794655,
-0.04630701243877411,
-0.0367424301803112,
-0.013751341961324215,
-0.01677411049604416,
0.07507294416427612,
0.014346872456371784,
0.02304522879421711,
-0.0006897100829519331,
0.01170307770371437,
0.013904736377298832,
0.0125783272087574,
0.01034959964454174,
0.052551060914993286,
-0.0009260048973374069,
0.01939985901117325,
-0.01830805279314518,
-0.035894252359867096,
0.03966594487428665,
0.003715298604220152,
-0.0032212790101766586,
0.0011098524555563927,
0.00012766403960995376,
0.0203202236443758,
0.05666563659906387,
0.02113231085240841,
-0.004234131891280413,
-0.01394082885235548,
-0.021763935685157776,
-0.0021148102823644876,
-0.0657249167561531,
-0.038222234696149826,
-0.04681231081485748,
0.0031468376982957125,
-0.010963176377117634,
0.03890799731016159,
0.03984640911221504,
0.06262093782424927,
0.04338349774479866,
0.0659414753317833,
0.01751401275396347,
-0.058578550815582275,
-0.02847718819975853,
0.025264933705329895,
-0.009108910337090492,
-0.01733354851603508,
0.028026029467582703,
-0.03363845497369766,
0.05363384261727333,
-0.00824719574302435,
0.021655656397342682,
0.021836120635271072,
0.006988460663706064,
-0.0017132782377302647,
0.03602057695388794,
-0.010737596079707146,
0.03463100269436836,
0.04410535469651222,
0.043311312794685364,
0.009654813446104527,
0.04789509251713753,
0.062043458223342896,
-0.0019805901683866978,
0.010773689486086369,
-0.06442558020353317,
-0.04569343477487564,
0.046740125864744186,
-0.05359775200486183,
-0.02069919928908348,
0.008802122436463833,
0.03443249315023422,
-0.053345102816820145,
0.04627091810107231,
-0.03118414618074894,
0.013994968496263027,
-0.05385040119290352,
-0.009519466198980808,
-0.05984179675579071,
-0.003573183435946703,
-0.007926872931420803,
0.09745045751333237,
-0.009320955723524094,
-0.09694515913724899,
0.03001113049685955,
0.030660800635814667,
0.017369640991091728,
0.02984871342778206,
0.00014578091213479638,
-0.014942402951419353,
0.029776528477668762,
-0.014861194416880608,
-0.03215865045785904,
-0.05670172721147537,
-0.06161034479737282,
0.036291271448135376,
0.04414144530892372,
-0.01509579736739397,
0.005260520149022341,
0.018362192437052727,
0.0987497940659523,
-0.009555558674037457,
-0.031671397387981415,
-0.05211794748902321,
0.05287589505314827,
0.011730147525668144,
0.0014064897550269961,
-0.03854706883430481,
-0.07861003279685974,
-0.08784978091716766,
0.004863499663770199,
0.0075343637727200985,
0.000915289856493473,
-0.044827207922935486,
-0.09138686954975128,
0.03392719477415085,
0.05695437639951706,
-0.04569343477487564,
0.02535516396164894,
0.006230513099581003,
-0.0030633730348199606,
0.02149323932826519,
0.07074180990457535,
0.01558304950594902,
-0.003895762376487255,
0.00009516646241536364,
0.03703117370605469,
0.01715308427810669,
0.022973041981458664,
-0.02770119346678257,
-0.006839578039944172,
-0.018714096397161484,
0.01914720982313156,
0.027051525190472603,
0.0010151088936254382,
0.006487673614174128,
0.02398364059627056,
-0.01394985243678093,
0.04103747010231018,
0.0101601118221879,
0.00967285968363285,
0.03558746352791786,
-0.03937720134854317,
-0.005427449010312557,
0.04905006289482117,
-0.039052367210388184,
-0.028314771130681038,
0.04977191612124443,
-0.0026392831932753325,
-0.010791735723614693,
0.006789950653910637,
0.017477920278906822,
-0.01422054786235094,
-0.023009134456515312,
0.0271237101405859,
-0.05496927350759506,
-0.11181537061929703,
-0.029758481308817863,
-0.005287589505314827,
0.059372592717409134,
0.05637689307332039,
-0.04045998677611351,
-0.02616725116968155,
0.005400379188358784,
0.01817270554602146,
0.036110807210206985,
-0.03695898875594139,
-0.038222234696149826,
0.05009675398468971,
0.013877666555345058,
-0.018353169783949852,
0.04338349774479866,
0.00793138425797224,
-0.048869598656892776,
0.037680841982364655,
0.002415959257632494,
-0.0005780481151305139,
0.01745085045695305,
-0.008991609327495098,
-0.02268430031836033,
-0.0057793534360826015,
0.0062666055746376514,
0.035136304795742035,
-0.017965171486139297,
-0.035894252359867096,
0.021348867565393448,
0.07012823224067688,
0.04009905830025673,
0.05251496657729149,
-0.014364918693900108,
0.03156311810016632,
-0.046776220202445984,
0.04583780840039253,
-0.06056365370750427,
0.011676007881760597,
-0.007015530485659838,
0.048328205943107605,
0.015528910793364048,
0.026455994695425034,
-0.03078712522983551,
-0.02847718819975853,
-0.03154507279396057,
0.02266625314950943,
0.03293464332818985,
-0.03614690154790878,
0.040387798100709915,
0.039449386298656464,
0.043311312794685364,
-0.06041928380727768,
0.0386914387345314,
0.020825523883104324,
-0.03345799073576927,
-0.008937469683587551,
0.014861194416880608,
0.05002456530928612,
-0.035136304795742035,
-0.020807476714253426,
0.0639202818274498,
-0.018434377387166023,
0.06464213877916336,
0.0039521572180092335,
-0.000712268112692982,
-0.0213308222591877,
-0.04749807342886925,
0.010403738357126713,
0.013038509525358677,
-0.0030769079457968473,
0.04688449576497078,
0.00099142303224653,
-0.0057793534360826015,
0.05879510939121246,
0.017071876674890518,
-0.011676007881760597,
0.0006056816200725734,
-0.04147058352828026,
0.03531676530838013,
0.06269312649965286,
-0.021655656397342682,
-0.01769447699189186,
-0.02461526356637478,
-0.02925318293273449,
-0.04417753964662552,
-0.012424932792782784,
-0.013020463287830353,
0.04959145560860634,
-0.017604244872927666,
-0.06525570899248123,
-0.0169184822589159,
-0.027592916041612625,
0.0019580323714762926,
0.000749488768633455,
-0.027250034734606743,
0.02557172067463398,
0.0503133088350296,
0.022973041981458664,
0.059336498379707336,
0.007376458030194044,
-0.03273613378405571,
0.0024768656585365534,
-0.06103285774588585,
0.02746659144759178,
-0.07579480111598969,
0.028134306892752647,
0.005544750485569239,
0.0037333450745791197,
-0.0368146151304245,
0.04738979414105415,
0.0300472229719162,
0.013913759030401707,
0.011441404931247234,
-0.012334701605141163,
-0.005815446376800537,
-0.020482642576098442,
0.012253492139279842,
-0.05052986741065979,
-0.021042080596089363,
0.024434799328446388,
-0.04937489703297615,
-0.05561894550919533,
0.03197818621993065,
-0.0007590758614242077,
0.028621559962630272,
0.025409303605556488,
0.026582319289445877,
-0.0367424301803112,
0.00012470330693759024,
-0.010151089169085026,
0.047750722616910934,
0.019526183605194092,
-0.04858085513114929,
-0.033006828278303146,
0.005138706881552935,
-0.04807555675506592,
0.021637611091136932,
-0.007344876881688833,
-0.03217669576406479,
-0.010638341307640076,
0.06157425045967102,
-0.025445396080613136,
0.01412129309028387,
-0.06023881956934929,
-0.0014211524976417422,
0.05579940974712372,
0.014563429169356823,
-0.0541752353310585,
-0.019670555368065834,
0.08655044436454773,
0.0010771433589980006,
-0.0349017009139061,
0.08091997355222702,
0.03136460855603218,
0.0037604146637022495,
-0.13794653117656708,
-0.06669942289590836,
-0.024308474734425545,
-0.025463443249464035,
0.011486520990729332,
-0.029938945546746254,
0.017721544951200485,
-0.015871791169047356,
-0.025661952793598175,
-0.06601365655660629,
0.06265703588724136,
0.036706339567899704,
-0.030660800635814667,
0.007886268198490143,
-0.010024764575064182,
0.04215634614229202,
0.016016162931919098,
-0.006320744752883911,
0.015041658654808998,
0.041181840002536774,
-0.02537321113049984,
0.007949430495500565,
-0.016431229189038277,
-0.05666563659906387,
-0.016629740595817566,
-0.006767392624169588,
-0.03333166614174843,
0.029758481308817863,
0.003992761485278606,
-0.03141874819993973,
0.0023573085200041533,
0.00580191146582365,
0.026095066219568253,
0.002029089955613017,
0.023586619645357132,
0.055113647133111954,
0.008662262931466103,
-0.02555367536842823,
-0.056810006499290466,
-0.01769447699189186,
-0.014770962297916412,
0.0018283239332959056,
0.07113882899284363,
0.02248579077422619,
-0.015249191783368587,
0.014626591466367245,
0.044069260358810425,
-0.09066501259803772,
-0.006965903099626303,
-0.00760654965415597,
0.0019602880347520113,
-0.021042080596089363,
0.025698045268654823,
-0.004931173287332058,
-0.034179843962192535,
-0.023370062932372093,
0.024940097704529762,
0.061105046421289444,
0.010728573426604271,
0.041903696954250336,
0.019526183605194092,
-0.05363384261727333,
0.013011440634727478,
-0.01394985243678093,
-0.023911453783512115,
0.01460854522883892,
0.03058861568570137,
-0.030931496992707253,
0.045621249824762344,
0.048292115330696106,
-0.001549732987768948,
-0.033999379724264145,
-0.00939314067363739,
0.01675606518983841
] |
52,159 |
pebble.pool.base_pool
|
_wait_queue_depletion
| null |
def _wait_queue_depletion(self, timeout: Optional[float]):
tick = time.time()
while self.active:
if timeout is not None and time.time() - tick > timeout:
raise TimeoutError("Tasks are still being executed")
elif self._context.task_queue.unfinished_tasks:
time.sleep(SLEEP_UNIT)
else:
return
|
(self, timeout: Optional[float])
|
[
0.020810073241591454,
0.05958176031708717,
-0.06034376844763756,
-0.01596587896347046,
0.04869593307375908,
0.0013641301775351167,
0.02046535536646843,
-0.00602349080145359,
-0.0022134515456855297,
-0.035669226199388504,
0.015439731068909168,
-0.042309582233428955,
-0.01854219287633896,
-0.056751444935798645,
-0.019050197675824165,
-0.015603018924593925,
0.06262978911399841,
0.0063772802241146564,
-0.0019333682721480727,
-0.0064725312404334545,
0.03273005411028862,
0.049421653151512146,
0.05925518646836281,
-0.038209252059459686,
-0.01596587896347046,
-0.02068307064473629,
0.010686253197491169,
-0.016337811946868896,
-0.03940669447183609,
0.052505973726511,
-0.03142375499010086,
0.03234905004501343,
0.02173536829650402,
0.024910401552915573,
0.024928543716669083,
0.09869816899299622,
0.012509630061686039,
0.02218894474208355,
0.0404227040708065,
-0.015212943777441978,
0.0047398703172802925,
0.016319669783115387,
-0.019267914816737175,
-0.026434415951371193,
-0.006545103620737791,
0.0033791421446949244,
-0.005052838008850813,
0.0062911007553339005,
-0.006037098355591297,
0.06426266580820084,
0.05595315247774124,
-0.051163386553525925,
0.0053930203430354595,
0.019304199144244194,
-0.0015444266609847546,
0.007942117750644684,
-0.03193175792694092,
0.01582980714738369,
0.06364580243825912,
-0.0435795933008194,
0.004134346265345812,
0.020084351301193237,
0.012482414953410625,
-0.000027090543881058693,
0.022225230932235718,
0.07932139188051224,
0.024910401552915573,
0.0025150796864181757,
0.005914632696658373,
0.026978708803653717,
0.007574721239507198,
0.01735382340848446,
-0.008268692530691624,
0.021263649687170982,
0.03623165935277939,
-0.06890728324651718,
0.010377821512520313,
-0.035415224730968475,
-0.03238533437252045,
0.009157702326774597,
-0.03817296773195267,
-0.007189181633293629,
0.034326642751693726,
0.01937677152454853,
0.06963300704956055,
0.05061909556388855,
0.0031954438891261816,
-0.037592388689517975,
-0.06433523446321487,
-0.06397237628698349,
-0.04720820486545563,
0.0370480976998806,
0.01775296963751316,
0.04027755931019783,
0.013044849038124084,
-0.05344941094517708,
-0.022043799981474876,
-0.021227363497018814,
-0.031115323305130005,
-0.029355447739362717,
0.018233761191368103,
0.03381863608956337,
0.012219340540468693,
-0.01056832354515791,
0.0465550534427166,
-0.018097687512636185,
-0.03730209916830063,
-0.03160518407821655,
0.0014491757610812783,
-0.025563551113009453,
-0.01709982007741928,
0.031768471002578735,
0.02757742814719677,
-0.005574450828135014,
-0.0036331447772681713,
-0.010305250063538551,
-0.039733268320560455,
0.008032833226025105,
-0.004934908356517553,
-0.03127861022949219,
0.050691667944192886,
-0.028049148619174957,
-0.011094472371041775,
-0.011094472371041775,
0.0209007877856493,
0.04336187615990639,
-0.07721679657697678,
0.08091798424720764,
0.038245540112257004,
-0.011910908855497837,
-0.026815420016646385,
0.00037930303369648755,
-0.017879970371723175,
-0.0047035845927894115,
-0.008640625514090061,
-0.02608969807624817,
-0.011393832042813301,
0.03849954158067703,
-0.012183055281639099,
-0.06317408382892609,
-0.027087565511465073,
-0.0451761819422245,
-0.02042906917631626,
-0.06034376844763756,
0.040204986929893494,
0.02627112902700901,
-0.029863452538847923,
-0.04550275579094887,
-0.02583569660782814,
-0.020955218002200127,
-0.037810105830430984,
-0.018832480534911156,
0.0023291134275496006,
-0.02391253411769867,
0.06114206090569496,
-0.0056424872018396854,
-0.02882929891347885,
-0.01745360903441906,
0.005311376415193081,
-0.04648248106241226,
0.019249770790338516,
-0.008187049068510532,
-0.06219435855746269,
0.0054293060675263405,
-0.036485664546489716,
0.04074927791953087,
-0.009543241932988167,
0.04245472699403763,
-0.017861828207969666,
0.07373333722352982,
0.06034376844763756,
0.03702995553612709,
-0.03465321660041809,
-0.012990420684218407,
-0.11502690613269806,
0.031949903815984726,
-0.00867691170424223,
0.005588057916611433,
0.02672470547258854,
-0.07337047159671783,
-0.06154121086001396,
0.009461598470807076,
0.022225230932235718,
-0.054356563836336136,
0.0435795933008194,
-0.027631858363747597,
-0.0006491808453574777,
0.09129580110311508,
-0.011393832042813301,
0.03187733143568039,
-0.07202789187431335,
0.0027373319026082754,
0.05236082896590233,
0.008939985185861588,
-0.02498297393321991,
-0.0007778830477036536,
0.005810310132801533,
0.07460419833660126,
0.04198300465941429,
0.025146260857582092,
0.014605151489377022,
-0.0176350399851799,
0.06324665248394012,
-0.03496164828538895,
0.018260974436998367,
-0.04194672033190727,
0.007402362301945686,
-0.08026482909917831,
-0.0350705049932003,
0.0041298107244074345,
-0.05881975218653679,
-0.01487729698419571,
-0.044232744723558426,
-0.0023087025620043278,
0.022696949541568756,
0.030425887554883957,
0.008155298419296741,
0.026851706206798553,
0.023948820307850838,
0.015657447278499603,
-0.009021629579365253,
-0.059364043176174164,
-0.008001082576811314,
-0.008427444845438004,
-0.021172933280467987,
0.0008090664050541818,
0.039297834038734436,
0.03365534916520119,
0.07431391626596451,
-0.011693192645907402,
-0.010577395558357239,
0.05878346785902977,
-0.05573543533682823,
-0.030661746859550476,
0.028539009392261505,
-0.01098561380058527,
-0.02215265855193138,
-0.03253047913312912,
0.03688481077551842,
0.0011713603744283319,
0.013761499896645546,
-0.06448037922382355,
-0.04894993454217911,
-0.05515485629439354,
0.005012016277760267,
-0.011266831308603287,
0.04884107783436775,
0.0018664657836779952,
0.060162339359521866,
-0.003943844232708216,
-0.03296591341495514,
-0.023386385291814804,
-0.007647293619811535,
-0.05174396559596062,
-0.05261483043432236,
-0.05272369086742401,
-0.0554814338684082,
-0.05820288881659508,
0.020719356834888458,
-0.009860744699835777,
-0.01409714575856924,
0.037138812243938446,
-0.02431168034672737,
0.07213674485683441,
-0.007493077777326107,
0.002257675165310502,
0.03485279157757759,
-0.045756760984659195,
0.008032833226025105,
-0.0027237245813012123,
0.06143235042691231,
-0.0451761819422245,
-0.01259127352386713,
-0.03597765788435936,
-0.012019767425954342,
0.027849573642015457,
-0.001159453997388482,
-0.004748941864818335,
-0.07598306983709335,
0.010223605670034885,
0.06255722045898438,
0.022261517122387886,
-0.018569406121969223,
0.02193494141101837,
-0.052251968532800674,
0.05098195746541023,
-0.0232775267213583,
0.04009613022208214,
0.001831313595175743,
0.037810105830430984,
-0.046409908682107925,
0.03258490934967995,
0.019013911485671997,
-0.006100598722696304,
-0.021626509726047516,
-0.015657447278499603,
-0.03871725872159004,
-0.03677595406770706,
0.03465321660041809,
0.03657637909054756,
0.0038463256787508726,
0.020719356834888458,
-0.07021358609199524,
0.0023903462570160627,
-0.05950918793678284,
0.03871725872159004,
0.007778830826282501,
-0.007175574544817209,
-0.0035424295347183943,
-0.01713610626757145,
0.0001394037826685235,
-0.02583569660782814,
0.031369324773550034,
-0.021281791850924492,
0.07460419833660126,
0.010686253197491169,
-0.05856575071811676,
-0.03557851165533066,
-0.02775885909795761,
-0.01086768414825201,
-0.017879970371723175,
0.05584429204463959,
-0.005202518310397863,
0.0015149442479014397,
-0.06197664141654968,
0.0028983515221625566,
0.003596858587116003,
0.05831174552440643,
0.014079002663493156,
-0.009479740634560585,
0.022751377895474434,
-0.011248688213527203,
-0.01626523956656456,
-0.04826049879193306,
-0.01563023403286934,
0.0028552617877721786,
0.054356563836336136,
0.03603208810091019,
0.05627972632646561,
0.04350702092051506,
-0.01753525249660015,
0.016219882294535637,
0.010405036620795727,
0.030425887554883957,
0.0019152251770719886,
-0.012137697078287601,
-0.02844829484820366,
-0.0049621229991316795,
0.08868320286273956,
-0.0657866820693016,
-0.0038440576754510403,
-0.0009309650049544871,
0.01602938026189804,
0.06175892427563667,
-0.0023381849750876427,
-0.025345833972096443,
0.06335551291704178,
0.07743451744318008,
0.009534169919788837,
0.010151034221053123,
-0.04738963395357132,
0.03251233696937561,
-0.00789676047861576,
0.029355447739362717,
0.0002850442542694509,
-0.01300856377929449,
0.03419964015483856,
-0.00920305959880352,
-0.01012381911277771,
-0.005606201011687517,
-0.01874176599085331,
0.035179365426301956,
0.02345895767211914,
-0.02888372726738453,
0.020574213936924934,
0.02345895767211914,
-0.03341948986053467,
0.006708391010761261,
0.035850659012794495,
0.0034698573872447014,
-0.019467487931251526,
-0.023604102432727814,
-0.01745360903441906,
-0.03405449539422989,
-0.06879843026399612,
-0.049820803105831146,
-0.06861699372529984,
-0.03037145733833313,
0.036485664546489716,
0.03987841308116913,
0.016510171815752983,
-0.05228825658559799,
-0.0400235578417778,
0.0271419957280159,
-0.015466946177184582,
-0.04013241454958916,
0.019993634894490242,
-0.05660630017518997,
-0.02411210723221302,
-0.008046440780162811,
-0.022787664085626602,
-0.004544832743704319,
-0.057186879217624664,
-0.0422007218003273,
0.04118471220135689,
-0.01892319694161415,
0.03381863608956337,
-0.016646243631839752,
0.0017734826542437077,
0.05145367607474327,
0.05856575071811676,
-0.03947926685214043,
0.05584429204463959,
0.004649155307561159,
-0.019104626029729843,
-0.0082233352586627,
-0.02781328745186329,
-0.004238668829202652,
0.012536844238638878,
0.006794570479542017,
0.00937995407730341,
-0.02411210723221302,
-0.0019753240048885345,
-0.009751887060701847,
-0.05831174552440643,
0.042309582233428955,
-0.03726581484079361,
0.02989973872900009,
-0.01594773679971695,
-0.0491313673555851,
-0.03835439682006836,
0.0271419957280159,
0.014242290519177914,
-0.016138238832354546,
0.04539389908313751,
0.04245472699403763,
0.03483464568853378,
-0.03358277678489685,
-0.0011736282613128424,
0.02926473133265972,
-0.03445364162325859,
0.05196168273687363,
-0.018669193610548973,
0.015684662386775017,
0.030081169679760933,
-0.039733268320560455,
0.05421141907572746,
0.049203939735889435,
-0.021807940676808357,
0.030063025653362274,
-0.007529363967478275,
0.031333040446043015,
0.06005347892642021,
0.01747175306081772,
-0.033256202936172485,
-0.034090783447027206,
-0.028756726533174515,
0.03472578898072243,
-0.03530636429786682,
-0.020374638959765434,
-0.021372506394982338,
0.03893497586250305,
-0.02563612349331379,
0.012636630795896053,
0.013961073011159897,
0.020302068442106247,
0.007193717174232006,
-0.0027736180927604437,
0.025781266391277313,
0.03385492041707039,
0.008114476688206196,
0.012672916986048222,
-0.021862369030714035,
-0.04310787469148636,
0.011212402023375034,
-0.049203939735889435,
0.03251233696937561,
0.09993189573287964,
0.01709982007741928,
0.002273550257086754,
0.01838797703385353,
-0.012110482901334763,
0.005488271359354258,
-0.036703381687402725,
-0.035215649753808975,
0.0560620091855526,
0.020175065845251083,
0.005810310132801533,
-0.021064074710011482,
-0.05852946266531944,
-0.06357323378324509,
-0.08048254996538162,
0.018260974436998367,
0.09862559288740158,
0.07866824418306351,
-0.04205557703971863,
-0.05852946266531944,
0.04267244040966034,
0.025109974667429924,
0.020120637491345406,
0.06981443613767624,
0.021390650421380997,
-0.048986222594976425,
0.05185282230377197,
0.044885892421007156,
-0.06705669313669205,
0.010160105302929878,
0.027287140488624573,
0.0002951079804915935,
-0.012808989733457565,
0.02173536829650402,
0.009652099572122097,
0.04524875432252884,
-0.05638858303427696,
-0.008395694196224213,
-0.006926107686012983,
-0.04376102611422539,
-0.026543274521827698,
0.10348793119192123,
0.020338352769613266,
0.020338352769613266,
0.018596621230244637,
-0.0238762479275465,
0.043180447071790695,
-0.02650698833167553,
0.016092881560325623,
-0.014532579109072685,
0.009552313014864922,
-0.03831811249256134,
0.020193209871649742,
-0.01648295670747757,
0.009248416870832443,
-0.010060318745672703,
-0.04386988282203674,
-0.029228445142507553,
0.04630105197429657,
-0.009987746365368366,
-0.0004130377492401749,
-0.07405991107225418,
-0.0624120756983757,
0.009615814313292503,
0.022769521921873093,
0.07503963261842728,
-0.04434160143136978,
-0.01977591961622238,
0.06999586522579193,
-0.012328199110925198,
0.039080120623111725,
0.00937995407730341,
0.014895440079271793,
0.03516122326254845,
0.03751981630921364,
0.006980536505579948,
0.012736417353153229,
0.036249805241823196,
0.006009883712977171,
-0.0013017634628340602,
-0.011266831308603287,
0.03677595406770706,
0.004624208435416222,
0.023132381960749626,
-0.02284209430217743,
-0.03216761723160744,
0.006467995699495077,
0.038680970668792725,
-0.05947290360927582,
-0.025926411151885986,
-0.009742815047502518,
0.10914856195449829,
0.029464304447174072,
0.006540567614138126,
-0.03601394593715668,
-0.03597765788435936,
-0.044922180473804474,
0.04216443747282028,
-0.04967565834522247,
-0.009135023690760136,
-0.031949903815984726,
-0.02821243554353714,
-0.0392252653837204,
0.049820803105831146,
0.011411975137889385,
-0.012300984933972359,
-0.0012960938038304448,
-0.03595951572060585,
-0.022896522656083107,
0.01800697296857834,
0.000784119707532227,
0.028956299647688866,
0.04093071073293686,
0.016628101468086243,
0.09521470218896866,
0.0495305135846138,
-0.005950918886810541,
0.036521948873996735,
0.020791929215192795,
0.05279626324772835,
0.02414839342236519,
-0.049820803105831146,
0.008722268976271152,
0.06604068726301193,
0.017054462805390358,
0.0011985749006271362,
0.04521246999502182,
-0.021608367562294006,
0.01957634650170803,
-0.02628927305340767,
-0.03425407037138939,
0.028956299647688866,
-0.030317028984427452,
-0.006848999764770269,
-0.006068848539143801,
0.014042717404663563,
0.03017188422381878,
-0.04630105197429657,
0.0002162991149816662,
-0.0778699517250061,
-0.006000812165439129,
-0.014396506361663342,
0.016138238832354546,
-0.01626523956656456,
0.03849954158067703,
0.029391733929514885,
-0.01107632927596569,
0.013389566913247108,
-0.04503103718161583,
0.003481196705251932,
-0.045575328171253204,
-0.03900754824280739,
-0.012899705208837986,
-0.00035690772347152233,
-0.027305282652378082,
-0.012808989733457565,
0.02950059063732624,
-0.05776745453476906,
0.017580611631274223,
0.010187319479882717,
0.015802592039108276,
-0.040386419743299484,
-0.07376962155103683,
0.00400734506547451,
-0.06244836002588272,
-0.09623070806264877,
-0.0271419957280159,
0.05798517167568207,
-0.06589554250240326,
-0.05519114434719086,
-0.006771891377866268,
0.029573163017630577,
-0.011021899990737438,
-0.04132985696196556,
0.049203939735889435,
-0.008509088307619095,
-0.01773482747375965,
-0.02647070214152336,
-0.05620715394616127,
-0.023585958406329155,
0.02452939748764038,
-0.0173356793820858,
0.02153579518198967,
0.060815487056970596,
-0.005896489601582289,
-0.06154121086001396,
-0.011112615466117859,
-0.010060318745672703,
-0.009216667152941227,
0.0019447077065706253,
0.0022452017292380333,
-0.11241430789232254,
0.03098832070827484,
0.031550753861665726,
-0.08679632842540741,
0.008890092372894287,
-0.0026466166600584984,
-0.06306522339582443,
0.0005162263405509293,
-0.042345866560935974,
0.020138779655098915,
0.052868831902742386,
0.026525132358074188,
0.007302575744688511,
-0.04154757410287857,
-0.028103576973080635,
-0.008413837291300297,
0.046881627291440964,
0.05319540947675705,
0.03641309216618538,
-0.07532992213964462,
0.017589682713150978,
-0.016954675316810608,
-0.021227363497018814,
0.005597129464149475,
0.03944297879934311,
0.04455931857228279,
-0.048369359225034714,
-0.04416017234325409,
0.006037098355591297,
0.03702995553612709,
0.02347709983587265,
-0.04386988282203674,
0.06843556463718414,
-0.03770124912261963,
0.011829265393316746,
0.01709982007741928,
0.042091865092515945,
0.07460419833660126,
-0.014042717404663563,
0.046373624354600906,
-0.03490721806883812,
-0.010169176384806633,
-0.005710523575544357,
-0.03296591341495514,
0.0024016855750232935,
0.026180414482951164,
-0.027051281183958054,
-0.011883694678544998,
0.00007540702790720388,
0.004889550618827343,
0.010314321145415306,
-0.012926919385790825,
0.016092881560325623,
0.041003283113241196,
0.018796194344758987,
0.008522695861756802,
-0.0342722125351429,
0.05065538361668587,
-0.013416782021522522,
-0.024366110563278198,
0.013906643725931644,
0.03385492041707039,
-0.015539518557488918,
0.04891365021467209,
0.025962697342038155,
0.03380049392580986,
-0.0161473099142313,
-0.031768471002578735,
0.0582391731441021,
0.015040584839880466,
-0.004671833943575621,
0.0035560368560254574,
0.0560620091855526,
-0.03831811249256134,
0.06448037922382355,
-0.004220525734126568,
0.0352700799703598,
0.013970145024359226,
-0.05787631496787071,
-0.008690518327057362,
-0.03403635323047638,
-0.07195531576871872,
0.03556036949157715,
-0.004515350330621004,
-0.011901837773621082,
0.025908268988132477,
0.005334055051207542,
0.024892257526516914,
-0.010486680082976818,
0.014079002663493156,
-0.04205557703971863,
0.006712926551699638,
-0.003562840400263667,
-0.046373624354600906,
0.007393290754407644,
0.03120603784918785,
-0.0013697999529540539,
-0.04713563248515129,
-0.012945062480866909,
0.03791896253824234
] |
52,160 |
pebble.pool.base_pool
|
close
|
Closes the Pool preventing new tasks from being accepted.
Pending tasks will be completed.
|
def close(self):
"""Closes the Pool preventing new tasks from being accepted.
Pending tasks will be completed.
"""
self._context.state = CLOSED
|
(self)
|
[
0.030266933143138885,
-0.02610049583017826,
0.002857969840988517,
0.009701602160930634,
-0.01760406233370304,
-0.030473534017801285,
-0.014728874899446964,
0.016614101827144623,
0.03365861997008324,
-0.05653959512710571,
-0.03612060844898224,
-0.060602735728025436,
0.022243957966566086,
0.015684401616454124,
-0.008909635245800018,
0.04152664542198181,
-0.003794127143919468,
-0.05774476379156113,
-0.0191277377307415,
-0.028665782883763313,
-0.018008653074502945,
0.04159551486372948,
0.06018953397870064,
-0.040734678506851196,
-0.02005743980407715,
0.01288668904453516,
-0.00961551908403635,
-0.004506467375904322,
-0.05757259950041771,
-0.053509458899497986,
-0.04889538884162903,
0.01682930998504162,
-0.002408183878287673,
0.0454520508646965,
0.03921961039304733,
0.05003168806433678,
-0.013291281647980213,
0.02505027875304222,
0.0397016778588295,
0.014935474842786789,
0.021847974509000778,
-0.05581649765372276,
-0.05626412853598595,
0.006804895121604204,
0.005474905949085951,
0.001048603793606162,
0.013110506348311901,
-0.008337180130183697,
0.07065727561712265,
0.004592550918459892,
-0.02207179181277752,
-0.03584514185786247,
-0.02155529148876667,
0.032470669597387314,
-0.009400310926139355,
0.06872901320457458,
0.012180805206298828,
0.03921961039304733,
0.02840753272175789,
-0.049928389489650726,
0.0023242526222020388,
0.009538044221699238,
-0.03135158494114876,
-0.051615625619888306,
0.014143507927656174,
0.03135158494114876,
-0.027615563943982124,
0.06297864019870758,
0.025119144469499588,
-0.001864782301709056,
0.0471048541367054,
-0.03811774402856827,
-0.011543788015842438,
0.03684370964765549,
-0.023397475481033325,
-0.036499373614788055,
-0.012017247267067432,
0.0008226347854360938,
0.0080746253952384,
-0.03677484020590782,
-0.029337232932448387,
0.007312787231057882,
0.02081497386097908,
0.03794557601213455,
0.049377456307411194,
-0.057090532034635544,
0.037876710295677185,
-0.019627021625638008,
-0.10543498396873474,
-0.02346634306013584,
-0.014651400037109852,
0.09035316854715347,
-0.011543788015842438,
0.011879513040184975,
0.076510950922966,
-0.047173719853162766,
-0.045486483722925186,
0.044419050216674805,
-0.005926844198256731,
-0.03942621126770973,
-0.04397141560912132,
-0.03272892162203789,
-0.038186609745025635,
-0.030903952196240425,
0.03684370964765549,
-0.05543772876262665,
0.00041589056490920484,
-0.011879513040184975,
-0.06593991070985794,
-0.0538882277905941,
-0.055299993604421616,
0.02238169126212597,
-0.03365861997008324,
0.009753252379596233,
-0.012077504768967628,
0.021693024784326553,
-0.007218095473945141,
0.0201607383787632,
0.013695873320102692,
-0.017802054062485695,
-0.05357832834124565,
0.03114498406648636,
-0.02692689746618271,
-0.03539750725030899,
-0.001131997094489634,
0.13442789018154144,
-0.03612060844898224,
0.01626976765692234,
-0.00020323759235907346,
0.00292038032785058,
0.02186519093811512,
0.003324972465634346,
0.003871602239087224,
0.054232560098171234,
0.029836516827344894,
-0.0010276209795847535,
0.010510786436498165,
0.0100803691893816,
0.01441897451877594,
0.02060837298631668,
-0.0018959875451400876,
-0.0009194786543957889,
-0.027495047077536583,
-0.0030107679776847363,
0.07926562428474426,
0.005427560303360224,
-0.02071167342364788,
-0.05850229784846306,
-0.018318554386496544,
-0.01676044426858425,
0.0392884761095047,
0.0030817866791039705,
0.030129199847579002,
0.014350107870995998,
0.0005557761178351939,
0.023913977667689323,
0.0009006478940136731,
0.02250220812857151,
0.017018694430589676,
-0.0612914003431797,
0.006292698904871941,
0.0448322519659996,
-0.025635644793510437,
0.004700155463069677,
-0.044728949666023254,
-0.03183365240693092,
0.02134869061410427,
0.030766217038035393,
0.005802023224532604,
0.013196589425206184,
-0.03505317121744156,
-0.03169591724872589,
-0.016502194106578827,
0.012559572234749794,
-0.03212633728981018,
0.04603741690516472,
0.014780525118112564,
0.006447649095207453,
-0.015744660049676895,
-0.04056251049041748,
-0.028889598324894905,
-0.02534296177327633,
-0.05829569697380066,
0.01892113871872425,
0.022002924233675003,
0.010493570007383823,
0.0036908271722495556,
0.03276335448026657,
-0.02556677907705307,
-0.022347258403897285,
-0.01797422021627426,
0.0030882430728524923,
0.0173802450299263,
0.014677224680781364,
0.02408614382147789,
-0.003862994024530053,
-0.04070024564862251,
0.011388837359845638,
0.024654293432831764,
0.010562436655163765,
-0.011664304882287979,
0.02398284338414669,
0.06125696748495102,
-0.05440472811460495,
0.06635310500860214,
-0.008548084646463394,
-0.036292772740125656,
-0.0392884761095047,
-0.01039887871593237,
-0.03383078798651695,
0.00551794795319438,
0.04379924759268761,
-0.011268321424722672,
0.06507907062768936,
0.08215802907943726,
0.03169591724872589,
-0.007794854696840048,
-0.014048815704882145,
-0.007007191423326731,
0.022209525108337402,
0.0024426174350082874,
-0.025721728801727295,
0.042835116386413574,
-0.006512211635708809,
-0.00829844269901514,
0.03283222019672394,
0.012327146716415882,
0.004147069063037634,
0.07024408131837845,
0.028751865029335022,
-0.02980208396911621,
0.029440533369779587,
-0.006241048686206341,
-0.018008653074502945,
-0.006736028473824263,
-0.010045936331152916,
-0.05443916097283363,
-0.0002099628618452698,
-0.07768169045448303,
0.012688697315752506,
-0.014152116142213345,
-0.04576195031404495,
-0.009830727241933346,
-0.08215802907943726,
-0.019781971350312233,
0.014918258413672447,
0.01859402097761631,
0.02174467407166958,
0.0971021056175232,
0.001060978276655078,
0.011948379687964916,
-0.07134594768285751,
0.013360148295760155,
-0.0612914003431797,
-0.05130572244524956,
-0.0952427089214325,
-0.04214644804596901,
-0.058157965540885925,
-0.008591126650571823,
0.005638464819639921,
0.018731754273176193,
0.059845201671123505,
-0.05936313420534134,
0.0925569012761116,
0.05226985737681389,
0.03365861997008324,
0.05006612464785576,
-0.07024408131837845,
0.006972757633775473,
-0.015804918482899666,
0.06900447607040405,
0.006047361064702272,
0.008685817942023277,
-0.03493265435099602,
-0.035982873290777206,
-0.02608327940106392,
-0.014100465923547745,
0.003772606374695897,
-0.11177072674036026,
-0.03474327176809311,
0.06831581145524979,
0.06222110241651535,
-0.008655688725411892,
0.03536307439208031,
-0.026875246316194534,
0.018198037520051003,
-0.010364444926381111,
0.04183654859662056,
-0.005647073034197092,
-0.018990004435181618,
-0.07513361424207687,
0.03465718775987625,
0.019695889204740524,
0.021624157205224037,
0.046967118978500366,
-0.002993551315739751,
-0.020436206832528114,
0.0010604402050375938,
-0.02544626221060753,
0.015847958624362946,
0.009865161031484604,
-0.0392884761095047,
-0.02980208396911621,
-0.020573940128087997,
-0.011294146068394184,
0.0201607383787632,
0.04782795533537865,
-0.0009027999476529658,
-0.028149280697107315,
0.03293551877140999,
0.05426699295639992,
-0.01760406233370304,
-0.005345780868083239,
-0.01680348627269268,
0.04335161671042442,
0.02470594458281994,
-0.012292713858187199,
0.007428999990224838,
-0.004626984242349863,
0.019695889204740524,
-0.08477496355772018,
-0.0403214767575264,
0.04149221256375313,
-0.00971881952136755,
-0.02377624250948429,
0.034794922918081284,
0.013489273376762867,
0.03293551877140999,
0.01384221576154232,
0.019781971350312233,
-0.007842200808227062,
0.02377624250948429,
0.010846512392163277,
-0.042835116386413574,
-0.06373617053031921,
-0.02747783064842224,
0.04703598469495773,
0.001385943265631795,
-0.000007801310857757926,
-0.0771307498216629,
-0.02186519093811512,
-0.018955571576952934,
0.0012557420413941145,
0.04662278667092323,
-0.1232026070356369,
-0.0035875269677489996,
0.000691357534378767,
-0.06180790439248085,
0.06738610565662384,
-0.05134015902876854,
0.039460644125938416,
0.020470639690756798,
0.0009469177457503974,
0.06483803689479828,
-0.002591111231595278,
0.034485023468732834,
0.04476338252425194,
0.05891549959778786,
0.048964254558086395,
-0.05344059318304062,
-0.05474906042218208,
-0.07375628501176834,
-0.0019540938083082438,
0.005591118708252907,
0.004579638596624136,
-0.010725995525717735,
0.044522348791360855,
0.0029289887752383947,
-0.01795700378715992,
0.001071200706064701,
-0.019420422613620758,
-0.041974280029535294,
-0.009383093565702438,
0.032384585589170456,
-0.04021817818284035,
0.011225279420614243,
-0.039013009518384933,
-0.010088978335261345,
-0.006637032609432936,
0.04837888851761818,
-0.031196635216474533,
-0.007355829235166311,
0.027925465255975723,
-0.013713090680539608,
-0.07175914943218231,
-0.044935550540685654,
-0.008182230405509472,
-0.020350122824311256,
0.023087576031684875,
0.01857680454850197,
0.05123685672879219,
-0.03942621126770973,
0.01035583671182394,
0.0020713824778795242,
-0.012835039757192135,
-0.019420422613620758,
0.04879208654165268,
-0.024223877117037773,
0.01676044426858425,
-0.03383078798651695,
0.0016614102059975266,
0.012189413420855999,
-0.005621247924864292,
-0.02174467407166958,
0.03625833988189697,
0.014591141603887081,
0.035122040659189224,
-0.004022248089313507,
0.07100161164999008,
-0.022106224671006203,
0.009908203035593033,
-0.010235319845378399,
-0.005522252060472965,
-0.05843343213200569,
-0.02523966133594513,
-0.020556723698973656,
-0.02978486754000187,
0.018249686807394028,
0.09916811436414719,
-0.0012901753652840853,
0.07954108715057373,
0.03340037167072296,
0.040837980806827545,
-0.05278635770082474,
-0.044315747916698456,
-0.05977633222937584,
0.04655391722917557,
0.00903015211224556,
0.007248224690556526,
-0.019919706508517265,
-0.08759849518537521,
0.047483619302511215,
0.0005697646993212402,
0.01288668904453516,
0.036086175590753555,
0.010708779096603394,
0.021951274946331978,
-0.00443760072812438,
0.011991421692073345,
0.034915439784526825,
0.015529450960457325,
0.0327117033302784,
0.024568211287260056,
-0.027081847190856934,
0.08456835895776749,
-0.053096260875463486,
0.0070244078524410725,
0.0016345090698450804,
0.019781971350312233,
0.0006569241522811353,
0.005010055843740702,
-0.004286954645067453,
0.04762135446071625,
0.00654664495959878,
-0.0475180521607399,
0.033314287662506104,
0.020952707156538963,
-0.01431567408144474,
-0.047690220177173615,
-0.007893850095570087,
-0.01309328991919756,
0.0019207365112379193,
0.02093549072742462,
0.026548130437731743,
-0.03433007001876831,
-0.053096260875463486,
0.014393149875104427,
-0.026134928688406944,
0.022674376145005226,
0.010545220226049423,
-0.003148501506075263,
0.015322850085794926,
-0.005470601841807365,
-0.032797787338495255,
-0.03093838505446911,
0.023276958614587784,
-0.024120576679706573,
0.05113355815410614,
0.06814364343881607,
-0.008720251731574535,
0.02365572564303875,
-0.03560410812497139,
0.07127708196640015,
0.017698753625154495,
-0.07007191330194473,
-0.006099010817706585,
0.06986530870199203,
-0.045176584273576736,
-0.005935452412813902,
-0.025911113247275352,
-0.02019517309963703,
-0.037980008870363235,
0.022967059165239334,
0.000652619986794889,
0.02842474915087223,
0.0070416247472167015,
-0.07007191330194473,
-0.048964254558086395,
0.007532299961894751,
-0.045038849115371704,
0.0027955593541264534,
0.037222474813461304,
-0.02959548309445381,
0.008840768598020077,
0.06755827367305756,
-0.027012979611754417,
-0.017294161021709442,
-0.01167291309684515,
-0.013997165486216545,
0.009271185845136642,
-0.03539750725030899,
-0.04300728067755699,
0.00758395018056035,
-0.011638479307293892,
0.045899685472249985,
0.03160983696579933,
-0.009202318266034126,
0.022467775270342827,
0.04039034619927406,
-0.013523707166314125,
0.059741899371147156,
0.039563942700624466,
-0.01172456331551075,
0.03791114315390587,
-0.014987125061452389,
-0.05158119276165962,
0.008625559508800507,
-0.01620950922369957,
-0.021916842088103294,
0.10254257917404175,
0.013988557271659374,
-0.03217798471450806,
0.004734588786959648,
-0.019265471026301384,
-0.013334323652088642,
-0.00038091916940174997,
-0.06476917117834091,
-0.05612639710307121,
-0.019472071900963783,
-0.027736080810427666,
-0.039460644125938416,
0.02978486754000187,
0.0645970031619072,
0.010218103416264057,
-0.02980208396911621,
0.04972178861498833,
0.035741839557886124,
0.01618368551135063,
-0.00517791835591197,
0.005845064762979746,
0.04193984717130661,
0.015977084636688232,
0.01911052130162716,
-0.022467775270342827,
0.03276335448026657,
-0.01600291021168232,
0.019678672775626183,
-0.005556685384362936,
-0.03334872052073479,
0.006662857253104448,
-0.03897857666015625,
0.03241901844739914,
-0.005629856139421463,
-0.013885256834328175,
0.022949842736124992,
0.028476398438215256,
0.00019516727479640394,
0.004898147191852331,
0.056470729410648346,
0.010381661355495453,
0.036499373614788055,
-0.06866014003753662,
0.08133162558078766,
-0.00972742773592472,
0.026565346866846085,
-0.02968156710267067,
0.01361839845776558,
0.0057675899006426334,
-0.008487826213240623,
-0.0002205887867603451,
-0.025515127927064896,
0.03136880323290825,
-0.055919796228408813,
-0.07389401644468307,
-0.06363286823034286,
0.052648626267910004,
0.007743204478174448,
0.00869012251496315,
0.03403738886117935,
0.04858548939228058,
0.023724593222141266,
0.01890392042696476,
0.05295852571725845,
-0.006378781981766224,
-0.019678672775626183,
-0.03009476698935032,
-0.03283222019672394,
-0.003137741005048156,
-0.017121994867920876,
0.06552670896053314,
0.01892113871872425,
0.02914784848690033,
0.020246822386980057,
0.02608327940106392,
0.0023005795665085316,
0.032160770148038864,
-0.050651490688323975,
-0.011965597048401833,
-0.050238288938999176,
0.03513925522565842,
-0.017991436645388603,
-0.058157965540885925,
0.033865220844745636,
0.019988572224974632,
-0.06094706803560257,
-0.01931712217628956,
-0.06576774269342422,
0.031627051532268524,
0.012714522890746593,
-0.06136026978492737,
-0.015081817284226418,
-0.04132004454731941,
0.013523707166314125,
0.005358693655580282,
-0.030800651758909225,
0.01878340356051922,
-0.002068154513835907,
-0.01447923295199871,
-0.08725416660308838,
0.022760458290576935,
-0.03780784085392952,
-0.03403738886117935,
0.012654264457523823,
0.03255675360560417,
0.006297003012150526,
0.021107656881213188,
0.043592650443315506,
0.03402017056941986,
0.014100465923547745,
-0.05922539904713631,
0.0035573977511376143,
-0.048757653683423996,
0.002485658973455429,
-0.060774900019168854,
0.005078922491520643,
-0.018404636532068253,
-0.03224685415625572,
-0.03811774402856827,
0.044419050216674805,
-0.034485023468732834,
-0.009856552816927433,
0.06321967393159866,
0.009004326537251472,
-0.02820093184709549,
-0.052889660000801086,
-0.02208900824189186,
-0.04152664542198181,
-0.001356890075840056,
-0.03377913683652878,
-0.023638509213924408,
-0.029922600835561752,
0.0021908232010900974,
0.023638509213924408,
0.03756680712103844,
-0.02501584403216839,
0.00414922134950757,
-0.03021528385579586,
0.023311393335461617,
-0.04428131505846977,
0.04373038187623024,
0.04713928699493408,
-0.030473534017801285,
0.011965597048401833,
0.05165005847811699,
-0.04861992225050926,
0.0312655009329319,
-0.020883839577436447,
0.006684378255158663,
-0.04001157730817795,
0.028992898762226105,
0.006942628417164087,
-0.014238199219107628,
-0.011251104064285755,
-0.013764740899205208,
0.08319102972745895,
0.05774476379156113,
-0.06180790439248085,
-0.02208900824189186,
0.033107686787843704,
0.0025545258540660143,
0.00869012251496315,
0.039770543575286865,
0.002266146242618561,
0.013609790243208408,
-0.07334308326244354,
-0.015701618045568466,
-0.04159551486372948,
-0.0403214767575264,
0.04662278667092323,
-0.008018671534955502,
0.0013246088055893779,
-0.054990094155073166,
0.021899623796343803,
-0.03186808526515961,
0.049687355756759644,
0.048860955983400345,
-0.04107901453971863,
-0.0017722425982356071,
0.004898147191852331,
0.029320016503334045,
0.02134869061410427,
0.017939787358045578,
0.007588254287838936,
0.07292988151311874,
0.029870949685573578,
0.04342048242688179,
-0.04741475358605385,
-0.042731814086437225,
0.0030021595302969217,
0.004379494581371546,
-0.006305611226707697,
0.008634167723357677,
0.05619526281952858,
-0.06349513679742813,
0.04806898906826973,
-0.013609790243208408,
-0.0320919044315815,
0.018043087795376778,
0.03309047222137451,
0.041457779705524445,
-0.044935550540685654,
-0.05016942322254181,
-0.07251667976379395,
0.003525116480886936,
-0.023827893659472466,
0.00034433373366482556,
0.0781637579202652,
0.03646494075655937,
-0.009073193185031414,
-0.0002566362381912768,
0.010433311574161053,
-0.05715939775109291,
0.024137793108820915,
0.01247348915785551,
0.001964854309335351,
-0.0152195505797863,
0.009469177573919296,
0.01373030710965395,
-0.012568180449306965,
-0.02820093184709549,
0.05168449133634567,
0.07265441119670868,
0.039770543575286865,
0.0403214767575264,
0.026599779725074768,
-0.025807812809944153,
0.034794922918081284,
0.034071821719408035,
-0.061119236052036285,
0.025842245668172836,
0.008612646721303463,
0.013945515267550945,
0.010424703359603882,
0.009443351998925209,
0.04944632202386856,
-0.00027573597617447376,
0.033934086561203,
0.037670109421014786
] |
52,161 |
pebble.pool.base_pool
|
join
|
Joins the pool waiting until all workers exited.
If *timeout* is set, it block until all workers are done
or raises TimeoutError.
|
def join(self, timeout: float = None):
"""Joins the pool waiting until all workers exited.
If *timeout* is set, it block until all workers are done
or raises TimeoutError.
"""
if self._context.state == RUNNING:
raise RuntimeError('The Pool is still running')
if self._context.state == CLOSED:
self._wait_queue_depletion(timeout)
self.stop()
self.join()
else:
self._context.task_queue.put(None)
self._stop_pool()
|
(self, timeout: Optional[float] = None)
|
[
0.02622688189148903,
0.022138139232993126,
-0.01900712214410305,
0.019578073173761368,
-0.010424449108541012,
-0.014457936398684978,
-0.011492677964270115,
-0.04155045375227928,
0.015019678510725498,
-0.026705743744969368,
-0.029302645474672318,
-0.05753706395626068,
0.024182511493563652,
0.0057417345233261585,
0.015526166185736656,
0.02799498662352562,
-0.017395569011569023,
-0.04523400217294693,
0.004652785137295723,
0.008591881953179836,
0.013067396357655525,
0.013150276616215706,
0.09142573177814484,
-0.06018922105431557,
0.006031814496964216,
-0.00206854403950274,
0.006363334134221077,
-0.02173294872045517,
-0.038898296654224396,
0.021567190065979958,
-0.0661197379231453,
-0.0041255769319832325,
0.0021514238324016333,
0.06273087114095688,
0.055584780871868134,
0.054369207471609116,
-0.02648472972214222,
0.014034328050911427,
0.09562497586011887,
0.0319732204079628,
-0.01697196066379547,
-0.026300553232431412,
-0.03591461852192879,
-0.0017174555687233806,
0.01019422709941864,
-0.0020927172154188156,
0.018390126526355743,
-0.007251990493386984,
0.03374132513999939,
0.0017278154846280813,
-0.014872335828840733,
-0.014715785160660744,
0.02324320562183857,
-0.008071580901741982,
-0.0341465137898922,
0.02060946635901928,
-0.02941315248608589,
-0.00553913926705718,
0.024348270148038864,
-0.03550942987203598,
-0.021327758207917213,
-0.02353788912296295,
0.01025868859142065,
0.023740485310554504,
-0.011391380801796913,
0.05057515203952789,
-0.005612810607999563,
0.06645125895738602,
0.02164086140692234,
-0.013177902437746525,
0.05153287574648857,
-0.010534955188632011,
-0.024606119841337204,
0.02985517866909504,
0.004100252408534288,
-0.014439518563449383,
-0.0027097121346741915,
-0.020591048523783684,
-0.019504401832818985,
-0.0239799153059721,
-0.04317121580243111,
0.029486823827028275,
-0.028510682284832,
0.007615741342306137,
0.07238177210092545,
-0.010221852920949459,
-0.038345761597156525,
-0.03830892965197563,
-0.08869989961385727,
-0.0920150950551033,
-0.003927586134523153,
0.08803686499595642,
0.01845458894968033,
0.03193638473749161,
0.022303899750113487,
-0.041366275399923325,
-0.01809544302523136,
0.035398922860622406,
-0.039856020361185074,
-0.027405617758631706,
0.007730852346867323,
-0.057095035910606384,
-0.022322317585349083,
-0.017008796334266663,
0.051827557384967804,
-0.014200088568031788,
-0.023003773763775826,
0.01082043070346117,
-0.02504814602434635,
-0.018473006784915924,
-0.025177069008350372,
-0.006257432047277689,
0.0018233576556667686,
-0.03948766365647316,
-0.05823693796992302,
0.04107159003615379,
-0.024164093658328056,
0.03265467658638954,
-0.002359774662181735,
-0.03379657864570618,
0.021953962743282318,
0.033244047313928604,
-0.016382591798901558,
-0.052085407078266144,
0.0007603078847751021,
0.03711177408695221,
-0.0885525569319725,
0.03620930388569832,
-0.0027649651747196913,
-0.049322742968797684,
0.007302639540284872,
0.05020679533481598,
-0.021069910377264023,
0.02902637980878353,
0.033851832151412964,
-0.010940145701169968,
-0.04545501619577408,
0.038161586970090866,
0.023390546441078186,
0.009540396742522717,
0.006041023414582014,
-0.040629565715789795,
-0.007385519333183765,
-0.028823785483837128,
0.03771955892443657,
-0.010313942097127438,
-0.014835501089692116,
-0.04733362793922424,
-0.016382591798901558,
-0.016566770151257515,
0.0073763104155659676,
0.0012903938768431544,
0.08567938953638077,
-0.042618680745363235,
-0.001261616125702858,
0.00006485783524112776,
0.004070323426276445,
0.01218334399163723,
0.027368782088160515,
-0.04902806133031845,
0.011161158792674541,
0.009149019606411457,
-0.030868155881762505,
0.007353288121521473,
-0.061662640422582626,
0.004533069673925638,
0.003784848377108574,
0.030868155881762505,
0.031770624220371246,
0.04107159003615379,
0.017727088183164597,
-0.05105401203036308,
-0.007357892580330372,
0.003823986044153571,
-0.12686148285865784,
0.06387276947498322,
-0.06184681877493858,
0.032157398760318756,
0.004003559239208698,
-0.06873505562543869,
-0.03794057294726372,
-0.009213481098413467,
0.01082043070346117,
-0.050906673073768616,
0.024900803342461586,
0.002174446126446128,
0.005460863932967186,
0.04917540401220322,
-0.03643031790852547,
-0.01351863145828247,
-0.007081626448780298,
-0.05978402867913246,
-0.00591670349240303,
0.009024699218571186,
-0.02125408872961998,
-0.007730852346867323,
0.01823357678949833,
0.032378412783145905,
-0.016382591798901558,
0.05794225260615349,
-0.005373379681259394,
0.021198835223913193,
0.038382597267627716,
-0.025950614362955093,
0.03768272325396538,
-0.04574970155954361,
-0.005414819810539484,
-0.055363766849040985,
0.011925495229661465,
-0.03692759573459625,
0.029394734650850296,
-0.004510047379881144,
-0.01996484585106373,
0.09186775237321854,
0.0492490753531456,
0.06718796491622925,
-0.0600418783724308,
0.021806620061397552,
0.046817928552627563,
0.05123819038271904,
-0.05945250764489174,
-0.05750022828578949,
0.029652584344148636,
0.033465057611465454,
-0.04556552320718765,
0.057647570967674255,
0.020075350999832153,
0.03377816081047058,
0.10940145701169968,
-0.03059188835322857,
0.021419847384095192,
-0.0032783602364361286,
-0.04291336610913277,
-0.04431311413645744,
-0.0293763168156147,
0.00409334572032094,
0.00022115693718660623,
0.013979075476527214,
-0.01632733829319477,
0.014946007169783115,
0.036706581711769104,
-0.046633753925561905,
-0.07367101311683655,
-0.09437257051467896,
0.031733788549900055,
-0.0008892321493476629,
0.030168280005455017,
0.0028777739498764277,
0.10748600959777832,
-0.014365848153829575,
-0.02134617604315281,
0.0035269998479634523,
0.029947267845273018,
-0.026724161580204964,
-0.033115122467279434,
-0.09798245131969452,
-0.02410884015262127,
-0.05506908521056175,
-0.013748853467404842,
0.016668066382408142,
-0.004275220911949873,
0.0019948729313910007,
-0.013739644549787045,
0.041881971061229706,
-0.0070724175311625,
0.0013479493791237473,
-0.01939389482140541,
-0.02215655706822872,
0.02816074527800083,
-0.025195486843585968,
0.05982086434960365,
-0.057831745594739914,
0.01030473317950964,
-0.0016437845770269632,
-0.009890333749353886,
0.06766682863235474,
-0.021548772230744362,
0.019338641315698624,
-0.034588541835546494,
0.006064045242965221,
0.06947176903486252,
0.07282380014657974,
-0.04851236194372177,
-0.011345336213707924,
-0.031347017735242844,
0.012837174348533154,
-0.04983844235539436,
0.050906673073768616,
0.006008792202919722,
0.03819842264056206,
-0.03053663671016693,
0.021014656871557236,
-0.016318129375576973,
0.011354545131325722,
-0.01832566410303116,
-0.0050694867968559265,
0.02696359157562256,
-0.01714692823588848,
0.036227721720933914,
-0.03556468337774277,
0.024311434477567673,
-0.03201005607843399,
-0.021843455731868744,
0.008444540202617645,
-0.07779659330844879,
0.019541237503290176,
0.061588969081640244,
-0.025913778692483902,
-0.00023698469158262014,
0.006285058334469795,
0.00916283205151558,
-0.0220276340842247,
-0.0248455498367548,
-0.036135632544755936,
0.05680035427212715,
0.0056358324363827705,
-0.04781248793005943,
-0.048144008964300156,
-0.025195486843585968,
-0.06018922105431557,
-0.04070323705673218,
0.014586861245334148,
0.040334880352020264,
-0.008149855770170689,
-0.021456683054566383,
0.012431983835995197,
0.006846799980849028,
0.07713355123996735,
0.0168430358171463,
-0.0009600254124961793,
0.002649854402989149,
-0.015222273766994476,
0.033115122467279434,
-0.07853329926729202,
-0.10277106612920761,
0.030739231035113335,
0.04943324998021126,
0.055621616542339325,
0.022653836756944656,
0.00043137831380590796,
0.005341148469597101,
-0.030702395364642143,
-0.0043074521236121655,
0.055879466235637665,
-0.037609051913022995,
0.04906489700078964,
-0.03011302836239338,
0.013417333364486694,
0.038345761597156525,
-0.039340320974588394,
0.017699461430311203,
-0.0011004607658833265,
0.041624125093221664,
0.03967184200882912,
0.009181249886751175,
-0.003593764267861843,
0.029357898980379105,
0.06553036719560623,
0.010976981371641159,
0.011621602810919285,
-0.07182923704385757,
-0.025471754372119904,
0.01382252387702465,
0.028584353625774384,
0.010875683277845383,
0.017257435247302055,
0.03532525151968002,
0.033722907304763794,
-0.03956133499741554,
-0.004047301597893238,
-0.01952281966805458,
-0.007979491725564003,
-0.026760995388031006,
-0.023408964276313782,
0.002138761570677161,
0.0032714535482227802,
-0.05547427386045456,
0.01974383182823658,
0.022580165416002274,
0.015839267522096634,
-0.07403936982154846,
-0.04497615620493889,
0.003280662465840578,
-0.006128507666289806,
-0.07941735535860062,
-0.026816248893737793,
-0.00722436374053359,
-0.06346757709980011,
0.0661197379231453,
0.05724237859249115,
-0.006073254160583019,
-0.012496446259319782,
-0.005364170763641596,
0.02285643294453621,
-0.04541818052530289,
0.012984516099095345,
0.042618680745363235,
-0.06925075501203537,
-0.016787782311439514,
-0.022709090262651443,
-0.00476098945364356,
0.009015490300953388,
-0.022966938093304634,
-0.033980756998062134,
0.023390546441078186,
-0.0011096696835011244,
0.03797740861773491,
-0.06936126202344894,
0.017257435247302055,
0.001490686903707683,
0.023832572624087334,
-0.007878194563090801,
-0.02121725305914879,
-0.0311075858771801,
-0.029321063309907913,
-0.0001228090113727376,
0.05853162333369255,
0.001384784816764295,
0.042618680745363235,
0.022064469754695892,
0.0319732204079628,
-0.05632149055600166,
0.015535375103354454,
-0.022193392738699913,
-0.05193806439638138,
-0.02497447468340397,
-0.007928842678666115,
-0.0021330059971660376,
0.0007033279980532825,
-0.07927001267671585,
-0.0639096051454544,
0.02453244850039482,
0.024514030665159225,
0.019375476986169815,
0.04615489020943642,
0.04574970155954361,
0.02747928909957409,
0.0003211595758330077,
0.010976981371641159,
-0.013647555373609066,
0.002649854402989149,
0.019301805645227432,
-0.023648396134376526,
-0.011824198067188263,
0.08081710338592529,
-0.03484639152884483,
0.028326505795121193,
-0.0023263925686478615,
-0.06991379708051682,
0.026061121374368668,
0.010074511170387268,
0.013352871872484684,
0.07179240137338638,
0.03633822873234749,
-0.04107159003615379,
0.015157811343669891,
-0.027626629918813705,
0.0034993733279407024,
-0.00833863765001297,
0.00003424550959607586,
-0.03644873574376106,
-0.022930104285478592,
0.01337128970772028,
0.025434918701648712,
-0.04107159003615379,
-0.006473840679973364,
0.026558401063084602,
-0.03646715357899666,
0.04983844235539436,
0.018813734874129295,
0.037572216242551804,
0.009241107851266861,
-0.0026912942994385958,
-0.018767690286040306,
0.03569360822439194,
0.013785689137876034,
-0.03519632667303085,
0.06505150347948074,
0.03926664963364601,
-0.031383853405714035,
-0.0060594407841563225,
-0.01891503296792507,
0.04832818731665611,
-0.030223533511161804,
-0.05149604007601738,
0.03431227430701256,
0.07927001267671585,
0.02536124736070633,
-0.04107159003615379,
0.00905232597142458,
-0.022801179438829422,
0.0022768948692828417,
0.021622443571686745,
0.05672668293118477,
0.049101732671260834,
0.007721643429249525,
-0.06409378349781036,
-0.030941827222704887,
0.003529302077367902,
-0.011925495229661465,
0.055142756551504135,
0.01767183467745781,
-0.03875095397233963,
0.016916707158088684,
0.049875278025865555,
0.00853202398866415,
-0.022653836756944656,
0.007537465542554855,
0.026558401063084602,
0.01845458894968033,
-0.01935705915093422,
-0.01362913753837347,
0.047370463609695435,
-0.03967184200882912,
0.011050652712583542,
0.005589788313955069,
-0.03569360822439194,
0.002951445057988167,
0.05650566890835762,
-0.007836754433810711,
0.020406872034072876,
0.06925075501203537,
-0.020498959347605705,
0.027460871264338493,
-0.02609795704483986,
0.012487237341701984,
0.024385105818510056,
0.03442278131842613,
-0.04648641124367714,
0.07289747148752213,
-0.03631981089711189,
0.027331946417689323,
-0.050906673073768616,
0.003356635570526123,
-0.029578913003206253,
0.015609046444296837,
-0.06280454248189926,
0.025213904678821564,
0.002698200987651944,
-0.05042780935764313,
-0.03230474144220352,
0.07020847499370575,
0.06880872696638107,
-0.07632317394018173,
-0.02777397260069847,
0.03131018206477165,
0.005373379681259394,
0.04895438998937607,
0.028842203319072723,
-0.023132698610424995,
0.05901048332452774,
0.05245376378297806,
0.01179657131433487,
0.030997078865766525,
0.06254669278860092,
-0.044865649193525314,
0.01131770946085453,
-0.05245376378297806,
-0.023132698610424995,
0.03646715357899666,
-0.012045211158692837,
0.009945587255060673,
-0.012238597497344017,
0.04972793534398079,
0.037259116768836975,
-0.007620345801115036,
-0.040408551692962646,
0.02276434376835823,
0.09142573177814484,
-0.014752620831131935,
0.015756389126181602,
-0.006321894004940987,
-0.03403601050376892,
-0.06335707008838654,
0.03692759573459625,
0.003992048092186451,
-0.015802431851625443,
-0.0231142807751894,
-0.03208372741937637,
-0.008587277494370937,
-0.03364923596382141,
0.03059188835322857,
-0.035141073167324066,
-0.04331855848431587,
-0.027534542605280876,
0.024219347164034843,
-0.02834492363035679,
-0.015535375103354454,
0.042876530438661575,
0.06733530759811401,
-0.01304897852241993,
0.05768440663814545,
0.04029804468154907,
0.017809968441724777,
0.02134617604315281,
-0.026926755905151367,
-0.019025539979338646,
-0.012367521412670612,
0.01922813430428505,
-0.00775387417525053,
0.06074175238609314,
-0.01809544302523136,
-0.003211595816537738,
0.033759742975234985,
-0.05433237552642822,
0.007459190208464861,
-0.039598170667886734,
0.040887411683797836,
0.023482635617256165,
-0.03178904205560684,
-0.035104237496852875,
-0.02989201433956623,
-0.03267309442162514,
-0.0043327766470611095,
0.0007361345924437046,
-0.03707493841648102,
-0.09488826990127563,
0.027147769927978516,
0.037866901606321335,
0.0004946893313899636,
-0.02895270846784115,
-0.004724153783172369,
-0.019946428015828133,
0.01987275667488575,
0.018509842455387115,
-0.040334880352020264,
0.007546674460172653,
-0.0054930951446294785,
-0.032507333904504776,
0.01332524511963129,
-0.0031816670671105385,
-0.015581419691443443,
0.00967852957546711,
-0.02151193656027317,
-0.020333200693130493,
0.05352199077606201,
0.06346757709980011,
0.009079952724277973,
-0.020241111516952515,
-0.039598170667886734,
0.01646547205746174,
-0.07046632468700409,
-0.04593387618660927,
-0.054148197174072266,
0.020314782857894897,
-0.023353712633252144,
-0.01741398684680462,
-0.013573884963989258,
-0.009696947410702705,
-0.006427796091884375,
0.014706576243042946,
0.028842203319072723,
-0.021383011713624,
-0.0035316043067723513,
-0.006616577971726656,
-0.04718628525733948,
0.006920470856130123,
-0.01884136162698269,
-0.03948766365647316,
0.03464379534125328,
0.01444872748106718,
0.008642531000077724,
-0.040629565715789795,
0.0025255344808101654,
-0.01038761343806982,
-0.025287576019763947,
0.0003289295709691942,
0.01382252387702465,
-0.04132943972945213,
0.05293262377381325,
0.009429889731109142,
-0.08192216604948044,
-0.024606119841337204,
0.0044732121750712395,
-0.06600923091173172,
0.034533288329839706,
-0.04582337290048599,
-0.027829226106405258,
0.00006255561311263591,
-0.018730856478214264,
0.06634075194597244,
-0.06928759068250656,
-0.03644873574376106,
0.014356639236211777,
0.06693011522293091,
0.08022773265838623,
0.022801179438829422,
-0.05948934331536293,
0.025066561996936798,
0.025213904678821564,
-0.01805860735476017,
-0.024219347164034843,
0.020333200693130493,
0.014457936398684978,
-0.03287569060921669,
-0.04770198091864586,
-0.021714530885219574,
-0.04225032776594162,
0.006289662793278694,
-0.02025952935218811,
0.046118054538965225,
0.00204667286016047,
-0.024606119841337204,
0.006722480058670044,
0.052416928112506866,
0.09083636105060577,
-0.0011856429046019912,
0.03530683368444443,
0.019854338839650154,
-0.00032950512832030654,
0.032894108444452286,
0.018565095961093903,
0.038603611290454865,
0.03329929709434509,
0.03304145112633705,
0.005649645812809467,
-0.004774802830070257,
-0.0012754295021295547,
-0.003646715311333537,
0.028308087959885597,
0.020793644711375237,
0.011814989149570465,
0.05466389283537865,
-0.05727921426296234,
0.019854338839650154,
0.01356467604637146,
-0.030223533511161804,
0.018251994624733925,
0.023427382111549377,
0.07927001267671585,
-0.03230474144220352,
0.00476098945364356,
0.01362913753837347,
0.014006701298058033,
-0.054369207471609116,
0.0006382903084158897,
0.08030140399932861,
0.003589159809052944,
-0.04272918775677681,
-0.014513189904391766,
0.029965685680508614,
-0.05967352166771889,
0.06416745483875275,
-0.0063725425861775875,
0.05779490992426872,
0.009020094759762287,
-0.04074007272720337,
-0.003529302077367902,
-0.01084805652499199,
-0.03469904884696007,
0.05853162333369255,
0.052085407078266144,
0.03762746974825859,
-0.010995399206876755,
0.05020679533481598,
-0.0055943927727639675,
-0.00831561628729105,
-0.01198995765298605,
-0.05547427386045456,
0.0050050243735313416,
0.02959733083844185,
-0.021419847384095192,
-0.022451242431998253,
0.013408124446868896,
-0.007919633761048317,
-0.02410884015262127,
0.02199079841375351,
0.0006285058334469795
] |
52,162 |
pebble.pool.process
|
map
|
Computes the *function* using arguments from
each of the iterables. Stops when the shortest iterable is exhausted.
*timeout* is an integer, if expires the task will be terminated
and the call to next will raise *TimeoutError*.
The *timeout* is applied to each chunk of the iterable.
*chunksize* controls the size of the chunks the iterable will
be broken into before being passed to the function.
A *pebble.ProcessFuture* object is returned.
|
def map(self, function: Callable,
*iterables, **kwargs) -> ProcessMapFuture:
"""Computes the *function* using arguments from
each of the iterables. Stops when the shortest iterable is exhausted.
*timeout* is an integer, if expires the task will be terminated
and the call to next will raise *TimeoutError*.
The *timeout* is applied to each chunk of the iterable.
*chunksize* controls the size of the chunks the iterable will
be broken into before being passed to the function.
A *pebble.ProcessFuture* object is returned.
"""
self._check_pool_state()
timeout = kwargs.get('timeout')
chunksize = kwargs.get('chunksize', 1)
if chunksize < 1:
raise ValueError("chunksize must be >= 1")
futures = [self.schedule(
process_chunk, args=(function, chunk), timeout=timeout)
for chunk in iter_chunks(chunksize, *iterables)]
return map_results(ProcessMapFuture(futures), timeout)
|
(self, function: Callable, *iterables, **kwargs) -> pebble.pool.base_pool.ProcessMapFuture
|
[
0.035074569284915924,
0.01287098415195942,
-0.09205254912376404,
0.0064718765206635,
-0.05483130365610123,
0.06814799457788467,
-0.04118714854121208,
-0.015208682045340538,
-0.015481565147638321,
0.0021591871045529842,
0.0034360524732619524,
0.04286083206534386,
-0.02827068418264389,
0.028179723769426346,
0.040823306888341904,
0.013434942811727524,
0.0187015850096941,
-0.01198866218328476,
-0.021630531176924706,
-0.005489497445523739,
0.0005355330067686737,
0.009623675607144833,
0.032509468495845795,
-0.03227296844124794,
0.007231400813907385,
0.051520321518182755,
0.010751591995358467,
-0.002054582117125392,
0.0038703912869095802,
0.003456518752500415,
0.08579443395137787,
0.01778287999331951,
-0.036839213222265244,
0.020502613857388496,
0.009951135143637657,
0.040168385952711105,
-0.030308211222290993,
0.022794831544160843,
-0.05395807698369026,
-0.014672012068331242,
0.037948936223983765,
-0.03274596855044365,
0.002144406083971262,
0.007472447585314512,
-0.01556343026459217,
-0.006917585618793964,
-0.029362216591835022,
0.026778923347592354,
0.04100522771477699,
0.020047808066010475,
0.005321219563484192,
-0.05799674615263939,
0.05777844041585922,
0.004509392660111189,
0.016582192853093147,
0.10114865005016327,
-0.02970786951482296,
-0.02699723094701767,
-0.007649821694940329,
-0.05304846540093422,
0.008172847330570221,
-0.030089905485510826,
-0.00018519094737712294,
-0.013453134335577488,
0.015117721632122993,
-0.008509403094649315,
0.00013622833648696542,
-0.027361074462532997,
-0.028998373076319695,
0.01740993931889534,
0.019756732508540154,
0.01915639080107212,
0.0023035877384245396,
-0.01454466674476862,
-0.01664586551487446,
0.04042307659983635,
0.030726632103323936,
0.020320691168308258,
0.04493474215269089,
-0.006790239829570055,
-0.03643898293375969,
-0.014681108295917511,
-0.011124532669782639,
-0.06003427132964134,
-0.012407083064317703,
-0.08419352024793625,
0.01790112815797329,
-0.013052905909717083,
-0.09700082987546921,
-0.053121235221624374,
-0.039840925484895706,
0.009032429195940495,
0.011824932880699635,
0.017046095803380013,
-0.03400122746825218,
-0.01453557051718235,
0.012825503945350647,
-0.011670298874378204,
-0.029744252562522888,
-0.03421953693032265,
0.04136907309293747,
-0.005835149437189102,
0.04373405873775482,
-0.049410026520490646,
0.049300871789455414,
-0.023904556408524513,
-0.050246868282556534,
-0.037475939840078354,
-0.03247308358550072,
0.02952594682574272,
-0.03454699367284775,
0.04580796882510185,
0.0027265565004199743,
-0.00515748979523778,
-0.04056861624121666,
0.05333954095840454,
-0.0024968800134956837,
-0.02059357427060604,
-0.011806740425527096,
0.005657775327563286,
0.009109745733439922,
-0.0023286021314561367,
0.012525332160294056,
-0.03780340030789375,
-0.0023286021314561367,
0.07258689403533936,
0.017691917717456818,
0.026415079832077026,
-0.008518499322235584,
-0.034583378583192825,
0.0293986015021801,
0.03980454057455063,
0.04697227105498314,
0.098965585231781,
-0.010806169360876083,
0.011224589310586452,
-0.04027754068374634,
-0.0016805048799142241,
-0.03925877436995506,
-0.016309309750795364,
0.005034692585468292,
-0.05665052309632301,
0.026087619364261627,
0.0346197634935379,
0.02872548997402191,
-0.04693588614463806,
0.04438897594809532,
-0.03783978521823883,
0.020175153389573097,
-0.04402513429522514,
0.012116007506847382,
0.017400842159986496,
0.005280287005007267,
0.011924989521503448,
-0.02537812478840351,
0.06552831828594208,
0.09387177228927612,
0.003583864076063037,
0.0029221228323876858,
-0.06309056282043457,
-0.021466800943017006,
0.05570452660322189,
-0.000004419248853082536,
-0.011806740425527096,
-0.041150763630867004,
-0.028398029506206512,
0.035365644842386246,
0.003752141958102584,
0.032182008028030396,
0.0038385549560189247,
0.048172954469919205,
0.02952594682574272,
0.06971252709627151,
-0.0032609524205327034,
0.00106879195664078,
0.02366805635392666,
-0.014335456304252148,
-0.006894845049828291,
-0.0008345673559233546,
0.01469020452350378,
-0.036693673580884933,
0.0006901667220517993,
-0.04631735011935234,
-0.0047981939278542995,
-0.027524804696440697,
0.05817866697907448,
0.008504855446517467,
0.026069428771734238,
-0.0021353098563849926,
-0.019192775711417198,
-0.022794831544160843,
0.0016054619336500764,
0.06272672116756439,
0.019392888993024826,
-0.04140545427799225,
-0.042387835681438446,
-0.033128004521131516,
-0.004197850823402405,
-0.0049528274685144424,
0.036784637719392776,
-0.04617181420326233,
-0.012307025492191315,
0.024486705660820007,
-0.006840268615633249,
-0.014380937442183495,
-0.04500751197338104,
-0.07178643345832825,
0.011624818667769432,
-0.020884649828076363,
0.017382651567459106,
-0.01388974767178297,
-0.044498130679130554,
0.000631610571872443,
0.07662556320428848,
0.03134516626596451,
0.004943731240928173,
-0.0024900578428059816,
0.005607747007161379,
0.04140545427799225,
-0.014981280080974102,
0.037439554929733276,
-0.0040341210551559925,
0.010487805120646954,
-0.029416793957352638,
0.02395913191139698,
0.050865400582551956,
0.02446851320564747,
0.02252194844186306,
0.036639098078012466,
0.02554185315966606,
-0.007868127897381783,
0.00855033565312624,
-0.007304169703274965,
0.0032950628083199263,
0.033601000905036926,
-0.08026400208473206,
0.0055349781177937984,
-0.06327248364686966,
-0.018264971673488617,
-0.0014849386643618345,
-0.012379794381558895,
-0.03612971678376198,
0.007968185469508171,
-0.02381359413266182,
-0.0006543508497998118,
0.006785692181438208,
-0.046572040766477585,
0.049264486879110336,
0.027379266917705536,
0.021011995151638985,
0.026269542053341866,
0.03132697567343712,
-0.02364986576139927,
0.007686206139624119,
-0.02506885677576065,
0.012725446373224258,
-0.011624818667769432,
-0.060470886528491974,
-0.0004741343145724386,
0.04813656955957413,
0.05603198707103729,
-0.04027754068374634,
-0.042242296040058136,
-0.03976815566420555,
0.023231444880366325,
-0.020066000521183014,
-0.05555899068713188,
-0.023231444880366325,
-0.004020477179437876,
0.04791826382279396,
0.09125209599733353,
0.008532143197953701,
0.001961346948519349,
0.0010972173186019063,
-0.021957989782094955,
0.023577095940709114,
0.020538998767733574,
-0.013480423018336296,
0.011724875308573246,
-0.06694731116294861,
0.009332600980997086,
0.02012057788670063,
-0.11744886636734009,
-0.09132486581802368,
-0.029580524191260338,
0.03716667369008064,
-0.002180790528655052,
0.07487910985946655,
0.06763861328363419,
0.02445032261312008,
-0.0026105812285095453,
-0.00907336175441742,
-0.03181816264986992,
-0.030308211222290993,
-0.026069428771734238,
-0.02219448797404766,
-0.005753284320235252,
-0.041478224098682404,
-0.005343959666788578,
-0.07207751274108887,
0.006953970063477755,
-0.09343516081571579,
0.03580225631594658,
0.008127367123961449,
-0.027051806449890137,
0.029580524191260338,
0.048973411321640015,
-0.016782307997345924,
-0.05686882883310318,
0.0037635122425854206,
0.04391597956418991,
-0.020811881870031357,
-0.04169652983546257,
-0.0695669874548912,
0.038058090955019,
0.002351342234760523,
-0.02972606010735035,
0.05417638272047043,
-0.02283121645450592,
-0.0185378547757864,
-0.03158166632056236,
0.022467371076345444,
0.06632877141237259,
-0.011051763780415058,
0.01981130987405777,
0.02697903849184513,
0.029034757986664772,
-0.028980180621147156,
0.02699723094701767,
0.03032640367746353,
-0.005776024889200926,
0.042897216975688934,
-0.007531572133302689,
0.004156918730586767,
-0.05639583244919777,
0.030599286779761314,
-0.011542953550815582,
0.0220489501953125,
0.02654242515563965,
-0.011133628897368908,
0.010169441811740398,
0.012570812366902828,
0.0022410519886761904,
0.020866457372903824,
-0.05563176050782204,
0.024996088817715645,
-0.01773739792406559,
0.030235443264245987,
0.0011517938692122698,
-0.049446411430835724,
0.10049373656511307,
-0.01111543644219637,
0.004343388602137566,
0.06592854857444763,
0.007117699831724167,
0.053121235221624374,
0.05188416689634323,
0.006326338741928339,
-0.02426839992403984,
0.0057259961031377316,
-0.035092759877443314,
-0.07280519604682922,
0.028670912608504295,
-0.024050094187259674,
0.07036744058132172,
0.008245616219937801,
0.02827068418264389,
0.0063581750728189945,
0.015481565147638321,
0.06090749800205231,
0.058396972715854645,
0.058869972825050354,
-0.02777949534356594,
0.03567491099238396,
-0.0185378547757864,
-0.031872741878032684,
0.000368107866961509,
0.03276415914297104,
-0.06774776428937912,
0.07393311709165573,
-0.03914962336421013,
-0.07338734716176987,
0.02734288200736046,
-0.03780340030789375,
-0.004739068914204836,
0.03500179946422577,
0.06276310235261917,
-0.030217250809073448,
0.0017873840406537056,
0.008513951674103737,
-0.01534512359648943,
-0.013680537231266499,
0.01477206964045763,
0.006881201174110174,
-0.00958729162812233,
-0.030799400061368942,
0.04970110207796097,
0.028488991782069206,
-0.01117001287639141,
-0.061271343380212784,
-0.01111543644219637,
-0.021830644458532333,
0.0012882354203611612,
0.05956127494573593,
0.03612971678376198,
-0.027670342475175858,
0.010369556024670601,
-0.02685169316828251,
0.016764115542173386,
0.017437227070331573,
-0.004247879609465599,
-0.01615467667579651,
-0.0022023937199264765,
-0.05832420662045479,
-0.04748165234923363,
0.07116790115833282,
-0.10929875820875168,
-0.04620819911360741,
-0.002819791669026017,
-0.051847781985998154,
0.08608550578355789,
-0.02110295556485653,
-0.022903984412550926,
0.025359932333230972,
0.008218328468501568,
-0.051847781985998154,
0.05777844041585922,
-0.007859031669795513,
-0.01038774847984314,
0.016882365569472313,
0.0024377552326768637,
-0.06651069968938828,
-0.06392740458250046,
0.008814122527837753,
0.04202399030327797,
-0.003590686246752739,
-0.025760160759091377,
0.012452563270926476,
0.07509741932153702,
-0.019993232563138008,
-0.008645844645798206,
0.0052484506741166115,
0.07211389392614365,
-0.010524190030992031,
0.0834658294916153,
0.007827195338904858,
-0.008950564078986645,
-0.010769784450531006,
-0.008409346453845501,
0.024523090571165085,
-0.013571384362876415,
-0.0177192073315382,
0.006972162052989006,
-0.002801599446684122,
0.0584697425365448,
0.020066000521183014,
-0.045298587530851364,
-0.03150889649987221,
-0.08048231154680252,
0.021939797326922417,
0.038385551422834396,
-0.04042307659983635,
0.0587972030043602,
-0.015818120911717415,
-0.03423772752285004,
0.005093817133456469,
-0.02283121645450592,
0.0293986015021801,
0.019556619226932526,
0.00237635662779212,
0.027051806449890137,
0.010060288943350315,
-0.0005969316698610783,
-0.03307342529296875,
0.037439554929733276,
0.0421331450343132,
-0.02010238543152809,
0.03194550797343254,
0.04406151920557022,
-0.02717915177345276,
0.030744824558496475,
-0.02301313728094101,
0.08535782247781754,
0.022631101310253143,
-0.03174539655447006,
0.0008652667165733874,
0.07749878615140915,
-0.0022956286557018757,
0.003574768081307411,
-0.002537812339141965,
-0.01659129001200199,
-0.020848264917731285,
0.07094959169626236,
0.013371270149946213,
0.01556343026459217,
-0.04122353345155716,
0.006863008718937635,
0.01802847348153591,
0.05625029280781746,
-0.027743110433220863,
0.014244495891034603,
0.026778923347592354,
-0.010005712509155273,
0.0003041509189642966,
0.027561189606785774,
0.04155099391937256,
0.013134771026670933,
-0.04755442216992378,
-0.06571023911237717,
0.012889176607131958,
-0.011206397786736488,
-0.016891460865736008,
-0.04202399030327797,
0.0029471369925886393,
-0.025123434141278267,
0.017728302627801895,
0.042897216975688934,
-0.003822636790573597,
-0.05126563087105751,
-0.038058090955019,
0.04446174576878548,
0.032000087201595306,
-0.029471369460225105,
-0.00475271325558424,
-0.02681530825793743,
-0.04973748326301575,
0.03965900465846062,
-0.0016236541559919715,
-0.016191061586141586,
-0.042424220591783524,
-0.05756013095378876,
0.02332240529358387,
0.01398070901632309,
-0.007549764588475227,
-0.003747594077140093,
-0.011160916648805141,
0.0028834643308073282,
-0.018119435757398605,
0.016636770218610764,
0.03549299016594887,
-0.0374031700193882,
0.048464030027389526,
0.024322977289557457,
-0.017200728878378868,
-0.026888078078627586,
0.0033087071496993303,
-0.011879509314894676,
-0.0029653292149305344,
0.04697227105498314,
-0.019720349460840225,
-0.010114865377545357,
-0.0025605526752769947,
0.030726632103323936,
0.04198760539293289,
-0.014708396978676319,
-0.05050155892968178,
0.03480168431997299,
-0.05643221735954285,
-0.10871660709381104,
-0.00878683477640152,
0.006626510061323643,
0.03352823108434677,
-0.020884649828076363,
-0.0010329760843887925,
0.00855943188071251,
0.01621834933757782,
0.008218328468501568,
0.05937935411930084,
0.0035520277451723814,
-0.026142196729779243,
0.04027754068374634,
0.05257546901702881,
-0.030089905485510826,
-0.09670975804328918,
-0.012279737740755081,
-0.03159985691308975,
0.012116007506847382,
-0.10478709638118744,
0.021757876500487328,
-0.06370909512042999,
-0.029289448633790016,
0.0008720887708477676,
0.008554884232580662,
-0.004620819818228483,
0.022121720016002655,
0.038421932607889175,
-0.08062784373760223,
0.032182008028030396,
0.03401942178606987,
-0.011815836653113365,
-0.0020830072462558746,
-0.0008908494492061436,
-0.02525077946484089,
0.017691917717456818,
-0.016163773834705353,
-0.014753877185285091,
0.0010670864721760154,
-0.02697903849184513,
-0.05799674615263939,
0.00192837358918041,
-0.010069385170936584,
0.03227296844124794,
-0.013062002137303352,
0.04653565585613251,
-0.012643581256270409,
-0.0049528274685144424,
-0.02777949534356594,
-0.009118841961026192,
0.05937935411930084,
0.03036278858780861,
-0.057923976331949234,
0.0072768814861774445,
0.025942083448171616,
-0.04053223133087158,
0.025050664320588112,
-0.0027083642780780792,
-0.03469253331422806,
0.039549849927425385,
0.029271256178617477,
-0.021812452003359795,
-0.039040468633174896,
0.003567945910617709,
-0.036966558545827866,
-0.005807861220091581,
0.04748165234923363,
-0.022103527560830116,
-0.03198189288377762,
-0.03049013391137123,
0.020575381815433502,
0.0105332862585783,
-0.021594146266579628,
0.04005923122167587,
0.06938506662845612,
0.014863030053675175,
0.025323547422885895,
-0.002840257715433836,
0.026778923347592354,
0.05188416689634323,
-0.05257546901702881,
-0.06101665273308754,
-0.011497472412884235,
-0.027197344228625298,
-0.004175110720098019,
-0.06148964911699295,
0.06771138310432434,
-0.059197429567575455,
0.02139403112232685,
0.03882216289639473,
0.0684390738606453,
0.019247351214289665,
0.014471897855401039,
0.040022850036621094,
-0.014180823229253292,
0.02952594682574272,
0.020011425018310547,
0.00642639584839344,
0.006139868870377541,
-0.026124004274606705,
-0.03003532811999321,
0.019101813435554504,
-0.01373511366546154,
0.017537284642457962,
-0.039040468633174896,
-0.004875510465353727,
-0.033782921731472015,
-0.08077338337898254,
0.0014121697749942541,
-0.014299072325229645,
-0.0421331450343132,
0.07778986543416977,
0.04045946151018143,
-0.050574325025081635,
0.0017680547898635268,
-0.011506568640470505,
0.029962560161948204,
0.050537943840026855,
-0.04697227105498314,
0.004898251034319401,
-0.05195693299174309,
0.01781926304101944,
-0.002121665747836232,
-0.026269542053341866,
-0.061271343380212784,
0.03340088576078415,
-0.06654708087444305,
-0.020211538299918175,
0.0065901256166398525,
-0.01309838704764843,
-0.013052905909717083,
0.04387959465384483,
0.08644935488700867,
0.023522518575191498,
0.018719777464866638,
-0.016764115542173386,
-0.07058575004339218,
0.06327248364686966,
0.0065901256166398525,
-0.027706725522875786,
0.10129418969154358,
0.007481543812900782,
-0.006999450270086527,
0.010042096488177776,
-0.021630531176924706,
-0.021630531176924706,
0.022394603118300438,
0.005002856254577637,
-0.060761962085962296,
0.034419648349285126,
0.0017691918183118105,
0.04380682483315468,
0.0372394397854805,
-0.017728302627801895,
0.038094475865364075,
0.027724917978048325,
-0.020066000521183014,
-0.016618577763438225,
0.04169652983546257,
0.04660842567682266,
0.001176808145828545,
-0.0007782852044329047,
-0.01213419996201992,
-0.024068284779787064,
0.0387130081653595,
-0.027852263301610947,
-0.020739112049341202,
-0.017437227070331573,
-0.015918178483843803,
0.007445159368216991,
0.022449178621172905,
0.06913037598133087,
0.05173862725496292,
0.00935079250484705,
-0.024723205715417862,
-0.07669833302497864,
-0.04842764511704445,
-0.05319400504231453,
0.010123961605131626,
-0.02010238543152809,
-0.051047325134277344,
-0.0788813978433609,
0.018756162375211716,
-0.07440610975027084,
0.038240011781454086,
0.006835720501840115,
0.026069428771734238,
0.028980180621147156,
-0.04788187891244888,
-0.0032859668135643005,
0.014108054339885712,
-0.00890053529292345,
0.019120005890727043,
0.015690775588154793,
-0.04748165234923363,
0.01540879625827074,
0.03099951520562172,
-0.014872126281261444,
0.025323547422885895,
-0.04071415215730667,
-0.05828782171010971,
-0.0105332862585783,
-0.0635271742939949,
0.015308739617466927,
0.01620015688240528,
-0.04166014492511749,
0.0014076217776164412,
-0.009478137828409672,
-0.008709517307579517,
0.010624246671795845
] |
52,163 |
pebble.pool.process
|
schedule
|
Schedules *function* to be run the Pool.
*args* and *kwargs* will be forwareded to the scheduled function
respectively as arguments and keyword arguments.
*timeout* is an integer, if expires the task will be terminated
and *Future.result()* will raise *TimeoutError*.
A *pebble.ProcessFuture* object is returned.
|
def schedule(self, function: Callable,
args: list = (),
kwargs: dict = {},
timeout: float = None) -> ProcessFuture:
"""Schedules *function* to be run the Pool.
*args* and *kwargs* will be forwareded to the scheduled function
respectively as arguments and keyword arguments.
*timeout* is an integer, if expires the task will be terminated
and *Future.result()* will raise *TimeoutError*.
A *pebble.ProcessFuture* object is returned.
"""
self._check_pool_state()
future = ProcessFuture()
payload = TaskPayload(function, args, kwargs)
task = Task(next(self._task_counter), future, timeout, payload)
self._context.task_queue.put(task)
return future
|
(self, function: Callable, args: list = (), kwargs: dict = {}, timeout: Optional[float] = None) -> pebble.common.ProcessFuture
|
[
0.07912135124206543,
0.0011886770371347666,
-0.008376559242606163,
-0.038620542734861374,
0.0029261549934744835,
0.030215781182050705,
-0.06174774467945099,
-0.05309854820370674,
-0.01184563897550106,
-0.047194529324769974,
-0.042117826640605927,
0.017401808872818947,
-0.0009042876190505922,
-0.022281082347035408,
0.006895854137837887,
0.021641794592142105,
0.06479376554489136,
-0.06347758322954178,
-0.04324598237872124,
-0.042305853217840195,
0.02822270616889,
0.013490866869688034,
0.0357249416410923,
-0.020626453682780266,
0.04561511054635048,
0.0008326027309522033,
0.022525517269968987,
0.007342415861785412,
0.007676162291318178,
-0.002773383865132928,
0.07103622704744339,
0.01834193803369999,
-0.039147015661001205,
0.06498178839683533,
0.028655165806412697,
0.03869575634598732,
-0.04365964233875275,
-0.00967393908649683,
-0.05531725287437439,
-0.038733359426259995,
0.03845132142305374,
0.012362711131572723,
-0.014224167913198471,
-0.00647749612107873,
-0.039259832352399826,
-0.05618217587471008,
0.005518563557416201,
-0.01562496181577444,
0.02418014593422413,
0.010670476593077183,
-0.006909956224262714,
-0.04584074392914772,
-0.009993582963943481,
-0.0364394411444664,
-0.01584119163453579,
0.04106488078832626,
0.013566077686846256,
0.05257207527756691,
0.05181996896862984,
-0.03544290363788605,
0.04512624442577362,
-0.018247924745082855,
-0.027527008205652237,
-0.007295409683138132,
0.02374768629670143,
0.013049005530774593,
-0.029614098370075226,
0.015258311294019222,
0.004296394530683756,
-0.03948546200990677,
0.04347161576151848,
-0.0014078448293730617,
0.05377544090151787,
0.014374589547514915,
0.057122305035591125,
0.002897951053455472,
-0.007478734944015741,
-0.0317951999604702,
-0.011958454735577106,
-0.01894362084567547,
-0.05674625188112259,
-0.03405151143670082,
0.03431474789977074,
-0.01916925236582756,
0.017552228644490242,
-0.0002541289140935987,
-0.0007362393662333488,
-0.029313256964087486,
-0.09040290862321854,
-0.02220587246119976,
0.02060765214264393,
0.018708588555455208,
-0.01672491431236267,
0.011140541173517704,
0.026060406118631363,
-0.03717274218797684,
0.06249984726309776,
-0.012907986529171467,
0.02231868915259838,
-0.03264131769537926,
0.00048681109910830855,
0.023484449833631516,
-0.011920849792659283,
-0.06223661080002785,
0.02756461501121521,
-0.033017367124557495,
-0.04012475162744522,
0.01779666356742382,
-0.01479764748364687,
0.0015582656487822533,
-0.010896108113229275,
0.07761713862419128,
0.010031187906861305,
0.004780561663210392,
-0.009636333212256432,
0.018764996901154518,
-0.04192980378866196,
0.03717274218797684,
0.002282165689393878,
-0.018059898167848587,
-0.02803467959165573,
0.023916909471154213,
0.036119796335697174,
-0.009927773848176003,
-0.019329074770212173,
0.09243359416723251,
-0.059566643089056015,
0.007605652324855328,
-0.021773412823677063,
-0.06321434676647186,
-0.01887781172990799,
0.03346863016486168,
0.06765176355838776,
0.07581209391355515,
-0.017824865877628326,
-0.013669491745531559,
0.015286515466868877,
0.00907695572823286,
-0.022243477404117584,
0.009001745842397213,
0.020513638854026794,
0.012917387299239635,
0.054978806525468826,
-0.02066405862569809,
0.05851369723677635,
-0.02344684489071369,
-0.02066405862569809,
-0.01544633787125349,
0.005852309986948967,
-0.03102429211139679,
0.04881155490875244,
-0.014684831723570824,
0.05851369723677635,
0.003353914013132453,
-0.003525487845763564,
0.02882438898086548,
0.09957858175039291,
-0.019310271367430687,
0.020739270374178886,
-0.030817463994026184,
-0.007770175114274025,
0.0727284625172615,
0.005518563557416201,
-0.034201931208372116,
-0.02060765214264393,
-0.037059929221868515,
0.06990807503461838,
0.01360368262976408,
0.018238523975014687,
0.01523950882256031,
0.043133169412612915,
-0.052233628928661346,
0.018548766151070595,
0.0678773894906044,
-0.06276308745145798,
0.016762519255280495,
-0.003476131008937955,
0.017636841163039207,
0.019498297944664955,
0.01048245094716549,
0.008738509379327297,
-0.000567603565286845,
-0.023503251373767853,
-0.01804109662771225,
0.005767697934061289,
-0.006933459546416998,
-0.002453739522024989,
0.043847668915987015,
-0.02404852770268917,
-0.004251738544553518,
0.01095251552760601,
0.010726884007453918,
0.08476212620735168,
-0.013171222992241383,
-0.023258818313479424,
-0.0798734501004219,
-0.03638303279876709,
-0.021096520125865936,
-0.01774025522172451,
0.05900256335735321,
0.06174774467945099,
-0.002413783920928836,
0.06614755094051361,
0.007934697903692722,
0.006895854137837887,
-0.06389123946428299,
-0.0828818678855896,
-0.03356264531612396,
-0.031118305400013924,
-0.0008296648156829178,
0.0008872477919794619,
-0.03564973175525665,
-0.008118023164570332,
0.05727272480726242,
0.005960424896329641,
0.05663343518972397,
-0.019667521119117737,
0.02423655427992344,
0.03346863016486168,
-0.04147854074835777,
0.03922222927212715,
-0.018887214362621307,
-0.02459380403161049,
-0.04508863762021065,
0.014600220136344433,
0.039147015661001205,
0.00929318554699421,
-0.01137557439506054,
0.0648689791560173,
-0.015728376805782318,
0.006270667538046837,
-0.018680384382605553,
-0.010896108113229275,
-0.011366172693669796,
0.05362502112984657,
-0.054452333599328995,
0.00836715754121542,
0.010877304710447788,
-0.044750191271305084,
-0.016593296080827713,
0.034446366131305695,
-0.023352831602096558,
0.05065421015024185,
-0.032772935926914215,
0.009424803778529167,
-0.015070285648107529,
-0.03391989320516586,
0.055054016411304474,
-0.009067554958164692,
-0.018605174496769905,
-0.032660119235515594,
0.014478003606200218,
-0.03023458458483219,
0.02167939953505993,
-0.06494418531656265,
-0.005278830416500568,
-0.04666805639863014,
-0.024875842034816742,
0.043133169412612915,
0.06204858422279358,
-0.003838081145659089,
-0.07186354696750641,
-0.021698202937841415,
-0.02066405862569809,
0.047420162707567215,
0.01279517076909542,
-0.10687398910522461,
0.010773890651762486,
0.019385483115911484,
-0.00233739847317338,
0.06336476653814316,
-0.011093535460531712,
0.02011878415942192,
-0.020156389102339745,
-0.03264131769537926,
-0.016715513542294502,
-0.036119796335697174,
-0.0026864218525588512,
0.007582149002701044,
-0.05550527945160866,
0.009368396364152431,
0.04591595381498337,
-0.03649584949016571,
-0.054264310747385025,
0.01940428465604782,
0.03130633383989334,
-0.02286396361887455,
0.12206649035215378,
0.05862651392817497,
0.041403330862522125,
-0.04817226529121399,
0.012898584827780724,
-0.004721803590655327,
-0.021265743300318718,
-0.005570270586758852,
0.04328358918428421,
0.014966870658099651,
-0.02418014593422413,
0.03544290363788605,
-0.03570614010095596,
0.05877693369984627,
-0.019329074770212173,
0.03963588550686836,
-0.018088102340698242,
0.003838081145659089,
0.029914939776062965,
-0.00404961034655571,
0.013594280928373337,
-0.06336476653814316,
-0.006392884533852339,
0.04177938029170036,
-0.021171730011701584,
0.0012221691431477666,
-0.05268489196896553,
0.0471569262444973,
0.04685608297586441,
-0.027282575145363808,
0.016395868733525276,
0.0029919641092419624,
-0.04621679708361626,
-0.03279173746705055,
0.012315704487264156,
0.06298871338367462,
-0.009984181262552738,
0.001581768854521215,
0.0011457835789769888,
-0.021397361531853676,
0.01115934457629919,
0.01211827713996172,
0.05550527945160866,
0.014073747210204601,
0.07118665426969528,
0.05151912942528725,
-0.029933741316199303,
-0.06802781671285629,
0.009561123326420784,
-0.013707096688449383,
0.05163194611668587,
0.008061615750193596,
-0.03288574889302254,
0.05351220443844795,
0.03209603950381279,
-0.020814480260014534,
0.02989613637328148,
-0.05136870965361595,
0.039259832352399826,
-0.00004704322782345116,
0.016217244789004326,
0.04219304025173187,
-0.11823076009750366,
0.07442069798707962,
-0.027583416551351547,
-0.008635095320641994,
0.026662088930606842,
0.004630140494555235,
0.03655225783586502,
0.08100160956382751,
0.004296394530683756,
-0.015352324582636356,
-0.05253446847200394,
-0.06389123946428299,
-0.07212678343057632,
-0.009471810422837734,
-0.02196143940091133,
0.03181400150060654,
0.05802483111619949,
0.021867426112294197,
0.02517668344080448,
0.015352324582636356,
0.04249387979507446,
0.04223064333200455,
0.03478481248021126,
-0.03185160830616951,
-0.011187547817826271,
0.0019225660944357514,
-0.04651763662695885,
-0.03017817623913288,
-0.0014936316292732954,
-0.02470661886036396,
0.019629916176199913,
-0.015455738641321659,
-0.06814062595367432,
0.042305853217840195,
-0.06738852709531784,
-0.0339386947453022,
0.010219214484095573,
0.02160418964922428,
-0.00009048751962836832,
0.01066107489168644,
-0.0036312525626271963,
-0.04738255590200424,
-0.015925804153084755,
0.022732345387339592,
0.00950001459568739,
-0.002439637668430805,
-0.04204261675477028,
0.0061531513929367065,
0.020908493548631668,
0.014083148911595345,
-0.003577195107936859,
0.013049005530774593,
-0.029971348121762276,
-0.003828679909929633,
-0.010285023599863052,
0.06569629162549973,
-0.008743209764361382,
0.039147015661001205,
-0.050278156995773315,
0.051707156002521515,
0.013443860225379467,
0.0521584190428257,
-0.058739326894283295,
-0.04696889966726303,
-0.020325612276792526,
-0.019329074770212173,
0.013660090044140816,
-0.0727284625172615,
-0.03181400150060654,
-0.06204858422279358,
-0.07434548437595367,
0.05005252733826637,
0.0012538984883576632,
-0.04226825013756752,
0.02412373758852482,
0.011262758634984493,
0.033017367124557495,
0.05618217587471008,
0.0030201678164303303,
0.008837223052978516,
0.021510176360607147,
-0.013613083399832249,
-0.020156389102339745,
-0.010708081535995007,
0.05095504969358444,
0.035630930215120316,
-0.02566555142402649,
0.020870888605713844,
-0.006435190327465534,
0.005523264408111572,
0.00002078568832075689,
-0.020645257085561752,
-0.018774397671222687,
0.007140288129448891,
0.023484449833631516,
0.05351220443844795,
-0.007511639501899481,
0.02506386861205101,
-0.01989315263926983,
-0.0025007459335029125,
0.005513863172382116,
0.02267593704164028,
0.03570614010095596,
0.01715737394988537,
0.05994269624352455,
0.005123708862811327,
-0.029068822041153908,
-0.06667402386665344,
-0.046404819935560226,
-0.04907479137182236,
-0.006872350815683603,
-0.028561152517795563,
-0.03596937656402588,
0.03190801665186882,
-0.0029849130660295486,
-0.043020352721214294,
-0.035330090671777725,
0.002209305763244629,
0.009955978021025658,
0.007286007981747389,
-0.018003491684794426,
0.027790244668722153,
-0.014252372086048126,
-0.02352205477654934,
-0.042305853217840195,
0.02374768629670143,
0.02935086190700531,
-0.03198322653770447,
0.022074254229664803,
0.05524204298853874,
-0.02953888662159443,
0.062010981142520905,
0.028805585578083992,
0.040162358433008194,
0.07709066569805145,
-0.027226166799664497,
0.012409716844558716,
0.07152509689331055,
0.026003997772932053,
0.01205246802419424,
0.01426177378743887,
-0.02918163873255253,
-0.007535142824053764,
0.05565570294857025,
0.035687338560819626,
-0.019987165927886963,
-0.03600698336958885,
-0.05625738576054573,
0.037661612033843994,
-0.010943113826215267,
0.0025548036210238934,
0.012823374010622501,
0.025233091786503792,
-0.03647704795002937,
0.046292006969451904,
0.029200440272688866,
0.017241986468434334,
-0.0407264344394207,
0.004395108204334974,
-0.03660866618156433,
0.03149435669183731,
-0.03595057502388954,
-0.01894362084567547,
-0.01590700075030327,
-0.02280755527317524,
-0.06043156236410141,
0.028655165806412697,
-0.0035184368025511503,
-0.015436936169862747,
-0.06821583956480026,
-0.044261325150728226,
0.02453739568591118,
0.04689368978142738,
-0.0357249416410923,
0.017298392951488495,
-0.010792693123221397,
0.005546767730265856,
0.058964960277080536,
-0.03484122082591057,
-0.03198322653770447,
0.05114307627081871,
-0.026868918910622597,
-0.01833253726363182,
-0.019930757582187653,
0.005875812843441963,
0.02404852770268917,
0.04918760806322098,
-0.059566643089056015,
-0.01383871491998434,
-0.011629409156739712,
-0.035048048943281174,
-0.07212678343057632,
0.04238106310367584,
-0.0073471167124807835,
0.02344684489071369,
-0.030949082225561142,
-0.003974399995058775,
0.009984181262552738,
-0.009128662757575512,
-0.03192681819200516,
0.0035043349489569664,
0.016837729141116142,
-0.006120246835052967,
0.0701713114976883,
0.0066749234683811665,
0.008771413937211037,
-0.019159851595759392,
0.06735091656446457,
-0.0196487195789814,
-0.049864500761032104,
0.014167760498821735,
-0.011131140403449535,
-0.006439891178160906,
0.009786753915250301,
-0.019874349236488342,
-0.05106786638498306,
-0.003762870794162154,
0.003149435855448246,
0.05693427845835686,
-0.016715513542294502,
-0.0034479270689189434,
0.04305795952677727,
-0.015568554401397705,
0.02649286575615406,
-0.07163791358470917,
-0.030102966353297234,
-0.023315226659178734,
0.029388466849923134,
-0.05411388725042343,
-0.003798125544562936,
-0.010266220197081566,
-0.05704709514975548,
-0.02412373758852482,
-0.061183664947748184,
-0.02809108793735504,
-0.09739747643470764,
0.022957976907491684,
-0.04565271735191345,
0.012992598116397858,
0.018501760438084602,
-0.015314719639718533,
-0.00009922779281623662,
0.04689368978142738,
0.03952306881546974,
0.01130976527929306,
0.014111353084445,
-0.018802601844072342,
-0.030290991067886353,
-0.039861515164375305,
0.0015265361871570349,
-0.018614575266838074,
-0.0020565346349030733,
0.03534889221191406,
0.006035635247826576,
0.04651763662695885,
-0.007018071133643389,
0.02209305763244629,
-0.019141048192977905,
-0.050165340304374695,
0.05900256335735321,
-0.019131647422909737,
-0.03548051044344902,
0.009123962372541428,
-0.010820897296071053,
-0.009993582963943481,
0.02303318679332733,
0.009636333212256432,
-0.08062555640935898,
0.0614469014108181,
0.004529076628386974,
-0.06983286142349243,
-0.011516593396663666,
-0.004773510619997978,
0.004851071164011955,
-0.010858502238988876,
0.06468094885349274,
-0.005589073523879051,
-0.032002028077840805,
-0.05919058993458748,
0.0021329200826585293,
-0.026304839178919792,
-0.02399211935698986,
-0.001971922814846039,
0.015869395807385445,
0.015267712995409966,
-0.0019789738580584526,
0.005382244940847158,
-0.002571255899965763,
0.10010505467653275,
-0.01601981744170189,
-0.060055509209632874,
-0.0015183100476861,
-0.017768459394574165,
-0.044449351727962494,
-0.04279472306370735,
0.059453826397657394,
-0.02596639283001423,
0.002947307890281081,
-0.046705663204193115,
0.04523906111717224,
-0.039447858929634094,
0.00157354271505028,
0.004402159247547388,
-0.002709924941882491,
0.04877394810318947,
-0.0030577732250094414,
-0.004127170890569687,
-0.028861993923783302,
-0.039748698472976685,
-0.04177938029170036,
-0.02053244039416313,
0.0019296170212328434,
0.01169521827250719,
-0.06968244165182114,
0.022525517269968987,
-0.02374768629670143,
-0.043020352721214294,
0.007647958118468523,
-0.0021705252584069967,
-0.07912135124206543,
0.09070374816656113,
0.0478714257478714,
-0.037417177110910416,
-0.013866919092833996,
0.024687815457582474,
0.010106398724019527,
0.03892138600349426,
-0.08348355442285538,
-0.01862397789955139,
-0.04177938029170036,
0.04768339917063713,
-0.0010124025866389275,
-0.05204560235142708,
-0.02303318679332733,
-0.033675458282232285,
-0.010914910584688187,
0.02786545641720295,
0.00018817291129380465,
-0.07310451567173004,
-0.029745716601610184,
0.06107085198163986,
0.03083626739680767,
0.02594759128987789,
0.004742956254631281,
-0.0310807004570961,
-0.008268443867564201,
0.020024770870804787,
0.012165283784270287,
0.0171479731798172,
0.05125589296221733,
-0.010886706411838531,
-0.045013427734375,
0.0400119349360466,
-0.02292037196457386,
-0.0009183895890600979,
0.046818479895591736,
0.020701665431261063,
-0.010858502238988876,
0.04775860905647278,
0.019159851595759392,
0.04655524343252182,
0.031456753611564636,
-0.027226166799664497,
0.046705663204193115,
0.03734196722507477,
-0.02179221622645855,
0.020927295088768005,
0.027000537142157555,
0.0016123231034725904,
-0.0041788783855736256,
-0.027959469705820084,
-0.020852085202932358,
0.018370142206549644,
0.042117826640605927,
-0.05321136489510536,
0.03993672505021095,
0.015201903879642487,
0.005857010371983051,
0.015107890591025352,
-0.017307795584201813,
0.026699693873524666,
0.03922222927212715,
0.0648689791560173,
0.0182197205722332,
-0.04234346002340317,
-0.02596639283001423,
0.005979227367788553,
-0.0036853100173175335,
-0.00605913856998086,
-0.08280666172504425,
-0.04042559489607811,
0.05448994040489197,
0.007083880249410868,
0.04708171635866165,
-0.025797169655561447,
0.059566643089056015,
0.03162597492337227,
-0.08325792104005814,
-0.032302871346473694,
0.034201931208372116,
-0.029990149661898613,
0.007859488017857075,
0.09739747643470764,
-0.012296902015805244,
0.03294215723872185,
0.020626453682780266,
-0.060581982135772705,
0.038545332849025726,
0.04347161576151848,
-0.006256565917283297,
-0.005532665643841028,
-0.05392586067318916,
-0.04042559489607811,
0.027056943625211716,
-0.008207336068153381,
-0.021585386246442795,
-0.00813212525099516,
0.0012104174820706248,
0.014647226780653
] |
52,164 |
pebble.pool.base_pool
|
stop
|
Stops the pool without performing any pending task.
|
def stop(self):
"""Stops the pool without performing any pending task."""
self._context.state = STOPPED
|
(self)
|
[
0.06194274500012398,
-0.0036552618257701397,
-0.0017281974432989955,
0.010747464373707771,
-0.0345509797334671,
-0.017007451504468918,
-0.013012818992137909,
0.021806199103593826,
0.03832080587744713,
-0.037940364331007004,
-0.05416099354624748,
-0.03097137250006199,
0.006696629803627729,
-0.02280917949974537,
0.003640130627900362,
0.04651758447289467,
-0.0010543193202465773,
-0.049388185143470764,
-0.024780556559562683,
-0.029778171330690384,
-0.018243884667754173,
0.04226355999708176,
0.059279657900333405,
-0.03185330703854561,
-0.018399519845843315,
-0.0013693722430616617,
-0.017742395401000977,
-0.03621108829975128,
-0.058449603617191315,
-0.034706614911556244,
-0.017612699419260025,
0.00472957594320178,
-0.03140369430184364,
0.021062608808279037,
0.0509791225194931,
0.01807095855474472,
-0.008227040991187096,
0.047866422683000565,
0.03382468223571777,
-0.005745526868849993,
0.012718841433525085,
-0.05734286829829216,
-0.011568871326744556,
0.056893255561590195,
-0.008399968966841698,
-0.017033390700817108,
0.02875789813697338,
-0.06885986030101776,
0.059383414685726166,
-0.004958705510944128,
-0.012935001403093338,
-0.010453486815094948,
-0.028706019744277,
0.025091826915740967,
0.010038460604846478,
0.04084555059671402,
0.0065928734838962555,
0.017664577811956406,
-0.00021953727991785854,
-0.04001550003886223,
-0.01869349740445614,
0.01465563289821148,
-0.045410845428705215,
-0.01428383868187666,
0.035692304372787476,
-0.00593142444267869,
-0.033911146223545074,
0.08238281309604645,
0.0011272733099758625,
0.021425757557153702,
-0.013998507522046566,
-0.03704113885760307,
-0.029172923415899277,
0.046967197209596634,
-0.027530109509825706,
-0.060282640159130096,
0.0118974344804883,
-0.017725102603435516,
0.0026285029016435146,
-0.04337029904127121,
-0.01428383868187666,
0.020751338452100754,
-0.005304560996592045,
0.059314243495464325,
0.050425752997398376,
-0.010055753402411938,
0.05869170278310776,
-0.03097137250006199,
-0.08660225570201874,
-0.0313345231115818,
-0.03365175426006317,
0.07795586436986923,
-0.02139117196202278,
0.006385359913110733,
0.08141441643238068,
0.008443200960755348,
-0.04669051244854927,
0.017439771443605423,
-0.049422770738601685,
-0.07408227771520615,
0.050252825021743774,
-0.03529457002878189,
0.011733152903616428,
-0.01814012974500656,
0.06972450017929077,
-0.007055455353111029,
0.023985089734196663,
-0.0026933508925139904,
-0.046171728521585464,
-0.04485747590661049,
-0.023379841819405556,
0.09614787250757217,
-0.0709695816040039,
0.0017487326404079795,
-0.05409182235598564,
0.01638491079211235,
-0.03704113885760307,
0.014240606687963009,
-0.02630232274532318,
0.021598685532808304,
-0.052051275968551636,
0.004396690055727959,
-0.06083600968122482,
-0.05333094298839569,
0.012044423259794712,
0.0853571742773056,
0.014949610456824303,
0.03527727723121643,
0.01069558598101139,
-0.007997912354767323,
-0.016998805105686188,
-0.006917112972587347,
-0.00939862709492445,
0.03849373385310173,
0.02689027599990368,
0.010548597201704979,
0.07311388105154037,
0.006087059620767832,
0.02299940027296543,
0.034084074199199677,
0.008819319307804108,
0.013324089348316193,
-0.01183690968900919,
0.017673224210739136,
0.06754560768604279,
0.008862551301717758,
-0.007103010546416044,
-0.031542036682367325,
0.018295763060450554,
0.016090933233499527,
0.020716752856969833,
0.01439624186605215,
0.050321996212005615,
-0.009277577511966228,
-0.011741799302399158,
0.05990219861268997,
-0.011283540166914463,
0.04361239820718765,
0.02033631131052971,
-0.05793081969022751,
0.014223313890397549,
0.02459033578634262,
-0.037214066833257675,
-0.0391162745654583,
-0.02381216175854206,
-0.008512372151017189,
0.013782347552478313,
0.08584137260913849,
0.015312759205698967,
0.019022060558199883,
-0.033876560628414154,
-0.0163416787981987,
0.01313386857509613,
0.024417409673333168,
-0.01732736825942993,
0.0672343373298645,
0.009614787064492702,
0.03600357472896576,
-0.01232975348830223,
-0.0013985538389533758,
-0.012805305421352386,
-0.01188014168292284,
-0.07387476414442062,
0.026648178696632385,
0.006208108738064766,
0.0028727634344249964,
-0.0019119333010166883,
0.03755992278456688,
-0.0012580499751493335,
-0.015762371942400932,
0.001231029978953302,
-0.023500891402363777,
-0.0008830127189867198,
0.008434554561972618,
-0.009856886230409145,
0.0394621305167675,
0.016583777964115143,
-0.007582885213196278,
0.023258792236447334,
-0.0179499089717865,
0.013790993951261044,
0.019350623711943626,
0.0699320137500763,
-0.03676445409655571,
0.049491941928863525,
0.0260775163769722,
-0.022463323548436165,
-0.0013855842407792807,
0.007310523651540279,
-0.010341083630919456,
0.02450387366116047,
0.008456170558929443,
0.030694689601659775,
0.08757065236568451,
0.10963623970746994,
0.017828859388828278,
-0.029691707342863083,
0.022653544321656227,
-0.0081276074051857,
0.017725102603435516,
-0.010289205238223076,
-0.07581155747175217,
0.04226355999708176,
-0.010116278193891048,
-0.023120449855923653,
0.04015384241938591,
0.020076921209692955,
-0.016661595553159714,
0.011300832964479923,
0.008503725752234459,
-0.005499104969203472,
-0.023310670629143715,
-0.007249998860061169,
-0.032285623252391815,
0.03679903969168663,
0.016601070761680603,
-0.04191770404577255,
0.005416964180767536,
-0.07051996886730194,
0.011456468142569065,
-0.009908764623105526,
-0.06301490217447281,
-0.007526683621108532,
-0.07913177460432053,
-0.017578113824129105,
0.04561835899949074,
0.04720929637551308,
0.018295763060450554,
0.058415018022060394,
-0.00531753059476614,
0.03783660754561424,
-0.059245072305202484,
0.015494332648813725,
-0.054368507117033005,
0.01069558598101139,
-0.124300517141819,
0.026769226416945457,
-0.02791055105626583,
0.018174713477492332,
0.031559329479932785,
-0.022290397435426712,
-0.00947644468396902,
-0.07449730485677719,
0.0658854991197586,
0.08106856793165207,
0.02222122624516487,
-0.005507751367986202,
-0.013600773178040981,
0.04897316172719002,
0.01193202007561922,
0.06868693232536316,
-0.030642811208963394,
0.019246866926550865,
-0.01711985468864441,
-0.04433869570493698,
0.01232975348830223,
-0.04112223535776138,
0.037179481238126755,
-0.06813356280326843,
-0.036384012550115585,
0.0850113183259964,
0.02303398586809635,
-0.01895288936793804,
-0.0006290249875746667,
-0.028446627780795097,
-0.006778770592063665,
0.01064370758831501,
0.0012526459759101272,
0.02445199526846409,
0.004863595124334097,
-0.01056588999927044,
0.06218484416604042,
-0.009104649536311626,
0.009147881530225277,
0.042989857494831085,
-0.019938578829169273,
-0.01883183978497982,
-0.002479352755472064,
-0.001603905577212572,
0.052327960729599,
0.020128799602389336,
-0.04330112785100937,
-0.026786519214510918,
0.018192006275057793,
-0.017742395401000977,
0.051221221685409546,
0.06996659934520721,
-0.011715860106050968,
0.0025506853125989437,
0.003322375938296318,
0.0475897379219532,
-0.033098384737968445,
-0.029795464128255844,
-0.02533392608165741,
0.025126412510871887,
0.02459033578634262,
-0.006912789773195982,
-0.015719139948487282,
-0.020785924047231674,
0.030141320079565048,
-0.05319260060787201,
-0.046102557331323624,
0.02216934785246849,
0.015736432746052742,
-0.0027517140842974186,
0.04264400154352188,
0.013185746967792511,
0.022670837119221687,
0.03112700767815113,
0.02768574468791485,
-0.0014720481121912599,
0.006744184996932745,
0.020163385197520256,
-0.04229814559221268,
-0.05423016473650932,
-0.060248054563999176,
0.035588547587394714,
-0.0006646913243457675,
-0.01069558598101139,
-0.06370661407709122,
0.02038818970322609,
-0.05405723676085472,
-0.0021540322341024876,
0.04734763875603676,
-0.06481334567070007,
0.020128799602389336,
0.015200356021523476,
-0.06069766730070114,
0.10085150599479675,
-0.005927101243287325,
0.033202141523361206,
0.02770303748548031,
-0.0009262446546927094,
0.07193797826766968,
0.0002910050970967859,
-0.0005039224633947015,
0.0005263490602374077,
0.048869404941797256,
0.031455572694540024,
-0.08245198428630829,
-0.07262968271970749,
-0.04164101928472519,
0.008361060172319412,
0.016998805105686188,
0.013678590767085552,
-0.035899817943573,
-0.0053607625886797905,
-0.022394154220819473,
-0.01967918686568737,
0.00718515133485198,
-0.03915086016058922,
-0.038113292306661606,
-0.02127012237906456,
0.02211746945977211,
-0.0346374437212944,
-0.0018049341160804033,
-0.03107512928545475,
-0.024694092571735382,
0.007414280436933041,
0.07511984556913376,
-0.027478231117129326,
-0.02360464818775654,
0.006108675617724657,
0.009528323076665401,
-0.030020270496606827,
-0.0035947372671216726,
-0.05308884382247925,
-0.03494871407747269,
0.04897316172719002,
-0.03263147920370102,
0.053607624024152756,
-0.027668451890349388,
0.019177695736289024,
-0.02547226846218109,
0.02524746209383011,
-0.01721496507525444,
0.01710256189107895,
-0.029622536152601242,
-0.004820363130420446,
-0.015234941616654396,
-0.015018781647086143,
0.07352890819311142,
-0.02858497016131878,
-0.003763341810554266,
0.05799999088048935,
-0.009917411021888256,
0.016566485166549683,
-0.023172328248620033,
0.0440274253487587,
-0.031507451087236404,
0.00009983879863284528,
-0.03614191710948944,
-0.01633303239941597,
-0.068756103515625,
-0.01068693958222866,
-0.019454380497336388,
-0.020889680832624435,
0.02951877936720848,
0.07498150318861008,
0.041295163333415985,
0.038147877901792526,
0.025039948523044586,
0.09379605203866959,
-0.08618722856044769,
-0.056201543658971786,
-0.0058881924487650394,
0.04181394726037979,
-0.023483598604798317,
0.0001205090811708942,
-0.0049976143054664135,
-0.1151699349284172,
0.035726889967918396,
-0.009147881530225277,
0.00735375564545393,
0.02206559106707573,
0.012891769409179688,
0.009217052720487118,
-0.0072327060624957085,
0.011006856337189674,
0.0033439917024224997,
0.006290249526500702,
0.034014903008937836,
-0.0011424043914303184,
0.016549192368984222,
0.05734286829829216,
-0.0006425349274650216,
-0.01429248508065939,
-0.004504770040512085,
0.04316278547048569,
0.010859867557883263,
-0.001869782106950879,
-0.011551578529179096,
0.05471436306834221,
-0.017655931413173676,
-0.002548523712903261,
-0.004963028710335493,
-0.047105539590120316,
-0.031455572694540024,
-0.02631961554288864,
-0.028290992602705956,
-0.024867020547389984,
0.015183063223958015,
-0.04108764976263046,
-0.012848537415266037,
0.018313055858016014,
-0.03188789263367653,
0.04025759920477867,
-0.007306200452148914,
0.030556347221136093,
0.010721525177359581,
-0.015087952837347984,
-0.021097194403409958,
0.01471615768969059,
-0.012468095868825912,
-0.005745526868849993,
0.04088013619184494,
-0.03190518543124199,
0.03263147920370102,
0.07000118494033813,
-0.010150862857699394,
0.019454380497336388,
-0.043785326182842255,
0.04001550003886223,
0.021702442318201065,
-0.04828144982457161,
-0.017776980996131897,
0.035657718777656555,
-0.03036612644791603,
0.0377674363553524,
-0.02118365839123726,
-0.04364698380231857,
-0.037214066833257675,
0.015096599236130714,
-0.0023410103749483824,
0.02874060533940792,
-0.02944960817694664,
-0.06560881435871124,
-0.025852710008621216,
0.035726889967918396,
-0.009709897451102734,
0.01180232409387827,
0.013384613208472729,
-0.024417409673333168,
-0.008871197700500488,
0.0541955791413784,
-0.033184848725795746,
-0.010341083630919456,
0.014837207272648811,
-0.03332319110631943,
0.02944960817694664,
-0.005252682603895664,
0.007418603636324406,
0.03908168897032738,
-0.018607033416628838,
0.04855813458561897,
-0.007946033962070942,
-0.021892663091421127,
-0.01796720176935196,
0.05623612925410271,
-0.01807095855474472,
0.030469883233308792,
0.017776980996131897,
0.010712878778576851,
0.07698746770620346,
-0.0019702964928001165,
-0.04655217006802559,
-0.00739698763936758,
-0.033063799142837524,
-0.018641619011759758,
0.09338102489709854,
0.015771018341183662,
-0.01720631867647171,
0.0006992769194766879,
0.000975420989561826,
0.0011391619918867946,
-0.025576025247573853,
-0.06000595539808273,
-0.06515920162200928,
-0.0170593298971653,
-0.03704113885760307,
-0.0408109650015831,
0.01639355719089508,
0.047001782804727554,
0.0007295392570085824,
-0.04243648797273636,
0.06948240101337433,
-0.03863207623362541,
0.07242217659950256,
-0.05727369710803032,
0.008490756154060364,
0.026751933619379997,
0.015139831230044365,
0.02529934048652649,
-0.028014307841658592,
-0.0032056495547294617,
0.008002235554158688,
0.005538013763725758,
0.05163624882698059,
-0.018209299072623253,
0.03444722294807434,
-0.053434696048498154,
0.031542036682367325,
0.024106139317154884,
-0.01637626439332962,
0.05824209004640579,
0.023500891402363777,
-0.00934674870222807,
-0.03017590567469597,
0.05464519187808037,
-0.01800178736448288,
0.03121347166597843,
-0.09511030465364456,
0.06509003043174744,
0.004413982853293419,
0.02275730110704899,
0.028187235817313194,
0.05066785216331482,
-0.023276085034012794,
-0.02944960817694664,
-0.015771018341183662,
-0.025697074830532074,
-0.002179971430450678,
-0.016756705939769745,
-0.028360163792967796,
-0.048869404941797256,
0.024884313344955444,
-0.024192603304982185,
-0.028031600639224052,
0.015399223193526268,
0.028844360262155533,
0.03135181590914726,
0.07034704089164734,
0.04734763875603676,
-0.0010862029157578945,
-0.034862250089645386,
0.0063378047198057175,
-0.03135181590914726,
0.03525998443365097,
-0.002585270907729864,
0.08770899474620819,
0.022446030750870705,
0.01194066647440195,
0.0970470979809761,
-0.0010921473149210215,
0.007803367916494608,
0.0286195557564497,
-0.06270363181829453,
-0.0065928734838962555,
-0.030763860791921616,
0.02299940027296543,
-0.03252772241830826,
-0.06311865895986557,
0.051982104778289795,
0.037110310047864914,
-0.009744483046233654,
-0.03178413584828377,
-0.019298745319247246,
0.014067678712308407,
0.0057239108718931675,
-0.06443290412425995,
-0.020889680832624435,
-0.025039948523044586,
0.013272210955619812,
-0.012649670243263245,
-0.02201371267437935,
0.02054382488131523,
0.015771018341183662,
-0.009511030279099941,
-0.05492187663912773,
0.04264400154352188,
-0.07138460874557495,
-0.03453368693590164,
-0.0005814697942696512,
0.010159509256482124,
0.009675311855971813,
0.015390576794743538,
0.027357181534171104,
0.03859749063849449,
0.007647733204066753,
-0.031455572694540024,
0.021062608808279037,
-0.015425162389874458,
0.023431720212101936,
-0.026751933619379997,
-0.04855813458561897,
-0.05011448264122009,
-0.012666963040828705,
-0.020716752856969833,
0.020007750019431114,
0.020128799602389336,
-0.011292186565697193,
0.02880977652966976,
0.005127309821546078,
-0.010920392349362373,
-0.05481811985373497,
-0.013834225945174694,
-0.02038818970322609,
-0.04506498947739601,
0.000652262126095593,
-0.05391889438033104,
-0.02951877936720848,
-0.008516695350408554,
-0.043889082968235016,
0.02787596546113491,
-0.03842456266283989,
0.004751191940158606,
-0.01437030266970396,
0.022653544321656227,
-0.037144895642995834,
0.01227787509560585,
0.02038818970322609,
-0.03904710337519646,
-0.022428737953305244,
0.002794946078211069,
-0.07207632064819336,
0.03505247086286545,
-0.026406079530715942,
-0.05872628837823868,
-0.058484189212322235,
0.011188430711627007,
-0.02623315155506134,
-0.025679782032966614,
0.02052653208374977,
0.00733646284788847,
0.03621108829975128,
0.0691019594669342,
-0.0729755386710167,
-0.03773285076022148,
0.03351341187953949,
-0.029916513711214066,
-0.02040548250079155,
0.04191770404577255,
-0.014543229714035988,
-0.010410254821181297,
-0.07290636748075485,
-0.049526527523994446,
-0.04191770404577255,
-0.07228383421897888,
0.04347405582666397,
0.008905783295631409,
-0.0131252221763134,
-0.0672343373298645,
0.0156672615557909,
-0.03835539147257805,
0.04821227863430977,
0.07996182888746262,
-0.017465710639953613,
-0.04672509804368019,
0.02768574468791485,
0.004876564722508192,
0.06640428304672241,
-0.0002877626975532621,
0.005460196174681187,
0.042021460831165314,
0.0012656155740842223,
0.02932855859398842,
-0.11150386184453964,
-0.058415018022060394,
0.021045316010713577,
0.0509791225194931,
-0.002410181565210223,
-0.02931126579642296,
0.039669644087553024,
-0.029069166630506516,
0.017033390700817108,
-0.024642214179039,
-0.02855038456618786,
0.03821704909205437,
0.03465473651885986,
0.05073702335357666,
-0.056063201278448105,
-0.04762432351708412,
-0.048869404941797256,
0.02137387916445732,
-0.023898625746369362,
-0.00671392260119319,
0.03596898913383484,
0.02031901851296425,
0.01344513799995184,
0.018485983833670616,
0.006125968415290117,
-0.05585568770766258,
0.03596898913383484,
0.004522062838077545,
0.0270113255828619,
0.01628115400671959,
0.005568276159465313,
0.010202741250395775,
0.01057453639805317,
-0.050218239426612854,
0.03359987586736679,
0.038943346589803696,
0.0035169196780771017,
0.021546807140111923,
0.014871792867779732,
-0.03662611171603203,
0.015157124027609825,
0.0460679717361927,
-0.06965532898902893,
-0.0062556639313697815,
0.0053607625886797905,
0.007509390823543072,
-0.01814012974500656,
-0.001938953180797398,
0.013825579546391964,
0.005866576451808214,
0.035623133182525635,
0.042886100709438324
] |
52,165 |
pebble.pool.process
|
submit
|
This function is provided for compatibility with
`asyncio.loop.run_in_executor`.
For scheduling jobs within the pool use `schedule` instead.
|
def submit(self, function: Callable,
timeout: Optional[float],
*args, **kwargs) -> ProcessFuture:
"""This function is provided for compatibility with
`asyncio.loop.run_in_executor`.
For scheduling jobs within the pool use `schedule` instead.
"""
return self.schedule(
function, args=args, kwargs=kwargs, timeout=timeout)
|
(self, function: Callable, timeout: Optional[float], *args, **kwargs) -> pebble.common.ProcessFuture
|
[
0.0674792006611824,
0.0005271812551654875,
-0.0657699704170227,
0.022273479029536247,
-0.015116053633391857,
0.009382992051541805,
-0.055906251072883606,
-0.03703344240784645,
0.011848920956254005,
-0.06042860448360443,
-0.007611440494656563,
-0.0084527051076293,
-0.002262289170175791,
-0.057223789393901825,
0.029074812307953835,
0.018694765865802765,
0.05191803723573685,
-0.06242271512746811,
-0.025407077744603157,
-0.03649930655956268,
0.023769060149788857,
0.0008067681919783354,
0.027418989688158035,
-0.04857078194618225,
0.06195979565382004,
0.021668123081326485,
0.04739568382501602,
-0.01944255642592907,
-0.0353420116007328,
0.003022320568561554,
0.06520022451877594,
0.014466187916696072,
-0.033330097794532776,
0.06534265726804733,
0.02093813754618168,
0.04105726629495621,
-0.07598977535963058,
0.006503107957541943,
-0.04646984860301018,
-0.03201255947351456,
-0.027045095339417458,
0.002933297771960497,
-0.02289663627743721,
-0.04251723736524582,
-0.02489074505865574,
-0.027881907299160957,
-0.025460490956902504,
0.016602732241153717,
0.004259735811501741,
0.011617462150752544,
-0.014617526903748512,
-0.03527079150080681,
-0.002541597932577133,
0.00011399077629903331,
-0.026137063279747963,
0.03064161166548729,
0.023128096014261246,
0.0296267531812191,
0.04098604992032051,
-0.02417856454849243,
0.01694992184638977,
0.0008379261125810444,
-0.018169531598687172,
0.004989722277969122,
0.00815447885543108,
0.047822993248701096,
0.01862354762852192,
0.02401832304894924,
0.01176880020648241,
-0.02912822552025318,
0.03000064752995968,
-0.0016747394111007452,
0.04924735426902771,
-0.002459252020344138,
0.05124146491289139,
0.006244942080229521,
0.03229743242263794,
-0.01678968034684658,
-0.019549384713172913,
-0.012071477249264717,
-0.039098769426345825,
-0.025923408567905426,
0.02157910168170929,
-0.03179890662431717,
0.023128096014261246,
-0.0021899582352489233,
0.018169531598687172,
-0.024107346311211586,
-0.1235634982585907,
-0.022967854514718056,
0.03211938962340355,
-0.009943835437297821,
0.0024236429017037153,
0.00612921267747879,
0.0006142565980553627,
-0.043870385736227036,
0.04960344731807709,
-0.0069482214748859406,
-0.0030468017794191837,
-0.03195914626121521,
-0.002710741013288498,
0.05216730013489723,
0.028059953823685646,
-0.07321226596832275,
0.03032113052904606,
-0.004615826532244682,
-0.045722056180238724,
0.01694992184638977,
-0.018837202340364456,
0.024427827447652817,
0.008862209506332874,
0.04593570902943611,
0.005363617558032274,
-0.016736267134547234,
-0.01433265395462513,
0.03211938962340355,
-0.05982325226068497,
0.04874882847070694,
0.006298355758190155,
-0.017092358320951462,
-0.02914603054523468,
0.02668900415301323,
0.03147842362523079,
-0.03471885249018669,
-0.030695024877786636,
0.07762779295444489,
-0.03511055186390877,
0.04839273542165756,
-0.06555631011724472,
-0.03867146000266075,
-0.004633631091564894,
0.054944805800914764,
0.08147357404232025,
0.09500502049922943,
-0.011688679456710815,
-0.004909601528197527,
-0.0070238905027508736,
0.03692661225795746,
-0.029893821105360985,
0.0065476191230118275,
0.04960344731807709,
-0.009667865000665188,
0.04739568382501602,
-0.06851186603307724,
0.05978764221072197,
-0.03208377957344055,
-0.04646984860301018,
-0.060357388108968735,
-0.023947104811668396,
-0.0411284863948822,
0.020635461434721947,
-0.0011739868205040693,
0.052487779408693314,
-0.004691496025770903,
0.025976821780204773,
0.0017159124836325645,
0.08766955137252808,
-0.017573079094290733,
0.056760869920253754,
-0.006725664716213942,
-0.00955213513225317,
0.06359781324863434,
0.003616546979174018,
-0.009934932924807072,
-0.03357936069369316,
-0.0012841523857787251,
0.06480852514505386,
0.020688874647021294,
0.017475154250860214,
0.049674663692712784,
0.058719370514154434,
-0.007135169114917517,
0.0015022580046206713,
0.03806610405445099,
-0.1265546679496765,
0.03934803232550621,
0.03760318458080292,
0.03742514178156853,
-0.00032910576555877924,
-0.010362241417169571,
-0.041448965668678284,
-0.031193552538752556,
-0.0038123968988656998,
-0.02736557647585869,
-0.0035876145120710135,
0.0006348430761136115,
-0.0008457155781798065,
0.03671295940876007,
-0.039134375751018524,
-0.03657052293419838,
-0.013940953649580479,
-0.022843223065137863,
0.07022110372781754,
-0.015783723443746567,
-0.013478036038577557,
-0.10255414247512817,
-0.027240945026278496,
0.03555566444993019,
-0.01244537252932787,
0.045544009655714035,
0.05465993285179138,
-0.011617462150752544,
0.07225082069635391,
-0.004967466462403536,
-0.03521737828850746,
-0.019211096689105034,
-0.06032177805900574,
-0.02517561800777912,
-0.03881389647722244,
-0.015187271870672703,
-0.015757016837596893,
-0.016718462109565735,
-0.03487909212708473,
0.0806901678442955,
-0.020777897909283638,
0.02451685070991516,
0.01094088889658451,
0.014644233509898186,
0.08709980547428131,
0.010531384497880936,
0.03660613298416138,
0.01457301527261734,
0.006440791767090559,
-0.03322327136993408,
0.03064161166548729,
0.03689100593328476,
0.026902658864855766,
0.03110452927649021,
0.07634586095809937,
-0.07698682695627213,
-0.04045191407203674,
-0.02010132372379303,
-0.016300056129693985,
-0.02554951421916485,
0.012650124728679657,
-0.03639247640967369,
0.014279239811003208,
0.004860639106482267,
-0.06544948369264603,
0.00465588690713048,
0.04415525496006012,
-0.041448965668678284,
0.009685669094324112,
-0.011884530074894428,
-0.02718753181397915,
-0.0056484900414943695,
-0.011724288575351238,
0.039098769426345825,
0.025157812982797623,
-0.030018452554941177,
-0.04233919456601143,
-0.008817697875201702,
-0.02978699281811714,
0.005875498056411743,
-0.03179890662431717,
0.014190217480063438,
-0.052950698882341385,
-0.031211357563734055,
0.04565083980560303,
0.05298630893230438,
0.0034919152967631817,
-0.046042539179325104,
-0.010584798641502857,
-0.01185782253742218,
0.024000518023967743,
-0.040914829820394516,
-0.09180020540952682,
0.014154608361423016,
0.05223851650953293,
0.01539202407002449,
0.06455925852060318,
-0.005986776202917099,
0.007193033583462238,
-0.024125149473547935,
-0.04294454678893089,
-0.0011539566330611706,
-0.029448706656694412,
0.0296445582062006,
0.04248163104057312,
-0.05056489259004593,
0.015863845124840736,
0.014208022505044937,
-0.04593570902943611,
-0.06544948369264603,
-0.004326502792537212,
0.032511088997125626,
-0.01186672504991293,
0.11879188567399979,
0.02850506640970707,
0.04013143107295036,
-0.043549902737140656,
0.0222022607922554,
0.010148587636649609,
-0.021774951368570328,
-0.026315107941627502,
0.03158525377511978,
-0.004789420869201422,
-0.03509274497628212,
0.04497426375746727,
-0.03575151413679123,
0.04415525496006012,
-0.008083260618150234,
0.024000518023967743,
-0.03260011225938797,
0.006725664716213942,
0.027240945026278496,
0.018748179078102112,
-0.01500032376497984,
-0.07755657285451889,
0.004315375350415707,
0.012240620329976082,
-0.00964115746319294,
-0.009926030412316322,
-0.027792885899543762,
0.02519342303276062,
0.044546958059072495,
-0.00040866981726139784,
-0.050814155489206314,
0.02866530790925026,
-0.07841119170188904,
-0.01682528853416443,
-0.012320741079747677,
0.06726554781198502,
-0.03667734935879707,
-0.0477161630988121,
-0.003799043595790863,
-0.019798647612333298,
0.005381422117352486,
0.026226086542010307,
0.011724288575351238,
0.01908646523952484,
0.054446280002593994,
0.043051376938819885,
-0.042232368141412735,
-0.07011427730321884,
-0.01539202407002449,
-0.0014032202307134867,
0.031086724251508713,
0.02882554940879345,
-0.01653151400387287,
-0.018409892916679382,
0.032386455684900284,
0.01376290898770094,
0.026706809177994728,
-0.043870385736227036,
0.024267585948109627,
-0.03172769024968147,
0.013041825033724308,
0.01703004166483879,
-0.09044706076383591,
0.07217960059642792,
-0.017172478139400482,
0.013353404588997364,
0.04479622095823288,
0.006974928081035614,
0.029697971418499947,
0.08909391611814499,
-0.008737577125430107,
-0.028594089671969414,
-0.021294228732585907,
-0.02832702174782753,
-0.03078404814004898,
0.03115794248878956,
-0.02505098655819893,
0.024267585948109627,
0.04301576688885689,
0.03331229090690613,
0.051811207085847855,
-0.0014911300968378782,
0.044867437332868576,
0.05056489259004593,
0.021650319918990135,
-0.014866789802908897,
-0.024783918634057045,
-0.019300119951367378,
0.0030045160092413425,
-0.06438121199607849,
-0.01754637248814106,
-0.058078404515981674,
-0.0024859588593244553,
0.0016035212902352214,
-0.060677867382764816,
-0.02750801295042038,
-0.08603153377771378,
-0.022789809852838516,
-0.0012541072210296988,
0.017199184745550156,
-0.011181250214576721,
0.02551390416920185,
0.01752856932580471,
-0.06847625970840454,
-0.02619047649204731,
0.018516721203923225,
0.03261791542172432,
-0.010184196755290031,
-0.009605548344552517,
-0.011012107133865356,
0.005394775420427322,
0.019958889111876488,
-0.0027285455726087093,
-0.0067701758816838264,
-0.037140268832445145,
-0.002603913890197873,
-0.002526019001379609,
0.05198925361037254,
-0.010504677891731262,
0.014653136022388935,
-0.04020264744758606,
0.030214302241802216,
0.045401573181152344,
0.011225761845707893,
-0.028611894696950912,
-0.035324204713106155,
-0.030232107266783714,
-0.04212553799152374,
0.04593570902943611,
-0.04721763730049133,
-0.03555566444993019,
-0.040736787021160126,
-0.07777022570371628,
0.026065845042467117,
0.005848790984600782,
-0.047182027250528336,
0.05836327746510506,
0.048998091369867325,
0.007945275865495205,
0.06879673898220062,
0.014270338229835033,
-0.03389984369277954,
0.015516655519604683,
-0.009596646763384342,
0.015445437282323837,
-0.019958889111876488,
0.06958013772964478,
0.038279760628938675,
0.02125861868262291,
0.00559952761977911,
0.01432375144213438,
0.01694992184638977,
0.028202390298247337,
-0.0172882080078125,
-0.010193098336458206,
-0.011501732282340527,
0.0036499304696917534,
0.09158654510974884,
-0.0017626493936404586,
0.01424363162368536,
0.00288210972212255,
-0.015623482875525951,
-0.01489349640905857,
0.034683242440223694,
0.02255835011601448,
0.025976821780204773,
0.02421417273581028,
0.0006710085435770452,
-0.01654931902885437,
-0.0707908496260643,
-0.03938363865017891,
-0.04565083980560303,
-0.00555056519806385,
-0.016522612422704697,
-0.004963015206158161,
0.048855654895305634,
-0.019994497299194336,
-0.05255899950861931,
0.01524068508297205,
0.029573339968919754,
-0.0031091177370399237,
0.02024376019835472,
0.00023048532602842897,
0.056725259870290756,
0.0035742612089961767,
-0.016086401417851448,
-0.02686704881489277,
0.040772393345832825,
0.011252468451857567,
-0.05829206109046936,
0.011252468451857567,
0.0038457803893834352,
-0.025496099144220352,
0.011457220651209354,
0.01674516871571541,
0.03760318458080292,
0.07171668112277985,
-0.025585122406482697,
0.036250039935112,
0.08382377028465271,
0.00820344127714634,
0.04333624616265297,
-0.004691496025770903,
-0.025976821780204773,
0.016335664317011833,
0.10981839895248413,
0.03774562105536461,
-0.016718462109565735,
-0.03261791542172432,
-0.023128096014261246,
0.03158525377511978,
-0.023947104811668396,
-0.015436535701155663,
0.02617267146706581,
0.04013143107295036,
-0.04807225614786148,
0.043051376938819885,
0.028861157596111298,
-0.027401184663176537,
-0.03973973169922829,
-0.01722589135169983,
-0.02996503934264183,
0.029911626130342484,
-0.05587064474821091,
-0.00197630375623703,
0.0050475867465138435,
-0.04333624616265297,
-0.01424363162368536,
0.01846330612897873,
-0.01514276023954153,
-0.05711695924401283,
-0.04216114804148674,
-0.02172153815627098,
0.016122009605169296,
0.024160759523510933,
-0.015552264638245106,
0.012124891392886639,
-0.0006392942159436643,
0.00824350118637085,
0.03856462985277176,
0.011403807438910007,
-0.03032113052904606,
0.0329740047454834,
-0.04023825749754906,
-0.0054837982170283794,
-0.012828170321881771,
-0.004090592730790377,
0.01990547403693199,
0.004905150271952152,
-0.015107151120901108,
0.03753196820616722,
0.012338545173406601,
-0.036125410348176956,
-0.06769286096096039,
0.041769448667764664,
0.030997702851891518,
0.025442685931921005,
-0.027935322374105453,
0.0006804672302678227,
0.024481240659952164,
-0.0014555210946127772,
0.0030200949404388666,
-0.009952737018465996,
0.010317730717360973,
0.04789420962333679,
0.08482082188129425,
0.037460751831531525,
0.0026573273353278637,
-0.017181379720568657,
0.07392444461584091,
-0.02093813754618168,
-0.023929299786686897,
0.0061158593744039536,
0.005773121956735849,
-0.015676897019147873,
-0.000980362412519753,
-0.02996503934264183,
-0.05010197311639786,
-0.006730115506798029,
0.010068466886878014,
0.06110517680644989,
-0.005448189098387957,
-0.027614839375019073,
0.04002460464835167,
0.003643253818154335,
0.013647179119288921,
-0.07096888870000839,
-0.006863649934530258,
-0.02537146769464016,
0.008247952908277512,
-0.07755657285451889,
-0.020849114283919334,
-0.012213913723826408,
-0.04066556692123413,
-0.0063918293453752995,
-0.035306401550769806,
-0.020047910511493683,
-0.10476190596818924,
0.03158525377511978,
-0.008653005585074425,
-0.022861028090119362,
0.015846040099859238,
-0.02716972678899765,
0.004146231804043055,
0.045223530381917953,
0.048642002046108246,
0.012997313402593136,
-0.004295344930142164,
-0.009605548344552517,
-0.039134375751018524,
-0.002955553587526083,
0.015329708345234394,
-0.027401184663176537,
0.015116053633391857,
0.008995743468403816,
-0.004159585572779179,
0.041769448667764664,
0.021988606080412865,
-0.0026773575227707624,
-0.02522903122007847,
-0.06480852514505386,
0.0740668848156929,
-0.030214302241802216,
-0.03347253426909447,
0.0008295802399516106,
-0.012418665923178196,
-0.025407077744603157,
0.030214302241802216,
-0.0011005430715158582,
-0.0707908496260643,
0.031567446887493134,
0.0411284863948822,
-0.03357936069369316,
-0.021614709869027138,
0.024142954498529434,
-0.014759962446987629,
-0.0009714601328596473,
0.05469554290175438,
-0.01506264042109251,
-0.021774951368570328,
-0.060855913907289505,
-0.015356414951384068,
-0.030766243115067482,
-0.034505195915699005,
0.03010747581720352,
0.014955813065171242,
0.024338804185390472,
0.016122009605169296,
-0.03649930655956268,
-0.015783723443746567,
0.0675148144364357,
-0.020795701071619987,
-0.04543718323111534,
0.008034298196434975,
-0.01720808632671833,
-0.061212003231048584,
-0.035324204713106155,
0.06687384843826294,
-0.03097989782691002,
-0.001007625600323081,
-0.02403612807393074,
0.03147842362523079,
-0.03413129970431328,
0.0067924316972494125,
0.05611990764737129,
0.020884724333882332,
0.012570004910230637,
0.03653491288423538,
-0.020849114283919334,
-0.04298015683889389,
-0.017742222175002098,
-0.02485513687133789,
0.0023680035956203938,
0.033543750643730164,
0.008385937660932541,
-0.03657052293419838,
0.0037856900598853827,
-0.06783529371023178,
-0.042232368141412735,
-0.009979444555938244,
-0.02601243183016777,
-0.0741380974650383,
0.05522967875003815,
0.04127092286944389,
-0.037496358156204224,
0.00911147240549326,
0.020813506096601486,
0.030890874564647675,
0.06317050755023956,
-0.04419086501002312,
-0.01211598888039589,
-0.007117364555597305,
0.02421417273581028,
0.015320805832743645,
-0.039917778223752975,
-0.04148457571864128,
-0.01912207528948784,
0.017875757068395615,
0.0009636706672608852,
0.03192353993654251,
-0.06879673898220062,
-0.017261501401662827,
0.0395260751247406,
0.02289663627743721,
-0.010531384497880936,
-0.02108057402074337,
-0.04251723736524582,
0.0033717346377670765,
0.043051376938819885,
0.007869605906307697,
0.015107151120901108,
0.02156129665672779,
0.02930627204477787,
0.0009814752265810966,
0.04383477568626404,
-0.025585122406482697,
0.002307913266122341,
0.0790521502494812,
0.05366288125514984,
-0.031353794038295746,
0.04426208510994911,
0.034843482077121735,
-0.004963015206158161,
0.008176734670996666,
-0.0691172182559967,
0.03803049400448799,
0.043229419738054276,
-0.023270532488822937,
0.05173999071121216,
0.01600627973675728,
0.005510504823178053,
0.0011044378625229,
-0.009409698657691479,
-0.022985659539699554,
0.005279046017676592,
0.05861254408955574,
-0.026119258254766464,
0.0026617785915732384,
-0.0020286047365516424,
-0.024321001023054123,
0.00518557196483016,
0.026475349441170692,
0.03304522484540939,
0.007976433262228966,
0.05733061581850052,
0.020475219935178757,
-0.041911885142326355,
-0.0659480094909668,
0.0018961833557114005,
0.02157910168170929,
-0.04045191407203674,
-0.07032793015241623,
-0.0674792006611824,
0.029608948156237602,
-0.019228901714086533,
0.03931242227554321,
-0.042054321616888046,
0.057401832193136215,
0.04045191407203674,
-0.07777022570371628,
-0.048677608370780945,
0.03963290527462959,
-0.048855654895305634,
0.005951167084276676,
0.04796542972326279,
-0.027472402900457382,
0.024730505421757698,
0.03078404814004898,
-0.017492959275841713,
0.027045095339417458,
0.06783529371023178,
-0.0395260751247406,
0.016015183180570602,
-0.03201255947351456,
-0.034184716641902924,
0.005951167084276676,
-0.014270338229835033,
-0.0379236675798893,
-0.02172153815627098,
-0.005630685482174158,
0.013558156788349152
] |
52,166 |
pebble.pool.thread
|
ThreadPool
|
Allows to schedule jobs within a Pool of Threads.
max_workers is an integer representing the amount of desired process workers
managed by the pool.
If max_tasks is a number greater than zero,
each worker will be restarted after performing an equal amount of tasks.
initializer must be callable, if passed, it will be called
every time a worker is started, receiving initargs as arguments.
|
class ThreadPool(BasePool):
"""Allows to schedule jobs within a Pool of Threads.
max_workers is an integer representing the amount of desired process workers
managed by the pool.
If max_tasks is a number greater than zero,
each worker will be restarted after performing an equal amount of tasks.
initializer must be callable, if passed, it will be called
every time a worker is started, receiving initargs as arguments.
"""
def __init__(self, max_workers: int = multiprocessing.cpu_count(),
max_tasks: int = 0,
initializer: Callable = None,
initargs: list = ()):
super().__init__(max_workers, max_tasks, initializer, initargs)
self._pool_manager = PoolManager(self._context)
self._pool_manager_loop = None
def _start_pool(self):
with self._context.state_mutex:
if self._context.state == CREATED:
self._pool_manager.start()
self._pool_manager_loop = launch_thread(
None, pool_manager_loop, True, self._pool_manager)
self._context.state = RUNNING
def _stop_pool(self):
if self._pool_manager_loop is not None:
self._pool_manager_loop.join()
self._pool_manager.stop()
def schedule(self, function, args=(), kwargs={}) -> Future:
"""Schedules *function* to be run the Pool.
*args* and *kwargs* will be forwareded to the scheduled function
respectively as arguments and keyword arguments.
A *concurrent.futures.Future* object is returned.
"""
self._check_pool_state()
future = Future()
payload = TaskPayload(function, args, kwargs)
task = Task(next(self._task_counter), future, None, payload)
self._context.task_queue.put(task)
return future
def submit(self, function: Callable, *args, **kwargs) -> Future:
"""This function is provided for compatibility with
`asyncio.loop.run_in_executor`.
For scheduling jobs within the pool use `schedule` instead.
"""
return self.schedule(function, args=args, kwargs=kwargs)
def map(self, function: Callable, *iterables, **kwargs) -> MapFuture:
"""Returns an iterator equivalent to map(function, iterables).
*chunksize* controls the size of the chunks the iterable will
be broken into before being passed to the function. If None
the size will be controlled by the Pool.
"""
self._check_pool_state()
timeout = kwargs.get('timeout')
chunksize = kwargs.get('chunksize', 1)
if chunksize < 1:
raise ValueError("chunksize must be >= 1")
futures = [self.schedule(process_chunk, args=(function, chunk))
for chunk in iter_chunks(chunksize, *iterables)]
return map_results(MapFuture(futures), timeout)
|
(max_workers: int = 60, max_tasks: int = 0, initializer: Callable = None, initargs: list = ())
|
[
0.06004949286580086,
-0.04283711314201355,
-0.05035783722996712,
0.032699644565582275,
-0.0010939455823972821,
0.04938867315649986,
-0.02862914837896824,
-0.04190671443939209,
-0.02715601585805416,
-0.07156317681074142,
0.0037942829076200724,
0.005185035057365894,
-0.009614121168851852,
0.02376393787562847,
0.02031370811164379,
0.05590146407485008,
0.06954731047153473,
-0.05551379919052124,
0.013064350932836533,
-0.013820299878716469,
0.029637079685926437,
0.01082557812333107,
0.07427684217691422,
-0.02969522960484028,
-0.028919897973537445,
0.026535751298069954,
-0.002875998616218567,
-0.02483001910150051,
0.006905303802341223,
-0.05152083560824394,
-0.004756179638206959,
0.04919483885169029,
-0.010709278285503387,
0.03153664618730545,
0.037894368171691895,
-0.01079650316387415,
0.015041448175907135,
0.06753145158290863,
-0.020507540553808212,
-0.021224724128842354,
0.014954223297536373,
-0.046985141932964325,
-0.01438241545110941,
-0.010515444912016392,
-0.02808641456067562,
-0.00221575447358191,
-0.014149815775454044,
-0.016844095662236214,
0.028532231226563454,
0.005170497577637434,
0.010340995155274868,
-0.053769301623106,
-0.013694307766854763,
0.028512848541140556,
0.006178429815918207,
0.06094112619757652,
0.021166574209928513,
0.020895207300782204,
-0.000060307836974970996,
-0.01039914507418871,
0.00849958136677742,
-0.01601061411201954,
0.013200033456087112,
-0.021205339580774307,
-0.006415875628590584,
-0.006047592498362064,
-0.0034332687500864267,
0.020410625264048576,
-0.01679563708603382,
-0.007220282685011625,
0.06613585352897644,
-0.009837029501795769,
0.03300977498292923,
0.005514551419764757,
0.022465255111455917,
0.023938387632369995,
0.04551200941205025,
-0.036421239376068115,
0.014227349311113358,
-0.02364763803780079,
-0.0484582744538784,
-0.005005739629268646,
0.017018545418977737,
-0.013393866829574108,
0.06411998718976974,
-0.0405111163854599,
-0.006280192174017429,
-0.013674925081431866,
-0.11374125629663467,
-0.09753680974245071,
-0.0055048600770533085,
0.07156317681074142,
0.0215736236423254,
0.010001787915825844,
-0.003159479470923543,
-0.051094405353069305,
-0.021418556571006775,
-0.0020352473948150873,
-0.014866998419165611,
-0.021360406652092934,
-0.012860826216638088,
-0.033242374658584595,
0.00239989603869617,
-0.04741157591342926,
-0.0033654270227998495,
-0.0278925821185112,
-0.001322910888120532,
0.02132164128124714,
-0.07094291597604752,
-0.04407764598727226,
-0.033571891486644745,
0.08613942563533783,
-0.028939280658960342,
0.024926936253905296,
-0.031769245862960815,
0.02876483090221882,
-0.044193945825099945,
-0.01885026879608631,
0.01739652082324028,
-0.02064322493970394,
-0.035626523196697235,
0.02170930616557598,
0.01574893854558468,
-0.007050678599625826,
-0.013403558172285557,
0.06477902084589005,
-0.04031728208065033,
0.031032677739858627,
-0.029792146757245064,
-0.057762261480093,
0.024926936253905296,
0.0032951626926660538,
0.005877988412976265,
0.04919483885169029,
0.026535751298069954,
0.030993912369012833,
-0.03647938743233681,
0.023124288767576218,
-0.041402749717235565,
-0.005403097718954086,
0.021534856408834457,
-0.061328791081905365,
-0.006900458130985498,
0.03155602887272835,
0.04431024566292763,
-0.017154227942228317,
0.007816319353878498,
0.0012211485300213099,
0.048574574291706085,
-0.037157803773880005,
0.009473592042922974,
0.0004921543295495212,
0.02438420243561268,
0.016349822282791138,
-0.004184371791779995,
0.04124768078327179,
0.059467993676662445,
-0.006013671867549419,
0.01933485083281994,
-0.01854013465344906,
-0.02843531407415867,
0.029133114963769913,
-0.016320746392011642,
-0.04244944825768471,
-0.04768294095993042,
0.002403530292212963,
0.08389095962047577,
-0.03580097109079361,
0.00717182457447052,
0.05000893771648407,
0.04295341297984123,
-0.008160373196005821,
0.010040554217994213,
0.056482963263988495,
-0.0029922984540462494,
0.05059043690562248,
-0.014828232116997242,
0.014615015126764774,
-0.017696961760520935,
-0.026884650811553,
0.009473592042922974,
-0.011232627555727959,
-0.03913490101695061,
-0.02543090283870697,
0.015070523135364056,
0.006711470894515514,
0.025217685848474503,
0.04221684858202934,
0.033882025629282,
-0.0017057312652468681,
-0.03411462530493736,
-0.024132220074534416,
0.05458340048789978,
0.010544519871473312,
0.012996508739888668,
-0.03845648467540741,
-0.04066618159413338,
-0.001459805527701974,
0.04144151508808136,
0.005107501987367868,
-0.009812800213694572,
0.030974527820944786,
0.10079321265220642,
-0.01218240987509489,
-0.014692548662424088,
-0.054428331553936005,
-0.023996537551283836,
-0.0385146364569664,
-0.03087761253118515,
0.007050678599625826,
-0.027776282280683517,
-0.01906348392367363,
-0.016970086842775345,
0.11009719967842102,
0.07148564606904984,
0.0445040799677372,
-0.016029996797442436,
0.03704150393605232,
0.031226512044668198,
-0.004603535868227482,
0.02285292185842991,
0.011629985645413399,
0.04221684858202934,
0.01119386125355959,
0.028532231226563454,
0.020623840391635895,
0.05458340048789978,
-0.00046943951747380197,
0.07497464120388031,
0.023259971290826797,
0.0007965328986756504,
-0.022096972912549973,
-0.0005636303103528917,
0.018772734329104424,
0.002577980048954487,
-0.0332036092877388,
-0.015012373216450214,
-0.04756664112210274,
0.010835270397365093,
0.01753220334649086,
0.026787733659148216,
0.005936138331890106,
0.02143794111907482,
-0.09125661849975586,
-0.04481421038508415,
0.002024344401434064,
-0.004412125796079636,
0.06016579270362854,
0.035897888243198395,
-0.016107529401779175,
-0.013694307766854763,
-0.012831751257181168,
-0.03178862854838371,
-0.03992961719632149,
-0.06594201922416687,
-0.07326891273260117,
-0.02901681326329708,
-0.020701374858617783,
0.012376243248581886,
0.036828286945819855,
-0.007515878416597843,
0.03692520409822464,
-0.057607196271419525,
0.006556404288858175,
0.013752457685768604,
-0.01175597682595253,
-0.04415518045425415,
-0.04667500779032707,
0.0064255669713020325,
0.06613585352897644,
0.13700123131275177,
-0.0007359600276686251,
0.018443219363689423,
0.004756179638206959,
-0.04272081330418587,
-0.0166018046438694,
-0.04756664112210274,
0.011416769586503506,
-0.01713484525680542,
-0.0551261305809021,
0.03492872416973114,
0.0242485199123621,
-0.07001251727342606,
-0.006406183820217848,
0.015128673054277897,
-0.00725420331582427,
-0.01639827899634838,
0.017222071066498756,
0.03081946261227131,
0.03444414213299751,
-0.05799486115574837,
0.009740113280713558,
-0.006546712946146727,
-0.025799185037612915,
-0.014750698581337929,
0.0050638895481824875,
-0.010970952920615673,
-0.015574488788843155,
-0.008543193340301514,
-0.05097810551524162,
0.002645821776241064,
-0.0026555133517831564,
0.0027742362581193447,
-0.0002743949880823493,
-0.018889034166932106,
-0.018094319850206375,
-0.002071591094136238,
-0.032699644565582275,
-0.061522625386714935,
-0.0179295614361763,
0.0524512343108654,
0.00008911779150366783,
0.02345380373299122,
-0.06784158200025558,
0.017367444932460785,
0.04012345150113106,
-0.02682650089263916,
-0.016572728753089905,
0.0003376936074346304,
-0.0075207240879535675,
-0.07563367486000061,
0.03498687222599983,
0.040084682404994965,
-0.03380449116230011,
-0.0014840345829725266,
0.014605323784053326,
0.021205339580774307,
0.01530312281101942,
-0.0034623437095433474,
0.07067154347896576,
-0.01654365472495556,
0.03140095993876457,
-0.015148056671023369,
-0.03677013888955116,
-0.03314545750617981,
0.021767456084489822,
0.026051167398691177,
0.03634370490908623,
-0.004247367847710848,
-0.07012881338596344,
0.05617282912135124,
0.018879342824220657,
-0.0144502567127347,
0.04004591703414917,
-0.08668216317892075,
-0.020604457706212997,
0.03692520409822464,
0.023356888443231583,
0.03109082765877247,
-0.07962663471698761,
0.1049024686217308,
-0.034560441970825195,
-0.015971846878528595,
0.04729527607560158,
0.0027693903539329767,
0.008882401511073112,
0.04128644987940788,
-0.02550843544304371,
0.01712515391409397,
-0.026593901216983795,
-0.06753145158290863,
-0.07136934250593185,
0.04089878126978874,
-0.006047592498362064,
0.0008655859273858368,
-0.021089039742946625,
0.04869087412953377,
-0.0062026591040194035,
-0.006207504775375128,
-0.014963914640247822,
0.00893570575863123,
-0.0018268768908455968,
-0.009914563037455082,
0.00810222327709198,
-0.04175164923071861,
-0.0021164151839911938,
-0.0538080669939518,
-0.017580661922693253,
-0.04473667964339256,
0.02669081650674343,
0.012812367640435696,
-0.0557851642370224,
0.02376393787562847,
-0.011872276663780212,
-0.0830380991101265,
-0.04295341297984123,
0.018355993553996086,
-0.02011987566947937,
0.07059401273727417,
0.031711094081401825,
-0.014973606914281845,
-0.00047701114090159535,
0.008640110492706299,
0.04171288013458252,
-0.043457381427288055,
-0.06063099205493927,
0.030703162774443626,
0.025256453081965446,
0.004101993050426245,
-0.03928996995091438,
0.032699644565582275,
-0.006905303802341223,
0.03671198710799217,
-0.011106636375188828,
0.027117250487208366,
0.018239693716168404,
0.057684727013111115,
-0.03591727092862129,
0.030121663585305214,
0.06900458037853241,
0.024287287145853043,
-0.03281594440340996,
-0.014266115613281727,
-0.04729527607560158,
-0.04151904955506325,
-0.00722512835636735,
-0.0571032278239727,
-0.03890230134129524,
0.0027936194092035294,
-0.03394017368555069,
0.0538080669939518,
0.01721237786114216,
-0.016941012814641,
0.023143671452999115,
-0.0014719200553372502,
-0.004118953365832567,
0.04690760746598244,
0.009090771898627281,
-0.010176237672567368,
0.0179295614361763,
-0.022600939497351646,
-0.00041250104550272226,
-0.037429168820381165,
0.023279353976249695,
0.03300977498292923,
-0.019741900265216827,
0.05431203171610832,
0.07978170365095139,
-0.018171852454543114,
0.006512791849672794,
-0.03308730944991112,
0.0278925821185112,
0.015429113991558552,
0.029869679361581802,
0.0923420861363411,
-0.0010672934586182237,
0.007961694151163101,
0.002878421451896429,
-0.0477992407977581,
0.01613660529255867,
-0.011930426582694054,
0.025120768696069717,
0.019024718552827835,
0.03568467125296593,
-0.04760540649294853,
-0.008654647506773472,
-0.016708413138985634,
-0.02124410681426525,
-0.09141168743371964,
-0.013781532645225525,
0.01431457418948412,
-0.021205339580774307,
0.02444235235452652,
0.01450840663164854,
-0.05543626472353935,
-0.07032264769077301,
0.05609529837965965,
0.010806195437908173,
0.019887275993824005,
-0.007263895124197006,
0.03824326768517494,
0.056211598217487335,
0.03692520409822464,
-0.018152469769120216,
-0.03173047676682472,
0.028939280658960342,
-0.07260987907648087,
0.016369204968214035,
0.040007151663303375,
-0.04962127283215523,
0.045783378183841705,
0.023027371615171432,
0.09203195571899414,
0.004603535868227482,
-0.053769301623106,
0.0011890449095517397,
0.0584212951362133,
0.02510138601064682,
-0.010912803001701832,
-0.003518070559948683,
-0.022077590227127075,
-0.013200033456087112,
0.023880237713456154,
0.05493230000138283,
0.001270818174816668,
-0.01640797220170498,
-0.049039773643016815,
0.04562830924987793,
0.051830969750881195,
0.016029996797442436,
0.0591190941631794,
0.01753220334649086,
0.00032073320471681654,
-0.00519472686573863,
0.05733582749962807,
0.005514551419764757,
-0.03614987060427666,
0.014963914640247822,
-0.032505810260772705,
0.025082001462578773,
-0.015148056671023369,
-0.035897888243198395,
-0.029326947405934334,
-0.05547503009438515,
0.031711094081401825,
0.017842335626482964,
0.002839654916897416,
0.010040554217994213,
0.005524243228137493,
-0.06342218816280365,
0.059002794325351715,
0.0571032278239727,
-0.062453024089336395,
0.026535751298069954,
-0.018230002373456955,
0.03380449116230011,
0.01753220334649086,
-0.024074070155620575,
-0.029656464233994484,
0.05702569708228111,
-0.02126348949968815,
-0.020042341202497482,
-0.04826444014906883,
-0.005824684631079435,
0.01699916273355484,
0.02079829014837742,
-0.03194369375705719,
0.01958683505654335,
0.009982404299080372,
-0.02190314047038555,
-0.06493408977985382,
0.08691476285457611,
0.0451631098985672,
-0.016785945743322372,
-0.04295341297984123,
0.0018123394111171365,
0.03845648467540741,
0.02238772250711918,
-0.002825117437168956,
-0.025062618777155876,
0.021496091037988663,
0.029830913990736008,
0.05570762977004051,
0.025023851543664932,
-0.05318780243396759,
-0.06369355320930481,
0.04942743852734566,
-0.020953357219696045,
-0.05431203171610832,
0.03233135864138603,
-0.0176097359508276,
0.011707519181072712,
-0.04086001589894295,
-0.0484970398247242,
-0.015884622931480408,
0.05725829675793648,
0.002720932010561228,
0.034308455884456635,
-0.01162029430270195,
0.0199260413646698,
0.02099212445318699,
0.015826473012566566,
0.016621187329292297,
-0.04004591703414917,
-0.027000950649380684,
-0.001974674640223384,
0.022891689091920853,
-0.023259971290826797,
0.05365300178527832,
-0.024752486497163773,
-0.01787141151726246,
0.0010018747998401523,
-0.044465310871601105,
-0.049117304384708405,
-0.03845648467540741,
0.02862914837896824,
-0.02981152944266796,
0.01212425995618105,
0.01825907826423645,
0.020933974534273148,
-0.043457381427288055,
0.024190369993448257,
0.03448290750384331,
-0.025585968047380447,
0.003830626606941223,
-0.0073220450431108475,
-0.052296169102191925,
-0.02942386455833912,
0.014992989599704742,
0.014072282239794731,
-0.01940269209444523,
0.0002285110531374812,
-0.06210412457585335,
0.024926936253905296,
-0.011116327717900276,
-0.016902245581150055,
-0.03527762368321419,
-0.03512255847454071,
0.02031370811164379,
-0.00357864354737103,
-0.026865266263484955,
0.004627765156328678,
0.010544519871473312,
-0.01159121934324503,
-0.003532608039677143,
-0.016911936923861504,
-0.10265401005744934,
0.05404066666960716,
0.05086180567741394,
-0.07047771662473679,
0.002252098172903061,
-0.010156854055821896,
-0.03727410361170769,
-0.023395653814077377,
0.0020594766829162836,
-0.006881074979901314,
0.000987337320111692,
-0.0037967057432979345,
-0.03818511962890625,
-0.01986789144575596,
-0.005713230464607477,
-0.00519472686573863,
0.045124344527721405,
-0.0015676250914111733,
0.04787677526473999,
0.03392079100012779,
0.007617640774697065,
0.0750134065747261,
0.010573594830930233,
-0.05221863463521004,
0.03647938743233681,
-0.06524422019720078,
-0.0017275374848395586,
-0.03552960604429245,
0.023473188281059265,
-0.04489174485206604,
0.022562172263860703,
-0.002791196573525667,
0.05458340048789978,
0.014207965694367886,
-0.010670511983335018,
0.0424882136285305,
0.021476706489920616,
0.02017802558839321,
-0.03547145798802376,
0.02657451666891575,
-0.10195621103048325,
-0.03739040344953537,
-0.014731314964592457,
-0.027582449838519096,
-0.02696218341588974,
0.0002492572530172765,
-0.046519942581653595,
0.03677013888955116,
-0.012666992843151093,
-0.0371965691447258,
-0.02829963155090809,
-0.00019050158152822405,
-0.05318780243396759,
0.07613763958215714,
0.05431203171610832,
-0.025682885199785233,
-0.01574893854558468,
-0.00832997728139162,
-0.01780357025563717,
0.02143794111907482,
-0.061522625386714935,
-0.024054687470197678,
-0.02597363479435444,
0.020701374858617783,
0.020740140229463577,
0.0062026591040194035,
-0.07450944185256958,
0.05520366504788399,
0.008029536344110966,
0.01647581346333027,
-0.031032677739858627,
-0.08280549943447113,
0.01900533400475979,
0.018966568633913994,
0.05497106537222862,
0.052567534148693085,
0.04268204793334007,
0.0072881244122982025,
-0.06811294704675674,
-0.05066797137260437,
-0.0012780869146808982,
-0.011145402677357197,
0.044465310871601105,
-0.02337627112865448,
-0.011678444221615791,
-0.032234445214271545,
-0.015002681873738766,
-0.038747236132621765,
0.04628734290599823,
0.0804019644856453,
-0.06229795515537262,
0.023531338199973106,
0.04900100454688072,
0.023996537551283836,
0.04710144177079201,
0.00430309446528554,
0.01800709404051304,
-0.0017166343750432134,
-0.006653320975601673,
0.02469433657824993,
0.002677319571375847,
0.005640543065965176,
-0.020139258354902267,
0.00007344457117142156,
0.02252340503036976,
0.022155122831463814,
0.049117304384708405,
-0.011009720154106617,
0.011213244870305061,
0.012851133942604065,
0.017832644283771515,
-0.03380449116230011,
0.007196053396910429,
0.0630732923746109,
0.016911936923861504,
0.04376751184463501,
-0.037952519953250885,
-0.024810636416077614,
-0.02151547372341156,
-0.006062129978090525,
0.051094405353069305,
-0.0631120577454567,
-0.12071925401687622,
-0.021534856408834457,
0.034541055560112,
-0.0836583599448204,
0.0035665289033204317,
0.03750670328736305,
0.04283711314201355,
0.014459948986768723,
-0.00763702392578125,
-0.016349822282791138,
0.02969522960484028,
-0.0006438893033191562,
0.034889958798885345,
0.03359127417206764,
-0.07082661241292953,
0.03060624562203884,
0.0014270961983129382,
-0.06749268621206284,
0.032699644565582275,
-0.020488157868385315,
-0.04989263787865639,
-0.01732867769896984,
-0.03545207157731056,
-0.019703134894371033,
0.010961261577904224,
0.0016633302439004183,
-0.00041583256097510457,
0.0013895409647375345,
0.001279298448935151,
0.023725170642137527
] |
52,169 |
pebble.pool.thread
|
__init__
| null |
def __init__(self, max_workers: int = multiprocessing.cpu_count(),
max_tasks: int = 0,
initializer: Callable = None,
initargs: list = ()):
super().__init__(max_workers, max_tasks, initializer, initargs)
self._pool_manager = PoolManager(self._context)
self._pool_manager_loop = None
|
(self, max_workers: int = 60, max_tasks: int = 0, initializer: Optional[Callable] = None, initargs: list = ())
|
[
0.019855432212352753,
-0.0408821664750576,
-0.005998191889375448,
0.017805656418204308,
-0.04537844657897949,
0.0428091436624527,
-0.035875800997018814,
-0.009441249072551727,
-0.0409577339887619,
-0.0406932458281517,
0.01233643852174282,
0.056789182126522064,
-0.011816910468041897,
0.0073678577318787575,
0.020214378833770752,
0.03402439132332802,
0.014112281613051891,
-0.027449993416666985,
0.00043569543049670756,
0.0021737541537731886,
0.0022953711450099945,
0.042204599827528,
0.022727007046341896,
0.022443627938628197,
-0.011202922090888023,
0.04579406976699829,
-0.02567415125668049,
-0.007934615947306156,
0.023293765261769295,
-0.014027267694473267,
-0.004725347273051739,
0.060303084552288055,
-0.042204599827528,
0.07828821241855621,
0.0828222781419754,
-0.022235816344618797,
0.017994575202465057,
0.11652550846338272,
-0.09053019434213638,
0.01222308725118637,
0.0430358462035656,
-0.09869150817394257,
0.015803109854459763,
0.011165138334035873,
-0.009767134673893452,
0.007906278595328331,
0.035611312836408615,
-0.0215179231017828,
0.031492870301008224,
-0.0408443808555603,
-0.03324982151389122,
-0.04964802786707878,
-0.007722081616520882,
0.02909359335899353,
-0.044018227607011795,
0.1274072676897049,
0.030302677303552628,
0.04662531614303589,
-0.028111211955547333,
-0.027941184118390083,
-0.040013134479522705,
-0.02083781361579895,
0.0428469255566597,
-0.013923361897468567,
-0.0028054534923285246,
-0.03336317092180252,
-0.07008910924196243,
0.035913582891225815,
0.027261074632406235,
0.03727380558848381,
0.07488766312599182,
0.0018148072995245457,
0.0012197110336273909,
0.007892109453678131,
0.02057332545518875,
0.043980445712804794,
-0.0406176783144474,
-0.017815101891756058,
-0.03345763310790062,
0.0013720273273065686,
-0.027997860684990883,
-0.006531889550387859,
-0.044320497661828995,
0.013838347978889942,
0.05387982353568077,
-0.06971126794815063,
0.02489958144724369,
-0.02019548788666725,
-0.052784088999032974,
-0.013857240788638592,
-0.06015194579958916,
0.06816212832927704,
0.030831651762127876,
0.007859048433601856,
-0.010031621903181076,
-0.03419441729784012,
-0.018873050808906555,
0.01709720864892006,
0.0035776617005467415,
-0.006853052414953709,
-0.021820195019245148,
-0.07243171334266663,
0.02860240265727043,
-0.044811688363552094,
0.019534269347786903,
-0.026958802714943886,
-0.0009369223262183368,
-0.05788491293787956,
-0.048212237656116486,
-0.024276146665215492,
-0.0103244474157691,
0.06903116405010223,
-0.03481785207986832,
0.0418267622590065,
-0.06430817395448685,
0.04692758619785309,
-0.03716045245528221,
0.003188015427440405,
0.05059262365102768,
-0.0024701214861124754,
-0.057469289749860764,
0.041448924690485,
-0.02531520463526249,
0.008950058370828629,
-0.0038539564702659845,
0.02499404177069664,
0.0006240244838409126,
-0.006919173989444971,
0.005138608627021313,
-0.027393316850066185,
0.06370363384485245,
-0.016048705205321312,
-0.014971865341067314,
0.011089570820331573,
-0.004845783580094576,
-0.00714115472510457,
-0.024351714178919792,
0.03285308927297592,
-0.026750991120934486,
-0.01671936921775341,
0.0016648524906486273,
0.009053964167833328,
-0.017673412337899208,
0.026807667687535286,
0.023992767557501793,
0.047456562519073486,
0.02104562520980835,
0.011316274292767048,
0.0029967345762997866,
-0.024408390745520592,
0.022141357883810997,
-0.006333523895591497,
0.051839493215084076,
0.03646145015954971,
-0.006786930840462446,
0.04628526046872139,
0.03238078951835632,
0.005969854071736336,
0.023633820936083794,
-0.03751939907670021,
-0.02586307004094124,
0.05871615931391716,
-0.027053263038396835,
-0.047834400087594986,
-0.041448924690485,
-0.035157907754182816,
0.031455084681510925,
-0.047909967601299286,
0.0102677708491683,
0.06136103346943855,
0.0054125417955219746,
-0.07133597880601883,
-0.007429256569594145,
-0.0013944616075605154,
0.018334630876779556,
0.05040370300412178,
0.031681787222623825,
-0.02574971877038479,
-0.01756950654089451,
0.04609633982181549,
0.005790380761027336,
-0.00646576751023531,
-0.002659040968865156,
-0.04896791651844978,
0.007665405981242657,
0.026505395770072937,
0.039181891828775406,
0.024427281692624092,
0.020082134753465652,
0.0033816578797996044,
-0.007301736157387495,
0.003384019248187542,
0.007788203656673431,
-0.027412209659814835,
0.01503798644989729,
-0.003183292457833886,
0.0036178070586174726,
-0.015538623556494713,
-0.014773499220609665,
0.01488685142248869,
-0.007301736157387495,
0.06642407178878784,
0.028262346982955933,
-0.055995721369981766,
0.021744627505540848,
-0.0203088391572237,
-0.05512668937444687,
0.03478006646037102,
-0.019194213673472404,
0.028224563226103783,
0.01618094928562641,
-0.02565525844693184,
0.013262144289910793,
0.09521539509296417,
0.0421290323138237,
0.005034702830016613,
0.0417134091258049,
0.02860240265727043,
0.0430736318230629,
0.022481411695480347,
0.07760810106992722,
0.002888105809688568,
0.018882498145103455,
-0.018145712092518806,
0.001072708168067038,
0.03872848302125931,
0.011023448780179024,
-0.018788037821650505,
0.01595424674451351,
0.011968046426773071,
-0.01749393902719021,
-0.013092116452753544,
-0.03615918010473251,
0.0013436895096674562,
0.0032564986031502485,
-0.03644255921244621,
0.01232699304819107,
-0.024313930422067642,
-0.07987513393163681,
-0.009729350917041302,
0.042204599827528,
0.019420918077230453,
0.019137538969516754,
-0.09438414871692657,
-0.01268593966960907,
0.03451558202505112,
0.01018275786191225,
0.044056013226509094,
0.013233806006610394,
0.02465398609638214,
0.011580761522054672,
-0.03251303359866142,
-0.03906853869557381,
-0.03750050812959671,
-0.05384203791618347,
-0.00830300897359848,
-0.02514517679810524,
-0.018703022971749306,
-0.004503367003053427,
0.002618895610794425,
0.002892828779295087,
0.008388022892177105,
-0.035252366214990616,
0.082973413169384,
0.000013910668712924235,
0.027355533093214035,
-0.030793868005275726,
-0.052368465811014175,
-0.02457841858267784,
0.01727668195962906,
0.14811283349990845,
0.0015715735498815775,
0.043753739446401596,
0.012657602317631245,
-0.03733047842979431,
-0.02888578176498413,
-0.06578174978494644,
-0.023577144369482994,
-0.05478663370013237,
-0.011259597726166248,
0.07621009647846222,
-0.0027228014077991247,
-0.018665239214897156,
-0.03461004048585892,
0.0035068169236183167,
0.0010750696528702974,
0.010381123051047325,
0.0066830250434577465,
-0.030472705140709877,
-0.01625651679933071,
-0.03326871246099472,
0.02879132144153118,
0.0007822445477358997,
0.042204599827528,
0.0426957905292511,
-0.056940317153930664,
-0.010522812604904175,
0.02525852806866169,
-0.006012361031025648,
-0.03285308927297592,
0.0077551426365971565,
-0.04900570213794708,
-0.006654687225818634,
0.003188015427440405,
0.026392044499516487,
-0.0417889766395092,
0.02467287704348564,
0.015840893611311913,
-0.013998930342495441,
0.02478623017668724,
0.07745696604251862,
0.018022913485765457,
0.02047886699438095,
-0.023426009342074394,
0.012704831548035145,
0.020025460049510002,
0.030567163601517677,
-0.02512628398835659,
-0.024313930422067642,
0.01696496456861496,
-0.0430358462035656,
-0.01728612743318081,
-0.027714481577277184,
-0.02489958144724369,
-0.025806395336985588,
0.051990628242492676,
0.026146449148654938,
0.014235079288482666,
-0.009455417282879353,
0.06154995039105415,
-0.039597511291503906,
0.001780565595254302,
-0.00616821926087141,
-0.052217330783605576,
-0.031965166330337524,
-0.004954412113875151,
0.009011456742882729,
0.0204599741846323,
0.01633208431303501,
-0.06170108541846275,
0.028734644874930382,
0.0105794882401824,
-0.04598299041390419,
0.06238119676709175,
-0.07469874620437622,
-0.023369334638118744,
0.03457225486636162,
-0.05966075509786606,
0.013413279317319393,
-0.11297382414340973,
0.023596037179231644,
0.015396934002637863,
-0.07311181724071503,
0.04469833895564079,
0.014017822220921516,
0.002006088150665164,
-0.011344611644744873,
-0.005747873801738024,
0.022670332342386246,
-0.03336317092180252,
-0.060038596391677856,
-0.015302473679184914,
0.003936608787626028,
0.021102299913764,
0.01727668195962906,
-0.030094865709543228,
0.05153721943497658,
-0.021102299913764,
0.005436156876385212,
-0.05131051689386368,
-0.004201096016913652,
-0.0412977896630764,
-0.006697193719446659,
0.04677645117044449,
-0.015481947921216488,
0.009323174133896828,
-0.07798594236373901,
-0.006588565185666084,
-0.003804365172982216,
0.02915026806294918,
-0.012874859385192394,
-0.019817648455500603,
0.07114706188440323,
-0.04556736722588539,
-0.056600261479616165,
-0.028054535388946533,
-0.015472501516342163,
0.030907219275832176,
0.0821421667933464,
0.03629142418503761,
0.03891740366816521,
-0.023973876610398293,
-0.014235079288482666,
-0.026203125715255737,
0.01722945272922516,
0.003327343612909317,
0.060945410281419754,
0.017909562215209007,
-0.016010921448469162,
-0.031549546867609024,
0.026410937309265137,
0.009937162511050701,
0.05078154429793358,
0.018731361255049706,
0.02977370284497738,
-0.001067394739948213,
0.05493777245283127,
-0.012185303494334221,
0.04692758619785309,
0.04564293473958969,
0.009507370181381702,
-0.03215408697724342,
-0.017890669405460358,
-0.0431491993367672,
-0.06638628989458084,
-0.060869842767715454,
-0.06249454990029335,
-0.025957530364394188,
0.04968580976128578,
-0.0423179529607296,
0.030321568250656128,
0.07020246237516403,
0.022972602397203445,
-0.026902128010988235,
0.023312658071517944,
-0.01742781698703766,
-0.0024394220672547817,
-0.01756950654089451,
0.023199306800961494,
-0.023388225585222244,
-0.05482441931962967,
0.05508890748023987,
0.0006990018882788718,
0.009630167856812477,
0.019949892535805702,
0.015595299191772938,
0.01453735027462244,
0.0415244922041893,
0.013290481641888618,
0.001905724755488336,
0.01654934138059616,
-0.007859048433601856,
0.031889598816633224,
-0.009219268336892128,
0.023312658071517944,
-0.0014263417106121778,
0.005932070314884186,
0.0201577041298151,
-0.026316476985812187,
-0.007693743798881769,
0.009549877606332302,
-0.0042247106321156025,
0.010985665023326874,
-0.00843052938580513,
0.0011311550624668598,
-0.004283748101443052,
-0.014480674639344215,
0.03491231054067612,
-0.03493120148777962,
-0.018174048513174057,
-0.02890467271208763,
-0.032078519463539124,
0.019685404375195503,
-0.02506960928440094,
-0.06154995039105415,
-0.01025832537561655,
0.056751396507024765,
0.02518296055495739,
0.006550781428813934,
-0.018646348267793655,
0.006342969834804535,
0.05554231256246567,
0.003025072393938899,
-0.05769599601626396,
-0.024049444124102592,
0.004373484756797552,
-0.03699042648077011,
-0.03799169883131981,
0.06642407178878784,
-0.042166817933321,
0.04556736722588539,
0.05010143294930458,
0.09529095888137817,
-0.004458498675376177,
-0.06933343410491943,
-0.031965166330337524,
0.028545726090669632,
-0.040202055126428604,
0.039181891828775406,
0.0104000149294734,
-0.027204398065805435,
0.0427713580429554,
0.014225632883608341,
0.029981514438986778,
0.018202386796474457,
0.00019069055269937962,
-0.00003368817124282941,
0.00866667926311493,
0.07126040756702423,
0.023463793098926544,
0.007873217575252056,
0.00865251012146473,
0.02984927035868168,
-0.026883235201239586,
0.017635628581047058,
-0.0033108131028711796,
-0.0832756832242012,
0.003561131190508604,
-0.05520225688815117,
0.035913582891225815,
0.004465583246201277,
-0.043867092579603195,
-0.032078519463539124,
-0.01730502024292946,
0.006239064037799835,
0.00046167185064405203,
-0.03816172480583191,
-0.0036366991698741913,
0.005114993546158075,
-0.0203655157238245,
0.06230562925338745,
0.09302392601966858,
-0.03513901308178902,
-0.015982583165168762,
0.014329538680613041,
-0.011269044131040573,
0.027261074632406235,
-0.035667989403009415,
0.017692305147647858,
0.05826275423169136,
0.002016715006902814,
-0.06627293676137924,
-0.052330683916807175,
0.03232411667704582,
-0.012997657060623169,
0.023426009342074394,
-0.03360876813530922,
-0.006919173989444971,
0.022953711450099945,
-0.03629142418503761,
-0.03772721067070961,
0.06309909373521805,
0.07220500707626343,
-0.0416756272315979,
-0.03379768505692482,
-0.022368060424923897,
0.009568769484758377,
0.07299847155809402,
0.017663966864347458,
0.009332619607448578,
0.0433381162583828,
-0.015869231894612312,
-0.018910834565758705,
0.019345350563526154,
-0.02520185150206089,
-0.06982462108135223,
0.03833175450563431,
-0.026316476985812187,
-0.0018880135612562299,
0.039786431938409805,
0.013913916423916817,
0.05372868478298187,
-0.06570617854595184,
-0.0037760271225124598,
-0.026184232905507088,
0.001107540214434266,
0.006933343131095171,
0.03415663167834282,
-0.019175322726368904,
0.031133921816945076,
-0.005157500505447388,
-0.01607704348862171,
-0.009011456742882729,
-0.018098480999469757,
-0.026543179526925087,
0.02142346277832985,
-0.0032163532450795174,
0.01268593966960907,
0.022727007046341896,
-0.02531520463526249,
-0.01633208431303501,
-0.008997287601232529,
-0.04605855792760849,
-0.06922008097171783,
-0.0215179231017828,
0.027412209659814835,
-0.05531561002135277,
-0.03268306329846382,
0.015047432854771614,
0.007221445441246033,
-0.0104755824431777,
0.027412209659814835,
0.011599653400480747,
-0.001935243490152061,
-0.031247274950146675,
0.017663966864347458,
-0.048590078949928284,
-0.004026345442980528,
0.0406176783144474,
0.007698467001318932,
-0.05935848504304886,
0.03716045245528221,
-0.048627860844135284,
0.017654521390795708,
0.012912643142044544,
-0.05720480531454086,
-0.030680516734719276,
0.00795823149383068,
-0.0424313060939312,
0.02495625615119934,
-0.03929524123668671,
-0.03468560799956322,
0.05992524325847626,
0.009710459038615227,
-0.008732800371944904,
-0.026732100173830986,
-0.07088257372379303,
0.06974905729293823,
0.05920735001564026,
-0.027355533093214035,
-0.031096138060092926,
0.0017628544010221958,
0.00269682495854795,
0.0018053613603115082,
-0.03478006646037102,
-0.008761138655245304,
0.015784218907356262,
-0.0812353566288948,
-0.03863402456045151,
0.018098480999469757,
-0.004142058547586203,
-0.025881962850689888,
0.014263417571783066,
-0.02508850023150444,
0.057091452181339264,
-0.015123000368475914,
0.02155570685863495,
0.0825955793261528,
0.03362765908241272,
-0.048401158303022385,
-0.0105039207264781,
-0.022934818640351295,
0.02567415125668049,
-0.05992524325847626,
-0.011958600021898746,
-0.04590742290019989,
0.009304282255470753,
0.039106324315071106,
0.05070597678422928,
0.031039463356137276,
-0.023898309096693993,
-0.005700644105672836,
-0.00714115472510457,
0.015727542340755463,
-0.07768367230892181,
-0.009804918430745602,
-0.03672593832015991,
-0.014594025909900665,
0.03638588264584541,
-0.03708488494157791,
-0.03723601996898651,
0.015680313110351562,
-0.018079590052366257,
0.05981189385056496,
-0.009186207316815853,
-0.07609675079584122,
-0.035327933728694916,
-0.02578750252723694,
-0.01722945272922516,
0.044093795120716095,
0.0213856790214777,
-0.012912643142044544,
0.008865044452250004,
-0.004543512128293514,
-0.01289375126361847,
0.01628485508263111,
-0.04915683716535568,
-0.0205355416983366,
0.005152777303010225,
0.05127273499965668,
0.035932477563619614,
-0.012761508114635944,
-0.04772104695439339,
0.01692718081176281,
0.002212718827649951,
0.023766065016388893,
-0.07753253728151321,
0.0042247106321156025,
0.052179548889398575,
0.015359150245785713,
0.04515174403786659,
0.05535339191555977,
0.03691485896706581,
-0.009233437478542328,
-0.06948456913232803,
0.01495297346264124,
-0.06536612659692764,
-0.07545442134141922,
0.03366544470191002,
-0.012232533656060696,
-0.00861000269651413,
-0.014027267694473267,
-0.051612790673971176,
-0.02446506731212139,
-0.011401288211345673,
0.03895518556237221,
-0.05954740568995476,
0.019231997430324554,
0.02042219042778015,
0.0037594966124743223,
0.03863402456045151,
0.013781672343611717,
0.04927018657326698,
-0.007618176285177469,
-0.0202332716435194,
0.0413733571767807,
0.047683265060186386,
0.031795140355825424,
-0.0426202230155468,
-0.01712554693222046,
0.013989483937621117,
0.0014570411294698715,
0.041486706584692,
-0.011845248751342297,
0.02552301622927189,
-0.030963895842432976,
0.02565525844693184,
-0.020252162590622902,
0.05380425602197647,
0.004883567336946726,
0.024162795394659042,
-0.022991495206952095,
-0.052595168352127075,
-0.0038090881425887346,
0.002869213931262493,
-0.02472955361008644,
0.06555504351854324,
-0.008170765824615955,
-0.08032853901386261,
-0.0014853790635243058,
-0.004496282432228327,
-0.06385476887226105,
-0.004482113756239414,
0.06347692757844925,
0.03906853869557381,
0.0062957401387393475,
0.026392044499516487,
-0.007906278595328331,
0.019893215969204903,
-0.004123166669160128,
-0.006971126887947321,
0.03791613131761551,
0.023766065016388893,
0.08025297522544861,
-0.023898309096693993,
-0.056411340832710266,
0.008657232858240604,
-0.03290976583957672,
-0.06215449422597885,
-0.04636082798242569,
-0.03290976583957672,
-0.04568072035908699,
0.008827260695397854,
-0.04515174403786659,
0.02522074431180954,
0.03398660570383072,
0.085089311003685,
0.014235079288482666
] |
52,171 |
pebble.pool.thread
|
_start_pool
| null |
def _start_pool(self):
with self._context.state_mutex:
if self._context.state == CREATED:
self._pool_manager.start()
self._pool_manager_loop = launch_thread(
None, pool_manager_loop, True, self._pool_manager)
self._context.state = RUNNING
|
(self)
|
[
0.038778264075517654,
-0.025370309129357338,
0.002504956442862749,
0.011736477725207806,
0.013660935685038567,
0.047415733337402344,
0.02403312735259533,
-0.01569381169974804,
-0.036898981779813766,
-0.025026977062225342,
-0.021828584372997284,
0.027014680206775665,
0.007702345959842205,
0.01056192722171545,
-0.010860081762075424,
-0.023129625245928764,
-0.044488389045000076,
-0.05301743745803833,
-0.0714849978685379,
-0.01226954348385334,
-0.0070879654958844185,
0.08160421252250671,
0.07871300727128983,
-0.031188854947686195,
0.007530680857598782,
-0.021774373948574066,
-0.054463040083646774,
-0.004325510933995247,
-0.0038285856135189533,
-0.01541372761130333,
0.03892282396554947,
0.0449582114815712,
-0.0008944660075940192,
0.03691704943776131,
0.0338812880218029,
0.0007335298578254879,
0.038489144295454025,
0.027556780725717545,
0.013326640240848064,
-0.009297025389969349,
0.002972518326714635,
-0.06483523547649384,
0.00794177409261465,
0.0532342791557312,
-0.06577487289905548,
-0.019479481503367424,
0.027737481519579887,
-0.055185843259096146,
0.03924808278679848,
-0.020202282816171646,
-0.05301743745803833,
-0.025026977062225342,
-0.02925536222755909,
0.022623665630817413,
-0.02894817292690277,
0.04860835522413254,
-0.009039527736604214,
0.013191115111112595,
-0.01593775860965252,
0.0012795833172276616,
-0.017907390370965004,
0.00012578428140841424,
-0.01805195026099682,
-0.010327016934752464,
-0.01306462474167347,
-0.04878905415534973,
-0.04094666615128517,
0.07560496777296066,
0.021087713539600372,
-0.010372191667556763,
0.037983182817697525,
0.02432224713265896,
0.0015777386724948883,
0.01591065339744091,
-0.013751285150647163,
0.03312234580516815,
0.0006330154137685895,
-0.02168402448296547,
-0.009893336333334446,
-0.001264901366084814,
-0.0439462885260582,
0.007910151034593582,
-0.0027105030603706837,
0.032995857298374176,
0.07509900629520416,
-0.0014873885083943605,
0.006198016926646233,
-0.005470698699355125,
-0.0554388202726841,
-0.031152714043855667,
-0.019443342462182045,
0.11976809054613113,
0.010742627084255219,
0.01541372761130333,
0.03765792027115822,
0.014320490881800652,
-0.01879282109439373,
0.044018570333719254,
-0.019931232556700706,
0.013931985944509506,
-0.03859756141901016,
-0.02423189766705036,
0.0037066128570586443,
-0.04539189115166664,
0.002146944170817733,
-0.05327041819691658,
0.030447984114289284,
-0.0034061986953020096,
-0.04116350784897804,
-0.028586771339178085,
-0.04278980940580368,
-0.005389383528381586,
0.010760696604847908,
0.023165766149759293,
-0.07582180202007294,
-0.008330279029905796,
-0.011980423703789711,
-0.010616136714816093,
0.010399296879768372,
-0.010083070956170559,
-0.09815634787082672,
0.01613652892410755,
-0.004007027018815279,
0.013498305343091488,
-0.028568701818585396,
0.06635311245918274,
0.013922950252890587,
-0.017564060166478157,
0.009667460806667805,
-0.04568101093173027,
0.03426075726747513,
0.04488592967391014,
0.0088949678465724,
0.008131508715450764,
-0.020039651542901993,
-0.024737857282161713,
-0.05959492549300194,
-0.0052086832001805305,
0.026472579687833786,
0.05034307762980461,
-0.010887186974287033,
-0.005804994143545628,
-0.033321116119623184,
0.01382356509566307,
0.006889195181429386,
0.029056591913104057,
-0.021756304427981377,
0.04824695363640785,
0.07162956148386002,
-0.007431295700371265,
0.04925887659192085,
-0.028026601299643517,
0.09606022387742996,
0.052583757787942886,
-0.010417366400361061,
-0.0051680258475244045,
-0.005868238862603903,
-0.006419374607503414,
0.0317670963704586,
-0.003765340428799391,
-0.023328395560383797,
0.03164060413837433,
-0.020509472116827965,
-0.03939264267683029,
-0.05851072445511818,
-0.04510277137160301,
-0.014166896231472492,
-0.017139414325356483,
0.014971011318266392,
0.02972518280148506,
0.05955878645181656,
-0.022135775536298752,
-0.004212573636323214,
0.020762452855706215,
-0.02170209400355816,
0.04835537448525429,
0.01412172056734562,
0.002157108625397086,
-0.006785292644053698,
0.02611117996275425,
-0.022533314302563667,
0.01692257449030876,
-0.026002759113907814,
-0.010001756250858307,
-0.018612120300531387,
0.004711757879704237,
0.06060684844851494,
0.021846653893589973,
0.029869742691516876,
0.01800677552819252,
-0.0439462885260582,
0.01929878070950508,
-0.020021582022309303,
-0.022840505465865135,
-0.01675994321703911,
0.04430769011378288,
-0.017446603626012802,
-0.030682893469929695,
-0.028261512517929077,
0.01824168488383293,
0.0024439701810479164,
0.04307892918586731,
0.04466909170150757,
-0.000678755110129714,
0.05334270000457764,
-0.001849918277002871,
-0.04803011193871498,
0.017040029168128967,
0.019461411982774734,
-0.01563056744635105,
-0.0048066251911222935,
-0.024864347651600838,
-0.02170209400355816,
0.12012949585914612,
0.0397179052233696,
-0.0022147067356854677,
0.002292633755132556,
0.015576357021927834,
0.0034829964861273766,
-0.020961223170161247,
-0.0025636840146034956,
-0.015784163028001785,
-0.048427652567625046,
-0.03342953696846962,
-0.026418369263410568,
0.004592043813318014,
0.009504830464720726,
-0.010598067194223404,
-0.017112309113144875,
0.038778264075517654,
-0.008285104297101498,
-0.049439575523138046,
-0.024972768500447273,
-0.005280963610857725,
-0.0021853430662304163,
-0.02009386196732521,
0.0439462885260582,
0.05533040314912796,
-0.04965641722083092,
0.018133265897631645,
0.01303751952946186,
-0.04568101093173027,
0.04564487189054489,
-0.12179193645715714,
-0.05153569579124451,
0.026779770851135254,
-0.03657371923327446,
-0.003724682843312621,
0.05045149475336075,
0.04257296770811081,
0.002232776954770088,
-0.0010130505543202162,
0.006997615098953247,
-0.04889747500419617,
-0.08370033651590347,
-0.11362428963184357,
0.013100764714181423,
0.028333792462944984,
0.0003789057373069227,
0.01852177083492279,
-0.03597741201519966,
0.028839752078056335,
-0.03389935940504074,
0.037730202078819275,
-0.0008103274740278721,
0.026508718729019165,
-0.014708996750414371,
-0.03863370418548584,
0.02587626874446869,
0.016832223162055016,
0.10054159164428711,
0.033465676009655,
0.05984790623188019,
0.0305021945387125,
-0.00008576201071264222,
-0.04727117344737053,
-0.05901668593287468,
0.002321997657418251,
-0.10357735306024551,
0.0019820553716272116,
0.07437620311975479,
0.03942878544330597,
-0.031730957329273224,
0.025785919278860092,
-0.04362102970480919,
-0.01619073748588562,
0.011311832815408707,
0.03606776148080826,
0.010778767056763172,
-0.05142727866768837,
-0.08435085415840149,
0.06920817494392395,
0.016660558059811592,
-0.017943529412150383,
-0.005005395505577326,
-0.02036491222679615,
-0.0142391761764884,
0.030917804688215256,
-0.02687012031674385,
0.0365917906165123,
0.009631320834159851,
-0.03469443693757057,
-0.046295393258333206,
0.03164060413837433,
0.008262516930699348,
-0.017347218468785286,
-0.0025117327459156513,
0.023852426558732986,
-0.03859756141901016,
-0.0041786921210587025,
0.007182832807302475,
0.002340067643672228,
0.054210059344768524,
-0.028008531779050827,
0.02379821613430977,
0.030122723430395126,
-0.01724783517420292,
0.016281088814139366,
0.008167648687958717,
-0.02013000287115574,
-0.035435307770967484,
0.025243818759918213,
-0.021250342950224876,
0.038019321858882904,
-0.02665328048169613,
0.0809536874294281,
0.06758187711238861,
0.0310985054820776,
-0.017717653885483742,
0.04419926926493645,
-0.030122723430395126,
0.010046930983662605,
-0.011438323184847832,
-0.027303799986839294,
-0.01621784269809723,
0.002439452800899744,
0.01774475909769535,
-0.028369931504130363,
-0.024936627596616745,
-0.07332814484834671,
0.010842012241482735,
0.017862215638160706,
-0.0333753265440464,
0.013606725260615349,
0.007729451172053814,
0.013606725260615349,
0.05066833645105362,
-0.053884800523519516,
0.011573848314583302,
-0.0779179260134697,
-0.02972518280148506,
0.007883046753704548,
-0.01824168488383293,
0.010634207166731358,
0.0019775377586483955,
-0.034080058336257935,
-0.007986948825418949,
0.03733266144990921,
0.012124983593821526,
-0.008402558974921703,
-0.08153193444013596,
-0.035363029688596725,
0.021756304427981377,
-0.029056591913104057,
0.015811268240213394,
-0.013669970445334911,
0.04589785262942314,
-0.02088894322514534,
-0.034839000552892685,
-0.01369707565754652,
-0.02172016352415085,
-0.009920441545546055,
-0.02822537161409855,
0.02741222083568573,
-0.08052001148462296,
-0.013868740759789944,
-0.060426145792007446,
-0.018919311463832855,
-0.007661688607186079,
0.06534118950366974,
-0.005954071879386902,
-0.013642865233123302,
0.03191165626049042,
0.013724179938435555,
-0.06823239475488663,
-0.0662446916103363,
-0.013299535028636456,
-0.003677249187603593,
0.0625222697854042,
0.004330028779804707,
0.06035386770963669,
-0.013046554289758205,
0.02614731900393963,
0.018178440630435944,
0.0338812880218029,
-0.05034307762980461,
0.04640381038188934,
-0.010679381899535656,
-0.007300287950783968,
-0.0008086333982646465,
0.028604842722415924,
0.03673635050654411,
-0.003842137986794114,
-0.026020828634500504,
0.006247709505259991,
0.008520014584064484,
0.036429159343242645,
-0.009224745444953442,
0.025406448170542717,
0.035887058824300766,
-0.003912159241735935,
-0.022316474467515945,
-0.030863594263792038,
-0.042970508337020874,
-0.041669465601444244,
-0.055221982300281525,
0.001520140445791185,
0.027213450521230698,
0.005375830922275782,
0.021467184647917747,
0.045825570821762085,
0.03384514898061752,
0.021033503115177155,
-0.010462542064487934,
-0.03950106352567673,
0.007602960802614689,
0.038778264075517654,
-0.004833730403333902,
0.010923326946794987,
-0.002303927671164274,
-0.04625925049185753,
0.0985177531838417,
0.024177687242627144,
0.04170560836791992,
0.038489144295454025,
0.024972768500447273,
-0.005791441537439823,
0.04990939423441887,
-0.016868364065885544,
-0.014157860539853573,
0.0006697201170027256,
0.0047750030644237995,
-0.000509631063323468,
0.017401428893208504,
0.057860203087329865,
0.015603462234139442,
-0.004400049801915884,
-0.035435307770967484,
-0.022334545850753784,
0.05308971926569939,
-0.02401505596935749,
0.007033755537122488,
0.05453532189130783,
0.04098280519247055,
-0.046909771859645844,
0.03465829789638519,
-0.020419122651219368,
0.027086960151791573,
-0.009066632948815823,
-0.009459655731916428,
-0.038778264075517654,
-0.031730957329273224,
0.015982933342456818,
0.061004389077425,
-0.013127869926393032,
-0.0459701307117939,
0.04018772393465042,
0.04983711615204811,
0.009075667709112167,
0.0020023840479552746,
0.016001002863049507,
0.014320490881800652,
0.040332283824682236,
-0.04521119222044945,
-0.01082394178956747,
-0.0012310200836509466,
-0.058366164565086365,
0.007368050515651703,
0.06978641450405121,
-0.03550758957862854,
-0.009306060150265694,
0.009089220315217972,
0.0714849978685379,
0.02979746274650097,
-0.11044396460056305,
-0.016597313806414604,
0.05945036560297012,
0.017844144254922867,
0.00706086028367281,
-0.02867712266743183,
-0.0166876632720232,
0.0024462288711220026,
0.004077048506587744,
0.028912032023072243,
0.026743629947304726,
-0.006523277144879103,
-0.06013702601194382,
-0.005023465491831303,
0.03238147497177124,
0.014708996750414371,
0.00608056178316474,
0.03030342422425747,
0.012088843621313572,
0.04437996819615364,
0.042464546859264374,
0.048174675554037094,
-0.05428234115242958,
-0.012766469269990921,
-0.029960094019770622,
0.029887814074754715,
0.02667135000228882,
-0.0354895181953907,
-0.054210059344768524,
-0.059631068259477615,
0.03288743644952774,
0.06013702601194382,
0.020184213295578957,
0.009193122386932373,
-0.01265804935246706,
-0.04980097711086273,
0.060968246310949326,
0.046367671340703964,
0.0010768602369353175,
-0.006021834444254637,
-0.005926966667175293,
-0.008357384242117405,
0.02397891692817211,
0.001592420507222414,
-0.03496548905968666,
0.07130429893732071,
0.044777508825063705,
-0.03229112550616264,
-0.046620652079582214,
-0.026761699467897415,
-0.003444597590714693,
-0.003178064711391926,
-0.001973020378500223,
-0.016868364065885544,
-0.003794704331085086,
-0.0271231010556221,
-0.013453129678964615,
0.0116190230473876,
0.05092131718993187,
-0.02424996718764305,
-0.008050194010138512,
-0.0015980674652382731,
0.02504504844546318,
0.06599171459674835,
-0.03559793904423714,
-0.02162981405854225,
0.11080536246299744,
0.015205921605229378,
-0.026183459907770157,
0.0444522500038147,
0.008434182032942772,
-0.04813853278756142,
0.046042412519454956,
-0.01254059374332428,
-0.03454987704753876,
0.03153218701481819,
0.00608056178316474,
-0.012938134372234344,
-0.06899134069681168,
0.045319609344005585,
0.014320490881800652,
-0.03232726454734802,
-0.034043919295072556,
0.08926589787006378,
0.04091052711009979,
0.03554372861981392,
0.03635688126087189,
-0.03053833357989788,
0.024484876543283463,
0.03464023023843765,
0.020220352336764336,
-0.029110802337527275,
-0.013642865233123302,
0.01617266796529293,
0.006076044403016567,
0.02271401509642601,
0.013679005205631256,
-0.05243919789791107,
-0.02717730961740017,
-0.013877775520086288,
-0.027809761464595795,
0.01958790235221386,
-0.039284225553274155,
-0.007331910543143749,
0.016290122643113136,
-0.004420378711074591,
-0.024954697117209435,
0.02869519218802452,
0.044018570333719254,
-0.004485882353037596,
-0.037766341120004654,
-0.020166141912341118,
0.011474463157355785,
-0.0026382228825241327,
0.04954799637198448,
0.04875291511416435,
-0.03272480517625809,
0.04795783385634422,
-0.012567698955535889,
0.008262516930699348,
0.014799346216022968,
-0.04813853278756142,
0.003444597590714693,
0.01829589530825615,
-0.02770134061574936,
-0.015784163028001785,
-0.02482820861041546,
-0.032797086983919144,
0.02927343361079693,
0.03053833357989788,
-0.016001002863049507,
0.007977914065122604,
-0.07003939896821976,
0.01696774922311306,
0.07820704579353333,
-0.006965992972254753,
-0.00913439504802227,
-0.03265252709388733,
-0.004874387755990028,
-0.011727442964911461,
0.01831396482884884,
-0.05771564319729805,
0.08427857607603073,
-0.03989860415458679,
-0.005719161592423916,
-0.014022335410118103,
-0.01852177083492279,
-0.0025591666344553232,
-0.038200024515390396,
-0.029652902856469154,
0.0512104369699955,
0.06823239475488663,
0.020672103390097618,
0.07900212705135345,
0.003625297686085105,
-0.05164411664009094,
-0.011411217972636223,
-0.05034307762980461,
0.007910151034593582,
-0.08001405000686646,
0.0312611348927021,
-0.028008531779050827,
-0.015594427473843098,
-0.012612873688340187,
0.05124657601118088,
0.037694063037633896,
0.0025252853520214558,
0.0038511729799211025,
0.0012095619458705187,
0.047885552048683167,
-0.044524528086185455,
-0.010932362638413906,
-0.08796485513448715,
-0.04484979063272476,
-0.008203789591789246,
-0.05088517814874649,
-0.02300313487648964,
0.0142391761764884,
-0.009721671231091022,
0.03314041718840599,
-0.0014998116530478,
-0.0035326890647411346,
-0.045608729124069214,
-0.041850168257951736,
-0.03442338854074478,
0.08182105422019958,
0.0033384361304342747,
-0.03209235519170761,
-0.03856142237782478,
0.012197263538837433,
-0.03234533593058586,
0.026183459907770157,
-0.011465427465736866,
-0.049728695303201675,
-0.005217718426138163,
0.07553268224000931,
-0.031008154153823853,
-0.03366444632411003,
-0.009884300641715527,
0.011492532677948475,
0.027086960151791573,
-0.02217191457748413,
-0.07806248962879181,
-0.07390638440847397,
0.053414978086948395,
0.015061361715197563,
-0.009839125908911228,
0.06129350885748863,
0.03691704943776131,
-0.005692056380212307,
-0.12294841557741165,
-0.04701819270849228,
-0.041416484862565994,
-0.016778014600276947,
0.006586522329598665,
-0.007892081514000893,
0.026779770851135254,
-0.03595934063196182,
-0.011122097261250019,
-0.04513891041278839,
0.023870496079325676,
0.04156104475259781,
-0.04456067085266113,
0.058655284345149994,
0.02640029974281788,
0.023924706503748894,
0.02824344113469124,
-0.013516374863684177,
0.05504128336906433,
0.06516049057245255,
-0.008922072127461433,
0.0036185216158628464,
-0.08521821349859238,
-0.0067762574180960655,
0.00002128168307535816,
-0.01904580183327198,
-0.01057999674230814,
-0.020437192171812057,
0.024864347651600838,
-0.017374323680996895,
0.050704475492239,
-0.00900338776409626,
0.009012422524392605,
-0.024972768500447273,
0.004370686132460833,
0.021864725276827812,
-0.008262516930699348,
-0.027339940890669823,
-0.052113939076662064,
-0.02139490470290184,
-0.010625171475112438,
-0.01694064401090145,
0.046873632818460464,
0.009202158078551292,
-0.04965641722083092,
-0.033754799515008926,
0.029905883595347404,
-0.09606022387742996,
0.0020565942395478487,
0.028026601299643517,
0.0407298244535923,
0.011872002854943275,
0.042175427079200745,
-0.05923352763056755,
-0.023436816409230232,
0.027484500780701637,
-0.004472330212593079,
0.0469820536673069,
0.016055213287472725,
0.05587250366806984,
-0.04821081459522247,
-0.05280059948563576,
0.01134797278791666,
0.019913163036108017,
-0.04484979063272476,
-0.04542803019285202,
0.028803613036870956,
-0.053957078605890274,
0.027502570301294327,
-0.016877399757504463,
-0.03838072344660759,
-0.013679005205631256,
0.03910352289676666,
0.01699485443532467
] |
52,172 |
pebble.pool.thread
|
_stop_pool
| null |
def _stop_pool(self):
if self._pool_manager_loop is not None:
self._pool_manager_loop.join()
self._pool_manager.stop()
|
(self)
|
[
0.04916322976350784,
0.004153796937316656,
0.0027204600628465414,
0.048454318195581436,
-0.05908803641796112,
-0.0044285012409091,
0.005020001903176308,
0.030128872022032738,
-0.0008822664385661483,
-0.007186622358858585,
-0.06862293928861618,
-0.020771199837327003,
0.017802618443965912,
-0.018839407712221146,
-0.0021765895653516054,
0.023181509226560593,
-0.039451099932193756,
-0.047674510627985,
-0.010048865340650082,
-0.013992203399538994,
-0.037288911640644073,
0.05433830991387367,
0.06653164327144623,
-0.03813960775732994,
0.00879054144024849,
-0.0016648417804390192,
-0.019831888377666473,
0.0029353497084230185,
-0.05100641027092934,
-0.026867864653468132,
-0.04806441441178322,
0.005046586040407419,
-0.0031923314090818167,
0.06514925509691238,
0.04654024541378021,
0.015560676343739033,
0.007696154527366161,
0.03661544248461723,
-0.01617211475968361,
-0.003812631592154503,
0.003812631592154503,
-0.0629870668053627,
0.0042136115953326225,
0.03842317312955856,
-0.03959288448095322,
-0.0014842901146039367,
-0.027541333809494972,
-0.05511811375617981,
0.008139226585626602,
0.0003220577200409025,
-0.04016001522541046,
0.013983341865241528,
-0.02550320513546467,
0.03973466530442238,
-0.0044218553230166435,
0.048170749098062515,
-0.016960782930254936,
0.023075172677636147,
-0.009667824022471905,
-0.050262048840522766,
-0.032521460205316544,
0.002678368240594864,
-0.01873306930065155,
-0.01439982932060957,
0.0340987965464592,
-0.002769197802990675,
-0.029118670150637627,
0.10683343559503555,
0.025095578283071518,
0.0022973264567553997,
0.0019639150705188513,
0.003405005671083927,
-0.02451072447001934,
0.04739094525575638,
-0.007129022851586342,
-0.05412563309073448,
0.025219639763236046,
-0.03633187711238861,
0.005449781659990549,
-0.022525763139128685,
-0.0058175306767225266,
0.026974203065037727,
-0.028179356828331947,
0.03482543304562569,
0.06748867779970169,
-0.05189255252480507,
0.01981416530907154,
-0.01779375784099102,
-0.05316859856247902,
-0.04363369569182396,
-0.023216955363750458,
0.06965086609125137,
0.010748918168246746,
0.011191990226507187,
0.039521992206573486,
0.015321417711675167,
-0.032184723764657974,
0.02188774012029171,
-0.059123482555150986,
-0.0654328241944313,
0.058450013399124146,
-0.039911895990371704,
0.04047902673482895,
0.005564980208873749,
0.05841456726193428,
-0.004718712996691465,
0.03404562547802925,
-0.0025232930202037096,
-0.07613743096590042,
-0.031103631481528282,
-0.05384206771850586,
0.035693854093551636,
-0.05171532556414604,
0.013008584268391132,
-0.07021799683570862,
0.011865459382534027,
-0.07599565386772156,
0.010917285457253456,
0.002700521843507886,
0.013008584268391132,
-0.07255741208791733,
0.017554499208927155,
-0.05756387114524841,
-0.03842317312955856,
0.020434465259313583,
0.02236625738441944,
0.01550750806927681,
0.026424793526530266,
0.011537586338818073,
0.0007006070809438825,
-0.008249994367361069,
0.050191156566143036,
-0.03980555757880211,
-0.004696559626609087,
0.02465250715613365,
-0.0033075299579650164,
-0.024936072528362274,
0.03034154698252678,
0.03214928135275841,
0.030199764296412468,
-0.016065778210759163,
0.026637468487024307,
-0.01638478972017765,
0.013797251507639885,
0.04746183753013611,
0.022596655413508415,
0.0014100755797699094,
-0.01967238262295723,
0.002503354800865054,
-0.032875917851924896,
-0.03183026984333992,
-0.020257236436009407,
0.07557030022144318,
0.014958099462091923,
0.005551687907427549,
0.007899967953562737,
-0.023128340020775795,
0.03799782693386078,
0.017005089670419693,
-0.04909234121441841,
0.020930705592036247,
0.03503810614347458,
-0.054480090737342834,
-0.058308228850364685,
-0.04412993788719177,
-0.03493177145719528,
0.025556372478604317,
0.032397400587797165,
0.05781199038028717,
0.03278730437159538,
-0.02988075278699398,
-0.016198700293898582,
-0.006127681117504835,
0.014258045703172684,
-0.0691191777586937,
0.07234474271535873,
0.005631440784782171,
0.042534880340099335,
-0.014683394692838192,
0.014718840830028057,
-0.050935517996549606,
-0.02436894178390503,
-0.06004507094621658,
0.009007646702229977,
-0.0031790391076356173,
-0.025591818615794182,
0.015737906098365784,
0.018697623163461685,
-0.02275616116821766,
-0.015879688784480095,
-0.02094842866063118,
-0.01449730433523655,
-0.008374053984880447,
-0.02027495950460434,
0.019920501857995987,
0.021657342091202736,
0.04983669891953468,
0.006123250350356102,
0.011165405623614788,
0.012246500700712204,
0.0040895515121519566,
0.02901233173906803,
0.027647672221064568,
-0.02677925117313862,
0.02819707989692688,
0.006287186872214079,
-0.010518521070480347,
0.0022773882374167442,
0.031050462275743484,
-0.004266779869794846,
0.04480340704321861,
0.016287313774228096,
0.009428565390408039,
0.11101603507995605,
0.10761324316263199,
0.019725549966096878,
-0.024156266823410988,
0.012574373744428158,
-0.022915666922926903,
0.00960579328238964,
-0.08365193009376526,
-0.07408158481121063,
0.025591818615794182,
0.017439300194382668,
-0.019583767279982567,
0.03284047171473503,
0.009836191311478615,
0.03168848529458046,
0.07982379198074341,
0.014018787071108818,
0.013416210189461708,
-0.02222447469830513,
-0.006300479173660278,
-0.014878346584737301,
0.021444668993353844,
-0.018644455820322037,
-0.036225538700819016,
-0.0011076790979132056,
-0.06536193192005157,
0.014931514859199524,
0.00766957039013505,
-0.0842190608382225,
-0.021870017051696777,
-0.08556599915027618,
0.008817126043140888,
0.04916322976350784,
0.049659471958875656,
0.016074640676379204,
0.10187103599309921,
0.015658153221011162,
0.06731144338846207,
-0.03041243925690651,
0.05263691395521164,
-0.03611920028924942,
-0.009419703856110573,
-0.11931033432483673,
0.023553689941763878,
-0.029756693169474602,
0.007248652167618275,
0.028693320229649544,
-0.01986733265221119,
0.015144189819693565,
-0.04264121502637863,
0.06451123207807541,
0.03241512179374695,
-0.0026362764183431864,
0.017155734822154045,
-0.009007646702229977,
0.031068185344338417,
0.014559335075318813,
0.1064789816737175,
-0.04303111881017685,
0.02585766278207302,
-0.0068986257538199425,
-0.027293214574456215,
0.05607514828443527,
-0.016748107969760895,
-0.008218979462981224,
-0.07099780440330505,
-0.008697496727108955,
0.11746715754270554,
0.03074917383491993,
-0.0058175306767225266,
-0.000328426860505715,
-0.0036730640567839146,
0.009526040405035019,
-0.0028334432281553745,
-0.010217232629656792,
0.020310405641794205,
0.02369547262787819,
-0.026495685800909996,
0.013061752542853355,
0.01074005663394928,
0.013168090023100376,
-0.015604984015226364,
-0.03183026984333992,
0.008719650097191334,
-0.012397144921123981,
0.006490999832749367,
-0.004397486336529255,
-0.007793630473315716,
-0.05976150557398796,
-0.01372636016458273,
0.027434997260570526,
-0.02706281654536724,
0.01887485198676586,
0.04356280714273453,
-0.030306100845336914,
0.013380764052271843,
0.010465352796018124,
0.014089678414165974,
-0.030182041227817535,
0.007833506911993027,
-0.0028555968310683966,
0.02578677050769329,
0.04909234121441841,
-0.021054765209555626,
-0.005449781659990549,
-0.022649822756648064,
0.010279262438416481,
-0.034010179340839386,
-0.018033016473054886,
0.021444668993353844,
0.027647672221064568,
0.028250249102711678,
0.031174521893262863,
0.015259387902915478,
0.0511481910943985,
0.026070335879921913,
0.009924804791808128,
-0.021302886307239532,
-0.022791605442762375,
0.0032720842864364386,
-0.03969921916723251,
0.010119756683707237,
-0.016881030052900314,
0.0460440069437027,
-0.005963744595646858,
0.0025853230617940426,
-0.059123482555150986,
-0.026477962732315063,
-0.025166470557451248,
-0.004012013785541058,
0.014887208119034767,
-0.030571945011615753,
0.053345829248428345,
0.011094514280557632,
-0.04721371456980705,
0.058520905673503876,
-0.061462901532649994,
0.029969366267323494,
0.022118138149380684,
0.017846927046775818,
0.04955313354730606,
-0.0022120352368801832,
-0.02988075278699398,
-0.0036176801659166813,
0.06348330527544022,
0.020771199837327003,
-0.026105782017111778,
-0.0690128430724144,
-0.07266375422477722,
0.047497283667325974,
0.0069828093983232975,
0.018945744261145592,
-0.02653113193809986,
0.007935413159430027,
-0.01449730433523655,
-0.01657974161207676,
0.0006208541453815997,
-0.0570676289498806,
-0.025680433958768845,
-0.021781403571367264,
-0.013522546738386154,
-0.05820189416408539,
0.019955947995185852,
-0.009339950978755951,
0.01517077349126339,
0.03245056793093681,
0.05564980208873749,
-0.02840975485742092,
-0.048170749098062515,
0.02195863239467144,
0.009960250928997993,
-0.015888549387454987,
-0.055082667618989944,
-0.03395701199769974,
-0.026602022349834442,
0.04210953041911125,
-0.013132643885910511,
0.0809580534696579,
-0.033797506242990494,
0.0238372553139925,
0.0006324847927317023,
0.030908679589629173,
-0.008746234700083733,
-0.017439300194382668,
-0.03821050003170967,
-0.02966807782649994,
-0.009747576899826527,
-0.028959164395928383,
0.058450013399124146,
-0.060470420867204666,
-0.024493001401424408,
0.047639064490795135,
0.016872169449925423,
0.006553029641509056,
-0.018360890448093414,
0.039309319108724594,
0.03041243925690651,
-0.016145531088113785,
-0.05284958705306053,
-0.02109021134674549,
-0.07968200743198395,
0.015259387902915478,
-0.009348811581730843,
0.005658024922013283,
0.0361369252204895,
0.07507406175136566,
0.037714261561632156,
0.0646175742149353,
0.022313088178634644,
0.029508572071790695,
-0.08152518421411514,
-0.05692584812641144,
-0.01986733265221119,
0.01137808058410883,
-0.03385067358613014,
-0.007058131508529186,
-0.022242197766900063,
-0.07790972292423248,
0.04047902673482895,
-0.011537586338818073,
-0.022791605442762375,
0.04391726478934288,
0.060931213200092316,
-0.03296453133225441,
0.014417551457881927,
0.019371092319488525,
-0.043066564947366714,
0.007222068030387163,
0.03478998690843582,
-0.04342102259397507,
0.02417398989200592,
0.06869383156299591,
-0.023482797667384148,
0.01477200910449028,
-0.021604174748063087,
-0.016225283965468407,
0.008489252999424934,
-0.04384637251496315,
0.008449376560747623,
0.03250373527407646,
-0.013132643885910511,
0.01282249391078949,
0.007031547371298075,
-0.03170620650053024,
-0.0061897109262645245,
0.014151709154248238,
-0.014452997595071793,
-0.03842317312955856,
-0.011307189241051674,
0.01974327303469181,
0.029171837493777275,
0.002660645404830575,
-0.006677089724689722,
0.07663367688655853,
0.007922121323645115,
0.035215336829423904,
0.02390814758837223,
0.01349596306681633,
-0.015250526368618011,
0.01584424264729023,
-0.012538927607238293,
-0.007589817512780428,
0.005082032177597284,
-0.04274755343794823,
0.06653164327144623,
0.06943818926811218,
-0.0170493982732296,
-0.021533282473683357,
-0.029703523963689804,
0.05362939462065697,
-0.009393119253218174,
-0.09329316765069962,
-0.00352463498711586,
0.04097526893019676,
-0.03700534626841545,
-0.009898221120238304,
-0.013575715944170952,
-0.026548853144049644,
-0.006282756105065346,
0.0042534880340099335,
0.020026838406920433,
0.047780849039554596,
-0.040727145969867706,
-0.07018255442380905,
-0.013885865919291973,
0.0569612942636013,
-0.03101501613855362,
0.04182596504688263,
0.01584424264729023,
-0.011457833461463451,
-0.027169154956936836,
0.08244677633047104,
-0.023482797667384148,
-0.001386814285069704,
0.019583767279982567,
-0.041932303458452225,
0.05433830991387367,
0.010917285457253456,
-0.022543486207723618,
-0.008090488612651825,
-0.01947743073105812,
0.06695698946714401,
-0.0003231653827242553,
-0.006406816188246012,
-0.03289363905787468,
0.04788718372583389,
-0.018626732751727104,
0.01921158656477928,
0.027647672221064568,
-0.03096184693276882,
0.02241942659020424,
-0.01596830226480961,
-0.0390966422855854,
-0.0007338374271057546,
0.031050462275743484,
-0.039451099932193756,
0.0860622376203537,
0.030997293069958687,
0.0025609543081372976,
-0.04398815333843231,
-0.011431248858571053,
-0.030501052737236023,
-0.018697623163461685,
-0.06720510870218277,
-0.04795807600021362,
-0.014550473541021347,
-0.011537586338818073,
-0.056146040558815,
0.020239513367414474,
0.0655391588807106,
-0.02296883426606655,
-0.014825177378952503,
0.05540167912840843,
-0.029774416238069534,
0.10896018147468567,
-0.03874218463897705,
0.05150264874100685,
0.07294731587171555,
0.035959694534540176,
0.03214928135275841,
0.0021001596469432116,
0.0015418893890455365,
-0.014125124551355839,
-0.006836595945060253,
0.004789604805409908,
-0.01793554052710533,
0.02208269201219082,
-0.0570676289498806,
0.02624756470322609,
0.009339950978755951,
0.024227159097790718,
0.03955743834376335,
-0.002434678841382265,
-0.014116263017058372,
-0.0008606666815467179,
0.056358713656663895,
0.017776034772396088,
0.019920501857995987,
-0.08570778369903564,
0.016748107969760895,
-0.02148011326789856,
0.024617061018943787,
0.040798038244247437,
0.016739247366786003,
-0.03385067358613014,
-0.02927817590534687,
-0.003320822026580572,
0.006052359007298946,
0.011821151711046696,
-0.0014277984155341983,
-0.03055422194302082,
-0.015472061932086945,
0.01563156768679619,
-0.009047523140907288,
-0.07457782328128815,
-0.012468036264181137,
0.038706738501787186,
0.03028837963938713,
0.05823734030127525,
0.004056320991367102,
-0.03181254491209984,
-0.026158951222896576,
0.03774970397353172,
-0.008046180941164494,
0.02665519155561924,
0.02786034531891346,
0.07152948528528214,
0.03576474264264107,
0.004696559626609087,
0.029260452836751938,
0.024936072528362274,
-0.003128085983917117,
0.028640152886509895,
-0.04264121502637863,
-0.022401703521609306,
0.0015053359093144536,
0.026017168536782265,
-0.054550983011722565,
-0.04671747609972954,
0.052601467818021774,
0.018449503928422928,
0.018112769350409508,
-0.015046713873744011,
-0.02424488216638565,
0.001587304170243442,
0.023890424519777298,
-0.017146872356534004,
-0.02585766278207302,
-0.01638478972017765,
0.028037574142217636,
-0.03601286560297012,
-0.0014001064701005816,
-0.00849368330091238,
0.02961491048336029,
-0.014577057212591171,
-0.00043781017302535474,
0.032734133303165436,
-0.0612502247095108,
-0.04902144894003868,
0.02229536511003971,
0.0006081158644519746,
-0.0019506230019032955,
0.07223840057849884,
0.03835228458046913,
0.03941565379500389,
0.017687421292066574,
-0.04707193374633789,
0.03539256379008293,
-0.0554371252655983,
0.004355394281446934,
-0.03268096596002579,
-0.03149353340268135,
-0.0366508886218071,
-0.006406816188246012,
-0.003376206150278449,
0.026265287771821022,
0.006123250350356102,
0.0017412715824320912,
0.034400083124637604,
-0.003728447947651148,
-0.021054765209555626,
-0.048099860548973083,
-0.06493658572435379,
-0.018520396202802658,
-0.0036464796867221594,
0.0061409734189510345,
-0.045157864689826965,
-0.03647365793585777,
-0.000016199806850636378,
-0.044555287808179855,
0.0005660240422002971,
-0.007979720830917358,
-0.023199232295155525,
-0.042534880340099335,
0.016234146431088448,
-0.00795756746083498,
0.04412993788719177,
0.006699243560433388,
-0.051254529505968094,
-0.039451099932193756,
-0.0177140049636364,
-0.05316859856247902,
0.043208349496126175,
-0.0021976353600621223,
-0.06203003227710724,
-0.05954883247613907,
0.020664861425757408,
-0.013885865919291973,
-0.008276578970253468,
-0.05855635181069374,
0.01090842392295599,
0.05128997564315796,
0.08102894574403763,
-0.058981698006391525,
-0.023518243804574013,
0.028569260612130165,
0.019317924976348877,
-0.03133402764797211,
0.02087753638625145,
-0.014178292825818062,
-0.018449503928422928,
-0.05908803641796112,
-0.05430286377668381,
-0.009472872130572796,
-0.07464871555566788,
0.013903588987886906,
-0.0018442857544869184,
0.01124515850096941,
-0.08925235271453857,
-0.02107248827815056,
-0.009694407694041729,
0.03544573113322258,
0.08131251484155655,
0.0053478749468922615,
0.019512876868247986,
0.03344304859638214,
0.007496772333979607,
0.044555287808179855,
-0.004171519540250301,
0.04994303733110428,
0.04377548024058342,
0.014993544667959213,
0.01372636016458273,
-0.12491076439619064,
-0.028250249102711678,
0.026105782017111778,
0.0060124825686216354,
0.00014524442667607218,
-0.019158419221639633,
0.03849406540393829,
-0.01739499345421791,
0.004811758175492287,
-0.023553689941763878,
-0.01832544431090355,
0.044342610985040665,
0.028640152886509895,
0.07946933060884476,
-0.05015571042895317,
-0.04228676110506058,
-0.03188343718647957,
0.029703523963689804,
-0.05249512940645218,
-0.021391499787569046,
0.04880877584218979,
0.01393017265945673,
-0.014878346584737301,
-0.0036575566045939922,
-0.022880220785737038,
-0.09726309031248093,
0.022614378482103348,
0.02545003592967987,
0.04459073022007942,
0.00604349747300148,
0.008604452013969421,
0.005356736481189728,
0.0015861965948715806,
-0.06589362025260925,
0.034346915781497955,
0.012051548808813095,
0.019566044211387634,
0.03973466530442238,
0.012468036264181137,
-0.03342532739043236,
0.022189028561115265,
0.02277388423681259,
-0.0612502247095108,
-0.010199509561061859,
0.016101224347949028,
0.02229536511003971,
-0.002075790660455823,
-0.03136947378516197,
-0.011360357515513897,
-0.0336911678314209,
0.019973671063780785,
0.009517178870737553
] |
52,177 |
pebble.pool.thread
|
map
|
Returns an iterator equivalent to map(function, iterables).
*chunksize* controls the size of the chunks the iterable will
be broken into before being passed to the function. If None
the size will be controlled by the Pool.
|
def map(self, function: Callable, *iterables, **kwargs) -> MapFuture:
"""Returns an iterator equivalent to map(function, iterables).
*chunksize* controls the size of the chunks the iterable will
be broken into before being passed to the function. If None
the size will be controlled by the Pool.
"""
self._check_pool_state()
timeout = kwargs.get('timeout')
chunksize = kwargs.get('chunksize', 1)
if chunksize < 1:
raise ValueError("chunksize must be >= 1")
futures = [self.schedule(process_chunk, args=(function, chunk))
for chunk in iter_chunks(chunksize, *iterables)]
return map_results(MapFuture(futures), timeout)
|
(self, function: Callable, *iterables, **kwargs) -> pebble.pool.base_pool.MapFuture
|
[
0.03986940160393715,
0.003477089572697878,
-0.07687261700630188,
0.005433813668787479,
-0.058242399245500565,
0.07091976702213287,
-0.04053083062171936,
-0.005819646641612053,
0.0014663947513327003,
0.006958772428333759,
-0.004669037647545338,
0.026989931240677834,
-0.025961043313145638,
0.030094968155026436,
0.059675492346286774,
0.013917544856667519,
0.007427284028381109,
-0.015525181777775288,
-0.028000446036458015,
0.009200277738273144,
0.0008216174319386482,
-0.0012011346407234669,
0.033530719578266144,
-0.03669087588787079,
0.0037848372012376785,
0.06908246874809265,
-0.0018510794034227729,
-0.015773218125104904,
0.02667759172618389,
-0.010105147957801819,
0.0819435641169548,
0.03094012662768364,
-0.0379953570663929,
0.023590927943587303,
0.011666852980852127,
0.04571201652288437,
-0.02627338469028473,
0.019420256838202477,
-0.032575324177742004,
-0.0032497236970812082,
0.03191389515995979,
-0.022635532543063164,
0.0002836331259459257,
0.0184189286082983,
-0.021735254675149918,
-0.001546776620671153,
-0.02392164058983326,
0.022672276943922043,
0.06415850669145584,
0.009416161105036736,
0.01159336045384407,
-0.05081970989704132,
0.06309287250041962,
0.0035138356033712626,
0.027651360258460045,
0.07966531068086624,
-0.028882350772619247,
-0.025593584403395653,
-0.011630106717348099,
-0.030976872891187668,
0.007882015779614449,
-0.03402679041028023,
0.0038537359796464443,
-0.023113230243325233,
0.004039762541651726,
-0.006421362515538931,
0.006053902208805084,
-0.025832433253526688,
-0.02814743109047413,
0.013494965620338917,
0.0206145029515028,
0.023131603375077248,
0.0013435253640636802,
-0.02496890164911747,
-0.022562040016055107,
0.054494306445121765,
0.01806984283030033,
0.014505480416119099,
0.06018993631005287,
-0.0071103498339653015,
-0.04501384124159813,
-0.016214169561862946,
-0.023609301075339317,
-0.049092646688222885,
-0.018979305401444435,
-0.09333482384681702,
0.010987051762640476,
-0.016985835507512093,
-0.09833227843046188,
-0.04622646048665047,
-0.03213437274098396,
0.019328393042087555,
0.01695827580988407,
-0.00800603348761797,
-0.0373523011803627,
-0.014827008359134197,
0.00945290643721819,
-0.013853239826858044,
-0.032262980937957764,
-0.022323191165924072,
0.026732709258794785,
-0.0029993916396051645,
0.03817908838391304,
-0.05269375443458557,
0.04405844584107399,
-0.03419214487075806,
-0.04222114756703377,
-0.0487251877784729,
-0.03891400620341301,
0.03474333509802818,
-0.038326069712638855,
0.04409519210457802,
-0.018887439742684364,
0.016149863600730896,
-0.03158318251371384,
0.04313979670405388,
0.013605203479528427,
-0.03744416683912277,
-0.019328393042087555,
0.0025538464542478323,
-0.009691755287349224,
-0.00334388529881835,
0.010886000469326973,
-0.03887725993990898,
0.009884672239422798,
0.0695234164595604,
0.02732064574956894,
0.020155176520347595,
-0.010288878343999386,
-0.05453105270862579,
0.03503730520606041,
0.03325512260198593,
0.0420006699860096,
0.07709309458732605,
-0.007679912727326155,
0.016471391543745995,
-0.04530780762434006,
-0.00821272935718298,
-0.041118767112493515,
-0.004845877643674612,
0.012769232504069805,
-0.04905590042471886,
0.015222027897834778,
0.03935495764017105,
0.024564696475863457,
-0.0639747753739357,
0.0330897681415081,
-0.03332861512899399,
0.02004493959248066,
-0.05974898487329483,
0.01995307393372059,
0.009021141566336155,
0.0016168237198144197,
0.0019027534872293472,
-0.03884051367640495,
0.06415850669145584,
0.10707782208919525,
0.0005336781614460051,
0.024436084553599358,
-0.0569930337369442,
-0.027302272617816925,
0.05791168659925461,
-0.005410847254097462,
-0.0192549005150795,
-0.025501718744635582,
-0.027486002072691917,
0.021073827520012856,
-0.02972750924527645,
0.02528124302625656,
-0.009498839266598225,
0.032575324177742004,
0.028294414281845093,
0.0867205411195755,
0.004859657492488623,
0.01078494917601347,
0.01603962667286396,
-0.01899767853319645,
0.010298064909875393,
-0.003644743235781789,
0.011795463971793652,
-0.029010960832238197,
-0.004515164066106081,
-0.05155462771654129,
0.017895298078656197,
-0.033659327775239944,
0.05934477970004082,
0.007693692110478878,
0.026126401498913765,
-0.0008273589774034917,
-0.02540985494852066,
-0.011648479849100113,
-0.004179856739938259,
0.041816938668489456,
0.02004493959248066,
-0.05133415386080742,
-0.044131938368082047,
-0.03474333509802818,
-0.005948257632553577,
0.0002562171721365303,
0.052803993225097656,
-0.06882524490356445,
-0.01024294551461935,
0.013494965620338917,
-0.009719314984977245,
-0.01185058243572712,
-0.028349533677101135,
-0.06496691703796387,
0.004682817496359348,
-0.021496405825018883,
0.018290318548679352,
-0.019052797928452492,
-0.03342048078775406,
0.008479137904942036,
0.06893548369407654,
0.03264881297945976,
-0.004515164066106081,
-0.01187814213335514,
-0.0034219706431031227,
0.02893747016787529,
-0.011464749462902546,
0.04152297228574753,
0.005038794130086899,
0.007473216392099857,
-0.03545988351106644,
0.022506920620799065,
0.0454915389418602,
0.015966134145855904,
0.01867615059018135,
0.03224460780620575,
0.022286444902420044,
0.0017684008926153183,
0.0206145029515028,
-0.004150000400841236,
-0.02239668183028698,
0.03042568266391754,
-0.07400643080472946,
0.008837411180138588,
-0.0655181035399437,
-0.0011046763975173235,
0.007032264489680529,
-0.006917433347553015,
-0.04141273349523544,
0.010316437110304832,
-0.01648976467549801,
-0.0192549005150795,
0.015332265757024288,
-0.060116443783044815,
0.06687770783901215,
0.03595595434308052,
0.018887439742684364,
0.023131603375077248,
0.03299790248274803,
-0.03580896928906441,
0.011391257867217064,
-0.013586831279098988,
0.009443719871342182,
-0.0027536528650671244,
-0.04751256853342056,
-0.01623254269361496,
0.04519757255911827,
0.0494968518614769,
-0.004754012916237116,
-0.04053083062171936,
-0.04618971422314644,
0.010840067639946938,
-0.01013270765542984,
-0.06298263370990753,
-0.009434533305466175,
0.005093913059681654,
0.05853636562824249,
0.111928291618824,
0.03275905176997185,
0.008952242322266102,
-0.007914167828857899,
-0.0035919207148253918,
0.0010616147192195058,
0.009599890559911728,
-0.0186118446290493,
0.00995816383510828,
-0.0652608871459961,
-0.010959492065012455,
0.01921815425157547,
-0.10744528472423553,
-0.07782801240682602,
-0.039979640394449234,
0.007211401127278805,
-0.005608357023447752,
0.07944484055042267,
0.0664367526769638,
0.022304818034172058,
-0.019897954538464546,
-0.010095961391925812,
-0.04644693434238434,
-0.027559494599699974,
-0.03557012230157852,
-0.04380122199654579,
-0.004687410779297352,
-0.023903269320726395,
-0.002422938821837306,
-0.05199557915329933,
-0.013357168063521385,
-0.09833227843046188,
0.026163147762417793,
0.02662247233092785,
-0.008713393472135067,
0.010775762610137463,
0.0449770949780941,
-0.01108810305595398,
-0.05813216045498848,
0.01089518703520298,
0.05115042254328728,
-0.013779747299849987,
-0.0460059829056263,
-0.06904572248458862,
0.03299790248274803,
-0.0012068762443959713,
-0.030885007232427597,
0.048173997551202774,
-0.0015421833377331495,
-0.00860774889588356,
-0.032538577914237976,
0.013651136308908463,
0.04736558347940445,
-0.016241729259490967,
0.017647262662649155,
0.023811403661966324,
0.0457487627863884,
-0.03055429272353649,
0.014505480416119099,
0.04291931912302971,
-0.0037963204085826874,
0.024031879380345345,
-0.008456171490252018,
0.0020497373770922422,
-0.0639747753739357,
0.01918140798807144,
-0.015745658427476883,
0.011795463971793652,
0.016351966187357903,
0.009057886898517609,
0.0068806870840489864,
0.004790758714079857,
0.0105001674965024,
0.00822650920599699,
-0.06052064895629883,
0.02248854748904705,
-0.014771888963878155,
0.018666964024305344,
-0.00755130173638463,
-0.04291931912302971,
0.0979648157954216,
0.0018327063880860806,
0.004910183139145374,
0.057764701545238495,
-0.00397086376324296,
0.05618462339043617,
0.062210965901613235,
0.0038261765148490667,
-0.03656226396560669,
0.0133755411952734,
-0.020375652238726616,
-0.07753404229879379,
0.0382525771856308,
-0.029874492436647415,
0.060741126537323,
0.01202512625604868,
0.028092311695218086,
-0.00024688715348020196,
0.021606644615530968,
0.05901406332850456,
0.04666741192340851,
0.05228954926133156,
-0.035312898457050323,
0.050231773406267166,
-0.023370452225208282,
-0.03595595434308052,
-0.0043865530751645565,
0.037627898156642914,
-0.0781954750418663,
0.06628977507352829,
-0.03669087588787079,
-0.07510881125926971,
0.026255011558532715,
-0.03020520694553852,
-0.013632763177156448,
0.029213065281510353,
0.08150260895490646,
-0.023848149925470352,
0.00920946430414915,
-0.0006723368423990905,
-0.013715442270040512,
-0.006586719304323196,
0.017656449228525162,
0.008851191028952599,
-0.03338373452425003,
-0.026879694312810898,
0.04530780762434006,
0.016857223585247993,
-0.011428004130721092,
-0.06353382021188736,
-0.016269288957118988,
-0.014716770499944687,
0.013302049599587917,
0.07128722965717316,
0.02509751357138157,
-0.018722083419561386,
-0.0036539295688271523,
-0.019750971347093582,
0.012006753124296665,
0.017206311225891113,
-0.009746874682605267,
-0.019052797928452492,
0.004138517659157515,
-0.055412959307432175,
-0.036231547594070435,
0.0714709535241127,
-0.08627959340810776,
-0.059418272227048874,
-0.004446265287697315,
-0.055890657007694244,
0.0851772129535675,
-0.02471167966723442,
-0.025556838139891624,
0.0347617082297802,
0.007179248612374067,
-0.05361240357160568,
0.05467803776264191,
-0.0007148244185373187,
-0.02039402537047863,
0.011032984592020512,
0.001150034717284143,
-0.06805358082056046,
-0.061990492045879364,
0.011694412678480148,
0.04391146078705788,
0.005470559932291508,
-0.0336042121052742,
0.04100852832198143,
0.06706143915653229,
-0.010739016346633434,
-0.000021530855519813485,
0.017270617187023163,
0.058242399245500565,
-0.027026677504181862,
0.09105657041072845,
0.01357764471322298,
-0.017463533207774162,
-0.006453515030443668,
0.0073078591376543045,
0.028882350772619247,
-0.008203542791306973,
-0.023462316021323204,
0.001970503944903612,
0.013715442270040512,
0.054972004145383835,
0.031270839273929596,
-0.0192549005150795,
-0.034798454493284225,
-0.07665213942527771,
0.02026541531085968,
0.03338373452425003,
-0.04376447945833206,
0.061990492045879364,
-0.00984792597591877,
-0.023646047338843346,
0.012649808079004288,
-0.022672276943922043,
0.03568036109209061,
0.029102826490998268,
-0.01693071611225605,
0.030829887837171555,
0.015552741475403309,
-0.001870600739493966,
-0.03672761842608452,
0.030646158382296562,
0.039759162813425064,
-0.03154643625020981,
0.03953868895769119,
0.04751256853342056,
-0.013862425461411476,
0.01762888953089714,
-0.012291534803807735,
0.08745546638965607,
0.011170782148838043,
-0.02370116487145424,
-0.016939902678132057,
0.07907737791538239,
-0.010518540628254414,
-0.0012734782649204135,
-0.0010512799490243196,
-0.013715442270040512,
-0.005640510004013777,
0.07202214747667313,
0.007872829213738441,
0.01187814213335514,
-0.021514778956770897,
0.0010966382687911391,
0.025483345612883568,
0.05445756018161774,
-0.02179037407040596,
0.023260213434696198,
0.016471391543745995,
-0.015984507277607918,
0.011345325037837029,
0.018529167398810387,
0.04516082629561424,
0.006912840064615011,
-0.042551860213279724,
-0.045087333768606186,
0.012162923812866211,
-0.006324904039502144,
-0.01702258177101612,
-0.06360731273889542,
0.01346740685403347,
0.0028868571389466524,
0.026163147762417793,
0.04405844584107399,
0.00439114635810256,
-0.07139746099710464,
-0.03814234212040901,
0.05276724696159363,
0.02322346717119217,
-0.029929611831903458,
-0.011556615121662617,
-0.015607860870659351,
-0.04008987918496132,
0.03573547676205635,
0.003665412776172161,
-0.010077588260173798,
-0.03913448378443718,
-0.06919270753860474,
0.009076260030269623,
0.005217931233346462,
0.005608357023447752,
-0.016122303903102875,
0.00440033245831728,
0.00919568445533514,
-0.015901828184723854,
0.038546547293663025,
0.04468312859535217,
-0.05034201219677925,
0.04545479267835617,
0.03744416683912277,
-0.021239183843135834,
-0.027688106521964073,
-0.001547924941405654,
-0.0009576924494467676,
-0.002250692108646035,
0.04008987918496132,
-0.02540985494852066,
-0.005461373366415501,
-0.00008318087202496827,
0.02823929488658905,
0.03685623034834862,
-0.006673991214483976,
-0.05137090012431145,
0.025556838139891624,
-0.06581207364797592,
-0.11736670136451721,
-0.008754733018577099,
0.02353580854833126,
0.045601777732372284,
-0.004377366509288549,
0.011032984592020512,
0.006793415639549494,
0.01991632767021656,
0.022470174357295036,
0.06581207364797592,
-0.0037710575852543116,
-0.02427072823047638,
0.03953868895769119,
0.04927637800574303,
-0.02026541531085968,
-0.08179657906293869,
-0.020247042179107666,
-0.028037192299962044,
0.010141894221305847,
-0.09877322614192963,
0.027430884540081024,
-0.06018993631005287,
-0.04505058750510216,
-0.004156890325248241,
0.025483345612883568,
-0.0006522414041683078,
0.020816605538129807,
0.017840180546045303,
-0.07657864689826965,
0.048908915370702744,
0.024913784116506577,
-0.006366243120282888,
-0.002588295843452215,
-0.011032984592020512,
-0.04130249470472336,
0.021735254675149918,
-0.018124960362911224,
-0.030223580077290535,
-0.010040842927992344,
-0.021331049501895905,
-0.057103272527456284,
0.006067682057619095,
-0.006329497322440147,
0.03242833912372589,
-0.025850806385278702,
0.05111367627978325,
-0.014744329266250134,
-0.010123521089553833,
-0.038326069712638855,
-0.0077763707377016544,
0.05210581794381142,
0.02754112146794796,
-0.06415850669145584,
0.014588159509003162,
0.03452286124229431,
-0.05317145213484764,
0.02322346717119217,
-0.020247042179107666,
-0.033971671015024185,
0.04100852832198143,
0.024123745039105415,
-0.03141782432794571,
-0.029268182814121246,
-0.0021932765375822783,
-0.04034709930419922,
-0.009333482012152672,
0.03259369730949402,
-0.028661875054240227,
-0.010858440771698952,
-0.04343376308679581,
0.03176691010594368,
0.012328281067311764,
-0.02436259388923645,
0.05151788145303726,
0.05522922798991203,
0.0071103498339653015,
0.04056757688522339,
0.0026158553082495928,
0.023260213434696198,
0.04993780329823494,
-0.0377381332218647,
-0.0569930337369442,
-0.005213337950408459,
-0.029213065281510353,
0.006871500518172979,
-0.05629486218094826,
0.06654699146747589,
-0.05743398889899254,
0.023811403661966324,
0.0412290059030056,
0.05809541419148445,
0.017840180546045303,
0.01383486669510603,
0.03193226829171181,
-0.0029304928611963987,
0.04391146078705788,
0.018703710287809372,
0.0004240143171045929,
-0.0005431516910903156,
-0.030995246022939682,
-0.017399227246642113,
0.021514778956770897,
-0.010435862466692924,
0.016048813238739967,
-0.04850471019744873,
-0.013366354629397392,
-0.019512122496962547,
-0.0714709535241127,
-0.014018596149981022,
-0.017739128321409225,
-0.0460059829056263,
0.0684945285320282,
0.033144887536764145,
-0.03942845016717911,
-0.000585926347412169,
-0.00593907106667757,
0.04644693434238434,
0.03661738336086273,
-0.039979640394449234,
0.003047620877623558,
-0.06188025325536728,
0.027743224054574966,
-0.015001551248133183,
0.0010914708254858851,
-0.0564785897731781,
0.044131938368082047,
-0.07966531068086624,
-0.025428228080272675,
-0.008061151951551437,
-0.02226807177066803,
-0.015488436445593834,
0.043250035494565964,
0.10215386003255844,
0.026989931240677834,
0.021422913298010826,
-0.010279691778123379,
-0.06632651388645172,
0.06775961071252823,
-0.0048412843607366085,
-0.020375652238726616,
0.09230593591928482,
0.026824574917554855,
-0.006131987553089857,
0.015874268487095833,
-0.019806090742349625,
-0.04008987918496132,
0.022304818034172058,
-0.0033484785817563534,
-0.06327659636735916,
0.026163147762417793,
0.01067471131682396,
0.04501384124159813,
0.041375987231731415,
-0.008410239592194557,
0.04971732944250107,
0.014119647443294525,
-0.004850470926612616,
-0.013559271581470966,
0.04986431077122688,
0.04740232974290848,
0.00029124069260433316,
0.013127505779266357,
-0.017509466037154198,
-0.03700321540236473,
0.03547825664281845,
-0.023499062284827232,
-0.023480689153075218,
-0.019052797928452492,
-0.008134644478559494,
0.009517212398350239,
0.012153737246990204,
0.07180166989564896,
0.04288257285952568,
0.011611733585596085,
-0.03136270493268967,
-0.07679912447929382,
-0.058205652981996536,
-0.056111130863428116,
0.0059941899962723255,
-0.013853239826858044,
-0.04997454956173897,
-0.08495673537254333,
0.010913560166954994,
-0.07907737791538239,
0.025997789576649666,
0.01620498299598694,
0.024785172194242477,
0.01013270765542984,
-0.01296214945614338,
0.00010607534932205454,
0.006527007091790438,
0.015267959795892239,
0.019548868760466576,
0.01024294551461935,
-0.04130249470472336,
0.007294079754501581,
0.019989820197224617,
-0.022341564297676086,
0.004163780249655247,
-0.03862003982067108,
-0.044425904750823975,
0.001423907233402133,
-0.05482502281665802,
0.01877720281481743,
0.02252529375255108,
-0.04391146078705788,
-0.013136692345142365,
-0.00805196538567543,
-0.002154233865439892,
0.013026454485952854
] |
52,178 |
pebble.pool.thread
|
schedule
|
Schedules *function* to be run the Pool.
*args* and *kwargs* will be forwareded to the scheduled function
respectively as arguments and keyword arguments.
A *concurrent.futures.Future* object is returned.
|
def schedule(self, function, args=(), kwargs={}) -> Future:
"""Schedules *function* to be run the Pool.
*args* and *kwargs* will be forwareded to the scheduled function
respectively as arguments and keyword arguments.
A *concurrent.futures.Future* object is returned.
"""
self._check_pool_state()
future = Future()
payload = TaskPayload(function, args, kwargs)
task = Task(next(self._task_counter), future, None, payload)
self._context.task_queue.put(task)
return future
|
(self, function, args=(), kwargs={}) -> concurrent.futures._base.Future
|
[
0.06902626901865005,
-0.01613757200539112,
-0.016646206378936768,
-0.03695457801222801,
0.003856371156871319,
0.02254636213183403,
-0.0621088482439518,
-0.03695457801222801,
0.003084172261878848,
-0.05508044734597206,
-0.0540446862578392,
0.024358948692679405,
0.0035511907190084457,
-0.017672723159193993,
0.0019293415825814009,
0.019827481359243393,
0.06917423754930496,
-0.041541535407304764,
-0.04942074045538902,
-0.03895212337374687,
0.024821344763040543,
0.004032081458717585,
0.04768213629722595,
0.003188211005181074,
0.04157852753996849,
0.012521646916866302,
0.021936001256108284,
-0.012558638118207455,
0.01416777167469263,
0.003736148588359356,
0.060259267687797546,
0.024839838966727257,
-0.04320615530014038,
0.054525576531887054,
0.03961797058582306,
0.02574613317847252,
-0.028760947287082672,
-0.0019027539528906345,
-0.06873033940792084,
-0.04823700711131096,
0.06773156672716141,
-0.009969227947294712,
0.007624887395650148,
-0.009062934666872025,
-0.03405074030160904,
-0.05256502330303192,
0.014140027575194836,
-0.03630722686648369,
0.030499549582600594,
0.014306490309536457,
0.0006051589734852314,
-0.04535166546702385,
-0.016590720042586327,
-0.03138734772801399,
-0.005169571842998266,
0.06562304496765137,
0.03641820326447487,
0.05848367512226105,
0.039765939116477966,
-0.018995171412825584,
0.05437760800123215,
-0.005627342499792576,
-0.030203618109226227,
0.00016097113257274032,
0.01526827085763216,
-0.004702553618699312,
-0.03244160860776901,
0.01592487096786499,
-0.003322305390611291,
-0.022694328799843788,
0.043021198362112045,
-0.0036875971127301455,
0.04794107750058174,
-0.0006305906572379172,
0.04320615530014038,
-0.005340658128261566,
-0.02165856398642063,
-0.039913903921842575,
-0.011226941831409931,
-0.0071532451547682285,
-0.06651084125041962,
-0.03784237802028656,
0.03338489308953285,
-0.003997401800006628,
0.025986578315496445,
-0.007587896194308996,
-0.009701039642095566,
-0.038138311356306076,
-0.09595613181591034,
-0.018902692943811417,
0.021991489455103874,
0.03456862270832062,
-0.022139454260468483,
0.008790122345089912,
0.03327391669154167,
-0.051788199692964554,
0.044389884918928146,
-0.023785579949617386,
0.016747932881116867,
-0.02228742092847824,
-0.005650462582707405,
0.010440871119499207,
-0.016729438677430153,
-0.07139372825622559,
0.016331778839230537,
-0.04949472099542618,
-0.031146902590990067,
0.02034536376595497,
-0.04775611683726311,
-0.01923561654984951,
-0.005835420452058315,
0.09462443739175797,
-0.015675177797675133,
0.02117767371237278,
-0.017164088785648346,
0.004397373180836439,
-0.03839724883437157,
0.013067272491753101,
0.007809845265001059,
-0.024562403559684753,
-0.051418282091617584,
0.04187445715069771,
0.026411982253193855,
0.0013894959120079875,
-0.018634503707289696,
0.09706588089466095,
-0.0526759959757328,
0.0033708568662405014,
-0.014491448178887367,
-0.08175136893987656,
-0.001542086130939424,
0.02234290912747383,
0.0476081520318985,
0.05900155380368233,
-0.0021293272729963064,
-0.013927326537668705,
0.033551353961229324,
-0.008059538900852203,
-0.01923561654984951,
0.0303700789809227,
0.03201620280742645,
0.0050447252579033375,
0.07017301023006439,
-0.008901096880435944,
0.06665880978107452,
-0.007490793243050575,
-0.0292788278311491,
0.008947336114943027,
0.025505688041448593,
-0.030980439856648445,
0.058002784848213196,
0.007171740755438805,
0.04061674326658249,
0.005104837007820606,
-0.027096325531601906,
0.024506915360689163,
0.10705360770225525,
-0.014519191347062588,
0.03390277549624443,
-0.038027334958314896,
-0.007777477614581585,
0.07923594117164612,
-0.014408216811716557,
-0.03277453035116196,
-0.0028391031082719564,
-0.02522825077176094,
0.05367476865649223,
0.027577215805649757,
-0.006149848457425833,
-0.01158760953694582,
0.037657417356967926,
-0.04908781498670578,
0.018199853599071503,
0.08337900042533875,
-0.04368704557418823,
0.011263933032751083,
-0.010311400517821312,
0.03684360533952713,
0.024192487820982933,
0.010894017294049263,
0.016905147582292557,
0.004045953042805195,
-0.03218266740441322,
-0.015286766923964024,
0.017626482993364334,
-0.005918651353567839,
0.004600826650857925,
0.046165481209754944,
-0.01424175500869751,
0.009756526909768581,
-0.0007641071570105851,
0.013335461728274822,
0.07254046946763992,
-0.010810786858201027,
-0.0058724116533994675,
-0.08093755692243576,
-0.03283001855015755,
-0.02837253548204899,
0.0070792618207633495,
0.04771912470459938,
0.07117178291082382,
-0.020530322566628456,
0.08012374490499496,
0.006131352856755257,
0.03884115070104599,
-0.04942074045538902,
-0.06469825655221939,
-0.036917589604854584,
-0.023452656343579292,
-0.0026264016050845385,
-0.006935919634997845,
-0.04605450481176376,
-0.014482200145721436,
0.06136901676654816,
0.020049432292580605,
0.041763484477996826,
-0.004762664902955294,
0.013881087303161621,
0.017358293756842613,
-0.05670807883143425,
0.054895490407943726,
-0.0007444553775712848,
-0.026670923456549644,
-0.04383501037955284,
0.007897700183093548,
0.01526827085763216,
0.010866274125874043,
-0.02160307765007019,
0.043058186769485474,
-0.0037315248046070337,
0.012410672381520271,
-0.015212783589959145,
0.0013513483572751284,
-0.004436676390469074,
0.035086505115032196,
-0.04657238721847534,
0.0012692732270807028,
0.002980133518576622,
-0.02323070727288723,
-0.016165316104888916,
0.02280530333518982,
0.00113980274181813,
0.0736132264137268,
-0.03525296598672867,
-0.003627485828474164,
-0.017802193760871887,
-0.03699157014489174,
0.0826391726732254,
-0.0163502749055624,
-0.026633931323885918,
-0.023933546617627144,
0.016683198511600494,
-0.036029789596796036,
0.0024345077108591795,
-0.07516687363386154,
-0.0215475894510746,
-0.01424175500869751,
-0.016840413212776184,
0.058779604732990265,
0.056634094566106796,
-0.010311400517821312,
-0.04646141454577446,
-0.02733677066862583,
-0.03073999471962452,
0.037768393754959106,
0.02805810607969761,
-0.10143088549375534,
0.008984328247606754,
0.007541656494140625,
0.021011212840676308,
0.04930976405739784,
-0.001291237073019147,
0.03704705834388733,
-0.032922498881816864,
-0.041763484477996826,
-0.055783290416002274,
-0.04461183398962021,
-0.007037646137177944,
-0.014408216811716557,
-0.058261722326278687,
0.014001309871673584,
0.033495865762233734,
-0.0458325557410717,
-0.016942139714956284,
0.03769440948963165,
-0.00029766655643470585,
0.005053973291069269,
0.09299680590629578,
0.07043194770812988,
0.02328619360923767,
-0.047793108969926834,
0.023619117215275764,
0.005127956625074148,
-0.017071610316634178,
-0.0008716139127500355,
0.023841068148612976,
0.025986578315496445,
-0.015730665996670723,
0.04024682939052582,
-0.005576479248702526,
0.05504345893859863,
-0.022102463990449905,
0.0063255587592720985,
-0.02868696302175522,
0.009298755787312984,
0.0026425854302942753,
-0.008401710540056229,
0.02217644639313221,
-0.07475996762514114,
-0.013363204896450043,
0.04483378306031227,
-0.01205925177782774,
0.004487540107220411,
-0.051381293684244156,
0.038915131241083145,
0.06133202463388443,
-0.027521729469299316,
0.0301666259765625,
0.0027142565231770277,
-0.01943907141685486,
-0.031923726201057434,
0.02234290912747383,
0.04043178632855415,
0.009062934666872025,
0.0006190307904034853,
0.00007091255247360095,
-0.01518503949046135,
-0.0012207218678668141,
0.005816924385726452,
0.0816773921251297,
0.010061707347631454,
0.05933447927236557,
0.05145527422428131,
-0.013335461728274822,
-0.061147067695856094,
0.01844029873609543,
-0.016211556270718575,
0.03847123309969902,
-0.009969227947294712,
-0.03268205374479294,
0.0558202788233757,
0.020955724641680717,
-0.01782068982720375,
0.040912676602602005,
-0.05482150986790657,
0.03469809517264366,
0.022675832733511925,
0.006852688733488321,
0.055265408009290695,
-0.11252836138010025,
0.06713970005512238,
-0.023637613281607628,
-0.01629478670656681,
0.033292412757873535,
0.015314510092139244,
0.055783290416002274,
0.05360078439116478,
-0.0022437700536102057,
-0.018745478242635727,
-0.06325558573007584,
-0.056782063096761703,
-0.09381062537431717,
0.005299042444676161,
-0.019161634147167206,
0.02648596465587616,
0.049901630729436874,
0.012188722379505634,
0.023822572082281113,
0.004658625926822424,
0.013575906865298748,
0.042651280760765076,
0.03590032085776329,
-0.030666012316942215,
0.018421802669763565,
-0.0009808546165004373,
-0.031239381060004234,
-0.02165856398642063,
-0.004956870339810848,
-0.030703004449605942,
0.01167084090411663,
-0.01516654435545206,
-0.05633816123008728,
0.05607922002673149,
-0.05393370985984802,
-0.03283001855015755,
0.015462476760149002,
0.02506178990006447,
-0.0021582269109785557,
0.02186201885342598,
-0.024247974157333374,
-0.027928635478019714,
-0.009414354339241982,
0.029944676905870438,
0.004168487619608641,
-0.009271012619137764,
-0.06480923295021057,
0.01426949817687273,
0.011430395767092705,
0.04520370066165924,
-0.009959980845451355,
0.008785498328506947,
-0.03662165626883507,
-0.006945167668163776,
-0.0005485156434588134,
0.0652531310915947,
-0.0024645633529871702,
0.030314592644572258,
-0.042170390486717224,
0.05748490244150162,
0.014491448178887367,
0.04180047661066055,
-0.07857009768486023,
-0.05282396450638771,
-0.024673378095030785,
-0.01719183288514614,
0.008984328247606754,
-0.05204714089632034,
-0.03998788818717003,
-0.05533938854932785,
-0.06377346813678741,
0.03861920163035393,
0.0107737947255373,
-0.02328619360923767,
0.028945904225111008,
0.004841271787881851,
0.026245519518852234,
0.05792880058288574,
-0.0033962884917855263,
0.005775309167802334,
0.03283001855015755,
-0.03580784052610397,
-0.035548899322748184,
-0.023304689675569534,
0.050900403410196304,
0.029038382694125175,
-0.03401374816894531,
0.02548719197511673,
0.008184385485947132,
0.0015628938563168049,
-0.004573083017021418,
-0.02422947809100151,
-0.025450201705098152,
0.003634421853348613,
0.0048089041374623775,
0.02502479776740074,
-0.02228742092847824,
0.012558638118207455,
-0.028039610013365746,
0.011615353636443615,
-0.0025431704707443714,
-0.00024767013383097947,
0.03969195485115051,
-0.009710287675261497,
0.07857009768486023,
-0.008951960131525993,
-0.03499402478337288,
-0.039765939116477966,
-0.07642458379268646,
-0.04139356687664986,
-0.026781897991895676,
-0.025450201705098152,
-0.03501252084970474,
0.006108233239501715,
0.034346673637628555,
-0.020955724641680717,
-0.048902858048677444,
0.01167084090411663,
0.01886570081114769,
0.006288567092269659,
-0.0435020886361599,
0.030407071113586426,
-0.014972338452935219,
-0.015027825720608234,
-0.048532940447330475,
0.004818152170628309,
0.033662330359220505,
-0.04457484185695648,
0.006510516628623009,
0.0612950325012207,
-0.026892872527241707,
0.05411866679787636,
0.042910221964120865,
0.0521211251616478,
0.07342826575040817,
-0.014093788340687752,
-0.012697356753051281,
0.05345281958580017,
0.015129552222788334,
0.021362632513046265,
0.008901096880435944,
-0.04069072753190994,
-0.015850888565182686,
0.05511743947863579,
0.02385956235229969,
-0.0385822094976902,
-0.021566085517406464,
-0.06018528714776039,
0.04283623769879341,
-0.020955724641680717,
0.021566085517406464,
0.011661592870950699,
0.03073999471962452,
-0.04231835529208183,
0.05755888298153877,
0.01479662861675024,
0.014509943313896656,
-0.03726900741457939,
0.011273181065917015,
-0.024617889896035194,
0.02337867207825184,
-0.03538243845105171,
-0.029186349362134933,
-0.04205941781401634,
-0.011966773308813572,
-0.015591947361826897,
0.03556739538908005,
-0.012484654784202576,
-0.019420575350522995,
-0.07612865418195724,
-0.036917589604854584,
0.008415582589805126,
0.04568459093570709,
-0.013594402000308037,
0.04420492798089981,
-0.005178819876164198,
0.01214248314499855,
0.055524349212646484,
-0.05907553806900978,
-0.026615435257554054,
0.07849611341953278,
-0.03421720489859581,
-0.02643047831952572,
-0.023933546617627144,
0.014583926647901535,
0.029870692640542984,
0.06824944913387299,
-0.06399542093276978,
-0.032663557678461075,
-0.007948563434183598,
-0.018366314470767975,
-0.06406939774751663,
0.007342827040702105,
-0.009534577839076519,
0.010366887785494328,
-0.04842196777462959,
-0.01723807118833065,
-0.003918794449418783,
-0.005895531736314297,
-0.03183124586939812,
-0.018264587968587875,
0.013538914732635021,
-0.005252803210169077,
0.08019772917032242,
0.005146452225744724,
0.0014912226470187306,
-0.011458138935267925,
0.05567231401801109,
0.009784270077943802,
-0.048902858048677444,
0.027614207938313484,
-0.030518045648932457,
-0.008674523793160915,
0.011236189864575863,
-0.011717080138623714,
-0.05434061586856842,
0.008212128654122353,
0.0014519192045554519,
0.05448858439922333,
-0.02391505055129528,
-0.007009902503341436,
0.04324314743280411,
-0.029778214171528816,
0.031035928055644035,
-0.052528031170368195,
-0.045647598803043365,
-0.028557492420077324,
0.04531467333436012,
-0.06488321721553802,
0.005881659686565399,
-0.02123316191136837,
-0.06614092737436295,
-0.03715803474187851,
-0.05371176078915596,
-0.009012071415781975,
-0.10083901882171631,
0.029926180839538574,
-0.03582633659243584,
0.014103036373853683,
0.0030217489693313837,
-0.011282429099082947,
-0.00021645848755724728,
0.025986578315496445,
0.04046877846121788,
0.014232506975531578,
0.009155414067208767,
-0.008896472863852978,
-0.03580784052610397,
-0.04734921082854271,
0.0027026967145502567,
-0.01608208566904068,
-0.014140027575194836,
0.04823700711131096,
0.00013662315905094147,
0.05522841587662697,
0.010366887785494328,
0.022453883662819862,
-0.022953270003199577,
-0.04394598677754402,
0.05045650154352188,
-0.008022546768188477,
-0.016581472009420395,
0.01760798692703247,
0.016109829768538475,
0.00885485764592886,
0.025672150775790215,
0.01021892111748457,
-0.07901399582624435,
0.055006466805934906,
0.0013582842657342553,
-0.07820018380880356,
0.013825600035488605,
-0.011818806640803814,
0.0016449688700959086,
-0.004432052373886108,
0.044019971042871475,
0.004864391405135393,
-0.011023487895727158,
-0.07146771252155304,
0.012660365551710129,
-0.014001309871673584,
-0.020937228575348854,
-0.009298755787312984,
0.012234961614012718,
0.010459366254508495,
0.022102463990449905,
-0.0025686020962893963,
-0.004725673235952854,
0.10653572529554367,
-0.017330551519989967,
-0.08212129026651382,
-0.0032506342977285385,
0.006182216107845306,
-0.01718258485198021,
-0.03419870883226395,
0.048273999243974686,
-0.008753130212426186,
-0.012003764510154724,
-0.06310761719942093,
0.04083869606256485,
-0.03737998381257057,
-0.006681602448225021,
-0.013011785224080086,
0.01168933603912592,
0.07930992543697357,
-0.027096325531601906,
0.030813978984951973,
-0.0403578020632267,
-0.05837269872426987,
-0.02937130816280842,
-0.0354379266500473,
-0.006658482830971479,
0.007324330974370241,
-0.05260201543569565,
0.030832475051283836,
-0.019882969558238983,
-0.016858909279108047,
-0.008762378245592117,
0.004869015421718359,
-0.0729103833436966,
0.07746034860610962,
0.0558202788233757,
-0.019050659611821175,
-0.006172968540340662,
0.018995171412825584,
0.0060203783214092255,
0.03238612040877342,
-0.07709043473005295,
-0.029019886627793312,
-0.03787937015295029,
0.0358448326587677,
-0.017857680097222328,
-0.03353285789489746,
-0.01634102687239647,
-0.042540308088064194,
-0.008628283627331257,
0.024839838966727257,
-0.02417399175465107,
-0.06588198989629745,
-0.023508142679929733,
0.051788199692964554,
0.03247860074043274,
0.030869465321302414,
0.01130092516541481,
-0.02554268017411232,
-0.004147680010646582,
0.02180653065443039,
0.007721990346908569,
0.01608208566904068,
0.06943317502737045,
-0.01745077408850193,
-0.05619019642472267,
0.03373631089925766,
-0.006270071491599083,
0.00020706609939225018,
0.026079056784510612,
0.015443980693817139,
-0.02191750518977642,
0.030388575047254562,
0.02848351001739502,
0.04150454327464104,
0.023933546617627144,
-0.02171405218541622,
0.020733775570988655,
0.03577084839344025,
-0.021640069782733917,
0.02848351001739502,
0.010968000628054142,
-0.014593174681067467,
0.0024391317274421453,
-0.02668941766023636,
-0.020733775570988655,
0.0035881823860108852,
0.0454256497323513,
-0.06517914682626724,
0.06096210703253746,
0.015259022824466228,
0.015490219928324223,
0.007735862396657467,
-0.04194844141602516,
0.02260185033082962,
0.03673262894153595,
0.047275226563215256,
0.011698584072291851,
-0.017062362283468246,
-0.003634421853348613,
0.001546710031107068,
-0.00043493995326571167,
0.004168487619608641,
-0.0844147652387619,
-0.007842212915420532,
0.04620247334241867,
-0.022250430658459663,
0.023619117215275764,
0.011467386968433857,
0.05093739181756973,
0.02443293295800686,
-0.05670807883143425,
-0.020382355898618698,
0.03758343681693077,
-0.02323070727288723,
0.009922988712787628,
0.09802766144275665,
-0.016230052337050438,
0.0299631729722023,
0.00041644417797215283,
-0.08138145506381989,
0.04986463859677315,
0.03769440948963165,
0.006344054359942675,
-0.011865046806633472,
-0.0485699325799942,
-0.033606842160224915,
0.03342188522219658,
-0.0037430846132338047,
-0.02260185033082962,
0.004975366406142712,
0.025413209572434425,
0.03301497548818588
] |
52,180 |
pebble.pool.thread
|
submit
|
This function is provided for compatibility with
`asyncio.loop.run_in_executor`.
For scheduling jobs within the pool use `schedule` instead.
|
def submit(self, function: Callable, *args, **kwargs) -> Future:
"""This function is provided for compatibility with
`asyncio.loop.run_in_executor`.
For scheduling jobs within the pool use `schedule` instead.
"""
return self.schedule(function, args=args, kwargs=kwargs)
|
(self, function: Callable, *args, **kwargs) -> concurrent.futures._base.Future
|
[
0.06279090791940689,
-0.024822251871228218,
-0.0910680741071701,
0.03082849271595478,
-0.024804534390568733,
0.007228750269860029,
-0.04546316713094711,
-0.0216862503439188,
0.008677157573401928,
-0.06732659041881561,
-0.0158394668251276,
0.00453568622469902,
-0.0020375153981149197,
-0.050707556307315826,
0.03524015471339226,
0.011675848625600338,
0.04567577689886093,
-0.04464816302061081,
-0.02165081538259983,
-0.03502754494547844,
0.009239689446985722,
-0.00399530166760087,
0.0367107093334198,
-0.03628548979759216,
0.05843239650130272,
0.041529878973960876,
0.05130995064973831,
-0.031608063727617264,
-0.018045298755168915,
0.01948927715420723,
0.06080654636025429,
0.020286565646529198,
-0.033805038779973984,
0.04106922075152397,
0.030119791626930237,
0.03251165896654129,
-0.05371953547000885,
0.01846166141331196,
-0.05499519780278206,
-0.05481802299618721,
0.0009085768251679838,
-0.012251668609678745,
-0.010993723757565022,
-0.03667527437210083,
-0.00892077386379242,
-0.027267269790172577,
-0.02841890975832939,
-0.0005326331011019647,
0.010320458561182022,
0.0075166597962379456,
-0.015768596902489662,
-0.020197978243231773,
0.00010360599117120728,
0.018107309937477112,
-0.013970267958939075,
0.05797174200415611,
0.04213227331638336,
0.027639338746666908,
0.026381393894553185,
-0.00784443411976099,
0.019064055755734444,
0.007206602953374386,
-0.020534610375761986,
0.014510652981698513,
-0.005585449747741222,
0.0263636764138937,
0.009310559369623661,
0.023865506052970886,
-0.0017130632186308503,
-0.013332437723875046,
0.02632824145257473,
0.004402804654091597,
0.04315989091992378,
-0.025920739397406578,
0.04106922075152397,
0.0006444749305956066,
0.014563805423676968,
-0.022111469879746437,
-0.0256018228828907,
0.0017141705611720681,
-0.03295459598302841,
-0.019329819828271866,
0.023209957405924797,
-0.012933792546391487,
0.02446790225803852,
-0.026062479242682457,
-0.0032489511650055647,
-0.031909260898828506,
-0.15066982805728912,
-0.009186536073684692,
0.03474406525492668,
-0.013775375671684742,
-0.0048324549570679665,
-0.00009190965647576377,
-0.003319821087643504,
-0.056696079671382904,
0.03646266460418701,
-0.026771180331707,
-0.016441863030195236,
-0.030332401394844055,
-0.002080701757222414,
0.0530817024409771,
0.020924396812915802,
-0.08858762681484222,
0.012180797755718231,
-0.030155226588249207,
-0.025212038308382034,
0.02099526673555374,
-0.06031045317649841,
0.00807919166982174,
0.017637796700000763,
0.059920668601989746,
-0.013509612530469894,
0.01561799831688404,
-0.029552830383181572,
0.01733659766614437,
-0.06739746034145355,
0.019861344248056412,
0.025973891839385033,
-0.028294887393712997,
-0.055526722222566605,
0.04468359798192978,
0.008322807028889656,
-0.02694835513830185,
-0.013925974257290363,
0.10481687635183334,
-0.014740980230271816,
0.045356862246990204,
-0.06314525753259659,
-0.056731514632701874,
0.014200596138834953,
0.05708586424589157,
0.05290452763438225,
0.07838232815265656,
0.009239689446985722,
-0.0041813356801867485,
0.016991106793284416,
-0.0010868593817576766,
-0.025584105402231216,
0.033362098038196564,
0.05570389702916145,
-0.002529176650568843,
0.07278358936309814,
-0.05258561298251152,
0.07257097959518433,
-0.01634441688656807,
-0.054428234696388245,
-0.04117552563548088,
-0.011596119962632656,
-0.04882949963212013,
0.04468359798192978,
0.027302704751491547,
0.03539961576461792,
-0.011303780600428581,
0.0008581926231272519,
0.010940571315586567,
0.09099720418453217,
-0.00669279508292675,
0.06562571227550507,
-0.014271466061472893,
-0.013545047491788864,
0.06576745212078094,
-0.013890539295971394,
-0.011950470507144928,
-0.004008589778095484,
0.018497096374630928,
0.05690868943929672,
0.019064055755734444,
-0.013447601348161697,
0.031289149075746536,
0.030474143102765083,
-0.0016532664885744452,
-0.007804569788277149,
0.07087010145187378,
-0.08561108261346817,
0.0363563597202301,
0.02216462418437004,
0.06980704516172409,
-0.004566691815853119,
-0.004801449365913868,
-0.0386950746178627,
-0.046384479850530624,
-0.002650984562933445,
-0.027763361111283302,
0.007237609010189772,
0.020020803436636925,
0.002017583232372999,
0.04450642317533493,
-0.025141168385744095,
-0.040431391447782516,
-0.027196399867534637,
-0.024414749816060066,
0.05843239650130272,
-0.012313679791986942,
-0.019205797463655472,
-0.11112431436777115,
-0.017575783655047417,
0.03887224942445755,
-0.0011538538383319974,
0.022394951432943344,
0.056731514632701874,
-0.03819898143410683,
0.08107539266347885,
-0.011365791782736778,
0.004983054008334875,
0.003308747662231326,
-0.05159343034029007,
-0.02588530443608761,
-0.017859265208244324,
-0.02735585719347,
-0.029978051781654358,
-0.008039326407015324,
-0.05255017802119255,
0.08327236771583557,
-0.003158148843795061,
0.007875439710915089,
0.021491358056664467,
0.00014450856542680413,
0.08135887235403061,
0.009629474952816963,
0.04939645901322365,
0.03908485919237137,
0.012021340429782867,
-0.031395453959703445,
0.021562227979302406,
0.013208414427936077,
0.022076034918427467,
0.01747833751142025,
0.050884731113910675,
-0.0730670690536499,
-0.03272426873445511,
-0.02333397977054119,
-0.004314217250794172,
-0.018443943932652473,
-0.017451761290431023,
-0.012827487662434578,
0.004440454766154289,
0.014439783059060574,
-0.0538967102766037,
0.01656588539481163,
0.04673882946372032,
-0.023741483688354492,
0.03189154341816902,
-0.012428843416273594,
-0.038234416395425797,
0.0019356395350769162,
-0.00035102845868095756,
0.06846051663160324,
0.005598737858235836,
-0.0460655651986599,
-0.03766745701432228,
-0.0054215625859797,
-0.030261531472206116,
-0.02103070169687271,
-0.04829797148704529,
-0.016300123184919357,
-0.022022882476449013,
-0.013297001831233501,
0.06268460303544998,
0.06087741628289223,
0.006258715409785509,
-0.024963991716504097,
-0.017496054992079735,
-0.008433541283011436,
-0.0033397534862160683,
-0.03477950021624565,
-0.10906907916069031,
0.019719604402780533,
0.04440011829137802,
0.042557492852211,
0.04882949963212013,
-0.000423282734118402,
0.03536418080329895,
-0.03763202205300331,
-0.060062408447265625,
-0.04549860209226608,
-0.04223857820034027,
0.04014791175723076,
0.01697338931262493,
-0.056766949594020844,
0.010657090693712234,
-0.010577362030744553,
-0.05276278778910637,
-0.04089204594492912,
0.003791550174355507,
-0.004101607017219067,
0.020233413204550743,
0.08766631036996841,
0.04039595648646355,
0.017938993871212006,
-0.04351424053311348,
0.015733161941170692,
0.02409583330154419,
-0.022324081510305405,
-0.009842084720730782,
0.02274930104613304,
0.015015602111816406,
-0.01718599908053875,
0.059885233640670776,
-0.01773524284362793,
0.03465547785162926,
-0.014360053464770317,
0.008291801437735558,
-0.025442365556955338,
0.02958826534450054,
-0.020835809409618378,
0.006422602571547031,
-0.007804569788277149,
-0.1058090552687645,
0.0008216502028517425,
0.00896063819527626,
0.0045157540589571,
0.0001142641922342591,
-0.025034861639142036,
0.033698730170726776,
0.06998421996831894,
0.008309518918395042,
-0.04191966354846954,
0.027639338746666908,
-0.05485345795750618,
-0.010338176041841507,
-0.012047916650772095,
0.05145169049501419,
-0.008150061592459679,
-0.04719948396086693,
-0.007330625783652067,
-0.008008320815861225,
-0.006528907921165228,
0.008898627012968063,
0.05400301516056061,
0.012552865780889988,
0.02932250313460827,
0.054286494851112366,
-0.01948927715420723,
-0.06084198132157326,
-0.0024538771249353886,
-0.009505451656877995,
0.008544276468455791,
0.004331934731453657,
-0.02574356272816658,
-0.0175935011357069,
0.02921619825065136,
0.027001507580280304,
0.04039595648646355,
-0.053152572363615036,
0.032051000744104385,
-0.006369450129568577,
0.01226938609033823,
0.023245392367243767,
-0.08199670165777206,
0.07218119502067566,
-0.01349189504981041,
0.00008491954213241115,
0.05478258803486824,
0.014856144785881042,
0.04670339450240135,
0.052054088562726974,
-0.029464242979884148,
-0.033734165132045746,
-0.047482967376708984,
-0.00030230527045205235,
-0.06771638244390488,
0.04946732893586159,
-0.007512230426073074,
0.013119827024638653,
0.031643498688936234,
0.024184420704841614,
0.04117552563548088,
0.0000627380286459811,
0.019772756844758987,
0.051983218640089035,
0.023971810936927795,
-0.020304283127188683,
0.004730578977614641,
-0.02329854480922222,
0.02457420714199543,
-0.049644503742456436,
-0.020570045337080956,
-0.06197590008378029,
0.008052614517509937,
0.013881680555641651,
-0.05045951157808304,
-0.015529409982264042,
-0.07824058830738068,
-0.0006588704418390989,
0.004433810710906982,
0.037171367555856705,
-0.012083351612091064,
0.029552830383181572,
0.014244889840483665,
-0.04191966354846954,
-0.016477297991514206,
0.01598120667040348,
0.02131418138742447,
-0.022678431123495102,
-0.030296966433525085,
0.005346263293176889,
0.005448138806968927,
0.05347149074077606,
-0.01369564700871706,
-0.01199476420879364,
-0.018018722534179688,
0.012960369698703289,
0.017611218616366386,
0.036072880029678345,
0.010692526586353779,
0.004243347328156233,
-0.03477950021624565,
0.02670031040906906,
0.03851789981126785,
-0.007671688217669725,
-0.05921196565032005,
-0.05031777173280716,
-0.0460655651986599,
-0.03352155536413193,
0.051983218640089035,
-0.021331898868083954,
-0.046171870082616806,
-0.02735585719347,
-0.06477527320384979,
0.004814737476408482,
0.0060461051762104034,
-0.028915001079440117,
0.07016139477491379,
0.02588530443608761,
0.0008753564325161278,
0.07994147390127182,
0.01637985184788704,
-0.04911297932267189,
0.008451259694993496,
-0.01711512915790081,
-0.0026310523971915245,
-0.031129691749811172,
0.06590919196605682,
0.018107309937477112,
0.011472097598016262,
0.002017583232372999,
0.04432924836874008,
0.0263636764138937,
0.01948927715420723,
-0.03353927284479141,
-0.00948773417621851,
-0.020942114293575287,
-0.022058317437767982,
0.07048030942678452,
-0.011091170832514763,
-0.0017219219589605927,
0.010010401718318462,
-0.008557564578950405,
-0.01056850329041481,
0.013261566869914532,
0.024113550782203674,
0.012366832233965397,
0.05375497043132782,
0.0012036843691021204,
-0.016335558146238327,
-0.031253714114427567,
-0.0784531980752945,
-0.019684169441461563,
-0.024308443069458008,
-0.00787986908107996,
-0.00618784548714757,
0.03082849271595478,
0.009124524891376495,
-0.04369141533970833,
-0.0021670747082680464,
0.040537696331739426,
0.014732121489942074,
0.021296463906764984,
-0.03587798774242401,
0.06364134699106216,
-0.007840004749596119,
-0.008167779073119164,
-0.040714871138334274,
0.012792052701115608,
0.022217776626348495,
-0.059105660766363144,
-0.003718465566635132,
0.0059442296624183655,
-0.03628548979759216,
-0.011915035545825958,
0.010665949434041977,
0.027001507580280304,
0.06987791508436203,
-0.022518973797559738,
0.012721182778477669,
0.0860363021492958,
-0.004828025586903095,
0.05031777173280716,
-0.010683666914701462,
-0.04603013023734093,
0.018780576065182686,
0.11381737887859344,
0.011711283586919308,
-0.03873050957918167,
-0.019719604402780533,
-0.03536418080329895,
0.03550592064857483,
-0.05116821080446243,
-0.0016311196377500892,
0.028401192277669907,
0.03477950021624565,
-0.05258561298251152,
0.06551940739154816,
0.012508572079241276,
-0.04248662292957306,
-0.02113700658082962,
-0.01886916346848011,
-0.013226131908595562,
0.009629474952816963,
-0.050884731113910675,
-0.012694606557488441,
-0.04241575300693512,
-0.0351870022714138,
0.027338139712810516,
0.02303278259932995,
-0.013465318828821182,
-0.07182684540748596,
-0.05400301516056061,
-0.011897318065166473,
0.0017961140256375074,
0.026097914204001427,
0.00653776666149497,
0.038411594927310944,
-0.004562262445688248,
0.015786314383149147,
0.02958826534450054,
-0.012145362794399261,
-0.0367107093334198,
0.059991538524627686,
-0.04039595648646355,
-0.0003202996158506721,
-0.014829568564891815,
-0.007250897120684385,
0.03251165896654129,
0.0316789336502552,
-0.029304785653948784,
0.028950436040759087,
0.016335558146238327,
-0.02289104275405407,
-0.07292532920837402,
0.02980087697505951,
0.022908760234713554,
0.023174522444605827,
-0.04599469527602196,
-0.013855104334652424,
0.02351115457713604,
0.0028901712503284216,
0.003762759268283844,
-0.03745484724640846,
0.007104727439582348,
0.0659446269273758,
0.09361939877271652,
0.02292647771537304,
-0.015059895813465118,
-0.039332903921604156,
0.0690983459353447,
-0.0025601822417229414,
-0.034389715641736984,
0.014873862266540527,
-0.013465318828821182,
-0.00031836176640354097,
0.0008714807336218655,
-0.020747222006320953,
-0.042557492852211,
0.018656553700566292,
0.014927014708518982,
0.05800717696547508,
-0.012154221534729004,
-0.05758195370435715,
0.02797597087919712,
-0.010967147536575794,
0.03649809956550598,
-0.05361323058605194,
-0.003381832502782345,
-0.02189886011183262,
0.02289104275405407,
-0.09347765892744064,
-0.019028620794415474,
-0.0349566750228405,
-0.05464084446430206,
-0.027887383475899696,
-0.031147409230470657,
-0.015662292018532753,
-0.1034703403711319,
0.04461272805929184,
0.005736048799008131,
-0.006059393286705017,
-0.008331665769219398,
-0.022731583565473557,
0.007627394516021013,
0.032600246369838715,
0.03741941228508949,
0.020286565646529198,
-0.005581020377576351,
-0.01091399509459734,
-0.061160895973443985,
0.014838427305221558,
0.02048145793378353,
-0.028985871002078056,
0.00864615198224783,
0.006280862260609865,
-0.01252628955990076,
0.03890768438577652,
0.03819898143410683,
0.006440320052206516,
-0.03515156731009483,
-0.0727127194404602,
0.07816971838474274,
-0.022607561200857162,
-0.022217776626348495,
0.021633097901940346,
0.009576322510838509,
-0.02103070169687271,
0.03660440444946289,
0.000713684014044702,
-0.0734214186668396,
0.02625737152993679,
0.03524015471339226,
-0.02423757314682007,
0.010834266431629658,
0.013571623712778091,
-0.012632595375180244,
0.007410354912281036,
0.04128183424472809,
0.0045157540589571,
-0.0017241366440430284,
-0.07909102737903595,
-0.00742364302277565,
-0.01934753730893135,
-0.02753303386271,
0.04213227331638336,
0.014776415191590786,
0.014218313619494438,
0.05807804688811302,
-0.04436468333005905,
-0.002932250266894698,
0.06268460303544998,
-0.014236031100153923,
-0.0711890161037445,
0.02113700658082962,
0.005483573768287897,
-0.02584986761212349,
-0.026576286181807518,
0.0609128512442112,
-0.014767556451261044,
-0.010063554160296917,
-0.05573933199048042,
0.027781078591942787,
-0.041707053780555725,
0.0013653567293658853,
0.054569974541664124,
0.03426569327712059,
0.02918076328933239,
0.02055232785642147,
0.002540250075981021,
-0.05265648290514946,
-0.054251059889793396,
-0.005222240462899208,
-0.005908794701099396,
0.023564307019114494,
0.0024317302741110325,
-0.017434043809771538,
0.00645360816270113,
-0.06275547295808792,
0.002340927952900529,
-0.03462004289031029,
-0.024822251871228218,
-0.06601549685001373,
0.04096291586756706,
0.04599469527602196,
-0.020871244370937347,
0.013571623712778091,
0.014174019917845726,
0.031200561672449112,
0.05591650679707527,
-0.04142357409000397,
-0.02618650160729885,
-0.015848325565457344,
0.015883760526776314,
0.001687594223767519,
-0.010559644550085068,
-0.048652321100234985,
-0.013048957102000713,
0.014625816605985165,
0.0009667124249972403,
0.0068212468177080154,
-0.05853870138525963,
0.001360927359201014,
0.015644574537873268,
0.036072880029678345,
-0.0032002278603613377,
-0.0340176485478878,
-0.04085661098361015,
-0.0004188533639535308,
0.0633578673005104,
-0.0037826914340257645,
0.002456091810017824,
0.0285252146422863,
0.03169665113091469,
-0.0019478204194456339,
0.02925163321197033,
-0.011693566106259823,
0.0071800267323851585,
0.06959443539381027,
0.0512036457657814,
-0.030846210196614265,
0.03678158298134804,
0.05035320669412613,
-0.010143282823264599,
0.006316297687590122,
-0.058893050998449326,
0.007069292478263378,
0.020977549254894257,
-0.00864615198224783,
0.05173517018556595,
0.0010198650415986776,
-0.010736820288002491,
0.000006073096756153973,
0.0018016507383435965,
-0.03042099066078663,
-0.018443943932652473,
0.07441360503435135,
-0.04319532588124275,
0.03247622400522232,
-0.015148483216762543,
-0.007946309633553028,
0.014174019917845726,
-0.0007917518960312009,
0.034832652658224106,
0.01678735390305519,
0.05829065665602684,
0.006351732648909092,
0.002932250266894698,
-0.04039595648646355,
-0.008592999540269375,
0.021952012553811073,
-0.014785273931920528,
-0.08093365281820297,
-0.036994192749261856,
0.0155205512419343,
-0.0730670690536499,
0.01307553332298994,
-0.019294384866952896,
0.06275547295808792,
0.034938957542181015,
-0.041033785790205,
-0.04386859014630318,
0.050884731113910675,
-0.03323807567358017,
-0.0033774031326174736,
0.05609368160367012,
-0.034212540835142136,
0.02646998129785061,
0.023015065118670464,
-0.05113277584314346,
0.031253714114427567,
0.0613735057413578,
-0.030226096510887146,
0.010178717784583569,
-0.02446790225803852,
-0.013199555687606335,
0.003065131837502122,
-0.012021340429782867,
-0.059920668601989746,
-0.011737859807908535,
0.020286565646529198,
0.0263636764138937
] |
52,185 |
pebble.decorators
|
sighandler
|
Sets the decorated function as signal handler of given *signals*.
*signals* can be either a single signal or a list/tuple
of multiple ones.
|
def sighandler(signals: list) -> Callable:
"""Sets the decorated function as signal handler of given *signals*.
*signals* can be either a single signal or a list/tuple
of multiple ones.
"""
def wrap(function):
set_signal_handlers(signals, function)
@wraps(function)
def wrapper(*args, **kwargs):
return function(*args, **kwargs)
return wrapper
return wrap
|
(signals: list) -> Callable
|
[
-0.04360635578632355,
-0.04058060795068741,
0.041292548179626465,
0.02895817905664444,
-0.011506738141179085,
0.04360635578632355,
-0.05097493901848793,
0.05513979122042656,
0.01447908952832222,
0.019168997183442116,
-0.01326879020780325,
0.059625014662742615,
-0.003708764910697937,
-0.04346396401524544,
-0.019133400171995163,
0.005877958610653877,
-0.004447403363883495,
-0.005028079729527235,
0.07553688436746597,
-0.03203732147812843,
-0.0029345296788960695,
0.007034861948341131,
0.028531014919281006,
0.014301104471087456,
0.012530152685940266,
0.0581655353307724,
-0.00894820224493742,
0.04018903896212578,
0.10515360534191132,
-0.0008376424666494131,
0.02922515571117401,
-0.014879555441439152,
-0.02667996846139431,
-0.04791359230875969,
0.04581337049603462,
-0.014025227166712284,
-0.02324485592544079,
0.05542456731200218,
0.0026497533544898033,
0.04485224932432175,
0.02983030490577221,
-0.030150679871439934,
0.04641851782798767,
-0.010323137044906616,
0.03947709873318672,
0.08514808118343353,
0.0028967077378183603,
0.038266800343990326,
0.10757420212030411,
-0.03440452367067337,
0.00906389206647873,
-0.020076721906661987,
0.016855191439390182,
-0.03198392689228058,
0.02491791732609272,
0.07108725607395172,
0.04997822269797325,
0.034333329647779465,
0.035846203565597534,
-0.026893550530076027,
0.028655603528022766,
0.051046133041381836,
0.014443492516875267,
0.0030591192189604044,
0.04830516129732132,
0.008307455107569695,
0.0008932627970352769,
0.007893639616668224,
-0.0259146336466074,
-0.03684291988611221,
-0.021073438227176666,
-0.032179709523916245,
0.002496241359040141,
-0.02251511812210083,
0.03314083069562912,
-0.012814928777515888,
-0.03419094160199165,
-0.026484185829758644,
-0.03759045526385307,
0.047877997159957886,
0.014247708953917027,
-0.07781509310007095,
-0.03314083069562912,
0.053680311888456345,
-0.007760151289403439,
-0.022194745019078255,
0.015021944418549538,
0.009664592333137989,
-0.043179187923669815,
0.045101430267095566,
-0.06510695815086365,
-0.03643355518579483,
0.009326419793069363,
0.01714886538684368,
-0.03305183723568916,
0.00929082278162241,
-0.0155025040730834,
-0.044709861278533936,
0.05364471301436424,
0.005197165533900261,
0.0008593344246037304,
0.034333329647779465,
0.015004145912826061,
-0.029296349734067917,
0.04866113141179085,
-0.053075160831213,
0.0003481833846308291,
-0.0404382199048996,
-0.017923101782798767,
-0.016214443370699883,
0.035721614956855774,
-0.06596128642559052,
0.02466873824596405,
0.007720104418694973,
-0.027925865724682808,
0.011684723198413849,
-0.0002646138018462807,
0.0015840675914660096,
0.027267320081591606,
-0.03540123999118805,
-0.012868324294686317,
0.01459477934986353,
0.009433210827410221,
0.04908829554915428,
0.041043367236852646,
0.06457299739122391,
0.0024050239007920027,
0.04001105576753616,
0.03210851550102234,
0.02062847465276718,
-0.031663551926612854,
0.050903744995594025,
0.04360635578632355,
0.015493604354560375,
-0.03461810573935509,
0.02376101352274418,
-0.018884221091866493,
0.02490011788904667,
0.002106898929923773,
-0.014550283551216125,
-0.05449904501438141,
0.0505833700299263,
0.0051215216517448425,
-0.010883789509534836,
-0.0009650130523368716,
0.01920459419488907,
0.016436925157904625,
0.0202191099524498,
-0.003570826491340995,
-0.015199929475784302,
0.03419094160199165,
0.01908000558614731,
0.013259891420602798,
0.010038360953330994,
-0.0759640485048294,
0.02555866353213787,
-0.008214013651013374,
0.0683462843298912,
0.014470189809799194,
0.039405904710292816,
0.00414260383695364,
0.024597544223070145,
0.017184462398290634,
-0.05613650754094124,
-0.030008291825652122,
0.0058868578635156155,
0.03335441276431084,
0.022461721673607826,
0.028637805953621864,
0.01663270965218544,
-0.041399337351322174,
0.012467857450246811,
-0.023814408108592033,
0.07258233428001404,
-0.0028944830410182476,
0.02148280292749405,
0.0030880419071763754,
-0.016214443370699883,
-0.007791298441588879,
-0.01845705695450306,
0.04883911460638046,
-0.03844478726387024,
-0.04022463783621788,
0.005388499237596989,
0.0335145965218544,
-0.006821279879659414,
-0.0240457896143198,
-0.0067589846439659595,
-0.003297174349427223,
-0.03769724816083908,
0.024989111348986626,
-0.009878174401819706,
0.04325038194656372,
-0.04157732427120209,
-0.003644245211035013,
0.00007397506124107167,
-0.030008291825652122,
-0.05880628153681755,
-0.02187437191605568,
-0.046347323805093765,
0.015983063727617264,
0.0018699561478570104,
0.04919508844614029,
-0.005993648897856474,
0.050013817846775055,
-0.004262743517756462,
0.04036702588200569,
-0.015751682221889496,
-0.06934300065040588,
-0.01271703653037548,
0.06628166139125824,
-0.049408670514822006,
-0.053039565682411194,
0.011586830951273441,
0.0027765678241848946,
0.012814928777515888,
0.007702305912971497,
0.011764816008508205,
0.005984749644994736,
-0.0240457896143198,
-0.013589163310825825,
0.05845031142234802,
-0.03751926124095917,
-0.016641609370708466,
0.015796178951859474,
0.031182993203401566,
0.021465005353093147,
-0.04891030862927437,
0.012797130271792412,
-0.023458437994122505,
0.03566821664571762,
0.056706059724092484,
-0.008685673587024212,
-0.03301623836159706,
-0.010260841809213161,
-0.106150321662426,
0.04969344660639763,
-0.017264556139707565,
0.01744254119694233,
-0.0018699561478570104,
0.04762881621718407,
-0.009273024275898933,
0.06692240387201309,
-0.002099111909046769,
0.037768442183732986,
0.03520545735955238,
0.023832207545638084,
0.0001735354890115559,
-0.04093657806515694,
0.022728700190782547,
-0.002224813913926482,
-0.0006062618340365589,
0.01511093694716692,
-0.003194832941517234,
-0.006354068871587515,
0.06521374732255936,
-0.0017398045165464282,
-0.00040269133751280606,
-0.02870899997651577,
-0.01000276394188404,
-0.020041124895215034,
0.009895972907543182,
0.020913250744342804,
-0.03744806721806526,
0.019916534423828125,
-0.01069690566509962,
-0.007648910395801067,
-0.011124069802463055,
0.013998529873788357,
0.0023716515861451626,
0.02694694697856903,
-0.00016213332128245384,
-0.016748400405049324,
-0.020076721906661987,
-0.03086262010037899,
0.035472434014081955,
-0.022817691788077354,
-0.02059287764132023,
0.01252125296741724,
-0.029670119285583496,
0.008071624673902988,
0.05207844451069832,
0.028726797550916672,
-0.005691074300557375,
0.02856661193072796,
0.0582011342048645,
0.009780282154679298,
-0.011969499289989471,
0.03744806721806526,
-0.04727284610271454,
0.04638292267918587,
-0.0015662690857425332,
0.05602971464395523,
-0.02162519097328186,
-0.0005136539111845195,
-0.004930187948048115,
-0.03557922691106796,
-0.04278762266039848,
0.09198270738124847,
-0.05403628200292587,
0.008476541377604008,
-0.08030688762664795,
0.054712627083063126,
0.036985307931900024,
0.017611626535654068,
-0.088565394282341,
0.03543683886528015,
-0.020201310515403748,
-0.0367005318403244,
-0.0032215307001024485,
-0.017353549599647522,
0.04349956288933754,
-0.09461688995361328,
-0.058628298342227936,
0.042182471603155136,
0.06781233102083206,
-0.02895817905664444,
0.013233193196356297,
-0.0046721091493964195,
0.07236874848604202,
0.023049073293805122,
-0.05172247439622879,
-0.0129573168233037,
0.02579004317522049,
0.0297413133084774,
0.02771228365600109,
-0.009139535948634148,
-0.05777397006750107,
-0.05574493855237961,
-0.0016719476552680135,
-0.012832727283239365,
-0.06478658318519592,
-0.007252893410623074,
-0.04841195046901703,
-0.041043367236852646,
0.06083531305193901,
0.03890754655003548,
0.006429712288081646,
-0.01714886538684368,
-0.001523997518233955,
0.017300153151154518,
0.02037929557263851,
0.006118238437920809,
0.01638353057205677,
-0.05044098198413849,
-0.002204790711402893,
0.010189647786319256,
0.00029089441522955894,
0.022087953984737396,
0.014888455159962177,
0.05346672981977463,
-0.01094608474522829,
-0.024081386625766754,
-0.026359595358371735,
0.044069115072488785,
-0.04727284610271454,
-0.007813546806573868,
0.028513215482234955,
-0.003417314263060689,
-0.07005494087934494,
-0.008027128875255585,
-0.00906389206647873,
0.014915152452886105,
0.00613158755004406,
0.04955105856060982,
0.044709861278533936,
0.020681871101260185,
0.013242092914879322,
0.006265076342970133,
0.011969499289989471,
0.041399337351322174,
-0.0017531533958390355,
-0.021518399938941002,
0.05478382110595703,
0.05998098477721214,
-0.001127980649471283,
0.03890754655003548,
0.03883635252714157,
-0.04399792104959488,
0.026768961921334267,
-0.034974075853824615,
-0.05631449073553085,
0.07902539521455765,
-0.03449351713061333,
0.03411974757909775,
0.03184153884649277,
0.001933363382704556,
0.02518489398062229,
-0.03645135089755058,
-0.014398995786905289,
-0.02984810434281826,
-0.04068739712238312,
-0.03187713399529457,
0.004222697112709284,
-0.011408845894038677,
-0.026003625243902206,
-0.0060203466564416885,
0.04225366562604904,
0.042574040591716766,
0.007106055971235037,
-0.013517969287931919,
-0.0367005318403244,
0.0032304299529641867,
-0.0008354176534339786,
0.037875231355428696,
0.022586312144994736,
-0.04616934061050415,
-0.015689387917518616,
0.041399337351322174,
-0.05086814612150192,
0.006718938238918781,
-0.017371347174048424,
-0.00823181215673685,
-0.04182650148868561,
0.032179709523916245,
-0.009522203356027603,
0.004845644813030958,
0.019560564309358597,
-0.027641089633107185,
-0.04531501233577728,
0.0148706566542387,
-0.0029300800524652004,
0.012610245496034622,
0.006763434503227472,
0.022426124662160873,
0.004930187948048115,
-0.013491271995007992,
0.001528447144664824,
-0.03625556826591492,
0.03944150358438492,
0.0360775850713253,
-0.011533435434103012,
-0.018813027068972588,
0.012165282852947712,
-0.028513215482234955,
-0.010572316125035286,
0.006029245909303427,
-0.013998529873788357,
-0.008850309997797012,
0.007203947752714157,
-0.038765158504247665,
-0.0015050866641104221,
-0.051544491201639175,
-0.051152922213077545,
0.031823739409446716,
-0.018074389547109604,
0.038622770458459854,
0.010732502676546574,
0.04663209989666939,
-0.04834075644612312,
-0.009655692614614964,
-0.02870899997651577,
0.0031814840622246265,
0.025380678474903107,
0.057595983147621155,
-0.009798080660402775,
-0.010127353481948376,
-0.0846497192978859,
-0.022693103179335594,
0.026395192369818687,
0.003297174349427223,
-0.048376355320215225,
-0.025736648589372635,
-0.041790906339883804,
-0.05880628153681755,
0.01711326837539673,
-0.00831635482609272,
-0.003704315284267068,
0.011177465319633484,
0.0189554151147604,
0.04022463783621788,
-0.04239605367183685,
-0.011898305267095566,
-0.009735786356031895,
0.02401019260287285,
-0.015164332464337349,
-0.011017278768122196,
-0.05069016292691231,
-0.05275478959083557,
0.002963452134281397,
-0.0000474163462058641,
0.020770862698554993,
-0.02187437191605568,
0.05250560864806175,
-0.013037409633398056,
-0.024828923866152763,
0.03322982043027878,
-0.0999564453959465,
0.030435455963015556,
0.010332035832107067,
0.018012093380093575,
0.012636943720281124,
0.055068597197532654,
-0.022550715133547783,
0.06663762778043747,
0.03109399974346161,
-0.0259324312210083,
0.023049073293805122,
0.018012093380093575,
-0.016926385462284088,
-0.034956276416778564,
-0.043962325900793076,
-0.05884188041090965,
-0.012396663427352905,
0.03855157643556595,
-0.002620830899104476,
-0.019827542826533318,
-0.01908000558614731,
-0.046988070011138916,
-0.04730844497680664,
0.011239760555326939,
0.02933194674551487,
-0.03890754655003548,
0.008009330369532108,
-0.05837911739945412,
-0.0556737445294857,
0.006563201081007719,
0.004881241824477911,
-0.054071877151727676,
-0.021304817870259285,
0.03969068080186844,
0.004289441276341677,
-0.02351183444261551,
-0.004527496639639139,
-0.0055842832662165165,
-0.06759874522686005,
0.06147605925798416,
-0.02438396029174328,
0.06119128316640854,
-0.0009194043814204633,
0.014941850677132607,
0.044460684061050415,
-0.08165957033634186,
0.037127695977687836,
0.018777430057525635,
0.04855433851480484,
-0.02667996846139431,
0.0016886338125914335,
0.05086814612150192,
-0.03440452367067337,
-0.07496733218431473,
0.07176359742879868,
-0.0632559135556221,
0.002034592442214489,
0.0012870548525825143,
-0.021055638790130615,
-0.05869949236512184,
-0.0354190394282341,
-0.040900979191064835,
-0.040794190019369125,
-0.056100908666849136,
-0.038622770458459854,
0.09091480076313019,
-0.03904993459582329,
0.02771228365600109,
-0.04713045805692673,
0.04097217321395874,
0.01334888394922018,
-0.014158716425299644,
0.04467426612973213,
-0.031289782375097275,
0.011773715727031231,
0.03890754655003548,
-0.015297820791602135,
-0.032713666558265686,
0.025380678474903107,
0.10180748999118805,
-0.002547411946579814,
-0.05934023857116699,
-0.024099184200167656,
-0.03072023205459118,
0.04058060795068741,
0.000978361931629479,
-0.05510419234633446,
-0.05617210268974304,
0.005659926682710648,
0.02579004317522049,
-0.04574217647314072,
-0.048518743366003036,
-0.03684291988611221,
-0.06539173424243927,
0.01569828763604164,
-0.10173629224300385,
0.0025251638144254684,
0.034991875290870667,
0.014772764407098293,
0.031040605157613754,
0.10002763569355011,
-0.12928839027881622,
0.08885017037391663,
-0.03933471068739891,
-0.0018799678655341268,
-0.06888023763895035,
0.003833354450762272,
0.029812507331371307,
-0.023049073293805122,
-0.03755486011505127,
-0.00313031324185431,
-0.008062725886702538,
0.006763434503227472,
-0.04118575528264046,
0.008641177788376808,
-0.0480203852057457,
-0.034457918256521225,
0.054427847266197205,
-0.009397613815963268,
0.023102467879652977,
-0.010385431349277496,
-0.03287385031580925,
-0.07795748114585876,
-0.04670329391956329,
0.10109554976224899,
0.02441955730319023,
0.05022739991545677,
0.014959649182856083,
0.04200448840856552,
-0.031076202169060707,
-0.0013860590988770127,
-0.00689247390255332,
-0.03290944918990135,
0.008320804685354233,
-0.0025496368762105703,
0.010154050774872303,
-0.05478382110595703,
0.04567098245024681,
-0.015511402860283852,
-0.017415843904018402,
0.032197508960962296,
-0.011871607042849064,
-0.02034369856119156,
0.0038400290068238974,
-0.015235526487231255,
0.05877068638801575,
-0.04503023624420166,
0.041790906339883804,
0.01132875308394432,
-0.025362879037857056,
0.014808361418545246,
0.0032904997933655977,
-0.03314083069562912,
0.039014339447021484,
-0.004698806907981634,
0.0055397870019078255,
-0.059375833719968796,
0.0543566532433033,
0.012895021587610245,
-0.012832727283239365,
-0.02365422248840332,
-0.029118364676833153,
-0.06977016478776932,
-0.010776998475193977,
0.0632559135556221,
-0.0669936016201973,
0.032322097569704056,
0.03467150032520294,
-0.005441894754767418,
0.041434936225414276,
-0.06549852341413498,
0.019685154780745506,
-0.03314083069562912,
-0.01872403360903263,
0.019435975700616837,
0.06432382017374039,
0.05845031142234802,
0.006242827977985144,
-0.011319853365421295,
-0.009709088131785393,
0.009548901580274105,
0.025273887440562248,
-0.02680455893278122,
0.07236874848604202,
-0.010447726584970951,
-0.028246238827705383,
0.000483340845676139,
0.05499740317463875,
-0.022105751559138298,
-0.008739069104194641,
-0.000004936306140734814,
-0.041399337351322174,
-0.017389146611094475,
-0.018510451540350914,
0.027641089633107185,
0.036486949771642685,
-0.03769724816083908,
-0.04752202704548836,
-0.02933194674551487,
0.022710900753736496,
-0.010794796980917454,
-0.03983306884765625,
0.0021402710117399693,
0.023921199142932892,
-0.02441955730319023,
0.02717832662165165,
-0.034440118819475174,
-0.052292026579380035,
0.025576461106538773,
0.0038689514622092247,
-0.029634522274136543,
0.04118575528264046,
-0.03196612745523453,
0.032286498695611954,
0.03897874057292938,
-0.01847485452890396,
0.00743532832711935,
0.03390616551041603,
-0.06507135927677155,
0.03342560678720474,
-0.04339276999235153,
0.02694694697856903,
0.020023325458168983,
0.003159235930070281,
-0.03059564158320427,
0.041790906339883804,
0.06133367121219635,
0.03301623836159706,
-0.06653083860874176,
-0.021945565938949585,
-0.012850525788962841,
0.013001812621951103,
0.04214687645435333,
-0.061262477189302444,
-0.004885691683739424,
0.011052875779569149,
-0.049123894423246384,
-0.015849575400352478,
-0.08130360394716263,
0.045599788427352905,
0.06378986686468124,
0.005637678783386946,
-0.025078102946281433,
-0.0033105232287198305,
-0.011017278768122196,
-0.004436279181391001,
0.021465005353093147,
0.02251511812210083,
-0.02125142328441143,
-0.018492653965950012,
0.0036776175256818533,
-0.011604629456996918,
-0.012895021587610245,
0.05553135648369789,
-0.03751926124095917,
0.019631758332252502,
0.004930187948048115,
0.08386658877134323,
-0.027018141001462936,
-0.05663486570119858,
0.04830516129732132,
0.0016029784455895424,
0.024864520877599716,
-0.02388560213148594,
0.0708736777305603,
-0.028388626873493195,
-0.015644891187548637,
0.036362361162900925,
-0.03241109102964401,
0.017495937645435333,
0.013233193196356297,
-0.007519871462136507,
0.026377394795417786,
-0.03239329159259796,
0.012628044001758099,
-0.014523585326969624,
-0.0493374764919281,
0.06880904734134674,
0.007199497893452644,
-0.0054374453611671925,
0.02176757901906967
] |
52,186 |
pebble.decorators
|
synchronized
|
A synchronized function prevents two or more callers to interleave
its execution preventing race conditions.
The synchronized decorator accepts as optional parameter a Lock, RLock or
Semaphore object which will be employed to ensure the function's atomicity.
If no synchronization object is given, a single threading.Lock will be used.
This implies that between different decorated function only one at a time
will be executed.
|
def synchronized(*args) -> Callable:
"""A synchronized function prevents two or more callers to interleave
its execution preventing race conditions.
The synchronized decorator accepts as optional parameter a Lock, RLock or
Semaphore object which will be employed to ensure the function's atomicity.
If no synchronization object is given, a single threading.Lock will be used.
This implies that between different decorated function only one at a time
will be executed.
"""
if callable(args[0]):
return decorate_synchronized(args[0], _synchronized_lock)
else:
def wrap(function) -> type:
return decorate_synchronized(function, args[0])
return wrap
|
(*args) -> Callable
|
[
0.00003643522359197959,
0.008982938714325428,
0.005573485046625137,
0.05670645833015442,
0.003605983220040798,
-0.00930975191295147,
-0.029695812612771988,
0.0228592399507761,
0.019220132380723953,
-0.02787625975906849,
-0.009654230438172817,
-0.01381447073072195,
0.009557070210576057,
-0.04363394156098366,
-0.041302088648080826,
-0.02056271582841873,
0.0066466680727899075,
-0.00630218954756856,
-0.015086391009390354,
-0.005140678957104683,
0.022505927830934525,
0.01391163095831871,
0.04257400706410408,
0.0027006228920072317,
-0.007777264341711998,
0.061405498534440994,
0.014432765543460846,
0.021304668858647346,
0.02238226868212223,
0.0073930383659899235,
0.06430265307426453,
0.0033498324919492006,
-0.032663628458976746,
0.00949524063616991,
0.052714042365550995,
-0.026657335460186005,
0.000538247637450695,
0.06532725691795349,
-0.10754795372486115,
-0.06398466974496841,
0.022735580801963806,
-0.06861304491758347,
0.06705848127603531,
-0.06677582859992981,
-0.005017019808292389,
0.0068674879148602486,
0.0647972896695137,
0.06405533105134964,
0.008081994950771332,
-0.04342195391654968,
0.04472920671105385,
-0.023565862327814102,
0.03780430555343628,
-0.03464217111468315,
-0.026692666113376617,
0.02983713708817959,
0.06638718396425247,
0.026321688666939735,
0.017815720289945602,
-0.014476928859949112,
0.06105218827724457,
0.02434314601123333,
0.026003709062933922,
0.0445878803730011,
-0.011915422976016998,
-0.04381059855222702,
-0.013099015690386295,
-0.0037119765765964985,
-0.02291223593056202,
0.032857947051525116,
-0.06190013512969017,
-0.011199967004358768,
-0.017965877428650856,
-0.0126927075907588,
-0.016782285645604134,
-0.026975315064191818,
-0.030190447345376015,
-0.008960857056081295,
0.03531346097588539,
0.0076006087474524975,
0.019679438322782516,
-0.04776768386363983,
-0.022488262504339218,
0.015227715484797955,
-0.030720414593815804,
-0.05034685507416725,
-0.05084149166941643,
0.030950067564845085,
-0.05059417337179184,
-0.017762724310159683,
-0.04812099412083626,
0.02950149029493332,
0.008254234679043293,
0.0038687584456056356,
0.021357666701078415,
0.015201217494904995,
0.003310085041448474,
-0.02185230143368244,
-0.03045543096959591,
0.0017223923932760954,
0.003327750600874424,
0.02056271582841873,
0.015740016475319862,
-0.07546728849411011,
0.012524884194135666,
-0.06769444048404694,
-0.009371581487357616,
0.003674437291920185,
-0.09122496843338013,
0.007379788905382156,
0.03245164081454277,
-0.05402129143476486,
-0.04607179015874863,
0.020350728183984756,
0.019025811925530434,
0.012639710679650307,
-0.058685000985860825,
-0.005516072269529104,
0.028035249561071396,
0.0027779098600149155,
0.014971565455198288,
0.007675687316805124,
-0.010740662924945354,
-0.03769831359386444,
0.0017897423822432756,
-0.008051080629229546,
-0.004007874522358179,
0.037592317909002304,
0.017630232498049736,
-0.025703394785523415,
0.013920463621616364,
0.017179761081933975,
0.01632297970354557,
0.028388559818267822,
0.055010564625263214,
-0.0062933568842709064,
0.03135637566447258,
0.018972815945744514,
-0.02100435458123684,
0.03556077927350998,
-0.02338920533657074,
-0.027929255738854408,
0.004544466268271208,
0.015634024515748024,
0.03663837909698486,
-0.005233423318713903,
-0.013664313592016697,
0.026710331439971924,
0.022735580801963806,
-0.026233362033963203,
0.04158473759889603,
0.007044143509119749,
0.062394771724939346,
0.04070145636796951,
-0.05713043361902237,
0.043068643659353256,
0.0001683748996583745,
0.0027889509219676256,
0.013416995294392109,
0.017427077516913414,
-0.00914192944765091,
0.015148220583796501,
0.058685000985860825,
0.0011151386424899101,
0.050099536776542664,
0.03031410649418831,
-0.018301524221897125,
-0.051477450877428055,
-0.00968956109136343,
0.0006690832087770104,
-0.012242235243320465,
0.038687583059072495,
0.05317334458231926,
-0.009645397774875164,
0.02232927270233631,
0.03377655893564224,
-0.0171090979129076,
0.023318544030189514,
0.01036085281521082,
-0.013284503482282162,
0.016676291823387146,
-0.013584818691015244,
-0.012710372917354107,
-0.05289069563150406,
-0.006796825677156448,
0.05437460541725159,
0.024926109239459038,
-0.04911026731133461,
0.025049768388271332,
-0.01842518337070942,
0.01932612620294094,
0.022806242108345032,
0.021834636107087135,
-0.02324788086116314,
-0.009080099873244762,
-0.018937483429908752,
-0.052431393414735794,
-0.014468096196651459,
0.05508122593164444,
0.013999959453940392,
0.034818824380636215,
0.006699664983898401,
0.04472920671105385,
0.027275629341602325,
0.07497265189886093,
-0.0037826388143002987,
0.04607179015874863,
0.02754061296582222,
-0.07080357521772385,
0.028388559818267822,
0.005984209477901459,
-0.029572153463959694,
-0.04815632477402687,
0.046460431069135666,
0.030632086098194122,
-0.024537468329072,
0.061829473823308945,
0.02648068033158779,
0.0499228835105896,
0.03716834634542465,
0.024078162387013435,
-0.00528641976416111,
-0.024696458131074905,
0.0020955775398761034,
0.025880049914121628,
-0.029289504513144493,
0.05193675681948662,
-0.006341937463730574,
0.04462321475148201,
-0.03921755030751228,
0.015828344970941544,
0.007357707247138023,
-0.00210330612026155,
0.0005503927241079509,
-0.01884915679693222,
-0.07984834909439087,
0.026957649737596512,
-0.013867467641830444,
-0.04052480310201645,
0.040595464408397675,
0.016534967347979546,
0.02759361080825329,
0.0698496401309967,
0.026374686509370804,
0.019926754757761955,
-0.025615066289901733,
0.025367749854922295,
0.034147534519433975,
0.022488262504339218,
0.01339049730449915,
-0.09779655933380127,
0.08027231693267822,
-0.032575298100709915,
-0.035348791629076004,
-0.04271533340215683,
0.004350144881755114,
0.004650459624826908,
0.004685790743678808,
-0.007794929668307304,
0.03239864483475685,
-0.0031245965510606766,
-0.04381059855222702,
-0.016393642872571945,
-0.04437589645385742,
0.011252963915467262,
-0.026710331439971924,
-0.05225473642349243,
0.003594942158088088,
0.05062950402498245,
0.04978155717253685,
0.04144341126084328,
-0.04840364307165146,
0.07299410551786423,
-0.029660480096936226,
-0.021604983136057854,
-0.04547116160392761,
0.04204403981566429,
-0.003855509217828512,
0.03861692175269127,
0.01026369258761406,
0.03974751755595207,
0.02395450323820114,
-0.04320996627211571,
-0.047944340854883194,
0.0002856852952390909,
-0.012825199402868748,
0.004195571411401033,
-0.014423932880163193,
0.0006922692409716547,
0.020774703472852707,
0.013063684105873108,
-0.008236569352447987,
0.047520365566015244,
-0.02232927270233631,
0.02353052981197834,
0.0018206571694463491,
-0.03208066150546074,
-0.06818907707929611,
0.03808695450425148,
-0.03301693871617317,
0.011155803687870502,
-0.006796825677156448,
-0.030190447345376015,
0.0014165573520585895,
0.06416132301092148,
-0.0625360980629921,
-0.0058517176657915115,
-0.019449785351753235,
-0.04349261894822121,
0.028423892334103584,
0.00015250348951667547,
0.029819471761584282,
-0.015404371544718742,
-0.050276193767786026,
0.03688569739460945,
0.058579009026288986,
-0.01960877515375614,
0.04282132536172867,
-0.0084132244810462,
0.049852218478918076,
0.008223319426178932,
0.02633935585618019,
0.0070397271774709225,
0.014017624780535698,
-0.010025206953287125,
-0.015130555257201195,
0.01610216125845909,
0.03144470229744911,
-0.026127368211746216,
0.10839589685201645,
-0.07688052952289581,
0.000634856172837317,
0.010378518141806126,
0.007688936311751604,
-0.0717928484082222,
0.04865096136927605,
0.021587317809462547,
-0.026321688666939735,
0.04176139086484909,
-0.027328627184033394,
0.052572716027498245,
-0.045789141207933426,
0.00041182845598086715,
-0.019449785351753235,
-0.0816149041056633,
0.02897152490913868,
0.07398337870836258,
0.0692843422293663,
0.07688052952289581,
-0.04783834517002106,
0.05847301334142685,
0.032769620418548584,
-0.05780172348022461,
0.019785430282354355,
0.0358964242041111,
0.02487311325967312,
0.009742558002471924,
-0.017382914200425148,
0.013726143166422844,
-0.07617390900850296,
0.03999483585357666,
-0.006991146598011255,
0.003544153645634651,
0.028264900669455528,
0.030914736911654472,
0.03833427280187607,
-0.018601838499307632,
0.0248201172798872,
-0.02075703628361225,
-0.009362748824059963,
-0.015740016475319862,
0.0232832133769989,
0.030490761622786522,
0.04437589645385742,
-0.014326771721243858,
0.013319835066795349,
0.01899048127233982,
-0.005904714576900005,
-0.03851092979311943,
-0.019449785351753235,
-0.014379768632352352,
-0.04833298176527023,
0.07596192508935928,
-0.032239653170108795,
-0.06868371367454529,
0.050134867429733276,
0.009707227349281311,
-0.019538113847374916,
-0.009512905962765217,
-0.02400750108063221,
0.004076328594237566,
-0.0499228835105896,
-0.012948857620358467,
-0.02066870965063572,
-0.0749019905924797,
0.024378476664423943,
0.04914559796452522,
0.03688569739460945,
-0.001918921829201281,
-0.06320738792419434,
0.05239606276154518,
0.013443494215607643,
0.01999741792678833,
-0.047803014516830444,
-0.004268441814929247,
0.012887028977274895,
0.014503427781164646,
-0.06076953932642937,
0.05070016533136368,
0.03593175485730171,
-0.05808437243103981,
-0.06719980388879776,
-0.013187343254685402,
-0.010555174201726913,
0.06454996764659882,
0.032186657190322876,
-0.015307210385799408,
-0.034483179450035095,
-0.031179718673229218,
-0.01702960394322872,
-0.005123013164848089,
-0.03087940439581871,
-0.0124100586399436,
0.0448705293238163,
0.01068766601383686,
-0.03444784879684448,
-0.012940024957060814,
0.004279482644051313,
-0.015801846981048584,
-0.020103411749005318,
0.022311607375741005,
-0.029625149443745613,
-0.019926754757761955,
0.021039685234427452,
-0.006421432364732027,
-0.01769206114113331,
-0.007945086807012558,
0.05363265052437782,
0.07603258639574051,
0.017409412190318108,
-0.03875824436545372,
0.029342500492930412,
-0.022894570603966713,
-0.04200870916247368,
-0.03889957070350647,
-0.045223843306303024,
0.015015728771686554,
0.027293294668197632,
0.02529708668589592,
-0.00824540201574564,
0.04444655776023865,
0.072923444211483,
-0.011853593401610851,
0.039500199258327484,
-0.042220696806907654,
-0.08062563091516495,
-0.0026343772187829018,
-0.07087424397468567,
0.017091432586312294,
-0.0076624383218586445,
0.01264854334294796,
-0.027575943619012833,
-0.009133095853030682,
-0.0030782243702560663,
-0.03303460404276848,
-0.008320480585098267,
0.035525448620319366,
-0.0038334273267537355,
-0.03819294646382332,
-0.02625102736055851,
0.058402352035045624,
-0.06755311787128448,
-0.012851697392761707,
-0.031232716515660286,
-0.0028463639318943024,
0.02490844391286373,
-0.03068508394062519,
-0.031621359288692474,
0.009857384487986565,
0.014777244068682194,
-0.030296441167593002,
0.0010919526685029268,
0.029236506670713425,
0.05999225378036499,
-0.011155803687870502,
-0.03614374250173569,
0.03073807992041111,
-0.04080745205283165,
0.04995821416378021,
0.013637814670801163,
-0.04204403981566429,
0.027558278292417526,
0.04133741930127144,
0.0010527571430429816,
0.027893925085663795,
0.038404934108257294,
-0.028141243383288383,
-0.010608171112835407,
0.0169677734375,
-0.01960877515375614,
0.026957649737596512,
-0.02209961973130703,
0.01865483447909355,
-0.005012603476643562,
0.029890133067965508,
-0.04635443910956383,
-0.03464217111468315,
-0.0364617221057415,
-0.038687583059072495,
0.02414882555603981,
0.018124867230653763,
0.02420182153582573,
-0.02148132584989071,
0.03836960345506668,
-0.006540674716234207,
-0.018354520201683044,
-0.065645232796669,
-0.04607179015874863,
-0.04511784762144089,
-0.04391659051179886,
0.03451851010322571,
0.012047913856804371,
0.021940629929304123,
0.029342500492930412,
0.012047913856804371,
-0.049852218478918076,
0.059108976274728775,
-0.034677501767873764,
0.0022346938494592905,
-0.0019730227068066597,
-0.00011565423483261839,
-0.008589880540966988,
-0.06762377917766571,
-0.02215261571109295,
-0.018248526379466057,
0.0021574068814516068,
-0.07864709198474884,
-0.004893361125141382,
0.022170282900333405,
0.0035132388584315777,
-0.017215091735124588,
0.012463054619729519,
0.020174073055386543,
0.02257658913731575,
-0.005635314621031284,
-0.01861950382590294,
-0.011350124143064022,
-0.03418286517262459,
-0.06243010237812996,
-0.035631440579891205,
-0.03220432251691818,
-0.03985350951552391,
0.04911026731133461,
-0.027999918907880783,
-0.04914559796452522,
-0.05437460541725159,
-0.009680728428065777,
0.009115430526435375,
-0.019591109827160835,
0.030437765643000603,
0.017285753041505814,
0.04925158992409706,
0.005993042606860399,
0.0005884841084480286,
-0.0401008278131485,
-0.016508469358086586,
0.13878066837787628,
0.020174073055386543,
-0.016093328595161438,
-0.015483866445720196,
-0.03303460404276848,
-0.013664313592016697,
0.0011438452638685703,
0.006986730266362429,
-0.05921496823430061,
0.05716576427221298,
0.05062950402498245,
-0.02134000137448311,
-0.08267483860254288,
-0.08550132811069489,
-0.02490844391286373,
-0.054339274764060974,
-0.0272049680352211,
-0.06232410669326782,
0.027558278292417526,
-0.00002699863944144454,
-0.024731788784265518,
0.052855364978313446,
-0.05893231928348541,
0.051618777215480804,
-0.04988755285739899,
0.03469516709446907,
0.013311002403497696,
-0.024237152189016342,
0.061016857624053955,
0.0273462925106287,
-0.044693876057863235,
0.015854842960834503,
0.025703394785523415,
-0.007892090827226639,
-0.03411220386624336,
-0.0019940005149692297,
-0.04663708806037903,
0.019449785351753235,
0.005626481957733631,
-0.004268441814929247,
-0.015404371544718742,
-0.08875179290771484,
-0.0003698727232404053,
-0.04914559796452522,
-0.014008792117238045,
0.050276193767786026,
0.007635939866304398,
0.003681061789393425,
0.08168556541204453,
0.04939291626214981,
-0.09737258404493332,
-0.02782326191663742,
0.03695635870099068,
0.048474304378032684,
0.04893361032009125,
0.027575943619012833,
-0.028123576194047928,
-0.05179543048143387,
0.03670904040336609,
-0.02100435458123684,
-0.0168264489620924,
-0.07419537007808685,
0.04215003550052643,
-0.01260437909513712,
-0.026939984411001205,
-0.001783117768354714,
0.05663579702377319,
0.014194279909133911,
0.05903831124305725,
-0.02801758423447609,
-0.03497781604528427,
0.010996812954545021,
-0.030102120712399483,
-0.037062350660562515,
0.012489553540945053,
-0.022417599335312843,
0.013893965631723404,
0.012887028977274895,
-0.02310655638575554,
-0.0692843422293663,
0.024890778586268425,
0.0025085099041461945,
0.0342181958258152,
-0.0068895695731043816,
-0.020933693274855614,
0.07836443930864334,
0.020209403708577156,
0.015616358257830143,
-0.0015556736616417766,
-0.026833990588784218,
0.028317898511886597,
-0.0793537124991417,
0.01448576245456934,
-0.013726143166422844,
0.0328226163983345,
0.02151665650308132,
-0.01831918954849243,
0.04296265169978142,
-0.039500199258327484,
-0.04532983526587486,
-0.04557715356349945,
0.031480032950639725,
0.05426860973238945,
0.006995562929660082,
0.006651084404438734,
0.006668750196695328,
-0.03374122455716133,
-0.03556077927350998,
-0.000031121755455387756,
-0.04663708806037903,
0.022894570603966713,
-0.025403080508112907,
-0.043315961956977844,
0.04681374132633209,
-0.03068508394062519,
0.0042728581465780735,
-0.02921884134411812,
-0.041549406945705414,
-0.05921496823430061,
0.01496273186057806,
0.026145033538341522,
-0.054339274764060974,
-0.03126804903149605,
-0.034483179450035095,
0.05843768268823624,
-0.0024312231689691544,
0.045365165919065475,
-0.047273047268390656,
-0.010775993578135967,
0.004601879045367241,
-0.02072170563042164,
0.017656730487942696,
0.007216382771730423,
-0.03587875887751579,
-0.016305314376950264,
0.022258609533309937,
0.0019553571473807096,
0.025986043736338615,
-0.011270629242062569,
-0.016305314376950264,
0.01135895773768425,
-0.019873758777976036,
0.05903831124305725,
-0.04257400706410408,
-0.009822052903473377,
0.02858288213610649,
0.09687794744968414,
0.05034685507416725,
0.03974751755595207,
-0.0445878803730011,
0.0044605545699596405,
-0.010440347716212273,
0.05437460541725159,
0.010325522162020206,
-0.08543066680431366,
0.005246672313660383,
0.03494248539209366,
-0.07511397451162338,
0.026286358013749123,
-0.024926109239459038,
-0.005966544151306152,
0.018884487450122833,
-0.03755698725581169,
-0.012586713768541813,
0.06292473524808884,
0.026021374389529228,
-0.031709685921669006,
0.0457184799015522,
0.07370073348283768,
0.004288315307348967,
0.0001304215402342379,
0.035719770938158035,
-0.08670258522033691,
-0.002711663953959942,
-0.013072516769170761,
-0.03635573014616966,
0.02868887409567833,
0.001749994931742549,
0.09193158894777298,
-0.009627732448279858,
-0.039500199258327484,
0.043739933520555496,
0.02921884134411812,
-0.01448576245456934,
0.02863587811589241,
-0.004540049936622381,
-0.00839997548609972,
-0.031957004219293594,
0.020916027948260307,
-0.030950067564845085,
-0.019485116004943848,
0.024519801139831543,
-0.0012354853097349405,
-0.007052976172417402,
-0.020933693274855614,
0.025668064132332802,
0.026939984411001205,
0.0013933712616562843,
-0.030773410573601723,
-0.036055415868759155,
0.0058782161213457584,
0.05508122593164444
] |
52,187 |
pebble.functions
|
waitforqueues
|
Waits for one or more *Queue* to be ready or until *timeout* expires.
*queues* is a list containing one or more *Queue.Queue* objects.
If *timeout* is not None the function will block
for the specified amount of seconds.
The function returns a list containing the ready *Queues*.
|
def waitforqueues(queues: list, timeout: float = None) -> filter:
"""Waits for one or more *Queue* to be ready or until *timeout* expires.
*queues* is a list containing one or more *Queue.Queue* objects.
If *timeout* is not None the function will block
for the specified amount of seconds.
The function returns a list containing the ready *Queues*.
"""
lock = threading.Condition(threading.Lock())
prepare_queues(queues, lock)
try:
wait_queues(queues, lock, timeout)
finally:
reset_queues(queues)
return filter(lambda q: not q.empty(), queues)
|
(queues: list, timeout: Optional[float] = None) -> filter
|
[
0.014742818661034107,
0.05780280381441116,
-0.07967512309551239,
-0.03735455870628357,
-0.0219818614423275,
0.036368660628795624,
0.003544210223481059,
-0.05090152099728584,
-0.005988414399325848,
0.03870560601353645,
-0.008749839849770069,
0.0023198258131742477,
-0.03771970793604851,
-0.0047149634920060635,
-0.00395728275179863,
-0.012013343162834644,
0.009283867664635181,
-0.008170168846845627,
0.05049986019730568,
-0.021379368379712105,
-0.02636362798511982,
0.023807598277926445,
0.06160033494234085,
0.026144539937376976,
0.011775997467339039,
-0.019225001335144043,
-0.01927977241575718,
-0.04016619175672531,
-0.041991930454969406,
0.03943590074777603,
0.012287203222513199,
0.019261514768004417,
0.004687577486038208,
-0.01523576769977808,
0.015117094852030277,
0.09260133653879166,
0.026418400928378105,
0.03649646416306496,
-0.008092574775218964,
-0.032187726348638535,
0.04703095927834511,
-0.011629939079284668,
0.009795074351131916,
-0.05645176023244858,
0.07211657613515854,
0.02849973924458027,
0.037500619888305664,
0.045606885105371475,
-0.04750565066933632,
0.05637872964143753,
0.05396875739097595,
0.0175179373472929,
0.04075042903423309,
0.018951140344142914,
-0.009776816703379154,
-0.040020134299993515,
-0.054370418190956116,
0.005627831444144249,
0.06996220350265503,
-0.030690623447299004,
0.012424133718013763,
-0.0012586168013513088,
0.013528704643249512,
0.015956932678818703,
0.009676401503384113,
0.05411481857299805,
0.021014222875237465,
-0.013720406219363213,
-0.01705237478017807,
-0.0069377971813082695,
0.018585992977023125,
0.03717198595404625,
-0.03812136873602867,
-0.002994207199662924,
0.020849905908107758,
-0.010233250446617603,
0.004774299915879965,
0.0058560483157634735,
-0.07624273747205734,
-0.00828884169459343,
0.043927211314439774,
0.023332906886935234,
-0.0598476268351078,
-0.015345311723649502,
0.03976453095674515,
-0.00480168592184782,
-0.02815284952521324,
-0.005399614572525024,
-0.02236526645720005,
-0.0844220370054245,
-0.04469401761889458,
-0.02172625996172428,
0.04787079989910126,
0.031238343566656113,
-0.0164863970130682,
-0.03921680897474289,
-0.051960449665784836,
-0.018494706600904465,
-0.04034876823425293,
-0.03112879954278469,
0.003003335790708661,
0.022620869800448418,
-0.012825795449316502,
-0.007480953354388475,
0.023789340630173683,
0.02486652508378029,
-0.059299908578395844,
-0.02776944637298584,
0.03235204145312309,
0.00305126141756773,
0.02088642120361328,
-0.03410474956035614,
0.010844872333109379,
-0.03213295340538025,
0.029412608593702316,
-0.00003189689232385717,
-0.032370299100875854,
0.01966317743062973,
-0.0020368366967886686,
-0.06035883352160454,
0.06506923586130142,
-0.0018337236251682043,
0.012789281085133553,
-0.009366026148200035,
0.0003434665850363672,
0.06138124689459801,
-0.03950892761349678,
0.04107906296849251,
0.018522093072533607,
-0.0211420226842165,
-0.00866768229752779,
0.04107906296849251,
-0.033392712473869324,
0.03757364675402641,
0.032844990491867065,
-0.019590148702263832,
-0.036113061010837555,
0.07182445377111435,
-0.014806719496846199,
-0.03742758929729462,
-0.024537893012166023,
-0.08668594807386398,
-0.022675642743706703,
-0.029047461226582527,
-0.03476201370358467,
-0.042174503207206726,
0.010324537754058838,
-0.07879877090454102,
-0.038523029536008835,
0.0028230443131178617,
-0.0006926386267878115,
0.0413711778819561,
-0.0062531461007893085,
-0.045606885105371475,
-0.005294634494930506,
-0.027842475101351738,
0.010370180942118168,
-0.0027500148862600327,
0.027787702158093452,
-0.016249051317572594,
0.006490491796284914,
0.07193399965763092,
-0.06883025169372559,
-0.030909711495041847,
-0.031000997871160507,
0.07748423516750336,
-0.07719212025403976,
0.04348903149366379,
-0.007321201730519533,
0.01798349991440773,
0.03494458645582199,
0.055392831563949585,
-0.052325595170259476,
-0.034999359399080276,
-0.08113571256399155,
-0.008088010363280773,
-0.07390579581260681,
0.03419603779911995,
0.017088890075683594,
-0.06784435361623764,
-0.07595062255859375,
-0.015692200511693954,
0.024574406445026398,
-0.027988534420728683,
0.0069834403693675995,
0.0006846510223113,
-0.029303064569830894,
0.07850664854049683,
-0.02627234160900116,
-0.025122128427028656,
-0.052690744400024414,
0.025980224832892418,
0.018321260809898376,
-0.025742879137396812,
-0.04754216596484184,
-0.009402540512382984,
-0.0029668211936950684,
0.029978586360812187,
-0.0033935869578272104,
0.010123706422746181,
-0.02311381883919239,
0.02349722385406494,
0.02265738509595394,
-0.024008428677916527,
0.032844990491867065,
-0.07386928051710129,
0.022383524104952812,
-0.02981426939368248,
0.012999240309000015,
0.01454198732972145,
-0.031238343566656113,
-0.01043408177793026,
-0.032187726348638535,
0.001802914310246706,
-0.020813390612602234,
0.06233062967658043,
0.033027566969394684,
-0.0022057173773646355,
0.043087370693683624,
-0.006412897724658251,
-0.025779392570257187,
-0.049879107624292374,
-0.06616467237472534,
0.023533737286925316,
-0.04557037353515625,
0.09406191855669022,
0.05126667022705078,
0.04750565066933632,
0.025103870779275894,
-0.05433390662074089,
0.04042179509997368,
0.07076553255319595,
-0.020338699221611023,
-0.05002516880631447,
0.018567735329270363,
-0.02627234160900116,
0.018512964248657227,
-0.002647317247465253,
0.03547405079007149,
-0.02711218036711216,
0.0488566979765892,
-0.015190123580396175,
-0.011109603568911552,
-0.015765231102705002,
0.09070257097482681,
0.017298849299550056,
-0.004966001957654953,
-0.006084265653043985,
0.06634724885225296,
0.021105509251356125,
-0.02068558894097805,
0.041225120425224304,
-0.013026626780629158,
-0.039362870156764984,
0.010141964070498943,
-0.044949620962142944,
-0.05210650712251663,
-0.08683200925588608,
0.018001757562160492,
-0.0219088327139616,
0.035820942372083664,
-0.019151970744132996,
-0.01658681221306324,
0.060322318226099014,
-0.007814150303602219,
-0.0028367373161017895,
0.0219818614423275,
-0.018951140344142914,
-0.0024784367997199297,
-0.00656808540225029,
0.11100475490093231,
-0.032844990491867065,
0.030873196199536324,
-0.02608976885676384,
0.0015244896057993174,
0.010516239330172539,
-0.00791912991553545,
0.02384411357343197,
-0.01169383991509676,
0.007252736482769251,
0.021689744666218758,
0.04703095927834511,
-0.009315818548202515,
-0.003813506104052067,
0.030508048832416534,
0.03808485344052315,
-0.04115208983421326,
0.030982740223407745,
-0.012478905729949474,
0.03204166889190674,
0.003617239650338888,
0.029010945931077003,
-0.016623327508568764,
-0.09486524760723114,
-0.02125156857073307,
-0.023241620510816574,
0.006198374088853598,
-0.006645679473876953,
0.04819943383336067,
-0.012898825109004974,
-0.016650712117552757,
0.010196736082434654,
0.012077243998646736,
0.011766868643462658,
-0.03790228068828583,
0.046264152973890305,
-0.023241620510816574,
-0.03083668276667595,
0.005586752202361822,
-0.010799229145050049,
-0.017645739018917084,
-0.02395365759730339,
0.008224940858781338,
-0.037683192640542984,
0.07105764746665955,
-0.00010847439989447594,
-0.02524993009865284,
-0.009201710112392902,
-0.030708881095051765,
-0.0025560304056853056,
0.04056785628199577,
0.02572462148964405,
0.046629298478364944,
-0.028098078444600105,
-0.09194406867027283,
-0.004418281372636557,
-0.07218960672616959,
0.016513783484697342,
-0.0021007375326007605,
0.009338639676570892,
-0.022036634385585785,
-0.0009402540745213628,
0.014569373801350594,
0.0009465300245210528,
-0.02747732773423195,
0.028463225811719894,
0.054552994668483734,
0.04053134098649025,
0.027787702158093452,
0.00006946355279069394,
0.012113758362829685,
-0.04604506492614746,
0.02077687717974186,
0.028390195220708847,
-0.051558785140514374,
0.012551935389637947,
-0.03729978948831558,
0.013327873311936855,
0.0329727940261364,
0.014788461849093437,
0.03574791178107262,
-0.026692261919379234,
0.04096951708197594,
0.06897630542516708,
0.05049986019730568,
0.013711277395486832,
0.04443841427564621,
0.08201206475496292,
0.007490082178264856,
0.034798528999090195,
-0.03481678664684296,
0.062294114381074905,
-0.000022358135538524948,
-0.01272538024932146,
0.01631295122206211,
0.011337821371853352,
0.09194406867027283,
-0.01955363340675831,
-0.03729978948831558,
-0.017828311771154404,
0.038157884031534195,
0.0287005715072155,
-0.014852362684905529,
-0.01871379464864731,
0.02906571887433529,
-0.00552285136654973,
-0.04761519655585289,
-0.006832817103713751,
0.01955363340675831,
0.03733630105853081,
-0.019225001335144043,
-0.04210147261619568,
-0.01313617080450058,
-0.02879185788333416,
-0.01657768338918686,
-0.022292237728834152,
-0.09157892316579819,
0.00023706041974946856,
0.003656036453321576,
0.031238343566656113,
-0.015263153240084648,
-0.04359857738018036,
-0.01440505776554346,
0.029503894969820976,
-0.043562062084674835,
0.025761134922504425,
0.01486149150878191,
0.009512084536254406,
-0.001108564087189734,
-0.06021277606487274,
-0.02729475498199463,
-0.024063201621174812,
-0.0175179373472929,
-0.008690503425896168,
0.013848207890987396,
-0.0010458044707775116,
-0.00786892231553793,
-0.02915700525045395,
0.015107966028153896,
0.006924103945493698,
0.01909719966351986,
-0.015226638875901699,
0.022675642743706703,
-0.008544445037841797,
-0.0329727940261364,
-0.02066733129322529,
-0.006677629426121712,
0.00440230593085289,
0.03401346132159233,
0.016048219054937363,
-0.01668722741305828,
-0.09369677305221558,
-0.018512964248657227,
-0.003354789922013879,
-0.00009563718776917085,
0.012862310744822025,
-0.004774299915879965,
0.00296910316683352,
-0.016696356236934662,
-0.04115208983421326,
0.034798528999090195,
-0.008503365330398083,
0.016431624069809914,
-0.10202213376760483,
0.02349722385406494,
0.023533737286925316,
-0.006038621999323368,
-0.015673944726586342,
0.0001996898790821433,
-0.0063216108828783035,
-0.0063170469366014,
0.025688106194138527,
-0.025487275794148445,
-0.026217570528388023,
0.006339868530631065,
-0.007070162799209356,
0.0413711778819561,
0.0651787742972374,
0.01318181399255991,
0.011529522947967052,
-0.06452151387929916,
0.01781005598604679,
-0.0067963022738695145,
-0.006490491796284914,
0.047213535755872726,
0.012122887186706066,
-0.0211420226842165,
0.03562011197209358,
-0.04582597687840462,
-0.034323837608098984,
0.03516367822885513,
-0.03819439932703972,
-0.01272538024932146,
0.0069834403693675995,
-0.05020774155855179,
0.04221101850271225,
-0.007736556697636843,
-0.006800866685807705,
0.06273229420185089,
0.03530973568558693,
0.038523029536008835,
0.015984319150447845,
-0.055867522954940796,
-0.05163181573152542,
0.06532483547925949,
-0.03560185432434082,
-0.011858155950903893,
0.023424193263053894,
0.01946234703063965,
0.014505472965538502,
-0.009105858393013477,
0.017353620380163193,
0.0270208939909935,
-0.00023463560501113534,
-0.04787079989910126,
0.0015963779296725988,
0.004888408351689577,
-0.018522093072533607,
0.0010726199252530932,
0.004500439390540123,
-0.020083095878362656,
-0.06393727660179138,
0.04155375435948372,
0.0685381293296814,
0.03928983956575394,
-0.014660660177469254,
0.003535081399604678,
0.029394350945949554,
0.0010503687663003802,
0.01173948310315609,
0.053895726799964905,
0.02181754633784294,
-0.07324852794408798,
0.05331149324774742,
0.0008803470991551876,
-0.08084359019994736,
0.012588449753820896,
-0.03943590074777603,
0.022127920761704445,
-0.02265738509595394,
0.04275873675942421,
0.0024693079758435488,
0.002137252362444997,
-0.04725005105137825,
-0.035254962742328644,
-0.053348008543252945,
0.0014891159953549504,
-0.02672877535223961,
0.037683192640542984,
0.0740518569946289,
0.01090877316892147,
0.03463421389460564,
-0.0028458661399781704,
0.03028896078467369,
-0.02384411357343197,
-0.026053253561258316,
-0.016933701932430267,
0.018093043938279152,
-0.020703846588730812,
-0.013848207890987396,
0.020922934636473656,
0.049075786024332047,
-0.020758619531989098,
-0.006348997354507446,
-0.008590088225901127,
0.02236526645720005,
0.024081459268927574,
0.024939553812146187,
-0.01864989474415779,
-0.02048475854098797,
0.03742758929729462,
0.05685342103242874,
0.057912345975637436,
0.0003745611757040024,
-0.024830009788274765,
0.042722225189208984,
-0.02254784107208252,
0.007357716094702482,
0.04520522430539131,
-0.015610042959451675,
0.00996851921081543,
-0.003601264441385865,
-0.017381006851792336,
-0.0054361289367079735,
0.043562062084674835,
-0.027805959805846214,
0.047323077917099,
-0.008311663754284382,
-0.05356709659099579,
0.023734569549560547,
0.044767048209905624,
0.007887179963290691,
-0.03596699982881546,
0.06269577890634537,
-0.015089708380401134,
-0.07982118427753448,
0.03538276627659798,
0.04520522430539131,
0.07580456137657166,
-0.009795074351131916,
0.014761076308786869,
0.03562011197209358,
-0.008900463581085205,
-0.03885166347026825,
0.0078232791274786,
-0.014596759341657162,
-0.025103870779275894,
-0.06532483547925949,
-0.04768822714686394,
0.00006322324043139815,
0.04173632711172104,
-0.029869042336940765,
-0.08069753646850586,
-0.03112879954278469,
0.012862310744822025,
-0.02431880496442318,
-0.008959800004959106,
-0.021689744666218758,
-0.026053253561258316,
0.053530581295490265,
0.018138688057661057,
0.09143286198377609,
-0.029376093298196793,
0.02209140546619892,
0.042539648711681366,
0.014998422004282475,
0.07653485238552094,
-0.021087251603603363,
-0.09026438742876053,
0.019772721454501152,
0.03680684044957161,
0.021653229370713234,
-0.011721225455403328,
0.0033593543339520693,
0.019699692726135254,
-0.015162738040089607,
-0.003012464614585042,
-0.0019113174639642239,
0.016623327508568764,
0.007156885229051113,
0.012104630470275879,
0.024008428677916527,
0.03178606554865837,
0.054552994668483734,
0.017024988308548927,
-0.002896073739975691,
-0.11786951869726181,
-0.024939553812146187,
0.01313617080450058,
0.00761788384988904,
-0.023551994934678078,
0.05258119851350784,
0.038523029536008835,
0.005933642387390137,
0.04462099075317383,
-0.053348008543252945,
-0.00745356734842062,
-0.04294131323695183,
-0.057182054966688156,
0.003920768387615681,
0.03885166347026825,
0.0011034292401745915,
0.06536135077476501,
-0.029649954289197922,
-0.08551747351884842,
0.022602612152695656,
0.0021555095445364714,
0.003325121710076928,
-0.01005980558693409,
-0.08719715476036072,
0.0067278374917805195,
-0.010342794470489025,
-0.03950892761349678,
-0.08077055960893631,
0.08252327144145966,
-0.028298908844590187,
-0.027550356462597847,
0.006883025169372559,
0.015025807544589043,
-0.05020774155855179,
0.010415824130177498,
0.015719586983323097,
-0.03870560601353645,
0.03932635486125946,
0.017828311771154404,
-0.042357075959444046,
-0.0009471005760133266,
-0.016787642613053322,
0.014669789001345634,
0.01631295122206211,
0.061344731599092484,
-0.02599848061800003,
-0.011356078088283539,
0.004283633083105087,
-0.06587255746126175,
-0.04834549129009247,
0.01085400115698576,
0.018604250624775887,
-0.04053134098649025,
0.05440693348646164,
0.025030842050909996,
-0.07050992548465729,
0.02395365759730339,
-0.06492317467927933,
-0.04129815101623535,
0.08924198150634766,
-0.048016857355833054,
0.01622166484594345,
0.009904618375003338,
-0.025469018146395683,
0.012515421025454998,
-0.008142782375216484,
-0.08223114907741547,
0.021215053275227547,
0.038048338145017624,
0.026947863399982452,
0.05743765830993652,
-0.03733630105853081,
0.0025720056146383286,
0.03348400071263313,
-0.02189057506620884,
-0.03928983956575394,
0.01136520691215992,
0.037500619888305664,
-0.03830394148826599,
0.0019284336594864726,
0.024848267436027527,
0.024191003292798996,
0.024537893012166023,
0.01346480380743742,
0.07032735645771027,
-0.007111242040991783,
-0.019243258982896805,
0.0017778105102479458,
-0.005481772590428591,
0.026509687304496765,
-0.010361052118241787,
0.04239359125494957,
-0.028098078444600105,
-0.010306280106306076,
-0.042357075959444046,
-0.029558666050434113,
0.029978586360812187,
-0.0011741764610633254,
-0.019024169072508812,
-0.050280772149562836,
0.032187726348638535,
0.051193639636039734,
0.03463421389460564,
0.025925451889634132,
0.022146178409457207,
0.07726515084505081,
-0.006659372244030237,
-0.026162797585129738,
-0.006399204954504967,
0.030325476080179214,
-0.009840717539191246,
0.016157764941453934,
-0.001719615189358592,
-0.020156126469373703,
0.06587255746126175,
0.05451647937297821,
-0.02375282533466816,
0.0016762539744377136,
-0.014898005872964859,
-0.0726642981171608,
0.045606885105371475,
-0.02747732773423195,
-0.04250313714146614,
0.006157294847071171,
0.05619615688920021,
-0.007471824996173382,
0.06711405515670776,
-0.012415004894137383,
-0.009740302339196205,
-0.06879373639822006,
-0.03551056608557701,
-0.02842671051621437,
-0.029102232307195663,
-0.049440931528806686,
0.029467379674315453,
-0.031731292605400085,
0.02077687717974186,
-0.006116215605288744,
0.0023209669161587954,
0.052690744400024414,
-0.024245774373412132,
-0.00242138234898448,
-0.045424312353134155,
-0.016468139365315437,
-0.046811871230602264,
0.03454292565584183,
-0.007978466339409351,
0.04071391373872757,
-0.019535375759005547,
-0.03841348737478256,
0.01454198732972145,
-0.024191003292798996
] |
52,188 |
pebble.functions
|
waitforthreads
|
Waits for one or more *Thread* to exit or until *timeout* expires.
.. note::
Expired *Threads* are not joined by *waitforthreads*.
*threads* is a list containing one or more *threading.Thread* objects.
If *timeout* is not None the function will block
for the specified amount of seconds.
The function returns a list containing the ready *Threads*.
|
def waitforthreads(threads: list, timeout: float = None) -> filter:
"""Waits for one or more *Thread* to exit or until *timeout* expires.
.. note::
Expired *Threads* are not joined by *waitforthreads*.
*threads* is a list containing one or more *threading.Thread* objects.
If *timeout* is not None the function will block
for the specified amount of seconds.
The function returns a list containing the ready *Threads*.
"""
old_function = None
lock = threading.Condition(threading.Lock())
def new_function(*args):
old_function(*args)
with lock:
lock.notify_all()
old_function = prepare_threads(new_function)
try:
wait_threads(threads, lock, timeout)
finally:
reset_threads(old_function)
return filter(lambda t: not t.is_alive(), threads)
|
(threads: list, timeout: Optional[float] = None) -> filter
|
[
0.004940475337207317,
0.03718696907162666,
-0.04795113205909729,
-0.03446372598409653,
-0.0393030010163784,
0.007939721457660198,
0.012088984251022339,
-0.03661656007170677,
-0.031795684248209,
0.03466612845659256,
-0.015235432423651218,
0.010386958718299866,
-0.03970780596137047,
0.004728872328996658,
-0.010994167998433113,
-0.04276225343346596,
-0.040885426104068756,
0.00576848816126585,
0.013570207171142101,
-0.060316119343042374,
-0.021969934925436974,
0.045485492795705795,
0.023920364677906036,
0.012962997891008854,
0.026036398485302925,
0.005947890691459179,
0.005244079977273941,
-0.03659815713763237,
-0.008349127136170864,
0.035070937126874924,
-0.007521114777773619,
0.03610135242342949,
-0.009338142350316048,
-0.004510368686169386,
-0.005193479359149933,
0.04625830799341202,
0.021675530821084976,
0.0648793876171112,
-0.0032154491636902094,
-0.03347011283040047,
0.0009763648849911988,
-0.022669145837426186,
-0.05317681282758713,
-0.034390125423669815,
0.030194861814379692,
-0.005883489735424519,
0.018685486167669296,
0.03534694015979767,
-0.01238338928669691,
0.006062892731279135,
0.014251017943024635,
0.015437835827469826,
0.058144889771938324,
-0.008123723790049553,
0.009540545754134655,
-0.027839625254273415,
-0.10053913295269012,
-0.010248956270515919,
0.028962042182683945,
-0.02544758841395378,
-0.006118093617260456,
-0.028354832902550697,
0.03646935522556305,
0.07518354803323746,
-0.02101312018930912,
0.0573720745742321,
0.036064550280570984,
-0.004374666605144739,
-0.025576390326023102,
0.011739379726350307,
-0.03687416389584541,
0.004618470557034016,
-0.0137174092233181,
-0.012834195978939533,
0.027471618726849556,
0.02699321135878563,
-0.02412276901304722,
0.011914181523025036,
-0.07963641732931137,
0.008749333210289478,
0.021785933524370193,
-0.00004348504080553539,
-0.07003147155046463,
-0.003933059982955456,
0.07080428302288055,
-0.006490699015557766,
-0.0504903718829155,
-0.036009348928928375,
-0.03610135242342949,
-0.056084055453538895,
-0.043056659400463104,
0.049975164234638214,
0.02706681378185749,
-0.022926749661564827,
0.02362596057355404,
-0.012226986698806286,
0.001132767298258841,
0.02999245747923851,
-0.03922940045595169,
-0.05910170078277588,
0.060573726892471313,
-0.010110954754054546,
0.00013160513481125236,
-0.03904539719223976,
0.013699009083211422,
-0.026386002078652382,
-0.08361087739467621,
-0.03516293689608574,
0.0051198783330619335,
0.037002965807914734,
0.011086169630289078,
-0.05810808762907982,
0.0655049979686737,
0.007166909519582987,
-0.0006652851589024067,
0.011582977138459682,
-0.02657000534236431,
0.01287099625915289,
-0.001621524803340435,
-0.09406223893165588,
0.059322506189346313,
0.05685686692595482,
0.01221778616309166,
-0.0031717484816908836,
-0.016541853547096252,
0.06160414218902588,
-0.05207279697060585,
0.0629657581448555,
0.015272233635187149,
-0.02699321135878563,
-0.05656246468424797,
0.030286863446235657,
0.005575285293161869,
0.0423942469060421,
0.0018860287964344025,
-0.038566987961530685,
-0.08714373409748077,
0.06517379730939865,
0.039818208664655685,
-0.02737961895763874,
-0.0716874971985817,
-0.054096825420856476,
-0.022558744996786118,
-0.0007038107723928988,
-0.04912874847650528,
-0.06833864003419876,
0.01356100756675005,
-0.04725192114710808,
-0.057519279420375824,
-0.01877748593688011,
-0.03565974533557892,
0.03705816715955734,
-0.020718716084957123,
-0.009200140833854675,
-0.023037152364850044,
0.027729222550988197,
0.020405910909175873,
-0.03485013172030449,
0.026588406413793564,
-0.02737961895763874,
0.0035167536698281765,
0.07647156715393066,
-0.010239756666123867,
0.04003901034593582,
-0.006237695459276438,
0.04014941304922104,
-0.014830626547336578,
-0.0031648483127355576,
0.01708466000854969,
0.020589914172887802,
-0.0025737392716109753,
0.055900052189826965,
0.01952269859611988,
-0.05479603633284569,
-0.06878025084733963,
0.01926509477198124,
-0.028667638078331947,
-0.0013788710348308086,
0.022466743364930153,
-0.06090493127703667,
-0.07441073656082153,
-0.034298125654459,
-0.010800965130329132,
0.008523929864168167,
0.06436417996883392,
-0.016229048371315002,
-0.017489466816186905,
0.07176109403371811,
-0.04140063375234604,
-0.04353506490588188,
-0.03751817345619202,
-0.025852395221590996,
0.037573374807834625,
0.026643607765436172,
-0.045669496059417725,
0.0016157747013494372,
-0.006095093209296465,
0.0027278417255729437,
0.013229802250862122,
0.009650947526097298,
-0.01759066805243492,
-0.005087677855044603,
0.025337187573313713,
-0.036763761192560196,
0.02325795590877533,
-0.07139308750629425,
0.04003901034593582,
-0.049864761531353,
-0.032090090215206146,
-0.010589362122118473,
-0.003470753086730838,
-0.00198033032938838,
-0.009991352446377277,
0.029164444655179977,
0.006536699831485748,
0.010929767042398453,
0.029348447918891907,
-0.006849504541605711,
0.017231862992048264,
-0.005464883521199226,
-0.07750198245048523,
-0.021031521260738373,
-0.053912822157144547,
-0.015299833379685879,
-0.005124478135257959,
0.05107918009161949,
0.04029661417007446,
0.06627780944108963,
0.08051963150501251,
-0.06620421260595322,
0.06590980291366577,
0.03783097863197327,
-0.0162198469042778,
-0.0028290431946516037,
0.01284339651465416,
-0.0274348184466362,
0.013045798987150192,
-0.012134985066950321,
0.015364234335720539,
-0.0069185057654976845,
0.025281986221671104,
-0.04353506490588188,
0.007185309659689665,
-0.023993967100977898,
0.12858116626739502,
0.007843120023608208,
0.022411542013287544,
-0.03466612845659256,
0.06951626390218735,
0.008353727869689465,
0.006154893897473812,
0.009048338048160076,
-0.009338142350316048,
-0.03387491777539253,
-0.0010269656777381897,
0.008376727811992168,
-0.0002938294783234596,
-0.04434467852115631,
-0.0028382432647049427,
-0.010432959534227848,
0.050343167036771774,
-0.030029257759451866,
-0.04931275174021721,
0.03347011283040047,
0.020350711420178413,
-0.011334572918713093,
0.026330802589654922,
-0.002684141043573618,
-0.017535468563437462,
-0.03841978684067726,
0.08964616805315018,
-0.07315951585769653,
0.016321050003170967,
-0.004133163020014763,
0.00307054677978158,
0.029330048710107803,
0.01777467131614685,
-0.013662208802998066,
-0.0005862214602530003,
0.0014202716993167996,
0.011656577698886395,
0.04077502340078354,
-0.04684711620211601,
-0.004535669460892677,
0.00819732528179884,
0.02020350843667984,
-0.05880729854106903,
0.07654517143964767,
-0.01477542519569397,
0.009540545754134655,
0.026146799325942993,
0.017949474975466728,
0.004627670627087355,
-0.10834085196256638,
0.000976939918473363,
0.00026450405130162835,
-0.014720224775373936,
-0.03823578357696533,
0.031262077391147614,
-0.04471268132328987,
0.004264265298843384,
0.000023611297365278006,
0.0028290431946516037,
-0.0006365347071550786,
-0.03411412239074707,
0.018381880596280098,
-0.004425267688930035,
-0.01844628155231476,
0.0021815833169966936,
0.003502953564748168,
-0.004738072399049997,
-0.006932305637747049,
0.01259499229490757,
-0.12026423960924149,
-0.0026956412475556135,
0.033010102808475494,
-0.030581267550587654,
-0.02657000534236431,
-0.0336725153028965,
-0.0014007213758304715,
0.024527573958039284,
0.025521188974380493,
0.03317570686340332,
-0.005078477784991264,
-0.008500929921865463,
-0.003337350906804204,
0.004006661009043455,
-0.011316172778606415,
-0.020663514733314514,
0.026533205062150955,
-0.028281232342123985,
0.02756362035870552,
0.030599666759371758,
0.009370342828333378,
-0.03911899775266647,
0.08302206546068192,
0.046920716762542725,
0.06892745196819305,
0.012815795838832855,
-0.01646825112402439,
-0.007015107199549675,
-0.02176753245294094,
0.012558192014694214,
-0.01128857210278511,
-0.024729978293180466,
0.022724347189068794,
-0.038934994488954544,
0.07588275521993637,
0.05707767233252525,
0.0030038459226489067,
0.04003901034593582,
0.0171490628272295,
0.060757726430892944,
0.06314976513385773,
0.04246784746646881,
0.03871419280767441,
0.03317570686340332,
0.06127293407917023,
0.011509375646710396,
0.007999522611498833,
-0.03238449618220329,
0.09450384229421616,
0.006716102361679077,
0.013662208802998066,
0.047987934201955795,
0.019007490947842598,
0.05615765601396561,
0.011638177558779716,
-0.06053692474961281,
-0.02612839825451374,
0.0215099286288023,
0.058512892574071884,
-0.025521188974380493,
-0.017572268843650818,
0.05586325377225876,
-0.04957035556435585,
-0.03148287907242775,
-0.0004295315593481064,
0.015290633775293827,
0.09671187400817871,
-0.03779417648911476,
-0.06837544590234756,
0.01312860008329153,
-0.043130259960889816,
-0.040443819016218185,
-0.02187793329358101,
-0.028778038918972015,
-0.022687546908855438,
0.05332401394844055,
0.050968777388334274,
-0.03199809044599533,
-0.05637846142053604,
-0.019780302420258522,
0.04084862396121025,
0.022025136277079582,
0.014232617802917957,
0.014076215215027332,
-0.0006445848266594112,
0.02007470652461052,
-0.07764918357133865,
-0.019154692068696022,
0.04132702946662903,
-0.034886933863162994,
-0.02082911878824234,
0.00978894904255867,
0.014803025871515274,
0.00743831368163228,
-0.09207500517368317,
0.033506911247968674,
-0.0027876426465809345,
-0.0011212670942768455,
0.010892966762185097,
-0.0023851364385336637,
-0.0026289401575922966,
0.028152430430054665,
0.0486503429710865,
0.008119123987853527,
-0.02574199251830578,
0.03124367631971836,
0.006886305287480354,
0.03229249268770218,
-0.11025448143482208,
-0.03724217042326927,
0.013864611275494099,
-0.0042090644128620625,
0.006430898327380419,
0.006821904331445694,
-0.019541097804903984,
0.012309787794947624,
-0.040002211928367615,
0.007723518181592226,
-0.035273339599370956,
-0.009167940355837345,
-0.025116384029388428,
0.03247649595141411,
0.004349366296082735,
-0.01368980947881937,
-0.03547574207186699,
0.003052146639674902,
-0.016983458772301674,
-0.04393986985087395,
-0.008450329303741455,
0.018041474744677544,
-0.028354832902550697,
-0.007870719768106937,
-0.02132592536509037,
0.026422804221510887,
0.007764918729662895,
-0.046479109674692154,
0.013487406075000763,
-0.05829209089279175,
-0.0031096474267542362,
-0.04662631079554558,
0.019228294491767883,
0.029146045446395874,
0.0006451598601415753,
-0.06940586119890213,
0.043424662202596664,
-0.045227888971567154,
0.017498666420578957,
0.05071117356419563,
-0.012447790242731571,
-0.00672070262953639,
0.03448212519288063,
-0.0548696368932724,
-0.013285002671182156,
-0.026036398485302925,
-0.049275953322649,
0.0717242956161499,
0.03324930742383003,
0.052477601915597916,
0.02675400860607624,
-0.045853499323129654,
-0.04202624037861824,
0.057519279420375824,
0.005869689863175154,
-0.033635713160037994,
-0.006637901533395052,
-0.016385450959205627,
0.0067437030375003815,
-0.013837011530995369,
0.003829558379948139,
0.0785323977470398,
0.0007429113611578941,
-0.05015916749835014,
-0.0040687620639801025,
0.025042781606316566,
0.028704438358545303,
0.005552284885197878,
-0.02518998458981514,
0.008753933943808079,
-0.018299078568816185,
0.0361749529838562,
0.05148398503661156,
0.05045356974005699,
-0.02612839825451374,
-0.026790808886289597,
0.05512724071741104,
-0.00027068538474850357,
-0.014950227923691273,
0.03479493036866188,
0.012926197610795498,
-0.028575636446475983,
0.03347011283040047,
0.010202955454587936,
-0.03017646074295044,
0.04445507749915123,
-0.027674023061990738,
0.047914329916238785,
-0.007465913891792297,
0.053544819355010986,
-0.03860379010438919,
0.021362725645303726,
-0.06414338201284409,
-0.0009407143807038665,
-0.05637846142053604,
-0.0006003091693855822,
-0.015566637739539146,
0.03129887953400612,
0.010727363638579845,
0.013349403627216816,
0.05225679650902748,
0.01228218711912632,
0.019927503541111946,
-0.0014524721773341298,
0.007893720641732216,
0.022025136277079582,
0.020185107365250587,
-0.018492283299565315,
0.025576390326023102,
0.03534694015979767,
0.05718807503581047,
-0.03816218301653862,
-0.05317681282758713,
-0.016854656860232353,
-0.009200140833854675,
-0.010423758998513222,
-0.010009752586483955,
-0.011371373198926449,
-0.016974259167909622,
0.017369864508509636,
0.02955085039138794,
0.06473218649625778,
0.011343773454427719,
-0.0071117086336016655,
-0.01682705618441105,
-0.018308280035853386,
-0.0026036398485302925,
0.015796640887856483,
0.0017043260158970952,
0.021289125084877014,
0.007999522611498833,
-0.04703111946582794,
-0.005961691029369831,
-0.005846689455211163,
0.01720426231622696,
0.04084862396121025,
-0.048539940267801285,
-0.05748247727751732,
0.05726167559623718,
-0.00433556642383337,
-0.029771653935313225,
0.0001532398455310613,
0.02064511552453041,
-0.011012568138539791,
-0.07934201508760452,
0.030728468671441078,
0.009595746174454689,
0.017047859728336334,
0.01657865382730961,
0.01709386147558689,
0.07176109403371811,
-0.048171937465667725,
-0.01409461535513401,
-0.009954552166163921,
0.011168970726430416,
-0.005198079161345959,
-0.03194288909435272,
-0.01908109150826931,
-0.014628223143517971,
0.012328187935054302,
-0.012291387654840946,
-0.07058347761631012,
-0.08707012981176376,
0.023276355117559433,
-0.047987934201955795,
0.03255009651184082,
0.0008239875896833837,
-0.017728671431541443,
0.03249489516019821,
0.004671371541917324,
0.1028943732380867,
-0.04589030146598816,
-0.0031487480737268925,
0.011205771006643772,
0.00798572227358818,
0.03715016692876816,
-0.007176109589636326,
-0.051115982234478,
0.0020171308424323797,
-0.014784625731408596,
0.01297219842672348,
-0.02208033762872219,
0.017599869519472122,
-0.0051198783330619335,
-0.014149815775454044,
-0.020663514733314514,
-0.009121939539909363,
0.06197214499115944,
-0.022172339260578156,
0.01807827688753605,
0.03648775815963745,
0.013579407706856728,
0.027085212990641594,
0.05505364015698433,
0.028483634814620018,
-0.08132924139499664,
-0.009190940298140049,
-0.004222864285111427,
0.008183524943888187,
-0.07319631427526474,
0.028943641111254692,
-0.0054878839291632175,
-0.006982906721532345,
0.08751173317432404,
-0.05350801721215248,
-0.035696543753147125,
0.026735607534646988,
-0.004664471372961998,
0.009163339622318745,
0.017001859843730927,
0.037444572895765305,
0.014591422863304615,
0.018860287964344025,
-0.04909195005893707,
0.012824995443224907,
0.010331757366657257,
-0.04265185073018074,
-0.007815519347786903,
-0.07963641732931137,
0.030949272215366364,
-0.016551053151488304,
-0.025171583518385887,
-0.06355457007884979,
0.032697297632694244,
-0.04316705837845802,
0.01344140525907278,
-0.002224134048447013,
0.002502438146620989,
-0.03790457919239998,
-0.003910059574991465,
-0.012079784646630287,
-0.0020102306734770536,
-0.015851842239499092,
-0.006863304879516363,
-0.06072092801332474,
-0.007967322133481503,
0.03150128200650215,
0.03347011283040047,
0.038566987961530685,
0.06153053790330887,
-0.005432683043181896,
0.014122216030955315,
-0.003286750288680196,
-0.02382836304605007,
-0.0005531584611162543,
0.0208843182772398,
-0.012824995443224907,
-0.005547684617340565,
0.035696543753147125,
0.02513478323817253,
-0.028354832902550697,
0.045743100345134735,
-0.02357075922191143,
-0.03827258571982384,
0.032697297632694244,
-0.07882680743932724,
0.015520636923611164,
-0.012742194347083569,
-0.019357096403837204,
0.03437172621488571,
-0.016229048371315002,
-0.07602996379137039,
-0.01540103554725647,
0.02331315539777279,
0.03827258571982384,
0.02737961895763874,
-0.03646935522556305,
0.0026036398485302925,
0.051115982234478,
-0.04912874847650528,
-0.0324396938085556,
-0.002018280792981386,
0.041621435433626175,
-0.04706791788339615,
-0.007815519347786903,
0.0009447394404560328,
0.012696193531155586,
0.047178320586681366,
-0.011785379610955715,
0.06267135590314865,
0.02537398785352707,
-0.06749223172664642,
0.06635141372680664,
0.02923804707825184,
-0.01858428306877613,
0.024785177782177925,
0.04460228234529495,
0.040811821818351746,
-0.00651829969137907,
-0.033580511808395386,
-0.02657000534236431,
0.03878779336810112,
0.047178320586681366,
-0.0034569527488201857,
-0.05107918009161949,
0.03510773554444313,
0.018308280035853386,
0.07257071137428284,
0.012364989146590233,
0.04228384420275688,
0.05498003959655762,
-0.011334572918713093,
0.0008257126319222152,
-0.03253169730305672,
0.007875320501625538,
-0.019798701629042625,
0.03611975163221359,
0.013137800619006157,
-0.008459528908133507,
0.07772278785705566,
0.07772278785705566,
-0.013616207987070084,
-0.006338896695524454,
-0.028465235605835915,
-0.05074797570705414,
0.02001950517296791,
-0.03418772295117378,
-0.07647156715393066,
0.003673156024888158,
0.0069461059756577015,
-0.02127072401344776,
0.0892045646905899,
-0.02382836304605007,
0.044933486729860306,
-0.05906490236520767,
-0.03849338740110397,
-0.01726866327226162,
-0.007962721399962902,
-0.039634205400943756,
0.029256446287035942,
-0.020111506804823875,
0.030967673286795616,
-0.029661253094673157,
0.06458498537540436,
0.07032587379217148,
-0.02482197992503643,
-0.04084862396121025,
-0.026772409677505493,
0.017047859728336334,
-0.017176661640405655,
0.017241062596440315,
-0.018372680991888046,
0.027582021430134773,
-0.017986275255680084,
-0.05325041338801384,
0.011638177558779716,
0.00857453141361475
] |
52,195 |
osmnx.bearing
|
add_edge_bearings
|
Add compass `bearing` attributes to all graph edges.
Vectorized function to calculate (initial) bearing from origin node to
destination node for each edge in a directed, unprojected graph then add
these bearings as new edge attributes. Bearing represents angle in degrees
(clockwise) between north and the geodesic line from the origin node to
the destination node. Ignores self-loop edges as their bearings are
undefined.
Parameters
----------
G : networkx.MultiDiGraph
unprojected graph
precision : int
deprecated, do not use
Returns
-------
G : networkx.MultiDiGraph
graph with edge bearing attributes
|
def add_edge_bearings(G, precision=None):
"""
Add compass `bearing` attributes to all graph edges.
Vectorized function to calculate (initial) bearing from origin node to
destination node for each edge in a directed, unprojected graph then add
these bearings as new edge attributes. Bearing represents angle in degrees
(clockwise) between north and the geodesic line from the origin node to
the destination node. Ignores self-loop edges as their bearings are
undefined.
Parameters
----------
G : networkx.MultiDiGraph
unprojected graph
precision : int
deprecated, do not use
Returns
-------
G : networkx.MultiDiGraph
graph with edge bearing attributes
"""
if precision is None:
precision = 1
else:
warn(
"The `precision` parameter is deprecated and will be removed in the v2.0.0 release. "
"See the OSMnx v2 migration guide: https://github.com/gboeing/osmnx/issues/1123",
FutureWarning,
stacklevel=2,
)
if projection.is_projected(G.graph["crs"]): # pragma: no cover
msg = "graph must be unprojected to add edge bearings"
raise ValueError(msg)
# extract edge IDs and corresponding coordinates from their nodes
uvk = [(u, v, k) for u, v, k in G.edges if u != v]
x = G.nodes(data="x")
y = G.nodes(data="y")
coords = np.array([(y[u], x[u], y[v], x[v]) for u, v, k in uvk])
# calculate bearings then set as edge attributes
bearings = calculate_bearing(coords[:, 0], coords[:, 1], coords[:, 2], coords[:, 3])
values = zip(uvk, bearings.round(precision))
nx.set_edge_attributes(G, dict(values), name="bearing")
return G
|
(G, precision=None)
|
[
0.01390746794641018,
-0.017384333536028862,
-0.07684464752674103,
0.02708813175559044,
-0.045651067048311234,
-0.041290249675512314,
-0.047890402376651764,
0.011874384246766567,
-0.007837682962417603,
0.004667743109166622,
0.0011669357772916555,
0.005617988295853138,
0.006148357875645161,
0.06073713302612305,
-0.02188265323638916,
0.008525199256837368,
-0.004382914863526821,
0.025005940347909927,
0.032450757920742035,
-0.02325768582522869,
-0.013426206074655056,
-0.08203049004077911,
-0.033904362469911575,
-0.015842333436012268,
-0.00853993184864521,
0.05818350240588188,
-0.01598965935409069,
0.0348079539835453,
-0.009973893873393536,
0.04459032788872719,
-0.015695009380578995,
-0.09193071722984314,
-0.03274540603160858,
-0.04906900227069855,
0.039797358214855194,
-0.020880844444036484,
-0.0037666058633476496,
0.020016537979245186,
-0.05916566774249077,
0.0003802823193836957,
0.0396009236574173,
-0.030368566513061523,
0.04957972839474678,
-0.0061581796035170555,
0.03127215802669525,
-0.0017286117654293776,
-0.01725665293633938,
0.06957662105560303,
-0.0021767248399555683,
0.00495502632111311,
0.0002994071110151708,
-0.03164537996053696,
0.06553009897470474,
0.027520285919308662,
-0.019898679107427597,
0.02488808147609234,
0.020900487899780273,
0.00509744044393301,
0.0026395705062896013,
-0.0016414446290582418,
-0.01811113767325878,
0.001317329821176827,
0.020861200988292694,
-0.01570483110845089,
0.004903462715446949,
0.004508140962570906,
-0.09075211733579636,
-0.030427496880292892,
0.006767122074961662,
0.07158024609088898,
-0.008220727555453777,
0.024396998807787895,
0.03062392957508564,
0.004837166517972946,
-0.01798345521092415,
0.01707986369729042,
-0.029386401176452637,
-0.0028114495798945427,
0.002686223480850458,
0.004626000765711069,
-0.012886014766991138,
0.0022503873333334923,
0.007734555751085281,
0.0025462647899985313,
0.04895114153623581,
0.012866372242569923,
-0.0420759841799736,
0.003356551518663764,
0.03207753598690033,
-0.06890875101089478,
-0.004090720321983099,
-0.015606614761054516,
-0.012886014766991138,
0.008323854766786098,
0.04828327149152756,
0.02480950765311718,
-0.041840262711048126,
-0.053704824298620224,
-0.015213748440146446,
0.008181440643966198,
-0.0268720556050539,
0.045611780136823654,
-0.040465231984853745,
0.016863785684108734,
0.010744893923401833,
-0.04172240197658539,
-0.0373026579618454,
-0.06360505521297455,
0.02255052700638771,
-0.008314033038914204,
-0.023709481582045555,
-0.002678857184946537,
-0.0013922200305387378,
-0.008019383996725082,
-0.06050141155719757,
0.0037666058633476496,
0.06203358992934227,
-0.02981855347752571,
0.04741896316409111,
-0.038893766701221466,
0.06128714606165886,
0.039031267166137695,
0.05295838043093681,
0.02258981391787529,
-0.008898422122001648,
-0.030879292637109756,
0.024338068440556526,
0.01452623214572668,
-0.020998705178499222,
-0.09043782204389572,
-0.01495838537812233,
-0.007081415504217148,
-0.003604548517614603,
0.01015559397637844,
-0.03506331890821457,
-0.029700692743062973,
-0.0006310415337793529,
-0.011383301578462124,
0.02636132948100567,
-0.0035063319373875856,
-0.006511759012937546,
-0.07279812544584274,
0.0740160122513771,
-0.02484879456460476,
-0.062347885221242905,
0.006285861134529114,
-0.05232979357242584,
-0.03441508859395981,
0.004925561603158712,
-0.022354092448949814,
0.007498835679143667,
-0.0017408888088539243,
0.013092270120978355,
0.008785473182797432,
0.02125406824052334,
0.00498203607276082,
-0.013917289674282074,
0.04969758912920952,
-0.007970275357365608,
0.03946342319250107,
-0.0552762895822525,
-0.025791672989726067,
-0.004714395850896835,
0.02622382715344429,
0.009531918913125992,
-0.011805633082985878,
0.016785213723778725,
-0.002338782185688615,
-0.01087257545441389,
-0.017659340053796768,
0.010538638569414616,
-0.033963292837142944,
-0.0053871795535087585,
-0.04659394547343254,
-0.01820935308933258,
0.03412044048309326,
0.017796844244003296,
0.011206511408090591,
0.02909175120294094,
-0.0016574048204347491,
0.0436081625521183,
-0.03816696256399155,
0.03274540603160858,
-0.05028688907623291,
0.03421865776181221,
0.02691134251654148,
0.03302041441202164,
-0.034788310527801514,
0.01308244839310646,
-0.022255877032876015,
0.033963292837142944,
0.014516410417854786,
-0.005460841581225395,
0.07751252502202988,
-0.022845176979899406,
-0.023100540041923523,
0.03154716640710831,
0.05417626351118088,
-0.02769707515835762,
0.09248073399066925,
-0.01746290735900402,
-0.004252777900546789,
0.0006058735307306051,
-0.004645644221454859,
0.08470197767019272,
-0.008633237332105637,
-0.02186300978064537,
-0.08313050866127014,
-0.009566294960677624,
0.007135434541851282,
0.01536107249557972,
0.02196122705936432,
0.02541845105588436,
-0.020291544497013092,
-0.016176270321011543,
0.04435460641980171,
-0.002845825394615531,
0.04957972839474678,
0.032391827553510666,
-0.0036094593815505505,
-0.013524423353374004,
-0.0021570816170424223,
-0.04132953658699989,
-0.03504367545247078,
0.03665442764759064,
-0.02035047486424446,
0.03663478419184685,
-0.019152233377099037,
-0.01054846029728651,
-0.018395965918898582,
0.03773481026291847,
-0.007479192689061165,
-0.05472627654671669,
-0.013052983209490776,
-0.008392606861889362,
0.012807441875338554,
0.03449366241693497,
0.0017936802469193935,
-0.07389815151691437,
0.004326440393924713,
0.008382785134017467,
-0.03207753598690033,
-0.08776633441448212,
0.05779063329100609,
-0.028797101229429245,
-0.07032307237386703,
0.0007765248301438987,
-0.013131557032465935,
0.003179761813953519,
0.039718784391880035,
-0.06148357689380646,
-0.02771671861410141,
0.022295163944363594,
0.021352283656597137,
-0.01813078112900257,
-0.07829825580120087,
-0.041918836534023285,
-0.003309898776933551,
0.0027402425184845924,
0.002189001999795437,
0.03598655387759209,
-0.0003928663209080696,
-0.03272576257586479,
-0.022923748940229416,
0.03995450586080551,
0.04301886260509491,
-0.016647709533572197,
0.0069291796535253525,
-0.023218398913741112,
-0.039050910621881485,
0.01163866464048624,
-0.055079858750104904,
-0.04368673264980316,
0.014005684293806553,
0.016421811655163765,
0.01054846029728651,
-0.009757816791534424,
0.040347371250391006,
-0.040583088994026184,
-0.015302143059670925,
-0.004513051826506853,
-0.055787015706300735,
-0.01354406587779522,
0.07488031685352325,
-0.08996638655662537,
0.011177046224474907,
-0.036124058067798615,
0.04203669726848602,
0.012218142859637737,
-0.0638800635933876,
0.006172912195324898,
-0.0012203409569337964,
0.05775135010480881,
0.007415351923555136,
0.10607390850782394,
0.0493440106511116,
-0.010057377628982067,
-0.02702920325100422,
0.07798396050930023,
0.008102867752313614,
0.11157403141260147,
0.033943649381399155,
0.04734038934111595,
-0.02188265323638916,
0.020625481382012367,
-0.006148357875645161,
0.026773840188980103,
0.036909788846969604,
-0.010322562418878078,
0.024573788046836853,
-0.02406306192278862,
-0.03068285994231701,
-0.03647763654589653,
-0.007891702465713024,
-0.01853346824645996,
-0.03720444068312645,
-0.003123287111520767,
-0.026695266366004944,
0.022766603156924248,
-0.03072214499115944,
0.020645124837756157,
-0.02402377501130104,
-0.030407853424549103,
0.022196946665644646,
-0.02632204256951809,
-0.012856550514698029,
0.020605837926268578,
0.04309743642807007,
-0.015518219210207462,
0.02469164878129959,
-0.05896923318505287,
0.009684154763817787,
-0.07315170764923096,
0.06883017718791962,
-0.047772545367479324,
0.04694752395153046,
0.0021067457273602486,
-0.011461874470114708,
-0.018985264003276825,
0.006639440543949604,
-0.025948820635676384,
0.07896612584590912,
-0.0005678145680576563,
0.049265436828136444,
-0.0042503224685788155,
-0.002282307716086507,
-0.010293097235262394,
0.005372446961700916,
-0.029032820835709572,
0.03661514073610306,
-0.00019029462418984622,
0.006462650839239359,
-0.034532949328422546,
0.0497368760406971,
0.011147581972181797,
0.039679497480392456,
-0.04384388029575348,
-0.05955853313207626,
0.008314033038914204,
0.057908494025468826,
0.00891315471380949,
0.008260014466941357,
0.06965519487857819,
0.021312996745109558,
-0.04325458034873009,
0.0009680471266619861,
-0.03451330587267876,
0.01706022024154663,
0.03288291022181511,
-0.027598857879638672,
0.005544325802475214,
-0.028993533924221992,
0.011422588489949703,
0.028757814317941666,
0.006605064962059259,
0.0598728246986866,
0.028718527406454086,
0.03734194487333298,
0.024907724931836128,
0.008647969923913479,
-0.04062237590551376,
-0.0024615530855953693,
0.0211362075060606,
0.018454894423484802,
0.06910518556833267,
-0.004039156716316938,
0.11510983109474182,
-0.059479959309101105,
0.07165881246328354,
-0.0063840774819254875,
-0.010479709133505821,
-0.03235254064202309,
0.06317290663719177,
0.01748255081474781,
-0.07601962983608246,
-0.008746186271309853,
0.010224346071481705,
0.02125406824052334,
-0.006079606246203184,
-0.0016524939564988017,
-0.004132462665438652,
0.005451020319014788,
-0.05311552435159683,
0.0016819589072838426,
-0.007754198741167784,
-0.047693971544504166,
0.023748768493533134,
0.017394155263900757,
0.0399741493165493,
0.03571154922246933,
-0.016588781028985977,
-0.009644867852330208,
0.013023518025875092,
0.036182988435029984,
0.028856031596660614,
0.030054273083806038,
0.06183715909719467,
-0.05570844188332558,
0.030191775411367416,
0.0141530092805624,
0.03294184058904648,
-0.037538375705480576,
-0.02038976177573204,
0.017659340053796768,
0.04616179317235947,
-0.04431531950831413,
-0.031016794964671135,
0.030879292637109756,
-0.045651067048311234,
-0.019407596439123154,
0.016205735504627228,
-0.01813078112900257,
-0.01529232133179903,
-0.02402377501130104,
-0.008171618916094303,
0.03799017146229744,
0.0373026579618454,
-0.03793124109506607,
0.03054535575211048,
-0.0077983965165913105,
-0.010302918963134289,
-0.006001032888889313,
-0.010342205874621868,
-0.04663323238492012,
-0.03058464266359806,
-0.0510726198554039,
-0.007243472617119551,
0.03186145797371864,
0.07896612584590912,
-0.0036733001470565796,
0.007759109605103731,
-0.02050762251019478,
0.04136882349848747,
-0.015439646318554878,
-0.01133419293910265,
0.023061253130435944,
0.06792658567428589,
-0.05331195890903473,
-0.07071593403816223,
-0.010003358125686646,
0.06419435888528824,
-0.011599377728998661,
-0.04364744573831558,
0.05162263289093971,
0.03286326676607132,
0.015567327849566936,
0.05896923318505287,
-0.005711294244974852,
-0.0510726198554039,
-0.025929177179932594,
0.09955232590436935,
-0.05908709391951561,
0.03565261885523796,
-0.043411727994680405,
0.06026569381356239,
0.02553630992770195,
-0.03382578864693642,
0.01760041154921055,
-0.057358480989933014,
-0.04427603259682655,
-0.010823466815054417,
-0.05181906744837761,
-0.01740397699177265,
-0.009743084199726582,
0.01689325086772442,
0.08093046396970749,
-0.0012841817224398255,
-0.032706119120121,
-0.000042317533370805904,
-0.022805890068411827,
-0.025968464091420174,
-0.0030005164444446564,
-0.01907365955412388,
0.04906900227069855,
0.05539415031671524,
0.05983354151248932,
0.036084771156311035,
-0.009099765680730343,
0.03846161067485809,
0.0211362075060606,
-0.01496820617467165,
-0.032490044832229614,
-0.041211675852537155,
-0.019162055104970932,
0.008814938366413116,
0.008402428589761257,
-0.05079761520028114,
-0.00763633893802762,
0.014732486568391323,
0.08258049935102463,
0.0784161165356636,
0.0120511744171381,
0.04863684996962547,
0.0468689501285553,
0.006924268789589405,
0.03651692345738411,
-0.03700800612568855,
0.00023050203162711114,
0.03708657994866371,
-0.012886014766991138,
-0.016254844143986702,
0.022216590121388435,
0.04368673264980316,
-0.04608321934938431,
-0.024986296892166138,
0.05543343722820282,
0.02551666647195816,
-0.02559524029493332,
0.03502403199672699,
-0.006163090467453003,
-0.02854173816740513,
0.06859445571899414,
-0.03700800612568855,
0.04376530647277832,
-0.006511759012937546,
0.03229361027479172,
0.07876969873905182,
0.03441508859395981,
-0.0246720053255558,
-0.05924424156546593,
0.033982936292886734,
-0.017836131155490875,
-0.037636592984199524,
0.0068162307143211365,
-0.04600464552640915,
0.055669158697128296,
-0.011962778866291046,
-0.04871542379260063,
0.0034621343947947025,
-0.0552762895822525,
-0.02404341846704483,
0.0784161165356636,
-0.05339053273200989,
0.010735072195529938,
0.036182988435029984,
-0.012542257085442543,
-0.00871181022375822,
-0.0376758798956871,
-0.006840784568339586,
0.03586869314312935,
-0.006973376963287592,
-0.04329386726021767,
0.00218777428381145,
-0.02000671625137329,
-0.030231062322854996,
-0.010823466815054417,
-0.012846728786826134,
0.019908500835299492,
0.012090460397303104,
0.02785422094166279,
0.03235254064202309,
-0.0210379920899868,
-0.013288702815771103,
-0.08336623013019562,
-0.03268647566437721,
-0.01424140390008688,
-0.05606202408671379,
0.03588833659887314,
0.0019876579754054546,
-0.0497368760406971,
0.0025904623325914145,
-0.028698883950710297,
0.04364744573831558,
-0.04062237590551376,
0.019368309527635574,
-0.0032657012343406677,
-0.018003098666667938,
0.03775445371866226,
0.028797101229429245,
0.005200567655265331,
-0.024947011843323708,
-0.04020986706018448,
0.055158428847789764,
-0.033963292837142944,
-0.07091236859560013,
-0.01459498330950737,
-0.020743342116475105,
0.0008888600277714431,
-0.018779009580612183,
-0.009271644987165928,
0.04525819793343544,
0.008746186271309853,
0.060187119990587234,
-0.02262909896671772,
-0.02325768582522869,
0.015076245181262493,
-0.04003307595849037,
-0.03127215802669525,
-0.04722253233194351,
-0.03445437550544739,
-0.02414163574576378,
0.06065855920314789,
0.0038230803329497576,
-0.03343292325735092,
-0.029347114264965057,
-0.01982010528445244,
-0.045651067048311234,
0.07008735090494156,
-0.013927110470831394,
0.04470818489789963,
0.00565727474167943,
-0.04517962783575058,
-0.022275520488619804,
-0.03262754902243614,
-0.015213748440146446,
-0.031763240694999695,
-0.016745926812291145,
-0.08210905641317368,
-0.00821581669151783,
0.05307623744010925,
0.004920650739222765,
-0.0828162208199501,
0.0006789221079088748,
-0.07067664712667465,
0.008647969923913479,
-0.03875626251101494,
0.02037011831998825,
0.008672524243593216,
0.003476866986602545,
0.01792452484369278,
-0.02989712730050087,
0.03861875832080841,
-0.09153784811496735,
0.00944843515753746,
-0.01792452484369278,
0.004378003999590874,
0.0013382008764892817,
-0.01536107249557972,
0.007557765580713749,
-0.0053626252338290215,
0.010577925480902195,
0.04930472373962402,
-0.005667096469551325,
0.03417937085032463,
-0.01308244839310646,
0.04231170192360878,
-0.04891185462474823,
0.05020831525325775,
0.020114755257964134,
-0.049265436828136444,
0.02408270537853241,
-0.004505685530602932,
0.012915479950606823,
0.011059186421334743,
-0.0010196109069511294,
-0.0054019116796553135,
0.004402558319270611,
-0.014447658322751522,
0.041250962764024734,
0.02031118795275688,
-0.0026935897767543793,
-0.05849779397249222,
-0.008014473132789135,
0.025948820635676384,
-0.06773015111684799,
-0.03076143190264702,
-0.0348079539835453,
0.02119513787329197,
-0.00025382847525179386,
-0.00916360691189766,
0.009472989477217197,
0.03783302754163742,
0.00032871862640604377,
-0.019712068140506744,
-0.012247607111930847,
-0.0003394610539544374,
0.042783141136169434,
0.05079761520028114,
-0.004603902343660593,
-0.01242439728230238,
0.07028378546237946,
-0.04164382815361023,
0.06242645904421806,
0.04020986706018448,
0.04089738428592682,
0.0057260263711214066,
-0.008677435107529163,
0.019829927012324333,
-0.0069340905174613,
-0.03624191880226135,
0.033884719014167786,
0.02408270537853241,
-0.05044403299689293,
0.05916566774249077,
-0.026852412149310112,
0.009973893873393536,
-0.021705863997340202,
0.00852028839290142,
-0.04172240197658539,
-0.05095476284623146,
-0.04863684996962547,
0.035259753465652466,
0.03435615822672844,
-0.0392080582678318,
0.016726283356547356,
0.004299430642277002,
0.053704824298620224,
-0.05480485036969185,
-0.01978081837296486,
0.03064357303082943,
-0.031606096774339676,
0.024396998807787895,
0.04730110615491867,
0.011481517925858498,
-0.0566120371222496,
-0.007380975876003504,
-0.0019680147524923086,
-0.02557559683918953,
-0.0024247218389064074,
-0.04077952355146408,
0.03575083613395691,
0.08815920352935791,
0.045611780136823654,
0.10403099656105042,
-0.008535020984709263,
0.016962002962827682,
-0.062347885221242905,
-0.0168343223631382,
0.0299364123493433,
0.05896923318505287,
0.011196689680218697,
-0.002575729740783572,
-0.0065314024686813354,
-0.033138275146484375,
-0.03445437550544739,
0.012169034220278263,
-0.042704567313194275,
0.03353114053606987,
0.007768931332975626,
0.02180408127605915,
0.01098061352968216,
0.0015886531909927726,
0.04977616295218468,
-0.02484879456460476,
0.053665537387132645,
0.00481997849419713,
0.0049476600252091885,
-0.023630909621715546,
-0.006845695432275534,
-0.10646677017211914,
-0.05449055880308151,
0.0023571979254484177,
-0.020173685625195503,
0.018720079213380814,
0.005180924665182829,
0.06278003752231598,
-0.01685396581888199,
0.081480473279953
] |
52,196 |
osmnx.elevation
|
add_edge_grades
|
Add `grade` attribute to each graph edge.
Vectorized function to calculate the directed grade (ie, rise over run)
for each edge in the graph and add it to the edge as an attribute. Nodes
must already have `elevation` attributes to use this function.
See also the `add_node_elevations_raster` and `add_node_elevations_google`
functions.
Parameters
----------
G : networkx.MultiDiGraph
input graph with `elevation` node attribute
add_absolute : bool
if True, also add absolute value of grade as `grade_abs` attribute
precision : int
deprecated, do not use
Returns
-------
G : networkx.MultiDiGraph
graph with edge `grade` (and optionally `grade_abs`) attributes
|
def add_edge_grades(G, add_absolute=True, precision=None):
"""
Add `grade` attribute to each graph edge.
Vectorized function to calculate the directed grade (ie, rise over run)
for each edge in the graph and add it to the edge as an attribute. Nodes
must already have `elevation` attributes to use this function.
See also the `add_node_elevations_raster` and `add_node_elevations_google`
functions.
Parameters
----------
G : networkx.MultiDiGraph
input graph with `elevation` node attribute
add_absolute : bool
if True, also add absolute value of grade as `grade_abs` attribute
precision : int
deprecated, do not use
Returns
-------
G : networkx.MultiDiGraph
graph with edge `grade` (and optionally `grade_abs`) attributes
"""
if precision is None:
precision = 3
else:
warn(
"The `precision` parameter is deprecated and will be removed in the v2.0.0 release. "
"See the OSMnx v2 migration guide: https://github.com/gboeing/osmnx/issues/1123",
FutureWarning,
stacklevel=2,
)
elev_lookup = G.nodes(data="elevation")
u, v, k, lengths = zip(*G.edges(keys=True, data="length"))
uvk = tuple(zip(u, v, k))
# calculate edges' elevation changes from u to v then divide by lengths
elevs = np.array([(elev_lookup[u], elev_lookup[v]) for u, v, k in uvk])
grades = ((elevs[:, 1] - elevs[:, 0]) / np.array(lengths)).round(precision)
nx.set_edge_attributes(G, dict(zip(uvk, grades)), name="grade")
# optionally add grade absolute value to the edge attributes
if add_absolute:
nx.set_edge_attributes(G, dict(zip(uvk, np.abs(grades))), name="grade_abs")
utils.log("Added grade attributes to all edges.")
return G
|
(G, add_absolute=True, precision=None)
|
[
0.024559281766414642,
0.03328649699687958,
-0.0011456802021712065,
0.07171981781721115,
-0.016811080276966095,
-0.04915585741400719,
-0.049379631876945496,
-0.003680628724396229,
0.033230554312467575,
0.0037552204448729753,
0.02267584390938282,
0.032167624682188034,
0.023048801347613335,
0.06399958580732346,
-0.019692180678248405,
0.024111730977892876,
-0.026480015367269516,
0.004251720849424601,
0.02368283085525036,
0.028848297894001007,
-0.023253928869962692,
-0.052214112132787704,
0.02709539607167244,
-0.026741085574030876,
-0.03576666861772537,
0.02784131094813347,
0.03308137133717537,
0.00033391392207704484,
0.05001366138458252,
0.012988260947167873,
-0.056950680911540985,
-0.09786416590213776,
-0.08809266984462738,
0.011132795363664627,
0.026647845283150673,
-0.017258629202842712,
-0.06403688341379166,
0.009566371329128742,
-0.059524089097976685,
0.0011643280740827322,
0.016783107072114944,
0.012736514210700989,
0.029556917026638985,
-0.019990546628832817,
0.03927247226238251,
0.007407877594232559,
0.0033542905002832413,
-0.020139729604125023,
-0.01210248563438654,
-0.0757104679942131,
0.01057335827499628,
0.009967301040887833,
0.09167306870222092,
0.04221884161233902,
0.0010763333411887288,
0.04620949178934097,
0.034517258405685425,
-0.015328572131693363,
0.003813495161011815,
-0.0247271116822958,
0.0018508038483560085,
-0.03960813581943512,
-0.005687608849257231,
-0.00780880730599165,
-0.03822819143533707,
-0.006466158665716648,
-0.1017429307103157,
-0.020960237830877304,
0.00535194668918848,
0.06470820307731628,
-0.0005757538601756096,
0.004449854604899883,
0.001347310608252883,
-0.03511399030685425,
0.010135132819414139,
0.08771970868110657,
-0.009067540057003498,
-0.030060410499572754,
-0.0017552333883941174,
0.020755110308527946,
0.003412565216422081,
-0.015962600708007812,
0.030675791203975677,
0.046955406665802,
0.07958922535181046,
-0.009519752115011215,
-0.014526712708175182,
-0.007184102665632963,
0.055645328015089035,
-0.029538270086050034,
0.03671770915389061,
0.01719336211681366,
-0.025211958214640617,
0.002114205388352275,
0.04151022061705589,
-0.04773861914873123,
-0.03516993671655655,
-0.0013030219124630094,
-0.03229815885424614,
-0.009123483672738075,
0.019971897825598717,
0.027822664007544518,
0.007990623824298382,
0.02922125533223152,
-0.004871763288974762,
-0.07015339285135269,
-0.007701581809669733,
-0.027002155780792236,
0.07440511137247086,
0.010284315794706345,
-0.03692283853888512,
-0.0016724832821637392,
0.036605823785066605,
-0.013864711858332157,
-0.08167779445648193,
0.059785161167383194,
0.05676420032978058,
-0.012624626979231834,
0.038936808705329895,
-0.023869309574365616,
0.028848297894001007,
0.05706256628036499,
0.03852655738592148,
0.04203236103057861,
-0.031141988933086395,
-0.05885276570916176,
-0.013361218385398388,
0.0416594035923481,
0.017771447077393532,
-0.06627462804317474,
0.053258396685123444,
-0.021818039938807487,
-0.01668054424226284,
0.029855284839868546,
-0.006055905018001795,
-0.06403688341379166,
0.023552294820547104,
0.0416967011988163,
0.07261491566896439,
0.001419571228325367,
-0.016540685668587685,
-0.023086097091436386,
0.017846038565039635,
0.012950965203344822,
-0.051729269325733185,
-0.00182283204048872,
-0.043636079877614975,
0.05322109907865524,
-0.01643812097609043,
-0.03990650177001953,
0.0012703880202025175,
-0.02974339760839939,
-0.05814414471387863,
-0.024130379781126976,
0.051468197256326675,
0.009249357506632805,
-0.024410098791122437,
0.04661974310874939,
0.008937004953622818,
0.0182096716016531,
-0.04016757011413574,
-0.00361303030513227,
0.020382152870297432,
0.01186938676983118,
0.02448469027876854,
0.019692180678248405,
0.0023647865746170282,
-0.004559411201626062,
-0.036102328449487686,
0.010899696499109268,
-0.018955588340759277,
-0.017874009907245636,
-0.010489442385733128,
-0.0365125834941864,
0.04139833152294159,
0.01612110808491707,
0.05027473345398903,
0.03073173575103283,
-0.008606004528701305,
0.01133792195469141,
0.030545257031917572,
-0.03576666861772537,
0.029575565829873085,
0.004923045169562101,
0.025211958214640617,
-0.010219047777354717,
-0.010368230752646923,
-0.011710879392921925,
-0.027487000450491905,
-0.03960813581943512,
-0.005743552464991808,
-0.042890165001153946,
-0.016559332609176636,
0.04300205036997795,
0.03444266691803932,
0.008531413041055202,
-0.017006883397698402,
0.03498345613479614,
-0.013286626897752285,
0.08316962420940399,
-0.02392525225877762,
0.009855413809418678,
0.008559385314583778,
0.011309949681162834,
0.02763618528842926,
-0.018927616998553276,
-0.0006060566520318389,
-0.09182225167751312,
-0.04016757011413574,
0.012578006833791733,
-0.010284315794706345,
0.04669433459639549,
0.04740295559167862,
0.04083889722824097,
0.015496402978897095,
0.016223670914769173,
-0.0020011526066809893,
0.041286446154117584,
0.022302886471152306,
0.029016129672527313,
-0.04583653435111046,
-0.054339975118637085,
-0.0005273858550935984,
-0.000025768335035536438,
0.05437726899981499,
-0.04005568474531174,
0.04993906989693642,
-0.01119806244969368,
0.014013894833624363,
0.043113939464092255,
0.03776199370622635,
-0.03761281073093414,
-0.014741162769496441,
-0.04192047566175461,
-0.0037365725729614496,
0.04740295559167862,
0.006759862881153822,
0.02681567706167698,
0.00017904896230902523,
0.04225613549351692,
-0.027692127972841263,
-0.006857764441519976,
-0.06224668398499489,
0.09085255861282349,
0.01976677216589451,
-0.005463833920657635,
0.018610602244734764,
0.00006636029138462618,
0.004806495737284422,
0.0573609322309494,
-0.005305327009409666,
-0.01801386848092079,
0.013463782146573067,
0.04147292301058769,
-0.016503389924764633,
-0.0071514686569571495,
-0.048894789069890976,
0.03681094944477081,
-0.011897359043359756,
-0.016018543392419815,
0.05266166478395462,
-0.029128016903996468,
-0.03927247226238251,
-0.01928192563354969,
0.031141988933086395,
0.00656872196123004,
0.03705337271094322,
-0.012941640801727772,
-0.016316911205649376,
-0.012550035491585732,
-0.009790146723389626,
-0.008461483754217625,
-0.002960353856906295,
0.014470769092440605,
0.009939329698681831,
0.018452094867825508,
0.016242319718003273,
0.018041841685771942,
-0.026908917352557182,
-0.009221385233104229,
-0.005393904633820057,
0.010871724225580692,
-0.032465990632772446,
0.07787361741065979,
-0.053817834705114365,
-0.016484741121530533,
-0.021016180515289307,
0.02864317037165165,
-0.015561670996248722,
-0.056652314960956573,
0.04923044890165329,
0.009976625442504883,
0.02940773405134678,
-0.0025431071408092976,
0.10271262377500534,
0.0286804661154747,
0.02634947933256626,
0.0040372698567807674,
0.03757551312446594,
0.06631192564964294,
0.09570100903511047,
-0.012941640801727772,
0.041323740035295486,
-0.04057782515883446,
0.016475418582558632,
-0.019860010594129562,
0.013920655474066734,
-0.009109498001635075,
0.013445134274661541,
0.03759416192770004,
-0.06937018036842346,
0.008363582193851471,
-0.06023271009325981,
0.03306272253394127,
-0.059822455048561096,
-0.020475391298532486,
0.022302886471152306,
-0.04527709633111954,
0.046246785670518875,
-0.04192047566175461,
-0.0234590545296669,
0.02245206944644451,
0.02758024074137211,
-0.001737750950269401,
-0.017314573749899864,
0.013333247043192387,
0.015794768929481506,
0.021967222914099693,
0.051505494862794876,
-0.03414430096745491,
-0.06627462804317474,
-0.038190893828868866,
0.009687582962214947,
0.016223670914769173,
-0.06892263144254684,
0.06399958580732346,
0.03781793639063835,
-0.009976625442504883,
-0.022769082337617874,
-0.014097810722887516,
-0.04136103764176369,
0.059524089097976685,
-0.02577139437198639,
0.024149026721715927,
0.007076877169311047,
0.004997636657208204,
0.005104862153530121,
0.0025128042325377464,
-0.052027635276317596,
0.033957820385694504,
-0.008438173681497574,
-0.021519673988223076,
-0.02785995975136757,
0.02215370163321495,
0.00936124473810196,
-0.002573409816250205,
0.0062144119292497635,
-0.09972895681858063,
0.04061512276530266,
0.011617640033364296,
-0.025696802884340286,
-0.025640860199928284,
0.03444266691803932,
-0.001790198148228228,
-0.011916006915271282,
-0.04717918112874031,
-0.003379931440576911,
0.01906747557222843,
0.0547502264380455,
-0.025640860199928284,
0.016550010070204735,
-0.0652303472161293,
-0.004386918153613806,
0.028270212933421135,
-0.03709067031741142,
-0.007062891498208046,
-0.015328572131693363,
0.03155224397778511,
0.018125755712389946,
0.002334483666345477,
-0.013724852353334427,
-0.03181331232190132,
-0.027169987559318542,
0.029072072356939316,
0.09674528986215591,
-0.030172297731041908,
0.120017871260643,
-0.028083734214305878,
0.06724432110786438,
-0.005743552464991808,
-0.00023717795556876808,
0.032204918563365936,
0.04923044890165329,
0.004016290884464979,
-0.06023271009325981,
-0.008177103474736214,
-0.0027295860927551985,
0.0040768967010080814,
-0.01928192563354969,
0.004382255952805281,
-0.058479808270931244,
0.05862899124622345,
-0.01692296750843525,
-0.0442328117787838,
-0.016279615461826324,
-0.025398436933755875,
-0.0016083811642602086,
-0.018862348049879074,
0.05240059271454811,
0.032148975878953934,
-0.035076696425676346,
0.021538322791457176,
-0.02785995975136757,
0.0035687414929270744,
0.0495288148522377,
-0.009585019201040268,
0.05754741281270981,
-0.03750092163681984,
0.027822664007544518,
0.00007437306339852512,
0.017790094017982483,
-0.024037139490246773,
-0.03308137133717537,
0.021445082500576973,
0.02922125533223152,
-0.12203184515237808,
-0.07104849070310593,
0.0077248914167284966,
-0.048335351049900055,
0.0521768182516098,
-0.004561741836369038,
-0.029072072356939316,
0.017519699409604073,
-0.006750538945198059,
0.009016258642077446,
0.01797657273709774,
-0.027169987559318542,
0.01718403771519661,
-0.01092766784131527,
-0.04397174343466759,
0.010871724225580692,
-0.021165363490581512,
0.02426091581583023,
-0.03075038269162178,
0.04654515162110329,
-0.05557073652744293,
-0.04095078259706497,
0.010983611457049847,
0.007580370642244816,
-0.029855284839868546,
-0.005174791440367699,
-0.012121133506298065,
0.042890165001153946,
0.018200349062681198,
-0.05158008635044098,
0.01105820294469595,
0.016839051619172096,
-0.02916531264781952,
0.006419538985937834,
0.04553816467523575,
0.029556917026638985,
-0.02914666384458542,
-0.024410098791122437,
0.03144035488367081,
-0.008284328505396843,
-0.012876373715698719,
0.05650313198566437,
-0.00237644137814641,
-0.04606030881404877,
-0.021034829318523407,
0.08555655181407928,
-0.046284083276987076,
0.0015908987261354923,
-0.0755239874124527,
0.041584812104701996,
0.023832013830542564,
-0.04930504038929939,
-0.051468197256326675,
-0.02888559363782406,
-0.02135184220969677,
0.039943795651197433,
-0.05523507297039032,
0.05389242619276047,
0.010424175299704075,
0.021556969732046127,
0.023086097091436386,
-0.01799522154033184,
-0.033789992332458496,
-0.03420024365186691,
-0.01588800922036171,
-0.02922125533223152,
-0.048559125512838364,
-0.007491793017834425,
0.0754866898059845,
0.011794795282185078,
-0.01184141542762518,
0.06653569638729095,
-0.025976521894335747,
0.008592018857598305,
-0.016326233744621277,
0.0037062696646898985,
-0.0074544972740113735,
0.018964912742376328,
0.007100187242031097,
0.04013027623295784,
0.04665704071521759,
-0.03515128791332245,
0.030358778312802315,
0.04744025319814682,
0.030433369800448418,
0.028512636199593544,
0.006163130048662424,
0.07235383987426758,
0.06694595515727997,
0.015198037028312683,
0.028568578884005547,
0.0014941628323867917,
0.004370600916445255,
0.06929558515548706,
-0.009836765937507153,
0.003039607312530279,
0.0009428843040950596,
-0.008372905664145947,
-0.023291224613785744,
-0.018675869330763817,
0.021724801510572433,
-0.02159426547586918,
0.03317461162805557,
0.026946213096380234,
0.026741085574030876,
0.022806378081440926,
0.09256816655397415,
0.0013519725762307644,
-0.003223755396902561,
-0.04113726317882538,
0.026144351810216904,
0.05911383405327797,
0.015403163619339466,
-0.055645328015089035,
-0.03438672423362732,
0.06940747797489166,
0.023253928869962692,
-0.025156013667583466,
-0.008386892266571522,
-0.043412305414676666,
0.02657325379550457,
-0.002228423720225692,
-0.04844724014401436,
0.07339812815189362,
-0.06482009589672089,
-0.001334490138106048,
0.09264275431632996,
-0.03334243968129158,
-0.004895073361694813,
0.057659298181533813,
0.015496402978897095,
-0.029016129672527313,
-0.00371093163266778,
-0.012745837680995464,
0.0007027926621958613,
-0.036120977252721786,
-0.04882019758224487,
0.0009912523673847318,
-0.00033770178561098874,
-0.026629198342561722,
-0.016307586804032326,
-0.013286626897752285,
0.013118796050548553,
-0.032148975878953934,
-0.011990598402917385,
-0.009911357425153255,
-0.022284237667918205,
-0.001724930596537888,
-0.05687608942389488,
-0.055085889995098114,
-0.014741162769496441,
-0.03567342832684517,
-0.006526764016598463,
0.03075038269162178,
-0.022023167461156845,
-0.033472977578639984,
-0.011226034723222256,
0.014396176673471928,
-0.0286804661154747,
0.03565477952361107,
0.049118563532829285,
0.01210248563438654,
0.04967799782752991,
-0.030806327238678932,
0.0017948601162061095,
-0.029631510376930237,
-0.08466145396232605,
0.02605111338198185,
-0.043859854340553284,
-0.03487156704068184,
-0.021929927170276642,
-0.010731864720582962,
0.03436807543039322,
-0.039981093257665634,
-0.0312725231051445,
-0.027692127972841263,
0.03097415901720524,
0.04218154400587082,
-0.03483427315950394,
-0.019449757412075996,
-0.006470820400863886,
0.024615224450826645,
-0.022023167461156845,
-0.04087619110941887,
-0.014964938163757324,
-0.03282029926776886,
0.04900667443871498,
-0.008671272546052933,
-0.029556917026638985,
-0.014657247811555862,
-0.00710951117798686,
-0.04527709633111954,
0.05310921370983124,
-0.04042864218354225,
0.01017242856323719,
-0.0625823438167572,
-0.025417083874344826,
-0.041286446154117584,
-0.023309871554374695,
0.004559411201626062,
-0.004932369105517864,
0.0015536029823124409,
-0.0059906370006501675,
-0.01750105246901512,
0.007501116953790188,
-0.03462914749979973,
-0.020661870017647743,
0.01080645713955164,
-0.0782465785741806,
0.08965909481048584,
-0.08182697743177414,
0.03569207713007927,
-0.02866181917488575,
0.005463833920657635,
0.007505778688937426,
-0.05792037025094032,
0.05105794221162796,
-0.07019069045782089,
-0.039757318794727325,
-0.04740295559167862,
0.04538898169994354,
0.009967301040887833,
0.018200349062681198,
0.04356148838996887,
-0.02420497126877308,
0.026741085574030876,
0.022974209859967232,
-0.003484825836494565,
0.026983508840203285,
-0.01984136365354061,
0.07145874202251434,
-0.022750435397028923,
0.0029650158248841763,
-0.0017750468105077744,
-0.041286446154117584,
-0.02974339760839939,
-0.0020769096445292234,
0.02187398448586464,
0.01798589713871479,
0.0050582424737513065,
0.024838998913764954,
-0.004552417900413275,
0.019431108608841896,
0.05784577876329422,
-0.009557047858834267,
-0.015804093331098557,
-0.012559358961880207,
0.017790094017982483,
0.025659507140517235,
-0.03185060992836952,
-0.0169416144490242,
0.01767820678651333,
-0.024838998913764954,
-0.004857777152210474,
0.02110942080616951,
0.0011957964161410928,
0.09502968937158585,
-0.04673163220286369,
-0.04065241664648056,
-0.0045640729367733,
-0.0015431134961545467,
0.00016069243429228663,
0.06653569638729095,
0.003783192252740264,
-0.017594290897250175,
0.018815727904438972,
-0.08921154588460922,
0.014107134193181992,
-0.006964989937841892,
-0.010843752883374691,
-0.010004596784710884,
-0.015198037028312683,
0.03587855398654938,
-0.0028741073329001665,
-0.029650157317519188,
0.006755201146006584,
0.028717761859297752,
-0.03856385126709938,
0.08913695067167282,
0.026386775076389313,
0.0014836733462288976,
-0.06821400672197342,
0.029128016903996468,
-0.031925201416015625,
-0.024074435234069824,
-0.055085889995098114,
-0.021426433697342873,
0.023086097091436386,
-0.029631510376930237,
0.02498818375170231,
-0.019375165924429893,
0.041025374084711075,
-0.04247990995645523,
-0.06895992904901505,
0.03544965386390686,
-0.01199992187321186,
0.02523060515522957,
0.021277250722050667,
-0.03352892026305199,
-0.08995746076107025,
-0.014881022274494171,
-0.03490886464715004,
-0.0573236383497715,
0.020438095554709435,
-0.010340259410440922,
-0.012867049314081669,
0.03462914749979973,
0.05937490612268448,
0.04826075956225395,
-0.02810238115489483,
0.007337947841733694,
-0.06907181441783905,
0.011925330385565758,
-0.004904397297650576,
0.007897384464740753,
0.011365893296897411,
-0.002242409624159336,
-0.01172952726483345,
-0.011766823939979076,
-0.07906708866357803,
0.010125808417797089,
-0.05240059271454811,
0.04654515162110329,
-0.002571078948676586,
-0.01618637517094612,
0.03703472390770912,
0.0091281458735466,
0.03863844275474548,
0.024447394534945488,
0.037351738661527634,
-0.006834454368799925,
0.031216580420732498,
-0.06433524936437607,
0.007888060994446278,
-0.06321637332439423,
-0.012550035491585732,
0.03254058212041855,
-0.03927247226238251,
-0.01926327869296074,
-0.021687505766749382,
0.06344015151262283,
-0.01903017982840538,
0.06937018036842346
] |
52,197 |
osmnx.routing
|
add_edge_speeds
|
Add edge speeds (km per hour) to graph as new `speed_kph` edge attributes.
By default, this imputes free-flow travel speeds for all edges via the
mean `maxspeed` value of the edges of each highway type. For highway types
in the graph that have no `maxspeed` value on any edge, it assigns the
mean of all `maxspeed` values in graph.
This default mean-imputation can obviously be imprecise, and the user can
override it by passing in `hwy_speeds` and/or `fallback` arguments that
correspond to local speed limit standards. The user can also specify a
different aggregation function (such as the median) to impute missing
values from the observed values.
If edge `maxspeed` attribute has "mph" in it, value will automatically be
converted from miles per hour to km per hour. Any other speed units should
be manually converted to km per hour prior to running this function,
otherwise there could be unexpected results. If "mph" does not appear in
the edge's maxspeed attribute string, then function assumes kph, per OSM
guidelines: https://wiki.openstreetmap.org/wiki/Map_Features/Units
Parameters
----------
G : networkx.MultiDiGraph
input graph
hwy_speeds : dict
dict keys = OSM highway types and values = typical speeds (km per
hour) to assign to edges of that highway type for any edges missing
speed data. Any edges with highway type not in `hwy_speeds` will be
assigned the mean preexisting speed value of all edges of that highway
type.
fallback : numeric
default speed value (km per hour) to assign to edges whose highway
type did not appear in `hwy_speeds` and had no preexisting speed
values on any edge
precision : int
deprecated, do not use
agg : function
aggregation function to impute missing values from observed values.
the default is numpy.mean, but you might also consider for example
numpy.median, numpy.nanmedian, or your own custom function
Returns
-------
G : networkx.MultiDiGraph
graph with speed_kph attributes on all edges
|
def add_edge_speeds(G, hwy_speeds=None, fallback=None, precision=None, agg=np.mean):
"""
Add edge speeds (km per hour) to graph as new `speed_kph` edge attributes.
By default, this imputes free-flow travel speeds for all edges via the
mean `maxspeed` value of the edges of each highway type. For highway types
in the graph that have no `maxspeed` value on any edge, it assigns the
mean of all `maxspeed` values in graph.
This default mean-imputation can obviously be imprecise, and the user can
override it by passing in `hwy_speeds` and/or `fallback` arguments that
correspond to local speed limit standards. The user can also specify a
different aggregation function (such as the median) to impute missing
values from the observed values.
If edge `maxspeed` attribute has "mph" in it, value will automatically be
converted from miles per hour to km per hour. Any other speed units should
be manually converted to km per hour prior to running this function,
otherwise there could be unexpected results. If "mph" does not appear in
the edge's maxspeed attribute string, then function assumes kph, per OSM
guidelines: https://wiki.openstreetmap.org/wiki/Map_Features/Units
Parameters
----------
G : networkx.MultiDiGraph
input graph
hwy_speeds : dict
dict keys = OSM highway types and values = typical speeds (km per
hour) to assign to edges of that highway type for any edges missing
speed data. Any edges with highway type not in `hwy_speeds` will be
assigned the mean preexisting speed value of all edges of that highway
type.
fallback : numeric
default speed value (km per hour) to assign to edges whose highway
type did not appear in `hwy_speeds` and had no preexisting speed
values on any edge
precision : int
deprecated, do not use
agg : function
aggregation function to impute missing values from observed values.
the default is numpy.mean, but you might also consider for example
numpy.median, numpy.nanmedian, or your own custom function
Returns
-------
G : networkx.MultiDiGraph
graph with speed_kph attributes on all edges
"""
if precision is None:
precision = 1
else:
warn(
"The `precision` parameter is deprecated and will be removed in the v2.0.0 release. "
"See the OSMnx v2 migration guide: https://github.com/gboeing/osmnx/issues/1123",
FutureWarning,
stacklevel=2,
)
if fallback is None:
fallback = np.nan
edges = convert.graph_to_gdfs(G, nodes=False, fill_edge_geometry=False)
# collapse any highway lists (can happen during graph simplification)
# into string values simply by keeping just the first element of the list
edges["highway"] = edges["highway"].map(lambda x: x[0] if isinstance(x, list) else x)
if "maxspeed" in edges.columns:
# collapse any maxspeed lists (can happen during graph simplification)
# into a single value
edges["maxspeed"] = edges["maxspeed"].apply(_collapse_multiple_maxspeed_values, agg=agg)
# create speed_kph by cleaning maxspeed strings and converting mph to
# kph if necessary
edges["speed_kph"] = edges["maxspeed"].astype(str).map(_clean_maxspeed).astype(float)
else:
# if no edges in graph had a maxspeed attribute
edges["speed_kph"] = None
# if user provided hwy_speeds, use them as default values, otherwise
# initialize an empty series to populate with values
hwy_speed_avg = pd.Series(dtype=float) if hwy_speeds is None else pd.Series(hwy_speeds).dropna()
# for each highway type that caller did not provide in hwy_speeds, impute
# speed of type by taking the mean of the preexisting speed values of that
# highway type
for hwy, group in edges.groupby("highway"):
if hwy not in hwy_speed_avg:
hwy_speed_avg.loc[hwy] = agg(group["speed_kph"])
# if any highway types had no preexisting speed values, impute their speed
# with fallback value provided by caller. if fallback=np.nan, impute speed
# as the mean speed of all highway types that did have preexisting values
hwy_speed_avg = hwy_speed_avg.fillna(fallback).fillna(agg(hwy_speed_avg))
# for each edge missing speed data, assign it the imputed value for its
# highway type
speed_kph = (
edges[["highway", "speed_kph"]].set_index("highway").iloc[:, 0].fillna(hwy_speed_avg)
)
# all speeds will be null if edges had no preexisting maxspeed data and
# caller did not pass in hwy_speeds or fallback arguments
if pd.isna(speed_kph).all():
msg = (
"this graph's edges have no preexisting `maxspeed` attribute "
"values so you must pass `hwy_speeds` or `fallback` arguments."
)
raise ValueError(msg)
# add speed kph attribute to graph edges
edges["speed_kph"] = speed_kph.round(precision).to_numpy()
nx.set_edge_attributes(G, values=edges["speed_kph"], name="speed_kph")
return G
|
(G, hwy_speeds=None, fallback=None, precision=None, agg=<function mean at 0x7efd24b4dd30>)
|
[
0.0688323900103569,
-0.0058184172958135605,
-0.013377211056649685,
-0.007666923105716705,
-0.0682968944311142,
-0.05058418586850166,
-0.046876877546310425,
0.0049482290633022785,
-0.022264456376433372,
0.010081823915243149,
0.00039132716483436525,
0.028525691479444504,
0.016075309365987778,
0.018165819346904755,
0.010447406210005283,
0.05960530787706375,
-0.041563063859939575,
-0.0038772285915911198,
0.031203193590044975,
-0.020915407687425613,
0.015714876353740692,
-0.11665669083595276,
-0.045023221522569656,
-0.007986163720488548,
0.023211879655718803,
0.053879573941230774,
-0.0066577112302184105,
0.055280111730098724,
-0.011945776641368866,
-0.0011051130713894963,
0.004507985897362232,
-0.04222214221954346,
-0.06034677103161812,
0.00828480813652277,
0.04848337918519974,
-0.0033829205203801394,
-0.01275932602584362,
-0.01740376092493534,
-0.14821001887321472,
-0.006590773351490498,
0.05120207369327545,
-0.02597176656126976,
0.01145146880298853,
0.007589687593281269,
0.01678587682545185,
0.04386983811855316,
-0.02626011334359646,
0.037752773612737656,
0.06747304648160934,
-0.06298308074474335,
-0.03421023488044739,
-0.026177728548645973,
0.01696094311773777,
0.06780258566141129,
-0.02457122690975666,
0.05400314927101135,
-0.015756068751215935,
-0.010035482235252857,
0.02440645918250084,
-0.0576692670583725,
-0.02646607533097267,
-0.028525691479444504,
0.03672296553850174,
-0.0009345511207357049,
-0.04191320016980171,
-0.005421941168606281,
-0.047659531235694885,
-0.002126554260030389,
-0.023767977952957153,
0.018958771601319313,
0.005025465041399002,
0.02306770719587803,
0.0014996584504842758,
0.005282917059957981,
-0.014159864746034145,
0.030914846807718277,
-0.021296437829732895,
0.0019025709480047226,
-0.017321376129984856,
-0.018845492973923683,
-0.01606501080095768,
0.05379718914628029,
0.001027233898639679,
-0.03336578980088234,
0.011976671405136585,
-0.020184243097901344,
0.006534134037792683,
0.03476633131504059,
-0.03655819594860077,
-0.0996030643582344,
-0.0212758406996727,
-0.03398367762565613,
-0.00239301729016006,
0.041171737015247345,
0.018783705309033394,
-0.016652001067996025,
-0.06644323468208313,
-0.07076843082904816,
-0.02512732334434986,
-0.028525691479444504,
0.015014605596661568,
-0.030214577913284302,
0.011801604181528091,
0.011461767368018627,
0.026898594573140144,
-0.07707085460424423,
-0.02731051854789257,
-0.044034603983163834,
-0.006359066814184189,
-0.0021716083865612745,
-0.06314785033464432,
-0.015642788261175156,
0.00635391753166914,
-0.02626011334359646,
0.021976111456751823,
0.03330400213599205,
0.014839538373053074,
0.03285088762640953,
0.06780258566141129,
0.025230305269360542,
-0.003395793028175831,
0.011327891610562801,
-0.013758239336311817,
-0.003918420989066362,
0.004773161839693785,
-0.03274790570139885,
0.04712403193116188,
-0.022696975618600845,
0.012440085411071777,
-0.0155295105651021,
0.023767977952957153,
0.01662110723555088,
0.024221092462539673,
0.04014192894101143,
-0.05252022668719292,
-0.045929454267024994,
-0.016270972788333893,
0.018443867564201355,
0.08242586255073547,
-0.05585680529475212,
0.020843321457505226,
-0.016260674223303795,
0.019236819818615913,
-0.02450943924486637,
0.007115975953638554,
0.0021728957071900368,
-0.006456898525357246,
-0.024818381294608116,
-0.006801884155720472,
-0.0215435903519392,
-0.010287785902619362,
-0.004814354237169027,
0.014211355708539486,
0.011914882808923721,
0.03620806336402893,
-0.019741427153348923,
-0.05610395967960358,
0.08477382361888885,
-0.028010787442326546,
0.04115114361047745,
-0.03886496648192406,
-0.07995431870222092,
0.06903835386037827,
-0.045311566442251205,
-0.018330588936805725,
-0.011430872604250908,
0.02597176656126976,
0.00003006959923368413,
0.02310889959335327,
0.06706111878156662,
0.007033591158688068,
-0.029225962236523628,
-0.05099610984325409,
-0.03561077266931534,
0.04288122057914734,
0.02844330668449402,
0.03375711664557457,
-0.013747941702604294,
0.029988018795847893,
0.05252022668719292,
-0.0074609615840017796,
-0.02731051854789257,
0.003805141896009445,
-0.023829765617847443,
-0.00003552034468157217,
0.07814186066389084,
0.0649191215634346,
-0.05223188176751137,
-0.04584706947207451,
0.018104031682014465,
0.039771199226379395,
-0.03783515840768814,
-0.005715436302125454,
0.02228505350649357,
0.04848337918519974,
-0.00800161063671112,
0.07303401082754135,
0.033159829676151276,
-0.009000524878501892,
0.10421660542488098,
-0.015859048813581467,
0.022079091519117355,
0.024365266785025597,
-0.011441171169281006,
0.030317557975649834,
-0.01829969510436058,
0.022429225966334343,
-0.051531609147787094,
-0.032438963651657104,
0.04712403193116188,
-0.0475771464407444,
-0.02150239795446396,
-0.0025449139066040516,
0.02216147631406784,
0.0274340957403183,
0.009227083064615726,
-0.0436638742685318,
0.04650614410638809,
0.0006082305917516351,
-0.031594522297382355,
-0.0716334730386734,
-0.05272618681192398,
-0.038144100457429886,
0.010195102542638779,
0.0576692670583725,
-0.011956075206398964,
0.01909264735877514,
0.02737230621278286,
0.0184747613966465,
-0.003969911020249128,
0.0593169629573822,
-0.01482924073934555,
0.010153910145163536,
-0.004497688263654709,
-0.027289921417832375,
0.02228505350649357,
-0.004989421460777521,
-0.009757434017956257,
-0.018680723384022713,
0.00007820107566658407,
0.029988018795847893,
-0.08848113566637039,
-0.08699820935726166,
0.005457984283566475,
-0.04129531607031822,
-0.02949371188879013,
0.019288310781121254,
0.016487231478095055,
-0.008212721906602383,
-0.009530876763164997,
-0.003205278655514121,
0.018608637154102325,
0.031821079552173615,
0.028278537094593048,
-0.024653611704707146,
-0.0744345486164093,
-0.040656834840774536,
-0.02535388246178627,
0.006740095559507608,
-0.06903835386037827,
-0.01892787776887417,
-0.007996462285518646,
-0.05338526517152786,
0.03336578980088234,
0.004062593914568424,
0.03532242774963379,
-0.013562575913965702,
0.015076394192874432,
-0.11261983960866928,
-0.008995376527309418,
-0.047659531235694885,
-0.048277415335178375,
-0.050625380128622055,
-0.0037871203385293484,
0.0012685952242463827,
0.07637058943510056,
0.013892115093767643,
-0.07188062369823456,
-0.01275932602584362,
-0.023211879655718803,
-0.04316956549882889,
-0.04518799111247063,
-0.00042415232746861875,
-0.006250937003642321,
-0.06084107980132103,
0.05181995779275894,
-0.025477459654211998,
-0.01707422360777855,
0.05293215066194534,
-0.009896458126604557,
0.007574240677058697,
-0.03000861592590809,
-0.037073101848363876,
0.05853430926799774,
0.09886160492897034,
0.011296997778117657,
0.03194465488195419,
-0.028855230659246445,
0.045929454267024994,
-0.01881459914147854,
0.05680422857403755,
0.0011405127588659525,
0.07583508640527725,
0.02261459082365036,
0.026713229715824127,
0.02037990838289261,
0.051408033818006516,
-0.006055273115634918,
0.07229254394769669,
-0.014118672348558903,
-0.022202668711543083,
0.010189954191446304,
-0.045929454267024994,
0.022861745208501816,
0.005602157674729824,
0.021955514326691628,
-0.01707422360777855,
0.044034603983163834,
0.03151213750243187,
0.029370134696364403,
-0.03981238976120949,
0.004641861189156771,
0.0000872923483257182,
-0.022243861109018326,
-0.0002975180686917156,
-0.0010632771300151944,
0.02137882076203823,
-0.013480191119015217,
0.014376124367117882,
-0.03408665582537651,
-0.009093208238482475,
-0.031203193590044975,
0.018104031682014465,
0.013438998721539974,
-0.012862306088209152,
0.0492660328745842,
0.023747380822896957,
0.03620806336402893,
-0.00847532320767641,
0.022037899121642113,
-0.0006603646324947476,
0.07006815820932388,
-0.00870702974498272,
0.04146008566021919,
0.04292241111397743,
-0.01368615310639143,
0.024838978424668312,
-0.009953097440302372,
-0.031985849142074585,
0.01824820414185524,
0.008326000533998013,
0.0048298011533916,
-0.004618690349161625,
0.026321901008486748,
0.07785351574420929,
-0.005259746219962835,
-0.019957685843110085,
-0.02646607533097267,
0.01559129822999239,
0.003635223489254713,
-0.013459594920277596,
0.0007369566010311246,
-0.025003748014569283,
0.040656834840774536,
0.029967423528432846,
0.011389680206775665,
0.0167961735278368,
0.06141776964068413,
0.024612419307231903,
-0.004878717008978128,
-0.01886609010398388,
-0.0313267707824707,
0.040656834840774536,
0.013747941702604294,
0.006235489621758461,
0.07649416476488113,
0.002196066314354539,
0.04650614410638809,
0.020215138792991638,
-0.00003722998735611327,
0.021069878712296486,
0.022511610761284828,
-0.0061325086280703545,
0.038761988282203674,
0.11023068428039551,
0.005720585584640503,
0.094000905752182,
-0.04539395123720169,
0.05177876353263855,
-0.03515765815973282,
0.021028686314821243,
-0.006008931901305914,
0.002965848194435239,
-0.0043020243756473064,
-0.017383165657520294,
0.06426004320383072,
0.029576096683740616,
0.059028614312410355,
-0.06475435197353363,
-0.0181967131793499,
-0.047041647136211395,
-0.0413982979953289,
0.014437912963330746,
0.024221092462539673,
-0.013377211056649685,
-0.04382864385843277,
0.037073101848363876,
0.02955549955368042,
0.015024904161691666,
0.022140879184007645,
-0.012048757635056973,
0.019906194880604744,
-0.055321305990219116,
-0.008604048751294613,
-0.02871105633676052,
0.04971914738416672,
0.032892078161239624,
-0.0027907807379961014,
0.03196525201201439,
0.016837365925312042,
0.025868786498904228,
-0.03278909996151924,
-0.02417990006506443,
-0.022140879184007645,
0.0190411563962698,
-0.0632714256644249,
-0.02457122690975666,
-0.012749027460813522,
-0.0576692670583725,
0.018649829551577568,
0.025044938549399376,
0.01178100798279047,
-0.022923534736037254,
0.017486145719885826,
0.04415818303823471,
0.0319034643471241,
0.029988018795847893,
-0.0249007660895586,
0.008063399232923985,
-0.09367136657238007,
-0.040389083325862885,
-0.0218319371342659,
-0.024591824039816856,
-0.008351746015250683,
-0.004595519974827766,
-0.06706111878156662,
-0.028175557032227516,
-0.0004054870514664799,
0.015375038608908653,
-0.018340887501835823,
-0.016260674223303795,
-0.02160537987947464,
0.07118035107851028,
0.04271645098924637,
-0.0034395598340779543,
0.00027676098397932947,
0.03350996598601341,
-0.00031859695445746183,
-0.03390129283070564,
-0.017650915309786797,
0.01424224954098463,
0.03672296553850174,
-0.009855265729129314,
-0.0005026751896366477,
-0.02731051854789257,
0.12267076969146729,
0.05663945898413658,
-0.023994535207748413,
-0.012326805852353573,
0.000010091920557897538,
0.053879573941230774,
-0.06574296951293945,
-0.01707422360777855,
-0.029905635863542557,
0.011760411784052849,
-0.005151616409420967,
-0.013531682081520557,
0.03744383156299591,
0.003604329191148281,
-0.06405407935380936,
0.07904808968305588,
-0.04121293127536774,
0.03402486816048622,
-0.024200497195124626,
0.04712403193116188,
0.05911099910736084,
0.012831412255764008,
-0.07863616943359375,
-0.023973938077688217,
-0.03373652324080467,
-0.04325195029377937,
-0.029370134696364403,
0.0335923470556736,
0.021893726661801338,
0.023211879655718803,
0.07076843082904816,
0.018567444756627083,
-0.00814063474535942,
0.06318904459476471,
-0.022985322400927544,
-0.013758239336311817,
-0.017877472564578056,
-0.043128374963998795,
-0.04354029893875122,
0.040553852915763855,
0.008974780328571796,
-0.012378296814858913,
0.029699673876166344,
-0.02564222924411297,
0.06195327267050743,
0.03441619500517845,
-0.009381554089486599,
0.010833583772182465,
0.036949522793293,
0.02508613094687462,
0.024983150884509087,
-0.0027753335889428854,
0.007368278689682484,
0.025333285331726074,
-0.004026550799608231,
0.03044113516807556,
0.03398367762565613,
-0.02277936041355133,
-0.003993081860244274,
0.0026247240602970123,
0.041006967425346375,
0.013603768311440945,
0.024221092462539673,
0.058081191033124924,
-0.032768502831459045,
0.01435552816838026,
0.025436267256736755,
-0.038988545536994934,
0.07175704836845398,
0.029061192646622658,
-0.04489964619278908,
0.023747380822896957,
0.00217675743624568,
-0.0727868527173996,
-0.047659531235694885,
-0.01696094311773777,
0.011430872604250908,
-0.05210830271244049,
-0.09993260353803635,
-0.0014584660530090332,
-0.015931135043501854,
0.004322620574384928,
0.005957441404461861,
0.00847532320767641,
-0.047329992055892944,
-0.021790744736790657,
0.06512507796287537,
0.005545517895370722,
0.003962187562137842,
0.01756853051483631,
-0.009052015841007233,
-0.028175557032227516,
-0.009633856825530529,
-0.003604329191148281,
0.0007234403747133911,
-0.019659042358398438,
-0.031141405925154686,
0.0079810144379735,
-0.02815495990216732,
-0.002327366964891553,
-0.037134889513254166,
-0.05548607558012009,
0.0901288315653801,
-0.03577554225921631,
0.03532242774963379,
-0.07941882312297821,
0.010056078433990479,
0.01954576186835766,
-0.0649191215634346,
-0.018382079899311066,
0.002523030387237668,
-0.00982437189668417,
0.01891757920384407,
0.014262845739722252,
-0.09128221124410629,
-0.011482363566756248,
0.06504269689321518,
0.021069878712296486,
0.022820552811026573,
0.05346764996647835,
-0.008377491496503353,
0.024591824039816856,
0.05836953967809677,
-0.025683419778943062,
-0.002273302059620619,
-0.017887771129608154,
-0.01897936873137951,
0.01051949243992567,
0.006487792823463678,
-0.04527037590742111,
0.030317557975649834,
-0.0167961735278368,
0.032830290496349335,
0.022367438301444054,
0.05602157488465309,
-0.02166716754436493,
0.024756593629717827,
0.015632491558790207,
-0.0310590211302042,
0.020472589880228043,
-0.008392938412725925,
0.008969631046056747,
-0.00831570290029049,
-0.015488318167626858,
-0.03559017553925514,
0.02037990838289261,
0.08914021402597427,
0.0006011506193317473,
0.015519212000072002,
-0.0021188308019191027,
-0.004914760589599609,
0.006992398761212826,
0.028628673404455185,
-0.0017262162873521447,
-0.06804973632097244,
-0.04457010701298714,
0.002026147907599807,
0.01718750223517418,
-0.015375038608908653,
0.01533384621143341,
0.025436267256736755,
0.0020570422057062387,
-0.020843321457505226,
-0.038535427302122116,
0.022985322400927544,
-0.006292128935456276,
-0.07538197189569473,
0.021873129531741142,
-0.006343619432300329,
-0.032212406396865845,
-0.058122385293245316,
0.029514307156205177,
-0.024097515270113945,
0.007275596261024475,
-0.022985322400927544,
-0.021873129531741142,
0.046712107956409454,
-0.018732214346528053,
-0.005936845205724239,
-0.004314897116273642,
0.02076093666255474,
-0.0018382079433649778,
0.019339801743626595,
-0.019854705780744553,
0.01863953098654747,
0.010534939356148243,
-0.03447798267006874,
-0.016260674223303795,
0.007986163720488548,
-0.008490770123898983,
0.02607474848628044,
-0.026054151356220245,
-0.04543514549732208,
0.009927352890372276,
-0.04807145521044731,
-0.033159829676151276,
0.019607551395893097,
0.0279901921749115,
-0.01954576186835766,
-0.0028628672007471323,
0.004168149549514055,
-0.002485699951648712,
-0.008300255052745342,
0.01998857967555523,
0.011132228188216686,
-0.02457122690975666,
-0.04349910467863083,
0.0113381901755929,
0.016260674223303795,
-0.04506441578269005,
0.026280708611011505,
-0.010607026517391205,
0.009741987101733685,
-0.06767900288105011,
0.013068268075585365,
0.06302427500486374,
0.061376579105854034,
-0.03128557652235031,
0.009731689468026161,
-0.054826997220516205,
0.04178962484002113,
0.0017094819340854883,
0.02372678555548191,
0.03577554225921631,
-0.04185141250491142,
0.02844330668449402,
-0.07097439467906952,
-0.026157133281230927,
0.02759886346757412,
0.015230866149067879,
-0.08609198033809662,
-0.021234648302197456,
-0.011575045995414257,
0.05610395967960358,
-0.016538722440600395,
-0.0066216676495969296,
0.021193455904722214,
-0.05688661336898804,
-0.003228449262678623,
0.039215102791786194,
-0.0004209341714158654,
-0.04444652795791626,
0.05474461242556572,
-0.01667259819805622,
-0.0271457489579916,
-0.044364143162965775,
0.0024084642063826323,
-0.010375319048762321,
-0.01790836825966835,
0.0335923470556736,
-0.02669263258576393,
0.02222326397895813,
0.00705418735742569,
-0.06088227033615112,
0.049513187259435654,
0.014612981118261814,
0.03744383156299591,
0.02691918984055519,
-0.0007408183882944286,
-0.0626535415649414,
0.004549178294837475,
0.004999719560146332,
0.0054991766810417175,
0.025827594101428986,
0.003331430023536086,
0.006595922634005547,
0.0638069286942482,
0.027289921417832375,
0.031985849142074585,
-0.007074783556163311,
-0.017486145719885826,
-0.012800518423318863,
0.02306770719587803,
0.07060366123914719,
0.11912823468446732,
-0.03711429238319397,
-0.03565196692943573,
-0.05017226189374924,
-0.051490418612957,
-0.014190759509801865,
-0.008717327378690243,
-0.007481557782739401,
0.04803026095032692,
0.01371704787015915,
0.0011372945737093687,
-0.004806630779057741,
-0.040038950741291046,
0.025065535679459572,
0.0268574021756649,
0.04263406619429588,
0.012048757635056973,
-0.03756741061806679,
-0.02255280315876007,
-0.007357980590313673,
-0.0710979700088501,
0.012378296814858913,
-0.022923534736037254,
-0.0036609687376767397,
0.014427615329623222,
-0.04695926234126091,
0.0198753010481596,
-0.006297278217971325,
0.04679449275135994
] |
52,198 |
osmnx.routing
|
add_edge_travel_times
|
Add edge travel time (seconds) to graph as new `travel_time` edge attributes.
Calculates free-flow travel time along each edge, based on `length` and
`speed_kph` attributes. Note: run `add_edge_speeds` first to generate the
`speed_kph` attribute. All edges must have `length` and `speed_kph`
attributes and all their values must be non-null.
Parameters
----------
G : networkx.MultiDiGraph
input graph
precision : int
deprecated, do not use
Returns
-------
G : networkx.MultiDiGraph
graph with travel_time attributes on all edges
|
def add_edge_travel_times(G, precision=None):
"""
Add edge travel time (seconds) to graph as new `travel_time` edge attributes.
Calculates free-flow travel time along each edge, based on `length` and
`speed_kph` attributes. Note: run `add_edge_speeds` first to generate the
`speed_kph` attribute. All edges must have `length` and `speed_kph`
attributes and all their values must be non-null.
Parameters
----------
G : networkx.MultiDiGraph
input graph
precision : int
deprecated, do not use
Returns
-------
G : networkx.MultiDiGraph
graph with travel_time attributes on all edges
"""
if precision is None:
precision = 1
else:
warn(
"The `precision` parameter is deprecated and will be removed in the v2.0.0 release. "
"See the OSMnx v2 migration guide: https://github.com/gboeing/osmnx/issues/1123",
FutureWarning,
stacklevel=2,
)
edges = convert.graph_to_gdfs(G, nodes=False)
# verify edge length and speed_kph attributes exist
if not ("length" in edges.columns and "speed_kph" in edges.columns): # pragma: no cover
msg = "all edges must have `length` and `speed_kph` attributes."
raise KeyError(msg)
# verify edge length and speed_kph attributes contain no nulls
if pd.isna(edges["length"]).any() or pd.isna(edges["speed_kph"]).any(): # pragma: no cover
msg = "edge `length` and `speed_kph` values must be non-null."
raise ValueError(msg)
# convert distance meters to km, and speed km per hour to km per second
distance_km = edges["length"] / 1000
speed_km_sec = edges["speed_kph"] / (60 * 60)
# calculate edge travel time in seconds
travel_time = distance_km / speed_km_sec
# add travel time attribute to graph edges
edges["travel_time"] = travel_time.round(precision).to_numpy()
nx.set_edge_attributes(G, values=edges["travel_time"], name="travel_time")
return G
|
(G, precision=None)
|
[
0.03680172935128212,
0.017198318615555763,
-0.04153556376695633,
0.03809971734881401,
-0.06951862573623657,
-0.05581341311335564,
-0.04226090759038925,
0.028746580705046654,
0.008541896007955074,
0.006819200236350298,
0.0046240766532719135,
-0.01242631021887064,
0.032296955585479736,
0.03170522674918175,
0.013323448598384857,
0.054859012365341187,
-0.011099692434072495,
-0.05253027006983757,
0.0075445459224283695,
-0.019288459792733192,
0.03428211063146591,
-0.08421640843153,
-0.028689315542578697,
-0.013037127442657948,
0.0042375437915325165,
0.05169039964675903,
-0.010030762292444706,
0.04630757123231888,
0.011930021457374096,
0.009725353680551052,
-0.028307555243372917,
-0.04932348057627678,
-0.08688873797655106,
-0.0033356340136379004,
0.011357381008565426,
0.007239137310534716,
-0.0443224161863327,
-0.03600003197789192,
-0.0776882991194725,
-0.0035479883663356304,
0.02008061297237873,
-0.013476152904331684,
-0.04000852257013321,
-0.007272541057318449,
0.022504793480038643,
-0.007492053788155317,
-0.014201497659087181,
0.05172857269644737,
0.015432676300406456,
-0.07234365493059158,
0.010383890941739082,
-0.015614012256264687,
0.02727680094540119,
0.06680811941623688,
-0.024356331676244736,
0.027639474719762802,
0.007358437404036522,
0.017312847077846527,
-0.006170207168906927,
-0.010870635509490967,
-0.020939573645591736,
-0.016053037717938423,
0.021550390869379044,
0.04058116301894188,
-0.019288459792733192,
-0.003652972634881735,
-0.06738076359033585,
-0.01251220703125,
-0.00047183234710246325,
0.023268314078450203,
0.004757692571729422,
-0.017713695764541626,
-0.00022726690804120153,
0.014440098777413368,
-0.014067881740629673,
0.05199580639600754,
-0.020767781883478165,
-0.0015699908835813403,
-0.0005213419790379703,
0.007568405941128731,
-0.03853874281048775,
0.029891863465309143,
0.01098516397178173,
0.012636278755962849,
0.05860026553273201,
0.00900478009134531,
-0.013342536054551601,
0.016425253823399544,
-0.04668933153152466,
-0.07329805195331573,
-0.018906697630882263,
-0.010546139441430569,
-0.0410011000931263,
0.01297031994909048,
0.05253027006983757,
-0.012101814150810242,
-0.044475119560956955,
-0.045811284333467484,
-0.052033983170986176,
-0.0003907082136720419,
0.035904593765735626,
0.005344649776816368,
-0.050888702273368835,
0.02809758670628071,
0.03073173575103283,
-0.08169678598642349,
-0.03510289639234543,
-0.05065964534878731,
0.04081021994352341,
-0.01099470816552639,
-0.03540830314159393,
0.030254535377025604,
0.006718988064676523,
-0.029720069840550423,
-0.02767764963209629,
0.04134468361735344,
0.07035849988460541,
-0.003741254797205329,
0.015594924800097942,
-0.02009970135986805,
0.05161404609680176,
0.01916438713669777,
0.009181344881653786,
0.0035432165022939444,
-0.03033088706433773,
-0.03947405517101288,
0.022791113704442978,
0.000813030987046659,
0.016730662435293198,
-0.06356315314769745,
0.0244708601385355,
-0.024967148900032043,
0.0541718415915966,
0.05669146403670311,
-0.01686427928507328,
-0.017102878540754318,
0.01855356991291046,
0.03126620128750801,
0.031571608036756516,
0.002586428774520755,
-0.040084872394800186,
-0.031170761212706566,
0.023669162765145302,
0.003092261729761958,
-0.0030874896328896284,
-0.007826094515621662,
-0.06986220926046371,
-0.011882301419973373,
-0.038023363798856735,
0.0010355259291827679,
-0.011252396740019321,
-0.014774139039218426,
-0.020634165033698082,
0.010231186635792255,
0.03550374507904053,
-0.00900955218821764,
-0.03092261590063572,
0.04936165735125542,
-0.02916651777923107,
0.023573722690343857,
-0.0716564804315567,
-0.03997034579515457,
0.019068947061896324,
-0.016396621242165565,
0.03355676680803299,
0.011433732695877552,
0.034606605768203735,
0.007363209500908852,
-0.036897171288728714,
0.04905625060200691,
0.018267249688506126,
0.005860026925802231,
0.05180492624640465,
-0.06486114114522934,
-0.010030762292444706,
0.034205757081508636,
0.05821850523352623,
-0.010431610979139805,
0.04378795251250267,
-0.009563105180859566,
0.025444351136684418,
-0.029720069840550423,
0.0062751914374530315,
0.013857913203537464,
0.0048268865793943405,
0.037622515112161636,
-0.01270308718085289,
-0.04932348057627678,
-0.01973702758550644,
-0.0032640539575368166,
0.06367768347263336,
-0.007635213900357485,
0.007239137310534716,
0.029338309541344643,
0.030006390064954758,
0.03485475108027458,
0.021703096106648445,
0.0220085047185421,
-0.004566812422126532,
0.1337689459323883,
-0.013972441665828228,
0.01222588587552309,
0.020939573645591736,
-0.031132584437727928,
0.060012780129909515,
-0.027983058243989944,
0.017856856808066368,
-0.0429099015891552,
-0.05569888651371002,
0.03395761549472809,
-0.022657496854662895,
0.006279963534325361,
0.04229908436536789,
0.01689291000366211,
0.021130453795194626,
0.025692494586110115,
-0.09941048175096512,
0.046193044632673264,
-0.0036577447317540646,
-0.027811266481876373,
-0.005626198370009661,
-0.010383890941739082,
-0.03943587839603424,
-0.025138942524790764,
0.06909868866205215,
-0.026093343272805214,
0.02765856310725212,
0.0012753193732351065,
0.005029696971178055,
-0.01289396733045578,
0.0770774856209755,
0.0003978662134613842,
-0.02960554137825966,
-0.01527042780071497,
0.023478282615542412,
0.0047314465045928955,
0.0009549982496537268,
0.016234373673796654,
0.0045954445376992226,
-0.023993659764528275,
-0.004371160175651312,
-0.05207215994596481,
-0.09734898060560226,
0.02729588933289051,
-0.007329805288463831,
-0.05531712621450424,
0.007430017460137606,
-0.03548465669155121,
0.0064278957433998585,
0.035198334604501724,
-0.01971793919801712,
-0.005253981798887253,
0.02103501372039318,
0.03735528513789177,
-0.01762779988348484,
-0.07856635004281998,
-0.018295882269740105,
-0.004707586485892534,
-0.01781868003308773,
-0.017475096508860588,
0.01742737554013729,
0.009353136643767357,
-0.07642848789691925,
0.01762779988348484,
0.028154851868748665,
0.013313904404640198,
-0.018467674031853676,
-0.0016189039452001452,
-0.08360559493303299,
-0.01034571509808302,
0.02865114063024521,
-0.06829699128866196,
-0.04966706782579422,
0.003741254797205329,
0.007654301822185516,
-0.021874887868762016,
-0.016730662435293198,
-0.00005849438821314834,
-0.03243057057261467,
-0.014936387538909912,
-0.05199580639600754,
-0.0189448744058609,
-0.009329277090728283,
0.030598120763897896,
-0.12285058945417404,
0.01743691973388195,
-0.02901381254196167,
0.036515410989522934,
0.023802779614925385,
-0.023955482989549637,
-0.015232251957058907,
0.00017209057114087045,
0.05955467000603676,
0.04058116301894188,
0.05596611648797989,
0.05424819514155388,
-0.0009782618144527078,
-0.024604476988315582,
0.053713731467723846,
0.007873814553022385,
0.08337653428316116,
0.02636057697236538,
0.027429506182670593,
-0.003474022261798382,
0.02500532567501068,
0.0137433847412467,
0.024203628301620483,
-0.001836030394770205,
0.048254553228616714,
0.022485705092549324,
-0.058485738933086395,
-0.028116675093770027,
-0.06852604448795319,
0.03563736006617546,
-0.019183475524187088,
0.051079582422971725,
0.0004458845651242882,
0.010183466598391533,
0.032316043972969055,
-0.010507963597774506,
-0.020767781883478165,
0.026856865733861923,
0.003092261729761958,
0.015098635107278824,
-0.010746563784778118,
-0.021187718957662582,
0.0451241135597229,
-0.0025148484855890274,
0.0305026788264513,
0.005153769627213478,
-0.03428211063146591,
-0.006136803422123194,
-0.004502390045672655,
0.0326596274971962,
-0.0530647374689579,
0.06619730591773987,
0.01166278962045908,
0.00193147046957165,
-0.014115601778030396,
0.02710500918328762,
0.008374875411391258,
0.07493962347507477,
-0.04268084466457367,
0.02069143019616604,
0.02429906837642193,
-0.012187710031867027,
0.028498435392975807,
0.019269371405243874,
0.01611984521150589,
0.014592803083360195,
-0.007048256695270538,
-0.00155328877735883,
-0.003125665709376335,
0.03966493532061577,
0.005879114847630262,
0.016148477792739868,
-0.007606581784784794,
-0.056958697736263275,
0.032163336873054504,
0.011281028389930725,
-0.03357585147023201,
0.03034997545182705,
0.04226090759038925,
0.001537779811769724,
0.008751863613724709,
0.011519628576934338,
0.0074204737320542336,
0.05902020260691643,
0.025730671361088753,
-0.004507162142544985,
-0.028880197554826736,
-0.034434814006090164,
0.03947405517101288,
0.04363524913787842,
0.010975619778037071,
0.05062146857380867,
0.01932663470506668,
0.062265168875455856,
-0.01610075682401657,
0.010842003859579563,
-0.034797485917806625,
-0.00994486641138792,
-0.014993651770055294,
0.046574804931879044,
0.1156734898686409,
-0.0007694864179939032,
0.11857487261295319,
-0.035179249942302704,
0.10849639028310776,
-0.029090164229273796,
-0.03166704997420311,
-0.01990882121026516,
0.0168833676725626,
0.025158029049634933,
-0.04840725660324097,
0.011710509657859802,
-0.003920204937458038,
0.027582209557294846,
-0.03239239379763603,
-0.01487912330776453,
-0.03258327394723892,
0.018467674031853676,
-0.0598982535302639,
0.019183475524187088,
-0.013667033053934574,
0.006547195836901665,
0.013523872941732407,
0.006198839284479618,
0.022428441792726517,
0.039168648421764374,
-0.010765651240944862,
0.01877308264374733,
-0.020576901733875275,
0.019183475524187088,
0.002428952371701598,
0.010450699366629124,
0.011529172770678997,
-0.002001857617869973,
0.030559943988919258,
0.016396621242165565,
0.02351645939052105,
-0.0002624604676384479,
-0.021913064643740654,
-0.030579032376408577,
0.04061933979392052,
-0.04077204316854477,
-0.01686427928507328,
0.03390035033226013,
-0.006776252295821905,
0.0459258109331131,
-0.018458129838109016,
-0.011281028389930725,
-0.020328756421804428,
0.013189831748604774,
0.001962488517165184,
0.043329838663339615,
0.016406165435910225,
-0.045238643884658813,
-0.0007873814320191741,
-0.03529377654194832,
-0.033671293407678604,
-0.01652069389820099,
-0.0029992074705660343,
-0.0576840415596962,
0.02179853618144989,
-0.08330018073320389,
-0.030750824138522148,
0.002428952371701598,
0.026875952258706093,
-0.016415709629654884,
0.019488884136080742,
0.0022977222688496113,
0.06573919206857681,
0.001737011130899191,
-0.035370130091905594,
-0.009830337949097157,
0.03580915182828903,
-0.046345748007297516,
-0.059974607080221176,
-0.01743691973388195,
0.03292686119675636,
0.015299060381948948,
-0.024795357137918472,
0.014163321815431118,
0.024585388600826263,
0.024394508451223373,
0.060356367379426956,
0.0015759558882564306,
-0.04397883266210556,
-0.019775204360485077,
0.07761195302009583,
-0.040123049169778824,
-0.01290351152420044,
-0.047910965979099274,
0.048636313527822495,
0.02448994852602482,
-0.04917077720165253,
0.014993651770055294,
-0.014115601778030396,
-0.06501384824514389,
0.057722218334674835,
-0.09673815965652466,
0.046574804931879044,
-0.01355250459164381,
0.0163298137485981,
0.06127259135246277,
-0.007367981597781181,
-0.028173940256237984,
-0.022084856405854225,
-0.01051750686019659,
-0.04794914275407791,
-0.03302229940891266,
-0.012550382874906063,
0.00450477609410882,
0.05157586932182312,
0.04588763415813446,
0.019183475524187088,
-0.0062083834782242775,
0.04504776373505592,
0.019660675898194313,
-0.04833090305328369,
0.014134690165519714,
0.032716892659664154,
-0.02143586240708828,
0.05325561761856079,
0.035160161554813385,
-0.050697822123765945,
0.03244965896010399,
0.0057932185009121895,
0.04439876973628998,
0.030254535377025604,
0.0006812042556703091,
0.04260449483990669,
0.07341258227825165,
0.020004261285066605,
0.010775195434689522,
-0.016243917867541313,
-0.010364802554249763,
0.036324530839920044,
-0.035141073167324066,
0.0019195404602214694,
0.040084872394800186,
0.03302229940891266,
-0.021111367270350456,
-0.01916438713669777,
0.05890567600727081,
0.0062751914374530315,
-0.011777317151427269,
0.06902233511209488,
0.00687646446749568,
0.04378795251250267,
0.06535743176937103,
-0.03832877427339554,
0.044627826660871506,
0.00881867203861475,
-0.021378599107265472,
0.032869596034288406,
-0.006823972333222628,
-0.05172857269644737,
-0.08551439642906189,
0.013294816017150879,
-0.02218029648065567,
-0.04222273454070091,
0.0001832749549066648,
-0.031743403524160385,
0.036515410989522934,
0.03550374507904053,
-0.0024432684294879436,
0.034434814006090164,
-0.04688021540641785,
-0.048063673079013824,
0.08246031403541565,
-0.017971385270357132,
-0.019383899867534637,
0.010784739628434181,
0.0015139197930693626,
-0.006003187038004398,
-0.01914529874920845,
0.027047745883464813,
-0.018992595374584198,
-0.021703096106648445,
-0.07604672759771347,
0.023611899465322495,
0.003333248198032379,
-0.03399578854441643,
-0.04397883266210556,
-0.05379008129239082,
0.051079582422971725,
-0.027009569108486176,
0.05516441911458969,
0.001983962720260024,
-0.018085913732647896,
0.014468730427324772,
-0.08414005488157272,
-0.03220151364803314,
-0.03355676680803299,
-0.03523651137948036,
0.07455786317586899,
0.019870644435286522,
-0.04966706782579422,
-0.012178165838122368,
0.03806154057383537,
0.04397883266210556,
-0.012922599911689758,
0.03643905743956566,
-0.0246235653758049,
0.032697804272174835,
-0.007267769426107407,
-0.025444351136684418,
0.016988350078463554,
-0.04039028286933899,
-0.02124498225748539,
0.04764373600482941,
-0.006833516526967287,
-0.03349950164556503,
-0.010183466598391533,
-0.0016928700497373939,
0.0595928430557251,
-0.011023339815437794,
0.03577097877860069,
-0.032869596034288406,
0.00015344990242738277,
0.05264480039477348,
-0.03754616528749466,
-0.060547247529029846,
-0.02427997998893261,
-0.02746768295764923,
0.004130173474550247,
-0.012178165838122368,
-0.028918372467160225,
0.03302229940891266,
0.05554618313908577,
-0.007931078784167767,
-0.0086182476952672,
-0.007153240963816643,
-0.0274867694824934,
-0.04584946110844612,
0.03947405517101288,
-0.01652069389820099,
-0.03695443645119667,
-0.038615092635154724,
-0.029147429391741753,
-0.02613152004778385,
-0.05871479585766792,
-0.03034997545182705,
0.027734914794564247,
-0.040657512843608856,
-0.05882932245731354,
-0.05302656069397926,
0.011805949732661247,
0.004268561955541372,
-0.08963741362094879,
-0.019107121974229813,
-0.07043484598398209,
0.026990480720996857,
-0.056996870785951614,
0.014335114508867264,
-0.003254509996622801,
0.01184412557631731,
0.018906697630882263,
-0.026799600571393967,
0.06986220926046371,
-0.0943712443113327,
-0.02101592719554901,
-0.05264480039477348,
0.0034453903790563345,
0.00450954819098115,
-0.03319409117102623,
0.035370130091905594,
0.03714531660079956,
-0.004091997630894184,
0.020042436197400093,
0.019402988255023956,
-0.004991521127521992,
-0.014735963195562363,
0.04607851430773735,
-0.041459210216999054,
-0.02574975974857807,
0.009644229896366596,
-0.05291203409433365,
-0.004616918507963419,
0.02372642792761326,
0.040275752544403076,
-0.013018039986491203,
-0.02353554777801037,
-0.04420788958668709,
0.013332992792129517,
0.008174451068043709,
0.025635231286287308,
-0.000589044822845608,
-0.02597881481051445,
-0.057187750935554504,
0.018706273287534714,
0.059974607080221176,
-0.04764373600482941,
0.008708915673196316,
-0.0052826134487986565,
-0.015327692031860352,
-0.018047736957669258,
0.02958645485341549,
0.053751904517412186,
0.09131716191768646,
-0.028956549242138863,
-0.039932169020175934,
-0.04260449483990669,
0.008957060053944588,
0.039932169020175934,
0.05191945657134056,
0.019422074779868126,
-0.02429906837642193,
0.06738076359033585,
-0.04359707236289978,
0.026436928659677505,
0.034950193017721176,
0.03361402824521065,
-0.0653192549943924,
-0.007014852948486805,
0.018477218225598335,
0.015404043719172478,
-0.018906697630882263,
-0.010870635509490967,
0.04554405063390732,
-0.0348738394677639,
0.021932151168584824,
0.006074767094105482,
-0.008489403873682022,
-0.06390674412250519,
0.01932663470506668,
-0.00516331335529685,
-0.022810202091932297,
-0.010469786822795868,
-0.011414645239710808,
0.034759312868118286,
-0.006905096583068371,
0.011051972396671772,
0.0016797470161691308,
0.022428441792726517,
-0.019756115972995758,
-0.050735995173454285,
0.06356315314769745,
-0.019870644435286522,
0.027047745883464813,
0.031762488186359406,
-0.0045119342394173145,
-0.08925565332174301,
0.029987303540110588,
-0.034415725618600845,
-0.031189849600195885,
0.05344649776816368,
-0.015232251957058907,
-0.019832467660307884,
0.07635214179754257,
0.05520259588956833,
0.04248996451497078,
-0.02239026501774788,
0.015575836412608624,
-0.06791523098945618,
0.00648515997454524,
0.03529377654194832,
0.06257057934999466,
-0.03474022448062897,
0.026856865733861923,
0.024528125301003456,
-0.009582193568348885,
-0.05818032845854759,
-0.007864270359277725,
-0.04955253750085831,
0.04699474200606346,
-0.001170335104689002,
-0.00730117317289114,
0.005444861948490143,
-0.041077449917793274,
0.022123033180832863,
-0.048292726278305054,
0.043138958513736725,
-0.017675520852208138,
-0.04168826714158058,
-0.05401913821697235,
-0.012159078381955624,
-0.06425032764673233,
0.008780496194958687,
-0.006943272892385721,
-0.002827415242791176,
0.047109268605709076,
-0.015890788286924362,
0.05344649776816368,
-0.032965037971735,
0.0943712443113327
] |
52,199 |
osmnx.elevation
|
add_node_elevations_google
|
Add an `elevation` (meters) attribute to each node using a web service.
By default, this uses the Google Maps Elevation API but you can optionally
use an equivalent API with the same interface and response format, such as
Open Topo Data, via the `settings` module's `elevation_url_template`. The
Google Maps Elevation API requires an API key but other providers may not.
For a free local alternative see the `add_node_elevations_raster`
function. See also the `add_edge_grades` function.
Parameters
----------
G : networkx.MultiDiGraph
input graph
api_key : string
a valid API key, can be None if the API does not require a key
batch_size : int
max number of coordinate pairs to submit in each API call (if this is
too high, the server will reject the request because its character
limit exceeds the max allowed)
pause : float
time to pause between API calls, which can be increased if you get
rate limited
max_locations_per_batch : int
deprecated, do not use
precision : int
deprecated, do not use
url_template : string
deprecated, do not use
Returns
-------
G : networkx.MultiDiGraph
graph with node elevation attributes
|
def add_node_elevations_google(
G,
api_key=None,
batch_size=350,
pause=0,
max_locations_per_batch=None,
precision=None,
url_template=None,
):
"""
Add an `elevation` (meters) attribute to each node using a web service.
By default, this uses the Google Maps Elevation API but you can optionally
use an equivalent API with the same interface and response format, such as
Open Topo Data, via the `settings` module's `elevation_url_template`. The
Google Maps Elevation API requires an API key but other providers may not.
For a free local alternative see the `add_node_elevations_raster`
function. See also the `add_edge_grades` function.
Parameters
----------
G : networkx.MultiDiGraph
input graph
api_key : string
a valid API key, can be None if the API does not require a key
batch_size : int
max number of coordinate pairs to submit in each API call (if this is
too high, the server will reject the request because its character
limit exceeds the max allowed)
pause : float
time to pause between API calls, which can be increased if you get
rate limited
max_locations_per_batch : int
deprecated, do not use
precision : int
deprecated, do not use
url_template : string
deprecated, do not use
Returns
-------
G : networkx.MultiDiGraph
graph with node elevation attributes
"""
if max_locations_per_batch is None:
max_locations_per_batch = batch_size
else:
warn(
"The `max_locations_per_batch` parameter is deprecated and will be "
"removed the v2.0.0 release, use the `batch_size` parameter instead. "
"See the OSMnx v2 migration guide: https://github.com/gboeing/osmnx/issues/1123",
FutureWarning,
stacklevel=2,
)
if precision is None:
precision = 3
else:
warn(
"The `precision` parameter is deprecated and will be removed in the v2.0.0 release. "
"See the OSMnx v2 migration guide: https://github.com/gboeing/osmnx/issues/1123",
FutureWarning,
stacklevel=2,
)
if url_template is None:
url_template = settings.elevation_url_template
else:
warn(
"The `url_template` parameter is deprecated and will be removed "
"in the v2.0.0 release. Configure the `settings` module's "
"`elevation_url_template` instead. "
"See the OSMnx v2 migration guide: https://github.com/gboeing/osmnx/issues/1123",
FutureWarning,
stacklevel=2,
)
# make a pandas series of all the nodes' coordinates as 'lat,lon'
# round coordinates to 5 decimal places (approx 1 meter) to be able to fit
# in more locations per API call
node_points = pd.Series(
{node: f'{data["y"]:.5f},{data["x"]:.5f}' for node, data in G.nodes(data=True)}
)
n_calls = int(np.ceil(len(node_points) / max_locations_per_batch))
domain = _downloader._hostname_from_url(url_template)
utils.log(f"Requesting node elevations from {domain!r} in {n_calls} request(s)")
# break the series of coordinates into chunks of max_locations_per_batch
# API format is locations=lat,lon|lat,lon|lat,lon|lat,lon...
results = []
for i in range(0, len(node_points), max_locations_per_batch):
chunk = node_points.iloc[i : i + max_locations_per_batch]
locations = "|".join(chunk)
url = url_template.format(locations=locations, key=api_key)
# download and append these elevation results to list of all results
response_json = _elevation_request(url, pause)
if "results" in response_json and len(response_json["results"]) > 0:
results.extend(response_json["results"])
else:
raise InsufficientResponseError(str(response_json))
# sanity check that all our vectors have the same number of elements
msg = f"Graph has {len(G):,} nodes and we received {len(results):,} results from {domain!r}"
utils.log(msg)
if not (len(results) == len(G) == len(node_points)): # pragma: no cover
err_msg = f"{msg}\n{response_json}"
raise InsufficientResponseError(err_msg)
# add elevation as an attribute to the nodes
df_elev = pd.DataFrame(node_points, columns=["node_points"])
df_elev["elevation"] = [result["elevation"] for result in results]
df_elev["elevation"] = df_elev["elevation"].round(precision)
nx.set_node_attributes(G, name="elevation", values=df_elev["elevation"].to_dict())
utils.log(f"Added elevation data from {domain!r} to all nodes.")
return G
|
(G, api_key=None, batch_size=350, pause=0, max_locations_per_batch=None, precision=None, url_template=None)
|
[
0.04761967808008194,
-0.011358016170561314,
-0.01770600490272045,
0.04011928662657738,
-0.013535864651203156,
0.00256116921082139,
-0.0971144586801529,
-0.06633159518241882,
-0.003073891391977668,
0.01845799759030342,
0.02005964331328869,
0.0014636996202170849,
0.021055789664387703,
0.0693395659327507,
0.013926509767770767,
0.019542038440704346,
-0.05047139152884483,
0.0015674649039283395,
0.008716276846826077,
0.000043871314119314775,
-0.022989483550190926,
-0.029220279306173325,
0.00788615457713604,
-0.019415078684687614,
0.0014490504981949925,
0.01744231954216957,
0.056292008608579636,
0.0322282500565052,
0.00047640432603657246,
-0.012910831719636917,
-0.03935752809047699,
-0.08164490014314651,
-0.05340123176574707,
-0.007363666780292988,
-0.03021642565727234,
-0.024102823808789253,
0.010000523179769516,
0.023966098204255104,
-0.08016044646501541,
-0.019678764045238495,
-0.04179906100034714,
-0.0005404945695772767,
0.009741720743477345,
0.0005838318029418588,
0.04281473904848099,
0.020606547594070435,
0.0029444899410009384,
-0.01889747381210327,
-0.04183812811970711,
-0.06086255982518196,
-0.035451073199510574,
-0.030665667727589607,
0.05469036102294922,
0.06828482449054718,
0.04093964397907257,
0.03289234638214111,
-0.007519925013184547,
0.018516594544053078,
0.037697285413742065,
-0.026485761627554893,
-0.01855565793812275,
-0.015889503061771393,
0.007456445135176182,
0.020860467106103897,
-0.0397481732070446,
0.043830420821905136,
-0.10070839524269104,
-0.015977399423718452,
-0.039416126906871796,
0.048127517104148865,
0.01360422745347023,
-0.009863797575235367,
-0.008804171346127987,
-0.040002092719078064,
0.03515809029340744,
0.09297361969947815,
0.0011768194381147623,
-0.010703684762120247,
-0.05640920251607895,
-0.008301216177642345,
-0.027091260999441147,
-0.0004159763630013913,
0.028106939047574997,
0.039552852511405945,
0.08664515614509583,
0.006719101686030626,
0.009033676236867905,
-0.011904919520020485,
-0.015508623793721199,
-0.020723741501569748,
0.01785249635577202,
0.016807520762085915,
-0.058323364704847336,
-0.02234491892158985,
0.03742383420467377,
-0.023067614063620567,
-0.0005847474094480276,
-0.0014429466100409627,
0.0005798643105663359,
0.002732076682150364,
0.016729392111301422,
-0.004499747417867184,
0.004909925162792206,
0.038927819579839706,
0.003701365552842617,
-0.08062922209501266,
-0.05605762079358101,
0.016465704888105392,
0.046486809849739075,
0.013389372266829014,
-0.050549522042274475,
0.020879998803138733,
0.029708586633205414,
0.016485238447785378,
-0.01850682869553566,
0.06551124155521393,
0.04281473904848099,
0.01934671588242054,
-0.011875621974468231,
-0.006357754580676556,
0.06973021477460861,
0.033986154943704605,
-0.017022375017404556,
0.020157305523753166,
-0.017735302448272705,
-0.02672014757990837,
0.022188661620020866,
0.046135228127241135,
0.005063741467893124,
-0.08359812200069427,
-0.014785930514335632,
-0.0033742000814527273,
-0.007822674699127674,
0.05234649032354355,
0.02195427380502224,
-0.02535288967192173,
-0.00013619182573165745,
0.0039040129631757736,
-0.0003256396157667041,
0.008838352747261524,
-0.03945519030094147,
-0.010850177146494389,
0.016221551224589348,
-0.004775640554726124,
-0.024942710995674133,
-0.048869743943214417,
-0.06820669770240784,
0.015274236910045147,
-0.006767932325601578,
-0.05949530005455017,
-0.02384890429675579,
-0.003979700617492199,
-0.0023133535869419575,
-0.025860728695988655,
0.001210390473715961,
-0.023614516481757164,
-0.02615371346473694,
0.04914319887757301,
0.03980677202343941,
0.011035733856260777,
-0.06078443303704262,
-0.02791161648929119,
0.037306640297174454,
0.02605605125427246,
0.0172665286809206,
-0.005395790096372366,
0.013467501848936081,
-0.016397342085838318,
-0.03506042808294296,
0.03726757690310478,
0.016973543912172318,
-0.0016651261830702424,
-0.032267313450574875,
-0.05707329884171486,
0.00288833468221128,
0.008437941782176495,
0.07250379770994186,
0.002197380643337965,
0.011250589042901993,
0.04996355250477791,
-0.06523779034614563,
0.0007568755536340177,
0.02521616406738758,
0.003103189868852496,
-0.019366247579455376,
-0.009121570736169815,
0.03330252319574356,
-0.011983049102127552,
-0.028829634189605713,
-0.02867337502539158,
-0.028771037235856056,
-0.005112572107464075,
0.008310982026159763,
0.05648733302950859,
-0.02468879148364067,
0.030821925029158592,
-0.011787726543843746,
0.013457736000418663,
0.008618615567684174,
0.08555135130882263,
-0.06711288541555405,
0.010518128983676434,
0.02742331102490425,
-0.03175947442650795,
-0.02976718358695507,
-0.004494864027947187,
-0.03224778175354004,
-0.0864107757806778,
-0.027442842721939087,
0.019141627475619316,
-0.004980729427188635,
0.04027554392814636,
0.04707277566194534,
0.034962765872478485,
0.007598054129630327,
-0.013018259778618813,
-0.027794422581791878,
0.05414345860481262,
0.013125686906278133,
-0.015537922270596027,
-0.022637903690338135,
-0.06301110982894897,
0.009722188115119934,
-0.058987461030483246,
0.03634955734014511,
-0.019415078684687614,
0.025802131742239,
-0.0037526378873735666,
-0.007012085523456335,
-0.06078443303704262,
0.09148916602134705,
-0.0034327968023717403,
0.02181754820048809,
0.001543049467727542,
-0.02234491892158985,
-0.03269702196121216,
0.0019874086137861013,
-0.004096894059330225,
0.0658237561583519,
0.02945466712117195,
-0.00476831616833806,
-0.04922132566571236,
-0.03175947442650795,
0.007646884769201279,
-0.000050967024435522035,
0.05203397199511528,
-0.015830906108021736,
0.030411748215556145,
0.0371113158762455,
-0.028868697583675385,
-0.017393488436937332,
-0.014151130802929401,
0.006313806865364313,
0.026173245161771774,
0.008892066776752472,
-0.023751243948936462,
-0.01143614575266838,
0.030450811609625816,
0.00890183262526989,
-0.039650510996580124,
0.040744319558143616,
-0.0038185592275112867,
-0.06750353425741196,
0.04597896710038185,
0.007983815856277943,
-0.01055719330906868,
0.053244974464178085,
-0.0016309447819367051,
-0.0032960709650069475,
-0.0037721700500696898,
-0.025821663439273834,
0.10242723673582077,
-0.022989483550190926,
-0.02791161648929119,
0.007915453054010868,
0.020743273198604584,
-0.006875359918922186,
-0.01943461038172245,
-0.00881393812596798,
-0.0160848256200552,
-0.012949896976351738,
-0.024005163460969925,
-0.026778744533658028,
0.04871348664164543,
-0.06562843173742294,
-0.046135228127241135,
-0.022579306736588478,
0.03359550982713699,
0.005078390706330538,
-0.049533843994140625,
0.0007257459801621735,
-0.005913395434617996,
0.010625556111335754,
-0.00723182363435626,
0.02570446953177452,
-0.005981758236885071,
0.018389634788036346,
-0.011387314647436142,
-0.009912627749145031,
0.023829372599720955,
0.0675816610455513,
-0.002337768906727433,
0.06293298304080963,
-0.04394761100411415,
0.021407369524240494,
0.0409005768597126,
0.04656493663787842,
-0.0008435500203631818,
0.029005425050854683,
0.02310667745769024,
-0.05906559154391289,
-0.019776426255702972,
-0.026114648208022118,
-0.03224778175354004,
-0.05738581717014313,
-0.0533621683716774,
0.04668213054537773,
-0.008184022270143032,
0.03515809029340744,
0.016416875645518303,
-0.03029455430805683,
0.037912141531705856,
0.0060354722663760185,
-0.01629968173801899,
-0.009438970126211643,
-0.004922132473438978,
0.08414503186941147,
0.067308209836483,
0.036154236644506454,
-0.04906506836414337,
-0.011709596961736679,
-0.0693395659327507,
0.00821820367127657,
0.05293245613574982,
-0.011543572880327702,
0.045119550079107285,
0.003911337349563837,
-0.05273713544011116,
0.04531487077474594,
0.012510420754551888,
-0.026798278093338013,
0.07004272937774658,
-0.0589093342423439,
0.05015887692570686,
-0.003352226223796606,
-0.018145481124520302,
0.07031618058681488,
-0.028731971979141235,
-0.03361504152417183,
0.018604489043354988,
-0.026798278093338013,
0.07277724891901016,
-0.018272440880537033,
0.038185592740774155,
0.023087145760655403,
-0.002881010062992573,
0.017344657331705093,
-0.0388692207634449,
0.027755359187722206,
0.038009800016880035,
-0.05883120372891426,
-0.015342599712312222,
-0.03574405983090401,
0.03302907198667526,
-0.03302907198667526,
-0.05914372205734253,
0.05754207447171211,
-0.02707172930240631,
0.10047400742769241,
-0.04906506836414337,
0.02279416099190712,
-0.09648942202329636,
-0.054924748837947845,
0.05277619883418083,
-0.030978184193372726,
0.002243769820779562,
-0.032404039055109024,
-0.011006435379385948,
0.011611935682594776,
0.03265795856714249,
0.002805322641506791,
-0.003127605188637972,
0.012871767394244671,
-0.0003747754672076553,
0.11414659768342972,
-0.03869343176484108,
0.11703737825155258,
0.006680036894977093,
0.027227988466620445,
-0.017120037227869034,
0.03918173909187317,
0.01802828721702099,
0.027267051860690117,
0.05234649032354355,
-0.03220871835947037,
0.033107202500104904,
-0.005791318602859974,
-0.011533807031810284,
-0.040431804955005646,
-0.050862036645412445,
-0.02605605125427246,
0.05035419762134552,
-0.0065530771389603615,
0.008867651224136353,
0.004297100007534027,
-0.08805148303508759,
0.026602955535054207,
-0.08195741474628448,
0.046486809849739075,
0.037208978086709976,
-0.015664882957935333,
0.008779756724834442,
-0.006411468144506216,
0.03697459027171135,
-0.000033685540984151885,
0.004384994972497225,
-0.012578783556818962,
0.06195636838674545,
0.035841718316078186,
-0.014365985989570618,
0.03466978296637535,
-0.008911599405109882,
0.017901327461004257,
0.016143422573804855,
-0.017334891483187675,
-0.06387052685022354,
-0.04761967808008194,
-0.03599797934293747,
-0.048479098826646805,
0.036681607365608215,
-0.008496538735926151,
-0.02994297258555889,
0.005010027904063463,
-0.038986414670944214,
0.0336541049182415,
0.01819431222975254,
-0.010742750018835068,
-0.03466978296637535,
0.018760748207569122,
-0.03091958723962307,
-0.009282712824642658,
-0.035275284200906754,
0.039650510996580124,
-0.017334891483187675,
0.0388692207634449,
-0.04418199881911278,
-0.05062764883041382,
-0.0029249577783048153,
0.0528152659535408,
-0.025684937834739685,
0.05734675005078316,
-0.01682705245912075,
0.0728553757071495,
0.02226679027080536,
-0.027677230536937714,
-0.0029151916969567537,
0.00468286219984293,
0.0032765385694801807,
-0.03185713663697243,
-0.0002494942455086857,
0.007349017541855574,
-0.03320486471056938,
-0.01780366525053978,
0.014365985989570618,
-0.021231580525636673,
0.005703423637896776,
0.02209099940955639,
-0.006064770743250847,
0.007510158699005842,
-0.012070944532752037,
0.03158368542790413,
-0.01285223476588726,
-0.029982037842273712,
-0.03371270373463631,
0.052229296416044235,
0.04031461104750633,
-0.024884114041924477,
-0.01948344148695469,
-0.019317416474223137,
-0.03359550982713699,
0.0316227488219738,
-0.09852077811956406,
0.0728553757071495,
-0.01855565793812275,
0.002380495658144355,
0.049182262271642685,
0.0025684938300400972,
-0.01956157013773918,
-0.014492945745587349,
-0.02093859575688839,
-0.048127517104148865,
-0.01670009270310402,
0.020430756732821465,
0.0406271256506443,
0.002097277669236064,
-0.013145219534635544,
0.04836190491914749,
-0.028067875653505325,
0.027306117117404938,
-0.03340018540620804,
0.011924452148377895,
0.03830278664827347,
0.033947087824344635,
-0.006543311290442944,
0.03843951225280762,
0.04113496467471123,
-0.027677230536937714,
0.043791353702545166,
0.025470083579421043,
0.06738633662462234,
-0.011504508554935455,
-0.016026228666305542,
0.07383199036121368,
0.021407369524240494,
-0.026388099417090416,
0.05601855739951134,
0.022383984178304672,
0.05637013912200928,
0.02384890429675579,
-0.017413020133972168,
0.019463909789919853,
0.06558936834335327,
0.036681607365608215,
-0.03713085129857063,
-0.020645610988140106,
0.07961354404687881,
-0.03795120492577553,
0.0037501961924135685,
-0.023594984784722328,
0.07269911468029022,
-0.005967108998447657,
0.0287124402821064,
0.02185661345720291,
-0.03574405983090401,
-0.004218970891088247,
-0.04086151346564293,
0.036818332970142365,
-0.014756632037460804,
-0.030626602470874786,
-0.026974067091941833,
0.011221290566027164,
-0.006045238114893436,
-0.02853664942085743,
-0.06875360012054443,
-0.04937758296728134,
-0.01677822135388851,
0.04914319887757301,
0.016397342085838318,
0.018389634788036346,
-0.0379902683198452,
0.07754312455654144,
0.02150503173470497,
0.013408904895186424,
0.0083305137231946,
0.021172983571887016,
-0.006274742539972067,
-0.0406271256506443,
-0.02535288967192173,
-0.01802828721702099,
-0.02619277685880661,
-0.0080424128100276,
-0.013613994233310223,
-0.047854065895080566,
0.009795434772968292,
0.0050490922294557095,
-0.004035855643451214,
-0.05941717326641083,
0.005849915556609631,
-0.037658222019672394,
0.010606023482978344,
0.01616295613348484,
0.022364452481269836,
-0.017168866470456123,
-0.06047191470861435,
-0.0342010073363781,
-0.021895676851272583,
-0.03064613603055477,
-0.013252646662294865,
0.030196892097592354,
-0.02472785674035549,
0.014424582943320274,
0.023692646995186806,
0.029982037842273712,
-0.05515913665294647,
0.05379187688231468,
0.07980886101722717,
0.02318480797111988,
0.025763066485524178,
0.032833751291036606,
-0.011270120739936829,
-0.008115659467875957,
-0.016016462817788124,
0.017559513449668884,
0.0031837604474276304,
-0.04676026105880737,
0.06140946224331856,
-0.00039400256355293095,
0.04730716347694397,
0.02703266404569149,
-0.013379606418311596,
-0.05398720130324364,
0.07558989524841309,
0.02681780979037285,
-0.05094016715884209,
-0.002387820277363062,
-0.039650510996580124,
-0.02566540613770485,
-0.015489092096686363,
-0.0023133535869419575,
-0.02468879148364067,
0.03369316831231117,
-0.0597296878695488,
-0.02752097137272358,
-0.04097870737314224,
-0.01418042927980423,
-0.014414817094802856,
-0.022403515875339508,
0.07726966589689255,
0.020997192710638046,
-0.06836295127868652,
-0.022286321967840195,
0.0027857902459800243,
-0.031427424401044846,
-0.015205874107778072,
0.002359742531552911,
0.007602937053889036,
0.0031691112089902163,
-0.011475210078060627,
0.0009937043068930507,
0.05039326101541519,
-0.03642768785357475,
-0.006621440406888723,
-0.013594461604952812,
-0.0670347586274147,
0.04472890496253967,
-0.0275600366294384,
0.06558936834335327,
-0.004524162504822016,
-0.007568755652755499,
-0.034435395151376724,
-0.041369352489709854,
0.07707434892654419,
-0.0446898378431797,
-0.022637903690338135,
-0.04937758296728134,
0.042033448815345764,
0.006777698639780283,
0.04437732324004173,
0.06051097810268402,
0.02994297258555889,
-0.0275600366294384,
0.04097870737314224,
-0.003086098935455084,
-0.011211524717509747,
-0.02681780979037285,
0.019708063453435898,
-0.1015678122639656,
0.019756892696022987,
0.016895415261387825,
-0.029610924422740936,
-0.01837010122835636,
-0.0021216929890215397,
0.016944246366620064,
-0.004822029732167721,
-0.015645349398255348,
-0.00918505061417818,
-0.0002458319650031626,
-0.05195584520697594,
0.03674020245671272,
0.06183917447924614,
-0.035177621990442276,
-0.04941665008664131,
0.08101986348628998,
0.06859733909368515,
-0.011895153671503067,
-0.026954535394906998,
0.011983049102127552,
-0.013135452754795551,
-0.03326345980167389,
0.04769780859351158,
-0.011387314647436142,
0.09641129523515701,
-0.032833751291036606,
0.0005649099475704134,
-0.040431804955005646,
0.002905425615608692,
-0.011934217996895313,
0.041447483003139496,
0.003073891391977668,
0.02937653660774231,
0.035939380526542664,
-0.039865367114543915,
0.0014490504981949925,
0.01155333872884512,
0.01199281495064497,
-0.002107043983414769,
0.0031984096858650446,
-0.009453619830310345,
0.01628991588950157,
-0.013428437523543835,
-0.022676968947052956,
0.011367782019078732,
-0.07699621468782425,
0.011172459460794926,
0.04730716347694397,
0.02269650064408779,
-0.03554873540997505,
0.039943497627973557,
-0.03457212075591087,
0.004455799702554941,
0.021212046965956688,
-0.017217697575688362,
0.04730716347694397,
-0.014717566780745983,
0.0012940129963681102,
-0.012940130196511745,
0.024805985391139984,
0.017510682344436646,
-0.052190233021974564,
0.03984583541750908,
-0.006562843453139067,
0.02009870857000351,
0.01292059849947691,
0.00967335794121027,
-0.03808793053030968,
0.034962765872478485,
-0.019151393324136734,
-0.06508152931928635,
0.023067614063620567,
-0.0011389756109565496,
-0.004907483235001564,
0.05707329884171486,
0.0021729653235524893,
0.037169914692640305,
-0.022774629294872284,
-0.039865367114543915,
-0.0368378646671772,
0.043791353702545166,
-0.04867442324757576,
0.014785930514335632,
-0.030314086005091667,
-0.003681833390146494,
-0.06055004522204399,
-0.0637924000620842,
-0.06957395374774933,
0.038986414670944214,
0.02857571467757225,
0.014854293316602707,
-0.03750196099281311,
0.007251356262713671,
0.02093859575688839,
0.022403515875339508,
0.03379083052277565,
0.0353534109890461,
0.060667239129543304,
0.024630194529891014,
0.030099231749773026,
-0.02461066283285618,
-0.02632950246334076,
-0.074222631752491,
-0.016797754913568497,
-0.054924748837947845,
-0.03267749026417732,
-0.05031513422727585,
0.008208437822759151,
0.023067614063620567,
0.017657173797488213,
0.042385030537843704
] |
52,200 |
osmnx.elevation
|
add_node_elevations_raster
|
Add `elevation` attribute to each node from local raster file(s).
If `filepath` is a list of paths, this will generate a virtual raster
composed of the files at those paths as an intermediate step.
See also the `add_edge_grades` function.
Parameters
----------
G : networkx.MultiDiGraph
input graph, in same CRS as raster
filepath : string or pathlib.Path or list of strings/Paths
path (or list of paths) to the raster file(s) to query
band : int
which raster band to query
cpus : int
how many CPU cores to use; if None, use all available
Returns
-------
G : networkx.MultiDiGraph
graph with node elevation attributes
|
def add_node_elevations_raster(G, filepath, band=1, cpus=None):
"""
Add `elevation` attribute to each node from local raster file(s).
If `filepath` is a list of paths, this will generate a virtual raster
composed of the files at those paths as an intermediate step.
See also the `add_edge_grades` function.
Parameters
----------
G : networkx.MultiDiGraph
input graph, in same CRS as raster
filepath : string or pathlib.Path or list of strings/Paths
path (or list of paths) to the raster file(s) to query
band : int
which raster band to query
cpus : int
how many CPU cores to use; if None, use all available
Returns
-------
G : networkx.MultiDiGraph
graph with node elevation attributes
"""
if rasterio is None or gdal is None: # pragma: no cover
msg = "gdal and rasterio must be installed to query raster files"
raise ImportError(msg)
if cpus is None:
cpus = mp.cpu_count()
cpus = min(cpus, mp.cpu_count())
utils.log(f"Attaching elevations with {cpus} CPUs...")
# if a list of filepaths is passed, compose them all as a virtual raster
# use the sha1 hash of the filepaths list as the vrt filename
if not isinstance(filepath, (str, Path)):
filepaths = [str(p) for p in filepath]
sha = sha1(str(filepaths).encode("utf-8")).hexdigest()
filepath = f"./.osmnx_{sha}.vrt"
gdal.UseExceptions()
gdal.BuildVRT(filepath, filepaths).FlushCache()
nodes = convert.graph_to_gdfs(G, edges=False, node_geometry=False)[["x", "y"]]
if cpus == 1:
elevs = dict(_query_raster(nodes, filepath, band))
else:
# divide nodes into equal-sized chunks for multiprocessing
size = int(np.ceil(len(nodes) / cpus))
args = ((nodes.iloc[i : i + size], filepath, band) for i in range(0, len(nodes), size))
with mp.get_context("spawn").Pool(cpus) as pool:
results = pool.starmap_async(_query_raster, args).get()
elevs = {k: v for kv in results for k, v in kv}
assert len(G) == len(elevs)
nx.set_node_attributes(G, elevs, name="elevation")
utils.log("Added elevation data from raster to all nodes.")
return G
|
(G, filepath, band=1, cpus=None)
|
[
0.054210469126701355,
-0.015813011676073074,
0.04107680544257164,
0.0965733602643013,
0.007487553171813488,
0.0004238237743265927,
-0.08114033192396164,
-0.042440835386514664,
-0.013552617281675339,
0.001195962424390018,
0.051131658256053925,
0.024182312190532684,
-0.012139871716499329,
0.07642468065023422,
-0.029326656833291054,
-0.014526925049722195,
-0.055262722074985504,
0.023500297218561172,
-0.029950212687253952,
-0.007623956073075533,
-0.05027426779270172,
-0.01880413480103016,
0.06851330399513245,
0.016923721879720688,
0.013503901660442352,
0.06851330399513245,
0.027689820155501366,
-0.011828092858195305,
0.015696093440055847,
0.013357755728065968,
-0.0335356630384922,
-0.09127312898635864,
-0.08870095759630203,
-0.03450997173786163,
0.04002455249428749,
0.008919784799218178,
0.008169568143785,
0.057795923203229904,
-0.07393045723438263,
-0.01615401916205883,
-0.007838304154574871,
0.010746612213551998,
0.055691417306661606,
-0.013123922049999237,
0.011876808479428291,
-0.006045578047633171,
0.03378898277878761,
-0.08028294146060944,
0.015666864812374115,
-0.0472344271838665,
0.012422421015799046,
-0.013601332902908325,
0.04095988720655441,
0.024182312190532684,
-0.00528074661269784,
0.060329120606184006,
-0.005519452039152384,
0.051599327474832535,
0.010980445891618729,
-0.054171498864889145,
-0.011798864230513573,
-0.0544053316116333,
0.033165428787469864,
-0.02459152229130268,
-0.031197326257824898,
0.017089353874325752,
-0.10467959940433502,
0.0009042791789397597,
-0.023227490484714508,
0.06223876401782036,
-0.012266531586647034,
-0.04306439310312271,
-0.002959459088742733,
-0.027689820155501366,
0.029073335230350494,
0.09969114512205124,
-0.03994660824537277,
0.03741340711712837,
-0.04520786926150322,
0.009377709589898586,
0.00434541143476963,
-0.017449848353862762,
0.012831630185246468,
0.07373559474945068,
0.06465504318475723,
-0.012061926536262035,
0.0010321569861844182,
-0.018024688586592674,
0.00407504104077816,
-0.027806736528873444,
-0.007229361683130264,
0.041310638189315796,
-0.04474020004272461,
0.00793573446571827,
0.044935062527656555,
-0.017995459958910942,
0.016183247789740562,
0.009504369460046291,
-0.007521654013544321,
0.008028293959796429,
-0.0026671667583286762,
-0.021103501319885254,
0.036497559398412704,
0.008505704812705517,
-0.014789988286793232,
-0.004342975560575724,
-0.043843839317560196,
0.035776570439338684,
0.028625154867768288,
-0.0015077408170327544,
-0.05343102291226387,
0.004808207508176565,
0.016719117760658264,
-0.01575455255806446,
-0.04224597290158272,
0.04520786926150322,
0.0015515846898779273,
0.008919784799218178,
0.04407767206430435,
-0.012899831868708134,
0.05495094507932663,
0.052222881466150284,
-0.020031763240695,
0.08285511285066605,
-0.02858618274331093,
-0.025487884879112244,
0.05284643918275833,
0.04014147073030472,
-0.04099886119365692,
-0.04002455249428749,
-0.010902500711381435,
-0.003412512131035328,
-0.00497140409424901,
0.04002455249428749,
0.0010090172290802002,
-0.04357103258371353,
-0.04123269394040108,
0.012110642157495022,
0.023714644834399223,
0.023967964574694633,
-0.03137270361185074,
-0.03893332928419113,
-0.007375508081167936,
0.030086616054177284,
-0.023091087117791176,
-0.0030934263486415148,
-0.04715648293495178,
-0.013065463863313198,
-0.002310326788574457,
-0.034899696707725525,
-0.03394487500190735,
-0.02644270658493042,
-0.08745384216308594,
-0.00042047459282912314,
0.00882235448807478,
-0.010337403044104576,
-0.014507438987493515,
0.03201574459671974,
0.021824488416314125,
-0.006259925663471222,
-0.08316688984632492,
-0.01208141352981329,
-0.0000838817868498154,
0.019184114411473274,
-0.0012617282336577773,
-0.005285618361085653,
-0.04154447093605995,
-0.033886414021253586,
-0.02159065380692482,
0.02770930528640747,
0.0430254191160202,
-0.017946744337677956,
-0.01575455255806446,
-0.01967126876115799,
0.022798795253038406,
-0.0016526691615581512,
0.03764724358916283,
0.005802001338452101,
-0.01142862718552351,
0.04774106666445732,
-0.02539045363664627,
-0.00910977553576231,
0.049572765827178955,
0.04875434935092926,
-0.0038460788782685995,
0.001577160321176052,
0.04162241518497467,
-0.05405458062887192,
0.014263861812651157,
-0.039751745760440826,
0.0628623217344284,
0.021181445568799973,
-0.02661808207631111,
0.028956418856978416,
0.00884184055030346,
0.0030958622228354216,
0.026052983477711678,
-0.025838635861873627,
-0.01756676472723484,
0.09914553165435791,
-0.06633085757493973,
-0.022038836032152176,
0.029248710721731186,
0.00818905420601368,
-0.016894491389393806,
-0.03879692405462265,
0.007131930906325579,
-0.032152146100997925,
-0.0007069818675518036,
0.062472596764564514,
0.0034417412243783474,
-0.014117715880274773,
0.06882508099079132,
0.06535654515028,
0.02328594960272312,
-0.02213626727461815,
-0.058770228177309036,
0.05401560664176941,
-0.006216081790626049,
-0.007039371877908707,
-0.03293159231543541,
0.00856903474777937,
-0.01593967154622078,
-0.021824488416314125,
0.006922455038875341,
-0.030339935794472694,
0.008447245694696903,
-0.001977844163775444,
0.03061274252831936,
0.03271724656224251,
0.04781901091337204,
0.020051248371601105,
0.016670402139425278,
-0.005738671403378248,
-0.03994660824537277,
0.007122187875211239,
0.018248779699206352,
0.018696961924433708,
0.04170036315917969,
-0.004525658208876848,
-0.03147013112902641,
0.00008570861245971173,
-0.018745675683021545,
-0.041271667927503586,
0.06169315055012703,
-0.03768621385097504,
-0.010464062914252281,
0.03061274252831936,
-0.023344408720731735,
-0.0013140972005203366,
0.020889153704047203,
0.005227159708738327,
-0.002864464186131954,
0.05510683357715607,
-0.04193419590592384,
-0.0018865029560402036,
-0.02336389385163784,
-0.0019875874277204275,
-0.012782914564013481,
-0.04867640510201454,
0.03273673355579376,
-0.0590430349111557,
-0.01440026517957449,
0.009216949343681335,
0.018316980451345444,
-0.030398394912481308,
0.0013007004745304585,
-0.007701900787651539,
-0.017469333484768867,
0.014507438987493515,
0.0052563888020813465,
0.0641094371676445,
-0.006927326321601868,
0.0193010326474905,
0.01651451177895069,
0.0062306965701282024,
-0.02829389087855816,
-0.034354083240032196,
-0.043376170098781586,
0.01530637126415968,
-0.04793592914938927,
0.0297358650714159,
-0.04053119197487831,
0.06017323210835457,
-0.02061634697020054,
-0.026384247466921806,
0.02922922559082508,
0.013357755728065968,
-0.02876155823469162,
-0.07603495568037033,
0.02989175356924534,
0.04711751267313957,
-0.012490622699260712,
-0.031099895015358925,
0.036926254630088806,
-0.022720851004123688,
-0.03813439607620239,
-0.02293519861996174,
0.009070802479982376,
0.024805869907140732,
0.04111577570438385,
-0.032873135060071945,
0.03634167090058327,
-0.054249443113803864,
0.022038836032152176,
0.01980767212808132,
0.008905170485377312,
0.05117063224315643,
-0.04793592914938927,
0.021434765309095383,
-0.04727340117096901,
0.020440971478819847,
-0.06216081976890564,
-0.005003069061785936,
-0.022038836032152176,
-0.021649112924933434,
0.02336389385163784,
0.05070296302437782,
-0.028858987614512444,
-0.013007005676627159,
-0.018482614308595657,
0.03702368587255478,
-0.031236298382282257,
0.00102545868139714,
-0.00843750312924385,
0.04485711827874184,
0.06099164858460426,
0.06890302896499634,
0.02564377337694168,
0.020012276247143745,
-0.044467393308877945,
0.003407640615478158,
0.013952083885669708,
0.030047643929719925,
-0.02024611085653305,
0.06929274648427963,
0.01463409885764122,
-0.03223009407520294,
0.01937897689640522,
0.030924519523978233,
-0.05081988126039505,
0.04275261238217354,
-0.06017323210835457,
-0.004891023505479097,
-0.020265595987439156,
-0.030885547399520874,
0.07053986191749573,
0.001225800602696836,
-0.06683749705553055,
0.017547277733683586,
-0.022915713489055634,
0.09018190205097198,
-0.042908504605293274,
0.011262995190918446,
-0.02989175356924534,
0.03562068194150925,
-0.0447012297809124,
-0.013591589406132698,
0.043376170098781586,
0.02408488094806671,
-0.0463770367205143,
0.011993725784122944,
0.01636836677789688,
-0.03406178951263428,
-0.0010540789226070046,
-0.05327513441443443,
0.037510838359594345,
0.025195593014359474,
0.06075781583786011,
-0.07825637608766556,
0.02977483719587326,
-0.041310638189315796,
-0.04918304458260536,
0.024864327162504196,
0.01703089475631714,
-0.05335307866334915,
-0.05195007473230362,
-0.02213626727461815,
-0.008997729979455471,
0.010785584338009357,
-0.06219979003071785,
0.006021220237016678,
0.03702368587255478,
0.005119985900819302,
0.04661086946725845,
0.0000736820074962452,
0.1268938034772873,
0.010785584338009357,
0.016943207010626793,
-0.015199197456240654,
-0.023753616958856583,
0.02470843866467476,
-0.003924023360013962,
0.06336896121501923,
-0.02344183810055256,
-0.022662391886115074,
0.054210469126701355,
0.016641171649098396,
-0.031353216618299484,
-0.03150910511612892,
-0.026130927726626396,
0.0489102378487587,
-0.017761625349521637,
0.01858004368841648,
0.05097576975822449,
-0.030261991545557976,
0.005076142027974129,
-0.07856816053390503,
0.05292438343167305,
-0.008734666742384434,
-0.0006984567153267562,
0.017303701490163803,
0.03260032832622528,
0.010454319417476654,
-0.03503609821200371,
-0.0009901400189846754,
0.017449848353862762,
-0.04201214015483856,
0.027105234563350677,
-0.03111938200891018,
0.012500365264713764,
-0.011740405112504959,
-0.025916580110788345,
0.039712775498628616,
0.0017050381284207106,
-0.0666426345705986,
0.016943207010626793,
0.00042077904799953103,
-0.04579245299100876,
0.08597289770841599,
-0.03240546956658363,
-0.012480879202485085,
0.048052847385406494,
-0.004854487255215645,
0.09618363529443741,
-0.02753392979502678,
-0.009733332321047783,
-0.05958864837884903,
0.012091156095266342,
-0.02770930528640747,
0.005042041186243296,
-0.005383049137890339,
0.016962694004178047,
-0.08004910498857498,
-0.031606536358594894,
-0.03273673355579376,
-0.03869949281215668,
0.042440835386514664,
0.016397595405578613,
-0.01094147376716137,
0.02112298645079136,
-0.05545758455991745,
0.0293071698397398,
0.025799663737416267,
-0.0463770367205143,
0.024357687681913376,
0.0011326324893161654,
-0.006425558123737574,
-0.02162962593138218,
0.0030276605393737555,
0.020090220496058464,
-0.03702368587255478,
-0.020635833963751793,
0.0018195193260908127,
0.028313376009464264,
0.04587039723992348,
0.03503609821200371,
-0.01648528315126896,
0.021707572042942047,
-0.028332863003015518,
0.023169033229351044,
-0.005524323787540197,
-0.04820873588323593,
-0.08472578227519989,
0.05943275988101959,
0.04298644885420799,
-0.05343102291226387,
0.002117900876328349,
-0.019106170162558556,
-0.054093554615974426,
0.01568635180592537,
-0.026423219591379166,
0.0957159698009491,
-0.0001517027267254889,
0.015569433569908142,
0.035523250699043274,
0.055769361555576324,
0.0234028659760952,
0.02441614679992199,
-0.04060913622379303,
-0.03608835116028786,
-0.04836462438106537,
-0.016465796157717705,
0.059900425374507904,
-0.009158490225672722,
0.011555287055671215,
0.00990383606404066,
-0.022175239399075508,
0.04399972781538963,
-0.02057737484574318,
0.00528074661269784,
0.01094147376716137,
0.030944006517529488,
0.015803268179297447,
0.048013873398303986,
0.0834786668419838,
-0.01554020494222641,
0.027767764404416084,
0.06418737769126892,
0.014117715880274773,
0.04735134541988373,
-0.014984849840402603,
0.05385971814393997,
0.009918450377881527,
0.01048354897648096,
0.044350478798151016,
0.030086616054177284,
0.04516889527440071,
0.03716008737683296,
-0.004627960734069347,
-0.003909409046173096,
0.037510838359594345,
0.026111440733075142,
0.010259457863867283,
-0.00044574568164534867,
0.026793455705046654,
-0.026325788348913193,
-0.0011180178262293339,
0.013591589406132698,
0.08090649545192719,
-0.005991991143673658,
0.035191986709833145,
-0.022740337997674942,
-0.06512271612882614,
0.04060913622379303,
-0.013348013162612915,
0.07307306677103043,
-0.003568401327356696,
0.008505704812705517,
-0.07248847931623459,
-0.005933532956987619,
-0.03509455546736717,
0.029911240562796593,
-0.010405603796243668,
0.004947046283632517,
-0.05132652074098587,
0.0117014329880476,
-0.05810770019888878,
0.05460019409656525,
-0.0607188455760479,
0.05557449907064438,
0.007940606214106083,
-0.03811490908265114,
0.017079610377550125,
0.04489608854055405,
-0.015277141705155373,
-0.04166138917207718,
-0.0398491770029068,
-0.04115474969148636,
0.005066398996859789,
0.010074339807033539,
0.016329394653439522,
-0.00160030007828027,
0.012208073399960995,
-0.0018621452618390322,
-0.06395354866981506,
-0.023461325094103813,
-0.012393191456794739,
0.011058390140533447,
-0.01586172543466091,
0.004269902594387531,
0.043454114347696304,
-0.016797062009572983,
-0.0053684343583881855,
-0.04614320397377014,
-0.01662168651819229,
0.01023022923618555,
-0.025312509387731552,
0.02661808207631111,
-0.053625885397195816,
-0.018453383818268776,
-0.00006683140236418694,
0.04575347900390625,
-0.0324639268219471,
0.000247687246883288,
0.0712413638830185,
-0.021181445568799973,
0.04423356056213379,
-0.04914407059550285,
-0.01872619055211544,
0.020207136869430542,
-0.06184903904795647,
0.02626733109354973,
0.008880812674760818,
-0.04516889527440071,
-0.00528074661269784,
0.01026920136064291,
0.03792004659771919,
0.005918918177485466,
-0.026033496484160423,
-0.06021220237016678,
-0.010707639157772064,
0.001460243365727365,
-0.051560353487730026,
-0.05740619823336601,
-0.05705544725060463,
0.0027694690506905317,
-0.040297359228134155,
-0.04170036315917969,
0.02792365290224552,
0.07178697735071182,
0.009582314640283585,
0.0029448445420712233,
-0.0038119780365377665,
0.008603135123848915,
-0.011555287055671215,
-0.04212905839085579,
0.054171498864889145,
0.038524117320775986,
0.03240546956658363,
-0.050196323543787,
0.0026038368232548237,
-0.017907772213220596,
-0.045402731746435165,
0.03378898277878761,
-0.003914280328899622,
0.019690753892064095,
0.019612809643149376,
0.023130061104893684,
0.04306439310312271,
-0.03803696483373642,
-0.037393923848867416,
0.019515380263328552,
-0.0111753074452281,
0.028021084144711494,
-0.1028868705034256,
0.04357103258371353,
-0.025331994518637657,
-0.017878543585538864,
-0.0066740065813064575,
-0.021317848935723305,
0.0011630796361714602,
-0.038309771567583084,
-0.06613599509000778,
-0.03267827257514,
0.02796262502670288,
0.01079532690346241,
-0.0047887214459478855,
0.026111440733075142,
0.02285725437104702,
-0.016816547140479088,
-0.003005738602951169,
0.013045977801084518,
0.0016538869822397828,
-0.034217678010463715,
0.05588627979159355,
-0.08963628858327866,
-0.0038606934249401093,
0.022915713489055634,
0.016943207010626793,
-0.03141167387366295,
0.012217815965414047,
0.038309771567583084,
0.0050517842173576355,
-0.0005361735820770264,
-0.060835760086774826,
0.01351364515721798,
-0.030710171908140182,
0.007852918468415737,
0.058770228177309036,
-0.04271364212036133,
-0.05549655482172966,
0.03864103555679321,
0.026423219591379166,
-0.007214746903628111,
-0.012938803993165493,
-0.004330796655267477,
-0.03273673355579376,
-0.030223019421100616,
0.014517181552946568,
-0.016680143773555756,
0.052651576697826385,
-0.0051053715869784355,
-0.005319719202816486,
-0.022448044270277023,
0.019856387749314308,
-0.02083069458603859,
0.026033496484160423,
0.05241774395108223,
0.05549655482172966,
0.033087484538555145,
-0.05405458062887192,
0.021902432665228844,
0.011594259180128574,
-0.00409209169447422,
-0.03571811318397522,
0.02622835896909237,
0.006786051671952009,
-0.02433820255100727,
-0.05308027192950249,
0.003746212460100651,
0.026306303218007088,
-0.05245671793818474,
0.03086606226861477,
-0.00961641501635313,
-0.021999863907694817,
-0.0674610510468483,
0.052105966955423355,
0.0016563227400183678,
-0.023558756336569786,
-0.014526925049722195,
-0.03002815693616867,
0.06574627012014389,
0.02437717467546463,
-0.001099140616133809,
0.017595993354916573,
0.06106959655880928,
0.02441614679992199,
-0.02307160198688507,
-0.012363961897790432,
0.0016270935302600265,
0.0026281944010406733,
0.032580841332674026,
0.022545475512742996,
-0.04224597290158272,
-0.02728061005473137,
-0.04318130761384964,
-0.05530169606208801,
0.0328926220536232,
0.049533795565366745,
-0.007658056914806366,
0.04298644885420799,
0.029794324189424515,
0.02155168168246746,
-0.026832429692149162,
-0.0328926220536232,
-0.026384247466921806,
0.04095988720655441,
-0.04774106666445732,
0.03782261908054352,
-0.002428461564704776,
-0.04201214015483856,
-0.029833296313881874,
-0.0238315612077713,
-0.027261124923825264,
0.021025555208325386,
0.02264290675520897,
0.046922650188207626,
-0.030184047296643257,
0.006045578047633171,
0.04781901091337204,
0.010337403044104576,
-0.005431764293462038,
0.04415561631321907,
0.05432738736271858,
-0.03406178951263428,
0.052651576697826385,
-0.02626733109354973,
-0.00616736663505435,
-0.05865331366658211,
0.01851184293627739,
-0.06403148919343948,
-0.07584009319543839,
-0.058770228177309036,
-0.004191957879811525,
0.0514434352517128,
-0.024474604055285454,
0.041349612176418304
] |
52,201 |
osmnx.stats
|
basic_stats
|
Calculate basic descriptive geometric and topological measures of a graph.
Density measures are only calculated if `area` is provided and clean
intersection measures are only calculated if `clean_int_tol` is provided.
Parameters
----------
G : networkx.MultiDiGraph
input graph
area : float
if not None, calculate density measures and use this value (in square
meters) as the denominator
clean_int_tol : float
if not None, calculate consolidated intersections count (and density,
if `area` is also provided) and use this tolerance value; refer to the
`simplification.consolidate_intersections` function documentation for
details
Returns
-------
stats : dict
dictionary containing the following keys
- `circuity_avg` - see `circuity_avg` function documentation
- `clean_intersection_count` - see `clean_intersection_count` function documentation
- `clean_intersection_density_km` - `clean_intersection_count` per sq km
- `edge_density_km` - `edge_length_total` per sq km
- `edge_length_avg` - `edge_length_total / m`
- `edge_length_total` - see `edge_length_total` function documentation
- `intersection_count` - see `intersection_count` function documentation
- `intersection_density_km` - `intersection_count` per sq km
- `k_avg` - graph's average node degree (in-degree and out-degree)
- `m` - count of edges in graph
- `n` - count of nodes in graph
- `node_density_km` - `n` per sq km
- `self_loop_proportion` - see `self_loop_proportion` function documentation
- `street_density_km` - `street_length_total` per sq km
- `street_length_avg` - `street_length_total / street_segment_count`
- `street_length_total` - see `street_length_total` function documentation
- `street_segment_count` - see `street_segment_count` function documentation
- `streets_per_node_avg` - see `streets_per_node_avg` function documentation
- `streets_per_node_counts` - see `streets_per_node_counts` function documentation
- `streets_per_node_proportions` - see `streets_per_node_proportions` function documentation
|
def basic_stats(G, area=None, clean_int_tol=None):
"""
Calculate basic descriptive geometric and topological measures of a graph.
Density measures are only calculated if `area` is provided and clean
intersection measures are only calculated if `clean_int_tol` is provided.
Parameters
----------
G : networkx.MultiDiGraph
input graph
area : float
if not None, calculate density measures and use this value (in square
meters) as the denominator
clean_int_tol : float
if not None, calculate consolidated intersections count (and density,
if `area` is also provided) and use this tolerance value; refer to the
`simplification.consolidate_intersections` function documentation for
details
Returns
-------
stats : dict
dictionary containing the following keys
- `circuity_avg` - see `circuity_avg` function documentation
- `clean_intersection_count` - see `clean_intersection_count` function documentation
- `clean_intersection_density_km` - `clean_intersection_count` per sq km
- `edge_density_km` - `edge_length_total` per sq km
- `edge_length_avg` - `edge_length_total / m`
- `edge_length_total` - see `edge_length_total` function documentation
- `intersection_count` - see `intersection_count` function documentation
- `intersection_density_km` - `intersection_count` per sq km
- `k_avg` - graph's average node degree (in-degree and out-degree)
- `m` - count of edges in graph
- `n` - count of nodes in graph
- `node_density_km` - `n` per sq km
- `self_loop_proportion` - see `self_loop_proportion` function documentation
- `street_density_km` - `street_length_total` per sq km
- `street_length_avg` - `street_length_total / street_segment_count`
- `street_length_total` - see `street_length_total` function documentation
- `street_segment_count` - see `street_segment_count` function documentation
- `streets_per_node_avg` - see `streets_per_node_avg` function documentation
- `streets_per_node_counts` - see `streets_per_node_counts` function documentation
- `streets_per_node_proportions` - see `streets_per_node_proportions` function documentation
"""
Gu = convert.to_undirected(G)
stats = {}
stats["n"] = len(G.nodes)
stats["m"] = len(G.edges)
stats["k_avg"] = 2 * stats["m"] / stats["n"]
stats["edge_length_total"] = edge_length_total(G)
stats["edge_length_avg"] = stats["edge_length_total"] / stats["m"]
stats["streets_per_node_avg"] = streets_per_node_avg(G)
stats["streets_per_node_counts"] = streets_per_node_counts(G)
stats["streets_per_node_proportions"] = streets_per_node_proportions(G)
stats["intersection_count"] = intersection_count(G)
stats["street_length_total"] = street_length_total(Gu)
stats["street_segment_count"] = street_segment_count(Gu)
stats["street_length_avg"] = stats["street_length_total"] / stats["street_segment_count"]
stats["circuity_avg"] = circuity_avg(Gu)
stats["self_loop_proportion"] = self_loop_proportion(Gu)
# calculate clean intersection counts if requested
if clean_int_tol:
stats["clean_intersection_count"] = len(
simplification.consolidate_intersections(
G, tolerance=clean_int_tol, rebuild_graph=False, dead_ends=False
)
)
# can only calculate density measures if area was provided
if area is not None:
area_km = area / 1_000_000 # convert m^2 to km^2
stats["node_density_km"] = stats["n"] / area_km
stats["intersection_density_km"] = stats["intersection_count"] / area_km
stats["edge_density_km"] = stats["edge_length_total"] / area_km
stats["street_density_km"] = stats["street_length_total"] / area_km
if clean_int_tol:
stats["clean_intersection_density_km"] = stats["clean_intersection_count"] / area_km
return stats
|
(G, area=None, clean_int_tol=None)
|
[
-0.0008783464436419308,
0.013407059945166111,
-0.00872751884162426,
-0.015058077871799469,
0.009756918996572495,
-0.008608167991042137,
-0.00853357370942831,
-0.08072084933519363,
0.042886678129434586,
-0.044557590037584305,
-0.05032620579004288,
0.01968291774392128,
-0.027709251269698143,
-0.0011829393915832043,
-0.0273909829556942,
0.041215769946575165,
-0.026018450036644936,
-0.015764236450195312,
0.036262717097997665,
-0.015286833979189396,
-0.03272198140621185,
-0.0335773266851902,
-0.007374877575784922,
0.005291213747113943,
0.0025138237979263067,
-0.04439845681190491,
0.04980902001261711,
-0.04726286977529526,
0.0461091473698616,
0.014670188538730145,
-0.014143056236207485,
-0.021264314651489258,
-0.057447463274002075,
0.014162948355078697,
0.007156067993491888,
-0.01651017740368843,
0.03600412234663963,
0.03516867011785507,
-0.10184592008590698,
0.043085597455501556,
-0.03582509607076645,
-0.0357455313205719,
-0.060510799288749695,
-0.030394641682505608,
0.05267343670129776,
0.012601443566381931,
0.014262407086789608,
0.03142901510000229,
-0.032025765627622604,
-0.05872053653001785,
-0.04040020704269409,
-0.07666292041540146,
-0.020946044474840164,
0.0798456072807312,
-0.018559031188488007,
0.02363143488764763,
0.01809157431125641,
0.026098016649484634,
0.02528245374560356,
-0.04758113995194435,
-0.02836567908525467,
0.02341262623667717,
0.022676629945635796,
-0.05052512511610985,
-0.07093409448862076,
-0.026237258687615395,
-0.03294079005718231,
0.0072256894782185555,
-0.015823911875486374,
-0.017226282507181168,
-0.022696521133184433,
-0.012143932282924652,
0.04587044566869736,
-0.0069919610396027565,
0.04272754490375519,
0.003662574104964733,
0.03413429483771324,
-0.054742179811000824,
0.020926153287291527,
-0.0058979131281375885,
0.011109559796750546,
-0.005808399990200996,
-0.026316825300455093,
-0.029081784188747406,
0.049291834235191345,
0.0011978581314906478,
0.08656903356313705,
0.026734553277492523,
0.01327776350080967,
-0.04228992760181427,
-0.004861054010689259,
0.035705745220184326,
0.028902757912874222,
0.03520845249295235,
-0.009766864590346813,
0.007185905706137419,
-0.054941099137067795,
-0.06898469477891922,
0.03051399253308773,
-0.0478198416531086,
-0.005718886852264404,
0.012342849746346474,
-0.0016659366665408015,
0.053270190954208374,
0.005529914982616901,
-0.054304562509059906,
0.010119943879544735,
-0.022597063332796097,
0.014640350826084614,
0.009264596737921238,
-0.05092296004295349,
0.005460293963551521,
-0.0034835480619221926,
0.007031744346022606,
0.05195733159780502,
0.008866761811077595,
-0.0012625064700841904,
-0.013775058090686798,
-0.035089101642370224,
-0.0448758564889431,
-0.026933470740914345,
0.02146323211491108,
-0.00216447445563972,
-0.030712909996509552,
0.0037868977524340153,
-0.011000154539942741,
-0.01892703026533127,
0.03642185032367706,
-0.010139835067093372,
0.006340505089610815,
0.03821210935711861,
0.01934475637972355,
0.045034993439912796,
0.05959577485918999,
0.04181252419948578,
-0.026495851576328278,
-0.0016634501516819,
0.01739536225795746,
0.047063954174518585,
0.009418758563697338,
0.011696367524564266,
-0.07001906633377075,
-0.06425045430660248,
-0.02168204076588154,
0.005266348831355572,
-0.002779876347631216,
0.004080301616340876,
-0.07145127654075623,
-0.028862973675131798,
-0.04336408153176308,
0.004152409266680479,
-0.013705437071621418,
0.03101128712296486,
-0.032702088356018066,
-0.017713630571961403,
-0.0436425656080246,
0.00832471065223217,
-0.008125792257487774,
-0.02112507075071335,
-0.003697384847328067,
-0.05052512511610985,
-0.03252306208014488,
0.06508591026067734,
0.0003993896534666419,
-0.02375078573822975,
0.011785880662500858,
0.050405774265527725,
-0.05685070902109146,
-0.0335773266851902,
0.011636692099273205,
-0.02570018172264099,
-0.01979232206940651,
-0.07546941936016083,
0.007499201223254204,
-0.023810461163520813,
0.03839113563299179,
0.03228436037898064,
-0.01128858607262373,
0.0010635886574164033,
0.008215305395424366,
0.014630405232310295,
-0.053270190954208374,
-0.047620922327041626,
0.030414532870054245,
-0.06365370005369186,
0.03325905650854111,
0.06253975629806519,
-0.07045669108629227,
0.012402525171637535,
0.0014931268524378538,
-0.010622210800647736,
-0.017415253445506096,
-0.033617109060287476,
0.09277526289224625,
0.06027209758758545,
-0.025899099186062813,
0.02369111031293869,
-0.0177931971848011,
-0.010433238931000233,
0.05533893406391144,
-0.02502386085689068,
0.010254212655127048,
-0.01323798019438982,
0.01906627230346203,
0.015376347117125988,
0.019702808931469917,
-0.03136933967471123,
0.01661958359181881,
-0.049291834235191345,
0.049769237637519836,
-0.06047101318836212,
-0.025879206135869026,
0.04714352265000343,
0.04451780393719673,
0.007787632290273905,
0.018529193475842476,
0.03184674307703972,
0.04893378168344498,
0.0026878768112510443,
-0.02029956318438053,
-0.055219583213329315,
-0.0462682843208313,
0.009224813431501389,
-0.0019916645251214504,
-0.021861067041754723,
-0.003115550149232149,
0.05342932417988777,
0.05088317394256592,
0.05573676899075508,
-0.09086565673351288,
0.10439206659793854,
-0.01870821975171566,
0.047899410128593445,
0.007444499060511589,
-0.04320494830608368,
-0.05708941072225571,
-0.022059984505176544,
0.0044806236401200294,
0.035288020968437195,
-0.00514202518388629,
-0.027848493307828903,
-0.10813172161579132,
-0.051599279046058655,
-0.004706892650574446,
-0.026456069201231003,
-0.05915815755724907,
-0.04059912636876106,
0.020508425310254097,
0.07029755413532257,
0.009876268915832043,
-0.06894491612911224,
-0.041693173348903656,
-0.009831512346863747,
-0.01494867354631424,
-0.013257872313261032,
-0.046785470098257065,
-0.07276413589715958,
0.015853749588131905,
0.011626745574176311,
-0.03650141879916191,
0.03839113563299179,
-0.039206698536872864,
-0.03980345278978348,
0.054026078432798386,
0.027152281254529953,
-0.000711752800270915,
0.048814430832862854,
0.023790569975972176,
-0.026873795315623283,
-0.020110590383410454,
-0.026217367500066757,
0.027152281254529953,
0.005445375107228756,
-0.05052512511610985,
-0.01853914000093937,
0.009866323322057724,
-0.0003860248834826052,
0.0125716058537364,
0.022835765033960342,
0.019086163491010666,
-0.0066538006067276,
-0.00041213282383978367,
-0.04431888833642006,
-0.015684669837355614,
-0.056333523243665695,
0.028485029935836792,
-0.030056480318307877,
-0.013009225018322468,
0.0014570729108527303,
-0.011964906007051468,
0.012173769995570183,
-0.03317949175834656,
-0.052156250923871994,
0.0025088507682085037,
0.020886370912194252,
0.041016850620508194,
-0.029837671667337418,
-0.0561743900179863,
-0.0009355352958664298,
-0.005045053083449602,
0.03065323457121849,
-0.02508353628218174,
0.030812367796897888,
-0.03902767598628998,
0.028962433338165283,
0.05732811242341995,
0.06783097237348557,
-0.014023705385625362,
0.050127286463975906,
-0.006415099371224642,
-0.04523390904068947,
-0.03274187073111534,
0.03154836595058441,
0.06365370005369186,
-0.010821129195392132,
-0.0030658207833766937,
-0.005077376961708069,
-0.06214192509651184,
0.029857562854886055,
0.05195733159780502,
-0.013983922079205513,
0.053548675030469894,
0.018051791936159134,
0.03437299653887749,
0.016012882813811302,
-0.008454007096588612,
0.001315344008617103,
0.027410874143242836,
0.09993630647659302,
-0.02207987755537033,
-0.06882556527853012,
-0.014361865818500519,
0.018638599663972855,
0.001486910623498261,
-0.03650141879916191,
0.03888843208551407,
0.06735356897115707,
-0.029419943690299988,
-0.019702808931469917,
-0.03510899469256401,
0.01985199749469757,
0.03872929885983467,
0.00868773553520441,
0.0420910082757473,
-0.016659365966916084,
-0.03429343178868294,
0.02753022499382496,
-0.05482174828648567,
-0.017673848196864128,
-0.01589353382587433,
-0.05255408585071564,
0.06492677330970764,
0.005191755015403032,
0.08911518007516861,
0.047700490802526474,
0.02418840490281582,
0.029081784188747406,
-0.05283256992697716,
0.019702808931469917,
0.03817232698202133,
-0.005420510191470385,
0.031727392226457596,
-0.007867199368774891,
0.0056094820611178875,
0.013983922079205513,
-0.03660087659955025,
0.01623169332742691,
0.04380170255899429,
0.03377624228596687,
-0.09428704530000687,
-0.0017579360865056515,
-0.08672816306352615,
-0.05712919309735298,
-0.0018835030496120453,
0.014580675400793552,
0.04459737241268158,
-0.00017995845701079816,
-0.03226446732878685,
-0.05931729078292847,
0.025202887132763863,
-0.00899108499288559,
0.036541201174259186,
-0.027470549568533897,
0.027331307530403137,
0.03101128712296486,
-0.03860994800925255,
0.02349219284951687,
0.011328369379043579,
0.004900837317109108,
0.002409392036497593,
-0.021284205839037895,
-0.009970755316317081,
0.023253491148352623,
0.02333305962383747,
-0.022258901968598366,
0.049371398985385895,
0.05573676899075508,
-0.02625715173780918,
-0.03928626701235771,
0.0016112342709675431,
0.003376629902049899,
-0.06373326480388641,
0.01645050197839737,
0.016669312492012978,
0.007926874794065952,
-0.05275300145149231,
0.0273909829556942,
-0.0475015714764595,
0.0589592382311821,
0.06253975629806519,
0.017027365043759346,
0.033278949558734894,
-0.014600567519664764,
0.05704962834715843,
-0.01923535205423832,
0.00007708065095357597,
0.007757794577628374,
0.04081793501973152,
0.07367915660142899,
-0.00862806010991335,
0.03767503425478935,
-0.04439845681190491,
0.06619984656572342,
0.015296779572963715,
0.039206698536872864,
-0.05358845740556717,
-0.05502066761255264,
-0.06178387254476547,
-0.024765267968177795,
0.02828611247241497,
-0.02040896750986576,
0.03596433997154236,
-0.04089749976992607,
-0.02480505034327507,
-0.03554661199450493,
0.03839113563299179,
-0.035009533166885376,
-0.009304380975663662,
0.03932604938745499,
-0.011149343103170395,
-0.007737902924418449,
0.03936583548784256,
0.038769081234931946,
-0.028047410771250725,
0.01642066426575184,
0.015823911875486374,
-0.030076373368501663,
-0.03128977119922638,
0.003732195356860757,
-0.03288111463189125,
0.04507477581501007,
-0.05092296004295349,
0.025043752044439316,
-0.0006688611465506256,
-0.03302035480737686,
-0.007787632290273905,
0.016351044178009033,
0.011656583286821842,
-0.054384127259254456,
0.03059355914592743,
-0.018519248813390732,
0.02416851371526718,
-0.05406586080789566,
0.02279598079621792,
0.0031304690055549145,
-0.0038714378606528044,
0.03679979592561722,
0.023034682497382164,
-0.033139705657958984,
0.0045477584935724735,
0.039544861763715744,
0.018559031188488007,
-0.03749600797891617,
0.0005610103835351765,
0.054583046585321426,
0.01823081634938717,
-0.06393218040466309,
-0.01264122687280178,
-0.030633343383669853,
-0.016012882813811302,
0.09444617480039597,
0.0006881313165649772,
0.0502864234149456,
-0.02452656626701355,
0.028246328234672546,
0.04479629173874855,
0.022736305370926857,
0.02410883828997612,
-0.006962123326957226,
-0.02291533164680004,
-0.04133512079715729,
-0.018081629648804665,
0.018559031188488007,
-0.014700026251375675,
0.03757557272911072,
0.041852306574583054,
0.04726286977529526,
-0.010373563505709171,
0.03463159129023552,
-0.02731141448020935,
0.005420510191470385,
-0.04026096314191818,
0.0038714378606528044,
0.019732646644115448,
0.049092914909124374,
-0.0014334514271467924,
-0.039405617862939835,
0.036362174898386,
0.05470239743590355,
0.03562618046998978,
-0.013586086221039295,
-0.027072714641690254,
0.09452573955059052,
0.04646719992160797,
0.03134944662451744,
0.027888277545571327,
-0.019195567816495895,
-0.009175083599984646,
0.014898943714797497,
-0.034313321113586426,
-0.024546457454562187,
0.029559185728430748,
-0.019593404605984688,
0.024486782029271126,
-0.03683957830071449,
0.06429023295640945,
0.019772430881857872,
0.0230545736849308,
0.015455913729965687,
-0.03329884260892868,
-0.029718320816755295,
0.045034993439912796,
-0.009448596276342869,
0.0516788475215435,
0.03196609020233154,
-0.014749755151569843,
0.053469106554985046,
-0.06767183542251587,
-0.015316671691834927,
-0.0015018294798210263,
0.05899902060627937,
-0.015008348971605301,
0.012501983903348446,
-0.031230095773935318,
0.06484720855951309,
0.02007080614566803,
0.07908972352743149,
-0.007892063818871975,
0.022099768742918968,
-0.05784529820084572,
0.02319381572306156,
-0.000694969086907804,
-0.00796168576925993,
0.005460293963551521,
0.06194300577044487,
0.040101829916238785,
-0.025322237983345985,
-0.03349775820970535,
0.01456078328192234,
0.01034372579306364,
-0.02558083087205887,
-0.04129533842206001,
-0.0029141458217054605,
-0.0024342567194253206,
-0.0010791291715577245,
-0.006708503235131502,
-0.01731579564511776,
0.02013048157095909,
-0.07363937050104141,
-0.00255112093873322,
-0.01215387787669897,
0.017554497346282005,
0.013635816052556038,
-0.034392889589071274,
-0.026734553277492523,
-0.006519531365483999,
-0.03924648463726044,
0.01209420245140791,
0.01323798019438982,
-0.03220479190349579,
-0.0021408528555184603,
-0.0015291806776076555,
0.04495542496442795,
0.03506920859217644,
0.05422499403357506,
0.06381282955408096,
-0.04014161229133606,
-0.007200824562460184,
0.04869507998228073,
0.0036028989125043154,
-0.03685947135090828,
-0.06293759495019913,
0.07610595226287842,
-0.029002215713262558,
-0.015316671691834927,
0.03142901510000229,
-0.013874516822397709,
-0.02572007291018963,
0.005882994271814823,
-0.020309507846832275,
-0.057447463274002075,
0.039206698536872864,
-0.0014794511953368783,
0.01904638111591339,
-0.0045253802090883255,
0.031806956976652145,
0.02613780088722706,
0.022696521133184433,
-0.005684076342731714,
-0.07375872135162354,
-0.025103427469730377,
-0.010522752068936825,
0.024367431178689003,
-0.021065395325422287,
0.05629374086856842,
-0.024546457454562187,
0.006922339554876089,
-0.012989332899451256,
0.005211646668612957,
-0.02460613287985325,
-0.00746936397626996,
-0.02472548373043537,
-0.014162948355078697,
-0.029976913705468178,
0.028266221284866333,
0.0355863943696022,
-0.0013812355464324355,
-0.06763205677270889,
-0.04877464845776558,
0.019106054678559303,
-0.02989734709262848,
-0.059118371456861496,
0.0021271773148328066,
-0.005614455323666334,
0.04248884320259094,
-0.046506982296705246,
0.0617440864443779,
0.026714662089943886,
-0.044080186635255814,
0.02892264910042286,
-0.047342438250780106,
0.02703293040394783,
-0.009572919458150864,
-0.00429413840174675,
-0.010652048513293266,
-0.020369183272123337,
0.03107096254825592,
-0.008384386077523232,
0.0845002830028534,
0.024566348642110825,
-0.01759427972137928,
0.01734563335776329,
0.000865914102178067,
-0.011964906007051468,
-0.020309507846832275,
0.03457191586494446,
-0.013496573083102703,
-0.029837671667337418,
-0.03936583548784256,
-0.0315682552754879,
-0.03491007536649704,
0.011756042949855328,
0.01390435453504324,
-0.000022106296455604024,
-0.019175676628947258,
-0.04272754490375519,
-0.006604071240872145,
-0.01584380306303501,
0.04813810810446739,
0.009025895968079567,
0.031389228999614716,
0.045194126665592194,
0.03924648463726044,
0.014580675400793552,
-0.08529596030712128,
0.03944540023803711,
0.03839113563299179,
0.01138804480433464,
-0.05231538414955139,
-0.026157692074775696,
0.09802669286727905,
0.09022911638021469,
-0.05311105400323868,
-0.04829724505543709,
0.03268219530582428,
-0.01073161605745554,
-0.02333305962383747,
-0.04059912636876106,
0.009040814824402332,
0.037376657128334045,
0.0042468952015042305,
-0.03880886361002922,
0.07252543419599533,
-0.00031251853215508163,
0.007822442799806595,
0.0052961865440011024,
-0.010821129195392132,
0.024546457454562187,
0.07527049630880356,
-0.04543282836675644,
-0.0008056171354837716,
0.002455391688272357,
-0.019175676628947258,
0.037456221878528595,
-0.0017417740309610963,
0.016181964427232742,
-0.056970059871673584,
0.01681850105524063,
0.01821092516183853,
-0.011765988543629646,
-0.011885339394211769,
0.02132399007678032,
0.027908168733119965,
-0.003985815681517124,
0.017305849120020866,
0.004878459498286247,
0.036401957273483276,
0.012253336608409882,
-0.00906070601195097,
-0.03670033439993858,
0.026714662089943886,
0.030136048793792725,
0.06962123513221741,
0.04606936499476433,
-0.05752703174948692,
0.04248884320259094,
0.0642106682062149,
-0.09452573955059052,
0.03409451246261597,
-0.006330559495836496,
0.01149744912981987,
0.05251430347561836,
-0.03154836595058441,
0.029439834877848625,
-0.04043998941779137,
0.004388624336570501,
0.0004575109633151442,
0.0021234476007521152,
0.007499201223254204,
0.056691575795412064,
0.006633908953517675,
0.01628142222762108,
-0.022418037056922913,
-0.03568585589528084,
-0.0397636704146862,
-0.02118474617600441,
-0.0009361569536849856,
0.053548675030469894,
-0.012352796271443367,
-0.017126822844147682,
0.033696677535772324,
-0.001435937942005694,
0.009140273556113243,
-0.019921619445085526,
0.044279105961322784,
0.03616325929760933,
-0.02054820954799652,
-0.06830837577581406,
0.03530791029334068,
-0.05374759063124657,
0.0016075045568868518,
-0.03196609020233154,
-0.035984233021736145,
0.04917248338460922,
-0.010492914356291294,
0.03186663240194321,
-0.016530070453882217,
0.05311105400323868
] |
52,203 |
osmnx.utils
|
citation
|
Print the OSMnx package's citation information.
Boeing, G. (2024). Modeling and Analyzing Urban Networks and Amenities with
OSMnx. Working paper. https://geoffboeing.com/publications/osmnx-paper/
Parameters
----------
style : string {"apa", "bibtex", "ieee"}
citation format, either APA or BibTeX or IEEE
Returns
-------
None
|
def citation(style="bibtex"):
"""
Print the OSMnx package's citation information.
Boeing, G. (2024). Modeling and Analyzing Urban Networks and Amenities with
OSMnx. Working paper. https://geoffboeing.com/publications/osmnx-paper/
Parameters
----------
style : string {"apa", "bibtex", "ieee"}
citation format, either APA or BibTeX or IEEE
Returns
-------
None
"""
if style == "apa":
msg = (
"Boeing, G. (2024). Modeling and Analyzing Urban Networks and Amenities "
"with OSMnx. Working paper. https://geoffboeing.com/publications/osmnx-paper/"
)
elif style == "bibtex":
msg = (
"@techreport{boeing_osmnx_2024,\n"
" author = {Boeing, Geoff},\n"
" title = {{Modeling and Analyzing Urban Networks and Amenities with OSMnx}},\n"
" type = {Working paper},\n"
" url = {https://geoffboeing.com/publications/osmnx-paper/},\n"
" year = {2024}\n"
"}"
)
elif style == "ieee":
msg = (
'G. Boeing, "Modeling and Analyzing Urban Networks and Amenities with OSMnx," '
"Working paper, https://geoffboeing.com/publications/osmnx-paper/"
)
else: # pragma: no cover
err_msg = f"unrecognized citation style {style!r}"
raise ValueError(err_msg)
print(msg) # noqa: T201
|
(style='bibtex')
|
[
0.008132284507155418,
-0.01936258189380169,
0.014005601406097412,
-0.04023728892207146,
0.0073946621268987656,
-0.07258202135562897,
-0.0019420208409428596,
-0.01635677181184292,
0.10378344357013702,
-0.055247899144887924,
-0.011774294078350067,
0.047060295939445496,
-0.01173741277307272,
-0.0023500181268900633,
-0.05004766583442688,
0.018302250653505325,
-0.0037849238142371178,
0.019141295924782753,
-0.01822848804295063,
0.033875297755002975,
-0.018800145015120506,
0.0055137258023023605,
-0.003545196494087577,
-0.00372960208915174,
0.009400072507560253,
0.0651320368051529,
0.04001600295305252,
-0.029117634519934654,
-0.06557460874319077,
-0.03525834158062935,
0.03420722857117653,
-0.05115409940481186,
-0.011018231511116028,
0.042597681283950806,
0.03481576591730118,
0.04281896725296974,
0.016292229294776917,
0.01890156790614128,
-0.05613304674625397,
0.015794334933161736,
-0.003766483161598444,
-0.017426323145627975,
0.055284783244132996,
-0.06959465146064758,
-0.06520579755306244,
-0.017933439463377,
-0.038540758192539215,
0.02963397093117237,
-0.0798107162117958,
-0.02336418256163597,
0.002821404719725251,
-0.01995267905294895,
0.02222086861729622,
-0.05690754950046539,
-0.034576039761304855,
-0.03485264629125595,
0.0006252500461414456,
0.11315124481916428,
0.05557982996106148,
0.011488465592265129,
-0.0036858057137578726,
0.025964301079511642,
-0.00037082802737131715,
0.01258567813783884,
-0.029504887759685516,
0.021538566797971725,
0.050268951803445816,
-0.07811418920755386,
-0.011765073984861374,
-0.00215408718213439,
0.04399916157126427,
0.003171775257214904,
-0.07501617819070816,
-0.009077362716197968,
0.05189172178506851,
-0.029597090557217598,
-0.04263456165790558,
-0.015490065328776836,
0.0054860650561749935,
-0.014328310266137123,
0.0231244545429945,
-0.012373612262308598,
0.022884728386998177,
-0.012281409464776516,
0.11020075529813766,
-0.0497526153922081,
0.0893998071551323,
0.025761455297470093,
0.028324691578745842,
0.06642287969589233,
-0.026941649615764618,
-0.029154516756534576,
0.01694686897099018,
-0.01569291204214096,
-0.016753243282437325,
0.021833617240190506,
0.06594341993331909,
-0.06317733973264694,
0.001062636962160468,
0.007620559073984623,
-0.016485854983329773,
-0.031201418489217758,
-0.01211544405668974,
-0.04658083990216255,
-0.05771893635392189,
-0.015499286353588104,
-0.009921018034219742,
0.07354093343019485,
0.0015017526457086205,
-0.03348804637789726,
-0.06800876557826996,
-0.09220277518033981,
0.03446539491415024,
-0.046359553933143616,
0.045253120362758636,
-0.025945860892534256,
0.004172175191342831,
0.01991579867899418,
-0.02432309091091156,
-0.032270971685647964,
-0.00877770408987999,
-0.009409292601048946,
-0.03913085535168648,
-0.014798545278608799,
0.04130684211850166,
-0.008381231687963009,
-0.033266760408878326,
0.016578057780861855,
0.0740203857421875,
-0.03260289877653122,
0.007062732242047787,
0.008316690102219582,
0.012954489327967167,
-0.0066800909116864204,
0.01504749245941639,
-0.021999580785632133,
-0.09367801249027252,
-0.04890435189008713,
0.008219877257943153,
0.045658811926841736,
-0.005435353610664606,
-0.054842207580804825,
-0.024857867509126663,
-0.032621338963508606,
-0.050121426582336426,
-0.014752443879842758,
-0.004100718069821596,
-0.05380953848361969,
0.008215267211198807,
-0.0005883689154870808,
0.03913085535168648,
0.03199436143040657,
-0.05827215313911438,
0.024636581540107727,
-0.011119654402136803,
-0.013203436508774757,
0.02869350276887417,
-0.025650810450315475,
0.03531366214156151,
0.046359553933143616,
0.022976931184530258,
0.04990014061331749,
0.04458925873041153,
0.05144914612174034,
-0.026351552456617355,
0.021944260224699974,
-0.0015052102971822023,
-0.06480010598897934,
0.06129640340805054,
-0.00429434422403574,
-0.05222364887595177,
0.011174975894391537,
-0.0334327258169651,
-0.012373612262308598,
0.06723426282405853,
0.08681812882423401,
0.0034207229036837816,
0.03890956938266754,
-0.001825614832341671,
-0.03409658372402191,
-0.018293030560016632,
-0.023437945172190666,
-0.06439441442489624,
0.07722904533147812,
-0.028711942955851555,
0.02878570556640625,
0.02732890099287033,
-0.021888937801122665,
0.01995267905294895,
0.006122264079749584,
0.012954489327967167,
0.034778885543346405,
-0.0038010592106729746,
0.007583677768707275,
0.003040386363863945,
-0.05451028048992157,
-0.001998495077714324,
-0.0003584382648114115,
-0.06199714541435242,
0.003902482334524393,
0.050932809710502625,
0.02081938646733761,
-0.019215058535337448,
0.049273163080215454,
0.05130162090063095,
0.011433144100010395,
-0.0012401272542774677,
-0.015969520434737206,
-0.14147593080997467,
0.014005601406097412,
0.007786524016410112,
-0.004144514445215464,
0.04835113510489464,
-0.00254479655995965,
0.010418913327157497,
-0.03675202652812004,
0.009884136728942394,
0.06361991167068481,
-0.05683378875255585,
0.0069059873931109905,
0.028416894376277924,
-0.048719946295022964,
0.06177585572004318,
0.029597090557217598,
0.047576628625392914,
0.010492675006389618,
0.058198388665914536,
0.06830381602048874,
0.043851640075445175,
-0.056243691593408585,
0.0007612491608597338,
-0.024636581540107727,
-0.008865296840667725,
0.05657562240958214,
-0.013627570122480392,
-0.08954732865095139,
-0.035940639674663544,
0.02496851049363613,
-0.0227187629789114,
0.03760029003024101,
0.004524851217865944,
0.03605128452181816,
0.021446364000439644,
0.02207334339618683,
0.02388051711022854,
-0.0501583069562912,
0.023991161957383156,
0.005960909184068441,
-0.040200408548116684,
-0.01469712145626545,
-0.030629761517047882,
-0.026259349659085274,
-0.003450688673183322,
-0.01813628524541855,
-0.014254548586905003,
-0.042302630841732025,
-0.08932604640722275,
-0.017739813774824142,
0.005545996595174074,
-0.044515497982501984,
0.0027292021550238132,
0.019639190286397934,
-0.01910441368818283,
0.031717754900455475,
0.02852753736078739,
-0.035276781767606735,
-0.03601440414786339,
0.004859086126089096,
0.0105848778039217,
0.012668660841882229,
0.043003372848033905,
0.06129640340805054,
0.0027315071783959866,
0.013000590726733208,
-0.032824188470840454,
-0.03321143984794617,
0.01291760802268982,
0.03931526094675064,
-0.036438535898923874,
0.027623949572443962,
0.010446573607623577,
0.04908875748515129,
-0.0038471606094390154,
0.04171253368258476,
0.025613930076360703,
-0.0939730629324913,
0.01255801785737276,
0.018588079139590263,
0.0045571220107376575,
0.02476566471159458,
0.01694686897099018,
0.018237708136439323,
0.07210256904363632,
-0.009930238127708435,
0.0101791862398386,
0.02257123775780201,
0.07597508281469345,
-0.011682091280817986,
0.0007508763228543103,
-0.06546396762132645,
0.002782218623906374,
0.010418913327157497,
0.043003372848033905,
-0.03780313581228256,
0.0015363286947831511,
-0.0038586859591305256,
0.0035889928694814444,
-0.04547440633177757,
-0.02011864446103573,
0.017536967992782593,
-0.012926829047501087,
-0.013111233711242676,
0.03210500627756119,
0.012604119256138802,
-0.04097491130232811,
0.01618158631026745,
-0.015065932646393776,
-0.016605719923973083,
0.0005030813626945019,
0.021944260224699974,
-0.021446364000439644,
-0.025134475901722908,
0.07136494666337967,
0.004960509017109871,
-0.022405274212360382,
-0.08209735155105591,
-0.0715862289071083,
-0.00068345305044204,
0.04477366432547569,
0.045511286705732346,
-0.04532688111066818,
0.03710239380598068,
-0.0013738212874159217,
0.013655230402946472,
-0.006740022450685501,
0.020339932292699814,
-0.04208134487271309,
-0.08165477216243744,
-0.012631779536604881,
-0.08976861834526062,
-0.01123029738664627,
-0.020690301433205605,
-0.03240005299448967,
0.018735602498054504,
-0.0020953079219907522,
-0.004186005797237158,
-0.0028467606753110886,
0.01313889492303133,
-0.013977940194308758,
0.021280400454998016,
-0.003406892530620098,
0.07774537801742554,
0.02356702834367752,
0.04953132942318916,
-0.014807765372097492,
0.038835808634757996,
-0.00982881523668766,
-0.030519116669893265,
0.033377401530742645,
0.036788906902074814,
0.014411292970180511,
0.0021391042973846197,
0.020395252853631973,
0.007532966323196888,
-0.04805608466267586,
0.011682091280817986,
0.05900977551937103,
0.08814585208892822,
0.05543230473995209,
-0.02852753736078739,
-0.019823595881462097,
-0.019583867862820625,
-0.06870950758457184,
-0.01077850442379713,
-0.04388852044939995,
-0.0020480540115386248,
-0.009884136728942394,
-0.059710513800382614,
-0.06778747588396072,
-0.045363765209913254,
-0.011313280090689659,
0.009681290946900845,
0.005615148693323135,
-0.0032155716326087713,
-0.02222086861729622,
-0.07169687747955322,
-0.01694686897099018,
0.0670129731297493,
-0.017795134335756302,
0.030777284875512123,
-0.009985560551285744,
-0.014752443879842758,
0.08217111229896545,
0.014521936886012554,
-0.013922618702054024,
-0.03857763856649399,
0.07804042845964432,
-0.02542952448129654,
-0.016642600297927856,
-0.0008851466118358076,
0.028822585940361023,
0.014180785976350307,
-0.0285828597843647,
-0.01569291204214096,
-0.04499495401978493,
0.009432343766093254,
-0.0007295544492080808,
-0.01700219139456749,
0.007473034784197807,
0.022442154586315155,
0.008865296840667725,
-0.019491665065288544,
-0.015148915350437164,
-0.043003372848033905,
-0.012272189371287823,
0.0411224365234375,
-0.02627778984606266,
0.014125464484095573,
-0.041601888835430145,
-0.014789324253797531,
0.027107615023851395,
-0.06214466691017151,
0.07154934853315353,
0.08932604640722275,
0.05299815163016319,
-0.02683100663125515,
0.01702985167503357,
-0.024489056318998337,
0.031201418489217758,
0.014909188263118267,
-0.03186527639627457,
0.011765073984861374,
-0.021372603252530098,
-0.012733202427625656,
0.01198635995388031,
-0.020800944417715073,
-0.05063776299357414,
0.011423923075199127,
0.02236839197576046,
-0.021833617240190506,
-0.00022892218839842826,
0.003192520933225751,
-0.010280609130859375,
-0.0012366697192192078,
-0.0018820890691131353,
0.030832607299089432,
0.010492675006389618,
-0.04001600295305252,
-0.060853827744722366,
-0.015932638198137283,
-0.011193416081368923,
-0.008390451781451702,
-0.017158936709165573,
0.0144942756742239,
-0.015591489151120186,
-0.05251869931817055,
0.052481818944215775,
0.005956299137324095,
-0.004748442675918341,
-0.0055275559425354,
0.006988970097154379,
0.02778991498053074,
0.0501583069562912,
0.019491665065288544,
0.01484464667737484,
-0.03835635259747505,
0.022036463022232056,
-0.027255140244960785,
-0.02563237026333809,
-0.0024318480864167213,
-0.007768083363771439,
0.003602823242545128,
-0.0035636371467262506,
-0.014272988773882389,
0.03050067648291588,
0.004886746872216463,
-0.07575380057096481,
-0.02452593669295311,
-0.012106223963201046,
-0.018772484734654427,
-0.024655021727085114,
-0.02061654068529606,
0.03216032683849335,
-0.0019247328164055943,
0.005767283495515585,
-0.01820082776248455,
0.029855256900191307,
-0.03210500627756119,
0.02000800147652626,
-0.0019109024433419108,
-0.0027430325280874968,
0.08342506736516953,
0.03750808909535408,
-0.04377787560224533,
0.03584843873977661,
-0.002514830557629466,
-0.04436797276139259,
0.030519116669893265,
0.00108280626591295,
-0.0481298454105854,
0.02922827936708927,
-0.017656831070780754,
-0.020229287445545197,
-0.023659231141209602,
0.049273163080215454,
-0.02843533456325531,
-0.006357381120324135,
-0.0006327415467239916,
0.058640964329242706,
-0.013212657533586025,
-0.017887337133288383,
-0.006827615201473236,
0.06247659772634506,
-0.0026231687515974045,
0.01288994774222374,
-0.033377401530742645,
-0.031828396022319794,
0.02978149615228176,
0.014660241082310677,
-0.022497477009892464,
0.04735534265637398,
0.0027292021550238132,
-0.01489074807614088,
-0.010852266103029251,
0.014927628450095654,
0.04506871476769447,
0.028656620532274246,
0.03876204416155815,
-0.04130684211850166,
0.023437945172190666,
0.0020273083355277777,
0.02327197976410389,
-0.01233673095703125,
-0.03074040450155735,
0.011617549695074558,
0.0029320481698960066,
0.005661250092089176,
0.04038481414318085,
0.0002332441945327446,
0.02085626684129238,
0.014226887375116348,
-0.0031348941847682,
-0.026941649615764618,
-0.06922584027051926,
0.026019621640443802,
0.024950070306658745,
0.012060122564435005,
-0.01702985167503357,
-0.015637589618563652,
-0.02175985462963581,
0.022331511601805687,
-0.02397271990776062,
0.03289794921875,
0.051486026495695114,
0.05628057196736336,
0.10171809792518616,
-0.01547162514179945,
-0.0028628960717469454,
0.0334327258169651,
-0.0064772446639835835,
-0.016448974609375,
0.0019420208409428596,
-0.014033261686563492,
0.01140548288822174,
-0.0309432502835989,
0.04208134487271309,
0.012419713661074638,
-0.02292160876095295,
-0.027365783229470253,
0.006426533218473196,
0.05425211042165756,
-0.01904909312725067,
0.029652411118149757,
0.03898333013057709,
-0.06572213768959045,
-0.002630084054544568,
-0.013682891614735126,
-0.01589575782418251,
0.07877805083990097,
0.029652411118149757,
0.008289028890430927,
-0.05543230473995209,
0.07088549435138702,
-0.08209735155105591,
0.09050624072551727,
0.02257123775780201,
-0.03850387781858444,
-0.05923106148838997,
0.045658811926841736,
-0.02753174677491188,
0.004268988501280546,
-0.03946278616786003,
0.03348804637789726,
-0.04292961210012436,
0.010317490436136723,
0.005430743098258972,
0.03409658372402191,
-0.008007810451090336,
0.015536166727542877,
-0.008505705744028091,
-0.05226052924990654,
0.050416477024555206,
-0.02707073464989662,
0.008556417189538479,
0.03118297830224037,
0.009118854068219662,
0.023142896592617035,
-0.03315611556172371,
0.02531888149678707,
-0.044257331639528275,
-0.019731393083930016,
-0.019030652940273285,
-0.04709717631340027,
-0.03536898270249367,
-0.011709751561284065,
-0.008422723039984703,
-0.004840645473450422,
-0.020727183669805527,
0.011257958598434925,
-0.02458125911653042,
0.03138582408428192,
0.0051956260576844215,
-0.011682091280817986,
0.018449774011969566,
0.015858877450227737,
0.04576945677399635,
-0.04027416929602623,
-0.032123446464538574,
0.0017933439230546355,
0.015886537730693817,
0.061960261315107346,
0.0380244217813015,
0.04683900624513626,
0.007173375692218542,
-0.0043312250636518,
0.05598552152514458,
0.05045335739850998,
0.007334730587899685,
-0.04499495401978493,
0.06018996983766556,
-0.044404853135347366,
-0.005937858484685421,
0.015554607845842838,
-0.033875297755002975,
-0.02041369304060936,
0.017260359600186348,
0.0002898624516092241,
-0.07177063822746277,
0.03865140303969383,
-0.01220764685422182,
-0.00036708227708004415,
0.03968407213687897,
0.03485264629125595,
-0.000557250517886132,
0.010483454912900925,
0.044958069920539856,
0.008653230033814907,
0.011101213283836842,
0.017343340441584587,
-0.027457986027002335,
0.026443755254149437,
-0.008339740335941315,
0.011313280090689659,
0.014355971477925777,
-0.015139695256948471,
-0.06339862942695618,
-0.010972130112349987,
-0.037581849843263626,
-0.00883763562887907,
-0.043261539191007614,
-0.0013323300518095493,
0.05742388591170311,
0.001743784872815013,
-0.016467414796352386,
-0.002445678459480405,
0.0010349760996177793,
0.011829615570604801,
0.024636581540107727,
0.016052503138780594,
0.006007010582834482,
0.12635467946529388,
-0.012170765548944473,
-0.008763873018324375,
-0.04366723448038101,
0.013083573430776596,
0.02332730032503605,
-0.023843636736273766,
0.04296649247407913,
-0.08851466327905655,
-0.04632267355918884,
-0.02707073464989662,
-0.03927838057279587,
0.0037134666927158833,
-0.04805608466267586,
0.0359959602355957,
0.020044881850481033,
-0.06712361425161362,
0.011645209975540638,
0.027605509385466576,
-0.06325110048055649,
0.05004766583442688,
0.027199817821383476,
0.03916773572564125,
0.0528506301343441,
-0.03050067648291588,
-0.040347933769226074,
-0.05502661317586899,
-0.008814585395157337,
0.011368601582944393,
0.04742910712957382,
0.025447964668273926,
0.015158135443925858,
0.02085626684129238,
-0.013950278982520103,
0.007924828678369522,
-0.018154725432395935,
-0.019399462267756462,
0.0403110533952713,
0.007957099005579948,
-0.05602240562438965,
0.0072240871377289295,
0.02056121826171875,
0.006776903755962849,
0.011820395477116108,
0.020690301433205605,
0.028250928968191147,
-0.06162833422422409,
-0.04654395952820778,
0.05882536992430687,
-0.03074040450155735,
0.03018718771636486,
0.03149646520614624,
-0.06804564595222473,
0.010151525028049946,
0.0030657420866191387,
-0.02843533456325531,
0.000025535846361890435,
0.02528199926018715,
0.029578648507595062,
-0.03405970335006714,
-0.08379387855529785,
0.02884102612733841,
-0.020395252853631973,
0.007551406975835562,
-0.016550397500395775,
0.028066523373126984,
0.002371916314586997,
-0.00982881523668766,
0.009884136728942394,
0.007777303922921419,
0.03946278616786003,
0.018246928229928017,
-0.00962596945464611,
-0.028011202812194824,
0.06583277881145477,
-0.06258723884820938,
0.009902577847242355,
0.002026155823841691,
-0.006352771073579788,
0.017832016572356224,
0.014964509755373001,
0.02834313176572323,
0.04289272800087929,
0.043409064412117004,
-0.020598098635673523,
-0.0250791534781456,
-0.07486864924430847,
0.014512715861201286
] |
52,204 |
osmnx.utils
|
config
|
Do not use: deprecated. Use the settings module directly.
Parameters
----------
all_oneway : bool
deprecated
bidirectional_network_types : list
deprecated
cache_folder : string or pathlib.Path
deprecated
data_folder : string or pathlib.Path
deprecated
cache_only_mode : bool
deprecated
default_accept_language : string
deprecated
default_access : string
deprecated
default_crs : string
deprecated
default_referer : string
deprecated
default_user_agent : string
deprecated
imgs_folder : string or pathlib.Path
deprecated
log_file : bool
deprecated
log_filename : string
deprecated
log_console : bool
deprecated
log_level : int
deprecated
log_name : string
deprecated
logs_folder : string or pathlib.Path
deprecated
max_query_area_size : int
deprecated
memory : int
deprecated
nominatim_endpoint : string
deprecated
nominatim_key : string
deprecated
osm_xml_node_attrs : list
deprecated
osm_xml_node_tags : list
deprecated
osm_xml_way_attrs : list
deprecated
osm_xml_way_tags : list
deprecated
overpass_endpoint : string
deprecated
overpass_rate_limit : bool
deprecated
overpass_settings : string
deprecated
requests_kwargs : dict
deprecated
timeout : int
deprecated
use_cache : bool
deprecated
useful_tags_node : list
deprecated
useful_tags_way : list
deprecated
Returns
-------
None
|
def config(
all_oneway=settings.all_oneway,
bidirectional_network_types=settings.bidirectional_network_types,
cache_folder=settings.cache_folder,
cache_only_mode=settings.cache_only_mode,
data_folder=settings.data_folder,
default_accept_language=settings.default_accept_language,
default_access=settings.default_access,
default_crs=settings.default_crs,
default_referer=settings.default_referer,
default_user_agent=settings.default_user_agent,
imgs_folder=settings.imgs_folder,
log_console=settings.log_console,
log_file=settings.log_file,
log_filename=settings.log_filename,
log_level=settings.log_level,
log_name=settings.log_name,
logs_folder=settings.logs_folder,
max_query_area_size=settings.max_query_area_size,
memory=settings.memory,
nominatim_endpoint=settings.nominatim_endpoint,
nominatim_key=settings.nominatim_key,
osm_xml_node_attrs=settings.osm_xml_node_attrs,
osm_xml_node_tags=settings.osm_xml_node_tags,
osm_xml_way_attrs=settings.osm_xml_way_attrs,
osm_xml_way_tags=settings.osm_xml_way_tags,
overpass_endpoint=settings.overpass_endpoint,
overpass_rate_limit=settings.overpass_rate_limit,
overpass_settings=settings.overpass_settings,
requests_kwargs=settings.requests_kwargs,
timeout=settings.timeout,
use_cache=settings.use_cache,
useful_tags_node=settings.useful_tags_node,
useful_tags_way=settings.useful_tags_way,
):
"""
Do not use: deprecated. Use the settings module directly.
Parameters
----------
all_oneway : bool
deprecated
bidirectional_network_types : list
deprecated
cache_folder : string or pathlib.Path
deprecated
data_folder : string or pathlib.Path
deprecated
cache_only_mode : bool
deprecated
default_accept_language : string
deprecated
default_access : string
deprecated
default_crs : string
deprecated
default_referer : string
deprecated
default_user_agent : string
deprecated
imgs_folder : string or pathlib.Path
deprecated
log_file : bool
deprecated
log_filename : string
deprecated
log_console : bool
deprecated
log_level : int
deprecated
log_name : string
deprecated
logs_folder : string or pathlib.Path
deprecated
max_query_area_size : int
deprecated
memory : int
deprecated
nominatim_endpoint : string
deprecated
nominatim_key : string
deprecated
osm_xml_node_attrs : list
deprecated
osm_xml_node_tags : list
deprecated
osm_xml_way_attrs : list
deprecated
osm_xml_way_tags : list
deprecated
overpass_endpoint : string
deprecated
overpass_rate_limit : bool
deprecated
overpass_settings : string
deprecated
requests_kwargs : dict
deprecated
timeout : int
deprecated
use_cache : bool
deprecated
useful_tags_node : list
deprecated
useful_tags_way : list
deprecated
Returns
-------
None
"""
warn(
"The `utils.config` function is deprecated and will be removed in "
"the v2.0.0 release. Instead, use the `settings` module directly to "
"configure a global setting's value. For example, "
"`ox.settings.log_console=True`. "
"See the OSMnx v2 migration guide: https://github.com/gboeing/osmnx/issues/1123",
FutureWarning,
stacklevel=2,
)
# set each global setting to the argument value
settings.all_oneway = all_oneway
settings.bidirectional_network_types = bidirectional_network_types
settings.cache_folder = cache_folder
settings.cache_only_mode = cache_only_mode
settings.data_folder = data_folder
settings.default_accept_language = default_accept_language
settings.default_access = default_access
settings.default_crs = default_crs
settings.default_referer = default_referer
settings.default_user_agent = default_user_agent
settings.imgs_folder = imgs_folder
settings.log_console = log_console
settings.log_file = log_file
settings.log_filename = log_filename
settings.log_level = log_level
settings.log_name = log_name
settings.logs_folder = logs_folder
settings.max_query_area_size = max_query_area_size
settings.memory = memory
settings.nominatim_endpoint = nominatim_endpoint
settings.nominatim_key = nominatim_key
settings.osm_xml_node_attrs = osm_xml_node_attrs
settings.osm_xml_node_tags = osm_xml_node_tags
settings.osm_xml_way_attrs = osm_xml_way_attrs
settings.osm_xml_way_tags = osm_xml_way_tags
settings.overpass_endpoint = overpass_endpoint
settings.overpass_rate_limit = overpass_rate_limit
settings.overpass_settings = overpass_settings
settings.timeout = timeout
settings.use_cache = use_cache
settings.useful_tags_node = useful_tags_node
settings.useful_tags_way = useful_tags_way
settings.requests_kwargs = requests_kwargs
|
(all_oneway=False, bidirectional_network_types=['walk'], cache_folder='./cache', cache_only_mode=False, data_folder='./data', default_accept_language=None, default_access='["access"!~"private"]', default_crs='epsg:4326', default_referer=None, default_user_agent=None, imgs_folder='./images', log_console=False, log_file=False, log_filename='osmnx', log_level=20, log_name='OSMnx', logs_folder='./logs', max_query_area_size=2500000000, memory=None, nominatim_endpoint=None, nominatim_key=None, osm_xml_node_attrs=None, osm_xml_node_tags=None, osm_xml_way_attrs=None, osm_xml_way_tags=None, overpass_endpoint=None, overpass_rate_limit=True, overpass_settings='[out:json][timeout:{timeout}]{maxsize}', requests_kwargs={}, timeout=None, use_cache=True, useful_tags_node=['ref', 'highway'], useful_tags_way=['bridge', 'tunnel', 'oneway', 'lanes', 'ref', 'name', 'highway', 'maxspeed', 'service', 'access', 'area', 'landuse', 'width', 'est_width', 'junction'])
|
[
-0.030094195157289505,
-0.043647464364767075,
-0.0018957265419885516,
-0.018005073070526123,
-0.015175704844295979,
0.0055894870311021805,
-0.08689921349287033,
0.032052990049123764,
-0.029441263526678085,
-0.03173641487956047,
-0.043212179094552994,
-0.0006195427267812192,
-0.01596713624894619,
0.06038624793291092,
0.07178286463022232,
0.01685749739408493,
-0.04467632621526718,
-0.01861843280494213,
0.040343236178159714,
-0.024000169709324837,
-0.006267150864005089,
-0.059001240879297256,
0.005401522386819124,
0.017500536516308784,
0.020112261176109314,
0.044359754770994186,
0.0464174747467041,
0.01180222723633051,
0.014621702954173088,
-0.015709921717643738,
-0.06762784719467163,
-0.02603810653090477,
-0.012435372918844223,
0.031123057007789612,
0.019281256943941116,
-0.03737536817789078,
0.02584024891257286,
0.05290721729397774,
-0.10581443458795547,
-0.02053765580058098,
-0.041510600596666336,
-0.05357993394136429,
0.0016113057499751449,
-0.032092560082674026,
-0.017213642597198486,
0.05456922575831413,
-0.014384273439645767,
0.08895693719387054,
0.012742052786052227,
-0.0007333110552281141,
0.004936555866152048,
-0.022239234298467636,
-0.02342638187110424,
0.09386381506919861,
-0.028076043352484703,
-0.005634005181491375,
-0.008641446009278297,
0.07795603573322296,
0.02405952662229538,
0.0004900075728073716,
-0.022694308310747147,
0.04618004709482193,
0.04946449026465416,
0.016501354053616524,
0.012643123045563698,
-0.010882187634706497,
-0.06173168122768402,
0.03547593206167221,
0.034724071621894836,
-0.0015853368677198887,
0.02736375480890274,
-0.021962232887744904,
-0.018282074481248856,
-0.04546775668859482,
-0.019746223464608192,
-0.03955180570483208,
-0.04657576233148575,
0.06315626204013824,
-0.06719256192445755,
0.01787646673619747,
-0.012742052786052227,
0.0011432480532675982,
-0.032092560082674026,
0.008606821298599243,
0.05757666379213333,
-0.015017419122159481,
-0.018658004701137543,
0.028768546879291534,
0.04764419421553612,
-0.02124994434416294,
-0.03242892026901245,
0.036860935389995575,
0.004053615033626556,
-0.0012013687519356608,
-0.0029802354983985424,
-0.022694308310747147,
-0.02364402636885643,
-0.027838613837957382,
0.008626607246696949,
-0.05183878540992737,
-0.03901758790016174,
-0.014176522381603718,
-0.026809753850102425,
-0.053540363907814026,
0.0024188135284930468,
-0.10636843740940094,
-0.04400360956788063,
0.004412232432514429,
0.03351713716983795,
-0.007879693061113358,
-0.06980428844690323,
-0.04800033941864967,
-0.016847604885697365,
0.0043133036233484745,
0.002385424915701151,
0.008468320593237877,
-0.039472661912441254,
0.007563120219856501,
0.010090755298733711,
0.00918060913681984,
-0.0023273041006177664,
0.06212739646434784,
-0.04139188304543495,
-0.00591595284640789,
0.05951567366719246,
0.039472661912441254,
0.03812722861766815,
0.04198545962572098,
0.0074196732603013515,
-0.04067959636449814,
0.020854229107499123,
0.03151877224445343,
-0.009655468165874481,
0.0013479073531925678,
-0.007028903812170029,
-0.032508060336112976,
0.017480749636888504,
0.02803647145628929,
0.004521054215729237,
0.038186583667993546,
-0.04056088253855705,
0.01948900893330574,
0.012692587450146675,
-0.04883134365081787,
0.02405952662229538,
-0.004461696837097406,
-0.017025677487254143,
-0.052669789642095566,
-0.055281512439250946,
-0.024217814207077026,
0.07621488720178604,
0.009784076362848282,
-0.05532108619809151,
0.0017089981120079756,
-0.06564927101135254,
-0.001217444776557386,
0.02144780196249485,
0.02186330407857895,
-0.006796420551836491,
0.03106369823217392,
-0.03409092500805855,
0.027482470497488976,
0.06422469019889832,
-0.015818743035197258,
-0.015996815636754036,
-0.04202502965927124,
0.0037444618064910173,
-0.025701748207211494,
0.06256268918514252,
0.011614262126386166,
-0.03363585099577904,
-0.013028946705162525,
-0.0844457745552063,
0.0015259794890880585,
-0.00585659546777606,
0.04483461380004883,
-0.010338078252971172,
-0.03925501927733421,
-0.02229859121143818,
-0.014117165468633175,
-0.05421308055520058,
0.02651296555995941,
-0.011683512479066849,
-0.004869779106229544,
0.007676888722926378,
0.05017677694559097,
0.0267306100577116,
-0.008369391784071922,
-0.02516753226518631,
0.02124994434416294,
0.03749408200383186,
-0.0019699232652783394,
0.004157490096986294,
-0.01814357377588749,
0.00098681659437716,
-0.003279495518654585,
0.04178760200738907,
-0.05694352090358734,
0.04645704850554466,
0.0656888410449028,
-0.028056258335709572,
-0.012524408288300037,
0.007009117864072323,
-0.027264825999736786,
0.029441263526678085,
-0.03363585099577904,
-0.05520236864686012,
-0.029935909435153008,
0.01644199527800083,
0.11776505410671234,
-0.011020688340067863,
-0.0023569827899336815,
-0.018549183383584023,
0.025879820808768272,
0.00738999480381608,
-0.018331538885831833,
0.006925028283149004,
0.08784893155097961,
-0.05464836582541466,
-0.0011123326839879155,
0.059871818870306015,
-0.01368187740445137,
0.010169899091124535,
-0.07562131434679031,
0.030569054186344147,
0.02023097686469555,
0.02955997921526432,
-0.01957804523408413,
0.028372831642627716,
-0.03325992077589035,
0.04313303530216217,
0.048870913684368134,
0.013177339918911457,
0.06169211119413376,
0.09307238459587097,
-0.07989504188299179,
0.013919306918978691,
-0.022259019315242767,
-0.007909371517598629,
-0.05650823190808296,
0.008379284292459488,
-0.07589831203222275,
-0.004592777695506811,
-0.005634005181491375,
0.016194673255085945,
-0.006430383771657944,
-0.051997069269418716,
0.008280355483293533,
0.0002045047440333292,
-0.02777925692498684,
0.03788979724049568,
-0.0033264867961406708,
-0.011673619039356709,
0.009784076362848282,
-0.03256741911172867,
-0.03741493821144104,
0.026394251734018326,
0.014176522381603718,
0.027957329526543617,
-0.09267666935920715,
0.04681319370865822,
-0.051720067858695984,
-0.018133681267499924,
0.008512838743627071,
0.023940812796354294,
0.020478298887610435,
0.0398881621658802,
-0.04143145680427551,
-0.02473224513232708,
-0.002705707447603345,
0.04526989907026291,
0.07704588770866394,
-0.04689233377575874,
-0.007335583679378033,
-0.022199662402272224,
-0.030292052775621414,
0.03874058648943901,
-0.008443588390946388,
-0.005431200843304396,
0.02124994434416294,
-0.01465138141065836,
-0.023030666634440422,
0.04645704850554466,
0.0361090786755085,
-0.010793151333928108,
-0.03529785946011543,
-0.06715299189090729,
0.021942447870969772,
0.008270462974905968,
-0.018935006111860275,
-0.016649747267365456,
0.011881370097398758,
0.00012180630437796935,
0.007132779341191053,
0.023465953767299652,
-0.025681963190436363,
-0.02580067701637745,
0.01698610559105873,
0.05255107209086418,
-0.01857886277139187,
0.02208094857633114,
0.008740374818444252,
-0.024376099929213524,
0.005381736438721418,
0.09647554159164429,
0.08381263166666031,
0.03242892026901245,
-0.0428956039249897,
0.05682480335235596,
0.029461050406098366,
-0.01454256009310484,
-0.057695381343364716,
0.06659898906946182,
0.02005290426313877,
0.011891263537108898,
0.0015717340866103768,
0.015937458723783493,
0.013701663352549076,
0.010565615259110928,
0.03391285240650177,
-0.017104819416999817,
0.029322549700737,
-0.03652457892894745,
-0.01968686655163765,
0.04618004709482193,
-0.03632672131061554,
0.06149425357580185,
-0.01879650540649891,
0.003264656290411949,
0.0067519028671085835,
-0.045230329036712646,
-0.028313472867012024,
0.003128628944978118,
0.028353044763207436,
-0.0058961668983101845,
0.0003589266852941364,
-0.018479933962225914,
0.014413951896131039,
0.008814572356641293,
-0.016343066468834877,
0.03136048465967178,
0.038186583667993546,
-0.07166415452957153,
0.022892165929079056,
-0.03478343039751053,
-0.03506042808294296,
0.02097294293344021,
-0.010486471466720104,
0.004449330735951662,
-0.028788331896066666,
-0.02732418291270733,
0.043014317750930786,
0.024455243721604347,
0.08084475994110107,
0.06315626204013824,
-0.004582884721457958,
-0.018865756690502167,
0.018519503995776176,
0.009512021206319332,
0.011990192346274853,
-0.06042581796646118,
-0.01698610559105873,
0.0064452229999005795,
0.07969718426465988,
0.049147915095090866,
0.015610992908477783,
0.02779904194176197,
0.0016385111957788467,
0.07716460525989532,
-0.05278850346803665,
0.0010820357128977776,
-0.01727299951016903,
-0.013820378109812737,
-0.0025597873609513044,
0.039096731692552567,
0.0012786570005118847,
-0.08167576044797897,
0.0006189244450069964,
-0.08294205367565155,
0.03897801786661148,
0.012326550669968128,
0.05401522293686867,
0.03868123143911362,
-0.005042904522269964,
0.017569785937666893,
-0.014760203659534454,
0.02033979818224907,
-0.004422125406563282,
0.03442728519439697,
-0.020676156505942345,
-0.03145941346883774,
0.029164262115955353,
-0.03919566050171852,
0.06066324934363365,
-0.015126240439713001,
0.023782527074217796,
0.0005722423084080219,
0.05104735121130943,
-0.007805496454238892,
-0.048039913177490234,
0.043212179094552994,
-0.08832379430532455,
-0.007657102774828672,
0.01787646673619747,
0.0018907800549641252,
0.006430383771657944,
0.023525310680270195,
0.03901758790016174,
0.042341601103544235,
-0.000633763789664954,
-0.017431285232305527,
-0.014532666653394699,
-0.031419843435287476,
0.01740160770714283,
-0.038166798651218414,
0.0035441305954009295,
0.008868983015418053,
0.09346809983253479,
0.04285603389143944,
-0.03517914563417435,
0.014028129167854786,
-0.04863348603248596,
0.029619336128234863,
0.026176607236266136,
0.027957329526543617,
0.0031459415331482887,
-0.01731257140636444,
-0.008606821298599243,
-0.0442410372197628,
-0.00910146627575159,
-0.005342165008187294,
0.017688501626253128,
-0.011525225825607777,
-0.03001505136489868,
0.05381736531853676,
0.009670307859778404,
0.013177339918911457,
-0.07174329459667206,
0.011228439398109913,
-0.030133767053484917,
0.0068162064999341965,
-0.033813923597335815,
0.021922660991549492,
-0.006321561522781849,
0.015017419122159481,
0.030588839203119278,
-0.07142671942710876,
-0.006544151809066534,
0.06489741057157516,
-0.03153855726122856,
-0.06347282975912094,
-0.03563421964645386,
-0.028095830231904984,
-0.034268997609615326,
0.000863773631863296,
-0.03571335971355438,
-0.04443889856338501,
0.019518686458468437,
-0.05820981040596962,
0.014463416300714016,
0.026552537456154823,
-0.04594261571764946,
-0.028630046173930168,
0.0036578988656401634,
0.014245772734284401,
0.04447846859693527,
0.03147920221090317,
0.013929200358688831,
-0.003806292312219739,
0.021487373858690262,
-0.015146026387810707,
-0.021982019767165184,
-0.08025118708610535,
-0.015037205070257187,
0.04329131916165352,
-0.014839346520602703,
-0.04657576233148575,
0.024890530854463577,
-0.021329088136553764,
-0.021052086725831032,
-0.018737148493528366,
-0.051957499235868454,
-0.005792291834950447,
0.006999225355684757,
0.0011284087086096406,
-0.06462040543556213,
0.00732569070532918,
-0.031182413920760155,
0.0247124582529068,
0.008809625171124935,
-0.0339326411485672,
-0.020171618089079857,
0.017480749636888504,
-0.059001240879297256,
0.010981116443872452,
0.07083314657211304,
-0.015957243740558624,
-0.01456234510987997,
0.021170800551772118,
-0.004105552565306425,
-0.002844208152964711,
-0.05923867225646973,
-0.03549571707844734,
0.03589143231511116,
0.031004341319203377,
0.00991762988269329,
-0.06719256192445755,
0.026334894821047783,
-0.004582884721457958,
0.0012848400510847569,
-0.02473224513232708,
0.02340659685432911,
0.025780891999602318,
-0.014918490312993526,
0.017025677487254143,
-0.010140220634639263,
-0.031123057007789612,
0.04598218947649002,
-0.00935373455286026,
-0.04265817627310753,
0.03868123143911362,
0.04800033941864967,
0.02601832151412964,
0.008587035350501537,
-0.012000084854662418,
0.0437266081571579,
0.02540496177971363,
-0.022061161696910858,
-0.052630215883255005,
0.07807474583387375,
-0.001414684345945716,
-0.01944943703711033,
-0.028788331896066666,
0.05575637146830559,
0.058724239468574524,
-0.00897285807877779,
-0.0013973717577755451,
-0.029718264937400818,
0.017975395545363426,
0.03377435356378555,
0.018915221095085144,
-0.08349605649709702,
0.011465868912637234,
-0.028748761862516403,
-0.06810270994901657,
0.007474084384739399,
0.03824594244360924,
0.03147920221090317,
-0.008334766142070293,
-0.034447070211172104,
0.04709019511938095,
0.0013120456133037806,
0.10304442048072815,
-0.010417221114039421,
0.04261860251426697,
-0.07506731152534485,
-0.003521871520206332,
-0.027917757630348206,
0.02607767842710018,
0.007315797731280327,
-0.005119574721902609,
-0.015739601105451584,
-0.12472965568304062,
0.02975783683359623,
-0.04989977553486824,
0.009516967460513115,
-0.03225084766745567,
0.02003311738371849,
-0.04091702401638031,
0.04439932480454445,
0.010634864680469036,
-0.014136950485408306,
0.02451460063457489,
-0.03943309187889099,
-0.046536192297935486,
-0.004120391793549061,
0.007869800552725792,
0.021309301257133484,
-0.01840079016983509,
-0.017629144713282585,
0.0037593012675642967,
0.052867647260427475,
0.02124994434416294,
-0.002432416193187237,
0.043884895741939545,
0.018915221095085144,
0.08626607060432434,
0.058724239468574524,
0.008695857599377632,
-0.02123015932738781,
-0.0001630782353458926,
0.034724071621894836,
0.023050451651215553,
-0.017569785937666893,
-0.045863475650548935,
0.06648027151823044,
0.012099013663828373,
-0.05029549077153206,
0.09702954441308975,
0.03136048465967178,
-0.03519893065094948,
0.0025968856643885374,
0.027066968381404877,
-0.048039913177490234,
-0.00945266429334879,
0.03134069964289665,
0.000415192567743361,
-0.006173168309032917,
0.02186330407857895,
-0.009195448830723763,
0.024890530854463577,
-0.03153855726122856,
0.005950578022748232,
-0.04012559354305267,
-0.0033759514335542917,
-0.004988493863493204,
0.015739601105451584,
0.1012241318821907,
0.020092476159334183,
-0.0537777915596962,
-0.004592777695506811,
0.026394251734018326,
-0.024633316323161125,
0.0036801579408347607,
-0.042381174862384796,
-0.027640756219625473,
-0.023287881165742874,
-0.08128004521131516,
-0.04839605465531349,
0.032508060336112976,
0.046931907534599304,
-0.02779904194176197,
0.04701105132699013,
-0.013968771323561668,
-0.05017677694559097,
-0.018766827881336212,
0.05508365482091904,
0.004501268267631531,
-0.0034872465766966343,
0.01433480903506279,
0.09877069294452667,
0.031123057007789612,
0.01007097028195858,
0.0029406638350337744,
0.00623747194185853,
0.012732159346342087,
-0.02449481561779976,
-0.007469137664884329,
0.03543635830283165,
-0.009289431385695934,
-0.027423113584518433,
0.03523850068449974,
-0.0028689403552562,
0.0007042506476864219,
-0.04265817627310753,
0.018113896250724792,
-0.028095830231904984,
0.012870660051703453,
0.025424746796488762,
-0.10945501923561096,
0.010239149443805218,
-0.004812894854694605,
-0.009388360194861889,
0.004103079438209534,
-0.01344444788992405,
-0.037711724638938904,
-0.021507158875465393,
0.03634650632739067,
0.029658908024430275,
0.026552537456154823,
0.0455864742398262,
-0.03895823284983635,
0.06101939454674721,
0.03302249312400818,
0.05733923614025116,
-0.008379284292459488,
0.016699211671948433,
0.046298760920763016,
-0.03353692218661308,
-0.007627424318343401,
0.016936641186475754,
0.0988498330116272,
-0.0029010921716690063,
-0.005391629412770271,
-0.007953889667987823,
-0.009526860900223255,
-0.01226719282567501,
0.024356314912438393,
-0.007756032049655914,
0.07510688155889511,
-0.035119786858558655,
-0.011970406398177147,
0.001210643327794969,
0.03306206315755844,
0.024178242310881615,
-0.0700417160987854,
-0.008938233368098736,
-0.0034204693511128426,
0.024771815165877342,
-0.030074410140514374,
0.014878918416798115,
-0.02910490520298481,
-0.04621961712837219,
0.020676156505942345,
0.024138670414686203,
-0.030311839655041695,
-0.0026092517655342817,
-0.02957976423203945,
-0.044992897659540176,
-0.007103100419044495,
0.006094024982303381,
-0.014186415821313858,
0.06925028562545776,
-0.04091702401638031,
0.0043776072561740875,
-0.00006302857946138829,
0.021764375269412994,
-0.017015784978866577,
-0.034447070211172104,
-0.0034204693511128426,
-0.04376617819070816,
0.0024930101353675127,
0.057853665202856064,
0.0005558572011068463,
0.06244397163391113,
-0.022694308310747147,
-0.046694476157426834,
-0.01857886277139187,
0.0012514515547081828,
-0.021269729360938072,
-0.017787430435419083,
0.03329949453473091,
-0.017302678897976875,
0.05322378873825073,
-0.0070585827343165874,
-0.04067959636449814,
0.044755470007658005,
0.010654650628566742,
-0.06430383771657944,
0.016936641186475754,
0.016412317752838135,
-0.033596280962228775,
-0.05179921165108681,
0.01082282979041338,
-0.0026265643537044525,
-0.008542517200112343,
0.020181510597467422,
-0.0053718434646725655,
-0.06315626204013824,
0.02273387834429741,
-0.0047584837302565575,
0.013642306439578533,
-0.0018833604408428073,
0.009803861379623413,
-0.022476663812994957,
0.0010047474643215537,
-0.00879973266273737,
0.0025424747727811337,
0.007879693061113358,
-0.019518686458468437,
-0.006380918901413679,
-0.03523850068449974,
-0.004820314235985279,
0.06220654025673866,
0.06026753410696983,
0.019993547350168228,
0.005634005181491375,
0.00420448137447238
] |
52,205 |
osmnx.simplification
|
consolidate_intersections
|
Consolidate intersections comprising clusters of nearby nodes.
Merges nearby nodes and returns either their centroids or a rebuilt graph
with consolidated intersections and reconnected edge geometries. The
tolerance argument should be adjusted to approximately match street design
standards in the specific street network, and you should always use a
projected graph to work in meaningful and consistent units like meters.
Note the tolerance represents a per-node buffering radius: for example, to
consolidate nodes within 10 meters of each other, use tolerance=5.
When rebuild_graph=False, it uses a purely geometrical (and relatively
fast) algorithm to identify "geometrically close" nodes, merge them, and
return just the merged intersections' centroids. When rebuild_graph=True,
it uses a topological (and slower but more accurate) algorithm to identify
"topologically close" nodes, merge them, then rebuild/return the graph.
Returned graph's node IDs represent clusters rather than osmids. Refer to
nodes' osmid_original attributes for original osmids. If multiple nodes
were merged together, the osmid_original attribute is a list of merged
nodes' osmids.
Divided roads are often represented by separate centerline edges. The
intersection of two divided roads thus creates 4 nodes, representing where
each edge intersects a perpendicular edge. These 4 nodes represent a
single intersection in the real world. A similar situation occurs with
roundabouts and traffic circles. This function consolidates nearby nodes
by buffering them to an arbitrary distance, merging overlapping buffers,
and taking their centroid.
Parameters
----------
G : networkx.MultiDiGraph
a projected graph
tolerance : float
nodes are buffered to this distance (in graph's geometry's units) and
subsequent overlaps are dissolved into a single node
rebuild_graph : bool
if True, consolidate the nodes topologically, rebuild the graph, and
return as networkx.MultiDiGraph. if False, consolidate the nodes
geometrically and return the consolidated node points as
geopandas.GeoSeries
dead_ends : bool
if False, discard dead-end nodes to return only street-intersection
points
reconnect_edges : bool
ignored if rebuild_graph is not True. if True, reconnect edges and
their geometries in rebuilt graph to the consolidated nodes and update
edge length attributes; if False, returned graph has no edges (which
is faster if you just need topologically consolidated intersection
counts).
Returns
-------
networkx.MultiDiGraph or geopandas.GeoSeries
if rebuild_graph=True, returns MultiDiGraph with consolidated
intersections and reconnected edge geometries. if rebuild_graph=False,
returns GeoSeries of shapely Points representing the centroids of
street intersections
|
def consolidate_intersections(
G, tolerance=10, rebuild_graph=True, dead_ends=False, reconnect_edges=True
):
"""
Consolidate intersections comprising clusters of nearby nodes.
Merges nearby nodes and returns either their centroids or a rebuilt graph
with consolidated intersections and reconnected edge geometries. The
tolerance argument should be adjusted to approximately match street design
standards in the specific street network, and you should always use a
projected graph to work in meaningful and consistent units like meters.
Note the tolerance represents a per-node buffering radius: for example, to
consolidate nodes within 10 meters of each other, use tolerance=5.
When rebuild_graph=False, it uses a purely geometrical (and relatively
fast) algorithm to identify "geometrically close" nodes, merge them, and
return just the merged intersections' centroids. When rebuild_graph=True,
it uses a topological (and slower but more accurate) algorithm to identify
"topologically close" nodes, merge them, then rebuild/return the graph.
Returned graph's node IDs represent clusters rather than osmids. Refer to
nodes' osmid_original attributes for original osmids. If multiple nodes
were merged together, the osmid_original attribute is a list of merged
nodes' osmids.
Divided roads are often represented by separate centerline edges. The
intersection of two divided roads thus creates 4 nodes, representing where
each edge intersects a perpendicular edge. These 4 nodes represent a
single intersection in the real world. A similar situation occurs with
roundabouts and traffic circles. This function consolidates nearby nodes
by buffering them to an arbitrary distance, merging overlapping buffers,
and taking their centroid.
Parameters
----------
G : networkx.MultiDiGraph
a projected graph
tolerance : float
nodes are buffered to this distance (in graph's geometry's units) and
subsequent overlaps are dissolved into a single node
rebuild_graph : bool
if True, consolidate the nodes topologically, rebuild the graph, and
return as networkx.MultiDiGraph. if False, consolidate the nodes
geometrically and return the consolidated node points as
geopandas.GeoSeries
dead_ends : bool
if False, discard dead-end nodes to return only street-intersection
points
reconnect_edges : bool
ignored if rebuild_graph is not True. if True, reconnect edges and
their geometries in rebuilt graph to the consolidated nodes and update
edge length attributes; if False, returned graph has no edges (which
is faster if you just need topologically consolidated intersection
counts).
Returns
-------
networkx.MultiDiGraph or geopandas.GeoSeries
if rebuild_graph=True, returns MultiDiGraph with consolidated
intersections and reconnected edge geometries. if rebuild_graph=False,
returns GeoSeries of shapely Points representing the centroids of
street intersections
"""
# if dead_ends is False, discard dead-ends to retain only intersections
if not dead_ends:
spn = stats.streets_per_node(G)
dead_end_nodes = [node for node, count in spn.items() if count <= 1]
# make a copy to not mutate original graph object caller passed in
G = G.copy()
G.remove_nodes_from(dead_end_nodes)
if rebuild_graph:
if not G or not G.edges:
# cannot rebuild a graph with no nodes or no edges, just return it
return G
# otherwise
return _consolidate_intersections_rebuild_graph(G, tolerance, reconnect_edges)
# otherwise, if we're not rebuilding the graph
if not G:
# if graph has no nodes, just return empty GeoSeries
return gpd.GeoSeries(crs=G.graph["crs"])
# otherwise, return the centroids of the merged intersection polygons
return _merge_nodes_geometric(G, tolerance).centroid
|
(G, tolerance=10, rebuild_graph=True, dead_ends=False, reconnect_edges=True)
|
[
0.013134735636413097,
-0.030489621683955193,
0.010298716835677624,
0.012602376751601696,
-0.05443607270717621,
-0.0015002830186858773,
-0.02123626321554184,
-0.005967254284769297,
0.071858711540699,
-0.056565508246421814,
-0.05037079006433487,
-0.019697263836860657,
-0.02942490391433239,
-0.006940018851310015,
-0.012854036875069141,
-0.009180763736367226,
-0.05153229832649231,
-0.05296482890844345,
0.025533847510814667,
-0.017606547102332115,
-0.00858549028635025,
-0.07944723963737488,
0.024507848545908928,
0.021139470860362053,
-0.0010598773369565606,
-0.047583166509866714,
0.027643922716379166,
0.0018789834575727582,
0.0018136485014110804,
0.022146113216876984,
0.02644369751214981,
-0.03124460205435753,
-0.06887751072645187,
-0.0017604127060621977,
0.026424339041113853,
0.023075319826602936,
0.030683206394314766,
0.05462965741753578,
-0.007912782952189445,
0.005986613221466541,
-0.0649670884013176,
-0.050990261137485504,
-0.0011530400952324271,
-0.04347916692495346,
0.09888316690921783,
0.05377788469195366,
0.005444575101137161,
0.08548709005117416,
-0.025127319619059563,
-0.011140811257064342,
-0.017896924167871475,
-0.0866485983133316,
-0.03507758304476738,
0.013521905057132244,
-0.03029603697359562,
0.02427554689347744,
0.012660452164709568,
0.04646037518978119,
0.055907320231199265,
-0.052926111966371536,
-0.016125621274113655,
-0.026753433048725128,
0.05919826030731201,
0.02615332044661045,
-0.06721267849206924,
-0.004895278252661228,
-0.054397355765104294,
-0.0213911309838295,
-0.016077226027846336,
-0.016725735738873482,
-0.016019150614738464,
0.0356583371758461,
0.023172112181782722,
-0.02928939461708069,
0.019765017554163933,
0.03817494213581085,
0.007506254594773054,
-0.0016527310945093632,
-0.003927353769540787,
-0.014373678714036942,
0.008701641112565994,
-0.008653244934976101,
-0.0396268293261528,
-0.001848735730163753,
0.06949698179960251,
-0.007907942868769169,
0.029908867552876472,
0.030199244618415833,
-0.04057539626955986,
-0.08757780492305756,
0.06225690245628357,
0.029908867552876472,
0.012805640697479248,
-0.01213777344673872,
0.0247014332562685,
-0.000534173334017396,
-0.02789558470249176,
-0.034458111971616745,
0.010056735947728157,
-0.034458111971616745,
0.014847962185740471,
0.0488608293235302,
-0.046499092131853104,
0.01384131982922554,
0.043014563620090485,
-0.05385531857609749,
-0.014876999892294407,
-0.02557256445288658,
0.0008106367895379663,
0.010347113013267517,
-0.03763290494680405,
-0.032348036766052246,
-0.01999731920659542,
-0.006276990287005901,
0.029328111559152603,
0.010308396071195602,
0.01333799958229065,
0.022204188629984856,
-0.00814992468804121,
-0.04882211238145828,
0.023288263007998466,
0.0446406789124012,
-0.0026279150042682886,
-0.006867424119263887,
0.025495130568742752,
-0.021913809701800346,
0.012186169624328613,
0.07201357930898666,
0.009727641008794308,
-0.06368943303823471,
0.022010603919625282,
0.02057807520031929,
0.016019150614738464,
0.009132367558777332,
-0.013676772825419903,
-0.045182716101408005,
-0.07224588096141815,
0.0077288770116865635,
0.010230962187051773,
-0.0096405278891325,
-0.013096018694341183,
-0.07120052725076675,
-0.006480254698544741,
0.026501772925257683,
-0.022204188629984856,
-0.0023750446271151304,
-0.019794056192040443,
-0.047350864857435226,
0.012437829747796059,
0.008140245452523232,
0.012253924272954464,
-0.0324835442006588,
0.02144920639693737,
-0.01991988532245159,
-0.03318045288324356,
-0.015835244208574295,
0.0034579101484268904,
0.0023544763680547476,
-0.013676772825419903,
0.005836584605276585,
-0.05056437477469444,
0.0004044109664391726,
0.027082527056336403,
0.0049170562997460365,
-0.03685856610536575,
-0.02805045247077942,
0.057494714856147766,
-0.041620753705501556,
-0.06934211403131485,
-0.0032982027623802423,
-0.05447478964924812,
0.02688894234597683,
-0.04475682973861694,
-0.027566488832235336,
0.0024851460475474596,
0.046847544610500336,
0.03941388428211212,
0.007854707539081573,
-0.02557256445288658,
-0.009645367972552776,
-0.01627081073820591,
-0.017180658876895905,
0.022494565695524216,
-0.021042678505182266,
-0.022804301232099533,
0.08269947022199631,
0.033374037593603134,
-0.06291509419679642,
0.03991720452904701,
-0.03552282974123955,
0.033819280564785004,
-0.03817494213581085,
-0.0324835442006588,
0.08324150741100311,
0.013676772825419903,
-0.01598043367266655,
-0.011421509087085724,
0.02615332044661045,
-0.06125026196241379,
0.08417071402072906,
-0.041039999574422836,
-0.011537659913301468,
0.045686036348342896,
0.002446429105475545,
0.0393558107316494,
-0.020113471895456314,
-0.032657772302627563,
-0.010889150202274323,
0.0009134787251241505,
0.0322318859398365,
-0.001513591967523098,
-0.04820264130830765,
0.032657772302627563,
0.03881377354264259,
0.020094113424420357,
0.0322318859398365,
0.007893424481153488,
0.0036660139448940754,
-0.0046411980874836445,
-0.02071358449757099,
-0.08223486691713333,
-0.041698187589645386,
0.028592489659786224,
-0.0023399575147777796,
-0.03991720452904701,
-0.022146113216876984,
0.014915716834366322,
0.014122018590569496,
0.06721267849206924,
-0.10252255946397781,
0.08540965616703033,
-0.08657116442918777,
0.028437621891498566,
-0.03470977395772934,
-0.024875659495592117,
-0.0842481479048729,
0.008270914666354656,
0.01145054679363966,
0.03093486651778221,
0.04498913139104843,
-0.010531018488109112,
-0.058811090886592865,
-0.021778300404548645,
-0.0020967663731426,
0.01999731920659542,
-0.04405992478132248,
-0.009142046794295311,
-0.028224678710103035,
0.07081335783004761,
0.04440837725996971,
-0.053816601634025574,
-0.0003027788770850748,
0.015264169313013554,
-0.023288263007998466,
0.026985734701156616,
-0.06217946857213974,
-0.0898233950138092,
0.03782648965716362,
-0.026463055983185768,
0.01376388594508171,
0.02319147065281868,
-0.005889820400625467,
0.010966584086418152,
0.06508324295282364,
0.0011409410508349538,
0.02276558429002762,
-0.000041023362427949905,
0.013928433880209923,
-0.03174792230129242,
-0.012989547103643417,
-0.03006373532116413,
-0.02543705515563488,
0.02609524503350258,
0.009626009501516819,
-0.003917674534022808,
0.030973583459854126,
-0.031709205359220505,
-0.04189177230000496,
0.03933645039796829,
0.0016067546093836427,
0.005686556454747915,
0.03747803717851639,
-0.02717931941151619,
-0.050835393369197845,
-0.02015218883752823,
-0.00002769549610093236,
-0.010850433260202408,
-0.003995108418166637,
-0.006204396020621061,
-0.038078147917985916,
-0.004087061155587435,
-0.041194867342710495,
0.024914376437664032,
-0.01145054679363966,
0.012553980574011803,
0.03383864089846611,
-0.025262828916311264,
-0.027701998129487038,
-0.020887810736894608,
-0.03167048841714859,
0.033722490072250366,
-0.03922029957175255,
-0.01666766032576561,
-0.031709205359220505,
0.0520356222987175,
-0.0012885495088994503,
0.005439735483378172,
-0.014431754127144814,
0.02607588656246662,
0.053158413618803024,
-0.052345357835292816,
-0.06593501567840576,
-0.015254490077495575,
-0.06241177022457123,
-0.0266759991645813,
-0.009809914976358414,
0.03422581031918526,
-0.026811508461833,
0.03813622519373894,
-0.017848527058959007,
-0.010443905368447304,
-0.011857074685394764,
0.00022398377768695354,
0.030605772510170937,
0.026579206809401512,
0.010143849067389965,
0.015854602679610252,
0.08734550327062607,
0.029986301437020302,
0.01235071662813425,
-0.013918754644691944,
-0.026792149990797043,
0.0012413631193339825,
0.02557256445288658,
-0.004825103562325239,
-0.014799565076828003,
0.09137207269668579,
-0.06306996196508408,
0.01159573532640934,
-0.04270482808351517,
0.022959169000387192,
0.05877237394452095,
0.002460947958752513,
-0.005947895813733339,
-0.022804301232099533,
0.04979003593325615,
0.032657772302627563,
0.010608452372252941,
-0.030605772510170937,
-0.07693064212799072,
0.016812847927212715,
0.08277690410614014,
-0.008314471691846848,
0.009064612910151482,
-0.0014700352912768722,
0.042201507836580276,
-0.005463933572173119,
-0.048589810729026794,
0.05803675204515457,
0.014731810428202152,
-0.029541054740548134,
-0.017441999167203903,
0.04084641486406326,
-0.012621735222637653,
-0.043595317751169205,
0.04239509254693985,
-0.055675018578767776,
0.014964113011956215,
0.010501980781555176,
-0.07522708922624588,
-0.016106262803077698,
-0.05052565783262253,
-0.04638294130563736,
-0.0007852287380956113,
-0.006427018437534571,
0.04680882766842842,
-0.011034339666366577,
-0.02102332003414631,
-0.035774488002061844,
0.0010816556168720126,
-0.028650565072894096,
0.007936980575323105,
0.009345310740172863,
0.0011052488116547465,
0.026908300817012787,
-0.031767282634973526,
0.08858445286750793,
0.00106653175316751,
0.026056528091430664,
0.018051791936159134,
-0.024449773132801056,
-0.029831433668732643,
0.04696369543671608,
0.019610149785876274,
-0.05354558303952217,
0.026792149990797043,
0.10833010822534561,
0.019794056192040443,
-0.0029836271423846483,
-0.010637490078806877,
0.01265077292919159,
-0.010434226132929325,
0.0633796975016594,
-0.009727641008794308,
-0.0019346390618011355,
-0.053080979734659195,
0.03368377313017845,
-0.06241177022457123,
0.056333206593990326,
0.02390773594379425,
-0.011731244623661041,
0.017316170036792755,
0.03635524585843086,
0.031631771475076675,
-0.0393558107316494,
0.013270244933664799,
-0.0266759991645813,
0.05884980782866478,
0.03639396280050278,
0.016077226027846336,
0.05060309171676636,
-0.03604550659656525,
0.017596866935491562,
0.0047573489136993885,
0.007912782952189445,
-0.06442505121231079,
-0.011566697619855404,
-0.05342943221330643,
-0.038445960730314255,
-0.012883074581623077,
-0.0008457240182906389,
-0.014809244312345982,
-0.012331358157098293,
-0.012592697516083717,
-0.02731482870876789,
0.0330255851149559,
-0.006059207487851381,
0.0015994951827451587,
0.026269471272826195,
-0.0046992735005915165,
0.02311403676867485,
0.01619337685406208,
-0.015786848962306976,
-0.06291509419679642,
0.04328558221459389,
-0.03621973469853401,
-0.02638562209904194,
-0.0030368631705641747,
-0.0010532228043302894,
0.02237841486930847,
0.06237305328249931,
-0.05528784543275833,
-0.017993716523051262,
0.010589093901216984,
-0.047660600394010544,
0.005488131660968065,
0.0626053586602211,
0.031418830156326294,
-0.07998927682638168,
0.01181835774332285,
0.03527116775512695,
-0.028824791312217712,
0.014373678714036942,
0.05675909295678139,
-0.04405992478132248,
-0.01778077334165573,
0.031767282634973526,
-0.019058432430028915,
-0.0533519983291626,
0.00202417210675776,
0.04657652601599693,
-0.0768532082438469,
-0.02977335825562477,
-0.039762336760759354,
0.07216844707727432,
0.040459245443344116,
-0.08269947022199631,
-0.01109241507947445,
-0.006364103406667709,
0.001995134400203824,
-0.04696369543671608,
-0.00025302151334472,
0.03008309379220009,
-0.01137311290949583,
0.006523811258375645,
0.009316273033618927,
0.04073026403784752,
-0.024217471480369568,
-0.015457754023373127,
-0.040188226848840714,
0.00768048083409667,
0.025475772097706795,
-0.004878339357674122,
-0.015757810324430466,
0.06926468014717102,
0.05164845287799835,
-0.017451679334044456,
-0.02274622581899166,
0.0678708627820015,
0.0014095400692895055,
0.022571999579668045,
-0.0035474433097988367,
0.017103224992752075,
0.015186735428869724,
0.07061976939439774,
-0.013434791937470436,
-0.03356762230396271,
-0.00006953176489332691,
0.007578848861157894,
0.05919826030731201,
-0.008750037290155888,
-0.0023387474939227104,
0.058307770639657974,
0.07573041319847107,
0.00829511322081089,
0.01605786755681038,
0.003278844291344285,
0.014780206605792046,
0.04196920618414879,
-0.0475444495677948,
0.010414867661893368,
0.03863954544067383,
-0.018400244414806366,
0.04495041444897652,
-0.055907320231199265,
0.04711856320500374,
0.06388301402330399,
0.02435298077762127,
-0.03922029957175255,
-0.05393275246024132,
-0.03136075288057327,
0.04611192271113396,
-0.0552104115486145,
0.04553116858005524,
0.011702206917107105,
-0.010047056712210178,
0.053506866097450256,
-0.0019673064816743135,
0.05509426072239876,
-0.02717931941151619,
0.008687122724950314,
0.031631771475076675,
-0.005836584605276585,
0.022417131811380386,
0.031786639243364334,
0.043091997504234314,
0.054823242127895355,
0.0041112592443823814,
-0.019397206604480743,
-0.013889716938138008,
-0.012602376751601696,
0.056991394609212875,
0.003307881997898221,
0.02435298077762127,
0.07096822559833527,
-0.01870030164718628,
-0.04049796238541603,
-0.03455490618944168,
0.014576942659914494,
0.05164845287799835,
0.01912618800997734,
-0.012989547103643417,
-0.0072255562990903854,
-0.018768055364489555,
0.015370640903711319,
0.00496545247733593,
0.006949698086827993,
0.025262828916311264,
-0.009809914976358414,
0.0244304146617651,
0.0018959221197292209,
0.013928433880209923,
-0.021139470860362053,
-0.0237722247838974,
0.00020538148237392306,
0.035832565277814865,
-0.03767162188887596,
-0.0020144928712397814,
-0.01369613129645586,
-0.07092950493097305,
0.001993924379348755,
-0.05215177312493324,
0.07751139253377914,
-0.00907429214566946,
0.04413735866546631,
0.04797033965587616,
-0.07936980575323105,
0.027218036353588104,
0.004157235845923424,
-0.0398784875869751,
0.004544405732303858,
0.004805745091289282,
0.06132769584655762,
0.021120112389326096,
-0.022223547101020813,
0.04196920618414879,
-0.005691396072506905,
0.018003394827246666,
0.04386633634567261,
-0.05238407477736473,
-0.021178187802433968,
0.01130535826086998,
-0.0041257780976593494,
0.03534860163927078,
-0.03600678965449333,
-0.0006122122285887599,
-0.01909714937210083,
-0.0472734309732914,
0.012002264149487019,
-0.04479554668068886,
0.0032328679226338863,
0.026037169620394707,
0.009393706917762756,
-0.08912649005651474,
-0.031418830156326294,
0.008812952786684036,
-0.019745659083127975,
0.024294905364513397,
-0.0034143535885959864,
-0.05908210948109627,
0.06190844997763634,
-0.022417131811380386,
0.012515263631939888,
-0.044601961970329285,
0.01593203656375408,
0.05397146940231323,
-0.010869791731238365,
0.007549811154603958,
0.0010024068178609014,
0.05168716982007027,
-0.03136075288057327,
-0.07135539501905441,
0.017683980986475945,
0.0030538018327206373,
0.05377788469195366,
-0.05052565783262253,
0.06729011237621307,
-0.011140811257064342,
-0.04653780907392502,
0.01843896135687828,
-0.03759418800473213,
-0.017916282638907433,
-0.028960300609469414,
-0.014122018590569496,
-0.08881675451993942,
-0.05118384584784508,
0.04549245163798332,
0.01685156486928463,
0.03240611031651497,
0.01264109369367361,
0.005134839564561844,
0.05056437477469444,
0.012370075099170208,
-0.03999463841319084,
-0.004532306455075741,
0.013531584292650223,
-0.009059772826731205,
-0.017025791108608246,
0.02754713036119938,
-0.002410131972283125,
0.005991452839225531,
0.06276022642850876,
0.02247520722448826,
-0.0007453018333762884,
0.032135091722011566,
-0.029386186972260475,
0.034593623131513596,
-0.027721356600522995,
0.057727016508579254,
0.05211305618286133,
-0.0446406789124012,
-0.030276678502559662,
0.006872263737022877,
0.04769931733608246,
-0.06624475121498108,
-0.04274354502558708,
-0.0021318537183105946,
0.001122792367823422,
-0.0443696603178978,
0.01207001879811287,
0.0462280735373497,
0.0538940355181694,
-0.025746790692210197,
-0.0076562827453017235,
-0.027063168585300446,
-0.0051009622402489185,
0.006320546846836805,
-0.04932543262839317,
0.04951901733875275,
-0.004191113170236349,
0.02332697995007038,
-0.009776037186384201,
0.03788456320762634,
0.0018499456346035004,
0.01122792437672615,
0.04665395990014076,
-0.0005529268528334796,
-0.011102094314992428,
0.015138339251279831,
-0.006054367870092392,
0.054319921880960464,
0.049751318991184235,
-0.05536527931690216,
0.04533758386969566,
0.01166348997503519,
0.030450904741883278,
-0.04847365990281105,
0.06442505121231079,
0.02702445164322853,
0.011334395967423916,
-0.0002440984535496682,
-0.015544867143034935,
0.04417607560753822,
0.05501682683825493,
0.058811090886592865,
-0.036122940480709076,
0.030025018379092216,
-0.019610149785876274,
0.018661584705114365,
-0.0048154243268072605,
-0.008827471174299717,
0.03259969875216484,
0.008459660224616528,
0.026830866932868958,
-0.017635583877563477,
0.03207701817154884,
0.06620603799819946,
-0.049402866512537,
0.0015220612986013293,
0.03711022436618805,
0.010018018074333668,
0.0982636958360672,
0.02623075433075428,
0.07398814707994461,
-0.005967254284769297,
0.003789424430578947,
0.010172886773943901,
-0.013173452578485012,
-0.027856867760419846,
0.01935848966240883,
-0.018739018589258194,
-0.04928671568632126,
-0.026792149990797043,
-0.029444262385368347,
-0.07429788261651993,
0.0075836884789168835,
-0.00817412231117487,
0.024817584082484245,
-0.003515985794365406,
-0.026192037388682365,
-0.015177056193351746,
0.02334633842110634,
0.0393558107316494,
-0.025398338213562965,
-0.005284867715090513,
0.017238736152648926,
-0.055403996258974075,
-0.023656073957681656,
0.020771659910678864,
-0.06810316443443298,
-0.0035498631186783314,
-0.018709979951381683,
-0.050177205353975296,
0.014654376544058323,
-0.0050186882726848125,
0.04386633634567261,
-0.014112339355051517,
0.07724037766456604
] |
52,210 |
osmnx.features
|
features_from_address
|
Create GeoDataFrame of OSM features within some distance N, S, E, W of address.
You can use the `settings` module to retrieve a snapshot of historical OSM
data as of a certain date, or to configure the Overpass server timeout,
memory allocation, and other custom settings.
For more details, see: https://wiki.openstreetmap.org/wiki/Map_features
Parameters
----------
address : string
the address to geocode and use as the central point around which to
get the features
tags : dict
Dict of tags used for finding elements in the selected area. Results
returned are the union, not intersection of each individual tag.
Each result matches at least one given tag. The dict keys should be
OSM tags, (e.g., `building`, `landuse`, `highway`, etc) and the dict
values should be either `True` to retrieve all items with the given
tag, or a string to get a single tag-value combination, or a list of
strings to get multiple values for the given tag. For example,
`tags = {'building': True}` would return all building footprints in
the area. `tags = {'amenity':True, 'landuse':['retail','commercial'],
'highway':'bus_stop'}` would return all amenities, landuse=retail,
landuse=commercial, and highway=bus_stop.
dist : numeric
distance in meters
Returns
-------
gdf : geopandas.GeoDataFrame
|
def features_from_address(address, tags, dist=1000):
"""
Create GeoDataFrame of OSM features within some distance N, S, E, W of address.
You can use the `settings` module to retrieve a snapshot of historical OSM
data as of a certain date, or to configure the Overpass server timeout,
memory allocation, and other custom settings.
For more details, see: https://wiki.openstreetmap.org/wiki/Map_features
Parameters
----------
address : string
the address to geocode and use as the central point around which to
get the features
tags : dict
Dict of tags used for finding elements in the selected area. Results
returned are the union, not intersection of each individual tag.
Each result matches at least one given tag. The dict keys should be
OSM tags, (e.g., `building`, `landuse`, `highway`, etc) and the dict
values should be either `True` to retrieve all items with the given
tag, or a string to get a single tag-value combination, or a list of
strings to get multiple values for the given tag. For example,
`tags = {'building': True}` would return all building footprints in
the area. `tags = {'amenity':True, 'landuse':['retail','commercial'],
'highway':'bus_stop'}` would return all amenities, landuse=retail,
landuse=commercial, and highway=bus_stop.
dist : numeric
distance in meters
Returns
-------
gdf : geopandas.GeoDataFrame
"""
# geocode the address string to a (lat, lon) point
center_point = geocoder.geocode(query=address)
# create GeoDataFrame of features around this point
return features_from_point(center_point, tags, dist=dist)
|
(address, tags, dist=1000)
|
[
0.0346422903239727,
-0.016664765775203705,
-0.03055814653635025,
-0.0919661670923233,
-0.0036146496422588825,
-0.008318708278238773,
-0.03500694781541824,
-0.03460582345724106,
-0.006518220528960228,
-0.04182600602507591,
-0.02198873832821846,
0.028607238084077835,
-0.07001389563083649,
0.01866125501692295,
-0.010702644474804401,
0.03879936411976814,
-0.014777671545743942,
-0.020967701449990273,
0.015862522646784782,
0.004681267309933901,
-0.01272648386657238,
0.008460012264549732,
0.05061420798301697,
-0.0045217303559184074,
0.013674587942659855,
-0.006709664594382048,
-0.005146203562617302,
-0.04587368667125702,
-0.0009640585049055517,
-0.031797975301742554,
0.047149982303380966,
-0.07008682191371918,
-0.02459602616727352,
-0.0026870565488934517,
-0.048353344202041626,
-0.04507144168019295,
0.05688628926873207,
0.027677366510033607,
0.042117733508348465,
0.0075483727268874645,
-0.05382318049669266,
-0.10976136475801468,
-0.03152448311448097,
-0.02182464301586151,
0.01454976201057434,
-0.021496452391147614,
-0.03436879813671112,
-0.01640038937330246,
0.013364630751311779,
-0.013856916688382626,
-0.0027303595561534166,
0.004403217229992151,
0.037194881588220596,
-0.014950883574783802,
0.010028031654655933,
-0.013948080129921436,
-0.023410895839333534,
0.08175580203533173,
0.044889114797115326,
0.01532465498894453,
-0.0009122089832089841,
0.007516465615481138,
0.0008501035626977682,
-0.009845703840255737,
-0.01563461311161518,
-0.006458963733166456,
-0.01072999369353056,
-0.04127902537584305,
-0.024997146800160408,
0.00411149300634861,
0.006978598423302174,
0.010164777748286724,
0.020876538008451462,
0.027294479310512543,
-0.03582742065191269,
0.06702371686697006,
-0.0526198148727417,
0.0014996465761214495,
0.02762266807258129,
-0.02067597769200802,
-0.03491578251123428,
-0.004405496641993523,
-0.006121657323092222,
0.000571198936086148,
0.021788178011775017,
0.049739036709070206,
0.0028990127611905336,
0.028424911201000214,
0.0425553172826767,
0.04361281916499138,
-0.035462766885757446,
0.027458572760224342,
-0.02466895803809166,
-0.034332334995269775,
0.020274857059121132,
-0.007789957337081432,
0.035262204706668854,
0.038835830986499786,
-0.009736306965351105,
0.006522778887301683,
0.04437859728932381,
0.00042106336331926286,
-0.00761674577370286,
0.08131822198629379,
-0.03316543623805046,
-0.05014015734195709,
-0.01658271811902523,
-0.027732064947485924,
0.0228456798940897,
-0.01847892627120018,
-0.06651319563388824,
-0.018141619861125946,
0.07825510948896408,
-0.011304326355457306,
-0.019144423305988312,
-0.03624677658081055,
0.07526493817567825,
0.03905462473630905,
-0.025380035862326622,
-0.09109099209308624,
0.0296100415289402,
0.0415707491338253,
-0.0217334795743227,
-0.03351185843348503,
0.0032932967878878117,
0.03989333286881447,
0.030084094032645226,
-0.0450349785387516,
-0.04226359352469444,
-0.046785324811935425,
0.029828835278749466,
-0.00914829969406128,
0.04178954288363457,
0.050431881099939346,
0.05524533614516258,
-0.05127058923244476,
-0.02277274802327156,
-0.031889140605926514,
0.038726434111595154,
0.017685800790786743,
-0.010520316660404205,
-0.019691407680511475,
-0.00009052292443811893,
-0.04146135225892067,
-0.00859219953417778,
0.015908105298876762,
0.0025343571323901415,
-0.0307222418487072,
0.016272760927677155,
-0.0680447518825531,
0.004273308906704187,
0.016591833904385567,
-0.05728740990161896,
0.00621282123029232,
-0.03755953535437584,
-0.041935402899980545,
0.0756295919418335,
-0.04062264412641525,
0.04120609164237976,
-0.0012751553440466523,
-0.004991224966943264,
0.06603914499282837,
-0.061079829931259155,
-0.04146135225892067,
-0.05316679924726486,
-0.0360826812684536,
-0.0225174892693758,
-0.04477971792221069,
-0.006117099430412054,
-0.004204935859888792,
-0.00337762339040637,
0.06676845997571945,
0.06935751438140869,
-0.01056589838117361,
0.00792214460670948,
0.027039218693971634,
0.006919341627508402,
0.008482802659273148,
-0.001707044430077076,
-0.04543609917163849,
0.042300060391426086,
-0.0010221755364909768,
-0.05342205986380577,
0.04798869043588638,
0.014722973108291626,
0.01929028518497944,
0.002801011549308896,
-0.019417915493249893,
-0.014768555760383606,
0.012881462462246418,
-0.009936867281794548,
-0.07256647944450378,
0.014777671545743942,
-0.0015144606586545706,
-0.01641862280666828,
0.013911614194512367,
-0.046530067920684814,
0.005396904423832893,
-0.03912755474448204,
0.08766322582960129,
-0.006841852329671383,
0.044196270406246185,
-0.016920024529099464,
-0.008810993283987045,
0.01974610611796379,
0.012152151204645634,
-0.04007565975189209,
-0.07380630820989609,
-0.03445996344089508,
-0.045764289796352386,
0.04580075293779373,
-0.041862472891807556,
0.028279049322009087,
0.033712416887283325,
0.04299290478229523,
-0.03278254717588425,
-0.00923946313560009,
0.05167170986533165,
0.03599151596426964,
-0.04846274107694626,
0.0673883706331253,
-0.05400550737977028,
-0.007589396554976702,
0.004138842225074768,
0.027768529951572418,
0.032436124980449677,
0.013127604499459267,
-0.0035417184699326754,
0.007844655774533749,
-0.020402485504746437,
0.03227202966809273,
-0.06840940564870834,
0.02145998738706112,
-0.08423546701669693,
0.08182873576879501,
0.02156938426196575,
0.05313033238053322,
0.025070078670978546,
0.012872345745563507,
-0.025927020236849785,
0.017412308603525162,
-0.01242564246058464,
0.005474393721669912,
-0.018032222986221313,
-0.021077098324894905,
-0.05706861615180969,
-0.05903775617480278,
-0.02474188804626465,
0.0007304509053938091,
-0.05287507548928261,
-0.04441506415605545,
0.013428445905447006,
0.022718049585819244,
0.026364605873823166,
0.004496660549193621,
-0.15330125391483307,
0.019016794860363007,
0.005424253176897764,
-0.008975088596343994,
-0.020183691754937172,
-0.026091115549206734,
-0.07070674002170563,
0.021751711145043373,
0.006313101854175329,
0.01998313143849373,
0.022553954273462296,
-0.0019155818736180663,
-0.015816939994692802,
0.045144375413656235,
0.0003324634162709117,
0.0019429310923442245,
0.043321095407009125,
-0.009699841029942036,
-0.02007429488003254,
0.01017389353364706,
-0.04390454664826393,
0.03714018315076828,
-0.06180914118885994,
-0.03402237594127655,
0.00013760053843725473,
-0.06049637869000435,
-0.02683865837752819,
-0.07737993448972702,
0.050322484225034714,
-0.02492421679198742,
-0.02866193652153015,
0.011359024792909622,
0.07161837816238403,
0.054588958621025085,
-0.007589396554976702,
-0.004945642780512571,
0.016409505158662796,
0.010401804000139236,
-0.023574991151690483,
0.02399434521794319,
0.014777671545743942,
0.03989333286881447,
-0.020366020500659943,
0.0425553172826767,
-0.01523349154740572,
0.020730676129460335,
0.021004168316721916,
0.05750620365142822,
0.024723656475543976,
0.06060577556490898,
0.03435056656599045,
0.011459304951131344,
-0.005911980289965868,
-0.01974610611796379,
-0.0004016910388600081,
0.016710346564650536,
0.015862522646784782,
-0.020475417375564575,
-0.012498573400080204,
-0.018497159704566002,
0.003090457059442997,
-0.02337442897260189,
-0.005506300833076239,
0.002782778814435005,
0.006404265761375427,
-0.05323972925543785,
0.01700207218527794,
0.011477537453174591,
-0.006919341627508402,
0.016874441877007484,
0.013957196846604347,
-0.005497184582054615,
-0.04127902537584305,
0.05703214928507805,
-0.008045216090977192,
-0.015014697797596455,
0.012735599651932716,
0.04736877232789993,
0.050687141716480255,
-0.03626500815153122,
0.033967677503824234,
-0.011431955732405186,
0.013920730911195278,
-0.05127058923244476,
0.020019598305225372,
0.010793808847665787,
0.06075163930654526,
-0.045654892921447754,
0.003136039013043046,
0.005574673879891634,
-0.05130705609917641,
0.01496911607682705,
-0.030248189345002174,
-0.003803814761340618,
-0.04711351543664932,
0.03540806844830513,
0.030758706852793694,
0.03159741684794426,
0.042372990399599075,
0.1033434197306633,
0.01947261393070221,
0.020913003012537956,
0.06906578689813614,
0.05035895109176636,
0.014039244502782822,
0.00404767831787467,
-0.06946691125631332,
0.026546934619545937,
-0.05590171739459038,
-0.04474325478076935,
-0.010164777748286724,
0.0373225100338459,
0.05823551490902901,
-0.020639512687921524,
-0.03063107840716839,
-0.003979305271059275,
-0.02528887242078781,
-0.022006971761584282,
0.047149982303380966,
-0.00860587414354086,
-0.021186495199799538,
-0.02951887808740139,
-0.0322902612388134,
-0.09109099209308624,
0.03670259565114975,
-0.03540806844830513,
0.03143332153558731,
0.09495633840560913,
0.01605396717786789,
0.08518356829881668,
-0.05342205986380577,
0.01056589838117361,
0.02909952402114868,
0.031232759356498718,
-0.03305603936314583,
-0.07019621878862381,
0.03210793435573578,
-0.00490917731076479,
0.05849077180027962,
-0.03564509376883507,
-0.004227726720273495,
0.017804313451051712,
-0.047478169202804565,
0.002513845218345523,
-0.011450188234448433,
-0.004610615316778421,
0.0029810601845383644,
0.018816234543919563,
0.029208920896053314,
-0.015151443891227245,
0.002500170608982444,
-0.04014858976006508,
-0.06049637869000435,
-0.0038448383565992117,
-0.011678098700940609,
-0.022189298644661903,
-0.030357586219906807,
-0.0091346250846982,
0.04299290478229523,
-0.02640107274055481,
0.014650042168796062,
0.021168263629078865,
0.024450164288282394,
-0.04018505662679672,
0.0023041681852191687,
0.07180070877075195,
-0.05783439427614212,
-0.06654966622591019,
0.01868860423564911,
0.019600244238972664,
-0.015379353426396847,
-0.0062675196677446365,
-0.002250609453767538,
0.03314720094203949,
0.04674885794520378,
-0.04302937164902687,
-0.0453631691634655,
-0.06337715685367584,
-0.006258403416723013,
0.010647946037352085,
0.017412308603525162,
-0.032600220292806625,
-0.02762266807258129,
0.011997172608971596,
0.013656355440616608,
0.004145679529756308,
0.003534881165251136,
0.04561842605471611,
0.015032931230962276,
0.010073613375425339,
-0.06563802063465118,
0.029573576524853706,
-0.035280436277389526,
0.06162681058049202,
-0.050504814833402634,
0.046274807304143906,
-0.03356655687093735,
0.018725069239735603,
0.041862472891807556,
0.004931968171149492,
0.005834490992128849,
0.029628274962306023,
0.005319414660334587,
-0.09561271965503693,
0.04328463226556778,
0.011368141509592533,
-0.025999950245022774,
-0.018889164552092552,
0.03817944973707199,
0.041242558509111404,
0.039091091603040695,
0.056667495518922806,
-0.034314099699258804,
-0.01427626982331276,
-0.03982040286064148,
0.06600268185138702,
-0.02570822648704052,
0.007844655774533749,
-0.05021308735013008,
0.051452916115522385,
0.0225174892693758,
-0.07511907070875168,
0.005720536224544048,
0.014868835918605328,
-0.029828835278749466,
-0.01930851861834526,
-0.035608626902103424,
0.04518083855509758,
0.04302937164902687,
-0.015260840766131878,
0.03832531347870827,
0.04120609164237976,
-0.013519609346985817,
0.03695785254240036,
-0.01432185247540474,
-0.03278254717588425,
0.005465277004987001,
0.014312735758721828,
-0.07643183320760727,
0.046712394803762436,
0.07154544442892075,
0.047149982303380966,
0.03938281536102295,
0.007092553190886974,
-0.047149982303380966,
-0.03495224937796593,
-0.008323266170918941,
-0.01981903612613678,
-0.025215940549969673,
0.03766893222928047,
0.024541327729821205,
0.01766756735742092,
0.015734892338514328,
0.015953686088323593,
-0.006623059045523405,
-0.045764289796352386,
-0.05287507548928261,
0.04481618478894234,
0.0494837760925293,
0.013100255280733109,
0.06939397752285004,
-0.00952662993222475,
-0.009927751496434212,
-0.051124729216098785,
-0.020402485504746437,
0.033019572496414185,
0.05633930489420891,
0.004337123595178127,
-0.025088312104344368,
-0.027567969635128975,
-0.0009691864252090454,
0.08292270451784134,
0.02924538590013981,
0.024814819917082787,
0.01974610611796379,
0.018725069239735603,
0.016965605318546295,
0.00356906745582819,
0.035882119089365005,
0.05597464740276337,
-0.02820611745119095,
0.02700275368988514,
-0.06374181807041168,
-0.014558878727257252,
0.006723339203745127,
0.043941009789705276,
0.011185813695192337,
-0.029646508395671844,
-0.05477128550410271,
-0.0026870565488934517,
-0.024395465850830078,
0.024978915229439735,
-0.05280214548110962,
0.06917518377304077,
-0.023830249905586243,
0.03384004905819893,
0.0064361728727817535,
0.012489457614719868,
0.0005230529932305217,
0.029755903407931328,
0.07347812503576279,
-0.06148095056414604,
-0.038726434111595154,
-0.03409530594944954,
-0.03442349657416344,
0.023666154593229294,
-0.016391273587942123,
0.019326752051711082,
0.06538276374340057,
-0.07803631573915482,
0.06363242119550705,
0.004204935859888792,
0.0349704809486866,
-0.017612868919968605,
0.007776282727718353,
0.021842876449227333,
-0.0469311885535717,
-0.018004875630140305,
-0.009453698992729187,
-0.007475441787391901,
-0.031013965606689453,
-0.021915806457400322,
-0.05167170986533165,
0.050942398607730865,
0.03982040286064148,
-0.033894747495651245,
-0.05079653859138489,
-0.02466895803809166,
-0.01228889636695385,
0.04674885794520378,
0.07584838569164276,
-0.046092480421066284,
0.02155115082859993,
0.047733429819345474,
-0.0354263000190258,
0.01870683766901493,
-0.052255161106586456,
0.04109669476747513,
-0.013136721216142178,
-0.03650203347206116,
-0.037778329104185104,
-0.038106519728899,
-0.018004875630140305,
0.021241193637251854,
0.00781730655580759,
-0.014896185137331486,
0.014914417639374733,
-0.0008352894219569862,
-0.05400550737977028,
0.039783935993909836,
-0.013337281532585621,
-0.027312710881233215,
0.02259041927754879,
-0.021605849266052246,
-0.052765678614377975,
0.036830224096775055,
-0.012042754329741001,
0.003432321595028043,
0.022955074906349182,
-0.009982449933886528,
-0.010948787443339825,
0.015151443891227245,
0.0031018524896353483,
-0.0008005332201719284,
-0.04890032857656479,
0.017384959384799004,
-0.0368666909635067,
0.01896209642291069,
-0.035444531589746475,
0.013428445905447006,
-0.04700411856174469,
-0.016600949689745903,
0.027476806193590164,
-0.04266471415758133,
0.08678805083036423,
0.0035257646813988686,
-0.015169676393270493,
0.0016477878671139479,
-0.018460694700479507,
-0.0005435649072751403,
-0.018907397985458374,
0.026273442432284355,
0.0068737599067389965,
-0.027804996818304062,
0.00176858005579561,
-0.04109669476747513,
0.06122568994760513,
-0.011796611361205578,
-0.020056063309311867,
-0.00022748248011339456,
0.0005885770660825074,
0.019144423305988312,
-0.023593222722411156,
0.030065862461924553,
0.001064908574335277,
0.015552565455436707,
0.0012705972185358405,
0.030941035598516464,
0.04233652725815773,
-0.0032659475691616535,
0.02891719713807106,
-0.06312189996242523,
0.0013720170827582479,
0.05057774484157562,
0.011878659017384052,
0.0036055331584066153,
-0.008131821639835835,
0.02042071893811226,
0.009599560871720314,
-0.06578388810157776,
-0.03580918908119202,
0.01732114516198635,
0.008058890700340271,
0.014166873879730701,
0.03208969905972481,
0.01419422309845686,
0.025580596178770065,
-0.015406702645123005,
0.03792419284582138,
0.023319730535149574,
0.004362193867564201,
-0.040549714118242264,
0.009335185401141644,
-0.0652369037270546,
0.02875310182571411,
0.06654966622591019,
0.09976979345083237,
0.05695921927690506,
-0.0614444836974144,
-0.00295371119864285,
0.022827446460723877,
-0.000059541438531596214,
0.029537111520767212,
0.019964899867773056,
0.020566580817103386,
0.015415819361805916,
-0.061772674322128296,
0.056485164910554886,
0.01532465498894453,
-0.016136014834046364,
0.017594637349247932,
-0.03500694781541824,
-0.03741367533802986,
0.056047581136226654,
-0.0182692501693964,
0.02545296773314476,
0.09036167711019516,
-0.006390591152012348,
0.04580075293779373,
0.028114954009652138,
-0.05116119235754013,
-0.05218223109841347,
0.001219317433424294,
0.005465277004987001,
0.002648311899974942,
-0.003275063820183277,
-0.04736877232789993,
0.04645713418722153,
0.03411354124546051,
0.006659524515271187,
0.029154222458600998,
0.01649155281484127,
0.02414020709693432,
0.033712416887283325,
0.006481755059212446,
0.014996465295553207,
-0.024395465850830078,
0.07161837816238403,
0.017804313451051712,
-0.0541878342628479,
0.0008996739634312689,
-0.07978666573762894,
0.0307222418487072,
-0.017722265794873238,
-0.023939646780490875,
-0.049556709825992584,
0.02700275368988514,
-0.00795861054211855,
0.04663946107029915,
-0.0373225100338459,
-0.016765045002102852,
-0.020019598305225372,
0.03280077874660492,
0.010438269004225731,
0.0020944911520928144,
0.008852017112076283,
0.046785324811935425,
0.03595505282282829,
0.01766756735742092,
-0.01949084736406803,
0.005146203562617302,
0.01894386298954487,
0.013683704659342766,
-0.03478815406560898,
0.01866125501692295,
0.0201654601842165,
0.0002723522193264216,
0.035280436277389526,
-0.004056794568896294,
0.022991541773080826,
-0.0020899330265820026,
-0.02390317991375923,
-0.035189274698495865,
-0.04087790101766586,
-0.03517104312777519,
-0.018497159704566002,
0.0318344421684742,
-0.04984843358397484,
-0.00484536262229085,
-0.00716092623770237,
-0.000761788513045758,
-0.07428036630153656,
0.03309250250458717
] |
52,211 |
osmnx.features
|
features_from_bbox
|
Create a GeoDataFrame of OSM features within a N, S, E, W bounding box.
You can use the `settings` module to retrieve a snapshot of historical OSM
data as of a certain date, or to configure the Overpass server timeout,
memory allocation, and other custom settings.
For more details, see: https://wiki.openstreetmap.org/wiki/Map_features
Parameters
----------
north : float
deprecated, do not use
south : float
deprecated, do not use
east : float
deprecated, do not use
west : float
deprecated, do not use
bbox : tuple of floats
bounding box as (north, south, east, west)
tags : dict
Dict of tags used for finding elements in the selected area. Results
returned are the union, not intersection of each individual tag.
Each result matches at least one given tag. The dict keys should be
OSM tags, (e.g., `building`, `landuse`, `highway`, etc) and the dict
values should be either `True` to retrieve all items with the given
tag, or a string to get a single tag-value combination, or a list of
strings to get multiple values for the given tag. For example,
`tags = {'building': True}` would return all building footprints in
the area. `tags = {'amenity':True, 'landuse':['retail','commercial'],
'highway':'bus_stop'}` would return all amenities, landuse=retail,
landuse=commercial, and highway=bus_stop.
Returns
-------
gdf : geopandas.GeoDataFrame
|
def features_from_bbox(north=None, south=None, east=None, west=None, bbox=None, tags=None):
"""
Create a GeoDataFrame of OSM features within a N, S, E, W bounding box.
You can use the `settings` module to retrieve a snapshot of historical OSM
data as of a certain date, or to configure the Overpass server timeout,
memory allocation, and other custom settings.
For more details, see: https://wiki.openstreetmap.org/wiki/Map_features
Parameters
----------
north : float
deprecated, do not use
south : float
deprecated, do not use
east : float
deprecated, do not use
west : float
deprecated, do not use
bbox : tuple of floats
bounding box as (north, south, east, west)
tags : dict
Dict of tags used for finding elements in the selected area. Results
returned are the union, not intersection of each individual tag.
Each result matches at least one given tag. The dict keys should be
OSM tags, (e.g., `building`, `landuse`, `highway`, etc) and the dict
values should be either `True` to retrieve all items with the given
tag, or a string to get a single tag-value combination, or a list of
strings to get multiple values for the given tag. For example,
`tags = {'building': True}` would return all building footprints in
the area. `tags = {'amenity':True, 'landuse':['retail','commercial'],
'highway':'bus_stop'}` would return all amenities, landuse=retail,
landuse=commercial, and highway=bus_stop.
Returns
-------
gdf : geopandas.GeoDataFrame
"""
if not (north is None and south is None and east is None and west is None):
msg = (
"The `north`, `south`, `east`, and `west` parameters are deprecated and "
"will be removed in the v2.0.0 release. Use the `bbox` parameter instead. "
"See the OSMnx v2 migration guide: https://github.com/gboeing/osmnx/issues/1123"
)
warn(msg, FutureWarning, stacklevel=2)
bbox = (north, south, east, west)
# convert bounding box to a polygon
polygon = utils_geo.bbox_to_poly(bbox=bbox)
# create GeoDataFrame of features within this polygon
return features_from_polygon(polygon, tags)
|
(north=None, south=None, east=None, west=None, bbox=None, tags=None)
|
[
0.011237346567213535,
-0.0779225081205368,
-0.0032963522244244814,
-0.08168428391218185,
-0.04510292783379555,
-0.02097765915095806,
-0.035161092877388,
0.0051340567879378796,
-0.01087268441915512,
-0.031149810180068016,
0.004097648896276951,
0.016121897846460342,
-0.0740455761551857,
0.026274854317307472,
-0.007945792749524117,
0.02329998090863228,
-0.05546700581908226,
-0.04625449329614639,
0.012772765941917896,
-0.016620909795165062,
-0.012763169594109058,
-0.0401512011885643,
0.03468127176165581,
0.009135741740465164,
0.02646678313612938,
0.0017261466709896922,
-0.006069702561944723,
-0.020900888368487358,
0.010056992992758751,
-0.01835785247385502,
0.01060398668050766,
-0.0829126164317131,
-0.01586279645562172,
-0.03848143294453621,
-0.005220423918217421,
-0.029384078457951546,
0.04690704494714737,
0.038270313292741776,
-0.0019384663319215178,
-0.015210242941975594,
-0.047559600323438644,
-0.13488654792308807,
-0.021918103098869324,
0.001417863299138844,
0.013578860089182854,
-0.03331859037280083,
-0.003915317822247744,
-0.008550363592803478,
0.029921473935246468,
0.023184824734926224,
-0.019730132073163986,
-0.013818769715726376,
0.0194806270301342,
0.012648012489080429,
0.004023277200758457,
-0.029902281239628792,
-0.051590073853731155,
0.08214490860700607,
0.06141675263643265,
0.042569488286972046,
-0.020325107499957085,
0.015152664855122566,
-0.013386933133006096,
-0.028712332248687744,
0.0029220939613878727,
-0.008559959940612316,
-0.02660113200545311,
-0.041072454303503036,
-0.023223210126161575,
0.024797014892101288,
0.0015138270100578666,
0.03784807398915291,
0.04318365454673767,
0.04844246432185173,
-0.03546817600727081,
0.043567508459091187,
-0.05853784456849098,
0.07289400696754456,
-0.020152373239398003,
0.005330782383680344,
-0.05043850839138031,
-0.008852649480104446,
-0.010891877114772797,
0.017618931829929352,
0.013694017194211483,
0.03441257402300835,
0.025027327239513397,
0.05627309903502464,
0.044795844703912735,
-0.01967255398631096,
-0.0294992346316576,
0.017753280699253082,
-0.028673946857452393,
-0.013396529480814934,
-0.004109644331037998,
-0.047597985714673996,
-0.0275991540402174,
0.08168428391218185,
-0.034470152109861374,
-0.027483997866511345,
-0.010268113575875759,
-0.024278810247778893,
-0.06302894651889801,
0.09703847020864487,
-0.01375159528106451,
-0.006741448305547237,
-0.025929385796189308,
-0.051551688462495804,
-0.016054723411798477,
-0.007269248366355896,
-0.0639885812997818,
-0.03399033471941948,
0.06356634199619293,
0.019048789516091347,
-0.0219756830483675,
-0.024144461378455162,
0.06813421100378036,
0.016352210193872452,
-0.01576683297753334,
-0.07669416815042496,
0.020421070978045464,
0.04590902477502823,
-0.006592704448848963,
-0.03189832717180252,
0.018828073516488075,
0.042569488286972046,
0.0638350397348404,
-0.019730132073163986,
-0.020018022507429123,
-0.02024833671748638,
0.05350934714078903,
-0.01183232106268406,
0.013041463680565357,
0.05120621994137764,
0.027810273692011833,
-0.05915201082825661,
0.0030396494548767805,
-0.031610436737537384,
0.03489239141345024,
-0.0035122705157846212,
0.000016221985788433813,
-0.056618571281433105,
0.012648012489080429,
-0.011525237932801247,
-0.038270313292741776,
0.05492961034178734,
-0.006544722709804773,
-0.04517969861626625,
0.025391988456249237,
-0.02900022268295288,
0.010997437871992588,
0.0033251415006816387,
-0.05500638112425804,
-0.025679880753159523,
-0.02600615657866001,
-0.08068626374006271,
0.056042786687612534,
-0.04537162557244301,
0.047559600323438644,
0.052664864808321,
-0.012331333011388779,
0.040227971971035004,
-0.05554377660155296,
-0.003253168659284711,
-0.04909501597285271,
0.022762583568692207,
-0.027579961344599724,
-0.07638708502054214,
0.02393334172666073,
-0.013646034523844719,
0.00802256353199482,
0.10809348523616791,
0.007561937905848026,
-0.009025383740663528,
0.030478063970804214,
0.015872392803430557,
0.008799869567155838,
0.0045990594662725925,
-0.018098749220371246,
-0.03370244428515434,
0.024317195639014244,
0.0012763169361278415,
-0.03909560292959213,
0.004874954931437969,
-0.016515348106622696,
0.06617654860019684,
0.005623471457511187,
-0.030439678579568863,
-0.0213039368391037,
-0.012638416141271591,
-0.0010585993295535445,
-0.02673548087477684,
-0.0021375908982008696,
0.028482019901275635,
-0.01694718562066555,
0.005417149513959885,
-0.023261595517396927,
0.042531102895736694,
-0.04533324018120766,
0.07984177768230438,
-0.027560768648982048,
0.024585893377661705,
0.02280096895992756,
0.021457478404045105,
-0.01653454080224037,
-0.015546116046607494,
-0.03946026414632797,
-0.07254853844642639,
-0.02836686372756958,
-0.02660113200545311,
0.07611838728189468,
-0.04084214195609093,
-0.029192151501774788,
0.02773350290954113,
0.054852839559316635,
0.0037305878940969706,
0.04264625906944275,
0.0370611734688282,
-0.01849220134317875,
-0.01577642932534218,
0.054814454168081284,
-0.027887044474482536,
-0.02819412760436535,
-0.03775211051106453,
0.01572844758629799,
0.01640019193291664,
0.03122658096253872,
-0.03166801482439041,
0.019730132073163986,
-0.057578206062316895,
0.002799740293994546,
-0.04460391774773598,
-0.020728154107928276,
-0.0452180840075016,
-0.006679072044789791,
0.02410607598721981,
0.04863439127802849,
-0.027848659083247185,
0.009634753689169884,
-0.0576549768447876,
0.025852615013718605,
-0.03946026414632797,
-0.01461526844650507,
0.015968356281518936,
0.009629955515265465,
-0.06345118582248688,
-0.030478063970804214,
-0.025315217673778534,
0.014912755228579044,
-0.005863380618393421,
-0.047789912670850754,
0.056081172078847885,
0.031744785606861115,
0.030746761709451675,
0.004433522000908852,
-0.12175871431827545,
-0.03404791280627251,
-0.0016025934601202607,
-0.0006681471131742001,
-0.042339175939559937,
0.007811443414539099,
-0.07074442505836487,
-0.008329647593200207,
0.02207164652645588,
0.05542862042784691,
0.019135156646370888,
0.015363784506917,
-0.017206287011504173,
0.02193729765713215,
-0.0032963522244244814,
-0.018751302734017372,
0.022781776264309883,
-0.016563331708312035,
-0.01994125172495842,
0.0338943712413311,
-0.05500638112425804,
0.036370232701301575,
-0.09557982534170151,
0.020728154107928276,
0.004059263505041599,
-0.011083805002272129,
-0.022858548909425735,
-0.07162728905677795,
0.053355805575847626,
-0.013127830810844898,
-0.020766539499163628,
-0.010527215898036957,
0.0014430538285523653,
0.06809582561254501,
-0.07377687841653824,
0.008252875879406929,
0.013655631802976131,
0.027560768648982048,
-0.0029412866570055485,
0.028078971430659294,
0.007365212310105562,
-0.015661271288990974,
-0.004229599144309759,
0.04713735729455948,
-0.04602418094873428,
0.04045828804373741,
0.020785732194781303,
0.024528315290808678,
0.025084905326366425,
0.08007209002971649,
0.0048965467140078545,
-0.01591077819466591,
-0.01709113083779812,
-0.021553441882133484,
-0.028616368770599365,
-0.017302250489592552,
-0.035161092877388,
0.02234034426510334,
-0.05550539121031761,
-0.007110908627510071,
-0.02247469313442707,
-0.03376002237200737,
-0.010431251488626003,
-0.0010819904273375869,
0.015661271288990974,
-0.02433638833463192,
-0.007734672632068396,
0.005397956818342209,
0.012110616080462933,
0.04065021499991417,
0.03045887127518654,
0.0042871772311627865,
-0.026082927361130714,
0.048288922756910324,
0.0015402170829474926,
-0.03431661054491997,
-0.0029796722810715437,
0.06936254352331161,
0.07323947548866272,
-0.0552750788629055,
-0.0017873235046863556,
0.013684420846402645,
0.03205186873674393,
-0.0056330678053200245,
0.004378343001008034,
-0.023357558995485306,
0.051014289259910583,
-0.03922995179891586,
0.008511978201568127,
0.013425318524241447,
-0.03220541030168533,
0.00040484676719643176,
-0.03560252487659454,
0.026889022439718246,
-0.024221232160925865,
-0.0018808881286531687,
0.003068438498303294,
0.021649405360221863,
0.02024833671748638,
0.042569488286972046,
0.0713585913181305,
0.020497841760516167,
0.06249154731631279,
0.046561576426029205,
-0.011774742975831032,
0.013684420846402645,
-0.012388911098241806,
0.007005348335951567,
-0.021092817187309265,
-0.0037833680398762226,
0.0035242659505456686,
0.04564032331109047,
0.06656040996313095,
-0.02283935621380806,
-0.0338176004588604,
0.015421362593770027,
-0.0200372152030468,
-0.022186802700161934,
0.0752355232834816,
0.007005348335951567,
-0.01146765984594822,
-0.04713735729455948,
-0.04575548321008682,
-0.05777013301849365,
0.019730132073163986,
-0.039268337190151215,
-0.004951725713908672,
0.0651785284280777,
-0.02473943680524826,
0.07542745023965836,
-0.0066502830013632774,
-0.006141675170511007,
0.039133988320827484,
0.01470163557678461,
-0.07853667438030243,
-0.08360355347394943,
0.03304988890886307,
-0.03909560292959213,
0.07427588850259781,
-0.028904259204864502,
-0.011150979436933994,
0.050323352217674255,
-0.011266135610640049,
0.06368149816989899,
-0.024048497900366783,
0.011889900080859661,
-0.014250606298446655,
-0.004296773578971624,
-0.0011023827828466892,
-0.04287657141685486,
0.002400291385129094,
-0.010795913636684418,
-0.08199136704206467,
0.026773866266012192,
-0.06310571730136871,
0.007269248366355896,
0.018597761169075966,
0.015392573550343513,
0.06767358630895615,
-0.016428980976343155,
0.05823076143860817,
0.028347671031951904,
0.05727112293243408,
-0.020421070978045464,
0.010364077053964138,
0.040535058826208115,
-0.03376002237200737,
-0.024259617552161217,
0.04940210282802582,
0.02500813454389572,
-0.03189832717180252,
-0.01934627816081047,
-0.05324064940214157,
0.027656732127070427,
0.04909501597285271,
-0.036235883831977844,
-0.04498777166008949,
-0.06901707500219345,
0.006165666505694389,
0.010661564767360687,
-0.021054431796073914,
-0.034278225153684616,
-0.049056630581617355,
-0.003932111896574497,
0.045294854789972305,
0.0144137442111969,
0.005311589688062668,
0.06418050825595856,
0.030170980840921402,
0.0029628784395754337,
-0.08859366923570633,
-0.0005454935017041862,
0.0015606093220412731,
0.05945909395813942,
-0.025180868804454803,
0.092969611287117,
-0.028309285640716553,
0.016601717099547386,
0.026447590440511703,
0.002104003680869937,
-0.028309285640716553,
0.023587871342897415,
0.005513113457709551,
-0.051820386201143265,
0.006597502622753382,
0.013818769715726376,
-0.026927407830953598,
-0.01640019193291664,
0.02161101996898651,
0.03692682459950447,
0.027157720178365707,
0.024777822196483612,
-0.05320226401090622,
-0.017964400351047516,
-0.011851513758301735,
0.05968940630555153,
-0.019519012421369553,
0.00858874898403883,
-0.08130042999982834,
0.08859366923570633,
0.03249330073595047,
-0.058384303003549576,
0.005306791514158249,
0.041801776736974716,
-0.08237522095441818,
-0.03942187875509262,
-0.0005775814061053097,
0.03235895186662674,
0.024892978370189667,
-0.032973118126392365,
0.055812474340200424,
0.024585893377661705,
-0.027042564004659653,
0.026889022439718246,
-0.0663684830069542,
-0.022820161655545235,
0.029038608074188232,
0.010642372071743011,
-0.04088052734732628,
0.04398975148797035,
0.07930438220500946,
0.03416306897997856,
0.021457478404045105,
0.004217603709548712,
-0.014951140619814396,
-0.0023247201461344957,
0.004975716583430767,
0.007130101323127747,
-0.016438577324151993,
-0.00014312082203105092,
-0.014960736967623234,
-0.011294924654066563,
-0.006928577553480864,
0.013406125828623772,
-0.01423141360282898,
-0.022225188091397285,
-0.033606480807065964,
0.04821215197443962,
0.007091715931892395,
-0.007326826918870211,
0.07627192884683609,
-0.018405834212899208,
0.03422064706683159,
-0.021495863795280457,
0.02543037384748459,
0.02823251485824585,
0.032147832214832306,
0.03379840776324272,
0.00009071566455531865,
-0.02180294692516327,
-0.0005952746723778546,
0.04372105002403259,
0.037502605468034744,
0.0270041786134243,
-0.0013626841828227043,
0.0030300531070679426,
-0.017474986612796783,
0.0010639972751960158,
0.025296024978160858,
0.03988250344991684,
-0.056848883628845215,
0.06675233691930771,
-0.04974757134914398,
0.049018245190382004,
-0.020747346803545952,
0.04537162557244301,
-0.006986155640333891,
-0.034239839762449265,
-0.005206029396504164,
-0.018425026908516884,
-0.0001343491458101198,
0.011966670863330364,
-0.043951366096735,
0.06721296161413193,
0.0027469603810459375,
0.06172383576631546,
-0.0033227424137294292,
0.038135964423418045,
0.003656216198578477,
0.014164239168167114,
0.04291495680809021,
-0.05727112293243408,
-0.019096771255135536,
-0.052050698548555374,
-0.032742805778980255,
-0.017638124525547028,
-0.0008144917082972825,
0.042531102895736694,
0.08452481031417847,
-0.05615794286131859,
0.07116666436195374,
0.029288114979863167,
0.05086074769496918,
-0.008334445767104626,
0.010296902619302273,
0.03658135235309601,
-0.039038024842739105,
-0.0282709002494812,
-0.05965102091431618,
0.005484324414283037,
-0.01712951622903347,
-0.04590902477502823,
-0.03692682459950447,
-0.01331975869834423,
-0.026294047012925148,
-0.02310805395245552,
-0.03404791280627251,
-0.0026845838874578476,
-0.03782888129353523,
0.03784807398915291,
0.0740455761551857,
-0.0703989565372467,
0.005258809309452772,
0.046331264078617096,
-0.014490514993667603,
0.04517969861626625,
0.006228042766451836,
0.08736532926559448,
-0.016832029446959496,
-0.02401011250913143,
-0.016294632107019424,
-0.052549708634614944,
-0.03149528056383133,
0.020555419847369194,
-0.005988133605569601,
0.004836569540202618,
0.0713585913181305,
0.01098784152418375,
-0.03606314957141876,
0.015363784506917,
-0.018751302734017372,
-0.03220541030168533,
0.021898910403251648,
-0.040227971971035004,
-0.025276832282543182,
0.05216585472226143,
0.0026533957570791245,
0.019922059029340744,
0.018060363829135895,
-0.017503775656223297,
0.011381291784346104,
0.005110065918415785,
0.023530293256044388,
0.016208264976739883,
-0.021284744143486023,
-0.0012979087186977267,
-0.03435499593615532,
-0.008440005593001842,
-0.013837962411344051,
0.005930555053055286,
-0.06556238234043121,
0.020996851846575737,
0.005441140383481979,
-0.039498649537563324,
0.036370232701301575,
0.016966378316283226,
-0.04187854751944542,
0.04498777166008949,
-0.04111083969473839,
-0.011966670863330364,
-0.019327085465192795,
0.018549779430031776,
-0.0032507695723325014,
-0.03122658096253872,
0.024528315290808678,
-0.04337558150291443,
0.037310678511857986,
0.044066522270441055,
-0.029940666630864143,
0.0035458579659461975,
-0.0012355323415249586,
0.011525237932801247,
0.0023894954938441515,
0.041302766650915146,
0.011793935671448708,
0.016304228454828262,
-0.01735982857644558,
0.024451544508337975,
-0.00474540377035737,
-0.009663542732596397,
0.05539023503661156,
-0.034604500979185104,
-0.010757528245449066,
0.06663718074560165,
-0.010728739202022552,
-0.00911175087094307,
-0.0325508788228035,
0.03992088884115219,
0.029921473935246468,
-0.05224262550473213,
0.010901473462581635,
-0.02383737824857235,
0.03059322014451027,
0.033107466995716095,
0.06506337225437164,
0.03239733725786209,
0.004980514757335186,
0.0037161933723837137,
0.04567871242761612,
-0.030977075919508934,
0.0137995770201087,
-0.0263324324041605,
-0.02301209047436714,
-0.03385598585009575,
0.03679247573018074,
0.04890308901667595,
0.09082002192735672,
-0.015008719637989998,
-0.03757937625050545,
-0.004234397318214178,
0.004879753105342388,
-0.0036538171116262674,
0.04398975148797035,
0.03830869868397713,
0.0061224824748933315,
0.018463412299752235,
-0.05074559152126312,
0.05216585472226143,
0.060840971767902374,
-0.018876055255532265,
0.003274760441854596,
0.0028333275113254786,
-0.038135964423418045,
0.05040012300014496,
-0.0009716322529129684,
0.0025358402635902166,
0.04084214195609093,
-0.055313464254140854,
0.07646385580301285,
0.06828775256872177,
-0.027656732127070427,
-0.016064319759607315,
0.009807487949728966,
-0.006746246479451656,
-0.016390595585107803,
-0.015066297724843025,
-0.03155285865068436,
0.02686982974410057,
0.015891585499048233,
0.032838769257068634,
-0.005940151866525412,
0.020421070978045464,
0.029844703152775764,
0.0015498134307563305,
-0.03589041531085968,
0.025391988456249237,
0.00651593366637826,
0.046523191034793854,
0.01807955652475357,
0.009505202062427998,
0.003737785154953599,
-0.04928694665431976,
0.0018365049036219716,
-0.04045828804373741,
-0.024278810247778893,
0.0028765113092958927,
0.011477256193757057,
0.0033683250658214092,
0.04667673259973526,
-0.012648012489080429,
-0.04187854751944542,
-0.017964400351047516,
0.013588456436991692,
-0.044028136879205704,
0.02999824658036232,
0.026025349274277687,
0.027887044474482536,
0.02733045630156994,
0.014720828272402287,
-0.06364311277866364,
0.004666233900934458,
0.05922878161072731,
-0.023031283169984818,
-0.020747346803545952,
0.02813654951751232,
0.011371695436537266,
0.012532856315374374,
0.05166684463620186,
0.013770787976682186,
0.011390888132154942,
-0.006751044653356075,
0.0007749067153781652,
-0.019902866333723068,
-0.0565418004989624,
-0.05293356627225876,
-0.013386933133006096,
0.030650798231363297,
-0.020881695672869682,
0.01160200871527195,
-0.030727569013834,
0.01735982857644558,
-0.03934510797262192,
0.016246650367975235
] |
52,212 |
osmnx.features
|
features_from_place
|
Create GeoDataFrame of OSM features within boundaries of some place(s).
The query must be geocodable and OSM must have polygon boundaries for the
geocode result. If OSM does not have a polygon for this place, you can
instead get features within it using the `features_from_address`
function, which geocodes the place name to a point and gets the features
within some distance of that point.
If OSM does have polygon boundaries for this place but you're not finding
it, try to vary the query string, pass in a structured query dict, or vary
the `which_result` argument to use a different geocode result. If you know
the OSM ID of the place, you can retrieve its boundary polygon using the
`geocode_to_gdf` function, then pass it to the `features_from_polygon`
function.
You can use the `settings` module to retrieve a snapshot of historical OSM
data as of a certain date, or to configure the Overpass server timeout,
memory allocation, and other custom settings.
For more details, see: https://wiki.openstreetmap.org/wiki/Map_features
Parameters
----------
query : string or dict or list
the query or queries to geocode to get place boundary polygon(s)
tags : dict
Dict of tags used for finding elements in the selected area. Results
returned are the union, not intersection of each individual tag.
Each result matches at least one given tag. The dict keys should be
OSM tags, (e.g., `building`, `landuse`, `highway`, etc) and the dict
values should be either `True` to retrieve all items with the given
tag, or a string to get a single tag-value combination, or a list of
strings to get multiple values for the given tag. For example,
`tags = {'building': True}` would return all building footprints in
the area. `tags = {'amenity':True, 'landuse':['retail','commercial'],
'highway':'bus_stop'}` would return all amenities, landuse=retail,
landuse=commercial, and highway=bus_stop.
which_result : int
which geocoding result to use. if None, auto-select the first
(Multi)Polygon or raise an error if OSM doesn't return one.
buffer_dist : float
deprecated, do not use
Returns
-------
gdf : geopandas.GeoDataFrame
|
def features_from_place(query, tags, which_result=None, buffer_dist=None):
"""
Create GeoDataFrame of OSM features within boundaries of some place(s).
The query must be geocodable and OSM must have polygon boundaries for the
geocode result. If OSM does not have a polygon for this place, you can
instead get features within it using the `features_from_address`
function, which geocodes the place name to a point and gets the features
within some distance of that point.
If OSM does have polygon boundaries for this place but you're not finding
it, try to vary the query string, pass in a structured query dict, or vary
the `which_result` argument to use a different geocode result. If you know
the OSM ID of the place, you can retrieve its boundary polygon using the
`geocode_to_gdf` function, then pass it to the `features_from_polygon`
function.
You can use the `settings` module to retrieve a snapshot of historical OSM
data as of a certain date, or to configure the Overpass server timeout,
memory allocation, and other custom settings.
For more details, see: https://wiki.openstreetmap.org/wiki/Map_features
Parameters
----------
query : string or dict or list
the query or queries to geocode to get place boundary polygon(s)
tags : dict
Dict of tags used for finding elements in the selected area. Results
returned are the union, not intersection of each individual tag.
Each result matches at least one given tag. The dict keys should be
OSM tags, (e.g., `building`, `landuse`, `highway`, etc) and the dict
values should be either `True` to retrieve all items with the given
tag, or a string to get a single tag-value combination, or a list of
strings to get multiple values for the given tag. For example,
`tags = {'building': True}` would return all building footprints in
the area. `tags = {'amenity':True, 'landuse':['retail','commercial'],
'highway':'bus_stop'}` would return all amenities, landuse=retail,
landuse=commercial, and highway=bus_stop.
which_result : int
which geocoding result to use. if None, auto-select the first
(Multi)Polygon or raise an error if OSM doesn't return one.
buffer_dist : float
deprecated, do not use
Returns
-------
gdf : geopandas.GeoDataFrame
"""
if buffer_dist is not None:
warn(
"The buffer_dist argument has been deprecated and will be removed "
"in the v2.0.0 release. Buffer your query area directly, if desired. "
"See the OSMnx v2 migration guide: https://github.com/gboeing/osmnx/issues/1123",
FutureWarning,
stacklevel=2,
)
# create a GeoDataFrame with the spatial boundaries of the place(s)
if isinstance(query, (str, dict)):
# if it is a string (place name) or dict (structured place query),
# then it is a single place
gdf_place = geocoder.geocode_to_gdf(
query, which_result=which_result, buffer_dist=buffer_dist
)
elif isinstance(query, list):
# if it is a list, it contains multiple places to get
gdf_place = geocoder.geocode_to_gdf(query, buffer_dist=buffer_dist)
else: # pragma: no cover
msg = "query must be dict, string, or list of strings"
raise TypeError(msg)
# extract the geometry from the GeoDataFrame to use in API query
polygon = gdf_place["geometry"].unary_union
utils.log("Constructed place geometry polygon(s) to query API")
# create GeoDataFrame using this polygon(s) geometry
return features_from_polygon(polygon, tags)
|
(query, tags, which_result=None, buffer_dist=None)
|
[
0.05305285006761551,
-0.042021289467811584,
-0.03979938477277756,
-0.08552384376525879,
-0.010261692106723785,
-0.00694832531735301,
-0.024830760434269905,
-0.030892273411154747,
0.006407466717064381,
-0.03824015334248543,
0.016430402174592018,
0.024499423801898956,
-0.09144892543554306,
0.005033393856137991,
-0.0234469436109066,
0.06884007155895233,
-0.029722848907113075,
-0.03323112055659294,
-0.007547654677182436,
-0.006889854092150927,
-0.025629866868257523,
-0.02044542320072651,
0.011869649402797222,
-0.020484402775764465,
0.05609335005283356,
-0.00655364478006959,
-0.002476498018950224,
-0.041280653327703476,
-0.02030899003148079,
0.0025191332679241896,
0.046036310493946075,
-0.05695093050599098,
-0.034751370549201965,
-0.026935722678899765,
-0.04794636741280556,
-0.048336174339056015,
0.06767064332962036,
0.03695378452539444,
0.026799291372299194,
-0.0006754639325663447,
-0.05550863966345787,
-0.09908916056156158,
-0.01877899467945099,
-0.014822443947196007,
0.00926280952990055,
-0.040384095162153244,
-0.012727227061986923,
-0.02147841267287731,
0.011879394762217999,
0.013156015425920486,
-0.007357623428106308,
-0.022199558094143867,
-0.0040028393268585205,
0.015533843077719212,
-0.02833903208374977,
-0.04720573127269745,
-0.04946661740541458,
0.08053430169820786,
0.04315172880887985,
0.0017699713353067636,
-0.03490729257464409,
0.028085656464099884,
0.010242201387882233,
0.008385742083191872,
-0.01437416486442089,
-0.0142669677734375,
-0.0036130317021161318,
-0.03880537301301956,
-0.03097023442387581,
0.019188292324543,
-0.020153066143393517,
0.042294152081012726,
0.007372241001576185,
0.03592079505324364,
-0.029917754232883453,
0.09004561603069305,
-0.008721951395273209,
-0.010748951695859432,
0.01535842940211296,
-0.0052380431443452835,
-0.028416993096470833,
0.012834424152970314,
0.008073895238339901,
-0.05176648497581482,
0.008678097277879715,
0.02147841267287731,
0.00998882669955492,
0.06802146881818771,
0.067904531955719,
-0.04607528820633888,
-0.01158703863620758,
0.013545823283493519,
-0.016713012009859085,
0.01973402313888073,
0.014315693639218807,
-0.03948753699660301,
-0.025395981967449188,
0.015124545432627201,
-0.07394655048847198,
-0.010661245323717594,
0.006285651586949825,
0.02241395227611065,
-0.00948207639157772,
0.059874486178159714,
-0.00630026962608099,
-0.0010963346576318145,
0.002925995271652937,
-0.06763166189193726,
0.0169956237077713,
-0.01888619177043438,
-0.09480126947164536,
-0.020211538299918175,
0.053988389670848846,
0.027500944212079048,
-0.014763972721993923,
0.020757269114255905,
0.04034511372447014,
0.05149361863732338,
-0.028007695451378822,
-0.00040960279875434935,
0.02140045166015625,
0.04135861620306969,
0.04954458028078079,
-0.06342174112796783,
0.017395175993442535,
0.027286550030112267,
0.03966294974088669,
-0.020406441763043404,
-0.033328574150800705,
-0.04237211495637894,
0.07776667177677155,
0.007128611207008362,
-0.013925885781645775,
0.015572824515402317,
0.02255038544535637,
0.006992178503423929,
0.006641351617872715,
-0.046036310493946075,
0.022316500544548035,
0.008882747031748295,
0.020347969606518745,
-0.036778371781110764,
-0.0020842538215219975,
-0.009028924629092216,
-0.04342459514737129,
0.039779894053936005,
-0.013341174460947514,
-0.025902733206748962,
0.017677785828709602,
-0.048531077802181244,
0.007718195673078299,
-0.00970134325325489,
-0.024889232590794563,
-0.012454361654818058,
-0.03479035198688507,
-0.05956264212727547,
0.04545159637928009,
-0.030541446059942245,
0.025123117491602898,
0.017365939915180206,
0.03042450360953808,
0.021147076040506363,
-0.032568447291851044,
0.0195391196757555,
-0.04782942309975624,
0.010661245323717594,
-0.02697470411658287,
-0.050441138446331024,
0.013380154967308044,
0.0127369724214077,
0.054923929274082184,
0.10415665805339813,
0.027286550030112267,
-0.019120076671242714,
-0.0032743860501796007,
0.03551149740815163,
0.0004659422265831381,
-0.014169516041874886,
-0.01481269858777523,
-0.028494954109191895,
0.0509478896856308,
-0.033523477613925934,
-0.0529748871922493,
-0.0003337729722261429,
-0.017122309654951096,
0.04198230803012848,
0.0029625396709889174,
-0.02017255686223507,
0.013779708184301853,
0.032841313630342484,
-0.04895986616611481,
-0.04931069537997246,
0.01962682604789734,
-0.02804667502641678,
-0.006923962384462357,
-0.029722848907113075,
-0.02465534768998623,
0.036174170672893524,
-0.039994288235902786,
0.07870221138000488,
-0.058120351284742355,
0.06603345274925232,
0.0052380431443452835,
-0.006782657001167536,
-0.0217317882925272,
0.017999378964304924,
-0.05648316070437431,
-0.08872026950120926,
0.027754319831728935,
-0.03553098812699318,
0.0281831081956625,
-0.027500944212079048,
-0.009740323759615421,
0.04545159637928009,
0.03962396830320358,
-0.0075622727163136005,
-0.01979249343276024,
0.03574538230895996,
0.007557400036603212,
-0.015972377732396126,
0.048687003552913666,
-0.0937877744436264,
-0.005286769010126591,
-0.029118647798895836,
0.010612519457936287,
0.017453646287322044,
0.03732410445809364,
-0.003922441508620977,
0.0057642837055027485,
-0.05695093050599098,
0.02744247391819954,
-0.06665714830160141,
0.03252946585416794,
-0.09433349967002869,
0.008590390905737877,
-0.0002882446569856256,
0.03851301595568657,
0.006085875444114208,
0.01246410608291626,
-0.0309117641299963,
0.01989969238638878,
0.0071481019258499146,
-0.006753421388566494,
0.012649265117943287,
-0.048920888453722,
-0.04003326594829559,
-0.06194046884775162,
-0.028553426265716553,
0.028982214629650116,
-0.022024143487215042,
-0.0713738203048706,
0.03508270904421806,
-0.0029357403982430696,
0.00922382902354002,
0.027910243719816208,
-0.15459780395030975,
-0.012259457260370255,
-0.010329908691346645,
0.006095620337873697,
0.015777472406625748,
-0.01708333007991314,
-0.04182638227939606,
0.04131963476538658,
0.031691379845142365,
0.01484193466603756,
0.01885695569217205,
0.0009276209166273475,
-0.04654305800795555,
0.023739298805594444,
-0.003976040054112673,
-0.08552384376525879,
0.05328673496842384,
-0.012103534303605556,
-0.04451605677604675,
0.0033840194810181856,
-0.01090487465262413,
0.0013558004284277558,
-0.024967193603515625,
-0.02900170534849167,
-0.024226559326052666,
-0.008366251364350319,
-0.04533465579152107,
-0.040111228823661804,
0.02902119606733322,
-0.021439433097839355,
0.012308183126151562,
-0.00412709079682827,
0.05511883273720741,
0.07082808762788773,
-0.02132249064743519,
0.010212966240942478,
0.008059277199208736,
0.00024713209131732583,
0.017453646287322044,
0.030755840241909027,
0.03574538230895996,
0.02948896400630474,
-0.015972377732396126,
0.022374970838427544,
-0.008522174321115017,
-0.0022426133509725332,
0.05075298249721527,
0.05344265699386597,
0.04771248251199722,
0.04545159637928009,
0.06833332031965256,
0.0030453738290816545,
-0.028592407703399658,
-0.03901976719498634,
0.00829316210001707,
-0.009506438858807087,
-0.03280233219265938,
-0.028241580352187157,
-0.04864802211523056,
-0.0008125057793222368,
-0.01981198415160179,
0.0011566330213099718,
-0.005062629468739033,
0.009292044676840305,
-0.027734829112887383,
-0.049076810479164124,
0.02038695104420185,
0.03558945655822754,
-0.041748423129320145,
0.016186771914362907,
0.013438626192510128,
-0.018330715596675873,
-0.007206572685390711,
0.04743961617350578,
0.004650895018130541,
0.004319558385759592,
0.03948753699660301,
0.03227609023451805,
0.06540975719690323,
-0.012834424152970314,
0.0065146638080477715,
0.028514444828033447,
0.021692806854844093,
0.010817168280482292,
0.0054329470731318,
0.024226559326052666,
0.07492107152938843,
-0.025922222062945366,
0.013477606698870659,
-0.01623549684882164,
-0.027695849537849426,
-0.006329505238682032,
0.002366864588111639,
0.04015021026134491,
-0.0346539206802845,
-0.017063839361071587,
-0.037674929946660995,
0.04245007783174515,
0.04895986616611481,
0.08100207149982452,
0.045763444155454636,
-0.0014167079934850335,
0.05277998372912407,
0.038006268441677094,
0.0251426063477993,
0.034147169440984726,
-0.03736308217048645,
0.02262834645807743,
-0.02099115401506424,
-0.024207068607211113,
-0.013818688690662384,
0.019519628956913948,
0.034205641597509384,
-0.05480698496103287,
-0.03636907413601875,
-0.01494913175702095,
-0.030677879229187965,
-0.027734829112887383,
0.05102584883570671,
0.01205480843782425,
0.003822553437203169,
-0.024811269715428352,
-0.028222089633345604,
-0.0863034576177597,
0.03440054506063461,
-0.017414666712284088,
0.010193475522100925,
0.062408238649368286,
-0.031028706580400467,
0.06903497129678726,
-0.019636571407318115,
-0.04642611742019653,
0.03449799492955208,
0.03917568922042847,
-0.07051624357700348,
-0.06899598985910416,
0.025454454123973846,
-0.014325438998639584,
0.04829719290137291,
-0.03582334145903587,
0.034147169440984726,
0.006743676029145718,
-0.023602865636348724,
0.007187082432210445,
-0.01151882205158472,
0.02397318370640278,
-0.018973898142576218,
0.0007351532694883645,
0.019724277779459953,
-0.012376399710774422,
-0.02676030993461609,
-0.01590416021645069,
-0.03418615087866783,
0.0047800191678106785,
-0.044671982526779175,
-0.021790260449051857,
-0.03371838107705116,
-0.02085472084581852,
0.06922987848520279,
-0.07460922747850418,
0.034673407673835754,
0.0028991959989070892,
0.08614753931760788,
-0.00818596500903368,
0.07262120395898819,
0.05578150600194931,
-0.03440054506063461,
-0.018652306869626045,
0.04443809762597084,
-0.004965177737176418,
-0.0038347349036484957,
-0.012444616295397282,
-0.020601345226168633,
0.030599918216466904,
0.04790738597512245,
-0.019938671961426735,
-0.02607814595103264,
-0.06922987848520279,
0.006032276898622513,
-0.012405634857714176,
0.017044348642230034,
-0.032704878598451614,
0.014871169812977314,
0.015173271298408508,
0.012649265117943287,
0.035102199763059616,
-0.002252358477562666,
0.058744046837091446,
0.03044399432837963,
0.017950652167201042,
-0.04104676842689514,
0.010076533071696758,
-0.0064367023296654224,
0.048920888453722,
-0.06081002578139305,
0.07959876954555511,
-0.023953692987561226,
0.01793116144835949,
0.053013868629932404,
0.017404921352863312,
-0.015377920120954514,
0.008093385957181454,
0.03280233219265938,
-0.07858526706695557,
0.02350541390478611,
0.028514444828033447,
-0.00630026962608099,
-0.021458923816680908,
0.04463300108909607,
0.0000608694099355489,
0.05613233149051666,
0.022511404007673264,
-0.03816219046711922,
-0.029118647798895836,
-0.010456595569849014,
0.04634815454483032,
-0.01314627006649971,
0.004480354022234678,
-0.04845311865210533,
0.08100207149982452,
0.047049809247255325,
-0.04424319416284561,
0.006271034013479948,
0.04771248251199722,
-0.038824863731861115,
0.010339654050767422,
-0.03030756115913391,
0.006675459444522858,
-0.0007296716212294996,
0.0015433955704793334,
0.04338561370968819,
-0.010515066795051098,
0.007708450313657522,
0.03042450360953808,
-0.04026715084910393,
-0.03911722078919411,
0.04954458028078079,
0.01552409864962101,
-0.07706501334905624,
0.048881907016038895,
0.08404257893562317,
0.03839607536792755,
-0.007645106874406338,
0.01858408935368061,
-0.034673407673835754,
-0.021147076040506363,
0.009243318811058998,
-0.036447037011384964,
-0.011216721497476101,
0.008220073767006397,
-0.03523863106966019,
0.048219233751297,
0.01940268650650978,
-0.001872295862995088,
0.01779472827911377,
-0.08373072743415833,
-0.05320877209305763,
0.09293019771575928,
0.021283509209752083,
-0.01409155409783125,
0.055742524564266205,
-0.006573135033249855,
-0.006909344345331192,
-0.05991346761584282,
0.014130535535514355,
0.02527903951704502,
0.05632723495364189,
-0.0057301754131913185,
-0.005345240235328674,
-0.021985163912177086,
-0.04400930926203728,
0.07998857647180557,
-0.01593339629471302,
0.02594171278178692,
-0.0414365753531456,
0.0015068510547280312,
-0.020133575424551964,
0.0319252647459507,
0.05461208149790764,
0.08716104179620743,
-0.026799291372299194,
0.0428009033203125,
-0.05149361863732338,
-0.04342459514737129,
0.030931254848837852,
0.052273236215114594,
0.022238539531826973,
-0.05305285006761551,
-0.05469004437327385,
0.005813009571284056,
-0.01912982016801834,
0.024226559326052666,
-0.036447037011384964,
0.08918803930282593,
-0.028416993096470833,
0.052000369876623154,
-0.0013338738353922963,
0.05352061986923218,
0.0428009033203125,
0.011703981086611748,
0.0638895109295845,
-0.0400722473859787,
0.011489586904644966,
0.000671200396027416,
-0.03621315211057663,
0.006475683301687241,
0.020347969606518745,
0.011470096185803413,
0.06911293417215347,
-0.03901976719498634,
0.04720573127269745,
-0.013575058430433273,
0.07835137844085693,
-0.012405634857714176,
0.008970453403890133,
0.04658203944563866,
-0.042761921882629395,
-0.005735048092901707,
-0.011431115679442883,
0.016216007992625237,
-0.02629254013299942,
-0.049622539430856705,
-0.02968386933207512,
0.02656540647149086,
0.0013558004284277558,
-0.034264110028743744,
-0.04104676842689514,
-0.020406441763043404,
-0.02785177156329155,
0.03566741943359375,
0.09027950465679169,
-0.03180832043290138,
0.013000092469155788,
0.05928977578878403,
-0.059484679251909256,
0.030755840241909027,
0.003279258729889989,
0.06716389209032059,
0.015650786459445953,
0.009058160707354546,
0.03145749494433403,
-0.05215629190206528,
-0.04775146394968033,
-0.01738543063402176,
-0.00915561243891716,
0.009043542668223381,
0.033328574150800705,
-0.009681852534413338,
-0.03613518923521042,
0.02757890708744526,
-0.00474103819578886,
-0.05889996886253357,
0.028962723910808563,
-0.025395981967449188,
-0.032587938010692596,
0.04108574986457825,
-0.02874832972884178,
0.005676576867699623,
0.05523577332496643,
-0.040656961500644684,
-0.0018576780566945672,
-0.0026945469435304403,
0.03354296833276749,
-0.00829316210001707,
-0.039097730070352554,
0.007479438558220863,
-0.033659908920526505,
0.007445330265909433,
-0.025298530235886574,
0.017210017889738083,
-0.05090890824794769,
0.022316500544548035,
-0.02194618247449398,
-0.04295682534575462,
0.06696899235248566,
0.04510077089071274,
0.015134290792047977,
0.014452126808464527,
-0.04124167189002037,
-0.022433442994952202,
-0.01576772890985012,
0.01067099068313837,
0.0038006266113370657,
-0.051454637199640274,
0.004872598219662905,
-0.06217435374855995,
0.05667806416749954,
0.01661556027829647,
-0.014296203851699829,
0.00013392031542025506,
-0.028241580352187157,
0.02500617504119873,
-0.0013265649322420359,
0.049154773354530334,
0.020425932481884956,
0.0011066888691857457,
0.0030015206430107355,
0.038688428699970245,
0.040656961500644684,
0.024207068607211113,
0.029722848907113075,
-0.078156478703022,
-0.03208118677139282,
0.04233313351869583,
0.003581359749659896,
0.019548865035176277,
-0.014413145370781422,
-0.011509077623486519,
-0.03381583094596863,
-0.12247762829065323,
0.005964060313999653,
0.02194618247449398,
-0.003140389686450362,
0.021556375548243523,
0.05332571640610695,
0.0017797165783122182,
-0.010943856090307236,
-0.006578007712960243,
0.010076533071696758,
-0.02025051787495613,
0.011626019142568111,
-0.029586417600512505,
0.007026286795735359,
-0.035102199763059616,
-0.00869271531701088,
0.05328673496842384,
0.09667234867811203,
0.027325531467795372,
-0.02601967565715313,
0.0060663847252726555,
-0.00394193222746253,
-0.01463728491216898,
0.028494954109191895,
0.03124310076236725,
-0.01992892660200596,
0.005593742709606886,
-0.03309468924999237,
0.04342459514737129,
0.01823326200246811,
-0.020679308101534843,
-0.005311131943017244,
-0.0009641653741709888,
-0.0719975158572197,
0.01729772426187992,
0.021907202899456024,
0.018691286444664,
0.03098972514271736,
-0.0017967706080526114,
0.02241395227611065,
0.02186822146177292,
0.03551149740815163,
-0.023330001160502434,
-0.0026653113309293985,
-0.012551813386380672,
-0.013818688690662384,
-0.008307780139148235,
-0.04611426964402199,
0.018574343994259834,
-0.01209378894418478,
0.01721976324915886,
0.004646022338420153,
0.021965673193335533,
0.0435025580227375,
0.0363495834171772,
-0.03208118677139282,
0.036447037011384964,
-0.0003413864178583026,
0.029839791357517242,
0.004697184544056654,
-0.0016505926614627242,
-0.012951366603374481,
-0.051181770861148834,
-0.012961111031472683,
-0.03227609023451805,
-0.014257222414016724,
-0.03486831486225128,
0.044594019651412964,
-0.03408869728446007,
0.03605722635984421,
-0.007299152202904224,
-0.033465005457401276,
-0.006383103784173727,
0.007065267767757177,
0.0014593432424589992,
0.028572916984558105,
-0.022024143487215042,
0.020484402775764465,
0.00017282497719861567,
-0.008614753372967243,
0.00029677170095965266,
-0.012561558745801449,
0.043931346386671066,
-0.02962539717555046,
-0.031554944813251495,
0.02317407727241516,
0.027773810550570488,
-0.013565314002335072,
0.06747574359178543,
0.04151453822851181,
0.02541547268629074,
0.0584321990609169,
-0.025707827880978584,
0.013428880833089352,
-0.02804667502641678,
-0.03755798935890198,
-0.0502852126955986,
0.032782841473817825,
-0.004909142851829529,
-0.023018155246973038,
-0.006168709602206945,
-0.030658388510346413,
-0.049076810479164124,
-0.0023559012915939093
] |
52,213 |
osmnx.features
|
features_from_point
|
Create GeoDataFrame of OSM features within some distance N, S, E, W of a point.
You can use the `settings` module to retrieve a snapshot of historical OSM
data as of a certain date, or to configure the Overpass server timeout,
memory allocation, and other custom settings.
For more details, see: https://wiki.openstreetmap.org/wiki/Map_features
Parameters
----------
center_point : tuple
the (lat, lon) center point around which to get the features
tags : dict
Dict of tags used for finding elements in the selected area. Results
returned are the union, not intersection of each individual tag.
Each result matches at least one given tag. The dict keys should be
OSM tags, (e.g., `building`, `landuse`, `highway`, etc) and the dict
values should be either `True` to retrieve all items with the given
tag, or a string to get a single tag-value combination, or a list of
strings to get multiple values for the given tag. For example,
`tags = {'building': True}` would return all building footprints in
the area. `tags = {'amenity':True, 'landuse':['retail','commercial'],
'highway':'bus_stop'}` would return all amenities, landuse=retail,
landuse=commercial, and highway=bus_stop.
dist : numeric
distance in meters
Returns
-------
gdf : geopandas.GeoDataFrame
|
def features_from_point(center_point, tags, dist=1000):
"""
Create GeoDataFrame of OSM features within some distance N, S, E, W of a point.
You can use the `settings` module to retrieve a snapshot of historical OSM
data as of a certain date, or to configure the Overpass server timeout,
memory allocation, and other custom settings.
For more details, see: https://wiki.openstreetmap.org/wiki/Map_features
Parameters
----------
center_point : tuple
the (lat, lon) center point around which to get the features
tags : dict
Dict of tags used for finding elements in the selected area. Results
returned are the union, not intersection of each individual tag.
Each result matches at least one given tag. The dict keys should be
OSM tags, (e.g., `building`, `landuse`, `highway`, etc) and the dict
values should be either `True` to retrieve all items with the given
tag, or a string to get a single tag-value combination, or a list of
strings to get multiple values for the given tag. For example,
`tags = {'building': True}` would return all building footprints in
the area. `tags = {'amenity':True, 'landuse':['retail','commercial'],
'highway':'bus_stop'}` would return all amenities, landuse=retail,
landuse=commercial, and highway=bus_stop.
dist : numeric
distance in meters
Returns
-------
gdf : geopandas.GeoDataFrame
"""
# create bounding box from center point and distance in each direction
bbox = utils_geo.bbox_from_point(center_point, dist)
# convert the bounding box to a polygon
polygon = utils_geo.bbox_to_poly(bbox=bbox)
# create GeoDataFrame of features within this polygon
return features_from_polygon(polygon, tags)
|
(center_point, tags, dist=1000)
|
[
0.01777511090040207,
-0.05513686686754227,
0.0023678692523390055,
-0.03731577843427658,
0.018786627799272537,
-0.011043925769627094,
-0.021370593458414078,
-0.002034528413787484,
-0.013370414264500141,
0.007765691261738539,
-0.034170880913734436,
0.013315240852534771,
-0.0656566470861435,
0.046971168369054794,
-0.009968039579689503,
0.01901651732623577,
-0.04410213977098465,
-0.031669676303863525,
0.015053210780024529,
0.0035816894378513098,
0.016202662140130997,
-0.011283011175692081,
0.06573020666837692,
0.0039839972741901875,
0.009181815199553967,
0.015926793217658997,
-0.011485314927995205,
-0.012073833495378494,
0.0029012144077569246,
-0.04645621404051781,
0.03667208552360535,
-0.05594608187675476,
-0.008510535582900047,
-0.011301402933895588,
-0.02063494548201561,
-0.028819037601351738,
0.04160093143582344,
0.022566022351384163,
0.0068323370069265366,
0.020064817741513252,
-0.07290278375148773,
-0.09982752799987793,
-0.016910724341869354,
-0.014492278918623924,
-0.022382110357284546,
-0.014446300454437733,
-0.023228107020258904,
0.0062576113268733025,
0.040681373327970505,
-0.015807250514626503,
0.000750016828533262,
0.008280645124614239,
0.021554505452513695,
-0.012119811959564686,
0.010409428738057613,
-0.03685599938035011,
-0.0359916128218174,
0.07430051267147064,
0.03052942082285881,
0.02558218315243721,
0.0343547947704792,
0.012533614411950111,
-0.010115168988704681,
-0.02420284040272236,
-0.004597804043442011,
-0.006984064355492592,
-0.014483083039522171,
-0.03086046129465103,
-0.012092225253582,
0.013830195181071758,
0.003758704988285899,
0.006533479783684015,
0.010078386403620243,
0.05006089061498642,
-0.062419790774583817,
0.043476834893226624,
-0.028175344690680504,
-0.00025790807558223605,
0.035513438284397125,
-0.03715025633573532,
-0.06631872802972794,
-0.016441747546195984,
0.0170394629240036,
-0.010271494276821613,
0.01741648279130459,
0.07415338605642319,
0.0031977728940546513,
0.030161594972014427,
-0.01040023285895586,
0.02563735656440258,
-0.0298121627420187,
0.05693920701742172,
-0.028506385162472725,
-0.005057584494352341,
0.03477779030799866,
-0.0011000246740877628,
0.014639408327639103,
0.04248370975255966,
-0.018336042761802673,
0.011080708354711533,
0.024570666253566742,
-0.0050116064958274364,
-0.014887689612805843,
0.08496741950511932,
-0.01621185801923275,
-0.035016875714063644,
-0.00931515172123909,
-0.03365592658519745,
-0.00228051096200943,
0.016864744946360588,
-0.09357450902462006,
-0.013186502270400524,
0.07621320337057114,
-0.02519596740603447,
-0.023669496178627014,
-0.0626404881477356,
0.04549986869096756,
0.035678960382938385,
-0.03560539707541466,
-0.09019052982330322,
0.038180164992809296,
0.019825732335448265,
-0.017572807148098946,
-0.04770681634545326,
0.009434694424271584,
0.008942728862166405,
0.039908941835165024,
-0.038180164992809296,
-0.03181680664420128,
-0.019053300842642784,
0.025839660316705704,
0.023595931008458138,
0.03755486384034157,
0.04608839005231857,
0.01705785281956196,
-0.07599250972270966,
-0.02140737697482109,
-0.011963486671447754,
0.01471297349780798,
0.023595931008458138,
0.028046606108546257,
-0.027458086609840393,
0.010142755694687366,
-0.014280780218541622,
-0.04141702130436897,
0.03505365923047066,
-0.011816357262432575,
-0.015034819953143597,
0.023485584184527397,
-0.052709225565195084,
-0.007420856039971113,
-0.0011701411567628384,
-0.02780752070248127,
-0.023835016414523125,
-0.011393358930945396,
-0.0821719542145729,
0.059587541967630386,
-0.028120171278715134,
0.06058066710829735,
0.007062227465212345,
-0.023228107020258904,
0.028212126344442368,
-0.06227266043424606,
-0.015604947693645954,
-0.04277797043323517,
-0.012193377129733562,
-0.00899790320545435,
-0.04454352706670761,
0.009655389003455639,
-0.016037141904234886,
0.03470422700047493,
0.09953326731920242,
0.04877350851893425,
0.014345149509608746,
-0.0004117908247280866,
0.019200431182980537,
0.017269352450966835,
0.011926704086363316,
0.013508348725736141,
-0.05885189399123192,
0.040681373327970505,
-0.02096598781645298,
-0.05300348624587059,
0.025012055411934853,
0.023228107020258904,
0.03349040448665619,
0.0201935563236475,
-0.004039171151816845,
-0.04818498715758324,
0.0023885592818260193,
0.0008477201336063445,
-0.05811624601483345,
0.009296759963035583,
0.002459825249388814,
-0.027899475768208504,
0.04071815311908722,
-0.041858408600091934,
-0.009379521012306213,
-0.08084779232740402,
0.08261334896087646,
-0.008510535582900047,
0.0309156347066164,
0.010685296729207039,
-0.014648604206740856,
0.015135971829295158,
0.005756450816988945,
-0.037738777697086334,
-0.03549505025148392,
-0.043844662606716156,
-0.017572807148098946,
0.0590725876390934,
-0.06286118179559708,
0.0052277036011219025,
0.014225605875253677,
0.036800824105739594,
-0.03895259648561478,
-0.01301178615540266,
0.03308580070734024,
-0.010703688487410545,
-0.040387112647295,
0.04031354561448097,
-0.045683782547712326,
0.022786717861890793,
0.008579502813518047,
0.024386754259467125,
0.01940273307263851,
0.04281475394964218,
-0.022602805867791176,
-0.011439336463809013,
-0.06959236413240433,
0.00852892640978098,
-0.10063673555850983,
-0.005623114760965109,
-0.06642907857894897,
0.017462460324168205,
-0.028635123744606972,
0.08401107788085938,
0.017260156571865082,
0.007986386306583881,
-0.04097563028335571,
0.02775234542787075,
-0.020064817741513252,
0.020874030888080597,
0.0024690208956599236,
-0.05789555236697197,
-0.027439694851636887,
-0.023448800668120384,
-0.041637714952230453,
0.018731454387307167,
-0.015117580071091652,
-0.0052644857205450535,
0.012506027705967426,
-0.005696679465472698,
0.04215266928076744,
0.017159005627036095,
-0.18038105964660645,
-0.011365772224962711,
-0.009453085251152515,
-0.0005865073762834072,
-0.03799625486135483,
-0.01634979248046875,
-0.04454352706670761,
0.017278548330068588,
0.0298121627420187,
0.035568613559007645,
0.018529150635004044,
0.010630123317241669,
-0.013968128710985184,
0.04071815311908722,
-0.011439336463809013,
0.014740560203790665,
0.02607874572277069,
-0.008823186159133911,
-0.01698428951203823,
0.027678782120347023,
-0.024000538513064384,
0.020561380311846733,
-0.07819945365190506,
-0.056975990533828735,
0.022161416709423065,
-0.028340864926576614,
-0.051201146095991135,
-0.0571599006652832,
0.05432765558362007,
-0.053150616586208344,
0.0017724535427987576,
0.012809482403099537,
0.03687439113855362,
0.08128917962312698,
-0.02368788793683052,
-0.028892600908875465,
0.038621556013822556,
0.002409249311313033,
-0.017811892554163933,
0.0017218777211382985,
0.024184450507164,
0.04575734585523605,
-0.049803413450717926,
0.04939880967140198,
-0.05105401948094368,
0.045683782547712326,
0.0006592101999558508,
0.07404303550720215,
0.040681373327970505,
0.05300348624587059,
-0.0025241945404559374,
0.014722169376909733,
-0.03440996631979942,
-0.015531382523477077,
-0.05484260991215706,
0.026685655117034912,
0.024331578984856606,
-0.021885547786951065,
-0.049582719802856445,
-0.024386754259467125,
-0.00872203428298235,
-0.03201910853385925,
-0.018427999690175056,
0.017655568197369576,
0.03755486384034157,
-0.0359916128218174,
0.012588787823915482,
0.008197885006666183,
0.022547632455825806,
0.05101723596453667,
0.001998895313590765,
0.021591288968920708,
-0.024993663653731346,
0.06698080897331238,
0.024883316829800606,
-0.023228107020258904,
0.022400502115488052,
0.041637714952230453,
0.04976663365960121,
-0.04152736812829971,
0.028892600908875465,
-0.021388985216617584,
0.015669316053390503,
-0.025343095883727074,
0.015411839820444584,
-0.0045587229542434216,
0.04737577587366104,
-0.02970181591808796,
-0.011494510807096958,
-0.0077886804938316345,
-0.03058459423482418,
0.06506812572479248,
-0.05068619176745415,
0.03694795444607735,
-0.058373723179101944,
0.0055955275893211365,
0.03987215831875801,
0.0272006094455719,
0.03374788165092468,
0.058925457298755646,
0.02797304093837738,
-0.0008161102305166423,
0.09379520267248154,
0.03799625486135483,
-0.0085197314620018,
0.05377591773867607,
-0.05362878739833832,
0.004255267791450024,
-0.0368192158639431,
-0.05429087206721306,
0.003646058728918433,
0.030492637306451797,
0.024515492841601372,
0.0014402621891349554,
-0.016919920220971107,
0.0008241563919000328,
-0.022897064685821533,
-0.004510445985943079,
0.048074640333652496,
0.009646193124353886,
0.018639497458934784,
-0.025618964806199074,
-0.02363271452486515,
-0.08879279345273972,
0.02797304093837738,
-0.01393134705722332,
0.030069639906287193,
0.0923239067196846,
0.02852477692067623,
0.07157861441373825,
-0.05888867750763893,
-0.0175820030272007,
0.015503795817494392,
0.017738329246640205,
-0.027899475768208504,
-0.06135309860110283,
0.022602805867791176,
-0.005494376178830862,
0.07724311202764511,
-0.019200431182980537,
-0.018317652866244316,
0.02091081440448761,
-0.034005358815193176,
0.02585805021226406,
0.006400143261998892,
-0.001257499447092414,
-0.002072460250928998,
-0.0025908625684678555,
-0.009453085251152515,
-0.035734135657548904,
0.008763414807617664,
-0.01131979376077652,
-0.08504098653793335,
-0.0027977637946605682,
-0.03130185231566429,
-0.03630426153540611,
0.013149719685316086,
0.004147219471633434,
0.062419790774583817,
-0.027733955532312393,
0.020156772807240486,
0.016313008964061737,
0.0577116385102272,
-0.02214302495121956,
0.009002500213682652,
0.06528881937265396,
-0.06197839975357056,
-0.060543887317180634,
0.021977504715323448,
-0.020763684064149857,
-0.03711347654461861,
-0.007149585522711277,
-0.017738329246640205,
0.037407733500003815,
0.036341045051813126,
-0.044801004230976105,
-0.05204714462161064,
-0.04248370975255966,
-0.006901304237544537,
0.0009948498336598277,
-0.0015241721412166953,
-0.015917597338557243,
-0.024386754259467125,
0.014832516200840473,
0.036341045051813126,
-0.006156459916383028,
-0.0052277036011219025,
0.036506567150354385,
0.02124185487627983,
0.004464467987418175,
-0.06885671615600586,
-0.005967949982732534,
-0.01223935466259718,
0.05167932063341141,
-0.038842249661684036,
0.07095331698656082,
-0.01958664506673813,
0.04406535625457764,
0.024037320166826248,
0.009305955842137337,
0.008584100753068924,
-0.0005626562633551657,
0.0064047412015497684,
-0.08261334896087646,
0.05094366893172264,
0.0201935563236475,
-0.01643255166709423,
-0.027163827791810036,
0.03220302239060402,
0.03483296558260918,
0.024772968143224716,
0.04060780629515648,
-0.02302580326795578,
-0.049251679331064224,
-0.03703990951180458,
0.07135792076587677,
-0.050355151295661926,
-0.00394261721521616,
-0.05105401948094368,
0.057270247489213943,
0.039357203990221024,
-0.07099010050296783,
0.010188734158873558,
0.023835016414523125,
-0.04583091288805008,
-0.07168896496295929,
-0.04321935772895813,
0.04082849994301796,
0.007246139459311962,
-0.05145862326025963,
0.035899654030799866,
0.017462460324168205,
0.004273659083992243,
-0.010492188856005669,
-0.021113116294145584,
-0.03163289278745651,
0.018667085096240044,
0.020175164565443993,
-0.06488421559333801,
0.039908941835165024,
0.07783162593841553,
0.05451156571507454,
0.02852477692067623,
0.01810615323483944,
-0.021738417446613312,
-0.01604633592069149,
-0.0107864486053586,
-0.018887778744101524,
-0.029462728649377823,
0.042410146445035934,
0.0189613439142704,
-0.002993170637637377,
0.02536148764193058,
-0.005779440049082041,
-0.005963352043181658,
-0.013830195181071758,
-0.05006089061498642,
0.03588126227259636,
0.0222533717751503,
0.018069369718432426,
0.09350094944238663,
0.021609678864479065,
0.030161594972014427,
-0.05933006480336189,
-0.038511209189891815,
0.013784216716885567,
0.03869511932134628,
0.01863030344247818,
-0.004064458888024092,
-0.0248649250715971,
0.01769234985113144,
0.07014410197734833,
0.02670404687523842,
0.008404785767197609,
0.01947629824280739,
0.00022931548301130533,
0.015338274650275707,
-0.03906294330954552,
0.006156459916383028,
0.050980452448129654,
0.013030176982283592,
0.013443979434669018,
-0.04538952186703682,
-0.0019218821544200182,
-0.021094726398587227,
0.036800824105739594,
-0.00935653131455183,
-0.014004911296069622,
-0.05075975880026817,
0.011641640216112137,
-0.04145380109548569,
0.027550043538212776,
-0.05429087206721306,
0.08996983617544174,
-0.00020733223936986178,
0.07514651119709015,
0.013563522137701511,
0.019880905747413635,
0.018584324046969414,
0.030713332816958427,
0.06554629653692245,
-0.0362674780189991,
-0.04700795188546181,
-0.05410695821046829,
-0.004140322562307119,
-0.0009299059165641665,
-0.022786717861890793,
0.051201146095991135,
0.07952362298965454,
-0.062309443950653076,
0.05844728648662567,
-0.0003120759502053261,
0.05123792961239815,
-0.039357203990221024,
-0.008055352605879307,
0.01958664506673813,
-0.026060353964567184,
-0.03843764215707779,
-0.05984501913189888,
0.012386484071612358,
-0.02714543603360653,
-0.033508796244859695,
-0.03555022180080414,
0.010308276861906052,
-0.004115034826099873,
-0.0486263781785965,
-0.029830554500222206,
0.017627980560064316,
-0.0013460072223097086,
0.02753165178000927,
0.06874636560678482,
-0.0590725876390934,
0.017563611268997192,
0.05204714462161064,
0.012533614411950111,
-0.0037449116352945566,
-0.07411660254001617,
0.06988662481307983,
-0.011384163051843643,
-0.027384521439671516,
-0.034446749836206436,
-0.031191503629088402,
-0.027513260021805763,
0.06528881937265396,
0.02190393954515457,
-0.013637087307870388,
0.010501384735107422,
-0.03475939854979515,
-0.04597804322838783,
-0.004974824376404285,
-0.03560539707541466,
-0.040681373327970505,
0.052525315433740616,
-0.0348881371319294,
-0.0295362938195467,
0.03492492064833641,
0.002054068958386779,
-0.0035311137326061726,
0.026961524039506912,
-0.020598161965608597,
-0.015568165108561516,
0.028285691514611244,
0.03349040448665619,
0.043182577937841415,
-0.046419430524110794,
-0.008556514047086239,
0.0015552073018625379,
0.0018896975088864565,
-0.03154093772172928,
0.02069011889398098,
-0.051752883940935135,
0.021591288968920708,
0.01189911738038063,
-0.03041907213628292,
0.061647359281778336,
-0.0046024019829928875,
-0.04833211749792099,
-0.0012552005937322974,
-0.016202662140130997,
-0.009048478677868843,
-0.002264418639242649,
0.03494331240653992,
-0.02024872973561287,
-0.021609678864479065,
0.027550043538212776,
0.010639319196343422,
0.042851533740758896,
0.009158826433122158,
-0.024901706725358963,
0.013802608475089073,
-0.0038161776028573513,
0.012220963835716248,
-0.0076507460325956345,
0.033343277871608734,
0.015899207442998886,
0.0013391104293987155,
-0.015733685344457626,
0.029904117807745934,
-0.00592197198420763,
0.019218821078538895,
0.004586309660226107,
-0.08732149749994278,
0.0008074893848970532,
0.03639621660113335,
0.012855460867285728,
-0.020175164565443993,
-0.015972772613167763,
0.023393627256155014,
0.01346237026154995,
-0.08459959924221039,
-0.0467136912047863,
-0.0005798980710096657,
-0.009172619320452213,
-0.009554237127304077,
0.06904062628746033,
0.026391396299004555,
0.005710472818464041,
0.004452973138540983,
0.04800107702612877,
0.041564151644706726,
0.010335863567888737,
-0.026906350627541542,
0.0050116064958274364,
-0.07599250972270966,
0.029720205813646317,
0.06793715804815292,
0.10402072221040726,
0.023724669590592384,
-0.007246139459311962,
-0.009968039579689503,
0.04332970827817917,
0.005669092759490013,
-0.01417962834239006,
0.015365861356258392,
0.012708330526947975,
0.006639229133725166,
-0.038180164992809296,
0.04767003282904625,
0.01813373900949955,
-0.044028572738170624,
-0.01626703143119812,
-0.03639621660113335,
-0.020267121493816376,
0.03987215831875801,
-0.0069104996509850025,
0.011062316596508026,
0.07161539793014526,
-0.01321408897638321,
0.06194161996245384,
0.045352742075920105,
-0.039283640682697296,
-0.0065886531956493855,
0.0269247405230999,
0.035623785108327866,
0.0021586690563708544,
0.018096957355737686,
-0.02385340817272663,
0.028966166079044342,
0.003935720305889845,
-0.007705919910222292,
0.05075975880026817,
-0.006933488883078098,
0.029885727912187576,
0.020175164565443993,
-0.02118668146431446,
0.0053426483646035194,
-0.03547665849328041,
0.056975990533828735,
0.018234891816973686,
-0.02480975165963173,
0.011163468472659588,
-0.03148576244711876,
0.02786269411444664,
-0.018786627799272537,
-0.029297208413481712,
-0.08356969058513641,
0.032460495829582214,
-0.0032897288911044598,
0.07231426239013672,
-0.027439694851636887,
-0.02986733615398407,
-0.0370950847864151,
0.00781626719981432,
-0.014308366924524307,
-0.006593251135200262,
-0.0002771613944787532,
0.06061745062470436,
0.007664539385586977,
-0.016092315316200256,
0.01975216716527939,
0.02602357231080532,
0.020046425983309746,
-0.014933668076992035,
-0.034906528890132904,
0.0192372128367424,
0.009145032614469528,
0.008869164623320103,
0.003206968540325761,
0.014979646541178226,
0.025490226224064827,
-0.007512812037020922,
-0.030676549300551414,
-0.0035931840538978577,
-0.03363753482699394,
-0.05572538822889328,
-0.03527435287833214,
-0.006961075589060783,
-0.022933848202228546,
0.015577360987663269,
-0.007751897908747196,
0.05451156571507454,
-0.03770199418067932,
0.04362396523356438
] |
52,214 |
osmnx.features
|
features_from_polygon
|
Create GeoDataFrame of OSM features within boundaries of a (multi)polygon.
You can use the `settings` module to retrieve a snapshot of historical OSM
data as of a certain date, or to configure the Overpass server timeout,
memory allocation, and other custom settings.
For more details, see: https://wiki.openstreetmap.org/wiki/Map_features
Parameters
----------
polygon : shapely.geometry.Polygon or shapely.geometry.MultiPolygon
geographic boundaries to fetch features within
tags : dict
Dict of tags used for finding elements in the selected area. Results
returned are the union, not intersection of each individual tag.
Each result matches at least one given tag. The dict keys should be
OSM tags, (e.g., `building`, `landuse`, `highway`, etc) and the dict
values should be either `True` to retrieve all items with the given
tag, or a string to get a single tag-value combination, or a list of
strings to get multiple values for the given tag. For example,
`tags = {'building': True}` would return all building footprints in
the area. `tags = {'amenity':True, 'landuse':['retail','commercial'],
'highway':'bus_stop'}` would return all amenities, landuse=retail,
landuse=commercial, and highway=bus_stop.
Returns
-------
gdf : geopandas.GeoDataFrame
|
def features_from_polygon(polygon, tags):
"""
Create GeoDataFrame of OSM features within boundaries of a (multi)polygon.
You can use the `settings` module to retrieve a snapshot of historical OSM
data as of a certain date, or to configure the Overpass server timeout,
memory allocation, and other custom settings.
For more details, see: https://wiki.openstreetmap.org/wiki/Map_features
Parameters
----------
polygon : shapely.geometry.Polygon or shapely.geometry.MultiPolygon
geographic boundaries to fetch features within
tags : dict
Dict of tags used for finding elements in the selected area. Results
returned are the union, not intersection of each individual tag.
Each result matches at least one given tag. The dict keys should be
OSM tags, (e.g., `building`, `landuse`, `highway`, etc) and the dict
values should be either `True` to retrieve all items with the given
tag, or a string to get a single tag-value combination, or a list of
strings to get multiple values for the given tag. For example,
`tags = {'building': True}` would return all building footprints in
the area. `tags = {'amenity':True, 'landuse':['retail','commercial'],
'highway':'bus_stop'}` would return all amenities, landuse=retail,
landuse=commercial, and highway=bus_stop.
Returns
-------
gdf : geopandas.GeoDataFrame
"""
# verify that the geometry is valid and a Polygon/MultiPolygon
if not polygon.is_valid:
msg = "The geometry of `polygon` is invalid"
raise ValueError(msg)
if not isinstance(polygon, (Polygon, MultiPolygon)):
msg = (
"Boundaries must be a shapely Polygon or MultiPolygon. If you "
"requested features from place name, make sure your query resolves "
"to a Polygon or MultiPolygon, and not some other geometry, like a "
"Point. See OSMnx documentation for details."
)
raise TypeError(msg)
# download the data from OSM
response_jsons = _overpass._download_overpass_features(polygon, tags)
# create GeoDataFrame from the downloaded data
return _create_gdf(response_jsons, polygon, tags)
|
(polygon, tags)
|
[
0.004604017827659845,
-0.06011512130498886,
-0.020137634128332138,
-0.004436514340341091,
-0.023338811472058296,
-0.053936105221509933,
-0.048687662929296494,
-0.009519778192043304,
-0.006825764663517475,
-0.02157071977853775,
0.013967924751341343,
0.024008825421333313,
-0.09216411411762238,
0.025367464870214462,
-0.040982507169246674,
0.012544145807623863,
-0.0647679939866066,
-0.021719612181186676,
0.00958491861820221,
0.015959354117512703,
0.003934004344046116,
-0.03997748717665672,
0.02953643910586834,
-0.01313040778040886,
0.034542929381132126,
-0.012292890809476376,
0.0007543470710515976,
-0.008431006222963333,
0.03335179388523102,
-0.03592018038034439,
0.019504843279719353,
-0.06651747226715088,
-0.0384141206741333,
-0.035771287977695465,
-0.02004457823932171,
-0.025739694014191628,
0.016647979617118835,
0.059445105493068695,
0.0020402849186211824,
0.0006944413180463016,
-0.058440085500478745,
-0.08896293491125107,
-0.04660317674279213,
-0.0029545745346695185,
0.015559207648038864,
-0.04369978606700897,
-0.03720437362790108,
-0.02743333950638771,
0.012693038210272789,
-0.0031337100081145763,
0.004650546703487635,
0.004052652511745691,
0.028419749811291695,
0.011111061088740826,
-0.021459050476551056,
-0.015503372997045517,
-0.045486487448215485,
0.07727491855621338,
0.04690096154808998,
0.035771287977695465,
-0.04109417647123337,
-0.005592753645032644,
0.004476063884794712,
-0.011604265309870243,
0.009040532633662224,
0.0024311263114213943,
-0.01597796566784382,
-0.020267914980649948,
0.025367464870214462,
0.009938537143170834,
0.022687409073114395,
0.06919752806425095,
0.0158383809030056,
0.013065267354249954,
-0.046454284340143204,
0.0762326717376709,
-0.019058167934417725,
0.040535829961299896,
0.017922867089509964,
-0.019839851185679436,
-0.05777007341384888,
-0.018778996542096138,
-0.0132979117333889,
0.026874994859099388,
0.03286789730191231,
0.028066130355000496,
0.030876465141773224,
0.003298887051641941,
0.006239502690732479,
-0.0017087676096707582,
-0.002181034302338958,
0.07344094663858414,
-0.03761382773518562,
0.0016843400662764907,
-0.020975152030587196,
-0.0641724243760109,
-0.010710913687944412,
0.0351012758910656,
-0.04630539193749428,
-0.028810590505599976,
0.004783153533935547,
-0.005388027057051659,
-0.04861321672797203,
0.0951419472694397,
0.027749735862016678,
-0.013400274328887463,
0.03469182178378105,
-0.046975407749414444,
0.01452627032995224,
-0.030746186152100563,
-0.06592191010713577,
-0.053005531430244446,
0.05542502552270889,
-0.0195606779307127,
-0.03525016829371452,
0.001999572152271867,
0.03733465448021889,
0.009361580945551395,
-0.014563492499291897,
-0.07667934894561768,
0.02613053470849991,
0.04433257505297661,
0.010413129813969135,
-0.006034776568412781,
0.016005882993340492,
0.03316567838191986,
0.032700393348932266,
-0.0005728849791921675,
-0.027005275711417198,
0.01627575047314167,
0.048501551151275635,
0.046044833958148956,
0.019262894988059998,
0.03908413276076317,
0.025088291615247726,
-0.024008825421333313,
-0.010924946516752243,
-0.02296658232808113,
0.04358811676502228,
-0.0018541699973866343,
0.0026893606409430504,
-0.07180313766002655,
-0.001014907960779965,
0.0026056088972836733,
-0.040275268256664276,
0.03731604292988777,
-0.03707409277558327,
-0.03184426203370094,
0.028680309653282166,
-0.04310421645641327,
0.010422435589134693,
-0.0001182847554446198,
-0.05583447590470314,
-0.05304275453090668,
-0.0020367952529340982,
-0.08159278333187103,
0.02315269596874714,
0.017448274418711662,
0.0680808424949646,
0.02222212217748165,
-0.009696587920188904,
0.0796571895480156,
-0.07734936475753784,
0.01284192968159914,
-0.058961208909749985,
-0.01916983723640442,
0.019616512581706047,
-0.08092276751995087,
0.013614307157695293,
-0.023338811472058296,
0.04790598154067993,
0.08263503015041351,
0.02367381937801838,
0.017355216667056084,
-0.02694944106042385,
0.059258993715047836,
0.010227015241980553,
0.0349896065890789,
-0.008310031145811081,
-0.030746186152100563,
0.030094783753156662,
-0.015149754472076893,
-0.06979309767484665,
0.04611928015947342,
0.006560551002621651,
0.04414645954966545,
0.020286526530981064,
-0.05750951170921326,
0.031099803745746613,
-0.0052158706821501255,
-0.022761855274438858,
-0.03934469446539879,
0.01946762204170227,
0.010366600938141346,
-0.018434682860970497,
-0.014870582148432732,
-0.018481211736798286,
0.006081304978579283,
-0.06517744809389114,
0.05430833622813225,
-0.0531916469335556,
0.030467012897133827,
-0.0022415216080844402,
0.013763198629021645,
-0.042992547154426575,
0.0044481465592980385,
-0.01920706033706665,
-0.065475232899189,
-0.023003805428743362,
-0.026093311607837677,
0.04734763875603676,
-0.04597038775682449,
0.015996577218174934,
0.036385469138622284,
0.039493586868047714,
-0.02078903652727604,
0.005904496181756258,
0.038004666566848755,
0.007435291074216366,
-0.011734546162188053,
0.010459658689796925,
-0.044518690556287766,
-0.027991684153676033,
-0.05516446381807327,
0.028978094458580017,
-0.00999437179416418,
0.015466149896383286,
-0.008207668550312519,
-0.008956780657172203,
-0.060971248894929886,
0.0022217468358576298,
-0.07478097826242447,
0.004034040961414576,
-0.07440874725580215,
-0.05039992183446884,
0.0014935722574591637,
0.034766267985105515,
-0.05334053933620453,
0.0411313995718956,
-0.055983368307352066,
0.04567260295152664,
-0.05229829251766205,
0.007584183011204004,
0.006579162552952766,
-0.023301588371396065,
-0.014498353004455566,
-0.06644302606582642,
-0.016219915822148323,
0.05762118101119995,
-0.0008392619783990085,
-0.035734064877033234,
0.039493586868047714,
-0.017950784415006638,
0.0391213558614254,
0.025795528665184975,
-0.13176937401294708,
0.020547088235616684,
-0.018323013558983803,
-0.008337948471307755,
-0.00042777351336553693,
-0.0015401010168716311,
-0.09201522171497345,
0.008635732345283031,
0.02445550076663494,
0.06327907741069794,
0.0026940135285258293,
0.030522847548127174,
-0.009073102846741676,
0.0498787984251976,
-0.018360236659646034,
-0.058477308601140976,
0.03197454288601875,
-0.0024660227354615927,
-0.06629413366317749,
0.02655860036611557,
-0.004492348991334438,
0.030392566695809364,
-0.04530037194490433,
0.01728077046573162,
0.02633526176214218,
0.020249303430318832,
-0.027005275711417198,
-0.036999646574258804,
0.02389715611934662,
-0.03089507669210434,
-0.0094546377658844,
-0.005964983254671097,
0.0069374339655041695,
0.04403479024767876,
-0.04738485813140869,
0.02940615825355053,
0.04570982605218887,
0.056243930011987686,
0.00294759520329535,
-0.004755236208438873,
0.0478687584400177,
0.05315442383289337,
-0.024381054565310478,
0.061194587498903275,
-0.06540078669786453,
0.043253108859062195,
0.028847813606262207,
0.06793195009231567,
0.00229153991676867,
0.009333663620054722,
-0.027005275711417198,
-0.03420792147517204,
-0.020249303430318832,
-0.03495238348841667,
-0.018369542434811592,
-0.02778695896267891,
-0.01596865989267826,
-0.029201431199908257,
-0.03342624008655548,
-0.023227142170071602,
-0.03076479770243168,
-0.009073102846741676,
-0.020528476685285568,
-0.0037618479691445827,
0.006020817905664444,
-0.021291546523571014,
-0.005746298469603062,
0.03219788148999214,
-0.006523327901959419,
0.07239870727062225,
0.04332755506038666,
0.009687282145023346,
-0.027377504855394363,
0.05736061930656433,
0.00986409094184637,
-0.04369978606700897,
0.007607447449117899,
0.034152090549468994,
0.0794338509440422,
-0.020323749631643295,
0.05267052352428436,
0.0195606779307127,
0.01566157117486,
-0.01382833905518055,
0.013390968553721905,
-0.02376687526702881,
0.03815355896949768,
-0.03372402489185333,
0.004310886841267347,
-0.005937065929174423,
-0.010589939542114735,
-0.00015528964286204427,
-0.0397169254720211,
0.036646027117967606,
0.006895557977259159,
-0.007239870727062225,
0.013176936656236649,
0.035287391394376755,
0.06499133259057999,
0.02840113826096058,
-0.00415734201669693,
0.0034780227579176426,
0.04589594155550003,
0.0327376164495945,
0.018667327240109444,
0.019002333283424377,
-0.021589331328868866,
0.028159188106656075,
0.0016459538601338863,
0.01816481724381447,
-0.007374804001301527,
0.008668302558362484,
0.054680563509464264,
-0.07958274334669113,
-0.03833967447280884,
-0.027935849502682686,
-0.009175465442240238,
-0.009929231368005276,
0.052744969725608826,
0.025497743859887123,
-0.01969095878303051,
-0.01434946060180664,
-0.035678230226039886,
-0.0640607550740242,
0.027321670204401016,
-0.07586044073104858,
-0.0015133470296859741,
0.0802527591586113,
0.012916375882923603,
0.0652518942952156,
-0.016303667798638344,
-0.05680227652192116,
-0.01463793870061636,
0.01688992977142334,
-0.06424687057733536,
-0.06711304187774658,
0.026707490906119347,
-0.021365992724895477,
0.05825396999716759,
-0.01798800751566887,
0.0003300631942693144,
0.03668325021862984,
-0.027116945013403893,
0.09156854450702667,
0.01358638983219862,
-0.0058719259686768055,
-0.04135473817586899,
-0.012423171661794186,
-0.0027149515226483345,
-0.02082625962793827,
-0.0017832135781645775,
-0.0011434435145929456,
-0.05281941592693329,
0.04809209704399109,
-0.05017658323049545,
-0.00014024050324223936,
0.03647852689027786,
-0.008719484321773052,
0.04258309304714203,
-0.024474112316966057,
0.021124044433236122,
0.04704985395073891,
0.0706864520907402,
-0.0071654245257377625,
0.05017658323049545,
0.08471951633691788,
-0.010682996362447739,
-0.026353873312473297,
0.04139195755124092,
-0.027973072603344917,
-0.0511816032230854,
0.004466758109629154,
-0.009696587920188904,
0.00938484538346529,
0.0639490857720375,
-0.03930747136473656,
-0.05724895000457764,
-0.04340200126171112,
0.005541571881622076,
-0.005262399557977915,
0.024567170068621635,
-0.019672347232699394,
-0.011976495385169983,
0.021272936835885048,
0.035901568830013275,
0.07217536866664886,
0.043997567147016525,
0.03288650885224342,
0.017010904848575592,
0.029685329645872116,
-0.06510300189256668,
-0.017206324264407158,
-0.03698103502392769,
0.06800639629364014,
-0.017010904848575592,
0.07247315347194672,
0.000999204465188086,
0.03357513248920441,
0.029778387397527695,
-0.021775446832180023,
0.003920045681297779,
0.025851363316178322,
0.00499718589708209,
-0.036255188286304474,
0.02791723795235157,
0.025925809517502785,
0.010859806090593338,
-0.00826815515756607,
0.022780466824769974,
0.022426849231123924,
0.0011283217463642359,
0.014628632925450802,
-0.004403944592922926,
-0.040051933377981186,
-0.009394151158630848,
0.08635732531547546,
-0.02209184132516384,
-0.03448709473013878,
-0.05613226071000099,
0.10146985948085785,
0.032179269939661026,
-0.07757270336151123,
0.05304275453090668,
0.027712512761354446,
-0.04969268664717674,
-0.030560070648789406,
-0.02791723795235157,
0.0075190430507063866,
-0.008589203469455242,
-0.0025544273667037487,
0.01846260018646717,
-0.009347622282803059,
0.032700393348932266,
-0.02480912022292614,
-0.03197454288601875,
-0.03115563839673996,
0.008333295583724976,
0.02004457823932171,
-0.012311502359807491,
0.0374649353325367,
0.06532634049654007,
0.052223846316337585,
0.0093383165076375,
0.014377377927303314,
-0.04779431223869324,
-0.02639109641313553,
0.01198580116033554,
-0.02646554261445999,
-0.027935849502682686,
-0.0111389784142375,
0.00999437179416418,
-0.003094160696491599,
0.014730996452271938,
0.01622922159731388,
-0.019281506538391113,
-0.07519043236970901,
-0.03722298517823219,
0.06301851570606232,
0.019504843279719353,
0.005001838784664869,
0.08002942055463791,
0.027414727956056595,
0.031006745994091034,
-0.0652518942952156,
0.0025544273667037487,
-0.004620302934199572,
0.03863745927810669,
0.0018099676817655563,
0.008584550581872463,
-0.02266879752278328,
-0.01528934109956026,
0.07660490274429321,
-0.00787266157567501,
0.0316767618060112,
-0.012553451582789421,
-0.022073229774832726,
0.0235807616263628,
-0.0022450112737715244,
0.044779252260923386,
0.05929621681571007,
-0.03737187758088112,
0.022743243724107742,
-0.04258309304714203,
-0.003547815838828683,
-0.0041038342751562595,
0.038488566875457764,
0.033277347683906555,
-0.035771287977695465,
-0.02620498090982437,
-0.013158325105905533,
-0.03737187758088112,
0.027675289660692215,
-0.01985846273601055,
0.06316740810871124,
0.010385212488472462,
0.06420964747667313,
0.021868504583835602,
0.006807153578847647,
0.014554186724126339,
0.018257874995470047,
0.06141792610287666,
-0.05884953960776329,
-0.02253851667046547,
-0.04083361476659775,
0.012209138832986355,
-0.012776789255440235,
-0.004161994904279709,
0.023692429065704346,
0.07578599452972412,
-0.03582712262868881,
0.06327907741069794,
0.0484643280506134,
0.07433430105447769,
-0.023022416979074478,
0.0016948090633377433,
0.05240996181964874,
-0.07128201425075531,
-0.02879197895526886,
-0.06532634049654007,
0.015112532302737236,
-0.011380927637219429,
-0.04407201334834099,
-0.05095826834440231,
-0.007709810975939035,
0.007760992273688316,
-0.05114438012242317,
-0.01004090066999197,
-0.004555162973701954,
-0.041243068873882294,
0.04597038775682449,
0.07794492691755295,
-0.05054881423711777,
0.008886987343430519,
0.054271113127470016,
-0.005653240717947483,
-0.0014005148550495505,
-0.033054009079933167,
0.05278219282627106,
-0.0008759033516980708,
-0.02866169810295105,
0.033668190240859985,
-0.015186977572739124,
-0.059258993715047836,
0.011883437633514404,
0.0071654245257377625,
-0.011213424615561962,
0.02533024176955223,
-0.008663649670779705,
-0.022073229774832726,
0.004983227234333754,
-0.019579289481043816,
-0.05106993392109871,
0.010441047139465809,
-0.01170662883669138,
-0.02616775780916214,
0.023617984727025032,
-0.004969268571585417,
-0.0008061102707870305,
0.0327376164495945,
-0.01574532315135002,
0.008900946006178856,
-0.047273192554712296,
0.02668887935578823,
0.04038693755865097,
-0.013530555181205273,
-0.026186369359493256,
-0.030169229954481125,
-0.004471410997211933,
-0.031081192195415497,
0.01972818188369274,
-0.03487793728709221,
0.03288650885224342,
-0.033407628536224365,
-0.03645991533994675,
0.06722471117973328,
0.0018099676817655563,
-0.02646554261445999,
0.05304275453090668,
-0.03482210263609886,
0.013418885879218578,
-0.03964247927069664,
0.024660227820277214,
-0.013521249406039715,
-0.026874994859099388,
0.0022740918211638927,
-0.09677976369857788,
0.03945636376738548,
0.03614351898431778,
-0.03705548122525215,
0.0012271952582523227,
0.0049180868081748486,
0.014740302227437496,
-0.011567042209208012,
0.03785577416419983,
0.00881254207342863,
-0.001065507996827364,
0.02047264203429222,
0.026093311607837677,
0.01533586997538805,
-0.0006717585492879152,
0.0606362409889698,
-0.05028825253248215,
-0.027582231909036636,
0.019318729639053345,
-0.0017750711413100362,
-0.012023024260997772,
-0.03964247927069664,
0.020416807383298874,
-0.005150730721652508,
-0.04336477816104889,
-0.026111923158168793,
-0.0034524318762123585,
-0.00958491861820221,
0.048687662929296494,
0.07720047235488892,
0.041503626853227615,
0.026056090369820595,
0.02266879752278328,
0.04165251925587654,
0.02240823768079281,
0.00877066608518362,
-0.02371104061603546,
-0.022277956828475,
-0.06305573880672455,
0.03722298517823219,
0.03964247927069664,
0.10154430568218231,
-0.026056090369820595,
-0.002069365233182907,
0.019393175840377808,
0.006551245227456093,
-0.0033640272449702024,
-0.009021921083331108,
0.04343922436237335,
0.030038949102163315,
0.021905725821852684,
-0.051739949733018875,
0.046044833958148956,
0.03176981955766678,
-0.022631574422121048,
-0.06863918155431747,
0.012553451582789421,
-0.016620062291622162,
0.01023632101714611,
0.01580115780234337,
0.005504348780959845,
0.025665247812867165,
0.002310151467099786,
0.08538952469825745,
0.03964247927069664,
-0.010990086011588573,
-0.0076353647746145725,
-0.016871318221092224,
0.02975977584719658,
-0.03698103502392769,
-0.021068209782242775,
-0.02214767597615719,
0.05386165902018547,
0.013530555181205273,
0.01894649863243103,
0.02170100063085556,
-0.010189792141318321,
0.01873246766626835,
-0.002105425111949444,
-0.05605781450867653,
0.03396597504615784,
0.019151225686073303,
0.02047264203429222,
0.024269387125968933,
-0.017262158915400505,
-0.0066908313892781734,
-0.002393903210759163,
-0.008226280100643635,
-0.03418930992484093,
0.0030266940593719482,
-0.0538988821208477,
0.018834831193089485,
-0.004678464028984308,
0.04593316465616226,
0.006416311953216791,
-0.03727881982922554,
-0.04332755506038666,
0.014656550250947475,
-0.04321588575839996,
0.01995152048766613,
-0.007295704912394285,
-0.007500431500375271,
-0.006151098292320967,
0.012460393831133842,
-0.0484643280506134,
0.012451088055968285,
0.046714846044778824,
-0.0017820503562688828,
-0.031527869403362274,
0.013642223551869392,
0.003668790450319648,
0.00827280804514885,
0.018183428794145584,
-0.0017157469410449266,
0.017653001472353935,
0.03245844319462776,
-0.0032965606078505516,
-0.01509392075240612,
-0.08129499852657318,
-0.0367576964199543,
-0.04336477816104889,
0.06983032077550888,
0.009985066018998623,
-0.007672587875276804,
0.015773240476846695,
0.021012375131249428,
-0.05080937594175339,
-0.014386683702468872
] |
52,215 |
osmnx.features
|
features_from_xml
|
Create a GeoDataFrame of OSM features in an OSM-formatted XML file.
Because this function creates a GeoDataFrame of features from an
OSM-formatted XML file that has already been downloaded (i.e. no query is
made to the Overpass API) the polygon and tags arguments are not required.
If they are not supplied to the function, features_from_xml() will
return features for all of the tagged elements in the file. If they are
supplied they will be used to filter the final GeoDataFrame.
For more details, see: https://wiki.openstreetmap.org/wiki/Map_features
Parameters
----------
filepath : string or pathlib.Path
path to file containing OSM XML data
polygon : shapely.geometry.Polygon
optional geographic boundary to filter elements
tags : dict
optional dict of tags for filtering elements from the XML. Results
returned are the union, not intersection of each individual tag.
Each result matches at least one given tag. The dict keys should be
OSM tags, (e.g., `building`, `landuse`, `highway`, etc) and the dict
values should be either `True` to retrieve all items with the given
tag, or a string to get a single tag-value combination, or a list of
strings to get multiple values for the given tag. For example,
`tags = {'building': True}` would return all building footprints in
the area. `tags = {'amenity':True, 'landuse':['retail','commercial'],
'highway':'bus_stop'}` would return all amenities, landuse=retail,
landuse=commercial, and highway=bus_stop.
encoding : string
the XML file's character encoding
Returns
-------
gdf : geopandas.GeoDataFrame
|
def features_from_xml(filepath, polygon=None, tags=None, encoding="utf-8"):
"""
Create a GeoDataFrame of OSM features in an OSM-formatted XML file.
Because this function creates a GeoDataFrame of features from an
OSM-formatted XML file that has already been downloaded (i.e. no query is
made to the Overpass API) the polygon and tags arguments are not required.
If they are not supplied to the function, features_from_xml() will
return features for all of the tagged elements in the file. If they are
supplied they will be used to filter the final GeoDataFrame.
For more details, see: https://wiki.openstreetmap.org/wiki/Map_features
Parameters
----------
filepath : string or pathlib.Path
path to file containing OSM XML data
polygon : shapely.geometry.Polygon
optional geographic boundary to filter elements
tags : dict
optional dict of tags for filtering elements from the XML. Results
returned are the union, not intersection of each individual tag.
Each result matches at least one given tag. The dict keys should be
OSM tags, (e.g., `building`, `landuse`, `highway`, etc) and the dict
values should be either `True` to retrieve all items with the given
tag, or a string to get a single tag-value combination, or a list of
strings to get multiple values for the given tag. For example,
`tags = {'building': True}` would return all building footprints in
the area. `tags = {'amenity':True, 'landuse':['retail','commercial'],
'highway':'bus_stop'}` would return all amenities, landuse=retail,
landuse=commercial, and highway=bus_stop.
encoding : string
the XML file's character encoding
Returns
-------
gdf : geopandas.GeoDataFrame
"""
# transmogrify file of OSM XML data into JSON
response_jsons = [osm_xml._overpass_json_from_file(filepath, encoding)]
# create GeoDataFrame using this response JSON
return _create_gdf(response_jsons, polygon=polygon, tags=tags)
|
(filepath, polygon=None, tags=None, encoding='utf-8')
|
[
0.014963779598474503,
-0.06140635535120964,
0.019201310351490974,
-0.010830295272171497,
0.008598024956882,
-0.031005859375,
-0.04729386791586876,
0.04351035878062248,
0.01630692556500435,
-0.02368476800620556,
0.010764083825051785,
0.0008725718362256885,
-0.062465738505125046,
0.0303815808147192,
-0.010537073947489262,
0.017423059791326523,
-0.06795182824134827,
-0.0504341796040535,
-0.00465135183185339,
0.009028399363160133,
0.02149033360183239,
-0.04767221957445145,
0.015606976114213467,
0.014831356704235077,
0.05796336382627487,
0.01931481622159481,
-0.005225972272455692,
-0.01830272749066353,
0.02453605830669403,
-0.040937572717666626,
0.003584875026717782,
-0.08414524793624878,
-0.034278593957424164,
-0.04320767521858215,
-0.05921192094683647,
-0.033048953860998154,
-0.0027477736584842205,
0.03957550972700119,
0.025292759761214256,
0.0036179807502776384,
-0.035148803144693375,
-0.07445946335792542,
-0.029587043449282646,
-0.029360033571720123,
-0.03957550972700119,
-0.017735200002789497,
-0.05554191768169403,
-0.0010972176678478718,
0.0028399967122823,
0.005211784038692713,
0.030003229156136513,
0.008366284891963005,
0.007912264205515385,
0.028130391612648964,
-0.024044202640652657,
-0.011918054893612862,
-0.057282332330942154,
0.08301019668579102,
0.05860656127333641,
0.021433580666780472,
0.01399898435920477,
0.012513956986367702,
0.018898628652095795,
-0.005183408036828041,
0.006204955279827118,
0.023268582299351692,
-0.01913509890437126,
-0.04823974519968033,
0.016297467052936554,
0.0032632767688483,
0.008096709847450256,
0.04392654448747635,
0.03068426065146923,
0.007533913012593985,
-0.027619618922472,
0.05894707515835762,
-0.010934341698884964,
0.03412725403904915,
-0.004611152224242687,
0.006777211092412472,
-0.0497153140604496,
-0.004741210024803877,
-0.014859733171761036,
0.031819313764572144,
0.0331435427069664,
0.04479674994945526,
0.03556498885154724,
-0.005717828404158354,
-0.00842776708304882,
0.0479370653629303,
0.006942739710211754,
0.07691874355077744,
-0.04301850125193596,
-0.016183961182832718,
0.015493471175432205,
-0.03862963244318962,
-0.014112490229308605,
0.022663220763206482,
-0.009818206541240215,
-0.017148755490779877,
-0.010868130251765251,
-0.007264337968081236,
-0.07294606417417526,
0.06991925090551376,
-0.01165320910513401,
-0.017886539921164513,
0.023533428087830544,
-0.006025238893926144,
0.036359526216983795,
-0.030495084822177887,
-0.07029760628938675,
-0.06053614988923073,
0.087323397397995,
0.033030036836862564,
-0.002001713030040264,
-0.029965395107865334,
0.04082406684756279,
0.03809994086623192,
-0.012485580518841743,
-0.05924975499510765,
0.03168689087033272,
0.020487703382968903,
-0.024309048429131508,
0.01860540732741356,
0.015200248919427395,
0.022474044933915138,
0.07048677653074265,
-0.018539195880293846,
0.006621141452342272,
0.03840262070298195,
0.0026508213486522436,
0.013819267973303795,
0.04907211661338806,
0.015729939565062523,
0.037778340280056,
-0.08149679005146027,
0.004407788626849651,
0.01244774553924799,
0.037910763174295425,
0.017252802848815918,
-0.0005613190587610006,
-0.0655682161450386,
0.007983204908668995,
-0.01851082034409046,
-0.05032067373394966,
0.014216536656022072,
-0.02890601195394993,
-0.03957550972700119,
-0.027260184288024902,
-0.038818806409835815,
0.021282240748405457,
-0.017423059791326523,
-0.08497761934995651,
-0.08921515196561813,
0.020336363464593887,
-0.05864439532160759,
0.004355764947831631,
0.04146726429462433,
0.044040050357580185,
-0.023457758128643036,
-0.03987818956375122,
0.09420938044786453,
-0.03832694888114929,
0.021944355219602585,
-0.05368799716234207,
-0.026541318744421005,
-0.021584920585155487,
-0.054785214364528656,
0.03163013979792595,
-0.06038480997085571,
0.05800119787454605,
0.07589719444513321,
0.013715221546590328,
-0.0003082969051320106,
-0.000039128284697653726,
0.011246481910347939,
0.03984035179018974,
0.027184514328837395,
0.015606976114213467,
0.04021870344877243,
0.02082821913063526,
-0.0028139851056039333,
-0.04578046500682831,
0.03310570865869522,
0.021622756496071815,
0.017754117026925087,
0.03405158594250679,
-0.04854242503643036,
-0.012003183364868164,
-0.0027004797011613846,
0.006365754641592503,
-0.053915008902549744,
0.014017902314662933,
0.002941678510978818,
-0.028168227523565292,
-0.011624832637608051,
-0.001678932225331664,
-0.012390993535518646,
-0.06208739057183266,
0.07097863405942917,
0.017196049913764,
0.02703317441046238,
0.030230239033699036,
0.021566003561019897,
-0.055352743715047836,
0.01903105154633522,
-0.03200848773121834,
-0.06848151981830597,
-0.04903428256511688,
-0.00930270366370678,
0.07396760582923889,
-0.05474738031625748,
0.01908780448138714,
0.012504498474299908,
0.03781617432832718,
0.012022101320326328,
-0.03692705184221268,
0.06291975826025009,
-0.045629121363162994,
-0.04135375842452049,
0.027695288881659508,
-0.017687905579805374,
-0.04820191115140915,
-0.04551561921834946,
0.06174687296152115,
0.006606953218579292,
0.0479370653629303,
-0.005448253359645605,
-0.01747981272637844,
-0.008068333379924297,
0.02116873487830162,
-0.05433119460940361,
0.05349882319569588,
-0.07937802374362946,
0.013942232355475426,
0.01286393217742443,
0.050812531262636185,
-0.015200248919427395,
0.057585012167692184,
-0.07294606417417526,
0.06462234258651733,
-0.05932542681694031,
0.015266460366547108,
-0.03827019780874252,
-0.0008063604473136365,
-0.017952751368284225,
-0.03630277141928673,
-0.046196650713682175,
-0.004871268291026354,
-0.023419922217726707,
0.016902828589081764,
0.030286991968750954,
-0.013015272095799446,
0.056298620998859406,
0.025425182655453682,
-0.1013980507850647,
-0.007027868647128344,
0.01735684834420681,
-0.0023918873630464077,
-0.03246251121163368,
0.013015272095799446,
-0.05058551952242851,
0.0497153140604496,
-0.002506574848666787,
0.04351035878062248,
-0.015143495984375477,
0.0060157799161970615,
-0.031100446358323097,
0.06602223962545395,
-0.03382457420229912,
-0.020393116399645805,
0.05932542681694031,
0.02118765190243721,
-0.025671111419796944,
0.02268213778734207,
-0.026049461215734482,
0.006176578812301159,
-0.06235223263502121,
0.0303815808147192,
0.0539906769990921,
-0.03371106833219528,
-0.04362386465072632,
-0.05709315463900566,
0.05035851150751114,
-0.032027408480644226,
-0.03893231227993965,
-0.02888709492981434,
0.05459604039788246,
0.01600424386560917,
-0.03630277141928673,
0.03961334377527237,
0.038553960621356964,
-0.009941170923411846,
-0.03588658571243286,
-0.0066778939217329025,
0.022322705015540123,
0.03151663392782211,
-0.024100955575704575,
0.06462234258651733,
-0.03530014306306839,
0.044948089867830276,
0.03185714781284332,
0.07453513145446777,
-0.025008996948599815,
0.02918977476656437,
0.023533428087830544,
-0.04059705510735512,
-0.014367876574397087,
-0.00006380976992659271,
0.017612235620617867,
-0.016193419694900513,
-0.030570754781365395,
-0.035432565957307816,
-0.06178470700979233,
-0.021282240748405457,
0.006342107430100441,
-0.01776357740163803,
-0.008602754212915897,
0.042148295789957047,
0.002456916496157646,
-0.0037716859951615334,
0.01646772399544716,
0.006767752580344677,
0.016136666759848595,
0.03861071169376373,
0.03923499211668968,
0.044418398290872574,
-0.041240252554416656,
0.057887692004442215,
-0.03556498885154724,
-0.002821079222485423,
0.019787754863500595,
0.03900798037648201,
0.051720574498176575,
-0.04570479318499565,
0.04173211008310318,
0.0010150446323677897,
-0.01641097106039524,
0.012390993535518646,
0.03416508808732033,
0.0010209563188254833,
0.010404651053249836,
-0.029643796384334564,
-0.025084666907787323,
0.03098694235086441,
-0.0021908883936703205,
-0.0031828773207962513,
-0.08815576881170273,
-0.004724657163023949,
-0.028035804629325867,
0.018652701750397682,
0.009122987277805805,
0.010158722288906574,
0.044077884405851364,
0.016969040036201477,
0.006361024919897318,
-0.01230586413294077,
0.09118257462978363,
0.05739583820104599,
0.02453605830669403,
0.01596640981733799,
-0.037627000361680984,
0.0021400474943220615,
-0.0057225581258535385,
0.025614358484745026,
-0.031440962105989456,
0.048618096858263016,
0.0612928532063961,
-0.09345268458127975,
-0.030305910855531693,
0.017697365954518318,
0.0008406484848819673,
-0.046499330550432205,
0.03399483114480972,
0.02890601195394993,
-0.027430443093180656,
-0.03255709633231163,
-0.01089650671929121,
-0.051077377051115036,
0.013771974481642246,
-0.04581829905509949,
0.03809994086623192,
0.06291975826025009,
0.0025396805722266436,
0.025879204273223877,
-0.018472984433174133,
-0.036416277289390564,
-0.013696303591132164,
0.00037362155853770673,
-0.041580766439437866,
-0.04759654775261879,
0.049601808190345764,
-0.04627231881022453,
0.05955243855714798,
-0.00006229489372344688,
0.011322151869535446,
0.06715729087591171,
-0.036624372005462646,
0.0685950219631195,
0.023155076429247856,
-0.02671157568693161,
-0.06276842206716537,
-0.026238637045025826,
-0.005973215214908123,
-0.024327965453267097,
0.05062335357069969,
-0.05285562574863434,
-0.0803617388010025,
0.0023280405439436436,
-0.022209199145436287,
0.031819313764572144,
0.02336317114531994,
-0.007429866585880518,
-0.007079891860485077,
-0.01919185183942318,
0.05610944330692291,
0.016978498548269272,
0.06371429562568665,
0.0144340880215168,
0.01808517426252365,
0.010338439606130123,
-0.0059874034486711025,
-0.02082821913063526,
0.03817560896277428,
-0.046196650713682175,
-0.021925436332821846,
0.006914363242685795,
-0.011426198296248913,
-0.004816880449652672,
0.08633968234062195,
-0.03719189763069153,
-0.046196650713682175,
-0.021603837609291077,
-0.02364693395793438,
0.028149310499429703,
-0.0023079407401382923,
-0.020336363464593887,
-0.056033775210380554,
0.03285977989435196,
0.04256448149681091,
0.06375212967395782,
-0.0025822450406849384,
0.056639134883880615,
0.008583837188780308,
-0.009988464415073395,
-0.04922345653176308,
-0.03233008831739426,
-0.030230239033699036,
0.06757348030805588,
-0.022209199145436287,
0.01899321749806404,
-0.013790891505777836,
0.07729709893465042,
0.016789322718977928,
-0.03509204834699631,
-0.005339477676898241,
0.016240714117884636,
0.020166104659438133,
-0.019305355846881866,
0.027506113052368164,
0.006649517919868231,
-0.023401005193591118,
-0.004126389976590872,
-0.024044202640652657,
0.010991094633936882,
0.036435194313526154,
-0.0035635929089039564,
0.011624832637608051,
-0.036075763404369354,
-0.02116873487830162,
0.07710792124271393,
-0.03588658571243286,
-0.03743782639503479,
-0.07960503548383713,
0.058757901191711426,
0.0336732342839241,
-0.08989617973566055,
0.03987818956375122,
0.04108891263604164,
-0.022776726633310318,
-0.038780972361564636,
-0.02364693395793438,
-0.0011273676063865423,
0.03632168844342232,
0.02429012954235077,
0.027733122929930687,
0.0055097355507314205,
-0.01874728873372078,
-0.04706685617566109,
-0.030930189415812492,
-0.06015779823064804,
-0.013554422184824944,
0.022776726633310318,
-0.024498222395777702,
0.05868222936987877,
0.06204955279827118,
0.06655193120241165,
0.02243621088564396,
-0.005992133170366287,
-0.011568079702556133,
-0.031081529334187508,
-0.002400163793936372,
-0.03034374490380287,
0.004965856205672026,
-0.01705416850745678,
0.03229225426912308,
0.013015272095799446,
-0.0037716859951615334,
-0.004086189903318882,
-0.0261062141507864,
-0.04358602687716484,
-0.05626078322529793,
0.05550408363342285,
-0.012504498474299908,
-0.0034453582484275103,
0.03624602034687996,
0.019712083041667938,
0.042261797934770584,
-0.07014626264572144,
-0.005968485958874226,
0.002719397423788905,
0.005944839213043451,
0.016902828589081764,
0.032386839389801025,
-0.02544409967958927,
-0.009723618626594543,
0.03968901187181473,
0.002851820085197687,
0.008058874867856503,
-0.00629954319447279,
0.01457596942782402,
0.0019721542485058308,
-0.027203433215618134,
0.015162413939833641,
0.056374289095401764,
-0.04998015984892845,
0.03931066393852234,
-0.047104690223932266,
-0.016136666759848595,
0.018983758985996246,
0.015474553219974041,
0.006294813938438892,
-0.03295436501502991,
-0.009321621619164944,
-0.0018385490402579308,
-0.06447099894285202,
0.00476249260827899,
-0.009633760899305344,
0.07389193773269653,
-0.0018491902155801654,
0.05122871696949005,
0.0010203651618212461,
0.021414663642644882,
0.04695335030555725,
0.04298066720366478,
0.05088819935917854,
-0.038251280784606934,
-0.044645410031080246,
-0.03984035179018974,
-0.028433073312044144,
-0.0009476508712396026,
0.0024096225388348103,
-0.016013704240322113,
0.04914778843522072,
-0.006625870708376169,
0.05308263748884201,
0.04502376168966293,
0.04475891590118408,
-0.017271719872951508,
-0.019201310351490974,
0.032386839389801025,
-0.027146680280566216,
-0.04578046500682831,
-0.060346975922584534,
-0.0007070433348417282,
-0.022303787991404533,
-0.0042588128708302975,
-0.03874313458800316,
-0.011161352507770061,
0.01012088730931282,
-0.05830387771129608,
-0.014538134448230267,
-0.02024177461862564,
0.012362617067992687,
0.05614727735519409,
0.07078946381807327,
-0.028754672035574913,
0.029643796384334564,
0.030589673668146133,
-0.008318991400301456,
0.018652701750397682,
-0.04975314810872078,
0.046839844435453415,
-0.009960087947547436,
-0.06481151282787323,
-0.012513956986367702,
0.017101462930440903,
-0.04089973494410515,
0.010234393179416656,
0.008219674229621887,
-0.04176994413137436,
-0.021736260503530502,
0.014358418062329292,
-0.04180777817964554,
-0.026162967085838318,
0.005670534446835518,
-0.03096802346408367,
0.030324827879667282,
-0.010451944544911385,
0.00011010603338945657,
0.015228625386953354,
-0.02332533523440361,
0.018359478563070297,
0.0075812069699168205,
0.0006290084565989673,
0.02973838336765766,
0.01458542887121439,
0.03781617432832718,
0.025027913972735405,
-0.04695335030555725,
-0.03041941486299038,
-0.022038942202925682,
-0.00900948140770197,
-0.0029251256491988897,
0.033351633697748184,
-0.01691228710114956,
0.01999584771692753,
-0.022284870967268944,
-0.027260184288024902,
0.05187191441655159,
0.037664834409952164,
-0.058190375566482544,
0.047785721719264984,
-0.026238637045025826,
0.013317952863872051,
-0.045288607478141785,
0.026900751516222954,
0.015635352581739426,
-0.030476167798042297,
-0.037891846150159836,
-0.046764176338911057,
0.03323813155293465,
0.023741520941257477,
-0.0516827367246151,
0.018756747245788574,
0.010660037398338318,
0.024971161037683487,
-0.023230748251080513,
0.06424398720264435,
-0.016155585646629333,
0.009279056452214718,
-0.0030315369367599487,
0.006048885639756918,
-0.010603285394608974,
0.015398883260786533,
0.01792437583208084,
-0.047142527997493744,
0.007051515392959118,
0.012816637754440308,
0.029000598937273026,
0.007926451973617077,
-0.00438414141535759,
0.06193604692816734,
0.032689519226551056,
-0.06110367551445961,
-0.04180777817964554,
0.02737369015812874,
-0.0016836617141962051,
0.010593825951218605,
0.06711945682764053,
-0.021433580666780472,
0.0557689294219017,
0.03834586590528488,
0.046499330550432205,
0.06235223263502121,
-0.0001457242324249819,
-0.013459834270179272,
0.01689337007701397,
-0.08369122445583344,
0.057622846215963364,
0.027108844369649887,
0.12319106608629227,
0.027487196028232574,
-0.06375212967395782,
-0.011161352507770061,
-0.0099790059030056,
-0.009094610810279846,
-0.00787442922592163,
0.04298066720366478,
0.055087897926568985,
-0.019485073164105415,
-0.01997692883014679,
0.025614358484745026,
0.01614612713456154,
0.011407280340790749,
-0.0491856224834919,
0.013431457802653313,
0.0015595152508467436,
0.029927559196949005,
0.00000870595067681279,
0.0025444100610911846,
0.03465694561600685,
-0.019560743123292923,
0.09496608376502991,
0.03743782639503479,
-0.043737366795539856,
-0.025898121297359467,
0.016278548166155815,
0.021414663642644882,
0.008995293639600277,
-0.0282438974827528,
-0.03934849798679352,
0.021660590544342995,
0.012636921368539333,
0.03488395735621452,
0.012589627876877785,
-0.027827711775898933,
0.011861301958560944,
-0.005575946997851133,
-0.018595948815345764,
0.007467701565474272,
0.017895998433232307,
0.0466885045170784,
0.05652562901377678,
-0.033048953860998154,
-0.016079915687441826,
-0.010801918804645538,
0.011974806897342205,
-0.047785721719264984,
0.004909103270620108,
-0.0472181960940361,
0.004471634980291128,
0.001978066051378846,
0.043472521007061005,
-0.008408849127590656,
-0.049601808190345764,
-0.05009366571903229,
0.0005184590118005872,
-0.014254371635615826,
-0.012078853324055672,
0.007283255457878113,
-0.005656346678733826,
-0.035394731909036636,
-0.011766714043915272,
-0.047710053622722626,
0.008196027018129826,
0.05837954953312874,
0.019390486180782318,
-0.07362709194421768,
0.046461496502161026,
-0.04199695214629173,
-0.0065218242816627026,
0.022511880844831467,
0.026806164532899857,
-0.014850274659693241,
0.03285977989435196,
-0.0017581494757905602,
-0.02457389421761036,
-0.06530337035655975,
-0.029322197660803795,
-0.03040049783885479,
0.04475891590118408,
-0.030816683545708656,
-0.02481982111930847,
0.013090942054986954,
-0.0027643265202641487,
-0.006583306472748518,
0.020676879212260246
] |
52,217 |
osmnx.geocoder
|
geocode
|
Geocode place names or addresses to (lat, lon) with the Nominatim API.
This geocodes the query via the Nominatim "search" endpoint.
Parameters
----------
query : string
the query string to geocode
Returns
-------
point : tuple
the (lat, lon) coordinates returned by the geocoder
|
def geocode(query):
"""
Geocode place names or addresses to (lat, lon) with the Nominatim API.
This geocodes the query via the Nominatim "search" endpoint.
Parameters
----------
query : string
the query string to geocode
Returns
-------
point : tuple
the (lat, lon) coordinates returned by the geocoder
"""
# define the parameters
params = OrderedDict()
params["format"] = "json"
params["limit"] = 1
params["dedupe"] = 0 # prevent deduping to get precise number of results
params["q"] = query
response_json = _nominatim._nominatim_request(params=params)
# if results were returned, parse lat and lon out of the result
if response_json and "lat" in response_json[0] and "lon" in response_json[0]:
lat = float(response_json[0]["lat"])
lon = float(response_json[0]["lon"])
point = (lat, lon)
utils.log(f"Geocoded {query!r} to {point}")
return point
# otherwise we got no results back
msg = f"Nominatim could not geocode query {query!r}"
raise InsufficientResponseError(msg)
|
(query)
|
[
0.021431146189570427,
0.02339251898229122,
0.03208374232053757,
0.011453337967395782,
-0.016311783343553543,
0.0011707505909726024,
-0.052291277796030045,
-0.024130284786224365,
0.06607487052679062,
-0.040451064705848694,
0.021916991099715233,
0.061360377818346024,
-0.028682827949523926,
0.013009839691221714,
0.007242684252560139,
0.012020156718790531,
0.021323181688785553,
-0.028376925736665726,
-0.08061422407627106,
-0.019541751593351364,
-0.03537668660283089,
0.02006358467042446,
0.052039358764886856,
0.013009839691221714,
0.04135077819228172,
-0.014800267294049263,
0.08104608207941055,
-0.012703937478363514,
-0.010850530117750168,
-0.022888680920004845,
0.01581694185733795,
-0.01838112249970436,
-0.009707896038889885,
0.03312740847468376,
-0.027207300066947937,
-0.017859289422631264,
0.05520634725689888,
0.06164828687906265,
-0.03305542841553688,
-0.019055906683206558,
-0.07478408515453339,
-0.06769435107707977,
-0.06006479263305664,
0.015789950266480446,
0.05031191185116768,
-0.021898997947573662,
-0.016824619844555855,
-0.04192659258842468,
-0.05333494395017624,
0.0020468453876674175,
-0.023752404376864433,
0.0019051408162340522,
0.026217617094516754,
-0.005992083810269833,
-0.021647078916430473,
-0.03093210980296135,
-0.003043276956304908,
0.07672746479511261,
0.012865886092185974,
0.011579297482967377,
-0.0522552914917469,
0.010814541950821877,
-0.036564309149980545,
0.006504919845610857,
-0.05157151073217392,
0.005996582563966513,
0.01033769454807043,
-0.038075823336839676,
-0.04135077819228172,
-0.025641800835728645,
0.018875963985919952,
0.035700585693120956,
-0.048404522240161896,
-0.019937625154852867,
0.07233686745166779,
0.07535990327596664,
0.00021944545733276755,
-0.012532992288470268,
0.005744663067162037,
0.026253605261445045,
-0.019181866198778152,
-0.04253839701414108,
0.02369842119514942,
-0.05193139240145683,
-0.040235135704278946,
-0.024166272953152657,
0.015196140855550766,
-0.010688582435250282,
-0.018318142741918564,
0.038363732397556305,
-0.013666629791259766,
0.019271837547421455,
-0.0014699050225317478,
0.031184028834104538,
-0.024742089211940765,
0.018237167969346046,
0.04181862622499466,
-0.0035313707776367664,
-0.04127880185842514,
0.012308063916862011,
0.02148512937128544,
0.07237286120653152,
-0.031004086136817932,
-0.05031191185116768,
-0.01094050146639347,
-0.005353288259357214,
-0.0027441224083304405,
-0.011957176961004734,
0.04768475145101547,
0.016248803585767746,
-0.08054224401712418,
-0.04196258261799812,
-0.013828578405082226,
0.01348668709397316,
0.009770875796675682,
0.00033345588599331677,
0.07651153206825256,
0.05027592182159424,
-0.01853407360613346,
0.030122367665171623,
-0.00613603787496686,
0.0569697842001915,
0.02056742273271084,
-0.02551584132015705,
-0.010697579011321068,
-0.00659489119425416,
0.05157151073217392,
0.050779763609170914,
-0.03908350318670273,
-0.0528670959174633,
0.012748923152685165,
0.006028072442859411,
0.01715751364827156,
0.051679473370313644,
-0.020693382248282433,
0.06377160549163818,
-0.027369247749447823,
-0.03436901047825813,
-0.03003239631652832,
0.055026404559612274,
0.03364923968911171,
0.009779872372746468,
0.01048164814710617,
-0.0063834586180746555,
0.011741245165467262,
-0.01715751364827156,
-0.03274952620267868,
-0.02398633025586605,
0.004019464831799269,
-0.07535990327596664,
0.018929947167634964,
-0.04577736184000969,
0.11314781755208969,
0.008295346982777119,
-0.04037908837199211,
-0.017895277589559555,
0.09731288254261017,
-0.041098859161138535,
0.02733325958251953,
-0.0053847781382501125,
0.034099094569683075,
0.0443018339574337,
0.05344291031360626,
0.005731167271733284,
-0.034440986812114716,
-0.06341172009706497,
-0.02117922715842724,
-0.03242563083767891,
-0.029006725177168846,
-0.014692301861941814,
0.02483205869793892,
0.03663628548383713,
-0.022960657253861427,
-0.019307825714349747,
0.007301165256649256,
-0.0012348551535978913,
0.0035403678193688393,
-0.018066223710775375,
-0.018732009455561638,
-0.00697277020663023,
0.02033349871635437,
0.004320868290960789,
-0.013729609549045563,
0.02305062860250473,
-0.022996647283434868,
0.008020935580134392,
0.009671906940639019,
0.013279753737151623,
0.002299889689311385,
0.04811661317944527,
0.04210653528571129,
-0.014638319611549377,
0.0019962366204708815,
-0.03204775229096413,
0.025623805820941925,
-0.027711138129234314,
0.00476847542449832,
0.02520993910729885,
-0.0369601808488369,
0.06542707979679108,
-0.04372601956129074,
0.07845491170883179,
0.016635680571198463,
0.020423470064997673,
-0.010346691124141216,
0.01074256468564272,
-0.06193619593977928,
-0.034117091447114944,
0.03006838448345661,
-0.008295346982777119,
0.05038388818502426,
0.05031191185116768,
-0.023806387558579445,
-0.0025326900649815798,
-0.017607370391488075,
-0.02182701975107193,
0.0667586550116539,
0.05419866740703583,
0.05128360167145729,
0.0019579988438636065,
0.023158594965934753,
-0.07363245636224747,
0.09428984671831131,
-0.023590456694364548,
0.0014732788549736142,
0.00606406107544899,
0.0003629776765592396,
0.01603287272155285,
0.01104846689850092,
-0.07406431436538696,
0.020261520519852638,
-0.045957304537296295,
0.0034706401638686657,
-0.07183302938938141,
-0.030086379498243332,
-0.06711854040622711,
0.04761277511715889,
-0.014620324596762657,
-0.053226981312036514,
-0.00360109843313694,
0.00045744748786091805,
0.027207300066947937,
-0.0491962693631649,
0.012829896993935108,
-0.07535990327596664,
-0.05272313952445984,
-0.05074377357959747,
0.004943918902426958,
0.018282154574990273,
0.011399354785680771,
-0.05603408068418503,
-0.018965935334563255,
0.010868524201214314,
0.017796309664845467,
0.05725768953561783,
-0.07399234175682068,
-0.040846940129995346,
0.005515236407518387,
0.004745982587337494,
0.055998094379901886,
-0.037787918001413345,
-0.05340692400932312,
0.01656370423734188,
-0.012452018447220325,
0.00866422988474369,
0.006936782039701939,
-0.02936660870909691,
0.018947940319776535,
0.07975050061941147,
-0.012488006614148617,
0.004410839639604092,
0.05463053286075592,
-0.013126802630722523,
-0.04059501737356186,
-0.010364686138927937,
0.00583463441580534,
-0.0063249776139855385,
0.01043666247278452,
-0.024076301604509354,
-0.004278132226318121,
-0.04829655587673187,
-0.030482253059744835,
-0.025065984576940536,
-0.034998808056116104,
-0.004262386821210384,
0.004109435714781284,
0.03240763768553734,
0.08730807900428772,
0.016752643510699272,
-0.036564309149980545,
0.0449136383831501,
-0.014836255460977554,
-0.03066219575703144,
0.00644643884152174,
0.006073058117181063,
-0.02612764574587345,
-0.04178263992071152,
0.034117091447114944,
-0.02067538909614086,
-0.020225532352924347,
-0.03096809796988964,
0.031975775957107544,
0.0019186364952474833,
-0.006648873910307884,
0.05369482934474945,
0.05009598284959793,
-0.00983385555446148,
0.019901636987924576,
-0.06279991567134857,
0.04070298373699188,
-0.055062394589185715,
-0.010976489633321762,
-0.04253839701414108,
-0.041098859161138535,
-0.019505763426423073,
-0.017796309664845467,
0.06823418289422989,
-0.020099572837352753,
0.028053030371665955,
-0.024760082364082336,
-0.016095852479338646,
-0.008029932156205177,
0.0381837897002697,
-0.01043666247278452,
-0.03208374232053757,
-0.0027936066035181284,
-0.04178263992071152,
0.06762237846851349,
0.048692431300878525,
0.010157751850783825,
0.03692419454455376,
0.04012716934084892,
-0.03179583325982094,
0.029276639223098755,
-0.00443783076480031,
-0.038687627762556076,
0.01656370423734188,
-0.013900554738938808,
-0.023446502164006233,
0.0060010808520019054,
-0.014818261377513409,
0.006226009223610163,
-0.0363483764231205,
0.025533834472298622,
-0.020999284461140633,
0.02153911255300045,
-0.035700585693120956,
0.004113934468477964,
-0.01547505147755146,
-0.07543187588453293,
-0.058697231113910675,
-0.007346150930970907,
-0.029006725177168846,
0.019847653806209564,
0.010238725692033768,
0.06391556560993195,
0.018750004470348358,
-0.038111813366413116,
0.004163418896496296,
0.02249280735850334,
-0.018660033121705055,
-0.05239924415946007,
-0.0004939982900395989,
-0.048044636845588684,
-0.013081816956400871,
-0.0351247675716877,
-0.003535869298502803,
0.03544866293668747,
0.007305664010345936,
-0.007607067469507456,
-0.019595734775066376,
-0.03629439324140549,
-0.07773514091968536,
0.0326775498688221,
-0.02787308767437935,
0.019577739760279655,
0.023806387558579445,
0.000786123622674495,
-0.08730807900428772,
0.06974569708108902,
0.012802906334400177,
-0.020549429580569267,
0.02945658005774021,
-0.06261997669935226,
0.0504198782145977,
-0.03453096002340317,
0.042862292379140854,
0.05448657646775246,
-0.02609165757894516,
-0.03122001700103283,
-0.10184743255376816,
-0.02148512937128544,
0.011165429838001728,
0.015394077636301517,
-0.008601249195635319,
0.04818858951330185,
0.01681562326848507,
-0.0581933930516243,
-0.05772554129362106,
-0.015241126529872417,
0.02576776035130024,
-0.004374851007014513,
0.03211972862482071,
0.013054825365543365,
0.04790068417787552,
-0.06650673598051071,
-0.02063940092921257,
-0.03883158415555954,
0.011471332050859928,
-0.05491843819618225,
-0.01975768245756626,
-0.02974448911845684,
0.006320478860288858,
-0.01548404898494482,
-0.07075337320566177,
0.030824143439531326,
-0.046821027994155884,
0.019325820729136467,
-0.03327136114239693,
0.031993769109249115,
0.02058541774749756,
-0.06510318070650101,
-0.036258406937122345,
-0.009887837804853916,
0.009473970159888268,
-0.007301165256649256,
0.05858926475048065,
-0.014476370997726917,
0.009905832819640636,
0.030878126621246338,
0.004183662123978138,
-0.00606406107544899,
-0.034728895872831345,
-0.0314539410173893,
-0.012622963637113571,
0.023248566314578056,
-0.01124640367925167,
0.006266496144235134,
0.019325820729136467,
-0.008133399300277233,
-0.003891255706548691,
0.026811426505446434,
0.03195778280496597,
-0.009581935591995716,
0.0722648948431015,
-0.008938641287386417,
0.014602330513298512,
-0.037715937942266464,
0.022024957463145256,
-0.043222177773714066,
0.042322468012571335,
-0.06157631054520607,
-0.003704565344378352,
0.00674334354698658,
0.091050885617733,
0.004723489750176668,
-0.08673226833343506,
0.047144923359155655,
-0.002600168576464057,
0.025389881804585457,
-0.06402352452278137,
0.022600773721933365,
0.030770160257816315,
0.05135557800531387,
0.014845252968370914,
0.018273156136274338,
-0.004961913451552391,
0.009437981992959976,
-0.02306862361729145,
-0.04811661317944527,
0.00284084165468812,
-0.03436901047825813,
-0.008844171650707722,
-0.004280381370335817,
0.062008172273635864,
0.01154330838471651,
-0.05711373686790466,
0.0037877887953072786,
0.06485126167535782,
0.02150312438607216,
-0.0008732832502573729,
-0.04750480875372887,
0.028736811131238937,
-0.011858208104968071,
0.03965931758284569,
0.05711373686790466,
0.019919630140066147,
0.012604969553649426,
0.020135561004281044,
-0.04135077819228172,
-0.01809321530163288,
0.12099330872297287,
0.034099094569683075,
-0.03735605627298355,
-0.012056144885718822,
0.025875726714730263,
0.012514998205006123,
-0.06837813556194305,
-0.012694940902292728,
-0.051067668944597244,
0.0018365377327427268,
0.013279753737151623,
-0.004014966078102589,
-0.023500485345721245,
0.019559744745492935,
0.02886277064681053,
0.037787918001413345,
0.05362285301089287,
0.028718816116452217,
0.04908830299973488,
-0.09040309488773346,
-0.024976013228297234,
0.043546076864004135,
-0.03274952620267868,
-0.04545346647500992,
0.0449136383831501,
-0.01241602934896946,
-0.007094231434166431,
-0.08853168785572052,
-0.01211912464350462,
0.02396833524107933,
0.06845011562108994,
-0.03368522971868515,
0.017661351710557938,
-0.02850288525223732,
0.004781970754265785,
0.052039358764886856,
-0.00383052509278059,
-0.02816099487245083,
0.011435342952609062,
0.01914587803184986,
-0.03060821257531643,
0.04095490276813507,
-0.00674334354698658,
0.0630878284573555,
-0.011318380944430828,
0.021755043417215347,
-0.017346452921628952,
-0.02029750868678093,
0.0698176771402359,
0.02301464043557644,
0.011831216514110565,
-0.009653912857174873,
-0.011192421428859234,
0.018552066758275032,
0.000991370528936386,
-0.004867443349212408,
0.012901874259114265,
-0.023446502164006233,
-0.006621882319450378,
0.04376200586557388,
-0.013018837198615074,
0.03951536491513252,
0.0326775498688221,
0.010418668389320374,
0.08702017366886139,
-0.040774960070848465,
-0.02369842119514942,
0.019631722941994667,
-0.014377402141690254,
-0.019217854365706444,
0.04365403950214386,
0.008029932156205177,
0.042646363377571106,
-0.07737525552511215,
0.06830615550279617,
-0.05124761164188385,
0.015115167014300823,
-0.007499102037400007,
-0.013846572488546371,
0.09133879095315933,
-0.04667707532644272,
-0.026307588443160057,
0.0360424742102623,
-0.021970974281430244,
0.02029750868678093,
-0.01945178024470806,
-0.07694339752197266,
0.06481527537107468,
0.06499521434307098,
-0.021359169855713844,
0.0075485859997570515,
-0.023716416209936142,
0.003337932750582695,
-0.010544627904891968,
0.05013196915388107,
-0.04088292643427849,
-0.026235610246658325,
-0.0056277005933225155,
-0.046245213598012924,
0.007980448193848133,
-0.04908830299973488,
0.027531197294592857,
0.03418906778097153,
-0.016482729464769363,
0.018857968971133232,
-0.020477451384067535,
-0.02668546698987484,
0.00591110996901989,
-0.04638916626572609,
-0.008155891671776772,
-0.016824619844555855,
-0.020189544185996056,
-0.06010078266263008,
0.022366847842931747,
-0.00031152539304457605,
-0.0479726605117321,
0.0054747494868934155,
-0.008029932156205177,
-0.02425624430179596,
0.05121162533760071,
-0.06035270169377327,
-0.04376200586557388,
0.03850768506526947,
-0.07687141746282578,
-0.015735968947410583,
-0.00674334354698658,
0.027459219098091125,
-0.01975768245756626,
0.030122367665171623,
0.04192659258842468,
-0.021611088886857033,
0.02666747197508812,
-0.027369247749447823,
0.0381837897002697,
-0.03195778280496597,
0.03976728394627571,
0.008016436360776424,
0.01970369927585125,
0.04275432974100113,
-0.023572461679577827,
0.06517516076564789,
-0.01880398765206337,
-0.06409550458192825,
-0.01379258930683136,
-0.02454415149986744,
0.0019186364952474833,
0.014773275703191757,
-0.06499521434307098,
0.024058306589722633,
-0.06244003400206566,
0.06341172009706497,
-0.0006837813416495919,
-0.006905291695147753,
0.024328220635652542,
-0.00987884122878313,
0.017643358558416367,
-0.017625363543629646,
0.07787909358739853,
0.02945658005774021,
0.019487768411636353,
0.022906675934791565,
0.037715937942266464,
0.0934981033205986,
0.03283949941396713,
-0.01679762825369835,
-0.05876920744776726,
0.02882678247988224,
-0.024436186999082565,
-0.002433721674606204,
0.002714881906285882,
-0.0019951120484620333,
-0.038327742367982864,
-0.03915547952055931,
-0.04315020143985748,
0.032911475747823715,
0.0010076777543872595,
-0.011489326134324074,
0.014035511761903763,
-0.03246162086725235,
0.05790548399090767,
0.025551829487085342,
0.03312740847468376,
-0.001993987476453185,
0.03584453836083412,
0.010229729115962982,
-0.0050068991258740425,
0.029654517769813538,
-0.02188100293278694,
0.016689663752913475,
0.013738607056438923,
0.012506000697612762,
0.05491843819618225,
0.030248327180743217,
0.027729133144021034,
-0.0014744035433977842,
-0.000520427362062037,
0.010823539458215237,
-0.00063373486045748,
0.048620451241731644,
0.008835175074636936,
-0.02940259873867035,
0.013225770555436611,
0.0012595972511917353,
0.01379258930683136,
0.05610606074333191,
-0.045309510082006454,
-0.05056383088231087,
-0.033505287021398544,
-0.004093690775334835,
0.0716530904173851,
-0.020171549171209335,
0.0007220191182568669,
0.02029750868678093,
0.0009109586826525629,
0.04764876514673233,
0.03278551623225212,
0.02422025427222252,
-0.03165188059210777,
0.01681562326848507,
0.016500724479556084,
-0.03679823502898216,
0.017220493406057358,
-0.005969590973109007,
0.026487529277801514,
0.037464018911123276,
0.02672145515680313,
0.019901636987924576,
0.012982848100364208,
0.006226009223610163,
0.00307026831433177,
-0.08090212941169739,
-0.0019928626716136932,
0.078814797103405,
0.00261141499504447,
-0.0049889045767486095,
-0.01241602934896946,
-0.07276873290538788,
-0.02938460372388363,
-0.010769556276500225,
-0.09285031259059906,
0.026289593428373337,
-0.04844050854444504,
0.009905832819640636,
-0.024706099182367325,
-0.024724094197154045,
0.010652593336999416,
0.0504198782145977,
0.010265717282891273,
-0.004001470282673836,
-0.017688343301415443,
0.017283473163843155,
0.02247481420636177,
-0.009357008151710033,
0.011120444163680077,
-0.02035149186849594,
0.012955857440829277,
-0.0033041934948414564,
-0.02578575536608696,
0.02515595592558384,
0.04095490276813507,
0.04066699743270874,
0.045057591050863266,
0.030464258044958115,
0.02247481420636177,
0.03303743526339531,
0.01032869704067707,
0.03305542841553688,
0.021395158022642136,
0.0029218157287687063,
0.0004301749577280134,
0.0015632500872015953,
-0.02098129130899906,
-0.0692058727145195,
-0.042610373347997665,
-0.03456694632768631,
-0.0314539410173893,
0.008232367224991322
] |
52,218 |
osmnx.geocoder
|
geocode_to_gdf
|
Retrieve OSM elements by place name or OSM ID with the Nominatim API.
If searching by place name, the `query` argument can be a string or
structured dict, or a list of such strings/dicts to send to the geocoder.
This uses the Nominatim "search" endpoint to geocode the place name to the
best-matching OSM element, then returns that element and its attribute
data.
You can instead query by OSM ID by passing `by_osmid=True`. This uses the
Nominatim "lookup" endpoint to retrieve the OSM element with that ID. In
this case, the function treats the `query` argument as an OSM ID (or list
of OSM IDs), which must be prepended with their types: node (N), way (W),
or relation (R) in accordance with the Nominatim API format. For example,
`query=["R2192363", "N240109189", "W427818536"]`.
If `query` is a list, then `which_result` must be either a single value or
a list with the same length as `query`. The queries you provide must be
resolvable to elements in the Nominatim database. The resulting
GeoDataFrame's geometry column contains place boundaries if they exist.
Parameters
----------
query : string or dict or list of strings/dicts
query string(s) or structured dict(s) to geocode
which_result : int
which search result to return. if None, auto-select the first
(Multi)Polygon or raise an error if OSM doesn't return one. to get
the top match regardless of geometry type, set which_result=1.
ignored if by_osmid=True.
by_osmid : bool
if True, treat query as an OSM ID lookup rather than text search
buffer_dist : float
deprecated, do not use
Returns
-------
gdf : geopandas.GeoDataFrame
a GeoDataFrame with one row for each query
|
def geocode_to_gdf(query, which_result=None, by_osmid=False, buffer_dist=None):
"""
Retrieve OSM elements by place name or OSM ID with the Nominatim API.
If searching by place name, the `query` argument can be a string or
structured dict, or a list of such strings/dicts to send to the geocoder.
This uses the Nominatim "search" endpoint to geocode the place name to the
best-matching OSM element, then returns that element and its attribute
data.
You can instead query by OSM ID by passing `by_osmid=True`. This uses the
Nominatim "lookup" endpoint to retrieve the OSM element with that ID. In
this case, the function treats the `query` argument as an OSM ID (or list
of OSM IDs), which must be prepended with their types: node (N), way (W),
or relation (R) in accordance with the Nominatim API format. For example,
`query=["R2192363", "N240109189", "W427818536"]`.
If `query` is a list, then `which_result` must be either a single value or
a list with the same length as `query`. The queries you provide must be
resolvable to elements in the Nominatim database. The resulting
GeoDataFrame's geometry column contains place boundaries if they exist.
Parameters
----------
query : string or dict or list of strings/dicts
query string(s) or structured dict(s) to geocode
which_result : int
which search result to return. if None, auto-select the first
(Multi)Polygon or raise an error if OSM doesn't return one. to get
the top match regardless of geometry type, set which_result=1.
ignored if by_osmid=True.
by_osmid : bool
if True, treat query as an OSM ID lookup rather than text search
buffer_dist : float
deprecated, do not use
Returns
-------
gdf : geopandas.GeoDataFrame
a GeoDataFrame with one row for each query
"""
if buffer_dist is not None:
warn(
"The buffer_dist argument has been deprecated and will be removed "
"in the v2.0.0 release. Buffer your results directly, if desired. "
"See the OSMnx v2 migration guide: https://github.com/gboeing/osmnx/issues/1123",
FutureWarning,
stacklevel=2,
)
if not isinstance(query, (str, dict, list)): # pragma: no cover
msg = "query must be a string or dict or list"
raise TypeError(msg)
# if caller passed a list of queries but a scalar which_result value, then
# turn which_result into a list with same length as query list
if isinstance(query, list) and (isinstance(which_result, int) or which_result is None):
which_result = [which_result] * len(query)
# turn query and which_result into lists if they're not already
if not isinstance(query, list):
query = [query]
if not isinstance(which_result, list):
which_result = [which_result]
# ensure same length
if len(query) != len(which_result): # pragma: no cover
msg = "which_result length must equal query length"
raise ValueError(msg)
# ensure query type of each item
for q in query:
if not isinstance(q, (str, dict)): # pragma: no cover
msg = "each query must be a dict or a string"
raise TypeError(msg)
# geocode each query and add to GeoDataFrame as a new row
gdf = gpd.GeoDataFrame()
for q, wr in zip(query, which_result):
gdf = pd.concat([gdf, _geocode_query_to_gdf(q, wr, by_osmid)])
# reset GeoDataFrame index and set its CRS
gdf = gdf.reset_index(drop=True)
gdf = gdf.set_crs(settings.default_crs)
# if buffer_dist was passed in, project the geometry to UTM, buffer it in
# meters, then project it back to lat-lon
if buffer_dist is not None and len(gdf) > 0:
gdf_utm = projection.project_gdf(gdf)
gdf_utm["geometry"] = gdf_utm["geometry"].buffer(buffer_dist)
gdf = projection.project_gdf(gdf_utm, to_latlong=True)
utils.log(f"Buffered GeoDataFrame to {buffer_dist} meters")
utils.log(f"Created GeoDataFrame with {len(gdf)} rows from {len(query)} queries")
return gdf
|
(query, which_result=None, by_osmid=False, buffer_dist=None)
|
[
0.0487142950296402,
-0.011073308996856213,
-0.013139224611222744,
-0.024646375328302383,
-0.010319249704480171,
0.010231448337435722,
-0.05598631873726845,
-0.028592273592948914,
0.026278449222445488,
-0.030782144516706467,
0.026918882504105568,
0.037909556180238724,
-0.04138029366731644,
0.03576100245118141,
0.017880501225590706,
0.033984314650297165,
-0.01119726337492466,
-0.02251848205924034,
0.00206849817186594,
0.004942703526467085,
-0.02770393155515194,
0.0023086608853191137,
0.0386946015059948,
0.041917432099580765,
0.02305562049150467,
-0.010453534312546253,
0.00160754076205194,
-0.031319282948970795,
-0.012839666567742825,
0.022663095965981483,
0.035409796983003616,
-0.07528197020292282,
-0.008243003860116005,
-0.00841344241052866,
-0.04212402179837227,
-0.02706349641084671,
0.06784467399120331,
0.00421188585460186,
-0.012911973521113396,
-0.018355662003159523,
-0.09065238386392593,
-0.10032086819410324,
-0.010376062244176865,
-0.030245007947087288,
0.01089770533144474,
-0.024832308292388916,
-0.01672358810901642,
-0.04146292805671692,
-0.022787051275372505,
0.03516188636422157,
0.009090029634535313,
-0.02111366018652916,
-0.040471289306879044,
0.043218959122896194,
-0.012106266804039478,
-0.008774977177381516,
-0.04491300880908966,
0.0632583424448967,
0.040615905076265335,
-0.03251751512289047,
-0.033942997455596924,
0.02249782346189022,
-0.006295878440141678,
0.01883082278072834,
-0.027228770777583122,
0.015649311244487762,
0.0016010847175493836,
-0.03743439540266991,
-0.05454017594456673,
-0.007886633276939392,
-0.017921820282936096,
0.04933406785130501,
0.002242809860035777,
0.007814326323568821,
-0.007778172846883535,
0.09461894631385803,
-0.006233900785446167,
-0.016310404986143112,
-0.009141677059233189,
0.007628393825143576,
0.01156912837177515,
0.009823429398238659,
0.012467801570892334,
-0.06565480679273605,
0.00024355210189241916,
0.016093483194708824,
0.01354207843542099,
0.08585946261882782,
0.02113431878387928,
-0.06073792278766632,
-0.01620711013674736,
0.003636011853814125,
-0.0031944222282618284,
0.02834436483681202,
0.004005294293165207,
-0.031381260603666306,
-0.016661610454320908,
0.011786049231886864,
-0.07305078208446503,
0.027332065626978874,
-0.01040705107152462,
0.03483134135603905,
0.02371671237051487,
0.028881503269076347,
-0.029480617493391037,
0.003357113106176257,
-0.003858097828924656,
-0.03448013588786125,
0.0077833374962210655,
-0.000731463311240077,
-0.12271539866924286,
0.019884439185261726,
0.024894285947084427,
-0.03452145308256149,
0.010990671813488007,
0.052556898444890976,
0.026753610000014305,
0.03576100245118141,
-0.0022789633367210627,
0.01286032609641552,
-0.004433971829712391,
0.0592917837202549,
0.0289847981184721,
-0.041194360703229904,
-0.002552697202190757,
0.0026934377383440733,
0.057019274681806564,
-0.0016966332914307714,
-0.010396720841526985,
-0.023592758923768997,
0.05036702752113342,
0.012911973521113396,
-0.03613286837935448,
0.0698692724108696,
0.03485199809074402,
0.049168795347213745,
-0.003452661680057645,
-0.05656477436423302,
0.004872978664934635,
0.03291003778576851,
0.0000033389555937901605,
-0.047309473156929016,
0.020617838948965073,
0.014833275228738785,
-0.0008005423587746918,
0.045202236622571945,
0.011631106026470661,
0.018923789262771606,
-0.02243584580719471,
-0.0674314945936203,
-0.006223571486771107,
-0.005531489383429289,
-0.004588915500789881,
-0.026092516258358955,
-0.03679395839571953,
-0.04367345944046974,
0.05602763593196869,
-0.029811164364218712,
0.027352724224328995,
0.005815553013235331,
0.026175152510404587,
-0.029583914205431938,
0.031381260603666306,
-0.013645374216139317,
-0.03743439540266991,
-0.005944672506302595,
-0.03239355981349945,
-0.050449661910533905,
-0.016558315604925156,
0.0051260534673929214,
0.049747250974178314,
0.08635527640581131,
0.012219891883432865,
-0.055077314376831055,
-0.033385198563337326,
0.030658191069960594,
-0.001929048914462328,
-0.020287293940782547,
-0.032600149512290955,
-0.03883921727538109,
0.022828370332717896,
-0.03485199809074402,
-0.044582463800907135,
0.02386132813990116,
-0.014626683667302132,
0.019254334270954132,
-0.007514768745750189,
-0.006548953242599964,
0.05127602815628052,
0.040533266961574554,
-0.0031918399035930634,
-0.0568540021777153,
0.015793927013874054,
-0.007447626441717148,
0.02906743437051773,
-0.05263953283429146,
-0.005924013443291187,
0.02452242001891136,
-0.04138029366731644,
0.09899868816137314,
-0.028654251247644424,
0.053176671266555786,
-0.005376545712351799,
-0.027827885001897812,
-0.045780692249536514,
-0.026815587654709816,
-0.08883437514305115,
-0.04429323598742485,
0.04970593377947807,
-0.01388295367360115,
0.030079733580350876,
-0.023468803614377975,
-0.020122019574046135,
0.01385196577757597,
0.007886633276939392,
-0.0000647616179776378,
0.005469512194395065,
0.062308020889759064,
0.03555440902709961,
-0.026898223906755447,
0.0473921075463295,
-0.07115013897418976,
0.01385196577757597,
-0.022063979879021645,
-0.019099391996860504,
0.000517124542966485,
0.0381368063390255,
0.022105298936367035,
0.047929245978593826,
-0.0795377567410469,
0.029315344989299774,
-0.058424100279808044,
0.03286872059106827,
-0.1119726374745369,
0.0017766875680536032,
-0.03848801180720329,
0.06375416368246078,
0.013025598600506783,
0.005975661333650351,
-0.01660996302962303,
-0.015349754132330418,
0.006466316524893045,
0.0029904129914939404,
0.02169211581349373,
-0.031339943408966064,
-0.030761485919356346,
-0.0375790074467659,
-0.0006184835219755769,
0.007803997024893761,
0.006688402500003576,
-0.0568540021777153,
-0.01386229507625103,
0.00019303400767967105,
-0.012333516962826252,
0.052680853754282,
-0.08048807829618454,
-0.05139998346567154,
0.008222345262765884,
0.00445204833522439,
0.015855902805924416,
0.005469512194395065,
-0.05297008156776428,
0.0075302631594240665,
-0.032063014805316925,
0.0042816102504730225,
0.008506407961249352,
-0.024584397673606873,
-0.01019529439508915,
0.04433455318212509,
0.010262436233460903,
-0.06817521899938583,
0.07449692487716675,
-0.023985281586647034,
-0.03970690071582794,
-0.02518351376056671,
0.010086833499372005,
0.0019832791294902563,
-0.026670971885323524,
-0.0674314945936203,
-0.03474870324134827,
-0.028840184211730957,
-0.06677039712667465,
-0.01778753474354744,
-0.01226121000945568,
-0.010019691661000252,
0.008294652216136456,
0.009131347760558128,
0.04088447242975235,
0.0711914598941803,
-0.030183030292391777,
0.004248039331287146,
-0.009219149127602577,
-0.03148455545306206,
-0.001861906610429287,
-0.004356499761343002,
0.015112173743546009,
0.027208110317587852,
-0.030059074983000755,
-0.013655703514814377,
0.020122019574046135,
-0.01614513248205185,
0.029563255608081818,
0.05549049749970436,
0.04499564692378044,
0.04020272195339203,
0.06218406558036804,
0.006419833283871412,
-0.02499758079648018,
-0.03896317258477211,
0.006827851757407188,
-0.039810195565223694,
-0.009084864519536495,
-0.04239259287714958,
-0.05429226532578468,
0.010040351189672947,
-0.0407811775803566,
0.012757030315697193,
0.016961168497800827,
0.023551439866423607,
-0.008217180147767067,
-0.03741373494267464,
0.03038962185382843,
0.014905582182109356,
-0.02119629643857479,
0.019884439185261726,
0.017963137477636337,
-0.005345556885004044,
0.05404435843229294,
0.07445560395717621,
0.01055683009326458,
0.036504730582237244,
0.03764098510146141,
0.0018606154480949044,
0.04726815223693848,
0.03363310918211937,
-0.018923789262771606,
0.02567933313548565,
-0.04200006648898125,
0.005371381063014269,
0.01682688482105732,
-0.009177831001579762,
0.026133835315704346,
-0.006920817773789167,
-0.0033493658993393183,
-0.014130864292383194,
-0.037227801978588104,
-0.023551439866423607,
-0.0035378807224333286,
-0.0034165082033723593,
-0.05887860059738159,
-0.029088094830513,
0.017023146152496338,
-0.014006908982992172,
0.051813166588544846,
0.0808599442243576,
0.07218309491872787,
0.004627651534974575,
0.03448013588786125,
0.003287388477474451,
0.037310440093278885,
0.03642209619283676,
-0.006987960077822208,
0.010846057906746864,
-0.05544918030500412,
-0.02979050576686859,
-0.041194360703229904,
0.011290229856967926,
0.017797864973545074,
0.0038193617947399616,
-0.01688886247575283,
-0.015153491869568825,
-0.048590339720249176,
-0.008940250612795353,
0.0685470849275589,
0.008026083000004292,
0.04208270460367203,
-0.032042354345321655,
-0.02567933313548565,
-0.10527906566858292,
0.024109236896038055,
-0.03231092169880867,
-0.026278449222445488,
0.05276348814368248,
-0.01517415139824152,
0.0685470849275589,
-0.011104296892881393,
0.028695570304989815,
0.04088447242975235,
0.0024390718899667263,
-0.06358888745307922,
-0.07614965736865997,
-0.012777688913047314,
0.021299591287970543,
0.055779725313186646,
-0.010288260877132416,
0.04619387537240982,
0.014203171245753765,
-0.009616837836802006,
-0.05098680034279823,
-0.03026566654443741,
0.01688886247575283,
-0.03954162821173668,
-0.0125607680529356,
0.02693954110145569,
-0.0011685335775837302,
-0.04697892442345619,
0.0062029119580984116,
-0.07586042582988739,
-0.015897221863269806,
-0.047102879732847214,
-0.02650569938123226,
-0.05259821563959122,
-0.038632623851299286,
0.05557313561439514,
-0.06470448523759842,
0.0449543260037899,
-0.02844765968620777,
0.051771849393844604,
0.033385198563337326,
0.09189193695783615,
0.010463863611221313,
-0.03383969888091087,
-0.005794893950223923,
0.04619387537240982,
0.0033390363678336143,
0.0014074051287025213,
0.01947125606238842,
-0.01848994567990303,
0.0005855580093339086,
0.06296911090612411,
0.014017238281667233,
0.005763905122876167,
-0.0500364787876606,
-0.010618806816637516,
-0.02113431878387928,
0.01708512380719185,
-0.014358114451169968,
0.026794927194714546,
0.03177378326654434,
-0.0032357405871152878,
-0.020865749567747116,
-0.00836179405450821,
0.052515577524900436,
0.00903321709483862,
0.03414958715438843,
-0.0354924313724041,
-0.01727105677127838,
-0.01759127341210842,
-0.005071823485195637,
-0.05590368062257767,
0.08652055263519287,
-0.041235677897930145,
0.00414216099306941,
0.029377322643995285,
0.04177281633019447,
0.007907292805612087,
-0.004421059973537922,
0.031174669042229652,
-0.03714516758918762,
0.04834242910146713,
0.002352561568841338,
0.028571614995598793,
-0.002089157234877348,
0.027889862656593323,
0.005515994969755411,
0.08734691888093948,
0.020524872466921806,
-0.03654605150222778,
-0.055655770003795624,
-0.01870686747133732,
0.013511089608073235,
0.00222344184294343,
-0.026856904849410057,
-0.0370212122797966,
0.09585849195718765,
0.02768327109515667,
-0.057721685618162155,
-0.01574227772653103,
0.03038962185382843,
-0.017477648332715034,
-0.011403854936361313,
-0.022704415023326874,
0.03171180561184883,
0.010396720841526985,
-0.004098260309547186,
0.012839666567742825,
0.031236646696925163,
-0.011372866109013557,
0.004501114133745432,
-0.05544918030500412,
-0.04697892442345619,
0.07978566735982895,
0.020266633480787277,
-0.06119242683053017,
0.038673944771289825,
0.09395784884691238,
0.0391077846288681,
-0.03179444372653961,
0.02185738831758499,
-0.03303399309515953,
0.01582491584122181,
-0.0027502502780407667,
-0.05821750685572624,
0.016733918339014053,
0.012808677740395069,
0.004976274445652962,
0.05412699282169342,
0.05276348814368248,
-0.021361568942666054,
0.022084640339016914,
-0.1013951450586319,
-0.03638077527284622,
0.060324739664793015,
-0.0026301690377295017,
-0.05102812126278877,
0.02636108547449112,
-0.010546499863266945,
-0.032558832317590714,
-0.09569321572780609,
-0.002365473657846451,
0.01774621568620205,
0.08957810699939728,
-0.03739307448267937,
-0.0004603118577506393,
-0.03503793105483055,
0.004927209112793207,
0.043797414749860764,
0.008480584248900414,
0.008935085497796535,
-0.03443881496787071,
-0.03495529666543007,
0.008077730424702168,
0.06937345117330551,
0.01055683009326458,
0.10585752129554749,
-0.024894285947084427,
0.062266699969768524,
-0.02828238718211651,
-0.0009845379972830415,
0.006894994061440229,
0.02714613266289234,
0.030183030292391777,
-0.031277965754270554,
-0.07115013897418976,
0.020060041919350624,
-0.011982311494648457,
0.026898223906755447,
-0.028220409527420998,
0.07652152329683304,
-0.01782885380089283,
0.023386167362332344,
-0.020400919020175934,
0.0795377567410469,
0.03212498873472214,
-0.01979147270321846,
0.09362730383872986,
-0.0030859617982059717,
-0.003452661680057645,
0.01226121000945568,
-0.037248462438583374,
0.00837212335318327,
-0.003439749823883176,
0.010040351189672947,
0.039810195565223694,
-0.049251433461904526,
0.04350818693637848,
0.006600601132959127,
0.057721685618162155,
-0.022125957533717155,
-0.003073049709200859,
0.014616354368627071,
-0.012705381959676743,
-0.008640692569315434,
-0.009167501702904701,
-0.00888343807309866,
-0.027311407029628754,
-0.03685593605041504,
-0.06453920900821686,
0.041276998817920685,
-0.0319390594959259,
-0.022704415023326874,
0.014698990620672703,
0.01518448069691658,
-0.003648923709988594,
0.014110204763710499,
0.07106750458478928,
-0.03388101980090141,
0.004860066808760166,
0.022105298936367035,
-0.08114917576313019,
0.004903967492282391,
-0.010386391542851925,
0.04146292805671692,
0.03497595340013504,
0.011414185166358948,
0.03677330166101456,
-0.041958749294281006,
-0.028013817965984344,
0.010221118107438087,
-0.04797056317329407,
-0.01740534044802189,
0.03780625760555267,
-0.022291231900453568,
-0.048590339720249176,
0.03774427995085716,
-0.0017857259372249246,
-0.01708512380719185,
0.03047225810587406,
-0.028716228902339935,
-0.020101360976696014,
0.05396172031760216,
-0.002368055982515216,
-0.006233900785446167,
0.06937345117330551,
-0.032558832317590714,
-0.02716679312288761,
-0.010221118107438087,
0.042681820690631866,
-0.042681820690631866,
-0.00857355073094368,
0.007711030542850494,
0.010453534312546253,
0.033942997455596924,
-0.01690952107310295,
0.004364246968179941,
-0.04222732037305832,
0.047185517847537994,
0.005428193602710962,
0.006419833283871412,
0.05999419465661049,
0.02648504078388214,
0.041896771639585495,
0.012736370787024498,
-0.04226863756775856,
-0.028902161866426468,
-0.042681820690631866,
-0.006920817773789167,
0.025968560948967934,
-0.05925046652555466,
0.0038968336302787066,
-0.048549022525548935,
0.04602860286831856,
0.01848994567990303,
-0.040657222270965576,
-0.007773008197546005,
-0.0647871196269989,
0.026815587654709816,
-0.016217438504099846,
0.04016140475869179,
0.013025598600506783,
0.007685206830501556,
0.005521160084754229,
0.03710384666919708,
0.04292973130941391,
0.022291231900453568,
0.03291003778576851,
-0.10387424379587173,
-0.01187901571393013,
0.0026366249658167362,
0.009606508538126945,
0.03950031101703644,
0.001929048914462328,
0.0036928243935108185,
-0.04425191506743431,
-0.06664644181728363,
0.02431582845747471,
0.04565674066543579,
-0.00157009600661695,
0.03094741888344288,
0.013707350939512253,
0.0191716980189085,
0.012157914228737354,
0.008000259287655354,
0.00942574068903923,
-0.0010600730311125517,
-0.005255173426121473,
-0.004294522572308779,
0.018624231219291687,
-0.02708415687084198,
-0.007865974679589272,
0.02317957580089569,
0.10527906566858292,
0.021526843309402466,
-0.0025836860295385122,
0.0005784564418718219,
-0.031897738575935364,
0.028592273592948914,
-0.018975436687469482,
0.020886408165097237,
-0.02497692219913006,
0.012002971023321152,
-0.014946900308132172,
0.06619194149971008,
0.0023461056407541037,
-0.008542561903595924,
0.013066917657852173,
-0.030534235760569572,
-0.033302564173936844,
-0.021062010899186134,
0.026278449222445488,
0.012023629620671272,
0.021237613633275032,
0.015298106707632542,
0.019336972385644913,
0.032001037150621414,
0.03881855681538582,
-0.020235644653439522,
0.0036127702333033085,
-0.027270087972283363,
-0.027352724224328995,
0.0018606154480949044,
-0.04830111190676689,
-0.0015636399621143937,
0.038549989461898804,
0.001901933690533042,
0.005004681181162596,
0.017198748886585236,
0.06160560995340347,
0.011341877281665802,
-0.026794927194714546,
0.03954162821173668,
-0.017477648332715034,
0.046565741300582886,
0.05210239440202713,
-0.03617418557405472,
0.009461894631385803,
-0.02431582845747471,
-0.03321992605924606,
-0.03499661386013031,
-0.025534719228744507,
-0.05544918030500412,
0.05408567562699318,
-0.004426224622875452,
0.00743213202804327,
0.0015494368271902204,
-0.041855454444885254,
0.008614868856966496,
-0.013717681169509888,
-0.039293717592954636,
0.05152393877506256,
-0.03383969888091087,
0.030534235760569572,
-0.01972949504852295,
-0.03169114887714386,
-0.02650569938123226,
0.004823913332074881,
0.03718648478388786,
-0.026629654690623283,
-0.02842700108885765,
0.015339424833655357,
0.06342361122369766,
-0.024749672040343285,
0.029191389679908752,
0.04689629003405571,
0.024171214550733566,
0.07995094358921051,
-0.0036695830058306456,
0.04883825033903122,
0.006626424845308065,
-0.018097423017024994,
-0.03582298010587692,
0.057804323732852936,
-0.026877565309405327,
-0.051854487508535385,
-0.030968077480793,
-0.040574587881565094,
-0.05958101153373718,
-0.0059704966843128204
] |
52,221 |
osmnx.geometries
|
geometries_from_address
|
Do not use: deprecated.
The `geometries` module and `geometries_from_X` functions have been
renamed the `features` module and `features_from_X` functions. Use these
instead. The `geometries` module and functions are deprecated and will be
removed in the v2.0.0 release.
Parameters
----------
address : string
Do not use: deprecated.
tags : dict
Do not use: deprecated.
dist : numeric
Do not use: deprecated.
Returns
-------
gdf : geopandas.GeoDataFrame
|
def geometries_from_address(address, tags, dist=1000):
"""
Do not use: deprecated.
The `geometries` module and `geometries_from_X` functions have been
renamed the `features` module and `features_from_X` functions. Use these
instead. The `geometries` module and functions are deprecated and will be
removed in the v2.0.0 release.
Parameters
----------
address : string
Do not use: deprecated.
tags : dict
Do not use: deprecated.
dist : numeric
Do not use: deprecated.
Returns
-------
gdf : geopandas.GeoDataFrame
"""
warn(DEP_MSG, FutureWarning, stacklevel=2)
return features.features_from_address(address, tags, dist)
|
(address, tags, dist=1000)
|
[
0.04649059474468231,
0.0329425074160099,
-0.032207340002059937,
-0.09739219397306442,
-0.04099434241652489,
0.005645036231726408,
-0.017565252259373665,
0.00290785008110106,
0.018589235842227936,
-0.04253469407558441,
0.00046905220369808376,
0.007054107263684273,
-0.09977273643016815,
-0.0035139257088303566,
-0.014650838449597359,
0.0020698467269539833,
-0.016917604953050613,
-0.01419573463499546,
0.019394420087337494,
-0.007439195178449154,
-0.04361993819475174,
0.005487500224262476,
0.043549925088882446,
0.012033992446959019,
0.01765277236700058,
0.002058906713500619,
0.009670953266322613,
-0.03896388038992882,
0.019989555701613426,
-0.032714955508708954,
0.03756355866789818,
-0.03192727640271187,
-0.017083892598748207,
0.014143222942948341,
-0.027953870594501495,
-0.013924422673881054,
0.03303002566099167,
0.027551278471946716,
0.09865248203277588,
0.003859629388898611,
-0.038893863558769226,
-0.07176635414361954,
-0.038718823343515396,
-0.030264396220445633,
0.05699298530817032,
-0.006205163896083832,
0.0018587048398330808,
-0.017565252259373665,
-0.026728590950369835,
0.0012241852236911654,
0.009390889666974545,
-0.014554566703736782,
0.026273487135767937,
0.005780692212283611,
-0.00535184470936656,
-0.014869638718664646,
-0.008331898599863052,
0.11321579664945602,
0.0026474783662706614,
0.01860673911869526,
-0.009740970097482204,
0.013154247775673866,
-0.01567482203245163,
-0.02233508974313736,
-0.01632246933877468,
-0.016795076429843903,
0.008511314168572426,
-0.06802050024271011,
-0.03227735683321953,
0.024102991446852684,
-0.02606343850493431,
0.016865093261003494,
0.01990203559398651,
-0.010677432641386986,
0.0029516101349145174,
0.06556994467973709,
-0.029809292405843735,
0.027708813548088074,
0.0005918536335229874,
-0.015683574602007866,
-0.030964555218815804,
-0.009005801752209663,
-0.009609689936041832,
0.005268700420856476,
0.013364295475184917,
0.05093660578131676,
0.013250519521534443,
0.04659561812877655,
0.03759856894612312,
0.020094579085707664,
-0.01680382899940014,
0.0005582131561823189,
-0.030509451404213905,
-0.04270973056554794,
0.024155505001544952,
-0.03668836131691933,
0.024523088708519936,
0.0316472128033638,
0.02861902117729187,
0.000005196496658754768,
0.06721531599760056,
-0.014764614403247833,
-0.012917943298816681,
0.05646786838769913,
-0.03861379995942116,
-0.04211459681391716,
0.019114356487989426,
-0.04862608015537262,
0.0391039103269577,
-0.006104515865445137,
-0.012165271677076817,
-0.00798619445413351,
0.10236332565546036,
0.014169478788971901,
-0.038473766297101974,
-0.06287432461977005,
0.039524007588624954,
0.030456939712166786,
-0.020444659516215324,
-0.08569952845573425,
0.00620954018086195,
0.04859107360243797,
-0.03572564199566841,
0.012384071946144104,
-0.024995695799589157,
0.04670064151287079,
0.017889076843857765,
-0.014922150410711765,
-0.04491523653268814,
-0.049816351383924484,
0.030404428020119667,
0.016515012830495834,
0.0470157116651535,
0.01206899993121624,
0.06921076774597168,
-0.04495024308562279,
-0.015429765917360783,
-0.009705961681902409,
0.037318505346775055,
-0.005058652721345425,
0.00036758376518264413,
0.012751655653119087,
-0.003726161550730467,
-0.03777360916137695,
0.005430612247437239,
0.013714374974370003,
0.0026562302373349667,
-0.052196893841028214,
-0.03024689294397831,
-0.04064426198601723,
0.002603718312457204,
0.04642057791352272,
-0.0035336175933480263,
0.010957497172057629,
-0.036198247224092484,
-0.029179148375988007,
0.05079657584428787,
-0.07925806194543839,
0.032539915293455124,
-0.012497847899794579,
0.017171412706375122,
0.06364450603723526,
-0.040679268538951874,
-0.03362516313791275,
-0.021547410637140274,
-0.05716802552342415,
-0.0035423696972429752,
-0.04530032351613045,
-0.01942942664027214,
-0.007592354901134968,
-0.041554469615221024,
0.0844392403960228,
0.0712762400507927,
-0.0002929182955995202,
0.0048486050218343735,
0.007728010881692171,
0.04519530013203621,
0.00791180320084095,
0.00885264202952385,
-0.025975918397307396,
0.07365678250789642,
0.029231661930680275,
-0.016331221908330917,
0.08632966876029968,
0.008655722253024578,
-0.003472353797405958,
0.0034045258071273565,
-0.015175958164036274,
-0.009373385459184647,
-0.0452653132379055,
-0.002454934408888221,
-0.04361993819475174,
-0.00011924592399736866,
0.0013817211147397757,
-0.0010289063211530447,
-0.0003643017553258687,
-0.05475247651338577,
0.0030610100366175175,
-0.05723804235458374,
0.09977273643016815,
-0.02699115127325058,
0.022597650066018105,
-0.038823846727609634,
-0.01837918721139431,
0.02007707580924034,
0.0177052840590477,
-0.0301243644207716,
-0.08359905332326889,
-0.035515591502189636,
-0.02145989052951336,
0.06532488763332367,
-0.02233508974313736,
0.014712102711200714,
0.043724965304136276,
0.03959402069449425,
-0.031192107126116753,
-0.008817634545266628,
0.05160176008939743,
0.061158936470746994,
-0.05048150196671486,
0.03176973760128021,
-0.012996711768209934,
0.01774904504418373,
-0.007434819359332323,
0.0051505486480891705,
0.01755649968981743,
0.018099123612046242,
0.0215299054980278,
0.0132942795753479,
-0.024348048493266106,
0.046560611575841904,
-0.07533716410398483,
0.020742226392030716,
-0.10061292350292206,
0.10761452466249466,
0.0132942795753479,
0.032084811478853226,
0.0257133599370718,
0.04509027302265167,
-0.007907426916062832,
0.03409776836633682,
-0.016970116645097733,
-0.025520814582705498,
-0.021967506036162376,
0.009837241843342781,
-0.03892887011170387,
-0.04064426198601723,
-0.0321023166179657,
0.010406121611595154,
-0.04253469407558441,
-0.040399204939603806,
0.012296551838517189,
0.020672211423516273,
0.02902161329984665,
-0.019586963579058647,
-0.10411372780799866,
0.03630327060818672,
-0.0237354077398777,
-0.008970794267952442,
0.01072994526475668,
-0.05044649541378021,
-0.03598820045590401,
0.02676359936594963,
0.03432532027363777,
0.05072655901312828,
0.000918412406463176,
0.004273161292076111,
-0.003354201791808009,
0.01503592636436224,
0.0062270439229905605,
-0.048311010003089905,
0.0435149148106575,
0.012497847899794579,
-0.020374642685055733,
0.017897827550768852,
-0.054542429745197296,
0.013696870766580105,
-0.03169972449541092,
0.021197330206632614,
0.007128499448299408,
-0.05345718190073967,
-0.014108214527368546,
-0.06206914409995079,
0.05653788149356842,
-0.02611595019698143,
-0.029284173622727394,
0.014764614403247833,
0.07169634103775024,
0.03710845485329628,
-0.003019438125193119,
-0.00644146790727973,
0.027778830379247665,
0.006060756277292967,
-0.06294434517621994,
0.015709830448031425,
0.005049900617450476,
0.046210531145334244,
-0.015114693902432919,
0.02861902117729187,
0.004321297165006399,
0.04446013271808624,
0.03409776836633682,
0.056047771126031876,
0.06697025895118713,
0.03584817051887512,
0.024855663999915123,
0.0327499620616436,
-0.03437783196568489,
-0.01753024384379387,
0.017337700352072716,
0.02040965110063553,
0.0007532184827141464,
-0.030526956543326378,
-0.010747449472546577,
-0.0257133599370718,
0.02826894074678421,
0.004533533006906509,
-0.02210753783583641,
-0.010169817134737968,
-0.034167785197496414,
-0.060528792440891266,
0.016558773815631866,
0.008594457991421223,
-0.021862482652068138,
-0.021337362006306648,
0.04204457998275757,
-0.04449513927102089,
-0.03595319390296936,
0.04425008222460747,
0.004268785007297993,
-0.01605115830898285,
0.03805367276072502,
0.05268700420856476,
0.024873167276382446,
-0.060703832656145096,
0.009723465889692307,
0.021022289991378784,
0.002186904661357403,
-0.05356220528483391,
-0.002511822385713458,
0.012497847899794579,
0.04932624101638794,
-0.030176876112818718,
0.014650838449597359,
-0.027988877147436142,
-0.033065035939216614,
-0.028636526316404343,
-0.033537641167640686,
0.00139266112819314,
-0.04600048065185547,
0.011351336725056171,
0.026728590950369835,
0.03390522673726082,
0.05510255694389343,
0.09431149065494537,
0.0020971966441720724,
0.020374642685055733,
0.07274657487869263,
0.050166431814432144,
0.026781102642416954,
-0.0046035489067435265,
-0.06556994467973709,
0.0400141179561615,
-0.06511484086513519,
-0.027953870594501495,
0.0007592355250380933,
0.0329425074160099,
0.01143010426312685,
-0.03373018652200699,
-0.01867675594985485,
-0.0002428678417345509,
0.0228602085262537,
-0.04288477078080177,
0.05468245968222618,
-0.01937691494822502,
-0.06500981748104095,
-0.03047444485127926,
-0.0327499620616436,
-0.0747770369052887,
0.03721347823739052,
-0.03717847168445587,
-0.006327691953629255,
0.09788230806589127,
0.02040965110063553,
0.06175407022237778,
-0.04869609698653221,
-0.010563656687736511,
0.0015698890201747417,
0.028829069808125496,
-0.018939316272735596,
-0.04214960336685181,
0.015832357108592987,
-0.002472438383847475,
0.06364450603723526,
-0.04123939573764801,
-0.01527222990989685,
-0.011053768917918205,
-0.0628393217921257,
0.005793820135295391,
-0.01672506146132946,
-0.03535805642604828,
0.03523552790284157,
0.016112420707941055,
0.018221652135252953,
-0.008997050113976002,
0.0027328103315085173,
-0.008725738152861595,
-0.04288477078080177,
-0.0022886465303599834,
-0.00833627488464117,
-0.006664643529802561,
-0.029686763882637024,
-0.01665504463016987,
0.0422196201980114,
-0.0026868623681366444,
0.04309482127428055,
0.023070257157087326,
-0.00017271513934247196,
-0.03310004249215126,
-0.007548595312982798,
0.04193955659866333,
-0.03171722590923309,
-0.06718030571937561,
-0.016882596537470818,
0.021022289991378784,
-0.0055312602780759335,
-0.03360765799880028,
-0.013950678519904613,
0.04659561812877655,
0.03665335103869438,
-0.03980407118797302,
-0.039699047803878784,
-0.03232986852526665,
-0.02839146926999092,
0.00015548465307801962,
0.01375813502818346,
-0.03427280858159065,
0.00187292683403939,
0.006962211336940527,
-0.01815163530409336,
0.0006613225559704006,
0.016532517969608307,
0.023875441402196884,
-0.01827416382730007,
0.01735520549118519,
-0.04978134483098984,
0.039243943989276886,
-0.008861394599080086,
0.0404692217707634,
-0.05905845761299133,
0.04113437235355377,
-0.031157100573182106,
0.044005028903484344,
0.04288477078080177,
0.021214833483099937,
0.016304966062307358,
0.03630327060818672,
-0.044180069118738174,
-0.07267656177282333,
0.05296706780791283,
-0.016882596537470818,
-0.051391709595918655,
0.003439533757045865,
0.04015415161848068,
0.015464774332940578,
0.032784972339868546,
0.06774043291807175,
-0.04036419838666916,
0.022177552804350853,
-0.033765193074941635,
0.07624737173318863,
-0.027236206457018852,
0.02716618962585926,
-0.04368995502591133,
-0.007741138804703951,
0.0345003604888916,
-0.03141966089606285,
0.016156181693077087,
0.03500797599554062,
-0.002389294560998678,
0.010082297027111053,
-0.029511725530028343,
0.02961674891412258,
0.0444251224398613,
0.003500797785818577,
0.06276930123567581,
0.035218026489019394,
-0.011176296509802341,
0.0301243644207716,
0.006515859626233578,
-0.03931395709514618,
-0.0017055448843166232,
0.008835137821733952,
-0.0610889196395874,
0.05590774118900299,
0.08023828268051147,
0.055802714079618454,
0.02117982693016529,
-0.013889415189623833,
-0.030089356005191803,
-0.026325998827815056,
-0.03563812002539635,
-0.030684491619467735,
-0.021039795130491257,
0.061403993517160416,
-0.002400234341621399,
0.036373287439346313,
0.04659561812877655,
0.03465789929032326,
0.0023192784283310175,
-0.069910928606987,
-0.02779633365571499,
0.08562951534986496,
0.0514267198741436,
0.0034504737704992294,
0.05380726233124733,
-0.057378076016902924,
-0.024645615369081497,
-0.06532488763332367,
-0.009504665620625019,
0.021652434021234512,
0.07687751948833466,
0.0040674894116818905,
-0.01772278919816017,
-0.006143900100141764,
-0.031664714217185974,
0.08107847720384598,
0.024855663999915123,
0.04782089591026306,
0.025905903428792953,
0.05251196771860123,
0.004813597071915865,
0.03175223618745804,
0.014178230427205563,
0.02035713940858841,
-0.05923349782824516,
0.01459832675755024,
-0.05576770752668381,
-0.01035360898822546,
-0.02187998592853546,
0.04859107360243797,
0.005876963958144188,
-0.005981988273561001,
-0.04158947616815567,
0.02454059198498726,
-0.00028662782278843224,
0.02902161329984665,
-0.055697690695524216,
0.06493979692459106,
-0.043374884873628616,
0.039068903774023056,
0.001575359026901424,
-0.015254725702106953,
-0.025380782783031464,
0.013136743567883968,
0.055697690695524216,
-0.06959585845470428,
-0.023945456370711327,
-0.022352593019604683,
-0.06003868207335472,
0.025625839829444885,
-0.017031380906701088,
0.02872404456138611,
0.0642046332359314,
-0.056677915155887604,
0.04029418155550957,
-0.007237899117171764,
0.003290749853476882,
-0.00558377243578434,
-0.009128330275416374,
0.009408393874764442,
-0.0668652355670929,
0.013250519521534443,
0.015456021763384342,
0.012384071946144104,
0.002016240730881691,
-0.004198769107460976,
-0.06259426474571228,
0.02349035255610943,
0.04596547409892082,
-0.006052004173398018,
-0.054472412914037704,
-0.04165949299931526,
0.003056633984670043,
0.038648806512355804,
0.05135670304298401,
-0.039348967373371124,
0.007509211078286171,
0.05653788149356842,
-0.03724848851561546,
0.026781102642416954,
-0.024575600400567055,
0.04579043388366699,
-0.022090034559369087,
-0.03808867931365967,
-0.039068903774023056,
-0.04158947616815567,
-0.006402083672583103,
-0.022177552804350853,
-0.008292514830827713,
0.000009487024726695381,
0.03287249058485031,
0.018921811133623123,
-0.026396015658974648,
0.04323485121130943,
-0.020724723115563393,
0.00799932237714529,
-0.030964555218815804,
-0.014764614403247833,
-0.049991391599178314,
0.025748366490006447,
-0.0019954547751694918,
-0.031157100573182106,
0.00517680449411273,
0.009522169828414917,
-0.005951356142759323,
0.010012281127274036,
-0.01777530089020729,
-0.03131463751196861,
-0.03535805642604828,
0.019639475271105766,
-0.029354188591241837,
0.03983907774090767,
-0.03185725957155228,
0.026833614334464073,
-0.04806595295667648,
-0.012454087845981121,
0.011001257225871086,
-0.05373724550008774,
0.08541946113109589,
-0.003608009545132518,
-0.04211459681391716,
-0.0008440204546786845,
-0.022142546251416206,
-0.019341906532645226,
-0.011246312409639359,
0.007461075205355883,
0.011911463923752308,
-0.020497171208262444,
0.011307576671242714,
-0.022002514451742172,
0.03355514630675316,
-0.037948645651340485,
-0.02693863771855831,
0.0009769413154572248,
-0.01722392439842224,
0.052441950887441635,
-0.022667665034532547,
0.014642086811363697,
0.009443402290344238,
0.023717904463410378,
0.01672506146132946,
0.02238760143518448,
0.036268264055252075,
0.004551037214696407,
0.05905845761299133,
-0.050341472029685974,
-0.006279556080698967,
0.050341472029685974,
0.016383733600378036,
0.02378792129456997,
-0.003251365851610899,
0.01832667551934719,
0.03717847168445587,
-0.10061292350292206,
-0.032189834862947464,
0.0018422948196530342,
0.03180474787950516,
0.004082805477082729,
0.03304753080010414,
-0.041624486446380615,
0.041729509830474854,
-0.03439533710479736,
-0.024243025109171867,
0.006914075464010239,
-0.006248923949897289,
-0.013854406774044037,
-0.00290128611959517,
-0.04246467724442482,
0.018921811133623123,
0.054647453129291534,
0.11454610526561737,
0.052792031317949295,
-0.04165949299931526,
-0.00863821804523468,
0.0086250901222229,
0.017512740567326546,
0.037843622267246246,
0.02734122984111309,
0.04652560129761696,
0.02821642905473709,
-0.03176973760128021,
0.0549275167286396,
-0.0017372708534821868,
-0.036443304270505905,
0.03686340153217316,
-0.008288138546049595,
-0.03948899731040001,
0.02426052838563919,
-0.010143561288714409,
0.030982060357928276,
0.08016826957464218,
-0.022790193557739258,
0.0632944256067276,
0.01564856618642807,
-0.04614051431417465,
-0.05520758032798767,
-0.02040965110063553,
0.0004036857280880213,
-0.020322130993008614,
-0.005872588139027357,
-0.06707528233528137,
0.05681794881820679,
0.0466306246817112,
0.008909530006349087,
0.0007149285520426929,
0.03500797599554062,
-0.006612131837755442,
0.062489237636327744,
0.007229147478938103,
-0.011683912016451359,
-0.03159470111131668,
0.06721531599760056,
-0.005089284852147102,
-0.05475247651338577,
0.004220649134367704,
-0.08149857074022293,
0.013303031213581562,
-0.021074801683425903,
-0.022527633234858513,
-0.020794738084077835,
0.024155505001544952,
-0.037843622267246246,
0.02436555176973343,
-0.06577999144792557,
-0.007216019090265036,
-0.006620883475989103,
0.03738851845264435,
0.021249841898679733,
-0.009207097813487053,
-0.009592185728251934,
0.03467540070414543,
0.018134132027626038,
0.01773153990507126,
-0.039874084293842316,
-0.023525360971689224,
0.0022667665034532547,
0.01730269193649292,
-0.04652560129761696,
0.011298825033009052,
0.03567313030362129,
0.009005801752209663,
0.006419587880373001,
-0.009347129613161087,
-0.007014723494648933,
-0.023227792233228683,
-0.01355683896690607,
-0.03577815368771553,
-0.03024689294397831,
-0.03523552790284157,
-0.005054276902228594,
0.043724965304136276,
-0.05076156556606293,
-0.004721701145172119,
-0.02005957067012787,
-0.03192727640271187,
-0.06935080140829086,
0.022405104711651802
] |
52,222 |
osmnx.geometries
|
geometries_from_bbox
|
Do not use: deprecated.
The `geometries` module and `geometries_from_X` functions have been
renamed the `features` module and `features_from_X` functions. Use these
instead. The `geometries` module and functions are deprecated and will be
removed in the v2.0.0 release.
Parameters
----------
north : float
Do not use: deprecated.
south : float
Do not use: deprecated.
east : float
Do not use: deprecated.
west : float
Do not use: deprecated.
tags : dict
Do not use: deprecated.
Returns
-------
gdf : geopandas.GeoDataFrame
|
def geometries_from_bbox(north, south, east, west, tags):
"""
Do not use: deprecated.
The `geometries` module and `geometries_from_X` functions have been
renamed the `features` module and `features_from_X` functions. Use these
instead. The `geometries` module and functions are deprecated and will be
removed in the v2.0.0 release.
Parameters
----------
north : float
Do not use: deprecated.
south : float
Do not use: deprecated.
east : float
Do not use: deprecated.
west : float
Do not use: deprecated.
tags : dict
Do not use: deprecated.
Returns
-------
gdf : geopandas.GeoDataFrame
"""
warn(DEP_MSG, FutureWarning, stacklevel=2)
return features.features_from_bbox(north, south, east, west, tags=tags)
|
(north, south, east, west, tags)
|
[
0.02172142080962658,
-0.04680406302213669,
-0.01785421371459961,
-0.0925961434841156,
-0.08254863321781158,
0.008009999990463257,
0.0031895432621240616,
0.025805482640862465,
-0.001084264018572867,
-0.026907818391919136,
0.015396548435091972,
-0.01978781819343567,
-0.0860905572772026,
-0.0006386992172338068,
-0.01931796967983246,
-0.011267310008406639,
-0.06845320016145706,
-0.04282842576503754,
0.022715330123901367,
-0.05222538113594055,
-0.04196101427078247,
-0.07452507317066193,
0.03037746250629425,
0.036105990409851074,
0.03296162560582161,
0.008077766746282578,
-0.0019448985112830997,
0.007052233442664146,
0.03180507570505142,
-0.011167919263243675,
-0.004210558254271746,
-0.03213035687804222,
0.00013299175770953298,
-0.020131167024374008,
0.014492995105683804,
-0.028046295046806335,
0.055550456047058105,
0.03587106615304947,
0.021829847246408463,
0.0009747081203386188,
-0.04521380737423897,
-0.09953543543815613,
-0.001178007572889328,
0.0028010152745991945,
0.05244223400950432,
-0.018558984622359276,
0.023582741618156433,
-0.014474923722445965,
0.013155736029148102,
0.03260020166635513,
-0.017176548019051552,
-0.036087919026613235,
0.007653096690773964,
0.018459593877196312,
-0.0088322339579463,
-0.02296832576394081,
-0.03838294371962547,
0.0899939090013504,
0.03265441581606865,
0.039178069680929184,
-0.028678782284259796,
0.0030856344383209944,
-0.0251007117331028,
-0.03373868018388748,
-0.008850304409861565,
-0.0005116370739415288,
-0.009875837713479996,
-0.054899897426366806,
-0.011393806897103786,
0.036304771900177,
-0.03921421244740486,
0.04774375632405281,
0.049442436546087265,
0.03906964510679245,
-0.008899999782443047,
0.031443655490875244,
-0.06064649671316147,
0.07029644399881363,
-0.029853401705622673,
-0.004567462019622326,
-0.04318984970450401,
-0.01846862956881523,
-0.007264568470418453,
0.014122538268566132,
0.01719461940228939,
0.0254259891808033,
0.02540791966021061,
0.06538111716508865,
0.05128568410873413,
-0.0521530956029892,
-0.02280568517744541,
-0.008100355044007301,
-0.03975634649395943,
-0.006713401060551405,
0.030359391123056412,
-0.05403248965740204,
-0.06057421490550041,
0.09635492414236069,
-0.011610659770667553,
-0.006785685196518898,
0.03726253658533096,
-0.035473503172397614,
-0.04756304621696472,
0.05016528069972992,
-0.0025751269422471523,
-0.016345279291272163,
-0.0005844860570505261,
-0.07062172889709473,
0.00029732551774941385,
0.0019076268654316664,
-0.03330497443675995,
-0.03990091383457184,
0.07625989615917206,
0.015080304816365242,
-0.032401420176029205,
-0.06321258842945099,
0.05591187998652458,
0.02313096448779106,
-0.004113426432013512,
-0.07253725826740265,
-0.003390583675354719,
0.005141218192875385,
-0.016986802220344543,
0.0003775158547796309,
0.015161624178290367,
0.05573116987943649,
0.04047918692231178,
-0.004955989774316549,
-0.04871959611773491,
-0.03218456730246544,
0.049767717719078064,
0.01911918818950653,
0.021775634959340096,
-0.0011074175126850605,
0.026004264131188393,
-0.054285481572151184,
0.009198172949254513,
0.014673706144094467,
0.03269055858254433,
-0.02764873206615448,
0.011881725862622261,
-0.041238173842430115,
0.015396548435091972,
0.0007827030494809151,
-0.027395736426115036,
0.053634922951459885,
0.007982893846929073,
-0.06548954546451569,
-0.0011565482709556818,
0.01833309605717659,
0.015821218490600586,
0.03780467063188553,
0.01881198026239872,
-0.022896040230989456,
-0.011457055807113647,
-0.06129705533385277,
0.03426274284720421,
-0.08319918811321259,
0.025480203330516815,
0.03780467063188553,
-0.008642487227916718,
0.04861116781830788,
-0.06407999992370605,
0.016833197325468063,
-0.02378152310848236,
0.02508264034986496,
0.005927309859544039,
-0.05833340063691139,
0.0003633978485595435,
-0.009378883056342602,
-0.02426944114267826,
0.11261888593435287,
-0.009930050931870937,
0.01637238636612892,
0.02923898585140705,
0.00908522866666317,
0.041382741183042526,
-0.002149327425286174,
-0.013291269540786743,
-0.008877411484718323,
0.040443047881126404,
0.0430452786386013,
-0.008877411484718323,
0.026148833334445953,
-0.0010001205373555422,
0.03617827594280243,
0.0013880837941542268,
-0.01991431415081024,
-0.01560436561703682,
-0.06144162639975548,
0.0017190101789310575,
-0.01577604003250599,
-0.01407736074179411,
0.024341726675629616,
-0.018233705312013626,
-0.00045798858627676964,
-0.01800781674683094,
0.047671470791101456,
-0.0692121833562851,
0.0932466983795166,
-0.030991878360509872,
0.006731471978127956,
0.03740710765123367,
-0.009306599386036396,
0.0125503558665514,
0.012125685811042786,
-0.041744161397218704,
-0.04409340023994446,
-0.050092995166778564,
-0.01976974681019783,
0.08262091130018234,
-0.03751553222537041,
-0.042394720017910004,
0.03805766627192497,
0.0636824369430542,
0.01929989829659462,
0.06469441950321198,
0.013562334701418877,
0.002889111638069153,
-0.03693725913763046,
0.024576649069786072,
0.001706586335785687,
-0.01245096419006586,
-0.05388791859149933,
-0.00017195749387610704,
-0.021107004955410957,
0.020474517717957497,
-0.018775837495923042,
0.0112492386251688,
-0.06830862909555435,
0.0118997972458601,
-0.05840568616986275,
-0.039286497980356216,
-0.05273137241601944,
-0.0004786008794326335,
0.02313096448779106,
0.03950335085391998,
-0.03198578581213951,
0.04900873079895973,
-0.036250557750463486,
0.03605177626013756,
-0.03780467063188553,
-0.04644263908267021,
0.027684872969985008,
0.03276284411549568,
-0.07575391232967377,
-0.018938478082418442,
-0.047201626002788544,
0.022118985652923584,
0.0005655679269693792,
-0.06379086524248123,
0.03290741145610809,
0.03646741062402725,
0.021649137139320374,
-0.023853806778788567,
-0.08276548236608505,
0.006243553478270769,
-0.03939492255449295,
-0.009270456619560719,
-0.018224669620394707,
-0.013273198157548904,
-0.04000934213399887,
-0.004149568732827902,
0.06046578660607338,
0.07091086357831955,
0.007422690279781818,
0.029365481808781624,
-0.015812182798981667,
-0.02557055838406086,
0.010463147424161434,
-0.08486172556877136,
0.020203452557325363,
0.0027829441241919994,
-0.014185787178575993,
0.035473503172397614,
-0.05424933880567551,
0.017718680202960968,
-0.07495877891778946,
0.03925035521388054,
-0.0007798794540576637,
0.001819530501961708,
-0.02090822346508503,
-0.08023553341627121,
0.06747736036777496,
-0.009342741221189499,
-0.011737157590687275,
0.006144162267446518,
0.001385824871249497,
0.059092387557029724,
-0.07109157741069794,
-0.01534233521670103,
0.0218479186296463,
0.03263634443283081,
-0.04535837471485138,
0.03007025457918644,
-0.007422690279781818,
-0.030178681015968323,
-0.007241979707032442,
0.02848000079393387,
-0.0479244664311409,
0.05143025517463684,
0.007336853072047234,
0.033991675823926926,
0.08117523044347763,
0.04308142140507698,
-0.014149644412100315,
0.0009509898372925818,
-0.039141930639743805,
-0.024070659652352333,
-0.03791309520602226,
-0.018757766112685204,
-0.0466233491897583,
0.04416568577289581,
-0.06295959651470184,
-0.026727106422185898,
-0.014926700852811337,
-0.010698070749640465,
0.0029162182472646236,
-0.02524527907371521,
-0.0018274366157129407,
-0.007309746462851763,
-0.021287715062499046,
0.03554578870534897,
0.0294016245752573,
0.019679391756653786,
0.06798335164785385,
-0.03780467063188553,
-0.01944446749985218,
0.04008162394165993,
0.0106800002977252,
-0.029961828142404556,
0.042539291083812714,
0.06942903250455856,
0.040262334048748016,
-0.0581526905298233,
-0.02231776714324951,
0.031913504004478455,
0.015622437000274658,
-0.033196549862623215,
-0.023383960127830505,
-0.020058883354067802,
0.033033907413482666,
-0.012170863337814808,
0.013652690686285496,
-0.015631472691893578,
-0.013282233849167824,
-0.021341929212212563,
-0.05287593975663185,
0.024721218273043633,
-0.008534060791134834,
-0.01669766567647457,
-0.006614010315388441,
0.023510457947850227,
0.03950335085391998,
0.005516192875802517,
0.043334417045116425,
0.018224669620394707,
0.07503106445074081,
0.04546680301427841,
-0.010571573860943317,
0.004323502536863089,
-0.015559188090264797,
0.017149440944194794,
-0.01311055850237608,
0.006993502378463745,
0.01833309605717659,
0.039937056601047516,
0.031443655490875244,
-0.04980385676026344,
-0.01736629381775856,
0.01879390887916088,
0.038346800953149796,
-0.0347687304019928,
0.05533360317349434,
-0.012333502992987633,
-0.03308812156319618,
-0.03278091549873352,
-0.03762396052479744,
-0.039467208087444305,
0.04680406302213669,
-0.03700954467058182,
-0.026654822751879692,
0.05981522798538208,
-0.02990761399269104,
0.05674314871430397,
-0.02365502528846264,
-0.028335431590676308,
0.01976974681019783,
0.009604771621525288,
-0.06306801736354828,
-0.06379086524248123,
-0.010183045640587807,
-0.04275614395737648,
0.08095837384462357,
-0.021486498415470123,
-0.028895635157823563,
0.044780101627111435,
-0.02636568620800972,
0.05938152223825455,
-0.023040609434247017,
-0.03997319936752319,
0.02219126932322979,
-0.019823959097266197,
-0.005845990031957626,
-0.04521380737423897,
0.025046497583389282,
0.016778985038399696,
-0.03816609084606171,
0.03874436765909195,
-0.041057463735342026,
0.024341726675629616,
0.027088528499007225,
0.007838324643671513,
0.08066923916339874,
-0.010092690587043762,
0.06451370567083359,
0.009211725555360317,
0.03715411201119423,
-0.03068467043340206,
-0.002552538178861141,
0.016598274931311607,
-0.01879390887916088,
-0.02219126932322979,
0.009487309493124485,
0.02027573622763157,
-0.00901746191084385,
-0.03404588997364044,
-0.07333238422870636,
0.03478680178523064,
0.02103472128510475,
-0.02188406139612198,
-0.026636751368641853,
-0.0722842663526535,
-0.017890354618430138,
0.016607310622930527,
-0.029148628935217857,
-0.02023959346115589,
-0.006035736296325922,
-0.002771649742498994,
0.026582539081573486,
0.01849573664367199,
0.007915127091109753,
0.053960204124450684,
-0.001267233514226973,
-0.015839289873838425,
-0.07304324954748154,
0.025191066786646843,
0.0237995944917202,
0.019372183829545975,
-0.03312426432967186,
0.08717482537031174,
-0.01284852810204029,
0.028678782284259796,
0.015251980163156986,
0.017266903072595596,
0.006623045541346073,
0.04008162394165993,
-0.03269055858254433,
-0.034985583275556564,
0.026925887912511826,
0.007648578844964504,
-0.047346193343400955,
-0.0006302284309640527,
0.033503755927085876,
0.014429746195673943,
0.02300446666777134,
0.02622111700475216,
-0.07156141847372055,
0.006659187842160463,
-0.00009332011541118845,
0.08912649750709534,
-0.03635898604989052,
0.03758781775832176,
-0.06277888268232346,
0.03758781775832176,
0.04940629377961159,
-0.04120203107595444,
0.008967766538262367,
0.06650152057409286,
-0.06147776544094086,
-0.017113300040364265,
0.008479847572743893,
0.02569705620408058,
0.023347817361354828,
-0.015857361257076263,
0.08486172556877136,
0.019046904519200325,
-0.015676649287343025,
0.02282375656068325,
-0.05833340063691139,
-0.025931980460882187,
0.037045687437057495,
0.007811218500137329,
-0.03906964510679245,
0.04055147245526314,
0.07409137487411499,
0.03424467146396637,
0.01030050776898861,
-0.008899999782443047,
0.016914518550038338,
0.0000830845528980717,
-0.018423451110720634,
0.014682740904390812,
-0.02730538137257099,
0.02251654863357544,
-0.03972020372748375,
0.022950254380702972,
0.023582741618156433,
0.037045687437057495,
0.003553223330527544,
-0.012441929429769516,
-0.013146700337529182,
0.0705133005976677,
0.017492791637778282,
-0.018242741003632545,
0.04134659841656685,
-0.06223675236105919,
0.040587615221738815,
-0.011782335117459297,
0.048972588032484055,
0.020944366231560707,
0.05674314871430397,
0.03682883456349373,
-0.009758375585079193,
0.005547817330807447,
-0.022245481610298157,
0.04185258969664574,
0.01928182691335678,
0.03863593935966492,
-0.027088528499007225,
0.023582741618156433,
-0.02893177606165409,
0.02508264034986496,
0.012197969481348991,
-0.001865837606601417,
-0.07647675275802612,
0.06158619374036789,
-0.050562843680381775,
0.05883939191699028,
-0.04441868141293526,
0.034353096038103104,
-0.009884873405098915,
-0.012993096373975277,
0.044310253113508224,
-0.00345609150826931,
0.021197360008955002,
0.004888223484158516,
-0.03751553222537041,
0.030919594690203667,
-0.014005076140165329,
0.050888121128082275,
-0.007856396026909351,
0.0059905583038926125,
0.003781370585784316,
0.004824974574148655,
0.02960040606558323,
-0.0653088316321373,
-0.0011226650094613433,
-0.04311756417155266,
-0.03634091466665268,
0.003641319926828146,
-0.015053197741508484,
0.062128324061632156,
0.06924832612276077,
-0.04618964344263077,
0.038672082126140594,
0.027558375149965286,
0.027919797226786613,
-0.020781725645065308,
-0.019046904519200325,
0.02459472045302391,
-0.030034111812710762,
0.011167919263243675,
-0.023438172414898872,
0.03975634649395943,
0.02638375572860241,
-0.04355126991868019,
-0.03852751478552818,
-0.02217319793999195,
-0.03628670051693916,
0.01245999988168478,
-0.05341807007789612,
-0.030323248356580734,
-0.01911918818950653,
0.018613198772072792,
0.040587615221738815,
-0.05609259009361267,
-0.016607310622930527,
0.08450030535459518,
-0.009812588803470135,
0.05594801902770996,
0.0305401012301445,
0.08558456599712372,
-0.010128832422196865,
-0.031082233414053917,
-0.02139614149928093,
-0.06664609163999557,
-0.01577604003250599,
-0.029817258939146996,
-0.023402031511068344,
0.014655634760856628,
0.0607549250125885,
0.04387654736638069,
-0.008881929330527782,
0.019028833135962486,
-0.0021504568867385387,
-0.00566076161339879,
-0.040298476815223694,
-0.05793583765625954,
-0.02811857871711254,
0.024504365399479866,
-0.005714974831789732,
0.016797056421637535,
0.022100914269685745,
0.006180304568260908,
0.035636141896247864,
-0.002534467028453946,
-0.005236091557890177,
0.0005325317033566535,
-0.00843467004597187,
0.006306801922619343,
-0.04561137035489082,
0.013571370393037796,
-0.003855913644656539,
0.02782944217324257,
-0.06089949235320091,
0.02893177606165409,
-0.000770843937061727,
-0.0584779717028141,
0.05045441538095474,
0.021287715062499046,
-0.07886213064193726,
0.05439390987157822,
-0.03135329857468605,
-0.04409340023994446,
0.015504974871873856,
0.019534822553396225,
-0.003207614179700613,
-0.03816609084606171,
0.023221319541335106,
-0.018423451110720634,
0.016598274931311607,
0.013616547919809818,
-0.03361218422651291,
0.0070160916075110435,
-0.016209745779633522,
0.02602233551442623,
-0.002974949311465025,
0.021631065756082535,
0.010896853171288967,
0.009613807313144207,
0.007499492261558771,
0.01335451751947403,
-0.0218479186296463,
-0.007824772037565708,
0.05244223400950432,
-0.020691370591521263,
-0.010878781788051128,
0.0742359384894371,
-0.020167309790849686,
0.01005654875189066,
-0.01503512728959322,
0.052333809435367584,
0.040298476815223694,
-0.07474192976951599,
0.00907167512923479,
-0.022769544273614883,
0.05157482251524925,
0.010779391042888165,
0.05453847721219063,
-0.005213502794504166,
0.004834010265767574,
0.00004125991472392343,
-0.020691370591521263,
-0.08197035640478134,
0.02732345275580883,
-0.004185710567981005,
-0.033521827310323715,
0.0020657486747950315,
0.020311878994107246,
0.06050192937254906,
0.08710253983736038,
-0.016010964289307594,
0.001890685292892158,
-0.003530634567141533,
-0.0006002982263453305,
-0.02089015208184719,
0.04000934213399887,
0.037045687437057495,
0.025534415617585182,
0.02634761482477188,
-0.014926700852811337,
0.04965928941965103,
0.03888893499970436,
-0.029853401705622673,
0.006410710513591766,
0.02235390804708004,
-0.05424933880567551,
0.04452710598707199,
0.010264365933835506,
0.027684872969985008,
0.025010354816913605,
-0.06841705739498138,
0.07138071209192276,
0.04326213151216507,
-0.035437360405921936,
-0.015396548435091972,
0.014185787178575993,
-0.021486498415470123,
-0.030359391123056412,
0.008899999782443047,
-0.05439390987157822,
0.03147979825735092,
0.034660305827856064,
0.054430052638053894,
-0.02683553285896778,
0.03073888272047043,
-0.0036300253123044968,
0.03516629338264465,
-0.042033299803733826,
0.02027573622763157,
-0.00965898483991623,
0.04134659841656685,
0.008534060791134834,
0.014818274416029453,
0.017122335731983185,
-0.026925887912511826,
0.002305190311744809,
-0.045755937695503235,
-0.02894984744489193,
0.02638375572860241,
-0.0026812944561243057,
-0.023383960127830505,
0.03812994807958603,
-0.034804873168468475,
-0.04047918692231178,
-0.008606345392763615,
0.019498679786920547,
-0.01863126829266548,
0.024974213913083076,
0.029943756759166718,
0.033847108483314514,
0.032365281134843826,
0.013526192866265774,
-0.052189238369464874,
-0.03408202901482582,
0.04145502671599388,
-0.027269238606095314,
-0.011357665061950684,
0.012288324534893036,
0.03213035687804222,
0.025191066786646843,
0.02459472045302391,
-0.009180101566016674,
0.008656040765345097,
-0.03180507570505142,
0.003230203175917268,
-0.02719695493578911,
-0.0521530956029892,
-0.042864568531513214,
-0.008723807521164417,
0.018703553825616837,
-0.04611736163496971,
0.026257259771227837,
-0.03953949362039566,
0.010427005589008331,
-0.015965787693858147,
0.025462131947278976
] |
52,223 |
osmnx.geometries
|
geometries_from_place
|
Do not use: deprecated.
The `geometries` module and `geometries_from_X` functions have been
renamed the `features` module and `features_from_X` functions. Use these
instead. The `geometries` module and functions are deprecated and will be
removed in the v2.0.0 release.
Parameters
----------
query : string or dict or list
Do not use: deprecated.
tags : dict
Do not use: deprecated.
which_result : int
Do not use: deprecated.
buffer_dist : float
Do not use: deprecated.
Returns
-------
gdf : geopandas.GeoDataFrame
|
def geometries_from_place(query, tags, which_result=None, buffer_dist=None):
"""
Do not use: deprecated.
The `geometries` module and `geometries_from_X` functions have been
renamed the `features` module and `features_from_X` functions. Use these
instead. The `geometries` module and functions are deprecated and will be
removed in the v2.0.0 release.
Parameters
----------
query : string or dict or list
Do not use: deprecated.
tags : dict
Do not use: deprecated.
which_result : int
Do not use: deprecated.
buffer_dist : float
Do not use: deprecated.
Returns
-------
gdf : geopandas.GeoDataFrame
"""
warn(DEP_MSG, FutureWarning, stacklevel=2)
return features.features_from_place(query, tags, which_result, buffer_dist)
|
(query, tags, which_result=None, buffer_dist=None)
|
[
0.060004476457834244,
-0.016539694741368294,
-0.04517819359898567,
-0.10853956639766693,
-0.027169859036803246,
0.022606581449508667,
0.010551486164331436,
0.004454003646969795,
0.000528612406924367,
0.011810321360826492,
0.032764680683612823,
0.007120286114513874,
-0.07895693928003311,
-0.01438918523490429,
-0.018917495384812355,
0.02932036854326725,
-0.015665503218770027,
-0.03283461555838585,
-0.020351167768239975,
-0.019704267382621765,
-0.03008965589106083,
-0.025159219279885292,
0.02736218087375164,
-0.0035120625980198383,
0.057661641389131546,
0.017579982057213783,
0.009511198848485947,
-0.03257235884666443,
0.0012129400856792927,
0.01223867479711771,
0.02512425184249878,
-0.01157428976148367,
-0.018497882410883904,
-0.010455325245857239,
-0.0636061429977417,
-0.022851355373859406,
0.06703297048807144,
0.02591102384030819,
0.10196564346551895,
0.010682614520192146,
-0.03825460001826286,
-0.053185783326625824,
-0.011364484205842018,
-0.024931930005550385,
0.015420730225741863,
-0.036855895072221756,
0.02239677496254444,
-0.01647850126028061,
-0.002458662260323763,
0.025159219279885292,
0.02498438023030758,
-0.020630909129977226,
-0.009380070492625237,
0.021907228976488113,
-0.04283536225557327,
-0.0502135343849659,
-0.023498255759477615,
0.10441338270902634,
-0.001817224663682282,
-0.017064210027456284,
-0.03863924369215965,
0.022221937775611877,
0.005975096020847559,
0.02760695293545723,
-0.03678596019744873,
-0.04584258049726486,
0.005494290962815285,
-0.03783499076962471,
-0.03902388736605644,
0.039863113313913345,
-0.033061906695365906,
0.039478469640016556,
0.016557179391384125,
0.008335411548614502,
-0.02839372493326664,
0.08469162881374359,
-0.013313929550349712,
0.00043791509233415127,
0.013313929550349712,
-0.006853657774627209,
-0.03727550804615021,
0.024110188707709312,
0.01348002627491951,
-0.05206682160496712,
-0.0014183750608935952,
0.01898743025958538,
-0.004038762766867876,
0.05668254941701889,
0.042066074907779694,
-0.05500410124659538,
-0.04241574928164482,
0.004751228261739016,
-0.03231010213494301,
-0.015569343231618404,
0.044548776000738144,
-0.008484024554491043,
-0.03465293347835541,
-0.007692881394177675,
-0.05073804780840874,
0.008479652926325798,
0.025229154154658318,
0.02078826352953911,
0.014826280064880848,
0.023777997121214867,
0.0018926236080005765,
0.007242673076689243,
0.0022947515826672316,
-0.06556432694196701,
0.028166435658931732,
0.004637583624571562,
-0.053185783326625824,
0.018567819148302078,
0.07650920003652573,
0.04328994080424309,
-0.010009488090872765,
-0.03533480316400528,
-0.004908582661300898,
0.032659776508808136,
-0.007601091172546148,
0.01249219011515379,
0.004965405445545912,
0.0008534290245734155,
0.041436657309532166,
-0.02092813327908516,
-0.03522989898920059,
0.03517744690179825,
0.018392980098724365,
-0.024162640795111656,
-0.02853359654545784,
-0.038534343242645264,
0.05374526605010033,
0.007334462832659483,
-0.004475858062505722,
-0.01091864611953497,
0.024774575605988503,
0.014966150745749474,
-0.0046856640838086605,
-0.035159964114427567,
0.030561719089746475,
0.02760695293545723,
0.03244997188448906,
-0.00429009273648262,
-0.0108661949634552,
0.01119838748127222,
-0.04766089841723442,
0.03773008659482002,
0.02799159847199917,
-0.027029987424612045,
-0.021400196477770805,
-0.028481144458055496,
0.0014598991256207228,
-0.0040431334637105465,
0.059864602982997894,
0.008623895235359669,
-0.004178633447736502,
-0.037240538746118546,
0.03755524754524231,
-0.04947921261191368,
0.009511198848485947,
-0.02685515023767948,
0.038149699568748474,
0.006350998301059008,
-0.01294676959514618,
0.026278182864189148,
-0.008484024554491043,
-0.006434046197682619,
-0.03468790277838707,
-0.02774682454764843,
-0.01165296696126461,
0.03339409828186035,
0.041821300983428955,
0.12413512915372849,
0.057906415313482285,
-0.009476231411099434,
-0.017300240695476532,
0.02445986680686474,
0.023865416646003723,
-0.04059743136167526,
0.019581880420446396,
-0.008191170170903206,
0.053850170224905014,
-0.02802656590938568,
-0.017510047182440758,
0.04710141569375992,
-0.008794361725449562,
0.024966897442936897,
0.009248941205441952,
-0.028743403032422066,
0.002622573170810938,
-0.003308813087642193,
-0.007469962816685438,
-0.025071799755096436,
-0.001666426775045693,
-0.047451090067625046,
-0.010437841527163982,
-0.009651069529354572,
-0.0560181625187397,
0.023323416709899902,
-0.04801057279109955,
0.09553159773349762,
-0.0557384230196476,
0.047171350568532944,
-0.026365602388978004,
-0.006355368997901678,
0.004038762766867876,
0.03113868646323681,
-0.052171722054481506,
-0.09525185823440552,
0.013235252350568771,
0.003236692398786545,
0.05577338859438896,
-0.008090638555586338,
-0.004423406906425953,
0.06626368314027786,
0.03426828980445862,
-0.0006245002150535583,
-0.03495015949010849,
0.030579203739762306,
0.018777623772621155,
-0.039093825966119766,
0.028113985434174538,
-0.077558234333992,
0.01806078664958477,
0.008169315755367279,
-0.03313184157013893,
0.006342255976051092,
0.04591251537203789,
-0.008811846375465393,
-0.0030574833508580923,
-0.03210029751062393,
0.048884764313697815,
-0.07629939913749695,
0.038814082741737366,
-0.09336360543966293,
0.010839968919754028,
0.004585132002830505,
0.021627487614750862,
0.038394469767808914,
0.02435496263206005,
-0.019442008808255196,
0.013908379711210728,
0.015674246475100517,
-0.013707315549254417,
-0.003094636369496584,
-0.04133175313472748,
-0.02302619256079197,
-0.04853508621454239,
-0.0504932776093483,
0.010726324282586575,
0.002170179272070527,
-0.046017419546842575,
0.03846440836787224,
0.013567445799708366,
-0.0007681953720748425,
0.013707315549254417,
-0.13560451567173004,
-0.0277293398976326,
-0.04776579886674881,
0.006490868516266346,
0.0031470877584069967,
-0.02409270592033863,
-0.03285210207104683,
0.026278182864189148,
0.03937356546521187,
0.018410464748740196,
0.00883370079100132,
0.0004600430547725409,
-0.033061906695365906,
-0.025823604315519333,
-0.0017953698989003897,
-0.08567072451114655,
0.05706719309091568,
-0.0027711857110261917,
-0.03036939725279808,
-0.006066885776817799,
-0.020893165841698647,
-0.0265579242259264,
0.0029613221995532513,
-0.034862738102674484,
-0.025683732703328133,
-0.002212796127423644,
-0.04094710946083069,
-0.05906035006046295,
0.04668180271983147,
-0.02054348960518837,
0.027816759422421455,
0.007434994913637638,
0.06738264858722687,
0.07196340709924698,
0.0020139177795499563,
0.008484024554491043,
0.016329888254404068,
-0.02970501221716404,
-0.035142481327056885,
0.024774575605988503,
0.030177075415849686,
0.011504354886710644,
-0.022571614012122154,
0.01229112595319748,
0.015919018536806107,
0.005437468644231558,
0.021417681127786636,
0.03891898691654205,
0.07748829573392868,
0.03210029751062393,
0.08126480132341385,
0.024389930069446564,
-0.04661186784505844,
-0.04304516687989235,
0.026662828400731087,
0.018008336424827576,
-0.031208621338009834,
-0.06647349148988724,
-0.05979466810822487,
0.00030460095149464905,
0.00618053087964654,
0.005516145844012499,
0.018655236810445786,
-0.03064913861453533,
-0.04087717458605766,
-0.05860576778650284,
0.023882899433374405,
0.025823604315519333,
-0.03717060387134552,
-0.011556806042790413,
0.03661112114787102,
-0.058430932462215424,
-0.024110188707709312,
0.02720482647418976,
0.04958411678671837,
-0.0036672314163297415,
0.06615877896547318,
0.03244997188448906,
0.06483001261949539,
-0.02736218087375164,
-0.0027580729220062494,
0.043394844979047775,
0.011915224604308605,
0.002956951269879937,
0.000005263073944661301,
0.043639618903398514,
0.04070233553647995,
-0.02764192223548889,
0.021312778815627098,
-0.03835950419306755,
0.0023777997121214867,
-0.03755524754524231,
-0.011364484205842018,
0.040002983063459396,
-0.05430474877357483,
-0.02487947791814804,
-0.05433971807360649,
0.0282888226211071,
0.05566848814487457,
0.06825684010982513,
0.041961170732975006,
-0.01126832328736782,
0.06612381339073181,
0.04241574928164482,
0.016714533790946007,
0.009004168212413788,
-0.026383087038993835,
0.02187225967645645,
-0.04629715904593468,
-0.02748456783592701,
-0.01688937097787857,
0.042066074907779694,
-0.027834244072437286,
-0.05147236958146095,
-0.004912953823804855,
-0.000656736025121063,
0.0102105513215065,
-0.03286958485841751,
0.05336062237620354,
0.00255045248195529,
-0.020053943619132042,
-0.022746451199054718,
-0.005612306762486696,
-0.10168590396642685,
0.01886504329741001,
-0.030299462378025055,
0.009589876048266888,
0.05668254941701889,
-0.024652188643813133,
0.05301094800233841,
-0.01550814975053072,
-0.0772784873843193,
-0.004412479232996702,
0.03807976469397545,
-0.051612239331007004,
-0.046017419546842575,
-0.017064210027456284,
0.012186223641037941,
0.05808125436306,
-0.014756345190107822,
0.036331381648778915,
0.00007649172039236873,
-0.02383044920861721,
-0.023638125509023666,
-0.003975383937358856,
0.018218141049146652,
-0.018025819212198257,
-0.009327618405222893,
0.01674950122833252,
-0.02108548767864704,
-0.026225732639431953,
-0.006350998301059008,
0.0014402298256754875,
-0.013558703474700451,
-0.05787144973874092,
-0.009895842522382736,
-0.04881482943892479,
-0.023113612085580826,
0.04136672243475914,
-0.0665084570646286,
0.0709143802523613,
-0.025841087102890015,
0.0665084570646286,
-0.009371328167617321,
0.07483075559139252,
0.02720482647418976,
-0.011381967924535275,
-0.03495015949010849,
0.0029984754510223866,
-0.024285027757287025,
0.0010719768470153213,
-0.008562701754271984,
-0.010743808001279831,
0.07678893953561783,
0.0294602382928133,
-0.010044455528259277,
-0.0175187885761261,
-0.03386616334319115,
0.0027165487408638,
-0.01594524458050728,
-0.010656389407813549,
-0.03412842005491257,
0.043115101754665375,
0.0020849457941949368,
-0.014100701548159122,
0.027939146384596825,
-0.013034189119935036,
0.05402500927448273,
0.008986684493720531,
0.01860278658568859,
-0.05252140015363693,
0.004742486402392387,
0.029914818704128265,
-0.002253227401524782,
-0.07958635687828064,
0.11007814109325409,
-0.0016249025939032435,
0.032764680683612823,
0.047975607216358185,
0.04556283727288246,
0.005883305799216032,
0.012186223641037941,
-0.02839372493326664,
-0.07143889367580414,
0.03612157329916954,
0.009458747692406178,
0.00010278574336552992,
-0.011399451643228531,
0.035020094364881516,
-0.025683732703328133,
0.018253110349178314,
0.020998070016503334,
-0.05640280619263649,
-0.0120376106351614,
-0.025438960641622543,
0.0557384230196476,
-0.021907228976488113,
0.00017948234744835645,
-0.03229261934757233,
0.021627487614750862,
0.045492902398109436,
-0.009397554211318493,
-0.008553959429264069,
0.04440890625119209,
-0.015219666063785553,
0.02419760823249817,
-0.043394844979047775,
-0.0002435441710986197,
0.006364110857248306,
-0.017492562532424927,
0.06647349148988724,
-0.004799308720976114,
-0.0021122642792761326,
0.01832304522395134,
-0.008912377990782261,
-0.04451381042599678,
0.042730458080768585,
-0.006403449457138777,
-0.0872092992067337,
0.046506963670253754,
0.1023852601647377,
0.045108258724212646,
-0.0005682241753675044,
-0.005162098444998264,
-0.0022423001937568188,
0.0050003728829324245,
-0.02068336121737957,
-0.016277438029646873,
0.0005176850245334208,
0.022571614012122154,
-0.02942527085542679,
0.08734916895627975,
0.03393609821796417,
0.004598245024681091,
0.02265903167426586,
-0.07308237254619598,
-0.0342857725918293,
0.09434270113706589,
0.013960830867290497,
-0.016198759898543358,
0.009790940210223198,
-0.04989882558584213,
-0.008650120347738266,
-0.06266201287508011,
0.01190648227930069,
0.02683766558766365,
0.09588127583265305,
-0.010944872163236141,
0.007828380912542343,
-0.014048250392079353,
-0.07052973657846451,
0.06997025012969971,
-0.014231830835342407,
0.042870331555604935,
-0.05440965294837952,
0.02316606417298317,
-0.03218771517276764,
0.021400196477770805,
0.026400569826364517,
0.045877546072006226,
-0.059095315635204315,
0.03510751202702522,
-0.02472212351858616,
-0.05035340413451195,
-0.026400569826364517,
0.05430474877357483,
0.010105649009346962,
-0.04199614003300667,
-0.04500335454940796,
0.04629715904593468,
0.008475282229483128,
-0.0013233067002147436,
-0.05220669135451317,
0.07832752168178558,
-0.03439067676663399,
0.029215466231107712,
-0.00023808047990314662,
0.013086640276014805,
0.028463661670684814,
0.01307789795100689,
0.05745183676481247,
-0.027449600398540497,
-0.010297970846295357,
-0.005210178904235363,
-0.05692732334136963,
0.02813146822154522,
-0.001506886794231832,
0.024127673357725143,
0.08350273221731186,
-0.022064583376049995,
0.010123132728040218,
-0.013296445831656456,
0.05979466810822487,
-0.01689811423420906,
-0.013182801194489002,
0.028463661670684814,
-0.029110562056303024,
0.033446550369262695,
0.004294463433325291,
0.04661186784505844,
-0.01078751776367426,
-0.03430325910449028,
-0.01896994560956955,
0.03965330496430397,
0.005428726319223642,
-0.014030766673386097,
-0.03989807888865471,
-0.01834052801132202,
-0.01951194368302822,
0.028481144458055496,
0.06357117742300034,
-0.03152332827448845,
0.002107893116772175,
0.06063389405608177,
-0.03155829757452011,
0.05108772590756416,
-0.005402500741183758,
0.06392084807157516,
0.03162823244929314,
0.0205609742552042,
0.0000037605582292599138,
-0.041681431233882904,
-0.035789381712675095,
-0.05982963740825653,
0.00030596688156947494,
0.012430996634066105,
0.005839596502482891,
0.009458747692406178,
-0.0175624992698431,
0.024250060319900513,
-0.010070680640637875,
-0.0460873544216156,
0.013130350038409233,
-0.03549215570092201,
-0.0151759572327137,
0.047171350568532944,
-0.041401688009500504,
0.012186223641037941,
0.06766238808631897,
-0.008265476673841476,
0.02068336121737957,
0.02970501221716404,
0.02078826352953911,
-0.03856930881738663,
-0.025229154154658318,
-0.007950767874717712,
-0.008658862672746181,
0.0348452553153038,
-0.02800908125936985,
0.025299089029431343,
-0.06003944203257561,
0.032012876123189926,
-0.0015953986439853907,
-0.030054688453674316,
0.07937654852867126,
0.0481504425406456,
-0.030701590701937675,
0.03930363059043884,
-0.03419835492968559,
-0.049689020961523056,
0.00792454183101654,
0.0035863688681274652,
0.007740961853414774,
-0.027134891599416733,
-0.00858018547296524,
-0.02697753719985485,
0.037485312670469284,
-0.005363162141293287,
-0.029145529493689537,
-0.012221191078424454,
-0.0560181625187397,
0.04224091395735741,
0.004307576455175877,
0.04972398653626442,
0.01965181529521942,
-0.0029744349885731936,
0.008361637592315674,
0.02330593392252922,
0.016583405435085297,
0.019704267382621765,
0.027589470148086548,
-0.06843167543411255,
-0.04881482943892479,
0.03891898691654205,
0.017046725377440453,
0.0402827225625515,
0.017230305820703506,
0.004825534764677286,
-0.006836174055933952,
-0.11721153557300568,
-0.011819062754511833,
0.005258259363472462,
0.022466709837317467,
-0.0036869007162749767,
0.06584407389163971,
-0.04661186784505844,
-0.006635110359638929,
-0.0192496869713068,
-0.03745034709572792,
-0.06521465629339218,
0.02473960630595684,
-0.0034749095793813467,
0.004071544855833054,
-0.03197791054844856,
-0.0230436772108078,
0.039968013763427734,
0.10777027159929276,
0.03835950419306755,
-0.011617999523878098,
-0.02486199326813221,
0.0168631449341774,
-0.0034290144685655832,
0.042590588331222534,
0.047730833292007446,
-0.03141842782497406,
-0.00014984181325417012,
-0.007032867055386305,
0.05605313181877136,
-0.00350332073867321,
-0.024372447282075882,
0.008597669191658497,
0.013838444836437702,
-0.07196340709924698,
-0.0012697625206783414,
0.007413140032440424,
0.04080723971128464,
0.03362138941884041,
-0.015674246475100517,
0.002557008760049939,
-0.010586453601717949,
0.010359164327383041,
-0.03916376084089279,
-0.023201031610369682,
-0.024162640795111656,
-0.03217023238539696,
-0.009773456491529942,
-0.05587829276919365,
0.034250807017087936,
0.02577115222811699,
0.024966897442936897,
-0.0016828178195282817,
0.03418087214231491,
0.012955511920154095,
0.08105499297380447,
-0.039478469640016556,
0.03898892179131508,
-0.04045756161212921,
0.03360390290617943,
0.01663585565984249,
-0.012850608676671982,
-0.006683190818876028,
-0.036855895072221756,
-0.02054348960518837,
-0.02958262525498867,
-0.010289228521287441,
-0.032939519733190536,
0.014581507071852684,
-0.052416495978832245,
-0.0056997258216142654,
-0.020071426406502724,
-0.02015884593129158,
0.0015735438792034984,
0.013051672838628292,
0.023900384083390236,
0.04164646193385124,
-0.05231159180402756,
0.030124623328447342,
-0.016172533854842186,
0.0027580729220062494,
0.010577712208032608,
-0.049689020961523056,
0.02760695293545723,
-0.02003645896911621,
-0.05052824318408966,
0.020770778879523277,
0.042625557631254196,
-0.013716057874262333,
0.05626293644309044,
0.046786706894636154,
0.03689086437225342,
0.0051708403043448925,
0.0035011351574212313,
0.024564769119024277,
0.00217673578299582,
-0.03362138941884041,
-0.02905811183154583,
0.019074849784374237,
-0.01222993340343237,
-0.013576187193393707,
-0.02302619256079197,
-0.047730833292007446,
-0.044688645750284195,
-0.0024258801713585854
] |
52,224 |
osmnx.geometries
|
geometries_from_point
|
Do not use: deprecated.
The `geometries` module and `geometries_from_X` functions have been
renamed the `features` module and `features_from_X` functions. Use these
instead. The `geometries` module and functions are deprecated and will be
removed in the v2.0.0 release.
Parameters
----------
center_point : tuple
Do not use: deprecated.
tags : dict
Do not use: deprecated.
dist : numeric
Do not use: deprecated.
Returns
-------
gdf : geopandas.GeoDataFrame
|
def geometries_from_point(center_point, tags, dist=1000):
"""
Do not use: deprecated.
The `geometries` module and `geometries_from_X` functions have been
renamed the `features` module and `features_from_X` functions. Use these
instead. The `geometries` module and functions are deprecated and will be
removed in the v2.0.0 release.
Parameters
----------
center_point : tuple
Do not use: deprecated.
tags : dict
Do not use: deprecated.
dist : numeric
Do not use: deprecated.
Returns
-------
gdf : geopandas.GeoDataFrame
"""
warn(DEP_MSG, FutureWarning, stacklevel=2)
return features.features_from_point(center_point, tags, dist)
|
(center_point, tags, dist=1000)
|
[
0.01686091162264347,
-0.00653217826038599,
-0.004149467684328556,
-0.03742193058133125,
-0.0010203788988292217,
0.0020791178103536367,
0.015265131369233131,
0.03819351643323898,
0.022481216117739677,
0.01456368900835514,
-0.0222532469779253,
-0.014809194020926952,
-0.08277015388011932,
0.022902080789208412,
-0.00019412954861763865,
-0.01914936676621437,
-0.04745255038142204,
-0.02837332710623741,
0.021060794591903687,
-0.008114807307720184,
-0.0030381204560399055,
-0.005558927543461323,
0.06284920126199722,
0.022481216117739677,
0.009083673357963562,
0.034984417259693146,
-0.003143336856737733,
-0.010170908644795418,
0.031073879450559616,
-0.03307298943400383,
0.036615271121263504,
-0.009890331886708736,
-0.003169640898704529,
0.012520738877356052,
-0.001242867554537952,
0.009741275571286678,
0.01848299615085125,
0.025164231657981873,
0.0459444485604763,
0.029723603278398514,
-0.07217837870121002,
-0.06432222574949265,
0.00556769547984004,
-0.021306300535798073,
0.009714971296489239,
0.008338391780853271,
0.011459807865321636,
0.019061686471104622,
0.013616742566227913,
-0.015168682672083378,
0.02549741603434086,
-0.008246326819062233,
0.01002185232937336,
-0.00714155612513423,
0.0015596123412251472,
-0.04317375272512436,
-0.015896428376436234,
0.09595726430416107,
-0.019482551142573357,
0.04384012520313263,
0.07210823893547058,
0.024094531312584877,
-0.044190846383571625,
-0.04082392156124115,
-0.010898654349148273,
-0.026742475107312202,
0.006106929387897253,
-0.05930691957473755,
-0.025164231657981873,
0.03636976704001427,
-0.04075377807021141,
0.010030620731413364,
0.0005627975915558636,
0.034879203885793686,
-0.025795528665184975,
0.027987534180283546,
0.006006096955388784,
0.023445697501301765,
0.01599287800490856,
-0.014642600901424885,
-0.08024496585130692,
-0.015466795302927494,
0.022516287863254547,
-0.024971334263682365,
0.01495825033634901,
0.07589602470397949,
0.004633901175111532,
0.04131493344902992,
-0.03089851886034012,
0.0073388367891311646,
-0.0237788837403059,
0.03601904585957527,
-0.028197968378663063,
-0.001456588157452643,
0.04373490810394287,
-0.007842998020350933,
0.0006932219257578254,
0.03629962354898453,
0.023515842854976654,
0.014458472840487957,
0.04903079569339752,
-0.014169127680361271,
-0.01622961461544037,
0.033353567123413086,
-0.026567114517092705,
-0.022042814642190933,
0.016378670930862427,
-0.04692646861076355,
0.009013529866933823,
0.05008295550942421,
-0.05022324621677399,
-0.014502312988042831,
0.10360298305749893,
-0.006098160985857248,
-0.0277244932949543,
-0.1080220639705658,
-0.01622084528207779,
0.03854423761367798,
-0.022007742896676064,
-0.08354173600673676,
0.012389219366014004,
0.003836010815575719,
-0.0477331280708313,
-0.010898654349148273,
-0.01988588087260723,
-0.0012045074254274368,
0.03686077520251274,
-0.014458472840487957,
-0.037141352891922,
-0.012371682561933994,
0.01308189332485199,
0.05909648537635803,
0.03591382876038551,
0.00880748126655817,
0.018816180527210236,
-0.09034572541713715,
-0.01855313964188099,
0.02221817523241043,
-0.008114807307720184,
-0.004989006090909243,
0.056676510721445084,
0.008570743724703789,
0.026689866557717323,
0.0016385245835408568,
-0.03910538926720619,
0.03514224290847778,
-0.011731617152690887,
-0.029670994728803635,
-0.03843902051448822,
-0.024936262518167496,
-0.015194986946880817,
0.03396732732653618,
0.040438130497932434,
-0.02540973573923111,
0.0011288832174614072,
-0.06214775890111923,
0.01837777905166149,
-0.04903079569339752,
0.05558927729725838,
-0.025918280705809593,
-0.0224286075681448,
0.017536049708724022,
-0.033528927713632584,
-0.017159024253487587,
0.0007304860628210008,
-0.028040142729878426,
-0.0007962462259456515,
-0.03766743466258049,
0.00010350379307055846,
-0.01152118481695652,
0.0075405011884868145,
0.13271282613277435,
0.04461171105504036,
0.032581981271505356,
-0.005813200492411852,
-0.00635681813582778,
0.05857040360569954,
0.007395829074084759,
0.03398486226797104,
-0.029074769467115402,
0.07912265509366989,
-0.014809194020926952,
-0.00030496285762637854,
0.03542282059788704,
0.028040142729878426,
0.011249375529587269,
0.012853924185037613,
0.017448369413614273,
-0.07280967384576797,
-0.03917553275823593,
0.021218620240688324,
-0.030319828540086746,
-0.006795219145715237,
0.0019333494128659368,
-0.018307635560631752,
0.04215666279196739,
-0.04913600906729698,
-0.01599287800490856,
-0.11356345564126968,
0.08185827732086182,
-0.01069699041545391,
0.01499332208186388,
-0.003993835300207138,
-0.02525191195309162,
0.027899853885173798,
0.020499641075730324,
-0.03896510228514671,
-0.025532487779855728,
-0.06456773728132248,
0.018044594675302505,
0.08354173600673676,
-0.04752269387245178,
-0.005830736365169287,
0.002119669923558831,
0.0269178356975317,
-0.03559818118810654,
-0.0007069219718687236,
0.022639039903879166,
0.004331404343247414,
-0.04692646861076355,
0.015764908865094185,
-0.02528698369860649,
0.0712314322590828,
0.018886325880885124,
-0.004050827585160732,
-0.00007261020800797269,
0.035668324679136276,
-0.001595780486240983,
-0.015642156824469566,
-0.09469466656446457,
0.015764908865094185,
-0.1157379224896431,
-0.020552249625325203,
-0.07323054224252701,
0.04334911331534386,
-0.06063965708017349,
0.09125760197639465,
0.029846355319023132,
0.03998219221830368,
-0.019850807264447212,
0.037246569991111755,
0.002104325918480754,
0.0051161423325538635,
0.004239339847117662,
-0.04832935333251953,
-0.002286262344568968,
0.014502312988042831,
-0.06547960638999939,
0.019079221412539482,
0.0012406754540279508,
0.007299380376935005,
-0.0008888585143722594,
-0.020341817289590836,
0.050433676689863205,
0.003123608883470297,
-0.13685132563114166,
-0.006185841280966997,
-0.03710627928376198,
0.0168258398771286,
-0.0019475974841043353,
-0.03159996122121811,
0.003993835300207138,
0.02309497632086277,
0.06274398416280746,
0.058886054903268814,
0.001466452144086361,
0.012775012291967869,
0.00923272967338562,
-0.001320683746598661,
-0.006523410324007273,
-0.0025646472349762917,
0.024831045418977737,
0.02155180461704731,
-0.002913176314905286,
0.03168763965368271,
-0.01930719055235386,
-0.01033750083297491,
-0.05071425437927246,
-0.018868789076805115,
0.027110733091831207,
-0.013222181238234043,
-0.05765853077173233,
-0.042051445692777634,
0.06018372252583504,
-0.05776374787092209,
0.01388855092227459,
0.0199209526181221,
0.02302483282983303,
0.07526472210884094,
-0.004870637785643339,
-0.05225742608308792,
0.042542457580566406,
-0.018886325880885124,
-0.04759283736348152,
-0.005940336734056473,
-0.0012001233408227563,
0.04780327156186104,
-0.04699661210179329,
0.03896510228514671,
-0.044085629284381866,
0.05944720655679703,
0.005857040639966726,
0.06611090898513794,
0.09665870666503906,
0.037316713482141495,
-0.01927211880683899,
0.049697164446115494,
-0.06407672166824341,
-0.018640819936990738,
-0.05713244900107384,
0.03615933284163475,
0.022463679313659668,
-0.029793748632073402,
-0.06319992244243622,
-0.03556310757994652,
-0.005234510637819767,
-0.010083228349685669,
-0.029741140082478523,
-0.00024591569672338665,
0.011784224770963192,
-0.04475199803709984,
0.004682125058025122,
0.012450595386326313,
0.03293270245194435,
0.020306745544075966,
0.029425490647554398,
-0.0230599045753479,
-0.007031955756247044,
0.04369983449578285,
0.059692710638046265,
-0.024988871067762375,
0.046435460448265076,
0.027408845722675323,
0.0200963132083416,
-0.06674220412969589,
0.01225769892334938,
-0.007330068852752447,
-0.003996027167886496,
-0.012836388312280178,
-0.010214748792350292,
-0.011389664374291897,
0.01927211880683899,
-0.014186663553118706,
-0.013073124922811985,
-0.03009186126291752,
-0.0034743298310786486,
0.052748437970876694,
-0.04752269387245178,
0.05762345716357231,
-0.07372155040502548,
-0.025602631270885468,
0.02779463864862919,
0.028829265385866165,
0.034984417259693146,
0.03522992506623268,
-0.005909648723900318,
-0.004276603925973177,
0.1047954335808754,
0.0339147187769413,
-0.005629071965813637,
0.06674220412969589,
-0.05702723190188408,
0.017492208629846573,
-0.04317375272512436,
-0.05166120082139969,
0.014037607237696648,
0.014528617262840271,
-0.016659246757626534,
0.004888173658400774,
0.010924958623945713,
0.022884543985128403,
0.043524473905563354,
-0.019500086084008217,
0.05474754795432091,
-0.002349830698221922,
-0.0007737781852483749,
-0.029109841212630272,
-0.011486112140119076,
-0.07344097644090652,
0.03252937272191048,
-0.002744391793385148,
0.0007436380838043988,
0.1012180745601654,
0.02930273860692978,
0.044260989874601364,
-0.055729564279317856,
-0.021972669288516045,
-0.016738159582018852,
0.013441381976008415,
-0.0009655787143856287,
-0.024813510477542877,
-0.015493099577724934,
-0.004467308521270752,
0.08655793964862823,
-0.021236155182123184,
-0.04394533857703209,
-0.0037439465522766113,
-0.051906704902648926,
0.01927211880683899,
0.007689557503908873,
-0.02465568482875824,
0.04661082103848457,
-0.01155625656247139,
-0.022884543985128403,
-0.03286255523562431,
0.009074905887246132,
0.02463814988732338,
-0.0717925876379013,
-0.0058789607137441635,
-0.02991650067269802,
-0.03300284594297409,
0.02533959224820137,
-0.0019826695788651705,
0.05678172782063484,
-0.0007178820087574422,
0.04948673024773598,
0.017167791724205017,
0.03317820653319359,
-0.011792993173003197,
-0.0003386649477761239,
0.013160805217921734,
-0.06516396254301071,
-0.07736904919147491,
-0.02085036225616932,
-0.032038360834121704,
-0.028285646811127663,
-0.03288009390234947,
-0.02386656403541565,
0.04850471392273903,
0.010276124812662601,
-0.015826284885406494,
-0.04317375272512436,
-0.010433949530124664,
-0.017386993393301964,
-0.0007743262103758752,
-0.004936398006975651,
-0.011687777005136013,
0.019447479397058487,
0.004625133238732815,
0.009355482645332813,
-0.04334911331534386,
0.0006800699047744274,
0.0162383820861578,
-0.027969999238848686,
0.007930678315460682,
-0.04201637580990791,
-0.005821968428790569,
0.014081447385251522,
0.01620331034064293,
-0.05176641792058945,
0.04696154221892357,
-0.009066137485206127,
0.0755453035235405,
0.025970889255404472,
0.01855313964188099,
0.02614624984562397,
-0.006133233197033405,
-0.03542282059788704,
-0.04706675559282303,
0.07624674588441849,
-0.0029986645095050335,
-0.03619440644979477,
-0.0028145359829068184,
0.0398419052362442,
0.002871528035029769,
0.02463814988732338,
0.05232757329940796,
-0.03470384329557419,
-0.024918725714087486,
-0.04075377807021141,
0.07102099806070328,
-0.05895619839429855,
0.006405042018741369,
-0.04538329690694809,
-0.017071343958377838,
0.04541836678981781,
-0.02300729602575302,
0.01756235398352146,
0.04310360923409462,
-0.023585986346006393,
-0.05864055082201958,
-0.03942104056477547,
0.03438819199800491,
-0.009907867759466171,
-0.052011922001838684,
0.04078885167837143,
0.014853034168481827,
0.014344488270580769,
-0.030951127409934998,
0.005892112385481596,
-0.033528927713632584,
-0.0006521218456327915,
0.02163948491215706,
-0.06393643468618393,
0.03819351643323898,
0.07666760683059692,
0.06523410230875015,
0.0043883961625397205,
0.005887728650122881,
0.008390999399125576,
0.009925403632223606,
-0.04976730793714523,
-0.013283557258546352,
-0.04142015054821968,
0.06870624423027039,
-0.001572764478623867,
0.013099429197609425,
0.0617268942296505,
0.006988115608692169,
0.003971915226429701,
-0.017237937077879906,
-0.02693537250161171,
0.04829427972435951,
0.013984999619424343,
0.022007742896676064,
0.07158215343952179,
-0.01312573254108429,
0.013073124922811985,
-0.06470802426338196,
-0.03538774698972702,
0.0011223071487620473,
0.058009251952171326,
0.031968217343091965,
-0.0015135802095755935,
0.005909648723900318,
0.009425626136362553,
0.05874576419591904,
0.017974451184272766,
0.02612871304154396,
0.022674111649394035,
0.022849472239613533,
0.003266089130192995,
-0.01932472735643387,
-0.03524746000766754,
-0.003836010815575719,
0.007750933989882469,
-0.0034809058997780085,
-0.025830600410699844,
0.00317183299921453,
-0.05004788562655449,
0.029425490647554398,
-0.02851361595094204,
-0.0005353974993340671,
-0.031950682401657104,
0.03686077520251274,
-0.03605411946773529,
0.018290098756551743,
-0.06579525768756866,
0.08073597401380539,
-0.01380087062716484,
0.07793020457029343,
0.013073124922811985,
-0.0037680587265640497,
0.008952152915298939,
0.012704867869615555,
0.029039697721600533,
-0.039561327546834946,
-0.021727165207266808,
-0.04285810515284538,
-0.010039388202130795,
-0.010635614395141602,
-0.03401993587613106,
0.06526917964220047,
0.07575573027133942,
-0.03742193058133125,
0.038123372942209244,
-0.02397177927196026,
0.022130494937300682,
-0.036545127630233765,
-0.04604966565966606,
-0.0044081243686378,
-0.02163948491215706,
-0.002233654260635376,
-0.0493464432656765,
0.04373490810394287,
0.008899545297026634,
-0.029846355319023132,
-0.04825920984148979,
-0.013590438291430473,
-0.008171798661351204,
-0.02995157241821289,
-0.032581981271505356,
0.015501867979764938,
0.018623284995555878,
0.003163064830005169,
0.0353526771068573,
-0.052783507853746414,
-0.005800048355013132,
0.06674220412969589,
0.0323890820145607,
-0.012792548164725304,
-0.05281858146190643,
0.07582587748765945,
-0.022095423191785812,
-0.013809639029204845,
-0.03910538926720619,
-0.03896510228514671,
-0.012853924185037613,
0.02937288209795952,
0.0046602049842476845,
0.004822413437068462,
0.021657021716237068,
-0.017071343958377838,
-0.028040142729878426,
0.012284002266824245,
-0.04903079569339752,
-0.0008658424485474825,
0.007886838167905807,
-0.02546234428882599,
-0.02995157241821289,
0.01848299615085125,
0.01349398959428072,
-0.030284756794571877,
0.02376134693622589,
-0.00425468385219574,
-0.02007877640426159,
0.03864945471286774,
0.02765434980392456,
0.019763126969337463,
-0.01690475083887577,
-0.004079323727637529,
0.0387546680867672,
0.01914936676621437,
-0.028040142729878426,
0.03854423761367798,
-0.04752269387245178,
0.01914936676621437,
-0.01385347917675972,
-0.03854423761367798,
0.04913600906729698,
-0.01312573254108429,
-0.08220899850130081,
0.0005315614980645478,
-0.023463234305381775,
-0.025795528665184975,
0.010197212919592857,
0.031003735959529877,
-0.02917998656630516,
-0.018307635560631752,
0.032652124762535095,
0.05597506836056709,
0.018658356741070747,
-0.00805781502276659,
-0.044366203248500824,
0.012678563594818115,
-0.02465568482875824,
0.03368674963712692,
-0.014800425618886948,
0.02686522714793682,
0.021323835477232933,
-0.0054274071007966995,
-0.018746037036180496,
0.011801761575043201,
-0.02774203009903431,
0.02998664416372776,
0.015721067786216736,
-0.08438347280025482,
0.006339281797409058,
0.021288763731718063,
0.013248485513031483,
-0.004550604615360498,
-0.003062232630327344,
0.027356237173080444,
0.04675110802054405,
-0.12261205911636353,
-0.04078885167837143,
-0.028811728581786156,
0.011933282017707825,
-0.03868452459573746,
0.06772422045469284,
-0.00996924377977848,
0.018658356741070747,
-0.012775012291967869,
-0.019657911732792854,
0.04517286270856857,
0.007062643766403198,
0.001851149252615869,
0.0018566292710602283,
-0.05481769144535065,
0.014405864290893078,
0.08270000666379929,
0.1047954335808754,
0.012827619910240173,
0.028268111869692802,
-0.02917998656630516,
0.041946228593587875,
0.028162894770503044,
-0.015344043262302876,
-0.00402671517804265,
0.02391917072236538,
0.021358909085392952,
-0.003314313245937228,
0.044190846383571625,
-0.011626400984823704,
-0.07736904919147491,
0.005230126902461052,
-0.02151673287153244,
-0.017991986125707626,
0.010442717000842094,
-0.008570743724703789,
0.018956469371914864,
0.059587497264146805,
-0.03447587415575981,
0.07736904919147491,
0.032687194645404816,
-0.025655239820480347,
0.0035269379150122404,
0.025094086304306984,
0.030372437089681625,
-0.012108641676604748,
0.02853115275502205,
-0.04633024334907532,
0.028776656836271286,
0.011836833320558071,
-0.01042518112808466,
0.032617051154375076,
0.008987225592136383,
0.006865363568067551,
0.04355954751372337,
-0.0168258398771286,
-0.019359799101948738,
-0.05208206549286842,
0.046575747430324554,
0.0028693361673504114,
-0.009145049378275871,
0.011819297447800636,
-0.002466006902977824,
0.03377443179488182,
-0.019587766379117966,
-0.03770250454545021,
-0.061165738850831985,
0.031056342646479607,
-0.01916690170764923,
0.05839504301548004,
-0.05751824378967285,
-0.03082837536931038,
-0.016659246757626534,
0.011354591697454453,
-0.0028693361673504114,
-0.027531597763299942,
-0.014265576377511024,
0.06446252018213272,
-0.012450595386326313,
-0.033476319164037704,
0.02916244976222515,
0.0005737576284445822,
-0.008189335465431213,
-0.030214613303542137,
-0.05099483206868172,
0.012310306541621685,
0.019026612862944603,
0.01234537921845913,
-0.03156488761305809,
0.012529507279396057,
-0.0029109842143952847,
-0.051100049167871475,
-0.011021407321095467,
-0.00024139467859640718,
-0.009074905887246132,
-0.051205262541770935,
-0.02156934142112732,
-0.02695290744304657,
-0.016624175012111664,
0.010618077591061592,
-0.023954244330525398,
0.0448572151362896,
-0.00478295749053359,
0.04520793631672859
] |
52,225 |
osmnx.geometries
|
geometries_from_polygon
|
Do not use: deprecated.
The `geometries` module and `geometries_from_X` functions have been
renamed the `features` module and `features_from_X` functions. Use these
instead. The `geometries` module and functions are deprecated and will be
removed in the v2.0.0 release.
Parameters
----------
polygon : shapely.geometry.Polygon or shapely.geometry.MultiPolygon
Do not use: deprecated.
tags : dict
Do not use: deprecated.
Returns
-------
gdf : geopandas.GeoDataFrame
|
def geometries_from_polygon(polygon, tags):
"""
Do not use: deprecated.
The `geometries` module and `geometries_from_X` functions have been
renamed the `features` module and `features_from_X` functions. Use these
instead. The `geometries` module and functions are deprecated and will be
removed in the v2.0.0 release.
Parameters
----------
polygon : shapely.geometry.Polygon or shapely.geometry.MultiPolygon
Do not use: deprecated.
tags : dict
Do not use: deprecated.
Returns
-------
gdf : geopandas.GeoDataFrame
"""
warn(DEP_MSG, FutureWarning, stacklevel=2)
return features.features_from_polygon(polygon, tags)
|
(polygon, tags)
|
[
0.004562945105135441,
-0.008764954283833504,
-0.001404754351824522,
-0.024811014533042908,
-0.044809550046920776,
-0.042777612805366516,
-0.022529542446136475,
0.027145959436893463,
0.05015674978494644,
-0.016834773123264313,
0.010863730683922768,
-0.006385449785739183,
-0.11058012396097183,
0.012405507266521454,
-0.05721505731344223,
-0.02807280793786049,
-0.07692840695381165,
-0.00908133015036583,
-0.007998522371053696,
0.0014270343817770481,
-0.019748996943235397,
-0.05422062426805496,
0.008617906831204891,
-0.00102376623544842,
0.0344003289937973,
0.03049687296152115,
0.015426676720380783,
0.00021291330631356686,
0.06680437177419662,
-0.025523975491523743,
-0.0015005584573373199,
-0.01019533071666956,
-0.02363463118672371,
-0.032225802540779114,
-0.033027879893779755,
0.0020865225233137608,
-0.022155238315463066,
0.047625742852687836,
0.058534033596515656,
0.027181608602404594,
-0.01658523641526699,
-0.038499850779771805,
-0.073506198823452,
-0.0046698893420398235,
0.029570024460554123,
-0.02771632745862007,
0.015034548006951809,
-0.014918692409992218,
-0.012129235081374645,
0.00043111812556162477,
0.040139660239219666,
-0.01071222685277462,
0.01736058108508587,
-0.0005820651422254741,
-0.0633465126156807,
-0.025203142315149307,
-0.02730637602508068,
0.10309404879808426,
0.003477908903732896,
0.04502343758940697,
-0.038678091019392014,
-0.010070563293993473,
-0.03678874671459198,
-0.014624596573412418,
0.005619017407298088,
-0.027983687818050385,
0.01599704474210739,
-0.048623885959386826,
0.04156557843089104,
0.007463802117854357,
0.006871154066175222,
0.07179509103298187,
0.01736058108508587,
-0.019855942577123642,
-0.04038919508457184,
0.06498632580041885,
0.017280373722314835,
0.054862286895513535,
-0.005574457813054323,
-0.013323443941771984,
-0.058284495025873184,
-0.03133460134267807,
-0.02468624711036682,
0.04060308262705803,
0.05439886450767517,
0.03907021880149841,
0.03800077736377716,
-0.005721505731344223,
-0.019481638446450233,
-0.010783523321151733,
0.0016398084117099643,
0.04502343758940697,
-0.020764965564012527,
-0.023117734119296074,
-0.041708171367645264,
-0.061100687831640244,
-0.01937469281256199,
0.04302714765071869,
-0.005855185445398092,
-0.053079888224601746,
0.01634461246430874,
-0.015462324023246765,
-0.07040482014417648,
0.06323956698179245,
0.031031593680381775,
0.00011592565715545788,
0.052687760442495346,
-0.04976462200284004,
0.05012110248208046,
-0.02807280793786049,
-0.006135913543403149,
-0.05625256150960922,
0.09860239923000336,
-0.016005955636501312,
-0.017146693542599678,
-0.04017530754208565,
-0.011416275054216385,
0.009633874520659447,
-0.006109177600592375,
-0.08683855086565018,
0.005298185627907515,
0.03612925857305527,
-0.016665445640683174,
0.018643910065293312,
-0.01051616296172142,
0.02548832818865776,
0.024115879088640213,
0.02589827962219715,
-0.014205732382833958,
0.0537571981549263,
0.03074640966951847,
0.051653966307640076,
0.0408526211977005,
-0.0017278144368901849,
0.02465059980750084,
-0.03233274444937706,
-0.007851473987102509,
0.01032009907066822,
0.034881576895713806,
-0.054648399353027344,
0.008600082248449326,
-0.04641370847821236,
-0.015186052769422531,
0.020123301073908806,
-0.03985447436571121,
0.040104012936353683,
-0.026165639981627464,
-0.05318683013319969,
-0.015596004202961922,
-0.02281472645699978,
0.024008935317397118,
0.024169350042939186,
0.01795768551528454,
-0.06520020961761475,
0.030015625059604645,
-0.07607285678386688,
-0.0028362448792904615,
-0.02327815070748329,
0.057678479701280594,
0.02283255010843277,
0.0039925770834088326,
0.08805058151483536,
-0.0701909288764,
0.04384705424308777,
-0.031869322061538696,
-0.02244042232632637,
0.02951655164361,
-0.05450580641627312,
-0.0019483865471556783,
-0.030639464035630226,
0.02304643765091896,
0.0877654030919075,
0.02162051759660244,
0.042349837720394135,
-0.03069293685257435,
0.047376204282045364,
0.0319584421813488,
0.0404604896903038,
0.008377281948924065,
-0.00180802249815315,
0.045772045850753784,
0.018109189346432686,
-0.03472116217017174,
0.08120616525411606,
0.01720016449689865,
0.019552933052182198,
0.014116612263023853,
-0.03541629761457443,
0.015587092377245426,
-0.06605575978755951,
-0.004928337410092354,
-0.01998070999979973,
-0.02126403898000717,
0.005717049818485975,
-0.017850741744041443,
-0.0004536766209639609,
-0.016219845041632652,
-0.018875621259212494,
-0.08626818656921387,
0.046199820935726166,
-0.04602158069610596,
0.02709248848259449,
-0.005235801450908184,
0.007793546188622713,
-0.04488084465265274,
0.022155238315463066,
-0.03580842539668083,
-0.06238401681184769,
-0.013278883881866932,
-0.006608250085264444,
0.09689129143953323,
-0.030069096013903618,
-0.008524330332875252,
0.04309844598174095,
0.017102133482694626,
0.010970675386488438,
0.026985542848706245,
0.030229512602090836,
0.038891978561878204,
-0.003497960977256298,
-0.021941350772976875,
-0.0240445826202631,
-0.008163394406437874,
-0.05275905504822731,
0.011095442809164524,
-0.02121056616306305,
0.004389161244034767,
-0.00454734917730093,
-0.01919645257294178,
-0.07707099616527557,
0.01001709047704935,
-0.07126037031412125,
0.0038722651079297066,
-0.06398817896842957,
-0.03402602672576904,
0.003261792939156294,
0.013216500170528889,
-0.07097519189119339,
0.09845980256795883,
-0.046770188957452774,
0.06331086903810501,
-0.0525808148086071,
-0.011692547239363194,
0.02322467789053917,
0.005449689459055662,
0.008225778117775917,
-0.04641370847821236,
-0.026932071894407272,
0.06527150422334671,
-0.0033152650576084852,
-0.02728855237364769,
0.01049833931028843,
-0.011844051070511341,
0.018857797607779503,
-0.009001122787594795,
-0.08498485386371613,
0.04591463878750801,
-0.03397255390882492,
-0.006545865908265114,
0.01817157305777073,
-0.02119274251163006,
-0.07885339856147766,
-0.008751586079597473,
0.041708171367645264,
0.10430607944726944,
-0.011246947571635246,
0.062170129269361496,
0.0002069255569949746,
0.015934661030769348,
-0.032421864569187164,
-0.08748021721839905,
0.036895692348480225,
0.00440030125901103,
-0.05778542533516884,
0.045772045850753784,
-0.003292985027655959,
0.0015495744301006198,
-0.00878723431378603,
0.07671451568603516,
0.01212032325565815,
0.027983687818050385,
-0.010230978950858116,
-0.025916103273630142,
0.04384705424308777,
-0.02588045597076416,
0.011772755533456802,
0.002568884752690792,
0.0038566691800951958,
0.016050515696406364,
-0.030389929190278053,
0.04056743532419205,
0.04694842919707298,
0.033651720732450485,
-0.03450727462768555,
0.00022474955767393112,
0.04709102213382721,
0.039319753646850586,
-0.017146693542599678,
0.042349837720394135,
-0.06883630901575089,
0.06976315379142761,
0.0476970374584198,
0.019855942577123642,
0.06085115298628807,
-0.03764429688453674,
-0.011264771223068237,
-0.03160196170210838,
-0.044381771236658096,
-0.011460835114121437,
-0.023812871426343918,
-0.02609434351325035,
-0.03381213918328285,
-0.023331623524427414,
-0.008831794373691082,
-0.00504864938557148,
-0.030282985419034958,
0.014223556034266949,
-0.042706314474344254,
-0.0364500917494297,
-0.01121129933744669,
-0.01655850000679493,
0.007138513959944248,
0.03985447436571121,
0.001045489334501326,
0.026005223393440247,
0.07685711234807968,
-0.051867853850126266,
-0.03340218588709831,
0.03563018515706062,
0.003448945004492998,
-0.03917716443538666,
0.04972897469997406,
0.045166030526161194,
0.04110215604305267,
-0.04185076430439949,
0.05090535804629326,
0.048017870634794235,
-0.0038566691800951958,
-0.023795045912265778,
-0.008203498087823391,
-0.01271742768585682,
0.004585225135087967,
-0.024365415796637535,
0.016210932284593582,
-0.03178020194172859,
0.018929094076156616,
-0.02548832818865776,
-0.049408141523599625,
0.04545121267437935,
0.021477926522493362,
-0.025381382554769516,
-0.002891944721341133,
0.0327426977455616,
0.06954926997423172,
-0.005788345821201801,
-0.030176039785146713,
0.0022435965947806835,
0.03864244371652603,
0.03338436037302017,
0.009161538444459438,
-0.0014894184423610568,
-0.005026369355618954,
0.05250952020287514,
0.010382482782006264,
0.026147816330194473,
-0.0004954516189172864,
0.01132715493440628,
0.018430020660161972,
-0.07664322108030319,
-0.026807304471731186,
0.006978097837418318,
0.040531788021326065,
-0.03960493952035904,
0.04505908489227295,
0.019499462097883224,
-0.056074321269989014,
-0.022155238315463066,
-0.022476069629192352,
-0.043775755912065506,
0.03477463498711586,
-0.07500341534614563,
-0.03308135271072388,
0.07179509103298187,
0.023937638849020004,
0.05561089515686035,
-0.00008375889592571184,
-0.08969039469957352,
-0.044773899018764496,
0.010257715359330177,
-0.026112167164683342,
-0.08469967544078827,
0.017904212698340416,
-0.03864244371652603,
0.04445306956768036,
-0.008537698537111282,
-0.005164505448192358,
0.01982029341161251,
-0.045166030526161194,
0.08398671448230743,
0.025327911600470543,
-0.02486448734998703,
-0.03178020194172859,
-0.01433941163122654,
-0.008096554316580296,
-0.013572979718446732,
0.037073928862810135,
0.016317876055836678,
-0.032813992351293564,
0.03907021880149841,
-0.06192059442400932,
0.021673990413546562,
0.05956782400608063,
0.0035425210371613503,
0.03290311247110367,
-0.011353891342878342,
0.036860041320323944,
0.043775755912065506,
0.056288208812475204,
0.0002603975881356746,
0.05072711780667305,
0.04694842919707298,
-0.016834773123264313,
-0.03775124251842499,
0.017253637313842773,
-0.04103086143732071,
-0.028571879491209984,
-0.007129602134227753,
-0.0315663143992424,
0.020978853106498718,
0.046770188957452774,
-0.019445989280939102,
-0.03227927163243294,
-0.009259570389986038,
-0.005320465657860041,
-0.004420353099703789,
-0.010373570956289768,
-0.020123301073908806,
0.008533242158591747,
-0.021477926522493362,
0.022547366097569466,
0.08705244213342667,
0.04302714765071869,
0.025167495012283325,
-0.0073301219381392,
0.03800077736377716,
-0.02851840853691101,
0.016433732584118843,
-0.0014493144117295742,
0.027645030990242958,
-0.03211885690689087,
0.06623400002717972,
0.0011919803218916059,
0.06691131740808487,
0.03457856923341751,
0.010560723021626472,
0.027609383687376976,
0.03653921186923981,
-0.029463080689311028,
-0.01937469281256199,
0.06915713846683502,
-0.003772004973143339,
0.0011852963361889124,
-0.01923210173845291,
0.040923915803432465,
-0.012851107865571976,
-0.004168589133769274,
0.019677702337503433,
-0.009776466526091099,
-0.008363914676010609,
0.01121129933744669,
0.10615977644920349,
-0.026343880221247673,
-0.021531397476792336,
-0.0514044314622879,
0.016326788812875748,
0.044809550046920776,
-0.04188641160726547,
0.05657339096069336,
0.020729318261146545,
-0.013929460197687149,
-0.011549955233931541,
-0.00980320293456316,
-0.010872643440961838,
-0.010551811195909977,
0.013296707533299923,
0.021335333585739136,
-0.01800224557518959,
0.041922058910131454,
-0.02670035883784294,
-0.013742308132350445,
-0.03206538408994675,
-0.009125890210270882,
0.03160196170210838,
0.009268482215702534,
0.04391834884881973,
0.0514044314622879,
0.04587898775935173,
0.0062161218374967575,
-0.016246581450104713,
-0.02140663005411625,
-0.013439299538731575,
-0.01444635633379221,
-0.032867465168237686,
-0.01121129933744669,
0.012378771789371967,
-0.008243602700531483,
0.0057304175570607185,
0.0537571981549263,
0.02545267902314663,
-0.026183463633060455,
-0.07521729916334152,
-0.01454438827931881,
0.0914727970957756,
0.004121801350265741,
0.0017824005335569382,
0.013519507832825184,
-0.015569268725812435,
0.016674356535077095,
-0.05885486304759979,
0.025773512199521065,
-0.012824371457099915,
0.0359688438475132,
0.0024574846029281616,
0.0336160734295845,
-0.001761234481818974,
-0.02830452099442482,
0.0848422646522522,
-0.03420426696538925,
0.050406284630298615,
-0.021870054304599762,
-0.00003620500865508802,
0.004932793322950602,
0.008216866292059422,
0.030585993081331253,
0.004028225317597389,
-0.06249096244573593,
0.025167495012283325,
-0.04078132286667824,
0.02666471153497696,
-0.014713715761899948,
0.03860679641366005,
0.016246581450104713,
-0.02969479188323021,
0.017075397074222565,
0.03340218588709831,
-0.010453779250383377,
0.0037385851610451937,
-0.02967696823179722,
0.05054887756705284,
0.004500561393797398,
0.06366734951734543,
0.01599704474210739,
-0.027858920395374298,
0.015890100970864296,
0.025916103273630142,
0.055646542459726334,
-0.05168961361050606,
0.005837361793965101,
-0.03618273138999939,
-0.001606388483196497,
-0.02974826470017433,
-0.019321221858263016,
0.030229512602090836,
0.054862286895513535,
-0.008029714226722717,
0.04309844598174095,
0.047625742852687836,
0.026343880221247673,
-0.016424819827079773,
-0.044346123933792114,
0.0435975156724453,
-0.07104648649692535,
-0.001689938479103148,
-0.039319753646850586,
0.0525808148086071,
0.028411464765667915,
-0.04099521040916443,
-0.04003271460533142,
-0.03595101833343506,
0.021531397476792336,
-0.045379918068647385,
-0.007031570188701153,
-0.043134093284606934,
0.006269593723118305,
0.0375373549759388,
0.060530319809913635,
-0.03643226623535156,
-0.029962152242660522,
0.05906875431537628,
0.018242869526147842,
-0.0020274806302040815,
-0.016103988513350487,
0.06805205345153809,
-0.008043082430958748,
-0.02867882326245308,
0.009321955032646656,
-0.017690325155854225,
-0.06591317057609558,
-0.014125524088740349,
-0.0068444181233644485,
-0.003558116964995861,
0.01923210173845291,
0.01841219700872898,
-0.023581158369779587,
0.02019459754228592,
-0.015408852137625217,
-0.0359688438475132,
-0.02867882326245308,
-0.004834761377424002,
-0.03031863272190094,
-0.018536964431405067,
-0.01755664497613907,
-0.011398451402783394,
0.02283255010843277,
0.013296707533299923,
0.024543654173612595,
-0.044738251715898514,
-0.006733017973601818,
0.024508006870746613,
-0.0047189053148031235,
-0.02408023178577423,
-0.019142981618642807,
0.015408852137625217,
-0.023741574957966805,
0.034667689353227615,
-0.026183463633060455,
0.021567046642303467,
-0.0461285263299942,
-0.06420206278562546,
0.06120763346552849,
0.004513929132372141,
-0.04384705424308777,
0.08077839016914368,
-0.04110215604305267,
-0.03618273138999939,
-0.016674356535077095,
0.011487571522593498,
-0.016692180186510086,
-0.03215450420975685,
0.02867882326245308,
-0.05015674978494644,
0.01779726892709732,
0.04028225317597389,
-0.06773121654987335,
0.03782253712415695,
0.005044193472713232,
0.012280739843845367,
-0.024151526391506195,
0.034043848514556885,
-0.0020865225233137608,
-0.016300052404403687,
0.02078278921544552,
-0.020533254370093346,
0.008230234496295452,
-0.0005068701575510204,
0.07011963427066803,
-0.019125157967209816,
-0.032011911273002625,
0.024133702740073204,
0.005351657513529062,
0.0038187929894775152,
-0.02550615184009075,
0.021353157237172127,
0.04181511700153351,
-0.07268629223108292,
-0.005222433712333441,
-0.03700263425707817,
0.0159792210906744,
0.034845929592847824,
0.06495067477226257,
0.014954340644180775,
0.05058452486991882,
0.01172819547355175,
-0.036271851509809494,
-0.010204242542386055,
0.02908877655863762,
0.007610850036144257,
-0.0029788368847221136,
-0.048409998416900635,
0.015052372589707375,
0.04470260441303253,
0.08840706199407578,
-0.006541409995406866,
0.016531765460968018,
0.010721138678491116,
-0.026147816330194473,
0.006639441940933466,
-0.013688836246728897,
0.042741965502500534,
0.04602158069610596,
0.01839437335729599,
-0.025417031720280647,
0.04224289208650589,
0.02304643765091896,
-0.02058672532439232,
-0.07150990515947342,
0.05400673672556877,
-0.0025644288398325443,
-0.016103988513350487,
-0.0013412564294412732,
0.013546244241297245,
0.00027306933770887554,
-0.008176762610673904,
0.10116904973983765,
0.03258228302001953,
-0.02605869621038437,
-0.01919645257294178,
-0.03650356084108353,
0.045593805611133575,
-0.06302568316459656,
-0.030425576493144035,
-0.04420353099703789,
0.04694842919707298,
0.02183440700173378,
0.04156557843089104,
-0.0014014124171808362,
0.00047790614189580083,
-0.027021192014217377,
0.020319364964962006,
-0.060565970838069916,
0.051832206547260284,
-0.003916825167834759,
0.013278883881866932,
0.044952139258384705,
-0.01960640586912632,
-0.011870787478983402,
0.014196819625794888,
0.0035781690385192633,
-0.05692987143993378,
-0.002675828756764531,
-0.026343880221247673,
-0.012138147838413715,
-0.03402602672576904,
0.016701092943549156,
-0.02103232592344284,
-0.029463080689311028,
-0.011799491010606289,
0.029213543981313705,
-0.050192397087812424,
0.009277394972741604,
-0.002722616773098707,
-0.01444635633379221,
-0.008724850602447987,
0.007445978000760078,
-0.041316043585538864,
-0.0236524548381567,
0.033134825527668,
-0.015881188213825226,
-0.05553960055112839,
0.0010816942667588592,
0.018064629286527634,
0.004812481347471476,
-0.010926115326583385,
-0.024971431121230125,
-0.013011523522436619,
0.011460835114121437,
-0.006127001717686653,
-0.015079108066856861,
-0.08584041148424149,
-0.01782400533556938,
-0.04063872992992401,
0.056288208812475204,
0.012610483914613724,
-0.012779811397194862,
0.02550615184009075,
-0.004453773144632578,
-0.011576691642403603,
-0.031441543251276016
] |
52,226 |
osmnx.geometries
|
geometries_from_xml
|
Do not use: deprecated.
The `geometries` module and `geometries_from_X` functions have been
renamed the `features` module and `features_from_X` functions. Use these
instead. The `geometries` module and functions are deprecated and will be
removed in the v2.0.0 release.
Parameters
----------
filepath : string or pathlib.Path
Do not use: deprecated.
polygon : shapely.geometry.Polygon
Do not use: deprecated.
tags : dict
Do not use: deprecated.
Returns
-------
gdf : geopandas.GeoDataFrame
|
def geometries_from_xml(filepath, polygon=None, tags=None):
"""
Do not use: deprecated.
The `geometries` module and `geometries_from_X` functions have been
renamed the `features` module and `features_from_X` functions. Use these
instead. The `geometries` module and functions are deprecated and will be
removed in the v2.0.0 release.
Parameters
----------
filepath : string or pathlib.Path
Do not use: deprecated.
polygon : shapely.geometry.Polygon
Do not use: deprecated.
tags : dict
Do not use: deprecated.
Returns
-------
gdf : geopandas.GeoDataFrame
"""
warn(DEP_MSG, FutureWarning, stacklevel=2)
return features.features_from_xml(filepath, polygon, tags)
|
(filepath, polygon=None, tags=None)
|
[
0.028011254966259003,
-0.028228675946593285,
0.029406381770968437,
-0.018716447055339813,
-0.009729652665555477,
-0.021506700664758682,
-0.03437085822224617,
0.05084060877561569,
0.041708867996931076,
-0.008425118401646614,
0.032722074538469315,
-0.0038705719634890556,
-0.085157111287117,
0.027485817670822144,
-0.03190673887729645,
-0.02382587268948555,
-0.06330616027116776,
-0.047760456800460815,
-0.0083888815715909,
-0.008461355231702328,
-0.0076097846031188965,
-0.06403090059757233,
0.011740810237824917,
0.03640013560652733,
0.07403232902288437,
0.04696324095129967,
0.008556477725505829,
-0.0048150005750358105,
0.056783486157655716,
-0.02783006988465786,
-0.016886474564671516,
-0.023028656840324402,
-0.030982693657279015,
-0.03953464329242706,
-0.051021791994571686,
-0.0255652517080307,
-0.013733848929405212,
0.03217851743102074,
0.07403232902288437,
0.018154771998524666,
-0.017484385520219803,
-0.03036666475236416,
-0.03728794306516647,
-0.026217520236968994,
-0.026924142614006996,
-0.01828160136938095,
-0.01606208086013794,
0.0009053605026565492,
-0.031924858689308167,
0.009711534716188908,
0.06435703486204147,
-0.0037097700405865908,
-0.013579841703176498,
0.025257237255573273,
-0.02831926941871643,
-0.014830020256340504,
-0.03382730484008789,
0.1047976016998291,
0.026217520236968994,
0.031218234449625015,
0.014848139137029648,
0.007641491945832968,
-0.004543222486972809,
-0.010708053596317768,
0.013842560350894928,
0.004552281927317381,
0.011079483665525913,
-0.04689076915383339,
0.018988223746418953,
0.015138035640120506,
-0.00009299904195358977,
0.047796692699193954,
0.025710200890898705,
-0.0255652517080307,
-0.024260718375444412,
0.05989987403154373,
-0.0016714348457753658,
0.0366537943482399,
-0.018951987847685814,
-0.001160718617029488,
-0.052290089428424835,
-0.020655129104852676,
-0.017439089715480804,
0.023246079683303833,
0.04920994117856026,
0.06113193556666374,
0.05446431413292885,
-0.0018367664888501167,
-0.01980355754494667,
0.04533257335424423,
0.016433510929346085,
0.05917513370513916,
-0.05243504047393799,
-0.029895581305027008,
0.00853835977613926,
-0.05236256495118141,
-0.027503935620188713,
0.019187528640031815,
0.0188432764261961,
-0.015862777829170227,
-0.012574262917041779,
-0.02310113236308098,
-0.06779955327510834,
0.038954850286245346,
-0.0030507082119584084,
-0.011496210470795631,
0.05823297053575516,
-0.01704954169690609,
0.04410051181912422,
-0.03266771882772446,
-0.02585514821112156,
-0.05138416588306427,
0.10769657045602798,
0.039244744926691055,
0.005236256401985884,
-0.042034998536109924,
-0.004561340902000666,
0.05638488009572029,
0.008230344392359257,
-0.07352501153945923,
0.0052906121127307415,
0.013887857086956501,
-0.05022457614541054,
0.06490059196949005,
-0.015455109998583794,
0.028156202286481857,
0.05522529408335686,
0.00017212607781402767,
-0.004586254246532917,
0.05595003440976143,
0.0029963527340441942,
0.03264959901571274,
0.05388452112674713,
-0.021397989243268967,
0.0248586293309927,
-0.055297765880823135,
0.00011288696259725839,
0.02005721814930439,
0.039244744926691055,
-0.019495543092489243,
0.0048920041881501675,
-0.04337577149271965,
0.0011023995466530323,
0.001589901396073401,
-0.041998762637376785,
0.02987746335566044,
-0.01900634355843067,
-0.045006439089775085,
-0.04040433093905449,
-0.005417441949248314,
0.02911648526787758,
0.005607686471194029,
-0.023934584110975266,
-0.09791255742311478,
0.0437019057571888,
-0.06044343113899231,
-0.023155488073825836,
0.02730463072657585,
0.03417155519127846,
-0.03493253514170647,
-0.042506083846092224,
0.09602823108434677,
-0.030692797154188156,
0.023699043318629265,
-0.0250941701233387,
-0.028536692261695862,
-0.012538026086986065,
-0.03641825541853905,
0.009874600917100906,
-0.03654508292675018,
0.044281698763370514,
0.1003766804933548,
0.003014471149072051,
0.018861394375562668,
-0.0000765791191952303,
-0.007976684719324112,
0.051819007843732834,
0.04112907499074936,
0.023517858237028122,
0.038701191544532776,
0.04591236636042595,
0.004964478313922882,
-0.004851237405091524,
0.06464692950248718,
0.03286702185869217,
0.013779145665466785,
0.03993324935436249,
-0.04058551788330078,
-0.018716447055339813,
-0.032939497381448746,
0.007197587750852108,
-0.03906356170773506,
-0.0036055883392691612,
-0.015237687155604362,
-0.027014734223484993,
-0.010236972011625767,
-0.00011401937081245705,
-0.027884425595402718,
-0.0876937061548233,
0.05863157659769058,
0.007270061876624823,
-0.006137653719633818,
0.029732516035437584,
-0.01302722655236721,
-0.055007871240377426,
0.026924142614006996,
-0.044716544449329376,
-0.0756630003452301,
-0.03942593187093735,
0.027739476412534714,
0.08696896582841873,
-0.0360921211540699,
-0.009303867816925049,
0.027377106249332428,
0.032939497381448746,
0.011967292055487633,
-0.009793068282306194,
0.0506594218313694,
-0.01576312445104122,
-0.035276785492897034,
0.018480904400348663,
-0.006409431807696819,
-0.020111573860049248,
-0.03132694587111473,
0.040766701102256775,
-0.02605445310473442,
0.04439041018486023,
0.007949506863951683,
-0.03507748246192932,
-0.027232157066464424,
0.03353740647435188,
-0.07522815465927124,
0.04109283536672592,
-0.09653554856777191,
0.006287131458520889,
0.0015706504927948117,
0.032269109040498734,
-0.025728318840265274,
0.11458161473274231,
-0.058015547692775726,
0.06620512902736664,
-0.04790540412068367,
0.000024470638891216367,
-0.01933247596025467,
0.0320516861975193,
-0.0006511348183266819,
-0.020111573860049248,
-0.06138559430837631,
0.005095837637782097,
-0.01066275779157877,
0.026000097393989563,
0.0005625238991342485,
-0.017728986218571663,
0.05011586844921112,
-0.002321437234058976,
-0.06725600361824036,
0.029406381770968437,
-0.007673199288547039,
-0.0017959997057914734,
-0.009711534716188908,
-0.004846707917749882,
-0.03201545029878616,
0.03315691649913788,
0.010463453829288483,
0.07145950198173523,
-0.018951987847685814,
0.029533211141824722,
-0.03009488619863987,
0.025438422337174416,
-0.028156202286481857,
-0.09225957840681076,
0.0688866674900055,
0.027902543544769287,
-0.021687885746359825,
0.02908024750649929,
-0.04156391695141792,
-0.018716447055339813,
-0.05011586844921112,
0.06740094721317291,
0.04062175378203392,
-0.03201545029878616,
-0.032450295984745026,
-0.03444333374500275,
0.06943022459745407,
-0.03533114120364189,
-0.023010538890957832,
-0.02107185497879982,
0.0220864936709404,
0.004468483384698629,
-0.010119201615452766,
0.03629142418503761,
0.032993853092193604,
-0.021198686212301254,
-0.06866924464702606,
0.009747771546244621,
0.006237305700778961,
0.02380775474011898,
-0.030982693657279015,
0.056022509932518005,
-0.025148525834083557,
0.0672922357916832,
0.03533114120364189,
0.05370333790779114,
0.04015067219734192,
0.0026611597277224064,
0.01101606898009777,
-0.04663710668683052,
-0.03960711508989334,
0.007845325395464897,
0.003404019633308053,
-0.020473944023251534,
-0.040730465203523636,
-0.04138273373246193,
-0.039462167769670486,
-0.005032422952353954,
0.014848139137029648,
-0.01755685918033123,
-0.03353740647435188,
-0.0009246114641427994,
-0.022158967331051826,
-0.016687169671058655,
0.03138130158185959,
0.015645354986190796,
0.0190788172185421,
0.006495494861155748,
0.07906928658485413,
-0.014965909533202648,
-0.041998762637376785,
0.029533211141824722,
-0.017131075263023376,
0.009630001150071621,
0.05634864419698715,
0.04641968384385109,
0.026036333292722702,
-0.044281698763370514,
0.029207076877355576,
0.03217851743102074,
-0.01983979530632496,
-0.003043913748115301,
0.02080007828772068,
0.0044503649696707726,
-0.004219353664666414,
-0.018000764772295952,
-0.031924858689308167,
-0.0008889405871741474,
0.01827254146337509,
-0.004873885773122311,
-0.09095504134893417,
0.0006545320502482355,
-0.01953178085386753,
-0.005304201040416956,
0.00602441281080246,
0.0076097846031188965,
0.05794307217001915,
-0.01933247596025467,
-0.026616128161549568,
-0.0037324181757867336,
0.09936204552650452,
0.057037148624658585,
0.01906069926917553,
-0.005684690084308386,
-0.011179136112332344,
0.009965194389224052,
-0.005417441949248314,
0.023427264764904976,
-0.02685166895389557,
0.03830258175730705,
0.02252133935689926,
-0.10204358398914337,
-0.01733037829399109,
0.020926907658576965,
0.02783006988465786,
-0.06290755420923233,
0.03464263677597046,
0.03636389970779419,
-0.05268869921565056,
-0.028717877343297005,
-0.008307348005473614,
-0.007605255115777254,
0.01776522397994995,
-0.04460783302783966,
0.013154055923223495,
0.08095361292362213,
0.01039097923785448,
0.02335479110479355,
-0.0022421686444431543,
-0.06279884278774261,
-0.023717161267995834,
0.0111610172316432,
-0.02931578829884529,
-0.04910122975707054,
0.03152624890208244,
-0.06370476633310318,
0.059320081025362015,
0.0014574095839634538,
0.011704573407769203,
0.06192915141582489,
-0.02960568480193615,
0.0647556409239769,
0.04080294072628021,
-0.041020363569259644,
-0.041745103895664215,
-0.02982310764491558,
-0.009729652665555477,
-0.018770800903439522,
0.059791162610054016,
-0.026616128161549568,
-0.05960997939109802,
-0.006875983905047178,
-0.023680925369262695,
0.037722788751125336,
0.03641825541853905,
0.013371478766202927,
0.002375792944803834,
0.0000795516898506321,
0.07323511689901352,
0.015147094614803791,
0.055080346763134,
0.023372909054160118,
0.033265627920627594,
-0.01027320884168148,
-0.009000382386147976,
-0.03643637150526047,
0.023372909054160118,
-0.057580702006816864,
0.0024142947513610125,
-0.013072522357106209,
-0.02378963679075241,
0.02230391651391983,
0.06743718683719635,
-0.012728270143270493,
-0.03279454633593559,
-0.006681209430098534,
-0.02962380461394787,
0.012112240307033062,
-0.016859296709299088,
-0.014331760816276073,
-0.020202165469527245,
0.006681209430098534,
0.023753399029374123,
0.05700090900063515,
0.009503171779215336,
0.02831926941871643,
-0.020691366866230965,
0.003546703141182661,
-0.04138273373246193,
-0.01240213681012392,
-0.0026838078629225492,
0.028500454500317574,
-0.029134603217244148,
0.030402900651097298,
-0.007464836351573467,
0.09559338539838791,
0.021216804161667824,
-0.02378963679075241,
0.0218509528785944,
0.024496259167790413,
-0.010200735181570053,
-0.008624422363936901,
0.05739951878786087,
-0.015899013727903366,
-0.027377106249332428,
-0.0038977498188614845,
-0.01467601303011179,
-0.015074620954692364,
0.0190788172185421,
-0.006613265257328749,
0.016379155218601227,
-0.02607257105410099,
-0.01266485545784235,
0.09320174157619476,
-0.04246984422206879,
-0.036690033972263336,
-0.05591379851102829,
-0.008624422363936901,
0.05616745725274086,
-0.060044825077056885,
0.03978830203413963,
0.04834024980664253,
-0.013543604873120785,
-0.021633530035614967,
-0.00534043787047267,
-0.020999381318688393,
0.03225099295377731,
0.024224480614066124,
0.034986890852451324,
-0.004728937521576881,
0.005666571669280529,
-0.04036809504032135,
-0.03444333374500275,
-0.05957374349236488,
-0.00929480791091919,
0.025257237255573273,
-0.004941830411553383,
0.0471806637942791,
0.06095074862241745,
0.07026367634534836,
0.015518524684011936,
0.0016850236570462584,
0.018245363608002663,
-0.019876033067703247,
-0.02962380461394787,
-0.028174322098493576,
0.015717828646302223,
0.006617794744670391,
0.031254470348358154,
0.02484051138162613,
0.03389977663755417,
0.005186430644243956,
-0.04268726706504822,
-0.05243504047393799,
-0.0441729873418808,
0.08428741991519928,
-0.013733848929405212,
0.0007904210942797363,
-0.0033111621160060167,
-0.004137820564210415,
0.029279552400112152,
-0.08225814998149872,
0.007501073181629181,
-0.013271826319396496,
0.011632098816335201,
0.008719544857740402,
0.054826684296131134,
-0.009231393225491047,
-0.023173606023192406,
0.03978830203413963,
-0.00596099765971303,
0.030946457758545876,
0.0020496591459959745,
0.05692843720316887,
-0.007261002901941538,
-0.016379155218601227,
-0.009204215370118618,
0.012356841005384922,
-0.07309016585350037,
0.019133172929286957,
-0.03210604190826416,
0.001129011157900095,
-0.017185429111123085,
0.022358272224664688,
-0.007759262342005968,
-0.02980498969554901,
0.024387547746300697,
0.012610499747097492,
-0.06225528568029404,
0.004860296845436096,
-0.011378440074622631,
0.07428599148988724,
-0.004706289153546095,
0.07214800268411636,
-0.003093739738687873,
-0.004586254246532917,
0.024206362664699554,
0.04920994117856026,
0.03808515891432762,
-0.03880989924073219,
-0.03206980600953102,
-0.049064990133047104,
-0.04279597848653793,
-0.013380537740886211,
-0.014268346130847931,
0.005988175515085459,
0.04663710668683052,
0.02007533609867096,
0.042216185480356216,
0.03415343910455704,
0.005888523533940315,
-0.00407667038962245,
-0.044789016246795654,
0.017747104167938232,
-0.02583703026175499,
-0.0051275454461574554,
-0.033972252160310745,
0.04286845400929451,
0.019948506727814674,
-0.01880703866481781,
-0.03156248852610588,
-0.03484194353222847,
0.018643971532583237,
-0.022430745884776115,
-0.029279552400112152,
-0.03891861066222191,
0.036508847028017044,
0.03469699248671532,
0.058776527643203735,
-0.02406141348183155,
0.008923377841711044,
0.032957613468170166,
0.02985934540629387,
0.021126210689544678,
-0.023952702060341835,
0.05243504047393799,
-0.006663091015070677,
-0.055515188723802567,
-0.015491346828639507,
0.00851118192076683,
-0.0376865528523922,
-0.013371478766202927,
0.000019551738660084084,
-0.021397989243268967,
-0.02132551558315754,
0.029515093192458153,
-0.02911648526787758,
-0.018933868035674095,
0.018408430740237236,
-0.009439756162464619,
-0.0026362468488514423,
-0.007655080873519182,
-0.013715730980038643,
-0.011686454527080059,
-0.02252133935689926,
0.005036952439695597,
0.003988342359662056,
0.007351595442742109,
0.043267060071229935,
-0.005154723301529884,
0.030439138412475586,
0.003379106754437089,
-0.03612835705280304,
-0.034986890852451324,
-0.018254423514008522,
0.012936634011566639,
-0.002252360340207815,
0.05040576308965683,
-0.01493873167783022,
0.025927623733878136,
-0.017158253118395805,
-0.05120297893881798,
0.07232919335365295,
0.05392075702548027,
-0.08066371828317642,
0.056022509932518005,
-0.03507748246192932,
-0.005548801273107529,
-0.03565727546811104,
0.00744671793654561,
0.01651504449546337,
-0.03478758782148361,
-0.01983979530632496,
-0.027467697858810425,
0.012003528885543346,
0.016977066174149513,
-0.06352358311414719,
0.02558337152004242,
0.01391503494232893,
0.02935202606022358,
-0.026996616274118423,
0.06975635886192322,
0.00024898830452002585,
-0.011369380168616772,
0.0025864208582788706,
-0.021397989243268967,
-0.02607257105410099,
0.01027320884168148,
0.041237786412239075,
-0.04884757101535797,
-0.015382635407149792,
0.014730368740856647,
0.027485817670822144,
0.013262767344713211,
0.007039050571620464,
0.04823153838515282,
0.054283130913972855,
-0.10211606323719025,
-0.03415343910455704,
-0.004905593115836382,
0.02103561908006668,
0.005354026798158884,
0.06863301247358322,
-0.03634577989578247,
0.06435703486204147,
0.021651647984981537,
-0.0010338888969272375,
0.01828160136938095,
-0.0021572380792349577,
0.0064320797100663185,
0.009530349634587765,
-0.09254947304725647,
0.04054928198456764,
0.029949937015771866,
0.13132314383983612,
0.015446051023900509,
-0.024441903457045555,
-0.01455824263393879,
-0.04732561111450195,
-0.0009200818603858352,
0.00030518407584168017,
0.051311690360307693,
0.0763152688741684,
-0.01391503494232893,
0.018897632136940956,
0.027739476412534714,
-0.0008187312632799149,
-0.003793568117544055,
-0.061820439994335175,
0.05073189735412598,
-0.013751967810094357,
0.002846874762326479,
-0.028572928160429,
0.012293425388634205,
0.007415010128170252,
-0.03292137756943703,
0.10008678585290909,
0.05011586844921112,
-0.03210604190826416,
-0.022901827469468117,
0.023372909054160118,
0.02837362512946129,
-0.027648882940411568,
-0.028464218601584435,
-0.05370333790779114,
0.011369380168616772,
0.015926191583275795,
0.030239833518862724,
-0.0019239619141444564,
-0.004151409026235342,
-0.02458685077726841,
0.027413342148065567,
-0.018951987847685814,
0.020745722576975822,
0.008189577609300613,
0.03457016497850418,
0.03986077755689621,
-0.04319458454847336,
-0.010255090892314911,
0.011912936344742775,
-0.005313260480761528,
-0.05812425911426544,
0.0019681258127093315,
-0.03409908339381218,
-0.021977782249450684,
-0.005553330760449171,
0.022648168727755547,
-0.015337339602410793,
-0.052072666585445404,
-0.02911648526787758,
0.0039588999934494495,
-0.00259774480946362,
-0.017620274797081947,
0.0010486101964488626,
-0.012846041470766068,
-0.04007819667458534,
-0.013226530514657497,
-0.04109283536672592,
-0.02134363353252411,
0.04359319433569908,
0.005435560364276171,
-0.08493968844413757,
0.029442619532346725,
-0.0376865528523922,
-0.011369380168616772,
-0.014114337973296642,
0.01759309694170952,
-0.04141896963119507,
0.012003528885543346,
-0.0110432468354702,
-0.028735995292663574,
-0.06247270852327347,
-0.025510895997285843,
-0.024007057771086693,
0.05283364653587341,
-0.009675297886133194,
-0.03036666475236416,
0.022738760337233543,
-0.024695562198758125,
-0.0069076912477612495,
0.014594479463994503
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.