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
|
---|---|---|---|---|---|---|
21,537 | tempora | gregorian_date |
Gregorian Date is defined as a year and a julian day (1-based
index into the days of the year).
>>> gregorian_date(2007, 15)
datetime.date(2007, 1, 15)
| def gregorian_date(year, julian_day):
"""
Gregorian Date is defined as a year and a julian day (1-based
index into the days of the year).
>>> gregorian_date(2007, 15)
datetime.date(2007, 1, 15)
"""
result = datetime.date(year, 1, 1)
result += datetime.timedelta(days=julian_day - 1)
return result
| (year, julian_day) | [
-0.006465085316449404,
0.0052278186194598675,
-0.02466708794236183,
0.06279250234365463,
-0.028325093910098076,
-0.016284972429275513,
-0.09342586249113083,
0.022965233772993088,
0.054146312177181244,
-0.03611057996749878,
0.07762014120817184,
-0.010964236222207546,
0.032628629356622696,
0.024021556600928307,
0.004963737912476063,
-0.046830300241708755,
0.011277221143245697,
0.04205728694796562,
-0.040453240275382996,
0.00424974225461483,
-0.00661179656162858,
-0.036658305674791336,
0.015678564086556435,
0.0004068186681251973,
-0.0053892009891569614,
0.010191556066274643,
0.026623239740729332,
0.05614158511161804,
0.03280468285083771,
-0.002102864207699895,
0.03168967738747597,
-0.025058317929506302,
0.015727469697594643,
0.01408430002629757,
0.028246846050024033,
0.07785487920045853,
-0.050116635859012604,
0.05919318646192551,
-0.07370784133672714,
0.048395220190286636,
-0.002485536737367511,
-0.010416514240205288,
0.016813132911920547,
-0.026016833260655403,
0.0014365497045218945,
0.0005333573208190501,
-0.0019414817215874791,
0.015306895598769188,
-0.037538573145866394,
-0.005628829821944237,
-0.02554735541343689,
-0.02527349442243576,
-0.026368940249085426,
-0.03556285798549652,
-0.0911567211151123,
0.006856315769255161,
0.04401344060897827,
0.07562486827373505,
-0.0032936723437160254,
0.03869270160794258,
0.047612760215997696,
-0.012793239206075668,
0.004188612103462219,
-0.03462390601634979,
-0.008802687749266624,
0.035523734986782074,
-0.0309267770498991,
-0.036130141466856,
0.037714626640081406,
-0.007330682594329119,
-0.023630326613783836,
0.053637709468603134,
-0.01492544636130333,
-0.02509744092822075,
-0.0071790809743106365,
0.05207278952002525,
0.006333044730126858,
-0.01599154993891716,
0.015952426940202713,
-0.009008083492517471,
0.016148041933774948,
-0.03075072169303894,
0.0017336404416710138,
-0.004616520833224058,
0.026818854734301567,
0.022613126784563065,
0.001749534159898758,
-0.01962021365761757,
0.02476489543914795,
-0.0017825443064793944,
-0.020050566643476486,
-0.03534768149256706,
0.041626933962106705,
-0.017967263236641884,
0.027464386075735092,
0.03481952100992203,
0.010524102486670017,
0.048277851194143295,
0.021791541948914528,
0.026740608736872673,
0.013761535286903381,
-0.015218868851661682,
-0.08106297254562378,
-0.04933417588472366,
-0.007037259638309479,
0.03165055438876152,
0.042683254927396774,
-0.05132944881916046,
0.015971988439559937,
0.02040267363190651,
-0.07296450436115265,
0.004406234249472618,
0.051916297525167465,
-0.0014475530479103327,
-0.030672475695610046,
0.0004208784957882017,
0.0038829634431749582,
0.007653447799384594,
-0.010436075739562511,
0.009384643286466599,
-0.05567210912704468,
-0.005873349029570818,
-0.010807744227349758,
0.06654831767082214,
0.10312838107347488,
0.05359858646988869,
0.042526762932538986,
-0.007819720543920994,
-0.0016590621089562774,
-0.013086662627756596,
0.014935227110981941,
0.05383332446217537,
0.0397099032998085,
-0.038438402116298676,
0.0003079412563238293,
-0.01784011349081993,
-0.07206466794013977,
0.008294087834656239,
-0.03830147162079811,
-0.002145655220374465,
-0.008670647628605366,
-0.04432642459869385,
0.043074484914541245,
0.08129771053791046,
0.003702019341289997,
0.030281245708465576,
0.000479257432743907,
0.051916297525167465,
-0.02421717159450054,
0.02359120361506939,
0.052972618490457535,
0.046321697533130646,
0.10633646696805954,
-0.009942146949470043,
-0.0534420944750309,
-0.05931055545806885,
-0.004770567640662193,
0.010201336815953255,
-0.0013424098724499345,
0.0030002493876963854,
0.04702591523528099,
0.0240998025983572,
-0.003853621194139123,
-0.03041817620396614,
-0.005961375776678324,
0.008098472841084003,
0.0008442021789960563,
0.03436960652470589,
-0.014974350109696388,
-0.01054366398602724,
-0.009795435704290867,
-0.015844838693737984,
0.012724773958325386,
0.01176625955849886,
-0.014583119191229343,
0.03096590004861355,
0.019933197647333145,
0.05367683246731758,
0.008289197459816933,
0.0164414644241333,
0.013859342783689499,
0.03309810534119606,
-0.0417051799595356,
0.013634385541081429,
0.019209420308470726,
0.07464679330587387,
-0.057393524795770645,
-0.024960510432720184,
0.0821584165096283,
0.006039621774107218,
0.04405256360769272,
0.05958441644906998,
-0.003826723899692297,
-0.013116004876792431,
0.0065971254371106625,
-0.014720049686729908,
0.015013473108410835,
0.021713295951485634,
-0.036364879459142685,
0.036364879459142685,
-0.013243154622614384,
0.08184543251991272,
-0.020226620137691498,
-0.06830886006355286,
0.003491732757538557,
0.03395881503820419,
-0.06048424541950226,
0.01054366398602724,
-0.021928472444415092,
-0.03280468285083771,
0.08763564378023148,
0.008455470204353333,
-0.0215176809579134,
0.03137668967247009,
-0.03528899699449539,
-0.03959253430366516,
-0.008313649334013462,
-0.047886621206998825,
-0.01487654261291027,
-0.01767384074628353,
-0.08035875856876373,
0.006787850521504879,
0.015013473108410835,
-0.08614896982908249,
0.06279250234365463,
-0.03147450089454651,
-0.0048439232632517815,
-0.023415150120854378,
-0.014133203774690628,
-0.1133003756403923,
0.006572673562914133,
-0.05148594081401825,
-0.018915997818112373,
-0.10148520767688751,
-0.010142652317881584,
-0.07065623998641968,
0.028422901406884193,
0.034976013004779816,
0.010348048061132431,
0.03736251965165138,
0.010269802063703537,
-0.01525799185037613,
0.030046507716178894,
0.04792574420571327,
0.005751089192926884,
0.02460840344429016,
-0.01381043903529644,
0.05586772412061691,
-0.011521739885210991,
-0.01962021365761757,
-0.064435675740242,
0.008514155633747578,
0.0118836285546422,
0.013605043292045593,
-0.014475530944764614,
0.03282424435019493,
0.01868125982582569,
-0.012871485203504562,
0.03364582732319832,
-0.014446188695728779,
0.036932166665792465,
0.04706503823399544,
-0.038262348622083664,
-0.0197278019040823,
-0.019933197647333145,
-0.017135899513959885,
0.004012558609247208,
0.030848531052470207,
0.07855910062789917,
0.027464386075735092,
0.16525578498840332,
0.02073521912097931,
-0.028775008395314217,
-0.02773824706673622,
0.047378022223711014,
0.007692570798099041,
0.046556439250707626,
0.039279550313949585,
0.03836015611886978,
0.04741714522242546,
0.010905551724135876,
-0.012509597465395927,
0.012098805047571659,
-0.0008099695551209152,
-0.08575773984193802,
0.04389606788754463,
-0.0036091019865125418,
0.04530449956655502,
0.0004979020450264215,
-0.01633387617766857,
0.025684285908937454,
0.015160184353590012,
-0.009052096866071224,
-0.000717663555406034,
0.01193253230303526,
0.027151402086019516,
0.019581090658903122,
0.031904853880405426,
0.004905053414404392,
-0.0036677864845842123,
0.024627964943647385,
0.033411089330911636,
-0.003856066381558776,
-0.018700821325182915,
-0.07061711698770523,
-0.045930467545986176,
0.028109915554523468,
-0.04773012921214104,
-0.06600059568881989,
0.013340962119400501,
-0.04870820418000221,
-0.02499963343143463,
0.053481217473745346,
-0.004658089019358158,
-0.025077879428863525,
-0.11259615421295166,
0.027992546558380127,
-0.05281612649559975,
-0.011629329062998295,
0.004022339358925819,
0.016578394919633865,
0.010631690733134747,
0.04745626822113991,
-0.0035699789877980947,
-0.03114195354282856,
0.016842475160956383,
-0.01199121680110693,
0.07570311427116394,
-0.04287886992096901,
0.020207058638334274,
-0.033743634819984436,
0.010915332473814487,
-0.010220898315310478,
0.036247510462999344,
0.03806673362851143,
-0.029772646725177765,
0.0898265391588211,
-0.04197904095053673,
-0.033019859343767166,
-0.0403749942779541,
-0.042800623923540115,
-0.07652469724416733,
-0.041744302958250046,
-0.023160848766565323,
0.03180704638361931,
0.009854120202362537,
-0.05809773877263069,
-0.0006852647638879716,
0.04835609719157219,
-0.10273714363574982,
0.013673508539795876,
0.030907215550541878,
-0.05755001679062843,
-0.030731160193681717,
-0.006758508272469044,
0.002148100407794118,
0.009971489198505878,
0.024960510432720184,
0.012040120549499989,
0.045656606554985046,
-0.020265743136405945,
0.0073795863427221775,
0.01386912353336811,
-0.015394922345876694,
0.017761867493391037,
0.007570311427116394,
-0.04248763993382454,
0.027972985059022903,
0.008064240217208862,
-0.004357330501079559,
0.028246846050024033,
0.02816860005259514,
-0.024686649441719055,
-0.004518712870776653,
0.026349378749728203,
-0.016734886914491653,
0.0462825745344162,
0.03963165730237961,
-0.04420905560255051,
-0.08325386792421341,
-0.03327415883541107,
-0.029772646725177765,
-0.008514155633747578,
0.0018681259825825691,
0.022789180278778076,
-0.022045843303203583,
0.09522552043199539,
0.020265743136405945,
-0.1068841889500618,
-0.02861851640045643,
-0.021615488454699516,
-0.09342586249113083,
0.06345760077238083,
0.029440099373459816,
-0.020598288625478745,
-0.015072157606482506,
0.012558501213788986,
-0.01087620947510004,
-0.06373146176338196,
0.02398243360221386,
0.05942792445421219,
0.020422235131263733,
-0.06189267709851265,
-0.009345520287752151,
0.013106224127113819,
0.007692570798099041,
0.017536910250782967,
-0.02253488078713417,
-0.02777737006545067,
0.0221436507999897,
-0.019659336656332016,
-0.03260906785726547,
-0.05238577350974083,
0.022339265793561935,
0.04851258918642998,
0.029870454221963882,
-0.040335871279239655,
-0.03824278712272644,
0.022613126784563065,
0.032726436853408813,
-0.08153244853019714,
-0.023278219625353813,
-0.022163212299346924,
0.08043700456619263,
-0.043191853910684586,
0.040844470262527466,
0.05093821883201599,
0.05488964915275574,
-0.08920057117938995,
0.059349678456783295,
0.020324427634477615,
-0.004491815809160471,
-0.010436075739562511,
-0.01087620947510004,
-0.0067144944332540035,
-0.020598288625478745,
-0.013194250874221325,
0.04460028558969498,
-0.00002152914385078475,
0.007213313598185778,
-0.023219533264636993,
0.04131394624710083,
0.02265224978327751,
-0.04193991795182228,
-0.028696762397885323,
0.007428490556776524,
0.04460028558969498,
0.04225290194153786,
-0.020265743136405945,
-0.03114195354282856,
0.018192220479249954,
-0.033176351338624954,
0.04718240723013878,
-0.016177384182810783,
0.01322359312325716,
-0.033743634819984436,
-0.044248178601264954,
-0.024354102090001106,
0.04773012921214104,
-0.01299863588064909,
0.01918007805943489,
-0.01417232770472765,
0.06897395104169846,
-0.007531188428401947,
-0.008900495246052742,
-0.015482950024306774,
0.004325543064624071,
-0.001063658157363534,
-0.06920868903398514,
-0.02951834537088871,
0.025899464264512062,
0.05755001679062843,
0.0057999929413199425,
-0.041626933962106705,
-0.06588322669267654,
-0.022515319287776947,
-0.07124308496713638,
0.023102164268493652,
0.02415848709642887,
-0.03773418813943863,
-0.061188459396362305,
0.03176792338490486,
0.016813132911920547,
-0.018074851483106613,
0.009707408025860786,
-0.002836421597748995,
0.04624345153570175,
-0.04859083518385887,
-0.0036531153600662947,
0.005985827650874853,
-0.013996273279190063,
0.00248920451849699,
-0.03147450089454651,
-0.003457500133663416,
0.023356465622782707,
-0.020383112132549286,
-0.06533550471067429,
-0.05281612649559975,
-0.02822728455066681,
0.05524175614118576,
-0.0257234089076519,
-0.029616154730319977,
-0.024334540590643883,
0.024569280445575714,
0.03730383515357971,
-0.015287334099411964,
-0.011619547381997108,
-0.00631837360560894,
0.03174836188554764,
-0.013116004876792431,
-0.017204364761710167,
0.03515206649899483,
-0.028149038553237915,
0.027875177562236786,
0.05837159976363182,
-0.026349378749728203,
0.029029307886958122,
-0.013468111865222454,
-0.0063819484785199165,
-0.0221436507999897,
0.002638361183926463,
0.017086995765566826,
0.0049735186621546745,
0.07022588700056076,
-0.03343065083026886,
0.0029220033902674913,
-0.00017666505300439894,
0.01123809814453125,
0.026212448254227638,
0.032902490347623825,
-0.019375693053007126,
-0.025312617421150208,
-0.054146312177181244,
0.008577730506658554,
-0.05066435784101486,
-0.04518713057041168,
0.0022838085424154997,
-0.024080241098999977,
0.0293422918766737,
-0.014319038949906826,
-0.045030638575553894,
0.008631524629890919,
0.05747177079319954,
0.035699788480997086,
0.016284972429275513,
0.019258324056863785,
-0.014612461440265179,
-0.0009407872566953301,
0.058841075748205185,
-0.03149406239390373,
-0.05199454352259636,
0.00017070489411707968,
-0.025625601410865784,
0.02542998641729355,
0.01632409542798996,
0.029498783871531487,
0.06134495139122009,
0.05328560248017311,
-0.019669117406010628,
-0.025117002427577972,
0.005286503117531538,
0.02599727176129818,
0.018299810588359833,
-0.0005183804896660149,
-0.032628629356622696,
0.04354396089911461,
0.0069687943905591965,
0.023904187604784966,
0.020696096122264862,
-0.07104746997356415,
-0.05825423076748848,
0.001249492634087801,
0.014993911609053612,
-0.005511460825800896,
0.02398243360221386,
0.04843434318900108,
-0.051133833825588226,
-0.0022838085424154997,
-0.036990851163864136,
0.0023828386329114437,
0.0003670843143481761,
-0.050625234842300415,
-0.001063658157363534,
-0.020500481128692627,
-0.012216174043715,
0.03695172816514969,
-0.013761535286903381,
0.0059418142773211,
-0.01766405999660492,
-0.025899464264512062,
0.0417051799595356,
-0.03767550364136696,
-0.012196612544357777,
-0.015277553349733353,
0.005873349029570818,
-0.05665018782019615,
-0.06416181474924088,
-0.0007800159510225058,
-0.015727469697594643,
-0.02370857261121273,
-0.018857313320040703,
-0.009032535366714,
-0.012040120549499989,
0.007868625223636627,
-0.05262051150202751,
0.012499816715717316,
0.052972618490457535,
-0.014309258200228214,
0.010093748569488525,
-0.0859142318367958,
-0.034193553030490875,
-0.007247546222060919,
-0.0011327347019687295,
-0.03294161334633827,
-0.014485311694443226,
-0.0038144979625940323,
-0.03493689000606537,
0.03532811999320984,
-0.023904187604784966,
0.024001995101571083,
-0.0325503833591938,
-0.017126118764281273,
0.022515319287776947,
0.026232009753584862,
0.010641471482813358,
-0.052033666521310806,
0.04217465594410896,
-0.008166938088834286,
0.002601683372631669,
0.0224761962890625,
-0.004335323814302683,
0.014710268937051296,
-0.03444785252213478,
-0.04135306924581528,
-0.015786154195666313,
0.029048869386315346,
-0.05172068253159523,
0.0012604959774762392,
-0.025371301919221878,
0.024138925597071648,
-0.042409393936395645,
0.05398981645703316,
-0.022065404802560806,
-0.007839282043278217,
-0.010465417988598347,
0.02136118896305561,
-0.008230512961745262,
-0.048669081181287766,
-0.01582527719438076,
-0.06932605803012848,
0.006680261809378862,
-0.0010428739478811622,
0.028814131394028664,
0.008118034340441227,
-0.026134202256798744,
-0.0001393758866470307,
0.0073404633440077305,
0.01557097677141428,
-0.06306637078523636,
0.016705544665455818,
0.07069536298513412,
0.005340297240763903,
0.042409393936395645,
0.002365722320973873,
-0.01889643631875515,
-0.006377058103680611,
-0.010475198738276958,
-0.03466302901506424,
0.03380231931805611,
-0.01274433545768261,
-0.06999114900827408,
-0.004988189786672592,
0.05027312785387039,
-0.01653927192091942,
0.059740908443927765,
0.01381043903529644,
0.06533550471067429,
0.031670115888118744,
0.03886875510215759,
0.03391968831419945,
-0.0040590171702206135,
-0.005130010657012463,
0.03436960652470589,
0.07382521033287048,
-0.04636082053184509,
-0.041392192244529724,
-0.00491972453892231,
-0.0151504036039114,
0.025234371423721313,
0.010553444735705853,
0.02816860005259514,
0.03740164265036583,
0.015698125585913658,
-0.019590871408581734,
0.020813466981053352,
0.03442829102277756,
-0.026290694251656532,
0.029655277729034424,
-0.030555106699466705,
-0.015473169274628162,
0.049060314893722534,
0.010152433067560196,
0.040335871279239655,
0.059858277440071106,
0.00855816900730133,
0.0031445156782865524,
0.041900794953107834,
0.015786154195666313,
0.027660001069307327,
-0.05172068253159523,
0.013008416630327702,
0.029655277729034424,
-0.053481217473745346,
0.01263674721121788,
-0.0045627267099916935,
0.00661179656162858,
-0.04921680688858032,
-0.012930170632898808,
-0.036306194961071014,
-0.007306230720132589,
-0.010299144312739372,
-0.006572673562914133,
0.05121207982301712,
-0.0005883740959689021,
-0.018818190321326256,
-0.032628629356622696,
0.06114933639764786,
-0.06862184405326843,
-0.028325093910098076,
0.04522625356912613,
0.004523603245615959,
0.01788901723921299,
0.036423563957214355,
-0.005090887658298016,
-0.006954123266041279,
-0.031904853880405426,
0.025958148762583733,
0.05359858646988869,
0.018182439729571342,
-0.027464386075735092,
-0.020774343982338905,
0.00359932123683393,
-0.04029674828052521,
-0.08231490850448608,
0.022906549274921417,
0.02542998641729355,
-0.03783199563622475,
-0.0508599728345871,
-0.04745626822113991,
-0.0006051847594790161,
0.02957703173160553,
-0.01928766630589962,
-0.016187164932489395,
-0.030946338549256325,
-0.01784011349081993,
-0.0358758419752121,
-0.015551415272057056,
0.024197610095143318,
0.03433048352599144,
0.013487673364579678,
0.004572507459670305,
-0.0001612297783140093,
-0.024588841944932938,
-0.043348345905542374,
-0.01621650718152523,
-0.009071658365428448,
-0.0315527468919754,
0.0007690126076340675
] |
21,538 | tempora | infer_datetime | null | def infer_datetime(ob: Union[AnyDatetime, StructDatetime]) -> datetime.datetime:
if isinstance(ob, (time.struct_time, tuple)):
ob = datetime.datetime(*ob[:6]) # type: ignore
return ensure_datetime(ob)
| (ob: Union[datetime.datetime, datetime.date, datetime.time, Tuple[int, ...], time.struct_time]) -> datetime.datetime | [
0.04341569170355797,
0.02494014799594879,
-0.010045846924185753,
0.041615888476371765,
-0.05796105042099953,
-0.06890679895877838,
0.010752913542091846,
0.043232038617134094,
0.005018332507461309,
-0.008957699872553349,
0.018466360867023468,
0.01474737748503685,
-0.039301853626966476,
-0.028264276683330536,
-0.008342460729181767,
0.050137411803007126,
-0.06729064881801605,
0.07496736198663712,
-0.0060146525502204895,
0.05340644344687462,
0.02062428928911686,
-0.05641835927963257,
-0.07698755711317062,
0.04639087989926338,
-0.014021946117281914,
-0.018255159258842468,
0.003909524064511061,
0.012295602820813656,
0.018356168642640114,
-0.014683098532259464,
0.023526014760136604,
-0.023930054157972336,
0.013232235796749592,
-0.026648124679923058,
-0.0025114617310464382,
-0.0221486147493124,
0.010890653356909752,
0.06365431100130081,
-0.030376290902495384,
-0.020238617435097694,
-0.033792246133089066,
-0.03915492817759514,
-0.04760299250483513,
-0.008053206838667393,
-0.019761119037866592,
-0.02229553647339344,
0.010137674398720264,
0.023746399208903313,
-0.05318605899810791,
0.022387363016605377,
0.015509539283812046,
-0.04095473513007164,
0.002640019403770566,
0.04018338769674301,
-0.057410091161727905,
0.018126601353287697,
-0.013590360060334206,
0.04517876356840134,
-0.04033031314611435,
0.05873239412903786,
-0.019375445321202278,
0.025344185531139374,
0.00017619259597267956,
0.031974077224731445,
-0.018787754699587822,
-0.005500422790646553,
0.014967761933803558,
-0.027694949880242348,
-0.024168802425265312,
0.0008964587468653917,
-0.011919112876057625,
0.00789710134267807,
-0.019173426553606987,
0.029825331643223763,
0.0355185903608799,
0.02363620698451996,
0.01373728271573782,
0.005505014210939407,
0.023672938346862793,
-0.0022176161874085665,
-0.032176095992326736,
0.019724387675523758,
-0.07860370725393295,
0.0217262115329504,
-0.0017619258724153042,
0.008264408446848392,
-0.03292907401919365,
0.02012842521071434,
-0.03461868688464165,
0.022258806973695755,
0.0138750234618783,
0.0024747310671955347,
0.00011657694267341867,
0.07155141234397888,
-0.03366369009017944,
0.03415955230593681,
-0.018007228150963783,
-0.0019983798265457153,
-0.03801627829670906,
0.007483880966901779,
-0.024517744779586792,
-0.0842602327466011,
-0.10056866705417633,
-0.025821683928370476,
0.00435029249638319,
-0.02872340939939022,
0.0753714069724083,
-0.03864070028066635,
0.016473719850182533,
-0.05873239412903786,
-0.03988954424858093,
-0.034141190350055695,
-0.07926485687494278,
0.0077088563703000546,
0.03280051797628403,
0.027694949880242348,
0.05480220913887024,
-0.015114684589207172,
0.03234138339757919,
0.028117353096604347,
-0.014701464213430882,
-0.015491174533963203,
0.016051316633820534,
0.007649168837815523,
0.04359934478998184,
0.0021498939022421837,
0.0085903936997056,
-0.04220357909798622,
0.014095406979322433,
-0.012846563942730427,
-0.001569089712575078,
0.05575720593333244,
-0.03426974639296532,
-0.02222207561135292,
-0.026372645050287247,
0.030376290902495384,
-0.03465541824698448,
-0.03188224881887436,
-0.03318618983030319,
-0.035261474549770355,
-0.034637052565813065,
-0.03041302226483822,
0.05630816891789436,
-0.01587684638798237,
-0.008126667700707912,
0.02536255121231079,
-0.0005922825657762587,
-0.0024196351878345013,
-0.027346009388566017,
0.048668183386325836,
-0.014517810195684433,
0.021689480170607567,
-0.04837433621287346,
0.012672092765569687,
-0.0755917876958847,
-0.058805856853723526,
-0.009724454022943974,
-0.0398528128862381,
0.011680363677442074,
-0.015977855771780014,
-0.039448775351047516,
-0.0011375040048733354,
-0.00010710730566643178,
-0.01415050309151411,
0.07456332445144653,
0.038126468658447266,
0.010321327485144138,
0.0013957667397335172,
-0.014774925075471401,
-0.015757471323013306,
0.004559198394417763,
0.03048648312687874,
0.0367858000099659,
-0.01767665147781372,
0.03783262521028519,
0.04907222092151642,
-0.025197261944413185,
-0.0009004761232063174,
-0.004556902684271336,
0.006460012402385473,
0.06707026809453964,
0.018062323331832886,
-0.020146790891885757,
0.07162487506866455,
-0.0009010500507429242,
0.04954971745610237,
-0.033020902425050735,
0.004733669571578503,
0.024003515020012856,
0.020863039419054985,
0.021818038076162338,
0.04040377214550972,
0.016023769974708557,
0.002470139879733324,
0.016951220110058784,
-0.004981601610779762,
0.012139497324824333,
0.018971407786011696,
0.017740929499268532,
0.00566111970692873,
-0.034985996782779694,
-0.06593161076307297,
0.00599628733471036,
-0.050321064889431,
0.028337737545371056,
-0.015509539283812046,
0.01970602199435234,
0.017511362209916115,
-0.024921782314777374,
-0.03447176516056061,
-0.02167111448943615,
-0.04242396354675293,
-0.012323151342570782,
0.0059228260070085526,
0.019871311262249947,
-0.03977935016155243,
-0.021634384989738464,
-0.05513278394937515,
-0.0005216907593421638,
0.0003139327163808048,
0.038897816091775894,
0.023452553898096085,
-0.026464471593499184,
-0.02244246006011963,
0.07551832497119904,
0.017796026542782784,
-0.03175369277596474,
-0.053847212344408035,
0.01215786300599575,
-0.014031128957867622,
0.04275453835725784,
-0.06769468635320663,
-0.04565626382827759,
-0.05046798661351204,
0.02795206569135189,
0.05325952172279358,
0.023452553898096085,
-0.06648257374763489,
0.033167824149131775,
-0.06828238070011139,
0.030100811272859573,
-0.01915506273508072,
-0.0450318418443203,
-0.005482057575136423,
0.02501360885798931,
-0.01943054236471653,
0.0018698223866522312,
-0.00777313532307744,
-0.05248817428946495,
0.005647345446050167,
-0.005358091555535793,
0.04319530725479126,
0.026335913687944412,
0.0049310969188809395,
0.009972386062145233,
-0.013783195987343788,
0.05619797483086586,
-0.043636076152324677,
0.0033447896130383015,
0.021652748808264732,
0.004729078151285648,
0.01194666139781475,
0.029035620391368866,
0.020789578557014465,
-0.06626218557357788,
-0.016583912074565887,
-0.02593187615275383,
0.0037419404834508896,
-0.028539756312966347,
0.032671961933374405,
-0.012075218372046947,
-0.01031214464455843,
-0.00337233766913414,
-0.026464471593499184,
-0.02697870135307312,
-0.017713380977511406,
-0.004607407376170158,
0.006078931502997875,
-0.03500435873866081,
0.034563593566417694,
-0.0334065742790699,
-0.018144967034459114,
-0.015812568366527557,
0.03417791798710823,
-0.1074005737900734,
0.001586307305842638,
0.0037924451753497124,
0.031074175611138344,
-0.015068771317601204,
-0.012268055230379105,
0.015509539283812046,
-0.014875934459269047,
0.07511428743600845,
-0.002043145475909114,
-0.052524905651807785,
0.08617023378610611,
0.004111543297767639,
-0.010376423597335815,
0.03403099626302719,
-0.020918136462569237,
-0.010716183111071587,
0.06747430562973022,
-0.03992627561092377,
0.031772058457136154,
0.06023835390806198,
-0.010431519709527493,
-0.011707911267876625,
-0.08484792709350586,
-0.045252226293087006,
0.005110159050673246,
-0.0072589050978422165,
-0.03915492817759514,
-0.052598368376493454,
0.013351610861718655,
0.008879647590219975,
0.05781412869691849,
0.000673204951453954,
0.025546204298734665,
-0.012681275606155396,
0.0529656745493412,
0.003533034585416317,
-0.0007128051947802305,
0.029549850150942802,
-0.017162421718239784,
0.013232235796749592,
-0.035610418766736984,
-0.01593194343149662,
0.0005150907090865076,
-0.010716183111071587,
0.08947599679231644,
-0.01930198445916176,
-0.00038050711737014353,
0.0229934211820364,
0.006129436194896698,
0.03970589116215706,
0.029017256572842598,
-0.0030440569389611483,
-0.03908146917819977,
0.01943054236471653,
0.011092672124505043,
0.028833601623773575,
0.010964115150272846,
0.06909045577049255,
0.025821683928370476,
0.028282642364501953,
0.00662070931866765,
-0.014554541558027267,
0.0029774827416986227,
0.029311101883649826,
0.04312184453010559,
-0.02802552655339241,
-0.007447150070220232,
-0.007212991826236248,
0.035757340490818024,
0.0014600454596802592,
0.018255159258842468,
-0.01068863458931446,
0.028539756312966347,
0.015252424404025078,
-0.007231357041746378,
-0.03619810938835144,
0.028925428166985512,
0.06600507348775864,
-0.06798852980136871,
0.09983405470848083,
0.005592249799519777,
-0.014067859388887882,
-0.0058677298948168755,
-0.042681075632572174,
-0.038897816091775894,
-0.028392834588885307,
0.029806965962052345,
0.02418716810643673,
-0.1059313490986824,
0.04738260805606842,
-0.02391168847680092,
-0.011313056573271751,
0.06729064881801605,
-0.048631452023983,
0.020789578557014465,
0.014774925075471401,
-0.03439830243587494,
0.058475278317928314,
0.03570224344730377,
0.04055069759488106,
-0.011377335526049137,
0.006363594438880682,
-0.004015124868601561,
0.0025596709456294775,
0.0030922661535441875,
-0.009233180433511734,
-0.025950241833925247,
-0.021964959800243378,
0.005964147858321667,
-0.019614195451140404,
-0.004811722319573164,
-0.02082630805671215,
0.00957753136754036,
-0.037355124950408936,
0.0036409308668226004,
-0.011010028421878815,
0.0028351512737572193,
-0.03671233728528023,
0.039595697075128555,
-0.01327814906835556,
0.07081679254770279,
-0.03515128418803215,
0.05432470887899399,
-0.06159738823771477,
-0.0005432126927189529,
-0.008902604691684246,
-0.01066108699887991,
0.04580318555235863,
0.0020190407522022724,
0.053994134068489075,
0.058034513145685196,
-0.009522435255348682,
0.0343615747988224,
-0.006597752682864666,
-0.004710712935775518,
0.01307613030076027,
-0.009843828156590462,
0.011505892500281334,
0.0015025152824819088,
0.004132204223424196,
0.012359881773591042,
0.01802559196949005,
0.0329841710627079,
0.026739951223134995,
0.008365417830646038,
0.015390165150165558,
0.01285574585199356,
-0.04554607346653938,
-0.030082445591688156,
0.03529820591211319,
0.04312184453010559,
0.0048392703756690025,
-0.0040128291584551334,
0.04752952978014946,
0.011836469173431396,
-0.029751868918538094,
0.09491213411092758,
0.006010061129927635,
-0.035536956042051315,
0.01393930148333311,
0.0009274502517655492,
-0.021230347454547882,
0.03988954424858093,
-0.051753561943769455,
0.011028394103050232,
0.05002721771597862,
0.006437055766582489,
0.024774858728051186,
-0.02620735764503479,
0.005293812602758408,
-0.04257088527083397,
0.025766588747501373,
0.007929240353405476,
-0.0022750080097466707,
0.004876000806689262,
-0.031551674008369446,
-0.01886121556162834,
0.02956821583211422,
-0.09278175979852676,
0.023232169449329376,
0.010192770510911942,
-0.008884239010512829,
-0.02705216221511364,
-0.09131252765655518,
0.013103678822517395,
0.02830100618302822,
-0.040146660059690475,
0.08506830781698227,
0.011055941693484783,
0.043856460601091385,
-0.017171604558825493,
0.024517744779586792,
0.004341110121458769,
0.04918241128325462,
-0.014683098532259464,
-0.0032047538552433252,
0.0312394630163908,
-0.01663900911808014,
0.00021292330347932875,
0.019724387675523758,
0.0368959903717041,
-0.024554476141929626,
-0.0138750234618783,
-0.028741775080561638,
-0.009540800005197525,
-0.05649182200431824,
0.0869048461318016,
-0.0038176975212991238,
-0.03572060912847519,
0.04352588206529617,
0.016684921458363533,
-0.03845704719424248,
-0.00937092024832964,
0.03808974102139473,
-0.021156884729862213,
-0.03744695335626602,
0.00999075174331665,
-0.014306608587503433,
-0.028631582856178284,
-0.031974077224731445,
0.003987576812505722,
-0.033516768366098404,
-0.017346074804663658,
-0.005009149666875601,
-0.04312184453010559,
-0.08492138981819153,
-0.004885183647274971,
0.006997198797762394,
0.04690510779619217,
0.040146660059690475,
-0.008122077211737633,
0.08808022737503052,
-0.02607879973948002,
-0.0008522670832462609,
-0.03419628366827965,
0.019650926813483238,
-0.020936500281095505,
0.017933765426278114,
0.00466709490865469,
0.01963256113231182,
-0.025546204298734665,
0.0034733470529317856,
-0.005247899331152439,
0.05939354747533798,
-0.04073435068130493,
0.0571897067129612,
0.001452010590583086,
0.02927437052130699,
0.01135896984487772,
0.05134952440857887,
-0.023948417976498604,
0.00459592929109931,
-0.032598499208688736,
-0.026666490361094475,
-0.03357186168432236,
-0.056785669177770615,
-0.01089983619749546,
-0.0009159719338640571,
0.08940253406763077,
-0.027731681242585182,
0.024076975882053375,
0.010909019038081169,
0.07999946922063828,
-0.03544512763619423,
0.03026609867811203,
-0.04877837374806404,
-0.053149327635765076,
0.026391010731458664,
0.12010940164327621,
-0.10563750565052032,
-0.06460930407047272,
-0.019338715821504593,
0.018677562475204468,
0.0011420953087508678,
-0.053002405911684036,
0.020991597324609756,
0.01713487319648266,
0.053002405911684036,
0.04495837911963463,
-0.027658220380544662,
0.0011047907173633575,
-0.007929240353405476,
0.04135877266526222,
-0.02936619706451893,
0.03974262252449989,
-0.01558300107717514,
0.0043548839166760445,
0.01453617587685585,
-0.05865893512964249,
0.0368959903717041,
0.03278215229511261,
-0.05138625577092171,
0.0007237096433527768,
-0.04492165148258209,
-0.03489416837692261,
0.006060566287487745,
0.026023702695965767,
0.05347990244626999,
-0.006538065150380135,
0.02146909572184086,
-0.05395740270614624,
0.033094365149736404,
-0.04646433889865875,
-0.040220119059085846,
-0.06905372440814972,
-0.010321327485144138,
-0.002871881937608123,
0.036308299750089645,
0.04628068581223488,
0.050137411803007126,
-0.06291969120502472,
-0.0269052404910326,
0.013443437404930592,
-0.01320468820631504,
-0.05605105310678482,
0.004935688339173794,
-0.01963256113231182,
0.0061569842509925365,
0.027309278026223183,
-0.02857648767530918,
0.01685021072626114,
-0.009733636863529682,
-0.04146896302700043,
0.042460694909095764,
-0.009223997592926025,
0.04033031314611435,
0.05774066597223282,
0.03074359893798828,
0.022956689819693565,
0.004680869169533253,
-0.040293581783771515,
-0.104021355509758,
0.060422006994485855,
-0.04304838553071022,
0.007649168837815523,
0.008925560861825943,
-0.00435029249638319,
-0.007075251545757055,
0.04235050082206726,
0.01348935067653656,
-0.0048392703756690025,
0.008507749065756798,
-0.03864070028066635,
0.01732770912349224,
-0.023434188216924667,
0.10350712388753891,
0.0027731680311262608,
0.013792378827929497,
-0.03513291850686073,
-0.0399630069732666,
-0.018971407786011696,
-0.03908146917819977,
0.0044627804309129715,
0.00470153009518981,
0.048815105110406876,
0.01362709142267704,
0.02396678365767002,
0.0624789260327816,
-0.015344250947237015,
0.01950400322675705,
-0.02503197453916073,
-0.038273394107818604,
-0.0555000938475132,
-0.003096857341006398,
0.05443490296602249,
0.00786037091165781,
0.04172607883810997,
0.02321380376815796,
0.003714392427355051,
-0.0632135421037674,
0.009752001613378525,
-0.010055029764771461,
-0.03125782683491707,
0.00230714725330472,
0.04844779893755913,
-0.016519634053111076,
-0.010670268908143044,
-0.008434288203716278,
0.007010973058640957,
0.0156197315081954,
-0.02635427936911583,
-0.049512989819049835,
0.007924648933112621,
0.02381986193358898,
-0.03348003700375557,
-0.06369104236364365,
0.01704304665327072,
0.07026583701372147,
0.01725424826145172,
0.03368205577135086,
-0.044333960860967636,
0.07573871314525604,
0.019724387675523758,
0.012598630972206593,
-0.0013739578425884247,
0.1153344064950943,
-0.014425983652472496,
-0.03206590563058853,
-0.01789703592658043,
-0.06505007296800613,
-0.10504981130361557,
0.003946254961192608,
0.019136697053909302,
0.0634339228272438,
-0.052047405391931534,
0.0869048461318016,
-0.007869552820920944,
-0.017079776152968407,
-0.022258806973695755,
-0.04010992869734764,
-0.048668183386325836,
-0.06295642256736755,
0.04628068581223488,
0.023434188216924667,
0.017878670245409012,
0.07786909490823746,
0.013195505365729332,
-0.018071506172418594,
0.010229500941932201,
0.0589895099401474,
-0.015775837004184723,
-0.037006184458732605,
0.008677628822624683,
0.01775011233985424,
-0.026648124679923058,
-0.021138519048690796,
0.03265359625220299,
-0.0451420359313488,
-0.012773102149367332,
0.05171683058142662,
-0.02027534879744053,
-0.029531486332416534,
0.031000712886452675,
-0.015325886197388172,
0.028209179639816284,
-0.0537002868950367,
0.014269878156483173,
0.0013969145948067307,
0.04304838553071022,
-0.003946254961192608,
0.038824353367090225,
-0.013728100806474686,
0.023746399208903313,
-0.004373249597847462,
0.04521549493074417,
0.036381762474775314,
0.01775929518043995,
0.05513278394937515,
0.01593194343149662,
0.01922852359712124,
0.050982214510440826,
0.0024976879358291626,
0.026923606172204018,
0.002139563439413905,
0.007378280162811279,
-0.041615888476371765,
-0.04227703809738159,
-0.028135718777775764,
0.050431255251169205,
-0.08132177591323853,
-0.10975134372711182,
0.004492624197155237,
0.03061504103243351,
-0.009862193837761879,
0.03513291850686073,
-0.006450829561799765,
-0.03096398338675499,
-0.03845704719424248,
-0.030449753627181053,
0.09843828529119492,
0.01839290000498295,
-0.03621647506952286,
0.0034412078093737364,
-0.004990784451365471,
0.007763952482491732,
-0.007920057512819767,
0.010082578286528587,
0.020110059529542923,
-0.020018232986330986,
-0.044554341584444046,
-0.029788600280880928,
-0.06358084827661514,
0.03507782146334648
] |
21,540 | tempora | parse_timedelta |
Take a string representing a span of time and parse it to a time delta.
Accepts any string of comma-separated numbers each with a unit indicator.
>>> parse_timedelta('1 day')
datetime.timedelta(days=1)
>>> parse_timedelta('1 day, 30 seconds')
datetime.timedelta(days=1, seconds=30)
>>> parse_timedelta('47.32 days, 20 minutes, 15.4 milliseconds')
datetime.timedelta(days=47, seconds=28848, microseconds=15400)
Supports weeks, months, years
>>> parse_timedelta('1 week')
datetime.timedelta(days=7)
>>> parse_timedelta('1 year, 1 month')
datetime.timedelta(days=395, seconds=58685)
Note that months and years strict intervals, not aligned
to a calendar:
>>> date = datetime.datetime.fromisoformat('2000-01-01')
>>> later = date + parse_timedelta('1 year')
>>> diff = later.replace(year=date.year) - date
>>> diff.seconds
20940
>>> parse_timedelta('foo')
Traceback (most recent call last):
...
ValueError: Unexpected 'foo'
>>> parse_timedelta('14 seconds foo')
Traceback (most recent call last):
...
ValueError: Unexpected 'foo'
Supports abbreviations:
>>> parse_timedelta('1s')
datetime.timedelta(seconds=1)
>>> parse_timedelta('1sec')
datetime.timedelta(seconds=1)
>>> parse_timedelta('5min1sec')
datetime.timedelta(seconds=301)
>>> parse_timedelta('1 ms')
datetime.timedelta(microseconds=1000)
>>> parse_timedelta('1 µs')
datetime.timedelta(microseconds=1)
>>> parse_timedelta('1 us')
datetime.timedelta(microseconds=1)
And supports the common colon-separated duration:
>>> parse_timedelta('14:00:35.362')
datetime.timedelta(seconds=50435, microseconds=362000)
TODO: Should this be 14 hours or 14 minutes?
>>> parse_timedelta('14:00')
datetime.timedelta(seconds=50400)
>>> parse_timedelta('14:00 minutes')
Traceback (most recent call last):
...
ValueError: Cannot specify units with composite delta
Nanoseconds get rounded to the nearest microsecond:
>>> parse_timedelta('600 ns')
datetime.timedelta(microseconds=1)
>>> parse_timedelta('.002 µs, 499 ns')
datetime.timedelta(microseconds=1)
Expect ValueError for other invalid inputs.
>>> parse_timedelta('13 feet')
Traceback (most recent call last):
...
ValueError: Invalid unit feets
| def parse_timedelta(str):
"""
Take a string representing a span of time and parse it to a time delta.
Accepts any string of comma-separated numbers each with a unit indicator.
>>> parse_timedelta('1 day')
datetime.timedelta(days=1)
>>> parse_timedelta('1 day, 30 seconds')
datetime.timedelta(days=1, seconds=30)
>>> parse_timedelta('47.32 days, 20 minutes, 15.4 milliseconds')
datetime.timedelta(days=47, seconds=28848, microseconds=15400)
Supports weeks, months, years
>>> parse_timedelta('1 week')
datetime.timedelta(days=7)
>>> parse_timedelta('1 year, 1 month')
datetime.timedelta(days=395, seconds=58685)
Note that months and years strict intervals, not aligned
to a calendar:
>>> date = datetime.datetime.fromisoformat('2000-01-01')
>>> later = date + parse_timedelta('1 year')
>>> diff = later.replace(year=date.year) - date
>>> diff.seconds
20940
>>> parse_timedelta('foo')
Traceback (most recent call last):
...
ValueError: Unexpected 'foo'
>>> parse_timedelta('14 seconds foo')
Traceback (most recent call last):
...
ValueError: Unexpected 'foo'
Supports abbreviations:
>>> parse_timedelta('1s')
datetime.timedelta(seconds=1)
>>> parse_timedelta('1sec')
datetime.timedelta(seconds=1)
>>> parse_timedelta('5min1sec')
datetime.timedelta(seconds=301)
>>> parse_timedelta('1 ms')
datetime.timedelta(microseconds=1000)
>>> parse_timedelta('1 µs')
datetime.timedelta(microseconds=1)
>>> parse_timedelta('1 us')
datetime.timedelta(microseconds=1)
And supports the common colon-separated duration:
>>> parse_timedelta('14:00:35.362')
datetime.timedelta(seconds=50435, microseconds=362000)
TODO: Should this be 14 hours or 14 minutes?
>>> parse_timedelta('14:00')
datetime.timedelta(seconds=50400)
>>> parse_timedelta('14:00 minutes')
Traceback (most recent call last):
...
ValueError: Cannot specify units with composite delta
Nanoseconds get rounded to the nearest microsecond:
>>> parse_timedelta('600 ns')
datetime.timedelta(microseconds=1)
>>> parse_timedelta('.002 µs, 499 ns')
datetime.timedelta(microseconds=1)
Expect ValueError for other invalid inputs.
>>> parse_timedelta('13 feet')
Traceback (most recent call last):
...
ValueError: Invalid unit feets
"""
return _parse_timedelta_nanos(str).resolve()
| (str) | [
-0.013791175559163094,
0.035571854561567307,
-0.04719473049044609,
-0.024417802691459656,
-0.017737092450261116,
-0.011241956613957882,
0.013546997681260109,
0.06379883736371994,
-0.008756224066019058,
-0.03809177130460739,
0.009615730494260788,
0.045983608812093735,
0.01072429958730936,
0.019934695214033127,
0.025843802839517593,
0.05469587817788124,
-0.0007716025575064123,
0.0396154448390007,
-0.05653209984302521,
-0.023890377953648567,
0.013947449624538422,
0.014445572160184383,
0.0022488797549158335,
0.05657116696238518,
-0.010196874849498272,
0.016516201198101044,
0.01637946255505085,
-0.04418645799160004,
-0.032368239015340805,
-0.008126244880259037,
0.06626015156507492,
0.04047495126724243,
-0.07087023556232452,
0.0063730464316904545,
-0.04867933318018913,
-0.003130362369120121,
-0.0016530852299183607,
-0.026625173166394234,
-0.014933928847312927,
0.04156886786222458,
-0.058524589985609055,
-0.03070782870054245,
0.006158169824630022,
0.00869273766875267,
0.009688984602689743,
-0.01824498176574707,
-0.0002661540638655424,
-0.001867961953394115,
-0.0573134683072567,
0.014719052240252495,
0.03690018504858017,
0.00014681204629596323,
0.01664317399263382,
-0.017922667786478996,
-0.05586793273687363,
0.04168607294559479,
0.0024222461506724358,
0.06606480479240417,
-0.01072429958730936,
0.008077409118413925,
-0.03078596666455269,
0.05696185305714607,
-0.010655929334461689,
0.05536004528403282,
-0.09954649955034256,
-0.05543817952275276,
0.05707905814051628,
-0.056844644248485565,
-0.04395204409956932,
-0.025648459792137146,
-0.007247203961014748,
-0.007969970814883709,
-0.011632641777396202,
-0.0405140183866024,
0.036841582506895065,
0.027484679594635963,
-0.012882833369076252,
-0.007618354633450508,
0.020432818681001663,
0.08548184484243393,
-0.023382488638162613,
0.013332120142877102,
0.01947564072906971,
-0.028363719582557678,
0.04981231689453125,
0.011534970253705978,
-0.016965489834547043,
0.02533591352403164,
-0.017219435423612595,
0.0071934848092496395,
-0.02873487025499344,
-0.05965757742524147,
0.02902788482606411,
0.0017446520505473018,
-0.041021909564733505,
0.036626704037189484,
-0.00737906014546752,
-0.019729584455490112,
-0.04727286845445633,
-0.04895281046628952,
0.020198406651616096,
0.027074459940195084,
-0.0029765302315354347,
-0.017590586096048355,
-0.0035039547365158796,
-0.020139804109930992,
-0.03514210134744644,
-0.07024513930082321,
0.046061743050813675,
-0.006807683501392603,
0.011691244319081306,
-0.05168760567903519,
-0.04422552511096001,
0.020276544615626335,
-0.01445533987134695,
-0.010255477391183376,
0.006216772831976414,
-0.01176938135176897,
-0.02181974984705448,
-0.03885360807180405,
-0.008477861061692238,
0.03627508878707886,
-0.02558985725045204,
0.02514057047665119,
0.023558296263217926,
-0.04696032032370567,
0.013966983184218407,
0.0005985414027236402,
0.024085721001029015,
0.051882948726415634,
0.0006855298415757716,
0.005034951027482748,
0.03242684155702591,
0.025023365393280983,
0.05239083990454674,
0.05914968624711037,
0.008555998094379902,
0.0956396535038948,
-0.029633445665240288,
0.039048951119184494,
0.04492875933647156,
-0.01209169626235962,
-0.03377470374107361,
-0.004900652915239334,
-0.03578673303127289,
0.006836984772235155,
-0.02115558460354805,
-0.017971502617001534,
-0.06426765769720078,
0.06442393362522125,
-0.07075302302837372,
-0.03543511778116226,
0.04910908639431,
0.03764248639345169,
0.06340815126895905,
-0.05547725036740303,
0.028637200593948364,
-0.03342308849096298,
-0.03637275844812393,
0.013400490395724773,
0.023597365245223045,
-0.005557491909712553,
0.024671748280525208,
-0.0022403334733098745,
0.025023365393280983,
0.016438065096735954,
0.04660870134830475,
-0.015285545028746128,
-0.060243602842092514,
0.04637429118156433,
0.036841582506895065,
0.08493489027023315,
0.053641028702259064,
0.019758885726332664,
-0.02996552735567093,
-0.024788953363895416,
0.03846292197704315,
0.010558257810771465,
-0.030512487515807152,
-0.060868699103593826,
0.027738625183701515,
0.033677034080028534,
-0.048562128096818924,
0.013830243609845638,
-0.02361689880490303,
0.02062815986573696,
-0.040240541100502014,
0.029985062777996063,
-0.03252451494336128,
-0.026273556053638458,
0.007633005268871784,
-0.022952735424041748,
-0.011388463899493217,
0.06309560686349869,
-0.020198406651616096,
0.05067182704806328,
0.0034648862201720476,
0.01607668213546276,
0.08313773572444916,
-0.008092059753835201,
-0.043561361730098724,
0.034263063222169876,
0.007994389161467552,
-0.02398804947733879,
0.026800980791449547,
-0.051804810762405396,
-0.05485215410590172,
-0.016965489834547043,
-0.0850130245089531,
-0.05903248116374016,
-0.0277581587433815,
-0.02894974686205387,
0.011017313227057457,
0.06368163228034973,
-0.007633005268871784,
0.008267868310213089,
-0.01475812029093504,
0.0007917472976259887,
0.01585203781723976,
-0.04324881359934807,
0.06211889162659645,
0.03328634798526764,
0.05414891988039017,
-0.0040948656387627125,
0.05895434319972992,
-0.04203769192099571,
-0.007506032940000296,
0.022601118311285973,
0.025687528774142265,
-0.0028495576698333025,
0.038111306726932526,
-0.09165466576814651,
0.023265283554792404,
0.007784395478665829,
0.10509422421455383,
-0.020979776978492737,
0.01389861386269331,
-0.03879500553011894,
0.06125938519835472,
-0.03514210134744644,
-0.0473119355738163,
-0.04078749939799309,
-0.057508811354637146,
0.029613912105560303,
0.001308794249780476,
-0.046061743050813675,
0.011994024738669395,
0.0020376655738800764,
-0.04145166277885437,
0.003230475354939699,
-0.009610847570002079,
0.042623717337846756,
0.05168760567903519,
0.0128535320982337,
0.00029331885161809623,
0.01962214708328247,
0.02193695493042469,
0.03115711733698845,
0.020725831389427185,
0.0040240539237856865,
0.05289872735738754,
-0.07149532437324524,
-0.004817632492631674,
0.015959477052092552,
-0.046764977276325226,
-0.025277309119701385,
0.023402022197842598,
-0.03674390912055969,
-0.013410257175564766,
-0.0015175665030255914,
-0.04125631973147392,
-0.044342730194330215,
-0.029535774141550064,
-0.01668224297463894,
-0.03373563662171364,
0.005244944244623184,
0.020452352240681648,
-0.006114217918366194,
-0.004146142862737179,
0.011701011098921299,
-0.06762754917144775,
-0.008761107921600342,
0.0016811657696962357,
-0.028344186022877693,
-0.028226980939507484,
0.05469587817788124,
-0.005415868945419788,
0.009034587070345879,
0.008023690432310104,
0.050906237214803696,
-0.027191665023565292,
-0.07930902391672134,
0.007359526120126247,
-0.05196108669042587,
-0.021214187145233154,
0.10118737816810608,
-0.07919181883335114,
-0.04512409865856171,
0.01660410687327385,
-0.04242837429046631,
-0.04063122346997261,
0.06895587593317032,
-0.029945993795990944,
0.01279492862522602,
-0.0587199330329895,
0.014406504109501839,
0.033227745443582535,
-0.030903171747922897,
0.0019766211044043303,
-0.04875747114419937,
-0.013537229970097542,
-0.01939750276505947,
-0.02517963945865631,
0.008809943683445454,
0.046139881014823914,
0.05039834603667259,
-0.013420024886727333,
0.006260724738240242,
-0.013927915133535862,
0.04727286845445633,
-0.00873180665075779,
0.021096982061862946,
-0.03383331000804901,
-0.010685230605304241,
0.02914508990943432,
-0.01984679140150547,
-0.007359526120126247,
0.0578213594853878,
0.04488968849182129,
-0.005777252372354269,
0.0061093345284461975,
-0.05770415440201759,
0.030395282432436943,
-0.006675827316939831,
0.024632679298520088,
-0.08759154379367828,
0.016066914424300194,
0.02939903549849987,
0.04008426517248154,
0.005230293609201908,
0.10595373064279556,
0.013244216330349445,
-0.01693618856370449,
-0.017209667712450027,
0.0546177439391613,
-0.03422399237751961,
0.03000459633767605,
0.010665696114301682,
0.10071855783462524,
0.013107476755976677,
-0.007842998020350933,
-0.005562375765293837,
-0.011525203473865986,
-0.0013735013781115413,
0.0027470027562230825,
0.021800214424729347,
0.022894132882356644,
-0.039088018238544464,
0.03059062361717224,
-0.04449900612235069,
-0.04156886786222458,
0.022073693573474884,
0.0446162112057209,
-0.021175118163228035,
0.010021066293120384,
-0.048327717930078506,
0.04637429118156433,
-0.03473188355565071,
-0.0040240539237856865,
0.021917419508099556,
0.018118010833859444,
0.007100697141140699,
0.0564148910343647,
-0.015168339014053345,
0.0159008726477623,
0.0083167040720582,
0.024593612179160118,
0.04621801897883415,
-0.06250957399606705,
-0.010929408483207226,
0.02144859917461872,
-0.016223188489675522,
-0.02726980298757553,
0.0669243186712265,
0.029945993795990944,
-0.015959477052092552,
0.06407231837511063,
-0.009356901980936527,
-0.01701432466506958,
0.03850199282169342,
-0.03103991225361824,
-0.037701088935136795,
0.016555270180106163,
0.03176267817616463,
-0.022190900519490242,
-0.02004213258624077,
-0.039341963827610016,
-0.01947564072906971,
-0.04219396412372589,
0.01348839420825243,
0.04637429118156433,
-0.03566952794790268,
-0.023460624739527702,
0.07118277996778488,
0.006202122196555138,
0.05442240089178085,
0.011525203473865986,
0.05536004528403282,
-0.05723533034324646,
0.049343496561050415,
-0.008302053436636925,
-0.06043894588947296,
0.015598093159496784,
-0.014191627502441406,
-0.03645089641213417,
-0.012492148205637932,
-0.05160946771502495,
-0.029711583629250526,
-0.00043738388922065496,
-0.02517963945865631,
-0.019983530044555664,
-0.05629768595099449,
0.015871571376919746,
0.013537229970097542,
0.027035390958189964,
0.025238242000341415,
0.05907154828310013,
-0.006104450672864914,
-0.013771641068160534,
-0.011798682622611523,
0.01984679140150547,
0.033930979669094086,
-0.04203769192099571,
-0.043522290885448456,
0.07387850433588028,
0.025316378101706505,
-0.04395204409956932,
0.025511721149086952,
0.020491421222686768,
0.022737858816981316,
-0.036548566073179245,
0.018850544467568398,
0.01917285844683647,
0.04973418265581131,
0.025921940803527832,
-0.06407231837511063,
0.011994024738669395,
0.0120526272803545,
-0.028969282284379005,
-0.003950800746679306,
0.029574843123555183,
-0.019045885652303696,
0.00938620325177908,
-0.04254557937383652,
0.05957943946123123,
-0.03293473273515701,
0.02566799521446228,
0.03293473273515701,
-0.04297533258795738,
-0.021370461210608482,
0.005962827708572149,
0.0423111692070961,
0.02555079013109207,
0.01846962608397007,
-0.04235023632645607,
0.06817450374364853,
0.010431285947561264,
-0.03899034857749939,
-0.07055768370628357,
0.024241995066404343,
-0.013449326157569885,
0.02074536494910717,
0.001327107660472393,
0.04656963422894478,
-0.024241995066404343,
-0.010675463825464249,
0.0197784211486578,
-0.008243449963629246,
-0.009137141518294811,
0.0040704477578401566,
0.07661329954862595,
-0.05071089416742325,
0.05860272794961929,
0.01899705082178116,
-0.003159663639962673,
0.024535009637475014,
0.04625708609819412,
-0.01884077675640583,
0.04969511181116104,
-0.03504443168640137,
-0.058446455746889114,
-0.012042860500514507,
0.050163935869932175,
-0.025961007922887802,
0.0227573923766613,
-0.07536310702562332,
-0.034087251871824265,
-0.017971502617001534,
0.0070372107438743114,
-0.011544737033545971,
0.029945993795990944,
0.031254786998033524,
0.08337214589118958,
-0.010968477465212345,
0.06794009357690811,
0.04219396412372589,
-0.003149896627292037,
0.056922782212495804,
-0.03189941868185997,
-0.06274398416280746,
-0.04817144200205803,
0.006260724738240242,
0.005464704241603613,
0.022366708144545555,
-0.03451700508594513,
0.009508292190730572,
0.03723226487636566,
-0.026664240285754204,
0.011056381277740002,
-0.012882833369076252,
0.03301287069916725,
0.007720909547060728,
0.0058895740658044815,
0.005835854914039373,
-0.016408763825893402,
-0.019573310390114784,
-0.09688984602689743,
-0.017639420926570892,
0.04473341628909111,
-0.04121725261211395,
0.03537651151418686,
-0.010782902128994465,
-0.006143519189208746,
-0.048640262335538864,
0.025687528774142265,
-0.018293818458914757,
-0.03607974573969841,
-0.05239083990454674,
-0.011925655417144299,
0.026136817410588264,
0.007423012051731348,
0.02197602204978466,
-0.004761471413075924,
0.03703692555427551,
0.016291558742523193,
0.06450206786394119,
0.0214095301926136,
0.07157346606254578,
-0.013039106503129005,
0.05399264767765999,
-0.033520761877298355,
0.004729728680104017,
-0.016555270180106163,
0.06723686307668686,
-0.02500382997095585,
-0.05246897414326668,
-0.019895626232028008,
-0.0048371669836342335,
0.011339628137648106,
0.012531216256320477,
0.008980868384242058,
-0.021995557472109795,
0.015158572234213352,
0.019602611660957336,
-0.0450068935751915,
0.003718831343576312,
0.007496265694499016,
-0.012101463042199612,
-0.023382488638162613,
0.05297686532139778,
-0.013605600222945213,
0.011105217039585114,
-0.03891221061348915,
-0.041139114648103714,
-0.0405140183866024,
-0.0029545542784035206,
-0.02787536382675171,
-0.02742607705295086,
0.006885820534080267,
0.009137141518294811,
-0.01158380601555109,
0.039088018238544464,
0.016516201198101044,
-0.03123525343835354,
-0.010362915694713593,
0.008477861061692238,
0.017209667712450027,
-0.0035796500742435455,
-0.0446162112057209,
0.023812241852283478,
0.027289336547255516,
-0.005879806820303202,
0.013957216404378414,
0.024652214720845222,
0.005357265938073397,
-0.040982842445373535,
-0.008023690432310104,
0.01962214708328247,
0.013537229970097542,
0.013048874214291573,
0.00045233979471959174,
-0.026332158595323563,
0.0010731624206528068,
0.08009039610624313,
-0.0006959073944017291,
0.02168300934135914,
0.06563505530357361,
-0.014093955978751183,
-0.020589090883731842,
-0.05903248116374016,
0.04867933318018913,
-0.04696032032370567,
0.03238777443766594,
0.0295553095638752,
0.025921940803527832,
-0.03795503452420235,
-0.019749119877815247,
-0.002627355745062232,
-0.02369503676891327,
-0.04973418265581131,
-0.04313160851597786,
0.007745327427983284,
-0.01223820261657238,
0.00047614716459065676,
-0.01494369562715292,
-0.04301440343260765,
-0.014074421487748623,
-0.030317144468426704,
-0.023636434227228165,
-0.119237020611763,
-0.0017519773682579398,
0.05227363482117653,
0.015685996040701866,
-0.06157193332910538,
-0.04711659252643585,
0.045085031539201736,
-0.01566646248102188,
-0.048601195216178894,
-0.025511721149086952,
0.002998506184667349,
0.06813544034957886,
0.0004874404112342745,
-0.03242684155702591,
0.02078443393111229,
-0.0067344303242862225,
-0.021136051043868065,
-0.0008228799561038613,
-0.04750727862119675,
0.02932089753448963,
0.05157040059566498,
0.017483146861195564,
0.05289872735738754,
0.007882067002356052,
-0.058446455746889114,
-0.04309253767132759,
0.010069902054965496,
-0.005977478343993425,
-0.023382488638162613,
-0.01701432466506958,
0.05196108669042587,
0.03690018504858017,
-0.03381377458572388,
0.022640187293291092,
0.0578213594853878,
0.023050406947731972,
0.030981309711933136,
-0.006753964349627495,
0.04973418265581131,
0.10415658354759216,
-0.014523709192872047,
0.016467366367578506,
-0.03129385784268379,
0.05879807099699974,
0.06356442719697952,
0.001875287271104753,
0.010597326792776585,
0.053601961582899094,
-0.003669995814561844,
0.011730312369763851,
0.03674390912055969,
-0.00515703996643424,
-0.003250009613111615,
-0.014396736398339272,
-0.041060976684093475,
-0.009898977354168892,
-0.019377969205379486,
0.021331392228603363,
-0.021429063752293587,
0.05063275620341301,
-0.03469281643629074,
0.07067488878965378,
0.0010304312454536557,
-0.0664164274930954,
0.03498582914471626,
0.00949852541089058,
-0.010382450185716152,
-0.04867933318018913,
-0.0033061704598367214,
0.047624483704566956,
-0.02115558460354805,
0.027953501790761948,
-0.0270549263805151,
-0.006040964741259813,
-0.018752872943878174,
0.031625937670469284,
-0.0193291325122118,
-0.022952735424041748,
-0.0028910678811371326,
0.04637429118156433,
-0.038189444690942764,
-0.006573272868990898,
0.023675501346588135,
0.012843764387071133,
-0.016613872721791267,
0.06676804274320602,
-0.029301363974809647,
0.019544009119272232,
0.006700245197862387,
0.002568752970546484,
0.00193755270447582,
0.018342653289437294,
-0.014474873431026936,
0.0019607495050877333,
0.014123257249593735,
-0.09946836531162262,
-0.03748621046543121,
-0.031586870551109314,
0.000603119726292789,
0.02004213258624077,
-0.00046119125909172,
-0.03764248639345169,
0.07430826127529144,
0.038599662482738495,
-0.04621801897883415,
0.01123218983411789,
-0.006460950709879398,
0.003919057548046112,
-0.01808870956301689,
0.045045964419841766,
0.03018040396273136,
-0.055516317486763,
0.0010981906671077013,
0.015285545028746128,
-0.026625173166394234,
-0.04903094843029976,
-0.01425023004412651,
-0.007056745234876871,
0.03926382586359978,
-0.01586180552840233,
-0.02742607705295086,
0.0001616153313079849,
-0.08688831329345703,
-0.0782151073217392,
-0.013576298952102661,
-0.001822788966819644,
-0.05024207383394241,
-0.001885054400190711,
-0.02443733811378479,
-0.02242531068623066,
0.0006354733486659825,
-0.007129998411983252,
-0.04582733288407326,
0.054305195808410645,
0.057743221521377563,
-0.005918875336647034,
0.0002283064677612856,
-0.029184158891439438,
0.05563352257013321
] |
21,542 | tempora | strftime |
Portable strftime.
In the stdlib, strftime has `known portability problems
<https://bugs.python.org/issue13305>`_. This function
aims to smooth over those issues and provide a
consistent experience across the major platforms.
>>> strftime('%Y', datetime.datetime(1890, 1, 1))
'1890'
>>> strftime('%Y', datetime.datetime(900, 1, 1))
'0900'
Supports time.struct_time, tuples, and datetime.datetime objects.
>>> strftime('%Y-%m-%d', (1976, 5, 7))
'1976-05-07'
Also supports date objects
>>> strftime('%Y', datetime.date(1976, 5, 7))
'1976'
Also supports milliseconds using %s.
>>> strftime('%s', datetime.time(microsecond=20000))
'020'
Also supports microseconds (3 digits) using %µ
>>> strftime('%µ', datetime.time(microsecond=123456))
'456'
Historically, %u was used for microseconds, but now
it honors the value rendered by stdlib.
>>> strftime('%u', datetime.date(1976, 5, 7))
'5'
Also supports microseconds (6 digits) using %f
>>> strftime('%f', datetime.time(microsecond=23456))
'023456'
Even supports time values on date objects (discouraged):
>>> strftime('%f', datetime.date(1976, 1, 1))
'000000'
>>> strftime('%µ', datetime.date(1976, 1, 1))
'000'
>>> strftime('%s', datetime.date(1976, 1, 1))
'000'
And vice-versa:
>>> strftime('%Y', datetime.time())
'1900'
| def strftime(fmt: str, t: Union[AnyDatetime, tuple, time.struct_time]) -> str:
"""
Portable strftime.
In the stdlib, strftime has `known portability problems
<https://bugs.python.org/issue13305>`_. This function
aims to smooth over those issues and provide a
consistent experience across the major platforms.
>>> strftime('%Y', datetime.datetime(1890, 1, 1))
'1890'
>>> strftime('%Y', datetime.datetime(900, 1, 1))
'0900'
Supports time.struct_time, tuples, and datetime.datetime objects.
>>> strftime('%Y-%m-%d', (1976, 5, 7))
'1976-05-07'
Also supports date objects
>>> strftime('%Y', datetime.date(1976, 5, 7))
'1976'
Also supports milliseconds using %s.
>>> strftime('%s', datetime.time(microsecond=20000))
'020'
Also supports microseconds (3 digits) using %µ
>>> strftime('%µ', datetime.time(microsecond=123456))
'456'
Historically, %u was used for microseconds, but now
it honors the value rendered by stdlib.
>>> strftime('%u', datetime.date(1976, 5, 7))
'5'
Also supports microseconds (6 digits) using %f
>>> strftime('%f', datetime.time(microsecond=23456))
'023456'
Even supports time values on date objects (discouraged):
>>> strftime('%f', datetime.date(1976, 1, 1))
'000000'
>>> strftime('%µ', datetime.date(1976, 1, 1))
'000'
>>> strftime('%s', datetime.date(1976, 1, 1))
'000'
And vice-versa:
>>> strftime('%Y', datetime.time())
'1900'
"""
t = infer_datetime(t)
subs = (
('%s', '%03d' % (t.microsecond // 1000)),
('%µ', '%03d' % (t.microsecond % 1000)),
) + (('%Y', '%04d' % t.year),) * _needs_year_help()
def doSub(s, sub):
return s.replace(*sub)
def doSubs(s):
return functools.reduce(doSub, subs, s)
fmt = '%%'.join(map(doSubs, fmt.split('%%')))
return t.strftime(fmt)
| (fmt: str, t: Union[datetime.datetime, datetime.date, datetime.time, tuple, time.struct_time]) -> str | [
0.022817380726337433,
0.03186400234699249,
-0.041771300137043,
0.03639687970280647,
-0.03882588818669319,
-0.058449216187000275,
-0.002770886989310384,
0.021440304815769196,
-0.008664102293550968,
-0.05661311745643616,
0.03169187158346176,
0.029836643487215042,
0.005594370421022177,
0.014727060683071613,
0.026776473969221115,
0.034771163016557693,
-0.024003196507692337,
0.04257459565997124,
-0.011026169173419476,
-0.036014359444379807,
0.10687638074159622,
0.02302776835858822,
-0.003552664304152131,
-0.010261127725243568,
0.0005621266318485141,
0.0014272816479206085,
0.016094572842121124,
-0.020177986472845078,
-0.026126189157366753,
-0.010175060480833054,
0.06667342036962509,
0.043492645025253296,
-0.02140205353498459,
-0.04219207167625427,
-0.03932316601276398,
-0.0009282112587243319,
-0.03169187158346176,
-0.017509901896119118,
-0.04299536719918251,
-0.0036435131914913654,
0.012843144126236439,
-0.012642321176826954,
0.00945305172353983,
-0.06280995905399323,
-0.007425690069794655,
-0.006813656538724899,
0.0052453200332820415,
0.0463998056948185,
-0.09387066960334778,
0.017261262983083725,
-0.02193758264183998,
0.0019400989403948188,
-0.0005161045701242983,
-0.049574729055166245,
-0.08866838365793228,
0.06154763698577881,
0.015291279181838036,
0.08392512053251266,
0.05600108206272125,
-0.008468059822916985,
0.001207929803058505,
0.043416138738393784,
-0.022014087066054344,
0.047891635447740555,
-0.07417083531618118,
-0.037161920219659805,
0.05623059719800949,
-0.06223617494106293,
-0.026661718264222145,
0.00022831725073046982,
0.008850581012666225,
0.05829621106386185,
-0.033107198774814606,
-0.01687874086201191,
0.04858017340302467,
0.04379866272211075,
-0.015568607486784458,
-0.006321160588413477,
0.016620539128780365,
0.06717069447040558,
0.05252014100551605,
-0.029262861236929893,
-0.019135616719722748,
-0.03970568627119064,
-0.03899802267551422,
-0.01728995144367218,
0.0021480948198586702,
0.011829463765025139,
-0.007038387469947338,
0.008979681879281998,
-0.014860942959785461,
0.004121664445847273,
0.059329017996788025,
0.0035956979263573885,
-0.05600108206272125,
-0.05033976957201958,
-0.0008989244815893471,
0.058984749019145966,
-0.07535664737224579,
0.0194320697337389,
0.04066198691725731,
-0.128756582736969,
-0.06839476525783539,
-0.03840511292219162,
-0.01165732927620411,
0.00496321078389883,
-0.006029488053172827,
0.0019245591247454286,
0.0026609122287482023,
-0.02958800457417965,
-0.042268577963113785,
-0.0371236689388752,
-0.010662774555385113,
-0.038156475871801376,
0.05030151829123497,
0.03677939996123314,
0.0005947006866335869,
-0.018772220239043236,
0.033910490572452545,
-0.06541109830141068,
-0.017729850485920906,
0.06782098114490509,
-0.01977633871138096,
-0.011198303662240505,
0.004924958571791649,
-0.011752959340810776,
0.004714571870863438,
0.008797984570264816,
0.08316008001565933,
0.02134467475116253,
-0.009586934000253677,
0.08040592819452286,
0.007478286512196064,
-0.0032944625709205866,
0.06296296417713165,
-0.00046619755448773503,
-0.026585213840007782,
0.020560506731271744,
-0.024672608822584152,
0.05952027812600136,
0.012890960089862347,
-0.05470051243901253,
0.02516988478600979,
0.020464876666665077,
0.06606138497591019,
0.017835045233368874,
0.008109446614980698,
0.006101211067289114,
0.014086337760090828,
0.11888754367828369,
0.022243600338697433,
-0.0015886577311903238,
0.021899331361055374,
0.029798390343785286,
0.001984328031539917,
-0.02122991904616356,
0.009185287170112133,
-0.07933486998081207,
0.0034092189744114876,
0.01360818650573492,
0.04544350132346153,
0.0031055929139256477,
0.006981009151786566,
0.00908009335398674,
0.018705280497670174,
0.06422528624534607,
-0.020923901349306107,
0.00007198418461484835,
0.03209351748228073,
-0.0429571159183979,
0.014143716543912888,
-0.0006951125105842948,
-0.001132023287937045,
-0.008797984570264816,
0.061241623014211655,
-0.0287273321300745,
-0.02878470905125141,
-0.004779122304171324,
-0.031366728246212006,
-0.03270554915070534,
0.02453872561454773,
-0.007043168880045414,
-0.04039422422647476,
0.0069331941194832325,
-0.028268305584788322,
0.032055266201496124,
-0.04896269738674164,
0.022358356043696404,
-0.02448134869337082,
0.00417665159329772,
0.013483867049217224,
0.008157261647284031,
-0.030907701700925827,
0.03494329750537872,
-0.00420534098520875,
0.015214774757623672,
0.010318505577743053,
-0.013445614837110043,
0.08247154206037521,
-0.019451195374131203,
-0.013818573206663132,
0.07738400995731354,
0.017041312530636787,
-0.024576978757977486,
0.0008170410874299705,
-0.043836914002895355,
0.04655281454324722,
0.007067076396197081,
-0.09907295554876328,
-0.025322893634438515,
0.03612911328673363,
-0.06885378807783127,
-0.06690293550491333,
-0.0051688156090676785,
-0.014401918277144432,
0.007951656356453896,
0.01075840461999178,
0.0025102945510298014,
-0.020445751026272774,
-0.0208856500685215,
-0.019049549475312233,
0.02779015526175499,
0.004678710829466581,
-0.011647766456007957,
0.04073849320411682,
-0.010854034684598446,
0.018370574340224266,
0.029148105531930923,
-0.0040069082751870155,
-0.02453872561454773,
0.04387516528367996,
-0.020235363394021988,
-0.0026130969636142254,
0.037161920219659805,
-0.008578035049140453,
-0.04617029055953026,
0.024117952212691307,
-0.012135480530560017,
-0.012097228318452835,
-0.028937717899680138,
0.04379866272211075,
0.018647901713848114,
-0.015367783606052399,
0.0018229519482702017,
0.07707799226045609,
-0.0783403143286705,
0.0043631307780742645,
0.00048293283907696605,
-0.05929076299071312,
0.005819101817905903,
-0.04387516528367996,
0.06678817421197891,
0.02813442423939705,
-0.05477701500058174,
-0.030792945995926857,
-0.00917094200849533,
0.004100147634744644,
0.005795193836092949,
0.0030147440265864134,
0.03444601967930794,
-0.023525044322013855,
0.00007650421321159229,
-0.03605261072516441,
-0.001800239784643054,
-0.01665879227221012,
-0.06816525012254715,
-0.005159252788871527,
-0.012575379572808743,
-0.013694253750145435,
0.012690136209130287,
-0.07516539096832275,
-0.015606858767569065,
0.003944748546928167,
-0.01090184971690178,
-0.047776881605386734,
-0.004475496243685484,
0.06583187729120255,
-0.009213975630700588,
0.09188155829906464,
-0.00966343842446804,
0.005288353655487299,
-0.019537262618541718,
0.017079565674066544,
-0.0018062166636809707,
0.021268170326948166,
-0.015769431367516518,
0.0014428215799853206,
-0.004666756838560104,
-0.0458260215818882,
0.017605531960725784,
0.04919220879673958,
-0.020675262436270714,
0.058793485164642334,
-0.017337767407298088,
-0.022090591490268707,
0.0017440569354221225,
-0.010261127725243568,
-0.034426894038915634,
0.06927456706762314,
-0.07466810941696167,
-0.03352797031402588,
0.0742473378777504,
0.013837698847055435,
-0.007640858180820942,
0.022358356043696404,
-0.019221683964133263,
-0.0015109581872820854,
-0.04559651017189026,
-0.036358628422021866,
-0.001117678708396852,
0.0012802501441910863,
-0.06705594062805176,
0.012001598253846169,
-0.014966136775910854,
0.021134288981556892,
0.038156475871801376,
-0.04230682924389839,
-0.03788870945572853,
-0.017251700162887573,
0.006837564054876566,
0.04601728171110153,
-0.016113700345158577,
-0.002866517286747694,
-0.0020751766860485077,
0.0481594018638134,
-0.10901850461959839,
-0.028689078986644745,
0.04494622349739075,
-0.0005773677257820964,
0.03660726547241211,
0.03454165160655975,
0.004489840939640999,
0.04230682924389839,
-0.016725733876228333,
0.019642455503344536,
0.020751766860485077,
-0.000046993311116239056,
-0.05668962001800537,
0.0027613239362835884,
-0.0015145443612709641,
0.020579632371664047,
0.020235363394021988,
-0.027350256219506264,
-0.02245398610830307,
0.013005715794861317,
0.02675734832882881,
-0.02779015526175499,
0.027751902118325233,
0.06541109830141068,
-0.02228185161948204,
-0.006172933615744114,
-0.023601548746228218,
-0.03557445853948593,
0.010920976288616657,
-0.07405607402324677,
0.03978218883275986,
0.07528014481067657,
-0.029836643487215042,
-0.011848589405417442,
0.03917015716433525,
-0.006383320316672325,
0.040241215378046036,
0.037926964461803436,
-0.06288646161556244,
0.03932316601276398,
-0.01520521193742752,
0.02807704545557499,
-0.0019317313563078642,
-0.027197247371077538,
-0.009366984479129314,
-0.008659320883452892,
0.023888440802693367,
0.025227263569831848,
-0.004585471004247665,
-0.016343211755156517,
-0.002050073817372322,
0.010184623301029205,
0.05366770550608635,
-0.04594077914953232,
-0.07218172401189804,
0.00835330318659544,
-0.025456776842474937,
0.02593492716550827,
0.023180775344371796,
0.034599028527736664,
-0.00025850057136267424,
0.04949822649359703,
-0.013063094578683376,
-0.024902120232582092,
0.005713908467441797,
-0.023046893998980522,
-0.05519779026508331,
0.025858422741293907,
0.0036626390647143126,
-0.029664508998394012,
0.010079429484903812,
-0.015186086297035217,
0.003856290364637971,
0.0068662529811263084,
0.037793081253767014,
0.03857724741101265,
-0.007554790936410427,
-0.0056134965270757675,
-0.02134467475116253,
-0.04242158681154251,
0.11728096008300781,
0.03557445853948593,
-0.03496242314577103,
-0.05841096490621567,
0.05672787129878998,
-0.01516695972532034,
0.0015563825145363808,
-0.018265381455421448,
-0.041580040007829666,
0.09058098495006561,
-0.014554926194250584,
-0.06319247931241989,
0.004554391372948885,
0.018179314211010933,
0.022779129445552826,
-0.07168444991111755,
-0.03729580342769623,
0.016926556825637817,
0.05500652641057968,
0.06942757219076157,
0.004097756929695606,
0.005608715116977692,
-0.044831469655036926,
0.035536207258701324,
0.0446784608066082,
-0.00786558911204338,
-0.008802765980362892,
-0.05064578726887703,
0.008391555398702621,
0.04594077914953232,
0.001470315270125866,
0.011016606353223324,
0.01363687589764595,
0.005929076578468084,
-0.030066154897212982,
0.0194320697337389,
0.005269227549433708,
0.02319990284740925,
-0.006478950381278992,
-0.032055266201496124,
0.013512556441128254,
-0.0012635148596018553,
0.012671009637415409,
-0.02356329746544361,
0.009419580921530724,
0.05186985433101654,
0.042498089373111725,
-0.013531682081520557,
-0.013168287463486195,
0.048312410712242126,
-0.08231852948665619,
0.011322623118758202,
-0.008047286421060562,
0.004183824174106121,
0.005049278028309345,
-0.04601728171110153,
0.025609785690903664,
0.03939966857433319,
-0.014277598820626736,
0.010987916961312294,
-0.060897354036569595,
-0.021325549110770226,
-0.04219207167625427,
-0.04792989045381546,
-0.04961298033595085,
-0.04161829128861427,
0.059099502861499786,
0.0036602483596652746,
0.06193016096949577,
-0.008659320883452892,
0.005388765595853329,
-0.0237928107380867,
0.004109710454940796,
-0.015941565856337547,
-0.04165654256939888,
0.021421179175376892,
0.019814589992165565,
0.0324951633810997,
0.019795464351773262,
0.030486928299069405,
0.04265109822154045,
0.03140497952699661,
0.03226565197110176,
0.037047166377305984,
0.004279454238712788,
-0.006455042865127325,
0.0667116716504097,
0.030066154897212982,
-0.0008110642083920538,
-0.020617885515093803,
-0.01311090961098671,
-0.04425768554210663,
-0.05144908279180527,
-0.03985869511961937,
0.014947010204195976,
0.03086944855749607,
-0.00786558911204338,
0.06805049628019333,
0.005704345181584358,
0.02157418802380562,
-0.008477622643113136,
0.004037987906485796,
0.011705144308507442,
0.05481526628136635,
-0.04027946665883064,
-0.02895684354007244,
-0.01647709496319294,
-0.012977027334272861,
-0.009472177363932133,
0.023123398423194885,
-0.05060753598809242,
0.007492631208151579,
-0.083542600274086,
0.04135052487254143,
0.00436791218817234,
0.01201116107404232,
0.0644165426492691,
0.032399535179138184,
-0.012250237166881561,
0.0009831986390054226,
-0.031424105167388916,
0.03488592058420181,
0.04995724931359291,
0.004630895797163248,
-0.026145314797759056,
0.0522141233086586,
0.032762929797172546,
-0.01429672446101904,
-0.04555825889110565,
0.03498155251145363,
-0.0033183700870722532,
-0.06162414327263832,
-0.021535934880375862,
0.03869200497865677,
0.008625850081443787,
0.022128842771053314,
-0.031079836189746857,
0.06491382420063019,
-0.029836643487215042,
-0.00995511095970869,
-0.008855362422764301,
-0.011915531009435654,
0.0025628909934312105,
0.03004702925682068,
0.007659984286874533,
-0.030429549515247345,
-0.04303361847996712,
0.005355294793844223,
0.0516403429210186,
-0.08637325465679169,
0.03341321274638176,
-0.015932001173496246,
0.03241866081953049,
0.023869313299655914,
-0.023869313299655914,
-0.02350591868162155,
0.05424148589372635,
0.04536699876189232,
0.0068662529811263084,
-0.03377661108970642,
-0.01447842177003622,
0.03446514904499054,
-0.012843144126236439,
-0.02199496142566204,
-0.030429549515247345,
0.011877278797328472,
0.024519599974155426,
0.018198439851403236,
0.002682429039850831,
0.03184487670660019,
0.07183745503425598,
-0.03446514904499054,
-0.053170427680015564,
-0.009653875604271889,
0.020962154492735863,
0.05133432522416115,
-0.0033924835734069347,
0.0039399671368300915,
-0.049459971487522125,
0.018265381455421448,
0.017672473564743996,
-0.0009634749148972332,
0.00023459299700334668,
-0.03892151638865471,
-0.025571532547473907,
-0.008032942190766335,
-0.0008140526479110122,
0.05982629209756851,
0.03010440804064274,
0.04398992285132408,
-0.03201701119542122,
-0.041274022310972214,
0.028344810009002686,
0.003335105488076806,
-0.025609785690903664,
0.013024842366576195,
0.05814320221543312,
-0.045405250042676926,
0.07872283458709717,
0.026833852753043175,
0.0185618344694376,
0.04624679684638977,
0.018093246966600418,
-0.025781920179724693,
-0.008549345657229424,
-0.012441497296094894,
0.04724135249853134,
-0.01288139633834362,
-0.024978624656796455,
0.038099098950624466,
-0.026126189157366753,
-0.028497818857431412,
-0.02958800457417965,
-0.03955267742276192,
-0.08736781030893326,
-0.03264817222952843,
0.029970524832606316,
-0.01694568246603012,
0.051487334072589874,
0.020216237753629684,
0.005159252788871527,
-0.006651084870100021,
0.03871113061904907,
0.005675656255334616,
-0.1270734965801239,
-0.00714836223050952,
0.03985869511961937,
-0.044066425412893295,
-0.020158858969807625,
-0.03643513098359108,
0.000901315244846046,
-0.03469466045498848,
-0.01629539765417576,
-0.07088115066289902,
0.06839476525783539,
-0.006086866371333599,
-0.007798647973686457,
0.04827415943145752,
-0.008860143832862377,
-0.013216102495789528,
0.004181433469057083,
-0.019680708646774292,
-0.043263133615255356,
0.0017297123558819294,
-0.013598623685538769,
-0.0028952062129974365,
-0.0031629709992557764,
0.04219207167625427,
-0.03737230598926544,
-0.08247154206037521,
0.05707214027643204,
-0.0010650820331647992,
-0.05906125158071518,
0.014784438535571098,
0.01641971617937088,
0.02907160110771656,
-0.04819765314459801,
0.04322487860918045,
0.040929753333330154,
0.010882724076509476,
-0.028344810009002686,
-0.03557445853948593,
0.0073109338991343975,
0.01728995144367218,
-0.01828450709581375,
-0.029607130214571953,
0.038099098950624466,
0.04448720067739487,
0.0037295804359018803,
0.014640993438661098,
-0.001833710353821516,
0.06277170777320862,
0.029836643487215042,
0.05714864656329155,
0.006259000860154629,
0.061012107878923416,
-0.05929076299071312,
-0.03874938189983368,
-0.0008995221578516066,
-0.02390756644308567,
-0.01700306124985218,
0.003665030002593994,
0.02151680923998356,
-0.0030410424806177616,
-0.04299536719918251,
0.0656023621559143,
0.0008445347775705159,
-0.04838891327381134,
0.016735296696424484,
-0.017251700162887573,
0.00593385798856616,
-0.016955245286226273,
-0.0018384918803349137,
0.04173304885625839,
-0.02710161730647087,
0.01834188401699066,
0.0017058048397302628,
0.02733113057911396,
0.03691328316926956,
-0.05167859420180321,
0.013187413103878498,
0.008276799693703651,
0.013216102495789528,
0.012890960089862347,
-0.035765718668699265,
-0.022587869316339493,
0.01450711116194725,
-0.005718689877539873,
0.02216709591448307,
0.08866838365793228,
-0.08996894955635071,
0.008611504919826984,
0.0034665970597416162,
-0.0019747649785131216,
-0.002952584531158209,
0.04670581966638565,
0.025781920179724693,
-0.009706472046673298,
-0.023926692083477974,
-0.013216102495789528,
0.004042769316583872,
-0.01270926184952259,
-0.0057521602138876915,
-0.010920976288616657,
-0.001518130418844521,
0.025456776842474937,
0.027713650837540627,
0.010796656832098961,
-0.011408690363168716,
0.07279375940561295,
-0.004884315654635429,
-0.005699563771486282,
-0.022071465849876404,
0.04571126773953438,
0.009142253547906876,
-0.057454664260149,
0.0359761044383049,
-0.05611583963036537,
0.0032896811608225107,
-0.06242743507027626,
-0.007157925516366959,
0.0007835704600438476,
-0.002715899609029293,
-0.004327269271016121,
0.016027633100748062,
0.022262725979089737,
-0.05638360232114792,
-0.11529184877872467,
-0.05737815797328949,
0.09524774551391602,
-0.011475631967186928,
-0.04368390515446663,
-0.040585484355688095,
-0.012871833518147469,
0.05366770550608635,
-0.0194320697337389,
0.014717497862875462,
-0.0007943288655951619,
0.017595969140529633,
-0.027063364163041115,
-0.003370966762304306,
-0.03580396994948387,
0.03375748172402382
] |
21,546 | cptree.cptree | cptree | call _cptree with work_dir from argument or a temp dir | def cptree(*args, output_dir=None, **kwargs):
"""call _cptree with work_dir from argument or a temp dir"""
if output_dir:
output_dir = Path(output_dir)
if not output_dir.is_dir():
output_dir.mkdir()
kwargs["output_dir"] = output_dir
return _cptree(*args, **kwargs)
else:
with TemporaryDirectory() as temp_dir:
kwargs["output_dir"] = Path(temp_dir)
return _cptree(*args, **kwargs)
| (*args, output_dir=None, **kwargs) | [
-0.01273222267627716,
0.041821934282779694,
-0.005932655185461044,
-0.08231285214424133,
0.009667381644248962,
0.06091151386499405,
-0.03075348399579525,
0.05607782304286957,
0.032487306743860245,
-0.08903799206018448,
0.08462461829185486,
0.007635830901563168,
-0.05499199032783508,
-0.02450121007859707,
-0.027671130374073982,
-0.02753102220594883,
0.032452281564474106,
-0.02525428496301174,
0.014518585987389088,
0.061647072434425354,
-0.03544706851243973,
-0.018984496593475342,
0.07796953618526459,
0.028862038627266884,
-0.013485297560691833,
-0.03951017186045647,
0.008064907975494862,
-0.013818051666021347,
-0.017688507214188576,
0.0006080424063839018,
0.029229819774627686,
0.003850752953439951,
-0.059370335191488266,
0.020735833793878555,
0.002145388163626194,
0.03210201486945152,
-0.010490510612726212,
0.06935295462608337,
-0.03094612993299961,
-0.06571017950773239,
0.008682254701852798,
-0.06714627146720886,
-0.07243531197309494,
0.021383829414844513,
-0.0020107540767639875,
-0.019089577719569206,
0.0030932994559407234,
-0.014001942239701748,
0.0009210939751937985,
-0.05558744817972183,
0.037968993186950684,
-0.04010562598705292,
-0.00901938695460558,
0.017644723877310753,
-0.0056962245143949986,
0.03660295158624649,
0.022749871015548706,
-0.002778058871626854,
0.05873985216021538,
-0.006720757111907005,
0.010700671002268791,
0.06318824738264084,
0.027180755510926247,
0.014588640071451664,
-0.056147873401641846,
-0.021348802372813225,
-0.057794131338596344,
0.007136699743568897,
0.0004071859293617308,
0.063433438539505,
-0.07986098527908325,
-0.038354288786649704,
0.0752374529838562,
0.010656887665390968,
0.07474707812070847,
-0.021401342004537582,
0.008384527638554573,
-0.04437888786196709,
-0.005017581395804882,
0.019685031846165657,
-0.10255831480026245,
-0.016112303361296654,
-0.03989546373486519,
-0.004301722161471844,
0.03677808493375778,
0.019895192235708237,
0.06444921344518661,
0.024203481152653694,
-0.01214552391320467,
0.015937170013785362,
-0.0041747502982616425,
-0.006287300959229469,
-0.0019822949543595314,
0.009001873433589935,
0.006698865443468094,
0.03514933958649635,
0.037093326449394226,
-0.013818051666021347,
-0.05765402317047119,
0.02991284243762493,
-0.0032815684098750353,
0.06364359706640244,
-0.01357286423444748,
-0.02267981879413128,
0.02730334922671318,
-0.014238372445106506,
-0.020350540056824684,
-0.022312037646770477,
0.05527220666408539,
-0.00930835772305727,
-0.06714627146720886,
-0.021558962762355804,
0.06542996317148209,
-0.022294525057077408,
0.030455756932497025,
-0.02768864296376705,
-0.08602569252252579,
-0.04830188304185867,
-0.010989641770720482,
-0.0071936179883778095,
0.03901979699730873,
-0.04024573042988777,
0.05033343657851219,
0.0073337252251803875,
-0.031856827437877655,
0.06115670129656792,
0.04728610813617706,
-0.0008258650195784867,
-0.03789893910288811,
0.015604415908455849,
0.03152407333254814,
0.0023446029517799616,
0.019790111109614372,
0.013231353834271431,
0.04931765794754028,
0.06651578843593597,
-0.0416468009352684,
-0.019702544435858727,
-0.0004624625144060701,
-0.01488636713474989,
0.07986098527908325,
-0.04434386268258095,
-0.005380983930081129,
0.0033100275322794914,
0.022364577278494835,
0.027373403310775757,
-0.01662019081413746,
-0.011488772928714752,
-0.04430883377790451,
0.049667928367853165,
0.0014218669384717941,
-0.03439626470208168,
-0.016383761540055275,
0.027653615921735764,
0.028879553079605103,
0.041401613503694534,
-0.026567786931991577,
0.004354262258857489,
0.014387235976755619,
-0.015122798271477222,
-0.034098539501428604,
-0.016558894887566566,
0.03821418061852455,
0.005455415695905685,
0.011278612539172173,
-0.02066577970981598,
0.026550274342298508,
-0.03154158592224121,
-0.07923050224781036,
-0.026007359847426414,
0.056358035653829575,
0.011961634270846844,
-0.020735833793878555,
0.02628757245838642,
-0.049282632768154144,
-0.025411903858184814,
0.02511417679488659,
-0.007683992385864258,
-0.0061296806670725346,
0.03859947621822357,
-0.021156154572963715,
0.030070461332798004,
0.016637705266475677,
0.062417663633823395,
0.034326210618019104,
-0.01488636713474989,
0.02304759994149208,
0.03702327236533165,
0.049702953547239304,
0.024361101910471916,
-0.054956965148448944,
0.028686905279755592,
0.013783024623990059,
-0.010963371954858303,
0.028862038627266884,
-0.01172520313411951,
-0.00034424723708070815,
-0.018476609140634537,
-0.018774336203932762,
0.07635831087827682,
-0.020508160814642906,
-0.0102278096601367,
0.08567541837692261,
-0.05401124432682991,
0.05884493514895439,
0.0045534772798419,
-0.05296044051647186,
0.010928344912827015,
-0.06014092266559601,
0.03304773569107056,
0.029194792732596397,
-0.009632355533540249,
0.03343303129076958,
-0.0013824618654325604,
-0.023590514436364174,
0.015000204555690289,
-0.019299738109111786,
0.018529148772358894,
-0.020683294162154198,
-0.03908984735608101,
-0.004474666900932789,
0.01517533790320158,
0.041366588324308395,
0.017417049035429955,
-0.020140379667282104,
-0.07691873610019684,
0.023940781131386757,
-0.000975823262706399,
0.008240042254328728,
-0.07327595353126526,
0.019947731867432594,
-0.04507942125201225,
-0.00012122537737013772,
-0.027163241058588028,
-0.04977300763130188,
-0.08560536801815033,
0.030893590301275253,
-0.03922995552420616,
-0.03656792268157005,
0.006672595161944628,
-0.04357327148318291,
-0.02977273426949978,
0.08252301812171936,
-0.020595727488398552,
-0.0004608206218108535,
0.023117652162909508,
0.040806159377098083,
-0.04430883377790451,
0.0465855747461319,
0.053696002811193466,
-0.046655625104904175,
-0.011269855313003063,
-0.08483477681875229,
-0.013949401676654816,
0.026042386889457703,
0.02390575408935547,
-0.015455552376806736,
-0.0040521565824747086,
0.013765511102974415,
0.007592047099024057,
-0.023187706246972084,
-0.01838904246687889,
0.046235304325819016,
0.0017316348385065794,
-0.00038830432458780706,
-0.07278557866811752,
-0.0019045793451368809,
-0.0650796964764595,
-0.057373810559511185,
0.03989546373486519,
0.009378411807119846,
0.03930000960826874,
0.03663797676563263,
0.011847796849906445,
-0.0368831641972065,
-0.006580649875104427,
-0.024588776752352715,
0.02809145115315914,
-0.049667928367853165,
0.03719840571284294,
-0.031471531838178635,
-0.012565845623612404,
-0.07369627803564072,
-0.04528958350419998,
-0.05782916024327278,
0.008844253607094288,
-0.03399345651268959,
0.07916044443845749,
-0.006282922811806202,
-0.004592882003635168,
-0.030841050669550896,
0.03332794830203056,
-0.005302173551172018,
-0.009028144180774689,
0.03579733520746231,
-0.059580497443675995,
-0.07635831087827682,
-0.07201498746871948,
0.02408088743686676,
0.03201444819569588,
-0.016611434519290924,
-0.013064976781606674,
0.055937714874744415,
0.028616851195693016,
0.009115710854530334,
0.07593798637390137,
-0.02630508691072464,
-0.012119254097342491,
-0.029054686427116394,
0.03765375167131424,
-0.011874066665768623,
-0.026024872437119484,
-0.016935432329773903,
0.020368052646517754,
-0.0025919792242348194,
0.018126340582966805,
0.036322735249996185,
-0.05138423666357994,
0.0006003802991472185,
0.0017283509951084852,
-0.07096418738365173,
-0.01549057848751545,
-0.013310163281857967,
-0.005105148535221815,
-0.037968993186950684,
0.01641003042459488,
-0.006812702398747206,
0.05141926556825638,
0.04147166758775711,
0.013537837192416191,
-0.013896862044930458,
0.04714599996805191,
0.0023643053136765957,
0.011138505302369595,
0.03199693188071251,
0.012171794660389423,
0.034711506217718124,
-0.038984768092632294,
-0.011488772928714752,
-0.03702327236533165,
0.06133183464407921,
0.03119131736457348,
-0.021751608699560165,
0.0029115984216332436,
-0.010402943938970566,
0.029597600921988487,
0.04175188019871712,
0.032434768974781036,
0.06234760954976082,
0.025832226499915123,
0.03161164000630379,
0.05362594872713089,
0.0034807829651981592,
0.06521980464458466,
-0.012784762308001518,
0.019352277740836143,
0.03339800238609314,
0.03215455263853073,
-0.012609628960490227,
-0.02306511253118515,
0.01031537726521492,
0.010595590807497501,
0.015928413718938828,
0.006852107122540474,
0.02553449757397175,
-0.052119798958301544,
0.040140651166439056,
0.0014339074259623885,
-0.01612105965614319,
-0.008345122449100018,
0.045429691672325134,
-0.021348802372813225,
0.015937170013785362,
-0.06084145978093147,
0.01154131256043911,
0.024343589320778847,
-0.06231258064508438,
-0.018581688404083252,
-0.02998289465904236,
0.04161177575588226,
-0.04070108011364937,
-0.008708524517714977,
0.020595727488398552,
-0.04248744249343872,
-0.03901979699730873,
-0.0013638539239764214,
-0.016059763729572296,
0.051909636706113815,
0.027023134753108025,
0.0007284468738362193,
-0.023958293721079826,
-0.043818458914756775,
0.0033034600783139467,
0.007355616893619299,
0.018529148772358894,
-0.03238222748041153,
0.05814439803361893,
0.006567514967173338,
-0.09268077462911606,
0.019702544435858727,
0.043398138135671616,
-0.03211952745914459,
-0.008502742275595665,
0.0006359543767757714,
0.0017327293753623962,
-0.01961497776210308,
0.001195287681184709,
-0.0023314678110182285,
0.015192851424217224,
0.00022466374502982944,
0.007543885614722967,
0.02269733138382435,
0.0553772859275341,
0.05380108207464218,
-0.05807434394955635,
0.018861902877688408,
-0.06528985500335693,
0.01162888016551733,
0.046235304325819016,
-0.018704282119870186,
0.019317250698804855,
-0.02856431156396866,
0.045604825019836426,
-0.007346860133111477,
0.0680919960141182,
0.009667381644248962,
0.058179426938295364,
-0.006265409290790558,
-0.0013266380410641432,
0.008529013022780418,
0.007592047099024057,
-0.010192783549427986,
-0.009238304570317268,
0.038354288786649704,
0.04879225790500641,
0.0465855747461319,
0.00980748888105154,
-0.02026297338306904,
-0.03656792268157005,
0.09569307416677475,
-0.049492791295051575,
-0.006571893114596605,
0.04021070525050163,
-0.006628811825066805,
-0.002817463828250766,
0.04021070525050163,
-0.024150941520929337,
-0.017670992761850357,
-0.06231258064508438,
0.025657091289758682,
0.09947595745325089,
0.024431155994534492,
0.04630535840988159,
-0.001993240788578987,
-0.07250536233186722,
-0.02548195794224739,
-0.08098183572292328,
0.017653480172157288,
-0.02327527292072773,
0.019107090309262276,
0.03901979699730873,
0.00921203475445509,
0.12763746082782745,
-0.014159562066197395,
0.006501839961856604,
0.014124535955488682,
-0.022767385467886925,
0.024956556037068367,
-0.02185668982565403,
-0.04655054584145546,
0.028809498995542526,
-0.015727009624242783,
-0.09828504920005798,
0.0044089918956160545,
0.01652386784553528,
-0.010219053365290165,
-0.0797208771109581,
-0.053941190242767334,
0.01283730287104845,
-0.05681338161230087,
-0.0250791497528553,
-0.003279379103332758,
0.05954546853899956,
0.0267254076898098,
-0.0489673912525177,
-0.0025066016241908073,
0.06679600477218628,
-0.014168319292366505,
0.01143623236566782,
-0.006195355672389269,
-0.039124876260757446,
-0.019544923678040504,
-0.0179862342774868,
-0.03317032754421234,
-0.011033425107598305,
0.010254080407321453,
-0.00411783205345273,
0.042382363229990005,
-0.044799208641052246,
-0.015945926308631897,
0.016576407477259636,
0.007000971119850874,
0.002196833724156022,
-0.0461302250623703,
0.019072063267230988,
0.011480016633868217,
0.010648131370544434,
-0.0015149067621678114,
-0.06325830519199371,
0.0038770230021327734,
-0.012740978971123695,
-0.028266584500670433,
0.0046935840509831905,
-0.025446930900216103,
0.030823536217212677,
0.06616552174091339,
0.011471259407699108,
-0.024536235257983208,
0.017093053087592125,
-0.016532624140381813,
-0.021804150193929672,
0.03238222748041153,
-0.006747026927769184,
-0.013353947550058365,
0.06052621826529503,
0.05544734001159668,
0.03986043855547905,
0.08238290995359421,
0.029282359406352043,
0.03544706851243973,
-0.0010705048916861415,
-0.03460642695426941,
-0.004641043953597546,
0.06129680573940277,
-0.003447945462539792,
-0.02022794634103775,
-0.00804301630705595,
0.056147873401641846,
-0.0017316348385065794,
-0.07369627803564072,
-0.004382721614092588,
0.0449393168091774,
0.02208436280488968,
-0.02532433718442917,
0.017268186435103416,
0.02973770722746849,
0.0364278182387352,
0.04914252460002899,
-0.004150669556111097,
0.029282359406352043,
-0.028686905279755592,
-0.07782942801713943,
-0.016383761540055275,
0.0982149988412857,
0.00545979430899024,
0.004522828850895166,
0.010972128249704838,
-0.04490428790450096,
0.0256746057420969,
-0.0060640056617558,
0.0007081970106810331,
0.050858836621046066,
-0.03224211931228638,
-0.033362977206707,
0.08294333517551422,
-0.022364577278494835,
0.010551807470619678,
0.02243463136255741,
-0.023818187415599823,
-0.04721605405211449,
0.030298136174678802,
-0.016129815950989723,
-0.03940508887171745,
-0.031454019248485565,
0.005910763517022133,
-0.006563136819750071,
-0.010236566886305809,
0.02087594009935856,
0.0005538604455068707,
-0.01880936324596405,
-0.02203182317316532,
0.0028984632808715105,
0.004789907485246658,
-0.014273399487137794,
0.004549098666757345,
-0.04507942125201225,
0.02511417679488659,
-0.014728747308254242,
0.011812769807875156,
0.006436164490878582,
0.008016746491193771,
0.055762581527233124,
0.03859947621822357,
-0.005315308924764395,
0.040140651166439056,
-0.03378329798579216,
-0.06686606258153915,
0.02124372124671936,
0.01884439028799534,
-0.040560971945524216,
-0.012390711344778538,
-0.03481658548116684,
-0.005604279227554798,
0.060421139001846313,
-0.015578145161271095,
-0.07131445407867432,
0.018651742488145828,
-0.034116052091121674,
-0.03138396516442299,
0.017846127972006798,
0.017014242708683014,
-0.00130474625620991,
0.0404558926820755,
0.006247895769774914,
-0.031103750690817833,
-0.0323997400701046,
-0.01965000480413437,
-0.025166718289256096,
-0.0058363317511975765,
0.025131691247224808,
-0.042977817356586456,
-0.025026610121130943,
0.011217315681278706,
0.006843350827693939,
-0.011033425107598305,
-0.036918189376592636,
-0.0032027580309659243,
-0.03201444819569588,
0.007929179817438126,
0.0416468009352684,
0.021296262741088867,
-0.01697045937180519,
0.007810964249074459,
-0.002196833724156022,
-0.014536099508404732,
-0.06350348889827728,
-0.006694486830383539,
-0.036322735249996185,
0.001767756068147719,
-0.06185723468661308,
-0.04854707047343254,
0.0011799634667113423,
-0.015534361824393272,
-0.05103396996855736,
-0.04364332556724548,
-0.1263064444065094,
0.024921530857682228,
-0.020595727488398552,
0.015998465940356255,
-0.010289106518030167,
-0.0163137074559927,
0.0015707307029515505,
0.016445057466626167,
-0.002410277957096696,
-0.015420525334775448,
0.05726873129606247,
-0.002443115459755063,
0.022819925099611282,
0.028897065669298172,
-0.014343452639877796,
0.016865378245711327,
0.026602813974022865,
-0.02042059414088726,
-0.0013529080897569656,
-0.059405360370874405,
-0.04546471685171127,
0.010481754317879677,
0.017303213477134705,
-0.06521980464458466,
-0.02572714537382126,
-0.036147601902484894,
-0.004645422101020813,
-0.05145429074764252,
-0.05625295639038086,
-0.03234719857573509,
-0.06998343765735626,
0.00177213444840163,
0.05376605689525604,
-0.01033288985490799,
0.0074825887568295,
0.03416858986020088,
0.048021670430898666,
0.0228374395519495,
0.05730375647544861,
0.031016184017062187,
0.05222487822175026,
0.002456250600516796,
0.0012467332417145371,
0.026182493194937706,
-0.025849739089608192,
-0.009290844202041626,
0.03744359314441681,
0.03656792268157005,
-0.05845963954925537,
-0.04690081253647804,
0.024010835215449333,
0.018336500972509384,
-0.011681419797241688,
0.012469521723687649,
-0.03982540965080261,
0.04112140089273453,
0.005700603127479553,
-0.013170056976377964,
-0.030823536217212677,
0.03870455548167229,
-0.014536099508404732,
0.03260990232229233,
0.0376187264919281,
-0.00037845305632799864,
-0.031208831816911697,
0.023783160373568535,
-0.016935432329773903,
0.03255736082792282,
0.023205218836665154,
-0.07110429555177689,
-0.017031755298376083,
-0.04042086377739906,
0.02003529854118824,
0.05684841051697731,
-0.046655625104904175,
0.011374935507774353,
-0.0054641724564135075,
-0.004492180421948433,
0.03800401836633682,
-0.009956352412700653,
-0.028214044868946075,
-0.00328813586384058,
-0.0752374529838562,
0.06227755546569824,
-0.024553749710321426,
-0.011471259407699108,
0.012092984281480312,
0.01842406950891018,
-0.014115778729319572,
0.014772530645132065,
-0.020735833793878555,
0.01172520313411951,
0.015613172203302383,
0.016287436708807945,
0.046865787357091904,
-0.011585096828639507,
0.03789893910288811,
0.023362839594483376,
-0.0015411768108606339,
0.05667327716946602,
-0.019544923678040504,
0.05527220666408539,
0.03311778977513313,
-0.013949401676654816,
-0.04112140089273453,
0.04126150906085968,
-0.008270690217614174,
-0.01546430867165327,
0.007215509656816721,
0.037093326449394226,
0.008428310975432396,
0.023327812552452087,
-0.02026297338306904,
-0.03056083619594574,
-0.012469521723687649,
0.03583236038684845,
-0.06339841336011887,
-0.029054686427116394,
-0.037093326449394226,
0.033485569059848785,
0.017075538635253906,
0.03520188108086586,
0.02147139608860016
] |
21,556 | cleanco.classify | countrysources | business countries / type abbreviations sorted by length of type abbreviations | def countrysources():
"business countries / type abbreviations sorted by length of type abbreviations"
countries = []
for country in terms_by_country:
for item in terms_by_country[country]:
countries.append((country, item))
return sorted(countries, key=lambda part: len(part[1]), reverse=True)
| () | [
-0.05495600402355194,
-0.018100304529070854,
-0.04720257595181465,
-0.05247921496629715,
0.0060214693658053875,
-0.01206088624894619,
0.006129155866801739,
-0.09196425974369049,
0.1010817140340805,
-0.07082181423902512,
-0.013927452266216278,
-0.007381011266261339,
-0.020334798842668533,
-0.04052601382136345,
0.015076108276844025,
0.027262629941105843,
-0.0025934495497494936,
0.03765437379479408,
0.017463158816099167,
-0.011396819725632668,
-0.022775692865252495,
0.0014268459053710103,
-0.024678153917193413,
-0.0032261076848953962,
0.006133642978966236,
0.027998486533761024,
0.027908748015761375,
-0.02938046306371689,
-0.0675194263458252,
-0.032341841608285904,
0.022039834409952164,
0.003535706317052245,
0.006856039632111788,
0.0066810492426157,
-0.027854904532432556,
-0.05143824592232704,
0.061488986015319824,
0.005783661734312773,
-0.007188072893768549,
0.06550928205251694,
-0.03528527170419693,
-0.06331965327262878,
-0.01671832799911499,
-0.044330935925245285,
0.013496706262230873,
-0.01467228401452303,
-0.03280848264694214,
-0.021286029368638992,
0.005649053491652012,
-0.004199773073196411,
-0.058007121086120605,
-0.033113595098257065,
-0.001609688624739647,
-0.014690231531858444,
-0.024337146431207657,
0.011055813170969486,
-0.008727092295885086,
0.0450129508972168,
0.047776903957128525,
0.052874065935611725,
-0.05226384103298187,
-0.005873400717973709,
-0.0076950970105826855,
-0.06543748825788498,
0.006187485996633768,
0.01622476428747177,
-0.0337597131729126,
-0.0017050360329449177,
-0.037439003586769104,
-0.04989473894238472,
0.027854904532432556,
0.04023884981870651,
0.0064881108701229095,
0.010831465944647789,
0.014349224045872688,
0.038300495594739914,
-0.020316850394010544,
-0.017113177105784416,
0.04415145888924599,
-0.06762711703777313,
0.0008115747477859259,
0.012195494957268238,
0.020011739805340767,
-0.022650057449936867,
0.09110277146100998,
-0.010643014684319496,
0.02912919409573078,
0.02322438545525074,
0.010526354424655437,
0.021788565441966057,
-0.051186978816986084,
0.0025687713641673326,
0.028913822025060654,
0.009952026419341564,
-0.05675077810883522,
0.013649262487888336,
-0.01722983829677105,
-0.03704415261745453,
0.025306325405836105,
-0.001152021111920476,
0.039126090705394745,
-0.03207262605428696,
-0.00470679672434926,
0.014851761050522327,
0.03605702519416809,
0.056140556931495667,
0.006851552985608578,
0.000004478173650568351,
-0.039197880774736404,
0.0063983723521232605,
-0.04824354499578476,
-0.05843786895275116,
0.04827944189310074,
-0.07997516542673111,
0.08550307154655457,
-0.020334798842668533,
0.04705899581313133,
0.03844407573342323,
-0.012733926996588707,
0.0038251138757914305,
-0.019473306834697723,
0.00258896267041564,
-0.019293829798698425,
0.032287999987602234,
-0.023475654423236847,
0.002824526745826006,
0.052766378968954086,
-0.007995721884071827,
-0.01904256083071232,
0.015740174800157547,
0.08004695922136307,
0.041638776659965515,
-0.049463994801044464,
0.0019922000356018543,
0.07082181423902512,
-0.05947883799672127,
0.029488150030374527,
-0.03693646565079689,
0.07211405038833618,
-0.02403203397989273,
-0.020209163427352905,
-0.008511719293892384,
0.021860357373952866,
-0.04181825369596481,
0.00837711151689291,
0.015461985021829605,
0.041602879762649536,
0.012796744704246521,
0.017822112888097763,
-0.03266490250825882,
0.011495532467961311,
0.046807724982500076,
-0.027298524975776672,
-0.02415766939520836,
-0.0332212820649147,
-0.08255963772535324,
-0.07566770166158676,
-0.033077698200941086,
0.026024235412478447,
0.045946232974529266,
0.0016646536532789469,
0.04210541769862175,
-0.09268216788768768,
-0.010499432682991028,
-0.0671604722738266,
-0.027908748015761375,
0.037510793656110764,
-0.039879895746707916,
-0.026939569041132927,
-0.02157319337129593,
-0.0021649471018463373,
-0.06543748825788498,
-0.05420219898223877,
-0.023708974942564964,
0.003932800143957138,
0.013155698776245117,
-0.020496327430009842,
0.022111626341938972,
-0.011872434988617897,
0.04723847284913063,
0.010571223683655262,
-0.015390194021165371,
-0.07660099118947983,
-0.006156077608466148,
0.00876298826187849,
-0.004020295571535826,
0.01981431432068348,
0.009584097191691399,
0.052909959107637405,
0.0005314216250553727,
-0.000853078905493021,
-0.025647331029176712,
-0.04070549085736275,
0.018755396828055382,
0.022847482934594154,
-0.03442377969622612,
-0.006532980129122734,
0.023421810939908028,
-0.06687331199645996,
-0.02744210697710514,
-0.04784869775176048,
0.023888451978564262,
-0.016377320513129234,
-0.011872434988617897,
0.03257516399025917,
0.054561153054237366,
-0.010041764937341213,
0.004967039451003075,
-0.04723847284913063,
-0.04117213562130928,
0.06357092410326004,
-0.03865944966673851,
-0.005640079732984304,
-0.06992442905902863,
-0.017624689266085625,
-0.05843786895275116,
-0.051222871989011765,
0.03944915160536766,
0.04878197982907295,
-0.028016434982419014,
-0.010337903164327145,
-0.005855452734977007,
-0.0032575163058936596,
-0.014959448017179966,
0.05075623095035553,
0.009243090637028217,
0.008718119002878666,
0.04637698084115982,
-0.01039174571633339,
-0.07222174108028412,
-0.015488906763494015,
-0.020011739805340767,
0.03469299525022507,
-0.0327007956802845,
0.041602879762649536,
-0.004024782683700323,
0.053771451115608215,
0.02489352598786354,
0.011172473430633545,
0.010158425197005272,
-0.02496531791985035,
-0.023798713460564613,
0.028662553057074547,
-0.05172540992498398,
-0.07918546348810196,
0.03426225110888481,
-0.007466263137757778,
-0.03110344707965851,
-0.03510579466819763,
-0.06109413504600525,
-0.0513305589556694,
-0.02507300302386284,
0.014483832754194736,
-0.02485763095319271,
0.017866982147097588,
-0.045192427933216095,
-0.02146550640463829,
-0.045156534761190414,
-0.0011722123017534614,
-0.03546474874019623,
0.01675422303378582,
0.0397363156080246,
-0.04379250481724739,
0.06615539640188217,
-0.017849035561084747,
0.0017454185290262103,
0.04734615981578827,
0.008233529515564442,
-0.04235668480396271,
0.005352915730327368,
0.05348428711295128,
0.03537501022219658,
-0.0282138604670763,
-0.009139890782535076,
-0.04490526393055916,
0.05079212784767151,
-0.014322303235530853,
0.04063370078802109,
-0.06367860734462738,
-0.015461985021829605,
0.007825218141078949,
0.03426225110888481,
-0.006510545499622822,
0.022847482934594154,
-0.0016433406854048371,
-0.032198261469602585,
0.006555414758622646,
-0.05951473116874695,
-0.0483512319624424,
0.0007055708556436002,
0.05524316802620888,
0.006600284483283758,
0.04741794988512993,
0.03812101483345032,
0.040131162852048874,
-0.003600766882300377,
0.07832397520542145,
-0.02848307602107525,
0.004249129444360733,
0.03417251259088516,
-0.08981052786111832,
0.04056191071867943,
0.10452768206596375,
0.01283263973891735,
-0.014896631240844727,
-0.012491632252931595,
-0.003030925989151001,
-0.044295042753219604,
0.026401137933135033,
-0.017660584300756454,
-0.03614676371216774,
-0.01500431727617979,
0.030313747003674507,
-0.020280955359339714,
-0.017041387036442757,
-0.03363408148288727,
-0.041746459901332855,
0.028177963569760323,
0.011755774728953838,
0.02925482951104641,
0.008749526925384998,
0.017454184591770172,
-0.0032575163058936596,
0.04267974570393562,
-0.002161582000553608,
0.013559523969888687,
-0.003255272749811411,
0.01509405579417944,
0.06260174512863159,
-0.09311291575431824,
-0.004015808459371328,
-0.010337903164327145,
0.016978569328784943,
0.013685157522559166,
0.0014447936555370688,
0.0030959865543991327,
0.08040591329336166,
-0.007147690746933222,
-0.007407933007925749,
-0.061381299048662186,
-0.012105756439268589,
-0.017113177105784416,
-0.04745384678244591,
0.03758258372545242,
0.04368481785058975,
0.00511959521099925,
-0.042464371770620346,
-0.052048470824956894,
-0.015210716053843498,
0.052802275866270065,
-0.014053086750209332,
-0.008098920807242393,
0.03930556774139404,
0.04673593491315842,
0.04748973995447159,
0.037510793656110764,
0.00603941734880209,
-0.010562249459326267,
0.007834192365407944,
0.08313396573066711,
0.0912463515996933,
-0.01553377602249384,
-0.010849413461983204,
-0.0344596765935421,
0.05050496384501457,
-0.013918478973209858,
0.07516516745090485,
0.04795638099312782,
-0.022596213966608047,
-0.04379250481724739,
-0.04110034182667732,
-0.028985612094402313,
0.07767785340547562,
0.0351596400141716,
-0.02754979394376278,
-0.04181825369596481,
0.01504021231085062,
-0.0232064388692379,
-0.043433550745248795,
0.05578159913420677,
-0.02934456802904606,
0.046915411949157715,
0.019222037866711617,
0.02756774052977562,
-0.05072033405303955,
-0.006546440999954939,
-0.046089816838502884,
0.013146725483238697,
-0.02749595046043396,
0.04127981886267662,
0.015605567023158073,
0.008498258888721466,
0.013864635489881039,
0.043254073709249496,
0.018261833116412163,
0.01624271273612976,
-0.07380113750696182,
-0.04494116082787514,
0.05330481007695198,
-0.021142447367310524,
0.024678153917193413,
-0.058186598122119904,
-0.03243158012628555,
0.051294662058353424,
-0.03542885556817055,
0.008982847444713116,
0.021662931889295578,
0.0188092403113842,
-0.012823665514588356,
0.016799092292785645,
-0.025270428508520126,
0.00824698992073536,
0.016305528581142426,
-0.03772616758942604,
-0.06396577507257462,
-0.03865944966673851,
-0.008134816773235798,
0.013065960258245468,
0.04673593491315842,
-0.030511170625686646,
0.044366832822561264,
0.006739379372447729,
0.006497084628790617,
0.013891557231545448,
0.07082181423902512,
-0.014546649530529976,
0.0026091537438333035,
0.008363650180399418,
-0.019096404314041138,
0.000748757622204721,
0.014995343051850796,
0.046951308846473694,
0.013918478973209858,
-0.07631382346153259,
0.032287999987602234,
0.0029411872383207083,
0.021124498918652534,
0.026401137933135033,
0.046053919941186905,
0.006716944742947817,
0.029416358098387718,
0.03189314901828766,
-0.0043478417210280895,
0.043505340814590454,
0.006806683260947466,
0.01157629769295454,
0.005747766233980656,
-0.03537501022219658,
-0.03602112829685211,
-0.03894661366939545,
-0.022775692865252495,
-0.06902703642845154,
0.02494736947119236,
-0.06784248352050781,
0.025431958958506584,
0.0803341194987297,
-0.011621166951954365,
0.0497511588037014,
-0.08133919537067413,
0.018306702375411987,
0.058868613094091415,
0.04181825369596481,
0.135397806763649,
0.033257175236940384,
-0.01467228401452303,
0.04293101280927658,
-0.015901705250144005,
0.023708974942564964,
0.029093299061059952,
0.05962241813540459,
-0.012231389991939068,
0.06443241238594055,
-0.045838549733161926,
-0.00030567258363589644,
0.011019917204976082,
-0.01381079200655222,
-0.033077698200941086,
0.010876335203647614,
-0.004271564073860645,
-0.044115565717220306,
0.032198261469602585,
0.04267974570393562,
0.010813518427312374,
-0.02309875190258026,
-0.014941500499844551,
-0.015731200575828552,
0.0009607654064893723,
-0.010831465944647789,
-0.04009526968002319,
-0.036559563130140305,
-0.013640288263559341,
-0.008233529515564442,
-0.014690231531858444,
-0.041638776659965515,
0.027083151042461395,
0.04142340272665024,
0.03880302980542183,
0.027908748015761375,
0.0024924934841692448,
0.01988610439002514,
-0.006546440999954939,
0.020047634840011597,
-0.028536919504404068,
0.013963348232209682,
0.017831087112426758,
0.03178546205163002,
0.007641253527253866,
-0.032216206192970276,
-0.004621545318514109,
-0.028016434982419014,
-0.06432472914457321,
-0.038192808628082275,
0.020119424909353256,
-0.00010782670142361894,
0.008395059034228325,
0.020119424909353256,
-0.008260451257228851,
0.017409315332770348,
-0.031157290562987328,
0.0701397955417633,
-0.003744348883628845,
-0.008255964145064354,
0.03298795968294144,
0.004015808459371328,
0.032252103090286255,
0.03192904219031334,
0.012742901220917702,
0.011082733981311321,
-0.013954374007880688,
-0.0036680710036307573,
0.02247058041393757,
-0.0064881108701229095,
0.033257175236940384,
0.033867400139570236,
0.026311397552490234,
-0.0022860944736748934,
-0.03171367198228836,
-0.016924725845456123,
0.061560776084661484,
0.06314017623662949,
0.051222871989011765,
0.0025687713641673326,
0.0430745966732502,
-0.026149868965148926,
0.034046877175569534,
-0.003311359556391835,
0.02397819049656391,
-0.037259526550769806,
-0.003277707379311323,
0.026221659034490585,
0.0023691027890890837,
-0.03198288753628731,
0.054668840020895004,
-0.00377351394854486,
0.039951685816049576,
-0.0067483531311154366,
0.004684362094849348,
0.021321924403309822,
0.03580575808882713,
-0.020855283364653587,
0.04038243368268013,
-0.011459637433290482,
-0.050325486809015274,
0.016583718359470367,
-0.07304733246564865,
0.03354433923959732,
-0.0085700498893857,
0.04031064361333847,
-0.02848307602107525,
0.0005782539956271648,
-0.014501780271530151,
0.001668018870986998,
-0.008767474442720413,
0.009817417711019516,
-0.028859978541731834,
-0.016655510291457176,
0.009014256298542023,
-0.038192808628082275,
0.05840197205543518,
0.004944604355841875,
-0.023870505392551422,
0.02498326450586319,
0.0008424224215559661,
0.021268080919981003,
0.006752840243279934,
0.016305528581142426,
0.05506369099020958,
-0.01580299250781536,
0.004255859646946192,
-0.052909959107637405,
-0.018557971343398094,
0.007511132396757603,
0.020801439881324768,
-0.016108103096485138,
-0.030277850106358528,
-0.04282332584261894,
-0.04267974570393562,
0.007614332251250744,
-0.081913523375988,
-0.031462401151657104,
-0.006604771129786968,
0.0038318440783768892,
-0.027298524975776672,
0.018665658310055733,
0.09016948193311691,
0.008193147368729115,
-0.0018957308493554592,
-0.006416319869458675,
-0.006941291503608227,
0.010167399421334267,
-0.03092397004365921,
0.015623514540493488,
0.02422945946455002,
-0.07731889933347702,
-0.03022400662302971,
-0.04644877091050148,
0.04569496586918831,
-0.02830359898507595,
0.0016612884355708957,
-0.024408936500549316,
-0.05226384103298187,
-0.010930178686976433,
0.025449907407164574,
0.04619750380516052,
-0.020245060324668884,
0.05089981481432915,
-0.034836579114198685,
0.015731200575828552,
0.0027392751071602106,
-0.02155524492263794,
0.016476033255457878,
0.007717531640082598,
0.01327235996723175,
-0.01796569488942623,
0.019132299348711967,
0.028142068535089493,
-0.013640288263559341,
0.00899182166904211,
-0.05050496384501457,
-0.01076864916831255,
-0.03934146463871002,
0.022524423897266388,
0.02652677148580551,
0.015650436282157898,
-0.023403862491250038,
0.03499810770153999,
-0.0444745197892189,
0.019455358386039734,
-0.030331693589687347,
-0.023655131459236145,
-0.01730162836611271,
-0.0024745457340031862,
0.06008905917406082,
0.055386751890182495,
-0.014950473792850971,
0.06005316600203514,
0.04049012064933777,
-0.0073540895245969296,
0.039054300636053085,
-0.06525801122188568,
0.037403106689453125,
-0.00899182166904211,
0.04637698084115982,
-0.022524423897266388,
-0.004872813355177641,
-0.020011739805340767,
0.06166846305131912,
-0.057181525975465775,
-0.06191973015666008,
0.019365619868040085,
0.025988338515162468,
0.02586270496249199,
0.050181902945041656,
0.005599697586148977,
-0.026813935488462448,
0.06687331199645996,
-0.03171367198228836,
0.04242847487330437,
0.012814692221581936,
-0.04142340272665024,
0.040920864790678024,
-0.02236289344727993,
0.015569671057164669,
-0.08492874354124069,
0.02588065341114998,
0.010562249459326267,
-0.03786974772810936,
0.026042181998491287,
0.01814517378807068,
0.020227111876010895,
-0.03284437954425812,
-0.003600766882300377,
0.038300495594739914,
0.011271185241639614,
-0.009175785817205906,
0.06471958011388779,
0.007892522029578686,
-0.015345324762165546,
0.01116349920630455,
-0.0026315886061638594,
0.0483512319624424,
0.025593489408493042,
0.05014600604772568,
-0.03384945169091225,
-0.02063990943133831,
-0.0033584723714739084,
-0.04034653678536415,
0.012778796255588531,
-0.004590136464685202,
0.07444725930690765,
0.024660205468535423,
-0.0239961389452219,
-0.045048847794532776,
-0.004089843016117811,
-0.020119424909353256,
-0.027190838009119034,
0.007273324765264988,
0.07146792858839035,
0.0011677253060042858,
0.04034653678536415,
0.023870505392551422,
0.037403106689453125,
0.02744210697710514,
0.00707141263410449,
0.0038879308849573135,
0.06863218545913696,
0.01241984125226736,
0.00748869776725769,
-0.11630140990018845,
-0.06443241238594055,
-0.035841651260852814,
0.0197784174233675,
-0.04203362390398979,
-0.01879129186272621,
-0.033921241760253906,
0.04784869775176048,
0.008982847444713116,
-0.014295381493866444,
0.0021133474074304104,
-0.002905291737988591,
-0.02842923253774643,
0.0069188568741083145,
0.022039834409952164,
0.03171367198228836,
0.036380086094141006,
-0.012877508997917175,
0.04138750582933426,
-0.021860357373952866,
-0.020334798842668533,
0.01207883469760418,
-0.005474063102155924,
0.020280955359339714,
0.05603286996483803,
-0.07954441756010056,
-0.045048847794532776,
0.009287959896028042,
-0.05689436197280884,
-0.04705899581313133,
-0.07509337365627289,
-0.038336388766765594,
-0.04106444865465164,
-0.034872476011514664,
-0.027316471561789513,
0.027280576527118683,
0.06489905714988708,
-0.022003939375281334,
0.011845513246953487,
-0.009458462707698345
] |
21,557 | cleanco.classify | matches | get types or countries matching with the legal terms in name | def matches(name, sources):
"get types or countries matching with the legal terms in name"
name = strip_tail(name)
parts = name.split()
nparts = [normalized(p) for p in parts]
matches = []
for classifier, term in sources:
nterm = normalized(term)
try:
idx = nparts.index(nterm)
except ValueError:
pass
else:
matches.append(classifier)
return matches
| (name, sources) | [
0.03129139915108681,
-0.011996787041425705,
0.007044065278023481,
-0.05068226903676987,
-0.015383188612759113,
-0.02516612596809864,
-0.005744631867855787,
-0.05533747375011444,
0.08764392137527466,
-0.0024107329081743956,
-0.008220992982387543,
0.06356284022331238,
-0.02047591656446457,
-0.040496811270713806,
0.01837582141160965,
-0.04091683030128479,
0.016074469313025475,
0.04973722621798515,
-0.005749007221311331,
-0.02492111548781395,
-0.02238350175321102,
0.06142774969339371,
-0.01611822098493576,
-0.02007339708507061,
0.03326898813247681,
-0.009564178064465523,
0.019373366609215736,
-0.02940131537616253,
-0.14616653323173523,
-0.02297852747142315,
0.02180597558617592,
0.007328453008085489,
-0.009607929736375809,
0.01256556250154972,
0.013099336065351963,
-0.08358374238014221,
0.016905756667256355,
0.03106389008462429,
0.019968394190073013,
0.012408055365085602,
-0.009966695681214333,
-0.03078387677669525,
0.0039048620965331793,
-0.041581861674785614,
-0.004342381842434406,
0.0006114335847087204,
-0.07560338079929352,
-0.013694362714886665,
-0.05880263075232506,
0.014245637692511082,
-0.050227247178554535,
-0.020650923252105713,
-0.008811644278466702,
-0.039726778864860535,
0.008470378816127777,
0.0681830495595932,
-0.01991589181125164,
0.09800438582897186,
0.03514157235622406,
0.043646953999996185,
0.008426627144217491,
0.010955490171909332,
-0.015864459797739983,
-0.02500861883163452,
-0.03689165040850639,
0.023958571255207062,
0.017360776662826538,
-0.019723381847143173,
-0.027878746390342712,
-0.012311800383031368,
-0.0242735855281353,
-0.00863226130604744,
-0.01710701547563076,
-0.003712353529408574,
0.035841602832078934,
0.06657297909259796,
-0.0037561054341495037,
0.02056341990828514,
0.07052815705537796,
-0.042071882635354996,
-0.002710433676838875,
0.0005086165037937462,
0.002388856839388609,
-0.08008358627557755,
0.03118639439344406,
0.025621145963668823,
-0.05173231288790703,
-0.026793697848916054,
-0.009634180925786495,
-0.04767213389277458,
-0.0484771691262722,
-0.011559267528355122,
0.05565248802304268,
0.03591160476207733,
-0.0787535235285759,
0.03311148285865784,
0.021560965105891228,
-0.041826870292425156,
0.01496316958218813,
0.02254100888967514,
0.025953661650419235,
0.04431198164820671,
-0.0003584926016628742,
0.030678872019052505,
0.024063576012849808,
0.053412389010190964,
-0.052362341433763504,
-0.0008274589199572802,
-0.012154294177889824,
0.04907219484448433,
-0.03689165040850639,
-0.08358374238014221,
0.04004179313778877,
-0.03836171701550484,
0.017868299037218094,
-0.06919809430837631,
-0.016328230500221252,
0.036296624690294266,
-0.04273691028356552,
-0.008400375954806805,
0.013204340822994709,
0.024781107902526855,
-0.006007143761962652,
0.005031474865972996,
0.012303050607442856,
-0.027773741632699966,
0.013248092494904995,
-0.008977901190519333,
-0.004983347840607166,
0.00538149056956172,
0.03745167702436447,
0.047882143408060074,
-0.049457211047410965,
0.03514157235622406,
0.06958311051130295,
0.038431718945503235,
0.00805911049246788,
-0.01686200499534607,
0.015304435044527054,
-0.033058978617191315,
0.00381735828705132,
0.00530273700132966,
0.007223448250442743,
-0.0761634036898613,
-0.08785393089056015,
0.017098264768719673,
0.02492111548781395,
0.018883345648646355,
0.00025567549164406955,
-0.028333768248558044,
-0.04007679224014282,
0.00904790498316288,
0.01512942649424076,
0.0510672852396965,
-0.046552084386348724,
-0.04872218146920204,
-0.016406983137130737,
-0.03755668178200722,
0.03391651809215546,
0.07770347595214844,
0.006164650898426771,
0.006313407327979803,
-0.09989447146654129,
-0.00945042259991169,
0.013379348441958427,
-0.0052371094934642315,
-0.03986678272485733,
-0.011235502548515797,
0.0009937162976711988,
-0.056807540357112885,
-0.018113309517502785,
-0.012268048711121082,
-0.04112683981657028,
-0.002511362312361598,
-0.018043307587504387,
-0.003915800247341394,
-0.04091683030128479,
-0.003679539542645216,
-0.0031195145566016436,
0.011235502548515797,
0.011253003031015396,
-0.014796911738812923,
-0.07087817043066025,
-0.026006164029240608,
0.012031788006424904,
0.023328542709350586,
-0.005315862596035004,
0.0485471710562706,
0.021298453211784363,
0.015173179097473621,
-0.0006234653992578387,
-0.0758833959698677,
-0.03372400999069214,
0.018410824239253998,
0.00959042925387621,
-0.02112344466149807,
-0.017273273319005966,
0.036331623792648315,
-0.03209643438458443,
-0.040251798927783966,
-0.035771600902080536,
0.008282245136797428,
-0.03486156091094017,
0.06457789242267609,
0.04137185215950012,
0.009424171410501003,
0.0210009403526783,
0.036576636135578156,
-0.0394117645919323,
-0.07147319614887238,
0.017299523577094078,
0.0029641950968652964,
0.013545606285333633,
0.01165552157908678,
0.014289389364421368,
0.009144159033894539,
-0.025516141206026077,
-0.013440601527690887,
0.025516141206026077,
-0.0028591903392225504,
0.001558663439936936,
-0.016748249530792236,
0.07539337128400803,
0.03794169798493385,
0.046832095831632614,
-0.013633109629154205,
-0.014193135313689709,
0.07490335404872894,
-0.0004014242149423808,
-0.07101817429065704,
-0.018148312345147133,
-0.010010448284447193,
0.010990492068231106,
-0.03256895765662193,
-0.019565874710679054,
0.03421403095126152,
0.06268780678510666,
0.05383240804076195,
0.034756556153297424,
0.019478371366858482,
-0.014298140071332455,
0.035526588559150696,
-0.005250235088169575,
-0.051277294754981995,
0.010727980174124241,
-0.03836171701550484,
0.011795527301728725,
-0.06086772307753563,
-0.024868613108992577,
-0.04823215678334236,
-0.023276042193174362,
0.004970222245901823,
0.04518702253699303,
-0.0340215228497982,
0.0393417589366436,
-0.08519381284713745,
-0.03874673321843147,
-0.005543373059481382,
0.0550224632024765,
-0.029156304895877838,
-0.0005365083925426006,
0.03442404046654701,
0.001149582676589489,
0.05096228048205376,
-0.03566659614443779,
0.003802045015618205,
0.0380467027425766,
0.010710478760302067,
-0.0011791152646765113,
-0.034389037638902664,
0.004057994112372398,
0.03857172653079033,
-0.006129649002104998,
0.021053442731499672,
-0.03853672370314598,
0.025638647377490997,
-0.027616236358880997,
0.04536202922463417,
-0.054917458444833755,
0.010447967797517776,
-0.019495872780680656,
0.032498955726623535,
-0.008645386435091496,
-0.0006256530177779496,
0.09282415360212326,
-0.03179892152547836,
0.029541321098804474,
-0.0484771691262722,
-0.05799759551882744,
-0.012950579635798931,
0.016835752874612808,
-0.007350328844040632,
0.0734332874417305,
-0.04119684174656868,
-0.010719229467213154,
0.033829014748334885,
0.06534792482852936,
-0.023888569325208664,
0.003018885152414441,
0.001838676049374044,
-0.04168686643242836,
0.04011179506778717,
0.0788235291838646,
-0.00807223655283451,
-0.047602128237485886,
-0.05453243851661682,
-0.022926025092601776,
-0.011856780387461185,
0.021788474172353745,
0.002701683435589075,
-0.01587321050465107,
-0.029663827270269394,
0.010010448284447193,
-0.058102600276470184,
-0.047917142510414124,
0.013843119144439697,
-0.017527034506201744,
-0.0005944797303527594,
-0.019985893741250038,
0.024466093629598618,
0.05327238142490387,
0.027196217328310013,
-0.010570473037660122,
0.016809502616524696,
-0.029331311583518982,
-0.012898077256977558,
-0.029296310618519783,
-0.003933300729840994,
0.008728515356779099,
-0.030521364882588387,
-0.01982838660478592,
-0.002885441528633237,
0.03829171136021614,
0.025638647377490997,
-0.0030691998545080423,
0.004852091893553734,
0.03430153429508209,
0.006435913033783436,
0.013633109629154205,
-0.04231689125299454,
-0.014656906016170979,
-0.012014287523925304,
-0.04242189601063728,
-0.013169338926672935,
0.014604403637349606,
0.022506006062030792,
-0.019355865195393562,
0.0037911070976406336,
0.04826715961098671,
0.014875665307044983,
-0.0498422309756279,
-0.03650663420557976,
0.04480200260877609,
0.021963482722640038,
0.018725838512182236,
0.04151185601949692,
0.015470691956579685,
0.000031429630325874314,
0.009301666170358658,
-0.007477209437638521,
0.09373418986797333,
-0.011445512063801289,
0.003585472935810685,
-0.03421403095126152,
-0.016345731914043427,
-0.010019198060035706,
0.06433288007974625,
0.04872218146920204,
-0.0006223716191016138,
-0.07000312954187393,
-0.0445919930934906,
-0.012714318931102753,
0.012836824171245098,
0.022225994616746902,
-0.00846162810921669,
-0.05603750795125961,
0.02665369212627411,
-0.052572350949048996,
-0.01809580996632576,
0.011699273250997066,
-0.03251645341515541,
0.03745167702436447,
0.03361900523304939,
0.010832984931766987,
-0.006492790300399065,
-0.01781579665839672,
-0.03494906425476074,
0.042596906423568726,
-0.010526721365749836,
0.08519381284713745,
0.06930310279130936,
-0.010202956385910511,
-0.004475825000554323,
0.03256895765662193,
-0.00015395220543723553,
-0.01037796400487423,
-0.09275414794683456,
-0.020125899463891983,
-0.052362341433763504,
0.010832984931766987,
-0.030118847265839577,
-0.01636323146522045,
-0.030346358194947243,
0.059432659298181534,
-0.03223644196987152,
0.03902674466371536,
0.06296781450510025,
-0.00016434329154435545,
-0.0032485828269273043,
0.02775624208152294,
-0.05110228434205055,
-0.004528327379375696,
0.013939373195171356,
-0.07017813622951508,
-0.10640475898981094,
-0.007131569087505341,
0.00679467897862196,
-0.01862083375453949,
0.005902139004319906,
0.005849636625498533,
0.029838833957910538,
-0.03155391290783882,
0.0550224632024765,
0.03118639439344406,
0.0733632817864418,
0.0010035604937002063,
0.001573976711370051,
-0.053377386182546616,
-0.02189347892999649,
-0.027406226843595505,
-0.030486363917589188,
0.03032885678112507,
0.004368633031845093,
-0.09324417263269424,
0.02149096131324768,
-0.042596906423568726,
-0.024168580770492554,
0.023031029850244522,
-0.020388411357998848,
-0.03251645341515541,
0.014796911738812923,
-0.01088548731058836,
-0.03412652760744095,
0.033426497131586075,
-0.02402857504785061,
-0.0498422309756279,
0.03468655049800873,
-0.046587083488702774,
-0.06877807527780533,
-0.06562793254852295,
-0.08316372334957123,
-0.025253629311919212,
-0.014044377952814102,
-0.017920801416039467,
0.07518336176872253,
0.08225367963314056,
0.011253003031015396,
0.038186706602573395,
-0.05558248609304428,
-0.013563106767833233,
0.046552084386348724,
0.005630876868963242,
0.09576428681612015,
0.053622398525476456,
-0.008684763684868813,
0.06895308196544647,
0.05456744134426117,
0.005941515788435936,
0.05554748326539993,
-0.0009100406896322966,
0.0154094398021698,
0.04382196068763733,
0.0023779189214110374,
-0.021595966070890427,
-0.009021653793752193,
0.03671664372086525,
-0.03554408997297287,
0.035771600902080536,
0.006037770304828882,
-0.025271130725741386,
0.019880888983607292,
-0.008649761788547039,
0.015916962176561356,
-0.017194518819451332,
0.0005988549091853201,
-0.04669208824634552,
0.014236886985599995,
-0.00951167568564415,
-0.00952917616814375,
-0.024133579805493355,
0.02290852554142475,
-0.03965677320957184,
0.029663827270269394,
-0.005320237949490547,
-0.0021307202987372875,
0.013484353199601173,
0.03510656952857971,
0.03230644389986992,
-0.017614537850022316,
0.015575696714222431,
-0.003537345677614212,
0.011498014442622662,
-0.028001252561807632,
0.02637368068099022,
0.03482655808329582,
-0.008934149518609047,
-0.015313184820115566,
-0.055757492780685425,
-0.011568017303943634,
0.002811063313856721,
-0.07371329516172409,
-0.06223278492689133,
0.04382196068763733,
-0.023276042193174362,
0.04515201970934868,
0.03127389773726463,
0.016100719571113586,
0.001204272615723312,
-0.07052815705537796,
0.047392118722200394,
-0.013221841305494308,
-0.014298140071332455,
0.012924328446388245,
-0.016406983137130737,
0.0294888187199831,
0.016511987894773483,
-0.03001384250819683,
0.013151838444173336,
-0.0023954196367412806,
-0.03745167702436447,
0.06856806576251984,
-0.019688380882143974,
-0.025061121210455894,
-0.03351400047540665,
0.02402857504785061,
0.0446619987487793,
-0.01119175087660551,
-0.03829171136021614,
0.0630728229880333,
0.065732941031456,
0.052292339503765106,
0.010876736603677273,
0.026303676888346672,
0.06233778968453407,
0.032411448657512665,
0.0033492122311145067,
-0.0108417347073555,
-0.05008723959326744,
0.023276042193174362,
0.03461654856801033,
0.03755668178200722,
-0.030468862503767014,
0.013764365576207638,
0.03801169991493225,
0.021823476999998093,
0.016476986929774284,
-0.030958885326981544,
-0.013256843201816082,
-0.02189347892999649,
0.020248405635356903,
0.055757492780685425,
-0.034109026193618774,
0.01615322194993496,
0.023013530299067497,
-0.05453243851661682,
0.0049439710564911366,
0.019495872780680656,
-0.006921559572219849,
0.01667824573814869,
0.013239342719316483,
0.006965311709791422,
0.024781107902526855,
0.02402857504785061,
0.07147319614887238,
-0.008124738931655884,
0.04833716154098511,
0.04165186360478401,
-0.05579249560832977,
0.03542158380150795,
-0.03860672563314438,
0.020510917529463768,
-0.005499620921909809,
-0.008282245136797428,
-0.02455359883606434,
0.00048564671305939555,
0.008417876437306404,
0.007197197061032057,
-0.02451859600841999,
-0.014070629142224789,
-0.018935848027467728,
-0.008172865957021713,
0.040776822715997696,
-0.008369749411940575,
0.006164650898426771,
-0.041056837886571884,
0.006974061951041222,
-0.06601295620203018,
0.011944284662604332,
-0.0288762915879488,
-0.0014580339193344116,
0.006409661844372749,
-0.030713874846696854,
-0.005350864492356777,
-0.04494201019406319,
0.07119318842887878,
-0.0321139357984066,
0.006287156138569117,
0.0005736975581385195,
-0.0025507390964776278,
0.032813966274261475,
-0.001324590528383851,
-0.015733202919363976,
0.02843877300620079,
-0.05005224049091339,
0.007792223710566759,
0.0034739053808152676,
-0.012591813690960407,
0.034721553325653076,
0.02766873687505722,
0.014613153412938118,
-0.00428550411015749,
-0.033671505749225616,
0.016818251460790634,
0.024938615038990974,
0.01747453212738037,
0.02726621925830841,
-0.017675790935754776,
-0.015435690991580486,
-0.028491275385022163,
-0.02056341990828514,
-0.007792223710566759,
0.030836379155516624,
0.019128356128931046,
-0.011638021096587181,
-0.004381758626550436,
0.07399331033229828,
0.02875378541648388,
-0.018323319032788277,
-0.06597795337438583,
0.010937989689409733,
-0.09408421069383621,
0.0038589227478951216,
0.01865583471953869,
0.03766168653964996,
-0.022120989859104156,
0.05880263075232506,
-0.03291897103190422,
-0.0027651237323880196,
0.033058978617191315,
0.014569401741027832,
0.01264431606978178,
0.012381804175674915,
0.026951204985380173,
0.059922680258750916,
0.03066137246787548,
0.04228189215064049,
-0.04354194924235344,
-0.00201915274374187,
0.000379821693059057,
0.009441672824323177,
0.01732577569782734,
-0.013808118179440498,
0.08162365108728409,
0.029663827270269394,
-0.03521157428622246,
-0.002710433676838875,
0.06870807707309723,
-0.08036359399557114,
-0.06366784870624542,
0.07392330467700958,
-0.03937676176428795,
0.04151185601949692,
0.03692665323615074,
-0.025953661650419235,
0.0029445067048072815,
0.05453243851661682,
0.007079066708683968,
-0.01918085850775242,
-0.009782937355339527,
-0.0024872987996786833,
0.023661058396100998,
-0.040566813200712204,
0.04910719767212868,
-0.006125274114310741,
0.08029358834028244,
0.05922264978289604,
-0.00812036357820034,
0.022068487480282784,
0.05215233191847801,
-0.022225994616746902,
-0.02177097462117672,
0.011314256116747856,
0.04455699399113655,
-0.0031107640825212,
-0.017780795693397522,
0.09149409085512161,
0.004795214626938105,
-0.03125640004873276,
0.00449332594871521,
0.011165499687194824,
0.020283406600356102,
0.019040850922465324,
0.020633423700928688,
-0.010132953524589539,
-0.029051300138235092,
0.007822849787771702,
-0.014000626280903816,
0.034914061427116394,
0.011760526336729527,
0.041091836988925934,
-0.021788474172353745,
-0.05484745278954506,
0.017124516889452934,
0.010771731846034527,
0.02019590325653553,
-0.028788788244128227,
0.010754231363534927,
0.05481245368719101,
0.047322116792201996,
-0.0004572079633362591,
0.08477379381656647,
0.04221189022064209,
0.046062059700489044,
0.010675477795302868,
-0.04224688932299614,
0.00943292211741209,
-0.017273273319005966,
-0.01750953309237957,
-0.010727980174124241,
-0.029541321098804474,
-0.04151185601949692,
0.06471789628267288,
-0.05642252415418625,
-0.017360776662826538,
-0.09842440485954285,
0.008697888813912868,
0.021753473207354546,
-0.046307072043418884,
-0.031238896772265434,
-0.03321648761630058,
-0.046272069215774536,
0.021438458934426308,
0.023941071704030037,
-0.029961340129375458,
-0.010369214229285717,
0.030433861538767815,
0.0144381457939744,
-0.010237958282232285,
-0.03300647810101509,
-0.011926783248782158,
0.04280691593885422,
0.022120989859104156,
0.04518702253699303,
-0.031606413424015045,
-0.023888569325208664,
-0.04245689883828163,
0.031081389635801315,
-0.10458467900753021,
-0.06734301149845123,
-0.019075853750109673,
-0.007652217522263527,
0.029961340129375458,
-0.000742689473554492,
-0.012171794660389423,
-0.021263450384140015,
-0.03209643438458443,
0.024868613108992577,
0.029506320133805275
] |
21,559 | cleanco.clean | prepare_default_terms | construct an optimized term structure for basename extraction | def prepare_default_terms():
"construct an optimized term structure for basename extraction"
terms = get_unique_terms()
nterms = normalize_terms(terms)
ntermparts = (t.split() for t in nterms)
# make sure that the result is deterministic, sort terms descending by number of tokens, ascending by names
sntermparts = sorted(ntermparts, key=lambda x: (-len(x), x))
return [(len(tp), tp) for tp in sntermparts]
| () | [
-0.03536663204431534,
0.06857876479625702,
-0.03564050793647766,
-0.07544394582509995,
0.0050165108405053616,
0.023827286437153816,
0.005263000261038542,
-0.021745821461081505,
0.06730066984891891,
-0.023352567106485367,
0.03598741814494133,
0.11071928590536118,
-0.0729973092675209,
-0.027442460879683495,
0.007810054812580347,
0.005933998618274927,
0.03529359772801399,
0.09414060413837433,
-0.005947692319750786,
0.03646213933825493,
-0.006700853817164898,
-0.002973846159875393,
-0.034581515938043594,
0.002103145932778716,
0.011073754169046879,
0.006139406003057957,
0.015063227154314518,
-0.0717192217707634,
-0.03005341999232769,
-0.04765457287430763,
0.024904536083340645,
0.02567139081656933,
-0.010498613119125366,
0.020924191921949387,
0.04352816194295883,
-0.07858439534902573,
0.043455127626657486,
0.06069111078977585,
-0.017409438267350197,
0.008010897785425186,
0.06178661808371544,
-0.07186529040336609,
-0.03794107213616371,
-0.05050289258360863,
-0.01880621165037155,
0.028757069259881973,
0.01659693755209446,
0.0017630822258070111,
0.015245812013745308,
0.0036562560126185417,
-0.015921374782919884,
-0.05776975676417351,
0.0009642747463658452,
-0.015300586819648743,
-0.03719247877597809,
0.05159839987754822,
0.03306606411933899,
0.03626129403710365,
-0.014688928611576557,
0.043564677238464355,
0.00867276731878519,
0.0653652772307396,
0.03299303352832794,
-0.019061829894781113,
-0.010069538839161396,
0.00411728210747242,
0.04111804440617561,
0.006481752265244722,
-0.013812522403895855,
0.04922480136156082,
-0.02495931088924408,
-0.042213551700115204,
-0.01635957695543766,
0.007070587482303381,
0.043199509382247925,
0.020066043362021446,
-0.012963504530489445,
-0.023443859070539474,
0.04509839043021202,
0.013538645580410957,
-0.07128101587295532,
0.000987097853794694,
0.000443908735178411,
-0.021599754691123962,
0.03153235465288162,
0.043309058994054794,
0.02267700433731079,
0.02300565503537655,
-0.001093795639462769,
0.010927686467766762,
-0.07960687577724457,
0.010462095960974693,
0.01951828971505165,
0.019700875505805016,
-0.05294952541589737,
-0.02957870066165924,
-0.042724788188934326,
-0.03936523199081421,
-0.012278812006115913,
-0.04305344074964523,
-0.02304217219352722,
0.0007799784652888775,
-0.0472894050180912,
-0.005609910935163498,
0.0300716795027256,
0.016633454710245132,
-0.008718413300812244,
-0.026839932426810265,
0.002610959345474839,
-0.006098324432969093,
-0.04531748965382576,
-0.04002253711223602,
0.06843269616365433,
0.03417983278632164,
-0.05342424660921097,
-0.05660121515393257,
0.007230348885059357,
-0.002576724858954549,
0.01926267147064209,
-0.01138414815068245,
-0.01682516746222973,
-0.04367423057556152,
-0.07201135158538818,
0.0011491416953504086,
-0.040898945182561874,
-0.00938484724611044,
0.04407591372728348,
0.0409354604780674,
-0.047179851680994034,
0.02437504008412361,
0.043089959770441055,
0.044295016676187515,
-0.013365190476179123,
0.01236097514629364,
-0.03790455684065819,
-0.061859652400016785,
0.016076572239398956,
0.032773930579423904,
0.033139098435640335,
-0.01939048059284687,
0.017865899950265884,
-0.01163063757121563,
0.0069199553690850735,
-0.02725987695157528,
-0.03889051452279091,
0.0625169575214386,
0.04352816194295883,
0.003124478505924344,
0.013063926249742508,
0.004377465229481459,
-0.03427112475037575,
0.04279782250523567,
-0.03779500722885132,
-0.021855372935533524,
0.0319705568253994,
-0.045134905725717545,
-0.012552688829600811,
-0.061604034155607224,
-0.012434009462594986,
0.009686111472547054,
0.06846921145915985,
-0.043455127626657486,
-0.02472195029258728,
-0.05802537500858307,
0.004297584295272827,
0.032792188227176666,
0.04630344733595848,
-0.03730202838778496,
0.008663637563586235,
0.015391879715025425,
-0.003660820657387376,
0.01779286563396454,
-0.09238779544830322,
0.005381680093705654,
0.019189639016985893,
-0.01830410398542881,
-0.025963526219129562,
0.011557603254914284,
-0.03768545389175415,
0.05028378963470459,
-0.026146110147237778,
-0.04904221370816231,
-0.02979780174791813,
-0.02545228973031044,
0.022731779143214226,
0.017272500321269035,
0.01363906729966402,
0.031203703954815865,
-0.01423246692866087,
0.004929783288389444,
-0.001071543199941516,
-0.031002860516309738,
-0.0063676368445158005,
0.030692465603351593,
0.04487928748130798,
0.016286544501781464,
0.0202303696423769,
-0.023316049948334694,
-0.01132937241345644,
-0.03089330904185772,
-0.0370464101433754,
-0.003692772937938571,
0.023425599560141563,
-0.009467010386288166,
0.06401415169239044,
0.06532876193523407,
-0.012881341390311718,
0.047435469925403595,
-0.08420800417661667,
0.020139077678322792,
0.023535151034593582,
-0.0033070631325244904,
-0.026018301025032997,
0.011676283553242683,
-0.06324729323387146,
-0.019445257261395454,
0.010936815291643143,
0.03987646847963333,
0.006002467591315508,
-0.03936523199081421,
0.01600353792309761,
0.030491624027490616,
0.062005721032619476,
-0.02897617220878601,
0.018751434981822968,
-0.02410116419196129,
0.05225570499897003,
0.014040753245353699,
-0.014761962927877903,
-0.013976848684251308,
0.01041644997894764,
-0.06587651371955872,
-0.02072334848344326,
0.0011925054714083672,
-0.009969117119908333,
0.01169454213231802,
0.06430628895759583,
-0.031221961602568626,
0.038598377257585526,
-0.02470369264483452,
-0.06799449026584625,
-0.02667560614645481,
-0.0234073419123888,
-0.03335820138454437,
0.013301285915076733,
0.0291952732950449,
-0.0038228644989430904,
-0.018614497035741806,
-0.038233209401369095,
-0.031075892969965935,
-0.03841579332947731,
0.03783152252435684,
-0.02035817876458168,
-0.015017581172287464,
0.07153663784265518,
0.01647825725376606,
-0.030875051394104958,
-0.015967020764946938,
-0.01247965544462204,
-0.04425850138068199,
0.015063227154314518,
0.028446676209568977,
-0.047435469925403595,
0.0016706488095223904,
-0.011941030621528625,
0.000472437561256811,
0.02545228973031044,
0.010909427888691425,
-0.06952820718288422,
0.006961036939173937,
-0.041994452476501465,
0.01853233389556408,
-0.06021638959646225,
0.011612378992140293,
-0.025123637169599533,
0.045500073581933975,
-0.010215606540441513,
0.011247209273278713,
-0.013502129353582859,
0.04265175387263298,
-0.029779544100165367,
0.030929826200008392,
0.0202303696423769,
0.0033390154130756855,
0.03134977072477341,
0.024557624012231827,
0.009777403436601162,
-0.08866306394338608,
-0.0399860218167305,
-0.04772760719060898,
-0.010526000522077084,
0.05152536556124687,
0.03405202180147171,
0.015218423679471016,
0.035074494779109955,
-0.025141894817352295,
-0.007321641314774752,
-0.035348374396562576,
0.04736243933439255,
0.021490203216671944,
-0.0874214917421341,
-0.006194181740283966,
0.04064332693815231,
-0.03131325542926788,
0.025908751413226128,
-0.023060431703925133,
0.020285146310925484,
-0.01036167424172163,
0.05546919256448746,
-0.03783152252435684,
-0.05736807361245155,
0.017135562375187874,
0.027168583124876022,
-0.0015257223276421428,
-0.0118223512545228,
0.04739895462989807,
0.0012461396399885416,
-0.004589719697833061,
0.04451411962509155,
0.05941301956772804,
0.00014692352851852775,
0.029268305748701096,
-0.061604034155607224,
-0.02654779702425003,
0.02326127514243126,
-0.0009899507276713848,
-0.02132587693631649,
-0.027314651757478714,
0.008225434459745884,
-0.006509140133857727,
0.007358158007264137,
0.011858867481350899,
-0.007741585839539766,
-0.005860964767634869,
-0.04378378018736839,
-0.007636599708348513,
0.06627819687128067,
-0.003373249899595976,
-0.06189616769552231,
-0.056637734174728394,
-0.03151409700512886,
-0.03432589769363403,
-0.03166016563773155,
0.04564614221453667,
0.0341980904340744,
0.009658724069595337,
0.05451975390315056,
-0.013018280267715454,
0.04480625316500664,
-0.04535400867462158,
-0.03438067436218262,
-0.018860986456274986,
0.010507741943001747,
0.05280345678329468,
0.08990464359521866,
0.02278655394911766,
-0.01915312185883522,
0.012835695408284664,
-0.0003135319275315851,
0.006267215590924025,
0.027898922562599182,
-0.0015371338231489062,
0.00008794014865998179,
0.01900705322623253,
0.09582038223743439,
-0.04885962978005409,
0.047070302069187164,
0.05941301956772804,
-0.029250048100948334,
-0.06047200784087181,
-0.020522505044937134,
-0.029651734977960587,
0.015309716574847698,
-0.02749723568558693,
0.01416856236755848,
-0.008412583731114864,
-0.03516578674316406,
-0.04495232179760933,
-0.014981064014136791,
-0.006335684563964605,
-0.03427112475037575,
0.020869417116045952,
0.023206498473882675,
0.023316049948334694,
-0.05970515310764313,
0.018468428403139114,
-0.01145718153566122,
0.05200008675456047,
0.06700854003429413,
0.02957870066165924,
0.01151195727288723,
-0.005112368147820234,
0.02231183461844921,
0.02265874482691288,
0.04111804440617561,
0.03175145760178566,
-0.012287941761314869,
-0.07858439534902573,
-0.034252867102622986,
0.017272500321269035,
0.020029528066515923,
-0.008248258382081985,
-0.06313774734735489,
0.07369112968444824,
-0.026858190074563026,
-0.018450170755386353,
0.04809277504682541,
0.002636064775288105,
0.0008376067271456122,
-0.010498613119125366,
-0.03417983278632164,
-0.02243964374065399,
0.054227616637945175,
-0.03187926486134529,
-0.029414374381303787,
-0.009065323509275913,
0.00389361591078341,
-0.0008119307458400726,
0.029250048100948334,
-0.022129250690340996,
-0.023845544084906578,
-0.003231746843084693,
0.02627391926944256,
0.07800012826919556,
0.07646641880273819,
0.041629280894994736,
-0.024521106854081154,
-0.044185467064380646,
-0.014688928611576557,
-0.034125056117773056,
-0.01247965544462204,
0.0331573560833931,
-0.04571917653083801,
-0.04849446192383766,
0.050941094756126404,
-0.009969117119908333,
0.004217703361064196,
0.03224443644285202,
-0.004639930557459593,
-0.0013648197054862976,
-0.0441124327480793,
-0.0076046474277973175,
0.026109592989087105,
0.010754231363534927,
0.07343551516532898,
0.01829497329890728,
-0.024667175486683846,
0.007070587482303381,
-0.06295516341924667,
-0.048421427607536316,
-0.02579919993877411,
-0.04608434438705444,
0.0032180531416088343,
-0.009503526613116264,
0.027825888246297836,
0.032427020370960236,
0.017993709072470665,
0.029250048100948334,
-0.004489297978579998,
-0.004811103455722332,
0.06007032468914986,
0.05251132324337959,
0.08004507422447205,
0.10305073112249374,
0.01485325489193201,
0.012306200340390205,
-0.004156081471592188,
-0.012342716567218304,
-0.015008451417088509,
-0.01829497329890728,
0.019226154312491417,
0.036188263446092606,
0.01382165215909481,
-0.03638910502195358,
0.006769322790205479,
-0.006500010844320059,
0.011438922956585884,
-0.0061074537225067616,
0.01344735361635685,
-0.0601433590054512,
0.05451975390315056,
-0.04984558746218681,
0.01016996055841446,
0.03721073642373085,
-0.04929783567786217,
0.018221940845251083,
-0.06405066698789597,
-0.008088496513664722,
0.034818876534700394,
-0.016870813444256783,
-0.01573879085481167,
0.005596217233687639,
-0.02859274297952652,
-0.011174175888299942,
-0.004336383659392595,
0.034618034958839417,
0.028446676209568977,
0.04739895462989807,
-0.00547753693535924,
0.018276715651154518,
0.01241575088351965,
-0.07106191664934158,
0.009375717490911484,
-0.0037840651348233223,
0.0002303703804500401,
-0.0028026732616126537,
-0.07438495755195618,
-0.0020004422403872013,
-0.023480376228690147,
-0.06708157062530518,
-0.03452674299478531,
-0.10326983034610748,
-0.008841658011078835,
-0.009430493228137493,
0.03476410359144211,
0.04433153197169304,
-0.026036560535430908,
-0.010306899435818195,
0.03257308900356293,
0.04451411962509155,
-0.06010683998465538,
0.030747242271900177,
-0.013584291562438011,
-0.04630344733595848,
0.010745101608335972,
-0.004080764949321747,
-0.04546355828642845,
0.009348330087959766,
0.05557874217629433,
0.01339257787913084,
0.025598356500267982,
-0.040533773601055145,
0.002690840046852827,
0.023535151034593582,
0.028501451015472412,
0.059559088200330734,
-0.02203795686364174,
-0.04374726116657257,
0.11619681864976883,
-0.0020198419224470854,
-0.00469242362305522,
0.004372900351881981,
0.048165809363126755,
-0.0004538938228506595,
0.01977390982210636,
0.060033805668354034,
0.00805654376745224,
0.044185467064380646,
0.02680341526865959,
-0.038342759013175964,
-0.007622906006872654,
-0.017482472583651543,
0.0007411792175844312,
-0.04801974073052406,
-0.044769737869501114,
-0.07153663784265518,
-0.012379233725368977,
-0.02736942656338215,
0.013027409091591835,
0.016560420393943787,
0.009594819508492947,
0.025726165622472763,
0.030820274725556374,
-0.018459299579262733,
0.01866014301776886,
0.024082904681563377,
-0.06269954144954681,
-0.020394695922732353,
-0.047179851680994034,
0.01803935505449772,
-0.004530379548668861,
-0.042359620332717896,
0.01351125817745924,
0.011685412377119064,
-0.029377857223153114,
-0.015054097399115562,
0.029542183503508568,
-0.06605909764766693,
-0.015355362556874752,
-0.019846942275762558,
0.044660184532403946,
0.06510965526103973,
-0.022567452862858772,
-0.031678423285484314,
0.04864053055644035,
-0.015318845398724079,
0.04867704585194588,
0.014652411453425884,
-0.005235612392425537,
-0.022512678056955338,
-0.010443837381899357,
0.06448887288570404,
0.030491624027490616,
-0.002460326999425888,
-0.03540314733982086,
-0.014488086104393005,
-0.03191578388214111,
-0.01453373208642006,
-0.03474584221839905,
-0.03826972469687462,
0.007878524251282215,
0.018349749967455864,
-0.026073075830936432,
0.08837093412876129,
0.024393297731876373,
-0.03615174442529678,
0.010279511101543903,
-0.02494105137884617,
0.007983510382473469,
0.004133258014917374,
0.009813920594751835,
0.02472195029258728,
0.05539615824818611,
0.009868696331977844,
-0.02833712473511696,
0.02581745758652687,
0.027935439720749855,
-0.057623691856861115,
0.03235398605465889,
0.006025291047990322,
-0.06565741449594498,
-0.0351475290954113,
-0.024502849206328392,
0.008042850531637669,
-0.017637670040130615,
-0.04904221370816231,
0.022640487179160118,
-0.0236447025090456,
-0.0017231418751180172,
-0.011292855255305767,
0.010124314576387405,
-0.0666433647274971,
0.034727584570646286,
-0.02667560614645481,
0.024137679487466812,
0.09246082603931427,
-0.02096070908010006,
-0.03215314447879791,
-0.0016820603050291538,
0.056418631225824356,
-0.02410116419196129,
-0.01120156329125166,
0.02218402549624443,
0.011137658730149269,
-0.02192840725183487,
-0.03637084737420082,
-0.014771091751754284,
-0.014698057435452938,
-0.011438922956585884,
0.06353943049907684,
0.0002028400485869497,
0.018860986456274986,
0.03627955541014671,
0.009594819508492947,
-0.03478236123919487,
0.052401769906282425,
0.013465612195432186,
-0.059924256056547165,
0.01114678755402565,
-0.055213574320077896,
0.020997226238250732,
-0.04035118967294693,
0.05853661149740219,
0.028191057965159416,
-0.028556227684020996,
0.021143293008208275,
0.0161039587110281,
0.009197697974741459,
-0.024411557242274284,
-0.03717421740293503,
0.04148321598768234,
0.004012295976281166,
0.07040461152791977,
-0.04641299694776535,
-0.03695511817932129,
0.021964924409985542,
0.05050289258360863,
0.07365461438894272,
0.07748889178037643,
-0.027844147756695747,
0.03587786853313446,
-0.027570270001888275,
0.01320086419582367,
-0.030747242271900177,
0.03328516706824303,
-0.014433310367166996,
-0.030948083847761154,
0.014652411453425884,
-0.00848561804741621,
0.009220520965754986,
-0.0005140896537341177,
-0.02930482290685177,
-0.0010161972604691982,
0.010389061644673347,
-0.04433153197169304,
0.07033157348632812,
-0.027460718527436256,
-0.02397335320711136,
0.036170002073049545,
-0.05039334297180176,
0.069820336997509,
-0.00005074567161500454,
-0.007358158007264137,
-0.03991298750042915,
-0.0051443204283714294,
-0.013593421317636967,
-0.01815803535282612,
0.021380653604865074,
-0.032919999212026596,
0.026839932426810265,
0.03235398605465889,
0.005249306559562683,
-0.0003004086611326784,
-0.014342018403112888,
0.00032551406184211373,
-0.020084302872419357,
-0.0020301120821386576,
0.055213574320077896,
0.023918578401207924,
-0.020321663469076157,
0.04736243933439255,
-0.020887674763798714,
0.05561526119709015,
0.0633203312754631,
0.02943263202905655,
0.0016832015244290233,
0.01072684396058321,
-0.0004667318135034293,
-0.028410159051418304,
-0.05006469041109085,
-0.016533032059669495,
0.06010683998465538,
-0.02192840725183487,
0.004897831007838249,
-0.005865529179573059,
-0.03209836781024933,
0.07445798814296722,
-0.019061829894781113,
-0.01597614958882332,
0.023425599560141563,
-0.03914613276720047,
-0.03187926486134529,
0.038342759013175964,
0.11575862020254135,
0.013721230439841747,
-0.04739895462989807,
0.07829226553440094,
-0.0227682963013649,
-0.014059011824429035,
0.02992561087012291,
0.019116604700684547,
0.002770720748230815,
-0.004391158930957317,
-0.0569663867354393,
-0.0555422268807888,
-0.03801410645246506,
0.061750102788209915,
-0.030436847358942032,
-0.03346775099635124,
-0.015967020764946938,
0.019700875505805016,
-0.07880350202322006,
-0.032427020370960236,
0.048165809363126755,
0.03954781964421272,
0.00998737569898367,
0.07372765243053436,
-0.023462116718292236
] |
21,561 | cleanco.classify | typesources | business types / abbreviations sorted by length of business type | def typesources():
"business types / abbreviations sorted by length of business type"
types = []
for business_type in terms_by_type:
for item in terms_by_type[business_type]:
types.append((business_type, item))
return sorted(types, key=lambda part: len(part[1]), reverse=True)
| () | [
-0.03642331436276436,
0.010958016850054264,
-0.02708026021718979,
-0.07810210436582565,
0.023229900747537613,
-0.010812031105160713,
0.003499083686619997,
-0.09576631337404251,
0.05310212820768356,
-0.06572984904050827,
-0.021021874621510506,
0.013859473168849945,
-0.018740855157375336,
-0.061569273471832275,
0.008503640070557594,
0.04051090404391289,
0.014799253083765507,
0.05514592304825783,
0.03162405267357826,
-0.020948881283402443,
-0.043102141469717026,
0.054561980068683624,
-0.01574815809726715,
-0.015510931611061096,
0.018001804128289223,
0.014361297711730003,
0.0077326553873717785,
-0.04565688222646713,
-0.0618247464299202,
-0.04518242925405502,
0.03208025544881821,
-0.027518216520547867,
0.009279186837375164,
-0.0436495840549469,
-0.014005458913743496,
-0.04872257262468338,
0.0764232724905014,
0.04080287367105484,
0.05113132670521736,
0.08218968659639359,
0.0029653250239789486,
-0.06244518607854843,
-0.02439778298139572,
-0.04313863813877106,
-0.006792875472456217,
-0.020930632948875427,
-0.03169704228639603,
-0.03235397860407829,
-0.006031014956533909,
0.0161222442984581,
-0.0712042972445488,
-0.03589411824941635,
-0.007682472933083773,
-0.01587589457631111,
-0.025766393169760704,
0.009790134616196156,
-0.02078464813530445,
0.04229922220110893,
0.03361310064792633,
0.06266415864229202,
-0.035401418805122375,
0.03569338843226433,
-0.006902364548295736,
-0.06499992311000824,
0.019306547939777374,
0.00977188628166914,
-0.05021892115473747,
0.011131374165415764,
-0.048613082617521286,
-0.014096699655056,
0.013804729096591473,
0.020328443497419357,
0.011140498332679272,
0.03386857360601425,
0.02749996818602085,
-0.001101162051782012,
0.011450717225670815,
-0.010602178052067757,
0.05733570083975792,
-0.06744518131017685,
0.03728098049759865,
0.049561988562345505,
-0.01237224880605936,
-0.01583939790725708,
0.056386798620224,
0.014324801042675972,
0.019635014235973358,
0.043102141469717026,
-0.011432468891143799,
0.002447533654049039,
-0.06164226680994034,
-0.011760935187339783,
0.024999970570206642,
-0.002018701983615756,
-0.06419700384140015,
0.014242684468626976,
-0.020255452021956444,
-0.06540138274431229,
0.008996340446174145,
-0.001750682364217937,
0.04806564003229141,
-0.02379559352993965,
0.022098515182733536,
0.013832100667059422,
0.030784636735916138,
0.040474407374858856,
-0.012937941588461399,
-0.030018214136362076,
-0.072481669485569,
0.02496347576379776,
-0.040693383663892746,
-0.07025539129972458,
0.03905105218291283,
-0.08291961252689362,
0.05547438934445381,
-0.005848533473908901,
0.025967122986912727,
0.035145945847034454,
-0.01327553205192089,
-0.011715315282344818,
0.011076630093157291,
0.025364935398101807,
0.0076915971003472805,
0.022280996665358543,
-0.023868585005402565,
-0.005150541663169861,
0.047153230756521225,
-0.015784652903676033,
-0.028394129127264023,
0.029689747840166092,
0.022025521844625473,
0.03883207216858864,
-0.04507294297218323,
0.056496284902095795,
0.03598536178469658,
-0.013740859925746918,
-0.021405085921287537,
-0.058175116777420044,
0.04485396295785904,
-0.007075721863657236,
-0.028175150975584984,
0.022737199440598488,
0.03952550143003464,
-0.07087583094835281,
-0.02182479202747345,
0.031313832849264145,
0.041350316256284714,
0.024780994281172752,
0.006464408710598946,
0.00563867948949337,
-0.020474428310990334,
-0.004023718181997538,
-0.02857661060988903,
0.0065921456553041935,
-0.0321897454559803,
-0.047408703714609146,
-0.0610218271613121,
-0.01697990857064724,
-0.020346691831946373,
0.02939777635037899,
-0.014452538453042507,
0.021240850910544395,
-0.0805838480591774,
-0.04671527445316315,
-0.05784665048122406,
0.004507293924689293,
0.03810214623808861,
-0.02990872412919998,
0.002445252612233162,
-0.002801091643050313,
-0.01672443374991417,
-0.04248170182108879,
-0.06824810057878494,
-0.026240846142172813,
0.002404194325208664,
-0.00395984947681427,
-0.010802906937897205,
0.015410566702485085,
0.01013685017824173,
0.039197035133838654,
0.003953006584197283,
-0.01923355460166931,
-0.09832105785608292,
-0.0037591198924928904,
0.007705283351242542,
0.0004202777927275747,
-0.005004556383937597,
-0.017874067649245262,
0.01583939790725708,
-0.0012978999875485897,
-0.00861769076436758,
-0.00473539624363184,
-0.02974449098110199,
0.015483559109270573,
0.025200700387358665,
-0.006920612417161465,
-0.024762745946645737,
0.03361310064792633,
-0.06894152611494064,
-0.021332092583179474,
-0.023959826678037643,
0.02543792687356472,
-0.004457111936062574,
0.018330270424485207,
0.04076637700200081,
0.034160543233156204,
-0.0029151425696909428,
-0.014981734566390514,
-0.0161222442984581,
-0.042627688497304916,
0.05689774453639984,
-0.03370434045791626,
0.0030862190760672092,
-0.05686124786734581,
-0.02974449098110199,
-0.04277367517352104,
-0.05211672931909561,
0.032554708421230316,
0.025419678539037704,
-0.03680652752518654,
-0.0167609304189682,
0.02832113578915596,
0.01205290574580431,
-0.015821149572730064,
0.0597444586455822,
0.003937039524316788,
-0.004005469847470522,
0.02461676113307476,
-0.009452544152736664,
-0.04945249855518341,
-0.009844879619777203,
-0.04215323552489281,
0.029562009498476982,
0.01726275496184826,
0.028521865606307983,
-0.00387317081913352,
0.016012756153941154,
0.025985371321439743,
-0.005218971986323595,
-0.00450501311570406,
-0.03281018137931824,
-0.01688866689801216,
-0.01767333783209324,
-0.06065686419606209,
-0.08211669325828552,
-0.0006671981536783278,
0.008020063862204552,
-0.011934292502701283,
-0.05178826302289963,
-0.06813860684633255,
-0.046934254467487335,
-0.03512769564986229,
0.0402919240295887,
-0.037810176610946655,
0.03133207932114601,
-0.05704373121261597,
-0.030529161915183067,
-0.05992693826556206,
0.002376822056248784,
-0.055109426379203796,
0.017974432557821274,
0.028613105416297913,
-0.01114962249994278,
0.06649627536535263,
-0.014598523266613483,
-0.020894136279821396,
0.0544159971177578,
0.017472608014941216,
-0.03474448621273041,
0.01792881079018116,
0.06693422794342041,
0.016195237636566162,
-0.03543791547417641,
0.011824804358184338,
-0.0402919240295887,
0.06255467236042023,
-0.010109477676451206,
0.02749996818602085,
-0.028905076906085014,
-0.030200695618987083,
-0.02724449522793293,
0.0482846163213253,
0.013959838077425957,
0.007705283351242542,
0.022189754992723465,
-0.04094885662198067,
-0.019178809598088264,
-0.0859123095870018,
-0.06664226204156876,
0.01545618660748005,
0.04945249855518341,
-0.009607653133571148,
0.0415692962706089,
0.005962584633380175,
0.04317513480782509,
0.0037705248687416315,
0.07251816242933273,
-0.07142327725887299,
0.03967148810625076,
0.013540130108594894,
-0.09510938078165054,
0.03835761919617653,
0.09189770370721817,
0.001064665731973946,
-0.01976275071501732,
-0.010018236935138702,
0.015054726973176003,
-0.07649626582860947,
0.016961660236120224,
-0.01192516926676035,
-0.03025544062256813,
0.012755460105836391,
0.0028946134261786938,
-0.00067233043955639,
-0.050036437809467316,
-0.008635939098894596,
-0.0692334994673729,
0.0510583370923996,
0.016067499294877052,
0.0530291348695755,
0.001596713555045426,
0.021076617762446404,
-0.0029219856951385736,
-0.0033462552819401026,
0.023813841864466667,
0.028302887454628944,
-0.03082113340497017,
-0.0053284610621631145,
0.04638680815696716,
-0.0704013779759407,
-0.014379546046257019,
-0.00242700451053679,
0.043795570731163025,
0.022499974817037582,
-0.003549266140908003,
-0.00028712331550195813,
0.09357653558254242,
-0.0238503385335207,
0.00970801804214716,
-0.06671525537967682,
-0.0076915971003472805,
-0.010912396013736725,
-0.025985371321439743,
0.038759078830480576,
0.03835761919617653,
-0.006897802464663982,
-0.019981728866696358,
-0.044999949634075165,
0.024434277787804604,
0.06620430201292038,
0.007399626541882753,
-0.027956172823905945,
0.018905088305473328,
0.041897762566804886,
0.04565688222646713,
0.012034657411277294,
0.007335757836699486,
-0.005784664768725634,
-0.015656916424632072,
0.08262764662504196,
0.08664223551750183,
0.0049087535589933395,
-0.0309123732149601,
-0.021313844248652458,
0.04218973219394684,
-0.004771892447024584,
0.03912404179573059,
0.026697048917412758,
0.029197046533226967,
-0.04459848999977112,
-0.030675146728754044,
-0.013029182329773903,
0.04923352226614952,
0.024653255939483643,
-0.015136844478547573,
-0.025328438729047775,
0.013695240020751953,
-0.04704374074935913,
-0.059379495680332184,
0.05397804081439972,
-0.043065644800662994,
0.035492658615112305,
0.016204360872507095,
0.05281015858054161,
-0.04576637223362923,
0.010702542960643768,
-0.02708026021718979,
0.0028603982646018267,
-0.021678807213902473,
0.05467147007584572,
0.016167864203453064,
-0.007404188625514507,
0.01198903750628233,
0.04886855557560921,
0.04102184996008873,
0.011633198708295822,
-0.07802911102771759,
-0.0475911870598793,
0.03198901563882828,
-0.02271895296871662,
0.034416019916534424,
-0.04886855557560921,
-0.03543791547417641,
0.07200721651315689,
-0.015264580957591534,
-0.00011569044727366418,
0.028978068381547928,
0.012271883897483349,
-0.037080250680446625,
0.02018245868384838,
-0.012919693253934383,
-0.026441575959324837,
0.007385940290987492,
-0.06985393166542053,
-0.028521865606307983,
-0.04496345296502113,
0.010337579064071178,
0.020602166652679443,
0.05587584897875786,
-0.020930632948875427,
0.0684305801987648,
0.015337573364377022,
0.026569312438368797,
0.006122255697846413,
0.059124018996953964,
0.02138683758676052,
0.009899623692035675,
0.028394129127264023,
-0.03452550992369652,
0.013905094005167484,
0.033978063613176346,
0.08386851847171783,
-0.033467113971710205,
-0.06288313865661621,
0.01932479627430439,
-0.0049498118460178375,
-0.005054738838225603,
-0.004995432216674089,
0.025127708911895752,
-0.006902364548295736,
0.0021555633284151554,
0.05514592304825783,
-0.014543779194355011,
0.04277367517352104,
0.036952514201402664,
0.00641422625631094,
0.006395977921783924,
-0.011833928525447845,
-0.022664207965135574,
-0.05328461155295372,
-0.044051043689250946,
-0.05182475969195366,
0.04781016334891319,
-0.0597444586455822,
0.029124055057764053,
0.06335759162902832,
-0.021916033700108528,
0.035912368446588516,
-0.06999991834163666,
0.015364945866167545,
0.05715322121977806,
0.022445229813456535,
0.06835758686065674,
0.04193425923585892,
-0.004609940107911825,
0.011824804358184338,
-0.025200700387358665,
-0.007089408114552498,
0.045985348522663116,
0.08897799998521805,
0.014041954651474953,
0.03963499143719673,
0.013476261869072914,
0.008508201688528061,
0.0060538253746926785,
0.018074797466397285,
0.00067233043955639,
0.0021920595318078995,
-0.00008931616321206093,
-0.04010944440960884,
0.07540137320756912,
0.025328438729047775,
-0.02354011870920658,
0.01568428799510002,
-0.041678786277770996,
0.013905094005167484,
0.001624085707589984,
-0.008914223872125149,
-0.028138654306530952,
-0.03640506789088249,
-0.011541957966983318,
0.010465316474437714,
0.014616771601140499,
-0.007504553534090519,
0.062262702733278275,
0.05299264192581177,
0.01614961586892605,
0.029762739315629005,
-0.0018670143326744437,
0.06682474166154861,
0.019653262570500374,
-0.02306566759943962,
-0.01808392070233822,
-0.01885034330189228,
0.024215301498770714,
0.024890482425689697,
0.017819322645664215,
-0.0429561547935009,
-0.03905105218291283,
-0.04397805035114288,
-0.046934254467487335,
-0.04313863813877106,
0.026806538924574852,
0.006815685424953699,
0.007226269226521254,
0.0014792410656809807,
0.01416056789457798,
0.0010612442856654525,
-0.019945232197642326,
0.0636860579252243,
-0.02870434708893299,
-0.045218925923109055,
0.0022160103544592857,
-0.028521865606307983,
0.03744521364569664,
0.037810176610946655,
0.01222626306116581,
0.02229924499988556,
-0.008316596038639545,
0.0018715762998908758,
0.06390503793954849,
-0.012664219364523888,
0.010903271846473217,
-0.012125898152589798,
0.03894156217575073,
-0.016706185415387154,
-0.04270068183541298,
0.009844879619777203,
0.09802908450365067,
0.057189714163541794,
0.050474394112825394,
-0.012007285840809345,
0.028120405972003937,
-0.019124066457152367,
0.06029190123081207,
0.022244499996304512,
0.02677004225552082,
-0.056970737874507904,
-0.03051091358065605,
0.015383194200694561,
-0.013156919740140438,
-0.038540102541446686,
0.0422627255320549,
-0.007937947288155556,
-0.013458013534545898,
-0.026788290590047836,
0.010173345915973186,
-0.01054743304848671,
0.04733571410179138,
0.003136401530355215,
0.023521870374679565,
0.008973529562354088,
-0.029507266357541084,
0.027609458193182945,
-0.0644889771938324,
0.023321140557527542,
-0.0049908701330423355,
0.04445250332355499,
-0.049343008548021317,
0.013905094005167484,
-0.008927909657359123,
-0.0008280100300908089,
-0.018330270424485207,
-0.010848527774214745,
0.020164210349321365,
0.020218955352902412,
0.00546532217413187,
-0.013412393629550934,
0.008070246316492558,
-0.024543767794966698,
-0.027664201334118843,
0.029507266357541084,
-0.004062495194375515,
-0.009799258783459663,
-0.00977188628166914,
-0.02677004225552082,
0.04171527922153473,
-0.02259121462702751,
-0.012855825014412403,
-0.037810176610946655,
-0.01967151090502739,
0.039270028471946716,
0.015583924017846584,
-0.008594880811870098,
-0.01863136515021324,
-0.03208025544881821,
-0.02151457406580448,
0.025328438729047775,
-0.08167874068021774,
-0.009616777300834656,
0.008038312196731567,
0.015428814105689526,
-0.01156020537018776,
0.027007268741726875,
0.08817508071660995,
-0.029507266357541084,
0.03788316994905472,
-0.014032830484211445,
0.009589404799044132,
-0.004546071402728558,
-0.0011199804721400142,
0.03645981103181839,
0.025748146697878838,
-0.03392332047224045,
0.0053330231457948685,
-0.03489047288894653,
0.03175178915262222,
-0.04781016334891319,
0.0314963161945343,
-0.02531019039452076,
-0.047189727425575256,
-0.01468063984066248,
0.059124018996953964,
0.031240839511156082,
-0.046897757798433304,
0.044270023703575134,
-0.047627683728933334,
-0.011222614906728268,
0.06091234087944031,
-0.056386798620224,
0.010173345915973186,
-0.0009437717380933464,
0.05375906452536583,
-0.027828436344861984,
-0.01596713438630104,
0.024562016129493713,
-0.016012756153941154,
-0.009229004383087158,
-0.04937950521707535,
-0.00812499038875103,
-0.021076617762446404,
0.014671515673398972,
0.025255445390939713,
0.016687937080860138,
-0.009762763045728207,
0.022992674261331558,
-0.02397807501256466,
-0.001356065971776843,
-0.028868580237030983,
0.0015955730341374874,
-0.017344871535897255,
0.012563854455947876,
0.06755466759204865,
0.03952550143003464,
-0.020127713680267334,
0.06065686419606209,
0.021678807213902473,
-0.01736311800777912,
0.03136857599020004,
-0.06934298574924469,
0.05729920417070389,
-0.020510924980044365,
0.04470798000693321,
-0.022883186116814613,
-0.009174259379506111,
-0.009192507714033127,
0.0477006770670414,
-0.0184397604316473,
-0.02096712961792946,
0.006897802464663982,
0.0470072440803051,
0.01872260682284832,
0.09547434002161026,
-0.033978063613176346,
-0.05394154414534569,
0.05689774453639984,
-0.039270028471946716,
0.07080283761024475,
0.03082113340497017,
-0.06908751279115677,
0.01941603608429432,
-0.018357643857598305,
0.002273035701364279,
-0.07291962206363678,
0.02715325355529785,
0.0037705248687416315,
-0.03824813291430473,
0.0020825706887990236,
0.010301083326339722,
-0.013613123446702957,
-0.020474428310990334,
-0.019032824784517288,
0.02432478964328766,
-0.02410581149160862,
-0.025492671877145767,
0.05726270750164986,
0.019562020897865295,
-0.022755447775125504,
0.01865873858332634,
0.0057116723619401455,
0.05427001044154167,
0.003140963613986969,
0.03625908121466637,
-0.03240872174501419,
-0.010711666196584702,
-0.0003826409811154008,
-0.016304725781083107,
0.029343031346797943,
0.0033074780367314816,
0.04912403225898743,
0.02014596201479435,
-0.004037403967231512,
-0.005187037866562605,
0.006573897786438465,
0.002851274097338319,
-0.07160575687885284,
-0.012472613714635372,
0.09145975112915039,
0.014698888175189495,
0.04536491259932518,
0.017892315983772278,
0.03361310064792633,
0.05408753082156181,
0.03722623363137245,
0.020857639610767365,
0.06817510724067688,
-0.0054151397198438644,
0.030072959139943123,
-0.08678822219371796,
-0.0934305489063263,
-0.014288305304944515,
0.019361291080713272,
-0.04536491259932518,
0.0090738944709301,
-0.021678807213902473,
0.04397805035114288,
-0.009156011044979095,
-0.006697072647511959,
-0.01054743304848671,
-0.00019944662926718593,
-0.04178827255964279,
0.03605835139751434,
-0.016103995963931084,
0.03967148810625076,
-0.015848521143198013,
-0.01685217022895813,
0.05729920417070389,
-0.005086672957986593,
-0.01573903299868107,
-0.012636846862733364,
-0.008895975537598133,
-0.019945232197642326,
0.016806550323963165,
-0.0772261917591095,
-0.032901421189308167,
0.03645981103181839,
-0.0068932403810322285,
-0.04989045485854149,
-0.06926999241113663,
-0.0368795208632946,
0.009142325259745121,
-0.06583934277296066,
-0.021368589252233505,
0.01026458665728569,
0.06572984904050827,
-0.014324801042675972,
-0.021660558879375458,
-0.015054726973176003
] |
21,562 | ldsso.ld_sso | SSO | null | class SSO:
LD_SSO_SERVICE_API = os.environ.get("LD_SSO_SERVICE_API")
LD_KEYCLOAK_CLIENT_ID = os.environ.get("LD_KEYCLOAK_CLIENT_ID")
LD_NAMESPACE = os.environ.get("LD_NAMESPACE")
LD_HOSTNAME = os.environ.get("HOSTNAME", "")
LD_URI_PREFIX = os.environ.get("LD_URI_PREFIX", "")
URI_USERINFO = "userinfo"
URI_JUDGE = "judge"
URI_POLICY = "policies"
def __init__(
self, token, host=None, api_prefix="/api/access-policy/", max_retries=3
):
assert token, "token must be provided"
if not host:
host = self.LD_SSO_SERVICE_API
assert host, f"environment variable $LD_SSO_SERVICE_API not set"
self.sso_url = urljoin(host, api_prefix)
if not self.sso_url.endswith("/"):
self.sso_url = self.sso_url + "/"
self.r = requests.Session()
self.r.mount("http://", HTTPAdapter(max_retries=max_retries))
self.r.mount("https://", HTTPAdapter(max_retries=max_retries))
self.r.headers = {
"Content-Type": "application/vnd.api+json",
"Authorization": token,
}
self.userinfo = self.get_userinfo(token)
def __handle_response(self, response: Response, success_code=200):
status_code = response.status_code
if status_code != success_code:
try:
error_message = response.json()["error_message"]
except:
error_message = response.text
abort(status_code, error_message)
def get_userinfo(self, token=None):
"""获取用户信息"""
url = urljoin(self.sso_url, self.URI_USERINFO)
headers = self.r.headers
if token:
headers = {**headers, "Authorization": token}
response = self.r.get(url, headers=headers)
self.__handle_response(response)
return response.json()
def judge_api(self, ld_project, api_url, method):
"""检测用户是否允许请求服务"""
url = urljoin(self.sso_url, self.URI_JUDGE)
headers = {**self.r.headers, "Ld-Project": quote(ld_project)}
params = {"url": api_url, "method": method}
response = self.r.get(url, params=params, headers=headers)
self.__handle_response(response)
res = response.json()
return res["effect"] == "allow", res
def judge_resource(self, action, resource):
"""检测用户是否允许请求数据"""
url = urljoin(self.sso_url, self.URI_JUDGE)
data = [{"action": action, "resource": resource}]
response = self.r.post(url, json=data)
self.__handle_response(response)
res = response.json()
return res["effect"] == "allow", res
def create_policy(
self,
name: str,
statements: list[dict[str, str]],
description: str = None,
version: str = None,
):
"""
创建policy声明
statements: [
{
"sid": "xxxxx",
"effect": "Allow",
"action": ["x"],
"resource": ["x"],
}
]
"""
url = urljoin(self.sso_url, self.URI_POLICY)
if description is None:
description = name
if version is None:
version = "v1"
assert statements, '"statements" must be provided'
data = {
"name": name,
"description": description,
"statements": {"Version": version, "Statement": statements},
}
response = self.r.post(url, json=data)
self.__handle_response(response)
return response.json()
@classmethod
def decorator_judge_api(
cls,
client_name: str = None,
api_url: str = None,
**sso_kwargs,
):
"""装饰器, 检测用户是否允许请求当前接口.
- 从被装饰函数的Request参数中解析method.
- 从环境变量LD_NAMESPACE中提取ld_project.
Args:
client_name (str, optional): 默认从环境变量LD_KEYCLOAK_CLIENT_ID中提取client_name.
api_url (str, optional): 应与action的apis中一致. 默认先从环境变量LD_URI_PREFIX取, 取不到再从pod的hostname中解析, 本地调试请手动传入该参数.
Returns:
装饰后,Request参数会追加ld_account,ld_roles,ld_userinfo属性
"""
if not api_url:
if cls.LD_URI_PREFIX:
api_url = cls.LD_URI_PREFIX
elif cls.LD_HOSTNAME.startswith("func-"):
api_url = f'/api/{"_".join(cls.LD_HOSTNAME.split("-")[:-2])}'
assert api_url, '"api_url" is required'
ld_namespace = cls.LD_NAMESPACE
assert ld_namespace, "ENV $LD_NAMESPACE is required"
func = None
if client_name and callable(client_name):
func = client_name
client_name = None
if not client_name:
client_name = cls.LD_KEYCLOAK_CLIENT_ID
assert client_name, f"ENV $LD_KEYCLOAK_CLIENT_ID is required"
def decorator(func):
def wrapper(*args, **kwargs):
req = None
for req in (*args, *kwargs.values()):
if isinstance(req, Request):
break
if getattr(req, "request", None) and isinstance(
req.request, Request
):
req = req.request
break
method = getattr(req, "method", None)
assert method, "decorated function must have a Request argument"
token = req.headers.get("Authorization")
assert token, "Authorization is required"
sso = cls(token=token, **sso_kwargs)
api_allowed, res = sso.judge_api(unquote(ld_namespace), api_url, method)
assert api_allowed, f"Deny. Sid: {res['sid']}"
account = sso.userinfo["preferred_username"]
all_roles = (
sso.userinfo["resource_access"]
.get(client_name, {})
.get("roles", [])
)
setattr(req, "ld_account", account)
setattr(req, "ld_roles", all_roles)
setattr(req, "ld_userinfo", sso.userinfo)
return func(*args, **kwargs)
return wrapper
if func and callable(func):
return decorator(func)
return decorator
@classmethod
def decorator_cors(cls, func):
"""装饰器. 修改view返回的Response的headers, 允许所有跨域请求"""
def wrapper(*args, **kwargs):
req = None
for req in (*args, *kwargs.values()):
if isinstance(req, Request):
break
if getattr(req, "request", None) and isinstance(req.request, Request):
req = req.request
break
assert req, "Decorated function must have a Request argument"
response_headers = {
"Access-Control-Allow-Origin": req.headers.get("Origin") or "*",
"Access-Control-Allow-Headers": "Ld-Client,Ld-Project,Content-Type,Content-Length,User-Agent,Authorization,Accept,X-Requested-With",
"Access-Control-Allow-Methods": "GET,POST,PUT,PATCH,DELETE,OPTIONS",
"Access-Control-Allow-Credentials": "true",
}
if req.method == "OPTIONS":
resp = make_response()
else:
try:
view_res = func(*args, **kwargs)
except HTTPException as e:
view_res = e.get_response()
except:
logging.exception("View has not catch error.")
view_res = "", 500
if isinstance(view_res, Response):
resp = view_res
else:
resp = make_response(view_res)
for h, v in response_headers.items():
resp.headers[h] = v
return resp
return wrapper
| (token, host=None, api_prefix='/api/access-policy/', max_retries=3) | [
-0.03237598016858101,
-0.05595367029309273,
-0.05105609819293022,
0.054566748440265656,
0.019644461572170258,
0.0028469841927289963,
-0.04650525748729706,
0.02834523655474186,
-0.02123725600540638,
0.00451562600210309,
0.00621948204934597,
0.02292756922543049,
0.030642326921224594,
-0.020782172679901123,
-0.0010198758682236075,
-0.01308908499777317,
0.057210568338632584,
0.016870616003870964,
0.018755964934825897,
-0.08204515278339386,
-0.0018758673686534166,
0.019676968455314636,
0.034998130053281784,
-0.0024731652811169624,
0.0016808313084766269,
0.02236413210630417,
-0.00505739264190197,
0.03003554791212082,
0.03861713409423828,
-0.004342260304838419,
-0.021822365000844002,
-0.007384280674159527,
0.014064264483749866,
0.024921270087361336,
0.015657059848308563,
-0.038638804107904434,
0.008278195746243,
-0.016480544582009315,
-0.1275968998670578,
-0.012525646947324276,
-0.05586698651313782,
0.011062877252697945,
0.016935627907514572,
-0.05283309146761894,
-0.0012772150803357363,
0.023837735876441002,
-0.03963565453886986,
0.09309719502925873,
0.020923031494021416,
-0.036471735686063766,
-0.01853925734758377,
-0.005293061025440693,
-0.0007232585921883583,
-0.036385055631399155,
0.02600480429828167,
0.015743741765618324,
-0.012709847651422024,
0.044294849038124084,
-0.006295329425483942,
0.002302508568391204,
-0.00021636809105984867,
0.021248091012239456,
-0.011702161282300949,
0.03967899829149246,
-0.012850707396864891,
0.03181254491209984,
-0.07311683893203735,
0.009822230786085129,
0.002995970193296671,
-0.011658820323646069,
0.028713637962937355,
-0.03959231451153755,
-0.0009772117482498288,
0.0027846810407936573,
0.04498831182718277,
-0.04594181850552559,
-0.02034875936806202,
-0.06925945729017258,
-0.011068294756114483,
-0.014844409190118313,
0.025614731013774872,
-0.06080789864063263,
-0.008083160035312176,
-0.013045743107795715,
0.06241152808070183,
-0.008662850596010685,
-0.012189751490950584,
-0.04253952577710152,
-0.009957673028111458,
0.047285400331020355,
-0.07203330844640732,
-0.004512916784733534,
-0.027738457545638084,
-0.005845663137733936,
-0.007086309138685465,
0.030880704522132874,
0.002958046505227685,
-0.012189751490950584,
0.015375340357422829,
0.008868721313774586,
0.0155487060546875,
0.02615649811923504,
-0.036883480846881866,
0.05378660187125206,
0.0424095019698143,
-0.03543154522776604,
-0.026763277128338814,
0.0090800104662776,
0.004713370464742184,
-0.0028171869926154613,
-0.05660378932952881,
-0.016534721478819847,
0.01865844614803791,
0.005742727313190699,
-0.01542951725423336,
0.008711609058082104,
-0.015169468708336353,
-0.01729319430887699,
-0.03720853850245476,
-0.001577895600348711,
0.0011167166521772742,
-0.029125379398465157,
0.028366906568408012,
-0.0017160461284220219,
0.05395996943116188,
0.04182439297437668,
-0.037273552268743515,
0.04045914113521576,
0.030815692618489265,
-0.0025571391452103853,
-0.017098158597946167,
0.010721564292907715,
0.002232078928500414,
0.03588663041591644,
0.045508407056331635,
-0.017704937607049942,
-0.025549719110131264,
-0.0016930210404098034,
-0.0343480110168457,
0.05049265921115875,
-0.009177528321743011,
0.002479937393218279,
-0.017098158597946167,
-0.029190393164753914,
-0.013522498309612274,
-0.03803202509880066,
0.00981681328266859,
-0.028410248458385468,
-0.0002810414880514145,
-0.04433818906545639,
0.049712516367435455,
-0.011322924867272377,
0.030707338824868202,
-0.009838484227657318,
-0.03777197748422623,
0.0035729517694562674,
-0.03616834804415703,
-0.04208444058895111,
0.0014410995645448565,
0.00633867084980011,
-0.035409875214099884,
-0.053569894284009933,
-0.006625807378441095,
-0.07719092816114426,
0.02038126438856125,
-0.022754203528165817,
0.03443469479680061,
-0.037121858447790146,
0.01646970957517624,
0.04126095399260521,
-0.020034534856677055,
0.020099546760320663,
-0.01993701606988907,
0.00020874949404969811,
-0.023404322564601898,
0.05135948583483696,
0.031704191118478775,
-0.027565091848373413,
-0.021573152393102646,
-0.03710018843412399,
-0.014963597059249878,
-0.047935523092746735,
-0.04754544794559479,
0.0034537629690021276,
-0.010580704547464848,
0.023924419656395912,
0.02011038176715374,
-0.00027630102704279125,
0.0018311715684831142,
0.09786474704742432,
-0.06839263439178467,
0.015331998467445374,
0.06501200795173645,
-0.018268374726176262,
-0.02349100634455681,
-0.010185214690864086,
-0.011799680069088936,
0.011669655330479145,
0.04490162804722786,
-0.050275955349206924,
-0.013273285701870918,
0.07307349890470505,
0.007210915442556143,
0.015765411779284477,
0.036883480846881866,
0.02292756922543049,
-0.022071577608585358,
0.00008795244502834976,
-0.0662689059972763,
-0.022515825927257538,
-0.01353333331644535,
0.03207259252667427,
-0.04232281818985939,
0.00593776348978281,
0.0011939185205847025,
-0.000050748305511660874,
0.01842006854712963,
0.02511630579829216,
0.019503602758049965,
-0.015234480611979961,
0.0597677081823349,
-0.020457113161683083,
-0.04771881550550461,
-0.01874512992799282,
-0.005512476433068514,
0.033394500613212585,
0.07238003611564636,
0.005382452625781298,
0.03059898503124714,
-0.03439135476946831,
-0.0004787863581441343,
-0.010607792995870113,
0.05452340468764305,
0.027153348550200462,
-0.005312022753059864,
-0.056430425494909286,
0.0234259944409132,
0.0363200418651104,
-0.020836349576711655,
-0.008939151652157307,
0.029298745095729828,
-0.006642060354351997,
0.059724364429712296,
-0.004418107680976391,
-0.06050451099872589,
0.045335039496421814,
-0.008700774051249027,
0.03883384168148041,
0.002995970193296671,
-0.03835708647966385,
-0.032896075397729874,
-0.014584360644221306,
-0.010163543745875359,
-0.027110008522868156,
-0.0323326401412487,
-0.08230520039796829,
0.009405070915818214,
0.009854736737906933,
0.0315091535449028,
-0.031530823558568954,
-0.009264211170375347,
0.008852468803524971,
-0.04375308379530907,
0.011572137475013733,
-0.032917749136686325,
0.0017119828844442964,
0.0327010415494442,
-0.013338297605514526,
0.009703041985630989,
-0.0270666666328907,
0.04149933159351349,
0.05179290100932121,
-0.0205871369689703,
-0.029017027467489243,
-0.028215212747454643,
-0.0023011541925370693,
0.020923031494021416,
0.005089898593723774,
-0.04069751873612404,
-0.03720853850245476,
0.03681846708059311,
-0.024184467270970345,
0.01243896409869194,
0.05404664948582649,
-0.029818842187523842,
-0.04468492045998573,
-0.012731518596410751,
0.018192527815699577,
0.00542037608101964,
-0.01324077881872654,
-0.010667387396097183,
0.001596857444383204,
0.03948396071791649,
-0.0047242059372365475,
0.010591539554297924,
0.023794395849108696,
-0.014822738245129585,
-0.016122978180646896,
0.028171870857477188,
-0.02294923923909664,
0.005699386354535818,
0.045335039496421814,
0.08048486709594727,
-0.05309314280748367,
0.06509869545698166,
-0.07658414542675018,
0.04637523368000984,
-0.03322113677859306,
-0.013500827364623547,
0.034369681030511856,
0.006999626290053129,
-0.010938270948827267,
0.013793380931019783,
-0.018831811845302582,
-0.027521749958395958,
-0.014725220389664173,
-0.004862356465309858,
0.029493780806660652,
0.03634171187877655,
0.08005145192146301,
-0.022819215431809425,
0.02763010375201702,
-0.004962583538144827,
0.0207930076867342,
0.08182845264673233,
-0.03642839565873146,
0.092057004570961,
0.026048144325613976,
0.013197437860071659,
0.01035316288471222,
-0.06566213071346283,
-0.030403949320316315,
-0.05829410254955292,
-0.009063757956027985,
-0.002377001568675041,
-0.007590152323246002,
-0.021963223814964294,
-0.047285400331020355,
0.0022225980646908283,
-0.022494155913591385,
-0.0045047905296087265,
-0.0524863637983799,
-0.037836991250514984,
0.05985438823699951,
-0.05040597915649414,
-0.046635281294584274,
0.08195847272872925,
0.01773744262754917,
0.03384958580136299,
-0.03538820520043373,
-0.016957299783825874,
-0.002047878224402666,
0.06882604956626892,
0.03402295336127281,
0.10531945526599884,
-0.05517352372407913,
-0.016686415299773216,
-0.035019803792238235,
-0.02173568122088909,
-0.02632986381649971,
0.038097038865089417,
-0.03764195367693901,
-0.02479124628007412,
0.07784104347229004,
-0.024682892486453056,
-0.014887750148773193,
0.03213760256767273,
-0.07987809181213379,
0.07485049217939377,
-0.03426132723689079,
-0.025333013385534286,
-0.04966917634010315,
-0.008549079298973083,
-0.009638030081987381,
0.012590658850967884,
0.03426132723689079,
0.0018379436805844307,
-0.018972670659422874,
-0.0896298885345459,
0.07146986573934555,
0.01578708365559578,
0.025333013385534286,
0.022710861638188362,
0.022559167817234993,
0.05630040168762207,
-0.05192292481660843,
-0.011615479364991188,
-0.00891206320375204,
0.01203805673867464,
0.014551854692399502,
0.05075271055102348,
-0.018084174022078514,
0.028865331783890724,
0.007416786625981331,
-0.03378457576036453,
-0.027110008522868156,
-0.053266506642103195,
0.019893674179911613,
0.004372057504951954,
-0.03560490906238556,
0.04715537652373314,
-0.012243928387761116,
0.09153690934181213,
-0.0013611889444291592,
-0.008034400641918182,
-0.000157197006046772,
0.058944221585989,
0.009182946756482124,
-0.019471097737550735,
0.07857784628868103,
-0.052139632403850555,
-0.06509869545698166,
-0.005238884594291449,
-0.0009616359602659941,
0.01934107206761837,
0.004767547361552715,
-0.02292756922543049,
0.10280565917491913,
0.005130531266331673,
0.034608058631420135,
0.032506003975868225,
-0.025809768587350845,
0.04715537652373314,
0.050839390605688095,
-0.08447226881980896,
0.027175020426511765,
-0.02022957056760788,
0.01296989619731903,
-0.04529169946908951,
-0.030143901705741882,
0.04797886312007904,
0.03870381787419319,
-0.04305962100625038,
-0.06007109582424164,
-0.00045779289212077856,
0.009865572676062584,
-0.054783452302217484,
0.02906036749482155,
0.02528967149555683,
-0.021226420998573303,
0.010851588100194931,
0.03231097012758255,
-0.011409607715904713,
0.011745503172278404,
0.04392644762992859,
0.0351281575858593,
-0.04815222695469856,
0.037338562309741974,
0.0637984499335289,
-0.05508684366941452,
0.008326955139636993,
0.05283309146761894,
0.00896082166582346,
0.04069751873612404,
-0.08247856795787811,
-0.012048892676830292,
0.015321163460612297,
-0.030338937416672707,
-0.016242166981101036,
0.004640232305973768,
0.01421595923602581,
-0.04011240974068642,
0.03675345703959465,
0.02932041697204113,
0.0076768347062170506,
0.03454304859042168,
0.04576845467090607,
0.0347164124250412,
-0.035994984209537506,
-0.03616834804415703,
-0.034044623374938965,
-0.04110926017165184,
-0.02979717031121254,
-0.01377171091735363,
0.02567974291741848,
0.014931091107428074,
0.030815692618489265,
-0.020749665796756744,
-0.01954694464802742,
0.023295970633625984,
0.0036623431369662285,
-0.01652388647198677,
0.00799647718667984,
-0.011973044835031033,
0.0023946089204400778,
-0.06046116724610329,
0.019622791558504105,
-0.025051293894648552,
0.006132799666374922,
-0.027413398027420044,
0.011452948674559593,
0.03811870887875557,
-0.015082785859704018,
-0.003946770913898945,
-0.022992581129074097,
0.0395706444978714,
-0.005141366273164749,
-0.018582599237561226,
0.010694475844502449,
-0.038963865488767624,
-0.022472484037280083,
-0.0408058725297451,
-0.007606405299156904,
0.02197405882179737,
0.054566748440265656,
0.013110755011439323,
-0.07324686646461487,
-0.0047729648649692535,
-0.012904884293675423,
-0.008001894690096378,
-0.0452483594417572,
0.022884227335453033,
0.041304297745227814,
-0.01183218602091074,
-0.04771881550550461,
0.00949175376445055,
-0.02440117485821247,
0.06210814043879509,
-0.0517062172293663,
-0.026633253321051598,
0.07814443856477737,
0.009204616770148277,
0.025137977674603462,
0.0007131004822440445,
-0.017542406916618347,
0.051229462027549744,
0.03155249357223511,
-0.020413771271705627,
0.007481798529624939,
0.0597677081823349,
-0.058597490191459656,
-0.005149492993950844,
-0.03332949057221413,
0.008305284194648266,
0.027911823242902756,
0.02940709888935089,
-0.09093013405799866,
-0.032506003975868225,
0.023079263046383858,
0.010683639906346798,
0.03584328666329384,
0.036471735686063766,
-0.06202145665884018,
-0.0278684813529253,
-0.05369991809129715,
-0.038963865488767624,
-0.013435815460979939,
0.007449292577803135,
-0.0018596143927425146,
-0.03179087117314339,
0.012308940291404724,
0.01696813479065895,
0.07385364174842834,
-0.017867466434836388,
-0.03772863745689392,
0.008944569155573845,
0.0319208949804306,
-0.03326447680592537,
0.004846103489398956,
-0.0026424673851579428,
-0.01652388647198677,
-0.020132051780819893,
-0.04141265153884888,
-0.04966917634010315,
-0.06912943720817566,
-0.0022307245526462793,
0.04919242113828659,
0.059074245393276215,
-0.025224659591913223,
-0.003315612440928817,
-0.00014627701602876186,
-0.03684013709425926,
0.01881014183163643,
0.009789724834263325,
-0.06072121858596802,
0.02431449107825756,
0.01590627245604992,
0.016090473160147667,
0.047372084110975266,
0.009448411874473095,
0.049799200147390366,
0.014465171843767166,
-0.02268919162452221,
-0.08312869071960449,
-0.005970269441604614,
0.02940709888935089,
0.023556018248200417,
0.04201943054795265,
0.0661822259426117,
-0.002944502281025052,
-0.09474416822195053,
0.03135745972394943,
-0.03731689229607582,
-0.029190393164753914,
0.003811329137533903,
0.10263229161500931,
-0.04620186984539032,
0.0035973312333226204,
0.007248838897794485,
0.03237598016858101,
-0.012720683589577675,
0.036861810833215714,
-0.02955879271030426,
-0.058034054934978485,
0.0074547105468809605,
0.02617816999554634,
-0.014909421093761921,
-0.03272271156311035,
-0.00873869750648737,
-0.033871255815029144,
-0.00002962786857096944,
0.006105711217969656,
0.029190393164753914,
-0.003898011753335595,
-0.01243896409869194,
0.02916872128844261,
-0.06124131381511688,
0.04832559451460838,
0.05686383694410324,
-0.06605219841003418,
0.02802017517387867,
-0.017878303304314613,
-0.01223309338092804,
0.020121216773986816,
-0.06973621249198914,
0.010131037794053555,
0.051662877202034,
-0.022559167817234993,
-0.03619001805782318,
0.007525139953941107,
0.01381505187600851,
0.04490162804722786,
0.011496290564537048,
-0.017845796421170235,
0.05968102440237999,
0.05066602677106857,
0.04225780442357063,
-0.01794331520795822,
0.02552804909646511,
0.00798022374510765,
0.028236882761120796,
-0.007806858979165554,
0.017574913799762726,
0.006744996178895235,
-0.0484556183218956,
0.0613713376224041,
-0.013132425956428051,
-0.024769576266407967,
0.08616258203983307,
-0.03059898503124714,
-0.06423186510801315,
0.08252190798521042,
0.02849693037569523,
-0.010591539554297924,
-0.0322892963886261,
-0.02754342183470726,
-0.025007953867316246,
-0.01255815289914608,
0.03762028366327286,
-0.016816439107060432,
0.01821419782936573,
-0.016924792900681496,
0.06600885838270187,
-0.042604535818099976,
-0.043579716235399246,
-0.03623335808515549,
0.000709037238266319,
-0.058770857751369476,
0.07905460149049759,
0.0500592477619648,
0.038573794066905975,
-0.04815222695469856,
0.026936642825603485,
0.05231299623847008,
0.036623433232307434,
-0.04719872027635574,
0.051576193422079086,
-0.06353840231895447,
0.01821419782936573,
0.008906645700335503,
-0.02440117485821247,
0.032029248774051666,
-0.0020519415847957134,
-0.02014288678765297,
-0.018961835652589798,
-0.014107606373727322,
0.06089458242058754,
-0.025051293894648552,
-0.05200960859656334,
-0.03562658280134201,
-0.019611956551671028,
-0.033394500613212585,
0.038552120327949524,
-0.0010415465803816915,
-0.02084718458354473,
-0.027023324742913246,
-0.051316145807504654,
0.007389698177576065,
0.0033779155928641558,
0.0670490488409996,
0.013392473571002483,
-0.03300442919135094,
0.004412690177559853,
0.013945075683295727,
0.0005820606602355838,
0.042279478162527084,
0.019741980358958244,
-0.06631224602460861,
0.027521749958395958,
-0.04997256398200989,
0.0197853222489357,
0.06119797006249428,
0.12213589251041412,
-0.03406629338860512,
0.0117129972204566,
-0.0075034694746136665,
-0.07055970281362534,
0.014161782339215279,
0.0375552698969841,
-0.0035269015934318304,
0.00579690421000123,
0.021930716931819916,
0.06280159950256348,
0.0000196496257558465,
0.03592997044324875,
-0.028648626059293747,
-0.010109367780387402,
0.009307553060352802,
0.011214572004973888,
-0.011014117859303951,
-0.011647985316812992,
0.04362305998802185,
-0.07407034933567047,
0.0068641845136880875,
-0.005187416449189186,
-0.08529575914144516,
0.0009839838603511453,
0.018322551622986794,
-0.029017027467489243,
0.04988588020205498,
-0.01445433683693409,
-0.037121858447790146,
-0.04247451201081276,
-0.003881758777424693,
0.009849319234490395,
0.04732874408364296,
0.023772723972797394,
-0.03261435776948929,
0.03397960960865021,
0.03575660660862923,
0.06488198786973953,
0.018225032836198807,
-0.036861810833215714,
-0.022320790216326714,
-0.012568988837301731,
-0.02778179943561554,
-0.008830797858536243,
0.045118335634469986,
0.04810888692736626,
0.016458874568343163,
-0.01461686659604311,
0.005030304193496704,
-0.021876541897654533,
0.006940031889826059,
0.050275955349206924,
0.029363756999373436,
0.0017864758847281337,
0.016632238402962685
] |
21,563 | ldsso.ld_sso | __handle_response | null | def __handle_response(self, response: Response, success_code=200):
status_code = response.status_code
if status_code != success_code:
try:
error_message = response.json()["error_message"]
except:
error_message = response.text
abort(status_code, error_message)
| (self, response: flask.wrappers.Response, success_code=200) | [
0.006984379608184099,
-0.00296387798152864,
-0.0190289206802845,
0.0024234489537775517,
0.002175045432522893,
-0.03623540699481964,
-0.03057423233985901,
0.10477054119110107,
0.01729373075067997,
-0.015529460273683071,
0.060217857360839844,
0.012931523844599724,
0.026115085929632187,
-0.06510353088378906,
-0.0027506144251674414,
-0.041218020021915436,
0.03509154170751572,
0.004987457767128944,
0.030845658853650093,
-0.04532818868756294,
-0.000604044646024704,
0.001979957800358534,
-0.021772265434265137,
0.0599852092564106,
-0.0401323139667511,
0.0223345048725605,
0.004553660750389099,
0.005142558831721544,
0.05769747123122215,
-0.011370822787284851,
-0.015393747948110104,
-0.016353433951735497,
0.004716031718999147,
0.06998920440673828,
-0.037418052554130554,
0.010992764495313168,
-0.06584025919437408,
-0.014986608177423477,
-0.05114446580410004,
0.013803965412080288,
-0.06820555031299591,
-0.005031079985201359,
-0.04897305741906166,
0.013086624443531036,
0.025087542831897736,
0.018631475046277046,
-0.08949312567710876,
0.0048565915785729885,
-0.04699552059173584,
0.04063639044761658,
-0.03842620551586151,
0.005006845574826002,
0.0007633864297531545,
-0.019988607615232468,
0.01514170877635479,
0.057891346514225006,
0.011351434513926506,
0.02279980666935444,
-0.04559961333870888,
-0.06425047665834427,
-0.08499520272016525,
0.016605472192168236,
-0.07700750976800919,
-0.027956906706094742,
0.047383274883031845,
-0.014812120236456394,
0.019988607615232468,
-0.008724416606128216,
-0.01185551192611456,
0.007774424273520708,
0.0004019895859528333,
0.04269147664308548,
-0.035052765160799026,
0.02619263529777527,
0.07700750976800919,
-0.033366043120622635,
-0.022276341915130615,
0.03134973719716072,
0.012689178809523582,
0.023303885012865067,
0.04125679284334183,
-0.022121241316199303,
0.0438547320663929,
0.009655020199716091,
-0.004398559685796499,
-0.029934441670775414,
0.044901661574840546,
-0.029023224487900734,
-0.03458746150135994,
0.03904660791158676,
-0.008942526765167713,
-0.049748558551073074,
-0.015955988317728043,
-0.023807961493730545,
0.00394052779302001,
0.0359833687543869,
0.022160017862915993,
-0.05428525432944298,
0.024331428110599518,
-0.04439758509397507,
0.011894287541508675,
0.06549128144979477,
0.0426139272749424,
-0.012020306661725044,
0.05083426460623741,
0.021442675963044167,
0.03619663417339325,
-0.07049328088760376,
0.05191997066140175,
0.020221257582306862,
-0.007338203489780426,
-0.04598736763000488,
-0.006194335408508778,
0.011574392206966877,
-0.03119463473558426,
-0.04746082425117493,
-0.007081317715346813,
0.000926363340113312,
-0.04641389474272728,
-0.029973216354846954,
0.041683319956064224,
-0.04098536819219589,
-0.012902442365884781,
-0.06339742243289948,
0.01667332835495472,
0.019755955785512924,
0.002093859948217869,
-0.026464061811566353,
-0.0064512211829423904,
0.06541373580694199,
-0.03235789015889168,
0.018437599763274193,
-0.0039259870536625385,
-0.016702409833669662,
-0.06463822722434998,
0.032900743186473846,
-0.027317116037011147,
0.03160177543759346,
0.025669170543551445,
-0.05556483566761017,
0.06428924947977066,
0.01952330395579338,
0.009029770269989967,
-0.02113247476518154,
0.01956208050251007,
0.03974456340074539,
0.023846738040447235,
-0.03408338502049446,
0.025300806388258934,
-0.024215102195739746,
0.011312659829854965,
-0.041799645870923996,
0.05754237249493599,
0.0140656977891922,
-0.059713780879974365,
0.02871302329003811,
-0.0426139272749424,
-0.06238926947116852,
-0.014472836628556252,
0.014715181663632393,
0.015354972332715988,
-0.061691317707300186,
0.052850574254989624,
-0.04629756882786751,
0.03693336248397827,
-0.02217940427362919,
0.012039694003760815,
0.028906898573040962,
0.0068777478300035,
-0.04284657537937164,
-0.024021225050091743,
0.019581466913223267,
-0.03656499832868576,
-0.0022683481220155954,
-0.01092490740120411,
0.044126156717538834,
0.06560760736465454,
-0.009853743016719818,
-0.007532079238444567,
-0.008045850321650505,
0.021617164835333824,
-0.016266189515590668,
-0.01894167624413967,
0.10368484258651733,
0.04199352487921715,
0.01711924374103546,
0.011225415393710136,
0.015587623231112957,
0.04160577058792114,
0.0575035959482193,
0.025591621175408363,
-0.003829049412161112,
-0.008612937293946743,
-0.0022247261367738247,
0.02473856694996357,
0.03233850374817848,
0.03761192783713341,
-0.023439597338438034,
0.05521586164832115,
-0.04703429713845253,
-0.026774263009428978,
0.005263730883598328,
-0.005200721323490143,
0.04032618924975395,
-0.006795350927859545,
0.06475455313920975,
-0.02502937987446785,
0.02113247476518154,
-0.03334665670990944,
0.0029808422550559044,
-0.06921370327472687,
-0.011419291608035564,
-0.0173712819814682,
0.026464061811566353,
0.043660856783390045,
-0.0058841342106461525,
-0.01466671284288168,
-0.02371102385222912,
0.03623540699481964,
-0.020744722336530685,
-0.009679255075752735,
-0.04005476459860802,
-0.013581007719039917,
-0.0155100729316473,
0.04435880854725838,
0.04528941214084625,
0.010498381219804287,
0.025203868746757507,
-0.012388670817017555,
0.044785335659980774,
-0.08049727976322174,
0.0347425639629364,
0.00228531239554286,
-0.04804245010018349,
-0.010256036184728146,
-0.025281419977545738,
0.039938438683748245,
-0.07347897440195084,
-0.053470976650714874,
0.00021553548867814243,
0.025921210646629333,
-0.07336264848709106,
-0.008908598683774471,
0.03425787389278412,
-0.044281259179115295,
-0.011545310728251934,
-0.030167091637849808,
0.07914014905691147,
-0.05432403087615967,
-0.009073392488062382,
-0.024680403992533684,
-0.013571313582360744,
0.0014540693955495954,
-0.05331587791442871,
0.04955468326807022,
-0.04587104171514511,
-0.016082007437944412,
-0.034936439245939255,
0.03728233650326729,
0.026367124170064926,
0.027045689523220062,
-0.00441552372649312,
-0.009049158543348312,
0.004497921094298363,
0.009814968332648277,
-0.03324972093105316,
0.024680403992533684,
0.05692197009921074,
0.07297489047050476,
0.03540174290537834,
0.14238247275352478,
-0.004367054905742407,
-0.005656329914927483,
0.0192324910312891,
-0.02448652870953083,
0.057309720665216446,
0.04335065558552742,
-0.010168791748583317,
-0.0007858033059164882,
-0.006199182476848364,
0.004226495046168566,
-0.033986449241638184,
0.014821813441812992,
-0.021520227193832397,
-0.0018139515304937959,
0.03772825375199318,
0.0752626284956932,
-0.026076311245560646,
-0.001852726680226624,
-0.0073236627504229546,
0.027084466069936752,
0.0071297865360975266,
0.012747341766953468,
0.02725895307958126,
-0.023885512724518776,
-0.008535386994481087,
-0.037127237766981125,
0.015694255009293556,
0.0048565915785729885,
0.0006955298595130444,
-0.004875979386270046,
0.031097697094082832,
0.08421969413757324,
-0.015548848547041416,
-0.01116725243628025,
-0.03549867868423462,
0.046142466366291046,
0.03673948720097542,
-0.008094319142401218,
-0.02933342568576336,
0.015665173530578613,
0.023885512724518776,
-0.0368170365691185,
0.0040398892015218735,
-0.019969219341874123,
0.07204429060220718,
0.08538295328617096,
-0.005729033146053553,
-0.04765469953417778,
0.03355992212891579,
0.0007906501996330917,
-0.04338942840695381,
0.0015813003992661834,
0.06017908453941345,
0.05133834108710289,
-0.022722257301211357,
0.011080008931457996,
0.006489996332675219,
0.04761592298746109,
-0.009553235955536366,
0.036875199526548386,
-0.030457906424999237,
-0.059713780879974365,
-0.06045050919055939,
0.03400583565235138,
-0.03935680910944939,
0.02415693923830986,
-0.01613047532737255,
-0.04152822121977806,
-0.01891259476542473,
-0.06510353088378906,
-0.022412056103348732,
0.05153221637010574,
0.02601814828813076,
-0.009155790321528912,
-0.008200950920581818,
-0.027414053678512573,
-0.0050553143955767155,
0.017477912828326225,
-0.018011072650551796,
-0.0715402141213417,
0.0426139272749424,
0.009805274195969105,
0.04160577058792114,
0.03036096878349781,
-0.048546530306339264,
-0.023226333782076836,
-0.011467760428786278,
-0.01233050785958767,
0.05490566045045853,
-0.006940757855772972,
-0.03885273262858391,
-0.044669009745121,
0.029546689242124557,
-0.02382734976708889,
-0.03257115185260773,
-0.04474656283855438,
-0.031911976635456085,
-0.005481841508299112,
0.012262651696801186,
-0.002975995186716318,
-0.011186640709638596,
-0.040520064532756805,
-0.017303425818681717,
0.04885673150420189,
0.012727953493595123,
-0.028596697375178337,
0.00949507299810648,
-0.05405260622501373,
0.05401382967829704,
0.060877036303281784,
-0.040520064532756805,
-0.01443406194448471,
-0.031039534136652946,
0.017962602898478508,
-0.020453909412026405,
-0.006969839334487915,
-0.03495582565665245,
-0.07375039905309677,
0.022819194942712784,
0.010033078491687775,
-0.016479453071951866,
0.027355890721082687,
0.023652860894799232,
0.016905980184674263,
-0.007013461086899042,
-0.06898105144500732,
-0.008942526765167713,
0.002437989693135023,
0.05060161277651787,
-0.00800222810357809,
0.05153221637010574,
-0.10934601724147797,
0.008734109811484814,
0.039938438683748245,
0.04389350861310959,
-0.009029770269989967,
0.023594697937369347,
-0.025455906987190247,
-0.0036254795268177986,
0.01576211117208004,
-0.007905290462076664,
0.022644706070423126,
-0.013464681804180145,
-0.017894746735692024,
0.11198272556066513,
-0.01886412687599659,
0.043040454387664795,
-0.007701720576733351,
-0.008278501220047474,
0.032532379031181335,
0.03408338502049446,
0.047964900732040405,
-0.03247421607375145,
-0.029352813959121704,
0.002410119865089655,
-0.006819585338234901,
0.0043355501256883144,
0.038368042558431625,
-0.0368170365691185,
0.0011226626811549067,
-0.03379257023334503,
-0.06498720496892929,
-0.0666157677769661,
0.005336434580385685,
0.007658098824322224,
-0.046220019459724426,
-0.0035479292273521423,
-0.027937518432736397,
0.01311570592224598,
0.0330946184694767,
0.03945374861359596,
-0.002302276436239481,
0.02113247476518154,
0.0723932683467865,
0.0009857378900051117,
0.00798768736422062,
-0.015500379726290703,
0.0018309156876057386,
-0.039938438683748245,
-0.015868743881583214,
0.008501458913087845,
-0.012282039038836956,
-0.02378857508301735,
0.03354053199291229,
-0.011632555164396763,
-0.07138510793447495,
-0.012834585271775723,
-0.028887510299682617,
0.03757315129041672,
-0.0058889808133244514,
0.034645624458789825,
-0.02597937174141407,
-0.018854431807994843,
0.039860889315605164,
0.03885273262858391,
0.043583303689956665,
0.024234488606452942,
-0.025455906987190247,
0.013765189796686172,
-0.05095059052109718,
-0.06770146638154984,
0.014744263142347336,
0.041877198964357376,
0.024253876879811287,
-0.01549068558961153,
0.02995382808148861,
-0.026328349485993385,
-0.017196793109178543,
0.03499460220336914,
0.029023224487900734,
0.04653022065758705,
0.03251299262046814,
-0.052230171859264374,
0.001777599798515439,
-0.06394027918577194,
0.07506875693798065,
0.012902442365884781,
0.001246864441782236,
-0.003630326595157385,
0.03757315129041672,
-0.044824112206697464,
-0.01456008106470108,
-0.0397057868540287,
-0.014967220835387707,
-0.046762868762016296,
-0.03935680910944939,
0.017565157264471054,
-0.00893283262848854,
-0.0512995682656765,
-0.0006337318918667734,
-0.10376238822937012,
-0.007343050092458725,
-0.024467140436172485,
0.04998121038079262,
0.0017206487245857716,
0.06839942187070847,
0.07328509539365768,
0.0007482398650608957,
0.013871821574866772,
-0.04532818868756294,
0.05746481940150261,
0.019823811948299408,
-0.030768107622861862,
0.0046021295711398125,
0.04812000319361687,
-0.009805274195969105,
-0.012262651696801186,
0.020744722336530685,
0.09197473526000977,
0.01362947653979063,
-0.032861966639757156,
0.022315118461847305,
0.014821813441812992,
0.0006391846691258252,
-0.02473856694996357,
0.023517148569226265,
-0.01899014599621296,
0.023963062092661858,
-0.006063469219952822,
-0.032377276569604874,
0.00411501619964838,
0.035925205796957016,
-0.021229412406682968,
0.022896746173501015,
-0.021403901278972626,
-0.0827462375164032,
-0.04463023692369461,
-0.03330788388848305,
0.003002653131261468,
-0.020531458780169487,
-0.013842740096151829,
-0.07169531285762787,
-0.01596568152308464,
-0.06917492300271988,
-0.01278611645102501,
-0.04908938333392143,
0.0009645326645113528,
-0.030089542269706726,
0.04269147664308548,
-0.019135553389787674,
-0.02652222476899624,
0.09461144357919693,
0.0026779109612107277,
-0.08251358568668365,
0.04843020439147949,
-0.009592010639607906,
0.009209105744957924,
0.044785335659980774,
0.00856446847319603,
-0.012311120517551899,
0.003421909874305129,
-0.00823003239929676,
-0.02217940427362919,
-0.014259573072195053,
0.03573133051395416,
-0.008622631430625916,
0.028693635016679764,
-0.02805384434759617,
-0.01588813029229641,
-0.002740920754149556,
-0.006179794669151306,
-0.03167932480573654,
-0.03334665670990944,
-0.0033661704510450363,
0.0019254301441833377,
0.008511153049767017,
-0.011302965693175793,
0.0085838558152318,
0.06929124891757965,
-0.023381434381008148,
-0.032125238329172134,
-0.0017933521885424852,
0.002881480846554041,
-0.049903661012649536,
-0.000058049176004715264,
-0.03167932480573654,
-0.033656857907772064,
0.03949252516031265,
-0.001503750099800527,
-0.04129556939005852,
-0.00821064505726099,
0.029721178114414215,
-0.08623600751161575,
0.03193136304616928,
0.07223816215991974,
0.01393967866897583,
-0.04501798748970032,
-0.048468977212905884,
0.023691637441515923,
0.07433202862739563,
0.06859330087900162,
-0.011060620658099651,
-0.011845818720757961,
0.06421170383691788,
0.005006845574826002,
-0.032532379031181335,
-0.022412056103348732,
-0.0512995682656765,
0.0012208124389871955,
-0.019436059519648552,
-0.03098137117922306,
0.007464222609996796,
-0.03198952600359917,
-0.060217857360839844,
0.0299926046282053,
0.015558541752398014,
0.006795350927859545,
0.00293722003698349,
0.022237567231059074,
0.03582827001810074,
-0.033114004880189896,
-0.04435880854725838,
0.03673948720097542,
-0.011894287541508675,
0.006150713190436363,
0.06444435566663742,
0.009194565005600452,
-0.08460745215415955,
0.020957985892891884,
-0.030438518151640892,
0.029643626883625984,
0.021248800680041313,
-0.052268944680690765,
0.011516229249536991,
0.007289734203368425,
-0.007992534898221493,
-0.03181503713130951,
0.012030000798404217,
0.03757315129041672,
0.0372241772711277,
-0.05405260622501373,
-0.0637076273560524,
-0.002542197937145829,
-0.005729033146053553,
0.04528941214084625,
0.003732111304998398,
0.012466221116483212,
0.03053545579314232,
-0.04901183024048805,
0.01361008919775486,
0.03136912360787392,
-0.0475771501660347,
0.01654730923473835,
-0.05397505313158035,
0.03528541699051857,
0.00045076149399392307,
0.048003677278757095,
0.0028184710536152124,
0.01704169251024723,
-0.0012141478946432471,
-0.029721178114414215,
0.019503917545080185,
-0.013968759216368198,
0.017943216487765312,
-0.006698412820696831,
0.02386612445116043,
-0.050407737493515015,
0.044203709810972214,
-0.030205868184566498,
0.009272115305066109,
0.0017666942439973354,
0.01112847775220871,
0.02371102385222912,
0.002825741423293948,
0.0067614223808050156,
-0.012611628510057926,
0.006373670883476734,
-0.001144473790191114,
0.03152422234416008,
0.0034994601737707853,
0.06479333341121674,
-0.05188119411468506,
-0.00003231896334909834,
0.04901183024048805,
-0.003976879641413689,
0.010488687083125114,
0.020376358181238174,
-0.009044311009347439,
-0.0032740794122219086,
-0.025378357619047165,
-0.03292012959718704,
-0.06479333341121674,
0.01952330395579338,
-0.07095858454704285,
0.0028427056968212128,
-0.028073232620954514,
-0.05122201517224312,
-0.05060161277651787,
0.06611168384552002,
0.039570074528455734,
-0.06886472553014755,
-0.027452830225229263,
0.025882434099912643,
-0.0021968565415591,
-0.019581466913223267,
-0.02291613258421421,
-0.02357531152665615,
-0.014589162543416023,
-0.005384903401136398,
-0.011516229249536991,
-0.011409597471356392,
-0.0016321928706020117,
0.008957067504525185,
-0.05203629657626152,
0.04703429713845253,
0.007076470647007227,
0.01007185410708189,
0.06258314847946167,
-0.006814738269895315,
-0.06374640017747879,
-0.03419971093535423,
0.041062917560338974,
0.0678177922964096,
-0.0262701865285635,
-0.03239666670560837,
0.01866055652499199,
-0.04742204770445824,
0.04563838988542557,
0.016828428953886032,
-0.01866055652499199,
-0.03728233650326729,
-0.07979932427406311,
0.010876438580453396,
-0.01596568152308464,
-0.0037611927837133408,
-0.023517148569226265,
0.05381995439529419,
0.03524664044380188,
0.06017908453941345,
0.04831387847661972,
-0.03582827001810074,
0.0204732958227396,
-0.05017508566379547,
0.02912016212940216,
0.02374980039894581,
0.004088358487933874,
0.01067286916077137,
-0.011157559230923653,
0.02349776029586792,
0.012970298528671265,
-0.04203229770064354,
0.0011105454759672284,
0.03757315129041672,
0.002457377268001437,
0.017148325219750404,
-0.020744722336530685,
0.022160017862915993,
-0.008695335127413273,
0.04773224890232086,
0.011894287541508675,
0.08421969413757324,
-0.023594697937369347,
0.0051522525027394295,
0.048507753759622574,
0.06630556285381317,
0.013891208916902542,
0.030108928680419922
] |
21,564 | ldsso.ld_sso | __init__ | null | def __init__(
self, token, host=None, api_prefix="/api/access-policy/", max_retries=3
):
assert token, "token must be provided"
if not host:
host = self.LD_SSO_SERVICE_API
assert host, f"environment variable $LD_SSO_SERVICE_API not set"
self.sso_url = urljoin(host, api_prefix)
if not self.sso_url.endswith("/"):
self.sso_url = self.sso_url + "/"
self.r = requests.Session()
self.r.mount("http://", HTTPAdapter(max_retries=max_retries))
self.r.mount("https://", HTTPAdapter(max_retries=max_retries))
self.r.headers = {
"Content-Type": "application/vnd.api+json",
"Authorization": token,
}
self.userinfo = self.get_userinfo(token)
| (self, token, host=None, api_prefix='/api/access-policy/', max_retries=3) | [
-0.020985258743166924,
-0.02083277702331543,
-0.04155119135975838,
0.06895972788333893,
0.019555743783712387,
0.003287880914285779,
-0.014628687873482704,
0.04368593171238899,
-0.03173520043492317,
0.03005790337920189,
0.031792379915714264,
0.036061860620975494,
0.041169989854097366,
-0.020966198295354843,
0.005756174214184284,
0.018917229026556015,
0.04441021755337715,
0.004152736626565456,
-0.02199544757604599,
-0.02891429327428341,
0.00868191197514534,
0.05824790894985199,
-0.021137738600373268,
0.039950136095285416,
0.005617987830191851,
0.050356995314359665,
-0.035642534494400024,
0.031430236995220184,
0.03865404427051544,
-0.025540640577673912,
-0.0013949668500572443,
0.01274173054844141,
0.023005636408925056,
0.086380735039711,
0.05172932893037796,
-0.033069413155317307,
-0.008324533700942993,
-0.0078909145668149,
-0.17855575680732727,
0.01350413728505373,
-0.022147929295897484,
-0.021919207647442818,
0.03743419423699379,
-0.013437426649034023,
0.034842006862163544,
0.04254231974482536,
0.042999766767024994,
0.06613882631063461,
0.02510225586593151,
-0.04627811536192894,
-0.05786670744419098,
0.025959964841604233,
-0.031029973179101944,
-0.04471518099308014,
-0.018354952335357666,
0.044982023537158966,
0.018231062218546867,
0.03291692957282066,
-0.03552817553281784,
0.04364781081676483,
-0.019975068047642708,
-0.003287880914285779,
0.002244336064904928,
0.03770103678107262,
-0.012284286320209503,
0.0018845752347260714,
-0.08676193654537201,
0.011321746744215488,
-0.005041417665779591,
0.020565934479236603,
0.09179382771253586,
0.017096981406211853,
-0.028818991035223007,
-0.007309578824788332,
0.07936658710241318,
-0.0030186560470610857,
-0.07837545871734619,
-0.04948022589087486,
-0.042275477200746536,
-0.023691803216934204,
-0.007014146074652672,
-0.028037523850798607,
-0.039988256990909576,
-0.0068854899145662785,
0.011350337415933609,
-0.014228424057364464,
-0.002978153061121702,
-0.08203501254320145,
-0.027179816737771034,
0.06366100162267685,
-0.056189410388469696,
0.038349080830812454,
-0.036881446838378906,
-0.007652662228792906,
0.0007469208212569356,
-0.021785786375403404,
-0.019917888566851616,
0.022853154689073563,
-0.0007784892222844064,
-0.017878448590636253,
-0.03198298066854477,
0.014037822373211384,
-0.08577080816030502,
0.0454394668340683,
0.02243383228778839,
-0.035718776285648346,
-0.005184368696063757,
-0.03575689718127251,
0.0090631153434515,
0.008457954972982407,
-0.04978518933057785,
0.026817673817276955,
0.02352026104927063,
0.05946776270866394,
-0.047993533313274384,
-0.016915909945964813,
0.028094705194234848,
0.005270139779895544,
-0.016105851158499718,
-0.044181495904922485,
0.0062517388723790646,
-0.020565934479236603,
0.02620774693787098,
0.06145001947879791,
0.03577595576643944,
0.006227913778275251,
0.01312293391674757,
-0.01293233223259449,
0.023253418505191803,
-0.05336850509047508,
0.0278469230979681,
0.03587125986814499,
0.05439775437116623,
-0.014209363609552383,
0.012055563740432262,
-0.07597387582063675,
-0.004162266850471497,
0.03162083774805069,
-0.07814673334360123,
-0.006833074614405632,
-0.025769362226128578,
0.006914080120623112,
-0.06213618442416191,
-0.02626492828130722,
-0.02321529947221279,
-0.01885051839053631,
-0.027275117114186287,
-0.005794294644147158,
0.04082690551877022,
-0.05020451173186302,
0.025979025289416313,
-0.01876474730670452,
0.07040830701589584,
-0.008834393694996834,
-0.040369462221860886,
-0.03013414330780506,
-0.018831457942724228,
-0.022491011768579483,
0.0494421049952507,
0.007929034531116486,
-0.038768406957387924,
-0.03743419423699379,
0.011664830148220062,
-0.07105635106563568,
-0.008348358795046806,
-0.03009602427482605,
-0.016353635117411613,
-0.08935412019491196,
-0.004259950015693903,
-0.005341615527868271,
-0.015410155057907104,
-0.02502601593732834,
-0.029562339186668396,
-0.0201275497674942,
-0.019412793219089508,
-0.0030591588001698256,
0.026074325665831566,
-0.016096321865916252,
-0.02085183747112751,
0.013256355188786983,
-0.022853154689073563,
-0.015009891241788864,
-0.029428917914628983,
-0.0563800111413002,
-0.03890182822942734,
0.04730736464262009,
0.013847220689058304,
0.030572528019547462,
0.015133782289922237,
0.07056078314781189,
-0.00432666065171361,
0.020165670663118362,
0.022281350567936897,
0.000975642935372889,
-0.00477695744484663,
-0.02508319728076458,
0.003873981535434723,
-0.006037312094122171,
0.024873534217476845,
0.03291692957282066,
-0.02704639546573162,
0.08943036198616028,
0.004219447262585163,
0.020280031487345695,
0.027923163026571274,
-0.013361185789108276,
-0.009777871891856194,
0.0162202138453722,
-0.06316543370485306,
0.03005790337920189,
-0.0037334125954657793,
-0.015210023149847984,
-0.04353345185518265,
0.03655742481350899,
-0.0183454230427742,
0.021404581144452095,
0.009268012829124928,
0.0041122338734567165,
0.06491897255182266,
-0.007476355414837599,
0.07620260119438171,
-0.022224169224500656,
-0.01312293391674757,
-0.05050947517156601,
-0.016467995941638947,
0.04059818387031555,
0.03949269279837608,
-0.06499521434307098,
-0.048031654208898544,
-0.019803525879979134,
0.011788721196353436,
-0.03587125986814499,
0.023806164041161537,
0.003342679003253579,
-0.0022491011768579483,
-0.04158931225538254,
0.04056006297469139,
0.02853308990597725,
-0.04235171899199486,
-0.01585806906223297,
0.03549005463719368,
-0.01838354393839836,
0.022986575961112976,
0.0006534067797474563,
-0.044562701135873795,
0.039187729358673096,
-0.05092880129814148,
0.01702073961496353,
0.008419834077358246,
-0.03667178750038147,
-0.02704639546573162,
0.0042027696035802364,
-0.014638218097388744,
-0.005070007871836424,
0.0011269331444054842,
-0.0707513839006424,
-0.011207385919988155,
0.002727988176047802,
0.01965104602277279,
-0.013580378144979477,
-0.026379289105534554,
0.027656320482492447,
-0.03438456356525421,
0.04635435715317726,
-0.014771639369428158,
0.009430023841559887,
0.0006778276292607188,
-0.007052266504615545,
0.03770103678107262,
-0.023444021120667458,
0.10315369069576263,
-0.004228977486491203,
-0.00947290938347578,
-0.0009059541625902057,
-0.005942011252045631,
0.02590278349816799,
-0.009706396609544754,
-0.05710429698228836,
-0.01932702213525772,
-0.028056584298610687,
0.02658895030617714,
-0.024873534217476845,
0.03276444971561432,
0.009677805937826633,
-0.000659958750475198,
-0.005522686988115311,
-0.038406264036893845,
0.016630006954073906,
-0.008276883512735367,
-0.027694441378116608,
-0.025578761473298073,
0.010130485519766808,
0.020985258743166924,
0.005827649962157011,
0.03550911322236061,
0.007147567346692085,
-0.03661460429430008,
0.04913714528083801,
0.0246257521212101,
-0.029543278738856316,
0.021823905408382416,
0.005756174214184284,
-0.0005569146014750004,
-0.012198515236377716,
0.060344528406858444,
-0.06129753962159157,
0.027332298457622528,
0.0485653392970562,
-0.011340807192027569,
0.008867749013006687,
0.05840039253234863,
0.018173880875110626,
0.023253418505191803,
-0.014161713421344757,
-0.003661937080323696,
-0.01155046932399273,
-0.018421662971377373,
0.0015450657811015844,
0.03907336667180061,
0.030763130635023117,
-0.018097640946507454,
0.02735135704278946,
0.011693419888615608,
0.0062517388723790646,
0.03903524950146675,
0.005999191664159298,
0.03789163753390312,
0.04486766457557678,
-0.046926163136959076,
0.03209734335541725,
-0.07265740633010864,
0.00039996596751734614,
-0.05146248638629913,
-0.018650386482477188,
-0.03173520043492317,
-0.019079240038990974,
-0.032974112778902054,
-0.018621794879436493,
0.0064423405565321445,
-0.007771788164973259,
-0.015009891241788864,
-0.04639247804880142,
-0.021728605031967163,
0.06023016944527626,
-0.007042736280709505,
-0.0440671369433403,
0.015295794233679771,
-0.03432738408446312,
-0.000926801236346364,
-0.06682498753070831,
-0.06053512915968895,
0.0009845774620771408,
0.05523639917373657,
0.03276444971561432,
0.11954544484615326,
-0.03615716099739075,
-0.03852062299847603,
0.005861005280166864,
-0.0035976090002804995,
-0.03196392208337784,
0.01616303250193596,
-0.021690484136343002,
-0.0274085383862257,
0.05020451173186302,
-0.011350337415933609,
-0.03791069611907005,
0.013399306684732437,
-0.02317717857658863,
0.04555382952094078,
-0.03160177916288376,
-0.03160177916288376,
-0.07296236604452133,
-0.009706396609544754,
-0.0016451317351311445,
0.038387201726436615,
0.032249823212623596,
-0.03697674721479416,
-0.0261886864900589,
-0.04665932059288025,
0.004805547650903463,
0.03890182822942734,
0.016096321865916252,
0.07303860783576965,
0.00865332130342722,
0.019498564302921295,
-0.05279669910669327,
-0.038387201726436615,
0.008529430255293846,
0.07090386748313904,
0.06434717029333115,
0.03364121913909912,
0.009515794925391674,
0.011588589288294315,
0.007814673706889153,
-0.0373770110309124,
-0.012760790064930916,
-0.036824267357587814,
-0.02889523282647133,
-0.018049990758299828,
-0.026874853298068047,
0.02390146628022194,
-0.002414686605334282,
0.07204747945070267,
-0.00478172255679965,
0.01888863742351532,
-0.007109446916729212,
0.05363534763455391,
-0.049556467682123184,
-0.003142547095194459,
0.04174179211258888,
-0.03594749793410301,
-0.08416975289583206,
0.019079240038990974,
-0.01854555495083332,
0.02041345275938511,
-0.009901762939989567,
0.0071618626825511456,
0.10353489965200424,
0.048069775104522705,
0.005846709944307804,
-0.008629496209323406,
-0.010101894848048687,
-0.0019429470412433147,
0.0012472504749894142,
-0.07509710639715195,
0.0438765324652195,
-0.022948456928133965,
-0.03158271685242653,
-0.014552447013556957,
-0.08340734988451004,
0.035299453884363174,
0.06141189858317375,
-0.024149248376488686,
-0.015419685281813145,
0.05024263262748718,
0.011540939100086689,
-0.05714241787791252,
0.02660801075398922,
0.009825523011386395,
-0.05058571696281433,
0.007323874160647392,
-0.013856750912964344,
0.02963857911527157,
0.03968329355120659,
0.048031654208898544,
0.014523857273161411,
-0.041093748062849045,
0.03188768029212952,
0.05660873278975487,
-0.02077559567987919,
-0.03983577713370323,
0.0077193728648126125,
-0.006766363978385925,
0.017440063878893852,
-0.04479142278432846,
-0.04505826532840729,
0.01581995002925396,
0.016706246882677078,
0.0393783301115036,
0.014866940677165985,
0.011502818204462528,
-0.022624433040618896,
0.02746571972966194,
-0.03821565955877304,
-0.03427020460367203,
0.03789163753390312,
0.07467778772115707,
0.051538724452257156,
0.015543576329946518,
-0.054588355123996735,
-0.034193962812423706,
-0.02155706286430359,
-0.0385015644133091,
0.010025654919445515,
0.0035690185613930225,
0.003654789412394166,
0.04219923913478851,
-0.0005244527710601687,
-0.024797294288873672,
-0.016124911606311798,
-0.02311999723315239,
0.02010848931968212,
0.0373770110309124,
0.0032044926192611456,
-0.0089535191655159,
-0.026836732402443886,
0.01270360965281725,
-0.03003884293138981,
0.02971482090651989,
0.0038168008904904127,
0.018821926787495613,
0.054550234228372574,
-0.0693790540099144,
0.028838051483035088,
-0.0006158820469863713,
0.034174900501966476,
-0.0017475802451372147,
0.04139871150255203,
-0.002832819242030382,
-0.04090314731001854,
-0.03158271685242653,
-0.023634623736143112,
0.00003994447979493998,
0.0014259397285059094,
0.029200196266174316,
0.03968329355120659,
-0.12968546152114868,
0.002804229035973549,
0.012274756096303463,
0.011054904200136662,
0.0027470483910292387,
0.007419175002723932,
-0.030210385099053383,
-0.012884681113064289,
-0.030286625027656555,
0.023005636408925056,
-0.06339415907859802,
0.048031654208898544,
-0.053444743156433105,
0.007314343936741352,
0.047650448977947235,
0.02777068130671978,
0.019956007599830627,
-0.022205108776688576,
-0.04665932059288025,
0.014457146637141705,
0.027561020106077194,
0.019841646775603294,
-0.015724647790193558,
0.058895956724882126,
-0.026741432026028633,
-0.020909016951918602,
-0.04330473020672798,
-0.0006980790640227497,
0.053902190178632736,
0.04936586692929268,
-0.057637982070446014,
-0.0204706322401762,
0.02277691476047039,
-0.010873832739889622,
0.026493649929761887,
0.032611966133117676,
-0.04669744148850441,
-0.05367346480488777,
-0.0749446302652359,
-0.04120810702443123,
-0.0340033620595932,
0.042999766767024994,
-0.021137738600373268,
0.0088439229875803,
0.05592256784439087,
-0.043457210063934326,
0.022586312144994736,
-0.01310387346893549,
-0.07265740633010864,
0.019155479967594147,
0.01652517542243004,
-0.08714314550161362,
0.01370426919311285,
-0.00039817907963879406,
0.01614397205412388,
0.016305983066558838,
-0.036862388253211975,
0.018774276599287987,
-0.031106213107705116,
-0.04704052209854126,
0.036252461373806,
0.00019283541769254953,
-0.03903524950146675,
0.02392052486538887,
-0.00449582003057003,
-0.030667828395962715,
-0.005670403596013784,
0.043342847377061844,
-0.02708451636135578,
0.04277104511857033,
0.028418727219104767,
0.029047714546322823,
0.05660873278975487,
0.020375331863760948,
0.050013910979032516,
0.0478791706264019,
-0.02083277702331543,
-0.08241621404886246,
0.0014307047240436077,
0.00512242317199707,
-0.016077261418104172,
0.0033355315681546926,
0.033393435180187225,
-0.04208487644791603,
-0.06663438677787781,
-0.02899053320288658,
-0.04204675555229187,
-0.025578761473298073,
-0.029848242178559303,
0.0196891650557518,
-0.0069045498967170715,
-0.03743419423699379,
0.03122057393193245,
0.023653682321310043,
0.008505605161190033,
0.07349605113267899,
-0.038825586438179016,
-0.04658307880163193,
-0.0063470397144556046,
-0.036843325942754745,
-0.04277104511857033,
0.004457699600607157,
-0.02578842267394066,
-0.008224467746913433,
0.015810418874025345,
0.01004471443593502,
-0.009106000885367393,
-0.0067139482125639915,
-0.014581037685275078,
0.06655814498662949,
-0.06099257618188858,
0.03547099605202675,
0.039530813694000244,
-0.044181495904922485,
0.03217358514666557,
-0.032955050468444824,
-0.03903524950146675,
0.07040830701589584,
-0.0595058798789978,
0.050356995314359665,
0.07471590489149094,
-0.03388899937272072,
-0.04669744148850441,
0.018993468955159187,
0.010197196155786514,
0.0170016810297966,
-0.01967010460793972,
-0.0005283243372105062,
-0.002482588402926922,
0.025712182745337486,
0.05740926042199135,
0.032554786652326584,
0.054664596915245056,
0.0029638579580932856,
0.00038179924013093114,
0.016830138862133026,
0.00452679255977273,
-0.001437852275557816,
-0.04486766457557678,
-0.0014962240820750594,
-0.024854473769664764,
0.008939224295318127,
0.05664685368537903,
-0.0011287200031802058,
-0.0023038992658257484,
0.04200863465666771,
0.017116041854023933,
0.04017885774374008,
-0.031068092212080956,
-0.06274611502885818,
-0.01212227437645197,
0.01794515922665596,
0.0541309118270874,
-0.008534195832908154,
-0.01620115339756012,
-0.02887617237865925,
0.05596068874001503,
0.021747665479779243,
-0.02426360920071602,
-0.024568572640419006,
0.005251079332083464,
-0.07555454969406128,
0.011054904200136662,
0.03907336667180061,
0.04467706009745598,
-0.01215086504817009,
0.0035809313412755728,
0.05969648435711861,
0.041856154799461365,
-0.044143375009298325,
0.014695398509502411,
-0.07189499586820602,
0.016124911606311798,
0.05790482461452484,
0.02971482090651989,
-0.005970601458102465,
0.02735135704278946,
-0.03865404427051544,
-0.043037887662649155,
0.03907336667180061,
0.05435963347554207,
0.03390805795788765,
-0.054550234228372574,
-0.06438528746366501,
-0.010711820796132088,
-0.012065093964338303,
0.00790997501462698,
0.0019119742792099714,
-0.05317790061235428,
0.011264566332101822,
-0.029619518667459488,
-0.026074325665831566,
0.05851475149393082,
0.016649067401885986,
0.002973387949168682,
-0.010931013152003288,
-0.027923163026571274,
0.013608967885375023,
-0.002587419468909502,
0.017239931970834732,
0.009939883835613728,
-0.022986575961112976,
0.0015081367455422878,
0.001683252165094018,
0.04967082664370537,
0.04082690551877022,
0.07605011761188507,
-0.036424003541469574,
0.021118680015206337,
0.014333255589008331,
-0.025616882368922234,
-0.023748984560370445,
-0.023348720744252205,
0.026017146185040474,
-0.009539620019495487,
-0.014228424057364464,
0.034842006862163544,
0.0204706322401762,
0.05127188190817833,
-0.003466570284217596,
0.017430534586310387,
0.05942964181303978,
0.04711676388978958,
-0.0003570805420167744,
-0.0204706322401762,
0.039912015199661255,
-0.07658380270004272,
0.02311999723315239,
-0.026798613369464874,
-0.06053512915968895,
0.009701631963253021,
0.030934670940041542,
0.03773915767669678,
0.10833806544542313,
0.004898466169834137,
-0.017954688519239426,
-0.013237294740974903,
0.0317542590200901,
-0.011255036108195782,
0.042237360030412674,
0.0014712075935676694,
-0.05626565217971802,
0.04711676388978958,
0.05679933726787567,
-0.0036714670713990927,
-0.0013711416395381093,
0.01367567852139473,
0.021804844960570335,
-0.02235759049654007,
-0.02273879386484623,
-0.03240230679512024,
0.013227764517068863,
0.04437209665775299,
-0.019222190603613853,
-0.02315811812877655,
-0.032955050468444824,
0.023424960672855377,
-0.015915250405669212,
-0.011445637792348862,
0.06289859116077423,
0.03232606500387192,
0.002434937981888652
] |
21,565 | ldsso.ld_sso | create_policy |
创建policy声明
statements: [
{
"sid": "xxxxx",
"effect": "Allow",
"action": ["x"],
"resource": ["x"],
}
]
| def create_policy(
self,
name: str,
statements: list[dict[str, str]],
description: str = None,
version: str = None,
):
"""
创建policy声明
statements: [
{
"sid": "xxxxx",
"effect": "Allow",
"action": ["x"],
"resource": ["x"],
}
]
"""
url = urljoin(self.sso_url, self.URI_POLICY)
if description is None:
description = name
if version is None:
version = "v1"
assert statements, '"statements" must be provided'
data = {
"name": name,
"description": description,
"statements": {"Version": version, "Statement": statements},
}
response = self.r.post(url, json=data)
self.__handle_response(response)
return response.json()
| (self, name: str, statements: list[dict[str, str]], description: Optional[str] = None, version: Optional[str] = None) | [
-0.0340365394949913,
-0.021681886166334152,
-0.007249169982969761,
-0.021909380331635475,
-0.00395926320925355,
-0.011068437248468399,
-0.04483373090624809,
0.006483566481620073,
-0.0021097841672599316,
0.04021386429667473,
-0.05354848504066467,
0.0994671881198883,
-0.022854354232549667,
-0.060793280601501465,
-0.052008528262376785,
-0.04518372192978859,
0.0874975249171257,
0.0014776145108044147,
-0.07363791763782501,
-0.013107129372656345,
0.03524400293827057,
0.04717866703867912,
0.0010849693790078163,
-0.00032784228096716106,
0.0053198495879769325,
-0.000050721220759442076,
0.006969178095459938,
0.028174202889204025,
-0.049488600343465805,
0.01137467846274376,
-0.007524787448346615,
0.0377289317548275,
0.048228636384010315,
0.00941473338752985,
0.06282322108745575,
0.02052691951394081,
-0.06436318159103394,
0.013640864752233028,
-0.11080686748027802,
-0.0252692848443985,
0.03590898588299751,
0.05288350582122803,
-0.038288917392492294,
0.005529843736439943,
-0.035593993961811066,
0.022416865453124046,
0.011698419228196144,
0.002596489153802395,
0.05494844540953636,
-0.034264031797647476,
0.03247908130288124,
0.0501885823905468,
0.008942247368395329,
-0.06408318877220154,
-0.015180820599198341,
0.014874579384922981,
0.032531581819057465,
0.054668452590703964,
0.0060723284259438515,
-0.015198320150375366,
0.03550649434328079,
0.006177325267344713,
-0.027124233543872833,
-0.020001934841275215,
-0.026021763682365417,
0.02498929388821125,
-0.00963347777724266,
-0.05155354365706444,
0.034509025514125824,
-0.010613449849188328,
0.005626090802252293,
-0.08140769600868225,
-0.027019236236810684,
0.023606833070516586,
0.0344565249979496,
0.024691801518201828,
-0.003679271088913083,
-0.02145439386367798,
0.04987359046936035,
0.030414139851927757,
-0.02427181415259838,
-0.11150684952735901,
0.007769780233502388,
0.0029596039094030857,
0.006619188003242016,
0.059533316642045975,
-0.044483743607997894,
-0.0559634193778038,
-0.0014316783053800464,
0.034876514226198196,
-0.03926888853311539,
0.01861947402358055,
-0.034544024616479874,
0.03265407681465149,
0.01210090797394514,
0.008456636220216751,
0.01494457758963108,
-0.056313406676054,
0.0004842441121581942,
0.05015358328819275,
-0.02297685109078884,
0.04280379042029381,
-0.03442152589559555,
-0.02383432537317276,
-0.0034955262672156096,
-0.038253918290138245,
0.02376432903110981,
0.019109459593892097,
-0.0039002022240310907,
-0.0186544731259346,
0.05256851390004158,
0.00688605522736907,
0.02015943080186844,
-0.0219968780875206,
0.005739837884902954,
0.0016580781666561961,
0.015312067233026028,
-0.043048784136772156,
0.006842306349426508,
0.021804383024573326,
0.008111020550131798,
-0.04161382466554642,
0.02757922001183033,
0.018479477614164352,
0.022766856476664543,
0.04220880568027496,
-0.023484336212277412,
-0.04238380119204521,
-0.0006988864624872804,
0.0250942911952734,
0.00004029671254102141,
-0.00003038488284801133,
0.005945457145571709,
0.014402092434465885,
-0.04651368409395218,
-0.07979774475097656,
0.010149712674319744,
0.019161958247423172,
0.036888957023620605,
-0.03071163222193718,
-0.00941473338752985,
-0.018566975370049477,
0.00361364777199924,
0.007835403084754944,
-0.06394319236278534,
-0.0760178491473198,
-0.018671972677111626,
-0.006951678544282913,
0.018164485692977905,
0.03293406963348389,
0.014104600995779037,
0.03060663491487503,
0.0014076164225116372,
-0.017989492043852806,
0.02549677900969982,
-0.006448567844927311,
0.021156901493668556,
-0.07678782939910889,
-0.03272407501935959,
0.01539081521332264,
0.013150878250598907,
0.019459450617432594,
-0.005936707369983196,
-0.033109065145254135,
0.011077187024056911,
0.0015060511650517583,
0.046968672424554825,
-0.004223943222314119,
0.030519137158989906,
0.0024499306455254555,
0.014620836824178696,
0.012188405729830265,
0.032636579126119614,
0.05158854275941849,
-0.023816825821995735,
-0.0052367267198860645,
0.01763950102031231,
0.01767450012266636,
0.03891890123486519,
-0.06240323558449745,
-0.007852902635931969,
-0.004834238439798355,
0.0037186448462307453,
-0.0004210818442516029,
0.016012046486139297,
-0.01000971719622612,
0.019319454208016396,
0.04672367870807648,
-0.03510400652885437,
0.04987359046936035,
-0.04136883094906807,
-0.009187240153551102,
0.013360871933400631,
-0.016467034816741943,
0.017202014103531837,
-0.010263459756970406,
-0.015679556876420975,
-0.009537230245769024,
0.0041014463640749454,
0.007126673590391874,
0.012083408422768116,
0.002729922765865922,
-0.01627453975379467,
0.0030886626336723566,
0.09764724224805832,
0.024166816845536232,
0.0004448702384252101,
-0.027736715972423553,
-0.04119383543729782,
-0.10954689979553223,
0.01137467846274376,
0.039618879556655884,
-0.018706971779465675,
0.032776571810245514,
-0.007572910748422146,
0.012337150983512402,
0.0039308262057602406,
0.00929223746061325,
0.0023405589163303375,
-0.021121902391314507,
-0.0189694631844759,
0.043223779648542404,
-0.027561720460653305,
0.01353586744517088,
0.030519137158989906,
0.014524589292705059,
0.031779102981090546,
-0.054493460804224014,
-0.023816825821995735,
0.0498385913670063,
-0.03533150255680084,
0.03608398139476776,
0.01508457399904728,
-0.017587002366781235,
-0.01701826974749565,
-0.029696660116314888,
-0.0006699029472656548,
-0.022766856476664543,
-0.004519247449934483,
0.055613428354263306,
0.034299030900001526,
0.01947695016860962,
0.008592257276177406,
0.04234880208969116,
-0.033791545778512955,
0.05669839680194855,
-0.0053810980170965195,
-0.01954694651067257,
0.040843844413757324,
-0.016537033021450043,
-0.010429705493152142,
-0.018986962735652924,
-0.04665368050336838,
-0.010403456166386604,
0.009204739704728127,
0.016090795397758484,
0.037063952535390854,
-0.016825774684548378,
0.008163519203662872,
-0.03421153128147125,
-0.007376041263341904,
-0.01814698614180088,
-0.09491731971502304,
-0.01258214469999075,
0.01596829853951931,
-0.07174797356128693,
-0.028891682624816895,
0.003972387872636318,
-0.0015333940973505378,
-0.023641832172870636,
0.04500872641801834,
0.02484929747879505,
-0.014270846731960773,
-0.07629784196615219,
0.01634453795850277,
-0.020964406430721283,
0.022731857374310493,
0.042173806577920914,
-0.036783959716558456,
-0.015040825121104717,
0.04647868499159813,
0.02988915517926216,
0.044518742710351944,
0.0689130499958992,
0.017989492043852806,
0.021874381229281425,
-0.039583880454301834,
-0.06548314541578293,
-0.0012610581470653415,
-0.012975882738828659,
-0.015058324672281742,
0.11381678283214569,
0.02462180331349373,
-0.013518367893993855,
0.006505440920591354,
0.006321696098893881,
0.04885862022638321,
-0.03053663671016693,
0.027701716870069504,
0.020789412781596184,
0.06310321390628815,
0.006719809956848621,
0.06880805641412735,
-0.030151648446917534,
-0.07650783658027649,
-0.10485703498125076,
0.00796664971858263,
-0.003983324859291315,
-0.034736517816782,
-0.016563281416893005,
-0.050678566098213196,
0.04906861111521721,
-0.015758303925395012,
0.06121326982975006,
0.04458874091506004,
0.0189694631844759,
0.0016110482392832637,
-0.03590898588299751,
0.018269483000040054,
0.013115879148244858,
-0.02070191502571106,
0.003786455374211073,
0.013605865649878979,
-0.05543843284249306,
0.01668577827513218,
-0.05361848324537277,
0.00280867051333189,
-0.02182188257575035,
0.0056435903534293175,
0.009309737011790276,
-0.07174797356128693,
0.0037995800375938416,
0.020001934841275215,
0.051763538271188736,
-0.062193240970373154,
0.054738450795412064,
0.021839382126927376,
0.017149515450000763,
-0.022924352437257767,
-0.020351924002170563,
0.02127939835190773,
-0.026546750217676163,
0.010027216747403145,
0.027124233543872833,
-0.012083408422768116,
-0.009957218542695045,
0.04784364625811577,
-0.0008323201909661293,
0.030659133568406105,
-0.00527610071003437,
-0.07370791584253311,
-0.008745377883315086,
0.02948666550219059,
-0.010219710879027843,
0.058273352682590485,
-0.06352320313453674,
0.021629389375448227,
-0.03366904705762863,
-0.07038301229476929,
-0.087007537484169,
0.02948666550219059,
-0.00993971899151802,
-0.013815859332680702,
0.03370404615998268,
-0.007796029560267925,
0.021489392966032028,
0.06758309155702591,
-0.027894211933016777,
-0.040808845311403275,
-0.00959847867488861,
-0.008557258173823357,
-0.041718821972608566,
-0.004781739786267281,
0.05662839859724045,
-0.009922219440340996,
0.02794671058654785,
0.019686942920088768,
-0.02325684204697609,
-0.0035283376928418875,
-0.008312265388667583,
-0.016362037509679794,
-0.03594398498535156,
0.03587398678064346,
0.002629300579428673,
0.030799129977822304,
-0.0019960373174399137,
-0.011663420125842094,
-0.0007836497388780117,
0.000025975828975788318,
0.01868947222828865,
0.016064545139670372,
-0.011934662237763405,
-0.03060663491487503,
-0.03074663132429123,
-0.030081650242209435,
-0.0034014664124697447,
-0.05746837705373764,
0.043853759765625,
-0.00910849217325449,
0.027561720460653305,
0.0009750505560077727,
-0.03568148985505104,
0.0187244713306427,
-0.054388463497161865,
-0.07174797356128693,
-0.07349792122840881,
0.028961680829524994,
0.0693330392241478,
0.007446039468050003,
0.013212126679718494,
0.01152342464774847,
-0.01613454334437847,
-0.04000386968255043,
-0.050538569688797,
0.055648427456617355,
-0.022906852886080742,
0.07377791404724121,
0.05116855353116989,
-0.05848334729671478,
-0.01951194927096367,
0.053303491324186325,
0.022591860964894295,
0.053443487733602524,
0.0753178671002388,
-0.04147382825613022,
-0.006317321211099625,
-0.011313430033624172,
0.02635425515472889,
-0.015469562262296677,
-0.04749365895986557,
0.019494449719786644,
0.04136883094906807,
0.021541891619563103,
-0.07804779708385468,
0.02073691412806511,
-0.007844152860343456,
0.017490755766630173,
0.005691714119166136,
-0.03358155116438866,
0.02110440284013748,
-0.001231527654454112,
-0.021629389375448227,
-0.05169354006648064,
0.041963811963796616,
0.01998443529009819,
-0.02318684384226799,
-0.028489194810390472,
-0.06355820596218109,
0.05480844900012016,
-0.014550838619470596,
-0.008159144781529903,
0.06488816440105438,
0.08301765471696854,
-0.011287180706858635,
-0.013728361576795578,
0.046863675117492676,
0.003867390565574169,
-0.06789807975292206,
-0.004961109720170498,
-0.016047045588493347,
0.02805170603096485,
-0.03337155655026436,
0.0566633976995945,
0.03524400293827057,
-0.027789214625954628,
0.019791940227150917,
-0.0002747969119809568,
0.03975887596607208,
0.0339665412902832,
-0.0008126332540996373,
0.010193461552262306,
0.00963347777724266,
-0.01579330302774906,
0.008268516510725021,
-0.012765889056026936,
-0.023309340700507164,
0.04266379401087761,
-0.057083386927843094,
0.016572032123804092,
0.04840363189578056,
0.010193461552262306,
0.007017301395535469,
-0.04021386429667473,
0.05396847426891327,
-0.0026599247939884663,
-0.048123639076948166,
0.01346586924046278,
-0.04745865985751152,
0.01217090617865324,
0.0014360531931743026,
0.05771336704492569,
-0.06359320133924484,
0.04917360842227936,
0.02833169884979725,
-0.02710673399269581,
-0.005630465690046549,
0.025286784395575523,
-0.00948473159223795,
0.01024596020579338,
-0.06037329137325287,
-0.026634246110916138,
-0.006868555676192045,
-0.06775808334350586,
-0.008828500285744667,
0.01644953526556492,
0.058378349989652634,
-0.0008350544958375394,
-0.006492316257208586,
0.00007225381705211475,
0.022556861862540245,
-0.023606833070516586,
-0.0006704498082399368,
-0.03226908668875694,
0.006111702416092157,
-0.011330929584801197,
0.01322962623089552,
0.04854362830519676,
0.03982887417078018,
-0.0682830661535263,
-0.0375889390707016,
0.0375889390707016,
-0.04101883992552757,
-0.04290878772735596,
-0.0002734297595452517,
-0.035523995757102966,
0.0042764414101839066,
-0.06523815542459488,
-0.03513900563120842,
0.08175768703222275,
0.04857862740755081,
0.011365928687155247,
-0.00361364777199924,
-0.014428341761231422,
0.020229429006576538,
-0.004527996759861708,
0.03557649254798889,
-0.05372348055243492,
0.03121911734342575,
-0.02628425695002079,
0.02365933172404766,
0.031341612339019775,
0.0051667289808392525,
-0.07699782401323318,
0.027229230850934982,
-0.03344155475497246,
0.025251785293221474,
-0.04500872641801834,
-0.009607228450477123,
-0.03330155834555626,
-0.03884890303015709,
0.051938530057668686,
0.00527610071003437,
0.015723304823040962,
-0.05389847606420517,
0.05764336884021759,
-0.008089146576821804,
0.06586813926696777,
-0.04112383723258972,
-0.025181788951158524,
0.03421153128147125,
0.0014163661981001496,
-0.0501885823905468,
0.009239738807082176,
-0.0006524034542962909,
-0.0625782310962677,
0.017132015898823738,
0.028454195708036423,
0.016572032123804092,
0.011532174423336983,
0.008452260866761208,
0.06936804205179214,
0.000260305154370144,
0.06730309873819351,
-0.012424648739397526,
-0.05057356879115105,
-0.02420181594789028,
0.024779299274086952,
0.013597115874290466,
-0.012652141973376274,
0.041998811066150665,
0.004027073737233877,
0.025181788951158524,
-0.08392762392759323,
-0.03972387686371803,
-0.026021763682365417,
0.04882362112402916,
-0.0019533822778612375,
0.04885862022638321,
0.054563459008932114,
0.07139798253774643,
-0.0760878473520279,
0.03568148985505104,
-0.001674483879469335,
0.0282267015427351,
0.009659727104008198,
0.024289313703775406,
0.0032417832408100367,
-0.01832198165357113,
-0.04469373822212219,
0.04745865985751152,
-0.05239351838827133,
0.019161958247423172,
-0.03646896779537201,
0.041858818382024765,
0.04136883094906807,
0.007761030457913876,
-0.018549475818872452,
-0.05753837153315544,
-0.007008552085608244,
-0.03583898767828941,
0.026616748422384262,
0.019966935738921165,
0.011584672145545483,
-0.004541121423244476,
0.02710673399269581,
0.05893833190202713,
-0.044238749891519547,
0.02549677900969982,
0.021629389375448227,
-0.036853957921266556,
0.002423681551590562,
-0.0067854332737624645,
-0.016388285905122757,
0.004904236178845167,
-0.033756546676158905,
-0.008915998041629791,
0.00008448980224784464,
-0.033721547573804855,
-0.0036223975475877523,
-0.03667896240949631,
0.0036858331877738237,
-0.0031236617360264063,
-0.01984443888068199,
-0.0379389263689518,
0.02570677362382412,
0.07405790686607361,
0.007664783392101526,
-0.024534305557608604,
0.10352707654237747,
0.03027414344251156,
0.01319462712854147,
0.002983665559440851,
0.02423681505024433,
-0.034474026411771774,
0.0054029724560678005,
0.10576701164245605,
-0.03604898229241371,
-0.029329171404242516,
0.010027216747403145,
0.01148842554539442,
-0.033756546676158905,
-0.007621034514158964,
0.008876623585820198,
0.038218919187784195,
0.06985802203416824,
0.055648427456617355,
-0.027386724948883057,
-0.038078922778367996,
0.006470442283898592,
-0.028471695259213448,
-0.025409281253814697,
-0.04770364984869957,
0.029731659218668938,
0.025304283946752548,
-0.021541891619563103,
0.027211731299757957,
-0.029224174097180367,
-0.019494449719786644,
-0.002749609760940075,
0.039583880454301834,
0.03323156014084816,
-0.018059490248560905,
0.048298634588718414,
0.06506316363811493,
0.062193240970373154,
-0.014174599200487137,
0.0018713533645495772,
-0.04465873911976814,
-0.0005670933169312775,
-0.023064348846673965,
0.0010259085102006793,
-0.04868362471461296,
0.08175768703222275,
-0.11535673588514328,
-0.024149317294359207,
0.03888390213251114,
-0.012372150085866451,
0.01373711135238409,
-0.07804779708385468,
-0.011838415637612343,
-0.03582148626446724,
-0.03149911016225815,
-0.02934667095541954,
0.02308184653520584,
0.021559391170740128,
-0.0024543055333197117,
0.04220880568027496,
0.0072404202073812485,
0.004904236178845167,
0.05732838064432144,
-0.022084375843405724,
0.007673533167690039,
-0.024604303762316704,
0.004707366693764925,
-0.01251214649528265,
0.023851824924349785,
0.04591870307922363,
-0.039338886737823486,
0.05911332741379738,
-0.0624382346868515,
-0.043363772332668304,
0.0496985949575901,
0.08175768703222275,
-0.011995910666882992,
0.009467232041060925,
0.03158660605549812,
-0.08448760956525803,
0.030956624075770378,
-0.005713588558137417,
0.006067953538149595,
-0.02077191323041916,
0.00948473159223795,
-0.007126673590391874,
-0.0870775356888771,
-0.034334030002355576,
-0.028506694361567497,
-0.029941653832793236,
-0.0015355815412476659,
0.027911711484193802,
-0.02253936231136322,
-0.03587398678064346,
0.008776001632213593,
-0.037063952535390854,
-0.06156326085329056,
0.011357178911566734,
-0.005262976046651602,
0.022854354232549667,
0.0017816683975979686,
0.009204739704728127,
0.02703673578798771,
0.017543254420161247,
0.030414139851927757,
-0.016213292255997658,
-0.03053663671016693,
-0.020439421758055687,
-0.0035523995757102966,
-0.029434168711304665,
-0.010770945809781551,
-0.016624530777335167,
0.04280379042029381,
0.03492901101708412,
0.031551606953144073,
-0.020334424450993538,
-0.005109855439513922,
0.007708532270044088,
-0.05463345721364021,
0.0749678835272789,
0.03968887776136398,
-0.018024491146206856,
-0.03400154039263725,
-0.020981905981898308,
0.06537815183401108,
-0.01641453616321087,
0.006015454884618521,
-0.019144458696246147,
-0.0373089462518692,
0.04010886698961258,
0.009729725308716297
] |
21,566 | ldsso.ld_sso | get_userinfo | 获取用户信息 | def get_userinfo(self, token=None):
"""获取用户信息"""
url = urljoin(self.sso_url, self.URI_USERINFO)
headers = self.r.headers
if token:
headers = {**headers, "Authorization": token}
response = self.r.get(url, headers=headers)
self.__handle_response(response)
return response.json()
| (self, token=None) | [
-0.022768869996070862,
0.01786935329437256,
0.010658912360668182,
0.04385380819439888,
0.05997653305530548,
-0.004671111702919006,
0.019759293645620346,
-0.017493154853582382,
0.00013190683966968209,
0.027408631518483162,
0.04385380819439888,
-0.024237828329205513,
0.015898797661066055,
-0.04105920344591141,
0.04374632611870766,
0.03890950605273247,
0.026495009660720825,
0.0005225890199653804,
0.04374632611870766,
0.025115622207522392,
-0.008325595408678055,
-0.013462474569678307,
0.02950458601117134,
-0.04059343785047531,
-0.007658293936401606,
0.005544425919651985,
-0.021962733939290047,
0.005625039339065552,
0.0727313980460167,
0.004635283257812262,
-0.032693300396203995,
-0.01918604224920273,
0.02602924220263958,
0.01968763768672943,
-0.026638323441147804,
0.00571461021900177,
0.012315969914197922,
0.017761867493391037,
-0.0893557220697403,
0.013767015188932419,
-0.06040647253394127,
-0.033374037593603134,
0.06793040782213211,
0.012772779911756516,
0.0040418775752186775,
0.010121488012373447,
0.01503891870379448,
0.04045012220740318,
0.011097808368504047,
-0.010246886871755123,
0.019365184009075165,
-0.004787553567439318,
-0.035720791667699814,
-0.0727672278881073,
-0.012029343284666538,
-0.04704252630472183,
0.0018227635882794857,
-0.03007783740758896,
-0.036455269902944565,
0.07738907635211945,
0.022141873836517334,
-0.014134255237877369,
0.0069417282938957214,
-0.03165428340435028,
0.016346650198101997,
0.011044066399335861,
0.017896223813295364,
0.001081006252206862,
-0.0008016576757654548,
0.011447134427726269,
0.02203438989818096,
0.014420880936086178,
0.014008855447173119,
0.014277568086981773,
-0.008728663437068462,
-0.0708324983716011,
-0.037727173417806625,
-0.0551755465567112,
-0.04811737313866615,
-0.012772779911756516,
-0.015262845903635025,
0.0009208986302837729,
-0.025599302724003792,
0.030454033985733986,
-0.06409678608179092,
0.022822611033916473,
-0.04342386871576309,
-0.08713436871767044,
-0.004198626149445772,
0.040808405727148056,
-0.005181664600968361,
-0.01972346566617489,
-0.014394009485840797,
0.04277896136045456,
-0.021317824721336365,
-0.027659429237246513,
-0.007040256168693304,
0.07480943948030472,
-0.015119532123208046,
0.02574261650443077,
-0.031528882682323456,
-0.02973746880888939,
-0.07789067178964615,
0.07093998789787292,
-0.00274086301214993,
-0.0058579230681061745,
0.004702461417764425,
-0.02348543517291546,
0.04496448487043381,
0.022249359637498856,
-0.09637806564569473,
-0.019795121625065804,
0.024828994646668434,
0.03190508112311363,
0.01621229574084282,
-0.04292227327823639,
-0.0036164165940135717,
0.027516115456819534,
0.01875610277056694,
-0.019221870228648186,
-0.006431175395846367,
0.01997426338493824,
0.052130140364170074,
-0.03923196345567703,
-0.020547516644001007,
-0.009566149674355984,
-0.024202000349760056,
-0.050231244415044785,
0.03844374045729637,
0.004556908737868071,
-0.004169515799731016,
-0.006534182000905275,
0.025653045624494553,
-0.029432928189635277,
0.01602419652044773,
-0.04496448487043381,
-0.031725939363241196,
0.01719757169485092,
0.05822094902396202,
0.00633712625131011,
-0.033965203911066055,
-0.006923814304172993,
-0.04797406122088432,
-0.0037821223959326744,
-0.025241021066904068,
-0.013148977421224117,
0.038945335894823074,
-0.01820972189307213,
0.040414296090602875,
-0.09587646275758743,
0.04159662872552872,
0.022589728236198425,
0.09988923370838165,
-0.08727768063545227,
-0.026065070182085037,
0.04722166806459427,
0.025043964385986328,
-0.03994852676987648,
-0.03926778957247734,
0.016740761697292328,
-0.0021183467470109463,
-0.041489142924547195,
-0.015056832693517208,
-0.029952438548207283,
0.022106045857071877,
0.00818228255957365,
0.06488500535488129,
-0.03351735323667526,
0.04449871927499771,
-0.018935244530439377,
-0.026889121159911156,
-0.06710635870695114,
0.0022806937340646982,
-0.015415115281939507,
0.006480439566075802,
-0.07262391597032547,
-0.022141873836517334,
-0.025850100442767143,
-0.008150932379066944,
0.01983095146715641,
-0.007058170158416033,
-0.03584618866443634,
0.012808608822524548,
-0.015101618133485317,
-0.03471760079264641,
0.013256462290883064,
0.06947102397680283,
-0.002042211825028062,
-0.02896716073155403,
0.04965798929333687,
-0.0022224728018045425,
-0.025670960545539856,
-0.04517945647239685,
0.01298774965107441,
0.02549181878566742,
-0.0037171836011111736,
0.03145722672343254,
0.03536250814795494,
-0.022446414455771446,
-0.053742412477731705,
-0.0007568723522126675,
0.05187934264540672,
-0.06330856680870056,
0.021819420158863068,
-0.03061526268720627,
-0.00864357128739357,
-0.006793936714529991,
0.02319880947470665,
-0.01811119355261326,
0.024631939828395844,
0.06037064641714096,
-0.014035726897418499,
-0.05685947462916374,
0.0458960197865963,
-0.01433131005614996,
0.05797015130519867,
-0.05044621229171753,
-0.014976219274103642,
0.015244930982589722,
-0.015325545333325863,
0.016239166259765625,
-0.0673929899930954,
-0.015934625640511513,
-0.0005494601791724563,
-0.02421991527080536,
0.05069701001048088,
0.018917329609394073,
-0.06868280470371246,
0.005324977450072765,
-0.046075161546468735,
0.020404202863574028,
-0.03765551745891571,
0.03546999394893646,
0.0030745139811187983,
-0.0815451592206955,
-0.010864924639463425,
0.032102134078741074,
0.005741481203585863,
-0.027283232659101486,
0.053240817040205,
0.017609598115086555,
0.0019974263850599527,
-0.03672398254275322,
0.019221870228648186,
-0.021801505237817764,
-0.01753794029355049,
-0.001987349707633257,
0.023162979632616043,
0.0034372752998024225,
-0.0620187446475029,
-0.043101415038108826,
0.0068342434242367744,
0.02266138419508934,
0.021067027002573013,
-0.03160053864121437,
-0.10418862849473953,
-0.05499640479683876,
0.016821375116705894,
0.02246432937681675,
-0.0424923337996006,
-0.01499413326382637,
0.006050500087440014,
-0.004084423650056124,
0.02305549569427967,
-0.014465666376054287,
-0.015952540561556816,
-0.04636178910732269,
0.018774015828967094,
-0.006905900314450264,
-0.031278084963560104,
0.05922413989901543,
-0.023646662011742592,
-0.013883456587791443,
-0.07312551140785217,
0.010569341480731964,
0.0015831619966775179,
-0.003558195661753416,
-0.050911981612443924,
0.001408499083481729,
-0.01399094145745039,
-0.07774735987186432,
-0.03804963082075119,
0.015325545333325863,
-0.012127871625125408,
-0.04131000116467476,
-0.01164418924599886,
0.021855248138308525,
-0.01864861696958542,
-0.022338930517435074,
-0.0018261224031448364,
0.020493773743510246,
-0.031421396881341934,
-0.11178421974182129,
-0.016910945996642113,
-0.01103510893881321,
-0.0013525173999369144,
-0.033821891993284225,
0.02042211778461933,
0.03804963082075119,
-0.011053022928535938,
-0.009342223405838013,
0.030256979167461395,
-0.06750047206878662,
-0.03473551198840141,
0.09687966108322144,
-0.004648718982934952,
0.01694677397608757,
0.016472049057483673,
-0.06660476326942444,
0.016570577397942543,
0.053849898278713226,
-0.004603933542966843,
0.01499413326382637,
0.030561519786715508,
-0.058973342180252075,
-0.027766913175582886,
-0.0146537646651268,
0.03392937779426575,
0.048224858939647675,
0.010103574022650719,
-0.014304439537227154,
-0.030704831704497337,
0.04245650768280029,
-0.03400103375315666,
0.09587646275758743,
0.006431175395846367,
-0.029092559590935707,
0.06825286895036697,
-0.028286423534154892,
0.09379842877388,
-0.01032750029116869,
0.012244313023984432,
-0.020493773743510246,
0.01997426338493824,
-0.04722166806459427,
0.02832225151360035,
-0.004854731261730194,
0.029612069949507713,
0.025330591946840286,
0.04059343785047531,
-0.061660461127758026,
-0.08233337849378586,
-0.014564193785190582,
0.017457326874136925,
-0.04908473789691925,
-0.028805933892726898,
0.03672398254275322,
0.006793936714529991,
-0.0054279835894703865,
-0.06090806797146797,
-0.05349161475896835,
-0.011868116445839405,
0.037583861500024796,
0.018048493191599846,
0.0037082266062498093,
0.02167610637843609,
-0.04650510102510452,
0.024972308427095413,
0.013032535091042519,
0.03163636848330498,
-0.0013234069338068366,
-0.023234637454152107,
0.008343509398400784,
0.024094516411423683,
-0.04797406122088432,
-0.020260890945792198,
0.01812910847365856,
0.03804963082075119,
0.08312159776687622,
0.0032984407152980566,
-0.06563740223646164,
0.024309484288096428,
0.01101719494909048,
0.02241058647632599,
0.01028271485120058,
0.06015567481517792,
-0.00502043729647994,
-0.0068521578796207905,
-0.07803398370742798,
-0.006780500989407301,
0.010228972882032394,
0.017475241795182228,
-0.00618933467194438,
0.01861278899013996,
0.05066118389368057,
-0.016337694600224495,
-0.05549800023436546,
0.006516267545521259,
-0.0028685012366622686,
-0.007882220670580864,
-0.035434164106845856,
0.010246886871755123,
-0.020028006285429,
0.013023578561842442,
-0.05582045391201973,
0.037046436220407486,
0.0026915993075817823,
-0.0023109237663447857,
-0.061517149209976196,
0.0043150680139660835,
0.020386289805173874,
-0.02877010591328144,
0.025921758264303207,
-0.03701061010360718,
-0.027211574837565422,
0.005871358793228865,
-0.013122105970978737,
-0.08190343528985977,
-0.028483480215072632,
-0.007335839327424765,
0.008316638879477978,
-0.0752393826842308,
0.03622238710522652,
-0.023234637454152107,
0.05109111964702606,
-0.0008206914644688368,
-0.006310255266726017,
0.07602760195732117,
0.07402122020721436,
0.048905596137046814,
-0.015692785382270813,
-0.06664059311151505,
-0.05101946368813515,
0.01958015188574791,
-0.11343231797218323,
0.020260890945792198,
-0.007850871421396732,
0.0036477663088589907,
0.02577844448387623,
-0.030686918646097183,
0.05782683566212654,
-0.004046355839818716,
-0.011133636347949505,
0.0038067542482167482,
0.022088132798671722,
0.006753630004823208,
-0.005759395193308592,
-0.0019134539179503918,
-0.022159788757562637,
-0.004189669154584408,
0.0068342434242367744,
0.045394424349069595,
0.012808608822524548,
0.020045921206474304,
0.0045904978178441525,
0.014564193785190582,
-0.052130140364170074,
0.06345187872648239,
0.006220684386789799,
-0.049048908054828644,
-0.019705552607774734,
0.010551427491009235,
-0.003170802490785718,
-0.040557608008384705,
0.007250747177749872,
0.0027946054469794035,
-0.031869251281023026,
0.0307764895260334,
0.07262391597032547,
0.05940328165888786,
-0.001135868253186345,
0.007931484840810299,
-0.001920171664096415,
-0.023969115689396858,
0.03013158030807972,
-0.03052569180727005,
0.03057943284511566,
0.004603933542966843,
-0.012324927374720573,
-0.048618968576192856,
0.027211574837565422,
-0.007358232047408819,
-0.02803562581539154,
0.010166273452341557,
0.01581818424165249,
-0.005598167888820171,
0.019203955307602882,
0.05746855586767197,
-0.0008481224649585783,
-0.02095954120159149,
-0.03520128130912781,
0.04367467015981674,
-0.019024815410375595,
-0.02348543517291546,
0.008724185638129711,
0.014617936685681343,
0.03622238710522652,
-0.04851148650050163,
0.034216005355119705,
-0.031027287244796753,
0.036061160266399384,
0.0341980904340744,
-0.06169629096984863,
-0.010291672311723232,
0.006784979719668627,
0.027319060638546944,
0.02520519122481346,
-0.06431175768375397,
0.01792309433221817,
0.03876619413495064,
-0.008186761289834976,
-0.03672398254275322,
0.04335221275687218,
0.005316020455211401,
-0.0002685721265152097,
0.005257799290120602,
-0.042707305401563644,
0.020583344623446465,
0.025653045624494553,
0.005472769029438496,
0.041381657123565674,
0.05531885847449303,
0.0014118580147624016,
-0.03869453817605972,
0.010578298009932041,
-0.02676372230052948,
-0.03887367993593216,
0.0688261166214943,
-0.04016349837183952,
-0.02647709660232067,
-0.017493154853582382,
0.023843716830015182,
-0.004729332402348518,
0.0275877732783556,
-0.009122774936258793,
0.02266138419508934,
-0.04320890083909035,
0.061409663408994675,
-0.04156079888343811,
-0.01611376740038395,
-0.041489142924547195,
0.003087949473410845,
-0.037046436220407486,
-0.000026118952519027516,
0.005513075739145279,
-0.056537020951509476,
-0.03641944378614426,
0.013767015188932419,
-0.004984608851373196,
0.0026602495927363634,
0.05309750512242317,
-0.04328055679798126,
0.00013134701293893158,
0.00815541110932827,
-0.05915248394012451,
-0.019884692505002022,
-0.04987296089529991,
0.004702461417764425,
0.007371667772531509,
0.021264081820845604,
0.004689025692641735,
-0.03439514338970184,
0.03736889362335205,
-0.01739462837576866,
-0.003938870970159769,
0.089857317507267,
-0.038945335894823074,
-0.03539833799004555,
-0.04557356610894203,
-0.02495439350605011,
0.008307681418955326,
0.026297954842448235,
-0.024004945531487465,
0.021514879539608955,
-0.043495528399944305,
-0.04195491224527359,
-0.012315969914197922,
0.06664059311151505,
-0.0458960197865963,
-0.004149361979216337,
-0.008141975849866867,
0.024882737547159195,
-0.02421991527080536,
0.038407910615205765,
0.012315969914197922,
0.013399775139987469,
0.061409663408994675,
0.04105920344591141,
0.09057388454675674,
0.0170990452170372,
0.0028080411721020937,
0.05463812127709389,
0.046325959265232086,
-0.00405531283468008,
0.043782152235507965,
-0.016570577397942543,
-0.0463976189494133,
-0.014340267516672611,
0.059116654098033905,
0.037333063781261444,
-0.015352415852248669,
-0.09938763827085495,
-0.017251314595341682,
0.004693503957241774,
0.004400160163640976,
0.012208485044538975,
-0.017009474337100983,
-0.013569959439337254,
-0.016274994239211082,
-0.018487390130758286,
0.07366293668746948,
0.017412541434168816,
-0.007452281191945076,
-0.06810954958200455,
-0.02647709660232067,
-0.001599956420250237,
-0.058973342180252075,
-0.009440750814974308,
-0.04958633333444595,
0.0007719873683527112,
0.009736333973705769,
0.015450944192707539,
-0.018397819250822067,
0.05041038244962692,
-0.01802162267267704,
0.1265454739332199,
-0.0077971285209059715,
-0.019526410847902298,
0.022930096834897995,
0.010775353759527206,
0.05754021182656288,
0.0014040205860510468,
-0.031385570764541626,
0.06284279376268387,
0.019078556448221207,
-0.024094516411423683,
0.0654582604765892,
0.026889121159911156,
-0.05388572812080383,
0.02579635940492153,
-0.04940719157457352,
-0.001676091575063765,
-0.014107383787631989,
0.011366520076990128,
-0.019508495926856995,
0.019275613129138947,
0.010211058892309666,
-0.023575006052851677,
-0.010757439769804478,
0.04105920344591141,
-0.0013782689347863197,
0.012441368773579597,
-0.022965924814343452,
0.017717082053422928,
-0.012387626804411411,
0.031331826001405716,
-0.029289616271853447,
0.08433976024389267,
0.03830042853951454,
-0.011106765829026699,
-0.012262227013707161,
-0.004106815904378891,
0.04926387965679169,
0.0678945854306221,
-0.04238485172390938,
-0.05782683566212654,
-0.01162627525627613,
0.0040418775752186775,
-0.04181159660220146,
0.021514879539608955,
-0.020189233124256134,
-0.010972409509122372,
0.026638323441147804,
-0.011724803596735,
-0.042850617319345474,
-0.004827860277146101,
-0.07853557914495468,
0.015880882740020752,
0.02885967679321766,
-0.02622629888355732,
0.07817729562520981,
0.06939937174320221,
0.036795638501644135,
-0.001159940380603075,
0.017448371276259422,
-0.004330742638558149,
0.011008237488567829,
-0.024184085428714752,
-0.013023578561842442,
0.05743272602558136,
0.07853557914495468,
-0.008397252298891544,
0.035290852189064026,
0.0080613624304533,
-0.00754633080214262,
0.05155688896775246,
0.06291445344686508,
0.028590964153409004,
-0.06653311103582382,
0.0170990452170372,
-0.0074164532124996185,
-0.056537020951509476,
0.015468858182430267,
0.029486671090126038,
0.0732329934835434,
0.003797797253355384,
-0.036007415503263474,
0.022088132798671722,
0.06474169343709946,
0.0590808279812336,
0.0022560616489499807,
-0.05248842388391495,
0.004015006124973297,
0.00874209962785244,
0.017314014956355095,
0.022141873836517334,
0.01773499697446823,
-0.038121286779642105,
-0.032299190759658813,
-0.010022960603237152,
-0.04016349837183952,
0.01374910119920969,
0.03926778957247734,
-0.02798188291490078,
0.02934335730969906,
0.009243695065379143,
-0.04392546787858009,
0.018451562151312828,
-0.014501494355499744,
0.053204990923404694,
0.019024815410375595,
-0.018487390130758286,
0.044570375233888626,
0.06710635870695114,
-0.0024206480011343956,
0.05499640479683876,
0.034162260591983795,
-0.022786783054471016,
-0.01602419652044773,
0.020977456122636795,
-0.014716464094817638,
-0.004702461417764425,
-0.03641944378614426,
0.06574488431215286,
-0.02769525721669197,
0.0007300011347979307,
-0.030830230563879013,
0.0037888402584940195,
0.012996707111597061,
0.06979348510503769,
0.001707441289909184,
0.014555237255990505,
0.0015798030653968453,
0.0625203400850296,
0.015325545333325863,
-0.013220633380115032,
-0.005074179731309414,
-0.04464203119277954,
0.003838103963062167,
0.10039082914590836,
0.042958103120326996,
0.006225163117051125,
-0.012808608822524548,
-0.0026960778050124645,
0.008952590636909008,
0.05402904003858566,
-0.05492474511265755,
0.0033924898598343134,
0.03163636848330498,
0.028286423534154892,
0.026745807379484177,
0.06176794692873955,
-0.019956350326538086,
0.004912952426820993,
-0.02705034799873829,
0.02344960719347,
0.015227016992866993,
0.03208422288298607
] |
21,567 | ldsso.ld_sso | judge_api | 检测用户是否允许请求服务 | def judge_api(self, ld_project, api_url, method):
"""检测用户是否允许请求服务"""
url = urljoin(self.sso_url, self.URI_JUDGE)
headers = {**self.r.headers, "Ld-Project": quote(ld_project)}
params = {"url": api_url, "method": method}
response = self.r.get(url, params=params, headers=headers)
self.__handle_response(response)
res = response.json()
return res["effect"] == "allow", res
| (self, ld_project, api_url, method) | [
0.029487833380699158,
-0.028715072199702263,
-0.03440539911389351,
0.06874054670333862,
0.003584993304684758,
0.017580298706889153,
0.014199472032487392,
-0.041377805173397064,
-0.03556453809142113,
0.01472635380923748,
0.015876712277531624,
-0.03370288759469986,
0.0109152402728796,
-0.038251638412475586,
0.001152554526925087,
-0.07643302530050278,
0.04134267941117287,
0.02507958561182022,
0.03213980421423912,
-0.08163159340620041,
-0.004509232472628355,
0.03570504114031792,
0.04808676987886429,
0.031244106590747833,
0.007512459997087717,
0.06508749723434448,
0.04594411700963974,
0.006089878734201193,
0.033773139119148254,
-0.0027134425472468138,
-0.03491471707820892,
0.027397867292165756,
0.020249834284186363,
0.0016443111235275865,
-0.0003850080829579383,
0.012372947297990322,
0.011117211543023586,
0.005966939497739077,
-0.1253979355096817,
-0.05960792303085327,
-0.04457422345876694,
0.010730830952525139,
-0.01989857852458954,
-0.00936093833297491,
0.01333011593669653,
0.004256768152117729,
-0.05848390981554985,
0.050791431218385696,
0.013479399494826794,
-0.04246669262647629,
-0.006682620849460363,
0.031244106590747833,
0.026308977976441383,
-0.04014841467142105,
0.020249834284186363,
-0.04116705060005188,
-0.005290774162858725,
0.032754503190517426,
-0.010976709425449371,
-0.021812917664647102,
-0.000965401588473469,
-0.0026036754716187716,
0.03505522012710571,
-0.007499287836253643,
-0.001538934651762247,
0.047700390219688416,
-0.08008607476949692,
0.020794278010725975,
0.008873572573065758,
0.04861365258693695,
-0.028293566778302193,
-0.01219731941819191,
-0.008610131219029427,
0.03215736895799637,
0.05679788812994957,
-0.019248757511377335,
0.023182811215519905,
-0.03498496860265732,
-0.010537641122937202,
-0.02367456816136837,
0.05325021222233772,
-0.04099142551422119,
0.02441220171749592,
-0.0013907491229474545,
-0.04014841467142105,
-0.010704487562179565,
-0.021883169189095497,
-0.08373912423849106,
0.029926901683211327,
-0.014515601098537445,
-0.036284610629081726,
-0.01410287618637085,
0.016043558716773987,
-0.04738426208496094,
0.02423657476902008,
0.04186956211924553,
0.013479399494826794,
0.031103605404496193,
-0.051774945110082626,
-0.026449479162693024,
0.003246910637244582,
0.036425113677978516,
0.01650897227227688,
-0.015191766433417797,
0.03920002654194832,
-0.004544357769191265,
-0.03126166760921478,
-0.00525125814601779,
-0.017158793285489082,
0.05978355184197426,
-0.015639616176486015,
-0.004004303831607103,
-0.005562996491789818,
0.02565915696322918,
-0.001249149558134377,
0.031033353880047798,
-0.039656657725572586,
-0.04499572888016701,
-0.06385810673236847,
0.015894275158643723,
0.027169551700353622,
0.022445175796747208,
0.06178570166230202,
-0.047981392592191696,
0.06456061452627182,
0.034475650638341904,
-0.021619727835059166,
0.035424038767814636,
0.03775988146662712,
0.018862377852201462,
-0.0394810289144516,
-0.008561833761632442,
-0.04201006516814232,
0.036003608256578445,
0.02848675660789013,
-0.02327062375843525,
-0.014173127710819244,
-0.00644552381709218,
0.03380826488137245,
0.014901980757713318,
-0.019986392930150032,
-0.013558431528508663,
0.01916094496846199,
-0.01791398972272873,
-0.02313012257218361,
-0.013198396191000938,
-0.01914338208734989,
-0.0021316769998520613,
0.038813646882772446,
-0.024043384939432144,
0.027731560170650482,
-0.01506882719695568,
0.05704376474022865,
-0.07727603614330292,
-0.026150913909077644,
0.03266668692231178,
0.006708965171128511,
-0.06895130127668381,
0.029663460329174995,
-0.047454509884119034,
-0.019354134798049927,
-0.02226954884827137,
-0.045627985149621964,
-0.013031549751758575,
0.044187843799591064,
-0.03775988146662712,
0.0038242856971919537,
0.005233695264905691,
0.0021492396481335163,
0.047876015305519104,
-0.028240878134965897,
0.002245834795758128,
0.005224913824349642,
0.013057894073426723,
0.04548748582601547,
-0.002075695898383856,
0.0037869648076593876,
0.006357710342854261,
0.033492136746644974,
-0.009633160196244717,
-0.01844087243080139,
0.005993283353745937,
-0.027116863057017326,
0.020056644454598427,
-0.011213806457817554,
0.013224739581346512,
0.00025863872724585235,
-0.0034905937500298023,
-0.056587133556604385,
0.1085377037525177,
-0.0690918043255806,
-0.03073478676378727,
0.060696814209222794,
-0.0014434373006224632,
-0.039972785860300064,
0.024271700531244278,
0.0020175192039459944,
0.07566026598215103,
0.0035323051270097494,
-0.024622954428195953,
0.007925184443593025,
0.024131199344992638,
-0.013874560594558716,
0.05121293663978577,
-0.013154488988220692,
-0.0022074163425713778,
-0.04099142551422119,
-0.0008221555617637932,
0.004812189377844334,
-0.005800093524158001,
0.015718648210167885,
0.03256131336092949,
-0.0036091420333832502,
0.03719787299633026,
0.012364165857434273,
0.01914338208734989,
0.07151545584201813,
0.009958070702850819,
0.006085488013923168,
0.0031327528413385153,
0.014568288810551167,
-0.0218480434268713,
0.009176529012620449,
-0.026712920516729355,
-0.012917391955852509,
0.042361319065093994,
0.04422296956181526,
0.06129394844174385,
-0.0211630966514349,
-0.07383374124765396,
0.02100503258407116,
-0.023323312401771545,
0.035424038767814636,
0.01844087243080139,
-0.029926901683211327,
-0.0288906991481781,
0.031244106590747833,
0.02478102035820484,
0.017246605828404427,
0.003565235296264291,
0.10326888412237167,
-0.002430243417620659,
0.0002571294317021966,
0.030225466936826706,
-0.08121009171009064,
-0.04113192483782768,
0.010625454597175121,
0.013496962375938892,
0.005549824330955744,
-0.0507563054561615,
-0.03761937841773033,
-0.0345107764005661,
-0.04190468788146973,
-0.014006281271576881,
-0.04141293093562126,
-0.05844878405332565,
-0.04018354043364525,
0.025395715609192848,
0.020618651062250137,
-0.020320085808634758,
-0.01872187666594982,
0.004300674889236689,
0.023463815450668335,
0.04675200209021568,
-0.04569823667407036,
0.031367044895887375,
0.05268820747733116,
0.02295449562370777,
0.05609537661075592,
-0.010405920445919037,
0.01689535193145275,
-0.04555773735046387,
0.010827426798641682,
-0.048859529197216034,
0.01873943954706192,
0.003973568789660931,
0.030629411339759827,
0.04682225361466408,
0.04162368178367615,
-0.040675293654203415,
0.017097322270274162,
-0.008517926558852196,
0.0022853510454297066,
-0.0011734102154150605,
-0.051107559353113174,
-0.020513275638222694,
0.009299468249082565,
0.09596278518438339,
0.0006026213523000479,
-0.04176418483257294,
0.006599198095500469,
0.007933965884149075,
0.006164520047605038,
-0.036284610629081726,
0.023621879518032074,
0.06740577518939972,
0.0295932088047266,
0.012065599672496319,
0.025465967133641243,
-0.01789642684161663,
-0.014498038217425346,
0.0422559417784214,
-0.00471998518332839,
-0.05342584103345871,
0.0366709902882576,
-0.04327458143234253,
0.003012009197846055,
-0.06104806810617447,
-0.02002151869237423,
0.024605391547083855,
-0.01049373485147953,
-0.01523567270487547,
0.018546247854828835,
-0.04604949429631233,
-0.04622511938214302,
-0.012592481449246407,
-0.014419006183743477,
0.0016025996301323175,
-0.024763457477092743,
0.013892123475670815,
-0.009000902064144611,
0.024464890360832214,
0.020478149875998497,
0.019108256325125694,
0.042361319065093994,
-0.048262398689985275,
0.10383088886737823,
0.032069556415081024,
0.002388532040640712,
0.0007233651704154909,
-0.04341508075594902,
0.047559887170791626,
0.016517752781510353,
-0.04099142551422119,
0.007841761223971844,
-0.06596563756465912,
-0.02058352530002594,
-0.057992152869701385,
0.0047419387847185135,
0.022497864440083504,
-0.06470111757516861,
-0.06473623961210251,
-0.014208253473043442,
0.013698933646082878,
0.029926901683211327,
0.01650897227227688,
0.007815416902303696,
0.047419384121894836,
0.05451473221182823,
-0.059994302690029144,
-0.019793203100562096,
-0.018563810735940933,
-0.015007357113063335,
0.01613137312233448,
0.016456283628940582,
-0.005786921363323927,
0.001948365941643715,
-0.06796778738498688,
0.02947027049958706,
0.013453055173158646,
0.05704376474022865,
-0.053917597979307175,
-0.02367456816136837,
0.08106958866119385,
-0.05806240439414978,
-0.025852346792817116,
0.038567766547203064,
-0.08535489439964294,
0.039129775017499924,
-0.00858817808330059,
-0.0098702572286129,
-0.015218110755085945,
-0.034475650638341904,
-0.021338723599910736,
-0.01203925535082817,
0.07207746803760529,
0.022813992574810982,
-0.020653776824474335,
-0.0409211739897728,
0.07657352834939957,
0.0014950279146432877,
0.016737286001443863,
-0.004083335865288973,
0.021461661905050278,
0.0634014755487442,
-0.06020505726337433,
-0.05314483866095543,
-0.0010570571757853031,
-0.031208980828523636,
0.021514350548386574,
0.0677570328116417,
-0.01803692989051342,
-0.02788962423801422,
0.02383263222873211,
-0.061645202338695526,
-0.005562996491789818,
-0.06231258437037468,
-0.01845843531191349,
0.019635139033198357,
0.04429321736097336,
-0.007486116141080856,
0.02973371185362339,
0.015753773972392082,
-0.026291415095329285,
-0.03354482352733612,
0.03141973540186882,
0.030927976593375206,
-0.028662383556365967,
-0.05851903557777405,
-0.004864877555519342,
0.0030800646636635065,
-0.029909338802099228,
-0.009185310453176498,
0.006015236955136061,
0.006050362251698971,
0.028960950672626495,
0.005975720938295126,
0.0634014755487442,
-0.04141293093562126,
0.09547103196382523,
0.07070757448673248,
-0.05511186271905899,
0.042220816016197205,
0.02225198596715927,
-0.08128034323453903,
0.024060947820544243,
0.0011037081712856889,
-0.011196243576705456,
-0.007060219533741474,
0.007139252033084631,
0.01801936700940132,
0.05876491218805313,
0.0013600143138319254,
-0.05384734645485878,
-0.0035279144067317247,
-0.014752698130905628,
-0.05890541523694992,
0.014585851691663265,
0.0015049069188535213,
-0.007868105545639992,
0.0016761436127126217,
0.01819499395787716,
-0.044187843799591064,
0.02353406511247158,
0.058308281004428864,
-0.01396237500011921,
-0.028996076434850693,
0.03129679337143898,
0.07495775818824768,
-0.05258283019065857,
-0.015305924229323864,
0.05033480003476143,
0.024043384939432144,
0.014682446606457233,
0.0036354863550513983,
-0.015244454145431519,
-0.029364893212914467,
0.0007650766638107598,
0.03156023472547531,
0.057324767112731934,
0.027415430173277855,
-0.012864703312516212,
-0.04439859464764595,
0.04313407838344574,
0.0025136664044111967,
0.0007332442328333855,
0.03582797944545746,
0.0204430241137743,
-0.007657352834939957,
-0.02565915696322918,
-0.03509034588932991,
-0.04689250513911247,
0.016588004305958748,
-0.014629758894443512,
0.025588905438780785,
0.0345459021627903,
0.026835860684514046,
0.05880003795027733,
-0.0017606642795726657,
-0.0001588878658367321,
-0.04116705060005188,
0.0028254049830138683,
0.0033764359541237354,
-0.007292925845831633,
-0.020952343940734863,
-0.07671403139829636,
-0.03001471422612667,
0.027432993054389954,
-0.005000988952815533,
-0.09181798249483109,
0.04000791162252426,
-0.02267349138855934,
0.04186956211924553,
-0.00007100559014361352,
-0.01872187666594982,
-0.004948300775140524,
-0.013971156440675259,
-0.024763457477092743,
-0.02441220171749592,
0.04608461633324623,
0.013751622289419174,
0.004592655226588249,
-0.02126847207546234,
0.01395359355956316,
0.05862441286444664,
-0.018634062260389328,
0.017439795657992363,
0.004307260736823082,
0.026045536622405052,
0.056306131184101105,
-0.04541723430156708,
0.03937565162777901,
0.025887472555041313,
0.0042260331101715565,
0.012697857804596424,
0.015402519144117832,
0.032912567257881165,
0.002287546405568719,
-0.03338675945997238,
-0.006296240724623203,
0.03902439773082733,
-0.05943229794502258,
0.02750324457883835,
0.010379577055573463,
0.009958070702850819,
-0.006612369790673256,
0.010045885108411312,
0.0038001369684934616,
-0.0733419805765152,
0.04397708922624588,
-0.004592655226588249,
0.021742666140198708,
-0.008671600371599197,
0.002220588270574808,
0.00013364144251681864,
0.042923323810100555,
-0.05258283019065857,
-0.023938007652759552,
-0.017141230404376984,
0.03191148862242699,
0.044187843799591064,
0.013804310001432896,
-0.02622116357088089,
-0.00874624215066433,
-0.03765450417995453,
0.0011964613804593682,
-0.06610613316297531,
-0.01219731941819191,
0.07362298667430878,
-0.012504667975008488,
0.020952343940734863,
0.060696814209222794,
0.0008424624684266746,
-0.04871902987360954,
0.06413911283016205,
0.06944305449724197,
0.05044017732143402,
-0.013426710851490498,
-0.007174377329647541,
-0.005822046659886837,
-0.055182114243507385,
-0.0761520192027092,
-0.04141293093562126,
0.00212399335578084,
-0.12729470431804657,
-0.058554161339998245,
0.0296107716858387,
0.03329894691705704,
0.022041233256459236,
-0.06501724570989609,
0.04963229224085808,
-0.05469035729765892,
-0.016886569559574127,
-0.010054665617644787,
0.01282957848161459,
0.01914338208734989,
0.003644267562776804,
0.0006586025701835752,
0.0051019745878875256,
0.030927976593375206,
0.014752698130905628,
-0.00944875180721283,
0.0005773749435320497,
-0.03638998791575432,
-0.01689535193145275,
-0.01014248002320528,
0.013865780085325241,
-0.028223315253853798,
0.06691402196884155,
-0.023885320872068405,
-0.020548401400446892,
0.03045378252863884,
0.016561659052968025,
-0.059713300317525864,
-0.03552941232919693,
0.0930122435092926,
-0.04689250513911247,
0.0037935508880764246,
0.02901363931596279,
0.011020616628229618,
0.02098746970295906,
-0.01844087243080139,
-0.034475650638341904,
-0.10804595053195953,
-0.019547324627637863,
0.03818138688802719,
-0.09076421707868576,
-0.06564950197935104,
0.006006455514580011,
-0.021812917664647102,
0.029382456094026566,
-0.03719787299633026,
-0.032631561160087585,
-0.006296240724623203,
0.023938007652759552,
0.043625835329294205,
-0.005260039120912552,
0.06171545386314392,
0.0366358645260334,
-0.05553336814045906,
-0.011380652897059917,
0.025132274255156517,
0.02636166661977768,
-0.021356286481022835,
-0.02579965814948082,
-0.010950366035103798,
0.036144111305475235,
-0.0058922977186739445,
-0.011029398068785667,
0.00046074739657342434,
-0.014006281271576881,
0.01431362982839346,
0.021110408008098602,
0.00662554195150733,
-0.013584775850176811,
-0.04710325598716736,
0.013031549751758575,
-0.03175342455506325,
0.014629758894443512,
0.03087528981268406,
0.015964526683092117,
0.00553665217012167,
-0.03356238827109337,
0.025448404252529144,
0.0064060078002512455,
0.029487833380699158,
-0.010660580359399319,
0.026888547465205193,
0.04871902987360954,
-0.04763013869524002,
-0.06564950197935104,
-0.005611293949186802,
0.05570899695158005,
0.011608968488872051,
-0.05521724000573158,
-0.03972690925002098,
-0.0009039320284500718,
0.05876491218805313,
-0.012601262889802456,
-0.02622116357088089,
-0.04538210853934288,
-0.00839498732239008,
0.0006179887568578124,
-0.07509825378656387,
-0.0197229515761137,
0.017246605828404427,
0.005571777932345867,
-0.09083446860313416,
0.060134805738925934,
0.05767602473497391,
0.02579965814948082,
0.006629932671785355,
0.07643302530050278,
0.07516850531101227,
0.03143729642033577,
0.006366491783410311,
-0.00415358692407608,
-0.026712920516729355,
-0.00199117511510849,
-0.009808788076043129,
-0.051388565450906754,
-0.024552704766392708,
-0.019793203100562096,
0.02395557053387165,
-0.0112752765417099,
0.038427263498306274,
0.045030854642391205,
-0.042220816016197205,
-0.012258789502084255,
0.03168317303061485,
-0.09237998723983765,
-0.027151988819241524,
0.01274176500737667,
0.029083890840411186,
0.02365700528025627,
-0.044047340750694275,
-0.02441220171749592,
0.09364450722932816,
-0.03649536520242691,
0.07084807753562927,
0.020214708521962166,
-0.029417581856250763,
-0.016245530918240547,
0.049948420375585556,
-0.015463988296687603,
0.059713300317525864,
0.004179931245744228,
-0.01861649937927723,
0.004142610356211662,
-0.05802727863192558,
-0.029786398634314537,
0.04204518720507622,
0.03552941232919693,
-0.04387171193957329,
0.05114268511533737,
0.03730325028300285,
-0.01725538820028305,
0.019389260560274124,
0.006774825043976307,
0.02778424695134163,
-0.012970080599188805,
0.021795354783535004,
0.00532150873914361,
0.002744177356362343,
-0.019283883273601532,
-0.007174377329647541,
0.014436568133533001,
-0.01577133685350418,
-0.0317007377743721,
-0.006261115428060293,
-0.030822601169347763,
0.02553621679544449,
-0.06189107894897461,
0.008965776301920414,
-0.02000395581126213,
-0.015885494649410248,
-0.04359070956707001,
0.012364165857434273,
0.018511123955249786,
0.018967755138874054,
0.017966678366065025,
-0.023340875282883644,
0.0070470478385686874,
-0.05887028947472572,
-0.04696275293827057,
0.012434416450560093,
0.011240150779485703,
-0.0746065005660057,
0.02750324457883835,
-0.0010109549621120095,
0.0788918063044548,
0.00813593715429306,
0.04780576750636101,
-0.020074207335710526,
0.033193569630384445,
0.01572742871940136,
-0.05932692065834999,
0.0008946018642745912,
0.049105409532785416,
0.009343375451862812,
-0.02904876507818699,
0.05121293663978577,
-0.039094649255275726,
0.0204254612326622,
-0.024851270020008087,
0.022357361391186714,
0.009501439519226551,
0.01960001327097416
] |
21,568 | ldsso.ld_sso | judge_resource | 检测用户是否允许请求数据 | def judge_resource(self, action, resource):
"""检测用户是否允许请求数据"""
url = urljoin(self.sso_url, self.URI_JUDGE)
data = [{"action": action, "resource": resource}]
response = self.r.post(url, json=data)
self.__handle_response(response)
res = response.json()
return res["effect"] == "allow", res
| (self, action, resource) | [
0.050500642508268356,
-0.01456749252974987,
-0.013745063915848732,
0.06638927012681961,
0.025635287165641785,
0.016614815220236778,
0.03671183064579964,
-0.013158864341676235,
-0.012283939868211746,
-0.05092060565948486,
0.03368459269404411,
0.03671183064579964,
0.00793556496500969,
-0.01886337250471115,
-0.000658380682580173,
-0.07839323580265045,
0.005122683010995388,
0.014130030758678913,
0.022958017885684967,
-0.00795306358486414,
-0.009449184872210026,
-0.001164743211120367,
0.04878579080104828,
0.006789414212107658,
-0.0022244954016059637,
0.08245288580656052,
0.052250489592552185,
0.019545812159776688,
0.03466450795531273,
0.011374018155038357,
-0.047910865396261215,
0.013605075888335705,
0.05872493237257004,
0.027157656848430634,
0.011811480857431889,
0.04465614631772041,
-0.020000774413347244,
0.03583690524101257,
-0.12017963081598282,
-0.06719420105218887,
-0.08441271632909775,
0.002834755228832364,
-0.07580345869064331,
-0.03275717422366142,
0.011811480857431889,
0.015179939568042755,
0.0033094019163399935,
0.0436762310564518,
0.03587190434336662,
-0.09743159264326096,
0.03212722763419151,
0.017297256737947464,
-0.017848460003733635,
-0.012555166147649288,
0.007624967023730278,
-0.026265233755111694,
-0.008193667978048325,
0.07853322476148605,
-0.014173776842653751,
-0.02794508822262287,
0.022958017885684967,
0.001353945699520409,
-0.009029220789670944,
-0.04080647975206375,
-0.014838719740509987,
0.01886337250471115,
-0.046056024730205536,
-0.041716400533914566,
0.008163045160472393,
0.06435944885015488,
-0.011890224181115627,
-0.005507649853825569,
0.022625546902418137,
0.01738474890589714,
0.03625687211751938,
-0.03611688315868378,
0.03888164460659027,
0.00924795214086771,
-0.03396456688642502,
-0.030149897560477257,
0.07965312153100967,
-0.0409114696085453,
0.009090465493500233,
-0.00833803042769432,
-0.05246047303080559,
-0.011032797396183014,
0.001598924514837563,
-0.04871579632163048,
-0.05494525656104088,
-0.01247642282396555,
-0.027717607095837593,
-0.02840004861354828,
0.015949873253703117,
-0.027105160057544708,
0.053580377250909805,
0.051025595515966415,
-0.030517365783452988,
0.017524737864732742,
-0.04017653316259384,
-0.018705885857343674,
-0.012310187332332134,
0.051025595515966415,
0.03174225986003876,
0.005525148008018732,
0.040281523019075394,
-0.016842296347022057,
0.009256700985133648,
0.042241353541612625,
0.01130402460694313,
-0.011636495590209961,
0.02005326934158802,
0.006793788634240627,
-0.013351347297430038,
0.04336125776171684,
0.006649426184594631,
-0.013526332564651966,
-0.028592532500624657,
-0.035976894199848175,
-0.010700326412916183,
-0.03452451899647713,
-0.005402658600360155,
-0.028347553685307503,
0.06610929220914841,
-0.05743004381656647,
0.054035335779190063,
0.036746829748153687,
-0.03492698445916176,
0.014366259798407555,
-0.017953449860215187,
0.0502556636929512,
-0.0690140426158905,
-0.02260804921388626,
-0.06778915226459503,
0.03891663998365402,
-0.016116108745336533,
-0.03088483400642872,
0.007235625293105841,
0.010420350357890129,
0.03741177171468735,
-0.03524195775389671,
0.021785620599985123,
0.01853090152144432,
-0.029904918745160103,
0.00871424749493599,
-0.018443407490849495,
-0.04364123195409775,
0.005529522895812988,
0.03546943888068199,
0.055925171822309494,
-0.00733186723664403,
0.02595026046037674,
0.003436265978962183,
0.04924074932932854,
-0.08546262234449387,
-0.0013594139600172639,
0.0749635323882103,
-0.02936246618628502,
-0.06719420105218887,
-0.01373631414026022,
-0.05823497474193573,
-0.03009740263223648,
-0.043536242097616196,
-0.08343280106782913,
0.051620543003082275,
0.036011893302202225,
-0.001381287002004683,
-0.02057822421193123,
0.009466682560741901,
0.017594732344150543,
0.042276352643966675,
-0.0376567505300045,
-0.009799154475331306,
-0.011942719109356403,
-0.017043529078364372,
0.042276352643966675,
0.042241353541612625,
-0.00830303318798542,
-0.046755965799093246,
0.04119144380092621,
-0.018653390929102898,
-0.0020145135931670666,
-0.026440218091011047,
0.005603891331702471,
0.021103179082274437,
-0.005555770359933376,
-0.04315127432346344,
0.021488144993782043,
-0.003289716085419059,
-0.02817256934940815,
0.09330194443464279,
-0.020263250917196274,
-0.0109365563839674,
-0.009904145263135433,
0.004182138945907354,
-0.038566671311855316,
-0.022118091583251953,
-0.00956292450428009,
0.037306781858205795,
0.03539944440126419,
0.0005410861340351403,
-0.09204205870628357,
0.0063169547356665134,
-0.023325486108660698,
0.056030165404081345,
-0.007716834079474211,
0.01961580663919449,
0.00500456802546978,
0.03294965624809265,
-0.029712434858083725,
-0.024865353479981422,
-0.023815443739295006,
0.03566192090511322,
-0.012213945388793945,
0.03275717422366142,
0.04262632131576538,
0.00884111225605011,
0.053440388292074203,
0.01746349222958088,
-0.040876470506191254,
0.0007677462417632341,
-0.027035167440772057,
0.015818635001778603,
-0.031199807301163673,
-0.01045534759759903,
0.002355734119191766,
0.018215928226709366,
0.007747456431388855,
0.04420118406414986,
-0.03870666027069092,
-0.011260278522968292,
0.006220713257789612,
0.018023444339632988,
0.07944314181804657,
0.020000774413347244,
-0.02750762552022934,
0.025810271501541138,
0.035784412175416946,
0.025040339678525925,
-0.027122659608721733,
0.04444616287946701,
0.04143642261624336,
-0.014759976416826248,
0.004645849112421274,
-0.05463028326630592,
-0.04710593447089195,
-0.03863666579127312,
0.04248633235692978,
0.027700109407305717,
-0.0005380785441957414,
-0.07258373498916626,
-0.008163045160472393,
0.009037969633936882,
-0.06008981540799141,
-0.08896232396364212,
-0.06624928116798401,
-0.0357494130730629,
-0.015223685652017593,
0.02932746894657612,
0.009624169208109379,
0.01634358987212181,
-0.023342985659837723,
0.005923238582909107,
0.032564688473939896,
0.04241633787751198,
-0.04938073828816414,
-0.010017885826528072,
-0.02260804921388626,
0.056660108268260956,
0.002806320320814848,
-0.023920435458421707,
0.05564519762992859,
-0.04273131117224693,
0.010586585849523544,
-0.06414946168661118,
0.016177354380488396,
-0.047315917909145355,
0.07174380868673325,
0.04024652764201164,
0.04959072172641754,
-0.026790188625454903,
-0.04514610394835472,
0.014646235853433609,
0.031567275524139404,
0.022310573607683182,
-0.07370363920927048,
-0.04770088195800781,
0.035784412175416946,
0.08098301291465759,
-0.0037271783221513033,
-0.01839091256260872,
-0.016474828124046326,
0.015958622097969055,
-0.03121730498969555,
-0.02446288801729679,
0.0014130030758678913,
0.06652925908565521,
0.022958017885684967,
-0.018618393689393997,
0.03483949229121208,
0.0074324836023151875,
0.01594112440943718,
-0.000926326320040971,
-0.015179939568042755,
-0.04651098698377609,
-0.017778465524315834,
-0.04637099802494049,
0.01642233319580555,
-0.05186552181839943,
-0.038426682353019714,
0.03205723315477371,
0.007156882435083389,
-0.005083311349153519,
0.018005946651101112,
-0.0068112872540950775,
-0.010297860950231552,
0.027157656848430634,
0.00958042312413454,
0.041681401431560516,
-0.029869921505451202,
0.027665112167596817,
-0.006601305212825537,
0.017104772850871086,
0.012152700684964657,
0.025110332295298576,
-0.023657958954572678,
-0.06260959804058075,
0.01816343143582344,
0.00871424749493599,
-0.00025154079776257277,
0.013018876314163208,
-0.05840995907783508,
0.01043784897774458,
0.002257305197417736,
-0.0312873013317585,
-0.03748176619410515,
0.006645051296800375,
-0.02976493164896965,
-0.037866730242967606,
-0.012485172599554062,
0.04119144380092621,
-0.04129643738269806,
-0.02950245328247547,
0.03947659209370613,
0.0023491722531616688,
0.01991328038275242,
0.003967782482504845,
0.00545077957212925,
0.011933970265090466,
0.03399956598877907,
-0.09169208258390427,
-0.024532882496714592,
0.027122659608721733,
0.01468123309314251,
-0.016072362661361694,
-0.0011975528905168176,
-0.015923624858260155,
0.0042499457485973835,
-0.03762175142765045,
0.005507649853825569,
0.047140929847955704,
0.06488440185785294,
-0.029642442241311073,
-0.010262864641845226,
0.04112144932150841,
-0.047140929847955704,
0.008932978846132755,
0.05148055776953697,
-0.05333539843559265,
0.01343884039670229,
-0.061069730669260025,
-0.018583396449685097,
-0.032494693994522095,
-0.034349534660577774,
-0.005363286938518286,
0.01091905776411295,
0.05683509632945061,
0.015249934047460556,
-0.02161063440144062,
-0.007668713107705116,
0.0038212325889617205,
0.01456749252974987,
0.030534865334630013,
-0.03814670816063881,
-0.0024716616608202457,
-0.021033184602856636,
-0.05263545736670494,
-0.09449184685945511,
0.002357921563088894,
-0.05312541499733925,
0.026597704738378525,
0.047245923429727554,
-0.015914876013994217,
-0.03238970413804054,
-0.019930779933929443,
-0.05057063698768616,
0.0036331238225102425,
-0.010166622698307037,
-0.009825401939451694,
0.011242779903113842,
0.06446443498134613,
-0.0024497886188328266,
0.05407033488154411,
-0.01793595217168331,
-0.01809343881905079,
-0.05396534129977226,
0.057360049337148666,
0.015127444639801979,
-0.027402635663747787,
-0.03377208486199379,
-0.009519178420305252,
0.035451941192150116,
-0.03982656076550484,
0.017402248457074165,
0.009291698224842548,
-0.0007414984866045415,
-0.017699722200632095,
0.01468123309314251,
0.07279371470212936,
-0.047280918806791306,
0.0470709390938282,
0.059179890900850296,
-0.007388737518340349,
0.03636186197400093,
0.013797558844089508,
-0.05697508156299591,
-0.05071062222123146,
0.021453147754073143,
0.002458537695929408,
0.007957438006997108,
0.028260061517357826,
-0.043536242097616196,
0.03933660313487053,
0.042311348021030426,
-0.08441271632909775,
-0.029012495651841164,
-0.04385121539235115,
-0.0408414751291275,
0.023780448362231255,
-0.020070767030119896,
-0.004785837139934301,
0.059669848531484604,
0.0033815831411629915,
-0.033054646104574203,
0.005284544080495834,
0.017306005582213402,
0.008289909921586514,
-0.06348451972007751,
0.06705421209335327,
0.018023444339632988,
-0.012598912231624126,
0.02323799394071102,
0.027087662369012833,
0.024882853031158447,
-0.013115118257701397,
0.005844495724886656,
0.02264304645359516,
0.04822583869099617,
-0.025932760909199715,
0.004278380889445543,
0.010612834244966507,
-0.018478404730558395,
-0.005153305362910032,
-0.027892593294382095,
-0.01816343143582344,
-0.010499093681573868,
-0.01216145046055317,
0.020210755988955498,
0.03573191538453102,
0.04927574843168259,
0.009457933716475964,
-0.0629945620894432,
0.0006425226456485689,
-0.007375613320618868,
-0.03685181960463524,
-0.00733186723664403,
0.026965172961354256,
0.03632686287164688,
0.06936401128768921,
0.030972326174378395,
0.0437462255358696,
-0.02379794605076313,
0.029222477227449417,
0.016912290826439857,
-0.031077317893505096,
-0.0235354695469141,
-0.08595257997512817,
-0.03261718526482582,
-0.003926223609596491,
0.006636302452534437,
-0.04763088747859001,
0.022958017885684967,
-0.04297628998756409,
0.03336961939930916,
-0.005669510457664728,
-0.031374793499708176,
-0.008959226310253143,
0.0027756979689002037,
0.0021184110082685947,
-0.005477027501910925,
0.03881165012717247,
-0.012021462433040142,
0.01176773477345705,
-0.04199637472629547,
0.0015223686350509524,
-0.012896386906504631,
-0.022380568087100983,
0.02168062888085842,
-0.009055468253791332,
0.0628545731306076,
0.05928488448262215,
-0.0011007643770426512,
0.023640459403395653,
0.07713334262371063,
0.03529445454478264,
-0.02101568691432476,
-0.00967666506767273,
0.04273131117224693,
0.03405206277966499,
0.0000651750378892757,
-0.03496198356151581,
0.02817256934940815,
-0.05123557895421982,
0.017673473805189133,
0.03251219540834427,
-0.010420350357890129,
-0.042836301028728485,
-0.029642442241311073,
-0.03002740815281868,
-0.0501856692135334,
0.011881474405527115,
-0.012327685952186584,
0.0008574259700253606,
-0.0027210151311010122,
-0.02939746342599392,
-0.043536242097616196,
0.07090388238430023,
-0.0032022236846387386,
0.00031716012745164335,
-0.0233954805880785,
-0.015057450160384178,
0.037166792899370193,
0.02098068967461586,
-0.016483576968312263,
0.015293680131435394,
0.007449982222169638,
0.005157679785043001,
-0.03611688315868378,
-0.02654520981013775,
0.06274958699941635,
-0.017402248457074165,
0.0058751180768013,
0.0282425619661808,
-0.018600894138216972,
-0.03235470876097679,
0.07622341811656952,
0.03688681498169899,
0.0939318910241127,
0.012406429275870323,
-0.00768183683976531,
0.043501246720552444,
-0.032897159457206726,
-0.07923316210508347,
0.013596326112747192,
0.01819842867553234,
-0.07293370366096497,
-0.042206358164548874,
0.03702680394053459,
0.0375867560505867,
0.0219081100076437,
-0.04213636368513107,
0.06729919463396072,
-0.021995602175593376,
0.045986030250787735,
0.03902163356542587,
0.009772906079888344,
-0.019178343936800957,
0.005000193603336811,
-0.000091320245701354,
0.02950245328247547,
0.06883905827999115,
0.02379794605076313,
-0.01219644770026207,
-0.010096628218889236,
-0.057325053960084915,
0.017848460003733635,
0.05935487896203995,
0.04322126880288124,
0.013482586480677128,
0.02045573480427265,
-0.005892616230994463,
-0.028575032949447632,
0.021068181842565536,
-0.004628350492566824,
-0.042241353541612625,
0.005599516909569502,
0.05270545184612274,
0.024742864072322845,
-0.01126902736723423,
0.0014731540577486157,
0.027735106647014618,
0.02294052019715309,
-0.01601986773312092,
-0.035049475729465485,
-0.09813152998685837,
0.008097426034510136,
0.025740278884768486,
-0.10562088340520859,
-0.06631927937269211,
-0.03560942783951759,
-0.013202610425651073,
0.005249546840786934,
-0.06057977303862572,
-0.03272217512130737,
0.021768121048808098,
-0.007301244884729385,
0.05683509632945061,
-0.04822583869099617,
0.029834924265742302,
0.018950864672660828,
-0.017227262258529663,
-0.022888025268912315,
0.04234634339809418,
0.030184894800186157,
0.010962803848087788,
-0.018565896898508072,
-0.011514006182551384,
-0.002221214585006237,
0.01945831999182701,
-0.06057977303862572,
-0.03427954018115997,
-0.04521609842777252,
-0.03818170353770256,
0.032302211970090866,
0.03839168697595596,
-0.033229630440473557,
-0.006973148323595524,
0.023028012365102768,
0.012021462433040142,
0.035119470208883286,
0.03065735474228859,
0.02005326934158802,
0.05267045274376869,
-0.0036112507805228233,
-0.004448990803211927,
-0.005538272205740213,
0.07440357655286789,
0.011181535199284554,
0.03336961939930916,
-0.022730538621544838,
-0.024917850270867348,
-0.04003654420375824,
0.04266131669282913,
0.039651576429605484,
0.008373027667403221,
0.019860785454511642,
-0.0005055423243902624,
0.007436858024448156,
-0.0026728943921625614,
-0.03028988651931286,
-0.017332253977656364,
-0.0054551539942622185,
0.03546943888068199,
0.03982656076550484,
-0.033124640583992004,
-0.005603891331702471,
0.020035771653056145,
-0.0377267450094223,
-0.10170122236013412,
0.006452567875385284,
0.09134211391210556,
-0.0007961812661960721,
-0.0020571663044393063,
0.04392120987176895,
0.04941573366522789,
0.023710453882813454,
0.01499620545655489,
0.034419529139995575,
-0.013990042731165886,
-0.031182309612631798,
-0.003493136027827859,
-0.0018843685975298285,
-0.05438530445098877,
-0.008701124228537083,
0.0013965981779620051,
0.03280966728925705,
0.04182139039039612,
0.008548012003302574,
-0.04612601920962334,
-0.026195239275693893,
0.03217972442507744,
-0.026930175721645355,
-0.04962571710348129,
-0.0036112507805228233,
0.07762330025434494,
0.0054682781919837,
-0.036641836166381836,
-0.050500642508268356,
0.13473837077617645,
-0.002935371594503522,
0.06260959804058075,
0.01128652598708868,
-0.02909998781979084,
-0.015529909171164036,
0.004422743339091539,
-0.03550443425774574,
0.012756398878991604,
-0.044621147215366364,
-0.048540811985731125,
0.07909317314624786,
-0.07825324684381485,
-0.034087058156728745,
0.059669848531484604,
0.007743081543594599,
-0.016299843788146973,
-0.008648628368973732,
0.0067062960006296635,
-0.057954996824264526,
0.02306300960481167,
0.014392508193850517,
0.0020954441279172897,
-0.015074948780238628,
0.017332253977656364,
0.017953449860215187,
-0.011146537959575653,
-0.03091983124613762,
-0.011662743054330349,
-0.004785837139934301,
-0.01653607189655304,
0.03462951257824898,
-0.016299843788146973,
-0.018005946651101112,
0.012388930656015873,
-0.0691540315747261,
-0.004083710256963968,
0.017489740625023842,
0.0021873111836612225,
-0.006133220624178648,
0.00917795766144991,
0.047280918806791306,
0.05449029803276062,
0.026265233755111694,
0.017218513414263725,
-0.0054682781919837,
-0.047875866293907166,
-0.03359710052609444,
0.02628273144364357,
0.0018865559250116348,
-0.035941898822784424,
-0.007747456431388855,
0.02724514901638031,
0.06330953538417816,
-0.005656386725604534,
0.0593198798596859,
0.024777861312031746,
0.05687009170651436,
0.022678041830658913,
-0.07587344944477081,
0.04150641709566116,
0.014060036279261112,
0.03650185093283653,
-0.06733419001102448,
0.04273131117224693,
-0.052880436182022095,
0.017139770090579987,
-0.04938073828816414,
-0.0009897582931444049,
0.023937933146953583,
-0.0007671993807889521
] |
21,570 | delorean.dates | Delorean |
The class `Delorean <Delorean>` object. This method accepts naive
datetime objects, with a string timezone.
| class Delorean(object):
"""
The class `Delorean <Delorean>` object. This method accepts naive
datetime objects, with a string timezone.
"""
_VALID_SHIFT_DIRECTIONS = ('last', 'next')
_VALID_SHIFT_UNITS = ('second', 'minute', 'hour', 'day', 'week',
'month', 'year', 'monday', 'tuesday', 'wednesday',
'thursday', 'friday', 'saturday', 'sunday')
def __init__(self, datetime=None, timezone=None):
# maybe set timezone on the way in here. if here set it if not
# use UTC
is_datetime_instance(datetime)
if datetime:
if is_datetime_naive(datetime):
if timezone:
if isinstance(timezone, tzoffset):
utcoffset = timezone.utcoffset(None)
total_seconds = (
(utcoffset.microseconds + (
utcoffset.seconds + utcoffset.days * 24 * 3600) * 10 ** 6) / 10 ** 6)
self._tzinfo = pytz.FixedOffset(total_seconds / 60)
elif isinstance(timezone, tzinfo):
self._tzinfo = timezone
else:
self._tzinfo = pytz.timezone(timezone)
self._dt = localize(datetime, self._tzinfo)
self._tzinfo = self._dt.tzinfo
else:
# TODO(mlew, 2015-08-09):
# Should we really throw an error here, or should this
# default to UTC?)
raise DeloreanInvalidTimezone('Provide a valid timezone')
else:
self._tzinfo = datetime.tzinfo
self._dt = datetime
else:
if timezone:
if isinstance(timezone, tzoffset):
self._tzinfo = pytz.FixedOffset(timezone.utcoffset(None).total_seconds() / 60)
elif isinstance(timezone, tzinfo):
self._tzinfo = timezone
else:
self._tzinfo = pytz.timezone(timezone)
self._dt = datetime_timezone(self._tzinfo)
self._tzinfo = self._dt.tzinfo
else:
self._tzinfo = pytz.utc
self._dt = datetime_timezone('UTC')
def __repr__(self):
dt = self.datetime.replace(tzinfo=None)
if isinstance(self.timezone, pytz._FixedOffset):
tz = self.timezone
else:
tz = self.timezone.tzname(None)
return 'Delorean(datetime=%r, timezone=%r)' % (dt, tz)
def __eq__(self, other):
if isinstance(other, Delorean):
return self.epoch == other.epoch
return False
def __lt__(self, other):
return self.epoch < other.epoch
def __gt__(self, other):
return self.epoch > other.epoch
def __ge__(self, other):
return self.epoch >= other.epoch
def __le__(self, other):
return self.epoch <= other.epoch
def __ne__(self, other):
return not self == other
def __add__(self, other):
if not isinstance(other, timedelta):
raise TypeError("Delorean objects can only be added with timedelta objects")
dt = self._dt + other
return Delorean(datetime=dt, timezone=self.timezone)
def __sub__(self, other):
if isinstance(other, timedelta):
dt = self._dt - other
return Delorean(datetime=dt, timezone=self.timezone)
elif isinstance(other, Delorean):
return self._dt - other._dt
else:
raise TypeError("Delorean objects can only be subtracted with timedelta or other Delorean objects")
def __getattr__(self, name):
"""
Implement __getattr__ to call `shift_date` function when function
called does not exist
"""
func_parts = name.split('_')
# is the func we are trying to call the right length?
if len(func_parts) != 2:
raise AttributeError
# is the function we are trying to call valid?
if (func_parts[0] not in self._VALID_SHIFT_DIRECTIONS or
func_parts[1] not in self._VALID_SHIFT_UNITS):
return AttributeError
# dispatch our function
func = partial(self._shift_date, func_parts[0], func_parts[1])
# update our partial with self.shift_date attributes
update_wrapper(func, self._shift_date)
return func
def _shift_date(self, direction, unit, *args):
"""
Shift datetime in `direction` in _VALID_SHIFT_DIRECTIONS and by some
unit in _VALID_SHIFTS and shift that amount by some multiple,
defined by by args[0] if it exists
"""
this_module = sys.modules[__name__]
num_shifts = 1
if len(args) > 0:
num_shifts = int(args[0])
if unit in ['monday', 'tuesday', 'wednesday', 'thursday', 'friday',
'saturday', 'sunday']:
shift_func = move_datetime_namedday
dt = shift_func(self._dt, direction, unit)
if num_shifts > 1:
for n in range(num_shifts - 1):
dt = shift_func(dt, direction, unit)
else:
shift_func = getattr(this_module, 'move_datetime_%s' % unit)
dt = shift_func(self._dt, direction, num_shifts)
return Delorean(datetime=dt.replace(tzinfo=None), timezone=self.timezone)
@property
def timezone(self):
"""
Returns a valid tzinfo object associated with
the Delorean object.
.. testsetup::
from datetime import datetime
from delorean import Delorean
.. doctest::
>>> d = Delorean(datetime(2015, 1, 1), timezone='UTC')
>>> d.timezone
<UTC>
"""
return self._tzinfo
def truncate(self, s):
"""
Truncate the delorian object to the nearest s
(second, minute, hour, day, month, year)
This is a destructive method, modifies the internal datetime
object associated with the Delorean object.
.. testsetup::
from datetime import datetime
from delorean import Delorean
.. doctest::
>>> d = Delorean(datetime(2015, 1, 1, 12, 10), timezone='US/Pacific')
>>> d.truncate('hour')
Delorean(datetime=datetime.datetime(2015, 1, 1, 12, 0), timezone='US/Pacific')
"""
if s == 'second':
self._dt = self._dt.replace(microsecond=0)
elif s == 'minute':
self._dt = self._dt.replace(second=0, microsecond=0)
elif s == 'hour':
self._dt = self._dt.replace(minute=0, second=0, microsecond=0)
elif s == 'day':
self._dt = self._dt.replace(hour=0, minute=0, second=0, microsecond=0)
elif s == 'month':
self._dt = self._dt.replace(day=1, hour=0, minute=0, second=0, microsecond=0)
elif s == 'year':
self._dt = self._dt.replace(month=1, day=1, hour=0, minute=0, second=0, microsecond=0)
else:
raise ValueError("Invalid truncation level")
return self
@property
def naive(self):
"""
Returns a naive datetime object associated with the Delorean
object, this method simply converts the localize datetime to UTC
and removes the tzinfo that is associated with it modifying the Delorean object.
.. testsetup::
from datetime import datetime
from delorean import Delorean
.. doctest::
>>> d = Delorean(datetime(2015, 1, 1), timezone='US/Pacific')
>>> d.naive
datetime.datetime(2015, 1, 1, 8, 0)
"""
self.shift('UTC')
return self._dt.replace(tzinfo=None)
@classmethod
def now(cls, timezone=None):
if timezone:
return cls(timezone=timezone)
else:
return cls(timezone=get_localzone())
@classmethod
def utcnow(cls):
return cls()
@property
def midnight(self):
"""
| (datetime=None, timezone=None) | [
0.032123878598213196,
-0.0062413690611720085,
0.03368005156517029,
0.019441058859229088,
-0.04263916611671448,
-0.07318463921546936,
-0.05442162603139877,
0.04899724945425987,
-0.004007148090749979,
-0.02001906745135784,
-0.03490275889635086,
0.037881720811128616,
0.03063439577817917,
0.04908617213368416,
0.0015714578330516815,
0.09141410887241364,
-0.03688132390379906,
0.054955173283815384,
-0.020908309146761894,
-0.001731243566609919,
0.030256468802690506,
-0.051887284964323044,
-0.007608579006046057,
0.05050896108150482,
-0.022786833345890045,
0.060868632048368454,
-0.023409303277730942,
0.022119902074337006,
-0.014605804346501827,
-0.03032316081225872,
0.010454154573380947,
0.07474081218242645,
-0.03799287602305412,
-0.009526007808744907,
0.019730063155293465,
-0.061757877469062805,
-0.009803895838558674,
0.04272809252142906,
-0.059534769505262375,
0.035502996295690536,
-0.004276699386537075,
-0.004184996243566275,
0.030567703768610954,
-0.0025329510681331158,
-0.016551021486520767,
0.0036181043833494186,
0.0023926175199449062,
0.03081224486231804,
-0.02589918114244938,
0.0063358512707054615,
0.016506560146808624,
0.014050028286874294,
0.05028665065765381,
0.0013706835452467203,
-0.01661771535873413,
0.02656611241400242,
0.016462096944451332,
0.08687897026538849,
0.00914807990193367,
-0.025632407516241074,
-0.04535135626792908,
0.007603021338582039,
0.004985314328223467,
0.016462096944451332,
-0.02458754926919937,
0.003662566654384136,
-0.022897988557815552,
-0.07149507850408554,
0.0015381112461909652,
0.02183089777827263,
-0.012327120639383793,
0.03323543071746826,
0.03470268100500107,
0.027188582345843315,
0.07340694963932037,
0.032946426421403885,
-0.03850419074296951,
-0.06753794848918915,
0.028322366997599602,
-0.0385931134223938,
-0.016895603388547897,
-0.01845177635550499,
-0.010598656721413136,
0.03187933564186096,
0.04457326978445053,
0.02458754926919937,
0.036347776651382446,
-0.017206838354468346,
-0.0049880933947861195,
0.015194927342236042,
-0.004807466175407171,
-0.005874556954950094,
0.0196633692830801,
0.009587143547832966,
-0.033435508608818054,
0.03814849257469177,
-0.019552214071154594,
-0.04281701520085335,
-0.0399492084980011,
-0.007858678698539734,
0.05611118674278259,
0.010693138465285301,
-0.05984600633382797,
-0.020119106397032738,
-0.0057578436098992825,
-0.002632990712299943,
-0.0072250934317708015,
0.0037987318355590105,
-0.04592936486005783,
-0.038904350250959396,
-0.06731563806533813,
-0.010376345366239548,
-0.052732065320014954,
0.009809453971683979,
0.02064153552055359,
-0.03799287602305412,
-0.036992479115724564,
-0.020963886752724648,
-0.020574843510985374,
-0.0003220029757358134,
-0.017206838354468346,
0.009275908581912518,
0.000460947077954188,
-0.005691150669008493,
0.05064234882593155,
-0.024520855396986008,
0.023942848667502403,
0.028011132031679153,
0.05001987889409065,
-0.003848751774057746,
0.0024287430569529533,
0.03221280127763748,
-0.03032316081225872,
0.04217231646180153,
0.008525609970092773,
0.04017151892185211,
0.024120695888996124,
0.050420038402080536,
-0.07518543303012848,
0.030567703768610954,
0.02865583263337612,
-0.023164760321378708,
0.06375867128372192,
0.042105622589588165,
-0.004073841031640768,
-0.04544027894735336,
-0.006063520908355713,
-0.0030150869861245155,
-0.04979756847023964,
0.05010880157351494,
0.004346171393990517,
-0.0491306371986866,
-0.01645098254084587,
0.024320775642991066,
-0.01860739476978779,
-0.02845575287938118,
-0.042105622589588165,
-0.0074696349911391735,
-0.04606274887919426,
0.017673689872026443,
-0.08461140096187592,
-0.0437062568962574,
-0.024009540677070618,
0.017306877300143242,
0.04163876920938492,
0.008847960270941257,
0.08163244277238846,
-0.055133022367954254,
0.008475590497255325,
0.04239462688565254,
0.044973429292440414,
0.012049232609570026,
0.025676870718598366,
0.012182619422674179,
0.00596903869882226,
0.011471224948763847,
0.023142529651522636,
-0.004551808815449476,
-0.03405797854065895,
-0.04152761399745941,
0.03772610425949097,
0.011404532007873058,
-0.0904359370470047,
-0.006880511995404959,
-0.006319177802652121,
0.01792934723198414,
-0.011054392904043198,
0.020119106397032738,
0.026655036956071854,
0.04270585998892784,
-0.002630211878567934,
-0.01540612243115902,
0.04659629613161087,
0.017896000295877457,
-0.008253280073404312,
-0.007847563363611698,
-0.016562137752771378,
0.032123878598213196,
0.02438746951520443,
0.009592700749635696,
-0.07536328583955765,
0.050064340233802795,
0.06989444047212601,
-0.08256614208221436,
0.030545471236109734,
0.061224330216646194,
-0.06838273257017136,
0.01642875000834465,
-0.044128648936748505,
-0.05166497454047203,
0.02947838045656681,
-0.044795580208301544,
0.02863360196352005,
-0.013527598232030869,
0.01692895032465458,
-0.05891229957342148,
0.013694331049919128,
-0.017818192020058632,
-0.006641528103500605,
0.02201986126601696,
0.019896795973181725,
0.002762208692729473,
-0.06424775719642639,
-0.04966418072581291,
0.11071066558361053,
-0.04526242986321449,
-0.008747920393943787,
-0.027144121006131172,
0.012571662664413452,
-0.09310366213321686,
0.029078222811222076,
-0.07829777896404266,
-0.04935294762253761,
-0.0575784370303154,
0.06371420621871948,
-0.0137943709269166,
-0.0006325430586002767,
-0.03812626376748085,
-0.005913461092859507,
-0.007930929772555828,
-0.00805320031940937,
-0.022942449897527695,
0.02843352220952511,
0.02067488245666027,
0.0036153255496174097,
0.005541090853512287,
-0.013972219079732895,
0.05179836228489876,
-0.019263209775090218,
-0.011482341215014458,
-0.002385670319199562,
-0.031946029514074326,
-0.007208419963717461,
0.02507663145661354,
0.013749908655881882,
-0.02810005657374859,
0.03621439263224602,
0.005218740552663803,
0.017240185290575027,
0.02187535911798477,
0.004107187502086163,
-0.038904350250959396,
-0.041594307869672775,
-0.005824537016451359,
-0.024809859693050385,
0.0024996043648570776,
-0.004460105672478676,
-0.02776658907532692,
-0.010037322528660297,
-0.0072250934317708015,
0.09923943877220154,
-0.01135451253503561,
-0.01898532174527645,
0.008875749073922634,
-0.07514097541570663,
0.033768974244594574,
-0.0011011320166289806,
-0.06326958537101746,
-0.026188185438513756,
-0.03670347481966019,
-0.017996041104197502,
-0.019063131883740425,
-0.030856706202030182,
0.01237158291041851,
-0.08572295308113098,
-0.03263518959283829,
-0.00039216974982991815,
0.027321968227624893,
0.012971821241080761,
0.030701089650392532,
0.004071062430739403,
-0.05148712918162346,
0.05033111199736595,
-0.0396379753947258,
0.026121491566300392,
0.044795580208301544,
-0.03790395334362984,
-0.029856309294700623,
0.005001987796276808,
-0.03823741897940636,
-0.023409303277730942,
-0.014605804346501827,
0.035992082208395004,
0.02776658907532692,
-0.020096875727176666,
-0.0287892185151577,
0.02627710998058319,
0.017740383744239807,
0.03301312029361725,
-0.015150465071201324,
0.005140931811183691,
-0.07900917530059814,
0.003026202553883195,
0.007430730853229761,
0.0032512920442968607,
-0.04486227408051491,
0.005026997532695532,
0.04455103725194931,
0.04948633164167404,
0.10164038836956024,
-0.035658616572618484,
0.0022036535665392876,
0.05001987889409065,
0.06117986887693405,
0.030234236270189285,
-0.04050498455762863,
-0.00005601184238912538,
0.022420020774006844,
0.008431128226220608,
0.04355064034461975,
-0.0669599398970604,
-0.04877493903040886,
0.00033329217694699764,
0.0220087468624115,
0.013371980749070644,
0.02389838546514511,
-0.020919423550367355,
-0.03263518959283829,
0.014527995139360428,
0.004157207440584898,
0.09065824747085571,
0.07567451894283295,
-0.06340297311544418,
-0.019541099667549133,
0.042439088225364685,
0.015806281939148903,
0.001966058975085616,
0.02812228724360466,
0.044017493724823,
0.06638193875551224,
0.01811831071972847,
0.007258439902216196,
-0.030456548556685448,
-0.019730063155293465,
-0.02356491982936859,
-0.032412879168987274,
0.06896074116230011,
-0.012360467575490475,
0.007903140969574451,
-0.06015723943710327,
-0.007408499717712402,
-0.004398970399051905,
0.012605009600520134,
0.0064859106205403805,
0.006763799116015434,
-0.05095358192920685,
-0.008909096010029316,
-0.039237815886735916,
0.02983407862484455,
-0.05113143101334572,
-0.02796666882932186,
0.023853924125432968,
0.03690355271100998,
-0.097638800740242,
0.02403177320957184,
-0.021730858832597733,
0.0732291042804718,
0.10057330131530762,
-0.06869396567344666,
0.061757877469062805,
0.047529999166727066,
0.009714972227811813,
0.0076474836096167564,
0.06215803325176239,
0.030901169404387474,
0.0014241770841181278,
0.05602226406335831,
0.03845972940325737,
0.010587540455162525,
-0.03050100989639759,
-0.022731255739927292,
-0.048819400370121,
0.018218351528048515,
0.029211608693003654,
-0.02843352220952511,
-0.01829615980386734,
-0.010820967145264149,
0.00288170063868165,
-0.035992082208395004,
0.020208030939102173,
0.054955173283815384,
-0.019930142909288406,
0.002059151651337743,
0.05179836228489876,
0.041727691888809204,
0.033946823328733444,
0.05748951435089111,
0.04028267413377762,
-0.05704488977789879,
0.06918305158615112,
-0.016473213210701942,
-0.07189523428678513,
-0.03508060798048973,
-0.006702663842588663,
-0.00931481271982193,
-0.019863449037075043,
-0.06909412145614624,
-0.008603419177234173,
0.0623803436756134,
-0.02181978151202202,
-0.0013158007059246302,
-0.016639946028590202,
-0.006141329649835825,
-0.011893615126609802,
0.016895603388547897,
-0.00479079270735383,
0.03196825832128525,
-0.005443830043077469,
-0.05762289837002754,
0.030434316024184227,
0.07505204528570175,
-0.035814233124256134,
-0.03416913375258446,
-0.06144664064049721,
0.048730477690696716,
0.029389457777142525,
-0.00040224319673143327,
-0.006919416598975658,
0.012571662664413452,
0.0413053035736084,
0.006069078575819731,
0.03777056559920311,
0.02507663145661354,
-0.03930450975894928,
-0.00845335889607668,
0.0167399849742651,
0.013761023990809917,
0.006802703253924847,
-0.02676619216799736,
0.01244939211755991,
0.023942848667502403,
0.03979359194636345,
-0.004348950460553169,
-0.010192939080297947,
-0.03743709996342659,
-0.07945379614830017,
-0.017984924837946892,
0.026343801990151405,
-0.03983805328607559,
0.014983732253313065,
0.04628505930304527,
-0.023142529651522636,
-0.003468044800683856,
0.010059553198516369,
-0.009281465783715248,
0.08474478870630264,
-0.03281303867697716,
0.0124382758513093,
-0.08759036660194397,
-0.03761494904756546,
0.03236841782927513,
-0.018851935863494873,
-0.020741576328873634,
0.0055661010555922985,
-0.006635970436036587,
0.009287023916840553,
-0.018073849380016327,
-0.027544278651475906,
0.011838037520647049,
-0.016317594796419144,
0.016517674550414085,
-0.014450186863541603,
0.04510681331157684,
-0.036525625735521317,
0.005277097225189209,
-0.04030490666627884,
0.02674396149814129,
-0.0176292285323143,
0.01949663646519184,
0.007052802946418524,
-0.028744757175445557,
0.03314650431275368,
-0.004107187502086163,
-0.02472093515098095,
-0.011571264825761318,
-0.01611751690506935,
-0.08114335685968399,
-0.009009135887026787,
0.044617731124162674,
-0.07229539752006531,
-0.0176292285323143,
0.0738515704870224,
0.017551418393850327,
-0.002945614978671074,
0.017340224236249924,
0.029611768200993538,
-0.00008935842924984172,
0.0299896951764822,
-0.008075430989265442,
-0.04815246909856796,
0.006847165524959564,
-0.00939262192696333,
0.03610323742032051,
0.007108380552381277,
-0.024854321032762527,
0.01997460424900055,
0.037192557007074356,
0.019752293825149536,
-0.03561415150761604,
-0.04199446737766266,
0.030523240566253662,
0.007697503548115492,
0.026810655370354652,
0.012160387821495533,
-0.02167528122663498,
0.04997541382908821,
-0.0073195756413042545,
-0.009131406433880329,
0.03741486743092537,
0.0047074262984097,
0.023409303277730942,
-0.05722273886203766,
-0.023498227819800377,
-0.005296549294143915,
0.07980949431657791,
0.0626915767788887,
-0.08910207450389862,
-0.05179836228489876,
-0.0034930547699332237,
0.05806751921772957,
-0.01963002234697342,
-0.004671300761401653,
-0.03323543071746826,
0.02827790379524231,
-0.05993492901325226,
0.00026573060313239694,
0.03365781903266907,
0.014883692376315594,
-0.030878938734531403,
0.032546266913414,
-0.04186107963323593,
-0.038037337362766266,
0.0819881409406662,
0.08465586602687836,
-0.007275113370269537,
0.004101629834622145,
-0.006452564150094986,
0.01550616230815649,
0.024987706914544106,
0.019185401499271393,
-0.008492263965308666,
0.04381741210818291,
0.045973826199769974,
-0.005510522983968258,
-0.04550697281956673,
-0.013827716931700706,
0.01780707575380802,
0.060913097113370895,
-0.046996455639600754,
0.02233109623193741,
-0.047885697335004807,
0.037859488278627396,
-0.01967448554933071,
-0.004093293100595474,
-0.0714506134390831,
0.03881542384624481,
-0.03983805328607559,
-0.012994052842259407,
0.013338633812963963,
-0.03850419074296951,
-0.041905540972948074,
-0.005118700675666332,
-0.026143722236156464,
-0.09497107565402985,
-0.02285352721810341,
-0.029211608693003654,
0.016795562580227852,
0.021608587354421616,
0.010365230031311512,
-0.04279478266835213,
-0.0032346188090741634,
-0.0018549037631601095,
-0.03416913375258446,
0.01916317082941532,
0.023809460923075676,
-0.040571678429841995,
-0.029100453481078148,
-0.00981501117348671,
0.023320378735661507,
-0.01576181873679161,
-0.018029386177659035,
-0.03187933564186096,
0.01533942949026823,
-0.0034402559977024794,
0.008097662590444088,
0.03608100488781929,
0.0035347379744052887,
-0.02930053323507309,
-0.019452175125479698,
-0.03350220248103142,
-0.0081365667283535,
0.042239006608724594,
0.05628903582692146,
0.004246131982654333,
0.012994052842259407,
-0.053265612572431564,
-0.06607069820165634,
0.036859091371297836,
-0.04721876606345177,
-0.03641447052359581,
-0.05882337689399719,
0.024187389761209488,
-0.01643986627459526,
0.015984129160642624,
-0.05655580759048462,
-0.0023773335851728916,
0.014505764469504356,
-0.03165702521800995,
0.02420962043106556,
-0.0262326467782259,
0.032590728253126144,
0.02134181372821331,
0.001985511276870966,
-0.04575151577591896,
-0.05419931560754776,
0.00546050351113081,
-0.04303932562470436,
-0.01422787643969059,
-0.0011775513412430882,
-0.014917039312422276,
0.004412864800542593,
0.009248119778931141,
0.05539979413151741,
0.012916243635118008,
-0.05909014865756035,
0.0043378351256251335,
-0.014794767834246159,
-0.07056137174367905,
-0.002948393812403083,
0.020697113126516342,
-0.020874962210655212,
0.05620011314749718,
0.03050100989639759,
-0.006474795285612345,
-0.0518428236246109,
0.006530372891575098,
0.0019313230877742171,
-0.032123878598213196,
0.03385790064930916,
0.027499817311763763,
0.029878539964556694,
-0.027010733261704445,
-0.05606672540307045,
-0.02099723368883133,
0.059179071336984634,
0.07153954356908798,
0.00283584906719625,
0.027899976819753647,
0.019074246287345886,
-0.0005304191145114601,
-0.000921894155908376,
-0.004818581510335207,
0.08879084140062332,
-0.007658598944544792,
0.0037820586003363132,
-0.037526022642850876,
0.006824934389442205,
0.053754694759845734,
-0.02014133706688881,
-0.015672894194722176,
0.0149948475882411,
0.030523240566253662,
0.003065106924623251,
0.01796269416809082,
-0.01694006472826004,
0.02709965780377388,
-0.008842403069138527,
-0.06389205902814865,
0.013861063867807388,
-0.039059966802597046,
0.10146254301071167,
0.0023481554817408323,
-0.028366828337311745,
0.00499643012881279,
0.032790809869766235,
-0.043617334216833115,
-0.06233588233590126,
0.007680830080062151,
-0.0023287031799554825,
0.007430730853229761,
0.054110392928123474,
0.0026163174770772457,
0.030056389048695564,
-0.0031540312338620424,
0.01641763560473919,
0.0053354534320533276,
-0.02896706759929657,
0.043283868581056595,
0.06326958537101746,
0.018874166533350945,
0.05895676091313362,
0.0829218402504921,
0.03423582762479782,
-0.057000428438186646,
0.026810655370354652,
-0.06042401120066643,
0.00013191005564294755,
0.025810256600379944,
-0.013271940872073174,
0.043795183300971985,
-0.013672099448740482,
-0.006474795285612345,
0.013271940872073174,
0.020908309146761894,
-0.026299340650439262,
0.018084963783621788,
-0.046418447047472,
-0.03454706072807312,
-0.03165702521800995,
-0.010181823745369911,
-0.015395007096230984,
0.06962767243385315,
0.037681642919778824,
0.010104015469551086,
0.021764203906059265,
-0.019007554277777672,
0.010832082480192184,
0.005018661264330149,
0.031234635040163994,
0.026454957202076912,
-0.0420389287173748,
-0.00215919129550457,
-0.0045406934805214405,
-0.01187138445675373,
-0.019529983401298523,
-0.0067415679804980755,
-0.0363033153116703,
0.025854719802737236,
-0.0031595889013260603,
0.030034158378839493,
0.0248765517026186,
-0.04846370220184326,
-0.054288242012262344,
-0.029900770634412766,
0.04283924773335457,
-0.01812942698597908,
-0.04628505930304527,
0.015661779791116714,
0.012971821241080761,
-0.02116396650671959,
-0.03725925087928772,
-0.04152761399745941,
-0.009036924690008163,
0.03272411599755287,
0.03594761714339256,
0.011071066372096539,
-0.02574356459081173,
0.05348792299628258
] |
21,571 | delorean.dates | __add__ | null | def __add__(self, other):
if not isinstance(other, timedelta):
raise TypeError("Delorean objects can only be added with timedelta objects")
dt = self._dt + other
return Delorean(datetime=dt, timezone=self.timezone)
| (self, other) | [
-0.03928032144904137,
-0.01352040097117424,
0.044225942343473434,
0.04280274361371994,
-0.027805771678686142,
-0.020849881693720818,
-0.04145070165395737,
0.023304902017116547,
-0.029015490785241127,
-0.00068324722815305,
0.003851535264402628,
-0.016482435166835785,
0.03134598210453987,
0.0426604226231575,
-0.0024594676215201616,
0.04550682380795479,
-0.03881778195500374,
0.013217970728874207,
-0.04141512140631676,
-0.01657138578593731,
0.005506005138158798,
-0.04774836450815201,
-0.0014799056807532907,
0.03481503203511238,
-0.015486195683479309,
0.06678366661071777,
-0.03618486225605011,
0.029691511765122414,
-0.03310719132423401,
0.008917237631976604,
0.006351030431687832,
-0.004914487712085247,
-0.07140906155109406,
-0.023482801392674446,
0.0034223515540361404,
0.001674483879469335,
-0.06486234068870544,
0.021881701424717903,
-0.032804761081933975,
0.076639324426651,
0.03483282029628754,
-0.019657950848340988,
0.006199815310537815,
0.028428422287106514,
0.0321643203496933,
-0.008245665580034256,
-0.039778441190719604,
0.009215220808982849,
0.01919541135430336,
0.01476570125669241,
0.03321393206715584,
0.010211460292339325,
0.05034570395946503,
0.003328953869640827,
-0.03467271104454994,
0.0433720238506794,
0.02917560189962387,
0.06269196420907974,
-0.0625496432185173,
0.048780184239149094,
-0.014249790459871292,
-0.004563135094940662,
0.004696560092270374,
-0.017087295651435852,
-0.03376542031764984,
-0.002332713920623064,
-0.05610966309905052,
-0.021241260692477226,
0.05436624214053154,
0.05934744328260422,
0.019604580476880074,
0.014952495694160461,
0.013467030599713326,
0.017772210761904716,
0.05895606428384781,
0.013422555290162563,
0.004276271443814039,
-0.029478032141923904,
0.03782154247164726,
-0.016509121283888817,
-0.03549105301499367,
-0.03839082270860672,
-0.024141032248735428,
0.06827802211046219,
0.042091142386198044,
0.025546440854668617,
-0.05255166441202164,
-0.0538681223988533,
-0.00801884289830923,
-0.04269600287079811,
-0.008530305698513985,
-0.05447298288345337,
-0.024265561252832413,
-0.015183765441179276,
0.030314162373542786,
-0.0025284038856625557,
-0.023696281015872955,
-0.012034935876727104,
-0.013173495419323444,
0.03141714259982109,
0.036131493747234344,
0.031968630850315094,
-0.022184131667017937,
-0.03139935061335564,
0.03675414249300957,
-0.037074360996484756,
0.006955890450626612,
-0.04507986083626747,
-0.011812560260295868,
0.046716541051864624,
-0.004411920439451933,
0.028250521048903465,
-0.02631141059100628,
0.016624756157398224,
-0.029228972271084785,
-0.002448348794132471,
0.008218980394303799,
-0.0023927551228553057,
-0.007049287669360638,
0.055647123605012894,
0.010460520163178444,
0.028037041425704956,
0.04134396091103554,
0.0542239248752594,
-0.0018557194853201509,
-0.017389725893735886,
0.0077430978417396545,
-0.031470511108636856,
0.027930300682783127,
-0.046111684292554855,
0.013200180605053902,
0.01460559107363224,
-0.01465896051377058,
0.035918012261390686,
0.011750295758247375,
0.024425670504570007,
0.08624592423439026,
0.05347674340009689,
-0.03127482160925865,
0.027414390817284584,
0.02497716061770916,
0.019657950848340988,
0.06877614557743073,
0.0252973809838295,
-0.07315248250961304,
-0.006173130124807358,
-0.08830956369638443,
0.04244694113731384,
-0.0730101615190506,
0.05699916183948517,
-0.027627872303128242,
-0.031096922233700752,
0.027965880930423737,
0.020618611946702003,
0.013226865790784359,
-0.04497312381863594,
-0.015334980562329292,
0.022006230428814888,
-0.027449971064925194,
0.01539724599570036,
-0.022219711914658546,
0.005964098032563925,
-0.004191768821328878,
0.014374320395290852,
0.006844703108072281,
-0.036238230764865875,
0.05884932354092598,
-0.008943922817707062,
-0.04529334232211113,
0.043763402849435806,
0.050843823701143265,
-0.05902722477912903,
0.06753084063529968,
0.031150292605161667,
-0.057568442076444626,
-0.060023464262485504,
0.029513612389564514,
0.017469780519604683,
-0.020689770579338074,
-0.037181101739406586,
0.05379696190357208,
0.03463713079690933,
-0.04063236340880394,
-0.02234424091875553,
0.022024020552635193,
-0.03590022027492523,
-0.03789270296692848,
0.028695272281765938,
0.02931792102754116,
0.01590426079928875,
0.051092881709337234,
0.024105452001094818,
-0.013769460842013359,
-0.013324710540473461,
-0.0404900424182415,
-0.004520883783698082,
-0.05148426443338394,
-0.0060930754989385605,
0.024390092119574547,
0.07870296388864517,
-0.1174851655960083,
0.037323422729969025,
0.00588404294103384,
-0.07685280591249466,
0.04130838066339493,
-0.000989012885838747,
-0.06923868507146835,
0.008285692892968655,
-0.0426604226231575,
-0.04767720401287079,
0.04081026092171669,
0.0003191081341356039,
0.010327095165848732,
0.023180371150374413,
-0.03228885307908058,
-0.030011732131242752,
-0.0401342436671257,
-0.05180448293685913,
0.021774960681796074,
-0.0070937629789114,
0.044083621352910995,
-0.008076660335063934,
-0.0240342915058136,
-0.05902722477912903,
0.05867142230272293,
-0.05497110262513161,
-0.026186881586909294,
-0.014294265769422054,
-0.01933773048222065,
-0.06265638023614883,
0.039671700447797775,
-0.03260907158255577,
-0.07984152436256409,
-0.052836302667856216,
0.04721466079354286,
0.013529296033084393,
-0.009077347815036774,
-0.014845755882561207,
-0.037679221481084824,
-0.002666276413947344,
-0.017781106755137444,
-0.03470829129219055,
0.006351030431687832,
0.04362108185887337,
-0.0404900424182415,
0.004254033789038658,
-0.0017456437926739454,
0.035437680780887604,
-0.03068775124847889,
0.04693002253770828,
0.017505360767245293,
-0.035882432013750076,
0.007307243067771196,
0.04956294223666191,
-0.03205758333206177,
0.0296381413936615,
0.03817734122276306,
-0.025902241468429565,
0.010086930356919765,
-0.023945340886712074,
0.0343347005546093,
0.013920675963163376,
-0.01930215023458004,
-0.02451462112367153,
-0.06279870122671127,
0.029122231528162956,
-0.00645332271233201,
-0.02417661063373089,
0.019871430471539497,
-0.01248858030885458,
0.02028060145676136,
-0.04330086335539818,
0.016402380540966988,
-0.0054837679490447044,
-0.03461934253573418,
0.005710590165108442,
-0.0024861525744199753,
-0.00392269529402256,
-0.06571626663208008,
-0.02953140251338482,
-0.043834563344717026,
0.0014643394388258457,
-0.04226904362440109,
-0.04660980403423309,
-0.0849650427699089,
0.03428133204579353,
-0.01424089539796114,
0.06930984556674957,
-0.033712051808834076,
-0.02252214215695858,
-0.008823840878903866,
0.006302108056843281,
0.05255166441202164,
0.006035258062183857,
0.04287390410900116,
0.07692396640777588,
-0.037430163472890854,
0.01264869049191475,
0.009926820173859596,
0.02504832111299038,
-0.03328509256243706,
-0.0020680876914411783,
-0.03209316357970238,
0.007431773003190756,
-0.07941456139087677,
-0.022130761295557022,
0.07599888741970062,
0.03995634242892265,
0.01294222567230463,
0.007667490281164646,
-0.011323335580527782,
0.005528242792934179,
-0.027752401307225227,
0.05650104209780693,
0.021668221801519394,
0.015441721305251122,
-0.005679457914084196,
0.013787250965833664,
0.01344924047589302,
0.062407322227954865,
-0.009357540868222713,
-0.006898073013871908,
-0.007507380563765764,
-0.014383215457201004,
0.02924676239490509,
-0.01828812062740326,
0.004914487712085247,
0.00033356252242811024,
0.03789270296692848,
0.029655931517481804,
-0.03799944370985031,
-0.04767720401287079,
0.028464000672101974,
0.0309012308716774,
-0.03885336220264435,
0.004331865347921848,
0.059489764273166656,
0.011296650394797325,
-0.010113615542650223,
0.0480685830116272,
0.00313993520103395,
0.0542239248752594,
-0.055255744606256485,
-0.014125260524451733,
0.02914002165198326,
-0.043976880609989166,
0.0036402789410203695,
-0.00672462023794651,
0.10197228938341141,
0.026542682200670242,
-0.04500870406627655,
0.027574501931667328,
-0.0018623907817527652,
-0.02237982116639614,
0.048424381762742996,
-0.007720860652625561,
0.000667680986225605,
0.012862171046435833,
-0.0011296650627627969,
-0.06048600375652313,
-0.024674732238054276,
0.015174871310591698,
0.031061341986060143,
0.019213201478123665,
-0.05468646436929703,
-0.015521775931119919,
-0.009215220808982849,
-0.016944976523518562,
0.001062952564097941,
-0.01243521086871624,
0.004990095272660255,
0.012221730314195156,
0.05472204461693764,
0.011590185575187206,
0.013920675963163376,
-0.001555513241328299,
0.04461732134222984,
0.08617476373910904,
-0.060094624757766724,
0.0229491014033556,
0.026542682200670242,
0.03477945178747177,
-0.059525344520807266,
0.06087738275527954,
0.060165781527757645,
0.031826313585042953,
0.07863180339336395,
-0.031257033348083496,
0.029691511765122414,
0.023767441511154175,
0.013271341100335121,
-0.06749526411294937,
0.014418795704841614,
0.05689242482185364,
-0.06706830114126205,
-0.03661182150244713,
-0.04130838066339493,
-0.028392842039465904,
-0.05006106197834015,
0.02490600198507309,
0.07315248250961304,
-0.014454375952482224,
-0.008294587954878807,
0.031577251851558685,
0.028748640790581703,
-0.02147253043949604,
0.018412651494145393,
0.013787250965833664,
-0.037501320242881775,
0.06980796158313751,
-0.03355194255709648,
-0.0870998427271843,
-0.0025773264933377504,
0.04749930277466774,
-0.03920916095376015,
-0.051164042204618454,
-0.017603205516934395,
-0.04550682380795479,
0.03590022027492523,
-0.015575146302580833,
0.028001461178064346,
-0.016437960788607597,
-0.05717706307768822,
-0.017211826518177986,
0.02115231193602085,
-0.00732948025688529,
0.016313431784510612,
0.0408458411693573,
-0.05280072242021561,
-0.010166985914111137,
0.04358550161123276,
0.0067023830488324165,
0.04931388422846794,
-0.026578260585665703,
0.06749526411294937,
0.004963410086929798,
-0.002312700031325221,
-0.06603648513555527,
0.0298160407692194,
0.03440586104989052,
0.019818061962723732,
-0.022575510665774345,
0.015192660503089428,
-0.02182833105325699,
-0.055647123605012894,
-0.07621236145496368,
0.017540941014885902,
-0.03541989251971245,
0.010567260906100273,
-0.025759922340512276,
0.0740775614976883,
-0.0026418152265250683,
0.04753488302230835,
0.01453443057835102,
0.008499172516167164,
-0.06948774307966232,
0.013876200653612614,
-0.051021721214056015,
0.0074050878174602985,
0.03173736110329628,
-0.006991470232605934,
0.0034734976943582296,
0.006297660525888205,
0.020262811332941055,
-0.04507986083626747,
0.039600543677806854,
0.0152727160602808,
-0.03671856224536896,
-0.0327158123254776,
0.008165610022842884,
0.02816157229244709,
-0.02399871125817299,
-0.031577251851558685,
-0.05383254215121269,
-0.010620630346238613,
0.009050662629306316,
0.004000526387244463,
-0.011563500389456749,
-0.005345895420759916,
-0.014089681208133698,
0.03228885307908058,
-0.008534752763807774,
0.013662721030414104,
-0.011465655639767647,
-0.011492340825498104,
0.01783447526395321,
0.04287390410900116,
0.01131444051861763,
0.022130761295557022,
0.04974084347486496,
-0.011012010276317596,
-0.005981887690722942,
-0.020796511322259903,
0.009046215564012527,
-0.01646464504301548,
0.004182873759418726,
-0.03447702154517174,
-0.04910040274262428,
0.01084300596266985,
0.00730279553681612,
-0.021703802049160004,
0.01357377041131258,
-0.006898073013871908,
0.007520722690969706,
0.032733600586652756,
0.050914984196424484,
-0.025528650730848312,
0.02013828046619892,
-0.04746372252702713,
0.028286101296544075,
0.0065467203967273235,
0.00757409306243062,
-0.00310880271717906,
0.044119201600551605,
0.03807060047984123,
0.025564230978488922,
0.012141675688326359,
0.03278697282075882,
-0.018234750255942345,
-0.06553836166858673,
-0.0081789530813694,
0.0784183219075203,
-0.0007738650310784578,
-0.06450654566287994,
-0.0031288163736462593,
0.02679174207150936,
-0.08503620326519012,
-0.030082890763878822,
0.01131444051861763,
0.03513525053858757,
0.004954515490680933,
-0.0560385026037693,
-0.03597138077020645,
-0.02108115144073963,
-0.019675740972161293,
0.034975141286849976,
-0.08069544285535812,
-0.013289130292832851,
-0.02624025195837021,
-0.019693531095981598,
0.004994542803615332,
0.007218292914330959,
0.010478310286998749,
-0.003242227714508772,
-0.05401044338941574,
0.06094854325056076,
0.006471112836152315,
0.009820080362260342,
-0.010060245171189308,
0.04148628190159798,
-0.05173332244157791,
-0.02013828046619892,
0.011421180330216885,
0.09756036847829819,
0.02270004153251648,
0.023144790902733803,
-0.022362031042575836,
-0.006818017922341824,
0.06265638023614883,
0.052943043410778046,
0.020903252065181732,
-0.017113981768488884,
0.03227106109261513,
0.04966968297958374,
-0.05696358159184456,
-0.026008982211351395,
0.004118385259062052,
0.02931792102754116,
-0.018208066001534462,
0.02917560189962387,
-0.0348861925303936,
-0.020992200821638107,
-0.07261878252029419,
-0.028321681544184685,
-0.035437680780887604,
0.012088305316865444,
-0.05408160388469696,
0.018136905506253242,
-0.007965472526848316,
-0.01138560101389885,
-0.08980392664670944,
0.02851737104356289,
-0.00898395013064146,
-0.08403996378183365,
0.0007077084737829864,
-0.011172120459377766,
0.007027050480246544,
0.003916023764759302,
0.024603571742773056,
-0.004874460399150848,
0.0029242313466966152,
-0.04362108185887337,
-0.04287390410900116,
0.04333644360303879,
-0.016171110793948174,
-0.06610764563083649,
-0.03246675059199333,
0.008570333011448383,
0.0036447264719754457,
0.02631141059100628,
0.0285529512912035,
-0.05696358159184456,
-0.006480007898062468,
-0.0033022689167410135,
0.006013020407408476,
0.06372378021478653,
-0.014418795704841614,
-0.03022521175444126,
-0.04522218182682991,
-0.07464684545993805,
0.031612832099199295,
0.020262811332941055,
0.021703802049160004,
0.018305910751223564,
0.027787981554865837,
-0.09250800311565399,
-0.05390370264649391,
0.0018023494631052017,
-0.03682530298829079,
0.039814021438360214,
-0.036060333251953125,
0.044546160846948624,
-0.02172159031033516,
0.020867671817541122,
-0.05148426443338394,
-0.0260267723351717,
0.02794809080660343,
-0.04810416325926781,
0.06347472220659256,
-0.026258042082190514,
-0.004625400062650442,
0.04436826333403587,
-0.00503457011654973,
-0.05924070253968239,
-0.04725024104118347,
-0.008485830388963223,
-0.000861703185364604,
0.025066111236810684,
0.05173332244157791,
-0.03173736110329628,
0.0195156317204237,
0.014596696011722088,
-0.06610764563083649,
0.018056850880384445,
-0.06806454062461853,
-0.01453443057835102,
-0.04280274361371994,
-0.09841428697109222,
-0.01369830034673214,
0.0062087103724479675,
-0.014552220702171326,
0.020654190331697464,
0.012203941121697426,
0.020049331709742546,
-0.00950875598937273,
-0.014827965758740902,
0.007823153398931026,
0.021205680444836617,
0.032662440091371536,
0.026951851323246956,
0.04290948063135147,
-0.02833947166800499,
0.011296650394797325,
-0.028143782168626785,
0.034174591302871704,
0.02616909146308899,
0.016064370051026344,
0.0009406462777405977,
0.035081882029771805,
0.009544335305690765,
0.0006560062756761909,
-0.023144790902733803,
0.02111673168838024,
0.06166014447808266,
0.02570655196905136,
-0.02501274086534977,
0.0083168251439929,
0.020885461941361427,
0.018999721854925156,
-0.012835485860705376,
-0.018412651494145393,
0.03451260179281235,
0.007080420386046171,
-0.011207700707018375,
-0.05415276437997818,
0.03316056355834007,
-0.00025837196153588593,
-0.0009139613248407841,
0.027129750698804855,
-0.024567991495132446,
0.05632314458489418,
-0.026702791452407837,
-0.009197430685162544,
0.005488215479999781,
0.04614726081490517,
0.023838602006435394,
-0.04312296211719513,
-0.019106460735201836,
-0.07137348502874374,
0.003646950237452984,
0.023055842146277428,
0.04525776207447052,
0.03369426354765892,
0.009455385617911816,
0.04465290158987045,
0.003524643834680319,
0.017709946259856224,
0.03881778195500374,
0.07706628739833832,
-0.03863988071680069,
0.01666923053562641,
0.08546316623687744,
0.008592570200562477,
-0.041806504130363464,
0.033854372799396515,
0.008890553377568722,
0.057781923562288284,
0.03792828321456909,
-0.0365050807595253,
0.04543566331267357,
-0.039351481944322586,
0.0019480050541460514,
0.062478482723236084,
0.0023527275770902634,
-0.01514818612486124,
-0.01131444051861763,
0.03604254126548767,
-0.0740775614976883,
-0.03387216106057167,
-0.031150292605161667,
-0.02045850083231926,
0.09257916361093521,
0.09386004507541656,
-0.024354511871933937,
-0.013342500664293766,
0.0161800067871809,
-0.0480685830116272,
0.03218211233615875,
0.03467271104454994,
0.06788664311170578,
-0.014445480890572071,
0.025475282222032547,
0.027574501931667328,
-0.018928561359643936,
0.0020191650837659836,
-0.04034772142767906,
-0.03138156235218048,
0.019835850223898888,
-0.02476368099451065,
0.04557798430323601,
0.002115898299962282,
-0.01530829630792141,
0.009909030981361866,
0.03390774130821228,
0.00975781586021185,
0.008832735940814018,
-0.003684754017740488,
-0.01937331072986126,
0.015441721305251122,
-0.048637863248586655,
-0.006395505275577307,
-0.048282064497470856,
0.029513612389564514,
0.02028060145676136,
-0.0020814300514757633,
0.03828408196568489,
-0.0263825710862875,
0.04561356082558632
] |
21,572 | delorean.dates | __eq__ | null | def __eq__(self, other):
if isinstance(other, Delorean):
return self.epoch == other.epoch
return False
| (self, other) | [
0.038669079542160034,
0.017745044082403183,
0.0007095194305293262,
0.08769160509109497,
-0.03529899939894676,
-0.05882008373737335,
-0.05072493851184845,
0.057360872626304626,
0.035420600324869156,
0.020029403269290924,
-0.0000831934594316408,
-0.0314946286380291,
0.04499232769012451,
0.08616290986537933,
0.01612948812544346,
-0.0316857174038887,
-0.03901651129126549,
0.06274605542421341,
-0.02960112877190113,
-0.02065477892756462,
-0.04738960042595863,
-0.00499866483733058,
-0.013019979931414127,
0.03627180680632591,
-0.001999900210648775,
0.10117193311452866,
0.028576208278536797,
0.02162758633494377,
-0.06886084377765656,
0.06934724748134613,
-0.05937597528100014,
-0.027533914893865585,
0.03132091462612152,
0.02833300642669201,
0.029392670840024948,
-0.003589397529140115,
-0.08115990459918976,
0.0584726519882679,
-0.0762263834476471,
-0.00475112022832036,
-0.017067553475499153,
-0.026387391611933708,
-0.005771698895841837,
0.044366952031850815,
-0.005346096120774746,
-0.01449656207114458,
-0.05034276470541954,
0.0038868854753673077,
-0.01606868766248226,
0.006523018702864647,
-0.05291375517845154,
-0.02975747361779213,
0.02322576940059662,
0.07191823422908783,
-0.05777779221534729,
-0.0004028029215987772,
0.04415849223732948,
0.0840088427066803,
-0.04544398561120033,
0.02291308157145977,
-0.021610213443636894,
-0.008859492838382721,
0.02562304399907589,
-0.0026252763345837593,
-0.012498833239078522,
-0.026109447702765465,
-0.07796353846788406,
0.009015836752951145,
0.020168375223875046,
0.08546804636716843,
0.008451261557638645,
0.007565312087535858,
0.017996931448578835,
0.03213737532496452,
0.01663326285779476,
-0.003252823604270816,
-0.051350317895412445,
0.04763280227780342,
-0.027672886848449707,
-0.03132091462612152,
0.022947823628783226,
-0.019942544400691986,
0.02442440576851368,
-0.013645356521010399,
-0.06086992844939232,
-0.0319984033703804,
0.0038260850124061108,
0.013454269617795944,
0.003906428348273039,
-0.00557626923546195,
0.007421996910125017,
-0.012385918758809566,
0.025154011324048042,
-0.039641886949539185,
-0.0037327129393815994,
0.019560370594263077,
-0.03118194080889225,
-0.01938665471971035,
-0.006466561462730169,
-0.05374759063124657,
0.050759684294462204,
0.03274537995457649,
-0.02200976014137268,
0.014887422323226929,
-0.01900448091328144,
0.029861703515052795,
-0.027064882218837738,
-0.0030226504895836115,
-0.03220686316490173,
-0.0009201495558954775,
-0.09408433735370636,
0.07580946385860443,
-0.04315094277262688,
0.04808446392416954,
-0.026178933680057526,
-0.04026726260781288,
0.013888558372855186,
0.003231109119951725,
-0.0497521348297596,
-0.005815127864480019,
0.02984433062374592,
0.10332600772380829,
-0.005076836794614792,
0.04228236526250839,
0.01731075346469879,
0.004023686517030001,
0.048188693821430206,
0.013393469154834747,
-0.016476919874548912,
-0.0623638816177845,
0.07511460036039352,
0.00002337695514142979,
0.012594377622008324,
0.08359192311763763,
0.053156957030296326,
-0.019647227600216866,
0.03469099476933479,
0.03946817293763161,
-0.009623841382563114,
0.016572462394833565,
0.02119329757988453,
0.02781185880303383,
0.07448922842741013,
0.005098551511764526,
-0.0196993425488472,
-0.0014613820239901543,
-0.13688784837722778,
0.008012630045413971,
0.0061495304107666016,
0.013610613532364368,
0.021731814369559288,
-0.04190019145607948,
0.06747111678123474,
-0.0016166403656825423,
-0.05440770834684372,
-0.04388054832816124,
-0.0266653373837471,
-0.031129825860261917,
-0.00018185847147833556,
0.02637002058327198,
-0.018379105255007744,
-0.014817936345934868,
0.011334939859807491,
-0.015200110152363777,
-0.019056595861911774,
-0.0039476859383285046,
-0.05009956285357475,
-0.009137437678873539,
-0.004399346187710762,
0.02982695959508419,
0.026700079441070557,
-0.01694595254957676,
-0.0023668743669986725,
0.020915351808071136,
-0.023468971252441406,
-0.01952562853693962,
0.051350317895412445,
0.03338812664151192,
-0.0279508326202631,
0.02134964056313038,
0.01333266869187355,
-0.019056595861911774,
-0.014487876556813717,
-0.0023690457455813885,
0.034899454563856125,
-0.021071696653962135,
-0.0026860765647143126,
0.012107973918318748,
0.029965931549668312,
0.010188416577875614,
-0.021158553659915924,
0.018448591232299805,
-0.04832766577601433,
-0.009632526896893978,
-0.0117952860891819,
-0.04648628085851669,
-0.03013964742422104,
0.021853415295481682,
0.024302804842591286,
0.06490013003349304,
-0.05246209725737572,
0.023868516087532043,
-0.024511264637112617,
-0.05868111178278923,
-0.001091693644411862,
-0.02442440576851368,
-0.030330734327435493,
0.00724828103557229,
0.04867509752511978,
-0.006748849060386419,
-0.0008028915617614985,
-0.022808851674199104,
0.017223896458745003,
0.021992389112710953,
0.04422798007726669,
-0.04815395176410675,
0.015078509226441383,
-0.04214339330792427,
-0.014097016304731369,
0.02510189637541771,
0.06153004616498947,
-0.03088662400841713,
-0.004186544567346573,
0.007452397141605616,
-0.004410203546285629,
-0.006175587885081768,
0.009250353090465069,
0.004955235868692398,
-0.030226506292819977,
-0.06392732262611389,
0.03665398061275482,
-0.011699742637574673,
-0.021523356437683105,
-0.012689921073615551,
0.012029801495373249,
0.05190620571374893,
-0.004599119070917368,
0.0387733094394207,
-0.09860094636678696,
-0.002234416315332055,
-0.006119130179286003,
-0.03390927612781525,
0.019508255645632744,
0.0004163744451943785,
0.019942544400691986,
-0.08032607287168503,
-0.0037913417909294367,
0.023538457229733467,
-0.06972941756248474,
0.015990516170859337,
0.01142179686576128,
-0.04374157637357712,
-0.0049856361001729965,
0.009840985760092735,
0.015755999833345413,
-0.02968798764050007,
-0.08199373632669449,
-0.03034810535609722,
0.06451795250177383,
0.0024428749457001686,
-0.007556626573204994,
0.04457540810108185,
-0.0062059881165623665,
0.02320839650928974,
-0.06302399933338165,
0.020793750882148743,
-0.03434356302022934,
0.010405560955405235,
0.04183070361614227,
-0.05756933242082596,
-0.009910471737384796,
-0.03486470878124237,
-0.039329200983047485,
0.023729544132947922,
-0.02440703473985195,
-0.006926907692104578,
0.01811853237450123,
-0.049404703080654144,
-0.04051046445965767,
-0.018222760409116745,
-0.010952765122056007,
-0.0004798891895916313,
-0.0067618777975440025,
-0.03929445520043373,
-0.044888097792863846,
-0.0308692529797554,
-0.007786799222230911,
0.019786201417446136,
0.0036393406335264444,
-0.02901049703359604,
0.002987907500937581,
-0.03245006501674652,
0.055102571845054626,
-0.006453532725572586,
-0.003817399265244603,
0.0190739668905735,
0.005984500516206026,
-0.0062146736308932304,
0.01789270155131817,
0.040232520550489426,
-0.005302667152136564,
-0.009988644160330296,
-0.006822678260505199,
-0.021054323762655258,
-0.005046436563134193,
0.015521484427154064,
-0.007669541519135237,
0.041656989604234695,
0.07358590513467789,
0.027064882218837738,
0.044957585632801056,
0.01586022973060608,
0.01315026730298996,
0.07441974431276321,
0.011083051562309265,
0.02862832322716713,
0.009215610101819038,
-0.03915548324584961,
0.0310255978256464,
0.08456473052501678,
0.0025818473659455776,
0.033926647156476974,
-0.0070962803438305855,
0.02366005815565586,
0.02096746675670147,
-0.10089398920536041,
-0.01310683786869049,
0.062259651720523834,
-0.00033304528915323317,
0.03239794820547104,
-0.03707089647650719,
-0.037314098328351974,
0.07546203583478928,
0.008538119494915009,
-0.0038391135167330503,
0.012073230929672718,
0.007552283350378275,
0.020168375223875046,
0.04287299886345863,
0.0029813931323587894,
-0.009632526896893978,
-0.017041495069861412,
-0.011517341248691082,
-0.030990853905677795,
0.040614694356918335,
0.029879074543714523,
-0.06924301385879517,
0.006701077334582806,
0.03870382532477379,
0.009988644160330296,
-0.09234718233346939,
0.05423399433493614,
0.019508255645632744,
0.007170109078288078,
0.01811853237450123,
0.03988508880138397,
0.015460683964192867,
-0.009867043234407902,
-0.0334402434527874,
-0.025883616879582405,
0.014948222786188126,
0.0015590970870107412,
0.016346633434295654,
-0.04732011631131172,
-0.031164569780230522,
0.02133226953446865,
-0.0368276946246624,
-0.052566323429346085,
0.010205788537859917,
-0.016502976417541504,
-0.08220219612121582,
0.0337529294192791,
-0.0205158069729805,
-0.0636841207742691,
0.005901985801756382,
-0.02847197838127613,
-0.04659051075577736,
0.05062071233987808,
0.006097415927797556,
0.002948821522295475,
0.07400282472372055,
0.03269326686859131,
-0.02840249240398407,
0.061495304107666016,
0.000812120211776346,
-0.009328524582087994,
-0.012898379005491734,
-0.015738628804683685,
0.037765759974718094,
0.045721933245658875,
-0.020706893876194954,
-0.013297924771904945,
0.009979958645999432,
0.012794150039553642,
-0.048883553594350815,
0.011291510425508022,
-0.04026726260781288,
-0.0020889295265078545,
-0.08616290986537933,
-0.030747652053833008,
-0.0016188117442652583,
0.05016905069351196,
-0.00005754327503382228,
0.03668872267007828,
0.02067214995622635,
0.002775105880573392,
0.04877932742238045,
0.00700507964938879,
-0.059931863099336624,
0.03547271341085434,
-0.04770229011774063,
-0.06469167023897171,
-0.002022700384259224,
0.011161223985254765,
-0.009250353090465069,
0.005445982329547405,
-0.011100423522293568,
-0.04558296129107475,
0.08386986702680588,
0.0015037251869216561,
-0.020689520984888077,
0.04537450149655342,
-0.02711699716746807,
-0.019056595861911774,
0.0042820884846150875,
-0.0001851156266639009,
0.024615492671728134,
0.04679897055029869,
-0.030487079173326492,
-0.00023926602443680167,
-0.03623706474900246,
-0.04870983958244324,
0.043289914727211,
-0.003997629042714834,
0.04926573112607002,
0.023052053526043892,
-0.014513934031128883,
-0.071779265999794,
-0.0011986372992396355,
0.02162758633494377,
0.03276275098323822,
-0.0066229053772985935,
0.017154410481452942,
-0.013706156983971596,
-0.044436436146497726,
-0.04777177423238754,
0.01762344315648079,
0.036480266600847244,
0.018500706180930138,
0.010527161881327629,
-0.001862013479694724,
0.0011030937312170863,
-0.042560309171676636,
-0.050898656249046326,
0.004130087327212095,
-0.043533116579055786,
-0.03849536553025246,
-0.006870449986308813,
0.0371403843164444,
-0.0007654341170564294,
-0.02630053460597992,
-0.012811521999537945,
-0.05326118692755699,
0.02112380973994732,
-0.012151402421295643,
0.04634730890393257,
-0.002516703912988305,
0.020637407898902893,
0.01597314514219761,
0.00399980042129755,
0.0271343681961298,
-0.0597928911447525,
-0.007725999224931002,
-0.00042234594002366066,
-0.04047572240233421,
0.03484733775258064,
-0.010058130137622356,
0.009146123193204403,
-0.0452355295419693,
0.0034200248774141073,
-0.054894112050533295,
-0.011447854340076447,
0.008555490523576736,
-0.034604135900735855,
0.04620833694934845,
-0.047459088265895844,
-0.05034276470541954,
0.007904057390987873,
-0.005723927170038223,
0.0027989917434751987,
-0.010249217040836811,
-0.02254827879369259,
-0.047146398574113846,
0.02465023659169674,
0.0044210609048604965,
-0.012255632318556309,
0.019369283691048622,
0.02065477892756462,
-0.028819410130381584,
-0.01683303713798523,
0.003367910161614418,
0.0555889755487442,
-0.017710300162434578,
-0.007973543368279934,
0.03403087705373764,
0.024059602990746498,
-0.04238659515976906,
-0.0387733094394207,
-0.04026726260781288,
0.06646356731653214,
0.03238057717680931,
-0.0031572801526635885,
0.039329200983047485,
0.017927445471286774,
0.05207991972565651,
0.045339759439229965,
0.0036914553493261337,
-0.008238459937274456,
-0.0027642487548291683,
-0.018952365964651108,
-0.002653504954650998,
0.02862832322716713,
0.024389663711190224,
-0.03703615441918373,
-0.052844271063804626,
0.017458412796258926,
-0.04596513509750366,
0.01999465934932232,
-0.0006986622465774417,
-0.02388588711619377,
0.001663326402194798,
-0.04207390546798706,
-0.026804309338331223,
0.02690853923559189,
-0.02607470378279686,
0.02982695959508419,
-0.02960112877190113,
0.00875526387244463,
0.006848735269159079,
0.04558296129107475,
-0.011230709962546825,
-0.009832300245761871,
0.02989644557237625,
0.0029466499108821154,
-0.012620434165000916,
0.0413442999124527,
0.000612890173215419,
0.037592045962810516,
0.03455202281475067,
0.051211342215538025,
0.033474985510110855,
0.00582381384447217,
0.0601055808365345,
-0.02736019901931286,
-0.0117952860891819,
0.05454668030142784,
-0.015495426952838898,
0.008086458779871464,
0.07532306015491486,
0.025640415027737617,
0.024059602990746498,
-0.008781321346759796,
0.07893634587526321,
0.01667669229209423,
-0.011699742637574673,
-0.05875059962272644,
-0.0002839163353201002,
-0.03960714489221573,
0.012151402421295643,
0.04961315914988518,
0.0022517878096550703,
-0.00988441426306963,
-0.03403087705373764,
-0.0021519013680517673,
0.004077972378581762,
0.04864035174250603,
-0.04648628085851669,
0.028280891478061676,
-0.04311620071530342,
-0.023052053526043892,
-0.014192560687661171,
0.020394206047058105,
0.044436436146497726,
-0.060974158346652985,
0.002063957741484046,
-0.01608606055378914,
-0.012707292102277279,
0.006544733420014381,
0.009033208712935448,
-0.023243140429258347,
-0.023486342281103134,
0.03853010758757591,
-0.042977225035429,
-0.010657449252903461,
0.017658185213804245,
-0.07657381147146225,
0.0649348720908165,
-0.031008224934339523,
0.003780484665185213,
0.010570591315627098,
0.006375360768288374,
-0.037522558122873306,
-0.0323110930621624,
-0.0685134157538414,
0.0008495775982737541,
-0.0003770170151256025,
-0.03057393617928028,
-0.014991652220487595,
-0.00118778005708009,
0.017267325893044472,
0.04735485836863518,
0.05336541682481766,
-0.0011769228149205446,
-0.0620511956512928,
0.06840918213129044,
-0.025866245850920677,
0.01999465934932232,
0.035576943308115005,
-0.07810251414775848,
0.06632459908723831,
0.032415322959423065,
0.04690319672226906,
-0.003975914791226387,
-0.003960714675486088,
-0.07587894797325134,
-0.057743046432733536,
0.04037149250507355,
-0.012985236942768097,
0.0601055808365345,
-0.05795150622725487,
0.009180867113173008,
0.006401417776942253,
-0.03088662400841713,
-0.06208593770861626,
-0.01893499493598938,
-0.08178527653217316,
0.004386317450553179,
-0.0009098351583816111,
0.021766558289527893,
0.06434424221515656,
-0.015035080723464489,
0.010666134767234325,
-0.054442454129457474,
0.059619177132844925,
-0.07719919085502625,
-0.02284359373152256,
0.0227741077542305,
0.005141980014741421,
0.00753491185605526,
-0.01742366887629032,
-0.014757135882973671,
0.07219617813825607,
0.019508255645632744,
0.02171444334089756,
-0.026508992537856102,
-0.005997529253363609,
0.005046436563134193,
0.05291375517845154,
0.04530501365661621,
-0.02284359373152256,
0.05194094777107239,
-0.015590970404446125,
-0.03762678802013397,
-0.03981560468673706,
0.03981560468673706,
0.03333601355552673,
0.008842121809720993,
0.020915351808071136,
-0.03253692388534546,
0.002911906922236085,
-0.08477319031953812,
-0.013671413995325565,
0.028906267136335373,
-0.02855883538722992,
0.011404425837099552,
-0.06271131336688995,
-0.018066417425870895,
0.011552084237337112,
0.005706555675715208,
-0.01093539409339428,
-0.06542127579450607,
0.03988508880138397,
-0.0006812906940467656,
0.008759606629610062,
0.008299260400235653,
0.09193027019500732,
-0.014209931716322899,
0.00423648813739419,
0.037765759974718094,
-0.027377570047974586,
-0.004929178860038519,
-0.043394144624471664,
-0.001488525071181357,
0.01577337086200714,
0.036341290920972824,
0.02397274598479271,
-0.05016905069351196,
0.06062672659754753,
-0.08977619558572769,
-0.013697470538318157,
-0.003063908079639077,
0.007031136658042669,
0.02975747361779213,
0.043984778225421906,
-0.006883478723466396,
-0.023503713309764862,
-0.05416450649499893,
0.06552550196647644,
0.07094542682170868,
-0.02397274598479271,
-0.031373027712106705,
0.041066356003284454,
0.009971272200345993,
-0.0620511956512928,
0.015912344679236412,
0.00557626923546195,
0.03922497108578682,
0.023017309606075287,
0.001286580809392035,
0.01570388488471508,
-0.04683371260762215,
-0.050829168409109116,
0.062468111515045166,
0.03203314542770386,
-0.009893100708723068,
0.03142514452338219,
0.04304671287536621,
-0.06288503110408783,
-0.025900987908244133,
-0.027846602723002434,
-0.002709962660446763,
0.11173383891582489,
0.012194831855595112,
0.015295653603971004,
-0.0539560504257679,
0.02458075061440468,
-0.04381106048822403,
-0.010587962344288826,
0.050238534808158875,
0.06465692818164825,
0.019890429452061653,
-0.004312488716095686,
0.0190739668905735,
-0.009962586686015129,
-0.007022451143711805,
-0.0190739668905735,
-0.014739763922989368,
0.010666134767234325,
0.004405860789120197,
-0.025588300079107285,
0.020637407898902893,
0.002688248176127672,
0.0003363024443387985,
0.03616757690906525,
0.026543736457824707,
0.05850739777088165,
-0.02322576940059662,
0.009641213342547417,
0.057604074478149414,
-0.02020311914384365,
-0.0015232681762427092,
0.008998465724289417,
0.005063808057457209,
0.02352108433842659,
-0.06469167023897171,
0.04408900439739227,
-0.024250689893960953,
0.026126818731427193
] |
21,573 | delorean.dates | __ge__ | null | def __ge__(self, other):
return self.epoch >= other.epoch
| (self, other) | [
0.029541531577706337,
0.022940924391150475,
-0.057080820202827454,
0.09990840405225754,
-0.03425867483019829,
-0.04354024678468704,
-0.04133438691496849,
0.04014661908149719,
0.021787090227007866,
-0.018953410908579826,
0.014168396592140198,
-0.027963493019342422,
0.07031597197055817,
0.020955651998519897,
-0.016450611874461174,
-0.013693288899958134,
-0.04863068833947182,
0.03702447935938835,
-0.02974514849483967,
-0.02723386324942112,
-0.038076505064964294,
-0.022431880235671997,
-0.004700174555182457,
0.027861684560775757,
0.0345301628112793,
0.0970577597618103,
0.0019757277332246304,
0.01956426538527012,
-0.04242035001516342,
0.030780205503106117,
-0.07744258642196655,
-0.03371569141745567,
0.05850614607334137,
-0.023178478702902794,
0.034088991582393646,
-0.012250997126102448,
-0.04907185956835747,
0.03135712072253227,
-0.06539520621299744,
-0.005756441503763199,
0.02029389515519142,
-0.0460175946354866,
-0.031611643731594086,
0.03505617752671242,
0.025299495086073875,
-0.02543524093925953,
-0.017511120066046715,
-0.005251639056950808,
-0.007656872738152742,
-0.025570986792445183,
-0.04113076999783516,
-0.025927316397428513,
0.06407169252634048,
0.03329148888587952,
-0.0929175317287445,
0.02404385432600975,
0.02567279525101185,
0.09189943969249725,
-0.050225693732500076,
0.008831916376948357,
-0.024128694087266922,
0.0014709256356582046,
0.029219135642051697,
0.008208337239921093,
0.019394584000110626,
-0.02395901270210743,
-0.08918453752994537,
-0.013667836785316467,
-0.006659994833171368,
0.0852479338645935,
-0.009239152073860168,
0.022737307474017143,
0.03702447935938835,
0.008624057285487652,
-0.05731837451457977,
-0.0020054220221936703,
-0.07981812953948975,
0.05490889772772789,
0.0005260123289190233,
-0.04713749140501022,
0.03705841675400734,
-0.03166254982352257,
0.04713749140501022,
-0.017044495791196823,
-0.016535451635718346,
-0.04469408094882965,
-0.005781893618404865,
-0.0015886420151218772,
0.014304141514003277,
0.024739546701312065,
-0.030457809567451477,
0.05511251837015152,
0.01687481440603733,
-0.029405785724520683,
0.03682086244225502,
0.037397779524326324,
-0.016204573214054108,
0.013642383739352226,
-0.011657112278044224,
-0.0395357646048069,
0.06688840687274933,
0.03181526064872742,
-0.030661428347229958,
0.004721384961158037,
0.016501516103744507,
0.013438766822218895,
-0.029202168807387352,
-0.04004481062293053,
-0.049377284944057465,
-0.009934845380485058,
-0.04880036786198616,
0.03950182721018791,
-0.050972290337085724,
0.024451088160276413,
-0.028981581330299377,
-0.020752035081386566,
0.013277568854391575,
0.01737537421286106,
-0.022991828620433807,
-0.024026885628700256,
0.03800863400101662,
0.02859131433069706,
0.01078325230628252,
0.048664625734090805,
-0.01920793391764164,
-0.009807584807276726,
0.043268755078315735,
0.040078744292259216,
-0.023992950096726418,
-0.08904879540205002,
0.05921880528330803,
-0.004140226170420647,
0.014948930591344833,
0.06417350471019745,
0.028167111799120903,
-0.07004448026418686,
0.02280517853796482,
0.05874370038509369,
0.0036439078394323587,
-0.014185364358127117,
0.015186484903097153,
0.013862970285117626,
0.06037263944745064,
-0.014151427894830704,
0.012004958465695381,
-0.0011845881817862391,
-0.10696715116500854,
0.024298375472426414,
0.017867451533675194,
0.04523706063628197,
0.0275901947170496,
-0.025299495086073875,
0.058370400220155716,
-0.011767405085265636,
-0.027488386258482933,
-0.03174738958477974,
-0.03200191259384155,
-0.07418470829725266,
0.016102764755487442,
0.0011347443796694279,
-0.01317576039582491,
0.01572946459054947,
-0.02104049362242222,
-0.03712628781795502,
-0.008288935758173466,
0.031204408034682274,
-0.07832492887973785,
0.0019163392717018723,
-0.02552008256316185,
0.03617607429623604,
0.04747685417532921,
-0.004492314998060465,
0.01545797474682331,
0.016891783103346825,
-0.04316694661974907,
-0.004318391438573599,
0.03916246443986893,
0.06139072775840759,
-0.021498633548617363,
0.03661724552512169,
0.0015865210443735123,
-0.01796925999224186,
-0.018359526991844177,
-0.03395324572920799,
0.036922670900821686,
-0.010121495462954044,
0.006235791370272636,
0.010129978880286217,
0.004244155716150999,
0.02767503634095192,
-0.03929821029305458,
-0.017562024295330048,
-0.01359996385872364,
-0.01734992302954197,
-0.007381140720099211,
-0.009120374917984009,
-0.05426410958170891,
0.06162828207015991,
0.022194325923919678,
0.0917636975646019,
-0.04333662986755371,
0.033003032207489014,
-0.034122928977012634,
-0.06743138283491135,
0.030542651191353798,
0.000462646916275844,
-0.03844980522990227,
-0.015220421366393566,
0.031170472502708435,
-0.03519191965460777,
-0.021549537777900696,
-0.026266679167747498,
-0.010367533192038536,
0.050225693732500076,
0.04021449014544487,
-0.025011038407683372,
0.030440842732787132,
-0.022024644538760185,
-0.016688164323568344,
0.0006538036395795643,
0.051854632794857025,
-0.05830252543091774,
-0.004424442537128925,
-0.029320944100618362,
0.01720569282770157,
0.011648627929389477,
0.015449491329491138,
0.001993756275624037,
-0.01701904460787773,
-0.022414911538362503,
0.05826859176158905,
-0.010113011114299297,
0.00753809604793787,
-0.026826629415154457,
-0.01293820608407259,
0.08307600766420364,
-0.021702250465750694,
0.07411683350801468,
-0.08076834678649902,
-0.005854008253663778,
0.002271609613671899,
0.01690026745200157,
0.01082567311823368,
-0.011589239351451397,
0.06217126175761223,
-0.09929755330085754,
0.007966541685163975,
0.029575467109680176,
-0.03262973204255104,
0.05100622773170471,
-0.03529373183846474,
-0.03154377266764641,
-0.01832559145987034,
0.0029821505304425955,
-0.004806225653737783,
-0.0336308516561985,
-0.07221639901399612,
-0.07513491809368134,
0.04992026463150978,
0.040553852915763855,
-0.007822312414646149,
0.07540640980005264,
-0.026470297947525978,
0.0077374717220664024,
-0.052058253437280655,
0.03519191965460777,
-0.013150308281183243,
-0.00486137205734849,
0.0005975966341793537,
0.003289697924628854,
-0.02248278446495533,
-0.06498797237873077,
-0.03573490306735039,
0.01281942892819643,
-0.010155431926250458,
-0.019394584000110626,
0.028184080496430397,
-0.05850614607334137,
-0.02655513770878315,
-0.016246993094682693,
0.03166254982352257,
0.014007199555635452,
-0.05324602127075195,
-0.019479423761367798,
-0.04717142879962921,
-0.03773714229464531,
-0.020310863852500916,
0.008713139221072197,
0.0033236343879252672,
-0.05406049266457558,
0.01578885316848755,
-0.03617607429623604,
0.074931301176548,
-0.02492619678378105,
0.041436195373535156,
-0.015313745476305485,
0.05463740974664688,
-0.020701130852103233,
0.03509011119604111,
0.029456689953804016,
0.046899937093257904,
-0.0498523935675621,
-0.032205529510974884,
-0.009951814077794552,
-0.004526250995695591,
0.032290369272232056,
-0.019581232219934464,
0.041470132768154144,
0.04001087322831154,
0.0031900103203952312,
0.027929557487368584,
-0.004971664864569902,
-0.0016469700494781137,
0.006579395849257708,
0.003285455983132124,
0.0416058786213398,
0.010469341650605202,
-0.02324635162949562,
-0.006010963581502438,
0.05799710005521774,
0.001333059510216117,
0.04540674015879631,
0.01793532259762287,
0.025061942636966705,
-0.03383446857333183,
-0.1035735234618187,
0.0025833991821855307,
0.040961090475320816,
-0.026707852259278297,
0.026979342103004456,
-0.03174738958477974,
-0.024145662784576416,
0.0882343277335167,
0.023449968546628952,
0.004133862908929586,
0.06240881606936455,
0.03980725631117821,
0.024569865316152573,
0.04723929986357689,
-0.01829165406525135,
-0.01108019519597292,
0.001494256779551506,
-0.010800221003592014,
-0.017002075910568237,
0.05236367881298065,
0.010766284540295601,
-0.07065533101558685,
0.012912753969430923,
0.04354024678468704,
-0.0037945001386106014,
-0.0560627318918705,
0.061560411006212234,
0.005238912999629974,
0.022296134382486343,
0.0383479967713356,
0.03191706910729408,
0.022754274308681488,
-0.0551803894340992,
0.01309940405189991,
-0.0014168396592140198,
-0.004992875270545483,
0.003580277319997549,
0.0021591957192867994,
-0.04255609214305878,
-0.04876643419265747,
0.035327665507793427,
0.000478289439342916,
-0.04085927829146385,
-0.0416058786213398,
-0.0038517676293849945,
-0.07438832521438599,
-0.003743595676496625,
0.008594362996518612,
-0.03171345219016075,
0.00868768710643053,
-0.022940924391150475,
-0.05131165310740471,
0.028455570340156555,
0.0022122212685644627,
0.009697292000055313,
0.06441105902194977,
0.04594971984624863,
-0.013303020969033241,
0.03329148888587952,
0.018800698220729828,
-0.00842468161135912,
-0.013472702354192734,
-0.019988467916846275,
0.07038383930921555,
0.03083110973238945,
0.005917638540267944,
-0.020955651998519897,
-0.010257240384817123,
-0.009519126266241074,
-0.04404928907752037,
0.004445652477443218,
0.01980181783437729,
-0.017273565754294395,
-0.00836529303342104,
-0.054128363728523254,
0.010698411613702774,
0.0705195888876915,
-0.0289137102663517,
0.02882886864244938,
0.030288128182291985,
0.013710256665945053,
0.04951303079724312,
0.04140226170420647,
-0.06464861333370209,
0.05921880528330803,
-0.10214819759130478,
-0.03756745904684067,
-0.022262198850512505,
0.002816711086779833,
-0.029134295880794525,
-0.0246377382427454,
-0.005467982962727547,
-0.03254489228129387,
0.048019833862781525,
-0.02032783068716526,
-0.00978213269263506,
0.007351446431130171,
0.004318391438573599,
-0.024824388325214386,
-0.025893380865454674,
-0.029320944100618362,
0.011886181309819221,
0.003357570618391037,
-0.036685116589069366,
0.018138941377401352,
-0.037465650588274,
-0.04309907555580139,
0.015831274911761284,
-0.012709136120975018,
0.025350401178002357,
-0.006952695082873106,
-0.031526803970336914,
-0.04815557971596718,
0.0027912589721381664,
0.012386742047965527,
0.06760106980800629,
0.007262363564223051,
0.04998813942074776,
-0.011835277080535889,
-0.03498830273747444,
-0.029813021421432495,
0.009213699959218502,
0.03756745904684067,
0.02248278446495533,
-0.025469176471233368,
-0.0012535213027149439,
-0.004280213266611099,
-0.040995024144649506,
-0.004239914007484913,
0.0012991231633350253,
-0.051413461565971375,
-0.05809890851378441,
-0.03749958798289299,
0.0046323020942509174,
0.005735231097787619,
-0.028285888954997063,
0.013744193129241467,
-0.03933214768767357,
0.00839498732239008,
-0.04516918584704399,
0.020429639145731926,
0.008450133726000786,
-0.0010361169697716832,
-0.004954696632921696,
0.0016045497031882405,
0.028201047331094742,
-0.07072320580482483,
-0.03878916800022125,
-0.0176977701485157,
-0.025028005242347717,
0.03542947396636009,
-0.024468056857585907,
0.0072963000275194645,
0.00682967621833086,
-0.012692168354988098,
-0.02528252825140953,
-0.010435406118631363,
-0.000776822620537132,
-0.0312722809612751,
0.038517676293849945,
-0.04126651585102081,
-0.0876234695315361,
0.012522486969828606,
-0.02148166485130787,
-0.017188725993037224,
-0.006223065312951803,
-0.01964910514652729,
-0.014991351403295994,
0.04048598185181618,
-0.013998715206980705,
-0.02233007177710533,
0.006923000793904066,
0.05202431604266167,
0.016187604516744614,
-0.010350565426051617,
-0.025740668177604675,
0.08042898029088974,
-0.04727323725819588,
0.0055273715406656265,
0.03997693583369255,
0.04493163153529167,
-0.008021688088774681,
-0.03882310166954994,
-0.008959177881479263,
0.04859675094485283,
0.06597212702035904,
-0.053619321435689926,
0.051854632794857025,
0.055451881140470505,
0.03685479983687401,
0.003976907581090927,
-0.024569865316152573,
-0.004046901129186153,
0.006435167044401169,
0.014499275013804436,
0.03821225091814995,
0.014745312742888927,
0.022856084629893303,
-0.036719053983688354,
-0.05965997651219368,
-0.00277004879899323,
-0.010062106885015965,
-0.02372145839035511,
0.002477348316460848,
0.004721384961158037,
-0.0029800294432789087,
-0.05256729573011398,
0.01595853455364704,
0.01717175729572773,
-0.0531102754175663,
0.053178150206804276,
-0.044863760471343994,
0.03790682181715965,
-0.038755230605602264,
0.04062172770500183,
0.0339193120598793,
-0.0025515840388834476,
0.11490824073553085,
0.04208098724484444,
0.002267367672175169,
0.04384567216038704,
-0.051854632794857025,
0.03980725631117821,
0.0383479967713356,
0.03685479983687401,
0.01737537421286106,
0.005917638540267944,
0.020752035081386566,
-0.023416033014655113,
0.017511120066046715,
0.024230502545833588,
-0.021939804777503014,
0.0055994861759245396,
0.04611940309405327,
0.02899855002760887,
0.006095804274082184,
-0.00607035169377923,
0.07194491475820541,
-0.006812707986682653,
-0.08178643137216568,
-0.03749958798289299,
0.038280121982097626,
-0.033444203436374664,
0.022177359089255333,
0.0480877086520195,
0.01714630424976349,
0.01893644407391548,
-0.04676419124007225,
-0.018342558294534683,
-0.012463098391890526,
0.0501578189432621,
-0.05602879822254181,
0.02121017500758171,
-0.047069620341062546,
-0.04859675094485283,
0.012055862694978714,
-0.0202090535312891,
0.03174738958477974,
-0.05765773728489876,
-0.0006999357719905674,
-0.0011845881817862391,
-0.012692168354988098,
0.028608283028006554,
-0.0013203333364799619,
0.025095878168940544,
-0.005094683729112148,
0.028811899945139885,
-0.046390894800424576,
-0.004670480266213417,
0.0162215419113636,
-0.057963162660598755,
0.0604744479060173,
-0.01242067851126194,
-0.03091594949364662,
0.024858323857188225,
0.034088991582393646,
0.0024073547683656216,
-0.03417383134365082,
-0.044558335095644,
-0.0160773117095232,
-0.0038517676293849945,
-0.005586760118603706,
-0.01781654730439186,
-0.029897861182689667,
0.00886585284024477,
0.023772362619638443,
0.03790682181715965,
-0.004865613766014576,
-0.028336793184280396,
0.07058746367692947,
0.024213535711169243,
0.008165917359292507,
0.03610819950699806,
-0.031408026814460754,
0.0454406775534153,
0.03990906476974487,
0.0357009656727314,
0.022669434547424316,
0.018037132918834686,
-0.028336793184280396,
-0.07479555904865265,
0.07133405655622482,
-0.04493163153529167,
0.0365833081305027,
-0.024451088160276413,
0.003327876329421997,
-0.00898462999612093,
0.022194325923919678,
-0.06532733887434006,
-0.03407202288508415,
-0.06705808639526367,
0.008136223070323467,
-0.00273611256852746,
0.012463098391890526,
0.01317576039582491,
-0.05881157144904137,
0.021464696153998375,
-0.052974529564380646,
0.02032783068716526,
-0.053653258830308914,
-0.015534332022070885,
-0.0041762832552194595,
0.029813021421432495,
0.03395324572920799,
-0.043472371995449066,
0.026249712333083153,
0.057759545743465424,
0.0244850255548954,
0.015364650636911392,
-0.05372112989425659,
0.0006007782067172229,
0.0025409788358956575,
0.02339906431734562,
0.0678386241197586,
-0.015856726095080376,
0.025028005242347717,
0.008042898029088974,
-0.022211294621229172,
-0.035565219819545746,
0.02779381163418293,
0.02855737879872322,
0.010087558999657631,
-0.01100383885204792,
-0.029490625485777855,
0.03162861242890358,
-0.06559883058071136,
-0.014728344976902008,
0.0029354882426559925,
-0.02838769741356373,
-0.0054213204421103,
-0.06834766268730164,
-0.013667836785316467,
-0.0005541158025152981,
-0.011165035888552666,
-0.010613570921123028,
-0.012895786203444004,
0.0648861676454544,
-0.0327485091984272,
-0.0013786613708361983,
0.03278244659304619,
0.057284437119960785,
-0.017044495791196823,
0.04852887988090515,
0.05419623851776123,
-0.0193267110735178,
-0.004568671341985464,
-0.014321109279990196,
-0.004912276286631823,
0.009120374917984009,
0.004513524938374758,
0.009553062729537487,
-0.041707687079906464,
0.05120984464883804,
-0.017901387065649033,
-0.020107245072722435,
0.016764521598815918,
-0.004933486692607403,
-0.0046959323808550835,
0.04588184878230095,
-0.022414911538362503,
-0.016119731590151787,
-0.02380630001425743,
0.013006079010665417,
0.0707910805940628,
-0.0336308516561985,
-0.03522585704922676,
0.05507858097553253,
0.005026811268180609,
-0.07527066767215729,
0.025028005242347717,
0.026012158021330833,
0.051413461565971375,
0.004975907038897276,
0.016000956296920776,
0.010036654770374298,
-0.04177555814385414,
-0.003582398407161236,
0.06407169252634048,
-0.0037329907063394785,
-0.036481499671936035,
0.02384023554623127,
0.045712169259786606,
-0.08490856736898422,
-0.026606041938066483,
-0.03446229174733162,
0.015228904783725739,
0.06868702918291092,
-0.005747957155108452,
0.006931485142558813,
-0.01657787151634693,
0.024298375472426414,
-0.05083654448390007,
-0.01377812959253788,
0.05419623851776123,
0.07472768425941467,
0.01623002626001835,
-0.015831274911761284,
0.024349279701709747,
-0.05202431604266167,
0.00815743301063776,
-0.033529043197631836,
-0.01639970764517784,
0.02882886864244938,
-0.00345937954261899,
-0.03361388295888901,
0.016535451635718346,
0.013235148973762989,
0.03549734875559807,
-0.0025367368943989277,
0.04062172770500183,
0.0625445619225502,
-0.021837996318936348,
0.013370893895626068,
0.03371569141745567,
-0.0007052383152768016,
-0.04065566137433052,
0.032527923583984375,
-0.005548581480979919,
0.04333662986755371,
-0.03525979444384575,
0.05358538404107094,
-0.019666073843836784,
0.062476690858602524
] |
21,574 | delorean.dates | __getattr__ |
Implement __getattr__ to call `shift_date` function when function
called does not exist
| def __getattr__(self, name):
"""
Implement __getattr__ to call `shift_date` function when function
called does not exist
"""
func_parts = name.split('_')
# is the func we are trying to call the right length?
if len(func_parts) != 2:
raise AttributeError
# is the function we are trying to call valid?
if (func_parts[0] not in self._VALID_SHIFT_DIRECTIONS or
func_parts[1] not in self._VALID_SHIFT_UNITS):
return AttributeError
# dispatch our function
func = partial(self._shift_date, func_parts[0], func_parts[1])
# update our partial with self.shift_date attributes
update_wrapper(func, self._shift_date)
return func
| (self, name) | [
0.07128381729125977,
-0.009076985530555248,
0.022609209641814232,
0.04316630959510803,
-0.02610139735043049,
-0.055442966520786285,
0.003393181599676609,
0.017667945474386215,
0.007029376458376646,
0.01404075138270855,
0.004855759907513857,
0.03989013656973839,
0.06559550762176514,
-0.011646623723208904,
-0.00001580358002684079,
0.06825965642929077,
0.00987352803349495,
0.0488906167447567,
-0.0234372541308403,
-0.02734346315264702,
0.019369035959243774,
-0.02377927303314209,
-0.010089539922773838,
0.054362908005714417,
0.025453362613916397,
0.11110194772481918,
-0.02385127730667591,
0.01680389977991581,
0.06563151627779007,
-0.052886832505464554,
0.0067413607612252235,
0.015156811103224754,
-0.026785433292388916,
-0.005130274686962366,
0.019261030480265617,
-0.02764947898685932,
-0.012708679772913456,
-0.0017078414093703032,
-0.08870875090360641,
-0.004061467479914427,
0.08993281424045563,
-0.004227976314723492,
0.010296551510691643,
-0.051482755690813065,
0.0003223297535441816,
-0.03063764050602913,
-0.019873064011335373,
0.04604646563529968,
0.008613460697233677,
-0.01061156764626503,
0.008847473189234734,
0.0030871652998030186,
0.06447944790124893,
-0.04194224625825882,
-0.023635264486074448,
0.07963626086711884,
0.004711752291768789,
0.06746760755777359,
0.037370000034570694,
0.0063858418725430965,
-0.06329138576984406,
0.031753700226545334,
-0.02881954237818718,
-0.0005096522509120405,
-0.0035011873114854097,
-0.03834205120801926,
-0.014589780941605568,
-0.0473785363137722,
-0.0049907672218978405,
0.04500240832567215,
0.004122220445424318,
0.04896261915564537,
0.019189026206731796,
0.001954229548573494,
0.01296969410032034,
0.010206546634435654,
-0.058827146887779236,
-0.08100433647632599,
0.05745907500386238,
-0.03382381051778793,
-0.024211294949054718,
-0.02278921939432621,
-0.06897969543933868,
-0.0062373336404562,
-0.034057822078466415,
-0.03387781232595444,
0.02610139735043049,
-0.04100619629025459,
-0.01242066454142332,
0.04705451801419258,
-0.06066324561834335,
0.00018774443014990538,
-0.040250156074762344,
0.019801059737801552,
-0.028783541172742844,
0.0008702341001480818,
0.029035553336143494,
-0.0312676727771759,
0.014949800446629524,
-0.007717913016676903,
0.050330694764852524,
-0.06815164536237717,
-0.008806971833109856,
0.006529849488288164,
0.05277882516384125,
-0.03576791286468506,
-0.028441522270441055,
-0.053210847079753876,
-0.06102326512336731,
-0.026155399158596992,
0.035281889140605927,
-0.029089557006955147,
-0.05508294701576233,
0.005836812313646078,
0.024175293743610382,
0.014301765710115433,
0.002733896253630519,
0.014256763271987438,
0.0031479184981435537,
-0.002170241205021739,
0.02923356555402279,
-0.018036965280771255,
-0.001254442147910595,
-0.0024571313988417387,
0.020593103021383286,
0.007569405250251293,
-0.023887278512120247,
0.013680731877684593,
0.11470214277505875,
0.016947906464338303,
0.01073757465928793,
0.017370929941534996,
-0.019513044506311417,
0.0262634065002203,
-0.019801059737801552,
0.05069071426987648,
0.05490293726325035,
0.03220372274518013,
-0.05259881541132927,
0.04086218774318695,
0.016209866851568222,
-0.009558511897921562,
0.032743752002716064,
0.030619638040661812,
0.014499776065349579,
0.039746128022670746,
0.03394981846213341,
0.08395649492740631,
0.003336928552016616,
0.015939854085445404,
0.022843223065137863,
0.0008190438384190202,
-0.021151132881641388,
0.013275710865855217,
0.005809810943901539,
-0.005148275755345821,
0.004063717555254698,
0.004140221513807774,
-0.035389892756938934,
-0.03981813043355942,
-0.010467560030519962,
-0.0014232011744752526,
-0.05310284346342087,
-0.06789963692426682,
0.0556589774787426,
0.01646188087761402,
0.03708198294043541,
-0.07178784161806107,
0.07059977948665619,
0.03576791286468506,
-0.005152775906026363,
0.027757486328482628,
0.02304123342037201,
0.015408825129270554,
0.01891901344060898,
0.03351779282093048,
-0.02930556796491146,
0.0019317284459248185,
-0.010908584110438824,
-0.043238315731287,
0.02723545767366886,
-0.00737139442935586,
-0.10526963323354721,
0.011205599643290043,
-0.009891529567539692,
0.07315591722726822,
-0.012852688319981098,
-0.02163715846836567,
-0.019873064011335373,
0.039350107312202454,
0.01737993024289608,
0.027973497286438942,
0.02964758686721325,
0.011484614573419094,
-0.031231671571731567,
-0.025327356532216072,
-0.04259027913212776,
0.04943064600229263,
0.04226626083254814,
0.04169023036956787,
-0.001613336382433772,
0.02709144912660122,
-0.00003797078170464374,
0.046190470457077026,
-0.0018225975800305605,
-0.0055982996709644794,
0.03589392080903053,
0.0046442486345767975,
-0.07175184041261673,
-0.058899153023958206,
0.01890101097524166,
-0.02129513956606388,
0.0037509507965296507,
0.02997160330414772,
-0.014004749245941639,
0.013797738589346409,
0.043562330305576324,
-0.01440977118909359,
-0.01751493662595749,
0.023671267554163933,
-0.0018709751311689615,
0.059403181076049805,
0.006624354515224695,
-0.04367033764719963,
0.06159929558634758,
-0.014733788557350636,
0.030241617932915688,
-0.0483865886926651,
-0.027973497286438942,
-0.008095933124423027,
0.0029926602728664875,
-0.0353538915514946,
0.003775702090933919,
-0.031231671571731567,
-0.01931503415107727,
0.0017764701042324305,
0.011646623723208904,
-0.004554243758320808,
0.0025516366586089134,
-0.01631787419319153,
0.012222654186189175,
0.00425272760912776,
0.027289461344480515,
0.029665587469935417,
0.04543443024158478,
-0.045290425419807434,
-0.0042954799719154835,
0.08107633888721466,
-0.046118468046188354,
-0.0011138096451759338,
0.07369594275951385,
0.01498580165207386,
-0.013347714208066463,
0.02336524985730648,
-0.02138514444231987,
-0.03791002929210663,
-0.013392716646194458,
0.01370773371309042,
0.04183423891663551,
0.017361929640173912,
-0.01395074650645256,
-0.019963068887591362,
-0.039998140186071396,
-0.046766504645347595,
-0.01287968922406435,
-0.028675535693764687,
0.01998106949031353,
0.036541957408189774,
-0.039674121886491776,
0.05702705308794975,
-0.05785509571433067,
-0.04719852656126022,
-0.020773112773895264,
0.018739003688097,
-0.02964758686721325,
-0.01527381781488657,
0.020287085324525833,
-0.06296736747026443,
0.014787791296839714,
-0.04442637786269188,
0.07265188544988632,
0.03877407684922218,
-0.05187877640128136,
0.058431126177310944,
-0.05861113592982292,
-0.02311323769390583,
0.00282840128056705,
0.013284711167216301,
0.03565990924835205,
0.008766469545662403,
0.059331174939870834,
-0.0024908832274377346,
0.03866606950759888,
-0.010701572522521019,
0.02665942721068859,
0.030025606974959373,
0.009234494529664516,
-0.04435437545180321,
0.038270048797130585,
-0.009198492392897606,
-0.02278921939432621,
-0.03708198294043541,
-0.034381840378046036,
0.027451468631625175,
-0.005530796013772488,
-0.02962958626449108,
0.019963068887591362,
0.03268975019454956,
-0.04633447900414467,
0.009108487516641617,
0.007569405250251293,
-0.021349143236875534,
-0.05393088608980179,
-0.05580298602581024,
0.014499776065349579,
0.006628854665905237,
-0.016308872029185295,
0.08755668997764587,
0.03006160818040371,
0.10987788438796997,
-0.021817168220877647,
0.03195171058177948,
-0.026371411979198456,
0.07311991602182388,
0.027109451591968536,
-0.006835865788161755,
0.02442730776965618,
-0.019585048779845238,
-0.012231654487550259,
0.03569591045379639,
-0.08777269721031189,
-0.04597445949912071,
0.03931410238146782,
0.0011689375387504697,
-0.012861688621342182,
0.011880636215209961,
-0.009828525595366955,
-0.04428236931562424,
0.042302265763282776,
0.00011651404929580167,
0.03978212922811508,
0.03254574164748192,
-0.024463308975100517,
-0.018811006098985672,
0.0023603762965649366,
-0.014346768148243427,
0.019927065819501877,
0.07117580622434616,
0.06876368075609207,
-0.014976801350712776,
0.014427771791815758,
-0.07502801716327667,
-0.014436773024499416,
0.021943174302577972,
0.018937014043331146,
-0.004578995052725077,
0.04763054847717285,
-0.01007153932005167,
0.019117023795843124,
-0.0468745082616806,
0.034813862293958664,
-0.026857437565922737,
-0.004963765852153301,
-0.011322606354951859,
0.053858883678913116,
-0.00749290082603693,
-0.0452544204890728,
-0.01813597045838833,
0.03196971118450165,
-0.06962772458791733,
-0.021025124937295914,
-0.0053327856585383415,
0.00532378489151597,
-0.04493040591478348,
-0.007884422317147255,
-0.00835694745182991,
0.0639394223690033,
0.03193370997905731,
-0.04309430718421936,
0.006565851625055075,
0.02230319380760193,
-0.043886348605155945,
-0.006345339585095644,
0.04035815969109535,
0.0629313662648201,
0.0035034376196563244,
0.011817632243037224,
0.015822846442461014,
0.030493631958961487,
-0.042878296226263046,
0.00850545521825552,
-0.031159667298197746,
-0.02302323281764984,
0.0197470560669899,
-0.004245977383106947,
-0.039926137775182724,
0.031177667900919914,
-0.027937496080994606,
0.01361772883683443,
-0.015363822691142559,
0.03394981846213341,
-0.012330659665167332,
0.009603514336049557,
0.051554758101701736,
0.04219425842165947,
0.017694946378469467,
0.029125558212399483,
0.046370480209589005,
-0.048746608197689056,
0.010224547237157822,
-0.02584938332438469,
-0.02088111825287342,
-0.048026569187641144,
-0.061455290764570236,
0.006552350707352161,
0.034309837967157364,
-0.04730653017759323,
0.0071598831564188,
-0.000030798524676356465,
-0.03130367398262024,
0.016983909532427788,
-0.020215081050992012,
0.011052591726183891,
0.010422557592391968,
0.005458792205899954,
-0.025561368092894554,
-0.004524992313235998,
-0.030691642314195633,
-0.02147514931857586,
0.06926770508289337,
0.013797738589346409,
0.007078879047185183,
-0.09238094091415405,
-0.011502616107463837,
0.048602599650621414,
-0.04590245708823204,
-0.0536428727209568,
0.01321270689368248,
-0.04053816944360733,
0.031087663024663925,
-0.013608728535473347,
0.04125820845365524,
0.030997660011053085,
-0.02386927790939808,
-0.05756708234548569,
-0.045542437583208084,
0.018703000620007515,
0.046190470457077026,
0.007789916824549437,
-0.04464238882064819,
0.03409382328391075,
0.08129235357046127,
-0.006480346899479628,
0.009270495735108852,
0.005976319778710604,
-0.04662249609827995,
-0.025381358340382576,
-0.057747092097997665,
0.01749693602323532,
-0.011862634681165218,
-0.034147828817367554,
-0.01990906521677971,
-0.038846079260110855,
-0.02485932968556881,
-0.04187024012207985,
0.062211330980062485,
-0.04691050946712494,
-0.0002930781920440495,
-0.06015922129154205,
-0.009423504583537579,
0.034309837967157364,
-0.039098091423511505,
0.02583138272166252,
-0.029107557609677315,
-0.003903958946466446,
0.004729753360152245,
-0.04266228526830673,
-0.016677891835570335,
0.02566937357187271,
-0.03499387204647064,
-0.00011391234875191003,
-0.01965705119073391,
0.02428329922258854,
-0.007533403113484383,
-0.015399823896586895,
-0.019927065819501877,
-0.016074860468506813,
0.004009714815765619,
0.004007464274764061,
-0.03569591045379639,
-0.029773592948913574,
0.1351512372493744,
0.05331885442137718,
-0.002272621728479862,
-0.0004368046356830746,
0.011817632243037224,
-0.02435530349612236,
0.001724717323668301,
0.0493946447968483,
-0.014922798611223698,
-0.03515588119626045,
0.012663678266108036,
0.03292376175522804,
0.03169969841837883,
0.018351981416344643,
-0.026875438168644905,
-0.013311712071299553,
0.004612747114151716,
0.033643800765275955,
-0.08287643641233444,
0.023329248651862144,
-0.005476793274283409,
0.01998106949031353,
0.04053816944360733,
-0.015732841566205025,
-0.028693536296486855,
0.008545957505702972,
0.005985320545732975,
-0.04763054847717285,
0.022555207833647728,
0.07290390133857727,
-0.018063966184854507,
-0.0008640462183393538,
-0.058251116424798965,
-0.02665942721068859,
-0.006529849488288164,
0.011736628599464893,
-0.017919959500432014,
0.0016988408751785755,
-0.015525830909609795,
-0.014067753218114376,
-0.005076271481812,
0.0032874259632080793,
0.04259027913212776,
0.050150685012340546,
0.07423597574234009,
-0.09382101893424988,
-0.014400770887732506,
-0.055442966520786285,
0.03220372274518013,
0.010557564906775951,
-0.016452880576252937,
0.012987694703042507,
0.017001910135149956,
-0.004626247566193342,
-0.048602599650621414,
-0.02939557284116745,
0.007623407989740372,
0.01333871390670538,
-0.04169023036956787,
-0.04773855581879616,
-0.018757004290819168,
0.02667742781341076,
0.01168262492865324,
-0.00839294958859682,
-0.005526295863091946,
0.0105305640026927,
0.016641890630126,
-0.01924302987754345,
-0.002436880487948656,
-0.034849863499403,
0.044786397367715836,
0.06678357720375061,
-0.024625318124890327,
-0.08993281424045563,
0.000642971892375499,
0.06473146378993988,
0.02071910910308361,
-0.015894850715994835,
-0.023329248651862144,
-0.03515588119626045,
0.03681197017431259,
-0.012717681005597115,
-0.048350587487220764,
-0.027631478384137154,
0.04053816944360733,
0.0029049054719507694,
-0.037766020745038986,
-0.011043591424822807,
-0.06285936385393143,
-0.0024998837616294622,
-0.06995174288749695,
0.01370773371309042,
-0.08352447301149368,
-0.06563151627779007,
-0.04151022061705589,
-0.02253720536828041,
0.019945068284869194,
-0.0017820954089984298,
-0.0228792242705822,
-0.03310377150774002,
-0.05925917252898216,
-0.03542589768767357,
0.00841545034199953,
0.032743752002716064,
0.02667742781341076,
-0.051302745938301086,
0.012294658459722996,
-0.045290425419807434,
-0.03321177884936333,
-0.007546904031187296,
0.0389900878071785,
0.02593938820064068,
0.05241880565881729,
0.030421627685427666,
0.05994320660829544,
-0.015309819020330906,
0.02739746682345867,
-0.05216679349541664,
-0.0226272102445364,
-0.01407675351947546,
0.024895332753658295,
0.06552350521087646,
0.0624273419380188,
0.07178784161806107,
-0.019207028672099113,
-0.05702705308794975,
0.014823793433606625,
-0.008568458259105682,
-0.05162676423788071,
-0.08870875090360641,
0.011178598739206791,
-0.03238373249769211,
0.01230365876108408,
-0.03938610851764679,
-0.012132649309933186,
0.049574654549360275,
-0.0005349661223590374,
0.04986266791820526,
-0.01733492873609066,
0.016029857099056244,
0.0052022784948349,
0.06210332363843918,
-0.07841219753026962,
-0.00012818655523005873,
0.01646188087761402,
0.016794899478554726,
0.000020585086531355046,
-0.024733323603868484,
0.012591673992574215,
0.04896261915564537,
-0.017343929037451744,
0.014697786420583725,
-0.03225772827863693,
-0.03809003904461861,
0.04683850705623627,
-0.0205570999532938,
-0.06872767955064774,
0.018468989059329033,
0.003829705063253641,
-0.060555242002010345,
-0.04169023036956787,
-0.022573208436369896,
0.020701108500361443,
0.010224547237157822,
-0.08201239258050919,
0.02304123342037201,
-0.06545150279998779,
0.04284229129552841,
-0.015390823595225811,
-0.05821511521935463,
-0.032491739839315414,
-0.018973015248775482,
0.01003553718328476,
0.016362875699996948,
0.006867367774248123,
-0.005022268742322922,
-0.021601155400276184,
0.046766504645347595,
-0.015615835785865784,
0.02989960089325905,
-0.01990906521677971,
0.050834719091653824,
-0.0052022784948349,
-0.02154715359210968,
-0.004707252141088247,
0.015588833950459957,
0.01899101585149765,
0.05108673498034477,
0.0006446595070883632,
0.00106318190228194,
0.027289461344480515,
-0.060879260301589966,
0.005575798451900482,
-0.03148368373513222,
-0.03139368072152138,
0.056523025035858154,
-0.02188917249441147,
0.016605889424681664,
-0.0708157867193222,
0.04014214873313904,
0.007956425659358501,
-0.02849552594125271,
0.02732546254992485,
-0.030979657545685768,
-0.08633261919021606,
-0.020431093871593475,
-0.0021837418898940086,
0.03553390130400658,
0.029269566759467125,
0.02872953750193119,
0.033481791615486145,
0.026209402829408646,
0.002220868831500411,
0.012348661199212074,
-0.0033256779424846172,
-0.018937014043331146,
-0.0017595941899344325,
0.011628622189164162,
-0.015615835785865784,
0.03558790311217308,
0.0384860597550869,
0.039854131639003754,
-0.0035371892154216766,
0.04183423891663551,
-0.06282336264848709,
-0.00652084918692708,
0.015093808062374592,
0.022483203560113907,
0.042554277926683426,
-0.004144721664488316,
-0.00037577011971734464,
0.01827997900545597,
-0.04428236931562424,
-0.0029994104988873005,
0.022105183452367783,
-0.07949225604534149,
-0.002418879419565201,
0.011151596903800964,
0.03468785807490349,
0.04514641687273979,
0.007218386512249708,
0.022249190136790276,
0.029215563088655472,
0.06620754301548004,
-0.035047877579927444,
-0.02221318893134594,
0.04532642662525177,
-0.0004595870850607753,
0.021907173097133636,
-0.060483235865831375,
0.018099969252943993,
0.023995283991098404,
0.03031362220644951,
0.003555190283805132,
0.039746128022670746,
-0.022663213312625885,
0.04745053872466087,
0.023059234023094177,
0.019459040835499763,
0.021277138963341713,
-0.01938703842461109,
-0.007650409359484911,
-0.014877796173095703,
0.059403181076049805,
-0.0744519829750061,
-0.034147828817367554,
0.012798684649169445,
0.056847043335437775,
0.01024254783987999,
-0.050474703311920166,
-0.0032176722306758165,
-0.030439630150794983,
0.042158257216215134,
0.06235533580183983,
0.011529617011547089,
-0.021025124937295914,
0.051554758101701736
] |
21,575 | delorean.dates | __gt__ | null | def __gt__(self, other):
return self.epoch > other.epoch
| (self, other) | [
0.008172486908733845,
0.03658844158053398,
-0.0573466420173645,
0.07749728858470917,
-0.016868147999048233,
-0.04624184966087341,
-0.04981968551874161,
0.0438116192817688,
0.022462736815214157,
-0.021433265879750252,
0.018918653950095177,
-0.011400134302675724,
0.07054413110017776,
0.014935779385268688,
-0.0032002227380871773,
0.008383444510400295,
-0.02050505205988884,
0.02933150716125965,
-0.019965002313256264,
-0.024859212338924408,
-0.018226712942123413,
-0.012961219064891338,
-0.014977971091866493,
0.0068983049131929874,
0.04647811874747276,
0.08600308746099472,
0.016243714839220047,
0.008750510402023792,
-0.05096729099750519,
0.04620809480547905,
-0.07952247560024261,
-0.048874594271183014,
0.06274715065956116,
-0.03699347749352455,
0.001336414716206491,
-0.020488176494836807,
-0.05808921158313751,
0.04300154373049736,
-0.08154767006635666,
-0.009054289199411869,
0.040065016597509384,
-0.05167610943317413,
-0.04239398613572121,
0.0234078262001276,
0.011509831994771957,
-0.03353377804160118,
-0.013020286336541176,
-0.004124215804040432,
-0.014125702902674675,
-0.03726350516080856,
-0.03726350516080856,
-0.02941589057445526,
0.059675611555576324,
0.04404789209365845,
-0.09160611033439636,
0.024757953360676765,
0.034394484013319016,
0.08789326250553131,
-0.04398038610816002,
0.018176084384322166,
-0.017737293615937233,
0.021517647430300713,
0.026259969919919968,
0.001383880153298378,
0.028150146827101707,
-0.014083512127399445,
-0.09997689723968506,
-0.0028099517803639174,
-0.016868147999048233,
0.08850082010030746,
-0.012083636596798897,
0.026951909065246582,
0.04003126546740532,
0.031829241663217545,
-0.0464443676173687,
-0.011847363784909248,
-0.07533708214759827,
0.041550155729055405,
0.0010110130533576012,
-0.04870583117008209,
0.03648718073964119,
-0.01583023928105831,
0.047490715980529785,
-0.035710856318473816,
-0.017053790390491486,
-0.058122966438531876,
0.00042877078521996737,
-0.007548053283244371,
0.0058519565500319,
0.018412355333566666,
-0.04330532252788544,
0.037938568741083145,
0.020656941458582878,
-0.025551151484251022,
0.024589186534285545,
0.026563746854662895,
-0.03466450795531273,
0.0062232413329184055,
-0.0229859109967947,
-0.03245367482304573,
0.07864489406347275,
0.02734007127583027,
-0.0332806296646595,
0.014918902888894081,
0.024977348744869232,
0.015973689034581184,
-0.035305820405483246,
-0.028605815023183823,
-0.054410114884376526,
-0.0038056704215705395,
-0.05468014255166054,
0.056064020842313766,
-0.045836810022592545,
0.011425449512898922,
-0.005970092490315437,
-0.01285152044147253,
0.01329875085502863,
0.012674316763877869,
-0.01470794528722763,
-0.024825459346175194,
0.033803801983594894,
0.005906805396080017,
0.01626059226691723,
0.030580375343561172,
-0.05643530562520027,
0.0037972319405525923,
0.052587445825338364,
0.034563250839710236,
-0.04782824590802193,
-0.08080510050058365,
0.04620809480547905,
-0.013315627351403236,
0.010455045849084854,
0.07769980281591415,
0.033567532896995544,
-0.0678776353597641,
0.03884990140795708,
0.06257838755846024,
0.010885398834943771,
-0.015501145273447037,
0.022108329460024834,
0.014665753580629826,
0.05714412406086922,
-0.025973066687583923,
0.008877084590494633,
-0.018226712942123413,
-0.1082126721739769,
0.020201275125145912,
0.01778792217373848,
0.027289440855383873,
0.00828640442341566,
-0.033229999244213104,
0.06396226584911346,
-0.014876711182296276,
-0.0074172597378492355,
-0.007383506745100021,
-0.017121296375989914,
-0.0749320462346077,
0.014201647602021694,
-0.013054040260612965,
-0.023829741403460503,
0.010387538932263851,
-0.013686912134289742,
-0.034225717186927795,
-0.008050131611526012,
0.017889181151986122,
-0.048874594271183014,
0.009695598855614662,
-0.03820859268307686,
0.04252899810671806,
0.043102800846099854,
-0.012353661470115185,
0.013872554525732994,
0.00007528539572376758,
-0.057954199612140656,
-0.017484143376350403,
0.040571313351392746,
0.06163329631090164,
-0.0041600787080824375,
0.050866033881902695,
0.0006803374271839857,
-0.02182142622768879,
-0.01827734336256981,
-0.04168516770005226,
0.01568678766489029,
-0.019323691725730896,
-0.0007747408235445619,
0.01621839962899685,
-0.009349629282951355,
0.02118011564016342,
-0.025399263948202133,
0.0037297257222235203,
-0.025635534897446632,
-0.029787175357341766,
0.004468076396733522,
-0.0033120301086455584,
-0.04522925242781639,
0.062477122992277145,
0.05680659040808678,
0.08289779722690582,
-0.03581211715936661,
0.04917837306857109,
-0.034799523651599884,
-0.06014815717935562,
0.03625090792775154,
0.012151142582297325,
-0.035778362303972244,
-0.009493079967796803,
-0.0009519449668005109,
-0.04752446711063385,
-0.014336660504341125,
-0.02290152758359909,
-0.01863175258040428,
0.029449643567204475,
0.029027728363871574,
-0.027458205819129944,
0.025146113708615303,
-0.01395693700760603,
-0.015062353573739529,
-0.0015990566462278366,
0.060249414294958115,
-0.06932901591062546,
-0.010303156450390816,
-0.019374322146177292,
0.027137551456689835,
0.023694727569818497,
0.02173704467713833,
-0.0013585652923211455,
-0.014522302895784378,
-0.030360979959368706,
0.06072195991873741,
0.007202083244919777,
0.015872430056333542,
-0.024251654744148254,
-0.02290152758359909,
0.0656161680817604,
-0.0149948475882411,
0.049212127923965454,
-0.09342878311872482,
-0.010691317729651928,
-0.009830611757934093,
0.025247374549508095,
0.009779982268810272,
0.004885771777480841,
0.044182904064655304,
-0.10193458199501038,
0.0065734307281672955,
0.018226712942123413,
-0.036217156797647476,
0.058764275163412094,
-0.028285158798098564,
-0.035035792738199234,
-0.01755164936184883,
-0.0026643911842256784,
-0.007640874478965998,
-0.022091452032327652,
-0.07864489406347275,
-0.07992751151323318,
0.057211630046367645,
0.041313882917165756,
0.0005975366802886128,
0.05204739421606064,
-0.04911086708307266,
0.014623562805354595,
-0.04870583117008209,
0.02941589057445526,
-0.018817394971847534,
-0.00044802064076066017,
0.005096729379147291,
0.000563783454708755,
-0.02222646400332451,
-0.058595508337020874,
-0.05005595460534096,
-0.01655593141913414,
-0.0074594514444470406,
-0.020150644704699516,
0.027407577261328697,
-0.05508517846465111,
-0.026715636253356934,
-0.036453425884246826,
0.03979499265551567,
-0.022597750648856163,
-0.061329517513513565,
-0.014353537000715733,
-0.04026753455400467,
-0.02421790175139904,
-0.024741075932979584,
-0.0005442699184641242,
-0.0041178870014846325,
-0.04185393452644348,
0.021230746060609818,
-0.030276596546173096,
0.05147359147667885,
-0.007438355591148138,
0.04087509214878082,
-0.022091452032327652,
0.02058943547308445,
-0.026175586506724358,
0.05032598227262497,
0.02842017263174057,
0.03056349791586399,
-0.044182904064655304,
-0.026833772659301758,
0.005809764843434095,
-0.0035356448497623205,
0.04725444316864014,
-0.02430228516459465,
0.03240304812788963,
0.04047005623579025,
0.0179566890001297,
0.03198113292455673,
-0.009484642185270786,
0.010404415428638458,
0.008809578604996204,
0.016842832788825035,
0.04340657964348793,
0.004970154725015163,
-0.02867332100868225,
-0.0011054164497181773,
0.05832548439502716,
-0.001287894556298852,
0.03007407858967781,
0.002139107324182987,
0.0295677799731493,
-0.012117389589548111,
-0.1103728786110878,
-0.015948373824357986,
0.031913626939058304,
-0.014277592301368713,
0.023745357990264893,
-0.040807586163282394,
-0.009450888261198997,
0.09639906138181686,
0.018800517544150352,
0.010809454135596752,
0.06639248877763748,
0.033736295998096466,
0.024589186534285545,
0.05579399690032005,
-0.0225639957934618,
-0.029196495190262794,
-0.010978220030665398,
-0.007256932090967894,
0.0029702791944146156,
0.05940558388829231,
0.02447105012834072,
-0.07256932556629181,
0.004489172250032425,
0.04236023128032684,
0.009374943561851978,
-0.05535520613193512,
0.05285746976733208,
0.0056916289031505585,
0.027778862044215202,
0.02595619112253189,
0.036284662783145905,
0.02933150716125965,
-0.03790481388568878,
0.005662094801664352,
0.009138671681284904,
0.00489842938259244,
0.012362100183963776,
0.012328346259891987,
-0.0420227013528347,
-0.03533957153558731,
0.0345970019698143,
-0.00012710179726127535,
-0.040740080177783966,
-0.03294309601187706,
-0.006784387864172459,
-0.07256932556629181,
0.004003970418125391,
0.01912117376923561,
-0.018648628145456314,
-0.0034027418587356806,
-0.014083512127399445,
-0.04283277690410614,
0.03240304812788963,
0.006640936713665724,
0.002611651783809066,
0.05336376652121544,
0.04222521930932999,
-0.007552272640168667,
0.03177861124277115,
0.014876711182296276,
0.00663249846547842,
-0.02502797730267048,
-0.02595619112253189,
0.05238492414355278,
0.01967810094356537,
0.01895240694284439,
-0.018733011558651924,
-0.027829492464661598,
-0.017079105600714684,
-0.05248618498444557,
0.00869144219905138,
0.00553973950445652,
-0.01918867975473404,
0.00014476946671493351,
-0.05319500342011452,
0.016159331426024437,
0.06274715065956116,
-0.03194737806916237,
0.02502797730267048,
0.03631841391324997,
0.01445479691028595,
0.049144621938467026,
0.04448668286204338,
-0.07547209411859512,
0.06497485935688019,
-0.08850082010030746,
-0.02389724738895893,
-0.042495246976614,
-0.004200160503387451,
0.0005004963022656739,
-0.021686414256691933,
-0.0023437358904629946,
-0.013602528721094131,
0.048975855112075806,
-0.01993124932050705,
-0.009889679960906506,
0.018733011558651924,
0.01613401621580124,
-0.03410758078098297,
-0.02462293952703476,
-0.03164359927177429,
0.010893836617469788,
0.008834892883896828,
-0.055388957262039185,
0.017433514818549156,
-0.021888932213187218,
-0.03550833836197853,
-0.004060928709805012,
0.004603088833391666,
0.046410612761974335,
-0.003752931021153927,
-0.029382137581706047,
-0.06598745286464691,
0.011509831994771957,
0.031103549525141716,
0.05680659040808678,
0.01885114796459675,
0.05592900887131691,
-0.01285152044147253,
-0.04472295567393303,
-0.030023448169231415,
0.010311594232916832,
0.026209339499473572,
0.02033628709614277,
-0.030985413119196892,
0.011611091904342175,
0.008725195191800594,
-0.004636842291802168,
-0.004742321092635393,
0.01218489557504654,
-0.08323532342910767,
-0.0722992941737175,
-0.04300154373049736,
0.00013619933451991528,
0.0033584407065063715,
-0.04276527091860771,
0.023087169975042343,
-0.028842085972428322,
0.012151142582297325,
-0.050866033881902695,
0.019661223515868187,
0.0028120612259954214,
-0.013028725050389767,
-0.010379101149737835,
0.0020230808295309544,
0.03415821120142937,
-0.05758291482925415,
-0.03152546286582947,
0.004305639304220676,
-0.038681138306856155,
0.03152546286582947,
-0.011130109429359436,
-0.0018300549127161503,
-0.0022635722998529673,
-0.0043499404564499855,
-0.005299248266965151,
-0.008450950495898724,
-0.012438044883310795,
-0.01672469824552536,
0.03245367482304573,
-0.01636185124516487,
-0.09349629282951355,
0.015863992273807526,
0.0034364950843155384,
-0.026867525652050972,
-0.024977348744869232,
-0.01885114796459675,
-0.005295028910040855,
0.03385443240404129,
-0.028133269399404526,
-0.01664031483232975,
0.02578742429614067,
0.0499209426343441,
0.0021602031774818897,
-0.0030441144481301308,
-0.02941589057445526,
0.07580962777137756,
-0.028943346813321114,
-0.00609244778752327,
0.045431770384311676,
0.037364762276411057,
-0.005505986511707306,
-0.0411788709461689,
-0.020977597683668137,
0.041077613830566406,
0.060755711048841476,
-0.061329517513513565,
0.04890834912657738,
0.05133857578039169,
0.02850455418229103,
-0.003571507753804326,
-0.03427634760737419,
-0.007931996136903763,
0.007910899817943573,
0.019408075138926506,
0.0269350316375494,
-0.0011222930625081062,
0.018733011558651924,
-0.03976123780012131,
-0.03436072915792465,
-0.00822311732918024,
-0.00292597827501595,
-0.003010361222550273,
0.010235649533569813,
0.005122044123709202,
-0.004371035844087601,
-0.049212127923965454,
0.023171553388237953,
0.011737666092813015,
-0.050123464316129684,
0.06065445393323898,
-0.062308359891176224,
0.04917837306857109,
-0.03614964708685875,
0.031238561496138573,
0.03608214110136032,
-0.013416886329650879,
0.10375725477933884,
0.030293473973870277,
-0.018159206956624985,
0.03749977424740791,
-0.05616528168320656,
0.05832548439502716,
0.03186299651861191,
0.041145119816064835,
0.012201772071421146,
0.0005055065266788006,
0.011442326009273529,
-0.03473201394081116,
0.009779982268810272,
0.03787105903029442,
-0.024892965331673622,
0.02067381888628006,
0.0644010528922081,
0.03682471066713333,
0.00605447543784976,
0.011931747198104858,
0.08175018429756165,
0.006835017818957567,
-0.07459451258182526,
-0.01959371753036976,
0.032318662852048874,
-0.035204559564590454,
0.0029238685965538025,
0.0377022959291935,
0.02809951640665531,
0.009940309450030327,
-0.030411608517169952,
-0.02744133025407791,
0.003951231017708778,
0.05805545672774315,
-0.04495922848582268,
0.039322447031736374,
-0.04556678608059883,
-0.027491960674524307,
0.008611278608441353,
0.006687347311526537,
0.054477620869874954,
-0.05427510291337967,
-0.014809205196797848,
-0.011130109429359436,
-0.011087917722761631,
0.01486827339977026,
0.0034850151278078556,
0.019154926761984825,
-0.01259837206453085,
0.030360979959368706,
-0.040233783423900604,
-0.002219271147623658,
0.03560959920287132,
-0.06399601697921753,
0.039828743785619736,
-0.0164293572306633,
-0.03827609866857529,
0.017973564565181732,
0.05491641163825989,
0.0055313012562692165,
-0.026175586506724358,
-0.03206551447510719,
0.01621839962899685,
-0.01322280615568161,
-0.028977099806070328,
-0.028808332979679108,
-0.03878239542245865,
0.024319160729646683,
0.023863494396209717,
0.050629761070013046,
0.004805608186870813,
0.0027972941752523184,
0.07290685176849365,
0.006729539018124342,
0.011298875324428082,
0.03444511443376541,
-0.026800019666552544,
0.02990531176328659,
0.03145795688033104,
0.04276527091860771,
0.019239308312535286,
0.024420421570539474,
-0.01895240694284439,
-0.07385194301605225,
0.04884084314107895,
-0.07283934950828552,
0.04826703667640686,
-0.018564244732260704,
-0.0024576529394835234,
-0.01837860234081745,
0.03172798454761505,
-0.07844237238168716,
-0.04654562473297119,
-0.08154767006635666,
0.004733882378786802,
0.009552148170769215,
0.013256559148430824,
0.007809640374034643,
-0.057447902858257294,
0.018226712942123413,
-0.052756208926439285,
0.022007068619132042,
-0.04414914920926094,
-0.024150395765900612,
-0.003459700383245945,
0.04458794370293617,
0.026951909065246582,
-0.037601035088300705,
0.010041569359600544,
0.05478139966726303,
0.01761915720999241,
0.016015881672501564,
-0.045195501297712326,
-0.007957310415804386,
0.00938338227570057,
0.030209090560674667,
0.05211490020155907,
-0.026074327528476715,
0.02874082699418068,
-0.0186148751527071,
-0.01636185124516487,
-0.025753671303391457,
0.019340569153428078,
0.024994224309921265,
0.006598745472729206,
-0.013408448547124863,
-0.05265495181083679,
0.015821799635887146,
-0.04620809480547905,
-0.00469591049477458,
0.01827734336256981,
-0.038546122610569,
-0.011450763791799545,
-0.0739869549870491,
-0.015349255874752998,
0.01959371753036976,
-0.015914620831608772,
-0.02577054873108864,
0.0008849659934639931,
0.057380396872758865,
-0.04678189754486084,
-0.007324438542127609,
0.03844486549496651,
0.045668043196201324,
-0.005653656553477049,
0.054477620869874954,
0.020285656675696373,
-0.021467018872499466,
-0.0022298190742731094,
-0.001354346051812172,
0.0028521432541310787,
0.0027276782784610987,
0.0021707508713006973,
0.0157458558678627,
-0.030209090560674667,
0.0499209426343441,
-0.014547618106007576,
-0.030023448169231415,
-0.0009123904746957123,
-0.00950995646417141,
-0.0018057947745546699,
0.04408164322376251,
-0.0219058096408844,
-0.009476203471422195,
-0.011442326009273529,
0.014876711182296276,
0.06764136254787445,
-0.04374411329627037,
-0.03665594756603241,
0.05660407245159149,
0.016986284404993057,
-0.07439199090003967,
0.00444698054343462,
0.018412355333566666,
0.05751540884375572,
0.027002539485692978,
0.005100948270410299,
0.01976248249411583,
-0.045600537210702896,
0.0054764524102211,
0.0792524516582489,
-0.025568028911948204,
-0.0273569468408823,
0.025500522926449776,
0.0586630143225193,
-0.07439199090003967,
-0.025601781904697418,
-0.036284662783145905,
0.011729227378964424,
0.05690785124897957,
0.004257118795067072,
0.0020895323250442743,
-0.019289938732981682,
0.02247961424291134,
-0.05133857578039169,
-0.02330656722187996,
0.06595370173454285,
0.08073759078979492,
0.02315467782318592,
0.00451026763767004,
0.03486702963709831,
-0.05042724311351776,
0.026918156072497368,
-0.04077383503317833,
-0.024572310969233513,
0.03699347749352455,
-0.0075902449898421764,
-0.03398944437503815,
0.03972748667001724,
0.002717130584642291,
0.022850899025797844,
-0.012227087281644344,
0.06338845938444138,
0.0775647908449173,
-0.00003853267480735667,
0.012336784973740578,
0.020319409668445587,
-0.008986782282590866,
-0.026901278644800186,
0.020656941458582878,
0.010995096527040005,
0.026749389246106148,
-0.02965216338634491,
0.05322875455021858,
-0.030360979959368706,
0.05451137572526932
] |
21,576 | delorean.dates | __init__ | null | def __init__(self, datetime=None, timezone=None):
# maybe set timezone on the way in here. if here set it if not
# use UTC
is_datetime_instance(datetime)
if datetime:
if is_datetime_naive(datetime):
if timezone:
if isinstance(timezone, tzoffset):
utcoffset = timezone.utcoffset(None)
total_seconds = (
(utcoffset.microseconds + (
utcoffset.seconds + utcoffset.days * 24 * 3600) * 10 ** 6) / 10 ** 6)
self._tzinfo = pytz.FixedOffset(total_seconds / 60)
elif isinstance(timezone, tzinfo):
self._tzinfo = timezone
else:
self._tzinfo = pytz.timezone(timezone)
self._dt = localize(datetime, self._tzinfo)
self._tzinfo = self._dt.tzinfo
else:
# TODO(mlew, 2015-08-09):
# Should we really throw an error here, or should this
# default to UTC?)
raise DeloreanInvalidTimezone('Provide a valid timezone')
else:
self._tzinfo = datetime.tzinfo
self._dt = datetime
else:
if timezone:
if isinstance(timezone, tzoffset):
self._tzinfo = pytz.FixedOffset(timezone.utcoffset(None).total_seconds() / 60)
elif isinstance(timezone, tzinfo):
self._tzinfo = timezone
else:
self._tzinfo = pytz.timezone(timezone)
self._dt = datetime_timezone(self._tzinfo)
self._tzinfo = self._dt.tzinfo
else:
self._tzinfo = pytz.utc
self._dt = datetime_timezone('UTC')
| (self, datetime=None, timezone=None) | [
0.03719133883714676,
-0.0029221076983958483,
0.029052726924419403,
0.05033240467309952,
-0.05702799931168556,
-0.06299246847629547,
-0.028687162324786186,
0.08704273402690887,
-0.012198297306895256,
-0.00984618067741394,
-0.00647914269939065,
0.04671524465084076,
-0.02635909616947174,
0.010283895768225193,
-0.007657606154680252,
0.11467168480157852,
-0.07823071628808975,
0.0636851117014885,
-0.012621581554412842,
-0.03176559507846832,
0.02947601117193699,
-0.06968805938959122,
-0.028937283903360367,
0.0668405070900917,
0.01688328944146633,
0.06522433459758759,
-0.01613292098045349,
-0.004030825104564428,
0.04055837541818619,
-0.02360774576663971,
0.015065088868141174,
0.09281480312347412,
-0.042328473180532455,
0.0624537393450737,
0.024242671206593513,
-0.05602750927209854,
-0.0001691034558461979,
0.025551006197929382,
-0.08604224771261215,
0.05783608928322792,
0.0008147028856910765,
-0.023338381201028824,
-0.028860323131084442,
-0.010408956557512283,
0.011091984808444977,
0.02220320887863636,
-0.023165220394730568,
0.036614131182432175,
-0.020933354273438454,
0.012188676744699478,
0.02345382235944271,
0.029033485800027847,
0.03584452345967293,
0.006575343664735556,
-0.037672340869903564,
0.03938472270965576,
0.06322334706783295,
0.07973145693540573,
-0.06560913473367691,
0.0071477401070296764,
-0.0674561932682991,
0.021472081542015076,
-0.0256087277084589,
0.007787477225065231,
-0.04178974777460098,
0.00924492347985506,
-0.01773947849869728,
-0.06749467551708221,
0.01803770288825035,
0.02760970965027809,
0.01275626290589571,
0.03347797691822052,
0.021933846175670624,
0.01839364692568779,
0.10528246313333511,
0.03632552921772003,
-0.05564270541071892,
-0.03101522848010063,
0.025531766936182976,
-0.012688922695815563,
-0.015401792712509632,
-0.02214548923075199,
-0.023684706538915634,
0.030957506969571114,
0.03288152813911438,
0.0067485058680176735,
0.0025974290911108255,
-0.00003744702189578675,
0.019230596721172333,
0.046445880085229874,
-0.020336907356977463,
0.003660451155155897,
0.011842353269457817,
0.03303544968366623,
-0.02210700884461403,
0.04082773998379707,
-0.010389716364443302,
-0.013391190208494663,
-0.059221383184194565,
0.009860610589385033,
0.04406009614467621,
-0.011582610197365284,
-0.09389225393533707,
-0.028129195794463158,
-0.009692259132862091,
-0.023646226152777672,
0.01664278656244278,
-0.02214548923075199,
-0.011601850390434265,
-0.030245618894696236,
-0.04078925773501396,
0.016864048317074776,
-0.06749467551708221,
0.036113884299993515,
0.0018290230073034763,
-0.05914442241191864,
-0.02901424467563629,
-0.021183477714657784,
-0.003352607600390911,
0.014603324234485626,
-0.05237186700105667,
0.03409366309642792,
0.006560913752764463,
0.008427214808762074,
0.04078925773501396,
-0.021837644279003143,
0.023088259622454643,
-0.011226666159927845,
0.03557515889406204,
0.00631560105830431,
0.03938472270965576,
0.025897329673171043,
-0.008436834439635277,
0.01753745600581169,
-0.022568773478269577,
0.01263120211660862,
0.012236777693033218,
0.044675782322883606,
-0.06707139313220978,
0.05271819233894348,
0.038364991545677185,
-0.012506140395998955,
0.04802357777953148,
-0.01853794790804386,
0.01297752559185028,
-0.014353200793266296,
-0.021510561928153038,
-0.021221958100795746,
-0.07126575708389282,
0.018018461763858795,
-0.0018723135581240058,
-0.028302358463406563,
-0.04490666463971138,
0.011698051355779171,
-0.01945185847580433,
-0.08904372155666351,
-0.028860323131084442,
-0.06068364158272743,
-0.0012686516856774688,
0.004454109817743301,
-0.08550351858139038,
-0.01500736828893423,
-0.024819878861308098,
-0.010206934995949268,
0.02060627192258835,
0.031900279223918915,
0.04575323313474655,
-0.07665301859378815,
-0.0019576919730752707,
0.015180530026555061,
0.01425699982792139,
-0.021260438486933708,
0.035806041210889816,
0.03513263538479805,
0.017114171758294106,
-0.012717782519757748,
0.01879769004881382,
0.01500736828893423,
-0.02585884928703308,
0.006060667801648378,
0.06922629475593567,
0.021087275817990303,
-0.054757654666900635,
0.00816747173666954,
0.014901546761393547,
0.044329456984996796,
0.007532544434070587,
0.03684501349925995,
-0.00211882870644331,
0.06226133927702904,
0.02526240423321724,
0.005680673755705357,
0.014680285006761551,
0.011938554234802723,
0.006406991742551327,
0.0259165707975626,
0.01769137941300869,
-0.010062633082270622,
-0.029610691592097282,
0.04294416308403015,
-0.049639757722616196,
-0.004018799867480993,
0.024993039667606354,
-0.08481087535619736,
0.003965889569371939,
0.0490240715444088,
-0.06045275926589966,
0.03672957047820091,
-0.05087113007903099,
-0.05687407776713371,
-0.021375879645347595,
-0.07134272158145905,
0.030534222722053528,
-0.0107745211571455,
-0.01062059961259365,
-0.02135664038360119,
-0.026493776589632034,
-0.019018953666090965,
0.00627712020650506,
0.018182003870606422,
0.08250204473733902,
0.013525871559977531,
-0.047638773918151855,
-0.039711806923151016,
0.09812510013580322,
-0.026686180382966995,
-0.014738005585968494,
-0.04202063009142876,
-0.04244391620159149,
-0.05879810079932213,
0.00629155058413744,
-0.06507041305303574,
-0.020817913115024567,
-0.030361060053110123,
0.050101522356271744,
0.012563860975205898,
0.0462149977684021,
-0.015430653467774391,
-0.04005812853574753,
-0.035017192363739014,
0.009879850782454014,
-0.015921277925372124,
0.037768542766571045,
-0.013497011736035347,
-0.023088259622454643,
0.0029509682208299637,
-0.03259292617440224,
0.03803790733218193,
-0.023338381201028824,
-0.03122686967253685,
-0.015728875994682312,
0.01729695498943329,
-0.008326203562319279,
0.008013550192117691,
0.01704683154821396,
-0.0721508115530014,
0.07126575708389282,
-0.007301662117242813,
0.020510070025920868,
0.0424823984503746,
-0.024435074999928474,
0.002744135679677129,
-0.00872062798589468,
0.040519893169403076,
-0.04425249621272087,
-0.03041878156363964,
-0.010312755592167377,
-0.031303830444812775,
-0.02897576428949833,
-0.006493573077023029,
0.05733584240078926,
-0.0001078504283213988,
0.005045746453106403,
0.017200753092765808,
-0.06029883772134781,
-0.002861982211470604,
-0.03374733775854111,
-0.08250204473733902,
-0.05437285080552101,
0.013718273490667343,
-0.004651322029531002,
-0.023222940042614937,
0.01864376850426197,
0.03359341621398926,
-0.08304077386856079,
-0.03428606316447258,
-0.0359022431075573,
0.028494760394096375,
-0.04213607311248779,
-0.011736531741917133,
-0.03363189846277237,
-0.03347797691822052,
0.05237186700105667,
-0.019875142723321915,
-0.01258310116827488,
0.023030538111925125,
-0.04013508930802345,
0.03293924778699875,
0.014911167323589325,
-0.04736941307783127,
-0.02982233464717865,
0.0020334504079073668,
0.054411329329013824,
0.07707630842924118,
0.006257880013436079,
-0.028148435056209564,
-0.0041703167371451855,
0.029533730819821358,
0.00967301893979311,
-0.007003438659012318,
0.031804077327251434,
-0.020336907356977463,
0.01603671908378601,
0.014766865409910679,
0.0012975120916962624,
0.05364172160625458,
0.010408956557512283,
-0.006998628377914429,
0.03519035503268242,
0.06002947315573692,
-0.007325712125748396,
-0.014718765392899513,
0.06387751549482346,
0.022126248106360435,
0.02054855041205883,
-0.031707875430583954,
0.011938554234802723,
0.013420050963759422,
-0.005180428270250559,
0.07288193702697754,
-0.03994268923997879,
-0.02807147428393364,
-0.01960578002035618,
0.01297752559185028,
0.000269663636572659,
0.027301866561174393,
-0.04005812853574753,
-0.010053012520074844,
-0.02064475230872631,
0.01714303158223629,
0.0512174554169178,
0.07326674461364746,
-0.05479613319039345,
-0.011496028862893581,
0.02229941077530384,
0.01739315502345562,
0.016864048317074776,
-0.012188676744699478,
-0.0065080029889941216,
0.07049614936113358,
-0.03765310347080231,
0.013169927522540092,
-0.02160676196217537,
0.010062633082270622,
-0.020182985812425613,
-0.03503643348813057,
0.04817749932408333,
0.0009018850978463888,
0.03001473657786846,
-0.020683232694864273,
-0.010649459436535835,
-0.003429568372666836,
0.055758144706487656,
-0.03853815421462059,
0.04352136701345444,
-0.03790322691202164,
0.025878090411424637,
-0.02355002425611019,
0.00026019386132247746,
-0.04456033930182457,
-0.05618143081665039,
0.028398558497428894,
0.023222940042614937,
-0.081193707883358,
0.027648190036416054,
-0.03243900462985039,
0.02922588773071766,
0.08758146315813065,
-0.05087113007903099,
0.04475274309515953,
0.020125266164541245,
-0.008412783965468407,
0.023184459656476974,
0.026339855045080185,
-0.0068639470264315605,
-0.015555714257061481,
0.043636810034513474,
0.03615236654877663,
0.006310790777206421,
0.001790542621165514,
-0.01683518849313259,
-0.02641681581735611,
0.021818405017256737,
0.0008994800737127662,
0.0061568692326545715,
0.0010948885465040803,
-0.005084226839244366,
0.00849936529994011,
0.004754738416522741,
0.01853794790804386,
0.0014887116849422455,
-0.02972613275051117,
-0.01350663136690855,
0.030765105038881302,
0.0313807912170887,
0.07942361384630203,
0.02807147428393364,
0.03609464317560196,
-0.04044293239712715,
0.0380956269800663,
0.017556697130203247,
-0.08812019228935242,
0.012842844240367413,
-0.024146471172571182,
-0.019278695806860924,
-0.011496028862893581,
-0.022741934284567833,
-0.0012963095214217901,
0.05248731002211571,
-0.025243163108825684,
0.001689531491138041,
0.030187899246811867,
-0.027551990002393723,
-0.025647208094596863,
0.05471917241811752,
0.0014634588733315468,
0.00797025952488184,
0.0036845013964921236,
-0.02861020155251026,
-0.030784346163272858,
0.03928852081298828,
0.00646471232175827,
-0.005334349814802408,
-0.0465228408575058,
0.09189127385616302,
0.03266988694667816,
0.05148681625723839,
-0.02455051615834236,
-0.00007470614946214482,
0.051448337733745575,
0.0341898649930954,
-0.0014562438009306788,
0.024993039667606354,
-0.01824934408068657,
-0.01403573714196682,
0.029803093522787094,
0.010793761350214481,
0.03765310347080231,
-0.011871213093400002,
0.021221958100795746,
0.002744135679677129,
0.048793189227581024,
-0.004216012079268694,
-0.04606107622385025,
-0.030457261949777603,
-0.04767725616693497,
0.0017821249784901738,
0.009379604831337929,
-0.031188389286398888,
0.032746847718954086,
0.003987534902989864,
-0.0010942872613668442,
0.0036315908655524254,
-0.03513263538479805,
0.0008910624892450869,
0.052795153111219406,
-0.0212411992251873,
0.016902530565857887,
-0.08896675705909729,
-0.029533730819821358,
0.007729756645858288,
0.00781633798032999,
-0.01164995040744543,
-0.0026046442799270153,
-0.040866218507289886,
-0.00929783470928669,
-0.007046728860586882,
-0.0013720678398385644,
-0.022280169650912285,
0.016402283683419228,
-0.00027131711249239743,
0.01253500021994114,
0.009615298360586166,
0.0062049697153270245,
-0.00033008994068950415,
-0.027551990002393723,
0.022337891161441803,
-0.028090715408325195,
0.012727403081953526,
0.031188389286398888,
-0.04355984926223755,
0.0437137708067894,
-0.0025565437972545624,
-0.03799942508339882,
0.01445902232080698,
0.007349762599915266,
-0.05645079165697098,
0.021375879645347595,
0.05140985548496246,
-0.0630694255232811,
-0.04567627236247063,
0.0752677246928215,
0.013391190208494663,
0.009321884252130985,
-0.014766865409910679,
0.015526854433119297,
0.008210762403905392,
0.00891784019768238,
0.013804854825139046,
-0.03066890500485897,
-0.004742713179439306,
0.003097674809396267,
-0.0282638780772686,
0.01035123597830534,
-0.01622912287712097,
0.035113394260406494,
-0.009918331168591976,
-0.018566807731986046,
-0.016854429617524147,
-0.012409939430654049,
0.019778942689299583,
0.05733584240078926,
0.047484852373600006,
-0.047638773918151855,
-0.017575936391949654,
0.0437137708067894,
-0.011669190600514412,
0.024646716192364693,
0.0627615824341774,
-0.005858645774424076,
0.04259783774614334,
-0.11066972464323044,
-0.060568198561668396,
-0.0016498485347256064,
0.06853365153074265,
0.08003930002450943,
-0.10528246313333511,
-0.05225642770528793,
-0.04721549153327942,
0.021991567686200142,
-0.045830193907022476,
0.014545603655278683,
-0.0005465424037538469,
0.015902038663625717,
-0.051948584616184235,
-0.009735548868775368,
0.00006474783731391653,
0.04055837541818619,
-0.04048141464591026,
0.04336744546890259,
-0.009028471074998379,
-0.04213607311248779,
0.04213607311248779,
0.10189618170261383,
-0.021972326561808586,
0.018711110576987267,
-0.02380014769732952,
0.0013997256755828857,
0.033554937690496445,
-0.004747523460537195,
0.02485835924744606,
0.07361306250095367,
0.029283609241247177,
0.031188389286398888,
-0.06884149461984634,
-0.03584452345967293,
-0.01940375752747059,
0.05795152857899666,
-0.04213607311248779,
0.04225151240825653,
-0.02189536578953266,
0.01859566941857338,
-0.01694101095199585,
0.03234280273318291,
-0.037518419325351715,
0.029283609241247177,
-0.016921769827604294,
0.0026166692841798067,
0.002722490578889847,
0.019076673313975334,
-0.013727894052863121,
-0.007773047313094139,
-0.03694121539592743,
-0.03890371695160866,
-0.041020140051841736,
-0.04509906470775604,
0.03266988694667816,
0.012458039447665215,
-0.0122560178861022,
-0.0602603554725647,
-0.01989438384771347,
0.01403573714196682,
-0.005488271359354258,
0.049947600811719894,
-0.03443998470902443,
-0.07665301859378815,
-0.011775012128055096,
-0.04586867615580559,
0.009605677798390388,
-0.03328557312488556,
-0.03057270310819149,
-0.0029798285104334354,
-0.018614908680319786,
0.011005403473973274,
0.01679670810699463,
-0.003848043270409107,
-0.05071720853447914,
0.005699913948774338,
-0.01220791693776846,
-0.023819386959075928,
-0.006171299144625664,
0.02020222693681717,
0.06033731624484062,
-0.02832159772515297,
0.024223431944847107,
-0.07792287319898605,
-0.09389225393533707,
0.05983707308769226,
-0.024184951558709145,
-0.039711806923151016,
-0.03236204385757446,
-0.0027321106754243374,
-0.009567197412252426,
0.0412125438451767,
-0.043829210102558136,
0.018258964642882347,
0.020760193467140198,
-0.06353119015693665,
0.006387751549482346,
-0.041481904685497284,
0.04771573469042778,
0.012438799254596233,
-0.05052480846643448,
-0.01463218405842781,
-0.0373067781329155,
0.021029556170105934,
-0.05271819233894348,
-0.0027657810132950544,
0.02932208962738514,
0.00847531482577324,
0.006474332418292761,
0.011957794427871704,
0.06864909082651138,
0.00664268434047699,
-0.028706401586532593,
0.007296851836144924,
-0.03659489005804062,
-0.0437137708067894,
0.03166939690709114,
0.04459882155060768,
0.015555714257061481,
0.05999099463224411,
0.04390617087483406,
-0.005093846935778856,
-0.05929834395647049,
0.0009048914071172476,
-0.035806041210889816,
-0.007955829612910748,
0.0752677246928215,
0.01724885404109955,
-0.021683722734451294,
-0.01713341288268566,
-0.03407442197203636,
-0.011361347511410713,
0.06811036169528961,
0.030784346163272858,
-0.007667226251214743,
-0.025031520053744316,
-0.0028908425010740757,
0.012563860975205898,
-0.02666693925857544,
0.01798960193991661,
0.046792205423116684,
0.03769158199429512,
0.0009163153008557856,
-0.011755771934986115,
0.015902038663625717,
0.002052690600976348,
0.002419457072392106,
-0.00039652883424423635,
0.06118388473987579,
0.006565723568201065,
-0.010697560384869576,
0.023588504642248154,
-0.033208612352609634,
0.0007539759390056133,
-0.0023689516820013523,
-0.043021123856306076,
0.03742222115397453,
-0.010668699629604816,
0.07738415151834488,
-0.008590755984187126,
-0.05264123156666756,
0.01995210349559784,
0.023434583097696304,
-0.05364172160625458,
-0.0655706524848938,
-0.00997605174779892,
0.01669088751077652,
0.03245824575424194,
0.033401016145944595,
0.0031890657264739275,
-0.02260725386440754,
0.050101522356271744,
0.005786494817584753,
0.006118388846516609,
-0.044983625411987305,
0.07457507401704788,
0.06195349618792534,
0.0028283116407692432,
0.042520876973867416,
0.025377845391631126,
0.019182495772838593,
-0.07238169014453888,
0.018576428294181824,
0.00015527455252595246,
0.038326509296894073,
0.031053708866238594,
0.0011027049040421844,
0.015440273098647594,
0.012169436551630497,
-0.04506058618426323,
-0.0015344072598963976,
0.03663337230682373,
0.0010696357348933816,
-0.0001766191708156839,
-0.0487162284553051,
-0.02570492774248123,
-0.025531766936182976,
-0.017277713865041733,
-0.026089733466506004,
0.07272801548242569,
0.013872195966541767,
-0.0010552055900916457,
0.004963975865393877,
-0.033112410455942154,
0.0018506682245060802,
0.018076183274388313,
0.02260725386440754,
0.06584002077579498,
-0.03197723999619484,
-0.015825077891349792,
0.005425740964710712,
0.04205911234021187,
-0.013593212701380253,
-0.013112206943333149,
-0.017229612916707993,
-0.008975560776889324,
0.0022078147158026695,
0.07965449243783951,
0.012044374831020832,
-0.051448337733745575,
-0.047831177711486816,
-0.0031746355816721916,
0.03963484615087509,
-0.03609464317560196,
-0.05645079165697098,
0.02060627192258835,
-0.01633494347333908,
0.0014911167090758681,
-0.08288685232400894,
-0.051294416189193726,
-0.0026455295737832785,
0.030688144266605377,
0.01425699982792139,
0.00889378972351551,
-0.0016017479356378317,
0.03494023159146309
] |
21,577 | delorean.dates | __le__ | null | def __le__(self, other):
return self.epoch <= other.epoch
| (self, other) | [
0.005877532996237278,
0.036816153675317764,
-0.044681116938591,
0.09634577482938766,
-0.027612116187810898,
-0.040646933019161224,
-0.0414605513215065,
0.04132494702935219,
0.010814322158694267,
-0.013602654449641705,
0.014390844851732254,
-0.0186114814132452,
0.0903792530298233,
0.03303622826933861,
-0.023832188919186592,
-0.024272898212075233,
-0.04749487340450287,
0.037358567118644714,
-0.05444451794028282,
-0.02942580357193947,
-0.029205448925495148,
-0.003854085225611925,
0.00472914706915617,
0.03495161607861519,
0.028883391991257668,
0.10597357153892517,
-0.014602724462747574,
0.02486616000533104,
-0.07512394338846207,
0.040036723017692566,
-0.06390281021595001,
-0.030866583809256554,
0.05396990850567818,
-0.05132565274834633,
0.03495161607861519,
-0.010509215295314789,
-0.05613955110311508,
0.04071473702788353,
-0.0733611062169075,
-0.009280315600335598,
0.049257710576057434,
-0.044918421655893326,
-0.021018430590629578,
0.0329175740480423,
0.005004590377211571,
-0.02720530889928341,
-0.011856768280267715,
-0.008771805092692375,
0.0017437670612707734,
-0.03020551986992359,
-0.015128185041248798,
-0.03262941911816597,
0.043630193918943405,
0.030171619728207588,
-0.0819040834903717,
0.02615438587963581,
0.02327282726764679,
0.08319230377674103,
-0.04529133066534996,
0.01944204792380333,
-0.028222328051924706,
0.0049198386259377,
0.04030792787671089,
0.019747154787182808,
0.03878239542245865,
-0.028137577697634697,
-0.09166748076677322,
-0.022781267762184143,
0.007081007584929466,
0.08515854924917221,
-0.013272122479975224,
0.02254396304488182,
0.03232431411743164,
0.009975279681384563,
-0.05535983666777611,
-0.008572638034820557,
-0.07451372593641281,
0.05485132709145546,
0.0017204602481797338,
-0.03888409584760666,
0.02273041568696499,
-0.020764175802469254,
0.03691785782575607,
-0.008208205923438072,
-0.023832188919186592,
-0.0489187017083168,
-0.008013277314603329,
-0.005394448060542345,
0.011280456557869911,
0.013839959166944027,
-0.033222682774066925,
0.04857969656586647,
0.003239635145291686,
-0.018543681129813194,
0.025900131091475487,
0.033663392066955566,
-0.02454410307109356,
0.021916799247264862,
-0.013721306808292866,
-0.029917363077402115,
0.05146125704050064,
0.025171266868710518,
-0.05163075774908066,
0.010983825661242008,
0.013467051088809967,
0.0071276212111115456,
-0.045426931232213974,
-0.027713818475604057,
-0.05800408869981766,
-0.017492758110165596,
-0.05708876997232437,
0.032256510108709335,
-0.047562677413225174,
0.03132424131035805,
-0.02783247083425522,
-0.013670455664396286,
0.025171266868710518,
0.01561974547803402,
-0.03313792869448662,
-0.017611410468816757,
0.04227416589856148,
0.023103324696421623,
0.007720883470028639,
0.040782537311315536,
-0.022679565474390984,
0.0007097958005033433,
0.05356309935450554,
0.03868069499731064,
-0.044376011937856674,
-0.09126067161560059,
0.06156366318464279,
0.007907337509095669,
0.01100077573210001,
0.0658351480960846,
0.02847658470273018,
-0.06468252837657928,
0.03749416768550873,
0.06024153530597687,
-0.016085879877209663,
-0.0033222681377083063,
0.0076742698438465595,
0.023628784343600273,
0.07363230735063553,
0.005966522265225649,
0.018306376412510872,
-0.001345433876849711,
-0.11953385174274445,
0.03174800053238869,
0.03320573270320892,
0.061495862901210785,
0.03451090678572655,
-0.04115544259548187,
0.058919407427310944,
0.010865173302590847,
-0.042782679200172424,
-0.02722225897014141,
-0.03451090678572655,
-0.05142735317349434,
0.02030651643872261,
0.007428490091115236,
-0.009865102358162403,
0.010127833113074303,
-0.011297406628727913,
-0.03388374671339989,
-0.011458435095846653,
0.025001762434840202,
-0.06217387691140175,
0.009170138277113438,
-0.008695528842508793,
0.03712126240134239,
0.05017302930355072,
-0.010822797194123268,
0.026391690596938133,
0.015874000266194344,
-0.05024082958698273,
-0.032459914684295654,
0.036205943673849106,
0.0594957210123539,
-0.015602795407176018,
0.04169785603880882,
0.0008374531171284616,
0.011017725802958012,
-0.03251076862215996,
-0.0425453744828701,
0.033968497067689896,
-0.0016558370552957058,
0.00021360086975619197,
0.021187935024499893,
0.017408007755875587,
0.02571367658674717,
-0.042240265756845474,
0.0028561335057020187,
-0.018001269549131393,
-0.02369658648967743,
-0.010907548479735851,
-0.005402923561632633,
-0.05495302751660347,
0.05200366675853729,
0.02071332558989525,
0.07783599942922592,
-0.024205096065998077,
0.048850901424884796,
-0.020645523443818092,
-0.060309335589408875,
0.038307785987854004,
-0.00812769215553999,
-0.03408714756369591,
-0.005941096693277359,
0.028663037344813347,
-0.03705345839262009,
0.005902958568185568,
-0.042375870048999786,
-0.02042516879737377,
0.05217317119240761,
0.02966310828924179,
-0.031290341168642044,
0.0047079590149223804,
-0.019374247640371323,
-0.01986580714583397,
-0.000894660537596792,
0.0658351480960846,
-0.0489187017083168,
-0.010534641332924366,
-0.046071045100688934,
0.018780985847115517,
0.012822938151657581,
0.008665865287184715,
-0.02603573352098465,
-0.023408429697155952,
-0.01127198152244091,
0.056173451244831085,
-0.008326858282089233,
-0.0009333285270258784,
-0.03468041121959686,
-0.004529980476945639,
0.0776325911283493,
-0.025018712505698204,
0.0531562902033329,
-0.07044564187526703,
0.004691008944064379,
-0.007394589018076658,
0.0244593508541584,
0.021747296676039696,
-0.016729993745684624,
0.06617415696382523,
-0.08949783444404602,
0.00045845392742194235,
0.027679918333888054,
-0.044816721230745316,
0.050545938313007355,
-0.03901970013976097,
-0.03657884895801544,
-0.02103538066148758,
-0.0007850129622966051,
-0.0015880357241258025,
-0.02773076854646206,
-0.06241118162870407,
-0.07322550565004349,
0.04837629199028015,
0.028544384986162186,
-0.0031803089659661055,
0.07092025130987167,
-0.022611763328313828,
0.005152905825525522,
-0.05071543902158737,
0.02740871161222458,
-0.017679212614893913,
0.013500952161848545,
0.01280598808079958,
-0.010221059434115887,
-0.00194611179176718,
-0.06997103244066238,
-0.04827459156513214,
0.019391197711229324,
-0.001174870994873345,
-0.02773076854646206,
0.03644324839115143,
-0.055766645818948746,
-0.022713465616106987,
-0.014263717457652092,
0.027561265975236893,
0.015789248049259186,
-0.05942792072892189,
-0.033120978623628616,
-0.04061303287744522,
-0.03454480692744255,
-0.023899991065263748,
-0.002887915587052703,
-0.007288649678230286,
-0.06281799077987671,
0.028951194137334824,
-0.030375022441148758,
0.0648181289434433,
-0.016924921423196793,
0.04824069142341614,
-0.014314568601548672,
0.03783317655324936,
-0.023679636418819427,
0.039053600281476974,
0.023238927125930786,
0.033307433128356934,
-0.048850901424884796,
-0.046511754393577576,
-0.008000563830137253,
-0.016518114134669304,
0.025035664439201355,
-0.027171406894922256,
0.04824069142341614,
0.03569743409752846,
0.00909386109560728,
0.023730486631393433,
0.0006451726076193154,
0.0059792352840304375,
-0.004665583372116089,
0.011822867207229137,
0.03029027208685875,
0.019153892993927002,
-0.010254960507154465,
-0.006928454618901014,
0.06600465625524521,
0.0015255312900990248,
0.057393878698349,
-0.017357155680656433,
0.016611341387033463,
-0.022459210827946663,
-0.08875202387571335,
0.010577017441391945,
0.030324172228574753,
-0.02117098495364189,
0.028612187132239342,
-0.03688395768404007,
-0.025103464722633362,
0.0818362757563591,
0.034816015511751175,
0.0032735359854996204,
0.06366550922393799,
0.03637544438242912,
0.013806058093905449,
0.05407160893082619,
-0.028137577697634697,
0.00042799627408385277,
0.0066699618473649025,
-0.03262941911816597,
-0.017628362402319908,
0.06081784889101982,
0.014755277894437313,
-0.06291969120502472,
0.03376509249210358,
0.05535983666777611,
0.0000516455911565572,
-0.05349529907107353,
0.06634365767240524,
-0.004483366850763559,
0.003307436592876911,
0.04125714674592018,
0.030324172228574753,
0.00624620309099555,
-0.04261317476630211,
0.02273041568696499,
-0.000003401656613277737,
-0.0008957199170254171,
-0.017170703038573265,
-0.009814251214265823,
-0.033629488199949265,
-0.043087784200906754,
0.03454480692744255,
-0.018679283559322357,
-0.03769757226109505,
-0.02698495425283909,
-0.002133625093847513,
-0.07132706046104431,
0.009127762168645859,
0.012746661901473999,
-0.028340982273221016,
0.004051133058965206,
-0.022781267762184143,
-0.03408714756369591,
0.021832047030329704,
-0.010695669800043106,
0.005640228278934956,
0.07193727791309357,
0.04424040764570236,
0.0061148377135396,
0.042579274624586105,
0.019848857074975967,
0.0030531813390552998,
0.006801327224820852,
-0.01216187421232462,
0.06451302021741867,
0.02903594635426998,
0.017246978357434273,
-0.016399461776018143,
-0.023950841277837753,
-0.01923864521086216,
-0.04234196990728378,
0.0017257572617381811,
0.015797724947333336,
-0.006453844718635082,
0.0003133165882900357,
-0.06434351950883865,
0.0340362973511219,
0.0658351480960846,
-0.029951265081763268,
0.023577934131026268,
0.032680269330739975,
0.036612752825021744,
0.052885085344314575,
0.036070339381694794,
-0.06444521993398666,
0.048105087131261826,
-0.10895683616399765,
-0.02254396304488182,
-0.018153822049498558,
-0.023764386773109436,
-0.023899991065263748,
-0.031425945460796356,
-0.005733455065637827,
-0.015984177589416504,
0.04827459156513214,
-0.01660286635160446,
-0.0001492425217293203,
-0.0017808459233492613,
0.008148879744112492,
-0.01934034749865532,
-0.01647573709487915,
-0.015772297978401184,
0.030036015436053276,
0.013407724909484386,
-0.03535842522978783,
0.010551591403782368,
-0.028527434915304184,
-0.03488381579518318,
0.013517902232706547,
-0.014789178036153316,
0.04017232358455658,
-0.01849282905459404,
-0.020662473514676094,
-0.04946111515164375,
0.003907055128365755,
0.012289002537727356,
0.054478418081998825,
0.0022649902384728193,
0.04864749684929848,
-0.018662333488464355,
-0.023018572479486465,
-0.02934105135500431,
0.0015106997452676296,
0.026628997176885605,
0.030425874516367912,
-0.018865736201405525,
-0.00467405840754509,
0.009602371603250504,
-0.027374811470508575,
0.0008978387340903282,
-0.0012469099601730704,
-0.0626823827624321,
-0.057224374264478683,
-0.042986080050468445,
0.0024578003212809563,
-0.004377427510917187,
-0.014831554144620895,
-0.003462108550593257,
-0.031290341168642044,
0.02137438766658306,
-0.04017232358455658,
0.011983895674347878,
0.00819125585258007,
-0.009043010883033276,
-0.005250370129942894,
0.014746802859008312,
0.033307433128356934,
-0.07505614310503006,
-0.0070640575140714645,
-0.009924428537487984,
-0.024696657434105873,
0.025272969156503677,
-0.016840171068906784,
0.0018507661297917366,
0.005157143343240023,
-0.024730557575821877,
-0.025272969156503677,
-0.006491983309388161,
0.008356521837413311,
-0.02113708294928074,
0.03817218169569969,
-0.04824069142341614,
-0.09336251765489578,
0.019221695140004158,
-0.014814604073762894,
-0.012475456111133099,
-0.018950488418340683,
-0.021069282665848732,
-0.02942580357193947,
0.05590224638581276,
-0.014899355359375477,
-0.0244593508541584,
0.00802175235003233,
0.03807048127055168,
0.011712689884006977,
0.00097305589588359,
-0.030120767652988434,
0.07241188734769821,
-0.034595660865306854,
0.00035701668821275234,
0.04590154066681862,
0.05349529907107353,
-0.02103538066148758,
-0.047562677413225174,
-0.027391761541366577,
0.04959671571850777,
0.06641146540641785,
-0.06068224459886551,
0.05295288562774658,
0.04793558269739151,
0.030036015436053276,
-0.003621018026024103,
-0.026103535667061806,
-0.0022946533281356096,
-0.003633730811998248,
0.00483932439237833,
0.03159544989466667,
0.006174164358526468,
0.03457871079444885,
-0.0329684279859066,
-0.05071543902158737,
-0.006314004305750132,
-0.01784871704876423,
-0.04207076132297516,
-0.008873507380485535,
0.0036655126605182886,
-0.012068647891283035,
-0.06393671035766602,
0.014339994639158249,
0.011653363704681396,
-0.06417401880025864,
0.05305458977818489,
-0.06132635846734047,
0.03729076683521271,
-0.034053247421979904,
0.04366409406065941,
0.024594955146312714,
-0.02849353477358818,
0.1030581146478653,
0.035663530230522156,
-0.006924217101186514,
0.04132494702935219,
-0.04983402416110039,
0.056817565113306046,
0.005360547453165054,
0.042680975049734116,
0.01572992280125618,
-0.01535701472312212,
0.009390492923557758,
-0.028307080268859863,
0.00797937624156475,
0.004402852617204189,
-0.016924921423196793,
0.02381523884832859,
0.04295217990875244,
0.036409348249435425,
0.0010043081128969789,
0.006318242289125919,
0.0467829592525959,
-0.015085809864103794,
-0.07593755424022675,
-0.0361720435321331,
0.04807118698954582,
-0.06241118162870407,
0.026018783450126648,
0.06956423074007034,
0.029917363077402115,
0.016653716564178467,
-0.04403700307011604,
-0.023730486631393433,
-0.00897520873695612,
0.05661416053771973,
-0.04200296103954315,
0.02573062852025032,
-0.05583444610238075,
-0.05366479977965355,
-0.0006748356972821057,
-0.004063846077769995,
0.03756197169423103,
-0.07031004130840302,
0.013170420192182064,
-0.015314639545977116,
-0.021493040025234222,
0.0249848123639822,
-0.0012458505807444453,
0.011077051982283592,
-0.010246485471725464,
0.0340362973511219,
-0.0467490591108799,
-0.005296983756124973,
0.01796736940741539,
-0.05369869992136955,
0.058309197425842285,
-0.020221764221787453,
-0.0022522774524986744,
0.04315558448433876,
0.041291046887636185,
0.013458576053380966,
-0.030697079375386238,
-0.05515643209218979,
-0.007072532549500465,
-0.009737974964082241,
-0.004691008944064379,
-0.040545232594013214,
-0.023730486631393433,
0.015119710005819798,
0.03020551986992359,
0.027578216046094894,
0.00939896795898676,
-0.029798710718750954,
0.07431032508611679,
0.012314427644014359,
0.0071106706745922565,
0.014941731467843056,
-0.017391057685017586,
0.0393248051404953,
0.04200296103954315,
0.038409486413002014,
0.008500599302351475,
0.01440779585391283,
-0.036612752825021744,
-0.07586975395679474,
0.061394158750772476,
-0.03861289098858833,
0.06366550922393799,
-0.02105233259499073,
0.011772016063332558,
-0.008462460711598396,
0.026510342955589294,
-0.07159826904535294,
-0.04325728863477707,
-0.059563521295785904,
0.011678789742290974,
-0.006568259559571743,
0.01839112676680088,
0.014534923247992992,
-0.07993783801794052,
0.024849209934473038,
-0.045020122081041336,
0.012789037078619003,
-0.05505472794175148,
-0.018780985847115517,
0.0014291262486949563,
0.021747296676039696,
0.014611199498176575,
-0.03569743409752846,
0.009814251214265823,
0.05868210271000862,
0.01637403666973114,
0.022679565474390984,
-0.046715158969163895,
-0.002940885256975889,
0.011755065992474556,
0.033120978623628616,
0.06610635668039322,
-0.022560913115739822,
0.02028956636786461,
0.004046895541250706,
-0.010229534469544888,
-0.03732466697692871,
0.02061162330210209,
0.040443528443574905,
0.018560631200671196,
0.007386113982647657,
-0.041731756180524826,
0.013492477126419544,
-0.07431032508611679,
-0.0249678622931242,
0.013238221406936646,
-0.036070339381694794,
0.01945899985730648,
-0.06532663851976395,
-0.02625608816742897,
-0.0017713113920763135,
-0.005958047229796648,
-0.02393389120697975,
-0.02783247083425522,
0.05471572279930115,
-0.03752807155251503,
-0.028679989278316498,
0.02381523884832859,
0.045223526656627655,
-0.0006790733314119279,
0.044613316655159,
0.04654565453529358,
-0.0212387852370739,
-0.004525742959231138,
0.009856627322733402,
-0.00489441305398941,
0.014162015169858932,
0.00781411025673151,
0.021730346605181694,
-0.03813828155398369,
0.033426087349653244,
-0.02117098495364189,
-0.02922239899635315,
0.015390915796160698,
-0.0159333273768425,
0.00043620661017484963,
0.04769827798008919,
-0.016916446387767792,
-0.018102971836924553,
-0.00967864878475666,
0.015890950337052345,
0.07681897282600403,
-0.018119921907782555,
-0.02966310828924179,
0.05783458799123764,
-0.0019069141708314419,
-0.08332791179418564,
0.011305881664156914,
-0.008648915216326714,
0.054783523082733154,
0.006178401876240969,
0.0061699263751506805,
0.013492477126419544,
-0.0499357245862484,
-0.0075937556102871895,
0.058919407427310944,
-0.009110812097787857,
-0.021933749318122864,
0.03234126418828964,
0.04952891543507576,
-0.06753018498420715,
-0.03474821150302887,
-0.028985094279050827,
0.022594813257455826,
0.06885231286287308,
-0.010916023515164852,
0.03546012565493584,
-0.004131647292524576,
0.028527434915304184,
-0.04115544259548187,
0.005233420059084892,
0.04549473151564598,
0.07044564187526703,
0.028544384986162186,
-0.016713043674826622,
0.04112154245376587,
-0.04705416411161423,
0.006729288026690483,
-0.029052896425127983,
-0.0074666282162070274,
0.028934244066476822,
0.0048054237850010395,
-0.04085033759474754,
0.007665794808417559,
0.004644395317882299,
0.029578356072306633,
-0.016102829948067665,
0.031205590814352036,
0.05813969299197197,
-0.007356450892984867,
0.014772227965295315,
0.02113708294928074,
-0.014043362811207771,
-0.03868069499731064,
0.016874071210622787,
0.01795041747391224,
0.03196835517883301,
-0.01647573709487915,
0.04017232358455658,
-0.019204743206501007,
0.06315699219703674
] |
21,578 | delorean.dates | __lt__ | null | def __lt__(self, other):
return self.epoch < other.epoch
| (self, other) | [
0.01090302038937807,
0.046161502599716187,
-0.02894441783428192,
0.06968415528535843,
-0.017574002966284752,
-0.02892742119729519,
-0.015831898897886276,
0.038309287279844284,
0.024525422602891922,
-0.01990247331559658,
0.0025897859595716,
-0.03773142024874687,
0.061492014676332474,
0.038513243198394775,
-0.01934160105884075,
-0.016571231186389923,
-0.036983590573072433,
0.04429192841053009,
-0.04068874567747116,
-0.034910060465335846,
-0.008931469172239304,
-0.015942374244332314,
-0.015644941478967667,
0.027703700587153435,
0.03599781543016434,
0.08314508944749832,
0.019426582381129265,
0.009942739270627499,
-0.06325961649417877,
0.03234364464879036,
-0.05241607874631882,
-0.0054430123418569565,
0.05686906725168228,
-0.05975840985774994,
-0.012169232591986656,
-0.023675616830587387,
-0.0555773600935936,
0.024933330714702606,
-0.06172996386885643,
0.008812496438622475,
0.044325921684503555,
-0.04578758776187897,
-0.038513243198394775,
-0.0038793678395450115,
0.016775185242295265,
-0.02804362215101719,
-0.01799890771508217,
-0.007686501834541559,
0.0003208020352758467,
-0.047419216483831406,
-0.03773142024874687,
-0.0032526352442801,
0.046909332275390625,
0.03518199920654297,
-0.11795317381620407,
0.036167774349451065,
0.03188474848866463,
0.06733869016170502,
-0.0510563887655735,
0.03134087473154068,
-0.02994718961417675,
0.013307973742485046,
0.008459826000034809,
0.017336057499051094,
0.03013414703309536,
-0.05024057626724243,
-0.0908273458480835,
-0.01090302038937807,
-0.026106063276529312,
0.06778058409690857,
-0.006335309240967035,
0.024610403925180435,
0.024423446506261826,
0.02685389295220375,
-0.03468910977244377,
0.010112700052559376,
-0.07661857455968857,
0.0485069677233696,
0.0062843207269907,
-0.03208870440721512,
0.03688161447644234,
-0.010954009369015694,
0.03558990731835365,
-0.0007095886394381523,
-0.030915969982743263,
-0.05438763275742531,
0.0067984540946781635,
-0.005018108990043402,
-0.018593771383166313,
0.027057847008109093,
-0.03735750541090965,
0.042490337044000626,
-0.007010905537754297,
-0.01869574934244156,
0.02066729962825775,
0.034468162804841995,
-0.008931469172239304,
0.011863302439451218,
-0.018627764657139778,
-0.04340812936425209,
0.08498067408800125,
0.011854804120957851,
-0.04524371027946472,
-0.003932480700314045,
0.007108633406460285,
0.008260121569037437,
-0.031680796295404434,
-0.022774821147322655,
-0.05826275050640106,
0.01825384981930256,
-0.039906926453113556,
0.04215041548013687,
-0.042932238429784775,
0.02136414125561714,
0.0027576228603720665,
-0.03312546759843826,
0.01572992280125618,
0.019358597695827484,
0.001269398839212954,
-0.02110919915139675,
0.026615947484970093,
0.014752645045518875,
0.011251441203057766,
0.03562390059232712,
-0.06880035251379013,
-0.0044572362676262856,
0.04888088256120682,
0.01193978451192379,
-0.058160774409770966,
-0.09252695739269257,
0.05799081176519394,
-0.008888978511095047,
0.019817493855953217,
0.06302166730165482,
0.024678388610482216,
-0.11217448860406876,
0.03096695803105831,
0.06461930274963379,
0.029029399156570435,
-0.00789895374327898,
0.03562390059232712,
0.003233514726161957,
0.06628492474555969,
-0.006751714739948511,
0.0030635532457381487,
-0.029964186251163483,
-0.08566051721572876,
0.041912470012903214,
0.03154482692480087,
0.05612123757600784,
0.023777592927217484,
-0.02597009390592575,
0.06376949697732925,
-0.007465552072972059,
-0.016885660588741302,
-0.0233696848154068,
-0.03708556666970253,
-0.08307711035013199,
0.016027355566620827,
-0.014429718255996704,
-0.0149990888312459,
-0.02034437283873558,
0.008820993825793266,
-0.051396310329437256,
-0.026327013969421387,
0.023828580975532532,
-0.04456386715173721,
-0.006152600981295109,
-0.026428990066051483,
0.038887158036231995,
0.05248406529426575,
-0.012560144066810608,
0.017964914441108704,
-0.01017218641936779,
-0.02192501351237297,
-0.02559617906808853,
0.03380531072616577,
0.07206360995769501,
-0.005451510194689035,
0.053163908421993256,
-0.008608542382717133,
0.008158144541084766,
-0.010087206028401852,
-0.024933330714702606,
0.013104019686579704,
-0.017489023506641388,
0.0063438075594604015,
0.0011047488078474998,
-0.0006543511990457773,
0.017336057499051094,
-0.02180604077875614,
-0.001969427103176713,
-0.040790725499391556,
-0.021279161795973778,
-0.013104019686579704,
0.014710154384374619,
-0.05211015045642853,
0.04633146524429321,
0.0299981776624918,
0.09096331149339676,
-0.042422354221343994,
0.05251805856823921,
-0.014523196965456009,
-0.06135604903101921,
0.05109038203954697,
-0.004652692005038261,
-0.03905711695551872,
-0.019613539800047874,
0.0220439862459898,
-0.03732351213693619,
0.01730206608772278,
-0.04449588060379028,
-0.008787001483142376,
0.0255791824311018,
0.01686016656458378,
-0.03558990731835365,
0.0036711650900542736,
-0.038071341812610626,
-0.02406652644276619,
-0.026378002017736435,
0.06499321758747101,
-0.04062076285481453,
-0.032309651374816895,
-0.0352499857544899,
0.027210813015699387,
0.015874389559030533,
0.012169232591986656,
-0.03157882019877434,
-0.03460413217544556,
0.004763166885823011,
0.06982012093067169,
-0.03343139588832855,
0.006373550742864609,
-0.02343766950070858,
-0.011446896940469742,
0.08504866063594818,
-0.005808429326862097,
0.04952673614025116,
-0.09742184728384018,
-0.02311474271118641,
-0.01864475943148136,
0.03400926664471626,
0.03271755948662758,
-0.007529287599027157,
0.060812171548604965,
-0.09511037170886993,
-0.0030784248374402523,
0.027057847008109093,
-0.06315764039754868,
0.0573449581861496,
-0.0071298787370324135,
-0.011574367992579937,
-0.021721061319112778,
0.009653804823756218,
-0.01585739478468895,
-0.05143030360341072,
-0.07342330366373062,
-0.0651971772313118,
0.02760172262787819,
0.039329055696725845,
-0.012815086171030998,
0.04718127101659775,
-0.037629444152116776,
-0.0073763225227594376,
-0.04000890254974365,
0.021466119214892387,
-0.03451915085315704,
0.02603807859122753,
-0.006305566057562828,
0.02343766950070858,
-0.007728992495685816,
-0.07308337837457657,
-0.03871719539165497,
0.026242032647132874,
0.009220403619110584,
-0.01706411875784397,
-0.0006283258553594351,
-0.045141734182834625,
-0.026394996792078018,
-0.026683932170271873,
0.0269048810005188,
0.015211541205644608,
-0.05642716959118843,
-0.029335329309105873,
-0.04262630641460419,
-0.04949274659156799,
-0.018372822552919388,
-0.019290613010525703,
-0.036677658557891846,
-0.029301336035132408,
0.025681160390377045,
-0.006611496675759554,
0.05289197340607643,
-0.02097322978079319,
0.045005764812231064,
-0.02229892835021019,
0.027431761845946312,
-0.022077979519963264,
0.04660340026021004,
0.037425488233566284,
0.03134087473154068,
-0.03728951886296272,
-0.013443943113088608,
0.0006262013339437544,
-0.02002144791185856,
0.034468162804841995,
-0.048676930367946625,
0.035351961851119995,
0.03203771263360977,
0.006199340336024761,
0.029165368527173996,
0.014327742159366608,
-0.010308155789971352,
0.003140036016702652,
0.0005736195598728955,
0.038887158036231995,
0.0050011128187179565,
-0.007571778260171413,
-0.0013203872367739677,
0.05666511505842209,
-0.01990247331559658,
0.04796309396624565,
-0.00288296933285892,
0.02559617906808853,
-0.010750055313110352,
-0.08586447685956955,
-0.00011963685392402112,
0.02766970731317997,
-0.02462739869952202,
0.03083098866045475,
-0.009628310799598694,
0.004907634109258652,
0.07811423391103745,
0.023352690041065216,
-0.0018122128676623106,
0.06750864535570145,
0.043068207800388336,
0.0136733902618289,
0.04068874567747116,
-0.023658620193600655,
-0.0038538735825568438,
-0.0006644426612183452,
-0.005557735916227102,
-0.015390000306069851,
0.06172996386885643,
0.01491410844027996,
-0.04789510741829872,
0.02551119774580002,
0.018236853182315826,
0.007414564024657011,
-0.04279626905918121,
0.05438763275742531,
-0.015882888808846474,
-0.0013341965386644006,
0.044767819344997406,
0.019409585744142532,
0.010826538316905499,
-0.0352499857544899,
0.015415494330227375,
0.007801225874572992,
0.02622503601014614,
-0.016970640048384666,
-0.000521568872500211,
-0.06009833142161369,
-0.028570502996444702,
0.04034882411360741,
-0.0023518402595072985,
-0.06393945962190628,
-0.04082471504807472,
0.0026301518082618713,
-0.09375067800283432,
0.016715697944164276,
0.005277299787849188,
-0.05136232078075409,
-0.0014648543437942863,
-0.03431519493460655,
-0.03871719539165497,
0.05255204811692238,
-0.013087023980915546,
0.015457984991371632,
0.07505492866039276,
0.03671165183186531,
0.010248669423162937,
0.03909111022949219,
-0.0071511236019432545,
0.0013363211182877421,
0.008668028749525547,
-0.01920563168823719,
0.07532686740159988,
0.023896565660834312,
-0.013469437137246132,
-0.017523014917969704,
-0.0116848424077034,
-0.010826538316905499,
-0.033210448920726776,
-0.0008827367564663291,
0.022791817784309387,
-0.016588227823376656,
0.00723610445857048,
-0.06159399449825287,
0.0377994030714035,
0.05438763275742531,
-0.00973028689622879,
0.03728951886296272,
0.03375432267785072,
0.0062545775435864925,
0.0502745658159256,
0.027822673320770264,
-0.07301539927721024,
0.045957550406455994,
-0.09796572476625443,
-0.009806769900023937,
-0.006016631610691547,
-0.02148311398923397,
-0.0003439061692915857,
-0.019868481904268265,
-0.0130105409771204,
-0.005183821078389883,
0.023522650822997093,
-0.014208768494427204,
-0.03467211499810219,
0.006033627782016993,
-0.022383909672498703,
-0.01260263379663229,
-0.018168868497014046,
-0.01253464911133051,
0.037629444152116776,
0.013953826390206814,
-0.057582903653383255,
0.008136899210512638,
0.002373085357248783,
-0.003163405694067478,
0.01976650580763817,
0.002931833267211914,
0.04721526429057121,
-0.014123788103461266,
-0.022978775203227997,
-0.05850069597363472,
-0.006849442608654499,
0.032258663326501846,
0.0528239868581295,
0.014854622073471546,
0.06642089784145355,
-0.005137081723660231,
-0.01762499287724495,
-0.023794589564204216,
-0.004208668135106564,
0.04004289582371712,
0.013766868971288204,
-0.02173805609345436,
0.014744146727025509,
0.012220220640301704,
0.005154077894985676,
-0.01275559887290001,
-0.005697954446077347,
-0.07546284049749374,
-0.06536713242530823,
-0.0282305795699358,
-0.01399631705135107,
0.00039808134897612035,
-0.026751916855573654,
0.018627764657139778,
-0.007406065706163645,
0.005532241892069578,
-0.03759545087814331,
0.02741476520895958,
-0.006989660672843456,
-0.009483843110501766,
-0.028587499633431435,
0.010554599575698376,
0.04099467769265175,
-0.06057422608137131,
-0.013256985694169998,
-0.016273798421025276,
-0.07124780118465424,
0.03176577761769295,
-0.007053396198898554,
-0.015772413462400436,
0.009135422296822071,
-0.0009310695459134877,
-0.021007223054766655,
-0.02994718961417675,
0.01535600796341896,
0.0015838273102417588,
0.041980452835559845,
-0.021619083359837532,
-0.08103757351636887,
0.027244804427027702,
-0.013341966085135937,
-0.023471662774682045,
-0.006543511990457773,
-0.00587641354650259,
-0.02936932072043419,
0.04694332554936409,
-0.016146328300237656,
-0.005277299787849188,
-0.006309815216809511,
0.044257935136556625,
0.0033376161009073257,
0.005409019999206066,
-0.027516743168234825,
0.05394573137164116,
-0.01241567637771368,
0.0030338100623339415,
0.05737895146012306,
0.06115209311246872,
-0.0029552029445767403,
-0.022349918261170387,
-0.018661756068468094,
0.024525422602891922,
0.05061449110507965,
-0.07199563086032867,
0.06108411028981209,
0.04612750932574272,
0.022978775203227997,
0.0068069519475102425,
-0.030117150396108627,
0.001576391514390707,
0.01667320914566517,
0.025052303448319435,
0.035148005932569504,
-0.012934058904647827,
0.03885316476225853,
-0.06251178681850433,
-0.04449588060379028,
0.004083321429789066,
0.003184650791808963,
-0.018542783334851265,
0.007920199073851109,
0.015568459406495094,
-0.007087388075888157,
-0.06427938491106033,
0.002116018906235695,
0.0009533769334666431,
-0.05112437531352043,
0.06135604903101921,
-0.06492523849010468,
0.059554457664489746,
-0.019358597695827484,
0.0339752733707428,
0.022349918261170387,
-0.017896929755806923,
0.11550573259592056,
0.04283025860786438,
-0.0008784877136349678,
0.03217368200421333,
-0.07634663581848145,
0.07362725585699081,
-0.009279889985918999,
0.03151083365082741,
0.014140784740447998,
-0.017149100080132484,
0.004268154501914978,
-0.038445256650447845,
-0.01976650580763817,
-0.011982275173068047,
-0.017930923029780388,
0.01260263379663229,
0.06006434187293053,
0.04031483083963394,
0.031051939353346825,
0.015339012257754803,
0.06227383762598038,
-0.011608360335230827,
-0.08124152570962906,
-0.026140054687857628,
0.017157597467303276,
-0.034145236015319824,
-0.007958440110087395,
0.047351233661174774,
0.03448515757918358,
0.013715880922973156,
-0.03922707960009575,
-0.009424356743693352,
-0.014897112734615803,
0.062069885432720184,
-0.03650769963860512,
0.05085243657231331,
-0.06846043467521667,
-0.04252433031797409,
0.01086902804672718,
0.0005112118669785559,
0.06009833142161369,
-0.05833073705434799,
-0.008999453857541084,
-0.016401270404458046,
-0.007856463082134724,
0.019919469952583313,
-0.0004448207328096032,
-0.0048778909258544445,
-0.027839669957756996,
0.0189506895840168,
-0.03681362792849541,
0.019358597695827484,
0.04181049019098282,
-0.05156627297401428,
0.05384375527501106,
-0.025953097268939018,
-0.04952673614025116,
0.018559779971837997,
0.04361208155751228,
0.012177730910480022,
-0.02022540010511875,
-0.026327013969421387,
0.024474434554576874,
-0.03854723274707794,
0.0034884565975517035,
-0.045583635568618774,
-0.031799767166376114,
0.022400906309485435,
0.0492887906730175,
0.04351010546088219,
0.012424174696207047,
-0.033380407840013504,
0.08321307599544525,
0.008578798733651638,
0.01506707351654768,
0.009891750290989876,
0.0014223640318959951,
0.019681524485349655,
0.02773769199848175,
0.03905711695551872,
0.016817675903439522,
0.02369261160492897,
-0.0322076752781868,
-0.0695141926407814,
0.03864921256899834,
-0.011659348383545876,
0.05163425952196121,
-0.04174250736832619,
0.023420674726366997,
-0.02506929822266102,
0.04724925383925438,
-0.06550310552120209,
-0.058092787861824036,
-0.05737895146012306,
0.021058211103081703,
-0.020939238369464874,
0.009993727318942547,
0.0229277852922678,
-0.04099467769265175,
-0.011217448860406876,
-0.05629120022058487,
0.022264936938881874,
-0.05156627297401428,
-0.021704064682126045,
-0.015933876857161522,
0.021075207740068436,
0.016248304396867752,
-0.02957327477633953,
0.023386681452393532,
0.04041681066155434,
0.020939238369464874,
0.02406652644276619,
-0.061560001224279404,
0.0014584808377549052,
-0.015245532616972923,
0.005855168681591749,
0.06642089784145355,
-0.023046759888529778,
0.023641623556613922,
-0.00009613439033273607,
-0.010886024683713913,
-0.03145984560251236,
0.04181049019098282,
0.031000949442386627,
-0.00166243442799896,
-0.0018801974365487695,
-0.027465753257274628,
0.036745645105838776,
-0.08151346445083618,
-0.017217084765434265,
0.015814904123544693,
-0.029454302042722702,
-0.01642676442861557,
-0.07131578028202057,
-0.0325985886156559,
-0.01806689240038395,
-0.018236853182315826,
-0.021568095311522484,
-0.016256803646683693,
0.05003662034869194,
-0.029488293454051018,
-0.01617182232439518,
-0.003562814788892865,
0.045005764812231064,
0.0014574185479432344,
0.026581954210996628,
0.03708556666970253,
-0.0017197964480146766,
0.010503611527383327,
0.011285433545708656,
-0.014489204622805119,
0.003494830336421728,
-0.002146824263036251,
0.004962871316820383,
-0.02066729962825775,
0.03417922928929329,
-0.022944781929254532,
-0.024797361344099045,
0.011081480421125889,
0.007172368932515383,
0.0045549641363322735,
0.048303015530109406,
-0.023522650822997093,
-0.02761871926486492,
-0.004406248219311237,
0.02709183841943741,
0.08056168258190155,
-0.01484612375497818,
-0.025885114446282387,
0.0414365753531456,
0.021704064682126045,
-0.059928372502326965,
0.026072071865200996,
0.002577038947492838,
0.05792282894253731,
0.011208951473236084,
0.02406652644276619,
0.041164640337228775,
-0.037561457604169846,
-0.014897112734615803,
0.05312991887331009,
0.01554296538233757,
-0.00477166473865509,
0.05629120022058487,
0.05255204811692238,
-0.09633409231901169,
-0.04976468160748482,
-0.030780000612139702,
0.04119862988591194,
0.08579649031162262,
0.012925560586154461,
0.0038963640108704567,
0.021619083359837532,
0.030796997249126434,
-0.029862208291888237,
0.010333649814128876,
0.06982012093067169,
0.08987556397914886,
0.008566051721572876,
-0.020820265635848045,
0.020752280950546265,
-0.04721526429057121,
0.0238115843385458,
-0.05265402793884277,
0.010036217980086803,
0.034468162804841995,
-0.004537967965006828,
-0.009466847404837608,
0.011761325411498547,
-0.011412904597818851,
0.0062333326786756516,
-0.015814904123544693,
0.026428990066051483,
0.06526515632867813,
-0.018168868497014046,
0.029046393930912018,
0.02704085037112236,
-0.014064301736652851,
-0.025562187656760216,
0.006845193449407816,
-0.014769641682505608,
0.033516377210617065,
-0.01396232470870018,
0.036983590573072433,
-0.009534832090139389,
0.05149829015135765
] |
21,580 | delorean.dates | __repr__ | null | def __repr__(self):
dt = self.datetime.replace(tzinfo=None)
if isinstance(self.timezone, pytz._FixedOffset):
tz = self.timezone
else:
tz = self.timezone.tzname(None)
return 'Delorean(datetime=%r, timezone=%r)' % (dt, tz)
| (self) | [
0.039865028113126755,
-0.00349140795879066,
0.08208371698856354,
0.02754511684179306,
-0.010821295902132988,
-0.08289278298616409,
-0.011639558710157871,
0.026202797889709473,
0.021771308034658432,
-0.008752654306590557,
-0.03195821866393089,
-0.015170041471719742,
-0.04784538969397545,
0.026349902153015137,
-0.004744085483253002,
0.05968721583485603,
-0.08348120003938675,
-0.028354186564683914,
-0.03931339085102081,
-0.000849292438942939,
0.0227274801582098,
-0.04446201026439667,
-0.018010975793004036,
-0.02434561774134636,
-0.0025536236353218555,
0.03421993553638458,
-0.03324537351727486,
-0.007548244670033455,
-0.009782378561794758,
-0.00890895165503025,
-0.024272065609693527,
0.007460901979357004,
-0.05935623496770859,
0.010692580603063107,
0.007189680356532335,
0.023628488183021545,
-0.04074764996767044,
0.004484355915337801,
-0.042586442083120346,
0.0015147055964916945,
0.013220921158790588,
-0.011115502566099167,
-0.019932514056563377,
-0.013827722519636154,
-0.004144179634749889,
-0.00383388320915401,
0.02103579044342041,
0.04170382395386696,
-0.023996246978640556,
-0.011253412812948227,
0.03727233037352562,
0.05034615099430084,
-0.01003980915993452,
0.015859588980674744,
-0.03850432485342026,
-0.024823704734444618,
0.07590536773204803,
0.049279648810625076,
-0.012356688268482685,
0.029770057648420334,
-0.06957992166280746,
0.015261980704963207,
0.014498881995677948,
0.0047165038995444775,
-0.024088187143206596,
0.025117911398410797,
-0.03135141730308533,
-0.0422554612159729,
0.030523961409926414,
0.021274833008646965,
0.059760767966508865,
0.0003194902674295008,
0.011814244091510773,
0.028151918202638626,
0.04666856303811073,
-0.01904989406466484,
-0.034587692469358444,
-0.04935320094227791,
-0.01448049396276474,
-0.04519752785563469,
-0.05623028799891472,
-0.03276728838682175,
-0.02736123837530613,
0.04714664816856384,
0.04725697636604309,
-0.03931339085102081,
0.008366507478058338,
-0.03328214958310127,
-0.02942068688571453,
0.025595996528863907,
0.00886298157274723,
-0.010959205217659473,
-0.005925510078668594,
0.02726929821074009,
-0.051927510648965836,
0.008063106797635555,
-0.029549401253461838,
-0.014636791311204433,
0.0196383073925972,
-0.0026363693177700043,
0.08098043501377106,
-0.009607693180441856,
-0.09642630070447922,
-0.03228920325636864,
-0.020723195746541023,
0.026864763349294662,
0.010646610520780087,
0.04714664816856384,
-0.023702040314674377,
-0.0018939566798508167,
-0.04652145877480507,
0.07899454236030579,
-0.02962295338511467,
-0.024750152602791786,
0.05016227066516876,
-0.03960759937763214,
-0.02651539258658886,
0.014186287298798561,
0.02622118592262268,
0.012935907579958439,
-0.023628488183021545,
0.03234436735510826,
-0.02007961831986904,
-0.010094973258674145,
-0.033999279141426086,
0.002597294980660081,
-0.026533780619502068,
0.002528340322896838,
0.041446391493082047,
-0.06277638673782349,
0.05516378581523895,
0.042402565479278564,
-0.030965272337198257,
0.0024134155828505754,
0.03319021314382553,
0.024547884240746498,
0.04644790664315224,
0.01934410072863102,
-0.026441842317581177,
0.11665301769971848,
-0.010876460000872612,
-0.021771308034658432,
0.047404080629348755,
0.047220200300216675,
-0.0030822765547782183,
-0.02121967077255249,
-0.029034540057182312,
0.04026956483721733,
-0.022506825625896454,
-0.012522179633378983,
0.03648165240883827,
0.0036821826361119747,
-0.004881995264440775,
0.008017136715352535,
-0.011593589559197426,
-0.042770322412252426,
-0.02256198786199093,
0.02491564303636551,
-0.005787600763142109,
-0.02302168682217598,
-0.06564490497112274,
-0.0255776084959507,
-0.002297341823577881,
-0.01831437647342682,
0.010876460000872612,
0.01608024351298809,
0.056818701326847076,
-0.04280709847807884,
0.02500758320093155,
0.018102915957570076,
-0.0091342031955719,
-0.07476531714200974,
-0.005985270719975233,
0.051743630319833755,
-0.009377843700349331,
0.018994729965925217,
-0.0006361074047163129,
0.06513004750013351,
-0.035249657928943634,
-0.009782378561794758,
0.05803230404853821,
-0.0006108240340836346,
-0.07884743809700012,
0.03714361786842346,
0.019123446196317673,
-0.035341598093509674,
0.019693471491336823,
-0.011621170677244663,
0.01715593785047531,
0.011814244091510773,
0.003606332466006279,
0.02292974665760994,
0.00851820781826973,
0.0019042998319491744,
-0.02302168682217598,
-0.04170382395386696,
0.018783269450068474,
-0.05383985489606857,
-0.015004550106823444,
0.019178610295057297,
-0.04630080610513687,
0.028703557327389717,
-0.0065139238722622395,
-0.05773809552192688,
0.01249459758400917,
0.04935320094227791,
-0.04839702695608139,
-0.02283780835568905,
0.008895160630345345,
-0.01710996776819229,
0.0463743582367897,
-0.018332764506340027,
0.031829506158828735,
-0.021642591804265976,
0.006403596140444279,
-0.025430506095290184,
-0.08178950846195221,
-0.0023502071853727102,
-0.03780558332800865,
0.02991716004908085,
0.02121967077255249,
-0.022598763927817345,
-0.040894754230976105,
-0.050897788256406784,
0.011326964013278484,
-0.01934410072863102,
0.00846304465085268,
-0.030726229771971703,
-0.05038292333483696,
-0.09193964302539825,
-0.008757251314818859,
-0.06564490497112274,
-0.05965043976902962,
-0.020796747878193855,
0.04405747726559639,
0.026570556685328484,
-0.02651539258658886,
-0.03394411504268646,
-0.049095768481492996,
0.001264170161448419,
-0.014140317216515541,
-0.0021743725519627333,
0.04652145877480507,
0.005116441287100315,
0.060422733426094055,
-0.004624564200639725,
-0.0367758572101593,
0.06336480379104614,
-0.007893018424510956,
-0.00273520452901721,
0.014728730544447899,
-0.03074461780488491,
-0.004408505745232105,
0.019270548596978188,
0.038430772721767426,
-0.06910184025764465,
0.02896098792552948,
0.013910467736423016,
0.03223403915762901,
0.0468156673014164,
-0.027802549302577972,
-0.009561723098158836,
-0.054943133145570755,
0.016071049496531487,
0.037879131734371185,
0.011244218796491623,
-0.05582575127482414,
-0.03662875294685364,
0.014857446774840355,
-0.012696865014731884,
0.06432097405195236,
-0.004507340956479311,
-0.04850735515356064,
0.01765241101384163,
-0.06957992166280746,
-0.04582271724939346,
-0.04262321814894676,
-0.05538444221019745,
-0.08053912967443466,
-0.005134829320013523,
-0.013064623810350895,
-0.028133532032370567,
0.01042595598846674,
0.007764303125441074,
-0.06946959346532822,
-0.030983660370111465,
0.015059713274240494,
0.03828366845846176,
-0.018470674753189087,
0.03982825204730034,
0.0160986315459013,
0.00257201143540442,
0.01980379968881607,
-0.01174988690763712,
0.04265999421477318,
0.014976968057453632,
0.03216048702597618,
0.031057212501764297,
-0.0055899303406476974,
0.012752029113471508,
-0.011694722808897495,
0.00636682054027915,
0.05273658037185669,
0.04008568450808525,
-0.025228237733244896,
0.03581968694925308,
-0.015841200947761536,
0.04847057908773422,
0.008729669265449047,
0.017624828964471817,
0.015022938139736652,
-0.04082120209932327,
0.04254966601729393,
0.04163027182221413,
0.015822812914848328,
0.02820708230137825,
-0.027398014441132545,
-0.020796747878193855,
0.04026956483721733,
0.08193661272525787,
-0.007837854325771332,
0.00030397545197047293,
0.011639558710157871,
0.05292046070098877,
0.03876175358891487,
-0.06432097405195236,
-0.03780558332800865,
0.02508113533258438,
0.03008265234529972,
0.062224749475717545,
-0.025448894128203392,
-0.08149529993534088,
-0.026368290185928345,
0.019380876794457436,
0.01904989406466484,
0.04688921943306923,
-0.003408662276342511,
-0.00846304465085268,
-0.04924287274479866,
0.01065580453723669,
0.060128528624773026,
0.04802927002310753,
-0.06987413018941879,
0.0073919473215937614,
-0.00961688719689846,
0.041446391493082047,
-0.04512397572398186,
0.02256198786199093,
0.010885654017329216,
0.06270283460617065,
-0.031645625829696655,
-0.001261871657334268,
0.010462731122970581,
0.03361313417553902,
-0.023260729387402534,
-0.015234398655593395,
0.04446201026439667,
0.05998142436146736,
-0.02491564303636551,
0.02715897001326084,
-0.0184982568025589,
0.002978844568133354,
0.07152904570102692,
-0.028832271695137024,
0.011501649394631386,
-0.03784235939383507,
0.012365882284939289,
-0.01699044555425644,
0.05148620158433914,
-0.037033289670944214,
-0.08877692371606827,
0.023812368512153625,
0.024400781840085983,
-0.09208674728870392,
-0.028225470334291458,
-0.024106575176119804,
0.041924476623535156,
0.06148923560976982,
-0.06571845710277557,
-0.00846304465085268,
0.017275460064411163,
-0.0026501603424549103,
0.023279117420315742,
0.03056073747575283,
0.0055761393159627914,
0.02509952336549759,
0.01574006676673889,
0.029402298852801323,
-0.01786387339234352,
-0.001487123779952526,
-0.0321972630918026,
-0.042770322412252426,
0.018102915957570076,
0.044204581528902054,
-0.04078442603349686,
-0.020153170451521873,
-0.011566007509827614,
-0.012034899555146694,
-0.06549780070781708,
0.024290453642606735,
0.05244237184524536,
-0.02528340183198452,
-0.0030661870259791613,
0.0015848096227273345,
0.012935907579958439,
0.010527089238166809,
0.03738265857100487,
0.04166704788804054,
-0.01916022226214409,
-0.015206817537546158,
0.018994729965925217,
-0.08414316177368164,
-0.031921446323394775,
-0.022010350599884987,
0.04346906393766403,
0.003990180790424347,
-0.05840006098151207,
0.0026731451507657766,
0.042034804821014404,
-0.047587960958480835,
-0.022341333329677582,
0.010398373939096928,
-0.006592072546482086,
-0.012954295612871647,
0.03271212428808212,
0.014066766016185284,
-0.008481431752443314,
0.04413102939724922,
-0.005093456245958805,
0.02292974665760994,
0.037419434636831284,
-0.01923377439379692,
0.030156202614307404,
-0.004206238780170679,
0.08458447456359863,
-0.0026294738054275513,
0.05917235463857651,
-0.026349902153015137,
-0.01546424813568592,
0.05273658037185669,
0.022231005132198334,
0.010205300524830818,
0.0367758572101593,
-0.042512889951467514,
-0.012393464334309101,
0.05016227066516876,
-0.003387975972145796,
-0.024106575176119804,
0.03352119401097298,
0.015399890020489693,
0.04093153029680252,
0.027324462309479713,
-0.016999639570713043,
-0.04490332305431366,
-0.02857484109699726,
-0.054575372487306595,
0.028538065031170845,
-0.009681244380772114,
-0.03469802066683769,
0.001926135504618287,
0.0021031193900853395,
0.011483261361718178,
-0.0070839496329426765,
-0.01578603684902191,
0.012752029113471508,
-0.010361597873270512,
-0.017505308613181114,
0.0013549604918807745,
-0.09480816125869751,
-0.044682666659355164,
0.03714361786842346,
0.010821295902132988,
-0.045602064579725266,
-0.0052497535943984985,
-0.024124963209033012,
0.05255270004272461,
-0.024492722004652023,
0.0171283558011055,
-0.007617199327796698,
0.0164480023086071,
-0.06329125165939331,
-0.015657320618629456,
-0.019196998327970505,
-0.00657828152179718,
0.007001203950494528,
0.007860839366912842,
0.006274880841374397,
0.015602157451212406,
-0.014802282676100731,
0.010094973258674145,
-0.010527089238166809,
0.055053457617759705,
-0.08348120003938675,
-0.019380876794457436,
0.02517307549715042,
0.022984910756349564,
-0.03280406445264816,
-0.050971340388059616,
-0.00957091711461544,
-0.03135141730308533,
-0.03497384116053581,
0.04012246057391167,
0.049463529139757156,
-0.009515753015875816,
-0.0014813775196671486,
-0.014498881995677948,
0.04832347854971886,
0.05086101219058037,
0.008968711830675602,
0.00245478842407465,
0.06130535528063774,
-0.0005619810544885695,
-0.012503791600465775,
0.00026921078097075224,
-0.02366526424884796,
0.004500445444136858,
0.02405141107738018,
-0.011179860681295395,
-0.03138819336891174,
-0.009405425749719143,
0.03144335746765137,
0.06597588956356049,
0.01146487332880497,
-0.018755687400698662,
-0.03398089110851288,
0.07090385258197784,
-0.02517307549715042,
0.04850735515356064,
-0.02121967077255249,
0.05417083948850632,
0.04931642487645149,
-0.04243934154510498,
-0.0004996344796381891,
-0.00273520452901721,
0.018332764506340027,
0.060238853096961975,
-0.11363740265369415,
-0.004217731300741434,
-0.06513004750013351,
0.01980379968881607,
-0.024290453642606735,
-0.03817334026098251,
-0.027030255645513535,
-0.029843607917428017,
-0.04813959822058678,
-0.011244218796491623,
0.03102043643593788,
0.0027558908332139254,
0.0028892033733427525,
0.026938315480947495,
0.01779032126069069,
-0.02809675596654415,
0.04666856303811073,
0.05784842371940613,
0.009736408479511738,
0.08988019824028015,
-0.000017400296201230958,
0.035599030554294586,
0.03186628222465515,
0.01982218772172928,
0.018599389120936394,
0.06582878530025482,
0.07914164662361145,
0.03846754878759384,
0.003484512446448207,
0.02623957395553589,
-0.007768900133669376,
0.03451414406299591,
-0.04273354634642601,
0.03267534822225571,
-0.042512889951467514,
-0.00814125593751669,
0.03258340805768967,
0.02783932350575924,
-0.046558234840631485,
0.036665529012680054,
-0.0034707216545939445,
0.03942371904850006,
0.029218418523669243,
-0.0046958173625171185,
-0.02083352394402027,
-0.0036936751566827297,
-0.0017882260726764798,
-0.056083183735609055,
-0.04596982151269913,
0.007539050653576851,
0.007828660309314728,
-0.0016721523134037852,
0.05512700974941254,
-0.051375873386859894,
-0.0043947151862084866,
-0.037879131734371185,
-0.006330044474452734,
0.035029005259275436,
0.01608024351298809,
-0.09024795144796371,
0.008306747302412987,
0.0006677116616629064,
0.004197044763714075,
0.013128980994224548,
0.006605863571166992,
0.0034684231504797935,
0.04784538969397545,
0.0017468532314524055,
0.019123446196317673,
-0.0018836134113371372,
-0.014636791311204433,
0.013809334486722946,
-0.02690153941512108,
0.005525572691112757,
-0.021072566509246826,
0.0374562107026577,
0.010122554376721382,
-0.052111390978097916,
0.004229223821312189,
-0.06450485438108444,
-0.02745317853987217,
0.04641113057732582,
-0.0778912678360939,
-0.004886592272669077,
-0.010821295902132988,
0.03953404724597931,
-0.018663747236132622,
0.04482977092266083,
-0.022231005132198334,
0.01564812660217285,
0.005148619879037142,
-0.01688011921942234,
0.044020701199769974,
-0.03469802066683769,
0.04688921943306923,
0.053619202226400375,
-0.08053912967443466,
-0.028630005195736885,
-0.1126076728105545,
-0.009377843700349331,
-0.055715423077344894,
0.020447377115488052,
0.00544742401689291,
0.004134985618293285,
-0.000121389064588584,
0.018167274072766304,
-0.009828347712755203,
0.004571698606014252,
-0.0561935119330883,
-0.012117644771933556,
-0.03035847097635269,
-0.07958295941352844,
-0.023610100150108337,
-0.027857711538672447,
-0.009653662331402302,
0.028409350663423538,
0.05358242616057396,
0.017606442794203758,
-0.03971792757511139,
0.004914173856377602,
-0.05170685425400734,
0.057885199785232544,
0.009644468314945698,
-0.00685869762673974,
0.0018261511577293277,
-0.06836631894111633,
-0.06494616717100143,
-0.07174969464540482,
0.10172202438116074,
0.03857787325978279,
-0.023646876215934753,
0.009809959679841995,
-0.010343209840357304,
-0.03162723779678345,
-0.04670533910393715,
0.0030110233929008245,
0.0468156673014164,
-0.020355436950922012,
-0.032491471618413925,
-0.016751402989029884,
-0.0056267064064741135,
0.03548870235681534,
0.024455945938825607,
-0.01689850725233555,
0.057296786457300186,
0.01249459758400917,
0.0070793526247143745,
-0.011005175299942493,
-0.02802320383489132,
0.04585949331521988,
-0.0255776084959507,
-0.0006102494080550969,
0.013726589269936085,
-0.03076300583779812,
0.050971340388059616,
-0.04188770055770874,
-0.04346906393766403,
0.0025697131641209126,
0.0995890200138092,
-0.03729071840643883,
0.0013825424248352647,
-0.005810585338622332,
0.01462759729474783,
-0.008977905847132206,
0.0358564630150795,
0.04446201026439667,
0.04817637428641319,
0.03407283127307892,
0.05501668155193329,
0.012227972969412804,
0.03901918604969978,
0.023922694846987724,
0.03473479673266411,
-0.001297498238272965,
0.03114915080368519,
0.09142478555440903,
0.01155681349337101,
-0.04254966601729393,
-0.015234398655593395,
-0.04574916511774063,
0.03186628222465515,
0.02677282504737377,
0.010453537106513977,
0.03307988494634628,
-0.009037666954100132,
-0.014360972680151463,
-0.001997388666495681,
0.04916932061314583,
0.03210532292723656,
0.08318699151277542,
-0.04817637428641319,
-0.0392766147851944,
-0.06178344041109085,
-0.008876772597432137,
-0.008849190548062325,
0.09399909526109695,
0.026717660948634148,
-0.03931339085102081,
0.021918410435318947,
0.012034899555146694,
-0.03633454814553261,
0.024842092767357826,
-0.001225095707923174,
0.03442220389842987,
-0.023738816380500793,
0.03736427053809166,
0.017624828964471817,
0.03923983871936798,
0.024308841675519943,
-0.011988929472863674,
-0.038246892392635345,
0.03247308358550072,
-0.025338565930724144,
0.06814566254615784,
0.022488437592983246,
-0.002728309016674757,
-0.0692121610045433,
0.010361597873270512,
0.022801032289862633,
-0.018332764506340027,
-0.04769828915596008,
0.03135141730308533,
-0.01023288257420063,
-0.029880383983254433,
-0.06384289264678955,
-0.042954202741384506,
0.019785411655902863,
0.012862356379628181,
-0.006095598451793194,
0.026110859587788582,
-0.026018919423222542,
-0.009662856347858906
] |
21,581 | delorean.dates | __sub__ | null | def __sub__(self, other):
if isinstance(other, timedelta):
dt = self._dt - other
return Delorean(datetime=dt, timezone=self.timezone)
elif isinstance(other, Delorean):
return self._dt - other._dt
else:
raise TypeError("Delorean objects can only be subtracted with timedelta or other Delorean objects")
| (self, other) | [
0.023899313062429428,
-0.01978798769414425,
0.02843964658677578,
0.02613372914493084,
-0.07479037344455719,
-0.06267090141773224,
0.004488941747695208,
0.02666998840868473,
0.022344158962368965,
-0.00697137787938118,
-0.001604310586117208,
-0.02493608184158802,
0.001184240449219942,
0.00024257377663161606,
-0.022165406495332718,
0.06156262755393982,
-0.04601109400391579,
0.04504582658410072,
-0.0023707153741270304,
-0.0036778487265110016,
0.009733115322887897,
-0.06485168635845184,
-0.027152622118592262,
0.015480033122003078,
-0.003704661503434181,
0.08058197796344757,
-0.03558977693319321,
0.00290250638499856,
-0.0014579563867300749,
-0.002489139325916767,
0.0022969795390963554,
0.025651095435023308,
-0.05126643925905228,
-0.007243976462632418,
-0.012968550436198711,
-0.013576311059296131,
-0.05162394419312477,
0.0452960804104805,
-0.038038697093725204,
0.08701709657907486,
0.0010110732400789857,
-0.06392217427492142,
0.04980066046118736,
0.039254218339920044,
0.030334429815411568,
-0.01572135090827942,
-0.04182826727628708,
-0.02665211260318756,
-0.009724178351461887,
0.02894015423953533,
0.014809709042310715,
0.015551534481346607,
0.03024505451321602,
0.028332393616437912,
-0.056629035621881485,
0.0313175730407238,
0.03301572799682617,
0.10045933723449707,
-0.05112343654036522,
0.020753255113959312,
-0.04397330433130264,
-0.009670551866292953,
-0.03299785405397415,
-0.03022717870771885,
-0.00983143039047718,
-0.020467249676585197,
-0.023380927741527557,
-0.016641929745674133,
0.015909042209386826,
0.06288540363311768,
0.0032242622692137957,
0.023434555158019066,
0.025686845183372498,
0.04354429617524147,
0.07865144312381744,
-0.013469059020280838,
0.02032424695789814,
-0.023094922304153442,
0.015220841392874718,
-0.04104175046086311,
-0.018223896622657776,
-0.03553615137934685,
-0.014300261624157429,
0.04955040663480759,
0.0462970994412899,
0.017768075689673424,
0.0065870583057403564,
-0.047870125621557236,
-0.0008217064314521849,
-0.011922843754291534,
-0.026026476174592972,
-0.04876389354467392,
-0.027170497924089432,
-0.02729562483727932,
-0.0019338870188221335,
0.008580157533288002,
-0.04801312834024429,
-0.003800741396844387,
-0.019269602373242378,
-0.012360788881778717,
0.08766060322523117,
0.033498365432024,
-0.03600091114640236,
-0.016615116968750954,
0.04590383917093277,
0.010778822004795074,
0.018804844468832016,
-0.03659079596400261,
-0.0026321420446038246,
0.010081684216856956,
-0.037466686218976974,
0.09202218800783157,
-0.05394773930311203,
0.011440209113061428,
-0.011717277579009533,
-0.01859034039080143,
-0.027438627555966377,
-0.013844440691173077,
-0.026544861495494843,
0.015855414792895317,
0.001636709668673575,
0.028654150664806366,
0.03996923193335533,
0.03932572156190872,
-0.0023550742771476507,
0.00867847166955471,
-0.017276503145694733,
-0.028171515092253685,
0.033391110599040985,
0.0025338276755064726,
0.023506054654717445,
0.003532611532136798,
-0.04583233967423439,
0.03310510516166687,
0.015363844111561775,
0.018447337672114372,
0.09709877520799637,
0.05798756331205368,
-0.021647021174430847,
0.01620398461818695,
0.04812038317322731,
0.0007178061059676111,
0.07039304077625275,
0.02958366647362709,
-0.057093795388936996,
-0.015149340033531189,
-0.06503044068813324,
0.006493212655186653,
-0.04887114465236664,
0.053733233362436295,
-0.050193920731544495,
0.006153581663966179,
0.0237384345382452,
-0.041435010731220245,
0.024167442694306374,
-0.036376290023326874,
-0.03365924209356308,
0.003525908337906003,
-0.031585704535245895,
0.024828828871250153,
-0.03607241064310074,
0.04601109400391579,
-0.029726669192314148,
-0.006502150557935238,
0.02100350894033909,
-0.030030550435185432,
0.11354407668113708,
-0.022290533408522606,
-0.02093200758099556,
0.055377762764692307,
0.042614780366420746,
-0.02961941808462143,
0.00247796718031168,
0.03946872428059578,
-0.06570970267057419,
-0.03535739704966545,
0.04475982114672661,
0.009438172914087772,
-0.0173837561160326,
-0.008575688116252422,
0.03886096179485321,
0.003409718628972769,
-0.04526032879948616,
0.0017763606738299131,
0.018929971382021904,
-0.0555565170943737,
-0.03373074159026146,
0.04944315552711487,
0.03382011875510216,
0.002634376287460327,
-0.001522754435427487,
0.0013652280904352665,
-0.014058944769203663,
-0.026240980252623558,
-0.030888564884662628,
-0.00991186872124672,
-0.052052952349185944,
0.013585248962044716,
0.01041237823665142,
0.051302190870046616,
-0.10010183602571487,
0.04751262068748474,
-0.005045311059802771,
-0.09252269566059113,
0.02958366647362709,
0.02545446716248989,
-0.03864645957946777,
-0.014818646013736725,
-0.03126394748687744,
-0.05401923879981041,
0.007494231220334768,
-0.005349191837012768,
0.05752280354499817,
-0.035804279148578644,
0.0372164323925972,
-0.030495308339595795,
-0.03387374430894852,
-0.04636859893798828,
0.036894675344228745,
0.015614098869264126,
0.04365155100822449,
-0.0452960804104805,
-0.03943297266960144,
-0.015953728929162025,
0.02212965488433838,
-0.010832448489964008,
-0.0006105541251599789,
-0.003226496512070298,
-0.0037404121831059456,
-0.07336034625768661,
0.011654713191092014,
-0.023327302187681198,
-0.026473360136151314,
-0.05405499041080475,
0.04114900529384613,
0.039718978106975555,
-0.04572508856654167,
-0.02434619516134262,
-0.04540333151817322,
0.006265302188694477,
0.006377023179084063,
-0.05405499041080475,
0.01071625854820013,
0.04279353469610214,
-0.023112798109650612,
-0.040934499353170395,
0.004196233116090298,
0.038682207465171814,
-0.03548252582550049,
0.038539204746484756,
-0.0007250679773278534,
-0.06338591128587723,
-0.009527549147605896,
0.06588845700025558,
-0.02082475647330284,
-0.02035999856889248,
0.007328884210437536,
-0.07714991271495819,
0.016373800113797188,
0.006077611353248358,
0.020735379308462143,
-0.03501776605844498,
-0.03421337530016899,
-0.024793079122900963,
-0.04458106681704521,
0.04179251566529274,
-0.016373800113797188,
-0.01859034039080143,
0.005210658069700003,
-0.003029868006706238,
0.025811972096562386,
-0.07025003433227539,
-0.007235038559883833,
-0.012879173271358013,
-0.056021276861429214,
0.01741056889295578,
-0.027152622118592262,
-0.028153641149401665,
-0.030548933893442154,
-0.04719086363911629,
-0.03775269165635109,
-0.015033150091767311,
-0.056521784514188766,
-0.03989773243665695,
-0.07393235713243484,
-0.013889129273593426,
0.0024087002966552973,
-0.0005513421492651105,
-0.006582589354366064,
0.0243283212184906,
-0.0015171683626249433,
-0.015390656888484955,
0.03011992760002613,
0.018429461866617203,
0.011386583559215069,
0.05569951981306076,
-0.02488245628774166,
-0.034499380737543106,
0.0395759753882885,
0.03596515953540802,
-0.02314854972064495,
-0.004339235834777355,
-0.05959634110331535,
0.010054871439933777,
-0.06928476691246033,
-0.021289514377713203,
0.06785473972558975,
0.04869239032268524,
0.04347279667854309,
0.006448524538427591,
0.008012615144252777,
-0.024024439975619316,
-0.01281660981476307,
0.05012241750955582,
0.008910850621759892,
0.03553615137934685,
0.005125750321894884,
-0.0019093083683401346,
0.02661636285483837,
0.09130717068910599,
-0.008624845184385777,
-0.020145494490861893,
-0.003883414901793003,
0.0452960804104805,
0.057737305760383606,
-0.04815613105893135,
-0.04522457718849182,
0.036215413361787796,
0.06209888681769371,
0.059524841606616974,
-0.061812881380319595,
-0.02506120875477791,
0.05841657146811485,
-0.031639330089092255,
-0.012888111174106598,
0.0005267635569907725,
0.04590383917093277,
0.04454531520605087,
-0.008012615144252777,
0.04200701788067818,
0.041435010731220245,
0.02608010359108448,
-0.03650141879916191,
-0.012485915794968605,
0.027563754469156265,
-0.005599446129053831,
-0.01339755766093731,
-0.015819665044546127,
0.08794660866260529,
0.04515307769179344,
-0.042722031474113464,
0.04987216368317604,
0.01017999928444624,
0.016346987336874008,
0.014979524537920952,
-0.014961648732423782,
-0.017741262912750244,
-0.013361806981265545,
-0.02025274559855461,
-0.08287002146244049,
-0.018965722993016243,
0.018375836312770844,
0.017544634640216827,
-0.0395759753882885,
-0.05566376820206642,
-0.06678222119808197,
-0.024203192442655563,
-0.05216020718216896,
-0.038539204746484756,
-0.02961941808462143,
-0.02899378165602684,
0.03551827371120453,
0.04114900529384613,
-0.05612852796912193,
0.013781877234578133,
-0.026491235941648483,
0.02202240377664566,
0.06721123307943344,
-0.03589365631341934,
0.05512750893831253,
0.04801312834024429,
0.03355199098587036,
-0.07428985834121704,
0.057236798107624054,
0.023684808984398842,
0.02842177078127861,
-0.02388143725693226,
-0.013737188652157784,
0.05630728229880333,
0.020985634997487068,
-0.008249463513493538,
-0.05391198769211769,
0.0008379059727303684,
0.03814594820141792,
-0.03807444870471954,
-0.010242562741041183,
-0.046761855483055115,
-0.029476415365934372,
-0.013218804262578487,
0.021700646728277206,
0.04132775589823723,
0.036858923733234406,
-0.021933026611804962,
0.05276796594262123,
0.040827248245477676,
0.006059736013412476,
0.05505600944161415,
0.040934499353170395,
-0.05677203834056854,
0.043222542852163315,
-0.004424143582582474,
-0.08036747574806213,
-0.04465256631374359,
0.04976491257548332,
-0.0013082504738122225,
-0.0393972210586071,
-0.036858923733234406,
-0.010001245886087418,
0.0336771160364151,
-0.04704786092042923,
-0.004352642223238945,
-0.014416451565921307,
0.004410737194120884,
-0.08472905308008194,
0.00874550361186266,
0.022862544283270836,
-0.007025003898888826,
0.02777825854718685,
-0.03864645957946777,
-0.004091215785592794,
0.050265420228242874,
-0.019627109169960022,
0.019537732005119324,
-0.024095941334962845,
0.09230819344520569,
0.015792852267622948,
0.012655732221901417,
-0.032104089856147766,
0.03294422850012779,
0.061920132488012314,
0.03185383230447769,
0.0066496217623353004,
0.04586809128522873,
-0.0015551535179838538,
-0.046654604375362396,
-0.014952711760997772,
0.03414187580347061,
-0.012432290241122246,
0.03373074159026146,
-0.04343704506754875,
0.06638896465301514,
0.028010638430714607,
0.03362349048256874,
-0.029869671911001205,
-0.026437608525156975,
-0.08744610100984573,
-0.02379206009209156,
0.0002839104854501784,
-0.014362826012074947,
0.021343141794204712,
-0.018894221633672714,
0.0191087257117033,
-0.036787424236536026,
-0.0010792228858917952,
-0.014863334596157074,
0.03433850407600403,
0.044438064098358154,
-0.028600523248314857,
-0.013299243524670601,
0.005349191837012768,
0.014327075332403183,
-0.03900396451354027,
-0.025919225066900253,
-0.00867847166955471,
-0.02032424695789814,
0.035804279148578644,
-0.007529981900006533,
-0.016025230288505554,
-0.002965069841593504,
0.008951069787144661,
0.04129200801253319,
0.011404458433389664,
-0.01535490620881319,
-0.02777825854718685,
0.01214628480374813,
-0.043294042348861694,
-0.028207266703248024,
0.03936146944761276,
0.005586039740592241,
0.018268585205078125,
-0.029315536841750145,
-0.0008563399314880371,
-0.03356986492872238,
0.010376627556979656,
-0.003306935541331768,
-0.009044915437698364,
-0.026330357417464256,
-0.0032466063275933266,
0.03355199098587036,
-0.01306686457246542,
-0.013209867291152477,
0.021146511659026146,
0.01853671483695507,
-0.007181413006037474,
-0.009893993847072124,
0.019323229789733887,
0.011055889539420605,
0.024095941334962845,
-0.016972623765468597,
0.009893993847072124,
-0.01337074488401413,
0.02266591601073742,
0.05923883616924286,
0.05005091801285744,
0.0035527213476598263,
0.015882227569818497,
-0.018197083845734596,
0.03541102260351181,
0.0347675122320652,
-0.021611271426081657,
0.016427425667643547,
0.032211340963840485,
-0.011994345113635063,
-0.03932572156190872,
0.014738207682967186,
-0.006707716733217239,
-0.06899876147508621,
-0.009170043282210827,
0.036823175847530365,
-0.022183280438184738,
-0.01691005937755108,
-0.08372803032398224,
-0.009938682429492474,
0.005188313778489828,
0.004580552689731121,
0.03785994276404381,
-0.11054102331399918,
-0.015819665044546127,
-0.03893246129155159,
0.030405931174755096,
-0.007690859492868185,
0.0161592960357666,
0.01853671483695507,
0.008267339318990707,
-0.0658169537782669,
0.04007648304104805,
-0.008866162039339542,
0.04018373787403107,
-0.009634801186621189,
0.08916213363409042,
-0.015068900771439075,
-0.024650076404213905,
0.058380819857120514,
0.06671072542667389,
-0.022362034767866135,
0.03648354485630989,
-0.0520172044634819,
0.013719313777983189,
0.07886594533920288,
0.04179251566529274,
0.013719313777983189,
-0.0006781452102586627,
0.08508656173944473,
0.06692522764205933,
-0.020073993131518364,
-0.004920183680951595,
0.027385002002120018,
0.05788030847907066,
-0.023631183430552483,
0.007610420696437359,
-0.024507073685526848,
-0.0009876118274405599,
-0.03378436714410782,
-0.0019316525431349874,
-0.02320217527449131,
0.037395186722278595,
-0.016552552580833435,
0.005036373622715473,
-0.0048754955641925335,
0.008647189475595951,
-0.054805755615234375,
-0.015801789239048958,
-0.021128637716174126,
-0.04661885276436806,
-0.03078131377696991,
0.0013853379059582949,
0.019895238801836967,
-0.024507073685526848,
0.04801312834024429,
0.001968520460650325,
0.005796074867248535,
-0.02329155243933201,
0.004540333058685064,
0.025311464443802834,
-0.013817627914249897,
-0.050730179995298386,
0.007597014307975769,
-0.016025230288505554,
-0.03807444870471954,
0.017562508583068848,
0.022934045642614365,
-0.05687929317355156,
0.04050549119710922,
0.00023293786216527224,
0.010930762626230717,
0.05115918815135956,
-0.01682962104678154,
-0.06495893746614456,
-0.03610816225409508,
-0.04447381570935249,
0.027063244953751564,
0.030960066244006157,
0.023452429100871086,
-0.008365653455257416,
0.05559226870536804,
-0.06274239718914032,
-0.0024757329374551773,
-0.009742053225636482,
-0.07150130718946457,
0.025668969377875328,
-0.031585704535245895,
0.049657657742500305,
-0.02436407096683979,
0.03696617856621742,
-0.05970359221100807,
-0.016391675919294357,
0.023059172555804253,
-0.02847539633512497,
0.021933026611804962,
-0.025311464443802834,
0.022898294031620026,
0.031120944768190384,
-0.012539542280137539,
-0.02379206009209156,
-0.05820206552743912,
-0.01623079739511013,
0.0020288496743887663,
0.012414414435625076,
0.03247946873307228,
0.015408532693982124,
0.0324079692363739,
-0.0008596915286034346,
-0.019001472741365433,
0.046761855483055115,
-0.09988732635974884,
-0.05047992616891861,
-0.030870690941810608,
-0.05044417455792427,
-0.04118475317955017,
0.012021157890558243,
-0.002918147249147296,
0.04686911031603813,
0.003988432232290506,
-0.0025673438794910908,
-0.06506618857383728,
-0.02027062140405178,
0.033998873084783554,
0.023041296750307083,
0.04104175046086311,
0.033444736152887344,
0.06338591128587723,
-0.02724199928343296,
-0.0290474072098732,
-0.03660866990685463,
0.06134812533855438,
0.00902704056352377,
0.036930426955223083,
0.014487952925264835,
0.016016293317079544,
-0.003072321880608797,
0.012360788881778717,
-0.012074783444404602,
0.001943941810168326,
0.012807671912014484,
-0.006309990771114826,
-0.04533183202147484,
0.0058943890035152435,
0.01923385262489319,
0.03946872428059578,
-0.009679489769041538,
-0.005903326906263828,
0.04940740391612053,
-0.002594156889244914,
-0.02034212276339531,
-0.0037649909500032663,
0.04579658806324005,
-0.01569453813135624,
-0.008446091786026955,
0.022862544283270836,
-0.03180020675063133,
0.05641453340649605,
-0.012700419872999191,
-0.04740536957979202,
-0.019466230645775795,
0.039254218339920044,
0.015435345470905304,
-0.04536757990717888,
-0.004370517563074827,
-0.07057179510593414,
0.03330173343420029,
0.012253536842763424,
0.020485125482082367,
0.05294672027230263,
0.025222087278962135,
0.0015350437024608254,
0.0040644025430083275,
-0.014514765702188015,
0.013379682786762714,
0.08887612819671631,
-0.052517712116241455,
0.008960007689893246,
0.06549520045518875,
0.03986198082566261,
-0.05913158133625984,
0.03078131377696991,
0.00254499982111156,
0.0325867235660553,
0.04372305050492287,
-0.012226724065840244,
0.06056160852313042,
-0.04279353469610214,
-0.009321982972323895,
0.08651658147573471,
0.03306935727596283,
-0.0064663998782634735,
0.005666479002684355,
0.04218577221035957,
-0.056092776358127594,
-0.028815027326345444,
-0.026473360136151314,
-0.024596450850367546,
0.06370766460895538,
0.06921327114105225,
-0.026348233222961426,
-0.005501131992787123,
0.021343141794204712,
-0.05577102303504944,
0.008924257010221481,
0.05620003119111061,
0.07157281041145325,
0.01623079739511013,
0.018375836312770844,
0.006064204964786768,
0.020610252395272255,
-0.00783386267721653,
-0.012593167833983898,
-0.06974952667951584,
0.022379910573363304,
-0.01281660981476307,
-0.009500736370682716,
-0.018876345828175545,
-0.03893246129155159,
-0.02441769652068615,
0.011189955286681652,
0.01367462519556284,
0.010287251323461533,
-0.019251728430390358,
-0.018322210758924484,
-0.03256884589791298,
-0.02550809271633625,
-0.0068775322288274765,
0.014157258905470371,
-0.006703247781842947,
0.05030117183923721,
-0.01106482744216919,
0.03757393732666969,
-0.008785723708570004,
0.028314517810940742
] |
21,582 | delorean.dates | _shift_date |
Shift datetime in `direction` in _VALID_SHIFT_DIRECTIONS and by some
unit in _VALID_SHIFTS and shift that amount by some multiple,
defined by by args[0] if it exists
| def _shift_date(self, direction, unit, *args):
"""
Shift datetime in `direction` in _VALID_SHIFT_DIRECTIONS and by some
unit in _VALID_SHIFTS and shift that amount by some multiple,
defined by by args[0] if it exists
"""
this_module = sys.modules[__name__]
num_shifts = 1
if len(args) > 0:
num_shifts = int(args[0])
if unit in ['monday', 'tuesday', 'wednesday', 'thursday', 'friday',
'saturday', 'sunday']:
shift_func = move_datetime_namedday
dt = shift_func(self._dt, direction, unit)
if num_shifts > 1:
for n in range(num_shifts - 1):
dt = shift_func(dt, direction, unit)
else:
shift_func = getattr(this_module, 'move_datetime_%s' % unit)
dt = shift_func(self._dt, direction, num_shifts)
return Delorean(datetime=dt.replace(tzinfo=None), timezone=self.timezone)
| (self, direction, unit, *args) | [
-0.012394341640174389,
0.06010875478386879,
0.01691865734755993,
0.018914679065346718,
-0.06470911204814911,
-0.05429178103804588,
-0.05972856283187866,
0.04976746439933777,
-0.02136693336069584,
-0.008791998960077763,
0.006948055233806372,
0.004483919125050306,
0.0516304187476635,
0.028020337224006653,
0.030928825959563255,
0.05193457379937172,
0.011966623365879059,
0.048398762941360474,
-0.030738728120923042,
0.005142131354659796,
0.05406366288661957,
-0.042695846408605576,
0.04775243252515793,
-0.005379752721637487,
-0.0076704248785972595,
0.060907166451215744,
-0.02999734878540039,
0.027050841599702835,
-0.016842618584632874,
-0.0458894819021225,
0.008635168895125389,
0.03743015229701996,
-0.02469363436102867,
-0.01047435961663723,
0.023743148893117905,
-0.021842176094651222,
-0.04007250443100929,
0.002516412641853094,
-0.06037489324808121,
0.038969941437244415,
0.06759858876466751,
0.007527851965278387,
0.07516445964574814,
-0.0034716513473540545,
-0.024750664830207825,
-0.023990275338292122,
-0.012004642747342587,
-0.02423740178346634,
-0.028096375986933708,
0.020207339897751808,
0.013867596164345741,
-0.007812997326254845,
0.0602608360350132,
-0.0501856803894043,
0.02111980691552162,
0.03672679141163826,
0.022773653268814087,
0.04429266229271889,
0.0365937240421772,
-0.021842176094651222,
0.00036742238444276154,
0.02539699524641037,
0.04250574856996536,
0.050413794815540314,
-0.009685455821454525,
-0.024294430390000343,
-0.02353404276072979,
-0.06858709454536438,
0.00581697653979063,
0.02783023938536644,
-0.03916003555059433,
0.036061450839042664,
0.020758621394634247,
-0.0014494917122647166,
0.03203139081597328,
0.06345447152853012,
-0.053759507834911346,
-0.08151371031999588,
0.05440583825111389,
-0.018173299729824066,
-0.0280013270676136,
-0.005788461770862341,
-0.05797966569662094,
0.04128912836313248,
0.01770756021142006,
0.03096684440970421,
-0.0010758317075669765,
0.00301304180175066,
0.022032273933291435,
-0.03826658055186272,
-0.02207029238343239,
-0.04360831528902054,
-0.01441887766122818,
0.00297739845700562,
-0.017764590680599213,
0.0631122961640358,
-0.0015279067447409034,
-0.0487409383058548,
-0.0745561495423317,
0.04577542096376419,
0.02539699524641037,
-0.018696065992116928,
0.030206456780433655,
-0.015597481280565262,
0.01670004427433014,
-0.022317418828606606,
-0.03071971796452999,
-0.021423961967229843,
-0.07254111766815186,
-0.046003539115190506,
-0.023172857239842415,
-0.03689787909388542,
-0.03473076969385147,
-0.018829135224223137,
0.0014958279207348824,
-0.01932338811457157,
0.020131301134824753,
-0.016557471826672554,
0.01441887766122818,
0.0016502819489687681,
0.006016578525304794,
-0.029103891924023628,
0.0222603902220726,
-0.0008560317801311612,
0.026917772367596626,
-0.009742485359311104,
0.03227851539850235,
0.020701592788100243,
0.05140230059623718,
0.01170048676431179,
-0.010436340235173702,
0.0037948167882859707,
-0.07227498292922974,
0.01888616383075714,
0.02570115029811859,
0.032791778445243835,
0.030795756727457047,
0.0402245819568634,
-0.02697480283677578,
0.01950397901237011,
0.016091734170913696,
0.00003074229243793525,
0.06231388449668884,
0.06353050470352173,
-0.00013611261965706944,
0.01348740141838789,
0.016329355537891388,
0.06356852501630783,
-0.029312998056411743,
0.06296021491289139,
0.016139257699251175,
-0.0066153849475085735,
0.0025615605991333723,
0.0074328030459582806,
-0.006586870178580284,
0.004928271751850843,
-0.03243059292435646,
0.012869585305452347,
-0.04604155942797661,
0.042125556617975235,
-0.030605660751461983,
-0.04577542096376419,
-0.05900619179010391,
0.022279400378465652,
0.042277634143829346,
-0.02598629705607891,
0.04820866882801056,
0.017583997920155525,
0.03817152976989746,
0.037829358130693436,
0.03539611026644707,
0.027868259698152542,
0.04634571447968483,
-0.023933246731758118,
-0.03435057774186134,
-0.011481874622404575,
-0.005275199189782143,
-0.009286251850426197,
-0.03125198930501938,
-0.05060389265418053,
0.026480549946427345,
0.02269761450588703,
-0.06778868287801743,
-0.010911582969129086,
-0.026233423501253128,
0.0026375995948910713,
-0.040414679795503616,
0.02969319373369217,
0.028894785791635513,
0.012907604686915874,
0.016890142112970352,
0.030890805646777153,
0.0574473962187767,
-0.008649425581097603,
-0.03661273419857025,
-0.020302388817071915,
-0.052010614424943924,
0.02524491772055626,
0.0265185683965683,
0.025663131847977638,
-0.03184129297733307,
0.0817418247461319,
0.05033775791525841,
-0.022127322852611542,
0.07683731615543365,
0.035947393625974655,
-0.004788075108081102,
-0.018391910940408707,
-0.06771264970302582,
-0.062465962022542953,
0.07653316110372543,
-0.015597481280565262,
0.02982626110315323,
-0.007998342625796795,
-0.0023512656334787607,
-0.023153847083449364,
0.006876768544316292,
-0.01621529646217823,
0.0025377986021339893,
0.012356322258710861,
-0.024997791275382042,
0.05927233025431633,
-0.06767462939023972,
-0.06999381631612778,
0.09109461307525635,
-0.04330415651202202,
0.00912466924637556,
-0.05299912020564079,
-0.009010610170662403,
-0.060641027987003326,
-0.01564500480890274,
-0.08539169281721115,
-0.03817152976989746,
-0.055166225880384445,
0.07014589011669159,
-0.037981435656547546,
-0.032525643706321716,
-0.06672414392232895,
0.02053050510585308,
0.04170734062790871,
-0.02265959419310093,
0.009129421785473824,
0.018372900784015656,
0.010578912682831287,
0.07056410610675812,
-0.008003095164895058,
-0.02096772938966751,
0.03231653571128845,
0.009661694057285786,
0.04258178919553757,
0.014399868436157703,
-0.03387533500790596,
-0.03241158276796341,
0.028951814398169518,
-0.0017750333063304424,
0.017574492841959,
0.0208156518638134,
-0.013515915721654892,
0.011957118287682533,
0.0055603450164198875,
0.005123121198266745,
-0.04231565073132515,
-0.03916003555059433,
-0.086152084171772,
-0.045585326850414276,
0.002806311007589102,
-0.007751216180622578,
-0.005432029254734516,
-0.0021409704349935055,
0.013088196516036987,
0.07052608579397202,
0.016291335225105286,
-0.035681258887052536,
0.028932804241776466,
-0.022336428984999657,
0.026613617315888405,
0.01755548268556595,
-0.02438947930932045,
-0.006510831415653229,
-0.03414146974682808,
0.032772768288850784,
0.014742042869329453,
-0.021176835522055626,
0.03720203414559364,
-0.09596110135316849,
-0.006334991659969091,
0.027659151703119278,
0.04414058476686478,
0.03140407055616379,
0.04189743846654892,
0.031366050243377686,
0.013867596164345741,
0.039654288440942764,
-0.0559646375477314,
-0.031632184982299805,
0.029065871611237526,
-0.020036252215504646,
-0.02940804697573185,
0.024788683280348778,
0.0034074934665113688,
-0.03849469870328903,
-0.009980106726288795,
0.011567418463528156,
0.027602123096585274,
-0.035529181361198425,
-0.033209994435310364,
0.04090893268585205,
0.002314434153959155,
-0.0323355458676815,
-0.03699292987585068,
-0.0016633510822430253,
-0.03389434143900871,
-0.02927497960627079,
-0.03691688925027847,
-0.00924823246896267,
-0.08493545651435852,
0.027735192328691483,
0.07204686850309372,
0.020625554025173187,
0.09269142895936966,
-0.03632758930325508,
0.0011483062990009785,
0.005693413317203522,
0.014723033644258976,
0.019694076851010323,
0.03260168060660362,
-0.002051862422376871,
0.02868567779660225,
0.032525643706321716,
0.05794164910912514,
-0.05672502517700195,
-0.022127322852611542,
0.02281167171895504,
0.028875775635242462,
-0.0030510611832141876,
-0.01549292728304863,
-0.0002964329323731363,
-0.06429089605808258,
0.008696950040757656,
-0.0013318690471351147,
0.0703359916806221,
0.055622462183237076,
-0.06010875478386879,
-0.05147834122180939,
0.034065429121255875,
0.011158709414303303,
0.00857813935726881,
0.06117330119013786,
0.05326525494456291,
0.06402476131916046,
0.044710878282785416,
0.019694076851010323,
-0.03039655275642872,
-0.03130901977419853,
-0.0030748234130442142,
0.01777409389615059,
0.04330415651202202,
-0.01750795915722847,
0.014704023487865925,
-0.07071618735790253,
0.012318302877247334,
-0.021005747839808464,
0.02326790615916252,
0.025187887251377106,
-0.03256366401910782,
-0.051288243383169174,
-0.04231565073132515,
-0.022583555430173874,
0.05512820929288864,
0.004571839235723019,
-0.012650973163545132,
0.010635942220687866,
0.04201149567961693,
-0.033666227012872696,
0.003849469590932131,
0.02840053290128708,
0.05140230059623718,
0.04703006520867348,
-0.06402476131916046,
-0.0012077117571607232,
0.01824933849275112,
-0.00513262627646327,
0.008316755294799805,
0.07501238584518433,
0.07474624365568161,
0.002675618976354599,
0.09732980281114578,
0.06250397861003876,
-0.0020827532280236483,
-0.061477456241846085,
-0.02007427252829075,
-0.04364633187651634,
0.0574473962187767,
0.020454466342926025,
0.006392020732164383,
-0.055736519396305084,
-0.012574934400618076,
0.03813351318240166,
-0.05851193889975548,
0.004272436257451773,
0.06702829897403717,
-0.012793546542525291,
-0.016034703701734543,
0.03476879000663757,
0.004635997116565704,
0.009053382091224194,
-0.026290452107787132,
0.0053464858792722225,
-0.06911936402320862,
0.027354996651411057,
-0.020549515262246132,
-0.025035809725522995,
-0.03170822560787201,
-0.04003448411822319,
0.011320292018353939,
0.00276116281747818,
-0.07269319891929626,
-0.011567418463528156,
0.04193545877933502,
-0.029503095895051956,
0.007180924527347088,
-0.056915123015642166,
-0.000883952307049185,
0.01748894900083542,
0.0251308586448431,
-0.030681699514389038,
0.03184129297733307,
0.006430040113627911,
-0.06223784759640694,
0.043570294976234436,
0.0473722405731678,
0.02283068187534809,
-0.032943855971097946,
0.00032821480999700725,
0.06375862658023834,
0.01549292728304863,
-0.003711649216711521,
0.015816092491149902,
-0.004388870671391487,
0.03646065667271614,
-0.021347923204302788,
-0.004148873034864664,
0.02940804697573185,
-0.03313395380973816,
-0.028590628877282143,
-0.034369587898254395,
0.015445402823388577,
-0.015369364060461521,
-0.04851282387971878,
-0.008359527215361595,
0.042809903621673584,
0.06098320335149765,
-0.0016633510822430253,
-0.011881079524755478,
-0.0030011606868356466,
-0.08257825672626495,
-0.033932361751794815,
-0.019190318882465363,
0.0001794042909750715,
-0.019465960562229156,
0.05220070853829384,
-0.06946153938770294,
-0.0002916805096901953,
0.04763837531208992,
0.008307250216603279,
0.046992044895887375,
-0.05866401642560959,
-0.0028134395834058523,
-0.037943415343761444,
-0.03617551177740097,
0.029160920530557632,
-0.022602565586566925,
-0.004172635264694691,
0.032962866127491,
-0.0061639039777219296,
-0.015882626175880432,
-0.041137050837278366,
-0.0251308586448431,
0.01519827637821436,
-0.025606101378798485,
-0.004360355902463198,
-0.037658270448446274,
0.0688532292842865,
0.000699201540555805,
-0.020891690626740456,
-0.03632758930325508,
0.019465960562229156,
-0.027488065883517265,
0.0036665010266005993,
0.00181305268779397,
-0.0013687002938240767,
0.03132802993059158,
-0.011016136966645718,
-0.003293435089290142,
0.03381830453872681,
-0.011681477539241314,
-0.07870026677846909,
-0.031632184982299805,
0.0011791971046477556,
-0.029503095895051956,
-0.000974248512648046,
0.050033602863550186,
0.01462798472493887,
0.006757957860827446,
0.01571153849363327,
0.011681477539241314,
0.020986737683415413,
-0.010027631185948849,
0.005365495570003986,
-0.05341733247041702,
0.027221929281949997,
0.015027188695967197,
0.016205791383981705,
0.0337042473256588,
-0.005417772103101015,
-0.007803492713719606,
0.0029845270328223705,
0.04090893268585205,
-0.02456056699156761,
0.01599668525159359,
0.04463483765721321,
-0.04467285796999931,
-0.0038328361697494984,
0.009642683900892735,
-0.007941313087940216,
0.026746686547994614,
-0.00026895792689174414,
-0.016928162425756454,
0.033381082117557526,
0.010911582969129086,
-0.027659151703119278,
-0.0012285036500543356,
-0.0046573830768466,
0.03157515451312065,
0.07809195667505264,
0.018829135224223137,
-0.08295844495296478,
0.01713726855814457,
-0.010512378998100758,
-0.004082338884472847,
-0.015958664938807487,
-0.021043768152594566,
-0.033913351595401764,
0.019009726122021675,
-0.029351018369197845,
0.029236959293484688,
0.03642263635993004,
-0.014580460265278816,
-0.011767021380364895,
0.0021041391883045435,
-0.11162511259317398,
-0.032620690762996674,
0.01634836569428444,
0.07634305953979492,
-0.004407880362123251,
-0.007941313087940216,
0.013601459562778473,
0.020188329741358757,
0.0044649094343185425,
0.03634659945964813,
-0.018810125067830086,
0.041251108050346375,
0.0818939059972763,
-0.013506410643458366,
-0.059462424367666245,
-0.00818368699401617,
0.036232538521289825,
-0.004861737601459026,
-0.037810347974300385,
0.03227851539850235,
-0.04064279794692993,
-0.013753537088632584,
-0.013268789276480675,
-0.008226458914577961,
-0.050413794815540314,
0.02237444929778576,
0.023153847083449364,
-0.03790539503097534,
0.011063661426305771,
-0.04071883484721184,
-0.04661184921860695,
-0.022013263776898384,
0.005940539762377739,
-0.08455526828765869,
-0.05121220275759697,
-0.013563440181314945,
0.008145667612552643,
-0.03703094646334648,
0.02111980691552162,
-0.008901304565370083,
0.008416556753218174,
-0.020758621394634247,
-0.02111980691552162,
0.03931211680173874,
0.023153847083449364,
-0.04866490140557289,
-0.05524226650595665,
-0.01785963773727417,
0.027202919125556946,
-0.013525420799851418,
0.015008179470896721,
-0.02355305105447769,
0.045129090547561646,
0.044862955808639526,
0.016994696110486984,
0.04664986953139305,
-0.004388870671391487,
-0.03786737471818924,
-0.04531918838620186,
-0.027431035414338112,
0.006273210048675537,
0.002706509782001376,
0.06835898011922836,
0.03857073560357094,
-0.02454155683517456,
-0.01842992939054966,
-0.02151901088654995,
-0.010807029902935028,
-0.020416446030139923,
-0.07189478725194931,
-0.07524050027132034,
0.03412245959043503,
-0.015378869138658047,
-0.015236295759677887,
-0.012375332415103912,
-0.01062643714249134,
0.011396331712603569,
-0.022013263776898384,
0.05493811145424843,
-0.02625243365764618,
0.0018094883998855948,
0.03718302398920059,
0.07999292761087418,
-0.08531565219163895,
-0.06394872069358826,
0.03127099946141243,
-0.0445207804441452,
-0.046117596328258514,
-0.02813439629971981,
-0.06124934181571007,
0.043076042085886,
0.05090804770588875,
0.03516799584031105,
-0.0019282991997897625,
-0.08311052620410919,
-0.009742485359311104,
0.02208930253982544,
-0.07250309735536575,
-0.032221488654613495,
-0.012071176432073116,
-0.020131301134824753,
0.04889301583170891,
-0.008112400770187378,
0.017450928688049316,
0.013097701594233513,
-0.024446507915854454,
0.014219275675714016,
-0.023990275338292122,
-0.009885057806968689,
-0.026423519477248192,
0.04824668541550636,
0.036232538521289825,
-0.02210831269621849,
-0.0036189767997711897,
-0.04760035499930382,
0.041099030524492264,
0.029940320178866386,
-0.01591114141047001,
0.017384395003318787,
-0.02469363436102867,
-0.01691865734755993,
-0.041973475366830826,
0.06417683511972427,
-0.015017684549093246,
0.06584969162940979,
-0.04836074635386467,
0.028951814398169518,
0.04144120588898659,
-0.0003323731943964958,
-0.029446067288517952,
-0.06299823522567749,
0.008140916004776955,
0.009894562885165215,
0.00944308191537857,
-0.026328472420573235,
0.030776748433709145,
0.005650641396641731,
-0.0104078259319067,
-0.03246861323714256,
-0.03332405164837837,
0.09314766526222229,
0.047866493463516235,
-0.00912466924637556,
-0.013810566626489162,
0.011491379700601101,
-0.04121308773756027,
-0.0415932834148407,
-0.015084218233823776,
-0.013401857577264309,
-0.0024783930275589228,
0.032943855971097946,
-0.014818082563579082,
0.06330239027738571,
-0.005489058792591095,
0.00014368680422194302,
-0.033913351595401764,
0.00516114104539156,
0.024788683280348778,
0.047714415937662125,
0.01821131817996502,
0.051022108644247055,
0.0444827601313591,
0.03180327266454697,
0.0022217617370188236,
0.01298364344984293,
-0.06014677509665489,
-0.03455968201160431,
0.0315561480820179,
0.0022894840221852064,
0.0057456898503005505,
-0.014551945962011814,
0.020473476499319077,
-0.007242706138640642,
-0.04288594424724579,
-0.04676392674446106,
-0.04030062258243561,
-0.06379664689302444,
-0.010417330078780651,
-0.007485080044716597,
0.009367043152451515,
-0.009847038425505161,
0.01586361788213253,
0.0745561495423317,
0.05938638746738434,
0.062351904809474945,
0.026594607159495354,
-0.020055262371897697,
0.05706720054149628,
0.016310345381498337,
0.019751105457544327,
-0.03332405164837837,
0.020777631551027298,
0.0037092729471623898,
-0.043532274663448334,
-0.03999646380543709,
0.050147660076618195,
-0.029522106051445007,
0.0033148210495710373,
-0.007622900418937206,
-0.040262602269649506,
0.029046863317489624,
-0.06649602204561234,
-0.013002653606235981,
-0.04136516526341438,
0.021975243464112282,
-0.043266139924526215,
-0.0021314655896276236,
0.00133543333504349,
0.04235367104411125,
-0.0031199713703244925,
-0.02526392787694931,
-0.06520336121320724,
-0.012384837493300438,
0.008212202228605747,
0.05912024900317192,
-0.0034431368112564087,
0.0168521236628294,
0.036669764667749405
] |
21,583 | delorean.dates | format_datetime |
Return a date string formatted to the given pattern.
.. testsetup::
from delorean import Delorean
.. doctest::
>>> d = Delorean(datetime(2015, 1, 1, 12, 30), timezone='US/Pacific')
>>> d.format_datetime(locale='en_US')
u'Jan 1, 2015, 12:30:00 PM'
>>> d.format_datetime(format='long', locale='de_DE')
u'1. Januar 2015 12:30:00 -0800'
:param format: one of "full", "long", "medium", "short", or a custom datetime pattern
:param locale: a locale identifier
| def format_datetime(self, format='medium', locale='en_US'):
"""
Return a date string formatted to the given pattern.
.. testsetup::
from delorean import Delorean
.. doctest::
>>> d = Delorean(datetime(2015, 1, 1, 12, 30), timezone='US/Pacific')
>>> d.format_datetime(locale='en_US')
u'Jan 1, 2015, 12:30:00 PM'
>>> d.format_datetime(format='long', locale='de_DE')
u'1. Januar 2015 12:30:00 -0800'
:param format: one of "full", "long", "medium", "short", or a custom datetime pattern
:param locale: a locale identifier
"""
return format_datetime(self._dt, format=format, locale=locale)
| (self, format='medium', locale='en_US') | [
0.031245378777384758,
-0.013073020614683628,
0.04411786422133446,
0.04041272774338722,
-0.014448123052716255,
-0.051566336303949356,
0.007448470685631037,
0.022746482864022255,
0.0038698625285178423,
-0.0713525265455246,
-0.04297194629907608,
0.010953071527183056,
-0.04541657119989395,
-0.006546059623360634,
-0.008513219654560089,
0.02070292830467224,
-0.0517573207616806,
0.030405038967728615,
-0.01624339632689953,
0.053170621395111084,
0.030500533059239388,
-0.015469900332391262,
-0.02545849047601223,
-0.04778480529785156,
0.01200349722057581,
0.057143136858940125,
0.03903762623667717,
-0.03804449737071991,
0.02492372877895832,
-0.04152045026421547,
0.03531339019536972,
0.0752868503332138,
-0.0019146389095112681,
0.017035989090800285,
-0.019633404910564423,
-0.030405038967728615,
-0.02553488500416279,
0.0382927767932415,
-0.13078750669956207,
-0.009133925661444664,
-0.006775243673473597,
-0.00845592375844717,
0.049732863903045654,
-0.019022248685359955,
0.004237511195242405,
0.03888483718037605,
0.010618845000863075,
0.060046132653951645,
-0.07456110417842865,
0.010437408462166786,
0.016042860224843025,
0.049198102205991745,
-0.005266450811177492,
-0.029029937461018562,
-0.09809062629938126,
0.018458837643265724,
0.03474042937159538,
0.06711263209581375,
-0.013817868195474148,
-0.014085249044001102,
-0.05500409007072449,
-0.0036836506333202124,
0.024236178025603294,
0.04831956699490547,
-0.0713525265455246,
0.027826722711324692,
-0.02003447525203228,
-0.02918272651731968,
0.032639581710100174,
0.01540305558592081,
-0.006288228090852499,
-0.015508097596466541,
0.0029865503311157227,
-0.00989309698343277,
0.025076517835259438,
0.05244487151503563,
-0.046142321079969406,
-0.014047051779925823,
0.04736463353037834,
0.05794528126716614,
-0.0283614844083786,
-0.026337027549743652,
-0.015498548746109009,
-0.014810997061431408,
0.010255970992147923,
-0.05290323868393898,
-0.016262494027614594,
0.005796438083052635,
0.04236079007387161,
0.0026642605662345886,
0.0036693266592919827,
0.010418309830129147,
0.08265892416238785,
0.00985489971935749,
-0.016539424657821655,
0.01691184751689434,
-0.037490636110305786,
0.057143136858940125,
-0.04304834082722664,
0.03789170831441879,
0.0012402180582284927,
-0.062070589512586594,
-0.03233400359749794,
-0.01995808072388172,
-0.020340055227279663,
-0.04163504019379616,
0.01544125284999609,
0.02198253758251667,
0.0038197285030037165,
-0.0046433573588728905,
-0.05336160585284233,
-0.06294912844896317,
-0.01716013066470623,
0.0008827153942547739,
0.06550834327936172,
-0.010418309830129147,
0.030023066326975822,
0.006593806203454733,
0.008441600017249584,
-0.02591685764491558,
-0.03199022635817528,
0.02648981660604477,
-0.025267504155635834,
-0.051146164536476135,
0.09281940013170242,
-0.026795394718647003,
-0.0012843837030231953,
-0.041787829250097275,
0.07639457285404205,
0.017809484153985977,
-0.0019110579742118716,
0.07952674478292465,
0.03588635101914406,
-0.02450355887413025,
-0.0021092062816023827,
-0.03544707968831062,
-0.024236178025603294,
0.00799755658954382,
-0.03474042937159538,
0.11222362518310547,
-0.015689535066485405,
-0.08113103359937668,
-0.007835217751562595,
0.0022190234158188105,
-0.016357988119125366,
-0.04648609459400177,
-0.0020710090175271034,
-0.001946867909282446,
-0.017790386453270912,
0.06222337856888771,
0.014486320316791534,
0.01637708581984043,
0.027291961014270782,
0.026432521641254425,
-0.004070398397743702,
-0.039801571518182755,
-0.0008457117364741862,
0.04117667302489281,
-0.025687674060463905,
0.014791898429393768,
0.036592997610569,
0.031226281076669693,
0.019728897139430046,
0.06787657737731934,
0.014744152314960957,
0.05282684415578842,
0.027826722711324692,
-0.03283056616783142,
0.021046703681349754,
0.005108886864036322,
-0.009105278179049492,
-0.026757197454571724,
0.06019892171025276,
0.010399211198091507,
0.009683012031018734,
0.05947317183017731,
0.016997791826725006,
0.01864982396364212,
-0.019175037741661072,
-0.03237219899892807,
0.05282684415578842,
0.017962273210287094,
0.00189673388376832,
0.044194258749485016,
-0.007462794426828623,
0.06340749561786652,
-0.028495173901319504,
-0.03651660308241844,
-0.03504600748419762,
0.021715156733989716,
-0.019451966509222984,
0.0070473989471793175,
0.003650228027254343,
-0.0070808217860758305,
0.0012975140707567334,
0.01761849783360958,
-0.01577547937631607,
-0.0607718788087368,
0.039801571518182755,
0.058556437492370605,
-0.03642111271619797,
0.03347992151975632,
-0.0049322242848575115,
-0.03668849170207977,
0.05912939831614494,
0.062070589512586594,
-0.02041644975543022,
0.01939467154443264,
-0.08051987737417221,
-0.04488180950284004,
-0.024942826479673386,
-0.04885432869195938,
-0.0058823819272220135,
0.055156879127025604,
0.027712130919098854,
-0.013416795991361141,
-0.04343031346797943,
0.05145174264907837,
-0.06096286699175835,
0.003552347421646118,
-0.02102760598063469,
-0.034301161766052246,
-0.04977106302976608,
-0.03109258972108364,
0.05790708586573601,
0.003552347421646118,
0.03445395082235336,
-0.043812286108732224,
-0.03109258972108364,
-0.07058858126401901,
0.0093440106138587,
-0.05733412504196167,
0.01897450163960457,
0.024274375289678574,
0.04637150466442108,
-0.04392687603831291,
-0.026566211134195328,
-0.0011489026946946979,
0.030538730323314667,
0.039305005222558975,
0.018783515319228172,
0.0010080502834171057,
0.010170027613639832,
0.006627229042351246,
0.04285735264420509,
0.004342553671449423,
-0.03720415383577347,
-0.010618845000863075,
0.04213160648941994,
-0.035198796540498734,
-0.07085596024990082,
0.03248679265379906,
0.0009626909741200507,
-0.013216260820627213,
-0.04194061830639839,
-0.048625145107507706,
0.024274375289678574,
0.02479003742337227,
-0.04843415692448616,
-0.019375571981072426,
-0.004748399835079908,
-0.022097129374742508,
-0.03432026132941246,
-0.007271808106452227,
-0.009353560395538807,
-0.0005529653863050044,
0.014448123052716255,
-0.03225760906934738,
0.05034402012825012,
-0.031245378777384758,
0.035084206610918045,
0.06031351163983345,
-0.04511099308729172,
-0.021906143054366112,
-0.031608253717422485,
0.014744152314960957,
-0.011440087109804153,
-0.002931641647592187,
-0.020645633339881897,
-0.005753465928137302,
-0.023854205384850502,
-0.03361361101269722,
0.032066620886325836,
0.015689535066485405,
-0.05970235541462898,
-0.010513802990317345,
-0.027807623147964478,
0.04465262591838837,
-0.030252249911427498,
0.0449582040309906,
0.017255622893571854,
0.0004974599578417838,
0.013560036197304726,
-0.012920231558382511,
-0.031073492020368576,
-0.0033064524177461863,
0.009530222974717617,
-0.038598354905843735,
0.017608948051929474,
-0.02797951176762581,
-0.0614212341606617,
0.05912939831614494,
0.05775429680943489,
0.0017272335244342685,
-0.0449582040309906,
-0.02148597314953804,
0.015383956953883171,
-0.057639703154563904,
-0.02996576949954033,
-0.019366024062037468,
0.009047982282936573,
-0.024847334250807762,
0.038063593208789825,
0.0347595289349556,
-0.023243047297000885,
-0.006722722202539444,
-0.014973335899412632,
0.009496799670159817,
-0.004328229930251837,
-0.005285549443215132,
-0.01974799670279026,
0.040680110454559326,
0.05011483654379845,
0.02095121145248413,
0.060046132653951645,
-0.026184238493442535,
-0.02910633198916912,
0.023873303085565567,
0.019337374716997147,
0.076585553586483,
0.007806570269167423,
-0.006589031778275967,
-0.00674659525975585,
-0.03630651906132698,
-0.05912939831614494,
0.0019301566062495112,
0.021791551262140274,
-0.06539375334978104,
-0.035198796540498734,
0.012948879972100258,
0.06936626881361008,
0.04243718460202217,
-0.04534017667174339,
-0.004084722138941288,
0.015355308540165424,
0.011936651542782784,
0.00024634264991618693,
0.0031536633614450693,
-0.0035905446857213974,
0.005099337548017502,
0.005906254984438419,
0.005266450811177492,
-0.018181907013058662,
0.003552347421646118,
0.0009400112903676927,
-0.008551416918635368,
0.04281915724277496,
0.016186099499464035,
-0.03370910510420799,
0.039305005222558975,
-0.0029101555701345205,
0.002585478825494647,
0.02244090475142002,
-0.052559465169906616,
0.03712775930762291,
-0.012223131023347378,
0.013598233461380005,
0.002199924783781171,
0.035198796540498734,
-0.016119254752993584,
-0.040298134088516235,
0.024579953402280807,
0.026069646701216698,
-0.022154426202178,
-0.011039015837013721,
-0.035160601139068604,
-0.01612880453467369,
0.05542426183819771,
-0.07498127222061157,
0.024599051102995872,
0.0134931905195117,
-0.006861187517642975,
0.06191780045628548,
0.013092119246721268,
0.009286714717745781,
-0.03949599340558052,
0.04205521196126938,
-0.0049322242848575115,
-0.0790683776140213,
0.0022954181768000126,
-0.02885804884135723,
-0.06081007793545723,
0.027884017676115036,
0.019900785759091377,
-0.027597539126873016,
-0.03237219899892807,
-0.037280552089214325,
0.022631891071796417,
-0.02872435748577118,
-0.012175384908914566,
-0.0016042860224843025,
-0.02786491997539997,
-0.026279732584953308,
-0.02056923881173134,
-0.04465262591838837,
0.04343031346797943,
-0.008121698163449764,
0.053628988564014435,
-0.028208695352077484,
0.032639581710100174,
0.01035146415233612,
-0.010657042264938354,
-0.061115656048059464,
0.029411910101771355,
0.03871294856071472,
0.0027072324883192778,
-0.012404568493366241,
0.023529527708888054,
0.004108595661818981,
0.005572028923779726,
-0.035905446857213974,
0.016854552552103996,
0.0056006768718361855,
-0.019241882488131523,
0.0027120071463286877,
-0.04213160648941994,
0.005624550394713879,
0.02095121145248413,
-0.0107811838388443,
-0.00293402886018157,
-0.0030008743051439524,
0.018840810284018517,
-0.042742762714624405,
0.005982649978250265,
0.018869459629058838,
-0.00018084027396980673,
0.040298134088516235,
0.05282684415578842,
-0.0006839701090939343,
-0.028819851577281952,
0.03416747227311134,
-0.013942008838057518,
0.01285338681191206,
-0.00811692327260971,
-0.0635220855474472,
0.0004330020456109196,
0.052559465169906616,
-0.024809136986732483,
0.005686620716005564,
0.010236872360110283,
0.010513802990317345,
0.05924398824572563,
0.01961430534720421,
-0.013751022517681122,
0.009229418821632862,
-0.07937395572662354,
0.04736463353037834,
-0.01171701680868864,
-0.04442344233393669,
0.021180395036935806,
0.04407966881990433,
0.02091301418840885,
-0.03915221616625786,
0.0037313972134143114,
-0.006469665095210075,
-0.025649476796388626,
0.024541756138205528,
0.01961430534720421,
-0.027597539126873016,
-0.035905446857213974,
-0.014849194325506687,
0.03592454642057419,
-0.07876279950141907,
0.014018403366208076,
-0.019050896167755127,
0.0015911556547507644,
-0.004347328562289476,
-0.003459241706877947,
-0.013264006935060024,
0.03896123170852661,
-0.04003075510263443,
-0.007352977525442839,
0.043812286108732224,
0.007219287101179361,
0.0589384101331234,
0.0036096435505896807,
0.07364436239004135,
-0.043201129883527756,
0.02003447525203228,
0.0035714460536837578,
0.0364593081176281,
0.021867945790290833,
0.04824317246675491,
-0.049618273973464966,
0.02641342207789421,
0.02393059991300106,
-0.08242974430322647,
-0.0492744967341423,
-0.0003613821172621101,
-0.039305005222558975,
-0.012251779437065125,
-0.0012617040192708373,
0.005763015244156122,
0.03577175736427307,
0.0009125570068135858,
0.006469665095210075,
0.039839766919612885,
0.027712130919098854,
0.05011483654379845,
-0.04297194629907608,
-0.024083388969302177,
0.05729592591524124,
-0.05427834391593933,
0.012547807767987251,
0.01624339632689953,
-0.0002394790790276602,
0.030023066326975822,
-0.021791551262140274,
0.012385469861328602,
-0.005180506967008114,
0.05099337548017502,
0.049159906804561615,
0.013588684611022472,
-0.03208572044968605,
-0.03420566767454147,
0.04648609459400177,
0.029774783179163933,
0.029411910101771355,
0.0334608219563961,
0.02074112556874752,
0.06550834327936172,
-0.011812509968876839,
0.004609934985637665,
0.012194483540952206,
-0.0016723248409107327,
-0.0036645520012825727,
-0.08281171321868896,
-0.004960872232913971,
-0.04213160648941994,
0.06768558919429779,
-0.06172681227326393,
-0.05229208245873451,
-0.05152813717722893,
-0.033670905977487564,
-0.014333531260490417,
0.049159906804561615,
0.05191010981798172,
-0.031035294756293297,
0.000583403860218823,
-0.0049799708649516106,
0.043277524411678314,
-0.04824317246675491,
0.015689535066485405,
0.09014559537172318,
0.03208572044968605,
0.0917498767375946,
-0.011296846903860569,
0.02438896708190441,
0.041749633848667145,
-0.034587640315294266,
-0.007352977525442839,
0.05534786731004715,
0.057143136858940125,
0.06734181195497513,
-0.0283614844083786,
-0.048128578811883926,
0.0027191692497581244,
0.06799116730690002,
-0.08136022090911865,
0.04434704780578613,
-0.02272738516330719,
-0.011363692581653595,
0.013760572299361229,
0.005022943019866943,
-0.005992199294269085,
0.044729020446538925,
0.017293820157647133,
0.0042566098272800446,
0.021390479058027267,
0.0589384101331234,
-0.05252126604318619,
0.011382791213691235,
-0.0014813385205343366,
-0.023663217201828957,
-0.015660887584090233,
0.024331670254468918,
0.06218517944216728,
-0.009315363131463528,
-0.02041644975543022,
-0.04793759435415268,
0.006584256887435913,
0.013225809670984745,
0.043850481510162354,
-0.001194261945784092,
0.024484459310770035,
-0.07482848316431046,
0.00034765497548505664,
-0.04335391893982887,
0.0384264700114727,
-0.006092466879636049,
-0.0324103981256485,
0.007902063429355621,
-0.016071507707238197,
0.03042413666844368,
-0.0038555385544896126,
0.016357988119125366,
0.04190242290496826,
-0.07689113169908524,
-0.01024642214179039,
-0.008656459860503674,
-0.04595133289694786,
0.014629560522735119,
0.04213160648941994,
0.02293746918439865,
-0.019012698903679848,
-0.016568072140216827,
-0.03325073793530464,
-0.007200188469141722,
-0.020511941984295845,
-0.05252126604318619,
-0.013034823350608349,
0.030042164027690887,
-0.0002478347159922123,
0.03474042937159538,
0.058632832020521164,
0.03804449737071991,
-0.05821266397833824,
-0.01024642214179039,
-0.034549444913864136,
0.022421807050704956,
-0.0005252126720733941,
0.03141726553440094,
-0.006507862359285355,
-0.010179576463997364,
-0.04602772742509842,
-0.05825085937976837,
-0.06084827333688736,
-0.02244090475142002,
0.009277165867388248,
-0.006020847242325544,
-0.05389636754989624,
0.008078726008534431,
0.03565716743469238,
-0.035370685160160065,
-0.01333085261285305,
-0.015240716747939587,
-0.03500781208276749,
-0.054507527500391006,
-0.02570677362382412,
-0.01028461940586567,
0.013636430725455284,
0.06451521813869476,
0.03191383183002472,
0.0107811838388443,
-0.029316416010260582,
0.021428676322102547,
-0.02020636387169361,
-0.0032396072056144476,
0.030576927587389946,
0.03514150157570839,
0.06283453106880188,
-0.045760348439216614,
-0.000973433954641223,
-0.03390008956193924,
-0.03500781208276749,
-0.028590667992830276,
-0.029621994122862816,
-0.012060793116688728,
-0.004984745755791664,
-0.026146041229367256,
-0.0694044679403305,
0.013092119246721268,
0.0858674943447113,
-0.0015195357846096158,
0.023949697613716125,
0.013302204199135303,
0.04113847762346268,
0.03882753849029541,
0.02446536161005497,
0.009883547201752663,
0.08441600203514099,
-0.011077213101089,
0.00916734803467989,
0.055042289197444916,
-0.031016195192933083,
0.058021675795316696,
-0.019490165635943413,
-0.011296846903860569,
-0.009267616085708141,
0.005820311140269041,
0.11054294556379318,
-0.075019471347332,
-0.012366371229290962,
-0.03726145252585411,
0.04732643440365791,
-0.00019993892055936158,
-0.035370685160160065,
0.04197881743311882,
-0.029698388651013374,
-0.015469900332391262,
-0.015126124955713749,
-0.00418499018996954,
0.030023066326975822,
0.01676860824227333,
0.03422476723790169,
-0.06222337856888771,
-0.02996576949954033,
0.06673065572977066,
0.0456075593829155,
-0.014409925788640976,
0.041214872151613235,
0.03915221616625786,
0.05618820711970329,
-0.03317434340715408,
0.05534786731004715,
-0.0926666110754013,
-0.029583796858787537,
-0.019480615854263306,
0.024866431951522827,
0.004853442311286926,
0.014963786117732525,
-0.013216260820627213,
-0.04087109491229057,
-0.035905446857213974,
-0.02702457830309868,
-0.016319790855050087,
-0.047173645347356796,
-0.00001856708877312485,
-0.00379824242554605,
-0.0458749383687973,
-0.03794900327920914,
0.06176501139998436,
-0.01343589462339878,
0.002185600809752941,
0.041291266679763794,
0.026279732584953308,
0.03347992151975632,
0.04740283265709877,
0.050153035670518875,
0.041291266679763794,
-0.040718305855989456,
0.040336333215236664,
-0.011392340064048767,
-0.03953418880701065,
0.045798543840646744,
-0.012824738398194313,
-0.03141726553440094,
0.011058114469051361,
-0.08189497888088226,
0.010122280567884445,
0.02379690855741501,
-0.07532504945993423,
-0.06336929649114609,
-0.010933972895145416,
0.08189497888088226,
-0.0032467693090438843,
-0.07620358467102051,
-0.010933972895145416,
0.009248517453670502,
-0.013942008838057518,
-0.039763372391462326,
-0.03271597623825073,
-0.006154537666589022,
0.047632016241550446,
-0.04243718460202217,
-0.023128455504775047,
-0.027177369222044945,
0.02595505490899086
] |
21,584 | delorean.dates | humanize |
Humanize relative to now:
.. testsetup::
from datetime import timedelta
from delorean import Delorean
.. doctest::
>>> past = Delorean.utcnow() - timedelta(hours=1)
>>> past.humanize()
'an hour ago'
| def humanize(self):
"""
Humanize relative to now:
.. testsetup::
from datetime import timedelta
from delorean import Delorean
.. doctest::
>>> past = Delorean.utcnow() - timedelta(hours=1)
>>> past.humanize()
'an hour ago'
"""
now = self.now(self.timezone)
return humanize.naturaltime(now - self)
| (self) | [
-0.005682715214788914,
-0.03769048675894737,
0.012734226882457733,
0.003976134583353996,
0.030466770753264427,
-0.050513021647930145,
0.05054834485054016,
0.018191752955317497,
-0.03067871369421482,
-0.019904956221580505,
-0.029177451506257057,
0.017308657988905907,
0.0172909963876009,
0.001506780507043004,
-0.029053818434476852,
0.06439527124166489,
0.03293943777680397,
-0.021830104291439056,
-0.06301764398813248,
-0.06739779561758041,
0.06503110378980637,
-0.06315893679857254,
-0.013829264789819717,
-0.04305970296263695,
0.017061391845345497,
0.050513021647930145,
0.006349451839923859,
-0.04101092368364334,
-0.020629094913601875,
-0.0013577583013102412,
-0.0009427036857232451,
0.016469718888401985,
-0.006835153792053461,
0.0013246422167867422,
0.018439019098877907,
-0.05150208994746208,
-0.04694531857967377,
-0.009590409696102142,
-0.11805211007595062,
-0.018686285242438316,
0.04818165302276611,
-0.040092505514621735,
0.005015978589653969,
0.04694531857967377,
-0.014385614544153214,
0.006058030296117067,
0.06344152987003326,
0.04044574126601219,
-0.011383092030882835,
-0.039456676691770554,
-0.005448694806545973,
-0.03276281803846359,
0.0023578631225973368,
0.02244826965034008,
-0.04948863387107849,
0.022872155532240868,
0.04641546308994293,
0.013025647960603237,
0.0037443218752741814,
0.016107648611068726,
-0.05531705915927887,
-0.015180399641394615,
-0.0013621737016364932,
-0.02025819569826126,
0.006115431431680918,
0.03392850235104561,
-0.01114465668797493,
-0.026439858600497246,
0.006649703718721867,
0.012849029153585434,
-0.008437970653176308,
0.011232965625822544,
0.05217324197292328,
0.06845750659704208,
0.03973926603794098,
-0.02398485504090786,
-0.07018837332725525,
-0.0395626462996006,
0.02430276945233345,
-0.005364800803363323,
-0.03454666957259178,
-0.014500416815280914,
0.007139821536839008,
-0.056730009615421295,
-0.0010718563571572304,
-0.0906408503651619,
0.04415474086999893,
-0.045179128646850586,
0.03949199989438057,
0.03382253274321556,
-0.03590663522481918,
-0.024744316935539246,
0.01810344308614731,
0.0015100921737030149,
-0.017096715047955513,
0.027411263436079025,
-0.08117407560348511,
0.01971067674458027,
-0.030060546472668648,
-0.007130990736186504,
0.04111689329147339,
0.10328676551580429,
-0.037513867020606995,
-0.011568541638553143,
0.008018501102924347,
0.019887294620275497,
-0.016858279705047607,
-0.03149116039276123,
-0.014341459609568119,
-0.0002283627982251346,
-0.09417323023080826,
-0.05439864099025726,
-0.03931538015604019,
-0.041222866624593735,
0.07241377234458923,
-0.038396961987018585,
0.010235068388283253,
0.017706051468849182,
0.023366687819361687,
0.012610593810677528,
-0.03601260483264923,
-0.007983176968991756,
0.017697220668196678,
-0.06065095216035843,
-0.04818165302276611,
0.009157693013548851,
-0.007334102410823107,
-0.03240957856178284,
-0.02098233252763748,
-0.007294362876564264,
-0.0162754375487566,
0.022589564323425293,
0.006040368694812059,
0.02915978990495205,
-0.00043851174996234477,
0.013370055705308914,
0.06054497882723808,
0.06188728287816048,
-0.023278379812836647,
0.10477036982774734,
0.03364591300487518,
0.016063494607806206,
0.052844393998384476,
0.005854918621480465,
0.015312863513827324,
-0.02972497045993805,
-0.04694531857967377,
0.02843565307557583,
0.002909797476604581,
0.05386878177523613,
0.030254827812314034,
-0.045355748385190964,
0.10201511532068253,
0.023613955825567245,
0.037902429699897766,
-0.05934397131204605,
-0.017396967858076096,
-0.004609754774719477,
-0.04959460347890854,
-0.017132040113210678,
-0.007810973562300205,
0.02349032275378704,
0.0025742214638739824,
0.03101428970694542,
-0.01315811276435852,
0.028788890689611435,
0.022501256316900253,
-0.02131790854036808,
0.0021249467972666025,
0.02172413282096386,
-0.0052411677315831184,
-0.05563497170805931,
-0.027181658893823624,
0.05824893340468407,
0.009572748094797134,
-0.01182463951408863,
0.007263454608619213,
0.03477627411484718,
0.0012573061976581812,
0.02477964013814926,
0.013776279054582119,
0.0011314651928842068,
-0.08378803730010986,
-0.05429266765713692,
-0.022960465401411057,
-0.014350290410220623,
0.017238009721040726,
-0.005819594953209162,
-0.007122159469872713,
0.0030378461815416813,
-0.011983596719801426,
0.060439009219408035,
0.003084208583459258,
0.00969638116657734,
0.03744322061538696,
-0.01477417629212141,
-0.03156180679798126,
0.006596717983484268,
0.0691639855504036,
-0.013184605166316032,
-0.06672663986682892,
0.03514717146754265,
0.015515975654125214,
-0.08089148253202438,
0.07509838044643402,
0.055988211184740067,
-0.048005033284425735,
-0.0013412002008408308,
-0.08491839468479156,
-0.031049612909555435,
0.023861221969127655,
-0.0009167628013528883,
-0.033010084182024,
0.0028656425420194864,
-0.034440696239471436,
-0.04161142557859421,
-0.0007070277933962643,
0.015886874869465828,
-0.020735066384077072,
0.012001258321106434,
0.036701418459415436,
-0.0325508750975132,
0.010773756541311741,
-0.07032967358827591,
0.045426398515701294,
-0.04489653930068016,
-0.002346824388951063,
-0.0073076095432043076,
-0.02631622552871704,
-0.09339610487222672,
-0.008716145530343056,
-0.047510500997304916,
-0.058743465691804886,
-0.004755465313792229,
-0.004170414991676807,
-0.005033640190958977,
-0.032745156437158585,
0.019251467660069466,
-0.02108830399811268,
-0.0020035214256495237,
-0.04313034936785698,
0.0186509620398283,
0.0012716564815491438,
0.025892339646816254,
-0.013493688777089119,
-0.1085146889090538,
-0.05072496458888054,
-0.03279814124107361,
-0.0424945205450058,
0.00989066157490015,
-0.002353447722271085,
-0.012884353287518024,
0.008972243405878544,
-0.023843560367822647,
-0.005333892535418272,
0.014279643073678017,
-0.02560974843800068,
-0.0018357333028689027,
-0.005444279406219721,
0.029601337388157845,
0.015127413906157017,
-0.03560638427734375,
-0.05065431818366051,
0.023719927296042442,
-0.03546508774161339,
0.021688807755708694,
-0.010076112113893032,
-0.007232546340674162,
-0.023861221969127655,
-0.02414381131529808,
0.04471991956233978,
-0.03205634281039238,
-0.07375607639551163,
-0.049877192825078964,
-0.04086962714791298,
0.006164001766592264,
-0.0035522489342838526,
-0.021989060565829277,
-0.059061381965875626,
0.0050071473233401775,
-0.007497475016862154,
-0.03998653218150139,
-0.0034529007971286774,
-0.03260385990142822,
-0.010235068388283253,
0.032833464443683624,
-0.02477964013814926,
0.04719258472323418,
-0.03240957856178284,
0.000858257757499814,
0.013696799986064434,
-0.02827669493854046,
0.02649284340441227,
-0.01756475493311882,
0.014809499494731426,
0.03719595447182655,
-0.04157610237598419,
0.0032806971576064825,
0.01182463951408863,
-0.013193435966968536,
-0.046874672174453735,
-0.003896655747666955,
-0.04895877465605736,
0.009563916362822056,
-0.045249778777360916,
0.037584513425827026,
-0.003870162880048156,
0.004051197320222855,
0.02834734320640564,
-0.017441121861338615,
-0.07269636541604996,
-0.030060546472668648,
0.03334565833210945,
0.05189065262675285,
-0.012601763010025024,
0.015931030735373497,
0.0019483278738334775,
0.015480651520192623,
0.013131619431078434,
0.021582836285233498,
0.0002551315992604941,
0.04804035648703575,
0.045179128646850586,
0.04256517067551613,
0.017741374671459198,
-0.07230780273675919,
-0.04415474086999893,
0.034193430095911026,
0.016743477433919907,
0.002942913444712758,
-0.02391420677304268,
-0.03221529722213745,
0.04118754342198372,
-0.02915978990495205,
-0.04645078629255295,
0.04853488877415657,
0.03885617107152939,
0.032427240163087845,
0.025468453764915466,
-0.006168417166918516,
0.050018489360809326,
0.03811437264084816,
-0.040163151919841766,
0.015039104968309402,
0.041152216494083405,
0.03656012564897537,
-0.030254827812314034,
0.014032375998795033,
0.07191924005746841,
-0.005029224790632725,
-0.039845239371061325,
-0.014756513759493828,
0.0013025648659095168,
0.006199325434863567,
-0.0043072947300970554,
0.026298563927412033,
0.015851551666855812,
-0.04076365754008293,
-0.031049612909555435,
-0.0015542468754574656,
-0.02979561872780323,
-0.031703103333711624,
0.04782841354608536,
-0.041399482637643814,
-0.020240532234311104,
-0.02801176719367504,
0.04645078629255295,
0.013564336113631725,
0.02712867222726345,
-0.01699957437813282,
-0.05393943190574646,
0.02470899187028408,
0.06298232078552246,
-0.0436248816549778,
-0.00011473333142930642,
0.0050954571925103664,
0.06806894391775131,
0.09120602905750275,
-0.06517239660024643,
0.022589564323425293,
0.07488644123077393,
0.07156600058078766,
-0.011250628158450127,
0.006839569192379713,
0.024444064125418663,
0.0011071801418438554,
0.04337761551141739,
0.005254413932561874,
-0.08117407560348511,
-0.032833464443683624,
-0.002426302991807461,
-0.08435321599245071,
-0.04401344433426857,
0.05015978589653969,
-0.02930108644068241,
0.003949641715735197,
-0.014897809363901615,
-0.027358276769518852,
-0.030095871537923813,
0.02907148189842701,
0.08901595324277878,
-0.03253321349620819,
-0.04111689329147339,
-0.002494742861017585,
-0.018386034294962883,
0.017017235979437828,
0.02923043817281723,
0.08604875952005386,
-0.03973926603794098,
0.08463580906391144,
-0.014597557485103607,
-0.04694531857967377,
-0.052773743867874146,
0.02260722778737545,
0.01477417629212141,
-0.01477417629212141,
-0.05408072471618652,
-0.013838095590472221,
-0.004556769039481878,
-0.030413785949349403,
0.000463348813354969,
-0.005064548924565315,
0.019445747137069702,
0.01743229106068611,
0.058354903012514114,
-0.006340620573610067,
-0.010923882946372032,
-0.024603020399808884,
-0.03173842653632164,
0.0022850078530609608,
0.04570898786187172,
-0.01620478928089142,
-0.01688477210700512,
-0.0395626462996006,
0.10102604329586029,
-0.013732124119997025,
0.023790573701262474,
0.011436077766120434,
-0.02163582295179367,
0.04019847512245178,
0.044296033680438995,
0.02285449393093586,
0.053021013736724854,
-0.000931113085243851,
-0.0006628730334341526,
0.008380569517612457,
0.006269973237067461,
-0.01889822818338871,
-0.021741794422268867,
0.0013389925006777048,
0.03793775290250778,
0.03013119474053383,
0.029742633923888206,
-0.040021855384111404,
0.018544990569353104,
-0.04729855805635452,
0.011347767896950245,
0.04313034936785698,
-0.014314967207610607,
0.04613287374377251,
0.011974765919148922,
0.06909333914518356,
0.006358282640576363,
0.0013930820859968662,
-0.013211098499596119,
-0.020699741318821907,
-0.0168406181037426,
-0.005969720892608166,
-0.024108488112688065,
-0.00018200032354798168,
0.03560638427734375,
0.0067468443885445595,
-0.009087045677006245,
0.039456676691770554,
-0.021865427494049072,
-0.029036156833171844,
-0.02769385278224945,
0.024355754256248474,
0.007554876152426004,
-0.004044574219733477,
0.03405213728547096,
0.010835573077201843,
0.013864587992429733,
0.002239749301224947,
0.027888134121894836,
0.04394279792904854,
-0.03309839218854904,
0.002244164701551199,
0.03892681747674942,
-0.04553236812353134,
-0.02827669493854046,
0.02979561872780323,
0.0036736743059009314,
-0.027587881311774254,
-0.059237997978925705,
0.004768711980432272,
-0.002340201288461685,
0.0017076845979318023,
-0.009475607424974442,
-0.011736329644918442,
-0.018509667366743088,
0.029265761375427246,
0.05192597582936287,
-0.008270182646811008,
0.007122159469872713,
0.035977281630039215,
0.029053818434476852,
-0.002640453400090337,
0.019763661548495293,
-0.00989066157490015,
0.04005717858672142,
-0.02350798435509205,
0.006256726570427418,
0.018350709229707718,
-0.012124891392886639,
-0.007192807272076607,
-0.02237762324512005,
-0.022836832329630852,
0.043483588844537735,
0.006181663833558559,
-0.010226237587630749,
-0.004113013856112957,
0.01953405700623989,
-0.011648020707070827,
-0.0009780274704098701,
0.0016403485788032413,
-0.052208565175533295,
0.041152216494083405,
0.0201168991625309,
0.023525645956397057,
0.041540779173374176,
-0.042989056557416916,
0.027358276769518852,
0.036630772054195404,
0.02704036235809326,
0.07114211469888687,
-0.10943310707807541,
-0.06079224497079849,
-0.015198061242699623,
0.03765516355633736,
-0.018280062824487686,
-0.10201511532068253,
-0.008190704509615898,
0.02237762324512005,
-0.005740116350352764,
0.026934390887618065,
0.00321888062171638,
0.030978966504335403,
-0.010800249874591827,
0.005965305492281914,
-0.05030107870697975,
-0.04828762263059616,
-0.0026183761656284332,
0.005325061734765768,
0.01122413482517004,
0.05658871680498123,
0.007519552484154701,
0.03520015999674797,
0.06192260608077049,
0.038396961987018585,
-0.0034418620634824038,
0.01636374741792679,
0.09424387663602829,
0.06838686019182205,
-0.027676191180944443,
0.011029854416847229,
-0.025486115366220474,
0.08322285115718842,
-0.021741794422268867,
-0.0013158112997189164,
0.024514712393283844,
0.034511346369981766,
0.03846760839223862,
-0.028241371735930443,
-0.03899746760725975,
0.07750040292739868,
-0.03343397006392479,
0.02801176719367504,
0.08124472200870514,
0.034370049834251404,
-0.05393943190574646,
-0.011683343909680843,
0.01872161030769348,
-0.041540779173374176,
-0.05015978589653969,
0.009387297555804253,
0.04659208282828331,
0.033716559410095215,
0.018006302416324615,
0.008014085702598095,
-0.015348187647759914,
-0.0012451637303456664,
-0.0006352763157337904,
0.057295192033052444,
0.010764925740659237,
-0.09254833310842514,
-0.02681075781583786,
-0.0689520388841629,
-0.03429940342903137,
0.013317069970071316,
0.007969930768013,
0.016169466078281403,
0.015109752304852009,
0.05969720706343651,
0.010394025593996048,
0.02260722778737545,
-0.013096296228468418,
-0.03398148715496063,
-0.044931862503290176,
-0.018350709229707718,
-0.01620478928089142,
0.02583935484290123,
0.013211098499596119,
0.011806977912783623,
0.019516395404934883,
-0.016054663807153702,
0.015083258971571922,
-0.04782841354608536,
-0.03631285950541496,
-0.03149116039276123,
-0.030343137681484222,
0.012266186997294426,
-0.03235659375786781,
0.031226232647895813,
-0.016134142875671387,
0.00952859316021204,
-0.00777123449370265,
-0.05344489589333534,
0.006186079233884811,
-0.07474514096975327,
0.0036206888034939766,
-0.01477417629212141,
-0.06930527836084366,
-0.04991251975297928,
-0.0644305944442749,
0.0018125521019101143,
-0.015215723775327206,
0.02527417242527008,
-0.024338092654943466,
-0.011294782161712646,
-0.012813705950975418,
0.013219929300248623,
0.012319172732532024,
0.02591000124812126,
-0.04878215864300728,
0.05111352726817131,
-0.06029771268367767,
-0.03417576849460602,
-0.02931874804198742,
0.00524558313190937,
0.007890451699495316,
0.05344489589333534,
0.05916735157370567,
0.03313371539115906,
-0.017299827188253403,
-0.025556763634085655,
-0.0016745685134083033,
0.011303613893687725,
0.015127413906157017,
-0.021529851481318474,
0.027888134121894836,
-0.04369553178548813,
-0.0008698483579792082,
-0.028241371735930443,
0.06096886470913887,
0.05839022994041443,
-0.015560130588710308,
0.014518078416585922,
-0.03608325496315956,
-0.03949199989438057,
0.019763661548495293,
0.01783851534128189,
0.08583681285381317,
-0.04917071759700775,
-0.0214768648147583,
0.023384351283311844,
0.0005806348635815084,
0.10272158682346344,
0.008173041976988316,
-0.03611857816576958,
0.07735910266637802,
-0.011312444694340229,
-0.036454152315855026,
-0.02714633382856846,
0.003870162880048156,
0.01595752313733101,
-0.009908324107527733,
0.012822536751627922,
-0.03295709937810898,
-0.020770389586687088,
-0.011444908566772938,
-0.04514380544424057,
-0.032815802842378616,
0.04094027355313301,
0.07290830463171005,
0.012902014888823032,
-0.023543307557702065,
0.01449158601462841,
0.014032375998795033,
-0.030254827812314034,
0.0492766909301281,
0.017741374671459198,
0.04242387413978577,
0.011074008420109749,
0.007055927533656359,
0.023772912099957466,
0.026033634319901466,
0.05782504752278328,
0.01788266934454441,
-0.012407481670379639,
0.05757778137922287,
0.06167533993721008,
0.012495791539549828,
-0.01300798635929823,
0.08096212893724442,
-0.03422875329852104,
0.04931201413273811,
0.06079224497079849,
0.033222027122974396,
0.029813280329108238,
-0.0030930396169424057,
-0.019074847921729088,
0.03424641489982605,
-0.03829099237918854,
-0.03507652506232262,
0.007643185555934906,
0.016337253153324127,
-0.01614297367632389,
-0.00722813094034791,
-0.05005381256341934,
-0.06361815333366394,
0.00039270121487788856,
0.02907148189842701,
0.012937339022755623,
0.025892339646816254,
0.04401344433426857,
0.0016182712279260159,
0.01905718632042408,
0.06538433581590652,
-0.020240532234311104,
-0.002569805830717087,
0.042035311460494995,
0.01170983724296093,
0.0022298144176602364,
0.005108703393489122,
-0.03479393571615219,
-0.012769551016390324,
-0.0015884668100625277,
0.01304331049323082,
0.03286878764629364,
0.015251046977937222,
-0.04581495746970177,
-0.012990324757993221,
-0.04539107158780098,
0.0481463298201561,
-0.023861221969127655,
-0.018544990569353104,
0.01122413482517004,
-0.01473885215818882,
0.007780065294355154,
0.011330106295645237,
-0.08753235638141632,
0.03620688617229462,
0.0445433035492897,
0.009563916362822056,
0.00609776983037591,
-0.0041593764908611774,
0.04627416655421257
] |
21,585 | delorean.dates | replace |
Returns a new Delorean object after applying replace on the
existing datetime object.
.. testsetup::
from datetime import datetime
from delorean import Delorean
.. doctest::
>>> d = Delorean(datetime(2015, 1, 1, 12, 15), timezone='UTC')
>>> d.replace(hour=8)
Delorean(datetime=datetime.datetime(2015, 1, 1, 8, 15), timezone='UTC')
| def replace(self, **kwargs):
"""
Returns a new Delorean object after applying replace on the
existing datetime object.
.. testsetup::
from datetime import datetime
from delorean import Delorean
.. doctest::
>>> d = Delorean(datetime(2015, 1, 1, 12, 15), timezone='UTC')
>>> d.replace(hour=8)
Delorean(datetime=datetime.datetime(2015, 1, 1, 8, 15), timezone='UTC')
"""
return Delorean(datetime=self._dt.replace(**kwargs), timezone=self.timezone)
| (self, **kwargs) | [
0.06572294980287552,
-0.014481007121503353,
0.06492791324853897,
-0.02771267294883728,
-0.06227779760956764,
-0.05762115865945816,
-0.028905225917696953,
0.06042271479964256,
0.004349034745246172,
0.013250594958662987,
-0.03185821697115898,
-0.0010363857727497816,
-0.00813018623739481,
0.03642020747065544,
0.00775159802287817,
0.0220149178057909,
-0.07261326164007187,
0.04353766888380051,
-0.033599723130464554,
-0.03594697266817093,
0.028924155980348587,
-0.05360812321305275,
-0.03509514778852463,
0.0022171083837747574,
0.0014587485929951072,
0.05693969875574112,
-0.01282468345016241,
0.026255108416080475,
0.007926695048809052,
-0.01269217673689127,
0.031952861696481705,
0.02383214235305786,
-0.06273210048675537,
0.03907032683491707,
0.016544314101338387,
-0.044332705438137054,
-0.04300764575600624,
0.054857462644577026,
-0.040963269770145416,
0.041417572647333145,
-0.021390246227383614,
-0.0123798418790102,
0.011461764574050903,
0.0006643043598160148,
0.018815845251083374,
0.04259119927883148,
0.021863481029868126,
0.0456199049949646,
-0.011073711328208447,
0.03507621958851814,
0.036476995795965195,
0.01094120554625988,
0.039978936314582825,
-0.003487745998427272,
-0.035719819366931915,
0.005939105991274118,
0.04478701204061508,
0.13220307230949402,
0.038085997104644775,
-0.0030239750631153584,
-0.010023128241300583,
-0.027636954560875893,
-0.0423261858522892,
0.01934586837887764,
-0.051980189979076385,
0.026425471529364586,
-0.01769900880753994,
-0.03848351538181305,
0.04527917504310608,
0.030817098915576935,
0.01875905692577362,
0.014462077990174294,
0.042818352580070496,
0.027599096298217773,
0.07496050745248795,
0.035587310791015625,
-0.05322953313589096,
-0.036401279270648956,
0.01360078901052475,
-0.026633696630597115,
-0.023302117362618446,
-0.05023868381977081,
-0.014074024744331837,
0.04997367411851883,
-0.023056035861372948,
-0.01324112992733717,
0.02576294168829918,
-0.053040239959955215,
0.027106931433081627,
-0.028072331100702286,
-0.008328945375978947,
-0.010382787324488163,
-0.0033410429023206234,
-0.016657890751957893,
-0.027258366346359253,
0.020935939624905586,
-0.018598156049847603,
-0.01227573025971651,
0.02277209423482418,
-0.01083709392696619,
0.0874539241194725,
-0.0020349128171801567,
-0.06962241232395172,
-0.02284781076014042,
-0.0032818885520100594,
-0.01114942878484726,
0.03200965002179146,
0.009308543056249619,
-0.020481634885072708,
-0.01829528622329235,
-0.05023868381977081,
0.039221759885549545,
-0.018702268600463867,
0.023207470774650574,
0.0052955057471990585,
-0.027182649821043015,
-0.045809198170900345,
-0.02445681206882,
0.010997993871569633,
0.016317160800099373,
-0.04713425785303116,
0.030135639011859894,
-0.01563570275902748,
0.05004939064383507,
0.04986009746789932,
-0.022904599085450172,
-0.0005315026501193643,
0.002049109898507595,
0.06337570399045944,
-0.03662842884659767,
0.018200639635324478,
0.03467870131134987,
-0.015730349346995354,
0.015910178422927856,
-0.025838660076260567,
0.03907032683491707,
0.048686470836400986,
0.008683872409164906,
-0.019402656704187393,
0.04921649396419525,
-0.02901880256831646,
-0.012796289287507534,
0.04808073118329048,
0.04187187924981117,
0.012162153609097004,
-0.05436529964208603,
-0.02716371975839138,
0.0038355740252882242,
-0.05428957939147949,
0.0906340703368187,
0.03011670894920826,
-0.025592578575015068,
0.03562517091631889,
0.01383740734308958,
-0.017244702205061913,
-0.054138146340847015,
-0.022412434220314026,
0.03583339601755142,
-0.035587310791015625,
0.014263318851590157,
0.011272470466792583,
-0.0015510295052081347,
0.013506142422556877,
0.05955195799469948,
0.04569562152028084,
-0.0072594331577420235,
0.07935213297605515,
-0.013884730637073517,
0.02222314104437828,
0.032085370272397995,
0.01863601617515087,
0.012578600086271763,
0.0028749059420078993,
0.02703121304512024,
0.016620032489299774,
0.0111304996535182,
0.025270776823163033,
-0.009852764196693897,
0.015664096921682358,
0.01100745890289545,
0.05985483154654503,
0.03933533653616905,
-0.045771341770887375,
0.03528444096446037,
0.0015806066803634167,
-0.004902719985693693,
-0.034489404410123825,
0.020386986434459686,
-0.025251848623156548,
0.008806913159787655,
0.05841619521379471,
0.018219567835330963,
0.034072957932949066,
-0.004074558150023222,
-0.01450940128415823,
-0.014897454530000687,
-0.054554592818021774,
-0.01222840603441,
-0.019875893369317055,
0.0752633810043335,
-0.07128819823265076,
0.023396765813231468,
0.025876518338918686,
-0.08071505278348923,
0.04088754951953888,
0.03401616960763931,
0.001972209196537733,
-0.025781871750950813,
-0.020121974870562553,
-0.018437257036566734,
0.0368366539478302,
0.015086748637259007,
0.050920143723487854,
-0.03405402973294258,
-0.009985269978642464,
-0.023037105798721313,
-0.04490058869123459,
0.012682712636888027,
-0.017632756382226944,
0.010742446407675743,
0.006795662455260754,
-0.01601429097354412,
-0.01030706986784935,
-0.04497630521655083,
0.09646432846784592,
-0.05039012059569359,
-0.013468283228576183,
-0.04861075431108475,
-0.07302970439195633,
-0.12690284848213196,
-0.000036675755836768076,
-0.04736141115427017,
-0.06246709078550339,
-0.059627678245306015,
0.053418826311826706,
-0.016194120049476624,
0.00040816565160639584,
-0.02602795511484146,
-0.019402656704187393,
0.009701328352093697,
0.027277296409010887,
0.01351560652256012,
0.0264065433293581,
0.057469721883535385,
-0.0008606971241533756,
0.005517926532775164,
-0.05834047868847847,
0.04168258607387543,
-0.011395512148737907,
0.005711952690035105,
-0.0050541553646326065,
-0.04024394974112511,
-0.016610566526651382,
0.0912398099899292,
0.016459131613373756,
0.003989375662058592,
0.07730776071548462,
0.012455559335649014,
0.03433797135949135,
-0.008750124834477901,
-0.03197179362177849,
-0.029586685821413994,
-0.030438508838415146,
0.01239877101033926,
0.022279929369688034,
-0.001143455388955772,
0.008442522026598454,
-0.02956775575876236,
0.010524758137762547,
-0.0302492156624794,
0.005693023558706045,
0.02438109554350376,
-0.004486273042857647,
0.00813018623739481,
-0.03291826322674751,
0.0713639184832573,
-0.03346721827983856,
-0.06640440970659256,
-0.01174570620059967,
-0.0016740707214921713,
-0.0006246708799153566,
-0.03409188985824585,
-0.0167714674025774,
0.005962767638266087,
-0.061861347407102585,
-0.0025578381028026342,
-0.01883477345108986,
0.09381420910358429,
-0.017036478966474533,
0.025744013488292694,
-0.03876745328307152,
-0.031706780195236206,
-0.017017550766468048,
-0.001355819753371179,
-0.0056456997990608215,
0.06780518591403961,
-0.031877145171165466,
0.032804686576128006,
-0.007231038995087147,
0.009583019651472569,
-0.04047110304236412,
-0.024646107107400894,
-0.00218634819611907,
0.0445219986140728,
0.005446941126137972,
0.010439575649797916,
0.017415067180991173,
0.009833834134042263,
0.012427165172994137,
0.02383214235305786,
0.005939105991274118,
-0.07079603523015976,
-0.009157107211649418,
-0.016033219173550606,
-0.0055084615014493465,
-0.03380794823169708,
-0.022488152608275414,
0.020084116607904434,
0.02315068244934082,
0.03869173675775528,
-0.007462924346327782,
-0.04736141115427017,
-0.013250594958662987,
0.02243136428296566,
0.005333364475518465,
-0.06791876256465912,
-0.024948976933956146,
0.03861602023243904,
-0.0023401498328894377,
0.04410555213689804,
-0.055614639073610306,
-0.0478157177567482,
0.02010304480791092,
0.0073777418583631516,
-0.01111157052218914,
0.0020502929110080004,
0.006412341725081205,
0.0006199385388754308,
0.01096013467758894,
0.07431691139936447,
0.027353014796972275,
0.04198545590043068,
-0.08639387786388397,
-0.01450940128415823,
0.005773473531007767,
0.01626983843743801,
0.012521812692284584,
0.01229465939104557,
0.04933007061481476,
0.07469549775123596,
0.017348814755678177,
-0.021655257791280746,
0.007126927375793457,
0.0036770401056855917,
0.04376482218503952,
-0.022923529148101807,
0.08200225234031677,
0.03772633522748947,
-0.02623617835342884,
-0.06545794010162354,
-0.016875579953193665,
0.014840666204690933,
0.048005010932683945,
-0.028545567765831947,
0.023642847314476967,
-0.037404537200927734,
-0.02593330666422844,
0.011603735387325287,
0.03619305416941643,
-0.050844427198171616,
-0.022999247536063194,
0.039259620010852814,
0.03346721827983856,
-0.041720446199178696,
0.03176356852054596,
-0.05474388599395752,
0.015787137672305107,
0.07814065366983414,
-0.0747712180018425,
0.041417572647333145,
0.017471855506300926,
0.0051913936622440815,
0.0151246078312397,
0.029794909060001373,
-0.008082862943410873,
0.016421273350715637,
0.06719944626092911,
0.048345740884542465,
0.002609893912449479,
-0.029510967433452606,
-0.02990848571062088,
-0.07681559026241302,
0.013969913125038147,
0.045771341770887375,
-0.031877145171165466,
-0.019762316718697548,
-0.05107158049941063,
-0.01824796199798584,
-0.0720832347869873,
0.011717312037944794,
0.029094520956277847,
-0.011632129549980164,
-0.0037669548764824867,
0.008920489810407162,
0.054819606244564056,
0.0068477182649075985,
0.07673987746238708,
0.06212636083364487,
-0.00785570964217186,
-0.002161503303796053,
-0.0008441339014098048,
-0.08768107742071152,
-0.021428104490041733,
0.0038190106861293316,
0.028697002679109573,
-0.0005962767754681408,
0.009767581708729267,
-0.02184455282986164,
0.007974018342792988,
-0.01447154302150011,
0.0018113090191036463,
-0.045392751693725586,
-0.0647764801979065,
-0.0220149178057909,
0.051260873675346375,
0.0066489591263234615,
0.0310442503541708,
-0.0032180016860365868,
-0.03967606648802757,
0.004190500825643539,
0.011083176359534264,
-0.03611733764410019,
-0.007354080211371183,
0.003374169347807765,
0.08268371224403381,
0.012805753387510777,
0.04497630521655083,
-0.02260172925889492,
-0.00910505186766386,
0.043196938931941986,
0.007046476937830448,
-0.017689544707536697,
0.055955369025468826,
-0.08177509903907776,
-0.07075817883014679,
0.019705528393387794,
0.009805439971387386,
-0.013799548149108887,
0.025952236726880074,
0.003123354632407427,
0.09267845004796982,
0.05656111240386963,
0.012067506089806557,
-0.020386986434459686,
0.016960762441158295,
-0.08578813821077347,
-0.003632082836702466,
0.004968973342329264,
-0.012796289287507534,
0.00922809261828661,
0.01955409161746502,
-0.024362165480852127,
-0.02188241109251976,
-0.012531276792287827,
-0.015408549457788467,
0.03594697266817093,
-0.0200651865452528,
-0.04050896316766739,
-0.0670858696103096,
-0.03163106366991997,
0.018229031935334206,
-0.04088754951953888,
-0.02243136428296566,
-0.013534536585211754,
-0.03869173675775528,
0.008461451157927513,
-0.004796242341399193,
0.0255547184497118,
0.027144789695739746,
0.0025341762229800224,
-0.02040591649711132,
0.00017258308071177453,
0.019080856814980507,
0.0027920897118747234,
0.026879778131842613,
-0.008362071588635445,
0.006861915346235037,
-0.0019923215731978416,
-0.011887677013874054,
0.033221133053302765,
-0.014225460588932037,
-0.01947837509214878,
-0.032123226672410965,
-0.04607421159744263,
0.01728256233036518,
-0.00984329916536808,
-0.043916258960962296,
-0.01727309636771679,
0.006620564963668585,
-0.04312122240662575,
-0.020557351410388947,
0.016847185790538788,
0.028375202789902687,
-0.03607947751879692,
0.007103265263140202,
-0.03155534714460373,
0.042136892676353455,
0.013553465716540813,
-0.03375115990638733,
0.009682399220764637,
-0.0018503509927541018,
0.010089381597936153,
0.005238717421889305,
0.0019804907497018576,
0.03288040682673454,
0.016743073239922523,
-0.018314214423298836,
0.026709413155913353,
-0.024854330345988274,
-0.034110818058252335,
0.010278675705194473,
0.04531703516840935,
0.055652499198913574,
-0.027050143107771873,
0.008456719107925892,
0.009639807976782322,
0.01697969064116478,
-0.003852137364447117,
0.034148674458265305,
-0.007718471810221672,
0.01461351290345192,
-0.08116935938596725,
-0.039865363389253616,
0.004273316822946072,
0.05690184235572815,
0.03819957375526428,
-0.04698282480239868,
-0.05553892254829407,
-0.01617518998682499,
0.024229658767580986,
-0.037404537200927734,
0.01396044809371233,
-0.03221787512302399,
-0.016743073239922523,
-0.07935213297605515,
0.022242071107029915,
0.023794282227754593,
0.007169518154114485,
0.005726149771362543,
0.019156575202941895,
-0.04243976250290871,
-0.05845405161380768,
0.06939525902271271,
0.07117462158203125,
-0.053418826311826706,
0.03539801761507988,
-0.04240190237760544,
-0.020046256482601166,
0.009138178080320358,
0.012995047494769096,
0.003551632631570101,
0.0572047121822834,
0.09760009497404099,
0.06860022246837616,
-0.0090861227363348,
-0.01541801355779171,
0.003953882958739996,
0.0533052496612072,
-0.047285694628953934,
0.0004377428849693388,
-0.022374575957655907,
0.004498103633522987,
0.012436630204319954,
0.03363758325576782,
-0.06992528587579727,
0.043916258960962296,
-0.013913124799728394,
-0.00994741078466177,
0.001084300922229886,
-0.025800801813602448,
-0.05512247607111931,
0.02801554463803768,
-0.01879691518843174,
-0.07439262419939041,
-0.03388366475701332,
-0.027561238035559654,
0.033221133053302765,
0.03831315040588379,
0.03967606648802757,
-0.02209063433110714,
0.028621284291148186,
0.022166352719068527,
-0.028337344527244568,
0.017878837883472443,
-0.014310642145574093,
-0.04084969311952591,
-0.02284781076014042,
-0.021522752940654755,
-0.0005146436160430312,
-0.010979064740240574,
-0.04531703516840935,
-0.03416760638356209,
0.01651591993868351,
0.006223047152161598,
-0.0258575901389122,
-0.0022526010870933533,
0.02298031747341156,
-0.02716371975839138,
-0.016317160800099373,
-0.08056361973285675,
0.0111304996535182,
0.041076842695474625,
0.03458405286073685,
0.030703522264957428,
0.024854330345988274,
-0.04565776512026787,
-0.011613200418651104,
0.007155321072787046,
-0.08540955185890198,
-0.05977911129593849,
-0.07602055370807648,
0.048686470836400986,
-0.02002732828259468,
-0.006185188423842192,
-0.011433370411396027,
-0.02619832009077072,
0.01155641209334135,
-0.037063807249069214,
0.01379008311778307,
-0.03679879382252693,
0.01385633647441864,
0.015512661077082157,
-0.05622038245201111,
-0.008769054897129536,
-0.08063933253288269,
-0.00492164958268404,
-0.026804061606526375,
0.0026311895344406366,
0.003421492874622345,
-0.019156575202941895,
0.009370063431560993,
0.018702268600463867,
0.06136918440461159,
0.01485013123601675,
-0.05629609897732735,
-0.010714052245020866,
0.0025105145759880543,
-0.06254281103610992,
-0.03971392661333084,
-0.0014481007819995284,
0.015985896810889244,
0.04910292103886604,
0.012805753387510777,
0.009583019651472569,
-0.050579413771629333,
-0.0056456997990608215,
0.003911291714757681,
0.0024513599928468466,
0.0626942440867424,
0.00730675645172596,
0.045809198170900345,
-0.019743386656045914,
-0.05519819259643555,
-0.02922702580690384,
0.06833521276712418,
0.06087701767683029,
0.006322426721453667,
0.01548426691442728,
-0.026709413155913353,
0.02108737640082836,
-0.03801027685403824,
-0.03819957375526428,
0.06015770137310028,
0.016042685136198997,
0.018853703513741493,
-0.06390572339296341,
-0.0076096272096037865,
0.05459245294332504,
0.0005235167918726802,
0.0112819354981184,
0.02479754202067852,
-0.015645166859030724,
0.03274789825081825,
0.01166052371263504,
-0.03210429847240448,
0.08858969062566757,
-0.050882283598184586,
-0.041417572647333145,
0.02534649521112442,
-0.0022182916291058064,
0.09850870817899704,
-0.06250494718551636,
-0.06121774762868881,
-0.02661476656794548,
0.04043324291706085,
-0.029965274035930634,
-0.038085997104644775,
-0.009370063431560993,
-0.0348869226872921,
0.009299078024923801,
0.026425471529364586,
0.04827002435922623,
0.001463480875827372,
0.005697756074368954,
0.019705528393387794,
-0.01807759702205658,
0.005357026122510433,
0.053797416388988495,
0.02040591649711132,
-0.006696282885968685,
0.040698256343603134,
0.05243449658155441,
0.01131979376077652,
-0.015465336851775646,
0.0451277419924736,
-0.033561863005161285,
-0.00518666161224246,
-0.024892188608646393,
0.008016609586775303,
0.0604984313249588,
0.012559670954942703,
-0.06288354098796844,
-0.017557037994265556,
0.033599723130464554,
-0.006762535776942968,
0.01694183237850666,
-0.028185907751321793,
-0.03869173675775528,
-0.017178449779748917,
-0.027901967987418175,
-0.004609314259141684,
0.09548000246286392,
0.05239664018154144,
-0.05364597961306572,
0.012900400906801224,
-0.01474601961672306,
-0.03607947751879692,
-0.00554632069543004,
0.045733481645584106,
0.030362792313098907,
-0.030173497274518013,
0.07704274356365204,
0.004819903988391161,
0.0006548396777361631,
0.00255547184497118,
-0.01913764514029026,
-0.06246709078550339,
0.019118715077638626,
-0.0007903033401817083,
0.05254807323217392,
-0.026330824941396713,
-0.023264259099960327,
-0.03172571212053299,
0.04565776512026787,
0.037196312099695206,
-0.04331051558256149,
-0.05027654394507408,
0.04084969311952591,
0.01883477345108986,
0.00848984532058239,
-0.037915632128715515,
-0.025592578575015068,
0.00483646709471941,
-0.019838033244013786,
-0.011698382906615734,
0.022620659321546555,
0.027353014796972275,
0.02438109554350376
] |
21,586 | delorean.dates | shift |
Shifts the timezone from the current timezone to the specified timezone associated with the Delorean object,
modifying the Delorean object and returning the modified object.
.. testsetup::
from datetime import datetime
from delorean import Delorean
.. doctest::
>>> d = Delorean(datetime(2015, 1, 1), timezone='US/Pacific')
>>> d.shift('UTC')
Delorean(datetime=datetime.datetime(2015, 1, 1, 8, 0), timezone='UTC')
| def shift(self, timezone):
"""
Shifts the timezone from the current timezone to the specified timezone associated with the Delorean object,
modifying the Delorean object and returning the modified object.
.. testsetup::
from datetime import datetime
from delorean import Delorean
.. doctest::
>>> d = Delorean(datetime(2015, 1, 1), timezone='US/Pacific')
>>> d.shift('UTC')
Delorean(datetime=datetime.datetime(2015, 1, 1, 8, 0), timezone='UTC')
"""
try:
self._tzinfo = pytz.timezone(timezone)
except pytz.UnknownTimeZoneError:
raise DeloreanInvalidTimezone('Provide a valid timezone')
self._dt = self._tzinfo.normalize(self._dt.astimezone(self._tzinfo))
self._tzinfo = self._dt.tzinfo
return self
| (self, timezone) | [
0.00036651804111897945,
0.023513859137892723,
0.02701069600880146,
0.03674513101577759,
-0.05534451827406883,
-0.07167568802833557,
-0.029524637386202812,
0.06884041428565979,
-0.008699560537934303,
0.00907759740948677,
-0.0334751158952713,
-0.02408091351389885,
-0.0057603283785283566,
0.07224274426698685,
-0.0036409622989594936,
0.04944715276360512,
-0.06910504400730133,
0.042075444012880325,
-0.016992732882499695,
0.002307202899828553,
0.02077309601008892,
-0.08384845405817032,
0.040298670530319214,
0.019525576382875443,
-0.039466992020606995,
0.046763092279434204,
-0.042491283267736435,
0.017323514446616173,
-0.0013054066803306341,
-0.020111532881855965,
0.010424351319670677,
0.00035913451574742794,
-0.06260281801223755,
0.0050515104085206985,
0.0031778679694980383,
-0.028881974518299103,
-0.06139310076832771,
0.026519248262047768,
0.0074000610038638115,
0.011804183945059776,
-0.0017779520712792873,
0.0036173351109027863,
0.03411777690052986,
0.003175505204126239,
0.04343637451529503,
0.014431537128984928,
0.0020366706885397434,
0.012531904503703117,
0.01048105675727129,
-0.00014383101370185614,
0.030526433140039444,
0.028560644015669823,
0.024043111130595207,
-0.029656950384378433,
-0.0004415346193127334,
-0.014034598134458065,
0.046574074774980545,
0.028768563643097878,
-0.009800591506063938,
-0.001859466196037829,
-0.026727167889475822,
-0.017162848263978958,
-0.038465194404125214,
0.04007184877991676,
0.00503260875120759,
-0.010169177316129208,
-0.029694752767682076,
-0.06702584028244019,
0.05379457026720047,
0.00795766431838274,
-0.005368115846067667,
0.03135811164975166,
0.039051152765750885,
0.0028588997665792704,
0.035705529153347015,
0.023324841633439064,
-0.04967397451400757,
-0.0743219405412674,
0.004567151423543692,
-0.015263216570019722,
-0.05507989227771759,
-0.008250642567873001,
-0.03523298725485802,
0.07031475752592087,
0.03608356788754463,
0.04434366151690483,
0.023381546139717102,
-0.050052009522914886,
0.004394672345370054,
-0.024043111130595207,
0.009616298601031303,
-0.02251206338405609,
-0.005935170222073793,
-0.021245641633868217,
-0.0017543247668072581,
0.04060110077261925,
-0.03449581563472748,
-0.013996794819831848,
-0.04438146576285362,
0.008888578973710537,
0.049825187772512436,
0.032133087515830994,
-0.09224086254835129,
-0.010906348004937172,
0.034609224647283554,
0.040147457271814346,
0.024836987257003784,
0.012191671878099442,
-0.04748136177659035,
-0.011700224131345749,
-0.019412165507674217,
0.02315472438931465,
-0.06619416177272797,
-0.014922983944416046,
0.007442590314894915,
-0.05394578352570534,
-0.014006245881319046,
-0.012201122008264065,
-0.007877332158386707,
0.024364441633224487,
0.009639926254749298,
0.02219073288142681,
0.02546074613928795,
0.030791059136390686,
0.026027800515294075,
0.006232874002307653,
0.032038576900959015,
0.02668936550617218,
0.026632659137248993,
-0.004385221283882856,
-0.006379363127052784,
0.006927515845745802,
-0.04619603976607323,
0.023513859137892723,
-0.010859093628823757,
0.0706549882888794,
0.08263874053955078,
-0.004777434282004833,
-0.06732826679944992,
-0.008675933815538883,
0.029278913512825966,
-0.008089977316558361,
0.108269602060318,
0.050430044531822205,
-0.03067764826118946,
-0.03287025913596153,
-0.04324735701084137,
0.011719126254320145,
-0.030507531017065048,
0.03691524639725685,
0.013013900257647038,
-0.006747948471456766,
0.0029274187982082367,
-0.0009055151604115963,
-0.031339213252067566,
-0.019279852509498596,
-0.05179097503423691,
0.028371626511216164,
-0.024685772135853767,
0.017692100256681442,
-0.07689259201288223,
-0.0049711777828633785,
-0.04963617026805878,
0.02857954613864422,
0.0061430903151631355,
-0.02530953288078308,
0.09413104504346848,
0.004789247643202543,
-0.012201122008264065,
0.0325489267706871,
0.03787923976778984,
-0.010367645882070065,
0.036669522523880005,
0.01107646431773901,
-0.030394120141863823,
-0.0026982342824339867,
-0.008260093629360199,
0.03700975701212883,
-0.01678481325507164,
-0.021018819883465767,
0.05659203976392746,
0.020111532881855965,
-0.046989914029836655,
0.0034354052040725946,
0.03160383552312851,
-0.028503939509391785,
-0.009687180630862713,
0.03631038963794708,
0.034552522003650665,
0.03812496364116669,
0.038635313510894775,
0.022323045879602432,
0.03379644826054573,
-0.014658358879387379,
-0.050430044531822205,
-0.02073529176414013,
-0.038276176899671555,
0.010632271878421307,
-0.023060215637087822,
0.0706549882888794,
-0.06536248326301575,
0.053038496524095535,
0.0371420681476593,
-0.05942730978131294,
0.04963617026805878,
0.04434366151690483,
-0.04619603976607323,
-0.02096211351454258,
-0.048728883266448975,
-0.05012761801481247,
0.0531897097826004,
0.0023615455720573664,
0.05810418352484703,
-0.06025899201631546,
-0.0035346397198736668,
-0.017493631690740585,
-0.050203222781419754,
-0.015301019884645939,
0.06475762277841568,
0.020886506885290146,
-0.0005304322112351656,
-0.014251969754695892,
-0.06271622329950333,
-0.04600702226161957,
0.06592953205108643,
-0.04600702226161957,
-0.024269932880997658,
-0.0733768492937088,
-0.06551369279623032,
-0.09942355006933212,
0.007007848471403122,
-0.06948307901620865,
-0.04234007000923157,
-0.09057750552892685,
0.07817791402339935,
-0.0027029598131775856,
-0.007740293629467487,
-0.03430679813027382,
-0.022738885134458542,
0.020300550386309624,
-0.01222002413123846,
-0.0049759033136069775,
0.04668748751282692,
0.029656950384378433,
-0.016671402379870415,
0.04944715276360512,
-0.021907204762101173,
0.019138088449835777,
0.03961820527911186,
0.02041396126151085,
0.010603918693959713,
-0.027275320142507553,
-0.015716860070824623,
0.05012761801481247,
0.02549855038523674,
-0.018996326252818108,
0.061619922518730164,
0.016340620815753937,
0.008789344690740108,
0.028863074257969856,
-0.025063809007406235,
-0.004052076954394579,
-0.01274927519261837,
-0.07541824877262115,
-0.03058313950896263,
0.02788017876446247,
-0.01091579906642437,
-0.023041313514113426,
0.010178628377616405,
-0.003066819626837969,
0.0417352095246315,
-0.005788681097328663,
-0.015348275192081928,
0.04241567477583885,
-0.02788017876446247,
0.012900489382445812,
-0.05337873101234436,
0.0022315955720841885,
-0.02636803314089775,
-0.03674513101577759,
-0.002596637001261115,
0.005646917503327131,
-0.021718187257647514,
0.03160383552312851,
-0.1266421675682068,
-0.013448642566800117,
0.016179954633116722,
0.05746152251958847,
0.013354132883250713,
0.014100754633545876,
-0.0023107470478862524,
0.02041396126151085,
-0.00025059672771021724,
-0.045742396265268326,
0.00027038456755690277,
0.05999436601996422,
-0.08173145353794098,
0.024251030758023262,
0.03663171827793121,
0.03022400476038456,
-0.028598448261618614,
-0.029052091762423515,
-0.01669030450284481,
0.06339669227600098,
-0.005004256032407284,
0.001574757625348866,
0.016936026513576508,
0.04706552252173424,
-0.02096211351454258,
0.027180811390280724,
0.009587946347892284,
-0.038465194404125214,
-0.04158399626612663,
-0.0028636250644922256,
-0.020395059138536453,
-0.03752010688185692,
0.015546743758022785,
0.022757787257432938,
0.029600244015455246,
0.0756828710436821,
-0.01701163500547409,
-0.055835966020822525,
0.03245441988110542,
0.03086666576564312,
0.027445437386631966,
-0.020300550386309624,
-0.031849559396505356,
0.05186658352613449,
-0.003066819626837969,
0.022134026512503624,
-0.04150838777422905,
-0.048313044011592865,
-0.008864952251315117,
0.01173802837729454,
-0.02067858725786209,
0.04460828751325607,
0.009847845882177353,
-0.02283339388668537,
-0.03145262226462364,
0.04566678777337074,
0.07953884452581406,
0.03649940714240074,
-0.054550640285015106,
-0.03230320289731026,
0.02164257876574993,
0.03995843976736069,
-0.010131373070180416,
0.025233924388885498,
0.017276261001825333,
0.07171349227428436,
0.007707215379923582,
0.008926382288336754,
-0.002153625711798668,
-0.022209635004401207,
-0.002816370688378811,
-0.0012723285472020507,
0.04619603976607323,
-0.0005903863930143416,
-0.014318126253783703,
-0.08150463551282883,
-0.00848691537976265,
-0.04109254851937294,
0.059691935777664185,
-0.025668665766716003,
-0.030488628894090652,
-0.048766687512397766,
-0.060107775032520294,
0.010131373070180416,
0.025971096009016037,
-0.04007184877991676,
-0.013807776384055614,
0.03041302226483822,
0.046347253024578094,
-0.049144722521305084,
-0.008330975659191608,
0.0056799957528710365,
0.06437958776950836,
0.07504021376371384,
-0.06127968803048134,
0.04124376177787781,
0.03931577876210213,
0.00724412128329277,
-0.026500346139073372,
0.05749932676553726,
0.04899350926280022,
0.03228430077433586,
0.026764972135424614,
0.006941691972315311,
0.00465457234531641,
-0.02366507425904274,
0.002283575711771846,
-0.020829802379012108,
0.052358031272888184,
0.012673667632043362,
-0.026953989639878273,
0.0025942742358893156,
-0.048086222261190414,
-0.00619034469127655,
-0.041848622262477875,
0.04060110077261925,
0.059880953282117844,
-0.003381062299013138,
-0.005146019626408815,
0.017805511131882668,
0.04063890501856804,
0.0007141342503018677,
0.006970044691115618,
0.03407997637987137,
-0.029411226511001587,
0.018514329567551613,
-0.007801724597811699,
-0.07148666679859161,
0.005713074002414942,
0.018382016569375992,
-0.0036858541425317526,
-0.026991793885827065,
-0.009578495286405087,
-0.016718655824661255,
0.04513753578066826,
-0.011407245881855488,
0.006544753909111023,
-0.03375864401459694,
-0.05545792728662491,
-0.030602039769291878,
0.04063890501856804,
-0.015291569754481316,
0.019979219883680344,
0.0027289497666060925,
-0.090804323554039,
0.016406776383519173,
0.05795297026634216,
-0.02398640476167202,
0.0403742790222168,
0.009134302847087383,
0.08566302806138992,
0.02646254189312458,
0.043587587773799896,
0.00007464741065632552,
-0.02334374375641346,
0.05678105726838112,
0.07961445301771164,
0.0058453865349292755,
0.01628391444683075,
-0.07772427052259445,
-0.05122392252087593,
0.011180424131453037,
0.04933374002575874,
-0.00862395390868187,
-0.012144416570663452,
0.009512338787317276,
0.05617619678378105,
0.040979139506816864,
0.011577362194657326,
-0.005415370222181082,
-0.058822453022003174,
-0.06290524452924728,
0.015508940443396568,
-0.033777546137571335,
-0.013429740443825722,
0.00940365344285965,
0.01939326338469982,
-0.05477746203541756,
0.03874872252345085,
0.02434553951025009,
0.004628582391887903,
0.04298273101449013,
-0.02646254189312458,
0.003853607689961791,
-0.02209622412919998,
-0.02627352438867092,
0.026216819882392883,
-0.02999718300998211,
-0.04763257876038551,
-0.00290142884477973,
0.009687180630862713,
0.006469146814197302,
-0.052811674773693085,
-0.0210944265127182,
-0.013486445881426334,
0.032586731016635895,
-0.03780363127589226,
-0.018514329567551613,
0.037406694144010544,
-0.003121162299066782,
-0.012201122008264065,
-0.04804841801524162,
0.029089896008372307,
-0.013713267631828785,
0.0008747996762394905,
0.03939138352870941,
-0.01756923831999302,
0.037444498389959335,
-0.05311410501599312,
-0.0022162380628287792,
0.0038252549711614847,
0.018703347072005272,
-0.059880953282117844,
-0.009110675193369389,
0.004699463956058025,
-0.04993859678506851,
-0.015849173069000244,
0.07590969651937485,
-0.03160383552312851,
-0.030488628894090652,
-0.014327576383948326,
0.026027800515294075,
-0.012182220816612244,
-0.01665250025689602,
-0.00489557022228837,
0.029524637386202812,
0.030394120141863823,
0.04286931827664375,
-0.023324841633439064,
0.012144416570663452,
-0.024383343756198883,
0.01847652532160282,
-0.010414901189506054,
0.03220869600772858,
0.005727250128984451,
-0.0082553680986166,
0.038049355149269104,
0.020697489380836487,
0.04910691827535629,
-0.017077790573239326,
0.02444004826247692,
0.038597509264945984,
-0.006847182754427195,
0.011057562194764614,
0.022228535264730453,
0.015036394819617271,
-0.029751459136605263,
-0.028957583010196686,
-0.06071263551712036,
0.03874872252345085,
0.0623759925365448,
0.03417448326945305,
-0.07129765301942825,
-0.010131373070180416,
-0.00809470284730196,
-0.002655705204233527,
-0.04396562650799751,
-0.026065604761242867,
-0.018136292695999146,
0.01687932200729847,
-0.06725266575813293,
0.005391743034124374,
-0.003314906032755971,
-0.04411683976650238,
-0.03797375038266182,
0.04407903552055359,
-0.06502224504947662,
-0.0394291877746582,
0.053000692278146744,
0.11197435855865479,
0.005637466907501221,
0.027993589639663696,
-0.019733496010303497,
0.015159256756305695,
0.04479730501770973,
0.0426424965262413,
-0.002093376126140356,
0.03147152438759804,
0.06936966627836227,
0.04026087000966072,
0.003839431330561638,
-0.012550805695354939,
-0.0019480683840811253,
0.03697195276618004,
-0.013061154633760452,
0.02073529176414013,
-0.0027880179695785046,
0.021340150386095047,
0.031017880886793137,
0.02169928513467312,
-0.05061906576156616,
0.0012368876487016678,
-0.008345152251422405,
0.02137795463204384,
0.025800978764891624,
0.016359521076083183,
-0.05621400102972984,
-0.002382810227572918,
-0.014620554633438587,
-0.07277199625968933,
-0.04608262702822685,
-0.03426899388432503,
0.030072789639234543,
-0.0017921284306794405,
0.021548070013523102,
-0.018656091764569283,
0.008468013256788254,
0.006601459346711636,
-0.019317656755447388,
0.04438146576285362,
-0.009583220817148685,
-0.10819399356842041,
-0.02122673951089382,
-0.03600795939564705,
0.01627446338534355,
-0.010178628377616405,
-0.0206407830119133,
-0.04279371351003647,
0.05844441428780556,
-0.0554957315325737,
0.0210944265127182,
0.05515550076961517,
-0.047027718275785446,
-0.026708265766501427,
-0.02449675463140011,
-0.036858540028333664,
0.006894437596201897,
0.010736231692135334,
0.01861828938126564,
-0.008902755565941334,
-0.0030573687981814146,
-0.05844441428780556,
-0.04211324825882912,
0.00016627692093607038,
-0.07239395380020142,
-0.037992652505636215,
-0.025328433141112328,
0.03285135701298714,
-0.009734435006976128,
-0.0008836599299684167,
-0.0522824227809906,
-0.013061154633760452,
0.023740680888295174,
-0.021718187257647514,
0.03835178539156914,
0.00036326926783658564,
0.0007796999416314065,
-0.00309044704772532,
0.01839146763086319,
-0.07326343655586243,
-0.02948683314025402,
0.006492774002254009,
-0.048955705016851425,
-0.009866748005151749,
0.015414430759847164,
-0.016520187258720398,
-0.005415370222181082,
0.03402327001094818,
0.0394291877746582,
-0.013259624131023884,
-0.08105098456144333,
-0.021359052509069443,
0.012579158879816532,
-0.04740575700998306,
-0.05012761801481247,
-0.02421322651207447,
-0.022077322006225586,
0.08422649651765823,
0.010112471878528595,
0.031433720141649246,
-0.005727250128984451,
-0.029978280887007713,
0.013448642566800117,
0.040790118277072906,
0.022871198132634163,
-0.003019565250724554,
0.05738591402769089,
-0.03407997637987137,
-0.06233818829059601,
-0.013722718693315983,
0.06173333153128624,
0.06846237927675247,
-0.012333435006439686,
0.025989998131990433,
-0.013401388190686703,
-0.013911737129092216,
-0.029467931017279625,
-0.04109254851937294,
0.029411226511001587,
0.009096499532461166,
-0.0028494487050920725,
-0.06793312728404999,
0.004905021283775568,
0.022455357015132904,
-0.02035725675523281,
-0.01622720994055271,
-0.03200077638030052,
0.011407245881855488,
0.045969218015670776,
0.018041783943772316,
-0.02209622412919998,
0.05485307052731514,
0.008283721283078194,
-0.026821676641702652,
-0.003839431330561638,
-0.02379738725721836,
0.10879885405302048,
0.010339293628931046,
-0.03251112252473831,
0.0010201074182987213,
0.023513859137892723,
0.005042059347033501,
-0.03105568327009678,
0.0031873187981545925,
-0.03179285675287247,
0.011038661003112793,
0.04804841801524162,
0.010074667632579803,
0.0421888530254364,
0.008278995752334595,
0.019204245880246162,
0.01595313288271427,
-0.005008981097489595,
0.04113035276532173,
0.04419244825839996,
-0.006833006627857685,
0.04260469228029251,
0.06214917078614235,
0.023324841633439064,
0.01824970357120037,
0.03385315462946892,
-0.04169740527868271,
0.01236178819090128,
0.023003511130809784,
0.004510445985943079,
0.05292508378624916,
-0.02627352438867092,
-0.0637747272849083,
0.006658164784312248,
0.01176638063043356,
0.01665250025689602,
-0.00024587128427810967,
-0.02440224401652813,
-0.012569707818329334,
-0.05515550076961517,
-0.007858430035412312,
-0.056705448776483536,
0.06804654002189636,
0.09776019304990768,
0.0004887891700491309,
0.01461110357195139,
-0.004548249766230583,
-0.06294304877519608,
0.017711002379655838,
0.0325678288936615,
0.02054627425968647,
-0.016255561262369156,
0.014563849195837975,
0.013580954633653164,
0.004281261470168829,
0.013382486067712307,
-0.01564125344157219,
-0.05912487953901291,
-0.005642191972583532,
0.01701163500547409,
0.03090447001159191,
0.016803715378046036,
-0.056932270526885986,
0.0041300468146800995,
-0.02440224401652813,
-0.011719126254320145,
-0.017446376383304596,
-0.032038576900959015,
0.030337415635585785,
0.0076505099423229694,
0.012125515379011631,
-0.0701635405421257,
-0.06589173525571823,
-0.026613757014274597,
0.010244784876704216,
0.0458558052778244,
0.020981015637516975,
0.009677729569375515,
-0.007995468564331532
] |
21,587 | delorean.dates | truncate |
Truncate the delorian object to the nearest s
(second, minute, hour, day, month, year)
This is a destructive method, modifies the internal datetime
object associated with the Delorean object.
.. testsetup::
from datetime import datetime
from delorean import Delorean
.. doctest::
>>> d = Delorean(datetime(2015, 1, 1, 12, 10), timezone='US/Pacific')
>>> d.truncate('hour')
Delorean(datetime=datetime.datetime(2015, 1, 1, 12, 0), timezone='US/Pacific')
| def truncate(self, s):
"""
Truncate the delorian object to the nearest s
(second, minute, hour, day, month, year)
This is a destructive method, modifies the internal datetime
object associated with the Delorean object.
.. testsetup::
from datetime import datetime
from delorean import Delorean
.. doctest::
>>> d = Delorean(datetime(2015, 1, 1, 12, 10), timezone='US/Pacific')
>>> d.truncate('hour')
Delorean(datetime=datetime.datetime(2015, 1, 1, 12, 0), timezone='US/Pacific')
"""
if s == 'second':
self._dt = self._dt.replace(microsecond=0)
elif s == 'minute':
self._dt = self._dt.replace(second=0, microsecond=0)
elif s == 'hour':
self._dt = self._dt.replace(minute=0, second=0, microsecond=0)
elif s == 'day':
self._dt = self._dt.replace(hour=0, minute=0, second=0, microsecond=0)
elif s == 'month':
self._dt = self._dt.replace(day=1, hour=0, minute=0, second=0, microsecond=0)
elif s == 'year':
self._dt = self._dt.replace(month=1, day=1, hour=0, minute=0, second=0, microsecond=0)
else:
raise ValueError("Invalid truncation level")
return self
| (self, s) | [
-0.010487559251487255,
0.0414239801466465,
0.05397897586226463,
0.023493636399507523,
-0.011248752474784851,
-0.06059478595852852,
-0.022516300901770592,
0.0655190497636795,
0.009848532266914845,
-0.0222155824303627,
-0.03909340873360634,
0.007043391931802034,
0.0187385231256485,
0.004708124790340662,
-0.00943034514784813,
0.05131009966135025,
-0.02123824693262577,
0.056459903717041016,
-0.013203423470258713,
-0.0026500821113586426,
0.07258594036102295,
-0.028098387643694878,
-0.02191486395895481,
0.0048725800588727,
-0.04420562461018562,
0.05296405404806137,
0.016426749527454376,
0.0444311648607254,
0.008669151924550533,
-0.07074403762817383,
0.054655592888593674,
0.06277499347925186,
-0.03150026872754097,
0.035259246826171875,
0.003639164147898555,
-0.04003315418958664,
-0.011991151608526707,
0.012846319936215878,
-0.034225527197122574,
0.05443005636334419,
-0.06777443736791611,
-0.0004801511822734028,
0.028624646365642548,
0.008871196769177914,
0.004924266133457422,
0.011972356587648392,
0.03180098533630371,
0.06623325496912003,
-0.00966058298945427,
0.038172461092472076,
-0.01992260292172432,
0.04277721047401428,
0.018127689138054848,
-0.015562184154987335,
-0.05085902288556099,
0.00946793518960476,
0.03110557422041893,
0.07705912739038467,
0.007781092077493668,
-0.045897167176008224,
-0.00508872140198946,
0.012536204420030117,
-0.005784132983535528,
0.007071584463119507,
-0.009214203804731369,
0.018400216475129128,
0.007682418916374445,
-0.026538411155343056,
0.01489496510475874,
0.008561081252992153,
0.011474291794002056,
-0.010496956296265125,
-0.015656158328056335,
0.023888329043984413,
0.03864233195781708,
0.013015474192798138,
-0.05341513082385063,
-0.017112763598561287,
0.026181308552622795,
-0.03730789199471474,
0.00959010235965252,
0.011568265967071056,
0.015252068638801575,
0.047137629240751266,
0.02176450379192829,
-0.03125593438744545,
0.027572130784392357,
-0.014613041654229164,
0.013222218491137028,
0.04394249618053436,
-0.016962405294179916,
0.012517409399151802,
0.026106128469109535,
-0.026444436982274055,
-0.03187616541981697,
0.06003093719482422,
-0.057625189423561096,
-0.012019343674182892,
0.001446033245883882,
-0.03939412906765938,
0.04984409734606743,
0.03050413727760315,
-0.02185847796499729,
0.0017303063068538904,
-0.01962188445031643,
0.010957431979477406,
0.04119843989610672,
-0.036180198192596436,
-0.024226637557148933,
0.007057487964630127,
-0.06799998134374619,
-0.01906743459403515,
-0.03843558952212334,
-0.012113318778574467,
-0.017404085025191307,
-0.03883028030395508,
-0.013898834586143494,
-0.03029739297926426,
-0.01561856921762228,
-0.03230844810605049,
-0.003639164147898555,
-0.0003001311852131039,
-0.027797669172286987,
-0.01029960997402668,
0.04413044452667236,
0.027496950700879097,
0.0003532855480443686,
-0.00028265779837965965,
0.04213818535208702,
-0.014161963947117329,
-0.04044664278626442,
0.055858466774225235,
0.017592035233974457,
0.005713652353733778,
0.03104918822646141,
-0.00519679207354784,
-0.003220977494493127,
0.07596901804208755,
-0.05510667338967323,
0.03099280409514904,
-0.005727748386561871,
-0.009341069497168064,
0.03772138059139252,
0.014312323182821274,
0.012320062145590782,
-0.013955219648778439,
-0.0044919829815626144,
-0.03268434479832649,
-0.030222212895751,
0.10735651850700378,
-0.058602526783943176,
-0.0023399661295115948,
0.05085902288556099,
0.00721724471077323,
-0.00384355871938169,
-0.05333995074033737,
-0.018343830481171608,
-0.000007245400411193259,
-0.019048640504479408,
0.008095907047390938,
-0.009604197926819324,
-0.02063680998980999,
0.00542702991515398,
-0.03852956369519234,
-0.010459366254508495,
-0.03187616541981697,
0.044468753039836884,
-0.025279151275753975,
0.018550574779510498,
0.03931894898414612,
0.06097068265080452,
0.057474829256534576,
0.06762408465147018,
0.017441675066947937,
-0.012395242229104042,
0.009106133133172989,
0.024320611730217934,
0.012865114957094193,
-0.010196237824857235,
-0.03317301347851753,
0.05221225693821907,
0.016220005229115486,
-0.07157101482152939,
0.04894194379448891,
-0.007682418916374445,
0.02903813309967518,
-0.045746807008981705,
0.0015435318928211927,
-0.04954338073730469,
-0.02022332139313221,
0.035823095589876175,
-0.0014436838682740927,
0.025673845782876015,
-0.015674954280257225,
0.012432832270860672,
0.024076277390122414,
-0.005431728437542915,
-0.025636255741119385,
0.03319180756807327,
0.027515746653079987,
-0.1063791811466217,
0.06221114844083786,
0.025354331359267235,
-0.08690765500068665,
0.057587601244449615,
0.03300385922193527,
0.025166383013129234,
0.023512430489063263,
-0.1363006830215454,
-0.006150634028017521,
0.015064119361341,
-0.02073078416287899,
0.03830402344465256,
-0.03187616541981697,
0.005962684750556946,
-0.0772094875574112,
-0.009801545180380344,
-0.012724152766168118,
0.012273075059056282,
-0.002230720827355981,
-0.03005305863916874,
-0.016990598291158676,
0.03029739297926426,
-0.023775558918714523,
0.058113858103752136,
-0.025091202929615974,
-0.03946930915117264,
-0.04251408204436302,
0.02101270854473114,
-0.09592921286821365,
0.007095078006386757,
-0.07108234614133835,
-0.055595338344573975,
-0.03424432501196861,
0.038097281008958817,
-0.05183635652065277,
-0.006681589875370264,
-0.05052071437239647,
0.024846868589520454,
-0.056760624051094055,
0.00013185803254600614,
-0.008297951892018318,
-0.015815915539860725,
0.04879158362746239,
-0.017610829323530197,
-0.05367825925350189,
-0.05961744859814644,
0.036744046956300735,
-0.006009671837091446,
-0.007621335331350565,
-0.00548811350017786,
-0.02001657709479332,
0.03347373381257057,
0.04860363528132439,
0.08104364573955536,
0.01988501287996769,
-0.0008369607967324555,
0.011493086814880371,
-0.04379213601350784,
-0.013757873326539993,
-0.003942232113331556,
-0.02950800582766533,
-0.02202763222157955,
0.013325590640306473,
-0.015440016984939575,
-0.008001931942999363,
-0.013428961858153343,
-0.02924487739801407,
0.03368047624826431,
-0.008218074217438698,
-0.04296516254544258,
0.006780263502150774,
-0.0395444892346859,
-0.026406846940517426,
-0.017056379467248917,
0.056084007024765015,
-0.0025819505099207163,
-0.04364177957177162,
0.008932280354201794,
0.018588164821267128,
-0.02022332139313221,
-0.026030948385596275,
-0.0032844103407114744,
0.0387926921248436,
-0.0427396222949028,
0.02182088978588581,
-0.0024950241204351187,
0.013776668347418308,
-0.005069926381111145,
0.04458152502775192,
-0.03290988504886627,
-0.009439743123948574,
0.017770586535334587,
0.008058317005634308,
-0.03772138059139252,
0.02172691375017166,
-0.027064668014645576,
-0.036499712616205215,
0.029056929051876068,
-0.07484132796525955,
-0.03059811145067215,
-0.034056372940540314,
-0.03185737133026123,
0.05021999403834343,
0.00495715718716383,
-0.023982303217053413,
0.03099280409514904,
-0.016614699736237526,
0.046348243951797485,
0.025016022846102715,
-0.023756764829158783,
-0.0595046803355217,
-0.016220005229115486,
0.005878107622265816,
0.008415420539677143,
0.013748475350439548,
-0.008993363939225674,
0.0442432165145874,
-0.037928126752376556,
0.10156768560409546,
-0.04078495129942894,
-0.006766167003661394,
0.008077112026512623,
0.02133222110569477,
0.022196786478161812,
-0.07969041168689728,
-0.01906743459403515,
0.057625189423561096,
-0.0066674938425421715,
0.012865114957094193,
-0.0621359683573246,
-0.02986511029303074,
0.03379324451088905,
-0.03946930915117264,
-0.0033924810122698545,
-0.004905471112579107,
0.0429275706410408,
-0.014246541075408459,
0.007311219349503517,
0.035672735422849655,
0.056572675704956055,
0.0381348691880703,
-0.026237692683935165,
-0.0015635014278814197,
0.023982303217053413,
0.04304034262895584,
0.04089771956205368,
-0.02135101705789566,
0.0790889784693718,
0.014058591797947884,
0.03204531967639923,
0.017018789425492287,
-0.02954559586942196,
-0.045746807008981705,
0.05134769156575203,
-0.007781092077493668,
0.04112325981259346,
0.035296838730573654,
-0.016436148434877396,
-0.05822662636637688,
0.012742947787046432,
0.012414037249982357,
0.017996124923229218,
-0.046085115522146225,
0.003173990175127983,
-0.02229076251387596,
-0.03330457955598831,
-0.022910993546247482,
0.00046488031512126327,
-0.003639164147898555,
-0.04063459113240242,
-0.01548700500279665,
0.06612049043178558,
-0.0662708505988121,
0.03905582055449486,
0.03313542529940605,
-0.005074625369161367,
0.07288665324449539,
-0.05976780876517296,
0.03319180756807327,
0.05973022058606148,
-0.01932116597890854,
-0.005253177136182785,
0.05848975479602814,
0.014537861570715904,
-0.00131446891464293,
0.024358201771974564,
-0.0212758369743824,
-0.01022442989051342,
0.017629623413085938,
-0.007790489587932825,
-0.045032601803541183,
0.013786065392196178,
0.06724818050861359,
-0.0293764416128397,
0.03901822865009308,
-0.046836912631988525,
-0.02135101705789566,
-0.03016582876443863,
0.05544498190283775,
0.057399649173021317,
-0.018559971824288368,
-0.011521278880536556,
0.05446764454245567,
0.012714755721390247,
0.016896622255444527,
0.03811607509851456,
0.017375893890857697,
-0.045295730233192444,
0.07619456201791763,
0.022516300901770592,
-0.047400761395692825,
-0.012141510844230652,
0.035879481583833694,
0.06863900274038315,
-0.006277499254792929,
-0.017808176577091217,
-0.007306520827114582,
0.005741844419389963,
-0.04134880006313324,
-0.02172691375017166,
-0.03939412906765938,
-0.00996130146086216,
0.011427304707467556,
0.035052504390478134,
0.0041466266848146915,
0.045596446841955185,
-0.004383912310004234,
-0.0625118687748909,
0.023437250405550003,
0.011323932558298111,
-0.028887774795293808,
-0.05266333371400833,
-0.024019893258810043,
0.046310655772686005,
0.04980650916695595,
0.013363179750740528,
0.013250410556793213,
-0.013729680329561234,
-0.008354336954653263,
0.024019893258810043,
0.034695401787757874,
0.03753343224525452,
-0.034826964139938354,
0.02969595603644848,
-0.02217799238860607,
0.027666104957461357,
0.016210608184337616,
-0.05127251148223877,
-0.00501824077218771,
0.03913100063800812,
0.00966058298945427,
0.022835813462734222,
-0.002241292968392372,
-0.027572130784392357,
-0.09359864145517349,
-0.017244327813386917,
0.018747922033071518,
-0.018456600606441498,
0.009580704383552074,
0.0030142334289848804,
0.024828074499964714,
0.002462133066728711,
-0.02084355428814888,
-0.00740049546584487,
0.09577885270118713,
0.002814537612721324,
-0.036800432950258255,
-0.05510667338967323,
-0.03123713843524456,
0.05864011496305466,
-0.035033710300922394,
-0.014998337253928185,
0.04755111783742905,
-0.0034582631196826696,
-0.023380866274237633,
-0.008528189733624458,
0.03193255141377449,
0.04063459113240242,
0.009134325198829174,
0.029940290376544,
-0.008326144888997078,
0.02026091143488884,
-0.017939740791916847,
0.004928964655846357,
-0.012179100885987282,
-0.014114975929260254,
-0.015214478597044945,
0.0027886945754289627,
0.007837477140128613,
-0.0029484513215720654,
0.0310679841786623,
-0.02152017131447792,
-0.044919829815626144,
-0.0035052504390478134,
-0.011944164521992207,
-0.05886565521359444,
-0.027384182438254356,
0.009157819673418999,
-0.02948921173810959,
-0.01999778300523758,
0.02159534953534603,
-0.006042563356459141,
-0.028417902067303658,
0.03195134550333023,
0.056873392313718796,
-0.028549466282129288,
0.025053612887859344,
-0.03210170567035675,
-0.05221225693821907,
-0.013635706156492233,
0.006550025660544634,
-0.023061353713274002,
0.0660829022526741,
0.0010836439905688167,
-0.002706466941162944,
0.015054721385240555,
-0.015909889712929726,
0.02101270854473114,
-0.034977324306964874,
-0.014876170083880424,
0.03059811145067215,
-0.025128792971372604,
0.0047715576365590096,
-0.016266994178295135,
-0.037758972495794296,
-0.01960309036076069,
0.014114975929260254,
0.028925364837050438,
0.0012839272385463119,
0.02007296308875084,
-0.012940295040607452,
-0.02148258127272129,
0.03024100884795189,
0.08344939351081848,
0.05104697123169899,
-0.11291980743408203,
-0.05773795768618584,
0.03125593438744545,
0.0387926921248436,
-0.048265326768159866,
-0.04195023700594902,
-0.0016480785561725497,
-0.012056933715939522,
-0.034300707280635834,
-0.002323520602658391,
0.04984409734606743,
0.03787174075841904,
0.010440572164952755,
0.035879481583833694,
-0.06315089017152786,
-0.04476947337388992,
0.07536758482456207,
0.056760624051094055,
-0.05258815363049507,
-0.009012158960103989,
-0.0395444892346859,
-0.03386842459440231,
0.013137641362845898,
0.004985349718481302,
-0.018052509054541588,
0.01933996006846428,
0.13419564068317413,
0.06187283992767334,
-0.034375887364149094,
0.024038687348365784,
0.016060249879956245,
0.025523485615849495,
-0.055332209914922714,
0.028098387643694878,
-0.024283021688461304,
0.03946930915117264,
-0.029132109135389328,
0.018221663311123848,
-0.057399649173021317,
0.047212809324264526,
-0.012893307022750378,
-0.018531780689954758,
-0.0019440983887761831,
0.0379469208419323,
-0.0021743359975516796,
0.008373131975531578,
0.00185599725227803,
-0.058452166616916656,
-0.0051169139333069324,
-0.02997787855565548,
0.025843000039458275,
-0.01016804575920105,
-0.023587610572576523,
-0.018437804654240608,
0.023418456315994263,
-0.014161963947117329,
-0.03787174075841904,
-0.004484935197979212,
-0.0006290421006269753,
-0.0621359683573246,
-0.016266994178295135,
-0.04905471205711365,
0.011671638116240501,
0.027421772480010986,
-0.0406721830368042,
-0.024508560076355934,
-0.04247649386525154,
0.05446764454245567,
-0.007527360692620277,
0.024057483300566673,
0.057963497936725616,
0.024828074499964714,
-0.026632385328412056,
-0.05315200239419937,
0.008011329919099808,
0.04390490800142288,
-0.005253177136182785,
0.024564946070313454,
0.011342727579176426,
-0.04841568320989609,
0.02120065689086914,
-0.07074403762817383,
-0.014030399732291698,
-0.07108234614133835,
-0.054655592888593674,
0.0610082745552063,
-0.007950246334075928,
0.010797674767673016,
-0.030128238722682,
0.024828074499964714,
0.0038717512506991625,
-0.013015474192798138,
-0.014970145188272,
-0.07886343449354172,
-0.008603369817137718,
-0.00996130146086216,
-0.017629623413085938,
0.00011812894081231207,
-0.09690655022859573,
0.04815255478024483,
-0.036180198192596436,
-0.016220005229115486,
0.026294076815247536,
0.024677714332938194,
0.0764576867222786,
-0.012752345763146877,
0.0417998768389225,
0.018362626433372498,
-0.05179876834154129,
0.006634602788835764,
0.013334987685084343,
-0.00519679207354784,
-0.07236039638519287,
0.00962299294769764,
-0.02191486395895481,
0.0619480200111866,
0.03871751204133034,
-0.03072967566549778,
-0.017582636326551437,
-0.023380866274237633,
0.03939412906765938,
-0.04341623932123184,
0.0073159183375537395,
0.01518628653138876,
0.04074736312031746,
-0.06014370918273926,
-0.026914309710264206,
0.0020921083632856607,
0.07081921398639679,
0.0034653113689273596,
-0.04341623932123184,
0.04995686560869217,
0.013870642520487309,
0.0017338303150609136,
-0.01920839585363865,
-0.03905582055449486,
0.04458152502775192,
0.00043375123641453683,
0.017375893890857697,
-0.04924266040325165,
0.03924376890063286,
0.07269870489835739,
-0.006620506756007671,
0.003329048166051507,
0.016520725563168526,
0.008889991790056229,
0.0020592170767486095,
-0.01881370320916176,
0.004877278581261635,
0.05164840817451477,
-0.04988168925046921,
-0.0018348529702052474,
-0.024602536112070084,
-0.0107318926602602,
0.08149472624063492,
-0.0634516105055809,
-0.06172247976064682,
-0.02986511029303074,
0.016454942524433136,
-0.03054172731935978,
-0.05815144628286362,
0.02238473668694496,
0.0066299038007855415,
0.00271351495757699,
0.06548146158456802,
0.044731881469488144,
0.004203011281788349,
-0.02148258127272129,
0.02097511850297451,
-0.04070977121591568,
0.015082914382219315,
0.037439458072185516,
0.06070755422115326,
0.013710886240005493,
0.05307682231068611,
0.11254391074180603,
0.02078716829419136,
-0.004943061154335737,
0.04157433658838272,
-0.027609720826148987,
-0.017554445192217827,
-0.009073242545127869,
0.008152291178703308,
0.07570589333772659,
0.008603369817137718,
-0.047363169491291046,
0.03168821707367897,
0.037383072078228,
-0.044882241636514664,
0.00548811350017786,
-0.01102321408689022,
0.02135101705789566,
-0.012930897064507008,
-0.035616353154182434,
-0.06247427687048912,
0.009265890344977379,
0.03118075430393219,
-0.01911442168056965,
0.028549466282129288,
0.014049193821847439,
0.000835198734421283,
0.013081256300210953,
0.08457709103822708,
-0.0005506320740096271,
-0.045821987092494965,
0.008330843411386013,
-0.011962959542870522,
-0.027421772480010986,
-0.028305131942033768,
-0.01916140876710415,
-0.025692639872431755,
0.03828522935509682,
-0.014331118203699589,
0.02988390438258648,
0.00506522785872221,
-0.0657069981098175,
-0.03984520584344864,
-0.035353224724531174,
0.014406297355890274,
-0.04138638824224472,
-0.07221003621816635,
0.010703700594604015,
0.0035616352688521147,
0.022760635241866112,
0.03441347926855087,
-0.04018351435661316,
0.017319507896900177,
0.07149583101272583,
0.02911331318318844,
0.046761732548475266,
-0.010788277722895145,
0.036950789391994476
] |
21,588 | delorean.exceptions | DeloreanInvalidDatetime |
Exception that is raised when an improper datetime object is passed
in.
| class DeloreanInvalidDatetime(DeloreanError):
"""
Exception that is raised when an improper datetime object is passed
in.
"""
pass
| (msg) | [
0.009768621064722538,
0.01527069229632616,
0.04166996851563454,
0.06705594062805176,
-0.04831867292523384,
-0.07317132502794266,
-0.026559270918369293,
0.048887547105550766,
0.02008833736181259,
-0.035270143300294876,
0.022452717646956444,
0.015501797199249268,
0.012124111875891685,
0.01686175912618637,
-0.02716369926929474,
0.047643136233091354,
-0.03470126911997795,
0.06947364658117294,
-0.016435105353593826,
-0.011413020081818104,
-0.034132398664951324,
-0.049954187124967575,
-0.0375811904668808,
0.03864783048629761,
-0.008053112775087357,
0.12180998921394348,
-0.0007888672407716513,
0.015110696665942669,
-0.013759622350335121,
-0.04298548772931099,
-0.012381882406771183,
0.044407669454813004,
-0.020603878423571587,
0.05582069233059883,
0.0025754848029464483,
-0.025723738595843315,
-0.03045249730348587,
0.03479015827178955,
-0.1319786012172699,
0.05674511194229126,
-0.0716780349612236,
0.004019889514893293,
-0.010888590477406979,
0.015395132824778557,
0.02727036364376545,
-0.02849699556827545,
-0.026950372382998466,
0.03875449299812317,
-0.11391687393188477,
0.03434572368860245,
0.012301884591579437,
-0.02527930587530136,
0.04209662228822708,
-0.000004878338586422615,
-0.028941428288817406,
0.06406935304403305,
0.046825382858514786,
0.1159079298377037,
-0.019359469413757324,
0.0023021590895950794,
-0.02506597898900509,
0.05333187058568001,
0.0040443334728479385,
-0.03768785670399666,
-0.020390551537275314,
0.016017338261008263,
-0.005293188150972128,
-0.03340352699160576,
-0.009324188344180584,
0.04383879899978638,
0.03711898252367973,
0.04536764323711395,
-0.034061286598443985,
0.05589180067181587,
0.11000587046146393,
-0.035074591636657715,
-0.09315299987792969,
0.03153691440820694,
-0.010621930472552776,
0.0049509755335748196,
0.012266330420970917,
-0.041954405605793,
-0.02515486627817154,
0.0379367358982563,
0.022523825988173485,
-0.051056377589702606,
-0.00580872967839241,
-0.025474857538938522,
-0.031074702739715576,
0.031128035858273506,
-0.036194562911987305,
-0.02942141517996788,
-0.028799209743738174,
0.022754931822419167,
-0.02303936891257763,
0.04856755584478378,
0.002431044355034828,
-0.02835477702319622,
-0.018612822517752647,
-0.026879262179136276,
0.049954187124967575,
0.0013621848775073886,
-0.04846089333295822,
-0.031910236924886703,
-0.019395023584365845,
-0.02611484006047249,
0.018061727285385132,
-0.045758746564388275,
-0.0047776466235518456,
-0.03429239243268967,
-0.06542042642831802,
0.004817645531147718,
-0.05884283035993576,
0.010675262659788132,
-0.004608762450516224,
-0.01779506728053093,
0.024408219382166862,
0.014621821232140064,
-0.023626018315553665,
0.01304853055626154,
0.03230133652687073,
0.011866341345012188,
-0.038327839225530624,
0.04942086711525917,
0.05358075350522995,
-0.0038776714354753494,
-0.0176528487354517,
0.004853200167417526,
0.06979364156723022,
0.003871005028486252,
-0.014364050701260567,
0.05390074476599693,
-0.020354997366666794,
-0.011750788427889347,
-0.025474857538938522,
0.03665677085518837,
0.043483249843120575,
0.01417738851159811,
-0.0611894316971302,
-0.017315080389380455,
0.01676398515701294,
0.02714592218399048,
0.06591819226741791,
-0.005128748249262571,
0.018506158143281937,
0.008288661949336529,
-0.06115387752652168,
-0.018221722915768623,
-0.047678690403699875,
0.1003350242972374,
0.014328495599329472,
0.0015232915757223964,
0.008635318838059902,
0.011573015712201595,
-0.009137527085840702,
-0.07352687418460846,
0.00021110531815793365,
-0.05329631641507149,
-0.012355216778814793,
0.005075416527688503,
-0.037438973784446716,
-0.06648706644773483,
0.03690565377473831,
0.01674620807170868,
0.030790265649557114,
0.02300381287932396,
0.0442298986017704,
-0.06616707146167755,
-0.0004672094073612243,
0.024319332093000412,
-0.00131440837867558,
0.027768127620220184,
-0.013119639828801155,
0.010221941396594048,
-0.0037710077594965696,
-0.0263103898614645,
0.018630599603056908,
0.05560736358165741,
-0.0018577268347144127,
-0.008017557673156261,
0.0800689160823822,
0.020195001736283302,
-0.05219412222504616,
0.04017667472362518,
0.04280771315097809,
0.01665732078254223,
-0.042381059378385544,
0.01585734263062477,
0.006519821006804705,
0.028799209743738174,
0.019288359209895134,
0.023323804140090942,
0.005026528611779213,
0.02207939513027668,
0.015910673886537552,
-0.036123454570770264,
-0.04700315371155739,
0.007519793696701527,
0.04270105063915253,
0.05631845444440842,
-0.03377684950828552,
0.056211791932582855,
0.005884283222258091,
-0.10595265030860901,
0.03393684700131416,
0.03274576738476753,
-0.03491459786891937,
-0.056176237761974335,
-0.06424712389707565,
-0.04398101568222046,
-0.006746481638401747,
-0.030612492933869362,
0.0019510575802996755,
0.03349241614341736,
0.017066199332475662,
-0.07672678679227829,
0.04970530420541763,
-0.031003594398498535,
-0.015492908656597137,
0.023928232491016388,
0.06598930060863495,
0.013057420030236244,
0.014559600502252579,
-0.06470933556556702,
0.11270801723003387,
-0.017252860590815544,
0.009235301986336708,
-0.04223884269595146,
-0.026417052373290062,
-0.0694025382399559,
-0.025652630254626274,
-0.05333187058568001,
-0.0522652342915535,
-0.012319661676883698,
0.014630709774792194,
0.02094164863228798,
0.022523825988173485,
-0.05738509073853493,
-0.017412856221199036,
-0.00891086645424366,
-0.0048220898024737835,
-0.037332307547330856,
-0.022399386391043663,
0.02632816694676876,
0.019412800669670105,
-0.031288031488657,
-0.01257743313908577,
0.05898504704236984,
-0.07686900347471237,
0.012932978570461273,
-0.011244135908782482,
-0.030025843530893326,
-0.03343908116221428,
0.029919179156422615,
0.028034785762429237,
-0.019466131925582886,
0.01671954058110714,
-0.04227439686655998,
0.03495015203952789,
-0.018595045432448387,
0.010444157756865025,
0.03889670968055725,
-0.04408767819404602,
0.04010556638240814,
-0.03263910487294197,
-0.01900392398238182,
0.0012721873354166746,
-0.00891975499689579,
0.03651455417275429,
0.010710817761719227,
0.08454879373311996,
0.03879004716873169,
-0.04216773062944412,
0.009706400334835052,
-0.06054944917559624,
-0.0028688102029263973,
-0.010915256105363369,
-0.004519876092672348,
-0.02104831114411354,
0.024834875017404556,
-0.0240348968654871,
-0.02311047725379467,
-0.005857617128640413,
0.02935030683875084,
-0.07942893356084824,
-0.001286631333641708,
-0.019590573385357857,
0.017368411645293236,
-0.044620998203754425,
0.047749802470207214,
-0.008048668503761292,
-0.0293680839240551,
0.042665496468544006,
-0.018630599603056908,
-0.016399549320340157,
0.04728759080171585,
-0.002551041077822447,
-0.011839674785733223,
0.0031888014636933804,
-0.0179195087403059,
0.008195330388844013,
0.04700315371155739,
-0.018061727285385132,
0.002156607573851943,
-0.047785356640815735,
-0.06808701902627945,
0.03571457415819168,
0.005417629145085812,
-0.023803791031241417,
-0.03029250167310238,
0.022346053272485733,
-0.021812735125422478,
-0.03690565377473831,
0.006159830838441849,
0.02113719843327999,
0.0417766310274601,
-0.0012399660190567374,
-0.019679460674524307,
0.03258577361702919,
0.09158860146999359,
-0.028070341795682907,
-0.002209939295426011,
0.04312770441174507,
-0.031216921284794807,
-0.009110861457884312,
-0.013795177452266216,
0.001399961649440229,
0.06168719753623009,
-0.01790173165500164,
0.04714537411928177,
-0.0141151687130332,
-0.04220328852534294,
0.017208416014909744,
-0.002066609915345907,
-0.011101917363703251,
-0.004604318179190159,
0.031056925654411316,
-0.011439686641097069,
0.040247783064842224,
0.03027472458779812,
0.04952752962708473,
0.026932595297694206,
-0.008017557673156261,
-0.0026577049866318703,
0.026505939662456512,
-0.016435105353593826,
-0.03336797282099724,
-0.014959589578211308,
0.07864673435688019,
0.046647608280181885,
-0.053118541836738586,
0.08213108032941818,
-0.07502016425132751,
-0.003453238634392619,
0.0313769169151783,
-0.022808263078331947,
0.033119089901447296,
-0.014488491229712963,
-0.016399549320340157,
-0.040390003472566605,
-0.004048777744174004,
-0.017395079135894775,
0.019252805039286613,
-0.04110109433531761,
-0.03701231628656387,
-0.01054193265736103,
0.013537405990064144,
-0.058451730757951736,
0.0313769169151783,
-0.00418655201792717,
-0.015421799384057522,
0.014879591763019562,
-0.0005927614984102547,
-0.059269484132528305,
0.011306356638669968,
0.004973196890205145,
0.01781284436583519,
0.08277106285095215,
-0.07701122015714645,
0.06801591068506241,
0.02207939513027668,
-0.016417328268289566,
-0.01978612318634987,
-0.003922114614397287,
-0.0009194192243739963,
-0.016177333891391754,
0.019163919612765312,
0.03388351574540138,
-0.02200828492641449,
0.025830402970314026,
-0.014950701035559177,
-0.07174914330244064,
0.01987501047551632,
0.013910729438066483,
-0.05055861175060272,
-0.03057693876326084,
-0.0038110066670924425,
-0.010319717228412628,
-0.03587457165122032,
-0.01671954058110714,
0.001994389807805419,
0.022292722016572952,
-0.04383879899978638,
0.01148412935435772,
0.054042961448431015,
0.024514883756637573,
0.02618594840168953,
0.008013113401830196,
-0.03711898252367973,
0.025883734226226807,
0.038256727159023285,
-0.05219412222504616,
-0.00886642374098301,
0.0006805369048379362,
0.01304853055626154,
0.0015366245061159134,
-0.062576062977314,
-0.04426545277237892,
0.01575067825615406,
-0.0501675121486187,
0.013412965461611748,
-0.017128419131040573,
0.012452991679310799,
0.013670735992491245,
0.016150668263435364,
0.0187905952334404,
-0.013368521817028522,
0.0110574746504426,
0.0022754932288080454,
-0.012906312942504883,
0.046718716621398926,
0.017430633306503296,
-0.061331652104854584,
-0.07029140740633011,
0.01875504106283188,
-0.025403747335076332,
-0.035056814551353455,
0.000035867073165718466,
0.021528298035264015,
0.055038489401340485,
0.009741955436766148,
0.029972510412335396,
0.09798842668533325,
0.01889725960791111,
0.042558833956718445,
-0.06865589320659637,
0.03797229006886482,
0.01882614940404892,
0.017146196216344833,
0.0013077418552711606,
-0.012995199300348759,
0.006648706737905741,
0.030914707109332085,
-0.03454127535223961,
-0.03470126911997795,
-0.05247855931520462,
-0.05219412222504616,
-0.0006299827364273369,
0.011750788427889347,
0.01414183434098959,
-0.00019318914564792067,
0.0313769169151783,
-0.05574958026409149,
-0.03911003842949867,
-0.0028154782485216856,
0.04127886891365051,
-0.0009755287901498377,
-0.03857671841979027,
-0.025528188794851303,
-0.003224356099963188,
0.0017177306581288576,
-0.008257551118731499,
0.006759814452379942,
-0.025794848799705505,
-0.03694120794534683,
0.007524237968027592,
0.0034221282694488764,
0.018559491261839867,
0.0316435769200325,
-0.008870868012309074,
0.024372665211558342,
-0.012221886776387691,
0.010773037560284138,
0.005288743879646063,
0.006830923724919558,
-0.04209662228822708,
-0.03797229006886482,
-0.0131996376439929,
-0.03975002095103264,
0.022470494732260704,
0.0007733121165074408,
-0.03697676211595535,
0.002084387233480811,
-0.012932978570461273,
0.02295048162341118,
-0.003784340573474765,
-0.06104721501469612,
0.021848289296030998,
0.011750788427889347,
-0.010710817761719227,
-0.009546404704451561,
0.005222078878432512,
0.004184329882264137,
-0.020550547167658806,
0.05109193176031113,
-0.010710817761719227,
0.04415879026055336,
0.011768566444516182,
0.04373213276267052,
-0.04959863796830177,
-0.03279909864068031,
0.03964335843920708,
0.04383879899978638,
0.05813173949718475,
0.02613261714577675,
-0.0027799238450825214,
0.01259521022439003,
0.04629206284880638,
0.03212356194853783,
0.012719650752842426,
0.01695953495800495,
0.042487721890211105,
0.04515431821346283,
-0.04380324110388756,
0.01804395020008087,
-0.019626127555966377,
-0.026008175686001778,
-0.02296825870871544,
0.02309270016849041,
0.024941537529230118,
0.05955392122268677,
-0.022808263078331947,
0.055251818150281906,
0.020266110077500343,
0.019803902134299278,
0.016559544950723648,
-0.06197163462638855,
-0.011679679155349731,
-0.04646983742713928,
0.0336524099111557,
-0.01410628017038107,
0.02090609259903431,
0.027963677421212196,
0.01673731952905655,
-0.012230775319039822,
-0.025830402970314026,
0.004746536258608103,
0.030985817313194275,
-0.07210469245910645,
0.030665826052427292,
-0.015955118462443352,
-0.042594388127326965,
0.055109597742557526,
0.07850451022386551,
-0.025581520050764084,
0.02609706111252308,
0.031003594398498535,
0.05269188806414604,
0.050807494670152664,
-0.020266110077500343,
-0.018186166882514954,
-0.005204301793128252,
0.041954405605793,
0.015528462827205658,
-0.061331652104854584,
-0.010844146832823753,
0.004346547648310661,
0.010266385041177273,
-0.04639872908592224,
0.04742981120944023,
-0.028781432658433914,
0.013332967646420002,
0.009093083441257477,
0.016017338261008263,
-0.006399824284017086,
0.051056377589702606,
-0.04792757332324982,
0.011670790612697601,
-0.03765229880809784,
-0.05361630767583847,
0.016986200585961342,
-0.009697511792182922,
-0.06510043889284134,
-0.08554431796073914,
-0.011128583922982216,
-0.018701709806919098,
-0.01774173602461815,
-0.019128363579511642,
-0.016390660777688026,
0.010133055038750172,
-0.000022707710741087794,
-0.033243533223867416,
-0.00993750523775816,
-0.005306520964950323,
-0.0014099613763391972,
-0.0032554662320762873,
0.01787506602704525,
-0.06794480234384537,
-0.006986475083976984,
0.005533181596547365,
-0.04753647372126579,
0.030790265649557114,
0.021830512210726738,
0.006644262000918388,
0.02190162055194378,
0.0263103898614645,
0.039394475519657135,
-0.004290993325412273,
-0.014426270499825478,
-0.047607582062482834,
0.03388351574540138,
0.0315546914935112,
-0.0004610984760802239,
0.008715316653251648,
-0.007590902969241142,
-0.054967381060123444,
-0.0152529152110219,
0.021457189694046974,
-0.026683712378144264,
0.04309215024113655,
-0.008635318838059902,
0.029794737696647644,
-0.01907503232359886,
0.012444103136658669,
-0.03054138459265232,
0.005448739510029554,
0.0067731477320194244,
-0.022683821618556976,
-0.029599187895655632,
-0.108725905418396,
0.008270883932709694,
0.05212301388382912,
-0.027910346165299416,
-0.05233634263277054,
-0.07388241589069366,
0.0007599791279062629,
0.0030643604695796967,
-0.009466406889259815,
0.030808044597506523,
0.027750350534915924,
0.002151052001863718,
0.019288359209895134,
-0.019715014845132828,
0.022666044533252716,
-0.045616526156663895,
-0.005048750434070826,
-0.04931420460343361,
-0.08483322709798813,
0.019270582124590874,
0.01896836794912815,
0.04501209780573845,
0.07274466753005981,
0.0015944007318466902,
-0.020248332992196083,
-0.039181146770715714,
-0.0024288222193717957,
-0.012141888961195946,
0.007266467437148094,
0.030185839161276817,
0.02611484006047249,
0.02200828492641449,
-0.010675262659788132,
0.0005699843750335276,
-0.024532660841941833,
0.04497654363512993,
0.04590096324682236,
0.01106636319309473,
-0.0023288249503821135,
0.004322103690356016,
0.01886170543730259,
-0.022434940561652184,
-0.009999725967645645,
0.07423796504735947,
0.02419489249587059,
0.03608790040016174,
-0.020621657371520996,
-0.008999752812087536,
0.007617568597197533,
0.019555019214749336,
0.013857397250831127,
0.034167952835559845,
0.020372774451971054,
-0.049918629229068756,
-0.004519876092672348,
-0.04088776558637619,
0.025883734226226807,
-0.04305659607052803,
0.0007488683331757784,
0.03187468275427818,
-0.03596345707774162,
0.043518807739019394,
-0.020337220281362534,
-0.0646737813949585,
-0.0006849812343716621,
0.006839812267571688,
-0.04188329726457596,
-0.06527820974588394,
0.04543875530362129,
-0.03039916604757309,
0.029119201004505157,
0.03669232502579689,
0.047714248299598694,
0.01262187585234642,
0.07729566097259521,
0.018310608342289925,
-0.013892952352762222,
-0.03352797031402588,
0.050771940499544144,
0.08298438787460327,
-0.04206106811761856,
0.04938531294465065,
0.03135913982987404,
0.019217250868678093,
-0.028959205374121666,
-0.001813283539377153,
-0.06794480234384537,
0.04586540907621384,
0.031056925654411316,
0.013759622350335121,
0.008155331946909428,
-0.038256727159023285,
-0.0359279029071331,
0.004862088710069656,
0.019412800669670105,
-0.018310608342289925,
0.02735924907028675,
-0.04124331474304199,
-0.05813173949718475,
0.010133055038750172,
0.00011596904369071126,
0.041527748107910156,
0.06012279540300369,
-0.0005366519326344132,
0.043518807739019394,
0.01779506728053093,
-0.0026043730322271585,
-0.053082987666130066,
0.03143024817109108,
0.08106444031000137,
0.06158053129911423,
-0.03143024817109108,
0.018701709806919098,
-0.01688842475414276,
-0.07210469245910645,
-0.0019321691943332553,
0.00124218815471977,
-0.03637233376502991,
0.0634649246931076,
-0.016461770981550217,
0.03903893008828163,
-0.005302076693624258,
-0.05155413970351219,
-0.06175830587744713,
0.014995144680142403,
0.03292354196310043,
-0.01767951436340809,
-0.007368686608970165,
0.0004938753554597497,
-0.008026446215808392,
-0.008666428737342358,
0.0021999396849423647,
-0.018275054171681404,
0.012532989494502544,
0.009164192713797092,
-0.021830512210726738,
0.00040082234772853553,
-0.05461183562874794,
0.04696759954094887
] |
21,589 | delorean.exceptions | __init__ | null | def __init__(self, msg):
self.msg = str(msg)
Exception.__init__(self, msg)
| (self, msg) | [
-0.017096078023314476,
-0.011689702980220318,
0.020395955070853233,
0.035439781844615936,
-0.027791297063231468,
-0.05637818202376366,
0.011409440077841282,
0.06281520426273346,
0.05088140070438385,
-0.049398716539144516,
0.056450508534908295,
0.0599583238363266,
0.014329605735838413,
0.015676679089665413,
-0.04610787704586983,
0.047048117965459824,
-0.012828839011490345,
0.02764664590358734,
-0.0221317820250988,
-0.018388906493782997,
-0.05717376992106438,
0.015315048396587372,
0.004836807027459145,
0.03187772259116173,
0.01574900560081005,
0.0805712565779686,
0.005890055559575558,
-0.004470656160265207,
0.05594422668218613,
-0.049832671880722046,
-0.045384619385004044,
-0.03585565462708473,
-0.0280444398522377,
0.03854980319738388,
-0.023578302934765816,
-0.004850368015468121,
-0.046180203557014465,
-0.03509623184800148,
-0.0501219779253006,
0.02990683540701866,
0.010026203468441963,
-0.003171046730130911,
-0.046180203557014465,
-0.033251918852329254,
0.043721117079257965,
-0.027375422418117523,
0.008543518371880054,
0.034318726509809494,
-0.04809684678912163,
0.004353126045316458,
-0.06502114981412888,
0.031787313520908356,
0.033523138612508774,
-0.02585657499730587,
-0.027791297063231468,
0.09496414661407471,
0.03938155248761177,
0.04061109572649002,
-0.03639810159802437,
-0.0011481766123324633,
-0.019998162984848022,
0.06512963771820068,
-0.02229451574385166,
0.026200123131275177,
-0.049109410494565964,
-0.0402856282889843,
-0.035638678818941116,
-0.014962458983063698,
-0.010776586830615997,
0.031262949109077454,
0.09894208610057831,
0.010622893460094929,
-0.04925406351685524,
0.03616304323077202,
0.0570291168987751,
-0.009266779758036137,
-0.09069690853357315,
0.036542754620313644,
-0.0007854160503484309,
0.025730004534125328,
0.014817806892096996,
0.025946982204914093,
-0.052725713700056076,
0.023722955957055092,
0.0594882033765316,
-0.061730314046144485,
-0.06364695727825165,
-0.02562151476740837,
-0.021661661565303802,
0.03663315996527672,
-0.03383052721619606,
-0.029671775177121162,
-0.049000922590494156,
0.02081182971596718,
-0.018822863698005676,
-0.005094468593597412,
0.035475943237543106,
-0.06961385905742645,
0.038839105516672134,
0.0015821331180632114,
0.011454643681645393,
0.02632669359445572,
-0.02224026992917061,
-0.08491082489490509,
-0.019130248576402664,
-0.039164572954177856,
0.004705715924501419,
-0.04484217241406441,
0.022276433184742928,
-0.005180355627089739,
0.01615583896636963,
0.0061748395673930645,
-0.034409135580062866,
0.03891143202781677,
-0.0017968511674553156,
-0.015938861295580864,
0.00973689928650856,
-0.005383772775530815,
0.04014097526669502,
-0.00010905417002504691,
0.06314066797494888,
-0.0005269068060442805,
-0.09315599501132965,
0.023921852931380272,
0.038802944123744965,
0.019763102754950523,
-0.007223567459732294,
-0.040828075259923935,
0.05720993131399155,
-0.03310726583003998,
0.0041158064268529415,
-0.021517010405659676,
-0.03844131529331207,
-0.04401042312383652,
-0.030919400975108147,
-0.008751455694437027,
-0.04838614910840988,
0.00367732928134501,
0.0029698899015784264,
-0.02243916690349579,
0.027429666370153427,
0.06035611778497696,
0.045818574726581573,
0.01084891241043806,
0.008810221217572689,
0.0213723573833704,
0.00810956209897995,
0.024337727576494217,
-0.010288385674357414,
0.005691158585250378,
0.03685013949871063,
0.0028591405134648085,
-0.016870059072971344,
-0.03967085853219032,
0.004176831338554621,
-0.0021403999999165535,
0.0033156988210976124,
-0.03496966138482094,
0.027140362188220024,
-0.01239488273859024,
-0.01675252988934517,
-0.06606987863779068,
0.030123813077807426,
-0.03200429305434227,
0.02911124937236309,
0.028767699375748634,
0.0023189550265669823,
-0.0025879177264869213,
0.002605999121442437,
-0.006617836654186249,
-0.06201961636543274,
-0.0407557487487793,
-0.08505547791719437,
-0.0021980348974466324,
-0.02240300364792347,
0.031787313520908356,
-0.01588461548089981,
0.041695985943078995,
-0.0447336845099926,
0.03256481885910034,
0.04733742028474808,
-0.017430586740374565,
-0.01074946392327547,
0.026435183361172676,
0.0038378029130399227,
0.0005497912643477321,
0.03193196654319763,
0.05051976814866066,
0.01193380355834961,
0.01209653727710247,
0.00855707935988903,
-0.002094066236168146,
-0.035548269748687744,
0.04064726084470749,
0.017141282558441162,
0.03516855835914612,
-0.027538156136870384,
-0.030051488429307938,
0.027791297063231468,
0.05384676903486252,
-0.016110634431242943,
0.10169047117233276,
-0.010541526600718498,
-0.057282257825136185,
0.060970887541770935,
-0.0009492798708379269,
0.007413423620164394,
-0.016770610585808754,
-0.028062520548701286,
-0.022818880155682564,
0.005148713011294603,
-0.011816274374723434,
0.001390016870573163,
0.017737971618771553,
0.058909595012664795,
-0.012367760762572289,
0.022855043411254883,
-0.0280444398522377,
0.04068342223763466,
0.049398716539144516,
0.08107753843069077,
0.012358719483017921,
-0.01738538220524788,
-0.020594852045178413,
-0.02981642819941044,
0.02339748851954937,
-0.009266779758036137,
-0.05789703130722046,
-0.004170050844550133,
-0.024554705247282982,
-0.022421086207032204,
-0.011355195194482803,
-0.02090223878622055,
0.00676248874515295,
0.018199050799012184,
0.0540999099612236,
0.027303095906972885,
-0.024446215480566025,
-0.06672081351280212,
-0.05937971547245979,
0.007476708851754665,
0.006355654448270798,
-0.02744774892926216,
0.024916335940361023,
0.12136317044496536,
-0.025639597326517105,
0.015767086297273636,
0.08859945088624954,
-0.08859945088624954,
0.019654612988233566,
0.021589336916804314,
0.002935986965894699,
-0.05344897508621216,
-0.07644867151975632,
-0.022258352488279343,
-0.07167515158653259,
0.013669629581272602,
-0.0030783789698034525,
0.003614044049754739,
0.022674227133393288,
0.005645954981446266,
0.0036931505892425776,
0.015360252000391483,
0.0035123354755342007,
-0.004280799999833107,
-0.020450200885534286,
-0.045782409608364105,
0.030467363074421883,
0.056052714586257935,
0.028026357293128967,
0.14747288823127747,
0.012666105292737484,
0.011734907515347004,
0.07558076083660126,
-0.0599583238363266,
-0.007368220016360283,
-0.045348454266786575,
-0.02153509110212326,
-0.007304934319108725,
0.05630585551261902,
0.02077566832304001,
0.032420165836811066,
0.03453570604324341,
0.02140852063894272,
-0.011563132517039776,
-0.036506589502096176,
0.017801256850361824,
-0.027194608002901077,
-0.04708427935838699,
0.01974502019584179,
-0.019763102754950523,
0.02280079759657383,
-0.0068031721748411655,
0.007734370417892933,
0.001771989045664668,
-0.005894575733691454,
0.018325621262192726,
0.038368988782167435,
0.011798192746937275,
0.0008763887453824282,
0.0329626128077507,
-0.00041728760697878897,
0.0021517009008675814,
0.035873737186193466,
0.006292369216680527,
-0.07106037437915802,
-0.027429666370153427,
0.025838494300842285,
0.009863469749689102,
0.000889384828042239,
0.049000922590494156,
0.061802636831998825,
0.042057618498802185,
0.06371928006410599,
0.04053876921534538,
0.0752914547920227,
0.06107937917113304,
-0.035711005330085754,
-0.01374195609241724,
0.07782286405563354,
-0.0028026357758790255,
-0.018551640212535858,
0.008471192792057991,
-0.001943763461895287,
-0.0041361479088664055,
0.025748085230588913,
-0.026145879179239273,
0.04053876921534538,
0.0025720964185893536,
-0.0004672943032346666,
-0.025567270815372467,
-0.02518755942583084,
-0.00016315747052431107,
-0.06212810426950455,
-0.023614466190338135,
-0.043684955686330795,
0.002270360942929983,
-0.05818633362650871,
-0.014175912365317345,
-0.03746491298079491,
0.00243874522857368,
-0.023379405960440636,
-0.038839105516672134,
0.03200429305434227,
0.00895487330853939,
-0.02478976547718048,
-0.02851455844938755,
-0.026905303820967674,
-0.00838982593268156,
0.00035202462458983064,
-0.007711768615990877,
-0.01508902944624424,
-0.047771379351615906,
-0.00309872068464756,
0.008887067437171936,
0.020016243681311607,
-0.051857803016901016,
-0.04270855337381363,
0.01754811592400074,
-0.03894759714603424,
0.05388293415307999,
-0.003164266236126423,
-0.030720504000782967,
-0.025585351511836052,
-0.07048176974058151,
-0.008294898085296154,
0.01828041858971119,
0.0014826847473159432,
-0.010640975087881088,
0.022113699465990067,
-0.0001500201178714633,
-0.030123813077807426,
-0.06411707401275635,
0.02007048763334751,
-0.049000922590494156,
0.028369907289743423,
-0.03417407348752022,
0.012241189368069172,
-0.005053785163909197,
-0.01687910035252571,
0.04679497703909874,
-0.023090101778507233,
-0.00857516098767519,
-0.006983987521380186,
-0.026001228019595146,
-0.011499847285449505,
0.051098376512527466,
0.04856696352362633,
0.0638277679681778,
0.049434877932071686,
-0.04401042312383652,
-0.0033767239656299353,
0.01229543425142765,
-0.025549188256263733,
-0.010107570327818394,
-0.015495863743126392,
0.03643426299095154,
0.0015640516066923738,
-0.06729941815137863,
0.03446337953209877,
-0.02672448754310608,
0.05290653184056282,
-0.0006322881672531366,
0.03017805889248848,
0.014582746662199497,
0.0393453910946846,
-0.009971958585083485,
-0.0045610638335347176,
0.016201043501496315,
0.010541526600718498,
-0.016408979892730713,
-0.03469843789935112,
-0.014917254447937012,
-0.10769353806972504,
-0.007020150311291218,
-0.021589336916804314,
0.008701732382178307,
-0.009185412898659706,
0.02961753122508526,
-0.03330616280436516,
-0.06122402846813202,
-0.007381781004369259,
0.03905608505010605,
0.018750537186861038,
-0.03873061761260033,
-0.018461233004927635,
-0.05413607507944107,
0.0035869216080754995,
0.05290653184056282,
-0.015125192701816559,
-0.05015813931822777,
0.04390193149447441,
0.00003572159766918048,
-0.027574319392442703,
0.03193196654319763,
-0.04592706263065338,
-0.05836714804172516,
-0.004371207673102617,
-0.0297441016882658,
0.06664848327636719,
-0.011111094616353512,
-0.04335948824882507,
0.0521109439432621,
0.04650567099452019,
0.026200123131275177,
-0.04191296547651291,
-0.002157351467758417,
0.027465829625725746,
-0.016589796170592308,
0.00877405796200037,
0.045746248215436935,
0.019853509962558746,
0.008638446219265461,
-0.030919400975108147,
0.004990499932318926,
-0.04014097526669502,
-0.024120748043060303,
0.012557616457343102,
0.028261417523026466,
0.004515859764069319,
-0.03399325907230377,
0.03945387899875641,
-0.02808060124516487,
-0.03283604234457016,
-0.040032487362623215,
0.025730004534125328,
0.05055593326687813,
0.007558075711131096,
0.011906681582331657,
-0.025730004534125328,
0.003159745829179883,
0.03901992365717888,
-0.02073950506746769,
-0.05037511885166168,
-0.03518664091825485,
0.01508902944624424,
0.019184494391083717,
-0.027827460318803787,
0.03525896742939949,
-0.0038943076506257057,
0.0023754597641527653,
-0.031425684690475464,
0.06191112846136093,
0.021028809249401093,
-0.03379436209797859,
-0.02319859154522419,
0.010188937187194824,
-0.037103280425071716,
0.020432118326425552,
0.0437934435904026,
-0.01100260578095913,
0.05670364946126938,
-0.053485140204429626,
0.024410054087638855,
0.019094085320830345,
0.0032433727756142616,
-0.09279436618089676,
-0.0015030264621600509,
-0.06129635497927666,
-0.034879252314567566,
0.012937327846884727,
-0.05370211601257324,
-0.025946982204914093,
-0.020685259252786636,
0.0014939856482669711,
-0.050302792340517044,
0.025585351511836052,
0.04390193149447441,
0.0545700304210186,
-0.042057618498802185,
0.019491879269480705,
0.037935029715299606,
-0.06267055124044418,
0.0010950621217489243,
0.009180892258882523,
-0.03764572739601135,
-0.05370211601257324,
-0.022041374817490578,
-0.016942385584115982,
0.0639362558722496,
0.04592706263065338,
0.026579836383461952,
0.033215753734111786,
-0.003491993760690093,
-0.009782102890312672,
-0.025874655693769455,
0.02478976547718048,
0.0021449204068630934,
0.007689166814088821,
0.08107753843069077,
-0.04375728219747543,
-0.02629053220152855,
0.003485213266685605,
-0.005578149110078812,
0.011617377400398254,
0.05265338718891144,
-0.048205334693193436,
0.011111094616353512,
-0.029798345640301704,
0.0041361479088664055,
0.018199050799012184,
0.03854980319738388,
0.02931014634668827,
-0.05446154251694679,
-0.009275820106267929,
-0.07019246369600296,
-0.033812444657087326,
0.03818817064166069,
-0.034011341631412506,
0.005980463232845068,
0.04856696352362633,
-0.05174931138753891,
-0.029255900532007217,
-0.011156298220157623,
0.00829037744551897,
-0.015333130024373531,
0.02847839519381523,
0.00838982593268156,
0.02835182473063469,
0.027574319392442703,
0.0004788777732755989,
0.032293595373630524,
0.020920319482684135,
-0.031118297949433327,
-0.04444437846541405,
0.011644499376416206,
0.018054397776722908,
0.038405150175094604,
-0.02126386947929859,
-0.03310726583003998,
-0.003110021585598588,
0.01374195609241724,
-0.014040300622582436,
0.04925406351685524,
-0.024717438966035843,
0.04252773895859718,
0.014004138298332691,
0.0679141953587532,
0.018235214054584503,
0.007440546061843634,
-0.005492262076586485,
-0.027610482648015022,
-0.05905424803495407,
-0.02748391218483448,
-0.014926295727491379,
0.027574319392442703,
-0.010080448351800442,
-0.03374011814594269,
-0.01520655956119299,
0.0000705603088135831,
-0.010414956137537956,
-0.040032487362623215,
0.014203034341335297,
-0.009266779758036137,
0.029997242614626884,
0.009366228245198727,
0.06845663487911224,
-0.050230465829372406,
-0.02034171111881733,
-0.00991771463304758,
-0.0018736976198852062,
0.027393504977226257,
0.0280444398522377,
0.0008102781721390784,
0.0505920946598053,
-0.01618296094238758,
0.021679744124412537,
0.06831198930740356,
-0.0196726955473423,
0.07077107578516006,
0.021354276686906815,
-0.015034784562885761,
0.004823245573788881,
-0.007187404669821262,
-0.04115354269742966,
-0.015975024551153183,
-0.016390899196267128,
0.02808060124516487,
0.0177108496427536,
0.06064542010426521,
0.02339748851954937,
0.01535121165215969,
-0.026380939409136772,
0.04151517152786255,
-0.008344622328877449,
0.016725406050682068,
0.016842937096953392,
-0.0756530836224556,
-0.03858596459031105,
-0.04397425800561905,
0.011942844837903976,
0.04914557561278343,
0.014103586785495281,
-0.09908673167228699,
-0.03213086351752281,
0.056016553193330765,
0.035114314407110214,
0.018289458006620407,
0.034282565116882324,
0.04929022490978241,
0.04755439981818199,
-0.001940373214893043,
-0.04957953095436096,
-0.02775513380765915,
-0.05619736760854721,
-0.0017968511674553156,
0.024572787806391716,
-0.10306467115879059,
0.031950049102306366,
-0.04256390035152435,
0.035114314407110214,
0.025169476866722107,
-0.02081182971596718,
0.0265255905687809,
-0.027628563344478607,
0.005098988767713308,
-0.010017162188887596,
0.023415569216012955,
0.024771682918071747,
0.04032179340720177,
-0.01851547695696354,
0.021715907379984856,
-0.012901165522634983,
-0.029689857736229897,
0.06082623824477196,
0.02007048763334751,
0.010939320549368858,
-0.013579222373664379,
0.026435183361172676,
-0.023415569216012955,
0.010252222418785095,
-0.014899172820150852,
-0.00744506623595953,
-0.004479696974158287,
0.023903770372271538,
0.010216059163212776,
0.017276892438530922,
-0.021245786920189857,
-0.00545157864689827,
-0.00008398018690058962,
0.008561599999666214,
0.03180539608001709,
-0.07442353665828705,
-0.07673797756433487,
-0.007047272752970457,
0.06353846192359924,
-0.02070334181189537,
0.06672081351280212,
0.013253754936158657,
-0.07145816832780838,
-0.040466442704200745,
-0.005700199399143457,
-0.07019246369600296,
-0.010550567880272865,
-0.028369907289743423,
0.029689857736229897,
-0.008100521750748158,
-0.09886975586414337,
0.012223107740283012,
-0.005641434341669083,
0.0077886153012514114,
0.007042752578854561,
-0.02359638549387455,
0.007680126000195742,
0.01528792642056942,
-0.03970701992511749,
0.0010430777911096811,
0.01611967571079731,
0.007422464434057474,
-0.019365308806300163,
0.003934991080313921,
0.0540999099612236,
0.011599295772612095,
-0.06498498469591141,
0.0025607955176383257,
0.0007515132310800254,
0.06635918468236923,
0.01625528745353222,
-0.06606987863779068,
-0.00478708278387785,
-0.004020878113806248,
-0.01568571850657463,
0.02316242828965187,
-0.025838494300842285,
0.047445911914110184,
-0.022149862721562386,
-0.04683113843202591,
-0.054859332740306854,
-0.006143196951597929,
-0.02395801618695259,
0.023741036653518677,
0.01490821409970522,
-0.049832671880722046,
0.056052714586257935,
-0.006409899331629276,
-0.06082623824477196,
-0.010631934739649296,
0.034879252314567566,
0.03988783434033394,
0.08491082489490509,
-0.015812290832400322,
-0.037139445543289185,
-0.03097364492714405,
-0.017692768946290016,
-0.031082134693861008,
0.0305035263299942,
0.035041987895965576,
0.04896475747227669,
-0.008525436744093895,
0.04104505106806755,
-0.01903984136879444,
-0.018352743238210678,
0.007300414144992828,
0.07402575016021729,
-0.010315507650375366,
-0.08324731886386871,
0.00023166948813013732,
-0.005293365102261305,
0.006192920729517937,
-0.01800919510424137,
-0.026308612897992134,
-0.010387834161520004,
0.013904689811170101,
0.02629053220152855,
-0.005537465680390596,
0.08295802026987076,
0.05594422668218613,
0.0339028500020504
] |
21,590 | delorean.exceptions | __str__ | null | def __str__(self):
return self.msg
| (self) | [
-0.01651417836546898,
-0.01007688045501709,
0.044083163142204285,
-0.0009928065119311213,
0.034525007009506226,
-0.078234001994133,
0.04177015647292137,
0.003167626913636923,
0.09843878448009491,
-0.07374405115842819,
-0.017619658261537552,
-0.009388080798089504,
-0.0166927557438612,
0.016310090199112892,
-0.009107458405196667,
0.017534621059894562,
-0.009354066103696823,
-0.08803026378154755,
0.01675228215754032,
0.04006941616535187,
-0.007844659499824047,
0.014600846916437149,
0.04789281636476517,
-0.0056719654239714146,
-0.002444812562316656,
0.05697476491332054,
0.005914320703595877,
-0.03554544970393181,
0.034865155816078186,
0.012440907768905163,
-0.04959355667233467,
-0.0651383101940155,
0.0060121132992208,
0.007891430519521236,
-0.06061434745788574,
0.03989934176206589,
-0.050852105021476746,
-0.0096431914716959,
-0.0436069555580616,
-0.012262330390512943,
-0.0011405582772567868,
0.027296865358948708,
-0.02285793609917164,
-0.02207559533417225,
-0.0042220852337777615,
-0.04796084761619568,
0.0070027937181293964,
0.09979937970638275,
-0.020527923479676247,
-0.004889625124633312,
-0.005688972771167755,
0.02336815744638443,
-0.027398908510804176,
-0.03221200034022331,
-0.0455457977950573,
0.0010257583344355226,
0.03785845637321472,
-0.011250389739871025,
-0.004375151824206114,
0.03455902263522148,
-0.05102217569947243,
0.01017042063176632,
0.02015376091003418,
-0.004919388331472874,
-0.021310262382030487,
-0.016973378136754036,
0.019388427957892418,
0.02631043642759323,
0.02831730805337429,
0.03568150848150253,
0.0645940750837326,
-0.0564645417034626,
-0.049899689853191376,
0.050001733005046844,
0.035137273371219635,
-0.02311304584145546,
-0.06490021198987961,
0.030120091512799263,
0.016871333122253418,
-0.001430746866390109,
0.037756409496068954,
0.017092429101467133,
-0.026548540219664574,
0.007683089468628168,
0.002196079585701227,
-0.08959494531154633,
-0.012508937157690525,
-0.037484291940927505,
-0.04734858125448227,
0.023742320016026497,
-0.008622747845947742,
-0.014830445870757103,
-0.038776855915784836,
0.0391170009970665,
-0.06098850816488266,
-0.013844017870724201,
0.018878204748034477,
-0.04775675758719444,
0.03265419229865074,
0.022126616910099983,
0.0007594864000566304,
0.06741730123758316,
-0.03127659484744072,
-0.019150324165821075,
-0.032620180398225784,
-0.04421922191977501,
-0.024694733321666718,
-0.00834212638437748,
0.023521224036812782,
0.0357835553586483,
0.003903196658939123,
0.026429487392306328,
-0.011258893646299839,
0.025834228843450546,
0.02129325456917286,
-0.05030786618590355,
-0.05340321362018585,
0.0017230614321306348,
0.03343653306365013,
-0.032194994390010834,
0.02518794871866703,
-0.007104838266968727,
-0.06578459590673447,
-0.06255318969488144,
0.011794626712799072,
0.07170316576957703,
-0.03481413424015045,
-0.06245114654302597,
0.07707750052213669,
-0.07013848423957825,
-0.004893877077847719,
-0.010434035211801529,
-0.009013918228447437,
-0.03481413424015045,
0.04442330822348595,
-0.0066754017025232315,
-0.007228141650557518,
-0.023385165259242058,
0.08265592902898788,
0.11496997624635696,
0.023487208411097527,
0.053301166743040085,
0.0405116081237793,
0.002691419795155525,
0.017007391899824142,
-0.016463156789541245,
0.03176980838179588,
0.0645260438323021,
-0.0036842264235019684,
-0.0028891307301819324,
0.03571552410721779,
0.012653499841690063,
0.001551924622617662,
-0.027602998539805412,
0.0036735967732965946,
0.05194057524204254,
-0.016276074573397636,
-0.031837839633226395,
0.006734927650541067,
-0.04336884990334511,
-0.010808197781443596,
-0.07496858388185501,
0.030460240319371223,
-0.009473117999732494,
0.040443580597639084,
0.06251917779445648,
0.0491853803396225,
0.019388427957892418,
0.0012511062668636441,
0.04088577255606651,
-0.07143104821443558,
-0.04211030527949333,
-0.09585366398096085,
0.020817048847675323,
-0.009303043596446514,
0.051396340131759644,
0.00010304088209522888,
0.08986706286668777,
-0.008750303648412228,
-0.012942626141011715,
-0.02763701230287552,
0.007827652618288994,
-0.030987469479441643,
0.04299468919634819,
0.06421991437673569,
-0.011514004319906235,
0.030868416652083397,
0.023317135870456696,
0.00018296233611181378,
-0.01841900683939457,
-0.012015722692012787,
-0.00018216512398794293,
-0.028912566602230072,
0.03187185525894165,
-0.040613655000925064,
-0.0015657431213185191,
-0.011888167820870876,
-0.0620429664850235,
0.019303390756249428,
0.009592168964445591,
-0.001994116697460413,
0.029405781999230385,
-0.05258685722947121,
0.028810523450374603,
0.03272222355008125,
0.01372496597468853,
0.012840581126511097,
0.006526587065309286,
0.007759622763842344,
-0.04697441682219505,
0.0030719602946192026,
0.02787511609494686,
-0.0023491461761295795,
0.010748672299087048,
0.07245149463415146,
-0.05098816379904747,
0.006182187236845493,
0.004519714508205652,
-0.06925410032272339,
0.047042448073625565,
0.05109020695090294,
-0.030001040548086166,
-0.0037373744416981936,
-0.020987123250961304,
-0.045307692140340805,
0.03867480903863907,
0.03316441550850868,
-0.02874249406158924,
-0.012092255987226963,
-0.014065113849937916,
0.008486689068377018,
-0.024388600140810013,
0.006284231320023537,
0.06003609672188759,
-0.02518794871866703,
0.07646523416042328,
-0.04143000766634941,
-0.008758807554841042,
-0.06602269411087036,
0.0036608411464840174,
-0.024864807724952698,
-0.01463486161082983,
0.025119919329881668,
0.0662267878651619,
0.10877928137779236,
-0.04462739825248718,
0.04510360583662987,
0.033045362681150436,
-0.02015376091003418,
0.014048106037080288,
0.03241609036922455,
-0.035579465329647064,
-0.04023949056863785,
-0.03193988278508186,
0.014294713735580444,
-0.07408419996500015,
-0.021684424951672554,
0.005650706123560667,
0.01017042063176632,
0.0013138210633769631,
-0.05238276720046997,
0.01937142014503479,
-0.022925965487957,
0.04578389972448349,
0.01316372212022543,
0.010459545999765396,
-0.057655058801174164,
0.05204262211918831,
0.023334141820669174,
0.029218699783086777,
0.1089833676815033,
-0.00048045883886516094,
-0.03568150848150253,
0.036701951175928116,
-0.03246711194515228,
-0.043402865529060364,
-0.03959320858120918,
0.0006484068580903113,
-0.07918641716241837,
-0.023946408182382584,
-0.02146332897245884,
-0.021701432764530182,
0.015230120159685612,
0.004379403777420521,
0.0012606729287654161,
-0.032109957188367844,
0.042620524764060974,
-0.011582034640014172,
-0.008716288954019547,
-0.0041349222883582115,
0.03372566029429436,
0.014141647145152092,
-0.033827703446149826,
0.012534447945654392,
0.015510741621255875,
-0.010434035211801529,
0.03231404721736908,
0.0682336613535881,
-0.002623390406370163,
-0.007751119323074818,
-0.013435839675366879,
0.01037450972944498,
-0.01290861051529646,
-0.03039221093058586,
-0.03724619001150131,
-0.016922354698181152,
-0.041123874485492706,
0.010000347159802914,
0.03459303453564644,
-0.01772170327603817,
0.004868366289883852,
0.034865155816078186,
0.030630314722657204,
0.0844246968626976,
0.017789732664823532,
0.10911943018436432,
0.01490697916597128,
-0.009337058290839195,
0.007270660251379013,
0.08823435008525848,
-0.019677553325891495,
-0.012883099727332592,
-0.027228835970163345,
0.03403179347515106,
-0.011888167820870876,
-0.028810523450374603,
-0.0597979910671711,
0.05020582303404808,
0.03554544970393181,
0.023929400369524956,
-0.010850716382265091,
-0.04785880073904991,
0.019694561138749123,
-0.05819929763674736,
-0.03464405983686447,
-0.0037756410893052816,
0.03146367520093918,
-0.04796084761619568,
-0.010944257490336895,
-0.012228314764797688,
0.03605567291378975,
-0.025324007496237755,
-0.041225917637348175,
0.02969490736722946,
0.01329127699136734,
0.020885078236460686,
-0.030817395076155663,
0.002415049821138382,
0.0222286619246006,
-0.007695845328271389,
-0.011565026827156544,
0.0007461993372999132,
0.0060036093927919865,
-0.001538106007501483,
-0.00033961638109758496,
-0.0009146788506768644,
-0.034542012959718704,
0.038096558302640915,
0.023504216223955154,
0.013682447373867035,
0.0023895385675132275,
-0.04091978818178177,
0.011709589511156082,
0.012653499841690063,
-0.07496858388185501,
0.026786644011735916,
0.0029571603517979383,
0.0022938719484955072,
0.07224740087985992,
-0.031752802431583405,
-0.02023879624903202,
0.015876401215791702,
-0.041293948888778687,
-0.008767310529947281,
-0.04319877550005913,
0.06401582807302475,
-0.015740342438220978,
0.030205128714442253,
-0.028113219887018204,
-0.025936273857951164,
0.0441511906683445,
-0.03168477118015289,
-0.000004376413926365785,
0.040613655000925064,
-0.0005872865440323949,
0.031922876834869385,
0.023572245612740517,
0.04881121590733528,
-0.003103849245235324,
0.015527749434113503,
-0.007921192795038223,
-0.009864287450909615,
-0.02275589108467102,
-0.029660891741514206,
-0.06143070012331009,
-0.059117697179317474,
0.03085141070187092,
-0.009175487793982029,
-0.06075040623545647,
-0.010161916725337505,
0.013478358276188374,
0.015740342438220978,
-0.030001040548086166,
-0.018470028415322304,
-0.033232446759939194,
0.04697441682219505,
-0.03239908441901207,
0.04170212522149086,
-0.02074901945888996,
0.008240081369876862,
0.016020962968468666,
-0.02432057075202465,
-0.026191383600234985,
-0.08149942755699158,
0.045851930975914,
-0.0060036093927919865,
-0.027568982914090157,
0.0024129238445311785,
0.002695671748369932,
-0.0046812850050628185,
-0.07456041127443314,
0.030086077749729156,
0.04568185657262802,
0.053811389952898026,
-0.02129325456917286,
0.027909131720662117,
-0.005744246765971184,
0.009575162082910538,
0.0861254334449768,
0.005990853998810053,
-0.038096558302640915,
-0.008678021840751171,
-0.03867480903863907,
-0.005195758305490017,
0.02901461161673069,
-0.051736488938331604,
-0.013010655529797077,
-0.04170212522149086,
-0.059559889137744904,
0.05418555065989494,
0.00536583224311471,
-0.02763701230287552,
0.03945714980363846,
0.04350490868091583,
0.04299468919634819,
-0.04847106710076332,
-0.04194023087620735,
-0.021786469966173172,
0.028878552839159966,
0.024473637342453003,
0.0111143309623003,
0.04238242283463478,
-0.016888340935111046,
-0.019235361367464066,
0.03867480903863907,
-0.02918468602001667,
0.017151955515146255,
-0.04143000766634941,
0.005859046708792448,
-0.021395299583673477,
-0.0645260438323021,
0.05969594791531563,
-0.0911596268415451,
0.041225917637348175,
-0.002381034893915057,
0.010136405937373638,
-0.004069018643349409,
0.038436707109212875,
-0.05551213026046753,
-0.012415396980941296,
0.01632709614932537,
-0.01420117262750864,
-0.05986602231860161,
-0.0399673730134964,
-0.02675262838602066,
0.04751865565776825,
-0.017007391899824142,
-0.02614036202430725,
-0.013452847488224506,
-0.007661830168217421,
-0.04830099642276764,
-0.05333518236875534,
-0.00299755297601223,
0.028725486248731613,
-0.02059595286846161,
-0.01446478720754385,
0.01988164149224758,
0.012211307883262634,
-0.012389885261654854,
-0.022789906710386276,
0.018095865845680237,
0.020885078236460686,
-0.04680434241890907,
-0.02379334159195423,
-0.015332164242863655,
0.019779598340392113,
-0.05530804023146629,
-0.030953453853726387,
-0.07905036211013794,
0.005089462269097567,
-0.002459694165736437,
-0.024966852739453316,
-0.015315157361328602,
0.007398215588182211,
0.02224566973745823,
-0.05357328802347183,
0.04826698079705238,
0.023232098668813705,
0.037042099982500076,
-0.027568982914090157,
0.024456629529595375,
0.010918745771050453,
-0.016114505007863045,
-0.01640363037586212,
0.006560601759701967,
-0.035307347774505615,
-0.0034014785196632147,
0.002376783173531294,
-0.018963241949677467,
0.028827529400587082,
0.008155045099556446,
-0.021157195791602135,
-0.05221269652247429,
-0.008614243939518929,
-0.012483426369726658,
0.026276420801877975,
-0.05183853209018707,
0.017228487879037857,
-0.037144146859645844,
0.10272464901208878,
0.0006058883736841381,
0.022619832307100296,
0.03190586715936661,
0.028725486248731613,
-0.020800041034817696,
0.06292735040187836,
-0.07394814491271973,
0.01025545783340931,
-0.05394744873046875,
0.04421922191977501,
-0.01337631419301033,
-0.042008258402347565,
-0.03153170645236969,
-0.045307692140340805,
-0.007708600722253323,
-0.024371594190597534,
0.003618322778493166,
0.025647148489952087,
-0.004315625876188278,
-0.017704695463180542,
-0.0020302573684602976,
-0.03328346833586693,
-0.015060045756399632,
-0.02413349039852619,
0.008886362425982952,
0.05132830888032913,
-0.014694387093186378,
0.02032383345067501,
0.054933879524469376,
0.008520703762769699,
-0.023674290627241135,
0.00863975565880537,
0.04836902394890785,
0.020408870652318,
0.0036055671516805887,
0.061294641345739365,
-0.01164156012237072,
0.028096212074160576,
-0.005357328802347183,
-0.03119155764579773,
-0.008792822249233723,
-0.03928707540035248,
-0.0009444417664781213,
0.04510360583662987,
-0.026548540219664574,
0.04826698079705238,
0.051906563341617584,
0.035069242119789124,
-0.018129879608750343,
0.04847106710076332,
-0.035239316523075104,
0.02702474594116211,
0.03302835673093796,
-0.029133662581443787,
-0.03595362603664398,
0.015332164242863655,
-0.03789247199892998,
-0.025494081899523735,
0.01964353770017624,
-0.006097150035202503,
-0.02216063253581524,
-0.010791190899908543,
-0.025562111288309097,
0.018708132207393646,
0.07422026246786118,
-0.026089340448379517,
0.03935510665178299,
-0.025204956531524658,
-0.011531012132763863,
0.010544583201408386,
0.028997603803873062,
0.035409390926361084,
0.03370865061879158,
0.026565546169877052,
0.06765540689229965,
0.012211307883262634,
0.007959459908306599,
0.03755232319235802,
-0.01894623599946499,
0.078234001994133,
-0.019048279151320457,
-0.021429315209388733,
-0.009354066103696823,
0.005552913527935743,
-0.02267085388302803,
-0.02433757856488228,
0.048777200281620026,
-0.0033121895976364613,
0.003458878491073847,
0.037042099982500076,
0.053029049187898636,
0.040273506194353104,
-0.035035230219364166,
0.03881087154150009,
-0.005229772999882698,
0.031565722078084946,
0.003205893561244011,
-0.04700843244791031,
-0.012007218785583973,
-0.08149942755699158,
-0.012772551737725735,
0.04319877550005913,
0.009473117999732494,
-0.06404983997344971,
-0.04023949056863785,
-0.0030400713440030813,
0.017245495691895485,
-0.00012529664672911167,
-0.02648051083087921,
-0.0036268264520913363,
-0.010348998010158539,
-0.013214743696153164,
-0.07401616871356964,
-0.028385337442159653,
-0.07224740087985992,
0.06772343814373016,
-0.05898163840174675,
-0.0721113458275795,
-0.012092255987226963,
-0.04867515712976456,
-0.0018548687221482396,
0.006501075811684132,
-0.021514352411031723,
0.0564645417034626,
0.04013744741678238,
0.00890337023884058,
-0.015000520274043083,
0.035409390926361084,
-0.012747040949761868,
-0.008928881026804447,
-0.029150670394301414,
-0.05115823820233345,
0.011156849563121796,
-0.08149942755699158,
0.01814688742160797,
0.04840303957462311,
-0.006760438438504934,
-0.017704695463180542,
0.022517787292599678,
-0.04108985885977745,
0.004889625124633312,
0.04673631489276886,
0.01416715793311596,
-0.02614036202430725,
0.005765506066381931,
0.02702474594116211,
0.03280726075172424,
-0.0072579048573970795,
0.017857762053608894,
-0.034627050161361694,
0.021429315209388733,
0.008852347731590271,
-0.023657282814383507,
-0.030817395076155663,
0.04442330822348595,
0.06959424912929535,
-0.027568982914090157,
0.030766373500227928,
0.016820311546325684,
-0.061906907707452774,
-0.07850612699985504,
-0.04170212522149086,
-0.04881121590733528,
-0.008724791929125786,
0.06517232954502106,
0.040613655000925064,
-0.010893234983086586,
-0.054423656314611435,
-0.0066243791952729225,
-0.016463156789541245,
0.015663808211684227,
0.026429487392306328,
0.006990038324147463,
-0.008227325975894928,
0.008614243939518929,
-0.027483945712447166,
0.014830445870757103,
-0.017568636685609818,
-0.014141647145152092,
-0.028538404032588005,
0.0357835553586483,
0.05836937204003334,
-0.023130053654313087,
-0.036191731691360474,
0.004536721855401993,
-0.054933879524469376,
0.04986567422747612,
0.058233313262462616,
-0.007398215588182211,
0.012747040949761868,
-0.015527749434113503,
0.007589548826217651,
0.008571726270020008,
-0.012143278494477272,
0.06643087416887283,
0.04455936700105667,
-0.041225917637348175,
-0.06639686226844788,
-0.04751865565776825,
-0.017041407525539398,
0.026599561795592308,
0.02561313286423683,
-0.042518481612205505,
0.055478114634752274,
0.03850473836064339,
-0.02250077947974205,
0.0022492276038974524,
0.008418659679591656,
0.053913433104753494,
0.07088681310415268,
0.013963068835437298,
0.007776630111038685,
0.023674290627241135,
-0.017236992716789246,
-0.018572073429822922,
0.010918745771050453,
0.06183888018131256,
0.04367498308420181,
-0.0500357486307621,
0.015493734739720821,
0.03986532986164093,
0.0045877438969910145,
-0.01220280397683382,
0.045307692140340805,
-0.013070181012153625,
-0.021871507167816162,
-0.005489136092364788,
0.019830619916319847,
0.01064662728458643,
0.03551143407821655,
0.0033291971776634455,
0.005017180927097797,
0.029779944568872452,
0.03738224878907204,
-0.027824094519019127,
0.08769011497497559,
-0.014966505579650402,
0.02258581668138504
] |
21,591 | delorean.exceptions | DeloreanInvalidTimezone |
Exception that is raised when an invalid timezone is passed in.
| class DeloreanInvalidTimezone(DeloreanError):
"""
Exception that is raised when an invalid timezone is passed in.
"""
pass
| (msg) | [
0.0036672279238700867,
0.0010113287717103958,
0.04559776186943054,
0.06549432873725891,
-0.06745252013206482,
-0.07685880362987518,
-0.029110534116625786,
0.03540470451116562,
0.004180814605206251,
-0.044968344271183014,
0.03790488839149475,
0.010962345637381077,
0.0036563007161021233,
0.014869975857436657,
-0.016233712434768677,
0.061787765473127365,
-0.03972320258617401,
0.05867564678192139,
-0.011862761341035366,
-0.023218492045998573,
-0.03696076199412346,
-0.0790967345237732,
0.015009846538305283,
0.04168139025568962,
-0.013751012273132801,
0.09504196047782898,
-0.012964241206645966,
-0.0007523499662056565,
-0.01341007836163044,
-0.05549359694123268,
-0.04087713360786438,
0.026225706562399864,
-0.05493411421775818,
0.08161439746618271,
0.003844251623377204,
-0.008833692409098148,
-0.03362135589122772,
0.03451303020119667,
-0.11791078001260757,
0.0377650186419487,
-0.07594964653253555,
0.0015964899212121964,
-0.03433819115161896,
0.01821812428534031,
0.06077370420098305,
-0.026085836812853813,
-0.01197640597820282,
0.021312758326530457,
-0.0937131941318512,
0.044968344271183014,
0.02031618170440197,
-0.024005264043807983,
0.037310440093278885,
0.006639475002884865,
0.00403438787907362,
0.04349970445036888,
0.03278213366866112,
0.10770023614168167,
-0.009651060216128826,
-0.0031252300832420588,
-0.0547243095934391,
0.03863920643925667,
-0.020141342654824257,
-0.01014934852719307,
-0.0031689396128058434,
0.008942966349422932,
-0.010219283401966095,
-0.051262516528367996,
-0.001100933295674622,
0.03451303020119667,
0.06692800670862198,
0.04895465448498726,
-0.03839443624019623,
0.03738037496805191,
0.12035851180553436,
-0.00632039550691843,
-0.08385232836008072,
-0.003955710679292679,
-0.02147011272609234,
0.020735792815685272,
-0.0186027679592371,
-0.0489196851849556,
-0.0036125911865383387,
0.05493411421775818,
0.05577333644032478,
-0.04377944767475128,
0.03825456276535988,
-0.042380742728710175,
-0.012763177044689655,
0.026767704635858536,
-0.045003313571214676,
-0.039373528212308884,
-0.039933010935783386,
0.011504343710839748,
-0.023410813882946968,
0.03891894966363907,
0.017116645351052284,
-0.024844486266374588,
-0.03608657419681549,
-0.05496908351778984,
0.07175353169441223,
0.014048237353563309,
-0.06220737844705582,
-0.023410813882946968,
0.009371318854391575,
0.023078622296452522,
0.00819990411400795,
-0.03661108762025833,
-0.03594670072197914,
-0.021522562950849533,
-0.05874558165669441,
0.00426823366433382,
-0.04912948980927467,
0.012317339889705181,
-0.0031011898536235094,
-0.014144398272037506,
0.01876012235879898,
0.0285335686057806,
-0.03591173514723778,
0.021837271749973297,
0.04377944767475128,
0.05577333644032478,
-0.03814966231584549,
0.010446573607623577,
0.03811469301581383,
0.013401336036622524,
-0.013899624347686768,
0.030911367386579514,
0.059584807604551315,
0.040702298283576965,
0.027956603094935417,
0.03958333283662796,
-0.03930359333753586,
-0.0323275551199913,
-0.01256211381405592,
0.052661217749118805,
0.07385159283876419,
-0.0028870131354779005,
-0.0671028420329094,
-0.01066512055695057,
0.020928114652633667,
0.05584327131509781,
0.06836167722940445,
-0.00873316079378128,
0.0005477347876876593,
0.012264888733625412,
-0.08161439746618271,
-0.03293948620557785,
-0.025194162502884865,
0.05510895326733589,
0.025980934500694275,
0.003933856263756752,
-0.024267520755529404,
-0.009974510408937931,
-0.012326082214713097,
-0.07455094158649445,
0.00180520280264318,
-0.02302617020905018,
0.006801200099289417,
0.0052232868038117886,
-0.05563346669077873,
-0.03636631369590759,
-0.00422889506444335,
-0.014371687546372414,
-0.00039802974788472056,
-0.0006283242255449295,
0.03636631369590759,
-0.05836093798279762,
-0.010070671327412128,
0.015411973930895329,
-0.0065170880407094955,
0.005577333737164736,
-0.005760913714766502,
0.031470850110054016,
0.0009840104030445218,
-0.03689082711935043,
0.010682604275643826,
0.0346703827381134,
-0.03269471600651741,
-0.021854756399989128,
0.09462235122919083,
0.01295549888163805,
-0.041751325130462646,
0.011242086067795753,
0.05947990342974663,
0.013042918406426907,
-0.010761281475424767,
0.02045605145394802,
0.01655716262757778,
0.0153682641685009,
0.006211121566593647,
0.00488235242664814,
0.007845857180655003,
0.009773447178304195,
0.004156774375587702,
-0.04489840939640999,
-0.018270576372742653,
0.008042549714446068,
0.004943545907735825,
0.04049248993396759,
-0.05402495712041855,
0.08909747004508972,
0.01744883693754673,
-0.07504048943519592,
0.010621411725878716,
0.04696149751543999,
-0.052276574075222015,
-0.07601958513259888,
-0.023498233407735825,
-0.039268624037504196,
0.025736160576343536,
-0.04241570830345154,
0.011084731668233871,
0.0179908350110054,
0.005131496582180262,
-0.05283605679869652,
0.016364840790629387,
-0.002219350542873144,
0.034180838614702225,
0.05626288428902626,
0.07476074993610382,
-0.002323160646483302,
0.03435567766427994,
-0.07518035918474197,
0.0951118990778923,
-0.0259109977632761,
0.006193637847900391,
-0.045387957245111465,
-0.04755594953894615,
-0.06668323278427124,
-0.025036808103322983,
-0.0687812864780426,
-0.03996797651052475,
-0.024809518828988075,
0.05073799937963486,
0.0026313127018511295,
0.035509608685970306,
-0.08161439746618271,
0.002723102457821369,
-0.00560355931520462,
-0.011373215354979038,
-0.03400599956512451,
-0.01678445190191269,
0.04318499565124512,
0.02744957245886326,
-0.016495969146490097,
-0.036401282995939255,
0.04790562391281128,
-0.03727547079324722,
0.01886502467095852,
-0.02227436751127243,
-0.012457210570573807,
-0.033394068479537964,
0.01785096526145935,
0.03979313746094704,
-0.06157796084880829,
-0.004021274857223034,
-0.036541152745485306,
0.06860645115375519,
0.004335983656346798,
-0.007928905077278614,
0.02524661459028721,
-0.05147232115268707,
0.010516508482396603,
0.0010118752252310514,
-0.0005226018256507814,
-0.00043081186595372856,
-0.021295273676514626,
0.028988147154450417,
-0.005677865352481604,
0.05773152410984039,
0.03870914503931999,
-0.040177781134843826,
0.03231007233262062,
-0.03175058960914612,
0.0004728822677861899,
0.0032410603016614914,
-0.002591974101960659,
-0.007216440513730049,
-0.0015713569009676576,
-0.011740374378859997,
-0.008322291076183319,
-0.007443729788064957,
0.042520612478256226,
-0.07860718667507172,
0.0005316169117577374,
-0.011705406941473484,
-0.0007867711829021573,
-0.02823634445667267,
0.036016639322042465,
0.01354120671749115,
-0.03968823701143265,
0.019302120432257652,
-0.018655220046639442,
-0.008060034364461899,
0.01811322197318077,
-0.003361261449754238,
0.008484016172587872,
0.023096105083823204,
-0.023393331095576286,
-0.00976470485329628,
0.04972394183278084,
0.007360681891441345,
0.03057917393743992,
-0.033656325191259384,
-0.0372055359184742,
0.016740743070840836,
0.023655587807297707,
-0.018183156847953796,
-0.015053555369377136,
0.030823947861790657,
-0.029075566679239273,
-0.030054660513997078,
-0.004895465448498726,
0.028411181643605232,
0.0650397539138794,
0.013357626274228096,
-0.033026907593011856,
0.027676863595843315,
0.07315223664045334,
-0.02603338472545147,
0.008890514262020588,
0.033796194940805435,
-0.043954282999038696,
-0.021120436489582062,
-0.0023515718057751656,
0.01341007836163044,
0.05587824061512947,
0.007596713025122881,
0.0003614230372477323,
-0.02967001684010029,
-0.06864141672849655,
-0.00036470123450271785,
-0.012588338926434517,
-0.05080793797969818,
0.017868448048830032,
0.03370877355337143,
0.007072199136018753,
0.020893147215247154,
0.028044022619724274,
0.06993521749973297,
0.017763545736670494,
-0.043150030076503754,
0.016487227752804756,
0.02147011272609234,
0.0031667540315538645,
-0.04675169289112091,
-0.001012967899441719,
0.052171673625707626,
0.03675095736980438,
-0.05937499925494194,
0.052661217749118805,
-0.02827131189405918,
0.009860865771770477,
0.010586443357169628,
-0.019109798595309258,
0.03996797651052475,
-0.006897361017763615,
-0.0060931057669222355,
-0.03285206854343414,
-0.023620620369911194,
-0.05231154337525368,
0.023743007332086563,
-0.0474160797894001,
-0.042765386402606964,
-0.03566696122288704,
0.0453529879450798,
-0.05024845525622368,
0.0270824134349823,
-0.02540396898984909,
-0.013829689472913742,
0.002199681242927909,
0.0049872552044689655,
-0.046821627765893936,
-0.003424640279263258,
-0.004386249464005232,
0.059305064380168915,
0.07031986117362976,
-0.0953916385769844,
0.07797776907682419,
0.02578861266374588,
-0.008484016172587872,
-0.026592867448925972,
0.006617620121687651,
0.0034596079494804144,
-0.015097265131771564,
-0.012728209607303143,
0.02968749962747097,
-0.014170623384416103,
0.03358639031648636,
-0.01756248250603676,
-0.037030696868896484,
0.048115428537130356,
0.02381294220685959,
-0.04454873502254486,
0.0165396798402071,
-0.049164459109306335,
-0.02669776976108551,
-0.018550315871834755,
0.028935696929693222,
0.012037599459290504,
-0.0030793349724262953,
-0.023498233407735825,
0.01681067794561386,
0.06902606040239334,
-0.004141476005315781,
0.03154078498482704,
0.0015156272565945983,
-0.009939542971551418,
0.017099160701036453,
0.021697402000427246,
-0.06486491858959198,
0.0035448414273560047,
-0.026085836812853813,
-0.04731117561459541,
-0.00135827308986336,
-0.06951560825109482,
-0.02680267207324505,
0.013829689472913742,
-0.056053075939416885,
0.016495969146490097,
-0.041226811707019806,
0.015062297694385052,
0.012728209607303143,
0.04804549366235733,
-0.0074262460693717,
-0.014861233532428741,
-0.0034377530682832003,
-0.012588338926434517,
0.0029875452164560556,
0.05101774260401726,
-0.00667007127776742,
-0.015962714329361916,
-0.07699867337942123,
0.03699573129415512,
-0.019092313945293427,
-0.01785096526145935,
-0.0021668989211320877,
0.010053187608718872,
0.0679420679807663,
0.04231080785393715,
0.031855493783950806,
0.06318646669387817,
0.03972320258617401,
0.04196112975478172,
-0.04248564690351486,
0.01756248250603676,
0.0059838322922587395,
0.04091210290789604,
-0.00755737442523241,
-0.017492545768618584,
-0.016321131959557533,
-0.011967664584517479,
-0.027799248695373535,
-0.01703796721994877,
-0.03384864702820778,
-0.056577593088150024,
0.014293010346591473,
-0.010306702926754951,
0.016312390565872192,
0.012168727815151215,
0.03239748999476433,
-0.013235240243375301,
-0.012920531444251537,
0.004311943426728249,
0.04573763161897659,
-0.016854386776685715,
-0.020211277529597282,
-0.0012806886807084084,
0.0020335849840193987,
-0.01444162242114544,
0.01863773539662361,
-0.029757434502243996,
-0.029984725639224052,
-0.0234282985329628,
0.02383042499423027,
-0.022431721910834312,
0.030439304187893867,
0.010595185682177544,
0.014485332183539867,
0.024896938353776932,
0.008986675180494785,
0.011854019947350025,
-0.01341881975531578,
0.011915212497115135,
-0.07045973092317581,
-0.023340879008173943,
-0.013042918406426907,
-0.04430396109819412,
0.03061414137482643,
-0.02108546905219555,
-0.02367307059466839,
-0.010831217281520367,
-0.0069541833363473415,
0.03124355897307396,
0.0015374820213764906,
-0.03786991909146309,
0.01464268658310175,
0.0037896146532148123,
-0.050318390130996704,
0.0010818104492500424,
0.014695137739181519,
0.01277191936969757,
-0.03811469301581383,
0.02397029660642147,
-0.03342903405427933,
0.03180304169654846,
0.02916298620402813,
0.07217314839363098,
0.0015757279470562935,
-0.010044445283710957,
0.05741681531071663,
0.033254195004701614,
0.018585285171866417,
0.018567800521850586,
0.030107110738754272,
0.005201431922614574,
0.014633944258093834,
0.016732001677155495,
0.0468565970659256,
0.009493705816566944,
0.059969451278448105,
0.09112559258937836,
-0.014625202864408493,
0.03199536353349686,
-0.006224234588444233,
-0.000536807463504374,
-0.028813309967517853,
0.012422243133187294,
0.01926715299487114,
0.04374447837471962,
-0.02187223918735981,
0.0380447581410408,
0.016714517027139664,
0.04129674658179283,
0.012710725888609886,
-0.0860203206539154,
-0.01074379775673151,
-0.07776796072721481,
0.032869551330804825,
-0.005883300211280584,
0.01387339923530817,
0.030544206500053406,
-0.010909894481301308,
-0.03696076199412346,
-0.040947072207927704,
-0.003968823701143265,
-0.007649164646863937,
-0.04402422159910202,
0.04584253579378128,
0.005572962574660778,
-0.025841062888503075,
0.08301310241222382,
0.0752502977848053,
0.0009413936058990657,
0.019459474831819534,
0.02148759551346302,
0.06717278063297272,
0.040282685309648514,
0.015936488285660744,
-0.02316604182124138,
0.011434407904744148,
0.037030696868896484,
0.020018955692648888,
-0.06185770034790039,
-0.0053063347004354,
-0.031051237136125565,
-0.0023974666837602854,
-0.019739216193556786,
0.07182347029447556,
-0.032764650881290436,
-0.01250966265797615,
0.02409268356859684,
0.007675390224903822,
-0.04860497638583183,
0.006617620121687651,
-0.014459106139838696,
0.019494442269206047,
0.01079624891281128,
-0.056192949414253235,
-0.00878998264670372,
-0.0008834784966893494,
-0.060109321027994156,
-0.0714038610458374,
-0.002305676694959402,
0.016382325440645218,
0.00884243380278349,
-0.02358565293252468,
0.0020838510245084763,
0.014345461502671242,
-0.007692873943597078,
-0.03958333283662796,
0.027169832959771156,
-0.006337879225611687,
-0.02395281195640564,
-0.008824950084090233,
0.016216229647397995,
-0.0837823897600174,
0.0002293383440701291,
0.009082836098968983,
-0.05392005294561386,
0.025456419214606285,
0.048884715884923935,
-0.03877907991409302,
0.06066880375146866,
0.039513397961854935,
-0.011049764230847359,
0.0016992072341963649,
-0.035876765847206116,
-0.03426825627684593,
0.04126177728176117,
0.0022728946059942245,
-0.01626867987215519,
-0.021837271749973297,
-0.016452260315418243,
-0.06486491858959198,
-0.002172362757846713,
0.020928114652633667,
-0.03944346308708191,
0.04021275043487549,
-0.021015532314777374,
0.04815039783716202,
-0.02788666822016239,
0.028044022619724274,
-0.04755594953894615,
0.01989656873047352,
0.016976773738861084,
0.022064561024308205,
-0.040562428534030914,
-0.05587824061512947,
-0.002021564869210124,
0.06496981531381607,
-0.04905955493450165,
-0.07895686477422714,
-0.08014576137065887,
-0.017343934625387192,
0.002100242068991065,
-0.015936488285660744,
0.019599344581365585,
0.015202168375253677,
-0.034198321402072906,
0.03155826777219772,
0.006342249922454357,
0.04608730971813202,
-0.049793876707553864,
0.005870187189429998,
-0.03175058960914612,
-0.07031986117362976,
0.027694346383213997,
-0.005494285374879837,
0.037695083767175674,
0.06580904126167297,
0.0006004594033583999,
0.00781526044011116,
-0.01703796721994877,
0.01665332354605198,
-0.036121539771556854,
0.04573763161897659,
0.03295697271823883,
0.0022663380950689316,
0.014022011309862137,
-0.022554107010364532,
-0.05325566977262497,
-0.0074349879287183285,
0.036121539771556854,
0.02827131189405918,
0.009292642585933208,
-0.0020401414949446917,
-0.004322870634496212,
-0.008300436660647392,
0.0020456050988286734,
-0.030281949788331985,
0.06640349328517914,
0.011888987384736538,
0.0049216910265386105,
-0.015158458612859249,
-0.0406673289835453,
-0.00839659757912159,
0.014275526627898216,
0.009843382053077221,
0.0222568828612566,
0.023253459483385086,
-0.01940702274441719,
0.0027449573390185833,
-0.02682015672326088,
0.07546009868383408,
-0.04231080785393715,
0.01087492611259222,
0.048500072211027145,
-0.022571591660380363,
0.03605160489678383,
-0.033254195004701614,
-0.06423550099134445,
0.04000294581055641,
0.019354572519659996,
-0.046017374843358994,
-0.04234577342867851,
0.03888398036360741,
-0.003409341908991337,
0.029250405728816986,
0.002784295938909054,
0.026715252548456192,
0.01120711863040924,
0.04898962005972862,
0.025596290826797485,
0.0116442134603858,
-0.03996797651052475,
0.0374852754175663,
0.07657906413078308,
-0.029197953641414642,
0.03972320258617401,
-0.004425588063895702,
0.02176733687520027,
-0.031173624098300934,
-0.015735425055027008,
-0.031086204573512077,
0.06797703355550766,
0.028813309967517853,
0.03454799950122833,
-0.0026903203688561916,
-0.04384938254952431,
-0.032642263919115067,
-0.019686764106154442,
0.025806095451116562,
0.0003406610048841685,
0.026278158649802208,
-0.04294022545218468,
-0.08448174595832825,
-0.034303225576877594,
0.017667384818196297,
0.016819419339299202,
0.08364252001047134,
-0.014633944258093834,
0.052661217749118805,
-0.006635103840380907,
-0.004602611530572176,
-0.07986602187156677,
0.034443095326423645,
0.010586443357169628,
0.04951413348317146,
0.01132950559258461,
0.01465142797678709,
0.0038661062717437744,
-0.044968344271183014,
0.021435145288705826,
0.027956603094935417,
-0.04087713360786438,
0.054234761744737625,
-0.01510600745677948,
0.07231301814317703,
-0.0050003682263195515,
-0.030159562826156616,
-0.03710063174366951,
0.038604240864515305,
-0.018200641497969627,
-0.03682089224457741,
0.003949154168367386,
-0.003479277016595006,
-0.023917844519019127,
-0.0031252300832420588,
-0.05192689970135689,
-0.012247405014932156,
-0.01528958696871996,
-0.0003589643747545779,
0.021172886714339256,
-0.009546156972646713,
-0.04587750509381294,
0.013217756524682045
] |
21,595 | delorean.dates | datetime_timezone |
This method given a timezone returns a localized datetime object.
| def datetime_timezone(tz):
"""
This method given a timezone returns a localized datetime object.
"""
utc_datetime_naive = datetime.utcnow()
# return a localized datetime to UTC
utc_localized_datetime = localize(utc_datetime_naive, 'UTC')
# normalize the datetime to given timezone
normalized_datetime = normalize(utc_localized_datetime, tz)
return normalized_datetime
| (tz) | [
0.001750249182805419,
-0.0463438518345356,
0.013297317549586296,
0.029797706753015518,
-0.04074305668473244,
-0.07877723127603531,
-0.019694307819008827,
0.03748507425189018,
-0.00240230280905962,
-0.04392782226204872,
0.019621094688773155,
-0.0003286006976850331,
-0.03131687641143799,
-0.010130854323506355,
-0.019126905128359795,
0.08470748364925385,
-0.07401838153600693,
0.009682424366474152,
-0.01685730181634426,
-0.01335222739726305,
0.05966862663626671,
-0.07379873842000961,
-0.021451419219374657,
0.026246873661875725,
0.00515694310888648,
0.032817743718624115,
0.022293370217084885,
-0.03353157266974449,
0.021762575954198837,
-0.03971807286143303,
0.023647811263799667,
0.058057937771081924,
-0.004193734377622604,
0.06523281335830688,
0.007344182580709457,
-0.03913236781954765,
0.019932249560952187,
0.0049876379780471325,
-0.09429839253425598,
-0.032689619809389114,
-0.01481648813933134,
-0.006525111850351095,
-0.005573342554271221,
-0.01818428747355938,
0.031536515802145004,
0.04718580096960068,
-0.003612605854868889,
0.019328242167830467,
-0.0022558767814189196,
0.01843138225376606,
0.040413595736026764,
0.026777667924761772,
0.01411181315779686,
0.02201882004737854,
-0.023373262956738472,
-0.0002641103055793792,
0.040047530084848404,
0.0073853651992976665,
-0.04897952079772949,
0.024343334138393402,
-0.07233448326587677,
-0.008602531626820564,
-0.010542677715420723,
0.016472933813929558,
-0.0013372818939387798,
0.04092608764767647,
-0.02743658609688282,
-0.03614893555641174,
0.027162035927176476,
-0.005266762804239988,
-0.03010886162519455,
-0.0327262282371521,
0.024746006354689598,
-0.021689362823963165,
0.02055455930531025,
0.04301265999674797,
-0.027290159836411476,
0.010817226022481918,
0.0033540723379701376,
0.015457102097570896,
-0.07584870606660843,
-0.007010148372501135,
0.013123436830937862,
0.030914204195141792,
0.018477139994502068,
-0.0005771246505901217,
0.0036720912903547287,
-0.017415551468729973,
-0.00885420199483633,
0.04469655826687813,
-0.010661648586392403,
0.017607735469937325,
0.018202591687440872,
0.07716654241085052,
-0.02809550240635872,
0.06947917491197586,
-0.02811380662024021,
0.0014505332801491022,
-0.08133968710899353,
-0.0020705561619251966,
0.0583873987197876,
0.014514484442770481,
-0.04520905017852783,
0.004790877923369408,
0.03199409693479538,
0.01866932399570942,
0.02256791852414608,
-0.0072572422213852406,
0.010570132173597813,
-0.009137902408838272,
-0.030914204195141792,
0.005454371217638254,
-0.07310321927070618,
-0.044257279485464096,
0.04436710104346275,
-0.039754677563905716,
-0.026374995708465576,
0.004067899193614721,
0.018870661035180092,
0.05048038810491562,
-0.09341983497142792,
0.02165275625884533,
0.04052341729402542,
-0.053555335849523544,
0.002411454450339079,
-0.0062871696427464485,
0.0034478765446692705,
0.002766079967841506,
0.006689841393381357,
0.021323297172784805,
-0.013343076221644878,
-0.01472497172653675,
-0.005893649533390999,
-0.020096978172659874,
-0.019547881558537483,
0.023501385003328323,
0.06603816151618958,
0.018275804817676544,
-0.0012183106737211347,
0.09166271984577179,
0.035746265202760696,
0.010048489086329937,
0.025386620312929153,
0.009169932454824448,
0.025716079398989677,
-0.021030444651842117,
-0.036533307284116745,
0.002734049456194043,
-0.0570695623755455,
-0.012125909328460693,
-0.016161777079105377,
0.036771249026060104,
-0.021433116868138313,
0.04363496974110603,
-0.04147518426179886,
-0.07914329320192337,
-0.00594398332759738,
-0.046819739043712616,
0.010149157606065273,
0.003303738310933113,
-0.06746581196784973,
0.000861397129483521,
-0.03851005807518959,
-0.0429394468665123,
-0.016143474727869034,
0.0331105962395668,
0.04813757166266441,
-0.030401714146137238,
-0.011210746131837368,
-0.017928043380379677,
-0.028571387752890587,
-0.06040075421333313,
0.013178346678614616,
0.0259174145758152,
0.029797706753015518,
0.004244068171828985,
0.0027615041472017765,
0.026082145050168037,
-0.01600619964301586,
0.01630820333957672,
0.07921650260686874,
0.006520536262542009,
-0.04487959295511246,
0.013397986069321632,
0.014834791421890259,
0.03894933685660362,
0.02458127774298191,
0.02481921948492527,
-0.013498653657734394,
0.039754677563905716,
0.07039433717727661,
0.014130116440355778,
0.015859773382544518,
-0.0050242445431649685,
0.016765786334872246,
0.01892556995153427,
0.02154293656349182,
-0.02384914644062519,
-0.02146972343325615,
0.005385734140872955,
-0.0074128201231360435,
-0.013645079918205738,
0.04246355965733528,
-0.021927304565906525,
0.03547171503305435,
0.053921401500701904,
-0.03382442146539688,
0.0029010665602982044,
-0.058899886906147,
-0.04125554487109184,
0.02652142196893692,
-0.06065700203180313,
-0.012986162677407265,
-0.005166094750165939,
-0.039095763117074966,
0.0633658841252327,
-0.06087664142251015,
0.0024091664236038923,
-0.004749695770442486,
0.02377593331038952,
0.04663670435547829,
-0.022824164479970932,
-0.03137178719043732,
-0.03534359484910965,
0.055678512901067734,
-0.015173401683568954,
-0.05311605706810951,
-0.04755186662077904,
-0.03880291059613228,
-0.1005214974284172,
0.01726912520825863,
-0.07401838153600693,
-0.011924573220312595,
-0.025350013747811317,
0.06966220587491989,
0.037631500512361526,
0.06709975004196167,
-0.013462047092616558,
0.03225034102797508,
0.005573342554271221,
-0.03005395084619522,
0.030566442757844925,
0.04769829288125038,
-0.0018715083133429289,
-0.03666142746806145,
0.03565474972128868,
-0.024782612919807434,
-0.013379682786762714,
0.015502860769629478,
-0.023574598133563995,
-0.022055426612496376,
0.034153882414102554,
0.015264918096363544,
-0.006698993034660816,
0.05699634924530983,
-0.022970590740442276,
0.04762507975101471,
0.03237846493721008,
0.025716079398989677,
0.040413595736026764,
-0.03503243997693062,
-0.01630820333957672,
-0.016033655032515526,
0.011457839980721474,
-0.058057937771081924,
-0.031975794583559036,
-0.018083620816469193,
0.025258498266339302,
-0.050956275314092636,
-0.0039077457040548325,
0.051981255412101746,
0.04015735164284706,
-0.010826378129422665,
0.005985165946185589,
-0.03660651668906212,
-0.02256791852414608,
-0.053994614630937576,
-0.022677738219499588,
-0.06757563352584839,
0.019804125651717186,
-0.015219160355627537,
-0.032323554158210754,
0.022421492263674736,
0.03164633363485336,
-0.07273714989423752,
-0.01927333138883114,
-0.013123436830937862,
0.015905532985925674,
0.0025830473750829697,
0.0049876379780471325,
-0.01286719087511301,
0.006712720263749361,
0.007133695296943188,
-0.031975794583559036,
-0.03322041407227516,
-0.023409869521856308,
-0.07965578138828278,
-0.03898594155907631,
0.0445135273039341,
-0.0115859629586339,
-0.07431123405694962,
0.08800207078456879,
0.03199409693479538,
0.09473767131567001,
0.05099288001656532,
0.05542226880788803,
-0.004607845563441515,
-0.017863981425762177,
-0.029541460797190666,
-0.015466254204511642,
-0.03157312050461769,
-0.05900970846414566,
0.010936197824776173,
0.006625779904425144,
-0.005102033726871014,
0.051066093146800995,
-0.0020030629821121693,
0.0021975350100547075,
0.016289900988340378,
0.049125947058200836,
-0.02414199896156788,
0.016765786334872246,
0.03521547093987465,
0.005779254250228405,
0.024434851482510567,
-0.07471390068531036,
-0.018339864909648895,
0.038729697465896606,
-0.016134323552250862,
0.02049965038895607,
0.012089302763342857,
-0.04037699103355408,
-0.00860710721462965,
0.02170766517519951,
0.031408391892910004,
0.049967896193265915,
0.0021712242159992456,
-0.027784347534179688,
0.009050961583852768,
0.026301784440875053,
0.033000774681568146,
0.06215786933898926,
-0.038363631814718246,
0.03252489119768143,
-0.006355806719511747,
0.05231071636080742,
0.006973541807383299,
-0.00495560746639967,
-0.002321082167327404,
0.02306210622191429,
-0.04579475522041321,
-0.00045386364217847586,
0.011183291673660278,
-0.004465995356440544,
-0.03840023651719093,
0.030639655888080597,
0.03832702338695526,
0.02104874886572361,
-0.017863981425762177,
-0.004518616944551468,
-0.020389830693602562,
-0.034282006323337555,
0.09671442210674286,
-0.07054076343774796,
0.05102948844432831,
0.0074494266882538795,
0.03071286901831627,
0.008044282905757427,
-0.019566183909773827,
-0.05231071636080742,
-0.07372552901506424,
0.02146972343325615,
0.04447691887617111,
-0.03387933224439621,
0.04074305668473244,
-0.010332189500331879,
0.009435330517590046,
0.0484304241836071,
-0.05296963080763817,
0.0688568577170372,
0.04465995356440544,
0.015228311531245708,
0.02743658609688282,
-0.003296874463558197,
0.027509799227118492,
-0.0011187867494300008,
0.04275641217827797,
0.029651280492544174,
-0.08317001163959503,
-0.057142775505781174,
0.00217465590685606,
-0.03924218937754631,
0.0012629248667508364,
-0.016161777079105377,
-0.026722759008407593,
0.0031984946690499783,
-0.06354891508817673,
0.005468098912388086,
-0.01283973641693592,
0.04586796835064888,
-0.0003752168267965317,
-0.0071474225260317326,
-0.021396510303020477,
-0.01009424775838852,
-0.005166094750165939,
0.04568493366241455,
-0.03005395084619522,
0.05999808385968208,
-0.03697258234024048,
-0.0022581645753234625,
-0.02987091988325119,
-0.06248732656240463,
0.0017022030660882592,
-0.003855123883113265,
-0.007197756785899401,
0.024251818656921387,
-0.005527584347873926,
-0.028919149190187454,
0.006442747078835964,
-0.008012251928448677,
0.011357172392308712,
-0.0074677299708127975,
-0.030383409932255745,
-0.0014402377419173717,
0.042317137122154236,
-0.03322041407227516,
0.05048038810491562,
0.012528580613434315,
-0.0513223372399807,
0.002207830548286438,
0.027162035927176476,
-0.00681338831782341,
-0.023080410435795784,
-0.035673052072525024,
0.10659818351268768,
0.01770840398967266,
0.0900520384311676,
0.007444850634783506,
-0.015164250507950783,
0.0795825719833374,
0.029523156583309174,
0.008570501580834389,
-0.021616149693727493,
-0.018275804817676544,
-0.028845936059951782,
0.016701724380254745,
-0.034153882414102554,
0.033787816762924194,
0.020572863519191742,
-0.0009094431879930198,
-0.0020614045206457376,
0.039278794080019,
-0.030145468190312386,
-0.05139555037021637,
0.0015351858455687761,
0.0029102182015776634,
0.0037086978554725647,
-0.017809070646762848,
-0.05476335063576698,
0.021067051216959953,
-0.033915940672159195,
-0.0006114432471804321,
0.04872327670454979,
-0.053994614630937576,
0.03225034102797508,
0.004550647921860218,
-0.06684350222349167,
-0.005321672651916742,
-0.06105967238545418,
0.013251559808850288,
0.013992841355502605,
0.00894114188849926,
-0.014166723005473614,
-0.0034295732621103525,
-0.0041914465837180614,
-0.010506071150302887,
-0.04707598313689232,
0.04963843896985054,
0.004509465303272009,
0.021799182519316673,
-0.024654490873217583,
0.050333961844444275,
-0.019877338781952858,
0.009590907953679562,
0.033549875020980835,
0.008227314800024033,
0.03406236693263054,
-0.011485295370221138,
0.020463043823838234,
-0.03192088380455971,
0.003349496517330408,
0.04473316669464111,
0.01666511781513691,
-0.048942916095256805,
0.008016827516257763,
-0.004678770434111357,
-0.035069044679403305,
0.0015214583836495876,
0.03735695034265518,
-0.024343334138393402,
-0.016509540379047394,
0.09144308418035507,
0.007078785449266434,
0.028388354927301407,
-0.0260455384850502,
-0.003072659717872739,
-0.02134159952402115,
-0.00011296542652416974,
0.02243979647755623,
-0.0180653166025877,
-0.005692313425242901,
-0.010066792368888855,
-0.008355437777936459,
-0.022403189912438393,
-0.02243979647755623,
0.0426831990480423,
-0.01356271468102932,
-0.07672726362943649,
0.011457839980721474,
0.001270932611078024,
0.014258239418268204,
0.03898594155907631,
0.045282263308763504,
-0.00663035549223423,
0.03777792677283287,
0.0463438518345356,
-0.038656484335660934,
0.02816871553659439,
0.056483857333660126,
0.005111185368150473,
0.04725901409983635,
-0.03656991198658943,
-0.010323038324713707,
0.02597232535481453,
0.06146234646439552,
0.03380611911416054,
-0.11706764996051788,
-0.06786848604679108,
-0.028919149190187454,
-0.00450031366199255,
-0.07636119425296783,
-0.03730204328894615,
0.031060630455613136,
0.026356693357229233,
-0.03997431695461273,
-0.005175246391445398,
0.011384626850485802,
0.0028232778422534466,
0.0051157609559595585,
0.03891272842884064,
-0.029541460797190666,
-0.04524565860629082,
0.05223750323057175,
0.058131150901317596,
0.010533525608479977,
0.006946086883544922,
-0.04897952079772949,
0.03572796285152435,
-0.0145968496799469,
-0.00972818210721016,
0.012912949547171593,
0.07090682536363602,
0.07621476799249649,
0.04107251390814781,
-0.07943614572286606,
-0.0028255656361579895,
-0.07255411893129349,
0.07833795249462128,
-0.010661648586392403,
0.015438798815011978,
-0.015594377182424068,
0.015264918096363544,
0.02377593331038952,
0.03534359484910965,
-0.03576456755399704,
0.0536651574075222,
0.05194465070962906,
0.00012690736912190914,
0.034886013716459274,
0.025514744222164154,
-0.028241928666830063,
0.014468726702034473,
0.03073117323219776,
-0.022915679961442947,
-0.012949556112289429,
-0.049492012709379196,
0.0636221319437027,
-0.005477250553667545,
0.012199122458696365,
-0.04184124991297722,
-0.03858327120542526,
0.0534089095890522,
0.03592929616570473,
0.04487959295511246,
0.04220731556415558,
-0.10754995048046112,
-0.06369534134864807,
-0.0074585783295333385,
0.014670061878859997,
-0.02463618665933609,
-0.034757889807224274,
0.011274808086454868,
0.00036692313733510673,
-0.005458947271108627,
0.01879744790494442,
-0.026118751615285873,
-0.051981255412101746,
-0.06871043890714645,
-0.002997158793732524,
-0.0036903945729136467,
-0.018111074343323708,
0.028058895841240883,
0.037631500512361526,
-0.0012491974048316479,
0.0701746940612793,
-0.07002826780080795,
-0.07584870606660843,
0.056849922984838486,
-0.025990627706050873,
-0.013379682786762714,
-0.053994614630937576,
0.000015416562746395357,
-0.031042328104376793,
0.04008413851261139,
-0.010130854323506355,
0.013480350375175476,
0.0008047714363783598,
-0.017909739166498184,
-0.02628348022699356,
-0.012373003177344799,
0.016097716987133026,
-0.023135319352149963,
-0.02877272292971611,
-0.05256696045398712,
-0.03188427910208702,
0.01247367076575756,
-0.05150537192821503,
0.008378316648304462,
-0.012638400308787823,
0.00564197963103652,
0.023885753005743027,
0.04286623373627663,
0.0484304241836071,
-0.0025121222715824842,
-0.013892173767089844,
0.04623403400182724,
-0.0649399608373642,
-0.047112587839365005,
-0.00011182147136423737,
-0.009526845999062061,
-0.002301634754985571,
-0.014468726702034473,
0.06354891508817673,
-0.021634452044963837,
-0.0659649446606636,
0.004845787771046162,
-0.0463438518345356,
0.005353703163564205,
0.0583873987197876,
0.000697811774443835,
-0.0022410054225474596,
-0.009499391540884972,
-0.032451678067445755,
-0.025642866268754005,
0.03071286901831627,
0.018541201949119568,
-0.04125554487109184,
-0.034757889807224274,
-0.04374479129910469,
-0.040047530084848404,
-0.001147957518696785,
0.012491974048316479,
0.06534263491630554,
-0.0012022953014820814,
-0.017973801121115685,
0.03398915380239487,
0.0037064100615680218,
0.03461146354675293,
-0.0052530355751514435,
-0.022403189912438393,
0.08031470328569412,
-0.014148419722914696,
-0.003248828463256359,
0.04788132756948471,
-0.00981969852000475,
-0.008735230192542076,
-0.002663124119862914,
-0.03265301510691643,
-0.0007389941019937396,
0.008872505277395248,
0.046453673392534256,
-0.010258976370096207,
-0.05966862663626671,
0.027656225487589836,
0.0858788937330246,
-0.023153623566031456,
-0.034886013716459274,
0.06010790169239044,
0.0426831990480423,
0.07797188311815262,
0.016198383644223213,
-0.012290638871490955,
-0.004600981716066599,
0.008465257473289967,
0.03400745615363121,
0.008405772037804127,
-0.008753533475100994,
0.04846702888607979,
0.02214694395661354,
0.016207536682486534,
0.04367157816886902,
-0.034886013716459274,
-0.011668328195810318,
-0.014130116440355778,
0.007380789145827293,
0.015338131226599216,
0.01691221073269844,
0.07548264414072037,
0.023080410435795784,
0.0027683679945766926,
0.0019676003139466047,
-0.01746130920946598,
-0.04367157816886902,
-0.014157570898532867,
-0.008199860341846943,
0.051981255412101746,
-0.03752168267965317,
0.0016450054245069623,
-0.06307303160429001,
0.010176612064242363,
-0.016701724380254745,
0.010817226022481918,
0.022769253700971603,
-0.0019332817755639553,
0.006849994882941246,
-0.007065058220177889,
0.004658179357647896,
0.005632827989757061,
-0.045648328959941864,
0.010194915346801281,
-0.010130854323506355,
-0.02377593331038952,
0.03629536181688309,
-0.004541496280580759,
0.04788132756948471,
-0.015896379947662354,
-0.03656991198658943,
-0.04290283843874931,
-0.0035714234691113234,
0.11538374423980713,
0.05944898724555969,
-0.020389830693602562,
-0.015493708662688732,
-0.0513223372399807,
0.046563491225242615,
-0.034227095544338226,
-0.036167241632938385,
0.0034410126972943544,
-0.04341533035039902,
0.03675294294953346,
-0.05827757716178894,
-0.06750241667032242,
-0.014962914399802685,
0.006406140513718128,
0.026484815403819084,
-0.048210784792900085,
0.005998893175274134,
0.014532787725329399
] |
21,596 | delorean.interface | epoch | null | def epoch(s):
dt = datetime.utcfromtimestamp(s)
return Delorean(datetime=dt, timezone='UTC')
| (s) | [
-0.05655286833643913,
0.023135265335440636,
0.00892849825322628,
0.06327066570520401,
-0.011139201931655407,
0.03321195766329765,
-0.056758515536785126,
0.07519818097352982,
0.03316054493188858,
0.026339927688241005,
-0.015029353089630604,
0.030161529779434204,
-0.021627187728881836,
0.045002374798059464,
0.03547407314181328,
0.0349256806075573,
-0.04328865185379982,
0.009571144357323647,
-0.05778675153851509,
-0.04603060707449913,
0.008144469931721687,
-0.02388930320739746,
-0.027916552498936653,
0.015217863023281097,
-0.0484640970826149,
0.04136928170919418,
0.05048628896474838,
0.045002374798059464,
-0.07334735989570618,
-0.02010197378695011,
0.008577185682952404,
0.03845595195889473,
-0.013118552044034004,
0.018559623509645462,
0.010102398693561554,
-0.022158442065119743,
-0.04901248589158058,
0.03578254207968712,
-0.10556535422801971,
0.0046784644946455956,
-0.011156339198350906,
0.0011589054483920336,
-0.012441631406545639,
0.06395615637302399,
0.0026262809988111258,
-0.001721220905892551,
0.002315668622031808,
-0.043151553720235825,
-0.06937152147293091,
-0.029664549976587296,
-0.05298832431435585,
0.026425613090395927,
0.03276639059185982,
0.00615655118599534,
-0.01955358311533928,
-0.0349256806075573,
0.02681976929306984,
0.0681033656001091,
-0.04380276799201965,
0.03374321386218071,
-0.03216658532619476,
-0.004102225415408611,
0.04565358906984329,
0.063407763838768,
-0.018679583445191383,
0.05120605230331421,
-0.012835787609219551,
-0.029133295640349388,
-0.00439570052549243,
0.018182603642344475,
0.022055618464946747,
0.021935658529400826,
0.03295489773154259,
-0.004102225415408611,
0.02435200847685337,
0.06028878688812256,
-0.007390432059764862,
0.038010384887456894,
-0.03396599739789963,
0.042363241314888,
0.01735144853591919,
0.013349904678761959,
0.023443734273314476,
0.05483914539217949,
0.04897821322083473,
-0.033023446798324585,
0.05185726657509804,
0.014917961321771145,
-0.06261944770812988,
0.058300867676734924,
0.023974988609552383,
-0.028276434168219566,
0.006752070039510727,
-0.028499219566583633,
-0.04959515109658241,
0.054599225521087646,
-0.050417739897966385,
0.04483100026845932,
-0.011096358299255371,
-0.06868603080511093,
0.0680348128080368,
0.05785530060529709,
-0.032286547124385834,
-0.03444583714008331,
-0.022484049201011658,
0.029081884771585464,
0.013204238377511501,
-0.001365623320452869,
-0.010839300230145454,
0.020667502656579018,
-0.015337823890149593,
0.0590549074113369,
-0.00921983178704977,
0.03429160267114639,
-0.04058096930384636,
-0.06632108986377716,
0.04671609774231911,
-0.032989174127578735,
-0.02450624294579029,
-0.01293004211038351,
-0.033794622868299484,
0.026219967752695084,
-0.05682706460356712,
0.014549510553479195,
-0.04112935811281204,
-0.009965301491320133,
0.013229943811893463,
0.04657899960875511,
0.044042687863111496,
-0.04534512013196945,
0.042294692248106,
0.0002040401886915788,
0.04637335240840912,
0.02867059037089348,
0.025328829884529114,
-0.02349514700472355,
0.04716166481375694,
0.07033120840787888,
-0.05120605230331421,
-0.003307485952973366,
0.013675511814653873,
0.011319142766296864,
0.07622641324996948,
0.026425613090395927,
-0.009348360821604729,
-0.013632669113576412,
-0.04339147359132767,
0.003939421381801367,
0.005663855466991663,
0.04489954933524132,
0.014026825316250324,
-0.009117008186876774,
0.0846579298377037,
0.05144597589969635,
-0.03735916689038277,
-0.05394801124930382,
-0.02968168817460537,
-0.06457309424877167,
0.04760723561048508,
0.024557655677199364,
-0.06553278118371964,
0.051034681499004364,
-0.0408894382417202,
-0.06436745077371597,
-0.025363104417920113,
0.011541926302015781,
-0.044659629464149475,
-0.010136673226952553,
-0.031206902116537094,
0.026648398488759995,
0.053159698843955994,
0.04997217282652855,
0.04726449027657509,
0.02555161528289318,
0.015860509127378464,
-0.07211347669363022,
0.04061524197459221,
0.07009128481149673,
-0.02337518520653248,
0.0500064454972744,
0.011456239968538284,
0.034223053604364395,
0.011456239968538284,
-0.016186116263270378,
0.020341895520687103,
0.015183588489890099,
-0.016143273562192917,
0.028190748766064644,
-0.025106046348810196,
-0.09473462402820587,
0.011524789035320282,
0.057066988199949265,
0.005025493446737528,
0.03578254207968712,
-0.05021209269762039,
0.0362623855471611,
-0.03160105645656586,
0.051891542971134186,
-0.0363994836807251,
-0.02442055754363537,
-0.0666295662522316,
0.08883941918611526,
0.0045028082095086575,
-0.1270211786031723,
-0.03377748653292656,
0.023563696071505547,
-0.07595221698284149,
0.008731420151889324,
-0.033914584666490555,
-0.013204238377511501,
0.01685446873307228,
0.05124032869935036,
-0.016957292333245277,
0.03931281343102455,
-0.009888183325529099,
-0.03629665821790695,
0.00354098086245358,
-0.0052525619976222515,
0.03142968565225601,
-0.02179856039583683,
0.01905660331249237,
-0.027882277965545654,
0.02887623757123947,
-0.058849260210990906,
-0.0034702897537499666,
-0.04061524197459221,
-0.011918946169316769,
-0.028225023299455643,
-0.021284444257616997,
-0.07225057482719421,
0.018885230645537376,
-0.03962128236889839,
-0.030932705849409103,
0.013589825481176376,
0.06587552279233932,
0.02512318454682827,
0.014395276084542274,
-0.048875387758016586,
0.012955748476088047,
-0.008414381183683872,
-0.03084702044725418,
0.007133373524993658,
-0.0013035008450970054,
-0.004301445558667183,
0.08267001062631607,
0.030195804312825203,
-0.031703881919384,
0.02860204316675663,
-0.060734353959560394,
-0.00357953947968781,
-0.013966845348477364,
-0.043117277324199677,
0.05021209269762039,
0.005081189796328545,
0.04781287908554077,
-0.02829357236623764,
-0.024643341079354286,
0.04208904504776001,
0.010779319331049919,
0.057101260870695114,
0.01874813251197338,
-0.01376119814813137,
-0.09171847254037857,
0.03938136249780655,
-0.04232896491885185,
-0.021078797057271004,
-0.040718067437410355,
-0.0006426462205126882,
0.008033078163862228,
0.01285292487591505,
0.05473632365465164,
-0.0007331522647291422,
-0.034188780933618546,
-0.05264557898044586,
0.0340859554708004,
-0.03571399301290512,
0.012672984041273594,
-0.013169963844120502,
0.018833819776773453,
0.01986205391585827,
0.006010884419083595,
-0.01076218206435442,
0.01724005676805973,
0.0015027211047708988,
0.0514116995036602,
-0.036468032747507095,
0.004108651541173458,
-0.013666943646967411,
-0.05360526591539383,
-0.03543979674577713,
0.0011899666860699654,
-0.06296219676733017,
0.025517340749502182,
-0.02789941616356373,
0.01459235418587923,
0.018679583445191383,
-0.012655846774578094,
-0.011302005499601364,
0.002572727156803012,
0.00022854107373859733,
-0.0026798348408192396,
-0.022124167531728745,
0.021284444257616997,
0.06471019238233566,
-0.007955960929393768,
-0.012664414942264557,
-0.026082869619131088,
-0.005561032332479954,
0.026442751288414,
-0.018559623509645462,
-0.04836127161979675,
-0.01738572306931019,
0.01611756719648838,
0.007099098991602659,
-0.058335140347480774,
0.02767663076519966,
0.014755157753825188,
-0.023632245138287544,
0.0106079475954175,
0.039518460631370544,
0.01712866500020027,
0.030641373246908188,
0.07471833378076553,
0.031052665784955025,
0.0013774051330983639,
-0.026648398488759995,
0.009528301656246185,
0.0620710588991642,
-0.011747573502361774,
0.02388930320739746,
0.020547542721033096,
-0.1242792159318924,
0.006032306235283613,
0.018576761707663536,
0.026339927688241005,
0.04030677303671837,
-0.006584981922060251,
-0.0011139201233163476,
-0.003718779655173421,
-0.07190783321857452,
0.04719594120979309,
0.013941138982772827,
-0.033177684992551804,
0.010702202096581459,
0.009571144357323647,
0.06409325450658798,
0.019227975979447365,
-0.022364089265465736,
0.027162514626979828,
0.0666981115937233,
0.018765270709991455,
0.030641373246908188,
-0.03053854964673519,
0.022861069068312645,
0.0015402088174596429,
0.04565358906984329,
0.05298832431435585,
-0.0333147831261158,
0.0072019221261143684,
-0.087811179459095,
-0.08390389382839203,
-0.012570160441100597,
0.07327880710363388,
-0.05843796581029892,
-0.020359033718705177,
0.013804041780531406,
-0.0030161531176418066,
-0.03938136249780655,
0.08109338581562042,
0.030778471380472183,
-0.0664239153265953,
0.031206902116537094,
0.003975837957113981,
-0.013187101110816002,
0.018970917910337448,
-0.010616515763103962,
-0.02346087247133255,
0.014643765985965729,
-0.007304745726287365,
-0.01716293953359127,
-0.023563696071505547,
-0.031943801790475845,
-0.006169403903186321,
0.017222918570041656,
0.0876740887761116,
0.005368238314986229,
-0.014266747049987316,
0.0018604608485475183,
0.021164482459425926,
0.005513904616236687,
-0.018885230645537376,
-0.019039466977119446,
0.04757295921444893,
-0.01420676615089178,
-0.04064951837062836,
0.021233031526207924,
0.030744196847081184,
0.022672560065984726,
-0.010059555992484093,
0.005775247700512409,
0.011302005499601364,
0.04335720092058182,
-0.01451523695141077,
0.03196093812584877,
-0.010402300395071507,
0.03316054493188858,
0.03876442089676857,
-0.03504564240574837,
-0.03158392012119293,
0.026751220226287842,
0.00022800553415436298,
-0.03667367994785309,
0.000995030626654625,
-0.00013288049376569688,
0.009425478056073189,
0.013975413516163826,
-0.10021854192018509,
-0.021352993324398994,
-0.02244977466762066,
-0.04688746854662895,
-0.013281355611979961,
-0.022004207596182823,
0.004044387023895979,
0.041026536375284195,
0.059500474482774734,
0.04716166481375694,
0.01561201922595501,
-0.0003901398158632219,
-0.03305772319436073,
0.03189239278435707,
-0.009536869823932648,
-0.03266356512904167,
-0.010368025861680508,
-0.087948277592659,
0.02925325743854046,
0.02789941616356373,
0.03297203779220581,
-0.009519733488559723,
-0.04184912517666817,
0.037119247019290924,
0.03146396204829216,
0.023632245138287544,
0.008817106485366821,
0.010899280197918415,
0.07540382444858551,
-0.009211262688040733,
-0.03725634515285492,
-0.00790454912930727,
0.03564544394612312,
-0.015303549356758595,
0.006529286038130522,
-0.08136758208274841,
0.02697400562465191,
-0.003230368485674262,
0.021404404193162918,
-0.048943936824798584,
-0.027265338227152824,
0.0302643533796072,
-0.034959957003593445,
0.006987706758081913,
-0.002183926058933139,
-0.024951811879873276,
0.012844356708228588,
-0.001282079261727631,
-0.0039094313979148865,
-0.02454051747918129,
0.004031534306704998,
0.0008788187406025827,
-0.03821602836251259,
-0.04633907973766327,
0.07087959349155426,
-0.026734083890914917,
0.04582495987415314,
0.02863631583750248,
-0.021969933062791824,
-0.028807688504457474,
-0.009168419986963272,
-0.028979061171412468,
-0.045585040003061295,
0.014523805119097233,
-0.016246097162365913,
-0.031669605523347855,
0.006747785490006208,
-0.028087925165891647,
-0.008611459285020828,
-0.015851940959692,
-0.07238767296075821,
-0.019724955782294273,
-0.0024720458313822746,
0.003999401815235615,
-0.021284444257616997,
0.033177684992551804,
-0.017497114837169647,
-0.044968098402023315,
0.0310698039829731,
-0.05994604155421257,
0.039552733302116394,
0.024797575548291206,
-0.013144257478415966,
-0.056450046598911285,
-0.05696416273713112,
0.061556942760944366,
0.020804600790143013,
-0.037119247019290924,
-0.029750237241387367,
0.06991991400718689,
-0.0069448635913431644,
0.0059251985512673855,
-0.014043962582945824,
0.042294692248106,
0.03182384371757507,
0.0011481946567073464,
-0.00022787164198234677,
0.03334905579686165,
-0.021935658529400826,
0.020958837121725082,
0.0454479418694973,
0.006953432224690914,
-0.03134400025010109,
-0.0073861475102603436,
0.017154371365904808,
0.03663940355181694,
0.007561804261058569,
0.023083852604031563,
-0.03643375635147095,
0.059466198086738586,
-0.05720408633351326,
0.02176428586244583,
0.003510990645736456,
0.019005192443728447,
0.025020360946655273,
-0.028550630435347557,
-0.0013666943414136767,
0.000045922428398625925,
-0.02810506336390972,
0.005501051899045706,
-0.016605978831648827,
-0.007454696577042341,
0.005886639468371868,
0.005561032332479954,
-0.05422220751643181,
-0.014181060716509819,
0.05477059632539749,
0.08897651731967926,
-0.05730690807104111,
0.02017052285373211,
0.026477025821805,
0.053502440452575684,
0.03629665821790695,
0.02983592264354229,
0.014943667687475681,
0.012553023174405098,
0.024026401340961456,
-0.02373506873846054,
-0.005321111064404249,
0.015714842826128006,
-0.012287396006286144,
-0.020341895520687103,
-0.024557655677199364,
-0.015672000125050545,
-0.012664414942264557,
-0.005869502201676369,
0.10124677419662476,
0.020787464454770088,
-0.03989547863602638,
0.05418793112039566,
-0.009108439087867737,
-0.06872030347585678,
-0.04719594120979309,
0.03975838050246239,
-0.005985178519040346,
0.06474446505308151,
0.010179516859352589,
0.01105351559817791,
-0.01700013503432274,
0.025911496952176094,
-0.0469217449426651,
-0.07375865429639816,
0.03571399301290512,
0.018542487174272537,
0.00804164633154869,
-0.052268560975790024,
-0.03011011891067028,
-0.04335720092058182,
-0.0005020673852413893,
0.044351160526275635,
0.011781848035752773,
-0.01739429123699665,
-0.040992263704538345,
-0.0019033040152862668,
0.0605972558259964,
0.005265414714813232,
-0.062208157032728195,
0.05579883232712746,
-0.031326863914728165,
-0.11248879879713058,
0.024266323074698448,
-0.014138217084109783,
-0.01859389804303646,
0.022741109132766724,
-0.03489140793681145,
0.039244264364242554,
-0.02275824546813965,
0.020461857318878174,
0.022826794534921646,
-0.05411938205361366,
-0.01684590056538582,
-0.014815137721598148,
-0.027762318029999733,
-0.010539398528635502,
-0.014772295020520687,
-0.012561592273414135,
-0.02462620474398136,
-0.018525348976254463,
0.05778675153851509,
-0.013675511814653873,
0.033571839332580566,
-0.014643765985965729,
-0.058026671409606934,
0.004074377007782459,
0.029767373576760292,
0.038627322763204575,
0.0026112860068678856,
0.009057028219103813,
-0.005985178519040346,
0.013632669113576412,
-0.0325436070561409,
0.02380361780524254,
0.03340046852827072,
-0.032183725386857986,
0.006143698003143072,
0.06080290302634239,
-0.03346901759505272,
-0.019587857648730278,
-0.009913889691233635,
0.02207275666296482,
-0.0333833284676075,
0.01782272197306156,
0.02260401099920273,
0.028893375769257545,
-0.0257743988186121,
0.060460157692432404,
-0.006285080220550299,
-0.0003336405206937343,
-0.01611756719648838,
0.010582241229712963,
0.017925545573234558,
0.022775383666157722,
0.013504140079021454,
0.016408901661634445,
0.0006383619620464742,
0.05963757261633873,
0.08897651731967926,
0.027316749095916748,
-0.04517374560236931,
0.005950904451310635,
-0.04822417348623276,
0.006692089606076479,
0.030435726046562195,
-0.0696457177400589,
-0.012270258739590645,
-0.030401451513171196,
-0.07094814628362656,
0.01696586050093174,
-0.007326167076826096,
0.023220950737595558,
-0.012355945073068142,
0.02330663800239563,
-0.0347885824739933,
0.0022728254552930593,
-0.06704085320234299,
0.0016366058262065053,
0.042500339448451996,
-0.029664549976587296,
0.019810641184449196,
-0.0544278509914875,
-0.01557774469256401,
0.004747013561427593,
0.02376934327185154,
0.05850651487708092,
-0.05333106964826584,
0.033417604863643646,
-0.02937321737408638,
-0.0063793351873755455,
-0.04363139718770981,
0.017685623839497566,
0.026305653154850006,
0.008902792818844318,
-0.013804041780531406,
0.020513268187642097,
0.06556705385446548,
0.03845595195889473,
-0.01924511231482029,
-0.002765520941466093,
0.03130972385406494,
-0.029561728239059448,
-0.01731717400252819,
0.05247420817613602,
0.013915433548390865,
-0.014001119881868362,
0.04668182507157326,
0.0038537352811545134,
-0.009991006925702095,
-0.0053511010482907295,
-0.0063793351873755455,
0.0002843709662556648,
-0.012655846774578094,
0.03340046852827072,
0.01368408091366291,
0.015115039423108101,
0.017874134704470634,
0.022432638332247734,
-0.013058572076261044,
-0.031018391251564026,
-0.012510180473327637,
0.02346087247133255,
0.050109270960092545,
0.017171507701277733,
-0.027025416493415833,
0.050417739897966385,
-0.002315668622031808,
-0.015029353089630604,
0.024266323074698448,
0.07492398470640182,
-0.09288380295038223,
-0.005466777365654707,
0.020119111984968185,
0.007737461011856794,
0.010873574763536453,
-0.03698214888572693,
0.0049955034628510475,
0.010059555992484093,
0.014498099684715271,
-0.050417739897966385,
-0.03581681847572327,
-0.021147346124053,
0.01293004211038351,
0.0044214059598743916,
-0.036776501685380936,
-0.06333921104669571,
-0.023135265335440636,
-0.007681764662265778,
-0.02992160990834236,
0.005698130000382662,
-0.05381091311573982,
-0.02161005139350891,
-0.01287006214261055,
-0.009091301821172237,
0.024214910343289375,
-0.0031618194188922644,
0.03220086172223091,
-0.003960843198001385,
-0.06680093705654144,
0.022621147334575653,
-0.027762318029999733,
-0.05113750323653221,
-0.04452253133058548,
0.011833259835839272,
-0.023855028674006462,
-0.015569176524877548,
0.013101414777338505,
-0.05812949687242508,
0.010033849626779556,
-0.02407781220972538,
-0.0378047376871109,
-0.008298705331981182,
-0.009725379757583141,
-0.021284444257616997
] |
21,598 | delorean.interface | flux | null | def flux():
print("If you put your mind to it, you can accomplish anything.")
| () | [
0.01721014454960823,
-0.002862719353288412,
0.011036480776965618,
0.03954527527093887,
0.06691236793994904,
-0.0022643813863396645,
-0.07056581974029541,
0.009793290868401527,
0.002070925896987319,
-0.00951420795172453,
0.007070113439112902,
-0.01178070344030857,
-0.0013637031661346555,
0.012753266841173172,
-0.05168963596224785,
0.002038154751062393,
0.028787879273295403,
0.007636737544089556,
-0.004883959889411926,
0.045702025294303894,
0.02293558418750763,
0.04729195684194565,
0.059639282524585724,
-0.008854555897414684,
0.0007854507421143353,
0.042522165924310684,
-0.017252430319786072,
-0.015417245216667652,
-0.046480078250169754,
-0.026808923110365868,
-0.007501424290239811,
-0.09241890162229538,
0.03971441835165024,
-0.022631129249930382,
-0.009091353975236416,
0.05632410943508148,
0.004086880944669247,
0.0020561260171234608,
-0.02743474766612053,
0.003524485509842634,
0.04719047248363495,
-0.001296046539209783,
0.013176120817661285,
0.028635650873184204,
-0.07056581974029541,
-0.0201447494328022,
0.049659937620162964,
0.014613823033869267,
-0.0023404951207339764,
0.017134031280875206,
0.032052308320999146,
-0.01858864724636078,
0.002803519833832979,
-0.018707046285271645,
0.017590712755918503,
0.04137200489640236,
0.02381511963903904,
-0.024474771693348885,
0.0403909832239151,
-0.0004170394386164844,
0.0334392674267292,
0.04566819593310356,
0.014368568547070026,
0.012956236489117146,
0.03636541590094566,
-0.0067614302970469,
0.036500729620456696,
0.018301106989383698,
-0.04191325604915619,
-0.0034208863507956266,
-0.022445073351264,
0.041439659893512726,
-0.03690667077898979,
-0.01149316318333149,
-0.023595236241817474,
-0.03677135705947876,
-0.044484205543994904,
-0.00010353307879995555,
0.01347211841493845,
-0.006106007378548384,
-0.0056746965274214745,
-0.029464444145560265,
0.0027760344091802835,
0.06613431870937347,
0.012880123220384121,
-0.0032348306849598885,
0.02850033901631832,
0.008423245511949062,
-0.037380266934633255,
0.048137664794921875,
-0.040560126304626465,
0.015933126211166382,
-0.03411583602428436,
0.06630345433950424,
-0.06136452779173851,
-0.004740189760923386,
0.013768116012215614,
-0.03900402411818504,
0.009827119298279285,
0.04455186426639557,
-0.013928799889981747,
0.0899832621216774,
0.001448273891583085,
-0.033371612429618835,
0.009683349169790745,
0.005987608339637518,
-0.03245824947953224,
-0.007306911516934633,
0.030327066779136658,
-0.015095876529812813,
-0.0359933041036129,
-0.039477620273828506,
-0.012533383443951607,
-0.04103372246026993,
-0.03230602294206619,
-0.0002460479736328125,
-0.002306666923686862,
0.030428551137447357,
0.001954641193151474,
-0.004647161811590195,
0.04015418514609337,
-0.02870330773293972,
0.039240822196006775,
-0.06806252896785736,
0.01828419230878353,
0.06934800744056702,
0.008588158525526524,
0.039443790912628174,
0.053076595067977905,
-0.003496999852359295,
0.029751984402537346,
-0.0035329426173120737,
-0.007514109835028648,
0.005602811463177204,
0.053178079426288605,
0.030986716970801353,
0.011662304401397705,
-0.056560907512903214,
0.010875796899199486,
0.019620411098003387,
-0.0579816959798336,
-0.016956431791186333,
-0.01970498077571392,
0.0084359310567379,
-0.05990990996360779,
0.045397572219371796,
0.01765836961567402,
-0.02777303010225296,
-0.0063639478757977486,
-0.009987804107367992,
0.02518516592681408,
0.0491863414645195,
-0.024897625669836998,
0.0027231776621192694,
0.020009435713291168,
0.022242102771997452,
0.0005856523639522493,
-0.014317825436592102,
0.04610796645283699,
0.02948135882616043,
-0.01838567852973938,
-0.008863013237714767,
-0.0002596585836727172,
-0.0008377788471989334,
-0.04387529939413071,
-0.013954171910881996,
0.007442224770784378,
0.07814335823059082,
0.008947583846747875,
0.0673859640955925,
0.0007817507721483707,
-0.044890146702528,
-0.06900972127914429,
0.031155860051512718,
0.04600648209452629,
0.0540914423763752,
-0.07340739667415619,
0.010309172794222832,
-0.013692001812160015,
-0.004972759168595076,
-0.05652708187699318,
-0.05686536431312561,
-0.06755510717630386,
-0.007746679242700338,
0.0268427524715662,
-0.054395899176597595,
0.006554231978952885,
-0.005070015788078308,
0.05608731135725975,
-0.004664076026529074,
-0.013480575755238533,
0.020077092573046684,
0.0030593464616686106,
0.0122712142765522,
0.04722429811954498,
-0.05040415748953819,
0.020009435713291168,
-0.06867143511772156,
0.038699567317962646,
-0.13463661074638367,
0.030090268701314926,
0.04123669117689133,
0.021091941744089127,
-0.02078748680651188,
0.05074244365096092,
0.018013566732406616,
0.019535839557647705,
0.04543139785528183,
-0.040999893099069595,
-0.07205426692962646,
0.019045330584049225,
0.0066895452328026295,
0.018994586542248726,
-0.013286062516272068,
-0.0069052004255354404,
-0.021650109440088272,
0.030242495238780975,
-0.01435165386646986,
-0.011941388249397278,
0.032593563199043274,
0.04404443874955177,
-0.032644305378198624,
-0.02127799764275551,
0.012482640333473682,
-0.03690667077898979,
0.050776269286870956,
0.010173860006034374,
0.00600452208891511,
-0.008211818523705006,
-0.07584303617477417,
-0.016364436596632004,
-0.013861143961548805,
-0.05940248444676399,
-0.004558362532407045,
-0.0534825325012207,
0.0050488729029893875,
-0.017539970576763153,
0.01508741918951273,
0.004723275545984507,
0.0006078521837480366,
0.011476248502731323,
0.006266691721975803,
0.07273083180189133,
0.020212406292557716,
-0.019383613020181656,
-0.00492624519392848,
0.019586581736803055,
0.057338960468769073,
-0.08172915875911713,
0.04894954338669777,
-0.051960259675979614,
-0.02317238226532936,
-0.0032538590021431446,
0.012025958858430386,
0.0338452085852623,
0.015391874127089977,
-0.0028140912763774395,
-0.011374764144420624,
0.059673111885786057,
0.00985249038785696,
-0.01701563224196434,
-0.00767902284860611,
-0.01882544532418251,
0.09904924780130386,
0.0010909625561907887,
-0.022698786109685898,
-0.06542392075061798,
-0.018504077568650246,
0.0037507121451199055,
-0.02019549161195755,
0.11312181502580643,
0.03452177345752716,
-0.01789516769349575,
-0.009793290868401527,
-0.061195384711027145,
-0.01356514636427164,
0.015873927623033524,
0.05375315994024277,
-0.013379090465605259,
-0.039443790912628174,
0.033625323325395584,
0.0011237337021157146,
-0.011890645138919353,
-0.012093615718185902,
-0.030682263895869255,
-0.03206922486424446,
0.04380764067173004,
0.001612129621207714,
0.003936767578125,
-0.04790086671710014,
0.026825837790966034,
0.0340481773018837,
0.025455791503190994,
0.014064113609492779,
0.062074922025203705,
-0.018199622631072998,
-0.029751984402537346,
-0.0027168348897248507,
-0.027654631063342094,
-0.025540363043546677,
0.014994391240179539,
-0.05919951573014259,
-0.028686393052339554,
-0.02058451808989048,
-0.0144954239949584,
-0.00530681386590004,
0.03714346885681152,
-0.018115051090717316,
-0.014216341078281403,
-0.056154970079660416,
-0.01555255800485611,
0.022563472390174866,
-0.0026830066926777363,
0.003072032006457448,
0.003917739260941744,
0.024728482589125633,
0.0009191781864501536,
-0.0056577823124825954,
0.016516664996743202,
0.029464444145560265,
0.03235676512122154,
-0.02273261360824108,
0.040120355784893036,
0.08267635107040405,
-0.015603301115334034,
-0.019299041479825974,
-0.03144339844584465,
0.007416853681206703,
0.038158316165208817,
-0.04218388348817825,
-0.03666987270116806,
0.012085158377885818,
0.02332460880279541,
-0.008478215895593166,
-0.003162945620715618,
-0.028432682156562805,
-0.029413701966404915,
-0.017675284296274185,
0.012203557416796684,
-0.0491863414645195,
0.025980129837989807,
-0.007218112237751484,
-0.02723177708685398,
0.04932165518403053,
0.051520492881536484,
0.0767902284860611,
-0.004558362532407045,
-0.010985738597810268,
0.09614001214504242,
0.004105909261852503,
0.02391660399734974,
0.0006548946257680655,
-0.03193391114473343,
-0.01388651505112648,
-0.005480183754116297,
0.01985720917582512,
0.010985738597810268,
-0.04096606373786926,
-0.059673111885786057,
0.03211996704339981,
-0.0166181493550539,
-0.018893102183938026,
-0.03697432577610016,
0.05365167558193207,
-0.026233842596411705,
-0.03917316347360611,
0.033912863582372665,
0.029464444145560265,
0.025878645479679108,
0.03497845679521561,
0.0009006783366203308,
0.000026824780434253626,
-0.023020153865218163,
0.01163693331182003,
-0.0540914423763752,
0.055241603404283524,
0.029447531327605247,
-0.03191699460148811,
0.027840686962008476,
-0.022749528288841248,
0.028246626257896423,
0.02337535098195076,
-0.04411209747195244,
-0.006478118244558573,
0.033422354608774185,
0.030834490433335304,
-0.07834632694721222,
0.031561799347400665,
-0.03612861782312393,
0.025658762082457542,
0.004837445914745331,
-0.017861340194940567,
0.041879430413246155,
-0.02034772001206875,
-0.044382721185684204,
-0.02958284318447113,
0.0019102415535598993,
-0.02674126625061035,
-0.037380266934633255,
0.014233254827558994,
0.02352757938206196,
0.019383613020181656,
-0.0935690626502037,
-0.02748548984527588,
0.01012311689555645,
-0.027891429141163826,
-0.019383613020181656,
-0.037380266934633255,
-0.0030952889937907457,
0.02205604873597622,
0.046818360686302185,
-0.03162945434451103,
-0.05865826457738876,
-0.016846491023898125,
0.013446747325360775,
-0.042217712849378586,
-0.03964675962924957,
-0.06725064665079117,
0.0003916682326234877,
0.015763984993100166,
-0.006469661369919777,
-0.00001118249747378286,
0.06542392075061798,
0.06569454818964005,
0.019772637635469437,
0.0059072659350931644,
-0.010562884621322155,
0.033912863582372665,
0.0675889328122139,
0.03809066116809845,
-0.03842894360423088,
-0.033811379224061966,
-0.03071609139442444,
-0.011298649944365025,
0.012575668282806873,
-0.045938823372125626,
-0.010579799301922321,
-0.04106754809617996,
0.033862121403217316,
0.04894954338669777,
0.05703450366854668,
0.01095191016793251,
0.01259258296340704,
-0.024914538487792015,
-0.02591247297823429,
0.04326638951897621,
-0.025506533682346344,
-0.017675284296274185,
-0.008998326025903225,
0.021734679117798805,
-0.029701242223381996,
0.04042481258511543,
-0.0018605561926960945,
0.008626215159893036,
0.07956414669752121,
-0.014275540597736835,
-0.029954954981803894,
0.0177429411560297,
-0.02337535098195076,
-0.015315759927034378,
-0.036162447184324265,
0.047461096197366714,
-0.06312359869480133,
0.034741658717393875,
0.04620945081114769,
-0.017269345000386238,
0.025117509067058563,
0.022749528288841248,
-0.059537798166275024,
-0.031037461012601852,
0.01965423859655857,
-0.011400135233998299,
-0.016262952238321304,
-0.007070113439112902,
0.08808887749910355,
0.004423049744218588,
-0.08294697850942612,
0.006981314159929752,
0.018402591347694397,
-0.04465334862470627,
-0.10831820219755173,
-0.03690667077898979,
-0.06072178855538368,
0.018368763849139214,
-0.011222536675632,
0.01686340570449829,
0.045837339013814926,
-0.03372681140899658,
0.07428693771362305,
-0.0180981382727623,
-0.01425862591713667,
0.008761527948081493,
0.0010899053886532784,
-0.06988925486803055,
-0.042623650282621384,
-0.02963358536362648,
-0.0359933041036129,
0.022901754826307297,
-0.02268187142908573,
-0.021599365398287773,
-0.017979739233851433,
0.026825837790966034,
-0.06917886435985565,
-0.009184381924569607,
-0.00037871833774261177,
-0.030479293316602707,
0.05892888829112053,
-0.016990261152386665,
0.012499555014073849,
-0.01320149190723896,
-0.0011850474402308464,
-0.056560907512903214,
-0.0015487016644328833,
-0.021210340782999992,
-0.011391677893698215,
-0.06785956025123596,
-0.0146730225533247,
0.09180998802185059,
0.04482249170541763,
-0.013894972391426563,
-0.0038289399817585945,
-0.026386069133877754,
-0.0539899580180645,
-0.016000783070921898,
0.027891429141163826,
0.0134213762357831,
0.009361980482935905,
0.009099811315536499,
-0.020990457385778427,
0.023832034319639206,
-0.002921918872743845,
0.019079158082604408,
0.03954527527093887,
-0.02195456251502037,
-0.00510807242244482,
0.041202861815690994,
-0.015476444736123085,
-0.06014670804142952,
-0.03372681140899658,
-0.025066766887903214,
0.019891036674380302,
-0.004807846155017614,
0.011721503920853138,
-0.03893636539578438,
0.004600647836923599,
-0.0491863414645195,
0.010774311609566212,
-0.033963609486818314,
0.07306911796331406,
0.02782377228140831,
-0.039579104632139206,
-0.04573585465550423,
-0.020466119050979614,
0.026386069133877754,
0.01205132994800806,
0.056053485721349716,
0.032255277037620544,
0.05940248444676399,
-0.022174447774887085,
-0.02425488643348217,
-0.019146814942359924,
0.04773172363638878,
0.020618345588445663,
-0.015975411981344223,
0.0018298992654308677,
0.027840686962008476,
0.0069728572852909565,
0.005002358928322792,
0.033912863582372665,
-0.04309724643826485,
0.052839796990156174,
-0.009175924584269524,
0.07787273079156876,
-0.014613823033869267,
-0.03832745924592018,
0.03007335402071476,
0.06265000253915787,
-0.016398265957832336,
0.033371612429618835,
-0.01911298558115959,
-0.05608731135725975,
-0.015662500634789467,
-0.048915714025497437,
-0.029515186324715614,
0.005078472662717104,
0.028584908694028854,
-0.005243385676294565,
-0.015586386434733868,
0.035046111792325974,
0.0016385579947382212,
-0.01862247660756111,
-0.04116903617978096,
-0.008512044325470924,
-0.011433963663876057,
0.008444388397037983,
-0.024677740409970284,
0.05003204941749573,
0.020009435713291168,
0.016017697751522064,
0.03690667077898979,
-0.07313676923513412,
0.026758180931210518,
-0.017726026475429535,
-0.01388651505112648,
-0.036703698337078094,
-0.021971477195620537,
0.021700851619243622,
-0.0025096365716308355,
-0.02621692791581154,
0.012025958858430386,
-0.0445856936275959,
-0.007387253921478987,
-0.031561799347400665,
0.01633060909807682,
0.0010227772872895002,
-0.022766442969441414,
0.01305772177875042,
-0.010664369910955429,
0.02894010581076145,
0.0539899580180645,
-0.008913755416870117,
0.029988782480359077,
-0.08788590878248215,
-0.02846650965511799,
0.02171776443719864,
0.03452177345752716,
0.009133639745414257,
-0.06447672843933105,
-0.0050150444731116295,
-0.042860448360443115,
0.007514109835028648,
0.01818270795047283,
0.02753623202443123,
-0.07922586798667908,
-0.028923191130161285,
-0.013624345883727074,
-0.023290781304240227,
0.05426058545708656,
-0.09106577187776566,
-0.04844211786985397,
-0.030090268701314926,
0.05476800724864006,
-0.0003110617399215698,
-0.04651390388607979,
0.039579104632139206,
0.001107876654714346,
-0.08639746159315109,
-0.009184381924569607,
0.0679948702454567,
-0.04025566950440407,
-0.00625823438167572,
0.00811456236988306,
0.002805634168908,
0.11420432478189468,
-0.006008750759065151,
0.03531673923134804,
0.058455292135477066,
-0.023984260857105255,
0.013074635528028011,
-0.0033447726164013147,
-0.0009450779762119055,
-0.006177892442792654,
-0.006300519686192274,
0.032492075115442276,
0.03984973207116127,
-0.04482249170541763,
0.009818662889301777,
-0.01897767372429371,
-0.022089876234531403,
-0.07909055054187775,
0.062277890741825104,
0.015611757524311543,
0.018504077568650246,
-0.07584303617477417,
0.004478020593523979,
0.007958106696605682,
0.03876722604036331,
0.04309724643826485,
0.06498415023088455,
-0.013286062516272068,
0.003721112385392189,
-0.02748548984527588,
0.012305041775107384,
-0.08091728389263153,
0.029210733249783516,
0.07103941589593887,
-0.04573585465550423,
0.05145283788442612,
-0.021497881039977074,
-0.04651390388607979,
-0.07293380051851273,
-0.015434158965945244,
-0.023409180343151093,
-0.00007684044248890132,
0.010715112090110779,
0.04766406863927841,
-0.025506533682346344,
-0.056560907512903214,
0.013235320337116718,
-0.030733006075024605,
0.07739913463592529,
0.0313926562666893,
0.042623650282621384,
0.013133835047483444,
-0.01838567852973938,
-0.008089191280305386,
-0.0027760344091802835,
-0.05568137392401695,
-0.05541074648499489,
0.028737137094140053,
0.029954954981803894,
0.06292062997817993,
-0.02308781072497368,
0.06545774638652802,
-0.016051525250077248,
-0.02557419054210186,
-0.06856995075941086,
0.051757290959358215,
-0.002879633568227291,
0.001183990272693336,
-0.028246626257896423,
0.0587935745716095,
-0.019129900261759758,
-0.0041883657686412334,
0.06146601215004921,
0.004072080831974745,
-0.004380763974040747,
0.0003536113945301622,
0.04123669117689133,
0.006169435102492571,
-0.014410853385925293,
-0.012355784885585308,
-0.03917316347360611,
0.008567015640437603,
0.002841576701030135,
-0.0246439129114151,
-0.001604729681275785,
-0.006875600665807724,
0.018808532506227493,
-0.09323077648878098,
0.014647651463747025,
-0.06251468509435654,
0.004972759168595076,
-0.02674126625061035,
0.02151479572057724,
-0.004359621554613113,
0.027620801702141762,
0.011433963663876057,
-0.03575650602579117,
0.09979347139596939,
0.04177794232964516,
0.03330395743250847,
-0.03431880474090576,
0.032593563199043274,
0.06603283435106277,
0.005746581591665745,
0.04620945081114769,
-0.00919283926486969,
-0.003135459963232279,
-0.03592564910650253,
-0.02562493272125721,
0.01154390536248684,
0.05930100008845329,
0.019975608214735985,
0.052839796990156174,
0.03301641717553139,
-0.04820531979203224,
0.030868317931890488
] |
21,600 | delorean.dates | localize |
Given a naive datetime object this method will return a localized
datetime object
| def localize(dt, tz):
"""
Given a naive datetime object this method will return a localized
datetime object
"""
if not isinstance(tz, tzinfo):
tz = pytz.timezone(tz)
return tz.localize(dt)
| (dt, tz) | [
0.009940078482031822,
-0.02610832080245018,
0.006866149138659239,
0.024537894874811172,
-0.08387498557567596,
-0.06995530426502228,
0.0030248533003032207,
0.054036904126405716,
0.0304269902408123,
-0.05107451230287552,
0.006205856800079346,
-0.022342868149280548,
-0.03406751900911331,
-0.01243848167359829,
-0.033460766077041626,
0.0722038671374321,
-0.07823573052883148,
0.041866108775138855,
-0.02328869327902794,
-0.0048005045391619205,
0.02134350687265396,
-0.0383683443069458,
-0.0071382964961230755,
0.005532179959118366,
0.008485649712383747,
0.05821280926465988,
0.045899245887994766,
-0.038118503987789154,
0.0066564613953232765,
-0.01706945151090622,
0.031390659511089325,
0.05596424639225006,
-0.012260024435818195,
0.05414398014545441,
0.02639385126531124,
-0.010082843713462353,
-0.005505411420017481,
-0.016855303198099136,
-0.0909418985247612,
-0.01954108662903309,
-0.023520687595009804,
-0.03801142796874046,
0.01900571398437023,
-0.021771805360913277,
0.03281831741333008,
0.016498388722538948,
-0.008623954840004444,
0.03562010079622269,
-0.039439089596271515,
0.049254246056079865,
0.02412744238972664,
0.013312922790646553,
0.015695329755544662,
-0.002540787449106574,
-0.05321600288152695,
0.015124266035854816,
0.02068321406841278,
0.05353722348809242,
-0.021165048703551292,
0.004644354339689016,
-0.03715483471751213,
-0.03237217664718628,
-0.03267555311322212,
0.014633508399128914,
-0.03872526064515114,
0.030159303918480873,
-0.0029311629477888346,
-0.07056206464767456,
-0.00776289775967598,
0.0004177019000053406,
-0.027821511030197144,
0.008704259991645813,
-0.014089212752878666,
-0.0076112085953354836,
0.02976669743657112,
0.05221664160490036,
-0.01768513023853302,
-0.033353690057992935,
-0.004091136157512665,
0.02833903767168522,
-0.030052227899432182,
-0.03686930239200592,
-0.016525156795978546,
0.023627761751413345,
-0.029124250635504723,
0.004307515919208527,
0.04268701374530792,
-0.006866149138659239,
-0.014713813550770283,
0.0375831313431263,
-0.00023729259555693716,
0.019041405990719795,
0.033282309770584106,
0.03183680400252342,
-0.03640531376004219,
0.05949770286679268,
0.018291885033249855,
-0.016685768961906433,
-0.06099674478173256,
0.0015035037649795413,
0.07859264314174652,
0.002670169109478593,
-0.08308977633714676,
-0.022592708468437195,
0.025894170626997948,
-0.010457604192197323,
0.017667284235358238,
-0.018363267183303833,
0.018827257677912712,
0.00020425008551683277,
-0.06074690446257591,
-0.0032568478491157293,
-0.07566594332456589,
-0.02630462311208248,
0.025055421516299248,
-0.02291393280029297,
-0.056285466998815536,
0.01750667206943035,
-0.022610554471611977,
0.056463927030563354,
-0.09051360189914703,
0.060389988124370575,
0.03290754556655884,
-0.06713567674160004,
0.027553824707865715,
-0.02630462311208248,
0.02891010046005249,
-0.0023400229401886463,
0.016774997115135193,
-0.004639892838895321,
0.006607385817915201,
0.02264624647796154,
-0.019808772951364517,
0.007834280841052532,
-0.004827273078262806,
0.025572948157787323,
0.026911377906799316,
0.036351773887872696,
-0.028553185984492302,
0.07198972254991531,
0.04800504446029663,
-0.02460927702486515,
0.03142635151743889,
-0.0100114606320858,
0.043079618364572525,
-0.04622047021985054,
-0.03808281198143959,
-0.005255571100860834,
-0.06817073374986649,
0.014722736552357674,
-0.013607378117740154,
0.01487442571669817,
-0.022949622943997383,
0.03387121856212616,
-0.05064621567726135,
-0.07077620923519135,
-0.006375391036272049,
-0.04350791871547699,
0.022699782624840736,
-0.037368983030319214,
-0.0579986609518528,
0.01993369311094284,
-0.04707706719636917,
-0.028035659343004227,
-0.015490103513002396,
0.02282470278441906,
0.055535946041345596,
-0.020540447905659676,
0.009154865518212318,
-0.01028806995600462,
-0.020451219752430916,
-0.042722705751657486,
0.041973184794187546,
0.023145927116274834,
0.009052252396941185,
0.017604824155569077,
-0.026643691584467888,
0.015124266035854816,
0.01879156567156315,
0.01984446495771408,
0.043365150690078735,
0.03404967486858368,
-0.042151641100645065,
0.02348499558866024,
-0.006415544077754021,
0.03197956830263138,
-0.006536002736538649,
0.034192439168691635,
-0.04475712031126022,
0.026447389274835587,
0.047933660447597504,
-0.006442312616854906,
0.017426365986466408,
-0.022967468947172165,
-0.03553087264299393,
0.009975769557058811,
0.015793481841683388,
0.00847672764211893,
-0.06685014814138412,
0.000049075788410846144,
0.006892917677760124,
-0.016614384949207306,
0.02816057950258255,
-0.02460927702486515,
0.03040914423763752,
0.04493557661771774,
-0.05792727693915367,
0.008030584082007408,
-0.0579986609518528,
-0.024769889190793037,
0.0329432375729084,
-0.04193749278783798,
0.0017711898544803262,
-0.023556379601359367,
-0.033746298402547836,
0.05203818157315254,
-0.0767366886138916,
-0.002029953058809042,
-0.004050983116030693,
0.020165687426924706,
-0.007776281796395779,
-0.046077705919742584,
-0.0005688330275006592,
-0.020147841423749924,
0.08623062074184418,
-0.029142096638679504,
-0.011233894154429436,
-0.024769889190793037,
-0.024020368233323097,
-0.10586094111204147,
-0.0200229212641716,
-0.07538041472434998,
-0.0049209631979465485,
-0.060104455798864365,
0.0670643001794815,
0.02546587400138378,
0.07352445274591446,
-0.03178326413035393,
0.013161234557628632,
0.0023310999386012554,
-0.018666645511984825,
0.015927324071526527,
0.020433373749256134,
0.00849011167883873,
-0.027089836075901985,
0.01825619302690029,
-0.03715483471751213,
0.011296354234218597,
0.010395144112408161,
-0.008472265675663948,
-0.02134350687265396,
0.04622047021985054,
-0.010841287672519684,
-0.018006352707743645,
0.03451366350054741,
-0.07423828542232513,
0.05689222365617752,
-0.007513056974858046,
0.019576778635382652,
0.04079536348581314,
-0.016284238547086716,
-0.0056660231202840805,
-0.01342892087996006,
0.020558293908834457,
-0.04743397980928421,
-0.014187364839017391,
-0.02805350534617901,
-0.011894186958670616,
-0.0020243762992322445,
-0.0028107042890042067,
0.07241801917552948,
0.014571048319339752,
0.005425105337053537,
0.0366908460855484,
-0.016543002799153328,
0.026804303750395775,
-0.023538533598184586,
0.0039059866685420275,
-0.04257993772625923,
0.050860363990068436,
0.005759713239967823,
-0.0038100657984614372,
0.009386859834194183,
0.005942631978541613,
-0.07980615645647049,
-0.04190180078148842,
0.0006140050245448947,
0.02507326751947403,
-0.03733329102396965,
0.002500634640455246,
0.002717014169320464,
0.032800473272800446,
0.010796673595905304,
-0.028678106144070625,
-0.05835557356476784,
0.017738666385412216,
-0.06520833820104599,
0.017765436321496964,
0.05303754284977913,
-0.016025476157665253,
-0.057855892926454544,
0.055071957409381866,
0.01034160703420639,
0.059747543185949326,
0.020986592397093773,
0.004091136157512665,
-0.01638239063322544,
0.00336838373914361,
-0.040367066860198975,
-0.004836196079850197,
-0.003004776779562235,
-0.06328099966049194,
0.05667807534337044,
-0.05003945901989937,
-0.0003839622950181365,
0.005434028338640928,
-0.032622016966342926,
-0.009199479594826698,
-0.001171126845292747,
0.028785180300474167,
0.004245055839419365,
-0.006451235618442297,
0.03137281537055969,
-0.010760982520878315,
0.014026752673089504,
-0.059925999492406845,
0.008681952953338623,
0.04614908620715141,
-0.009145942516624928,
0.021182894706726074,
0.015052882954478264,
-0.039617545902729034,
-0.010484373196959496,
-0.01633777655661106,
-0.014526433311402798,
0.05210956558585167,
0.010921593755483627,
-0.003232309827581048,
-0.006138935219496489,
0.050753287971019745,
0.07049068063497543,
0.05771312862634659,
-0.0559285543859005,
0.011929878033697605,
0.03080175071954727,
0.0705263689160347,
0.014294438995420933,
-0.017230063676834106,
0.019398320466279984,
0.03997446224093437,
-0.06713567674160004,
0.00820457935333252,
0.002531864680349827,
-0.020665368065238,
-0.023913294076919556,
0.04104520380496979,
0.06117520108819008,
0.029623931273818016,
-0.0020143380388617516,
0.005465258378535509,
-0.018738029524683952,
-0.011483734473586082,
0.06695722043514252,
-0.05414398014545441,
0.052180949598550797,
-0.014249824918806553,
0.0359056331217289,
0.010368376038968563,
-0.010537910275161266,
-0.04686291888356209,
-0.0630311593413353,
0.04033137485384941,
0.05575009807944298,
-0.07780743390321732,
0.006986607797443867,
-0.017649438232183456,
0.022200101986527443,
0.05817711725831032,
-0.07837849855422974,
0.07702221721410751,
0.022967468947172165,
0.002493942389264703,
0.05250217020511627,
0.002790627768263221,
0.02105797454714775,
-0.00762459309771657,
0.016221778467297554,
0.05118158832192421,
-0.07666530460119247,
-0.052537862211465836,
0.0004305285110604018,
-0.05360860750079155,
0.03387121856212616,
0.01964816078543663,
-0.01314338855445385,
-0.018666645511984825,
-0.02452004887163639,
-0.02880302630364895,
-0.009940078482031822,
0.022503480315208435,
0.03478135168552399,
0.012759705074131489,
-0.017006991431117058,
0.0021526424679905176,
-0.012161873281002045,
0.07680807262659073,
0.014660276472568512,
0.06310254335403442,
-0.062174562364816666,
0.03387121856212616,
-0.015838095918297768,
-0.05685653164982796,
-0.00356691749766469,
-0.048968713730573654,
-0.014392590150237083,
0.0212542787194252,
-0.002237409818917513,
0.017497749999165535,
0.02039768174290657,
-0.027910739183425903,
-0.009360091760754585,
-0.03565579280257225,
-0.017765436321496964,
0.011162511073052883,
0.05999738350510597,
-0.020005077123641968,
0.049075789749622345,
-0.007031222339719534,
-0.058319881558418274,
-0.021557655185461044,
0.04432882368564606,
-0.031765419989824295,
0.02020137943327427,
-0.051502808928489685,
0.11221402138471603,
0.0096902372315526,
0.05382275581359863,
-0.007397059816867113,
-0.027535978704690933,
0.07680807262659073,
0.05753467231988907,
0.004122366197407246,
0.020701060071587563,
-0.002155988710001111,
-0.04425743967294693,
0.04479281231760979,
0.008806873112916946,
0.018086658790707588,
-0.010555756278336048,
-0.027999969199299812,
0.008463342674076557,
0.017015915364027023,
-0.02976669743657112,
-0.053465843200683594,
-0.007053529378026724,
-0.035977013409137726,
-0.0011454735649749637,
-0.007062452379614115,
-0.04557802528142929,
0.029427627101540565,
-0.04058121517300606,
0.013304000720381737,
0.05892663821578026,
-0.026822149753570557,
0.022574862465262413,
0.004566279239952564,
-0.05417967215180397,
-0.02086167223751545,
-0.061139509081840515,
-0.0298380795866251,
0.003975138999521732,
0.008316115476191044,
-0.004398975521326065,
-0.038118503987789154,
-0.0074238283559679985,
-0.005054806359112263,
-0.07056206464767456,
0.04079536348581314,
0.013045237399637699,
0.05036068335175514,
-0.0437934510409832,
0.051324352622032166,
0.02432374656200409,
0.00991330947726965,
0.020897364243865013,
-0.009476088918745518,
0.02751813270151615,
0.007356906775385141,
0.021129358559846878,
0.011474811471998692,
-0.011831726878881454,
0.0647086575627327,
0.013063082471489906,
-0.03818988800048828,
0.003883679397404194,
-0.007887817919254303,
-0.028963638469576836,
-0.008967485278844833,
0.03312169760465622,
-0.017453135922551155,
-0.0144996652379632,
0.051038820296525955,
-0.00048741180216893554,
0.042544249445199966,
-0.028856564313173294,
-0.026447389274835587,
0.001004938269034028,
0.027928585186600685,
0.02582278847694397,
-0.0053804912604391575,
-0.010314838960766792,
0.026340315118432045,
-0.0024158672895282507,
-0.008824719116091728,
0.00992223247885704,
0.031230047345161438,
-0.021736113354563713,
-0.0643160492181778,
-0.004443589597940445,
0.008369652554392815,
0.014374745078384876,
0.01795281656086445,
0.0909418985247612,
-0.05243078991770744,
0.03951047360897064,
0.025876324623823166,
-0.0193804744631052,
0.02368129976093769,
0.01682853512465954,
-0.012411713600158691,
0.029962999746203423,
-0.07580871134996414,
0.0009597662719897926,
-0.016043322160840034,
0.07084759324789047,
0.03230079263448715,
-0.09501072764396667,
-0.09579594433307648,
-0.03665515407919884,
0.031961724162101746,
-0.05649961903691292,
-0.0651012659072876,
0.043186694383621216,
0.00460866279900074,
-0.05382275581359863,
0.016284238547086716,
-0.04040275886654854,
0.03164049983024597,
-0.010029306635260582,
0.03908217325806618,
-0.06738551706075668,
-0.06692153215408325,
0.04975392669439316,
0.10072136670351028,
-0.03929632157087326,
-0.010850210674107075,
-0.04432882368564606,
0.016016552224755287,
0.01417844183743,
0.005608024075627327,
0.025394489988684654,
0.11414135992527008,
0.0914415791630745,
0.04593493789434433,
-0.05407259613275528,
-0.02039768174290657,
-0.04204456880688667,
0.05931924656033516,
0.011269586160779,
0.02509111352264881,
0.028588877990841866,
-0.009386859834194183,
-0.008342884480953217,
0.02742890454828739,
-0.025483718141913414,
0.06959839165210724,
0.041580576449632645,
-0.02450220286846161,
-0.017301445826888084,
0.020326299592852592,
-0.013446765951812267,
-0.006660922896116972,
-0.009369014762341976,
-0.011983415111899376,
-0.015195649117231369,
-0.03958185389637947,
-0.00852134171873331,
0.018381113186478615,
0.00962777715176344,
-0.012572324834764004,
-0.03098020702600479,
0.05182403326034546,
0.04343653470277786,
0.036619462072849274,
0.047112759202718735,
-0.0362982377409935,
-0.044221747666597366,
-0.013446765951812267,
0.013705529272556305,
-0.045435257256031036,
-0.034585047513246536,
-0.013643069192767143,
0.003972908016294241,
0.022860394790768623,
0.015490103513002396,
-0.017872510477900505,
-0.023163773119449615,
-0.04647031053900719,
-0.005594640038907528,
0.005661561619490385,
0.015909478068351746,
0.004523895680904388,
0.0651012659072876,
-0.03239002078771591,
0.04200887680053711,
-0.07530903071165085,
-0.058712489902973175,
0.02339576743543148,
-0.020379837602376938,
-0.0333893820643425,
-0.02957039326429367,
0.005759713239967823,
-0.02518034167587757,
0.030052227899432182,
-0.009132558479905128,
-0.012054798193275928,
0.02143273502588272,
-0.01889863982796669,
-0.045899245887994766,
-0.052073873579502106,
-0.015936248004436493,
0.009833003394305706,
-0.019666006788611412,
-0.0183454230427742,
-0.05610701069235802,
0.030373452231287956,
-0.027643052861094475,
-0.018952177837491035,
-0.04040275886654854,
0.017230063676834106,
0.013063082471489906,
0.039046481251716614,
0.04811212047934532,
-0.013232617639005184,
-0.0007004453800618649,
0.04061690717935562,
-0.033264461904764175,
-0.0437934510409832,
-0.00916378851979971,
0.018506033346056938,
0.013241540640592575,
0.010698522441089153,
0.03446012735366821,
-0.0032568478491157293,
-0.015606100670993328,
0.027268292382359505,
-0.005434028338640928,
0.02096874639391899,
0.06310254335403442,
-0.0021158356685191393,
0.04125935584306717,
-0.03178326413035393,
-0.04372206702828407,
-0.04461435228586197,
0.05607131868600845,
0.023431459441781044,
-0.04361499100923538,
-0.01273293700069189,
0.007490749936550856,
-0.03137281537055969,
-0.027553824707865715,
0.025448027998209,
0.07480935007333755,
0.012286793440580368,
0.010832364670932293,
0.009717006236314774,
-0.0006134473369456828,
0.012563401833176613,
0.01805989071726799,
-0.018827257677912712,
0.07473796606063843,
-0.03538810461759567,
0.0076201315969228745,
0.06792089343070984,
-0.010261300951242447,
-0.0000014813359712206875,
-0.011724651791155338,
-0.05400121212005615,
0.03779727965593338,
0.0321044884622097,
0.052180949598550797,
-0.028392575681209564,
-0.043365150690078735,
0.029052866622805595,
0.08358945697546005,
-0.02450220286846161,
-0.05246648192405701,
0.03331799805164337,
0.020361991599202156,
0.07559455931186676,
0.05036068335175514,
-0.024823427200317383,
0.006999992299824953,
-0.015240263193845749,
0.028124889358878136,
0.0043521299958229065,
0.003792220028117299,
0.03976031392812729,
-0.0011633193353191018,
0.005719560198485851,
0.02646523527801037,
-0.008891641162335873,
-0.005112804938107729,
-0.023253001272678375,
-0.0027817049995064735,
0.015507949516177177,
-0.014945808798074722,
0.008316115476191044,
0.027750128880143166,
0.02459143102169037,
0.013964292593300343,
-0.05321600288152695,
-0.04661307856440544,
-0.0002648977388162166,
-0.019326938316226006,
0.05064621567726135,
-0.04693429917097092,
-0.027000606060028076,
-0.04732690751552582,
-0.015222417190670967,
0.01104651391506195,
0.0325506329536438,
0.01286677923053503,
0.01028806995600462,
0.02403821423649788,
0.0016897686291486025,
0.022128719836473465,
0.02882087230682373,
-0.02114720456302166,
0.013919678516685963,
-0.0018392266938462853,
0.024252362549304962,
0.051895417273044586,
0.003172080498188734,
0.04657738655805588,
-0.003908217418938875,
-0.03524534031748772,
-0.024341590702533722,
-0.000777962792199105,
0.09501072764396667,
0.06849195808172226,
-0.01993369311094284,
-0.034477971494197845,
-0.04297254607081413,
0.04818350076675415,
-0.017961738631129265,
-0.06313823163509369,
0.017979584634304047,
-0.034941960126161575,
0.055892862379550934,
-0.06192472204566002,
-0.05753467231988907,
-0.015472257509827614,
0.02767874486744404,
-0.011439120396971703,
-0.05471504479646683,
0.009931155480444431,
0.013875064440071583
] |
21,601 | delorean.dates | move_datetime_day | null | def move_datetime_day(dt, direction, num_shifts):
delta = relativedelta(days=+num_shifts)
return _move_datetime(dt, direction, delta)
| (dt, direction, num_shifts) | [
0.011896379292011261,
0.06323397159576416,
-0.037342894822359085,
-0.017168840393424034,
-0.06298501789569855,
-0.046269625425338745,
-0.04203743115067482,
0.08165646344423294,
-0.02574881538748741,
0.018173541873693466,
-0.013123360462486744,
0.009033423848450184,
0.04239307716488838,
0.03206154331564903,
0.04986165463924408,
0.013959129340946674,
-0.00718406168743968,
0.06334066390991211,
-0.014581510797142982,
0.0005106863100081682,
0.09986557066440582,
-0.03218602016568184,
0.017079928889870644,
-0.056690070778131485,
-0.008117633871734142,
0.02948310412466526,
-0.02743813581764698,
0.024681875482201576,
0.006632809527218342,
-0.0205563735216856,
0.02194339595735073,
0.009202356450259686,
-0.01032264344394207,
-0.02269025333225727,
0.02053859271109104,
-0.0037009476218372583,
-0.026282284408807755,
0.011220650747418404,
-0.024219535291194916,
0.03433768078684807,
0.019951775670051575,
0.038836609572172165,
0.057259105145931244,
-0.0004987387801520526,
0.002358381636440754,
-0.015932967886328697,
-0.009646914899349213,
-0.012358719483017921,
0.0032252701930701733,
0.0024761895183473825,
-0.01963169313967228,
-0.02558877319097519,
0.05356037989258766,
-0.047123175114393234,
0.045807283371686935,
0.023312635719776154,
-0.01060716062784195,
-0.033982034772634506,
-0.004350002855062485,
-0.03634708374738693,
-0.0028674008790403605,
0.009735826402902603,
0.06711051613092422,
0.053346991539001465,
-0.010118146426975727,
-0.015203893184661865,
-0.007935364730656147,
-0.03741402551531792,
0.009077879600226879,
0.016599806025624275,
-0.028949635103344917,
0.024717438966035843,
0.02948310412466526,
-0.050181739032268524,
-0.014892701990902424,
0.077815480530262,
-0.01465264055877924,
-0.061242345720529556,
0.06145573407411575,
0.02445070445537567,
-0.047123175114393234,
-0.006348291877657175,
-0.023668281733989716,
0.02064528688788414,
-0.03691611811518669,
0.07390336692333221,
0.0272603128105402,
-0.0073485481552779675,
-0.034373246133327484,
-0.0518888421356678,
0.040970489382743835,
-0.048047859221696854,
-0.051106419414281845,
-0.0690310075879097,
0.019489435479044914,
0.08450163900852203,
0.023579370230436325,
-0.0505729503929615,
-0.08236775547266006,
0.030372221022844315,
0.021036498248577118,
-0.0534181222319603,
0.0435311459004879,
-0.026940230280160904,
-0.004876804072409868,
-0.053631510585546494,
-0.03188372030854225,
-0.02798938937485218,
-0.06718164682388306,
-0.020769761875271797,
0.011851923540234566,
0.02324150688946247,
0.00762417446821928,
-0.0029474212788045406,
0.010909459553658962,
-0.016706500202417374,
0.052600134164094925,
-0.03926338627934456,
0.022210130468010902,
-0.005023508332669735,
0.009424635209143162,
-0.007424123119562864,
0.013514571823179722,
-0.018991529941558838,
0.04267759248614311,
-0.007099595386534929,
0.003367528785020113,
-0.009522438049316406,
0.024308446794748306,
0.010865003801882267,
-0.02016516402363777,
-0.0018727016868069768,
-0.018386930227279663,
0.01246541365981102,
-0.006201588083058596,
0.021818919107317924,
-0.028807375580072403,
0.017702309414744377,
-0.0336441695690155,
-0.02251243032515049,
-0.0005595877300947905,
-0.025357604026794434,
0.017079928889870644,
0.028220558539032936,
0.042819853872060776,
0.010473792441189289,
-0.04950600862503052,
0.09566894173622131,
-0.0400102436542511,
0.0435311459004879,
-0.004350002855062485,
0.02482413314282894,
0.018386930227279663,
0.04033032804727554,
-0.03823200985789299,
0.01814686879515648,
-0.0022316824179142714,
-0.006068220362067223,
-0.02829168736934662,
0.0400102436542511,
-0.03300400450825691,
-0.09225473552942276,
-0.05089303106069565,
0.045985106378793716,
0.029358627274632454,
-0.03439102694392204,
-0.01814686879515648,
0.02781156450510025,
0.025642121210694313,
0.02016516402363777,
0.01915157027542591,
0.04676752910017967,
0.05775700882077217,
-0.062273722141981125,
0.057259105145931244,
-0.015781817957758904,
0.002585106296464801,
-0.015328369103372097,
0.015417280606925488,
-0.06764398515224457,
-0.010109255090355873,
0.016493111848831177,
0.006677265278995037,
-0.011087283492088318,
-0.019507216289639473,
0.04402904957532883,
-0.057721447199583054,
0.03522679582238197,
0.017586724832654,
0.030016575008630753,
-0.014377014711499214,
0.03805418685078621,
0.05153319612145424,
0.0029740948230028152,
-0.03652490675449371,
-0.007730868179351091,
-0.008539964444935322,
0.02073419839143753,
0.007753096055239439,
0.02084089256823063,
-0.01135401800274849,
0.04939931631088257,
0.04619849473237991,
-0.02119653858244419,
0.026726843789219856,
0.03730732947587967,
-0.0032852855511009693,
-0.04121944308280945,
-0.056049905717372894,
-0.02213900163769722,
0.025428732857108116,
-0.008006494492292404,
0.026549020782113075,
-0.01288329903036356,
0.01580849289894104,
-0.031385812908411026,
-0.014403687790036201,
-0.04680309444665909,
-0.003165254835039377,
-0.03766297549009323,
-0.04285541549324989,
0.06867536157369614,
-0.07447240501642227,
-0.0692443996667862,
0.06600800901651382,
-0.04769220948219299,
-0.05633442476391792,
-0.06408751755952835,
-0.03350191190838814,
-0.03140359744429588,
-0.03136803209781647,
-0.08791584521532059,
0.008384369313716888,
-0.01796015352010727,
0.07802886515855789,
-0.06238041818141937,
-0.020947584882378578,
-0.08208324015140533,
0.04658970609307289,
0.0325416661798954,
-0.026300067082047462,
0.0033030679915100336,
-0.021356578916311264,
-0.007886463776230812,
0.04669640213251114,
0.03282618150115013,
0.0136301564052701,
0.005147984717041254,
0.01784456893801689,
0.012225352227687836,
0.02363271825015545,
-0.02994544431567192,
-0.04225081950426102,
-0.014341449365019798,
-0.018173541873693466,
0.052315618842840195,
-0.013647939078509808,
0.026940230280160904,
-0.003265280509367585,
0.007446350995451212,
-0.01665315218269825,
-0.014892701990902424,
-0.007304092403501272,
-0.10043460130691528,
-0.07589498907327652,
0.008313239552080631,
-0.04883028194308281,
-0.017560051754117012,
-0.02781156450510025,
0.005316916853189468,
0.02482413314282894,
0.004078822210431099,
-0.01674206368625164,
0.02838060073554516,
0.013052230700850487,
0.06501220166683197,
-0.012838843278586864,
-0.005001280456781387,
-0.03480002284049988,
-0.03497784584760666,
0.016679827123880386,
-0.012225352227687836,
-0.012901080772280693,
0.04065040871500969,
-0.07041803002357483,
0.026104461401700974,
0.03522679582238197,
0.0639808252453804,
0.047656647861003876,
0.023294853046536446,
0.03341300040483475,
0.020787544548511505,
0.05765031650662422,
-0.031083514913916588,
-0.024112841114401817,
0.03919225558638573,
-0.023028118535876274,
-0.0026962459087371826,
-0.0130255576223135,
0.022156784310936928,
0.0177556574344635,
-0.003787636524066329,
-0.007446350995451212,
0.027864912524819374,
-0.038552094250917435,
-0.009202356450259686,
0.05003947764635086,
0.037165071815252304,
-0.0336441695690155,
-0.041895169764757156,
-0.0005448617157526314,
-0.01083833072334528,
-0.04118387773633003,
-0.026815755292773247,
-0.005005726125091314,
-0.02519756183028221,
-0.008059841580688953,
0.059286292642354965,
0.009264593943953514,
0.059748630970716476,
-0.03401760011911392,
0.04381566122174263,
-0.00718406168743968,
-0.01794237084686756,
-0.018813705071806908,
-0.025731032714247704,
0.023935018107295036,
-0.004532271530479193,
-0.0008196543203666806,
0.10164380073547363,
0.02958979830145836,
-0.0333063043653965,
0.014074714854359627,
0.02324150688946247,
0.05284908786416054,
-0.013185597956180573,
-0.01157629769295454,
-0.00870445091277361,
-0.01138958241790533,
-0.0034275443758815527,
0.03350191190838814,
0.07173392176628113,
-0.0069528911262750626,
-0.05117754638195038,
0.08101630210876465,
-0.01804906502366066,
-0.022387955337762833,
0.05412941426038742,
0.012429849244654179,
0.03415985777974129,
0.043104369193315506,
0.020040687173604965,
-0.02958979830145836,
-0.051746584475040436,
-0.033075135201215744,
0.03844539821147919,
0.051390934735536575,
-0.006077111698687077,
0.01822688989341259,
-0.07312094420194626,
-0.011060609482228756,
0.00790869165211916,
0.032328277826309204,
0.05199553444981575,
-0.007775323931127787,
-0.02020072750747204,
-0.0461629293859005,
-0.02119653858244419,
0.05476957932114601,
0.047585517168045044,
-0.01098058931529522,
0.035120103508234024,
0.04033032804727554,
-0.010251513682305813,
0.06920883059501648,
0.017906807363033295,
0.024432921782135963,
0.04634075239300728,
-0.01766674593091011,
0.0055703152902424335,
0.015968533232808113,
0.003269726177677512,
0.04456252232193947,
0.08862713724374771,
0.08578196167945862,
-0.02558877319097519,
0.1519322395324707,
0.06238041818141937,
-0.015363933518528938,
-0.04335332289338112,
-0.02482413314282894,
-0.03915669396519661,
0.025624338537454605,
0.028522858396172523,
0.0346221998333931,
-0.06458542495965958,
-0.02910967543721199,
0.05544530600309372,
-0.06693269312381744,
0.015123872086405754,
0.06963560730218887,
0.02000512182712555,
0.012225352227687836,
0.04033032804727554,
0.00033202944905497134,
0.012385393492877483,
-0.06465655565261841,
-0.007939810864627361,
-0.07831338793039322,
-0.005668118130415678,
-0.00585927814245224,
-0.002103871898725629,
0.021000932902097702,
-0.007877572439610958,
0.014981613494455814,
0.012678802013397217,
-0.02873624674975872,
-0.009317941032350063,
0.01675095595419407,
-0.0259444210678339,
-0.004056594334542751,
-0.08898278325796127,
0.014350340701639652,
0.03616926074028015,
-0.001429254887625575,
-0.011940835043787956,
0.038907740265131,
0.011931943707168102,
-0.06184694543480873,
-0.01377241499722004,
0.03234605863690376,
0.025642121210694313,
-0.006361628882586956,
0.02640676125884056,
0.07031133770942688,
0.02354380674660206,
0.025464298203587532,
-0.012794386595487595,
-0.034568849951028824,
0.042357511818408966,
-0.04214412346482277,
-0.026104461401700974,
0.016235267743468285,
-0.03563579171895981,
-0.02484191581606865,
-0.004956824705004692,
0.024948609992861748,
-0.05295578017830849,
-0.01608411781489849,
-0.009860302321612835,
0.030727867037057877,
0.003503119107335806,
0.02678018994629383,
0.0327550545334816,
-0.019845081493258476,
-0.03481780365109444,
0.009984779171645641,
-0.012332046404480934,
-0.014234756119549274,
-0.02269025333225727,
0.03680942580103874,
-0.05526748299598694,
-0.022174566984176636,
-0.008255447261035442,
-0.006935108918696642,
0.009664696641266346,
-0.026477890089154243,
0.007072921842336655,
-0.018831487745046616,
-0.043851226568222046,
0.05309804156422615,
0.007366330362856388,
0.03937007859349251,
0.026851318776607513,
-0.01456372905522585,
0.004187738988548517,
0.016804302111268044,
-0.01796015352010727,
0.007650848012417555,
0.004583395551890135,
0.03656047210097313,
-0.03933451697230339,
0.034266550093889236,
-0.031385812908411026,
-0.007935364730656147,
0.016324179247021675,
0.028576206415891647,
-0.01609301008284092,
0.037058375775814056,
0.027953824028372765,
0.0558365173637867,
-0.013381203636527061,
-0.011042827740311623,
-0.03712950646877289,
0.07137827575206757,
-0.014617076143622398,
-0.09723378717899323,
-0.06312727183103561,
0.03636486828327179,
-0.013212271966040134,
-0.03515566885471344,
0.044313568621873856,
0.036133695393800735,
0.026246720924973488,
-0.00008606370101915672,
0.00935350637882948,
0.02427288144826889,
0.005805931054055691,
-0.002705137012526393,
-0.052600134164094925,
0.058930642902851105,
0.014305884949862957,
-0.007561936043202877,
0.004067708272486925,
0.02361493557691574,
-0.00962024088948965,
-0.008384369313716888,
0.010847222059965134,
0.01906265877187252,
0.00637052021920681,
-0.005214668344706297,
-0.04883028194308281,
0.0004195518558844924,
0.033075135201215744,
-0.006361628882586956,
0.03293287754058838,
0.01618192158639431,
-0.005530304741114378,
0.05117754638195038,
-0.0031363586895167828,
-0.01963169313967228,
0.017604507505893707,
-0.019685039296746254,
-0.003074120497331023,
0.08037613332271576,
0.01316781621426344,
-0.05135537311434746,
-0.004570059012621641,
-0.0020894238259643316,
0.01408360619097948,
-0.04950600862503052,
-0.054734013974666595,
-0.022441301494836807,
-0.011727447621524334,
-0.04694535210728645,
0.04829680919647217,
0.006828415207564831,
-0.03170589730143547,
-0.015941860154271126,
-0.003938786219805479,
-0.08606648445129395,
-0.011042827740311623,
-0.03908556327223778,
0.05658337473869324,
-0.020147381350398064,
-0.0004987387801520526,
0.0034942280035465956,
-0.00439445860683918,
-0.0032852855511009693,
0.027313660830259323,
-0.008806698955595493,
0.015328369103372097,
0.05921516194939613,
-0.05377376824617386,
0.0014103611465543509,
-0.012172005139291286,
-0.030656738206744194,
-0.01860031858086586,
-0.06746616214513779,
0.02708248980343342,
-0.0532047338783741,
0.013390094973146915,
-0.03773410618305206,
-0.03151028975844383,
0.015363933518528938,
0.024592963978648186,
0.00651277881115675,
-0.03592030704021454,
0.0375918485224247,
-0.061562430113554,
-0.02948310412466526,
-0.007935364730656147,
0.005365818273276091,
-0.01078498363494873,
-0.01580849289894104,
-0.036880552768707275,
0.017604507505893707,
-0.03698724880814552,
-0.026282284408807755,
-0.031225772574543953,
0.018902618438005447,
0.02633563242852688,
0.0071618338115513325,
0.036044783890247345,
0.012154223397374153,
-0.051853276789188385,
-0.03236384317278862,
0.008326576091349125,
0.031937066465616226,
-0.002031631302088499,
0.0057614753022789955,
-0.024486269801855087,
0.011229542084038258,
0.04346001520752907,
0.029038546606898308,
0.010162602178752422,
-0.0001312141539528966,
-0.04267759248614311,
-0.057899270206689835,
-0.04129057377576828,
0.037236202508211136,
-0.010624942369759083,
0.06579462438821793,
0.05270683020353317,
0.003160809399560094,
-0.04040145501494408,
-0.03680942580103874,
0.03133246675133705,
-0.04669640213251114,
-0.07397449761629105,
-0.04065040871500969,
0.00219834060408175,
-0.026193372905254364,
-0.0333063043653965,
0.007753096055239439,
-0.014465926215052605,
-0.009042315185070038,
0.00585927814245224,
-0.0021794468630105257,
-0.00041371703264303505,
0.03348412737250328,
0.0360625684261322,
0.04388679191470146,
-0.026993578299880028,
-0.0749703049659729,
0.03997467830777168,
-0.052493441849946976,
-0.05711684748530388,
-0.002449515974149108,
-0.019489435479044914,
0.0509997233748436,
0.0677151158452034,
0.02466409280896187,
0.018386930227279663,
-0.03415985777974129,
-0.04267759248614311,
0.03933451697230339,
-0.05558756738901138,
-0.07504143565893173,
0.014501490630209446,
-0.016626479104161263,
0.05590764805674553,
-0.04538050666451454,
0.0015059411525726318,
0.016057444736361504,
-0.05416497960686684,
0.019773952662944794,
-0.04996835067868233,
-0.037342894822359085,
-0.00600153673440218,
0.053062476217746735,
0.038836609572172165,
-0.0192404817789793,
-0.009495764970779419,
-0.05281352251768112,
0.06938665360212326,
0.01824467070400715,
-0.031101295724511147,
0.046091802418231964,
-0.03332408890128136,
-0.030016575008630753,
-0.014261429198086262,
0.03600921854376793,
-0.002389500616118312,
0.07155609875917435,
-0.05868169292807579,
0.03170589730143547,
0.029056329280138016,
0.009611349552869797,
-0.018991529941558838,
-0.030745649710297585,
0.011193977668881416,
0.014608184807002544,
0.0582549162209034,
-0.08158533275127411,
0.008815590292215347,
0.044135745614767075,
-0.01502606924623251,
0.014554837718605995,
-0.03360860422253609,
0.06867536157369614,
0.051106419414281845,
-0.021232102066278458,
0.016795411705970764,
0.014697096310555935,
-0.0319904126226902,
-0.044420260936021805,
-0.03552909567952156,
-0.01831580139696598,
0.007428568787872791,
-0.0032319386955350637,
-0.006290499586611986,
0.04378009960055351,
-0.0461629293859005,
0.017373336479067802,
-0.07283642888069153,
0.015692906454205513,
0.032399408519268036,
0.021036498248577118,
0.04680309444665909,
0.02565990388393402,
0.02761595882475376,
0.0032497209031134844,
0.009513546712696552,
-0.005476957652717829,
-0.039405643939971924,
0.002798494417220354,
-0.0002775710599962622,
-0.044633649289608,
-0.023010335862636566,
-0.018369147554039955,
-0.041255008429288864,
-0.006401638966053724,
-0.0022116773761808872,
-0.04787003621459007,
-0.0690310075879097,
-0.04267759248614311,
0.035209015011787415,
0.02317037619650364,
0.041610654443502426,
0.0005659782327711582,
-0.005530304741114378,
0.09702039510011673,
0.0206630676984787,
0.02846951223909855,
0.05903733894228935,
0.0364893414080143,
0.06238041818141937,
-0.03145694360136986,
0.04957713931798935,
-0.01483046356588602,
-0.002382832346484065,
-0.011905270628631115,
-0.05754362419247627,
0.00315191806294024,
0.04303324222564697,
-0.037165071815252304,
-0.04612736776471138,
-0.021143190562725067,
-0.009655805304646492,
0.03366195037961006,
-0.04769220948219299,
-0.004243308678269386,
-0.015550647862255573,
-0.0057170195505023,
0.01399469468742609,
-0.01041155494749546,
-0.04214412346482277,
0.04993278533220291,
0.020769761875271797,
0.007637511007487774,
-0.062095899134874344,
-0.025428732857108116,
-0.010038125328719616,
-0.01712438464164734,
-0.00013843821943737566,
0.035297926515340805,
0.03972572833299637
] |
21,602 | delorean.dates | move_datetime_hour | null | def move_datetime_hour(dt, direction, num_shifts):
delta = relativedelta(hours=+num_shifts)
return _move_datetime(dt, direction, delta)
| (dt, direction, num_shifts) | [
0.02724725753068924,
0.028668396174907684,
-0.050318822264671326,
-0.057406969368457794,
-0.053652357310056686,
-0.044774629175662994,
0.0030966780614107847,
0.11102423816919327,
-0.10351501405239105,
0.015035994350910187,
0.0048336246982216835,
-0.011079615913331509,
0.06161775067448616,
0.013956981711089611,
0.010246232151985168,
0.05298565328121185,
0.010711172595620155,
0.01438683271408081,
-0.0190888699144125,
-0.055547211319208145,
0.13313083350658417,
-0.06561799347400665,
-0.0007527866400778294,
-0.01687821000814438,
-0.011755094863474369,
0.021053900942206383,
-0.03486175090074539,
0.038493551313877106,
0.022843481972813606,
-0.039721693843603134,
0.005588056519627571,
0.01772036775946617,
-0.030159713700413704,
-0.013474497012794018,
-0.009658477269113064,
-0.03486175090074539,
-0.0024255849421024323,
0.002326894784346223,
0.025247136130928993,
0.0634424239397049,
0.017071204259991646,
0.04631858319044113,
0.03638815879821777,
-0.014439467340707779,
0.027370071038603783,
0.014483329840004444,
0.003627411788329482,
0.010676082223653793,
0.013799077831208706,
-0.026352467015385628,
0.013377999886870384,
-0.015843059867620468,
-0.004956439137458801,
-0.011834046803414822,
0.037546124309301376,
0.0011003953404724598,
0.023878632113337517,
-0.027299892157316208,
0.013948209583759308,
-0.05874038487672806,
-0.0337388776242733,
-0.004226131830364466,
0.022755758836865425,
0.03708995506167412,
0.02403653785586357,
-0.015211443416774273,
-0.007728536147624254,
-0.048248521983623505,
0.019071325659751892,
0.010807669721543789,
0.0019880584441125393,
0.05165223777294159,
0.052354034036397934,
-0.05589810758829117,
-0.029563186690211296,
0.050634633749723434,
-0.01066731009632349,
-0.0600036196410656,
0.05354708805680275,
0.007816260680556297,
-0.0683199092745781,
0.02305402234196663,
-0.011518238112330437,
0.050494272261857986,
-0.062494996935129166,
0.06912697851657867,
0.0651618242263794,
-0.06996913254261017,
-0.07102182507514954,
0.007123236544430256,
0.009211082011461258,
-0.060284338891506195,
-0.056038469076156616,
-0.07474134862422943,
0.037195224314928055,
0.05779295787215233,
-0.006873221602290869,
-0.032458096742630005,
-0.07698710262775421,
-0.007627652958035469,
0.01817653514444828,
-0.08007500320672989,
0.06842517852783203,
0.030142169445753098,
-0.003877426730468869,
-0.05930182337760925,
0.0014858351787552238,
-0.0004430091648828238,
-0.04424828290939331,
-0.04586241394281387,
0.008790004067122936,
0.03063342720270157,
-0.03066851571202278,
-0.038493551313877106,
0.06972350180149078,
-0.009991830214858055,
0.03786193206906319,
-0.011044525541365147,
0.04119546711444855,
-0.018562523648142815,
0.02787887491285801,
-0.03405468538403511,
0.0536874495446682,
-0.008776845410466194,
0.022843481972813606,
0.018930966034531593,
-0.012965694069862366,
-0.01696593500673771,
-0.016395725309848785,
-0.03221246972680092,
-0.04491499066352844,
0.020018750801682472,
-0.037826843559741974,
0.005544194020330906,
-0.05228385329246521,
0.012816562317311764,
-0.011965634301304817,
0.004658175632357597,
0.030370252206921577,
-0.021948691457509995,
-0.028528036549687386,
-0.0031032573897391558,
-0.01355344895273447,
0.021053900942206383,
0.05014337599277496,
-0.004438864067196846,
-0.028317498043179512,
0.06312661617994308,
-0.029247377067804337,
0.04803798347711563,
-0.021948691457509995,
-0.008715437725186348,
0.006881994195282459,
0.037054866552352905,
-0.023089110851287842,
0.028071869164705276,
-0.008382084779441357,
0.01889587566256523,
-0.012035813182592392,
0.010755034163594246,
-0.010632219724357128,
-0.06052996590733528,
-0.022001326084136963,
0.06358278542757034,
0.0025593647733330727,
-0.017808090895414352,
0.017492283135652542,
0.02765079028904438,
0.004344560205936432,
0.0036800464149564505,
0.007610108237713575,
0.003142733359709382,
0.06716194748878479,
-0.046844929456710815,
0.09495309740304947,
-0.034756481647491455,
-0.012553388252854347,
-0.007575018331408501,
0.026633184403181076,
-0.08119788020849228,
0.010211141780018806,
-0.01134278904646635,
-0.010807669721543789,
-0.001361924223601818,
-0.034984566271305084,
0.029896540567278862,
-0.005873161368072033,
0.03315989300608635,
-0.01053572352975607,
0.013763988390564919,
-0.012211263179779053,
0.01686943881213665,
0.021597793325781822,
0.025457676500082016,
0.016395725309848785,
-0.005693325772881508,
-0.00005239488018560223,
0.030615881085395813,
-0.0012226614635437727,
0.07161835581064224,
-0.05509104207158089,
0.012298987247049809,
0.03891462832689285,
-0.05003810673952103,
0.05498577281832695,
0.020001206547021866,
0.036739058792591095,
-0.05452960357069969,
-0.04312540963292122,
-0.013000784441828728,
0.0025725236628204584,
-0.03575654327869415,
0.015079856850206852,
0.03614253178238869,
-0.0020582382567226887,
-0.003487052395939827,
-0.07070601731538773,
-0.021755697205662727,
0.012105992995202541,
-0.0444939099252224,
-0.014737730845808983,
0.04266924038529396,
-0.06379332393407822,
-0.02937019243836403,
0.09649704396724701,
-0.015579886734485626,
-0.08246111124753952,
-0.047967806458473206,
-0.06014397740364075,
-0.010965573601424694,
-0.0009320737444795668,
-0.04586241394281387,
0.00900054257363081,
-0.00046987482346594334,
0.014650005847215652,
0.021176716312766075,
-0.02251012995839119,
-0.08196985721588135,
0.03824792057275772,
0.03568636253476143,
-0.03138785809278488,
0.03993223235011101,
-0.029387736693024635,
-0.002082362538203597,
0.014395604841411114,
-0.007583790458738804,
-0.014474556781351566,
0.0051625920459628105,
0.010474315844476223,
0.005092412233352661,
0.010553267784416676,
0.01382539514452219,
-0.03315989300608635,
-0.032370373606681824,
-0.05003810673952103,
0.04726601019501686,
-0.022878572344779968,
0.015430754981935024,
-0.017343150451779366,
0.016439588740468025,
-0.038633909076452255,
-0.037195224314928055,
0.025369951501488686,
-0.07123236358165741,
-0.023755818605422974,
-0.0005767891416326165,
-0.029738634824752808,
0.003629604820162058,
-0.07656601816415787,
0.0010346018243581057,
-0.01949240267276764,
-0.012553388252854347,
-0.04045857861638069,
0.017018569633364677,
0.020106475800275803,
0.0752326101064682,
0.014246473088860512,
-0.057757869362831116,
-0.05438924580812454,
-0.04582732543349266,
0.01513249147683382,
-0.026106838136911392,
0.011325244791805744,
-0.00009361858246847987,
-0.048423971980810165,
0.05659990385174751,
0.044634271413087845,
0.08014518767595291,
0.04094983637332916,
0.032317738980054855,
-0.0021152591798454523,
0.005737188272178173,
0.02015911042690277,
-0.0396164245903492,
0.03533546254038811,
0.04252887889742851,
-0.04123055562376976,
0.013325365260243416,
-0.021229350939393044,
0.023018931970000267,
0.007974165491759777,
-0.0003284189151600003,
-0.07042530179023743,
0.00578543683513999,
-0.03121240809559822,
-0.0002339779312023893,
0.01389557495713234,
0.03712504729628563,
0.011693688109517097,
-0.026177017018198967,
0.02377336286008358,
-0.0027677107136696577,
-0.056775353848934174,
0.003548459615558386,
0.03979187458753586,
0.009526890702545643,
0.003142733359709382,
0.04309031739830971,
0.002348825801163912,
0.042283251881599426,
-0.03937079384922981,
0.01660626381635666,
0.018843241035938263,
-0.037054866552352905,
-0.01929941028356552,
-0.07102182507514954,
0.009377758949995041,
-0.01121120247989893,
-0.01605360023677349,
0.047792356461286545,
-0.03103695996105671,
-0.02701917290687561,
0.03368624299764633,
0.0170887503772974,
0.044809721410274506,
0.01831689476966858,
-0.010956801474094391,
-0.0004309470532462001,
-0.008640872314572334,
0.0025045371148735285,
0.027405161410570145,
0.07965392619371414,
0.01664135418832302,
-0.024018991738557816,
0.08351381123065948,
-0.027352526783943176,
-0.05319619178771973,
0.05575774982571602,
-0.013413089327514172,
0.060740504413843155,
0.025369951501488686,
-0.02101881057024002,
0.017518600448966026,
-0.04102001711726189,
-0.0047020381316542625,
0.03210720047354698,
0.044809721410274506,
-0.017667731270194054,
0.02701917290687561,
-0.06481092423200607,
0.01157087367027998,
0.003899357980117202,
0.056950803846120834,
0.013956981711089611,
-0.025001507252454758,
-0.02070300281047821,
-0.014176293276250362,
-0.005557352676987648,
0.024334801360964775,
0.00709253316745162,
-0.05610864609479904,
0.03328270837664604,
0.039405886083841324,
0.015071084722876549,
0.08940890431404114,
0.028843844309449196,
0.032458096742630005,
0.07902231067419052,
-0.0720745250582695,
0.009798836894333363,
0.06940769404172897,
0.008833865635097027,
0.024826059117913246,
0.06782865524291992,
0.031914204359054565,
-0.0205275546759367,
0.128077894449234,
0.04877487197518349,
-0.012298987247049809,
-0.0413358248770237,
-0.026370011270046234,
-0.03803738206624985,
0.007737308740615845,
0.009702339768409729,
0.01565883867442608,
-0.021580249071121216,
-0.02710689790546894,
0.041967444121837616,
-0.04961702600121498,
0.03384414687752724,
0.08035572618246078,
-0.03363360837101936,
0.04712564870715141,
0.04087965935468674,
0.022475039586424828,
-0.0006447757477872074,
-0.06810937076807022,
0.028001688420772552,
-0.06930242478847504,
-0.04344121739268303,
-0.0236856397241354,
-0.038458459079265594,
0.0290017481893301,
0.017439648509025574,
-0.009325123392045498,
-0.0022347839549183846,
-0.022001326084136963,
-0.010912938974797726,
-0.02070300281047821,
0.024773424491286278,
0.0178694985806942,
-0.11130496114492416,
-0.03503720089793205,
0.031422946602106094,
0.009974285960197449,
-0.011263837106525898,
0.021001266315579414,
-0.015009677037596703,
-0.058354396373033524,
-0.008675961755216122,
0.019159050658345222,
0.03293181210756302,
0.00474590016528964,
0.022755758836865425,
0.059652719646692276,
0.036563608795404434,
0.035388100892305374,
-0.011448059231042862,
-0.008092593401670456,
0.08021536469459534,
-0.02079072780907154,
-0.007325002923607826,
0.017290515825152397,
-0.024475160986185074,
-0.01085153128951788,
-0.01669398881494999,
0.01346572395414114,
-0.03558109328150749,
0.014246473088860512,
0.009676022455096245,
0.03744085505604744,
0.03251073136925697,
-0.0025176957715302706,
0.0025396267883479595,
0.008583851158618927,
-0.07572386413812637,
0.015369348227977753,
0.012553388252854347,
-0.02066791243851185,
0.0016514153685420752,
-0.010860304348170757,
0.029071928933262825,
-0.012079675681889057,
-0.02994917519390583,
-0.01215862762182951,
-0.006939014885574579,
0.016764169558882713,
-0.011790184304118156,
-0.03131767734885216,
-0.026019113138318062,
0.029615821316838264,
0.011474376544356346,
0.021124081686139107,
0.04677475243806839,
-0.0085443751886487,
-0.013720125891268253,
0.054740142077207565,
0.03479157015681267,
-0.004645016975700855,
-0.005469628144055605,
0.05624900758266449,
-0.02837013266980648,
0.038774266839027405,
-0.02087845280766487,
0.03680923581123352,
0.05754733085632324,
0.008965453132987022,
-0.0354582779109478,
0.003136154031381011,
-0.0028905251529067755,
0.018685337156057358,
-0.02463306486606598,
-0.03479157015681267,
-0.04677475243806839,
0.04926612973213196,
0.006017906591296196,
-0.04814325273036957,
-0.026457736268639565,
0.03491438552737236,
-0.007022353354841471,
-0.014325425028800964,
0.087864950299263,
0.05259966477751732,
-0.011518238112330437,
0.003555038943886757,
0.0053292689844965935,
0.055687569081783295,
-0.003633991116657853,
-0.0554068498313427,
-0.02273821271955967,
0.03649342805147171,
-0.005307337734848261,
-0.007509224582463503,
0.023036476224660873,
0.03510738164186478,
-0.013413089327514172,
-0.04452900215983391,
-0.03003689832985401,
0.022404860705137253,
-0.001321351621299982,
0.003927868325263262,
-0.04091474786400795,
0.031422946602106094,
0.010640992783010006,
0.0016744431341066957,
0.011623508296906948,
0.046529121696949005,
0.006482847034931183,
0.04396756365895271,
-0.0038840060587972403,
0.0058029815554618835,
0.015272851102054119,
-0.054599784314632416,
0.020404739305377007,
0.07958374917507172,
0.02156270481646061,
-0.087864950299263,
-0.006417053751647472,
-0.040212951600551605,
0.0037392606027424335,
-0.041300736367702484,
-0.08063644170761108,
-0.01755369082093239,
-0.025106776505708694,
-0.05256457254290581,
0.04203762114048004,
-0.0016886983066797256,
-0.003967344295233488,
-0.03510738164186478,
-0.024054082110524178,
-0.0847068652510643,
0.0034519624896347523,
-0.011869137175381184,
0.05874038487672806,
-0.03284408524632454,
0.031142229214310646,
0.00964970514178276,
-0.016255365684628487,
0.005241543985903263,
0.03993223235011101,
0.022211866453289986,
0.024562884122133255,
0.027615699917078018,
-0.06358278542757034,
-0.043546486645936966,
-0.025159411132335663,
-0.03551091253757477,
0.04698529094457626,
-0.06224936991930008,
0.02394881285727024,
-0.07200434058904648,
0.06712685525417328,
-0.04695019870996475,
-0.034037139266729355,
-0.045125529170036316,
0.0006557413144037127,
0.040212951600551605,
-0.0037655779160559177,
0.06203882768750191,
-0.02968600019812584,
-0.020404739305377007,
0.03496702015399933,
0.00805311743170023,
0.0145710539072752,
-0.017343150451779366,
-0.026177017018198967,
0.05038900300860405,
-0.015018449164927006,
-0.03284408524632454,
0.00487310066819191,
0.024071626365184784,
0.005307337734848261,
0.016308000311255455,
0.03296690061688423,
0.013070963323116302,
-0.024755878373980522,
-0.036739058792591095,
-0.012623568065464497,
0.004649403039366007,
0.02029947005212307,
0.013834167271852493,
-0.024387435987591743,
0.005873161368072033,
0.02724725753068924,
0.05238912254571915,
0.006399508565664291,
-0.004864328540861607,
-0.015158808790147305,
-0.08365416526794434,
-0.05989835038781166,
0.03338797762989998,
0.0013717932160943747,
0.06638997048139572,
0.046669479459524155,
-0.0031668576411902905,
-0.0044476366601884365,
-0.0508100800216198,
0.0006228445563465357,
-0.017220336943864822,
-0.07972410321235657,
-0.0580034963786602,
0.009570752270519733,
-0.04168672487139702,
0.024738334119319916,
0.03614253178238869,
-0.028703484684228897,
0.010842759162187576,
0.027545521035790443,
-0.016430815681815147,
-0.03384414687752724,
0.02454533986747265,
0.015158808790147305,
0.01326395757496357,
-0.009254944510757923,
-0.05263475328683853,
0.011991951614618301,
-0.05842457711696625,
-0.019860846921801567,
-0.003796281525865197,
-0.040212951600551605,
0.010140962898731232,
0.032861631363630295,
0.02724725753068924,
0.05102062225341797,
-0.026141926646232605,
-0.014685096219182014,
0.01659749262034893,
-0.03423013538122177,
-0.07154817134141922,
-0.009614614769816399,
0.01898360066115856,
0.05782805010676384,
-0.03563372790813446,
-0.008123297244310379,
-0.012562161311507225,
-0.04856433346867561,
-0.018158989027142525,
-0.0783906951546669,
-0.023264560848474503,
0.02087845280766487,
0.034756481647491455,
0.03266863524913788,
-0.022036416456103325,
0.006842517759650946,
-0.027545521035790443,
0.06407403945922852,
0.01204458624124527,
-0.04912576824426651,
0.005965271964669228,
-0.02549276500940323,
-0.035388100892305374,
-0.011395423673093319,
0.0017917747609317303,
0.0005455372738651931,
0.032458096742630005,
-0.03535300865769386,
0.0030440432019531727,
0.010658537968993187,
-0.046353671699762344,
-0.004364298190921545,
0.011658597737550735,
0.008110138587653637,
0.007504838518798351,
0.037686482071876526,
-0.02422953210771084,
0.017702821642160416,
0.058529846370220184,
-0.017220336943864822,
0.0033773966133594513,
-0.023387376219034195,
0.040388401597738266,
0.02865085005760193,
-0.05389798805117607,
0.0404936708509922,
0.027615699917078018,
-0.01609746180474758,
-0.04014277085661888,
-0.026580549776554108,
0.0424937903881073,
0.014535964466631413,
-0.04168672487139702,
-0.01085153128951788,
0.01672907918691635,
-0.019334498792886734,
0.005052936263382435,
-0.07242541760206223,
0.03387923538684845,
0.022861028090119362,
0.05733679234981537,
0.029738634824752808,
0.005781050305813551,
-0.009009315632283688,
-0.005552966613322496,
0.014606144279241562,
0.019790668040513992,
-0.057091161608695984,
0.008746141567826271,
0.007947848178446293,
-0.005680167116224766,
0.0033006377052515745,
0.009395303204655647,
-0.02593138813972473,
0.014062251895666122,
-0.0055661252699792385,
-0.06133703142404556,
-0.027598155662417412,
-0.018211625516414642,
0.025650668889284134,
0.015904467552900314,
0.02273821271955967,
-0.011263837106525898,
-0.03487929701805115,
0.05849475413560867,
0.05130133777856827,
0.05659990385174751,
0.03944097459316254,
0.011948089115321636,
0.030475521460175514,
0.023440010845661163,
0.07228506356477737,
0.01660626381635666,
-0.011088388040661812,
0.01039536390453577,
-0.062319546937942505,
0.005412606988102198,
-0.008535602129995823,
-0.02173815295100212,
-0.005776664242148399,
-0.006285466719418764,
0.009983058087527752,
0.013448179699480534,
-0.06870590150356293,
-0.006031065247952938,
-0.02498396299779415,
0.05470505356788635,
0.03901989758014679,
-0.07417991012334824,
-0.005136274732649326,
0.004605541005730629,
0.028949113562703133,
-0.008689120411872864,
0.01646590605378151,
-0.006373191252350807,
-0.0337388776242733,
-0.0165097676217556,
-0.01244811899960041,
0.04154636338353157,
0.044809721410274506
] |
21,603 | delorean.dates | move_datetime_minute | null | def move_datetime_minute(dt, direction, num_shifts):
delta = relativedelta(minutes=+num_shifts)
return _move_datetime(dt, direction, delta)
| (dt, direction, num_shifts) | [
0.03766742721199989,
0.0380207784473896,
-0.03473459556698799,
0.0013902230421081185,
-0.030158676207065582,
-0.01686377078294754,
0.013427413068711758,
0.12324951589107513,
-0.05286160483956337,
0.020035112276673317,
-0.0419076606631279,
0.014999832957983017,
0.04812667518854141,
0.04328573867678642,
0.021165842190384865,
-0.0025861021131277084,
0.025423746556043625,
0.0055299741216003895,
-0.04487582668662071,
-0.015300183556973934,
0.1114475280046463,
-0.006497277412563562,
0.04844469204545021,
-0.004264528397470713,
-0.007137729786336422,
0.03333885222673416,
-0.01832135207951069,
0.024116339161992073,
-0.010450414381921291,
-0.008135952055454254,
0.028144564479589462,
0.05215489864349365,
-0.019734762609004974,
-0.032738152891397476,
-0.009381521493196487,
-0.02459336631000042,
-0.019964441657066345,
-0.0034208984579890966,
-0.07091794162988663,
-0.010097061283886433,
0.03621868044137955,
0.04929273948073387,
0.010450414381921291,
-0.009575865231454372,
0.03226112574338913,
0.001299676368944347,
0.02869226038455963,
0.03492894023656845,
0.03904550150036812,
0.01287971530109644,
0.03337418660521507,
-0.010061725974082947,
-0.027667537331581116,
-0.01541502308100462,
0.0075264181941747665,
0.03595366328954697,
0.018109340220689774,
-0.02277359925210476,
0.031501416116952896,
-0.05476970970630646,
-0.013657092116773129,
0.019063392654061317,
0.012005167081952095,
0.03356853127479553,
0.0035423634108155966,
-0.045370519161224365,
0.0026214371901005507,
-0.04328573867678642,
0.02482304535806179,
0.008736652322113514,
-0.03681937977671623,
0.03155441954731941,
0.04717262089252472,
-0.04653658717870712,
-0.026483803987503052,
0.057843878865242004,
-0.037702761590480804,
-0.05300294607877731,
0.08374465256929398,
0.029875993728637695,
-0.06618300825357437,
0.006855047307908535,
-0.0014796655159443617,
0.017102284356951714,
-0.0844513550400734,
0.03869215026497841,
0.03766742721199989,
-0.049398742616176605,
-0.042508359998464584,
-0.04233168438076973,
0.002200726419687271,
-0.01640441082417965,
-0.045829880982637405,
-0.03784410282969475,
-0.008202205412089825,
0.09010500460863113,
-0.024876048788428307,
-0.029557975009083748,
-0.10120029002428055,
0.022508583962917328,
-0.0019555878825485706,
-0.055829767137765884,
0.049858104437589645,
-0.009213678538799286,
0.0057508195750415325,
-0.022455580532550812,
-0.024575699120759964,
-0.002393966307863593,
-0.0438511036336422,
-0.020900828763842583,
-0.0016022349009290338,
-0.010574087500572205,
-0.05438102036714554,
-0.002698733238503337,
0.030759375542402267,
0.00791068933904171,
0.014195955358445644,
-0.04505250230431557,
0.04572387412190437,
-0.006364770233631134,
0.05370965227484703,
-0.03674870729446411,
0.07512284070253372,
-0.021201178431510925,
0.01871003955602646,
0.019257737323641777,
0.035882994532585144,
-0.02316228672862053,
-0.008542307652533054,
-0.02021178975701332,
-0.049010057002305984,
0.03621868044137955,
0.0027340685483068228,
0.005105950403958559,
-0.05537040904164314,
0.019240068271756172,
0.00043230527080595493,
-0.019151730462908745,
0.017729485407471657,
-0.01994677446782589,
-0.03492894023656845,
0.003800752805545926,
0.005494638811796904,
0.02439902164041996,
0.012349685654044151,
-0.02897494286298752,
-0.02316228672862053,
0.10021089762449265,
-0.025618089362978935,
0.026165787130594254,
-0.022455580532550812,
-0.014937996864318848,
0.04639524593949318,
0.02385132573544979,
-0.015680037438869476,
0.03699605539441109,
0.017075782641768456,
0.035688649863004684,
-0.016218900680541992,
0.015264848247170448,
0.009531696327030659,
-0.06162475794553757,
-0.03915150836110115,
0.0471019484102726,
0.02660747803747654,
-0.009991055354475975,
-0.01893971860408783,
-0.001004847465083003,
-0.045759208500385284,
-0.01229668315500021,
0.057490527629852295,
0.017111117020249367,
0.10671259462833405,
-0.05215489864349365,
0.07632423937320709,
-0.015353186056017876,
-0.049434080719947815,
0.005843574646860361,
0.018409689888358116,
-0.0695398598909378,
0.012915050610899925,
-0.001205816981382668,
0.043745096772909164,
-0.04876270890235901,
-0.043321073055267334,
0.04628923907876015,
-0.016386743634939194,
0.027561530470848083,
-0.003911175765097141,
0.004372742958366871,
0.04169565066695213,
0.033868882805109024,
0.021165842190384865,
-0.00010027770622400567,
-0.030688704922795296,
-0.002780446084216237,
0.007963692769408226,
-0.01767648197710514,
0.04399244487285614,
0.10021089762449265,
-0.05155419930815697,
-0.008303795009851456,
0.06007000431418419,
-0.03277348726987839,
0.06568831950426102,
0.017340796068310738,
0.014257792383432388,
-0.011536974459886551,
-0.038126785308122635,
-0.026713484898209572,
-0.013056391850113869,
-0.02726118080317974,
0.03915150836110115,
0.03883349150419235,
-0.020282460376620293,
-0.03196077421307564,
-0.05116550996899605,
-0.052967607975006104,
0.011280793696641922,
-0.06342685967683792,
0.0022835435811430216,
0.05537040904164314,
-0.08628879487514496,
-0.03420456871390343,
0.05321495607495308,
-0.01971709541976452,
-0.0792924016714096,
-0.06883315742015839,
-0.06961053609848022,
-0.00563597958534956,
0.002363048028200865,
-0.09413322806358337,
0.0026876910123974085,
-0.017208289355039597,
-0.02091849595308304,
-0.06441624462604523,
0.022367242723703384,
-0.06197810918092728,
0.04045891389250755,
0.009381521493196487,
-0.04688993841409683,
0.01874537393450737,
-0.029999665915966034,
0.027720540761947632,
0.02010578289628029,
-0.02033546380698681,
-0.03605967015028,
-0.02885126881301403,
0.05233157426118851,
0.06130674108862877,
0.02667814865708351,
0.054310351610183716,
-0.0331445075571537,
-0.016386743634939194,
-0.043745096772909164,
0.05416901037096977,
-0.04314439743757248,
0.0274555254727602,
-0.031660426408052444,
0.016298405826091766,
-0.010750764049589634,
-0.06537029892206192,
0.030123339965939522,
-0.11243691295385361,
-0.013665925711393356,
0.010839101858437061,
-0.04236701875925064,
0.002068219007924199,
-0.0190103892236948,
-0.01314473059028387,
0.02683715708553791,
-0.0017601394793018699,
-0.037349406629800797,
0.012014000676572323,
-0.0009286557324230671,
0.050246790051460266,
0.0036527863703668118,
-0.03155441954731941,
-0.006559114437550306,
-0.05537040904164314,
0.012517528608441353,
-0.019310738891363144,
0.027137506753206253,
-0.007256986573338509,
-0.059504639357328415,
0.04763197898864746,
0.06102405861020088,
0.07809100300073624,
0.021978555247187614,
0.028250569477677345,
-0.016333740204572678,
-0.002530890516936779,
0.00794160831719637,
-0.03316217660903931,
-0.005582976620644331,
0.040494248270988464,
-0.057525862008333206,
-0.013515750877559185,
-0.05074148625135422,
0.014929162338376045,
0.022950274869799614,
-0.037738095968961716,
-0.052967607975006104,
0.040529586374759674,
-0.01727895997464657,
0.012349685654044151,
0.01932840794324875,
0.003083004616200924,
-0.01991144008934498,
-0.02869226038455963,
-0.0014178287237882614,
0.00694338558241725,
-0.06950452923774719,
-0.022066893056035042,
0.0284272450953722,
0.009090005420148373,
0.013975109905004501,
0.07010522484779358,
0.009187176823616028,
0.0065193623304367065,
-0.014937996864318848,
-0.0011340421624481678,
0.006219012197107077,
-0.01121012307703495,
-0.02424001321196556,
-0.021978555247187614,
0.001963317394256592,
-0.0011517098173499107,
-0.03780876845121384,
0.04508783668279648,
-0.02010578289628029,
-0.022508583962917328,
0.002866575960069895,
-0.010927440598607063,
0.020777154713869095,
-0.0011704816715791821,
-0.016660591587424278,
-0.02567109279334545,
-0.0025905189104378223,
0.014346130192279816,
0.06328551471233368,
0.04448713734745979,
0.03381587937474251,
-0.0136482585221529,
0.051448192447423935,
0.011952163651585579,
0.011669482104480267,
0.039716873317956924,
0.015229512937366962,
0.02385132573544979,
0.025812434032559395,
0.005825906991958618,
-0.03333885222673416,
-0.06893916428089142,
-0.038162119686603546,
0.06844446808099747,
0.04067092761397362,
-0.005618311930447817,
-0.008957497775554657,
-0.06533496081829071,
0.020741818472743034,
0.014319628477096558,
0.06494627147912979,
0.011828490532934666,
0.031660426408052444,
0.024151675403118134,
-0.039292849600315094,
-0.014284293167293072,
0.005923078861087561,
0.03226112574338913,
-0.02683715708553791,
0.0614127442240715,
0.006899216677993536,
0.0412716269493103,
0.0363953560590744,
0.03393955156207085,
0.006828546058386564,
0.05452236160635948,
-0.07091794162988663,
-0.032738152891397476,
0.03717273101210594,
-0.01653691940009594,
0.05996399745345116,
0.05204889178276062,
0.02598910965025425,
0.0011180308647453785,
0.11243691295385361,
0.025494417175650597,
-0.049363408237695694,
-0.0565364733338356,
-0.0497167631983757,
-0.04837401956319809,
-0.0033723122905939817,
0.005463720299303532,
-0.006532612722367048,
-0.025582754984498024,
0.006846213713288307,
0.033091504126787186,
-0.021130507811903954,
0.015264848247170448,
0.0760415568947792,
-0.03393955156207085,
-0.012853214517235756,
0.027137506753206253,
-0.007915106602013111,
-0.015706539154052734,
-0.07356809079647064,
0.030300017446279526,
-0.06618300825357437,
-0.010856769979000092,
-0.003838296514004469,
-0.014257792383432388,
0.055547084659338,
0.011651813983917236,
-0.015794876962900162,
-0.01702277921140194,
-0.017490971833467484,
-0.03710206225514412,
-0.024116339161992073,
0.013515750877559185,
0.00710681127384305,
-0.07936307787895203,
0.0011682732729241252,
-0.009187176823616028,
0.007539669051766396,
-0.020035112276673317,
0.0539216622710228,
-0.04067092761397362,
-0.07611222565174103,
0.008908911608159542,
-0.016422079876065254,
0.03399255499243736,
0.0049204397946596146,
0.042084336280822754,
0.030335351824760437,
0.01000872254371643,
0.003166925860568881,
-0.009151841513812542,
-0.014346130192279816,
0.04508783668279648,
-0.01660759001970291,
-0.015830213204026222,
0.015733040869235992,
-0.03176643326878548,
-0.013268403708934784,
-0.021466191858053207,
0.0013637215597555041,
-0.025194065645337105,
0.010971609503030777,
0.03681937977671623,
-0.014884993433952332,
0.034681592136621475,
0.03070637211203575,
0.012915050610899925,
0.014973332174122334,
-0.03551197424530983,
0.020688816905021667,
-0.0021300558000802994,
0.0003671558224596083,
-0.030777042731642723,
0.015291349962353706,
0.0026170203927904367,
-0.018674703314900398,
-0.01136913150548935,
-0.0266428142786026,
0.05996399745345116,
0.00045825462439097464,
0.03420456871390343,
-0.06169542670249939,
-0.019116396084427834,
0.0438511036336422,
0.00032850782736204565,
0.031165732070803642,
0.009107672609388828,
0.02583010122179985,
0.0027031502686440945,
0.016519250348210335,
0.023338964208960533,
0.052260901778936386,
0.024964386597275734,
0.02567109279334545,
-0.040953610092401505,
0.07420412451028824,
-0.004368326161056757,
0.004602422472089529,
0.04632457345724106,
0.012809044681489468,
-0.039398856461048126,
0.017526306211948395,
-0.03277348726987839,
-0.0020461345557123423,
0.03098905459046364,
0.012711873278021812,
-0.0347699299454689,
0.029328295961022377,
0.008586477488279343,
-0.07696027308702469,
-0.03439890965819359,
0.055476415902376175,
0.034222234040498734,
-0.005503472406417131,
0.10218967497348785,
-0.011863825842738152,
0.013930941000580788,
0.009655369445681572,
-0.0038073782343417406,
0.002427093219012022,
-0.00706705916672945,
-0.03787943720817566,
-0.03203144669532776,
0.004681926686316729,
0.0030410438776016235,
-0.04833868518471718,
0.04476981982588768,
0.003414273029193282,
-0.007142146583646536,
-0.0224202461540699,
-0.0018330184975638986,
0.004973442759364843,
-0.05738452076911926,
0.006179260089993477,
-0.048586033284664154,
0.011148286052048206,
-0.009708372876048088,
-0.005366547964513302,
0.02060047723352909,
0.03236713260412216,
-0.0008127118344418705,
0.03586532548069954,
-0.0020748444367200136,
0.02982299029827118,
0.03167809173464775,
-0.06699572503566742,
0.009885049425065517,
0.06961053609848022,
0.03699605539441109,
-0.04505250230431557,
0.018674703314900398,
0.004472123458981514,
0.029716983437538147,
-0.049858104437589645,
-0.0792924016714096,
0.009443357586860657,
0.0217665433883667,
-0.05378032103180885,
0.06423956900835037,
-0.01686377078294754,
0.005459303501993418,
-0.03416923061013222,
-0.019257737323641777,
-0.03153675049543381,
-0.000938593817409128,
-0.07632423937320709,
0.055441081523895264,
-0.004960192367434502,
0.01727895997464657,
0.0057640704326331615,
-0.01890438422560692,
0.014496305026113987,
0.019045725464820862,
0.07286138087511063,
0.037384744733572006,
0.06342685967683792,
-0.03879815712571144,
-0.045017167925834656,
-0.03547663614153862,
-0.03575931861996651,
0.04070626199245453,
-0.07197799533605576,
0.044169120490550995,
-0.026907827705144882,
0.006930135190486908,
-0.057455193251371384,
-0.0448404923081398,
-0.03830346092581749,
-0.02072415128350258,
0.06487560272216797,
0.0057243178598582745,
0.0011528140166774392,
-0.03226112574338913,
-0.0046995943412184715,
0.03858614340424538,
0.06049402803182602,
-0.001213546609506011,
-0.002407217165455222,
-0.02381598949432373,
0.005640396848320961,
-0.018922051414847374,
-0.024028001353144646,
0.002968164859339595,
0.03256147727370262,
0.03908083960413933,
0.023497972637414932,
0.008639479987323284,
0.019681759178638458,
0.007517584133893251,
-0.03598899766802788,
-0.028939608484506607,
0.040105562657117844,
0.0337982103228569,
0.01741146668791771,
-0.05247291550040245,
-0.0072923218831419945,
0.04194299504160881,
-0.002965956460684538,
0.012517528608441353,
0.0142136225476861,
-0.026430802419781685,
-0.044169120490550995,
-0.011554641649127007,
0.034681592136621475,
-0.00945219211280346,
0.05858592316508293,
0.027667537331581116,
-0.002495555207133293,
-0.020459135994315147,
-0.08409800380468369,
-0.004522917792201042,
0.011572309769690037,
-0.09208378195762634,
-0.032861825078725815,
-0.011033446528017521,
-0.02261458896100521,
-0.022455580532550812,
0.03582999110221863,
-0.017261292785406113,
-0.034946609288454056,
0.015353186056017876,
-0.008882409892976284,
-0.05759653449058533,
0.003926634788513184,
-0.015079338103532791,
0.055900439620018005,
-0.04303839057683945,
-0.0711652860045433,
-0.015503360889852047,
-0.0662890151143074,
-0.059539973735809326,
-0.05038813129067421,
-0.023904327303171158,
0.0318371020257473,
0.0011760027846321464,
0.0054858047515153885,
0.025035057216882706,
-0.04639524593949318,
-0.03904550150036812,
0.02180187776684761,
0.002198518021032214,
-0.04685460403561592,
0.03950485959649086,
0.00010069179552374408,
0.08840890973806381,
-0.029027946293354034,
0.003429732285439968,
0.013012222945690155,
-0.043815769255161285,
-0.018798377364873886,
-0.062331464141607285,
-0.022066893056035042,
0.013392077758908272,
0.029151620343327522,
0.017879659309983253,
-0.004783515818417072,
0.016722429543733597,
-0.042932383716106415,
0.019876103848218918,
-0.002261458896100521,
-0.0141341183334589,
0.02393966354429722,
-0.007711928337812424,
-0.016660591587424278,
-0.019505083560943604,
0.009734874591231346,
0.01010589487850666,
0.04487582668662071,
-0.0025573919992893934,
0.009054670110344887,
-0.01657225377857685,
-0.03155441954731941,
0.005834741052240133,
-0.004238027147948742,
-0.0030388354789465666,
0.01582137867808342,
0.04593588411808014,
-0.06876248866319656,
0.03291482850909233,
0.04166031628847122,
-0.010618256404995918,
-0.011925662867724895,
0.01177548710256815,
0.08112984150648117,
0.03883349150419235,
-0.002643521875143051,
0.03298550099134445,
-0.00368370465002954,
0.026907827705144882,
-0.028444914147257805,
0.012915050610899925,
0.02583010122179985,
0.020971497520804405,
-0.04264970123767853,
-0.01287971530109644,
0.019469749182462692,
-0.05240224301815033,
0.00368370465002954,
-0.07950441539287567,
0.05130685120820999,
0.027331851422786713,
0.07102394849061966,
0.05151886120438576,
0.042579032480716705,
0.02583010122179985,
0.0217665433883667,
0.014257792383432388,
0.013506917282938957,
-0.05077682062983513,
0.005313544999808073,
-0.017111117020249367,
-0.003977429121732712,
-0.02858625538647175,
-0.024699371308088303,
-0.028939608484506607,
-0.02102450095117092,
-0.0015856714453548193,
-0.02897494286298752,
-0.011907994747161865,
-0.005269376095384359,
0.01874537393450737,
0.016130562871694565,
-0.001455372548662126,
-0.005441635847091675,
0.01247335970401764,
0.05010544881224632,
0.019187066704034805,
0.06667770445346832,
0.04597122222185135,
0.01614823006093502,
0.028992610052227974,
0.03577698767185211,
0.08063514530658722,
-0.00563597958534956,
0.007840018719434738,
0.0380207784473896,
-0.04922206699848175,
-0.030229346826672554,
0.02498205378651619,
-0.03503494709730148,
0.005940746515989304,
-0.019575754180550575,
0.011059948243200779,
0.05293227359652519,
-0.0821899026632309,
-0.018869047984480858,
-0.044911161065101624,
-0.015830213204026222,
0.006104172673076391,
-0.06558231264352798,
-0.00004413461283547804,
0.02533540688455105,
0.018657036125659943,
-0.010777265764772892,
-0.019063392654061317,
0.0036527863703668118,
-0.0030785875860601664,
-0.05657180771231651,
0.018233012408018112,
0.01790616102516651,
0.05007011443376541
] |
21,604 | delorean.dates | move_datetime_month |
Move datetime 1 month in the chosen direction.
unit is a no-op, to keep the API the same as the day case
| def move_datetime_month(dt, direction, num_shifts):
"""
Move datetime 1 month in the chosen direction.
unit is a no-op, to keep the API the same as the day case
"""
delta = relativedelta(months=+num_shifts)
return _move_datetime(dt, direction, delta)
| (dt, direction, num_shifts) | [
0.017835145816206932,
0.10082045942544937,
-0.04672081023454666,
-0.0343577116727829,
-0.051900189369916916,
-0.04931049793958664,
-0.03600730746984482,
0.08989410847425461,
-0.052006613463163376,
0.016185550019145012,
-0.03104078210890293,
0.013790976256132126,
0.025879142805933952,
0.03160838410258293,
0.041647862643003464,
0.024690724909305573,
0.01908564753830433,
0.026021044701337814,
0.0033457528334110975,
0.016425007954239845,
0.09833719581365585,
-0.028344668447971344,
0.03325797989964485,
-0.016584645956754684,
-0.006137206219136715,
-0.0012959527084603906,
-0.022863753139972687,
0.01196400448679924,
-0.0153430150821805,
-0.015289802104234695,
0.031164946034550667,
0.03288549184799194,
-0.022828277200460434,
-0.016114600002765656,
0.0025475614238530397,
-0.0031351190991699696,
0.005689331796020269,
0.027511002495884895,
-0.07825824618339539,
0.005445440299808979,
0.0591016486287117,
0.0261452067643404,
0.06169133633375168,
0.017879489809274673,
0.0005021955003030598,
-0.01232762448489666,
0.010890880599617958,
0.009436397813260555,
-0.0017416096525266767,
0.03763916715979576,
-0.003301408840343356,
-0.021001305431127548,
0.04998452961444855,
-0.055092953145504,
0.01970646157860756,
0.06506147980690002,
0.0332225039601326,
0.010465177707374096,
0.010571603663265705,
-0.00515720434486866,
-0.026162944734096527,
0.02598556876182556,
0.03781654313206673,
-0.007174855098128319,
0.0018070170190185308,
-0.016229894012212753,
-0.00240344344638288,
-0.027209462597966194,
0.02749326452612877,
0.03570576757192612,
-0.061372060328722,
0.02933797426521778,
0.028131816536188126,
-0.007161552086472511,
-0.0020952527411282063,
0.060627080500125885,
-0.017781933769583702,
-0.03987410292029381,
0.039732202887535095,
0.04462777450680733,
-0.06314581632614136,
-0.004545257426798344,
-0.05544770509004593,
-0.012700114399194717,
-0.06828971952199936,
0.03841961920261383,
0.026499958708882332,
-0.01887279562652111,
-0.04842362180352211,
-0.04356352239847183,
0.006935397628694773,
-0.056653860956430435,
-0.015564735047519207,
-0.01645161397755146,
-0.03763916715979576,
0.07006347924470901,
-0.010757848620414734,
-0.02820276841521263,
-0.11990610510110855,
0.05009095370769501,
-0.0018036911496892571,
-0.04352804645895958,
0.03574124351143837,
-0.0034787848126143217,
0.00013670415501110256,
-0.028859058395028114,
-0.04725293815135956,
-0.028185030445456505,
-0.07141153514385223,
-0.02820276841521263,
-0.008793409913778305,
0.023608732968568802,
-0.04430849850177765,
-0.019529085606336594,
0.034623775631189346,
0.006465351674705744,
0.009950787760317326,
-0.06162038818001747,
0.005250326357781887,
0.01549378503113985,
0.04037075489759445,
-0.028043130412697792,
0.05942092463374138,
-0.02479715086519718,
0.04129311069846153,
-0.010491784662008286,
0.06729641556739807,
-0.0017416096525266767,
-0.00781340803951025,
-0.0082479789853096,
-0.05637006089091301,
-0.0057558477856218815,
-0.0298168882727623,
-0.004077428486198187,
-0.027812540531158447,
0.029231548309326172,
0.00439448794350028,
-0.020859405398368835,
-0.04232189059257507,
-0.0255776047706604,
-0.013702288269996643,
0.0028491003904491663,
0.01408364623785019,
0.019883837550878525,
0.007223633583635092,
-0.014500479213893414,
-0.0352623276412487,
0.07314982265233994,
-0.04459230229258537,
0.021178681403398514,
0.005538562312722206,
-0.013968352228403091,
0.03316929191350937,
-0.020291803404688835,
-0.03912912309169769,
0.041860710829496384,
0.005006434861570597,
0.023502307012677193,
-0.014296497218310833,
0.05179376155138016,
-0.01239857543259859,
-0.017959309741854668,
-0.026021044701337814,
0.07449787855148315,
0.024531086906790733,
0.0003855154209304601,
0.00884662289172411,
-0.0030331278685480356,
-0.01804799772799015,
0.008735762909054756,
0.021693073213100433,
0.059953052550554276,
0.0897522047162056,
-0.07456883043050766,
0.03214051201939583,
-0.00025179062504321337,
0.0017105687875300646,
0.0016728764167055488,
0.04104478284716606,
-0.012380837462842464,
0.015360753051936626,
0.022402575239539146,
-0.0033280153293162584,
-0.033293455839157104,
-0.044734202325344086,
0.04672081023454666,
-0.05214851349592209,
0.06438744813203812,
-0.01810120977461338,
0.012886359356343746,
0.05317729339003563,
0.04171881079673767,
0.04625963419675827,
-0.010553865693509579,
-0.0522904135286808,
-0.004511999431997538,
-0.0005942092393524945,
-0.012930703349411488,
0.02939118631184101,
0.04285401850938797,
0.0063411882147192955,
0.026641860604286194,
0.04625963419675827,
-0.011316582560539246,
0.07832919806241989,
0.048600997775793076,
-0.004423311445862055,
-0.004660551901906729,
-0.06115920841693878,
-0.0210367813706398,
0.037107039242982864,
-0.011777759529650211,
0.03146648406982422,
0.010438571684062481,
-0.027315888553857803,
-0.04523085430264473,
-0.02006121352314949,
-0.02712077461183071,
0.021214157342910767,
-0.018642207607626915,
-0.03036675415933132,
0.0738593265414238,
-0.05977567657828331,
-0.020646555349230766,
0.05498652905225754,
-0.03120042011141777,
-0.04296044260263443,
-0.06044970452785492,
-0.04696913808584213,
-0.039945051074028015,
-0.03446413576602936,
-0.06786401569843292,
-0.003356838831678033,
-0.03130684420466423,
0.06037875637412071,
-0.0989048033952713,
0.0320872999727726,
-0.07818729430437088,
0.002871272386983037,
0.030934356153011322,
0.002240479225292802,
0.0009916421258822083,
-0.006159378215670586,
0.007534041069447994,
0.01928075961768627,
0.045053478330373764,
-0.03444639965891838,
0.007480828557163477,
0.027972178533673286,
0.04047717899084091,
-0.020149901509284973,
0.002494348678737879,
-0.010571603663265705,
-0.016318581998348236,
-0.012806539423763752,
0.006651596166193485,
-0.01881958357989788,
0.04523085430264473,
-0.0048734028823673725,
0.013196766376495361,
-0.0035209115594625473,
-0.05828572064638138,
-0.0014489393215626478,
-0.07449787855148315,
-0.01738283783197403,
0.008913138881325722,
-0.035617079585790634,
0.020309539511799812,
0.03295644372701645,
0.008012956008315086,
0.04966524988412857,
0.028096342459321022,
-0.02790122851729393,
0.005232588853687048,
0.016052518039941788,
0.05945640057325363,
0.00633231969550252,
-0.06385532021522522,
-0.03382558375597,
-0.019617773592472076,
0.040760982781648636,
-0.053354669362306595,
0.03657491132616997,
0.034375447779893875,
-0.07669734209775925,
0.01008381973952055,
0.03763916715979576,
0.042002610862255096,
0.04725293815135956,
0.03190992400050163,
0.011955135501921177,
0.021781761199235916,
0.025754980742931366,
-0.008079471997916698,
-0.05225494131445885,
0.0340561717748642,
-0.033399879932403564,
-0.019830625504255295,
-0.036184683442115784,
-0.012779933400452137,
-0.01954682357609272,
-0.003913355525583029,
-0.02598556876182556,
0.024460136890411377,
-0.010553865693509579,
0.01933397352695465,
0.06828971952199936,
0.032051824033260345,
-0.0022282847203314304,
-0.029745938256382942,
0.019014695659279823,
-0.036645859479904175,
-0.055979833006858826,
-0.0335240438580513,
-0.01629197597503662,
-0.013063735328614712,
0.012034954503178596,
0.03393200784921646,
0.009977394714951515,
0.019475873559713364,
-0.024939050897955894,
-0.017675507813692093,
0.009649248793721199,
-0.024868100881576538,
-0.01629197597503662,
-0.01544944103807211,
-0.009392053820192814,
-0.006531867664307356,
-0.0028335798997431993,
0.08961030095815659,
0.0017748675309121609,
-0.020540129393339157,
-0.01144961453974247,
0.030686030164361,
0.032725851982831955,
-0.06626763194799423,
-0.03192766010761261,
-0.06410364806652069,
0.018730895593762398,
0.009525085799396038,
0.049629777669906616,
0.03063281811773777,
-0.01227441243827343,
-0.03063281811773777,
0.05725694075226784,
0.03384331986308098,
-0.013915139250457287,
0.07329171895980835,
-0.01188418548554182,
0.06669333577156067,
0.04100930690765381,
0.0568312369287014,
-0.02073524333536625,
-0.062507264316082,
-0.04945240169763565,
0.044273022562265396,
0.06314581632614136,
-0.021160945296287537,
-0.01589288003742695,
-0.05285801738500595,
0.0070728641003370285,
0.008589427918195724,
0.02995878830552101,
0.025151902809739113,
0.022367101162672043,
-0.030934356153011322,
-0.04806886985898018,
-0.013737763278186321,
0.06314581632614136,
-0.00789322704076767,
0.011538302525877953,
0.05864047259092331,
0.017205461859703064,
0.04079645499587059,
0.031111732125282288,
0.03574124351143837,
0.009046170860528946,
0.03373689576983452,
-0.07148248702287674,
-0.028557520359754562,
0.02362646907567978,
-0.048033393919467926,
0.0522904135286808,
0.05981115251779556,
0.06208156421780586,
0.008114947006106377,
0.1376436948776245,
0.021001305431127548,
-0.05544770509004593,
-0.03817129507660866,
-0.013418486341834068,
-0.02939118631184101,
-0.009587167762219906,
0.016318581998348236,
0.016895053908228874,
-0.04196713864803314,
-0.015467178076505661,
0.03366594389081001,
-0.010066081769764423,
-0.007613860536366701,
0.05647648498415947,
0.03258395195007324,
-0.03279680386185646,
0.01420780923217535,
-0.04065455496311188,
0.03244205191731453,
-0.07705208659172058,
-0.019777413457632065,
-0.07577498257160187,
0.03279680386185646,
-0.006279106717556715,
0.013728894293308258,
0.03987410292029381,
-0.05101330950856209,
0.026162944734096527,
0.015644554048776627,
-0.007844449020922184,
-0.04810434207320213,
0.03471246361732483,
-0.013560387305915356,
0.01928075961768627,
-0.034588299691677094,
0.029479874297976494,
-0.009604904800653458,
0.026730548590421677,
-0.04327971860766411,
0.062329892069101334,
-0.04657891020178795,
-0.07527833431959152,
-0.009516216814517975,
0.02882358431816101,
0.03520911559462547,
-0.037461791187524796,
0.004917746875435114,
0.04022885486483574,
0.027209462597966194,
-0.003354621585458517,
-0.03620241954922676,
-0.026677334681153297,
0.03941292315721512,
-0.045727506279945374,
-0.013604731298983097,
0.009587167762219906,
-0.024069909006357193,
-0.029728200286626816,
-0.007205896079540253,
0.00902843289077282,
-0.05126163363456726,
-0.004161681979894638,
0.003611816791817546,
-0.023449093103408813,
0.060627080500125885,
-0.0047492398880422115,
-0.015014870092272758,
0.04725293815135956,
-0.05810834467411041,
0.004374532960355282,
-0.04523085430264473,
-0.01286862138658762,
-0.008957482874393463,
0.012203461490571499,
-0.04760769009590149,
-0.014935051091015339,
0.0032792368438094854,
0.011414138600230217,
0.051084257662296295,
-0.013968352228403091,
0.03795844316482544,
-0.020132163539528847,
-0.036025043576955795,
0.027369100600481033,
-0.017781933769583702,
0.0641745999455452,
0.01779080182313919,
-0.002285931957885623,
-0.0017659987788647413,
-0.02041596546769142,
-0.01428762823343277,
0.028557520359754562,
0.0298168882727623,
0.03845509514212608,
0.01908564753830433,
0.06399722397327423,
-0.014935051091015339,
-0.03393200784921646,
0.0630393922328949,
0.06204608827829361,
-0.05161638557910919,
0.03707156330347061,
-0.0031949833501130342,
0.009640379808843136,
0.012442919425666332,
0.026074256747961044,
-0.047678641974925995,
0.05349656939506531,
-0.005627250298857689,
-0.07896775007247925,
-0.005418833810836077,
0.041186682879924774,
0.01773758977651596,
-0.01919207163155079,
0.08535328507423401,
-0.0076094260439276695,
-0.01671767793595791,
-0.01841161772608757,
0.00041045891703106463,
-0.013932877220213413,
-0.05573150888085365,
-0.030810194090008736,
-0.047359365969896317,
0.011955135501921177,
0.002955525880679488,
-0.040157902985811234,
0.043137818574905396,
0.03517363965511322,
0.018695419654250145,
-0.05637006089091301,
-0.029462136328220367,
0.011635858565568924,
-0.0015032606897875667,
-0.008527345955371857,
-0.058250244706869125,
0.0031794628594070673,
-0.019209809601306915,
-0.02022085152566433,
0.019511349499225616,
-0.0066604651510715485,
-0.012345362454652786,
0.04310234263539314,
-0.02465524896979332,
-0.019209809601306915,
0.007520738057792187,
-0.028043130412697792,
0.014580299146473408,
0.061443012207746506,
0.025595342740416527,
-0.04707556217908859,
0.02501000091433525,
0.04342161864042282,
0.035351015627384186,
-0.07169533520936966,
-0.0796063020825386,
-0.012212330475449562,
0.0027670639101415873,
-0.06775759160518646,
0.060981832444667816,
0.02485036291182041,
-0.01542283408343792,
-0.013400749303400517,
0.021160945296287537,
-0.08584993332624435,
-0.026074256747961044,
-0.04991357773542404,
0.05420607328414917,
0.0006346731097437441,
-0.0014821973163634539,
0.004664985928684473,
0.007028520107269287,
0.01577758602797985,
-0.012611426413059235,
0.0089486138895154,
0.052893493324518204,
0.07534927874803543,
-0.005986436735838652,
-0.032317887991666794,
0.008416485972702503,
-0.020806193351745605,
-0.004935484379529953,
-0.02098356932401657,
0.016779759898781776,
0.013604731298983097,
-0.049275025725364685,
-0.04707556217908859,
-0.03574124351143837,
-0.012442919425666332,
0.02825598046183586,
0.03682323545217514,
-0.03089888207614422,
0.0033147120848298073,
-0.004234849475324154,
-0.024885838851332664,
0.002889009891077876,
0.029586300253868103,
-0.02336040511727333,
-0.017444919794797897,
-0.009365447796881199,
-0.0057070693001151085,
-0.04895574972033501,
0.018340667709708214,
-0.03547517955303192,
-0.007507435046136379,
0.04625963419675827,
0.05260969325900078,
0.010021738708019257,
0.004629510920494795,
-0.051332585513591766,
-0.05431250110268593,
-0.024921312928199768,
0.037532739341259,
-0.018553519621491432,
0.044734202325344086,
0.008478567935526371,
0.002097469987347722,
0.06030780449509621,
0.02032727748155594,
0.011201287619769573,
-0.03316929191350937,
-0.02914286032319069,
-0.031129470095038414,
-0.0196000374853611,
-0.03057960420846939,
-0.017835145816206932,
0.06907017529010773,
0.024779412895441055,
-0.004511999431997538,
-0.028734896332025528,
-0.04083193093538284,
0.005764716770499945,
-0.02438918687403202,
-0.09003600478172302,
-0.03347083181142807,
-0.007236936595290899,
-0.01181323453783989,
-0.01707242988049984,
0.018163291737437248,
-0.010465177707374096,
-0.01608799397945404,
-0.012292149476706982,
0.015201114118099213,
-0.026588646695017815,
-0.014296497218310833,
0.008859925903379917,
0.05122615769505501,
-0.05821476876735687,
-0.03678775951266289,
0.03166159614920616,
-0.09273211658000946,
-0.045762982219457626,
-0.006558473687618971,
-0.022136511281132698,
0.04306686669588089,
0.05594435706734657,
0.06545170396566391,
-0.006558473687618971,
-0.04079645499587059,
-0.014243284240365028,
0.04430849850177765,
-0.004106251988559961,
-0.014367448166012764,
0.024939050897955894,
-0.01922754757106304,
0.042783066630363464,
0.0036583777982741594,
0.019582299515604973,
0.0181987676769495,
-0.03254847601056099,
-0.0077823675237596035,
-0.02568403072655201,
-0.03263716399669647,
-0.0332225039601326,
0.02965725027024746,
-0.0013491654535755515,
-0.01459803618490696,
-0.027723852545022964,
-0.04707556217908859,
0.020912619307637215,
0.002407877705991268,
-0.04090288281440735,
-0.0025519956834614277,
-0.0038911837618798018,
-0.015715504065155983,
0.010057213716208935,
0.05534128099679947,
-0.01954682357609272,
0.07183723896741867,
-0.037319887429475784,
0.05172281339764595,
0.028752632439136505,
-0.011680202558636665,
0.002445570193231106,
-0.0014544823206961155,
-0.015963830053806305,
0.017320755869150162,
0.037000611424446106,
-0.09954335540533066,
0.018642207607626915,
-0.00602191174402833,
0.017985915765166283,
-0.03151969611644745,
-0.016628989949822426,
0.06733188778162003,
0.05353204533457756,
0.033293455839157104,
0.0309875700622797,
0.020486915484070778,
0.04533727839589119,
-0.05555413290858269,
0.0057070693001151085,
-0.0007255782838910818,
0.02822050452232361,
0.00007739409193163738,
-0.04856552183628082,
0.0160436499863863,
-0.00783558003604412,
-0.025347016751766205,
-0.07400122284889221,
0.004979828372597694,
0.01754247583448887,
0.018136685714125633,
0.028397880494594574,
0.05101330950856209,
0.03409164771437645,
0.036397535353899,
0.011857578530907631,
0.03742631524801254,
-0.0426056906580925,
-0.04125763475894928,
0.00027576409047469497,
0.007152683101594448,
-0.022136511281132698,
-0.03382558375597,
-0.04253473877906799,
-0.02187044732272625,
-0.016522563993930817,
-0.020380491390824318,
-0.07676828652620316,
-0.03575897961854935,
0.03588314354419708,
0.024069909006357193,
0.0010736784897744656,
0.012522738426923752,
0.010066081769764423,
0.07123415917158127,
0.04413112252950668,
0.031431008130311966,
0.04239283874630928,
0.010367621667683125,
0.02254447713494301,
0.010154769755899906,
0.0749945268034935,
-0.018074603751301765,
0.010305539704859257,
0.05406417325139046,
-0.02160438522696495,
-0.029320236295461655,
0.0340561717748642,
-0.05998852849006653,
0.004090731497853994,
-0.011201287619769573,
-0.006221459712833166,
0.04569203034043312,
-0.07577498257160187,
-0.02149795927107334,
-0.031697072088718414,
0.019422661513090134,
0.0026916791684925556,
0.009365447796881199,
-0.012380837462842464,
0.04792696610093117,
-0.007423181552439928,
-0.033967483788728714,
-0.05193566158413887,
-0.042889490723609924,
-0.02419407293200493,
-0.017444919794797897,
-0.008438657969236374,
0.041896186769008636,
0.05424154922366142
] |
21,605 | delorean.dates | move_datetime_namedday | null | def move_datetime_namedday(dt, direction, unit):
TOTAL_DAYS = 7
days = {
'monday': 1,
'tuesday': 2,
'wednesday': 3,
'thursday': 4,
'friday': 5,
'saturday': 6,
'sunday': 7,
}
current_day = days[dt.strftime('%A').lower()]
target_day = days[unit.lower()]
if direction == 'next':
if current_day < target_day:
delta_days = target_day - current_day
else:
delta_days = (target_day - current_day) + TOTAL_DAYS
elif direction == 'last':
if current_day <= target_day:
delta_days = (current_day - target_day) + TOTAL_DAYS
else:
delta_days = current_day - target_day
delta = relativedelta(days=+delta_days)
return _move_datetime(dt, direction, delta)
| (dt, direction, unit) | [
-0.013931585475802422,
0.06629833579063416,
-0.044521514326334,
-0.04534047096967697,
-0.0792899876832962,
-0.0339122898876667,
-0.03294442966580391,
0.08070454746484756,
0.012749680317938328,
-0.06752677261829376,
-0.014424821361899376,
-0.021013706922531128,
0.07780097424983978,
0.005974668078124523,
0.04381423071026802,
0.0917232483625412,
0.04645723104476929,
0.03372616320848465,
-0.040463950484991074,
0.0007968550198711455,
0.05728980526328087,
0.000771844235714525,
0.012461184523999691,
-0.03800707682967186,
-0.011372342705726624,
0.047797344624996185,
-0.038379330188035965,
0.016006898134946823,
-0.02285636216402054,
-0.0335400365293026,
0.0062305922619998455,
0.022819137200713158,
0.009520381689071655,
-0.03716950863599777,
0.014704011380672455,
0.035829395055770874,
-0.01346626877784729,
-0.03253495320677757,
0.0024847916793078184,
0.02250272035598755,
0.03380061313509941,
0.009483156725764275,
0.00885032583028078,
0.032646626234054565,
0.01935718022286892,
0.008682811632752419,
-0.030320042744278908,
-0.01817527413368225,
0.012005173601210117,
0.04400035738945007,
0.009725121781229973,
-0.0049881963059306145,
0.022949425503611565,
-0.023656707257032394,
0.01126997359097004,
-0.016909612342715263,
-0.010730206035077572,
-0.018696429207921028,
0.007389231119304895,
0.006556313950568438,
0.020995095372200012,
-0.0010399831226095557,
0.06681949645280838,
0.04091065376996994,
-0.023693932220339775,
-0.020287813618779182,
0.03491737321019173,
-0.060007255524396896,
-0.01187488529831171,
-0.011819046922028065,
-0.011763208545744419,
0.02700698748230934,
0.013708232901990414,
-0.044521514326334,
-0.010330033488571644,
0.046233877539634705,
-0.02948247268795967,
-0.058555468916893005,
0.005057993810623884,
0.009138822555541992,
-0.042064640671014786,
0.006714521441608667,
-0.03528962656855583,
-0.020604228600859642,
-0.04370255395770073,
0.06529325246810913,
0.020399488508701324,
-0.011651532724499702,
-0.04143181070685387,
-0.02795623429119587,
-0.004301853943616152,
-0.05580079182982445,
0.01935718022286892,
-0.01895700767636299,
0.022167693823575974,
0.0301897544413805,
-0.006500476039946079,
-0.03279552981257439,
-0.07065370678901672,
0.02481069229543209,
0.028831029310822487,
-0.04225076735019684,
0.024159248918294907,
-0.005234814248979092,
0.01856614090502262,
-0.04433538764715195,
-0.026411382481455803,
-0.05096149817109108,
-0.0453776940703392,
-0.040463950484991074,
-0.007012324407696724,
-0.05308334156870842,
0.0027476956602185965,
-0.01233089528977871,
0.052003808319568634,
-0.01621163822710514,
0.07039313018321991,
-0.011074540205299854,
-0.03930996358394623,
-0.03646222501993179,
0.023973122239112854,
-0.016658341512084007,
-0.0332980714738369,
-0.039086613804101944,
0.02654167078435421,
-0.03352142125368118,
0.041208457201719284,
0.010143906809389591,
0.019524693489074707,
0.02523878403007984,
0.000048385678383056074,
0.007915038615465164,
-0.02979888953268528,
0.00967859011143446,
0.043367527425289154,
0.05233883485198021,
0.011763208545744419,
0.059821128845214844,
-0.03387506306171417,
0.030375881120562553,
0.01806359924376011,
-0.025276008993387222,
-0.01609065569937229,
0.028328487649559975,
0.05721535533666611,
-0.006211979314684868,
-0.05524241179227829,
0.055540215224027634,
-0.03648083657026291,
0.007877813652157784,
-0.029240507632493973,
-0.007258942350745201,
0.007012324407696724,
0.04392590746283531,
0.018789492547512054,
-0.011539856903254986,
-0.006807584781199694,
0.009352867491543293,
-0.05516796186566353,
0.03327945992350578,
-0.0066354176960885525,
-0.03400535136461258,
-0.07824767380952835,
0.031045937910676003,
0.0053557963110506535,
-0.02540629729628563,
0.008706077933311462,
0.04020337387919426,
0.027509529143571854,
0.04314417392015457,
0.01116760354489088,
0.03681586682796478,
0.0705048069357872,
0.025853002443909645,
-0.028291262686252594,
-0.05959777906537056,
0.05017976462841034,
-0.0037574332673102617,
0.04716451093554497,
-0.07936443388462067,
0.027100050821900368,
0.049211904406547546,
-0.021404573693871498,
-0.06607498973608017,
-0.024047572165727615,
0.008794487453997135,
-0.07616305351257324,
0.05691755190491676,
0.009106249548494816,
0.0005845542182214558,
-0.024401213973760605,
0.01046032179147005,
0.05036589130759239,
0.02010168693959713,
-0.009017840027809143,
0.009883329272270203,
0.003815597854554653,
0.061347369104623795,
0.056396398693323135,
-0.020157523453235626,
-0.0018775532953441143,
0.0758652538061142,
0.05874159559607506,
-0.003287463216111064,
0.03458234667778015,
-0.0064306785352528095,
-0.0209206435829401,
-0.019915560260415077,
-0.05810876190662384,
-0.04999363794922829,
0.045638274401426315,
0.009120209142565727,
-0.05081259459257126,
-0.01946885511279106,
-0.03612719848752022,
0.0023230942897498608,
-0.011251360177993774,
0.0032130125910043716,
0.010395177640020847,
-0.03566187992691994,
-0.05017976462841034,
0.05099872127175331,
0.007821975275874138,
-0.10296530276536942,
0.08472488820552826,
-0.0836825743317604,
-0.00010993109754053876,
-0.04329307749867439,
-0.0029128831811249256,
-0.03246049955487251,
-0.015653258189558983,
-0.09738150238990784,
0.003950539510697126,
-0.03662974014878273,
0.09991282224655151,
-0.05256218835711479,
-0.02897993102669716,
-0.08993643522262573,
0.022279368713498116,
0.02041810192167759,
-0.02013891190290451,
-0.011698064394295216,
-0.038379330188035965,
-0.003089703619480133,
0.018286950886249542,
-0.018007760867476463,
0.001915941946208477,
-0.008138391189277172,
-0.017728570848703384,
-0.015932448208332062,
-0.0004888734547421336,
-0.024122023954987526,
-0.012684536166489124,
-0.019152440130710602,
-0.012163381092250347,
-0.015997592359781265,
-0.01061852928251028,
-0.0008288455428555608,
0.021032320335507393,
0.028421550989151,
-0.018044985830783844,
0.004941664636135101,
-0.028924092650413513,
-0.013168465346097946,
-0.05792263522744179,
0.015653258189558983,
-0.02728617750108242,
-0.03054339624941349,
-0.015932448208332062,
-0.014145631343126297,
0.0625758022069931,
-0.019654981791973114,
-0.02481069229543209,
0.0179891474545002,
0.024792078882455826,
0.051370974630117416,
-0.007258942350745201,
-0.0035271013621240854,
-0.055726341903209686,
-0.0652560293674469,
0.002601121086627245,
-0.022242143750190735,
0.007347352337092161,
0.04169238731265068,
-0.05475848168134689,
0.004143645986914635,
-0.0017402848461642861,
0.0376906618475914,
0.03246049955487251,
0.024605952203273773,
0.028886867687106133,
-0.020473940297961235,
0.018705734983086586,
-0.04675503447651863,
-0.057103678584098816,
0.034694019705057144,
-0.06626111268997192,
-0.019841108471155167,
0.013717539608478546,
-0.016323313117027283,
-0.041208457201719284,
0.054125651717185974,
-0.008063940331339836,
0.02466179057955742,
-0.10073178261518478,
-0.019896946847438812,
0.038528233766555786,
0.0033502811565995216,
-0.06815961003303528,
-0.09455237537622452,
-0.00885497871786356,
-0.019506080076098442,
0.030803972855210304,
-0.04035227373242378,
0.00429022079333663,
-0.02214908041059971,
-0.004695046693086624,
0.019226890057325363,
0.024363989010453224,
0.04321862384676933,
-0.0431814007461071,
0.02417786233127117,
-0.07571635395288467,
-0.047015611082315445,
0.025983290746808052,
0.01042309682816267,
-0.0031501948833465576,
0.05587524175643921,
0.041915737092494965,
0.027062825858592987,
0.042623020708560944,
-0.029575536027550697,
0.00279190088622272,
0.002708143787458539,
0.006984405219554901,
-0.03359587490558624,
0.0045507983304560184,
0.04329307749867439,
0.022056017071008682,
0.004148299340158701,
0.034842923283576965,
0.04831849783658981,
-0.03718812018632889,
-0.046345554292201996,
0.07065370678901672,
-0.009324949234724045,
-0.01435037050396204,
0.04295804724097252,
0.09403122216463089,
0.03333529457449913,
0.016714179888367653,
0.02190711535513401,
-0.040538400411605835,
-0.05178045481443405,
-0.002348686568439007,
0.013596557080745697,
0.04522879421710968,
-0.007761484477669001,
0.011651532724499702,
-0.026411382481455803,
-0.014824993908405304,
0.007226370275020599,
-0.006714521441608667,
0.029389409348368645,
0.002363809384405613,
-0.054944608360528946,
-0.003261870937421918,
0.015048345550894737,
0.026243867352604866,
0.03540130332112312,
-0.03004085272550583,
0.02194434031844139,
0.07311058044433594,
0.029203282669186592,
0.013270835392177105,
0.022633010521531105,
0.07683311402797699,
0.023098327219486237,
-0.01293580699712038,
0.020827580243349075,
0.014452740550041199,
0.023507805541157722,
0.019264116883277893,
0.10639003664255142,
0.07359451055526733,
-0.050663694739341736,
0.10460321605205536,
0.026951149106025696,
-0.029538311064243317,
-0.04072452709078789,
-0.01907799020409584,
-0.025387685745954514,
0.030171142891049385,
0.06737787276506424,
0.04396313056349754,
-0.0819702073931694,
-0.057848185300827026,
-0.002132314257323742,
-0.06592608243227005,
0.016193024814128876,
0.0368344783782959,
0.013568637892603874,
-0.054162878543138504,
0.03380061313509941,
0.03011530451476574,
0.046271104365587234,
-0.04135735705494881,
0.013094015419483185,
-0.0798855870962143,
0.052822764962911606,
-0.010860494337975979,
-0.001925248303450644,
-0.006342268083244562,
-0.021181222051382065,
0.007915038615465164,
0.025592423975467682,
-0.04761121794581413,
-0.010506853461265564,
0.025741325691342354,
-0.023191390559077263,
-0.024940980598330498,
-0.06019338220357895,
0.016891000792384148,
0.01751452498137951,
0.033316683024168015,
0.03482431173324585,
0.0674523264169693,
0.004867213778197765,
-0.028012072667479515,
-0.00812908448278904,
0.05021699145436287,
0.021367348730564117,
-0.019133826717734337,
-0.007142613176256418,
0.06603775918483734,
0.03960776701569557,
0.00844084657728672,
-0.024215087294578552,
-0.03789540007710457,
0.018984925001859665,
-0.03733702003955841,
-0.027751494199037552,
-0.008431540802121162,
0.006747093982994556,
-0.060677312314510345,
-0.014564416371285915,
0.04031504690647125,
-0.07713091373443604,
-0.00746833486482501,
0.0035550205502659082,
0.019226890057325363,
-0.001377337728627026,
0.01452719047665596,
-0.029333570972085,
0.042623020708560944,
-0.0414690338075161,
0.003941233269870281,
-0.026746410876512527,
-0.017021289095282555,
-0.006640071049332619,
0.04649445414543152,
-0.007845241576433182,
0.024587340652942657,
0.050589244812726974,
-0.0010836065048351884,
0.009613445028662682,
-0.0020985787268728018,
-0.009939166717231274,
-0.004164585378021002,
-0.019338566809892654,
0.03318639472126961,
0.013922278769314289,
0.026690572500228882,
0.06376701593399048,
-0.026169417425990105,
-0.03355864807963371,
-0.035866618156433105,
0.0275653675198555,
0.01450857799500227,
-0.013429042883217335,
0.061980199068784714,
-0.006384146865457296,
0.05252496153116226,
-0.014787768013775349,
-0.013512800447642803,
0.031474027782678604,
0.028831029310822487,
0.010962864384055138,
0.040650077164173126,
0.016239557415246964,
0.024717628955841064,
0.0021392940543591976,
0.01525308471173048,
-0.02304248884320259,
0.030096691101789474,
-0.04087342694401741,
-0.04656890779733658,
-0.04102233052253723,
0.009743734262883663,
-0.014164243824779987,
-0.00690064812079072,
0.00476949755102396,
0.04236244410276413,
-0.00746833486482501,
0.014220082201063633,
0.02870074100792408,
0.007561398204416037,
0.016276782378554344,
-0.003368893638253212,
-0.02795623429119587,
0.04589885100722313,
0.030692296102643013,
-0.018165968358516693,
-0.003080397378653288,
0.0008753772708587348,
-0.02339612878859043,
0.008250067010521889,
0.02622525580227375,
0.017849553376436234,
0.013298754580318928,
-0.02363809384405613,
-0.03603413328528404,
-0.021292896941304207,
0.03482431173324585,
-0.005425593815743923,
0.04083620384335518,
-0.0034549774136394262,
-0.005890910979360342,
0.02575993910431862,
-0.005253426730632782,
-0.008975961245596409,
0.016891000792384148,
0.02445705235004425,
-0.01435037050396204,
0.05695477873086929,
0.01054407935589552,
-0.05580079182982445,
0.010981476865708828,
-0.02516433410346508,
0.018240418285131454,
-0.01303817704319954,
-0.03772788867354393,
-0.024122023954987526,
0.014285226352512836,
-0.03422870486974716,
0.04228799045085907,
0.016546666622161865,
-0.0009469197248108685,
0.011791127733886242,
0.025108495727181435,
-0.09358451515436172,
-0.018091518431901932,
-0.05673142522573471,
0.036369163542985916,
-0.039049386978149414,
-0.015085571445524693,
0.010274195112287998,
0.045489370822906494,
0.005337183829396963,
0.041282907128334045,
-0.0350104384124279,
0.03860268369317055,
0.05386507511138916,
-0.006281776819378138,
0.018910475075244904,
0.015141408890485764,
-0.011819046922028065,
-0.04507989436388016,
0.0030873769428581,
0.03765343502163887,
-0.025666875764727592,
-0.005230160895735025,
0.006765706464648247,
-0.024215087294578552,
-0.009045759215950966,
0.029612760990858078,
0.03318639472126961,
-0.009576220065355301,
0.00916674081236124,
-0.03046894446015358,
-0.037392858415842056,
0.02590884082019329,
-0.008515297435224056,
-0.016323313117027283,
-0.027453692629933357,
-0.06443706899881363,
0.03195795789361,
-0.011660839430987835,
-0.05460958182811737,
-0.022837748751044273,
-0.042809147387742996,
0.007984836585819721,
0.01778440922498703,
0.022874973714351654,
0.02151624858379364,
-0.07958778738975525,
-0.028570452705025673,
-0.021646538749337196,
0.024605952203273773,
0.016323313117027283,
0.027025600895285606,
-0.022484108805656433,
0.03149264305830002,
0.06655891984701157,
0.008613014593720436,
0.045526597648859024,
-0.01640707068145275,
-0.08144905418157578,
-0.0991683155298233,
-0.039012160152196884,
0.01537406723946333,
-0.0077521782368421555,
0.06235245242714882,
0.06506990641355515,
-0.019971396774053574,
-0.06596331298351288,
-0.005327877588570118,
0.011400261893868446,
-0.033428359776735306,
-0.03277691453695297,
-0.032925818115472794,
-0.026913924142718315,
-0.02300526387989521,
0.0015041365986689925,
-0.021572086960077286,
-0.04604775086045265,
0.017328398302197456,
-0.007761484477669001,
0.005616373848170042,
-0.023023875430226326,
-0.019031457602977753,
0.03608997166156769,
0.010981476865708828,
-0.03376338630914688,
-0.0951479822397232,
0.034098416566848755,
-0.027751494199037552,
-0.037951238453388214,
0.000017085851141018793,
-0.07876882702112198,
0.04385145753622055,
0.0595233254134655,
0.025685487315058708,
0.03502904996275902,
-0.007365965284407139,
-0.02685808576643467,
0.03393090143799782,
-0.06897856295108795,
-0.051929354667663574,
-0.020753130316734314,
-0.014238694682717323,
0.04373978078365326,
-0.007863854058086872,
0.0070402431301772594,
0.05259941145777702,
-0.010795350186526775,
0.007319433614611626,
-0.009259804151952267,
-0.024438438937067986,
-0.030524782836437225,
0.03638777509331703,
-0.021032320335507393,
-0.040501173585653305,
-0.0006659846985712647,
-0.026057740673422813,
0.08740510791540146,
0.024215087294578552,
-0.0017670405795797706,
0.0004263465234544128,
-0.10192299634218216,
0.01142818108201027,
0.018854636698961258,
0.06395313888788223,
-0.04310695081949234,
0.05181768164038658,
-0.03121345117688179,
0.03711367025971413,
0.010255582630634308,
0.05163155496120453,
-0.03432176634669304,
-0.055502988398075104,
-0.005034727975726128,
0.019226890057325363,
0.038100142031908035,
-0.018994232639670372,
0.020939256995916367,
0.018594060093164444,
-0.029929177835583687,
0.020269200205802917,
-0.01042309682816267,
0.012228526175022125,
0.05081259459257126,
-0.020641453564167023,
0.04247411713004112,
0.025927452370524406,
-0.03778372332453728,
-0.01436898298561573,
-0.04243689402937889,
-0.025815777480602264,
-0.02721172757446766,
0.043479204177856445,
-0.019561918452382088,
0.04749954119324684,
-0.06812237948179245,
0.03960776701569557,
-0.05099872127175331,
0.02940802276134491,
0.036294709891080856,
0.05721535533666611,
0.06592608243227005,
0.04024059697985649,
0.006681949365884066,
-0.01974804513156414,
-0.013317367061972618,
0.023377517238259315,
-0.019896946847438812,
-0.0037620863877236843,
-0.018863944336771965,
-0.020622842013835907,
0.020250586792826653,
0.020120298489928246,
-0.012275057844817638,
0.026001904159784317,
-0.020660066977143288,
-0.07378063350915909,
-0.050589244812726974,
-0.011493325233459473,
0.0012412326177582145,
-0.05669420212507248,
0.045526597648859024,
-0.019934171810746193,
0.06674504280090332,
0.06101233884692192,
0.06901578605175018,
0.017021289095282555,
0.056284721940755844,
0.024754853919148445,
0.02968721278011799,
-0.002510384190827608,
0.06224077567458153,
-0.023563643917441368,
0.06149626895785332,
0.0401289202272892,
-0.0418412871658802,
-0.007956917397677898,
0.004715986084192991,
-0.030487557873129845,
-0.047797344624996185,
0.005472125485539436,
-0.02823542430996895,
0.039756666868925095,
-0.055540215224027634,
-0.03698338195681572,
-0.011055927723646164,
-0.007049549836665392,
-0.012181994505226612,
0.009222579188644886,
0.00018976200954057276,
0.024940980598330498,
0.015737013891339302,
-0.004078501835465431,
-0.03651806339621544,
0.024401213973760605,
0.03026420623064041,
-0.018975619226694107,
0.002891944022849202,
-0.004829988349229097,
0.05516796186566353
] |
21,606 | delorean.dates | move_datetime_second | null | def move_datetime_second(dt, direction, num_shifts):
delta = relativedelta(seconds=+num_shifts)
return _move_datetime(dt, direction, delta)
| (dt, direction, num_shifts) | [
0.020123828202486038,
0.0702652558684349,
-0.049344971776008606,
-0.004174765199422836,
-0.05469008907675743,
-0.037875983864068985,
-0.016601715236902237,
0.10902619361877441,
-0.03286714851856232,
0.010566337034106255,
-0.024601690471172333,
0.0027145929634571075,
0.023539746180176735,
0.018389320001006126,
0.062088292092084885,
0.038371555507183075,
0.03060167096555233,
0.017114989459514618,
-0.045982152223587036,
-0.011398193426430225,
0.10378727316856384,
-0.016035346314311028,
0.0255043413490057,
-0.031716711819171906,
-0.02263709530234337,
0.003794235410168767,
-0.05153965577483177,
0.006252191960811615,
-0.008982271887362003,
-0.028265394270420074,
0.03805297240614891,
0.0031880426686257124,
-0.035946786403656006,
-0.028424685820937157,
-0.0058539630845189095,
-0.0018628258258104324,
-0.026460090652108192,
0.02371673658490181,
-0.006345112342387438,
0.04307950660586357,
0.02801760844886303,
0.02256629802286625,
0.031433526426553726,
0.0011725625954568386,
0.017168086022138596,
0.0005890467436984181,
-0.005995555780827999,
0.002818574896082282,
-0.016061894595623016,
0.013769866898655891,
0.015973400324583054,
-0.029681319370865822,
-0.008938023820519447,
-0.027557432651519775,
0.04127420112490654,
0.015053048729896545,
0.01451322715729475,
0.00942474789917469,
0.012592879123985767,
-0.008610591292381287,
0.02716805413365364,
-0.002834061626344919,
0.019362768158316612,
0.07999973744153976,
-0.04134499654173851,
-0.039008721709251404,
0.02415921352803707,
-0.05971661955118179,
0.005353964865207672,
0.0392565093934536,
-0.02838928811252117,
0.035221125930547714,
0.019150380045175552,
-0.033575113862752914,
-0.017079589888453484,
0.04276092350482941,
-0.005752193741500378,
-0.05568123608827591,
0.04463702440261841,
0.04838922247290611,
-0.06661925464868546,
-0.01003536581993103,
-0.027468936517834663,
0.016504371538758278,
-0.06892012804746628,
0.0650971308350563,
0.05246000736951828,
-0.034583959728479385,
-0.07794664800167084,
-0.007243339437991381,
-0.008526520803570747,
-0.037238817662000656,
-0.018230028450489044,
-0.04573436453938484,
0.010681381449103355,
0.08495547622442245,
-0.03706182539463043,
-0.05295557901263237,
-0.11143326759338379,
0.0319644995033741,
0.027185752987861633,
-0.06591129302978516,
0.07086702436208725,
-0.00111946533434093,
0.025026466697454453,
-0.03396449238061905,
-0.030300786718726158,
0.003234502859413624,
-0.04534498602151871,
-0.04987594485282898,
0.021026480942964554,
0.016893750056624413,
-0.022814085707068443,
-0.01350438129156828,
0.005322991404682398,
-0.01225659716874361,
0.07815904170274734,
-0.02063710056245327,
0.022760987281799316,
0.02472558245062828,
0.01042474526911974,
-0.032495468854904175,
0.05415911599993706,
-0.011557484976947308,
-0.02743353880941868,
0.008194663561880589,
0.013451283797621727,
-0.00685838470235467,
0.024601690471172333,
0.019964536651968956,
-0.04063703492283821,
-0.018884893506765366,
0.010230055078864098,
0.03720341995358467,
0.005796441342681646,
0.008402627892792225,
-0.01755746454000473,
0.01934506930410862,
0.007469002157449722,
-0.002681407146155834,
-0.02141585946083069,
-0.00946014653891325,
0.007004402112215757,
0.028849463909864426,
0.022230016067624092,
0.02014152705669403,
-0.052424609661102295,
0.06244227662682533,
-0.021592849865555763,
0.062229886651039124,
-0.02407071739435196,
0.01371676940470934,
0.026778673753142357,
0.052707795053720474,
-0.027911413460969925,
0.01307960320264101,
0.012522082775831223,
0.006424757651984692,
-0.02529195323586464,
0.04693790152668953,
0.008044221438467503,
-0.07047764956951141,
-0.0361945740878582,
0.05274319276213646,
0.035433512181043625,
-0.02086718939244747,
-0.015079597011208534,
0.037168022245168686,
0.010433594696223736,
-0.005858388263732195,
0.04863701015710831,
0.033787500113248825,
0.08311477303504944,
-0.06414138525724411,
0.09033598750829697,
-0.044035255908966064,
0.011150406673550606,
-0.012486685067415237,
0.03915031626820564,
-0.10591115802526474,
0.028867162764072418,
0.006261041387915611,
-0.009468995966017246,
-0.010380497202277184,
-0.030902555212378502,
0.051433462649583817,
-0.03279635310173035,
0.04385826364159584,
0.009743331000208855,
0.007455728016793728,
0.03166361525654793,
0.062371477484703064,
0.023628242313861847,
0.006438032258301973,
-0.009292005561292171,
0.012575180269777775,
0.0017356137977913022,
0.0009878285927698016,
0.047185689210891724,
0.07483161240816116,
-0.04814143478870392,
0.02994680590927601,
0.02867247350513935,
-0.027345044538378716,
0.06403519213199615,
0.02107957750558853,
0.04541578143835068,
-0.020760994404554367,
-0.07964576035737991,
-0.026601683348417282,
-0.020672498270869255,
-0.01371676940470934,
0.03247777000069618,
-0.021681345999240875,
0.009504393674433231,
-0.040672432631254196,
-0.059504229575395584,
-0.06148652732372284,
0.0062344931066036224,
-0.05745114013552666,
0.0255043413490057,
0.026353897526860237,
-0.043327294290065765,
-0.030583972111344337,
0.046760909259319305,
-0.024247709661722183,
-0.052353810518980026,
-0.08927404880523682,
-0.046619318425655365,
-0.0003075211134273559,
-0.027681326493620872,
-0.058937862515449524,
0.011442440561950207,
-0.013353939168155193,
0.03734501078724861,
-0.06311483681201935,
-0.010044215247035027,
-0.09975188970565796,
0.022548599168658257,
0.008632714860141277,
-0.04534498602151871,
0.038300760090351105,
-0.03576979413628578,
0.011769873090088367,
0.003606182988733053,
-0.012601728551089764,
0.02623000368475914,
-0.055008672177791595,
0.016389327123761177,
0.06654845923185349,
0.03861934319138527,
0.02414151467382908,
-0.013318540528416634,
0.002887158654630184,
-0.04357507824897766,
0.02122117020189762,
-0.0300883986055851,
0.017168086022138596,
-0.03447776287794113,
0.029044153168797493,
-0.0495927594602108,
-0.05840688943862915,
-0.03038928098976612,
-0.08807051181793213,
-0.04530958831310272,
-0.006309714168310165,
-0.040743231773376465,
-0.004493348300457001,
-0.017468970268964767,
0.012141553685069084,
0.03727421537041664,
-0.024849476292729378,
-0.04612374305725098,
0.021876035258173943,
-0.006845110561698675,
0.045982152223587036,
0.007999974302947521,
-0.02293797768652439,
0.02428310737013817,
-0.049628157168626785,
0.036070678383111954,
-0.0058008660562336445,
-0.010442444123327732,
0.0062123690731823444,
-0.017353925853967667,
0.010053064674139023,
0.050406914204359055,
0.07277852296829224,
0.041521988809108734,
0.031787507236003876,
-0.0028362739831209183,
-0.0032499893568456173,
0.08134486526250839,
-0.02251320146024227,
-0.01615039072930813,
0.03481404483318329,
-0.043327294290065765,
-0.029044153168797493,
-0.013884910382330418,
0.008783156983554363,
-0.023752134293317795,
-0.006889358162879944,
-0.035999882966279984,
0.05653078854084015,
-0.002550876699388027,
-0.029291940852999687,
0.028495483100414276,
-0.01849551498889923,
-0.02716805413365364,
-0.012681374326348305,
-0.01734507642686367,
-0.011468988843262196,
-0.06453076004981995,
0.018584011122584343,
-0.03247777000069618,
0.01057518646121025,
-0.026336196810007095,
0.04987594485282898,
0.013929158449172974,
0.0547608844935894,
-0.029769815504550934,
-0.027468936517834663,
0.010645982809364796,
-0.01767250895500183,
0.004216800443828106,
-0.009194660000503063,
-0.022672493010759354,
-0.0062920148484408855,
0.015017650090157986,
0.06892012804746628,
-0.0036437935195863247,
-0.030336184427142143,
0.03153971955180168,
0.013495530933141708,
0.04414144903421402,
-0.017141537740826607,
-0.023327358067035675,
-0.02507956512272358,
0.06311483681201935,
-0.0030154769774526358,
0.034141480922698975,
0.015256587415933609,
0.021256567910313606,
-0.07801744341850281,
0.05341575667262077,
-0.003986712545156479,
-0.04456622526049614,
0.03474324941635132,
0.027645928785204887,
0.002327426103875041,
0.04743347316980362,
-0.026831770315766335,
-0.037875983864068985,
0.005274319089949131,
-0.058513082563877106,
0.08807051181793213,
0.029645921662449837,
-0.025982216000556946,
0.01669021137058735,
-0.10038905590772629,
-0.025610536336898804,
0.05401752516627312,
0.038654740899801254,
0.026406994089484215,
0.02895565889775753,
0.0032654760871082544,
-0.038017574697732925,
-0.031185738742351532,
0.010601735673844814,
0.01623888500034809,
-0.027256548404693604,
0.06477855145931244,
0.05833609402179718,
0.01619463786482811,
0.06470775604248047,
0.015238888561725616,
-0.0005450756871141493,
0.04155738651752472,
-0.02743353880941868,
-0.038017574697732925,
0.009805277921259403,
-0.02702646143734455,
0.007499975617974997,
0.09132713824510574,
0.057592734694480896,
-0.002539814682677388,
0.07723868638277054,
0.01842471957206726,
-0.004805294331163168,
-0.045982152223587036,
-0.04923877865076065,
-0.03438926860690117,
0.03010609745979309,
-0.008199088275432587,
0.02938043512403965,
-0.02277868613600731,
-0.02909724973142147,
0.03968128561973572,
0.0018041976727545261,
0.02263709530234337,
0.06962808966636658,
-0.004068570677191019,
-0.007154844235628843,
0.04307950660586357,
-0.01998223550617695,
0.016283132135868073,
-0.05483167991042137,
0.026991061866283417,
-0.08700856566429138,
0.020123828202486038,
-0.05653078854084015,
-0.03254856541752815,
0.017548615112900734,
-0.002898220671340823,
0.006433607544749975,
0.013672522269189358,
-0.06428297609090805,
0.019221177324652672,
-0.013123851269483566,
0.014477829448878765,
0.00302875111810863,
-0.08828289806842804,
0.00917696114629507,
-0.00970793329179287,
0.02437160164117813,
-0.010292001999914646,
0.03883173316717148,
0.01567251607775688,
-0.060955554246902466,
0.010946867056190968,
0.00010944378300337121,
0.052212219685316086,
-0.023203464224934578,
0.008836254477500916,
0.052353810518980026,
0.03421228006482124,
0.02407071739435196,
-0.0257344301789999,
0.00745130330324173,
0.04569896683096886,
-0.020973382517695427,
0.0070796231739223,
-0.014097299426794052,
-0.027645928785204887,
-0.020159225910902023,
-0.052495405077934265,
0.009150412864983082,
-0.016840653494000435,
0.023309659212827682,
-0.016601715236902237,
0.02515036053955555,
0.03617687523365021,
0.0177433043718338,
0.01325659453868866,
-0.014212342910468578,
-0.05999980494379997,
0.027858316898345947,
-0.021097276359796524,
-0.001158182043582201,
-0.016999945044517517,
-0.0034800772555172443,
-0.043539680540561676,
0.0011692439438775182,
0.014911456033587456,
-0.016486672684550285,
-0.003030963707715273,
-0.003657067660242319,
0.006145997904241085,
-0.033504314720630646,
-0.0061061750166118145,
0.010991115123033524,
0.0038893679156899452,
0.0354866087436676,
-0.004077420569956303,
0.00854421965777874,
-0.004172552842646837,
0.014106148853898048,
-0.018955690786242485,
0.025929119437932968,
0.007141569629311562,
0.025203457102179527,
-0.0477166585624218,
0.02401762083172798,
-0.014637120999395847,
0.02035391703248024,
0.00870793592184782,
0.004530958831310272,
-0.029433533549308777,
0.064389169216156,
-0.015389330685138702,
0.03534501791000366,
0.024619389325380325,
0.007066348567605019,
-0.042690128087997437,
0.018973389640450478,
-0.010442444123327732,
-0.08184044063091278,
-0.04622993990778923,
0.030513174831867218,
0.028548579663038254,
-0.019964536651968956,
0.06357501447200775,
0.04456622526049614,
-0.042690128087997437,
-0.008402627892792225,
0.01038934662938118,
-0.020513208582997322,
-0.02599991485476494,
-0.04587595537304878,
-0.03046007826924324,
0.03506183251738548,
0.0036946781910955906,
-0.027132654562592506,
0.033221129328012466,
0.02286718226969242,
-0.03382289782166481,
-0.018672505393624306,
0.0044114901684224606,
0.0300883986055851,
0.0010353948455303907,
-0.010681381449103355,
-0.055929020047187805,
0.002942468272522092,
0.030760962516069412,
0.02284948341548443,
-0.005340690724551678,
0.001518800389021635,
-0.01014155987650156,
0.05412371829152107,
-0.04757506772875786,
-0.015451277606189251,
-0.0005442459951154888,
-0.061875905841588974,
0.007867231033742428,
0.07702630013227463,
-0.012053058482706547,
-0.04467242211103439,
0.024991068989038467,
0.007123870775103569,
-0.022371608763933182,
-0.01200881041586399,
-0.06460156291723251,
0.0004897661274299026,
0.03961049020290375,
-0.049840547144412994,
0.04063703492283821,
-0.032778654247522354,
0.0058008660562336445,
-0.03161051496863365,
0.01085837185382843,
-0.07561037689447403,
-0.0060088299214839935,
-0.025752129033207893,
0.033504314720630646,
-0.04056623950600624,
0.013805264607071877,
-0.005154850427061319,
-0.005473433528095484,
-0.0015564109198749065,
0.03426537662744522,
0.031044146046042442,
0.030778661370277405,
0.060813963413238525,
-0.03463705629110336,
-0.016345079988241196,
-0.022530900314450264,
0.022017627954483032,
0.021681345999240875,
-0.09012360125780106,
0.025822924450039864,
-0.00907076708972454,
0.03968128561973572,
-0.053274162113666534,
-0.006508828606456518,
-0.008053070865571499,
0.01565481722354889,
0.05196443200111389,
-0.005243345629423857,
0.03074326366186142,
-0.01561941858381033,
-0.017734454944729805,
0.037875983864068985,
0.03362821042537689,
0.019256575033068657,
-0.0033473342191427946,
-0.039008721709251404,
0.011761023662984371,
-0.06233607977628708,
-0.01676100678741932,
-0.006676969584077597,
0.021451257169246674,
0.01365482248365879,
0.004294233862310648,
-0.0017145961755886674,
0.022902579978108406,
-0.04555737227201462,
-0.029044153168797493,
0.023345056921243668,
0.02688486874103546,
0.03201759606599808,
-0.004853966645896435,
-0.03561050444841385,
0.04283171892166138,
0.049982137978076935,
0.025557439774274826,
0.012637127190828323,
0.014123847708106041,
-0.055008672177791595,
-0.05791131779551506,
-0.009681384079158306,
0.028849463909864426,
0.014495528303086758,
0.05412371829152107,
0.0587608702480793,
0.013805264607071877,
0.012805268168449402,
-0.06233607977628708,
-0.0163362305611372,
-0.02493797242641449,
-0.09146872907876968,
-0.04693790152668953,
0.05065470188856125,
0.0005149319767951965,
0.003099547466263175,
-0.005548654589802027,
-0.009946870617568493,
-0.005203522741794586,
-0.006026529241353273,
0.022601695731282234,
-0.057238753885030746,
-0.003882730845361948,
0.017176935449242592,
0.07235375046730042,
-0.04084942489862442,
-0.06329183280467987,
0.021026480942964554,
-0.06881393492221832,
-0.017327377572655678,
-0.01812383532524109,
0.020407013595104218,
0.06031838804483414,
0.05999980494379997,
0.009867224842309952,
0.04240694269537926,
-0.07398205995559692,
-0.051787443459033966,
0.04495560750365257,
-0.00595130817964673,
-0.049698952585458755,
0.02952202782034874,
-0.03426537662744522,
0.07589355856180191,
-0.017999941483139992,
-0.003986712545156479,
-0.012778719887137413,
-0.07617674022912979,
0.0033583962358534336,
-0.06807057559490204,
-0.0014535350492224097,
0.00047234358498826623,
0.08722095191478729,
0.02430080622434616,
0.012389340437948704,
0.015291986055672169,
-0.07745107263326645,
0.0062123690731823444,
0.019238876178860664,
-0.009309704415500164,
0.04127420112490654,
-0.026353897526860237,
-0.0019258786924183369,
-0.028637075796723366,
-0.0006471218075603247,
-0.00909731537103653,
0.05380513519048691,
-0.049840547144412994,
0.02028311975300312,
0.0020387102849781513,
-0.003318573348224163,
0.011150406673550606,
-0.014460129663348198,
0.01024775393307209,
0.01168137788772583,
0.010628283955156803,
-0.07822983711957932,
0.004743347410112619,
0.06520333141088486,
-0.00029590612393803895,
-0.04587595537304878,
-0.040389250963926315,
0.0712210088968277,
0.024849476292729378,
-0.043398089706897736,
0.013893759809434414,
0.007858381606638432,
-0.021663647145032883,
-0.008703511208295822,
-0.02444239892065525,
0.009327403269708157,
0.028247695416212082,
-0.029150348156690598,
-0.01734507642686367,
0.04637153074145317,
-0.03447776287794113,
-0.0026437966153025627,
-0.04244234040379524,
0.04831842705607414,
-0.015053048729896545,
0.07900859415531158,
0.005818565376102924,
0.0106371333822608,
0.0033893694635480642,
0.0283184926956892,
0.03421228006482124,
-0.01591145247220993,
-0.03985827788710594,
-0.037522003054618835,
-0.013433584943413734,
-0.004646002780646086,
0.00821678712964058,
-0.02909724973142147,
-0.022442404180765152,
-0.005871662404388189,
0.012309694662690163,
-0.05840688943862915,
-0.04651312157511711,
-0.005115027539432049,
0.04952196404337883,
0.027610529214143753,
0.007119446061551571,
-0.006123873870819807,
-0.037309613078832626,
0.050052933394908905,
0.028424685820937157,
0.03375210240483284,
0.043964460492134094,
0.00703980028629303,
0.01927427388727665,
0.03624767065048218,
0.05819449946284294,
-0.009734481573104858,
0.043681275099515915,
0.00942474789917469,
-0.0326724611222744,
-0.07730948179960251,
0.040884822607040405,
-0.03741580620408058,
-0.013415885157883167,
0.00508847925812006,
-0.022336211055517197,
0.04449542984366417,
-0.08948643505573273,
-0.03355741128325462,
-0.044247642159461975,
0.009530942887067795,
0.013601725921034813,
-0.053061775863170624,
-0.012141553685069084,
0.00702210096642375,
0.013345089741051197,
0.0364246591925621,
-0.006946879904717207,
0.03741580620408058,
-0.013088452629745007,
-0.021734442561864853,
0.022176919505000114,
0.012628277763724327,
0.05638919770717621
] |
21,607 | delorean.dates | move_datetime_week |
Move datetime 1 week in the chosen direction.
unit is a no-op, to keep the API the same as the day case
| def move_datetime_week(dt, direction, num_shifts):
"""
Move datetime 1 week in the chosen direction.
unit is a no-op, to keep the API the same as the day case
"""
delta = relativedelta(weeks=+num_shifts)
return _move_datetime(dt, direction, delta)
| (dt, direction, num_shifts) | [
-0.01416424848139286,
0.04691633582115173,
-0.049263905733823776,
0.002844675211235881,
-0.06569688767194748,
-0.05543065071105957,
-0.028748957440257072,
0.07224905490875244,
-0.027872998267412186,
0.03805163502693176,
-0.0012788993772119284,
-0.00019544822862371802,
0.0632091611623764,
0.0051155975088477135,
0.024964816868305206,
0.038261864334344864,
-0.003950572572648525,
0.04141531512141228,
-0.0038870656862854958,
-0.005527297966182232,
0.10686693340539932,
-0.040188975632190704,
0.03549383580684662,
0.024071339517831802,
-0.009959647431969643,
0.003924293909221888,
-0.05423934757709503,
0.031744733452796936,
-0.040784627199172974,
-0.03311122953891754,
-0.0020190842915326357,
0.026839368045330048,
0.02021712064743042,
-0.06930583715438843,
0.016196472570300102,
0.010931961238384247,
-0.028030671179294586,
0.002301580971106887,
-0.02871391922235489,
-0.02393118478357792,
0.026751771569252014,
0.057287681847810745,
0.02559550665318966,
-0.016196472570300102,
0.007563901133835316,
0.005194433499127626,
0.017300179228186607,
0.02268732339143753,
-0.009460351429879665,
0.03456532210111618,
0.002649774309247732,
0.01832505129277706,
0.02822338230907917,
-0.04933398216962814,
-0.02000689134001732,
-0.004730175714939833,
-0.013691230677068233,
-0.034863147884607315,
0.005448461510241032,
-0.05490507557988167,
-0.008816521614789963,
0.033847033977508545,
0.07231912761926651,
0.03305867314338684,
0.01282403152436018,
-0.01725638099014759,
0.016643211245536804,
-0.043202269822359085,
0.011921795085072517,
0.029169416055083275,
-0.03069358505308628,
0.0398736298084259,
0.0006531365215778351,
-0.05364369601011276,
-0.0461454913020134,
0.08388178050518036,
-0.009731898084282875,
-0.05564088001847267,
0.015565781854093075,
0.02775036357343197,
-0.017396535724401474,
0.022669805213809013,
-0.038612250238657,
0.014286882244050503,
-0.040889739990234375,
0.05641172453761101,
0.016468018293380737,
-0.014689823612570763,
-0.012307216413319111,
-0.037876445800065994,
0.0049710641615092754,
-0.014926332049071789,
0.0006991243571974337,
-0.06797437369823456,
0.025980928912758827,
0.06023090332746506,
-0.006477712653577328,
-0.030308162793517113,
-0.10546539723873138,
0.011273585259914398,
-0.004852809943258762,
-0.08241017162799835,
0.004285626579076052,
0.0004021196800749749,
-0.01585484854876995,
-0.05763806775212288,
-0.01603003963828087,
-0.035949334502220154,
-0.08009764552116394,
-0.020357275381684303,
0.0158022902905941,
-0.046425797045230865,
-0.024158934131264687,
-0.009074930101633072,
0.06464573740959167,
-0.005312688183039427,
0.02289755456149578,
-0.0193586815148592,
0.03990866616368294,
0.01448835339397192,
0.03629972040653229,
-0.004870329052209854,
0.037385907024145126,
-0.0059302388690412045,
0.007879246026277542,
0.0004579620435833931,
0.04810763895511627,
0.0023147203028202057,
0.06804445385932922,
0.006600346881896257,
-0.019060855731368065,
-0.0078354487195611,
-0.05886440724134445,
-0.007760991808027029,
0.0020333186257630587,
0.02273988164961338,
0.00028140164795331657,
0.00857563316822052,
0.0033286421094089746,
-0.04495418816804886,
-0.012911628000438213,
-0.010651654563844204,
0.011317383497953415,
0.06552169471979141,
0.02999281696975231,
-0.002362897852435708,
-0.052767738699913025,
0.07130301743745804,
-0.027540134266018867,
0.048247791826725006,
-0.021863922476768494,
-0.020129526033997536,
0.022809958085417747,
0.011115913279354572,
-0.029204456135630608,
-0.000881433195900172,
0.008912877179682255,
-0.023580802604556084,
-0.005671830847859383,
0.013043021783232689,
-0.02230190299451351,
-0.02822338230907917,
-0.04292196407914162,
0.07393089681863785,
0.009600505232810974,
0.0033614905551075935,
0.004559363704174757,
0.009197563864290714,
0.03267325088381767,
0.03398718684911728,
0.054274387657642365,
0.041590508073568344,
0.09901834279298782,
-0.05444957688450813,
0.025577986612915993,
-0.006604726891964674,
-0.010458944365382195,
-0.005540437065064907,
0.012526205740869045,
-0.046320684254169464,
0.008680748753249645,
0.02887159027159214,
-0.01876302994787693,
-0.03608948737382889,
-0.0385071337223053,
0.01865791529417038,
-0.03640483319759369,
0.06478589028120041,
-0.0015679656062275171,
0.03721071407198906,
0.007664636708796024,
0.01494385115802288,
0.05182170122861862,
0.01265759952366352,
-0.01626654900610447,
0.014610987156629562,
0.014295642264187336,
0.0016741756116971374,
0.007476305589079857,
0.028941668570041656,
-0.024772105738520622,
0.04628564417362213,
0.05854906514286995,
-0.015504464507102966,
0.019533874467015266,
0.005422182846814394,
0.024929778650403023,
-0.03135931119322777,
-0.054274387657642365,
-0.04877336695790291,
0.05998563393950462,
-0.0195163544267416,
-0.0027811680920422077,
-0.0020661670714616776,
0.0008704837528057396,
-0.06103678420186043,
-0.01850024238228798,
-0.046846259385347366,
-0.002162522403523326,
-0.046215567737817764,
-0.0616324357688427,
0.09474366903305054,
-0.08058817684650421,
-0.07596311718225479,
0.0931319072842598,
-0.038402020931243896,
-0.04344753921031952,
-0.08227001875638962,
-0.02832849696278572,
-0.024824662134051323,
-0.007414988242089748,
-0.08829661458730698,
0.010599097236990929,
-0.022004077211022377,
0.039768513292074203,
-0.05893448367714882,
-0.019603950902819633,
-0.08269047737121582,
0.07060225307941437,
-0.005798845086246729,
0.006740500219166279,
-0.022880034521222115,
-0.00594337796792388,
-0.00123948126565665,
0.004975444171577692,
0.0135510778054595,
-0.021425943821668625,
0.00677553890272975,
0.03941813111305237,
0.028731437399983406,
0.01738777570426464,
-0.03479307144880295,
-0.04432349652051926,
-0.028696399182081223,
-0.03770125284790993,
0.044919151812791824,
-0.016380423679947853,
-0.006306901108473539,
-0.019674027338624,
0.009188803844153881,
-0.016494298353791237,
0.045304570347070694,
0.0068412357941269875,
-0.035563912242650986,
-0.0616324357688427,
-0.019218528643250465,
-0.024544356390833855,
0.005444081965833902,
-0.029694991186261177,
0.01886814460158348,
0.042816851288080215,
0.030308162793517113,
0.010914442129433155,
0.011702804826200008,
-0.007108402904123068,
0.013472241349518299,
0.019008299335837364,
-0.01679212413728237,
-0.010905683040618896,
-0.02860880270600319,
0.015101524069905281,
-0.03433757275342941,
0.017659323289990425,
0.07028690725564957,
-0.04194089025259018,
0.0230727456510067,
0.031043967232108116,
0.07151325047016144,
0.031744733452796936,
-0.008825281634926796,
0.03679025545716286,
0.013866422697901726,
0.04947413504123688,
-0.048738330602645874,
-0.04323730990290642,
0.05150635913014412,
-0.00022145324328448623,
-0.01673080585896969,
0.016249028965830803,
0.029905222356319427,
0.026173638179898262,
0.04032912850379944,
-0.02962491475045681,
0.02053246647119522,
-0.029589876532554626,
0.013516038656234741,
0.05374881252646446,
0.02790803648531437,
-0.04113500937819481,
-0.04369280859827995,
-0.03552887588739395,
-0.0476171039044857,
-0.028153305873274803,
-0.02312530390918255,
0.0021460982970893383,
-0.050665438175201416,
0.025192566215991974,
0.05259254574775696,
-0.0017333028372377157,
0.053258273750543594,
-0.01832505129277706,
0.009880811907351017,
0.0046907574869692326,
-0.030956372618675232,
-0.03579166159033775,
-0.06114190071821213,
0.009740658104419708,
-0.029064301401376724,
-0.0012132024858146906,
0.04891351982951164,
0.007966842502355576,
-0.024631952866911888,
0.0057769459672272205,
0.017300179228186607,
0.025140007957816124,
0.01671328768134117,
0.008466138504445553,
0.023160342127084732,
0.0049404059536755085,
-0.007296734023839235,
0.019341163337230682,
0.09712627530097961,
-0.0062017859891057014,
-0.02591085061430931,
0.055570803582668304,
-0.019674027338624,
-0.06545161455869675,
0.0684298723936081,
0.0075507620349526405,
0.02860880270600319,
0.04145035520195961,
0.004826531279832125,
-0.011168470606207848,
-0.05875929445028305,
0.012000630609691143,
0.038997672498226166,
0.06023090332746506,
-0.00006494410627055913,
0.029537320137023926,
-0.047021448612213135,
0.007450026925653219,
0.012570003978908062,
0.0135510778054595,
0.04435853660106659,
-0.0011606449261307716,
0.001420147716999054,
-0.02575317956507206,
-0.029747549444437027,
-0.0017289230599999428,
0.008904118090867996,
-0.018044743686914444,
0.03547631949186325,
-0.0025599885266274214,
0.018360089510679245,
0.047511987388134,
0.04838794469833374,
0.012053188867866993,
0.05924982950091362,
-0.06632757186889648,
-0.01839512772858143,
0.048037562519311905,
0.006696702446788549,
0.02231942117214203,
0.08304086327552795,
0.10273240506649017,
-0.04828283190727234,
0.09719634801149368,
0.014102931134402752,
-0.022389497607946396,
-0.048948559910058975,
-0.025998447090387344,
-0.013892700895667076,
-0.0117991603910923,
0.046040378510951996,
-0.010677933692932129,
-0.051961857825517654,
-0.04579510912299156,
0.04386800155043602,
-0.04074958711862564,
0.0022796818520873785,
0.0695861428976059,
-0.02312530390918255,
-0.022564690560102463,
0.012053188867866993,
-0.015040206722915173,
0.02273988164961338,
-0.07596311718225479,
-0.009766937233507633,
-0.07918664813041687,
0.037666212767362595,
-0.011194748803973198,
0.003781950566917658,
-0.004997342824935913,
-0.025140007957816124,
-0.0017760058399289846,
0.004852809943258762,
-0.014427036046981812,
0.016362903639674187,
0.023090265691280365,
-0.003289224114269018,
0.016380423679947853,
-0.06338435411453247,
0.04488411173224449,
0.03342657536268234,
0.020199602469801903,
-0.035301126539707184,
0.05928486958146095,
-0.046636030077934265,
-0.01408541202545166,
0.024772105738520622,
0.011825439520180225,
-0.0023979363031685352,
-0.001978571293875575,
0.018833106383681297,
0.039593324065208435,
0.00275488942861557,
0.004681997932493687,
-0.0020366034004837275,
-0.05049024522304535,
0.037876445800065994,
-0.02333553321659565,
-0.03672017902135849,
0.02151354029774666,
-0.03805163502693176,
-0.02936212718486786,
-0.010642895475029945,
-0.025034893304109573,
-0.04302708059549332,
-0.008439859375357628,
0.01534679252654314,
0.008076337166130543,
0.04498922824859619,
0.024281568825244904,
0.002281871857121587,
0.02478962391614914,
-0.030027857050299644,
-0.02505241148173809,
-0.032498057931661606,
-0.01624027080833912,
-0.03342657536268234,
0.04856313765048981,
-0.05560584366321564,
-0.022617246955633163,
0.0030987029895186424,
0.004167372360825539,
0.03446020558476448,
-0.013472241349518299,
0.0005852497415617108,
0.018237454816699028,
-0.052977968007326126,
0.07673396170139313,
0.013892700895667076,
0.04369280859827995,
0.023633359000086784,
0.012263418175280094,
0.002496481640264392,
-0.026383869349956512,
0.022179268300533295,
0.03941813111305237,
-0.005654311738908291,
0.021846404299139977,
0.010467703454196453,
0.06804445385932922,
-0.021951518952846527,
-0.03622964024543762,
0.0031249818857759237,
0.02531519904732704,
-0.03241046145558357,
0.007826688699424267,
0.02058502472937107,
0.05592118948698044,
0.0014398567145690322,
0.007769751362502575,
-0.028188344091176987,
0.015872366726398468,
-0.004484907258301973,
-0.08430223912000656,
-0.03633475676178932,
0.032883480191230774,
0.005378385074436665,
-0.018430165946483612,
0.07526235282421112,
-0.017317699268460274,
0.02440420351922512,
0.017808236181735992,
-0.006044113542884588,
0.01642422191798687,
0.0029410305432975292,
-0.00589958019554615,
-0.05560584366321564,
0.016625691205263138,
-0.02247709408402443,
-0.02219678834080696,
0.010073522105813026,
0.06016082689166069,
-0.025875812396407127,
-0.0191484522074461,
0.005917099304497242,
0.005903960205614567,
-0.000557876075617969,
-0.002625685418024659,
-0.017589246854186058,
0.009337717667222023,
0.057182569056749344,
-0.004200221039354801,
-0.017300179228186607,
0.013883941806852818,
-0.006228064652532339,
0.05595622584223747,
0.03629972040653229,
0.004905367270112038,
0.018377607688307762,
-0.011326142586767673,
-0.007353671360760927,
0.10336309671401978,
0.014733620919287205,
-0.09656566381454468,
0.008203350938856602,
0.012736435979604721,
0.037385907024145126,
-0.030080413445830345,
-0.093552365899086,
0.0014091981574892998,
-0.03162210062146187,
-0.047336794435977936,
0.04838794469833374,
0.015285475179553032,
-0.012508686631917953,
-0.03482810780405998,
-0.01671328768134117,
-0.07841580361127853,
-0.04043424129486084,
-0.0470915287733078,
0.09123983234167099,
-0.014059132896363735,
0.004244018811732531,
0.024702029302716255,
0.044533729553222656,
0.010818087495863438,
0.039277978241443634,
-0.026383869349956512,
-0.023615840822458267,
0.05168154835700989,
-0.012946666218340397,
-0.04768718034029007,
-0.015846088528633118,
-0.02554294839501381,
0.00649085221812129,
-0.030203048139810562,
0.011571411043405533,
-0.013253252021968365,
0.022599728778004646,
-0.026261234655976295,
-0.020830292254686356,
-0.02773284539580345,
0.032007522881031036,
0.02289755456149578,
-0.027119673788547516,
0.007515723817050457,
-0.013174415566027164,
-0.040188975632190704,
0.020409831777215004,
0.020900368690490723,
-0.02053246647119522,
-0.011667766608297825,
-0.026524022221565247,
0.04779229313135147,
-0.03472299501299858,
-0.04337746277451515,
-0.009302678517997265,
0.03952324762940407,
0.005684970412403345,
0.030903814360499382,
0.06390993297100067,
0.027032077312469482,
-0.0633142814040184,
-0.024281568825244904,
-0.02156609669327736,
0.04971940070390701,
0.0020749266259372234,
0.029274532571434975,
-0.006972629576921463,
0.006587207783013582,
0.028240900486707687,
0.06047617271542549,
0.028748957440257072,
-0.019393719732761383,
-0.009968407452106476,
-0.042221199721097946,
-0.03248054161667824,
0.022494614124298096,
-0.012640080414712429,
0.05248743295669556,
0.04639076068997383,
-0.017168786376714706,
-0.032445501536130905,
-0.06527642160654068,
-0.014146729372441769,
-0.04187081381678581,
-0.0933421328663826,
-0.024334125220775604,
-0.008619431406259537,
-0.04887848347425461,
-0.007752232253551483,
0.007577040698379278,
-0.022722363471984863,
0.03279588371515274,
0.00021502042363863438,
-0.010327550582587719,
-0.010274992324411869,
0.027995632961392403,
0.01925356686115265,
0.048352908343076706,
-0.03311122953891754,
-0.09341221302747726,
0.04046928137540817,
-0.07918664813041687,
-0.044533729553222656,
-0.0059784166514873505,
-0.02925701253116131,
0.0462506078183651,
0.08311093598604202,
0.043622732162475586,
-0.00786172691732645,
-0.016494298353791237,
-0.010800567455589771,
0.01902581751346588,
-0.07778511196374893,
-0.08934776484966278,
0.01016111858189106,
-0.03763117641210556,
0.01459346804767847,
-0.026926962658762932,
-0.000743469747249037,
0.028783995658159256,
0.03151698410511017,
0.0077259535901248455,
-0.06016082689166069,
-0.038366980850696564,
-0.0077960304915905,
0.027697807177901268,
0.0031862989999353886,
-0.027995632961392403,
-0.013682471588253975,
-0.05641172453761101,
0.09467358887195587,
-0.0020661670714616776,
-0.04705648869276047,
0.023755993694067,
-0.07400096952915192,
-0.03221775218844414,
0.001543876831419766,
0.0461454913020134,
-0.038892555981874466,
0.05872425436973572,
-0.015740973874926567,
0.0015767252771183848,
0.030062895268201828,
-0.026261234655976295,
-0.04747694730758667,
-0.03843705728650093,
0.01518911961466074,
0.008220870047807693,
0.0398736298084259,
-0.05339842662215233,
0.006385737098753452,
-0.020041929557919502,
-0.011229787953197956,
0.010134839452803135,
0.009109968319535255,
0.04737183451652527,
0.06261350959539413,
-0.02999281696975231,
0.06058128923177719,
0.01330580934882164,
-0.041310202330350876,
-0.015898646786808968,
-0.04127516224980354,
0.023791031911969185,
0.005807604640722275,
0.002905992092564702,
-0.021688731387257576,
0.04887848347425461,
-0.03672017902135849,
0.00606163265183568,
-0.05756799131631851,
0.005654311738908291,
0.006136089097708464,
0.06650276482105255,
0.05998563393950462,
0.015329273417592049,
0.032130155712366104,
-0.00030713292653672397,
0.022932592779397964,
-0.03204255923628807,
-0.04838794469833374,
-0.027119673788547516,
0.012543724849820137,
-0.012184582650661469,
-0.006801817566156387,
-0.004434539936482906,
-0.010712971910834312,
-0.047511987388134,
-0.015171600505709648,
-0.04439357668161392,
-0.032936036586761475,
-0.009311438538134098,
0.007927424274384975,
-0.016310347244143486,
0.01416424848139286,
0.013086819089949131,
-0.02941468544304371,
0.04183577746152878,
0.05063039809465408,
0.08444239944219589,
0.06576696038246155,
0.04796748608350754,
0.03349665179848671,
0.0022512131836265326,
0.048528097569942474,
-0.007577040698379278,
0.01725638099014759,
-0.0018143289489671588,
-0.06219305098056793,
-0.008203350938856602,
-0.00965306255966425,
0.006609106436371803,
-0.004712656605988741,
-0.010196156799793243,
-0.01468106359243393,
0.060125790536403656,
-0.06821964681148529,
0.0003944550408050418,
-0.04092478007078171,
0.033636804670095444,
0.050560321658849716,
-0.01610887609422207,
-0.013393404893577099,
0.014724861830472946,
0.0019511975115165114,
-0.017475372180342674,
-0.038472097367048264,
-0.03037823922932148,
0.01821993663907051,
-0.011326142586767673,
-0.009740658104419708,
0.052872851490974426,
0.04337746277451515
] |
21,608 | delorean.dates | move_datetime_year |
Move datetime 1 year in the chosen direction.
unit is a no-op, to keep the API the same as the day case
| def move_datetime_year(dt, direction, num_shifts):
"""
Move datetime 1 year in the chosen direction.
unit is a no-op, to keep the API the same as the day case
"""
delta = relativedelta(years=+num_shifts)
return _move_datetime(dt, direction, delta)
| (dt, direction, num_shifts) | [
-0.021329650655388832,
0.08777634054422379,
-0.06509493291378021,
-0.0181521475315094,
-0.037708718329668045,
-0.040377117693424225,
-0.06204031780362129,
0.05782705545425415,
-0.01987256295979023,
0.018011705949902534,
0.0022975457832217216,
-0.03953446447849274,
0.08005202561616898,
0.05122627317905426,
0.03268790990114212,
0.020960990339517593,
0.02045188844203949,
0.06123277544975281,
-0.01797659508883953,
-0.026139793917536736,
0.10182055830955505,
-0.030932383611798286,
-0.012938233092427254,
-0.02025878056883812,
-0.04894408956170082,
-0.002332656178623438,
-0.01902991160750389,
0.046205464750528336,
-0.05091027915477753,
-0.054245781153440475,
0.04128999263048172,
0.03305657207965851,
0.011209039017558098,
-0.022031862288713455,
0.009892393834888935,
0.000056025994126684964,
-0.04638101905584335,
0.008654747158288956,
-0.006385728716850281,
0.019135242328047752,
0.01862614043056965,
0.025156699120998383,
0.03851626068353653,
-0.008272919803857803,
-0.02305006794631481,
-0.005889792460948229,
-0.06390117853879929,
-0.016738949343562126,
-0.02122431993484497,
0.02628023736178875,
-0.01855591870844364,
-0.018380366265773773,
0.036760732531547546,
-0.045257482677698135,
-0.008005202747881413,
0.05505332350730896,
0.020996101200580597,
0.056633297353982925,
0.0449063777923584,
-0.015948960557579994,
0.005191970616579056,
-0.003063394222408533,
0.002321684267371893,
0.03256502375006676,
0.020574774593114853,
-0.043817948549985886,
0.0060346233658492565,
-0.03305657207965851,
0.025262031704187393,
0.014755203388631344,
-0.0496814101934433,
0.05210403725504875,
0.0506645031273365,
-0.023295840248465538,
-0.020329000428318977,
0.06256697326898575,
-0.06681535392999649,
-0.061583880335092545,
0.06804422289133072,
-0.010304942727088928,
-0.01543985866010189,
0.016528286039829254,
-0.015308193862438202,
0.028211316093802452,
-0.045749031007289886,
0.03707672655582428,
-0.003249919041991234,
-0.06625358015298843,
-0.04571392014622688,
-0.0215052030980587,
0.005499187856912613,
-0.02447204478085041,
0.0057054623030126095,
-0.047364115715026855,
0.009936281479895115,
0.07626008242368698,
0.009005852974951267,
-0.027579326182603836,
-0.06625358015298843,
0.031283486634492874,
0.02752666175365448,
-0.05234980955719948,
0.013745775446295738,
-0.00008050736505538225,
0.0017884429544210434,
-0.021470094099640846,
-0.0439935028553009,
-0.028650198131799698,
-0.028018208220601082,
-0.041535764932632446,
-0.004246180411428213,
-0.012315020896494389,
-0.008900521323084831,
-0.025630692020058632,
0.021715866401791573,
-0.052420031279325485,
0.02944018505513668,
-0.027070224285125732,
0.018099481239914894,
0.02110143192112446,
0.028650198131799698,
-0.014878089539706707,
0.03925358131527901,
0.01647561974823475,
0.07310013473033905,
0.02550780586898327,
0.03862158954143524,
0.008128088898956776,
-0.003045839024707675,
-0.010313720442354679,
-0.03841092810034752,
-0.01252568420022726,
-0.00886979978531599,
-0.04718856140971184,
0.024612486362457275,
-0.008176365867257118,
-0.006469116546213627,
0.01543985866010189,
-0.02025878056883812,
-0.028913527727127075,
-0.010796490125358105,
0.0010615451028570533,
0.037498053163290024,
0.043537065386772156,
0.04571392014622688,
0.03851626068353653,
-0.026719119399785995,
0.06836021691560745,
0.013631666079163551,
0.0382353737950325,
0.043150849640369415,
0.006842165719717741,
0.06874643266201019,
0.02829909324645996,
-0.05793238431215286,
-0.007298602722585201,
-0.02571846731007099,
-0.014368987642228603,
-0.0017906373832374811,
0.05628218874335289,
0.0014932950725778937,
-0.02961573749780655,
-0.03528609126806259,
0.03296879306435585,
0.04157087579369545,
-0.012473017908632755,
-0.00998894777148962,
0.03261768817901611,
-0.006276008673012257,
-0.019065020605921745,
0.013649221509695053,
0.008272919803857803,
0.09072563052177429,
-0.050032515078783035,
0.058529265224933624,
0.0013385892380028963,
0.004009184427559376,
0.026719119399785995,
0.0020429943688213825,
-0.024103382602334023,
0.061408329755067825,
0.05298180133104324,
-0.04371261969208717,
0.010059168562293053,
-0.04760988801717758,
0.04610013589262962,
-0.040552668273448944,
0.06699090451002121,
0.0496814101934433,
0.037778936326503754,
0.05182315409183502,
0.03419766202569008,
0.017476269975304604,
-0.0020429943688213825,
-0.007223993074148893,
-0.018397921696305275,
-0.02199675142765045,
-0.0029536739457398653,
0.012964565306901932,
0.06927309185266495,
0.005762516986578703,
0.05094539001584053,
0.027456440031528473,
-0.053648900240659714,
0.05435111001133919,
0.007202048785984516,
-0.004691645503044128,
-0.013754553161561489,
-0.052420031279325485,
-0.019539013504981995,
0.06555137038230896,
-0.00854941550642252,
0.03142393007874489,
0.02036411128938198,
-0.028457090258598328,
-0.04195709154009819,
-0.031599484384059906,
-0.05909103527665138,
0.03528609126806259,
-0.03370611369609833,
-0.02226008102297783,
0.07373213022947311,
-0.04069311171770096,
-0.08932120352983475,
0.11326659470796585,
-0.08974253386259079,
-0.03489987179636955,
-0.06281275302171707,
-0.04729389399290085,
-0.013982770964503288,
-0.024507153779268265,
-0.07211704552173615,
-0.0229447353631258,
-0.03813004121184349,
0.03486476466059685,
-0.08573993295431137,
0.024524709209799767,
-0.031283486634492874,
-0.03000195324420929,
0.029106635600328445,
-0.0008250976097770035,
0.03907802700996399,
-0.00854941550642252,
0.003425471717491746,
-0.011533811688423157,
0.03475943207740784,
-0.053473345935344696,
0.016185957938432693,
-0.015861185267567635,
0.02226008102297783,
-0.028615087270736694,
0.0028263982385396957,
-0.027263332158327103,
0.019468791782855988,
-0.03309167921543121,
0.025578025728464127,
-0.00922529399394989,
-0.014623538590967655,
-0.028931083157658577,
0.009049740619957447,
-0.025455139577388763,
-0.0054947989992797375,
-0.062461644411087036,
-0.061513662338256836,
-0.02761443704366684,
-0.0015744881238788366,
0.0150448651984334,
0.0008980617276392877,
0.013982770964503288,
0.030756831169128418,
0.010419052094221115,
0.035128090530633926,
-0.028737975284457207,
0.024524709209799767,
0.032916128635406494,
0.042273085564374924,
0.019609235227108,
-0.03175748139619827,
-0.006254064384847879,
0.006082900334149599,
0.05687906965613365,
-0.016695059835910797,
0.00007467846444342285,
0.02743888460099697,
-0.07668141275644302,
-0.015773408114910126,
0.016054293140769005,
0.10406763106584549,
0.021136542782187462,
0.024331601336598396,
-0.005292913410812616,
0.024594930931925774,
0.06267230957746506,
-0.00037469525705091655,
0.03370611369609833,
0.04866320267319679,
-0.009005852974951267,
-0.009725619107484818,
-0.040377117693424225,
-0.0015218222979456186,
0.011367036029696465,
0.046205464750528336,
-0.009488622657954693,
0.013061119243502617,
0.007939370349049568,
0.009207738563418388,
0.042869966477155685,
-0.005205137189477682,
-0.035128090530633926,
-0.011691808700561523,
0.02454226464033127,
-0.012402797117829323,
-0.036760732531547546,
-0.01127048209309578,
-0.026613786816596985,
-0.03679584339261055,
0.024788038805127144,
0.014430430717766285,
0.0056132972240448,
0.04427438601851463,
-0.03662028908729553,
-0.056141749024391174,
0.05522887408733368,
-0.06474383175373077,
-0.00020558865799102932,
-0.05435111001133919,
0.020486997440457344,
0.030809495598077774,
-0.05972302332520485,
0.07239792495965958,
-0.03605852276086807,
0.01720416359603405,
-0.009321847930550575,
0.023295840248465538,
0.06646424531936646,
-0.04272952303290367,
-0.00044464203529059887,
-0.07373213022947311,
0.02064499631524086,
0.013587777502834797,
0.0044173444621264935,
-0.0016666533192619681,
-0.004880364518612623,
-0.04283485561609268,
0.004770644009113312,
-0.024050718173384666,
-0.0716254934668541,
0.05782705545425415,
0.03537386655807495,
-0.005565020255744457,
0.051261384040117264,
0.047364115715026855,
-0.012121913023293018,
-0.0034803319722414017,
-0.03851626068353653,
0.03956957533955574,
0.03897269442677498,
0.0059687914326786995,
0.015747075900435448,
-0.06333940476179123,
-0.015492524020373821,
-0.025068923830986023,
0.03356567397713661,
0.032547466456890106,
-0.007223993074148893,
-0.004621424246579409,
-0.03651495650410652,
-0.03672562167048454,
0.013412225060164928,
0.01733582839369774,
-0.027561770752072334,
0.049435634166002274,
0.02973862551152706,
0.003688800847157836,
0.03344278782606125,
0.027280887588858604,
0.012200911529362202,
0.007566320709884167,
-0.07032640278339386,
-0.054702214896678925,
0.04511703923344612,
0.0021230902057141066,
0.042659301310777664,
0.07422367483377457,
0.054035115987062454,
-0.05526398494839668,
0.11530300229787827,
0.006442783400416374,
-0.0563875213265419,
-0.050980500876903534,
-0.0010406982619315386,
-0.045819249004125595,
0.04385305941104889,
-0.009892393834888935,
-0.008264143019914627,
-0.043923281133174896,
-0.06161899119615555,
0.04020156338810921,
-0.005872237496078014,
-0.008602081798017025,
0.06369051337242126,
0.0243667121976614,
-0.009760729037225246,
0.025630692020058632,
-0.030546167865395546,
0.04880364611744881,
-0.01251690648496151,
0.011375813744962215,
-0.08630169928073883,
0.020013006404042244,
-0.078366719186306,
-0.0075312103144824505,
0.043817948549985886,
-0.015492524020373821,
0.03326723352074623,
0.020381666719913483,
-0.011542589403688908,
-0.011147595010697842,
0.016659948974847794,
0.023295840248465538,
0.017318272963166237,
-0.05895059183239937,
-0.008369474671781063,
0.025823799893260002,
0.03551430627703667,
-0.033302344381809235,
0.09795840084552765,
-0.0372522808611393,
-0.04346684366464615,
0.015088752843439579,
0.006491060368716717,
0.016036737710237503,
-0.022628741338849068,
-0.02398049645125866,
0.021821198984980583,
0.026929780840873718,
0.0013374920235946774,
0.02887841686606407,
-0.0066885570995509624,
0.02141742780804634,
-0.0016995694022625685,
-0.016826724633574486,
0.013859884813427925,
-0.02226008102297783,
-0.028211316093802452,
-0.02973862551152706,
0.012209689244627953,
-0.004173764958977699,
-0.0300897303968668,
-0.013719442300498486,
0.002321684267371893,
0.060249682515859604,
-0.011051041074097157,
-0.007812094409018755,
0.015887517482042313,
-0.024998702108860016,
0.004647757392376661,
-0.034373216331005096,
-0.03237191587686539,
-0.0324772447347641,
0.026982447132468224,
-0.04694278910756111,
0.05378934368491173,
0.005055917426943779,
0.015229195356369019,
0.04694278910756111,
-0.0214876476675272,
-0.009541288018226624,
-0.03261768817901611,
-0.04673212394118309,
0.012499351054430008,
0.008426528424024582,
0.0774538442492485,
0.02980884537100792,
-0.014834201894700527,
-0.011709364131093025,
-0.030458390712738037,
-0.009339402429759502,
0.019925229251384735,
-0.01707249879837036,
0.0037436611019074917,
0.018187258392572403,
0.0831417515873909,
-0.009444734081625938,
-0.008316808380186558,
0.05684395879507065,
0.041325103491544724,
-0.037498053163290024,
0.022295190021395683,
0.03361833840608597,
0.03525098040699959,
0.003451804630458355,
-0.009532510302960873,
-0.04866320267319679,
0.017511380836367607,
-0.009576398879289627,
-0.07668141275644302,
-0.02341872826218605,
-0.005029584281146526,
0.028228871524333954,
-0.019574124366044998,
0.027684658765792847,
0.004031128715723753,
-0.027000002562999725,
0.03907802700996399,
0.038551367819309235,
-0.031599484384059906,
-0.06281275302171707,
-0.03314434736967087,
-0.03872692212462425,
-0.01643173210322857,
0.005894181318581104,
-0.013868661597371101,
0.03400455415248871,
0.06635891646146774,
-0.013157674111425877,
-0.01976723223924637,
0.025262031704187393,
0.03210858628153801,
0.00262890150770545,
0.00003408190605114214,
-0.06646424531936646,
0.013359559699892998,
0.02849220111966133,
0.0060346233658492565,
0.028615087270736694,
0.00473114475607872,
-0.02073277160525322,
0.055474646389484406,
-0.0339343324303627,
-0.01855591870844364,
-0.005964402575045824,
-0.05593108385801315,
0.03356567397713661,
0.056247081607580185,
-0.009471067227423191,
-0.06144344061613083,
-0.015729520469903946,
0.06618335843086243,
0.012315020896494389,
-0.031581927090883255,
-0.03546164184808731,
0.01969701051712036,
0.04244863986968994,
-0.010936932638287544,
0.04501170665025711,
-0.02131209522485733,
-0.03107282519340515,
0.014237322844564915,
0.022031862288713455,
-0.12372953444719315,
-0.007939370349049568,
-0.02649090066552162,
0.060074128210544586,
-0.03405722230672836,
0.024998702108860016,
0.01922301948070526,
-0.002560874680057168,
-0.02313784323632717,
0.016695059835910797,
0.03574252501130104,
0.0010631909826770425,
0.017950262874364853,
-0.06319896876811981,
-0.019328350201249123,
-0.0032082253601402044,
0.01931079477071762,
-0.010462939739227295,
-0.007469766773283482,
0.002225130330771208,
0.00041419462650083005,
-0.03528609126806259,
-0.03718205913901329,
-0.0038994639180600643,
-0.029282188042998314,
0.05249025300145149,
-0.004748700186610222,
-0.02877308428287506,
-0.0033047792967408895,
-0.03382900357246399,
0.01853836327791214,
-0.01701105572283268,
0.03270546346902847,
-0.02447204478085041,
-0.018222369253635406,
-0.06730689853429794,
0.010094279423356056,
-0.018380366265773773,
0.031581927090883255,
-0.06221587210893631,
-0.00547285471111536,
-0.010849155485630035,
-0.0007279950077645481,
0.014921978116035461,
0.017537713050842285,
-0.06421717256307602,
-0.06818465888500214,
-0.027789989486336708,
0.012639793567359447,
0.003214808413758874,
0.03195058926939964,
-0.00798764731734991,
-0.010857933200895786,
0.10189078003168106,
0.0002232810657005757,
0.030844606459140778,
0.015703188255429268,
-0.04185175895690918,
-0.03151170536875725,
-0.05659818649291992,
-0.018380366265773773,
0.002646456705406308,
0.05961769074201584,
-0.04213264584541321,
-0.0077550397254526615,
-0.015448636375367641,
-0.047048117965459824,
0.005121749360114336,
-0.01976723223924637,
-0.09402601420879364,
-0.023717166855931282,
-0.03331989794969559,
-0.035391420125961304,
0.0011707169469445944,
-0.018099481239914894,
-0.011358258314430714,
0.04462549090385437,
0.010120612569153309,
0.029598182067275047,
-0.04350195452570915,
0.014781535603106022,
-0.011331926099956036,
0.05498310178518295,
-0.06133810803294182,
-0.0410793274641037,
0.06776333600282669,
-0.08566971123218536,
-0.017669377848505974,
0.01395643875002861,
-0.02903641387820244,
0.047750331461429596,
0.0601794607937336,
0.023682057857513428,
0.034460991621017456,
-0.050313398241996765,
-0.022435633465647697,
-0.0033113625831902027,
-0.006587614305317402,
-0.029580626636743546,
-0.02484070509672165,
0.005477243568748236,
0.016098180785775185,
0.030317949131131172,
-0.0058239600621163845,
-0.03317945823073387,
-0.01864369586110115,
-0.006148732732981443,
-0.04627568647265434,
-0.009497400373220444,
-0.020873215049505234,
0.06319896876811981,
0.02944018505513668,
0.03556697443127632,
0.00354835856705904,
-0.033881668001413345,
-0.0018400115659460425,
0.02512158825993538,
-0.07008063048124313,
0.018011705949902534,
-0.03869181126356125,
-0.06274253129959106,
0.01795903965830803,
0.03172237053513527,
0.008395806886255741,
0.08082445710897446,
-0.03288101777434349,
0.036936283111572266,
-0.0037721882108598948,
0.02419115975499153,
-0.0017335826996713877,
-0.057019513100385666,
0.027860211208462715,
0.03314434736967087,
0.0002406991843599826,
-0.07464499771595001,
-0.01414954662322998,
-0.0224531888961792,
0.026122238487005234,
0.01948634721338749,
-0.03461898863315582,
0.036550067365169525,
0.05800260603427887,
-0.012271132320165634,
-0.000714280002284795,
0.004099155310541391,
-0.017133941873908043,
-0.029001303017139435,
0.011349480599164963,
-0.012701236642897129,
0.03365344926714897,
0.01941612735390663,
-0.03470676392316818,
0.05073472484946251,
-0.01711638644337654,
-0.03261768817901611,
-0.06060078740119934,
0.02628023736178875,
0.004502926487475634,
0.020767882466316223,
-0.0017884429544210434,
0.017177829518914223,
0.020434333011507988,
-0.00984850525856018,
0.04388817027211189,
0.040763333439826965,
-0.037884268909692764,
-0.05119116231799126,
0.01656339503824711,
0.01643173210322857,
-0.03402211144566536,
-0.014816646464169025,
0.006170677021145821,
-0.013201561756432056,
-0.0015042671002447605,
-0.041044216603040695,
-0.05185826122760773,
0.007342490833252668,
0.03925358131527901,
-0.003943352028727531,
0.036374516785144806,
0.06088167056441307,
0.0052841356955468655,
0.040868666023015976,
-0.012420352548360825,
0.038762032985687256,
0.06513004750013351,
0.010594604536890984,
0.015115085989236832,
0.053192462772130966,
0.03949935361742973,
-0.00854941550642252,
0.047539666295051575,
0.00010965185356326401,
-0.06839532405138016,
-0.03897269442677498,
0.01714272052049637,
-0.028421979397535324,
-0.03813004121184349,
0.022014306858181953,
-0.006047789938747883,
0.042097534984350204,
-0.05466710403561592,
-0.015334527008235455,
-0.050699613988399506,
0.027544215321540833,
0.00506469514220953,
-0.02369961142539978,
0.03312679007649422,
0.03189792111515999,
0.014957088977098465,
0.003425471717491746,
-0.003636135021224618,
-0.03116060234606266,
-0.022435633465647697,
0.02273407205939293,
0.00755315413698554,
0.024015607312321663,
0.04729389399290085
] |
21,609 | delorean.dates | normalize |
Given a object with a timezone return a datetime object
normalized to the proper timezone.
This means take the give localized datetime and returns the
datetime normalized to match the specificed timezone.
| def normalize(dt, tz):
"""
Given a object with a timezone return a datetime object
normalized to the proper timezone.
This means take the give localized datetime and returns the
datetime normalized to match the specificed timezone.
"""
if not isinstance(tz, tzinfo):
tz = pytz.timezone(tz)
dt = tz.normalize(dt)
return dt
| (dt, tz) | [
0.014958142302930355,
0.023157551884651184,
-0.005384753458201885,
0.017626063898205757,
-0.08580033481121063,
-0.08992671966552734,
-0.009915771894156933,
0.03589242696762085,
0.005540382117033005,
0.0013850955292582512,
-0.015153789892792702,
-0.03503869101405144,
-0.006749839521944523,
0.004744452424347401,
-0.04631510376930237,
0.07142913341522217,
-0.07463064044713974,
0.05463901907205582,
-0.004993458278477192,
-0.018924450501799583,
0.032957714051008224,
-0.0619669072329998,
-0.02767523191869259,
0.01638103276491165,
-0.010787293314933777,
0.02699935808777809,
0.028724614530801773,
-0.024776091799139977,
0.007412373088300228,
-0.02194809541106224,
0.06456368416547775,
0.053429558873176575,
0.027835307642817497,
0.0433981791138649,
0.025718756020069122,
-0.042508870363235474,
0.0006892128731124103,
-0.007052204106003046,
-0.09341280162334442,
-0.006523066200315952,
-0.040161099284887314,
-0.03671059012413025,
0.014842532575130463,
0.008901962079107761,
0.07797443121671677,
0.04008995741605759,
0.0014251143438741565,
0.0425800159573555,
-0.009124289266765118,
0.02184137888252735,
-0.01904895342886448,
0.006425242405384779,
0.03496754914522171,
0.005420325789600611,
-0.03192611783742905,
0.008430629968643188,
0.024438153952360153,
0.04610167071223259,
-0.023264268413186073,
-0.011605455540120602,
-0.04460763558745384,
0.008328359574079514,
-0.03496754914522171,
0.00510462187230587,
-0.02598554827272892,
-0.00510462187230587,
-0.028457822278141975,
-0.040054384618997574,
-0.026732565835118294,
-0.03569677844643593,
-0.056702207773923874,
0.002183248521760106,
0.012450297363102436,
-0.019262388348579407,
0.017803924158215523,
0.0586942583322525,
-0.011649920605123043,
-0.00762136047706008,
0.010929581709206104,
0.011400914750993252,
-0.02107657492160797,
-0.01705690659582615,
-0.02557646669447422,
0.03333122283220291,
-0.018052930012345314,
0.01148984581232071,
0.026892641559243202,
-0.006087305955588818,
-0.027230577543377876,
0.01831972226500511,
0.015340544283390045,
0.0033882593270391226,
0.024900594726204872,
0.02762187272310257,
-0.031054597347974777,
0.07199829071760178,
-0.030521012842655182,
-0.014646884985268116,
-0.07242515683174133,
-0.04133498668670654,
0.05374971032142639,
0.015856342390179634,
-0.08494659513235092,
0.013357389718294144,
0.02052520401775837,
0.013641968369483948,
0.026021121069788933,
-0.05182880908250809,
0.0034460644237697124,
0.03671059012413025,
-0.05335841700434685,
0.025202957913279533,
-0.08807695657014847,
-0.04514122009277344,
0.021876949816942215,
-0.053429558873176575,
-0.04062354192137718,
0.003601693082600832,
-0.012316901236772537,
0.03498533368110657,
-0.07089554518461227,
0.06499055027961731,
0.03461182489991188,
-0.022090384736657143,
0.0033882593270391226,
-0.02104100212454796,
0.03973423317074776,
0.024171361699700356,
-0.005420325789600611,
-0.0009087605285458267,
-0.003601693082600832,
-0.001379537396132946,
-0.044892214238643646,
-0.015180469490587711,
0.004404292441904545,
0.04215314984321594,
0.035963572561740875,
0.030307579785585403,
-0.03292214125394821,
0.013188421726226807,
0.04788028448820114,
-0.019315745681524277,
0.02546975016593933,
-0.014584633521735668,
0.02312198095023632,
-0.0267503522336483,
-0.05172209069132805,
0.00831946637481451,
-0.043576039373874664,
0.020293984562158585,
-0.038773782551288605,
0.028920261189341545,
0.02185916341841221,
0.022588396444916725,
-0.059085551649332047,
-0.06723160296678543,
-0.01406883541494608,
-0.06207362189888954,
0.011507631279528141,
0.020240625366568565,
-0.07519979029893875,
0.007892599329352379,
-0.027248363941907883,
-0.05300269275903702,
-0.026839282363653183,
0.02180580608546734,
0.04788028448820114,
-0.04201085865497589,
-0.005789387971162796,
-0.0024722733069211245,
-0.004606609698385,
-0.016140921041369438,
0.03349129855632782,
0.03884492814540863,
0.02257061004638672,
0.006576424930244684,
-0.004820043686777353,
0.010102526284754276,
-0.032904356718063354,
0.010529394261538982,
0.0627850666642189,
0.020916499197483063,
-0.010253708809614182,
0.024224720895290375,
-0.015500620007514954,
0.020703066140413284,
-0.00952447671443224,
0.036230362951755524,
-0.03347351402044296,
0.01772388629615307,
0.066342294216156,
-0.011516524478793144,
0.000852067198138684,
-0.029187053442001343,
-0.005758262239396572,
0.01772388629615307,
0.00836837850511074,
-0.0022710675839334726,
-0.0450345017015934,
0.007092222571372986,
-0.01837308146059513,
-0.02587883174419403,
0.035661209374666214,
-0.03639043867588043,
0.028564538806676865,
0.03343794122338295,
-0.04354046657681465,
0.0058560860343277454,
-0.04809371754527092,
-0.043825045228004456,
0.04279344901442528,
-0.05165094509720802,
0.014842532575130463,
-0.0154205821454525,
-0.017483774572610855,
0.053429558873176575,
-0.03941408172249794,
-0.02153901383280754,
0.04354046657681465,
0.024900594726204872,
-0.03966308757662773,
-0.03281542658805847,
0.031783830374479294,
-0.01853315718472004,
0.05712907761335373,
-0.022748470306396484,
-0.03646158427000046,
-0.007648039609193802,
-0.01278823334723711,
-0.11276412010192871,
-0.00450656283646822,
-0.08587147295475006,
-0.03425610437989235,
-0.05545717850327492,
0.08181623369455338,
0.02139672450721264,
0.05901440605521202,
-0.026821495965123177,
0.029240410774946213,
0.0024744966067373753,
-0.005184659268707037,
0.0037395355757325888,
0.014540168456733227,
-0.014042156748473644,
-0.05865868553519249,
0.02205481193959713,
-0.022374961525201797,
0.002556757302954793,
-0.0008037111256271601,
-0.010600538924336433,
-0.04033896327018738,
0.04325588792562485,
0.009942451491951942,
0.0031059044413268566,
0.0433981791138649,
-0.04218871891498566,
0.038204625248909,
0.0182841494679451,
-0.0008209414663724601,
0.05083278566598892,
-0.050263628363609314,
-0.012645944021642208,
-0.00582051370292902,
0.01524272095412016,
-0.0348074734210968,
-0.013028346002101898,
-0.013508572243154049,
-0.0006008379859849811,
-0.03420274332165718,
0.005384753458201885,
0.02609226480126381,
0.015580656938254833,
-0.006434135604649782,
0.045354653149843216,
-0.009364401921629906,
0.04325588792562485,
-0.046279530972242355,
-0.027426226064562798,
-0.041690707206726074,
0.04389619082212448,
0.011196373961865902,
-0.023708922788500786,
-0.009657872840762138,
-0.003332677762955427,
-0.06726717948913574,
-0.038524776697158813,
0.007412373088300228,
0.021983666345477104,
-0.015473940409719944,
0.011338663287460804,
-0.015189362689852715,
0.010805078782141209,
0.0035505578853189945,
-0.03260199353098869,
-0.0887172594666481,
0.00997802335768938,
-0.09327051043510437,
-0.030645515769720078,
0.03436281904578209,
-0.003577237017452717,
-0.050975073128938675,
0.07591123878955841,
0.020293984562158585,
0.10301731526851654,
0.046955406665802,
0.0373864620923996,
0.009640087373554707,
0.0021799136884510517,
-0.016887938603758812,
-0.008550685830414295,
-0.003944076132029295,
-0.04001881182193756,
0.005816067103296518,
-0.03196169063448906,
0.013037239201366901,
0.026839282363653183,
-0.006078412756323814,
0.0019409123342484236,
-0.01212125364691019,
0.06836991757154465,
-0.02159237302839756,
0.013926546089351177,
0.05125965178012848,
-0.0021632390562444925,
0.03646158427000046,
-0.0709666907787323,
0.008430629968643188,
0.05545717850327492,
-0.024171361699700356,
0.016558894887566566,
-0.010440463200211525,
-0.03706631436944008,
-0.00018203000945504755,
0.007736970204859972,
0.011978964321315289,
0.03934293985366821,
0.005571507848799229,
-0.007817007601261139,
-0.000991577166132629,
0.03559006378054619,
0.05385642871260643,
0.08210081607103348,
-0.009613407775759697,
-0.0011105220764875412,
0.00009129291720455512,
0.049445465207099915,
0.015473940409719944,
-0.010058061219751835,
-0.007101115770637989,
0.047560133039951324,
-0.05901440605521202,
-0.002894693985581398,
0.02185916341841221,
-0.015447261743247509,
-0.021005429327487946,
0.017901748418807983,
0.048876307904720306,
-0.008226089179515839,
-0.017999572679400444,
-0.03502090647816658,
0.013668647035956383,
-0.006483047269284725,
0.06157561019062996,
-0.09632972627878189,
0.03528770059347153,
-0.014362307265400887,
-0.006056180223822594,
-0.016630038619041443,
-0.009711232036352158,
-0.023904569447040558,
-0.0625004917383194,
0.04058796912431717,
0.05300269275903702,
-0.08878840506076813,
0.03352687135338783,
0.013046132400631905,
0.031570397317409515,
0.0327620655298233,
-0.0687967836856842,
0.07961075752973557,
0.05047706142067909,
0.00972901750355959,
0.025185171514749527,
-0.014131086878478527,
0.02573654241859913,
-0.024082431569695473,
0.023655563592910767,
0.046848688274621964,
-0.062109194695949554,
-0.049694471061229706,
-0.015785198658704758,
-0.032139550894498825,
0.014460130594670773,
0.014362307265400887,
-0.013819829560816288,
0.0027990934904664755,
-0.0436827577650547,
-0.03078780509531498,
-0.046741973608732224,
0.019831543788313866,
-0.007968190126121044,
0.007332335691899061,
0.0028724614530801773,
0.011712172068655491,
0.010645003989338875,
0.04343375191092491,
-0.0031814954709261656,
0.060330580919981,
-0.03706631436944008,
0.012699303217232227,
-0.013250673189759254,
-0.048769593238830566,
0.031214673072099686,
-0.01470024324953556,
0.0009504467598162591,
0.018799947574734688,
0.011649920605123043,
-0.032139550894498825,
0.02082756906747818,
-0.009462225250899792,
0.020863140001893044,
-0.015545085072517395,
-0.05691564455628395,
0.006678694859147072,
0.06872563809156418,
-0.02271289937198162,
0.06043729931116104,
-0.03491418808698654,
-0.03991209343075752,
-0.026110051199793816,
0.05844525247812271,
-0.022997476160526276,
-0.028368890285491943,
-0.04161956533789635,
0.0930570736527443,
0.03610586002469063,
0.07904160022735596,
0.04133498668670654,
-0.015447261743247509,
0.08060678094625473,
0.018497584387660027,
0.027177220210433006,
0.012076787650585175,
-0.05328727141022682,
-0.013455213978886604,
0.05399871617555618,
0.023442130535840988,
0.02899140492081642,
-0.019635897129774094,
-0.018213005736470222,
0.011445379815995693,
0.021414510905742645,
-0.027995381504297256,
-0.06652015447616577,
-0.008203856647014618,
-0.030414296314120293,
0.028155457228422165,
-0.006785411853343248,
-0.055101457983255386,
0.04389619082212448,
-0.014895890839397907,
-0.002836889121681452,
0.05236239358782768,
-0.03663944453001022,
0.028404463082551956,
0.023708922788500786,
-0.0341138131916523,
0.0024322543758898973,
-0.02980956807732582,
-0.013624181970953941,
0.04151284694671631,
-0.0002610949450172484,
0.032904356718063354,
0.00913318246603012,
0.0029280430171638727,
0.014104408212006092,
-0.043220315128564835,
0.011721065267920494,
0.007514643482863903,
0.07128684222698212,
-0.026323484256863594,
0.046990979462862015,
0.019315745681524277,
0.0005852751201018691,
0.033420152962207794,
-0.013330711051821709,
0.028244387358427048,
-0.030360938981175423,
0.022108169272542,
0.014442344196140766,
0.01406883541494608,
0.04930317774415016,
0.011045192368328571,
-0.024438153952360153,
0.014442344196140766,
-0.02399350143969059,
-0.04410962387919426,
0.013624181970953941,
0.04595938324928284,
-0.03845363110303879,
-0.004904527682811022,
0.06207362189888954,
0.02609226480126381,
0.002956945449113846,
-0.03258420526981354,
0.029649492353200912,
-0.024847235530614853,
0.021823592483997345,
-0.0000017673238517090795,
0.007021078374236822,
-0.00908427033573389,
0.02205481193959713,
0.0024455939419567585,
-0.0009654538589529693,
0.006096199154853821,
0.025505322962999344,
-0.0425800159573555,
-0.06310521811246872,
0.014148873277008533,
0.016194278374314308,
0.01719919592142105,
0.028706828132271767,
0.07164256274700165,
-0.03181940317153931,
0.04140613228082657,
0.015527298673987389,
-0.04332703351974487,
0.028457822278141975,
0.0510462187230587,
-0.046279530972242355,
0.036016929894685745,
-0.05200666934251785,
0.0041063749231398106,
0.0011171918595209718,
0.08750779926776886,
0.03941408172249794,
-0.07576894760131836,
-0.08978442847728729,
-0.026714779436588287,
0.019031168892979622,
-0.08338141441345215,
-0.04691983386874199,
0.032246269285678864,
0.023708922788500786,
-0.033153362572193146,
0.026821495965123177,
-0.009097609668970108,
0.007372354622930288,
-0.027123861014842987,
0.04624396190047264,
-0.046030525118112564,
-0.04247329756617546,
0.06602214276790619,
0.1023770123720169,
-0.04307802766561508,
-0.04186857119202614,
-0.029169267043471336,
0.005335841327905655,
-0.012539227493107319,
0.007092222571372986,
0.004190858919173479,
0.07363461703062057,
0.10949146747589111,
0.04958775267004967,
-0.04809371754527092,
-0.01031596027314663,
-0.05833853408694267,
0.06321193277835846,
0.018906665965914726,
0.03895164281129837,
0.002903587184846401,
0.03475411608815193,
-0.003868485102429986,
0.028617896139621735,
-0.021521227434277534,
0.06314079463481903,
0.015527298673987389,
-0.033775877207517624,
-0.016194278374314308,
-0.006438582204282284,
-0.0033882593270391226,
-0.028511179611086845,
-0.017119158059358597,
-0.005518149584531784,
-0.026376843452453613,
-0.059192270040512085,
0.04225986450910568,
0.008261661045253277,
0.004837829619646072,
-0.038880497217178345,
-0.04090811684727669,
0.03343794122338295,
0.028831331059336662,
0.04467878118157387,
0.05983256921172142,
-0.10002924501895905,
-0.06943708658218384,
-0.01715473085641861,
-0.022232672199606895,
-0.03802676498889923,
-0.02194809541106224,
-0.013561930507421494,
0.011623241938650608,
0.019209029152989388,
0.02118329145014286,
-0.04001881182193756,
-0.03436281904578209,
-0.04752456024289131,
-0.0077236308716237545,
-0.02072085067629814,
0.005060156341642141,
0.04866287484765053,
0.0701485276222229,
0.00885749701410532,
0.05058377608656883,
-0.07968190312385559,
-0.056382060050964355,
-0.007150027900934219,
-0.0200627651065588,
-0.004028560593724251,
-0.0305743720382452,
0.005202445667237043,
-0.041014835238456726,
0.025807686150074005,
-0.018515370786190033,
-0.02664363570511341,
0.04037453606724739,
-0.003808456938713789,
-0.05182880908250809,
-0.056702207773923874,
-0.0032704262994229794,
-0.012281328439712524,
-0.0172614473849535,
-0.048840735107660294,
-0.034629613161087036,
0.03681730851531029,
-0.04656410962343216,
-0.021521227434277534,
-0.03201504796743393,
0.01797289215028286,
0.06221591308712959,
0.033615801483392715,
0.046741973608732224,
-0.01960032433271408,
-0.021716875955462456,
0.027835307642817497,
-0.036265935748815536,
-0.041370559483766556,
-0.023957928642630577,
0.016220958903431892,
0.016816794872283936,
0.02257061004638672,
0.034682970494031906,
0.006932147312909365,
0.009030912071466446,
0.01229911483824253,
-0.028564538806676865,
-0.010342639870941639,
0.05702235922217369,
0.01751045323908329,
0.011018512770533562,
-0.009373295120894909,
-0.041121553629636765,
-0.014611313119530678,
0.054852452129125595,
0.03201504796743393,
-0.057306937873363495,
-0.011303091421723366,
-0.03628372400999069,
-0.04097926244139671,
-0.019938262179493904,
0.016149813309311867,
0.07046867907047272,
0.004980118945240974,
-0.033775877207517624,
0.010573859326541424,
0.005953909829258919,
0.026483559980988503,
0.0027924238238483667,
-0.01490478403866291,
0.05958356335759163,
-0.0300230011343956,
0.017946213483810425,
0.056844498962163925,
0.02184137888252735,
-0.02980956807732582,
-0.006829877384006977,
-0.04823600873351097,
0.03909393399953842,
0.016683397814631462,
0.045923810452222824,
-0.002970285015180707,
-0.06911693513393402,
0.011970071122050285,
0.04172628000378609,
-0.04901859909296036,
-0.0425800159573555,
0.04279344901442528,
0.027088288217782974,
0.07897045463323593,
0.054852452129125595,
-0.019386891275644302,
-0.004462097305804491,
-0.01572294719517231,
0.05040591582655907,
0.0005686006043106318,
-0.012734875082969666,
0.04731112718582153,
0.0401255302131176,
0.033313438296318054,
0.03139253333210945,
-0.016772327944636345,
0.015634015202522278,
-0.0016341014998033643,
0.03265535086393356,
0.024633802473545074,
-0.0039307367987930775,
0.0393073670566082,
0.04133498668670654,
0.009693445637822151,
0.002347770379856229,
-0.06509726494550705,
-0.029382700100541115,
0.013410747982561588,
-0.024847235530614853,
0.03955637291073799,
-0.018711017444729805,
0.012352473102509975,
-0.04343375191092491,
-0.003995211329311132,
-0.012459189631044865,
0.01663893274962902,
0.01368643343448639,
0.0024433708749711514,
0.027995381504297256,
0.02470494620501995,
-0.007945957593619823,
0.01684347353875637,
-0.03477190062403679,
0.011018512770533562,
-0.006705373991280794,
-0.016203172504901886,
0.04706212133169174,
-0.014051049016416073,
0.054603446274995804,
-0.02546975016593933,
-0.024882808327674866,
-0.028920261189341545,
0.025487536564469337,
0.07246072590351105,
0.05762708932161331,
-0.017030227929353714,
-0.0376710407435894,
-0.03078780509531498,
0.04297130927443504,
-0.006861003115773201,
-0.05652434751391411,
0.029596135020256042,
-0.03368694707751274,
0.04457206279039383,
-0.041370559483766556,
-0.06819205731153488,
-0.028511179611086845,
0.0014984821900725365,
0.01705690659582615,
-0.050761640071868896,
0.033313438296318054,
0.0022054812870919704
] |
21,610 | delorean.interface | now |
Return a Delorean object for the current local date and time, setting the timezone to the local timezone of the
caller.
| def now():
"""
Return a Delorean object for the current local date and time, setting the timezone to the local timezone of the
caller.
"""
return Delorean(timezone=get_localzone())
| () | [
0.03982815146446228,
-0.029889250174164772,
0.06268037110567093,
0.018644507974386215,
0.002046044450253248,
-0.039574239403009415,
-0.025536447763442993,
0.037143923342227936,
-0.015398042276501656,
-0.003878982737660408,
-0.04294766113162041,
-0.011797911487519741,
-0.047300465404987335,
0.04178691282868385,
0.010736915282905102,
0.04421722888946533,
-0.06728708744049072,
0.010247224941849709,
-0.058182474225759506,
-0.03545721247792244,
0.0018873483641073108,
-0.05009351298213005,
0.008551444858312607,
0.022090477868914604,
0.014083133079111576,
0.06449403613805771,
-0.01544338371604681,
-0.0026343530043959618,
0.0025595391634851694,
-0.0025890113320201635,
0.030705401673913002,
0.014191953465342522,
-0.04788083955645561,
0.019533205777406693,
0.031467143446207047,
0.012568719685077667,
-0.04947686567902565,
0.015751708298921585,
-0.04512406140565872,
-0.021074824035167694,
0.02520998753607273,
-0.02196352183818817,
0.012886111624538898,
0.03304503485560417,
-0.020875319838523865,
0.025663403794169426,
0.05121798813343048,
-0.030741674825549126,
0.005114544183015823,
0.04766319692134857,
0.06844783574342728,
0.004792618099600077,
0.03768802434206009,
0.03351658582687378,
-0.019877802580595016,
-0.012813565321266651,
0.04875139892101288,
0.04497896879911423,
-0.02446638233959675,
-0.02121991664171219,
0.02724129520356655,
0.0150443771854043,
0.013928971253335476,
0.012115303426980972,
-0.017556307837367058,
0.04762692376971245,
-0.022090477868914604,
-0.025173714384436607,
0.035801809281110764,
0.04204082861542702,
0.006288894452154636,
0.004964916501194239,
-0.0023010913282632828,
0.028383906930685043,
0.06253527849912643,
-0.040481071919202805,
-0.07247418165206909,
-0.0183905940502882,
-0.034187644720077515,
0.005005724262446165,
-0.06619888544082642,
-0.0734172835946083,
-0.038739949464797974,
0.07022523134946823,
0.02987111359834671,
0.013584374450147152,
0.014055928215384483,
-0.006338770035654306,
0.011308221146464348,
0.005314047448337078,
-0.006207279395312071,
0.014164747670292854,
-0.009748466312885284,
0.044144682586193085,
-0.00685566570609808,
-0.029889250174164772,
0.007209330797195435,
0.01845407299697399,
-0.005304979160428047,
0.05466395616531372,
0.021909110248088837,
0.07167616486549377,
-0.08930502086877823,
-0.05103662237524986,
0.022924765944480896,
0.05513551086187363,
0.02145569398999214,
-0.025989864021539688,
0.005731191486120224,
-0.01722077839076519,
-0.08364637196063995,
-0.05528060346841812,
-0.025681540369987488,
0.02640700712800026,
0.015098786912858486,
-0.018753329291939735,
-0.04965823516249657,
0.023033585399389267,
-0.022217433899641037,
0.04178691282868385,
-0.06884684413671494,
0.01128101535141468,
-0.0032464659307152033,
-0.04827984422445297,
0.007984673604369164,
-0.003779230872169137,
0.023087995126843452,
-0.04886021837592125,
0.042222194373607635,
-0.013838287442922592,
0.006515602581202984,
0.05132680758833885,
-0.035910628736019135,
0.04541425034403801,
-0.03241024911403656,
0.0526326484978199,
0.05778346583247185,
0.04635735601186752,
-0.06935466825962067,
0.10316144675016403,
-0.014228226616978645,
0.037143923342227936,
0.0850973054766655,
0.0225438941270113,
-0.010492070578038692,
0.01605096273124218,
-0.0558609776198864,
-0.036418456584215164,
-0.07348982989788055,
0.03545721247792244,
0.10736915469169617,
-0.05658644437789917,
0.0144277298822999,
0.03725274279713631,
-0.019732709974050522,
-0.08183270692825317,
-0.037434108555316925,
-0.0010275563690811396,
0.01096362341195345,
-0.01971457339823246,
-0.0717124342918396,
0.014999035745859146,
-0.018408730626106262,
-0.026388870552182198,
0.020603269338607788,
0.025790361687541008,
0.010147472843527794,
0.03280925750732422,
0.014962761662900448,
0.008950452320277691,
0.010691573843359947,
-0.020566996186971664,
-0.04523288458585739,
0.03761547803878784,
-0.0577109195291996,
-0.021800290793180466,
-0.005930694751441479,
-0.008433557115495205,
0.026334460824728012,
-0.001698046806268394,
0.03928405046463013,
0.014436798170208931,
-0.06891939043998718,
-0.004640723112970591,
0.029617199674248695,
-0.01533456426113844,
0.004509232472628355,
0.001479273079894483,
0.027078066021203995,
0.03397000581026077,
0.008950452320277691,
0.058363839983940125,
0.01591493748128414,
-0.007064237259328365,
-0.014663507230579853,
-0.008234052918851376,
0.015153197571635246,
-0.0237771887332201,
-0.01889842189848423,
-0.006746845319867134,
-0.02631632424890995,
0.025554584339261055,
0.029036827385425568,
-0.09721261262893677,
0.014355183579027653,
0.08306600153446198,
-0.06474795192480087,
-0.01880773901939392,
-0.06206372380256653,
0.039066411554813385,
0.043129026889801025,
0.007363492622971535,
-0.017247984185814857,
0.013348597101867199,
-0.02172774448990822,
-0.014436798170208931,
-0.003745224792510271,
0.026552101597189903,
0.005336718633770943,
0.020548859611153603,
0.045776981860399246,
-0.03834094479680061,
-0.036617960780858994,
-0.059488315135240555,
0.05168954282999039,
-0.039973244071006775,
-0.009603372775018215,
-0.03629149869084358,
-0.05665899068117142,
-0.1748376041650772,
-0.016703883185982704,
-0.06220881640911102,
-0.06347838789224625,
-0.04642990231513977,
0.015135060995817184,
-0.033280808478593826,
0.030542170628905296,
-0.002647955436259508,
-0.0469377301633358,
-0.007449641823768616,
0.016440901905298233,
0.0000012088169114576885,
0.07544859498739243,
0.028003035113215446,
0.022126751020550728,
0.0250104833394289,
-0.03772429749369621,
0.020186126232147217,
-0.000931205227971077,
-0.007993741892278194,
-0.01920674555003643,
-0.012614062055945396,
-0.006152869202196598,
0.014826737344264984,
0.025064893066883087,
-0.012369216419756413,
0.04875139892101288,
0.0234688650816679,
0.01614164561033249,
-0.002165066311135888,
0.02582663483917713,
-0.0179281085729599,
-0.058980487287044525,
0.011834184639155865,
0.0018873483641073108,
0.030959315598011017,
-0.012777292169630527,
-0.047191645950078964,
0.034096959978342056,
-0.021600786596536636,
0.1092553660273552,
0.012568719685077667,
-0.007154920604079962,
-0.02914564684033394,
-0.07026150077581406,
-0.06899193674325943,
-0.0507827065885067,
-0.008614923804998398,
-0.0640224814414978,
0.008283928968012333,
-0.0500209666788578,
-0.017538171261548996,
-0.017501898109912872,
0.0073317536152899265,
-0.097575344145298,
0.005490880459547043,
-0.03848603740334511,
0.03242838755249977,
-0.007027964107692242,
0.0010037519969046116,
-0.009530826471745968,
0.01351182721555233,
0.006678832694888115,
-0.03823212534189224,
0.019224882125854492,
0.026062410324811935,
-0.03473174571990967,
-0.004892369732260704,
0.02693297155201435,
0.0147360535338521,
-0.025046756491065025,
-0.03289993852376938,
0.012369216419756413,
0.038739949464797974,
0.016876181587576866,
0.02508302964270115,
-0.01325791422277689,
-0.007635542657226324,
-0.021600786596536636,
-0.016395559534430504,
-0.03340776637196541,
-0.05314047634601593,
0.03273671120405197,
0.01801879331469536,
-0.02803931012749672,
-0.021183643490076065,
-0.017601648345589638,
-0.016985002905130386,
0.06293428689241409,
0.05179836228489876,
0.006719640456140041,
0.03221074491739273,
0.04135163500905037,
0.05945204198360443,
-0.0059080240316689014,
-0.014772326685488224,
-0.012659403495490551,
0.046574998646974564,
0.007408834528177977,
0.06177353486418724,
-0.07193008065223694,
-0.03426019102334976,
0.011607475578784943,
-0.0034232987090945244,
-0.02629818767309189,
0.07334473729133606,
0.0020596468821167946,
-0.012550583109259605,
0.003559323726221919,
-0.01971457339823246,
0.04461623728275299,
0.005246035289019346,
-0.08255816996097565,
0.01187952607870102,
-0.027622165158391,
0.034495968371629715,
0.02165519818663597,
0.02092972956597805,
0.09024812281131744,
-0.018290843814611435,
-0.06518322974443436,
-0.017846494913101196,
-0.03353472426533699,
0.0570942722260952,
-0.01574263907968998,
-0.012278533540666103,
0.032047517597675323,
0.031467143446207047,
-0.03027012199163437,
-0.02651582844555378,
-0.08857955038547516,
-0.002339631784707308,
0.031938694417476654,
0.00021395616931840777,
-0.006370509508997202,
-0.05419240519404411,
0.060104962438344955,
-0.014863010495901108,
0.04367312788963318,
-0.037434108555316925,
-0.006687901448458433,
-0.01117219589650631,
0.0231605414301157,
0.005141749046742916,
-0.01594214327633381,
-0.015216675586998463,
0.04715537279844284,
0.07425156980752945,
-0.057457007467746735,
0.04360058158636093,
-0.010492070578038692,
0.043745674192905426,
-0.02256203070282936,
0.02927260287106037,
0.046792637556791306,
0.025173714384436607,
0.040299706161022186,
0.010083994828164577,
-0.06978994607925415,
-0.02945397049188614,
0.0043029277585446835,
-0.09721261262893677,
0.017012206837534904,
0.050129786133766174,
-0.019587615504860878,
0.022779671475291252,
-0.03117695450782776,
-0.006003241520375013,
-0.050129786133766174,
0.0495494119822979,
0.08335618674755096,
-0.0051054758951067924,
-0.024847254157066345,
-0.024448245763778687,
0.0031376457773149014,
-0.006039514672011137,
0.04051734507083893,
0.01889842189848423,
-0.010736915282905102,
0.04381822049617767,
0.00024144456256181002,
-0.07943866401910782,
-0.03779684379696846,
0.01279542874544859,
0.03395186737179756,
0.021183643490076065,
-0.03188428655266762,
0.029689747840166092,
0.0877089872956276,
-0.030233846977353096,
0.004248517565429211,
-0.031213227659463882,
-0.01111778523772955,
-0.011516792699694633,
0.033190127462148666,
-0.003894852241501212,
-0.003994604106992483,
0.03079608455300331,
-0.06812137365341187,
0.006737777031958103,
0.0558609776198864,
-0.027712849900126457,
0.05165326967835426,
-0.03360727056860924,
0.05731191113591194,
0.045559342950582504,
0.028528999537229538,
-0.00035338191082701087,
-0.017864631488919258,
0.0481710247695446,
0.008156972005963326,
-0.004937711637467146,
0.027857942506670952,
-0.0443260483443737,
-0.046792637556791306,
-0.00036301702493801713,
-0.01759258098900318,
-0.011988346464931965,
0.039864424616098404,
-0.0048107546754181385,
0.027857942506670952,
-0.0022489484399557114,
0.03658168762922287,
-0.01695779711008072,
-0.022924765944480896,
-0.02477470599114895,
-0.02145569398999214,
-0.0016629069577902555,
0.021201780065894127,
0.030233846977353096,
0.027712849900126457,
-0.012586857192218304,
0.021310601383447647,
0.004819822963327169,
0.01774674281477928,
-0.009848217479884624,
-0.056441351771354675,
0.0022240106482058764,
-0.07410647720098495,
-0.017955314368009567,
0.04947686567902565,
0.03202937915921211,
-0.07581132650375366,
-0.031013725325465202,
0.03507634252309799,
-0.011471451260149479,
-0.041895732283592224,
0.001916820532642305,
-0.00520522752776742,
-0.020385630428791046,
-0.05473650246858597,
0.011952073313295841,
0.010791325010359287,
0.022416938096284866,
-0.016830841079354286,
-0.05031115561723709,
0.016794566065073013,
-0.0006993957795202732,
0.02121991664171219,
0.020385630428791046,
-0.046067170798778534,
0.025989864021539688,
0.010356045328080654,
-0.05353948473930359,
-0.03721646964550018,
0.0279304888099432,
-0.014318909496068954,
-0.03567485138773918,
-0.032373975962400436,
-0.025155577808618546,
0.003203391330316663,
0.01845407299697399,
-0.03605572134256363,
0.012532446533441544,
0.0027068997733294964,
-0.040589891374111176,
-0.012468968518078327,
-0.022580167278647423,
-0.009839149191975594,
0.038050755858421326,
0.025228124111890793,
0.0018408731557428837,
-0.029635338112711906,
-0.003962864633649588,
-0.007290945854038,
0.04664754495024681,
-0.018717054277658463,
-0.014962761662900448,
-0.010936418548226357,
-0.03928405046463013,
-0.022525757551193237,
0.07718971371650696,
0.06025005504488945,
0.014364251866936684,
-0.003366621444001794,
0.03242838755249977,
-0.04044479876756668,
0.05056506767868996,
0.00420544296503067,
0.049005310982465744,
0.03172105550765991,
-0.046683818101882935,
-0.002774912165477872,
0.010854803957045078,
0.0320112407207489,
0.029816703870892525,
-0.07261927425861359,
-0.06706944853067398,
-0.04439859464764595,
-0.032754845917224884,
0.0156972985714674,
-0.052487555891275406,
-0.008814427070319653,
0.030723538249731064,
-0.021491967141628265,
-0.04911413416266441,
-0.008814427070319653,
-0.02366836927831173,
0.0013693193905055523,
0.01294959057122469,
-0.017565375193953514,
-0.08306600153446198,
0.05357575789093971,
0.03750665858387947,
-0.012487105093896389,
0.030542170628905296,
0.025155577808618546,
0.05259637534618378,
0.022308118641376495,
0.02702365443110466,
-0.0279304888099432,
0.0380144827067852,
0.01810040883719921,
0.07762499898672104,
-0.018118545413017273,
-0.022489484399557114,
0.028619682416319847,
0.06877429783344269,
-0.004160101059824228,
-0.03166664391756058,
-0.02569967694580555,
0.029000554233789444,
0.08067195862531662,
0.0138110825791955,
-0.054917871952056885,
0.03150341659784317,
-0.03676305338740349,
0.003513982053846121,
0.04153300076723099,
-0.004033144563436508,
-0.02196352183818817,
0.0004242283175699413,
-0.049041587859392166,
-0.07414275407791138,
-0.038739949464797974,
-0.003792833536863327,
0.02551831118762493,
-0.0033938265405595303,
0.025355080142617226,
0.010673437267541885,
-0.00350491376593709,
0.012088097631931305,
-0.005286842584609985,
0.034387148916721344,
0.006946349050849676,
-0.05041997507214546,
-0.026171231642365456,
-0.02802117168903351,
0.03812330588698387,
0.012423627078533173,
-0.03344403952360153,
-0.001557487528771162,
0.023305635899305344,
-0.03527584671974182,
0.010609958320856094,
-0.003559323726221919,
-0.04534170404076576,
-0.032555341720581055,
-0.0243938360363245,
-0.036617960780858994,
-0.023650232702493668,
-0.03057844378054142,
-0.0010258560068905354,
0.03241024911403656,
0.06928212195634842,
-0.030505897477269173,
-0.018426869064569473,
0.013584374450147152,
-0.065872423350811,
0.03676305338740349,
-0.03589249402284622,
0.006715106312185526,
-0.012704744935035706,
-0.013919902965426445,
0.00752218859270215,
-0.026642784476280212,
0.030705401673913002,
-0.07515840977430344,
0.019877802580595016,
0.024158058688044548,
-0.009412937797605991,
0.004243983421474695,
-0.03823212534189224,
-0.036926284432411194,
-0.02702365443110466,
0.01218784973025322,
0.0032759380992501974,
-0.008764551021158695,
0.027386389672756195,
0.007694486994296312,
-0.06696062535047531,
0.060612790286540985,
0.02802117168903351,
-0.013158162124454975,
-0.05071016028523445,
-0.02296103909611702,
-0.04142418131232262,
-0.0800190344452858,
0.010074926540255547,
-0.011190332472324371,
-0.02132873795926571,
0.005295910872519016,
0.03221074491739273,
0.03282739222049713,
-0.054301224648952484,
-0.016023758798837662,
-0.022924765944480896,
0.058327566832304,
0.0450877882540226,
-0.024303153157234192,
0.0444711409509182,
-0.013919902965426445,
-0.01386549323797226,
0.003271403955295682,
0.01625046692788601,
0.037651751190423965,
-0.030360804870724678,
0.07668188959360123,
0.002883732318878174,
-0.012614062055945396,
0.007853182964026928,
0.005014792550355196,
0.0901755765080452,
-0.017075685784220695,
-0.0017615251708775759,
-0.011553065851330757,
0.007141318172216415,
0.07000759243965149,
0.01918860897421837,
0.012704744935035706,
0.027295704931020737,
0.04026343300938606,
0.0234688650816679,
0.011924867518246174,
0.007540325168520212,
0.05883539468050003,
0.006184608209878206,
-0.008066289126873016,
0.0036273363512009382,
-0.0053548552095890045,
0.021981658414006233,
-0.07247418165206909,
0.006361440755426884,
0.018027860671281815,
0.048606306314468384,
-0.00787131953984499,
-0.021582650020718575,
0.027150612324476242,
-0.03474988043308258,
0.01706661656498909,
0.025046756491065025,
0.0294721070677042,
0.03426019102334976,
0.000048317251639673486,
0.030614718794822693,
0.026679057627916336,
0.029109373688697815,
0.04153300076723099,
0.0023169610649347305,
-0.029744157567620277,
0.05901676043868065,
0.02103855088353157,
0.016486242413520813,
0.04091635346412659,
0.025445763021707535,
-0.007114113308489323,
-0.012532446533441544,
0.0010116867488250136,
0.0011743501527234912,
0.039247777312994,
-0.030560307204723358,
-0.033063169568777084,
0.024158058688044548,
-0.026443282142281532,
0.057565826922655106,
0.02713247574865818,
-0.023251226171851158,
-0.056840360164642334,
-0.03282739222049713,
-0.027150612324476242,
-0.03848603740334511,
0.04102517291903496,
0.024520793929696083,
0.021292462944984436,
-0.020403767004609108,
-0.022017931565642357,
0.006474795285612345,
0.029508380219340324,
-0.025064893066883087,
-0.011924867518246174,
-0.041206538677215576,
0.06743218004703522,
-0.01722077839076519,
0.061011794954538345,
-0.008016413077712059,
-0.011915799230337143,
-0.026987381279468536,
-0.06797628104686737,
-0.019369974732398987,
0.06518322974443436,
0.035928767174482346,
-0.02693297155201435,
0.0012457632692530751,
0.0088869733735919,
-0.004688332322984934,
-0.02091159299015999,
-0.008279395289719105,
0.00401727482676506,
0.004078486002981663,
0.005236966535449028,
-0.03259161487221718,
-0.03077794797718525,
0.017674196511507034,
0.016567857936024666,
-0.007145852316170931,
-0.011244742199778557,
-0.001760391634888947,
0.04849748685956001
] |
21,611 | delorean.interface | parse |
Parses a datetime string and returns a `Delorean` object.
:param datetime_str: The string to be interpreted into a `Delorean` object.
:param timezone: Pass this parameter and the returned Delorean object will be normalized to this timezone. Any
offsets passed as part of datetime_str will be ignored.
:param dayfirst: Whether to interpret the first value in an ambiguous 3-integer date (ex. 01/05/09) as the day
(True) or month (False). If yearfirst is set to True, this distinguishes between YDM and YMD.
:param yearfirst: Whether to interpret the first value in an ambiguous 3-integer date (ex. 01/05/09) as the
year. If True, the first number is taken to be the year, otherwise the last number is taken to be the year.
.. testsetup::
from delorean import Delorean
from delorean import parse
.. doctest::
>>> parse('2015-01-01 00:01:02')
Delorean(datetime=datetime.datetime(2015, 1, 1, 0, 1, 2), timezone='UTC')
If a fixed offset is provided in the datetime_str, it will be parsed and the returned `Delorean` object will store a
`pytz.FixedOffest` as it's timezone.
.. doctest::
>>> parse('2015-01-01 00:01:02 -0800')
Delorean(datetime=datetime.datetime(2015, 1, 1, 0, 1, 2), timezone=pytz.FixedOffset(-480))
If the timezone argument is supplied, the returned Delorean object will be in the timezone supplied. Any offsets in
the datetime_str will be ignored.
.. doctest::
>>> parse('2015-01-01 00:01:02 -0500', timezone='US/Pacific')
Delorean(datetime=datetime.datetime(2015, 1, 1, 0, 1, 2), timezone='US/Pacific')
If an unambiguous timezone is detected in the datetime string, a Delorean object with that datetime and
timezone will be returned.
.. doctest::
>>> parse('2015-01-01 00:01:02 PST')
Delorean(datetime=datetime.datetime(2015, 1, 1, 0, 1, 2), timezone='America/Los_Angeles')
However if the provided timezone is ambiguous, parse will ignore the timezone and return a `Delorean` object in UTC
time.
>>> parse('2015-01-01 00:01:02 EST')
Delorean(datetime=datetime.datetime(2015, 1, 1, 0, 1, 2), timezone='UTC')
| def parse(datetime_str, timezone=None, dayfirst=True, yearfirst=True):
"""
Parses a datetime string and returns a `Delorean` object.
:param datetime_str: The string to be interpreted into a `Delorean` object.
:param timezone: Pass this parameter and the returned Delorean object will be normalized to this timezone. Any
offsets passed as part of datetime_str will be ignored.
:param dayfirst: Whether to interpret the first value in an ambiguous 3-integer date (ex. 01/05/09) as the day
(True) or month (False). If yearfirst is set to True, this distinguishes between YDM and YMD.
:param yearfirst: Whether to interpret the first value in an ambiguous 3-integer date (ex. 01/05/09) as the
year. If True, the first number is taken to be the year, otherwise the last number is taken to be the year.
.. testsetup::
from delorean import Delorean
from delorean import parse
.. doctest::
>>> parse('2015-01-01 00:01:02')
Delorean(datetime=datetime.datetime(2015, 1, 1, 0, 1, 2), timezone='UTC')
If a fixed offset is provided in the datetime_str, it will be parsed and the returned `Delorean` object will store a
`pytz.FixedOffest` as it's timezone.
.. doctest::
>>> parse('2015-01-01 00:01:02 -0800')
Delorean(datetime=datetime.datetime(2015, 1, 1, 0, 1, 2), timezone=pytz.FixedOffset(-480))
If the timezone argument is supplied, the returned Delorean object will be in the timezone supplied. Any offsets in
the datetime_str will be ignored.
.. doctest::
>>> parse('2015-01-01 00:01:02 -0500', timezone='US/Pacific')
Delorean(datetime=datetime.datetime(2015, 1, 1, 0, 1, 2), timezone='US/Pacific')
If an unambiguous timezone is detected in the datetime string, a Delorean object with that datetime and
timezone will be returned.
.. doctest::
>>> parse('2015-01-01 00:01:02 PST')
Delorean(datetime=datetime.datetime(2015, 1, 1, 0, 1, 2), timezone='America/Los_Angeles')
However if the provided timezone is ambiguous, parse will ignore the timezone and return a `Delorean` object in UTC
time.
>>> parse('2015-01-01 00:01:02 EST')
Delorean(datetime=datetime.datetime(2015, 1, 1, 0, 1, 2), timezone='UTC')
"""
dt = capture(datetime_str, dayfirst=dayfirst, yearfirst=yearfirst)
if timezone:
dt = dt.replace(tzinfo=None)
do = Delorean(datetime=dt, timezone=timezone)
elif dt.tzinfo is None:
# assuming datetime object passed in is UTC
do = Delorean(datetime=dt, timezone='UTC')
elif isinstance(dt.tzinfo, tzoffset):
utcoffset = dt.tzinfo.utcoffset(None)
total_seconds = (
(utcoffset.microseconds + (utcoffset.seconds + utcoffset.days * 24 * 3600) * 10**6) / 10**6)
tz = pytz.FixedOffset(total_seconds / 60)
dt = dt.replace(tzinfo=None)
do = Delorean(dt, timezone=tz)
elif isinstance(dt.tzinfo, tzlocal):
tz = get_localzone()
dt = dt.replace(tzinfo=None)
do = Delorean(dt, timezone=tz)
else:
dt = pytz.utc.normalize(dt)
# making dt naive so we can pass it to Delorean
dt = dt.replace(tzinfo=None)
# if parse string has tzinfo we return a normalized UTC
# delorean object that represents the time.
do = Delorean(datetime=dt, timezone='UTC')
return do
| (datetime_str, timezone=None, dayfirst=True, yearfirst=True) | [
0.009366847574710846,
0.038614965975284576,
0.0513792484998703,
-0.01596541702747345,
-0.02911222167313099,
-0.035816490650177,
-0.01109324675053358,
0.05810364708304405,
-0.007157258223742247,
-0.03166910633444786,
-0.03732645884156227,
0.06430459022521973,
-0.04231942817568779,
0.050171270966529846,
0.02611241489648819,
0.04864116758108139,
-0.07767286151647568,
0.08842384815216064,
-0.02603188343346119,
0.005410726182162762,
-0.03551449626684189,
-0.050412867218256,
-0.021179847419261932,
0.017012329772114754,
-0.012623349204659462,
0.04340660572052002,
0.01526076439768076,
-0.012603216804564,
-0.017626384273171425,
0.010152031667530537,
0.06104305759072304,
0.0324140228331089,
-0.09116192162036896,
0.04042693227529526,
-0.03907802328467369,
-0.02651507407426834,
-0.019679943099617958,
0.05045313388109207,
-0.05447971820831299,
0.0452185682952404,
-0.050171270966529846,
0.0008889948949217796,
0.03448771685361862,
0.01695192977786064,
-0.033299874514341354,
0.028045177459716797,
-0.04763452336192131,
0.005833517760038376,
-0.0769883394241333,
0.03251468762755394,
0.033803194761276245,
-0.001639575813896954,
0.014646709896624088,
-0.017525719478726387,
0.004220366477966309,
-0.02401858940720558,
0.029877273365855217,
0.08399459719657898,
0.014324582181870937,
-0.015532558783888817,
-0.010011101141571999,
0.010982515290379524,
-0.03432665392756462,
0.06470724940299988,
-0.06635814905166626,
0.028951158747076988,
0.035393696278333664,
-0.061647042632102966,
-0.015321162529289722,
0.002765761921182275,
-0.012210624292492867,
0.023676330223679543,
0.007539783604443073,
-0.011455639265477657,
0.11057007312774658,
-0.00692069623619318,
-0.03211202844977379,
-0.04771505296230316,
-0.004366329871118069,
0.023736728355288506,
-0.011425440199673176,
-0.030159134417772293,
-0.017284123227000237,
-0.005320127587765455,
0.05778152123093605,
0.008415566757321358,
0.0062110102735459805,
-0.020394662395119667,
0.0448964424431324,
0.0225287526845932,
0.009356780909001827,
-0.044856175780296326,
0.02476350963115692,
0.03940015286207199,
-0.0455406978726387,
0.025991618633270264,
-0.0016911664279177785,
0.0010569790611043572,
0.012995809316635132,
-0.01697206310927868,
0.021481839939951897,
0.018069308251142502,
-0.09712127596139908,
-0.04763452336192131,
-0.038031112402677536,
-0.012864944525063038,
0.01405278779566288,
0.027481455355882645,
0.006060013081878424,
-0.02303207665681839,
-0.06120412051677704,
-0.06253289431333542,
-0.04139331355690956,
0.053835466504096985,
0.015129899606108665,
-0.04421192407608032,
0.0226092841476202,
-0.009341681376099586,
-0.03688353672623634,
0.0033093509264290333,
-0.036299679428339005,
0.0447353795170784,
-0.058425772935152054,
0.01575402170419693,
0.05991561338305473,
-0.023797128349542618,
0.022669684141874313,
-0.017012329772114754,
0.10517444461584091,
0.019025621935725212,
0.06317714601755142,
0.05307041481137276,
-0.023052209988236427,
-0.003915855661034584,
-0.02818610705435276,
0.05029207095503807,
0.025246698409318924,
0.03730632737278938,
-0.10759039968252182,
0.004975351504981518,
0.02377699501812458,
-0.04324554279446602,
0.06088199093937874,
-0.013539398089051247,
-0.048520371317863464,
-0.020102733746170998,
-0.01776731386780739,
-0.04686947166919708,
-0.046023886650800705,
0.07364626973867416,
0.013992388732731342,
-0.040286000818014145,
-0.018773961812257767,
0.01530103012919426,
-0.010499324649572372,
-0.08592735975980759,
-0.02635401114821434,
-0.011687167920172215,
-0.007157258223742247,
0.023213272914290428,
-0.026837201789021492,
-0.005254695657640696,
0.023213272914290428,
0.03791031613945961,
0.03940015286207199,
-0.012250890024006367,
0.07815604656934738,
-0.03416558727622032,
-0.023555532097816467,
0.034064922481775284,
0.04787611588835716,
0.08093439787626266,
-0.024421248584985733,
0.038111645728349686,
-0.007041493430733681,
-0.008179004304111004,
0.021884499117732048,
0.028568632900714874,
-0.05568769574165344,
-0.029575280845165253,
0.051097385585308075,
0.06011693924665451,
-0.04030613228678703,
0.014465512707829475,
0.04195703566074371,
0.01808944158256054,
-0.025729889050126076,
0.028045177459716797,
0.009417179971933365,
0.035474229604005814,
-0.011425440199673176,
-0.004056786186993122,
0.026454675942659378,
0.01954907923936844,
-0.00381519109942019,
-0.0013791059609502554,
-0.027723049744963646,
0.03068259172141552,
-0.01933768391609192,
-0.00007046527025522664,
-0.05081552639603615,
0.06100279092788696,
0.012281090021133423,
-0.07272015511989594,
-0.006367040332406759,
0.04634601250290871,
-0.08592735975980759,
0.0016307675978168845,
-0.05544609948992729,
-0.021018782630562782,
-0.010771119967103004,
-0.0314476415514946,
0.04256102070212364,
-0.003885656362399459,
0.03269588574767113,
-0.038212310522794724,
0.015894951298832893,
0.025548692792654037,
0.0324140228331089,
-0.00421029981225729,
0.060076676309108734,
0.003148287534713745,
0.0384136363863945,
0.0006864072056487203,
0.09969829022884369,
-0.05331201106309891,
-0.017022395506501198,
-0.026575472205877304,
-0.02470310963690281,
-0.07590115815401077,
0.017737114802002907,
-0.09655755013227463,
-0.005737886298447847,
-0.04529910162091255,
0.11113379895687103,
-0.02470310963690281,
0.010740919969975948,
-0.023233406245708466,
-0.010222497396171093,
-0.015220497734844685,
0.01697206310927868,
-0.02196503058075905,
0.0004363184270914644,
-0.0226092841476202,
-0.016609670594334602,
0.01550235878676176,
-0.03174963593482971,
0.01201936136931181,
-0.026978131383657455,
-0.030219534412026405,
-0.010610056109726429,
-0.0033370337914675474,
0.011365041136741638,
0.03867536783218384,
-0.019941670820116997,
-0.02056579291820526,
0.06184837222099304,
0.0018849459011107683,
0.03392399474978447,
-0.01463664323091507,
0.03094431944191456,
-0.07046526670455933,
-0.03964174538850784,
-0.004313481040298939,
-0.06168730929493904,
-0.010222497396171093,
0.03535343334078789,
-0.04284288361668587,
0.02985714189708233,
-0.04703053459525108,
0.02911222167313099,
0.020364463329315186,
0.006638835184276104,
-0.01875382848083973,
-0.0518624372780323,
0.022508619353175163,
-0.006608635652810335,
-0.07819631695747375,
0.014465512707829475,
0.01674053445458412,
-0.048761967569589615,
-0.02560909278690815,
-0.03907802328467369,
0.012452219612896442,
-0.046507079154253006,
0.00782164465636015,
0.019458480179309845,
0.025347363203763962,
-0.014123253524303436,
0.053674403578042984,
0.00001764580883900635,
-0.06736479699611664,
0.015743954107165337,
-0.03132684528827667,
-0.01546209305524826,
0.03511183708906174,
-0.018824294209480286,
-0.015089633874595165,
-0.004371363203972578,
-0.02061612531542778,
-0.07074712961912155,
0.01904575526714325,
0.031206047162413597,
0.002634897828102112,
-0.022226758301258087,
-0.006779765710234642,
-0.006754599511623383,
-0.013277670368552208,
0.015874817967414856,
-0.040205467492341995,
-0.0019503779476508498,
-0.03025979921221733,
-0.026394275948405266,
0.02170330286026001,
-0.02919275499880314,
-0.0019025622168555856,
0.015160099603235722,
0.01479770615696907,
0.05512397363781929,
0.04771505296230316,
0.0020397179760038853,
0.012401887215673923,
0.01555269118398428,
0.04199729859828949,
0.030199401080608368,
-0.0037497589364647865,
-0.029071956872940063,
0.03867536783218384,
0.015190298669040203,
0.05560716241598129,
-0.03235362470149994,
-0.06893516331911087,
-0.023756861686706543,
0.008360200561583042,
0.047755319625139236,
-0.01596541702747345,
-0.020012136548757553,
-0.04260128736495972,
-0.0097242072224617,
0.025005104020237923,
0.05460051819682121,
-0.010338261723518372,
-0.029333684593439102,
-0.0006530620739795268,
0.03585675358772278,
-0.008269602432847023,
0.02130064368247986,
0.014143385924398899,
0.03784991428256035,
0.04501723870635033,
-0.014787640422582626,
0.007011294364929199,
-0.024320583790540695,
0.015572824515402317,
0.022468354552984238,
-0.017445188015699387,
0.024501780048012733,
0.012844812124967575,
0.0290920902043581,
-0.07924322783946991,
-0.045178305357694626,
-0.020918117836117744,
0.0071924906224012375,
-0.03283681347966194,
-0.021099314093589783,
-0.0885043814778328,
-0.020978517830371857,
-0.006553269922733307,
0.056895673274993896,
-0.03464877977967262,
-0.009422212839126587,
0.053593870252370834,
0.016196945682168007,
-0.08745746314525604,
-0.0023517783265560865,
-0.029796741902828217,
0.06285502016544342,
0.06382139772176743,
-0.046426545828580856,
0.05021153762936592,
-0.03640034422278404,
0.030038338154554367,
0.005773118697106838,
0.03152817487716675,
0.010740919969975948,
0.009598376229405403,
0.03752778843045235,
0.03118591383099556,
-0.026233213022351265,
0.00014785122766625136,
0.02085771970450878,
-0.011989162303507328,
0.02526683174073696,
0.025005104020237923,
-0.010740919969975948,
-0.0019101120997220278,
-0.0410107858479023,
-0.003482997650280595,
-0.06446565687656403,
0.032877080142498016,
0.030742989853024483,
-0.027380790561437607,
-0.024662844836711884,
0.03684327006340027,
0.03464877977967262,
0.04799691587686539,
0.06317714601755142,
0.02395819127559662,
-0.06221076473593712,
0.057902317494153976,
0.040708791464567184,
-0.08906809985637665,
-0.023173006251454353,
0.0000419960415456444,
-0.0024952255189418793,
0.04348713904619217,
-0.0444132536649704,
0.0512181855738163,
0.05057393014431,
-0.028910893946886063,
-0.015864752233028412,
-0.03716539591550827,
-0.030380597338080406,
-0.013811192475259304,
0.032293226569890976,
0.014415180310606956,
0.0066187018528580666,
0.0016043431824073195,
-0.02377699501812458,
-0.02119997888803482,
0.06349927186965942,
-0.01542182732373476,
-0.021824100986123085,
-0.06672054529190063,
0.0578620508313179,
0.03865523263812065,
0.01716332696378231,
0.03116578236222267,
0.05846603959798813,
0.0031357044354081154,
0.017364654690027237,
0.008637028746306896,
0.03692379966378212,
-0.022065695375204086,
-0.04590309038758278,
0.012844812124967575,
0.03768885135650635,
-0.007081759627908468,
-0.00777634559199214,
-0.004595342092216015,
0.015905017033219337,
-0.0025820487644523382,
-0.009583276696503162,
-0.004625541623681784,
-0.01920681819319725,
-0.038111645728349686,
0.03215229511260986,
0.055566899478435516,
-0.02077718824148178,
0.03732645884156227,
0.027723049744963646,
-0.0066136689856648445,
0.0016106347320601344,
0.024984970688819885,
-0.023595798760652542,
0.08351141214370728,
-0.016700269654393196,
0.03009873628616333,
-0.07509584724903107,
-0.051338981837034225,
-0.034205853939056396,
-0.019810806959867477,
-0.03474944457411766,
0.01825050450861454,
0.0025757572147995234,
0.018824294209480286,
0.002919275313615799,
-0.03464877977967262,
-0.006014714017510414,
0.032293226569890976,
-0.004303414840251207,
-0.021683169528841972,
0.014868171885609627,
-0.017354588955640793,
0.026837201789021492,
-0.04654734209179878,
0.018069308251142502,
-0.02818610705435276,
-0.023656196892261505,
0.005005550570785999,
-0.03334013745188713,
0.021501973271369934,
0.04831904172897339,
-0.05979481339454651,
0.028125708922743797,
-0.00700626103207469,
-0.023676330223679543,
-0.019861139357089996,
0.008163904771208763,
-0.07425025850534439,
-0.0009047237108461559,
0.04501723870635033,
0.007323354948312044,
-0.016196945682168007,
-0.020676523447036743,
0.04558096081018448,
0.012099893763661385,
0.010066467337310314,
-0.02728012576699257,
-0.012985742650926113,
-0.0452185682952404,
0.03682313486933708,
-0.010262763127684593,
0.033541467040777206,
-0.027743183076381683,
0.06076119467616081,
0.07304228097200394,
0.025709757581353188,
-0.0445743165910244,
-0.008264569565653801,
0.027984777465462685,
0.0439300611615181,
0.017475387081503868,
-0.002014551777392626,
0.008108539506793022,
0.0453796349465847,
-0.020434927195310593,
0.019055822864174843,
0.06800904870033264,
-0.030461128801107407,
0.023797128349542618,
-0.034286387264728546,
-0.009930569678544998,
0.004625541623681784,
0.07356574386358261,
-0.015431893989443779,
-0.03772911801934242,
-0.018683362752199173,
-0.0353332981467247,
0.0635395422577858,
-0.012683748267591,
0.0015426860190927982,
-0.06072092801332474,
0.0005001775571145117,
-0.026716403663158417,
0.004056786186993122,
0.05371466651558876,
0.03847403824329376,
-0.02311260811984539,
0.042037565261125565,
-0.02053559198975563,
-0.02850823476910591,
0.06120412051677704,
0.09398053586483002,
0.021642904728651047,
0.02468297630548477,
-0.04678893834352493,
0.018210239708423615,
0.013750794343650341,
0.00022161955712363124,
-0.0032665685284882784,
0.028669297695159912,
0.006115378811955452,
0.06909622997045517,
-0.028548499569296837,
-0.0036490943748503923,
-0.01547215972095728,
0.01196902897208929,
-0.02369646355509758,
0.021179847419261932,
-0.03968201205134392,
-0.011566370725631714,
-0.0005366685218177736,
0.029051823541522026,
-0.054761581122875214,
0.05355360358953476,
-0.052265096455812454,
-0.02810557559132576,
0.03267575055360794,
0.022669684141874313,
-0.01131470873951912,
0.006120412144809961,
-0.022387823089957237,
-0.027662651613354683,
-0.04807744547724724,
-0.0018018975388258696,
0.049849145114421844,
-0.007726013194769621,
-0.009512810967862606,
-0.05927135795354843,
0.015814419835805893,
-0.040869854390621185,
-0.0009305190178565681,
0.056654077023267746,
-0.04042693227529526,
-0.0577009879052639,
0.03195096552371979,
-0.00625630933791399,
0.02643454261124134,
-0.050010208040475845,
-0.07276042550802231,
-0.009548043832182884,
0.02792437933385372,
-0.023636065423488617,
0.04288315027952194,
0.058747902512550354,
0.008556497283279896,
-0.029555147513747215,
0.00961850956082344,
-0.049688082188367844,
0.028890760615468025,
0.001980577362701297,
0.011435506865382195,
0.018612897023558617,
0.013871591538190842,
-0.05347307398915291,
0.01042885985225439,
0.024984970688819885,
-0.07127058506011963,
-0.021139580756425858,
0.011385174468159676,
0.029716210439801216,
0.015190298669040203,
0.01575402170419693,
-0.024662844836711884,
-0.01251261867582798,
0.009316515177488327,
-0.047513723373413086,
0.030904052779078484,
-0.01321727130562067,
0.03358173370361328,
0.05005047470331192,
-0.04127251356840134,
-0.027380790561437607,
-0.021159714087843895,
-0.011948896571993828,
-0.004001420456916094,
-0.015864752233028412,
0.0010154548799619079,
-0.03702446445822716,
-0.043285809457302094,
0.02802504412829876,
0.04048733040690422,
0.008959155529737473,
-0.036380212754011154,
-0.00412473501637578,
0.005400659516453743,
-0.06825064867734909,
0.0314476415514946,
0.028286771848797798,
0.009392013773322105,
0.06965994834899902,
0.03342067077755928,
0.017807580530643463,
-0.056493014097213745,
-0.013791060075163841,
-0.005340260919183493,
0.03688353672623634,
0.017435120418667793,
0.011777766048908234,
0.03309854492545128,
-0.04239995777606964,
0.002001968678086996,
-0.024380983784794807,
0.026656005531549454,
0.050936322659254074,
0.008038073778152466,
0.03348106890916824,
0.023011943325400352,
-0.02024366520345211,
-0.026575472205877304,
0.010469125583767891,
0.10734880715608597,
0.030722856521606445,
0.07074712961912155,
-0.04159464314579964,
0.01974034123122692,
0.009996001608669758,
0.024219918996095657,
0.021018782630562782,
0.017545852810144424,
0.03784991428256035,
0.035635292530059814,
-0.0195289459079504,
-0.026656005531549454,
-0.0011450606398284435,
0.012482418678700924,
-0.04964781552553177,
0.05822444334626198,
-0.014324582181870937,
0.09494691342115402,
-0.0291726216673851,
-0.025709757581353188,
-0.03823244199156761,
0.0029847074765712023,
-0.021340910345315933,
-0.05854657292366028,
0.04413139075040817,
-0.05451998487114906,
-0.0029117255471646786,
0.031648971140384674,
0.007554883603006601,
0.00899438839405775,
0.023092474788427353,
0.00848603155463934,
0.006482804659754038,
-0.03799084573984146,
0.06792852282524109,
0.05061419680714607,
-0.02593121863901615,
0.02335420250892639,
0.019327616319060326,
0.0028035109862685204,
-0.032977744936943054,
0.027380790561437607,
-0.056493014097213745,
0.02619294635951519,
0.03334013745188713,
0.03185030072927475,
0.024320583790540695,
0.005974448285996914,
-0.07896136492490768,
-0.011516038328409195,
0.04072892665863037,
-0.019146420061588287,
-0.03416558727622032,
-0.05214430019259453,
-0.0005344664677977562,
-0.02651507407426834,
-0.020525526255369186,
-0.038695499300956726,
0.08665214478969574,
0.03730632737278938,
-0.020817453041672707,
-0.023334071040153503,
-0.0455406978726387,
0.019941670820116997,
0.003057689405977726,
0.030380597338080406,
-0.010992581956088543,
-0.03650100901722908,
0.009301415644586086,
-0.013096473179757595,
0.0025166168343275785,
-0.02011280134320259,
-0.004388979636132717,
-0.03742712363600731,
0.010217463597655296,
-0.02077718824148178,
0.009160485118627548,
-0.03476957604289055,
-0.06200943514704704,
-0.042440224438905716,
0.0033169009257107973,
-0.02595135197043419,
-0.04088998958468437,
-0.05528503656387329,
0.011556304059922695,
-0.0127240139991045,
-0.02703852951526642,
-0.023736728355288506,
-0.03509170562028885,
0.00383532396517694,
-0.021240245550870895,
0.012965609319508076,
-0.01808944158256054,
-0.01488830428570509,
0.023636065423488617
] |
21,612 | delorean.interface | range_daily |
This an alternative way to generating sets of Delorean objects with
DAILY stops
| def range_daily(start=None, stop=None, timezone='UTC', count=None):
"""
This an alternative way to generating sets of Delorean objects with
DAILY stops
"""
return stops(start=start, stop=stop, freq=DAILY, timezone=timezone, count=count)
| (start=None, stop=None, timezone='UTC', count=None) | [
0.02554083801805973,
-0.011126271449029446,
0.0005369035061448812,
-0.05466574430465698,
-0.03559710830450058,
0.02035611867904663,
-0.015336682088673115,
-0.062390632927417755,
-0.06416526436805725,
0.053621843457221985,
-0.010865295305848122,
0.022600511088967323,
0.01279651653021574,
0.004349597729742527,
0.02898572012782097,
0.03248279541730881,
-0.04151256009936333,
0.0597112774848938,
-0.011961393989622593,
0.03199564293026924,
0.01084789726883173,
-0.04252166673541069,
-0.014692941680550575,
-0.00019953779701609164,
-0.02230473794043064,
0.0487154945731163,
-0.01631969027221203,
0.015989121049642563,
-0.009743099100887775,
-0.006750575732439756,
0.004458337556570768,
0.020147336646914482,
-0.008773138746619225,
-0.003853743663057685,
0.04641890898346901,
-0.0021552257239818573,
-0.01615440659224987,
0.0346749946475029,
-0.05748428404331207,
0.08413861691951752,
0.008003260008990765,
-0.04509663209319115,
0.020373515784740448,
0.03535353019833565,
0.020686687901616096,
-0.001584341051056981,
0.039563942700624466,
-0.04262606054544449,
0.05222997069358826,
-0.03796328976750374,
0.018216116353869438,
0.05320427939295769,
0.03963353484869003,
-0.05369143560528755,
-0.02882913500070572,
0.034396618604660034,
-0.03470979258418083,
0.05564005672931671,
0.02030392363667488,
0.024792708456516266,
-0.009090659208595753,
-0.02712409198284149,
0.05066411569714546,
-0.016859041526913643,
-0.0058676074258983135,
0.026706531643867493,
-0.051220864057540894,
-0.0007497619371861219,
0.00003330160689074546,
0.023105064406991005,
0.0350925549864769,
-0.0005050970357842743,
0.009160253219306469,
0.015040908940136433,
0.013970908708870411,
0.03298734873533249,
-0.03236100822687149,
-0.03604946658015251,
0.00292292982339859,
-0.06232103705406189,
0.010082367807626724,
0.00951691996306181,
0.01641538180410862,
0.054804932326078415,
0.08253797143697739,
0.07411714643239975,
-0.022757096216082573,
0.00871659442782402,
0.03309173882007599,
-0.03293515369296074,
-0.00024588819360360503,
0.03671060502529144,
-0.008342528715729713,
0.03984231501817703,
-0.015397576615214348,
0.021260833367705345,
-0.05699713155627251,
0.027941817417740822,
-0.004662768915295601,
0.009925782680511475,
0.06649665534496307,
-0.019016440957784653,
-0.01446676254272461,
-0.01805952936410904,
-0.03401385620236397,
-0.03952914476394653,
-0.026184579357504845,
-0.04373955726623535,
-0.02093026414513588,
0.022896282374858856,
-0.035979874432086945,
0.09137634932994843,
0.0773184522986412,
0.03098653443157673,
-0.09304659813642502,
-0.008951472118496895,
0.03333531692624092,
0.019068636000156403,
-0.0035840687341988087,
-0.02856815792620182,
-0.09819652140140533,
0.0385548360645771,
-0.01546716969460249,
0.03994670510292053,
0.05083809792995453,
0.027245881035923958,
-0.03594507649540901,
-0.010569523088634014,
0.08288593590259552,
0.056544773280620575,
0.05055972561240196,
-0.04481825605034828,
0.02359221875667572,
-0.018946848809719086,
0.020651889964938164,
-0.04307841882109642,
0.06037241965532303,
0.05616200715303421,
-0.030342794954776764,
0.036188654601573944,
-0.01908603496849537,
0.033213529735803604,
0.03497076779603958,
0.04930704087018967,
-0.045305412262678146,
-0.0020301747135818005,
-0.025523440912365913,
0.0299078356474638,
-0.053830623626708984,
0.04641890898346901,
-0.0060241930186748505,
0.029820842668414116,
0.018999043852090836,
0.004290878307074308,
0.006202526390552521,
-0.04405272752046585,
-0.04694085940718651,
0.05640558525919914,
-0.010960986837744713,
0.021400021389126778,
-0.07349080592393875,
0.01861627958714962,
-0.06030282378196716,
-0.02759384922683239,
-0.03733694925904274,
-0.03164767473936081,
-0.029159704223275185,
0.04641890898346901,
0.012883508577942848,
0.014997413381934166,
-0.03493596985936165,
0.03234361112117767,
0.02949027344584465,
-0.006411307025700808,
0.005249964538961649,
-0.021243436262011528,
0.031160518527030945,
0.022861486300826073,
0.02235693298280239,
0.017467984929680824,
0.0008639388834126294,
-0.014301477931439877,
-0.045409802347421646,
-0.05598802492022514,
0.011291556060314178,
-0.01748538389801979,
-0.044957444071769714,
0.017511481419205666,
0.007298625074326992,
0.033718083053827286,
0.023244250565767288,
-0.0028120148926973343,
0.020965062081813812,
-0.015145299956202507,
-0.014371071010828018,
0.013736030086874962,
-0.042278092354536057,
0.02569742314517498,
-0.08323390781879425,
0.006285168696194887,
-0.013936111703515053,
0.09214188158512115,
0.006868015043437481,
-0.07676170021295547,
0.05811062827706337,
0.06604429334402084,
-0.024549130350351334,
-0.050803303718566895,
-0.02809840254485607,
-0.0002397715870756656,
0.03657141700387001,
-0.013849119655787945,
-0.023922787979245186,
-0.03688459098339081,
0.019016440957784653,
-0.0072246817871928215,
0.018755465745925903,
-0.037058573216199875,
0.04071223735809326,
-0.018842458724975586,
0.029055314138531685,
-0.05031614750623703,
0.0013516375329345465,
-0.05905013903975487,
0.014762534759938717,
-0.006424355786293745,
0.006311266683042049,
-0.04262606054544449,
-0.057727862149477005,
-0.051116473972797394,
-0.008629602380096912,
-0.052299562841653824,
0.03154328465461731,
-0.03796328976750374,
0.038798414170742035,
-0.02830718271434307,
0.015832535922527313,
0.03796328976750374,
0.04920265078544617,
0.031978242099285126,
-0.020286524668335915,
0.019399207085371017,
0.038694024085998535,
0.007590048015117645,
-0.028916126117110252,
0.004299577325582504,
-0.03580588847398758,
0.03872881829738617,
-0.020443109795451164,
-0.004390919115394354,
-0.01666765846312046,
-0.05633598938584328,
-0.009847489185631275,
0.040642641484737396,
0.06371290981769562,
0.002385754371061921,
0.03601466864347458,
-0.011587328277528286,
0.0292292982339859,
-0.035979874432086945,
0.004545329604297876,
0.033404912799596786,
-0.06218184903264046,
0.03077775426208973,
-0.026549944654107094,
0.07216852903366089,
-0.007081145420670509,
-0.03309173882007599,
-0.03486637771129608,
0.020547499880194664,
0.0244099423289299,
0.01471903920173645,
0.019868962466716766,
-0.019834166392683983,
0.004377870354801416,
0.03470979258418083,
0.019607987254858017,
-0.051012083888053894,
-0.023679209873080254,
-0.03098653443157673,
-0.05504851043224335,
0.013187980279326439,
-0.0242011621594429,
-0.004142991732805967,
-0.007794479373842478,
0.018685871735215187,
0.028289783746004105,
0.06148591637611389,
-0.0012113630073145032,
-0.0026837019249796867,
-0.007550901733338833,
-0.032795969396829605,
0.014858226291835308,
-0.05407420173287392,
0.03646702691912651,
0.055883634835481644,
0.06040721386671066,
-0.035979874432086945,
0.0019127356354147196,
0.025523440912365913,
0.01768546551465988,
-0.04426150768995285,
0.0402250811457634,
0.08740951865911484,
-0.06120754033327103,
-0.003520999336615205,
0.029403280466794968,
0.017528878524899483,
0.033317919820547104,
-0.07676170021295547,
-0.03841564804315567,
0.0057371193543076515,
-0.011187165975570679,
-0.06030282378196716,
-0.0393899567425251,
-0.03328312188386917,
-0.07095064222812653,
0.03246539831161499,
-0.027663441374897957,
0.04335679113864899,
-0.023679209873080254,
0.02862035296857357,
-0.005463094916194677,
-0.02087806910276413,
0.01948619820177555,
0.10731327533721924,
0.00035965736606158316,
0.004079922568053007,
-0.02651514858007431,
0.03952914476394653,
0.028133198618888855,
0.0018551035318523645,
0.014275380410254002,
0.07088104635477066,
0.022896282374858856,
0.008185943588614464,
0.037824101746082306,
0.019607987254858017,
-0.04286963492631912,
-0.014040501788258553,
-0.0031121373176574707,
0.052195172756910324,
-0.06750576198101044,
-0.0022030712570995092,
0.02385319396853447,
-0.04384394735097885,
0.03625824674963951,
-0.03942475467920303,
0.048089154064655304,
0.012483345344662666,
0.046906061470508575,
0.08720073848962784,
-0.008934074081480503,
0.022791892290115356,
0.07884950935840607,
-0.018859855830669403,
0.03410084545612335,
0.014527657069265842,
-0.008968871086835861,
-0.06333014369010925,
-0.023835796862840652,
0.013457655906677246,
0.015597658231854439,
0.009856188669800758,
-0.012570337392389774,
0.005389151629060507,
-0.017607172951102257,
0.00905586313456297,
-0.005971997976303101,
0.05765827000141144,
-0.023714007809758186,
0.02980344370007515,
0.026915311813354492,
0.006141632329672575,
0.04509663209319115,
-0.05779745429754257,
0.02287888526916504,
-0.0299078356474638,
-0.04753240570425987,
0.08170284330844879,
-0.038694024085998535,
0.038902804255485535,
0.02030392363667488,
0.048228342086076736,
0.07383877038955688,
-0.009212448261678219,
0.023209454491734505,
0.0019845040515065193,
0.022583112120628357,
0.023783601820468903,
0.04718443751335144,
-0.04081662744283676,
0.0016702455468475819,
0.05031614750623703,
-0.01882505975663662,
-0.05233436077833176,
-0.016371887177228928,
-0.004932444076985121,
0.011665621772408485,
-0.01169171929359436,
-0.008477366529405117,
0.014640746638178825,
0.013605542480945587,
0.03570149838924408,
0.026863116770982742,
-0.04440069571137428,
0.0347793847322464,
-0.11246319860219955,
-0.01323147676885128,
0.0015125726349651814,
0.03189125284552574,
-0.05163842439651489,
-0.028916126117110252,
0.013779525645077229,
-0.005906753707677126,
-0.054178591817617416,
-0.021887175738811493,
-0.04325240105390549,
0.04363516718149185,
0.009447326883673668,
0.028533361852169037,
-0.08274675160646439,
0.04283484071493149,
-0.006694030947983265,
0.043426383286714554,
-0.01671985350549221,
0.03298734873533249,
0.020147336646914482,
0.023296445608139038,
-0.0027598198503255844,
0.04708004742860794,
-0.0021432642824947834,
-0.05139484629034996,
-0.04112979769706726,
0.024114171043038368,
-0.020199531689286232,
-0.014588551595807076,
-0.026393359526991844,
0.051012083888053894,
-0.018216116353869438,
-0.02522766776382923,
-0.030708160251379013,
0.05278671905398369,
-0.016702456399798393,
-0.048228342086076736,
-0.0403294712305069,
-0.006250372156500816,
-0.025018887594342232,
0.019990751519799232,
-0.04307841882109642,
-0.029298890382051468,
-0.06889762729406357,
0.047671593725681305,
0.014049201272428036,
0.0346749946475029,
-0.012857411056756973,
-0.01671985350549221,
-0.012753020972013474,
-0.005263013299554586,
0.0011885275598615408,
0.1103058010339737,
-0.011883101426064968,
-0.03841564804315567,
-0.01969497837126255,
-0.025506041944026947,
0.031682468950748444,
-0.033056944608688354,
-0.01995595544576645,
0.021974168717861176,
-0.04391353949904442,
0.042243294417858124,
0.04349597916007042,
-0.00956911500543356,
-0.06642705947160721,
-0.03768491744995117,
0.009864888153970242,
-0.007168137468397617,
0.03872881829738617,
0.012935703620314598,
-0.06444364041090012,
0.04781077802181244,
-0.003603641875088215,
0.02211335487663746,
-0.00643740501254797,
-0.030394989997148514,
-0.031821656972169876,
0.016911236569285393,
-0.021730590611696243,
-0.06298217922449112,
0.051568832248449326,
0.019207824021577835,
-0.08587846159934998,
0.018703270703554153,
-0.04422670975327492,
0.02806360460817814,
-0.02898572012782097,
0.06917600333690643,
0.005567485466599464,
0.05943290516734123,
0.0012842187425121665,
-0.04360036924481392,
-0.017781155183911324,
0.01138724759221077,
0.034240033477544785,
0.006089436821639538,
0.014110095798969269,
0.033474504947662354,
0.0015201844507828355,
-0.01805952936410904,
-0.02959466353058815,
0.048645902425050735,
-0.0010700010461732745,
-0.026689132675528526,
0.02143481746315956,
0.01030854694545269,
-0.040955811738967896,
-0.008533910848200321,
-0.01835530251264572,
-0.01590212993323803,
-0.0007024600636214018,
-0.0033404910936951637,
0.04958541691303253,
0.006263420917093754,
0.06611388921737671,
0.010273749940097332,
-0.010882693342864513,
0.0023944536224007607,
-0.05466574430465698,
0.008668748661875725,
0.024027178063988686,
0.04579256474971771,
-0.021400021389126778,
0.0294380784034729,
-0.010969685390591621,
0.032082632184028625,
-0.025975799188017845,
-0.021173842251300812,
-0.04255646467208862,
-0.02775043435394764,
0.007094194181263447,
0.00698980363085866,
0.055361680686473846,
0.019573191180825233,
0.012022288516163826,
-0.0009308139560744166,
0.031264908611774445,
-0.007189885247498751,
-0.03324832767248154,
0.0974309891462326,
0.0012439850252121687,
-0.0024379496462643147,
0.021730590611696243,
0.03768491744995117,
-0.02522766776382923,
-0.04565338045358658,
-0.0008927549351938069,
-0.03343970701098442,
0.034240033477544785,
0.0005477774539031088,
0.04071223735809326,
-0.029420679435133934,
-0.027193685993552208,
0.022287338972091675,
0.05668395757675171,
-0.04109499976038933,
0.01584993489086628,
-0.005654477048665285,
-0.021365225315093994,
-0.036188654601573944,
0.01105667743831873,
-0.057519081979990005,
-0.02733287215232849,
0.02251351810991764,
0.03486637771129608,
0.022078558802604675,
0.02385319396853447,
-0.00928204134106636,
-0.09109798073768616,
-0.020530100911855698,
-0.09304659813642502,
-0.0711246207356453,
0.022704901173710823,
-0.037058573216199875,
-0.06750576198101044,
0.029316289350390434,
0.011300255544483662,
0.01631969027221203,
-0.024966690689325333,
-0.018094327300786972,
0.022913681343197823,
0.05932851508259773,
-0.008942773565649986,
-0.05202119052410126,
0.03556231036782265,
-0.0690368190407753,
-0.006911511067301035,
0.0007454123115167022,
-0.04586216062307358,
-0.014049201272428036,
0.03502296283841133,
-0.04534020647406578,
0.021173842251300812,
-0.024322951212525368,
-0.02806360460817814,
0.033404912799596786,
0.03952914476394653,
0.008686146698892117,
-0.09088919311761856,
-0.011578629724681377,
-0.06813210248947144,
-0.005993745755404234,
0.024810105562210083,
0.008877528831362724,
0.07119421660900116,
0.0037732762284576893,
-0.013796924613416195,
0.0343618243932724,
0.011395946145057678,
-0.03368328511714935,
-0.023887991905212402,
-0.03817206993699074,
-0.004371345974504948,
0.020547499880194664,
-0.039007194340229034,
-0.03531873598694801,
0.022687502205371857,
0.009064561687409878,
0.039007194340229034,
0.0029772997368127108,
0.019416604191064835,
0.023261649534106255,
0.024444740265607834,
-0.008790536783635616,
-0.028916126117110252,
-0.033718083053827286,
0.019764572381973267,
0.011500336229801178,
-0.022026363760232925,
-0.010386839509010315,
-0.0002369171561440453,
0.004438764415681362,
0.09235066175460815,
0.034605398774147034,
0.03056897409260273,
-0.03556231036782265,
-0.036293044686317444,
-0.021660996600985527,
-0.0037058573216199875,
-0.029420679435133934,
-0.03385727107524872,
-0.007981511764228344,
-0.03255239129066467,
0.007102893199771643,
0.03810247778892517,
-0.05616200715303421,
0.01913823001086712,
-0.0020040771923959255,
-0.05584883689880371,
0.034796781837940216,
-0.06099876016378403,
0.05689274147152901,
0.07481308281421661,
-0.03432702645659447,
-0.049515821039676666,
-0.04109499976038933,
0.016528472304344177,
0.03573629632592201,
0.0002736168971750885,
-0.03215222805738449,
0.01600652001798153,
0.046349313110113144,
0.005624029785394669,
0.03858963027596474,
0.012944403104484081,
-0.008773138746619225,
0.015441072173416615,
-0.05800623819231987,
0.025732221081852913,
-0.03227401524782181,
-0.03410084545612335,
-0.002994698006659746,
-0.01630229316651821,
0.005658826790750027,
0.011735214851796627,
-0.013074890710413456,
0.06493079662322998,
-0.038032881915569305,
-0.08671358227729797,
0.043774351477622986,
0.025993196293711662,
0.0397031307220459,
-0.017259204760193825,
-0.035057757049798965,
0.0201125405728817,
0.0402250811457634,
-0.014249282889068127,
-0.06159030646085739,
0.009682204574346542,
0.0012700825463980436,
-0.01995595544576645,
-0.014310176484286785,
0.05216037854552269,
0.0342574343085289,
0.04868070036172867,
0.014727738685905933,
-0.01599782146513462,
-0.021574005484580994,
0.016954733058810234,
0.02601059526205063,
0.07223811745643616,
0.0704982802271843,
0.02867254987359047,
-0.035979874432086945,
0.0021171667613089085,
-0.014988713897764683,
-0.02980344370007515,
-0.006324315443634987,
0.0033404910936951637,
-0.038694024085998535,
0.044539883732795715,
0.02435774728655815,
-0.0192252229899168,
-0.07108982652425766,
-0.010734807699918747,
-0.042347684502601624,
0.011230661533772945,
-0.04426150768995285,
0.07147259265184402,
-0.043565571308135986,
-0.009847489185631275,
-0.031108323484659195,
0.0015364954015240073,
0.0494462288916111,
-0.020530100911855698,
-0.03204783797264099,
0.02841157279908657,
-0.024427341297268867,
0.031630273908376694,
-0.012474646791815758,
-0.006968055851757526,
-0.01712871715426445,
-0.017781155183911324,
-0.038032881915569305,
0.043321993201971054,
-0.022687502205371857,
-0.020912867039442062,
-0.017259204760193825,
-0.01743318885564804,
-0.02435774728655815,
-0.008446918800473213,
-0.03925077244639397,
-0.024810105562210083,
-0.01671985350549221,
0.0098213916644454,
-0.06378250569105148,
-0.04276524484157562,
-0.03236100822687149,
-0.038137272000312805,
0.016189202666282654,
0.015119202435016632,
0.0201125405728817,
-0.03796328976750374,
-0.01402310375124216,
0.006502648815512657,
0.036432232707738876,
0.014797331765294075,
0.03768491744995117,
-0.0005200487794354558
] |
21,613 | delorean.interface | range_hourly |
This an alternative way to generating sets of Delorean objects with
HOURLY stops
| def range_hourly(start=None, stop=None, timezone='UTC', count=None):
"""
This an alternative way to generating sets of Delorean objects with
HOURLY stops
"""
return stops(start=start, stop=stop, freq=HOURLY, timezone=timezone, count=count)
| (start=None, stop=None, timezone='UTC', count=None) | [
0.0140838623046875,
-0.04811693727970123,
-0.037826236337423325,
-0.07804075628519058,
-0.05830227583646774,
0.013873131945729256,
0.004763401113450527,
-0.02288188599050045,
-0.12910792231559753,
0.03513941168785095,
-0.0052682776004076,
0.015304346568882465,
0.031153082847595215,
-0.010808750055730343,
0.012907280586659908,
0.03454234078526497,
-0.046606697142124176,
0.0024475541431456804,
-0.01687604933977127,
-0.018913118168711662,
0.03596477583050728,
-0.07326418161392212,
0.0027987726498395205,
0.003637306857854128,
-0.028343334794044495,
0.03371697664260864,
-0.03204869106411934,
0.037158917635679245,
-0.03090723045170307,
-0.026165779680013657,
0.0005589313223026693,
0.01427703257650137,
-0.033277954906225204,
-0.01197655126452446,
0.0561949647963047,
-0.023830177262425423,
-0.016630196943879128,
0.033558931201696396,
-0.004719499032944441,
0.09412655979394913,
0.015998004004359245,
-0.05514130741357803,
-0.008850706741213799,
0.052998874336481094,
0.023672128096222878,
-0.001116216299124062,
0.043164756149053574,
-0.006611688528209925,
0.08415195345878601,
-0.06504566967487335,
0.013284840621054173,
0.03527989983558655,
0.0034638927318155766,
-0.025287732481956482,
-0.021968718618154526,
0.018877996131777763,
-0.011598991230130196,
0.04288377985358238,
0.02922138012945652,
0.005536081735044718,
-0.054368626326322556,
-0.03807208687067032,
0.04116281121969223,
0.009746314026415348,
0.02144188992679119,
0.008890219032764435,
-0.06652078777551651,
-0.0034924291539937258,
0.013767765834927559,
0.022776521742343903,
0.06504566967487335,
0.018930677324533463,
0.039195988327264786,
0.022811641916632652,
0.001909750746563077,
0.030784303322434425,
-0.02953747659921646,
-0.019843846559524536,
-0.008407292887568474,
-0.04657157510519028,
-0.022618472576141357,
0.046255480498075485,
-0.0007518271449953318,
0.05320960655808449,
0.07347491383552551,
0.045553043484687805,
0.01353947352617979,
-0.0299589391797781,
-0.004423158243298531,
-0.007898026145994663,
-0.044815484434366226,
0.027307240292429924,
-0.014733617193996906,
0.0037580381613224745,
0.006102421786636114,
0.016349222511053085,
-0.08569731563329697,
0.036456480622291565,
-0.01605946756899357,
-0.04534231126308441,
0.06890907138586044,
-0.044815484434366226,
-0.0263765100389719,
0.04260280728340149,
-0.010949237272143364,
-0.03701843321323395,
-0.009649728424847126,
-0.020950185135006905,
-0.02953747659921646,
0.0006492054671980441,
-0.033594049513339996,
0.08408171683549881,
0.042427197098731995,
0.0036702335346490145,
-0.059672027826309204,
-0.004179500509053469,
0.022969691082835197,
0.05352570116519928,
0.019158970564603806,
-0.04657157510519028,
-0.08014806360006332,
0.015348249115049839,
-0.002838284708559513,
0.03139893710613251,
0.042708173394203186,
0.044499386101961136,
-0.035771604627370834,
-0.006383396685123444,
0.010492653585970402,
0.024813588708639145,
0.03276868909597397,
0.0021171891130506992,
0.019439944997429848,
-0.01301264576613903,
-0.012758012861013412,
-0.020985307171940804,
0.04825742542743683,
0.03807208687067032,
0.005039985757321119,
0.007213150151073933,
-0.02038823440670967,
0.042813535779714584,
0.01533068809658289,
0.04428865388035774,
-0.03835306316614151,
-0.0076346127316355705,
-0.03624575212597847,
0.010000946931540966,
-0.012995084747672081,
0.06595883518457413,
-0.01371508277952671,
0.0023136520758271217,
0.040635984390974045,
-0.0005043278215453029,
0.0008105465094558895,
-0.03729940578341484,
-0.04502621293067932,
0.07586319744586945,
-0.018175559118390083,
0.007871684618294239,
-0.0702085793018341,
0.042462319135665894,
-0.04681742936372757,
-0.026534559205174446,
-0.04881937429308891,
-0.012705329805612564,
0.013249718584120274,
0.032241858541965485,
0.028729675337672234,
0.011739479377865791,
-0.04783596098423004,
0.0010871310951188207,
0.05833739787340164,
0.013302401639521122,
0.022302376106381416,
-0.04298914596438408,
0.027605775743722916,
0.023531639948487282,
0.011265333741903305,
0.01565556600689888,
0.013952155597507954,
-0.023882858455181122,
-0.05313936248421669,
-0.05061058700084686,
0.0033431611955165863,
-0.017639949917793274,
0.0020765794906765223,
0.006462420802563429,
-0.029098454862833023,
0.026236023753881454,
-0.006299982313066721,
-0.022038962692022324,
0.014680934138596058,
-0.0015245078830048442,
-0.0046668159775435925,
0.0029590160120278597,
-0.01410142332315445,
0.025182368233799934,
-0.09553143382072449,
0.021389208734035492,
-0.05566813424229622,
0.07361540198326111,
-0.005228765774518251,
-0.09454802423715591,
0.07832173258066177,
0.056511059403419495,
-0.0031565765384584665,
-0.05661642551422119,
-0.0030534060206264257,
-0.0039841351099312305,
0.01973848044872284,
-0.03531502187252045,
-0.04256768524646759,
0.015936540439724922,
0.02642919309437275,
0.01761360839009285,
-0.04818718135356903,
-0.008306317962706089,
0.05043498054146767,
-0.01476873829960823,
0.019650675356388092,
-0.0598125122487545,
-0.002662675455212593,
-0.04600962623953819,
0.04298914596438408,
0.0176311694085598,
-0.013767765834927559,
-0.006256079766899347,
-0.07154320925474167,
-0.03584184870123863,
-0.000410761043895036,
-0.016551172360777855,
0.03378722071647644,
-0.031082838773727417,
0.01630531996488571,
0.030872108414769173,
0.004881937522441149,
0.01215216051787138,
0.0264467541128397,
0.031434059143066406,
-0.01108094397932291,
0.014031180180609226,
0.021687744185328484,
-0.011397041380405426,
-0.04983790963888168,
-0.0027768213767558336,
-0.037861354649066925,
0.010756067000329494,
0.0028229188174009323,
0.0058433981612324715,
-0.0422515869140625,
-0.018175559118390083,
0.008890219032764435,
0.02256578952074051,
0.03452477976679802,
-0.006572176702320576,
0.037861354649066925,
-0.020879941061139107,
0.028782358393073082,
-0.015831174328923225,
-0.010466312058269978,
0.02915113791823387,
-0.014391179196536541,
0.02750040963292122,
0.004164134617894888,
0.051980338990688324,
-0.00853022001683712,
-0.02042335644364357,
-0.042813535779714584,
0.00888143852353096,
-0.04744962230324745,
-0.025586269795894623,
-0.010071191005408764,
-0.01761360839009285,
0.012011673301458359,
0.042813535779714584,
0.04952181130647659,
-0.0705597996711731,
-0.022091645747423172,
-0.016077028587460518,
-0.04446426406502724,
0.0070726629346609116,
-0.016085809096693993,
-0.04074134677648544,
-0.006365835666656494,
0.01829848438501358,
0.020282870158553123,
0.07916465401649475,
0.006440469529479742,
-0.030714059248566628,
-0.024146273732185364,
-0.038563791662454605,
0.0015607272507622838,
-0.049451567232608795,
0.08661048859357834,
0.07112175226211548,
0.041303299367427826,
-0.041338421404361725,
0.026306267827749252,
0.0014641422312706709,
0.02042335644364357,
-0.02460285648703575,
0.00833704974502325,
0.04751986637711525,
-0.0528232641518116,
-0.00004458828698261641,
0.014496544376015663,
0.011897527612745762,
0.0667666420340538,
-0.056089598685503006,
-0.018017509952187538,
-0.012354111298918724,
-0.039968665689229965,
-0.06230616569519043,
-0.009544363245368004,
-0.005479008890688419,
-0.0528232641518116,
0.006949736271053553,
-0.04165451601147652,
0.04478036239743233,
-0.03477063402533531,
-0.014926787465810776,
0.033681854605674744,
-0.025217490270733833,
0.04088183492422104,
0.03684282302856445,
0.005057546775788069,
-0.01108094397932291,
-0.02604285255074501,
-0.020985307171940804,
-0.025182368233799934,
-0.030538450926542282,
0.021248720586299896,
0.06799590587615967,
-0.0028646260034292936,
0.008319488726556301,
0.044534508138895035,
0.04867888614535332,
-0.05173448845744133,
-0.014988250099122524,
0.026464315131306648,
0.051980338990688324,
-0.06490518152713776,
0.021406767889857292,
0.03347112610936165,
-0.031873080879449844,
0.011537528596818447,
-0.031802836805582047,
0.04074134677648544,
0.034366730600595474,
0.046325720846652985,
0.050470102578401566,
0.054684724658727646,
0.03276868909597397,
0.08963096886873245,
-0.016998976469039917,
0.03269844502210617,
-0.010387287475168705,
-0.003064381657168269,
-0.06255201995372772,
0.008635585196316242,
-0.011774600483477116,
0.029028210788965225,
0.007854124531149864,
-0.030503328889608383,
0.005031205248087645,
0.02711406908929348,
0.03584184870123863,
-0.037123799324035645,
0.03380478173494339,
-0.060058366507291794,
0.028993088752031326,
0.029379429295659065,
0.00951802171766758,
0.06933053582906723,
-0.028729675337672234,
0.05594911053776741,
0.004003891255706549,
-0.07537149637937546,
0.059672027826309204,
0.0010585945565253496,
0.039231110364198685,
0.002018408849835396,
0.038879889994859695,
0.042427197098731995,
0.0005641447496600449,
0.012389233335852623,
-0.001138167455792427,
0.04678230732679367,
0.02223213203251362,
0.044920846819877625,
-0.024392126128077507,
-0.0018142631743103266,
0.02216188795864582,
-0.007950709201395512,
-0.0024914564564824104,
-0.0076346127316355705,
0.0034726730082184076,
0.040319886058568954,
0.016287758946418762,
0.0022719448897987604,
-0.011203871108591557,
0.05675691366195679,
0.047063279896974564,
0.004939010366797447,
-0.03754526004195213,
0.022038962692022324,
-0.057564716786146164,
-0.006247299257665873,
-0.03835306316614151,
-0.01164289377629757,
-0.06859297305345535,
-0.014399959705770016,
0.00009390979539602995,
-0.024040907621383667,
-0.05535203963518143,
-0.02361944504082203,
-0.021757986396551132,
-0.007046321406960487,
0.044113047420978546,
0.04962717741727829,
-0.10058898478746414,
0.02751797065138817,
0.006304372567683458,
0.06062031537294388,
-0.03125844895839691,
0.02254822850227356,
-0.011010700836777687,
0.037194039672613144,
0.004899498540908098,
0.023408714681863785,
-0.011001920327544212,
-0.0386340357363224,
-0.05412277206778526,
0.0299589391797781,
-0.003365112468600273,
0.003220234764739871,
0.0011864600237458944,
0.08218513429164886,
-0.004811693914234638,
0.006256079766899347,
0.008029733784496784,
0.039231110364198685,
0.007406320422887802,
0.002056823344901204,
-0.05380667746067047,
-0.023496519774198532,
-0.03564868122339249,
0.05039985850453377,
-0.038212575018405914,
-0.01604190655052662,
-0.03933647274971008,
0.031451620161533356,
-0.011037042364478111,
0.0705246776342392,
-0.04709840193390846,
-0.02426919899880886,
-0.0003114320570603013,
0.0022653595078736544,
0.009790216572582722,
0.07445832341909409,
0.042040858417749405,
0.003207064000889659,
-0.02674528956413269,
-0.03621063008904457,
-0.009597046300768852,
-0.004317792598158121,
-0.02572675608098507,
0.018544338643550873,
-0.03722916170954704,
0.02428676001727581,
0.03621063008904457,
0.0011546309106051922,
-0.02748284861445427,
-0.01528678648173809,
0.008038514293730259,
0.0030424303840845823,
0.06490518152713776,
0.015980442985892296,
-0.06933053582906723,
0.06009348854422569,
0.0017769462428987026,
0.031556982547044754,
-0.0021556036081165075,
-0.019457506015896797,
-0.0015234103193506598,
0.0009762777481228113,
-0.028676992282271385,
-0.07003296911716461,
0.02288188599050045,
-0.01659507490694523,
-0.09412655979394913,
-0.01039606798440218,
-0.04330524429678917,
0.016428247094154358,
-0.031205765902996063,
0.09932459890842438,
0.012362891808152199,
0.05064570903778076,
0.011045822873711586,
-0.0352623388171196,
0.0031719421967864037,
0.052928630262613297,
-0.008697048760950565,
0.010150215588510036,
0.023847738280892372,
0.04860864207148552,
-0.022284815087914467,
-0.05064570903778076,
0.015752149745821953,
0.04674718528985977,
-0.007081443443894386,
-0.002191822975873947,
0.013583376072347164,
0.020317992195487022,
-0.04439401999115944,
-0.03159210458397865,
-0.034700389951467514,
-0.020581405609846115,
0.0034199904184788465,
-0.006774127017706633,
0.02743016555905342,
0.046255480498075485,
0.062446653842926025,
0.021371647715568542,
-0.01776287704706192,
0.012968744151294231,
-0.05075107514858246,
-0.0007507295813411474,
0.02216188795864582,
0.051945220679044724,
-0.03652672469615936,
-0.01497946958988905,
0.036035019904375076,
-0.0015760931419208646,
-0.027658458799123764,
-0.07178906351327896,
-0.0527178980410099,
-0.009359973482787609,
0.014891665428876877,
0.0004930778522975743,
0.038142330944538116,
0.015014591626822948,
0.003499014535918832,
-0.016902390867471695,
0.04337548837065697,
-0.014013619162142277,
-0.00553169148042798,
0.030468206852674484,
-0.0035977947991341352,
0.027201874181628227,
0.04811693727970123,
0.0635705515742302,
-0.007134126033633947,
-0.06195494532585144,
0.008205343037843704,
-0.02073945291340351,
0.017288731411099434,
-0.00033859661198221147,
0.052577413618564606,
-0.015558980405330658,
-0.024479931220412254,
-0.010325824841856956,
0.03559599816799164,
-0.05914519727230072,
0.006396567448973656,
-0.0013598741497844458,
0.021020429208874702,
-0.030538450926542282,
0.030415523797273636,
-0.0386340357363224,
0.02109067142009735,
0.012090697884559631,
-0.005430716555565596,
-0.017367755994200706,
0.013644839636981487,
0.01199411228299141,
-0.06300859898328781,
0.0011348748812451959,
-0.07270223647356033,
-0.0705246776342392,
0.03824769705533981,
-0.05426326021552086,
-0.07291296124458313,
0.05162912234663963,
0.03027503564953804,
0.0317852757871151,
-0.006032178178429604,
-0.0056677889078855515,
0.04759011045098305,
0.06915492564439774,
0.00042695002048276365,
-0.04003890976309776,
0.037861354649066925,
-0.07628466188907623,
0.0017132877837866545,
-0.016533611342310905,
-0.06915492564439774,
-0.027377484366297722,
0.07136760652065277,
-0.01726238988339901,
0.016963854432106018,
-0.007287784479558468,
-0.037194039672613144,
0.05324472859501839,
0.029116015881299973,
0.009649728424847126,
-0.07944563031196594,
-0.023795055225491524,
-0.08408171683549881,
0.00932485144585371,
0.026271145790815353,
0.011221432127058506,
0.039266228675842285,
-0.0029173088259994984,
-0.0003254259063396603,
0.044534508138895035,
0.004868766758590937,
-0.02008969895541668,
-0.04256768524646759,
-0.01898336037993431,
-0.009210705757141113,
0.017306292429566383,
0.013530693016946316,
-0.015251664444804192,
-0.017508242279291153,
0.020546283572912216,
0.03092479147017002,
-0.004076329991221428,
-0.009219486266374588,
0.015304346568882465,
0.019510189071297646,
-0.04330524429678917,
-0.04534231126308441,
-0.010694604367017746,
0.01269654929637909,
0.0016353612300008535,
-0.013846790418028831,
-0.008508268743753433,
-0.0008818877395242453,
-0.04607987031340599,
0.08415195345878601,
0.05830227583646774,
0.046220358461141586,
-0.031521860510110855,
0.0011930454056710005,
-0.015743369236588478,
0.008912170305848122,
-0.03687794506549835,
-0.03666721284389496,
0.013478010892868042,
-0.00756875891238451,
0.00614193407818675,
0.03266332298517227,
-0.07853245735168457,
0.02848382107913494,
-0.011950209736824036,
-0.07916465401649475,
0.047028157860040665,
-0.04822230339050293,
0.04499109089374542,
0.07958611845970154,
-0.04467499628663063,
-0.034647706896066666,
-0.027535531669855118,
0.019457506015896797,
0.03094235062599182,
0.007691685575991869,
-0.03417356312274933,
0.042743295431137085,
0.0316799096763134,
-0.00899119395762682,
0.016718002036213875,
0.0387394018471241,
-0.03412088006734848,
0.016981415450572968,
-0.07839197665452957,
0.02927406318485737,
-0.0842924416065216,
-0.024778466671705246,
0.03412088006734848,
-0.029783330857753754,
-0.015479955822229385,
-0.009825337678194046,
0.03761550411581993,
0.07298320531845093,
-0.021687744185328484,
-0.05882910266518593,
0.05742422863841057,
0.030152110382914543,
0.02398822456598282,
-0.013934594579041004,
-0.07621441781520844,
0.043796949088573456,
0.04460475221276283,
-0.007011199835687876,
-0.0706300437450409,
-0.01039606798440218,
0.06465932726860046,
-0.008929730392992496,
-0.032276980578899384,
0.039898425340652466,
0.009649728424847126,
0.04513157904148102,
0.020511161535978317,
-0.0025770659558475018,
-0.01180094201117754,
-0.011844844557344913,
0.07530125230550766,
0.03482331708073616,
0.0282028466463089,
0.013767765834927559,
-0.01896579936146736,
-0.01604190655052662,
-0.0002990845241583884,
-0.05535203963518143,
-0.011388260871171951,
0.0048292544670403,
0.000019876086298609152,
0.05875885859131813,
0.047625232487916946,
-0.006383396685123444,
-0.04825742542743683,
-0.026833094656467438,
-0.0772680714726448,
0.03066137619316578,
-0.025445781648159027,
0.06718809902667999,
-0.04955693334341049,
-0.014838982373476028,
-0.053350094705820084,
-0.017508242279291153,
0.02778138406574726,
0.015831174328923225,
-0.0036395019851624966,
0.01835116744041443,
-0.05169936642050743,
0.006782907526940107,
0.03236478567123413,
0.001113472506403923,
0.004469255451112986,
-0.029133576899766922,
-0.014461422339081764,
0.02741260454058647,
-0.032522834837436676,
-0.034981366246938705,
0.012477037496864796,
0.007292174734175205,
0.007024370599538088,
0.00897363293915987,
-0.0702788233757019,
-0.018157998099923134,
0.004908278584480286,
-0.01515507884323597,
-0.007063882425427437,
-0.009087779559195042,
-0.0704544335603714,
-0.0033848683815449476,
-0.04151402786374092,
0.025147246196866035,
0.0011535333469510078,
0.0386691577732563,
-0.0016068246914073825,
0.014285813085734844,
0.03552575409412384,
0.015479955822229385,
0.054754968732595444,
-0.00825363490730524
] |
21,614 | delorean.interface | range_monthly |
This an alternative way to generating sets of Delorean objects with
MONTHLY stops
| def range_monthly(start=None, stop=None, timezone='UTC', count=None):
"""
This an alternative way to generating sets of Delorean objects with
MONTHLY stops
"""
return stops(start=start, stop=stop, freq=MONTHLY, timezone=timezone, count=count)
| (start=None, stop=None, timezone='UTC', count=None) | [
0.026316305622458458,
0.030713899061083794,
-0.004423563368618488,
-0.0595233291387558,
-0.05678781867027283,
0.01753843203186989,
-0.004596696700900793,
-0.05017411336302757,
-0.08407367020845413,
0.03362254425883293,
0.0025104370433837175,
0.03912819176912308,
0.019633349031209946,
0.01003309153020382,
0.010613089427351952,
0.033051203936338425,
-0.024290641769766808,
0.00040307664312422276,
0.005566244944930077,
0.06471733748912811,
0.01448262482881546,
-0.03267030790448189,
0.011219056323170662,
0.04387205094099045,
-0.014179641380906105,
0.03047151118516922,
-0.011409503407776356,
0.01391994021832943,
-0.02087991125881672,
-0.008301755413413048,
-0.0012454797979444265,
0.03403806313872337,
-0.001433762488886714,
-0.019719915464520454,
0.028411222621798515,
-0.011651890352368355,
0.010881446301937103,
0.05983496829867363,
-0.07797937095165253,
0.06173943728208542,
0.03923207148909569,
-0.05779199302196503,
0.04691920429468155,
0.0685608983039856,
0.020602896809577942,
-0.03488641977310181,
0.051905449479818344,
-0.039612963795661926,
0.05879616737365723,
-0.036392681300640106,
0.022264979779720306,
0.04813113808631897,
0.04619204252958298,
-0.056268416345119476,
-0.03583865240216255,
0.07153879851102829,
-0.01341785304248333,
0.07839488983154297,
0.03923207148909569,
0.01937364786863327,
-0.025693025439977646,
-0.0118509940803051,
0.03048882447183132,
-0.04678069427609444,
-0.025364071130752563,
0.0020721927285194397,
-0.04792337864637375,
-0.007990115322172642,
0.026818392798304558,
0.05810363218188286,
0.008184890262782574,
0.015339636243879795,
-0.010682342574000359,
0.02037782408297062,
0.01381606049835682,
0.029536589980125427,
-0.019616035744547844,
-0.005882213823497295,
-0.03407268971204758,
-0.03663506731390953,
-0.005929825361818075,
0.03218553587794304,
-0.018594548106193542,
0.03228941559791565,
0.04487622529268265,
0.02401362918317318,
-0.004278563894331455,
-0.009920554235577583,
0.0002354887401452288,
-0.057445723563432693,
-0.05678781867027283,
0.042209967970848083,
0.029398083686828613,
0.04923919215798378,
-0.06031974405050278,
0.009176080115139484,
-0.07804862409830093,
0.027701374143362045,
-0.06035437062382698,
0.006825791671872139,
0.0433872789144516,
-0.010924729518592358,
-0.010820849798619747,
0.013868000358343124,
0.0014835384208709002,
-0.005228634458035231,
-0.04085952788591385,
-0.06731434166431427,
-0.04376817122101784,
0.01926976814866066,
-0.053740665316581726,
0.09743958711624146,
0.021053044125437737,
0.02512168325483799,
-0.08961394429206848,
0.030610019341111183,
-0.009020259603857994,
0.004075131844729185,
-0.0008618806605227292,
-0.00022061006166040897,
-0.061704810708761215,
0.014093074016273022,
0.026091231033205986,
0.02037782408297062,
0.03151031211018562,
0.0161533635109663,
0.033968809992074966,
0.008301755413413048,
0.05176694318652153,
0.01937364786863327,
-0.0023199901916086674,
-0.03888580575585365,
0.009859957732260227,
-0.023494228720664978,
-0.010318761691451073,
-0.024186762049794197,
0.06489046663045883,
0.012872482649981976,
-0.036184921860694885,
0.025450637564063072,
-0.033051203936338425,
0.062120333313941956,
0.017650969326496124,
0.030523451045155525,
-0.10948967933654785,
-0.027112720534205437,
-0.006817135028541088,
0.04407981038093567,
-0.051524557173252106,
0.025658398866653442,
0.00501654576510191,
-0.013521733693778515,
0.04096340760588646,
-0.03559626638889313,
0.0067522102035582066,
0.014690385200083256,
0.002315661869943142,
0.08532023429870605,
0.0020537972450256348,
0.06025049090385437,
-0.058865420520305634,
0.08227308094501495,
-0.07036148756742477,
0.001161077176220715,
-0.025693025439977646,
-0.011400846764445305,
0.00736250588670373,
-0.020827971398830414,
-0.029432710260152817,
0.010206225328147411,
-0.02733779326081276,
0.040824901312589645,
0.059973474591970444,
-0.03649656102061272,
-0.006899373605847359,
-0.01579844020307064,
0.034349702298641205,
0.020533643662929535,
0.015002025291323662,
0.07039611786603928,
0.006141914054751396,
-0.01523575559258461,
-0.053740665316581726,
-0.08490471541881561,
-0.0059038554318249226,
-0.015261725522577763,
-0.06444032490253448,
0.016369780525565147,
-0.0322721004486084,
-0.009738764725625515,
0.05900392681360245,
-0.019910363480448723,
0.02796107530593872,
-0.02946733683347702,
-0.07700981944799423,
0.001480292179621756,
-0.030004050582647324,
0.020239315927028656,
-0.05976571515202522,
-0.004155206028372049,
-0.022628560662269592,
0.08227308094501495,
-0.015711873769760132,
-0.021104983985424042,
0.07881040871143341,
0.059177059680223465,
-0.027493614703416824,
-0.021832145750522614,
-0.019529469311237335,
-0.000261458772001788,
0.05003560706973076,
-0.01956409588456154,
-0.015400232747197151,
0.004250429570674896,
0.0005407719290815294,
-0.014283521100878716,
-0.018525294959545135,
0.005566244944930077,
0.06146242469549179,
-0.013893970288336277,
0.02541601099073887,
-0.02574496529996395,
0.019010068848729134,
-0.024879297241568565,
0.021866772323846817,
-0.0024065568577498198,
0.011418160051107407,
-0.022074531763792038,
-0.06748747080564499,
-0.00744474446401,
-0.02725122682750225,
-0.05973108857870102,
0.022438112646341324,
-0.035769399255514145,
-0.002115475945174694,
-0.04619204252958298,
0.03343209624290466,
0.0337783619761467,
0.011565323919057846,
0.0454302541911602,
0.0024281986989080906,
0.013530390337109566,
0.032445233315229416,
0.025658398866653442,
-0.044149063527584076,
0.03905893862247467,
-0.02744167484343052,
0.019858423620462418,
-0.008518172428011894,
0.014499938115477562,
-0.04432220011949539,
-0.02160707116127014,
0.004042669199407101,
0.051316797733306885,
0.06478659063577652,
-0.015971573069691658,
0.030852405354380608,
0.004453861620277166,
0.03469597175717354,
-0.03317239508032799,
0.045984283089637756,
-0.019858423620462418,
-0.025398697704076767,
0.019650662317872047,
0.031423747539520264,
0.0585537813603878,
-0.010318761691451073,
-0.0040794601663947105,
0.018334846943616867,
0.0061159441247582436,
0.007639519404619932,
0.010881446301937103,
-0.00805504061281681,
-0.011045923456549644,
0.017477836459875107,
0.05065888911485672,
0.0348517931997776,
-0.08386591076850891,
-0.025052430108189583,
-0.005492663010954857,
-0.03460940346121788,
-0.012370394542813301,
0.01649097353219986,
-0.024290641769766808,
-0.008119964972138405,
-0.0014196954434737563,
0.05426006764173508,
0.0338129885494709,
-0.004269907251000404,
-0.016560228541493416,
-0.004449533298611641,
-0.023580795153975487,
-0.012647408992052078,
-0.022039905190467834,
0.06118541210889816,
0.02986554428935051,
0.05477946624159813,
-0.0443914532661438,
-0.005492663010954857,
0.008215188980102539,
-0.016023512929677963,
-0.04518786817789078,
0.056960951536893845,
0.0656522586941719,
-0.028774801641702652,
0.002698719734326005,
0.04601890966296196,
0.01625724323093891,
0.05367141216993332,
-0.030713899061083794,
-0.00633236113935709,
0.008072353899478912,
-0.03370910882949829,
-0.10214881598949432,
-0.037673868238925934,
-0.032254789024591446,
-0.0454302541911602,
0.018750367686152458,
-0.03293000906705856,
0.008050711825489998,
-0.012647408992052078,
-0.0393359512090683,
-0.0004182258271612227,
-0.018750367686152458,
0.030350318178534508,
0.09536197781562805,
-0.050797395408153534,
-0.010457268916070461,
0.004947292152792215,
0.0016880525508895516,
-0.011314280331134796,
-0.002235587453469634,
-0.008500859141349792,
0.07188506424427032,
-0.004027520306408405,
-0.06914955377578735,
0.031042853370308876,
0.011253682896494865,
-0.02685301937162876,
-0.005388782825320959,
0.024775417521595955,
0.020758718252182007,
-0.05976571515202522,
0.0054190815426409245,
0.014551877975463867,
0.014499938115477562,
0.046365175396203995,
-0.00864369422197342,
0.017884699627757072,
0.04169056937098503,
0.010535178706049919,
0.10429567098617554,
0.019442902877926826,
0.005644155200570822,
0.023771241307258606,
-0.01210203766822815,
0.033362843096256256,
-0.03549238666892052,
-0.03968221694231033,
-0.035873278975486755,
-0.0004750352818518877,
0.03462671861052513,
0.009868614375591278,
0.007249969057738781,
0.010275478474795818,
-0.02049901708960533,
-0.020758718252182007,
0.025970038026571274,
0.032635681331157684,
0.012179948389530182,
0.027268540114164352,
0.03530193865299225,
0.010336074978113174,
0.05803437903523445,
0.008730261586606503,
0.007565937936306,
0.006137585733085871,
-0.02612585946917534,
-0.09051424264907837,
0.032860755920410156,
-0.031198672950267792,
-0.020360510796308517,
0.026783766224980354,
0.04085952788591385,
0.06731434166431427,
0.02664525993168354,
0.01721813529729843,
-0.03905893862247467,
0.008492202498018742,
0.0393705777823925,
0.04054788500070572,
-0.018386786803603172,
-0.009427123703062534,
0.019754542037844658,
-0.005332514643669128,
-0.01694977842271328,
0.007479371037334204,
-0.031614191830158234,
0.06894179433584213,
-0.013461136259138584,
-0.017902012914419174,
0.04927381873130798,
-0.012205918319523335,
0.029709724709391594,
-0.020360510796308517,
0.0005432066391222179,
0.002060289727523923,
-0.07791011780500412,
0.008081010542809963,
0.023147961124777794,
0.012811885215342045,
-0.04155206307768822,
0.003276553237810731,
-0.045361001044511795,
-0.022870946675539017,
-0.07617878168821335,
0.019529469311237335,
-0.0767328068614006,
0.03995923325419426,
-0.010734282433986664,
0.06115078553557396,
-0.037777747958898544,
0.07396266609430313,
-0.031215986236929893,
0.06135854497551918,
-0.06779911369085312,
0.0464344285428524,
-0.045361001044511795,
-0.015270382165908813,
0.011669203639030457,
0.04463383927941322,
0.015850380063056946,
-0.05799975246191025,
-0.035977158695459366,
0.01836947351694107,
-0.019702602177858353,
-0.036877453327178955,
-0.03218553587794304,
0.04276399686932564,
-0.02018737606704235,
-0.021122297272086143,
-0.022126473486423492,
0.03590790554881096,
-0.009072200395166874,
-0.054848719388246536,
-0.03673894703388214,
-0.011522040702402592,
-0.057584233582019806,
0.01019756868481636,
-0.036565814167261124,
-0.07417043298482895,
0.0023784227669239044,
0.009002946317195892,
-0.018992755562067032,
0.0877441018819809,
-0.03499029949307442,
-0.004916993901133537,
-0.05024336650967598,
0.00870429165661335,
0.013582330197095871,
0.10914341360330582,
-0.002711704932153225,
-0.017573058605194092,
0.012500245124101639,
0.002726854057982564,
0.038297150284051895,
-0.0018298056675121188,
-0.0056744534522295,
0.01907932199537754,
-0.025571830570697784,
0.046988457441329956,
0.01578112691640854,
0.005540275014936924,
-0.06534061580896378,
-0.02380586788058281,
0.01159995049238205,
-0.04331802576780319,
0.027372419834136963,
0.019460216164588928,
-0.049793221056461334,
0.05308275669813156,
0.06786836683750153,
0.034315075725317,
0.0171575378626585,
-0.0696343332529068,
-0.0055749015882611275,
0.041932955384254456,
-0.04449533298611641,
-0.04259086400270462,
0.02574496529996395,
-0.005484006367623806,
-0.040928781032562256,
0.05412156134843826,
-0.03615029528737068,
0.012604125775396824,
-0.036981333047151566,
0.07513997703790665,
0.01721813529729843,
0.07340864092111588,
0.02844584919512272,
-0.03504223749041557,
0.006921015214174986,
0.01623992994427681,
0.0025190936867147684,
-0.008899066597223282,
0.029207635670900345,
-0.006293405778706074,
-0.050000980496406555,
-0.03902431204915047,
-0.028186148032546043,
0.013798747211694717,
-0.022472739219665527,
-0.04934307187795639,
0.048581283539533615,
0.015556053258478642,
-0.014378744177520275,
-0.03760461509227753,
-0.019304394721984863,
-0.013868000358343124,
-0.0006205757381394506,
-0.012275171466171741,
0.018819620832800865,
0.0077087730169296265,
0.007085492368787527,
0.006384300999343395,
-0.011617263779044151,
-0.03530193865299225,
-0.06447494775056839,
0.003174837213009596,
-0.015746500343084335,
0.03812401741743088,
-0.03691207990050316,
0.009375183843076229,
-0.010613089427351952,
0.003036330221220851,
-0.0069469851441681385,
-0.018646487966179848,
-0.019113948568701744,
0.044045183807611465,
0.042625490576028824,
-0.005981765687465668,
0.039924606680870056,
0.009487721137702465,
0.016040826216340065,
-0.03711984306573868,
0.059696462005376816,
0.007998771965503693,
-0.021624384447932243,
0.07943369448184967,
0.03293000906705856,
-0.009253989905118942,
0.02815152145922184,
0.0033890900667756796,
0.020931851118803024,
-0.03760461509227753,
-0.006254450883716345,
-0.022524679079651833,
0.037396855652332306,
0.037673868238925934,
0.01029279176145792,
-0.0013774940744042397,
-0.0007450154516845942,
0.034955672919750214,
0.07631728798151016,
-0.07039611786603928,
0.027770627290010452,
0.005375797860324383,
-0.021070357412099838,
-0.001495441421866417,
0.03985535353422165,
0.02077603153884411,
-0.07340864092111588,
0.01267337892204523,
0.01236173789948225,
0.03258374333381653,
0.020516330376267433,
0.03086971864104271,
-0.09397691488265991,
-0.02593541145324707,
-0.03694670647382736,
-0.058069005608558655,
0.04328339919447899,
-0.031839266419410706,
-0.07022298127412796,
0.024065569043159485,
0.05522961542010307,
-0.02403094246983528,
-0.05834601819515228,
0.0118509940803051,
0.010933386161923409,
0.042452357709407806,
0.03492104634642601,
-0.012959049083292484,
0.0083277253434062,
-0.07084626704454422,
-0.008609067648649216,
-0.027424359694123268,
-0.058484528213739395,
-0.013088899664580822,
0.0292595773935318,
-0.003841401543468237,
0.018992755562067032,
-0.020827971398830414,
0.0015527919167652726,
0.021104983985424042,
0.032860755920410156,
-0.013997850939631462,
-0.07998771965503693,
-0.013036958873271942,
-0.01966797560453415,
-0.05266723781824112,
-0.02735510654747486,
0.033743735402822495,
0.047161590307950974,
0.00048044571303762496,
-0.02451571635901928,
0.02259393408894539,
0.006856089923530817,
-0.0021847295574843884,
-0.04466846585273743,
-0.03258374333381653,
-0.012682035565376282,
0.01855992153286934,
-0.018196340650320053,
-0.01958140917122364,
0.04002848640084267,
-0.005687438417226076,
0.018005892634391785,
0.019858423620462418,
0.011721144430339336,
-0.011340250261127949,
0.021053044125437737,
0.017192166298627853,
-0.055333495140075684,
0.005514304619282484,
0.018836934119462967,
0.001333128660917282,
-0.02551989071071148,
-0.0008867686265148222,
-0.007094149012118578,
-0.01694977842271328,
0.058969300240278244,
0.05692632496356964,
-0.00236976589076221,
-0.057584233582019806,
0.009046230465173721,
0.015659933909773827,
0.030610019341111183,
0.006903701927512884,
0.0023935718927532434,
-0.026108546182513237,
-0.0231999009847641,
0.02887868322432041,
0.0484427772462368,
-0.03763924166560173,
0.015720529481768608,
-0.015157845802605152,
-0.02491392381489277,
0.04324876889586449,
-0.08843664079904556,
0.028515102341771126,
0.0363580547273159,
-0.04705771058797836,
-0.05013948678970337,
-0.029017189517617226,
-0.029744351282715797,
0.015954259783029556,
0.005038187373429537,
-0.05058963596820831,
0.03590790554881096,
0.06229346618056297,
0.015400232747197151,
0.04407981038093567,
0.0065790764056146145,
-0.012976362369954586,
0.05633766949176788,
-0.04702308401465416,
-0.0010350142838433385,
-0.04560338705778122,
-0.011539353989064693,
0.011167116463184357,
-0.02846316248178482,
-0.016222616657614708,
0.013833373785018921,
-0.022974826395511627,
0.0756940022110939,
-0.06468270719051361,
-0.006955641787499189,
0.025294817984104156,
0.019650662317872047,
0.04224459454417229,
-0.011219056323170662,
-0.008795185945928097,
0.041309673339128494,
0.029138382524251938,
0.0665525496006012,
-0.09799361228942871,
0.01488083228468895,
0.023078707978129387,
0.012976362369954586,
-0.016162021085619926,
0.004592368379235268,
0.02825540117919445,
0.04498010501265526,
-0.03166613355278969,
-0.05294425040483475,
-0.020637523382902145,
-0.011954874731600285,
0.05187082290649414,
0.045049358159303665,
0.06447494775056839,
0.027874507009983063,
0.002060289727523923,
-0.013331286609172821,
0.03400343656539917,
-0.03826252371072769,
-0.039820726960897446,
-0.0026121530681848526,
-0.013296660035848618,
0.029103755950927734,
0.02551989071071148,
-0.012240544892847538,
-0.062016453593969345,
-0.041309673339128494,
-0.04432220011949539,
-0.011296967044472694,
-0.04390667751431465,
0.07202357053756714,
-0.016681421548128128,
-0.04401055723428726,
-0.020637523382902145,
0.01472501177340746,
0.020706776529550552,
-0.003856550669297576,
-0.03109479323029518,
0.0064925095066428185,
-0.05862303450703621,
0.020758718252182007,
0.005795646924525499,
0.03570014610886574,
-0.011972188018262386,
0.002168498234823346,
0.019650662317872047,
0.059280939400196075,
-0.045464880764484406,
0.012491588480770588,
-0.04619204252958298,
0.030298378318548203,
-0.000474494241643697,
-0.019650662317872047,
-0.04113654047250748,
-0.054156187921762466,
-0.009833987802267075,
-0.001796260941773653,
-0.05259798467159271,
-0.03559626638889313,
-0.0068214633502066135,
-0.021451251581311226,
-0.006942656822502613,
-0.021745579317212105,
-0.011296967044472694,
-0.015850380063056946,
-0.044252946972846985,
-0.013989194296300411,
0.032133594155311584,
0.005198336206376553,
0.034765224903821945,
0.0030276735778898
] |
21,615 | delorean.interface | range_yearly |
This an alternative way to generating sets of Delorean objects with
YEARLY stops
| def range_yearly(start=None, stop=None, timezone='UTC', count=None):
"""
This an alternative way to generating sets of Delorean objects with
YEARLY stops
"""
return stops(start=start, stop=stop, freq=YEARLY, timezone=timezone, count=count)
| (start=None, stop=None, timezone='UTC', count=None) | [
-0.03193565085530281,
-0.009612124413251877,
-0.043407343327999115,
-0.03431030735373497,
-0.05978549271821976,
0.02814667485654354,
-0.031638819724321365,
-0.06432528048753738,
-0.04948367178440094,
0.015932904556393623,
0.019608383998274803,
-0.015513846650719643,
0.03593415394425392,
0.013645550236105919,
0.008254554122686386,
0.026592671871185303,
-0.036248449236154556,
0.028006989508867264,
-0.028006989508867264,
0.0033546402119100094,
-0.0025296213570982218,
-0.028391124680638313,
-0.030381646007299423,
0.01693689450621605,
-0.02392118237912655,
0.024619610980153084,
-0.01767897605895996,
0.03532303124666214,
-0.06383638083934784,
-0.03376902639865875,
0.0155487684533,
0.03427538648247719,
0.013619358651340008,
-0.02931654267013073,
0.054163143038749695,
-0.01684086211025715,
-0.026260918006300926,
0.03258169814944267,
-0.0007197089144028723,
0.06079821661114693,
0.02112746797502041,
-0.06401098519563675,
0.008499003946781158,
0.05182340741157532,
-0.013165379874408245,
-0.006766027770936489,
-0.011244701221585274,
-0.0419057197868824,
0.04686456173658371,
-0.02514343149960041,
0.002293901750817895,
0.040578704327344894,
0.03328012675046921,
-0.06345224380493164,
-0.03995012119412422,
0.02592916414141655,
-0.018822653219103813,
0.07424296438694,
0.06603643298149109,
0.023205291479825974,
-0.004609629046171904,
-0.05346471443772316,
0.006403717678040266,
-0.009070842526853085,
-0.017897235229611397,
-0.0012822713470086455,
-0.055175863206386566,
-0.002876653103157878,
0.024864060804247856,
0.05004241317510605,
-0.0003071994869969785,
0.03795959800481796,
0.010371665470302105,
0.03568970412015915,
-0.0029006614349782467,
0.04487404227256775,
-0.07878275215625763,
-0.009812923148274422,
-0.026697436347603798,
-0.06264904886484146,
0.01567099243402481,
0.047004248946905136,
0.012161388993263245,
0.04295336455106735,
0.050985291600227356,
0.025824399664998055,
-0.008529559709131718,
-0.03946121782064438,
0.00328916241414845,
-0.026976807042956352,
-0.07312548160552979,
0.0522424653172493,
0.04466451331973076,
0.02571963518857956,
-0.008774010464549065,
0.02051634155213833,
-0.05304565653204918,
0.04291843995451927,
0.009996260516345501,
-0.005360439885407686,
0.07089050859212875,
-0.024218013510107994,
-0.03355949744582176,
0.012397108599543571,
-0.0063557010143995285,
0.009778001345694065,
-0.035200804471969604,
-0.0610426664352417,
-0.031010232865810394,
0.006953730247914791,
-0.03610876202583313,
0.030434029176831245,
0.05133450776338577,
0.014099529013037682,
-0.10224995762109756,
-0.019887756556272507,
0.01536543108522892,
0.029770521447062492,
0.022297335788607597,
-0.012597907334566116,
-0.09310054033994675,
0.02135445736348629,
-0.002280806191265583,
0.05129958689212799,
0.04742330685257912,
0.030451489612460136,
0.01016213744878769,
0.02051634155213833,
0.025597410276532173,
0.008272014558315277,
0.02849588915705681,
-0.024671992287039757,
0.018857574090361595,
-0.06125219538807869,
0.016727367416024208,
-0.04585184156894684,
0.03392617404460907,
0.018054381012916565,
-0.014963834546506405,
0.008223997429013252,
-0.01567099243402481,
0.04312796890735626,
0.055350471287965775,
0.031586434692144394,
-0.06649041175842285,
0.029770521447062492,
-0.018421055749058723,
0.041800957173109055,
-0.003658020170405507,
0.07033176720142365,
0.01783612184226513,
-0.00012761328252963722,
0.058563243597745895,
-0.004280058201402426,
-0.020027441903948784,
-0.0466899573802948,
-0.042569227516651154,
0.03490397334098816,
0.004063981585204601,
0.03532303124666214,
-0.059925179928541183,
0.0614267997443676,
-0.06362684816122055,
-0.041381899267435074,
-0.02695934660732746,
-0.012798705138266087,
-0.02493390254676342,
0.02131953462958336,
-0.002313544973731041,
-0.016718635335564613,
-0.03245947137475014,
0.003928661346435547,
0.055385392159223557,
0.005159641616046429,
0.004875905346125364,
-0.023379899561405182,
0.03663258254528046,
0.04194064065814018,
-0.002557995030656457,
0.057550523430109024,
0.053394872695207596,
0.037784989923238754,
-0.08367175608873367,
-0.05859816446900368,
0.0035401603672653437,
-0.017216267064213753,
-0.05252183601260185,
0.015208284370601177,
0.02214018814265728,
0.02891494706273079,
0.02833874337375164,
0.002267710631713271,
0.029630836099386215,
-0.02556248940527439,
-0.03431030735373497,
0.003134198719635606,
-0.03317536041140556,
0.040997762233018875,
-0.05528062954545021,
0.002876653103157878,
0.003778062527999282,
0.10043404251337051,
-0.0187528096139431,
-0.0665951743721962,
0.06687454134225845,
0.05985533818602562,
-0.05465204268693924,
-0.03446745499968529,
-0.027413325384259224,
0.008263284340500832,
0.07249689847230911,
-0.025091050192713737,
-0.032983291894197464,
-0.00978673156350851,
0.000588753551710397,
-0.03726116940379143,
-0.007272388320416212,
-0.027378404513001442,
0.04850587248802185,
-0.011323275044560432,
0.03935645520687103,
-0.025387881323695183,
0.03733101114630699,
-0.08681468665599823,
0.05164879932999611,
-0.042010482400655746,
0.009454977698624134,
-0.01835121400654316,
-0.06530307978391647,
-0.008031929843127728,
-0.04026441276073456,
-0.06690946966409683,
0.012938391417264938,
-0.054756809026002884,
0.0014121354324743152,
-0.02772761881351471,
0.04504865035414696,
0.06023947149515152,
-0.016884513199329376,
0.03911200538277626,
-0.009009730070829391,
0.019817912951111794,
0.0277450792491436,
0.003799888538196683,
-0.0681317150592804,
0.02730856090784073,
-0.02908955328166485,
0.009795461781322956,
-0.02832128293812275,
0.012065354734659195,
-0.06222999468445778,
-0.03160389885306358,
0.012807435356080532,
0.053394872695207596,
0.05231230705976486,
-0.023886259645223618,
0.03364679962396622,
-0.05430283024907112,
0.02112746797502041,
-0.022611627355217934,
-0.0018912138184532523,
0.04326765611767769,
-0.08360191434621811,
0.0299451295286417,
0.009297831915318966,
0.03977551311254501,
0.03048641048371792,
-0.0430581271648407,
0.0265053678303957,
0.02814667485654354,
0.006229110527783632,
0.00663507217541337,
-0.009481169283390045,
0.017862312495708466,
0.04326765611767769,
0.04864555597305298,
0.03556748107075691,
-0.06477925926446915,
-0.003066538367420435,
0.03809928521513939,
-0.0048890006728470325,
0.019294092431664467,
-0.025859320536255836,
0.003149476833641529,
-0.004937017802149057,
-0.027378404513001442,
0.005661637522280216,
0.05028686299920082,
-0.013636820018291473,
-0.03670242801308632,
0.011838366277515888,
-0.03974059224128723,
0.02753555029630661,
-0.01915440522134304,
0.1117485836148262,
0.04462959244847298,
0.05671240761876106,
-0.037645306438207626,
0.007080320734530687,
-0.00878274068236351,
0.02177351340651512,
0.014597158879041672,
0.08206536620855331,
0.053150422871112823,
0.006425543688237667,
-0.03593415394425392,
-0.0015496385749429464,
0.00041823872015811503,
-0.005692193750292063,
-0.012947121635079384,
-0.016465455293655396,
0.015330509282648563,
-0.02474183589220047,
-0.11726617068052292,
-0.052766285836696625,
-0.059925179928541183,
-0.0438263975083828,
-0.018211526796221733,
-0.038204047828912735,
0.02856573276221752,
-0.022594166919589043,
-0.07375406473875046,
0.048575714230537415,
-0.04965827986598015,
0.018560741096735,
0.07151909172534943,
-0.008900600485503674,
0.011681219562888145,
-0.04155650734901428,
-0.025859320536255836,
-0.024986285716295242,
-0.0029443134553730488,
-0.012248693034052849,
0.08730358630418777,
0.026610132306814194,
-0.045781999826431274,
0.04868047684431076,
0.003677663393318653,
-0.02832128293812275,
-0.002680219942703843,
-0.012248693034052849,
0.018822653219103813,
-0.07057621330022812,
-0.009385135024785995,
-0.025213275104761124,
-0.021878277882933617,
-0.004411013331264257,
-0.015574959106743336,
0.042010482400655746,
0.014213023707270622,
0.025405343621969223,
0.07563982158899307,
0.00732477055862546,
0.027186335995793343,
0.041800957173109055,
-0.010703419335186481,
0.01676228828728199,
-0.0052469451911747456,
-0.011777253821492195,
-0.0415215827524662,
-0.004535421263426542,
-0.004297519102692604,
-0.0018846661550924182,
0.01676228828728199,
-0.026016468182206154,
0.0020701861940324306,
-0.0010241802083328366,
-0.006368796341121197,
-0.01817660592496395,
0.03266900032758713,
-0.02592916414141655,
0.02351958490908146,
0.03816912695765495,
0.007429535035043955,
0.0058449748903512955,
-0.018281370401382446,
0.04284859821200371,
-0.03174358233809471,
-0.05590921640396118,
0.027221256867051125,
-0.0094724390655756,
0.04249938577413559,
0.027011727914214134,
0.04134697839617729,
0.03890247642993927,
-0.025056127458810806,
0.0007709997589699924,
-0.03886755555868149,
0.013523325324058533,
0.024235473945736885,
0.06310302764177322,
-0.03509604185819626,
0.021249692887067795,
0.010834374465048313,
-0.01336617860943079,
-0.017862312495708466,
-0.023414820432662964,
-0.008822026662528515,
0.09575457125902176,
-0.017059119418263435,
-0.01994013786315918,
0.0375056192278862,
0.012405838817358017,
0.039391376078128815,
-0.015932904556393623,
0.00272168917581439,
0.059156909584999084,
-0.02791968546807766,
-0.015950364992022514,
0.02694188617169857,
-0.03055625408887863,
-0.056572720408439636,
-0.011864556930959225,
-0.016465455293655396,
0.0068227751180529594,
-0.03497381508350372,
0.006229110527783632,
-0.029456229880452156,
0.01995759829878807,
0.021197309717535973,
0.05129958689212799,
-0.046759799122810364,
0.053604401648044586,
0.0009543373016640544,
0.06931904703378677,
-0.041975561529397964,
0.05122974142432213,
-0.02872287854552269,
0.023676732555031776,
0.02830382250249386,
0.05206785723567009,
0.012728862464427948,
-0.04110252857208252,
-0.04805189371109009,
-0.0005170009098947048,
-0.02674981765449047,
-0.026575211435556412,
0.0032826147507876158,
0.05189324915409088,
-0.03614368289709091,
0.019084563478827477,
-0.011524072848260403,
0.03293091058731079,
0.02273385226726532,
-0.025091050192713737,
-0.028775261715054512,
-0.007966452278196812,
-0.0027980797458440065,
0.007931530475616455,
-0.04710901528596878,
-0.04742330685257912,
-0.026767278090119362,
-0.008215267211198807,
-0.01336617860943079,
0.04452482610940933,
-0.0008523012511432171,
-0.001959965331479907,
-0.042394619435071945,
-0.007089050952345133,
0.007189449854195118,
0.1052531972527504,
0.0032717017456889153,
0.061356958001852036,
0.0075212037190794945,
0.004945748019963503,
0.0386580266058445,
-0.004766775760799646,
-0.018997259438037872,
0.002222967566922307,
-0.048401106148958206,
0.02732602134346962,
0.03914692625403404,
0.02517835423350334,
-0.05590921640396118,
-0.025422804057598114,
0.014012224972248077,
-0.05192817002534866,
0.02575455792248249,
0.024095788598060608,
-0.08262410759925842,
0.012397108599543571,
0.06917935609817505,
0.03277376666665077,
0.0030228865798562765,
-0.019084563478827477,
-0.009952608495950699,
0.0039810435846447945,
-0.027378404513001442,
-0.040019962936639786,
0.0419057197868824,
0.021633828058838844,
-0.05346471443772316,
0.01336617860943079,
-0.05524570867419243,
-0.00123534572776407,
-0.04875032231211662,
0.07584935426712036,
0.0060326773673295975,
0.045781999826431274,
0.03768022730946541,
-0.04466451331973076,
-0.039810433983802795,
0.009795461781322956,
-0.0007857322343625128,
0.030032431706786156,
0.06268396973609924,
-0.004382639657706022,
-0.0503217838704586,
-0.02594662457704544,
0.00008580305438954383,
0.025824399664998055,
-0.0068227751180529594,
-0.006242206320166588,
0.011820904910564423,
0.04274383559823036,
-0.014247944578528404,
-0.011838366277515888,
0.02791968546807766,
-0.0070715900510549545,
0.018403595313429832,
-0.008490273728966713,
0.008245822973549366,
0.03352457657456398,
0.05304565653204918,
0.03453729674220085,
-0.002883200766518712,
-0.029630836099386215,
-0.06855077296495438,
0.017521828413009644,
-0.023379899561405182,
0.047772519290447235,
-0.059541042894124985,
-0.008420431055128574,
0.025632331147789955,
-0.013793965801596642,
-0.0285133495926857,
-0.029264161363244057,
-0.06090297922492027,
0.04749314859509468,
0.015609880909323692,
0.035602401942014694,
0.06345224380493164,
0.04295336455106735,
0.07396359741687775,
0.0005041781696490943,
0.0415215827524662,
-0.038413576781749725,
-0.013383639045059681,
0.06240460276603699,
0.035008735954761505,
-0.025824399664998055,
0.03967074677348137,
0.04588676244020462,
0.013034424744546413,
-0.04082315415143967,
-0.023397359997034073,
-0.013130459003150463,
0.0478423647582531,
-0.01775754801928997,
0.03427538648247719,
0.007948990911245346,
-0.021895738318562508,
0.009184337221086025,
0.009839113801717758,
-0.05709654465317726,
0.024445002898573875,
0.022856077179312706,
-0.015347969718277454,
0.024654531851410866,
0.02772761881351471,
0.011646297760307789,
-0.04644550755620003,
-0.0035052387975156307,
0.037784989923238754,
-0.002496882574632764,
0.06044900044798851,
0.005770766641944647,
-0.06299826502799988,
-0.021581444889307022,
-0.06806187331676483,
-0.028757799416780472,
0.013121728785336018,
-0.03249439224600792,
-0.08430033922195435,
0.018909955397248268,
0.018298830837011337,
-0.010546272620558739,
-0.019311552867293358,
0.017844852060079575,
-0.01395984273403883,
0.03872786834836006,
0.006167998071759939,
-0.04166126996278763,
0.008900600485503674,
-0.06673485785722733,
-0.014509855769574642,
-0.030853087082505226,
-0.06666501611471176,
-0.039600905030965805,
0.04407084733247757,
-0.029246700927615166,
0.032616619020700455,
-0.01008356362581253,
0.036178603768348694,
0.02673235721886158,
0.05482665076851845,
0.018124224618077278,
-0.09072588384151459,
-0.01934647373855114,
-0.05252183601260185,
-0.04166126996278763,
0.013374908827245235,
0.018106762319803238,
-0.018281370401382446,
-0.00419493718072772,
-0.012091546319425106,
0.03193565085530281,
0.011113746091723442,
-0.025300579145550728,
-0.040019962936639786,
0.00224588462151587,
-0.04511849209666252,
0.02594662457704544,
-0.0007660889532417059,
-0.06188077852129936,
0.0229608416557312,
0.048994772136211395,
0.03548017516732216,
0.034030936658382416,
-0.017879772931337357,
0.0019457786111161113,
0.009498629719018936,
-0.029770521447062492,
-0.06394114345312119,
-0.010127215646207333,
0.04372163489460945,
0.002193502616137266,
-0.008791470900177956,
-0.006818410009145737,
0.0020341735798865557,
-0.025195814669132233,
0.08988776803016663,
0.039391376078128815,
0.025056127458810806,
-0.0614267997443676,
0.02474183589220047,
-0.030241960659623146,
0.03516588360071182,
-0.004461213015019894,
-0.04187079891562462,
0.0006684180698357522,
-0.05503617972135544,
0.06118234992027283,
0.0287054181098938,
-0.05252183601260185,
0.017408333718776703,
0.003326266538351774,
-0.02914193645119667,
0.0736842229962349,
-0.06673485785722733,
0.06750313192605972,
0.04941382631659508,
-0.011227240785956383,
-0.02673235721886158,
-0.027029190212488174,
-0.013654280453920364,
0.03754054009914398,
-0.01006610319018364,
-0.02634822204709053,
-0.001563825411722064,
0.01026690099388361,
0.0255450289696455,
0.005072338040918112,
0.03390870988368988,
-0.020027441903948784,
0.016430534422397614,
-0.0642903596162796,
-0.006045773159712553,
-0.006683089304715395,
-0.013715392909944057,
-0.02510851062834263,
-0.0032193197403103113,
-0.002728237072005868,
-0.02454976737499237,
-0.012012973427772522,
0.05346471443772316,
-0.07033176720142365,
-0.015871791169047356,
0.07780495285987854,
0.01457969844341278,
0.004945748019963503,
-0.010188328102231026,
-0.037645306438207626,
0.026068849489092827,
0.03254677727818489,
-0.01297331228852272,
-0.055140942335128784,
0.011890747584402561,
0.01632576994597912,
0.008664880879223347,
0.02413070946931839,
0.016430534422397614,
0.03509604185819626,
0.05426790565252304,
-0.022681470960378647,
-0.00678348820656538,
-0.01684086211025715,
-0.017783740535378456,
0.048366185277700424,
0.03218010067939758,
0.03684211149811745,
-0.0038020710926502943,
-0.036248449236154556,
-0.008031929843127728,
0.04047394171357155,
-0.05035670846700668,
-0.02652282826602459,
-0.016369421035051346,
-0.003169120056554675,
0.015583689324557781,
0.04906461387872696,
0.02376403473317623,
-0.07591919600963593,
-0.02414817176759243,
-0.057585444301366806,
0.013374908827245235,
0.008420431055128574,
0.0639062225818634,
-0.05660764500498772,
-0.025579949840903282,
0.006530308164656162,
0.01957346312701702,
0.0014361439971253276,
-0.03726116940379143,
-0.026383142918348312,
0.026679975911974907,
-0.06547768414020538,
0.017408333718776703,
0.03970567137002945,
-0.011602645739912987,
0.011707410216331482,
0.026173613965511322,
-0.0042997016571462154,
0.013357448391616344,
-0.03872786834836006,
0.004469943232834339,
-0.0024597784504294395,
-0.014588428661227226,
0.028845103457570076,
-0.007364057470113039,
-0.043581947684288025,
-0.040194571018218994,
-0.00384135777130723,
-0.012737592682242393,
-0.041207291185855865,
-0.04386131837964058,
-0.04393116384744644,
0.017198806628584862,
-0.017408333718776703,
-0.0077089061960577965,
0.014309057034552097,
0.005962834693491459,
-0.0028199057560414076,
-0.0063731614500284195,
0.07298579812049866,
0.024637071415781975,
0.035410333424806595,
-0.005679097957909107
] |
21,616 | delorean.interface | stops |
This will create a list of delorean objects the apply to
setting possed in.
| def stops(freq, interval=1, count=None, wkst=None, bysetpos=None,
bymonth=None, bymonthday=None, byyearday=None, byeaster=None,
byweekno=None, byweekday=None, byhour=None, byminute=None,
bysecond=None, timezone='UTC', start=None, stop=None):
"""
This will create a list of delorean objects the apply to
setting possed in.
"""
# check to see if datetimees passed in are naive if so process them
# with given timezone.
if all([(start is None or is_datetime_naive(start)),
(stop is None or is_datetime_naive(stop))]):
pass
else:
raise DeloreanInvalidDatetime('Provide a naive datetime object')
# if no datetimes are passed in create a proper datetime object for
# start default because default in dateutil is datetime.now() :(
if start is None:
start = datetime_timezone(timezone)
for dt in rrule(freq, interval=interval, count=count, wkst=wkst, bysetpos=bysetpos,
bymonth=bymonth, bymonthday=bymonthday, byyearday=byyearday, byeaster=byeaster,
byweekno=byweekno, byweekday=byweekday, byhour=byhour, byminute=byminute,
bysecond=bysecond, until=stop, dtstart=start):
# make the delorean object
# yield it.
# doing this to make sure delorean receives a naive datetime.
dt = dt.replace(tzinfo=None)
d = Delorean(datetime=dt, timezone=timezone)
yield d
| (freq, interval=1, count=None, wkst=None, bysetpos=None, bymonth=None, bymonthday=None, byyearday=None, byeaster=None, byweekno=None, byweekday=None, byhour=None, byminute=None, bysecond=None, timezone='UTC', start=None, stop=None) | [
0.05456095561385155,
0.02472115494310856,
-0.006976522505283356,
-0.04587821662425995,
-0.03480678051710129,
0.015204268507659435,
-0.04337576776742935,
-0.07332931458950043,
-0.04159372299909592,
0.06407783925533295,
-0.06089290603995323,
0.012881920672953129,
0.02458844892680645,
-0.010739673860371113,
0.01653132401406765,
0.07977501302957535,
-0.052096422761678696,
0.05471261963248253,
-0.017393911257386208,
0.017536096274852753,
-0.015915190801024437,
-0.06494990736246109,
0.004523838870227337,
0.03565988689661026,
0.00514708086848259,
0.03490157052874565,
-0.01512843742966652,
0.014161582104861736,
-0.031640805304050446,
-0.00009760377724887803,
0.024057626724243164,
0.03311952203512192,
0.0016884416108950973,
-0.019138041883707047,
0.005772693082690239,
-0.04511990025639534,
-0.028835028409957886,
0.016882047057151794,
-0.04212454706430435,
0.09653383493423462,
0.05239975079894066,
0.005777432583272457,
0.039546266198158264,
0.032550785690546036,
-0.01723276823759079,
0.006734808441251516,
0.021062273532152176,
-0.0027820777613669634,
0.03875003010034561,
-0.005834306590259075,
-0.01398148201406002,
0.012294224463403225,
0.007194538600742817,
-0.05873170122504234,
0.011185185052454472,
0.016645072028040886,
-0.04621946066617966,
0.08167081326246262,
0.056077588349580765,
-0.020000627264380455,
0.01537489052861929,
0.004966980777680874,
0.014284809119999409,
0.009791776537895203,
-0.038503579795360565,
-0.02087269350886345,
-0.03567884489893913,
-0.035906340926885605,
0.012389014475047588,
0.02661694958806038,
0.028702322393655777,
-0.01166861318051815,
0.022313496097922325,
0.019071688875555992,
0.04621946066617966,
-0.025479473173618317,
-0.035906340926885605,
-0.0462573766708374,
0.031773511320352554,
-0.04254161939024925,
-0.004296343307942152,
0.04637112468481064,
-0.004320040810853243,
0.0309772752225399,
0.09714049100875854,
0.04936647787690163,
-0.0010006238007918,
-0.014607093296945095,
0.05057978630065918,
-0.022540992125868797,
-0.0028436912689357996,
-0.004876930266618729,
0.025763841345906258,
-0.03753672540187836,
-0.07962335646152496,
0.04182121902704239,
-0.058466289192438126,
-0.015204268507659435,
0.003966949414461851,
0.03020000085234642,
0.050541870296001434,
-0.03802962973713875,
-0.04758443310856819,
-0.009820213541388512,
0.003566462779417634,
-0.042010799050331116,
-0.04288286343216896,
-0.05456095561385155,
-0.014654488302767277,
-0.009223038330674171,
-0.0069149089977145195,
0.10313119739294052,
0.0336882621049881,
0.05312015116214752,
-0.059452105313539505,
0.00032909802393987775,
-0.005967012140899897,
-0.016436535865068436,
-0.031204771250486374,
-0.03251286968588829,
-0.06441908329725266,
0.0026920277159661055,
-0.03795379772782326,
0.07727257162332535,
0.048380665481090546,
0.011479033157229424,
-0.006549968849867582,
-0.001599576324224472,
0.13922712206840515,
0.051944758743047714,
0.055736348032951355,
0.015469679608941078,
0.02565009519457817,
-0.006009667180478573,
0.03175455331802368,
-0.020284997299313545,
0.003639924805611372,
0.0018756513018161058,
-0.046636536717414856,
-0.01639861986041069,
0.0009775188518688083,
0.019526679068803787,
0.044513244181871414,
0.034370746463537216,
-0.08576572686433792,
-0.009298870339989662,
-0.04489240422844887,
-0.011687571182847023,
-0.037460893392562866,
0.08887483179569244,
0.020417703315615654,
0.007440991699695587,
0.039963338524103165,
-0.00012870664068032056,
0.0058532641269266605,
-0.02508135698735714,
-0.01587727665901184,
0.08007834106683731,
-0.03518594056367874,
0.02494865097105503,
-0.053006403148174286,
-0.014161582104861736,
-0.030010420829057693,
0.032607659697532654,
-0.006512052845209837,
0.0008027503499761224,
0.039129190146923065,
0.013213684782385826,
0.03886377811431885,
0.02227558009326458,
0.011867671273648739,
0.015858318656682968,
0.023488888517022133,
0.002145801903679967,
-0.04602988064289093,
0.01915699988603592,
-0.0036470340564846992,
0.0162185188382864,
0.003421908477321267,
0.027830258011817932,
0.012550157494843006,
-0.012038292363286018,
-0.06597363203763962,
-0.0504281222820282,
0.003412429476156831,
0.0027133552357554436,
-0.08227746188640594,
0.028076710179448128,
-0.037593595683574677,
0.01380138099193573,
0.00813295692205429,
-0.043262023478746414,
0.03133747726678848,
0.020626239478588104,
-0.028474828228354454,
0.018882108852267265,
-0.023280352354049683,
0.02388700656592846,
-0.026522159576416016,
0.03279723972082138,
-0.009185122326016426,
0.04693986102938652,
-0.02703402377665043,
-0.06123415008187294,
0.023147646337747574,
0.07166101783514023,
-0.014019397087395191,
-0.010957689955830574,
-0.02219974994659424,
0.012663904577493668,
0.02170684188604355,
-0.02009541727602482,
-0.008398368023335934,
-0.006038104183971882,
0.03188725560903549,
-0.04345159977674484,
-0.0047513339668512344,
0.019166478887200356,
0.007976553402841091,
-0.04121456295251846,
-0.007715882267802954,
-0.03270244970917702,
0.006891211494803429,
-0.03446553647518158,
0.03818129375576973,
-0.010388951748609543,
0.04618154466152191,
-0.0353565588593483,
-0.028038794174790382,
-0.011554865166544914,
-0.007360420655459166,
-0.03916710615158081,
0.04675028473138809,
-0.028076710179448128,
0.06752818822860718,
-0.057556308805942535,
-0.03647507727146149,
0.03027583286166191,
0.012862962670624256,
0.03992542251944542,
0.015223226509988308,
-0.025593221187591553,
0.009734902530908585,
-0.00933204684406519,
-0.029100440442562103,
0.05387846753001213,
0.00653101084753871,
0.010275203734636307,
-0.0014585766475647688,
0.01148851215839386,
-0.03617175295948982,
-0.047811929136514664,
-0.009450533427298069,
0.05444720759987831,
0.03315743803977966,
-0.013071500696241856,
0.017403390258550644,
-0.023716384544968605,
0.02656007558107376,
-0.06282661855220795,
0.027166729792952538,
0.0785617083311081,
-0.0462573766708374,
0.03776421770453453,
-0.01689152605831623,
0.027356309816241264,
0.017450785264372826,
-0.040380414575338364,
-0.034863654524087906,
0.042579535394907,
-0.028778154402971268,
-0.013232642784714699,
0.0015296689234673977,
-0.005374576430767775,
-0.050693534314632416,
0.07306390255689621,
0.025820715352892876,
-0.04811525344848633,
-0.014085750095546246,
-0.011554865166544914,
-0.031223729252815247,
0.011924545280635357,
0.0002603754692245275,
0.028057752177119255,
-0.027223603799939156,
0.027792342007160187,
-0.00027755610062740743,
0.06214413046836853,
0.0051044258289039135,
-0.0028531700372695923,
0.015213747508823872,
-0.04857024550437927,
0.052172254770994186,
-0.04402033984661102,
0.07097852975130081,
0.04246578738093376,
0.06385034322738647,
-0.08250495791435242,
0.024398870766162872,
-0.0002357893972657621,
-0.009507407434284687,
-0.07181268185377121,
0.07753797620534897,
0.06593571603298187,
-0.0311858132481575,
-0.016408098861575127,
0.030711865052580833,
-0.010142498649656773,
0.05892128124833107,
-0.05600176006555557,
-0.021138103678822517,
-0.011479033157229424,
0.015507595613598824,
-0.019659385085105896,
-0.0326455757021904,
-0.05387846753001213,
-0.07878920435905457,
0.0031896736472845078,
0.004168377257883549,
0.08644821494817734,
-0.009924482554197311,
0.034294914454221725,
0.034219082444906235,
-0.007592655252665281,
0.05141393840312958,
0.06017250567674637,
-0.021043315529823303,
-0.012417451478540897,
0.012663904577493668,
0.03315743803977966,
-0.03076873905956745,
-0.020929567515850067,
0.006331952288746834,
0.022882234305143356,
-0.00890075322240591,
0.0013815599959343672,
0.030351663008332253,
0.01582988165318966,
-0.028531702235341072,
-0.03740401938557625,
0.0396600142121315,
0.034370746463537216,
-0.0731397345662117,
0.015659259632229805,
-0.0003619781928136945,
0.00478924997150898,
0.026503201574087143,
-0.024815944954752922,
0.06506365537643433,
0.07985084503889084,
0.04068374261260033,
0.017839422449469566,
-0.011175706051290035,
0.05323389917612076,
0.03416220843791962,
-0.020910609513521194,
0.028190458193421364,
0.0004946838016621768,
-0.017498180270195007,
-0.0818224772810936,
-0.035413432866334915,
0.035337600857019424,
0.0027133552357554436,
0.04891148954629898,
0.00781067181378603,
0.0049006277695298195,
0.004549906123429537,
0.014825110323727131,
0.0002919226826634258,
-0.015081042423844337,
-0.010815505869686604,
0.04428575187921524,
0.025801757350564003,
-0.022123917937278748,
0.030503327026963234,
-0.028133584186434746,
0.07200226187705994,
-0.0014147363835945725,
-0.0434136837720871,
0.08076082915067673,
-0.06623904407024384,
0.03958418220281601,
0.035413432866334915,
0.051603514701128006,
0.06559447944164276,
0.007606873754411936,
-0.03675944730639458,
-0.0054930634796619415,
0.0311858132481575,
0.029479598626494408,
0.04398242384195328,
-0.004019083455204964,
-0.011678092181682587,
0.026086127385497093,
-0.007365160156041384,
-0.01082498487085104,
0.0038721594028174877,
0.019270747900009155,
0.01969730108976364,
-0.007782234810292721,
-0.012426930479705334,
-0.030673949047923088,
-0.030598117038607597,
0.07727257162332535,
0.030503327026963234,
0.0016979206120595336,
0.03947043418884277,
-0.06438116729259491,
-0.0172612052410841,
0.03516698256134987,
0.06066541373729706,
-0.030351663008332253,
-0.01887262985110283,
-0.015507595613598824,
-0.013109416700899601,
-0.03181142359972,
-0.06142373010516167,
0.013469616882503033,
0.05751839280128479,
0.007227715104818344,
0.04273119941353798,
-0.0545230396091938,
0.10138706862926483,
-0.026863403618335724,
0.05547093600034714,
0.005014375317841768,
0.012588072568178177,
0.006156591232866049,
-0.03831399977207184,
0.019602511078119278,
0.02866440638899803,
-0.04030458256602287,
-0.07674174755811691,
-0.038067545741796494,
0.010256245732307434,
-0.00669215340167284,
-0.022806404158473015,
0.01967834308743477,
0.032474953681230545,
-0.06191663444042206,
-0.016616635024547577,
0.026048211380839348,
0.0466744527220726,
0.004381654318422079,
-0.017431827262043953,
-0.023432014510035515,
0.04026666656136513,
-0.06055166572332382,
-0.041859135031700134,
-0.029043566435575485,
-0.03749880939722061,
-0.0013258709805086255,
0.03158393129706383,
0.016104770824313164,
0.027090897783637047,
-0.008720653131604195,
0.014607093296945095,
-0.032474953681230545,
-0.019773133099079132,
0.033726178109645844,
0.11344432085752487,
-0.055660516023635864,
-0.04966980591416359,
-0.004571233410388231,
-0.043679095804691315,
0.03770734369754791,
-0.0326455757021904,
0.03444657847285271,
0.006118675693869591,
-0.05949002131819725,
-0.012635467574000359,
0.016493408009409904,
-0.04728110507130623,
-0.02108123153448105,
-0.044096171855926514,
-0.00435321731492877,
-0.027830258011817932,
0.015204268507659435,
0.02957438863813877,
-0.04675028473138809,
0.025725925341248512,
0.0017500550020486116,
0.004867451265454292,
0.005720558576285839,
-0.011061958968639374,
-0.07579384744167328,
-0.0009751491015776992,
-0.05782172083854675,
-0.05823879688978195,
0.05190684273838997,
-0.018303891643881798,
-0.07992667704820633,
0.04079749062657356,
-0.062371626496315,
0.024759070947766304,
-0.025119272992014885,
0.016540803015232086,
0.008677997626364231,
0.0656323954463005,
-0.013953045010566711,
-0.01251224149018526,
-0.03209579363465309,
-0.008749090135097504,
0.017886817455291748,
0.022958066314458847,
-0.014957815408706665,
0.0035925297997891903,
-0.014341682195663452,
-0.011687571182847023,
-0.04246578738093376,
0.008611644618213177,
0.0005343769444152713,
-0.01744130626320839,
0.051110610365867615,
0.0014076271327212453,
-0.07348097860813141,
0.002874497789889574,
0.0018792059272527695,
-0.058542121201753616,
0.042920779436826706,
0.005635248031467199,
0.015355932526290417,
0.002801035763695836,
0.010379472747445107,
0.005635248031467199,
0.012379535473883152,
-0.009327307343482971,
-0.03412429243326187,
0.04587821662425995,
-0.014531262218952179,
-0.0014052573824301362,
-0.04329993948340416,
0.009166164323687553,
0.03890169411897659,
0.03795379772782326,
-0.024000752717256546,
-0.015564469620585442,
-0.028740238398313522,
-0.0324370376765728,
0.024778028950095177,
0.0037204958498477936,
0.06555656343698502,
0.007009698543697596,
-0.024569490924477577,
-0.004568863660097122,
0.011061958968639374,
0.012322661466896534,
-0.050693534314632416,
0.03797275573015213,
-0.014531262218952179,
0.007848587818443775,
-0.02635153755545616,
0.033252228051424026,
0.03886377811431885,
-0.03433283045887947,
0.01876836270093918,
0.02929001860320568,
0.02381117455661297,
0.03854149580001831,
0.028910860419273376,
-0.07097852975130081,
-0.007929159328341484,
0.01575404964387417,
0.021839547902345657,
-0.01355492789298296,
0.015118958428502083,
0.03628550097346306,
-0.03025687485933304,
-0.08197414129972458,
0.03215266764163971,
-0.024285122752189636,
0.0016280132113024592,
-0.02255995012819767,
-0.0014490976464003325,
-0.011223101057112217,
0.03209579363465309,
-0.014284809119999409,
-0.061613310128450394,
-0.018303891643881798,
-0.08000250905752182,
-0.06483615934848785,
0.04587821662425995,
-0.05224808678030968,
-0.05835254490375519,
0.029669178649783134,
-0.009166164323687553,
0.009360483847558498,
0.0005414861952885985,
-0.021403515711426735,
0.03886377811431885,
0.03846566379070282,
0.004066478461027145,
-0.051034778356552124,
-0.004348477814346552,
-0.0727226659655571,
-0.027489013969898224,
0.002497708657756448,
-0.03740401938557625,
-0.032607659697532654,
0.008787006139755249,
-0.05842837318778038,
-0.014114187099039555,
0.0007547630229964852,
-0.039697930216789246,
0.009204080328345299,
0.05190684273838997,
0.024778028950095177,
-0.010313119739294052,
0.009464751929044724,
-0.03129956126213074,
-0.030162084847688675,
0.018702009692788124,
0.08523490279912949,
0.05600176006555557,
0.021100187674164772,
-0.04000125452876091,
0.03691111132502556,
0.023868048563599586,
0.00016958470223471522,
-0.07594551146030426,
-0.0018709118012338877,
-0.010521657764911652,
0.025555305182933807,
-0.00960219744592905,
-0.056191336363554,
0.020967483520507812,
-0.0024669021368026733,
-0.036531951278448105,
0.025820715352892876,
-0.011896108277142048,
0.004561754409223795,
0.020303955301642418,
0.008284620009362698,
-0.02009541727602482,
-0.03687319532036781,
0.034655116498470306,
-0.02360263653099537,
-0.015318016521632671,
0.025896547362208366,
-0.025555305182933807,
0.021043315529823303,
0.07310181856155396,
0.0673765242099762,
-0.007327244151383638,
-0.05645674839615822,
0.01832284964621067,
0.02388700656592846,
-0.01645549386739731,
0.03006729483604431,
0.031640805304050446,
-0.01317576877772808,
0.008047645911574364,
-0.01082498487085104,
0.027128813788294792,
-0.042010799050331116,
0.02866440638899803,
0.04546114429831505,
-0.04841858148574829,
0.028190458193421364,
-0.04455116018652916,
0.03495844453573227,
0.03162184730172157,
-0.02108123153448105,
-0.05823879688978195,
-0.0462573766708374,
0.02032291330397129,
0.014834589324891567,
0.04511990025639534,
-0.033384934067726135,
-0.009858129546046257,
0.05547093600034714,
-0.008962366729974747,
0.04000125452876091,
0.023033898323774338,
0.005303483922034502,
0.005474105477333069,
-0.06138581410050392,
0.0013673414941877127,
-0.0005260828766040504,
-0.05421971157193184,
0.0018294412875548005,
0.010588009841740131,
0.006910169497132301,
-0.0061471122317016125,
-0.017299121245741844,
0.04743276908993721,
-0.03958418220281601,
-0.07264683395624161,
0.026522159576416016,
0.012825047597289085,
0.046067796647548676,
0.015706654638051987,
0.0016303829615935683,
-0.0016327527118846774,
-0.014208977110683918,
-0.01464500930160284,
-0.05156559869647026,
0.004938543774187565,
0.05630508437752724,
-0.030446453019976616,
-0.014389077201485634,
0.002258364809677005,
0.025043440982699394,
0.02936585061252117,
0.01762140728533268,
-0.002237037057057023,
0.004914846271276474,
-0.009801255539059639,
0.0283042062073946,
0.042276207357645035,
0.03810546174645424,
0.06949981302022934,
-0.006398305296897888,
-0.0421624630689621,
-0.006815379951149225,
-0.05596384406089783,
0.005488323979079723,
0.0076258317567408085,
0.0025924984365701675,
0.03054124303162098,
0.043679095804691315,
-0.01320420578122139,
-0.06438116729259491,
0.017972128465771675,
-0.017479222267866135,
-0.029195228591561317,
-0.011621218174695969,
0.07712090760469437,
-0.021536221727728844,
-0.03935668617486954,
-0.01121362205594778,
0.019507721066474915,
0.026086127385497093,
-0.036190710961818695,
-0.03567884489893913,
-0.005023854319006205,
-0.009933961555361748,
-0.012095166370272636,
-0.005085467826575041,
0.04811525344848633,
-0.0022690286859869957,
0.02991563081741333,
-0.07211600989103317,
0.05137602239847183,
-0.06180289015173912,
0.0035522442776709795,
0.004149419255554676,
0.0373661033809185,
-0.04489240422844887,
-0.028493786230683327,
-0.009180382825434208,
-0.05471261963248253,
-0.0429966114461422,
-0.019716259092092514,
-0.04477865621447563,
-0.05023854598402977,
-0.0231286883354187,
-0.0434136837720871,
-0.015924669802188873,
0.02635153755545616,
0.0021363229025155306,
-0.02843691222369671,
-0.018303891643881798,
0.05645674839615822,
-0.005592592526227236,
0.023204520344734192,
0.0032346986699849367,
-0.0036257063038647175
] |
21,617 | delorean.interface | utcnow |
Return a Delorean object for the current UTC date and time, setting the timezone to UTC.
| def utcnow():
"""
Return a Delorean object for the current UTC date and time, setting the timezone to UTC.
"""
return Delorean()
| () | [
0.010360823944211006,
-0.04764145240187645,
0.0710037350654602,
-0.0076835136860609055,
-0.01651313528418541,
-0.040526408702135086,
-0.03839923068881035,
0.037849098443984985,
-0.002111132489517331,
-0.014514322392642498,
-0.04632113501429558,
0.0012148753739893436,
-0.04628445953130722,
0.04866836592555046,
0.018108518794178963,
0.06704278290271759,
-0.04507416859269142,
-0.004167251754552126,
-0.043533798307180405,
-0.04192007705569267,
0.0033970666117966175,
-0.04558762535452843,
0.005299607291817665,
0.045037493109703064,
-0.0006114490679465234,
0.045000817626714706,
-0.020794998854398727,
0.009022168815135956,
-0.00028624068363569677,
-0.009333910420536995,
0.011837012134492397,
0.04797153174877167,
-0.015156143344938755,
0.026938142254948616,
0.03676716983318329,
-0.002824012190103531,
-0.015458716079592705,
0.06047787144780159,
-0.05853407084941864,
0.0015587080270051956,
0.023655686527490616,
-0.02002481371164322,
0.01605469174683094,
0.02314222976565361,
-0.018282728269696236,
0.016082199290394783,
0.02017151564359665,
-0.017319995909929276,
-0.03150423988699913,
0.04789818078279495,
0.05182245746254921,
0.022317031398415565,
0.041736699640750885,
0.05350952968001366,
-0.030679041519761086,
-0.010067420080304146,
0.04430398344993591,
0.0678129643201828,
-0.02013484016060829,
0.014697699807584286,
-0.010672565549612045,
0.002236058237031102,
0.005152905359864235,
-0.007376356516033411,
-0.018777847290039062,
0.05692034959793091,
-0.04272693768143654,
-0.002143223537132144,
0.058314017951488495,
0.040086302906274796,
-0.0006234832108020782,
0.03273286670446396,
0.013377382420003414,
0.03616202622652054,
0.08259318768978119,
-0.039792899042367935,
-0.0653923824429512,
-0.006450300570577383,
-0.02734157256782055,
-0.017952648922801018,
-0.03594197332859039,
-0.05644356831908226,
-0.024004103615880013,
0.07855888456106186,
0.03717060014605522,
0.010535032488405704,
0.04529422149062157,
-0.01954803243279457,
-0.002858395455405116,
0.02554447390139103,
-0.004378135781735182,
-0.007646838203072548,
-0.013524084351956844,
0.01787012815475464,
-0.014285100623965263,
0.0035873206797987223,
-0.028478512540459633,
0.012377975508570671,
-0.0077431113459169865,
0.03399817273020744,
0.03803247585892677,
0.06267839670181274,
-0.07819212973117828,
-0.044414009898900986,
0.019603045657277107,
0.039792899042367935,
0.016403108835220337,
0.0026956479996442795,
-0.005707622040063143,
-0.03408985957503319,
-0.0597810372710228,
-0.008999246172606945,
-0.012524677440524101,
0.01998813822865486,
0.032512813806533813,
-0.04364382475614548,
-0.0341632105410099,
0.010507525876164436,
-0.004428564570844173,
0.03746400400996208,
-0.07041692733764648,
0.0055288290604949,
-0.017631737515330315,
-0.016320589929819107,
0.03177930414676666,
-0.008669166825711727,
-0.0019667227752506733,
-0.010140771046280861,
0.05075886845588684,
-0.012057065032422543,
0.004318538121879101,
0.027506612241268158,
-0.024884315207600594,
0.022463733330368996,
-0.026094606146216393,
0.028001731261610985,
0.08185967803001404,
0.02013484016060829,
-0.053692907094955444,
0.12278951704502106,
-0.03260450437664986,
0.03033062443137169,
0.07148051261901855,
0.03530015051364899,
-0.014991103671491146,
0.00019927967514377087,
-0.0680696964263916,
-0.013368213549256325,
-0.0558934360742569,
0.036638807505369186,
0.08758105337619781,
-0.02895529381930828,
0.004591311793774366,
0.050392113626003265,
-0.028881942853331566,
-0.08273988962173462,
-0.0268647912889719,
0.0026498036459088326,
0.006156896706670523,
-0.006982095073908567,
-0.07320426404476166,
0.02167521044611931,
-0.01745752990245819,
-0.018869535997509956,
0.01359743531793356,
-0.0021649994887411594,
0.060551222413778305,
0.014358451589941978,
0.012277117930352688,
0.017952648922801018,
0.00132375571411103,
-0.028295135125517845,
-0.05618683993816376,
0.040709786117076874,
-0.023233918473124504,
-0.02492099069058895,
0.013414057902991772,
0.023087216541171074,
-0.00768809812143445,
-0.00469904625788331,
0.03854593262076378,
0.006963757332414389,
-0.0675562396645546,
-0.007788955699652433,
0.04841163754463196,
-0.02477428875863552,
0.010535032488405704,
0.00400908850133419,
0.021748561412096024,
0.01150693278759718,
0.01741168461740017,
0.03869263455271721,
0.021290117874741554,
-0.01103932037949562,
0.013909176923334599,
-0.0027896289248019457,
-0.015412871725857258,
-0.018099350854754448,
-0.016586486250162125,
-0.016989916563034058,
-0.04250688478350639,
0.011818674392998219,
0.025929566472768784,
-0.10254465043544769,
0.028111757710576057,
0.04760477691888809,
-0.06652932614088058,
-0.020098164677619934,
-0.03033062443137169,
0.01858530007302761,
0.027653314173221588,
0.021088402718305588,
0.001646958407945931,
-0.013175667263567448,
-0.03451162949204445,
-0.028001731261610985,
0.0011249057715758681,
0.008141957223415375,
-0.021546846255660057,
0.026516374200582504,
0.045771002769470215,
-0.045000817626714706,
-0.025012679398059845,
-0.0758448988199234,
0.045440923422575,
-0.0260029174387455,
-0.03302627056837082,
-0.0326961912214756,
-0.05387628450989723,
-0.16694679856300354,
0.007367187645286322,
-0.04540424793958664,
-0.05780056118965149,
-0.04404725506901741,
0.012753899209201336,
-0.038582608103752136,
0.00821530818939209,
-0.010067420080304146,
-0.04602773115038872,
0.005987272597849369,
-0.003619411727413535,
-0.008119034580886364,
0.09036839008331299,
0.05453644320368767,
0.015449547208845615,
0.045184195041656494,
-0.04808155819773674,
0.027286559343338013,
-0.026351334527134895,
-0.015880484133958817,
-0.016989916563034058,
-0.0313575379550457,
-0.013469071127474308,
0.036198701709508896,
0.035043422132730484,
-0.03720727562904358,
0.05732377991080284,
0.040856488049030304,
0.029010307043790817,
-0.0023197242990136147,
0.02523273229598999,
-0.03751901909708977,
-0.06436546891927719,
0.0351167730987072,
-0.014367620460689068,
0.01605469174683094,
-0.0002673298877198249,
-0.013643279671669006,
0.0038325879722833633,
0.0020675803534686565,
0.10562539100646973,
0.007876059971749783,
-0.0011667388025671244,
-0.033246323466300964,
-0.06278842687606812,
-0.0176225695759058,
-0.04228683188557625,
-0.027249883860349655,
-0.059964414685964584,
-0.003997627645730972,
-0.0325678288936615,
-0.0253977719694376,
0.004045763984322548,
0.010434174910187721,
-0.09110189974308014,
-0.015348689630627632,
-0.02853352576494217,
0.04987865686416626,
-0.014505153521895409,
0.01745752990245819,
-0.01463351771235466,
-0.00039254227885976434,
-0.0038715556729584932,
-0.028185108676552773,
0.0071150436997413635,
0.03438326343894005,
-0.03060569055378437,
0.012469664216041565,
0.020648296922445297,
-0.006083545740693808,
-0.051602404564619064,
-0.02569117583334446,
-0.004974112380295992,
0.03333801403641701,
0.01760423183441162,
0.012350468896329403,
-0.033081285655498505,
0.015963003039360046,
0.003559814067557454,
-0.017521711066365242,
-0.034896720200777054,
-0.07034357637166977,
0.04492746666073799,
0.046357810497283936,
-0.03704223781824112,
-0.012460495345294476,
-0.03163260221481323,
-0.027836691588163376,
0.07041692733764648,
0.07104040682315826,
-0.014991103671491146,
-0.007848553359508514,
0.05156572908163071,
0.03946281969547272,
0.002395367482677102,
-0.03311796113848686,
-0.01447764690965414,
0.05655359476804733,
-0.003967828582972288,
0.07283750921487808,
-0.07819212973117828,
-0.04764145240187645,
0.023068878799676895,
0.010480019263923168,
-0.02314222976565361,
0.03927944228053093,
0.018777847290039062,
-0.026461360976099968,
0.010269135236740112,
-0.007330512162297964,
0.028166770935058594,
0.019621383398771286,
-0.08178632706403732,
-0.006647431291639805,
-0.005693868733942509,
0.03568524494767189,
0.03315463662147522,
-0.006890406366437674,
0.07958579808473587,
-0.004460655618458986,
-0.0176225695759058,
0.004057225305587053,
-0.036217037588357925,
0.05013538524508476,
-0.010021575726568699,
-0.01879618503153324,
0.0355018675327301,
0.033081285655498505,
-0.022335369139909744,
-0.02780001610517502,
-0.09997736662626266,
-0.013670786283910275,
0.04026968032121658,
-0.02387573942542076,
-0.01754004880785942,
-0.04445068538188934,
0.026809778064489365,
-0.007770617958158255,
0.0522625632584095,
-0.05185913294553757,
-0.021400144323706627,
0.01688905991613865,
0.03029394894838333,
-0.02193193882703781,
-0.011827843263745308,
-0.024242494255304337,
0.03781242296099663,
0.07577154785394669,
-0.06311850249767303,
0.03997627645730972,
-0.0018933718092739582,
0.034126535058021545,
-0.020373230800032616,
0.03717060014605522,
0.03581360727548599,
0.02118009142577648,
0.01747586764395237,
0.02521439455449581,
-0.057580508291721344,
-0.028863605111837387,
-0.005097892135381699,
-0.08956152945756912,
0.02193193882703781,
0.04760477691888809,
-0.02226201817393303,
0.016797371208667755,
-0.01630225218832493,
0.0007220485713332891,
-0.036345403641462326,
0.0418100506067276,
0.062348321080207825,
0.0055930111557245255,
0.01268054824322462,
-0.006491560488939285,
0.012753899209201336,
-0.0018738879589363933,
0.05629686638712883,
0.02059328369796276,
0.006688691210001707,
0.0298905186355114,
-0.016604823991656303,
-0.0986570492386818,
-0.05512325093150139,
0.00446753203868866,
0.03539184108376503,
-0.0004386731598060578,
-0.055306628346443176,
0.01595383509993553,
0.08134622126817703,
-0.0376657210290432,
0.020831674337387085,
-0.00893506407737732,
-0.04313036799430847,
-0.022592097520828247,
0.03594197332859039,
0.02372903749346733,
0.02224368043243885,
0.04478076472878456,
-0.08523382246494293,
0.024609249085187912,
0.06308183073997498,
-0.013230680488049984,
0.030110571533441544,
-0.05512325093150139,
0.06546573340892792,
0.04852166399359703,
0.03953617066144943,
-0.034126535058021545,
-0.014679362066090107,
0.08882801979780197,
0.014816895127296448,
0.009040506556630135,
0.00008731916750548407,
-0.04122324287891388,
-0.022133653983473778,
0.005941428244113922,
-0.011690310202538967,
-0.02360067330300808,
0.07797207683324814,
0.012763068079948425,
0.021418482065200806,
0.024554235860705376,
0.017402516677975655,
-0.03982957452535629,
-0.021088402718305588,
-0.04467073827981949,
-0.030385637655854225,
0.02374737523496151,
0.009884042665362358,
0.01734750345349312,
0.015101130120456219,
-0.03047732636332512,
0.016714850440621376,
0.014541829004883766,
0.012863925658166409,
0.005794726312160492,
-0.03898603841662407,
-0.010131602175533772,
-0.08486706763505936,
-0.0188328605145216,
0.026846453547477722,
-0.012167091481387615,
-0.059047527611255646,
-0.025049354881048203,
0.010727578774094582,
-0.011066826991736889,
-0.038435906171798706,
0.0027873367071151733,
-0.011131009086966515,
-0.02316056750714779,
-0.04987865686416626,
0.03515344858169556,
-0.009948224760591984,
0.014761881902813911,
-0.007995255291461945,
-0.036382079124450684,
0.020648296922445297,
-0.014771050773561,
0.016063861548900604,
0.0011489740572869778,
-0.04170002415776253,
0.002771291183307767,
-0.013771643862128258,
-0.05552668124437332,
-0.012286286801099777,
0.014771050773561,
-0.02015317790210247,
-0.02493932843208313,
-0.028698565438389778,
-0.052922721952199936,
0.0011759076733142138,
0.04540424793958664,
-0.0028400577139109373,
-0.023417295888066292,
-0.0012802035780623555,
-0.031430888921022415,
-0.00042577943531796336,
-0.029743816703557968,
-0.012753899209201336,
0.009810691699385643,
0.03960952162742615,
0.008825037628412247,
-0.06528235971927643,
-0.00403430312871933,
0.024114130064845085,
0.059047527611255646,
0.004011380951851606,
-0.01814519427716732,
-0.022793812677264214,
-0.05185913294553757,
-0.018191039562225342,
0.06509897857904434,
0.041883401572704315,
0.01971307210624218,
-0.002514562802389264,
0.06491560488939285,
-0.03077073022723198,
0.05655359476804733,
0.017255814746022224,
0.02046491950750351,
0.036327064037323,
-0.07214067131280899,
-0.022977190092206,
0.015715444460511208,
0.02492099069058895,
0.023508984595537186,
-0.06678605079650879,
-0.061284732073545456,
-0.021693548187613487,
-0.0120937405154109,
-0.007261745631694794,
-0.022940514609217644,
-0.000820040877442807,
0.029212022200226784,
-0.058570746332407,
-0.031137485057115555,
0.00567553099244833,
0.011580283753573895,
-0.003651502775028348,
0.03394315764307976,
-0.03612535074353218,
-0.043827202171087265,
0.09007498621940613,
0.033814795315265656,
-0.013056471943855286,
0.045771002769470215,
-0.005808479618281126,
0.02464592456817627,
0.02956043928861618,
0.019786423072218895,
-0.01734750345349312,
0.024444209411740303,
0.008728764951229095,
0.0758448988199234,
-0.012322962284088135,
0.0030463573057204485,
0.024407533928751945,
0.07390109449625015,
-0.0009793499484658241,
-0.015156143344938755,
-0.037702396512031555,
0.01858530007302761,
0.04140662029385567,
0.019162939861416817,
-0.06179818883538246,
0.0221153162419796,
-0.024370858445763588,
-0.004130576271563768,
0.05255596712231636,
-0.005625102203339338,
-0.043093692511320114,
-0.001415444421581924,
-0.030954107642173767,
-0.09102854877710342,
-0.03810582682490349,
-0.05409633740782738,
0.04026968032121658,
0.005625102203339338,
0.03704223781824112,
-0.020794998854398727,
-0.005863492842763662,
0.02657138742506504,
-0.01552289817482233,
0.02780001610517502,
-0.02119842916727066,
-0.059964414685964584,
-0.014321776106953621,
-0.03394315764307976,
0.026057930663228035,
0.0034772942308336496,
-0.030697379261255264,
0.006766626611351967,
0.018383584916591644,
-0.019621383398771286,
0.009847367182374,
0.008985493332147598,
-0.03018392249941826,
-0.046064406633377075,
-0.0280750822275877,
-0.036638807505369186,
-0.00878836214542389,
0.003229734720662236,
0.0087791932746768,
0.052189212292432785,
0.043093692511320114,
-0.05508657544851303,
-0.01954803243279457,
0.03155925124883652,
-0.08728764951229095,
0.045954380184412,
-0.04401057958602905,
0.0379224494099617,
-0.013111485168337822,
-0.013359044678509235,
-0.03363141790032387,
-0.02493932843208313,
0.03641875460743904,
-0.06425544619560242,
0.03594197332859039,
0.0221153162419796,
0.003938029985874891,
-0.008462867699563503,
-0.03975622355937958,
-0.04287363961338997,
-0.03739065304398537,
0.0073396810330450535,
-0.021253442391753197,
0.019694734364748,
0.028570201247930527,
0.0007203294080682099,
-0.02316056750714779,
0.020703310146927834,
0.0336497537791729,
0.030238935723900795,
-0.052005834877491,
0.0068766530603170395,
-0.03126584738492966,
-0.050685517489910126,
-0.008119034580886364,
-0.01655898056924343,
-0.013469071127474308,
0.009783185087144375,
0.06579581648111343,
0.025177719071507454,
-0.07804542779922485,
-0.026021255180239677,
-0.033393025398254395,
0.06212826818227768,
0.053252801299095154,
-0.015183649957180023,
0.04731137305498123,
-0.02805674448609352,
-0.041443295776844025,
0.005721375346183777,
0.04305701702833176,
0.03190767019987106,
-0.0047265528701245785,
0.06374198943376541,
-0.039389468729496,
0.0008784924284555018,
0.027855029329657555,
0.024847639724612236,
0.09616311639547348,
-0.029303710907697678,
0.016109704971313477,
-0.021253442391753197,
-0.007669760379940271,
0.06649264693260193,
0.008875466883182526,
0.02061162143945694,
0.013349875807762146,
0.038142502307891846,
-0.004914514720439911,
0.005515075754374266,
-0.01820937730371952,
0.0644388198852539,
-0.011552777141332626,
-0.02640634775161743,
0.0005827963468618691,
-0.030734054744243622,
0.03520846366882324,
-0.0600377656519413,
-0.024976003915071487,
0.0221153162419796,
0.0711871087551117,
-0.01709994301199913,
-0.018035167828202248,
0.061614811420440674,
-0.01462434884160757,
0.02688312903046608,
0.04401057958602905,
0.024829301983118057,
0.027139857411384583,
0.004128283821046352,
0.013230680488049984,
0.03821585327386856,
0.037262290716171265,
0.05185913294553757,
0.019896449521183968,
-0.02224368043243885,
0.06051454693078995,
0.039792899042367935,
0.017796777188777924,
0.017796777188777924,
0.03447495400905609,
-0.0063494429923594,
-0.010965969413518906,
0.034548304975032806,
-0.01925462856888771,
0.03982957452535629,
-0.03282455727458,
-0.03491505980491638,
0.015275338664650917,
-0.023417295888066292,
0.047421399503946304,
0.03330133855342865,
-0.029468750581145287,
-0.0379224494099617,
-0.042616911232471466,
-0.027543287724256516,
-0.019639721140265465,
0.0576171837747097,
0.037555694580078125,
-0.00006228384881978855,
-0.031100809574127197,
-0.016779033467173576,
-0.003394774394109845,
-0.013872501440346241,
-0.03720727562904358,
-0.0013306323671713471,
-0.03656545653939247,
0.040673110634088516,
-0.01554123591631651,
0.05688367411494255,
-0.018319403752684593,
-0.028441837057471275,
-0.02688312903046608,
-0.03773907199501991,
-0.010415837168693542,
0.06095465272665024,
0.036987222731113434,
-0.02449922263622284,
-0.02820344641804695,
0.0194380059838295,
0.003672132734209299,
-0.033979833126068115,
-0.009590638801455498,
0.019181277602910995,
0.0007220485713332891,
-0.004059517290443182,
-0.02688312903046608,
-0.03286123275756836,
-0.001520886435173452,
-0.008022761903703213,
0.006679522339254618,
0.017063267529010773,
-0.015367027372121811,
0.024389196187257767
] |
21,618 | python_usernames.validators | is_safe_username | null | def is_safe_username(
username: str, whitelist=None, blacklist=None, regex=username_regex, max_length=None
) -> bool:
# check for max length
if max_length and len(username) > max_length:
return False
# check against provided regex
if not re.match(regex, username):
return False
# ensure the word is not in the blacklist and is not a reserved word
if whitelist is None:
whitelist = []
if blacklist is None:
blacklist = []
default_words = get_reserved_words()
whitelist = set(
[each_whitelisted_name.lower() for each_whitelisted_name in whitelist]
)
blacklist = set(
[each_blacklisted_name.lower() for each_blacklisted_name in blacklist]
)
default_words = default_words - whitelist
default_words = default_words.union(blacklist)
return False if username.lower() in default_words else True
| (username: str, whitelist=None, blacklist=None, regex=re.compile('\n ^ # beginning of string\n (?!_$) # no only _\n (?![-.]) # no - or . at the beginning\n (?!.*[_.-]{2}) # no __ or _. or ._, re.VERBOSE), max_length=None) -> bool | [
-0.02025965042412281,
-0.03962837532162666,
0.037882160395383835,
0.05281407758593559,
-0.015038825571537018,
0.008508340455591679,
0.04272879660129547,
-0.015225919894874096,
-0.006895765196532011,
0.0023832262959331274,
0.03193077817559242,
0.04696960374712944,
0.0060404762625694275,
-0.021061483770608902,
-0.025480475276708603,
-0.017123591154813766,
0.03483519330620766,
0.012499687261879444,
0.008824619464576244,
-0.02751178666949272,
-0.03141403943300247,
-0.0015925297047942877,
-0.004748634062707424,
0.00882907398045063,
-0.016998862847685814,
0.07448139041662216,
0.00979127362370491,
0.037383243441581726,
-0.009345810860395432,
0.04418991506099701,
0.02439354546368122,
0.003853253787383437,
0.0253557451069355,
0.03955710306763649,
0.09443812817335129,
-0.059264376759529114,
0.012562052346765995,
0.05883673205971718,
-0.029667826369404793,
-0.10555687546730042,
-0.017239412292838097,
0.012303683906793594,
0.014753730036318302,
0.019279632717370987,
-0.0348530150949955,
-0.02179204300045967,
0.01798778958618641,
0.030701300129294395,
-0.013568798080086708,
-0.012321502901613712,
0.01862034760415554,
-0.014539907686412334,
-0.01097620464861393,
-0.0035280657466500998,
-0.005991475190967321,
-0.04148150235414505,
0.030131107196211815,
0.06895764917135239,
-0.018762895837426186,
-0.018869806081056595,
-0.03597557917237282,
-0.05687669664621353,
-0.036011215299367905,
-0.05206569656729698,
0.03203768655657768,
0.02450045756995678,
-0.010940567590296268,
-0.037205059081315994,
0.040946945548057556,
-0.01273132860660553,
0.00812524277716875,
-0.005301008000969887,
-0.006797763053327799,
0.001515687326900661,
-0.007367955520749092,
0.0329107940196991,
0.0026594132650643587,
0.03611812740564346,
-0.016045572236180305,
-0.04294262081384659,
0.04476010799407959,
-0.038274168968200684,
0.005243097897619009,
0.0027975067496299744,
-0.018549073487520218,
-0.07227189093828201,
-0.042016055434942245,
-0.02975691854953766,
0.01924399472773075,
-0.009167625568807125,
-0.053170446306467056,
0.0037040235474705696,
0.05206569656729698,
0.032518789172172546,
-0.06403973698616028,
-0.01872725784778595,
0.046328138560056686,
0.0063344817608594894,
-0.011929495260119438,
0.008138606324791908,
-0.01940436102449894,
0.06314881145954132,
-0.017845241352915764,
0.0031917414162307978,
-0.04215860366821289,
0.03107548877596855,
-0.028545260429382324,
-0.014548816718161106,
-0.03994910791516304,
0.002940054750069976,
-0.0455084852874279,
-0.06304190307855606,
0.06304190307855606,
0.022647330537438393,
0.0012105453060939908,
-0.028277982026338577,
-0.014807185158133507,
0.008379156701266766,
-0.025658659636974335,
-0.025444837287068367,
0.005243097897619009,
0.02965000830590725,
-0.02720887027680874,
-0.023752078413963318,
0.007612959947437048,
0.07273517549037933,
-0.005657378118485212,
0.010236736387014389,
0.0253557451069355,
0.05142423138022423,
-0.050675854086875916,
0.0665699690580368,
-0.026888137683272362,
0.01731068640947342,
0.02371644228696823,
0.004390036221593618,
0.01491409633308649,
0.060119666159152985,
0.010112007148563862,
-0.033017706125974655,
-0.004766452591866255,
0.024126268923282623,
0.05416828393936157,
-0.02189895324409008,
-0.051744963973760605,
0.0075995963998138905,
0.0017462143441662192,
-0.01055746991187334,
0.06047603860497475,
-0.04561539739370346,
0.044902656227350235,
-0.018638165667653084,
0.01771160215139389,
-0.041338954120874405,
-0.028616534546017647,
0.01968945749104023,
-0.017355233430862427,
-0.055486854165792465,
0.002948964014649391,
0.0007389115053229034,
0.026977229863405228,
-0.008045058697462082,
-0.08852237462997437,
-0.028830355033278465,
0.009082987904548645,
0.019261814653873444,
0.10904930531978607,
-0.023181887343525887,
0.03367699310183525,
0.055486854165792465,
0.04426118731498718,
0.012294774875044823,
0.015511016361415386,
0.1271529197692871,
-0.009381447918713093,
0.012276955880224705,
-0.04002038389444351,
-0.03299988806247711,
-0.056270867586135864,
0.02195240929722786,
-0.03809598460793495,
0.005924656055867672,
0.015288284979760647,
-0.045294661074876785,
0.03880872204899788,
-0.03089730255305767,
-0.01890544407069683,
0.00595583813264966,
0.006258753128349781,
0.04696960374712944,
-0.04194478318095207,
-0.015698110684752464,
0.023164069280028343,
-0.022558238357305527,
-0.020812025293707848,
-0.012214591726660728,
0.023573894053697586,
0.015484288334846497,
-0.00674876244738698,
-0.06535831093788147,
-0.03791779652237892,
0.034657008945941925,
-0.017978880554437637,
-0.05812399461865425,
0.024126268923282623,
-0.022665150463581085,
-0.028277982026338577,
0.020509108901023865,
-0.03209114447236061,
-0.05737561360001564,
-0.00400471081957221,
-0.0028910539112985134,
-0.025106286630034447,
0.1170319989323616,
-0.004824362695217133,
0.049321647733449936,
0.030540933832526207,
0.006842309609055519,
0.019832005724310875,
0.020437834784388542,
0.03670613840222359,
0.04689832776784897,
-0.029436185956001282,
-0.021079301834106445,
0.03558357432484627,
-0.012606598436832428,
0.02426881715655327,
0.05602140724658966,
0.05484538525342941,
-0.02455391176044941,
0.003975756000727415,
-0.03462137281894684,
-0.028598714619874954,
0.056555964052677155,
-0.043263353407382965,
-0.010860384441912174,
0.0481099896132946,
0.01128802914172411,
0.07433883845806122,
0.0037552518770098686,
0.018121428787708282,
-0.03463919088244438,
-0.014931914396584034,
0.010192190296947956,
-0.0010273486841470003,
-0.01691867969930172,
-0.05391882359981537,
0.05630650371313095,
-0.026674315333366394,
0.012116589583456516,
-0.055985771119594574,
0.044118642807006836,
-0.04436809942126274,
-0.021685130894184113,
-0.031538769602775574,
0.03599339723587036,
-0.013818257488310337,
-0.031039850786328316,
-0.029792554676532745,
-0.04255061224102974,
0.009782364591956139,
-0.0055059208534657955,
-0.0030091016087681055,
0.04436809942126274,
0.0339442677795887,
0.019903279840946198,
0.05181623995304108,
0.02551611140370369,
-0.0003714046615641564,
-0.049606744199991226,
0.012660054489970207,
0.029329273849725723,
-0.0009566314984112978,
-0.019154902547597885,
0.015413015149533749,
-0.026407038792967796,
0.045187752693891525,
-0.02523101679980755,
0.08460230380296707,
0.006200843024998903,
-0.041730958968400955,
0.007122951094061136,
0.0010891567217186093,
-0.030683482065796852,
0.09386793524026871,
-0.012410595081746578,
0.035672664642333984,
-0.0025703206192702055,
-0.005180732812732458,
-0.013221337459981441,
-0.01708795502781868,
-0.05470283702015877,
0.06460992991924286,
0.0031694681383669376,
-0.05698360875248909,
0.054809749126434326,
0.05523739382624626,
-0.010049642063677311,
0.0011069751344621181,
-0.04180223494768143,
-0.055593762546777725,
-0.0043410356156528,
0.006650760304182768,
-0.08267790824174881,
-0.011555306613445282,
-0.05334863066673279,
-0.03934327885508537,
0.0249637383967638,
-0.02229096181690693,
-0.004744179546833038,
-0.017444325610995293,
0.024821190163493156,
-0.030879484489560127,
-0.007140769623219967,
0.069706030189991,
0.019671639427542686,
0.06336263567209244,
-0.03287515789270401,
-0.016883041709661484,
0.026211034506559372,
0.04319207742810249,
-0.028563078492879868,
0.0032474242616444826,
-0.036189403384923935,
-0.01686522364616394,
-0.015199192799627781,
0.013417340815067291,
-0.013675709255039692,
-0.025836845859885216,
-0.0015947569627314806,
-0.014958642423152924,
-0.0059380196034908295,
0.051744963973760605,
-0.023520438000559807,
-0.04165968671441078,
0.012758055701851845,
0.01935090683400631,
0.06845872849225998,
0.038452353328466415,
0.015252647921442986,
-0.08859365433454514,
-0.0010991796152666211,
0.01369352824985981,
-0.02467864193022251,
0.006931401789188385,
-0.04775361716747284,
-0.03713378310203552,
0.02720887027680874,
0.02777906320989132,
-0.047789253294467926,
0.016544491052627563,
0.03809598460793495,
-0.010343647561967373,
-0.014486451633274555,
-0.019368724897503853,
0.010156553238630295,
0.01816597580909729,
-0.0075461408123373985,
0.01596538908779621,
-0.01491409633308649,
0.01561792753636837,
-0.05235079303383827,
-0.009541814215481281,
-0.008686525747179985,
-0.0436909981071949,
0.02387680858373642,
0.03536975011229515,
0.006837854627519846,
0.024536093696951866,
0.002231768798083067,
0.03656359016895294,
0.0292579997330904,
0.007154133636504412,
-0.02715541608631611,
-0.024643005803227425,
0.01917272061109543,
0.010922749526798725,
-0.030148925259709358,
-0.02761869691312313,
0.02122185006737709,
0.04821689799427986,
0.020740751177072525,
0.07148788124322891,
0.003761933883652091,
0.016989953815937042,
-0.02387680858373642,
-0.009871456772089005,
0.010477286763489246,
-0.0279572494328022,
-0.007657506503164768,
-0.015760475769639015,
-0.0200280100107193,
-0.03242969512939453,
0.019992372021079063,
-0.08709689974784851,
0.02179204300045967,
-0.01724832132458687,
0.04443937540054321,
-0.001141498563811183,
0.023841172456741333,
-0.030540933832526207,
-0.04964238032698631,
-0.01267787255346775,
0.025872481986880302,
-0.005675196647644043,
0.08545759320259094,
0.026300126686692238,
0.027351418510079384,
0.007287772372364998,
0.06443174928426743,
0.022700786590576172,
-0.04069748520851135,
-0.028331438079476357,
-0.05438210442662239,
0.005973656661808491,
0.028598714619874954,
-0.013283702544867992,
-0.0015658019110560417,
0.0033832902554422617,
-0.024589549750089645,
-0.030968576669692993,
-0.025088468566536903,
0.03519156575202942,
0.050105661153793335,
-0.03314243629574776,
0.030630026012659073,
0.025337927043437958,
-0.07419629395008087,
0.031877320259809494,
-0.07897165417671204,
-0.046043042093515396,
-0.0038465717807412148,
-0.009719999507069588,
-0.038844361901283264,
0.05103222280740738,
-0.03417591005563736,
0.01719486527144909,
-0.010878202505409718,
-0.05545121431350708,
-0.030879484489560127,
0.03724069520831108,
-0.023983720690011978,
0.012098771519958973,
0.055700674653053284,
0.05220824480056763,
0.004837726708501577,
-0.0806109607219696,
0.08752454072237015,
0.0341937281191349,
0.030416203662753105,
-0.058480363339185715,
0.049820564687252045,
-0.05167369171977043,
-0.02049129083752632,
0.01945781707763672,
0.06061858683824539,
-0.07084640860557556,
0.013542070984840393,
0.021204032003879547,
0.044617559760808945,
-0.005733106750994921,
0.04832381010055542,
-0.011296938173472881,
0.016589036211371422,
-0.022451328113675117,
0.0965050756931305,
0.015582290478050709,
-0.011582034640014172,
0.04900091513991356,
0.0478605292737484,
0.0015457561239600182,
-0.01126130111515522,
0.02348480187356472,
-0.06382592022418976,
0.033926449716091156,
0.037383243441581726,
-0.018994536250829697,
0.08702562004327774,
-0.010165462270379066,
-0.006940311286598444,
-0.02031310647726059,
-0.002499046502634883,
-0.0279572494328022,
-0.012660054489970207,
-0.005047094076871872,
-0.012410595081746578,
-0.01542192418128252,
0.03157440572977066,
0.03100421465933323,
-0.03506683558225632,
-0.0061963885091245174,
-0.04835944622755051,
0.013622254133224487,
0.05766071006655693,
-0.005354463588446379,
-0.027796881273388863,
0.008775617927312851,
0.03610030934214592,
-0.0029244637116789818,
-0.02116839401423931,
0.0050248210318386555,
0.018887624144554138,
-0.040198568254709244,
-0.02213059365749359,
0.03948582708835602,
-0.0029957375954836607,
-0.016883041709661484,
-0.01511009968817234,
-0.013996442779898643,
-0.02863435260951519,
-0.0585159994661808,
0.01742650754749775,
-0.013818257488310337,
0.0015580062754452229,
-0.000577431230340153,
0.005822199396789074,
0.007292226888239384,
-0.006209752056747675,
0.03446100652217865,
-0.053847551345825195,
-0.06354082375764847,
0.037882160395383835,
-0.061188776046037674,
-0.017043408006429672,
-0.018941080197691917,
0.014352813363075256,
-0.01420135609805584,
0.030630026012659073,
0.005568285472691059,
-0.015047735534608364,
0.022397872060537338,
0.02337788976728916,
0.0026260034646838903,
-0.028384892269968987,
0.01862034760415554,
0.02286115288734436,
-0.047789253294467926,
0.002065833890810609,
0.010913839563727379,
0.053954459726810455,
-0.01055746991187334,
-0.027868155390024185,
0.013274792581796646,
-0.007955966517329216,
-0.057696349918842316,
0.010744564235210419,
-0.033801719546318054,
0.06026221439242363,
-0.062044065445661545,
0.0014611181104555726,
-0.005523739382624626,
0.025587385520339012,
0.02268296852707863,
-0.032500971108675,
0.03937891498208046,
-0.0028064160142093897,
-0.030540933832526207,
0.013132245279848576,
-0.052422069013118744,
0.10120916366577148,
0.013461887836456299,
-0.07116714864969254,
0.02020619437098503,
0.006294390186667442,
-0.07547922432422638,
-0.055486854165792465,
-0.009149806573987007,
0.04044802859425545,
0.0025925938971340656,
0.007016039919108152,
-0.05484538525342941,
0.012036406435072422,
0.06101059168577194,
0.06778162717819214,
-0.04026984050869942,
0.015911933034658432,
0.038274168968200684,
-0.025373565033078194,
-0.0196360033005476,
-0.004231897182762623,
-0.006183024495840073,
0.033534444868564606,
-0.0645030215382576,
-0.030024196952581406,
0.023734260350465775,
-0.017684875056147575,
0.004904545843601227,
0.02647831290960312,
-0.08175133913755417,
0.012205681763589382,
0.029614370316267014,
0.08260662853717804,
0.00820988044142723,
-0.03351662680506706,
-0.004390036221593618,
0.006414664909243584,
0.008690980263054371,
-0.047325972467660904,
0.01516355574131012,
0.060190942138433456,
-0.015270466916263103,
-0.03118239901959896,
0.008120788261294365,
-0.025498293340206146,
0.002261837711557746,
0.06297063082456589,
-0.026620859280228615,
-0.011225664056837559,
-0.03773961216211319,
-0.047112151980400085,
0.004258624743670225,
0.05021257326006889,
-0.0017606918700039387,
-0.02013492025434971,
0.019956735894083977,
0.02229096181690693,
-0.0026104124262928963,
-0.035458844155073166,
0.0671045258641243,
-0.0011108729522675276,
0.008539522998034954,
0.0040314388461411,
0.032340604811906815,
-0.006338936276733875,
0.00020950674661435187,
-0.06575031578540802,
0.021239668130874634,
0.02767215296626091,
-0.01200076937675476,
-0.022433510050177574,
-0.05698360875248909,
-0.03422936424612999,
0.01420135609805584,
0.03127149119973183,
-0.031610045582056046,
0.004403400234878063,
0.035957761108875275,
-0.004570448771119118,
0.018192702904343605,
-0.07266390323638916,
-0.016170302405953407,
-0.06820927560329437,
0.036527954041957855,
0.02450045756995678,
0.008780072443187237,
0.03948582708835602,
0.005394555162638426,
0.006980402860790491,
0.024340089410543442,
-0.02132876217365265,
-0.010129825212061405,
0.028046341612935066,
0.05641341581940651,
-0.003619385650381446,
0.04561539739370346,
0.07597814500331879,
-0.06047603860497475,
-0.014441905543208122,
0.04351281002163887,
-0.03162786364555359,
-0.022486964240670204,
-0.05947820097208023,
0.015502107329666615,
0.03834544122219086,
-0.036011215299367905,
0.015992116183042526,
-0.0013386158971115947,
-0.02065165713429451,
0.008365792222321033,
-0.0002575332182459533,
0.017239412292838097,
-0.01055746991187334,
0.020526928827166557,
-0.04910782352089882,
0.05555812641978264,
0.05965638533234596,
-0.03656359016895294,
-0.02574775367975235,
-0.0444750115275383,
-0.0340689979493618,
-0.02020619437098503,
0.00534555409103632,
-0.020295288413763046,
-0.041837871074676514,
0.02710196003317833,
0.03659922629594803,
-0.05833781510591507,
-0.0002008759038290009,
0.07604941725730896,
0.007644142489880323,
-0.011092024855315685,
0.01312333531677723,
-0.008980531245470047,
0.041837871074676514,
0.011386030353605747,
-0.028491804376244545,
0.053170446306467056,
0.047325972467660904,
0.010824747383594513,
0.020740751177072525,
-0.04775361716747284,
0.026959411799907684,
-0.018994536250829697,
0.02761869691312313,
0.00343897333368659,
-0.030131107196211815,
-0.06368336826562881,
0.00009333838534075767,
0.06771035492420197,
0.014040988869965076,
0.039806559681892395,
-0.06261426210403442,
0.029115451499819756,
-0.021756405010819435,
-0.006588395684957504,
-0.09115951508283615,
0.03264351934194565,
-0.016651401296257973,
0.03684868663549423,
-0.003058102447539568,
0.07227189093828201,
-0.0047753616236150265,
0.03806034475564957,
0.03713378310203552,
-0.061473872512578964,
-0.09158716350793839,
-0.03959273919463158,
-0.047967441380023956,
0.022094957530498505,
-0.013372794725000858,
0.028937267139554024,
0.07718980312347412,
-0.041909147053956985,
0.07633451372385025,
-0.0009939390001818538,
-0.05295662581920624,
-0.046435046941041946,
-0.014949733391404152,
-0.016027754172682762,
0.013167882338166237,
0.005657378118485212,
-0.07633451372385025,
-0.013550980016589165,
-0.04041238874197006,
0.02400153875350952,
0.04322771355509758,
-0.025587385520339012,
-0.009639816358685493,
0.003911163657903671,
0.035672664642333984,
0.037026870995759964,
-0.004610540345311165,
-0.08474485576152802,
0.022397872060537338,
0.08346191793680191,
0.03089730255305767,
-0.01584956794977188,
-0.01691867969930172,
-0.03337407857179642,
-0.026799045503139496,
0.012464050203561783,
0.09222862869501114,
-0.011394939385354519,
-0.009630907326936722,
-0.025765571743249893,
-0.029489640146493912,
0.012455141171813011,
0.005274279974400997
] |
21,621 | smartypants | _Attr |
class for instantiation of module attribute :attr:`Attr`.
| class _Attr(object):
"""
class for instantiation of module attribute :attr:`Attr`.
"""
q = 1 << 0
"""
flag for normal quotes (``"``) and (``'``) to curly ones.
.. seealso:: :func:`convert_quotes`
"""
b = 1 << 1
"""
flag for double quotes (````backticks''``) to curly ones.
.. seealso:: :func:`convert_backticks`
"""
B = 1 << 2 | b
"""
flag for double quotes (````backticks''``) and single quotes
(```single'``) to curly ones.
.. seealso:: :func:`convert_backticks` and :func:`convert_single_backticks`
"""
mask_b = b | B
d = 1 << 3
"""
flag for dashes (``--``) to em-dashes.
.. seealso:: :func:`convert_dashes`
"""
D = 1 << 4 | d
"""
flag for old-school typewriter dashes (``--``) to en-dashes and dashes
(``---``) to em-dashes.
.. seealso:: :func:`convert_dashes_oldschool`
"""
i = 1 << 5 | d
"""
flag for inverted old-school typewriter dashes (``--``) to em-dashes and
dashes (``---``) to en-dashes.
.. seealso:: :func:`convert_dashes_oldschool_inverted`
"""
mask_d = d | D | i
e = 1 << 6
"""
flag for dashes (``...``) to ellipses.
.. seealso:: :func:`convert_ellipses`
"""
w = 1 << 7
"""
flag for dashes (``"``) to ASCII double quotes (``"``).
This should be of no interest to most people, but of particular interest
to anyone who writes their posts using Dreamweaver, as Dreamweaver
inexplicably uses this entity to represent a literal double-quote
character. SmartyPants only educates normal quotes, not entities (because
ordinarily, entities are used for the explicit purpose of representing the
specific character they represent). The "w" option must be used in
conjunction with one (or both) of the other quote options ("q" or "b").
Thus, if you wish to apply all SmartyPants transformations (quotes, en-
and em-dashes, and ellipses) and also convert ``"`` entities into
regular quotes so SmartyPants can educate them.
"""
u = 0 << 9 | 1 << 8
"""
Output Unicode characters instead of numeric character references, for
example, from ``“`` to left double quotation mark (``“``) (U+201C).
.. seealso:: :func:`convert_entities`
"""
h = 1 << 9 | 0 << 8
"""
Output HTML named entities instead of numeric character references, for
example, from ``“`` to ``“``.
.. seealso:: :func:`convert_entities`
"""
s = 1 << 9 | 1 << 8
"""
Output ASCII equivalents instead of numeric character references, for
example, from ``—`` to ``--``.
.. seealso:: :func:`convert_entities`
"""
mask_o = u | h | s
set0 = 0
"suppress all transformations. (Do nothing.)"
set1 = q | b | d | e
"equivalent to :attr:`q` | :attr:`b` | :attr:`d` | :attr:`e`"
set2 = q | b | D | e
"""
equivalent to :attr:`q` | :attr:`b` | :attr:`D` | :attr:`e`
For old school en- and em- dash.
"""
set3 = q | b | i | e
"""
equivalent to :attr:`q` | :attr:`b` | :attr:`i` | :attr:`e`
For inverted old school en & em- dash."
"""
@property
def default(self):
"Default value of attributes, same value as :attr:`set1`"
global default_smartypants_attr
return default_smartypants_attr
@default.setter
def default(self, attr):
global default_smartypants_attr
default_smartypants_attr = attr
| () | [
0.06874477118253708,
-0.015538066625595093,
0.10095275193452835,
-0.004678794648498297,
0.033677395433187485,
-0.048649538308382034,
-0.015567852184176445,
0.009749764576554298,
-0.011586532928049564,
-0.028216730803251266,
-0.008662596344947815,
0.06147712841629982,
0.014902643859386444,
0.10119103640317917,
0.0009525132481940091,
-0.01588556356728077,
-0.012996376492083073,
0.017364906147122383,
0.011368106119334698,
-0.025059476494789124,
0.000583608285523951,
0.037708356976509094,
0.04086561128497124,
0.01994631066918373,
0.003090238431468606,
0.053216636180877686,
-0.026370035484433174,
0.0035444663371890783,
-0.005272021051496267,
-0.0652102380990982,
-0.023113494738936424,
-0.04471785947680473,
0.009774585254490376,
-0.011943957768380642,
0.05262092873454094,
-0.11485262215137482,
-0.025456614792346954,
0.09586936980485916,
0.004534831736236811,
-0.04281159117817879,
0.06020628288388252,
-0.007560535334050655,
-0.029408149421215057,
-0.0481729693710804,
-0.059848859906196594,
0.007520821411162615,
0.011685817502439022,
0.026270750910043716,
-0.059848859906196594,
-0.06660022586584091,
0.08435233682394028,
0.009635587222874165,
0.0665207952260971,
0.0038398385513573885,
-0.06342311203479767,
-0.006989647634327412,
-0.010141938924789429,
0.09976133704185486,
-0.027561452239751816,
0.019062675535678864,
-0.002750188112258911,
0.10794240236282349,
0.0024138609878718853,
-0.06290683150291443,
-0.0032143443822860718,
-0.012400668114423752,
-0.05031752213835716,
0.0027154383715242147,
0.015021786093711853,
0.05301806703209877,
-0.05448748171329498,
-0.007083968259394169,
-0.017742188647389412,
-0.002598778810352087,
0.010603613220155239,
-0.05329606309533119,
-0.06274797767400742,
0.008796630427241325,
0.005564911291003227,
-0.012569451704621315,
0.014138150960206985,
-0.008449133485555649,
0.025992752984166145,
0.005976943299174309,
0.011248964816331863,
-0.012867306359112263,
-0.02905072271823883,
0.02317306585609913,
0.03766864165663719,
-0.016193345189094543,
-0.03592123091220856,
0.0266877468675375,
-0.012718378566205502,
0.05238264426589012,
-0.0014644503826275468,
-0.00478552607819438,
0.03149312734603882,
-0.01245031040161848,
0.013036089949309826,
-0.001230510650202632,
0.023093637079000473,
0.04114360734820366,
-0.004964238498359919,
-0.04285130649805069,
-0.03677507862448692,
0.019598813727498055,
-0.0560363233089447,
-0.005718802567571402,
-0.013036089949309826,
-0.0638599619269371,
-0.05194579064846039,
-0.023113494738936424,
0.002603742992505431,
0.007803782820701599,
-0.010861753486096859,
-0.04336758702993393,
-0.0267076026648283,
-0.018913747742772102,
0.03240654990077019,
0.023609917610883713,
0.0429704487323761,
0.008607989177107811,
-0.04507528617978096,
0.020909372717142105,
0.024781478568911552,
0.04980124160647392,
0.003872106084600091,
0.04142160713672638,
0.01719612255692482,
0.03715236112475395,
-0.000026178600819548592,
0.024662336334586143,
0.016977695748209953,
0.03955505043268204,
0.046981554478406906,
-0.02750188112258911,
0.016312487423419952,
0.07374873012304306,
-0.02905072271823883,
0.10238245129585266,
0.02827630192041397,
-0.0260324664413929,
0.03606022894382477,
-0.020909372717142105,
-0.09022999554872513,
-0.013711227104067802,
0.01186452992260456,
0.0050933086313307285,
-0.06576623022556305,
0.008042066358029842,
0.04980124160647392,
-0.001013325178064406,
0.012529738247394562,
0.044281005859375,
0.021663935855031013,
0.08776773512363434,
-0.015736635774374008,
-0.07069075852632523,
0.02877272665500641,
0.0008066887385211885,
-0.006463438272476196,
-0.021683793514966965,
-0.018923677504062653,
0.001085306634195149,
0.06040485203266144,
0.04880839213728905,
0.010792254470288754,
-0.07148503512144089,
0.05587746948003769,
0.016312487423419952,
-0.005142950918525457,
0.007024397607892752,
0.00937248207628727,
0.0547257661819458,
0.05500376224517822,
0.08061923086643219,
-0.02698560059070587,
0.028554299846291542,
0.021723506972193718,
-0.010970966890454292,
0.006825827993452549,
0.0025814040564000607,
-0.017603188753128052,
-0.027263598516583443,
0.054249197244644165,
-0.014098437502980232,
0.06223169341683388,
0.00521245039999485,
0.0378076396882534,
0.03866149112582207,
0.04197759926319122,
-0.013592084869742393,
-0.018030114471912384,
0.011477319523692131,
-0.05246207118034363,
0.006269833073019981,
-0.010405044071376324,
-0.08050008863210678,
0.06060342490673065,
0.001902544405311346,
-0.0547257661819458,
0.013055947609245777,
0.02567504160106182,
0.03580208867788315,
0.03951533883810043,
-0.048371538519859314,
0.012410596013069153,
-0.024662336334586143,
-0.08713231235742569,
-0.03373696655035019,
0.012857377529144287,
-0.0028494729194790125,
0.015408996492624283,
0.023609917610883713,
0.030063427984714508,
-0.06493224203586578,
0.06600451469421387,
0.04106418043375015,
-0.06191398203372955,
0.04352644458413124,
0.093724824488163,
-0.01691812463104725,
0.026469320058822632,
0.02515876106917858,
0.03564323112368584,
0.008568275719881058,
0.022895067930221558,
0.020015809684991837,
-0.017096837982535362,
0.03298240154981613,
0.058022018522024155,
-0.03546452149748802,
0.026151608675718307,
0.05289892479777336,
0.019837096333503723,
-0.030778277665376663,
0.04011104628443718,
-0.0024746728595346212,
-0.03828420862555504,
-0.02696574293076992,
0.005644339136779308,
0.0559966117143631,
0.044241294264793396,
0.012162384577095509,
0.02384820207953453,
-0.023788630962371826,
0.03179098293185234,
0.04845096915960312,
-0.02879258245229721,
-0.03598080202937126,
-0.022378787398338318,
-0.0021954344119876623,
-0.018605966120958328,
0.011765245348215103,
0.008190993219614029,
0.003100167028605938,
-0.007193181663751602,
0.03552408888936043,
0.0055748396553099155,
-0.02942800521850586,
-0.005713838618248701,
-0.035742517560720444,
-0.017801759764552116,
0.003087756223976612,
0.06568680703639984,
-0.006374082062393427,
0.02148522436618805,
-0.017096837982535362,
-0.042930733412504196,
-0.000018111713870894164,
-0.013602013699710369,
-0.024404196068644524,
-0.05563918501138687,
0.010544042102992535,
-0.08641746640205383,
-0.03457095846533775,
0.021068228408694267,
-0.0037802676670253277,
0.002186747035011649,
-0.05591718107461929,
-0.0051131658256053925,
0.005778373684734106,
-0.01681884005665779,
0.04440014809370041,
0.002655867487192154,
-0.010275973938405514,
-0.03584180027246475,
0.03272426128387451,
0.01504164282232523,
0.005689017474651337,
0.002381593454629183,
0.03111584670841694,
0.04531357064843178,
-0.057664595544338226,
0.09674307703971863,
-0.030381139367818832,
-0.024126198142766953,
0.006920148618519306,
0.03594108670949936,
-0.05131036788225174,
-0.010663184337317944,
-0.009868905879557133,
0.06350253522396088,
0.05158836767077446,
-0.03230726346373558,
0.029011009261012077,
0.006334368139505386,
-0.008200922049582005,
0.03540495038032532,
0.04896724969148636,
0.0481729693710804,
-0.01212267018854618,
-0.037172216922044754,
0.002822169568389654,
-0.002896633232012391,
0.012678665108978748,
0.02164408005774021,
-0.0032714330591261387,
0.022180218249559402,
0.06743421405553818,
-0.015230284072458744,
-0.05186636373400688,
-0.007049218751490116,
-0.02071080356836319,
-0.01335380133241415,
-0.04003161936998367,
0.026906171813607216,
-0.022319216281175613,
0.06310539692640305,
0.0156572088599205,
-0.0651308074593544,
0.0039589800871908665,
0.00324164773337543,
0.029507433995604515,
-0.015547994524240494,
-0.010871682316064835,
-0.02355034649372101,
-0.005252164322882891,
-0.05917372182011604,
-0.07196160405874252,
0.037708356976509094,
0.04777583107352257,
-0.03351853787899017,
-0.0036884292494505644,
-0.011000752449035645,
-0.048927534371614456,
-0.010970966890454292,
0.03292283043265343,
0.048371538519859314,
-0.015567852184176445,
0.052025217562913895,
-0.06818877905607224,
0.04158046096563339,
-0.0007750417571514845,
0.0429704487323761,
-0.04364558309316635,
-0.013125446625053883,
0.008444169536232948,
0.01003769040107727,
-0.003604037221521139,
0.048411253839731216,
-0.03349868208169937,
0.01590541936457157,
0.025476472452282906,
-0.01486293040215969,
-0.05702917277812958,
-0.010097261518239975,
-0.014465791173279285,
0.03834377974271774,
-0.0004452301363926381,
0.05063523352146149,
-0.005406055599451065,
-0.062311120331287384,
-0.08895915001630783,
0.001541396020911634,
-0.022617070004343987,
-0.022736212238669395,
0.02982514537870884,
-0.05317692086100578,
-0.05548032745718956,
0.013999152928590775,
0.028355730697512627,
-0.012102813459932804,
0.04551213979721069,
-0.01327437348663807,
-0.03399510681629181,
0.04261302202939987,
0.02059166133403778,
0.020174665376544,
0.04622698947787285,
0.00885123759508133,
-0.004770633298903704,
0.058141160756349564,
-0.038502633571624756,
-0.0520649328827858,
0.004929488990455866,
0.009819263592362404,
-0.009541266597807407,
-0.023014210164546967,
0.012480095960199833,
0.03474966809153557,
0.03818492218852043,
0.03075842186808586,
-0.015796206891536713,
-0.003378164255991578,
0.016471343114972115,
0.05301806703209877,
0.012807735241949558,
-0.030122999101877213,
0.07311330735683441,
-0.03441210091114044,
0.016391916200518608,
-0.03369725123047829,
-0.04352644458413124,
0.021445510908961296,
-0.07124675065279007,
0.031036419793963432,
-0.0008296483429148793,
0.011427677236497402,
0.012331168167293072,
-0.04078618437051773,
-0.0585780143737793,
0.006041478365659714,
0.035881515592336655,
-0.008578204549849033,
0.011149679310619831,
-0.007466214708983898,
-0.010365329682826996,
-0.007049218751490116,
0.061159417033195496,
-0.03179098293185234,
0.0066222939640283585,
-0.02227950282394886,
-0.04737869277596474,
0.052819497883319855,
-0.049960095435380936,
-0.02150508016347885,
-0.03544466197490692,
0.023907773196697235,
-0.019837096333503723,
0.005406055599451065,
0.003519645193591714,
0.04114360734820366,
0.019191745668649673,
-0.0007936576148495078,
-0.017682617530226707,
-0.0573468841612339,
0.08768831193447113,
0.07335158437490463,
-0.005981907248497009,
0.028613870963454247,
0.07243816554546356,
0.03232711926102638,
-0.039277054369449615,
0.010901467874646187,
-0.04440014809370041,
-0.00970508623868227,
-0.0690624862909317,
-0.0305995661765337,
-0.030718708410859108,
-0.000951272202655673,
-0.011387962847948074,
-0.03945576772093773,
0.03969405218958855,
-0.03570280224084854,
0.03596094250679016,
0.03377667814493179,
-0.013711227104067802,
-0.046465273946523666,
0.010980895720422268,
-0.033300112932920456,
-0.027124598622322083,
0.00971005018800497,
-0.006607401184737682,
-0.025059476494789124,
0.026151608675718307,
-0.06612365692853928,
-0.05123094096779823,
-0.03955505043268204,
-0.06961847841739655,
0.026151608675718307,
-0.046822696924209595,
0.015150856226682663,
-0.02110794186592102,
-0.01537921093404293,
-0.015577780082821846,
0.06417767703533173,
-0.023470919579267502,
0.031453415751457214,
0.03441210091114044,
-0.010871682316064835,
0.05587746948003769,
0.03713250532746315,
-0.014753716997802258,
0.032485976815223694,
0.040706753730773926,
-0.004718508571386337,
-0.03530566394329071,
-0.0390784852206707,
-0.02448362484574318,
0.002663313876837492,
-0.05325635150074959,
-0.031215131282806396,
-0.01589549146592617,
0.06560737639665604,
-0.02059166133403778,
-0.021147655323147774,
-0.012410596013069153,
0.019360529258847237,
-0.005986871663480997,
0.0006000522989779711,
-0.0612388476729393,
0.0637805387377739,
-0.029626574367284775,
0.01784147322177887,
-0.022299358621239662,
-0.02370920218527317,
0.00865763146430254,
0.013214802369475365,
-0.0005566152394749224,
0.022100789472460747,
0.013641727156937122,
-0.08121494203805923,
-0.055798038840293884,
-0.02043280564248562,
-0.0007911755237728357,
-0.0006360430270433426,
-0.02799830585718155,
0.02565518394112587,
0.008593096397817135,
0.021723506972193718,
-0.05980914458632469,
-0.002613671589642763,
-0.007649891544133425,
-0.012053171172738075,
0.06795049458742142,
-0.010663184337317944,
0.015567852184176445,
0.009084556251764297,
0.012609166093170643,
0.05651289224624634,
-0.00025426209322176874,
-0.00016071721620392054,
-0.011378034949302673,
0.007644927129149437,
0.02319292165338993,
-0.05667174607515335,
-0.010742612183094025,
-0.006269833073019981,
0.009010093286633492,
-0.07756125926971436,
-0.014366506598889828,
-0.05409034341573715,
0.0037554465234279633,
0.035226237028837204,
-0.058935441076755524,
0.027045171707868576,
0.04388386756181717,
-0.0027700450737029314,
0.05937229096889496,
-0.021008657291531563,
-0.029388291761279106,
-0.03568294644355774,
-0.045114997774362564,
-0.04586956277489662,
0.0013937099138274789,
0.001906267600134015,
-0.026151608675718307,
-0.008409420028328896,
0.002377870259806514,
-0.022895067930221558,
-0.00872216746211052,
0.07962638884782791,
0.06600451469421387,
-0.036655936390161514,
0.011000752449035645,
-0.037192076444625854,
0.02972586080431938,
0.028991153463721275,
0.0011430159211158752,
0.015955062583088875,
0.0495232418179512,
-0.07613155990839005,
-0.03983305022120476,
0.042255599051713943,
-0.035226237028837204,
0.049443814903497696,
0.04936438798904419,
-0.0048128291964530945,
-0.05309749394655228,
-0.02839544415473938,
-0.01574656367301941,
0.032485976815223694,
-0.01876482181251049,
-0.023272350430488586,
0.007659819908440113,
0.018059900030493736,
-0.005051112733781338,
0.01642170175909996,
0.021524937823414803,
0.0364573672413826,
0.004887292627245188,
0.010315687395632267,
0.0025689934846013784,
0.027025314047932625,
0.014634574763476849,
0.027124598622322083,
-0.0034824132453650236,
-0.049682099372148514,
-0.009898691438138485,
-0.01759326085448265,
-0.029626574367284775,
-0.013989224098622799,
0.018000328913331032,
-0.009754728525876999,
-0.008841308765113354,
-0.038502633571624756,
0.030381139367818832,
-0.02122708410024643,
-0.022716354578733444,
-0.07772012054920197,
0.02799830585718155,
-0.052144359797239304,
-0.018337896093726158,
-0.005490447860211134,
-0.02916986495256424,
-0.021465366706252098,
0.02724374085664749,
-0.026747316122055054,
-0.017345048487186432,
0.020144879817962646,
-0.004765668883919716,
0.06894334405660629,
-0.034968096762895584,
-0.020869659259915352,
0.0378076396882534,
-0.0015116105787456036,
0.02944786287844181,
0.026250893250107765,
0.043725013732910156,
0.013760869391262531,
-0.020353376865386963,
0.00267076026648283,
0.028097590431571007,
-0.04273216426372528,
0.016640126705169678,
-0.003321075579151511,
-0.054646335542201996,
-0.0041674780659377575,
-0.043963294476270676,
-0.010405044071376324,
0.02619132213294506,
-0.0024994940031319857,
-0.043447013944387436,
-0.05254150182008743,
0.0247616209089756,
-0.07462242990732193,
-0.0012212026631459594,
0.02410634234547615,
-0.05877658352255821,
-0.0364772230386734,
0.014773573726415634,
-0.0006757569499313831,
-0.020015809684991837,
-0.006344296969473362,
-0.0038894808385521173,
0.0027477059047669172,
0.04328816011548042,
0.04880839213728905,
0.00231209397315979,
-0.00988876260817051,
0.034054674208164215,
-0.024582909420132637,
-0.05976943299174309,
-0.07791868597269058,
-0.029209578409790993,
0.04586956277489662,
0.010702897794544697,
0.03621908277273178,
0.004775597248226404,
0.020105166360735893,
0.012609166093170643,
-0.007173324469476938,
-0.007898103445768356,
0.001825598650611937,
0.0015351907350122929,
0.004703615792095661,
0.015706850215792656,
0.0050287735648453236,
-0.062311120331287384,
-0.034987952560186386,
-0.02277592569589615,
-0.021167512983083725,
-0.0020192039664834738,
0.013651655986905098,
-0.06822849065065384,
0.025714755058288574,
-0.027462167665362358,
0.04050818458199501,
-0.04009119048714638,
0.007128646597266197,
-0.02057180367410183,
-0.020611518993973732,
0.021862506866455078,
-0.01744433492422104,
0.01874496415257454,
-0.017513833940029144,
-0.02918972261250019,
0.03995219245553017,
0.014565075747668743,
0.04352644458413124,
0.10254131257534027,
-0.0036338225472718477,
-0.023351777344942093,
0.030778277665376663,
-0.06683851033449173,
-0.007123682182282209,
0.02150508016347885,
0.014555146917700768,
0.022438358515501022,
0.02174336463212967,
0.0015686993720009923,
0.0338561050593853,
0.02841530181467533,
0.005986871663480997,
-0.011665960773825645,
-0.11286692321300507,
-0.018278326839208603,
0.023212779313325882,
-0.055798038840293884,
-0.01668976992368698,
0.06290683150291443,
-0.030142856761813164,
0.010802183300256729,
-0.015021786093711853,
-0.04495614394545555,
-0.004480225034058094,
-0.048014115542173386,
-0.05655260384082794,
0.042533595114946365,
-0.04205702990293503,
0.03741050139069557,
-0.034074533730745316,
0.015408996492624283,
-0.016242988407611847,
0.01900310441851616,
0.031592413783073425,
0.03812535107135773,
0.015617494471371174,
0.0020651232916861773,
0.015150856226682663,
0.018834320828318596,
-0.032227836549282074,
-0.012857377529144287,
0.09173912554979324,
-0.02490062080323696,
0.04352644458413124,
0.01654084213078022,
-0.007982495240867138,
-0.03268454596400261,
-0.04662412777543068,
-0.02682674489915371,
-0.017146479338407516,
0.030817992985248566,
0.03560351952910423,
0.01152696181088686,
0.010117118246853352,
0.04519442841410637
] |
21,622 | smartypants | _tags_to_skip_regex |
Convert a list of skipped tags into regular expression
The default *tags* are :attr:`tags_to_skip`.
>>> f = _tags_to_skip_regex
>>> print(f(['foo', 'bar']).pattern)
<(/)?(foo|bar)[^>]*>
| def _tags_to_skip_regex(tags=None):
"""
Convert a list of skipped tags into regular expression
The default *tags* are :attr:`tags_to_skip`.
>>> f = _tags_to_skip_regex
>>> print(f(['foo', 'bar']).pattern)
<(/)?(foo|bar)[^>]*>
"""
if tags is None:
tags = tags_to_skip
if isinstance(tags, (list, tuple)):
tags = '|'.join(tags)
return re.compile('<(/)?(%s)[^>]*>' % tags, re.I)
| (tags=None) | [
-0.02476414106786251,
-0.00904843583703041,
0.034288812428712845,
-0.01549159549176693,
-0.00642448291182518,
-0.02022591605782509,
0.025809986516833305,
-0.014277666807174683,
0.020823542028665543,
0.005831525661051273,
0.04411229491233826,
0.04889330267906189,
-0.013904150575399399,
-0.041609734296798706,
0.0013528299750760198,
-0.019665641710162163,
0.03970479965209961,
0.01730315014719963,
-0.0043794806115329266,
0.025996744632720947,
-0.0008643403998576105,
0.053823720663785934,
0.014333694241940975,
0.015342188067734241,
-0.021607927978038788,
0.01159768644720316,
0.002518901601433754,
-0.039107173681259155,
-0.05554189905524254,
0.003356979228556156,
0.008109976537525654,
0.003504051361232996,
-0.005901560187339783,
-0.02523103728890419,
0.016882942989468575,
0.009487317875027657,
-0.049416229128837585,
0.12408217042684555,
0.0004467607068363577,
-0.02773359790444374,
0.037052832543849945,
0.007493673823773861,
-0.01123350765556097,
-0.05965057760477066,
0.03025483340024948,
-0.019460206851363182,
0.02226158045232296,
-0.04239411652088165,
0.03602566197514534,
0.018834566697478294,
0.09106331318616867,
0.09248267859220505,
-0.0014181953156366944,
-0.008301403373479843,
0.011186817660927773,
0.05113440379500389,
-0.043066445738077164,
0.055429842323064804,
0.012129946611821651,
0.02087957039475441,
-0.0725368931889534,
0.024147838354110718,
0.0362684465944767,
0.013792094774544239,
-0.013362551108002663,
0.037127535790205,
0.0070547922514379025,
-0.04011566936969757,
0.015192781575024128,
-0.01837700977921486,
-0.03161816671490669,
-0.048781249672174454,
0.0032776070293039083,
-0.010075606405735016,
0.009109132923185825,
-0.004050319083034992,
-0.01847972720861435,
-0.0051872096955776215,
-0.023008612915873528,
-0.05251641571521759,
-0.025604553520679474,
0.01593981496989727,
0.01650942675769329,
-0.004764669109135866,
0.08441472053527832,
0.0075497012585401535,
-0.06077112630009651,
-0.024185189977288246,
-0.04612928256392479,
-0.06555213779211044,
-0.05528043583035469,
-0.03552141413092613,
0.0058502014726400375,
-0.012615518644452095,
-0.022635096684098244,
0.025641905143857002,
0.006433820817619562,
0.053786370903253555,
-0.004393487237393856,
-0.023811673745512962,
0.054271940141916275,
0.016882942989468575,
-0.05714801698923111,
0.005920235998928547,
-0.023101992905139923,
-0.06603770703077316,
-0.015220795758068562,
0.023755647242069244,
-0.01844237558543682,
-0.01768600381910801,
0.0018757529323920608,
-0.04131092131137848,
0.06868967413902283,
-0.02018856443464756,
-0.005602746736258268,
0.019553586840629578,
-0.017023012042045593,
0.012643531896173954,
0.04063859209418297,
-0.05864208564162254,
-0.016602806746959686,
-0.007451653480529785,
-0.06446894258260727,
0.020263267681002617,
-0.037762515246868134,
-0.021421167999505997,
0.016500089317560196,
0.01866648532450199,
-0.03753840550780296,
0.024484002962708473,
0.03146876022219658,
0.046241339296102524,
0.015108740888535976,
-0.00035425700480118394,
-0.01791011355817318,
0.03918187692761421,
0.006690613459795713,
0.005929573904722929,
0.022803179919719696,
-0.008516175672411919,
0.039368633180856705,
0.007358274422585964,
-0.017844749614596367,
0.05255376547574997,
-0.014604493044316769,
-0.013399902731180191,
-0.028984876349568367,
0.03445689380168915,
0.0908391997218132,
0.029787937179207802,
-0.016051869839429855,
-0.03921922668814659,
-0.007876528427004814,
0.036810047924518585,
0.06984757632017136,
0.04724983125925064,
0.03899511694908142,
0.02226158045232296,
-0.024222541600465775,
-0.0016411379911005497,
0.01695764809846878,
0.051507920026779175,
-0.059052951633930206,
0.011382914148271084,
0.046428095549345016,
-0.03503584489226341,
-0.019796371459960938,
0.022560393437743187,
-0.0001416736195096746,
0.04045183211565018,
0.01801283098757267,
0.011541658081114292,
0.029657207429409027,
0.023214047774672508,
0.004052653443068266,
0.03417675569653511,
-0.018778540194034576,
0.08008192479610443,
-0.06308692693710327,
0.06036026030778885,
0.04067594185471535,
0.037015482783317566,
0.0048043555580079556,
0.023998431861400604,
0.060024093836545944,
0.011849809437990189,
-0.0008252379484474659,
-0.03230917453765869,
-0.04086270183324814,
-0.047847457230091095,
0.030572321265935898,
0.006924061104655266,
0.0028153802268207073,
0.034961141645908356,
-0.014875292778015137,
0.02496957592666149,
0.01825561746954918,
-0.006111662834882736,
0.040937405079603195,
-0.007302246522158384,
-0.003753840457648039,
0.035241276025772095,
0.019217422232031822,
-0.01707904040813446,
0.005864208564162254,
-0.019348151981830597,
-0.051732029765844345,
-0.028536656871438026,
0.030703052878379822,
0.0039125848561525345,
0.05572865530848503,
0.017863424494862556,
-0.012933007441461086,
0.01457647979259491,
-0.00631709722802043,
0.06211578845977783,
0.015762394294142723,
0.03301885351538658,
-0.05072353407740593,
-0.014949996024370193,
-0.004297773819416761,
0.019460206851363182,
-0.0011619863798841834,
-0.041833844035863876,
0.09210915863513947,
-0.016705524176359177,
0.03606301546096802,
-0.009295891039073467,
-0.013932163827121258,
0.008768298663198948,
0.04362672194838524,
-0.08053015172481537,
0.025866014882922173,
-0.014389721676707268,
0.03651123493909836,
0.02016988955438137,
-0.0222802571952343,
-0.07574913650751114,
0.04269292950630188,
-0.018489064648747444,
-0.0445605143904686,
0.0238303504884243,
0.02818181738257408,
0.009230525232851505,
0.0913621261715889,
0.02496957592666149,
-0.054496049880981445,
-0.033597804605960846,
0.03862160071730614,
0.0487065464258194,
0.02549249865114689,
0.015911800786852837,
0.022112173959612846,
-0.0017146739410236478,
-0.025118982419371605,
0.00762440450489521,
0.05016326159238815,
-0.019796371459960938,
0.01746189408004284,
0.011877823621034622,
0.02519368566572666,
-0.027658892795443535,
-0.029787937179207802,
-0.04721248149871826,
0.04276763275265694,
0.05038737133145332,
0.04037712886929512,
-0.03862160071730614,
-0.028051085770130157,
0.04011566936969757,
-0.059762634336948395,
-0.006499186158180237,
0.02637026272714138,
-0.022803179919719696,
0.029078256338834763,
-0.010159648023545742,
-0.03397132083773613,
0.009230525232851505,
0.040265075862407684,
0.006774654611945152,
-0.037706486880779266,
0.010019578970968723,
0.006149014458060265,
-0.029246337711811066,
0.049229469150304794,
0.010561177507042885,
0.005640098359435797,
-0.020281944423913956,
-0.03804264962673187,
0.0014053556369617581,
0.033579129725694656,
0.011803120374679565,
0.04975239187479019,
-0.07589854300022125,
-0.012876980006694794,
0.01575305685400963,
-0.009109132923185825,
-0.05303933843970299,
-0.006415145006030798,
-0.01711639203131199,
0.045793116092681885,
0.022803179919719696,
0.06555213779211044,
0.007657087408006191,
-0.04919211566448212,
0.01992710307240486,
-0.037127535790205,
0.007591722067445517,
-0.046241339296102524,
-0.027191998437047005,
-0.049640338867902756,
0.00041320259333588183,
-0.027883004397153854,
-0.03552141413092613,
-0.008385444059967995,
0.006924061104655266,
0.03380323946475983,
-0.005103168543428183,
0.012307367287576199,
-0.02545514702796936,
0.06050966680049896,
0.012083257548511028,
-0.03800529986619949,
-0.06417012959718704,
-0.01262485608458519,
0.05853002890944481,
-0.04515814036130905,
-0.056102171540260315,
0.014230976812541485,
0.012204649858176708,
0.04814627021551132,
0.00976745504885912,
0.0025445809587836266,
0.023979756981134415,
-0.0311699490994215,
-0.010458461008965969,
0.0668220967054367,
-0.007208867464214563,
-0.030012046918272972,
0.00670462055131793,
-0.01595848985016346,
-0.027640217915177345,
-0.0032635999377816916,
0.007241550367325544,
-0.025417795404791832,
-0.009814145043492317,
0.014688534662127495,
0.015790408477187157,
0.010888004675507545,
0.08262184262275696,
0.13715524971485138,
0.06801734864711761,
0.014847279526293278,
0.018199589103460312,
0.013586660847067833,
-0.0361003652215004,
-0.032477255910634995,
0.1262485682964325,
0.016882942989468575,
-0.03490511327981949,
-0.01744321919977665,
0.020562080666422844,
0.019348151981830597,
0.021271761506795883,
0.07623470574617386,
0.02203747071325779,
0.025175008922815323,
-0.0261648278683424,
-0.04754864424467087,
-0.01683625392615795,
-0.011401589959859848,
0.03585758060216904,
-0.05120910704135895,
-0.021682631224393845,
-0.020076509565114975,
-0.06973551958799362,
0.020804867148399353,
-0.03996625915169716,
0.011438941583037376,
0.052217599004507065,
-0.12311102449893951,
-0.012802276760339737,
0.046428095549345016,
0.04104945808649063,
-0.01799415610730648,
0.0073536052368581295,
-0.00041261897422373295,
0.045344896614551544,
0.03346707299351692,
-0.0026613047812134027,
-0.0012512800749391317,
-0.07403096556663513,
-0.01581842266023159,
0.024820169433951378,
-0.01409090869128704,
-0.05292728170752525,
-0.009076450020074844,
0.011569672264158726,
-0.018937284126877785,
-0.012344718910753727,
-0.04952828213572502,
-0.04429905116558075,
0.018871918320655823,
-0.007390956860035658,
0.059090305119752884,
0.0835929811000824,
0.0445605143904686,
-0.005831525661051273,
0.016472075134515762,
-0.039779502898454666,
-0.029246337711811066,
-0.002542246365919709,
0.003793526440858841,
-0.043701425194740295,
0.005831525661051273,
0.014539128169417381,
0.018068859353661537,
0.02250436693429947,
-0.03925658017396927,
-0.004332791082561016,
-0.01169106550514698,
-0.04609192907810211,
0.0006326435250230134,
0.018320981413125992,
0.037015482783317566,
0.0005127097247168422,
0.07828904688358307,
-0.0440375916659832,
0.026314234361052513,
0.045979876071214676,
-0.060659073293209076,
-0.0013073076261207461,
-0.021607927978038788,
-0.022616421803832054,
0.0369594544172287,
0.00370014738291502,
0.009907524101436138,
-0.03884571045637131,
0.008693595416843891,
0.057260073721408844,
-0.04037712886929512,
0.022803179919719696,
0.028798118233680725,
0.021944092586636543,
0.02177600935101509,
-0.022541718557476997,
-0.031113920733332634,
0.021701306104660034,
-0.00824537593871355,
0.017947465181350708,
0.03286944702267647,
0.019833723083138466,
0.011382914148271084,
-0.03260798752307892,
0.04773540422320366,
0.00014123591245152056,
0.009067111648619175,
-0.02250436693429947,
-0.036361828446388245,
-0.03415808081626892,
0.1307307630777359,
0.04060123860836029,
0.006648593116551638,
0.03283209726214409,
-0.037949271500110626,
0.006223718170076609,
0.021869389340281487,
-0.052404358983039856,
-0.04605457931756973,
-0.025660580024123192,
0.06275076419115067,
-0.0293583944439888,
0.04045183211565018,
-0.04299174249172211,
-0.04295439273118973,
0.05087294057011604,
-0.01854509301483631,
0.012017891742289066,
0.05098499730229378,
-0.014557803981006145,
-0.01970299333333969,
-0.08463882654905319,
0.013698715716600418,
0.05191878601908684,
-0.036156393587589264,
0.031804926693439484,
-0.007503011729568243,
-0.014240315183997154,
0.0036674647126346827,
-0.004342128988355398,
0.0034690340980887413,
-0.04654015228152275,
-0.0014322021743282676,
-0.005005120299756527,
-0.010028917342424393,
-0.014296342618763447,
0.025062954053282738,
0.019553586840629578,
-0.011784444563090801,
-0.008623560890555382,
0.004507876932621002,
-0.07940959930419922,
0.08560997247695923,
-0.049416229128837585,
0.03647388145327568,
-0.05613952502608299,
-0.017209770157933235,
0.01768600381910801,
-0.04433640465140343,
-0.05330079793930054,
-0.0037304956931620836,
0.007348936516791582,
-0.013726729899644852,
0.010243688710033894,
0.01797547936439514,
0.006788661703467369,
0.020692812278866768,
-0.012961020693182945,
-0.013222482986748219,
0.006816675420850515,
-0.017657989636063576,
0.04698837175965309,
-0.006933399476110935,
-0.000010195102731813677,
0.007381618954241276,
-0.020935596898198128,
-0.010084944777190685,
-0.0011590683134272695,
0.03417675569653511,
0.013101089745759964,
0.08247243613004684,
-0.009099794551730156,
-0.03598831221461296,
-0.053562261164188385,
-0.024521354585886,
-0.034774381667375565,
-0.012073919177055359,
-0.013960178010165691,
0.011242845095694065,
-0.008427465334534645,
0.018853243440389633,
0.03630580008029938,
0.040974754840135574,
0.024726789444684982,
-0.03899511694908142,
0.10376287251710892,
-0.060883183032274246,
0.05737212672829628,
-0.03417675569653511,
0.009314566850662231,
-0.025978069752454758,
0.023008612915873528,
-0.0702957957983017,
-0.022168202325701714,
0.06174227222800255,
-0.019833723083138466,
-0.03537200763821602,
0.031132597476243973,
-0.029302366077899933,
-0.003216910408809781,
-0.024521354585886,
0.009099794551730156,
-0.03722091391682625,
-0.05513102933764458,
-0.02250436693429947,
-0.026444965973496437,
0.027135970070958138,
-0.023811673745512962,
0.0024021777790039778,
0.04295439273118973,
-0.04149767756462097,
-0.02429724484682083,
0.03208506479859352,
-0.011420265771448612,
-0.026743778958916664,
-0.013166455551981926,
0.015351526439189911,
0.03804264962673187,
-0.0473245345056057,
-0.04426170140504837,
0.020487377420067787,
0.010934694670140743,
0.00022046225785743445,
-0.08575937896966934,
-0.024838844314217567,
-0.028555333614349365,
0.008208024315536022,
0.008455478586256504,
-0.02388637699186802,
-0.0060462974943220615,
0.07963370531797409,
0.04426170140504837,
-0.010243688710033894,
-0.007264894898980856,
-0.022803179919719696,
0.0015839432599022985,
0.04952828213572502,
0.02756551466882229,
0.0161452479660511,
0.03527862951159477,
-0.011392251588404179,
0.009067111648619175,
0.06301222741603851,
-0.008665582165122032,
0.013399902731180191,
-0.035203926265239716,
-0.02595939300954342,
-0.05718537047505379,
-0.04657750204205513,
-0.03877100721001625,
0.028630036860704422,
0.07343333214521408,
0.03328031674027443,
-0.03992890939116478,
-0.013745405711233616,
0.036604613065719604,
-0.10309053957462311,
-0.0023111330810934305,
0.004935086239129305,
0.0015162433264777064,
-0.00015830677875783294,
-0.06473040580749512,
-0.02750948630273342,
-0.026669075712561607,
0.0035694167017936707,
-0.03548406437039375,
0.01447376236319542,
-0.01022501289844513,
-0.03755708038806915,
0.024409299716353416,
-0.011186817660927773,
-0.023456834256649017,
0.053562261164188385,
0.0030044729355722666,
-0.008250044658780098,
0.00516386516392231,
-0.0020379992201924324,
-0.0435146689414978,
-0.03548406437039375,
-0.06222784146666527,
-0.08441472053527832,
-0.03552141413092613,
-0.0031258659437298775,
-0.0012139284517616034,
0.018778540194034576,
-0.054234590381383896,
-0.03217844292521477,
0.0033312998712062836,
0.00016282983415294439,
-0.03257063403725624,
0.023232724517583847,
0.004640941973775625,
-0.0075823841616511345,
-0.035689499229192734,
-0.060659073293209076,
0.12527741491794586,
-0.029003553092479706,
0.05049942433834076,
0.03483041003346443,
-0.03985420614480972,
-0.028349898755550385,
-0.024633409455418587,
0.03165552020072937,
0.08329416811466217,
-0.03815470635890961,
0.010570515878498554,
0.02407313510775566,
-0.04960298538208008,
0.011401589959859848,
0.01949755847454071,
-0.03483041003346443,
0.0014602158917114139,
0.03733297064900398,
-0.008100638166069984,
0.030927162617444992,
0.009076450020074844,
0.009972888976335526,
0.00019492889987304807,
-0.0609578862786293,
0.006060304585844278,
-0.010888004675507545,
0.013194468803703785,
0.01718175783753395,
-0.028798118233680725,
-0.003949936479330063,
0.03137538209557533,
-0.011093438602983952,
0.008357430808246136,
0.05412253364920616,
0.04362672194838524,
-0.010701246559619904,
-0.009520000778138638,
0.04978974536061287,
0.05486956611275673,
-0.03582022711634636,
-0.01706036366522312,
0.013624012470245361,
0.01847972720861435,
0.039816852658987045,
-0.07451653480529785,
-0.04243147000670433,
0.03742634877562523,
0.0007365277851931751,
-0.031338032335042953,
0.051321160048246384,
-0.04926681891083717,
0.01524880900979042,
-0.044635217636823654,
-0.019086690619587898,
-0.00332896551117301,
-0.04205795377492905,
-0.020954273641109467,
0.024633409455418587,
0.010729259811341763,
-0.007983914576470852,
-0.07593589276075363,
0.08232302963733673,
-0.09106331318616867,
0.008553527295589447,
-0.01706036366522312,
0.020020481199026108,
-0.01827429234981537,
-0.02640761435031891,
-0.015006023459136486,
-0.050350017845630646,
-0.006905385293066502,
-0.057969752699136734,
-0.029787937179207802,
-0.006298421416431665,
-0.02498825080692768,
-0.008488161489367485,
0.05486956611275673,
0.023344779387116432,
-0.03449424356222153,
-0.0024932222440838814,
-0.058866195380687714,
-0.03582022711634636,
-0.02136514149606228,
0.02293390966951847,
-0.01259684283286333,
-0.03602566197514534,
-0.00375850941054523,
-0.010010240599513054,
0.046689558774232864,
0.04146032780408859,
-0.02986264042556286,
0.03356045484542847,
0.02820049226284027,
-0.01833965815603733,
-0.03963009640574455,
0.012083257548511028,
0.02366226725280285,
-0.0692499503493309,
-0.04388818517327309,
0.008525513112545013,
0.02638893760740757,
0.04911741241812706,
-0.01797547936439514,
-0.05737212672829628,
0.013091751374304295,
0.02799505926668644,
0.038434844464063644,
0.02500692754983902,
-0.017396528273820877,
0.0476607009768486,
0.010505150072276592,
0.008852340281009674,
0.0003630113205872476
] |
21,623 | smartypants | _tokenize |
Reference to an array of the tokens comprising the input string. Each token
is either a tag (possibly with nested, tags contained therein, such as
``<a href="<MTFoo>">``, or a run of text between tags. Each element of the
array is a two-element array; the first is either 'tag' or 'text'; the
second is the actual value.
Based on the _tokenize() subroutine from `Brad Choate's MTRegex plugin`__.
__ http://www.bradchoate.com/past/mtregex.php
| def _tokenize(text):
"""
Reference to an array of the tokens comprising the input string. Each token
is either a tag (possibly with nested, tags contained therein, such as
``<a href="<MTFoo>">``, or a run of text between tags. Each element of the
array is a two-element array; the first is either 'tag' or 'text'; the
second is the actual value.
Based on the _tokenize() subroutine from `Brad Choate's MTRegex plugin`__.
__ http://www.bradchoate.com/past/mtregex.php
"""
tokens = []
tag_soup = re.compile(r'([^<]*)(<!--.*?--\s*>|<[^>]*>)', re.S)
token_match = tag_soup.match(text)
previous_end = 0
while token_match:
if token_match.group(1):
tokens.append(['text', token_match.group(1)])
# if -- in text part of comment, then it's not a comment, therefore it
# should be converted.
#
# In HTML4 [1]:
# [...] Authors should avoid putting two or more adjacent hyphens
# inside comments.
#
# In HTML5 [2]:
# [...] the comment may have text, with the additional restriction
# that the text must not [...], nor contain two consecutive U+002D
# HYPHEN-MINUS characters (--)
#
# [1]: http://www.w3.org/TR/REC-html40/intro/sgmltut.html#h-3.2.4
# [2]: http://www.w3.org/TR/html5/syntax.html#comments
tag = token_match.group(2)
type_ = 'tag'
if tag.startswith('<!--'):
# remove --[white space]> from the end of tag
if '--' in tag[4:].rstrip('>').rstrip().rstrip('-'):
type_ = 'text'
tokens.append([type_, tag])
previous_end = token_match.end()
token_match = tag_soup.match(text, token_match.end())
if previous_end < len(text):
tokens.append(['text', text[previous_end:]])
return tokens
| (text) | [
0.019273409619927406,
-0.012647566385567188,
0.0365200936794281,
-0.026561839506030083,
0.021046798676252365,
-0.010123899206519127,
0.016321012750267982,
-0.009246950037777424,
-0.008881554007530212,
-0.03642265498638153,
0.019760604947805405,
0.03527287393808365,
-0.03285638988018036,
-0.0015870357165113091,
-0.00695713609457016,
-0.008389487862586975,
-0.017256425693631172,
0.04357466846704483,
-0.008077682927250862,
0.018347740173339844,
-0.029446030035614967,
0.006650203373283148,
-0.012520896270871162,
0.007458946201950312,
0.04189871996641159,
0.007595360744744539,
-0.03667599335312843,
-0.03694882243871689,
-0.058346401900053024,
-0.03558468073606491,
0.02141706645488739,
0.006046082358807325,
0.02782854437828064,
-0.04076842591166496,
0.018055424094200134,
-0.07354686409235,
-0.009578241966664791,
0.03956018388271332,
-0.010864434763789177,
-0.010182362981140614,
-0.03424002230167389,
-0.03482465445995331,
-0.011731641367077827,
-0.04528959095478058,
-0.07381969690322876,
-0.016447683796286583,
-0.05787869542837143,
0.01884467899799347,
-0.05978849530220032,
-0.05288982391357422,
0.05900898575782776,
0.0052227238193154335,
-0.025490010157227516,
-0.03659804165363312,
-0.030459394678473473,
0.00537862628698349,
-0.010455192066729069,
0.04178179055452347,
0.012861931696534157,
0.023404819890856743,
-0.009899790398776531,
0.039599161595106125,
0.011010593734681606,
0.013358870521187782,
-0.02402842789888382,
0.00853564590215683,
0.04030071943998337,
-0.0057586380280554295,
-0.01858159527182579,
0.01063058152794838,
-0.039248380810022354,
-0.004116792697459459,
0.021144237369298935,
-0.009929021820425987,
0.02782854437828064,
-0.011488043703138828,
0.025451036170125008,
0.01293013896793127,
0.02328789234161377,
0.015502525493502617,
0.011838823556900024,
0.0834076777100563,
0.052578020840883255,
-0.02057909220457077,
0.0562417209148407,
-0.04521163925528526,
-0.00953439436852932,
-0.04006686806678772,
-0.04895329475402832,
0.031511735171079636,
-0.0017112703062593937,
-0.04030071943998337,
0.026717741042375565,
0.025821303948760033,
-0.09182640165090561,
0.005149644799530506,
-0.0057245343923568726,
-0.00231904536485672,
-0.057216111570596695,
0.014099406078457832,
0.035000044852495193,
0.11996674537658691,
-0.0725335031747818,
-0.05472167581319809,
0.009266437031328678,
-0.052422117441892624,
-0.07374174147844315,
-0.0061727529391646385,
0.02782854437828064,
-0.020657042041420937,
-0.017538998275995255,
-0.10133643448352814,
-0.0045479596592485905,
0.0077512627467513084,
0.05838537588715553,
-0.06571277976036072,
-0.027789568528532982,
0.005032718181610107,
0.012598847039043903,
-0.047939930111169815,
-0.003975506406277418,
-0.039248380810022354,
-0.03538979962468147,
0.0012545256176963449,
-0.03690984845161438,
-0.010377240367233753,
0.06598561257123947,
-0.008862066082656384,
0.018795959651470184,
0.0026941851247102022,
-0.018542619422078133,
0.03926786780357361,
0.020929871127009392,
-0.02260581962764263,
-0.02176784537732601,
-0.028257275000214577,
-0.05300674960017204,
0.031160954385995865,
-0.04622500389814377,
-0.009909533895552158,
0.023151477798819542,
-0.022332990542054176,
-0.020189335569739342,
-0.012170116417109966,
-0.11505582928657532,
0.0021034618839621544,
0.03049836866557598,
0.01784105971455574,
0.03975506126880646,
0.004596679005771875,
-0.0006123424391262233,
-0.04992768168449402,
0.03741652891039848,
0.04599115252494812,
0.04930407181382179,
-0.014606088399887085,
0.004652706440538168,
-0.008253073319792747,
-0.00553940050303936,
0.01517123356461525,
0.029134225100278854,
0.022118626162409782,
-0.03620828688144684,
0.04447110369801521,
0.04100228101015091,
0.012257810682058334,
0.0927618145942688,
-0.0508241206407547,
-0.06134751811623573,
-0.02956295572221279,
0.023326868191361427,
0.039150942116975784,
-0.026191571727395058,
0.05842435359954834,
-0.03231073170900345,
0.027692129835486412,
-0.019974971190094948,
0.11949904263019562,
-0.010523399338126183,
0.07019496709108353,
0.006236088462173939,
0.03324614465236664,
-0.05324060469865799,
-0.03991096466779709,
0.013924015685915947,
-0.032447148114442825,
0.058892060071229935,
-0.042405400425195694,
0.03063478320837021,
-0.021631430834531784,
0.014469673857092857,
-0.09923175722360611,
-0.003714857390150428,
-0.015346623957157135,
-0.02328789234161377,
0.022216064855456352,
-0.06399785727262497,
0.01755848526954651,
0.03583801910281181,
-0.03211585432291031,
0.002178977010771632,
-0.004304362460970879,
-0.02280069701373577,
0.023073526099324226,
0.03256407380104065,
-0.014372235164046288,
-0.030381442978978157,
-0.018045680597424507,
-0.07050677388906479,
0.0031180442310869694,
-0.021748358383774757,
-0.025451036170125008,
0.023521745577454567,
0.09112484008073807,
0.010961874388158321,
-0.06836311519145966,
0.06540097296237946,
0.06255576014518738,
-0.023560721427202225,
-0.018834935501217842,
0.03854681923985481,
0.05491655319929123,
0.039794038981199265,
0.0013556184712797403,
0.05600786954164505,
-0.01635998860001564,
0.02856907993555069,
0.024983329698443413,
0.01594100147485733,
0.015083538368344307,
0.06080185994505882,
-0.08325178176164627,
0.03690984845161438,
0.04431520402431488,
0.00679636187851429,
-0.018464667722582817,
0.05503347888588905,
-0.06013927608728409,
0.02724391035735607,
-0.020657042041420937,
-0.03014758974313736,
-0.0010687827598303556,
0.013329639099538326,
0.04337979108095169,
0.0046429624781012535,
0.038800161331892014,
-0.005812229122966528,
0.009422339498996735,
0.005914540030062199,
0.011838823556900024,
-0.053357530385255814,
0.0010121463565155864,
0.02975783310830593,
-0.009027712047100067,
-0.0327979251742363,
0.005032718181610107,
0.040729451924562454,
0.026230545714497566,
0.024340232834219933,
0.018893398344516754,
0.04755017161369324,
-0.054643724113702774,
0.010367496870458126,
0.00318868737667799,
0.006655075587332249,
-0.057761769741773605,
0.0115952268242836,
0.021748358383774757,
-0.05807357281446457,
0.01381683349609375,
0.0720268189907074,
-0.03310973197221756,
0.019536495208740234,
-0.039949942380189896,
-0.0372411385178566,
0.0023482770193368196,
-0.0365200936794281,
0.02605515718460083,
-0.01894211769104004,
-0.019799580797553062,
-0.06087981164455414,
0.00663558766245842,
-0.057761769741773605,
-0.011877799406647682,
-0.007561257109045982,
-0.02644491195678711,
0.022820185869932175,
-0.006357886828482151,
-0.026269521564245224,
0.003890247317031026,
-0.019234435632824898,
-0.04209359735250473,
0.04501676186919212,
-0.013417333364486694,
0.040690477937459946,
0.03881964832544327,
-0.016856925562024117,
-0.015707148239016533,
0.002555334707722068,
-0.05694328248500824,
-0.0013300407445058227,
0.019478032365441322,
-0.013008090667426586,
0.008521029725670815,
-0.025879766792058945,
0.010698788799345493,
-0.050707194954156876,
0.008418719284236431,
0.009505162946879864,
-0.054604750126600266,
-0.027906496077775955,
-0.02728288620710373,
-0.0008866938296705484,
0.004211795516312122,
-0.05639762431383133,
0.016155365854501724,
0.02338533103466034,
-0.01610664650797844,
0.05893103405833244,
0.015619452111423016,
0.034220535308122635,
-0.06976623833179474,
0.028510617092251778,
0.0031375319231301546,
0.029933223500847816,
-0.023326868191361427,
0.0022423123009502888,
-0.04587422311306,
0.03063478320837021,
0.03069324791431427,
-0.040924329310655594,
0.02718544751405716,
-0.014723015017807484,
0.03700728714466095,
-0.04299003258347511,
-0.026464398950338364,
-0.006270192097872496,
-0.07678183913230896,
-0.012423457577824593,
-0.0547606498003006,
-0.027458276599645615,
-0.00653814896941185,
-0.02895883470773697,
-0.012822956778109074,
0.020637555047869682,
0.001270359382033348,
0.0063189114443957806,
-0.01758771762251854,
0.07183194160461426,
0.01297885924577713,
0.03667599335312843,
-0.0183867160230875,
0.045328568667173386,
-0.02334635518491268,
0.013534259982407093,
-0.028783444315195084,
0.0006765912403352559,
-0.0020608322229236364,
-0.009539266116917133,
-0.03371385112404823,
0.035993922501802444,
0.04977177828550339,
0.0513308010995388,
-0.012452688999474049,
0.05752791464328766,
-0.06629741191864014,
-0.007941268384456635,
0.055189382284879684,
0.004845148418098688,
0.006830465514212847,
0.01974111795425415,
0.01736360788345337,
-0.02940705418586731,
-0.06427068263292313,
-0.00647481344640255,
-0.036442141979932785,
0.04657578468322754,
-0.005359138362109661,
-0.036773432046175,
0.01764618046581745,
-0.038566309958696365,
0.07989988476037979,
0.011614714749157429,
-0.002425010083243251,
-0.040729451924562454,
-0.03622777387499809,
-0.00389755517244339,
0.03538979962468147,
0.04041764885187149,
0.03351897373795509,
0.010406472720205784,
-0.03548723831772804,
0.004440777003765106,
0.008345640264451504,
-0.027711616829037666,
-0.00843820720911026,
0.00811665877699852,
-0.03353846073150635,
-0.0320768803358078,
-0.00853564590215683,
0.004577191546559334,
0.03527287393808365,
0.016545122489333153,
0.015599965117871761,
0.003269074484705925,
0.0592038631439209,
0.006874313112348318,
0.04357466846704483,
-0.018415948376059532,
0.031199930235743523,
-0.007210477255284786,
-0.018474411219358444,
0.015122514218091965,
-0.09050123393535614,
0.010572118684649467,
-0.028880884870886803,
0.015531757846474648,
0.0498497299849987,
-0.011439324356615543,
0.010708533227443695,
-0.008584365248680115,
-0.0380011647939682,
-0.004051021300256252,
0.031024539843201637,
-0.01378760114312172,
0.0028890627436339855,
0.049459975212812424,
-0.03714369982481003,
-0.07226067036390305,
0.001796529395505786,
0.05417601764202118,
0.01367067452520132,
-0.039248380810022354,
-0.058697182685136795,
0.01539534330368042,
0.04353569075465202,
-0.04564037173986435,
0.03640316426753998,
0.05546221137046814,
0.013982479460537434,
0.005407857708632946,
0.07822393625974655,
0.004150896333158016,
0.04844661056995392,
0.0883186012506485,
-0.05904795974493027,
-0.01774361915886402,
0.025879766792058945,
-0.05136977881193161,
-0.012520896270871162,
0.010805971920490265,
0.06980521231889725,
-0.0028062397614121437,
0.024496134370565414,
-0.0227032583206892,
0.008886425755918026,
0.06360810250043869,
0.034805167466402054,
0.053357530385255814,
0.06750565767288208,
0.048134807497262955,
0.05308470129966736,
0.02782854437828064,
0.05199338495731354,
-0.008058195002377033,
0.09221615642309189,
0.002468857681378722,
0.0018135810969397426,
-0.04400339722633362,
-0.039949942380189896,
0.014908148907124996,
0.0028939347248524427,
-0.000697905954439193,
0.00002690987821551971,
-0.03809860348701477,
0.0443931519985199,
-0.08301792293787003,
-0.04840763658285141,
0.015707148239016533,
-0.04174281656742096,
0.003322665812447667,
-0.049421001225709915,
-0.011020337231457233,
-0.01758771762251854,
-0.04525061696767807,
0.01515174563974142,
0.06060698255896568,
-0.05105797201395035,
0.01793849840760231,
-0.01835748553276062,
-0.051837485283613205,
-0.005066821817308664,
0.04817378148436546,
-0.010503911413252354,
0.022079650312662125,
0.040378671139478683,
0.010796227492392063,
0.03398668020963669,
0.006099673919379711,
-0.013612211681902409,
0.022391455247998238,
-0.0577227920293808,
0.00479886494576931,
-0.04614705219864845,
0.05269494652748108,
0.036481115967035294,
-0.01399222295731306,
0.019624190405011177,
-0.036539580672979355,
-0.028491128236055374,
-0.061854202300310135,
-0.015931256115436554,
0.005364010110497475,
-0.0025967461988329887,
0.002111987676471472,
-0.01179010421037674,
-0.0022057725582271814,
-0.011400348506867886,
-0.030810173600912094,
-0.03195995092391968,
-0.03063478320837021,
-0.014148125424981117,
-0.014615831896662712,
-0.062243957072496414,
-0.004696554038673639,
0.016983596608042717,
-0.0858241617679596,
0.05062924325466156,
0.0217093825340271,
-0.07857470959424973,
0.019565727561712265,
-0.028686005622148514,
-0.02457408607006073,
-0.040378671139478683,
-0.01093264203518629,
-0.04622500389814377,
0.022586332634091377,
0.008428462781012058,
0.07732749730348587,
0.07113038003444672,
-0.020442677661776543,
0.03262253850698471,
-0.030654272064566612,
0.024983329698443413,
-0.01517123356461525,
0.05935976654291153,
-0.04770607501268387,
0.028003934770822525,
-0.04641988128423691,
0.02112474851310253,
-0.01710052415728569,
0.021748358383774757,
-0.024008940905332565,
0.015921512618660927,
0.009329772554337978,
-0.021105261519551277,
-0.009899790398776531,
-0.009066687896847725,
0.05086309462785721,
0.011527019552886486,
0.018766729161143303,
0.011215214617550373,
-0.08418719470500946,
-0.019858043640851974,
-0.04170383885502815,
-0.007819470018148422,
0.021689895540475845,
0.01712975464761257,
-0.036188799887895584,
0.006854825187474489,
0.046302955597639084,
-0.0448998361825943,
0.05830742418766022,
-0.024710500612854958,
-0.000027423715437180363,
0.05320162698626518,
-0.007731775287538767,
0.015960488468408585,
0.02283967286348343,
0.00040467584040015936,
0.06033415347337723,
0.02367764711380005,
0.028997810557484627,
-0.02334635518491268,
0.03967711329460144,
-0.0394822359085083,
0.020150359719991684,
0.008925401605665684,
-0.014606088399887085,
0.012871676124632359,
-0.014060430228710175,
0.011799848638474941,
0.04544549435377121,
0.0011449068551883101,
-0.03823501616716385,
-0.008940016850829124,
0.04150896146893501,
0.026815179735422134,
-0.00725432438775897,
-0.03761140629649162,
0.04825173318386078,
-0.04057354852557182,
-0.01304706558585167,
0.007059447001665831,
0.026211058720946312,
0.014148125424981117,
-0.025840790942311287,
-0.032934341579675674,
-0.002777008106932044,
-0.013037322089076042,
0.013144505210220814,
-0.007497921586036682,
0.020189335569739342,
-0.02901729755103588,
0.013933760114014149,
0.05394216254353523,
-0.0463809072971344,
-0.014547624625265598,
0.07631412893533707,
0.0071715014055371284,
0.05292879790067673,
-0.010279801674187183,
-0.03098556399345398,
0.009782863780856133,
0.02052062749862671,
-0.014157868921756744,
-0.026035668328404427,
-0.056280698627233505,
-0.01704205945134163,
0.004862200003117323,
0.014352747239172459,
-0.008735395967960358,
0.02995271235704422,
-0.027068519964814186,
-0.027945470064878464,
0.05698225647211075,
-0.02663978934288025,
-0.027555715292692184,
-0.010835203342139721,
-0.001098623382858932,
-0.040924329310655594,
-0.019955482333898544,
0.0063042957335710526,
-0.031901489943265915,
-0.002757520414888859,
-0.03852733224630356,
-0.01642819494009018,
-0.009130023419857025,
0.04006686806678772,
0.0115952268242836,
0.03768935799598694,
0.060684934258461,
0.0779900774359703,
-0.016476914286613464,
-0.06146444380283356,
0.07397560030221939,
-0.023034552112221718,
0.028335226699709892,
0.03833245486021042,
0.017412327229976654,
0.006655075587332249,
0.03262253850698471,
0.03538979962468147,
0.047784026712179184,
-0.021943235769867897,
0.000521602516528219,
0.02180682122707367,
0.02112474851310253,
0.001422607689164579,
-0.029387565329670906,
-0.0011984981829300523,
0.07229965180158615,
0.04189871996641159,
-0.011030081659555435,
-0.014518393203616142,
-0.025236669927835464,
0.06602458655834198,
-0.013505028560757637,
-0.018347740173339844,
0.01381683349609375,
0.004820788744837046,
0.032992806285619736,
-0.012861931696534157,
-0.03833245486021042,
-0.015336879529058933,
-0.004691682290285826,
-0.0037513969000428915,
0.006445582024753094,
0.057800743728876114,
-0.04575729742646217,
-0.010786483995616436,
0.04560139402747154,
-0.014684039168059826,
-0.010153131559491158,
-0.01285218819975853,
0.03577955812215805,
-0.006742770317941904,
0.0032617663964629173,
0.035993922501802444,
-0.02377508580684662,
0.03741652891039848,
-0.041119206696748734,
0.0009317593066953123,
-0.026074644178152084,
-0.026308497413992882,
-0.033830780535936356,
-0.029368078336119652,
-0.021884772926568985,
0.0037587047554552555,
0.012969114817678928,
-0.016350243240594864,
0.006362759042531252,
0.011332142166793346,
0.046497832983732224,
0.08348563313484192,
-0.1046103835105896,
-0.03967711329460144,
0.03351897373795509,
0.07849676162004471,
0.06579073518514633,
0.021085774526000023,
-0.014459929428994656,
0.05448782071471214,
0.025275645777583122,
-0.050356414169073105,
0.06013927608728409,
-0.003853707807138562,
0.0261525958776474,
0.015833817422389984,
-0.08099119365215302,
-0.023716622963547707,
0.06138649582862854,
-0.003483440028503537,
0.012686542235314846,
-0.040534574538469315,
-0.0528118722140789,
-0.013865552842617035,
-0.07389764487743378,
0.012053189799189568,
0.0005767163820564747,
-0.004370133858174086,
-0.02847164124250412,
-0.08956582099199295,
0.05643659830093384,
-0.023716622963547707,
-0.012306530959904194,
0.05959361791610718,
0.03194046393036842,
-0.002345841145142913,
0.025587450712919235,
-0.03616931289434433,
-0.04119715839624405,
-0.054059091955423355,
-0.018601082265377045,
0.011936263181269169,
0.07701569050550461,
0.06750565767288208,
-0.026113620027899742,
-0.05246109142899513,
0.010805971920490265,
-0.0003541294427122921,
0.010844947770237923,
-0.004399365279823542,
-0.011731641367077827,
-0.015025075525045395,
-0.02135860174894333,
0.012023957446217537,
0.013475797139108181
] |
21,624 | smartypants | convert_backticks |
Convert ````backticks''``-style double quotes in *text* into HTML curly
quote entities.
>>> print(convert_backticks("``Isn't this fun?''"))
“Isn't this fun?”
| def convert_backticks(text):
"""
Convert ````backticks''``-style double quotes in *text* into HTML curly
quote entities.
>>> print(convert_backticks("``Isn't this fun?''"))
“Isn't this fun?”
"""
text = re.sub('``', '“', text)
text = re.sub("''", '”', text)
return text
| (text) | [
0.008783991448581219,
-0.05823063850402832,
0.06259234249591827,
0.004841679707169533,
-0.03424125537276268,
-0.014361942186951637,
-0.039889104664325714,
0.02137981541454792,
0.08216410130262375,
0.01139821857213974,
0.042051319032907486,
0.01977679505944252,
-0.04331882297992706,
0.04249867424368858,
-0.005438152700662613,
-0.0057224091142416,
-0.014455140568315983,
-0.0031594408210366964,
0.02393346279859543,
-0.018192414194345474,
-0.03854704275727272,
-0.00032124476274475455,
0.021584851667284966,
-0.0713903158903122,
0.04044829681515694,
0.05144575983285904,
-0.055695630609989166,
0.009166106581687927,
-0.001785922795534134,
-0.0254060048609972,
0.02233044244349003,
-0.027624137699604034,
0.02751229889690876,
-0.006276942323893309,
0.057746004313230515,
-0.013942547142505646,
0.018835486844182014,
-0.00630490155890584,
0.01666395366191864,
-0.006412080489099026,
0.04499640315771103,
-0.033383823931217194,
0.0010071300202980638,
-0.002071344293653965,
0.017512062564492226,
0.01400778628885746,
-0.04093293100595474,
0.0003247397253289819,
-0.05058833211660385,
-0.044474489986896515,
0.05595658719539642,
-0.03681354224681854,
-0.007539786398410797,
0.04861251637339592,
-0.035135965794324875,
-0.028444286435842514,
-0.03720497712492943,
0.08365528285503387,
0.02527552656829357,
-0.010456910356879234,
0.06438176333904266,
0.035135965794324875,
0.01986999250948429,
0.025070488452911377,
0.051110245287418365,
0.03355158492922783,
-0.016272518783807755,
-0.026356633752584457,
0.01900324411690235,
0.015778563916683197,
-0.02216268517076969,
0.06374800950288773,
-0.012059930711984634,
-0.0526387058198452,
-0.002723736222833395,
-0.02741909958422184,
-0.005307673942297697,
-0.01219972874969244,
-0.026748068630695343,
0.026561670005321503,
0.03493092581629753,
-0.045294638723134995,
0.0398145467042923,
-0.019292160868644714,
0.014641538262367249,
-0.07262054085731506,
-0.004047159571200609,
0.002879844279959798,
-0.014576299116015434,
0.014408540911972523,
0.05420444905757904,
-0.10065475106239319,
-0.00025382122839801013,
0.06166035309433937,
-0.024418096989393234,
-0.0247163325548172,
0.0077821034938097,
-0.03215360268950462,
-0.0435052216053009,
-0.02527552656829357,
0.002667816821485758,
0.05603114515542984,
-0.02751229889690876,
-0.05558378994464874,
0.008644192479550838,
-0.07120391726493835,
-0.002028239890933037,
-0.06885530799627304,
-0.012665722519159317,
-0.09021648019552231,
-0.052340470254421234,
-0.0018150474643334746,
0.05498731881380081,
-0.014837255701422691,
0.01345791295170784,
-0.019888633862137794,
-0.00374193349853158,
-0.008578953333199024,
0.07776511460542679,
-0.0030219724867492914,
0.03329062834382057,
-0.03316015005111694,
-0.014231462962925434,
0.04179036244750023,
-0.0020340648479759693,
0.09394443780183792,
0.0009552881238050759,
0.03215360268950462,
-0.0071110716089606285,
-0.02201356738805771,
0.06512735038995743,
0.003194390330463648,
0.00542417261749506,
-0.04145484417676926,
0.024045301601290703,
0.0036557246930897236,
-0.035956114530563354,
0.028034212067723274,
0.0110999820753932,
0.022535480558872223,
0.0011929451720789075,
-0.0613248385488987,
-0.0025489884428679943,
0.03921807184815407,
-0.047121334820985794,
0.03230271860957146,
-0.025666961446404457,
-0.009664719924330711,
0.016971509903669357,
-0.03442765399813652,
0.05729864910244942,
0.019534477964043617,
0.021547572687268257,
0.01014003437012434,
-0.025927918031811714,
0.03254503756761551,
-0.005130596458911896,
0.005312334280461073,
0.037689611315727234,
0.04078381508588791,
0.01619795896112919,
0.045108240097761154,
-0.019795434549450874,
0.037559133023023605,
-0.010373031720519066,
0.02106293849647045,
0.03125889226794243,
-0.012730961665511131,
0.039068955928087234,
0.004641302395612001,
0.02182716876268387,
0.02216268517076969,
-0.041864920407533646,
0.02691582590341568,
0.016589393839240074,
-0.0027819855604320765,
0.00418928824365139,
0.04316970333456993,
0.03254503756761551,
0.01455765962600708,
0.006887394469231367,
-0.023038754239678383,
0.04540647566318512,
-0.05987093597650528,
-0.005363593343645334,
-0.05621754378080368,
0.04477272555232048,
0.036832183599472046,
0.05006641894578934,
-0.031333450227975845,
0.018788887187838554,
-0.01526597049087286,
-0.03144529089331627,
-0.036738984286785126,
-0.0037069839891046286,
-0.020261429250240326,
0.0011346959508955479,
-0.0006174423615448177,
-0.02443673647940159,
-0.03502412512898445,
-0.04816516116261482,
0.034576769918203354,
0.034576769918203354,
-0.04782964661717415,
0.07664673030376434,
-0.034483570605516434,
-0.004168318118900061,
-0.04123116657137871,
-0.048948030918836594,
-0.03914351388812065,
-0.011528696864843369,
0.028351088985800743,
-0.03839792311191559,
-0.0009273284813389182,
0.03921807184815407,
-0.030010027810931206,
0.05696313455700874,
-0.012022650800645351,
-0.027493659406900406,
-0.016179319471120834,
0.01603020168840885,
-0.06359889358282089,
-0.026524391025304794,
0.021547572687268257,
0.0024208398535847664,
0.016999468207359314,
-0.020634224638342857,
0.054726362228393555,
0.053533416241407394,
-0.005480092018842697,
0.008131599053740501,
-0.028574764728546143,
0.032563675194978714,
-0.02434353716671467,
0.03550875931978226,
-0.029450833797454834,
-0.01771710067987442,
-0.06009461358189583,
0.004569073207676411,
-0.012619123794138432,
0.006416740361601114,
0.01139821857213974,
0.008611572906374931,
-0.0026142275892198086,
0.008951748721301556,
-0.00149351148866117,
-0.007716864347457886,
0.03450221195816994,
-0.049097150564193726,
-0.012786881066858768,
-0.03185536339879036,
0.011519377119839191,
-0.019758155569434166,
0.019077803939580917,
-0.04816516116261482,
-0.056702177971601486,
0.008429835550487041,
-0.0018581519834697247,
-0.007707544136792421,
0.05987093597650528,
0.03666442632675171,
0.01839745230972767,
-0.051930394023656845,
0.0024744293186813593,
-0.02132389508187771,
-0.021528933197259903,
-0.07228502631187439,
0.014240783639252186,
-0.02069014310836792,
0.035135965794324875,
0.14084209501743317,
-0.07485730946063995,
0.006631097756326199,
-0.04246139153838158,
-0.06598477810621262,
0.00690137455239892,
-0.03355158492922783,
-0.022367723286151886,
-0.024250339716672897,
-0.09536105394363403,
-0.011360938660800457,
-0.01794077828526497,
-0.011938772164285183,
-0.004571403376758099,
0.03603067249059677,
-0.041678521782159805,
0.000089412642410025,
-0.035247802734375,
0.05946086347103119,
0.015247331000864506,
-0.00039289137930609286,
-0.03832336515188217,
0.0010170324239879847,
0.016952870413661003,
-0.006449359934777021,
-0.017139267176389694,
-0.005531351547688246,
-0.0457792729139328,
0.0023602608125656843,
-0.04876163601875305,
0.02352338843047619,
0.02974907122552395,
-0.0221999641507864,
0.08052380383014679,
0.013905267231166363,
-0.027810534462332726,
-0.028779802843928337,
-0.024734973907470703,
-0.0334211066365242,
0.017884857952594757,
-0.022442281246185303,
-0.043915294110774994,
0.007833362556993961,
0.023597946390509605,
-0.035639237612485886,
0.02417577989399433,
-0.014688137918710709,
-0.05882710963487625,
0.02443673647940159,
-0.04082109406590462,
0.014958414249122143,
-0.046301186084747314,
0.08290968835353851,
0.005279714707285166,
-0.0032619594130665064,
0.0075025069527328014,
-0.021547572687268257,
0.011090662330389023,
0.05681401491165161,
0.04581655189394951,
-0.0476059690117836,
0.022852355614304543,
0.04495912045240402,
-0.046114787459373474,
0.0019315460231155157,
0.015368489548563957,
0.016319116577506065,
0.014744057320058346,
-0.04495912045240402,
-0.041082050651311874,
0.0031710907351225615,
0.0842517539858818,
0.02779189497232437,
0.0026864567771553993,
-0.05763416364789009,
0.07008553296327591,
-0.05968454107642174,
0.010829705744981766,
-0.015256650745868683,
-0.058156076818704605,
-0.006505279336124659,
-0.04615206643939018,
0.048463400453329086,
0.019664956256747246,
-0.045704711228609085,
-0.01981407403945923,
0.013327434659004211,
0.0013234235811978579,
-0.004196277819573879,
-0.04134300723671913,
0.02719542197883129,
-0.0013909927802160382,
-0.023150593042373657,
-0.03075561858713627,
0.022647319361567497,
0.036925382912158966,
-0.02710222452878952,
0.03735409677028656,
-0.037689611315727234,
0.07157671451568604,
0.03530372306704521,
0.038696158677339554,
-0.02182716876268387,
-0.006631097756326199,
0.013970506377518177,
0.013905267231166363,
0.0024441396817564964,
0.02801557257771492,
0.013047837652266026,
-0.04279690980911255,
0.008131599053740501,
-0.03383117914199829,
-0.04097020998597145,
-0.04413897171616554,
0.01945991814136505,
-0.0380064882338047,
0.0020235797856003046,
0.031463928520679474,
0.05987093597650528,
-0.08089659363031387,
-0.006789535749703646,
-0.05163215845823288,
0.04123116657137871,
-0.04719589278101921,
-0.038658879697322845,
-0.031184332445263863,
0.0791817381978035,
0.007931221276521683,
0.03282463178038597,
-0.013178316876292229,
-0.03465133160352707,
0.08492278307676315,
0.05084928870201111,
-0.05789512023329735,
0.026356633752584457,
0.06371072679758072,
-0.030606500804424286,
0.04275963082909584,
-0.005130596458911896,
0.02110021747648716,
-0.073217011988163,
-0.008751370944082737,
-0.046077508479356766,
-0.006565858609974384,
0.012041290290653706,
0.03733545541763306,
-0.06799787282943726,
0.010400990955531597,
-0.06624573469161987,
0.0020433845929801464,
-0.05282510444521904,
-0.038248807191848755,
-0.027773255482316017,
0.012041290290653706,
-0.06203315034508705,
0.03364478424191475,
0.0549127571284771,
0.031202971935272217,
0.011771013960242271,
0.055844746530056,
0.011491416953504086,
-0.04000094532966614,
-0.0594981424510479,
-0.04343065991997719,
0.04361705854535103,
-0.005414852872490883,
0.037242256104946136,
0.02426897920668125,
0.02307603321969509,
0.014399221166968346,
0.039031676948070526,
0.082387775182724,
0.039665427058935165,
-0.031557127833366394,
0.025983838364481926,
-0.0010554769542068243,
-0.034483570605516434,
0.00657983822748065,
0.025424644351005554,
0.03129617124795914,
0.00534495385363698,
0.02760549820959568,
0.022647319361567497,
0.019832713529467583,
0.03452085331082344,
-0.060169171541929245,
0.0343344546854496,
-0.07452179491519928,
-0.014641538262367249,
0.030420102179050446,
-0.01890072599053383,
-0.002830914920195937,
-0.0416412428021431,
0.06583566218614578,
0.03940447047352791,
-0.04041101783514023,
0.02467905357480049,
-0.0036557246930897236,
-0.044921841472387314,
0.043691616505384445,
-0.00020328997925389558,
-0.0054661124013364315,
-0.028630685061216354,
0.005256414879113436,
-0.0057224091142416,
0.031706247478723526,
-0.027922373265028,
-0.024548575282096863,
0.019161682575941086,
-0.02494001016020775,
-0.031519848853349686,
-0.02738182060420513,
-0.0171672273427248,
0.001439922139979899,
-0.008644192479550838,
-0.005139916203916073,
0.057746004313230515,
-0.04674854129552841,
0.026673508808016777,
0.013933227397501469,
-0.012395446188747883,
0.030084585770964622,
-0.006449359934777021,
0.015051613561809063,
0.016179319471120834,
-0.02622615545988083,
-0.00397027051076293,
-0.0002931394847109914,
0.03850976377725601,
-0.005610570311546326,
0.018518609926104546,
0.004599363077431917,
-0.07191222906112671,
-0.03828608617186546,
0.01735362410545349,
-0.0029101339168846607,
0.01986999250948429,
0.019888633862137794,
-0.009776558727025986,
0.020541025325655937,
0.019609035924077034,
-0.061585795134305954,
0.03411077708005905,
-0.0270090252161026,
0.002744705881923437,
-0.03392437845468521,
0.009701999835669994,
0.033570222556591034,
0.04261051118373871,
0.017642540857195854,
-0.02678534761071205,
-0.002189007820561528,
-0.07985276728868484,
0.0077774436213076115,
0.013979826122522354,
-0.043095145374536514,
0.06919082254171371,
0.036962661892175674,
0.013989146798849106,
-0.01295463927090168,
-0.018416091799736023,
-0.04149212688207626,
0.007688904646784067,
-0.06251778453588486,
-0.03940447047352791,
-0.027866454795002937,
0.014389901421964169,
-0.002364920685067773,
-0.031016575172543526,
0.029133958742022514,
-0.005769008304923773,
0.024734973907470703,
0.0012476994888857007,
-0.016859671100974083,
0.032433196902275085,
0.022815076634287834,
-0.02971179038286209,
-0.03688810393214226,
-0.03196720406413078,
0.03921807184815407,
0.0033155488781630993,
0.02613295614719391,
-0.032377276569604874,
0.019077803939580917,
-0.03125889226794243,
-0.04633846506476402,
-0.053123340010643005,
0.04779236763715744,
0.0009646080434322357,
0.015433728694915771,
0.01996319182217121,
0.004864979535341263,
0.011808293871581554,
-0.018369492143392563,
0.00273538613691926,
-0.0027749955188483,
-0.004832359962165356,
0.03895711526274681,
-0.02769869565963745,
0.011882852762937546,
0.03049466200172901,
-0.02206948585808277,
0.1327151507139206,
-0.004874299746006727,
-0.044884562492370605,
-0.038658879697322845,
0.030233705416321754,
-0.012553884647786617,
0.0270090252161026,
0.012945319525897503,
0.021994927898049355,
0.0003835714887827635,
-0.07008553296327591,
0.031202971935272217,
0.05778328329324722,
-0.0018907715566456318,
-0.006388780660927296,
0.05379437282681465,
0.01781029812991619,
0.0023800653871148825,
-0.021044299006462097,
0.016365716233849525,
0.013634990900754929,
0.017334984615445137,
0.08015100657939911,
0.002041054656729102,
0.0051911757327616215,
0.06061652675271034,
-0.013560432009398937,
-0.0035928154829889536,
0.07582657784223557,
0.0521913506090641,
0.006947973743081093,
0.010559429414570332,
-0.02106293849647045,
0.006491299252957106,
0.03951631113886833,
-0.028630685061216354,
-0.0462266281247139,
0.01921760104596615,
-0.012432726100087166,
0.0485379584133625,
0.018117854371666908,
0.020988378673791885,
-0.03465133160352707,
0.0040122102946043015,
-0.050923846662044525,
-0.00013601206592284143,
-0.01160325575619936,
0.055919304490089417,
0.023877544328570366,
0.01199469156563282,
-0.0416412428021431,
0.04193947836756706,
0.05711225047707558,
-0.0549127571284771,
0.03739137575030327,
-0.017651861533522606,
-0.050923846662044525,
-0.003660384565591812,
0.03383117914199829,
-0.022181324660778046,
0.014287382364273071,
-0.0000985869046417065,
-0.02769869565963745,
0.030606500804424286,
-0.05021553859114647,
0.027158142998814583,
-0.004345396067947149,
-0.013690910302102566,
-0.01643095538020134,
0.03459541127085686,
-0.013774788938462734,
0.022144045680761337,
0.002038724720478058,
-0.058156076818704605,
-0.02695310488343239,
-0.07731775939464569,
-0.038845278322696686,
-0.03681354224681854,
0.03757777437567711,
0.07798879593610764,
0.01908712275326252,
0.029674511402845383,
-0.04417625069618225,
0.08223865926265717,
-0.07496915012598038,
-0.035546038299798965,
0.014986374415457249,
-0.00218551279976964,
0.009166106581687927,
0.012824160978198051,
-0.038696158677339554,
0.002226287266239524,
-0.03150120750069618,
-0.026580309495329857,
0.021286616101861,
0.03015914559364319,
-0.05659033730626106,
0.006938653998076916,
0.03698129951953888,
0.03099793568253517,
-0.07385076582431793,
-0.07739231735467911,
-0.053496137261390686,
-0.056515779346227646,
0.03873343765735626,
-0.029730431735515594,
0.03304830938577652,
0.0567767359316349,
-0.0055779507383704185,
0.029767710715532303,
-0.0686316266655922,
0.06333793699741364,
-0.04764324799180031,
-0.0018686368130147457,
-0.04242411255836487,
0.03895711526274681,
0.047494132071733475,
-0.02225588448345661,
-0.02738182060420513,
0.0379878468811512,
-0.07213590294122696,
-0.04182764142751694,
-0.015806524083018303,
-0.05196767672896385,
0.03791328892111778,
-0.05099840834736824,
0.05368253216147423,
-0.004445584956556559,
0.03163168579339981,
-0.02009367011487484,
-0.012320887297391891,
0.0098417978733778,
-0.009394443593919277,
-0.038155607879161835,
-0.012600483372807503,
-0.0320604033768177,
0.009515602141618729,
-0.012870760634541512,
0.005661829840391874,
0.02480953186750412,
0.012050610035657883,
0.04857523739337921,
-0.017465462908148766,
-0.018621128052473068,
-0.038882557302713394,
-0.005279714707285166,
-0.009990915656089783,
-0.03176216408610344,
0.009767238982021809,
0.000060579248383874074,
0.035452838987112045,
0.01130501925945282,
0.06300241500139236,
0.014827935956418514,
0.04820244014263153,
0.0047997403889894485,
0.05983365699648857,
-0.03424125537276268,
-0.0021074588876217604,
0.037242256104946136,
-0.011155901476740837,
0.03291783109307289,
-0.0022006577346473932,
-0.0645308792591095,
-0.028723884373903275,
-0.05245231091976166,
-0.011370259337127209,
0.005713088903576136,
0.05245231091976166,
-0.04149212688207626,
-0.021528933197259903,
-0.014883855357766151,
0.05603114515542984,
-0.008546333760023117,
0.03483772650361061,
-0.02147301286458969,
-0.005060696974396706,
-0.028257889673113823,
0.0008044225396588445,
0.07161398977041245,
-0.09163310378789902,
0.03578835725784302,
0.04361705854535103,
0.06430720537900925,
0.061399396508932114,
0.01526597049087286,
-0.05390620976686478,
-0.014529699459671974,
0.01798737607896328,
0.06106388196349144,
0.014790656045079231,
-0.01579720340669155,
-0.007535126525908709,
-0.04134300723671913,
-0.008066359907388687,
0.014883855357766151
] |
21,625 | smartypants | convert_dashes |
Convert ``--`` in *text* into em-dash HTML entities.
>>> quote = 'Nothing endures but change. -- Heraclitus'
>>> print(convert_dashes(quote))
Nothing endures but change. — Heraclitus
| def convert_dashes(text):
"""
Convert ``--`` in *text* into em-dash HTML entities.
>>> quote = 'Nothing endures but change. -- Heraclitus'
>>> print(convert_dashes(quote))
Nothing endures but change. — Heraclitus
"""
text = re.sub('--', '—', text)
return text
| (text) | [
0.030026782304048538,
-0.02422863245010376,
0.08266452699899673,
0.013295757584273815,
-0.026482459157705307,
-0.023501591756939888,
-0.015031566843390465,
-0.015295119024813175,
0.05510968714952469,
0.029299741610884666,
-0.036406565457582474,
-0.04602167755365372,
-0.014286350458860397,
0.02295631170272827,
-0.011423627845942974,
0.005507333669811487,
-0.0464942529797554,
0.04991134628653526,
0.05318303033709526,
-0.017876114696264267,
0.012568716891109943,
-0.06354335695505142,
-0.012586892582476139,
-0.11683544516563416,
-0.01170535571873188,
0.011014667339622974,
-0.011187339201569557,
-0.03288041800260544,
-0.027009563520550728,
-0.012841356918215752,
0.02793654054403305,
-0.013959181495010853,
0.021629462018609047,
0.017767056822776794,
0.0366973802447319,
0.04540369287133217,
0.0201935563236475,
-0.011914379894733429,
0.02333800680935383,
0.043949611485004425,
0.0017437617061659694,
-0.021556757390499115,
0.07452167570590973,
0.02328347973525524,
0.03409821167588234,
0.031353630125522614,
-0.009088008664548397,
-0.0012995853321626782,
-0.051329076290130615,
-0.07324935495853424,
0.03357110545039177,
-0.0554732084274292,
0.03744259849190712,
-0.013877389952540398,
-0.015086094848811626,
0.027791131287813187,
0.05958098918199539,
0.06150764599442482,
-0.0024628504179418087,
-0.0159131046384573,
0.005907205864787102,
0.011087371036410332,
0.014568078331649303,
0.01704910583794117,
0.004434948321431875,
0.020484372973442078,
0.008756296709179878,
-0.025428248569369316,
0.02924521267414093,
0.0428226999938488,
0.02760937064886093,
0.030244894325733185,
0.008829000405967236,
-0.03980547934770584,
0.023301655426621437,
-0.030899230390787125,
-0.030081309378147125,
-0.03747894987463951,
0.004441764205694199,
0.0257008895277977,
-0.00035386436502449214,
-0.01344116497784853,
0.0002558842534199357,
-0.00038510438753291965,
0.035752229392528534,
-0.06917792558670044,
-0.022120213136076927,
-0.035461410880088806,
0.0034466274082660675,
0.013668365776538849,
0.07150445878505707,
-0.09822320193052292,
-0.012568716891109943,
0.015731343999505043,
-0.002590082585811615,
0.006420678459107876,
-0.0248829685151577,
-0.03308035433292389,
-0.056636471301317215,
-0.03773341327905655,
0.048966191709041595,
0.06714221090078354,
0.0783022865653038,
0.031008286401629448,
0.0025469146203249693,
-0.11894386261701584,
-0.013995533809065819,
-0.04144132137298584,
0.002949059009552002,
-0.03226243332028389,
-0.018085138872265816,
0.05122001841664314,
0.048311855643987656,
-0.0950242206454277,
0.007034119218587875,
-0.04482205957174301,
0.03813328593969345,
-0.010978315025568008,
0.05889029800891876,
0.007143175229430199,
-0.0169309601187706,
-0.009306121617555618,
-0.05358290299773216,
-0.0055800373665988445,
-0.006693318486213684,
0.060598842799663544,
-0.04085968807339668,
-0.024810263887047768,
-0.0222292710095644,
-0.013268493115901947,
-0.004912069067358971,
0.017367186024785042,
0.015086094848811626,
-0.01770344190299511,
0.020411668345332146,
-0.045330990105867386,
0.0026605145540088415,
0.06223468482494354,
0.00840186420828104,
0.03328029066324234,
-0.049584176391363144,
-0.041623082011938095,
-0.015058831311762333,
0.04307716339826584,
-0.08048340678215027,
0.020411668345332146,
-0.0232471264898777,
-0.03529782593250275,
0.042568232864141464,
0.018321426585316658,
0.040314409881830215,
0.05754527449607849,
0.02619164250791073,
0.04376785084605217,
0.026337049901485443,
0.003619299503043294,
-0.000348468340234831,
-0.0025241945404559374,
0.039260197430849075,
0.07590305060148239,
-0.00038567237788811326,
0.00024211023992393166,
-0.016203919425606728,
0.07081376761198044,
-0.05889029800891876,
-0.04278634488582611,
0.03291676938533783,
0.01912117190659046,
0.05005675554275513,
-0.013095821253955364,
0.008188296109437943,
0.01578587107360363,
-0.022338327020406723,
0.014422670006752014,
0.02884534001350403,
0.033098530024290085,
0.018548626452684402,
0.05122001841664314,
0.005548229441046715,
-0.012132491916418076,
-0.013486605137586594,
-0.001781249768100679,
0.01634932868182659,
0.0025605466216802597,
-0.0031171871814876795,
-0.04016900062561035,
-0.011423627845942974,
0.03882397338747978,
0.008447304368019104,
-0.009851401671767235,
-0.006143494043499231,
-0.01562228798866272,
-0.062816321849823,
0.0031512670684605837,
-0.005929925944656134,
-0.013023116625845432,
-0.027318555861711502,
0.0023901464883238077,
-0.008815368637442589,
-0.07786606252193451,
-0.018094226717948914,
0.052601397037506104,
-0.016294799745082855,
-0.010596618987619877,
0.06594259291887283,
-0.015613199211657047,
-0.01076929084956646,
-0.0505656823515892,
-0.06303443014621735,
-0.025228312239050865,
-0.031389981508255005,
0.018257809802889824,
0.001433633384294808,
-0.009487881325185299,
0.048639025539159775,
-0.06888710707426071,
0.017848849296569824,
-0.0064888386987149715,
-0.013413901440799236,
0.00457808468490839,
-0.05674552917480469,
-0.07633927464485168,
0.0232471264898777,
0.08775381743907928,
-0.0007804327760823071,
0.029663261026144028,
-0.02944514900445938,
0.064452163875103,
0.015149710699915886,
0.02202933467924595,
-0.04020535200834274,
0.03026307001709938,
-0.045621804893016815,
-0.04591262340545654,
0.045694511383771896,
0.004480388481169939,
-0.03635203465819359,
-0.019757332280278206,
-0.030408477410674095,
-0.000023518772650277242,
0.00089971290435642,
0.018321426585316658,
0.0050847409293055534,
0.01096922717988491,
0.00860634446144104,
-0.01950286701321602,
-0.020956948399543762,
0.017857937142252922,
-0.032735008746385574,
0.0040259878151118755,
-0.029826845973730087,
-0.018993938341736794,
0.013695629313588142,
0.025119256228208542,
-0.04082333669066429,
-0.03484342619776726,
-0.028372764587402344,
-0.004282724112272263,
-0.006452486384660006,
0.04714859277009964,
0.026373403146862984,
-0.017239952459931374,
-0.05779973790049553,
0.044967468827962875,
-0.012023435905575752,
0.014831630513072014,
-0.05380101501941681,
-0.01806696131825447,
-0.025319192558526993,
0.007774791680276394,
0.08310075849294662,
-0.05252869054675102,
0.0024105943739414215,
-0.04576721414923668,
-0.03635203465819359,
0.08746299892663956,
-0.03593398630619049,
-0.03349840268492699,
-0.04911160096526146,
-0.004698500502854586,
0.01001498568803072,
0.0068296389654278755,
-0.0464942529797554,
-0.02553730458021164,
0.035588644444942474,
-0.02426498383283615,
0.015440527349710464,
-0.015440527349710464,
0.020629780367016792,
0.021429525688290596,
0.006052614189684391,
0.027518492192029953,
0.048021040856838226,
-0.014504462480545044,
0.02711861953139305,
0.031226398423314095,
0.017121808603405952,
-0.04351338744163513,
-0.0006446806364692748,
-0.015413263812661171,
0.06957779824733734,
0.030517535284161568,
-0.03520694747567177,
0.015713168308138847,
-0.04820280149579048,
-0.00272185867652297,
-0.040387112647295,
0.049293361604213715,
0.06954144686460495,
0.03520694747567177,
-0.039878182113170624,
-0.052274227142333984,
-0.028499996289610863,
0.06354335695505142,
0.013268493115901947,
0.019684627652168274,
-0.018703123554587364,
-0.031299103051424026,
0.0004722924786619842,
-0.003953284118324518,
0.02475573681294918,
-0.019557395949959755,
0.04576721414923668,
0.028336411342024803,
0.03447990491986275,
-0.03389827534556389,
-0.017603473737835884,
0.025428248569369316,
0.07001402229070663,
0.025264665484428406,
-0.03911479189991951,
-0.005879941862076521,
0.033843744546175,
-0.06307078152894974,
-0.021920278668403625,
-0.00010060710337711498,
0.0464942529797554,
0.007679367437958717,
-0.03606121987104416,
-0.03651561960577965,
0.004371332470327616,
0.0937882512807846,
-0.02770025096833706,
-0.004653060808777809,
0.01582222431898117,
0.030081309378147125,
-0.05147448182106018,
-0.035261474549770355,
-0.014977038837969303,
0.0036442915443331003,
0.03351657837629318,
0.0029513309709727764,
0.04249553009867668,
-0.01623118482530117,
0.033389344811439514,
0.02386511117219925,
0.0049438769929111,
-0.033916451036930084,
-0.061980221420526505,
-0.05645471066236496,
0.03980547934770584,
-0.06383417546749115,
-0.008851720951497555,
-0.012532364577054977,
-0.03744259849190712,
-0.004346340429037809,
-0.030662942677736282,
0.0038692199159413576,
-0.003353475360199809,
0.04216836020350456,
0.022120213136076927,
0.038278695195913315,
-0.0017664817860350013,
-0.027064090594649315,
0.013877389952540398,
-0.010578442364931107,
-0.021683989092707634,
0.04776657745242119,
0.016830991953611374,
0.010632970370352268,
-0.025646362453699112,
-0.008638152852654457,
-0.04075063392519951,
-0.007679367437958717,
0.01344116497784853,
-0.05376465991139412,
0.060707900673151016,
0.007120455149561167,
0.05656376853585243,
-0.06187116727232933,
0.027264026924967766,
-0.07023213058710098,
0.07975636422634125,
0.0261007621884346,
0.029681436717510223,
-0.030081309378147125,
-0.007429447490721941,
0.02544642612338066,
0.0045667244121432304,
-0.00032972433837130666,
-0.013168524950742722,
0.03740624710917473,
0.03798787668347359,
-0.0006321846158243716,
0.01603124849498272,
0.03816963732242584,
-0.0240650475025177,
0.02728220261633396,
0.022411029785871506,
0.08826274424791336,
-0.031226398423314095,
-0.006538822315633297,
-0.03280771151185036,
0.0012564172502607107,
0.03540688380599022,
-0.01664014533162117,
-0.01990273967385292,
-0.003923747688531876,
-0.018294163048267365,
-0.0038169638719409704,
-0.03555229306221008,
-0.08135585486888885,
-0.012286988086998463,
-0.014631694182753563,
0.01431361399590969,
-0.034080032259225845,
0.023065367713570595,
0.04667601361870766,
-0.01405006181448698,
-0.009019848890602589,
0.005311941262334585,
-0.05685458332300186,
-0.00854727253317833,
-0.10498467832803726,
0.03366198390722275,
0.035952161997556686,
0.07005037367343903,
0.028336411342024803,
-0.0032807711977511644,
-0.008320072665810585,
0.04783928021788597,
0.06150764599442482,
0.007165895309299231,
-0.07005037367343903,
0.024737561121582985,
-0.015058831311762333,
0.036642853170633316,
0.012396044097840786,
0.032280609011650085,
0.03198979049921036,
0.030662942677736282,
0.04336797818541527,
0.012541452422738075,
-0.021647637709975243,
0.029263388365507126,
-0.04111415147781372,
0.11756248772144318,
-0.0783022865653038,
-0.04278634488582611,
0.08709947764873505,
0.007820231840014458,
0.003919203765690327,
-0.06634246557950974,
0.02770025096833706,
0.06885075569152832,
0.025428248569369316,
0.01627662405371666,
0.007483975496143103,
-0.03246236965060234,
-0.00036692837602458894,
-0.042968105524778366,
-0.004798468668013811,
0.027645723894238472,
0.00807469617575407,
-0.053982775658369064,
-0.026282522827386856,
-0.05321938171982765,
-0.024155927821993828,
-0.024992024526000023,
0.01634932868182659,
-0.02684597857296467,
-0.07390368729829788,
0.015567759983241558,
0.013350285589694977,
0.008156487718224525,
-0.020502548664808273,
0.06641516834497452,
-0.0468941256403923,
0.012623244896531105,
0.032934945076704025,
0.0383513979613781,
-0.06150764599442482,
-0.0011984811862930655,
-0.00411005225032568,
0.05481887236237526,
-0.04067792743444443,
0.01860315538942814,
-0.005380101501941681,
0.030644766986370087,
-0.035134244710206985,
0.006947782821953297,
0.011541771702468395,
-0.01413185428828001,
-0.06943239271640778,
0.004296356346458197,
0.02108418010175228,
-0.0074930633418262005,
-0.00521197309717536,
0.0004819484893232584,
0.03577040508389473,
0.016876433044672012,
-0.02173851802945137,
0.014777102507650852,
-0.011069195345044136,
-0.0036806436255574226,
0.011423627845942974,
-0.03349840268492699,
0.021302293986082077,
0.08513646572828293,
0.06012626737356186,
-0.0285545252263546,
0.005121093243360519,
-0.042241066694259644,
-0.01868494600057602,
-0.01802152208983898,
-0.039623718708753586,
-0.027173146605491638,
0.042640939354896545,
0.023719703778624535,
0.0019630100578069687,
-0.038315046578645706,
-0.014249998144805431,
0.02561000920832157,
0.0037783398292958736,
-0.022738197818398476,
0.02193845435976982,
-0.019157523289322853,
-0.021193237975239754,
-0.06187116727232933,
0.02275637537240982,
0.024010520428419113,
0.0004495724570006132,
0.018121490254998207,
-0.03235331177711487,
0.05783608928322792,
0.051256369799375534,
-0.05103825777769089,
-0.0001156591170001775,
0.01419547013938427,
0.0579087920486927,
-0.04380420222878456,
0.04340432956814766,
-0.031190047040581703,
0.0006361606065183878,
0.005121093243360519,
-0.005552773363888264,
-0.029027100652456284,
0.028154652565717697,
0.006611526478081942,
0.009033480659127235,
0.012977677397429943,
-0.022974487394094467,
0.012350603938102722,
-0.024501271545886993,
0.004730308894068003,
-0.015731343999505043,
-0.005498245358467102,
0.030299421399831772,
-0.023756055161356926,
-0.0391511432826519,
-0.0009542409679852426,
-0.02301083877682686,
0.0248829685151577,
-0.027918362990021706,
-0.09785968065261841,
0.008524552918970585,
0.022320149466395378,
-0.011732619255781174,
0.03315305709838867,
0.027154970914125443,
0.007647559512406588,
-0.04238647595047951,
-0.1044030487537384,
0.044603947550058365,
-0.0020311700645834208,
-0.026809627190232277,
0.022901782765984535,
0.0031785310711711645,
0.0016017615562304854,
0.025828121230006218,
0.0024583064951002598,
-0.030644766986370087,
0.016867345198988914,
0.017367186024785042,
0.027318555861711502,
-0.015040654689073563,
0.019793683663010597,
0.04954782500863075,
0.008374600671231747,
0.003796515753492713,
0.05071109160780907,
0.0013768334174528718,
0.020575253292918205,
0.019557395949959755,
0.05674552917480469,
0.052964918315410614,
0.036933667957782745,
-0.026736922562122345,
-0.07168621569871902,
-0.04583991691470146,
-0.07852039486169815,
0.04540369287133217,
0.01835777796804905,
-0.01716724969446659,
0.014768014661967754,
-0.023683352395892143,
0.03400732949376106,
-0.06750573217868805,
-0.02206568606197834,
0.04980228841304779,
-0.003723811823874712,
0.034207265824079514,
-0.0611804760992527,
-0.005171077325940132,
0.04274999350309372,
-0.038605861365795135,
0.019284754991531372,
0.0016540176002308726,
-0.035061538219451904,
-0.07837498933076859,
0.0018800818361341953,
0.015004303306341171,
-0.04580356553196907,
-0.004253188148140907,
-0.004573540762066841,
0.031626272946596146,
-0.0673239678144455,
0.002218610141426325,
0.002783202799037099,
0.00006074056000215933,
0.013777421787381172,
0.03951466456055641,
-0.05376465991139412,
0.009433353319764137,
-0.010323978029191494,
-0.010878346860408783,
-0.04714859277009964,
-0.013695629313588142,
-0.08411861211061478,
-0.03736989200115204,
0.04187754541635513,
0.050674740225076675,
-0.037660710513591766,
0.011723531410098076,
0.0038464998360723257,
0.07917473465204239,
-0.00895623303949833,
-0.06539731472730637,
0.03157174214720726,
-0.015595023520290852,
0.044276781380176544,
0.0047212205827236176,
0.019030291587114334,
-0.0322260819375515,
0.06841453164815903,
-0.03193526342511177,
0.015640463680028915,
0.006679686717689037,
-0.027100443840026855,
0.02639157883822918,
-0.015040654689073563,
-0.006779654882848263,
-0.05136542767286301,
-0.013486605137586594,
-0.03798787668347359,
-0.031226398423314095,
0.029645085334777832,
-0.038278695195913315,
0.020829716697335243,
0.053001269698143005,
0.010987402871251106,
-0.02357429638504982,
-0.03773341327905655,
0.056272953748703,
-0.05271045118570328,
0.02226562239229679,
0.017267217859625816,
0.014368142001330853,
0.022610966116189957,
-0.020538900047540665,
-0.024573976173996925,
0.017685266211628914,
-0.05943557992577553,
-0.025991706177592278,
0.04453124478459358,
-0.03495248407125473,
-0.0012382412096485496,
-0.061689406633377075,
0.02462850511074066,
0.030608413740992546,
0.04107780009508133,
0.018003346398472786,
0.0032603233121335506,
0.026373403146862984,
-0.01868494600057602,
-0.04035076126456261,
-0.009133448824286461,
-0.006138950120657682,
0.009060745127499104,
-0.027627548202872276,
-0.012859532609581947,
0.01598580740392208,
0.018003346398472786,
0.01811240240931511,
0.04783928021788597,
-0.053946420550346375,
-0.04787563160061836,
-0.05489157512784004,
0.04565815627574921,
0.02035713940858841,
0.03111734241247177,
-0.06910522282123566,
0.048929840326309204,
-0.0016222096746787429,
-0.053364790976047516,
-0.056963641196489334,
-0.031135519966483116,
0.062016572803258896,
0.07815688103437424,
-0.007483975496143103,
-0.03900573402643204,
0.0024514903780072927,
0.035715874284505844,
0.020284436643123627,
-0.003948739729821682,
-0.020139027386903763,
0.01753985695540905,
-0.00934247300028801,
0.008742664940655231,
0.011150986887514591,
0.05092920362949371,
0.007747527677565813,
-0.03716995567083359,
-0.03540688380599022,
0.09000764042139053,
-0.001118393149226904,
-0.0013404813362285495,
0.028899868950247765,
-0.01042394619435072,
-0.06645151972770691,
-0.010696586221456528,
0.013104909099638462,
-0.034443553537130356,
0.06121682748198509,
0.022374678403139114,
0.036406565457582474,
0.054637111723423004,
-0.03447990491986275,
-0.02435586415231228,
-0.04155037924647331,
0.004875716753304005,
0.045621804893016815,
-0.028281884267926216,
0.005848133936524391,
0.0019232499180361629,
-0.027627548202872276,
0.037097252905368805,
0.018939411267638206
] |
21,626 | smartypants | convert_dashes_oldschool |
Convert ``--`` and ``---`` in *text* into en-dash and em-dash HTML
entities, respectively.
>>> quote = 'Life itself is the proper binge. --- Julia Child (1912--2004)'
>>> print(convert_dashes_oldschool(quote))
Life itself is the proper binge. — Julia Child (1912–2004)
| def convert_dashes_oldschool(text):
"""
Convert ``--`` and ``---`` in *text* into en-dash and em-dash HTML
entities, respectively.
>>> quote = 'Life itself is the proper binge. --- Julia Child (1912--2004)'
>>> print(convert_dashes_oldschool(quote))
Life itself is the proper binge. — Julia Child (1912–2004)
"""
text = re.sub('---', '—', text) # em (yes, backwards)
text = re.sub('--', '–', text) # en (yes, backwards)
return text
| (text) | [
0.02787851355969906,
-0.018833404406905174,
0.06558157503604889,
0.008877439424395561,
-0.020174764096736908,
-0.019866613671183586,
-0.023419402539730072,
-0.023056872189044952,
0.037086762487888336,
0.02419883944094181,
-0.041944656521081924,
-0.048651449382305145,
-0.021244226023554802,
0.022730596363544464,
0.002784679178148508,
0.01668541692197323,
-0.044699881225824356,
0.04216217249631882,
0.04129210487008095,
-0.03647046163678169,
-0.004481770098209381,
-0.0643489733338356,
-0.0044659096747636795,
-0.12209991365671158,
0.005528573878109455,
0.04027701914310455,
-0.03266390413045883,
-0.025087038055062294,
-0.06046991050243378,
-0.033914629369974136,
0.04353978484869003,
-0.0022816697601228952,
0.047020066529512405,
0.006829148158431053,
0.051370423287153244,
0.012661340646445751,
-0.0014512506313621998,
-0.04426484555006027,
0.0267365463078022,
0.04600498452782631,
-0.009389512240886688,
-0.002485592383891344,
0.05579328164458275,
0.014872769825160503,
0.022875607013702393,
0.031793832778930664,
-0.010776187293231487,
0.004082988016307354,
-0.05108039826154709,
-0.059382323175668716,
0.030126197263598442,
-0.06634289026260376,
0.02483326569199562,
-0.030796876177191734,
-0.02416258677840233,
0.010495226830244064,
0.03132254257798195,
0.07881390303373337,
0.015851600095629692,
-0.03362460434436798,
0.030669990926980972,
0.014510240405797958,
0.0048397681675851345,
0.02347378060221672,
-0.017573613673448563,
0.03248263895511627,
0.027570363134145737,
-0.054089393466711044,
0.007268715184181929,
0.05115290358662605,
0.00831551942974329,
0.047563862055540085,
0.018063029274344444,
-0.021534249186515808,
0.009842674247920513,
-0.009235437028110027,
-0.06086869165301323,
-0.03607168048620224,
-0.006992286536842585,
0.03712301328778267,
-0.0004803515039384365,
-0.031703200191259384,
0.019069047644734383,
-0.02709907479584217,
0.027316592633724213,
-0.0670679435133934,
-0.003090563463047147,
-0.04335851967334747,
0.013486094772815704,
0.008687111549079418,
0.06699544191360474,
-0.07526110857725143,
0.009797357954084873,
-0.00813425425440073,
0.016114434227347374,
0.003117753192782402,
-0.013785181567072868,
-0.01259789802134037,
-0.040168263018131256,
-0.026863431558012962,
0.04314100369811058,
0.05673585832118988,
0.06311637163162231,
0.019340945407748222,
-0.0038700017612427473,
-0.10100070387125015,
-0.017419539391994476,
-0.04651252552866936,
-0.005347309168428183,
-0.044699881225824356,
-0.03212010860443115,
0.0006174329319037497,
0.029038608074188232,
-0.048651449382305145,
0.014038952067494392,
-0.03929819166660309,
0.04444611072540283,
0.010576796717941761,
0.027932893484830856,
-0.012208178639411926,
-0.03366085886955261,
-0.022694343701004982,
-0.08352678269147873,
-0.011419677175581455,
-0.0036094337701797485,
0.05115290358662605,
-0.009335133247077465,
-0.02419883944094181,
0.016159750521183014,
-0.02624713070690632,
-0.012588834390044212,
0.02338314801454544,
-0.006693199742585421,
-0.028241043910384178,
0.02002975158393383,
-0.04879646375775337,
-0.019413450732827187,
0.039406951516866684,
0.014292723499238491,
0.021552374586462975,
-0.04658503457903862,
-0.06250007450580597,
0.01552532333880663,
0.04843393340706825,
-0.08671703934669495,
0.03538287431001663,
-0.024543242529034615,
-0.01685761846601963,
0.040168263018131256,
0.010495226830244064,
0.06971441209316254,
0.05202297493815422,
0.059382323175668716,
0.03239200636744499,
0.017057010903954506,
0.0028118689078837633,
-0.0038337488658726215,
-0.02987242490053177,
0.050500351935625076,
0.05640958249568939,
-0.0028843749314546585,
-0.000092048489023,
-0.010676492005586624,
0.09237249940633774,
-0.04480863735079765,
-0.038718145340681076,
0.045787468552589417,
-0.02936488389968872,
0.062065038830041885,
0.00016526244871784002,
0.003101892536506057,
0.04027701914310455,
-0.02147986926138401,
0.021643007174134254,
0.02800539880990982,
0.06322513520717621,
0.018253358080983162,
0.033914629369974136,
0.007785319816321135,
-0.0006933375261723995,
-0.009906116873025894,
0.0019146086415275931,
0.02238619327545166,
-0.03879065066576004,
-0.020881695672869682,
-0.03911692649126053,
-0.03018057532608509,
0.043576039373874664,
0.009924243204295635,
0.003688737051561475,
-0.030162449926137924,
-0.026591533794999123,
-0.051950469613075256,
-0.0033284733071923256,
-0.004067127127200365,
0.01690293475985527,
-0.04201716184616089,
0.02126235142350197,
0.009049640968441963,
-0.07163581997156143,
0.0021967017091810703,
0.08831217139959335,
0.0014138647820800543,
-0.03911692649126053,
0.03665172681212425,
-0.0032378409523516893,
-0.04546119272708893,
-0.0427059680223465,
-0.08555694669485092,
-0.016196003183722496,
-0.017374223098158836,
0.013087312690913677,
-0.023818183690309525,
-0.021733639761805534,
0.062391314655542374,
-0.07678373157978058,
0.02996305748820305,
-0.005551232025027275,
-0.04281472787261009,
-0.012933237478137016,
-0.05115290358662605,
-0.08584696799516678,
0.021044833585619926,
0.04216217249631882,
0.009643282741308212,
0.004422859288752079,
-0.01981223374605179,
0.01876089908182621,
0.02157050184905529,
0.03222886845469475,
-0.05234925076365471,
0.008184102363884449,
-0.039225686341524124,
-0.03918943181633949,
0.06830054521560669,
0.019250312820076942,
-0.043612290173769,
-0.03911692649126053,
-0.0222049281001091,
0.018470874056220055,
0.005891103297472,
0.02211429551243782,
-0.012471012771129608,
-0.008483189158141613,
0.011591878719627857,
-0.019141554832458496,
-0.008560226298868656,
0.01596035808324814,
-0.03186633810400963,
-0.002755223773419857,
-0.031830083578825,
-0.049231499433517456,
0.0061630005948245525,
0.03766680881381035,
-0.034458424896001816,
-0.025159543380141258,
-0.046476274728775024,
0.010159887373447418,
-0.02129860408604145,
0.029528023675084114,
0.015316869132220745,
0.02434385195374489,
-0.08098907768726349,
0.04799889773130417,
-0.018298672512173653,
0.011455929838120937,
-0.035237859934568405,
-0.025775842368602753,
0.0025558324996382,
0.003591307206079364,
0.09904304146766663,
-0.045569948852062225,
0.0034485612995922565,
-0.030615611001849174,
-0.044663626700639725,
0.06866307556629181,
-0.031431302428245544,
-0.02782413363456726,
-0.04462737217545509,
-0.00901792012155056,
0.0013266311725601554,
0.018742771819233894,
-0.04763636738061905,
0.0036230285186320543,
0.053364332765340805,
-0.039225686341524124,
-0.01740141212940216,
-0.04716508090496063,
0.03309893608093262,
0.013295766897499561,
-0.001610990148037672,
0.01028677262365818,
0.04335851967334747,
-0.02601148746907711,
0.014519304037094116,
0.028349801898002625,
0.026500901207327843,
-0.03244638442993164,
0.0026147435419261456,
-0.01472775824368,
0.06427647173404694,
0.03663359954953194,
-0.004212138708680868,
0.022730596363544464,
-0.017845511436462402,
-0.03023495525121689,
-0.041618380695581436,
0.019649095833301544,
0.013685486279428005,
0.03672423213720322,
-0.04959402605891228,
-0.0462225042283535,
-0.004993842914700508,
0.024815140292048454,
0.0006956033757887781,
0.022259308025240898,
0.0001788572990335524,
-0.009181058034300804,
0.017002630978822708,
-0.009851737879216671,
0.009271690621972084,
-0.031793832778930664,
0.047563862055540085,
0.015887852758169174,
0.022857481613755226,
-0.04963028058409691,
-0.010839629918336868,
0.010205203667283058,
0.07453605532646179,
0.008678048849105835,
-0.03991449251770973,
-0.03212010860443115,
0.020682305097579956,
-0.07076574862003326,
-0.05894728749990463,
0.0049893115647137165,
0.027896640822291374,
0.009117615409195423,
-0.01912342756986618,
-0.04237969219684601,
0.00806627981364727,
0.08120659738779068,
-0.018389305099844933,
-0.010005812160670757,
0.022948114201426506,
0.01827148348093033,
-0.0662703812122345,
-0.03676048666238785,
-0.037086762487888336,
0.00006985064101172611,
-0.02207804284989834,
-0.007567801978439093,
0.014437735080718994,
-0.012770099565386772,
0.0077218771912157536,
0.042488452047109604,
0.03358835354447365,
-0.022458698600530624,
-0.0616300031542778,
-0.034150272607803345,
0.031703200191259384,
-0.09897053986787796,
-0.019050922244787216,
-0.015742840245366096,
-0.025630831718444824,
-0.011319981887936592,
0.0004557108331937343,
-0.006534593179821968,
-0.014310849830508232,
0.02746160514652729,
-0.001588332117535174,
0.018343988806009293,
-0.00951639749109745,
-0.0020788798574358225,
0.016703544184565544,
-0.020192889496684074,
-0.017682373523712158,
0.049739040434360504,
0.021316731348633766,
-0.0010286773322150111,
-0.02265808917582035,
0.020084131509065628,
-0.01930469274520874,
-0.007368410937488079,
0.03072437085211277,
-0.05756967514753342,
0.05999862030148506,
0.020917948335409164,
0.04872395470738411,
-0.0690981075167656,
0.041944656521081924,
-0.06757548451423645,
0.07787132263183594,
0.014401481486856937,
0.01554344967007637,
-0.010495226830244064,
0.010576796717941761,
-0.002268074778839946,
0.01323232427239418,
-0.010667428374290466,
-0.002370036207139492,
0.035509757697582245,
0.030162449926137924,
-0.016739796847105026,
0.010930262506008148,
0.05224049091339111,
-0.008369898423552513,
0.03656109422445297,
0.010594923049211502,
0.09897053986787796,
-0.0007783054024912417,
0.00829286128282547,
-0.05869351699948311,
-0.013685486279428005,
0.05162419378757477,
0.00008425977284787223,
-0.017600804567337036,
0.022730596363544464,
-0.025141416117548943,
0.017881764099001884,
-0.028494814410805702,
-0.07083825021982193,
0.005945482756942511,
0.0012858465779572725,
0.010640239343047142,
-0.037086762487888336,
-0.011890965513885021,
0.020809190347790718,
-0.012697593308985233,
0.010839629918336868,
0.038899410516023636,
-0.07029445469379425,
-0.0345490537583828,
-0.0932425707578659,
0.02470638044178486,
0.011419677175581455,
0.05253051593899727,
0.07736378163099289,
0.011428740806877613,
-0.034186527132987976,
0.05184170976281166,
0.05151543393731117,
0.024235092103481293,
-0.04473613202571869,
0.03694174811244011,
-0.018634013831615448,
0.03266390413045883,
0.0042189364321529865,
-0.006190190091729164,
0.038138095289468765,
0.04335851967334747,
0.04589622840285301,
-0.011619068682193756,
0.002866248367354274,
-0.00165743927937001,
-0.029854299500584602,
0.13138066232204437,
-0.08671703934669495,
-0.051370423287153244,
0.09186495840549469,
0.004699287936091423,
-0.012715719640254974,
-0.0416908860206604,
0.0735209733247757,
0.0642402172088623,
0.011265601962804794,
0.004685692954808474,
-0.030126197263598442,
-0.01885153166949749,
0.0007176949875429273,
-0.03344333916902542,
-0.01250726543366909,
0.03589041531085968,
0.005025564227253199,
-0.05398063361644745,
-0.03335270658135414,
-0.06384143233299255,
-0.03411402180790901,
-0.0007295904797501862,
0.015253426507115364,
-0.03105064667761326,
-0.06583534926176071,
0.01658572256565094,
0.014963402412831783,
-0.006443960592150688,
-0.03453093022108078,
0.031105026602745056,
-0.03719551861286163,
0.00586844515055418,
0.03647046163678169,
0.05731590464711189,
-0.034277159720659256,
0.017057010903954506,
-0.009733915328979492,
0.052276745438575745,
-0.015561576001346111,
0.0029478175565600395,
-0.016395393759012222,
0.016957314684987068,
-0.03230137377977371,
0.0007188278832472861,
-0.0032106514554470778,
-0.04513491690158844,
-0.05673585832118988,
0.01912342756986618,
0.029473643749952316,
-0.003394181840121746,
0.00734122097492218,
0.025866474956274033,
0.05930981785058975,
0.01173689030110836,
-0.014999655075371265,
0.040349528193473816,
-0.0076584345661103725,
-0.01248913910239935,
-0.0017594007076695561,
-0.04517116770148277,
0.06014363467693329,
0.09483770281076431,
0.06793801486492157,
0.0015396171947941184,
-0.02184239961206913,
-0.026899684220552444,
-0.025322681292891502,
-0.016159750521183014,
-0.047600116580724716,
-0.018280547112226486,
0.028839217498898506,
0.02588460221886635,
-0.02256745845079422,
-0.04419234022498131,
-0.016612911596894264,
0.05959983915090561,
0.00802096351981163,
-0.023564413189888,
0.02555832453072071,
0.004681161604821682,
-0.014473987743258476,
-0.05042784661054611,
0.02207804284989834,
0.01604192703962326,
0.012896984815597534,
0.00436168210580945,
-0.008030027151107788,
0.04314100369811058,
0.010522416792809963,
-0.04930400475859642,
-0.023999448865652084,
-0.0033171444665640593,
0.056482087820768356,
-0.05833098664879799,
0.04274222254753113,
-0.016322888433933258,
0.029401136562228203,
0.03384212404489517,
-0.0011838851496577263,
-0.020917948335409164,
0.05778719112277031,
0.006720389239490032,
0.01028677262365818,
0.007010412868112326,
-0.004803515039384365,
0.0006468884530477226,
-0.02365504577755928,
0.009434828534722328,
-0.00018126472423318774,
-0.004250657744705677,
0.053364332765340805,
-0.01876089908182621,
-0.004726477432996035,
0.005669054109603167,
0.016159750521183014,
0.06489276885986328,
-0.02419883944094181,
-0.06822804361581802,
0.031105026602745056,
0.0070376028306782246,
-0.004234796855598688,
0.03737678378820419,
0.03077874891459942,
0.026446523144841194,
-0.04832517355680466,
-0.09273502975702286,
0.02135298401117325,
0.004094316624104977,
-0.024180714040994644,
0.013794245198369026,
0.03014432266354561,
0.011419677175581455,
0.01881527714431286,
0.004758198745548725,
-0.03538287431001663,
0.025032658129930496,
0.01051335409283638,
0.02610212005674839,
-0.021099213510751724,
0.03585416078567505,
0.02456136979162693,
0.008265671320259571,
-0.010341152548789978,
0.0416908860206604,
0.04092957451939583,
0.016377266496419907,
0.012316937558352947,
0.07091075927019119,
0.06181126832962036,
0.046149998903274536,
-0.03322582319378853,
-0.07460855692625046,
-0.034095894545316696,
-0.05756967514753342,
0.02265808917582035,
0.012996680103242397,
-0.02419883944094181,
0.042850978672504425,
0.008129722438752651,
0.014546493999660015,
-0.05561201646924019,
-0.02805977873504162,
0.03018057532608509,
0.0380655899643898,
0.020591672509908676,
-0.056627098470926285,
-0.0029478175565600395,
0.016159750521183014,
-0.03846437484025955,
0.037231773138046265,
-0.0014014028711244464,
-0.05234925076365471,
-0.0825842097401619,
-0.005687180440872908,
0.010549606755375862,
-0.05604705214500427,
-0.012606961652636528,
-0.0019361338345333934,
0.043032243847846985,
-0.034367792308330536,
0.024416357278823853,
0.002112866844981909,
0.013603917323052883,
-0.011791270226240158,
0.04292348399758339,
-0.04567870870232582,
-0.010159887373447418,
-0.035817909985780716,
0.00108249019831419,
-0.021969284862279892,
-0.01799052394926548,
-0.09113989770412445,
-0.03603542596101761,
0.032609522342681885,
0.06210129335522652,
-0.02465200237929821,
0.0008213557885028422,
-0.015189983882009983,
0.08316425234079361,
-0.004026342649012804,
-0.06801052391529083,
0.03634357452392578,
-0.023600665852427483,
0.05187796428799629,
-0.0024198840837925673,
0.018189914524555206,
-0.022603711113333702,
0.09106739610433578,
0.02108108624815941,
0.036814864724874496,
0.03154006227850914,
-0.0006542523624375463,
0.0024719976354390383,
-0.035509757697582245,
-0.0029999311082065105,
-0.037086762487888336,
-0.028712332248687744,
-0.04673004522919655,
-0.03440404310822487,
0.04426484555006027,
-0.029673034325242043,
0.03549163043498993,
0.041944656521081924,
0.010866819880902767,
-0.010830567218363285,
-0.038681890815496445,
0.02651902846992016,
-0.056300822645425797,
0.01617787592113018,
0.00581406569108367,
0.007635776419192553,
0.013422652147710323,
-0.030760623514652252,
-0.0027076418045908213,
0.005999862216413021,
-0.05691712349653244,
-0.03208385407924652,
0.06304387003183365,
-0.05104414373636246,
0.003768040332943201,
-0.05742466449737549,
0.03955196216702461,
0.022186800837516785,
0.049920301884412766,
0.01799052394926548,
-0.0021717778872698545,
0.013150755316019058,
-0.02374567836523056,
-0.023781931027770042,
-0.028386054560542107,
-0.007558738812804222,
0.009235437028110027,
-0.012896984815597534,
-0.011555626057088375,
0.008424277417361736,
0.023564413189888,
0.04060329869389534,
0.07033070921897888,
-0.08113408833742142,
-0.027044696733355522,
-0.05894728749990463,
0.04607748985290527,
0.0022408850491046906,
0.04825266823172569,
-0.056627098470926285,
0.02329251728951931,
-0.0065708463080227375,
-0.04868770390748978,
-0.04567870870232582,
-0.008392556570470333,
0.0489414744079113,
0.03610793128609657,
0.0010904205264523625,
-0.030017437413334846,
0.005442473106086254,
0.023691298440098763,
0.011782206594944,
0.003990089520812035,
-0.008229418657720089,
0.01307824905961752,
0.010839629918336868,
0.01472775824368,
0.004382074810564518,
0.030978141352534294,
0.03933444246649742,
-0.05764218047261238,
-0.03598104789853096,
0.08323676139116287,
0.0067838323302567005,
0.007835167460143566,
0.009996749460697174,
-0.011437803506851196,
-0.0425972081720829,
0.022875607013702393,
0.018543381243944168,
-0.024361977353692055,
0.03676048666238785,
0.029437391087412834,
0.03328020125627518,
0.05814972147345543,
-0.028204791247844696,
-0.016159750521183014,
-0.014310849830508232,
0.013603917323052883,
0.03384212404489517,
-0.0053518409840762615,
0.012099419720470905,
-0.02066417783498764,
-0.05278428643941879,
0.02292998693883419,
0.039588212966918945
] |
21,627 | smartypants | convert_dashes_oldschool_inverted |
Convert ``--`` and ``---`` in *text* into em-dash and en-dash HTML
entities, respectively.
Two reasons why:
* First, unlike the en- and em-dash syntax supported by
:func:`convert_dashes_oldschool`, it's compatible with existing entries
written before SmartyPants 1.1, back when ``--`` was only used for
em-dashes.
* Second, em-dashes are more common than en-dashes, and so it sort of
makes sense that the shortcut should be shorter to type. (Thanks to Aaron
Swartz for the idea.)
>>> quote = 'Dare to be naïve. -- Buckminster Fuller (1895---1983)'
>>> print(convert_dashes_oldschool_inverted(quote))
Dare to be naïve. — Buckminster Fuller (1895–1983)
| def convert_dashes_oldschool_inverted(text):
"""
Convert ``--`` and ``---`` in *text* into em-dash and en-dash HTML
entities, respectively.
Two reasons why:
* First, unlike the en- and em-dash syntax supported by
:func:`convert_dashes_oldschool`, it's compatible with existing entries
written before SmartyPants 1.1, back when ``--`` was only used for
em-dashes.
* Second, em-dashes are more common than en-dashes, and so it sort of
makes sense that the shortcut should be shorter to type. (Thanks to Aaron
Swartz for the idea.)
>>> quote = 'Dare to be naïve. -- Buckminster Fuller (1895---1983)'
>>> print(convert_dashes_oldschool_inverted(quote))
Dare to be naïve. — Buckminster Fuller (1895–1983)
"""
text = re.sub('---', '–', text) # em
text = re.sub('--', '—', text) # en
return text
| (text) | [
0.04588942602276802,
-0.03067493811249733,
0.08004296571016312,
0.0014109857147559524,
-0.01263189036399126,
-0.03114929236471653,
-0.028092339634895325,
-0.02645845152437687,
0.04357035830616951,
0.019079601392149925,
-0.03081548772752285,
-0.05063297227025032,
-0.026335470378398895,
0.015548293478786945,
-0.003412718651816249,
0.03413597121834755,
-0.046100251376628876,
0.04848959296941757,
0.039986345916986465,
-0.03893222287297249,
-0.005279392469674349,
-0.07315603643655777,
0.006570691242814064,
-0.11686694622039795,
0.00023580480774398893,
0.03858084976673126,
-0.030639801174402237,
-0.02570299804210663,
-0.045151542872190475,
-0.051265448331832886,
0.04012689366936684,
-0.0011749063851311803,
0.04848959296941757,
0.01792006753385067,
0.05716852843761444,
-0.00885022897273302,
-0.003320483025163412,
-0.01739300601184368,
0.01654970832169056,
0.037140216678380966,
-0.01272851787507534,
-0.0024420483969151974,
0.0625796839594841,
0.02459617145359516,
0.012122398242354393,
0.0341184027493,
-0.012860283255577087,
0.0009196113096550107,
-0.042973022907972336,
-0.05439267307519913,
0.028935637325048447,
-0.0620877631008625,
0.03759700432419777,
-0.016795670613646507,
-0.04139184206724167,
0.016593631356954575,
0.035190094262361526,
0.06581232696771622,
-0.01056756917387247,
-0.025052957236766815,
0.011797377839684486,
0.019782349467277527,
0.010778393596410751,
0.014608368277549744,
-0.021451374515891075,
0.04940316453576088,
0.024350209161639214,
-0.037948377430438995,
0.008323168382048607,
0.05948759615421295,
0.0059426105581223965,
0.03896735981106758,
0.0060041011311113834,
-0.020186427980661392,
0.004275780636817217,
-0.006996732205152512,
-0.04887610301375389,
-0.007247086148709059,
0.0006335710058920085,
0.03125470504164696,
-0.009293838404119015,
-0.0365077443420887,
0.024121815338730812,
-0.012614321894943714,
0.024438051506876945,
-0.05488459765911102,
0.006605828646570444,
-0.027090925723314285,
0.019571524113416672,
0.010339176282286644,
0.06897468864917755,
-0.0682719424366951,
-0.010137136094272137,
0.00040490349056199193,
0.01059392187744379,
0.003063540905714035,
-0.010655412450432777,
-0.009706703014671803,
-0.016391590237617493,
-0.021890591830015182,
0.05077352374792099,
0.053830474615097046,
0.05945245921611786,
0.006689279805868864,
-0.007185595575720072,
-0.09522231668233871,
-0.01995803602039814,
-0.046908412128686905,
0.0030020505655556917,
-0.044870443642139435,
-0.03689425438642502,
0.026107078418135643,
0.028566695749759674,
-0.061033640056848526,
0.01277243997901678,
-0.04012689366936684,
0.04957885295152664,
0.011560199782252312,
0.02048509567975998,
-0.007668734528124332,
-0.028057202696800232,
-0.003654288128018379,
-0.09613589197397232,
-0.00969791878014803,
-0.0060041011311113834,
0.03459275886416435,
-0.013158950954675674,
-0.01909716986119747,
0.01616319827735424,
-0.027284180745482445,
-0.005920649506151676,
0.022259535267949104,
0.002292714547365904,
-0.01638280600309372,
0.007308576256036758,
-0.03837002441287041,
-0.013475188054144382,
0.0374564528465271,
0.025527311488986015,
0.05256552994251251,
-0.047294922173023224,
-0.06458251923322678,
0.0016745161265134811,
0.048665281385183334,
-0.09213022887706757,
0.03682398051023483,
-0.015196919441223145,
-0.019220151007175446,
0.040653955191373825,
0.010444588027894497,
0.06700699776411057,
0.04778684675693512,
0.04775170981884003,
0.02470158226788044,
0.010435803793370724,
0.009891174733638763,
0.001737104495987296,
-0.021012157201766968,
0.04588942602276802,
0.06454738229513168,
0.008841444738209248,
-0.010418235324323177,
0.0008707483648322523,
0.09416819363832474,
-0.04367577284574509,
-0.04585428908467293,
0.04529209062457085,
-0.04209458827972412,
0.06830707937479019,
-0.0006324729765765369,
-0.005850374698638916,
0.04086478054523468,
-0.039845794439315796,
0.017955204471945763,
0.036050956696271896,
0.05439267307519913,
0.014643506146967411,
0.03636719658970833,
0.004444879479706287,
-0.0020138113759458065,
-0.01448538713157177,
0.0030789135489612818,
0.013211657293140888,
-0.0374564528465271,
0.0017261240864172578,
-0.02171490527689457,
-0.012816362082958221,
0.0369645319879055,
-0.009741839952766895,
-0.003441267879679799,
-0.022452790290117264,
-0.029146462678909302,
-0.039705246686935425,
0.01452930923551321,
-0.01021619513630867,
0.020924312993884087,
-0.03893222287297249,
0.014704995788633823,
-0.006083160173147917,
-0.07463181018829346,
-0.0060392385348677635,
0.06841249018907547,
0.021627061069011688,
-0.033679183572530746,
0.02825045958161354,
-0.01405495498329401,
-0.037807829678058624,
-0.04494071751832962,
-0.0592767708003521,
-0.008340736851096153,
-0.023770442232489586,
0.010576353408396244,
-0.03664829581975937,
-0.014652290381491184,
0.055938720703125,
-0.05773072689771652,
0.03134254738688469,
0.013035970740020275,
-0.04655703529715538,
0.004282368812710047,
-0.06391490250825882,
-0.08742181956768036,
0.014959742315113544,
0.026616569608449936,
0.017507202923297882,
0.007435949519276619,
-0.016672689467668533,
0.028320733457803726,
0.023401498794555664,
0.039705246686935425,
-0.05432239919900894,
0.012833930552005768,
-0.0445542074739933,
-0.033152125775814056,
0.06844762712717056,
0.016347669064998627,
-0.03829975053668022,
-0.05920649692416191,
-0.02635304071009159,
0.023296087980270386,
0.007431557402014732,
0.02427993342280388,
-0.011771024204790592,
0.007264654617756605,
0.02635304071009159,
-0.019518818706274033,
-0.0038102103862911463,
0.020977020263671875,
-0.039564698934555054,
-0.007782930973917246,
-0.03267776966094971,
-0.05460349842905998,
0.017955204471945763,
0.03323996812105179,
-0.01363330613821745,
-0.018798502162098885,
-0.041075605899095535,
0.017182182520627975,
-0.02389342337846756,
0.019606661051511765,
0.01405495498329401,
0.009012739174067974,
-0.07519400864839554,
0.03784296661615372,
-0.008942465297877789,
0.006825437303632498,
-0.03404812887310982,
-0.011894005350768566,
0.005204725544899702,
0.009320192039012909,
0.059136223047971725,
-0.0530925914645195,
-0.0069835553877055645,
-0.012552831321954727,
-0.026423314586281776,
0.08172956109046936,
-0.021750042214989662,
-0.0293924231082201,
-0.04132156819105148,
0.0020500468090176582,
-0.004699625540524721,
0.02020399644970894,
-0.050562698394060135,
0.0037091902922838926,
0.061455290764570236,
-0.037667278200387955,
-0.02380557917058468,
-0.06458251923322678,
0.03865112364292145,
0.011489924974739552,
0.00206212536431849,
0.02540433034300804,
0.04248110204935074,
-0.026809826493263245,
0.013000832870602608,
0.03243180736899376,
0.0164706502109766,
-0.04574887827038765,
0.01469621155411005,
-0.012667028233408928,
0.057484764605760574,
0.033152125775814056,
0.0033314635511487722,
0.01616319827735424,
-0.02166219800710678,
-0.019782349467277527,
-0.02911132387816906,
0.0365077443420887,
0.02413938380777836,
0.03048168309032917,
-0.038053788244724274,
-0.06177152693271637,
-0.009012739174067974,
0.014608368277549744,
0.008678934536874294,
0.022733889520168304,
0.006952810566872358,
-0.006184179801493883,
0.022171691060066223,
-0.004743547178804874,
0.004901665262877941,
-0.015469234436750412,
0.04012689366936684,
0.008942465297877789,
0.029989758506417274,
-0.04655703529715538,
-0.004589821211993694,
0.006671711336821318,
0.07786444574594498,
0.012342006899416447,
-0.024156954139471054,
-0.030358701944351196,
0.019712073728442192,
-0.07737252861261368,
-0.06718268245458603,
-0.01579425483942032,
0.03580499812960625,
0.021591924130916595,
-0.01929042488336563,
-0.04153238981962204,
-0.0006236886256374419,
0.07941049337387085,
-0.015680057927966118,
-0.008757993578910828,
0.010462156496942043,
0.016154414042830467,
-0.0711180716753006,
-0.041462115943431854,
-0.05186278373003006,
0.009987802244722843,
-0.01763896830379963,
-0.014845545403659344,
0.017076769843697548,
-0.01685716025531292,
0.00435483967885375,
0.03445220738649368,
0.03494413197040558,
-0.031114155426621437,
-0.05850374698638916,
-0.029462698847055435,
0.0244204830378294,
-0.08784346282482147,
-0.02009858563542366,
-0.021785179153084755,
-0.018991757184267044,
-0.026230059564113617,
0.004365820437669754,
-0.007291007786989212,
-0.002147772815078497,
0.022593339905142784,
-0.012948126532137394,
0.015073939226567745,
-0.008960033766925335,
-0.013677227310836315,
0.016374021768569946,
-0.03429408743977547,
-0.038897085934877396,
0.05569275841116905,
0.02185545489192009,
0.0073437136597931385,
-0.012052123434841633,
0.018130891025066376,
-0.018095754086971283,
-0.00434825150296092,
0.030376270413398743,
-0.03858084976673126,
0.07378850877285004,
0.025913823395967484,
0.06721781939268112,
-0.06584746390581131,
0.027424730360507965,
-0.06925579160451889,
0.0782158225774765,
0.01730516366660595,
0.02194329723715782,
-0.005283784586936235,
0.010198626667261124,
-0.00223342003300786,
0.0036213467828929424,
-0.004783076699823141,
-0.00619735661894083,
0.04497585445642471,
0.04940316453576088,
-0.01183251477777958,
0.01286906749010086,
0.052214156836271286,
0.0030591487884521484,
0.04234055057168007,
0.021117569878697395,
0.10548243671655655,
0.00007487282709917054,
0.0192025825381279,
-0.06426627933979034,
-0.028338301926851273,
0.03547119349241257,
-0.018271440640091896,
-0.024209659546613693,
0.012825146317481995,
-0.023436637595295906,
0.006381827872246504,
-0.03429408743977547,
-0.07990241795778275,
0.011243963614106178,
-0.02450832724571228,
0.027284180745482445,
-0.03689425438642502,
-0.018218735232949257,
0.005310137756168842,
-0.020608076825737953,
0.01412522979080677,
0.035295505076646805,
-0.07080183178186417,
-0.02735445462167263,
-0.08847594261169434,
0.03346836194396019,
0.014713780954480171,
0.0578361377120018,
0.05144113302230835,
0.0123244384303689,
-0.034399501979351044,
0.046767860651016235,
0.04820849373936653,
0.030130308121442795,
-0.03689425438642502,
0.03260749578475952,
-0.014063739217817783,
0.015425312332808971,
0.014309700578451157,
0.010365528985857964,
0.03668343275785446,
0.04768143221735954,
0.047048959881067276,
-0.005837198346853256,
-0.010576353408396244,
-0.008907327428460121,
-0.028742382302880287,
0.10330391675233841,
-0.06563663482666016,
-0.050422150641679764,
0.09740083664655685,
-0.004884096793830395,
-0.018851207569241524,
-0.05773072689771652,
0.06500416249036789,
0.08095654100179672,
0.012333222664892673,
-0.0010920041240751743,
-0.03706994280219078,
-0.013563031330704689,
0.0022059690672904253,
-0.03436436504125595,
-0.015890883281826973,
0.03308184817433357,
0.009030308574438095,
-0.045959699898958206,
-0.027284180745482445,
-0.07087210565805435,
-0.03192231431603432,
-0.006597044412046671,
0.007879558950662613,
-0.033064279705286026,
-0.058292925357818604,
0.00990874320268631,
0.005692256614565849,
0.0022553810849785805,
-0.030499251559376717,
0.04216486215591431,
-0.04139184206724167,
0.010699334554374218,
0.037140216678380966,
0.04926261678338051,
-0.020397253334522247,
0.01914987526834011,
-0.005310137756168842,
0.06377435475587845,
-0.015363822691142559,
-0.004914842080324888,
-0.02673955075442791,
0.022593339905142784,
-0.039178185164928436,
0.0027099710423499346,
-0.008582307025790215,
-0.029269443824887276,
-0.055165696889162064,
0.02052023448050022,
0.016391590237617493,
0.0053408825770020485,
0.0169450044631958,
0.019799917936325073,
0.0422000028192997,
0.009548584930598736,
-0.008656973950564861,
0.0606822669506073,
-0.017630184069275856,
-0.0025386761408299208,
0.004352643620222807,
-0.04711923375725746,
0.048138219863176346,
0.09986045211553574,
0.06851790100336075,
-0.005305745173245668,
-0.007673126645386219,
-0.03334537893533707,
-0.028180183842778206,
-0.010839884169399738,
-0.03742131590843201,
-0.016813239082694054,
0.02048509567975998,
0.02584354765713215,
-0.025632724165916443,
-0.04687327519059181,
-0.038053788244724274,
0.06514471769332886,
-0.0030591487884521484,
-0.028004497289657593,
0.040372855961322784,
-0.0011342787183821201,
-0.013642090372741222,
-0.0464516244828701,
0.028408577665686607,
0.00207310589030385,
0.00012435340613592416,
-0.0019248699536547065,
-0.023050125688314438,
0.043500084429979324,
0.009724271483719349,
-0.05657119303941727,
-0.01422185730189085,
-0.01194671168923378,
0.05066811293363571,
-0.04624079912900925,
0.03868626430630684,
0.005507785361260176,
0.02333122491836548,
0.032449375838041306,
-0.010479725897312164,
-0.030797919258475304,
0.05527110770344734,
-0.002312479307875037,
0.019659368321299553,
-0.003311698790639639,
0.011560199782252312,
-0.014353622682392597,
-0.028180183842778206,
0.015284762717783451,
-0.0026418922934681177,
-0.0019259679829701781,
0.04448392987251282,
-0.018043048679828644,
-0.0008581208530813456,
-0.004363624379038811,
0.017515987157821655,
0.073929063975811,
-0.013027186505496502,
-0.06665562093257904,
0.04054854437708855,
0.02507052570581436,
-0.03703480586409569,
0.05014105141162872,
0.013958326540887356,
0.02355961687862873,
-0.05059783533215523,
-0.10253089666366577,
0.020608076825737953,
0.0025101271457970142,
-0.04532722756266594,
0.0279693603515625,
0.0317641980946064,
0.0015504371840506792,
0.015065154060721397,
0.008797523565590382,
-0.036437470465898514,
0.03868626430630684,
0.015530725009739399,
0.02001074142754078,
-0.028004497289657593,
0.04680299758911133,
0.021258119493722916,
0.009241132996976376,
-0.021556787192821503,
0.02327851764857769,
0.03267776966094971,
0.008327560499310493,
-0.0008811797597445548,
0.07716169953346252,
0.049754537642002106,
0.04810308292508125,
-0.044343382120132446,
-0.07449126243591309,
-0.03647260740399361,
-0.0545332245528698,
0.026844963431358337,
0.010110783390700817,
-0.01142843533307314,
0.06012006849050522,
0.0072251250967383385,
0.0053189219906926155,
-0.044343382120132446,
-0.03234396502375603,
0.043640632182359695,
0.01497731078416109,
0.019922897219657898,
-0.06300133466720581,
-0.002532087964937091,
0.015803039073944092,
-0.04761115834116936,
0.03692939504981041,
0.010304038412868977,
-0.06191207468509674,
-0.06233372539281845,
-0.013519109226763248,
0.01166561245918274,
-0.044448792934417725,
0.003764092456549406,
-0.0017733399290591478,
0.0355590358376503,
-0.02944513037800789,
0.028549127280712128,
0.006184179801493883,
0.016936220228672028,
-0.009118151850998402,
0.024051541462540627,
-0.03678884357213974,
-0.001326436293311417,
-0.032923731952905655,
0.010365528985857964,
-0.021117569878697395,
-0.016013864427804947,
-0.09051390737295151,
-0.02450832724571228,
0.035523898899555206,
0.07094238698482513,
-0.016795670613646507,
-0.0059777479618787766,
-0.04806794598698616,
0.08784346282482147,
-0.012508909218013287,
-0.07052073627710342,
0.03974038362503052,
-0.032642632722854614,
0.0511951707303524,
0.013290716335177422,
-0.0030327956192195415,
-0.023524479940533638,
0.10267144441604614,
0.023963697254657745,
0.04532722756266594,
0.04585428908467293,
-0.0003230992588214576,
-0.004589821211993694,
-0.023735305294394493,
-0.0039134263060987,
-0.030727645382285118,
-0.04227027669548988,
-0.047189511358737946,
-0.023243380710482597,
0.044062282890081406,
-0.020309409126639366,
0.0407593697309494,
0.04529209062457085,
0.003926603123545647,
-0.03313455730676651,
-0.039143048226833344,
0.04778684675693512,
-0.06001465767621994,
0.023471774533391,
-0.0011836907360702753,
-0.0011902789119631052,
0.018324147909879684,
-0.036718569695949554,
0.002516715321689844,
-0.00045925661106593907,
-0.07224246859550476,
-0.029708661139011383,
0.07385879009962082,
-0.055025145411491394,
-0.009355328977108002,
-0.0630364716053009,
0.02740716189146042,
0.021609492599964142,
0.05105462297797203,
0.004765508230775595,
0.004212094005197287,
0.012359575368463993,
-0.012508909218013287,
-0.033538635820150375,
-0.01752477139234543,
-0.008635012432932854,
-0.0007818068261258304,
-0.003834367264062166,
-0.014775270596146584,
-0.0022883221972733736,
0.02247035875916481,
0.041743215173482895,
0.07905911654233932,
-0.08397835493087769,
-0.03276561200618744,
-0.05685229226946831,
0.03731590509414673,
0.003335855668410659,
0.058714572340250015,
-0.07884829491376877,
0.014704995788633823,
0.009381682612001896,
-0.04641648754477501,
-0.047997668385505676,
-0.028057202696800232,
0.04602997750043869,
0.03763214126229286,
-0.003472012933343649,
-0.03612123429775238,
0.008547169156372547,
0.025913823395967484,
0.024754289537668228,
0.0015339665114879608,
-0.01346640381962061,
0.018359284847974777,
0.011366944760084152,
-0.005736178252846003,
0.01429213210940361,
0.03522523120045662,
0.019922897219657898,
-0.05917135998606682,
-0.02252306416630745,
0.07080183178186417,
0.013931973837316036,
0.010743255726993084,
0.01758626103401184,
-0.005393588915467262,
-0.03227369114756584,
0.021029725670814514,
0.013519109226763248,
-0.02668684534728527,
0.029357286170125008,
0.03647260740399361,
0.02948026731610298,
0.05811723694205284,
-0.026388177648186684,
-0.030604664236307144,
-0.005621981807053089,
0.013545462861657143,
0.03128984197974205,
-0.01265824306756258,
0.010918943211436272,
-0.031079018488526344,
-0.05671174079179764,
0.025439467281103134,
0.0393538735806942
] |
21,628 | smartypants | convert_ellipses |
Convert ``...`` in *text* into ellipsis HTML entities
>>> print(convert_ellipses('Huh...?'))
Huh…?
| def convert_ellipses(text):
"""
Convert ``...`` in *text* into ellipsis HTML entities
>>> print(convert_ellipses('Huh...?'))
Huh…?
"""
text = re.sub(r"""\.\.\.""", '…', text)
text = re.sub(r"""\. \. \.""", '…', text)
return text
| (text) | [
0.010800516232848167,
-0.0841653123497963,
0.06695445626974106,
0.028649790212512016,
-0.016143929213285446,
-0.04463630169630051,
0.017088428139686584,
-0.058314040303230286,
0.07541995495557785,
0.04306213930249214,
0.02816004864871502,
-0.06475061923265457,
-0.03784990310668945,
0.008557331748306751,
-0.00460005784407258,
0.037255220115184784,
-0.014211204834282398,
-0.022790400311350822,
0.049883514642715454,
0.04110317677259445,
0.01018834114074707,
-0.035855963826179504,
-0.022440586239099503,
-0.12019618600606918,
0.032025497406721115,
0.040018752217292786,
0.014578510075807571,
0.032042987644672394,
-0.027652818709611893,
-0.04505607858300209,
0.02838742919266224,
-0.021950846537947655,
0.03185059130191803,
0.011998630128800869,
-0.021286198869347572,
0.04173284396529198,
0.04250243306159973,
0.00709685729816556,
0.06240686774253845,
0.018120380118489265,
-0.027355477213859558,
-0.016861047595739365,
0.010581881739199162,
0.013406632468104362,
0.005500829312950373,
-0.02028922736644745,
0.0020136183593422174,
0.00019294444064144045,
-0.01854015700519085,
-0.04946373775601387,
0.008622922003269196,
-0.02607865445315838,
0.04589563235640526,
-0.014456074684858322,
-0.03351220861077309,
0.03286505118012428,
0.015260647982358932,
0.11816726624965668,
0.03680046275258064,
-0.012532096356153488,
-0.043027155101299286,
-0.04218760132789612,
0.058418985456228256,
0.02237062342464924,
0.015120722353458405,
0.030976053327322006,
0.010092142038047314,
-0.011762505397200584,
-0.007516634184867144,
0.023105233907699585,
0.0017753074644133449,
0.043481916189193726,
-0.0368354432284832,
-0.035611093044281006,
-0.015934040769934654,
-0.03662555664777756,
0.01205110177397728,
0.046735186129808426,
-0.0049629900604486465,
0.013651502318680286,
-0.01204235665500164,
0.002310960553586483,
0.029279455542564392,
0.024469507858157158,
0.12019618600606918,
-0.08885282278060913,
-0.026568394154310226,
-0.025064192712306976,
0.025221608579158783,
0.05061812698841095,
0.031238414347171783,
-0.04306213930249214,
-0.04505607858300209,
-0.021950846537947655,
-0.07122218608856201,
0.03694038838148117,
0.02027173712849617,
0.012890656478703022,
0.017551930621266365,
-0.04691009595990181,
-0.000021436373572214507,
0.07534999400377274,
0.005028580315411091,
0.029366908594965935,
0.011264019645750523,
-0.07171192765235901,
0.022528039291501045,
-0.04204767569899559,
0.040963251143693924,
-0.017114663496613503,
0.009296314790844917,
0.009060190059244633,
0.09717840701341629,
-0.04809946194291115,
0.040963251143693924,
-0.03211295232176781,
-0.0041584172286093235,
-0.002050786279141903,
0.04320206493139267,
-0.005378394387662411,
0.005439612083137035,
-0.024591943249106407,
-0.10382487624883652,
0.009812290780246258,
-0.036765482276678085,
0.0428522489964962,
-0.023909805342555046,
0.02488928660750389,
0.0035025153774768114,
-0.09899744391441345,
-0.012086083181202412,
0.03206047788262367,
0.022965306416153908,
-0.009637383744120598,
0.009934725239872932,
-0.042327526956796646,
-0.05030329152941704,
0.060762740671634674,
0.005378394387662411,
-0.01390511728823185,
-0.060762740671634674,
0.02072649635374546,
0.01136021874845028,
0.06831873208284378,
-0.05792924389243126,
-0.005247214343398809,
0.052087344229221344,
-0.04666522517800331,
0.022685455158352852,
-0.005605774000287056,
0.004678765777498484,
-0.014141242019832134,
0.02188088372349739,
-0.017429497092962265,
0.024941757321357727,
-0.04110317677259445,
0.029681742191314697,
-0.05128277465701103,
0.03506888076663017,
0.020778968930244446,
-0.011106602847576141,
0.03370460495352745,
-0.034719068557024,
0.055550508201122284,
-0.06436582654714584,
-0.05502578616142273,
0.03408940136432648,
-0.021601032465696335,
0.02816004864871502,
0.028072595596313477,
0.05859389156103134,
0.03199051693081856,
0.005544556304812431,
-0.012059846892952919,
-0.031080998480319977,
0.0403335876762867,
0.0051029156893491745,
0.011421436443924904,
0.0186625923961401,
0.028702260926365852,
-0.02189837396144867,
0.02272043749690056,
0.00238966871984303,
-0.0014407975832000375,
-0.015505517832934856,
-0.005129151977598667,
0.002154637360945344,
0.01419371459633112,
-0.062931589782238,
-0.07828843593597412,
-0.02896462194621563,
-0.013187997974455357,
-0.00787082128226757,
0.001350064529106021,
-0.06219697743654251,
0.015802860260009766,
0.007402944844216108,
0.038654476404190063,
-0.04851923882961273,
-0.08374553918838501,
-0.08262613415718079,
0.07758880406618118,
0.0007313304813578725,
-0.023927297443151474,
0.03426430746912956,
0.005006717052310705,
-0.02385733462870121,
-0.02074398659169674,
-0.07451044023036957,
-0.07695914059877396,
-0.004551958292722702,
0.019851960241794586,
-0.0463503934442997,
-0.0246793981641531,
0.027740271762013435,
0.02665584720671177,
0.022632984444499016,
0.035506147891283035,
-0.0335821695625782,
0.03326733782887459,
-0.03858451545238495,
-0.09780807048082352,
0.032042987644672394,
0.038269683718681335,
0.022842872887849808,
0.05117782950401306,
-0.026603376492857933,
0.0666745975613594,
0.09556926041841507,
0.004796828143298626,
-0.018050417304039,
-0.0015457418048754334,
-0.03372209519147873,
-0.009759818203747272,
0.05051318183541298,
0.02814255841076374,
0.011045386083424091,
-0.049883514642715454,
0.005142269656062126,
-0.007407317403703928,
0.01251460611820221,
-0.020778968930244446,
-0.03242778405547142,
-0.008758475072681904,
-0.01955461874604225,
-0.009462475776672363,
0.0052428413182497025,
0.029349418357014656,
-0.026358505710959435,
0.012435897253453732,
0.022877853363752365,
0.005439612083137035,
0.027128096669912338,
0.008268735371530056,
0.001150014461018145,
-0.030976053327322006,
-0.03417685627937317,
-0.00040255970088765025,
0.030661221593618393,
0.04691009595990181,
0.040823325514793396,
-0.018207833170890808,
-0.0491139255464077,
0.025763820856809616,
-0.01701846532523632,
0.009584911167621613,
-0.06303653120994568,
-0.025064192712306976,
0.014998286962509155,
0.012462133541703224,
0.025658877566456795,
-0.029157020151615143,
0.02282538078725338,
-0.041173141449689865,
0.01343286782503128,
0.0812268778681755,
-0.03494644537568092,
-0.0246793981641531,
-0.007862076163291931,
0.0027285513933748007,
0.0051772515289485455,
-0.017298316583037376,
-0.04351689666509628,
0.02074398659169674,
0.0340719111263752,
-0.004326765425503254,
-0.032480254769325256,
-0.0016900402260944247,
0.02291283570230007,
-0.005815662443637848,
0.04064841940999031,
0.014561018906533718,
0.051387716084718704,
0.007984510622918606,
-0.037919867783784866,
0.0076959142461419106,
0.03379205986857414,
-0.04736485332250595,
0.02340257540345192,
-0.0917213037610054,
0.029122037813067436,
-0.0014003502437844872,
-0.0028422409668564796,
-0.019047386944293976,
0.005264705047011375,
-0.021128783002495766,
-0.030888600274920464,
-0.009934725239872932,
0.05128277465701103,
0.04725990816950798,
-0.03823469951748848,
-0.05117782950401306,
-0.027705291286110878,
0.014770908281207085,
0.03235781937837601,
0.056005265563726425,
0.04565076157450676,
-0.04865916445851326,
-0.007341727148741484,
-0.057614412158727646,
0.03139583021402359,
0.022423096001148224,
-0.01436862163245678,
-0.0014571951469406486,
0.038164738565683365,
-0.02210826240479946,
0.011255274526774883,
0.03952901437878609,
0.0551307313144207,
-0.0335821695625782,
-0.027268022298812866,
-0.029244473204016685,
0.024959249421954155,
-0.02016679383814335,
-0.01794547215104103,
-0.0017840528162196279,
0.045580800622701645,
0.010643099434673786,
0.02560640498995781,
-0.009488712064921856,
-0.020446645095944405,
0.027040643617510796,
-0.06587003171443939,
0.00003422987356316298,
0.04526596888899803,
0.059713296592235565,
-0.01864510029554367,
-0.03582098335027695,
0.014805889688432217,
-0.022090772166848183,
0.005548928864300251,
-0.017779311165213585,
0.04711998254060745,
-0.03384453058242798,
-0.004040354862809181,
0.011849958449602127,
0.02362995408475399,
-0.0009548836387693882,
-0.023140214383602142,
-0.02210826240479946,
0.04148797318339348,
-0.05166756734251976,
-0.03764001652598381,
-0.01018834114074707,
0.00048755365423858166,
0.06534530967473984,
-0.01596902124583721,
0.01955461874604225,
-0.004381423816084862,
0.051037903875112534,
-0.008535468019545078,
0.006449700798839331,
-0.00950620323419571,
-0.006956931669265032,
0.018802518025040627,
0.012479624710977077,
-0.057614412158727646,
0.026113634929060936,
0.022877853363752365,
0.05394136160612106,
-0.01122903823852539,
0.01187619473785162,
0.03129088878631592,
-0.03178062662482262,
0.043376971036195755,
-0.0012866606703028083,
0.043167080730199814,
-0.031798116862773895,
0.056704893708229065,
-0.014963305555284023,
0.006353501696139574,
-0.036555591970682144,
0.0398438461124897,
0.02697068080306053,
0.007127465680241585,
-0.017534440383315086,
-0.011482653208076954,
-0.000007916939466667827,
0.02838742919266224,
0.022405603900551796,
0.023717407137155533,
0.0947297066450119,
0.06009809300303459,
-0.0076959142461419106,
0.020936384797096252,
0.0927007868885994,
0.011989884078502655,
-0.0039660194888710976,
0.02537902630865574,
0.05922355875372887,
0.002656402066349983,
0.046175483614206314,
-0.040963251143693924,
-0.0435868576169014,
0.03617079555988312,
0.01487585250288248,
-0.05757943168282509,
-0.018557647243142128,
0.011473908089101315,
-0.0230527613312006,
-0.012943128123879433,
-0.07388077676296234,
-0.01936222054064274,
0.005382767412811518,
-0.055550508201122284,
-0.02908705733716488,
0.02062155120074749,
-0.019134841859340668,
-0.00973358191549778,
0.005968706216663122,
-0.016957247629761696,
-0.07430054992437363,
-0.04785459488630295,
-0.09074182063341141,
0.05397634208202362,
-0.007249901071190834,
0.01739451475441456,
0.005094170570373535,
-0.013397886417806149,
-0.008907145820558071,
0.016275109723210335,
0.08059720695018768,
0.04190775007009506,
0.0433419905602932,
0.06412095576524734,
-0.03564607352018356,
-0.0019163263496011496,
0.027390457689762115,
0.007608460728079081,
0.020778968930244446,
0.04456634074449539,
0.025973709300160408,
0.05792924389243126,
-0.01053815521299839,
0.042677342891693115,
-0.03459663316607475,
0.03178062662482262,
-0.028352446854114532,
-0.01831277832388878,
0.07360092550516129,
-0.05743950605392456,
0.04029860347509384,
-0.011841213330626488,
0.0010833310661837459,
0.04054347425699234,
-0.025448989123106003,
0.01054690033197403,
-0.041977714747190475,
-0.04253741726279259,
0.031080998480319977,
0.014674709178507328,
-0.05632009729743004,
0.023192686960101128,
0.0186625923961401,
-0.02515164576470852,
0.020324209704995155,
-0.0006832309882156551,
0.07297125458717346,
0.043272025883197784,
0.011089112609624863,
0.010783025063574314,
-0.09766814857721329,
-0.01843521185219288,
-0.029734212905168533,
-0.026550903916358948,
0.0014254931593313813,
-0.00915638916194439,
0.010004688054323196,
-0.013345414772629738,
0.008828437887132168,
-0.003104601753875613,
0.006432210095226765,
-0.03868946060538292,
0.042117640376091,
0.025903746485710144,
-0.029681742191314697,
0.04802950099110603,
0.0052253506146371365,
0.039773885160684586,
-0.05652998760342598,
-0.03436925262212753,
-0.0062004579231143,
0.010660589672625065,
-0.09032204747200012,
0.0365905724465847,
0.005885625258088112,
0.02237062342464924,
0.013651502318680286,
-0.019886942580342293,
-0.008233753964304924,
-0.025274081155657768,
-0.04064841940999031,
-0.0012505860067903996,
-0.007560361176729202,
-0.011281510815024376,
-0.03263767063617706,
0.021041328087449074,
0.03454415872693062,
0.050793033093214035,
-0.00973358191549778,
-0.025414006784558296,
0.018505174666643143,
-0.04750477895140648,
0.026358505710959435,
0.00821626279503107,
-0.03328482806682587,
-0.0014692199183627963,
0.02746042050421238,
-0.013231725431978703,
0.016353817656636238,
-0.05701972544193268,
-0.009707346558570862,
0.04404161870479584,
-0.03464910387992859,
-0.0726914033293724,
-0.06128746271133423,
-0.049743589013814926,
-0.028317466378211975,
0.003143955720588565,
0.07828843593597412,
-0.024521980434656143,
-0.0046044304035604,
-0.04180280491709709,
-0.052751991897821426,
0.002317519625648856,
0.006266048178076744,
-0.00028805018519051373,
0.027355477213859558,
0.029104547575116158,
0.05708969011902809,
0.019134841859340668,
0.04278228431940079,
-0.025973709300160408,
0.020201774314045906,
-0.0068388693034648895,
-0.0338270403444767,
-0.04491615295410156,
-0.004818691872060299,
-0.06447076797485352,
-0.0024180912878364325,
-0.03001406416296959,
-0.0008302623173221946,
0.04068339988589287,
-0.015662934631109238,
0.006314147729426622,
0.03582098335027695,
-0.032025497406721115,
0.051037903875112534,
-0.04173284396529198,
0.0013883253559470177,
0.05478091537952423,
-0.01291689183562994,
0.0018802516860887408,
-0.06880846619606018,
-0.038654476404190063,
0.009007717482745647,
0.005159760359674692,
-0.015488026663661003,
0.03408940136432648,
0.05478091537952423,
0.006078022997826338,
-0.03652061149477959,
-0.06817880272865295,
-0.04145299270749092,
0.02686573565006256,
0.032252877950668335,
-0.016624923795461655,
0.0017938913078978658,
-0.0049979714676737785,
0.03426430746912956,
0.006698943208903074,
0.01990443281829357,
0.005098543129861355,
-0.0067995148710906506,
0.05131775513291359,
0.01843521185219288,
-0.0011828094720840454,
0.0706624835729599,
-0.00460005784407258,
-0.024836814031004906,
0.037255220115184784,
0.008714748546481133,
-0.012033611536026001,
0.006747042760252953,
-0.0016157047357410192,
0.0006630073767155409,
0.01557548064738512,
0.03153575584292412,
-0.01955461874604225,
0.025886256247758865,
-0.01586407795548439,
0.07849832624197006,
0.010861732997000217,
0.00048591388622298837,
-0.030643731355667114,
0.008889655582606792,
-0.014840871095657349,
-0.02165350317955017,
0.008408661000430584,
0.039913810789585114,
-0.018592629581689835,
0.04677017033100128,
-0.03903927281498909,
0.0007198521634563804,
0.012287226505577564,
-0.054745934903621674,
-0.019152332097291946,
-0.054501064121723175,
-0.0025470852851867676,
-0.038654476404190063,
0.004311461001634598,
0.020586570724844933,
0.002743855817243457,
-0.0051378970965743065,
-0.012881910428404808,
0.019047386944293976,
0.010223322547972202,
-0.012462133541703224,
-0.02291283570230007,
0.0005924979341216385,
0.0154093187302351,
-0.025064192712306976,
-0.06282664090394974,
-0.012278481386601925,
0.003539683297276497,
0.0661148950457573,
-0.03903927281498909,
0.002805073279887438,
-0.02039417251944542,
-0.025344043970108032,
0.06758411973714828,
0.033774569630622864,
0.020918894559144974,
-0.0078008584678173065,
-0.04078834503889084,
0.07758880406618118,
0.03321486711502075,
-0.03767499700188637,
-0.007975765503942966,
0.005269077606499195,
0.04428648576140404,
-0.03917919844388962,
0.01338039617985487,
-0.022493058815598488,
0.07940784096717834,
-0.01373021025210619,
-0.009969706647098064,
0.03164070099592209,
0.005461475346237421,
0.049883514642715454,
0.03568105772137642,
0.0059993150644004345,
-0.02954181656241417,
-0.0026891971938312054,
-0.007424808107316494,
-0.05117782950401306,
-0.0014298658352345228,
-0.0122172636911273,
-0.02224818803369999,
0.07381081581115723,
-0.009960961528122425,
-0.0029646758921444416,
-0.03417685627937317,
-0.018050417304039,
-0.050897978246212006,
0.019274767488241196,
0.008535468019545078,
0.06177720054984093,
0.0756998062133789,
-0.01563669741153717,
-0.03174564614892006,
0.007521006744354963,
-0.07325111329555511,
-0.0005761003703810275,
0.04064841940999031,
-0.03669551759958267,
-0.006143613252788782,
-0.0669194683432579,
-0.015260647982358932,
-0.00025785138132050633,
0.03524378687143326,
0.032602690160274506,
-0.07048757374286652,
-0.004311461001634598,
-0.02282538078725338,
-0.028772223740816116,
-0.0026695202104747295,
-0.01899491436779499,
-0.08402539044618607,
-0.006777651607990265,
-0.03603086993098259,
0.06573010236024857,
0.028789715841412544,
-0.04173284396529198,
0.046280428767204285,
0.022073280066251755,
0.012978109531104565,
-0.05411626771092415,
0.005299686454236507,
0.03924916312098503,
0.019869450479745865,
-0.001567605184391141,
0.018575137481093407,
-0.03543618693947792,
-0.05639006197452545,
-0.031798116862773895,
-0.019134841859340668,
0.01338039617985487,
0.05005842447280884,
-0.011220293119549751,
-0.02397976815700531,
0.007175565231591463,
-0.000030164648705977015,
0.0013664619764313102,
-0.02686573565006256,
-0.0465952605009079,
-0.0068388693034648895,
-0.0016539656789973378,
-0.03172815591096878,
-0.07779869437217712,
-0.0008269828394986689,
-0.05411626771092415,
-0.03949403017759323,
-0.004490740597248077,
0.05051318183541298,
-0.03715027496218681,
0.04456634074449539,
0.022073280066251755,
-0.029594287276268005,
-0.006331638433039188,
-0.022737927734851837,
0.07255148142576218,
-0.00873661134392023,
0.00839991495013237,
0.0548858605325222,
0.025344043970108032,
0.037255220115184784,
-0.015934040769934654,
-0.061567313969135284,
-0.06419091671705246,
0.032952506095170975,
0.03359965980052948,
0.0458606518805027,
-0.036205776035785675,
-0.016992228105664253,
-0.005443984642624855,
-0.015251902863383293,
0.0042589888907969
] |
21,629 | smartypants | convert_entities |
Convert numeric character references to, if *mode* is
- *0*: Unicode characters
- *1*: HTML named entities
- *2*: ASCII equivalents
>>> print(convert_entities('‘', 0))
‘
>>> print(convert_entities('‘SmartyPants’', 1))
‘SmartyPants’
>>> print(convert_entities('“Hello — world.”', 2))
"Hello -- world."
| def convert_entities(text, mode):
"""
Convert numeric character references to, if *mode* is
- *0*: Unicode characters
- *1*: HTML named entities
- *2*: ASCII equivalents
>>> print(convert_entities('‘', 0))
‘
>>> print(convert_entities('‘SmartyPants’', 1))
‘SmartyPants’
>>> print(convert_entities('“Hello — world.”', 2))
"Hello -- world."
"""
CTBL = {
'–': ('–', '–', '-'),
'—': ('—', '—', '--'),
'‘': ('‘', '‘', "'"),
'’': ('’', '’', "'"),
'“': ('“', '“', '"'),
'”': ('”', '”', '"'),
'…': ('…', '…', '...'),
}
for k, v in CTBL.items():
text = text.replace(k, v[mode])
return text
| (text, mode) | [
0.06492982059717178,
-0.06983835250139236,
0.04298577830195427,
-0.04363543912768364,
0.029072245582938194,
-0.0024407331366091967,
-0.012370592914521694,
-0.04060369357466698,
0.03380031883716583,
0.01812729425728321,
-0.033042386174201965,
-0.021709442138671875,
-0.029685812070965767,
0.0468115508556366,
0.010719375684857368,
-0.032645370811223984,
-0.03047984093427658,
-0.007101135328412056,
-0.0017019715160131454,
-0.023550143465399742,
0.010782537050545216,
-0.029721904546022415,
-0.010556960478425026,
-0.11744393408298492,
0.018749883398413658,
0.032158125191926956,
-0.013552610762417316,
-0.006370268762111664,
-0.03869080916047096,
-0.0377885065972805,
0.01834384724497795,
-0.017387405037879944,
0.014725606888532639,
-0.00024700580979697406,
-0.02179967239499092,
-0.06352222710847855,
0.009726841002702713,
0.01403985545039177,
0.07034364342689514,
0.012298407964408398,
-0.05536539480090141,
-0.003209947608411312,
-0.03091294690966606,
0.04594533517956734,
-0.05460745841264725,
0.012848814018070698,
-0.02757441997528076,
-0.04074806347489357,
-0.014833883382380009,
-0.042624857276678085,
0.01081862859427929,
-0.04428509622812271,
0.03185134381055832,
-0.014978252351284027,
-0.025751765817403793,
0.00036938083940185606,
-0.0445016510784626,
0.06139278784394264,
-0.0534886009991169,
-0.051756177097558975,
0.0056574479676783085,
0.01690918393433094,
-0.026852577924728394,
0.013642841950058937,
-0.03475676476955414,
0.006916162557899952,
0.017315220087766647,
-0.005594287067651749,
0.0378606915473938,
0.011757025495171547,
0.008400453254580498,
0.01226231548935175,
0.01100811269134283,
-0.02185381017625332,
0.016449008136987686,
0.01624147780239582,
-0.03721103072166443,
0.04807477444410324,
0.03246491029858589,
0.0667705237865448,
0.012758583761751652,
0.00544991809874773,
0.07391677051782608,
-0.015312104485929012,
0.056015051901340485,
-0.020157478749752045,
0.0035483117680996656,
-0.028350401669740677,
0.00918094627559185,
0.012560076080262661,
0.027538327500224113,
-0.06258382648229599,
0.001273376983590424,
-0.036398958414793015,
-0.006532683502882719,
0.06355831772089005,
0.011531449854373932,
0.004044579342007637,
-0.04255267232656479,
-0.023929111659526825,
-0.0021429727785289288,
0.06399141997098923,
-0.0011842744424939156,
-0.035767342895269394,
-0.01643998548388481,
-0.06529074162244797,
-0.015257966704666615,
-0.011188574135303497,
0.04143381491303444,
-0.005504056345671415,
-0.06871949881315231,
0.00905462447553873,
0.09744887053966522,
-0.07933060079813004,
0.03703057020902634,
-0.05435481294989586,
-0.0011307001113891602,
0.026311194524168968,
0.03515377640724182,
-0.010448683984577656,
0.019471727311611176,
-0.03538837656378746,
-0.04078415781259537,
-0.007832001894712448,
0.014572215266525745,
0.048399604856967926,
0.01824459433555603,
-0.0018350614700466394,
0.01914689876139164,
-0.036615509539842606,
-0.01734228990972042,
-0.0027024014852941036,
0.035081591457128525,
-0.014770722016692162,
0.024560723453760147,
-0.039990127086639404,
-0.14148132503032684,
0.04525958374142647,
0.025769811123609543,
0.039954036474227905,
-0.020319893956184387,
-0.03159869834780693,
0.029541444033384323,
0.011666795238852501,
-0.07615448534488678,
0.010385522618889809,
0.02179967239499092,
-0.023026807233691216,
-0.011729956604540348,
-0.021258290857076645,
0.06153715401887894,
0.013949625194072723,
0.015474519692361355,
0.022774161770939827,
-0.005409314297139645,
0.014770722016692162,
0.03399882838129997,
-0.012280361726880074,
0.043743714690208435,
0.058649782091379166,
0.023893019184470177,
0.0646410807967186,
0.013561634346842766,
0.05879415199160576,
0.0028422586619853973,
0.014193247072398663,
0.03522596135735512,
-0.05493228882551193,
0.050889965146780014,
-0.04980719834566116,
0.026599932461977005,
0.02051839977502823,
0.055112749338150024,
0.003209947608411312,
0.059804730117321014,
0.030786624178290367,
0.010999090038239956,
0.023315543308854103,
0.02806166559457779,
0.08034117519855499,
0.022539561614394188,
-0.015104574151337147,
-0.010647190734744072,
0.01914689876139164,
-0.022377148270606995,
-0.037535861134529114,
0.04525958374142647,
-0.02293657697737217,
-0.015573772601783276,
-0.03367399796843529,
0.05471573397517204,
-0.0366516038775444,
-0.08185704797506332,
-0.0006609379197470844,
-0.027430051937699318,
0.021871857345104218,
-0.016412915661931038,
-0.04648672044277191,
-0.0355507917702198,
0.011540472507476807,
-0.041072893887758255,
0.028837647289037704,
0.04035104811191559,
0.03540642186999321,
0.03450411930680275,
-0.0002419303491478786,
-0.023098990321159363,
-0.0445377416908741,
-0.02874741703271866,
-0.024199802428483963,
-0.0006000323919579387,
-0.006771794054657221,
-0.003769376315176487,
0.033511582762002945,
0.05359687656164169,
0.01534819696098566,
-0.033258937299251556,
0.03333112224936485,
0.0019692792557179928,
0.0234057754278183,
-0.017838556319475174,
-0.0667705237865448,
0.015068482607603073,
0.01849723979830742,
0.02807971090078354,
0.026329239830374718,
-0.03075053170323372,
0.007683121599256992,
0.04832741990685463,
0.048219144344329834,
-0.015492565929889679,
0.022539561614394188,
-0.08351729065179825,
0.012379615567624569,
0.10798778384923935,
-0.027772927656769753,
0.03380031883716583,
-0.03268146142363548,
-0.03768022730946541,
-0.010981043800711632,
0.03316870704293251,
0.0200131107121706,
-0.019868740811944008,
0.012614214792847633,
-0.024632908403873444,
-0.008847094140946865,
0.03578538820147514,
-0.020608631893992424,
-0.08077428489923477,
-0.03500940650701523,
0.003837049240246415,
-0.035947803407907486,
0.0023459913209080696,
0.0038550952449440956,
-0.04273313283920288,
-0.07081284373998642,
-0.03905173018574715,
0.033511582762002945,
-0.03538837656378746,
0.010827652178704739,
-0.012397661805152893,
-0.04067587852478027,
-0.08763179928064346,
0.017107689753174782,
0.03275364637374878,
-0.0289459228515625,
-0.08633247762918472,
0.02939707599580288,
0.01959805004298687,
-0.011414149776101112,
0.05745873972773552,
-0.06359440833330154,
-0.013985717669129372,
0.00236403732560575,
-0.03811333701014519,
0.05251411348581314,
-0.02542693540453911,
-0.02604050375521183,
-0.049049261957407,
0.00016410660464316607,
-0.029324891045689583,
-0.025318659842014313,
-0.09318999201059341,
-0.005021323449909687,
0.0334213525056839,
-0.0048183053731918335,
-0.019995063543319702,
0.03251904994249344,
0.09080790728330612,
-0.013227781280875206,
-0.013426288962364197,
0.057567015290260315,
-0.008923789486289024,
0.023694511502981186,
-0.012668352574110031,
0.010638168081641197,
0.015997854992747307,
-0.08626029640436172,
0.01792878657579422,
-0.035731252282857895,
0.028187988325953484,
-0.00623041158542037,
0.009257642552256584,
0.03114754520356655,
0.00897341687232256,
-0.04161427542567253,
-0.0008695957949385047,
-0.0245246309787035,
0.009392987936735153,
0.0712820440530777,
0.013841348700225353,
-0.06056266650557518,
-0.03091294690966606,
0.027971435338258743,
-0.016936251893639565,
0.012830767780542374,
0.0222508255392313,
-0.034215379506349564,
-0.009456149302423,
-0.018172409385442734,
0.0015395567752420902,
-0.01706257462501526,
0.02824212610721588,
0.03916000947356224,
0.019435634836554527,
-0.03612826392054558,
0.015113597735762596,
-0.0008825664408504963,
0.08705431967973709,
0.004146088380366564,
-0.06742017716169357,
0.011531449854373932,
0.043960265815258026,
-0.01348944939672947,
-0.07521609216928482,
0.014075947925448418,
-0.016566308215260506,
-0.016548261046409607,
-0.03495527058839798,
0.016855044290423393,
-0.030642256140708923,
0.05435481294989586,
-0.030876854434609413,
0.0033949201460927725,
0.026996945962309837,
0.0689721405506134,
-0.021673349663615227,
-0.0009530589450150728,
0.015664003789424896,
-0.03358376771211624,
-0.08055773377418518,
-0.03627263382077217,
0.046667180955410004,
-0.025769811123609543,
-0.06561557203531265,
0.007114669773727655,
0.0712098553776741,
-0.048435695469379425,
-0.02757441997528076,
-0.04652281105518341,
0.0378606915473938,
-0.05944380909204483,
-0.02586004137992859,
-0.033728137612342834,
-0.027682697400450706,
0.03742758557200432,
0.032248355448246,
0.037319306284189224,
0.03526205196976662,
0.0245246309787035,
0.03186938911676407,
0.04204738140106201,
-0.05283894017338753,
0.035947803407907486,
-0.007119181100279093,
-0.014761699363589287,
-0.02759246714413166,
0.0468115508556366,
-0.0020098828244954348,
0.032609280198812485,
0.0031580652575939894,
0.01736033521592617,
-0.023297498002648354,
0.015700096264481544,
0.013209735043346882,
-0.04114507883787155,
0.0690082386136055,
-0.01357968058437109,
0.040387142449617386,
-0.03295215591788292,
-0.0032009247224777937,
-0.028621094301342964,
0.011287827044725418,
-0.006374780088663101,
0.008544822223484516,
0.023640373721718788,
0.010232130996882915,
-0.01851528510451317,
0.019724372774362564,
0.03233858570456505,
-0.022178640589118004,
0.08828145265579224,
0.04969892278313637,
0.011901394464075565,
0.007944789715111256,
0.1045229360461235,
-0.020085293799638748,
0.015411358326673508,
0.004179924726486206,
0.03901563957333565,
-0.05164790153503418,
0.07074066251516342,
-0.013002205640077591,
-0.04720856249332428,
0.01046673022210598,
-0.025210382416844368,
-0.04699201136827469,
-0.007804932538419962,
-0.06381095945835114,
-0.03455825522542,
-0.022178640589118004,
-0.04428509622812271,
-0.05763920024037361,
-0.018605515360832214,
-0.053560785949230194,
-0.020590584725141525,
0.061320602893829346,
-0.005991300567984581,
-0.0036137287970632315,
0.07471080124378204,
-0.017603958025574684,
-0.06655396521091461,
-0.06146497279405594,
-0.093406543135643,
0.05951599404215813,
0.014933137223124504,
0.0056664710864424706,
0.046847641468048096,
-0.020807137712836266,
-0.044646017253398895,
0.010611099191009998,
0.07644322514533997,
0.04410463571548462,
-0.008495195768773556,
0.05085387080907822,
-0.016304640099406242,
-0.030804669484496117,
0.013399219140410423,
-0.05702563375234604,
0.017838556319475174,
0.04114507883787155,
0.04183083027601242,
0.014391753822565079,
-0.005747678689658642,
0.03710275515913963,
-0.026654070243239403,
0.03381836786866188,
0.021889902651309967,
-0.023008760064840317,
0.0823623389005661,
-0.053560785949230194,
-0.006884581875056028,
-0.05226146802306175,
-0.006961278151720762,
0.04392417520284653,
0.016304640099406242,
0.00956442579627037,
-0.0011261885520070791,
-0.0150143438950181,
0.025318659842014313,
-0.02073495276272297,
0.011675817891955376,
0.03648918867111206,
0.013065367005765438,
-0.04558441415429115,
0.03403491899371147,
-0.027682697400450706,
-0.022846346721053123,
0.023423820734024048,
0.005454429890960455,
0.002264783950522542,
-0.04785822331905365,
0.010953974910080433,
-0.031273867934942245,
-0.02423589490354061,
0.018118271604180336,
0.06031002104282379,
-0.024759231135249138,
-0.019092759117484093,
0.0333852618932724,
0.0030746019911020994,
-0.0024565234780311584,
0.016963321715593338,
0.009726841002702713,
0.02984822727739811,
0.019002528861165047,
0.0018937112763524055,
0.0010878406465053558,
-0.0032956665381789207,
-0.00724099250510335,
0.06031002104282379,
0.01818143203854561,
-0.007340245880186558,
-0.06298084557056427,
0.014445892535150051,
0.04605361446738243,
0.01401278655976057,
0.03286192566156387,
0.001584672019816935,
0.0355507917702198,
0.0022072619758546352,
-0.016151247546076775,
0.08828145265579224,
-0.06312520802021027,
0.018984483554959297,
-0.005549171473830938,
0.01759493537247181,
-0.008941835723817348,
0.011711910367012024,
0.03699447959661484,
0.014662445522844791,
-0.027971435338258743,
-0.002508406061679125,
-0.0031445305794477463,
0.003408454591408372,
0.00020104469149373472,
0.01806413196027279,
0.03710275515913963,
0.02959558181464672,
-0.017206944525241852,
-0.05410216748714447,
-0.02248542383313179,
0.018804023042321205,
-0.02739395946264267,
-0.028675232082605362,
-0.03365595266222954,
0.024813368916511536,
-0.02627510204911232,
0.017856603488326073,
0.09203504025936127,
-0.06507419049739838,
-0.029559489339590073,
-0.026220964267849922,
-0.015736186876893044,
0.09376746416091919,
-0.031291913241147995,
-0.07066847383975983,
-0.039557021111249924,
-0.006726678926497698,
0.048399604856967926,
0.005242388229817152,
0.02048230916261673,
-0.029126383364200592,
0.02558935061097145,
0.009555403143167496,
-0.03423342481255531,
-0.006983835715800524,
0.00561684463173151,
-0.006252969149500132,
-0.014283477328717709,
-0.014103016816079617,
-0.022792207077145576,
-0.02806166559457779,
0.0016139969229698181,
0.02519233711063862,
-0.014491007663309574,
-0.002907675690948963,
0.04100070893764496,
-0.0467032715678215,
-0.018073156476020813,
0.057314369827508926,
0.03165283799171448,
0.048435695469379425,
-0.04749729856848717,
-0.035280101001262665,
0.029956504702568054,
-0.024777276441454887,
-0.041108984500169754,
0.10120245814323425,
0.05269457399845123,
0.006956766359508038,
-0.006392826326191425,
-0.03446802496910095,
-0.006090554408729076,
0.10401764512062073,
0.003886675927788019,
-0.004491219762712717,
0.04771385341882706,
0.08806490153074265,
-0.009198992513120174,
-0.017369357869029045,
-0.03212203457951546,
0.061140142381191254,
-0.025264522060751915,
0.05070950463414192,
-0.012686398811638355,
-0.010385522618889809,
0.04435728117823601,
-0.020319893956184387,
-0.03677792474627495,
0.03937656059861183,
-0.0256254430860281,
-0.029000060632824898,
-0.007732748053967953,
0.028982015326619148,
-0.018587470054626465,
0.021330473944544792,
0.027772927656769753,
-0.007200388703495264,
0.043057963252067566,
-0.009104250930249691,
-0.028855692595243454,
0.019273221492767334,
-0.036417003720998764,
0.042227841913700104,
-0.001958000473678112,
0.03177915886044502,
-0.018659653142094612,
-0.017937811091542244,
-0.0011290082475170493,
0.010376499965786934,
0.007344757206737995,
-0.08178486675024033,
0.0037603534292429686,
0.05850541219115257,
-0.014400777406990528,
-0.01567302644252777,
-0.012911975383758545,
-0.01956195756793022,
-0.007696656044572592,
0.006122135091573,
0.01889425329864025,
-0.01025017723441124,
-0.024813368916511536,
-0.028765462338924408,
0.03735540062189102,
-0.007692144252359867,
0.019688280299305916,
0.04211956635117531,
0.02207036316394806,
0.00750717194750905,
0.011657771654427052,
-0.019327359274029732,
-0.03757195174694061,
-0.035514697432518005,
0.002808422315865755,
-0.019507819786667824,
-0.03650723397731781,
-0.007425964809954166,
0.0021542515605688095,
0.026870623230934143,
0.03407101333141327,
0.033096522092819214,
0.0011797628831118345,
-0.0211500134319067,
0.09845945239067078,
-0.046883732080459595,
-0.02022966369986534,
0.031490422785282135,
0.0020910901948809624,
-0.018749883398413658,
0.03028133325278759,
0.0278631579130888,
0.004055858124047518,
-0.0038956990465521812,
-0.02427198737859726,
-0.02138461358845234,
-0.022593701258301735,
-0.034395840018987656,
-0.00678532849997282,
0.013056343421339989,
0.0006558624445460737,
0.015817394480109215,
-0.037752412259578705,
-0.06947743147611618,
0.004800259135663509,
0.027736835181713104,
0.025282567366957664,
0.018298732116818428,
0.04720856249332428,
0.029776042327284813,
0.012884905561804771,
-0.02470509335398674,
0.012857836671173573,
-0.029036153107881546,
0.023712558671832085,
-0.04273313283920288,
0.03876299411058426,
0.024560723453760147,
0.0062349229119718075,
0.03977357596158981,
-0.0016275314847007394,
-0.0556541308760643,
-0.048183050006628036,
-0.008436545729637146,
-0.03094903938472271,
-0.0015339173842221498,
-0.028440631926059723,
0.02450658567249775,
0.013940601609647274,
0.011684841476380825,
-0.025011876598000526,
-0.045764874666929245,
-0.03340330719947815,
-0.004076160024851561,
-0.06601258367300034,
-0.03255514055490494,
0.016701653599739075,
-0.003963371738791466,
-0.016818953678011894,
-0.025914181023836136,
0.019255174323916435,
5.286939597226592e-8,
0.028440631926059723,
0.009041089564561844,
0.016205385327339172,
-0.033926643431186676,
0.039990127086639404,
-0.012496914714574814,
-0.005743166897445917,
0.06251164525747299,
-0.04089243337512016,
0.03768022730946541,
0.0489409863948822,
-0.035280101001262665,
0.0019918368197977543,
0.03948483616113663,
0.050889965146780014,
0.048688340932130814,
-0.04793040454387665,
-0.007358291652053595,
0.00891476683318615,
-0.0178295336663723,
0.008513241074979305,
-0.06384705752134323,
-0.04089243337512016,
0.02356818877160549,
-0.07442206144332886,
-0.034630440175533295,
0.0015700095100328326,
0.030245240777730942,
-0.000838015170302242,
-0.08748742938041687,
0.012009670957922935,
0.05839713662862778,
-0.006415383890271187,
0.034395840018987656,
-0.029866274446249008,
-0.022593701258301735,
0.014942159876227379,
-0.010836674831807613,
0.031039269641041756,
0.010277246125042439,
-0.005098019726574421,
0.07644322514533997,
0.027033038437366486,
0.010340407490730286,
0.0031580652575939894,
-0.03250100091099739,
-0.013778187334537506,
-0.014960206113755703,
0.020319893956184387,
-0.0444655567407608,
-0.021420704200863838,
-0.044176820665597916,
-0.02358623594045639,
0.04926581680774689,
0.018000971525907516
] |
21,630 | smartypants | convert_quotes |
Convert quotes in *text* into HTML curly quote entities.
>>> print(convert_quotes('"Isn\'t this fun?"'))
“Isn’t this fun?”
| def convert_quotes(text):
"""
Convert quotes in *text* into HTML curly quote entities.
>>> print(convert_quotes('"Isn\\'t this fun?"'))
“Isn’t this fun?”
"""
punct_class = r"""[!"#\$\%'()*+,-.\/:;<=>?\@\[\\\]\^_`{|}~]"""
# Special case if the very first character is a quote
# followed by punctuation at a non-word-break. Close the quotes by brute
# force:
text = re.sub(r"""^'(?=%s\\B)""" % (punct_class,), '’', text)
text = re.sub(r"""^"(?=%s\\B)""" % (punct_class,), '”', text)
# Special case for double sets of quotes, e.g.:
# <p>He said, "'Quoted' words in a larger quote."</p>
text = re.sub(r""""'(?=\w)""", '“‘', text)
text = re.sub(r"""'"(?=\w)""", '‘“', text)
# Special case for decade abbreviations (the '80s):
text = re.sub(r"""\b'(?=\d{2}s)""", '’', text)
close_class = r'[^\ \t\r\n\[\{\(\-]'
dec_dashes = '–|—'
# Get most opening single quotes:
opening_single_quotes_regex = re.compile(r"""
(
\s | # a whitespace char, or
| # a non-breaking space entity, or
-- | # dashes, or
&[mn]dash; | # named dash entities
%s | # or decimal entities
&\#x201[34]; # or hex
)
' # the quote
(?=\w) # followed by a word character
""" % (dec_dashes,), re.VERBOSE)
text = opening_single_quotes_regex.sub(r'\1‘', text)
closing_single_quotes_regex = re.compile(r"""
(%s)
'
(?!\s | s\b | \d)
""" % (close_class,), re.VERBOSE)
text = closing_single_quotes_regex.sub(r'\1’', text)
closing_single_quotes_regex = re.compile(r"""
(%s)
'
(\s | s\b)
""" % (close_class,), re.VERBOSE)
text = closing_single_quotes_regex.sub(r'\1’\2', text)
# Any remaining single quotes should be opening ones:
text = re.sub("'", '‘', text)
# Get most opening double quotes:
opening_double_quotes_regex = re.compile(r"""
(
\s | # a whitespace char, or
| # a non-breaking space entity, or
-- | # dashes, or
&[mn]dash; | # named dash entities
%s | # or decimal entities
&\#x201[34]; # or hex
)
" # the quote
(?=\w) # followed by a word character
""" % (dec_dashes,), re.VERBOSE)
text = opening_double_quotes_regex.sub(r'\1“', text)
# Double closing quotes:
closing_double_quotes_regex = re.compile(r"""
#(%s)? # character that indicates the quote should be closing
"
(?=\s)
""" % (close_class,), re.VERBOSE)
text = closing_double_quotes_regex.sub('”', text)
closing_double_quotes_regex = re.compile(r"""
(%s) # character that indicates the quote should be closing
"
""" % (close_class,), re.VERBOSE)
text = closing_double_quotes_regex.sub(r'\1”', text)
# Any remaining quotes should be opening ones.
text = re.sub('"', '“', text)
return text
| (text) | [
0.035704225301742554,
-0.07011232525110245,
0.06205203756690025,
0.005442717112600803,
-0.021872129291296005,
-0.021325325593352318,
0.0039643230848014355,
-0.020069703459739685,
0.014470033347606659,
0.02221641130745411,
-0.010561402887105942,
0.05395125225186348,
-0.033354997634887695,
0.02286447584629059,
0.006961614824831486,
0.0048604728654026985,
0.027461672201752663,
0.007078063674271107,
0.009624749422073364,
-0.009098198264837265,
-0.02349228598177433,
-0.005731307901442051,
-0.0022302481811493635,
-0.06205203756690025,
0.06646697223186493,
0.018631814047694206,
-0.059297770261764526,
0.018398916348814964,
-0.03779017925262451,
-0.015948427841067314,
0.0325651690363884,
-0.009118449874222279,
-0.0019454549765214324,
-0.0013708053156733513,
0.05022488906979561,
-0.020322853699326515,
0.0102626858279109,
-0.01843941956758499,
0.045121390372514725,
-0.0004885788075625896,
-0.01626233197748661,
-0.0007056546164676547,
0.01806475780904293,
-0.024585893377661705,
-0.029081830754876137,
0.0250314362347126,
-0.06432025879621506,
-0.0022707523312419653,
-0.0570700541138649,
-0.03924832120537758,
0.07148946076631546,
-0.03991663455963135,
0.00012222380610182881,
0.004012421704828739,
-0.010338631458580494,
-0.01503708865493536,
-0.05075144022703171,
0.11924360692501068,
0.03665606677532196,
-0.07076038420200348,
0.051561519503593445,
0.012434709817171097,
-0.018145766109228134,
0.00935641024261713,
-0.01232332456856966,
0.02361379750072956,
0.035683970898389816,
-0.02582126297056675,
-0.00670846551656723,
0.010834804736077785,
-0.01161450520157814,
0.059459786862134933,
0.02140633389353752,
-0.04969833791255951,
-0.01703190803527832,
-0.0238973256200552,
-0.017355939373373985,
-0.019654538482427597,
-0.03112727962434292,
0.02298598736524582,
0.033901799470186234,
-0.023472033441066742,
0.060350872576236725,
-0.03914706036448479,
0.06026986613869667,
-0.01988743618130684,
0.0028302129358053207,
0.009604496881365776,
0.00506805581972003,
0.016718002036213875,
0.007386906538158655,
-0.06205203756690025,
0.0428936742246151,
0.03898504376411438,
-0.027198396623134613,
-0.03625102713704109,
0.018662191927433014,
-0.007700812071561813,
-0.040220413357019424,
0.005513599142432213,
-0.010389260947704315,
0.06278111040592194,
0.01064241025596857,
-0.041759565472602844,
-0.011958789080381393,
-0.05650299787521362,
-0.03695984557271004,
-0.02054562419652939,
0.03211962431669235,
-0.10069280117750168,
-0.0394710898399353,
-0.02233792468905449,
0.014054867438971996,
0.007852701470255852,
0.02166960947215557,
-0.03147156164050102,
-0.041516538709402084,
0.011118331924080849,
0.03910655528306961,
-0.0369395948946476,
0.012890379875898361,
-0.02116330899298191,
-0.028048979118466377,
0.005366772413253784,
0.013032143004238605,
0.04548592492938042,
-0.016292709857225418,
0.022783467546105385,
0.011928411200642586,
0.050265390425920486,
0.038296476006507874,
0.006865418050438166,
0.04220510646700859,
-0.046782054007053375,
-0.009472859092056751,
0.01963428594172001,
-0.05524737760424614,
0.084734246134758,
-0.045364413410425186,
0.0025808606296777725,
0.03319298103451729,
-0.04981984943151474,
-0.004597197286784649,
0.013103025034070015,
-0.08983774483203888,
0.040463436394929886,
-0.01783186011016369,
-0.014692804776132107,
-0.010034851729869843,
-0.004290886223316193,
0.048199690878391266,
-0.029203342273831367,
0.03278794139623642,
0.02723890170454979,
0.018358411267399788,
-0.029102081432938576,
0.006531260441988707,
-0.017082536593079567,
0.0072097014635801315,
0.0696667805314064,
0.03574473038315773,
0.05229058861732483,
0.0027213585563004017,
0.05139950290322304,
-0.00484275259077549,
0.052857644855976105,
0.010510772466659546,
-0.07675497233867645,
0.02452513761818409,
0.004832626786082983,
0.004728835076093674,
0.07801058888435364,
0.0038276223931461573,
0.02154809795320034,
-0.03007417730987072,
0.023836569860577583,
-0.014611797407269478,
0.03991663455963135,
-0.00010054786980617791,
-0.01576615869998932,
0.019310254603624344,
-0.060877423733472824,
0.03307146951556206,
-0.04040268063545227,
-0.013811844401061535,
-0.0186014361679554,
0.027016129344701767,
-0.01627245917916298,
0.028373010456562042,
-0.0013227068120613694,
-0.012343576177954674,
-0.059054747223854065,
-0.04828069731593132,
-0.024990933015942574,
-0.028616035357117653,
0.007265394553542137,
-0.04747061803936958,
-0.02140633389353752,
0.016231954097747803,
-0.0027745200786739588,
-0.06954526901245117,
0.020424112677574158,
0.03623077645897865,
-0.07148946076631546,
0.061484985053539276,
-0.03540044650435448,
-0.06051288917660713,
-0.07100340723991394,
-0.07651194930076599,
-0.04107099771499634,
-0.02002919837832451,
0.00015576613077428192,
-0.015857292339205742,
0.030620979145169258,
0.01780148223042488,
0.002622630214318633,
0.08092687278985977,
-0.01078417431563139,
-0.032727185636758804,
-0.015219355933368206,
-0.01369033195078373,
-0.0014100434491410851,
-0.019512774422764778,
0.05435628816485405,
0.03442835062742233,
-0.012262568809092045,
0.027319908142089844,
0.07481078058481216,
0.08951371163129807,
-0.018763450905680656,
0.003060579067096114,
-0.03135005012154579,
0.04216460511088371,
-0.007584363222122192,
0.048078179359436035,
-0.064603790640831,
0.0015594017459079623,
-0.0201304592192173,
0.009604496881365776,
-0.008313434198498726,
0.0059844572097063065,
0.01556363981217146,
-0.039167311042547226,
0.009781701490283012,
-0.030175436288118362,
-0.025720002129673958,
-0.014196631498634815,
0.04585046321153641,
0.0019695041701197624,
-0.028433768078684807,
-0.024747908115386963,
-0.007346402388066053,
0.0201304592192173,
-0.033496759831905365,
-0.04414929822087288,
-0.033476509153842926,
0.004116212949156761,
0.029770396649837494,
0.0005743332440033555,
0.041374776512384415,
0.061484985053539276,
-0.027319908142089844,
-0.04633650928735733,
0.010120922699570656,
0.0008879223605617881,
-0.012991639785468578,
-0.029871657490730286,
-0.03985587880015373,
-0.024423876777291298,
0.015178851783275604,
0.08153443783521652,
-0.059945832937955856,
-0.012191686779260635,
-0.04390627145767212,
-0.09753349423408508,
-0.006197103299200535,
-0.027056632563471794,
-0.021203814074397087,
-0.06010784953832626,
-0.03442835062742233,
-0.02906157821416855,
0.029203342273831367,
-0.014034615829586983,
-0.0004044065426569432,
0.0554904006421566,
-0.00179103366099298,
-0.00904250517487526,
-0.007786883041262627,
0.03918756544589996,
0.021649356931447983,
-0.04467584937810898,
-0.045688446611166,
0.079468734562397,
0.005468032322824001,
0.009447544813156128,
0.0030074177775532007,
-0.007928646169602871,
-0.05670551955699921,
-0.010272812098264694,
-0.07286658883094788,
0.025335215032100677,
0.05160202085971832,
0.024363121017813683,
0.050670430064201355,
-0.03639279305934906,
-0.01135122962296009,
-0.05062992870807648,
-0.041354525834321976,
-0.010429765097796917,
-0.025395970791578293,
-0.02233792468905449,
-0.01795337162911892,
-0.009508300572633743,
0.03965336084365845,
-0.029790649190545082,
-0.00507311848923564,
-0.004022547509521246,
-0.08449122309684753,
0.0141358757391572,
-0.04981984943151474,
0.01847992278635502,
-0.055328384041786194,
0.05625997483730316,
-0.0255579873919487,
0.016728127375245094,
-0.04771364480257034,
-0.019158365204930305,
0.008171670138835907,
0.07209701836109161,
0.0015277580823749304,
-0.048483218997716904,
0.03679783269762993,
0.041516538709402084,
0.0029947601724416018,
-0.031815845519304276,
-0.01096644252538681,
-0.0015429470222443342,
-0.024322617799043655,
-0.012930883094668388,
-0.053505707532167435,
-0.021021544933319092,
0.04171906039118767,
-0.011128458194434643,
-0.017659718170762062,
-0.06359118968248367,
0.028980569913983345,
0.0015075061237439513,
0.002131519839167595,
0.03600800409913063,
-0.09583232551813126,
-0.01309289876371622,
-0.0593382753431797,
0.04738961160182953,
-0.00571105582639575,
-0.06654797494411469,
-0.008460260927677155,
0.015148473903536797,
-0.011634757742285728,
-0.043420225381851196,
-0.06395572423934937,
0.019391262903809547,
0.00988296139985323,
-0.026793356984853745,
-0.019836805760860443,
0.010794300585985184,
0.008602024987339973,
0.02385682240128517,
0.0472681000828743,
-0.052857644855976105,
0.040078651160001755,
0.03795219212770462,
0.004554161801934242,
-0.03612951561808586,
-0.011695513501763344,
0.017588837072253227,
-0.0021454431116580963,
0.052209582179784775,
0.027319908142089844,
0.003566878382116556,
-0.04301518574357033,
0.008632402867078781,
-0.0017859706422314048,
-0.04593146964907646,
-0.05783962830901146,
-0.02156834863126278,
-0.0722995325922966,
0.05589544028043747,
0.037648413330316544,
0.03991663455963135,
-0.039552100002765656,
-0.005857882555574179,
-0.0325651690363884,
0.0505894236266613,
0.0034833389800041914,
-0.010510772466659546,
-0.003931413870304823,
0.06051288917660713,
0.01214105635881424,
0.0003822559374384582,
0.00343777216039598,
-0.03033745288848877,
0.052979156374931335,
0.062173549085855484,
-0.06010784953832626,
0.020707640796899796,
0.049617327749729156,
-0.010794300585985184,
0.019320379942655563,
0.0001692938240012154,
0.038377486169338226,
-0.02954762615263462,
-0.0029618507251143456,
-0.05873071402311325,
-0.019330507144331932,
-0.015928175300359726,
0.0069970558397471905,
-0.02764393948018551,
0.04467584937810898,
-0.03706110641360283,
0.012181560508906841,
-0.01731543429195881,
-0.04552643001079559,
-0.008500765077769756,
0.06294312328100204,
-0.04133427143096924,
-0.004174437373876572,
0.04281266778707504,
0.015594017691910267,
0.023208757862448692,
0.04056469723582268,
0.05075144022703171,
-0.020059576258063316,
-0.081048384308815,
-0.053505707532167435,
0.05885222926735878,
0.019573530182242393,
0.00442505581304431,
0.04548592492938042,
0.03540044650435448,
-0.007432473357766867,
-0.0005816112970933318,
0.07181348651647568,
0.0014556103851646185,
0.005235134623944759,
0.04313669726252556,
-0.05844718962907791,
0.03835723176598549,
0.027319908142089844,
0.005675614811480045,
0.013548568822443485,
0.04528340697288513,
0.029385609552264214,
-0.0056654890067875385,
0.01077404897660017,
-0.016606615856289864,
-0.05318167433142662,
0.05038690194487572,
-0.03021594136953354,
0.0039643230848014355,
0.030134933069348335,
0.018773576244711876,
0.013791591860353947,
0.005100965034216642,
0.08019780367612839,
-0.02272271178662777,
0.010389260947704315,
0.008672906085848808,
-0.049252793192863464,
-0.04856422543525696,
0.02233792468905449,
0.011320851743221283,
0.043946776539087296,
-0.012718237936496735,
0.004184563644230366,
-0.014186505228281021,
0.008667843416333199,
-0.06946425884962082,
-0.03742564097046852,
0.017730601131916046,
-0.00442505581304431,
0.03213987872004509,
-0.060836922377347946,
-0.018662191927433014,
-0.037891436368227005,
-0.017588837072253227,
0.003232720773667097,
0.06598091870546341,
-0.04443282261490822,
0.038924288004636765,
0.01703190803527832,
0.0010024725925177336,
0.011503119021654129,
0.06014835461974144,
0.012120804749429226,
-0.0022985986433923244,
0.010429765097796917,
0.014692804776132107,
0.009103260934352875,
0.050143878906965256,
-0.03141080588102341,
0.05500435456633568,
-0.0223176721483469,
-0.06885670125484467,
-0.005047803744673729,
0.0435822419822216,
0.019816553220152855,
0.013467560522258282,
0.04325820878148079,
0.012576473876833916,
0.011827151291072369,
-0.0038580005057156086,
-0.060836922377347946,
0.023816317319869995,
-0.04722759500145912,
0.01180689875036478,
-0.0340435616672039,
0.010186741128563881,
0.024970680475234985,
0.04378475993871689,
0.0021543034818023443,
-0.00979689136147499,
0.0029289412777870893,
-0.04208359494805336,
-0.00697174109518528,
-0.03888378292322159,
-0.019846931099891663,
0.012292946688830853,
0.039025548845529556,
0.046660542488098145,
-0.0777270644903183,
0.043420225381851196,
-0.04491887241601944,
-0.02529471181333065,
-0.05540939420461655,
-0.015482631511986256,
-0.03396255522966385,
-0.03459036722779274,
0.007822323590517044,
0.02298598736524582,
0.06071540713310242,
-0.005040209274739027,
0.08416718989610672,
-0.008688095957040787,
0.015776285901665688,
0.010824678465723991,
0.02130507305264473,
-0.007822323590517044,
-0.03321323171257973,
-0.05617896839976311,
0.034023310989141464,
0.025112444534897804,
0.03226139023900032,
0.02027222327888012,
0.028737546876072884,
0.01806475780904293,
-0.039572350680828094,
-0.011928411200642586,
0.03728387877345085,
0.004371894057840109,
-0.0013834628043696284,
0.050548918545246124,
0.02322901040315628,
-0.024201104417443275,
-0.046660542488098145,
-0.01923937164247036,
-0.016201576218008995,
0.04738961160182953,
0.07327163219451904,
-0.030904507264494896,
0.041111502796411514,
0.008161543868482113,
0.01845967210829258,
0.10903660953044891,
-0.00999434757977724,
-0.023168254643678665,
-0.023066995665431023,
-0.032990459352731705,
-0.017862237989902496,
0.03197786211967468,
0.01911786012351513,
0.06071540713310242,
-0.01394348219037056,
-0.05435628816485405,
-0.010308253578841686,
0.03961285576224327,
-0.004184563644230366,
0.021244317293167114,
0.07813210040330887,
0.033253736793994904,
0.012373954057693481,
-0.004792122635990381,
0.01059178076684475,
0.04771364480257034,
-0.013882726430892944,
0.04103049263358116,
0.03977487236261368,
0.01484469510614872,
0.061241958290338516,
-0.004959201440215111,
-0.014611797407269478,
0.03977487236261368,
0.04092923179268837,
-0.02659083716571331,
-0.0004344680637586862,
0.016495229676365852,
0.018490049988031387,
0.022823970764875412,
-0.0012986576184630394,
-0.0386812649667263,
-0.01678888313472271,
0.005685740616172552,
0.018560931086540222,
0.00780713465064764,
-0.04285316914319992,
-0.03436759486794472,
0.04362274706363678,
-0.07776756584644318,
0.0012473948299884796,
0.003984575159847736,
0.01780148223042488,
0.06140397489070892,
0.0001201669656438753,
-0.03928882256150246,
0.034003060311079025,
0.009908276610076427,
-0.02776545286178589,
-0.009933591820299625,
-0.022236663848161697,
-0.05739408731460571,
-0.014024489559233189,
0.01601930893957615,
0.018672317266464233,
0.0013746025506407022,
-0.02026209607720375,
-0.014611797407269478,
0.04064570739865303,
-0.04451383277773857,
-0.018388789147138596,
0.019320379942655563,
-0.00087146763689816,
0.0287983026355505,
0.011553749442100525,
-0.004609854891896248,
0.03807370364665985,
0.010652536526322365,
-0.050427407026290894,
-0.00877922959625721,
-0.08351913094520569,
-0.01341693103313446,
-0.05808265134692192,
0.034124571830034256,
0.09080983698368073,
0.018368538469076157,
-0.03252466395497322,
-0.04092923179268837,
0.0772005096077919,
-0.08967572450637817,
-0.05160202085971832,
0.03224113583564758,
0.02725915238261223,
0.047430116683244705,
0.023310018703341484,
0.0014809253625571728,
0.01330554485321045,
-0.027016129344701767,
-0.02039373479783535,
0.03858000412583351,
0.016809135675430298,
0.0009993081912398338,
-0.005199693609029055,
0.007974213920533657,
0.05974331498146057,
0.0047440240159630775,
-0.032828446477651596,
-0.09882961958646774,
-0.017224300652742386,
0.043825265020132065,
0.0073514655232429504,
0.015968678519129753,
0.04115200415253639,
0.00590344937518239,
0.041111502796411514,
-0.062011536210775375,
0.0011492993216961622,
0.001256887917406857,
0.008931118994951248,
-0.033901799470186234,
0.0031339924316853285,
0.046296004205942154,
-0.0701933279633522,
-0.018135640770196915,
0.012384080328047276,
-0.06881619989871979,
-0.06140397489070892,
-0.0069970558397471905,
-0.06537336111068726,
0.016343340277671814,
-0.013204284943640232,
0.04107099771499634,
-0.031147532165050507,
0.022135404869914055,
-0.019522899761795998,
0.013103025034070015,
0.011330978013575077,
-0.02286447584629059,
0.01908748224377632,
-0.05241210013628006,
-0.00928552821278572,
0.05747509375214577,
-0.026125041767954826,
0.00044206256279721856,
0.04127351567149162,
0.0019340632716193795,
0.020960789173841476,
0.016363592818379402,
-0.04024066776037216,
0.024241609498858452,
0.010338631458580494,
0.042043089866638184,
-0.009057694114744663,
0.00851595401763916,
-0.0036934532690793276,
0.04309619590640068,
-0.022682206705212593,
0.00024191611737478524,
0.03371953219175339,
0.015067466534674168,
0.038924288004636765,
0.0870024636387825,
-0.0722995325922966,
-0.023593546822667122,
0.05577392876148224,
-0.0048680673353374004,
0.02582126297056675,
-0.03521817922592163,
-0.05577392876148224,
0.004126339219510555,
-0.06549487262964249,
0.0013606792781502008,
-0.017710348591208458,
0.004850347060710192,
-0.02351253852248192,
-0.02644907310605049,
-0.008202048018574715,
0.054032258689403534,
-0.002035323064774275,
0.01341693103313446,
0.0059844572097063065,
-0.015948427841067314,
-0.04738961160182953,
-0.028373010456562042,
0.05382973700761795,
-0.05435628816485405,
0.01330554485321045,
0.009908276610076427,
0.079468734562397,
0.038802776485681534,
0.042650651186704636,
-0.0233707744628191,
-0.015178851783275604,
-0.012343576177954674,
0.057637110352516174,
0.018763450905680656,
0.035440947860479355,
0.015482631511986256,
-0.02889956161379814,
0.006895795930176973,
0.013457434251904488
] |
21,631 | smartypants | convert_single_backticks |
Convert ```backticks'``-style single quotes in *text* into HTML curly
quote entities.
>>> print(convert_single_backticks("`Isn't this fun?'"))
‘Isn’t this fun?’
| def convert_single_backticks(text):
"""
Convert ```backticks'``-style single quotes in *text* into HTML curly
quote entities.
>>> print(convert_single_backticks("`Isn't this fun?'"))
‘Isn’t this fun?’
"""
text = re.sub('`', '‘', text)
text = re.sub("'", '’', text)
return text
| (text) | [
-0.008769647218286991,
-0.056847017258405685,
0.06655079126358032,
0.01234349887818098,
-0.038220230489969254,
-0.021229330450296402,
-0.02429661527276039,
0.01010345108807087,
0.0855865478515625,
0.018357235938310623,
0.02825620211660862,
0.006989691872149706,
-0.040748417377471924,
0.06298159062862396,
-0.015364309772849083,
-0.007691449485719204,
-0.02059728465974331,
0.00631581898778677,
0.005270153284072876,
-0.0014755500014871359,
-0.021192152053117752,
0.016191547736525536,
0.034186284989118576,
-0.07197895646095276,
0.029817728325724602,
0.032940782606601715,
-0.045879147946834564,
-0.008146895095705986,
-0.0035227304324507713,
-0.029743369668722153,
0.040674060583114624,
-0.02005818486213684,
0.011469786986708641,
-0.027568386867642403,
0.05792521312832832,
-0.0025723366998136044,
0.009517878293991089,
-0.002999897813424468,
0.027159415185451508,
-0.00041071412852033973,
0.012743175029754639,
-0.02650877833366394,
-0.005363101605325937,
-0.017632242292165756,
0.022400476038455963,
0.012092539109289646,
-0.012334204278886318,
0.01368195004761219,
-0.053389351814985275,
-0.0363798588514328,
0.04684580862522125,
-0.021322278305888176,
-0.0018322380492463708,
0.03401897847652435,
-0.038926634937524796,
-0.028460687026381493,
-0.03669588267803192,
0.08536347001791,
0.0004319178988225758,
-0.012436446733772755,
0.07060332596302032,
0.05376114323735237,
0.03171386942267418,
0.03331257402896881,
0.059932891279459,
0.00006295776984188706,
-0.001045084442012012,
-0.0180783923715353,
0.021229330450296402,
0.0024933309759944677,
-0.011023636907339096,
0.05279448255896568,
-0.02942734770476818,
-0.060304682701826096,
0.009945439174771309,
-0.009564352221786976,
-0.006808443460613489,
-0.013049904257059097,
-0.01327297929674387,
0.042495839297771454,
0.057850856333971024,
-0.03963303938508034,
0.022642141208052635,
-0.01370054017752409,
0.019965237006545067,
-0.07179305702447891,
-0.024203667417168617,
-0.012101833708584309,
-0.0026769032701849937,
0.025170328095555305,
0.07368919998407364,
-0.09049420803785324,
-0.004061828833073378,
0.06722001731395721,
-0.004498684778809547,
-0.012575868517160416,
0.017557883635163307,
-0.03400038927793503,
-0.06067647412419319,
-0.03963303938508034,
-0.023385725915431976,
0.05071244761347771,
-0.03548755869269371,
-0.0471804216504097,
-0.01191593799740076,
-0.06528669595718384,
0.023924823850393295,
-0.06086237356066704,
-0.022809447720646858,
-0.076663538813591,
-0.042347121983766556,
-0.028386328369379044,
0.023311367258429527,
-0.015029696747660637,
0.023144060745835304,
-0.013737719506025314,
-0.01067043375223875,
0.013068493455648422,
0.061308521777391434,
-0.004719436168670654,
0.050154756754636765,
-0.016265906393527985,
-0.014118806459009647,
0.029520295560359955,
-0.002323700813576579,
0.08261220902204514,
0.018636081367731094,
0.019890878349542618,
-0.000930642185267061,
-0.01570821739733219,
0.05052655190229416,
0.027494028210639954,
-0.0075752646662294865,
-0.03331257402896881,
0.01585693471133709,
-0.0013918967451900244,
-0.06595592200756073,
0.031193360686302185,
0.005865020677447319,
0.01418386958539486,
-0.016154367476701736,
-0.05398421734571457,
0.0052608586847782135,
0.028088895604014397,
-0.05316627398133278,
0.02386905439198017,
-0.05387267842888832,
-0.00544210709631443,
0.02398059330880642,
-0.027270952239632607,
0.04532146081328392,
-0.0127710597589612,
0.0322529673576355,
0.03517153486609459,
-0.021229330450296402,
0.011730041354894638,
0.004389470908790827,
0.015011107549071312,
0.04126892611384392,
0.05190218240022659,
0.021861378103494644,
0.043090708553791046,
-0.004982014652341604,
0.03781126067042351,
-0.029836319386959076,
0.0062693445943295956,
0.01418386958539486,
-0.007166293449699879,
0.03388885408639908,
0.0025258627720177174,
0.03565486520528793,
0.04022790864109993,
-0.030728619545698166,
0.04465223476290703,
0.01383996196091175,
0.0027117589488625526,
0.004291875287890434,
0.04892784357070923,
0.03572922199964523,
-0.022530602291226387,
0.009964029304683208,
-0.024185078218579292,
0.044131726026535034,
-0.07064050436019897,
-0.021861378103494644,
-0.024705586954951286,
0.04364839568734169,
0.02626711316406727,
0.049113739281892776,
-0.015327130444347858,
0.02918568253517151,
-0.014313996769487858,
-0.05922648683190346,
-0.031119002029299736,
-0.0036900369450449944,
-0.020653052255511284,
-0.0033043024595826864,
-0.039038173854351044,
-0.025597888976335526,
-0.05480216071009636,
-0.05892905220389366,
0.024166489019989967,
0.026992108672857285,
-0.027531206607818604,
0.07454432547092438,
-0.03513435646891594,
0.010075566358864307,
-0.02383187599480152,
-0.04015355184674263,
-0.03669588267803192,
-0.020746000111103058,
0.026601726189255714,
-0.033517058938741684,
0.02833056077361107,
0.01865467056632042,
-0.0598585344851017,
0.04706888273358345,
-0.018821977078914642,
-0.023032521829009056,
-0.017353396862745285,
0.0055954717099666595,
-0.05030347406864166,
-0.015150529332458973,
0.02903696522116661,
0.007826223969459534,
0.008040004409849644,
-0.04037662595510483,
0.06800077855587006,
0.04777528718113899,
-0.0076496233232319355,
0.027456847950816154,
-0.04599068686366081,
0.02308829128742218,
-0.015382898971438408,
0.03357283025979996,
-0.04877912625670433,
-0.019407549872994423,
-0.06182903051376343,
0.0023469377774745226,
-0.02266073040664196,
0.016080008819699287,
-0.010094156488776207,
0.015522321686148643,
0.007491611409932375,
0.0018299143994227052,
-0.011730041354894638,
-0.024203667417168617,
0.031044643372297287,
-0.04974578693509102,
-0.017362693324685097,
-0.029724780470132828,
0.027977358549833298,
-0.016805004328489304,
0.01827358268201351,
-0.04970860853791237,
-0.05379832163453102,
0.007593854330480099,
0.012640932574868202,
-0.0363798588514328,
0.05472780019044876,
0.02903696522116661,
0.023962002247571945,
-0.027382491156458855,
0.002206353936344385,
-0.02608121745288372,
-0.014379060827195644,
-0.06703411787748337,
0.03132348880171776,
-0.0017741455230861902,
0.02732672169804573,
0.12261704355478287,
-0.05833418667316437,
0.027735693380236626,
-0.04204969108104706,
-0.06926487386226654,
-0.008871889673173428,
-0.050006043165922165,
-0.009081022813916206,
-0.009364514611661434,
-0.08328143507242203,
-0.020746000111103058,
-0.017948264256119728,
-0.0026606374885886908,
-0.01768800988793373,
0.03416769579052925,
-0.05078680440783501,
0.012362088076770306,
-0.029445936903357506,
0.04970860853791237,
0.007723981514573097,
0.0039433203637599945,
-0.038071513175964355,
0.017362693324685097,
0.006701553240418434,
-0.029761960729956627,
0.005502523388713598,
-0.0077425711788237095,
-0.03940996527671814,
0.0018043536692857742,
-0.03926124796271324,
0.02658313699066639,
0.02829338051378727,
-0.06714566051959991,
0.0557316392660141,
-0.0008464080165140331,
-0.031007463112473488,
-0.03937278687953949,
-0.020615873858332634,
-0.01892421953380108,
0.016312379390001297,
-0.03046836517751217,
-0.048370156437158585,
-0.013784193433821201,
0.05465344339609146,
-0.03359141945838928,
0.02953888475894928,
-0.004647401627153158,
-0.055359847843647,
0.023720337077975273,
-0.0363055020570755,
0.0058557260781526566,
-0.03124912828207016,
0.08625577390193939,
0.008504744619131088,
-0.012975545600056648,
-0.014973928220570087,
0.00880217831581831,
-0.005832489114254713,
0.04684580862522125,
0.05487651750445366,
-0.05930084362626076,
0.003931701648980379,
0.039781756699085236,
-0.04375993460416794,
-0.02992926724255085,
0.019426139071583748,
0.012538689188659191,
0.00574418855831027,
-0.039000995457172394,
-0.05309191718697548,
0.007686802186071873,
0.08908139169216156,
0.04279327392578125,
-0.006129922810941935,
-0.05896623060107231,
0.068558469414711,
-0.06145723909139633,
0.011692862957715988,
0.0003953195991925895,
-0.08328143507242203,
-0.011888053268194199,
-0.030226700007915497,
0.06484054774045944,
0.017344102263450623,
-0.021601123735308647,
-0.02476135641336441,
0.019537676125764847,
-0.02098766528069973,
-0.0014372089644894004,
-0.03758818283677101,
0.03440936282277107,
-0.004275609739124775,
-0.038815099745988846,
-0.041492000222206116,
0.018942808732390404,
0.04004201292991638,
-0.02918568253517151,
0.04465223476290703,
-0.04595350846648216,
0.0727597177028656,
0.020690232515335083,
0.04617658257484436,
-0.03556191548705101,
-0.013393811881542206,
-0.0012373706558719277,
0.01740916632115841,
0.015066876076161861,
0.030115162953734398,
-0.0006994339637458324,
-0.05112141743302345,
0.04197533056139946,
-0.028627993538975716,
-0.046734269708395004,
-0.023255597800016403,
0.025746604427695274,
-0.03777408227324486,
0.022939573973417282,
0.017753073945641518,
0.05658676102757454,
-0.06063929572701454,
0.011962411925196648,
-0.05379832163453102,
0.02689916081726551,
-0.033795904368162155,
-0.034111928194761276,
-0.010177809745073318,
0.06324183940887451,
0.02106202393770218,
0.034725386649370193,
-0.005163263063877821,
-0.0013210239121690392,
0.07610584795475006,
0.043202247470617294,
-0.061903391033411026,
0.007059403229504824,
0.05844572186470032,
-0.0473291389644146,
0.03567345440387726,
-0.015206297859549522,
0.022047273814678192,
-0.07763019949197769,
-0.002755909226834774,
-0.03182540461421013,
-0.012482920661568642,
0.019184473901987076,
0.043053530156612396,
-0.04349967837333679,
0.004112950526177883,
-0.06517516076564789,
-0.0021134058479219675,
-0.0639854222536087,
-0.02736390009522438,
-0.044168904423713684,
0.02557929791510105,
-0.05312909558415413,
0.011441903188824654,
0.07350330799818039,
0.03191835433244705,
0.040822774171829224,
0.06149441748857498,
0.004977367352694273,
-0.055136773735284805,
-0.06067647412419319,
-0.058743156492710114,
0.02596968039870262,
0.023608800023794174,
0.028460687026381493,
0.04855605214834213,
0.04257019981741905,
0.00666437391191721,
0.032160017639398575,
0.07800199091434479,
0.02541199140250683,
-0.03829459100961685,
0.036714471876621246,
-0.007138408720493317,
-0.044875308871269226,
0.008411796763539314,
0.018292173743247986,
0.03952150419354439,
-0.004963424988090992,
0.02106202393770218,
0.0139143206179142,
0.006966454908251762,
0.05275730416178703,
-0.08112504333257675,
0.030133752152323723,
-0.06309312582015991,
-0.0056419456377625465,
0.029408756643533707,
-0.01476944237947464,
-0.004670638591051102,
-0.05446754768490791,
0.0686328262090683,
0.029947856441140175,
-0.04963424801826477,
0.02541199140250683,
0.03498563915491104,
-0.06171749532222748,
0.032401684671640396,
0.0059486739337444305,
0.00032531810575164855,
-0.03089592605829239,
0.007491611409932375,
0.017055964097380638,
0.025170328095555305,
-0.037569593638181686,
-0.03572922199964523,
0.018636081367731094,
-0.02223316952586174,
-0.050006043165922165,
-0.03143502399325371,
0.005953321699053049,
0.0010468271793797612,
-0.00125596032012254,
0.007872698828577995,
0.06510080397129059,
-0.043908651918172836,
0.009610826149582863,
0.03292219340801239,
-0.009220444597303867,
0.04621376097202301,
-0.014778736978769302,
0.030338237062096596,
0.0029162445571273565,
-0.027494028210639954,
-0.005832489114254713,
-0.0023724986240267754,
0.044838130474090576,
0.004977367352694273,
0.043945830315351486,
0.01170215755701065,
-0.07450713962316513,
-0.03505999967455864,
0.03476256504654884,
0.01617295853793621,
0.007640328258275986,
0.007277830969542265,
-0.02907414548099041,
0.015754692256450653,
0.0038248116616159678,
-0.06610464304685593,
0.017585767433047295,
-0.014722968451678753,
0.017093142494559288,
-0.01959344558417797,
0.01916588470339775,
0.020151132717728615,
0.04123174771666527,
0.0062693445943295956,
-0.032122839242219925,
0.004754291847348213,
-0.06647643446922302,
0.013663360849022865,
-0.010865624994039536,
-0.04011636972427368,
0.07476739585399628,
0.04796118661761284,
-0.0031927649397403,
-0.006868859753012657,
-0.0026466951239854097,
-0.025504939258098602,
-0.010995752178132534,
-0.059338025748729706,
-0.025504939258098602,
-0.03937278687953949,
-0.004593956749886274,
0.009029901586472988,
-0.008077183738350868,
0.047552213072776794,
-0.01263163797557354,
-0.004533540457487106,
-0.002934834221377969,
-0.003157909493893385,
0.028460687026381493,
0.011692862957715988,
-0.02596968039870262,
-0.019184473901987076,
-0.04944835230708122,
0.04896502196788788,
-0.0090949647128582,
-0.0016963016241788864,
-0.029947856441140175,
0.030914515256881714,
-0.04353685677051544,
-0.03459525853395462,
-0.03784843906760216,
0.050154756754636765,
0.01845947839319706,
0.022828036919236183,
0.02541199140250683,
-0.017780957743525505,
0.022567782551050186,
0.0129011869430542,
-0.0011816018959507346,
-0.006710847839713097,
-0.004138511139899492,
0.05788803473114967,
-0.01694442704319954,
0.012854713015258312,
0.027456847950816154,
-0.01348675973713398,
0.09108906984329224,
-0.015531616285443306,
-0.06967384368181229,
-0.045024026185274124,
0.019872289150953293,
-0.019054345786571503,
-0.0047124652191996574,
0.028813889250159264,
0.010503127239644527,
-0.014211754314601421,
-0.03786702826619148,
0.027140825986862183,
0.0556572824716568,
0.014416240155696869,
0.017585767433047295,
0.04959706962108612,
-0.02048574574291706,
0.01067043375223875,
-0.021749839186668396,
-0.01740916632115841,
0.027586976066231728,
0.0363055020570755,
0.09227880835533142,
0.003397250548005104,
0.027977358549833298,
0.056884195655584335,
-0.00029917649226263165,
0.005121436435729265,
0.0690046176314354,
0.044763773679733276,
0.010289346799254417,
0.01609859988093376,
-0.007951703853905201,
0.007761160843074322,
0.049113739281892776,
-0.024817124009132385,
-0.03214142844080925,
-0.013514643535017967,
-0.006910686381161213,
0.046622734516859055,
0.018719734624028206,
0.025504939258098602,
-0.03914971277117729,
0.011042226105928421,
-0.05710726976394653,
-0.008053947240114212,
-0.016693467274308205,
0.04818426072597504,
0.032624758780002594,
-0.006724790204316378,
-0.05554574355483055,
0.023813286796212196,
0.061271343380212784,
-0.05219961702823639,
0.051307313144207,
-0.020392797887325287,
-0.03299655020236969,
-0.022679319605231285,
0.04115738719701767,
-0.006469183135777712,
-0.0025653657503426075,
-0.014379060827195644,
-0.004166395403444767,
0.05112141743302345,
-0.06498926132917404,
0.027233773842453957,
-0.018487364053726196,
-0.0010421797633171082,
-0.023571621626615524,
0.054356008768081665,
-0.00730571523308754,
0.040636878460645676,
0.013691245578229427,
-0.06264697760343552,
-0.033479880541563034,
-0.07450713962316513,
-0.04037662595510483,
-0.02747543901205063,
0.02472417615354061,
0.09473263472318649,
0.014221048913896084,
0.04338814318180084,
-0.026285704225301743,
0.08008402585983276,
-0.08216606080532074,
-0.061308521777391434,
-0.005265505984425545,
0.001811324735172093,
0.011962411925196648,
0.004013031255453825,
-0.016423918306827545,
0.0037272160407155752,
-0.016154367476701736,
-0.022474834695458412,
0.01768800988793373,
0.007017576601356268,
-0.043276604264974594,
0.007686802186071873,
0.017892496660351753,
0.030449775978922844,
-0.06350209563970566,
-0.07807634770870209,
-0.021656891331076622,
-0.044949669390916824,
0.05904059112071991,
-0.044020187109708786,
0.013105672784149647,
0.06071365624666214,
-0.016219431534409523,
0.026769032701849937,
-0.06603027880191803,
0.037569593638181686,
-0.04472659155726433,
-0.029724780470132828,
-0.05822264775633812,
0.03922406956553459,
0.048407334834337234,
-0.009722364135086536,
-0.012194781564176083,
0.022790858522057533,
-0.0731315091252327,
-0.03152797371149063,
-0.01268740650266409,
-0.05312909558415413,
0.04941117390990257,
-0.04435480013489723,
0.02498443052172661,
-0.001022428390569985,
0.037104856222867966,
-0.02176842838525772,
-0.018375826999545097,
0.006924628280103207,
0.004851887468248606,
-0.01981651969254017,
-0.004705494269728661,
-0.01682359352707863,
0.044131726026535034,
-0.010967867448925972,
0.011943821795284748,
0.021582532674074173,
0.029910676181316376,
0.08343015611171722,
-0.021954325959086418,
-0.01970498263835907,
-0.05212525650858879,
-0.011311776004731655,
0.007133761420845985,
-0.011135173961520195,
0.004178014118224382,
-0.011209532618522644,
0.01788320206105709,
0.01694442704319954,
0.04863040894269943,
0.01970498263835907,
0.05718163028359413,
-0.013747014105319977,
0.04175225645303726,
-0.019407549872994423,
-0.013477465137839317,
0.038220230489969254,
-0.01783672720193863,
0.034037571400403976,
0.0033693662844598293,
-0.05249704793095589,
-0.005493228789418936,
-0.03784843906760216,
-0.012055359780788422,
-0.010056977160274982,
0.04000483453273773,
-0.0729084387421608,
-0.011506966315209866,
-0.02405495010316372,
0.034967049956321716,
-0.027847230434417725,
0.04216122627258301,
-0.01803191751241684,
-0.011692862957715988,
-0.03171386942267418,
-0.009852491319179535,
0.07086358219385147,
-0.09160958230495453,
0.031509384512901306,
0.04431762173771858,
0.05807393044233322,
0.030208110809326172,
0.021285099908709526,
-0.06342773884534836,
-0.012380678206682205,
0.01804121397435665,
0.06506362557411194,
0.022474834695458412,
-0.0021331573370844126,
-0.014592841267585754,
-0.0382574088871479,
-0.004336025565862656,
0.03580358251929283
] |
21,632 | smartypants | process_escapes |
Processe the following backslash escape sequences in *text*. This is useful
if you want to force a "dumb" quote or other character to appear.
+--------+-----------+-----------+
| Escape | Value | Character |
+========+===========+===========+
| ``\\`` | ``\`` | ``\`` |
+--------+-----------+-----------+
| ``\"`` | ``"`` | ``"`` |
+--------+-----------+-----------+
| ``\'`` | ``'`` | ``'`` |
+--------+-----------+-----------+
| ``\.`` | ``.`` | ``.`` |
+--------+-----------+-----------+
| ``\-`` | ``-`` | ``-`` |
+--------+-----------+-----------+
| ``\``` | ````` | ``\``` |
+--------+-----------+-----------+
>>> print(process_escapes(r'\\'))
\
>>> print(smartypants(r'"smarty" \"pants\"'))
“smarty” "pants"
| def process_escapes(text):
r"""
Processe the following backslash escape sequences in *text*. This is useful
if you want to force a "dumb" quote or other character to appear.
+--------+-----------+-----------+
| Escape | Value | Character |
+========+===========+===========+
| ``\\`` | ``\`` | ``\`` |
+--------+-----------+-----------+
| ``\"`` | ``"`` | ``"`` |
+--------+-----------+-----------+
| ``\'`` | ``'`` | ``'`` |
+--------+-----------+-----------+
| ``\.`` | ``.`` | ``.`` |
+--------+-----------+-----------+
| ``\-`` | ``-`` | ``-`` |
+--------+-----------+-----------+
| ``\``` | ````` | ``\``` |
+--------+-----------+-----------+
>>> print(process_escapes(r'\\'))
\
>>> print(smartypants(r'"smarty" \"pants\"'))
“smarty” "pants"
"""
text = re.sub(r'\\\\', '\', text)
text = re.sub(r'\\"', '"', text)
text = re.sub(r"\\'", ''', text)
text = re.sub(r'\\\.', '.', text)
text = re.sub(r'\\-', '-', text)
text = re.sub(r'\\`', '`', text)
return text
| (text) | [
0.0208387840539217,
-0.04469040408730507,
0.05107474699616432,
0.07395795732736588,
-0.031329911202192307,
-0.00010956278129015118,
-0.04365025833249092,
-0.0433274544775486,
0.04802604392170906,
0.051720354706048965,
0.029142018407583237,
0.029142018407583237,
0.016319530084729195,
0.05132581666111946,
-0.011647840030491352,
-0.03048703446984291,
0.013405327685177326,
0.04716523364186287,
0.018884027376770973,
-0.00914162676781416,
-0.060507796704769135,
-0.022094132378697395,
0.03190378472208977,
-0.027617666870355606,
0.019691037014126778,
0.022434869781136513,
-0.05907311290502548,
0.043793726712465286,
-0.014167504385113716,
-0.050644341856241226,
0.0676453486084938,
-0.005294880364090204,
0.0075769247487187386,
-0.02880128100514412,
0.02962622418999672,
0.0068550994619727135,
-0.009630315937101841,
0.0021509050857275724,
0.04741630330681801,
-0.02273974008858204,
0.011889942921698093,
0.04035048559308052,
-0.029231686145067215,
-0.024730363860726357,
-0.013252892531454563,
0.01473241113126278,
-0.047308702021837234,
-0.014472374692559242,
-0.03523942455649376,
-0.0006904416368342936,
-0.009585482068359852,
-0.007626242004334927,
-0.0029343769419938326,
0.005545950029045343,
0.014929680153727531,
-0.016606466844677925,
-0.050644341856241226,
0.03676377609372139,
0.033195000141859055,
-0.12783034145832062,
0.07532090693712234,
0.015010381117463112,
0.01124433521181345,
0.04820537939667702,
0.043721992522478104,
0.006397793535143137,
0.01865089125931263,
-0.05430278554558754,
0.006989601068198681,
-0.02150232531130314,
-0.04494147375226021,
0.040493953973054886,
0.012634185142815113,
-0.07162659615278244,
0.015046248212456703,
-0.03150924667716026,
0.003846746403723955,
0.04935312643647194,
-0.028155673295259476,
0.016445064917206764,
0.004588746931403875,
-0.03254939243197441,
0.009576515294611454,
-0.022470736876130104,
0.03708657994866371,
-0.02966209128499031,
-0.019081296399235725,
0.010204189456999302,
-0.013342560268938541,
-0.008742605336010456,
0.052832234650850296,
-0.06915176659822464,
0.004756873939186335,
0.08522022515535355,
-0.04408066347241402,
-0.0025375972036272287,
0.03610023483633995,
-0.03902340307831764,
-0.059180714190006256,
-0.006357443053275347,
-0.0006355201476253569,
0.06567265838384628,
0.0003497042052913457,
-0.045407745987176895,
0.013486028648912907,
-0.0684702917933464,
-0.02550150640308857,
-0.019278565421700478,
0.01493864692747593,
-0.07037124782800674,
0.022147933021187782,
0.044295866042375565,
0.023492949083447456,
-0.01637333072721958,
0.006088439840823412,
-0.008953324519097805,
-0.04307638481259346,
-0.015297317877411842,
0.055055998265743256,
0.006290192250162363,
0.02116158790886402,
-0.024282025173306465,
0.006258808542042971,
0.008249432779848576,
0.016947204247117043,
0.06237288564443588,
-0.017180340364575386,
0.06958217173814774,
-0.03514975681900978,
0.035920899361371994,
-0.013486028648912907,
0.024981433525681496,
0.022972876206040382,
-0.03812672570347786,
-0.015907058492302895,
0.05093127861618996,
-0.01765557937324047,
0.0056445845402777195,
0.013028723187744617,
-0.033195000141859055,
0.022685939446091652,
-0.050608474761247635,
0.003304256359115243,
0.015467686578631401,
-0.06118927150964737,
0.027671467512845993,
0.05042913928627968,
-0.03181411698460579,
0.02822740748524666,
-0.004104541148990393,
0.09225017577409744,
-0.0017216207925230265,
0.02731279656291008,
0.01501934789121151,
-0.023367414250969887,
0.005061744246631861,
0.04343505576252937,
-0.009038508869707584,
0.023421214893460274,
0.08973947912454605,
0.006339509505778551,
0.01390746794641018,
-0.015189716592431068,
0.03565189614892006,
-0.02178926207125187,
0.04716523364186287,
0.05186382308602333,
-0.05710042268037796,
0.029016483575105667,
-0.029482755810022354,
0.053872380405664444,
0.015951892361044884,
-0.04723696783185005,
0.01922476477921009,
0.04616095498204231,
0.029572423547506332,
-0.04781084135174751,
0.011970643885433674,
0.001834826311096549,
0.02446136064827442,
0.02698999084532261,
-0.013234958983957767,
0.03809085860848427,
0.00211952137760818,
-0.007720393128693104,
-0.029644157737493515,
-0.0007593737100251019,
0.001014366396702826,
0.05107474699616432,
0.03416341170668602,
0.021430591121315956,
-0.01576359011232853,
-0.01448134146630764,
0.004810674581676722,
-0.016104327514767647,
-0.012616251595318317,
0.021556125953793526,
-0.03870059922337532,
-0.04931725934147835,
0.010697362013161182,
-0.03981247916817665,
0.0029881775844842196,
0.03627957031130791,
-0.0408526249229908,
0.05024980381131172,
-0.027958404272794724,
-0.01124433521181345,
-0.019655169919133186,
-0.053585443645715714,
-0.037194181233644485,
-0.030056629329919815,
0.03032563254237175,
0.013279792852699757,
0.022094132378697395,
0.02562704123556614,
0.061332739889621735,
0.032118987292051315,
-0.007415522821247578,
0.027420397847890854,
-0.01935029961168766,
-0.043183986097574234,
0.0033020146656781435,
-0.06499118357896805,
0.014642743393778801,
-0.018050117418169975,
-0.028604011982679367,
-0.037194181233644485,
0.06707147508859634,
0.08486155420541763,
-0.021053986623883247,
0.018543289974331856,
-0.005501116160303354,
-0.05276050046086311,
-0.023869553580880165,
0.05702868849039078,
-0.05552227050065994,
0.0065771290101110935,
-0.04637615755200386,
0.03425307944417,
0.007635208778083324,
-0.0029052349273115396,
-0.03766045346856117,
-0.0007655383669771254,
-0.07205700129270554,
0.01314529124647379,
0.0012194813461974263,
-0.029034417122602463,
0.05602440983057022,
0.023367414250969887,
-0.0241385567933321,
-0.0032235553953796625,
0.021968597546219826,
0.00436457758769393,
-0.023492949083447456,
-0.04092435911297798,
0.021609926596283913,
0.0034791086800396442,
0.034683484584093094,
0.01897369511425495,
0.07603824883699417,
0.022793540731072426,
-0.024407560005784035,
-0.053872380405664444,
-0.0379473902285099,
-0.008303233422338963,
-0.01567392237484455,
-0.06459664553403854,
0.03956140950322151,
-0.048994455486536026,
-0.0027079659048467875,
0.010688395239412785,
-0.010930498130619526,
-0.010042787529528141,
-0.03654857352375984,
-0.07876414805650711,
0.03070223703980446,
-0.032495591789484024,
-0.004478903952986002,
-0.013199091888964176,
-0.038557130843400955,
0.012759719975292683,
0.03504215553402901,
-0.010275923646986485,
-0.05426691845059395,
0.034755218774080276,
-0.02499936707317829,
-0.004913792479783297,
0.05021393671631813,
0.012956988997757435,
-0.003472383599728346,
-0.013889534398913383,
0.0000414012793044094,
0.028747480362653732,
0.018453622236847878,
0.024820031598210335,
0.008652937598526478,
-0.05369304493069649,
-0.08098790794610977,
-0.0598263218998909,
-0.09892145544290543,
0.032370056957006454,
0.02851434424519539,
0.029572423547506332,
0.06531398743391037,
-0.010347657836973667,
0.001274402835406363,
-0.017225174233317375,
0.003483592066913843,
0.008334617130458355,
0.00679681496694684,
-0.0102131562307477,
0.0011443846160545945,
-0.007312404923141003,
0.06753774732351303,
-0.053334373980760574,
-0.04748803749680519,
0.01111880037933588,
-0.039633143693208694,
0.003167513059452176,
-0.055055998265743256,
0.03479108586907387,
-0.033894408494234085,
0.06710734218358994,
-0.015530453994870186,
-0.017180340364575386,
-0.027671467512845993,
0.039131004363298416,
-0.0022741982247680426,
0.02376195229589939,
0.013297726400196552,
-0.040207017213106155,
0.04081675782799721,
0.02026491053402424,
-0.024909699335694313,
0.025071101263165474,
-0.031867917627096176,
-0.006563678849488497,
-0.03823432698845863,
-0.037768054753541946,
-0.03931033983826637,
-0.01016832236200571,
0.0329977311193943,
-0.011100866831839085,
-0.014965547248721123,
-0.06628239899873734,
0.05261703208088875,
0.00777867715805769,
0.053621310740709305,
0.001291215536184609,
-0.05455385893583298,
0.03823432698845863,
-0.05207902565598488,
0.022255534306168556,
-0.009648249484598637,
-0.09476087242364883,
-0.027097592130303383,
-0.011710607446730137,
-0.02946482226252556,
-0.021609926596283913,
-0.06757361441850662,
0.05193555727601051,
0.027330730110406876,
-0.03812672570347786,
-0.015835324302315712,
0.01897369511425495,
0.00008273250568890944,
-0.01779008097946644,
0.05839163810014725,
-0.03627957031130791,
0.04859991744160652,
0.035920899361371994,
0.0416775681078434,
-0.04465453699231148,
-0.00001362529474135954,
0.05659828335046768,
0.025178702548146248,
0.02404888905584812,
-0.03271079435944557,
0.000028844293410656974,
-0.010670461691915989,
-0.015413885936141014,
-0.006819232366979122,
-0.03708657994866371,
-0.08306819945573807,
0.0191888976842165,
-0.029859360307455063,
0.04605335369706154,
0.027420397847890854,
0.016436098143458366,
-0.062157683074474335,
-0.034557949751615524,
-0.0196013692766428,
0.04616095498204231,
-0.042394910007715225,
-0.03498835489153862,
-0.0055952672846615314,
0.10695568472146988,
0.0532267726957798,
0.031329911202192307,
0.017305875197052956,
-0.03640510514378548,
0.07862067967653275,
0.0032482140231877565,
-0.05634721368551254,
0.05598854273557663,
0.024317892268300056,
-0.02743833139538765,
-0.005944971460849047,
0.013234958983957767,
0.041569966822862625,
-0.005429381970316172,
0.004496837500482798,
0.018184619024395943,
-0.02747419849038124,
-0.0015916024567559361,
-0.02657751925289631,
-0.08565063029527664,
0.011683707125484943,
-0.01779008097946644,
0.042681846767663956,
-0.002429995918646455,
-0.011064999736845493,
-0.07661212235689163,
0.017278974875807762,
-0.014418574050068855,
-0.00034297912498004735,
0.0730254128575325,
0.0023448115680366755,
0.03726591542363167,
0.057817764580249786,
-0.014831045642495155,
-0.03470141813158989,
-0.06111753731966019,
-0.02867574617266655,
0.00273934961296618,
-0.02013937570154667,
0.05046500638127327,
0.020157309249043465,
-0.00353739270940423,
-0.0021352132316678762,
0.001802321756258607,
0.05132581666111946,
0.025931911543011665,
-0.057494960725307465,
0.08235085755586624,
-0.017709380015730858,
0.012930088676512241,
0.03622576966881752,
0.024658629670739174,
0.0371224470436573,
-0.0004713161033578217,
0.0216637272387743,
0.007128586061298847,
0.003299772972241044,
-0.007599341683089733,
-0.0126879857853055,
0.04106782749295235,
-0.050644341856241226,
-0.005716318730264902,
0.04888685420155525,
-0.016471965238451958,
-0.01745831035077572,
0.016642333939671516,
0.006604029331356287,
0.00930751208215952,
0.005581817124038935,
-0.022685939446091652,
0.023492949083447456,
-0.025268370285630226,
0.022058265283703804,
-0.027994271367788315,
0.04956832900643349,
-0.026434050872921944,
-0.001237414893694222,
0.0016723034204915166,
-0.013979202136397362,
-0.05839163810014725,
-0.0031294042710214853,
0.007428972981870174,
0.012311381287872791,
-0.0009919494623318315,
-0.05394411459565163,
0.034755218774080276,
-0.037445250898599625,
-0.029177885502576828,
-0.03656650707125664,
0.09181977063417435,
-0.04408066347241402,
0.05319090560078621,
0.02026491053402424,
0.06176314502954483,
0.006568162236362696,
0.006496428046375513,
0.028281208127737045,
-0.05100301280617714,
-0.03174238279461861,
-0.024317892268300056,
0.0245510283857584,
0.08421594649553299,
-0.04605335369706154,
0.043506789952516556,
-0.012051344849169254,
-0.07431662827730179,
-0.04770324006676674,
-0.0003026286431122571,
0.020193176344037056,
0.025232503190636635,
0.0038131210021674633,
0.0416775681078434,
0.0241385567933321,
-0.02334948070347309,
-0.05756669491529465,
0.0171175729483366,
-0.017234141007065773,
-0.012517617084085941,
-0.015162816271185875,
-0.0006881999433971941,
0.02067738212645054,
0.01214997936040163,
0.030504968017339706,
-0.02327774651348591,
-0.018632957711815834,
-0.014006102457642555,
-0.015978792682290077,
-0.012176879681646824,
-0.03263906016945839,
-0.009459947235882282,
0.018381888046860695,
0.01815771870315075,
-0.019278565421700478,
-0.014346839860081673,
-0.04096022620797157,
-0.02074911631643772,
-0.02467656321823597,
-0.03201138600707054,
0.021053986623883247,
-0.0015792731428518891,
-0.011073966510593891,
-0.028048072010278702,
0.06714320927858353,
-0.009042992256581783,
0.07496223598718643,
-0.014050936326384544,
0.011647840030491352,
0.07126792520284653,
-0.014714477583765984,
-0.009782751090824604,
-0.07682732492685318,
-0.015243517234921455,
0.02438962645828724,
-0.0031899299938231707,
-0.015664955601096153,
-0.021807195618748665,
0.044044796377420425,
0.04956832900643349,
-0.07546437531709671,
0.031383711844682693,
0.012374148704111576,
-0.08579409867525101,
0.02360055036842823,
0.002750558080151677,
-0.017063772305846214,
-0.002107192063704133,
-0.08091617375612259,
-0.00988138560205698,
-0.03726591542363167,
-0.028783347457647324,
0.08737225085496902,
-0.024353759363293648,
0.015422852709889412,
0.03676377609372139,
-0.00872467178851366,
0.11721368134021759,
-0.023672284558415413,
-0.05631134659051895,
-0.04411653056740761,
0.020444246008992195,
0.028855081647634506,
-0.015817390754818916,
-0.026398183777928352,
0.030379433184862137,
0.008800889365375042,
-0.06459664553403854,
-0.021053986623883247,
0.0313478447496891,
-0.010903597809374332,
0.007962496019899845,
0.07689905911684036,
0.010123488493263721,
0.012616251595318317,
-0.013459128327667713,
0.011773374862968922,
0.053621310740709305,
0.029697958379983902,
0.06197834759950638,
0.032370056957006454,
-0.012141012586653233,
0.04727283492684364,
0.011513338424265385,
-0.04196450486779213,
0.02541183866560459,
0.04092435911297798,
0.00659057917073369,
0.005828403402119875,
-0.02376195229589939,
0.014831045642495155,
0.005635617766529322,
0.009997953660786152,
-0.017772147431969643,
-0.010822896845638752,
-0.034557949751615524,
0.04849231615662575,
0.027904603630304337,
0.006729564163833857,
0.02908821776509285,
0.02937515452504158,
-0.05132581666111946,
0.0043488857336342335,
0.04221557453274727,
0.05738735944032669,
0.05462559312582016,
-0.03127611055970192,
-0.03791152313351631,
-0.014741377905011177,
0.025268370285630226,
-0.0191888976842165,
0.003526184242218733,
-0.04024288430809975,
-0.02410268969833851,
-0.014176471158862114,
0.0338406078517437,
0.006146723870187998,
0.026792721822857857,
0.012347248382866383,
0.015082115307450294,
0.01815771870315075,
-0.08392900973558426,
-0.020121442154049873,
0.019117163494229317,
-0.02356468327343464,
-0.022883208468556404,
-0.028693679720163345,
-0.043506789952516556,
0.014875879511237144,
-0.00456857169046998,
-0.03308739885687828,
-0.0581764355301857,
-0.09196323901414871,
0.030558768659830093,
-0.002454654546454549,
-0.004068674053996801,
0.0367279089987278,
0.011002232320606709,
-0.002622781554237008,
0.02401302196085453,
0.08615276962518692,
-0.05591680854558945,
-0.03036149963736534,
0.02525043673813343,
-0.008800889365375042,
-0.025896044448018074,
0.0350780226290226,
-0.015216616913676262,
0.010392491705715656,
-0.007428972981870174,
-0.006330542732030153,
-0.007227220572531223,
0.048384714871644974,
0.0014503757702186704,
0.03577743098139763,
0.031222309917211533,
-0.005671484861522913,
-0.028855081647634506,
-0.00851843599230051,
-0.03945380821824074,
-0.027223126962780952,
0.028496410697698593,
-0.05344197526574135,
0.03558016195893288,
0.03514975681900978,
-0.050859544426202774,
-0.024658629670739174,
-0.041283030062913895,
0.02302667684853077,
-0.02616504766047001,
-0.005810469854623079,
0.015951892361044884,
0.025644974783062935,
0.06699974089860916,
0.026756854727864265,
-0.024353759363293648,
0.025985712185502052,
-0.041605833917856216,
0.0009790597250685096,
-0.05383651331067085,
-0.00228540669195354,
0.09411526471376419,
-0.0701560452580452,
0.03812672570347786,
0.032656993716955185,
-0.01740450970828533,
0.02150232531130314,
-0.028890948742628098,
-0.048384714871644974,
-0.0548766627907753,
-0.0035777431912720203,
-0.014059903100132942,
-0.0135129289701581,
0.013880567625164986,
-0.011154667474329472,
-0.015243517234921455,
0.044331733137369156,
0.03660237416625023,
0.0035642930306494236,
0.02591397799551487,
-0.02220173366367817,
0.027545932680368423,
-0.004286118317395449,
0.010939464904367924,
-0.030594635754823685,
0.0011533513898029923,
0.03308739885687828,
0.035382892936468124,
0.0017630921211093664,
-0.011190534569323063,
0.010240056551992893,
-0.011638873256742954,
0.030307698994874954,
0.12036998569965363,
-0.013548796065151691,
-0.01419440470635891,
0.049245525151491165,
-0.055342935025691986,
-0.02546563930809498,
-0.021843062713742256,
-0.05028567090630531,
-0.007747293449938297,
-0.06811162084341049,
-0.018579157069325447,
0.02245280332863331,
0.0006030155927874148,
-0.015503553673624992,
-0.046627227216959,
-0.052545297890901566,
0.05175622180104256,
-0.011809241957962513,
0.0031002622563391924,
0.00012182204227428883,
-0.0012138771126046777,
0.007142036221921444,
0.013459128327667713,
0.06567265838384628,
-0.07532090693712234,
-0.023708151653409004,
0.024533094838261604,
0.06176314502954483,
0.033195000141859055,
0.01390746794641018,
0.0032482140231877565,
0.03572363033890724,
-0.043470922857522964,
0.038844067603349686,
-0.004548396449536085,
-0.014615843072533607,
0.04009941592812538,
-0.021878929808735847,
0.0020309744868427515,
-0.01535111851990223
] |
21,634 | smartypants | smartypants |
SmartyPants function
>>> print(smartypants('"foo" -- bar'))
“foo” — bar
>>> print(smartypants('"foo" -- bar', Attr.d))
"foo" — bar
| def smartypants(text, attr=None):
"""
SmartyPants function
>>> print(smartypants('"foo" -- bar'))
“foo” — bar
>>> print(smartypants('"foo" -- bar', Attr.d))
"foo" — bar
"""
skipped_tag_stack = []
if attr is None:
attr = Attr.default
do_quotes = attr & Attr.q
do_backticks = attr & Attr.mask_b
do_dashes = attr & Attr.mask_d
do_ellipses = attr & Attr.e
do_entities = attr & Attr.mask_o
convert_quot = attr & Attr.w
tokens = _tokenize(text)
result = []
in_pre = False
prev_token_last_char = ""
# This is a cheat, used to get some context
# for one-character tokens that consist of
# just a quote char. What we do is remember
# the last character of the previous text
# token, to use as context to curl single-
# character quote tokens correctly.
tags_to_skip_regex = _tags_to_skip_regex()
for cur_token in tokens:
if cur_token[0] == "tag":
# Don't mess with quotes inside some tags. This does not handle
# self <closing/> tags!
result.append(cur_token[1])
skip_match = tags_to_skip_regex.match(cur_token[1])
if skip_match:
if not skip_match.group(1):
skipped_tag_stack.append(skip_match.group(2).lower())
in_pre = True
else:
if len(skipped_tag_stack) > 0:
_tag = skipped_tag_stack[-1]
if skip_match.group(2).lower() == _tag:
skipped_tag_stack.pop()
else:
pass
# This close doesn't match the open. This isn't
# XHTML. We should barf here.
if len(skipped_tag_stack) == 0:
in_pre = False
else:
t = cur_token[1]
# Remember last char of this token before processing.
last_char = t[-1:]
if not in_pre:
t = process_escapes(t)
if convert_quot:
t = re.sub('"', '"', t)
if do_dashes:
if do_dashes == Attr.d:
t = convert_dashes(t)
if do_dashes == Attr.D:
t = convert_dashes_oldschool(t)
if do_dashes == Attr.i:
t = convert_dashes_oldschool_inverted(t)
if do_ellipses:
t = convert_ellipses(t)
# Note: backticks need to be processed before quotes.
if do_backticks == Attr.b:
t = convert_backticks(t)
if do_backticks == Attr.B:
t = convert_single_backticks(t)
if do_quotes:
if t == "'":
# Special case: single-character ' token
if re.match("\S", prev_token_last_char):
t = "’"
else:
t = "‘"
elif t == '"':
# Special case: single-character " token
if re.match("\S", prev_token_last_char):
t = "”"
else:
t = "“"
else:
# Normal case:
t = convert_quotes(t)
if do_entities:
mode = (0 if do_entities == Attr.u else
1 if do_entities == Attr.h else
2 if do_entities == Attr.s else
3) # would result in key error
t = convert_entities(t, mode)
prev_token_last_char = last_char
result.append(t)
return "".join(result)
| (text, attr=None) | [
0.04030073806643486,
-0.021544545888900757,
0.09348005801439285,
-0.021885568276047707,
0.03456354886293411,
-0.003628370352089405,
-0.0132396649569273,
-0.013199545443058014,
0.023189473897218704,
-0.004147425293922424,
0.025476325303316116,
0.051032889634370804,
-0.0264793299138546,
0.03917737305164337,
-0.0163088608533144,
-0.023550555109977722,
0.025476325303316116,
0.032056037336587906,
0.009167465381324291,
-0.03749232366681099,
-0.005376106593757868,
0.036669861525297165,
0.04533582180738449,
0.008003978990018368,
0.023771217092871666,
-0.003259766148403287,
-0.016288800165057182,
0.00006613563891733065,
-0.02110322378575802,
-0.04894664138555527,
0.059779092669487,
-0.045295704156160355,
0.04184536635875702,
0.0016562119126319885,
0.057933565229177475,
-0.07598765194416046,
-0.015325915068387985,
0.045897506177425385,
0.02936798520386219,
-0.035987816751003265,
-0.019678957760334015,
-0.013169454410672188,
0.00616848049685359,
-0.03285844251513481,
-0.03297880291938782,
0.013410176150500774,
-0.010932753793895245,
0.016007957980036736,
-0.08393145352602005,
-0.019739137962460518,
0.08128351718187332,
0.0030516425613313913,
-0.002176520647481084,
0.007537581957876682,
-0.01725168526172638,
-0.03321952372789383,
-0.037111181765794754,
0.07462356984615326,
0.006479411851614714,
-0.006955839227885008,
0.04686038941144943,
0.061183299869298935,
-0.030631771311163902,
-0.03380126506090164,
-0.013600747101008892,
0.0060631646774709225,
0.01494477316737175,
-0.019709046930074692,
-0.004591254983097315,
-0.010255725122988224,
-0.060581497848033905,
0.0231292936950922,
-0.0030717025510966778,
-0.007352026179432869,
-0.0024448244366794825,
-0.06094257906079292,
0.0336407870054245,
-0.014784293249249458,
-0.030330870300531387,
-0.019498415291309357,
-0.00514541519805789,
0.02742215432226658,
0.03267790004611015,
0.002896176651120186,
0.031875498592853546,
0.0025451250839978456,
-0.009578697383403778,
-0.0065746973268687725,
-0.025155363604426384,
0.045897506177425385,
-0.006664967630058527,
-0.03951839357614517,
0.0188665222376585,
0.036088116466999054,
0.004821946378797293,
0.022266710177063942,
0.02296881377696991,
-0.008049114607274532,
-0.025596685707569122,
0.022567611187696457,
0.015486395917832851,
0.1266193389892578,
-0.01964886672794819,
-0.03809412941336632,
0.008590737357735634,
0.014162429608404636,
-0.06082221865653992,
-0.013881588354706764,
0.03566685691475868,
-0.04070194065570831,
-0.0687660202383995,
-0.08682011067867279,
0.02110322378575802,
-0.03687046095728874,
0.03358060494065285,
-0.056729961186647415,
-0.04770291596651077,
0.033941686153411865,
0.012136359699070454,
-0.038736049085855484,
0.027863476425409317,
-0.06968878209590912,
-0.03494469076395035,
-0.023550555109977722,
-0.013761227950453758,
0.050431087613105774,
0.034543491899967194,
0.038374967873096466,
-0.02296881377696991,
0.06078210100531578,
-0.04296873137354851,
0.040601640939712524,
0.04276813194155693,
-0.000010510002539376728,
-0.013199545443058014,
-0.008415210992097855,
-0.019658897072076797,
0.03687046095728874,
-0.025135302916169167,
0.04082230105996132,
0.058615610003471375,
-0.011965848505496979,
-0.009127344936132431,
-0.013701047748327255,
-0.1285451203584671,
-0.014192519709467888,
-0.009764253161847591,
-0.0015684489626437426,
0.01845529116690159,
0.010972874239087105,
0.028986843302845955,
-0.04413221776485443,
0.05917729064822197,
0.03502493351697922,
0.024312838912010193,
0.04822447896003723,
-0.019759196788072586,
-0.0023131801281124353,
0.01654958166182041,
0.028284739702939987,
0.012316900305449963,
-0.053319741040468216,
-0.020531510934233665,
0.028525460511446,
0.03885641321539879,
0.022326890379190445,
0.011073174886405468,
-0.04926760122179985,
0.03899683058261871,
-0.02050142176449299,
0.03729172423481941,
0.06423243880271912,
-0.027803296223282814,
0.04826459661126137,
0.05259757861495018,
0.020942743867635727,
-0.004129872657358646,
0.04910712316632271,
-0.012056119740009308,
-0.002662978135049343,
-0.010682002641260624,
-0.02347031608223915,
0.011835458688437939,
-0.024453260004520416,
0.009383111260831356,
-0.04978916421532631,
0.058455128222703934,
-0.02423259988427162,
0.020130308344960213,
0.05492455139756203,
-0.0009816910605877638,
-0.031975798308849335,
-0.016499431803822517,
0.01472411211580038,
-0.032738082110881805,
0.01447336096316576,
-0.03109315223991871,
-0.042567528784275055,
0.006900674197822809,
-0.04481426253914833,
-0.08505482226610184,
0.002334493910893798,
0.021985867992043495,
0.005586737301200628,
0.06904686242341995,
-0.008069174364209175,
-0.049909524619579315,
-0.0428483709692955,
-0.1135401576757431,
-0.013911678455770016,
-0.02015036903321743,
0.012005968950688839,
0.007963859476149082,
0.042888492345809937,
0.004967382177710533,
-0.041805244982242584,
0.0577329657971859,
0.04449329897761345,
-0.05689043924212456,
-0.04782327637076378,
0.06282822787761688,
-0.038976773619651794,
0.031213514506816864,
0.02561674639582634,
0.06086234003305435,
-0.017733126878738403,
0.032477300614118576,
0.05660959705710411,
0.018164418637752533,
0.018395110964775085,
0.023169413208961487,
-0.05167481303215027,
0.08746203035116196,
0.03440307080745697,
0.022005928680300713,
-0.111373670399189,
0.03883635252714157,
-0.04003995656967163,
0.04637894779443741,
-0.03199585899710655,
-0.033420123159885406,
0.030190449208021164,
-0.0034503370989114046,
0.007993949577212334,
-0.037111181765794754,
0.01349041610956192,
-0.010300860740244389,
0.04609810560941696,
-0.02050142176449299,
-0.03831478953361511,
-0.02706107310950756,
0.03259766101837158,
0.029588645324110985,
0.0009070925880223513,
-0.02304905280470848,
-0.004330473951995373,
0.006298871245235205,
0.0630689486861229,
0.018976854160428047,
0.0063189310021698475,
0.041022900491952896,
-0.02621854841709137,
-0.03263778239488602,
0.019327905029058456,
0.014383090659976006,
-0.018746161833405495,
-0.002572707599028945,
-0.006033074576407671,
-0.04730171337723732,
0.02980930730700493,
-0.0035706975031644106,
-0.025155363604426384,
-0.0029488345608115196,
-0.007993949577212334,
-0.046338826417922974,
0.02996978722512722,
-0.00020608617342077196,
-0.000509965349920094,
-0.02938804402947426,
-0.056649718433618546,
-0.06162462383508682,
0.0008625842747278512,
0.011644887737929821,
0.015987899154424667,
0.01211629994213581,
-0.03418240696191788,
0.0033500364515930414,
0.011123324744403362,
0.009493441320955753,
0.023329894989728928,
-0.05327962338924408,
-0.012005968950688839,
0.04846519976854324,
-0.0329587422311306,
0.047783154994249344,
-0.020782262086868286,
-0.0401201993227005,
-0.06391147524118423,
0.017051083967089653,
-0.09404174238443375,
0.02058166079223156,
0.016118289902806282,
0.024573620408773422,
0.041203442960977554,
-0.019317874684929848,
0.03165483474731445,
-0.022587671875953674,
-0.014874563552439213,
-0.0007591493776999414,
-0.023690976202487946,
-0.012878583744168282,
0.017572646960616112,
-0.056569479405879974,
0.027963778004050255,
-0.03392162546515465,
-0.016258710995316505,
0.0050375922583043575,
-0.02272809110581875,
0.05492455139756203,
0.044172339141368866,
0.009979899041354656,
-0.08545602113008499,
0.04493462294340134,
0.0017427210696041584,
0.020882563665509224,
-0.014242670498788357,
0.009242690168321133,
-0.01106314454227686,
0.056408997625112534,
0.04890652000904083,
-0.02944822423160076,
0.03747226297855377,
-0.007467371877282858,
0.015446276403963566,
-0.051514334976673126,
-0.023169413208961487,
-0.03833485022187233,
-0.03185543790459633,
-0.050070006400346756,
-0.08690034598112106,
0.026539510115981102,
0.011143384501338005,
0.019869528710842133,
-0.01447336096316576,
-0.03323958441615105,
-0.03757256641983986,
0.017291804775595665,
-0.01451348140835762,
0.06848517805337906,
-0.0046840328723192215,
0.030952733010053635,
-0.04754243418574333,
0.07237683981657028,
0.014533541165292263,
0.027462275698781013,
-0.019448265433311462,
-0.03697076067328453,
0.04505498334765434,
-0.036589618772268295,
-0.04553642496466637,
0.013921708799898624,
-0.019337935373187065,
0.024031998589634895,
0.006399171426892281,
0.0066298628225922585,
-0.05388142541050911,
0.028726061806082726,
0.02758263610303402,
0.01732189580798149,
0.04172500595450401,
0.04441305994987488,
0.008304880931973457,
-0.027522455900907516,
-0.07510501146316528,
0.006980914156883955,
-0.012818403542041779,
0.029408104717731476,
0.005035084672272205,
-0.03745220601558685,
-0.0027557560242712498,
0.001545881386846304,
0.06411207467317581,
0.011153414845466614,
0.017913667485117912,
-0.022647852078080177,
-0.03135393559932709,
0.012908673845231533,
0.043410055339336395,
0.00798893440514803,
-0.00019699643598869443,
0.011855518445372581,
-0.06138390302658081,
0.05207601562142372,
0.036088116466999054,
-0.061704862862825394,
-0.030270688235759735,
0.009894643910229206,
-0.03390156850218773,
-0.04890652000904083,
0.040260616689920425,
0.0360279381275177,
0.022768212482333183,
0.05713116005063057,
-0.03646925836801529,
0.003786343615502119,
0.0115646468475461,
0.0035982802510261536,
0.01811426877975464,
-0.04585738480091095,
0.10158433765172958,
-0.02886648289859295,
-0.02579728700220585,
-0.013500446453690529,
-0.0639917179942131,
-0.008786323480308056,
-0.03494469076395035,
-0.018766222521662712,
0.08537577837705612,
-0.024974822998046875,
-0.004756751004606485,
-0.025676926597952843,
-0.08553626388311386,
-0.038896530866622925,
0.04485438019037247,
-0.03660967946052551,
0.023028993979096413,
0.029688946902751923,
-0.02304905280470848,
-0.033420123159885406,
0.04116332158446312,
0.03185543790459633,
-0.020681962370872498,
-0.05223649740219116,
-0.07177503407001495,
0.054603587836027145,
0.003076717723160982,
-0.020982863381505013,
-0.02467392198741436,
0.05231673642992973,
-0.018405141308903694,
-0.012567651458084583,
0.0767098143696785,
0.007888633757829666,
0.023109233006834984,
0.07650921493768692,
-0.008314911276102066,
-0.031715016812086105,
0.06631868332624435,
0.008635872974991798,
-0.016519490629434586,
0.039498332887887955,
0.03781328722834587,
0.02629878930747509,
0.0016060617053881288,
-0.0298895463347435,
-0.034362949430942535,
0.0448945015668869,
-0.013701047748327255,
-0.03951839357614517,
0.09299861639738083,
0.02645927108824253,
0.015185494907200336,
0.005666977725923061,
0.06684024631977081,
0.015526516363024712,
0.03372102603316307,
-0.026780232787132263,
0.00423017330467701,
-0.056649718433618546,
0.016188500449061394,
-0.02682035230100155,
-0.01088260393589735,
-0.0033349914010614157,
0.027783237397670746,
-0.004513522144407034,
0.03089255280792713,
-0.05287842079997063,
-0.04062170162796974,
-0.012206570245325565,
-0.031875498592853546,
-0.01161479763686657,
-0.044774141162633896,
-0.029006902128458023,
-0.024653861299157143,
-0.028625760227441788,
-0.0017602737061679363,
0.10326939076185226,
-0.05207601562142372,
0.042567528784275055,
0.01580735854804516,
-0.033179402351379395,
0.014112279750406742,
0.06651929020881653,
-0.011544587090611458,
0.0018430216005071998,
-0.001412983168847859,
0.0037111183628439903,
-0.013440266251564026,
0.01131389569491148,
-0.030451230704784393,
0.020300820469856262,
-0.07358044385910034,
0.0071263499557971954,
-0.009052119217813015,
0.08020027726888657,
0.021203525364398956,
0.010722123086452484,
0.050511330366134644,
-0.03456354886293411,
-0.03219645842909813,
-0.013861528597772121,
-0.04232680797576904,
0.06744205206632614,
-0.05139397457242012,
0.02407211810350418,
0.0025513938162475824,
0.028806302696466446,
0.018665922805666924,
0.027341915294528008,
-0.020802322775125504,
-0.005536587443202734,
0.0007102528470568359,
-0.04481426253914833,
-0.033520426601171494,
-0.002152699278667569,
0.01063185278326273,
-0.014212580397725105,
0.039839357137680054,
-0.007918723858892918,
-0.05019036680459976,
0.04361065477132797,
-0.039578575640916824,
-0.017121294513344765,
-0.06162462383508682,
-0.004217635840177536,
0.002976417075842619,
-0.021364005282521248,
-0.007843499071896076,
0.07594753056764603,
0.014413180761039257,
0.029047023504972458,
0.02690059319138527,
-0.005140400491654873,
0.009834463708102703,
-0.0010663196444511414,
0.01811426877975464,
-0.06286834925413132,
-0.025335904210805893,
-0.07859546691179276,
0.027081133797764778,
-0.07743198424577713,
-0.023089174181222916,
-0.01587756909430027,
0.041965726763010025,
0.006439291872084141,
-0.08401169627904892,
0.0008042845875024796,
0.05147421360015869,
-0.020421180874109268,
0.03827466815710068,
0.03167489543557167,
-0.013209574855864048,
-0.05243709683418274,
-0.03791358694434166,
0.01691066287457943,
-0.00973416306078434,
-0.0023119263350963593,
0.03560667484998703,
-0.04906700178980827,
0.006068179849535227,
-0.009287825785577297,
0.0048971716314554214,
0.07731162011623383,
0.02621854841709137,
-0.014022009447216988,
0.0018242152873426676,
-0.010531552135944366,
0.0014969848562031984,
0.03321952372789383,
0.00363840046338737,
0.0343228280544281,
0.03005002811551094,
-0.07165466994047165,
-0.003014029935002327,
0.02698083221912384,
-0.0254562646150589,
0.018635831773281097,
0.053239502012729645,
-0.017271745949983597,
-0.006369081325829029,
-0.028244618326425552,
-0.0006090120878070593,
0.06094257906079292,
-0.016950784251093864,
-0.001853051595389843,
0.00025419905432499945,
0.03865581005811691,
0.033179402351379395,
-0.022387070581316948,
-0.02519548498094082,
0.023289775475859642,
0.016258710995316505,
0.0021552068646997213,
-0.004731675609946251,
0.03626865893602371,
0.01396182831376791,
0.0011973371729254723,
-0.024814343079924583,
-0.04172500595450401,
-0.015727117657661438,
-0.001335250330157578,
-0.015275765210390091,
0.004139903001487255,
0.017873547971248627,
-0.017993908375501633,
0.0462585873901844,
-0.05207601562142372,
-0.010240680538117886,
0.04678015038371086,
-0.0221062283962965,
0.020531510934233665,
0.006975899450480938,
-0.04112320393323898,
0.01734195463359356,
0.003620847826823592,
-0.029006902128458023,
0.008480406366288662,
-0.0030290749855339527,
-0.05576707422733307,
-0.030611710622906685,
0.00046232258318923414,
0.0023307327646762133,
0.03660967946052551,
-0.008214610628783703,
-0.015446276403963566,
0.07362056523561478,
-0.034102167934179306,
-0.0011578438570722938,
-0.002888654125854373,
0.0008193296380341053,
0.017963819205760956,
-0.016960812732577324,
-0.012026029638946056,
0.02784341759979725,
-0.014523511752486229,
-0.021283764392137527,
-0.002083742758259177,
-0.058535367250442505,
0.020601721480488777,
0.005797368474304676,
0.012577681802213192,
0.0780739039182663,
0.015125314705073833,
-0.019759196788072586,
-0.03877617046236992,
0.09275789558887482,
-0.0653558000922203,
-0.011454316787421703,
0.019859498366713524,
-0.010531552135944366,
0.0298895463347435,
0.012015999294817448,
-0.009699057787656784,
0.03414228931069374,
-0.04106302186846733,
-0.007011004723608494,
0.00922263041138649,
0.017442256212234497,
0.021745147183537483,
-0.006564667448401451,
-0.003698580665513873,
0.061263542622327805,
-0.008525541983544827,
-0.07346007972955704,
-0.04066181927919388,
-0.02970900572836399,
0.047783154994249344,
0.012286810204386711,
-0.009027044288814068,
0.04525558277964592,
-0.0036785206757485867,
-0.0037462234031409025,
0.014102249406278133,
0.002853549085557461,
-0.03809412941336632,
-0.010651912540197372,
0.009684012271463871,
-0.015175464563071728,
-0.0011440524831414223,
-0.06712108850479126,
-0.03219645842909813,
-0.04698074981570244,
-0.02682035230100155,
-0.014393121004104614,
-0.001810423913411796,
-0.03358060494065285,
0.02314935438334942,
-0.014363030903041363,
0.07598765194416046,
-0.007738183252513409,
0.02178526669740677,
-0.025636807084083557,
-0.0029287743382155895,
-0.033861447125673294,
-0.008264760486781597,
0.002247984753921628,
-0.004082229919731617,
-0.01945829577744007,
0.03448330983519554,
0.012186509557068348,
0.009353021159768105,
0.046499308198690414,
0.02938804402947426,
0.0185255017131567,
0.031012913212180138,
-0.08633866161108017,
-0.009829448536038399,
0.027903597801923752,
0.08328953385353088,
0.02008015848696232,
0.021203525364398956,
-0.0048194387927651405,
0.048104118555784225,
0.018074149265885353,
0.003919241949915886,
0.020902622491121292,
-0.05396166443824768,
0.018976854160428047,
0.054523348808288574,
-0.04978916421532631,
-0.05083229020237923,
0.06720133125782013,
-0.0295485258102417,
0.02031085081398487,
-0.031253632158041,
-0.08003979176282883,
-0.04473401978611946,
-0.03745220601558685,
-0.013560626655817032,
-0.0036609680391848087,
-0.015095224604010582,
0.0227882731705904,
-0.05632875859737396,
-0.012357020750641823,
0.05608803778886795,
-0.00612836005166173,
0.06868577748537064,
-0.01629883050918579,
-0.008640887215733528,
-0.011233655735850334,
-0.005170490592718124,
0.005707098171114922,
-0.0814841240644455,
0.009463351219892502,
0.05753236263990402,
0.06924746185541153,
0.03235694020986557,
0.035004872828722,
-0.04038097709417343,
-0.012898643501102924,
0.004488447215408087,
-0.011624827049672604,
-0.002222909592092037,
0.01877625286579132,
0.005621842574328184,
-0.023089174181222916,
0.021985867992043495,
0.061504263430833817
] |
21,635 | auto_gptq.modeling.auto | AutoGPTQForCausalLM | null | class AutoGPTQForCausalLM:
def __init__(self):
raise EnvironmentError(
"AutoGPTQModelForCausalLM is designed to be instantiated\n"
"using `AutoGPTQModelForCausalLM.from_pretrained` if want to quantize a pretrained model.\n"
"using `AutoGPTQModelForCausalLM.from_quantized` if want to inference with quantized model."
)
@classmethod
def from_pretrained(
cls,
pretrained_model_name_or_path: str,
quantize_config: BaseQuantizeConfig,
max_memory: Optional[dict] = None,
trust_remote_code: bool = False,
**model_init_kwargs,
) -> BaseGPTQForCausalLM:
model_type = check_and_get_model_type(pretrained_model_name_or_path, trust_remote_code)
return GPTQ_CAUSAL_LM_MODEL_MAP[model_type].from_pretrained(
pretrained_model_name_or_path=pretrained_model_name_or_path,
quantize_config=quantize_config,
max_memory=max_memory,
trust_remote_code=trust_remote_code,
**model_init_kwargs,
)
@classmethod
def from_quantized(
cls,
model_name_or_path: Optional[str],
device_map: Optional[Union[str, Dict[str, Union[str, int]]]] = None,
max_memory: Optional[dict] = None,
device: Optional[Union[str, int]] = None,
low_cpu_mem_usage: bool = False,
use_triton: bool = False,
inject_fused_attention: bool = False,
inject_fused_mlp: bool = False,
use_cuda_fp16: bool = True,
quantize_config: Optional[BaseQuantizeConfig] = None,
model_basename: Optional[str] = None,
use_safetensors: bool = True,
trust_remote_code: bool = False,
warmup_triton: bool = False,
trainable: bool = False,
disable_exllama: Optional[bool] = None,
disable_exllamav2: bool = False,
use_marlin: bool = False,
**kwargs,
) -> BaseGPTQForCausalLM:
# If disable_exllamav2 is True, we want to fall back on the exllama kernel and not the cuda/cuda_old ones.
if disable_exllama is None:
if disable_exllamav2:
disable_exllama = False
else:
disable_exllama = True
model_type = check_and_get_model_type(model_name_or_path, trust_remote_code)
quant_func = GPTQ_CAUSAL_LM_MODEL_MAP[model_type].from_quantized
# A static list of kwargs needed for huggingface_hub
huggingface_kwargs = [
"cache_dir",
"force_download",
"proxies",
"resume_download",
"local_files_only",
"use_auth_token",
"revision",
"subfolder",
"_raise_exceptions_for_missing_entries",
"_commit_hash",
]
# TODO: do we need this filtering of kwargs? @PanQiWei is there a reason we can't just pass all kwargs?
keywords = {
key: kwargs[key]
for key in list(signature(quant_func).parameters.keys()) + huggingface_kwargs
if key in kwargs
}
return quant_func(
model_name_or_path=model_name_or_path,
device_map=device_map,
max_memory=max_memory,
device=device,
low_cpu_mem_usage=low_cpu_mem_usage,
use_triton=use_triton,
inject_fused_attention=inject_fused_attention,
inject_fused_mlp=inject_fused_mlp,
use_cuda_fp16=use_cuda_fp16,
quantize_config=quantize_config,
model_basename=model_basename,
use_safetensors=use_safetensors,
trust_remote_code=trust_remote_code,
warmup_triton=warmup_triton,
trainable=trainable,
disable_exllama=disable_exllama,
disable_exllamav2=disable_exllamav2,
use_marlin=use_marlin,
**keywords,
)
| () | [
0.01652868464589119,
-0.04685356840491295,
-0.058624282479286194,
0.02633124589920044,
-0.0037237312644720078,
-0.009840778075158596,
-0.06290454417467117,
-0.061987344175577164,
0.02233760990202427,
-0.0595414824783802,
-0.0033439535181969404,
0.01333759818226099,
-0.035980939865112305,
0.03745228052139282,
-0.028433160856366158,
0.043031904846429825,
0.010872626677155495,
-0.01239173673093319,
0.06947780400514603,
-0.03636310622096062,
0.010089186020195484,
0.041808973997831345,
-0.05602555349469185,
0.059579700231552124,
0.02480258233845234,
0.012964986264705658,
0.022547801956534386,
-0.03548412397503853,
-0.0029474562034010887,
0.009458611719310284,
-0.00005512298594112508,
0.0471210852265358,
0.00187858531717211,
0.049834463745355606,
-0.00974045880138874,
-0.031681571155786514,
0.06072619929909706,
0.018449069932103157,
-0.0825478807091713,
-0.05208924412727356,
-0.031012780964374542,
-0.015277091413736343,
0.06802557408809662,
-0.016557347029447556,
-0.03859877958893776,
-0.01689174212515354,
-0.02971341647207737,
0.029961824417114258,
-0.004810516256839037,
0.040318526327610016,
0.040624260902404785,
-0.04876439645886421,
0.023407675325870514,
0.053808990865945816,
-0.03859877958893776,
-0.006200645584613085,
-0.06156696379184723,
0.00916243251413107,
-0.002457805909216404,
0.018936332315206528,
-0.024611499160528183,
0.02484079822897911,
-0.007103512994945049,
0.012745240703225136,
0.026445895433425903,
-0.016251614317297935,
-0.0028280294500291348,
0.021649710834026337,
0.007528672926127911,
0.01595543511211872,
-0.005550962872803211,
-0.0660000890493393,
0.012028679251670837,
0.03592361509799957,
0.0660000890493393,
-0.03622934967279434,
-0.04157967492938042,
-0.016433143988251686,
-0.033573295921087265,
-0.0030716601759195328,
0.040547825396060944,
0.004421184305101633,
-0.011159250512719154,
-0.09378356486558914,
-0.005550962872803211,
-0.014598745852708817,
0.04414018616080284,
0.01964333839714527,
0.04715929925441742,
-0.059350401163101196,
-0.03284717723727226,
0.019815314561128616,
0.014770721085369587,
0.08896827697753906,
0.054993707686662674,
-0.013213394209742546,
-0.026140162721276283,
-0.021936336532235146,
-0.04024209454655647,
-0.03403189405798912,
-0.021554170176386833,
0.048879045993089676,
-0.0016994449542835355,
0.00913854781538248,
-0.009859886020421982,
-0.033859919756650925,
-0.0654650554060936,
-0.02946500852704048,
0.06875168532133102,
-0.04257330670952797,
-0.09638229757547379,
0.02447774074971676,
-0.027630610391497612,
0.005894912406802177,
-0.059312183409929276,
0.01642358861863613,
-0.022853534668684006,
0.0008443482802249491,
0.012487278319895267,
0.006788225844502449,
-0.04536312073469162,
0.01059555634856224,
-0.032694313675165176,
-0.044560570269823074,
0.010471351444721222,
0.028108319267630577,
0.04073891043663025,
0.040318526327610016,
-0.01917518489062786,
-0.05633128806948662,
0.02885354310274124,
0.01577390730381012,
0.01473250426352024,
0.015535052865743637,
0.012257978320121765,
0.015066899359226227,
-0.008374215103685856,
0.007070073392242193,
-0.009315299801528454,
0.07540138065814972,
0.012305749580264091,
0.07574532926082611,
-0.015697473660111427,
-0.055337656289339066,
0.005082809366285801,
0.028012776747345924,
-0.0029450678266584873,
-0.09363070130348206,
-0.054114725440740585,
-0.050063762813806534,
0.019347161054611206,
-0.00867039430886507,
-0.038082852959632874,
0.03773890435695648,
-0.04219114035367966,
-0.005770708434283733,
0.004929943010210991,
-0.003542202292010188,
0.0014426771085709333,
0.03376437723636627,
-0.05675166845321655,
-0.01073886826634407,
0.013213394209742546,
0.011235684156417847,
-0.025222964584827423,
-0.02485990710556507,
-0.05789816752076149,
-0.025643346831202507,
-0.02537583000957966,
0.08270075172185898,
-0.006162428762763739,
0.008770712651312351,
-0.015391740947961807,
-0.01697773113846779,
-0.0009219757630489767,
0.0509045273065567,
0.03194908797740936,
-0.01944270171225071,
0.007906061597168446,
-0.027439527213573456,
0.015468173660337925,
-0.013366260565817356,
-0.060764413326978683,
-0.009124216623604298,
0.005082809366285801,
0.024114683270454407,
-0.017866266891360283,
0.0012671195436269045,
0.0156497023999691,
-0.011226129718124866,
-0.013843967579305172,
-0.0005968360346741974,
0.05785995349287987,
-0.00934396218508482,
-0.019203847274184227,
-0.00003575343362172134,
0.04929943010210991,
0.0019609900191426277,
-0.0278790183365345,
0.007920392788946629,
0.012439507059752941,
-0.006353511940687895,
0.05086631327867508,
0.006721346639096737,
-0.060573332011699677,
-0.005679944064468145,
-0.019509579986333847,
0.0012671195436269045,
-0.016328047960996628,
-0.021592386066913605,
-0.04926121234893799,
-0.02877710945904255,
-0.0023491273168474436,
0.051363129168748856,
0.03284717723727226,
0.0017496043583378196,
-0.003895706031471491,
0.061414096504449844,
0.016213398426771164,
0.0007685121963731945,
0.10050968825817108,
-0.04345228895545006,
-0.009974535554647446,
-0.016652889549732208,
-0.004330419935286045,
0.0034132213331758976,
0.025681564584374428,
0.06485359370708466,
-0.0029952269978821278,
-0.012592374347150326,
0.007992048747837543,
0.002027868991717696,
0.034719791263341904,
0.023159267380833626,
-0.006000008434057236,
0.03649686649441719,
0.011952245607972145,
0.03775801509618759,
-0.025356722995638847,
-0.044598788022994995,
0.016194289550185204,
-0.0012981705367565155,
-0.0031480935867875814,
0.04066247493028641,
0.0017221361631527543,
0.021229328587651253,
0.039401326328516006,
0.03091724030673504,
-0.026445895433425903,
-0.04402553662657738,
-0.027324877679347992,
-0.006835996638983488,
-0.020350346341729164,
0.04815293103456497,
-0.01178027130663395,
-0.06355422735214233,
0.04742681607604027,
-0.037222981452941895,
0.049146562814712524,
-0.01135033369064331,
-0.043681588023900986,
-0.009305745363235474,
-0.060229383409023285,
0.09240777045488358,
-0.03559877350926399,
0.013442693278193474,
-0.016089193522930145,
0.02757328562438488,
-0.055910903960466385,
0.012907660566270351,
0.04264973849058151,
0.06328671425580978,
-0.058624282479286194,
0.019184740260243416,
0.010853517800569534,
0.006554149091243744,
-0.044866304844617844,
0.038770753890275955,
-0.06401282548904419,
0.0009649694547988474,
-0.009601923637092113,
-0.05098096281290054,
0.07058608531951904,
0.017990469932556152,
-0.00979300681501627,
-0.01827709563076496,
-0.06443320959806442,
-0.051898159086704254,
0.03943954408168793,
-0.02021658793091774,
-0.06129944697022438,
0.0058710272423923016,
0.033573295921087265,
0.011130588129162788,
0.07631857693195343,
-0.028929976746439934,
-0.020006395876407623,
0.03206373751163483,
0.03059239871799946,
-0.0370510071516037,
0.022471368312835693,
0.04471343755722046,
0.04727394878864288,
0.0357898585498333,
-0.013222947716712952,
-0.02484079822897911,
0.027210228145122528,
-0.04402553662657738,
0.0060477787628769875,
-0.04035674408078194,
-0.0334586426615715,
0.015095561742782593,
0.07096824795007706,
0.022280285134911537,
-0.02518474869430065,
0.031012780964374542,
0.011025493033230305,
0.00429936870932579,
0.060802631080150604,
0.021515952423214912,
-0.011283454485237598,
0.035426799207925797,
0.031165648251771927,
0.008885362185537815,
0.00207325117662549,
-0.05480262264609337,
0.011828041635453701,
-0.02140130288898945,
-0.010949059389531612,
-0.04834401607513428,
-0.015859894454479218,
0.030687939375638962,
0.012630590237677097,
0.02147773653268814,
-0.03515928238630295,
0.018124228343367577,
0.005068478174507618,
-2.705766064536874e-7,
0.027152903378009796,
-0.04777076467871666,
0.058700717985630035,
-0.008250011131167412,
-0.019757987931370735,
0.05159242823719978,
0.0035183168947696686,
-0.018917223438620567,
0.031719788908958435,
-0.0316624641418457,
0.037261199206113815,
0.03154781460762024,
-0.034165650606155396,
-0.014044605195522308,
0.06561792641878128,
0.06042046472430229,
0.05663701891899109,
-0.018171999603509903,
-0.013968171551823616,
0.0183439739048481,
-0.010777085088193417,
0.006807334255427122,
-0.00902867503464222,
-0.03370705246925354,
-0.047923631966114044,
0.039707060903310776,
0.010700651444494724,
-0.040280308574438095,
0.005307332146912813,
-0.019509579986333847,
0.06515932828187943,
-0.0023849555291235447,
-0.009611478075385094,
-0.05052236095070839,
-0.012152883224189281,
0.042420439422130585,
0.004053349606692791,
0.0065875886939466,
-0.05453510582447052,
-0.001621817471459508,
-0.05923575162887573,
0.05304465815424919,
0.04421662166714668,
-0.002362264320254326,
-0.009898102842271328,
0.0015119446907192469,
0.014636962674558163,
-0.0321974977850914,
-0.004882172215729952,
0.01072931382805109,
0.03823572024703026,
-0.016605118289589882,
0.0483822301030159,
-0.030573289841413498,
0.03000004030764103,
0.027515960857272148,
0.004987267777323723,
-0.013987280428409576,
-0.047082867473363876,
0.03221660479903221,
-0.02877710945904255,
-0.023465000092983246,
-0.04528668522834778,
-0.04746503382921219,
0.050445929169654846,
0.004449846688657999,
0.012754794210195541,
-0.000893910473678261,
0.05239497497677803,
0.0263503547757864,
-0.0028543032240122557,
0.07532494515180588,
-0.04929943010210991,
0.019203847274184227,
-0.04467521980404854,
0.013557343743741512,
-0.09332496672868729,
0.02549048140645027,
0.014961804263293743,
-0.061452314257621765,
0.023044617846608162,
0.0613376647233963,
0.04414018616080284,
0.039133813232183456,
0.025891754776239395,
0.006945869419723749,
0.030745264142751694,
0.07910838723182678,
-0.03133762255311012,
0.04035674408078194,
-0.009539822116494179,
-0.03303826227784157,
0.011321671307086945,
-0.009057337418198586,
-0.031070105731487274,
-0.014531866647303104,
-0.02518474869430065,
0.052547842264175415,
0.0045191142708063126,
-0.007949055172502995,
-0.030726157128810883,
-0.005828033667057753,
0.027668828144669533,
-0.05430580675601959,
-0.0076767620630562305,
0.0318344384431839,
0.019719772040843964,
-0.008684725500643253,
-0.051936376839876175,
0.03301915526390076,
-0.029273925349116325,
0.021343978121876717,
0.021668819710612297,
0.036573298275470734,
-0.02579621411859989,
0.01958601363003254,
0.03408921882510185,
-0.018773911520838737,
0.0318344384431839,
-0.018066903576254845,
-0.06397461146116257,
-0.01656690239906311,
0.030095582827925682,
0.06405103951692581,
0.0015776295913383365,
0.027707044035196304,
0.047350384294986725,
0.09156700223684311,
0.004507171921432018,
0.005689498037099838,
-0.08499374985694885,
-0.0027922012377530336,
0.0031409277580678463,
0.0330955870449543,
0.041503243148326874,
-0.01575479842722416,
-0.04146502539515495,
-0.012840782292187214,
-0.010777085088193417,
0.016624227166175842,
-0.008230903185904026,
-0.02541404776275158,
0.12619125843048096,
-0.04165610671043396,
0.04662426933646202,
0.057172052562236786,
-0.011417212896049023,
0.012210207991302013,
0.021248437464237213,
-0.022910859435796738,
-0.012812119908630848,
0.024343982338905334,
-0.0982166975736618,
0.02816564403474331,
0.0685223862528801,
0.029789850115776062,
-0.010777085088193417,
-0.005211790557950735,
0.022834425792098045,
0.019815314561128616,
0.01823887787759304,
-0.0028996854089200497,
0.02722933702170849,
0.004189496394246817,
-0.02669430337846279,
-0.011168804951012135,
0.051974594593048096,
-0.0010688708862289786,
-0.044598788022994995,
0.011522308923304081,
-0.06068798154592514,
0.013757980428636074,
-0.03154781460762024,
-0.024324873462319374,
0.061146579682826996,
-0.06882812082767487,
0.011484092101454735,
0.03277074545621872,
-0.0015346358995884657,
-0.06045868247747421,
-0.005708606448024511,
0.030477749183773994,
-0.00949682854115963,
0.07402557879686356,
0.036305781453847885,
-0.04960516467690468,
0.04066247493028641,
0.013060527853667736,
0.018047794699668884,
-0.02266245149075985,
0.0758981928229332,
0.03364972770214081,
0.030172016471624374,
-0.014054159633815289,
-0.012515940703451633,
0.05537587031722069,
0.02361786738038063,
-0.013031864538788795,
-0.03859877958893776,
-0.02789812721312046,
0.07387271523475647,
-0.04987268149852753,
-0.04540133476257324,
0.011293008923530579,
-0.00006523694901261479,
0.010920397005975246,
-0.011101925745606422,
-0.02577710524201393,
0.03729941323399544,
0.08713387697935104,
-0.02233760990202427,
0.016328047960996628,
-0.058738935738801956,
-0.013891738839447498,
0.03714654594659805,
-0.004273095168173313,
0.020312130451202393,
-0.02455417439341545,
0.014455433934926987,
0.0471210852265358,
0.0075812204740941525,
-0.007132175378501415,
0.014541421085596085,
0.03888540342450142,
0.006028670817613602,
-0.03670705482363701,
0.01838219165802002,
-0.015707027167081833,
-0.052547842264175415,
0.021229328587651253,
-0.01778983324766159,
-0.0002902073902077973,
0.0075525580905377865,
-0.035388585180044174,
-0.027993669733405113,
0.02453506551682949,
-0.07008926570415497,
-0.05151599273085594,
-0.020445886999368668,
-0.011828041635453701,
-0.02207009308040142,
-0.016433143988251686,
0.020331237465143204,
0.04024209454655647,
-0.04593636840581894,
-0.010461797937750816,
0.03128029778599739,
-0.011980907991528511,
0.07161793112754822,
0.01933760568499565,
-0.0278790183365345,
-0.003833604045212269,
-0.03464335948228836,
0.059312183409929276,
-0.0029737302102148533,
-0.028356727212667465,
0.039936359971761703,
0.002613060874864459,
-0.052242111414670944,
-0.020025504752993584,
0.005307332146912813,
-0.01901276409626007,
-0.05338860675692558,
0.02852870151400566,
0.009568484500050545,
-0.013681547716259956,
0.03194908797740936,
-0.0034060555044561625,
-0.08185998350381851,
0.03458603471517563,
0.014044605195522308,
-0.018611490726470947,
-0.05277714133262634,
0.001086187781766057,
-0.029331250116229057,
0.012105111964046955,
-0.025203855708241463,
-0.07371984422206879,
-0.05457332357764244,
0.024611499160528183,
0.10157975554466248,
-0.010786638595163822,
-0.03856056183576584,
0.0017388558480888605,
-0.0348917692899704,
0.014703841879963875,
-0.0440637543797493,
0.019547797739505768,
0.018879007548093796,
-0.08805107325315475,
-0.012066895142197609,
0.0043041459284722805,
0.05938861519098282,
0.0717708021402359,
0.056560587137937546,
0.01027071475982666,
0.043108340352773666,
-0.042726173996925354,
-0.05277714133262634,
0.03928667679429054,
-0.009721350856125355,
-0.020140154287219048,
-0.039133813232183456,
0.05816568434238434,
-0.0410064272582531,
-0.0007523895474150777,
0.008603515103459358,
-0.004022298380732536,
-0.04677713289856911,
-0.024630606174468994,
0.08369438350200653,
0.017436329275369644,
-0.015181549824774265,
0.040547825396060944,
0.007633768487721682,
-0.03802552819252014,
0.000051950708439107984,
0.025891754776239395,
-0.047656115144491196,
0.008851923048496246,
0.05614020302891731,
-0.029866283759474754,
-0.00963058602064848,
-0.0041656107641756535,
0.03638221696019173,
-0.0039052602369338274,
-0.05671345442533493,
-0.013461802154779434,
0.011694283224642277,
-0.07108289748430252,
-0.0060477787628769875,
0.009415618143975735,
-0.026140162721276283,
-0.031433165073394775,
0.000788217643275857,
-0.06340136379003525,
-0.03315291181206703,
0.029254816472530365,
0.04104464128613472,
0.01879301853477955,
0.0303057748824358,
-0.001779461046680808,
0.0196051225066185,
0.011684729717671871,
-0.04039495810866356,
0.03775801509618759,
0.014904478564858437,
0.007485678885132074,
-0.04501916840672493,
0.027133794501423836,
-0.027363095432519913,
-0.04417840391397476,
-0.008832814171910286,
-0.001983680995181203,
-0.010203835554420948,
-0.028050994500517845,
0.031719788908958435,
-0.07582175731658936,
-0.06993640214204788,
-0.0429936908185482,
-0.01652868464589119,
-0.020273912698030472,
0.03745228052139282,
-0.02759239450097084,
-0.06271345913410187,
-0.013557343743741512,
-0.018754802644252777,
0.06431856006383896,
-0.04937586560845375,
0.016299385577440262,
-0.07089181989431381,
-0.03466246649622917,
0.06768161803483963,
-0.004158445168286562,
0.032331254333257675,
-0.04650961607694626,
0.03496820107102394,
-0.0036926802713423967,
0.01911786012351513,
0.06152874603867531,
0.009783453308045864,
-0.006234085187315941,
-0.0017687126528471708,
0.04761790111660957,
0.011484092101454735,
-0.02549048140645027,
0.0030716601759195328,
-0.016394926235079765,
-0.020598754286766052,
-0.006606697104871273,
0.06787270307540894,
0.01820066198706627,
0.025624239817261696,
0.013308935798704624,
-0.057172052562236786,
-0.010146510787308216,
-0.01318473182618618,
-0.058738935738801956,
-0.003945865202695131,
-0.01992996409535408,
-0.05220389366149902,
-0.02549048140645027,
0.008937910199165344,
0.03319112956523895,
-0.0429936908185482,
0.025261180475354195,
0.03932489454746246,
0.03317201882600784,
0.029197491705417633,
-0.014923587441444397,
0.026770737022161484,
-0.04467521980404854,
0.058012817054986954,
0.01103504654020071,
0.003449049312621355,
0.035121068358421326,
0.038197506219148636,
-0.04971981421113014,
0.03340131789445877,
0.004113062750548124,
-0.03483444079756737,
-0.03678349032998085,
-0.048611532896757126,
-0.06003829836845398,
0.046471402049064636,
-0.019834421575069427,
0.019757987931370735,
-0.026140162721276283,
0.002376595512032509,
0.014761166647076607
] |
21,636 | auto_gptq.modeling.auto | __init__ | null | def __init__(self):
raise EnvironmentError(
"AutoGPTQModelForCausalLM is designed to be instantiated\n"
"using `AutoGPTQModelForCausalLM.from_pretrained` if want to quantize a pretrained model.\n"
"using `AutoGPTQModelForCausalLM.from_quantized` if want to inference with quantized model."
)
| (self) | [
0.02389262057840824,
-0.003569266991689801,
-0.009502317756414413,
0.010672414675354958,
-0.006676157005131245,
-0.04846465215086937,
-0.029592124745249748,
-0.022741397842764854,
0.03347986564040184,
-0.006284552160650492,
0.001186020439490676,
0.03657495975494385,
-0.024496542289853096,
0.04019848629832268,
-0.05261661112308502,
0.04974798485636711,
0.0019037663005292416,
0.02009924314916134,
0.008242577314376831,
-0.03431025519967079,
-0.005123891402035952,
0.037896037101745605,
-0.058353859931230545,
0.06597836315631866,
0.033328887075185776,
0.046275440603494644,
0.0037768648471683264,
-0.024968355894088745,
0.02109948731958866,
-0.0331401601433754,
-0.030573496595025063,
0.05076710134744644,
-0.00916261225938797,
0.05427739396691322,
-0.0002810237347148359,
-0.023005612194538116,
0.04178377985954285,
-0.012814447283744812,
-0.07428227365016937,
-0.05869356542825699,
0.0037603513337671757,
-0.0009831407805904746,
0.036518342792987823,
0.016041649505496025,
-0.012144472450017929,
-0.03013942763209343,
0.017296671867370605,
0.007855690084397793,
-0.03759407624602318,
0.03263060376048088,
0.002590254647657275,
-0.002328398171812296,
0.024779630824923515,
0.027931341901421547,
-0.06280777603387833,
0.04910631850361824,
-0.024873992428183556,
0.025251442566514015,
-0.036310743540525436,
0.009610835462808609,
-0.04959700629115105,
0.03400829806923866,
0.0156264528632164,
0.004713414236903191,
0.03657495975494385,
-0.0030172455590218306,
-0.00917676743119955,
0.04084015265107155,
0.024572031572461128,
0.031007563695311546,
0.025062717497348785,
-0.02455315925180912,
-0.0502009242773056,
0.0452185794711113,
0.08839892596006393,
-0.016013341024518013,
-0.09474009275436401,
-0.008662490174174309,
-0.025685511529445648,
0.0048077767714858055,
0.01032327301800251,
0.0229678675532341,
-0.016947530210018158,
-0.05242788419127464,
-0.011559423990547657,
-0.03180021047592163,
0.005808020476251841,
-0.02947888895869255,
0.03181908279657364,
-0.008667209185659885,
-0.07775481790304184,
0.03225314989686012,
-0.04344456270337105,
0.0615621879696846,
0.026553647592663765,
0.01106873806566,
0.011691531166434288,
-0.04778524115681648,
-0.030347026884555817,
-0.02910143882036209,
-0.007586756721138954,
0.030082810670137405,
-0.018221426755189896,
0.015739688649773598,
-0.022061986848711967,
-0.006218498107045889,
-0.01719287410378456,
-0.04619995132088661,
0.058655817061662674,
-0.03525388240814209,
-0.06541218608617783,
0.10100577026605606,
-0.03142276033759117,
0.034366875886917114,
-0.07492394000291824,
-0.006567639764398336,
0.007657528389245272,
0.0052182539366185665,
0.0299507025629282,
0.023552915081381798,
-0.030705604702234268,
0.025515658780932426,
-0.07549011707305908,
-0.0025194825138896704,
0.024892864748835564,
-0.00035739850136451423,
0.005005938000977039,
-0.016437971964478493,
0.02168453484773636,
-0.08749303966760635,
0.0582406222820282,
-0.009039941243827343,
-0.0054871877655386925,
-0.017221182584762573,
0.004182624164968729,
0.012380378320813179,
0.0023472707252949476,
0.012587976641952991,
-0.019042382016777992,
0.057146016508340836,
-0.0015463677700608969,
0.06326071918010712,
-0.02109948731958866,
-0.049521513283252716,
-0.0009194459998980165,
0.040764663368463516,
-0.039028387516736984,
-0.053597982972860336,
-0.030837710946798325,
0.00047269786591641605,
0.0007071300642564893,
-0.018023265525698662,
-0.005864638369530439,
0.00564760435372591,
-0.04091564193367958,
-0.026912225410342216,
0.02921467460691929,
-0.046350929886102676,
0.04676612466573715,
0.0213070847094059,
-0.03868868201971054,
0.008086878806352615,
0.00034648782457225025,
0.008752135559916496,
-0.017749613150954247,
-0.010615797713398933,
-0.08326559513807297,
-0.04986121878027916,
-0.03636736422777176,
0.031007563695311546,
-0.01929716020822525,
-0.04937053471803665,
-0.024704139679670334,
-0.03042251616716385,
0.008313348516821861,
0.021835515275597572,
0.044501423835754395,
0.05642886087298393,
0.007690555416047573,
-0.017532579600811005,
0.03955681994557381,
0.017523143440485,
-0.05850483849644661,
-0.002462865086272359,
0.011700967326760292,
0.026062961667776108,
-0.019382087513804436,
0.029894085600972176,
0.008266167715191841,
-0.01418270543217659,
-0.0052135358564555645,
0.008978605270385742,
0.032875943928956985,
-0.00490213930606842,
-0.012135036289691925,
0.014154396019876003,
0.025968600064516068,
-0.032309770584106445,
-0.023269828408956528,
0.05133327841758728,
0.012512486428022385,
0.05216366797685623,
0.02342080883681774,
0.004453916568309069,
-0.021929878741502762,
0.011540551669895649,
-0.03189457207918167,
-0.0011005043052136898,
-0.025647766888141632,
-0.03042251616716385,
-0.02594972774386406,
-0.029894085600972176,
-0.012701211497187614,
0.06224159896373749,
0.03151712194085121,
0.006397787015885115,
0.0016596029745414853,
0.02362840622663498,
0.036027658730745316,
0.01733441837131977,
0.11202733218669891,
-0.02334531769156456,
0.021552426740527153,
-0.028214430436491966,
-0.03617863729596138,
0.009313592687249184,
0.010332709178328514,
0.0291203111410141,
-0.04019848629832268,
0.002833238337188959,
0.002474660286679864,
-0.01222939882427454,
-0.018910273909568787,
-0.006647848058491945,
-0.010219474323093891,
0.013116407208144665,
0.013324005529284477,
0.03591442108154297,
-0.07345188409090042,
-0.054919056594371796,
-0.006119417492300272,
0.019221670925617218,
-0.037707313895225525,
0.02872398868203163,
0.035197265446186066,
0.023685023188591003,
-0.00069179612910375,
0.0307810939848423,
-0.040764663368463516,
-0.02713869698345661,
-0.00388302281498909,
-0.02500610053539276,
-0.027006588876247406,
0.024043601006269455,
-0.0010114496108144522,
-0.0636759102344513,
0.01860831305384636,
-0.03355535492300987,
0.043104853481054306,
0.02732742205262184,
-0.03400829806923866,
0.014937606640160084,
-0.034442365169525146,
0.11565085500478745,
-0.034933049231767654,
0.01906125433743,
-0.028856096789240837,
0.031215162947773933,
-0.015711380168795586,
0.001020885887555778,
0.12531359493732452,
0.06473277509212494,
-0.02092963457107544,
0.01092719379812479,
-0.007199869491159916,
-0.017145691439509392,
-0.0608450323343277,
0.04178377985954285,
-0.06828080862760544,
0.02670462802052498,
0.03887740895152092,
-0.01827804371714592,
0.06544993072748184,
0.05552297830581665,
-0.04959700629115105,
-0.05480582267045975,
-0.04959700629115105,
-0.05378670617938042,
0.0028096477035433054,
-0.03517839312553406,
-0.02893158607184887,
0.05133327841758728,
0.026459285989403725,
0.017976082861423492,
0.08711559325456619,
-0.06609159708023071,
-0.0260440893471241,
0.024590903893113136,
0.06144895404577255,
-0.015484909527003765,
0.0433313250541687,
0.03146050497889519,
0.008086878806352615,
0.029629869386553764,
-0.0669974759221077,
-0.027742616832256317,
0.01700414903461933,
-0.006520458497107029,
0.016437971964478493,
-0.023741640150547028,
-0.0011978157563135028,
0.0572969950735569,
0.0502009242773056,
0.04268965870141983,
0.02074090950191021,
0.05627787858247757,
0.003569266991689801,
-0.054088667035102844,
0.024213453754782677,
0.038839664310216904,
-0.030932074412703514,
0.020571056753396988,
0.0459357351064682,
-0.04789847880601883,
-0.027742616832256317,
-0.026176197454333305,
0.029139183461666107,
-0.03582005947828293,
-0.01856113225221634,
-0.020344585180282593,
-0.040689170360565186,
0.024515414610505104,
0.0006617180188186467,
-0.002140852389857173,
-0.05367347225546837,
-0.0022080857306718826,
0.02427007257938385,
0.0008221345487982035,
0.007638656068593264,
-0.0667710080742836,
0.06779012084007263,
-0.017768485471606255,
-0.033536482602357864,
0.0494837686419487,
0.024515414610505104,
0.01208785455673933,
-0.0054824696853756905,
-0.08303912729024887,
0.04344456270337105,
0.00418498320505023,
-0.08537931740283966,
0.029139183461666107,
0.045520540326833725,
0.040047504007816315,
0.03617863729596138,
-0.0064732772298157215,
-0.04178377985954285,
0.025911981239914894,
-0.008162369020283222,
-0.009540063329041004,
-0.029799722135066986,
-0.013559911400079727,
-0.047672007232904434,
0.019684046506881714,
-0.05503229424357414,
-0.047483280301094055,
0.019551940262317657,
-0.03387618809938431,
0.04555828496813774,
0.019193362444639206,
-0.014248759485781193,
-0.0712626650929451,
-0.016485154628753662,
0.04891759529709816,
0.01832522451877594,
0.02940339967608452,
-0.021061742678284645,
-0.007242332678288221,
-0.021458065137267113,
0.0478229857981205,
0.016522899270057678,
-0.009374928660690784,
0.024892864748835564,
-0.010917757637798786,
-0.017976082861423492,
-0.04129309207201004,
-0.021042868494987488,
0.04703034088015556,
0.06348718702793121,
0.007799072656780481,
0.02947888895869255,
-0.04352005198597908,
0.03514064848423004,
0.008209549821913242,
0.023137720301747322,
0.013154152780771255,
-0.059108760207891464,
0.01269177533686161,
-0.02185438759624958,
0.007294232491403818,
-0.03189457207918167,
-0.007058325689285994,
0.020797526463866234,
0.016013341024518013,
0.006388350855559111,
-0.0013965670950710773,
0.040689170360565186,
0.0054824696853756905,
-0.01171040441840887,
0.007534856908023357,
-0.0020630033686757088,
0.014012852683663368,
-0.04955926164984703,
-0.013078662566840649,
-0.07190433144569397,
0.023666150867938995,
0.028573008254170418,
-0.08198226243257523,
0.024760756641626358,
0.020250223577022552,
0.02168453484773636,
0.04808720201253891,
0.030177174136042595,
0.025364678353071213,
0.029460016638040543,
0.08115187287330627,
-0.029327908530831337,
0.025515658780932426,
0.04823818430304527,
-0.05088033527135849,
-0.015730252489447594,
0.037896037101745605,
-0.013842999935150146,
-0.034291382879018784,
-0.02121272124350071,
0.014739444479346275,
-0.012606848962605,
-0.016532335430383682,
-0.033536482602357864,
0.01459790114313364,
0.0213070847094059,
-0.05661758407950401,
0.03238525986671448,
0.0682053193449974,
0.013390058651566505,
-0.028629625216126442,
-0.007662246469408274,
0.017089074477553368,
-0.04080240800976753,
-0.01027609221637249,
0.020684290677309036,
0.030384771525859833,
-0.01979728229343891,
0.007780199870467186,
0.05103131756186485,
-0.043104853481054306,
-0.016211502254009247,
-0.007855690084397793,
-0.028874969109892845,
-0.0017480679089203477,
-0.03293256089091301,
0.0615621879696846,
-0.001694988925009966,
-0.005241844803094864,
0.0299507025629282,
0.06409110873937607,
-0.0009896282572299242,
0.03285707160830498,
-0.04619995132088661,
-0.030252663418650627,
-0.020495565608143806,
0.014899861067533493,
0.03508403152227402,
-0.007940616458654404,
-0.05567396059632301,
-0.0036164482589811087,
0.010757341049611568,
0.005048401188105345,
0.005855202209204435,
-0.02185438759624958,
0.08205775171518326,
-0.016088830307126045,
0.024873992428183556,
0.06186414882540703,
-0.01960855722427368,
0.003144635120406747,
-0.050276417285203934,
-0.050842590630054474,
0.00702058058232069,
0.0203634575009346,
-0.07133816182613373,
0.05393768846988678,
0.02576100081205368,
0.02810119464993477,
0.012455868534743786,
0.017692996188998222,
0.02306222915649414,
0.028799477964639664,
-0.009540063329041004,
-0.000611587893217802,
0.028138939291238785,
-0.0014803139492869377,
-0.025515658780932426,
-0.02334531769156456,
0.04378426820039749,
-0.007482957560569048,
-0.0502009242773056,
-0.01004962157458067,
-0.0030998128931969404,
-0.015088587068021297,
-0.007987798191606998,
-0.032423004508018494,
0.05329602211713791,
-0.03959456458687782,
0.028025705367326736,
0.015126331709325314,
-0.05163523927330971,
-0.040877897292375565,
-0.015352802351117134,
0.07971756160259247,
-0.019146179780364037,
0.03748084232211113,
0.039858780801296234,
-0.06544993072748184,
0.003682502079755068,
-0.034442365169525146,
0.013257951475679874,
-0.015966158360242844,
0.08341657370328903,
0.05401317775249481,
0.0333855040371418,
-0.03140388801693916,
0.013984543271362782,
0.07224404066801071,
0.017740176990628242,
0.024949483573436737,
-0.045331813395023346,
-0.011785893701016903,
0.053711216896772385,
-0.0341026596724987,
-0.030347026884555817,
0.023760514333844185,
0.019400959834456444,
0.014494101516902447,
0.01735329069197178,
-0.039481330662965775,
-0.017598632723093033,
0.07065874338150024,
-0.03729211539030075,
0.012720083817839622,
-0.005841047503054142,
-0.03425363823771477,
-0.023043356835842133,
-0.008303912356495857,
0.013069226406514645,
-0.015456601046025753,
0.0433313250541687,
0.02128821238875389,
0.03591442108154297,
-0.005850483663380146,
-0.002922882791608572,
0.02055218443274498,
-0.006987553555518389,
0.022741397842764854,
0.026006344705820084,
-0.009757096879184246,
-0.04034946486353874,
-0.009926949627697468,
-0.005053119733929634,
0.009266411885619164,
0.04250093549489975,
-0.07673569768667221,
-0.00569950370118022,
0.046539656817913055,
-0.06918668746948242,
-0.013173025101423264,
-0.011927437968552113,
0.044690147042274475,
-0.03887740895152092,
0.008426584303379059,
0.023552915081381798,
0.042463190853595734,
-0.0852283388376236,
-0.017872285097837448,
0.023043356835842133,
-0.05291857197880745,
0.019759537652134895,
-0.007176279090344906,
-0.03189457207918167,
-0.022760270163416862,
-0.059184249490499496,
0.04016074165701866,
0.002528918907046318,
-0.007553729694336653,
0.02147693745791912,
-0.00990807730704546,
0.0034064913634210825,
-0.08273716270923615,
0.01539054699242115,
-0.022628162056207657,
-0.03163035959005356,
0.039028387516736984,
-0.001873098430223763,
0.014663954265415668,
0.045897990465164185,
-0.04117985814809799,
-0.08756853640079498,
0.04872886836528778,
0.002070080488920212,
0.03023379109799862,
-0.019759537652134895,
-0.006812982726842165,
-0.027836980298161507,
-0.0024911738000810146,
-0.03876417502760887,
-0.060505326837301254,
-0.03140388801693916,
0.012399251572787762,
0.08137834072113037,
0.01539054699242115,
-0.015437728725373745,
-0.0028120067436248064,
-0.013418368063867092,
0.019231107085943222,
-0.047483280301094055,
0.04344456270337105,
0.03059236891567707,
-0.0852283388376236,
-0.019193362444639206,
-0.013937362469732761,
0.07371609658002853,
0.04378426820039749,
0.010946067050099373,
-0.05480582267045975,
0.007643374148756266,
0.0037155291065573692,
-0.01931603252887726,
0.04148181900382042,
0.05774993821978569,
0.03312128782272339,
-0.07439550757408142,
0.05325827747583389,
-0.025440167635679245,
0.014739444479346275,
-0.013276823796331882,
-0.0015876514371484518,
-0.05741023272275925,
-0.019231107085943222,
0.06816757470369339,
0.01445635687559843,
-0.01664556935429573,
0.024892864748835564,
-0.006402505096048117,
0.00536923436447978,
-0.014277067966759205,
-0.0016985276015475392,
-0.04480338469147682,
-0.013588220812380314,
0.025836491957306862,
-0.027100950479507446,
-0.04453916847705841,
-0.004630846902728081,
0.022363945841789246,
0.0025713820941746235,
0.010210038162767887,
-0.012955990619957447,
0.019231107085943222,
-0.07262148708105087,
-0.04193475842475891,
0.03459334373474121,
-0.022948995232582092,
-0.030365899205207825,
0.029516635462641716,
-0.03729211539030075,
-0.02410021983087063,
0.025345806032419205,
0.0067422110587358475,
-0.025326933711767197,
0.05842934921383858,
0.010427071712911129,
0.0030998128931969404,
0.031385015696287155,
-0.04268965870141983,
-0.036499470472335815,
0.005992027930915356,
0.04669063538312912,
-0.042538680136203766,
0.06503473222255707,
0.011870820075273514,
-0.06450629979372025,
-0.03319677710533142,
0.04638867452740669,
-0.02064654603600502,
0.0385943204164505,
0.029327908530831337,
-0.05963718891143799,
-0.0783587396144867,
-0.06009013205766678,
-0.022099731490015984,
0.010455381125211716,
0.07247050851583481,
-0.003010168205946684,
-0.06492149829864502,
0.002021719701588154,
-0.04057593643665314,
0.026195069774985313,
-0.06556316465139389,
0.04159505292773247,
-0.06586512178182602,
-0.06503473222255707,
0.08137834072113037,
0.003885381855070591,
0.02353404276072979,
-0.07167786359786987,
0.024496542289853096,
0.008138777688145638,
0.031592611223459244,
0.06903570890426636,
-0.020854143425822258,
-0.03580118715763092,
0.017457088455557823,
0.008402992971241474,
0.0015558040468022227,
-0.026440411806106567,
0.05076710134744644,
0.015796305611729622,
-0.06514796614646912,
-0.011087610386312008,
0.04280289635062218,
0.015220694243907928,
0.012455868534743786,
-0.025326933711767197,
-0.07182884216308594,
0.012031236663460732,
0.0004883266519755125,
-0.05367347225546837,
-0.03042251616716385,
0.01459790114313364,
0.0034017732832580805,
0.023175464943051338,
0.053711216896772385,
0.0005110327037982643,
0.010776213370263577,
-0.001424875925295055,
0.017910029739141464,
0.032517366111278534,
0.0074357762932777405,
-0.011616040952503681,
0.007195151410996914,
0.007534856908023357,
0.02872398868203163,
0.004552997648715973,
0.042161229997873306,
0.046350929886102676,
0.01841958798468113,
-0.07688668370246887,
0.03497079387307167,
0.00785097200423479,
-0.01115366443991661,
-0.04318034648895264,
-0.046275440603494644,
-0.05344700068235397,
0.07096070796251297,
-0.0031163261737674475,
0.01638135500252247,
-0.011144228279590607,
0.026006344705820084,
-0.016541771590709686
] |
21,637 | auto_gptq.modeling._base | BaseQuantizeConfig | BaseQuantizeConfig(bits: int = 4, group_size: int = -1, damp_percent: float = 0.01, desc_act: bool = True, static_groups: bool = False, sym: bool = True, true_sequential: bool = True, is_marlin_format: bool = False, model_name_or_path: Optional[str] = None, model_file_base_name: Optional[str] = None, awq_gemm_checkpoint: Optional[bool] = False) | class BaseQuantizeConfig(PushToHubMixin):
bits: int = field(default=4, metadata={"choices": [2, 3, 4, 8]})
group_size: int = field(default=-1)
damp_percent: float = field(default=0.01)
desc_act: bool = field(default=True)
static_groups: bool = field(default=False)
sym: bool = field(default=True)
true_sequential: bool = field(default=True)
is_marlin_format: bool = field(default=False)
model_name_or_path: Optional[str] = field(default=None)
model_file_base_name: Optional[str] = field(default=None)
awq_gemm_checkpoint: Optional[bool] = field(default=False)
def __post_init__(self):
fields_info = fields(self)
if self.bits not in fields_info[0].metadata["choices"]:
raise ValueError(f"only support quantize to {fields_info[0].metadata['choices']} bits.")
if self.group_size != -1 and self.group_size <= 0:
raise ValueError("unless equal to -1, group_size must greater then 0.")
if not (0 < self.damp_percent < 1):
raise ValueError("damp_percent must between 0 and 1.")
def save_pretrained(self, save_dir: str, **kwargs):
with open(join(save_dir, "quantize_config.json"), "w", encoding="utf-8") as f:
json.dump(self.to_dict(), f, indent=2)
@classmethod
def from_pretrained(cls, save_dir: str, **kwargs):
# Parameters related to loading from Hugging Face Hub
cache_dir = kwargs.pop("cache_dir", None)
force_download = kwargs.pop("force_download", False)
resume_download = kwargs.pop("resume_download", False)
proxies = kwargs.pop("proxies", None)
local_files_only = kwargs.pop("local_files_only", False)
use_auth_token = kwargs.pop("use_auth_token", None)
revision = kwargs.pop("revision", None)
subfolder = kwargs.pop("subfolder", None)
commit_hash = kwargs.pop("_commit_hash", None)
transformers_config = False
for quantize_config_filename in [
"quantize_config.json",
"quant_config.json",
"config.json",
]:
if os.path.isdir(save_dir): # Local
resolved_config_file = join(save_dir, quantize_config_filename)
else: # Remote
resolved_config_file = cached_file(
save_dir,
quantize_config_filename,
cache_dir=cache_dir,
force_download=force_download,
resume_download=resume_download,
proxies=proxies,
use_auth_token=use_auth_token,
revision=revision,
local_files_only=local_files_only,
subfolder=subfolder,
_raise_exceptions_for_missing_entries=False,
_raise_exceptions_for_connection_errors=False,
_commit_hash=commit_hash,
)
if resolved_config_file is not None:
if quantize_config_filename == "config.json":
transformers_config = True
break
if resolved_config_file is None:
raise ValueError(
"No quantize_config.json, quant_config.json or config.json file was found in the model repository."
)
field_names = [field.name for field in fields(cls)]
with open(resolved_config_file, "r", encoding="utf-8") as f:
args_from_json = json.load(f)
if transformers_config:
args_from_json = args_from_json["quantization_config"]
filtered_args = {"awq_gemm_checkpoint": False}
for key, val in args_from_json.items():
if key == "version" and val == "GEMM":
filtered_args["awq_gemm_checkpoint"] = True
elif key in field_names:
filtered_args[key] = val
elif key in SYNONYMS and SYNONYMS[key] in field_names:
filtered_args[SYNONYMS[key]] = val
else:
logger.warning(f"ignoring unknown parameter in {quantize_config_filename}: {key}.")
if filtered_args["awq_gemm_checkpoint"]:
# AWQ does not reorder the rows.
filtered_args["desc_act"] = False
if "sym" not in args_from_json:
logger.warning(
f"The quantization configuration {quantize_config_filename} does not contain an entry `sym` (symetric quantization). This may result in silent errors."
)
return cls(**filtered_args)
def to_dict(self):
return {
"bits": self.bits,
"group_size": self.group_size,
"damp_percent": self.damp_percent,
"desc_act": self.desc_act,
"static_groups": self.static_groups,
"sym": self.sym,
"true_sequential": self.true_sequential,
"model_name_or_path": self.model_name_or_path,
"model_file_base_name": self.model_file_base_name,
"is_marlin_format": self.is_marlin_format,
"quant_method": "gptq",
}
| (bits: int = 4, group_size: int = -1, damp_percent: float = 0.01, desc_act: bool = True, static_groups: bool = False, sym: bool = True, true_sequential: bool = True, is_marlin_format: bool = False, model_name_or_path: Optional[str] = None, model_file_base_name: Optional[str] = None, awq_gemm_checkpoint: Optional[bool] = False) -> None | [
0.018743138760328293,
-0.10044017434120178,
-0.05546459183096886,
0.02101774327456951,
-0.013945610262453556,
-0.017283020541071892,
-0.0677414983510971,
-0.02793095074594021,
-0.0035286168567836285,
-0.04934600368142128,
0.042909570038318634,
0.017809458076953888,
-0.006426502484828234,
0.052524492144584656,
-0.03530106693506241,
0.02940100058913231,
0.026957539841532707,
-0.006019258871674538,
0.08875923603773117,
-0.014531643129885197,
-0.014630971476435661,
-0.05681544914841652,
-0.02544775791466236,
0.06674821674823761,
0.06376838684082031,
0.007479376159608364,
0.044180963188409805,
-0.017640599980950356,
-0.008537216112017632,
0.01632947474718094,
-0.04533316567540169,
0.01283313985913992,
0.012366299517452717,
0.06694687157869339,
0.019388768821954727,
-0.06150371581315994,
0.028844766318798065,
0.005805704277008772,
-0.15113703906536102,
-0.012127912603318691,
0.007419779896736145,
-0.02367972582578659,
0.0717940628528595,
-0.015991760417819023,
-0.007111863698810339,
0.04509478062391281,
-0.0805746391415596,
0.08319688588380814,
-0.00021014017693232745,
0.022825507447123528,
0.02987777441740036,
0.014164131134748459,
-0.014849492348730564,
0.12070302665233612,
-0.02761310152709484,
-0.02681848034262657,
-0.0038613646756857634,
0.049187079071998596,
0.002038701204583049,
0.04640590399503708,
-0.04139978811144829,
0.04942546784877777,
0.02534843049943447,
-0.0022274237126111984,
0.012654350139200687,
-0.027672698721289635,
-0.056656524538993835,
-0.0037148562259972095,
-0.032202042639255524,
-0.0025899698957800865,
0.02260698564350605,
-0.05649759992957115,
0.001982829300686717,
0.04533316567540169,
0.007012536283582449,
-0.03893646225333214,
-0.01839549094438553,
0.005090544931590557,
-0.046246979385614395,
-0.002716612769290805,
0.04660455882549286,
0.009446064941585064,
-0.003891162807121873,
-0.0894743949174881,
0.012177577242255211,
-0.014928954653441906,
0.061861295253038406,
0.03951256349682808,
0.017839256674051285,
-0.04046610742807388,
-0.025706009939312935,
0.024951118975877762,
-0.0013533399906009436,
0.06543709337711334,
0.0442206934094429,
-0.036612194031476974,
-0.031685538589954376,
-0.02654036320745945,
-0.04541262611746788,
-0.028268665075302124,
-0.05550432205200195,
0.02056083455681801,
-0.09487782418727875,
-0.05641813576221466,
-0.006312275771051645,
-0.04906788840889931,
-0.028050145134329796,
-0.019488096237182617,
0.000055600234190933406,
-0.05482889339327812,
-0.02940100058913231,
0.04076408967375755,
-0.02850705198943615,
-0.00025514804292470217,
0.014630971476435661,
0.0002163481549359858,
-0.03216231241822243,
0.0235803984105587,
0.04052570462226868,
-0.00098893151152879,
-0.0048844399861991405,
0.052524492144584656,
-0.011978921480476856,
0.0462072491645813,
0.022646717727184296,
0.035241469740867615,
0.06396704167127609,
0.028824901208281517,
0.03255962207913399,
-0.06102694198489189,
0.03786372020840645,
-0.006510931067168713,
-0.023024162277579308,
-0.016001693904399872,
0.0005273680435493588,
-0.022229541093111038,
-0.010056930594146252,
0.010280417278409004,
-0.02576560713350773,
0.0825611874461174,
0.055583786219358444,
0.032102715224027634,
0.00007453458238160238,
-0.05339857563376427,
-0.029321538284420967,
0.019825810566544533,
-0.03677111864089966,
-0.06941020488739014,
-0.061583176255226135,
-0.06797987967729568,
0.022448061034083366,
0.021673304960131645,
-0.05383561551570892,
0.02858651429414749,
0.004320755135267973,
-0.032500024884939194,
-0.02338174171745777,
0.03226163983345032,
-0.028268665075302124,
0.04509478062391281,
-0.025030581280589104,
0.008909694850444794,
0.07533013075590134,
-0.01017115730792284,
-0.054987818002700806,
-0.002140511991456151,
-0.02280564233660698,
-0.049504928290843964,
-0.03863847628235817,
0.05427265912294388,
0.025328565388917923,
-0.024216094985604286,
-0.06035151332616806,
0.01690557599067688,
-0.03393034636974335,
0.07906485348939896,
0.04561128467321396,
-0.015703709796071053,
-0.03448658064007759,
-0.031685538589954376,
-0.012048451229929924,
-0.03613542020320892,
-0.013409240171313286,
-0.0001514747564215213,
0.0070473006926476955,
-0.002582520479336381,
0.01878286898136139,
0.004857124760746956,
0.056656524538993835,
0.0009026405168697238,
0.05296153202652931,
-0.007424746174365282,
0.028844766318798065,
-0.02957979030907154,
-0.014084668830037117,
-0.02634170837700367,
0.03393034636974335,
-0.0057411412708461285,
-0.008656409569084644,
0.03893646225333214,
-0.015604382380843163,
-0.08693160861730576,
0.0708007887005806,
-0.04362472891807556,
-0.05574270710349083,
-0.04759783670306206,
0.006376838777214289,
-0.02801041305065155,
0.02387838065624237,
0.03677111864089966,
-0.05828549712896347,
-0.012545089237391949,
0.004060020204633474,
0.0491473488509655,
0.02890436351299286,
-0.010220821015536785,
0.05121336504817009,
0.05661679431796074,
0.02036217972636223,
0.020858818665146828,
0.1061614528298378,
-0.03353303298354149,
0.020958146080374718,
0.013498635031282902,
-0.0032927135471254587,
-0.00864647701382637,
0.030056564137339592,
0.02387838065624237,
0.016826113685965538,
-0.048789769411087036,
0.0051501416601240635,
0.01483955979347229,
0.02681848034262657,
0.026659555733203888,
-0.0020722243934869766,
0.024633271619677544,
0.030116161331534386,
0.01838555932044983,
-0.014621037989854813,
-0.0038837133906781673,
0.011859728023409843,
-0.015097811818122864,
-0.025010716170072556,
0.015793105587363243,
-0.01434292085468769,
-0.06929101049900055,
0.07282707095146179,
0.009158014319837093,
-0.02773229591548443,
-0.031884193420410156,
0.032003387808799744,
0.018911994993686676,
-0.01819683611392975,
0.04207521677017212,
0.012078248895704746,
-0.04342607408761978,
0.03816170617938042,
-0.050657130777835846,
0.04867057502269745,
-0.046048324555158615,
-0.011909391731023788,
-0.07155568152666092,
-0.018445154651999474,
0.03037441335618496,
-0.03271854668855667,
-0.0045715575106441975,
0.014005206525325775,
0.0016314575914293528,
-0.03448658064007759,
0.013637694530189037,
-0.013518501073122025,
0.02348106913268566,
-0.059517160058021545,
0.04002906754612923,
-0.03683071210980415,
-0.022845372557640076,
-0.006520864088088274,
-0.017153894528746605,
-0.025308700278401375,
0.010439341887831688,
0.0011937948875129223,
-0.049584392458200455,
0.06456300616264343,
0.028467319905757904,
0.03528119996190071,
0.007573737762868404,
-0.03557918593287468,
-0.017044633626937866,
0.02338174171745777,
-0.01897159218788147,
-0.0658344030380249,
0.016299676150083542,
-0.008283930830657482,
0.003871297463774681,
0.06102694198489189,
-0.05935823917388916,
-0.02586493454873562,
0.0167069211602211,
0.04986250773072243,
-0.019130516797304153,
-0.007608502171933651,
0.026858212426304817,
0.03595662862062454,
0.03919471427798271,
-0.01731281913816929,
-0.0033225116785615683,
0.048988424241542816,
-0.041320327669382095,
0.02103760838508606,
-0.011442551389336586,
-0.008095208555459976,
0.02858651429414749,
0.08621644973754883,
0.01465083658695221,
-0.004199078772217035,
-0.005914964713156223,
0.005274301394820213,
0.0074992417357862,
0.03458590805530548,
0.009237476624548435,
-0.020858818665146828,
0.04433988779783249,
-0.008989157155156136,
-0.00692810770124197,
0.01720355823636055,
-0.041439518332481384,
-0.019905272871255875,
-0.01838555932044983,
-0.02318308688700199,
-0.024553809314966202,
-0.05633867532014847,
0.04243279621005058,
0.04592913016676903,
0.031486883759498596,
-0.02507031336426735,
-0.01649833284318447,
0.011015442200005054,
-0.014005206525325775,
-0.018027978017926216,
-0.037208158522844315,
0.04116140305995941,
0.0018462537555024028,
-0.012386164627969265,
0.035420261323451996,
-0.06523843854665756,
0.002547755604609847,
0.029798312112689018,
-0.037605468183755875,
0.027891220524907112,
0.05220664292573929,
-0.019130516797304153,
-0.0031735203228890896,
0.037208158522844315,
0.09185826033353806,
0.06297376751899719,
-0.04795541614294052,
-0.0314670167863369,
-0.043783653527498245,
-0.018931860104203224,
-0.011661073192954063,
0.021593842655420303,
-0.002119404962286353,
-0.025825204327702522,
0.04966385290026665,
0.01957749016582966,
-0.03309599310159683,
0.00134464877191931,
0.010037064552307129,
0.04727998748421669,
-0.0006142797647044063,
0.0015060564037412405,
-0.014779962599277496,
-0.002604869194328785,
-0.032281503081321716,
0.00047770419041626155,
0.017839256674051285,
-0.05554405227303505,
0.022567255422472954,
-0.03849941864609718,
0.03293706849217415,
0.04382338374853134,
0.031089572235941887,
-0.041320327669382095,
0.01493888720870018,
0.03512227535247803,
-0.017541272565722466,
0.04863084480166435,
-0.013846281915903091,
0.05041874572634697,
-0.03859874606132507,
0.0167168527841568,
-0.006510931067168713,
-0.022547390311956406,
0.049504928290843964,
-0.019329171627759933,
-0.02850705198943615,
-0.021454785019159317,
0.05610029026865959,
-0.03333437815308571,
-0.018147172406315804,
-0.044776931405067444,
-0.06523843854665756,
0.041042208671569824,
0.01975628174841404,
0.02604372426867485,
-0.08526290208101273,
0.05486862361431122,
0.04946519806981087,
0.03234110027551651,
0.02918248064815998,
-0.008616678416728973,
-0.0013347161002457142,
-0.06496032327413559,
0.030831320211291313,
-0.09305019676685333,
0.04203548654913902,
0.008120040409266949,
-0.06500004976987839,
-0.029460597783327103,
0.04553182050585747,
0.0051501416601240635,
0.05753060802817345,
-0.0002568552445154637,
-0.013270181603729725,
0.025288833305239677,
0.03943309932947159,
-0.013895946554839611,
0.06313268840312958,
-0.038578882813453674,
0.029718849807977676,
0.03569837659597397,
0.004857124760746956,
-0.016061289235949516,
-0.014362785965204239,
0.026599960401654243,
0.009316938929259777,
0.03333437815308571,
-0.05570297688245773,
-0.025388162583112717,
0.02544775791466236,
-0.013945610262453556,
-0.034347519278526306,
0.017640599980950356,
-0.02624238096177578,
0.014412450604140759,
-0.002570104319602251,
-0.05236556753516197,
0.03377142176032066,
-0.024951118975877762,
0.0049688685685396194,
-0.025507355108857155,
0.03255962207913399,
-0.01581297069787979,
-0.045849669724702835,
0.022269271314144135,
-0.033970076590776443,
0.058245766907930374,
-0.011343223974108696,
-0.03589703142642975,
-0.0383603610098362,
0.028864631429314613,
0.014740231446921825,
-0.0373472161591053,
0.01710423082113266,
0.04835272580385208,
0.08013759553432465,
0.012564955279231071,
0.0021330625750124454,
-0.07612475752830505,
0.011184299364686012,
-0.005880200304090977,
0.038976192474365234,
-0.02830839715898037,
0.021196532994508743,
-0.02977844700217247,
0.010220821015536785,
-0.010330081917345524,
0.020958146080374718,
-0.06086801737546921,
-0.06329161673784256,
0.06182156503200531,
-0.07533013075590134,
0.0035062681417912245,
0.04052570462226868,
0.03204311802983284,
-0.021057473495602608,
0.04298903048038483,
-0.04529343545436859,
0.01975628174841404,
0.0033970074728131294,
-0.06086801737546921,
0.0013471320271492004,
0.03114916943013668,
0.06853611767292023,
-0.005507721100002527,
0.03156634420156479,
-0.010727392509579659,
0.030930647626519203,
0.05141201987862587,
-0.05077632516622543,
0.03822129964828491,
0.01975628174841404,
-0.015564651228487492,
0.030513470992445946,
0.009619888849556446,
-0.013021862134337425,
-0.0501008965075016,
0.05002143234014511,
-0.04803488031029701,
-0.008979224599897861,
-0.047438912093639374,
-0.008273998275399208,
0.011591543443500996,
-0.009719216264784336,
0.01503821462392807,
0.012942399829626083,
-0.0023813818115741014,
-0.0002534408413339406,
-0.02203088440001011,
0.019597357138991356,
-0.0004441810888238251,
0.035142142325639725,
0.02900369092822075,
-0.03742668032646179,
-0.006669855676591396,
0.05276287719607353,
0.010896249674260616,
-0.02328241430222988,
0.05808684229850769,
0.03583743795752525,
0.020958146080374718,
-0.02654036320745945,
-0.009967535734176636,
0.04489612206816673,
0.019289441406726837,
0.02006419748067856,
-0.005065713077783585,
0.006019258871674538,
-0.008120040409266949,
-0.038876865059137344,
-0.04354526475071907,
0.00125401234254241,
-0.022666582837700844,
-0.03863847628235817,
-0.046644292771816254,
0.042313601821660995,
0.06829772889614105,
0.07282707095146179,
0.02141505293548107,
-0.041638173162937164,
-0.007300586439669132,
0.02153424732387066,
0.0521271787583828,
-0.028070010244846344,
0.0717146024107933,
-0.0698472410440445,
0.01740221492946148,
-0.000006372881216520909,
0.012743744999170303,
-0.016488399356603622,
0.006754284258931875,
0.060788556933403015,
-0.014700500294566154,
0.005418326240032911,
-0.007702863775193691,
0.0011410270817577839,
-0.040843553841114044,
0.027990547940135002,
-0.031407419592142105,
0.016965173184871674,
0.022090481594204903,
-0.006128519307821989,
-0.003362242830917239,
0.014025072567164898,
-0.0334337055683136,
-0.07036374509334564,
-0.0031188898719847202,
0.009376535192131996,
-0.020382044836878777,
-0.02338174171745777,
0.031884193420410156,
0.025924531742930412,
-0.0030071462970227003,
-0.005775906145572662,
-0.0010131426388397813,
0.0022820541635155678,
0.05089551582932472,
0.0678209587931633,
0.027354849502444267,
0.02830839715898037,
-0.026182783767580986,
0.052524492144584656,
0.0100767957046628,
-0.024911388754844666,
0.03204311802983284,
-0.009053720161318779,
-0.05137228965759277,
-0.05097497999668121,
0.0031735203228890896,
-0.025030581280589104,
-0.05149148404598236,
0.004062503110617399,
0.01582290418446064,
-0.034744832664728165,
-0.00874083861708641,
-0.032778143882751465,
-0.03714856132864952,
0.025110043585300446,
0.01174053456634283,
-0.0018735688645392656,
0.01065786276012659,
0.023461204022169113,
-0.02878516912460327,
-0.030414143577218056,
-0.021355457603931427,
-0.0855012908577919,
-0.02300429716706276,
0.03468523547053337,
0.03629434481263161,
-0.012674215249717236,
-0.006580460350960493,
0.028248799964785576,
-0.05669625476002693,
0.03673138469457626,
-0.07199272513389587,
0.0028507052920758724,
-0.0007313002133741975,
-0.04100247845053673,
-0.05327938124537468,
-0.03627447783946991,
0.031486883759498596,
-0.016190417110919952,
0.09185826033353806,
-0.04318768531084061,
0.00422639399766922,
-0.03468523547053337,
-0.008974257856607437,
0.025725876912474632,
-0.03412900120019913,
-0.01954769343137741,
0.0668276846408844,
0.013051660731434822,
-0.005453091114759445,
0.0008039336535148323,
-0.01946823112666607,
0.014760097488760948,
-0.021057473495602608,
-0.04175736755132675,
0.025805337354540825,
-0.005756040569394827,
-0.0038737806025892496,
0.04195602238178253,
0.007290653884410858,
-0.014174063690006733,
0.0045715575106441975,
0.021593842655420303,
-0.022368598729372025,
0.02711646445095539,
0.05582217127084732,
-0.039572156965732574,
-0.03412900120019913,
0.000027741918529500253,
0.0086067458614707,
-0.005512687843292952,
-0.028089875355362892,
-0.015058080665767193,
-0.008085275068879128,
0.004688267596065998,
-0.010161224752664566,
-0.009018955752253532,
-0.010975711978971958,
-0.02023305371403694,
-0.024096902459859848,
-0.016637390479445457,
-0.027474043890833855,
0.007260855287313461,
0.026679422706365585,
0.014134332537651062,
0.03645326942205429,
-0.0042462595738470554,
-0.00043642110540531576,
0.021673304960131645,
-0.005701410584151745,
0.10044017434120178,
0.026599960401654243,
0.0043381378054618835,
-0.0295003280043602,
0.004804977681487799,
-0.024891523644328117,
0.021871961653232574,
0.003312579123303294,
0.0162102822214365,
-0.03623474761843681,
-0.048511650413274765,
0.018355760723352432,
-0.0855012908577919,
-0.02888449653983116,
-0.035618916153907776,
-0.04735945165157318,
-0.043227419257164,
0.06412597000598907,
-0.057053834199905396,
-0.015415660105645657,
-0.009018955752253532,
0.04298903048038483,
0.03903578966856003,
-0.04366445913910866,
-0.006247712764889002,
-0.059397969394922256,
-0.020183390006422997,
0.030692260712385178,
0.04302876070141792,
-0.010086728259921074,
-0.05335884541273117,
-0.002034976379945874,
0.09209664911031723,
-0.004795045126229525,
0.04676348343491554,
-0.01867360807955265,
0.015644114464521408,
-0.044776931405067444,
0.04573047533631325,
-0.016051357612013817,
0.026460900902748108,
0.01985560916364193,
-0.007682998199015856,
-0.006505964789539576,
0.006664888933300972,
0.03126836195588112,
-0.015505054965615273,
0.01688571088016033,
0.03667178750038147,
-0.05367669090628624,
0.01223717350512743,
0.018355760723352432,
-0.043386343866586685,
0.030831320211291313,
0.010056930594146252,
-0.020580701529979706,
0.02614305168390274,
0.05041874572634697,
-0.012594752945005894,
-0.0491473488509655,
0.01954769343137741,
0.024037305265665054,
0.02733498439192772,
0.0589609257876873,
0.0003287126310169697,
-0.02868584170937538,
-0.03706910088658333,
0.04203548654913902,
0.02711646445095539,
-0.015077945776283741,
0.03402967378497124,
-0.008864997886121273,
-0.04100247845053673,
0.019875474274158478,
0.04807461053133011,
-0.03683071210980415,
-0.029758580029010773,
-0.007971048355102539,
-0.059397969394922256,
0.048193804919719696,
0.013299980200827122,
0.0491473488509655,
0.011084971949458122,
0.018633877858519554,
-0.0363539420068264
] |
21,638 | auto_gptq.modeling._base | __eq__ | null | import copy
import json
import logging
import os
from dataclasses import dataclass, field, fields
from os.path import isdir, join
from typing import Dict, List, Optional, Union
import accelerate
import huggingface_hub
import torch
import torch.nn as nn
import transformers
from accelerate.hooks import remove_hook_from_module
from safetensors import safe_open
from safetensors.torch import load_file as safe_load
from safetensors.torch import save_file as safe_save
from tqdm import tqdm
from transformers import AutoConfig, AutoModelForCausalLM, PreTrainedModel
from transformers.modeling_utils import no_init_weights
from transformers.utils.generic import ContextManagers
from transformers.utils.hub import (
CommitOperationAdd,
PushToHubMixin,
cached_file,
create_commit,
create_repo,
)
from ..nn_modules._fused_base import FusedBaseAttentionModule, FusedBaseMLPModule
from ..nn_modules.qlinear import GeneralQuantLinear
from ..quantization import GPTQ
from ..utils.data_utils import collate_data
from ..utils.import_utils import (
AUTOGPTQ_CUDA_AVAILABLE,
EXLLAMA_KERNELS_AVAILABLE,
EXLLAMAV2_KERNELS_AVAILABLE,
MARLIN_AVAILABLE,
QIGEN_AVAILABLE,
TRITON_AVAILABLE,
dynamically_import_QuantLinear,
)
from ..utils.marlin_utils import (
_validate_marlin_compatibility,
_validate_marlin_device_support,
prepare_model_for_marlin_load,
)
from ._const import CPU, CUDA_0, SUPPORTED_MODELS
from ._utils import (
autogptq_post_init,
find_layers,
get_checkpoints,
get_device,
get_module_by_name_prefix,
get_module_by_name_suffix,
make_quant,
make_sure_no_tensor_in_meta_device,
move_to_device,
pack_from_tensors,
pack_model,
preprocess_checkpoint_qigen,
simple_dispatch_model,
unpack_awq,
)
logger = logging.getLogger(__name__)
handler = logging.StreamHandler()
formatter = logging.Formatter("%(levelname)s - %(message)s")
handler.setFormatter(formatter)
logger.addHandler(handler)
logger.setLevel(logging.INFO)
SYNONYMS = {
"w_bit": "bits",
"q_group_size": "group_size",
}
@dataclass
class BaseQuantizeConfig(PushToHubMixin):
bits: int = field(default=4, metadata={"choices": [2, 3, 4, 8]})
group_size: int = field(default=-1)
damp_percent: float = field(default=0.01)
desc_act: bool = field(default=True)
static_groups: bool = field(default=False)
sym: bool = field(default=True)
true_sequential: bool = field(default=True)
is_marlin_format: bool = field(default=False)
model_name_or_path: Optional[str] = field(default=None)
model_file_base_name: Optional[str] = field(default=None)
awq_gemm_checkpoint: Optional[bool] = field(default=False)
def __post_init__(self):
fields_info = fields(self)
if self.bits not in fields_info[0].metadata["choices"]:
raise ValueError(f"only support quantize to {fields_info[0].metadata['choices']} bits.")
if self.group_size != -1 and self.group_size <= 0:
raise ValueError("unless equal to -1, group_size must greater then 0.")
if not (0 < self.damp_percent < 1):
raise ValueError("damp_percent must between 0 and 1.")
def save_pretrained(self, save_dir: str, **kwargs):
with open(join(save_dir, "quantize_config.json"), "w", encoding="utf-8") as f:
json.dump(self.to_dict(), f, indent=2)
@classmethod
def from_pretrained(cls, save_dir: str, **kwargs):
# Parameters related to loading from Hugging Face Hub
cache_dir = kwargs.pop("cache_dir", None)
force_download = kwargs.pop("force_download", False)
resume_download = kwargs.pop("resume_download", False)
proxies = kwargs.pop("proxies", None)
local_files_only = kwargs.pop("local_files_only", False)
use_auth_token = kwargs.pop("use_auth_token", None)
revision = kwargs.pop("revision", None)
subfolder = kwargs.pop("subfolder", None)
commit_hash = kwargs.pop("_commit_hash", None)
transformers_config = False
for quantize_config_filename in [
"quantize_config.json",
"quant_config.json",
"config.json",
]:
if os.path.isdir(save_dir): # Local
resolved_config_file = join(save_dir, quantize_config_filename)
else: # Remote
resolved_config_file = cached_file(
save_dir,
quantize_config_filename,
cache_dir=cache_dir,
force_download=force_download,
resume_download=resume_download,
proxies=proxies,
use_auth_token=use_auth_token,
revision=revision,
local_files_only=local_files_only,
subfolder=subfolder,
_raise_exceptions_for_missing_entries=False,
_raise_exceptions_for_connection_errors=False,
_commit_hash=commit_hash,
)
if resolved_config_file is not None:
if quantize_config_filename == "config.json":
transformers_config = True
break
if resolved_config_file is None:
raise ValueError(
"No quantize_config.json, quant_config.json or config.json file was found in the model repository."
)
field_names = [field.name for field in fields(cls)]
with open(resolved_config_file, "r", encoding="utf-8") as f:
args_from_json = json.load(f)
if transformers_config:
args_from_json = args_from_json["quantization_config"]
filtered_args = {"awq_gemm_checkpoint": False}
for key, val in args_from_json.items():
if key == "version" and val == "GEMM":
filtered_args["awq_gemm_checkpoint"] = True
elif key in field_names:
filtered_args[key] = val
elif key in SYNONYMS and SYNONYMS[key] in field_names:
filtered_args[SYNONYMS[key]] = val
else:
logger.warning(f"ignoring unknown parameter in {quantize_config_filename}: {key}.")
if filtered_args["awq_gemm_checkpoint"]:
# AWQ does not reorder the rows.
filtered_args["desc_act"] = False
if "sym" not in args_from_json:
logger.warning(
f"The quantization configuration {quantize_config_filename} does not contain an entry `sym` (symetric quantization). This may result in silent errors."
)
return cls(**filtered_args)
def to_dict(self):
return {
"bits": self.bits,
"group_size": self.group_size,
"damp_percent": self.damp_percent,
"desc_act": self.desc_act,
"static_groups": self.static_groups,
"sym": self.sym,
"true_sequential": self.true_sequential,
"model_name_or_path": self.model_name_or_path,
"model_file_base_name": self.model_file_base_name,
"is_marlin_format": self.is_marlin_format,
"quant_method": "gptq",
}
| (self, other) | [
0.021202923730015755,
-0.07896402478218079,
-0.039011746644973755,
0.037907637655735016,
0.0030874074436724186,
-0.006660417187958956,
-0.08530241250991821,
-0.02723461389541626,
-0.01212472002953291,
-0.051524948328733444,
0.030730949714779854,
0.01183846965432167,
-0.010023850947618484,
0.06338386237621307,
-0.04330549016594887,
0.04040209949016571,
0.0016574369510635734,
0.011265970766544342,
0.082767054438591,
-0.013627530075609684,
-0.019219622015953064,
-0.047435663640499115,
-0.03784630075097084,
0.053733158856630325,
0.03486112505197525,
0.0056125386618077755,
0.039686474949121475,
-0.021489175036549568,
-0.018688015639781952,
0.008822624571621418,
-0.04109727963805199,
0.00439853360876441,
0.01584596559405327,
0.037580497562885284,
0.014036458916962147,
-0.059580832719802856,
0.03686487302184105,
0.0075498358346521854,
-0.10991988331079483,
-0.03475889191031456,
0.013801325112581253,
-0.03330719843506813,
0.07356617599725723,
-0.013024361804127693,
-0.03332764282822609,
0.027582203969359398,
-0.07405688613653183,
0.06591922044754028,
0.022552387788891792,
0.030281130224466324,
0.010713917203247547,
-0.03774406760931015,
0.014302262105047703,
0.09364454448223114,
-0.028154702857136726,
-0.01295279897749424,
-0.005129492375999689,
0.04318281263113022,
0.012196281924843788,
0.015529046766459942,
-0.003718690248206258,
0.031058093532919884,
0.00825012568384409,
0.0007597118383273482,
0.027152828872203827,
-0.035024695098400116,
-0.029606398195028305,
-0.0003734664060175419,
-0.01815640926361084,
0.0005137159605510533,
0.0006389502086676657,
-0.0644470751285553,
0.026150954887270927,
0.04173111915588379,
0.010775256901979446,
-0.03753960505127907,
-0.02778666839003563,
-0.011685121804475784,
-0.037028443068265915,
-0.01614243909716606,
0.04723120108246803,
0.009441128931939602,
-0.010662801563739777,
-0.08145848661661148,
0.0036624628119170666,
-0.012697218917310238,
0.07552903145551682,
0.027398185804486275,
-0.004827907774597406,
-0.06399725377559662,
-0.03240755572915077,
0.029483718797564507,
0.012594986706972122,
0.06375189870595932,
0.04506388306617737,
-0.0245765820145607,
-0.037355586886405945,
-0.04342816770076752,
-0.03451353684067726,
-0.02713238261640072,
-0.04019763693213463,
0.044450487941503525,
-0.055614229291677475,
-0.013259495608508587,
-0.01039699837565422,
-0.019976140931248665,
-0.04948030412197113,
-0.021100692451000214,
0.028645416721701622,
-0.06518314778804779,
-0.0561867281794548,
0.040790583938360214,
-0.014537395909428596,
-0.017113642767071724,
0.0033480993006378412,
-0.02191854827105999,
-0.018790248781442642,
0.0017635026015341282,
0.023104440420866013,
0.026518991217017174,
0.012278067879378796,
0.02447434887290001,
-0.02447434887290001,
0.0071613541804254055,
-0.002433122368529439,
0.019301408901810646,
0.06976313889026642,
0.044532276690006256,
0.0280933640897274,
-0.08538419753313065,
0.01970011368393898,
-0.013484405353665352,
-0.008209232240915298,
0.00868461187928915,
0.005372293759137392,
-0.01606065221130848,
-0.00504003930836916,
0.001932185492478311,
-0.04526834562420845,
0.07082635164260864,
0.05226101726293564,
0.036026570945978165,
-0.0027423743158578873,
-0.049971017986536026,
-0.025537563487887383,
0.008147893473505974,
-0.025312652811408043,
-0.0606849379837513,
-0.05712726339697838,
-0.08571133762598038,
0.02433122508227825,
0.012267844751477242,
-0.0506661981344223,
0.02623273991048336,
-0.0117873540148139,
-0.015069002285599709,
-0.02790934592485428,
0.019730783998966217,
-0.010611684992909431,
0.04759923741221428,
-0.038009870797395706,
-0.007943429052829742,
0.03218264505267143,
0.013014138676226139,
-0.04481852427124977,
-0.021611852571368217,
-0.04220138490200043,
-0.026968810707330704,
-0.04449138417840004,
0.06342475861310959,
0.03907308354973793,
-0.02114158496260643,
-0.038459692150354385,
0.017082972452044487,
-0.014138691127300262,
0.09617990255355835,
0.04083147644996643,
-0.014312485232949257,
-0.03001532517373562,
-0.017635026946663857,
-0.009476909413933754,
-0.03099675290286541,
-0.01972055993974209,
-0.007038675714284182,
-0.01671493798494339,
0.0010229593608528376,
0.017665695399045944,
-0.008674388751387596,
0.05810869112610817,
0.0005517335375770926,
0.03420684114098549,
-0.002783267293125391,
0.03195773437619209,
-0.04117906466126442,
-0.019168507307767868,
-0.0036547952331602573,
0.026539437472820282,
-0.0028778319247066975,
0.006021467037498951,
0.02136649563908577,
-0.03488156944513321,
-0.05193387344479561,
0.08223544806241989,
-0.02091667428612709,
-0.06493779271841049,
-0.04107683151960373,
0.0028880550526082516,
0.004528879188001156,
-0.017992839217185974,
0.016091322526335716,
-0.03995228186249733,
-0.02379961870610714,
0.003463110188022256,
0.055164407938718796,
0.0364968366920948,
-0.009921618737280369,
0.03633326664566994,
0.06109386682510376,
0.03265291079878807,
0.017440784722566605,
0.08481169492006302,
-0.01761458069086075,
0.002813936909660697,
0.015856189653277397,
0.006154368631541729,
-0.013515075668692589,
0.034595321863889694,
0.04175156354904175,
0.023840511217713356,
-0.05602315440773964,
0.014537395909428596,
0.020834889262914658,
0.0028394947294145823,
0.02768443524837494,
0.021673191338777542,
0.01046344917267561,
0.018401766195893288,
0.044654954224824905,
-0.03539273142814636,
-0.016551366075873375,
-0.0020420849323272705,
-0.021080246195197105,
-0.011889586225152016,
0.005226613022387028,
-0.021754978224635124,
-0.026314526796340942,
0.08906455338001251,
0.005791444797068834,
-0.041772011667490005,
-0.021673191338777542,
0.012472308240830898,
0.012860789895057678,
-0.029401933774352074,
0.032162196934223175,
-0.02379961870610714,
-0.07250296324491501,
0.05250637233257294,
-0.03972737118601799,
0.0529153011739254,
-0.04604531079530716,
-0.034370411187410355,
-0.059948865324258804,
-0.03872549533843994,
0.03011755831539631,
-0.03034246899187565,
0.0028880550526082516,
0.01606065221130848,
0.012646103277802467,
-0.03253023326396942,
0.005730105563998222,
0.03706933557987213,
0.050093699246644974,
-0.07164420932531357,
0.04301924258470535,
-0.034370411187410355,
-0.013535521924495697,
-0.008112112060189247,
-0.009425793774425983,
-0.03287782147526741,
0.040565673261880875,
0.007376041263341904,
-0.034165944904088974,
0.03527005389332771,
0.018095070496201515,
0.0010638521052896976,
0.001737944665364921,
-0.03484067693352699,
-0.02844095230102539,
0.015529046766459942,
-0.02866586297750473,
-0.06784117966890335,
0.029054345563054085,
0.014496502466499805,
-0.009931842796504498,
0.08693812042474747,
-0.054959941655397415,
-0.03477934002876282,
0.008653941564261913,
0.03461576625704765,
-0.0280933640897274,
0.012094049714505672,
0.030690057203173637,
0.054632801562547684,
0.03189639374613762,
-0.019342301413416862,
-0.019168507307767868,
0.030853629112243652,
-0.024821938946843147,
0.02001703344285488,
-0.024290332570672035,
0.00868972297757864,
0.017992839217185974,
0.07467027753591537,
0.019751230254769325,
0.005990797188133001,
0.005178052466362715,
0.013862663879990578,
0.023206671699881554,
0.04870334267616272,
0.02766398899257183,
-0.03021978959441185,
0.0629340410232544,
0.022409262135624886,
0.00040605285903438926,
-0.006133922375738621,
-0.05900833010673523,
0.002485516481101513,
-0.013157263398170471,
-0.03506558761000633,
-0.058844760060310364,
-0.05855851247906685,
0.034717999398708344,
0.03852103278040886,
0.033797912299633026,
-0.05708637088537216,
-0.0009743990958668292,
0.006154368631541729,
-0.019168507307767868,
-0.005990797188133001,
-0.02899300493299961,
0.05835404619574547,
0.03428862616419792,
-0.01780882105231285,
0.05410119518637657,
-0.03653772920370102,
-0.015590385533869267,
0.032714251428842545,
-0.03666040673851967,
0.031712379306554794,
0.045881737023591995,
-0.03142612800002098,
0.0012989857932552695,
0.04105638712644577,
0.09299026429653168,
0.0491531640291214,
-0.02625318616628647,
-0.03300050273537636,
-0.035351838916540146,
-0.03011755831539631,
-0.01085704192519188,
0.01912761479616165,
-0.012881237082183361,
-0.03907308354973793,
0.0546736940741539,
0.00896574929356575,
-0.052956193685531616,
0.01423069927841425,
-0.016214001923799515,
0.05336512252688408,
-0.0009526747744530439,
0.005694324616342783,
-0.03948201239109039,
0.0010363772744312882,
0.012891460210084915,
-0.009834721684455872,
0.00428607827052474,
-0.04935762658715248,
0.023615600541234016,
-0.04395977407693863,
0.05181119590997696,
0.05831315368413925,
0.03197818249464035,
-0.037703175097703934,
-0.0002812978345900774,
0.030526485294103622,
-0.023227117955684662,
0.02392229624092579,
-0.0069620017893612385,
0.04792637750506401,
-0.04232406243681908,
0.0436326339840889,
-0.009972735308110714,
-0.007723630405962467,
0.014056905172765255,
-0.010039186105132103,
-0.007759411819279194,
-0.03208041191101074,
0.06129832938313484,
-0.047108523547649384,
-0.03011755831539631,
-0.04183334857225418,
-0.048866912722587585,
0.04988923296332359,
0.02999487891793251,
0.014752082526683807,
-0.06362921744585037,
0.07765545696020126,
0.029933540150523186,
0.017900830134749413,
0.06489689648151398,
-0.02324756607413292,
0.014496502466499805,
-0.05847672373056412,
0.03001532517373562,
-0.1013323962688446,
0.026150954887270927,
0.021121138706803322,
-0.08579312264919281,
-0.013545745052397251,
0.06342475861310959,
0.01306525431573391,
0.06939511001110077,
0.001552649075165391,
-0.006001020781695843,
0.0170523039996624,
0.03788719326257706,
-0.04735387861728668,
0.06448797136545181,
-0.044532276690006256,
0.01367864664644003,
0.0019104612292721868,
-0.01747145503759384,
0.0039844936691224575,
-0.021489175036549568,
0.006716644857078791,
0.027643542736768723,
0.024535689502954483,
-0.0280933640897274,
-0.02735729329288006,
0.030567379668354988,
0.020640648901462555,
-0.05389672890305519,
0.024208545684814453,
-0.019516095519065857,
0.00825523678213358,
0.0013877998571842909,
-0.049971017986536026,
0.04682227224111557,
-0.056064050644636154,
0.027602650225162506,
-0.004482874646782875,
0.046904057264328,
-0.0022580500226467848,
-0.022552387788891792,
0.02613050863146782,
-0.01411824394017458,
0.05569601431488991,
-0.021775424480438232,
-0.057945117354393005,
-0.018994713202118874,
0.01543703768402338,
0.02911568433046341,
-0.00448031909763813,
0.020425960421562195,
0.06506046652793884,
0.07409778237342834,
0.013903557322919369,
0.00327909248881042,
-0.07781902700662613,
-0.0008006046409718692,
0.0014018567744642496,
0.02379961870610714,
0.0023091661278158426,
-0.004406200721859932,
-0.04579995200037956,
0.001971800345927477,
-0.01267677266150713,
0.02954505942761898,
-0.02091667428612709,
-0.04318281263113022,
0.09266311675310135,
-0.08288973569869995,
0.03911397606134415,
0.04837619885802269,
0.002926392015069723,
-0.0004082891973666847,
0.044450487941503525,
-0.04404156282544136,
0.021448280662298203,
-0.0008728060056455433,
-0.06354743242263794,
0.009134432300925255,
0.058517616242170334,
0.051075126975774765,
0.006266823969781399,
0.018636900931596756,
0.000748210703022778,
0.03077184222638607,
0.040115851908922195,
-0.044450487941503525,
0.03872549533843994,
0.019321855157613754,
-0.04702673852443695,
0.010724140331149101,
0.028849881142377853,
0.006793318782001734,
-0.04984834045171738,
0.007514054886996746,
-0.048989590257406235,
-0.007074457127600908,
-0.04682227224111557,
-0.038030318915843964,
0.017635026946663857,
-0.03312318027019501,
0.002459958428516984,
0.024637920781970024,
0.006491734180599451,
-0.00581189151853323,
-0.027091490104794502,
0.012625656090676785,
-0.005367181729525328,
0.04232406243681908,
0.016357125714421272,
-0.04911227151751518,
0.011327309533953667,
0.03848014026880264,
0.0033327643759548664,
-0.014353377744555473,
0.0825216993689537,
0.034493088722229004,
0.02126426436007023,
-0.023104440420866013,
-0.005985685624182224,
0.03504514321684837,
0.03555630147457123,
0.0014976992970332503,
0.0031691931653767824,
-0.025149080902338028,
0.008950415067374706,
-0.05986708030104637,
-0.045554596930742264,
-0.00930311530828476,
-0.024310778826475143,
-0.048744235187768936,
-0.006415060255676508,
0.026621222496032715,
0.06264778971672058,
0.0709899291396141,
0.01583574339747429,
-0.013239048421382904,
-0.03727380186319351,
0.004229850601404905,
0.032693807035684586,
-0.004930139984935522,
0.07475206255912781,
-0.04449138417840004,
0.022552387788891792,
0.005827226210385561,
-0.000036060751881450415,
0.00013210295583121479,
0.007110238075256348,
0.03995228186249733,
-0.0003044597979169339,
-0.0117873540148139,
0.002357726451009512,
-0.0084648123010993,
-0.041996922343969345,
0.029483718797564507,
-0.02324756607413292,
0.014424940571188927,
0.02688702568411827,
-0.023738278076052666,
-0.000194720079889521,
0.02424944005906582,
-0.06485600769519806,
-0.06334297358989716,
-0.00907309353351593,
-0.003675241721794009,
-0.002622251631692052,
-0.0290952380746603,
0.05933547392487526,
0.021182477474212646,
-0.014179583638906479,
-0.004615776240825653,
0.04054522514343262,
0.003976826090365648,
0.05111601948738098,
0.07434313744306564,
0.02700970321893692,
0.006946667097508907,
-0.05160673335194588,
0.05213833972811699,
0.0033480993006378412,
-0.03187594935297966,
0.04584084451198578,
-0.010407221503555775,
-0.0586811900138855,
-0.028972558677196503,
0.014854314737021923,
-0.008975972421467304,
-0.038786835968494415,
0.0011654451955109835,
0.01747145503759384,
-0.028400059789419174,
-0.003961491398513317,
-0.04326459765434265,
-0.05287440866231918,
0.04375531151890755,
0.024862831458449364,
-0.0030158450827002525,
-0.002044640714302659,
0.011807800270617008,
-0.01571306400001049,
-0.047640129923820496,
-0.04203781485557556,
-0.09961489588022232,
-0.0245765820145607,
0.030690057203173637,
0.07953652739524841,
0.006578631699085236,
-0.013525298796594143,
0.016643375158309937,
-0.06694153696298599,
0.012380300089716911,
-0.04984834045171738,
-0.0065735201351344585,
0.011429541744291782,
-0.056595657020807266,
-0.021877655759453773,
-0.026498543098568916,
0.028522739186882973,
-0.004490542225539684,
0.08407562971115112,
-0.02433122508227825,
0.02590559795498848,
-0.025946490466594696,
-0.01361730694770813,
0.03208041191101074,
-0.034472644329071045,
-0.025149080902338028,
0.03915486857295036,
0.044982098042964935,
0.0034196616616100073,
-0.011715791188180447,
-0.020763326436281204,
0.007503831293433905,
-0.019393417984247208,
-0.026805240660905838,
0.05082976818084717,
0.021979887038469315,
-0.005216389894485474,
0.03841879963874817,
-0.00020222774764988571,
-0.0225728340446949,
0.011961148120462894,
0.026723453775048256,
-0.04152665287256241,
0.014108020812273026,
0.035024695098400116,
-0.03279603645205498,
-0.012216728180646896,
0.0006472565582953393,
0.02289997600018978,
0.006343497894704342,
-0.042978350073099136,
-0.04485941678285599,
-0.0157335102558136,
-0.016796723008155823,
0.0017328329849988222,
0.014833868481218815,
-0.035147372633218765,
-0.03406371548771858,
-0.03353210911154747,
-0.02833872102200985,
-0.013361726887524128,
0.008117224089801311,
0.05037994682788849,
0.002859941218048334,
0.025598902255296707,
-0.005730105563998222,
0.001019125571474433,
0.03187594935297966,
0.0007386264624074101,
0.08256259560585022,
0.026478096842765808,
0.016132215037941933,
-0.05790422484278679,
0.012881237082183361,
-0.018902704119682312,
-0.0075498358346521854,
-0.005735217127948999,
0.041015494614839554,
-0.020855335518717766,
-0.04804905876517296,
0.03177371621131897,
-0.07368884980678558,
-0.041322190314531326,
-0.026396311819553375,
-0.051647625863552094,
-0.05082976818084717,
0.04768102243542671,
-0.05123869702219963,
-0.03218264505267143,
-0.03099675290286541,
0.019884131848812103,
0.04935762658715248,
-0.05610494315624237,
0.004988923203200102,
-0.0830124169588089,
-0.024842385202646255,
0.06309761106967926,
0.03774406760931015,
0.013862663879990578,
-0.029688183218240738,
0.011797577142715454,
0.06551028788089752,
-0.019107168540358543,
0.07209403067827225,
-0.0051576062105596066,
-0.001122635556384921,
-0.028645416721701622,
0.04616798833012581,
0.0013890777481719851,
0.021979887038469315,
0.002002469962462783,
-0.02004770189523697,
-0.026069169864058495,
-0.008234790526330471,
0.044450487941503525,
-0.004738454706966877,
0.03684442490339279,
0.018289310857653618,
-0.057045478373765945,
-0.0025698577519506216,
0.012462085112929344,
-0.04175156354904175,
0.039890941232442856,
0.0005210639210417867,
-0.025414884090423584,
0.021509621292352676,
0.03829612210392952,
-0.0009347841842100024,
-0.07176689058542252,
0.015805073082447052,
0.034922461956739426,
0.04017718881368637,
0.03897085413336754,
-0.017880383878946304,
-0.01726699061691761,
-0.03142612800002098,
0.0684545710682869,
0.024597028270363808,
-0.020088594406843185,
0.048744235187768936,
0.0323462150990963,
-0.05500083416700363,
0.04629066586494446,
0.036047015339136124,
-0.039890941232442856,
-0.06661439687013626,
-0.01329016499221325,
-0.06980403512716293,
0.03982960060238838,
-0.00913954433053732,
0.025537563487887383,
-0.015631278976798058,
0.01649002730846405,
-0.02267506532371044
] |
21,640 | auto_gptq.modeling._base | __post_init__ | null | def __post_init__(self):
fields_info = fields(self)
if self.bits not in fields_info[0].metadata["choices"]:
raise ValueError(f"only support quantize to {fields_info[0].metadata['choices']} bits.")
if self.group_size != -1 and self.group_size <= 0:
raise ValueError("unless equal to -1, group_size must greater then 0.")
if not (0 < self.damp_percent < 1):
raise ValueError("damp_percent must between 0 and 1.")
| (self) | [
0.0398494154214859,
0.005188342183828354,
-0.005087061319500208,
0.023718135431408882,
-0.040512342005968094,
-0.02666448801755905,
0.0236076470464468,
-0.048909448087215424,
-0.005068646743893623,
-0.004154817201197147,
0.03539305552840233,
0.08500225841999054,
0.022005567327141762,
0.015505178831517696,
0.008212956599891186,
0.02771412581205368,
-0.01955641247332096,
0.039702095091342926,
0.05738021060824394,
0.018064821138978004,
-0.03224414214491844,
0.004925932735204697,
-0.028726933524012566,
0.06636658310890198,
0.0392601415514946,
0.1073208823800087,
0.007840058766305447,
-0.0069101168774068356,
0.0046773343347013,
0.018792202696204185,
-0.028229737654328346,
0.051045551896095276,
0.02526497095823288,
0.0791095569729805,
0.004645108245313168,
-0.056938257068395615,
0.00579602736979723,
-0.0005219416925683618,
-0.1373736709356308,
0.05966363102197647,
0.030955113470554352,
-0.05741703882813454,
0.03395671024918556,
0.00044022646034136415,
-0.030807795003056526,
-0.016517987474799156,
-0.0020002969540655613,
0.03533781319856644,
-0.03307280316948891,
-0.04386381804943085,
0.017015183344483376,
0.04622089862823486,
0.02568850852549076,
0.031304992735385895,
-0.038597214967012405,
0.05837460234761238,
0.041801370680332184,
0.08227688819169998,
-0.0014156302204355597,
0.03918648511171341,
-0.07387977838516235,
0.06555633991956711,
-0.017245367169380188,
-0.08934812992811203,
-0.006946946028620005,
-0.01968531496822834,
-0.03329377993941307,
0.0013903100043535233,
-0.030329013243317604,
0.060805343091487885,
-0.008866678923368454,
-0.004361982457339764,
-0.029666084796190262,
0.0711175799369812,
0.03995990380644798,
-0.04297991469502449,
-0.027990346774458885,
0.010072841309010983,
0.023276181891560555,
-0.012678521685302258,
0.02476777322590351,
0.032594021409749985,
0.01735585555434227,
-0.029592424631118774,
-0.00043763688881881535,
-0.028284981846809387,
0.004168628249317408,
0.03419610112905502,
0.06235218048095703,
0.0016412102850154042,
-0.058963872492313385,
-0.01881982572376728,
0.0196300707757473,
0.06268364191055298,
-0.003420530818402767,
0.02563326433300972,
-0.02716168388724327,
-0.02073495462536812,
-0.05424971133470535,
0.02513606660068035,
-0.02600155770778656,
-0.025283385068178177,
0.010201744735240936,
-0.04132258892059326,
0.017401892691850662,
-0.03769489377737045,
0.01822134666144848,
-0.040622830390930176,
-0.02047714777290821,
-0.03316487744450569,
0.03531939908862114,
-0.016969148069620132,
-0.03404878452420235,
0.05075091868638992,
-0.06835537403821945,
-0.01152760349214077,
-0.006587859243154526,
-0.02845071442425251,
0.026296192780137062,
-0.0024583626072853804,
-0.010137293487787247,
0.011131687089800835,
-0.03508000448346138,
0.058521922677755356,
0.04493186995387077,
0.04437943175435066,
0.020992759615182877,
0.02305520698428154,
-0.005087061319500208,
0.007425728254020214,
0.06662438809871674,
-0.018967142328619957,
-0.02244752086699009,
-0.001567551400512457,
-0.02660924382507801,
-0.02005361020565033,
0.06198388338088989,
0.009492778219282627,
-0.021176906302571297,
0.019335435703396797,
0.021048003807663918,
0.030439501628279686,
0.042722105979919434,
-0.024491552263498306,
0.0118038235232234,
0.04699431732296944,
0.004286021925508976,
-0.009999183006584644,
-0.02850595861673355,
-0.021784592419862747,
-0.03097352758049965,
0.01815689541399479,
-0.01149998139590025,
-0.02648034133017063,
0.016223352402448654,
-0.024307405576109886,
0.016895487904548645,
-0.06629292666912079,
0.017650490626692772,
0.014096453785896301,
0.0010530907893553376,
-0.01863567717373371,
0.012503582052886486,
0.013341451063752174,
-0.005570447072386742,
0.043200887739658356,
-0.008949545212090015,
-0.085812509059906,
0.019795803353190422,
0.05078774690628052,
0.03531939908862114,
-0.03944429010152817,
-0.03629537671804428,
0.0034872840624302626,
-0.05354995280504227,
0.058963872492313385,
0.013203340582549572,
-0.007365880534052849,
-0.03439866378903389,
-0.04728895425796509,
0.03589025139808655,
-0.0034251343458890915,
-0.025854241102933884,
0.021011173725128174,
0.042464300990104675,
-0.011177723295986652,
-0.00008473639900330454,
0.012273398227989674,
-0.0017401892691850662,
0.0048568774946033955,
0.04850432276725769,
-0.024546796455979347,
-0.031433895230293274,
-0.05649630352854729,
0.007255392149090767,
-0.02992388978600502,
0.028100835159420967,
-0.052776534110307693,
0.05052994191646576,
0.039591606706380844,
-0.017760979011654854,
-0.061099980026483536,
0.007494783494621515,
-0.03231780230998993,
-0.03456439450383186,
0.019243363291025162,
0.004564544185996056,
0.01722695305943489,
-0.01198797021061182,
-0.042906254529953,
-0.04250112920999527,
-0.020679710432887077,
0.0036069797351956367,
0.04058600217103958,
0.01754000224173069,
-0.04879895970225334,
0.06655073165893555,
-0.03305438905954361,
-0.023773379623889923,
0.048909448087215424,
0.09509351849555969,
0.01576298475265503,
-0.0039016148075461388,
-0.029942303895950317,
0.03287024050951004,
0.017245367169380188,
0.0017102654092013836,
0.02471252903342247,
-0.018608056008815765,
0.015017189085483551,
-0.04493186995387077,
0.050124816596508026,
-0.06213120371103287,
0.004297530744224787,
-0.024178503081202507,
0.07303270697593689,
0.05789582058787346,
-0.026535585522651672,
-0.0705283060669899,
-0.01251279003918171,
0.016471950337290764,
-0.02305520698428154,
-0.040070388466119766,
0.021158492192626,
-0.016517987474799156,
-0.042316984385252,
0.005791423376649618,
0.033883050084114075,
-0.0029693706892430782,
0.009851865470409393,
-0.04268527776002884,
-0.030144866555929184,
-0.033883050084114075,
0.00987027958035469,
0.028303395956754684,
0.005842064041644335,
-0.00038498235517181456,
-0.018322627991437912,
0.04268527776002884,
-0.03981258347630501,
-0.007393502630293369,
-0.04183820262551308,
-0.012531204149127007,
0.04386381804943085,
-0.01673896424472332,
0.02815607748925686,
0.060805343091487885,
-0.0046888431534171104,
-0.005630294792354107,
0.015007982030510902,
0.07918321341276169,
0.031102430075407028,
-0.009156710468232632,
-0.0008367180125787854,
-0.025927899405360222,
-0.021545201539993286,
0.032778169959783554,
-0.0005527287721633911,
-0.025283385068178177,
0.04452674835920334,
0.09155789762735367,
-0.0018529793014749885,
0.034987933933734894,
0.03171011433005333,
-0.031102430075407028,
0.01376498956233263,
0.0017620567232370377,
-0.001221124897710979,
-0.01392151415348053,
-0.01771494187414646,
-0.07027050107717514,
0.036276962608098984,
0.04213283583521843,
0.020127268508076668,
0.03662684187293053,
-0.08080370724201202,
0.02036665938794613,
-0.016886280849575996,
0.005713161081075668,
0.009796621277928352,
-0.0254491176456213,
-0.05789582058787346,
0.011638090945780277,
0.0649670660495758,
-0.03323853760957718,
-0.017558418214321136,
0.07306953519582748,
-0.0038924075197428465,
0.02447313815355301,
-0.024878261610865593,
0.004343567881733179,
0.09030569344758987,
0.021913494914770126,
0.01290870551019907,
0.051413845270872116,
0.02255800925195217,
0.04463723674416542,
-0.006795024964958429,
-0.02539387345314026,
0.05568605661392212,
-0.024141672998666763,
-0.010155707597732544,
-0.018875068053603172,
-0.01517371367663145,
-0.04235381260514259,
-0.04323771968483925,
0.0060768513940274715,
-0.023626061156392097,
-0.024933505803346634,
0.001729830983094871,
-0.0987027958035469,
0.003554037306457758,
0.0441584549844265,
-0.016343047842383385,
-0.010284611023962498,
-0.03029218316078186,
0.007596064358949661,
-0.0680975690484047,
-0.02250276505947113,
-0.033385854214429855,
0.020882271230220795,
-0.01808323711156845,
0.0037381844595074654,
0.02244752086699009,
0.038302578032016754,
-0.02152678556740284,
0.0337173193693161,
-0.06603512167930603,
0.0717068463563919,
0.04253796115517616,
-0.02121373638510704,
-0.0343250036239624,
0.01290870551019907,
0.011435529217123985,
0.06249949708580971,
-0.05421287938952446,
-0.00435507670044899,
-0.00325710023753345,
-0.026995951309800148,
0.02110324800014496,
0.09789255261421204,
0.00158251344691962,
0.0077019487507641315,
0.02171093225479126,
0.004058139864355326,
-0.04434259980916977,
-0.02257642336189747,
-0.005436940584331751,
0.01290870551019907,
0.007352069485932589,
0.006781213916838169,
-0.052702873945236206,
-0.0508982352912426,
-0.03305438905954361,
0.017586039379239082,
0.0325203612446785,
-0.026701316237449646,
0.05531776323914528,
-0.02716168388724327,
-0.017576832324266434,
-0.012835047207772732,
-0.012641692534089088,
-0.0717068463563919,
0.024491552263498306,
-0.019758975133299828,
-0.02600155770778656,
-0.00539550743997097,
0.041433077305555344,
0.02520972676575184,
-0.013175718486309052,
0.013304621912539005,
0.011914311908185482,
-0.0007527009001933038,
-0.027622051537036896,
-0.022116055712103844,
0.017576832324266434,
-0.0013465750962495804,
-0.020827027037739754,
-0.013939929194748402,
0.007669723127037287,
-0.03629537671804428,
-0.04990383982658386,
-0.07365880906581879,
0.059332169592380524,
0.005059439223259687,
-0.024233747273683548,
0.02513606660068035,
0.007950547151267529,
0.024325819686055183,
0.01407803874462843,
0.01981421932578087,
0.015726154670119286,
0.0003884351172018796,
0.015588045120239258,
-0.04158039391040802,
-0.038228921592235565,
-0.01955641247332096,
-0.06570365279912949,
-0.02029300108551979,
-0.011214553378522396,
0.010441135615110397,
0.047252122312784195,
0.012208946980535984,
0.011168516241014004,
0.026388267055153847,
-0.008613476529717445,
-0.02311044931411743,
0.040512342005968094,
-0.005331056192517281,
0.011886689811944962,
-0.030384257435798645,
0.06272047013044357,
-0.05955314263701439,
-0.02705119550228119,
0.04010722041130066,
-0.024638870730996132,
-0.07152269780635834,
0.015136884525418282,
-0.030439501628279686,
-0.008852867409586906,
0.02889266610145569,
-0.04408479481935501,
0.07030732929706573,
-0.026646072044968605,
0.051597993820905685,
-0.04655236378312111,
0.014814627356827259,
0.024638870730996132,
-0.049940671771764755,
-0.037013549357652664,
-0.019906291738152504,
0.03500634804368019,
0.028229737654328346,
-0.013875477947294712,
0.02613046206533909,
0.004631297197192907,
-0.03903916850686073,
-0.03410402685403824,
0.015606459230184555,
-0.06946025043725967,
-0.005358678288757801,
0.013230962678790092,
-0.08816958963871002,
0.018074030056595802,
0.02195032313466072,
0.11726481467485428,
0.0006525709759443998,
0.013663708232343197,
-0.012549619190394878,
0.03307280316948891,
-0.03962843865156174,
0.023276181891560555,
0.041175272315740585,
-0.004152514971792698,
-0.02047714777290821,
-0.0257621668279171,
0.008111676201224327,
0.02274215593934059,
-0.01581822894513607,
-0.04073331877589226,
0.09546181559562683,
-0.010109671391546726,
0.040512342005968094,
0.010560831055045128,
-0.025891069322824478,
-0.05384458601474762,
-0.050124816596508026,
-0.014593650586903095,
-0.018792202696204185,
0.016269389539957047,
-0.043679673224687576,
-0.03579818084836006,
0.05097189173102379,
0.034619636833667755,
-0.00295786140486598,
0.009386894293129444,
0.013111267238855362,
0.018129274249076843,
0.05174531042575836,
-0.00010487747931620106,
0.010450342670083046,
0.024565212428569794,
-0.03287024050951004,
-0.039517950266599655,
-0.013838647864758968,
-0.05634898692369461,
-0.008700946345925331,
0.037547577172517776,
0.028837421908974648,
-0.01171175017952919,
-0.029831815510988235,
-0.03353317081928253,
0.02073495462536812,
0.026995951309800148,
0.04677334055304527,
0.023699721321463585,
-0.02870851941406727,
0.01570774056017399,
-0.03570610657334328,
0.04655236378312111,
0.02347874455153942,
0.030329013243317604,
0.00295095588080585,
-0.06695585697889328,
0.0011353814043104649,
0.010385891422629356,
-0.0312865786254406,
-0.053144827485084534,
0.0527397058904171,
-0.016711341217160225,
0.041359420865774155,
-0.08787495642900467,
0.035779763013124466,
0.04198551923036575,
-0.025927899405360222,
0.05100872367620468,
-0.018552811816334724,
0.039702095091342926,
-0.02218971587717533,
-0.024675698950886726,
-0.009359272196888924,
0.035779763013124466,
0.060621198266744614,
-0.045226506888866425,
0.016352254897356033,
0.02495191991329193,
0.0007653610082343221,
0.04242747277021408,
0.02244752086699009,
-0.024675698950886726,
-0.0004652589268516749,
0.003466567490249872,
0.0024514570832252502,
-0.05075091868638992,
0.08839056640863419,
0.0038509743753820658,
0.04518967866897583,
0.02336825616657734,
0.07756271958351135,
-0.004852273967117071,
-0.01410566084086895,
-0.035356227308511734,
0.012770595028996468,
-0.015588045120239258,
-0.047915052622556686,
-0.07071245461702347,
-0.014096453785896301,
-0.005653313361108303,
-0.02073495462536812,
-0.003160423133522272,
0.0007222015410661697,
-0.02274215593934059,
-0.02808241918683052,
0.045999925583601,
-0.005648709833621979,
-0.05513361468911171,
-0.044047966599464417,
0.0015664005186408758,
-0.05358678102493286,
-0.03948111832141876,
0.006284016650170088,
-0.00013012575800530612,
-0.018423909321427345,
-0.05531776323914528,
0.002495191991329193,
-0.03403036668896675,
-0.000991516630165279,
-0.00633005378767848,
0.003353777574375272,
0.0278982724994421,
-0.01955641247332096,
0.006896305829286575,
-0.01661926880478859,
-0.03386463597416878,
-0.023128865286707878,
0.0029302393086254597,
-0.04349552467465401,
-0.09479888528585434,
-0.0028266566805541515,
-0.0031281975097954273,
-0.01999836601316929,
0.032041579484939575,
-0.04979335144162178,
0.00888969749212265,
0.05553874000906944,
-0.023699721321463585,
-0.019206533208489418,
0.06272047013044357,
-0.002285724738612771,
-0.05237141251564026,
0.010689734481275082,
0.04349552467465401,
-0.01913287490606308,
-0.0024123259354382753,
-0.03999673202633858,
-0.08271884173154831,
-0.02139788307249546,
-0.012291813269257545,
0.05432336777448654,
0.033569999039173126,
-0.07167001813650131,
0.057122401893138885,
-0.019943121820688248,
0.051597993820905685,
-0.04957237467169762,
-0.06095265969634056,
0.0013891590060666203,
-0.060731686651706696,
-0.04139624908566475,
-0.048099201172590256,
0.04297991469502449,
0.0027138665318489075,
0.03377256169915199,
-0.0619470551609993,
-0.060252901166677475,
0.010800221934914589,
-0.011334248818457127,
0.01759524643421173,
0.02255800925195217,
0.040438685566186905,
0.028340226039290428,
0.03408561274409294,
0.006491182371973991,
0.02005361020565033,
-0.002337516052648425,
-0.009907109662890434,
-0.08345542848110199,
-0.05145067721605301,
0.012301020324230194,
-0.039517950266599655,
-0.030513159930706024,
0.025154482573270798,
-0.000006123247658251785,
-0.052776534110307693,
0.0006750138709321618,
-0.038413066416978836,
0.028377054259181023,
0.02066129446029663,
-0.01275218091905117,
-0.025412287563085556,
-0.05819045752286911,
0.006896305829286575,
0.07402709871530533,
-0.013046815991401672,
0.06382535398006439,
0.021600443869829178,
0.021692518144845963,
-0.04677334055304527,
-0.051671650260686874,
-0.014658101834356785,
-0.03460122272372246,
-0.007094263564795256,
-0.008664117194712162,
0.02292630262672901,
0.0007895303424447775,
0.02421533316373825,
0.005791423376649618,
-0.010441135615110397,
0.05347629263997078,
0.023073621094226837,
0.04585260525345802,
0.004787822254002094,
-0.04949871823191643,
0.019335435703396797,
0.020937515422701836,
0.013092853128910065,
-0.06820805370807648,
0.00470495643094182,
-0.022613253444433212,
-0.01499877404421568,
0.020145682618021965,
-0.02802717499434948,
-0.0044057173654437065,
-0.003913124091923237,
-0.04279576614499092,
-0.022465934976935387,
-0.026333022862672806,
0.021545201539993286,
0.02452838234603405,
0.02213447168469429,
0.047915052622556686,
-0.03270450979471207,
-0.028653275221586227,
0.04607358202338219,
-0.018000369891524315,
-0.004605977330356836,
-0.05944265425205231,
0.03263084962964058,
0.03194950520992279,
-0.01992470771074295,
0.038781359791755676,
0.11144576966762543,
-0.0521136038005352,
-0.050566770136356354,
-0.03224414214491844,
0.04618407040834427,
0.011766994372010231,
0.0839710384607315,
-0.026535585522651672,
-0.01410566084086895,
-0.011306626722216606,
0.003913124091923237,
-0.036148060113191605,
-0.014685723930597305,
-0.021066417917609215,
0.027935102581977844,
-0.012521997094154358,
-0.03962843865156174,
0.044674064964056015,
-0.0282113216817379,
0.018497567623853683,
0.021747762337327003,
-0.04511601850390434,
-0.015339446254074574,
-0.02281581424176693,
-0.03714245185256004,
0.026093631982803345,
0.028598031029105186,
0.044674064964056015,
0.018313420936465263,
0.0723697766661644,
0.0035954704508185387,
0.05531776323914528,
0.005280415527522564,
-0.002031371695920825,
0.06470926105976105,
0.002481380943208933,
0.003611583262681961,
-0.02126898057758808,
-0.0072139594703912735,
0.03745550289750099,
0.012061629444360733,
0.03428817540407181,
0.037510745227336884,
0.007895302958786488,
-0.050124816596508026,
0.027990346774458885,
-0.009575644508004189,
-0.008157712407410145,
-0.009327046573162079,
-0.013194133527576923,
-0.028358640149235725,
0.04526333510875702,
0.04183820262551308,
-0.0033860031981021166,
0.05697508528828621,
0.0275852233171463,
-0.024178503081202507
] |
21,641 | auto_gptq.modeling._base | __repr__ | null | def __init__(
self,
model: PreTrainedModel,
quantized: bool,
quantize_config: BaseQuantizeConfig,
is_triton_backend: bool = False,
injected_fused_attention: bool = False,
injected_fused_mlp: bool = False,
trainable: bool = False,
):
super().__init__()
self.model = model
self.model_type = self.model.config.model_type
self._quantized = quantized
self.quantize_config = quantize_config
self.config = self.model.config
self.is_triton_backend = is_triton_backend
self.injected_fused_attention = injected_fused_attention
self.injected_fused_mlp = injected_fused_mlp
self.trainable = trainable
| (self) | [
-0.012214249931275845,
-0.06211487576365471,
-0.0340530201792717,
0.026824967935681343,
0.017896195873618126,
0.02220597118139267,
-0.05152403563261032,
-0.0030970468651503325,
0.002642877632752061,
-0.01673661544919014,
0.01528713945299387,
0.04344562441110611,
-0.002272053388878703,
0.04286583513021469,
-0.013248209841549397,
0.012040313333272934,
0.04464385658502579,
-0.02796522155404091,
0.061032600700855255,
-0.03961900994181633,
0.008489097468554974,
-0.0051842923276126385,
-0.040739934891462326,
0.04255661368370056,
0.04066263139247894,
0.04472116380929947,
-0.009924078360199928,
-0.019509945064783096,
0.02740475721657276,
0.02379073202610016,
-0.024873007088899612,
0.051601342856884,
-0.0015074549010023475,
0.05770846828818321,
0.029453350231051445,
-0.005652956198900938,
0.0064694941975176334,
0.03409167379140854,
-0.12237442284822464,
-0.006996137090027332,
0.011789070442318916,
-0.07703481614589691,
0.04924352839589119,
-0.0026307988446205854,
-0.06149643287062645,
0.00882730819284916,
-0.016504699364304543,
0.04661514610052109,
0.028197137638926506,
-0.01864992268383503,
-0.0303037092089653,
0.026496419683098793,
0.015944235026836395,
0.05500277876853943,
-0.06667589396238327,
-0.013760358095169067,
0.00818953849375248,
0.01900746114552021,
-0.009334624744951725,
0.06420212239027023,
-0.03521260246634483,
0.030709562823176384,
0.03700995072722435,
-0.004870239179581404,
0.03455550596117973,
-0.03063225746154785,
-0.07463834434747696,
-0.0011118687689304352,
0.0062955571338534355,
0.010977364145219326,
0.03250691294670105,
-0.05894535407423973,
-0.007996275089681149,
0.08194370567798615,
0.010716458782553673,
-0.05446164309978485,
-0.035869698971509933,
-0.020215356722474098,
-0.009363614022731781,
-0.0008557947585359216,
0.026844294741749763,
0.004346012137830257,
-0.000020439874788280576,
-0.05314745008945465,
-0.024911658838391304,
-0.08024298399686813,
0.013489789329469204,
-0.016350088641047478,
0.02674766257405281,
0.026457766070961952,
-0.06791277974843979,
0.059370532631874084,
-0.002925525652244687,
0.02570403926074505,
0.01799282804131508,
0.013586420565843582,
-0.012600777670741081,
-0.03635285422205925,
-0.03157924860715866,
-0.00435567507520318,
-0.03606295958161354,
0.08673664182424545,
-0.05956379696726799,
-0.055814485996961594,
-0.015403097495436668,
-0.03700995072722435,
-0.06246274709701538,
-0.030187752097845078,
-0.012542798183858395,
-0.030187752097845078,
0.01381833665072918,
0.027308126911520958,
-0.025955282151699066,
0.04638322815299034,
-0.02348151057958603,
-0.0064549995586276054,
-0.015364444814622402,
-0.03544451668858528,
0.01466869655996561,
0.014852296561002731,
-0.0470016710460186,
0.03896191343665123,
-0.02638046070933342,
0.011489512398838997,
-0.007981780916452408,
0.007334348279982805,
0.06377694010734558,
0.029820550233125687,
0.010977364145219326,
-0.06404750794172287,
0.03059360571205616,
-0.03179183974862099,
0.009266982786357403,
0.03277748078107834,
-0.010494205169379711,
-0.018891502171754837,
0.020795147866010666,
0.04217008501291275,
-0.058713436126708984,
0.07572062313556671,
0.045223649591207504,
0.04526229947805405,
0.009566540829837322,
-0.01673661544919014,
-0.010813090018928051,
0.014079242944717407,
-0.07286032289266586,
-0.08240753412246704,
0.00175265793222934,
-0.053263407200574875,
0.02411927841603756,
-0.011460523121058941,
-0.021510222926735878,
0.016301771625876427,
-0.016920216381549835,
-0.006372862495481968,
0.008899781852960587,
-0.03770570084452629,
0.045223649591207504,
0.033028725534677505,
-0.020988410338759422,
0.015982888638973236,
0.04901161044836044,
-0.02765600010752678,
-0.057476550340652466,
-0.01772225834429264,
-0.0740199014544487,
-0.05059637129306793,
0.00027056882390752435,
0.04124242067337036,
0.032062407582998276,
-0.030187752097845078,
-0.007131421472877264,
0.02897019125521183,
-0.026496419683098793,
0.05113751068711281,
0.04213143140077591,
0.014842633157968521,
-0.033608514815568924,
-0.013982610777020454,
0.050093889236450195,
-0.026824967935681343,
-0.054886821657419205,
-0.022766435518860817,
-0.006430841516703367,
0.02346218377351761,
-0.00427112216129899,
0.0029231098014861345,
0.01675594225525856,
0.025839323177933693,
0.05639427527785301,
-0.007295695599168539,
0.006928494665771723,
-0.052335742861032486,
-0.0366814024746418,
0.0038749321829527617,
0.05287688225507736,
-0.021413590759038925,
-0.022437887266278267,
0.05964110046625137,
0.010813090018928051,
-0.015528718940913677,
0.03521260246634483,
-0.0009808120084926486,
-0.03374379873275757,
0.006411515176296234,
0.0005323804216459394,
0.023674773052334785,
-0.02933739311993122,
-0.018562955781817436,
-0.014591391198337078,
-0.014262842945754528,
0.012823030352592468,
0.05542795732617378,
0.03449752554297447,
-0.015093876048922539,
-0.016668973490595818,
0.05221978574991226,
0.012049976736307144,
0.0002530543424654752,
0.1036665141582489,
0.005962177645415068,
-0.006343872752040625,
0.012842356227338314,
0.0027250146958976984,
0.0042662909254431725,
0.04993927851319313,
0.004275953862816095,
-0.009537551552057266,
-0.02800387516617775,
-0.04982331767678261,
0.01176008116453886,
-0.012803703546524048,
0.057476550340652466,
-0.009088213555514812,
0.0018468738999217749,
-0.003698579268530011,
0.0055708191357553005,
-0.09748208522796631,
-0.0527222715318203,
0.02862231805920601,
0.0023155377712100744,
-0.008798318915069103,
-0.014282169751822948,
-0.018466323614120483,
-0.01642739400267601,
0.009223498404026031,
0.050403110682964325,
-0.030013814568519592,
-0.016311435028910637,
0.022090012207627296,
0.010465215891599655,
-0.03308670222759247,
0.03643016144633293,
-0.0007102431845851243,
-0.011045006103813648,
0.01642739400267601,
-0.07386529445648193,
0.02122032828629017,
-0.005092491861432791,
-0.027192167937755585,
-0.05017119273543358,
0.008402128703892231,
0.06996136903762817,
-0.020060745999217033,
-0.018128111958503723,
-0.01240751426666975,
0.026670357212424278,
0.00676905270665884,
-0.0035560475662350655,
0.17471016943454742,
0.002734677866101265,
-0.005672282539308071,
0.02417725883424282,
-0.009523056447505951,
-0.062269486486911774,
-0.043677542358636856,
0.007136253174394369,
-0.04916622117161751,
0.05051906779408455,
0.04178356006741524,
-0.06168969348073006,
0.04379349946975708,
-0.0028168149292469025,
-0.00685118930414319,
-0.033666495233774185,
-0.011837386526167393,
0.010262289084494114,
-0.0010587213328108191,
-0.03648814186453819,
-0.05770846828818321,
0.03648814186453819,
0.028235791251063347,
0.03374379873275757,
0.04997792840003967,
-0.11093322187662125,
-0.0361209399998188,
0.04993927851319313,
0.02127830684185028,
-0.017509669065475464,
0.022669803351163864,
-0.01839868165552616,
0.0003584432997740805,
0.009097876958549023,
0.0036285214591771364,
-0.013112924993038177,
0.023945342749357224,
0.01765461638569832,
-0.009924078360199928,
-0.021974055096507072,
0.04209278151392937,
0.044566553086042404,
0.03125070035457611,
0.017161794006824493,
-0.003345873672515154,
-0.020369967445731163,
-0.00676905270665884,
-0.04692436754703522,
0.02893153950572014,
0.0192780289798975,
-0.014688022434711456,
0.03544451668858528,
0.009025403298437595,
-0.013576758094131947,
-0.025201555341482162,
-0.040082842111587524,
0.031385984271764755,
-0.0266896840184927,
-0.051369424909353256,
0.018292386084794998,
-0.03501933813095093,
0.06524574011564255,
0.006773883942514658,
0.010755111463367939,
-0.10358921438455582,
-0.03985092416405678,
0.019075103104114532,
0.0463445782661438,
-0.01123826950788498,
-0.009696993976831436,
0.0366814024746418,
-0.008300665766000748,
-0.026496419683098793,
0.05175595358014107,
-0.04441194236278534,
-0.01742270030081272,
-0.01403092686086893,
-0.037570416927337646,
0.07255110144615173,
0.017838217318058014,
-0.023616794496774673,
-0.02025401033461094,
0.02732745185494423,
0.04418002441525459,
0.040739934891462326,
-0.0031912627164274454,
-0.054229725152254105,
-0.01433048490434885,
-0.02800387516617775,
-0.02247653901576996,
0.021664833649992943,
0.0016113340388983488,
-0.03708725795149803,
0.061303168535232544,
0.011605470441281796,
-0.013373831287026405,
0.02442849986255169,
-0.01270707231014967,
0.017239099368453026,
0.030091119930148125,
-0.01321922056376934,
-0.048818349838256836,
0.008696855045855045,
0.022940371185541153,
0.03192712366580963,
0.006261736154556274,
-0.03387908264994621,
0.02027333714067936,
-0.002940020291134715,
0.03641083464026451,
0.017239099368453026,
0.030767541378736496,
0.037222541868686676,
-0.007972117513418198,
0.01013666857033968,
-0.008725845254957676,
-0.01732606813311577,
0.022940371185541153,
0.05438433587551117,
-0.02773330546915531,
-0.013083935715258121,
-0.04499173164367676,
-0.039734967052936554,
-0.0013214388163760304,
0.0069188317283988,
-0.010474879294633865,
-0.019509945064783096,
0.05059637129306793,
-0.021394263952970505,
-0.01609884575009346,
-0.007991444319486618,
-0.022766435518860817,
0.042324695736169815,
0.031695205718278885,
-0.006421178113669157,
0.005986335687339306,
0.024873007088899612,
0.042633917182683945,
0.03246825933456421,
0.01158614456653595,
0.015934571623802185,
0.030980132520198822,
-0.0520651750266552,
0.018437333405017853,
-0.06733299046754837,
0.0417449064552784,
0.0316179022192955,
-0.06273331493139267,
-0.005305082071572542,
0.013412483967840672,
0.04379349946975708,
0.06601879745721817,
0.0010538897477090359,
-0.028216464444994926,
0.036893993616104126,
0.05055772140622139,
0.003865269012749195,
0.08457208424806595,
0.028776928782463074,
-0.038208186626434326,
-0.018205417320132256,
0.018118448555469513,
0.0013492205180227757,
0.014610717073082924,
0.006570957601070404,
0.0450303852558136,
0.030806194990873337,
-0.043600235134363174,
-0.035599127411842346,
0.026593051850795746,
-0.026612378656864166,
-0.05709002539515495,
0.014591391198337078,
0.02547212317585945,
0.016475709155201912,
-0.0066772522404789925,
-0.03981227055191994,
0.04317505657672882,
-0.03376312553882599,
-0.011711765080690384,
0.026786314323544502,
0.038749322295188904,
0.011711765080690384,
-0.009465077891945839,
0.004150332883000374,
-0.05044176056981087,
-0.0039425743743777275,
-0.002371100941672921,
0.003935327287763357,
-0.021374939009547234,
0.008063917979598045,
0.04495307803153992,
-0.023056330159306526,
-0.026303155347704887,
0.026824967935681343,
0.07672559469938278,
0.018504975363612175,
0.009262151084840298,
-0.05353397876024246,
-0.015122865326702595,
0.018485648557543755,
0.015209834091365337,
0.02386803738772869,
-0.007962454110383987,
-0.05593044310808182,
0.014311159029603004,
-0.00854224432259798,
-0.006179599091410637,
0.02218664437532425,
-0.019509945064783096,
0.059099964797496796,
-0.03697129711508751,
0.015209834091365337,
0.03382110595703125,
-0.0029786729719489813,
0.012832693755626678,
-0.022128665819764137,
-0.022418560460209846,
0.03768637403845787,
0.021316958591341972,
-0.06087798997759819,
0.039116524159908295,
0.04928218200802803,
0.025607407093048096,
-0.01156681776046753,
0.018157102167606354,
0.0157606340944767,
0.020138051360845566,
0.048161253333091736,
0.028448380529880524,
0.05693541467189789,
-0.021181674674153328,
-0.008247517980635166,
-0.0018190923146903515,
0.009687330573797226,
-0.013924632221460342,
-0.07498621940612793,
0.02321094088256359,
-0.041976820677518845,
-0.006261736154556274,
-0.0028965361416339874,
0.0034763263538479805,
0.0010744240134954453,
-0.019393987953662872,
0.012542798183858395,
-0.032023753970861435,
-0.041397031396627426,
-0.0050055235624313354,
-0.010977364145219326,
0.029066823422908783,
0.0011692439438775182,
0.07054115831851959,
0.045880742371082306,
-0.04418002441525459,
-0.005416208412498236,
0.02574269287288189,
0.0347101166844368,
0.007508285343647003,
0.112015500664711,
0.029549982398748398,
0.013296525925397873,
-0.06779681891202927,
-0.062308136373758316,
0.0661347508430481,
0.001540068187750876,
0.02933739311993122,
-0.021027063950896263,
-0.015490066260099411,
0.03952237591147423,
-0.043677542358636856,
-0.0009427632903680205,
-0.0003980019246228039,
0.026515746489167213,
-0.012001660652458668,
-0.017925186082720757,
0.0008853882318362594,
0.002507593249902129,
0.09570406377315521,
-0.05322475731372833,
0.0043097748421132565,
-0.03024573065340519,
-0.031038111075758934,
-0.008146055042743683,
-0.042981792241334915,
0.059988975524902344,
-0.013248209841549397,
0.04159029573202133,
-0.0068560210056602955,
0.01935533434152603,
0.046847060322761536,
-0.007624243386089802,
0.01996411569416523,
0.016949204728007317,
0.011141638271510601,
0.013248209841549397,
0.004002969246357679,
-0.04742685332894325,
-0.03130868077278137,
-0.05129212141036987,
-0.027192167937755585,
0.05678080394864082,
-0.07459969073534012,
-0.024312542751431465,
0.050750982016325,
-0.06988406181335449,
-0.031057437881827354,
-0.012852019630372524,
0.04097185283899307,
-0.01403092686086893,
-0.02319161407649517,
0.005773745942860842,
0.015944235026836395,
-0.014233853667974472,
-0.002317953621968627,
-0.007097600493580103,
-0.06176700070500374,
0.027810610830783844,
0.0340530201792717,
-0.016234129667282104,
-0.01678493060171604,
-0.03376312553882599,
0.028525685891509056,
0.001809429144486785,
-0.010165657848119736,
0.021954728290438652,
-0.0417449064552784,
-0.07293763011693954,
-0.07889014482498169,
0.018195753917098045,
0.010213973931968212,
-0.03155992180109024,
0.003831448033452034,
0.009856436401605606,
-0.009334624744951725,
-0.0032154207583516836,
-0.05774712190032005,
-0.08905579894781113,
0.07780786603689194,
-0.014765327796339989,
-0.02773330546915531,
-0.006899505387991667,
0.02572336606681347,
-0.04383215308189392,
-0.04027610272169113,
-0.011189954355359077,
-0.07788517326116562,
-0.0316179022192955,
0.04561017453670502,
0.07367202639579773,
-0.022785760462284088,
0.04773607477545738,
0.010900058783590794,
-0.009165518917143345,
0.032661523669958115,
-0.08101604133844376,
-0.02191607654094696,
0.028776928782463074,
-0.1265489161014557,
-0.005493513774126768,
-0.02641911432147026,
0.06408616155385971,
-0.00191210035700351,
0.04661514610052109,
-0.013499452732503414,
0.020215356722474098,
-0.03242960944771767,
-0.014591391198337078,
0.044875774532556534,
0.03210106119513512,
-0.03420763090252876,
-0.0008449236629530787,
0.00900607742369175,
0.026535073295235634,
-0.00594768300652504,
0.0021560953464359045,
-0.0164660457521677,
-0.02638046070933342,
-0.00009331000910606235,
0.06590283662080765,
0.022379908710718155,
-0.010223636403679848,
0.033028725534677505,
0.0180604699999094,
-0.022979024797677994,
-0.003126036375761032,
-0.0015847603790462017,
-0.00851808674633503,
0.02839040197432041,
0.06621205806732178,
-0.05511873587965965,
-0.033028725534677505,
0.020988410338759422,
0.04116511717438698,
0.02864164486527443,
0.024061299860477448,
-0.008257181383669376,
-0.04093319922685623,
-0.003971564117819071,
-0.05237439647316933,
-0.0021645505912601948,
-0.014832969754934311,
0.009117203764617443,
-0.07057981193065643,
-0.0077595277689397335,
0.011876039206981659,
0.0035995319485664368,
-0.008885287679731846,
-0.035599127411842346,
0.03936776518821716,
-0.019558262079954147,
-0.003932911437004805,
-0.004995860159397125,
0.003952237777411938,
0.030651584267616272,
0.013876316137611866,
0.01529680285602808,
-0.07854226976633072,
0.018533965572714806,
-0.06114855781197548,
-0.04077858850359917,
-0.03822750970721245,
0.015354781411588192,
0.011006353422999382,
-0.041397031396627426,
0.02282441407442093,
-0.07962454110383987,
-0.0645499974489212,
-0.06053011491894722,
-0.04178356006741524,
-0.028158485889434814,
0.02065986394882202,
-0.031714532524347305,
-0.040430713444948196,
-0.012610440142452717,
-0.01063915342092514,
0.06636667251586914,
-0.05480951443314552,
-0.013083935715258121,
-0.04603535681962967,
-0.06791277974843979,
0.05527334660291672,
0.03505799174308777,
0.011808397248387337,
-0.05836556479334831,
-0.011209280230104923,
0.07521813362836838,
0.0361209399998188,
0.00983227789402008,
-0.027907242998480797,
-0.012310882098972797,
0.011634459719061852,
-0.008498760871589184,
-0.033956389874219894,
0.007474463898688555,
0.0019060608465224504,
-0.04375484585762024,
-0.029047496616840363,
0.021800117567181587,
0.06408616155385971,
-0.012339871376752853,
0.033009398728609085,
0.009271814487874508,
-0.04499173164367676,
-0.030438994988799095,
-0.010822753421962261,
-0.03606295958161354,
0.023268919438123703,
-0.008619549684226513,
0.010677806101739407,
-0.008402128703892231,
0.08001106977462769,
-0.009025403298437595,
-0.03932911157608032,
0.02545279636979103,
0.01093871146440506,
0.05322475731372833,
0.016572341322898865,
-0.032332975417375565,
0.06737164407968521,
-0.0008316368330270052,
0.017519332468509674,
0.02154887467622757,
0.0006329378229565918,
0.014108232222497463,
0.06992271542549133,
-0.03476809710264206,
0.027269473299384117,
-0.0005930772167630494,
-0.03708725795149803,
-0.06540035456418991,
-0.026940925046801567,
-0.07854226976633072,
0.062308136373758316,
-0.02224462293088436,
0.04920487478375435,
0.019065439701080322,
0.03343457728624344,
-0.010716458782553673
] |
21,645 | transformers.utils.hub | push_to_hub |
Upload the {object_files} to the 🤗 Model Hub.
Parameters:
repo_id (`str`):
The name of the repository you want to push your {object} to. It should contain your organization name
when pushing to a given organization.
use_temp_dir (`bool`, *optional*):
Whether or not to use a temporary directory to store the files saved before they are pushed to the Hub.
Will default to `True` if there is no directory named like `repo_id`, `False` otherwise.
commit_message (`str`, *optional*):
Message to commit while pushing. Will default to `"Upload {object}"`.
private (`bool`, *optional*):
Whether or not the repository created should be private.
token (`bool` or `str`, *optional*):
The token to use as HTTP bearer authorization for remote files. If `True`, will use the token generated
when running `huggingface-cli login` (stored in `~/.huggingface`). Will default to `True` if `repo_url`
is not specified.
max_shard_size (`int` or `str`, *optional*, defaults to `"5GB"`):
Only applicable for models. The maximum size for a checkpoint before being sharded. Checkpoints shard
will then be each of size lower than this size. If expressed as a string, needs to be digits followed
by a unit (like `"5MB"`). We default it to `"5GB"` so that users can easily load models on free-tier
Google Colab instances without any CPU OOM issues.
create_pr (`bool`, *optional*, defaults to `False`):
Whether or not to create a PR with the uploaded files or directly commit.
safe_serialization (`bool`, *optional*, defaults to `True`):
Whether or not to convert the model weights in safetensors format for safer serialization.
revision (`str`, *optional*):
Branch to push the uploaded files to.
commit_description (`str`, *optional*):
The description of the commit that will be created
tags (`List[str]`, *optional*):
List of tags to push on the Hub.
Examples:
```python
from transformers import {object_class}
{object} = {object_class}.from_pretrained("google-bert/bert-base-cased")
# Push the {object} to your namespace with the name "my-finetuned-bert".
{object}.push_to_hub("my-finetuned-bert")
# Push the {object} to an organization with the name "my-finetuned-bert".
{object}.push_to_hub("huggingface/my-finetuned-bert")
```
| def push_to_hub(
self,
repo_id: str,
use_temp_dir: Optional[bool] = None,
commit_message: Optional[str] = None,
private: Optional[bool] = None,
token: Optional[Union[bool, str]] = None,
max_shard_size: Optional[Union[int, str]] = "5GB",
create_pr: bool = False,
safe_serialization: bool = True,
revision: str = None,
commit_description: str = None,
tags: Optional[List[str]] = None,
**deprecated_kwargs,
) -> str:
"""
Upload the {object_files} to the 🤗 Model Hub.
Parameters:
repo_id (`str`):
The name of the repository you want to push your {object} to. It should contain your organization name
when pushing to a given organization.
use_temp_dir (`bool`, *optional*):
Whether or not to use a temporary directory to store the files saved before they are pushed to the Hub.
Will default to `True` if there is no directory named like `repo_id`, `False` otherwise.
commit_message (`str`, *optional*):
Message to commit while pushing. Will default to `"Upload {object}"`.
private (`bool`, *optional*):
Whether or not the repository created should be private.
token (`bool` or `str`, *optional*):
The token to use as HTTP bearer authorization for remote files. If `True`, will use the token generated
when running `huggingface-cli login` (stored in `~/.huggingface`). Will default to `True` if `repo_url`
is not specified.
max_shard_size (`int` or `str`, *optional*, defaults to `"5GB"`):
Only applicable for models. The maximum size for a checkpoint before being sharded. Checkpoints shard
will then be each of size lower than this size. If expressed as a string, needs to be digits followed
by a unit (like `"5MB"`). We default it to `"5GB"` so that users can easily load models on free-tier
Google Colab instances without any CPU OOM issues.
create_pr (`bool`, *optional*, defaults to `False`):
Whether or not to create a PR with the uploaded files or directly commit.
safe_serialization (`bool`, *optional*, defaults to `True`):
Whether or not to convert the model weights in safetensors format for safer serialization.
revision (`str`, *optional*):
Branch to push the uploaded files to.
commit_description (`str`, *optional*):
The description of the commit that will be created
tags (`List[str]`, *optional*):
List of tags to push on the Hub.
Examples:
```python
from transformers import {object_class}
{object} = {object_class}.from_pretrained("google-bert/bert-base-cased")
# Push the {object} to your namespace with the name "my-finetuned-bert".
{object}.push_to_hub("my-finetuned-bert")
# Push the {object} to an organization with the name "my-finetuned-bert".
{object}.push_to_hub("huggingface/my-finetuned-bert")
```
"""
use_auth_token = deprecated_kwargs.pop("use_auth_token", None)
ignore_metadata_errors = deprecated_kwargs.pop("ignore_metadata_errors", False)
if use_auth_token is not None:
warnings.warn(
"The `use_auth_token` argument is deprecated and will be removed in v5 of Transformers. Please use `token` instead.",
FutureWarning,
)
if token is not None:
raise ValueError(
"`token` and `use_auth_token` are both specified. Please set only the argument `token`."
)
token = use_auth_token
repo_path_or_name = deprecated_kwargs.pop("repo_path_or_name", None)
if repo_path_or_name is not None:
# Should use `repo_id` instead of `repo_path_or_name`. When using `repo_path_or_name`, we try to infer
# repo_id from the folder path, if it exists.
warnings.warn(
"The `repo_path_or_name` argument is deprecated and will be removed in v5 of Transformers. Use "
"`repo_id` instead.",
FutureWarning,
)
if repo_id is not None:
raise ValueError(
"`repo_id` and `repo_path_or_name` are both specified. Please set only the argument `repo_id`."
)
if os.path.isdir(repo_path_or_name):
# repo_path: infer repo_id from the path
repo_id = repo_id.split(os.path.sep)[-1]
working_dir = repo_id
else:
# repo_name: use it as repo_id
repo_id = repo_path_or_name
working_dir = repo_id.split("/")[-1]
else:
# Repo_id is passed correctly: infer working_dir from it
working_dir = repo_id.split("/")[-1]
# Deprecation warning will be sent after for repo_url and organization
repo_url = deprecated_kwargs.pop("repo_url", None)
organization = deprecated_kwargs.pop("organization", None)
repo_id = self._create_repo(
repo_id, private=private, token=token, repo_url=repo_url, organization=organization
)
# Create a new empty model card and eventually tag it
model_card = create_and_tag_model_card(
repo_id, tags, token=token, ignore_metadata_errors=ignore_metadata_errors
)
if use_temp_dir is None:
use_temp_dir = not os.path.isdir(working_dir)
with working_or_temp_dir(working_dir=working_dir, use_temp_dir=use_temp_dir) as work_dir:
files_timestamps = self._get_files_timestamps(work_dir)
# Save all files.
self.save_pretrained(work_dir, max_shard_size=max_shard_size, safe_serialization=safe_serialization)
# Update model card if needed:
model_card.save(os.path.join(work_dir, "README.md"))
return self._upload_modified_files(
work_dir,
repo_id,
files_timestamps,
commit_message=commit_message,
token=token,
create_pr=create_pr,
revision=revision,
commit_description=commit_description,
)
| (self, repo_id: str, use_temp_dir: Optional[bool] = None, commit_message: Optional[str] = None, private: Optional[bool] = None, token: Union[bool, str, NoneType] = None, max_shard_size: Union[int, str, NoneType] = '5GB', create_pr: bool = False, safe_serialization: bool = True, revision: Optional[str] = None, commit_description: Optional[str] = None, tags: Optional[List[str]] = None, **deprecated_kwargs) -> str | [
-0.016889052465558052,
-0.07586436718702316,
-0.12353135645389557,
-0.014958875253796577,
0.031428322196006775,
-0.04294644668698311,
-0.022868406027555466,
0.04172959551215172,
-0.013867905363440514,
-0.040995288640260696,
0.03109264001250267,
-0.025595830753445625,
-0.01607082597911358,
0.030400294810533524,
-0.06503858417272568,
0.024819564074277878,
0.03014853224158287,
0.004439932759851217,
0.045988574624061584,
0.011685965582728386,
-0.020602546632289886,
-0.013888885267078876,
-0.00033207706292159855,
0.027316207066178322,
0.03275007754564285,
0.008350115269422531,
0.07154244929552078,
-0.009897404350340366,
0.014381919987499714,
0.0063832225278019905,
-0.011161460541188717,
0.003291267203167081,
-0.009273244068026543,
0.04009314253926277,
0.01604984514415264,
-0.027169344946742058,
0.022092139348387718,
0.028323255479335785,
-0.10422958433628082,
-0.03201577067375183,
-0.02601543441414833,
0.013070657849311829,
0.09936217963695526,
-0.020340293645858765,
-0.011843317188322544,
0.0017597133992239833,
-0.017130324617028236,
0.03568730130791664,
-0.004057044163346291,
0.05815708637237549,
-0.024169178679585457,
-0.0017072629416361451,
-0.03765944018959999,
0.0342186875641346,
0.015546320006251335,
-0.010526809841394424,
0.001203738385811448,
0.03419771045446396,
-0.013836435042321682,
0.027924632653594017,
0.013322420418262482,
0.04707954451441765,
0.08152901381254196,
-0.0026133449282497168,
0.014969365671277046,
0.025344068184494972,
0.03323262184858322,
-0.025889553129673004,
-0.026938563212752342,
-0.0031444060150533915,
-0.03558240085840225,
-0.05035245418548584,
0.07640985399484634,
0.03149126470088959,
0.01314408890902996,
0.006120970472693443,
0.057066116482019424,
0.031512245535850525,
0.01823178492486477,
0.019133932888507843,
0.04451996088027954,
-0.023896435275673866,
0.0057538170367479324,
-0.02517622709274292,
0.004007216077297926,
-0.004240620881319046,
0.07296910136938095,
-0.0186933483928442,
-0.05534574016928673,
-0.05975158140063286,
0.0025123776867985725,
0.030568135902285576,
-0.0003147028328385204,
-0.018661879003047943,
0.0396105982363224,
-0.04535916820168495,
-0.010306518524885178,
-0.0064199380576610565,
-0.04177155718207359,
0.012032139115035534,
-0.06667504459619522,
0.050855979323387146,
-0.05794728174805641,
0.006981158163398504,
-0.0381629653275013,
-0.044394079595804214,
-0.02706444449722767,
-0.02498740516602993,
-0.019133932888507843,
-0.016584839671850204,
-0.06323429197072983,
0.026749741286039352,
0.019574517384171486,
-0.0046025291085243225,
0.009787258692085743,
-0.01258811354637146,
-0.034806136041879654,
-0.016479939222335815,
-0.014224568381905556,
-0.03126048296689987,
-0.003147028386592865,
-0.009719072841107845,
-0.0285540372133255,
-0.047960713505744934,
0.02393839694559574,
0.03335850313305855,
0.07204597443342209,
-0.04351291432976723,
-0.00915785226970911,
-0.04817051440477371,
-0.05610102787613869,
0.0009873801609501243,
-0.013091638684272766,
-0.0060685197822749615,
-0.02112705074250698,
0.0035246717743575573,
0.006398957688361406,
-0.028407176956534386,
0.029267365112900734,
0.025616811588406563,
0.04884188249707222,
-0.01682611182332039,
0.020319312810897827,
-0.004990662448108196,
0.0062416065484285355,
0.03656847029924393,
-0.007883306592702866,
-0.08425644040107727,
-0.008245214819908142,
0.02790365181863308,
0.029833829030394554,
-0.0548841767013073,
-0.014759562909603119,
0.08261998742818832,
-0.007878061383962631,
0.006152440793812275,
0.006787091493606567,
-0.010736611671745777,
-0.03908609226346016,
0.10305468738079071,
0.019689908251166344,
-0.01915491372346878,
0.08920776844024658,
0.07573848217725754,
0.024924464523792267,
-0.02404329739511013,
0.006451408378779888,
0.016416998580098152,
-0.040449805557727814,
0.04502348601818085,
0.04582073539495468,
0.02198723889887333,
-0.0588284507393837,
0.006787091493606567,
0.0013027386739850044,
0.045778773725032806,
0.03333752229809761,
0.01784365065395832,
-0.05362536385655403,
-0.01179086696356535,
-0.044394079595804214,
-0.025721712037920952,
0.04825443774461746,
0.016700230538845062,
-0.01615474559366703,
0.05156930536031723,
0.02488250471651554,
0.03608592599630356,
0.04707954451441765,
0.0009382078424096107,
0.013049677945673466,
-0.010264557786285877,
0.02291036769747734,
0.0015092623652890325,
0.0020508135203272104,
-0.00017030013259500265,
0.006860522087663412,
-0.015189656987786293,
0.004576303996145725,
0.05501005798578262,
0.030924798920750618,
-0.04808659479022026,
0.0843823254108429,
-0.05664651095867157,
-0.04051274433732033,
0.027651889249682426,
-0.015892494469881058,
-0.01000230573117733,
0.030966760590672493,
0.007500417530536652,
-0.009629907086491585,
0.03054715506732464,
-0.030190492048859596,
0.0529959574341774,
0.02985480986535549,
-0.030568135902285576,
0.01156008429825306,
-0.0036033475771546364,
0.012860856018960476,
0.02639307826757431,
0.07985059916973114,
-0.004099004436284304,
-0.041289012879133224,
-0.006587779615074396,
0.013941335491836071,
-0.03287595883011818,
0.05119166150689125,
-0.01107753999531269,
0.020707447081804276,
-0.08102548867464066,
0.0013309307396411896,
-0.0011958708055317402,
0.024462901055812836,
0.03898119181394577,
-0.03778532147407532,
-0.011098519898951054,
-0.0009539430029690266,
0.012651054188609123,
-0.030127551406621933,
0.0027248021215200424,
0.0034591087605804205,
-0.02985480986535549,
-0.007526643108576536,
0.06331821531057358,
0.0013702686410397291,
-0.054044969379901886,
0.005921658594161272,
-0.0034695989452302456,
-0.01896609179675579,
-0.06382173299789429,
0.023141149431467056,
0.041498813778162,
-0.0742698684334755,
0.0046943174675107,
-0.0018187201349064708,
-0.06365389376878738,
0.03174302726984024,
-0.10389389842748642,
0.014402899891138077,
-0.038183946162462234,
-0.03543553873896599,
-0.07712318003177643,
-0.013018207624554634,
0.06663308292627335,
-0.006252096500247717,
-0.04059666767716408,
-0.026372097432613373,
0.01953255571424961,
-0.014444860629737377,
0.024966426193714142,
0.041079211980104446,
0.019710887223482132,
-0.021305382251739502,
0.0003809215559158474,
0.011402732692658901,
-0.06990598887205124,
-0.03333752229809761,
0.02198723889887333,
0.0009191945428028703,
0.05454849451780319,
-0.02685464173555374,
-0.08106745034456253,
0.04976500943303108,
0.02217606082558632,
0.03054715506732464,
0.03165910765528679,
-0.02122146263718605,
-0.04405839741230011,
0.02143126353621483,
-0.030568135902285576,
-0.0711648017168045,
0.06273076683282852,
-0.057443760335445404,
0.003931162878870964,
-0.017067383974790573,
-0.028239335864782333,
-0.05492613464593887,
0.0234978124499321,
0.07620004564523697,
-0.03757552057504654,
-0.041666656732559204,
0.09659279137849808,
-0.008958540856838226,
-0.019112952053546906,
-0.004901496693491936,
-0.019564026966691017,
0.02987579070031643,
-0.04619837552309036,
-0.006267831660807133,
-0.00963515229523182,
-0.0012338974047452211,
0.026896603405475616,
0.05832492560148239,
0.04900972172617912,
0.034722212702035904,
-0.0019327999325469136,
0.04540112987160683,
0.02131587266921997,
0.0026080997195094824,
0.010175392031669617,
0.01576661318540573,
-0.017445027828216553,
-0.02431603893637657,
-0.0033070023637264967,
0.047373268753290176,
-0.03579220175743103,
-0.007830855436623096,
-0.0068710120394825935,
-0.013028698042035103,
0.02544897049665451,
-0.017822671681642532,
0.04791875183582306,
0.06512250751256943,
0.0005877731018699706,
-0.019931180402636528,
-0.01156008429825306,
-0.018441585823893547,
-0.034701231867074966,
0.0651644691824913,
-0.004515985958278179,
0.01281889621168375,
-0.01689954288303852,
0.01052156463265419,
0.051233623176813126,
0.0012824140721932054,
0.02977088838815689,
0.031428322196006775,
-0.02066548727452755,
0.019196873530745506,
-0.020266862586140633,
0.007122774142771959,
0.07141656428575516,
0.0067923362366855145,
0.01427701860666275,
0.0058324928395450115,
-0.0047021848149597645,
-0.03222557157278061,
0.06218528002500534,
-0.012105569243431091,
-0.06625543534755707,
-0.0672205239534378,
-0.036862194538116455,
-0.013175559230148792,
0.03409280627965927,
-0.03289693593978882,
-0.0035954799968749285,
-0.02008853107690811,
0.035162799060344696,
-0.029351284727454185,
0.004835933912545443,
0.04347095265984535,
-0.0011945595033466816,
-0.051149703562259674,
-0.00991838425397873,
-0.0295820664614439,
0.05324772000312805,
-0.05496809631586075,
-0.023623693734407425,
-0.046911705285310745,
0.027630910277366638,
0.004403217229992151,
0.04151979461312294,
0.03270811587572098,
0.02171449549496174,
0.006320281885564327,
0.028323255479335785,
0.0763259306550026,
0.0017597133992239833,
0.024756623432040215,
-0.025134267285466194,
0.008166538551449776,
-0.053205762058496475,
0.0046943174675107,
0.0028113455045968294,
0.007311596069484949,
-0.053877126425504684,
0.023833494633436203,
0.020224902778863907,
-0.01888217031955719,
-0.0017164417076855898,
0.03109264001250267,
-0.009094912558794022,
0.04968108981847763,
0.026162296533584595,
-0.014937895350158215,
0.00044156741932965815,
0.024756623432040215,
0.030274413526058197,
0.0001630881888559088,
0.04665994271636009,
0.0028716635424643755,
0.01700444333255291,
-0.0612201914191246,
-0.00100311532150954,
-0.01964794658124447,
0.06059078872203827,
-0.011948217637836933,
-0.02056058496236801,
-0.05446457117795944,
-0.02847011759877205,
-0.02507132664322853,
0.027463067322969437,
-0.00021586648654192686,
0.022784486413002014,
-0.05173714831471443,
0.06096843257546425,
0.004783483222126961,
-0.006351752206683159,
0.003676778171211481,
-0.006787091493606567,
0.03136538341641426,
0.016133766621351242,
-0.03323262184858322,
0.02609935589134693,
0.05362536385655403,
-0.006120970472693443,
-0.018924130126833916,
-0.0010765460319817066,
-0.01991019956767559,
0.08190666139125824,
-0.02601543441414833,
-0.037428658455610275,
0.032833997160196304,
-0.05845080688595772,
0.028805799782276154,
0.018546488136053085,
-0.05551358312368393,
0.010657936334609985,
-0.006084254942834377,
0.02152567356824875,
0.06470290571451187,
0.03153322637081146,
-0.013395851477980614,
0.008853640407323837,
-0.03713493421673775,
-0.07158440351486206,
0.02817639522254467,
0.022679584100842476,
-0.04036588594317436,
-0.037911202758550644,
0.0073588015511631966,
0.017214246094226837,
0.021567635238170624,
0.03153322637081146,
0.04221213981509209,
-0.004080646671354771,
0.005486319772899151,
-0.06130411475896835,
-0.045694854110479355,
-0.00010342578025301918,
0.041372932493686676,
-0.031218521296977997,
0.006136705633252859,
0.03365222364664078,
-0.013836435042321682,
-0.008250459097325802,
0.02874285914003849,
-0.011350282467901707,
-0.0869419053196907,
-0.057066116482019424,
0.009089667350053787,
-0.027861692011356354,
0.002892643678933382,
0.05496809631586075,
-0.011507634073495865,
-0.0028008553199470043,
0.04300938919186592,
0.006157685536891222,
0.06042294576764107,
-0.02528112754225731,
-0.04160371422767639,
-0.022595664486289024,
-0.03625376895070076,
0.006587779615074396,
-0.04389055818319321,
0.032267533242702484,
-0.059038251638412476,
0.031155580654740334,
-0.05635279044508934,
-0.0730530172586441,
0.0531638003885746,
-0.02874285914003849,
0.01654287986457348,
-0.02414819784462452,
0.01887167990207672,
-0.03063107654452324,
-0.0046208868734538555,
-0.02874285914003849,
-0.04414231702685356,
-0.018368156626820564,
-0.033673204481601715,
-0.007463702466338873,
-0.010962149128317833,
-0.033568304032087326,
0.04380663484334946,
0.04817051440477371,
0.008339625783264637,
0.016972973942756653,
-0.04300938919186592,
0.014046236872673035,
0.024483881890773773,
-0.056772392243146896,
0.05618494749069214,
0.005100808572024107,
0.04389055818319321,
-0.02685464173555374,
-0.018189825117588043,
-0.024001337587833405,
0.0608845092356205,
0.057821404188871384,
-0.03449143096804619,
-0.01943814568221569,
-0.052450474351644516,
0.008696288801729679,
0.00381839438341558,
-0.013490261510014534,
0.004479270428419113,
-0.038645509630441666,
-0.026372097432613373,
-0.04900972172617912,
-0.06755620986223221,
-0.0790533572435379,
-0.06457702070474625,
-0.02582661248743534,
-0.03982039913535118,
0.032456353306770325,
0.03868747130036354,
-0.013070657849311829,
-0.007941002026200294,
-0.059415895491838455,
-0.016878562048077583,
0.002132111694663763,
0.009829218499362469,
0.025407008826732635,
0.051275584846735,
-0.006079009734094143,
0.0003638751513790339,
-0.021777436137199402,
0.007185714785009623,
-0.0023051982279866934,
-0.009000501595437527,
0.04976500943303108,
-0.015378478914499283,
0.0011480097891762853,
0.04863207787275314,
0.05165322497487068,
-0.0014332091668620706,
-0.008848395198583603,
-0.01962696760892868,
-0.002404854167252779,
0.0030998229049146175,
0.05496809631586075,
-0.0010994930053129792,
-0.015231617726385593,
0.006267831660807133,
-0.037344738841056824,
-0.030106572434306145,
0.03551946207880974,
-0.0171932652592659,
-0.003097200533375144,
0.015923963859677315,
0.0014620570000261068,
0.0225537046790123,
0.002976564457640052,
-0.020686466246843338,
0.009325694292783737,
0.014570741914212704,
0.05098186060786247,
0.011203421279788017,
0.015158186666667461,
-0.009367655031383038,
0.018011493608355522,
0.03923295438289642,
-0.04172959551215172,
0.03275007754564285,
-0.020696956664323807,
-0.043261151760816574,
-0.05610102787613869,
0.01889266073703766,
-0.04347095265984535,
0.013574182987213135,
0.015189656987786293,
-0.016280626878142357,
0.026225237175822258,
0.012095078825950623,
-0.03243537247180939,
-0.04164567589759827,
0.0032571745105087757,
0.03352634236216545,
0.018619917333126068,
-0.016931012272834778,
-0.009593191556632519,
-0.02425309829413891,
-0.03812100365757942,
-0.02058156579732895,
-0.04082744941115379,
0.036211807280778885,
0.06109431013464928,
0.04959716647863388,
-0.02234390191733837,
0.04271566495299339,
-0.021441753953695297,
-0.06163979694247246,
0.024588782340288162,
-0.02706444449722767,
-0.013112618587911129,
-0.0010608108714222908,
-0.06247900426387787,
-0.02433701977133751,
0.010227842256426811,
-0.01057401578873396,
-0.04552701115608215,
0.05345752462744713,
-0.001054910128004849,
0.05530377849936485,
0.027463067322969437,
0.007993452250957489,
0.011612534523010254,
-0.0027090669609606266,
0.017633849754929543,
0.03052617609500885,
-0.05454849451780319,
-0.03887629136443138,
-0.0010693339863792062,
-0.023812515661120415,
-0.00554401520639658,
-0.0018764156848192215,
-0.036484550684690475,
0.022239001467823982,
0.00878545455634594,
0.016847092658281326,
0.05370928347110748,
0.022847427055239677,
-0.04586269333958626,
0.00783610064536333,
0.055765341967344284,
0.020529115572571754,
0.005449604243040085,
0.02423211932182312,
-0.009656132198870182,
0.030882839113473892,
-0.013091638684272766,
0.10288684815168381,
0.07032559812068939,
-0.05211479216814041,
0.027840711176395416,
0.01633307710289955,
-0.027400126680731773,
-0.03539358079433441,
0.028994621708989143,
-0.018955601379275322,
-0.027400126680731773,
0.022050179541110992,
-0.043722715228796005,
0.010594995692372322,
-0.01342732086777687,
0.07313694059848785,
0.05089794099330902,
0.0061471955850720406,
0.01207409892231226,
-0.030001670122146606,
0.025574851781129837,
-0.020717937499284744,
0.061933521181344986,
0.031428322196006775,
0.006309791933745146,
0.0016875939909368753,
0.02450486086308956,
0.011308321729302406,
-0.016836602240800858,
0.01141322311013937,
0.025973474606871605,
0.004896251950412989,
-0.07674553245306015,
-0.05740179866552353,
-0.029456187039613724,
-0.031071661040186882,
-0.03822590410709381,
-0.0027798751834779978,
-0.05421280860900879,
0.06428330391645432,
-0.0033384726848453283,
0.001010982901789248,
0.015714161098003387,
0.006703170482069254,
-0.0026907091960310936,
-0.05660455301403999,
0.004455667920410633,
-0.011140480637550354,
-0.0944947749376297,
-0.03314869850873947,
-0.030756957828998566,
0.014119667932391167,
-0.006356997415423393,
0.03117656148970127,
0.0025228678714483976,
0.002306509530171752,
0.06701072305440903,
0.0008595321560278535,
-0.03881334885954857,
-0.005842982791364193,
-0.02601543441414833,
0.044939566403627396,
0.03906511142849922,
0.07842394709587097,
-0.07347262650728226,
0.04160371422767639,
0.01850452646613121,
0.02744208835065365,
-0.010453379712998867,
0.05601710453629494,
0.027316207066178322,
-0.022847427055239677,
-0.007783650420606136,
0.02312016859650612,
-0.06373781710863113,
0.06411545723676682,
0.0056174458004534245,
-0.04200233891606331,
0.019962649792432785,
0.05177910625934601,
-0.0651644691824913,
-0.07737494260072708,
-0.10456526279449463,
0.06667504459619522,
0.007468947675079107,
0.07431183010339737,
-0.022595664486289024,
-0.05446457117795944,
-0.02960304729640484,
0.05777944251894951,
-0.01075234729796648,
-0.01785414107143879,
0.020686466246843338,
-0.013500751927495003,
-0.02377055399119854,
-0.003821016987785697,
0.038645509630441666,
-0.044939566403627396,
-0.011465673334896564,
0.006802826654165983,
-0.0842144787311554,
0.04158273711800575,
-0.042044300585985184,
0.050394415855407715,
0.05794728174805641,
0.008392076008021832,
0.01748698763549328
] |
21,646 | auto_gptq.modeling._base | save_pretrained | null | def save_pretrained(self, save_dir: str, **kwargs):
with open(join(save_dir, "quantize_config.json"), "w", encoding="utf-8") as f:
json.dump(self.to_dict(), f, indent=2)
| (self, save_dir: str, **kwargs) | [
-0.057968102395534515,
-0.0588400661945343,
-0.014840811491012573,
0.028286481276154518,
0.023891787976026535,
0.0013384632766246796,
-0.06142107769846916,
0.0007836768054403365,
0.021956030279397964,
0.003790859365835786,
0.028600389137864113,
-0.03201848268508911,
-0.026420481503009796,
0.03409375622868538,
-0.0036208266392350197,
-0.017910121008753777,
0.0228279922157526,
-0.02694365754723549,
0.004442651756107807,
-0.010263005271553993,
-0.0070367418229579926,
-0.009661350399255753,
0.025042779743671417,
0.04719064012169838,
0.03020480088889599,
-0.018520494922995567,
0.018189148977398872,
0.014125801622867584,
-0.04241228476166725,
-0.0042203012853860855,
-0.02087479643523693,
-0.003396296175196767,
0.02300238609313965,
0.05046922340989113,
0.0005760405911132693,
-0.00037194674951024354,
-0.0013035847805440426,
0.031216276809573174,
-0.129957377910614,
-0.04185422509908676,
-0.02021210454404354,
-0.006783872377127409,
0.006156058982014656,
0.026664629578590393,
0.015137278474867344,
0.029175883159041405,
-0.01974124275147915,
0.04042420908808708,
0.06096765771508217,
0.007442204747349024,
-0.007913065142929554,
0.009757266379892826,
-0.008963780477643013,
0.07450052350759506,
-0.035052914172410965,
-0.05611954256892204,
0.03189640864729881,
-0.008785028010606766,
-0.027641229331493378,
0.029768818989396095,
-0.03819198161363602,
-0.007551200222223997,
0.042342524975538254,
-0.015956923365592957,
0.023124460130929947,
-0.010498435236513615,
-0.08642897754907608,
0.01639290526509285,
-0.01839842088520527,
-0.0017580954590812325,
0.026437919586896896,
-0.10944880545139313,
0.025409003719687462,
0.06504844129085541,
-0.029576987028121948,
-0.0031870249658823013,
-0.03353570029139519,
-0.010864660143852234,
-0.048097483813762665,
0.044853780418634415,
-0.009277686476707458,
-0.06947802007198334,
-0.011274482123553753,
-0.03669220581650734,
-0.018468176946043968,
-0.032367270439863205,
0.0721985399723053,
-0.0017646352062001824,
0.019479654729366302,
0.00334179843775928,
0.021781636402010918,
0.06595528870820999,
-0.0027641227934509516,
0.03161738067865372,
0.016000522300601006,
-0.048725295811891556,
0.013410791754722595,
0.04014517739415169,
0.01841585896909237,
-0.02417081594467163,
-0.040180057287216187,
0.024432403966784477,
-0.04450499266386032,
-0.059816665947437286,
-0.00006754307833034545,
-0.03728514164686203,
0.013184081763029099,
-0.008253130130469799,
-0.0456908643245697,
0.026699509471654892,
-0.007961022667586803,
-0.032384708523750305,
0.02350812405347824,
-0.03016992099583149,
0.048795051872730255,
-0.02226993627846241,
-0.018555372953414917,
0.015983082354068756,
0.06396721303462982,
0.013192800804972649,
-0.012713220901787281,
0.0658506527543068,
-0.04000566527247429,
0.05765419825911522,
-0.04143568500876427,
0.023159338161349297,
0.10596095025539398,
0.0846152976155281,
-0.0008866774151101708,
-0.019985392689704895,
0.08573140949010849,
-0.0005983846494928002,
-0.028042331337928772,
-0.02295006811618805,
0.045446716248989105,
-0.0228105541318655,
0.004760918207466602,
0.022671040147542953,
0.011937174014747143,
0.05437561497092247,
0.0390639454126358,
-0.009966537356376648,
0.0008240051101893187,
-0.0032175437081605196,
0.02478118985891342,
0.031826652586460114,
-0.0524572990834713,
-0.02495558187365532,
-0.04869041591882706,
-0.028338799253106117,
0.05779371038079262,
0.006156058982014656,
-0.051445819437503815,
-0.023124460130929947,
0.016602177172899246,
-0.056677598506212234,
-0.01831122487783432,
0.03620390594005585,
-0.04733015596866608,
0.034983158111572266,
0.0012817856622859836,
0.028321359306573868,
0.06958264857530594,
-0.002301982371136546,
-0.07094291597604752,
0.011658146046102047,
-0.06421136111021042,
0.021188702434301376,
0.006295573431998491,
0.009783425368368626,
0.06748993694782257,
-0.07101266831159592,
-0.05688687041401863,
0.0057941945269703865,
-0.03189640864729881,
-0.0011782400542870164,
0.04206349700689316,
-0.03407631441950798,
-0.036343421787023544,
0.005484647583216429,
0.05563124269247055,
-0.016488822177052498,
0.013933969661593437,
0.03390192240476608,
0.0328904464840889,
-0.06769920885562897,
-0.008261850103735924,
0.013306155800819397,
0.003282940946519375,
-0.004375074524432421,
0.08315039426088333,
0.0524224191904068,
-0.01763109304010868,
-0.04792308807373047,
0.01706431619822979,
-0.021921150386333466,
0.055352214723825455,
-0.058735430240631104,
-0.015320390462875366,
0.009966537356376648,
-0.00556312408298254,
-0.023107020184397697,
0.07303562760353088,
-0.07052437216043472,
-0.00623889546841383,
-0.04391206055879593,
-0.04262155294418335,
-0.05559636279940605,
0.04080786928534508,
0.026420481503009796,
0.025705471634864807,
-0.025095095857977867,
0.021258458495140076,
-0.002099251141771674,
0.025374125689268112,
-0.017343346029520035,
0.028652705252170563,
0.08308064192533493,
0.017910121008753777,
0.016192354261875153,
0.027309883385896683,
-0.016619615256786346,
-0.005358213093131781,
0.011614548042416573,
0.015948204323649406,
-0.037773437798023224,
0.01714279316365719,
-0.05193411931395531,
-0.030396632850170135,
-0.03397168219089508,
-0.0457606203854084,
-0.02549619972705841,
-0.03203592449426651,
-0.009042256511747837,
-0.014483306556940079,
0.02099687047302723,
0.0195842906832695,
-0.030605902895331383,
-0.010228126309812069,
-0.02624608762562275,
0.031652260571718216,
-0.022409450262784958,
-0.06996631622314453,
-0.02617633156478405,
-0.02354300208389759,
-0.0011084830621257424,
0.08601043373346329,
-0.03414607420563698,
0.009443359449505806,
0.03854076564311981,
0.11558742076158524,
0.02024698257446289,
0.008261850103735924,
0.06857117265462875,
0.04977165162563324,
-0.01406476367264986,
-0.007725592702627182,
-0.005092264153063297,
0.01567789539694786,
0.013986287638545036,
-0.0393429733812809,
-0.04105202108621597,
-0.020037710666656494,
-0.008366485126316547,
0.018067074939608574,
0.01647138223052025,
0.01690736413002014,
-0.026472797617316246,
0.028269043192267418,
-0.01631442829966545,
-0.01829378493130207,
0.04171471297740936,
-0.036343421787023544,
0.004248640034347773,
0.023403488099575043,
0.016872484236955643,
-0.014230436645448208,
-0.0164365042001009,
-0.0029537747614085674,
0.008710910566151142,
0.04004054516553879,
-0.048167239874601364,
0.052003875374794006,
0.015294232405722141,
0.031216276809573174,
0.034372784197330475,
-0.029576987028121948,
-0.021188702434301376,
0.015599419362843037,
-0.04858577996492386,
0.02226993627846241,
0.040214937180280685,
0.028356239199638367,
0.019130868837237358,
0.048760175704956055,
-0.05845640227198601,
-0.011771501041948795,
-0.029821136966347694,
0.052771203219890594,
0.01757877506315708,
-0.0063522509299218655,
-0.014178119599819183,
0.05385243892669678,
0.026333283632993698,
-0.008157214149832726,
0.04733015596866608,
-0.011945893988013268,
-0.02417081594467163,
-0.04133104905486107,
-0.0012469071662053466,
-0.038924429565668106,
0.012338276952505112,
0.08217380195856094,
0.08182501047849655,
-0.01634058728814125,
-0.04272618889808655,
0.0008000261150300503,
-0.03554121404886246,
0.014884409494698048,
-0.03016992099583149,
-0.007219854276627302,
0.0588400661945343,
-0.046841856092214584,
-0.016637055203318596,
0.049422867596149445,
-0.010585631243884563,
0.024571919813752174,
0.005959867499768734,
0.00424428004771471,
-0.06093277782201767,
-0.0195319727063179,
-0.02026442065834999,
0.021118944510817528,
0.02301982417702675,
0.017857803031802177,
-0.009024817496538162,
0.01972380466759205,
0.03585512191057205,
0.005894470494240522,
0.023455806076526642,
0.033692654222249985,
-0.03336130827665329,
-0.006975704338401556,
-0.0006387129542417824,
-0.044191088527441025,
0.040180057287216187,
-0.0009482598397880793,
-0.03616902604699135,
-0.007982822135090828,
0.0651530772447586,
-0.05252705514431,
0.002809901023283601,
0.0590842179954052,
0.06030496582388878,
0.003014812245965004,
-0.07345417141914368,
-0.0021711881272494793,
-0.016035400331020355,
-0.0295072291046381,
-0.06647846102714539,
-0.01505880244076252,
0.056538086384534836,
-0.021328216418623924,
0.043458640575408936,
0.057898346334695816,
0.004699880722910166,
0.0044121332466602325,
-0.022548964247107506,
0.042272768914699554,
0.006038343999534845,
0.031861528754234314,
-0.012974809855222702,
-0.011448875069618225,
-0.005781115032732487,
0.022025786340236664,
0.01697712019085884,
-0.013245118781924248,
0.03791295364499092,
0.0011270123068243265,
0.038924429565668106,
-0.005310255102813244,
0.02488582581281662,
0.012207482941448689,
0.025426441803574562,
0.08196453005075455,
-0.009443359449505806,
0.06250230967998505,
-0.018084513023495674,
0.030396632850170135,
-0.04467938840389252,
-0.024101058021187782,
0.031791772693395615,
-0.0196017287671566,
0.0718497559428215,
-0.00558928307145834,
-0.019933074712753296,
-0.03665732592344284,
0.027030855417251587,
-0.006910307332873344,
0.05357341095805168,
-0.01241675391793251,
-0.09459055215120316,
-0.006936466321349144,
-0.008274929597973824,
0.021450290456414223,
-0.05325950309634209,
-0.016166195273399353,
0.023874348029494286,
0.044225964695215225,
0.0327683724462986,
-0.020090028643608093,
0.03004784695804119,
-0.0004978363867849112,
0.03819198161363602,
-0.03683171793818474,
0.05360828712582588,
-0.026525115594267845,
-0.05978178605437279,
-0.035122670233249664,
0.011030333116650581,
0.007477083243429661,
0.031687136739492416,
-0.0018234926974400878,
0.025182293727993965,
0.048725295811891556,
0.005741876550018787,
0.02094455249607563,
0.02160724438726902,
-0.006326091941446066,
0.04966701567173004,
0.040284693241119385,
-0.04373766854405403,
0.019933074712753296,
-0.026350723579525948,
0.017509019002318382,
0.019811000674962997,
0.046074528247117996,
-0.06292085349559784,
-0.07561663538217545,
0.0523177832365036,
-0.007097779307514429,
-0.044923536479473114,
-0.022618722170591354,
0.01180638000369072,
0.028303921222686768,
0.025095095857977867,
-0.02221761830151081,
0.04433060064911842,
0.013489268720149994,
0.020438814535737038,
-0.012312117964029312,
-0.02033417858183384,
0.01893903687596321,
-0.09340468049049377,
0.0717102438211441,
-0.01212028693407774,
0.0070716203190386295,
-0.020159786567091942,
-0.02483350783586502,
0.014212997630238533,
0.03470413014292717,
0.007668915204703808,
0.012207482941448689,
0.029175883159041405,
0.037668805569410324,
0.01115240715444088,
-0.064978688955307,
0.050852883607149124,
-0.033186912536621094,
-0.017944999039173126,
-0.004603964742273092,
0.04394693672657013,
-0.021101506426930428,
0.011588389053940773,
-0.033727530390024185,
0.044156208634376526,
-0.021956030279397964,
0.0047434791922569275,
-0.059921301901340485,
-0.015398867428302765,
0.04143568500876427,
-0.03196616470813751,
-0.04129616916179657,
0.022548964247107506,
0.06340915709733963,
0.021833954378962517,
-0.016506260260939598,
0.01773572899401188,
0.016532419249415398,
0.04297034069895744,
0.004656282719224691,
0.008545237593352795,
-0.02148517034947872,
0.007590438239276409,
-0.020473692566156387,
0.004218121059238911,
-0.018729766830801964,
-0.006256334949284792,
-0.0004234470543451607,
-0.05308511108160019,
0.029856014996767044,
-0.009949098341166973,
-0.012233641929924488,
0.02758891135454178,
-0.04248204082250595,
0.0460396483540535,
-0.04045908525586128,
0.07763958722352982,
-0.04394693672657013,
0.04631867632269859,
-0.02612401358783245,
-0.02556595765054226,
-0.018206588923931122,
-0.0060557834804058075,
0.01899135485291481,
0.04052884131669998,
0.01509368047118187,
0.029751379042863846,
-0.0032219034619629383,
-0.0037341818679124117,
-0.051445819437503815,
0.01371597871184349,
0.035052914172410965,
-0.01906111277639866,
-0.025879863649606705,
0.06762945652008057,
0.0016120417276397347,
-0.025844985619187355,
0.02101431041955948,
0.05671247839927673,
0.03721538186073303,
0.00953055638819933,
0.021241020411252975,
0.030396632850170135,
-0.010385080240666866,
0.006657437887042761,
0.034250710159540176,
0.022566404193639755,
0.036273662000894547,
-0.04387718066573143,
0.006670517381280661,
-0.033029962331056595,
0.005026867147535086,
-0.03547145798802376,
0.011361679062247276,
0.044784024357795715,
0.021415412425994873,
0.0019194086780771613,
0.008253130130469799,
-0.005140222143381834,
0.00036813190672546625,
-0.012617305852472782,
0.002052383031696081,
-0.06208376958966255,
0.05828201025724411,
-0.06710627675056458,
0.013210240751504898,
-0.004076427314430475,
0.00881554652005434,
0.028513191267848015,
-0.014125801622867584,
0.03794783353805542,
0.022740796208381653,
0.018189148977398872,
0.0010327312629669905,
-0.0010452657006680965,
-0.07352392375469208,
0.035087794065475464,
-0.03533194214105606,
-0.01402988564223051,
0.0913119688630104,
0.019287822768092155,
0.012564987875521183,
-0.01212900597602129,
-0.05106215551495552,
-0.007150097284466028,
0.005118423141539097,
0.02357788197696209,
-0.029123565182089806,
-0.008754509501159191,
-0.02417081594467163,
0.03004784695804119,
-0.022461768239736557,
0.016558578237891197,
-0.012024370953440666,
-0.009408481419086456,
0.05308511108160019,
0.03018736094236374,
-0.021990908309817314,
0.033657774329185486,
-0.06944313645362854,
0.05305023118853569,
0.005872671026736498,
-0.056014906615018845,
0.051968999207019806,
-0.08042987436056137,
0.018729766830801964,
-0.03423326835036278,
0.0131317637860775,
-0.029873454943299294,
-0.050050679594278336,
-0.03423326835036278,
-0.021990908309817314,
0.025112535804510117,
-0.012713220901787281,
-0.05291071906685829,
-0.022461768239736557,
0.08740557730197906,
-0.02019466459751129,
-0.014710016548633575,
-0.05353853106498718,
0.024101058021187782,
-0.018694888800382614,
-0.017788046970963478,
-0.002072002273052931,
-0.03547145798802376,
0.0131317637860775,
-0.0457606203854084,
0.0022496646270155907,
0.06919898837804794,
-0.046248920261859894,
-0.023978983983397484,
-0.04670234024524689,
0.014178119599819183,
-0.06700164079666138,
-0.019497094675898552,
-0.008937621489167213,
0.028391117230057716,
-0.017378224059939384,
-0.07436101138591766,
-0.007350648753345013,
-0.014648979529738426,
0.043667908757925034,
-0.040180057287216187,
-0.01042867824435234,
-0.05357341095805168,
0.005179460626095533,
0.00006120772013673559,
-0.00570699805393815,
-0.06822238862514496,
0.05517782270908356,
0.03187897056341171,
-0.013114324770867825,
-0.03780831769108772,
-0.012687062844634056,
0.021781636402010918,
-0.042168132960796356,
-0.009678790345788002,
0.021833954378962517,
-0.06686212867498398,
-0.00037003931356593966,
-0.04893456771969795,
-0.0019499274203553796,
0.029908332973718643,
-0.0004253544902894646,
0.019113430753350258,
0.05779371038079262,
0.027344761416316032,
0.043528396636247635,
-0.04719064012169838,
-0.019811000674962997,
0.004144004546105862,
-0.048062603920698166,
-0.02157236635684967,
-0.0031761254649609327,
-0.0048175957053899765,
-0.06661798059940338,
0.004625764209777117,
-0.007498882245272398,
-0.0781278908252716,
0.005441049579530954,
-0.026612311601638794,
-0.030309434980154037,
-0.04760918393731117,
-0.043667908757925034,
0.002620249055325985,
-0.035645850002765656,
-0.016619615256786346,
0.05291071906685829,
-0.005144582130014896,
-0.055980026721954346,
0.005441049579530954,
0.04342376068234444,
0.03602951392531395,
-0.0050094276666641235,
0.04736503213644028,
-0.022583842277526855,
0.01763109304010868,
-0.004322757013142109,
0.07422149181365967,
-0.0394127294421196,
-0.031687136739492416,
-0.021363094449043274,
-0.03857564553618431,
-0.0015847928589209914,
-0.06382769346237183,
0.05563124269247055,
0.000033260621421504766,
-0.06462990492582321,
-0.059921301901340485,
0.0196017287671566,
-0.01505880244076252,
-0.0012000391725450754,
-0.005406171083450317,
0.012059248983860016,
0.00848856009542942,
0.022374572232365608,
-0.02099687047302723,
-0.06612967699766159,
-0.024676553905010223,
0.0074029662646353245,
-0.015329110436141491,
-0.025356685742735863,
-0.02230481430888176,
-0.06253719329833984,
0.08154598623514175,
0.026978537440299988,
-0.02153748832643032,
-0.006278133951127529,
-0.02891429513692856,
-0.03819198161363602,
0.013062006793916225,
-0.0719892680644989,
0.006936466321349144,
0.004072067327797413,
-0.039168581366539,
0.0020480232778936625,
-0.03191384673118591,
0.03609926998615265,
-0.016148755326867104,
0.005109703633934259,
-0.010995454154908657,
-0.02417081594467163,
-0.018642570823431015,
-0.04049396514892578,
0.019218064844608307,
0.03158250078558922,
-0.021746758371591568,
-0.0034006559289991856,
-0.008244411088526249,
0.031739454716444016,
0.05566612258553505,
0.026368163526058197,
0.012800417840480804,
0.03533194214105606,
0.03745953366160393,
0.05768907442688942,
-0.0068405503407120705,
-0.04502817243337631,
0.0327858105301857,
0.029611865058541298,
0.06881532073020935,
0.006735914386808872,
0.055247578769922256,
-0.0037973991129547358,
0.009670070372521877,
0.02429288998246193,
0.013585184700787067,
0.012085407972335815,
-0.004647563211619854,
-0.0036557051353156567,
-0.11879624426364899,
0.03398912027478218,
-0.009905500337481499,
0.09514860808849335,
0.04338888078927994,
0.026612311601638794,
-0.07394246757030487
] |
21,647 | auto_gptq.modeling._base | to_dict | null | def to_dict(self):
return {
"bits": self.bits,
"group_size": self.group_size,
"damp_percent": self.damp_percent,
"desc_act": self.desc_act,
"static_groups": self.static_groups,
"sym": self.sym,
"true_sequential": self.true_sequential,
"model_name_or_path": self.model_name_or_path,
"model_file_base_name": self.model_file_base_name,
"is_marlin_format": self.is_marlin_format,
"quant_method": "gptq",
}
| (self) | [
0.0634242594242096,
-0.03038666769862175,
0.011968706734478474,
-0.0321473553776741,
0.0006590207340195775,
-0.018932318314909935,
-0.05800371617078781,
-0.02866554819047451,
-0.011296085081994534,
0.004522885195910931,
0.011474132537841797,
-0.020772136747837067,
0.014402014203369617,
0.046925242990255356,
-0.003172696568071842,
-0.006365175824612379,
-0.0007325887563638389,
-0.038200948387384415,
-0.02741922065615654,
0.01762664131820202,
0.013402973301708698,
0.02156345546245575,
0.0003050907398574054,
0.05052574723958969,
-0.00695372000336647,
0.024095678701996803,
-0.0021662369836121798,
-0.049615729600191116,
-0.028329236432909966,
0.023126311600208282,
-0.028922727331519127,
-0.005598585121333599,
0.0019745894242078066,
0.037825070321559906,
-0.028982074931263924,
-0.0038032792508602142,
0.0018497093115001917,
-0.0012333455961197615,
-0.11212997138500214,
-0.038497693836688995,
0.000004911938049190212,
-0.026509203016757965,
-0.06658953428268433,
-0.007443348877131939,
0.02532222308218479,
-0.009006205014884472,
0.026113541796803474,
0.028230322524905205,
0.05317666754126549,
-0.03438283130526543,
0.033235419541597366,
-0.002994649577885866,
-0.02251303941011429,
0.04498651251196861,
-0.028606198728084564,
-0.07260356098413467,
-0.0072108986787498,
0.009881601668894291,
-0.018863078206777573,
0.02407589554786682,
-0.053334932774305344,
0.0477561317384243,
0.03212757036089897,
-0.054126251488924026,
0.010089322924613953,
-0.0033383790869265795,
-0.03183082491159439,
-0.0030416343361139297,
-0.03509501740336418,
0.019832443445920944,
0.019802769646048546,
-0.086253821849823,
0.00695372000336647,
0.028784245252609253,
-0.03335411474108696,
-0.02253282256424427,
-0.004273124970495701,
-0.05388885736465454,
-0.01822013035416603,
-0.03776572272181511,
-0.01620226539671421,
0.028230322524905205,
-0.02694442868232727,
-0.016756189987063408,
-0.010910317301750183,
-0.017458485439419746,
0.05282057449221611,
0.015490078367292881,
-0.014036029577255249,
-0.05705413222312927,
-0.014738325029611588,
0.017409028485417366,
0.0016827903455123305,
0.07204964011907578,
0.026885079219937325,
-0.05495713651180267,
-0.029496433213353157,
0.017191415652632713,
0.005069390404969454,
-0.008570979349315166,
-0.07932977378368378,
0.004396768752485514,
-0.08467118442058563,
0.025361789390444756,
-0.024610035121440887,
-0.013798633590340614,
-0.004584707319736481,
-0.04819135740399361,
-0.01854654960334301,
-0.05282057449221611,
-0.028546849265694618,
0.1179066002368927,
-0.011642287485301495,
-0.013234818354249,
0.035332415252923965,
0.0012481828453019261,
-0.005311732180416584,
0.010465200059115887,
0.02253282256424427,
-0.003150440752506256,
-0.041069481521844864,
0.07778670638799667,
0.012987530790269375,
0.052583180367946625,
-0.017280438914895058,
0.0446699857711792,
-0.001812616130337119,
0.011919249780476093,
0.06512559205293655,
0.001970879966393113,
0.0364006944000721,
-0.04008033126592636,
-0.007487860508263111,
-0.0013922277139499784,
0.005193034186959267,
-0.004127225838601589,
0.054482344537973404,
0.03190995752811432,
0.027241172268986702,
0.07193093746900558,
0.03539176285266876,
0.03008992224931717,
-0.02061387151479721,
0.004787482786923647,
0.0038008063565939665,
-0.03754810988903046,
0.040594689548015594,
-0.011533481068909168,
-0.06912175565958023,
-0.08126851171255112,
0.026192674413323402,
0.00045253580901771784,
0.02059408836066723,
-0.0017705772770568728,
-0.014599843882024288,
0.014837239868938923,
0.01529224868863821,
-0.026983993127942085,
0.002080922946333885,
-0.01610335148870945,
-0.04277081787586212,
-0.004240977577865124,
0.026469636708498,
-0.03058449737727642,
-0.014708650298416615,
0.027003776282072067,
0.0010120234219357371,
-0.07861758768558502,
0.004555032588541508,
-0.03471914306282997,
-0.015935195609927177,
-0.026054194197058678,
-0.0035856664180755615,
-0.002037647645920515,
-0.04906180873513222,
0.06793477386236191,
0.06354295462369919,
0.042137760668992996,
-0.0077450391836464405,
-0.00007808870577719063,
0.07703495025634766,
-0.023225227370858192,
-0.06880522519350052,
0.05653977766633034,
-0.0006117270677350461,
-0.06635213643312454,
0.005821143742650747,
0.021246928721666336,
0.022928481921553612,
0.003973907325416803,
0.07007133960723877,
0.03145495057106018,
0.00330870458856225,
-0.00416926434263587,
-0.034857623279094696,
-0.04680654779076576,
0.02692464552819729,
-0.029634913429617882,
-0.011929141357541084,
0.03576764091849327,
0.02599484473466873,
-0.06057550385594368,
-0.001330405822955072,
0.020435824990272522,
-0.07394880801439285,
-0.018408069387078285,
-0.0163506381213665,
-0.03968467190861702,
0.017616750672459602,
0.032701276242733,
-0.030327318236231804,
-0.043087344616651535,
0.010623464360833168,
0.01084107719361782,
0.05800371617078781,
-0.023423057049512863,
0.02492656372487545,
0.047874826937913895,
0.0009644206147640944,
-0.004901234991848469,
0.010930100455880165,
-0.015648342669010162,
0.00953539926558733,
-0.0322067029774189,
-0.06192074716091156,
-0.002903153421357274,
-0.025520052760839462,
0.026627900078892708,
-0.0467669814825058,
-0.03018883801996708,
0.010079431347548962,
-0.02914034016430378,
-0.03731071203947067,
-0.011632395908236504,
-0.023620886728167534,
0.06488819420337677,
-0.004515466745942831,
0.00022441326291300356,
-0.001203052932396531,
-0.022671302780508995,
0.07450272887945175,
0.0021427448373287916,
0.004218721762299538,
0.019654396921396255,
-0.0058953301049768925,
-0.04542173817753792,
0.0799628347158432,
0.05436364933848381,
0.01899166777729988,
-0.03412565216422081,
0.047123074531555176,
-0.0186949223279953,
0.0036647983361035585,
0.03703375160694122,
0.029931658878922462,
0.006236586719751358,
-0.016113242134451866,
0.024886997416615486,
0.008575924672186375,
-0.025084827095270157,
0.04633175581693649,
-0.008585816249251366,
-0.05206882208585739,
-0.008862778544425964,
0.021207362413406372,
0.045500870794057846,
-0.0034274025820195675,
0.029397519305348396,
-0.01592530496418476,
0.03671722486615181,
0.15723517537117004,
-0.004384404513984919,
-0.06144595891237259,
-0.048943109810352325,
-0.009204034693539143,
-0.030129488557577133,
0.02694442868232727,
-0.04708350822329521,
-0.005722228903323412,
0.03317606821656227,
0.003931868821382523,
-0.035609375685453415,
0.04324560984969139,
-0.016637491062283516,
0.043087344616651535,
0.02617289125919342,
-0.031573645770549774,
0.015054852701723576,
0.05380972474813461,
0.003682108363136649,
-0.014303099364042282,
0.03179125860333443,
-0.05005095526576042,
-0.01854654960334301,
0.08182243257761002,
-0.002917990554124117,
-0.023146094754338264,
-0.04478868097066879,
0.06366164982318878,
0.08918170630931854,
0.010064594447612762,
0.04320604354143143,
0.03576764091849327,
0.0757688358426094,
-0.09092260897159576,
0.04292908310890198,
0.08767819404602051,
-0.005232600029557943,
-0.02654876746237278,
0.007685690186917782,
-0.018012410029768944,
0.03345303237438202,
0.10113062709569931,
0.061485521495342255,
-0.048547450453042984,
-0.01951591670513153,
-0.014688868075609207,
0.008036838844418526,
0.03919009864330292,
0.062276843935251236,
-0.01509441900998354,
0.024511121213436127,
0.018961992114782333,
-0.019911576062440872,
0.07355314493179321,
-0.07414663583040237,
0.02061387151479721,
-0.026707032695412636,
0.058043282479047775,
0.02375936694443226,
-0.0288435947149992,
-0.05792458355426788,
0.028546849265694618,
0.05543192848563194,
-0.00865011103451252,
0.04945746809244156,
0.029773395508527756,
-0.00772031070664525,
-0.06856783479452133,
-0.04075295105576515,
0.007888466119766235,
-0.029733829200267792,
-0.011395000852644444,
0.005183142609894276,
-0.09100174158811569,
-0.05562976002693176,
-0.031039506196975708,
-0.036558959633111954,
-0.019130147993564606,
0.010939992032945156,
-0.027933577075600624,
0.027399437502026558,
0.025737665593624115,
0.09392961859703064,
-0.00680534727871418,
-0.039724238216876984,
-0.00315291341394186,
0.008753972128033638,
-0.039447274059057236,
0.017329895868897438,
0.042414724826812744,
0.056223247200250626,
0.010475091636180878,
0.011573047377169132,
0.01817067340016365,
-0.032641928642988205,
-0.011573047377169132,
0.017112283036112785,
0.07394880801439285,
0.003546100342646241,
-0.008378094993531704,
0.019674180075526237,
-0.05855764076113701,
-0.006775673013180494,
-0.00005544645682675764,
0.06358251720666885,
-0.04150470718741417,
0.010860859416425228,
-0.059269826859235764,
-0.049220070242881775,
-0.0030416343361139297,
-0.014629518613219261,
-0.0026632845401763916,
0.04534260556101799,
0.04170253500342369,
0.01390744000673294,
0.07260356098413467,
-0.01715184934437275,
-0.005017459858208895,
-0.04025837779045105,
-0.046529583632946014,
-0.004253342282027006,
-0.04391822963953018,
0.05903243273496628,
0.0023269737139344215,
-0.03376955911517143,
-0.0019288412295281887,
0.014649301767349243,
-0.06876566261053085,
-0.010702596046030521,
0.00139593705534935,
-0.04823092371225357,
-0.026667466387152672,
-0.03541154786944389,
-0.0004482083022594452,
-0.1002601757645607,
0.0032345184590667486,
0.013462322764098644,
0.018912535160779953,
0.004708350636065006,
-0.019881902262568474,
0.02692464552819729,
-0.016993585973978043,
-0.004470955114811659,
-0.01595497876405716,
0.056895870715379715,
0.008031892590224743,
-0.031138421967625618,
0.005222708452492952,
0.02609376050531864,
0.027063125744462013,
0.04253342002630234,
0.025579402223229408,
0.016716623678803444,
0.027300521731376648,
0.03418499976396561,
-0.010267370380461216,
0.044155627489089966,
0.00091310846619308,
0.02876446209847927,
0.02453090436756611,
0.04178166761994362,
-0.0072108986787498,
-0.024570468813180923,
0.019802769646048546,
-0.0025161486119031906,
0.03477849066257477,
-0.033037588000297546,
-0.028309453278779984,
0.025717882439494133,
-0.010445416904985905,
-0.010178347118198872,
0.0049927313812077045,
0.014402014203369617,
0.02559918537735939,
-0.0062316409312188625,
-0.0525040477514267,
0.016756189987063408,
0.010484983213245869,
-0.0024864741135388613,
0.044907379895448685,
-0.00795276090502739,
0.059190697968006134,
-0.0815059021115303,
0.013096337206661701,
0.022928481921553612,
0.04629218950867653,
-0.05562976002693176,
-0.014787782914936543,
-0.025559619069099426,
0.021246928721666336,
0.009248546324670315,
-0.027399437502026558,
0.024016546085476875,
0.00970850046724081,
0.04435345530509949,
-0.019802769646048546,
0.021781068295240402,
-0.040297944098711014,
0.03066362999379635,
0.008610544726252556,
0.08419638872146606,
-0.00010834276326932013,
-0.023937413468956947,
-0.028883161023259163,
0.0389329195022583,
-0.02694442868232727,
0.017864037305116653,
-0.044630419462919235,
-0.04763743281364441,
0.02462981827557087,
-0.04925963655114174,
-0.023917630314826965,
-0.0042261406779289246,
0.01717163249850273,
0.017438702285289764,
-0.009629368782043457,
-0.01949613355100155,
-0.04209819436073303,
0.014372339472174644,
-0.04122774302959442,
-0.006112942937761545,
0.013007313944399357,
0.04407649487257004,
0.03295845538377762,
0.07711408287286758,
-0.005207871086895466,
0.030722979456186295,
-0.011988489888608456,
0.035510461777448654,
-0.005376026500016451,
-0.014748216606676579,
-0.03361129388213158,
0.018853185698390007,
-0.032701276242733,
-0.0013538982020691037,
-0.059269826859235764,
-0.015747256577014923,
-0.01188957504928112,
0.022829566150903702,
-0.04486781358718872,
-0.018279479816555977,
-0.0009087809594348073,
-0.003694472834467888,
-0.015331814996898174,
0.006795456167310476,
-0.014223967678844929,
-0.014174509793519974,
-0.041465140879154205,
0.005094118881970644,
-0.010514657944440842,
0.052385348826646805,
-0.009624423459172249,
0.01327438373118639,
-0.04573826491832733,
0.0586763396859169,
-0.027260955423116684,
-0.02615310810506344,
0.025856364518404007,
-0.005262274295091629,
0.07481925934553146,
-0.002828967059031129,
-0.028922727331519127,
0.06575864553451538,
-0.023996762931346893,
0.029120557010173798,
0.05127750337123871,
0.04561956599354744,
-0.06298902630805969,
-0.015935195609927177,
0.009525507688522339,
0.002739943563938141,
0.016439661383628845,
-0.0099953543394804,
0.07565014064311981,
0.06057550385594368,
0.04997182637453079,
0.038102030754089355,
0.010188237763941288,
-0.020633654668927193,
-0.02051495760679245,
-0.017389245331287384,
-0.019051015377044678,
-0.07735148072242737,
0.027399437502026558,
0.018813621252775192,
0.06939871609210968,
-0.0005876165232621133,
0.0033927822951227427,
-0.01241382397711277,
0.020000599324703217,
0.012631436809897423,
-0.029199687764048576,
-0.03454109653830528,
-0.03390803933143616,
0.013976680114865303,
-0.000013349652363103814,
0.06563995033502579,
-0.05416581779718399,
0.00016506429528817534,
0.006122834514826536,
0.027439001947641373,
0.05309753492474556,
0.043285176157951355,
0.031138421967625618,
-0.046727415174245834,
0.0016939182532951236,
0.04965529590845108,
-0.0404759906232357,
-0.011859900318086147,
0.03198909014463425,
0.04229602590203285,
-0.007957706227898598,
0.031870391219854355,
-0.012384150177240372,
-0.00567771727219224,
-0.022888915613293648,
0.016014328226447105,
0.0018620736664161086,
-0.011830226518213749,
-0.02453090436756611,
0.01170163694769144,
0.010860859416425228,
0.0012117079459130764,
0.03703375160694122,
-0.03266170993447304,
-0.05092140659689903,
-0.009743121452629566,
-0.014659193344414234,
-0.0008698332239873707,
-0.008615490980446339,
-0.006117888726294041,
-0.012057730928063393,
0.037825070321559906,
0.013818416744470596,
-0.00016939183115027845,
0.009906331077218056,
0.040297944098711014,
-0.025737665593624115,
-0.031039506196975708,
-0.07375097274780273,
-0.03754810988903046,
-0.03703375160694122,
-0.0955122634768486,
0.011770877055823803,
-0.07129788398742676,
0.005222708452492952,
-0.029575565829873085,
-0.016746297478675842,
-0.03687548637390137,
0.03586655482649803,
-0.012305017560720444,
-0.02061387151479721,
0.042612552642822266,
-0.0048344675451517105,
-0.012423715554177761,
-0.01595497876405716,
0.043839097023010254,
0.019525807350873947,
-0.04067382216453552,
0.02158323861658573,
0.02886337786912918,
0.043483003973960876,
-0.03317606821656227,
-0.020871050655841827,
0.004945746622979641,
-0.04708350822329521,
0.033393681049346924,
0.03729093074798584,
0.0389922671020031,
0.04949703440070152,
0.028250105679035187,
-0.041742101311683655,
-0.021919548511505127,
-0.026212457567453384,
-0.02158323861658573,
0.00001471166433475446,
-0.03754810988903046,
0.012532521970570087,
-0.07026916742324829,
-0.019229063764214516,
-0.024135243147611618,
-0.01491637248545885,
-0.07513578236103058,
-0.05930939316749573,
-0.01859600841999054,
-0.07414663583040237,
-0.007883519865572453,
-0.04316647723317146,
-0.024906780570745468,
-0.08593729138374329,
0.006320664193481207,
-0.053730592131614685,
-0.07652059197425842,
0.06294946372509003,
0.03671722486615181,
-0.06635213643312454,
0.027379654347896576,
0.022275643423199654,
-0.08000239729881287,
0.0006200729985721409,
0.025045260787010193,
0.02051495760679245,
-0.00009180542110698298,
-0.08451291918754578,
0.061406392604112625,
0.007660961709916592,
0.0379437692463398,
0.03962532430887222,
-0.036657873541116714,
-0.01476799976080656,
0.04660871624946594,
0.0034298752434551716,
0.036677658557891846,
0.006844913586974144,
-0.04197949916124344,
-0.070585697889328,
0.0021786014549434185,
-0.03020862117409706,
0.004545141011476517,
0.00814069900661707,
0.02108866348862648,
-0.011602722108364105,
-0.04197949916124344,
0.042216893285512924,
0.005549127701669931,
0.04906180873513222,
-0.002433307468891144,
0.03297824040055275,
-0.01667705737054348,
-0.007359270937740803,
-0.051435764878988266,
0.03545111417770386,
0.02079191990196705,
0.0373898446559906,
-0.0028438044246286154,
-0.028685331344604492,
-0.01394700538367033,
-0.026687249541282654,
-0.022018464282155037,
-0.0028116570319980383,
0.07216833531856537,
-0.037152450531721115,
-0.013630477711558342,
-0.00817531906068325,
0.011869791895151138,
0.0120775131508708,
0.04779569432139397,
0.008358311839401722,
0.0016815538983792067,
-0.03228583559393883,
0.043087344616651535,
-0.007151549682021141,
0.05950722470879555,
-0.028902944177389145,
0.02474851720035076,
-0.013818416744470596,
0.0311582051217556,
-0.0018398177344352007,
-0.018358612433075905,
-0.015321923419833183,
-0.01049487479031086,
-0.07426533102989197,
-0.03462022542953491,
0.0037043641787022352,
-0.00028314400697126985,
0.019684072583913803,
-0.010114052332937717,
-0.01074216142296791,
0.026054194197058678,
0.025084827095270157,
0.07292009145021439,
-0.002547059440985322,
0.022691085934638977,
-0.01912025734782219,
0.009154576808214188,
0.03766680508852005,
0.006498711183667183,
0.013165577314794064,
-0.046529583632946014,
0.01307655405253172,
0.021721718832850456,
-0.006676758173853159,
-0.010198129341006279,
-0.001531945075839758,
-0.03412565216422081,
0.021899767220020294,
0.03930879384279251,
0.046054791659116745,
-0.011820334941148758,
-0.04486781358718872,
-0.05464060977101326,
0.019199388101696968,
0.008575924672186375,
-0.05598585307598114,
-0.004644056316465139,
0.03649961203336716,
-0.06085246801376343
] |
21,648 | auto_gptq.utils.exllama_utils | exllama_set_max_input_length |
This method does not necessarily require `model` to inherit from BaseGPTQForCausalLM.
When using the exllama backend with act-order, it is necessary to initialize a buffer that depends on the maximum expected input length. In case the
default used (EXLLAMA_DEFAULT_MAX_INPUT_LENGTH) is too short, this method can be called to extend the buffer size without reloading the whole model.
| def exllama_set_max_input_length(model, max_input_length: int):
"""
This method does not necessarily require `model` to inherit from BaseGPTQForCausalLM.
When using the exllama backend with act-order, it is necessary to initialize a buffer that depends on the maximum expected input length. In case the
default used (EXLLAMA_DEFAULT_MAX_INPUT_LENGTH) is too short, this method can be called to extend the buffer size without reloading the whole model.
"""
# The import is set here to avoid a global import. Arguably this is quite ugly, it would be better to have lazy loading.
from exllama_kernels import cleanup_buffers_cuda, prepare_buffers
if not model.quantize_config.desc_act:
raise ValueError(
"The method exllama_set_max_input_length should be called only when using the exllama backend **with act-order**."
)
uses_exllama = False
for name, submodule in model.named_modules():
if isinstance(submodule, ExllamaQuantLinear):
uses_exllama = True
if not uses_exllama:
raise ValueError(
f"The function exllama_set_max_input_length was called, but the model (instance of {model.__class__.__name__}) does not use the exllama backend for GPTQ. An other implementation is used (exllamav2, cuda, cuda-old, triton) and that the call to exllama_set_max_input_length is unnecessary. Please remove the call to exllama_set_max_input_length or use the exllama v1 backend."
)
device_to_buffers_size = {}
for device, buffers in model.device_to_buffers.items():
device_to_buffers_size[device] = {
"max_dq_buffer_size": buffers["max_dq_buffer_size"],
"max_inner_outer_dim": buffers["max_inner_outer_dim"],
}
# For an unknown reason calling just `del model.device_to_buffers` raises an AttributeError.
for key in list(model.device_to_buffers.keys()):
del model.device_to_buffers[key]
model.device_to_buffers = None
del model.device_to_buffers
gc.collect()
torch.cuda.empty_cache()
cleanup_buffers_cuda()
device_to_buffers = {}
for device, buffers_size in device_to_buffers_size.items():
# The temp_state buffer is required to reorder X in the act-order case.
# The temp_dq buffer is required to dequantize weights when using cuBLAS, typically for the prefill.
device_to_buffers[device] = {
"temp_state": torch.zeros(
(max_input_length, buffers_size["max_inner_outer_dim"]),
dtype=torch.float16,
device=device,
),
"temp_dq": torch.zeros(
(1, buffers_size["max_dq_buffer_size"]),
dtype=torch.float16,
device=device,
),
"max_dq_buffer_size": buffers_size["max_dq_buffer_size"],
"max_inner_outer_dim": buffers_size["max_inner_outer_dim"],
}
prepare_buffers(
device,
device_to_buffers[device]["temp_state"],
device_to_buffers[device]["temp_dq"],
)
# Buffers need to be persistent to avoid any bug.
model.device_to_buffers = device_to_buffers
return model
| (model, max_input_length: int) | [
0.009658582508563995,
-0.020327476784586906,
-0.0558096319437027,
0.01721571572124958,
-0.010840647853910923,
0.03776546195149422,
-0.06878203898668289,
-0.03825041279196739,
-0.010199099779129028,
-0.06841832399368286,
0.014639420434832573,
-0.0455852746963501,
-0.020256755873560905,
0.033501945436000824,
-0.000275310012511909,
0.06987317651510239,
0.04465578868985176,
-0.03075389564037323,
0.08761425316333771,
-0.005485993809998035,
0.004455475602298975,
0.009673736989498138,
-0.04930322244763374,
0.041382379829883575,
-0.03742195665836334,
0.02511635608971119,
0.005182900466024876,
0.009537344798445702,
0.012649105861783028,
-0.014275708235800266,
-0.005516303237527609,
-0.0015344113344326615,
0.04962652549147606,
0.03127925843000412,
-0.039503198117017746,
-0.06461955606937408,
0.05265745893120766,
0.03663391247391701,
-0.05512262135744095,
-0.04178650304675102,
-0.006758986972272396,
-0.048010025173425674,
0.06061871722340584,
-0.000612185918726027,
-0.009289818815886974,
-0.0022277378011494875,
-0.02436872385442257,
0.06821626424789429,
-0.031077196821570396,
0.03285534679889679,
0.0323299840092659,
-0.06619563698768616,
0.016862107440829277,
0.058153558522462845,
-0.040109384804964066,
-0.0007690999773330986,
-0.03661370649933815,
0.00013323489110916853,
0.032451219856739044,
-0.028511004522442818,
-0.01011827401816845,
0.017478397116065025,
0.030996371060609818,
-0.037563398480415344,
0.009729304350912571,
-0.02089325152337551,
0.000378235534299165,
0.01768045872449875,
0.009279715828597546,
0.004463053308427334,
-0.04271598905324936,
-0.03061245195567608,
0.012497559189796448,
0.031218640506267548,
0.025581099092960358,
-0.0265307929366827,
-0.0035436691250652075,
0.02931925281882286,
-0.04219062626361847,
-0.012487456202507019,
0.05601169541478157,
0.038694947957992554,
-0.021034695208072662,
-0.02931925281882286,
-0.004490836523473263,
-0.01758953183889389,
0.035825662314891815,
0.029965853318572044,
0.058759745210409164,
-0.07767278701066971,
-0.030996371060609818,
0.023722125217318535,
0.030349772423505783,
0.08163321018218994,
0.018175512552261353,
-0.01818561553955078,
-0.023944392800331116,
-0.0010507244151085615,
-0.01818561553955078,
-0.03420916199684143,
-0.043645478785037994,
0.07662206143140793,
0.014316120184957981,
0.03194606304168701,
0.002327506197616458,
-0.0043721250258386135,
-0.028288735076785088,
-0.020731601864099503,
0.07969340682029724,
-0.02285325713455677,
-0.08761425316333771,
0.048171672970056534,
-0.009345386177301407,
0.01978190802037716,
-0.032228950411081314,
0.025439655408263206,
-0.019822319969534874,
0.019529329612851143,
-0.001768045942299068,
0.0021494387183338404,
0.015498185530304909,
0.005546612665057182,
-0.054395195096731186,
-0.07581380754709244,
0.03390606865286827,
0.06510450690984726,
0.03964463993906975,
0.007976412773132324,
-0.020711395889520645,
-0.03301699459552765,
-0.033986896276474,
0.02218645066022873,
-0.02232789434492588,
0.05463767051696777,
0.0475250743329525,
0.025924604386091232,
-0.019963763654232025,
0.00007462890062015504,
-0.02143882028758526,
0.022570369765162468,
-0.0136089026927948,
0.08923075348138809,
0.060255005955696106,
-0.0610632561147213,
-0.0017617314588278532,
0.007875381968915462,
0.08430042862892151,
-0.04849497601389885,
-0.03956381604075432,
-0.052212923765182495,
-0.022752225399017334,
0.02052953839302063,
-0.014881894923746586,
-0.011184153147041798,
-0.01977180503308773,
0.04623187705874443,
-0.056496646255254745,
-0.0035790300462394953,
0.012184361927211285,
0.010365800932049751,
-0.06090160459280014,
0.022226862609386444,
-0.036734942346811295,
0.006082077976316214,
-0.03210771456360817,
-0.02865244820713997,
-0.02790481597185135,
-0.010689100250601768,
-0.01692272536456585,
0.0563754066824913,
0.01199240330606699,
0.029379872605204582,
0.02279263734817505,
-0.020125415176153183,
-0.038088761270046234,
0.06664017587900162,
-0.017043963074684143,
-0.03863433003425598,
0.009754561819136143,
-0.040331654250621796,
0.011264978908002377,
0.01034054346382618,
-0.0014952616766095161,
-0.0022706761956214905,
-0.013144158758223057,
0.02240872010588646,
-0.01873118430376053,
0.010103119537234306,
-0.0034830505028367043,
-0.011264978908002377,
-0.03624999523162842,
-0.003414854407310486,
0.05164714902639389,
-0.04136217385530472,
-0.0547184981405735,
0.016720663756132126,
0.03810896724462509,
-0.024045424535870552,
0.003816453507170081,
0.0016076589236035943,
-0.04027103632688522,
0.0051298588514328,
0.0491819866001606,
-0.032814931124448776,
-0.045827750116586685,
-0.028086673468351364,
0.0037204737309366465,
0.016124578192830086,
-0.053869836032390594,
0.0024247486144304276,
-0.03428998962044716,
-0.0008360331412404776,
0.021155932918190956,
0.03202689066529274,
0.04413042590022087,
-0.007602597586810589,
-0.017458191141486168,
0.07258081436157227,
0.05540550872683525,
-0.02451016753911972,
0.04126114025712013,
-0.023115938529372215,
-0.038371648639440536,
0.005193003453314304,
0.00443274388089776,
-0.009416108019649982,
0.014760658144950867,
0.04004876688122749,
0.029117191210389137,
-0.01308353990316391,
0.04655517637729645,
0.018135100603103638,
0.00275310012511909,
-0.009936418384313583,
0.005038931034505367,
0.04821208864450455,
-0.013972614891827106,
0.0037255254574120045,
-0.03515885770320892,
-0.0455852746963501,
-0.019044380635023117,
-0.020539643242955208,
0.008638167753815651,
-0.009087756276130676,
-0.0013146684505045414,
0.042756401002407074,
0.04073577746748924,
0.027783578261733055,
-0.044009190052747726,
-0.05686035752296448,
-0.03796752542257309,
-0.021903563290834427,
-0.017458191141486168,
0.006607440300285816,
0.002504310803487897,
-0.07755154371261597,
0.007057029288262129,
-0.016296332702040672,
0.010436522774398327,
-0.04542362689971924,
-0.020580055192112923,
-0.025318417698144913,
-0.046353112906217575,
0.0541527234017849,
-0.0017617314588278532,
0.0021671191789209843,
0.0042180526070296764,
0.04340300336480141,
-0.014093851670622826,
0.028026053681969643,
0.05677953362464905,
0.07528844475746155,
-0.0917363241314888,
-0.01820582151412964,
0.016872210428118706,
0.027116773650050163,
-0.009552499279379845,
0.05188962444663048,
-0.013952407985925674,
0.036876387894153595,
-0.02788460999727249,
-0.0527786985039711,
0.012376321479678154,
0.03580545634031296,
-0.03180462121963501,
-0.01289158035069704,
-0.054031483829021454,
-0.07508638501167297,
0.02180253155529499,
0.00037034248816780746,
-0.022388514131307602,
-0.001454849261790514,
-0.0008442419348284602,
0.017165200784802437,
0.020549746230244637,
-0.056658294051885605,
-0.006885276176035404,
0.024267693981528282,
0.024692025035619736,
-0.01323508657515049,
-0.004397382959723473,
0.01572045497596264,
0.027318835258483887,
0.03768463805317879,
-0.016882313415408134,
-0.034997206181287766,
-0.00590022187680006,
-0.07148967683315277,
0.03317864611744881,
-0.032976582646369934,
-0.0023691814858466387,
0.024570787325501442,
0.05795149505138397,
0.008693734183907509,
0.013659417629241943,
0.025278005748987198,
0.05766860768198967,
0.020812425762414932,
0.03825041279196739,
0.04546403884887695,
-0.03301699459552765,
0.03388586267828941,
-0.0008038294618017972,
0.010386006906628609,
0.0067741419188678265,
-0.007279297802597284,
0.08292640745639801,
-0.005794139113277197,
-0.02299470081925392,
-0.09278704971075058,
-0.04239268973469734,
0.009628272615373135,
-0.001790778012946248,
-0.014770761132240295,
-0.07011564821004868,
-0.02196418307721615,
0.008355280384421349,
0.005723417270928621,
0.038957629352808,
-0.016447879374027252,
0.06470037996768951,
0.001065247692167759,
-0.005455684848129749,
0.03721989318728447,
0.014801070094108582,
-0.043645478785037994,
0.04578733816742897,
-0.0018400306580588222,
0.004137227311730385,
0.04134196415543556,
-0.005425375420600176,
-0.012911787256598473,
0.024712231010198593,
0.03879597783088684,
0.043120115995407104,
-0.03689659386873245,
-0.017801696434617043,
0.020054692402482033,
-0.006132593844085932,
0.0013399262679740787,
-0.02691471017897129,
-0.018256336450576782,
-0.05948716774582863,
0.012366218492388725,
0.004139753524214029,
-0.03323926404118538,
0.024106044322252274,
-0.027864404022693634,
0.0704793632030487,
0.0028869665693491697,
-0.01258848700672388,
-0.039725467562675476,
0.03540133312344551,
0.08058248460292816,
-0.003538617631420493,
0.026106461882591248,
-0.12147991359233856,
0.017478397116065025,
-0.03471431881189346,
0.06211398169398308,
0.04893951117992401,
-0.02925863489508629,
0.0022997225169092417,
-0.027015741914510727,
0.00886548776179552,
-0.02345944382250309,
0.005440529901534319,
-0.006162902805954218,
0.020731601864099503,
-0.004531249403953552,
0.054395195096731186,
-0.010138480924069881,
0.004046299494802952,
0.026288317516446114,
-0.03594689816236496,
0.04623187705874443,
-0.03624999523162842,
0.037563398480415344,
-0.007238885387778282,
-0.018822111189365387,
-0.026894504204392433,
-0.012406631372869015,
0.007461153902113438,
0.021378200501203537,
-0.0297031719237566,
0.02345944382250309,
0.07464184612035751,
0.04728259891271591,
-0.03930113464593887,
0.04340300336480141,
-0.03313823416829109,
0.043726302683353424,
-0.024227280169725418,
0.008521981537342072,
-0.01579117588698864,
-0.006481151096522808,
0.006809502840042114,
-0.05496096983551979,
0.021155932918190956,
0.05407189577817917,
0.024550581350922585,
0.05932551994919777,
0.022146038711071014,
0.007304555736482143,
0.03374442085623741,
0.04043268412351608,
-0.04821208864450455,
0.04873744770884514,
-0.042756401002407074,
-0.011749927885830402,
-0.008552290499210358,
0.007956206798553467,
0.011719618923962116,
-0.060699544847011566,
-0.05681994557380676,
0.05104096233844757,
0.020327476784586906,
0.022732019424438477,
-0.023944392800331116,
0.0032683592289686203,
0.043807126581668854,
-0.01308353990316391,
0.03493658825755119,
0.06267975270748138,
0.05714324489235878,
-0.00932012777775526,
-0.013810964301228523,
0.03352215141057968,
-0.07411648333072662,
0.023338206112384796,
0.0342697836458683,
0.0033087716437876225,
0.027096567675471306,
-0.008173423819243908,
0.04510032758116722,
-0.0475250743329525,
0.0013929676497355103,
-0.00819868128746748,
-0.025742748752236366,
0.008299713023006916,
0.006208367180079222,
0.08017835766077042,
0.030713483691215515,
-0.011174050159752369,
0.007168163545429707,
0.05496096983551979,
0.04194815456867218,
-0.006829708814620972,
-0.035381123423576355,
0.022893669083714485,
0.016377156600356102,
0.0229340810328722,
0.02277243137359619,
-0.019812216982245445,
-0.01417467650026083,
-0.059891294687986374,
0.007046925835311413,
0.020327476784586906,
0.0021633305586874485,
-0.04004876688122749,
0.08575528115034103,
-0.07314658910036087,
0.04784837365150452,
0.03255225345492363,
-0.01259858999401331,
0.03618937358260155,
0.018630152568221092,
-0.01841798797249794,
-0.03277451917529106,
0.01953943260014057,
-0.12996652722358704,
0.016296332702040672,
0.02269160747528076,
0.04954569786787033,
0.01067899726331234,
-0.01586189866065979,
0.059648819267749786,
-0.002669749315828085,
0.0297031719237566,
-0.009203942492604256,
0.02119634486734867,
-0.026793474331498146,
-0.045827750116586685,
-0.06530656665563583,
0.013346221297979355,
0.046959299594163895,
-0.03649246692657471,
0.005561767611652613,
-0.0646599680185318,
0.004589342046529055,
-0.06942863762378693,
-0.010618378408253193,
0.05807273089885712,
-0.034128338098526,
-0.0017857264028862119,
0.00471815699711442,
0.016407465562224388,
-0.024247488006949425,
0.03366359323263168,
-0.0003209319256711751,
-0.01849881187081337,
0.08126949518918991,
0.00895136408507824,
-0.0762583464384079,
0.033279675990343094,
0.02263098768889904,
-0.0027000587433576584,
-0.02248954400420189,
0.05496096983551979,
0.026652030646800995,
0.023338206112384796,
0.006021459121257067,
0.0524958111345768,
0.0923020988702774,
0.03825041279196739,
-0.050192300230264664,
-0.02495470643043518,
-0.04437290132045746,
0.02331800013780594,
-0.04708053916692734,
-0.06203315407037735,
0.013174467720091343,
0.016185197979211807,
-0.036270201206207275,
-0.019367679953575134,
0.0025611408054828644,
0.04473661258816719,
0.08826085180044174,
-0.03546195104718208,
0.006213418673723936,
-0.08712930232286453,
-0.015589113347232342,
0.04728259891271591,
-0.0012856220128014684,
0.0008600280852988362,
-0.05819397047162056,
0.02414645627140999,
-0.017478397116065025,
0.022651193663477898,
-0.016427673399448395,
0.0060669234953820705,
0.021640881896018982,
0.01925654523074627,
-0.014599007554352283,
0.022954288870096207,
0.014689936302602291,
-0.025924604386091232,
0.03212792053818703,
0.004258465021848679,
0.027985641732811928,
0.0005076817469671369,
-0.031238846480846405,
-0.03352215141057968,
-0.01670045778155327,
-0.04699971154332161,
-0.053869836032390594,
-0.0265307929366827,
-0.021863151341676712,
0.000510207551997155,
0.004922745283693075,
0.02503553032875061,
0.06352841854095459,
-0.06142696738243103,
-0.011133638210594654,
0.07076224684715271,
0.023701919242739677,
0.035603392869234085,
0.03487597033381462,
-0.02246933802962303,
-0.014427254907786846,
-0.031158020719885826,
0.06526615470647812,
-0.011305390857160091,
-0.04978817328810692,
0.04776754975318909,
0.034835558384656906,
-0.08632105588912964,
-0.017427882179617882,
-0.020418405532836914,
0.016680249944329262,
-0.021822739392518997,
0.02180253155529499,
0.024186868220567703,
0.01855943165719509,
0.039442580193281174,
-0.04210980236530304,
-0.03186523914337158,
-0.0063447593711316586,
0.015700247138738632,
-0.00025873459526337683,
-0.04445372521877289,
0.005743623711168766,
-0.02194397523999214,
0.008335073478519917,
-0.08834167569875717,
-0.08284558355808258,
-0.045140739530324936,
-0.02525779977440834,
0.11727701127529144,
0.00759249459952116,
-0.024974912405014038,
0.03946278616786003,
-0.0019524279050529003,
-0.006743832491338253,
-0.05265745893120766,
0.00196505687199533,
-0.011517556384205818,
-0.05742613226175308,
-0.04039227217435837,
0.01834726519882679,
0.049949824810028076,
0.01229549665004015,
0.07771319895982742,
0.013326015323400497,
0.014497976750135422,
-0.04873744770884514,
-0.02224707044661045,
0.02127717062830925,
0.018145203590393066,
-0.027035947889089584,
-0.026712648570537567,
0.023196762427687645,
-0.01572045497596264,
-0.03495679423213005,
0.0022075315937399864,
0.006061872001737356,
0.002420959994196892,
0.022428926080465317,
0.01804417185485363,
0.015882104635238647,
-0.02089325152337551,
0.017104580998420715,
-0.01275013666599989,
-0.04029124230146408,
0.011739824898540974,
0.008612909354269505,
0.004124598577618599,
0.03125905245542526,
0.005986098200082779,
-0.039119280874729156,
0.018902936950325966,
0.003581556025892496,
0.021337788552045822,
-0.0023199289571493864,
-0.02354026958346367,
-0.055607572197914124,
0.011891371570527554,
0.014952616766095161,
-0.014417151920497417,
0.03346153348684311,
-0.032673489302396774,
-0.05087931081652641,
-0.0392405167222023,
-0.04554486274719238,
0.02008500136435032,
-0.0017832006560638547,
0.007132802624255419,
0.01624581590294838,
-0.01931716501712799,
-0.02796543575823307,
0.022085418924689293,
0.04978817328810692,
-0.046272289007902145,
0.009668685495853424,
0.033784832805395126,
-0.013002715073525906,
-0.0011921680998057127,
0.0563754066824913,
-0.01247735321521759,
-0.07217668741941452,
0.002530831377953291,
0.013558386825025082,
0.010497141629457474,
-0.04287764057517052,
-0.03396668657660484,
-0.05758778378367424,
-0.042756401002407074,
-0.003460318548604846,
-0.023802949115633965,
-0.03285534679889679,
0.06385171413421631,
-0.01993345469236374,
-0.06534697860479355,
-0.029076779261231422,
0.0005761935608461499,
0.06211398169398308,
-0.05787067115306854,
0.0032153178472071886,
-0.10135449469089508,
-0.0023527638986706734,
0.08143114298582077,
0.029804203659296036,
0.037482574582099915,
-0.03285534679889679,
-0.0020900829695165157,
0.0019663197454065084,
-0.001416962593793869,
0.03857371211051941,
-0.0005922953714616597,
0.060335829854011536,
-0.017407674342393875,
0.053425297141075134,
0.06704430282115936,
-0.013487664982676506,
-0.053950659930706024,
-0.0020534591749310493,
-0.02788460999727249,
0.029359666630625725,
0.04051351174712181,
-0.04219062626361847,
0.02277243137359619,
-0.009294870309531689,
-0.05382942035794258,
0.009885902516543865,
0.012002506293356419,
-0.01985263079404831,
-0.0033643387723714113,
-0.044090013951063156,
-0.039725467562675476,
-0.02992544136941433,
-0.0026444916147738695,
0.0034072771668434143,
-0.011911578476428986,
0.031178226694464684,
0.011062916368246078,
0.03418895602226257,
0.012376321479678154,
0.02119634486734867,
0.005576922092586756,
-0.05269787088036537,
0.053869836032390594,
-0.017417779192328453,
0.02240872010588646,
0.008168372325599194,
0.07738989591598511,
-0.01435653306543827,
-0.006860018242150545,
-0.018993865698575974,
-0.07346988469362259,
-0.029278840869665146,
-0.02052953839302063,
-0.028531210497021675,
0.04190773889422417,
0.006173006258904934,
-0.007617752067744732,
-0.05188962444663048,
-0.008880642242729664,
-0.01812499761581421
] |
21,649 | auto_gptq.utils.peft_utils | get_gptq_peft_model | null | def get_gptq_peft_model(
model: BaseGPTQForCausalLM,
peft_config: PeftConfig = None,
model_id: str = None,
adapter_name: str = "default",
auto_find_all_linears: bool = True,
train_mode: bool = False,
):
if train_mode and not model.trainable:
model.enable_trainable_mode()
if train_mode and not peft_config:
raise ValueError("peft_config not specified when in train mode.")
if not train_mode and not model_id:
raise ValueError("model_id(where to load adapters) not specified when in inference mode.")
if model.fused_attn_module_type is not None and not model.injected_fused_attention:
peft_types = [PeftType.LORA.value, PeftType.ADALORA.value]
warnings.warn(
f"You can just ignore this warning if the peft type you use isn't in {peft_types}.\n"
f"{model.__class__.__name__} supports injecting fused attention but not enables this time. "
"If you are training adapters, you must also disable fused attention injection when loading quantized "
"base model at inference time, otherwise adapters may not be added to base model properly. "
"If you are loading adapters to do inference, you can reference to adapter's config file to check "
"whether the adapters are trained using base model that not enable fused attention injection."
)
if model.injected_fused_mlp:
raise NotImplementedError(
"GPTQ model that enables fused mlp injection is not supported to integrate with peft."
)
if train_mode:
peft_type = peft_config.peft_type
if not isinstance(peft_type, str):
peft_type = peft_type.value
if peft_type in [PeftType.LORA.value, PeftType.ADALORA.value]:
if auto_find_all_linears:
peft_config.target_modules = find_all_linear_names(model, ignore_lm_head=True)
if peft_type == PeftType.LORA.value and not isinstance(peft_config, GPTQLoraConfig):
peft_config = GPTQLoraConfig(**peft_config.to_dict())
if peft_type == PeftType.ADALORA.value and not isinstance(peft_config, GPTQAdaLoraConfig):
peft_config = GPTQAdaLoraConfig(**peft_config.to_dict())
peft_config.injected_fused_attention = model.injected_fused_attention
peft_config.injected_fused_mlp = model.injected_fused_mlp
if peft_type == PeftType.ADAPTION_PROMPT.value:
if peft_config.adapter_layers > model.config.num_hidden_layers:
warnings.warn(
f"model has only {model.config.num_hidden_layers} layers "
f"but adapter_layers is set to {peft_config.adapter_layers}, "
f"will reset value to {model.config.num_hidden_layers}."
)
peft_config.adapter_layers = model.config.num_hidden_layers
if model.injected_fused_attention:
raise NotImplementedError(
"model with fused attention injected isn't supported to use ADAPTION_PROMPT peft type yet."
)
with hijack_peft_mappings():
try:
if train_mode:
peft_model = get_peft_model(model.model, peft_config, adapter_name=adapter_name)
else:
peft_model = PeftModel.from_pretrained(model.model, model_id, adapter_name)
except:
raise
raise NotImplementedError(
f"{model.__class__.__name__} not support {peft_config.peft_type.value} peft type yet."
)
return peft_model
| (model: auto_gptq.modeling._base.BaseGPTQForCausalLM, peft_config: Optional[peft.config.PeftConfig] = None, model_id: Optional[str] = None, adapter_name: str = 'default', auto_find_all_linears: bool = True, train_mode: bool = False) | [
0.06171358376741409,
-0.03350444138050079,
-0.023906713351607323,
0.002224219962954521,
0.007991617545485497,
0.011252508498728275,
0.004258626606315374,
-0.06669739633798599,
-0.007573055103421211,
-0.00870706606656313,
-0.020129920914769173,
-0.06264805048704147,
-0.03192753344774246,
0.058598704636096954,
-0.0001080626534530893,
0.06112954393029213,
-0.015934564173221588,
0.029455095529556274,
0.014308985322713852,
-0.021239597350358963,
0.05793679133057594,
-0.025697769597172737,
-0.03192753344774246,
0.07319971174001694,
0.018971573561429977,
-0.016898231580853462,
0.009140229783952236,
-0.037943147122859955,
-0.024510221555829048,
0.01171000674366951,
0.02526947483420372,
0.00944685097783804,
-0.010006556287407875,
0.02277756854891777,
-0.0898643210530281,
0.027274679392576218,
0.0336017832159996,
0.047540873289108276,
-0.029435627162456512,
-0.0257172379642725,
-0.017268123105168343,
-0.014454996213316917,
0.030856791883707047,
0.004837799817323685,
-0.06416655331850052,
-0.02112278901040554,
-0.018689287826418877,
0.021239597350358963,
0.039987288415431976,
0.045048970729112625,
-0.02840382419526577,
-0.01379308383911848,
-0.023030653595924377,
0.050110653042793274,
-0.05451042205095291,
-0.058871254324913025,
-0.08604859560728073,
-0.02277756854891777,
0.0035796798765659332,
-0.0019772194791585207,
-0.026126066222786903,
0.004747760482132435,
0.016197383403778076,
0.056106798350811005,
0.021278532221913338,
-0.017404399812221527,
-0.011972825042903423,
0.004521444905549288,
-0.020129920914769173,
-0.0063903736881911755,
-0.024841178208589554,
-0.0654125064611435,
0.00045841073733754456,
0.023828841745853424,
0.06985121220350266,
-0.014445262029767036,
0.026223406195640564,
-0.02048034407198429,
-0.006794334854930639,
0.04123324155807495,
0.0035261427983641624,
0.06716462969779968,
0.011349848471581936,
-0.025386281311511993,
-0.0016705984016880393,
0.04271280765533447,
0.053264468908309937,
0.0005566633190028369,
0.05521126836538315,
-0.0501495897769928,
0.03358231484889984,
-0.018280459567904472,
0.004355966579169035,
0.03928643837571144,
-0.0017095344373956323,
-0.01778402552008629,
-0.014231113716959953,
0.0015075538540259004,
-0.05415999889373779,
-0.02297224849462509,
-0.06272592395544052,
0.07386162132024765,
-0.04170047119259834,
-0.015048770233988762,
0.015146110206842422,
-0.04890363663434982,
-0.05439361557364464,
0.0078018042258918285,
0.07269354164600372,
-0.023828841745853424,
-0.053264468908309937,
0.037106022238731384,
-0.028890524059534073,
0.022174060344696045,
0.017297325655817986,
0.03212221339344978,
0.008030553348362446,
-0.001630445709452033,
0.004037178121507168,
0.02608713135123253,
-0.02083076909184456,
0.050305332988500595,
-0.07584735751152039,
-0.10177874565124512,
0.019614018499851227,
0.01295595895498991,
0.04796916991472244,
0.017365463078022003,
0.043374720960855484,
-0.07027950882911682,
0.021356403827667236,
0.026671171188354492,
-0.0006740797543898225,
-0.018299927935004234,
-0.039870478212833405,
-0.004188055172562599,
-0.009164564311504364,
0.021706828847527504,
-0.032978806644678116,
0.022349273785948753,
-0.030856791883707047,
0.06677526980638504,
0.017365463078022003,
-0.0036526848562061787,
-0.009485786780714989,
0.01273207738995552,
-0.04294642433524132,
-0.0549776554107666,
0.0030102406162768602,
0.016615943983197212,
0.010950754396617413,
-0.028812652453780174,
-0.06362144649028778,
0.03835197538137436,
-0.0029664377216249704,
-0.019477741792798042,
0.003995808772742748,
0.01410457119345665,
0.01475675031542778,
-0.0024140330497175455,
-0.008079223334789276,
-0.049643419682979584,
0.048825763165950775,
0.05976678431034088,
-0.026320746168494225,
-0.021375872194767,
-0.06591867655515671,
-0.0030102406162768602,
0.04407557100057602,
0.0602729506790638,
0.01853354275226593,
0.01484435610473156,
-0.02112278901040554,
-0.044231314212083817,
0.022349273785948753,
0.04769662022590637,
0.0424402579665184,
-0.025230538100004196,
0.02618447132408619,
-0.012284313328564167,
0.008770337328314781,
0.02746935933828354,
-0.017871631309390068,
-0.0019309830386191607,
-0.008517253212630749,
0.03510081768035889,
-0.030292220413684845,
0.022641293704509735,
-0.025113729760050774,
-0.012547130696475506,
-0.027508294209837914,
-0.019798964262008667,
0.021979380398988724,
0.00640984158962965,
-0.03445837274193764,
0.020597152411937714,
0.0413111113011837,
0.020149387419223785,
-0.04750194028019905,
0.018845031037926674,
0.018056577071547508,
-0.017307059839367867,
0.0451657772064209,
0.03280359134078026,
-0.07374481111764908,
-0.0036745865363627672,
-0.03042849525809288,
-0.014094837941229343,
0.015603608451783657,
-0.017180517315864563,
0.026242874562740326,
-0.03449730947613716,
0.008371243253350258,
0.029824987053871155,
0.03967579826712608,
0.02351735346019268,
-0.04469854757189751,
0.05715807154774666,
0.011057828553020954,
0.028364887461066246,
-0.004448439925909042,
-0.02719680778682232,
-0.006604521535336971,
0.02470490150153637,
0.020986512303352356,
-0.024023521691560745,
-0.014688611961901188,
0.03778740391135216,
0.0016559973591938615,
-0.031129345297813416,
0.05178489908576012,
0.007728799246251583,
-0.0171610489487648,
-0.012508194893598557,
0.05587318167090416,
0.02840382419526577,
-0.025600429624319077,
0.012625003233551979,
-0.0527193658053875,
-0.04898150637745857,
0.039617396891117096,
0.005236893892288208,
-0.02581457793712616,
0.01632392406463623,
-0.010045492090284824,
0.03685293719172478,
0.024393413215875626,
-0.01797870546579361,
-0.01286835316568613,
-0.04057132825255394,
-0.0010585729032754898,
0.00495947478339076,
0.002285057445988059,
0.06467272341251373,
-0.0007610774482600391,
-0.06424442678689957,
0.0066726598888635635,
-0.00973400380462408,
0.02776137925684452,
0.027274679392576218,
-0.04314110428094864,
0.004582282155752182,
-0.05396531894803047,
0.06147996708750725,
-0.01806631125509739,
-0.027722442522644997,
-0.06319314986467361,
0.017735354602336884,
-0.038858141750097275,
-0.024081924930214882,
0.05937742441892624,
0.03698921576142311,
-0.031129345297813416,
0.021609488874673843,
0.00853672157973051,
0.002783925039693713,
-0.04092175140976906,
0.07471821457147598,
-0.01576908677816391,
-0.023186396807432175,
-0.026418086141347885,
-0.04722938686609268,
0.05201851576566696,
0.011408252641558647,
-0.07592523097991943,
-0.0036380840465426445,
-0.0501495897769928,
0.012712609022855759,
0.0324726365506649,
-0.01826099120080471,
-0.04590556398034096,
0.0007452596910297871,
0.01751147210597992,
0.014240847900509834,
0.05069469287991524,
0.023283736780285835,
0.017102645710110664,
-0.026223406195640564,
0.015623075887560844,
-0.05299191549420357,
0.018397267907857895,
0.008449115790426731,
0.02848169580101967,
0.0499938428401947,
0.011174636892974377,
0.019779495894908905,
-0.0115737309679389,
-0.050500012934207916,
0.037398044019937515,
-0.07109716534614563,
-0.036288365721702576,
-0.02497745491564274,
0.04933193325996399,
0.015642544254660606,
0.013686009682714939,
-0.0032998272217810154,
0.013209043070673943,
0.00035103250411339104,
0.06167464703321457,
-0.023731501772999763,
-0.02857903577387333,
0.08674944192171097,
0.034808799624443054,
0.019516678526997566,
0.004010409582406282,
-0.03893601521849632,
0.07487396150827408,
0.00640984158962965,
-0.02398458495736122,
-0.031577110290527344,
-0.03033115528523922,
0.018183119595050812,
0.0028909991960972548,
0.023205865174531937,
-0.09025368094444275,
0.0172389205545187,
0.018737956881523132,
-0.029649775475263596,
0.04197302460670471,
0.020694492384791374,
0.08916347473859787,
-0.0006515698623843491,
-0.02774191088974476,
0.040143031626939774,
0.07997457683086395,
0.028734778985381126,
-0.01705397479236126,
0.041077494621276855,
0.07440672814846039,
0.028715310618281364,
-0.023264268413186073,
-0.03146030008792877,
0.03356284648180008,
0.019312264397740364,
0.021356403827667236,
-0.004080981016159058,
-0.013403723016381264,
0.04216770455241203,
-0.007392975967377424,
0.009466318413615227,
-0.05018852278590202,
-0.05875444784760475,
-0.05310872569680214,
0.027683507651090622,
-0.021375872194767,
-0.02517213486135006,
0.008853076957166195,
0.0168008916079998,
0.06241443380713463,
0.014211645349860191,
-0.024860646575689316,
-0.04574981704354286,
0.0019200323149561882,
0.010103896260261536,
0.018864499405026436,
0.0041126166470348835,
-0.04473748058080673,
0.013802817091345787,
-0.009057491086423397,
0.06112954393029213,
0.04547726735472679,
-0.009042889811098576,
-0.005626254249364138,
0.007402710150927305,
0.028559567406773567,
-0.05774211138486862,
-0.003346063895151019,
0.0005682224873453379,
0.047268323600292206,
-0.03403007611632347,
0.024821709841489792,
0.009227835573256016,
-0.000681988662108779,
0.046061307191848755,
0.011817080900073051,
0.026690639555454254,
-0.0877617821097374,
0.025872983038425446,
-0.03685293719172478,
-0.020947575569152832,
0.016995571553707123,
-0.06023401767015457,
0.044776417315006256,
0.04041558504104614,
0.0054899780079722404,
0.03153817355632782,
0.04193408787250519,
0.0047672283835709095,
-0.024023521691560745,
-0.009753472171723843,
0.017015038058161736,
0.061090607196092606,
-0.048358529806137085,
0.003290093271061778,
-0.06961759924888611,
0.05964997410774231,
-0.041544727981090546,
-0.018786627799272537,
0.014503666199743748,
0.03290093317627907,
0.04933193325996399,
0.008599992841482162,
0.0022887077648192644,
0.010269373655319214,
0.0035894138272851706,
0.06272592395544052,
-0.020246727392077446,
0.09297920763492584,
-0.014620473608374596,
0.008123026229441166,
0.013481595553457737,
-0.018757425248622894,
0.044036634266376495,
-0.05268042907118797,
-0.014231113716959953,
0.02996126376092434,
0.027702974155545235,
-0.026982659474015236,
-0.0393059067428112,
-0.01732652634382248,
0.05322553217411041,
-0.033154018223285675,
0.003781660459935665,
0.0039325375109910965,
0.04173940792679787,
-0.011262242682278156,
-0.07133077830076218,
0.03469198942184448,
-0.09835237264633179,
0.02046087570488453,
0.04022090509533882,
0.02489958144724369,
0.037592723965644836,
0.03990941494703293,
0.01175867673009634,
-0.014503666199743748,
0.03188859671354294,
0.019029976800084114,
-0.07444566488265991,
0.05310872569680214,
0.0019370667869225144,
0.03870239853858948,
0.029824987053871155,
0.003837631084024906,
0.037106022238731384,
0.05540594831109047,
-0.001754554221406579,
-0.011953356675803661,
-0.07654820382595062,
-0.002759590046480298,
0.006181092467159033,
-0.014182443730533123,
0.02700212597846985,
-0.022855442017316818,
-0.04368621110916138,
0.021005980670452118,
0.020889172330498695,
0.0282091423869133,
0.05392638221383095,
-0.005587318446487188,
0.09648344665765762,
-0.09336856752634048,
0.014075369574129581,
0.03827410191297531,
-0.030000200495123863,
-0.0030978466384112835,
-0.0232253335416317,
-0.0025673434138298035,
-0.06922823935747147,
-0.030506368726491928,
-0.08238860964775085,
0.0010257206158712506,
0.04306323453783989,
-0.00756332091987133,
-0.02287490852177143,
-0.008084090426564217,
0.03420529142022133,
-0.00009718794171931222,
0.027702974155545235,
-0.025211069732904434,
0.06918930262327194,
0.007086354773491621,
-0.018183119595050812,
-0.026145534589886665,
0.044581737369298935,
-0.008220366202294827,
-0.03235583007335663,
0.01943880505859852,
-0.04473748058080673,
0.04103856161236763,
-0.03948111832141876,
-0.02591191790997982,
0.021142257377505302,
-0.04294642433524132,
-0.005655456334352493,
0.008799539878964424,
0.05147341266274452,
-0.07557480782270432,
-0.00027103116735816,
-0.01685929484665394,
-0.007831006310880184,
0.05762530490756035,
0.03985101357102394,
-0.01268340740352869,
0.028423290699720383,
0.047346193343400955,
-0.015613342635333538,
0.006916009820997715,
0.048280660063028336,
0.015408928506076336,
0.06288166344165802,
-0.010259640403091908,
0.03494507446885109,
0.006069151218980551,
0.03237529844045639,
-0.05100617930293083,
-0.06151890382170677,
-0.060156144201755524,
0.01576908677816391,
-0.050383202731609344,
-0.024023521691560745,
-0.008264169096946716,
-0.002550309058278799,
-0.012206440791487694,
0.05672977492213249,
-0.01844593696296215,
0.009782673791050911,
0.05532807856798172,
0.007543853018432856,
-0.0019285494927316904,
-0.006667792797088623,
-0.01596376672387123,
0.014785951934754848,
0.011174636892974377,
-0.0022108356934040785,
-0.01760881394147873,
0.025133198127150536,
0.03173285350203514,
0.014688611961901188,
-0.043024297803640366,
-0.04345259442925453,
-0.005694392137229443,
-0.00866813026368618,
-0.023108525201678276,
0.05345914885401726,
-0.034730926156044006,
-0.07611990720033646,
0.015992969274520874,
-0.04800810664892197,
-0.0425960011780262,
0.04543833062052727,
-0.012128569185733795,
-0.027177339419722557,
-0.013997497968375683,
-0.04913725331425667,
-0.07939053326845169,
-0.03060370869934559,
0.0012897555716335773,
0.002946969587355852,
-0.0020295397844165564,
-0.020636089146137238,
0.032978806644678116,
0.013160373084247112,
0.00976807251572609,
0.02349788509309292,
-0.020947575569152832,
0.11447188258171082,
0.00631736870855093,
-0.025561494752764702,
-0.049487676471471786,
-0.041544727981090546,
0.04092175140976906,
0.04987703636288643,
0.004297562874853611,
0.03280359134078026,
0.031012536957859993,
-0.06576292961835861,
-0.010249906219542027,
0.04041558504104614,
-0.032044339925050735,
-0.05661296844482422,
0.03438050299882889,
-0.020694492384791374,
-0.04769662022590637,
0.031869128346443176,
-0.029747115448117256,
-0.08892986178398132,
0.06891674548387527,
0.04442599415779114,
-0.012508194893598557,
-0.013063033111393452,
-0.004448439925909042,
-0.0030102406162768602,
-0.04652853682637215,
-0.006147023290395737,
-0.0790790468454361,
-0.006224895361810923,
0.03807942196726799,
0.06907249242067337,
0.0009095210116356611,
-0.0024773040786385536,
0.04972129315137863,
-0.02635968290269375,
0.02131746895611286,
-0.049487676471471786,
0.015233715996146202,
-0.0128196831792593,
-0.11486124247312546,
0.016100041568279266,
-0.009393313899636269,
0.05310872569680214,
0.05922168120741844,
-0.02287490852177143,
0.019049445167183876,
0.011067562736570835,
-0.03132402524352074,
-0.002618446946144104,
-0.012128569185733795,
0.0028252946212887764,
-0.01305329892784357,
-0.055094461888074875,
0.04851427674293518,
-0.003876567119732499,
-0.044503867626190186,
0.04594449698925018,
0.014785951934754848,
-0.04267387464642525,
-0.005212558899074793,
0.06669739633798599,
0.040532391518354416,
-0.03796261548995972,
-0.02711893431842327,
0.009948152117431164,
-0.034166354686021805,
0.022933313623070717,
0.0331929549574852,
-0.009135362692177296,
0.01388068962842226,
0.03153817355632782,
-0.013569201342761517,
-0.016430998221039772,
-0.0008730184636078775,
0.031226685270667076,
-0.010386181995272636,
-0.034166354686021805,
0.03270625323057175,
-0.016207115724682808,
-0.03819623216986656,
-0.010035757906734943,
0.005222293082624674,
-0.04345259442925453,
-0.019594550132751465,
-0.02359522506594658,
-0.027644570916891098,
0.006774866487830877,
-0.007456246763467789,
0.004394902847707272,
0.006307634525001049,
0.011106498539447784,
-0.018835296854376793,
0.04170047119259834,
-0.0010579645168036222,
0.007125291042029858,
0.018046842887997627,
0.023770436644554138,
0.030000200495123863,
0.005631121341139078,
0.00875573605298996,
0.004635819233953953,
-0.05560063198208809,
-0.07397843152284622,
0.0250747948884964,
-0.0034507042728364468,
0.018494607880711555,
0.04271280765533447,
-0.07156439870595932,
-0.04212876781821251,
-0.01843620277941227,
-0.04321897774934769,
-0.006220028270035982,
0.002448101993650198,
-0.035373371094465256,
-0.03654145076870918,
-0.04205089807510376,
-0.025230538100004196,
0.05789785459637642,
-0.05431574210524559,
0.020324600860476494,
-0.13666541874408722,
-0.06564611941576004,
0.013442659750580788,
0.0037767936009913683,
0.028072867542505264,
-0.05735275149345398,
0.02702159434556961,
0.0023166928440332413,
0.009398180991411209,
0.027138402685523033,
-0.005042213946580887,
0.0140656353905797,
0.026437554508447647,
0.048163849860429764,
-0.013442659750580788,
0.002429850632324815,
0.005548382177948952,
-0.019059179350733757,
-0.0713697150349617,
-0.010259640403091908,
-0.006083752494305372,
0.030214348807930946,
0.040065161883831024,
0.01771588623523712,
-0.04952661320567131,
-0.014503666199743748,
-0.008166829124093056,
-0.024315541610121727,
0.054899781942367554,
0.03523709252476692,
-0.05922168120741844,
-0.0424402579665184,
0.004317030776292086,
0.0061226882971823215,
-0.06642483919858932,
0.01833886280655861,
0.03042849525809288,
0.03367965295910835,
0.06066231057047844,
-0.04333578422665596,
-0.03035062365233898,
0.02001311257481575,
0.03695027902722359,
-0.021064383909106255,
0.020052047446370125,
0.030467431992292404,
-0.004971642512828112,
-0.018046842887997627,
0.01834859699010849,
0.01992550678551197,
-0.03393273800611496,
-0.017657482996582985,
-0.06790441274642944,
-0.02139534056186676,
0.06046763062477112,
-0.0038863010704517365,
-0.001963835209608078,
-0.03856612369418144,
-0.007096088957041502,
0.013578935526311398
] |
21,654 | magic_filter.attrdict | AttrDict |
A wrapper over dict which where element can be accessed as regular attributes
| class AttrDict(Dict[KT, VT]):
"""
A wrapper over dict which where element can be accessed as regular attributes
"""
def __init__(self, *args: Any, **kwargs: Any) -> None:
super(AttrDict, self).__init__(*args, **kwargs)
self.__dict__ = self # type: ignore
| (*args: Any, **kwargs: Any) -> None | [
0.04199548065662384,
-0.008750568144023418,
-0.021631840616464615,
-0.008012295700609684,
-0.005874475929886103,
0.01692138984799385,
-0.008456164970993996,
0.016214821487665176,
0.07384537905454636,
-0.017319966107606888,
0.006807507481426001,
0.05232223868370056,
0.03288257122039795,
0.03971272334456444,
-0.06174314022064209,
-0.0031093505676835775,
-0.0050501469522714615,
0.0627577006816864,
-0.058445826172828674,
-0.028244588524103165,
0.01943966932594776,
-0.005598189774900675,
0.01514591183513403,
0.05511227622628212,
-0.003881592769175768,
0.02358848974108696,
-0.01730184815824032,
-0.016758335754275322,
0.08268652856349945,
-0.036016833037137985,
-0.06775802373886108,
-0.04576384276151657,
-0.0014901329996064305,
0.043843429535627365,
0.026469111442565918,
-0.062286656349897385,
-0.019910713657736778,
0.03451311215758324,
-0.027103209868073463,
0.0222115870565176,
-0.006069235038012266,
0.02489292062819004,
-0.057141393423080444,
-0.06699710339307785,
0.03518344461917877,
0.04203171655535698,
0.049133624881505966,
0.01820770464837551,
0.008062117733061314,
-0.04098092392086983,
0.03688645362854004,
0.02215723693370819,
0.03793724626302719,
0.0035373675636947155,
-0.053046923130750656,
0.023189911618828773,
-0.027248146012425423,
0.07058429718017578,
-0.07359173893928528,
0.042575228959321976,
-0.036143653094768524,
0.01512779388576746,
0.0004707620246335864,
-0.03496604040265083,
-0.03656034544110298,
-0.041307032108306885,
-0.06949726492166519,
-0.0007252509240061045,
0.02496539056301117,
-0.018968623131513596,
-0.006263993680477142,
-0.01722938008606434,
-0.005371725652366877,
0.03132449835538864,
0.02074410207569599,
-0.004438694100826979,
-0.07000454515218735,
-0.02108832634985447,
0.057177625596523285,
-0.02387836202979088,
-0.0168308038264513,
-0.031233912333846092,
-0.03786477819085121,
0.031143328174948692,
-0.02347978577017784,
0.019928831607103348,
-0.05855453014373779,
-0.03819088637828827,
0.03378842771053314,
0.02607053332030773,
-0.05333679914474487,
0.08696217089891434,
-0.02741120010614395,
0.01580718718469143,
0.00489615136757493,
-0.0019000328611582518,
0.04061857983469963,
-0.012201879173517227,
0.004615336190909147,
0.016278231516480446,
0.012790686450898647,
-0.01825299672782421,
-0.003011971013620496,
-0.007079264149069786,
-0.043734725564718246,
-0.027990948408842087,
-0.023371083661913872,
-0.04866258054971695,
0.012283406220376492,
0.01826205663383007,
-0.008773215115070343,
0.013379492796957493,
-0.01727467216551304,
0.04844517633318901,
-0.0017120677512139082,
0.019131677225232124,
-0.017437726259231567,
-0.06812036782503128,
0.00992818083614111,
0.013560663908720016,
0.020146235823631287,
0.018787452951073647,
-0.0171025600284338,
0.058228421956300735,
0.005281140096485615,
-0.02087092027068138,
-0.00279003637842834,
0.018026532605290413,
0.025653840973973274,
0.0336616076529026,
0.00039546273183077574,
-0.010236172005534172,
-0.00785830058157444,
0.02105209231376648,
0.06464187800884247,
0.007568426430225372,
0.04221288859844208,
0.010172761976718903,
-0.037285029888153076,
0.05804724991321564,
0.041307032108306885,
0.0063591087237000465,
0.005072793457657099,
-0.01853381283581257,
-0.03920544683933258,
-0.04996701329946518,
-0.053191863000392914,
-0.009946297854185104,
0.01719314604997635,
-0.03529214859008789,
-0.032049182802438736,
0.008424459956586361,
0.006671628914773464,
0.08210678398609161,
-0.003120673820376396,
0.015544488094747066,
-0.03315432742238045,
-0.049459733068943024,
0.01703009195625782,
-0.04087221994996071,
-0.028480110689997673,
-0.016713041812181473,
-0.008207054808735847,
-0.09638307243585587,
0.04079975187778473,
0.055003572255373,
0.0005978649132885039,
-0.0636635571718216,
0.027918480336666107,
0.0070837936364114285,
-0.035980597138404846,
-0.045184094458818436,
0.00794435665011406,
0.025291498750448227,
0.03396959975361824,
0.04090845584869385,
-0.002717567840591073,
0.026704633608460426,
0.024113886058330536,
0.001051359111443162,
0.08080235123634338,
-0.006934327073395252,
-0.07011324912309647,
0.01567130722105503,
0.03159625455737114,
0.0014029444428160787,
0.012192821130156517,
0.039930131286382675,
0.02364283986389637,
0.0470682755112648,
0.0336616076529026,
-0.004445488099008799,
-0.009117440320551395,
-0.02224782295525074,
0.01514591183513403,
0.022718867287039757,
-0.005358138121664524,
-0.02078033611178398,
-0.024657398462295532,
0.08797673135995865,
-0.037429966032505035,
-0.01818958669900894,
-0.011459077708423138,
0.04565513879060745,
0.0198382455855608,
-0.014683924615383148,
0.030907804146409035,
-0.051851194351911545,
-0.028135886415839195,
-0.02226593904197216,
-0.011930122971534729,
-0.020291173830628395,
0.020581047981977463,
0.005140732508152723,
0.03322679549455643,
-0.03378842771053314,
-0.02889680489897728,
0.00046198652125895023,
-0.02087092027068138,
-0.020001299679279327,
0.08188937604427338,
0.007654482964426279,
0.02632417343556881,
-0.024675516411662102,
0.018035592511296272,
-0.043988365679979324,
0.03819088637828827,
-0.000970398192293942,
-0.0315600223839283,
0.002341637620702386,
0.03451311215758324,
-0.010073117911815643,
0.0336616076529026,
-0.00591976847499609,
0.0676855593919754,
-0.06565643846988678,
0.02605241723358631,
-0.04467681422829628,
0.021686190739274025,
-0.021976064890623093,
0.058590762317180634,
0.05612683296203613,
-0.014647690579295158,
0.038625698536634445,
-0.055800724774599075,
-0.009964415803551674,
0.00850145798176527,
0.0821792483329773,
-0.001070042373612523,
-0.019240381196141243,
0.017908772453665733,
-0.02108832634985447,
-0.028570696711540222,
0.045039158314466476,
0.023117443546652794,
0.009384667500853539,
-0.010634749196469784,
0.00591976847499609,
0.005851829424500465,
-0.051633790135383606,
0.008936269208788872,
0.03520156070590019,
-0.031958598643541336,
0.08312134444713593,
0.060909755527973175,
0.02483857050538063,
0.07040312141180038,
0.007283081766217947,
-0.09145521372556686,
0.007020383607596159,
0.120949886739254,
-0.016051767393946648,
0.0500757172703743,
0.014249114319682121,
-0.04235782474279404,
0.02503785863518715,
0.02085280418395996,
-0.005743126850575209,
-0.028371408581733704,
0.012727276422083378,
0.0006737303338013589,
-0.04174184054136276,
-0.022990623489022255,
0.02349790371954441,
-0.02876998484134674,
-0.015064384788274765,
-0.038480762392282486,
0.07754126936197281,
0.013189262710511684,
-0.04623488709330559,
0.06069234758615494,
-0.0029372379649430513,
-0.016033649444580078,
0.008184408769011497,
0.04844517633318901,
-0.000823762733489275,
-0.10305017232894897,
0.02242899313569069,
0.04344484955072403,
0.002009867923334241,
0.0497133731842041,
-0.011350374668836594,
0.00423940597102046,
0.05627177283167839,
0.0012591397389769554,
0.02742931805551052,
0.030454877763986588,
0.038843102753162384,
-0.035980597138404846,
0.04416953772306442,
0.022592047229409218,
0.021649956703186035,
-0.021994182839989662,
0.07775867730379105,
-0.03011065162718296,
0.005240376573055983,
-0.011930122971534729,
-0.05775737389922142,
0.00519961304962635,
0.0744251236319542,
-0.06703334301710129,
-0.023081209510564804,
-0.030617931857705116,
-0.07065676152706146,
0.02342543564736843,
-0.04148820415139198,
0.06337368488311768,
-0.012147528119385242,
0.049133624881505966,
0.03291880339384079,
-0.01566224917769432,
-0.0011385476682335138,
0.004801036324352026,
-0.004130702931433916,
-0.04891622066497803,
0.04043740779161453,
0.008243288844823837,
0.031976714730262756,
-0.02498350664973259,
-0.06601878255605698,
-0.016568105667829514,
0.007808478083461523,
-0.027085093781352043,
-0.005992237012833357,
-0.03030993975698948,
-0.033407967537641525,
0.006866388022899628,
0.01193918101489544,
0.07130897790193558,
-0.0495322048664093,
-0.0032022008672356606,
-0.030907804146409035,
0.03291880339384079,
0.053083159029483795,
0.012156587094068527,
-0.029857011511921883,
0.007704304996877909,
-0.012772568501532078,
-0.015435785055160522,
-0.013089618645608425,
0.04880751669406891,
0.00155014602933079,
-0.009538663551211357,
-0.03268328309059143,
0.015136852860450745,
-0.01943966932594776,
0.01814429461956024,
-0.026903921738266945,
0.017781952396035194,
-0.014593339525163174,
0.018787452951073647,
-0.04583631083369255,
-0.054423823952674866,
0.004114850424230099,
0.011821419931948185,
-0.06446070969104767,
-0.0394953191280365,
0.024693632498383522,
-0.037611138075590134,
-0.0014629573561251163,
0.028570696711540222,
0.007310257293283939,
0.04076351597905159,
0.028480110689997673,
0.01974765956401825,
-0.04174184054136276,
0.03509286046028137,
-0.0014731482369825244,
0.022773219272494316,
0.051633790135383606,
-0.02376965992152691,
-0.040220003575086594,
-0.037538670003414154,
0.038589462637901306,
-0.037538670003414154,
-0.030962156131863594,
-0.04098092392086983,
-0.04166937246918678,
-0.036107417196035385,
0.029766427353024483,
0.014729217626154423,
-0.04362602159380913,
-0.03545520082116127,
-0.0034830160439014435,
0.05920674651861191,
0.03264704719185829,
0.017872538417577744,
-0.01821676269173622,
0.038698166608810425,
-0.010607573203742504,
-0.009411843493580818,
0.0198382455855608,
-0.006571984849870205,
-0.05540214851498604,
0.05616306886076927,
-0.016386933624744415,
0.04221288859844208,
-0.009955356828868389,
-0.0031727603636682034,
0.0020257204305380583,
0.025309614837169647,
-0.0312882661819458,
-0.005448723677545786,
0.021831128746271133,
0.00426205201074481,
0.006861859001219273,
-0.013769010081887245,
-0.0025024269707500935,
0.049097392708063126,
0.015508254058659077,
-0.010806861333549023,
0.02867939881980419,
-0.033335499465465546,
-0.051887430250644684,
0.051996130496263504,
-0.025291498750448227,
-0.050691697746515274,
-0.0648592859506607,
0.010218054987490177,
0.025327732786536217,
-0.06819283217191696,
0.04094468802213669,
0.025255264714360237,
0.007776773534715176,
0.03771984204649925,
0.009303140453994274,
-0.03581754490733147,
0.0551847442984581,
0.0920349657535553,
-0.05094533786177635,
0.057213861495256424,
0.01589777134358883,
0.09747009724378586,
0.0026473640464246273,
-0.014158528298139572,
-0.03971272334456444,
-0.05985896289348602,
-0.04431447386741638,
-0.0065085748210549355,
0.013723718002438545,
-0.042538996785879135,
-0.020019415766000748,
-0.019421551376581192,
-0.05359043926000595,
-0.06181560829281807,
0.04840894043445587,
0.019312849268317223,
-0.01974765956401825,
-0.05011194944381714,
-0.019167911261320114,
0.030998390167951584,
0.001329343649558723,
0.00035073611070401967,
-0.054170187562704086,
-0.02509221062064171,
0.030962156131863594,
-0.008320286870002747,
-0.030962156131863594,
-0.07471499592065811,
-0.04612618312239647,
0.018968623131513596,
0.03373407572507858,
0.02349790371954441,
0.0002515165542718023,
-0.01967519149184227,
0.005987707991153002,
-0.0012965063797309995,
0.02735684998333454,
0.002765125362202525,
0.04692333936691284,
-0.05326433107256889,
0.03935038298368454,
-0.011341316625475883,
0.038625698536634445,
0.05014818534255028,
0.024476228281855583,
0.0049233268946409225,
0.0634823814034462,
-0.02761049009859562,
-0.04985831305384636,
-0.01579812727868557,
-0.05917051061987877,
0.009253318421542645,
0.03935038298368454,
0.02105209231376648,
-0.056923989206552505,
-0.05743126571178436,
0.03771984204649925,
0.0314694344997406,
-0.009647365659475327,
0.01963895745575428,
-0.007369138300418854,
0.042756401002407074,
-0.03924167901277542,
0.05753996968269348,
-0.021378200501203537,
-0.0663086548447609,
-0.034658048301935196,
-0.002959884237498045,
-0.034911688417196274,
0.027990948408842087,
0.03364349156618118,
0.029385967180132866,
-0.006830153986811638,
0.0038000657223165035,
0.008977032266557217,
0.03424135595560074,
-0.0029032682068645954,
0.04569137468934059,
0.028027182444930077,
0.002966678235679865,
-0.034875452518463135,
-0.017772894352674484,
-0.02369719184935093,
-0.005267552565783262,
0.08058494329452515,
0.02340731769800186,
-0.02487480454146862,
0.0070113250985741615,
0.0035283088218420744,
0.05406148359179497,
-0.005675187334418297,
0.07659918069839478,
-0.009520545601844788,
0.026722749695181847,
0.015988357365131378,
-0.07928051054477692,
-0.04340861737728119,
-0.03143320232629776,
0.006848271004855633,
-0.059931430965662,
-0.020291173830628395,
-0.014638632535934448,
-0.00852410402148962,
-0.08152703195810318,
-0.007799419574439526,
0.008148173801600933,
-0.07949791848659515,
0.029331615194678307,
0.05257587879896164,
0.02346166968345642,
0.00035469920840114355,
0.002876092679798603,
0.007129086181521416,
-0.0005865417188033462,
0.01967519149184227,
-0.009747009724378586,
0.055909428745508194,
-0.027248146012425423,
-0.01518214587122202,
-0.007459723856300116,
0.017682308331131935,
0.028353290632367134,
0.014783568680286407,
-0.015236496925354004,
0.03920544683933258,
-0.01505532581359148,
0.029875129461288452,
0.010725334286689758,
-0.08203431218862534,
-0.024258822202682495,
0.04949596896767616,
-0.004782919306308031,
-0.03143320232629776,
-0.018035592511296272,
-0.030962156131863594,
-0.009864771738648415,
0.05768490582704544,
-0.051996130496263504,
-0.05670658126473427,
-0.037466201931238174,
-0.023280497640371323,
0.0019147529965266585,
-0.040111299604177475,
-0.014258172363042831,
-0.04076351597905159,
-0.024059534072875977,
-0.01847946085035801,
-0.024150120094418526,
-0.03851699456572533,
-0.010290523990988731,
-0.002265772083774209,
-0.01713879406452179,
0.024639282375574112,
-0.004828212317079306,
-0.012709159404039383,
0.00521320104598999,
0.02094339020550251,
-0.006322874687612057,
-0.046343591064214706,
-0.010806861333549023,
-0.03150567039847374,
0.032230354845523834,
0.019113561138510704,
0.03186801075935364,
-0.06192431226372719,
-0.03578130900859833,
0.06500422209501266,
0.00020905457495246083,
-0.01441216841340065,
-0.03909674286842346,
-0.034730516374111176,
-0.022900037467479706,
0.029277265071868896,
-0.024349408224225044,
-0.049242328852415085,
0.05232223868370056,
-0.0014957946259528399,
-0.010408285073935986,
-0.03132449835538864,
0.009357491508126259,
0.0020834687165915966,
0.01374183502048254,
-0.047901663929224014,
-0.019004857167601585,
0.01954837143421173,
0.022664515301585197,
0.01692138984799385,
0.00979230273514986,
0.08616501837968826,
0.012980915606021881,
-0.03273763507604599,
-0.004046911373734474,
0.06757685542106628,
-0.012772568501532078,
0.001819638186134398,
0.00689356354996562,
-0.007382725831121206,
0.03677774965763092,
-0.012165645137429237,
0.016803627833724022,
0.011857653968036175,
-0.028534462675452232,
-0.025527020916342735,
-0.042828869074583054,
0.005475899204611778,
-0.03710385784506798,
0.023208029568195343,
0.009058559313416481,
0.01585247926414013,
-0.05014818534255028,
0.0038861220236867666,
-0.0678667277097702,
-0.031052742153406143,
0.07703398913145065,
0.0030617930460721254,
-0.05003948137164116,
-0.016531871631741524,
0.022881921380758286,
-0.00027218140894547105,
0.031233912333846092,
0.04094468802213669,
-0.015254613943397999,
-0.042792633175849915,
-0.06873635202646255,
-0.017981240525841713,
0.012283406220376492,
0.009556780569255352,
0.06927986443042755,
0.00527661107480526,
-0.0018536077113822103,
0.023153677582740784,
-0.027990948408842087,
0.0156894251704216,
-0.03583566099405289,
-0.011748951859772205,
0.0038181827403604984,
-0.0033380792010575533,
0.01987447962164879,
-0.07804854959249496,
-0.006938856560736895,
-0.08775932341814041,
0.013660307973623276,
0.04703203961253166,
-0.033371731638908386,
-0.11594956368207932,
-0.000697509094607085,
-0.021233264356851578,
0.04967714101076126,
-0.01718408800661564,
0.022682633250951767,
-0.0018796510994434357,
-0.014022650197148323,
-0.02222970500588417,
0.02355225384235382,
0.020091885700821877,
-0.052068598568439484,
0.0046606287360191345,
0.09558591991662979,
-0.021486902609467506,
0.0009268038556911051,
0.06319250911474228,
0.020454227924346924,
-0.0625765323638916,
0.024385642260313034,
0.02880621887743473,
0.06337368488311768,
-0.01691232994198799,
-0.011440960690379143,
0.004955031909048557,
0.0036075713578611612,
0.008560338988900185,
0.018588164821267128,
0.042756401002407074,
-0.0010655130026862025,
0.014720159582793713,
-0.013433843851089478,
-0.013832420110702515,
-0.04290133714675903,
0.03242964297533035,
0.04822777211666107,
0.011531545780599117,
-0.05663411319255829,
-0.016522811725735664,
-0.06663476675748825,
-0.016595281660556793,
-0.02088903822004795,
-0.016640573740005493,
-0.01571660116314888,
0.08515045791864395,
-0.03665093332529068,
0.04293757304549217,
-0.002082336461171508,
0.05326433107256889,
-0.011259789578616619,
-0.027954714372754097,
0.023262381553649902,
0.021957948803901672,
0.0447855181992054,
0.02362472377717495,
0.03804595023393631,
0.06377226114273071,
-0.054460059851408005,
0.010535105131566525,
0.07710646092891693,
-0.033317383378744125,
0.042502760887145996,
-0.045437734574079514,
0.014049826189875603,
-0.010815920308232307,
-0.05000324919819832,
-0.06391719728708267,
-0.037248797714710236,
-0.0030097065027803183,
-0.003283727914094925,
0.011748951859772205,
0.023316731676459312,
0.032067298889160156
] |
21,655 | magic_filter.attrdict | __init__ | null | def __init__(self, *args: Any, **kwargs: Any) -> None:
super(AttrDict, self).__init__(*args, **kwargs)
self.__dict__ = self # type: ignore
| (self, *args: Any, **kwargs: Any) -> NoneType | [
0.012819996103644371,
0.013524875044822693,
0.01720787025988102,
-0.0035706551279872656,
-0.04116496071219444,
0.000962050340604037,
-0.0035970881581306458,
0.042609963566064835,
0.04761460795998573,
-0.004912129137665033,
0.0013139394577592611,
0.07147478312253952,
0.030503660440444946,
0.058963168412446976,
-0.024829380214214325,
0.005528898444026709,
0.019190344959497452,
0.051561933010816574,
-0.062417078763246536,
-0.031983908265829086,
0.013181246817111969,
-0.011533590964972973,
-0.0035772633273154497,
0.0894492045044899,
0.015639513731002808,
0.018573574721813202,
-0.049306321889162064,
-0.004500214941799641,
0.08028577268123627,
-0.01260853186249733,
-0.05980902537703514,
-0.03208963945508003,
0.014238565228879452,
0.06657586991786957,
0.03869788348674774,
-0.07605649530887604,
-0.03792251646518707,
0.023560596629977226,
-0.06516610831022263,
0.02000095508992672,
0.03142000362277031,
0.012053439393639565,
-0.05952707305550575,
-0.046803999692201614,
0.04796705022454262,
0.040601059794425964,
0.023754438385367393,
0.01384207047522068,
-0.007916677743196487,
-0.037887271493673325,
0.011242827400565147,
0.025005599483847618,
0.05061034858226776,
0.01696116290986538,
-0.042328014969825745,
0.07281404733657837,
-0.018344487994909286,
0.0706641674041748,
-0.03693568333983421,
0.04021337628364563,
-0.05371181666851044,
-0.00035822196514345706,
0.020036200061440468,
-0.05554450303316116,
-0.03950849547982216,
-0.061712197959423065,
-0.07831211388111115,
-0.01785988360643387,
0.02123449370265007,
-0.00505310483276844,
0.007202987093478441,
-0.019542783498764038,
-0.013771583326160908,
0.04810802638530731,
0.017516255378723145,
-0.0009290091111324728,
-0.06805611401796341,
0.0054584103636443615,
0.03919129818677902,
-0.013242923654615879,
-0.009383708238601685,
-0.037323370575904846,
-0.057271458208560944,
0.005559736862778664,
-0.030115976929664612,
0.010846332646906376,
-0.06368586421012878,
-0.01827399991452694,
0.021868886426091194,
0.02685590833425522,
-0.057236213237047195,
0.09396043419837952,
-0.035596415400505066,
0.017965616658329964,
0.023172913119196892,
-0.02082918956875801,
0.03134951367974281,
-0.001637743436731398,
0.03515586256980896,
0.02845950983464718,
0.0050971596501767635,
-0.0435263067483902,
-0.023507731035351753,
-0.01357774157077074,
-0.024265475571155548,
-0.040142886340618134,
-0.038662638515233994,
-0.0720386803150177,
0.007912272587418556,
0.004683042876422405,
-0.006978306919336319,
0.01086395513266325,
0.007062011398375034,
0.06777416169643402,
-0.025639992207288742,
0.010088588111102581,
0.0003284848644398153,
-0.053006935864686966,
0.059950001537799835,
0.02012430876493454,
0.008982808329164982,
0.034116167575120926,
-0.02990451268851757,
0.05540352687239647,
0.021181628108024597,
0.006713977083563805,
-0.016000764444470406,
-0.0038437959738075733,
0.02378968335688114,
0.01790393888950348,
0.009084134362637997,
-0.02826566807925701,
-0.02579858899116516,
0.001961547415703535,
0.06583574414253235,
-0.03926178812980652,
0.06178268790245056,
0.012969782575964928,
-0.03644226863980293,
0.06883148103952408,
0.04313862323760986,
0.017525065690279007,
0.053288888186216354,
-0.011251638643443584,
-0.02521706372499466,
-0.008775749243795872,
-0.02925249934196472,
0.02669730968773365,
0.004055259749293327,
-0.025780966505408287,
-0.016115307807922363,
-0.0019901832565665245,
0.005691901780664921,
0.059738535434007645,
0.005141214933246374,
-0.0020221229642629623,
-0.036001719534397125,
-0.06128927320241928,
0.03406330198049545,
-0.04934156313538551,
-0.024529805406928062,
-0.005282190628349781,
0.021216873079538345,
-0.11383803933858871,
0.024124501273036003,
0.035226352512836456,
0.01000047754496336,
-0.07591552287340164,
0.017401712015271187,
0.008211846463382244,
-0.03244207799434662,
-0.07193294912576675,
0.009507061913609505,
0.020353395491838455,
-0.003790929913520813,
0.04342057555913925,
0.0006834027008153498,
0.016000764444470406,
0.0032160126138478518,
0.048037536442279816,
0.07669088989496231,
-0.015991954132914543,
-0.040565814822912216,
0.02296144887804985,
0.05565023422241211,
-0.00877134408801794,
-0.011427858844399452,
0.0658709853887558,
0.03897983580827713,
0.05635511502623558,
0.05854023993015289,
0.015331128612160683,
-0.019296076148748398,
-0.02882957085967064,
-0.00018682060181163251,
0.0006162188365124166,
0.00013354161637835205,
-0.03718239441514015,
-0.020036200061440468,
0.0819774866104126,
0.01075822301208973,
-0.021023031324148178,
-0.03145524859428406,
0.029023412615060806,
0.02981640212237835,
-0.01978949084877968,
0.009700903668999672,
-0.01459981594234705,
-0.02049437165260315,
-0.015921466052532196,
0.004310778807848692,
-0.022890960797667503,
0.028494752943515778,
-0.024899868294596672,
0.02058248035609722,
-0.04994071274995804,
-0.018203511834144592,
-0.008670018054544926,
-0.009357275441288948,
-0.007687591947615147,
0.1241292804479599,
0.029234876856207848,
0.015260640531778336,
-0.029957378283143044,
-0.012300146743655205,
-0.02373681589961052,
0.03311171382665634,
-0.028477130457758904,
-0.024335963651537895,
0.026803042739629745,
-0.015745244920253754,
-0.03240683302283287,
0.01901412382721901,
0.006595028564333916,
0.06178268790245056,
-0.02181602083146572,
0.039367519319057465,
-0.039367519319057465,
-0.032635919749736786,
-0.03979044780135155,
0.05283071845769882,
0.06809135526418686,
-0.003962744493037462,
0.01273188553750515,
-0.016643967479467392,
-0.014379541389644146,
0.023031936958432198,
0.07732527703046799,
-0.004253507126122713,
-0.012079872190952301,
0.02771938592195511,
-0.0013139394577592611,
-0.04860144108533859,
0.04401972517371178,
0.016071252524852753,
-0.0064628636464476585,
-0.005630224943161011,
-0.008101708255708218,
0.014591005630791187,
-0.025005599483847618,
0.04127069562673569,
0.008101708255708218,
-0.011604078114032745,
0.07577454298734665,
0.043103381991386414,
0.02460029348731041,
0.04239850118756294,
-0.006224967073649168,
-0.08507895469665527,
0.004090503789484501,
0.10763509571552277,
-0.05057510361075401,
0.058469753712415695,
0.040142886340618134,
-0.030961832031607628,
-0.026803042739629745,
0.01183316484093666,
-0.06037292629480362,
-0.05818780139088631,
0.027825117111206055,
0.0496235154569149,
-0.03138475865125656,
0.011410236358642578,
0.03633653745055199,
-0.009410141035914421,
-0.02095254324376583,
-0.03943800553679466,
0.07059367746114731,
-0.007053200155496597,
-0.04602862894535065,
0.054698649793863297,
0.022820472717285156,
-0.012009384110569954,
0.03950849547982216,
0.051561933010816574,
-0.04042483866214752,
-0.04246898740530014,
0.062487564980983734,
0.012520422227680683,
0.01610649563372135,
0.044583626091480255,
-0.007925488986074924,
0.032917872071266174,
0.038662638515233994,
0.014529328793287277,
-0.003138916566967964,
0.0033063252922147512,
0.0631924495100975,
-0.01873217150568962,
0.047085948288440704,
0.04165837913751602,
0.05357084050774574,
-0.03258305415511131,
0.07006502151489258,
-0.04796705022454262,
-0.009022457525134087,
0.02024766243994236,
-0.03901508077979088,
0.000311688898364082,
0.06777416169643402,
-0.05737718939781189,
-0.042821429669857025,
-0.030115976929664612,
-0.06890197098255157,
0.02139309234917164,
-0.028353776782751083,
0.057518165558576584,
-0.0111547177657485,
0.03404567763209343,
0.03774629533290863,
-0.007088444195687771,
0.010159075260162354,
0.010273618623614311,
-0.009947611950337887,
-0.030380306765437126,
-0.010837522335350513,
-0.027613654732704163,
-0.006163290236145258,
-0.036407023668289185,
-0.07492868602275848,
-0.0006261312519200146,
0.007841784507036209,
-0.027331702411174774,
-0.02719072625041008,
-0.0316314660012722,
-0.04077727720141411,
0.006542162969708443,
-0.009154622443020344,
0.044090211391448975,
-0.045288506895303726,
-0.006172101013362408,
-0.029393475502729416,
0.02181602083146572,
0.0634039118885994,
0.027349324896931648,
-0.014379541389644146,
-0.025375662371516228,
0.007890244945883751,
-0.011427858844399452,
-0.02185126394033432,
0.04095349833369255,
0.0017214479157701135,
-0.03321744501590729,
-0.049024369567632675,
0.03820446878671646,
0.008445337414741516,
-0.013066703453660011,
-0.01285523921251297,
0.022520899772644043,
-0.009577549993991852,
0.02497035637497902,
-0.048530951142311096,
-0.0558617003262043,
0.02497035637497902,
0.012538043782114983,
-0.04440740868449211,
-0.036160316318273544,
0.03971995785832405,
-0.03573739156126976,
-0.015375183895230293,
0.0026851503644138575,
-0.013507253490388393,
0.041341181844472885,
0.004103720188140869,
0.00048432929906994104,
-0.048495709896087646,
0.04775558412075043,
-0.012397067621350288,
0.03348177671432495,
0.03432762995362282,
-0.023137670010328293,
-0.03753483295440674,
-0.020846810191869736,
0.01950754038989544,
0.011022552847862244,
-0.029869267717003822,
-0.004735908936709166,
-0.012194415554404259,
-0.025146575644612312,
0.0019736625254154205,
-0.0012313363840803504,
-0.0682675763964653,
-0.01546329353004694,
-0.009101755917072296,
0.06537757068872452,
0.03510299697518349,
0.018837904557585716,
0.013921369798481464,
0.046592533588409424,
0.002544174436479807,
0.024741269648075104,
0.008388065733015537,
-0.012943349778652191,
-0.04440740868449211,
0.053253646939992905,
-0.025446148589253426,
0.03989617899060249,
-0.03483866900205612,
0.009154622443020344,
0.0026983667630702257,
0.02197461761534214,
0.01950754038989544,
-0.003436287399381399,
0.011736243031919003,
0.02895292453467846,
0.005625819321721792,
-0.020917298272252083,
-0.002594837686046958,
0.06287524849176407,
-0.00858631357550621,
-0.04003715515136719,
0.06315720081329346,
-0.016203416511416435,
-0.025146575644612312,
0.05046937242150307,
-0.012123927474021912,
-0.014000669121742249,
-0.05878695100545883,
0.004956183955073357,
0.024653160944581032,
-0.046768754720687866,
-0.033323176205158234,
0.04669826477766037,
0.009172243997454643,
0.017190247774124146,
-0.00045899770339019597,
-0.02941109612584114,
0.07556308060884476,
0.07514015585184097,
-0.03603696450591087,
0.05783536285161972,
0.025516636669635773,
0.039367519319057465,
-0.03654799982905388,
-0.03314695879817009,
-0.04144691303372383,
-0.05371181666851044,
-0.04303289204835892,
0.01081989984959364,
0.0005014006164856255,
-0.04394923523068428,
-0.02833615615963936,
-0.004815207794308662,
-0.05431096628308296,
-0.054240476340055466,
0.057236213237047195,
0.014203322120010853,
-0.017895128577947617,
-0.06150073558092117,
-0.017595553770661354,
0.02497035637497902,
-0.0012654789024963975,
-0.006233777850866318,
-0.07010026276111603,
-0.03166671097278595,
0.003350380342453718,
0.0011795717291533947,
-0.04613436385989189,
-0.05543877184391022,
-0.03483866900205612,
0.019613271579146385,
0.01901412382721901,
0.04549996927380562,
0.017436956986784935,
-0.027507921680808067,
-0.01778939552605152,
-0.004238087683916092,
-0.032794516533613205,
-0.0023062776308506727,
0.07179197669029236,
-0.06396781653165817,
0.042116548866033554,
-0.027631275355815887,
0.05184388533234596,
0.07514015585184097,
-0.0004287099000066519,
0.013877314515411854,
0.04320911318063736,
-0.010150264948606491,
-0.05071607977151871,
-0.04264520853757858,
-0.052724987268447876,
-0.009454196318984032,
0.038909345865249634,
-0.014591005630791187,
-0.004301967564970255,
-0.0681970939040184,
0.018837904557585716,
-0.00041218928527086973,
-0.009330842643976212,
0.016520613804459572,
-0.00487688509747386,
0.005713929422199726,
-0.011295693926513195,
0.032759275287389755,
-0.03630129247903824,
-0.0794399157166481,
-0.017058083787560463,
-0.020670590922236443,
-0.01172743272036314,
0.04888339340686798,
0.07640893757343292,
0.029516829177737236,
-0.04648680239915848,
-0.02826566807925701,
-0.003848201362416148,
0.02821280062198639,
-0.014018290676176548,
0.04070679098367691,
0.018696928396821022,
-0.0058284723199903965,
-0.057482920587062836,
-0.024512184783816338,
0.024794135242700577,
-0.02185126394033432,
0.07831211388111115,
0.023278644308447838,
-0.009903556667268276,
-0.00674481550231576,
-0.013137191534042358,
0.061712197959423065,
0.004625771660357714,
0.05261925235390663,
-0.006630272604525089,
-0.0004936910117976367,
0.01271426398307085,
-0.08232992142438889,
0.01618579588830471,
-0.0323539674282074,
0.021992240101099014,
-0.052020106464624405,
-0.03993142396211624,
-0.018626440316438675,
0.006119234953075647,
-0.05931561067700386,
-0.007837378419935703,
0.04571143537759781,
-0.09748483449220657,
0.017445767298340797,
0.04514753073453903,
0.019207965582609177,
0.01260853186249733,
0.01720787025988102,
-0.0025970402639359236,
-0.018908392637968063,
0.02793085016310215,
-0.016696833074092865,
0.042609963566064835,
-0.05113900825381279,
0.0040618679486215115,
-0.03947325050830841,
-0.008392471820116043,
-0.012819996103644371,
0.026926396414637566,
-0.019243210554122925,
0.03561403602361679,
-0.0050442940555512905,
0.014740792103111744,
0.002016616053879261,
-0.07017075270414352,
0.005824066698551178,
0.048495709896087646,
-0.012749508023262024,
-0.025851454585790634,
-0.051491446793079376,
-0.02941109612584114,
-0.00692103523761034,
0.04218703880906105,
-0.023190535604953766,
-0.05868121609091759,
-0.060478661209344864,
-0.02077632211148739,
-0.029834024608135223,
-0.03381659463047981,
-0.026485847309231758,
-0.027366945520043373,
-0.0034120571799576283,
-0.04750887677073479,
-0.01248517818748951,
-0.030010243877768517,
-0.0027424218133091927,
0.011515968479216099,
-0.022080350667238235,
0.062170371413230896,
-0.013921369798481464,
-0.003304122481495142,
0.013921369798481464,
0.05741243436932564,
-0.019155099987983704,
-0.0007368193473666906,
-0.02123449370265007,
-0.01864406280219555,
0.039614226669073105,
0.015392805449664593,
0.012476366944611073,
-0.05395852401852608,
-0.04740314558148384,
0.04564094543457031,
0.01353368628770113,
-0.010564381256699562,
-0.035014890134334564,
-0.041834596544504166,
0.0010490589775145054,
0.04017813131213188,
-0.03792251646518707,
-0.023965902626514435,
0.028988169506192207,
-0.016291527077555656,
0.002290858421474695,
-0.006537757348269224,
0.03957898169755936,
-0.012925727292895317,
0.004449551925063133,
-0.0684790387749672,
0.01959564909338951,
0.04246898740530014,
0.03265354037284851,
0.013146002776920795,
0.003436287399381399,
0.045112285763025284,
0.009436573833227158,
-0.03355226293206215,
-0.012661397457122803,
0.01950754038989544,
-0.050011198967695236,
0.013947802595794201,
-0.013753960840404034,
-0.01839735545217991,
0.038098737597465515,
-0.018414976075291634,
0.010793467052280903,
-0.021886508911848068,
-0.02953444980084896,
-0.007277880795300007,
-0.011040175333619118,
-0.006630272604525089,
-0.05610840767621994,
0.027331702411174774,
0.009189866483211517,
0.001137719489634037,
-0.049799736589193344,
0.015366372652351856,
-0.02444169670343399,
-0.020846810191869736,
0.06738647818565369,
-0.004412104841321707,
-0.040883008390665054,
-0.04169362038373947,
0.016256283968687057,
0.03219537064433098,
0.009621605277061462,
0.030327439308166504,
-0.022080350667238235,
-0.0004416510637383908,
-0.05438145250082016,
-0.013983046635985374,
-0.003610304556787014,
-0.01535756140947342,
0.0795808956027031,
0.006665516644716263,
-0.006163290236145258,
0.0102295633405447,
-0.026996884495019913,
-0.0024538617581129074,
-0.022609010338783264,
0.01680256426334381,
0.008352821692824364,
0.017727719619870186,
0.024794135242700577,
-0.06329818069934845,
-0.006427619606256485,
-0.09283262491226196,
0.008154574781656265,
0.04313862323760986,
-0.03512062132358551,
-0.08099064975976944,
-0.0310146976262331,
-0.051773399114608765,
0.07344844192266464,
-0.014194510877132416,
0.019049368798732758,
0.025745723396539688,
-0.021164007484912872,
-0.005550926085561514,
0.010775845497846603,
0.015674756839871407,
-0.03802824765443802,
0.0204591266810894,
0.05705999583005905,
-0.007599481847137213,
0.014379541389644146,
0.06128927320241928,
0.012079872190952301,
-0.05071607977151871,
0.028600485995411873,
0.037393856793642044,
0.06343915313482285,
-0.03305884823203087,
-0.020882055163383484,
-0.03487391397356987,
-0.000029668268325622194,
0.0040156105533242226,
0.009595172479748726,
0.01185078639537096,
0.015146098099648952,
-0.014132834039628506,
-0.047544121742248535,
-0.027754629030823708,
-0.020511992275714874,
-0.005511276423931122,
0.03249494358897209,
-0.005361489485949278,
-0.03658324480056763,
-0.020723456516861916,
-0.03831019997596741,
-0.029834024608135223,
-0.003575060749426484,
-0.0033635967411100864,
-0.009110567159950733,
0.09304409474134445,
-0.03658324480056763,
0.060936830937862396,
-0.005722740199416876,
0.11249876767396927,
-0.002026528585702181,
-0.00878896564245224,
0.01785988360643387,
0.02070583403110504,
0.04835473373532295,
-0.0018470045179128647,
0.014731980860233307,
0.05529779568314552,
-0.025657612830400467,
0.03806349262595177,
0.033499397337436676,
-0.0483899749815464,
0.030380306765437126,
-0.0254637710750103,
0.03219537064433098,
-0.007788918446749449,
-0.03816922381520271,
-0.059456583112478256,
-0.007683186326175928,
-0.021375469863414764,
0.04490082338452339,
0.057518165558576584,
0.049024369567632675,
0.01836211048066616
] |
21,656 | magic_filter.magic | MagicFilter | null | class MagicFilter:
__slots__ = ("_operations",)
def __init__(self, operations: Tuple[BaseOperation, ...] = ()) -> None:
self._operations = operations
# An instance of MagicFilter cannot be used as an iterable object because objects
# with a __getitem__ method can be endlessly iterated, which is not the desired behavior.
__iter__ = None
@classmethod
def ilter(cls, magic: "MagicFilter") -> Callable[[Any], Any]:
@wraps(magic.resolve)
def wrapper(value: Any) -> Any:
return magic.resolve(value)
return wrapper
@classmethod
def _new(cls: Type[MagicT], operations: Tuple[BaseOperation, ...]) -> MagicT:
return cls(operations=operations)
def _extend(self: MagicT, operation: BaseOperation) -> MagicT:
return self._new(self._operations + (operation,))
def _replace_last(self: MagicT, operation: BaseOperation) -> MagicT:
return self._new(self._operations[:-1] + (operation,))
def _exclude_last(self: MagicT) -> MagicT:
return self._new(self._operations[:-1])
def _resolve(self, value: Any, operations: Optional[Tuple[BaseOperation, ...]] = None) -> Any:
initial_value = value
if operations is None:
operations = self._operations
rejected = False
for index, operation in enumerate(operations):
if rejected and not operation.important:
continue
try:
value = operation.resolve(value=value, initial_value=initial_value)
except SwitchModeToAll:
return all(self._resolve(value=item, operations=operations[index + 1 :]) for item in value)
except SwitchModeToAny:
return any(self._resolve(value=item, operations=operations[index + 1 :]) for item in value)
except RejectOperations:
rejected = True
value = None
continue
rejected = False
return value
def __bool__(self) -> bool:
return True
def resolve(self: MagicT, value: Any) -> Any:
return self._resolve(value=value)
def __getattr__(self: MagicT, item: Any) -> MagicT:
if item.startswith("_"):
raise AttributeError(f"{type(self).__name__!r} object has no attribute {item!r}")
return self._extend(GetAttributeOperation(name=item))
attr_ = __getattr__
def __getitem__(self: MagicT, item: Any) -> MagicT:
if isinstance(item, MagicFilter):
return self._extend(SelectorOperation(inner=item))
return self._extend(GetItemOperation(key=item))
def __len__(self) -> int:
raise TypeError(f"Length can't be taken using len() function. Use {type(self).__name__}.len() instead.")
def __eq__(self: MagicT, other: Any) -> MagicT: # type: ignore
return self._extend(ComparatorOperation(right=other, comparator=operator.eq))
def __ne__(self: MagicT, other: Any) -> MagicT: # type: ignore
return self._extend(ComparatorOperation(right=other, comparator=operator.ne))
def __lt__(self: MagicT, other: Any) -> MagicT:
return self._extend(ComparatorOperation(right=other, comparator=operator.lt))
def __gt__(self: MagicT, other: Any) -> MagicT:
return self._extend(ComparatorOperation(right=other, comparator=operator.gt))
def __le__(self: MagicT, other: Any) -> MagicT:
return self._extend(ComparatorOperation(right=other, comparator=operator.le))
def __ge__(self: MagicT, other: Any) -> MagicT:
return self._extend(ComparatorOperation(right=other, comparator=operator.ge))
def __invert__(self: MagicT) -> MagicT:
if (
self._operations
and isinstance(self._operations[-1], ImportantFunctionOperation)
and self._operations[-1].function == operator.not_
):
return self._exclude_last()
return self._extend(ImportantFunctionOperation(function=operator.not_))
def __call__(self: MagicT, *args: Any, **kwargs: Any) -> MagicT:
return self._extend(CallOperation(args=args, kwargs=kwargs))
def __and__(self: MagicT, other: Any) -> MagicT:
if isinstance(other, MagicFilter):
return self._extend(CombinationOperation(right=other, combinator=and_op))
return self._extend(CombinationOperation(right=other, combinator=operator.and_))
def __rand__(self: MagicT, other: Any) -> MagicT:
return self._extend(RCombinationOperation(left=other, combinator=operator.and_))
def __or__(self: MagicT, other: Any) -> MagicT:
if isinstance(other, MagicFilter):
return self._extend(ImportantCombinationOperation(right=other, combinator=or_op))
return self._extend(ImportantCombinationOperation(right=other, combinator=operator.or_))
def __ror__(self: MagicT, other: Any) -> MagicT:
return self._extend(RCombinationOperation(left=other, combinator=operator.or_))
def __xor__(self: MagicT, other: Any) -> MagicT:
return self._extend(CombinationOperation(right=other, combinator=operator.xor))
def __rxor__(self: MagicT, other: Any) -> MagicT:
return self._extend(RCombinationOperation(left=other, combinator=operator.xor))
def __rshift__(self: MagicT, other: Any) -> MagicT:
return self._extend(CombinationOperation(right=other, combinator=operator.rshift))
def __rrshift__(self: MagicT, other: Any) -> MagicT:
return self._extend(RCombinationOperation(left=other, combinator=operator.rshift))
def __lshift__(self: MagicT, other: Any) -> MagicT:
return self._extend(CombinationOperation(right=other, combinator=operator.lshift))
def __rlshift__(self: MagicT, other: Any) -> MagicT:
return self._extend(RCombinationOperation(left=other, combinator=operator.lshift))
def __add__(self: MagicT, other: Any) -> MagicT:
return self._extend(CombinationOperation(right=other, combinator=operator.add))
def __radd__(self: MagicT, other: Any) -> MagicT:
return self._extend(RCombinationOperation(left=other, combinator=operator.add))
def __sub__(self: MagicT, other: Any) -> MagicT:
return self._extend(CombinationOperation(right=other, combinator=operator.sub))
def __rsub__(self: MagicT, other: Any) -> MagicT:
return self._extend(RCombinationOperation(left=other, combinator=operator.sub))
def __mul__(self: MagicT, other: Any) -> MagicT:
return self._extend(CombinationOperation(right=other, combinator=operator.mul))
def __rmul__(self: MagicT, other: Any) -> MagicT:
return self._extend(RCombinationOperation(left=other, combinator=operator.mul))
def __truediv__(self: MagicT, other: Any) -> MagicT:
return self._extend(CombinationOperation(right=other, combinator=operator.truediv))
def __rtruediv__(self: MagicT, other: Any) -> MagicT:
return self._extend(RCombinationOperation(left=other, combinator=operator.truediv))
def __floordiv__(self: MagicT, other: Any) -> MagicT:
return self._extend(CombinationOperation(right=other, combinator=operator.floordiv))
def __rfloordiv__(self: MagicT, other: Any) -> MagicT:
return self._extend(RCombinationOperation(left=other, combinator=operator.floordiv))
def __mod__(self: MagicT, other: Any) -> MagicT:
return self._extend(CombinationOperation(right=other, combinator=operator.mod))
def __rmod__(self: MagicT, other: Any) -> MagicT:
return self._extend(RCombinationOperation(left=other, combinator=operator.mod))
def __matmul__(self: MagicT, other: Any) -> MagicT:
return self._extend(CombinationOperation(right=other, combinator=operator.matmul))
def __rmatmul__(self: MagicT, other: Any) -> MagicT:
return self._extend(RCombinationOperation(left=other, combinator=operator.matmul))
def __pow__(self: MagicT, other: Any) -> MagicT:
return self._extend(CombinationOperation(right=other, combinator=operator.pow))
def __rpow__(self: MagicT, other: Any) -> MagicT:
return self._extend(RCombinationOperation(left=other, combinator=ope | (operations: Tuple[magic_filter.operations.base.BaseOperation, ...] = ()) -> None | [
0.05172373354434967,
-0.06674430519342422,
0.0233791284263134,
0.01748262159526348,
0.020265359431505203,
-0.036330752074718475,
-0.06848222017288208,
-0.08222004771232605,
-0.008606829680502415,
-0.032316990196704865,
0.003124113427475095,
0.056647833436727524,
0.028551500290632248,
0.022861890494823456,
-0.04655136168003082,
0.029254943132400513,
-0.035048000514507294,
0.028841154649853706,
0.06273054331541061,
0.02702047862112522,
0.011006810702383518,
0.024537738412618637,
0.001543953432701528,
0.09864750504493713,
0.02646186202764511,
0.04630308598279953,
0.019334331154823303,
0.00647581135854125,
-0.017461933195590973,
-0.053461652249097824,
-0.012103353627026081,
-0.01916881650686264,
0.006682706531137228,
-0.057020243257284164,
0.002937908051535487,
-0.05230303853750229,
0.047461699694395065,
0.10328195244073868,
-0.03328939527273178,
-0.009444753639400005,
0.005839609540998936,
-0.05387544259428978,
0.017141245305538177,
-0.029068738222122192,
-0.009625786915421486,
-0.023544643074274063,
-0.010675778612494469,
0.07977868616580963,
-0.019810190424323082,
0.0028887705411762,
0.05408233776688576,
-0.04667549580335617,
0.018755026161670685,
0.037758324295282364,
-0.00007006949454080313,
0.03370318561792374,
0.00012365204747766256,
0.04113071411848068,
0.052716828882694244,
0.01721365936100483,
-0.024641185998916626,
0.06769602000713348,
-0.017203314229846,
0.0010739139979705215,
-0.030910102650523186,
-0.013324033468961716,
-0.0608271099627018,
-0.015610222704708576,
-0.022592926397919655,
0.08093729615211487,
-0.0605788379907608,
0.0014935227809473872,
0.06227537617087364,
-0.020730871707201004,
-0.04386172443628311,
-0.07001324743032455,
0.0008515019435435534,
-0.022696373984217644,
0.08126833289861679,
-0.0719994381070137,
-0.0268342737108469,
0.029213564470410347,
-0.027992885559797287,
-0.03515144810080528,
0.00982750952243805,
0.016996419057250023,
0.009884405881166458,
-0.010443021543323994,
0.008534415625035763,
-0.060082290321588516,
-0.08106143772602081,
0.0021659312769770622,
0.00011379221541574225,
0.02253085933625698,
0.0032663538586348295,
0.025013597682118416,
-0.035585928708314896,
-0.031199757009744644,
-0.003506869077682495,
-0.017472276464104652,
-0.02582048811018467,
0.04324104264378548,
-0.002787909237667918,
0.0023133440408855677,
0.06968221068382263,
0.01305507030338049,
-0.04977891966700554,
0.011927492916584015,
-0.014368853531777859,
-0.03641350939869881,
0.0008398641366511583,
0.04986168071627617,
0.018734335899353027,
-0.02412394993007183,
-0.011855079792439938,
0.010717157274484634,
-0.042330704629421234,
-0.04497895762324333,
-0.008663725107908249,
-0.010380953550338745,
0.013727478682994843,
-0.017792964354157448,
0.01862054504454136,
0.02741357870399952,
0.04903410002589226,
0.030992861837148666,
0.043903104960918427,
0.024579118937253952,
-0.0037473845295608044,
0.021103283390402794,
-0.054868537932634354,
0.012175766751170158,
0.00647581135854125,
0.06744775176048279,
-0.026875652372837067,
0.03993072360754013,
-0.03151009976863861,
-0.016334354877471924,
-0.07804077118635178,
0.041296228766441345,
0.007805111352354288,
-0.025696350261569023,
0.026875652372837067,
0.018030893057584763,
-0.04932375252246857,
-0.029503216966986656,
0.02964804507791996,
-0.0038973833434283733,
0.05615128576755524,
-0.016199873760342598,
-0.027661852538585663,
0.0037241089157760143,
0.0015620567137375474,
0.02412394993007183,
-0.015827462077140808,
0.05077201873064041,
0.02095845714211464,
-0.025861866772174835,
-0.0293583907186985,
-0.03817211464047432,
-0.02702047862112522,
-0.0320066474378109,
-0.03148940950632095,
0.005948229227215052,
0.018475716933608055,
0.00259782443754375,
0.004693928640335798,
-0.03548248112201691,
0.0014689540257677436,
0.012486109510064125,
0.01936536654829979,
-0.02162052132189274,
0.030889414250850677,
-0.002945666667073965,
-0.030372176319360733,
0.10303367674350739,
-0.02199293114244938,
-0.006568914279341698,
-0.022137757390737534,
-0.07588906586170197,
-0.016965385526418686,
-0.01962398551404476,
-0.07799939066171646,
-0.01646883599460125,
0.02890322171151638,
0.017472276464104652,
0.040365200489759445,
-0.050482362508773804,
0.036992814391851425,
0.024186018854379654,
-0.03517213836312294,
-0.04692377150058746,
0.059627119451761246,
0.034365247935056686,
-0.029710112139582634,
-0.00822407379746437,
-0.02319292165338993,
0.03732384741306305,
0.08722690492868423,
0.022489478811621666,
-0.07158564776182175,
0.010882673785090446,
0.08006834238767624,
0.03645488619804382,
-0.019799845293164253,
-0.003977555315941572,
0.048123762011528015,
0.04332379996776581,
-0.017048142850399017,
-0.041958291083574295,
0.0027904955204576254,
-0.03339284285902977,
0.04168932884931564,
0.06426157057285309,
0.005999953020364046,
0.022489478811621666,
0.08879930526018143,
-0.008725794032216072,
0.009424064308404922,
0.019023988395929337,
0.024641185998916626,
-0.0021180869080126286,
-0.02068949304521084,
0.00790338683873415,
0.05110304802656174,
0.006346502341330051,
0.0006885721813887358,
0.009305099956691265,
0.009930957108736038,
-0.03564799576997757,
0.026027383282780647,
-0.0224481001496315,
0.036041099578142166,
0.0028758395928889513,
-0.013955063186585903,
0.0008430968737229705,
0.018289512023329735,
0.0065844315104186535,
-0.012413696385920048,
-0.020130876451730728,
-0.0272273737937212,
-0.0402410663664341,
0.015558498911559582,
-0.003095665480941534,
-0.03486179560422897,
-0.029420459643006325,
0.03275146707892418,
0.03546179085969925,
0.0394548624753952,
-0.03049631416797638,
-0.02141362614929676,
-0.016313666477799416,
0.012413696385920048,
-0.036992814391851425,
-0.02329636923968792,
-0.0306825190782547,
-0.008322348818182945,
-0.024579118937253952,
0.03359973803162575,
-0.026585999876260757,
0.007406838703900576,
0.014368853531777859,
-0.0262963455170393,
0.01711021177470684,
-0.033620428293943405,
-0.05582025274634361,
0.0467582568526268,
0.027641164138913155,
-0.023068785667419434,
0.02778599038720131,
0.09343375265598297,
-0.003594799432903528,
-0.04311690479516983,
0.04713066667318344,
-0.08904758095741272,
0.019965361803770065,
0.04977891966700554,
-0.010261989198625088,
-0.0362686812877655,
-0.05097891390323639,
0.010841294191777706,
0.03631006181240082,
-0.03854452818632126,
-0.0072775292210280895,
-0.04009623825550079,
0.030889414250850677,
-0.007375804241746664,
-0.025903245434165,
0.014865401200950146,
-0.024661876261234283,
0.05404095724225044,
-0.012775762006640434,
0.08321314305067062,
-0.013655065558850765,
0.11693701893091202,
0.016499871388077736,
-0.07046841830015182,
-0.08573725819587708,
0.03148940950632095,
-0.07886835187673569,
0.010003370232880116,
-0.03413766250014305,
0.04473068565130234,
-0.021682588383555412,
0.019861914217472076,
-0.0066930511966347694,
0.08118557184934616,
0.0030051488429307938,
0.024558428674936295,
0.05230303853750229,
0.015186088159680367,
-0.007893041707575321,
0.00897924043238163,
-0.026027383282780647,
0.03684798628091812,
-0.01563091203570366,
0.00016729395429138094,
0.010334402322769165,
0.03899969533085823,
0.08391658216714859,
0.0017689516535028815,
0.038772109895944595,
0.01637573353946209,
0.009956819005310535,
-0.017741240561008453,
-0.06409604847431183,
-0.02001708559691906,
-0.044647928327322006,
-0.03339284285902977,
-0.025510145351290703,
-0.07576492428779602,
0.0021530003286898136,
0.0054723708890378475,
0.07204081863164902,
0.005518922582268715,
0.017999859526753426,
0.061861585825681686,
-0.01806192845106125,
-0.016758490353822708,
-0.015268846414983273,
0.09732338041067123,
0.045309990644454956,
-0.0027904955204576254,
0.031944576650857925,
0.0012937398860231042,
-0.03800659999251366,
0.053834062069654465,
0.03405490517616272,
0.025241181254386902,
-0.014617127366364002,
0.08706139028072357,
-0.047834109514951706,
-0.003907728008925915,
-0.010225782170891762,
0.055985771119594574,
-0.014534369111061096,
-0.06575120985507965,
0.009801647625863552,
-0.004763755947351456,
-0.0007706836331635714,
0.07580630481243134,
-0.007241322658956051,
0.005932712461799383,
0.04514447599649429,
0.015072296373546124,
-0.02757909521460533,
-0.03585489094257355,
-0.0028318744152784348,
-0.04040658101439476,
-0.10526814311742783,
0.02675151452422142,
-0.053171999752521515,
0.06128228083252907,
-0.018755026161670685,
0.008803379721939564,
0.027372200042009354,
-0.004743066616356373,
0.00219696550630033,
-0.05511680990457535,
0.0407789908349514,
0.07903386652469635,
0.025468766689300537,
-0.018651578575372696,
0.003894797060638666,
0.011544737033545971,
0.0237722285091877,
-0.026213588193058968,
0.011379221454262733,
0.016592973843216896,
0.01664469763636589,
-0.019344676285982132,
-0.025013597682118416,
-0.02608945220708847,
-0.007965454831719398,
-0.07079944759607315,
0.03647557646036148,
0.009951646439731121,
0.042703114449977875,
-0.07423390448093414,
-0.04216518625617027,
0.04164795204997063,
-0.026151519268751144,
0.07133737206459045,
0.031758371740579605,
0.02786874771118164,
-0.0677374005317688,
0.03246181458234787,
0.028551500290632248,
-0.03585489094257355,
0.04857892915606499,
-0.048123762011528015,
-0.04286862909793854,
-0.003848245833069086,
0.03225491940975189,
-0.04713066667318344,
-0.025861866772174835,
0.03370318561792374,
0.02637910470366478,
0.029399771243333817,
0.05044098570942879,
0.08284073323011398,
-0.005544784478843212,
0.011006810702383518,
0.009393029846251011,
0.004939616657793522,
-0.001352575607597828,
0.0041585881263017654,
0.02395843341946602,
-0.06111676245927811,
0.028882533311843872,
-0.029420459643006325,
-0.048123762011528015,
-0.06107538565993309,
-0.04969616234302521,
-0.01426540594547987,
-0.08590278029441833,
-0.04144105687737465,
-0.03707557171583176,
0.028303226456046104,
0.028406674042344093,
-0.014327473938465118,
0.041958291083574295,
0.0265653096139431,
-0.04386172443628311,
-0.009646476246416569,
-0.043737590312957764,
0.016789523884654045,
0.07373735308647156,
0.00523961428552866,
-0.004898237530142069,
0.04762721434235573,
0.05188924819231033,
0.027351509779691696,
0.030723897740244865,
0.05122718587517738,
0.019437778741121292,
-0.009134411811828613,
-0.020410185679793358,
-0.05743403360247612,
-0.00237411935813725,
0.02383429743349552,
-0.01023612730205059,
-0.009263720363378525,
-0.015289535745978355,
-0.024910150095820427,
0.03517213836312294,
0.020420530810952187,
0.00517237326130271,
-0.021765347570180893,
0.042041052132844925,
-0.028220469132065773,
-0.044192757457494736,
-0.024537738412618637,
0.026441173627972603,
0.014999883249402046,
0.0020327428355813026,
-0.02086535468697548,
-0.00982750952243805,
0.005462026223540306,
-0.06314433366060257,
0.012713694013655186,
-0.02842736430466175,
0.0037629015278071165,
-0.043737590312957764,
-0.04115140438079834,
-0.011348186992108822,
0.05677197128534317,
-0.019686052575707436,
0.048496171832084656,
-0.023234300315380096,
-0.009848198853433132,
0.033723875880241394,
0.016034357249736786,
0.006387881003320217,
-0.011213705874979496,
0.024082571268081665,
-0.055240947753190994,
0.005200821440666914,
0.049903057515621185,
-0.01749296672642231,
0.004047382157295942,
0.02253085933625698,
-0.05697886645793915,
0.00996199157088995,
0.05474440008401871,
-0.030185971409082413,
-0.02188948355615139,
-0.04431689530611038,
-0.02188948355615139,
-0.03777901455760002,
-0.025034287944436073,
-0.072247713804245,
0.033516980707645416,
-0.0165412500500679,
0.011482669040560722,
-0.022386031225323677,
0.034282490611076355,
0.0018698129570111632,
-0.027165304869413376,
-0.036889366805553436,
0.015124020166695118,
-0.008389589376747608,
-0.030848035588860512,
-0.015765393152832985,
0.011068878695368767,
-0.025220492854714394,
-0.02807564288377762,
-0.057475414127111435,
0.03968244791030884,
-0.02786874771118164,
0.014513679780066013,
-0.027454957365989685,
-0.05408233776688576,
0.04423413798213005,
-0.007049944717437029,
0.014792988076806068,
-0.01841364987194538,
0.00031583805684931576,
0.021475695073604584,
0.016789523884654045,
0.031841129064559937,
0.07402700930833817,
0.05143408104777336,
-0.02234465256333351,
-0.00813097134232521,
0.020234324038028717,
0.023648090660572052,
-0.0334756001830101,
-0.024454981088638306,
-0.027992885559797287,
-0.034282490611076355,
-0.006765464320778847,
-0.01832054741680622,
0.023213611915707588,
0.0362686812877655,
-0.05908919498324394,
0.02488945983350277,
0.020410185679793358,
-0.03159285709261894,
0.026585999876260757,
-0.028385985642671585,
0.046634119004011154,
-0.05197200924158096,
-0.06062021479010582,
0.013499894179403782,
0.011399910785257816,
0.04638584330677986,
-0.008617173880338669,
-0.017203314229846,
-0.0054258196614682674,
-0.0018879162380471826,
0.04415138065814972,
-0.02499290741980076,
-0.0224481001496315,
-0.01795848086476326,
0.0063930535688996315,
-0.02095845714211464,
-0.00931544415652752,
-0.028510121628642082,
-0.04692377150058746,
-0.0015155053697526455,
0.004528413061052561,
-0.018082616850733757,
-0.08172349631786346,
0.046634119004011154,
-0.042041052132844925,
-0.00755166495218873,
0.05834437161684036,
0.00002123501690221019,
-0.010593020357191563,
0.026772204786539078,
0.012424040585756302,
-0.005436164326965809,
-0.03610316663980484,
-0.02282051183283329,
0.036889366805553436,
-0.07191667705774307,
0.0074378727003932,
-0.006455122027546167,
0.006946497596800327,
-0.03730315715074539,
0.010246471501886845,
0.019965361803770065,
-0.03382732346653938,
0.0020327428355813026,
0.0018336063949391246,
-0.043365176767110825,
0.002454291097819805,
0.01318955235183239,
-0.04253759980201721,
0.02236534282565117,
-0.0031991128344088793,
0.015020572580397129,
0.008094764314591885,
-0.00624822685495019,
-0.039227280765771866,
-0.052427176386117935,
0.04696515202522278,
0.05292372405529022,
-0.02028604783117771,
-0.05946160480380058,
0.04866169020533562,
-0.06099262833595276,
0.009005102328956127,
-0.053834062069654465,
-0.01722400262951851,
-0.004924099426716566,
-0.0012083956971764565,
0.020596390590071678,
-0.010520607233047485,
0.0011527927126735449,
-0.029792871326208115,
0.08565450459718704,
0.005694783292710781,
-0.026772204786539078,
-0.03808935731649399,
-0.0015982633922249079,
0.035048000514507294,
-0.03113768808543682,
0.02414463832974434,
-0.009822336956858635,
0.011079223826527596,
-0.0003481653693597764,
-0.008348210714757442,
-0.026792895048856735,
-0.001309903571382165,
-0.04481344297528267,
-0.03459283336997032,
0.0645512193441391,
0.023689469322562218,
-0.033454909920692444,
0.07601319998502731,
-0.02019294537603855,
-0.011296463198959827,
-0.013158517889678478,
-0.0494065098464489,
0.0228412002325058,
0.00638270890340209,
0.03455145284533501,
0.008446485735476017,
-0.02021363563835621,
-0.011906803585588932,
0.0576409287750721,
0.009558546356856823,
-0.03163423389196396,
-0.013003346510231495,
0.004673239309340715,
-0.025365319103002548,
0.06248227134346962,
0.059627119451761246,
0.025758419185876846,
-0.020886043086647987,
0.011772321537137032,
0.02611014060676098,
-0.03182044252753258,
0.00010441728954901919,
0.008575795218348503,
0.029627354815602303,
-0.0012109818635508418,
-0.024248085916042328,
-0.0010247764876112342,
0.01722400262951851,
-0.021848104894161224,
-0.006568914279341698,
-0.010851639322936535,
-0.028923911973834038,
-0.01272403821349144,
0.0005133580416440964,
0.002738771727308631,
-0.0741097629070282,
0.019386054947972298,
-0.025944624096155167,
0.023441195487976074,
0.007794766686856747,
-0.0512685663998127,
0.03912383317947388,
-0.03827556222677231,
-0.03751005232334137,
0.06210985779762268,
-0.012558522634208202,
0.04369620978832245,
-0.008337865583598614,
-0.013551617972552776,
-0.039330728352069855,
0.0012277921196073294,
0.010298195295035839,
-0.06500639021396637,
-0.05044098570942879,
0.06012366712093353,
-0.025779109448194504,
0.029979076236486435,
0.1075853630900383,
-0.006206848192960024,
-0.04377896711230278,
0.03552386164665222,
-0.04348931461572647,
0.01043267734348774,
0.07456493377685547,
0.008880965411663055,
0.010944741778075695,
-0.009718889370560646,
0.0057775410823524,
0.025572214275598526,
0.020265359431505203,
0.028861843049526215,
0.05830299109220505,
0.020523978397250175,
-0.03442731872200966,
-0.007003393489867449,
-0.02047225460410118,
0.017823997884988785,
0.020182600244879723,
-0.03357904776930809,
-0.011699908412992954,
0.04696515202522278,
-0.06682706624269485,
0.029710112139582634,
-0.01962398551404476,
-0.02954459749162197,
0.038958314806222916,
-0.021020526066422462,
0.005094787571579218,
-0.027930816635489464,
0.006113745272159576,
-0.03846176713705063,
0.017068831250071526,
0.03881349042057991,
0.023544643074274063,
-0.007287873886525631,
-0.00517237326130271,
0.009796475060284138,
-0.0357307568192482,
0.023130854591727257,
0.009480960667133331,
0.051682353019714355,
0.016603318974375725,
0.016696421429514885,
-0.02702047862112522,
-0.04245484247803688,
-0.08230280876159668,
-0.0430341474711895,
-0.0021374833304435015,
0.036806609481573105,
-0.005917195230722427,
0.031179066747426987,
-0.008110281080007553,
0.00364910950884223,
0.03208940476179123
] |
21,657 | magic_filter.magic | __add__ | null | def __add__(self: MagicT, other: Any) -> MagicT:
return self._extend(CombinationOperation(right=other, combinator=operator.add))
| (self: ~MagicT, other: Any) -> ~MagicT | [
-0.04039427638053894,
-0.05667048692703247,
0.07092524319887161,
0.08037032186985016,
-0.004376191645860672,
-0.044123515486717224,
-0.06635953485965729,
-0.02594783343374729,
0.03781517595052719,
-0.027272235602140427,
0.021974625065922737,
0.0051146335899829865,
0.029084576293826103,
0.03365027904510498,
-0.010255406610667706,
0.028823180124163628,
0.024710562080144882,
0.010124708525836468,
0.003515765769407153,
0.021033603698015213,
0.023455865681171417,
0.024588577449321747,
0.00511898985132575,
0.06702173501253128,
0.011257421225309372,
0.08183413743972778,
0.02545989491045475,
-0.015431031584739685,
-0.029886187985539436,
-0.030077878385782242,
0.009497360326349735,
-0.047399669885635376,
-0.02051081322133541,
-0.044541746377944946,
0.0280389953404665,
-0.014812396839261055,
-0.039104726165533066,
0.0743059515953064,
-0.06175898015499115,
0.038965314626693726,
0.05280183628201485,
-0.02570386417210102,
0.036072541028261185,
-0.007785221561789513,
0.035967983305454254,
-0.019552363082766533,
-0.026418345049023628,
0.027690468356013298,
-0.009401515126228333,
-0.01882045716047287,
0.038651641458272934,
-0.04321734607219696,
0.013200459070503712,
-0.0057594082318246365,
-0.022148888558149338,
0.06942657381296158,
0.018628766760230064,
0.0290671493858099,
-0.03399880602955818,
0.09647227078676224,
-0.021992051973938942,
0.0036007193848490715,
-0.022288300096988678,
-0.031768232583999634,
0.004800959024578333,
-0.004188858438283205,
-0.09953930228948593,
-0.004027664661407471,
0.03732723742723465,
0.08287971466779709,
-0.018384797498583794,
-0.00352230085991323,
0.0092011122033,
-0.006635082419961691,
-0.015117357484996319,
-0.016075806692242622,
0.03743179887533188,
-0.0033197193406522274,
0.06796275824308395,
-0.039244137704372406,
-0.009427654556930065,
0.00879159290343523,
-0.0199531689286232,
0.020580517128109932,
-0.007419268134981394,
0.03182051330804825,
-0.07772151380777359,
-0.038651641458272934,
-0.04820128157734871,
-0.03439961373806,
-0.012564397417008877,
-0.019552363082766533,
-0.026052391156554222,
0.02315961755812168,
0.04126559570431709,
0.0030408978927880526,
-0.028927739709615707,
-0.03534063696861267,
-0.005476230289787054,
0.027429072186350822,
-0.0581342987716198,
0.03403365984559059,
0.021870067343115807,
-0.029398251324892044,
0.07109950482845306,
-0.04757393151521683,
-0.0030517892446368933,
-0.049943916499614716,
-0.012050320394337177,
0.04865436628460884,
0.019395526498556137,
0.018628766760230064,
0.008355934172868729,
-0.020110007375478745,
-0.028875460848212242,
0.02436203509569168,
-0.008734957315027714,
-0.011876056902110577,
0.02139955572783947,
0.05377771332859993,
0.024274904280900955,
0.01300876960158348,
0.05890106037259102,
0.040951918810606,
0.03260469809174538,
0.01603224128484726,
0.015370039269328117,
-0.02408321388065815,
-0.04562218114733696,
-0.08664380759000778,
-0.0033611070830374956,
0.011754072271287441,
0.012172305025160313,
0.020179711282253265,
-0.016433047130703926,
0.01592768356204033,
0.036177098751068115,
-0.009296957403421402,
-0.017644178122282028,
0.016868704929947853,
0.024902252480387688,
0.012276862747967243,
0.039174433797597885,
0.005576431751251221,
-0.09319611638784409,
0.003300114767625928,
-0.04834069311618805,
0.027585910633206367,
0.014289606362581253,
-0.002635735319927335,
-0.04489027336239815,
0.01013342197984457,
0.015370039269328117,
0.04374013468623161,
-0.020597944036126137,
0.05715842545032501,
0.0354277677834034,
0.002984262304380536,
0.0010145402047783136,
-0.02312476560473442,
0.004970865789800882,
-0.005763764958828688,
0.01488210167735815,
0.01661602407693863,
0.009540925733745098,
-0.013548986054956913,
0.021416982635855675,
-0.02160867303609848,
-0.0357937216758728,
-0.03448674455285072,
0.05144258216023445,
-0.09919077903032303,
0.05886620655655861,
0.007336492650210857,
-0.002995153656229377,
-0.0074061984196305275,
-0.031053753569722176,
0.024832546710968018,
-0.011091871187090874,
-0.028195831924676895,
0.026575181633234024,
0.010691065341234207,
-0.03732723742723465,
-0.020998749881982803,
0.04579644650220871,
-0.025616733357310295,
0.004367478657513857,
0.005071067716926336,
0.04872407019138336,
-0.007231934927403927,
0.06824158132076263,
0.01408920343965292,
-0.0018036271212622523,
0.014516148716211319,
-0.030635520815849304,
-0.013148180209100246,
-0.0371529757976532,
0.012485979124903679,
0.0505712628364563,
0.06702173501253128,
-0.07291184365749359,
-0.027446499094367027,
0.03082721121609211,
0.047225404530763626,
0.033911675214767456,
-0.038791052997112274,
0.009209825657308102,
0.0492120087146759,
-0.04879377782344818,
-0.049699947237968445,
0.03976692631840706,
-0.03729238733649254,
0.008787236176431179,
0.04516909644007683,
-0.017382783815264702,
-0.01751348003745079,
-0.0036813162732869387,
-0.0529761016368866,
-0.02126014605164528,
0.016746720299124718,
0.03453902155160904,
0.01393236592411995,
0.01345314085483551,
-0.016398195177316666,
0.05548549443483353,
-0.022723959758877754,
-0.02638349123299122,
-0.02383924461901188,
-0.023368733003735542,
0.020597944036126137,
0.041300445795059204,
-0.004561346955597401,
-0.016589883714914322,
-0.013427001424133778,
-0.016947124153375626,
0.046807173639535904,
-0.0002623482432682067,
-0.031053753569722176,
0.006064369343221188,
0.011414258740842342,
-0.03575886785984039,
-0.005602571181952953,
0.010656212456524372,
0.01133583951741457,
-0.060225460678339005,
0.00007828242814866826,
0.015012799762189388,
0.05837826803326607,
0.036351364105939865,
0.021922346204519272,
0.016215218231081963,
0.0008702282793819904,
0.025233352556824684,
0.0011027611326426268,
-0.03326689824461937,
0.03575886785984039,
0.010272832587361336,
-0.03260469809174538,
-0.007201438769698143,
-0.008286228403449059,
0.05095464363694191,
0.06095736846327782,
0.021939773112535477,
-0.006565377116203308,
-0.08768938481807709,
-0.016154225915670395,
0.00022490881383419037,
0.03340630978345871,
-0.026470623910427094,
0.015884116291999817,
0.07486359775066376,
-0.023752113804221153,
0.015596582554280758,
0.017400208860635757,
-0.027882158756256104,
0.018071124330163002,
0.04513424262404442,
0.057855479419231415,
-0.0646866038441658,
-0.05123346671462059,
-0.008077112957835197,
0.009758755564689636,
-0.013548986054956913,
-0.06381528824567795,
-0.06210750713944435,
0.055206671357154846,
0.006722214166074991,
-0.011658227071166039,
-0.041195888072252274,
-0.052557867020368576,
0.0402548648416996,
0.020597944036126137,
0.06684747338294983,
0.041544415056705475,
0.08030061423778534,
-0.004395796451717615,
-0.06315308809280396,
-0.008386430330574512,
0.03162882477045059,
-0.0055372221395373344,
0.004077765624970198,
0.0054588038474321365,
-0.015038939192891121,
-0.011666940525174141,
-0.04262484982609749,
-0.049316566437482834,
0.09479933977127075,
0.02291564829647541,
-0.006465175189077854,
0.03488754853606224,
-0.024989383295178413,
0.05656592920422554,
-0.01843707635998726,
0.01761803776025772,
0.015195775777101517,
0.020284270867705345,
0.011876056902110577,
0.025651585310697556,
0.023560423403978348,
0.04001089558005333,
0.012407559901475906,
-0.026435771957039833,
-0.006713500712066889,
-0.057576656341552734,
-0.01198932807892561,
-0.017600612714886665,
-0.018454503268003464,
-0.041161034256219864,
0.007153516169637442,
0.01726951077580452,
-0.04283396527171135,
-0.013958505354821682,
0.0056853462010622025,
0.05869194120168686,
-0.029537661001086235,
-0.020719928666949272,
0.04380984231829643,
-0.024658283218741417,
-0.03340630978345871,
-0.003321897704154253,
-0.0047051142901182175,
0.030147584155201912,
0.0041474709287285805,
0.00030768397846259177,
0.01902957260608673,
-0.02779502607882023,
0.02329902909696102,
-0.007166585884988308,
0.04590100422501564,
0.004469858482480049,
0.010577794164419174,
-0.038686495274305344,
-0.014359311200678349,
-0.0750030055642128,
0.04513424262404442,
0.02824811078608036,
-0.0760485827922821,
0.039104726165533066,
0.007236291188746691,
-0.021016176789999008,
0.043984103947877884,
-0.023421013727784157,
0.03237815573811531,
0.07507271319627762,
-0.03525350242853165,
0.022427711635828018,
-0.05663563311100006,
-0.013766815885901451,
-0.014481295831501484,
-0.055380936712026596,
0.041405003517866135,
-0.03830311447381973,
0.04903774708509445,
0.028439801186323166,
0.018088549375534058,
0.03399880602955818,
-0.04039427638053894,
0.024780267849564552,
-0.031402282416820526,
-0.03537548705935478,
0.02687142975628376,
0.027167677879333496,
-0.036351364105939865,
0.008852585218846798,
0.035114094614982605,
0.04011545330286026,
0.036246806383132935,
-0.04907259717583656,
-0.000619724509306252,
0.05708871781826019,
0.003260905621573329,
-0.02831781655550003,
0.010255406610667706,
0.003663889830932021,
-0.11933563649654388,
-0.03525350242853165,
-0.01726951077580452,
-0.01726951077580452,
-0.07249361276626587,
-0.003975385800004005,
0.06737026572227478,
-0.02645319700241089,
0.03182051330804825,
0.020772207528352737,
0.004539563786238432,
-0.04102162644267082,
-0.030949195846915245,
0.0035963626578450203,
-0.029398251324892044,
0.04112618416547775,
-0.09549639374017715,
-0.041648972779512405,
0.016886131837964058,
0.038965314626693726,
-0.030705226585268974,
-0.05363830178976059,
0.04583129659295082,
-0.030304420739412308,
0.027516204863786697,
0.044437188655138016,
0.07458477467298508,
0.002402657875791192,
-0.060225460678339005,
0.04628438130021095,
-0.003321897704154253,
0.00017589720664545894,
0.011048304848372936,
0.016816426068544388,
-0.07556065171957016,
-0.018158255144953728,
-0.032534994184970856,
-0.03283124044537544,
0.01998802274465561,
-0.006347547750920057,
-0.00431737769395113,
-0.06113163009285927,
-0.010377390310168266,
-0.07841856777667999,
0.047504227608442307,
0.009941731579601765,
0.010002723895013332,
-0.01156238280236721,
-0.021904921159148216,
-0.03135000169277191,
-0.03798944130539894,
-0.0863649845123291,
0.0014071776531636715,
0.0190992783755064,
-0.007101237308233976,
-0.021974625065922737,
0.05994664132595062,
0.034451890736818314,
0.02446659468114376,
0.038825906813144684,
0.05172140151262283,
-0.0038033006712794304,
0.026888856664299965,
-0.1059522032737732,
-0.01198932807892561,
0.013758102431893349,
-0.032116759568452835,
-0.002276316750794649,
0.02528563141822815,
0.017313078045845032,
-0.02298535406589508,
0.015457171015441418,
0.046632908284664154,
-0.020528238266706467,
-0.02105102874338627,
0.05119861289858818,
0.009584492072463036,
-0.05294124782085419,
-0.015675000846385956,
-0.028858033940196037,
0.02068507671356201,
0.003112781560048461,
0.01843707635998726,
-0.020353974774479866,
-0.014185047708451748,
-0.058204006403684616,
0.010028863325715065,
-0.005136416293680668,
-0.009723902679979801,
-0.025059089064598083,
-0.02521592751145363,
0.07583946734666824,
0.0381985567510128,
-0.006822415627539158,
0.06987965852022171,
0.038616787642240524,
0.007009748835116625,
0.05837826803326607,
-0.020475959405303,
0.005467516835778952,
-0.032534994184970856,
0.015596582554280758,
-0.041753530502319336,
-0.03525350242853165,
0.03128029778599739,
0.038721345365047455,
-0.035462621599435806,
0.012860645540058613,
-0.057437244802713394,
0.012790939770638943,
0.038651641458272934,
0.0040581608191132545,
-0.06207265332341194,
-0.02601753920316696,
-0.04269455373287201,
0.024658283218741417,
-0.0368044488132,
-0.041509561240673065,
0.0015923326136544347,
0.010211840271949768,
0.057750921696424484,
-0.00028916847077198327,
0.022723959758877754,
0.02160867303609848,
-0.0029232699889689684,
-0.06684747338294983,
0.003724882146343589,
-0.007876710034906864,
-0.05130317062139511,
-0.06925231218338013,
-0.006491315085440874,
-0.016642162576317787,
-0.05890106037259102,
-0.057925183326005936,
-0.012512118555605412,
0.005097207147628069,
-0.02429233118891716,
0.005214835051447153,
-0.049525681883096695,
0.013470567762851715,
-0.06165442243218422,
0.05147743597626686,
-0.01778358966112137,
0.026278933510184288,
0.014699125662446022,
-0.013087187893688679,
0.00842999666929245,
0.007558678742498159,
0.0543702095746994,
0.005267113912850618,
-0.049874208867549896,
0.07848827540874481,
-0.015195775777101517,
-0.014725265093147755,
-0.0029123786371201277,
-0.028980018571019173,
-0.06451234221458435,
-0.0052758269011974335,
-0.049455977976322174,
0.1142471432685852,
0.04868922010064125,
-0.05935414507985115,
-0.013644831255078316,
0.00473125372081995,
-0.01713010109961033,
0.05043185502290726,
0.021138161420822144,
0.0197789054363966,
-0.035863425582647324,
-0.04837554320693016,
-0.0280389953404665,
-0.00820781011134386,
-0.02366498112678528,
-0.007549965754151344,
-0.017217231914401054,
0.021103307604789734,
-0.013888799585402012,
-0.023211896419525146,
-0.053673155605793,
-0.04042913019657135,
-0.022305727005004883,
0.031088605523109436,
-0.05179110914468765,
0.030426405370235443,
-0.041544415056705475,
-0.003043076256290078,
-0.08002179116010666,
0.036246806383132935,
0.028160979971289635,
-0.03426020219922066,
0.052453309297561646,
-0.038791052997112274,
-0.016886131837964058,
0.002396123018115759,
-0.015413605608046055,
0.00004853510472457856,
0.0026531615294516087,
-0.010386103764176369,
0.004478571470826864,
-0.01871589943766594,
-0.019221263006329536,
-0.014899528585374355,
-0.05949355661869049,
0.023891523480415344,
0.0023525571450591087,
-0.0032216962426900864,
0.03563688322901726,
-0.007253717631101608,
-0.0020573982037603855,
0.02429233118891716,
0.003448238829150796,
0.04607526585459709,
-0.05708871781826019,
-0.0011283560888841748,
-0.04617982357740402,
-0.04258999601006508,
0.041579268872737885,
-0.006155857816338539,
0.011527529917657375,
-0.010839189402759075,
-0.008085825480520725,
-0.034695859998464584,
-0.07472418248653412,
0.02638349123299122,
0.033598002046346664,
0.026244081556797028,
-0.03833796828985214,
0.03560202941298485,
-0.08845614641904831,
0.014246040023863316,
-0.029363397508859634,
-0.003927463199943304,
-0.0185764878988266,
-0.0053847418166697025,
0.03774547204375267,
0.02383924461901188,
-0.031193165108561516,
-0.0027511848602443933,
0.05656592920422554,
-0.022427711635828018,
-0.0039601377211511135,
-0.039209283888339996,
-0.011309700086712837,
0.046911731362342834,
-0.0009132496197707951,
0.017487341538071632,
0.002515929052606225,
0.02383924461901188,
-0.09298700094223022,
-0.005554648581892252,
-0.03114088624715805,
0.04105647653341293,
-0.07800033688545227,
-0.060748253017663956,
0.004530850797891617,
0.013644831255078316,
-0.03110603243112564,
0.016389481723308563,
-0.009985297918319702,
0.026958562433719635,
0.023699834942817688,
-0.029921041801571846,
0.017042968422174454,
0.011754072271287441,
0.022183742374181747,
0.022114036604762077,
-0.010830475948750973,
-0.023455865681171417,
0.07423624396324158,
-0.0038534014020115137,
-0.0326918289065361,
-0.004831455182284117,
0.00574633851647377,
-0.07113435864448547,
0.07130862027406693,
0.006225563120096922,
0.007541252300143242,
-0.02549474872648716,
-0.05621740221977234,
0.044158369302749634,
-0.0032957582734525204,
-0.00885694194585085,
0.014202474616467953,
0.024727988988161087,
0.041858088225126266,
-0.015099931508302689,
-0.019325820729136467,
-0.0050144316628575325,
-0.010447096079587936,
0.010490662418305874,
-0.06343191117048264,
-0.018280239775776863,
-0.008830802515149117,
0.06475631147623062,
-0.004071230534464121,
-0.06381528824567795,
0.034451890736818314,
-0.05904046818614006,
0.03135000169277191,
0.022723959758877754,
0.0005810598377138376,
0.08517999202013016,
-0.029363397508859634,
-0.06555792689323425,
-0.004652834963053465,
0.012599250301718712,
0.026644887402653694,
0.008643468841910362,
-0.012843218632042408,
-0.017313078045845032,
0.033807117491960526,
-0.00961934495717287,
0.005371672101318836,
-0.0102379797026515,
0.06496542692184448,
-0.004931656643748283,
0.018367372453212738,
0.0929172933101654,
-0.016014814376831055,
-0.026244081556797028,
0.03305778279900551,
-0.0011479607783257961,
0.03847737982869148,
0.05280183628201485,
-0.030234714969992638,
0.012468552216887474,
-0.0643380805850029,
0.028160979971289635,
0.08406470715999603,
-0.02246256358921528,
0.0280389953404665,
0.029537661001086235,
0.06092251464724541,
-0.05949355661869049,
0.00540216825902462,
0.00792898889631033,
0.016328489407896996,
0.03171595558524132,
0.04252029210329056,
0.020388828590512276,
0.007349562831223011,
-0.0019495728192850947,
-0.029032297432422638,
0.029049724340438843,
0.009898166172206402,
0.03323204815387726,
-0.01878560334444046,
0.008443065918982029,
0.034451890736818314,
-0.006456462200731039,
0.02178293652832508,
-0.024240050464868546,
0.036072541028261185,
0.03736209124326706,
-0.02160867303609848,
0.041579268872737885,
0.0007907205726951361,
0.008800306357443333,
0.04039427638053894,
0.03994119167327881,
0.03941839933395386,
0.03185536712408066,
0.022723959758877754,
-0.02814355306327343,
0.010778197087347507,
-0.0746544748544693,
-0.038547083735466,
-0.02807384729385376,
0.057646360248327255,
-0.003931819926947355,
0.0168599933385849,
0.00792898889631033,
-0.0038795408327132463,
0.05680989846587181
] |
21,658 | magic_filter.magic | __and__ | null | def __and__(self: MagicT, other: Any) -> MagicT:
if isinstance(other, MagicFilter):
return self._extend(CombinationOperation(right=other, combinator=and_op))
return self._extend(CombinationOperation(right=other, combinator=operator.and_))
| (self: ~MagicT, other: Any) -> ~MagicT | [
0.004020946566015482,
-0.06495976448059082,
0.046290770173072815,
0.0257132388651371,
-0.02220846526324749,
-0.04053045064210892,
-0.019206851720809937,
-0.025678537786006927,
0.019848816096782684,
-0.021514451131224632,
0.06572318077087402,
-0.003973233047872782,
0.04722768813371658,
0.048234011977910995,
-0.008874710649251938,
0.002979924902319908,
-0.04368821531534195,
0.06402283906936646,
0.0160230603069067,
0.039871133863925934,
-0.00798984244465828,
-0.00008349862764589489,
-0.026216398924589157,
0.08362875133752823,
0.062461309134960175,
0.09098530560731888,
-0.035915251821279526,
-0.00998513400554657,
-0.03827490285038948,
0.006116003263741732,
0.07578638941049576,
-0.032844237983226776,
0.03872601315379143,
-0.04021814465522766,
0.02795143611729145,
-0.019744714722037315,
-0.006588800810277462,
0.05781141296029091,
-0.07932586222887039,
0.028714852407574654,
0.029495617374777794,
-0.06450865417718887,
0.028523998335003853,
0.020421378314495087,
-0.020577531307935715,
-0.043028902262449265,
-0.014331400394439697,
0.020872486755251884,
0.034839529544115067,
0.014522254467010498,
0.020039670169353485,
-0.005604167468845844,
-0.007417280226945877,
-0.006992196664214134,
-0.027344172820448875,
0.022434020414948463,
0.00935184583067894,
0.016448143869638443,
-0.00998513400554657,
0.04778290167450905,
-0.0015094816917553544,
0.049170929938554764,
0.02210436388850212,
-0.016578271985054016,
-0.02951296791434288,
-0.024949822574853897,
-0.08793164044618607,
0.03234107792377472,
-0.01661297306418419,
0.09424717724323273,
-0.0706159770488739,
0.009855006821453571,
0.011303761973977089,
0.02361384406685829,
-0.06596608459949493,
-0.03511713445186615,
0.0157367791980505,
0.014079820364713669,
0.019449757412075996,
-0.06093447655439377,
0.02177470549941063,
0.029200661927461624,
-0.06423104554414749,
0.0012795893708243966,
-0.029738523066043854,
0.034943632781505585,
-0.09598220884799957,
-0.010427568107843399,
0.011815597303211689,
-0.05621517822146416,
-0.012275381945073605,
0.006402284372597933,
-0.010280090384185314,
0.01929360441863537,
0.061038579791784286,
0.0538555271923542,
-0.02045607939362526,
-0.006233118008822203,
-0.014869261533021927,
0.0428553968667984,
-0.07974226772785187,
0.035134486854076385,
0.01295204646885395,
-0.008237085305154324,
0.07384314388036728,
-0.01127773616462946,
-0.03461397439241409,
-0.0424736887216568,
-0.031039800494909286,
0.028818953782320023,
-0.0051010069437325,
0.0034527224488556385,
-0.026511356234550476,
0.00037601491203531623,
-0.009785604663193226,
0.002565684961155057,
0.01854753866791725,
-0.020091721788048744,
-0.002591710537672043,
-0.016595622524619102,
0.015008064918220043,
-0.0012362133711576462,
0.06495976448059082,
0.028072888031601906,
0.046637777239084244,
0.035238590091466904,
0.04271659627556801,
-0.04469453543424606,
-0.03379850834608078,
-0.061003878712654114,
-0.03534268960356712,
0.053890228271484375,
-0.022277867421507835,
0.04469453543424606,
-0.0010675896191969514,
0.02916596084833145,
-0.0000665210245642811,
0.008571079932153225,
-0.06003225967288017,
0.025852041319012642,
-0.020473429933190346,
0.00818069651722908,
0.03619285672903061,
0.0040079341270029545,
-0.12221596390008926,
-0.017905576154589653,
-0.04767879843711853,
0.009169667027890682,
0.06773582100868225,
0.004988229367882013,
-0.02907921001315117,
0.002689306391403079,
0.013750162906944752,
0.0596158504486084,
-0.052710406482219696,
0.060899775475263596,
0.021358298137784004,
-0.02493247203528881,
0.04243898764252663,
0.0002917029778473079,
-0.013116874732077122,
-0.010757225565612316,
0.002891004318371415,
0.02396085299551487,
0.010219364427030087,
-0.006987859029322863,
-0.014374775812029839,
-0.01219730544835329,
0.017801472917199135,
-0.02814229018986225,
0.0866130143404007,
-0.05302271246910095,
0.05153058096766472,
-0.0013023617211729288,
-0.06950555741786957,
0.018009677529335022,
-0.007985505275428295,
-0.008167684078216553,
-0.032896287739276886,
-0.031230654567480087,
0.0072351014241576195,
0.03194202110171318,
-0.03830960392951965,
-0.023735297843813896,
0.06207960098981857,
-0.02566118724644184,
0.007517044898122549,
-0.014643707312643528,
0.0391424186527729,
0.026650158688426018,
-0.014470202848315239,
-0.019397705793380737,
0.008818321861326694,
-0.0004763217002619058,
-0.06315532326698303,
-0.03719918057322502,
-0.008566741831600666,
-0.03431902080774307,
0.054757747799158096,
0.06353703141212463,
-0.05965055152773857,
-0.017905576154589653,
0.005378612782806158,
0.055243559181690216,
0.0016493689035996795,
-0.001425983035005629,
0.01273516658693552,
0.09049949795007706,
-0.029842626303434372,
-0.04972614347934723,
-0.004472056403756142,
-0.08383695781230927,
0.01224935706704855,
0.044139325618743896,
0.0159276332706213,
0.06388404220342636,
0.027691179886460304,
-0.03497833386063576,
-0.017940275371074677,
0.029287414625287056,
0.025695888325572014,
-0.007408605422824621,
-0.015138192102313042,
-0.0013804383343085647,
0.028940405696630478,
0.03549884259700775,
-0.030501939356327057,
-0.013689436949789524,
-0.02064693346619606,
-0.0035286301281303167,
0.05371672660112381,
0.034024063497781754,
0.011112907901406288,
-0.023978201672434807,
-0.029998779296875,
0.04465983435511589,
0.060171060264110565,
-0.03527328744530678,
-0.06929735094308853,
-0.01339448057115078,
0.025730589404702187,
-0.0306407418102026,
0.022468721494078636,
-0.046047866344451904,
-0.01806172914803028,
-0.05277980491518974,
0.0016894916770979762,
0.02444666251540184,
0.0568050891160965,
-0.012422860600054264,
-0.06155908852815628,
0.01297807227820158,
0.020386677235364914,
-0.026233749464154243,
-0.024758968502283096,
0.038344305008649826,
-0.0015344227431342006,
-0.02994672767817974,
0.01778412237763405,
-0.01064444798976183,
0.04018344357609749,
0.06003225967288017,
0.010800600983202457,
-0.04826871305704117,
-0.04719299077987671,
0.00611166562885046,
0.0028346157632768154,
0.023440340533852577,
0.031785864382982254,
-0.016135837882757187,
0.04781760275363922,
-0.06329412758350372,
0.007395592518150806,
0.030658092349767685,
-0.04802580550312996,
0.012596364133059978,
0.03792789578437805,
-0.009143641218543053,
-0.047158289700746536,
-0.027795283123850822,
0.0004584291309583932,
0.009100265800952911,
-0.022329917177557945,
-0.06839513033628464,
-0.000151544576510787,
-0.014530929736793041,
0.022434020414948463,
-0.005500065162777901,
0.003639238653704524,
-0.07779902964830399,
0.05614577606320381,
0.010670473799109459,
0.04282069578766823,
-0.02517537772655487,
0.010687824338674545,
0.0022143402602523565,
-0.02153180167078972,
-0.07557818293571472,
0.013836914673447609,
-0.04636017233133316,
0.02814229018986225,
-0.06509856134653091,
-0.012613714672625065,
0.004810388199985027,
0.0031642725225538015,
0.009160991758108139,
0.05045485869050026,
0.06117738038301468,
0.03256663307547569,
0.02390880137681961,
-0.0005058715469203889,
0.012162605300545692,
-0.027986137196421623,
-0.04125916585326195,
0.012743841856718063,
0.014912637881934643,
0.04837281256914139,
0.0391424186527729,
0.004623871762305498,
0.06315532326698303,
0.018530188128352165,
0.026962464675307274,
-0.01835668459534645,
0.018339334055781364,
-0.04243898764252663,
-0.04986494407057762,
-0.011537991464138031,
-0.008493003435432911,
-0.029825275763869286,
0.040599849075078964,
-0.07054657489061356,
0.02916596084833145,
0.016586948186159134,
0.03754618763923645,
0.0106184221804142,
-0.013290378265082836,
0.0244987141340971,
-0.0328095369040966,
-0.03379850834608078,
-0.03188996762037277,
0.020230524241924286,
0.012084527872502804,
0.006298182066529989,
0.012084527872502804,
0.016986006870865822,
-0.0027999149169772863,
-0.003836599178612232,
0.016448143869638443,
0.058505427092313766,
0.0019898698665201664,
0.04958733916282654,
-0.03563764691352844,
0.03208082169294357,
-0.05274510383605957,
0.06527207046747208,
0.006749291438609362,
-0.09244273602962494,
0.07169169932603836,
-0.026164349168539047,
0.010436243377625942,
0.10403277724981308,
0.008362875320017338,
0.0019757726695388556,
0.0359499529004097,
-0.005330899264663458,
-0.0009249912691302598,
-0.04577025771141052,
0.01957120932638645,
-0.05080186575651169,
-0.03886481374502182,
0.01200645137578249,
-0.028558699414134026,
-0.0016341874143108726,
-0.0025288155302405357,
0.03858720883727074,
0.028367845341563225,
-0.06346762925386429,
-0.011529316194355488,
0.009490649215877056,
0.034024063497781754,
0.03813609853386879,
0.059789352118968964,
-0.020855136215686798,
-0.011841623112559319,
-0.0017372051952406764,
0.010549020953476429,
0.003218492493033409,
-0.02717066928744316,
0.03549884259700775,
0.0391424186527729,
0.028367845341563225,
-0.06339822709560394,
-0.016430795192718506,
-0.026511356234550476,
-0.06554967164993286,
0.01617053896188736,
-0.033729106187820435,
0.007287152577191591,
-0.06325942277908325,
-0.021514451131224632,
0.017064083367586136,
-0.0010442750062793493,
0.030796894803643227,
0.008688194677233696,
0.047366492450237274,
-0.02751767635345459,
0.0029647434130311012,
-0.010262739844620228,
-0.031195953488349915,
0.04958733916282654,
-0.027361523360013962,
-0.04691538214683533,
-0.0000665210245642811,
0.07127529382705688,
-0.023735297843813896,
-0.04080805554986,
0.07377374917268753,
-0.0024160381872206926,
0.026424603536725044,
0.057499103248119354,
0.04261249303817749,
0.012301407754421234,
-0.006896769627928734,
-0.020577531307935715,
0.018634291365742683,
-0.01200645137578249,
0.008102620020508766,
0.040599849075078964,
-0.0367133691906929,
-0.010193338617682457,
-0.007647172547876835,
-0.026025544852018356,
-0.0003383320872671902,
-0.0013847758527845144,
-0.004253007937222719,
0.01156401727348566,
-0.010887352749705315,
-0.03778909146785736,
0.07321853190660477,
-0.02937416546046734,
0.016239941120147705,
-0.031230654567480087,
0.01929360441863537,
-0.07155290246009827,
-0.07439836114645004,
-0.0518081858754158,
0.01297807227820158,
0.09396956861019135,
0.0011093388311564922,
-0.023318888619542122,
0.044972144067287445,
0.044729236513376236,
-0.0032380116172134876,
0.01380221452564001,
0.04622136801481247,
-0.001968181924894452,
0.05250220000743866,
-0.025505034253001213,
-0.023787347599864006,
0.04986494407057762,
-0.017064083367586136,
-0.009759579785168171,
-0.060795675963163376,
-0.015693403780460358,
0.02283307909965515,
0.033000390976667404,
0.021202145144343376,
0.00879229698330164,
-0.008189371787011623,
0.03768498823046684,
-0.0015376759693026543,
-0.07026897370815277,
-0.0003020047734025866,
0.030866296961903572,
0.053092110902071,
0.02708391845226288,
-0.011884999461472034,
-0.008306486532092094,
-0.0007395592401735485,
-0.0069184573367238045,
-0.0102974409237504,
-0.005682243965566158,
0.0008930015028454363,
-0.034648675471544266,
-0.039420027285814285,
-0.035915251821279526,
0.0404263474047184,
-0.0026090608444064856,
0.04396582022309303,
0.024811020120978355,
0.036748070269823074,
0.03339945152401924,
-0.012145254760980606,
-0.0028975107707083225,
-0.017081433907151222,
-0.020039670169353485,
-0.04129386693239212,
0.006449997890740633,
0.021410347893834114,
0.03702567517757416,
-0.03751148656010628,
0.02600819431245327,
-0.08119969815015793,
0.03501303493976593,
0.022225815802812576,
-0.0040252842009067535,
-0.06607018411159515,
-0.07946466654539108,
-0.0363316610455513,
0.04368821531534195,
-0.011321112513542175,
-0.08050568401813507,
-0.007560420781373978,
-0.001869501662440598,
0.022034961730241776,
-0.0359499529004097,
0.008093944750726223,
0.01651754602789879,
-0.04250838980078697,
-0.07550878077745438,
0.005087994039058685,
0.03730328008532524,
-0.03516918793320656,
-0.07446776330471039,
-0.015259644947946072,
-0.054514843970537186,
-0.028072888031601906,
-0.0363316610455513,
-0.010670473799109459,
-0.07890945672988892,
-0.013949692249298096,
-0.013307728804647923,
-0.008466977626085281,
-0.003981908317655325,
-0.05659688636660576,
0.025782641023397446,
-0.060795675963163376,
0.019015997648239136,
-0.0013218808453530073,
0.025834690779447556,
0.03588055074214935,
0.004446030594408512,
0.034058764576911926,
-0.009785604663193226,
-0.02843724563717842,
0.06225310638546944,
-0.02684101276099682,
0.013325079344213009,
0.004888465162366629,
0.031334757804870605,
-0.03619285672903061,
-0.07543937861919403,
-0.045076243579387665,
0.0734267383813858,
0.03636636212468147,
-0.03364235535264015,
-0.003910338040441275,
0.015702079981565475,
-0.020473429933190346,
0.045943763107061386,
0.011529316194355488,
0.036539867520332336,
-0.04403522238135338,
-0.025782641023397446,
-0.03048458881676197,
-0.06270421296358109,
0.03215022385120392,
-0.008952788077294827,
0.0038452744483947754,
0.0337117575109005,
-0.010262739844620228,
0.02026522532105446,
-0.06565377861261368,
0.030866296961903572,
0.015112166292965412,
0.032705433666706085,
-0.007482344284653664,
-0.0012405510060489178,
-0.0562845803797245,
0.008688194677233696,
-0.03990583494305611,
-0.0051183574832975864,
-0.014643707312643528,
-0.051114171743392944,
0.025053925812244415,
-0.04240429028868675,
0.0363316610455513,
0.009837656281888485,
-0.0303804874420166,
-0.0028758228290826082,
0.01348990760743618,
-0.016031736508011818,
0.0051183574832975864,
-0.013507258147001266,
-0.01412319578230381,
-0.002363987034186721,
-0.01316892635077238,
-0.035238590091466904,
-0.002211086917668581,
-0.004606521688401699,
0.024516064673662186,
0.007252451963722706,
0.0023791685234755278,
-0.03452722355723381,
0.024169055745005608,
0.012310083024203777,
-0.0518081858754158,
0.02512332610785961,
-0.02956501953303814,
-0.03817079961299896,
0.03726858273148537,
-0.0056518809869885445,
0.02463751658797264,
0.029495617374777794,
0.061246782541275024,
-0.02293718047440052,
-0.057637907564640045,
0.04136326536536217,
0.011893673799932003,
0.03883011266589165,
-0.017116133123636246,
0.03199407085776329,
-0.07897885888814926,
0.0424736887216568,
-0.03858720883727074,
-0.04944853484630585,
-0.0018478137208148837,
-0.07106708735227585,
0.03237577900290489,
0.011607393622398376,
0.010731199756264687,
0.010141287930309772,
0.03678277134895325,
-0.009586076252162457,
-0.028576048091053963,
-0.023249486461281776,
-0.011963075958192348,
0.05267570540308952,
-0.02873220294713974,
0.03253193199634552,
-0.06787462532520294,
0.03310449421405792,
-0.04583965986967087,
-0.023735297843813896,
-0.023683246225118637,
-0.02463751658797264,
-0.07210811227560043,
-0.053543221205472946,
-0.012483586557209492,
-0.01734168827533722,
-0.05260630324482918,
0.025886742398142815,
-0.02883630432188511,
0.052189894020557404,
-0.03345150128006935,
-0.02638990245759487,
0.04854631796479225,
0.014045119285583496,
0.016422118991613388,
0.007881402969360352,
0.0025288155302405357,
-0.001097952714189887,
0.08841745555400848,
0.006996534299105406,
0.00874458346515894,
0.007955141365528107,
0.02541828341782093,
-0.046672478318214417,
0.06773582100868225,
0.028072888031601906,
-0.03234107792377472,
-0.0036218883469700813,
-0.07474536448717117,
0.025834690779447556,
-0.007395592518150806,
0.007504032459110022,
0.051357075572013855,
-0.002272897632792592,
0.025834690779447556,
-0.0003361632989253849,
-0.018235232681035995,
-0.027361523360013962,
0.0025700225960463285,
0.02196555957198143,
-0.02156650274991989,
-0.01854753866791725,
-0.002314104698598385,
0.012986747547984123,
0.00636758329346776,
-0.033572953194379807,
0.023631194606423378,
-0.0687074363231659,
0.052918609231710434,
0.007772963028401136,
0.023631194606423378,
0.07280212640762329,
-0.049691442400217056,
-0.08716822415590286,
0.007621147204190493,
0.018877195194363594,
0.016682375222444534,
-0.01424464862793684,
-0.008566741831600666,
-0.053786128759384155,
0.0021265039686113596,
-0.042543090879917145,
-0.02732682228088379,
0.011286411434412003,
0.06967905908823013,
0.019952917471528053,
0.011694145388901234,
0.07946466654539108,
-0.04153677076101303,
-0.012943371199071407,
0.051357075572013855,
-0.034024063497781754,
0.0010524080134928226,
0.012379484251141548,
0.01821788214147091,
0.0031035463325679302,
-0.03813609853386879,
-0.006736278533935547,
0.015554601326584816,
-0.005508740432560444,
0.0036934586241841316,
0.023631194606423378,
0.02868015132844448,
-0.01127773616462946,
-0.0028649787418544292,
-0.0350477360188961,
0.024325210601091385,
0.018859844654798508,
-0.005283185746520758,
0.0019020335748791695,
0.017567243427038193,
-0.03301774337887764,
0.0051183574832975864,
0.0017166015459224582,
0.0163093414157629,
0.03400671109557152,
0.02536623179912567,
0.013620035722851753,
0.040009938180446625,
-0.0033139195293188095,
0.015745455399155617,
0.013134225271642208,
0.06263481080532074,
0.00255050347186625,
-0.0057516456581652164,
0.007556083146482706,
-0.01032346673309803,
0.015138192102313042,
0.07502297312021255,
0.03346884995698929,
0.06450865417718887,
0.06624368578195572,
-0.011607393622398376,
-0.03107450157403946,
-0.026285801082849503,
-0.06676419824361801,
-0.04028754308819771,
0.009959109127521515,
0.05663158744573593,
-0.02956501953303814,
0.03468337655067444,
-0.0021145755890756845,
0.026528706774115562,
0.06558437645435333
] |
21,659 | magic_filter.magic | __bool__ | null | def __bool__(self) -> bool:
return True
| (self) -> bool | [
0.0326743982732296,
-0.03307865187525749,
0.01063367910683155,
-0.005962769966572523,
-0.00023165054153651,
-0.03216468542814255,
-0.022234058007597923,
0.03453748673200607,
-0.018279382959008217,
-0.01852545142173767,
-0.016082342714071274,
0.0011248851660639048,
0.03648846223950386,
0.040144339203834534,
-0.026452375575900078,
-0.0479130744934082,
-0.019439421594142914,
0.0381757877767086,
0.0006294522900134325,
-0.007351299747824669,
-0.03982796519994736,
0.04555784538388252,
0.04984647035598755,
0.0042578657157719135,
0.0037789109628647566,
0.07592974603176117,
0.008634371683001518,
0.0028649417217820883,
0.002471671439707279,
0.05993528291583061,
-0.06506757438182831,
-0.011890387162566185,
0.06127108633518219,
0.019404267892241478,
0.028631841763854027,
0.02641722373664379,
-0.024870507419109344,
0.09006111323833466,
-0.03968735411763191,
-0.02121463045477867,
-0.01873636804521084,
-0.014641082845628262,
-0.013138306327164173,
0.021513428539037704,
-0.02910640276968479,
-0.04721002280712128,
0.0019685488659888506,
0.04956525191664696,
-0.006213232409209013,
-0.0061517152935266495,
0.05596303567290306,
-0.009306666441261768,
0.02198798954486847,
0.0371563620865345,
-0.07656249403953552,
0.03335987403988838,
0.05040891468524933,
0.0468936488032341,
-0.04478449001908302,
0.03490659222006798,
-0.033658672124147415,
0.0265226811170578,
0.04348383843898773,
-0.07578913122415543,
0.028438501060009003,
-0.004793943837285042,
-0.056595783680677414,
-0.007940107025206089,
0.02344682440161705,
0.08028867840766907,
-0.048651281744241714,
0.013964394107460976,
-0.026311766356229782,
0.04046070948243141,
-0.028579112142324448,
-0.04088254272937775,
-0.06671974807977676,
0.014008334837853909,
-0.014008334837853909,
-0.03061796724796295,
-0.030987069010734558,
-0.004475372843444347,
-0.009456065483391285,
0.006164897698909044,
-0.057439446449279785,
-0.020687339827418327,
0.0021465092431753874,
0.009464853443205357,
0.013700748793780804,
0.036734528839588165,
-0.009438489563763142,
0.03610178083181381,
0.02423775941133499,
-0.03067069500684738,
0.0369102917611599,
0.01901758834719658,
0.03504720330238342,
-0.03800002485513687,
-0.017593905329704285,
-0.05406479164958,
-0.0177433043718338,
0.05547089874744415,
0.033148959279060364,
-0.027682719752192497,
0.03174285218119621,
0.03520539030432701,
-0.06942649930715561,
-0.004697273951023817,
-0.007425999268889427,
-0.03121556155383587,
-0.02390380948781967,
-0.020494000986218452,
-0.02831546775996685,
0.02954581007361412,
-0.012848297134041786,
-0.09491217881441116,
-0.003460339969024062,
-0.012962543405592442,
-0.027173005044460297,
0.0009277006611227989,
0.02993248961865902,
0.03585571423172951,
-0.005215775687247515,
-0.04872158542275429,
0.07167627662420273,
0.0494597926735878,
0.0018191501731052995,
0.06130623817443848,
0.045241471379995346,
-0.0025727353058755398,
-0.005158653017133474,
0.03982796519994736,
0.001636795699596405,
0.024940812960267067,
0.008726648055016994,
-0.010501856915652752,
0.04471418261528015,
0.03132101893424988,
-0.005286081228405237,
0.07684371620416641,
-0.012206761166453362,
-0.021074019372463226,
0.04858097434043884,
0.029686421155929565,
-0.006503242067992687,
0.0054442682303488255,
-0.055927880108356476,
0.04017949104309082,
-0.02260315977036953,
0.011169757694005966,
0.058775246143341064,
-0.01211009081453085,
-0.012426464818418026,
0.04735063388943672,
-0.08042928576469421,
0.029616115614771843,
0.0041853636503219604,
-0.03557449206709862,
0.03877338394522667,
-0.03631269931793213,
-0.019562454894185066,
0.01273405086249113,
-0.02770029567182064,
-0.005598061252385378,
-0.007206295151263475,
0.010343669913709164,
-0.03497689589858055,
-0.014395014382898808,
0.018876979127526283,
0.06524333357810974,
-0.0021992381662130356,
-0.01914062350988388,
-0.02982703223824501,
0.052061088383197784,
0.004064526408910751,
0.07090291380882263,
0.028508806601166725,
0.07114898413419724,
-0.014491683803498745,
0.016574479639530182,
0.035275693982839584,
-0.06316933035850525,
-0.08851439505815506,
-0.027735449373722076,
0.07360967248678207,
0.042499564588069916,
0.03235802426934242,
-0.01584506221115589,
0.043062008917331696,
0.03954674303531647,
-0.03401019796729088,
-0.041374679654836655,
0.002247573109343648,
0.023077720776200294,
-0.007109625265002251,
-0.05427570641040802,
-0.007430393248796463,
-0.007549033500254154,
0.04756154865026474,
0.0001060758950188756,
0.0005728785181418061,
-0.007144778035581112,
-0.02910640276968479,
-0.009280302561819553,
0.008656342513859272,
0.007729190867394209,
-0.0661221519112587,
0.016460232436656952,
0.02181222476065159,
-0.03313138335943222,
-0.05237746238708496,
-0.07768737524747849,
-0.030811306089162827,
0.05993528291583061,
0.04028494656085968,
-0.060181353241205215,
0.058951009064912796,
-0.028069399297237396,
-0.05237746238708496,
0.059618912637233734,
0.10637194663286209,
0.008555278182029724,
0.022761346772313118,
0.002152001950889826,
0.0041436199098825455,
0.037578191608190536,
-0.03223498910665512,
-0.011697047390043736,
-0.031303443014621735,
-0.07339875400066376,
0.013735901564359665,
-0.02618873119354248,
-0.019263656809926033,
0.020722493529319763,
0.045628152787685394,
-0.014359861612319946,
0.03845700994133949,
0.059232231229543686,
-0.06383723020553589,
0.0009914148831740022,
0.060392268002033234,
-0.015247466042637825,
0.02719058282673359,
0.00757979229092598,
-0.003677847096696496,
-0.033201687037944794,
0.004609392490237951,
0.06823131442070007,
-0.017760882154107094,
-0.015212313272058964,
-0.011793717741966248,
-0.048545822501182556,
-0.017479659989476204,
-0.0327974297106266,
0.0017521403497084975,
-0.012813144363462925,
-0.041163764894008636,
0.014052275568246841,
0.029580963775515556,
0.024378368631005287,
0.033148959279060364,
0.008603613823652267,
0.03838670253753662,
0.056877002120018005,
-0.031479205936193466,
0.0005794696044176817,
0.01552868727594614,
0.025362644344568253,
0.003919521346688271,
0.0021948441863059998,
0.13372071087360382,
-0.04214803874492645,
-0.03249863535165787,
0.005088347475975752,
-0.03761334717273712,
-0.025819629430770874,
0.00920120906084776,
-0.0056991251185536385,
-0.04650696739554405,
-0.01756754145026207,
0.06260688602924347,
0.00562442559748888,
-0.004275442101061344,
0.007641309406608343,
-0.04218319058418274,
-0.05265868455171585,
-0.02719058282673359,
0.04636635631322861,
0.007250235881656408,
-0.028280314058065414,
0.009754862636327744,
0.02719058282673359,
0.08078081160783768,
0.0007777526043355465,
0.048827044665813446,
0.024852929636836052,
0.018086044117808342,
-0.033482909202575684,
-0.009420912712812424,
-0.05353749915957451,
0.04717487096786499,
-0.013472257182002068,
-0.06826646625995636,
0.009605464525520802,
-0.010009719990193844,
0.023851079866290092,
0.007922531105577946,
0.02813970483839512,
0.0290888249874115,
0.013911665417253971,
0.014113793149590492,
0.008849682286381721,
0.00004455874295672402,
0.040249794721603394,
0.01852545142173767,
-0.029914913699030876,
0.022058293223381042,
-0.05824795737862587,
-0.0035657978150993586,
0.08478821814060211,
-0.06204444542527199,
0.017277531325817108,
-0.015678085386753082,
0.014597142115235329,
-0.03193619102239609,
-0.08218691498041153,
0.03582055866718292,
-0.0013325054896995425,
-0.02019520290195942,
0.04169105365872383,
-0.011934327892959118,
-0.05406479164958,
0.0958261489868164,
0.0011995844542980194,
-0.04102315381169319,
-0.01673266664147377,
0.0006843783194199204,
-0.005663972347974777,
0.005013647954910994,
-0.0363830029964447,
0.022128598764538765,
0.015405653044581413,
0.021671615540981293,
-0.012892237864434719,
0.0033592761028558016,
0.03327199071645737,
-0.06306387484073639,
0.04805368557572365,
0.11459767073392868,
-0.0060770162381231785,
-0.01834968850016594,
-0.031074950471520424,
0.017998162657022476,
0.03750788792967796,
0.0013896286254748702,
-0.04358929768204689,
0.0008431145688518882,
0.06468089669942856,
0.022673465311527252,
-0.015625357627868652,
0.06517302989959717,
-0.023341365158557892,
-0.01756754145026207,
0.026733597740530968,
-0.033939894288778305,
-0.0040842997841537,
-0.03856246918439865,
0.0016730468487367034,
0.007619339041411877,
-0.028403349220752716,
0.002546370727941394,
-0.014298344030976295,
-0.046190593391656876,
-0.04967070743441582,
0.01975579559803009,
-0.010413975454866886,
-0.0016675542574375868,
0.0158274844288826,
-0.013595291413366795,
0.015458381734788418,
0.06373177468776703,
0.022304361686110497,
-0.007157960440963507,
-0.00856406707316637,
0.01857818104326725,
-0.033605944365262985,
-0.005272898823022842,
0.005830947309732437,
-0.012285854667425156,
-0.0345902182161808,
-0.001499480684287846,
-0.0190878938883543,
-0.09695103764533997,
-0.017374202609062195,
-0.08956898003816605,
-0.04604998603463173,
0.03355321288108826,
-0.02685663290321827,
-0.04425719752907753,
0.011697047390043736,
0.03666422516107559,
0.04699910432100296,
0.022691041231155396,
0.00378989614546299,
-0.005347598344087601,
0.031637392938137054,
0.014895939268171787,
-0.015598992817103863,
-0.02390380948781967,
-0.017778458073735237,
0.001134771853685379,
-0.01791027933359146,
-0.07494547218084335,
-0.018490299582481384,
-0.010141542181372643,
0.02444867417216301,
0.028385773301124573,
0.003150557167828083,
0.06327478587627411,
0.016249317675828934,
-0.001488495385274291,
0.045241471379995346,
0.02731361612677574,
0.02764756605029106,
-0.01942184381186962,
0.02501111663877964,
0.006375813856720924,
0.040706779807806015,
0.029247011989355087,
-0.005975952371954918,
-0.05656062811613083,
-0.05652547627687454,
0.0005185017362236977,
-0.029071249067783356,
0.012628592550754547,
-0.038246095180511475,
-0.02708512358367443,
-0.06854768842458725,
-0.015238678082823753,
0.059443145990371704,
0.014685023576021194,
-0.019650336354970932,
-0.025784475728869438,
-0.00020185316679999232,
0.04488994553685188,
-0.047983381897211075,
-0.03531084582209587,
0.04095285013318062,
0.0640481486916542,
-0.002719937125220895,
-0.03933582454919815,
0.046471815556287766,
0.01617022417485714,
-0.020950986072421074,
-0.009772439487278461,
-0.021109173074364662,
-0.06162261217832565,
-0.06647367775440216,
0.007351299747824669,
-0.009122115559875965,
-0.005800188984721899,
0.015458381734788418,
-0.09449034929275513,
-0.01762905903160572,
-0.002339849015697837,
0.026048120111227036,
-0.014324708841741085,
0.016029613092541695,
-0.028579112142324448,
0.010747925378382206,
0.010106389410793781,
-0.06654398143291473,
-0.006512030027806759,
-0.040706779807806015,
-0.01385014783591032,
0.03569752722978592,
-0.056033339351415634,
0.03944128379225731,
-0.019667912274599075,
-0.014983820728957653,
-0.097372867166996,
0.0022937110625207424,
-0.0035196600947529078,
0.002258558291941881,
-0.0077072205021977425,
-0.04464387893676758,
0.002465080237016082,
-0.016706300899386406,
0.03944128379225731,
-0.024466251954436302,
0.001979534048587084,
-0.012567075900733471,
0.014201674610376358,
-0.012487982399761677,
0.015317771583795547,
-0.016372350975871086,
-0.010765502229332924,
0.02590751089155674,
0.010844595730304718,
0.00665703509002924,
-0.008783770725131035,
0.04309716075658798,
-0.029967641457915306,
0.03803517669439316,
0.0343441478908062,
-0.02429048717021942,
-0.011486131697893143,
-0.03576783090829849,
-0.07111383229494095,
-0.004947736859321594,
0.0038118665106594563,
0.009280302561819553,
-0.012215549126267433,
0.026839055120944977,
0.08844409137964249,
-0.009877897799015045,
-0.0009502203320153058,
-0.04010918363928795,
0.008678312413394451,
-0.02209344692528248,
0.05902131646871567,
0.013129518367350101,
0.013841359876096249,
-0.0371563620865345,
-0.039581894874572754,
0.04264017567038536,
0.00524653447791934,
0.02747180312871933,
0.03327199071645737,
0.010747925378382206,
0.042991701513528824,
-0.017216015607118607,
-0.015511111356317997,
0.0320240743458271,
-0.03771880269050598,
0.04474933445453644,
-0.0163371991366148,
0.01707540452480316,
-0.030407050624489784,
0.03082888200879097,
0.036734528839588165,
-0.03782426193356514,
0.0458742193877697,
-0.005549726076424122,
0.008357544429600239,
0.03495931997895241,
-0.02260315977036953,
-0.016126282513141632,
0.04967070743441582,
0.002269543707370758,
-0.01594173163175583,
-0.0008425653213635087,
0.015054126270115376,
-0.03408050537109375,
0.07909348607063293,
0.014122581109404564,
0.056877002120018005,
0.0494597926735878,
0.016143858432769775,
0.025784475728869438,
0.007065684534609318,
-0.03172527626156807,
0.00797525979578495,
-0.02808697521686554,
-0.06798524409532547,
-0.02429048717021942,
0.018771519884467125,
-0.002667207969352603,
0.03933582454919815,
-0.005879282485693693,
0.008928775787353516,
-0.04531177878379822,
-0.024554133415222168,
0.0020926818251609802,
0.04450326785445213,
0.05174471437931061,
-0.01572202704846859,
0.018086044117808342,
-0.08317119628190994,
-0.06091956049203873,
-0.037402428686618805,
-0.03989826887845993,
-0.008146628737449646,
-0.05037376284599304,
-0.031918615102767944,
-0.06011104956269264,
-0.013366798870265484,
0.022673465311527252,
-0.0014851999003440142,
-0.06745795160531998,
-0.02175949700176716,
0.0638020783662796,
0.02378077432513237,
-0.05406479164958,
0.037683650851249695,
-0.046085137873888016,
0.011029146611690521,
-0.03828124701976776,
0.06664944440126419,
-0.016495386138558388,
0.004090890754014254,
-0.00205643055960536,
-0.007346905767917633,
-0.025643864646553993,
0.017435718327760696,
-0.0001877097092801705,
-0.01622295193374157,
0.019263656809926033,
-0.02859668806195259,
-0.033096227794885635,
0.006336267106235027,
-0.024870507419109344,
0.024606861174106598,
-0.01745329611003399,
0.03341260179877281,
-0.006410966161638498,
-0.012461617588996887,
0.03436172381043434,
-0.005598061252385378,
0.04692880064249039,
0.0074172113090753555,
0.05350234732031822,
-0.0030077495612204075,
0.024325640872120857,
-0.04773731157183647,
-0.06334508955478668,
0.02365773916244507,
-0.04242926090955734,
0.008625583723187447,
-0.053080517798662186,
0.04112861305475235,
-0.004534692969173193,
0.05529513210058212,
-0.08394455164670944,
-0.0012270475272089243,
-0.014113793149590492,
-0.026452375575900078,
0.0545920804142952,
0.05093620344996452,
0.023235907778143883,
-0.02803424559533596,
-0.01651296205818653,
-0.00608580419793725,
0.003420793218538165,
-0.04056616872549057,
-0.060743797570466995,
-0.036945443600416183,
-0.0067580989561975,
0.07055138796567917,
-0.07501577585935593,
-0.06633307039737701,
0.08570218086242676,
-0.0059847403317689896,
0.009297878481447697,
-0.02696209028363228,
-0.007140384055674076,
0.0030363108962774277,
0.0261360015720129,
-0.00044242918374948204,
-0.049600403755903244,
-0.010176694951951504,
-0.03457264229655266,
-0.022304361686110497,
0.004873037338256836,
0.06953196227550507,
0.040706779807806015,
-0.04387051984667778,
-0.039757657796144485,
-0.03575025498867035,
-0.026557834818959236,
-0.004088693764060736,
0.07972623407840729,
-0.020564306527376175,
-0.029405198991298676,
0.022673465311527252,
-0.025028694421052933,
-0.030934341251850128,
-0.03800002485513687,
-0.018437569960951805,
-0.01767299883067608,
-0.011995845474302769,
0.03803517669439316,
-0.028913062065839767,
0.01806846633553505,
-0.008603613823652267,
0.009394547902047634,
-0.016381138935685158,
-0.01975579559803009,
0.0060682278126478195,
-0.09997416287660599,
-0.04028494656085968,
-0.036066628992557526,
0.0033065469469875097,
0.06830161809921265,
0.06647367775440216,
0.01733904890716076,
-0.03680483624339104,
0.01773451641201973,
0.006845980416983366,
-0.01105551142245531,
0.027331192046403885,
-0.00010545797704253346,
-0.021900106221437454,
0.026452375575900078,
-0.026030544191598892,
0.027436651289463043,
-0.017998162657022476,
-0.016600843518972397,
0.04474933445453644,
-0.02226920984685421,
-0.00010916548490058631,
0.09681042283773422,
0.010211847722530365,
-0.06204444542527199,
0.012567075900733471,
-0.08436638116836548,
0.010080025531351566,
0.0265226811170578,
0.04777246341109276,
-0.0052289580926299095,
-0.015607780776917934,
-0.026733597740530968,
-0.012839509174227715,
-0.006573547143489122,
0.0006915187113918364,
-0.003271394409239292,
-0.042499564588069916,
-0.05061982944607735,
-0.020335813984274864,
-0.0006536197615787387,
0.02893063984811306,
-0.007360088173300028,
-0.046858496963977814,
0.03534599766135216,
-0.026874208822846413,
-0.0070305317640304565,
0.034607794135808945,
-0.0005278391763567924,
-0.020230354741215706,
0.038140635937452316,
0.06446997821331024,
-0.03378170728683472,
0.031918615102767944,
-0.03049493208527565,
0.009113326668739319,
0.025415372103452682,
0.022023141384124756,
0.026118425652384758,
0.011090664193034172,
-0.0037020144518464804,
0.01958003081381321,
0.004422644153237343,
0.0299852192401886,
-0.024308064952492714,
0.06946165859699249,
0.05209624022245407,
-0.049319181591272354,
0.02109159529209137,
-0.014254403300583363,
-0.01684691198170185,
-0.0461202897131443,
0.016020825132727623,
-0.003800881328061223,
0.03293804079294205,
-0.023534705862402916,
0.06095471233129501,
0.0022212087642401457,
0.06942649930715561
] |
21,660 | magic_filter.magic | __call__ | null | def __call__(self: MagicT, *args: Any, **kwargs: Any) -> MagicT:
return self._extend(CallOperation(args=args, kwargs=kwargs))
| (self: ~MagicT, *args: Any, **kwargs: Any) -> ~MagicT | [
0.023783983662724495,
-0.11126428097486496,
0.05953989177942276,
0.0396103672683239,
-0.03129751980304718,
-0.019520984962582588,
-0.03152843192219734,
0.0042585586197674274,
0.05421113967895508,
-0.05108494311571121,
0.006541039329022169,
0.0318659208714962,
0.04330496862530708,
-0.030888982117176056,
-0.031226469203829765,
0.03964589536190033,
-0.008890129625797272,
0.029467983171343803,
-0.010604211129248142,
-0.003921071067452431,
0.02982323244214058,
0.04202606901526451,
0.007495773956179619,
0.001070190453901887,
0.054175615310668945,
0.09392808377742767,
0.03369545564055443,
0.005044549237936735,
0.04394441843032837,
-0.023499783128499985,
0.0018572910921648145,
0.0318659208714962,
-0.010630854405462742,
0.022593896836042404,
0.017336197197437286,
-0.01047099195420742,
-0.01557771023362875,
0.06337659060955048,
-0.07144076377153397,
-0.04440624266862869,
-0.014076778665184975,
-0.04927316680550575,
0.0363420695066452,
0.014032372273504734,
-0.0022380745504051447,
-0.047887690365314484,
0.006123621016740799,
0.07538403570652008,
0.007695601787418127,
0.0029441339429467916,
0.0017884614644572139,
0.01579085923731327,
0.004849161487072706,
-0.02747858315706253,
-0.022878095507621765,
0.04383784160017967,
0.04088926687836647,
0.043056294322013855,
0.0071138800121843815,
0.028935108333826065,
-0.036182206124067307,
0.056413691490888596,
-0.009272023104131222,
-0.018490759655833244,
0.01946769654750824,
-0.03712362051010132,
-0.045685142278671265,
0.017078641802072525,
0.012042973190546036,
0.060179341584444046,
0.021119609475135803,
-0.0061547053046524525,
0.003887766506522894,
-0.007144964300096035,
0.011696604080498219,
-0.018330896273255348,
-0.001885044970549643,
-0.0159596037119627,
0.04284314438700676,
-0.024299096316099167,
-0.0560939647257328,
0.009005585685372353,
-0.01808222196996212,
0.01039994228631258,
-0.04241684451699257,
0.005861624144017696,
-0.02696347050368786,
-0.0393972173333168,
-0.04579171910881996,
0.034370433539152145,
-0.04355364292860031,
0.02971665747463703,
-0.07843918353319168,
-0.013970203697681427,
-0.010133504867553711,
-0.03840252012014389,
0.004738145973533392,
-0.003086233977228403,
-0.03715914487838745,
0.029805470257997513,
-0.020124908536672592,
0.031936969608068466,
-0.01980518363416195,
-0.04007219523191452,
0.06813693791627884,
-0.024796446785330772,
0.014565248042345047,
-0.007877667434513569,
-0.01879272237420082,
0.027425294741988182,
0.012664660811424255,
0.08746253699064255,
-0.025968771427869797,
-0.017700327560305595,
-0.02218535915017128,
0.01856181025505066,
0.007313708309084177,
-0.03648417070508003,
-0.05644921585917473,
0.04270104318857193,
-0.024263571947813034,
-0.026466120034456253,
0.03204354643821716,
-0.022647183388471603,
-0.0055108149535954,
0.08668098598718643,
0.02289585955440998,
-0.01612834818661213,
0.022700471803545952,
-0.06813693791627884,
0.010888410732150078,
0.0022003294434398413,
0.035755906254053116,
0.01001804880797863,
-0.01584414765238762,
0.06199111416935921,
0.054566390812397,
-0.02476092055439949,
-0.10110413283109665,
0.036519695073366165,
0.022913621738553047,
0.03683941811323166,
0.040534019470214844,
0.025276033207774162,
-0.01144792977720499,
0.014343216083943844,
-0.006172467954456806,
-0.004911330528557301,
0.019858472049236298,
0.024352382868528366,
0.021492620930075645,
-0.04831399396061897,
0.014565248042345047,
0.025276033207774162,
-0.0668935626745224,
0.05840308964252472,
0.0318659208714962,
-0.03687494248151779,
0.0007787744980305433,
-0.025222746655344963,
-0.03250537067651749,
-0.005373155232518911,
0.004826958756893873,
-0.014183353632688522,
0.03296719491481781,
-0.02023148350417614,
-0.01660793460905552,
-0.06451339274644852,
-0.04810084030032158,
0.011456810869276524,
0.06025039032101631,
0.013899154029786587,
0.07332358509302139,
-0.00005967088873148896,
0.03612891957163811,
0.006807477213442326,
-0.01850852183997631,
0.02008938416838646,
-0.02303795889019966,
0.018330896273255348,
-0.00031417416175827384,
-0.013117603957653046,
-0.02863314561545849,
0.008370576426386833,
0.039859045296907425,
0.049877092242240906,
0.016767797991633415,
-0.022878095507621765,
-0.0012733490439131856,
0.012247242033481598,
0.0159596037119627,
0.04600486904382706,
0.087959885597229,
-0.017567109316587448,
-0.04937974363565445,
-0.028171319514513016,
-0.04529436677694321,
0.031563956290483475,
0.043198391795158386,
0.02566680870950222,
-0.0333402082324028,
0.02810027077794075,
0.07087236642837524,
-0.010186792351305485,
0.008863486349582672,
0.01678556017577648,
0.07637874037027359,
0.04213264212012291,
-0.06767511367797852,
-0.05872281640768051,
0.02662598341703415,
-0.034974355250597,
0.010533160530030727,
0.019520984962582588,
-0.004569402430206537,
-0.004826958756893873,
0.05353616550564766,
-0.04675089195370674,
0.010879529640078545,
0.02600429579615593,
0.05644921585917473,
0.01054204162210226,
-0.01602177321910858,
-0.06906058639287949,
0.0012988826492801309,
0.01345509197562933,
0.020071621984243393,
-0.05524136498570442,
-0.037372294813394547,
-0.0533585399389267,
-0.017877953127026558,
-0.027709495276212692,
0.016172753646969795,
0.0017174114473164082,
-0.07978913933038712,
-0.00697622075676918,
0.031048845499753952,
-0.0265726950019598,
-0.0350809320807457,
-0.025045121088624,
0.01937888376414776,
0.019645322114229202,
0.04120899364352226,
0.02801145799458027,
-0.041919492185115814,
-0.026217445731163025,
-0.00226360815577209,
0.05509926751255989,
0.017238503322005272,
0.01461853552609682,
0.012371579185128212,
-0.005550780333578587,
0.01560435350984335,
-0.0015908536734059453,
-0.033127058297395706,
-0.01913020946085453,
-0.002060449682176113,
-0.028064744547009468,
0.02557799592614174,
0.026359545066952705,
-0.014805041253566742,
0.040534019470214844,
0.037905167788267136,
0.030373869463801384,
-0.022434033453464508,
0.0069851018488407135,
-0.05882938951253891,
-0.018526284024119377,
-0.02662598341703415,
0.07055263966321945,
0.10145938396453857,
-0.013250823132693768,
0.0091121606528759,
0.03287838026881218,
-0.07090789079666138,
-0.02637730911374092,
-0.017380602657794952,
-0.015861909836530685,
-0.04199054464697838,
-0.05755048990249634,
0.05271909013390541,
-0.034992117434740067,
-0.005461968015879393,
-0.03744334354996681,
-0.04802979156374931,
-0.012060735374689102,
0.055987391620874405,
0.043447066098451614,
-0.032185643911361694,
-0.04490359127521515,
0.03723019361495972,
0.0182243213057518,
0.027745019644498825,
-0.0008192951790988445,
0.036377593874931335,
-0.008863486349582672,
-0.10216988623142242,
-0.02008938416838646,
0.019005872309207916,
-0.058189939707517624,
-0.004262999165803194,
-0.06803036481142044,
-0.06273713707923889,
-0.025204982608556747,
0.06408709287643433,
0.003972138278186321,
0.045436467975378036,
0.039574842900037766,
-0.05502821505069733,
0.041493192315101624,
-0.012540322728455067,
0.015861909836530685,
-0.07090789079666138,
-0.05726629123091698,
0.007104998920112848,
0.0501968152821064,
0.028793007135391235,
0.03445924445986748,
0.07097893953323364,
0.05982409045100212,
-0.015808623284101486,
-0.03140409663319588,
0.007042829878628254,
0.030746882781386375,
0.0012855607783421874,
-0.02662598341703415,
-0.04284314438700676,
-0.013614954426884651,
-0.02801145799458027,
0.025347083806991577,
-0.007482451852411032,
-0.0026954589411616325,
0.03215011954307556,
-0.0012655779719352722,
-0.016403665766119957,
-0.035898007452487946,
0.026075346395373344,
-0.01726514659821987,
0.011145967058837414,
-0.0046804179437458515,
0.01980518363416195,
0.03310929611325264,
-0.005435324274003506,
0.007895429618656635,
0.011927517130970955,
0.043020766228437424,
0.05673341453075409,
0.01960979588329792,
0.0759524405002594,
-0.004056510049849749,
0.022824808955192566,
-0.06007276475429535,
-0.034992117434740067,
-0.013153129257261753,
0.06096088886260986,
0.018002290278673172,
-0.03234550729393959,
0.0037190227303653955,
-0.009591748006641865,
-0.09257813543081284,
0.027176620438694954,
-0.014938260428607464,
0.06074773892760277,
0.024458957836031914,
0.009440767578780651,
-0.018544046208262444,
-0.04564961791038513,
-0.011145967058837414,
-0.01850852183997631,
-0.003303824458271265,
-0.017673684284090996,
-0.06344763934612274,
-0.0020415768958628178,
0.004049849230796099,
0.014360979199409485,
0.043873365968465805,
-0.012344935908913612,
-0.0015875231474637985,
-0.028419995680451393,
0.026501646265387535,
0.0167500339448452,
-0.02920154482126236,
0.036626268178224564,
-0.01681220345199108,
0.06035696342587471,
0.02591548301279545,
-0.013694885186851025,
0.001345509197562933,
0.0031350806821137667,
0.018490759655833244,
-0.0016508020926266909,
-0.028508808463811874,
-0.07030396163463593,
-0.020782122388482094,
-0.06891848891973495,
0.010320010595023632,
0.03493883088231087,
-0.0060880957171320915,
-0.04920211806893349,
-0.023126771673560143,
0.03754992038011551,
-0.009494055062532425,
0.030231770128011703,
0.047354817390441895,
0.03548946976661682,
-0.02108408324420452,
0.001433211495168507,
-0.012380460277199745,
-0.016279328614473343,
0.05257699266076088,
-0.04824294149875641,
-0.04294971749186516,
-0.021457096561789513,
0.019343359395861626,
-0.0035991258919239044,
0.01641254685819149,
-0.01632373407483101,
0.02223864570260048,
-0.021457096561789513,
-0.0030706916004419327,
0.031563956290483475,
0.0311554204672575,
0.008819079957902431,
0.0349210686981678,
0.08014439046382904,
0.029805470257997513,
0.03445924445986748,
-0.033997420221567154,
0.010417704470455647,
0.0036368712317198515,
-0.019929522648453712,
-0.03996561840176582,
-0.03669732064008713,
0.03248760849237442,
0.0349210686981678,
-0.02605758234858513,
-0.03259418159723282,
-0.043908894062042236,
0.00997364241629839,
0.03300271928310394,
-0.0037834118120372295,
0.028988394886255264,
0.006332330405712128,
-0.06884744018316269,
-0.02810027077794075,
-0.05328749120235443,
-0.000855930324178189,
0.007238217629492283,
0.029556795954704285,
-0.03033834509551525,
0.10330668091773987,
0.08106803894042969,
0.10756967961788177,
-0.005484170746058226,
0.011225897818803787,
-0.06643173843622208,
-0.020693309605121613,
-0.0364486426115036,
0.001908358302898705,
-0.0005994842504151165,
-0.028686432167887688,
-0.02424580790102482,
-0.06387393921613693,
-0.06323449313640594,
-0.00620355224236846,
0.003907749429345131,
0.027602920308709145,
0.056520264595746994,
-0.05797678977251053,
-0.05399798974394798,
0.027318719774484634,
-0.05549003928899765,
-0.013250823132693768,
0.056946564465761185,
0.012202835641801357,
0.019645322114229202,
-0.01433433499187231,
-0.00763343321159482,
0.002333548152819276,
-0.041670817881822586,
-0.007824379950761795,
-0.024068184196949005,
0.029361408203840256,
0.00521329278126359,
-0.03687494248151779,
0.04440624266862869,
0.04799426719546318,
0.01627044752240181,
0.04238131642341614,
-0.014591891318559647,
0.008605930022895336,
0.11595357954502106,
0.03245208039879799,
-0.027993695810437202,
-0.050125766545534134,
-0.014725110493600368,
-0.05755048990249634,
-0.03135080635547638,
0.003374874358996749,
0.016305971890687943,
-0.026181921362876892,
0.02447672188282013,
0.022505084052681923,
-0.02365964651107788,
0.007398080080747604,
-0.01698094792664051,
-0.013819222338497639,
-0.017593752592802048,
-0.05247041583061218,
-0.02165248431265354,
-0.05705314129590988,
-0.012913335114717484,
-0.008250679820775986,
0.018242085352540016,
-0.007748889271169901,
-0.007557942532002926,
-0.0000633482777629979,
0.015728691592812538,
-0.04870476573705673,
-0.04394441843032837,
0.043340492993593216,
0.03174158185720444,
-0.02408594638109207,
0.012806760147213936,
0.015808623284101486,
-0.053323015570640564,
-0.02181234583258629,
-0.01810886524617672,
-0.002737644826993346,
0.02424580790102482,
0.01314424816519022,
-0.04241684451699257,
-0.05520584061741829,
-0.01001804880797863,
0.040285345166921616,
0.009360835887491703,
-0.11844033002853394,
0.012469273060560226,
0.02767397090792656,
0.010195673443377018,
-0.014281047508120537,
0.012664660811424255,
-0.019396645948290825,
-0.005124480463564396,
-0.07424724102020264,
-0.022984670475125313,
0.01989399641752243,
0.01810886524617672,
-0.0029863198287785053,
-0.01802893541753292,
-0.005493052303791046,
-0.06799484044313431,
-0.010328891687095165,
0.11886662989854813,
-0.011217016726732254,
-0.0033437900710850954,
0.013659359887242317,
-0.0050001428462564945,
-0.04184844344854355,
0.005599627271294594,
0.007380317430943251,
0.05943331494927406,
0.019574271515011787,
0.009964761324226856,
-0.002817576052621007,
0.03740781918168068,
0.024174759164452553,
0.05367826670408249,
-0.03669732064008713,
-0.05147571489214897,
0.001005801372230053,
0.005439764820039272,
-0.01604841649532318,
0.014423147775232792,
0.04813636839389801,
0.07559718936681747,
0.03612891957163811,
0.009680560790002346,
-0.011723248288035393,
-0.018206559121608734,
-0.00313730095513165,
-0.042239218950271606,
-0.034619107842445374,
-0.05701761692762375,
-0.007398080080747604,
-0.020071621984243393,
-0.037336770445108414,
-0.006305686663836241,
-0.0015897435368970037,
-0.024121470749378204,
0.0004318506980780512,
-0.0228070467710495,
-0.034477006644010544,
0.031173182651400566,
0.0004693184746429324,
-0.014680704101920128,
-0.0637318417429924,
-0.00590603007003665,
0.004296304192394018,
-0.01297550369054079,
-0.05122704058885574,
0.04042744264006615,
-0.007566823624074459,
-0.005715083330869675,
-0.023446496576070786,
0.02156367152929306,
-0.09115713834762573,
0.012007447890937328,
-0.028562095016241074,
0.0117854168638587,
0.03840252012014389,
-0.007726686075329781,
0.003321586875244975,
0.022984670475125313,
0.01703423447906971,
-0.02023148350417614,
-0.06760406494140625,
0.07225783914327621,
0.033286917954683304,
-0.018686147406697273,
-0.015169172547757626,
-0.01426328532397747,
-0.06923821568489075,
0.014423147775232792,
-0.022931383922696114,
0.011838704347610474,
-0.013996847905218601,
-0.0033992978278547525,
0.01754046604037285,
-0.02724767103791237,
-0.004045408684760332,
0.004587165080010891,
0.006816358305513859,
0.009334192611277103,
0.03163500875234604,
-0.08291533589363098,
-0.030782407149672508,
0.050090242177248,
-0.0015675403410568833,
-0.006443345919251442,
0.026608221232891083,
-0.0019016973674297333,
-0.0016674543730914593,
-0.03921959176659584,
-0.02088869735598564,
-0.0034281618427485228,
-0.06110299006104469,
-0.0364486426115036,
0.031048845499753952,
0.04241684451699257,
-0.022878095507621765,
0.04309181869029999,
-0.018721671774983406,
0.03168829530477524,
0.012762353755533695,
0.019645322114229202,
-0.0033349087461829185,
-0.02142157219350338,
0.05495716631412506,
-0.02380174584686756,
-0.06074773892760277,
-0.002417919924482703,
-0.012629135511815548,
-0.0424523688852787,
-0.005075633525848389,
0.004012104123830795,
-0.049983665347099304,
-0.028366707265377045,
0.05005471780896187,
0.016332615166902542,
-0.007029508240520954,
-0.0010074665769934654,
-0.05051654204726219,
0.03572038188576698,
-0.015755334869027138,
-0.021688008680939674,
0.014671823009848595,
-0.019254546612501144,
0.01643919013440609,
0.028508808463811874,
-0.06614753603935242,
-0.03245208039879799,
-0.022824808955192566,
0.052790142595767975,
-0.07154733687639236,
-0.018117746338248253,
0.020817646756768227,
0.04802979156374931,
0.0029174902010709047,
-0.09236498177051544,
0.05580976605415344,
0.0004165860591456294,
0.003092894796282053,
0.030373869463801384,
-0.03744334354996681,
0.06046354025602341,
-0.0731104388833046,
-0.11311157792806625,
0.00455608032643795,
0.03911301866173744,
0.03129751980304718,
0.0009619502234272659,
-0.02032029628753662,
-0.02872195839881897,
0.03676836937665939,
0.01722962222993374,
0.011616673320531845,
-0.011030510999262333,
0.030658069998025894,
0.020977508276700974,
0.04213264212012291,
0.07200916111469269,
0.02371293306350708,
-0.043020766228437424,
0.03405070677399635,
-0.033286917954683304,
0.029556795954704285,
0.04849161580204964,
-0.02667926996946335,
0.0016496919561177492,
-0.05119151622056961,
-0.02198997139930725,
0.06739091128110886,
-0.04280761629343033,
0.047106143087148666,
-0.010844004340469837,
0.03463687002658844,
0.0044894712045788765,
0.030178481712937355,
0.015107003971934319,
0.0196986086666584,
-0.008397220633924007,
0.018091103062033653,
-0.030888982117176056,
0.04937974363565445,
-0.03811831772327423,
-0.019005872309207916,
-0.012664660811424255,
0.020675547420978546,
-0.013401804491877556,
-0.047106143087148666,
-0.005541899241507053,
-0.019254546612501144,
0.007140523754060268,
0.05076521635055542,
0.009138804860413074,
0.0348144955933094,
0.028881819918751717,
0.06518836319446564,
-0.0213327594101429,
-0.014183353632688522,
0.03426385670900345,
0.023943845182657242,
0.04952184110879898,
0.06778168678283691,
-0.004345150664448738,
-0.013312991708517075,
0.014627416618168354,
0.005368714686483145,
-0.06234636530280113,
-0.04984156787395477,
-0.023446496576070786,
0.0037279040552675724,
0.0018217661418020725,
-0.0015575489960610867,
0.019432172179222107,
0.013854747638106346,
0.06561466306447983
] |
21,661 | magic_filter.magic | __eq__ | null | def __eq__(self: MagicT, other: Any) -> MagicT: # type: ignore
return self._extend(ComparatorOperation(right=other, comparator=operator.eq))
| (self: ~MagicT, other: Any) -> ~MagicT | [
0.03998657688498497,
-0.047390203922986984,
0.05290800333023071,
0.05584151670336723,
-0.018177304416894913,
-0.06471189856529236,
-0.03642445430159569,
0.000682085461448878,
0.015139022842049599,
-0.02189658023416996,
0.014850909821689129,
-0.033089328557252884,
0.06897247582674026,
0.029108133167028427,
-0.01667562499642372,
0.010511755011975765,
-0.020586974918842316,
0.04931095615029335,
0.015811286866664886,
0.018823375925421715,
0.020953664556145668,
0.012834119610488415,
0.011149095371365547,
0.06237207353115082,
0.022525189444422722,
0.05685427784919739,
-0.0042038289830088615,
-0.012301547452807426,
-0.01667562499642372,
0.013916725292801857,
-0.02542378008365631,
-0.03590061143040657,
0.007621895521879196,
-0.009970451705157757,
0.022036271169781685,
-0.03611014783382416,
-0.0008190482039935887,
0.08220820873975754,
-0.024672940373420715,
-0.023712564259767532,
-0.006556750740855932,
-0.02535393461585045,
0.01154197659343481,
-0.030243122950196266,
0.0034377106931060553,
0.004893553908914328,
-0.011725321412086487,
0.022891879081726074,
0.04966018348932266,
0.028776366263628006,
-0.020063133910298347,
-0.024603094905614853,
0.011533246375620365,
0.027885835617780685,
-0.041593022644519806,
0.019155140966176987,
0.021215585991740227,
0.0247951690107584,
-0.022577574476599693,
0.07096307724714279,
-0.0455043762922287,
0.015942245721817017,
-0.04288516566157341,
-0.01297381054610014,
-0.014126262627542019,
-0.037821363657712936,
-0.07222029566764832,
0.020953664556145668,
0.00489791901782155,
0.05308261513710022,
-0.037192754447460175,
-0.024009406566619873,
0.007979854010045528,
0.006617865525186062,
-0.045434530824422836,
-0.01257219910621643,
-0.01430960651487112,
0.008542983792722225,
0.043932851403951645,
-0.047390203922986984,
-0.013497652485966682,
-0.0014874918852001429,
0.0144405672326684,
-0.011725321412086487,
-0.08479249477386475,
0.01866622269153595,
-0.02418402209877968,
-0.008822365663945675,
0.02538885734975338,
-0.025004707276821136,
-0.01586367003619671,
0.0024729690048843622,
-0.008975152857601643,
-0.018770990893244743,
0.0507078692317009,
0.02680322900414467,
-0.013934186659753323,
-0.0020244296174496412,
-0.0017003025859594345,
0.029282746836543083,
-0.010022835806012154,
0.01988852024078369,
0.014746141619980335,
0.01833445578813553,
0.031168576329946518,
0.022996647283434868,
-0.000009353096174891107,
-0.04693621024489403,
-0.06383883208036423,
0.0085910027846694,
-0.04372331500053406,
0.09247550368309021,
-0.022315653041005135,
-0.008407657966017723,
0.009647415950894356,
0.007080592680722475,
-0.008263601921498775,
-0.03033042885363102,
0.013654804788529873,
-0.014554066583514214,
0.023747486993670464,
0.031116191297769547,
0.05360645800828934,
0.009996644221246243,
0.026750845834612846,
-0.017932845279574394,
0.044840842485427856,
-0.030505042523145676,
-0.07934454083442688,
-0.016204167157411575,
0.027885835617780685,
-0.0009314558701589704,
0.009123574942350388,
0.05685427784919739,
0.016317665576934814,
0.004745131824165583,
0.026401616632938385,
0.0256333164870739,
-0.0031408669892698526,
0.02273472584784031,
0.03715783357620239,
-0.002900772960856557,
0.034573547542095184,
-0.02243788167834282,
-0.05713365972042084,
-0.01614305190742016,
-0.08046206831932068,
0.0171820055693388,
0.04424715414643288,
0.000998027389869094,
-0.04211686551570892,
-0.0012714072363451123,
0.023817332461476326,
0.004919745959341526,
-0.028200140222907066,
0.02682069130241871,
0.02280457131564617,
-0.04225655645132065,
-0.011489592492580414,
0.03977704048156738,
0.021233046427369118,
-0.029911356046795845,
0.007840163074433804,
-0.011524515226483345,
0.0010105777764692903,
0.0021051885560154915,
-0.021093355491757393,
-0.03129080682992935,
-0.013881802558898926,
-0.02247280441224575,
0.031605109572410583,
-0.0642579048871994,
0.007796509191393852,
-0.016239089891314507,
-0.017670923843979836,
0.020202824845910072,
0.009944260120391846,
0.04368839040398598,
-0.01565413363277912,
-0.031116191297769547,
0.024987244978547096,
-0.03600538149476051,
-0.03118603676557541,
-0.007547684479504824,
0.06729618459939957,
-0.007652453146874905,
0.011140365153551102,
-0.008791808038949966,
0.004066320601850748,
0.03364809229969978,
-0.039253197610378265,
-0.013087309896945953,
-0.013026194646954536,
0.0018094362458214164,
-0.007132976781576872,
-0.01842176355421543,
-0.010590331628918648,
-0.010887174867093563,
0.059717945754528046,
0.07033446431159973,
-0.05950840562582016,
-0.021110817790031433,
0.025196781381964684,
0.017129620537161827,
0.01833445578813553,
-0.013087309896945953,
0.03855474293231964,
0.02884621173143387,
0.02537139505147934,
-0.025319011881947517,
-0.009123574942350388,
-0.04292009025812149,
-0.02806044928729534,
-0.017243118956685066,
-0.0043915389105677605,
0.02505709044635296,
-0.01924244873225689,
-0.0514412447810173,
-0.009219611994922161,
0.059717945754528046,
0.06802956759929657,
-0.02072666585445404,
-0.027030227705836296,
-0.006067832000553608,
0.01402149349451065,
0.02826998569071293,
-0.01505171600729227,
-0.027920758351683617,
-0.02746676281094551,
-0.025458702817559242,
0.059683021157979965,
0.005766623187810183,
0.029422437772154808,
-0.04665682464838028,
-0.015680326148867607,
0.009464072063565254,
0.012231701985001564,
0.031168576329946518,
-0.09827268868684769,
0.01431833766400814,
-0.0010542311938479543,
0.006901613436639309,
0.05000941455364227,
0.04403761774301529,
-0.01370718888938427,
-0.09478040784597397,
0.017967768013477325,
0.037227679044008255,
0.05133647844195366,
0.006534924264997244,
-0.015558095648884773,
-0.04400269687175751,
0.04669174924492836,
-0.031657494604587555,
0.01517394557595253,
-0.015191406942903996,
-0.0596131756901741,
-0.0427105538547039,
0.041837483644485474,
-0.0012102924520149827,
-0.012231701985001564,
0.08123037219047546,
-0.0060372743755578995,
0.005107455886900425,
-0.0640832930803299,
-0.006299195345491171,
-0.032827407121658325,
0.05510813742876053,
0.003234721953049302,
-0.004950303118675947,
0.008298524655401707,
-0.04466622695326805,
0.0021182845812290907,
0.06865817308425903,
-0.05660981684923172,
0.015400943346321583,
0.019748829305171967,
-0.03754198178648949,
-0.09855207055807114,
-0.05978779122233391,
-0.013960379175841808,
-0.003631968516856432,
0.012912696227431297,
-0.061079930514097214,
-0.07536334544420242,
0.02776360511779785,
-0.03523707762360573,
-0.060800548642873764,
-0.030225660651922226,
-0.08912292122840881,
0.02715245634317398,
0.001661014393903315,
0.03129080682992935,
0.0011186201591044664,
0.050952326506376266,
-0.0015518807340413332,
-0.0467965193092823,
-0.04752989485859871,
0.06429282575845718,
0.01784553751349449,
-0.012930157594382763,
-0.01922498643398285,
0.012432507239282131,
-0.010791136883199215,
0.03799597918987274,
0.0076000685803592205,
0.021093355491757393,
0.05426999181509018,
0.030539965257048607,
0.02884621173143387,
0.044805917888879776,
0.024306250736117363,
0.013942917808890343,
0.04281532019376755,
0.015505711548030376,
0.03673875704407692,
-0.00332639436237514,
-0.02249026671051979,
0.04630759730935097,
0.07627134025096893,
-0.013323038816452026,
0.001299781957641244,
-0.04016118869185448,
-0.02161719650030136,
-0.017321696504950523,
-0.0980631485581398,
-0.033700477331876755,
-0.004275857005268335,
0.0171820055693388,
0.05685427784919739,
0.0144405672326684,
-0.006076562684029341,
0.07005508244037628,
0.005657489411532879,
0.005277704447507858,
-0.007207187358289957,
0.045364685356616974,
0.014239761047065258,
0.006984554696828127,
-0.02509201318025589,
0.021721964702010155,
0.0007863080827519298,
0.05723842605948448,
-0.04777435585856438,
0.012589660473167896,
-0.0005756801110692322,
-0.025580931454896927,
0.006456348113715649,
0.014370721764862537,
-0.021791812032461166,
-0.008700136095285416,
-0.02624446526169777,
0.00041116110514849424,
-0.05189524218440056,
0.05049833282828331,
0.02156481333076954,
-0.052942924201488495,
0.03911350667476654,
-0.04962526261806488,
-0.0031059442553669214,
0.07473473995923996,
-0.013218269683420658,
0.01252854522317648,
-0.006098389625549316,
-0.03321155905723572,
0.014344529248774052,
-0.030225660651922226,
-0.018299533054232597,
-0.0657595843076706,
-0.03698321804404259,
-0.045678988099098206,
-0.01573270931839943,
0.01866622269153595,
-0.022682342678308487,
0.0048455349169671535,
-0.0063210222870111465,
-0.11000674217939377,
0.03813567012548447,
-0.005203493405133486,
-0.002645400119945407,
0.09408195316791534,
0.03939288854598999,
0.0017636001575738192,
0.01710342802107334,
-0.023188721388578415,
0.010930828750133514,
0.01985359750688076,
0.005129282362759113,
0.05049833282828331,
0.049730028957128525,
-0.0631403774023056,
-0.04065011069178581,
-0.027920758351683617,
0.011899935081601143,
-0.08130022138357162,
0.03911350667476654,
-0.04690128564834595,
0.015645403414964676,
-0.0870973989367485,
-0.034276701509952545,
0.053850919008255005,
0.024393558502197266,
0.009673608466982841,
0.008673944510519505,
0.01652720384299755,
-0.019713906571269035,
0.02889859490096569,
0.02306649275124073,
-0.052698466926813126,
0.06747079640626907,
-0.0817192941904068,
-0.010450639761984348,
0.0560859739780426,
0.03261787071824074,
-0.037227679044008255,
-0.04047549515962601,
0.07319813221693039,
-0.028985902667045593,
0.06439759582281113,
0.012074548751115799,
0.00880490429699421,
0.0171820055693388,
-0.027938218787312508,
-0.02481263130903244,
0.015479519963264465,
-0.011690398678183556,
0.028479522094130516,
0.0362149178981781,
-0.059997327625751495,
-0.023555411025881767,
-0.026139697059988976,
-0.05566690117120743,
0.026925459504127502,
0.02568569965660572,
0.03764675185084343,
0.008975152857601643,
-0.011280056089162827,
-0.10106650739908218,
0.04721559211611748,
0.03446877747774124,
-0.014981870539486408,
0.004692747723311186,
-0.015383481979370117,
-0.04868234694004059,
-0.0670517235994339,
-0.024952322244644165,
0.028165217489004135,
0.04553929716348648,
0.03298455849289894,
0.0013227000599727035,
0.04560914263129234,
0.06059101223945618,
-0.0017526866868138313,
-0.00976964645087719,
0.0072202836163342,
-0.03886904940009117,
-0.009053729474544525,
-0.03824043646454811,
-0.022280730307102203,
0.005146743729710579,
-0.03443385660648346,
-0.00357740162871778,
-0.025004707276821136,
-0.03155272826552391,
-0.013357961550354958,
0.04941572621464729,
-0.009167227894067764,
0.021407660096883774,
0.009333111345767975,
0.03267025575041771,
-0.004858631175011396,
-0.07745871692895889,
-0.044736072421073914,
0.043304238468408585,
-0.013777034357190132,
0.028200140222907066,
-0.01675420068204403,
-0.024899937212467194,
-0.03218133747577667,
-0.01871860772371292,
-0.0338052436709404,
0.001710124546661973,
0.0005181120941415429,
-0.06726126372814178,
0.013488921336829662,
-0.035429153591394424,
0.012703158892691135,
-0.007447281386703253,
0.018736068159341812,
-0.017801884561777115,
0.024428481236100197,
0.06970585882663727,
-0.05755273252725601,
0.042466092854738235,
0.003343855729326606,
0.023206183686852455,
-0.03977704048156738,
0.017426464706659317,
0.010633984580636024,
0.01431833766400814,
0.02364271879196167,
0.008058430626988411,
-0.02425386756658554,
0.04019611328840256,
0.037507060915231705,
-0.03708798810839653,
-0.050044335424900055,
-0.06293083727359772,
-0.03432908654212952,
0.027606453746557236,
0.03946273401379585,
-0.05301276966929436,
0.007739759981632233,
-0.023572873324155807,
0.0467965193092823,
0.025022167712450027,
-0.008464407175779343,
-0.03060981258749962,
-0.012860311195254326,
-0.020918741822242737,
0.004535595420747995,
-0.01257219910621643,
-0.030190737918019295,
-0.0707535371184349,
-0.03038281388580799,
-0.02273472584784031,
-0.03239087387919426,
-0.013436537235975266,
0.050952326506376266,
-0.04225655645132065,
-0.02420148253440857,
-0.04812358319759369,
-0.06865817308425903,
-0.006574212107807398,
-0.05521290749311447,
0.09387242048978806,
-0.05653997138142586,
0.05685427784919739,
0.05196508765220642,
0.02306649275124073,
0.0023725659120827913,
0.02624446526169777,
0.04602821543812752,
-0.018823375925421715,
-0.04515514895319939,
0.05584151670336723,
-0.017618538811802864,
0.022053731605410576,
0.001506044645793736,
0.04850773513317108,
0.00024323166871909052,
-0.036319684237241745,
0.013043656013906002,
0.003267462132498622,
-0.055562134832143784,
-0.02009805664420128,
-0.011638014577329159,
0.016893891617655754,
0.06960108876228333,
0.037507060915231705,
0.047110822051763535,
0.04201209917664528,
0.02746676281094551,
-0.032303567975759506,
0.016597049310803413,
-0.004718939773738384,
0.029649434611201286,
-0.009333111345767975,
0.01927737146615982,
0.04148825630545616,
-0.010564139112830162,
0.012100741267204285,
-0.04201209917664528,
-0.026366693899035454,
0.02921290136873722,
0.019678983837366104,
-0.02884621173143387,
0.04463130608201027,
-0.07180122286081314,
-0.03736736997961998,
-0.059403639286756516,
0.022088654339313507,
0.06799463927745819,
-0.011768975295126438,
-0.010957020334899426,
-0.1025332659482956,
0.01777569204568863,
0.037821363657712936,
-0.021669581532478333,
-0.024079252034425735,
-0.02104097232222557,
-0.000022815758711658418,
0.014239761047065258,
-0.027938218787312508,
0.015121561475098133,
-0.044805917888879776,
-0.0384499728679657,
0.010913367383182049,
0.00422565545886755,
-0.006478174589574337,
0.0588797964155674,
0.005133647937327623,
-0.03851981833577156,
-0.04061518609523773,
0.018875759094953537,
-0.016570856794714928,
-0.037786442786455154,
-0.019766289740800858,
-0.019661521539092064,
-0.006150773726403713,
0.0683438703417778,
0.04602821543812752,
0.040405649691820145,
-0.006072197575122118,
0.03038281388580799,
-0.03144795820116997,
-0.029422437772154808,
0.05364138260483742,
-0.03420685604214668,
0.00467965193092823,
-0.008385831490159035,
0.01924244873225689,
-0.03480054438114166,
0.021390199661254883,
-0.05028879642486572,
-0.03209402784705162,
0.04061518609523773,
-0.014361990615725517,
0.04358362406492233,
-0.0075564151629805565,
-0.03219879791140556,
-0.029125593602657318,
0.03059235028922558,
-0.012484892271459103,
0.003236904740333557,
-0.0811605304479599,
-0.009237073361873627,
0.006190061569213867,
0.006543654948472977,
0.08947214484214783,
-0.0005609470536001027,
0.0036843526177108288,
-0.02741437777876854,
0.07141707092523575,
-0.07106784731149673,
0.024725323542952538,
-0.05165078490972519,
-0.00022249626636039466,
0.019923442974686623,
0.0072333794087171555,
-0.021652119234204292,
0.04292009025812149,
0.0010176714276894927,
0.012773004360496998,
-0.0547938346862793,
-0.013000003062188625,
0.01300873328000307,
-0.012834119610488415,
0.03848489746451378,
0.0037127274554222822,
0.0037127274554222822,
-0.026139697059988976,
0.012781735509634018,
-0.014981870539486408,
0.025773007422685623,
0.023171260952949524,
-0.00390916783362627,
-0.037227679044008255,
0.02570316195487976,
0.020010748878121376,
0.008818000555038452,
0.0010804233606904745,
-0.03357824683189392,
-0.0026759575121104717,
-0.01008395105600357,
-0.06048624590039253,
0.032582949846982956,
0.022944262251257896,
-0.0022634323686361313,
-0.02187911793589592,
-0.003134319093078375,
0.0027305244002491236,
-0.028147755190730095,
0.008595367893576622,
-0.028427138924598694,
0.03001612424850464,
-0.011742782779037952,
0.04822834953665733,
0.005338819231837988,
-0.0856306403875351,
0.022647419944405556,
-0.04257086291909218,
0.03855474293231964,
-0.007634991314262152,
-0.007268302608281374,
0.06383883208036423,
-0.0531175397336483,
-0.054409682750701904,
-0.010450639761984348,
0.019312294200062752,
0.010441909544169903,
-0.01836937852203846,
0.01695500686764717,
-0.018561454489827156,
0.05622566491365433,
-0.005316992290318012,
-0.014850909821689129,
0.027781067416071892,
0.04780927672982216,
-0.016256552189588547,
-0.02418402209877968,
0.051860321313142776,
-0.0065960390493273735,
-0.08493218570947647,
0.0490315742790699,
0.01692008413374424,
0.02624446526169777,
0.025179320946335793,
-0.022595034912228584,
0.019975826144218445,
-0.05695904418826103,
-0.03144795820116997,
0.07047415524721146,
-0.017583616077899933,
0.06418805569410324,
0.07438550889492035,
0.07501412183046341,
-0.043024856597185135,
-0.051755551248788834,
0.00781833566725254,
0.025807930156588554,
0.07669041305780411,
0.06216253712773323,
0.039811961352825165,
-0.004570518154650927,
0.00005023559060646221,
-0.025877775624394417,
-0.047110822051763535,
0.03977704048156738,
0.1296333372592926,
0.008062795735895634,
0.013043656013906002,
0.03406716510653496,
0.0034835466649383307,
0.005365011282265186,
-0.01812491938471794,
0.001201561652123928,
0.04962526261806488,
0.00042643980123102665,
0.021075895056128502,
-0.031116191297769547,
-0.022542649880051613,
0.045364685356616974,
0.03010343201458454,
0.002339825965464115,
0.07222029566764832,
0.00495903380215168,
-0.00591504480689764,
0.013829418458044529,
-0.03904366120696068,
-0.027204841375350952,
0.002062626415863633,
-0.027815990149974823,
0.025476163253188133,
-0.027868373319506645,
0.028252525255084038,
0.02247280441224575,
0.1181088238954544
] |
21,662 | magic_filter.magic | __floordiv__ | null | def __floordiv__(self: MagicT, other: Any) -> MagicT:
return self._extend(CombinationOperation(right=other, combinator=operator.floordiv))
| (self: ~MagicT, other: Any) -> ~MagicT | [
0.011737663298845291,
-0.050348397344350815,
0.02266879193484783,
0.06781761348247528,
0.0016795669216662645,
-0.03782135993242264,
-0.013659619726240635,
-0.05824214965105057,
-0.06284111738204956,
0.018584633246064186,
0.060713235288858414,
-0.0076620858162641525,
0.031231794506311417,
-0.002949431072920561,
-0.02620381861925125,
0.005577106028795242,
-0.0037323711439967155,
0.018515992909669876,
0.030699824914336205,
0.013796902261674404,
0.028949471190571785,
0.006379351485520601,
0.01192642655223608,
0.08182043582201004,
-0.013899864628911018,
0.058619674295186996,
0.010974029079079628,
0.0219995379447937,
-0.021622011438012123,
-0.08538978546857834,
0.0530940517783165,
0.0018887084443122149,
0.015547255985438824,
-0.038576412945985794,
0.00013319362187758088,
-0.06284111738204956,
-0.001058041350916028,
0.06836674362421036,
-0.11078707128763199,
0.05607994645833969,
0.010871066711843014,
-0.02903527207672596,
0.008532972075045109,
0.010433478280901909,
-0.014019986614584923,
-0.0411161407828331,
0.06016410514712334,
-0.006156267132610083,
0.01446615532040596,
0.033960286527872086,
-0.015787500888109207,
-0.009944409132003784,
-0.02876070700585842,
0.00533257145434618,
-0.02018054388463497,
0.06723415851593018,
0.0022329874336719513,
0.019425489008426666,
-0.000972776033449918,
0.03262178227305412,
-0.07529951632022858,
0.03166080266237259,
-0.0177952591329813,
-0.014809361658990383,
0.011188533157110214,
-0.028743546456098557,
-0.055290572345256805,
0.07667233794927597,
-0.033891644328832626,
0.043484266847372055,
-0.056800682097673416,
0.04605831578373909,
0.02354396879673004,
0.01793254166841507,
-0.05453551933169365,
0.003121034475043416,
0.026255300268530846,
0.02193089760839939,
0.12485853582620621,
-0.05484440550208092,
0.004556066822260618,
0.0203864686191082,
-0.018721915781497955,
0.029464280232787132,
-0.028280219063162804,
-0.013496597297489643,
-0.01280160341411829,
-0.008957690559327602,
0.018584633246064186,
-0.039914920926094055,
-0.06846970319747925,
0.025843452662229538,
-0.022754592821002007,
0.005100907292217016,
0.010879646986722946,
0.05642315372824669,
-0.06840106099843979,
0.03737519308924675,
0.0036658747121691704,
-0.0003520548343658447,
-0.004813471809029579,
0.05120641365647316,
-0.0296015627682209,
0.01772661693394184,
0.07269114255905151,
-0.014303131960332394,
0.0037130657583475113,
-0.06006114184856415,
-0.06157125160098076,
0.03703198581933975,
-0.03617396950721741,
0.03212413191795349,
-0.06912179291248322,
0.009661263786256313,
-0.026049375534057617,
0.026804430410265923,
-0.0007180524407885969,
0.014723559841513634,
0.08655668795108795,
-0.007687826175242662,
0.008284147828817368,
-0.021690653637051582,
0.010656562633812428,
0.03299930691719055,
0.048495084047317505,
0.08285005390644073,
-0.00015806269948370755,
-0.019425489008426666,
-0.06531219929456711,
0.0034921264741569757,
0.04808323457837105,
0.06284111738204956,
0.005851671565324068,
-0.014878002926707268,
-0.01749495230615139,
0.045097339898347855,
0.0033226681407541037,
-0.028846509754657745,
0.029447119683027267,
-0.004474555142223835,
-0.03624260798096657,
-0.04815187677741051,
0.01803550310432911,
0.020077582448720932,
-0.06301271915435791,
0.046641767024993896,
0.0067268479615449905,
0.019133763387799263,
0.05652611702680588,
0.03710062429308891,
-0.01897932030260563,
0.052030108869075775,
0.11744527518749237,
-0.010493539273738861,
-0.010536440648138523,
0.022016698494553566,
0.022119661793112755,
-0.02445346489548683,
0.01642243191599846,
0.018824879080057144,
0.010905387811362743,
-0.041974157094955444,
0.06009546294808388,
0.004375883378088474,
-0.006855550687760115,
-0.036482855677604675,
0.03531595319509506,
-0.07310298830270767,
0.008923369459807873,
0.023097800090909004,
0.07166152447462082,
-0.038095925003290176,
0.015212629921734333,
-0.00002088063229166437,
-0.02704467438161373,
0.021690653637051582,
-0.02714763581752777,
-0.0010762742022052407,
-0.05237331613898277,
-0.03696334362030029,
0.025054076686501503,
-0.008593033999204636,
-0.006246359087526798,
0.012338275089859962,
0.024333342909812927,
0.0005662907497026026,
0.019288206472992897,
-0.03867937624454498,
-0.008284147828817368,
-0.018824879080057144,
-0.011342976242303848,
-0.03262178227305412,
-0.02486531250178814,
-0.018618954345583916,
0.00931805744767189,
0.006345030851662159,
-0.022685952484607697,
-0.025654688477516174,
0.06496899574995041,
0.062154702842235565,
-0.1277414709329605,
0.011849205940961838,
0.0002574048994574696,
0.038130246102809906,
0.01800118200480938,
-0.013496597297489643,
0.031180312857031822,
0.07969255745410919,
-0.013076168484985828,
-0.03716926649212837,
-0.01849883235991001,
-0.02560320682823658,
-0.010931127704679966,
0.0608161985874176,
0.020712513476610184,
-0.0050580063834786415,
0.004478845279663801,
-0.02742220275104046,
0.01288740523159504,
0.008889049291610718,
-0.02785121090710163,
-0.009892928414046764,
0.00470192963257432,
-0.03572779893875122,
0.020129062235355377,
0.022222623229026794,
-0.04619560018181801,
-0.02869206666946411,
-0.026804430410265923,
0.005529915448278189,
0.013410795480012894,
-0.022548669949173927,
-0.024007296189665794,
-0.018018342554569244,
-0.02546592429280281,
0.01655113510787487,
-0.04060133174061775,
-0.034869782626628876,
0.01645675301551819,
-0.009052072651684284,
0.01111989188939333,
-0.0575900562107563,
-0.003419195069000125,
0.009249416179955006,
0.008331338874995708,
-0.05923744663596153,
-0.038576412945985794,
0.032175611704587936,
0.04300377890467644,
0.035178668797016144,
-0.06503763794898987,
-0.012535618618130684,
0.031214633956551552,
0.00024131708778440952,
0.0323643758893013,
0.039949242025613785,
-0.017606494948267937,
-0.019047962501645088,
0.003938294947147369,
-0.026787269860506058,
-0.011557480320334435,
-0.011969327926635742,
0.0004282037843950093,
-0.03895394131541252,
-0.027096156030893326,
-0.008700286038219929,
0.007589154411107302,
0.010939707979559898,
0.022051019594073296,
0.0439990758895874,
-0.03262178227305412,
-0.03051106072962284,
0.013470856472849846,
0.002816438674926758,
-0.0021643461659550667,
0.02150188945233822,
0.060644593089818954,
0.02409309893846512,
0.002458216855302453,
-0.041768234223127365,
-0.018327228724956512,
-0.0028207285795360804,
-0.06510628014802933,
-0.02802281267940998,
-0.058894239366054535,
0.05769301950931549,
0.008490071631968021,
-0.04533758386969566,
0.026358261704444885,
-0.03768407553434372,
0.0011572495568543673,
0.012535618618130684,
-0.00802245270460844,
0.027610965073108673,
0.043381307274103165,
-0.009215095080435276,
-0.03521298989653587,
-0.056800682097673416,
0.017005883157253265,
-0.023578288033604622,
-0.0011615395778790116,
-0.08024168759584427,
-0.057006604969501495,
0.02791985124349594,
0.009901508688926697,
0.014440414495766163,
0.08106537908315659,
0.022994836792349815,
0.015358492732048035,
-0.0028400339651852846,
-0.00950682070106268,
0.05103481188416481,
-0.01692866161465645,
-0.009052072651684284,
0.07516223192214966,
0.03088858723640442,
0.04300377890467644,
0.07461310178041458,
-0.009592622518539429,
0.07626049220561981,
-0.0012816619127988815,
0.03692902252078056,
0.008906209841370583,
0.07310298830270767,
0.021982379257678986,
-0.03871369734406471,
0.0008531899657100439,
-0.028177255764603615,
-0.006958512589335442,
0.04949038103222847,
-0.12952613830566406,
0.027199117466807365,
0.030837107449769974,
-0.0005539567791856825,
0.005452693905681372,
-0.01961425319314003,
0.07852565497159958,
-0.0033505538012832403,
-0.020146222785115242,
-0.046847689896821976,
0.03366855904459953,
-0.027799729257822037,
0.030322296544909477,
0.025345802307128906,
-0.004208569880574942,
-0.016594035550951958,
0.060541633516550064,
-0.015358492732048035,
0.05312837287783623,
-0.006345030851662159,
0.029121074825525284,
-0.04612695798277855,
0.050245437771081924,
-0.05961497500538826,
0.0559769868850708,
0.018241427838802338,
-0.06953364610671997,
0.018207106739282608,
-0.0472252182662487,
0.02143324725329876,
0.07159288227558136,
0.007533383555710316,
0.005607136525213718,
0.02489963360130787,
-0.04949038103222847,
-0.01839587092399597,
-0.05604562535881996,
0.006156267132610083,
-0.03610532730817795,
-0.007280268706381321,
-0.028520463034510612,
-0.0527508445084095,
0.028709227219223976,
-0.014732140116393566,
0.02048943005502224,
0.04571510851383209,
-0.045303262770175934,
0.00032550995820201933,
-0.03926282748579979,
0.014989545568823814,
0.055496495217084885,
0.04983358830213547,
-0.00019426025392021984,
-0.007211627438664436,
-0.011308655142784119,
0.032244253903627396,
0.025414444506168365,
-0.01933968812227249,
0.027662446722388268,
0.04478845372796059,
-0.021484728902578354,
-0.028211576864123344,
0.021673493087291718,
-0.005499884486198425,
-0.09644103795289993,
0.018121303990483284,
0.023406686261296272,
-0.020575230941176414,
-0.04242032766342163,
-0.0296015627682209,
0.0744071751832962,
-0.010862486436963081,
0.038267526775598526,
0.04193983972072601,
0.03727222979068756,
-0.07523087412118912,
0.01901364140212536,
-0.005195288918912411,
0.006109076086431742,
0.0024346213322132826,
-0.07605456560850143,
-0.010828166268765926,
0.010836746543645859,
0.07262250036001205,
0.005186708644032478,
-0.050211116671562195,
0.030425259843468666,
0.0012527038343250751,
-0.01803550310432911,
0.02745652198791504,
0.046950653195381165,
-0.023509647697210312,
0.014689239673316479,
0.009275156073272228,
0.014114368706941605,
-0.0062291985377669334,
0.011128472164273262,
-0.024075938388705254,
-0.06102212145924568,
0.024247542023658752,
-0.03970899432897568,
0.012630000710487366,
-0.055462174117565155,
0.028211576864123344,
0.048460762947797775,
-0.05288812518119812,
-0.006623886059969664,
0.038336168974637985,
0.05100049078464508,
-0.024299021810293198,
0.04959334433078766,
0.032175611704587936,
0.050794567912817,
-0.052167393267154694,
0.024281861260533333,
-0.04619560018181801,
0.023509647697210312,
0.031472038477659225,
-0.02651270478963852,
-0.041733913123607635,
0.03850777447223663,
0.011308655142784119,
0.023097800090909004,
0.021021399646997452,
0.058894239366054535,
-0.03169512376189232,
-0.044960055500268936,
-0.03727222979068756,
-0.02906959317624569,
0.02189657650887966,
-0.009472500532865524,
0.020163383334875107,
-0.0056586177088320255,
0.006130526773631573,
-0.02055807039141655,
0.016499653458595276,
0.030957229435443878,
-0.022548669949173927,
0.015873301774263382,
0.023166440427303314,
0.023938655853271484,
-0.014346033334732056,
-0.016714157536625862,
0.03782135993242264,
0.016156448051333427,
-0.006658206693828106,
-0.019597092643380165,
0.0034685309510678053,
0.03051106072962284,
-0.10399157553911209,
-0.03408040851354599,
0.027405042201280594,
0.008618773892521858,
-0.04255760833621025,
-0.04242032766342163,
0.019700054079294205,
-0.004598967730998993,
0.02486531250178814,
0.0582764707505703,
-0.01894500106573105,
-0.01988881826400757,
0.06647910177707672,
-0.028606263920664787,
-0.030459579080343246,
-0.02028350532054901,
0.021141521632671356,
-0.025088397786021233,
0.003955455496907234,
0.031334757804870605,
-0.004710509441792965,
-0.02399013563990593,
0.013556658290326595,
-0.008597323670983315,
0.004144218750298023,
0.048220518976449966,
0.010553601197898388,
-0.019768696278333664,
-0.004907853435724974,
-0.03450941666960716,
0.007880879566073418,
-0.018721915781497955,
-0.05398638918995857,
-0.001695654820650816,
0.048495084047317505,
0.03874801844358444,
-0.019047962501645088,
-0.028177255764603615,
0.04252329096198082,
0.0071386960335075855,
-0.022480027750134468,
0.03902258351445198,
-0.020472269505262375,
-0.05292244628071785,
-0.03286202624440193,
-0.03310227021574974,
-0.04245464876294136,
-0.01695440337061882,
-0.041390709578990936,
-0.001387841417454183,
-0.04132206737995148,
-0.03891962021589279,
-0.03936579078435898,
-0.019974621012806892,
0.06342456489801407,
-0.02354396879673004,
0.0475684255361557,
-0.11847489327192307,
0.04626423865556717,
0.024316182360053062,
0.012492718175053596,
-0.01971721462905407,
-0.013925605453550816,
0.0825754925608635,
-0.017572173848748207,
-0.007284558843821287,
0.015547255985438824,
0.013101909309625626,
0.04094453901052475,
-0.009566881693899632,
-0.004343707580119371,
0.012098030187189579,
-0.05288812518119812,
0.006246359087526798,
0.032175611704587936,
-0.003998355939984322,
-0.013479436747729778,
-0.03471533954143524,
-0.019219566136598587,
-0.007782208267599344,
0.003088858677074313,
0.01502386573702097,
0.02536296285688877,
0.026564186438918114,
-0.0038675086107105017,
-0.02809145487844944,
-0.024985436350107193,
0.02822873741388321,
0.03418337181210518,
-0.03569347783923149,
0.04640152305364609,
-0.056835003197193146,
0.04949038103222847,
-0.0033805842977017164,
0.00784226879477501,
0.04461684823036194,
0.016834279522299767,
-0.008103963918983936,
-0.03548755496740341,
-0.046538807451725006,
-0.05422663316130638,
-0.04314105957746506,
-0.050108153373003006,
0.012303953990340233,
-0.023767052218317986,
0.004774861037731171,
-0.05086320638656616,
0.02119300328195095,
-0.0026426902040839195,
0.011694762855768204,
0.02193089760839939,
0.019391169771552086,
-0.03284486383199692,
0.01813846454024315,
0.0020388613920658827,
-0.007782208267599344,
-0.0530940517783165,
-0.09554869681596756,
-0.023269403725862503,
-0.00931805744767189,
-0.0050580063834786415,
0.02613517828285694,
0.014543376863002777,
-0.01066514290869236,
0.05769301950931549,
0.021484728902578354,
0.015272690914571285,
-0.005954633466899395,
-0.009249416179955006,
-0.03960603475570679,
-0.08401695638895035,
0.027645286172628403,
0.008687415160238743,
0.0071172453463077545,
0.06170853599905968,
0.0032926376443356276,
-0.0028293088544160128,
-0.016139287501573563,
-0.04938742145895958,
0.017709456384181976,
-0.015753179788589478,
-0.05662907660007477,
0.023801373317837715,
-0.07921206951141357,
-0.005027975887060165,
-0.01692866161465645,
-0.01951129175722599,
0.07310298830270767,
0.006825519725680351,
0.025689009577035904,
0.025723328813910484,
0.004124913364648819,
0.005469853989779949,
0.057109568268060684,
-0.029326997697353363,
-0.07516223192214966,
-0.019905978813767433,
-0.020609552040696144,
0.006134816911071539,
-0.027559485286474228,
0.03136907517910004,
0.01782958023250103,
-0.002893659984692931,
-0.03679174184799194,
-0.013556658290326595,
-0.022960517555475235,
-0.03442361578345299,
-0.058894239366054535,
-0.0018415175145491958,
-0.03142055869102478,
-0.005010815337300301,
-0.03933146968483925,
0.04801459237933159,
0.013985666446387768,
-0.009549722075462341,
-0.06122804433107376,
-0.06157125160098076,
0.0757800042629242,
-0.04640152305364609,
0.00923225563019514,
0.03737519308924675,
-0.01597626321017742,
-0.006538084242492914,
0.041871197521686554,
0.021021399646997452,
-0.03214129060506821,
-0.015109667554497719,
0.009223675355315208,
-0.06836674362421036,
-0.011780563741922379,
-0.033325355499982834,
0.013779742643237114,
-0.03799296170473099,
-0.053814783692359924,
-0.007361779920756817,
-0.0692247599363327,
-0.012595679610967636,
0.030957229435443878,
0.0404297299683094,
0.008760347031056881,
-0.01187494583427906,
-0.017606494948267937,
0.020163383334875107,
-0.046710409224033356,
-0.00784226879477501,
0.0011497419327497482,
-0.007807948626577854,
-0.058722637593746185,
0.03531595319509506,
0.009721324779093266,
-0.01480078138411045,
0.062189023941755295,
-0.019322527572512627,
-0.012458397075533867,
-0.00237670517526567,
-0.06129668653011322,
0.015212629921734333,
-0.011360135860741138,
-0.0176236554980278,
0.031506359577178955,
0.03970899432897568,
0.015418553724884987,
-0.023629769682884216,
-0.03452657535672188,
-0.001205512904562056,
0.008537262678146362,
-0.03891962021589279,
0.0012387611204758286,
0.016971563920378685,
0.03795864060521126,
-0.02749084308743477,
0.0279884934425354,
0.08552706986665726,
-0.020043261349201202,
-0.01588188298046589,
0.05607994645833969,
0.01584756188094616,
0.00992724858224392,
0.07042597979307175,
0.012930305674672127,
-0.009300896897912025,
-0.04725953936576843,
0.013033268041908741,
0.0886845663189888,
0.0035800731275230646,
0.03437213599681854,
0.030287977308034897,
0.07104375213384628,
-0.012158091180026531,
-0.022051019594073296,
0.03184956684708595,
-0.04276353493332863,
0.0017514257924631238,
0.015143988654017448,
-0.041905518621206284,
0.04904421418905258,
-0.020008940249681473,
-0.011300074867904186,
0.00886330846697092,
0.022222623229026794,
-0.01806982420384884,
0.021845094859600067,
-0.04588671401143074,
0.019099444150924683,
-0.048495084047317505,
0.01502386573702097,
0.00876463670283556,
0.04471981152892113,
0.050176795572042465,
-0.02273743227124214,
0.002741362201049924,
-0.005422663409262896,
-0.022600149735808372,
0.06582701206207275,
0.019305367022752762,
0.02903527207672596,
0.01985449716448784,
-0.017778098583221436,
-0.010853906162083149,
0.00923225563019514,
-0.016594035550951958,
-0.030802786350250244,
0.0006054377881810069,
0.005130937788635492,
0.06301271915435791,
-0.004167814273387194,
0.02059239149093628,
0.04053268954157829,
0.03219277411699295
] |
21,663 | magic_filter.magic | __ge__ | null | def __ge__(self: MagicT, other: Any) -> MagicT:
return self._extend(ComparatorOperation(right=other, comparator=operator.ge))
| (self: ~MagicT, other: Any) -> ~MagicT | [
0.0549718476831913,
-0.03702820464968681,
0.054038360714912415,
0.06008872389793396,
-0.024374309927225113,
-0.06458327919244766,
-0.0380999855697155,
-0.014728305861353874,
0.02096882089972496,
-0.04249081760644913,
0.021003393456339836,
-0.030632110312581062,
0.038964319974184036,
-0.030632110312581062,
-0.04003610089421272,
0.01937844045460224,
-0.055386729538440704,
0.028713282197713852,
0.028332972899079323,
0.025722675025463104,
0.006262123119086027,
-0.008543973788619041,
0.0089113162830472,
0.028298400342464447,
0.03695905953645706,
0.059604693204164505,
-0.012057503685355186,
-0.006141115911304951,
-0.007649384438991547,
-0.015938378870487213,
-0.02679445408284664,
-0.04425406455993652,
-0.00006904568726895377,
-0.0423179492354393,
0.027468636631965637,
-0.06689970195293427,
-0.004282790701836348,
0.07101394236087799,
-0.03217063099145889,
0.0115994056686759,
0.006767760496586561,
-0.060503605753183365,
0.00799079705029726,
-0.00792597234249115,
0.011443824507296085,
-0.011953783221542835,
-0.006577606312930584,
-0.0036647897213697433,
0.022801214829087257,
0.02964676544070244,
-0.0005888297455385327,
-0.05099589377641678,
0.04397747665643692,
0.016318686306476593,
-0.07267346978187561,
0.03379558399319649,
0.020173629745841026,
0.04428863897919655,
-0.02926645800471306,
0.056596800684928894,
-0.03737394139170647,
0.009957164525985718,
-0.04722738638520241,
-0.030770404264330864,
0.005920710042119026,
-0.035956427454948425,
-0.07502447068691254,
0.021885018795728683,
-0.01496167667210102,
0.06849008053541183,
-0.06883581727743149,
-0.00028469107928685844,
0.027071041986346245,
0.00496993912383914,
-0.06001957505941391,
0.008189595304429531,
-0.020571226254105568,
-0.014434431679546833,
0.05984670668840408,
-0.04117702320218086,
0.0009361852426081896,
-0.00736847473308444,
0.04470352083444595,
0.010147319175302982,
-0.024391595274209976,
0.0010480089113116264,
0.006175689399242401,
-0.01083878893405199,
0.04674335569143295,
-0.018375808373093605,
-0.06119507551193237,
0.02594740316271782,
-0.00901503674685955,
-0.011927853338420391,
0.05708082765340805,
0.036198440939188004,
-0.016085315495729446,
0.030718544498085976,
0.028402119874954224,
0.031876757740974426,
0.043493449687957764,
0.03955207020044327,
0.017684338614344597,
0.00764074083417654,
0.07122138887643814,
-0.016897791996598244,
0.02691546082496643,
-0.06264716386795044,
-0.05300115793943405,
0.004853253252804279,
-0.040105246007442474,
0.030511103570461273,
-0.02020820416510105,
-0.00815069954842329,
-0.000355458672856912,
0.03450434282422066,
0.011772273108363152,
-0.020795952528715134,
0.05649308115243912,
0.0007157792570069432,
0.01610260270535946,
-0.007364152930676937,
0.056527651846408844,
0.024512603878974915,
-0.007787678390741348,
-0.00741169136017561,
0.03443519398570061,
-0.03706277906894684,
-0.05777229741215706,
-0.012169867753982544,
0.04933636635541916,
0.014322067610919476,
-0.018064647912979126,
0.037996262311935425,
-0.0030122152529656887,
-0.011331460438668728,
0.02549794688820839,
0.0424562431871891,
0.017044730484485626,
-0.009136044420301914,
0.014209703542292118,
-0.013051492162048817,
0.04242166876792908,
-0.018116507679224014,
-0.059224385768175125,
-0.006992488168179989,
-0.05313945189118385,
0.05936267971992493,
0.04377003759145737,
0.020674945786595345,
-0.04034725949168205,
0.034037601202726364,
0.052828289568424225,
-0.011711768805980682,
-0.0017956605879589915,
0.03336341679096222,
-0.0009842639556154609,
-0.05549044907093048,
-0.007735818158835173,
0.026379572227597237,
0.03293124586343765,
0.009058253839612007,
-0.023942140862345695,
-0.018047360703349113,
0.02300865575671196,
-0.015998881310224533,
0.005125519819557667,
-0.015272838063538074,
-0.03497108444571495,
0.014866599813103676,
0.046881649643182755,
-0.04767683893442154,
-0.012947771698236465,
-0.005147127900272608,
-0.015739580616354942,
0.03510937839746475,
0.0063053397461771965,
0.05811803415417671,
-0.002733466448262334,
-0.002443913370370865,
0.021487422287464142,
0.011020299047231674,
-0.029352892190217972,
-0.02506577968597412,
0.0657242015004158,
-0.019931616261601448,
0.02466818317770958,
-0.00987937394529581,
-0.012048861011862755,
0.0383765734732151,
-0.0359218530356884,
-0.03848029300570488,
0.010346116498112679,
-0.007779034785926342,
0.0027593965642154217,
0.019637741148471832,
-0.04418491944670677,
0.029128164052963257,
0.0404164083302021,
0.09161974489688873,
-0.08235404640436172,
-0.02038107067346573,
0.0006396095268428326,
-0.0024331093300133944,
0.025394227355718613,
-0.013207072392106056,
0.027434062212705612,
0.016335973516106606,
0.0017351569840684533,
-0.0548335537314415,
-0.002584368223324418,
-0.017425037920475006,
-0.0337437242269516,
0.015428419224917889,
0.007117816712707281,
0.008829204365611076,
0.0030640754848718643,
-0.04096958413720131,
-0.011443824507296085,
0.02281850203871727,
0.044392358511686325,
-0.030251802876591682,
-0.0242878757417202,
-0.014408500865101814,
0.047849707305431366,
0.015376558527350426,
-0.019413013011217117,
-0.028747854754328728,
-0.02729576826095581,
0.0027485922910273075,
0.054937273263931274,
-0.012074790894985199,
0.027140188962221146,
-0.04549871012568474,
-0.024339735507965088,
-0.0018291536252945662,
-0.01163397915661335,
0.038895174860954285,
-0.06620822846889496,
0.029318317770957947,
-0.0063096615485847,
0.018375808373093605,
0.026638872921466827,
0.041764773428440094,
0.0033363415859639645,
-0.09072083234786987,
0.01489252969622612,
0.01917099952697754,
0.0572882704436779,
0.04328600689768791,
-0.03765052929520607,
-0.05351975932717323,
0.038134556263685226,
-0.009282981976866722,
-0.006175689399242401,
-0.011659909039735794,
-0.03472907096147537,
-0.07467873394489288,
0.022593773901462555,
0.006841228809207678,
-0.020415645092725754,
0.06869751960039139,
-0.029093589633703232,
-0.007627775892615318,
-0.05438409745693207,
0.007290684152394533,
0.02032921090722084,
0.014538152143359184,
0.0027550747618079185,
0.040623847395181656,
-0.05082302913069725,
-0.05894779786467552,
0.00038841154309920967,
0.023216096684336662,
-0.043631743639707565,
0.004027811344712973,
0.04034725949168205,
-0.01987975649535656,
-0.05804888531565666,
-0.07267346978187561,
-0.013604667969048023,
-0.010043598711490631,
-0.047849707305431366,
-0.045602429658174515,
-0.10427363961935043,
0.03962121903896332,
-0.036198440939188004,
-0.05670052021741867,
-0.0347636416554451,
-0.07523190975189209,
0.03771967440843582,
0.002670801943168044,
0.029110876843333244,
0.01438257098197937,
0.07014960795640945,
-0.048230014741420746,
-0.017537401989102364,
-0.03561069443821907,
0.07944987714290619,
0.02013905718922615,
0.023509971797466278,
-0.0551101416349411,
-0.01083878893405199,
-0.009767010807991028,
0.01134874764829874,
0.00005658707596012391,
0.03472907096147537,
0.020865099504590034,
-0.00824577733874321,
0.02134912833571434,
0.02103796787559986,
0.013751604594290257,
-0.032049622386693954,
-0.003494083182886243,
-0.004036454949527979,
0.05604362487792969,
-0.002528186421841383,
0.02511763945221901,
0.016154462471604347,
0.07405640929937363,
0.012100720778107643,
0.02762421779334545,
-0.024823764339089394,
-0.00575216393917799,
-0.057945165783166885,
-0.07308835536241531,
-0.044841814786195755,
-0.009931234642863274,
0.003919769078493118,
0.05196395143866539,
-0.004062384832650423,
0.009213835000991821,
0.08304551988840103,
-0.0058342763222754,
0.009922591038048267,
0.03920633718371391,
0.08906130492687225,
0.019534021615982056,
-0.030078934505581856,
-0.027347629889845848,
-0.005428037606179714,
0.015826014801859856,
0.03305225446820259,
-0.017909066751599312,
-0.017909066751599312,
-0.001501785940490663,
-0.02257648855447769,
-0.002459039445966482,
0.04985497146844864,
-0.009870731271803379,
0.020986108109354973,
-0.027883518487215042,
0.005151449702680111,
-0.032499078661203384,
0.04525669664144516,
-0.008034014143049717,
-0.051237910985946655,
0.013829395174980164,
-0.019724175333976746,
0.00776606984436512,
0.03030366264283657,
-0.021936878561973572,
-0.002264563459903002,
-0.007619132287800312,
-0.05068473517894745,
-0.006409060209989548,
-0.007593202404677868,
-0.011322817765176296,
-0.0847741961479187,
-0.022006025537848473,
-0.027589643374085426,
-0.030511103570461273,
0.05504099279642105,
-0.0007244226289913058,
0.005376177374273539,
-0.004987225867807865,
-0.09369415044784546,
0.03165202960371971,
-0.007031382992863655,
0.016569344326853752,
0.08864642679691315,
0.054107509553432465,
-0.004719281103461981,
0.0021435562521219254,
0.008747092448174953,
0.001959884539246559,
0.0046025956980884075,
0.01016460545361042,
0.06399552524089813,
0.021245408803224564,
-0.025532521307468414,
-0.058774929493665695,
-0.03841114416718483,
-0.0025562772061675787,
-0.07495532184839249,
0.01808193512260914,
-0.02760693058371544,
-0.007502446882426739,
-0.055767036974430084,
-0.029318317770957947,
0.05262085050344467,
0.052966583520174026,
-0.012506959028542042,
0.002966837491840124,
0.011988356709480286,
-0.02926645800471306,
0.03540325164794922,
0.06849008053541183,
-0.06091848760843277,
0.07218944281339645,
-0.11561374366283417,
0.012895911000669003,
0.023250671103596687,
0.04563700407743454,
-0.02755507081747055,
-0.058014314621686935,
0.06195569038391113,
0.008894030004739761,
0.024132294580340385,
0.0019685279112309217,
0.02518678642809391,
-0.005652765277773142,
-0.01643105037510395,
-0.03803083673119545,
0.010441193357110023,
-0.030459243804216385,
-0.0018291536252945662,
-0.003118096385151148,
-0.076199971139431,
0.021435562521219254,
-0.01178955938667059,
-0.04498010873794556,
0.02466818317770958,
-0.001866968348622322,
0.024944771081209183,
-0.010942509397864342,
-0.020225491374731064,
-0.0634077787399292,
0.05383092164993286,
0.010907935909926891,
0.026621585711836815,
0.012645252980291843,
0.017684338614344597,
-0.029871493577957153,
-0.05887864902615547,
-0.03094327263534069,
0.05189480632543564,
0.03771967440843582,
0.04415034502744675,
-0.05345061421394348,
0.038065411150455475,
0.02672530710697174,
0.019914329051971436,
0.028471266850829124,
0.03139272704720497,
-0.037166498601436615,
-0.029957927763462067,
-0.06375351548194885,
-0.032049622386693954,
0.026241278275847435,
-0.01387261226773262,
0.003958664368838072,
-0.030597537755966187,
-0.0046760644763708115,
-0.05894779786467552,
0.036786191165447235,
0.020605798810720444,
-0.0015071879606693983,
-0.019464874640107155,
0.023043230175971985,
0.026690732687711716,
-0.08097110688686371,
-0.04888691380620003,
0.02651786617934704,
-0.025860968977212906,
0.04757311940193176,
-0.01937844045460224,
-0.039482925087213516,
0.019464874640107155,
-0.044461507350206375,
0.0025627599097788334,
-0.00579970283433795,
-0.0013440443435683846,
-0.05763400346040726,
0.010423907078802586,
-0.034417908638715744,
-0.02153928391635418,
0.00496993912383914,
0.006473885849118233,
-0.015877874568104744,
0.0016995030455291271,
0.06645024567842484,
-0.008971820585429668,
0.05313945189118385,
0.0007525135879404843,
0.02589554339647293,
-0.028419407084584236,
-0.00536753423511982,
0.05272457003593445,
0.03528224676847458,
0.002502256305888295,
0.02461632341146469,
-0.05874035507440567,
0.03016536869108677,
0.052828289568424225,
-0.016569344326853752,
0.004403797909617424,
-0.026102984324097633,
-0.024529889225959778,
0.03561069443821907,
0.020882386714220047,
-0.06904325634241104,
0.04636304825544357,
0.03191132843494415,
0.02121083438396454,
-0.0032996071968227625,
0.015462992712855339,
0.0032758379820734262,
0.008021049201488495,
0.003630216233432293,
0.03657875210046768,
-0.02549794688820839,
-0.06295832246541977,
-0.10302899777889252,
-0.009343485347926617,
-0.04563700407743454,
-0.018825264647603035,
-0.0383765734732151,
0.05829090252518654,
-0.023665552958846092,
-0.008172308094799519,
-0.05939725413918495,
-0.023250671103596687,
-0.009222477674484253,
-0.06883581727743149,
0.07108309119939804,
-0.0634077787399292,
0.0885772779583931,
0.001124718808569014,
0.019741462543606758,
0.02781437151134014,
0.018133794888854027,
0.07087565213441849,
0.020087197422981262,
-0.01930929347872734,
0.05130705609917641,
-0.045291271060705185,
0.013976332731544971,
-0.0005866689025424421,
0.025653528049588203,
-0.019966188818216324,
-0.026051122695207596,
-0.015506209805607796,
0.02973319962620735,
-0.035576120018959045,
-0.015575356781482697,
-0.043113138526678085,
0.026483291760087013,
0.05943182483315468,
0.02651786617934704,
0.019983476027846336,
0.03255093842744827,
0.03251636400818825,
-0.016577987000346184,
-0.007977832108736038,
0.012360022403299809,
0.0463976226747036,
0.019032705575227737,
0.014866599813103676,
0.05023527890443802,
-0.0016854575369507074,
0.009983094409108162,
-0.052966583520174026,
-0.023855706676840782,
0.00706163514405489,
0.04425406455993652,
-0.038584012538194656,
0.02179858461022377,
-0.0717054158449173,
-0.05013155937194824,
-0.046190179884433746,
-0.011115376837551594,
0.03765052929520607,
0.00468470761552453,
-0.011564832180738449,
-0.0712905302643776,
0.007364152930676937,
0.05690796300768852,
-0.025653528049588203,
0.01668170839548111,
0.003435740480199456,
-0.043804608285427094,
0.00029279422597028315,
-0.01441714446991682,
-0.006439312361180782,
-0.010812858119606972,
-0.03412403166294098,
0.027503209188580513,
-0.024944771081209183,
0.017148450016975403,
0.05549044907093048,
0.017528759315609932,
-0.03037280961871147,
-0.03535139188170433,
0.018047360703349113,
-0.005445324350148439,
-0.00799079705029726,
-0.036647897213697433,
-0.033138688653707504,
-0.03341527655720711,
0.05597447603940964,
0.033916592597961426,
0.007191285490989685,
0.012567463330924511,
0.010372046381235123,
0.01917099952697754,
-0.02032921090722084,
0.019845182076096535,
-0.023025942966341972,
0.0007698003319092095,
-0.019015418365597725,
0.007999440655112267,
-0.010985725559294224,
0.026241278275847435,
-0.004801393020898104,
-0.055006418377161026,
0.052828289568424225,
-0.01521233469247818,
0.02921459823846817,
0.023285243660211563,
-0.025860968977212906,
-0.03585270792245865,
0.07523190975189209,
-0.010648634284734726,
-0.0383765734732151,
-0.07371068000793457,
-0.002103580627590418,
0.006326948292553425,
-0.01828937605023384,
0.04632847383618355,
-0.04193764179944992,
0.026638872921466827,
-0.037685103714466095,
0.038653161376714706,
-0.06866294890642166,
0.013034204952418804,
-0.04864489659667015,
0.021245408803224564,
0.01470237597823143,
-0.010423907078802586,
-0.010078172199428082,
0.0504772923886776,
0.011080803349614143,
0.01822022907435894,
-0.08048707991838455,
-0.024305162951350212,
0.017407750710844994,
0.004036454949527979,
0.02601655013859272,
0.007001131307333708,
-0.0069579146802425385,
-0.012636610306799412,
0.016379190608859062,
-0.009161974303424358,
0.006460920441895723,
-0.0008600155124440789,
0.02359640598297119,
-0.04674335569143295,
0.03709735348820686,
0.02167757786810398,
-0.0019382762257009745,
-0.0002316153550054878,
-0.03472907096147537,
-0.020986108109354973,
-0.01304284855723381,
-0.07405640929937363,
0.03668247163295746,
0.023025942966341972,
-0.00228617200627923,
-0.001076099812053144,
0.009637359529733658,
0.03951749578118324,
-0.03362271562218666,
0.018877124413847923,
-0.01553213968873024,
0.012074790894985199,
-0.034798216074705124,
0.08671031147241592,
0.026690732687711716,
-0.04480724036693573,
0.03913718834519386,
-0.028730569407343864,
0.036786191165447235,
-0.04819544404745102,
-0.02876514196395874,
0.05054644122719765,
-0.03408946096897125,
-0.025670815259218216,
0.00563980033621192,
0.023924853652715683,
0.029128164052963257,
-0.012714399956166744,
-0.008639050647616386,
-0.007757426239550114,
0.04169562831521034,
-0.008479148149490356,
-0.0028112567961215973,
0.004494553431868553,
0.043942902237176895,
-0.039655789732933044,
-0.015316055156290531,
0.06364978849887848,
-0.003172117518261075,
-0.07702973484992981,
0.035316817462444305,
0.04345887526869774,
0.01719166710972786,
0.04933636635541916,
-0.006603536196053028,
0.02096882089972496,
-0.04622475430369377,
-0.0006525745848193765,
0.07889670133590698,
-0.03438333421945572,
0.04501468315720558,
0.0629928931593895,
0.07426385581493378,
-0.0756467953324318,
-0.07613082230091095,
-0.02038107067346573,
0.029836921021342278,
0.046259328722953796,
0.05562874302268028,
0.005099589470773935,
0.0058342763222754,
0.00014491153706330806,
-0.03975951299071312,
-0.03975951299071312,
0.05950097367167473,
0.09811955690383911,
0.013526877388358116,
0.03056296333670616,
0.020605798810720444,
-0.011979714035987854,
0.0038246922194957733,
-0.02229990065097809,
-0.015705006197094917,
0.05355433374643326,
-0.024633610621094704,
-0.0013213554630056024,
-0.03785796836018562,
-0.027969952672719955,
0.06551676243543625,
0.0035761951003223658,
0.005587940104305744,
0.07855096459388733,
0.0014239955926313996,
-0.01528148166835308,
-0.020934246480464935,
-0.04128074645996094,
-0.02973319962620735,
0.0357835590839386,
-0.04065842181444168,
0.03497108444571495,
-0.018946271389722824,
0.03016536869108677,
0.018998131155967712,
0.11063516139984131
] |
21,664 | magic_filter.magic | __getattr__ | null | def __getattr__(self: MagicT, item: Any) -> MagicT:
if item.startswith("_"):
raise AttributeError(f"{type(self).__name__!r} object has no attribute {item!r}")
return self._extend(GetAttributeOperation(name=item))
| (self: ~MagicT, item: Any) -> ~MagicT | [
0.061852145940065384,
-0.03864021599292755,
0.04190656542778015,
0.03151679411530495,
0.030960820615291595,
-0.0674118921160698,
0.05806456878781319,
-0.012848219834268093,
0.06463201344013214,
0.008843466639518738,
0.0018449226627126336,
0.06140041723847389,
0.06616094708442688,
0.04027339071035385,
-0.01867726258933544,
0.08110275864601135,
-0.03905719891190529,
0.0893033817410469,
-0.0004229531332384795,
0.025279458612203598,
0.02878904528915882,
0.0647362619638443,
-0.0009496085112914443,
0.0037202502135187387,
0.04069037362933159,
0.07248515635728836,
0.02465398795902729,
0.030856575816869736,
0.10028386861085892,
-0.0760989859700203,
-0.007562119513750076,
-0.03431404009461403,
0.021457133814692497,
0.006411079317331314,
-0.003177306381985545,
0.0041046543046832085,
-0.028215697035193443,
0.0285805556923151,
-0.0642150342464447,
-0.017686933279037476,
0.03308047354221344,
-0.014742007479071617,
0.003498729085549712,
-0.05257432162761688,
0.040308140218257904,
-0.03488738834857941,
0.044443197548389435,
0.061852145940065384,
-0.022829696536064148,
-0.03874446079134941,
0.03745876997709274,
0.055666930973529816,
0.035651855170726776,
-0.0036529251374304295,
-0.04145483672618866,
0.046180617064237595,
-0.02705162577331066,
0.0489952377974987,
-0.00011924401042051613,
0.08756595849990845,
-0.02046680450439453,
0.031099814921617508,
-0.007918290793895721,
-0.06901031732559204,
0.01515898760408163,
-0.0685238391160965,
-0.0451381653547287,
0.02680838853120804,
-0.026582522317767143,
0.027781343087553978,
0.0253142062574625,
0.03149941936135292,
-0.010537451133131981,
0.026877883821725845,
0.0029666442424058914,
-0.03419242054224014,
-0.009329943917691708,
-0.056083910167217255,
0.08082477003335953,
-0.030057363212108612,
-0.01935485750436783,
0.049342721700668335,
-0.03794524818658829,
-0.017582688480615616,
-0.07033075392246246,
-0.004006924573332071,
-0.04972495511174202,
-0.08860841393470764,
-0.055979665368795395,
0.03287198394536972,
-0.07352760434150696,
0.047084078192710876,
-0.0696357861161232,
0.02236059308052063,
-0.016870345920324326,
-0.01598426140844822,
0.03825798258185387,
-0.02083166316151619,
0.01832977868616581,
0.019181115552783012,
0.018520895391702652,
-0.012292245402932167,
0.0029210371430963278,
0.027989832684397697,
0.021022779867053032,
-0.027173245325684547,
-0.011797080747783184,
-0.027885587885975838,
0.03130830451846123,
0.0027603257913142443,
0.016470739617943764,
0.05973249301314354,
-0.019615469500422478,
0.01465513650327921,
0.012066380120813847,
0.0031143249943852425,
0.0169832780957222,
-0.01709621027112007,
0.03245500102639198,
-0.01608850806951523,
0.013577936217188835,
-0.03784100338816643,
-0.009911979548633099,
-0.0059289452619850636,
0.04131584241986275,
-0.03229863569140434,
-0.03968266770243645,
-0.030873950570821762,
0.026982130482792854,
-0.002975331386551261,
-0.06039271131157875,
-0.015662839636206627,
-0.013838549144566059,
0.03773675858974457,
-0.02046680450439453,
0.025765934959053993,
0.0424625389277935,
0.037910498678684235,
-0.040551379323005676,
0.040412385016679764,
-0.022951316088438034,
-0.008035566657781601,
0.0175392534583807,
-0.014898374676704407,
-0.04016914591193199,
-0.016444679349660873,
-0.01585395634174347,
0.047153573483228683,
0.027989832684397697,
-0.03379281610250473,
-0.057195860892534256,
0.013795113191008568,
0.003025282174348831,
0.01554122008383274,
-0.012683164328336716,
0.03700704127550125,
-0.05319979414343834,
-0.01327388733625412,
-0.028823794797062874,
-0.05427699536085129,
-0.013204390183091164,
0.00047018923214636743,
-0.03441828489303589,
-0.05354727804660797,
0.07116471230983734,
0.005029830150306225,
-0.008773970417678356,
-0.042810022830963135,
0.010372396558523178,
0.020501554012298584,
-0.011319289915263653,
-0.002970987930893898,
0.019841333851218224,
-0.0061721839010715485,
0.020710043609142303,
0.04360923543572426,
-0.038779210299253464,
0.006619569379836321,
0.04301851615309715,
-0.021769870072603226,
-0.008826092816889286,
-0.015410914085805416,
-0.018295031040906906,
-0.04885624349117279,
0.029345020651817322,
0.04343549534678459,
0.0025692095514386892,
0.023107683286070824,
-0.011927386745810509,
0.07380559295415878,
0.03905719891190529,
0.03528699651360512,
0.019580721855163574,
-0.008300523273646832,
-0.01786067523062229,
-0.0036464098375290632,
-0.03898769989609718,
0.00895639881491661,
0.04948171600699425,
0.07755842059850693,
-0.024584490805864334,
0.019615469500422478,
-0.026877883821725845,
0.12342630326747894,
-0.03839697688817978,
-0.020657921209931374,
0.06327682733535767,
-0.020136695355176926,
-0.07380559295415878,
-0.016627106815576553,
-0.03321946784853935,
0.034487783908843994,
0.033462706953287125,
0.0020707871299237013,
-0.006967053283005953,
0.043921973556280136,
-0.03568660467863083,
-0.020240940153598785,
0.008105063810944557,
0.04482543095946312,
0.025765934959053993,
0.016818223521113396,
0.017878049984574318,
-0.004198040813207626,
0.046284861862659454,
-0.005594491958618164,
0.01774774305522442,
-0.016444679349660873,
-0.056952621787786484,
0.005216603167355061,
0.019441727548837662,
0.019684966653585434,
0.05319979414343834,
0.024567116051912308,
-0.036624807864427567,
-0.012526797130703926,
0.020136695355176926,
-0.009512373246252537,
-0.04659759998321533,
-0.04496442526578903,
-0.023611534386873245,
0.02552269771695137,
-0.0035812566056847572,
0.06602194905281067,
-0.022238973528146744,
0.01240517757833004,
-0.01227487064898014,
0.04986394941806793,
-0.016418617218732834,
-0.010954432189464569,
0.05518045276403427,
0.054450735449790955,
-0.007149482611566782,
0.039022449404001236,
-0.01627962291240692,
-0.03561710566282272,
-0.08019930124282837,
-0.04190656542778015,
-0.021457133814692497,
0.00647188862785697,
-0.005724798422306776,
0.001134752295911312,
0.03153416886925697,
0.03752826899290085,
-0.0201193206012249,
0.001800401252694428,
0.02802458219230175,
0.04385247454047203,
-0.051184386014938354,
0.026217665523290634,
0.005190541502088308,
-0.030908698216080666,
0.016974590718746185,
0.011493031866848469,
-0.03297622874379158,
0.007188574410974979,
0.01872938498854637,
0.004156776703894138,
-0.055562686175107956,
-0.035200126469135284,
0.03801474720239639,
-0.00772283086553216,
-0.004447794519364834,
0.025818059220910072,
-0.04235829412937164,
-0.027659723535180092,
0.024323876947164536,
0.07672446221113205,
-0.01812128908932209,
0.005568430293351412,
0.04593737795948982,
-0.008283148519694805,
0.008196277543902397,
-0.006576133891940117,
0.04159383103251457,
-0.015662839636206627,
-0.09548859298229218,
-0.009399441070854664,
0.034383539110422134,
0.00018283628742210567,
-0.007192918099462986,
0.012318306602537632,
-0.08117225021123886,
-0.0029405830428004265,
0.008826092816889286,
0.037146035581827164,
0.0457288883626461,
0.05177510902285576,
-0.04764005169272423,
0.03191640228033066,
0.016105880960822105,
0.01638386957347393,
-0.07165119051933289,
0.022499587386846542,
0.026669394224882126,
0.019111618399620056,
-0.015350104309618473,
0.04294901713728905,
0.041176848113536835,
0.07352760434150696,
-0.03864021599292755,
-0.004423905164003372,
-0.009938041679561138,
0.019320107996463776,
-0.017296014353632927,
-0.024375999346375465,
-0.022082606330513954,
-0.020345186814665794,
-0.04743156209588051,
0.02792033553123474,
0.008826092816889286,
-0.008283148519694805,
-0.03476576879620552,
-0.014950497075915337,
-0.04701457917690277,
0.007796671241521835,
0.009303882718086243,
-0.010415831580758095,
0.037285029888153076,
-0.011553841643035412,
-0.004647598136216402,
0.05410325154662132,
0.021630875766277313,
-0.0045737577602267265,
0.003149073338136077,
-0.0134736904874444,
0.044234707951545715,
0.03679855167865753,
0.041941314935684204,
-0.05615340918302536,
0.03287198394536972,
-0.062199629843235016,
0.002356375567615032,
0.004026470240205526,
0.03420979529619217,
-0.01888575404882431,
-0.03174265846610069,
0.006606538780033588,
-0.015402226708829403,
0.04110735282301903,
0.03773675858974457,
-0.015176362358033657,
0.01258760690689087,
-0.027590226382017136,
-0.0044695124961435795,
-0.043574489653110504,
-0.031047692522406578,
-0.02185674197971821,
0.03735452517867088,
-0.059037525206804276,
-0.03431404009461403,
-0.030908698216080666,
-0.015358790755271912,
-0.03354957699775696,
0.019737089052796364,
0.01066775806248188,
0.01005966030061245,
-0.0030448283068835735,
-0.004048188216984272,
0.023542039096355438,
0.0266520194709301,
-0.03189902752637863,
0.016105880960822105,
0.014993933029472828,
0.057612840086221695,
0.0021022779401391745,
0.012005571275949478,
0.0006118975579738617,
-0.009295196272432804,
0.023003438487648964,
-0.03864021599292755,
-0.045450903475284576,
-0.052087847143411636,
0.014003603719174862,
-0.033462706953287125,
-0.0288411695510149,
-0.011718896217644215,
-0.08742696791887283,
-0.03818848729133606,
-0.015515158884227276,
0.03777150809764862,
-0.021960986778140068,
-0.022986063733696938,
0.029588259756565094,
0.005968037061393261,
-0.006593508180230856,
-0.0063198646530508995,
0.038570720702409744,
-0.01867726258933544,
-0.0031946806702762842,
-0.026964755728840828,
0.04371348395943642,
-0.03523487225174904,
-0.038779210299253464,
0.05830780789256096,
-0.026148168370127678,
0.06755088269710541,
0.019320107996463776,
-0.019737089052796364,
0.019667591899633408,
0.007153825834393501,
-0.013925420120358467,
-0.024184884503483772,
-0.01696590520441532,
-0.008782656863331795,
-0.040203895419836044,
0.027538103982806206,
0.00209684856235981,
0.03523487225174904,
0.049898695200681686,
-0.04267103224992752,
-0.009017208591103554,
-0.027746593579649925,
-0.026269787922501564,
0.0418718159198761,
-0.04524241015315056,
-0.04343549534678459,
-0.08680149167776108,
-0.016236187890172005,
0.020154070109128952,
-0.042601533234119415,
0.008878215216100216,
0.007427469827234745,
-0.022395340725779533,
-0.02894541434943676,
-0.047153573483228683,
-0.021092277020215988,
0.053825266659259796,
0.10111783444881439,
-0.0717901885509491,
0.03947417810559273,
0.07151219993829727,
0.08833042532205582,
-0.000014659479347756132,
0.029744626954197884,
-0.05142762511968613,
-0.027677098289132118,
-0.04506867006421089,
0.027016878128051758,
-0.026096045970916748,
-0.079434834420681,
0.02241271547973156,
-0.040099650621414185,
-0.0870794802904129,
-0.022482212632894516,
0.051184386014938354,
0.007879198528826237,
0.030387472361326218,
-0.03909194469451904,
-0.012856906279921532,
0.0007823818596079946,
-0.04746630787849426,
-0.0023476884234696627,
-0.038362231105566025,
0.026617271825671196,
-0.003253318602219224,
-0.02460186369717121,
0.00277552823536098,
-0.0026647676713764668,
-0.06775937229394913,
0.011936074122786522,
-0.03797999769449234,
0.006576133891940117,
-0.014359774999320507,
-0.026669394224882126,
0.04590263217687607,
-0.04930797591805458,
0.05479821935296059,
0.03153416886925697,
-0.034331414848566055,
0.031551543623209,
0.10438418388366699,
-0.013612683862447739,
0.03148204833269119,
0.0067107840441167355,
0.014603013172745705,
-0.023872148245573044,
-0.012153251096606255,
0.03434878960251808,
0.009920666925609112,
0.0070495810359716415,
-0.04110735282301903,
0.029379768297076225,
-0.006958366371691227,
-0.010945744812488556,
-0.013534500263631344,
-0.038883455097675323,
-0.0047909351997077465,
0.012830845080316067,
-0.08124174922704697,
0.017078837379813194,
-0.020206192508339882,
0.03825798258185387,
-0.0008562221773900092,
0.019163740798830986,
-0.02199573442339897,
-0.01888575404882431,
0.02031043730676174,
0.03261137008666992,
0.01370824221521616,
0.06845434010028839,
-0.03268086537718773,
-0.05135812982916832,
-0.025765934959053993,
-0.052296336740255356,
-0.0031903372146189213,
-0.0030774048063904047,
0.019789211452007294,
-0.015098177827894688,
0.014898374676704407,
0.018851004540920258,
-0.0005312704015523195,
-0.025748562067747116,
0.002888460410758853,
-0.009477624669671059,
0.0760989859700203,
-0.048925742506980896,
0.007344942074269056,
-0.014646449126303196,
0.024289129301905632,
0.07964332401752472,
-0.006111374124884605,
0.032958853989839554,
-0.02567906491458416,
-0.03568660467863083,
-0.04180232062935829,
-0.06768987327814102,
0.007132108323276043,
0.0069192745722830296,
0.014429271221160889,
-0.02541845105588436,
-0.02302081324160099,
-0.07589049637317657,
-0.0068150293081998825,
0.016766101121902466,
-0.0009132312843576074,
-0.005989754572510719,
-0.026252413168549538,
-0.02496672235429287,
0.028545808047056198,
0.009859857149422169,
-0.018764134496450424,
0.03202064707875252,
0.0223084706813097,
-0.00962530542165041,
0.03288935869932175,
-0.0051818545907735825,
0.024792980402708054,
-0.0024627926759421825,
-0.04645860567688942,
-0.008035566657781601,
0.01601032353937626,
0.010910996235907078,
0.007470905315130949,
-0.013386819511651993,
0.023090308532118797,
-0.01207506749778986,
-0.011849203146994114,
-0.03572135046124458,
-0.037285029888153076,
0.024341251701116562,
0.0012672306038439274,
-0.028458936139941216,
-0.01672266609966755,
-0.04034288972616196,
-0.09354268014431,
0.025244709104299545,
0.003498729085549712,
-0.039439428597688675,
-0.04795278608798981,
-0.021266018971800804,
-0.09479362517595291,
-0.016071133315563202,
0.012935090810060501,
0.049342721700668335,
0.02164825052022934,
-0.005042861215770245,
-0.006823716219514608,
-0.032906729727983475,
0.001662493566982448,
0.03773675858974457,
0.06167840212583542,
0.03073495626449585,
0.05841205269098282,
0.009607931599020958,
0.017400259152054787,
-0.03561710566282272,
-0.015567281283438206,
-0.04079461842775345,
-0.03832748159766197,
-0.00017401344666723162,
0.0010636267252266407,
0.0036355508491396904,
0.07172068953514099,
0.006589164491742849,
-0.025453200563788414,
-0.03874446079134941,
0.05959349870681763,
0.019285360351204872,
-0.07380559295415878,
-0.053686272352933884,
-0.011944761499762535,
-0.049551211297512054,
0.025818059220910072,
-0.015436975285410881,
-0.038883455097675323,
0.03930043429136276,
-0.02628716081380844,
0.018659887835383415,
-0.019667591899633408,
0.001308494247496128,
-0.04830026999115944,
0.012179313227534294,
-0.01725257933139801,
-0.006437140516936779,
0.025279458612203598,
0.017322074621915817,
0.027833465486764908,
-0.038362231105566025,
0.059246014803647995,
0.004673659335821867,
0.0034683241974562407,
-0.06160890683531761,
0.019007373601198196,
-0.03488738834857941,
0.024984097108244896,
-0.06365906447172165,
-0.030439594760537148,
0.01640992984175682,
0.03353220224380493,
-0.056188154965639114,
0.01131060253828764,
-0.026408780366182327,
-0.004565070383250713,
0.04333125054836273,
-0.06595245748758316,
-0.02680838853120804,
-0.04430420696735382,
0.026061296463012695,
-0.017469756305217743,
-0.06150466203689575,
-0.030439594760537148,
-0.0035226186737418175,
-0.011605964042246342,
0.03445303440093994,
-0.029292898252606392,
-0.028146201744675636,
-0.07106047123670578,
0.03488738834857941,
-0.0018916158005595207,
0.016027698293328285,
0.07057399302721024,
-0.030717581510543823,
-0.004947302863001823,
-0.041176848113536835,
0.011223731562495232,
0.058481551706790924,
-0.021908864378929138,
0.06233862414956093,
0.020136695355176926,
-0.0028819451108574867,
-0.025279458612203598,
-0.053582027554512024,
0.027433859184384346,
-0.015384851954877377,
-0.059906236827373505,
0.045555148273706436,
0.015384851954877377,
-0.008895589038729668,
-0.10368921607732773,
0.007284132763743401,
-0.03742402419447899,
-0.013204390183091164,
0.07797539979219437,
-0.012752661481499672,
-0.006198245100677013,
0.013438941910862923,
-0.020640546455979347,
0.04287952184677124,
0.033306337893009186,
0.025053594261407852,
0.001120635773986578,
0.018659887835383415,
-0.021926237270236015,
0.026426155120134354,
0.020206192508339882,
0.017400259152054787,
0.014498768374323845,
-0.005802982021123171,
-0.0064241099171340466,
0.007027863059192896,
0.043261751532554626,
0.0034248887095600367,
-0.030960820615291595,
0.06133091822266579,
-0.015254545956850052,
-0.0034943856298923492,
0.030873950570821762,
-0.033063098788261414,
0.011388787068426609,
-0.01975446380674839,
-0.008656694553792477,
0.030439594760537148,
0.030821828171610832,
0.005381657741963863,
0.003542164573445916,
-0.0495164655148983,
-0.011510406620800495,
-0.012969838455319405,
0.049134232103824615,
0.06254711002111435,
-0.005255694966763258,
0.021109649911522865,
0.003144729882478714,
0.07345811277627945,
-0.026217665523290634,
0.0002853168989531696,
0.0034813550300896168,
0.004873462487012148,
0.08193671703338623,
-0.04638911038637161,
0.07053924351930618,
0.005568430293351412,
0.024410748854279518,
-0.028875917196273804,
0.01390804536640644,
-0.030491717159748077,
0.05528469756245613,
0.01696590520441532,
-0.0017971436027437449,
0.027798717841506004,
0.008930337615311146,
-0.006428453139960766,
0.06550072878599167,
0.11390524357557297,
-0.034296665340662,
0.01385592296719551,
0.013386819511651993,
0.062303874641656876,
-0.06133091822266579,
-0.056639887392520905,
0.002211952582001686,
0.010606948286294937,
0.05702211707830429,
-0.006784624420106411,
0.031464673578739166,
-0.018955249339342117,
0.03170791268348694
] |
21,665 | magic_filter.magic | __getitem__ | null | def __getitem__(self: MagicT, item: Any) -> MagicT:
if isinstance(item, MagicFilter):
return self._extend(SelectorOperation(inner=item))
return self._extend(GetItemOperation(key=item))
| (self: ~MagicT, item: Any) -> ~MagicT | [
0.033074263483285904,
-0.0502336211502552,
0.011506759561598301,
0.014644170179963112,
0.0010478118201717734,
-0.02758817933499813,
0.015222575515508652,
-0.034231074154376984,
0.09647098928689957,
-0.03463420644402504,
0.018438858911395073,
0.04164518043398857,
0.024713680148124695,
-0.0074929771944880486,
-0.0092369569465518,
0.03894595429301262,
-0.06755072623491287,
0.09002089500427246,
0.025502413511276245,
0.04104924574494362,
0.008991573005914688,
0.03275877237319946,
0.04823549464344978,
0.0314967967569828,
0.053879328072071075,
0.02559005096554756,
0.02916564792394638,
-0.0047718435525894165,
0.045185722410678864,
-0.07662993669509888,
-0.01658095046877861,
-0.008549004793167114,
0.026028236374258995,
0.010551514104008675,
-0.012724915519356728,
0.0003617771726567298,
-0.02378472499549389,
0.05342361330986023,
0.004022545646876097,
0.03701793774962425,
-0.046447694301605225,
-0.0518110916018486,
0.0028460167814046144,
-0.025712743401527405,
0.01254964154213667,
0.012155274860560894,
0.045606378465890884,
0.05699921026825905,
0.031391631811857224,
-0.013469832018017769,
-0.00548608647659421,
0.004986554384231567,
0.007457922678440809,
-0.000364515813998878,
-0.0591726116836071,
0.0004097037308383733,
-0.01382038090378046,
0.04111935570836067,
0.0272201020270586,
0.10495426505804062,
0.019770944491028786,
0.02469615265727043,
-0.012908954173326492,
0.001455872319638729,
0.015205048024654388,
-0.0693034678697586,
-0.05279262736439705,
0.028815098106861115,
-0.059768546372652054,
0.029078010469675064,
0.010691734030842781,
-0.002207360928878188,
0.01994621753692627,
0.005385303404182196,
-0.045396048575639725,
-0.06597325950860977,
-0.01039376761764288,
-0.03510744869709015,
0.08763716369867325,
-0.015152465552091599,
-0.01627422124147415,
0.0261684563010931,
-0.02979663573205471,
0.021436050534248352,
-0.039611998945474625,
0.0251168105751276,
-0.04154001548886299,
-0.03263607993721962,
-0.0346517339348793,
0.01727328449487686,
-0.020016327500343323,
0.025765325874090195,
-0.0591726116836071,
0.03074311651289463,
-0.025993183255195618,
0.02504670061171055,
0.03074311651289463,
-0.03181229159235954,
0.004156192298978567,
0.029971908777952194,
-0.005543050356209278,
0.02469615265727043,
-0.0019334949320182204,
-0.016440732404589653,
0.026466423645615578,
-0.023854834958910942,
0.0035427322145551443,
0.02785108983516693,
-0.025081755593419075,
0.008781244046986103,
0.04830560460686684,
0.08174794167280197,
-0.04448462277650833,
-0.001877626171335578,
0.0009941341122612357,
0.0322154201567173,
0.011708324775099754,
-0.03554563224315643,
-0.002942417748272419,
-0.011874835938215256,
-0.0163706224411726,
-0.041820455342531204,
-0.001683729002252221,
0.04280199110507965,
0.0013167483266443014,
-0.037403542548418045,
0.0031943744979798794,
-0.010428822599351406,
0.006594696547836065,
-0.004335848614573479,
-0.061451178044080734,
-0.01091959048062563,
-0.035142503678798676,
0.01487202662974596,
0.004469495266675949,
0.0025852962862700224,
0.01529268454760313,
-0.006292348261922598,
-0.10130856186151505,
0.05517635866999626,
-0.0334598682820797,
0.009859181009232998,
-0.00797498133033514,
0.016712406650185585,
-0.04928714036941528,
-0.06975918263196945,
-0.0018086119089275599,
0.025204448029398918,
0.05254724249243736,
-0.029761580750346184,
-0.058085910975933075,
0.04111935570836067,
0.003661042544990778,
0.048025164753198624,
-0.022855771705508232,
0.01984105445444584,
-0.02764076180756092,
-0.03342481330037117,
0.00024689032579772174,
0.0006057918653823435,
0.011401594616472721,
-0.007957454770803452,
-0.03507239371538162,
0.017176883295178413,
0.015038536861538887,
0.01184854470193386,
-0.0565434955060482,
-0.022698024287819862,
-0.003065109718590975,
0.018193474039435387,
0.029288340359926224,
-0.03153185173869133,
-0.020962810143828392,
-0.015765925869345665,
-0.025607578456401825,
0.07950443029403687,
-0.04315253719687462,
0.010595332831144333,
0.01324197556823492,
-0.0507594458758831,
0.00015569289098493755,
-0.008251038379967213,
-0.025239503011107445,
-0.02869240753352642,
0.02806141972541809,
0.0269571915268898,
0.005332721397280693,
0.021874235942959785,
-0.003321448341012001,
0.07070565968751907,
0.021015390753746033,
0.00392176304012537,
0.019490504637360573,
-0.04578165337443352,
-0.04395880177617073,
-0.007909254170954227,
-0.031181301921606064,
0.012190328910946846,
0.05412471294403076,
0.08490288257598877,
-0.06874258816242218,
-0.007322085089981556,
-0.021015390753746033,
0.0875670537352562,
-0.05770030617713928,
-0.01609894633293152,
0.09583999961614609,
0.045080557465553284,
-0.0707407146692276,
-0.012006291188299656,
-0.07256357371807098,
0.009850417263805866,
0.02509928308427334,
-0.002692651702091098,
0.01753619685769081,
0.04837571457028389,
-0.07347499579191208,
-0.02795625478029251,
0.02546735852956772,
0.04441451281309128,
0.023819779977202415,
-0.001586232683621347,
-0.007041646167635918,
-0.004561514127999544,
0.05163581669330597,
-0.013645105995237827,
-0.005293284542858601,
-0.026396313682198524,
-0.01715935580432415,
-0.03147926926612854,
0.037298377603292465,
-0.0052275569178164005,
0.040032655000686646,
-0.0017626024782657623,
-0.008198456838726997,
-0.006498295813798904,
0.04336286708712578,
-0.005560577847063541,
-0.013583759777247906,
0.015257629565894604,
0.0021471104118973017,
0.006888281088322401,
0.020594732835888863,
0.023679561913013458,
-0.05310812219977379,
0.033880528062582016,
0.032618552446365356,
0.03978727012872696,
0.02953372336924076,
0.026361258700489998,
0.03479195386171341,
0.04238133132457733,
0.013890489935874939,
0.022557806223630905,
-0.003720197593793273,
0.01132272183895111,
-0.056823935359716415,
-0.045711543411016464,
-0.0074272495694458485,
-0.02178659848868847,
-0.06004898250102997,
0.055456794798374176,
0.058085910975933075,
0.0226804967969656,
-0.06670940667390823,
0.01237436756491661,
0.038665514439344406,
0.042661771178245544,
-0.0016464832006022334,
0.04984801635146141,
0.015406613238155842,
0.018298638984560966,
0.03754375874996185,
0.02604576386511326,
-0.02927081286907196,
-0.009035391733050346,
-0.006480768322944641,
0.021120555698871613,
-0.08798771351575851,
-0.03184734657406807,
0.01978847198188305,
0.03579101711511612,
-0.029814163222908974,
-0.013128046877682209,
-0.04399385675787926,
-0.04823549464344978,
0.07263368368148804,
0.1003270223736763,
-0.026939664036035538,
-0.040663644671440125,
-0.01753619685769081,
-0.015082355588674545,
0.04185551032423973,
-0.00823789369314909,
-0.01534526702016592,
-0.0007312225643545389,
-0.12220125645399094,
-0.038560353219509125,
0.04346803203225136,
-0.003573405323550105,
-0.02020912989974022,
-0.04553626850247383,
-0.08364091068506241,
-0.013399722054600716,
0.05380921810865402,
0.06839203834533691,
0.022189728915691376,
0.04816538468003273,
-0.019139956682920456,
0.01743103191256523,
0.009569978341460228,
-0.007786561734974384,
-0.03978727012872696,
-0.016309276223182678,
-0.02706235647201538,
-0.007116137538105249,
-0.050023291260004044,
0.042766936123371124,
0.04921703040599823,
0.09471824765205383,
-0.01568705216050148,
0.004136473871767521,
-0.03512497618794441,
0.016028836369514465,
0.011822253465652466,
-0.03058536909520626,
-0.04939230531454086,
-0.028604770079255104,
-0.06222238391637802,
0.050408896058797836,
0.01342601329088211,
0.024257967248558998,
-0.01168203353881836,
-0.009552450850605965,
-0.03265360742807388,
-0.025607578456401825,
0.037824198603630066,
0.0224175862967968,
0.011401594616472721,
-0.007365903351455927,
-0.013180629350244999,
0.00821598432958126,
0.0406285896897316,
0.011760907247662544,
0.01648455113172531,
-0.01131395809352398,
0.033021681010723114,
0.006410658359527588,
0.031829819083213806,
-0.03764892369508743,
0.04949747025966644,
-0.06120579317212105,
0.027605706825852394,
-0.0005096648819744587,
0.055141303688287735,
-0.03617662191390991,
-0.030602896586060524,
-0.03470431640744209,
-0.038455188274383545,
0.009990636259317398,
0.10236020386219025,
0.004377476405352354,
0.03249586001038551,
-0.01743103191256523,
0.017238229513168335,
-0.01610771007835865,
-0.016589714214205742,
-0.0020025090780109167,
-0.00874180719256401,
-0.09142308682203293,
-0.028920263051986694,
-0.05247713252902031,
-0.0031921835616230965,
-0.017913036048412323,
0.023206321522593498,
-0.03204014524817467,
-0.008071382530033588,
0.020542150363326073,
-0.010455113835632801,
0.037193212658166885,
0.052021417766809464,
0.027500541880726814,
0.015836035832762718,
0.020174074918031693,
0.04749934375286102,
0.019595669582486153,
-0.03810463845729828,
0.0337928906083107,
0.03349492326378822,
0.029463613405823708,
-0.04557132348418236,
-0.012041346170008183,
-0.03445893153548241,
-0.04157507047057152,
-0.0644308403134346,
-0.004487022757530212,
-0.003463858738541603,
-0.048025164753198624,
-0.05973349139094353,
-0.01715935580432415,
0.0251168105751276,
-0.0028065801598131657,
-0.003374030813574791,
0.03442387655377388,
0.049076810479164124,
-0.04504550248384476,
0.004399385768920183,
0.029866745695471764,
-0.01447765901684761,
0.010718025267124176,
-0.01610771007835865,
-0.019753417000174522,
-0.011094864457845688,
0.03586112707853317,
0.007659487891942263,
-0.04795505478978157,
0.05405460298061371,
0.04041825979948044,
-0.03922639414668083,
0.04175034537911415,
0.03542293980717659,
-0.01184854470193386,
-0.026361258700489998,
-0.028709935024380684,
0.018193474039435387,
-0.0560176745057106,
0.019332757219672203,
0.0074009583331644535,
0.005442267749458551,
0.018035728484392166,
-0.05047900602221489,
-0.09037144482135773,
-0.009605033323168755,
0.004986554384231567,
0.012102692387998104,
-0.022031983360648155,
-0.04567648842930794,
-0.07691037654876709,
0.031286466866731644,
0.020647315308451653,
0.00808014627546072,
0.01973588950932026,
0.011822253465652466,
-0.05612283945083618,
-0.028499605134129524,
-0.04353814199566841,
0.0002608574868645519,
0.059453051537275314,
0.036877717822790146,
-0.06779611110687256,
0.07684026658535004,
0.0544402040541172,
0.07655982673168182,
0.02099786326289177,
0.0865154042840004,
-0.0314967967569828,
-0.02362697944045067,
0.013496123254299164,
0.030550314113497734,
-0.013890489935874939,
-0.037929363548755646,
0.010113328695297241,
-0.02362697944045067,
-0.08434200286865234,
0.013355903327465057,
0.02769334241747856,
-0.02806141972541809,
0.041294630616903305,
-0.017983146011829376,
-0.006822552997618914,
-0.05854162573814392,
-0.02748301438987255,
-0.08399145305156708,
-0.015774689614772797,
0.03475689888000488,
0.01894715428352356,
-0.0022566569969058037,
0.02062978781759739,
0.006138983182609081,
-0.036667387932538986,
-0.01921006664633751,
-0.04714879393577576,
-0.011839780956506729,
-0.03652716800570488,
-0.06502677500247955,
-0.0047981347888708115,
0.005994381848722696,
0.05521141365170479,
0.02336406707763672,
0.0045790416188538074,
0.04353814199566841,
0.07992509007453918,
-0.0280088372528553,
0.04006770998239517,
0.03063795156776905,
-0.0032447660341858864,
-0.029621360823512077,
0.015240103006362915,
0.05068933591246605,
0.011182501912117004,
0.020296767354011536,
-0.013943072408437729,
0.003117691958323121,
-0.0015708961291238666,
0.01081442553550005,
-0.06432567536830902,
-0.04949747025966644,
-0.004583423491567373,
-0.014679225161671638,
-0.07789190858602524,
0.0009601746569387615,
-0.038875844329595566,
0.012041346170008183,
0.004449776839464903,
0.029831690713763237,
-0.02105044573545456,
-0.01852649636566639,
0.035563159734010696,
0.0034397586714476347,
-0.00889517180621624,
0.06670940667390823,
-0.020559677854180336,
-0.026887081563472748,
-0.03407333046197891,
0.012689861468970776,
-0.0029906181152909994,
-0.011831017211079597,
-0.013250739313662052,
-0.010122092440724373,
-0.0004606428265105933,
-0.02115561068058014,
-0.01063038781285286,
-0.02927081286907196,
0.0017253566766157746,
-0.03160196170210838,
0.024871427565813065,
0.0019192538456991315,
0.010884535498917103,
0.009193138219416142,
0.020770007744431496,
0.07578861713409424,
0.03989243507385254,
0.04795505478978157,
-0.0670599564909935,
0.00847451388835907,
0.005630687810480595,
-0.02388988994061947,
-0.008461368270218372,
-0.002083573490381241,
0.03473937138915062,
-0.02895531803369522,
-0.06264304369688034,
-0.027027301490306854,
0.017816634848713875,
0.034231074154376984,
0.01131395809352398,
-0.03340728580951691,
-0.01132272183895111,
-0.042346276342868805,
0.02464357018470764,
0.011822253465652466,
0.01573963463306427,
0.016467023640871048,
0.034774426370859146,
0.007300175726413727,
-0.010507695376873016,
0.013180629350244999,
0.007541177794337273,
0.012462004087865353,
-0.040979135781526566,
0.016545895487070084,
-0.030410096049308777,
0.0038757536094635725,
0.04953252524137497,
-0.012435713782906532,
0.015494250692427158,
0.008969663642346859,
-0.02459098771214485,
-0.05079450085759163,
-0.05780547112226486,
-0.01715935580432415,
0.01672993414103985,
0.031672071665525436,
-0.013057936914265156,
-0.005858544260263443,
-0.08497299253940582,
0.05086461082100868,
0.004081700928509235,
-0.06432567536830902,
-0.01366263348609209,
0.0395769439637661,
-0.07908377796411514,
-0.015240103006362915,
0.05412471294403076,
0.04704362899065018,
-0.013233211822807789,
-0.03063795156776905,
-0.0035427322145551443,
-0.036562222987413406,
-0.014880790375173092,
-0.014547768980264664,
0.02073495276272297,
0.034616678953170776,
-0.02457346022129059,
0.006432567723095417,
-0.025817908346652985,
-0.022137146443128586,
0.009885472245514393,
-0.004728024825453758,
-0.07634949684143066,
0.016764989122748375,
0.02657158672809601,
0.009280775673687458,
0.07235324382781982,
0.0062792026437819,
-0.032127782702445984,
-0.03863045945763588,
0.0637647956609726,
0.03305673599243164,
-0.039506834000349045,
-0.06106557324528694,
0.020822590216994286,
-0.04585176333785057,
0.028254220262169838,
-0.02457346022129059,
-0.0738956555724144,
0.05153065174818039,
-0.07578861713409424,
0.025923073291778564,
-0.015047300606966019,
0.01715059205889702,
-0.009403467178344727,
0.02711493894457817,
0.03617662191390991,
-0.02078753523528576,
0.0026948426384478807,
0.003577787196263671,
0.039191339164972305,
-0.06288842856884003,
0.046447694301605225,
-0.0007838048622943461,
0.018719298765063286,
-0.00799689069390297,
-0.004237256944179535,
0.002534904982894659,
-0.027780979871749878,
-0.04921703040599823,
0.000013470790690917056,
0.04259166121482849,
0.0507594458758831,
-0.024240439757704735,
0.0324082225561142,
-0.0395769439637661,
0.033617615699768066,
-0.005823489278554916,
-0.02537972293794155,
0.05153065174818039,
-0.02806141972541809,
-0.001844762242399156,
-0.012181565165519714,
-0.0369478277862072,
0.005139919463545084,
-0.02806141972541809,
-0.034984756261110306,
0.017772816121578217,
-0.062187328934669495,
-0.032180365175008774,
-0.051670871675014496,
0.012654806487262249,
0.05437009409070015,
0.03263607993721962,
-0.009298303164541721,
-0.09871450066566467,
0.03873562440276146,
0.017658887431025505,
-0.0358961820602417,
0.06835698336362839,
-0.04041825979948044,
0.03174218162894249,
0.01278626173734665,
0.009718961082398891,
-0.05479075387120247,
-0.016887681558728218,
0.07754135876893997,
-0.016502076759934425,
-0.02410021983087063,
-0.014574060216546059,
-0.028043892234563828,
-0.0063274032436311245,
-0.09464813768863678,
0.05952316150069237,
-0.027710869908332825,
0.006344930734485388,
0.0027868617326021194,
-0.026133401319384575,
0.042872101068496704,
-0.017816634848713875,
-0.0500934012234211,
0.0056350696831941605,
0.033074263483285904,
0.020244184881448746,
0.020226657390594482,
0.0432577021420002,
-0.04525583237409592,
0.03631684184074402,
0.007002209313213825,
-0.015266393311321735,
-0.011708324775099754,
0.030445151031017303,
-0.012523350305855274,
-0.017334630712866783,
0.040242984890937805,
0.008386876434087753,
-0.005306430160999298,
0.05118010193109512,
0.021173138171434402,
-0.02173401601612568,
0.020770007744431496,
-0.016922736540436745,
0.013329612091183662,
-0.005012845620512962,
-0.04311748221516609,
0.0011047759326174855,
0.06457106024026871,
0.04711373895406723,
0.02278566174209118,
0.00842193141579628,
-0.025782853364944458,
-0.03810463845729828,
0.04406396672129631,
0.06372974812984467,
-0.0014153402298688889,
0.02359192445874214,
-0.05510624870657921,
0.04374847188591957,
-0.040768809616565704,
0.010884535498917103,
-0.038875844329595566,
0.020401932299137115,
0.022172201424837112,
-0.02858724258840084,
0.05668371543288231,
-0.0011436649365350604,
0.01984105445444584,
-0.06302864849567413,
-0.008974045515060425,
0.023399122059345245,
0.026939664036035538,
0.0023574396036565304,
0.013294557109475136,
0.002142728539183736,
0.04872626066207886,
0.0037289613392204046,
0.05615789443254471,
0.0761391669511795,
0.008430695161223412,
0.006235383916646242,
0.0075192684307694435,
0.01737844944000244,
-0.05184614658355713,
-0.04136474058032036,
0.002333339536562562,
0.0245208777487278,
0.019753417000174522,
-0.04052342474460602,
-0.010034454986453056,
0.008487659506499767,
0.03414343670010567
] |
21,666 | magic_filter.magic | __gt__ | null | def __gt__(self: MagicT, other: Any) -> MagicT:
return self._extend(ComparatorOperation(right=other, comparator=operator.gt))
| (self: ~MagicT, other: Any) -> ~MagicT | [
0.02209855057299137,
-0.017733829095959663,
0.03053586557507515,
0.0307077057659626,
-0.008334212005138397,
-0.060762420296669006,
-0.04041663184762001,
-0.0017828340642154217,
0.008372875861823559,
-0.0597313828766346,
0.037667203694581985,
-0.002149066887795925,
0.04625917226076126,
-0.03380081430077553,
-0.031223222613334656,
0.04842434823513031,
-0.02636016719043255,
0.015525692142546177,
0.04354410991072655,
0.0213596411049366,
0.01859302632510662,
0.0024229357950389385,
0.0034088646061718464,
-0.0010890323901548982,
0.04818377643823624,
0.05887218564748764,
-0.007109856233000755,
-0.01184832863509655,
-0.008617747575044632,
-0.0055718934163451195,
-0.0493866503238678,
-0.05471367388963699,
0.008815362118184566,
-0.0590783953666687,
-0.004018894396722317,
-0.05155182629823685,
-0.008037788793444633,
0.07588429003953934,
-0.02780361846089363,
0.01732141338288784,
0.031257592141628265,
-0.0627557560801506,
-0.019314751029014587,
-0.02496826834976673,
0.008742330595850945,
-0.021411191672086716,
0.01096335519105196,
0.0058339484967291355,
0.018782049417495728,
0.0066115218214690685,
0.005636333022266626,
-0.039969850331544876,
0.036464326083660126,
0.016831671819090843,
-0.07719027251005173,
0.030621785670518875,
0.03307908773422241,
0.051517460495233536,
-0.011813960038125515,
0.05801298841834068,
-0.021565847098827362,
0.05760057643055916,
-0.04285675287246704,
-0.04309732839465141,
0.02479642815887928,
-0.025208843871951103,
-0.08337648957967758,
0.023971600458025932,
-0.025518154725432396,
0.06553955376148224,
-0.06512714177370071,
0.00544730992987752,
0.02847379259765148,
0.04144766926765442,
-0.05443872883915901,
-0.02086130529642105,
-0.015482732094824314,
-0.02716781385242939,
0.041069623082876205,
-0.0460529662668705,
0.016934774816036224,
0.004106962122023106,
0.05117378011345863,
-0.01328318752348423,
-0.026325799524784088,
-0.004983343183994293,
0.01006119791418314,
-0.02416062355041504,
0.026806950569152832,
-0.008514643646776676,
-0.06368368864059448,
0.010739964433014393,
-0.0005627741338685155,
-0.012991060502827168,
0.04378468543291092,
0.02132527343928814,
-0.028594080358743668,
0.024882348254323006,
0.0028417943976819515,
0.0333712175488472,
0.04612170159816742,
0.02319832146167755,
0.012484134174883366,
0.018094690516591072,
0.07512819766998291,
0.0025260394904762506,
0.020311420783400536,
-0.03708294779062271,
-0.06667369604110718,
0.009691743180155754,
-0.03142943233251572,
0.046774692833423615,
-0.010413468815386295,
-0.018283715471625328,
0.028319137170910835,
0.046774692833423615,
0.01866176165640354,
-0.02582746557891369,
0.05086446925997734,
-0.008278364315629005,
0.013729969970881939,
-0.038732606917619705,
0.06454288959503174,
0.015499915927648544,
-0.05103630945086479,
0.01473523024469614,
0.0440596267580986,
-0.031515348702669144,
-0.08083326369524002,
-0.016032617539167404,
0.011324218474328518,
-0.0013596795033663511,
-0.02249378152191639,
0.044300202280282974,
-0.00361292390152812,
-0.019744349643588066,
0.032322995364665985,
0.04031353071331978,
0.010198669508099556,
-0.01189988013356924,
0.01069700438529253,
-0.0068821688182652,
0.031859029084444046,
-0.03046713024377823,
-0.05347643047571182,
-0.033319663256406784,
-0.06564266234636307,
0.05162056162953377,
0.04086341708898544,
-0.007844469510018826,
-0.057188160717487335,
0.017467478290200233,
0.04144766926765442,
-0.009769070893526077,
0.010516572743654251,
0.05691321939229965,
0.013635458424687386,
-0.0604187436401844,
-0.008789586834609509,
0.011496057733893394,
0.0241949912160635,
0.0005233047413639724,
-0.018283715471625328,
-0.01781974919140339,
0.012836405076086521,
-0.02355918474495411,
0.03333684802055359,
-0.008080748841166496,
-0.04388779029250145,
0.029126781970262527,
0.05117378011345863,
-0.04646538197994232,
0.006701737642288208,
-0.016006842255592346,
-0.0407259427011013,
0.020947225391864777,
0.007517974823713303,
0.05388884246349335,
0.00981203094124794,
0.010224445722997189,
0.025088556110858917,
-0.00013680028496310115,
-0.028181666508316994,
-0.03914502263069153,
0.04979906603693962,
-0.03948869928717613,
0.018936704844236374,
-0.01564597897231579,
-0.02813011407852173,
0.036395590752363205,
-0.01512186974287033,
-0.014889886602759361,
0.006847801152616739,
-0.021153433248400688,
0.02376539260149002,
0.02553533762693405,
-0.027923906221985817,
0.03697984293103218,
0.07863371819257736,
0.07382221519947052,
-0.0674297884106636,
0.003350868821144104,
0.006929424591362476,
-0.004523672629147768,
0.035295818001031876,
0.014408735558390617,
0.02649763971567154,
0.018214978277683258,
-0.03146379813551903,
-0.06151851266622543,
-0.007131336256861687,
-0.014331407845020294,
-0.04124146327376366,
-0.006886465009301901,
0.00041241460712626576,
0.012844997458159924,
-0.00009108831727644429,
-0.03392110392451286,
-0.012716117314994335,
0.018971072509884834,
0.0580817274749279,
-0.04041663184762001,
-0.03180747851729393,
-0.0013553834287449718,
0.054816775023937225,
0.037495363503694534,
-0.01321445219218731,
-0.0357082337141037,
-0.016238825395703316,
-0.00016861743642948568,
0.05650080367922783,
0.0135151706635952,
0.029985979199409485,
-0.03612064570188522,
-0.03311345726251602,
0.003716027596965432,
-0.0012372438795864582,
0.005876908544450998,
-0.08048958331346512,
0.02330142632126808,
-0.012157639488577843,
0.03952306881546974,
0.02178923971951008,
0.04976469650864601,
-0.012406806461513042,
-0.08963144570589066,
0.007986237294971943,
0.013094164431095123,
0.06117483600974083,
0.06083115562796593,
-0.03046713024377823,
-0.05412941798567772,
0.02213291823863983,
-0.02149711176753044,
-0.013918993063271046,
0.0011191042140126228,
-0.04409399628639221,
-0.09121236950159073,
0.02553533762693405,
0.013833073899149895,
-0.003316500922665,
0.04708400368690491,
-0.03921375796198845,
0.003913642838597298,
-0.04124146327376366,
0.0019041956402361393,
0.011891287751495838,
0.009236369282007217,
0.0036945475731045008,
0.030020346865057945,
-0.03790777549147606,
-0.0493866503238678,
-0.018438370898365974,
-0.011401546187698841,
-0.03435070067644119,
-0.0007458904874511063,
0.04168824478983879,
-0.035055242478847504,
-0.057291265577077866,
-0.09148731082677841,
0.0018419037805870175,
-0.044437676668167114,
-0.04045100137591362,
-0.028920575976371765,
-0.08392637223005295,
0.04309732839465141,
-0.0380452498793602,
-0.045399975031614304,
-0.03807961568236351,
-0.05409505218267441,
0.0236966572701931,
0.0076425583101809025,
0.010370509698987007,
0.028886206448078156,
0.06114046648144722,
-0.052685968577861786,
-0.036567430943250656,
-0.02873155102133751,
0.0800771713256836,
0.009897951036691666,
0.00546449376270175,
-0.05694758519530296,
-0.013420659117400646,
0.004304577596485615,
0.01855865865945816,
0.013695602305233479,
0.021943895146250725,
0.007015344686806202,
-0.006860689260065556,
0.037667203694581985,
0.021342456340789795,
-0.001675434410572052,
-0.010138525627553463,
0.0003375033847987652,
0.01652236096560955,
0.06337437778711319,
-0.012862181290984154,
0.008123708888888359,
0.01955532655119896,
0.0664331242442131,
-0.008682186715304852,
-0.007410575170069933,
-0.0423756018280983,
-0.008901282213628292,
-0.038766972720623016,
-0.08440752327442169,
-0.05770367756485939,
-0.018266530707478523,
0.004850167781114578,
0.047943200916051865,
-0.011023499071598053,
0.0156030198559165,
0.08392637223005295,
-0.005133702885359526,
0.0065384902991354465,
0.03421323001384735,
0.06210276857018471,
0.016934774816036224,
-0.010808699764311314,
-0.030192187055945396,
-0.03694547712802887,
0.003213397227227688,
0.05213608220219612,
0.005159478634595871,
0.016238825395703316,
0.012896548956632614,
-0.02309521846473217,
-0.003902902826666832,
0.040004219859838486,
0.002878310391679406,
0.022768724709749222,
-0.02646327205002308,
0.0004269135824870318,
-0.019606878980994225,
0.028319137170910835,
-0.0076425583101809025,
-0.028095746412873268,
0.0377015694975853,
-0.031687188893556595,
0.025741545483469963,
0.052342288196086884,
-0.002339164260774851,
0.008995793759822845,
-0.011109419167041779,
-0.03801088035106659,
-0.007217255886644125,
0.0035119683016091585,
-0.0042186579667031765,
-0.0754031389951706,
-0.0220298133790493,
-0.01749325357377529,
-0.023009298369288445,
0.0650584027171135,
0.027253732085227966,
-0.0071141524240374565,
0.006968088448047638,
-0.07787762582302094,
0.037392258644104004,
-0.009270736947655678,
0.012509910389780998,
0.07114151865243912,
0.04887113347649574,
-0.0008575861575081944,
-0.0002726608363445848,
0.00003456926060607657,
0.023576369509100914,
-0.0014402291271835566,
0.00031709743780083954,
0.04024479165673256,
0.0073160636238753796,
-0.012002984061837196,
-0.04948975518345833,
-0.06258391588926315,
-0.007994829677045345,
-0.07918360829353333,
0.02072383463382721,
-0.033491503447294235,
-0.010954763740301132,
-0.02493390068411827,
-0.013119939714670181,
0.057085055857896805,
0.03887007758021355,
-0.013979136943817139,
0.011530425399541855,
0.03148098289966583,
-0.013188675977289677,
0.030827993527054787,
0.05756620690226555,
-0.07093531638383865,
0.0737534835934639,
-0.08860040456056595,
0.01466649491339922,
0.0011760260676965117,
0.02649763971567154,
0.0032520610839128494,
-0.05158619582653046,
0.058287933468818665,
0.024005968123674393,
0.028611265122890472,
-0.0013854553690180182,
0.009459760040044785,
0.005962828174233437,
-0.007633966393768787,
-0.05426688864827156,
0.004523672629147768,
-0.03429915010929108,
-0.010473612695932388,
-0.0017667240463197231,
-0.09231214225292206,
0.017364373430609703,
0.007135631982237101,
-0.028886206448078156,
0.003419604618102312,
0.02263125218451023,
0.05196424201130867,
-0.004145625978708267,
-0.02653200738132,
-0.08014591038227081,
0.05461056903004646,
0.038698237389326096,
0.01799158751964569,
0.02029423601925373,
0.020981593057513237,
-0.03514116257429123,
-0.05086446925997734,
-0.017596356570720673,
0.040966518223285675,
0.023284241557121277,
0.05509172007441521,
-0.05980011820793152,
0.03715168312191963,
0.04966159537434578,
0.04594986140727997,
0.022614067420363426,
0.03340558335185051,
-0.07272244244813919,
-0.05089883878827095,
-0.07423463463783264,
-0.03546765819191933,
0.023902863264083862,
-0.035364553332328796,
0.011564793065190315,
-0.0191944632679224,
-0.008441612124443054,
-0.05000527203083038,
0.01645362563431263,
0.0028332024812698364,
-0.013420659117400646,
-0.026222696527838707,
0.020569179207086563,
0.014889886602759361,
-0.06547082215547562,
-0.036292485892772675,
0.04591549560427666,
-0.040794678032398224,
0.041963186115026474,
0.0018558658193796873,
-0.03163563832640648,
0.00885832216590643,
-0.027683330699801445,
0.036429956555366516,
-0.001672212383709848,
-0.022407861426472664,
-0.03099983185529709,
0.0013833073899149895,
0.0006696367636322975,
-0.028680000454187393,
0.003288577077910304,
0.02149711176753044,
-0.032357364892959595,
-0.006748993415385485,
0.04058847203850746,
-0.01213186327368021,
0.04942101985216141,
-0.004596704617142677,
0.03290725126862526,
-0.011057866737246513,
-0.002304796362295747,
0.034694381058216095,
0.035020872950553894,
-0.0006578228203579783,
0.027356836944818497,
-0.04289111867547035,
0.006272139027714729,
0.044403307139873505,
-0.029092414304614067,
0.015860779210925102,
-0.023438896983861923,
-0.04155077412724495,
0.01948659121990204,
0.025140108540654182,
-0.07492198795080185,
0.03180747851729393,
0.026875685900449753,
0.019950557500123978,
-0.0030651858542114496,
-0.0001841903867898509,
-0.0013102756347507238,
0.016668424010276794,
0.005468789488077164,
0.022940563037991524,
-0.03601754456758499,
-0.05533229559659958,
-0.09348064661026001,
0.008746626786887646,
-0.0497303307056427,
-0.009262144565582275,
-0.012020167894661427,
0.0480463020503521,
-0.02043170854449272,
-0.006151851266622543,
-0.04608733206987381,
-0.005327022168785334,
-0.028714368119835854,
-0.05096757411956787,
0.08488867431879044,
-0.07423463463783264,
0.09499283134937286,
0.001618512556888163,
0.008007717318832874,
0.026841318234801292,
0.0018794937059283257,
0.07052289694547653,
0.011135194450616837,
-0.047805726528167725,
0.04818377643823624,
-0.047977566719055176,
0.021772054955363274,
0.0038900149520486593,
0.0267038457095623,
-0.023009298369288445,
-0.014082240872085094,
-0.021703319624066353,
0.01234666258096695,
-0.033955469727516174,
0.004272357560694218,
-0.03211678937077522,
0.035364553332328796,
0.07973349094390869,
0.043372269719839096,
0.011289849877357483,
0.05543539673089981,
0.03783904016017914,
-0.005627741105854511,
-0.02019113302230835,
0.0190226249396801,
0.034230414777994156,
0.012449766509234905,
-0.004373313393443823,
0.03156690299510956,
0.023387346416711807,
0.003823427250608802,
-0.03924812376499176,
-0.031859029084444046,
0.019881822168827057,
0.042135026305913925,
-0.023988783359527588,
0.04935228452086449,
-0.06887324154376984,
-0.01748466119170189,
-0.05320148542523384,
0.02472769282758236,
0.05519482493400574,
0.0007405205396935344,
-0.020637914538383484,
-0.07237876206636429,
0.014271263964474201,
0.04261617735028267,
-0.02019113302230835,
0.011951431632041931,
-0.004622480366379023,
-0.0313778780400753,
0.016659831628203392,
-0.019435038790106773,
0.015396812930703163,
-0.01905699260532856,
-0.04481572285294533,
0.014150976203382015,
-0.03914502263069153,
0.02373102493584156,
0.07382221519947052,
0.028645632788538933,
-0.02426372654736042,
-0.01305120438337326,
0.037735939025878906,
-0.01615290530025959,
-0.023335793986916542,
-0.030793625861406326,
-0.052342288196086884,
-0.017647909000515938,
0.04495319351553917,
0.05433562770485878,
0.020483259111642838,
0.05567597225308418,
0.011298442259430885,
0.0001215629672515206,
-0.018507106229662895,
0.0191944632679224,
-0.0111781544983387,
-0.009786255657672882,
-0.03261512145400047,
0.01638488844037056,
-0.005576189141720533,
0.0427192822098732,
0.002006225287914276,
-0.07347853481769562,
0.026257064193487167,
-0.05175803601741791,
0.03244328498840332,
0.018335266038775444,
-0.03842329606413841,
-0.05423252284526825,
0.06361495703458786,
-0.029453277587890625,
-0.05223918333649635,
-0.07856498658657074,
-0.011659304611384869,
0.025449419394135475,
0.003806243184953928,
0.03074207343161106,
-0.05086446925997734,
0.01658250391483307,
-0.03134351223707199,
0.0360519103705883,
-0.044575147330760956,
0.004944679327309132,
-0.045503079891204834,
0.03952306881546974,
0.007453535217791796,
-0.009287920780479908,
-0.013661234639585018,
0.050245847553014755,
0.008733739145100117,
0.01745029352605343,
-0.06557392328977585,
-0.027717698365449905,
0.025157291442155838,
0.018249347805976868,
0.018644576892256737,
-0.01144450530409813,
0.005185254849493504,
-0.05227355286478996,
0.021806422621011734,
0.0028203146066516638,
0.013111348263919353,
0.002233912469819188,
0.0033401288092136383,
-0.049077339470386505,
0.005095039028674364,
0.008269771933555603,
0.024916715919971466,
0.0007732774247415364,
-0.024246543645858765,
-0.03206523507833481,
-0.022837460041046143,
-0.06918255239725113,
0.030587418004870415,
0.045606184750795364,
-0.016797304153442383,
-0.018008772283792496,
0.024143438786268234,
0.03129195794463158,
-0.06547082215547562,
0.01537103671580553,
0.00361292390152812,
0.007655446417629719,
-0.026325799524784088,
0.08337648957967758,
-0.014821150340139866,
-0.045537449419498444,
0.05323585495352745,
-0.012862181290984154,
0.03380081430077553,
-0.029178334400057793,
-0.028576895594596863,
0.05749747157096863,
-0.019847454503178596,
-0.015929514542222023,
0.02096441015601158,
-0.000846309179905802,
0.01658250391483307,
-0.020242683589458466,
-0.009657375514507294,
0.0015884407330304384,
0.021376824006438255,
0.00015935421106405556,
0.015053133480250835,
0.0063494667410850525,
0.045571815222501755,
-0.04495319351553917,
-0.027356836944818497,
0.07093531638383865,
0.013111348263919353,
-0.07938981801271439,
0.004893127828836441,
0.020139580592513084,
0.02709907665848732,
0.06901071220636368,
-0.009322288446128368,
0.021067513152956963,
-0.04601859673857689,
0.011049275286495686,
0.08454499393701553,
-0.04598423093557358,
0.043715950101614,
0.047736991196870804,
0.07890866696834564,
-0.06591760367155075,
-0.07279118150472641,
-0.04021042585372925,
0.017063654959201813,
0.022046998143196106,
0.04966159537434578,
0.004592408426105976,
0.006547082215547562,
-0.008978609926998615,
-0.0493866503238678,
-0.03911065310239792,
0.06337437778711319,
0.0991169810295105,
0.0191944632679224,
0.04017605632543564,
0.02486516535282135,
-0.016092762351036072,
0.01714957505464554,
-0.045399975031614304,
-0.020311420783400536,
0.052548497915267944,
-0.029109599068760872,
0.012338071130216122,
-0.0034776004031300545,
-0.03553639352321625,
0.04766825586557388,
-0.005576189141720533,
0.03931685909628868,
0.09918571263551712,
0.02433246187865734,
-0.008961426094174385,
-0.03148098289966583,
-0.042135026305913925,
-0.023782575502991676,
0.027786435559391975,
-0.02129090391099453,
0.005142294801771641,
-0.0036086279433220625,
0.033319663256406784,
0.0016593243926763535,
0.08894408494234085
] |
21,667 | magic_filter.magic | __init__ | null | def __init__(self, operations: Tuple[BaseOperation, ...] = ()) -> None:
self._operations = operations
| (self, operations: Tuple[magic_filter.operations.base.BaseOperation, ...] = ()) -> NoneType | [
-0.03610517457127571,
-0.06683873385190964,
0.008895608596503735,
0.009481438435614109,
-0.03370777517557144,
-0.009760835207998753,
-0.028119856491684914,
0.005862809717655182,
0.00038839425542391837,
-0.013600276783108711,
0.015312704257667065,
0.05991692468523979,
-0.0023906384594738483,
-0.022784294560551643,
-0.04740719497203827,
0.035077717155218124,
-0.01632213406264782,
-0.013059509918093681,
-0.032968729734420776,
-0.019503643736243248,
0.011842785403132439,
0.06662242859601974,
-0.016826849430799484,
0.04459520801901817,
0.032445989549160004,
0.07246270775794983,
0.006957862060517073,
-0.01615089178085327,
0.05800621584057808,
-0.048921339213848114,
-0.019449567422270775,
0.043585777282714844,
-0.02599284239113331,
0.01632213406264782,
0.029111262410879135,
-0.00302603910677135,
0.028119856491684914,
0.08594581484794617,
-0.04333341866731644,
0.024496721103787422,
0.004997583571821451,
-0.07419315725564957,
-0.025416024029254913,
-0.007449057884514332,
0.0317249670624733,
0.01592557318508625,
0.018440136685967445,
-0.02040492184460163,
0.028119856491684914,
-0.034915488213300705,
-0.005862809717655182,
-0.00023813439474906772,
-0.004211219027638435,
0.016655607149004936,
-0.05151701718568802,
0.07433736324310303,
0.04293685778975487,
0.06550484150648117,
-0.02590271458029747,
0.03408631309866905,
-0.047046683728694916,
0.051841478794813156,
0.028642596676945686,
0.0021720787044614553,
0.01594359800219536,
0.006259371992200613,
-0.08818098902702332,
-0.0004619046812877059,
0.01684487611055374,
0.0806102529168129,
0.037384986877441406,
0.012978395447134972,
-0.02040492184460163,
-0.0121041564270854,
0.021017789840698242,
0.02815590798854828,
-0.00576366949826479,
-0.008508059196174145,
0.028318136930465698,
-0.026335326954722404,
-0.07397685199975967,
-0.012095143087208271,
-0.03691632300615311,
0.053932443261146545,
0.051156509667634964,
-0.049930769950151443,
0.010544946417212486,
-0.033743828535079956,
-0.0474792942404747,
0.023216906934976578,
-0.12120378762483597,
0.01739465445280075,
-0.05760965496301651,
0.00800334382802248,
0.026389403268694878,
-0.007043483201414347,
-0.041639018803834915,
-0.06348598003387451,
-0.031256303191185,
-0.013483110815286636,
-0.00576366949826479,
-0.03648371249437332,
-0.026497557759284973,
-0.030445152893662453,
0.017493795603513718,
-0.07246270775794983,
-0.005696073640137911,
-0.06092635542154312,
-0.030138717964291573,
-0.020783457905054092,
0.012897280044853687,
0.07830298691987991,
0.035528358072042465,
0.05555474013090134,
-0.027362782508134842,
0.04005277156829834,
-0.003983646165579557,
-0.03889913484454155,
-0.003551033092662692,
0.0034023222979158163,
0.01403289008885622,
-0.00009294423944083974,
-0.003318954259157181,
0.07642832398414612,
0.06164737790822983,
0.0538242906332016,
0.017385641112923622,
0.012284412048757076,
-0.009643668308854103,
-0.03203140199184418,
0.03958410397171974,
-0.055013976991176605,
-0.012708012014627457,
0.026803990826010704,
-0.01325779128819704,
-0.006232333369553089,
0.01645732671022415,
0.021684736013412476,
-0.07037173956632614,
0.007467083632946014,
0.01639423705637455,
-0.008111497387290001,
-0.004069267772138119,
0.03199534863233566,
-0.046902477741241455,
0.04719088599085808,
-0.02667781338095665,
-0.021792888641357422,
-0.008251194842159748,
0.029129287227988243,
-0.012753075920045376,
-0.015565061941742897,
-0.02491130866110325,
-0.013465085066854954,
-0.03752919286489487,
-0.002045899862423539,
0.006007014308124781,
-0.01778220385313034,
0.009805898182094097,
-0.035059694200754166,
-0.02411818504333496,
-0.0036772119347006083,
0.0031589774880558252,
-0.038538623601198196,
0.014357349835336208,
0.018602365627884865,
-0.0029809752013534307,
-0.08356644213199615,
-0.029255466535687447,
0.0034992096479982138,
0.009607617743313313,
-0.02721857838332653,
0.023757673799991608,
0.024568824097514153,
-0.009319208562374115,
0.007498628459870815,
0.02714647725224495,
0.0035487799905240536,
-0.01291530579328537,
-0.022694166749715805,
-0.011743645183742046,
-0.028101831674575806,
-0.04232398793101311,
0.01887274906039238,
0.008088964968919754,
0.035384152084589005,
0.03123827651143074,
0.003206294495612383,
0.01638522371649742,
-0.00046922758338041604,
-0.03486141189932823,
0.008719859644770622,
0.010202460922300816,
-0.014005851931869984,
0.0188006479293108,
0.009490451775491238,
-0.01195093896239996,
0.014826013706624508,
0.006804644595831633,
0.05555474013090134,
-0.03195929899811745,
0.0242083128541708,
0.06420700252056122,
-0.019053004682064056,
0.029742155224084854,
0.013239765539765358,
0.01233848836272955,
0.021143969148397446,
-0.005547362845391035,
-0.03918754309415817,
0.037168681621551514,
-0.008544109761714935,
0.015961622819304466,
0.04978656768798828,
0.0031161666847765446,
-0.012041066773235798,
0.01244664192199707,
-0.025253793224692345,
0.03116617351770401,
0.03659186512231827,
0.10721596330404282,
-0.007584249600768089,
-0.006115167401731014,
-0.08125917613506317,
0.018530264496803284,
0.01771911419928074,
0.01779121719300747,
-0.053247470408678055,
-0.02381175011396408,
-0.02822800911962986,
-0.019846130162477493,
-0.06514433026313782,
-0.039548054337501526,
-0.017151309177279472,
-0.014636745676398277,
-0.047046683728694916,
-0.0071065728552639484,
-0.0367901436984539,
-0.0011919394601136446,
-0.055879201740026474,
0.03929569572210312,
-0.008616212755441666,
-0.01778220385313034,
-0.020513074472546577,
-0.030264897271990776,
-0.027705268934369087,
-0.019197208806872368,
0.014699835330247879,
-0.012230334803462029,
0.00811600312590599,
0.01832297071814537,
-0.012888267636299133,
-0.0188006479293108,
-0.02566838264465332,
0.012906293384730816,
-0.01271702442318201,
-0.04942605644464493,
-0.038538623601198196,
0.035618484020233154,
-0.05281485989689827,
0.00826922059059143,
-0.0011795468162745237,
-0.00842243805527687,
0.0824849084019661,
0.020747406408190727,
-0.02381175011396408,
0.018359022215008736,
-0.041494812816381454,
-0.007129104807972908,
0.0038101503159850836,
0.13598474860191345,
0.037853654474020004,
-0.014059928245842457,
0.02999451383948326,
-0.02676793932914734,
-0.009053331799805164,
0.035077717155218124,
-0.028570495545864105,
-0.05209383741021156,
-0.0006686351844109595,
0.09510279446840286,
-0.018034562468528748,
-0.020224666222929955,
-0.012753075920045376,
0.02110791765153408,
0.023847801610827446,
0.0041796742007136345,
-0.015168499201536179,
-0.019918231293559074,
-0.03565453737974167,
0.06719924509525299,
0.08479218184947968,
0.021161993965506554,
0.04989472031593323,
0.09041615575551987,
0.039007287472486496,
-0.04322526603937149,
0.03442879766225815,
0.021919067949056625,
-0.06211604177951813,
-0.01476292498409748,
-0.06655032932758331,
0.004857885651290417,
-0.04124245420098305,
0.014510567300021648,
-0.05937615782022476,
0.05890749394893646,
0.025704432278871536,
-0.01051790826022625,
0.044667311012744904,
0.05317537114024162,
0.035077717155218124,
-0.017034143209457397,
0.011491287499666214,
0.03403223678469658,
0.018926827237010002,
0.022099323570728302,
-0.04012487083673477,
-0.015060346573591232,
0.06207999214529991,
-0.041639018803834915,
-0.01707920804619789,
-0.02822800911962986,
-0.023234931752085686,
-0.01512343529611826,
-0.004893936682492495,
-0.0029043664690107107,
-0.0547616183757782,
-0.011013610288500786,
0.025073539465665817,
-0.05306721478700638,
-0.005159813445061445,
0.03001253865659237,
-0.011689568869769573,
-0.04387418553233147,
-0.0007570730522274971,
0.02251391112804413,
0.016376210376620293,
0.027164502069354057,
-0.026407429948449135,
0.05252644792199135,
0.014898115769028664,
-0.021774863824248314,
0.048380572348833084,
-0.0019354933174327016,
-0.040413279086351395,
0.025001436471939087,
-0.008728872053325176,
0.040016718208789825,
-0.0498226173222065,
-0.004391474183648825,
-0.011608453467488289,
-0.03987251594662666,
0.012816165573894978,
0.08270122110843658,
0.017205387353897095,
-0.04077379032969475,
0.003580324584618211,
0.046505916863679886,
-0.06207999214529991,
0.07909610867500305,
-0.018196791410446167,
0.020152563229203224,
0.034843385219573975,
0.03882703185081482,
-0.005123762413859367,
0.03570861369371414,
-0.023180855438113213,
-0.04787585884332657,
-0.042576346546411514,
0.017926407977938652,
-0.052706703543663025,
0.0014307779492810369,
0.026641761884093285,
-0.022694166749715805,
0.050219178199768066,
-0.031815093010663986,
-0.0004216288507450372,
-0.08443167060613632,
-0.017971472814679146,
0.00889110192656517,
-0.01849421299993992,
0.06608166545629501,
0.030192794278264046,
-0.012131194584071636,
-0.005020115524530411,
-0.014798975549638271,
0.014916141517460346,
0.07750985771417618,
0.08169178664684296,
-0.0107522401958704,
-0.03767339885234833,
-0.0759236142039299,
-0.012176258489489555,
-0.004799302201718092,
0.020224666222929955,
0.051300711929798126,
0.006908291485160589,
-0.031058020889759064,
-0.05036338418722153,
0.026876093819737434,
-0.052238039672374725,
0.04816426709294319,
0.04405444115400314,
0.011238929815590382,
-0.02707437425851822,
0.03803391009569168,
0.03983646258711815,
0.0008640997693873942,
0.007178674917668104,
-0.007246270775794983,
-0.011455236002802849,
0.008034888654947281,
-0.00732738571241498,
-0.022784294560551643,
-0.030517254024744034,
-0.015880508348345757,
0.05815042182803154,
0.0033775372430682182,
-0.0038033907767385244,
0.01834099553525448,
0.05883539095520973,
0.03727683424949646,
0.021522505208849907,
0.00873788446187973,
0.021450404077768326,
0.020981738343834877,
-0.020855560898780823,
0.04866898059844971,
-0.0018149474635720253,
-0.04073774069547653,
0.02381175011396408,
-0.030300946906208992,
-0.026425454765558243,
0.0318511463701725,
-0.01957574672996998,
-0.02002638578414917,
-0.05512212961912155,
0.01136510819196701,
0.04178322106599808,
-0.024695001542568207,
0.010824342258274555,
0.05793411284685135,
-0.050543639808893204,
-0.025091564282774925,
-0.051156509667634964,
-0.05364403501152992,
0.023397162556648254,
0.01708821952342987,
-0.005105736665427685,
0.049678411334753036,
0.03401421010494232,
0.08241280913352966,
-0.0013350172666832805,
0.05072389543056488,
-0.05414874851703644,
-0.04044933244585991,
0.015952611342072487,
-0.012203296646475792,
-0.03349146991968155,
-0.008066433481872082,
-0.01504232082515955,
-0.0346631295979023,
-0.05166122317314148,
-0.0357266366481781,
-0.035528358072042465,
0.052995115518569946,
-0.007025457918643951,
0.0036659459583461285,
-0.013203714974224567,
0.0047362130135297775,
0.010490869171917439,
-0.016962042078375816,
0.00031629204750061035,
-0.016682645305991173,
-0.009670707397162914,
0.04621750861406326,
-0.0597006194293499,
-0.028011703863739967,
-0.0752025917172432,
-0.0009604237857274711,
-0.032355859875679016,
-0.005998001433908939,
0.00785012636333704,
-0.023559393361210823,
0.02575850859284401,
-0.006732542533427477,
-0.021450404077768326,
0.0357266366481781,
-0.039403848350048065,
-0.018980903550982475,
0.05295906215906143,
-0.005439209286123514,
0.006227827165275812,
0.018962876871228218,
0.010229499079287052,
-0.05094020068645477,
0.00997714139521122,
0.008769429288804531,
0.002395144896581769,
0.014645758084952831,
0.02404608204960823,
0.00045824324479326606,
-0.033978160470724106,
0.0465419664978981,
-0.05768175795674324,
-0.0016977813793346286,
-0.051228608936071396,
-0.042648449540138245,
-0.032986756414175034,
-0.03650173544883728,
-0.03473523259162903,
0.027236605063080788,
0.015168499201536179,
-0.03273439779877663,
-0.023793725296854973,
-0.025794560089707375,
0.0011350462445989251,
-0.016141878440976143,
0.019431542605161667,
0.033743828535079956,
0.02684004232287407,
-0.007151636760681868,
0.0387909822165966,
-0.009427362121641636,
-0.07105671614408493,
-0.018368033692240715,
-0.0697949230670929,
0.031058020889759064,
0.014213145710527897,
-0.0015118928859010339,
-0.06085425242781639,
-0.05613156035542488,
0.019467592239379883,
-0.010283575393259525,
0.10188040137290955,
-0.015547036193311214,
-0.026082970201969147,
-0.010977559722959995,
0.009310196153819561,
0.016204968094825745,
0.06247655302286148,
0.003557792631909251,
-0.03450090065598488,
-0.0198641549795866,
-0.0156281515955925,
-0.030715536326169968,
0.03774549812078476,
0.02204524725675583,
0.015222576446831226,
0.02893100678920746,
-0.029976487159729004,
-0.049930769950151443,
0.03354554623365402,
0.005772681906819344,
-0.03448287397623062,
0.00781407579779625,
-0.01786331832408905,
0.015745317563414574,
0.055410537868738174,
0.00407828064635396,
0.01964784786105156,
-0.03915149345993996,
0.05104835331439972,
0.010977559722959995,
0.03403223678469658,
0.023487290367484093,
0.00595293752849102,
0.001719186780974269,
0.02072938159108162,
-0.0019219741225242615,
-0.015312704257667065,
0.004857885651290417,
-0.012897280044853687,
-0.0021236350294202566,
-0.008431450463831425,
-0.008985736407339573,
0.03922359272837639,
-0.03828626498579979,
-0.07134512066841125,
0.015240601263940334,
0.003215307369828224,
-0.029958462342619896,
-0.05952036380767822,
0.036069124937057495,
0.0387909822165966,
-0.02822800911962986,
0.012248360551893711,
0.0460733026266098,
-0.0027286175172775984,
0.00924710649996996,
0.0050967237912118435,
0.009017281234264374,
0.04026907682418823,
-0.058871444314718246,
0.0025799067225307226,
-0.04578489437699318,
-0.04765954986214638,
-0.05577104911208153,
0.0014454236952587962,
-0.06521643698215485,
0.05566289648413658,
-0.018160739913582802,
0.010815328918397427,
-0.008264713920652866,
-0.019287336617708206,
-0.03897123783826828,
0.05584315210580826,
-0.035294026136398315,
0.01021147333085537,
0.0768609419465065,
-0.020206639543175697,
0.045280177146196365,
-0.00021743318939115852,
0.016421275213360786,
-0.022459834814071655,
-0.02063925378024578,
0.06683873385190964,
0.01578136719763279,
-0.03628543019294739,
-0.04124245420098305,
0.0008691694238223135,
-0.05797016620635986,
0.029958462342619896,
-0.08032184839248657,
0.025704432278871536,
0.007908709347248077,
-0.07199404388666153,
0.005186851602047682,
-0.04037722945213318,
0.03642963618040085,
-0.04578489437699318,
-0.0015468173660337925,
-0.01325779128819704,
0.024785129353404045,
-0.05908774957060814,
0.053932443261146545,
0.03156273439526558,
0.03253611549735069,
0.006935330107808113,
0.0031905220821499825,
-0.012951357290148735,
0.04088194668292999,
-0.03307688236236572,
-0.002701579127460718,
-0.028570495545864105,
-0.04971446469426155,
-0.00688575953245163,
0.037997856736183167,
0.039944615215063095,
-0.023234931752085686,
0.06669452786445618,
0.006637908518314362,
0.0001829311513574794,
-0.018890775740146637,
-0.023793725296854973,
-0.028264060616493225,
-0.027254629880189896,
0.06950651854276657,
-0.02009848691523075,
-0.08176389336585999,
0.0072688027285039425,
0.00442752568051219,
0.07134512066841125,
-0.0188006479293108,
-0.0072688027285039425,
-0.02536194771528244,
-0.03882703185081482,
0.024965384975075722,
0.0498226173222065,
0.007476096507161856,
0.01271702442318201,
0.04088194668292999,
0.047839805483818054,
0.005853796843439341,
0.01143721118569374,
0.033509496599435806,
-0.0018408591859042645,
0.055338434875011444,
-0.004418512806296349,
-0.004220231436192989,
-0.0000154466979438439,
0.010256537236273289,
-0.09481438994407654,
-0.05281485989689827,
0.03565453737974167,
-0.05652812123298645,
0.04978656768798828,
0.056564170867204666,
-0.06626191735267639,
0.01237453892827034,
0.013140625320374966,
0.030048590153455734,
0.003582577919587493,
-0.05216594040393829,
0.020080462098121643,
-0.07606782019138336,
-0.12055487185716629,
0.0639185979962349,
0.02009848691523075,
0.041026148945093155,
0.017980484291911125,
-0.062368400394916534,
0.007687896490097046,
0.039475951343774796,
0.025542203336954117,
-0.01512343529611826,
-0.049678411334753036,
0.028029728680849075,
0.008188105188310146,
0.04430679976940155,
0.040160924196243286,
-0.00016997529019135982,
-0.07260691374540329,
0.05461741238832474,
0.02799367718398571,
0.059340108186006546,
0.039403848350048065,
-0.056492071598768234,
0.002996747614815831,
-0.024803156033158302,
-0.026876093819737434,
0.07289531826972961,
0.004499627742916346,
0.028408264741301537,
-0.03500561788678169,
0.05313931778073311,
-0.0293816439807415,
0.04675827547907829,
0.02065727859735489,
0.011734632775187492,
0.047587450593709946,
-0.01708821952342987,
-0.020152563229203224,
0.014177094213664532,
-0.05519423261284828,
0.048849236220121384,
-0.004673123359680176,
0.013483110815286636,
0.0643872618675232,
-0.0043802084401249886,
-0.03810600936412811,
0.029399670660495758,
0.03843047097325325,
-0.07722145318984985,
-0.0347893089056015,
0.023216906934976578,
0.0012110915267840028,
-0.0012967129005119205,
0.006065597292035818,
-0.027272654697299004,
0.03464510664343834,
0.014014864340424538,
0.025848636403679848,
0.025794560089707375,
-0.02923743985593319,
0.029273491352796555,
0.016376210376620293,
-0.039403848350048065,
-0.058799341320991516,
-0.053463779389858246,
-0.03450090065598488,
0.02799367718398571,
-0.018449150025844574,
0.035294026136398315,
0.017962459474802017,
0.0337258018553257,
0.008999255485832691
] |
21,668 | magic_filter.magic | __invert__ | null | def __invert__(self: MagicT) -> MagicT:
if (
self._operations
and isinstance(self._operations[-1], ImportantFunctionOperation)
and self._operations[-1].function == operator.not_
):
return self._exclude_last()
return self._extend(ImportantFunctionOperation(function=operator.not_))
| (self: ~MagicT) -> ~MagicT | [
0.021618418395519257,
-0.04741312190890312,
0.08310457319021225,
0.015353990718722343,
-0.03997301682829857,
-0.06587300449609756,
-0.03846393898129463,
-0.04541271924972534,
-0.003213370917364955,
-0.016424383968114853,
0.024338269606232643,
-0.009747590869665146,
-0.011379500851035118,
-0.06604848057031631,
-0.04888710752129555,
0.05846799537539482,
-0.043973829597234726,
0.03856922313570976,
0.030392127111554146,
-0.030602697283029556,
0.008817577734589577,
0.02042519487440586,
0.023899583145976067,
0.05530945956707001,
0.030602697283029556,
0.016959579661488533,
-0.035024646669626236,
-0.031357236206531525,
0.012827162630856037,
-0.025233186781406403,
-0.01506445836275816,
-0.014073029160499573,
0.025320924818515778,
-0.041517190635204315,
0.0497644767165184,
-0.01164271216839552,
-0.010791662149131298,
0.116795614361763,
-0.024268079549074173,
-0.004011778626590967,
0.012756972573697567,
-0.04660594090819359,
0.014195861294865608,
0.013230753131210804,
0.006053859367966652,
-0.0037419868167489767,
0.01361679658293724,
-0.0022427793592214584,
0.015389085747301579,
0.02677736058831215,
0.05590607225894928,
0.02007424645125866,
0.04541271924972534,
0.0421488992869854,
-0.03126949816942215,
0.007554163224995136,
0.043973829597234726,
0.008190257474780083,
-0.02784775197505951,
0.05446718633174896,
-0.030778171494603157,
0.05537965148687363,
-0.015915507450699806,
-0.059591032564640045,
0.06615376472473145,
0.046325184404850006,
-0.033568210899829865,
0.019477633759379387,
-0.026830002665519714,
0.0912465751171112,
-0.070470429956913,
-0.04299117252230644,
0.019161781296133995,
-0.014520488679409027,
-0.021302565932273865,
-0.09117638319730759,
0.03541069105267525,
0.0037310197949409485,
0.023408256471157074,
-0.0342174656689167,
-0.06948777288198471,
-0.01081798318773508,
-0.02356618270277977,
0.04453534632921219,
-0.01993386633694172,
-0.009133431129157543,
0.01704731583595276,
-0.07271649688482285,
-0.009633532725274563,
0.004614971112459898,
-0.07208479195833206,
-0.010089765302836895,
-0.07355877757072449,
0.002597017912194133,
0.04520214721560478,
0.03302424028515816,
-0.024794502183794975,
-0.032848767936229706,
0.043622881174087524,
-0.028497006744146347,
0.04730783775448799,
0.05439699441194534,
-0.007150572724640369,
-0.018951211124658585,
0.0950368121266365,
-0.03776204213500023,
-0.005334415007382631,
-0.043657977133989334,
-0.027584541589021683,
-0.014906531199812889,
-0.019126685336232185,
0.08970239758491516,
-0.045868951827287674,
-0.008940409868955612,
0.014538035728037357,
-0.022794095799326897,
-0.03646353632211685,
-0.0059705087915062904,
0.0233205184340477,
0.006277588661760092,
0.027900394052267075,
0.006909295916557312,
-0.043622881174087524,
-0.0030225426889955997,
0.02010934054851532,
0.005904706194996834,
0.045974235981702805,
0.01522238552570343,
0.025180544704198837,
-0.04723764955997467,
-0.06913682818412781,
0.016301551833748817,
-0.02370656095445156,
0.07650674134492874,
-0.05608154833316803,
0.04450025036931038,
0.03355066478252411,
-0.0004353953117970377,
-0.046044424176216125,
0.03483162447810173,
-0.03109402395784855,
-0.025005070492625237,
0.0542566180229187,
0.07057571411132812,
-0.01993386633694172,
0.001622039475478232,
-0.028725123032927513,
0.04092057794332504,
0.02474186010658741,
-0.02477695420384407,
-0.02612810581922531,
0.036709196865558624,
-0.03532295301556587,
-0.03653372451663017,
-0.037130337208509445,
0.10128369927406311,
0.003204597160220146,
0.020653311163187027,
-0.04004320874810219,
-0.019477633759379387,
0.018424788489937782,
0.016380514949560165,
0.02777756191790104,
-0.024232983589172363,
0.01828441023826599,
-0.025619229301810265,
0.06517110764980316,
-0.05573059991002083,
-0.011204026639461517,
0.033778779208660126,
-0.004200413357466459,
-0.005022948607802391,
0.018424788489937782,
0.059450652450323105,
-0.026040367782115936,
0.07426067441701889,
0.02760208770632744,
0.026514148339629173,
-0.0260930098593235,
0.005641494877636433,
0.02267126366496086,
-0.007440105080604553,
-0.08871974796056747,
-0.029690230265259743,
0.09061486274003983,
-0.013362358324229717,
0.014757378958165646,
-0.028690028935670853,
-0.019986508414149284,
0.012827162630856037,
-0.009282584302127361,
-0.016099756583571434,
0.0729270726442337,
0.02363637275993824,
-0.009817779995501041,
-0.04239456355571747,
-0.05334414914250374,
0.03311197832226753,
0.05201054736971855,
-0.021811440587043762,
-0.030357033014297485,
-0.04046434536576271,
0.05990688502788544,
0.04109605401754379,
-0.059801600873470306,
0.026040367782115936,
0.019600465893745422,
-0.01005467027425766,
-0.019705750048160553,
0.0015145614743232727,
0.043798353523015976,
-0.03444558009505272,
0.020951617509126663,
0.00446362467482686,
-0.02484714426100254,
-0.0015979117015376687,
0.07180403172969818,
0.03062024526298046,
-0.000933303264901042,
0.07454143464565277,
-0.016319097951054573,
-0.001174580305814743,
-0.033919159322977066,
-0.007948980666697025,
0.03012891672551632,
0.05913479998707771,
0.008225352503359318,
-0.04709726944565773,
0.01499426830559969,
-0.032532911747694016,
0.009510700590908527,
0.003915267530828714,
-0.045728571712970734,
-0.04295608028769493,
0.02902342937886715,
0.04102586209774017,
-0.024408457800745964,
-0.03500710055232048,
0.002305292058736086,
0.021846534684300423,
-0.014353787526488304,
0.013415001332759857,
0.04488629475235939,
0.06225823983550072,
0.02944456785917282,
-0.028900597244501114,
0.010686377994716167,
0.05116827040910721,
0.01668759435415268,
-0.0015573333948850632,
0.02649660035967827,
-0.03404198959469795,
0.013660664670169353,
0.015547011978924274,
0.03807789832353592,
0.006488157901912928,
-0.025829799473285675,
-0.04916786402463913,
0.01531012263149023,
0.006040698848664761,
0.002607984934002161,
-0.019670655950903893,
0.005536210257560015,
-0.024969976395368576,
0.003086152020841837,
-0.026759812608361244,
-0.004426336381584406,
0.022618621587753296,
0.031743280589580536,
0.033427830785512924,
0.031497616320848465,
-0.02584734745323658,
-0.013730854727327824,
0.012291966006159782,
-0.032673291862010956,
0.025180544704198837,
0.04211380332708359,
-0.03105892986059189,
0.0004290892102289945,
-0.026075463742017746,
0.01653844118118286,
0.0058915456756949425,
-0.023618824779987335,
-0.04207870736718178,
-0.005540597252547741,
0.032532911747694016,
-0.005356349516659975,
-0.044114209711551666,
0.027426613494753838,
-0.02495242841541767,
0.08485931158065796,
0.04099076986312866,
0.059520840644836426,
-0.015266253612935543,
0.08942164480686188,
-0.020828785374760628,
-0.0763663649559021,
-0.0808584988117218,
0.07106704264879227,
-0.0024873465299606323,
0.03200649097561836,
-0.05611664429306984,
-0.04927314817905426,
-0.050501469522714615,
0.013116694986820221,
-0.010168728418648243,
0.044114209711551666,
0.0718742236495018,
0.008852672763168812,
-0.009045694023370743,
0.017810629680752754,
-0.008453468792140484,
-0.06401298195123672,
-0.031708184629678726,
-0.00191595871001482,
0.012976315803825855,
0.03176082670688629,
0.04257003590464592,
0.01879328489303589,
0.07629617303609848,
0.0023140658158808947,
0.02791794203221798,
-0.03030439093708992,
-0.01646825112402439,
-0.02577715739607811,
-0.05530945956707001,
-0.012327061034739017,
-0.045939140021800995,
-0.02035500481724739,
0.005773100536316633,
0.008124454878270626,
-0.004544781055301428,
-0.02577715739607811,
0.01703854277729988,
-0.07159346342086792,
0.0008949183393269777,
0.07348858565092087,
-0.014608225785195827,
0.031146666035056114,
0.027251139283180237,
0.01242357213050127,
-0.006580281537026167,
-0.004011778626590967,
0.004957145545631647,
-0.02484714426100254,
-0.0010128150461241603,
-0.005957348272204399,
0.02267126366496086,
0.06906663626432419,
0.023969773203134537,
0.059591032564640045,
-0.016819199547171593,
-0.04271041601896286,
-0.0030071886721998453,
0.04885201156139374,
-0.013406227342784405,
-0.06067897006869316,
-0.005540597252547741,
-0.019477633759379387,
-0.04720255360007286,
0.03807789832353592,
0.03193629905581474,
-0.027619635686278343,
0.02360127680003643,
0.043622881174087524,
-0.04060472548007965,
0.012291966006159782,
-0.01682797446846962,
-0.059169892221689224,
-0.06678546965122223,
-0.04225418344140053,
-0.030883455649018288,
0.04930824413895607,
-0.034568414092063904,
0.0025816638953983784,
-0.043938733637332916,
-0.03520011901855469,
-0.00960721168667078,
0.0005324544617906213,
0.03337518870830536,
0.029567399993538857,
0.01938989758491516,
-0.05555512383580208,
0.0007764732581563294,
0.02242559939622879,
0.06836473941802979,
0.026110557839274406,
0.014616998843848705,
0.06032802164554596,
0.021846534684300423,
-0.004764123819768429,
-0.05397585779428482,
-0.03786732628941536,
-0.004926437512040138,
-0.025198092684149742,
0.03258555382490158,
-0.05432680621743202,
-0.006229333579540253,
-0.02267126366496086,
-0.017415812239050865,
0.028075868263840675,
0.05415133014321327,
0.007848083041608334,
0.03965716436505318,
0.02684754878282547,
-0.028812861070036888,
0.015573333017528057,
0.06474997103214264,
0.010431939736008644,
-0.010861851274967194,
-0.04758859798312187,
-0.03537559509277344,
-0.021899176761507988,
-0.00016368451179005206,
0.059169892221689224,
-0.015038137324154377,
0.010431939736008644,
-0.002544375602155924,
-0.009501926600933075,
-0.01021259743720293,
0.021969366818666458,
0.010019575245678425,
0.03197139501571655,
-0.04464063048362732,
-0.014581904746592045,
0.020670859143137932,
-0.026180747896432877,
-0.008795643225312233,
-0.07159346342086792,
0.08198153972625732,
-0.012642914429306984,
-0.09293112903833389,
0.03065533936023712,
-0.024408457800745964,
0.0007029934204183519,
-0.043377216905355453,
0.004095128737390041,
-0.08092869073152542,
0.025899989530444145,
0.07208479195833206,
-0.0012798648094758391,
0.047939546406269073,
-0.000677769014146179,
-0.054502278566360474,
-0.011958565562963486,
0.004389048088341951,
-0.006343391723930836,
0.06587300449609756,
0.08928126096725464,
-0.025110354647040367,
0.03555106744170189,
0.0732780173420906,
0.03140987828373909,
-0.006918069440871477,
-0.010458260774612427,
-0.00852365791797638,
-0.026180747896432877,
-0.05162450298666954,
-0.0011701934272423387,
0.015485595911741257,
-0.016450705006718636,
0.017907140776515007,
-0.07141799479722977,
-0.017810629680752754,
0.029532304033637047,
0.01463454682379961,
0.019161781296133995,
-0.03600730001926422,
-0.034743886440992355,
0.01594182848930359,
0.013432548381388187,
-0.07755959033966064,
0.007466426119208336,
-0.026180747896432877,
0.017907140776515007,
0.035024646669626236,
-0.014362561516463757,
-0.03465615212917328,
0.06906663626432419,
-0.05201054736971855,
-0.020863879472017288,
-0.01395897101610899,
-0.0798056572675705,
-0.050396185368299484,
-0.013686985708773136,
0.02042519487440586,
-0.022653715685009956,
-0.008721066638827324,
0.06418845802545547,
-0.027584541589021683,
-0.003871398977935314,
0.03469124436378479,
0.002272390527650714,
0.015371537767350674,
0.0015935249393805861,
0.03832356259226799,
-0.038990363478660583,
-0.016450705006718636,
0.06078425422310829,
0.008971117436885834,
0.002943579340353608,
0.01133563183248043,
-0.06552205979824066,
0.02318013831973076,
-0.0006476094131357968,
-0.0114058218896389,
-0.03546333312988281,
-0.0035599323455244303,
-0.0338665172457695,
-0.024408457800745964,
0.03348047286272049,
-0.009238715283572674,
0.02819870039820671,
0.04636027663946152,
-0.00047679623821750283,
-0.011081194505095482,
-0.01515219546854496,
0.00647061038762331,
0.04471082240343094,
-0.030392127111554146,
0.009142205119132996,
-0.007440105080604553,
-0.07608560472726822,
-0.03860431909561157,
0.0009991060942411423,
-0.02716340310871601,
-0.04948372021317482,
-0.04762369394302368,
0.036603912711143494,
-0.04506177082657814,
-0.008707906119525433,
-0.06008235737681389,
0.02677736058831215,
-0.00884389877319336,
-0.04930824413895607,
0.023548634722828865,
-0.029848158359527588,
0.03298914432525635,
-0.023583728820085526,
0.01287103071808815,
-0.011695354245603085,
-0.005803808569908142,
0.014494167640805244,
-0.004476785194128752,
-0.013599248602986336,
0.013230753131210804,
-0.05674834921956062,
0.023934677243232727,
-0.026233389973640442,
0.028567196801304817,
-0.03983264043927193,
-0.023882035166025162,
-0.002129817847162485,
-0.04025377705693245,
0.055133987218141556,
0.007773505989462137,
-0.00540899159386754,
0.08829860389232635,
-0.0032418854534626007,
0.022987117990851402,
-0.022583527490496635,
-0.0014235342387109995,
0.019881224259734154,
-0.06569753587245941,
-0.026584338396787643,
0.04060472548007965,
0.09040429443120956,
0.004029325675219297,
0.02149558626115322,
0.03348047286272049,
-0.008817577734589577,
0.0034392939414829016,
0.009747590869665146,
-0.006659245118498802,
0.00113838876131922,
0.0407801978290081,
0.04260513186454773,
-0.03856922313570976,
-0.023478444665670395,
-0.07271649688482285,
-0.03562125936150551,
-0.05797667056322098,
-0.013994066044688225,
-0.02553149312734604,
-0.020442740991711617,
-0.06032802164554596,
0.011809412389993668,
0.05544983968138695,
0.02225012518465519,
0.005430925637483597,
0.029462113976478577,
-0.013274621218442917,
0.04446515813469887,
-0.020021604374051094,
-0.01821422018110752,
0.0037924356292933226,
0.0037946291267871857,
0.00471586873754859,
-0.014318693429231644,
0.028110964223742485,
-0.011467237956821918,
0.02007424645125866,
0.017301755025982857,
-0.04264022409915924,
-0.01159006915986538,
-0.00216600950807333,
-0.041376810520887375,
-0.06271447241306305,
-0.017389491200447083,
-0.06499563902616501,
0.05836271122097969,
0.03839375078678131,
-0.03191875293850899,
-0.023373160511255264,
0.04460553824901581,
-0.005878385156393051,
-0.0373058095574379,
0.03244517743587494,
-0.03126949816942215,
0.043622881174087524,
-0.03425256162881851,
-0.0018764770356938243,
-0.05158940702676773,
0.01415199227631092,
-0.06517110764980316,
-0.02267126366496086,
0.05127355456352234,
-0.00011042535334127024,
0.0253911130130291,
0.02798813208937645,
-0.054502278566360474,
-0.03842884674668312,
-0.018670452758669853,
0.05415133014321327,
-0.037270717322826385,
-0.03611258789896965,
-0.01703854277729988,
0.008111294358968735,
-0.014555582776665688,
0.03434029594063759,
-0.02898833528161049,
-0.011984886601567268,
-0.009072015061974525,
0.004544781055301428,
-0.056958917528390884,
-0.032181963324546814,
-0.03877979516983032,
-0.03237498551607132,
-0.021583324298262596,
-0.015766354277729988,
-0.06464468687772751,
0.0729270726442337,
0.008800029754638672,
-0.00023428544227499515,
-0.08099888265132904,
-0.0014816600596532226,
-0.004886955954134464,
0.028584742918610573,
0.04692179709672928,
-0.010528450831770897,
-0.010256465524435043,
-0.02819870039820671,
0.007676995359361172,
0.005759940017014742,
0.07580484449863434,
0.019231969490647316,
0.03126949816942215,
-0.0024851530324667692,
0.0456232875585556,
-0.04969428852200508,
0.0036586367059499025,
0.011554975062608719,
-0.029111165553331375,
0.009756363928318024,
0.009545795619487762,
-0.045693475753068924,
0.013950197026133537,
0.03888507932424545,
0.012634141370654106,
-0.013415001332759857,
-0.0321468710899353,
-0.023127496242523193,
0.03112911991775036,
-0.004487751983106136,
-0.05004523694515228,
0.000599902356043458,
-0.016134850680828094,
0.009809006936848164,
-0.011739222332835197,
-0.04274551197886467,
-0.01005467027425766,
-0.009528247639536858,
0.022776547819375992,
0.028795313090085983,
0.07022476941347122,
0.03600730001926422,
-0.037060145288705826,
-0.06678546965122223,
0.015196063555777073,
0.01532766968011856,
0.04544781148433685,
-0.003948168829083443,
-0.008607008494436741,
-0.01185328047722578,
0.029725326225161552,
-0.005588852800428867,
0.027110761031508446,
-0.09349264204502106,
-0.031006287783384323,
-0.008734227158129215,
-0.015143421478569508,
0.03369104117155075,
-0.000024247652618214488,
-0.00937909446656704,
0.04309645667672157,
-0.01686306856572628,
0.020776143297553062,
-0.010826757177710533,
0.0015836544334888458,
0.0065978290513157845,
-0.005163327790796757,
-0.023092402145266533,
-0.003695924999192357,
0.05973140895366669,
0.04846596717834473,
0.043973829597234726,
-0.03614768013358116,
-0.034708794206380844,
-0.031322140246629715,
-0.015740033239126205,
0.039481692016124725,
0.039165835827589035,
-0.0008855962660163641,
0.03223460540175438,
0.057134393602609634,
-0.03183101490139961,
-0.00047350610839203,
0.019196875393390656,
-0.04197342321276665,
0.019196875393390656,
-0.0033208488021045923,
0.007957753725349903,
0.002597017912194133,
0.06039821356534958,
-0.04274551197886467,
0.004112676251679659,
-0.009852875024080276,
0.034392938017845154,
0.007295338902622461,
-0.00146630615927279,
-0.0011131643550470471,
-0.015871640294790268,
0.010581092908978462,
0.0008170516230165958,
0.03874469920992851,
0.02995344251394272,
0.08633329719305038,
0.043377216905355453,
-0.009203620254993439,
-0.0556253157556057,
-0.018494978547096252,
0.025127902626991272,
0.03590201586484909,
0.052852824330329895,
-0.01012486033141613,
0.0007040901691652834,
0.00008273333514807746,
0.04281570017337799
] |
21,669 | magic_filter.magic | __le__ | null | def __le__(self: MagicT, other: Any) -> MagicT:
return self._extend(ComparatorOperation(right=other, comparator=operator.le))
| (self: ~MagicT, other: Any) -> ~MagicT | [
0.004658030811697245,
-0.008468756452202797,
0.041737332940101624,
0.05274800956249237,
-0.0022193389013409615,
-0.04841255396604538,
-0.025582611560821533,
-0.00850316509604454,
-0.0015870853094384074,
-0.04115239158272743,
0.027664316818118095,
-0.01615472324192524,
0.06836940348148346,
-0.016455795615911484,
-0.05147489905357361,
-0.004034379497170448,
-0.06410276144742966,
0.04005132615566254,
-0.018821369856595993,
0.02785356342792511,
0.013100980781018734,
0.020042866468429565,
0.025100894272327423,
0.036851346492767334,
0.02902344800531864,
0.06726833432912827,
-0.031965360045433044,
0.00753973051905632,
-0.04249431937932968,
-0.00958272721618414,
-0.012361201457679272,
-0.03967283293604851,
-0.004197819158434868,
-0.0890488252043724,
0.027939584106206894,
-0.04411151260137558,
-0.009161224588751793,
0.07036508619785309,
-0.03332449123263359,
0.007101024035364389,
0.028214851394295692,
-0.04579751938581467,
0.009883799590170383,
-0.008980580605566502,
-0.012868724763393402,
-0.01830524392426014,
0.00396986398845911,
-0.006787048187106848,
0.049720071256160736,
0.020266521722078323,
0.01985361985862255,
-0.05295445770025253,
0.026253575459122658,
-0.013986996375024319,
-0.047311488538980484,
0.0263051874935627,
0.007664461154490709,
0.02372455969452858,
-0.0321890152990818,
0.05894151329994202,
-0.03747069835662842,
0.029264304786920547,
-0.022176183760166168,
-0.003049440449103713,
0.03132880851626396,
-0.03795241564512253,
-0.0654790997505188,
0.007328979671001434,
-0.006021461915224791,
0.061212461441755295,
-0.06403394788503647,
0.003455889178439975,
0.02436111494898796,
0.005905333906412125,
-0.07308334857225418,
-0.007707471493631601,
-0.024911649525165558,
-0.01894179917871952,
0.06682102382183075,
-0.026047123596072197,
-0.009814983233809471,
-0.0003483845794107765,
0.02962559275329113,
0.028885813429951668,
-0.024275094270706177,
-0.006189202889800072,
-0.017857935279607773,
-0.020593401044607162,
0.04325130209326744,
-0.015010644681751728,
-0.05130285769701004,
0.024705199524760246,
-0.015208492986857891,
0.002761270385235548,
0.04180615022778511,
0.04008573293685913,
-0.015578382648527622,
0.04707062989473343,
0.008705313317477703,
0.03939756751060486,
0.01366011705249548,
0.04342334344983101,
-0.0035978236701339483,
0.011492390185594559,
0.06079956144094467,
-0.014554734341800213,
0.0009268750436604023,
-0.05027060583233833,
-0.06936724483966827,
0.0053806062787771225,
-0.04782761260867119,
0.004606418311595917,
-0.028971834108233452,
0.004045132081955671,
-0.007217152509838343,
0.056704968214035034,
0.0338062085211277,
-0.027182599529623985,
0.03891585022211075,
0.0010231109336018562,
0.033995453268289566,
-0.03425351530313492,
0.05801248550415039,
0.015251503325998783,
-0.005032221786677837,
-0.008778431452810764,
0.04954802989959717,
-0.02854173071682453,
-0.06792209297418594,
-0.03210299462080002,
0.04314807802438736,
0.029986880719661713,
-0.023810582235455513,
0.03760833293199539,
-0.005062329117208719,
-0.0006951562827453017,
0.0343567430973053,
0.04201260209083557,
-0.032825570553541183,
-0.0019870824180543423,
-0.000983326230198145,
-0.006688124034553766,
0.054812509566545486,
0.013780546374619007,
-0.048825453966856,
-0.01571601629257202,
-0.06836940348148346,
0.061143647879362106,
0.06582318246364594,
0.05140608176589012,
-0.021969733759760857,
-0.014133231714367867,
0.03946638107299805,
0.01863212324678898,
-0.02539336495101452,
0.039053481072187424,
-0.0045074946247041225,
-0.02721700817346573,
-0.0012698833597823977,
0.037057798355817795,
0.04631364718079567,
-0.017909549176692963,
-0.01296334806829691,
-0.002393531147390604,
0.005268779117614031,
-0.004460182972252369,
0.005148350261151791,
-0.0013795599807053804,
-0.021075116470456123,
0.018219223245978355,
0.08237360417842865,
-0.031965360045433044,
0.025961102917790413,
0.0036300814244896173,
-0.03294599801301956,
-0.0066064042039215565,
0.008649400435388088,
0.0617285892367363,
-0.005690281745046377,
-0.005066630430519581,
0.009161224588751793,
0.060661930590867996,
-0.04101475700736046,
-0.053539399057626724,
0.06200385466217995,
-0.010348312556743622,
0.015285911969840527,
0.0025247130542993546,
0.009746166877448559,
0.043767426162958145,
-0.04211582615971565,
-0.01775471121072769,
0.020369745790958405,
-0.019182657822966576,
-0.012722489424049854,
0.0249632615596056,
-0.048653412610292435,
0.024223482236266136,
0.04314807802438736,
0.07005541026592255,
-0.06554791331291199,
0.016343967989087105,
0.035010501742362976,
0.014623550698161125,
0.03698898106813431,
-0.003062343457713723,
0.01980200782418251,
0.04476527124643326,
-0.0034343840088695288,
-0.06403394788503647,
0.02286435104906559,
-0.05309209227561951,
-0.04896308854222298,
0.030330965295433998,
-0.02215898036956787,
0.0030107309576123953,
-0.01911384053528309,
-0.035010501742362976,
-0.010881641879677773,
0.006769843865185976,
0.05298886448144913,
-0.007948329672217369,
-0.03091590665280819,
-0.04896308854222298,
0.04727707803249359,
0.010640783235430717,
-0.02539336495101452,
-0.06936724483966827,
-0.030451394617557526,
0.031156765297055244,
0.04978888854384422,
-0.019079431891441345,
0.012541845440864563,
-0.046829771250486374,
-0.00030994400731287897,
0.003458039602264762,
-0.010761212557554245,
0.010675191879272461,
-0.05092436447739601,
0.03511372581124306,
-0.011234328150749207,
0.018718145787715912,
0.03456319123506546,
0.02876538410782814,
0.001733320881612599,
-0.07211991399526596,
0.0022774029057472944,
0.018700940534472466,
0.041840560734272,
0.04899749532341957,
-0.04710503667593002,
-0.056532926857471466,
0.036094363778829575,
-0.017892343923449516,
-0.005944043397903442,
0.0009177353349514306,
-0.011354757472872734,
-0.07528547942638397,
0.01738482154905796,
-0.008658002130687237,
-0.005819312762469053,
0.07494139671325684,
-0.007290270179510117,
-0.015457953326404095,
-0.06079956144094467,
-0.005931139923632145,
0.005156951956450939,
0.026374004781246185,
0.024051440879702568,
0.028679363429546356,
-0.029057854786515236,
-0.06606403738260269,
-0.01583644561469555,
0.0375739224255085,
-0.031844932585954666,
0.003058042610064149,
0.05064909905195236,
-0.0233460683375597,
-0.04906631261110306,
-0.06251998245716095,
-0.009118214249610901,
-0.011638625524938107,
-0.05673937872052193,
-0.055741533637046814,
-0.0864337906241417,
0.03661048784852028,
-0.027595501393079758,
-0.053057681769132614,
-0.04572870209813118,
-0.08278650045394897,
0.05897592008113861,
0.008795635774731636,
0.026098737493157387,
0.00826660729944706,
0.07143174111843109,
-0.042700767517089844,
-0.02806001342833042,
-0.04479967802762985,
0.0783822312951088,
-0.002630088711157441,
0.008468756452202797,
-0.06781886518001556,
-0.03316965326666832,
-0.018580511212348938,
-0.006571995560079813,
-0.008249402977526188,
0.02114393375813961,
0.02050737850368023,
-0.014288069680333138,
0.014133231714367867,
0.009754768572747707,
0.024705199524760246,
-0.027595501393079758,
-0.022606289014220238,
0.011630023829638958,
0.02990086004137993,
0.016834286972880363,
0.045109353959560394,
0.005952645558863878,
0.08278650045394897,
0.01027949620038271,
0.038502950221300125,
-0.05894151329994202,
-0.02312241494655609,
-0.03946638107299805,
-0.04927276447415352,
-0.007888115011155605,
-0.02296757698059082,
0.0136859230697155,
0.03943197429180145,
-0.005449423100799322,
-0.008597787469625473,
0.06520383059978485,
0.012404211796820164,
-0.005651572253555059,
0.027354642748832703,
0.08292413502931595,
0.0045591071248054504,
-0.010245087556540966,
-0.022898759692907333,
0.013694524765014648,
0.016731062904000282,
0.010391322895884514,
-0.011036479845643044,
0.016722461208701134,
-0.006167697720229626,
0.005191360600292683,
0.02532454952597618,
0.06964250653982162,
0.008206392638385296,
0.030313760042190552,
-0.022193389013409615,
-0.01486440934240818,
-0.06953928619623184,
0.05515659227967262,
-0.012421416118741035,
-0.06589199602603912,
0.02190091833472252,
-0.00998702459037304,
0.008214994333684444,
0.03605995699763298,
-0.04380183666944504,
-0.01657622493803501,
0.015251503325998783,
-0.052885640412569046,
-0.008997784927487373,
-0.038984667509794235,
-0.008034351281821728,
-0.060455478727817535,
-0.010451537556946278,
-0.015819240361452103,
-0.011518197134137154,
0.06589199602603912,
0.0032279337756335735,
0.0018440727144479752,
0.0018559006275609136,
-0.05381466820836067,
0.02904065139591694,
-0.02719980478286743,
0.03096751868724823,
0.0853327214717865,
0.054778099060058594,
0.018219223245978355,
0.011397767812013626,
0.015518167987465858,
0.024447135627269745,
0.027887972071766853,
0.010528956539928913,
0.05405552685260773,
0.026012716814875603,
-0.007475215010344982,
-0.04600397124886513,
-0.058631837368011475,
-0.017737505957484245,
-0.07280807942152023,
0.0118020661175251,
-0.024825628846883774,
0.0025634223129600286,
-0.03316965326666832,
-0.033462125808000565,
0.0783822312951088,
0.041186802089214325,
-0.022847147658467293,
0.004675235133618116,
0.031896546483039856,
0.008851549588143826,
0.026098737493157387,
0.041565291583538055,
-0.07156937569379807,
0.06971132755279541,
-0.11657550930976868,
0.016997726634144783,
0.033083632588386536,
0.010322506539523602,
-0.027836358174681664,
-0.06623608618974686,
0.05347058176994324,
0.023844989016652107,
0.0236213356256485,
0.001387086813338101,
0.027939584106206894,
-0.020868666470050812,
-0.017634281888604164,
-0.02114393375813961,
0.012412814423441887,
-0.002384928986430168,
0.020042866468429565,
-0.0019505235832184553,
-0.06090278923511505,
0.004989211447536945,
-0.0013214958598837256,
-0.026855720207095146,
0.014933225698769093,
-0.005655873101204634,
0.037161022424697876,
-0.03251589462161064,
-0.01470096968114376,
-0.05618884414434433,
0.04834373667836189,
0.005445122253149748,
0.024223482236266136,
0.005759098567068577,
0.027561092749238014,
-0.02501487359404564,
-0.035819098353385925,
-0.01573321968317032,
0.03251589462161064,
0.025995511561632156,
0.03175891190767288,
-0.03473523259162903,
0.03363416716456413,
0.03881262242794037,
0.029057854786515236,
0.031259991228580475,
0.02055899240076542,
-0.048653412610292435,
-0.037057798355817795,
-0.06258879601955414,
-0.025823470205068588,
0.019251475110650063,
0.008868752978742123,
-0.013505279086530209,
-0.02522132359445095,
0.00556985242292285,
-0.03874380886554718,
0.01813320256769657,
0.011079490184783936,
0.0032709441147744656,
-0.015303115360438824,
0.03413308784365654,
0.0365072637796402,
-0.09476061165332794,
-0.0005951570346951485,
0.031414829194545746,
-0.018442878499627113,
0.03445996716618538,
-0.015475157648324966,
-0.04517817124724388,
0.03344492241740227,
-0.056808192282915115,
0.00048816853086464107,
-0.00244944472797215,
0.017083747312426567,
-0.04916954040527344,
-0.000040221486415248364,
-0.046176012605428696,
-0.041324432939291,
0.01679127663373947,
0.014012802392244339,
-0.006571995560079813,
0.01282571442425251,
0.06833498924970627,
-0.028748180717229843,
0.06396513432264328,
0.00753973051905632,
0.013453667052090168,
-0.03215460851788521,
-0.006860165856778622,
0.05883828550577164,
0.04356097802519798,
-0.004692439455538988,
0.015475157648324966,
-0.040601857006549835,
0.010253689251840115,
0.05570712685585022,
0.015853649005293846,
-0.004567709285765886,
-0.036851346492767334,
-0.04479967802762985,
0.02775033749639988,
0.03027935139834881,
-0.06850703060626984,
0.034477170556783676,
0.032068587839603424,
0.010210678912699223,
-0.011285940185189247,
0.007015003357082605,
0.013376248069107533,
0.0076773641631007195,
-0.012464426457881927,
0.0236213356256485,
-0.03285997733473778,
-0.038606174290180206,
-0.09944014251232147,
-0.006236514076590538,
-0.05587916821241379,
-0.023793376982212067,
-0.06616726517677307,
0.031156765297055244,
-0.008193489164113998,
-0.027870766818523407,
-0.07108765840530396,
-0.0096601452678442,
-0.019457925111055374,
-0.06362105160951614,
0.06854144483804703,
-0.08313058316707611,
0.08608970046043396,
0.013961190357804298,
0.029487960040569305,
0.0171697698533535,
-0.017737505957484245,
0.05945763736963272,
-0.0003349438193254173,
-0.028249260038137436,
0.05694582685828209,
-0.04978888854384422,
0.02893742546439171,
-0.043973878026008606,
0.02587508223950863,
-0.028954630717635155,
-0.051543716341257095,
-0.03977605700492859,
0.031586870551109314,
-0.04101475700736046,
-0.04796524718403816,
-0.037539515644311905,
0.03795241564512253,
0.049031905829906464,
0.042803991585969925,
0.006825757212936878,
0.05598239228129387,
-0.002062350744381547,
-0.03588791564106941,
-0.01657622493803501,
0.002769872546195984,
0.0568770095705986,
-0.02436111494898796,
0.01717837154865265,
0.07507903128862381,
0.02812883071601391,
0.02038695104420185,
-0.06410276144742966,
-0.027543887495994568,
0.0017838581698015332,
0.05667056143283844,
-0.021333180367946625,
0.02537616156041622,
-0.0730145275592804,
-0.0584942027926445,
-0.06523823738098145,
0.0003190837160218507,
0.03511372581124306,
-0.018597716465592384,
0.014055812731385231,
-0.08519508689641953,
0.006103181745857,
0.050683505833148956,
-0.04304485023021698,
0.004156959243118763,
-0.007901018485426903,
-0.040326591581106186,
-0.006434362381696701,
-0.010202077217400074,
0.0015311717288568616,
-0.013737536035478115,
-0.03143203258514404,
0.0046021174639463425,
0.013531085103750229,
0.037814781069755554,
0.055191002786159515,
0.03554382920265198,
-0.030795477330684662,
-0.0397072397172451,
0.014322477392852306,
-0.0023118113167583942,
0.0018021375872194767,
-0.04287280887365341,
-0.03473523259162903,
-0.022554676979780197,
0.0617285892367363,
0.01696331799030304,
0.024412726983428,
0.017840731889009476,
0.005423617083579302,
0.00341502926312387,
-0.011526798829436302,
-0.019131045788526535,
0.009479501284658909,
0.0014311724808067083,
-0.005969849415123463,
0.013814954087138176,
-0.012395610101521015,
0.01975039578974247,
-0.0260299202054739,
-0.05439960956573486,
0.041943784803152084,
-0.004176313988864422,
0.06420598924160004,
0.010907448828220367,
-0.01802997849881649,
-0.020782645791769028,
0.07817578315734863,
-0.027509478852152824,
-0.04910072311758995,
-0.05715227872133255,
-0.0038709398359060287,
-0.004593515302985907,
-0.002346219727769494,
0.022038551047444344,
-0.07796933501958847,
0.03396104648709297,
-0.02565142884850502,
0.016455795615911484,
-0.05625766143202782,
0.007393495179712772,
-0.03502770513296127,
0.009763370268046856,
-0.0032859977800399065,
0.006632210221141577,
-0.019767599180340767,
0.05388348177075386,
-0.0045074946247041225,
0.03239546716213226,
-0.05553508549928665,
-0.017238585278391838,
0.025737449526786804,
0.01577623002231121,
0.029505163431167603,
-0.012636467814445496,
-0.012868724763393402,
-0.03143203258514404,
0.03285997733473778,
-0.018339652568101883,
0.013883771374821663,
0.03132880851626396,
0.02775033749639988,
-0.0222622063010931,
0.018752552568912506,
-0.0012408512411639094,
-0.015759026631712914,
-0.01883857510983944,
-0.021608447656035423,
-0.02398262359201908,
0.028679363429546356,
-0.06100601330399513,
0.014623550698161125,
0.017470842227339745,
0.006799951195716858,
-0.020163295790553093,
-0.029315918684005737,
0.012868724763393402,
-0.034907277673482895,
-0.010563365183770657,
-0.033616963773965836,
0.00848165899515152,
-0.017316004261374474,
0.07101884484291077,
0.016111712902784348,
-0.038296498358249664,
0.04727707803249359,
0.013952587731182575,
0.028146034106612206,
-0.028903018683195114,
-0.03564705699682236,
0.05790926143527031,
-0.03353094309568405,
-0.048653412610292435,
0.010339710861444473,
-0.007251560688018799,
0.045212578028440475,
-0.03205138072371483,
-0.003479544771835208,
-0.013187002390623093,
0.03344492241740227,
-0.019354699179530144,
0.012842918746173382,
0.0013343989849090576,
0.04053304344415665,
-0.008658002130687237,
-0.007131131365895271,
0.07590483129024506,
-0.015965476632118225,
-0.09558641165494919,
0.02458477020263672,
-0.016352569684386253,
0.021212751045823097,
0.04115239158272743,
-0.002173102693632245,
0.024877240881323814,
-0.043664202094078064,
-0.0052429731003940105,
0.05505336821079254,
-0.01717837154865265,
0.045591071248054504,
0.04590074345469475,
0.076180100440979,
-0.04359538480639458,
-0.08058436959981918,
-0.02243424765765667,
0.04053304344415665,
0.039053481072187424,
0.03476964309811592,
0.04624482989311218,
0.03337610512971878,
0.007285969331860542,
-0.02833528071641922,
-0.006524684373289347,
0.05199102312326431,
0.0783822312951088,
0.03418470174074173,
0.020576195791363716,
0.02527293562889099,
-0.026339596137404442,
0.0014042910188436508,
-0.02666647545993328,
0.015905262902379036,
0.052197474986314774,
-0.010245087556540966,
-0.0056945825926959515,
-0.05171575769782066,
-0.03626640513539314,
0.047689978033304214,
-0.0046881381422281265,
-0.003726854920387268,
0.0756983831524849,
0.013273023068904877,
0.0038472842425107956,
-0.03117396868765354,
-0.04648568853735924,
-0.037539515644311905,
0.0026537443045526743,
-0.01145798247307539,
0.025617020204663277,
-0.0014537529787048697,
0.024515952914953232,
0.026064328849315643,
0.11616260558366776
] |
21,670 | magic_filter.magic | __len__ | null | def __len__(self) -> int:
raise TypeError(f"Length can't be taken using len() function. Use {type(self).__name__}.len() instead.")
| (self) -> int | [
-0.013487848453223705,
-0.017780186608433723,
0.013958354480564594,
0.051276933401823044,
-0.0041994755156338215,
0.007449683733284473,
0.009170746430754662,
-0.00816782470792532,
0.04209793359041214,
-0.04292338341474533,
0.016748374328017235,
-0.005629566963762045,
0.03945649415254593,
-0.02831292524933815,
-0.011969020590186119,
0.050121307373046875,
-0.0021956961136311293,
0.011869966983795166,
0.02005842700600624,
0.03319958597421646,
-0.0047999899834394455,
0.056724902242422104,
0.0476449579000473,
-0.03513113781809807,
-0.01987682841718197,
0.11318565905094147,
0.040480054914951324,
0.017268408089876175,
0.09522387385368347,
-0.016195323318243027,
-0.06854534149169922,
0.01024383120238781,
0.029551099985837936,
0.06709255278110504,
0.019678721204400063,
-0.018556108698248863,
-0.026001665741205215,
-0.012777960859239101,
-0.010664810426533222,
0.01923297718167305,
-0.04533369839191437,
-0.008642458356916904,
0.03293544426560402,
-0.01862214505672455,
0.007738590706139803,
-0.050550539046525955,
0.025605449452996254,
0.024004077538847923,
-0.08155442774295807,
-0.02511017955839634,
-0.0015126365469768643,
0.0647812932729721,
0.024136148393154144,
-0.006397235207259655,
-0.0030789272859692574,
0.07996957004070282,
0.03148265182971954,
0.051111843436956406,
-0.032308101654052734,
0.010458447970449924,
-0.03760748729109764,
0.005171442404389381,
0.028709139674901962,
-0.08023370802402496,
-0.003017018549144268,
-0.01957966759800911,
-0.004482191987335682,
0.03192839398980141,
0.03998478502035141,
0.02043813467025757,
0.06854534149169922,
0.040215909481048584,
-0.058375801891088486,
0.06530957669019699,
0.032918933779001236,
0.007783990819007158,
-0.04827229678630829,
0.005736875347793102,
0.06854534149169922,
-0.02070227824151516,
0.03258875384926796,
0.00019630225142464042,
0.0022823684848845005,
0.03592357039451599,
0.02895677462220192,
-0.01931552216410637,
-0.06392282247543335,
-0.02497810870409012,
-0.018440546467900276,
0.0075858826749026775,
-0.04156964644789696,
0.09502577036619186,
-0.016797902062535286,
-0.027388421818614006,
0.006322944536805153,
-0.0214782003313303,
0.0031821085140109062,
-0.06085215136408806,
0.0373433455824852,
-0.014593950472772121,
-0.002127596642822027,
0.07389425486326218,
0.056427739560604095,
0.01073910016566515,
0.01781320385634899,
0.004894916899502277,
0.004544100724160671,
-0.04394694045186043,
-0.02481301873922348,
0.01523780170828104,
0.014833331108093262,
0.014065662398934364,
-0.015964196994900703,
-0.017648113891482353,
-0.03592357039451599,
0.024879053235054016,
0.023409754037857056,
-0.030327022075653076,
-0.011993784457445145,
-0.009558707475662231,
0.06154552847146988,
0.03638582304120064,
-0.037145234644412994,
-0.06065404415130615,
0.08578073233366013,
0.054875895380973816,
-0.06854534149169922,
-0.02809830754995346,
0.03298496827483177,
-0.03414059802889824,
0.032357629388570786,
0.022237615659832954,
-0.013009087182581425,
0.039225369691848755,
0.050682611763477325,
0.015105729922652245,
0.04282433167099953,
0.05259765312075615,
-0.041866809129714966,
0.009228527545928955,
-0.008320532739162445,
0.030161932110786438,
0.07059245556592941,
0.00721855740994215,
-0.018770726397633553,
0.03806973993778229,
-0.019183451309800148,
0.002158551011234522,
0.008518640883266926,
0.02286495640873909,
-0.0057162391021847725,
-0.0009152173297479749,
0.04639027267694473,
0.01026859413832426,
0.002333959098905325,
0.02000890113413334,
0.006318817380815744,
-0.06676237285137177,
0.03186235949397087,
-0.07567723095417023,
-0.06250305473804474,
-0.00046921655302867293,
-0.031614724546670914,
-0.05358819290995598,
-0.012579853646457195,
0.021775363013148308,
0.027157295495271683,
-0.01641819439828396,
-0.03899424523115158,
0.05873899906873703,
0.009831106290221214,
-0.011308660730719566,
0.042296040803194046,
0.010086995549499989,
0.0028395468834787607,
0.05589945241808891,
-0.011836948804557323,
0.02169281803071499,
-0.005109533667564392,
-0.03803672268986702,
0.014907621778547764,
-0.058111660182476044,
-0.02662900649011135,
-0.04853644222021103,
0.06329548358917236,
0.0338764563202858,
-0.026744570583105087,
0.05547022074460983,
-0.002899392042309046,
-0.026051191613078117,
-0.0396876223385334,
-0.035593390464782715,
-0.011242625303566456,
-0.015105729922652245,
0.007536355871707201,
-0.03443776071071625,
0.014040899462997913,
-0.011729639954864979,
0.012910033576190472,
0.01059051975607872,
-0.01538638211786747,
0.06596993654966354,
-0.013413557782769203,
-0.026051191613078117,
-0.0035453063901513815,
-0.007053467445075512,
-0.007329993415623903,
0.0169382281601429,
-0.03651789575815201,
-0.04695157706737518,
-0.03354627639055252,
-0.06382376700639725,
0.017796695232391357,
0.0531589612364769,
0.04863549768924713,
-0.0861109122633934,
-0.006005146540701389,
-0.05088071897625923,
0.040612123906612396,
0.027685582637786865,
0.1502978801727295,
0.04404599592089653,
-0.030723238363862038,
-0.027371911332011223,
0.01650899462401867,
-0.0068099601194262505,
-0.024846035987138748,
-0.007668427657335997,
0.029633644968271255,
0.0021069603972136974,
-0.0036526150070130825,
0.014808567240834236,
-0.022666849195957184,
0.04757891967892647,
0.008865329436957836,
-0.001334133092314005,
0.025770539417862892,
0.013652938418090343,
-0.027503984048962593,
-0.0384659543633461,
-0.06012575700879097,
-0.014082171954214573,
-0.012076329439878464,
0.08036578446626663,
-0.007111249025911093,
-0.011044517159461975,
-0.03357929363846779,
0.08122424781322479,
-0.004255193285644054,
0.01781320385634899,
-0.05563531070947647,
-0.05173918604850769,
-0.06762083619832993,
-0.014593950472772121,
0.03721127286553383,
-0.00545622268691659,
-0.017450006678700447,
-0.041041359305381775,
0.011506768874824047,
0.00032682649907656014,
0.029369499534368515,
-0.016063250601291656,
0.0038631046190857887,
0.027768127620220184,
-0.0334637314081192,
-0.00030670614796690643,
0.008791039697825909,
0.015147002413868904,
-0.015559726394712925,
0.03929140418767929,
-0.02684362418949604,
0.0061619821935892105,
-0.013520865701138973,
-0.016096269711852074,
-0.03526321053504944,
0.005749257281422615,
-0.0045317187905311584,
0.06303133815526962,
0.009451398625969887,
0.01063179224729538,
0.02321164496243,
-0.011737894266843796,
-0.028758667409420013,
-0.033727873116731644,
-0.05527211353182793,
0.02350880764424801,
0.006504543591290712,
-0.030277494341135025,
-0.07660172879695892,
0.008980892598628998,
0.020074937492609024,
0.00020055848290212452,
0.024004077538847923,
0.03225857391953468,
0.05520607531070709,
-0.005233351141214371,
-0.00013658612442668527,
0.03440474346280098,
0.06081913411617279,
-0.032043956220149994,
-0.03310053423047066,
-0.011696621775627136,
-0.062007781118154526,
-0.030244477093219757,
-0.007486828602850437,
-0.06372471898794174,
0.04378185048699379,
-0.02165980078279972,
0.015204783529043198,
0.025011125952005386,
-0.01720237173140049,
0.05355517566204071,
-0.026645516976714134,
0.026133736595511436,
0.12507213652133942,
0.0744885802268982,
0.010623537935316563,
-0.0093358363956213,
-0.03661694750189781,
0.07072453200817108,
-0.0009807373862713575,
0.002228714292868972,
0.02286495640873909,
-0.040314964950084686,
0.013198941014707088,
-0.008485622704029083,
0.03945649415254593,
0.00620325468480587,
0.011622332036495209,
-0.011861711740493774,
-0.03975365683436394,
-0.0384659543633461,
0.05731922760605812,
-0.04312149062752724,
-0.06425300240516663,
0.017730658873915672,
0.061446476727724075,
0.05312594398856163,
-0.03267129883170128,
0.01655852049589157,
0.072441466152668,
-0.03787163272500038,
0.026133736595511436,
0.03232460841536522,
0.05636170506477356,
-0.015914669260382652,
0.013999626971781254,
-0.04685252532362938,
0.08234686404466629,
0.008691985160112381,
-0.012967814691364765,
-0.015931179746985435,
0.0025258760433644056,
-0.02857706882059574,
0.0260677020996809,
-0.03466888889670372,
0.03082229197025299,
0.03179632127285004,
-0.007032831199467182,
0.029187900945544243,
0.0007042117649689317,
-0.045399732887744904,
0.012678907252848148,
-0.022105542942881584,
-0.05619661509990692,
0.01024383120238781,
-0.011902984231710434,
-0.04582896828651428,
-0.024053603410720825,
0.033777400851249695,
-0.0075404830276966095,
-0.05355517566204071,
-0.033183079212903976,
-0.06375773251056671,
0.015964196994900703,
0.04526766017079353,
-0.018523091450333595,
0.03328213095664978,
-0.07164903730154037,
-0.00751984678208828,
0.0027714474126696587,
-0.011663604527711868,
-0.02053718827664852,
-0.023607861250638962,
-0.00929456390440464,
0.003483397653326392,
-0.0744885802268982,
-0.0440790131688118,
-0.0030665455851703882,
0.07818659394979477,
-0.03146614134311676,
-0.0024041221477091312,
-0.003272908041253686,
-0.02161027304828167,
-0.05510702356696129,
0.03661694750189781,
-0.023805968463420868,
-0.016492484137415886,
0.027239840477705002,
0.014156462624669075,
0.00606292812153697,
-0.007614773232489824,
0.010607028380036354,
0.08637505769729614,
-0.013958354480564594,
0.0519372932612896,
0.04094230383634567,
-0.016863936558365822,
-0.04589500278234482,
0.008691985160112381,
0.02334371767938137,
0.026529952883720398,
-0.0305581483989954,
-0.005480986088514328,
0.036682985723018646,
-0.056989047676324844,
0.03331514820456505,
-0.047876082360744476,
0.05312594398856163,
0.0011700749164447188,
-0.009088201448321342,
-0.019034869968891144,
0.05553625524044037,
0.0863090232014656,
-0.019051378592848778,
0.04279131069779396,
-0.03704618290066719,
0.021362638100981712,
0.009616488590836525,
-0.024449819698929787,
-0.027603037655353546,
0.04137153923511505,
-0.004544100724160671,
-0.01642644964158535,
-0.022699866443872452,
-0.032918933779001236,
-0.041734736412763596,
-0.04180077090859413,
0.010681319050490856,
0.03770654276013374,
0.07191317528486252,
-0.012678907252848148,
0.03998478502035141,
0.08776181191205978,
0.06880948692560196,
-0.0896768569946289,
0.01322370395064354,
-0.007573501206934452,
-0.00885707512497902,
-0.03146614134311676,
-0.01949712261557579,
-0.002040924271568656,
0.014874603599309921,
-0.009195509366691113,
-0.01208458375185728,
-0.03148265182971954,
-0.08234686404466629,
-0.020041918382048607,
-0.0350981205701828,
-0.059795577079057693,
-0.04840436950325966,
0.11483655869960785,
-0.04414505138993263,
-0.03681505471467972,
-0.046357255429029465,
0.036848075687885284,
-0.019992392510175705,
-0.00440790131688118,
-0.01223316416144371,
0.022402705624699593,
0.035989608615636826,
-0.04150361195206642,
0.01432980690151453,
-0.033645328134298325,
0.03311704099178314,
0.035725463181734085,
-0.016393430531024933,
0.019398067146539688,
-0.001045225653797388,
-0.011795676313340664,
0.01896883361041546,
0.03820181265473366,
0.032522719353437424,
0.03082229197025299,
0.0006423030281439424,
-0.03120199777185917,
-0.07640362530946732,
0.01002921350300312,
-0.0016663766000419855,
0.04404599592089653,
-0.02312909997999668,
0.008658966980874538,
-0.012868761084973812,
0.030145423486828804,
0.03651789575815201,
0.00845260452479124,
0.003609278704971075,
-0.0028478014282882214,
-0.05183824151754379,
-0.0034627614077180624,
-0.031878866255283356,
0.02053718827664852,
0.017532551661133766,
-0.008766275830566883,
0.003283226164057851,
-0.0016777265118435025,
0.010681319050490856,
0.014792058616876602,
0.04130550101399422,
-0.050979774445295334,
-0.03506510332226753,
0.039654605090618134,
0.04394694045186043,
0.028032271191477776,
0.04771099239587784,
0.0009028356289491057,
-0.02294750139117241,
0.005538767669349909,
-0.008725003339350224,
0.02588610164821148,
0.0027714474126696587,
-0.004465682897716761,
-0.028213869780302048,
-0.051805224269628525,
-0.01565052568912506,
-0.009756815619766712,
0.02476349100470543,
-0.054875895380973816,
0.05372026562690735,
0.04444221034646034,
0.01039241161197424,
0.011531531810760498,
0.019777774810791016,
0.002331895288079977,
-0.0021895053796470165,
0.022551285102963448,
-0.06709255278110504,
-0.013479593209922314,
0.03007938712835312,
0.04094230383634567,
-0.010260339826345444,
-0.008543404750525951,
0.005320023279637098,
-0.0215772558003664,
-0.07963939011096954,
-0.006793451029807329,
-0.013842791318893433,
-0.012662398628890514,
-0.004234557040035725,
-0.0012123791966587305,
-0.04325356334447861,
0.0013331013033166528,
0.024004077538847923,
-0.002216332359239459,
0.0317302867770195,
0.019695229828357697,
0.022881465032696724,
-0.030409567058086395,
0.05183824151754379,
0.0440790131688118,
-0.00885707512497902,
-0.04219698905944824,
0.04292338341474533,
-0.008799294009804726,
-0.05801260471343994,
0.00873325765132904,
-0.024928580969572067,
-0.011490260250866413,
-0.026728061959147453,
-0.013801518827676773,
-0.03206046670675278,
0.03513113781809807,
-0.014313297346234322,
0.005187951494008303,
-0.012117601931095123,
-0.010499720461666584,
-0.0737621858716011,
0.027470966801047325,
0.0042923386208713055,
-0.06854534149169922,
-0.035857535898685455,
0.024829527363181114,
-0.04602707549929619,
-0.004399647004902363,
-0.017483023926615715,
-0.017235388979315758,
-0.07363010942935944,
-0.03859802708029747,
-0.06530957669019699,
0.021428674459457397,
-0.04543275013566017,
-0.0027879562694579363,
-0.009855869226157665,
-0.06762083619832993,
0.03034353069961071,
0.042560186237096786,
0.0008739448385313153,
-0.045795951038599014,
0.02567148581147194,
0.010565755888819695,
-0.007057595066726208,
0.019678721204400063,
-0.017747169360518456,
0.07283768057823181,
0.038366902619600296,
0.0005860693054273725,
0.004923807457089424,
0.08505433797836304,
0.0020388606935739517,
-0.027603037655353546,
-0.015254310332238674,
-0.005885456223040819,
0.02057020738720894,
-0.09575216472148895,
-0.06038989871740341,
-0.022237615659832954,
-0.005877201911062002,
0.010970226489007473,
0.05269670858979225,
0.03324911370873451,
-0.03707920014858246,
0.027867181226611137,
-0.0021502964664250612,
0.009888887405395508,
-0.051243916153907776,
0.023360226303339005,
-0.03371136635541916,
0.025275269523262978,
-0.041734736412763596,
-0.08525244146585464,
-0.013578647747635841,
-0.014247261919081211,
0.0677529126405716,
-0.05870598182082176,
-0.011283897794783115,
-0.028428487479686737,
-0.0027219203766435385,
0.03095436282455921,
0.0068099601194262505,
0.0486685149371624,
0.004552355036139488,
0.008683730848133564,
-0.0726395770907402,
0.03929140418767929,
-0.04137153923511505,
-0.019166942685842514,
-0.004795862827450037,
0.0005891647306270897,
0.0198438111692667,
-0.07699795067310333,
0.008320532739162445,
0.026678534224629402,
0.0063642170280218124,
-0.018440546467900276,
0.02225412428379059,
-0.03480095788836479,
0.03098738193511963,
-0.03889518976211548,
-0.01286050584167242,
-0.038399919867515564,
0.0068099601194262505,
-0.027503984048962593,
0.0187211986631155,
-0.008320532739162445,
0.07059245556592941,
-0.02861008606851101,
0.033183079212903976,
-0.024647928774356842,
0.010417175479233265,
-0.03354627639055252,
0.019199959933757782,
0.03704618290066719,
0.00448631914332509,
0.00916249118745327,
-0.0012453972594812512,
0.001138088759034872,
-0.0243342574685812,
-0.01690520904958248,
0.028494523838162422,
0.0075487373396754265,
0.00873325765132904,
0.013685955666005611,
-0.08168650418519974,
-0.060323864221572876,
0.013388793915510178,
0.023673897609114647,
-0.039918746799230576,
0.018011312931776047,
0.04361676052212715,
-0.05467778816819191,
-0.0004738597199320793,
-0.061182331293821335,
0.006137218326330185,
0.04345167055726051,
-0.02078482322394848,
-0.033777400851249695,
-0.05183824151754379,
0.00920376367866993,
0.027735110372304916,
-0.0035329246893525124,
0.022105542942881584,
0.029897788539528847,
-0.015452418476343155,
-0.005353041458874941,
-0.023277681320905685,
-0.02515970729291439,
-0.06841327250003815,
0.0019098842749372125,
0.017433498054742813,
-0.01768113300204277,
0.011110552586615086,
0.0690736323595047,
0.034338708966970444,
-0.08749766647815704,
-0.014544423669576645,
-0.018787235021591187,
0.04965905472636223,
0.056724902242422104,
-0.0008223542827181518,
0.02118103951215744,
0.007098867557942867,
0.015361619181931019,
0.03085530921816826,
-0.003101627342402935,
-0.047611936926841736,
-0.011993784457445145,
-0.012068074196577072,
-0.019216468557715416,
-0.018572617322206497,
0.011779166758060455,
0.046060092747211456,
-0.0361216776072979,
-0.0030005096923559904,
-0.011308660730719566,
0.009195509366691113,
-0.02109849452972412,
-0.006331199314445257,
0.019596176221966743,
0.010153030976653099,
0.01082990039139986,
0.0677529126405716,
0.020850859582424164,
0.009368853643536568,
-0.029237428680062294,
0.04889963939785957,
0.008683730848133564,
-0.006314690224826336,
0.08914856612682343,
0.00870849471539259,
-0.0016787583008408546,
0.020240027457475662,
0.0068471054546535015,
0.002313322853296995,
-0.04639027267694473,
0.027421439066529274,
-0.010318120941519737,
-0.03267129883170128,
-0.022765902802348137,
-0.03661694750189781,
0.003974540159106255,
-0.034866996109485626,
-0.005340659525245428,
0.006145473103970289,
0.05646076053380966,
0.0047545903362333775,
0.04331960156559944,
0.007672554813325405,
0.028841212391853333
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.